Changes in kernel/arch/amd64/include/arch/mm/page.h [17af882:b0c2075] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/arch/mm/page.h
r17af882 rb0c2075 44 44 #ifndef __ASM__ 45 45 46 #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffff ffff80000000))47 #define PA2KA(x) (((uintptr_t) (x)) + UINT64_C(0xffff ffff80000000))46 #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffff800000000000)) 47 #define PA2KA(x) (((uintptr_t) (x)) + UINT64_C(0xffff800000000000)) 48 48 49 49 #else /* __ASM__ */ 50 50 51 #define KA2PA(x) ((x) - 0xffff ffff80000000)52 #define PA2KA(x) ((x) + 0xffff ffff80000000)51 #define KA2PA(x) ((x) - 0xffff800000000000) 52 #define PA2KA(x) ((x) + 0xffff800000000000) 53 53 54 54 #endif /* __ASM__ */
Note:
See TracChangeset
for help on using the changeset viewer.