mirror of https://github.com/zeldaret/tp.git
130 lines
3.3 KiB
C
130 lines
3.3 KiB
C
//
|
|
// Generated By: dol2asm
|
|
// Translation Unit: OSMutex
|
|
//
|
|
|
|
#include "dolphin/os/OSMutex.h"
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.h"
|
|
|
|
//
|
|
// External References:
|
|
//
|
|
|
|
void OSDisableInterrupts();
|
|
void OSRestoreInterrupts();
|
|
|
|
//
|
|
// Declarations:
|
|
//
|
|
|
|
/* 8033F008-8033F040 339948 0038+00 0/0 12/12 0/0 .text OSInitMutex */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void OSInitMutex(struct OSMutex* mutex) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSMutex/OSInitMutex.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033F040-8033F11C 339980 00DC+00 1/1 62/62 0/0 .text OSLockMutex */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void OSLockMutex(struct OSMutex* mutex) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSMutex/OSLockMutex.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033F11C-8033F1E4 339A5C 00C8+00 0/0 71/71 0/0 .text OSUnlockMutex */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void OSUnlockMutex(struct OSMutex* mutex) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSMutex/OSUnlockMutex.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033F1E4-8033F254 339B24 0070+00 0/0 2/2 0/0 .text __OSUnlockAllMutex */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void __OSUnlockAllMutex(struct OSThread* thread) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSMutex/__OSUnlockAllMutex.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033F254-8033F310 339B94 00BC+00 0/0 9/9 0/0 .text OSTryLockMutex */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm s32 OSTryLockMutex(struct OSMutex* mutex) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSMutex/OSTryLockMutex.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033F310-8033F330 339C50 0020+00 0/0 1/1 0/0 .text OSInitCond */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void OSInitCond(struct OSCond* cond) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSMutex/OSInitCond.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033F330-8033F404 339C70 00D4+00 0/0 1/1 0/0 .text OSWaitCond */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void OSWaitCond(struct OSCond* cond, struct OSMutex* mutex) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSMutex/OSWaitCond.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033F404-8033F424 339D44 0020+00 0/0 5/5 0/0 .text OSSignalCond */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void OSSignalCond(struct OSCond* con) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSMutex/OSSignalCond.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033F424-8033F524 339D64 0100+00 1/1 0/0 0/0 .text __OSCheckMutex */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm s32 __OSCheckMutex(struct OSThread* thread) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSMutex/__OSCheckMutex.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033F524-8033F55C 339E64 0038+00 0/0 1/1 0/0 .text __OSCheckDeadLock */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm BOOL __OSCheckDeadLock(struct OSThread* thread) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSMutex/__OSCheckDeadLock.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033F55C-8033F5D0 339E9C 0074+00 0/0 1/1 0/0 .text __OSCheckMutexes */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm BOOL __OSCheckMutexes(struct OSThread* thread) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSMutex/__OSCheckMutexes.s"
|
|
}
|
|
#pragma pop
|