HelenOS sources
KA2PA 45 boot/arch/arm64/include/arch/arch.h #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffffffff00000000))
KA2PA 60 boot/arch/mips32/include/arch/arch.h #define KA2PA(addr) (((uintptr_t) (addr)) - 0x80000000)
KA2PA 36 boot/arch/riscv64/include/arch/mm.h #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffff800000000000))
KA2PA 39 boot/arch/riscv64/include/arch/mm.h #define KA2PA(x) ((x) - 0xffff800000000000)
KA2PA 45 kernel/arch/abs32le/include/arch/mm/page.h #define KA2PA(x) (((uintptr_t) (x)) - UINT32_C(0x80000000))
KA2PA 47 kernel/arch/amd64/include/arch/mm/page.h #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffffffff80000000))
KA2PA 52 kernel/arch/amd64/include/arch/mm/page.h #define KA2PA(x) ((x) - 0xffffffff80000000)
KA2PA 63 kernel/arch/amd64/include/arch/mm/page.h #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffff800000000000))
KA2PA 68 kernel/arch/amd64/include/arch/mm/page.h #define KA2PA(x) ((x) - 0xffff800000000000)
KA2PA 52 kernel/arch/arm32/include/arch/mm/page.h # define KA2PA(x) ((uintptr_t) (x))
KA2PA 55 kernel/arch/arm32/include/arch/mm/page.h # define KA2PA(x) (x)
KA2PA 60 kernel/arch/arm32/include/arch/mm/page.h # define KA2PA(x) (((uintptr_t) (x)) - 0x80000000)
KA2PA 63 kernel/arch/arm32/include/arch/mm/page.h # define KA2PA(x) ((x) - 0x80000000)
KA2PA 54 kernel/arch/arm64/include/arch/mm/page.h #define KA2PA(x) \
KA2PA 53 kernel/arch/ia32/include/arch/mm/page.h #define KA2PA(x) (((uintptr_t) (x)) - UINT32_C(0x80000000))
KA2PA 58 kernel/arch/ia32/include/arch/mm/page.h #define KA2PA(x) ((x) - 0x80000000)
KA2PA 66 kernel/arch/ia64/include/arch/mm/page.h #define KA2PA(x) (((uintptr_t) (x)) - (VRN_KERNEL << VRN_SHIFT))
KA2PA 47 kernel/arch/mips32/include/arch/mm/page.h # define KA2PA(x) (((uintptr_t) (x)) - 0x80000000)
KA2PA 50 kernel/arch/mips32/include/arch/mm/page.h # define KA2PA(x) ((x) - 0x80000000)
KA2PA 44 kernel/arch/ppc32/include/arch/mm/page.h #define KA2PA(x) (((uintptr_t) (x)) - 0x80000000)
KA2PA 47 kernel/arch/ppc32/include/arch/mm/page.h #define KA2PA(x) ((x) - 0x80000000)
KA2PA 44 kernel/arch/riscv64/include/arch/mm/page.h #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffff800000000000))
KA2PA 47 kernel/arch/riscv64/include/arch/mm/page.h #define KA2PA(x) ((x) - 0xffff800000000000)
KA2PA 62 kernel/arch/sparc64/include/arch/mm/page.h #define KA2PA(x) (((uintptr_t) (x)) + physmem_base)
KA2PA 54 kernel/arch/sparc64/include/arch/mm/sun4v/page.h #define KA2PA(x) (((uintptr_t) (x)) + physmem_base)
HelenOS homepage, sources at GitHub