mirror of https://github.com/zeldaret/tp.git
219 lines
4.2 KiB
C++
219 lines
4.2 KiB
C++
//
|
|
// Generated By: dol2asm
|
|
// Translation Unit: OSLink
|
|
//
|
|
|
|
#include "dolphin/os/OSLink.h"
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.h"
|
|
|
|
//
|
|
// Forward References:
|
|
//
|
|
|
|
extern "C" static void OSNotifyLink();
|
|
extern "C" static void OSNotifyUnlink();
|
|
extern "C" void OSSetStringTable();
|
|
extern "C" static void Relocate();
|
|
extern "C" static void Link();
|
|
extern "C" void OSLink();
|
|
extern "C" void OSLinkFixed();
|
|
extern "C" static void Undo();
|
|
extern "C" void OSUnlink();
|
|
extern "C" void __OSModuleInit();
|
|
|
|
//
|
|
// External References:
|
|
//
|
|
|
|
SECTION_INIT void memset();
|
|
extern "C" void OSReport();
|
|
extern "C" void DCFlushRange();
|
|
extern "C" void ICInvalidateRange();
|
|
|
|
//
|
|
// Declarations:
|
|
//
|
|
|
|
/* 8033DF60-8033DF64 0004+00 s=1 e=0 z=0 None .text OSNotifyLink */
|
|
extern "C" static void OSNotifyLink() {
|
|
/* empty function */
|
|
}
|
|
|
|
/* 8033DF64-8033DF68 0004+00 s=1 e=0 z=0 None .text OSNotifyUnlink */
|
|
extern "C" static void OSNotifyUnlink() {
|
|
/* empty function */
|
|
}
|
|
|
|
/* 8033DF68-8033DF74 000C+00 s=0 e=1 z=0 None .text OSSetStringTable */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
extern "C" asm void OSSetStringTable() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/OSSetStringTable.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* ############################################################################################## */
|
|
/* 803D0788-803D07B0 0025+03 s=1 e=0 z=0 None .data @62 */
|
|
SECTION_DATA static u8 lit_62[37 + 3 /* padding */] = {
|
|
0x4F,
|
|
0x53,
|
|
0x4C,
|
|
0x69,
|
|
0x6E,
|
|
0x6B,
|
|
0x3A,
|
|
0x20,
|
|
0x75,
|
|
0x6E,
|
|
0x6B,
|
|
0x6E,
|
|
0x6F,
|
|
0x77,
|
|
0x6E,
|
|
0x20,
|
|
0x72,
|
|
0x65,
|
|
0x6C,
|
|
0x6F,
|
|
0x63,
|
|
0x61,
|
|
0x74,
|
|
0x69,
|
|
0x6F,
|
|
0x6E,
|
|
0x20,
|
|
0x74,
|
|
0x79,
|
|
0x70,
|
|
0x65,
|
|
0x20,
|
|
0x25,
|
|
0x33,
|
|
0x64,
|
|
0x0A,
|
|
0x00,
|
|
/* padding */
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
};
|
|
|
|
/* 8033DF74-8033E230 02BC+00 s=1 e=0 z=0 None .text Relocate */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
extern "C" asm static void Relocate() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/Relocate.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033E230-8033E510 02E0+00 s=2 e=0 z=0 None .text Link */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
extern "C" asm static void Link() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/Link.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033E510-8033E534 0024+00 s=0 e=1 z=0 None .text OSLink */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
extern "C" asm void OSLink() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/OSLink.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033E534-8033E570 003C+00 s=0 e=1 z=0 None .text OSLinkFixed */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
extern "C" asm void OSLinkFixed() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/OSLinkFixed.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* ############################################################################################## */
|
|
/* 803D07B0-803D07D8 0027+01 s=1 e=0 z=0 None .data @189 */
|
|
SECTION_DATA static u8 lit_189[39 + 1 /* padding */] = {
|
|
0x4F,
|
|
0x53,
|
|
0x55,
|
|
0x6E,
|
|
0x6C,
|
|
0x69,
|
|
0x6E,
|
|
0x6B,
|
|
0x3A,
|
|
0x20,
|
|
0x75,
|
|
0x6E,
|
|
0x6B,
|
|
0x6E,
|
|
0x6F,
|
|
0x77,
|
|
0x6E,
|
|
0x20,
|
|
0x72,
|
|
0x65,
|
|
0x6C,
|
|
0x6F,
|
|
0x63,
|
|
0x61,
|
|
0x74,
|
|
0x69,
|
|
0x6F,
|
|
0x6E,
|
|
0x20,
|
|
0x74,
|
|
0x79,
|
|
0x70,
|
|
0x65,
|
|
0x20,
|
|
0x25,
|
|
0x33,
|
|
0x64,
|
|
0x0A,
|
|
0x00,
|
|
/* padding */
|
|
0x00,
|
|
};
|
|
|
|
/* 8033E570-8033E7A8 0238+00 s=1 e=0 z=0 None .text Undo */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
extern "C" asm static void Undo() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/Undo.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033E7A8-8033E97C 01D4+00 s=0 e=1 z=0 None .text OSUnlink */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
extern "C" asm void OSUnlink() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/OSUnlink.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033E97C-8033E994 0018+00 s=0 e=1 z=0 None .text __OSModuleInit */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
extern "C" asm void __OSModuleInit() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/__OSModuleInit.s"
|
|
}
|
|
#pragma pop
|