Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/riscv64/include/arch/mm.h

    r5b0cf63 r0798689  
    3434
    3535#ifndef __ASM__
    36 #define KA2PA(x)  (((uintptr_t) (x)) - UINT64_C(0xffff800000000000))
    37 #define PA2KA(x)  (((uintptr_t) (x)) + UINT64_C(0xffff800000000000))
     36        #define KA2PA(x)  (((uintptr_t) (x)) - UINT64_C(0xffff800000000000))
     37        #define PA2KA(x)  (((uintptr_t) (x)) + UINT64_C(0xffff800000000000))
    3838#else
    39 #define KA2PA(x)  ((x) - 0xffff800000000000)
    40 #define PA2KA(x)  ((x) + 0xffff800000000000)
     39        #define KA2PA(x)  ((x) - 0xffff800000000000)
     40        #define PA2KA(x)  ((x) + 0xffff800000000000)
    4141#endif
    4242
Note: See TracChangeset for help on using the changeset viewer.