Changeset 35 for trunk/hal/x86_64/hal_boot.h
- Timestamp:
- Jun 22, 2017, 8:10:37 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/hal_boot.h
r29 r35 122 122 #define PDIR_SLOT_PTE L4_SLOT_PTE 123 123 124 #define PTE_BASE ((pt_entry_t *)(L4_SLOT_PTE * NBPD_L4)) 125 #define L1_BASE PTE_BASE 126 #define L2_BASE ((pt_entry_t *)((char *)L1_BASE + L4_SLOT_PTE * NBPD_L3)) 127 #define L3_BASE ((pt_entry_t *)((char *)L2_BASE + L4_SLOT_PTE * NBPD_L2)) 128 #define L4_BASE ((pt_entry_t *)((char *)L3_BASE + L4_SLOT_PTE * NBPD_L1)) 129 130 #define NPDPG (PAGE_SIZE / sizeof (pt_entry_t)) 131 132 #define CLUSTER0_MIN_VA 0xffff800000000000 133 #define CLUSTER0_MAX_VA 0xffff800100000000 /* MIN + 4GB */ 134
Note: See TracChangeset
for help on using the changeset viewer.