📄 heap_2.lst
字号:
29 0008 083C .loc 1 227 0
226:rtos/Source/portable/MemMang/heap_2.c ****
227:rtos/Source/portable/MemMang/heap_2.c **** vTaskSuspendAll();
30 vTaskSuspendAll
31 000a FFF7FEFF .LVL2:
32 .LBB2:
33 .loc 1 230 0
228:rtos/Source/portable/MemMang/heap_2.c **** {
229:rtos/Source/portable/MemMang/heap_2.c **** /* Add this block to the list of free blocks. */
230:rtos/Source/portable/MemMang/heap_2.c **** prvInsertBlockIntoFreeList( ( ( xBlockLink * ) pxLink ) );
34 r0, [r4, #4]
35 000e 6068 .LVL3:
36 ldr r1, .L8
37 0010 0649 .LVL4:
38 .LVL5:
39 .L4:
40 ldr r2, [r1]
41 0012 0A68 ldr r3, [r2, #4]
42 0014 5368 cmp r3, r0
43 0016 8342 bcs .L5
44 0018 01D2 mov r1, r2
45 001a 111C b .L4
46 001c F9E7 .L5:
47 str r2, [r4]
48 001e 2260 str r4, [r1]
49 0020 0C60 .LBE2:
50 .loc 1 232 0
231:rtos/Source/portable/MemMang/heap_2.c **** }
232:rtos/Source/portable/MemMang/heap_2.c **** xTaskResumeAll();
51 l
52 0022 FFF7FEFF .LVL6:
53 .LVL7:
54 .L7:
55 .loc 1 234 0
233:rtos/Source/portable/MemMang/heap_2.c **** }
234:rtos/Source/portable/MemMang/heap_2.c **** }
56 needed for prologue
57 .LVL8:
58 pop {r4}
59 0026 10BC pop {r0}
60 0028 01BC bx r0
61 002a 0047 .L9:
62 .align 2
63 .L8:
64 .word xStart
65 002c 085C0000 .LFE3:
67 .align 2
68 .global pvPortMalloc
69 .code 16
70 .thumb_func
72 pvPortMalloc:
73 .LFB2:
74 .loc 1 136 0
75 push {r4, r5, lr}
76 0030 30B5 .LCFI1:
77 .LVL9:
78 .loc 1 136 0
79 mov r5, r0
80 0032 051C .loc 1 141 0
81 bl vTaskSuspendAll
82 0034 FFF7FEFF .LVL10:
83 .loc 1 145 0
84 ldr r4, .L29
85 0038 254C ldr r0, [r4]
86 003a 2068 cmp r0, #0
87 003c 0028 bne .L11
88 003e 0CD1 .LBB3:
89 .loc 1 147 0
90 ldr r1, .L29+4
91 0040 2449 ldr r3, .L29+8
92 0042 254B ldr r2, .L29+12
93 0044 254A str r1, [r3]
94 0046 1960 str r0, [r3, #4]
95 0048 5860 mov r3, #184
96 004a B823 lsl r3, r3, #7
97 004c DB01 str r3, [r2, #4]
98 004e 5360 str r3, [r1, #4]
99 0050 4B60 .LBE3:
100 .loc 1 148 0
101 mov r3, #1
102 0052 0123 .LBB4:
103 .loc 1 147 0
104 str r0, [r2]
105 0054 1060 .LBE4:
106 .loc 1 148 0
107 str r3, [r4]
108 0056 2360 .LBB5:
109 .loc 1 147 0
110 str r2, [r1]
111 0058 0A60 .L11:
112 .LBE5:
113 .loc 1 153 0
114 cmp r5, #0
115 005a 002D beq .L13
116 005c 31D0 .loc 1 155 0
117 mov r0, r5
118 005e 281C .LVL11:
119 add r0, r0, #8
120 0060 0830 .loc 1 158 0
121 mov r3, #3
122 0062 0323 tst r0, r3
123 0064 1842 beq .L15
124 0066 01D0 .loc 1 161 0
125 bic r0, r0, r3
126 0068 9843 .LVL12:
127 add r0, r0, #4
128 006a 0430 .LVL13:
129 .L15:
130 .loc 1 165 0
131 ldr r3, .L29+16
132 006c 1C4B sub r2, r0, #1
133 006e 421E cmp r2, r3
134 0070 9A42 bhi .L13
135 0072 26D8 .loc 1 170 0
136 ldr r3, .L29+8
137 0074 184B ldr r2, [r3]
138 0076 1A68 .LVL14:
139 mov r1, r3
140 0078 191C .LVL15:
141 .LVL16:
142 .L18:
143 .loc 1 171 0
144 ldr r3, [r2, #4]
145 007a 5368 .LVL17:
146 cmp r3, r0
147 007c 8342 bcs .L19
148 007e 06D2 ldr r3, [r2]
149 0080 1368 .LVL18:
150 mov ip, r2
151 0082 9446 cmp r3, #0
152 0084 002B beq .L19
153 0086 02D0 mov r2, r3
154 0088 1A1C mov r1, ip
155 008a 6146 b .L18
156 008c F5E7 .L19:
157 .loc 1 178 0
158 ldr r3, .L29+12
159 008e 134B .LVL19:
160 cmp r2, r3
161 0090 9A42 beq .L13
162 0092 16D0 .loc 1 182 0
163 ldr r3, [r1]
164 0094 0B68 mov r5, r3
165 0096 1D1C .LVL20:
166 .loc 1 186 0
167 ldr r3, [r2]
168 0098 1368 str r3, [r1]
169 009a 0B60 .loc 1 189 0
170 ldr r3, [r2, #4]
171 009c 5368 sub r3, r3, r0
172 009e 1B1A .loc 1 182 0
173 add r5, r5, #8
174 00a0 0835 .loc 1 189 0
175 cmp r3, #16
176 00a2 102B bls .L23
177 00a4 0ED9 .loc 1 194 0
178 add r4, r2, r0
179 00a6 1418 .LVL21:
180 .loc 1 198 0
181 str r3, [r4, #4]
182 00a8 6360 .loc 1 199 0
183 str r0, [r2, #4]
184 00aa 5060 .LBB6:
185 .loc 1 202 0
186 ldr r1, .L29+8
187 00ac 0A49 .LVL22:
188 ldr r0, [r4, #4]
189 00ae 6068 .LVL23:
190 .LVL24:
191 .L25:
192 ldr r2, [r1]
193 00b0 0A68 .LVL25:
194 ldr r3, [r2, #4]
195 00b2 5368 cmp r3, r0
196 00b4 8342 bcs .L26
197 00b6 01D2 mov r1, r2
198 00b8 111C b .L25
199 00ba F9E7 .L26:
200 str r2, [r4]
201 00bc 2260 str r4, [r1]
202 00be 0C60 b .L23
203 00c0 00E0 .LVL26:
204 .L13:
205 mov r5, #0
206 00c2 0025 .LVL27:
207 .L23:
208 .LBE6:
209 .loc 1 207 0
210 bl xTaskResumeAll
211 00c4 FFF7FEFF .LVL28:
212 .loc 1 210 0
213 mov r0, r5
214 00c8 281C @ sp needed for prologue
215 .LVL29:
216 .LVL30:
217 pop {r4, r5}
218 00ca 30BC pop {r1}
219 00cc 02BC bx r1
220 00ce 0847 .L30:
221 .align 2
222 .L29:
223 .word xHeapHasBeenInitialised.2169
224 00d0 00000000 .word xHeap+4
225 00d4 08000000 .word xStart
226 00d8 085C0000 .word xEnd
227 00dc 105C0000 .word 23550
228 00e0 FE5B0000 .LFE2:
230 .bss
231 .align 2
232 xHeapHasBeenInitialised.2169:
233 .space 4
234 0000 00000000 .align 2
235 xHeap:
236 .space 23556
237 0004 00000000 .align 2
237 00000000
237 00000000
237 00000000
237 00000000
238 xStart:
239 .space 8
240 5c08 00000000 .align 2
240 00000000
241 xEnd:
242 .space 8
243 5c10 00000000 .section .debug_frame,"",%progbits
243 00000000
295 .section .debug_loc,"",%progbits
DEFINED SYMBOLS
*ABS*:00000000 heap_2.c
c:\DOCUME~1\Reggie\LOCALS~1\Temp/ccm8aaaa.s:1 .text:00000000 $t
c:\DOCUME~1\Reggie\LOCALS~1\Temp/ccm8aaaa.s:16 .text:00000000 vPortFree
c:\DOCUME~1\Reggie\LOCALS~1\Temp/ccm8aaaa.s:65 .text:0000002c $d
c:\DOCUME~1\Reggie\LOCALS~1\Temp/ccm8aaaa.s:239 .bss:00005c08 xStart
c:\DOCUME~1\Reggie\LOCALS~1\Temp/ccm8aaaa.s:73 .text:00000030 pvPortMalloc
c:\DOCUME~1\Reggie\LOCALS~1\Temp/ccm8aaaa.s:70 .text:00000030 $t
c:\DOCUME~1\Reggie\LOCALS~1\Temp/ccm8aaaa.s:224 .text:000000d0 $d
c:\DOCUME~1\Reggie\LOCALS~1\Temp/ccm8aaaa.s:233 .bss:00000000 xHeapHasBeenInitialised.2169
c:\DOCUME~1\Reggie\LOCALS~1\Temp/ccm8aaaa.s:236 .bss:00000004 xHeap
c:\DOCUME~1\Reggie\LOCALS~1\Temp/ccm8aaaa.s:242 .bss:00005c10 xEnd
UNDEFINED SYMBOLS
vTaskSuspendAll
xTaskResumeAll
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -