Files
tp/libs/dolphin/os/OSSync.c
T
TakaRikka 1114b13da8 clean up dolphin files / work on some rels (#212)
* d_a_alldie / d_a_tboxSw / d_a_tag_gstart / d_a_tag_hstop

* dolphin OS work / cleanup

* dolphin GX work / cleanup

* finish changing dolphin files to C

* more files into C

* match rest of MSL_C math functions

* more dolphin files converted to C

* remove asm

* d_bg_w work

* remove asm

* d_a_alink work / kytag14
2022-11-11 11:09:48 -07:00

49 lines
893 B
C

//
// Generated By: dol2asm
// Translation Unit: OSSync
//
#include "dolphin/os/OSSync.h"
#include "dol2asm.h"
#include "dolphin/types.h"
//
// External References:
//
SECTION_INIT void memcpy();
void DCFlushRangeNoSync();
void ICInvalidateRange();
//
// Declarations:
//
/* 80340A20-80340A3C 33B360 001C+00 1/1 0/0 0/0 .text SystemCallVector */
static asm void SystemCallVector(void) {
// clang-format off
nofralloc
mfspr r9, 0x3F0
ori r10, r9, 8
mtspr 0x3F0, r10
isync
sync
mtspr 0x3F0, r9
rfi
entry __OSSystemCallVectorEnd
nop
// clang-format on
}
/* 80340A40-80340AA4 33B380 0064+00 0/0 1/1 0/0 .text __OSInitSystemCall */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void __OSInitSystemCall(void) {
nofralloc
#include "asm/dolphin/os/OSSync/__OSInitSystemCall.s"
}
#pragma pop