Mario Kart 64
Loading...
Searching...
No Matches
libultra_internal.h File Reference
#include <ultra64.h>
#include <PR/os_thread.h>
#include "macros.h"
Include dependency graph for libultra_internal.h:

Go to the source code of this file.

Data Structures

struct  __OSEventState
 
struct  __osThreadTail
 
struct  OSThread_ListHead
 
struct  OSMgrArgs
 

Typedefs

typedef struct __OSEventState __OSEventState
 

Functions

s32 __osDisableInt (void)
 
void __osRestoreInt (s32)
 
void __osEnqueueAndYield (OSThread **)
 
void __osDequeueThread (OSThread **, OSThread *)
 
void __osEnqueueThread (OSThread **, OSThread *)
 
OSThread__osPopThread (OSThread **)
 
s32 __osSiRawStartDma (s32, void *)
 
void __osSiCreateAccessQueue (void)
 
void __osSiGetAccess (void)
 
void __osSiRelAccess (void)
 
u32 __osProbeTLB (void *)
 
void __osPiCreateAccessQueue (void)
 
void __osPiGetAccess (void)
 
void __osSetSR (u32)
 
u32 __osGetSR (void)
 
void __osSetFpcCsr (u32)
 
s32 __osSiRawReadIo (void *, u32 *)
 
s32 __osSiRawWriteIo (void *, u32)
 
s32 osPiRawReadIo (u32 a0, u32 *a1)
 
void __osSpSetStatus (u32)
 
u32 __osSpGetStatus (void)
 
s32 __osSpSetPc (void *)
 
s32 __osSpDeviceBusy (void)
 
s32 __osSiDeviceBusy (void)
 
s32 __osSpRawStartDma (u32 dir, void *sp_ptr, void *dram_ptr, size_t size)
 
void __osSetHWIntrRoutine (OSHWIntr interrupt, s32(*handler)(void))
 
s32 __osLeoInterrupt ()
 
void __osViInit (void)
 
OSViContext__osViGetCurrentContext (void)
 
OSViContext__osViGetCurrentContext2 (void)
 
void __osViSwapContext (void)
 
void __osSetTimerIntr (u64)
 
u64 __osInsertTimer (OSTimer *)
 
void __osSetCompare (u32)
 
s32 __osAiDeviceBusy (void)
 
void __osDispatchThread (void)
 
u32 __osGetCause (void)
 
s32 __osAtomicDec (u32 *)
 

Variables

struct __osThreadTail __osThreadTail
 
OSThread__osRunningThread
 
OSThread__osActiveQueue
 
OSThread__osFaultedThread
 
OSThread__osRunQueue
 
u32 D_80365E00 [15]
 
u32 D_80365E3C
 

Typedef Documentation

◆ __OSEventState

typedef struct __OSEventState __OSEventState

Function Documentation

◆ __osAiDeviceBusy()

s32 __osAiDeviceBusy ( void )

◆ __osAtomicDec()

s32 __osAtomicDec ( u32 * a0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osDequeueThread()

void __osDequeueThread ( OSThread ** ,
OSThread *  )

◆ __osDisableInt()

s32 __osDisableInt ( void )
Here is the caller graph for this function:

◆ __osDispatchThread()

void __osDispatchThread ( void )
Here is the caller graph for this function:

◆ __osEnqueueAndYield()

void __osEnqueueAndYield ( OSThread ** )
Here is the caller graph for this function:

◆ __osEnqueueThread()

void __osEnqueueThread ( OSThread ** ,
OSThread *  )
Here is the caller graph for this function:

◆ __osGetCause()

u32 __osGetCause ( void )
Here is the caller graph for this function:

◆ __osGetSR()

u32 __osGetSR ( void )
Here is the caller graph for this function:

◆ __osInsertTimer()

u64 __osInsertTimer ( OSTimer * a0)
Here is the call graph for this function:

◆ __osLeoInterrupt()

s32 __osLeoInterrupt ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osPiCreateAccessQueue()

void __osPiCreateAccessQueue ( void )

◆ __osPiGetAccess()

void __osPiGetAccess ( void )

◆ __osPopThread()

OSThread * __osPopThread ( OSThread ** )
Here is the caller graph for this function:

◆ __osProbeTLB()

u32 __osProbeTLB ( void * )
Here is the caller graph for this function:

◆ __osRestoreInt()

void __osRestoreInt ( s32 )
Here is the caller graph for this function:

◆ __osSetCompare()

void __osSetCompare ( u32 )
Here is the caller graph for this function:

◆ __osSetFpcCsr()

void __osSetFpcCsr ( u32 )
Here is the caller graph for this function:

◆ __osSetHWIntrRoutine()

void __osSetHWIntrRoutine ( OSHWIntr interrupt,
s32(* handler )(void) )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osSetSR()

void __osSetSR ( u32 )
Here is the caller graph for this function:

◆ __osSetTimerIntr()

void __osSetTimerIntr ( u64 a0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osSiCreateAccessQueue()

void __osSiCreateAccessQueue ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osSiDeviceBusy()

s32 __osSiDeviceBusy ( void )
Here is the caller graph for this function:

◆ __osSiGetAccess()

void __osSiGetAccess ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osSiRawReadIo()

s32 __osSiRawReadIo ( void * a0,
u32 * a1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osSiRawStartDma()

s32 __osSiRawStartDma ( s32 dir,
void * addr )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osSiRawWriteIo()

s32 __osSiRawWriteIo ( void * a0,
u32 a1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osSiRelAccess()

void __osSiRelAccess ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osSpDeviceBusy()

s32 __osSpDeviceBusy ( void )

◆ __osSpGetStatus()

u32 __osSpGetStatus ( void )
Here is the caller graph for this function:

◆ __osSpRawStartDma()

s32 __osSpRawStartDma ( u32 dir,
void * sp_ptr,
void * dram_ptr,
size_t size )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osSpSetPc()

s32 __osSpSetPc ( void * pc)
Here is the caller graph for this function:

◆ __osSpSetStatus()

void __osSpSetStatus ( u32 status)
Here is the caller graph for this function:

◆ __osViGetCurrentContext()

OSViContext * __osViGetCurrentContext ( void )
Here is the caller graph for this function:

◆ __osViGetCurrentContext2()

OSViContext * __osViGetCurrentContext2 ( void )

◆ __osViInit()

void __osViInit ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osViSwapContext()

void __osViSwapContext ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ osPiRawReadIo()

s32 osPiRawReadIo ( u32 a0,
u32 * a1 )
Here is the caller graph for this function:

Variable Documentation

◆ __osActiveQueue

OSThread* __osActiveQueue
extern

◆ __osFaultedThread

OSThread* __osFaultedThread
extern

◆ __osRunningThread

OSThread* __osRunningThread
extern

◆ __osRunQueue

OSThread* __osRunQueue
extern

◆ __osThreadTail

struct __osThreadTail __osThreadTail

◆ D_80365E00

u32 D_80365E00[15]
extern

◆ D_80365E3C

u32 D_80365E3C
extern