memory.h (f9040773b7bbbd9e98eb6184a263512a7cfc133f) memory.h (a89dea585371a9d5d85499db47c93f129be8e0c4)
1/*
2 * Based on arch/arm/include/asm/memory.h
3 *
4 * Copyright (C) 2000-2002 Russell King
5 * Copyright (C) 2012 ARM Ltd.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 107 unchanged lines hidden (view full) ---

116#define MT_S2_DEVICE_nGnRE 0x1
117
118#ifdef CONFIG_ARM64_4K_PAGES
119#define IOREMAP_MAX_ORDER (PUD_SHIFT)
120#else
121#define IOREMAP_MAX_ORDER (PMD_SHIFT)
122#endif
123
1/*
2 * Based on arch/arm/include/asm/memory.h
3 *
4 * Copyright (C) 2000-2002 Russell King
5 * Copyright (C) 2012 ARM Ltd.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 107 unchanged lines hidden (view full) ---

116#define MT_S2_DEVICE_nGnRE 0x1
117
118#ifdef CONFIG_ARM64_4K_PAGES
119#define IOREMAP_MAX_ORDER (PUD_SHIFT)
120#else
121#define IOREMAP_MAX_ORDER (PMD_SHIFT)
122#endif
123
124#ifdef CONFIG_BLK_DEV_INITRD
125#define __early_init_dt_declare_initrd(__start, __end) \
126 do { \
127 initrd_start = (__start); \
128 initrd_end = (__end); \
129 } while (0)
130#endif
131
124#ifndef __ASSEMBLY__
125
126extern phys_addr_t memstart_addr;
127/* PHYS_OFFSET - the physical address of the start of memory. */
128#define PHYS_OFFSET ({ memstart_addr; })
129
130/*
131 * The maximum physical address that the linear direct mapping

--- 55 unchanged lines hidden ---
132#ifndef __ASSEMBLY__
133
134extern phys_addr_t memstart_addr;
135/* PHYS_OFFSET - the physical address of the start of memory. */
136#define PHYS_OFFSET ({ memstart_addr; })
137
138/*
139 * The maximum physical address that the linear direct mapping

--- 55 unchanged lines hidden ---