mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 09:19:17 +01:00
5cbb7e69fd
*Optimized TMD loading. Removed unnecessary accesses to it. *Fixed ocarina path loading for channels *Optimized device shutdown before game/channel start *A few code optimizations
19 lines
228 B
ArmAsm
Executable File
19 lines
228 B
ArmAsm
Executable File
#define STUB 0x3400
|
|
|
|
.text
|
|
.section .text
|
|
.globl _unstub_start
|
|
|
|
_unstub_start:
|
|
isync
|
|
// set MSR[DR:IR] = 00, jump to STUB
|
|
lis 3,STUB@h
|
|
ori 3,3,STUB@l
|
|
mtsrr0 3
|
|
|
|
mfmsr 3
|
|
li 4,0x30
|
|
andc 3,3,4
|
|
mtsrr1 3
|
|
rfi
|