|
@@ -115,6 +115,7 @@ extern unsigned int ptrs_per_p4d;
|
|
#define LDT_PGD_ENTRY_L5 -112UL
|
|
#define LDT_PGD_ENTRY_L5 -112UL
|
|
#define LDT_PGD_ENTRY (pgtable_l5_enabled() ? LDT_PGD_ENTRY_L5 : LDT_PGD_ENTRY_L4)
|
|
#define LDT_PGD_ENTRY (pgtable_l5_enabled() ? LDT_PGD_ENTRY_L5 : LDT_PGD_ENTRY_L4)
|
|
#define LDT_BASE_ADDR (LDT_PGD_ENTRY << PGDIR_SHIFT)
|
|
#define LDT_BASE_ADDR (LDT_PGD_ENTRY << PGDIR_SHIFT)
|
|
|
|
+#define LDT_END_ADDR (LDT_BASE_ADDR + PGDIR_SIZE)
|
|
|
|
|
|
#define __VMALLOC_BASE_L4 0xffffc90000000000UL
|
|
#define __VMALLOC_BASE_L4 0xffffc90000000000UL
|
|
#define __VMALLOC_BASE_L5 0xffa0000000000000UL
|
|
#define __VMALLOC_BASE_L5 0xffa0000000000000UL
|