Converts from the physical address to a direct mapped CPU virtual address with cache enabled
#include <ultra64.h> /* ultra64.h */ void *OS_PHYSICAL_TO_K0(u32 paddr);
OS_PHYSICAL_TO_K0 is a cpp macro that translates from a physical memory address to a direct-mapped, cached (KSEG0) CPU virtual address. The result is appropriately allocated for pointer assignment.
osVirtualToPhysical, OS_K0_TO_PHYSICAL, OS_K1_TO_PHYSICAL, and OS_PHYSICAL_TO_K1
1999/04/30 Changed format