projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RISC-V: Setup initial page tables in two stages
[linux-2.6-block.git]
/
arch
/
riscv
/
include
/
asm
/
fixmap.h
diff --git
a/arch/riscv/include/asm/fixmap.h
b/arch/riscv/include/asm/fixmap.h
index c207f6634b91c4ecc8f60b759c82056dd5624ed4..9c66033c3a545047f155239022ec63b122ade583 100644
(file)
--- a/
arch/riscv/include/asm/fixmap.h
+++ b/
arch/riscv/include/asm/fixmap.h
@@
-21,6
+21,11
@@
*/
enum fixed_addresses {
FIX_HOLE,
+#define FIX_FDT_SIZE SZ_1M
+ FIX_FDT_END,
+ FIX_FDT = FIX_FDT_END + FIX_FDT_SIZE / PAGE_SIZE - 1,
+ FIX_PTE,
+ FIX_PMD,
FIX_EARLYCON_MEM_BASE,
__end_of_fixed_addresses
};