mirror of https://github.com/zeldaret/tp.git
219 lines
4.1 KiB
C++
219 lines
4.1 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 3388A0 0004+00 1/1 0/0 0/0 .text OSNotifyLink */
|
|
static void OSNotifyLink() {
|
|
/* empty function */
|
|
}
|
|
|
|
/* 8033DF64-8033DF68 3388A4 0004+00 1/1 0/0 0/0 .text OSNotifyUnlink */
|
|
static void OSNotifyUnlink() {
|
|
/* empty function */
|
|
}
|
|
|
|
/* 8033DF68-8033DF74 3388A8 000C+00 0/0 1/1 0/0 .text OSSetStringTable */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void OSSetStringTable() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/OSSetStringTable.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* ############################################################################################## */
|
|
/* 803D0788-803D07B0 02D8A8 0025+03 1/1 0/0 0/0 .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 3388B4 02BC+00 1/1 0/0 0/0 .text Relocate */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
static asm void Relocate() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/Relocate.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033E230-8033E510 338B70 02E0+00 2/2 0/0 0/0 .text Link */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
static asm void Link() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/Link.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033E510-8033E534 338E50 0024+00 0/0 1/1 0/0 .text OSLink */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void OSLink() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/OSLink.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033E534-8033E570 338E74 003C+00 0/0 1/1 0/0 .text OSLinkFixed */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void OSLinkFixed() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/OSLinkFixed.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* ############################################################################################## */
|
|
/* 803D07B0-803D07D8 02D8D0 0027+01 1/1 0/0 0/0 .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 338EB0 0238+00 1/1 0/0 0/0 .text Undo */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
static asm void Undo() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/Undo.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033E7A8-8033E97C 3390E8 01D4+00 0/0 1/1 0/0 .text OSUnlink */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void OSUnlink() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/OSUnlink.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033E97C-8033E994 3392BC 0018+00 0/0 1/1 0/0 .text __OSModuleInit */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void __OSModuleInit() {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSLink/__OSModuleInit.s"
|
|
}
|
|
#pragma pop
|