N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

   

__osGetTLBLo0
__osGetTLBLo1

Format
#include <ultra64.h>
#include <os_internal.h>
u32 __osGetTLBLo0(s32 index);
u32 __osGetTLBLo1(s32 index);


What These Functions Do
The __osGetTLBASID, __osGetTLBPageMask, __osGetTLBHi, __osGetTLBLo0, and __osGetTLBLo1 functions are internal routines that the N64 operating system uses to access translation lookaside buffer (TLB) registers.

The Nintendo 64 operating system contains internal routines that provide access to MIPS R4300 Translation Lookaside Buffer (TLB) registers. To reduce potential duplicate effort from developers, these routines are described in this article. Note that these routines were designed for internal use only; that's why their names have a double-underscore (__) prefix notation. For more information on the use of the R4300 registers, please refer to the MIPS R4300 User's Manual.

Based on the index, __osGetTLBLo0 reads the appropriate TLB entry and returns the value of the R4300 EntryLo0 register.

Based on the index, __osGetTLBLo1 reads the appropriate TLB entry and returns the value of the R4300 EntryLo1 register.

See Also
__osGetTLBASID
__osGetTLBPageMask
__osGetTLBHi
__osGetCause


Nintendo® Confidential

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.


Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998