Continue robbing prime github dolphin libs blind (#254)

* Continue work on dolphin libs

* tp.py pull-request should print rels by default
This commit is contained in:
hatal175
2023-01-24 22:22:40 +02:00
committed by GitHub
parent 49a8b2be0d
commit d17c122e4d
43 changed files with 332 additions and 1742 deletions
+2
View File
@@ -51,6 +51,8 @@ typedef enum {
typedef u8 __OSException;
typedef void (*OSErrorHandler)(OSError error, OSContext* context, u32, u32);
// Using this type for the C++ handlers makes stuff not match
typedef void (*OSErrorHandlerEx)(OSError error, OSContext* context, u32, u32, ...);
OSErrorHandler OSSetErrorHandler(OSError error, OSErrorHandler handler);
void __OSUnhandledException(__OSException exception, OSContext* context, u32 dsisr, u32 dar);
+2 -2
View File
@@ -21,13 +21,13 @@ typedef struct OSCond {
void OSInitMutex(OSMutex* mutex);
void OSLockMutex(OSMutex* mutex);
void OSUnlockMutex(OSMutex* mutex);
s32 OSTryLockMutex(OSMutex* mutex);
BOOL OSTryLockMutex(OSMutex* mutex);
void OSInitCond(OSCond* cond);
void OSWaitCond(OSCond* cond, OSMutex* mutex);
void OSSignalCond(OSCond* cond);
void __OSUnlockAllMutex(OSThread* thread);
s32 __OSCheckMutex(OSThread* thread);
BOOL __OSCheckMutex(OSMutex* thread);
BOOL __OSCheckDeadLock(OSThread* thread);
BOOL __OSCheckMutexes(OSThread* thread);
+1 -1
View File
@@ -44,8 +44,8 @@ struct OSThreadQueue {
};
struct OSMutexLink {
OSMutex* prev;
OSMutex* next;
OSMutex* prev;
};
struct OSMutexQueue {