Changeset 5b0cf63 in mainline for boot/arch/riscv64/include/arch/mm.h
- Timestamp:
- 2018-01-25T13:42:08Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1ab3c4b
- Parents:
- c832ab15
- git-author:
- Jiri Svoboda <jiri@…> (2017-01-24 18:40:44)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-01-25 13:42:08)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/riscv64/include/arch/mm.h
rc832ab15 r5b0cf63 34 34 35 35 #ifndef __ASM__ 36 37 36 #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffff800000000000)) 37 #define PA2KA(x) (((uintptr_t) (x)) + UINT64_C(0xffff800000000000)) 38 38 #else 39 40 39 #define KA2PA(x) ((x) - 0xffff800000000000) 40 #define PA2KA(x) ((x) + 0xffff800000000000) 41 41 #endif 42 42
Note:
See TracChangeset
for help on using the changeset viewer.