mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-01 23:38:23 -04:00
rebootstub: pc-relative load (thanks fincs)
This commit is contained in:
parent
e9e3f29d74
commit
cfc9576eaf
2 changed files with 2 additions and 6 deletions
|
@ -18,14 +18,10 @@
|
|||
.align 4
|
||||
.global _start
|
||||
_start:
|
||||
adr r0, reboot_type
|
||||
ldr r0, [r0]
|
||||
ldr r0, reboot_type
|
||||
cmp r0, #0x0
|
||||
beq do_shutdown
|
||||
b jump_to_reboot_payload
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
reboot_type:
|
||||
.word 0x00000001
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue