blob: d1891a250fa31361f5808036e10371a6ef1ec059 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
.section .text.head
.globl _start
_start:
b 1f
.long 0
.quad 0x80000
.quad payload_end - _start
.quad (1 << 3)
.quad 0
.quad 0
.quad 0
.long ARM64_IMAGE_MAGIC
.long 0
1:
ldr x1, =0x09000000
adr x2, msg
2: ldrb w3, [x2], #1
cbz w3, 3f
str w3, [x1]
b 2b
3:
mov x0, #0x18
ldr x1, =0x20026
hlt #0xF000
b 3b
msg: .asciz "payload: alive, tashaboot jumped here\n"
.balign 8
payload_end:
|