OS_PHYSICAL_TO_K1 OS_PHYSICAL_TO_K1 (Macro)

Translates from a physical memory address to a direct-mapped, uncached (KSEG1) CPU virtual address

Syntax

#include <ultra64.h>      /* ultra64.h */

voud *OS_PHYSICAL_TO_K1(u32 paddr);

Description

OS_PHYSICAL_TO_K1 is a cpp macro that translates from a physical memory address to a direct-mapped, uncached (KSEG1) CPU virtual address. The result is appropriately allocated for pointer assignment.

See Also

osVirtualToPhysical, OS_K0_TO_PHYSICAL, OS_K1_TO_PHYSICAL, and OS_PHYSICAL_TO_K0

Revision history

1999/04/30 Changed format