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
|
osUnmapTLBAllFormat#include <ultra64.h> void osUnmapTLBAll(void); What These Functions Do The osMapTLB, osUnmapTLB, osUnmapTLBAll, and osSetTLBASID functions manage CPU virtual address mapping. These calls provide low-level access to the CPU Translation Lookaside Buffer (TLB). The remainder of the CPU virtual address space outside of the direct mapped address spaces KSEG0 and KSEG1 are mapped address spaces that use the TLB to specify the mapping to physical memory on a per-page basis. The CPU TLB consists of 32 entries, which provide mapping to 32 odd/even physical page pairs (64 total pages). Each TLB entry is associated with a particular page size that varies from 4096 bytes to as much as 16 megabytes. The osUnmapTLBAll function removes all mappings at all indexes effectively invalidating the entire TLB. Call osUnmapTLBAll before using any other TLB calls to remove any stale mappings. See Also osMapTLB osUnmapTLB osSetTLBASID osVirtualToPhysical
|