Skip to content

Commit

Permalink
Split match and link OScache
Browse files Browse the repository at this point in the history
  • Loading branch information
Antidote committed Oct 4, 2023
1 parent 090d362 commit 090ecb2
Show file tree
Hide file tree
Showing 4 changed files with 463 additions and 36 deletions.
1 change: 1 addition & 0 deletions config/G2ME01/splits.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ Dolphin/PPCArch.c:

Dolphin/os/OSCache.c:
.text start:0x8036EE9C end:0x8036F514
.data start:0x803BE7B0 end:0x803BE9E0

Dolphin/os/OSContext.c:
.text start:0x8036F514 end:0x8036FCF8
Expand Down
70 changes: 35 additions & 35 deletions config/G2ME01/symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16205,37 +16205,37 @@ __OSStopAudioSystem = .text:0x8036EDC4; // type:function size:0xD8 scope:global
DCEnable = .text:0x8036EE9C; // type:function size:0x14 scope:global
DCInvalidateRange = .text:0x8036EEB0; // type:function size:0x2C scope:global
DCFlushRange = .text:0x8036EEDC; // type:function size:0x30 scope:global
fn_8036EF0C = .text:0x8036EF0C; // type:function size:0x30
DCStoreRange = .text:0x8036EF0C; // type:function size:0x30
DCFlushRangeNoSync = .text:0x8036EF3C; // type:function size:0x2C scope:global
fn_8036EF68 = .text:0x8036EF68; // type:function size:0x2C
fn_8036EF94 = .text:0x8036EF94; // type:function size:0x2C
DCStoreRangeNoSync = .text:0x8036EF68; // type:function size:0x2C
DCZeroRange = .text:0x8036EF94; // type:function size:0x2C
ICInvalidateRange = .text:0x8036EFC0; // type:function size:0x34 scope:global
ICFlashInvalidate = .text:0x8036EFF4; // type:function size:0x10 scope:global
ICEnable = .text:0x8036F004; // type:function size:0x14 scope:global
fn_8036F018 = .text:0x8036F018; // type:function size:0xCC
fn_8036F0E4 = .text:0x8036F0E4; // type:function size:0x38
__LCEnable = .text:0x8036F018; // type:function size:0xCC
LCEnable = .text:0x8036F0E4; // type:function size:0x38
LCDisable = .text:0x8036F11C; // type:function size:0x28 scope:global
fn_8036F144 = .text:0x8036F144; // type:function size:0x24 align:4
fn_8036F168 = .text:0x8036F168; // type:function size:0xAC
fn_8036F214 = .text:0x8036F214; // type:function size:0x14
LCStoreBlocks = .text:0x8036F144; // type:function size:0x24 align:4
LCStoreData = .text:0x8036F168; // type:function size:0xAC
LCQueueWait = .text:0x8036F214; // type:function size:0x14
L2GlobalInvalidate = .text:0x8036F228; // type:function size:0x98 scope:global
DMAErrorHandler = .text:0x8036F2C0; // type:function size:0x160 scope:global
__OSCacheInit = .text:0x8036F420; // type:function size:0xF4 scope:global
__OSLoadFPUContext = .text:0x8036F514; // type:function size:0x124 scope:local
__OSSaveFPUContext = .text:0x8036F638; // type:function size:0x128 scope:local
OSSaveFPUContext = .text:0x8036F760; // type:function size:0x8 scope:global
OSSetCurrentContext = .text:0x8036F768; // type:function size:0x5C scope:global
fn_8036F7C4 = .text:0x8036F7C4; // type:function size:0xC
OSGetCurrentContext = .text:0x8036F7C4; // type:function size:0xC
OSSaveContext = .text:0x8036F7D0; // type:function size:0x80 scope:global
OSLoadContext = .text:0x8036F850; // type:function size:0xD8 scope:global
OSGetStackPointer = .text:0x8036F928; // type:function size:0x8 scope:global
fn_8036F930 = .text:0x8036F930; // type:function size:0x30
OSSwitchFiber = .text:0x8036F930; // type:function size:0x30
OSClearContext = .text:0x8036F960; // type:function size:0x24 scope:global
OSDumpContext = .text:0x8036F984; // type:function size:0x2A8 scope:global
OSSwitchFPUContext = .text:0x8036FC2C; // type:function size:0x84 scope:local
__OSContextInit = .text:0x8036FCB0; // type:function size:0x48 scope:global
OSReport = .text:0x8036FCF8; // type:function size:0x80 scope:global
fn_8036FD78 = .text:0x8036FD78; // type:function size:0x12C
OSPanic = .text:0x8036FD78; // type:function size:0x12C
OSSetErrorHandler = .text:0x8036FEA4; // type:function size:0x218 scope:global
__OSUnhandledException = .text:0x803700BC; // type:function size:0x2E8 scope:global
fn_803703A4 = .text:0x803703A4; // type:function size:0x188
Expand Down Expand Up @@ -16397,29 +16397,29 @@ fn_80379868 = .text:0x80379868; // type:function size:0x13C
fn_803799A4 = .text:0x803799A4; // type:function size:0x14C align:4
SIProbe = .text:0x80379AF0; // type:function size:0x24 align:4
SISetSamplingRate = .text:0x80379B14; // type:function size:0xE4 scope:global
fn_80379BF8 = .text:0x80379BF8; // type:function size:0x24
fn_80379C1C = .text:0x80379C1C; // type:function size:0x244 align:4
fn_80379E60 = .text:0x80379E60; // type:function size:0x44
fn_80379EA4 = .text:0x80379EA4; // type:function size:0x13C
fn_80379FE0 = .text:0x80379FE0; // type:function size:0x11C
fn_8037A0FC = .text:0x8037A0FC; // type:function size:0x3BC
fn_8037A4B8 = .text:0x8037A4B8; // type:function size:0x1E0
fn_8037A698 = .text:0x8037A698; // type:function size:0xF0
fn_8037A788 = .text:0x8037A788; // type:function size:0x68
fn_8037A7F0 = .text:0x8037A7F0; // type:function size:0x1BC
fn_8037A9AC = .text:0x8037A9AC; // type:function size:0x54
fn_8037AA00 = .text:0x8037AA00; // type:function size:0x24C
fn_8037AC4C = .text:0x8037AC4C; // type:function size:0x10C
fn_8037AD58 = .text:0x8037AD58; // type:function size:0x1A88
fn_8037C7E0 = .text:0x8037C7E0; // type:function size:0x1A8C
fn_8037E26C = .text:0x8037E26C; // type:function size:0x1AAC
fn_8037FD18 = .text:0x8037FD18; // type:function size:0x67C
fn_80380394 = .text:0x80380394; // type:function size:0x6A8
fn_80380A3C = .text:0x80380A3C; // type:function size:0x6A8
fn_803810E4 = .text:0x803810E4; // type:function size:0xA0 align:4
fn_80381184 = .text:0x80381184; // type:function size:0x464
fn_803815E8 = .text:0x803815E8; // type:function size:0x90
fn_80381678 = .text:0x80381678; // type:function size:0x3C
SIRefreshSamplingRate = .text:0x80379BF8; // type:function size:0x24
THPVideoDecode = .text:0x80379C1C; // type:function size:0x244 align:4
__THPSetupBuffers = .text:0x80379E60; // type:function size:0x44
__THPReadFrameHeader = .text:0x80379EA4; // type:function size:0x13C
__THPReadScaneHeader = .text:0x80379FE0; // type:function size:0x11C
__THPReadQuantizationTable = .text:0x8037A0FC; // type:function size:0x3BC
__THPReadHuffmanTableSpecification = .text:0x8037A4B8; // type:function size:0x1E0
__THPHuffGenerateSizeTable = .text:0x8037A698; // type:function size:0xF0
__THPHuffGenerateCodeTable = .text:0x8037A788; // type:function size:0x68
__THPHuffGenerateDecoderTables = .text:0x8037A7F0; // type:function size:0x1BC
__THPRestartDefinition = .text:0x8037A9AC; // type:function size:0x54
__THPPrepBitStream = .text:0x8037AA00; // type:function size:0x24C
__THPDecompressYUV = .text:0x8037AC4C; // type:function size:0x10C
__THPDecompressiMCURow512x448 = .text:0x8037AD58; // type:function size:0x1A88
__THPDecompressiMCURow640x480 = .text:0x8037C7E0; // type:function size:0x1A8C
__THPDecompressiMCURowNxN = .text:0x8037E26C; // type:function size:0x1AAC
__THPHuffDecodeDCTCompY = .text:0x8037FD18; // type:function size:0x67C
__THPHuffDecodeDCTCompU = .text:0x80380394; // type:function size:0x6A8
__THPHuffDecodeDCTCompV = .text:0x80380A3C; // type:function size:0x6A8
THPInit = .text:0x803810E4; // type:function size:0xA0 align:4
THPAudioDecode = .text:0x80381184; // type:function size:0x464
__THPAudioGetNewSample = .text:0x803815E8; // type:function size:0x90
__THPAudioInitialize = .text:0x80381678; // type:function size:0x3C
fn_803816B4 = .text:0x803816B4; // type:function size:0x44
AIInitDMA__FUlUl = .text:0x803816F8; // type:function size:0x88 scope:global
AIStartDMA__Fv = .text:0x80381780; // type:function size:0x18 scope:global
Expand Down Expand Up @@ -18734,7 +18734,7 @@ jumptable_803BE494 = .data:0x803BE494; // type:object size:0x90 scope:local
@1 = .data:0x803BE528; // type:object size:0x44 scope:local data:string
ResetFunctionInfo = .data:0x803BE720; // type:object size:0x10 scope:local
DSPInitCode = .data:0x803BE730; // type:object size:0x80 scope:local
@69 = .data:0x803BE7B0; // type:object size:0x29 scope:local data:string
@69 = .data:0x803BE7B0; // type:object size:0x29 scope:local data:string_table
lbl_803BE9E0 = .data:0x803BE9E0; // type:object size:0x1B4
@74 = .data:0x803BEB94; // type:object size:0x23 scope:local data:string
@13 = .data:0x803BEBB8; // type:object size:0x16 scope:local data:string
Expand Down
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def Rel(lib_name, objects):
DolphinLib(
"os",
[
Object(NonMatching, "Dolphin/os/OSCache.c"),
Object(Matching, "Dolphin/os/OSCache.c"),
Object(NonMatching, "Dolphin/os/OSContext.c"),
Object(NonMatching, "Dolphin/os/OSError.c"),
],
Expand Down
Loading

0 comments on commit 090ecb2

Please sign in to comment.