Changeset 15d0046 in mainline for kernel/arch/amd64/include/arch/mm/page.h
- Timestamp:
- 2014-09-12T13:22:33Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9b20126
- Parents:
- 8db09e4 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/arch/mm/page.h
r8db09e4 r15d0046 44 44 #ifndef __ASM__ 45 45 46 #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffff 800000000000))47 #define PA2KA(x) (((uintptr_t) (x)) + UINT64_C(0xffff 800000000000))46 #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffffffff80000000)) 47 #define PA2KA(x) (((uintptr_t) (x)) + UINT64_C(0xffffffff80000000)) 48 48 49 49 #else /* __ASM__ */ 50 50 51 #define KA2PA(x) ((x) - 0xffff 800000000000)52 #define PA2KA(x) ((x) + 0xffff 800000000000)51 #define KA2PA(x) ((x) - 0xffffffff80000000) 52 #define PA2KA(x) ((x) + 0xffffffff80000000) 53 53 54 54 #endif /* __ASM__ */
Note:
See TracChangeset
for help on using the changeset viewer.