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

   

__osGetTLBASID

Format
#include <ultra64.h>
#include <os_internal.h>
u32 __osGetTLBASID(void);


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.

The __osGetTLBASID routine returns the current TLB Address Space ID in the R4300 EntryHi register.

See Also
__osGetTLBPageMask
__osGetTLBHi
__osGetTLBLo0
__osGetTLBLo1
__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