-
Notifications
You must be signed in to change notification settings - Fork 1
/
kernel.list
92 lines (80 loc) · 2.87 KB
/
kernel.list
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
build/output.elf: file format elf32-littlearm
Disassembly of section .init:
00008000 <_start>:
8000: ea000020 b 8088 <main>
Disassembly of section .text:
00008004 <GetGpioAddress>:
8004: e59f0078 ldr r0, [pc, #120] ; 8084 <SetGpio+0x30>
8008: e1a0f00e mov pc, lr
0000800c <SetGpioFunction>:
800c: e3500035 cmp r0, #53 ; 0x35
8010: 93500007 cmpls r0, #7 ; 0x7
8014: 81a0f00e movhi pc, lr
8018: e59f2064 ldr r2, [pc, #100] ; 8084 <SetGpio+0x30>
0000801c <funcCalcLoop$>:
801c: e3500009 cmp r0, #9 ; 0x9
8020: 8240000a subhi r0, r0, #10 ; 0xa
8024: 82822004 addhi r2, r2, #4 ; 0x4
8028: 8afffffb bhi 801c <funcCalcLoop$>
802c: e0800080 add r0, r0, r0, lsl #1
8030: e1a01011 lsl r1, r1, r0
8034: e3a03007 mov r3, #7 ; 0x7
8038: e1a03013 lsl r3, r3, r0
803c: e1e03003 mvn r3, r3
8040: e5920000 ldr r0, [r2]
8044: e0000003 and r0, r0, r3
8048: e1811000 orr r1, r1, r0
804c: e5821000 str r1, [r2]
8050: e1a0f00e mov pc, lr
00008054 <SetGpio>:
8054: e3500035 cmp r0, #53 ; 0x35
8058: 81a0f00e movhi pc, lr
805c: e59f2020 ldr r2, [pc, #32] ; 8084 <SetGpio+0x30>
8060: e1a032a0 lsr r3, r0, #5
8064: e0822103 add r2, r2, r3, lsl #2
8068: e200001f and r0, r0, #31 ; 0x1f
806c: e3a03001 mov r3, #1 ; 0x1
8070: e1a03013 lsl r3, r3, r0
8074: e3310000 teq r1, #0 ; 0x0
8078: 05823028 streq r3, [r2, #40]
807c: 1582301c strne r3, [r2, #28]
8080: e1a0f00e mov pc, lr
8084: 20200000 .word 0x20200000
00008088 <main>:
8088: e3a0d902 mov sp, #32768 ; 0x8000
808c: e3a00010 mov r0, #16 ; 0x10
8090: e3a01001 mov r1, #1 ; 0x1
8094: ebffffdc bl 800c <SetGpioFunction>
8098: e59f4034 ldr r4, [pc, #52] ; 80d4 <mainloop$+0x30>
809c: e5944000 ldr r4, [r4]
80a0: e3a05000 mov r5, #0 ; 0x0
000080a4 <mainloop$>:
80a4: e3a00010 mov r0, #16 ; 0x10
80a8: e3a01001 mov r1, #1 ; 0x1
80ac: e1a01511 lsl r1, r1, r5
80b0: e0011004 and r1, r1, r4
80b4: ebffffe6 bl 8054 <SetGpio>
80b8: e3a00001 mov r0, #1 ; 0x1
80bc: e1a00980 lsl r0, r0, #19
80c0: eb000007 bl 80e4 <Wait>
80c4: e2855001 add r5, r5, #1 ; 0x1
80c8: e355001f cmp r5, #31 ; 0x1f
80cc: 83a05000 movhi r5, #0 ; 0x0
80d0: eafffff3 b 80a4 <mainloop$>
80d4: 0000810c .word 0x0000810c
000080d8 <GetCounterValue>:
80d8: e59f0028 ldr r0, [pc, #40] ; 8108 <waitLoop$+0x10>
80dc: e1c000d4 ldrd r0, [r0, #4]
80e0: e1a0f00e mov pc, lr
000080e4 <Wait>:
80e4: e92d4000 push {lr}
80e8: e92d0001 push {r0}
80ec: ebfffff9 bl 80d8 <GetCounterValue>
80f0: e8bd0002 pop {r1}
80f4: e0802001 add r2, r0, r1
000080f8 <waitLoop$>:
80f8: ebfffff6 bl 80d8 <GetCounterValue>
80fc: e1500002 cmp r0, r2
8100: 9afffffc bls 80f8 <waitLoop$>
8104: e8bd8000 pop {pc}
8108: 20003000 .word 0x20003000