初始版本
This commit is contained in:
297
build/rng.lst
Normal file
297
build/rng.lst
Normal file
@ -0,0 +1,297 @@
|
||||
ARM GAS /tmp/cc62HSfH.s page 1
|
||||
|
||||
|
||||
1 .cpu cortex-m4
|
||||
2 .arch armv7e-m
|
||||
3 .fpu fpv4-sp-d16
|
||||
4 .eabi_attribute 27, 1
|
||||
5 .eabi_attribute 28, 1
|
||||
6 .eabi_attribute 20, 1
|
||||
7 .eabi_attribute 21, 1
|
||||
8 .eabi_attribute 23, 3
|
||||
9 .eabi_attribute 24, 1
|
||||
10 .eabi_attribute 25, 1
|
||||
11 .eabi_attribute 26, 1
|
||||
12 .eabi_attribute 30, 1
|
||||
13 .eabi_attribute 34, 1
|
||||
14 .eabi_attribute 18, 4
|
||||
15 .file "rng.c"
|
||||
16 .text
|
||||
17 .Ltext0:
|
||||
18 .cfi_sections .debug_frame
|
||||
19 .section .text.MX_RNG_Init,"ax",%progbits
|
||||
20 .align 1
|
||||
21 .global MX_RNG_Init
|
||||
22 .syntax unified
|
||||
23 .thumb
|
||||
24 .thumb_func
|
||||
26 MX_RNG_Init:
|
||||
27 .LFB134:
|
||||
28 .file 1 "Src/rng.c"
|
||||
1:Src/rng.c **** /* USER CODE BEGIN Header */
|
||||
2:Src/rng.c **** /**
|
||||
3:Src/rng.c **** ******************************************************************************
|
||||
4:Src/rng.c **** * @file rng.c
|
||||
5:Src/rng.c **** * @brief This file provides code for the configuration
|
||||
6:Src/rng.c **** * of the RNG instances.
|
||||
7:Src/rng.c **** ******************************************************************************
|
||||
8:Src/rng.c **** * @attention
|
||||
9:Src/rng.c **** *
|
||||
10:Src/rng.c **** * Copyright (c) 2025 STMicroelectronics.
|
||||
11:Src/rng.c **** * All rights reserved.
|
||||
12:Src/rng.c **** *
|
||||
13:Src/rng.c **** * This software is licensed under terms that can be found in the LICENSE file
|
||||
14:Src/rng.c **** * in the root directory of this software component.
|
||||
15:Src/rng.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
16:Src/rng.c **** *
|
||||
17:Src/rng.c **** ******************************************************************************
|
||||
18:Src/rng.c **** */
|
||||
19:Src/rng.c **** /* USER CODE END Header */
|
||||
20:Src/rng.c **** /* Includes ------------------------------------------------------------------*/
|
||||
21:Src/rng.c **** #include "rng.h"
|
||||
22:Src/rng.c ****
|
||||
23:Src/rng.c **** /* USER CODE BEGIN 0 */
|
||||
24:Src/rng.c ****
|
||||
25:Src/rng.c **** /* USER CODE END 0 */
|
||||
26:Src/rng.c ****
|
||||
27:Src/rng.c **** RNG_HandleTypeDef hrng;
|
||||
28:Src/rng.c ****
|
||||
29:Src/rng.c **** /* RNG init function */
|
||||
30:Src/rng.c **** void MX_RNG_Init(void)
|
||||
ARM GAS /tmp/cc62HSfH.s page 2
|
||||
|
||||
|
||||
31:Src/rng.c **** {
|
||||
29 .loc 1 31 1 view -0
|
||||
30 .cfi_startproc
|
||||
31 @ args = 0, pretend = 0, frame = 0
|
||||
32 @ frame_needed = 0, uses_anonymous_args = 0
|
||||
33 0000 08B5 push {r3, lr}
|
||||
34 .LCFI0:
|
||||
35 .cfi_def_cfa_offset 8
|
||||
36 .cfi_offset 3, -8
|
||||
37 .cfi_offset 14, -4
|
||||
32:Src/rng.c ****
|
||||
33:Src/rng.c **** /* USER CODE BEGIN RNG_Init 0 */
|
||||
34:Src/rng.c ****
|
||||
35:Src/rng.c **** /* USER CODE END RNG_Init 0 */
|
||||
36:Src/rng.c ****
|
||||
37:Src/rng.c **** /* USER CODE BEGIN RNG_Init 1 */
|
||||
38:Src/rng.c ****
|
||||
39:Src/rng.c **** /* USER CODE END RNG_Init 1 */
|
||||
40:Src/rng.c **** hrng.Instance = RNG;
|
||||
38 .loc 1 40 3 view .LVU1
|
||||
39 .loc 1 40 17 is_stmt 0 view .LVU2
|
||||
40 0002 0548 ldr r0, .L5
|
||||
41 0004 054B ldr r3, .L5+4
|
||||
42 0006 0360 str r3, [r0]
|
||||
41:Src/rng.c **** if (HAL_RNG_Init(&hrng) != HAL_OK)
|
||||
43 .loc 1 41 3 is_stmt 1 view .LVU3
|
||||
44 .loc 1 41 7 is_stmt 0 view .LVU4
|
||||
45 0008 FFF7FEFF bl HAL_RNG_Init
|
||||
46 .LVL0:
|
||||
47 .loc 1 41 6 view .LVU5
|
||||
48 000c 00B9 cbnz r0, .L4
|
||||
49 .L1:
|
||||
42:Src/rng.c **** {
|
||||
43:Src/rng.c **** Error_Handler();
|
||||
44:Src/rng.c **** }
|
||||
45:Src/rng.c **** /* USER CODE BEGIN RNG_Init 2 */
|
||||
46:Src/rng.c ****
|
||||
47:Src/rng.c **** /* USER CODE END RNG_Init 2 */
|
||||
48:Src/rng.c ****
|
||||
49:Src/rng.c **** }
|
||||
50 .loc 1 49 1 view .LVU6
|
||||
51 000e 08BD pop {r3, pc}
|
||||
52 .L4:
|
||||
43:Src/rng.c **** }
|
||||
53 .loc 1 43 5 is_stmt 1 view .LVU7
|
||||
54 0010 FFF7FEFF bl Error_Handler
|
||||
55 .LVL1:
|
||||
56 .loc 1 49 1 is_stmt 0 view .LVU8
|
||||
57 0014 FBE7 b .L1
|
||||
58 .L6:
|
||||
59 0016 00BF .align 2
|
||||
60 .L5:
|
||||
61 0018 00000000 .word .LANCHOR0
|
||||
62 001c 00080650 .word 1342572544
|
||||
63 .cfi_endproc
|
||||
64 .LFE134:
|
||||
66 .section .text.HAL_RNG_MspInit,"ax",%progbits
|
||||
ARM GAS /tmp/cc62HSfH.s page 3
|
||||
|
||||
|
||||
67 .align 1
|
||||
68 .global HAL_RNG_MspInit
|
||||
69 .syntax unified
|
||||
70 .thumb
|
||||
71 .thumb_func
|
||||
73 HAL_RNG_MspInit:
|
||||
74 .LVL2:
|
||||
75 .LFB135:
|
||||
50:Src/rng.c ****
|
||||
51:Src/rng.c **** void HAL_RNG_MspInit(RNG_HandleTypeDef* rngHandle)
|
||||
52:Src/rng.c **** {
|
||||
76 .loc 1 52 1 is_stmt 1 view -0
|
||||
77 .cfi_startproc
|
||||
78 @ args = 0, pretend = 0, frame = 8
|
||||
79 @ frame_needed = 0, uses_anonymous_args = 0
|
||||
80 @ link register save eliminated.
|
||||
53:Src/rng.c ****
|
||||
54:Src/rng.c **** if(rngHandle->Instance==RNG)
|
||||
81 .loc 1 54 3 view .LVU10
|
||||
82 .loc 1 54 15 is_stmt 0 view .LVU11
|
||||
83 0000 0268 ldr r2, [r0]
|
||||
84 .loc 1 54 5 view .LVU12
|
||||
85 0002 094B ldr r3, .L14
|
||||
86 0004 9A42 cmp r2, r3
|
||||
87 0006 00D0 beq .L13
|
||||
88 0008 7047 bx lr
|
||||
89 .L13:
|
||||
52:Src/rng.c ****
|
||||
90 .loc 1 52 1 view .LVU13
|
||||
91 000a 82B0 sub sp, sp, #8
|
||||
92 .LCFI1:
|
||||
93 .cfi_def_cfa_offset 8
|
||||
55:Src/rng.c **** {
|
||||
56:Src/rng.c **** /* USER CODE BEGIN RNG_MspInit 0 */
|
||||
57:Src/rng.c ****
|
||||
58:Src/rng.c **** /* USER CODE END RNG_MspInit 0 */
|
||||
59:Src/rng.c **** /* RNG clock enable */
|
||||
60:Src/rng.c **** __HAL_RCC_RNG_CLK_ENABLE();
|
||||
94 .loc 1 60 5 is_stmt 1 view .LVU14
|
||||
95 .LBB2:
|
||||
96 .loc 1 60 5 view .LVU15
|
||||
97 000c 0023 movs r3, #0
|
||||
98 000e 0193 str r3, [sp, #4]
|
||||
99 .loc 1 60 5 view .LVU16
|
||||
100 0010 064B ldr r3, .L14+4
|
||||
101 0012 5A6B ldr r2, [r3, #52]
|
||||
102 0014 42F04002 orr r2, r2, #64
|
||||
103 0018 5A63 str r2, [r3, #52]
|
||||
104 .loc 1 60 5 view .LVU17
|
||||
105 001a 5B6B ldr r3, [r3, #52]
|
||||
106 001c 03F04003 and r3, r3, #64
|
||||
107 0020 0193 str r3, [sp, #4]
|
||||
108 .loc 1 60 5 view .LVU18
|
||||
109 0022 019B ldr r3, [sp, #4]
|
||||
110 .LBE2:
|
||||
111 .loc 1 60 5 view .LVU19
|
||||
61:Src/rng.c **** /* USER CODE BEGIN RNG_MspInit 1 */
|
||||
ARM GAS /tmp/cc62HSfH.s page 4
|
||||
|
||||
|
||||
62:Src/rng.c ****
|
||||
63:Src/rng.c **** /* USER CODE END RNG_MspInit 1 */
|
||||
64:Src/rng.c **** }
|
||||
65:Src/rng.c **** }
|
||||
112 .loc 1 65 1 is_stmt 0 view .LVU20
|
||||
113 0024 02B0 add sp, sp, #8
|
||||
114 .LCFI2:
|
||||
115 .cfi_def_cfa_offset 0
|
||||
116 @ sp needed
|
||||
117 0026 7047 bx lr
|
||||
118 .L15:
|
||||
119 .align 2
|
||||
120 .L14:
|
||||
121 0028 00080650 .word 1342572544
|
||||
122 002c 00380240 .word 1073887232
|
||||
123 .cfi_endproc
|
||||
124 .LFE135:
|
||||
126 .section .text.HAL_RNG_MspDeInit,"ax",%progbits
|
||||
127 .align 1
|
||||
128 .global HAL_RNG_MspDeInit
|
||||
129 .syntax unified
|
||||
130 .thumb
|
||||
131 .thumb_func
|
||||
133 HAL_RNG_MspDeInit:
|
||||
134 .LVL3:
|
||||
135 .LFB136:
|
||||
66:Src/rng.c ****
|
||||
67:Src/rng.c **** void HAL_RNG_MspDeInit(RNG_HandleTypeDef* rngHandle)
|
||||
68:Src/rng.c **** {
|
||||
136 .loc 1 68 1 is_stmt 1 view -0
|
||||
137 .cfi_startproc
|
||||
138 @ args = 0, pretend = 0, frame = 0
|
||||
139 @ frame_needed = 0, uses_anonymous_args = 0
|
||||
140 @ link register save eliminated.
|
||||
69:Src/rng.c ****
|
||||
70:Src/rng.c **** if(rngHandle->Instance==RNG)
|
||||
141 .loc 1 70 3 view .LVU22
|
||||
142 .loc 1 70 15 is_stmt 0 view .LVU23
|
||||
143 0000 0268 ldr r2, [r0]
|
||||
144 .loc 1 70 5 view .LVU24
|
||||
145 0002 054B ldr r3, .L19
|
||||
146 0004 9A42 cmp r2, r3
|
||||
147 0006 00D0 beq .L18
|
||||
148 .L16:
|
||||
71:Src/rng.c **** {
|
||||
72:Src/rng.c **** /* USER CODE BEGIN RNG_MspDeInit 0 */
|
||||
73:Src/rng.c ****
|
||||
74:Src/rng.c **** /* USER CODE END RNG_MspDeInit 0 */
|
||||
75:Src/rng.c **** /* Peripheral clock disable */
|
||||
76:Src/rng.c **** __HAL_RCC_RNG_CLK_DISABLE();
|
||||
77:Src/rng.c **** /* USER CODE BEGIN RNG_MspDeInit 1 */
|
||||
78:Src/rng.c ****
|
||||
79:Src/rng.c **** /* USER CODE END RNG_MspDeInit 1 */
|
||||
80:Src/rng.c **** }
|
||||
81:Src/rng.c **** }
|
||||
149 .loc 1 81 1 view .LVU25
|
||||
150 0008 7047 bx lr
|
||||
ARM GAS /tmp/cc62HSfH.s page 5
|
||||
|
||||
|
||||
151 .L18:
|
||||
76:Src/rng.c **** /* USER CODE BEGIN RNG_MspDeInit 1 */
|
||||
152 .loc 1 76 5 is_stmt 1 view .LVU26
|
||||
153 000a 044A ldr r2, .L19+4
|
||||
154 000c 536B ldr r3, [r2, #52]
|
||||
155 000e 23F04003 bic r3, r3, #64
|
||||
156 0012 5363 str r3, [r2, #52]
|
||||
157 .loc 1 81 1 is_stmt 0 view .LVU27
|
||||
158 0014 F8E7 b .L16
|
||||
159 .L20:
|
||||
160 0016 00BF .align 2
|
||||
161 .L19:
|
||||
162 0018 00080650 .word 1342572544
|
||||
163 001c 00380240 .word 1073887232
|
||||
164 .cfi_endproc
|
||||
165 .LFE136:
|
||||
167 .global hrng
|
||||
168 .section .bss.hrng,"aw",%nobits
|
||||
169 .align 2
|
||||
170 .set .LANCHOR0,. + 0
|
||||
173 hrng:
|
||||
174 0000 00000000 .space 16
|
||||
174 00000000
|
||||
174 00000000
|
||||
174 00000000
|
||||
175 .text
|
||||
176 .Letext0:
|
||||
177 .file 2 "/home/jfen/toolchain/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/machine/_defaul
|
||||
178 .file 3 "/home/jfen/toolchain/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/sys/_stdint.h"
|
||||
179 .file 4 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h"
|
||||
180 .file 5 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h"
|
||||
181 .file 6 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rng.h"
|
||||
182 .file 7 "Inc/main.h"
|
||||
183 .file 8 "Inc/rng.h"
|
||||
ARM GAS /tmp/cc62HSfH.s page 6
|
||||
|
||||
|
||||
DEFINED SYMBOLS
|
||||
*ABS*:0000000000000000 rng.c
|
||||
/tmp/cc62HSfH.s:20 .text.MX_RNG_Init:0000000000000000 $t
|
||||
/tmp/cc62HSfH.s:26 .text.MX_RNG_Init:0000000000000000 MX_RNG_Init
|
||||
/tmp/cc62HSfH.s:61 .text.MX_RNG_Init:0000000000000018 $d
|
||||
/tmp/cc62HSfH.s:67 .text.HAL_RNG_MspInit:0000000000000000 $t
|
||||
/tmp/cc62HSfH.s:73 .text.HAL_RNG_MspInit:0000000000000000 HAL_RNG_MspInit
|
||||
/tmp/cc62HSfH.s:121 .text.HAL_RNG_MspInit:0000000000000028 $d
|
||||
/tmp/cc62HSfH.s:127 .text.HAL_RNG_MspDeInit:0000000000000000 $t
|
||||
/tmp/cc62HSfH.s:133 .text.HAL_RNG_MspDeInit:0000000000000000 HAL_RNG_MspDeInit
|
||||
/tmp/cc62HSfH.s:162 .text.HAL_RNG_MspDeInit:0000000000000018 $d
|
||||
/tmp/cc62HSfH.s:173 .bss.hrng:0000000000000000 hrng
|
||||
/tmp/cc62HSfH.s:169 .bss.hrng:0000000000000000 $d
|
||||
|
||||
UNDEFINED SYMBOLS
|
||||
HAL_RNG_Init
|
||||
Error_Handler
|
||||
Reference in New Issue
Block a user