exo: don't forget to dereference your pointers kids
This commit is contained in:
@@ -19,9 +19,13 @@
|
||||
.global _start
|
||||
_start:
|
||||
adr r0, reboot_type
|
||||
ldr r0, [r0]
|
||||
cmp r0, #0x0
|
||||
beq do_shutdown
|
||||
b jump_to_reboot_payload
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
reboot_type:
|
||||
.word 0x00000001
|
||||
|
||||
|
||||
Reference in New Issue
Block a user