OS_K1_TO_PHYSICAL OS_K1_TO_PHYSICAL (Macro)

Converts from the CPU virtual address KSEG1 (cache disabled, no TLB mapping) to the physical address

Syntax

#include <ultra64.h>     /* ultra64.h */
u32 OS_K1_TO_PHYSICAL(void *vaddr);

Description

OS_K1_TO_PHYSICAL is a cpp macro that converts from the CPU virtual address KSEG1 (cache disabled, no TLB mapping) to the physical address. The result is appropriately allocated for use in compiled, as well as run-time generated display lists.

See Also

osVirtualToPhysical, OS_K0_TO_PHYSICAL, OS_PHYSICAL_TO_K0, and OS_PHYSICAL_TO_K1

Revision history

1999/04/30 Changed format