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