mirror of
https://github.com/zeldaret/tp
synced 2026-06-07 20:11:27 -04:00
f8979749e3
* work on fop actor / actor mng, daalink, d_a_obj_item * d_a_title mostly decompiled * daalink / d_event / JMessage / dmsg_out_font work * msg_scrn_base / msg_scrn_boss * some work on mDo machine, d_menu_save, d_tresure, and various * remove asm * progress * finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data * rename more data * remove asm / progress * match all of d_pane_class * fixes / some dKankyo doc * bunch of j2d work. d_drawlist / d_attention cleanup * progress / asm * cleanup wip * decompile JStage * setup some more JStudio structs * set up d_demo classes * some d_demo work * cleanup dolphin os stuff * some initial dEvent documentation * some At collision documentation * match JUTConsole::doDraw * dbgs work / split up some of d_a_alink into .inc files * d_a_alink_spinner work
61 lines
1.5 KiB
C++
61 lines
1.5 KiB
C++
//
|
|
// Generated By: dol2asm
|
|
// Translation Unit: OSReboot
|
|
//
|
|
|
|
#include "dolphin/os/OSReboot.h"
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.h"
|
|
|
|
//
|
|
// External References:
|
|
//
|
|
|
|
extern "C" void OSSetArenaHi();
|
|
extern "C" void OSSetArenaLo();
|
|
extern "C" void OSSetCurrentContext();
|
|
extern "C" void OSClearContext();
|
|
extern "C" void __OSBootDol();
|
|
extern "C" void OSDisableInterrupts();
|
|
|
|
//
|
|
// Declarations:
|
|
//
|
|
|
|
/* 8033F5D0-8033F640 339F10 0070+00 0/0 1/1 0/0 .text __OSReboot */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void __OSReboot(u32 param_0, u32 param_1) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSReboot/__OSReboot.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* ############################################################################################## */
|
|
/* 80451688-8045168C 000B88 0004+00 2/2 0/0 0/0 .sbss SaveStart */
|
|
static u8 SaveStart[4];
|
|
|
|
/* 8045168C-80451690 000B8C 0004+00 2/2 0/0 0/0 .sbss SaveEnd */
|
|
static u8 SaveEnd[4];
|
|
|
|
/* 8033F640-8033F64C 339F80 000C+00 0/0 1/1 0/0 .text OSSetSaveRegion */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void OSSetSaveRegion(void* start, void* end) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSReboot/OSSetSaveRegion.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033F64C-8033F660 339F8C 0014+00 0/0 1/1 0/0 .text OSGetSaveRegion */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void OSGetSaveRegion(void* start, void* end) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSReboot/OSGetSaveRegion.s"
|
|
}
|
|
#pragma pop
|