Changeset 147 for trunk/hal/x86_64/core/hal_gpt.c
- Timestamp:
- Jul 5, 2017, 11:19:36 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_gpt.c
r145 r147 35 35 #include <ppm.h> 36 36 #include <page.h> 37 38 #define VA_SIGN_MASK 0xffff00000000000039 #define VA_SIGN_POS(va) ((va) & ~VA_SIGN_MASK)40 41 #define pl1_i(VA) (((VA_SIGN_POS(VA)) & L1_FRAME) >> L1_SHIFT)42 #define pl2_i(VA) (((VA_SIGN_POS(VA)) & L2_FRAME) >> L2_SHIFT)43 #define pl3_i(VA) (((VA_SIGN_POS(VA)) & L3_FRAME) >> L3_SHIFT)44 #define pl4_i(VA) (((VA_SIGN_POS(VA)) & L4_FRAME) >> L4_SHIFT)45 37 46 38 extern vaddr_t __kernel_end;
Note: See TracChangeset
for help on using the changeset viewer.