Mario Kart 64
Loading...
Searching...
No Matches
osint.h
Go to the documentation of this file.
1#ifndef _OSINT_H
2#define _OSINT_H
3#include "libultra_internal.h"
4#include <macros.h>
5
6// maybe should be in exceptasm.h?
11extern void __osDispatchThread(void);
12
13extern void __osSetTimerIntr(OSTime);
15extern void __osTimerInterrupt(void);
16extern u32 __osProbeTLB(void*);
17extern int __osSpDeviceBusy(void);
18
23
27extern u32 __osBaseCounter;
28extern u32 __osViIntrCount;
30
32
33// not sure if this should be here
34extern s32 osViClock;
35extern void __osTimerServicesInit(void);
36extern s32 __osAiDeviceBusy(void);
37extern int __osDpDeviceBusy(void);
38#endif
#define OS_NUM_EVENTS
Definition os.h:119
u64 OSTime
Definition os_time.h:18
void __osTimerServicesInit(void)
Definition osTimer.c:10
void __osTimerInterrupt(void)
Definition osTimer.c:22
void __osSetTimerIntr(OSTime)
Definition osTimer.c:59
OSThread * __osActiveQueue
Definition __osDequeueThread.c:5
s32 osViClock
Definition __osViInit.c:10
OSTime __osCurrentTime
Definition osTimer.c:4
OSThread * __osRunningThread
Definition __osDequeueThread.c:6
u32 __osProbeTLB(void *)
void __osDispatchThread(void)
void __osDequeueThread(OSThread **, OSThread *)
OSThread * __osFaultedThread
Definition __osDequeueThread.c:7
__OSEventState __osEventStateTab[OS_NUM_EVENTS]
Definition osSetEventMesg.c:8
OSTimer * __osTimerList
Definition osTimer.c:9
int __osDpDeviceBusy(void)
OSThread * __osRunQueue
Definition __osDequeueThread.c:4
s32 __osAiDeviceBusy(void)
Definition __osAiDeviceBusy.c:4
OSThread * __osPopThread(OSThread **)
void __osEnqueueThread(OSThread **, OSThread *)
u32 __osViIntrCount
Definition osTimer.c:6
OSTime __osInsertTimer(OSTimer *)
Definition osTimer.c:68
u32 __osBaseCounter
Definition osTimer.c:5
int __osSpDeviceBusy(void)
Definition __osSpDeviceBusy.c:4
OSTimer __osBaseTimer
Definition osTimer.c:3
u32 __osTimerCounter
Definition osTimer.c:7
void __osEnqueueAndYield(OSThread **)
Definition os_thread.h:50
Definition os_time.h:9
Definition libultra_internal.h:7
signed int s32
Definition ultratypes.h:15
unsigned int u32
Definition ultratypes.h:16