mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-28 07:07:35 -04:00
Decompile osContStartReadData
This commit is contained in:
@@ -508,9 +508,9 @@ extern u32 var8009c7a0;
|
||||
extern u32 var8009c7a8;
|
||||
extern u32 var8009c7c0;
|
||||
extern u32 var8009c7c8;
|
||||
extern u32 var8009c7e0;
|
||||
extern u32 __osContPifRam;
|
||||
extern u32 var8009c81c;
|
||||
extern u32 var8009c820;
|
||||
extern u8 __osContLastCmd;
|
||||
extern u32 var8009c828;
|
||||
extern u32 var8009c848;
|
||||
extern u32 var8009c860;
|
||||
|
||||
@@ -3,9 +3,4 @@
|
||||
#include <ultra64.h>
|
||||
#include "types.h"
|
||||
|
||||
u32 __osSiCreateAccessQueue(void);
|
||||
u32 __osSiGetAccess(void);
|
||||
u32 __osSiRelAccess(void);
|
||||
u32 __osSiRawStartDma(void);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
#ifndef _LIBULTRA_INTERNAL_H_
|
||||
#define _LIBULTRA_INTERNAL_H_
|
||||
#include <ultra64.h>
|
||||
|
||||
typedef struct
|
||||
{
|
||||
u32 initialized; //probably something like initialized?
|
||||
OSThread *mgrThread;
|
||||
OSMesgQueue *unk08;
|
||||
OSMesgQueue *unk0c;
|
||||
OSMesgQueue *unk10;
|
||||
s32 (*dma_func)(s32,u32,void*,size_t);
|
||||
u64 force_align;
|
||||
} OSMgrArgs;
|
||||
|
||||
s32 __osDisableInt();
|
||||
void __osRestoreInt(s32);
|
||||
void __osEnqueueAndYield(OSThread**);
|
||||
void __osDequeueThread(OSThread**, OSThread*);
|
||||
void __osEnqueueThread(OSThread**, OSThread*);
|
||||
OSThread* __osPopThread(OSThread**);
|
||||
s32 __osSiRawStartDma(s32, void*);
|
||||
void __osSiCreateAccessQueue();
|
||||
void __osSiGetAccess();
|
||||
void __osSiRelAccess();
|
||||
u32 __osProbeTLB(void*);
|
||||
void __osPiCreateAccessQueue();
|
||||
void __osPiGetAccess();
|
||||
void __osSetSR(u32);
|
||||
u32 __osGetSR();
|
||||
void __osSetFpcCsr(u32);
|
||||
s32 __osSiRawReadIo(void*, u32*);
|
||||
s32 __osSiRawWriteIo(void*, u32);
|
||||
s32 osPiRawReadIo(u32 a0, u32 *a1);
|
||||
void __osSpSetStatus(u32);
|
||||
u32 __osSpGetStatus();
|
||||
s32 __osSpSetPc(void*);
|
||||
s32 __osSpDeviceBusy();
|
||||
s32 __osSiDeviceBusy();
|
||||
s32 __osSpRawStartDma(u32 dir, void *sp_ptr, void *dram_ptr, size_t size);
|
||||
void __osViInit();
|
||||
OSViContext * __osViGetCurrentContext();
|
||||
void __osViSwapContext();
|
||||
void __osSetTimerIntr(u64);
|
||||
u64 __osInsertTimer(OSTimer *);
|
||||
void __osSetCompare(u32);
|
||||
s32 __osAiDeviceBusy();
|
||||
void __osDispatchThread();
|
||||
u32 __osGetCause();
|
||||
s32 __osAtomicDec(u32*);
|
||||
#endif
|
||||
Reference in New Issue
Block a user