OS_K0_TO_PHYSICAL.3p 655 Bytes
.TH OS_K0_TO_PHYSICAL 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
OS_K0_TO_PHYSICAL \- translate from a cached, direct mapped CPU
address to a physical address
.SH SYNOPSIS
.nf
\f3
.Op c
#include <ultra64.h>
.sp .8v
u32 OS_K0_TO_PHYSICAL(void \(**vaddr);
.Op
\f1
.fi
.SH DESCRIPTION
.I OS_K0_TO_PHYSICAL is a
.IR cpp (1)
macro that translates from a direct mapped, cached (KSEG0) CPU virtual
address to a physical address.
The result is appropriately cast for use in compiled as well as run time
generated display lists.
.SH SEE ALSO
.IR osVirtualToPhysical (3P),
.IR OS_K1_TO_PHYSICAL (3P),
.IR OS_PHYSICAL_TO_K0 (3P),
.IR OS_PHYSICAL_TO_K1 (3P)