Changeset 1433ecda in mainline for kernel/arch/riscv64/include/arch/mm/page.h
- Timestamp:
- 2018-04-04T15:42:37Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/riscv64/include/arch/mm/page.h
r47b2d7e3 r1433ecda 42 42 43 43 #ifndef __ASSEMBLER__ 44 45 44 #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffff800000000000)) 45 #define PA2KA(x) (((uintptr_t) (x)) + UINT64_C(0xffff800000000000)) 46 46 #else 47 48 47 #define KA2PA(x) ((x) - 0xffff800000000000) 48 #define PA2KA(x) ((x) + 0xffff800000000000) 49 49 #endif 50 50
Note:
See TracChangeset
for help on using the changeset viewer.