diff --git a/Debug/Core/Src/freertos.o b/Debug/Core/Src/freertos.o index 24350fb..2241fb5 100644 Binary files a/Debug/Core/Src/freertos.o and b/Debug/Core/Src/freertos.o differ diff --git a/Debug/Core/Src/main.o b/Debug/Core/Src/main.o index d22415c..dab4d0d 100644 Binary files a/Debug/Core/Src/main.o and b/Debug/Core/Src/main.o differ diff --git a/Debug/Core/Src/main.su b/Debug/Core/Src/main.su index b42d58f..c2ff56e 100644 --- a/Debug/Core/Src/main.su +++ b/Debug/Core/Src/main.su @@ -1,24 +1,24 @@ -main.c:176:5:main 288 static -main.c:345:6:SystemClock_Config 216 static -main.c:411:13:MX_ADC1_Init 24 static -main.c:461:13:MX_ADC3_Init 24 static -main.c:511:13:MX_CRC_Init 8 static -main.c:542:13:MX_DAC_Init 16 static -main.c:580:13:MX_DMA2D_Init 8 static -main.c:617:13:MX_LTDC_Init 64 static -main.c:679:13:MX_RNG_Init 8 static -main.c:705:13:MX_SPI2_Init 8 static -main.c:745:13:MX_TIM1_Init 40 static -main.c:792:13:MX_TIM2_Init 40 static -main.c:837:13:MX_TIM3_Init 88 static -main.c:903:13:MX_TIM5_Init 40 static -main.c:948:13:MX_TIM8_Init 112 static -main.c:1023:13:MX_FMC_Init 40 static -main.c:1074:13:MX_GPIO_Init 72 static -main.c:1310:6:f_GameMaster 32 static -main.c:1357:6:f_Joueur_1 96 static -main.c:1439:6:f_block_enemie 1016 static -main.c:1492:6:f_projectile 384 static -main.c:1583:6:f_IRQ_BP 56 static -main.c:1616:6:HAL_TIM_PeriodElapsedCallback 16 static -main.c:1633:6:Error_Handler 4 static,ignoring_inline_asm +main.c:174:5:main 208 static +main.c:338:6:SystemClock_Config 216 static +main.c:404:13:MX_ADC1_Init 24 static +main.c:454:13:MX_ADC3_Init 24 static +main.c:504:13:MX_CRC_Init 8 static +main.c:535:13:MX_DAC_Init 16 static +main.c:573:13:MX_DMA2D_Init 8 static +main.c:610:13:MX_LTDC_Init 64 static +main.c:672:13:MX_RNG_Init 8 static +main.c:698:13:MX_SPI2_Init 8 static +main.c:738:13:MX_TIM1_Init 40 static +main.c:785:13:MX_TIM2_Init 40 static +main.c:830:13:MX_TIM3_Init 88 static +main.c:896:13:MX_TIM5_Init 40 static +main.c:941:13:MX_TIM8_Init 112 static +main.c:1016:13:MX_FMC_Init 40 static +main.c:1067:13:MX_GPIO_Init 72 static +main.c:1308:6:HAL_GPIO_EXTI_Callback 40 static +main.c:1330:6:f_GameMaster 32 static +main.c:1377:6:f_Joueur_1 96 static +main.c:1459:6:f_block_enemie 1016 static +main.c:1512:6:f_projectile 384 static +main.c:1608:6:HAL_TIM_PeriodElapsedCallback 16 static +main.c:1625:6:Error_Handler 4 static,ignoring_inline_asm diff --git a/Debug/Core/Src/stm32f7xx_hal_msp.o b/Debug/Core/Src/stm32f7xx_hal_msp.o index a38a277..040a542 100644 Binary files a/Debug/Core/Src/stm32f7xx_hal_msp.o and b/Debug/Core/Src/stm32f7xx_hal_msp.o differ diff --git a/Debug/Core/Src/stm32f7xx_it.o b/Debug/Core/Src/stm32f7xx_it.o index 0d47edc..fc635d7 100644 Binary files a/Debug/Core/Src/stm32f7xx_it.o and b/Debug/Core/Src/stm32f7xx_it.o differ diff --git a/Debug/Core/Src/stm32f7xx_it.su b/Debug/Core/Src/stm32f7xx_it.su index 615188c..b268c0f 100644 --- a/Debug/Core/Src/stm32f7xx_it.su +++ b/Debug/Core/Src/stm32f7xx_it.su @@ -4,6 +4,7 @@ stm32f7xx_it.c:104:6:MemManage_Handler 4 static stm32f7xx_it.c:119:6:BusFault_Handler 4 static stm32f7xx_it.c:134:6:UsageFault_Handler 4 static stm32f7xx_it.c:149:6:DebugMon_Handler 4 static -stm32f7xx_it.c:169:6:TIM6_DAC_IRQHandler 8 static -stm32f7xx_it.c:184:6:ETH_IRQHandler 8 static -stm32f7xx_it.c:198:6:LTDC_IRQHandler 8 static +stm32f7xx_it.c:169:6:EXTI9_5_IRQHandler 8 static +stm32f7xx_it.c:183:6:TIM6_DAC_IRQHandler 8 static +stm32f7xx_it.c:198:6:ETH_IRQHandler 8 static +stm32f7xx_it.c:212:6:LTDC_IRQHandler 8 static diff --git a/Debug/Core/Src/syscalls.o b/Debug/Core/Src/syscalls.o index 9fe3d46..f8dd9a7 100644 Binary files a/Debug/Core/Src/syscalls.o and b/Debug/Core/Src/syscalls.o differ diff --git a/Debug/Core/Src/sysmem.o b/Debug/Core/Src/sysmem.o index a1e7063..40a51ae 100644 Binary files a/Debug/Core/Src/sysmem.o and b/Debug/Core/Src/sysmem.o differ diff --git a/Debug/LWIP/App/lwip.o b/Debug/LWIP/App/lwip.o index c596535..1e31747 100644 Binary files a/Debug/LWIP/App/lwip.o and b/Debug/LWIP/App/lwip.o differ diff --git a/Debug/LWIP/Target/ethernetif.o b/Debug/LWIP/Target/ethernetif.o index 08ba70c..a774fbb 100644 Binary files a/Debug/LWIP/Target/ethernetif.o and b/Debug/LWIP/Target/ethernetif.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/api/api_lib.o b/Debug/Middlewares/Third_Party/LwIP/src/api/api_lib.o index 86ff2e4..a596474 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/api/api_lib.o and b/Debug/Middlewares/Third_Party/LwIP/src/api/api_lib.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/api/api_msg.o b/Debug/Middlewares/Third_Party/LwIP/src/api/api_msg.o index 820a0fa..894d099 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/api/api_msg.o and b/Debug/Middlewares/Third_Party/LwIP/src/api/api_msg.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/api/err.o b/Debug/Middlewares/Third_Party/LwIP/src/api/err.o index 26fbb32..e7ca971 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/api/err.o and b/Debug/Middlewares/Third_Party/LwIP/src/api/err.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/api/if_api.o b/Debug/Middlewares/Third_Party/LwIP/src/api/if_api.o index 0522ee3..0e80918 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/api/if_api.o and b/Debug/Middlewares/Third_Party/LwIP/src/api/if_api.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/api/netbuf.o b/Debug/Middlewares/Third_Party/LwIP/src/api/netbuf.o index 84f1035..1bddeeb 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/api/netbuf.o and b/Debug/Middlewares/Third_Party/LwIP/src/api/netbuf.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/api/netdb.o b/Debug/Middlewares/Third_Party/LwIP/src/api/netdb.o index 5530e8c..cb8facc 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/api/netdb.o and b/Debug/Middlewares/Third_Party/LwIP/src/api/netdb.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/api/netifapi.o b/Debug/Middlewares/Third_Party/LwIP/src/api/netifapi.o index 2e84031..733460c 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/api/netifapi.o and b/Debug/Middlewares/Third_Party/LwIP/src/api/netifapi.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/api/sockets.o b/Debug/Middlewares/Third_Party/LwIP/src/api/sockets.o index ce6d8a0..5225a6f 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/api/sockets.o and b/Debug/Middlewares/Third_Party/LwIP/src/api/sockets.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/api/tcpip.o b/Debug/Middlewares/Third_Party/LwIP/src/api/tcpip.o index 671dd26..244236f 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/api/tcpip.o and b/Debug/Middlewares/Third_Party/LwIP/src/api/tcpip.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o b/Debug/Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o index 6441ef6..0847870 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o and b/Debug/Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/altcp.o b/Debug/Middlewares/Third_Party/LwIP/src/core/altcp.o index c96ae56..1bf66a0 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/altcp.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/altcp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o b/Debug/Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o index bb29aae..87a686c 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o b/Debug/Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o index fb3e6af..3a8a064 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/def.o b/Debug/Middlewares/Third_Party/LwIP/src/core/def.o index 7324067..59e6e10 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/def.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/def.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/dns.o b/Debug/Middlewares/Third_Party/LwIP/src/core/dns.o index f7bf68e..0b6477b 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/dns.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/dns.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/inet_chksum.o b/Debug/Middlewares/Third_Party/LwIP/src/core/inet_chksum.o index 884be8d..0088865 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/inet_chksum.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/inet_chksum.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/init.o b/Debug/Middlewares/Third_Party/LwIP/src/core/init.o index 84d593c..0cdd33f 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/init.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/init.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ip.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ip.o index baaa7b7..93a6c75 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ip.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ip.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o index 7c1e19b..01b390b 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o index e48f44b..411ff63 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o index e07e773..d0f358c 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o index bf17b36..34dcdf4 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o index adbb898..be233ab 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o index 6fc7043..33906e7 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o index 8b203b9..6cb9e67 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o index efa3e15..e758c2d 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o index 82f6d59..05cfde5 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o index bdbba77..4966110 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o index 6745075..adfd8fc 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o index 00609e9..b8761db 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o index 525420f..38a7d54 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o index 3f07ba7..059b47d 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o index 41b4f05..b77df83 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o index 82740d2..78241fa 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o index 10bcf8f..d22edcd 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/mem.o b/Debug/Middlewares/Third_Party/LwIP/src/core/mem.o index ad153c9..6f100ea 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/mem.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/mem.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/memp.o b/Debug/Middlewares/Third_Party/LwIP/src/core/memp.o index ce3072b..a96a638 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/memp.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/memp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/netif.o b/Debug/Middlewares/Third_Party/LwIP/src/core/netif.o index 052fd70..380e996 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/netif.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/netif.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/pbuf.o b/Debug/Middlewares/Third_Party/LwIP/src/core/pbuf.o index 379c20c..c0c15f0 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/pbuf.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/pbuf.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/raw.o b/Debug/Middlewares/Third_Party/LwIP/src/core/raw.o index 302a2da..0f46bd0 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/raw.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/raw.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/stats.o b/Debug/Middlewares/Third_Party/LwIP/src/core/stats.o index 022aa72..4fee64f 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/stats.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/stats.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/sys.o b/Debug/Middlewares/Third_Party/LwIP/src/core/sys.o index b9d7d3d..b465443 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/sys.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/sys.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/tcp.o b/Debug/Middlewares/Third_Party/LwIP/src/core/tcp.o index 58a9c7c..78fba07 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/tcp.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/tcp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/tcp_in.o b/Debug/Middlewares/Third_Party/LwIP/src/core/tcp_in.o index 944218d..8de7f11 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/tcp_in.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/tcp_in.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/tcp_out.o b/Debug/Middlewares/Third_Party/LwIP/src/core/tcp_out.o index 1b9637a..681b3ff 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/tcp_out.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/tcp_out.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/timeouts.o b/Debug/Middlewares/Third_Party/LwIP/src/core/timeouts.o index 54f90bf..289e787 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/timeouts.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/timeouts.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/core/udp.o b/Debug/Middlewares/Third_Party/LwIP/src/core/udp.o index 14bbfb1..3569996 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/core/udp.o and b/Debug/Middlewares/Third_Party/LwIP/src/core/udp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/bridgeif.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/bridgeif.o index db141ab..13a0205 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/bridgeif.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/bridgeif.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o index a88ee51..741d9ff 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ethernet.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ethernet.o index 641d7b8..3c2fb96 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ethernet.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ethernet.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/lowpan6.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/lowpan6.o index ae036ad..4cf3167 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/lowpan6.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/lowpan6.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o index b82846a..40859b8 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o index 90c5992..292b97b 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o index 3f64eed..6aeb023 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o index 074a592..f027d55 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o index 2b7a17b..3bb0899 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o index 08e49c4..6464c1e 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o index 5f4e68c..3b30fee 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o index 9a9153a..45bb238 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o index 3eda27e..f6bb363 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o index db8f417..6b41d81 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o index 0f8dab6..937e592 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o index 1772518..7ba771d 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o index d15307f..d7be479 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o index 6b79f15..c5233f3 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o index b47885b..96e4756 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o index 491a2d1..b29c21b 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o index ce395a3..e4b31d9 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o index 0f11934..8a6e9a6 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o index ac74f74..fe65e8f 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o index a6015f4..4d71a5c 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o index f4edc66..aa5a73c 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o index e5bfdf5..be1b0a6 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o index 82def86..3503089 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o index a9ce064..1180ab4 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o index e4c330e..ea0d5f5 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o index bc743b2..5385fe7 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o index 4584142..3d4983e 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/slipif.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/slipif.o index 68ddef9..bc06223 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/slipif.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/slipif.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/src/netif/zepif.o b/Debug/Middlewares/Third_Party/LwIP/src/netif/zepif.o index 6df4449..993ed89 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/src/netif/zepif.o and b/Debug/Middlewares/Third_Party/LwIP/src/netif/zepif.o differ diff --git a/Debug/Middlewares/Third_Party/LwIP/system/OS/sys_arch.o b/Debug/Middlewares/Third_Party/LwIP/system/OS/sys_arch.o index 183c155..3a5e1c9 100644 Binary files a/Debug/Middlewares/Third_Party/LwIP/system/OS/sys_arch.o and b/Debug/Middlewares/Third_Party/LwIP/system/OS/sys_arch.o differ diff --git a/Debug/Space_Invaders.bin b/Debug/Space_Invaders.bin index 635d68c..9e0d5e4 100644 Binary files a/Debug/Space_Invaders.bin and b/Debug/Space_Invaders.bin differ diff --git a/Debug/Space_Invaders.elf b/Debug/Space_Invaders.elf index 0d6b054..aceec69 100644 Binary files a/Debug/Space_Invaders.elf and b/Debug/Space_Invaders.elf differ diff --git a/Debug/Space_Invaders.list b/Debug/Space_Invaders.list index cdbc4d7..8a37c50 100644 --- a/Debug/Space_Invaders.list +++ b/Debug/Space_Invaders.list @@ -5,45 +5,45 @@ Sections: Idx Name Size VMA LMA File off Algn 0 .isr_vector 000001c8 08000000 08000000 00010000 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA - 1 .text 0001c480 080001d0 080001d0 000101d0 2**4 + 1 .text 0001bc9c 080001d0 080001d0 000101d0 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE - 2 .rodata 000050d4 0801c650 0801c650 0002c650 2**2 + 2 .rodata 000050b4 0801be6c 0801be6c 0002be6c 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 3 .ARM.extab 00000000 08021724 08021724 000400e8 2**0 + 3 .ARM.extab 00000000 08020f20 08020f20 000400e8 2**0 CONTENTS - 4 .ARM 00000008 08021724 08021724 00031724 2**2 + 4 .ARM 00000008 08020f20 08020f20 00030f20 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 5 .preinit_array 00000000 0802172c 0802172c 000400e8 2**0 + 5 .preinit_array 00000000 08020f28 08020f28 000400e8 2**0 CONTENTS, ALLOC, LOAD, DATA - 6 .init_array 00000004 0802172c 0802172c 0003172c 2**2 + 6 .init_array 00000004 08020f28 08020f28 00030f28 2**2 CONTENTS, ALLOC, LOAD, DATA - 7 .fini_array 00000004 08021730 08021730 00031730 2**2 + 7 .fini_array 00000004 08020f2c 08020f2c 00030f2c 2**2 CONTENTS, ALLOC, LOAD, DATA - 8 .data 000000e8 20000000 08021734 00040000 2**2 + 8 .data 000000e8 20000000 08020f30 00040000 2**2 CONTENTS, ALLOC, LOAD, DATA - 9 .bss 0000f528 200000e8 0802181c 000400e8 2**2 + 9 .bss 0000f524 200000e8 08021018 000400e8 2**2 ALLOC - 10 ._user_heap_stack 00000600 2000f610 0802181c 0004f610 2**0 + 10 ._user_heap_stack 00000604 2000f60c 08021018 0004f60c 2**0 ALLOC 11 .ARM.attributes 00000030 00000000 00000000 000400e8 2**0 CONTENTS, READONLY - 12 .debug_info 000508c2 00000000 00000000 00040118 2**0 + 12 .debug_info 00050ade 00000000 00000000 00040118 2**0 CONTENTS, READONLY, DEBUGGING - 13 .debug_abbrev 000096fb 00000000 00000000 000909da 2**0 + 13 .debug_abbrev 000096fb 00000000 00000000 00090bf6 2**0 CONTENTS, READONLY, DEBUGGING - 14 .debug_aranges 000030e0 00000000 00000000 0009a0d8 2**3 + 14 .debug_aranges 000030e8 00000000 00000000 0009a2f8 2**3 CONTENTS, READONLY, DEBUGGING - 15 .debug_ranges 00002e28 00000000 00000000 0009d1b8 2**3 + 15 .debug_ranges 00002e30 00000000 00000000 0009d3e0 2**3 CONTENTS, READONLY, DEBUGGING - 16 .debug_macro 0003bc1d 00000000 00000000 0009ffe0 2**0 + 16 .debug_macro 0003bc39 00000000 00000000 000a0210 2**0 CONTENTS, READONLY, DEBUGGING - 17 .debug_line 000390ff 00000000 00000000 000dbbfd 2**0 + 17 .debug_line 0003910d 00000000 00000000 000dbe49 2**0 CONTENTS, READONLY, DEBUGGING - 18 .debug_str 001279e1 00000000 00000000 00114cfc 2**0 + 18 .debug_str 00127a3a 00000000 00000000 00114f56 2**0 CONTENTS, READONLY, DEBUGGING - 19 .comment 0000007b 00000000 00000000 0023c6dd 2**0 + 19 .comment 0000007b 00000000 00000000 0023c990 2**0 CONTENTS, READONLY - 20 .debug_frame 0000d280 00000000 00000000 0023c758 2**2 + 20 .debug_frame 0000d120 00000000 00000000 0023ca0c 2**2 CONTENTS, READONLY, DEBUGGING Disassembly of section .text: @@ -62,7 +62,7 @@ Disassembly of section .text: 80001e6: bd10 pop {r4, pc} 80001e8: 200000e8 .word 0x200000e8 80001ec: 00000000 .word 0x00000000 - 80001f0: 0801c638 .word 0x0801c638 + 80001f0: 0801be54 .word 0x0801be54 080001f4 : 80001f4: b508 push {r3, lr} @@ -74,7 +74,7 @@ Disassembly of section .text: 8000202: bd08 pop {r3, pc} 8000204: 00000000 .word 0x00000000 8000208: 200000ec .word 0x200000ec - 800020c: 0801c638 .word 0x0801c638 + 800020c: 0801be54 .word 0x0801be54 08000210 : 8000210: f001 01ff and.w r1, r1, #255 ; 0xff @@ -526,7 +526,7 @@ void ft5336_Init(uint16_t DeviceAddr) * Trsi timing (Time of starting to report point after resetting) from FT5336GQQ datasheet */ TS_IO_Delay(200); 8000622: 20c8 movs r0, #200 ; 0xc8 - 8000624: f002 fa00 bl 8002a28 + 8000624: f002 f99a bl 800295c /* Initialize I2C link if needed */ ft5336_I2C_InitializeIfRequired(); @@ -596,7 +596,7 @@ uint16_t ft5336_ReadID(uint16_t DeviceAddr) 800066c: b2db uxtb r3, r3 800066e: 21a8 movs r1, #168 ; 0xa8 8000670: 4618 mov r0, r3 - 8000672: f002 f9bb bl 80029ec + 8000672: f002 f955 bl 8002920 8000676: 4603 mov r3, r0 8000678: 737b strb r3, [r7, #13] @@ -687,7 +687,7 @@ uint8_t ft5336_TS_DetectTouch(uint16_t DeviceAddr) 80006d8: b2db uxtb r3, r3 80006da: 2102 movs r1, #2 80006dc: 4618 mov r0, r3 - 80006de: f002 f985 bl 80029ec + 80006de: f002 f91f bl 8002920 80006e2: 4603 mov r3, r0 80006e4: 73fb strb r3, [r7, #15] nbTouch &= FT5336_TD_STAT_MASK; @@ -963,7 +963,7 @@ void ft5336_TS_GetXY(uint16_t DeviceAddr, uint16_t *X, uint16_t *Y) 800083e: 7dfa ldrb r2, [r7, #23] 8000840: 4611 mov r1, r2 8000842: 4618 mov r0, r3 - 8000844: f002 f8d2 bl 80029ec + 8000844: f002 f86c bl 8002920 8000848: 4603 mov r3, r0 800084a: 74fb strb r3, [r7, #19] coord = (ucReadData & FT5336_TOUCH_POS_LSB_MASK) >> FT5336_TOUCH_POS_LSB_SHIFT; @@ -980,7 +980,7 @@ void ft5336_TS_GetXY(uint16_t DeviceAddr, uint16_t *X, uint16_t *Y) 800085a: 7dba ldrb r2, [r7, #22] 800085c: 4611 mov r1, r2 800085e: 4618 mov r0, r3 - 8000860: f002 f8c4 bl 80029ec + 8000860: f002 f85e bl 8002920 8000864: 4603 mov r3, r0 8000866: 74fb strb r3, [r7, #19] coord |= ((ucReadData & FT5336_TOUCH_POS_MSB_MASK) >> FT5336_TOUCH_POS_MSB_SHIFT) << 8; @@ -1012,7 +1012,7 @@ void ft5336_TS_GetXY(uint16_t DeviceAddr, uint16_t *X, uint16_t *Y) 8000890: 7d7a ldrb r2, [r7, #21] 8000892: 4611 mov r1, r2 8000894: 4618 mov r0, r3 - 8000896: f002 f8a9 bl 80029ec + 8000896: f002 f843 bl 8002920 800089a: 4603 mov r3, r0 800089c: 74fb strb r3, [r7, #19] coord = (ucReadData & FT5336_TOUCH_POS_LSB_MASK) >> FT5336_TOUCH_POS_LSB_SHIFT; @@ -1029,7 +1029,7 @@ void ft5336_TS_GetXY(uint16_t DeviceAddr, uint16_t *X, uint16_t *Y) 80008ac: 7d3a ldrb r2, [r7, #20] 80008ae: 4611 mov r1, r2 80008b0: 4618 mov r0, r3 - 80008b2: f002 f89b bl 80029ec + 80008b2: f002 f835 bl 8002920 80008b6: 4603 mov r3, r0 80008b8: 74fb strb r3, [r7, #19] coord |= ((ucReadData & FT5336_TOUCH_POS_MSB_MASK) >> FT5336_TOUCH_POS_MSB_SHIFT) << 8; @@ -1098,7 +1098,7 @@ void ft5336_TS_EnableIT(uint16_t DeviceAddr) 8000912: 7bfa ldrb r2, [r7, #15] 8000914: 21a4 movs r1, #164 ; 0xa4 8000916: 4618 mov r0, r3 - 8000918: f002 f84e bl 80029b8 + 8000918: f001 ffe8 bl 80028ec } 800091c: bf00 nop 800091e: 3710 adds r7, #16 @@ -1131,7 +1131,7 @@ void ft5336_TS_DisableIT(uint16_t DeviceAddr) 800093a: 7bfa ldrb r2, [r7, #15] 800093c: 21a4 movs r1, #164 ; 0xa4 800093e: 4618 mov r0, r3 - 8000940: f002 f83a bl 80029b8 + 8000940: f001 ffd4 bl 80028ec } 8000944: bf00 nop 8000946: 3710 adds r7, #16 @@ -1202,7 +1202,7 @@ void ft5336_TS_GetGestureID(uint16_t DeviceAddr, uint32_t * pGestureId) 800098c: b2db uxtb r3, r3 800098e: 2101 movs r1, #1 8000990: 4618 mov r0, r3 - 8000992: f002 f82b bl 80029ec + 8000992: f001 ffc5 bl 8002920 8000996: 4603 mov r3, r0 8000998: 73fb strb r3, [r7, #15] @@ -1415,7 +1415,7 @@ void ft5336_TS_GetTouchInfo(uint16_t DeviceAddr, 8000aa2: 7dfa ldrb r2, [r7, #23] 8000aa4: 4611 mov r1, r2 8000aa6: 4618 mov r0, r3 - 8000aa8: f001 ffa0 bl 80029ec + 8000aa8: f001 ff3a bl 8002920 8000aac: 4603 mov r3, r0 8000aae: 753b strb r3, [r7, #20] * pEvent = (ucReadData & FT5336_TOUCH_EVT_FLAG_MASK) >> FT5336_TOUCH_EVT_FLAG_SHIFT; @@ -1433,7 +1433,7 @@ void ft5336_TS_GetTouchInfo(uint16_t DeviceAddr, 8000ac2: 7dba ldrb r2, [r7, #22] 8000ac4: 4611 mov r1, r2 8000ac6: 4618 mov r0, r3 - 8000ac8: f001 ff90 bl 80029ec + 8000ac8: f001 ff2a bl 8002920 8000acc: 4603 mov r3, r0 8000ace: 753b strb r3, [r7, #20] * pWeight = (ucReadData & FT5336_TOUCH_WEIGHT_MASK) >> FT5336_TOUCH_WEIGHT_SHIFT; @@ -1450,7 +1450,7 @@ void ft5336_TS_GetTouchInfo(uint16_t DeviceAddr, 8000ade: 7d7a ldrb r2, [r7, #21] 8000ae0: 4611 mov r1, r2 8000ae2: 4618 mov r0, r3 - 8000ae4: f001 ff82 bl 80029ec + 8000ae4: f001 ff1c bl 8002920 8000ae8: 4603 mov r3, r0 8000aea: 753b strb r3, [r7, #20] * pArea = (ucReadData & FT5336_TOUCH_AREA_MASK) >> FT5336_TOUCH_AREA_SHIFT; @@ -1507,7 +1507,7 @@ static void ft5336_I2C_InitializeIfRequired(void) { /* Initialize TS IO BUS layer (I2C) */ TS_IO_Init(); - 8000b2e: f001 ff39 bl 80029a4 + 8000b2e: f001 fed3 bl 80028d8 /* Set state to initialized */ ft5336_handle.i2cInitialized = FT5336_I2C_INITIALIZED; @@ -1555,2545 +1555,2580 @@ static uint32_t ft5336_TS_Configure(uint16_t DeviceAddr) int main(void) { 8000b5c: b5b0 push {r4, r5, r7, lr} - 8000b5e: b0c4 sub sp, #272 ; 0x110 + 8000b5e: b0b0 sub sp, #192 ; 0xc0 8000b60: af00 add r7, sp, #0 /* USER CODE BEGIN 1 */ - char text[50] = {}; - 8000b62: f107 03dc add.w r3, r7, #220 ; 0xdc - 8000b66: 2232 movs r2, #50 ; 0x32 - 8000b68: 2100 movs r1, #0 - 8000b6a: 4618 mov r0, r3 - 8000b6c: f01a fc9b bl 801b4a6 static TS_StateTypeDef TS_State; ADC_ChannelConfTypeDef sConfig = {0}; - 8000b70: f107 03cc add.w r3, r7, #204 ; 0xcc - 8000b74: 2200 movs r2, #0 - 8000b76: 601a str r2, [r3, #0] - 8000b78: 605a str r2, [r3, #4] - 8000b7a: 609a str r2, [r3, #8] - 8000b7c: 60da str r2, [r3, #12] + 8000b62: f107 03b0 add.w r3, r7, #176 ; 0xb0 + 8000b66: 2200 movs r2, #0 + 8000b68: 601a str r2, [r3, #0] + 8000b6a: 605a str r2, [r3, #4] + 8000b6c: 609a str r2, [r3, #8] + 8000b6e: 60da str r2, [r3, #12] sConfig.Rank = ADC_REGULAR_RANK_1; - 8000b7e: 2301 movs r3, #1 - 8000b80: f8c7 30d0 str.w r3, [r7, #208] ; 0xd0 + 8000b70: 2301 movs r3, #1 + 8000b72: f8c7 30b4 str.w r3, [r7, #180] ; 0xb4 sConfig.SamplingTime = ADC_SAMPLETIME_3CYCLES; - 8000b84: 2300 movs r3, #0 - 8000b86: f8c7 30d4 str.w r3, [r7, #212] ; 0xd4 + 8000b76: 2300 movs r3, #0 + 8000b78: f8c7 30b8 str.w r3, [r7, #184] ; 0xb8 /* USER CODE END 1 */ /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); - 8000b8a: f004 f930 bl 8004dee + 8000b7c: f003 feeb bl 8004956 /* USER CODE BEGIN Init */ /* USER CODE END Init */ /* Configure the system clock */ SystemClock_Config(); - 8000b8e: f000 f981 bl 8000e94 + 8000b80: f000 f938 bl 8000df4 /* USER CODE BEGIN SysInit */ /* USER CODE END SysInit */ /* Initialize all configured peripherals */ MX_GPIO_Init(); - 8000b92: f000 fe8f bl 80018b4 + 8000b84: f000 fe46 bl 8001814 MX_ADC3_Init(); - 8000b96: f000 fa73 bl 8001080 + 8000b88: f000 fa2a bl 8000fe0 MX_LTDC_Init(); - 8000b9a: f000 fb41 bl 8001220 + 8000b8c: f000 faf8 bl 8001180 MX_SPI2_Init(); - 8000b9e: f000 fbd5 bl 800134c + 8000b90: f000 fb8c bl 80012ac MX_TIM1_Init(); - 8000ba2: f000 fc11 bl 80013c8 + 8000b94: f000 fbc8 bl 8001328 MX_TIM2_Init(); - 8000ba6: f000 fc63 bl 8001470 + 8000b98: f000 fc1a bl 80013d0 MX_TIM3_Init(); - 8000baa: f000 fcaf bl 800150c + 8000b9c: f000 fc66 bl 800146c MX_TIM5_Init(); - 8000bae: f000 fd3b bl 8001628 + 8000ba0: f000 fcf2 bl 8001588 MX_TIM8_Init(); - 8000bb2: f000 fd87 bl 80016c4 + 8000ba4: f000 fd3e bl 8001624 MX_ADC1_Init(); - 8000bb6: f000 fa11 bl 8000fdc + 8000ba8: f000 f9c8 bl 8000f3c MX_DAC_Init(); - 8000bba: f000 fad5 bl 8001168 + 8000bac: f000 fa8c bl 80010c8 MX_FMC_Init(); - 8000bbe: f000 fe2b bl 8001818 + 8000bb0: f000 fde2 bl 8001778 MX_DMA2D_Init(); - 8000bc2: f000 fafb bl 80011bc + 8000bb4: f000 fab2 bl 800111c MX_CRC_Init(); - 8000bc6: f000 faad bl 8001124 + 8000bb8: f000 fa64 bl 8001084 MX_RNG_Init(); - 8000bca: f000 fbab bl 8001324 + 8000bbc: f000 fb62 bl 8001284 /* USER CODE BEGIN 2 */ BSP_LCD_Init(); - 8000bce: f001 ff37 bl 8002a40 + 8000bc0: f001 fed8 bl 8002974 BSP_LCD_LayerDefaultInit(0, LCD_FB_START_ADDRESS); - 8000bd2: f04f 4140 mov.w r1, #3221225472 ; 0xc0000000 - 8000bd6: 2000 movs r0, #0 - 8000bd8: f001 ffca bl 8002b70 + 8000bc4: f04f 4140 mov.w r1, #3221225472 ; 0xc0000000 + 8000bc8: 2000 movs r0, #0 + 8000bca: f001 ff6b bl 8002aa4 BSP_LCD_LayerDefaultInit(1, LCD_FB_START_ADDRESS + BSP_LCD_GetXSize() * BSP_LCD_GetYSize() * 4); - 8000bdc: f001 ffa0 bl 8002b20 - 8000be0: 4604 mov r4, r0 - 8000be2: f001 ffb1 bl 8002b48 - 8000be6: 4603 mov r3, r0 - 8000be8: fb03 f304 mul.w r3, r3, r4 + 8000bce: f001 ff41 bl 8002a54 + 8000bd2: 4604 mov r4, r0 + 8000bd4: f001 ff52 bl 8002a7c + 8000bd8: 4603 mov r3, r0 + 8000bda: fb03 f304 mul.w r3, r3, r4 BSP_LCD_LayerDefaultInit(1, - 8000bec: f103 5340 add.w r3, r3, #805306368 ; 0x30000000 - 8000bf0: 009b lsls r3, r3, #2 - 8000bf2: 4619 mov r1, r3 - 8000bf4: 2001 movs r0, #1 - 8000bf6: f001 ffbb bl 8002b70 + 8000bde: f103 5340 add.w r3, r3, #805306368 ; 0x30000000 + 8000be2: 009b lsls r3, r3, #2 + 8000be4: 4619 mov r1, r3 + 8000be6: 2001 movs r0, #1 + 8000be8: f001 ff5c bl 8002aa4 BSP_LCD_DisplayOn(); - 8000bfa: f002 fd33 bl 8003664 + 8000bec: f002 fb9e bl 800332c BSP_LCD_SelectLayer(1); - 8000bfe: 2001 movs r0, #1 - 8000c00: f002 f816 bl 8002c30 + 8000bf0: 2001 movs r0, #1 + 8000bf2: f001 ffb7 bl 8002b64 BSP_LCD_Clear(LCD_COLOR_BLACK); - 8000c04: f04f 407f mov.w r0, #4278190080 ; 0xff000000 - 8000c08: f002 f884 bl 8002d14 + 8000bf6: f04f 407f mov.w r0, #4278190080 ; 0xff000000 + 8000bfa: f002 f80f bl 8002c1c BSP_LCD_SetFont(&Font12); - 8000c0c: 4889 ldr r0, [pc, #548] ; (8000e34 ) - 8000c0e: f002 f851 bl 8002cb4 + 8000bfe: 486a ldr r0, [pc, #424] ; (8000da8 ) + 8000c00: f001 fff2 bl 8002be8 BSP_LCD_SetTextColor(LCD_COLOR_BLUE); - 8000c12: 4889 ldr r0, [pc, #548] ; (8000e38 ) - 8000c14: f002 f81c bl 8002c50 + 8000c04: 4869 ldr r0, [pc, #420] ; (8000dac ) + 8000c06: f001 ffbd bl 8002b84 BSP_LCD_SetBackColor(LCD_COLOR_BLACK); - 8000c18: f04f 407f mov.w r0, #4278190080 ; 0xff000000 - 8000c1c: f002 f830 bl 8002c80 + 8000c0a: f04f 407f mov.w r0, #4278190080 ; 0xff000000 + 8000c0e: f001 ffd1 bl 8002bb4 BSP_TS_Init(BSP_LCD_GetXSize(), BSP_LCD_GetYSize()); - 8000c20: f001 ff7e bl 8002b20 - 8000c24: 4603 mov r3, r0 - 8000c26: b29c uxth r4, r3 - 8000c28: f001 ff8e bl 8002b48 - 8000c2c: 4603 mov r3, r0 - 8000c2e: b29b uxth r3, r3 - 8000c30: 4619 mov r1, r3 - 8000c32: 4620 mov r0, r4 - 8000c34: f003 f928 bl 8003e88 + 8000c12: f001 ff1f bl 8002a54 + 8000c16: 4603 mov r3, r0 + 8000c18: b29c uxth r4, r3 + 8000c1a: f001 ff2f bl 8002a7c + 8000c1e: 4603 mov r3, r0 + 8000c20: b29b uxth r3, r3 + 8000c22: 4619 mov r1, r3 + 8000c24: 4620 mov r0, r4 + 8000c26: f002 fedb bl 80039e0 /* start timers, add new ones, ... */ /* USER CODE END RTOS_TIMERS */ /* Create the queue(s) */ /* definition and creation of Queue_J */ osMessageQDef(Queue_J, 16, uint16_t); - 8000c38: 4b80 ldr r3, [pc, #512] ; (8000e3c ) - 8000c3a: f107 04bc add.w r4, r7, #188 ; 0xbc - 8000c3e: cb0f ldmia r3, {r0, r1, r2, r3} - 8000c40: e884 000f stmia.w r4, {r0, r1, r2, r3} + 8000c2a: 4b61 ldr r3, [pc, #388] ; (8000db0 ) + 8000c2c: f107 04a0 add.w r4, r7, #160 ; 0xa0 + 8000c30: cb0f ldmia r3, {r0, r1, r2, r3} + 8000c32: e884 000f stmia.w r4, {r0, r1, r2, r3} Queue_JHandle = osMessageCreate(osMessageQ(Queue_J), NULL); - 8000c44: f107 03bc add.w r3, r7, #188 ; 0xbc - 8000c48: 2100 movs r1, #0 - 8000c4a: 4618 mov r0, r3 - 8000c4c: f00b fac8 bl 800c1e0 - 8000c50: 4602 mov r2, r0 - 8000c52: 4b7b ldr r3, [pc, #492] ; (8000e40 ) - 8000c54: 601a str r2, [r3, #0] + 8000c36: f107 03a0 add.w r3, r7, #160 ; 0xa0 + 8000c3a: 2100 movs r1, #0 + 8000c3c: 4618 mov r0, r3 + 8000c3e: f00b f89d bl 800bd7c + 8000c42: 4602 mov r2, r0 + 8000c44: 4b5b ldr r3, [pc, #364] ; (8000db4 ) + 8000c46: 601a str r2, [r3, #0] /* definition and creation of Queue_N */ - osMessageQDef(Queue_N, 16, uint16_t); - 8000c56: 4b79 ldr r3, [pc, #484] ; (8000e3c ) - 8000c58: f107 04ac add.w r4, r7, #172 ; 0xac - 8000c5c: cb0f ldmia r3, {r0, r1, r2, r3} - 8000c5e: e884 000f stmia.w r4, {r0, r1, r2, r3} + osMessageQDef(Queue_N, 3, struct Missile); + 8000c48: 4b5b ldr r3, [pc, #364] ; (8000db8 ) + 8000c4a: f107 0490 add.w r4, r7, #144 ; 0x90 + 8000c4e: cb0f ldmia r3, {r0, r1, r2, r3} + 8000c50: e884 000f stmia.w r4, {r0, r1, r2, r3} Queue_NHandle = osMessageCreate(osMessageQ(Queue_N), NULL); - 8000c62: f107 03ac add.w r3, r7, #172 ; 0xac - 8000c66: 2100 movs r1, #0 - 8000c68: 4618 mov r0, r3 - 8000c6a: f00b fab9 bl 800c1e0 - 8000c6e: 4602 mov r2, r0 - 8000c70: 4b74 ldr r3, [pc, #464] ; (8000e44 ) - 8000c72: 601a str r2, [r3, #0] + 8000c54: f107 0390 add.w r3, r7, #144 ; 0x90 + 8000c58: 2100 movs r1, #0 + 8000c5a: 4618 mov r0, r3 + 8000c5c: f00b f88e bl 800bd7c + 8000c60: 4602 mov r2, r0 + 8000c62: 4b56 ldr r3, [pc, #344] ; (8000dbc ) + 8000c64: 601a str r2, [r3, #0] /* definition and creation of Queue_F */ osMessageQDef(Queue_F, 16, uint16_t); - 8000c74: 4b71 ldr r3, [pc, #452] ; (8000e3c ) - 8000c76: f107 049c add.w r4, r7, #156 ; 0x9c - 8000c7a: cb0f ldmia r3, {r0, r1, r2, r3} - 8000c7c: e884 000f stmia.w r4, {r0, r1, r2, r3} + 8000c66: 4b52 ldr r3, [pc, #328] ; (8000db0 ) + 8000c68: f107 0480 add.w r4, r7, #128 ; 0x80 + 8000c6c: cb0f ldmia r3, {r0, r1, r2, r3} + 8000c6e: e884 000f stmia.w r4, {r0, r1, r2, r3} Queue_FHandle = osMessageCreate(osMessageQ(Queue_F), NULL); - 8000c80: f107 039c add.w r3, r7, #156 ; 0x9c - 8000c84: 2100 movs r1, #0 - 8000c86: 4618 mov r0, r3 - 8000c88: f00b faaa bl 800c1e0 - 8000c8c: 4602 mov r2, r0 - 8000c8e: 4b6e ldr r3, [pc, #440] ; (8000e48 ) - 8000c90: 601a str r2, [r3, #0] + 8000c72: f107 0380 add.w r3, r7, #128 ; 0x80 + 8000c76: 2100 movs r1, #0 + 8000c78: 4618 mov r0, r3 + 8000c7a: f00b f87f bl 800bd7c + 8000c7e: 4602 mov r2, r0 + 8000c80: 4b4f ldr r3, [pc, #316] ; (8000dc0 ) + 8000c82: 601a str r2, [r3, #0] /* definition and creation of Queue_E */ osMessageQDef(Queue_E, 16, uint16_t); - 8000c92: 4b6a ldr r3, [pc, #424] ; (8000e3c ) - 8000c94: f107 048c add.w r4, r7, #140 ; 0x8c - 8000c98: cb0f ldmia r3, {r0, r1, r2, r3} - 8000c9a: e884 000f stmia.w r4, {r0, r1, r2, r3} + 8000c84: 4b4a ldr r3, [pc, #296] ; (8000db0 ) + 8000c86: f107 0470 add.w r4, r7, #112 ; 0x70 + 8000c8a: cb0f ldmia r3, {r0, r1, r2, r3} + 8000c8c: e884 000f stmia.w r4, {r0, r1, r2, r3} Queue_EHandle = osMessageCreate(osMessageQ(Queue_E), NULL); - 8000c9e: f107 038c add.w r3, r7, #140 ; 0x8c - 8000ca2: 2100 movs r1, #0 - 8000ca4: 4618 mov r0, r3 - 8000ca6: f00b fa9b bl 800c1e0 - 8000caa: 4602 mov r2, r0 - 8000cac: 4b67 ldr r3, [pc, #412] ; (8000e4c ) - 8000cae: 601a str r2, [r3, #0] + 8000c90: f107 0370 add.w r3, r7, #112 ; 0x70 + 8000c94: 2100 movs r1, #0 + 8000c96: 4618 mov r0, r3 + 8000c98: f00b f870 bl 800bd7c + 8000c9c: 4602 mov r2, r0 + 8000c9e: 4b49 ldr r3, [pc, #292] ; (8000dc4 ) + 8000ca0: 601a str r2, [r3, #0] /* add queues, ... */ /* USER CODE END RTOS_QUEUES */ /* Create the thread(s) */ /* definition and creation of GameMaster */ osThreadDef(GameMaster, f_GameMaster, osPriorityNormal, 0, 128); - 8000cb0: 4b67 ldr r3, [pc, #412] ; (8000e50 ) - 8000cb2: f107 0470 add.w r4, r7, #112 ; 0x70 - 8000cb6: 461d mov r5, r3 - 8000cb8: cd0f ldmia r5!, {r0, r1, r2, r3} - 8000cba: c40f stmia r4!, {r0, r1, r2, r3} - 8000cbc: e895 0007 ldmia.w r5, {r0, r1, r2} - 8000cc0: e884 0007 stmia.w r4, {r0, r1, r2} + 8000ca2: 4b49 ldr r3, [pc, #292] ; (8000dc8 ) + 8000ca4: f107 0454 add.w r4, r7, #84 ; 0x54 + 8000ca8: 461d mov r5, r3 + 8000caa: cd0f ldmia r5!, {r0, r1, r2, r3} + 8000cac: c40f stmia r4!, {r0, r1, r2, r3} + 8000cae: e895 0007 ldmia.w r5, {r0, r1, r2} + 8000cb2: e884 0007 stmia.w r4, {r0, r1, r2} GameMasterHandle = osThreadCreate(osThread(GameMaster), NULL); - 8000cc4: f107 0370 add.w r3, r7, #112 ; 0x70 - 8000cc8: 2100 movs r1, #0 - 8000cca: 4618 mov r0, r3 - 8000ccc: f00b f8c7 bl 800be5e - 8000cd0: 4602 mov r2, r0 - 8000cd2: 4b60 ldr r3, [pc, #384] ; (8000e54 ) - 8000cd4: 601a str r2, [r3, #0] + 8000cb6: f107 0354 add.w r3, r7, #84 ; 0x54 + 8000cba: 2100 movs r1, #0 + 8000cbc: 4618 mov r0, r3 + 8000cbe: f00a fe9c bl 800b9fa + 8000cc2: 4602 mov r2, r0 + 8000cc4: 4b41 ldr r3, [pc, #260] ; (8000dcc ) + 8000cc6: 601a str r2, [r3, #0] /* definition and creation of Joueur_1 */ osThreadDef(Joueur_1, f_Joueur_1, osPriorityNormal, 0, 128); - 8000cd6: 4b60 ldr r3, [pc, #384] ; (8000e58 ) - 8000cd8: f107 0454 add.w r4, r7, #84 ; 0x54 - 8000cdc: 461d mov r5, r3 - 8000cde: cd0f ldmia r5!, {r0, r1, r2, r3} - 8000ce0: c40f stmia r4!, {r0, r1, r2, r3} - 8000ce2: e895 0007 ldmia.w r5, {r0, r1, r2} - 8000ce6: e884 0007 stmia.w r4, {r0, r1, r2} + 8000cc8: 4b41 ldr r3, [pc, #260] ; (8000dd0 ) + 8000cca: f107 0438 add.w r4, r7, #56 ; 0x38 + 8000cce: 461d mov r5, r3 + 8000cd0: cd0f ldmia r5!, {r0, r1, r2, r3} + 8000cd2: c40f stmia r4!, {r0, r1, r2, r3} + 8000cd4: e895 0007 ldmia.w r5, {r0, r1, r2} + 8000cd8: e884 0007 stmia.w r4, {r0, r1, r2} Joueur_1Handle = osThreadCreate(osThread(Joueur_1), NULL); - 8000cea: f107 0354 add.w r3, r7, #84 ; 0x54 - 8000cee: 2100 movs r1, #0 - 8000cf0: 4618 mov r0, r3 - 8000cf2: f00b f8b4 bl 800be5e - 8000cf6: 4602 mov r2, r0 - 8000cf8: 4b58 ldr r3, [pc, #352] ; (8000e5c ) - 8000cfa: 601a str r2, [r3, #0] + 8000cdc: f107 0338 add.w r3, r7, #56 ; 0x38 + 8000ce0: 2100 movs r1, #0 + 8000ce2: 4618 mov r0, r3 + 8000ce4: f00a fe89 bl 800b9fa + 8000ce8: 4602 mov r2, r0 + 8000cea: 4b3a ldr r3, [pc, #232] ; (8000dd4 ) + 8000cec: 601a str r2, [r3, #0] /* definition and creation of Block_Enemie */ osThreadDef(Block_Enemie, f_block_enemie, osPriorityIdle, 0, 128); - 8000cfc: 4b58 ldr r3, [pc, #352] ; (8000e60 ) - 8000cfe: f107 0438 add.w r4, r7, #56 ; 0x38 - 8000d02: 461d mov r5, r3 - 8000d04: cd0f ldmia r5!, {r0, r1, r2, r3} - 8000d06: c40f stmia r4!, {r0, r1, r2, r3} - 8000d08: e895 0007 ldmia.w r5, {r0, r1, r2} - 8000d0c: e884 0007 stmia.w r4, {r0, r1, r2} + 8000cee: 4b3a ldr r3, [pc, #232] ; (8000dd8 ) + 8000cf0: f107 041c add.w r4, r7, #28 + 8000cf4: 461d mov r5, r3 + 8000cf6: cd0f ldmia r5!, {r0, r1, r2, r3} + 8000cf8: c40f stmia r4!, {r0, r1, r2, r3} + 8000cfa: e895 0007 ldmia.w r5, {r0, r1, r2} + 8000cfe: e884 0007 stmia.w r4, {r0, r1, r2} Block_EnemieHandle = osThreadCreate(osThread(Block_Enemie), NULL); - 8000d10: f107 0338 add.w r3, r7, #56 ; 0x38 - 8000d14: 2100 movs r1, #0 - 8000d16: 4618 mov r0, r3 - 8000d18: f00b f8a1 bl 800be5e - 8000d1c: 4602 mov r2, r0 - 8000d1e: 4b51 ldr r3, [pc, #324] ; (8000e64 ) - 8000d20: 601a str r2, [r3, #0] + 8000d02: f107 031c add.w r3, r7, #28 + 8000d06: 2100 movs r1, #0 + 8000d08: 4618 mov r0, r3 + 8000d0a: f00a fe76 bl 800b9fa + 8000d0e: 4602 mov r2, r0 + 8000d10: 4b32 ldr r3, [pc, #200] ; (8000ddc ) + 8000d12: 601a str r2, [r3, #0] /* definition and creation of Projectile */ osThreadDef(Projectile, f_projectile, osPriorityNormal, 0, 128); - 8000d22: 4b51 ldr r3, [pc, #324] ; (8000e68 ) - 8000d24: f107 041c add.w r4, r7, #28 - 8000d28: 461d mov r5, r3 - 8000d2a: cd0f ldmia r5!, {r0, r1, r2, r3} - 8000d2c: c40f stmia r4!, {r0, r1, r2, r3} - 8000d2e: e895 0007 ldmia.w r5, {r0, r1, r2} - 8000d32: e884 0007 stmia.w r4, {r0, r1, r2} + 8000d14: 4b32 ldr r3, [pc, #200] ; (8000de0 ) + 8000d16: 463c mov r4, r7 + 8000d18: 461d mov r5, r3 + 8000d1a: cd0f ldmia r5!, {r0, r1, r2, r3} + 8000d1c: c40f stmia r4!, {r0, r1, r2, r3} + 8000d1e: e895 0007 ldmia.w r5, {r0, r1, r2} + 8000d22: e884 0007 stmia.w r4, {r0, r1, r2} ProjectileHandle = osThreadCreate(osThread(Projectile), NULL); - 8000d36: f107 031c add.w r3, r7, #28 - 8000d3a: 2100 movs r1, #0 - 8000d3c: 4618 mov r0, r3 - 8000d3e: f00b f88e bl 800be5e - 8000d42: 4602 mov r2, r0 - 8000d44: 4b49 ldr r3, [pc, #292] ; (8000e6c ) - 8000d46: 601a str r2, [r3, #0] - - /* definition and creation of IRQ_BP */ - osThreadDef(IRQ_BP, f_IRQ_BP, osPriorityAboveNormal, 0, 128); - 8000d48: 463b mov r3, r7 - 8000d4a: 4a49 ldr r2, [pc, #292] ; (8000e70 ) - 8000d4c: 461c mov r4, r3 - 8000d4e: 4615 mov r5, r2 - 8000d50: cd0f ldmia r5!, {r0, r1, r2, r3} - 8000d52: c40f stmia r4!, {r0, r1, r2, r3} - 8000d54: e895 0007 ldmia.w r5, {r0, r1, r2} - 8000d58: e884 0007 stmia.w r4, {r0, r1, r2} - IRQ_BPHandle = osThreadCreate(osThread(IRQ_BP), NULL); - 8000d5c: 463b mov r3, r7 - 8000d5e: 2100 movs r1, #0 - 8000d60: 4618 mov r0, r3 - 8000d62: f00b f87c bl 800be5e - 8000d66: 4602 mov r2, r0 - 8000d68: 4b42 ldr r3, [pc, #264] ; (8000e74 ) - 8000d6a: 601a str r2, [r3, #0] + 8000d26: 463b mov r3, r7 + 8000d28: 2100 movs r1, #0 + 8000d2a: 4618 mov r0, r3 + 8000d2c: f00a fe65 bl 800b9fa + 8000d30: 4602 mov r2, r0 + 8000d32: 4b2c ldr r3, [pc, #176] ; (8000de4 ) + 8000d34: 601a str r2, [r3, #0] /* USER CODE BEGIN RTOS_THREADS */ /* add threads, ... */ /* USER CODE END RTOS_THREADS */ /* Start scheduler */ osKernelStart(); - 8000d6c: f00b f860 bl 800be30 - /* Infinite loop */ - /* USER CODE BEGIN WHILE */ - while (1) - { - /* Code de base */ - HAL_GPIO_WritePin(LED13_GPIO_Port, LED13_Pin, - 8000d70: f44f 7180 mov.w r1, #256 ; 0x100 - 8000d74: 4840 ldr r0, [pc, #256] ; (8000e78 ) - 8000d76: f006 fe75 bl 8007a64 - 8000d7a: 4603 mov r3, r0 - 8000d7c: 461a mov r2, r3 - 8000d7e: f44f 4180 mov.w r1, #16384 ; 0x4000 - 8000d82: 483e ldr r0, [pc, #248] ; (8000e7c ) - 8000d84: f006 fe86 bl 8007a94 - HAL_GPIO_ReadPin(BP1_GPIO_Port, BP1_Pin)); - HAL_GPIO_WritePin(LED14_GPIO_Port, LED14_Pin, - 8000d88: f44f 4100 mov.w r1, #32768 ; 0x8000 - 8000d8c: 483a ldr r0, [pc, #232] ; (8000e78 ) - 8000d8e: f006 fe69 bl 8007a64 - 8000d92: 4603 mov r3, r0 - 8000d94: 461a mov r2, r3 - 8000d96: 2120 movs r1, #32 - 8000d98: 4839 ldr r0, [pc, #228] ; (8000e80 ) - 8000d9a: f006 fe7b bl 8007a94 - HAL_GPIO_ReadPin(BP2_GPIO_Port, BP2_Pin)); - sprintf(text, "BP1 : %d", HAL_GPIO_ReadPin(BP1_GPIO_Port, BP1_Pin)); - 8000d9e: f44f 7180 mov.w r1, #256 ; 0x100 - 8000da2: 4835 ldr r0, [pc, #212] ; (8000e78 ) - 8000da4: f006 fe5e bl 8007a64 - 8000da8: 4603 mov r3, r0 - 8000daa: 461a mov r2, r3 - 8000dac: f107 03dc add.w r3, r7, #220 ; 0xdc - 8000db0: 4934 ldr r1, [pc, #208] ; (8000e84 ) - 8000db2: 4618 mov r0, r3 - 8000db4: f01a fbcc bl 801b550 - BSP_LCD_DisplayStringAtLine(5, (uint8_t *)text); - 8000db8: f107 03dc add.w r3, r7, #220 ; 0xdc - 8000dbc: 4619 mov r1, r3 - 8000dbe: 2005 movs r0, #5 - 8000dc0: f002 f8d8 bl 8002f74 + 8000d36: f00a fe49 bl 800b9cc +// BSP_LCD_DisplayStringAtLine(5, (uint8_t *)text); ; sConfig.Channel = ADC_CHANNEL_7; - 8000dc4: 2307 movs r3, #7 - 8000dc6: f8c7 30cc str.w r3, [r7, #204] ; 0xcc + 8000d3a: 2307 movs r3, #7 + 8000d3c: f8c7 30b0 str.w r3, [r7, #176] ; 0xb0 HAL_ADC_ConfigChannel(&hadc3, &sConfig); - 8000dca: f107 03cc add.w r3, r7, #204 ; 0xcc - 8000dce: 4619 mov r1, r3 - 8000dd0: 482d ldr r0, [pc, #180] ; (8000e88 ) - 8000dd2: f004 f9f1 bl 80051b8 + 8000d40: f107 03b0 add.w r3, r7, #176 ; 0xb0 + 8000d44: 4619 mov r1, r3 + 8000d46: 4828 ldr r0, [pc, #160] ; (8000de8 ) + 8000d48: f003 ffea bl 8004d20 HAL_ADC_Start(&hadc3); - 8000dd6: 482c ldr r0, [pc, #176] ; (8000e88 ) - 8000dd8: f004 f89c bl 8004f14 + 8000d4c: 4826 ldr r0, [pc, #152] ; (8000de8 ) + 8000d4e: f003 fe95 bl 8004a7c sConfig.Channel = ADC_CHANNEL_6; - 8000ddc: 2306 movs r3, #6 - 8000dde: f8c7 30cc str.w r3, [r7, #204] ; 0xcc + 8000d52: 2306 movs r3, #6 + 8000d54: f8c7 30b0 str.w r3, [r7, #176] ; 0xb0 HAL_ADC_ConfigChannel(&hadc3, &sConfig); - 8000de2: f107 03cc add.w r3, r7, #204 ; 0xcc - 8000de6: 4619 mov r1, r3 - 8000de8: 4827 ldr r0, [pc, #156] ; (8000e88 ) - 8000dea: f004 f9e5 bl 80051b8 + 8000d58: f107 03b0 add.w r3, r7, #176 ; 0xb0 + 8000d5c: 4619 mov r1, r3 + 8000d5e: 4822 ldr r0, [pc, #136] ; (8000de8 ) + 8000d60: f003 ffde bl 8004d20 HAL_ADC_Start(&hadc3); - 8000dee: 4826 ldr r0, [pc, #152] ; (8000e88 ) - 8000df0: f004 f890 bl 8004f14 + 8000d64: 4820 ldr r0, [pc, #128] ; (8000de8 ) + 8000d66: f003 fe89 bl 8004a7c sConfig.Channel = ADC_CHANNEL_8; - 8000df4: 2308 movs r3, #8 - 8000df6: f8c7 30cc str.w r3, [r7, #204] ; 0xcc + 8000d6a: 2308 movs r3, #8 + 8000d6c: f8c7 30b0 str.w r3, [r7, #176] ; 0xb0 HAL_ADC_ConfigChannel(&hadc3, &sConfig); - 8000dfa: f107 03cc add.w r3, r7, #204 ; 0xcc - 8000dfe: 4619 mov r1, r3 - 8000e00: 4821 ldr r0, [pc, #132] ; (8000e88 ) - 8000e02: f004 f9d9 bl 80051b8 + 8000d70: f107 03b0 add.w r3, r7, #176 ; 0xb0 + 8000d74: 4619 mov r1, r3 + 8000d76: 481c ldr r0, [pc, #112] ; (8000de8 ) + 8000d78: f003 ffd2 bl 8004d20 HAL_ADC_Start(&hadc3); - 8000e06: 4820 ldr r0, [pc, #128] ; (8000e88 ) - 8000e08: f004 f884 bl 8004f14 + 8000d7c: 481a ldr r0, [pc, #104] ; (8000de8 ) + 8000d7e: f003 fe7d bl 8004a7c HAL_ADC_Start(&hadc1); - 8000e0c: 481f ldr r0, [pc, #124] ; (8000e8c ) - 8000e0e: f004 f881 bl 8004f14 + 8000d82: 481a ldr r0, [pc, #104] ; (8000dec ) + 8000d84: f003 fe7a bl 8004a7c BSP_TS_GetState(&TS_State); - 8000e12: 481f ldr r0, [pc, #124] ; (8000e90 ) - 8000e14: f003 f878 bl 8003f08 + 8000d88: 4819 ldr r0, [pc, #100] ; (8000df0 ) + 8000d8a: f002 fe69 bl 8003a60 if (TS_State.touchDetected) - 8000e18: 4b1d ldr r3, [pc, #116] ; (8000e90 ) - 8000e1a: 781b ldrb r3, [r3, #0] - 8000e1c: 2b00 cmp r3, #0 - 8000e1e: d0a7 beq.n 8000d70 + 8000d8e: 4b18 ldr r3, [pc, #96] ; (8000df0 ) + 8000d90: 781b ldrb r3, [r3, #0] + 8000d92: 2b00 cmp r3, #0 + 8000d94: d0d1 beq.n 8000d3a { BSP_LCD_FillCircle(TS_State.touchX[0], TS_State.touchY[0], 4); - 8000e20: 4b1b ldr r3, [pc, #108] ; (8000e90 ) - 8000e22: 8858 ldrh r0, [r3, #2] - 8000e24: 4b1a ldr r3, [pc, #104] ; (8000e90 ) - 8000e26: 899b ldrh r3, [r3, #12] - 8000e28: 2204 movs r2, #4 - 8000e2a: 4619 mov r1, r3 - 8000e2c: f002 fb7a bl 8003524 - HAL_GPIO_WritePin(LED13_GPIO_Port, LED13_Pin, - 8000e30: e79e b.n 8000d70 - 8000e32: bf00 nop - 8000e34: 20000058 .word 0x20000058 - 8000e38: ff0000ff .word 0xff0000ff - 8000e3c: 0801c65c .word 0x0801c65c - 8000e40: 20008920 .word 0x20008920 - 8000e44: 20008b08 .word 0x20008b08 - 8000e48: 20008b0c .word 0x20008b0c - 8000e4c: 20008bfc .word 0x20008bfc - 8000e50: 0801c678 .word 0x0801c678 - 8000e54: 20008b78 .word 0x20008b78 - 8000e58: 0801c6a0 .word 0x0801c6a0 - 8000e5c: 2000894c .word 0x2000894c - 8000e60: 0801c6cc .word 0x0801c6cc - 8000e64: 20008c34 .word 0x20008c34 - 8000e68: 0801c6f4 .word 0x0801c6f4 - 8000e6c: 20008b24 .word 0x20008b24 - 8000e70: 0801c718 .word 0x0801c718 - 8000e74: 20008924 .word 0x20008924 - 8000e78: 40020000 .word 0x40020000 - 8000e7c: 40021c00 .word 0x40021c00 - 8000e80: 40021000 .word 0x40021000 - 8000e84: 0801c650 .word 0x0801c650 - 8000e88: 20008ac0 .word 0x20008ac0 - 8000e8c: 20008a78 .word 0x20008a78 - 8000e90: 20000364 .word 0x20000364 + 8000d96: 4b16 ldr r3, [pc, #88] ; (8000df0 ) + 8000d98: 8858 ldrh r0, [r3, #2] + 8000d9a: 4b15 ldr r3, [pc, #84] ; (8000df0 ) + 8000d9c: 899b ldrh r3, [r3, #12] + 8000d9e: 2204 movs r2, #4 + 8000da0: 4619 mov r1, r3 + 8000da2: f002 fa23 bl 80031ec + sConfig.Channel = ADC_CHANNEL_7; + 8000da6: e7c8 b.n 8000d3a + 8000da8: 20000058 .word 0x20000058 + 8000dac: ff0000ff .word 0xff0000ff + 8000db0: 0801be6c .word 0x0801be6c + 8000db4: 20008920 .word 0x20008920 + 8000db8: 0801be7c .word 0x0801be7c + 8000dbc: 20008b04 .word 0x20008b04 + 8000dc0: 20008b08 .word 0x20008b08 + 8000dc4: 20008bf8 .word 0x20008bf8 + 8000dc8: 0801be98 .word 0x0801be98 + 8000dcc: 20008b74 .word 0x20008b74 + 8000dd0: 0801bec0 .word 0x0801bec0 + 8000dd4: 20008948 .word 0x20008948 + 8000dd8: 0801beec .word 0x0801beec + 8000ddc: 20008c30 .word 0x20008c30 + 8000de0: 0801bf14 .word 0x0801bf14 + 8000de4: 20008b20 .word 0x20008b20 + 8000de8: 20008abc .word 0x20008abc + 8000dec: 20008a74 .word 0x20008a74 + 8000df0: 20000364 .word 0x20000364 -08000e94 : +08000df4 : /** * @brief System Clock Configuration * @retval None */ void SystemClock_Config(void) { - 8000e94: b580 push {r7, lr} - 8000e96: b0b4 sub sp, #208 ; 0xd0 - 8000e98: af00 add r7, sp, #0 + 8000df4: b580 push {r7, lr} + 8000df6: b0b4 sub sp, #208 ; 0xd0 + 8000df8: af00 add r7, sp, #0 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; - 8000e9a: f107 03a0 add.w r3, r7, #160 ; 0xa0 - 8000e9e: 2230 movs r2, #48 ; 0x30 - 8000ea0: 2100 movs r1, #0 - 8000ea2: 4618 mov r0, r3 - 8000ea4: f01a faff bl 801b4a6 + 8000dfa: f107 03a0 add.w r3, r7, #160 ; 0xa0 + 8000dfe: 2230 movs r2, #48 ; 0x30 + 8000e00: 2100 movs r1, #0 + 8000e02: 4618 mov r0, r3 + 8000e04: f01a f8fe bl 801b004 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; - 8000ea8: f107 038c add.w r3, r7, #140 ; 0x8c - 8000eac: 2200 movs r2, #0 - 8000eae: 601a str r2, [r3, #0] - 8000eb0: 605a str r2, [r3, #4] - 8000eb2: 609a str r2, [r3, #8] - 8000eb4: 60da str r2, [r3, #12] - 8000eb6: 611a str r2, [r3, #16] + 8000e08: f107 038c add.w r3, r7, #140 ; 0x8c + 8000e0c: 2200 movs r2, #0 + 8000e0e: 601a str r2, [r3, #0] + 8000e10: 605a str r2, [r3, #4] + 8000e12: 609a str r2, [r3, #8] + 8000e14: 60da str r2, [r3, #12] + 8000e16: 611a str r2, [r3, #16] RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; - 8000eb8: f107 0308 add.w r3, r7, #8 - 8000ebc: 2284 movs r2, #132 ; 0x84 - 8000ebe: 2100 movs r1, #0 - 8000ec0: 4618 mov r0, r3 - 8000ec2: f01a faf0 bl 801b4a6 + 8000e18: f107 0308 add.w r3, r7, #8 + 8000e1c: 2284 movs r2, #132 ; 0x84 + 8000e1e: 2100 movs r1, #0 + 8000e20: 4618 mov r0, r3 + 8000e22: f01a f8ef bl 801b004 /** Configure LSE Drive Capability */ HAL_PWR_EnableBkUpAccess(); - 8000ec6: f007 fea3 bl 8008c10 + 8000e26: f007 fcc1 bl 80087ac /** Configure the main internal regulator output voltage */ __HAL_RCC_PWR_CLK_ENABLE(); - 8000eca: 4b41 ldr r3, [pc, #260] ; (8000fd0 ) - 8000ecc: 6c1b ldr r3, [r3, #64] ; 0x40 - 8000ece: 4a40 ldr r2, [pc, #256] ; (8000fd0 ) - 8000ed0: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 - 8000ed4: 6413 str r3, [r2, #64] ; 0x40 - 8000ed6: 4b3e ldr r3, [pc, #248] ; (8000fd0 ) - 8000ed8: 6c1b ldr r3, [r3, #64] ; 0x40 - 8000eda: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 - 8000ede: 607b str r3, [r7, #4] - 8000ee0: 687b ldr r3, [r7, #4] + 8000e2a: 4b41 ldr r3, [pc, #260] ; (8000f30 ) + 8000e2c: 6c1b ldr r3, [r3, #64] ; 0x40 + 8000e2e: 4a40 ldr r2, [pc, #256] ; (8000f30 ) + 8000e30: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 + 8000e34: 6413 str r3, [r2, #64] ; 0x40 + 8000e36: 4b3e ldr r3, [pc, #248] ; (8000f30 ) + 8000e38: 6c1b ldr r3, [r3, #64] ; 0x40 + 8000e3a: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 + 8000e3e: 607b str r3, [r7, #4] + 8000e40: 687b ldr r3, [r7, #4] __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1); - 8000ee2: 4b3c ldr r3, [pc, #240] ; (8000fd4 ) - 8000ee4: 681b ldr r3, [r3, #0] - 8000ee6: 4a3b ldr r2, [pc, #236] ; (8000fd4 ) - 8000ee8: f443 4340 orr.w r3, r3, #49152 ; 0xc000 - 8000eec: 6013 str r3, [r2, #0] - 8000eee: 4b39 ldr r3, [pc, #228] ; (8000fd4 ) - 8000ef0: 681b ldr r3, [r3, #0] - 8000ef2: f403 4340 and.w r3, r3, #49152 ; 0xc000 - 8000ef6: 603b str r3, [r7, #0] - 8000ef8: 683b ldr r3, [r7, #0] + 8000e42: 4b3c ldr r3, [pc, #240] ; (8000f34 ) + 8000e44: 681b ldr r3, [r3, #0] + 8000e46: 4a3b ldr r2, [pc, #236] ; (8000f34 ) + 8000e48: f443 4340 orr.w r3, r3, #49152 ; 0xc000 + 8000e4c: 6013 str r3, [r2, #0] + 8000e4e: 4b39 ldr r3, [pc, #228] ; (8000f34 ) + 8000e50: 681b ldr r3, [r3, #0] + 8000e52: f403 4340 and.w r3, r3, #49152 ; 0xc000 + 8000e56: 603b str r3, [r7, #0] + 8000e58: 683b ldr r3, [r7, #0] /** Initializes the RCC Oscillators according to the specified parameters * in the RCC_OscInitTypeDef structure. */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE; - 8000efa: 2301 movs r3, #1 - 8000efc: f8c7 30a0 str.w r3, [r7, #160] ; 0xa0 + 8000e5a: 2301 movs r3, #1 + 8000e5c: f8c7 30a0 str.w r3, [r7, #160] ; 0xa0 RCC_OscInitStruct.HSEState = RCC_HSE_ON; - 8000f00: f44f 3380 mov.w r3, #65536 ; 0x10000 - 8000f04: f8c7 30a4 str.w r3, [r7, #164] ; 0xa4 + 8000e60: f44f 3380 mov.w r3, #65536 ; 0x10000 + 8000e64: f8c7 30a4 str.w r3, [r7, #164] ; 0xa4 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; - 8000f08: 2302 movs r3, #2 - 8000f0a: f8c7 30b8 str.w r3, [r7, #184] ; 0xb8 + 8000e68: 2302 movs r3, #2 + 8000e6a: f8c7 30b8 str.w r3, [r7, #184] ; 0xb8 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE; - 8000f0e: f44f 0380 mov.w r3, #4194304 ; 0x400000 - 8000f12: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8000e6e: f44f 0380 mov.w r3, #4194304 ; 0x400000 + 8000e72: f8c7 30bc str.w r3, [r7, #188] ; 0xbc RCC_OscInitStruct.PLL.PLLM = 25; - 8000f16: 2319 movs r3, #25 - 8000f18: f8c7 30c0 str.w r3, [r7, #192] ; 0xc0 + 8000e76: 2319 movs r3, #25 + 8000e78: f8c7 30c0 str.w r3, [r7, #192] ; 0xc0 RCC_OscInitStruct.PLL.PLLN = 400; - 8000f1c: f44f 73c8 mov.w r3, #400 ; 0x190 - 8000f20: f8c7 30c4 str.w r3, [r7, #196] ; 0xc4 + 8000e7c: f44f 73c8 mov.w r3, #400 ; 0x190 + 8000e80: f8c7 30c4 str.w r3, [r7, #196] ; 0xc4 RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2; - 8000f24: 2302 movs r3, #2 - 8000f26: f8c7 30c8 str.w r3, [r7, #200] ; 0xc8 + 8000e84: 2302 movs r3, #2 + 8000e86: f8c7 30c8 str.w r3, [r7, #200] ; 0xc8 RCC_OscInitStruct.PLL.PLLQ = 9; - 8000f2a: 2309 movs r3, #9 - 8000f2c: f8c7 30cc str.w r3, [r7, #204] ; 0xcc + 8000e8a: 2309 movs r3, #9 + 8000e8c: f8c7 30cc str.w r3, [r7, #204] ; 0xcc if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) - 8000f30: f107 03a0 add.w r3, r7, #160 ; 0xa0 - 8000f34: 4618 mov r0, r3 - 8000f36: f007 fecb bl 8008cd0 - 8000f3a: 4603 mov r3, r0 - 8000f3c: 2b00 cmp r3, #0 - 8000f3e: d001 beq.n 8000f44 + 8000e90: f107 03a0 add.w r3, r7, #160 ; 0xa0 + 8000e94: 4618 mov r0, r3 + 8000e96: f007 fce9 bl 800886c + 8000e9a: 4603 mov r3, r0 + 8000e9c: 2b00 cmp r3, #0 + 8000e9e: d001 beq.n 8000ea4 { Error_Handler(); - 8000f40: f001 fbd6 bl 80026f0 + 8000ea0: f001 fbc0 bl 8002624 } /** Activate the Over-Drive mode */ if (HAL_PWREx_EnableOverDrive() != HAL_OK) - 8000f44: f007 fe74 bl 8008c30 - 8000f48: 4603 mov r3, r0 - 8000f4a: 2b00 cmp r3, #0 - 8000f4c: d001 beq.n 8000f52 + 8000ea4: f007 fc92 bl 80087cc + 8000ea8: 4603 mov r3, r0 + 8000eaa: 2b00 cmp r3, #0 + 8000eac: d001 beq.n 8000eb2 { Error_Handler(); - 8000f4e: f001 fbcf bl 80026f0 + 8000eae: f001 fbb9 bl 8002624 } /** Initializes the CPU, AHB and APB buses clocks */ RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK - 8000f52: 230f movs r3, #15 - 8000f54: f8c7 308c str.w r3, [r7, #140] ; 0x8c + 8000eb2: 230f movs r3, #15 + 8000eb4: f8c7 308c str.w r3, [r7, #140] ; 0x8c |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2; RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; - 8000f58: 2302 movs r3, #2 - 8000f5a: f8c7 3090 str.w r3, [r7, #144] ; 0x90 + 8000eb8: 2302 movs r3, #2 + 8000eba: f8c7 3090 str.w r3, [r7, #144] ; 0x90 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; - 8000f5e: 2300 movs r3, #0 - 8000f60: f8c7 3094 str.w r3, [r7, #148] ; 0x94 + 8000ebe: 2300 movs r3, #0 + 8000ec0: f8c7 3094 str.w r3, [r7, #148] ; 0x94 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV4; - 8000f64: f44f 53a0 mov.w r3, #5120 ; 0x1400 - 8000f68: f8c7 3098 str.w r3, [r7, #152] ; 0x98 + 8000ec4: f44f 53a0 mov.w r3, #5120 ; 0x1400 + 8000ec8: f8c7 3098 str.w r3, [r7, #152] ; 0x98 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV2; - 8000f6c: f44f 5380 mov.w r3, #4096 ; 0x1000 - 8000f70: f8c7 309c str.w r3, [r7, #156] ; 0x9c + 8000ecc: f44f 5380 mov.w r3, #4096 ; 0x1000 + 8000ed0: f8c7 309c str.w r3, [r7, #156] ; 0x9c if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_6) != HAL_OK) - 8000f74: f107 038c add.w r3, r7, #140 ; 0x8c - 8000f78: 2106 movs r1, #6 - 8000f7a: 4618 mov r0, r3 - 8000f7c: f008 f94c bl 8009218 - 8000f80: 4603 mov r3, r0 - 8000f82: 2b00 cmp r3, #0 - 8000f84: d001 beq.n 8000f8a + 8000ed4: f107 038c add.w r3, r7, #140 ; 0x8c + 8000ed8: 2106 movs r1, #6 + 8000eda: 4618 mov r0, r3 + 8000edc: f007 ff6a bl 8008db4 + 8000ee0: 4603 mov r3, r0 + 8000ee2: 2b00 cmp r3, #0 + 8000ee4: d001 beq.n 8000eea { Error_Handler(); - 8000f86: f001 fbb3 bl 80026f0 + 8000ee6: f001 fb9d bl 8002624 } PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_LTDC|RCC_PERIPHCLK_CLK48; - 8000f8a: 4b13 ldr r3, [pc, #76] ; (8000fd8 ) - 8000f8c: 60bb str r3, [r7, #8] + 8000eea: 4b13 ldr r3, [pc, #76] ; (8000f38 ) + 8000eec: 60bb str r3, [r7, #8] PeriphClkInitStruct.PLLSAI.PLLSAIN = 384; - 8000f8e: f44f 73c0 mov.w r3, #384 ; 0x180 - 8000f92: 61fb str r3, [r7, #28] + 8000eee: f44f 73c0 mov.w r3, #384 ; 0x180 + 8000ef2: 61fb str r3, [r7, #28] PeriphClkInitStruct.PLLSAI.PLLSAIR = 5; - 8000f94: 2305 movs r3, #5 - 8000f96: 627b str r3, [r7, #36] ; 0x24 + 8000ef4: 2305 movs r3, #5 + 8000ef6: 627b str r3, [r7, #36] ; 0x24 PeriphClkInitStruct.PLLSAI.PLLSAIQ = 2; - 8000f98: 2302 movs r3, #2 - 8000f9a: 623b str r3, [r7, #32] + 8000ef8: 2302 movs r3, #2 + 8000efa: 623b str r3, [r7, #32] PeriphClkInitStruct.PLLSAI.PLLSAIP = RCC_PLLSAIP_DIV8; - 8000f9c: 2303 movs r3, #3 - 8000f9e: 62bb str r3, [r7, #40] ; 0x28 + 8000efc: 2303 movs r3, #3 + 8000efe: 62bb str r3, [r7, #40] ; 0x28 PeriphClkInitStruct.PLLSAIDivQ = 1; - 8000fa0: 2301 movs r3, #1 - 8000fa2: 633b str r3, [r7, #48] ; 0x30 + 8000f00: 2301 movs r3, #1 + 8000f02: 633b str r3, [r7, #48] ; 0x30 PeriphClkInitStruct.PLLSAIDivR = RCC_PLLSAIDIVR_8; - 8000fa4: f44f 3300 mov.w r3, #131072 ; 0x20000 - 8000fa8: 637b str r3, [r7, #52] ; 0x34 + 8000f04: f44f 3300 mov.w r3, #131072 ; 0x20000 + 8000f08: 637b str r3, [r7, #52] ; 0x34 PeriphClkInitStruct.Clk48ClockSelection = RCC_CLK48SOURCE_PLLSAIP; - 8000faa: f04f 6300 mov.w r3, #134217728 ; 0x8000000 - 8000fae: f8c7 3084 str.w r3, [r7, #132] ; 0x84 + 8000f0a: f04f 6300 mov.w r3, #134217728 ; 0x8000000 + 8000f0e: f8c7 3084 str.w r3, [r7, #132] ; 0x84 if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK) - 8000fb2: f107 0308 add.w r3, r7, #8 - 8000fb6: 4618 mov r0, r3 - 8000fb8: f008 fb1e bl 80095f8 - 8000fbc: 4603 mov r3, r0 - 8000fbe: 2b00 cmp r3, #0 - 8000fc0: d001 beq.n 8000fc6 + 8000f12: f107 0308 add.w r3, r7, #8 + 8000f16: 4618 mov r0, r3 + 8000f18: f008 f93c bl 8009194 + 8000f1c: 4603 mov r3, r0 + 8000f1e: 2b00 cmp r3, #0 + 8000f20: d001 beq.n 8000f26 { Error_Handler(); - 8000fc2: f001 fb95 bl 80026f0 + 8000f22: f001 fb7f bl 8002624 } } - 8000fc6: bf00 nop - 8000fc8: 37d0 adds r7, #208 ; 0xd0 - 8000fca: 46bd mov sp, r7 - 8000fcc: bd80 pop {r7, pc} - 8000fce: bf00 nop - 8000fd0: 40023800 .word 0x40023800 - 8000fd4: 40007000 .word 0x40007000 - 8000fd8: 00200008 .word 0x00200008 + 8000f26: bf00 nop + 8000f28: 37d0 adds r7, #208 ; 0xd0 + 8000f2a: 46bd mov sp, r7 + 8000f2c: bd80 pop {r7, pc} + 8000f2e: bf00 nop + 8000f30: 40023800 .word 0x40023800 + 8000f34: 40007000 .word 0x40007000 + 8000f38: 00200008 .word 0x00200008 -08000fdc : +08000f3c : * @brief ADC1 Initialization Function * @param None * @retval None */ static void MX_ADC1_Init(void) { - 8000fdc: b580 push {r7, lr} - 8000fde: b084 sub sp, #16 - 8000fe0: af00 add r7, sp, #0 + 8000f3c: b580 push {r7, lr} + 8000f3e: b084 sub sp, #16 + 8000f40: af00 add r7, sp, #0 /* USER CODE BEGIN ADC1_Init 0 */ /* USER CODE END ADC1_Init 0 */ ADC_ChannelConfTypeDef sConfig = {0}; - 8000fe2: 463b mov r3, r7 - 8000fe4: 2200 movs r2, #0 - 8000fe6: 601a str r2, [r3, #0] - 8000fe8: 605a str r2, [r3, #4] - 8000fea: 609a str r2, [r3, #8] - 8000fec: 60da str r2, [r3, #12] + 8000f42: 463b mov r3, r7 + 8000f44: 2200 movs r2, #0 + 8000f46: 601a str r2, [r3, #0] + 8000f48: 605a str r2, [r3, #4] + 8000f4a: 609a str r2, [r3, #8] + 8000f4c: 60da str r2, [r3, #12] /* USER CODE BEGIN ADC1_Init 1 */ /* USER CODE END ADC1_Init 1 */ /** Configure the global features of the ADC (Clock, Resolution, Data Alignment and number of conversion) */ hadc1.Instance = ADC1; - 8000fee: 4b21 ldr r3, [pc, #132] ; (8001074 ) - 8000ff0: 4a21 ldr r2, [pc, #132] ; (8001078 ) - 8000ff2: 601a str r2, [r3, #0] + 8000f4e: 4b21 ldr r3, [pc, #132] ; (8000fd4 ) + 8000f50: 4a21 ldr r2, [pc, #132] ; (8000fd8 ) + 8000f52: 601a str r2, [r3, #0] hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV4; - 8000ff4: 4b1f ldr r3, [pc, #124] ; (8001074 ) - 8000ff6: f44f 3280 mov.w r2, #65536 ; 0x10000 - 8000ffa: 605a str r2, [r3, #4] + 8000f54: 4b1f ldr r3, [pc, #124] ; (8000fd4 ) + 8000f56: f44f 3280 mov.w r2, #65536 ; 0x10000 + 8000f5a: 605a str r2, [r3, #4] hadc1.Init.Resolution = ADC_RESOLUTION_12B; - 8000ffc: 4b1d ldr r3, [pc, #116] ; (8001074 ) - 8000ffe: 2200 movs r2, #0 - 8001000: 609a str r2, [r3, #8] + 8000f5c: 4b1d ldr r3, [pc, #116] ; (8000fd4 ) + 8000f5e: 2200 movs r2, #0 + 8000f60: 609a str r2, [r3, #8] hadc1.Init.ScanConvMode = ADC_SCAN_DISABLE; - 8001002: 4b1c ldr r3, [pc, #112] ; (8001074 ) - 8001004: 2200 movs r2, #0 - 8001006: 611a str r2, [r3, #16] + 8000f62: 4b1c ldr r3, [pc, #112] ; (8000fd4 ) + 8000f64: 2200 movs r2, #0 + 8000f66: 611a str r2, [r3, #16] hadc1.Init.ContinuousConvMode = DISABLE; - 8001008: 4b1a ldr r3, [pc, #104] ; (8001074 ) - 800100a: 2200 movs r2, #0 - 800100c: 619a str r2, [r3, #24] + 8000f68: 4b1a ldr r3, [pc, #104] ; (8000fd4 ) + 8000f6a: 2200 movs r2, #0 + 8000f6c: 619a str r2, [r3, #24] hadc1.Init.DiscontinuousConvMode = DISABLE; - 800100e: 4b19 ldr r3, [pc, #100] ; (8001074 ) - 8001010: 2200 movs r2, #0 - 8001012: f883 2020 strb.w r2, [r3, #32] + 8000f6e: 4b19 ldr r3, [pc, #100] ; (8000fd4 ) + 8000f70: 2200 movs r2, #0 + 8000f72: f883 2020 strb.w r2, [r3, #32] hadc1.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE; - 8001016: 4b17 ldr r3, [pc, #92] ; (8001074 ) - 8001018: 2200 movs r2, #0 - 800101a: 62da str r2, [r3, #44] ; 0x2c + 8000f76: 4b17 ldr r3, [pc, #92] ; (8000fd4 ) + 8000f78: 2200 movs r2, #0 + 8000f7a: 62da str r2, [r3, #44] ; 0x2c hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START; - 800101c: 4b15 ldr r3, [pc, #84] ; (8001074 ) - 800101e: 4a17 ldr r2, [pc, #92] ; (800107c ) - 8001020: 629a str r2, [r3, #40] ; 0x28 + 8000f7c: 4b15 ldr r3, [pc, #84] ; (8000fd4 ) + 8000f7e: 4a17 ldr r2, [pc, #92] ; (8000fdc ) + 8000f80: 629a str r2, [r3, #40] ; 0x28 hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT; - 8001022: 4b14 ldr r3, [pc, #80] ; (8001074 ) - 8001024: 2200 movs r2, #0 - 8001026: 60da str r2, [r3, #12] + 8000f82: 4b14 ldr r3, [pc, #80] ; (8000fd4 ) + 8000f84: 2200 movs r2, #0 + 8000f86: 60da str r2, [r3, #12] hadc1.Init.NbrOfConversion = 1; - 8001028: 4b12 ldr r3, [pc, #72] ; (8001074 ) - 800102a: 2201 movs r2, #1 - 800102c: 61da str r2, [r3, #28] + 8000f88: 4b12 ldr r3, [pc, #72] ; (8000fd4 ) + 8000f8a: 2201 movs r2, #1 + 8000f8c: 61da str r2, [r3, #28] hadc1.Init.DMAContinuousRequests = DISABLE; - 800102e: 4b11 ldr r3, [pc, #68] ; (8001074 ) - 8001030: 2200 movs r2, #0 - 8001032: f883 2030 strb.w r2, [r3, #48] ; 0x30 + 8000f8e: 4b11 ldr r3, [pc, #68] ; (8000fd4 ) + 8000f90: 2200 movs r2, #0 + 8000f92: f883 2030 strb.w r2, [r3, #48] ; 0x30 hadc1.Init.EOCSelection = ADC_EOC_SINGLE_CONV; - 8001036: 4b0f ldr r3, [pc, #60] ; (8001074 ) - 8001038: 2201 movs r2, #1 - 800103a: 615a str r2, [r3, #20] + 8000f96: 4b0f ldr r3, [pc, #60] ; (8000fd4 ) + 8000f98: 2201 movs r2, #1 + 8000f9a: 615a str r2, [r3, #20] if (HAL_ADC_Init(&hadc1) != HAL_OK) - 800103c: 480d ldr r0, [pc, #52] ; (8001074 ) - 800103e: f003 ff25 bl 8004e8c - 8001042: 4603 mov r3, r0 - 8001044: 2b00 cmp r3, #0 - 8001046: d001 beq.n 800104c + 8000f9c: 480d ldr r0, [pc, #52] ; (8000fd4 ) + 8000f9e: f003 fd29 bl 80049f4 + 8000fa2: 4603 mov r3, r0 + 8000fa4: 2b00 cmp r3, #0 + 8000fa6: d001 beq.n 8000fac { Error_Handler(); - 8001048: f001 fb52 bl 80026f0 + 8000fa8: f001 fb3c bl 8002624 } /** Configure for the selected ADC regular channel its corresponding rank in the sequencer and its sample time. */ sConfig.Channel = ADC_CHANNEL_0; - 800104c: 2300 movs r3, #0 - 800104e: 603b str r3, [r7, #0] + 8000fac: 2300 movs r3, #0 + 8000fae: 603b str r3, [r7, #0] sConfig.Rank = ADC_REGULAR_RANK_1; - 8001050: 2301 movs r3, #1 - 8001052: 607b str r3, [r7, #4] + 8000fb0: 2301 movs r3, #1 + 8000fb2: 607b str r3, [r7, #4] sConfig.SamplingTime = ADC_SAMPLETIME_3CYCLES; - 8001054: 2300 movs r3, #0 - 8001056: 60bb str r3, [r7, #8] + 8000fb4: 2300 movs r3, #0 + 8000fb6: 60bb str r3, [r7, #8] if (HAL_ADC_ConfigChannel(&hadc1, &sConfig) != HAL_OK) - 8001058: 463b mov r3, r7 - 800105a: 4619 mov r1, r3 - 800105c: 4805 ldr r0, [pc, #20] ; (8001074 ) - 800105e: f004 f8ab bl 80051b8 - 8001062: 4603 mov r3, r0 - 8001064: 2b00 cmp r3, #0 - 8001066: d001 beq.n 800106c + 8000fb8: 463b mov r3, r7 + 8000fba: 4619 mov r1, r3 + 8000fbc: 4805 ldr r0, [pc, #20] ; (8000fd4 ) + 8000fbe: f003 feaf bl 8004d20 + 8000fc2: 4603 mov r3, r0 + 8000fc4: 2b00 cmp r3, #0 + 8000fc6: d001 beq.n 8000fcc { Error_Handler(); - 8001068: f001 fb42 bl 80026f0 + 8000fc8: f001 fb2c bl 8002624 } /* USER CODE BEGIN ADC1_Init 2 */ /* USER CODE END ADC1_Init 2 */ } - 800106c: bf00 nop - 800106e: 3710 adds r7, #16 - 8001070: 46bd mov sp, r7 - 8001072: bd80 pop {r7, pc} - 8001074: 20008a78 .word 0x20008a78 - 8001078: 40012000 .word 0x40012000 - 800107c: 0f000001 .word 0x0f000001 + 8000fcc: bf00 nop + 8000fce: 3710 adds r7, #16 + 8000fd0: 46bd mov sp, r7 + 8000fd2: bd80 pop {r7, pc} + 8000fd4: 20008a74 .word 0x20008a74 + 8000fd8: 40012000 .word 0x40012000 + 8000fdc: 0f000001 .word 0x0f000001 -08001080 : +08000fe0 : * @brief ADC3 Initialization Function * @param None * @retval None */ static void MX_ADC3_Init(void) { - 8001080: b580 push {r7, lr} - 8001082: b084 sub sp, #16 - 8001084: af00 add r7, sp, #0 + 8000fe0: b580 push {r7, lr} + 8000fe2: b084 sub sp, #16 + 8000fe4: af00 add r7, sp, #0 /* USER CODE BEGIN ADC3_Init 0 */ /* USER CODE END ADC3_Init 0 */ ADC_ChannelConfTypeDef sConfig = {0}; - 8001086: 463b mov r3, r7 - 8001088: 2200 movs r2, #0 - 800108a: 601a str r2, [r3, #0] - 800108c: 605a str r2, [r3, #4] - 800108e: 609a str r2, [r3, #8] - 8001090: 60da str r2, [r3, #12] + 8000fe6: 463b mov r3, r7 + 8000fe8: 2200 movs r2, #0 + 8000fea: 601a str r2, [r3, #0] + 8000fec: 605a str r2, [r3, #4] + 8000fee: 609a str r2, [r3, #8] + 8000ff0: 60da str r2, [r3, #12] /* USER CODE BEGIN ADC3_Init 1 */ /* USER CODE END ADC3_Init 1 */ /** Configure the global features of the ADC (Clock, Resolution, Data Alignment and number of conversion) */ hadc3.Instance = ADC3; - 8001092: 4b21 ldr r3, [pc, #132] ; (8001118 ) - 8001094: 4a21 ldr r2, [pc, #132] ; (800111c ) - 8001096: 601a str r2, [r3, #0] + 8000ff2: 4b21 ldr r3, [pc, #132] ; (8001078 ) + 8000ff4: 4a21 ldr r2, [pc, #132] ; (800107c ) + 8000ff6: 601a str r2, [r3, #0] hadc3.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV4; - 8001098: 4b1f ldr r3, [pc, #124] ; (8001118 ) - 800109a: f44f 3280 mov.w r2, #65536 ; 0x10000 - 800109e: 605a str r2, [r3, #4] + 8000ff8: 4b1f ldr r3, [pc, #124] ; (8001078 ) + 8000ffa: f44f 3280 mov.w r2, #65536 ; 0x10000 + 8000ffe: 605a str r2, [r3, #4] hadc3.Init.Resolution = ADC_RESOLUTION_12B; - 80010a0: 4b1d ldr r3, [pc, #116] ; (8001118 ) - 80010a2: 2200 movs r2, #0 - 80010a4: 609a str r2, [r3, #8] + 8001000: 4b1d ldr r3, [pc, #116] ; (8001078 ) + 8001002: 2200 movs r2, #0 + 8001004: 609a str r2, [r3, #8] hadc3.Init.ScanConvMode = ADC_SCAN_DISABLE; - 80010a6: 4b1c ldr r3, [pc, #112] ; (8001118 ) - 80010a8: 2200 movs r2, #0 - 80010aa: 611a str r2, [r3, #16] + 8001006: 4b1c ldr r3, [pc, #112] ; (8001078 ) + 8001008: 2200 movs r2, #0 + 800100a: 611a str r2, [r3, #16] hadc3.Init.ContinuousConvMode = DISABLE; - 80010ac: 4b1a ldr r3, [pc, #104] ; (8001118 ) - 80010ae: 2200 movs r2, #0 - 80010b0: 619a str r2, [r3, #24] + 800100c: 4b1a ldr r3, [pc, #104] ; (8001078 ) + 800100e: 2200 movs r2, #0 + 8001010: 619a str r2, [r3, #24] hadc3.Init.DiscontinuousConvMode = DISABLE; - 80010b2: 4b19 ldr r3, [pc, #100] ; (8001118 ) - 80010b4: 2200 movs r2, #0 - 80010b6: f883 2020 strb.w r2, [r3, #32] + 8001012: 4b19 ldr r3, [pc, #100] ; (8001078 ) + 8001014: 2200 movs r2, #0 + 8001016: f883 2020 strb.w r2, [r3, #32] hadc3.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE; - 80010ba: 4b17 ldr r3, [pc, #92] ; (8001118 ) - 80010bc: 2200 movs r2, #0 - 80010be: 62da str r2, [r3, #44] ; 0x2c + 800101a: 4b17 ldr r3, [pc, #92] ; (8001078 ) + 800101c: 2200 movs r2, #0 + 800101e: 62da str r2, [r3, #44] ; 0x2c hadc3.Init.ExternalTrigConv = ADC_SOFTWARE_START; - 80010c0: 4b15 ldr r3, [pc, #84] ; (8001118 ) - 80010c2: 4a17 ldr r2, [pc, #92] ; (8001120 ) - 80010c4: 629a str r2, [r3, #40] ; 0x28 + 8001020: 4b15 ldr r3, [pc, #84] ; (8001078 ) + 8001022: 4a17 ldr r2, [pc, #92] ; (8001080 ) + 8001024: 629a str r2, [r3, #40] ; 0x28 hadc3.Init.DataAlign = ADC_DATAALIGN_RIGHT; - 80010c6: 4b14 ldr r3, [pc, #80] ; (8001118 ) - 80010c8: 2200 movs r2, #0 - 80010ca: 60da str r2, [r3, #12] + 8001026: 4b14 ldr r3, [pc, #80] ; (8001078 ) + 8001028: 2200 movs r2, #0 + 800102a: 60da str r2, [r3, #12] hadc3.Init.NbrOfConversion = 1; - 80010cc: 4b12 ldr r3, [pc, #72] ; (8001118 ) - 80010ce: 2201 movs r2, #1 - 80010d0: 61da str r2, [r3, #28] + 800102c: 4b12 ldr r3, [pc, #72] ; (8001078 ) + 800102e: 2201 movs r2, #1 + 8001030: 61da str r2, [r3, #28] hadc3.Init.DMAContinuousRequests = DISABLE; - 80010d2: 4b11 ldr r3, [pc, #68] ; (8001118 ) - 80010d4: 2200 movs r2, #0 - 80010d6: f883 2030 strb.w r2, [r3, #48] ; 0x30 + 8001032: 4b11 ldr r3, [pc, #68] ; (8001078 ) + 8001034: 2200 movs r2, #0 + 8001036: f883 2030 strb.w r2, [r3, #48] ; 0x30 hadc3.Init.EOCSelection = ADC_EOC_SINGLE_CONV; - 80010da: 4b0f ldr r3, [pc, #60] ; (8001118 ) - 80010dc: 2201 movs r2, #1 - 80010de: 615a str r2, [r3, #20] + 800103a: 4b0f ldr r3, [pc, #60] ; (8001078 ) + 800103c: 2201 movs r2, #1 + 800103e: 615a str r2, [r3, #20] if (HAL_ADC_Init(&hadc3) != HAL_OK) - 80010e0: 480d ldr r0, [pc, #52] ; (8001118 ) - 80010e2: f003 fed3 bl 8004e8c - 80010e6: 4603 mov r3, r0 - 80010e8: 2b00 cmp r3, #0 - 80010ea: d001 beq.n 80010f0 + 8001040: 480d ldr r0, [pc, #52] ; (8001078 ) + 8001042: f003 fcd7 bl 80049f4 + 8001046: 4603 mov r3, r0 + 8001048: 2b00 cmp r3, #0 + 800104a: d001 beq.n 8001050 { Error_Handler(); - 80010ec: f001 fb00 bl 80026f0 + 800104c: f001 faea bl 8002624 } /** Configure for the selected ADC regular channel its corresponding rank in the sequencer and its sample time. */ sConfig.Channel = ADC_CHANNEL_8; - 80010f0: 2308 movs r3, #8 - 80010f2: 603b str r3, [r7, #0] + 8001050: 2308 movs r3, #8 + 8001052: 603b str r3, [r7, #0] sConfig.Rank = ADC_REGULAR_RANK_1; - 80010f4: 2301 movs r3, #1 - 80010f6: 607b str r3, [r7, #4] + 8001054: 2301 movs r3, #1 + 8001056: 607b str r3, [r7, #4] sConfig.SamplingTime = ADC_SAMPLETIME_3CYCLES; - 80010f8: 2300 movs r3, #0 - 80010fa: 60bb str r3, [r7, #8] + 8001058: 2300 movs r3, #0 + 800105a: 60bb str r3, [r7, #8] if (HAL_ADC_ConfigChannel(&hadc3, &sConfig) != HAL_OK) - 80010fc: 463b mov r3, r7 - 80010fe: 4619 mov r1, r3 - 8001100: 4805 ldr r0, [pc, #20] ; (8001118 ) - 8001102: f004 f859 bl 80051b8 - 8001106: 4603 mov r3, r0 - 8001108: 2b00 cmp r3, #0 - 800110a: d001 beq.n 8001110 + 800105c: 463b mov r3, r7 + 800105e: 4619 mov r1, r3 + 8001060: 4805 ldr r0, [pc, #20] ; (8001078 ) + 8001062: f003 fe5d bl 8004d20 + 8001066: 4603 mov r3, r0 + 8001068: 2b00 cmp r3, #0 + 800106a: d001 beq.n 8001070 { Error_Handler(); - 800110c: f001 faf0 bl 80026f0 + 800106c: f001 fada bl 8002624 } /* USER CODE BEGIN ADC3_Init 2 */ /* USER CODE END ADC3_Init 2 */ } - 8001110: bf00 nop - 8001112: 3710 adds r7, #16 - 8001114: 46bd mov sp, r7 - 8001116: bd80 pop {r7, pc} - 8001118: 20008ac0 .word 0x20008ac0 - 800111c: 40012200 .word 0x40012200 - 8001120: 0f000001 .word 0x0f000001 + 8001070: bf00 nop + 8001072: 3710 adds r7, #16 + 8001074: 46bd mov sp, r7 + 8001076: bd80 pop {r7, pc} + 8001078: 20008abc .word 0x20008abc + 800107c: 40012200 .word 0x40012200 + 8001080: 0f000001 .word 0x0f000001 -08001124 : +08001084 : * @brief CRC Initialization Function * @param None * @retval None */ static void MX_CRC_Init(void) { - 8001124: b580 push {r7, lr} - 8001126: af00 add r7, sp, #0 + 8001084: b580 push {r7, lr} + 8001086: af00 add r7, sp, #0 /* USER CODE END CRC_Init 0 */ /* USER CODE BEGIN CRC_Init 1 */ /* USER CODE END CRC_Init 1 */ hcrc.Instance = CRC; - 8001128: 4b0d ldr r3, [pc, #52] ; (8001160 ) - 800112a: 4a0e ldr r2, [pc, #56] ; (8001164 ) - 800112c: 601a str r2, [r3, #0] + 8001088: 4b0d ldr r3, [pc, #52] ; (80010c0 ) + 800108a: 4a0e ldr r2, [pc, #56] ; (80010c4 ) + 800108c: 601a str r2, [r3, #0] hcrc.Init.DefaultPolynomialUse = DEFAULT_POLYNOMIAL_ENABLE; - 800112e: 4b0c ldr r3, [pc, #48] ; (8001160 ) - 8001130: 2200 movs r2, #0 - 8001132: 711a strb r2, [r3, #4] + 800108e: 4b0c ldr r3, [pc, #48] ; (80010c0 ) + 8001090: 2200 movs r2, #0 + 8001092: 711a strb r2, [r3, #4] hcrc.Init.DefaultInitValueUse = DEFAULT_INIT_VALUE_ENABLE; - 8001134: 4b0a ldr r3, [pc, #40] ; (8001160 ) - 8001136: 2200 movs r2, #0 - 8001138: 715a strb r2, [r3, #5] + 8001094: 4b0a ldr r3, [pc, #40] ; (80010c0 ) + 8001096: 2200 movs r2, #0 + 8001098: 715a strb r2, [r3, #5] hcrc.Init.InputDataInversionMode = CRC_INPUTDATA_INVERSION_NONE; - 800113a: 4b09 ldr r3, [pc, #36] ; (8001160 ) - 800113c: 2200 movs r2, #0 - 800113e: 615a str r2, [r3, #20] + 800109a: 4b09 ldr r3, [pc, #36] ; (80010c0 ) + 800109c: 2200 movs r2, #0 + 800109e: 615a str r2, [r3, #20] hcrc.Init.OutputDataInversionMode = CRC_OUTPUTDATA_INVERSION_DISABLE; - 8001140: 4b07 ldr r3, [pc, #28] ; (8001160 ) - 8001142: 2200 movs r2, #0 - 8001144: 619a str r2, [r3, #24] + 80010a0: 4b07 ldr r3, [pc, #28] ; (80010c0 ) + 80010a2: 2200 movs r2, #0 + 80010a4: 619a str r2, [r3, #24] hcrc.InputDataFormat = CRC_INPUTDATA_FORMAT_BYTES; - 8001146: 4b06 ldr r3, [pc, #24] ; (8001160 ) - 8001148: 2201 movs r2, #1 - 800114a: 621a str r2, [r3, #32] + 80010a6: 4b06 ldr r3, [pc, #24] ; (80010c0 ) + 80010a8: 2201 movs r2, #1 + 80010aa: 621a str r2, [r3, #32] if (HAL_CRC_Init(&hcrc) != HAL_OK) - 800114c: 4804 ldr r0, [pc, #16] ; (8001160 ) - 800114e: f004 fb59 bl 8005804 - 8001152: 4603 mov r3, r0 - 8001154: 2b00 cmp r3, #0 - 8001156: d001 beq.n 800115c + 80010ac: 4804 ldr r0, [pc, #16] ; (80010c0 ) + 80010ae: f004 f95d bl 800536c + 80010b2: 4603 mov r3, r0 + 80010b4: 2b00 cmp r3, #0 + 80010b6: d001 beq.n 80010bc { Error_Handler(); - 8001158: f001 faca bl 80026f0 + 80010b8: f001 fab4 bl 8002624 } /* USER CODE BEGIN CRC_Init 2 */ /* USER CODE END CRC_Init 2 */ } - 800115c: bf00 nop - 800115e: bd80 pop {r7, pc} - 8001160: 20008928 .word 0x20008928 - 8001164: 40023000 .word 0x40023000 + 80010bc: bf00 nop + 80010be: bd80 pop {r7, pc} + 80010c0: 20008924 .word 0x20008924 + 80010c4: 40023000 .word 0x40023000 -08001168 : +080010c8 : * @brief DAC Initialization Function * @param None * @retval None */ static void MX_DAC_Init(void) { - 8001168: b580 push {r7, lr} - 800116a: b082 sub sp, #8 - 800116c: af00 add r7, sp, #0 + 80010c8: b580 push {r7, lr} + 80010ca: b082 sub sp, #8 + 80010cc: af00 add r7, sp, #0 /* USER CODE BEGIN DAC_Init 0 */ /* USER CODE END DAC_Init 0 */ DAC_ChannelConfTypeDef sConfig = {0}; - 800116e: 463b mov r3, r7 - 8001170: 2200 movs r2, #0 - 8001172: 601a str r2, [r3, #0] - 8001174: 605a str r2, [r3, #4] + 80010ce: 463b mov r3, r7 + 80010d0: 2200 movs r2, #0 + 80010d2: 601a str r2, [r3, #0] + 80010d4: 605a str r2, [r3, #4] /* USER CODE BEGIN DAC_Init 1 */ /* USER CODE END DAC_Init 1 */ /** DAC Initialization */ hdac.Instance = DAC; - 8001176: 4b0f ldr r3, [pc, #60] ; (80011b4 ) - 8001178: 4a0f ldr r2, [pc, #60] ; (80011b8 ) - 800117a: 601a str r2, [r3, #0] + 80010d6: 4b0f ldr r3, [pc, #60] ; (8001114 ) + 80010d8: 4a0f ldr r2, [pc, #60] ; (8001118 ) + 80010da: 601a str r2, [r3, #0] if (HAL_DAC_Init(&hdac) != HAL_OK) - 800117c: 480d ldr r0, [pc, #52] ; (80011b4 ) - 800117e: f004 fc2b bl 80059d8 - 8001182: 4603 mov r3, r0 - 8001184: 2b00 cmp r3, #0 - 8001186: d001 beq.n 800118c + 80010dc: 480d ldr r0, [pc, #52] ; (8001114 ) + 80010de: f004 fa2f bl 8005540 + 80010e2: 4603 mov r3, r0 + 80010e4: 2b00 cmp r3, #0 + 80010e6: d001 beq.n 80010ec { Error_Handler(); - 8001188: f001 fab2 bl 80026f0 + 80010e8: f001 fa9c bl 8002624 } /** DAC channel OUT1 config */ sConfig.DAC_Trigger = DAC_TRIGGER_NONE; - 800118c: 2300 movs r3, #0 - 800118e: 603b str r3, [r7, #0] + 80010ec: 2300 movs r3, #0 + 80010ee: 603b str r3, [r7, #0] sConfig.DAC_OutputBuffer = DAC_OUTPUTBUFFER_ENABLE; - 8001190: 2300 movs r3, #0 - 8001192: 607b str r3, [r7, #4] + 80010f0: 2300 movs r3, #0 + 80010f2: 607b str r3, [r7, #4] if (HAL_DAC_ConfigChannel(&hdac, &sConfig, DAC_CHANNEL_1) != HAL_OK) - 8001194: 463b mov r3, r7 - 8001196: 2200 movs r2, #0 - 8001198: 4619 mov r1, r3 - 800119a: 4806 ldr r0, [pc, #24] ; (80011b4 ) - 800119c: f004 fc92 bl 8005ac4 - 80011a0: 4603 mov r3, r0 - 80011a2: 2b00 cmp r3, #0 - 80011a4: d001 beq.n 80011aa + 80010f4: 463b mov r3, r7 + 80010f6: 2200 movs r2, #0 + 80010f8: 4619 mov r1, r3 + 80010fa: 4806 ldr r0, [pc, #24] ; (8001114 ) + 80010fc: f004 fa96 bl 800562c + 8001100: 4603 mov r3, r0 + 8001102: 2b00 cmp r3, #0 + 8001104: d001 beq.n 800110a { Error_Handler(); - 80011a6: f001 faa3 bl 80026f0 + 8001106: f001 fa8d bl 8002624 } /* USER CODE BEGIN DAC_Init 2 */ /* USER CODE END DAC_Init 2 */ } - 80011aa: bf00 nop - 80011ac: 3708 adds r7, #8 - 80011ae: 46bd mov sp, r7 - 80011b0: bd80 pop {r7, pc} - 80011b2: bf00 nop - 80011b4: 20008b10 .word 0x20008b10 - 80011b8: 40007400 .word 0x40007400 + 800110a: bf00 nop + 800110c: 3708 adds r7, #8 + 800110e: 46bd mov sp, r7 + 8001110: bd80 pop {r7, pc} + 8001112: bf00 nop + 8001114: 20008b0c .word 0x20008b0c + 8001118: 40007400 .word 0x40007400 -080011bc : +0800111c : * @brief DMA2D Initialization Function * @param None * @retval None */ static void MX_DMA2D_Init(void) { - 80011bc: b580 push {r7, lr} - 80011be: af00 add r7, sp, #0 + 800111c: b580 push {r7, lr} + 800111e: af00 add r7, sp, #0 /* USER CODE END DMA2D_Init 0 */ /* USER CODE BEGIN DMA2D_Init 1 */ /* USER CODE END DMA2D_Init 1 */ hdma2d.Instance = DMA2D; - 80011c0: 4b15 ldr r3, [pc, #84] ; (8001218 ) - 80011c2: 4a16 ldr r2, [pc, #88] ; (800121c ) - 80011c4: 601a str r2, [r3, #0] + 8001120: 4b15 ldr r3, [pc, #84] ; (8001178 ) + 8001122: 4a16 ldr r2, [pc, #88] ; (800117c ) + 8001124: 601a str r2, [r3, #0] hdma2d.Init.Mode = DMA2D_M2M; - 80011c6: 4b14 ldr r3, [pc, #80] ; (8001218 ) - 80011c8: 2200 movs r2, #0 - 80011ca: 605a str r2, [r3, #4] + 8001126: 4b14 ldr r3, [pc, #80] ; (8001178 ) + 8001128: 2200 movs r2, #0 + 800112a: 605a str r2, [r3, #4] hdma2d.Init.ColorMode = DMA2D_OUTPUT_ARGB8888; - 80011cc: 4b12 ldr r3, [pc, #72] ; (8001218 ) - 80011ce: 2200 movs r2, #0 - 80011d0: 609a str r2, [r3, #8] + 800112c: 4b12 ldr r3, [pc, #72] ; (8001178 ) + 800112e: 2200 movs r2, #0 + 8001130: 609a str r2, [r3, #8] hdma2d.Init.OutputOffset = 0; - 80011d2: 4b11 ldr r3, [pc, #68] ; (8001218 ) - 80011d4: 2200 movs r2, #0 - 80011d6: 60da str r2, [r3, #12] + 8001132: 4b11 ldr r3, [pc, #68] ; (8001178 ) + 8001134: 2200 movs r2, #0 + 8001136: 60da str r2, [r3, #12] hdma2d.LayerCfg[1].InputOffset = 0; - 80011d8: 4b0f ldr r3, [pc, #60] ; (8001218 ) - 80011da: 2200 movs r2, #0 - 80011dc: 629a str r2, [r3, #40] ; 0x28 + 8001138: 4b0f ldr r3, [pc, #60] ; (8001178 ) + 800113a: 2200 movs r2, #0 + 800113c: 629a str r2, [r3, #40] ; 0x28 hdma2d.LayerCfg[1].InputColorMode = DMA2D_INPUT_ARGB8888; - 80011de: 4b0e ldr r3, [pc, #56] ; (8001218 ) - 80011e0: 2200 movs r2, #0 - 80011e2: 62da str r2, [r3, #44] ; 0x2c + 800113e: 4b0e ldr r3, [pc, #56] ; (8001178 ) + 8001140: 2200 movs r2, #0 + 8001142: 62da str r2, [r3, #44] ; 0x2c hdma2d.LayerCfg[1].AlphaMode = DMA2D_NO_MODIF_ALPHA; - 80011e4: 4b0c ldr r3, [pc, #48] ; (8001218 ) - 80011e6: 2200 movs r2, #0 - 80011e8: 631a str r2, [r3, #48] ; 0x30 + 8001144: 4b0c ldr r3, [pc, #48] ; (8001178 ) + 8001146: 2200 movs r2, #0 + 8001148: 631a str r2, [r3, #48] ; 0x30 hdma2d.LayerCfg[1].InputAlpha = 0; - 80011ea: 4b0b ldr r3, [pc, #44] ; (8001218 ) - 80011ec: 2200 movs r2, #0 - 80011ee: 635a str r2, [r3, #52] ; 0x34 + 800114a: 4b0b ldr r3, [pc, #44] ; (8001178 ) + 800114c: 2200 movs r2, #0 + 800114e: 635a str r2, [r3, #52] ; 0x34 if (HAL_DMA2D_Init(&hdma2d) != HAL_OK) - 80011f0: 4809 ldr r0, [pc, #36] ; (8001218 ) - 80011f2: f004 fe7b bl 8005eec - 80011f6: 4603 mov r3, r0 - 80011f8: 2b00 cmp r3, #0 - 80011fa: d001 beq.n 8001200 + 8001150: 4809 ldr r0, [pc, #36] ; (8001178 ) + 8001152: f004 fc7f bl 8005a54 + 8001156: 4603 mov r3, r0 + 8001158: 2b00 cmp r3, #0 + 800115a: d001 beq.n 8001160 { Error_Handler(); - 80011fc: f001 fa78 bl 80026f0 + 800115c: f001 fa62 bl 8002624 } if (HAL_DMA2D_ConfigLayer(&hdma2d, 1) != HAL_OK) - 8001200: 2101 movs r1, #1 - 8001202: 4805 ldr r0, [pc, #20] ; (8001218 ) - 8001204: f004 ffd0 bl 80061a8 - 8001208: 4603 mov r3, r0 - 800120a: 2b00 cmp r3, #0 - 800120c: d001 beq.n 8001212 + 8001160: 2101 movs r1, #1 + 8001162: 4805 ldr r0, [pc, #20] ; (8001178 ) + 8001164: f004 fdd4 bl 8005d10 + 8001168: 4603 mov r3, r0 + 800116a: 2b00 cmp r3, #0 + 800116c: d001 beq.n 8001172 { Error_Handler(); - 800120e: f001 fa6f bl 80026f0 + 800116e: f001 fa59 bl 8002624 } /* USER CODE BEGIN DMA2D_Init 2 */ /* USER CODE END DMA2D_Init 2 */ } - 8001212: bf00 nop - 8001214: bd80 pop {r7, pc} - 8001216: bf00 nop - 8001218: 20008b7c .word 0x20008b7c - 800121c: 4002b000 .word 0x4002b000 + 8001172: bf00 nop + 8001174: bd80 pop {r7, pc} + 8001176: bf00 nop + 8001178: 20008b78 .word 0x20008b78 + 800117c: 4002b000 .word 0x4002b000 -08001220 : +08001180 : * @brief LTDC Initialization Function * @param None * @retval None */ static void MX_LTDC_Init(void) { - 8001220: b580 push {r7, lr} - 8001222: b08e sub sp, #56 ; 0x38 - 8001224: af00 add r7, sp, #0 + 8001180: b580 push {r7, lr} + 8001182: b08e sub sp, #56 ; 0x38 + 8001184: af00 add r7, sp, #0 /* USER CODE BEGIN LTDC_Init 0 */ /* USER CODE END LTDC_Init 0 */ LTDC_LayerCfgTypeDef pLayerCfg = {0}; - 8001226: 1d3b adds r3, r7, #4 - 8001228: 2234 movs r2, #52 ; 0x34 - 800122a: 2100 movs r1, #0 - 800122c: 4618 mov r0, r3 - 800122e: f01a f93a bl 801b4a6 + 8001186: 1d3b adds r3, r7, #4 + 8001188: 2234 movs r2, #52 ; 0x34 + 800118a: 2100 movs r1, #0 + 800118c: 4618 mov r0, r3 + 800118e: f019 ff39 bl 801b004 /* USER CODE BEGIN LTDC_Init 1 */ /* USER CODE END LTDC_Init 1 */ hltdc.Instance = LTDC; - 8001232: 4b3a ldr r3, [pc, #232] ; (800131c ) - 8001234: 4a3a ldr r2, [pc, #232] ; (8001320 ) - 8001236: 601a str r2, [r3, #0] + 8001192: 4b3a ldr r3, [pc, #232] ; (800127c ) + 8001194: 4a3a ldr r2, [pc, #232] ; (8001280 ) + 8001196: 601a str r2, [r3, #0] hltdc.Init.HSPolarity = LTDC_HSPOLARITY_AL; - 8001238: 4b38 ldr r3, [pc, #224] ; (800131c ) - 800123a: 2200 movs r2, #0 - 800123c: 605a str r2, [r3, #4] + 8001198: 4b38 ldr r3, [pc, #224] ; (800127c ) + 800119a: 2200 movs r2, #0 + 800119c: 605a str r2, [r3, #4] hltdc.Init.VSPolarity = LTDC_VSPOLARITY_AL; - 800123e: 4b37 ldr r3, [pc, #220] ; (800131c ) - 8001240: 2200 movs r2, #0 - 8001242: 609a str r2, [r3, #8] + 800119e: 4b37 ldr r3, [pc, #220] ; (800127c ) + 80011a0: 2200 movs r2, #0 + 80011a2: 609a str r2, [r3, #8] hltdc.Init.DEPolarity = LTDC_DEPOLARITY_AL; - 8001244: 4b35 ldr r3, [pc, #212] ; (800131c ) - 8001246: 2200 movs r2, #0 - 8001248: 60da str r2, [r3, #12] + 80011a4: 4b35 ldr r3, [pc, #212] ; (800127c ) + 80011a6: 2200 movs r2, #0 + 80011a8: 60da str r2, [r3, #12] hltdc.Init.PCPolarity = LTDC_PCPOLARITY_IPC; - 800124a: 4b34 ldr r3, [pc, #208] ; (800131c ) - 800124c: 2200 movs r2, #0 - 800124e: 611a str r2, [r3, #16] + 80011aa: 4b34 ldr r3, [pc, #208] ; (800127c ) + 80011ac: 2200 movs r2, #0 + 80011ae: 611a str r2, [r3, #16] hltdc.Init.HorizontalSync = 40; - 8001250: 4b32 ldr r3, [pc, #200] ; (800131c ) - 8001252: 2228 movs r2, #40 ; 0x28 - 8001254: 615a str r2, [r3, #20] + 80011b0: 4b32 ldr r3, [pc, #200] ; (800127c ) + 80011b2: 2228 movs r2, #40 ; 0x28 + 80011b4: 615a str r2, [r3, #20] hltdc.Init.VerticalSync = 9; - 8001256: 4b31 ldr r3, [pc, #196] ; (800131c ) - 8001258: 2209 movs r2, #9 - 800125a: 619a str r2, [r3, #24] + 80011b6: 4b31 ldr r3, [pc, #196] ; (800127c ) + 80011b8: 2209 movs r2, #9 + 80011ba: 619a str r2, [r3, #24] hltdc.Init.AccumulatedHBP = 53; - 800125c: 4b2f ldr r3, [pc, #188] ; (800131c ) - 800125e: 2235 movs r2, #53 ; 0x35 - 8001260: 61da str r2, [r3, #28] + 80011bc: 4b2f ldr r3, [pc, #188] ; (800127c ) + 80011be: 2235 movs r2, #53 ; 0x35 + 80011c0: 61da str r2, [r3, #28] hltdc.Init.AccumulatedVBP = 11; - 8001262: 4b2e ldr r3, [pc, #184] ; (800131c ) - 8001264: 220b movs r2, #11 - 8001266: 621a str r2, [r3, #32] + 80011c2: 4b2e ldr r3, [pc, #184] ; (800127c ) + 80011c4: 220b movs r2, #11 + 80011c6: 621a str r2, [r3, #32] hltdc.Init.AccumulatedActiveW = 533; - 8001268: 4b2c ldr r3, [pc, #176] ; (800131c ) - 800126a: f240 2215 movw r2, #533 ; 0x215 - 800126e: 625a str r2, [r3, #36] ; 0x24 + 80011c8: 4b2c ldr r3, [pc, #176] ; (800127c ) + 80011ca: f240 2215 movw r2, #533 ; 0x215 + 80011ce: 625a str r2, [r3, #36] ; 0x24 hltdc.Init.AccumulatedActiveH = 283; - 8001270: 4b2a ldr r3, [pc, #168] ; (800131c ) - 8001272: f240 121b movw r2, #283 ; 0x11b - 8001276: 629a str r2, [r3, #40] ; 0x28 + 80011d0: 4b2a ldr r3, [pc, #168] ; (800127c ) + 80011d2: f240 121b movw r2, #283 ; 0x11b + 80011d6: 629a str r2, [r3, #40] ; 0x28 hltdc.Init.TotalWidth = 565; - 8001278: 4b28 ldr r3, [pc, #160] ; (800131c ) - 800127a: f240 2235 movw r2, #565 ; 0x235 - 800127e: 62da str r2, [r3, #44] ; 0x2c + 80011d8: 4b28 ldr r3, [pc, #160] ; (800127c ) + 80011da: f240 2235 movw r2, #565 ; 0x235 + 80011de: 62da str r2, [r3, #44] ; 0x2c hltdc.Init.TotalHeigh = 285; - 8001280: 4b26 ldr r3, [pc, #152] ; (800131c ) - 8001282: f240 121d movw r2, #285 ; 0x11d - 8001286: 631a str r2, [r3, #48] ; 0x30 + 80011e0: 4b26 ldr r3, [pc, #152] ; (800127c ) + 80011e2: f240 121d movw r2, #285 ; 0x11d + 80011e6: 631a str r2, [r3, #48] ; 0x30 hltdc.Init.Backcolor.Blue = 0; - 8001288: 4b24 ldr r3, [pc, #144] ; (800131c ) - 800128a: 2200 movs r2, #0 - 800128c: f883 2034 strb.w r2, [r3, #52] ; 0x34 + 80011e8: 4b24 ldr r3, [pc, #144] ; (800127c ) + 80011ea: 2200 movs r2, #0 + 80011ec: f883 2034 strb.w r2, [r3, #52] ; 0x34 hltdc.Init.Backcolor.Green = 0; - 8001290: 4b22 ldr r3, [pc, #136] ; (800131c ) - 8001292: 2200 movs r2, #0 - 8001294: f883 2035 strb.w r2, [r3, #53] ; 0x35 + 80011f0: 4b22 ldr r3, [pc, #136] ; (800127c ) + 80011f2: 2200 movs r2, #0 + 80011f4: f883 2035 strb.w r2, [r3, #53] ; 0x35 hltdc.Init.Backcolor.Red = 0; - 8001298: 4b20 ldr r3, [pc, #128] ; (800131c ) - 800129a: 2200 movs r2, #0 - 800129c: f883 2036 strb.w r2, [r3, #54] ; 0x36 + 80011f8: 4b20 ldr r3, [pc, #128] ; (800127c ) + 80011fa: 2200 movs r2, #0 + 80011fc: f883 2036 strb.w r2, [r3, #54] ; 0x36 if (HAL_LTDC_Init(&hltdc) != HAL_OK) - 80012a0: 481e ldr r0, [pc, #120] ; (800131c ) - 80012a2: f007 f93d bl 8008520 - 80012a6: 4603 mov r3, r0 - 80012a8: 2b00 cmp r3, #0 - 80012aa: d001 beq.n 80012b0 + 8001200: 481e ldr r0, [pc, #120] ; (800127c ) + 8001202: f006 ff5b bl 80080bc + 8001206: 4603 mov r3, r0 + 8001208: 2b00 cmp r3, #0 + 800120a: d001 beq.n 8001210 { Error_Handler(); - 80012ac: f001 fa20 bl 80026f0 + 800120c: f001 fa0a bl 8002624 } pLayerCfg.WindowX0 = 0; - 80012b0: 2300 movs r3, #0 - 80012b2: 607b str r3, [r7, #4] + 8001210: 2300 movs r3, #0 + 8001212: 607b str r3, [r7, #4] pLayerCfg.WindowX1 = 480; - 80012b4: f44f 73f0 mov.w r3, #480 ; 0x1e0 - 80012b8: 60bb str r3, [r7, #8] + 8001214: f44f 73f0 mov.w r3, #480 ; 0x1e0 + 8001218: 60bb str r3, [r7, #8] pLayerCfg.WindowY0 = 0; - 80012ba: 2300 movs r3, #0 - 80012bc: 60fb str r3, [r7, #12] + 800121a: 2300 movs r3, #0 + 800121c: 60fb str r3, [r7, #12] pLayerCfg.WindowY1 = 272; - 80012be: f44f 7388 mov.w r3, #272 ; 0x110 - 80012c2: 613b str r3, [r7, #16] + 800121e: f44f 7388 mov.w r3, #272 ; 0x110 + 8001222: 613b str r3, [r7, #16] pLayerCfg.PixelFormat = LTDC_PIXEL_FORMAT_RGB565; - 80012c4: 2302 movs r3, #2 - 80012c6: 617b str r3, [r7, #20] + 8001224: 2302 movs r3, #2 + 8001226: 617b str r3, [r7, #20] pLayerCfg.Alpha = 255; - 80012c8: 23ff movs r3, #255 ; 0xff - 80012ca: 61bb str r3, [r7, #24] + 8001228: 23ff movs r3, #255 ; 0xff + 800122a: 61bb str r3, [r7, #24] pLayerCfg.Alpha0 = 0; - 80012cc: 2300 movs r3, #0 - 80012ce: 61fb str r3, [r7, #28] + 800122c: 2300 movs r3, #0 + 800122e: 61fb str r3, [r7, #28] pLayerCfg.BlendingFactor1 = LTDC_BLENDING_FACTOR1_PAxCA; - 80012d0: f44f 63c0 mov.w r3, #1536 ; 0x600 - 80012d4: 623b str r3, [r7, #32] + 8001230: f44f 63c0 mov.w r3, #1536 ; 0x600 + 8001234: 623b str r3, [r7, #32] pLayerCfg.BlendingFactor2 = LTDC_BLENDING_FACTOR2_PAxCA; - 80012d6: 2307 movs r3, #7 - 80012d8: 627b str r3, [r7, #36] ; 0x24 + 8001236: 2307 movs r3, #7 + 8001238: 627b str r3, [r7, #36] ; 0x24 pLayerCfg.FBStartAdress = 0xC0000000; - 80012da: f04f 4340 mov.w r3, #3221225472 ; 0xc0000000 - 80012de: 62bb str r3, [r7, #40] ; 0x28 + 800123a: f04f 4340 mov.w r3, #3221225472 ; 0xc0000000 + 800123e: 62bb str r3, [r7, #40] ; 0x28 pLayerCfg.ImageWidth = 480; - 80012e0: f44f 73f0 mov.w r3, #480 ; 0x1e0 - 80012e4: 62fb str r3, [r7, #44] ; 0x2c + 8001240: f44f 73f0 mov.w r3, #480 ; 0x1e0 + 8001244: 62fb str r3, [r7, #44] ; 0x2c pLayerCfg.ImageHeight = 272; - 80012e6: f44f 7388 mov.w r3, #272 ; 0x110 - 80012ea: 633b str r3, [r7, #48] ; 0x30 + 8001246: f44f 7388 mov.w r3, #272 ; 0x110 + 800124a: 633b str r3, [r7, #48] ; 0x30 pLayerCfg.Backcolor.Blue = 0; - 80012ec: 2300 movs r3, #0 - 80012ee: f887 3034 strb.w r3, [r7, #52] ; 0x34 + 800124c: 2300 movs r3, #0 + 800124e: f887 3034 strb.w r3, [r7, #52] ; 0x34 pLayerCfg.Backcolor.Green = 0; - 80012f2: 2300 movs r3, #0 - 80012f4: f887 3035 strb.w r3, [r7, #53] ; 0x35 + 8001252: 2300 movs r3, #0 + 8001254: f887 3035 strb.w r3, [r7, #53] ; 0x35 pLayerCfg.Backcolor.Red = 0; - 80012f8: 2300 movs r3, #0 - 80012fa: f887 3036 strb.w r3, [r7, #54] ; 0x36 + 8001258: 2300 movs r3, #0 + 800125a: f887 3036 strb.w r3, [r7, #54] ; 0x36 if (HAL_LTDC_ConfigLayer(&hltdc, &pLayerCfg, 0) != HAL_OK) - 80012fe: 1d3b adds r3, r7, #4 - 8001300: 2200 movs r2, #0 - 8001302: 4619 mov r1, r3 - 8001304: 4805 ldr r0, [pc, #20] ; (800131c ) - 8001306: f007 fa9d bl 8008844 - 800130a: 4603 mov r3, r0 - 800130c: 2b00 cmp r3, #0 - 800130e: d001 beq.n 8001314 + 800125e: 1d3b adds r3, r7, #4 + 8001260: 2200 movs r2, #0 + 8001262: 4619 mov r1, r3 + 8001264: 4805 ldr r0, [pc, #20] ; (800127c ) + 8001266: f007 f8bb bl 80083e0 + 800126a: 4603 mov r3, r0 + 800126c: 2b00 cmp r3, #0 + 800126e: d001 beq.n 8001274 { Error_Handler(); - 8001310: f001 f9ee bl 80026f0 + 8001270: f001 f9d8 bl 8002624 } /* USER CODE BEGIN LTDC_Init 2 */ /* USER CODE END LTDC_Init 2 */ } - 8001314: bf00 nop - 8001316: 3738 adds r7, #56 ; 0x38 - 8001318: 46bd mov sp, r7 - 800131a: bd80 pop {r7, pc} - 800131c: 200089d0 .word 0x200089d0 - 8001320: 40016800 .word 0x40016800 + 8001274: bf00 nop + 8001276: 3738 adds r7, #56 ; 0x38 + 8001278: 46bd mov sp, r7 + 800127a: bd80 pop {r7, pc} + 800127c: 200089cc .word 0x200089cc + 8001280: 40016800 .word 0x40016800 -08001324 : +08001284 : * @brief RNG Initialization Function * @param None * @retval None */ static void MX_RNG_Init(void) { - 8001324: b580 push {r7, lr} - 8001326: af00 add r7, sp, #0 + 8001284: b580 push {r7, lr} + 8001286: af00 add r7, sp, #0 /* USER CODE END RNG_Init 0 */ /* USER CODE BEGIN RNG_Init 1 */ /* USER CODE END RNG_Init 1 */ hrng.Instance = RNG; - 8001328: 4b06 ldr r3, [pc, #24] ; (8001344 ) - 800132a: 4a07 ldr r2, [pc, #28] ; (8001348 ) - 800132c: 601a str r2, [r3, #0] + 8001288: 4b06 ldr r3, [pc, #24] ; (80012a4 ) + 800128a: 4a07 ldr r2, [pc, #28] ; (80012a8 ) + 800128c: 601a str r2, [r3, #0] if (HAL_RNG_Init(&hrng) != HAL_OK) - 800132e: 4805 ldr r0, [pc, #20] ; (8001344 ) - 8001330: f008 fd50 bl 8009dd4 - 8001334: 4603 mov r3, r0 - 8001336: 2b00 cmp r3, #0 - 8001338: d001 beq.n 800133e + 800128e: 4805 ldr r0, [pc, #20] ; (80012a4 ) + 8001290: f008 fb6e bl 8009970 + 8001294: 4603 mov r3, r0 + 8001296: 2b00 cmp r3, #0 + 8001298: d001 beq.n 800129e { Error_Handler(); - 800133a: f001 f9d9 bl 80026f0 + 800129a: f001 f9c3 bl 8002624 } /* USER CODE BEGIN RNG_Init 2 */ /* USER CODE END RNG_Init 2 */ } - 800133e: bf00 nop - 8001340: bd80 pop {r7, pc} - 8001342: bf00 nop - 8001344: 20008b68 .word 0x20008b68 - 8001348: 50060800 .word 0x50060800 + 800129e: bf00 nop + 80012a0: bd80 pop {r7, pc} + 80012a2: bf00 nop + 80012a4: 20008b64 .word 0x20008b64 + 80012a8: 50060800 .word 0x50060800 -0800134c : +080012ac : * @brief SPI2 Initialization Function * @param None * @retval None */ static void MX_SPI2_Init(void) { - 800134c: b580 push {r7, lr} - 800134e: af00 add r7, sp, #0 + 80012ac: b580 push {r7, lr} + 80012ae: af00 add r7, sp, #0 /* USER CODE BEGIN SPI2_Init 1 */ /* USER CODE END SPI2_Init 1 */ /* SPI2 parameter configuration*/ hspi2.Instance = SPI2; - 8001350: 4b1b ldr r3, [pc, #108] ; (80013c0 ) - 8001352: 4a1c ldr r2, [pc, #112] ; (80013c4 ) - 8001354: 601a str r2, [r3, #0] + 80012b0: 4b1b ldr r3, [pc, #108] ; (8001320 ) + 80012b2: 4a1c ldr r2, [pc, #112] ; (8001324 ) + 80012b4: 601a str r2, [r3, #0] hspi2.Init.Mode = SPI_MODE_MASTER; - 8001356: 4b1a ldr r3, [pc, #104] ; (80013c0 ) - 8001358: f44f 7282 mov.w r2, #260 ; 0x104 - 800135c: 605a str r2, [r3, #4] + 80012b6: 4b1a ldr r3, [pc, #104] ; (8001320 ) + 80012b8: f44f 7282 mov.w r2, #260 ; 0x104 + 80012bc: 605a str r2, [r3, #4] hspi2.Init.Direction = SPI_DIRECTION_2LINES; - 800135e: 4b18 ldr r3, [pc, #96] ; (80013c0 ) - 8001360: 2200 movs r2, #0 - 8001362: 609a str r2, [r3, #8] + 80012be: 4b18 ldr r3, [pc, #96] ; (8001320 ) + 80012c0: 2200 movs r2, #0 + 80012c2: 609a str r2, [r3, #8] hspi2.Init.DataSize = SPI_DATASIZE_4BIT; - 8001364: 4b16 ldr r3, [pc, #88] ; (80013c0 ) - 8001366: f44f 7240 mov.w r2, #768 ; 0x300 - 800136a: 60da str r2, [r3, #12] + 80012c4: 4b16 ldr r3, [pc, #88] ; (8001320 ) + 80012c6: f44f 7240 mov.w r2, #768 ; 0x300 + 80012ca: 60da str r2, [r3, #12] hspi2.Init.CLKPolarity = SPI_POLARITY_LOW; - 800136c: 4b14 ldr r3, [pc, #80] ; (80013c0 ) - 800136e: 2200 movs r2, #0 - 8001370: 611a str r2, [r3, #16] + 80012cc: 4b14 ldr r3, [pc, #80] ; (8001320 ) + 80012ce: 2200 movs r2, #0 + 80012d0: 611a str r2, [r3, #16] hspi2.Init.CLKPhase = SPI_PHASE_1EDGE; - 8001372: 4b13 ldr r3, [pc, #76] ; (80013c0 ) - 8001374: 2200 movs r2, #0 - 8001376: 615a str r2, [r3, #20] + 80012d2: 4b13 ldr r3, [pc, #76] ; (8001320 ) + 80012d4: 2200 movs r2, #0 + 80012d6: 615a str r2, [r3, #20] hspi2.Init.NSS = SPI_NSS_HARD_OUTPUT; - 8001378: 4b11 ldr r3, [pc, #68] ; (80013c0 ) - 800137a: f44f 2280 mov.w r2, #262144 ; 0x40000 - 800137e: 619a str r2, [r3, #24] + 80012d8: 4b11 ldr r3, [pc, #68] ; (8001320 ) + 80012da: f44f 2280 mov.w r2, #262144 ; 0x40000 + 80012de: 619a str r2, [r3, #24] hspi2.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_2; - 8001380: 4b0f ldr r3, [pc, #60] ; (80013c0 ) - 8001382: 2200 movs r2, #0 - 8001384: 61da str r2, [r3, #28] + 80012e0: 4b0f ldr r3, [pc, #60] ; (8001320 ) + 80012e2: 2200 movs r2, #0 + 80012e4: 61da str r2, [r3, #28] hspi2.Init.FirstBit = SPI_FIRSTBIT_MSB; - 8001386: 4b0e ldr r3, [pc, #56] ; (80013c0 ) - 8001388: 2200 movs r2, #0 - 800138a: 621a str r2, [r3, #32] + 80012e6: 4b0e ldr r3, [pc, #56] ; (8001320 ) + 80012e8: 2200 movs r2, #0 + 80012ea: 621a str r2, [r3, #32] hspi2.Init.TIMode = SPI_TIMODE_DISABLE; - 800138c: 4b0c ldr r3, [pc, #48] ; (80013c0 ) - 800138e: 2200 movs r2, #0 - 8001390: 625a str r2, [r3, #36] ; 0x24 + 80012ec: 4b0c ldr r3, [pc, #48] ; (8001320 ) + 80012ee: 2200 movs r2, #0 + 80012f0: 625a str r2, [r3, #36] ; 0x24 hspi2.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE; - 8001392: 4b0b ldr r3, [pc, #44] ; (80013c0 ) - 8001394: 2200 movs r2, #0 - 8001396: 629a str r2, [r3, #40] ; 0x28 + 80012f2: 4b0b ldr r3, [pc, #44] ; (8001320 ) + 80012f4: 2200 movs r2, #0 + 80012f6: 629a str r2, [r3, #40] ; 0x28 hspi2.Init.CRCPolynomial = 7; - 8001398: 4b09 ldr r3, [pc, #36] ; (80013c0 ) - 800139a: 2207 movs r2, #7 - 800139c: 62da str r2, [r3, #44] ; 0x2c + 80012f8: 4b09 ldr r3, [pc, #36] ; (8001320 ) + 80012fa: 2207 movs r2, #7 + 80012fc: 62da str r2, [r3, #44] ; 0x2c hspi2.Init.CRCLength = SPI_CRC_LENGTH_DATASIZE; - 800139e: 4b08 ldr r3, [pc, #32] ; (80013c0 ) - 80013a0: 2200 movs r2, #0 - 80013a2: 631a str r2, [r3, #48] ; 0x30 + 80012fe: 4b08 ldr r3, [pc, #32] ; (8001320 ) + 8001300: 2200 movs r2, #0 + 8001302: 631a str r2, [r3, #48] ; 0x30 hspi2.Init.NSSPMode = SPI_NSS_PULSE_ENABLE; - 80013a4: 4b06 ldr r3, [pc, #24] ; (80013c0 ) - 80013a6: 2208 movs r2, #8 - 80013a8: 635a str r2, [r3, #52] ; 0x34 + 8001304: 4b06 ldr r3, [pc, #24] ; (8001320 ) + 8001306: 2208 movs r2, #8 + 8001308: 635a str r2, [r3, #52] ; 0x34 if (HAL_SPI_Init(&hspi2) != HAL_OK) - 80013aa: 4805 ldr r0, [pc, #20] ; (80013c0 ) - 80013ac: f008 fdbb bl 8009f26 - 80013b0: 4603 mov r3, r0 - 80013b2: 2b00 cmp r3, #0 - 80013b4: d001 beq.n 80013ba + 800130a: 4805 ldr r0, [pc, #20] ; (8001320 ) + 800130c: f008 fbd9 bl 8009ac2 + 8001310: 4603 mov r3, r0 + 8001312: 2b00 cmp r3, #0 + 8001314: d001 beq.n 800131a { Error_Handler(); - 80013b6: f001 f99b bl 80026f0 + 8001316: f001 f985 bl 8002624 } /* USER CODE BEGIN SPI2_Init 2 */ /* USER CODE END SPI2_Init 2 */ } - 80013ba: bf00 nop - 80013bc: bd80 pop {r7, pc} - 80013be: bf00 nop - 80013c0: 2000887c .word 0x2000887c - 80013c4: 40003800 .word 0x40003800 + 800131a: bf00 nop + 800131c: bd80 pop {r7, pc} + 800131e: bf00 nop + 8001320: 2000887c .word 0x2000887c + 8001324: 40003800 .word 0x40003800 -080013c8 : +08001328 : * @brief TIM1 Initialization Function * @param None * @retval None */ static void MX_TIM1_Init(void) { - 80013c8: b580 push {r7, lr} - 80013ca: b088 sub sp, #32 - 80013cc: af00 add r7, sp, #0 + 8001328: b580 push {r7, lr} + 800132a: b088 sub sp, #32 + 800132c: af00 add r7, sp, #0 /* USER CODE BEGIN TIM1_Init 0 */ /* USER CODE END TIM1_Init 0 */ TIM_ClockConfigTypeDef sClockSourceConfig = {0}; - 80013ce: f107 0310 add.w r3, r7, #16 - 80013d2: 2200 movs r2, #0 - 80013d4: 601a str r2, [r3, #0] - 80013d6: 605a str r2, [r3, #4] - 80013d8: 609a str r2, [r3, #8] - 80013da: 60da str r2, [r3, #12] + 800132e: f107 0310 add.w r3, r7, #16 + 8001332: 2200 movs r2, #0 + 8001334: 601a str r2, [r3, #0] + 8001336: 605a str r2, [r3, #4] + 8001338: 609a str r2, [r3, #8] + 800133a: 60da str r2, [r3, #12] TIM_MasterConfigTypeDef sMasterConfig = {0}; - 80013dc: 1d3b adds r3, r7, #4 - 80013de: 2200 movs r2, #0 - 80013e0: 601a str r2, [r3, #0] - 80013e2: 605a str r2, [r3, #4] - 80013e4: 609a str r2, [r3, #8] + 800133c: 1d3b adds r3, r7, #4 + 800133e: 2200 movs r2, #0 + 8001340: 601a str r2, [r3, #0] + 8001342: 605a str r2, [r3, #4] + 8001344: 609a str r2, [r3, #8] /* USER CODE BEGIN TIM1_Init 1 */ /* USER CODE END TIM1_Init 1 */ htim1.Instance = TIM1; - 80013e6: 4b20 ldr r3, [pc, #128] ; (8001468 ) - 80013e8: 4a20 ldr r2, [pc, #128] ; (800146c ) - 80013ea: 601a str r2, [r3, #0] + 8001346: 4b20 ldr r3, [pc, #128] ; (80013c8 ) + 8001348: 4a20 ldr r2, [pc, #128] ; (80013cc ) + 800134a: 601a str r2, [r3, #0] htim1.Init.Prescaler = 0; - 80013ec: 4b1e ldr r3, [pc, #120] ; (8001468 ) - 80013ee: 2200 movs r2, #0 - 80013f0: 605a str r2, [r3, #4] + 800134c: 4b1e ldr r3, [pc, #120] ; (80013c8 ) + 800134e: 2200 movs r2, #0 + 8001350: 605a str r2, [r3, #4] htim1.Init.CounterMode = TIM_COUNTERMODE_UP; - 80013f2: 4b1d ldr r3, [pc, #116] ; (8001468 ) - 80013f4: 2200 movs r2, #0 - 80013f6: 609a str r2, [r3, #8] + 8001352: 4b1d ldr r3, [pc, #116] ; (80013c8 ) + 8001354: 2200 movs r2, #0 + 8001356: 609a str r2, [r3, #8] htim1.Init.Period = 65535; - 80013f8: 4b1b ldr r3, [pc, #108] ; (8001468 ) - 80013fa: f64f 72ff movw r2, #65535 ; 0xffff - 80013fe: 60da str r2, [r3, #12] + 8001358: 4b1b ldr r3, [pc, #108] ; (80013c8 ) + 800135a: f64f 72ff movw r2, #65535 ; 0xffff + 800135e: 60da str r2, [r3, #12] htim1.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; - 8001400: 4b19 ldr r3, [pc, #100] ; (8001468 ) - 8001402: 2200 movs r2, #0 - 8001404: 611a str r2, [r3, #16] + 8001360: 4b19 ldr r3, [pc, #100] ; (80013c8 ) + 8001362: 2200 movs r2, #0 + 8001364: 611a str r2, [r3, #16] htim1.Init.RepetitionCounter = 0; - 8001406: 4b18 ldr r3, [pc, #96] ; (8001468 ) - 8001408: 2200 movs r2, #0 - 800140a: 615a str r2, [r3, #20] + 8001366: 4b18 ldr r3, [pc, #96] ; (80013c8 ) + 8001368: 2200 movs r2, #0 + 800136a: 615a str r2, [r3, #20] htim1.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; - 800140c: 4b16 ldr r3, [pc, #88] ; (8001468 ) - 800140e: 2200 movs r2, #0 - 8001410: 619a str r2, [r3, #24] + 800136c: 4b16 ldr r3, [pc, #88] ; (80013c8 ) + 800136e: 2200 movs r2, #0 + 8001370: 619a str r2, [r3, #24] if (HAL_TIM_Base_Init(&htim1) != HAL_OK) - 8001412: 4815 ldr r0, [pc, #84] ; (8001468 ) - 8001414: f008 fe19 bl 800a04a - 8001418: 4603 mov r3, r0 - 800141a: 2b00 cmp r3, #0 - 800141c: d001 beq.n 8001422 + 8001372: 4815 ldr r0, [pc, #84] ; (80013c8 ) + 8001374: f008 fc37 bl 8009be6 + 8001378: 4603 mov r3, r0 + 800137a: 2b00 cmp r3, #0 + 800137c: d001 beq.n 8001382 { Error_Handler(); - 800141e: f001 f967 bl 80026f0 + 800137e: f001 f951 bl 8002624 } sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL; - 8001422: f44f 5380 mov.w r3, #4096 ; 0x1000 - 8001426: 613b str r3, [r7, #16] + 8001382: f44f 5380 mov.w r3, #4096 ; 0x1000 + 8001386: 613b str r3, [r7, #16] if (HAL_TIM_ConfigClockSource(&htim1, &sClockSourceConfig) != HAL_OK) - 8001428: f107 0310 add.w r3, r7, #16 - 800142c: 4619 mov r1, r3 - 800142e: 480e ldr r0, [pc, #56] ; (8001468 ) - 8001430: f009 f8cc bl 800a5cc - 8001434: 4603 mov r3, r0 - 8001436: 2b00 cmp r3, #0 - 8001438: d001 beq.n 800143e + 8001388: f107 0310 add.w r3, r7, #16 + 800138c: 4619 mov r1, r3 + 800138e: 480e ldr r0, [pc, #56] ; (80013c8 ) + 8001390: f008 feea bl 800a168 + 8001394: 4603 mov r3, r0 + 8001396: 2b00 cmp r3, #0 + 8001398: d001 beq.n 800139e { Error_Handler(); - 800143a: f001 f959 bl 80026f0 + 800139a: f001 f943 bl 8002624 } sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET; - 800143e: 2300 movs r3, #0 - 8001440: 607b str r3, [r7, #4] + 800139e: 2300 movs r3, #0 + 80013a0: 607b str r3, [r7, #4] sMasterConfig.MasterOutputTrigger2 = TIM_TRGO2_RESET; - 8001442: 2300 movs r3, #0 - 8001444: 60bb str r3, [r7, #8] + 80013a2: 2300 movs r3, #0 + 80013a4: 60bb str r3, [r7, #8] sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE; - 8001446: 2300 movs r3, #0 - 8001448: 60fb str r3, [r7, #12] + 80013a6: 2300 movs r3, #0 + 80013a8: 60fb str r3, [r7, #12] if (HAL_TIMEx_MasterConfigSynchronization(&htim1, &sMasterConfig) != HAL_OK) - 800144a: 1d3b adds r3, r7, #4 - 800144c: 4619 mov r1, r3 - 800144e: 4806 ldr r0, [pc, #24] ; (8001468 ) - 8001450: f009 fe00 bl 800b054 - 8001454: 4603 mov r3, r0 - 8001456: 2b00 cmp r3, #0 - 8001458: d001 beq.n 800145e + 80013aa: 1d3b adds r3, r7, #4 + 80013ac: 4619 mov r1, r3 + 80013ae: 4806 ldr r0, [pc, #24] ; (80013c8 ) + 80013b0: f009 fc1e bl 800abf0 + 80013b4: 4603 mov r3, r0 + 80013b6: 2b00 cmp r3, #0 + 80013b8: d001 beq.n 80013be { Error_Handler(); - 800145a: f001 f949 bl 80026f0 + 80013ba: f001 f933 bl 8002624 } /* USER CODE BEGIN TIM1_Init 2 */ /* USER CODE END TIM1_Init 2 */ +} + 80013be: bf00 nop + 80013c0: 3720 adds r7, #32 + 80013c2: 46bd mov sp, r7 + 80013c4: bd80 pop {r7, pc} + 80013c6: bf00 nop + 80013c8: 20008b24 .word 0x20008b24 + 80013cc: 40010000 .word 0x40010000 + +080013d0 : + * @brief TIM2 Initialization Function + * @param None + * @retval None + */ +static void MX_TIM2_Init(void) +{ + 80013d0: b580 push {r7, lr} + 80013d2: b088 sub sp, #32 + 80013d4: af00 add r7, sp, #0 + + /* USER CODE BEGIN TIM2_Init 0 */ + + /* USER CODE END TIM2_Init 0 */ + + TIM_ClockConfigTypeDef sClockSourceConfig = {0}; + 80013d6: f107 0310 add.w r3, r7, #16 + 80013da: 2200 movs r2, #0 + 80013dc: 601a str r2, [r3, #0] + 80013de: 605a str r2, [r3, #4] + 80013e0: 609a str r2, [r3, #8] + 80013e2: 60da str r2, [r3, #12] + TIM_MasterConfigTypeDef sMasterConfig = {0}; + 80013e4: 1d3b adds r3, r7, #4 + 80013e6: 2200 movs r2, #0 + 80013e8: 601a str r2, [r3, #0] + 80013ea: 605a str r2, [r3, #4] + 80013ec: 609a str r2, [r3, #8] + + /* USER CODE BEGIN TIM2_Init 1 */ + + /* USER CODE END TIM2_Init 1 */ + htim2.Instance = TIM2; + 80013ee: 4b1e ldr r3, [pc, #120] ; (8001468 ) + 80013f0: f04f 4280 mov.w r2, #1073741824 ; 0x40000000 + 80013f4: 601a str r2, [r3, #0] + htim2.Init.Prescaler = 0; + 80013f6: 4b1c ldr r3, [pc, #112] ; (8001468 ) + 80013f8: 2200 movs r2, #0 + 80013fa: 605a str r2, [r3, #4] + htim2.Init.CounterMode = TIM_COUNTERMODE_UP; + 80013fc: 4b1a ldr r3, [pc, #104] ; (8001468 ) + 80013fe: 2200 movs r2, #0 + 8001400: 609a str r2, [r3, #8] + htim2.Init.Period = 4294967295; + 8001402: 4b19 ldr r3, [pc, #100] ; (8001468 ) + 8001404: f04f 32ff mov.w r2, #4294967295 + 8001408: 60da str r2, [r3, #12] + htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; + 800140a: 4b17 ldr r3, [pc, #92] ; (8001468 ) + 800140c: 2200 movs r2, #0 + 800140e: 611a str r2, [r3, #16] + htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; + 8001410: 4b15 ldr r3, [pc, #84] ; (8001468 ) + 8001412: 2200 movs r2, #0 + 8001414: 619a str r2, [r3, #24] + if (HAL_TIM_Base_Init(&htim2) != HAL_OK) + 8001416: 4814 ldr r0, [pc, #80] ; (8001468 ) + 8001418: f008 fbe5 bl 8009be6 + 800141c: 4603 mov r3, r0 + 800141e: 2b00 cmp r3, #0 + 8001420: d001 beq.n 8001426 + { + Error_Handler(); + 8001422: f001 f8ff bl 8002624 + } + sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL; + 8001426: f44f 5380 mov.w r3, #4096 ; 0x1000 + 800142a: 613b str r3, [r7, #16] + if (HAL_TIM_ConfigClockSource(&htim2, &sClockSourceConfig) != HAL_OK) + 800142c: f107 0310 add.w r3, r7, #16 + 8001430: 4619 mov r1, r3 + 8001432: 480d ldr r0, [pc, #52] ; (8001468 ) + 8001434: f008 fe98 bl 800a168 + 8001438: 4603 mov r3, r0 + 800143a: 2b00 cmp r3, #0 + 800143c: d001 beq.n 8001442 + { + Error_Handler(); + 800143e: f001 f8f1 bl 8002624 + } + sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET; + 8001442: 2300 movs r3, #0 + 8001444: 607b str r3, [r7, #4] + sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE; + 8001446: 2300 movs r3, #0 + 8001448: 60fb str r3, [r7, #12] + if (HAL_TIMEx_MasterConfigSynchronization(&htim2, &sMasterConfig) != HAL_OK) + 800144a: 1d3b adds r3, r7, #4 + 800144c: 4619 mov r1, r3 + 800144e: 4806 ldr r0, [pc, #24] ; (8001468 ) + 8001450: f009 fbce bl 800abf0 + 8001454: 4603 mov r3, r0 + 8001456: 2b00 cmp r3, #0 + 8001458: d001 beq.n 800145e + { + Error_Handler(); + 800145a: f001 f8e3 bl 8002624 + } + /* USER CODE BEGIN TIM2_Init 2 */ + + /* USER CODE END TIM2_Init 2 */ + } 800145e: bf00 nop 8001460: 3720 adds r7, #32 8001462: 46bd mov sp, r7 8001464: bd80 pop {r7, pc} 8001466: bf00 nop - 8001468: 20008b28 .word 0x20008b28 - 800146c: 40010000 .word 0x40010000 + 8001468: 20008bb8 .word 0x20008bb8 -08001470 : - * @brief TIM2 Initialization Function - * @param None - * @retval None - */ -static void MX_TIM2_Init(void) -{ - 8001470: b580 push {r7, lr} - 8001472: b088 sub sp, #32 - 8001474: af00 add r7, sp, #0 - - /* USER CODE BEGIN TIM2_Init 0 */ - - /* USER CODE END TIM2_Init 0 */ - - TIM_ClockConfigTypeDef sClockSourceConfig = {0}; - 8001476: f107 0310 add.w r3, r7, #16 - 800147a: 2200 movs r2, #0 - 800147c: 601a str r2, [r3, #0] - 800147e: 605a str r2, [r3, #4] - 8001480: 609a str r2, [r3, #8] - 8001482: 60da str r2, [r3, #12] - TIM_MasterConfigTypeDef sMasterConfig = {0}; - 8001484: 1d3b adds r3, r7, #4 - 8001486: 2200 movs r2, #0 - 8001488: 601a str r2, [r3, #0] - 800148a: 605a str r2, [r3, #4] - 800148c: 609a str r2, [r3, #8] - - /* USER CODE BEGIN TIM2_Init 1 */ - - /* USER CODE END TIM2_Init 1 */ - htim2.Instance = TIM2; - 800148e: 4b1e ldr r3, [pc, #120] ; (8001508 ) - 8001490: f04f 4280 mov.w r2, #1073741824 ; 0x40000000 - 8001494: 601a str r2, [r3, #0] - htim2.Init.Prescaler = 0; - 8001496: 4b1c ldr r3, [pc, #112] ; (8001508 ) - 8001498: 2200 movs r2, #0 - 800149a: 605a str r2, [r3, #4] - htim2.Init.CounterMode = TIM_COUNTERMODE_UP; - 800149c: 4b1a ldr r3, [pc, #104] ; (8001508 ) - 800149e: 2200 movs r2, #0 - 80014a0: 609a str r2, [r3, #8] - htim2.Init.Period = 4294967295; - 80014a2: 4b19 ldr r3, [pc, #100] ; (8001508 ) - 80014a4: f04f 32ff mov.w r2, #4294967295 - 80014a8: 60da str r2, [r3, #12] - htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; - 80014aa: 4b17 ldr r3, [pc, #92] ; (8001508 ) - 80014ac: 2200 movs r2, #0 - 80014ae: 611a str r2, [r3, #16] - htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; - 80014b0: 4b15 ldr r3, [pc, #84] ; (8001508 ) - 80014b2: 2200 movs r2, #0 - 80014b4: 619a str r2, [r3, #24] - if (HAL_TIM_Base_Init(&htim2) != HAL_OK) - 80014b6: 4814 ldr r0, [pc, #80] ; (8001508 ) - 80014b8: f008 fdc7 bl 800a04a - 80014bc: 4603 mov r3, r0 - 80014be: 2b00 cmp r3, #0 - 80014c0: d001 beq.n 80014c6 - { - Error_Handler(); - 80014c2: f001 f915 bl 80026f0 - } - sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL; - 80014c6: f44f 5380 mov.w r3, #4096 ; 0x1000 - 80014ca: 613b str r3, [r7, #16] - if (HAL_TIM_ConfigClockSource(&htim2, &sClockSourceConfig) != HAL_OK) - 80014cc: f107 0310 add.w r3, r7, #16 - 80014d0: 4619 mov r1, r3 - 80014d2: 480d ldr r0, [pc, #52] ; (8001508 ) - 80014d4: f009 f87a bl 800a5cc - 80014d8: 4603 mov r3, r0 - 80014da: 2b00 cmp r3, #0 - 80014dc: d001 beq.n 80014e2 - { - Error_Handler(); - 80014de: f001 f907 bl 80026f0 - } - sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET; - 80014e2: 2300 movs r3, #0 - 80014e4: 607b str r3, [r7, #4] - sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE; - 80014e6: 2300 movs r3, #0 - 80014e8: 60fb str r3, [r7, #12] - if (HAL_TIMEx_MasterConfigSynchronization(&htim2, &sMasterConfig) != HAL_OK) - 80014ea: 1d3b adds r3, r7, #4 - 80014ec: 4619 mov r1, r3 - 80014ee: 4806 ldr r0, [pc, #24] ; (8001508 ) - 80014f0: f009 fdb0 bl 800b054 - 80014f4: 4603 mov r3, r0 - 80014f6: 2b00 cmp r3, #0 - 80014f8: d001 beq.n 80014fe - { - Error_Handler(); - 80014fa: f001 f8f9 bl 80026f0 - } - /* USER CODE BEGIN TIM2_Init 2 */ - - /* USER CODE END TIM2_Init 2 */ - -} - 80014fe: bf00 nop - 8001500: 3720 adds r7, #32 - 8001502: 46bd mov sp, r7 - 8001504: bd80 pop {r7, pc} - 8001506: bf00 nop - 8001508: 20008bbc .word 0x20008bbc - -0800150c : +0800146c : * @brief TIM3 Initialization Function * @param None * @retval None */ static void MX_TIM3_Init(void) { - 800150c: b580 push {r7, lr} - 800150e: b094 sub sp, #80 ; 0x50 - 8001510: af00 add r7, sp, #0 + 800146c: b580 push {r7, lr} + 800146e: b094 sub sp, #80 ; 0x50 + 8001470: af00 add r7, sp, #0 /* USER CODE BEGIN TIM3_Init 0 */ /* USER CODE END TIM3_Init 0 */ TIM_ClockConfigTypeDef sClockSourceConfig = {0}; - 8001512: f107 0340 add.w r3, r7, #64 ; 0x40 - 8001516: 2200 movs r2, #0 - 8001518: 601a str r2, [r3, #0] - 800151a: 605a str r2, [r3, #4] - 800151c: 609a str r2, [r3, #8] - 800151e: 60da str r2, [r3, #12] + 8001472: f107 0340 add.w r3, r7, #64 ; 0x40 + 8001476: 2200 movs r2, #0 + 8001478: 601a str r2, [r3, #0] + 800147a: 605a str r2, [r3, #4] + 800147c: 609a str r2, [r3, #8] + 800147e: 60da str r2, [r3, #12] TIM_SlaveConfigTypeDef sSlaveConfig = {0}; - 8001520: f107 032c add.w r3, r7, #44 ; 0x2c - 8001524: 2200 movs r2, #0 - 8001526: 601a str r2, [r3, #0] - 8001528: 605a str r2, [r3, #4] - 800152a: 609a str r2, [r3, #8] - 800152c: 60da str r2, [r3, #12] - 800152e: 611a str r2, [r3, #16] + 8001480: f107 032c add.w r3, r7, #44 ; 0x2c + 8001484: 2200 movs r2, #0 + 8001486: 601a str r2, [r3, #0] + 8001488: 605a str r2, [r3, #4] + 800148a: 609a str r2, [r3, #8] + 800148c: 60da str r2, [r3, #12] + 800148e: 611a str r2, [r3, #16] TIM_MasterConfigTypeDef sMasterConfig = {0}; - 8001530: f107 0320 add.w r3, r7, #32 - 8001534: 2200 movs r2, #0 - 8001536: 601a str r2, [r3, #0] - 8001538: 605a str r2, [r3, #4] - 800153a: 609a str r2, [r3, #8] + 8001490: f107 0320 add.w r3, r7, #32 + 8001494: 2200 movs r2, #0 + 8001496: 601a str r2, [r3, #0] + 8001498: 605a str r2, [r3, #4] + 800149a: 609a str r2, [r3, #8] TIM_OC_InitTypeDef sConfigOC = {0}; - 800153c: 1d3b adds r3, r7, #4 - 800153e: 2200 movs r2, #0 - 8001540: 601a str r2, [r3, #0] - 8001542: 605a str r2, [r3, #4] - 8001544: 609a str r2, [r3, #8] - 8001546: 60da str r2, [r3, #12] - 8001548: 611a str r2, [r3, #16] - 800154a: 615a str r2, [r3, #20] - 800154c: 619a str r2, [r3, #24] + 800149c: 1d3b adds r3, r7, #4 + 800149e: 2200 movs r2, #0 + 80014a0: 601a str r2, [r3, #0] + 80014a2: 605a str r2, [r3, #4] + 80014a4: 609a str r2, [r3, #8] + 80014a6: 60da str r2, [r3, #12] + 80014a8: 611a str r2, [r3, #16] + 80014aa: 615a str r2, [r3, #20] + 80014ac: 619a str r2, [r3, #24] /* USER CODE BEGIN TIM3_Init 1 */ /* USER CODE END TIM3_Init 1 */ htim3.Instance = TIM3; - 800154e: 4b34 ldr r3, [pc, #208] ; (8001620 ) - 8001550: 4a34 ldr r2, [pc, #208] ; (8001624 ) - 8001552: 601a str r2, [r3, #0] + 80014ae: 4b34 ldr r3, [pc, #208] ; (8001580 ) + 80014b0: 4a34 ldr r2, [pc, #208] ; (8001584 ) + 80014b2: 601a str r2, [r3, #0] htim3.Init.Prescaler = 0; - 8001554: 4b32 ldr r3, [pc, #200] ; (8001620 ) - 8001556: 2200 movs r2, #0 - 8001558: 605a str r2, [r3, #4] + 80014b4: 4b32 ldr r3, [pc, #200] ; (8001580 ) + 80014b6: 2200 movs r2, #0 + 80014b8: 605a str r2, [r3, #4] htim3.Init.CounterMode = TIM_COUNTERMODE_UP; - 800155a: 4b31 ldr r3, [pc, #196] ; (8001620 ) - 800155c: 2200 movs r2, #0 - 800155e: 609a str r2, [r3, #8] + 80014ba: 4b31 ldr r3, [pc, #196] ; (8001580 ) + 80014bc: 2200 movs r2, #0 + 80014be: 609a str r2, [r3, #8] htim3.Init.Period = 65535; - 8001560: 4b2f ldr r3, [pc, #188] ; (8001620 ) - 8001562: f64f 72ff movw r2, #65535 ; 0xffff - 8001566: 60da str r2, [r3, #12] + 80014c0: 4b2f ldr r3, [pc, #188] ; (8001580 ) + 80014c2: f64f 72ff movw r2, #65535 ; 0xffff + 80014c6: 60da str r2, [r3, #12] htim3.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; - 8001568: 4b2d ldr r3, [pc, #180] ; (8001620 ) - 800156a: 2200 movs r2, #0 - 800156c: 611a str r2, [r3, #16] + 80014c8: 4b2d ldr r3, [pc, #180] ; (8001580 ) + 80014ca: 2200 movs r2, #0 + 80014cc: 611a str r2, [r3, #16] htim3.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; - 800156e: 4b2c ldr r3, [pc, #176] ; (8001620 ) - 8001570: 2200 movs r2, #0 - 8001572: 619a str r2, [r3, #24] + 80014ce: 4b2c ldr r3, [pc, #176] ; (8001580 ) + 80014d0: 2200 movs r2, #0 + 80014d2: 619a str r2, [r3, #24] if (HAL_TIM_Base_Init(&htim3) != HAL_OK) - 8001574: 482a ldr r0, [pc, #168] ; (8001620 ) - 8001576: f008 fd68 bl 800a04a - 800157a: 4603 mov r3, r0 - 800157c: 2b00 cmp r3, #0 - 800157e: d001 beq.n 8001584 + 80014d4: 482a ldr r0, [pc, #168] ; (8001580 ) + 80014d6: f008 fb86 bl 8009be6 + 80014da: 4603 mov r3, r0 + 80014dc: 2b00 cmp r3, #0 + 80014de: d001 beq.n 80014e4 { Error_Handler(); - 8001580: f001 f8b6 bl 80026f0 + 80014e0: f001 f8a0 bl 8002624 } sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL; - 8001584: f44f 5380 mov.w r3, #4096 ; 0x1000 - 8001588: 643b str r3, [r7, #64] ; 0x40 + 80014e4: f44f 5380 mov.w r3, #4096 ; 0x1000 + 80014e8: 643b str r3, [r7, #64] ; 0x40 if (HAL_TIM_ConfigClockSource(&htim3, &sClockSourceConfig) != HAL_OK) - 800158a: f107 0340 add.w r3, r7, #64 ; 0x40 - 800158e: 4619 mov r1, r3 - 8001590: 4823 ldr r0, [pc, #140] ; (8001620 ) - 8001592: f009 f81b bl 800a5cc - 8001596: 4603 mov r3, r0 - 8001598: 2b00 cmp r3, #0 - 800159a: d001 beq.n 80015a0 + 80014ea: f107 0340 add.w r3, r7, #64 ; 0x40 + 80014ee: 4619 mov r1, r3 + 80014f0: 4823 ldr r0, [pc, #140] ; (8001580 ) + 80014f2: f008 fe39 bl 800a168 + 80014f6: 4603 mov r3, r0 + 80014f8: 2b00 cmp r3, #0 + 80014fa: d001 beq.n 8001500 { Error_Handler(); - 800159c: f001 f8a8 bl 80026f0 + 80014fc: f001 f892 bl 8002624 } if (HAL_TIM_PWM_Init(&htim3) != HAL_OK) - 80015a0: 481f ldr r0, [pc, #124] ; (8001620 ) - 80015a2: f008 fda7 bl 800a0f4 - 80015a6: 4603 mov r3, r0 - 80015a8: 2b00 cmp r3, #0 - 80015aa: d001 beq.n 80015b0 + 8001500: 481f ldr r0, [pc, #124] ; (8001580 ) + 8001502: f008 fbc5 bl 8009c90 + 8001506: 4603 mov r3, r0 + 8001508: 2b00 cmp r3, #0 + 800150a: d001 beq.n 8001510 { Error_Handler(); - 80015ac: f001 f8a0 bl 80026f0 + 800150c: f001 f88a bl 8002624 } sSlaveConfig.SlaveMode = TIM_SLAVEMODE_DISABLE; - 80015b0: 2300 movs r3, #0 - 80015b2: 62fb str r3, [r7, #44] ; 0x2c + 8001510: 2300 movs r3, #0 + 8001512: 62fb str r3, [r7, #44] ; 0x2c sSlaveConfig.InputTrigger = TIM_TS_ITR0; - 80015b4: 2300 movs r3, #0 - 80015b6: 633b str r3, [r7, #48] ; 0x30 + 8001514: 2300 movs r3, #0 + 8001516: 633b str r3, [r7, #48] ; 0x30 if (HAL_TIM_SlaveConfigSynchro(&htim3, &sSlaveConfig) != HAL_OK) - 80015b8: f107 032c add.w r3, r7, #44 ; 0x2c - 80015bc: 4619 mov r1, r3 - 80015be: 4818 ldr r0, [pc, #96] ; (8001620 ) - 80015c0: f009 f8be bl 800a740 - 80015c4: 4603 mov r3, r0 - 80015c6: 2b00 cmp r3, #0 - 80015c8: d001 beq.n 80015ce + 8001518: f107 032c add.w r3, r7, #44 ; 0x2c + 800151c: 4619 mov r1, r3 + 800151e: 4818 ldr r0, [pc, #96] ; (8001580 ) + 8001520: f008 fedc bl 800a2dc + 8001524: 4603 mov r3, r0 + 8001526: 2b00 cmp r3, #0 + 8001528: d001 beq.n 800152e { Error_Handler(); - 80015ca: f001 f891 bl 80026f0 + 800152a: f001 f87b bl 8002624 } sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET; - 80015ce: 2300 movs r3, #0 - 80015d0: 623b str r3, [r7, #32] + 800152e: 2300 movs r3, #0 + 8001530: 623b str r3, [r7, #32] sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE; - 80015d2: 2300 movs r3, #0 - 80015d4: 62bb str r3, [r7, #40] ; 0x28 + 8001532: 2300 movs r3, #0 + 8001534: 62bb str r3, [r7, #40] ; 0x28 if (HAL_TIMEx_MasterConfigSynchronization(&htim3, &sMasterConfig) != HAL_OK) - 80015d6: f107 0320 add.w r3, r7, #32 - 80015da: 4619 mov r1, r3 - 80015dc: 4810 ldr r0, [pc, #64] ; (8001620 ) - 80015de: f009 fd39 bl 800b054 - 80015e2: 4603 mov r3, r0 - 80015e4: 2b00 cmp r3, #0 - 80015e6: d001 beq.n 80015ec + 8001536: f107 0320 add.w r3, r7, #32 + 800153a: 4619 mov r1, r3 + 800153c: 4810 ldr r0, [pc, #64] ; (8001580 ) + 800153e: f009 fb57 bl 800abf0 + 8001542: 4603 mov r3, r0 + 8001544: 2b00 cmp r3, #0 + 8001546: d001 beq.n 800154c { Error_Handler(); - 80015e8: f001 f882 bl 80026f0 + 8001548: f001 f86c bl 8002624 } sConfigOC.OCMode = TIM_OCMODE_PWM1; - 80015ec: 2360 movs r3, #96 ; 0x60 - 80015ee: 607b str r3, [r7, #4] + 800154c: 2360 movs r3, #96 ; 0x60 + 800154e: 607b str r3, [r7, #4] sConfigOC.Pulse = 0; - 80015f0: 2300 movs r3, #0 - 80015f2: 60bb str r3, [r7, #8] + 8001550: 2300 movs r3, #0 + 8001552: 60bb str r3, [r7, #8] sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH; - 80015f4: 2300 movs r3, #0 - 80015f6: 60fb str r3, [r7, #12] + 8001554: 2300 movs r3, #0 + 8001556: 60fb str r3, [r7, #12] sConfigOC.OCFastMode = TIM_OCFAST_DISABLE; - 80015f8: 2300 movs r3, #0 - 80015fa: 617b str r3, [r7, #20] + 8001558: 2300 movs r3, #0 + 800155a: 617b str r3, [r7, #20] if (HAL_TIM_PWM_ConfigChannel(&htim3, &sConfigOC, TIM_CHANNEL_1) != HAL_OK) - 80015fc: 1d3b adds r3, r7, #4 - 80015fe: 2200 movs r2, #0 - 8001600: 4619 mov r1, r3 - 8001602: 4807 ldr r0, [pc, #28] ; (8001620 ) - 8001604: f008 feca bl 800a39c - 8001608: 4603 mov r3, r0 - 800160a: 2b00 cmp r3, #0 - 800160c: d001 beq.n 8001612 + 800155c: 1d3b adds r3, r7, #4 + 800155e: 2200 movs r2, #0 + 8001560: 4619 mov r1, r3 + 8001562: 4807 ldr r0, [pc, #28] ; (8001580 ) + 8001564: f008 fce8 bl 8009f38 + 8001568: 4603 mov r3, r0 + 800156a: 2b00 cmp r3, #0 + 800156c: d001 beq.n 8001572 { Error_Handler(); - 800160e: f001 f86f bl 80026f0 + 800156e: f001 f859 bl 8002624 } /* USER CODE BEGIN TIM3_Init 2 */ /* USER CODE END TIM3_Init 2 */ HAL_TIM_MspPostInit(&htim3); - 8001612: 4803 ldr r0, [pc, #12] ; (8001620 ) - 8001614: f003 f97e bl 8004914 + 8001572: 4803 ldr r0, [pc, #12] ; (8001580 ) + 8001574: f002 ff7a bl 800446c } - 8001618: bf00 nop - 800161a: 3750 adds r7, #80 ; 0x50 - 800161c: 46bd mov sp, r7 - 800161e: bd80 pop {r7, pc} - 8001620: 20008990 .word 0x20008990 - 8001624: 40000400 .word 0x40000400 + 8001578: bf00 nop + 800157a: 3750 adds r7, #80 ; 0x50 + 800157c: 46bd mov sp, r7 + 800157e: bd80 pop {r7, pc} + 8001580: 2000898c .word 0x2000898c + 8001584: 40000400 .word 0x40000400 -08001628 : +08001588 : * @brief TIM5 Initialization Function * @param None * @retval None */ static void MX_TIM5_Init(void) { - 8001628: b580 push {r7, lr} - 800162a: b088 sub sp, #32 - 800162c: af00 add r7, sp, #0 + 8001588: b580 push {r7, lr} + 800158a: b088 sub sp, #32 + 800158c: af00 add r7, sp, #0 /* USER CODE BEGIN TIM5_Init 0 */ /* USER CODE END TIM5_Init 0 */ TIM_ClockConfigTypeDef sClockSourceConfig = {0}; - 800162e: f107 0310 add.w r3, r7, #16 - 8001632: 2200 movs r2, #0 - 8001634: 601a str r2, [r3, #0] - 8001636: 605a str r2, [r3, #4] - 8001638: 609a str r2, [r3, #8] - 800163a: 60da str r2, [r3, #12] + 800158e: f107 0310 add.w r3, r7, #16 + 8001592: 2200 movs r2, #0 + 8001594: 601a str r2, [r3, #0] + 8001596: 605a str r2, [r3, #4] + 8001598: 609a str r2, [r3, #8] + 800159a: 60da str r2, [r3, #12] TIM_MasterConfigTypeDef sMasterConfig = {0}; - 800163c: 1d3b adds r3, r7, #4 - 800163e: 2200 movs r2, #0 - 8001640: 601a str r2, [r3, #0] - 8001642: 605a str r2, [r3, #4] - 8001644: 609a str r2, [r3, #8] + 800159c: 1d3b adds r3, r7, #4 + 800159e: 2200 movs r2, #0 + 80015a0: 601a str r2, [r3, #0] + 80015a2: 605a str r2, [r3, #4] + 80015a4: 609a str r2, [r3, #8] /* USER CODE BEGIN TIM5_Init 1 */ /* USER CODE END TIM5_Init 1 */ htim5.Instance = TIM5; - 8001646: 4b1d ldr r3, [pc, #116] ; (80016bc ) - 8001648: 4a1d ldr r2, [pc, #116] ; (80016c0 ) - 800164a: 601a str r2, [r3, #0] + 80015a6: 4b1d ldr r3, [pc, #116] ; (800161c ) + 80015a8: 4a1d ldr r2, [pc, #116] ; (8001620 ) + 80015aa: 601a str r2, [r3, #0] htim5.Init.Prescaler = 0; - 800164c: 4b1b ldr r3, [pc, #108] ; (80016bc ) - 800164e: 2200 movs r2, #0 - 8001650: 605a str r2, [r3, #4] + 80015ac: 4b1b ldr r3, [pc, #108] ; (800161c ) + 80015ae: 2200 movs r2, #0 + 80015b0: 605a str r2, [r3, #4] htim5.Init.CounterMode = TIM_COUNTERMODE_UP; - 8001652: 4b1a ldr r3, [pc, #104] ; (80016bc ) - 8001654: 2200 movs r2, #0 - 8001656: 609a str r2, [r3, #8] + 80015b2: 4b1a ldr r3, [pc, #104] ; (800161c ) + 80015b4: 2200 movs r2, #0 + 80015b6: 609a str r2, [r3, #8] htim5.Init.Period = 4294967295; - 8001658: 4b18 ldr r3, [pc, #96] ; (80016bc ) - 800165a: f04f 32ff mov.w r2, #4294967295 - 800165e: 60da str r2, [r3, #12] + 80015b8: 4b18 ldr r3, [pc, #96] ; (800161c ) + 80015ba: f04f 32ff mov.w r2, #4294967295 + 80015be: 60da str r2, [r3, #12] htim5.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; - 8001660: 4b16 ldr r3, [pc, #88] ; (80016bc ) - 8001662: 2200 movs r2, #0 - 8001664: 611a str r2, [r3, #16] + 80015c0: 4b16 ldr r3, [pc, #88] ; (800161c ) + 80015c2: 2200 movs r2, #0 + 80015c4: 611a str r2, [r3, #16] htim5.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; - 8001666: 4b15 ldr r3, [pc, #84] ; (80016bc ) - 8001668: 2200 movs r2, #0 - 800166a: 619a str r2, [r3, #24] + 80015c6: 4b15 ldr r3, [pc, #84] ; (800161c ) + 80015c8: 2200 movs r2, #0 + 80015ca: 619a str r2, [r3, #24] if (HAL_TIM_Base_Init(&htim5) != HAL_OK) - 800166c: 4813 ldr r0, [pc, #76] ; (80016bc ) - 800166e: f008 fcec bl 800a04a - 8001672: 4603 mov r3, r0 - 8001674: 2b00 cmp r3, #0 - 8001676: d001 beq.n 800167c + 80015cc: 4813 ldr r0, [pc, #76] ; (800161c ) + 80015ce: f008 fb0a bl 8009be6 + 80015d2: 4603 mov r3, r0 + 80015d4: 2b00 cmp r3, #0 + 80015d6: d001 beq.n 80015dc { Error_Handler(); - 8001678: f001 f83a bl 80026f0 + 80015d8: f001 f824 bl 8002624 } sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL; - 800167c: f44f 5380 mov.w r3, #4096 ; 0x1000 - 8001680: 613b str r3, [r7, #16] + 80015dc: f44f 5380 mov.w r3, #4096 ; 0x1000 + 80015e0: 613b str r3, [r7, #16] if (HAL_TIM_ConfigClockSource(&htim5, &sClockSourceConfig) != HAL_OK) - 8001682: f107 0310 add.w r3, r7, #16 - 8001686: 4619 mov r1, r3 - 8001688: 480c ldr r0, [pc, #48] ; (80016bc ) - 800168a: f008 ff9f bl 800a5cc - 800168e: 4603 mov r3, r0 - 8001690: 2b00 cmp r3, #0 - 8001692: d001 beq.n 8001698 + 80015e2: f107 0310 add.w r3, r7, #16 + 80015e6: 4619 mov r1, r3 + 80015e8: 480c ldr r0, [pc, #48] ; (800161c ) + 80015ea: f008 fdbd bl 800a168 + 80015ee: 4603 mov r3, r0 + 80015f0: 2b00 cmp r3, #0 + 80015f2: d001 beq.n 80015f8 { Error_Handler(); - 8001694: f001 f82c bl 80026f0 + 80015f4: f001 f816 bl 8002624 } sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET; - 8001698: 2300 movs r3, #0 - 800169a: 607b str r3, [r7, #4] + 80015f8: 2300 movs r3, #0 + 80015fa: 607b str r3, [r7, #4] sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE; - 800169c: 2300 movs r3, #0 - 800169e: 60fb str r3, [r7, #12] + 80015fc: 2300 movs r3, #0 + 80015fe: 60fb str r3, [r7, #12] if (HAL_TIMEx_MasterConfigSynchronization(&htim5, &sMasterConfig) != HAL_OK) - 80016a0: 1d3b adds r3, r7, #4 - 80016a2: 4619 mov r1, r3 - 80016a4: 4805 ldr r0, [pc, #20] ; (80016bc ) - 80016a6: f009 fcd5 bl 800b054 - 80016aa: 4603 mov r3, r0 - 80016ac: 2b00 cmp r3, #0 - 80016ae: d001 beq.n 80016b4 + 8001600: 1d3b adds r3, r7, #4 + 8001602: 4619 mov r1, r3 + 8001604: 4805 ldr r0, [pc, #20] ; (800161c ) + 8001606: f009 faf3 bl 800abf0 + 800160a: 4603 mov r3, r0 + 800160c: 2b00 cmp r3, #0 + 800160e: d001 beq.n 8001614 { Error_Handler(); - 80016b0: f001 f81e bl 80026f0 + 8001610: f001 f808 bl 8002624 } /* USER CODE BEGIN TIM5_Init 2 */ /* USER CODE END TIM5_Init 2 */ } - 80016b4: bf00 nop - 80016b6: 3720 adds r7, #32 - 80016b8: 46bd mov sp, r7 - 80016ba: bd80 pop {r7, pc} - 80016bc: 20008950 .word 0x20008950 - 80016c0: 40000c00 .word 0x40000c00 + 8001614: bf00 nop + 8001616: 3720 adds r7, #32 + 8001618: 46bd mov sp, r7 + 800161a: bd80 pop {r7, pc} + 800161c: 2000894c .word 0x2000894c + 8001620: 40000c00 .word 0x40000c00 -080016c4 : +08001624 : * @brief TIM8 Initialization Function * @param None * @retval None */ static void MX_TIM8_Init(void) { - 80016c4: b580 push {r7, lr} - 80016c6: b09a sub sp, #104 ; 0x68 - 80016c8: af00 add r7, sp, #0 + 8001624: b580 push {r7, lr} + 8001626: b09a sub sp, #104 ; 0x68 + 8001628: af00 add r7, sp, #0 /* USER CODE BEGIN TIM8_Init 0 */ /* USER CODE END TIM8_Init 0 */ TIM_ClockConfigTypeDef sClockSourceConfig = {0}; - 80016ca: f107 0358 add.w r3, r7, #88 ; 0x58 - 80016ce: 2200 movs r2, #0 - 80016d0: 601a str r2, [r3, #0] - 80016d2: 605a str r2, [r3, #4] - 80016d4: 609a str r2, [r3, #8] - 80016d6: 60da str r2, [r3, #12] + 800162a: f107 0358 add.w r3, r7, #88 ; 0x58 + 800162e: 2200 movs r2, #0 + 8001630: 601a str r2, [r3, #0] + 8001632: 605a str r2, [r3, #4] + 8001634: 609a str r2, [r3, #8] + 8001636: 60da str r2, [r3, #12] TIM_MasterConfigTypeDef sMasterConfig = {0}; - 80016d8: f107 034c add.w r3, r7, #76 ; 0x4c - 80016dc: 2200 movs r2, #0 - 80016de: 601a str r2, [r3, #0] - 80016e0: 605a str r2, [r3, #4] - 80016e2: 609a str r2, [r3, #8] + 8001638: f107 034c add.w r3, r7, #76 ; 0x4c + 800163c: 2200 movs r2, #0 + 800163e: 601a str r2, [r3, #0] + 8001640: 605a str r2, [r3, #4] + 8001642: 609a str r2, [r3, #8] TIM_OC_InitTypeDef sConfigOC = {0}; - 80016e4: f107 0330 add.w r3, r7, #48 ; 0x30 - 80016e8: 2200 movs r2, #0 - 80016ea: 601a str r2, [r3, #0] - 80016ec: 605a str r2, [r3, #4] - 80016ee: 609a str r2, [r3, #8] - 80016f0: 60da str r2, [r3, #12] - 80016f2: 611a str r2, [r3, #16] - 80016f4: 615a str r2, [r3, #20] - 80016f6: 619a str r2, [r3, #24] + 8001644: f107 0330 add.w r3, r7, #48 ; 0x30 + 8001648: 2200 movs r2, #0 + 800164a: 601a str r2, [r3, #0] + 800164c: 605a str r2, [r3, #4] + 800164e: 609a str r2, [r3, #8] + 8001650: 60da str r2, [r3, #12] + 8001652: 611a str r2, [r3, #16] + 8001654: 615a str r2, [r3, #20] + 8001656: 619a str r2, [r3, #24] TIM_BreakDeadTimeConfigTypeDef sBreakDeadTimeConfig = {0}; - 80016f8: 1d3b adds r3, r7, #4 - 80016fa: 222c movs r2, #44 ; 0x2c - 80016fc: 2100 movs r1, #0 - 80016fe: 4618 mov r0, r3 - 8001700: f019 fed1 bl 801b4a6 + 8001658: 1d3b adds r3, r7, #4 + 800165a: 222c movs r2, #44 ; 0x2c + 800165c: 2100 movs r1, #0 + 800165e: 4618 mov r0, r3 + 8001660: f019 fcd0 bl 801b004 /* USER CODE BEGIN TIM8_Init 1 */ /* USER CODE END TIM8_Init 1 */ htim8.Instance = TIM8; - 8001704: 4b42 ldr r3, [pc, #264] ; (8001810 ) - 8001706: 4a43 ldr r2, [pc, #268] ; (8001814 ) - 8001708: 601a str r2, [r3, #0] + 8001664: 4b42 ldr r3, [pc, #264] ; (8001770 ) + 8001666: 4a43 ldr r2, [pc, #268] ; (8001774 ) + 8001668: 601a str r2, [r3, #0] htim8.Init.Prescaler = 0; - 800170a: 4b41 ldr r3, [pc, #260] ; (8001810 ) - 800170c: 2200 movs r2, #0 - 800170e: 605a str r2, [r3, #4] + 800166a: 4b41 ldr r3, [pc, #260] ; (8001770 ) + 800166c: 2200 movs r2, #0 + 800166e: 605a str r2, [r3, #4] htim8.Init.CounterMode = TIM_COUNTERMODE_UP; - 8001710: 4b3f ldr r3, [pc, #252] ; (8001810 ) - 8001712: 2200 movs r2, #0 - 8001714: 609a str r2, [r3, #8] + 8001670: 4b3f ldr r3, [pc, #252] ; (8001770 ) + 8001672: 2200 movs r2, #0 + 8001674: 609a str r2, [r3, #8] htim8.Init.Period = 65535; - 8001716: 4b3e ldr r3, [pc, #248] ; (8001810 ) - 8001718: f64f 72ff movw r2, #65535 ; 0xffff - 800171c: 60da str r2, [r3, #12] + 8001676: 4b3e ldr r3, [pc, #248] ; (8001770 ) + 8001678: f64f 72ff movw r2, #65535 ; 0xffff + 800167c: 60da str r2, [r3, #12] htim8.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; - 800171e: 4b3c ldr r3, [pc, #240] ; (8001810 ) - 8001720: 2200 movs r2, #0 - 8001722: 611a str r2, [r3, #16] + 800167e: 4b3c ldr r3, [pc, #240] ; (8001770 ) + 8001680: 2200 movs r2, #0 + 8001682: 611a str r2, [r3, #16] htim8.Init.RepetitionCounter = 0; - 8001724: 4b3a ldr r3, [pc, #232] ; (8001810 ) - 8001726: 2200 movs r2, #0 - 8001728: 615a str r2, [r3, #20] + 8001684: 4b3a ldr r3, [pc, #232] ; (8001770 ) + 8001686: 2200 movs r2, #0 + 8001688: 615a str r2, [r3, #20] htim8.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; - 800172a: 4b39 ldr r3, [pc, #228] ; (8001810 ) - 800172c: 2200 movs r2, #0 - 800172e: 619a str r2, [r3, #24] + 800168a: 4b39 ldr r3, [pc, #228] ; (8001770 ) + 800168c: 2200 movs r2, #0 + 800168e: 619a str r2, [r3, #24] if (HAL_TIM_Base_Init(&htim8) != HAL_OK) - 8001730: 4837 ldr r0, [pc, #220] ; (8001810 ) - 8001732: f008 fc8a bl 800a04a - 8001736: 4603 mov r3, r0 - 8001738: 2b00 cmp r3, #0 - 800173a: d001 beq.n 8001740 + 8001690: 4837 ldr r0, [pc, #220] ; (8001770 ) + 8001692: f008 faa8 bl 8009be6 + 8001696: 4603 mov r3, r0 + 8001698: 2b00 cmp r3, #0 + 800169a: d001 beq.n 80016a0 { Error_Handler(); - 800173c: f000 ffd8 bl 80026f0 + 800169c: f000 ffc2 bl 8002624 } sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL; - 8001740: f44f 5380 mov.w r3, #4096 ; 0x1000 - 8001744: 65bb str r3, [r7, #88] ; 0x58 + 80016a0: f44f 5380 mov.w r3, #4096 ; 0x1000 + 80016a4: 65bb str r3, [r7, #88] ; 0x58 if (HAL_TIM_ConfigClockSource(&htim8, &sClockSourceConfig) != HAL_OK) - 8001746: f107 0358 add.w r3, r7, #88 ; 0x58 - 800174a: 4619 mov r1, r3 - 800174c: 4830 ldr r0, [pc, #192] ; (8001810 ) - 800174e: f008 ff3d bl 800a5cc - 8001752: 4603 mov r3, r0 - 8001754: 2b00 cmp r3, #0 - 8001756: d001 beq.n 800175c + 80016a6: f107 0358 add.w r3, r7, #88 ; 0x58 + 80016aa: 4619 mov r1, r3 + 80016ac: 4830 ldr r0, [pc, #192] ; (8001770 ) + 80016ae: f008 fd5b bl 800a168 + 80016b2: 4603 mov r3, r0 + 80016b4: 2b00 cmp r3, #0 + 80016b6: d001 beq.n 80016bc { Error_Handler(); - 8001758: f000 ffca bl 80026f0 + 80016b8: f000 ffb4 bl 8002624 } if (HAL_TIM_PWM_Init(&htim8) != HAL_OK) - 800175c: 482c ldr r0, [pc, #176] ; (8001810 ) - 800175e: f008 fcc9 bl 800a0f4 - 8001762: 4603 mov r3, r0 - 8001764: 2b00 cmp r3, #0 - 8001766: d001 beq.n 800176c + 80016bc: 482c ldr r0, [pc, #176] ; (8001770 ) + 80016be: f008 fae7 bl 8009c90 + 80016c2: 4603 mov r3, r0 + 80016c4: 2b00 cmp r3, #0 + 80016c6: d001 beq.n 80016cc { Error_Handler(); - 8001768: f000 ffc2 bl 80026f0 + 80016c8: f000 ffac bl 8002624 } sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET; - 800176c: 2300 movs r3, #0 - 800176e: 64fb str r3, [r7, #76] ; 0x4c + 80016cc: 2300 movs r3, #0 + 80016ce: 64fb str r3, [r7, #76] ; 0x4c sMasterConfig.MasterOutputTrigger2 = TIM_TRGO2_RESET; - 8001770: 2300 movs r3, #0 - 8001772: 653b str r3, [r7, #80] ; 0x50 + 80016d0: 2300 movs r3, #0 + 80016d2: 653b str r3, [r7, #80] ; 0x50 sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE; - 8001774: 2300 movs r3, #0 - 8001776: 657b str r3, [r7, #84] ; 0x54 + 80016d4: 2300 movs r3, #0 + 80016d6: 657b str r3, [r7, #84] ; 0x54 if (HAL_TIMEx_MasterConfigSynchronization(&htim8, &sMasterConfig) != HAL_OK) - 8001778: f107 034c add.w r3, r7, #76 ; 0x4c - 800177c: 4619 mov r1, r3 - 800177e: 4824 ldr r0, [pc, #144] ; (8001810 ) - 8001780: f009 fc68 bl 800b054 - 8001784: 4603 mov r3, r0 - 8001786: 2b00 cmp r3, #0 - 8001788: d001 beq.n 800178e + 80016d8: f107 034c add.w r3, r7, #76 ; 0x4c + 80016dc: 4619 mov r1, r3 + 80016de: 4824 ldr r0, [pc, #144] ; (8001770 ) + 80016e0: f009 fa86 bl 800abf0 + 80016e4: 4603 mov r3, r0 + 80016e6: 2b00 cmp r3, #0 + 80016e8: d001 beq.n 80016ee { Error_Handler(); - 800178a: f000 ffb1 bl 80026f0 + 80016ea: f000 ff9b bl 8002624 } sConfigOC.OCMode = TIM_OCMODE_PWM1; - 800178e: 2360 movs r3, #96 ; 0x60 - 8001790: 633b str r3, [r7, #48] ; 0x30 + 80016ee: 2360 movs r3, #96 ; 0x60 + 80016f0: 633b str r3, [r7, #48] ; 0x30 sConfigOC.Pulse = 0; - 8001792: 2300 movs r3, #0 - 8001794: 637b str r3, [r7, #52] ; 0x34 + 80016f2: 2300 movs r3, #0 + 80016f4: 637b str r3, [r7, #52] ; 0x34 sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH; - 8001796: 2300 movs r3, #0 - 8001798: 63bb str r3, [r7, #56] ; 0x38 + 80016f6: 2300 movs r3, #0 + 80016f8: 63bb str r3, [r7, #56] ; 0x38 sConfigOC.OCFastMode = TIM_OCFAST_DISABLE; - 800179a: 2300 movs r3, #0 - 800179c: 643b str r3, [r7, #64] ; 0x40 + 80016fa: 2300 movs r3, #0 + 80016fc: 643b str r3, [r7, #64] ; 0x40 sConfigOC.OCIdleState = TIM_OCIDLESTATE_RESET; - 800179e: 2300 movs r3, #0 - 80017a0: 647b str r3, [r7, #68] ; 0x44 + 80016fe: 2300 movs r3, #0 + 8001700: 647b str r3, [r7, #68] ; 0x44 sConfigOC.OCNIdleState = TIM_OCNIDLESTATE_RESET; - 80017a2: 2300 movs r3, #0 - 80017a4: 64bb str r3, [r7, #72] ; 0x48 + 8001702: 2300 movs r3, #0 + 8001704: 64bb str r3, [r7, #72] ; 0x48 if (HAL_TIM_PWM_ConfigChannel(&htim8, &sConfigOC, TIM_CHANNEL_4) != HAL_OK) - 80017a6: f107 0330 add.w r3, r7, #48 ; 0x30 - 80017aa: 220c movs r2, #12 - 80017ac: 4619 mov r1, r3 - 80017ae: 4818 ldr r0, [pc, #96] ; (8001810 ) - 80017b0: f008 fdf4 bl 800a39c - 80017b4: 4603 mov r3, r0 - 80017b6: 2b00 cmp r3, #0 - 80017b8: d001 beq.n 80017be + 8001706: f107 0330 add.w r3, r7, #48 ; 0x30 + 800170a: 220c movs r2, #12 + 800170c: 4619 mov r1, r3 + 800170e: 4818 ldr r0, [pc, #96] ; (8001770 ) + 8001710: f008 fc12 bl 8009f38 + 8001714: 4603 mov r3, r0 + 8001716: 2b00 cmp r3, #0 + 8001718: d001 beq.n 800171e { Error_Handler(); - 80017ba: f000 ff99 bl 80026f0 + 800171a: f000 ff83 bl 8002624 } sBreakDeadTimeConfig.OffStateRunMode = TIM_OSSR_DISABLE; - 80017be: 2300 movs r3, #0 - 80017c0: 607b str r3, [r7, #4] + 800171e: 2300 movs r3, #0 + 8001720: 607b str r3, [r7, #4] sBreakDeadTimeConfig.OffStateIDLEMode = TIM_OSSI_DISABLE; - 80017c2: 2300 movs r3, #0 - 80017c4: 60bb str r3, [r7, #8] + 8001722: 2300 movs r3, #0 + 8001724: 60bb str r3, [r7, #8] sBreakDeadTimeConfig.LockLevel = TIM_LOCKLEVEL_OFF; - 80017c6: 2300 movs r3, #0 - 80017c8: 60fb str r3, [r7, #12] + 8001726: 2300 movs r3, #0 + 8001728: 60fb str r3, [r7, #12] sBreakDeadTimeConfig.DeadTime = 0; - 80017ca: 2300 movs r3, #0 - 80017cc: 613b str r3, [r7, #16] + 800172a: 2300 movs r3, #0 + 800172c: 613b str r3, [r7, #16] sBreakDeadTimeConfig.BreakState = TIM_BREAK_DISABLE; - 80017ce: 2300 movs r3, #0 - 80017d0: 617b str r3, [r7, #20] + 800172e: 2300 movs r3, #0 + 8001730: 617b str r3, [r7, #20] sBreakDeadTimeConfig.BreakPolarity = TIM_BREAKPOLARITY_HIGH; - 80017d2: f44f 5300 mov.w r3, #8192 ; 0x2000 - 80017d6: 61bb str r3, [r7, #24] + 8001732: f44f 5300 mov.w r3, #8192 ; 0x2000 + 8001736: 61bb str r3, [r7, #24] sBreakDeadTimeConfig.BreakFilter = 0; - 80017d8: 2300 movs r3, #0 - 80017da: 61fb str r3, [r7, #28] + 8001738: 2300 movs r3, #0 + 800173a: 61fb str r3, [r7, #28] sBreakDeadTimeConfig.Break2State = TIM_BREAK2_DISABLE; - 80017dc: 2300 movs r3, #0 - 80017de: 623b str r3, [r7, #32] + 800173c: 2300 movs r3, #0 + 800173e: 623b str r3, [r7, #32] sBreakDeadTimeConfig.Break2Polarity = TIM_BREAK2POLARITY_HIGH; - 80017e0: f04f 7300 mov.w r3, #33554432 ; 0x2000000 - 80017e4: 627b str r3, [r7, #36] ; 0x24 + 8001740: f04f 7300 mov.w r3, #33554432 ; 0x2000000 + 8001744: 627b str r3, [r7, #36] ; 0x24 sBreakDeadTimeConfig.Break2Filter = 0; - 80017e6: 2300 movs r3, #0 - 80017e8: 62bb str r3, [r7, #40] ; 0x28 + 8001746: 2300 movs r3, #0 + 8001748: 62bb str r3, [r7, #40] ; 0x28 sBreakDeadTimeConfig.AutomaticOutput = TIM_AUTOMATICOUTPUT_DISABLE; - 80017ea: 2300 movs r3, #0 - 80017ec: 62fb str r3, [r7, #44] ; 0x2c + 800174a: 2300 movs r3, #0 + 800174c: 62fb str r3, [r7, #44] ; 0x2c if (HAL_TIMEx_ConfigBreakDeadTime(&htim8, &sBreakDeadTimeConfig) != HAL_OK) - 80017ee: 1d3b adds r3, r7, #4 - 80017f0: 4619 mov r1, r3 - 80017f2: 4807 ldr r0, [pc, #28] ; (8001810 ) - 80017f4: f009 fcbc bl 800b170 - 80017f8: 4603 mov r3, r0 - 80017fa: 2b00 cmp r3, #0 - 80017fc: d001 beq.n 8001802 + 800174e: 1d3b adds r3, r7, #4 + 8001750: 4619 mov r1, r3 + 8001752: 4807 ldr r0, [pc, #28] ; (8001770 ) + 8001754: f009 fada bl 800ad0c + 8001758: 4603 mov r3, r0 + 800175a: 2b00 cmp r3, #0 + 800175c: d001 beq.n 8001762 { Error_Handler(); - 80017fe: f000 ff77 bl 80026f0 + 800175e: f000 ff61 bl 8002624 } /* USER CODE BEGIN TIM8_Init 2 */ /* USER CODE END TIM8_Init 2 */ HAL_TIM_MspPostInit(&htim8); - 8001802: 4803 ldr r0, [pc, #12] ; (8001810 ) - 8001804: f003 f886 bl 8004914 + 8001762: 4803 ldr r0, [pc, #12] ; (8001770 ) + 8001764: f002 fe82 bl 800446c } - 8001808: bf00 nop - 800180a: 3768 adds r7, #104 ; 0x68 - 800180c: 46bd mov sp, r7 - 800180e: bd80 pop {r7, pc} - 8001810: 200088e0 .word 0x200088e0 - 8001814: 40010400 .word 0x40010400 + 8001768: bf00 nop + 800176a: 3768 adds r7, #104 ; 0x68 + 800176c: 46bd mov sp, r7 + 800176e: bd80 pop {r7, pc} + 8001770: 200088e0 .word 0x200088e0 + 8001774: 40010400 .word 0x40010400 -08001818 : +08001778 : /* FMC initialization function */ static void MX_FMC_Init(void) { - 8001818: b580 push {r7, lr} - 800181a: b088 sub sp, #32 - 800181c: af00 add r7, sp, #0 + 8001778: b580 push {r7, lr} + 800177a: b088 sub sp, #32 + 800177c: af00 add r7, sp, #0 /* USER CODE BEGIN FMC_Init 0 */ /* USER CODE END FMC_Init 0 */ FMC_SDRAM_TimingTypeDef SdramTiming = {0}; - 800181e: 1d3b adds r3, r7, #4 - 8001820: 2200 movs r2, #0 - 8001822: 601a str r2, [r3, #0] - 8001824: 605a str r2, [r3, #4] - 8001826: 609a str r2, [r3, #8] - 8001828: 60da str r2, [r3, #12] - 800182a: 611a str r2, [r3, #16] - 800182c: 615a str r2, [r3, #20] - 800182e: 619a str r2, [r3, #24] + 800177e: 1d3b adds r3, r7, #4 + 8001780: 2200 movs r2, #0 + 8001782: 601a str r2, [r3, #0] + 8001784: 605a str r2, [r3, #4] + 8001786: 609a str r2, [r3, #8] + 8001788: 60da str r2, [r3, #12] + 800178a: 611a str r2, [r3, #16] + 800178c: 615a str r2, [r3, #20] + 800178e: 619a str r2, [r3, #24] /* USER CODE END FMC_Init 1 */ /** Perform the SDRAM1 memory initialization sequence */ hsdram1.Instance = FMC_SDRAM_DEVICE; - 8001830: 4b1e ldr r3, [pc, #120] ; (80018ac ) - 8001832: 4a1f ldr r2, [pc, #124] ; (80018b0 ) - 8001834: 601a str r2, [r3, #0] + 8001790: 4b1e ldr r3, [pc, #120] ; (800180c ) + 8001792: 4a1f ldr r2, [pc, #124] ; (8001810 ) + 8001794: 601a str r2, [r3, #0] /* hsdram1.Init */ hsdram1.Init.SDBank = FMC_SDRAM_BANK1; - 8001836: 4b1d ldr r3, [pc, #116] ; (80018ac ) - 8001838: 2200 movs r2, #0 - 800183a: 605a str r2, [r3, #4] + 8001796: 4b1d ldr r3, [pc, #116] ; (800180c ) + 8001798: 2200 movs r2, #0 + 800179a: 605a str r2, [r3, #4] hsdram1.Init.ColumnBitsNumber = FMC_SDRAM_COLUMN_BITS_NUM_8; - 800183c: 4b1b ldr r3, [pc, #108] ; (80018ac ) - 800183e: 2200 movs r2, #0 - 8001840: 609a str r2, [r3, #8] + 800179c: 4b1b ldr r3, [pc, #108] ; (800180c ) + 800179e: 2200 movs r2, #0 + 80017a0: 609a str r2, [r3, #8] hsdram1.Init.RowBitsNumber = FMC_SDRAM_ROW_BITS_NUM_12; - 8001842: 4b1a ldr r3, [pc, #104] ; (80018ac ) - 8001844: 2204 movs r2, #4 - 8001846: 60da str r2, [r3, #12] + 80017a2: 4b1a ldr r3, [pc, #104] ; (800180c ) + 80017a4: 2204 movs r2, #4 + 80017a6: 60da str r2, [r3, #12] hsdram1.Init.MemoryDataWidth = FMC_SDRAM_MEM_BUS_WIDTH_16; - 8001848: 4b18 ldr r3, [pc, #96] ; (80018ac ) - 800184a: 2210 movs r2, #16 - 800184c: 611a str r2, [r3, #16] + 80017a8: 4b18 ldr r3, [pc, #96] ; (800180c ) + 80017aa: 2210 movs r2, #16 + 80017ac: 611a str r2, [r3, #16] hsdram1.Init.InternalBankNumber = FMC_SDRAM_INTERN_BANKS_NUM_4; - 800184e: 4b17 ldr r3, [pc, #92] ; (80018ac ) - 8001850: 2240 movs r2, #64 ; 0x40 - 8001852: 615a str r2, [r3, #20] + 80017ae: 4b17 ldr r3, [pc, #92] ; (800180c ) + 80017b0: 2240 movs r2, #64 ; 0x40 + 80017b2: 615a str r2, [r3, #20] hsdram1.Init.CASLatency = FMC_SDRAM_CAS_LATENCY_1; - 8001854: 4b15 ldr r3, [pc, #84] ; (80018ac ) - 8001856: 2280 movs r2, #128 ; 0x80 - 8001858: 619a str r2, [r3, #24] + 80017b4: 4b15 ldr r3, [pc, #84] ; (800180c ) + 80017b6: 2280 movs r2, #128 ; 0x80 + 80017b8: 619a str r2, [r3, #24] hsdram1.Init.WriteProtection = FMC_SDRAM_WRITE_PROTECTION_DISABLE; - 800185a: 4b14 ldr r3, [pc, #80] ; (80018ac ) - 800185c: 2200 movs r2, #0 - 800185e: 61da str r2, [r3, #28] + 80017ba: 4b14 ldr r3, [pc, #80] ; (800180c ) + 80017bc: 2200 movs r2, #0 + 80017be: 61da str r2, [r3, #28] hsdram1.Init.SDClockPeriod = FMC_SDRAM_CLOCK_DISABLE; - 8001860: 4b12 ldr r3, [pc, #72] ; (80018ac ) - 8001862: 2200 movs r2, #0 - 8001864: 621a str r2, [r3, #32] + 80017c0: 4b12 ldr r3, [pc, #72] ; (800180c ) + 80017c2: 2200 movs r2, #0 + 80017c4: 621a str r2, [r3, #32] hsdram1.Init.ReadBurst = FMC_SDRAM_RBURST_DISABLE; - 8001866: 4b11 ldr r3, [pc, #68] ; (80018ac ) - 8001868: 2200 movs r2, #0 - 800186a: 625a str r2, [r3, #36] ; 0x24 + 80017c6: 4b11 ldr r3, [pc, #68] ; (800180c ) + 80017c8: 2200 movs r2, #0 + 80017ca: 625a str r2, [r3, #36] ; 0x24 hsdram1.Init.ReadPipeDelay = FMC_SDRAM_RPIPE_DELAY_0; - 800186c: 4b0f ldr r3, [pc, #60] ; (80018ac ) - 800186e: 2200 movs r2, #0 - 8001870: 629a str r2, [r3, #40] ; 0x28 + 80017cc: 4b0f ldr r3, [pc, #60] ; (800180c ) + 80017ce: 2200 movs r2, #0 + 80017d0: 629a str r2, [r3, #40] ; 0x28 /* SdramTiming */ SdramTiming.LoadToActiveDelay = 16; - 8001872: 2310 movs r3, #16 - 8001874: 607b str r3, [r7, #4] + 80017d2: 2310 movs r3, #16 + 80017d4: 607b str r3, [r7, #4] SdramTiming.ExitSelfRefreshDelay = 16; - 8001876: 2310 movs r3, #16 - 8001878: 60bb str r3, [r7, #8] + 80017d6: 2310 movs r3, #16 + 80017d8: 60bb str r3, [r7, #8] SdramTiming.SelfRefreshTime = 16; - 800187a: 2310 movs r3, #16 - 800187c: 60fb str r3, [r7, #12] + 80017da: 2310 movs r3, #16 + 80017dc: 60fb str r3, [r7, #12] SdramTiming.RowCycleDelay = 16; - 800187e: 2310 movs r3, #16 - 8001880: 613b str r3, [r7, #16] + 80017de: 2310 movs r3, #16 + 80017e0: 613b str r3, [r7, #16] SdramTiming.WriteRecoveryTime = 16; - 8001882: 2310 movs r3, #16 - 8001884: 617b str r3, [r7, #20] + 80017e2: 2310 movs r3, #16 + 80017e4: 617b str r3, [r7, #20] SdramTiming.RPDelay = 16; - 8001886: 2310 movs r3, #16 - 8001888: 61bb str r3, [r7, #24] + 80017e6: 2310 movs r3, #16 + 80017e8: 61bb str r3, [r7, #24] SdramTiming.RCDDelay = 16; - 800188a: 2310 movs r3, #16 - 800188c: 61fb str r3, [r7, #28] + 80017ea: 2310 movs r3, #16 + 80017ec: 61fb str r3, [r7, #28] if (HAL_SDRAM_Init(&hsdram1, &SdramTiming) != HAL_OK) - 800188e: 1d3b adds r3, r7, #4 - 8001890: 4619 mov r1, r3 - 8001892: 4806 ldr r0, [pc, #24] ; (80018ac ) - 8001894: f008 fac8 bl 8009e28 - 8001898: 4603 mov r3, r0 - 800189a: 2b00 cmp r3, #0 - 800189c: d001 beq.n 80018a2 + 80017ee: 1d3b adds r3, r7, #4 + 80017f0: 4619 mov r1, r3 + 80017f2: 4806 ldr r0, [pc, #24] ; (800180c ) + 80017f4: f008 f8e6 bl 80099c4 + 80017f8: 4603 mov r3, r0 + 80017fa: 2b00 cmp r3, #0 + 80017fc: d001 beq.n 8001802 { Error_Handler( ); - 800189e: f000 ff27 bl 80026f0 + 80017fe: f000 ff11 bl 8002624 } /* USER CODE BEGIN FMC_Init 2 */ /* USER CODE END FMC_Init 2 */ } - 80018a2: bf00 nop - 80018a4: 3720 adds r7, #32 - 80018a6: 46bd mov sp, r7 - 80018a8: bd80 pop {r7, pc} - 80018aa: bf00 nop - 80018ac: 20008c00 .word 0x20008c00 - 80018b0: a0000140 .word 0xa0000140 + 8001802: bf00 nop + 8001804: 3720 adds r7, #32 + 8001806: 46bd mov sp, r7 + 8001808: bd80 pop {r7, pc} + 800180a: bf00 nop + 800180c: 20008bfc .word 0x20008bfc + 8001810: a0000140 .word 0xa0000140 -080018b4 : +08001814 : * @brief GPIO Initialization Function * @param None * @retval None */ static void MX_GPIO_Init(void) { - 80018b4: b580 push {r7, lr} - 80018b6: b090 sub sp, #64 ; 0x40 - 80018b8: af00 add r7, sp, #0 + 8001814: b580 push {r7, lr} + 8001816: b090 sub sp, #64 ; 0x40 + 8001818: af00 add r7, sp, #0 GPIO_InitTypeDef GPIO_InitStruct = {0}; - 80018ba: f107 032c add.w r3, r7, #44 ; 0x2c - 80018be: 2200 movs r2, #0 - 80018c0: 601a str r2, [r3, #0] - 80018c2: 605a str r2, [r3, #4] - 80018c4: 609a str r2, [r3, #8] - 80018c6: 60da str r2, [r3, #12] - 80018c8: 611a str r2, [r3, #16] + 800181a: f107 032c add.w r3, r7, #44 ; 0x2c + 800181e: 2200 movs r2, #0 + 8001820: 601a str r2, [r3, #0] + 8001822: 605a str r2, [r3, #4] + 8001824: 609a str r2, [r3, #8] + 8001826: 60da str r2, [r3, #12] + 8001828: 611a str r2, [r3, #16] /* GPIO Ports Clock Enable */ __HAL_RCC_GPIOE_CLK_ENABLE(); - 80018ca: 4baf ldr r3, [pc, #700] ; (8001b88 ) - 80018cc: 6b1b ldr r3, [r3, #48] ; 0x30 - 80018ce: 4aae ldr r2, [pc, #696] ; (8001b88 ) - 80018d0: f043 0310 orr.w r3, r3, #16 - 80018d4: 6313 str r3, [r2, #48] ; 0x30 - 80018d6: 4bac ldr r3, [pc, #688] ; (8001b88 ) - 80018d8: 6b1b ldr r3, [r3, #48] ; 0x30 - 80018da: f003 0310 and.w r3, r3, #16 - 80018de: 62bb str r3, [r7, #40] ; 0x28 - 80018e0: 6abb ldr r3, [r7, #40] ; 0x28 + 800182a: 4baf ldr r3, [pc, #700] ; (8001ae8 ) + 800182c: 6b1b ldr r3, [r3, #48] ; 0x30 + 800182e: 4aae ldr r2, [pc, #696] ; (8001ae8 ) + 8001830: f043 0310 orr.w r3, r3, #16 + 8001834: 6313 str r3, [r2, #48] ; 0x30 + 8001836: 4bac ldr r3, [pc, #688] ; (8001ae8 ) + 8001838: 6b1b ldr r3, [r3, #48] ; 0x30 + 800183a: f003 0310 and.w r3, r3, #16 + 800183e: 62bb str r3, [r7, #40] ; 0x28 + 8001840: 6abb ldr r3, [r7, #40] ; 0x28 __HAL_RCC_GPIOG_CLK_ENABLE(); - 80018e2: 4ba9 ldr r3, [pc, #676] ; (8001b88 ) - 80018e4: 6b1b ldr r3, [r3, #48] ; 0x30 - 80018e6: 4aa8 ldr r2, [pc, #672] ; (8001b88 ) - 80018e8: f043 0340 orr.w r3, r3, #64 ; 0x40 - 80018ec: 6313 str r3, [r2, #48] ; 0x30 - 80018ee: 4ba6 ldr r3, [pc, #664] ; (8001b88 ) - 80018f0: 6b1b ldr r3, [r3, #48] ; 0x30 - 80018f2: f003 0340 and.w r3, r3, #64 ; 0x40 - 80018f6: 627b str r3, [r7, #36] ; 0x24 - 80018f8: 6a7b ldr r3, [r7, #36] ; 0x24 + 8001842: 4ba9 ldr r3, [pc, #676] ; (8001ae8 ) + 8001844: 6b1b ldr r3, [r3, #48] ; 0x30 + 8001846: 4aa8 ldr r2, [pc, #672] ; (8001ae8 ) + 8001848: f043 0340 orr.w r3, r3, #64 ; 0x40 + 800184c: 6313 str r3, [r2, #48] ; 0x30 + 800184e: 4ba6 ldr r3, [pc, #664] ; (8001ae8 ) + 8001850: 6b1b ldr r3, [r3, #48] ; 0x30 + 8001852: f003 0340 and.w r3, r3, #64 ; 0x40 + 8001856: 627b str r3, [r7, #36] ; 0x24 + 8001858: 6a7b ldr r3, [r7, #36] ; 0x24 __HAL_RCC_GPIOB_CLK_ENABLE(); - 80018fa: 4ba3 ldr r3, [pc, #652] ; (8001b88 ) - 80018fc: 6b1b ldr r3, [r3, #48] ; 0x30 - 80018fe: 4aa2 ldr r2, [pc, #648] ; (8001b88 ) - 8001900: f043 0302 orr.w r3, r3, #2 - 8001904: 6313 str r3, [r2, #48] ; 0x30 - 8001906: 4ba0 ldr r3, [pc, #640] ; (8001b88 ) - 8001908: 6b1b ldr r3, [r3, #48] ; 0x30 - 800190a: f003 0302 and.w r3, r3, #2 - 800190e: 623b str r3, [r7, #32] - 8001910: 6a3b ldr r3, [r7, #32] + 800185a: 4ba3 ldr r3, [pc, #652] ; (8001ae8 ) + 800185c: 6b1b ldr r3, [r3, #48] ; 0x30 + 800185e: 4aa2 ldr r2, [pc, #648] ; (8001ae8 ) + 8001860: f043 0302 orr.w r3, r3, #2 + 8001864: 6313 str r3, [r2, #48] ; 0x30 + 8001866: 4ba0 ldr r3, [pc, #640] ; (8001ae8 ) + 8001868: 6b1b ldr r3, [r3, #48] ; 0x30 + 800186a: f003 0302 and.w r3, r3, #2 + 800186e: 623b str r3, [r7, #32] + 8001870: 6a3b ldr r3, [r7, #32] __HAL_RCC_GPIOA_CLK_ENABLE(); - 8001912: 4b9d ldr r3, [pc, #628] ; (8001b88 ) - 8001914: 6b1b ldr r3, [r3, #48] ; 0x30 - 8001916: 4a9c ldr r2, [pc, #624] ; (8001b88 ) - 8001918: f043 0301 orr.w r3, r3, #1 - 800191c: 6313 str r3, [r2, #48] ; 0x30 - 800191e: 4b9a ldr r3, [pc, #616] ; (8001b88 ) - 8001920: 6b1b ldr r3, [r3, #48] ; 0x30 - 8001922: f003 0301 and.w r3, r3, #1 - 8001926: 61fb str r3, [r7, #28] - 8001928: 69fb ldr r3, [r7, #28] + 8001872: 4b9d ldr r3, [pc, #628] ; (8001ae8 ) + 8001874: 6b1b ldr r3, [r3, #48] ; 0x30 + 8001876: 4a9c ldr r2, [pc, #624] ; (8001ae8 ) + 8001878: f043 0301 orr.w r3, r3, #1 + 800187c: 6313 str r3, [r2, #48] ; 0x30 + 800187e: 4b9a ldr r3, [pc, #616] ; (8001ae8 ) + 8001880: 6b1b ldr r3, [r3, #48] ; 0x30 + 8001882: f003 0301 and.w r3, r3, #1 + 8001886: 61fb str r3, [r7, #28] + 8001888: 69fb ldr r3, [r7, #28] __HAL_RCC_GPIOJ_CLK_ENABLE(); - 800192a: 4b97 ldr r3, [pc, #604] ; (8001b88 ) - 800192c: 6b1b ldr r3, [r3, #48] ; 0x30 - 800192e: 4a96 ldr r2, [pc, #600] ; (8001b88 ) - 8001930: f443 7300 orr.w r3, r3, #512 ; 0x200 - 8001934: 6313 str r3, [r2, #48] ; 0x30 - 8001936: 4b94 ldr r3, [pc, #592] ; (8001b88 ) - 8001938: 6b1b ldr r3, [r3, #48] ; 0x30 - 800193a: f403 7300 and.w r3, r3, #512 ; 0x200 - 800193e: 61bb str r3, [r7, #24] - 8001940: 69bb ldr r3, [r7, #24] + 800188a: 4b97 ldr r3, [pc, #604] ; (8001ae8 ) + 800188c: 6b1b ldr r3, [r3, #48] ; 0x30 + 800188e: 4a96 ldr r2, [pc, #600] ; (8001ae8 ) + 8001890: f443 7300 orr.w r3, r3, #512 ; 0x200 + 8001894: 6313 str r3, [r2, #48] ; 0x30 + 8001896: 4b94 ldr r3, [pc, #592] ; (8001ae8 ) + 8001898: 6b1b ldr r3, [r3, #48] ; 0x30 + 800189a: f403 7300 and.w r3, r3, #512 ; 0x200 + 800189e: 61bb str r3, [r7, #24] + 80018a0: 69bb ldr r3, [r7, #24] __HAL_RCC_GPIOD_CLK_ENABLE(); - 8001942: 4b91 ldr r3, [pc, #580] ; (8001b88 ) - 8001944: 6b1b ldr r3, [r3, #48] ; 0x30 - 8001946: 4a90 ldr r2, [pc, #576] ; (8001b88 ) - 8001948: f043 0308 orr.w r3, r3, #8 - 800194c: 6313 str r3, [r2, #48] ; 0x30 - 800194e: 4b8e ldr r3, [pc, #568] ; (8001b88 ) - 8001950: 6b1b ldr r3, [r3, #48] ; 0x30 - 8001952: f003 0308 and.w r3, r3, #8 - 8001956: 617b str r3, [r7, #20] - 8001958: 697b ldr r3, [r7, #20] + 80018a2: 4b91 ldr r3, [pc, #580] ; (8001ae8 ) + 80018a4: 6b1b ldr r3, [r3, #48] ; 0x30 + 80018a6: 4a90 ldr r2, [pc, #576] ; (8001ae8 ) + 80018a8: f043 0308 orr.w r3, r3, #8 + 80018ac: 6313 str r3, [r2, #48] ; 0x30 + 80018ae: 4b8e ldr r3, [pc, #568] ; (8001ae8 ) + 80018b0: 6b1b ldr r3, [r3, #48] ; 0x30 + 80018b2: f003 0308 and.w r3, r3, #8 + 80018b6: 617b str r3, [r7, #20] + 80018b8: 697b ldr r3, [r7, #20] __HAL_RCC_GPIOI_CLK_ENABLE(); - 800195a: 4b8b ldr r3, [pc, #556] ; (8001b88 ) - 800195c: 6b1b ldr r3, [r3, #48] ; 0x30 - 800195e: 4a8a ldr r2, [pc, #552] ; (8001b88 ) - 8001960: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8001964: 6313 str r3, [r2, #48] ; 0x30 - 8001966: 4b88 ldr r3, [pc, #544] ; (8001b88 ) - 8001968: 6b1b ldr r3, [r3, #48] ; 0x30 - 800196a: f403 7380 and.w r3, r3, #256 ; 0x100 - 800196e: 613b str r3, [r7, #16] - 8001970: 693b ldr r3, [r7, #16] + 80018ba: 4b8b ldr r3, [pc, #556] ; (8001ae8 ) + 80018bc: 6b1b ldr r3, [r3, #48] ; 0x30 + 80018be: 4a8a ldr r2, [pc, #552] ; (8001ae8 ) + 80018c0: f443 7380 orr.w r3, r3, #256 ; 0x100 + 80018c4: 6313 str r3, [r2, #48] ; 0x30 + 80018c6: 4b88 ldr r3, [pc, #544] ; (8001ae8 ) + 80018c8: 6b1b ldr r3, [r3, #48] ; 0x30 + 80018ca: f403 7380 and.w r3, r3, #256 ; 0x100 + 80018ce: 613b str r3, [r7, #16] + 80018d0: 693b ldr r3, [r7, #16] __HAL_RCC_GPIOK_CLK_ENABLE(); - 8001972: 4b85 ldr r3, [pc, #532] ; (8001b88 ) - 8001974: 6b1b ldr r3, [r3, #48] ; 0x30 - 8001976: 4a84 ldr r2, [pc, #528] ; (8001b88 ) - 8001978: f443 6380 orr.w r3, r3, #1024 ; 0x400 - 800197c: 6313 str r3, [r2, #48] ; 0x30 - 800197e: 4b82 ldr r3, [pc, #520] ; (8001b88 ) - 8001980: 6b1b ldr r3, [r3, #48] ; 0x30 - 8001982: f403 6380 and.w r3, r3, #1024 ; 0x400 - 8001986: 60fb str r3, [r7, #12] - 8001988: 68fb ldr r3, [r7, #12] + 80018d2: 4b85 ldr r3, [pc, #532] ; (8001ae8 ) + 80018d4: 6b1b ldr r3, [r3, #48] ; 0x30 + 80018d6: 4a84 ldr r2, [pc, #528] ; (8001ae8 ) + 80018d8: f443 6380 orr.w r3, r3, #1024 ; 0x400 + 80018dc: 6313 str r3, [r2, #48] ; 0x30 + 80018de: 4b82 ldr r3, [pc, #520] ; (8001ae8 ) + 80018e0: 6b1b ldr r3, [r3, #48] ; 0x30 + 80018e2: f403 6380 and.w r3, r3, #1024 ; 0x400 + 80018e6: 60fb str r3, [r7, #12] + 80018e8: 68fb ldr r3, [r7, #12] __HAL_RCC_GPIOC_CLK_ENABLE(); - 800198a: 4b7f ldr r3, [pc, #508] ; (8001b88 ) - 800198c: 6b1b ldr r3, [r3, #48] ; 0x30 - 800198e: 4a7e ldr r2, [pc, #504] ; (8001b88 ) - 8001990: f043 0304 orr.w r3, r3, #4 - 8001994: 6313 str r3, [r2, #48] ; 0x30 - 8001996: 4b7c ldr r3, [pc, #496] ; (8001b88 ) - 8001998: 6b1b ldr r3, [r3, #48] ; 0x30 - 800199a: f003 0304 and.w r3, r3, #4 - 800199e: 60bb str r3, [r7, #8] - 80019a0: 68bb ldr r3, [r7, #8] + 80018ea: 4b7f ldr r3, [pc, #508] ; (8001ae8 ) + 80018ec: 6b1b ldr r3, [r3, #48] ; 0x30 + 80018ee: 4a7e ldr r2, [pc, #504] ; (8001ae8 ) + 80018f0: f043 0304 orr.w r3, r3, #4 + 80018f4: 6313 str r3, [r2, #48] ; 0x30 + 80018f6: 4b7c ldr r3, [pc, #496] ; (8001ae8 ) + 80018f8: 6b1b ldr r3, [r3, #48] ; 0x30 + 80018fa: f003 0304 and.w r3, r3, #4 + 80018fe: 60bb str r3, [r7, #8] + 8001900: 68bb ldr r3, [r7, #8] __HAL_RCC_GPIOF_CLK_ENABLE(); - 80019a2: 4b79 ldr r3, [pc, #484] ; (8001b88 ) - 80019a4: 6b1b ldr r3, [r3, #48] ; 0x30 - 80019a6: 4a78 ldr r2, [pc, #480] ; (8001b88 ) - 80019a8: f043 0320 orr.w r3, r3, #32 - 80019ac: 6313 str r3, [r2, #48] ; 0x30 - 80019ae: 4b76 ldr r3, [pc, #472] ; (8001b88 ) - 80019b0: 6b1b ldr r3, [r3, #48] ; 0x30 - 80019b2: f003 0320 and.w r3, r3, #32 - 80019b6: 607b str r3, [r7, #4] - 80019b8: 687b ldr r3, [r7, #4] + 8001902: 4b79 ldr r3, [pc, #484] ; (8001ae8 ) + 8001904: 6b1b ldr r3, [r3, #48] ; 0x30 + 8001906: 4a78 ldr r2, [pc, #480] ; (8001ae8 ) + 8001908: f043 0320 orr.w r3, r3, #32 + 800190c: 6313 str r3, [r2, #48] ; 0x30 + 800190e: 4b76 ldr r3, [pc, #472] ; (8001ae8 ) + 8001910: 6b1b ldr r3, [r3, #48] ; 0x30 + 8001912: f003 0320 and.w r3, r3, #32 + 8001916: 607b str r3, [r7, #4] + 8001918: 687b ldr r3, [r7, #4] __HAL_RCC_GPIOH_CLK_ENABLE(); - 80019ba: 4b73 ldr r3, [pc, #460] ; (8001b88 ) - 80019bc: 6b1b ldr r3, [r3, #48] ; 0x30 - 80019be: 4a72 ldr r2, [pc, #456] ; (8001b88 ) - 80019c0: f043 0380 orr.w r3, r3, #128 ; 0x80 - 80019c4: 6313 str r3, [r2, #48] ; 0x30 - 80019c6: 4b70 ldr r3, [pc, #448] ; (8001b88 ) - 80019c8: 6b1b ldr r3, [r3, #48] ; 0x30 - 80019ca: f003 0380 and.w r3, r3, #128 ; 0x80 - 80019ce: 603b str r3, [r7, #0] - 80019d0: 683b ldr r3, [r7, #0] + 800191a: 4b73 ldr r3, [pc, #460] ; (8001ae8 ) + 800191c: 6b1b ldr r3, [r3, #48] ; 0x30 + 800191e: 4a72 ldr r2, [pc, #456] ; (8001ae8 ) + 8001920: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8001924: 6313 str r3, [r2, #48] ; 0x30 + 8001926: 4b70 ldr r3, [pc, #448] ; (8001ae8 ) + 8001928: 6b1b ldr r3, [r3, #48] ; 0x30 + 800192a: f003 0380 and.w r3, r3, #128 ; 0x80 + 800192e: 603b str r3, [r7, #0] + 8001930: 683b ldr r3, [r7, #0] /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(GPIOE, LED14_Pin|LED15_Pin, GPIO_PIN_RESET); - 80019d2: 2200 movs r2, #0 - 80019d4: 2160 movs r1, #96 ; 0x60 - 80019d6: 486d ldr r0, [pc, #436] ; (8001b8c ) - 80019d8: f006 f85c bl 8007a94 + 8001932: 2200 movs r2, #0 + 8001934: 2160 movs r1, #96 ; 0x60 + 8001936: 486d ldr r0, [pc, #436] ; (8001aec ) + 8001938: f005 fe48 bl 80075cc /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(OTG_FS_PowerSwitchOn_GPIO_Port, OTG_FS_PowerSwitchOn_Pin, GPIO_PIN_SET); - 80019dc: 2201 movs r2, #1 - 80019de: 2120 movs r1, #32 - 80019e0: 486b ldr r0, [pc, #428] ; (8001b90 ) - 80019e2: f006 f857 bl 8007a94 + 800193c: 2201 movs r2, #1 + 800193e: 2120 movs r1, #32 + 8001940: 486b ldr r0, [pc, #428] ; (8001af0 ) + 8001942: f005 fe43 bl 80075cc /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(LED16_GPIO_Port, LED16_Pin, GPIO_PIN_RESET); - 80019e6: 2200 movs r2, #0 - 80019e8: 2108 movs r1, #8 - 80019ea: 4869 ldr r0, [pc, #420] ; (8001b90 ) - 80019ec: f006 f852 bl 8007a94 + 8001946: 2200 movs r2, #0 + 8001948: 2108 movs r1, #8 + 800194a: 4869 ldr r0, [pc, #420] ; (8001af0 ) + 800194c: f005 fe3e bl 80075cc /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(LED3_GPIO_Port, LED3_Pin, GPIO_PIN_RESET); - 80019f0: 2200 movs r2, #0 - 80019f2: 2108 movs r1, #8 - 80019f4: 4867 ldr r0, [pc, #412] ; (8001b94 ) - 80019f6: f006 f84d bl 8007a94 + 8001950: 2200 movs r2, #0 + 8001952: 2108 movs r1, #8 + 8001954: 4867 ldr r0, [pc, #412] ; (8001af4 ) + 8001956: f005 fe39 bl 80075cc /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(LCD_BL_CTRL_GPIO_Port, LCD_BL_CTRL_Pin, GPIO_PIN_SET); - 80019fa: 2201 movs r2, #1 - 80019fc: 2108 movs r1, #8 - 80019fe: 4866 ldr r0, [pc, #408] ; (8001b98 ) - 8001a00: f006 f848 bl 8007a94 + 800195a: 2201 movs r2, #1 + 800195c: 2108 movs r1, #8 + 800195e: 4866 ldr r0, [pc, #408] ; (8001af8 ) + 8001960: f005 fe34 bl 80075cc /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(LCD_DISP_GPIO_Port, LCD_DISP_Pin, GPIO_PIN_SET); - 8001a04: 2201 movs r2, #1 - 8001a06: f44f 5180 mov.w r1, #4096 ; 0x1000 - 8001a0a: 4862 ldr r0, [pc, #392] ; (8001b94 ) - 8001a0c: f006 f842 bl 8007a94 + 8001964: 2201 movs r2, #1 + 8001966: f44f 5180 mov.w r1, #4096 ; 0x1000 + 800196a: 4862 ldr r0, [pc, #392] ; (8001af4 ) + 800196c: f005 fe2e bl 80075cc /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(GPIOH, LED13_Pin|LED17_Pin|LED11_Pin|LED12_Pin - 8001a10: 2200 movs r2, #0 - 8001a12: f645 6140 movw r1, #24128 ; 0x5e40 - 8001a16: 4861 ldr r0, [pc, #388] ; (8001b9c ) - 8001a18: f006 f83c bl 8007a94 + 8001970: 2200 movs r2, #0 + 8001972: f645 6140 movw r1, #24128 ; 0x5e40 + 8001976: 4861 ldr r0, [pc, #388] ; (8001afc ) + 8001978: f005 fe28 bl 80075cc |LED2_Pin|LED18_Pin, GPIO_PIN_RESET); /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(EXT_RST_GPIO_Port, EXT_RST_Pin, GPIO_PIN_RESET); - 8001a1c: 2200 movs r2, #0 - 8001a1e: 2108 movs r1, #8 - 8001a20: 485f ldr r0, [pc, #380] ; (8001ba0 ) - 8001a22: f006 f837 bl 8007a94 + 800197c: 2200 movs r2, #0 + 800197e: 2108 movs r1, #8 + 8001980: 485f ldr r0, [pc, #380] ; (8001b00 ) + 8001982: f005 fe23 bl 80075cc /*Configure GPIO pin : PE3 */ GPIO_InitStruct.Pin = GPIO_PIN_3; - 8001a26: 2308 movs r3, #8 - 8001a28: 62fb str r3, [r7, #44] ; 0x2c + 8001986: 2308 movs r3, #8 + 8001988: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_INPUT; - 8001a2a: 2300 movs r3, #0 - 8001a2c: 633b str r3, [r7, #48] ; 0x30 + 800198a: 2300 movs r3, #0 + 800198c: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001a2e: 2300 movs r3, #0 - 8001a30: 637b str r3, [r7, #52] ; 0x34 + 800198e: 2300 movs r3, #0 + 8001990: 637b str r3, [r7, #52] ; 0x34 HAL_GPIO_Init(GPIOE, &GPIO_InitStruct); - 8001a32: f107 032c add.w r3, r7, #44 ; 0x2c - 8001a36: 4619 mov r1, r3 - 8001a38: 4854 ldr r0, [pc, #336] ; (8001b8c ) - 8001a3a: f005 fe69 bl 8007710 + 8001992: f107 032c add.w r3, r7, #44 ; 0x2c + 8001996: 4619 mov r1, r3 + 8001998: 4854 ldr r0, [pc, #336] ; (8001aec ) + 800199a: f005 fc6d bl 8007278 /*Configure GPIO pins : ARDUINO_SCL_D15_Pin ARDUINO_SDA_D14_Pin */ GPIO_InitStruct.Pin = ARDUINO_SCL_D15_Pin|ARDUINO_SDA_D14_Pin; - 8001a3e: f44f 7340 mov.w r3, #768 ; 0x300 - 8001a42: 62fb str r3, [r7, #44] ; 0x2c + 800199e: f44f 7340 mov.w r3, #768 ; 0x300 + 80019a2: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_AF_OD; - 8001a44: 2312 movs r3, #18 - 8001a46: 633b str r3, [r7, #48] ; 0x30 + 80019a4: 2312 movs r3, #18 + 80019a6: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_PULLUP; - 8001a48: 2301 movs r3, #1 - 8001a4a: 637b str r3, [r7, #52] ; 0x34 + 80019a8: 2301 movs r3, #1 + 80019aa: 637b str r3, [r7, #52] ; 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 8001a4c: 2300 movs r3, #0 - 8001a4e: 63bb str r3, [r7, #56] ; 0x38 + 80019ac: 2300 movs r3, #0 + 80019ae: 63bb str r3, [r7, #56] ; 0x38 GPIO_InitStruct.Alternate = GPIO_AF4_I2C1; - 8001a50: 2304 movs r3, #4 - 8001a52: 63fb str r3, [r7, #60] ; 0x3c + 80019b0: 2304 movs r3, #4 + 80019b2: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); - 8001a54: f107 032c add.w r3, r7, #44 ; 0x2c - 8001a58: 4619 mov r1, r3 - 8001a5a: 4852 ldr r0, [pc, #328] ; (8001ba4 ) - 8001a5c: f005 fe58 bl 8007710 + 80019b4: f107 032c add.w r3, r7, #44 ; 0x2c + 80019b8: 4619 mov r1, r3 + 80019ba: 4852 ldr r0, [pc, #328] ; (8001b04 ) + 80019bc: f005 fc5c bl 8007278 /*Configure GPIO pins : ULPI_D7_Pin ULPI_D6_Pin ULPI_D5_Pin ULPI_D2_Pin ULPI_D1_Pin ULPI_D4_Pin */ GPIO_InitStruct.Pin = ULPI_D7_Pin|ULPI_D6_Pin|ULPI_D5_Pin|ULPI_D2_Pin - 8001a60: f643 0323 movw r3, #14371 ; 0x3823 - 8001a64: 62fb str r3, [r7, #44] ; 0x2c + 80019c0: f643 0323 movw r3, #14371 ; 0x3823 + 80019c4: 62fb str r3, [r7, #44] ; 0x2c |ULPI_D1_Pin|ULPI_D4_Pin; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8001a66: 2302 movs r3, #2 - 8001a68: 633b str r3, [r7, #48] ; 0x30 + 80019c6: 2302 movs r3, #2 + 80019c8: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001a6a: 2300 movs r3, #0 - 8001a6c: 637b str r3, [r7, #52] ; 0x34 + 80019ca: 2300 movs r3, #0 + 80019cc: 637b str r3, [r7, #52] ; 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8001a6e: 2303 movs r3, #3 - 8001a70: 63bb str r3, [r7, #56] ; 0x38 + 80019ce: 2303 movs r3, #3 + 80019d0: 63bb str r3, [r7, #56] ; 0x38 GPIO_InitStruct.Alternate = GPIO_AF10_OTG_HS; - 8001a72: 230a movs r3, #10 - 8001a74: 63fb str r3, [r7, #60] ; 0x3c + 80019d2: 230a movs r3, #10 + 80019d4: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); - 8001a76: f107 032c add.w r3, r7, #44 ; 0x2c - 8001a7a: 4619 mov r1, r3 - 8001a7c: 4849 ldr r0, [pc, #292] ; (8001ba4 ) - 8001a7e: f005 fe47 bl 8007710 + 80019d6: f107 032c add.w r3, r7, #44 ; 0x2c + 80019da: 4619 mov r1, r3 + 80019dc: 4849 ldr r0, [pc, #292] ; (8001b04 ) + 80019de: f005 fc4b bl 8007278 - /*Configure GPIO pins : BP2_Pin BP1_Pin */ - GPIO_InitStruct.Pin = BP2_Pin|BP1_Pin; - 8001a82: f44f 4301 mov.w r3, #33024 ; 0x8100 - 8001a86: 62fb str r3, [r7, #44] ; 0x2c + /*Configure GPIO pin : BP2_Pin */ + GPIO_InitStruct.Pin = BP2_Pin; + 80019e2: f44f 4300 mov.w r3, #32768 ; 0x8000 + 80019e6: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_INPUT; - 8001a88: 2300 movs r3, #0 - 8001a8a: 633b str r3, [r7, #48] ; 0x30 + 80019e8: 2300 movs r3, #0 + 80019ea: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001a8c: 2300 movs r3, #0 - 8001a8e: 637b str r3, [r7, #52] ; 0x34 - HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 8001a90: f107 032c add.w r3, r7, #44 ; 0x2c - 8001a94: 4619 mov r1, r3 - 8001a96: 4844 ldr r0, [pc, #272] ; (8001ba8 ) - 8001a98: f005 fe3a bl 8007710 + 80019ec: 2300 movs r3, #0 + 80019ee: 637b str r3, [r7, #52] ; 0x34 + HAL_GPIO_Init(BP2_GPIO_Port, &GPIO_InitStruct); + 80019f0: f107 032c add.w r3, r7, #44 ; 0x2c + 80019f4: 4619 mov r1, r3 + 80019f6: 4844 ldr r0, [pc, #272] ; (8001b08 ) + 80019f8: f005 fc3e bl 8007278 /*Configure GPIO pins : LED14_Pin LED15_Pin */ GPIO_InitStruct.Pin = LED14_Pin|LED15_Pin; - 8001a9c: 2360 movs r3, #96 ; 0x60 - 8001a9e: 62fb str r3, [r7, #44] ; 0x2c + 80019fc: 2360 movs r3, #96 ; 0x60 + 80019fe: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; - 8001aa0: 2301 movs r3, #1 - 8001aa2: 633b str r3, [r7, #48] ; 0x30 + 8001a00: 2301 movs r3, #1 + 8001a02: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001aa4: 2300 movs r3, #0 - 8001aa6: 637b str r3, [r7, #52] ; 0x34 + 8001a04: 2300 movs r3, #0 + 8001a06: 637b str r3, [r7, #52] ; 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 8001aa8: 2300 movs r3, #0 - 8001aaa: 63bb str r3, [r7, #56] ; 0x38 + 8001a08: 2300 movs r3, #0 + 8001a0a: 63bb str r3, [r7, #56] ; 0x38 HAL_GPIO_Init(GPIOE, &GPIO_InitStruct); - 8001aac: f107 032c add.w r3, r7, #44 ; 0x2c - 8001ab0: 4619 mov r1, r3 - 8001ab2: 4836 ldr r0, [pc, #216] ; (8001b8c ) - 8001ab4: f005 fe2c bl 8007710 + 8001a0c: f107 032c add.w r3, r7, #44 ; 0x2c + 8001a10: 4619 mov r1, r3 + 8001a12: 4836 ldr r0, [pc, #216] ; (8001aec ) + 8001a14: f005 fc30 bl 8007278 /*Configure GPIO pin : VCP_RX_Pin */ GPIO_InitStruct.Pin = VCP_RX_Pin; - 8001ab8: 2380 movs r3, #128 ; 0x80 - 8001aba: 62fb str r3, [r7, #44] ; 0x2c + 8001a18: 2380 movs r3, #128 ; 0x80 + 8001a1a: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8001abc: 2302 movs r3, #2 - 8001abe: 633b str r3, [r7, #48] ; 0x30 + 8001a1c: 2302 movs r3, #2 + 8001a1e: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001ac0: 2300 movs r3, #0 - 8001ac2: 637b str r3, [r7, #52] ; 0x34 + 8001a20: 2300 movs r3, #0 + 8001a22: 637b str r3, [r7, #52] ; 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 8001ac4: 2300 movs r3, #0 - 8001ac6: 63bb str r3, [r7, #56] ; 0x38 + 8001a24: 2300 movs r3, #0 + 8001a26: 63bb str r3, [r7, #56] ; 0x38 GPIO_InitStruct.Alternate = GPIO_AF7_USART1; - 8001ac8: 2307 movs r3, #7 - 8001aca: 63fb str r3, [r7, #60] ; 0x3c + 8001a28: 2307 movs r3, #7 + 8001a2a: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(VCP_RX_GPIO_Port, &GPIO_InitStruct); - 8001acc: f107 032c add.w r3, r7, #44 ; 0x2c - 8001ad0: 4619 mov r1, r3 - 8001ad2: 4834 ldr r0, [pc, #208] ; (8001ba4 ) - 8001ad4: f005 fe1c bl 8007710 + 8001a2c: f107 032c add.w r3, r7, #44 ; 0x2c + 8001a30: 4619 mov r1, r3 + 8001a32: 4834 ldr r0, [pc, #208] ; (8001b04 ) + 8001a34: f005 fc20 bl 8007278 /*Configure GPIO pin : OTG_FS_VBUS_Pin */ GPIO_InitStruct.Pin = OTG_FS_VBUS_Pin; - 8001ad8: f44f 5380 mov.w r3, #4096 ; 0x1000 + 8001a38: f44f 5380 mov.w r3, #4096 ; 0x1000 + 8001a3c: 62fb str r3, [r7, #44] ; 0x2c + GPIO_InitStruct.Mode = GPIO_MODE_INPUT; + 8001a3e: 2300 movs r3, #0 + 8001a40: 633b str r3, [r7, #48] ; 0x30 + GPIO_InitStruct.Pull = GPIO_NOPULL; + 8001a42: 2300 movs r3, #0 + 8001a44: 637b str r3, [r7, #52] ; 0x34 + HAL_GPIO_Init(OTG_FS_VBUS_GPIO_Port, &GPIO_InitStruct); + 8001a46: f107 032c add.w r3, r7, #44 ; 0x2c + 8001a4a: 4619 mov r1, r3 + 8001a4c: 482f ldr r0, [pc, #188] ; (8001b0c ) + 8001a4e: f005 fc13 bl 8007278 + + /*Configure GPIO pin : Audio_INT_Pin */ + GPIO_InitStruct.Pin = Audio_INT_Pin; + 8001a52: 2340 movs r3, #64 ; 0x40 + 8001a54: 62fb str r3, [r7, #44] ; 0x2c + GPIO_InitStruct.Mode = GPIO_MODE_EVT_RISING; + 8001a56: 4b2e ldr r3, [pc, #184] ; (8001b10 ) + 8001a58: 633b str r3, [r7, #48] ; 0x30 + GPIO_InitStruct.Pull = GPIO_NOPULL; + 8001a5a: 2300 movs r3, #0 + 8001a5c: 637b str r3, [r7, #52] ; 0x34 + HAL_GPIO_Init(Audio_INT_GPIO_Port, &GPIO_InitStruct); + 8001a5e: f107 032c add.w r3, r7, #44 ; 0x2c + 8001a62: 4619 mov r1, r3 + 8001a64: 4822 ldr r0, [pc, #136] ; (8001af0 ) + 8001a66: f005 fc07 bl 8007278 + + /*Configure GPIO pins : OTG_FS_PowerSwitchOn_Pin LED16_Pin */ + GPIO_InitStruct.Pin = OTG_FS_PowerSwitchOn_Pin|LED16_Pin; + 8001a6a: 2328 movs r3, #40 ; 0x28 + 8001a6c: 62fb str r3, [r7, #44] ; 0x2c + GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; + 8001a6e: 2301 movs r3, #1 + 8001a70: 633b str r3, [r7, #48] ; 0x30 + GPIO_InitStruct.Pull = GPIO_NOPULL; + 8001a72: 2300 movs r3, #0 + 8001a74: 637b str r3, [r7, #52] ; 0x34 + GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; + 8001a76: 2300 movs r3, #0 + 8001a78: 63bb str r3, [r7, #56] ; 0x38 + HAL_GPIO_Init(GPIOD, &GPIO_InitStruct); + 8001a7a: f107 032c add.w r3, r7, #44 ; 0x2c + 8001a7e: 4619 mov r1, r3 + 8001a80: 481b ldr r0, [pc, #108] ; (8001af0 ) + 8001a82: f005 fbf9 bl 8007278 + + /*Configure GPIO pins : LED3_Pin LCD_DISP_Pin */ + GPIO_InitStruct.Pin = LED3_Pin|LCD_DISP_Pin; + 8001a86: f241 0308 movw r3, #4104 ; 0x1008 + 8001a8a: 62fb str r3, [r7, #44] ; 0x2c + GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; + 8001a8c: 2301 movs r3, #1 + 8001a8e: 633b str r3, [r7, #48] ; 0x30 + GPIO_InitStruct.Pull = GPIO_NOPULL; + 8001a90: 2300 movs r3, #0 + 8001a92: 637b str r3, [r7, #52] ; 0x34 + GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; + 8001a94: 2300 movs r3, #0 + 8001a96: 63bb str r3, [r7, #56] ; 0x38 + HAL_GPIO_Init(GPIOI, &GPIO_InitStruct); + 8001a98: f107 032c add.w r3, r7, #44 ; 0x2c + 8001a9c: 4619 mov r1, r3 + 8001a9e: 4815 ldr r0, [pc, #84] ; (8001af4 ) + 8001aa0: f005 fbea bl 8007278 + + /*Configure GPIO pin : uSD_Detect_Pin */ + GPIO_InitStruct.Pin = uSD_Detect_Pin; + 8001aa4: f44f 5300 mov.w r3, #8192 ; 0x2000 + 8001aa8: 62fb str r3, [r7, #44] ; 0x2c + GPIO_InitStruct.Mode = GPIO_MODE_INPUT; + 8001aaa: 2300 movs r3, #0 + 8001aac: 633b str r3, [r7, #48] ; 0x30 + GPIO_InitStruct.Pull = GPIO_NOPULL; + 8001aae: 2300 movs r3, #0 + 8001ab0: 637b str r3, [r7, #52] ; 0x34 + HAL_GPIO_Init(uSD_Detect_GPIO_Port, &GPIO_InitStruct); + 8001ab2: f107 032c add.w r3, r7, #44 ; 0x2c + 8001ab6: 4619 mov r1, r3 + 8001ab8: 4816 ldr r0, [pc, #88] ; (8001b14 ) + 8001aba: f005 fbdd bl 8007278 + + /*Configure GPIO pin : LCD_BL_CTRL_Pin */ + GPIO_InitStruct.Pin = LCD_BL_CTRL_Pin; + 8001abe: 2308 movs r3, #8 + 8001ac0: 62fb str r3, [r7, #44] ; 0x2c + GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; + 8001ac2: 2301 movs r3, #1 + 8001ac4: 633b str r3, [r7, #48] ; 0x30 + GPIO_InitStruct.Pull = GPIO_NOPULL; + 8001ac6: 2300 movs r3, #0 + 8001ac8: 637b str r3, [r7, #52] ; 0x34 + GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; + 8001aca: 2300 movs r3, #0 + 8001acc: 63bb str r3, [r7, #56] ; 0x38 + HAL_GPIO_Init(LCD_BL_CTRL_GPIO_Port, &GPIO_InitStruct); + 8001ace: f107 032c add.w r3, r7, #44 ; 0x2c + 8001ad2: 4619 mov r1, r3 + 8001ad4: 4808 ldr r0, [pc, #32] ; (8001af8 ) + 8001ad6: f005 fbcf bl 8007278 + + /*Configure GPIO pin : OTG_FS_OverCurrent_Pin */ + GPIO_InitStruct.Pin = OTG_FS_OverCurrent_Pin; + 8001ada: 2310 movs r3, #16 8001adc: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_INPUT; 8001ade: 2300 movs r3, #0 @@ -4101,88 +4136,68 @@ static void MX_GPIO_Init(void) GPIO_InitStruct.Pull = GPIO_NOPULL; 8001ae2: 2300 movs r3, #0 8001ae4: 637b str r3, [r7, #52] ; 0x34 - HAL_GPIO_Init(OTG_FS_VBUS_GPIO_Port, &GPIO_InitStruct); - 8001ae6: f107 032c add.w r3, r7, #44 ; 0x2c - 8001aea: 4619 mov r1, r3 - 8001aec: 482f ldr r0, [pc, #188] ; (8001bac ) - 8001aee: f005 fe0f bl 8007710 + 8001ae6: e017 b.n 8001b18 + 8001ae8: 40023800 .word 0x40023800 + 8001aec: 40021000 .word 0x40021000 + 8001af0: 40020c00 .word 0x40020c00 + 8001af4: 40022000 .word 0x40022000 + 8001af8: 40022800 .word 0x40022800 + 8001afc: 40021c00 .word 0x40021c00 + 8001b00: 40021800 .word 0x40021800 + 8001b04: 40020400 .word 0x40020400 + 8001b08: 40020000 .word 0x40020000 + 8001b0c: 40022400 .word 0x40022400 + 8001b10: 10120000 .word 0x10120000 + 8001b14: 40020800 .word 0x40020800 + HAL_GPIO_Init(OTG_FS_OverCurrent_GPIO_Port, &GPIO_InitStruct); + 8001b18: f107 032c add.w r3, r7, #44 ; 0x2c + 8001b1c: 4619 mov r1, r3 + 8001b1e: 486f ldr r0, [pc, #444] ; (8001cdc ) + 8001b20: f005 fbaa bl 8007278 - /*Configure GPIO pin : Audio_INT_Pin */ - GPIO_InitStruct.Pin = Audio_INT_Pin; - 8001af2: 2340 movs r3, #64 ; 0x40 - 8001af4: 62fb str r3, [r7, #44] ; 0x2c - GPIO_InitStruct.Mode = GPIO_MODE_EVT_RISING; - 8001af6: 4b2e ldr r3, [pc, #184] ; (8001bb0 ) - 8001af8: 633b str r3, [r7, #48] ; 0x30 - GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001afa: 2300 movs r3, #0 - 8001afc: 637b str r3, [r7, #52] ; 0x34 - HAL_GPIO_Init(Audio_INT_GPIO_Port, &GPIO_InitStruct); - 8001afe: f107 032c add.w r3, r7, #44 ; 0x2c - 8001b02: 4619 mov r1, r3 - 8001b04: 4822 ldr r0, [pc, #136] ; (8001b90 ) - 8001b06: f005 fe03 bl 8007710 - - /*Configure GPIO pins : OTG_FS_PowerSwitchOn_Pin LED16_Pin */ - GPIO_InitStruct.Pin = OTG_FS_PowerSwitchOn_Pin|LED16_Pin; - 8001b0a: 2328 movs r3, #40 ; 0x28 - 8001b0c: 62fb str r3, [r7, #44] ; 0x2c - GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; - 8001b0e: 2301 movs r3, #1 - 8001b10: 633b str r3, [r7, #48] ; 0x30 - GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001b12: 2300 movs r3, #0 - 8001b14: 637b str r3, [r7, #52] ; 0x34 - GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 8001b16: 2300 movs r3, #0 - 8001b18: 63bb str r3, [r7, #56] ; 0x38 - HAL_GPIO_Init(GPIOD, &GPIO_InitStruct); - 8001b1a: f107 032c add.w r3, r7, #44 ; 0x2c - 8001b1e: 4619 mov r1, r3 - 8001b20: 481b ldr r0, [pc, #108] ; (8001b90 ) - 8001b22: f005 fdf5 bl 8007710 - - /*Configure GPIO pins : LED3_Pin LCD_DISP_Pin */ - GPIO_InitStruct.Pin = LED3_Pin|LCD_DISP_Pin; - 8001b26: f241 0308 movw r3, #4104 ; 0x1008 - 8001b2a: 62fb str r3, [r7, #44] ; 0x2c - GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; - 8001b2c: 2301 movs r3, #1 - 8001b2e: 633b str r3, [r7, #48] ; 0x30 - GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001b30: 2300 movs r3, #0 - 8001b32: 637b str r3, [r7, #52] ; 0x34 - GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 8001b34: 2300 movs r3, #0 - 8001b36: 63bb str r3, [r7, #56] ; 0x38 - HAL_GPIO_Init(GPIOI, &GPIO_InitStruct); - 8001b38: f107 032c add.w r3, r7, #44 ; 0x2c - 8001b3c: 4619 mov r1, r3 - 8001b3e: 4815 ldr r0, [pc, #84] ; (8001b94 ) - 8001b40: f005 fde6 bl 8007710 - - /*Configure GPIO pin : uSD_Detect_Pin */ - GPIO_InitStruct.Pin = uSD_Detect_Pin; - 8001b44: f44f 5300 mov.w r3, #8192 ; 0x2000 - 8001b48: 62fb str r3, [r7, #44] ; 0x2c + /*Configure GPIO pins : TP3_Pin NC2_Pin */ + GPIO_InitStruct.Pin = TP3_Pin|NC2_Pin; + 8001b24: f248 0304 movw r3, #32772 ; 0x8004 + 8001b28: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_INPUT; - 8001b4a: 2300 movs r3, #0 - 8001b4c: 633b str r3, [r7, #48] ; 0x30 + 8001b2a: 2300 movs r3, #0 + 8001b2c: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001b4e: 2300 movs r3, #0 - 8001b50: 637b str r3, [r7, #52] ; 0x34 - HAL_GPIO_Init(uSD_Detect_GPIO_Port, &GPIO_InitStruct); - 8001b52: f107 032c add.w r3, r7, #44 ; 0x2c - 8001b56: 4619 mov r1, r3 - 8001b58: 4816 ldr r0, [pc, #88] ; (8001bb4 ) - 8001b5a: f005 fdd9 bl 8007710 + 8001b2e: 2300 movs r3, #0 + 8001b30: 637b str r3, [r7, #52] ; 0x34 + HAL_GPIO_Init(GPIOH, &GPIO_InitStruct); + 8001b32: f107 032c add.w r3, r7, #44 ; 0x2c + 8001b36: 4619 mov r1, r3 + 8001b38: 4869 ldr r0, [pc, #420] ; (8001ce0 ) + 8001b3a: f005 fb9d bl 8007278 - /*Configure GPIO pin : LCD_BL_CTRL_Pin */ - GPIO_InitStruct.Pin = LCD_BL_CTRL_Pin; - 8001b5e: 2308 movs r3, #8 - 8001b60: 62fb str r3, [r7, #44] ; 0x2c + /*Configure GPIO pins : LED13_Pin LED17_Pin LED11_Pin LED12_Pin + LED2_Pin LED18_Pin */ + GPIO_InitStruct.Pin = LED13_Pin|LED17_Pin|LED11_Pin|LED12_Pin + 8001b3e: f645 6340 movw r3, #24128 ; 0x5e40 + 8001b42: 62fb str r3, [r7, #44] ; 0x2c + |LED2_Pin|LED18_Pin; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; - 8001b62: 2301 movs r3, #1 + 8001b44: 2301 movs r3, #1 + 8001b46: 633b str r3, [r7, #48] ; 0x30 + GPIO_InitStruct.Pull = GPIO_NOPULL; + 8001b48: 2300 movs r3, #0 + 8001b4a: 637b str r3, [r7, #52] ; 0x34 + GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; + 8001b4c: 2300 movs r3, #0 + 8001b4e: 63bb str r3, [r7, #56] ; 0x38 + HAL_GPIO_Init(GPIOH, &GPIO_InitStruct); + 8001b50: f107 032c add.w r3, r7, #44 ; 0x2c + 8001b54: 4619 mov r1, r3 + 8001b56: 4862 ldr r0, [pc, #392] ; (8001ce0 ) + 8001b58: f005 fb8e bl 8007278 + + /*Configure GPIO pin : VCP_TX_Pin */ + GPIO_InitStruct.Pin = VCP_TX_Pin; + 8001b5c: f44f 7300 mov.w r3, #512 ; 0x200 + 8001b60: 62fb str r3, [r7, #44] ; 0x2c + GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; + 8001b62: 2302 movs r3, #2 8001b64: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; 8001b66: 2300 movs r3, #0 @@ -4190,24854 +4205,25041 @@ static void MX_GPIO_Init(void) GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; 8001b6a: 2300 movs r3, #0 8001b6c: 63bb str r3, [r7, #56] ; 0x38 - HAL_GPIO_Init(LCD_BL_CTRL_GPIO_Port, &GPIO_InitStruct); - 8001b6e: f107 032c add.w r3, r7, #44 ; 0x2c - 8001b72: 4619 mov r1, r3 - 8001b74: 4808 ldr r0, [pc, #32] ; (8001b98 ) - 8001b76: f005 fdcb bl 8007710 - - /*Configure GPIO pin : OTG_FS_OverCurrent_Pin */ - GPIO_InitStruct.Pin = OTG_FS_OverCurrent_Pin; - 8001b7a: 2310 movs r3, #16 - 8001b7c: 62fb str r3, [r7, #44] ; 0x2c - GPIO_InitStruct.Mode = GPIO_MODE_INPUT; - 8001b7e: 2300 movs r3, #0 - 8001b80: 633b str r3, [r7, #48] ; 0x30 - GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001b82: 2300 movs r3, #0 - 8001b84: 637b str r3, [r7, #52] ; 0x34 - 8001b86: e017 b.n 8001bb8 - 8001b88: 40023800 .word 0x40023800 - 8001b8c: 40021000 .word 0x40021000 - 8001b90: 40020c00 .word 0x40020c00 - 8001b94: 40022000 .word 0x40022000 - 8001b98: 40022800 .word 0x40022800 - 8001b9c: 40021c00 .word 0x40021c00 - 8001ba0: 40021800 .word 0x40021800 - 8001ba4: 40020400 .word 0x40020400 - 8001ba8: 40020000 .word 0x40020000 - 8001bac: 40022400 .word 0x40022400 - 8001bb0: 10120000 .word 0x10120000 - 8001bb4: 40020800 .word 0x40020800 - HAL_GPIO_Init(OTG_FS_OverCurrent_GPIO_Port, &GPIO_InitStruct); - 8001bb8: f107 032c add.w r3, r7, #44 ; 0x2c - 8001bbc: 4619 mov r1, r3 - 8001bbe: 485e ldr r0, [pc, #376] ; (8001d38 ) - 8001bc0: f005 fda6 bl 8007710 - - /*Configure GPIO pins : TP3_Pin NC2_Pin */ - GPIO_InitStruct.Pin = TP3_Pin|NC2_Pin; - 8001bc4: f248 0304 movw r3, #32772 ; 0x8004 - 8001bc8: 62fb str r3, [r7, #44] ; 0x2c - GPIO_InitStruct.Mode = GPIO_MODE_INPUT; - 8001bca: 2300 movs r3, #0 - 8001bcc: 633b str r3, [r7, #48] ; 0x30 - GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001bce: 2300 movs r3, #0 - 8001bd0: 637b str r3, [r7, #52] ; 0x34 - HAL_GPIO_Init(GPIOH, &GPIO_InitStruct); - 8001bd2: f107 032c add.w r3, r7, #44 ; 0x2c - 8001bd6: 4619 mov r1, r3 - 8001bd8: 4858 ldr r0, [pc, #352] ; (8001d3c ) - 8001bda: f005 fd99 bl 8007710 - - /*Configure GPIO pins : LED13_Pin LED17_Pin LED11_Pin LED12_Pin - LED2_Pin LED18_Pin */ - GPIO_InitStruct.Pin = LED13_Pin|LED17_Pin|LED11_Pin|LED12_Pin - 8001bde: f645 6340 movw r3, #24128 ; 0x5e40 - 8001be2: 62fb str r3, [r7, #44] ; 0x2c - |LED2_Pin|LED18_Pin; - GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; - 8001be4: 2301 movs r3, #1 - 8001be6: 633b str r3, [r7, #48] ; 0x30 - GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001be8: 2300 movs r3, #0 - 8001bea: 637b str r3, [r7, #52] ; 0x34 - GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 8001bec: 2300 movs r3, #0 - 8001bee: 63bb str r3, [r7, #56] ; 0x38 - HAL_GPIO_Init(GPIOH, &GPIO_InitStruct); - 8001bf0: f107 032c add.w r3, r7, #44 ; 0x2c - 8001bf4: 4619 mov r1, r3 - 8001bf6: 4851 ldr r0, [pc, #324] ; (8001d3c ) - 8001bf8: f005 fd8a bl 8007710 - - /*Configure GPIO pin : VCP_TX_Pin */ - GPIO_InitStruct.Pin = VCP_TX_Pin; - 8001bfc: f44f 7300 mov.w r3, #512 ; 0x200 - 8001c00: 62fb str r3, [r7, #44] ; 0x2c - GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8001c02: 2302 movs r3, #2 - 8001c04: 633b str r3, [r7, #48] ; 0x30 - GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001c06: 2300 movs r3, #0 - 8001c08: 637b str r3, [r7, #52] ; 0x34 - GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 8001c0a: 2300 movs r3, #0 - 8001c0c: 63bb str r3, [r7, #56] ; 0x38 GPIO_InitStruct.Alternate = GPIO_AF7_USART1; - 8001c0e: 2307 movs r3, #7 - 8001c10: 63fb str r3, [r7, #60] ; 0x3c + 8001b6e: 2307 movs r3, #7 + 8001b70: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(VCP_TX_GPIO_Port, &GPIO_InitStruct); - 8001c12: f107 032c add.w r3, r7, #44 ; 0x2c - 8001c16: 4619 mov r1, r3 - 8001c18: 4849 ldr r0, [pc, #292] ; (8001d40 ) - 8001c1a: f005 fd79 bl 8007710 + 8001b72: f107 032c add.w r3, r7, #44 ; 0x2c + 8001b76: 4619 mov r1, r3 + 8001b78: 485a ldr r0, [pc, #360] ; (8001ce4 ) + 8001b7a: f005 fb7d bl 8007278 + + /*Configure GPIO pin : BP_interrupt1_Pin */ + GPIO_InitStruct.Pin = BP_interrupt1_Pin; + 8001b7e: f44f 6300 mov.w r3, #2048 ; 0x800 + 8001b82: 62fb str r3, [r7, #44] ; 0x2c + GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING; + 8001b84: 4b58 ldr r3, [pc, #352] ; (8001ce8 ) + 8001b86: 633b str r3, [r7, #48] ; 0x30 + GPIO_InitStruct.Pull = GPIO_NOPULL; + 8001b88: 2300 movs r3, #0 + 8001b8a: 637b str r3, [r7, #52] ; 0x34 + HAL_GPIO_Init(BP_interrupt1_GPIO_Port, &GPIO_InitStruct); + 8001b8c: f107 032c add.w r3, r7, #44 ; 0x2c + 8001b90: 4619 mov r1, r3 + 8001b92: 4856 ldr r0, [pc, #344] ; (8001cec ) + 8001b94: f005 fb70 bl 8007278 + + /*Configure GPIO pin : PB_Pin */ + GPIO_InitStruct.Pin = PB_Pin; + 8001b98: f44f 7380 mov.w r3, #256 ; 0x100 + 8001b9c: 62fb str r3, [r7, #44] ; 0x2c + GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING; + 8001b9e: 4b52 ldr r3, [pc, #328] ; (8001ce8 ) + 8001ba0: 633b str r3, [r7, #48] ; 0x30 + GPIO_InitStruct.Pull = GPIO_NOPULL; + 8001ba2: 2300 movs r3, #0 + 8001ba4: 637b str r3, [r7, #52] ; 0x34 + HAL_GPIO_Init(PB_GPIO_Port, &GPIO_InitStruct); + 8001ba6: f107 032c add.w r3, r7, #44 ; 0x2c + 8001baa: 4619 mov r1, r3 + 8001bac: 484d ldr r0, [pc, #308] ; (8001ce4 ) + 8001bae: f005 fb63 bl 8007278 /*Configure GPIO pin : LCD_INT_Pin */ GPIO_InitStruct.Pin = LCD_INT_Pin; - 8001c1e: f44f 5300 mov.w r3, #8192 ; 0x2000 - 8001c22: 62fb str r3, [r7, #44] ; 0x2c + 8001bb2: f44f 5300 mov.w r3, #8192 ; 0x2000 + 8001bb6: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_EVT_RISING; - 8001c24: 4b47 ldr r3, [pc, #284] ; (8001d44 ) - 8001c26: 633b str r3, [r7, #48] ; 0x30 + 8001bb8: 4b4d ldr r3, [pc, #308] ; (8001cf0 ) + 8001bba: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001c28: 2300 movs r3, #0 - 8001c2a: 637b str r3, [r7, #52] ; 0x34 + 8001bbc: 2300 movs r3, #0 + 8001bbe: 637b str r3, [r7, #52] ; 0x34 HAL_GPIO_Init(LCD_INT_GPIO_Port, &GPIO_InitStruct); - 8001c2c: f107 032c add.w r3, r7, #44 ; 0x2c - 8001c30: 4619 mov r1, r3 - 8001c32: 4845 ldr r0, [pc, #276] ; (8001d48 ) - 8001c34: f005 fd6c bl 8007710 + 8001bc0: f107 032c add.w r3, r7, #44 ; 0x2c + 8001bc4: 4619 mov r1, r3 + 8001bc6: 4849 ldr r0, [pc, #292] ; (8001cec ) + 8001bc8: f005 fb56 bl 8007278 /*Configure GPIO pins : PC7 PC6 */ GPIO_InitStruct.Pin = GPIO_PIN_7|GPIO_PIN_6; - 8001c38: 23c0 movs r3, #192 ; 0xc0 - 8001c3a: 62fb str r3, [r7, #44] ; 0x2c + 8001bcc: 23c0 movs r3, #192 ; 0xc0 + 8001bce: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8001c3c: 2302 movs r3, #2 - 8001c3e: 633b str r3, [r7, #48] ; 0x30 + 8001bd0: 2302 movs r3, #2 + 8001bd2: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001c40: 2300 movs r3, #0 - 8001c42: 637b str r3, [r7, #52] ; 0x34 + 8001bd4: 2300 movs r3, #0 + 8001bd6: 637b str r3, [r7, #52] ; 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8001c44: 2303 movs r3, #3 - 8001c46: 63bb str r3, [r7, #56] ; 0x38 + 8001bd8: 2303 movs r3, #3 + 8001bda: 63bb str r3, [r7, #56] ; 0x38 GPIO_InitStruct.Alternate = GPIO_AF8_USART6; - 8001c48: 2308 movs r3, #8 - 8001c4a: 63fb str r3, [r7, #60] ; 0x3c + 8001bdc: 2308 movs r3, #8 + 8001bde: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(GPIOC, &GPIO_InitStruct); - 8001c4c: f107 032c add.w r3, r7, #44 ; 0x2c - 8001c50: 4619 mov r1, r3 - 8001c52: 483e ldr r0, [pc, #248] ; (8001d4c ) - 8001c54: f005 fd5c bl 8007710 + 8001be0: f107 032c add.w r3, r7, #44 ; 0x2c + 8001be4: 4619 mov r1, r3 + 8001be6: 4843 ldr r0, [pc, #268] ; (8001cf4 ) + 8001be8: f005 fb46 bl 8007278 /*Configure GPIO pin : ULPI_NXT_Pin */ GPIO_InitStruct.Pin = ULPI_NXT_Pin; - 8001c58: 2310 movs r3, #16 - 8001c5a: 62fb str r3, [r7, #44] ; 0x2c + 8001bec: 2310 movs r3, #16 + 8001bee: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8001c5c: 2302 movs r3, #2 - 8001c5e: 633b str r3, [r7, #48] ; 0x30 + 8001bf0: 2302 movs r3, #2 + 8001bf2: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001c60: 2300 movs r3, #0 - 8001c62: 637b str r3, [r7, #52] ; 0x34 + 8001bf4: 2300 movs r3, #0 + 8001bf6: 637b str r3, [r7, #52] ; 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8001c64: 2303 movs r3, #3 - 8001c66: 63bb str r3, [r7, #56] ; 0x38 + 8001bf8: 2303 movs r3, #3 + 8001bfa: 63bb str r3, [r7, #56] ; 0x38 GPIO_InitStruct.Alternate = GPIO_AF10_OTG_HS; - 8001c68: 230a movs r3, #10 - 8001c6a: 63fb str r3, [r7, #60] ; 0x3c + 8001bfc: 230a movs r3, #10 + 8001bfe: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(ULPI_NXT_GPIO_Port, &GPIO_InitStruct); - 8001c6c: f107 032c add.w r3, r7, #44 ; 0x2c - 8001c70: 4619 mov r1, r3 - 8001c72: 4832 ldr r0, [pc, #200] ; (8001d3c ) - 8001c74: f005 fd4c bl 8007710 + 8001c00: f107 032c add.w r3, r7, #44 ; 0x2c + 8001c04: 4619 mov r1, r3 + 8001c06: 4836 ldr r0, [pc, #216] ; (8001ce0 ) + 8001c08: f005 fb36 bl 8007278 /*Configure GPIO pins : BP_JOYSTICK_Pin RMII_RXER_Pin */ GPIO_InitStruct.Pin = BP_JOYSTICK_Pin|RMII_RXER_Pin; - 8001c78: 2384 movs r3, #132 ; 0x84 - 8001c7a: 62fb str r3, [r7, #44] ; 0x2c + 8001c0c: 2384 movs r3, #132 ; 0x84 + 8001c0e: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_INPUT; - 8001c7c: 2300 movs r3, #0 - 8001c7e: 633b str r3, [r7, #48] ; 0x30 + 8001c10: 2300 movs r3, #0 + 8001c12: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001c80: 2300 movs r3, #0 - 8001c82: 637b str r3, [r7, #52] ; 0x34 + 8001c14: 2300 movs r3, #0 + 8001c16: 637b str r3, [r7, #52] ; 0x34 HAL_GPIO_Init(GPIOG, &GPIO_InitStruct); - 8001c84: f107 032c add.w r3, r7, #44 ; 0x2c - 8001c88: 4619 mov r1, r3 - 8001c8a: 4831 ldr r0, [pc, #196] ; (8001d50 ) - 8001c8c: f005 fd40 bl 8007710 + 8001c18: f107 032c add.w r3, r7, #44 ; 0x2c + 8001c1c: 4619 mov r1, r3 + 8001c1e: 4836 ldr r0, [pc, #216] ; (8001cf8 ) + 8001c20: f005 fb2a bl 8007278 /*Configure GPIO pin : PF7 */ GPIO_InitStruct.Pin = GPIO_PIN_7; - 8001c90: 2380 movs r3, #128 ; 0x80 - 8001c92: 62fb str r3, [r7, #44] ; 0x2c + 8001c24: 2380 movs r3, #128 ; 0x80 + 8001c26: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8001c94: 2302 movs r3, #2 - 8001c96: 633b str r3, [r7, #48] ; 0x30 + 8001c28: 2302 movs r3, #2 + 8001c2a: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001c98: 2300 movs r3, #0 - 8001c9a: 637b str r3, [r7, #52] ; 0x34 + 8001c2c: 2300 movs r3, #0 + 8001c2e: 637b str r3, [r7, #52] ; 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8001c9c: 2303 movs r3, #3 - 8001c9e: 63bb str r3, [r7, #56] ; 0x38 + 8001c30: 2303 movs r3, #3 + 8001c32: 63bb str r3, [r7, #56] ; 0x38 GPIO_InitStruct.Alternate = GPIO_AF8_UART7; - 8001ca0: 2308 movs r3, #8 - 8001ca2: 63fb str r3, [r7, #60] ; 0x3c + 8001c34: 2308 movs r3, #8 + 8001c36: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(GPIOF, &GPIO_InitStruct); - 8001ca4: f107 032c add.w r3, r7, #44 ; 0x2c - 8001ca8: 4619 mov r1, r3 - 8001caa: 482a ldr r0, [pc, #168] ; (8001d54 ) - 8001cac: f005 fd30 bl 8007710 + 8001c38: f107 032c add.w r3, r7, #44 ; 0x2c + 8001c3c: 4619 mov r1, r3 + 8001c3e: 482f ldr r0, [pc, #188] ; (8001cfc ) + 8001c40: f005 fb1a bl 8007278 /*Configure GPIO pins : ULPI_STP_Pin ULPI_DIR_Pin */ GPIO_InitStruct.Pin = ULPI_STP_Pin|ULPI_DIR_Pin; - 8001cb0: 2305 movs r3, #5 - 8001cb2: 62fb str r3, [r7, #44] ; 0x2c + 8001c44: 2305 movs r3, #5 + 8001c46: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8001cb4: 2302 movs r3, #2 - 8001cb6: 633b str r3, [r7, #48] ; 0x30 + 8001c48: 2302 movs r3, #2 + 8001c4a: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001cb8: 2300 movs r3, #0 - 8001cba: 637b str r3, [r7, #52] ; 0x34 + 8001c4c: 2300 movs r3, #0 + 8001c4e: 637b str r3, [r7, #52] ; 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8001cbc: 2303 movs r3, #3 - 8001cbe: 63bb str r3, [r7, #56] ; 0x38 + 8001c50: 2303 movs r3, #3 + 8001c52: 63bb str r3, [r7, #56] ; 0x38 GPIO_InitStruct.Alternate = GPIO_AF10_OTG_HS; - 8001cc0: 230a movs r3, #10 - 8001cc2: 63fb str r3, [r7, #60] ; 0x3c + 8001c54: 230a movs r3, #10 + 8001c56: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(GPIOC, &GPIO_InitStruct); - 8001cc4: f107 032c add.w r3, r7, #44 ; 0x2c - 8001cc8: 4619 mov r1, r3 - 8001cca: 4820 ldr r0, [pc, #128] ; (8001d4c ) - 8001ccc: f005 fd20 bl 8007710 + 8001c58: f107 032c add.w r3, r7, #44 ; 0x2c + 8001c5c: 4619 mov r1, r3 + 8001c5e: 4825 ldr r0, [pc, #148] ; (8001cf4 ) + 8001c60: f005 fb0a bl 8007278 /*Configure GPIO pin : EXT_RST_Pin */ GPIO_InitStruct.Pin = EXT_RST_Pin; - 8001cd0: 2308 movs r3, #8 - 8001cd2: 62fb str r3, [r7, #44] ; 0x2c + 8001c64: 2308 movs r3, #8 + 8001c66: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; - 8001cd4: 2301 movs r3, #1 - 8001cd6: 633b str r3, [r7, #48] ; 0x30 + 8001c68: 2301 movs r3, #1 + 8001c6a: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001cd8: 2300 movs r3, #0 - 8001cda: 637b str r3, [r7, #52] ; 0x34 + 8001c6c: 2300 movs r3, #0 + 8001c6e: 637b str r3, [r7, #52] ; 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 8001cdc: 2300 movs r3, #0 - 8001cde: 63bb str r3, [r7, #56] ; 0x38 + 8001c70: 2300 movs r3, #0 + 8001c72: 63bb str r3, [r7, #56] ; 0x38 HAL_GPIO_Init(EXT_RST_GPIO_Port, &GPIO_InitStruct); - 8001ce0: f107 032c add.w r3, r7, #44 ; 0x2c - 8001ce4: 4619 mov r1, r3 - 8001ce6: 481a ldr r0, [pc, #104] ; (8001d50 ) - 8001ce8: f005 fd12 bl 8007710 + 8001c74: f107 032c add.w r3, r7, #44 ; 0x2c + 8001c78: 4619 mov r1, r3 + 8001c7a: 481f ldr r0, [pc, #124] ; (8001cf8 ) + 8001c7c: f005 fafc bl 8007278 /*Configure GPIO pins : LCD_SCL_Pin LCD_SDA_Pin */ GPIO_InitStruct.Pin = LCD_SCL_Pin|LCD_SDA_Pin; - 8001cec: f44f 73c0 mov.w r3, #384 ; 0x180 - 8001cf0: 62fb str r3, [r7, #44] ; 0x2c + 8001c80: f44f 73c0 mov.w r3, #384 ; 0x180 + 8001c84: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_AF_OD; - 8001cf2: 2312 movs r3, #18 - 8001cf4: 633b str r3, [r7, #48] ; 0x30 + 8001c86: 2312 movs r3, #18 + 8001c88: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_PULLUP; - 8001cf6: 2301 movs r3, #1 - 8001cf8: 637b str r3, [r7, #52] ; 0x34 + 8001c8a: 2301 movs r3, #1 + 8001c8c: 637b str r3, [r7, #52] ; 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8001cfa: 2303 movs r3, #3 - 8001cfc: 63bb str r3, [r7, #56] ; 0x38 + 8001c8e: 2303 movs r3, #3 + 8001c90: 63bb str r3, [r7, #56] ; 0x38 GPIO_InitStruct.Alternate = GPIO_AF4_I2C3; - 8001cfe: 2304 movs r3, #4 - 8001d00: 63fb str r3, [r7, #60] ; 0x3c + 8001c92: 2304 movs r3, #4 + 8001c94: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(GPIOH, &GPIO_InitStruct); - 8001d02: f107 032c add.w r3, r7, #44 ; 0x2c - 8001d06: 4619 mov r1, r3 - 8001d08: 480c ldr r0, [pc, #48] ; (8001d3c ) - 8001d0a: f005 fd01 bl 8007710 + 8001c96: f107 032c add.w r3, r7, #44 ; 0x2c + 8001c9a: 4619 mov r1, r3 + 8001c9c: 4810 ldr r0, [pc, #64] ; (8001ce0 ) + 8001c9e: f005 faeb bl 8007278 /*Configure GPIO pins : ULPI_CLK_Pin ULPI_D0_Pin */ GPIO_InitStruct.Pin = ULPI_CLK_Pin|ULPI_D0_Pin; - 8001d0e: 2328 movs r3, #40 ; 0x28 - 8001d10: 62fb str r3, [r7, #44] ; 0x2c + 8001ca2: 2328 movs r3, #40 ; 0x28 + 8001ca4: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8001d12: 2302 movs r3, #2 - 8001d14: 633b str r3, [r7, #48] ; 0x30 + 8001ca6: 2302 movs r3, #2 + 8001ca8: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001d16: 2300 movs r3, #0 - 8001d18: 637b str r3, [r7, #52] ; 0x34 + 8001caa: 2300 movs r3, #0 + 8001cac: 637b str r3, [r7, #52] ; 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8001d1a: 2303 movs r3, #3 - 8001d1c: 63bb str r3, [r7, #56] ; 0x38 + 8001cae: 2303 movs r3, #3 + 8001cb0: 63bb str r3, [r7, #56] ; 0x38 GPIO_InitStruct.Alternate = GPIO_AF10_OTG_HS; - 8001d1e: 230a movs r3, #10 - 8001d20: 63fb str r3, [r7, #60] ; 0x3c + 8001cb2: 230a movs r3, #10 + 8001cb4: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 8001d22: f107 032c add.w r3, r7, #44 ; 0x2c - 8001d26: 4619 mov r1, r3 - 8001d28: 4805 ldr r0, [pc, #20] ; (8001d40 ) - 8001d2a: f005 fcf1 bl 8007710 + 8001cb6: f107 032c add.w r3, r7, #44 ; 0x2c + 8001cba: 4619 mov r1, r3 + 8001cbc: 4809 ldr r0, [pc, #36] ; (8001ce4 ) + 8001cbe: f005 fadb bl 8007278 + + /* EXTI interrupt init*/ + HAL_NVIC_SetPriority(EXTI9_5_IRQn, 5, 0); + 8001cc2: 2200 movs r2, #0 + 8001cc4: 2105 movs r1, #5 + 8001cc6: 2017 movs r0, #23 + 8001cc8: f003 fb26 bl 8005318 + HAL_NVIC_EnableIRQ(EXTI9_5_IRQn); + 8001ccc: 2017 movs r0, #23 + 8001cce: f003 fb3f bl 8005350 } - 8001d2e: bf00 nop - 8001d30: 3740 adds r7, #64 ; 0x40 - 8001d32: 46bd mov sp, r7 - 8001d34: bd80 pop {r7, pc} - 8001d36: bf00 nop - 8001d38: 40020c00 .word 0x40020c00 - 8001d3c: 40021c00 .word 0x40021c00 - 8001d40: 40020000 .word 0x40020000 - 8001d44: 10120000 .word 0x10120000 - 8001d48: 40022000 .word 0x40022000 - 8001d4c: 40020800 .word 0x40020800 - 8001d50: 40021800 .word 0x40021800 - 8001d54: 40021400 .word 0x40021400 + 8001cd2: bf00 nop + 8001cd4: 3740 adds r7, #64 ; 0x40 + 8001cd6: 46bd mov sp, r7 + 8001cd8: bd80 pop {r7, pc} + 8001cda: bf00 nop + 8001cdc: 40020c00 .word 0x40020c00 + 8001ce0: 40021c00 .word 0x40021c00 + 8001ce4: 40020000 .word 0x40020000 + 8001ce8: 10110000 .word 0x10110000 + 8001cec: 40022000 .word 0x40022000 + 8001cf0: 10120000 .word 0x10120000 + 8001cf4: 40020800 .word 0x40020800 + 8001cf8: 40021800 .word 0x40021800 + 8001cfc: 40021400 .word 0x40021400 -08001d58 : +08001d00 : + +/* USER CODE BEGIN 4 */ +void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) +{ + 8001d00: b580 push {r7, lr} + 8001d02: b088 sub sp, #32 + 8001d04: af00 add r7, sp, #0 + 8001d06: 4603 mov r3, r0 + 8001d08: 80fb strh r3, [r7, #6] + /* Prevent unused argument(s) compilation warning */ + BaseType_t pxHigherPriorityTaskWoken = pdTRUE; + 8001d0a: 2301 movs r3, #1 + 8001d0c: 61fb str r3, [r7, #28] + // &pxHigherPriorityTaskWoken = + struct Missile missile = {joueur.x, joueur.y, 1, 0, 1, LCD_COLOR_LIGHTBLUE, 2, 1}; + 8001d0e: 4b13 ldr r3, [pc, #76] ; (8001d5c ) + 8001d10: 681b ldr r3, [r3, #0] + 8001d12: b29b uxth r3, r3 + 8001d14: 81bb strh r3, [r7, #12] + 8001d16: 4b11 ldr r3, [pc, #68] ; (8001d5c ) + 8001d18: 685b ldr r3, [r3, #4] + 8001d1a: b29b uxth r3, r3 + 8001d1c: 81fb strh r3, [r7, #14] + 8001d1e: 2301 movs r3, #1 + 8001d20: 743b strb r3, [r7, #16] + 8001d22: 2300 movs r3, #0 + 8001d24: 747b strb r3, [r7, #17] + 8001d26: 2301 movs r3, #1 + 8001d28: 74bb strb r3, [r7, #18] + 8001d2a: 4b0d ldr r3, [pc, #52] ; (8001d60 ) + 8001d2c: 617b str r3, [r7, #20] + 8001d2e: 2302 movs r3, #2 + 8001d30: 763b strb r3, [r7, #24] + 8001d32: 2301 movs r3, #1 + 8001d34: 767b strb r3, [r7, #25] + HAL_GPIO_TogglePin(LED13_GPIO_Port, LED13_Pin); + 8001d36: f44f 4180 mov.w r1, #16384 ; 0x4000 + 8001d3a: 480a ldr r0, [pc, #40] ; (8001d64 ) + 8001d3c: f005 fc5f bl 80075fe + xQueueSendFromISR(Queue_NHandle, &missile, &pxHigherPriorityTaskWoken); + 8001d40: 4b09 ldr r3, [pc, #36] ; (8001d68 ) + 8001d42: 6818 ldr r0, [r3, #0] + 8001d44: f107 021c add.w r2, r7, #28 + 8001d48: f107 010c add.w r1, r7, #12 + 8001d4c: 2300 movs r3, #0 + 8001d4e: f00a fcab bl 800c6a8 + /* NOTE: This function Should not be modified, when the callback is needed, + the HAL_GPIO_EXTI_Callback could be implemented in the user file + */ +} + 8001d52: bf00 nop + 8001d54: 3720 adds r7, #32 + 8001d56: 46bd mov sp, r7 + 8001d58: bd80 pop {r7, pc} + 8001d5a: bf00 nop + 8001d5c: 20000028 .word 0x20000028 + 8001d60: ff8080ff .word 0xff8080ff + 8001d64: 40021c00 .word 0x40021c00 + 8001d68: 20008b04 .word 0x20008b04 + +08001d6c : * @param argument: Not used * @retval None */ /* USER CODE END Header_f_GameMaster */ void f_GameMaster(void const * argument) { - 8001d58: b580 push {r7, lr} - 8001d5a: b086 sub sp, #24 - 8001d5c: af00 add r7, sp, #0 - 8001d5e: 6078 str r0, [r7, #4] + 8001d6c: b580 push {r7, lr} + 8001d6e: b086 sub sp, #24 + 8001d70: af00 add r7, sp, #0 + 8001d72: 6078 str r0, [r7, #4] /* init code for LWIP */ MX_LWIP_Init(); - 8001d60: f009 fbc8 bl 800b4f4 + 8001d74: f009 f98c bl 800b090 /* USER CODE BEGIN 5 */ TickType_t xLastWakeTime; const TickType_t xPeriodeTache = 10; - 8001d64: 230a movs r3, #10 - 8001d66: 617b str r3, [r7, #20] + 8001d78: 230a movs r3, #10 + 8001d7a: 617b str r3, [r7, #20] // Si la variable end est à 1, le jeu s'arrete. uint8_t end = 0; - 8001d68: 2300 movs r3, #0 - 8001d6a: 73fb strb r3, [r7, #15] + 8001d7c: 2300 movs r3, #0 + 8001d7e: 73fb strb r3, [r7, #15] /* Infinite loop */ for (;;) { xQueueReceive(Queue_FHandle, &end, 0); - 8001d6c: 4b1b ldr r3, [pc, #108] ; (8001ddc ) - 8001d6e: 681b ldr r3, [r3, #0] - 8001d70: f107 010f add.w r1, r7, #15 - 8001d74: 2200 movs r2, #0 - 8001d76: 4618 mov r0, r3 - 8001d78: f00a fff6 bl 800cd68 + 8001d80: 4b1b ldr r3, [pc, #108] ; (8001df0 ) + 8001d82: 681b ldr r3, [r3, #0] + 8001d84: f107 010f add.w r1, r7, #15 + 8001d88: 2200 movs r2, #0 + 8001d8a: 4618 mov r0, r3 + 8001d8c: f00a fdba bl 800c904 if (end == 1){ - 8001d7c: 7bfb ldrb r3, [r7, #15] - 8001d7e: 2b01 cmp r3, #1 - 8001d80: d10e bne.n 8001da0 + 8001d90: 7bfb ldrb r3, [r7, #15] + 8001d92: 2b01 cmp r3, #1 + 8001d94: d10e bne.n 8001db4 vTaskDelete(Block_EnemieHandle); - 8001d82: 4b17 ldr r3, [pc, #92] ; (8001de0 ) - 8001d84: 681b ldr r3, [r3, #0] - 8001d86: 4618 mov r0, r3 - 8001d88: f00b fd2e bl 800d7e8 - vTaskDelete(ProjectileHandle); - 8001d8c: 4b15 ldr r3, [pc, #84] ; (8001de4 ) - 8001d8e: 681b ldr r3, [r3, #0] - 8001d90: 4618 mov r0, r3 - 8001d92: f00b fd29 bl 800d7e8 - vTaskDelete(Joueur_1Handle); - 8001d96: 4b14 ldr r3, [pc, #80] ; (8001de8 ) + 8001d96: 4b17 ldr r3, [pc, #92] ; (8001df4 ) 8001d98: 681b ldr r3, [r3, #0] 8001d9a: 4618 mov r0, r3 - 8001d9c: f00b fd24 bl 800d7e8 + 8001d9c: f00b faf2 bl 800d384 + vTaskDelete(ProjectileHandle); + 8001da0: 4b15 ldr r3, [pc, #84] ; (8001df8 ) + 8001da2: 681b ldr r3, [r3, #0] + 8001da4: 4618 mov r0, r3 + 8001da6: f00b faed bl 800d384 + vTaskDelete(Joueur_1Handle); + 8001daa: 4b14 ldr r3, [pc, #80] ; (8001dfc ) + 8001dac: 681b ldr r3, [r3, #0] + 8001dae: 4618 mov r0, r3 + 8001db0: f00b fae8 bl 800d384 //TODO L'affichage de l'écran de fin et des scores } if (end == 0){ - 8001da0: 7bfb ldrb r3, [r7, #15] - 8001da2: 2b00 cmp r3, #0 - 8001da4: d112 bne.n 8001dcc + 8001db4: 7bfb ldrb r3, [r7, #15] + 8001db6: 2b00 cmp r3, #0 + 8001db8: d112 bne.n 8001de0 if (waves_left == 0){ - 8001da6: 4b11 ldr r3, [pc, #68] ; (8001dec ) - 8001da8: 781b ldrb r3, [r3, #0] - 8001daa: 2b00 cmp r3, #0 - 8001dac: d10e bne.n 8001dcc + 8001dba: 4b11 ldr r3, [pc, #68] ; (8001e00 ) + 8001dbc: 781b ldrb r3, [r3, #0] + 8001dbe: 2b00 cmp r3, #0 + 8001dc0: d10e bne.n 8001de0 vTaskDelete(Block_EnemieHandle); - 8001dae: 4b0c ldr r3, [pc, #48] ; (8001de0 ) - 8001db0: 681b ldr r3, [r3, #0] - 8001db2: 4618 mov r0, r3 - 8001db4: f00b fd18 bl 800d7e8 - vTaskDelete(ProjectileHandle); - 8001db8: 4b0a ldr r3, [pc, #40] ; (8001de4 ) - 8001dba: 681b ldr r3, [r3, #0] - 8001dbc: 4618 mov r0, r3 - 8001dbe: f00b fd13 bl 800d7e8 - vTaskDelete(Joueur_1Handle); - 8001dc2: 4b09 ldr r3, [pc, #36] ; (8001de8 ) + 8001dc2: 4b0c ldr r3, [pc, #48] ; (8001df4 ) 8001dc4: 681b ldr r3, [r3, #0] 8001dc6: 4618 mov r0, r3 - 8001dc8: f00b fd0e bl 800d7e8 + 8001dc8: f00b fadc bl 800d384 + vTaskDelete(ProjectileHandle); + 8001dcc: 4b0a ldr r3, [pc, #40] ; (8001df8 ) + 8001dce: 681b ldr r3, [r3, #0] + 8001dd0: 4618 mov r0, r3 + 8001dd2: f00b fad7 bl 800d384 + vTaskDelete(Joueur_1Handle); + 8001dd6: 4b09 ldr r3, [pc, #36] ; (8001dfc ) + 8001dd8: 681b ldr r3, [r3, #0] + 8001dda: 4618 mov r0, r3 + 8001ddc: f00b fad2 bl 800d384 } vTaskDelayUntil(&xLastWakeTime, xPeriodeTache); - 8001dcc: f107 0310 add.w r3, r7, #16 - 8001dd0: 6979 ldr r1, [r7, #20] - 8001dd2: 4618 mov r0, r3 - 8001dd4: f00b fd98 bl 800d908 + 8001de0: f107 0310 add.w r3, r7, #16 + 8001de4: 6979 ldr r1, [r7, #20] + 8001de6: 4618 mov r0, r3 + 8001de8: f00b fb5c bl 800d4a4 xQueueReceive(Queue_FHandle, &end, 0); - 8001dd8: e7c8 b.n 8001d6c - 8001dda: bf00 nop - 8001ddc: 20008b0c .word 0x20008b0c - 8001de0: 20008c34 .word 0x20008c34 - 8001de4: 20008b24 .word 0x20008b24 - 8001de8: 2000894c .word 0x2000894c - 8001dec: 20000048 .word 0x20000048 + 8001dec: e7c8 b.n 8001d80 + 8001dee: bf00 nop + 8001df0: 20008b08 .word 0x20008b08 + 8001df4: 20008c30 .word 0x20008c30 + 8001df8: 20008b20 .word 0x20008b20 + 8001dfc: 20008948 .word 0x20008948 + 8001e00: 20000048 .word 0x20000048 -08001df0 : +08001e04 : * @param argument: Not used * @retval None */ /* USER CODE END Header_f_Joueur_1 */ void f_Joueur_1(void const * argument) { - 8001df0: b580 push {r7, lr} - 8001df2: b096 sub sp, #88 ; 0x58 - 8001df4: af00 add r7, sp, #0 - 8001df6: 6078 str r0, [r7, #4] + 8001e04: b580 push {r7, lr} + 8001e06: b096 sub sp, #88 ; 0x58 + 8001e08: af00 add r7, sp, #0 + 8001e0a: 6078 str r0, [r7, #4] /* USER CODE BEGIN f_Joueur_1 */ TickType_t xLastWakeTime; const TickType_t xPeriodeTache = 10; - 8001df8: 230a movs r3, #10 - 8001dfa: 657b str r3, [r7, #84] ; 0x54 + 8001e0c: 230a movs r3, #10 + 8001e0e: 657b str r3, [r7, #84] ; 0x54 uint16_t Width = 20; - 8001dfc: 2314 movs r3, #20 - 8001dfe: f8a7 3052 strh.w r3, [r7, #82] ; 0x52 + 8001e10: 2314 movs r3, #20 + 8001e12: f8a7 3052 strh.w r3, [r7, #82] ; 0x52 uint16_t Height = 20; - 8001e02: 2314 movs r3, #20 - 8001e04: f8a7 3050 strh.w r3, [r7, #80] ; 0x50 + 8001e16: 2314 movs r3, #20 + 8001e18: f8a7 3050 strh.w r3, [r7, #80] ; 0x50 uint32_t joystick_h, joystick_v; uint8_t stop = 1; - 8001e08: 2301 movs r3, #1 - 8001e0a: f887 303b strb.w r3, [r7, #59] ; 0x3b + 8001e1c: 2301 movs r3, #1 + 8001e1e: f887 303b strb.w r3, [r7, #59] ; 0x3b struct Missile missile; ADC_ChannelConfTypeDef sConfig3 = {0}; - 8001e0e: f107 0318 add.w r3, r7, #24 - 8001e12: 2200 movs r2, #0 - 8001e14: 601a str r2, [r3, #0] - 8001e16: 605a str r2, [r3, #4] - 8001e18: 609a str r2, [r3, #8] - 8001e1a: 60da str r2, [r3, #12] + 8001e22: f107 0318 add.w r3, r7, #24 + 8001e26: 2200 movs r2, #0 + 8001e28: 601a str r2, [r3, #0] + 8001e2a: 605a str r2, [r3, #4] + 8001e2c: 609a str r2, [r3, #8] + 8001e2e: 60da str r2, [r3, #12] sConfig3.Rank = ADC_REGULAR_RANK_1; - 8001e1c: 2301 movs r3, #1 - 8001e1e: 61fb str r3, [r7, #28] + 8001e30: 2301 movs r3, #1 + 8001e32: 61fb str r3, [r7, #28] sConfig3.SamplingTime = ADC_SAMPLETIME_3CYCLES; - 8001e20: 2300 movs r3, #0 - 8001e22: 623b str r3, [r7, #32] + 8001e34: 2300 movs r3, #0 + 8001e36: 623b str r3, [r7, #32] sConfig3.Channel = ADC_CHANNEL_8; - 8001e24: 2308 movs r3, #8 - 8001e26: 61bb str r3, [r7, #24] + 8001e38: 2308 movs r3, #8 + 8001e3a: 61bb str r3, [r7, #24] HAL_ADC_ConfigChannel(&hadc3, &sConfig3); - 8001e28: f107 0318 add.w r3, r7, #24 - 8001e2c: 4619 mov r1, r3 - 8001e2e: 4872 ldr r0, [pc, #456] ; (8001ff8 ) - 8001e30: f003 f9c2 bl 80051b8 + 8001e3c: f107 0318 add.w r3, r7, #24 + 8001e40: 4619 mov r1, r3 + 8001e42: 4872 ldr r0, [pc, #456] ; (800200c ) + 8001e44: f002 ff6c bl 8004d20 HAL_ADC_Start(&hadc3); - 8001e34: 4870 ldr r0, [pc, #448] ; (8001ff8 ) - 8001e36: f003 f86d bl 8004f14 + 8001e48: 4870 ldr r0, [pc, #448] ; (800200c ) + 8001e4a: f002 fe17 bl 8004a7c ADC_ChannelConfTypeDef sConfig1 = {0}; - 8001e3a: f107 0308 add.w r3, r7, #8 - 8001e3e: 2200 movs r2, #0 - 8001e40: 601a str r2, [r3, #0] - 8001e42: 605a str r2, [r3, #4] - 8001e44: 609a str r2, [r3, #8] - 8001e46: 60da str r2, [r3, #12] + 8001e4e: f107 0308 add.w r3, r7, #8 + 8001e52: 2200 movs r2, #0 + 8001e54: 601a str r2, [r3, #0] + 8001e56: 605a str r2, [r3, #4] + 8001e58: 609a str r2, [r3, #8] + 8001e5a: 60da str r2, [r3, #12] sConfig1.Rank = ADC_REGULAR_RANK_1; - 8001e48: 2301 movs r3, #1 - 8001e4a: 60fb str r3, [r7, #12] + 8001e5c: 2301 movs r3, #1 + 8001e5e: 60fb str r3, [r7, #12] sConfig1.SamplingTime = ADC_SAMPLETIME_3CYCLES; - 8001e4c: 2300 movs r3, #0 - 8001e4e: 613b str r3, [r7, #16] + 8001e60: 2300 movs r3, #0 + 8001e62: 613b str r3, [r7, #16] sConfig1.Channel = ADC_CHANNEL_0; - 8001e50: 2300 movs r3, #0 - 8001e52: 60bb str r3, [r7, #8] + 8001e64: 2300 movs r3, #0 + 8001e66: 60bb str r3, [r7, #8] HAL_ADC_ConfigChannel(&hadc1, &sConfig1); - 8001e54: f107 0308 add.w r3, r7, #8 - 8001e58: 4619 mov r1, r3 - 8001e5a: 4868 ldr r0, [pc, #416] ; (8001ffc ) - 8001e5c: f003 f9ac bl 80051b8 + 8001e68: f107 0308 add.w r3, r7, #8 + 8001e6c: 4619 mov r1, r3 + 8001e6e: 4868 ldr r0, [pc, #416] ; (8002010 ) + 8001e70: f002 ff56 bl 8004d20 HAL_ADC_Start(&hadc1); - 8001e60: 4866 ldr r0, [pc, #408] ; (8001ffc ) - 8001e62: f003 f857 bl 8004f14 + 8001e74: 4866 ldr r0, [pc, #408] ; (8002010 ) + 8001e76: f002 fe01 bl 8004a7c // Paramètre de l'écran pour la reprouductibilité uint32_t LCD_HEIGHT = BSP_LCD_GetXSize(); - 8001e66: f000 fe5b bl 8002b20 - 8001e6a: 64f8 str r0, [r7, #76] ; 0x4c + 8001e7a: f000 fdeb bl 8002a54 + 8001e7e: 64f8 str r0, [r7, #76] ; 0x4c uint32_t LCD_WIDTH = BSP_LCD_GetYSize(); - 8001e6c: f000 fe6c bl 8002b48 - 8001e70: 64b8 str r0, [r7, #72] ; 0x48 + 8001e80: f000 fdfc bl 8002a7c + 8001e84: 64b8 str r0, [r7, #72] ; 0x48 /* Infinite loop */ for (;;) { BSP_LCD_SetTextColor(LCD_COLOR_BACKGROUND); - 8001e72: 4b63 ldr r3, [pc, #396] ; (8002000 ) - 8001e74: 681b ldr r3, [r3, #0] - 8001e76: 4618 mov r0, r3 - 8001e78: f000 feea bl 8002c50 + 8001e86: 4b63 ldr r3, [pc, #396] ; (8002014 ) + 8001e88: 681b ldr r3, [r3, #0] + 8001e8a: 4618 mov r0, r3 + 8001e8c: f000 fe7a bl 8002b84 BSP_LCD_FillRect(joueur.x, joueur.y, Width, Height); - 8001e7c: 4b61 ldr r3, [pc, #388] ; (8002004 ) - 8001e7e: 681b ldr r3, [r3, #0] - 8001e80: b298 uxth r0, r3 - 8001e82: 4b60 ldr r3, [pc, #384] ; (8002004 ) - 8001e84: 685b ldr r3, [r3, #4] - 8001e86: b299 uxth r1, r3 - 8001e88: f8b7 3050 ldrh.w r3, [r7, #80] ; 0x50 - 8001e8c: f8b7 2052 ldrh.w r2, [r7, #82] ; 0x52 - 8001e90: f001 face bl 8003430 + 8001e90: 4b61 ldr r3, [pc, #388] ; (8002018 ) + 8001e92: 681b ldr r3, [r3, #0] + 8001e94: b298 uxth r0, r3 + 8001e96: 4b60 ldr r3, [pc, #384] ; (8002018 ) + 8001e98: 685b ldr r3, [r3, #4] + 8001e9a: b299 uxth r1, r3 + 8001e9c: f8b7 3050 ldrh.w r3, [r7, #80] ; 0x50 + 8001ea0: f8b7 2052 ldrh.w r2, [r7, #82] ; 0x52 + 8001ea4: f001 f928 bl 80030f8 // BSP_LCD_DrawBitmap(uint32_t Xpos, uint32_t Ypos, uint8_t *pbmp) HAL_ADC_ConfigChannel(&hadc3, &sConfig3); - 8001e94: f107 0318 add.w r3, r7, #24 - 8001e98: 4619 mov r1, r3 - 8001e9a: 4857 ldr r0, [pc, #348] ; (8001ff8 ) - 8001e9c: f003 f98c bl 80051b8 + 8001ea8: f107 0318 add.w r3, r7, #24 + 8001eac: 4619 mov r1, r3 + 8001eae: 4857 ldr r0, [pc, #348] ; (800200c ) + 8001eb0: f002 ff36 bl 8004d20 HAL_ADC_Start(&hadc3); - 8001ea0: 4855 ldr r0, [pc, #340] ; (8001ff8 ) - 8001ea2: f003 f837 bl 8004f14 + 8001eb4: 4855 ldr r0, [pc, #340] ; (800200c ) + 8001eb6: f002 fde1 bl 8004a7c while (HAL_ADC_PollForConversion(&hadc3, 100) != HAL_OK); - 8001ea6: bf00 nop - 8001ea8: 2164 movs r1, #100 ; 0x64 - 8001eaa: 4853 ldr r0, [pc, #332] ; (8001ff8 ) - 8001eac: f003 f8f2 bl 8005094 - 8001eb0: 4603 mov r3, r0 - 8001eb2: 2b00 cmp r3, #0 - 8001eb4: d1f8 bne.n 8001ea8 + 8001eba: bf00 nop + 8001ebc: 2164 movs r1, #100 ; 0x64 + 8001ebe: 4853 ldr r0, [pc, #332] ; (800200c ) + 8001ec0: f002 fe9c bl 8004bfc + 8001ec4: 4603 mov r3, r0 + 8001ec6: 2b00 cmp r3, #0 + 8001ec8: d1f8 bne.n 8001ebc joystick_h = HAL_ADC_GetValue(&hadc3); - 8001eb6: 4850 ldr r0, [pc, #320] ; (8001ff8 ) - 8001eb8: f003 f970 bl 800519c - 8001ebc: 6478 str r0, [r7, #68] ; 0x44 + 8001eca: 4850 ldr r0, [pc, #320] ; (800200c ) + 8001ecc: f002 ff1a bl 8004d04 + 8001ed0: 6478 str r0, [r7, #68] ; 0x44 HAL_ADC_ConfigChannel(&hadc1, &sConfig1); - 8001ebe: f107 0308 add.w r3, r7, #8 - 8001ec2: 4619 mov r1, r3 - 8001ec4: 484d ldr r0, [pc, #308] ; (8001ffc ) - 8001ec6: f003 f977 bl 80051b8 + 8001ed2: f107 0308 add.w r3, r7, #8 + 8001ed6: 4619 mov r1, r3 + 8001ed8: 484d ldr r0, [pc, #308] ; (8002010 ) + 8001eda: f002 ff21 bl 8004d20 HAL_ADC_Start(&hadc1); - 8001eca: 484c ldr r0, [pc, #304] ; (8001ffc ) - 8001ecc: f003 f822 bl 8004f14 + 8001ede: 484c ldr r0, [pc, #304] ; (8002010 ) + 8001ee0: f002 fdcc bl 8004a7c while (HAL_ADC_PollForConversion(&hadc1, 100) != HAL_OK); - 8001ed0: bf00 nop - 8001ed2: 2164 movs r1, #100 ; 0x64 - 8001ed4: 4849 ldr r0, [pc, #292] ; (8001ffc ) - 8001ed6: f003 f8dd bl 8005094 - 8001eda: 4603 mov r3, r0 - 8001edc: 2b00 cmp r3, #0 - 8001ede: d1f8 bne.n 8001ed2 + 8001ee4: bf00 nop + 8001ee6: 2164 movs r1, #100 ; 0x64 + 8001ee8: 4849 ldr r0, [pc, #292] ; (8002010 ) + 8001eea: f002 fe87 bl 8004bfc + 8001eee: 4603 mov r3, r0 + 8001ef0: 2b00 cmp r3, #0 + 8001ef2: d1f8 bne.n 8001ee6 joystick_v = HAL_ADC_GetValue(&hadc1); - 8001ee0: 4846 ldr r0, [pc, #280] ; (8001ffc ) - 8001ee2: f003 f95b bl 800519c - 8001ee6: 6438 str r0, [r7, #64] ; 0x40 + 8001ef4: 4846 ldr r0, [pc, #280] ; (8002010 ) + 8001ef6: f002 ff05 bl 8004d04 + 8001efa: 6438 str r0, [r7, #64] ; 0x40 if ((joueur.y < LCD_WIDTH- Width - joueur.dy)&&(joystick_h < 1900)) joueur.y += joueur.dy; - 8001ee8: 4b46 ldr r3, [pc, #280] ; (8002004 ) - 8001eea: 685a ldr r2, [r3, #4] - 8001eec: f8b7 3052 ldrh.w r3, [r7, #82] ; 0x52 - 8001ef0: 6cb9 ldr r1, [r7, #72] ; 0x48 - 8001ef2: 1acb subs r3, r1, r3 - 8001ef4: 4943 ldr r1, [pc, #268] ; (8002004 ) - 8001ef6: 7a49 ldrb r1, [r1, #9] - 8001ef8: 1a5b subs r3, r3, r1 - 8001efa: 429a cmp r2, r3 - 8001efc: d20b bcs.n 8001f16 - 8001efe: 6c7b ldr r3, [r7, #68] ; 0x44 - 8001f00: f240 726b movw r2, #1899 ; 0x76b - 8001f04: 4293 cmp r3, r2 - 8001f06: d806 bhi.n 8001f16 - 8001f08: 4b3e ldr r3, [pc, #248] ; (8002004 ) - 8001f0a: 685b ldr r3, [r3, #4] - 8001f0c: 4a3d ldr r2, [pc, #244] ; (8002004 ) - 8001f0e: 7a52 ldrb r2, [r2, #9] - 8001f10: 4413 add r3, r2 - 8001f12: 4a3c ldr r2, [pc, #240] ; (8002004 ) - 8001f14: 6053 str r3, [r2, #4] + 8001efc: 4b46 ldr r3, [pc, #280] ; (8002018 ) + 8001efe: 685a ldr r2, [r3, #4] + 8001f00: f8b7 3052 ldrh.w r3, [r7, #82] ; 0x52 + 8001f04: 6cb9 ldr r1, [r7, #72] ; 0x48 + 8001f06: 1acb subs r3, r1, r3 + 8001f08: 4943 ldr r1, [pc, #268] ; (8002018 ) + 8001f0a: 7a49 ldrb r1, [r1, #9] + 8001f0c: 1a5b subs r3, r3, r1 + 8001f0e: 429a cmp r2, r3 + 8001f10: d20b bcs.n 8001f2a + 8001f12: 6c7b ldr r3, [r7, #68] ; 0x44 + 8001f14: f240 726b movw r2, #1899 ; 0x76b + 8001f18: 4293 cmp r3, r2 + 8001f1a: d806 bhi.n 8001f2a + 8001f1c: 4b3e ldr r3, [pc, #248] ; (8002018 ) + 8001f1e: 685b ldr r3, [r3, #4] + 8001f20: 4a3d ldr r2, [pc, #244] ; (8002018 ) + 8001f22: 7a52 ldrb r2, [r2, #9] + 8001f24: 4413 add r3, r2 + 8001f26: 4a3c ldr r2, [pc, #240] ; (8002018 ) + 8001f28: 6053 str r3, [r2, #4] if ((joueur.y > joueur.dy)&&(joystick_h > 2100)) joueur.y -= joueur.dy; - 8001f16: 4b3b ldr r3, [pc, #236] ; (8002004 ) - 8001f18: 685b ldr r3, [r3, #4] - 8001f1a: 4a3a ldr r2, [pc, #232] ; (8002004 ) - 8001f1c: 7a52 ldrb r2, [r2, #9] - 8001f1e: 4293 cmp r3, r2 - 8001f20: d90b bls.n 8001f3a - 8001f22: 6c7b ldr r3, [r7, #68] ; 0x44 - 8001f24: f640 0234 movw r2, #2100 ; 0x834 - 8001f28: 4293 cmp r3, r2 - 8001f2a: d906 bls.n 8001f3a - 8001f2c: 4b35 ldr r3, [pc, #212] ; (8002004 ) - 8001f2e: 685b ldr r3, [r3, #4] - 8001f30: 4a34 ldr r2, [pc, #208] ; (8002004 ) - 8001f32: 7a52 ldrb r2, [r2, #9] - 8001f34: 1a9b subs r3, r3, r2 - 8001f36: 4a33 ldr r2, [pc, #204] ; (8002004 ) - 8001f38: 6053 str r3, [r2, #4] + 8001f2a: 4b3b ldr r3, [pc, #236] ; (8002018 ) + 8001f2c: 685b ldr r3, [r3, #4] + 8001f2e: 4a3a ldr r2, [pc, #232] ; (8002018 ) + 8001f30: 7a52 ldrb r2, [r2, #9] + 8001f32: 4293 cmp r3, r2 + 8001f34: d90b bls.n 8001f4e + 8001f36: 6c7b ldr r3, [r7, #68] ; 0x44 + 8001f38: f640 0234 movw r2, #2100 ; 0x834 + 8001f3c: 4293 cmp r3, r2 + 8001f3e: d906 bls.n 8001f4e + 8001f40: 4b35 ldr r3, [pc, #212] ; (8002018 ) + 8001f42: 685b ldr r3, [r3, #4] + 8001f44: 4a34 ldr r2, [pc, #208] ; (8002018 ) + 8001f46: 7a52 ldrb r2, [r2, #9] + 8001f48: 1a9b subs r3, r3, r2 + 8001f4a: 4a33 ldr r2, [pc, #204] ; (8002018 ) + 8001f4c: 6053 str r3, [r2, #4] if ((joueur.x < LCD_HEIGHT - Height - joueur.dx)&&(joystick_v < 1900)) joueur.x += joueur.dx; - 8001f3a: 4b32 ldr r3, [pc, #200] ; (8002004 ) - 8001f3c: 681a ldr r2, [r3, #0] - 8001f3e: f8b7 3050 ldrh.w r3, [r7, #80] ; 0x50 - 8001f42: 6cf9 ldr r1, [r7, #76] ; 0x4c - 8001f44: 1acb subs r3, r1, r3 - 8001f46: 492f ldr r1, [pc, #188] ; (8002004 ) - 8001f48: 7a09 ldrb r1, [r1, #8] - 8001f4a: 1a5b subs r3, r3, r1 - 8001f4c: 429a cmp r2, r3 - 8001f4e: d20b bcs.n 8001f68 - 8001f50: 6c3b ldr r3, [r7, #64] ; 0x40 - 8001f52: f240 726b movw r2, #1899 ; 0x76b - 8001f56: 4293 cmp r3, r2 - 8001f58: d806 bhi.n 8001f68 - 8001f5a: 4b2a ldr r3, [pc, #168] ; (8002004 ) - 8001f5c: 681b ldr r3, [r3, #0] - 8001f5e: 4a29 ldr r2, [pc, #164] ; (8002004 ) - 8001f60: 7a12 ldrb r2, [r2, #8] - 8001f62: 4413 add r3, r2 - 8001f64: 4a27 ldr r2, [pc, #156] ; (8002004 ) - 8001f66: 6013 str r3, [r2, #0] + 8001f4e: 4b32 ldr r3, [pc, #200] ; (8002018 ) + 8001f50: 681a ldr r2, [r3, #0] + 8001f52: f8b7 3050 ldrh.w r3, [r7, #80] ; 0x50 + 8001f56: 6cf9 ldr r1, [r7, #76] ; 0x4c + 8001f58: 1acb subs r3, r1, r3 + 8001f5a: 492f ldr r1, [pc, #188] ; (8002018 ) + 8001f5c: 7a09 ldrb r1, [r1, #8] + 8001f5e: 1a5b subs r3, r3, r1 + 8001f60: 429a cmp r2, r3 + 8001f62: d20b bcs.n 8001f7c + 8001f64: 6c3b ldr r3, [r7, #64] ; 0x40 + 8001f66: f240 726b movw r2, #1899 ; 0x76b + 8001f6a: 4293 cmp r3, r2 + 8001f6c: d806 bhi.n 8001f7c + 8001f6e: 4b2a ldr r3, [pc, #168] ; (8002018 ) + 8001f70: 681b ldr r3, [r3, #0] + 8001f72: 4a29 ldr r2, [pc, #164] ; (8002018 ) + 8001f74: 7a12 ldrb r2, [r2, #8] + 8001f76: 4413 add r3, r2 + 8001f78: 4a27 ldr r2, [pc, #156] ; (8002018 ) + 8001f7a: 6013 str r3, [r2, #0] if ((joueur.x > joueur.dx)&&(joystick_v > 2100)) joueur.x -= joueur.dx; - 8001f68: 4b26 ldr r3, [pc, #152] ; (8002004 ) - 8001f6a: 681b ldr r3, [r3, #0] - 8001f6c: 4a25 ldr r2, [pc, #148] ; (8002004 ) - 8001f6e: 7a12 ldrb r2, [r2, #8] - 8001f70: 4293 cmp r3, r2 - 8001f72: d90b bls.n 8001f8c - 8001f74: 6c3b ldr r3, [r7, #64] ; 0x40 - 8001f76: f640 0234 movw r2, #2100 ; 0x834 - 8001f7a: 4293 cmp r3, r2 - 8001f7c: d906 bls.n 8001f8c - 8001f7e: 4b21 ldr r3, [pc, #132] ; (8002004 ) - 8001f80: 681b ldr r3, [r3, #0] - 8001f82: 4a20 ldr r2, [pc, #128] ; (8002004 ) - 8001f84: 7a12 ldrb r2, [r2, #8] - 8001f86: 1a9b subs r3, r3, r2 - 8001f88: 4a1e ldr r2, [pc, #120] ; (8002004 ) - 8001f8a: 6013 str r3, [r2, #0] + 8001f7c: 4b26 ldr r3, [pc, #152] ; (8002018 ) + 8001f7e: 681b ldr r3, [r3, #0] + 8001f80: 4a25 ldr r2, [pc, #148] ; (8002018 ) + 8001f82: 7a12 ldrb r2, [r2, #8] + 8001f84: 4293 cmp r3, r2 + 8001f86: d90b bls.n 8001fa0 + 8001f88: 6c3b ldr r3, [r7, #64] ; 0x40 + 8001f8a: f640 0234 movw r2, #2100 ; 0x834 + 8001f8e: 4293 cmp r3, r2 + 8001f90: d906 bls.n 8001fa0 + 8001f92: 4b21 ldr r3, [pc, #132] ; (8002018 ) + 8001f94: 681b ldr r3, [r3, #0] + 8001f96: 4a20 ldr r2, [pc, #128] ; (8002018 ) + 8001f98: 7a12 ldrb r2, [r2, #8] + 8001f9a: 1a9b subs r3, r3, r2 + 8001f9c: 4a1e ldr r2, [pc, #120] ; (8002018 ) + 8001f9e: 6013 str r3, [r2, #0] BSP_LCD_SetTextColor(LCD_COLOR_BLUE); - 8001f8c: 481e ldr r0, [pc, #120] ; (8002008 ) - 8001f8e: f000 fe5f bl 8002c50 + 8001fa0: 481e ldr r0, [pc, #120] ; (800201c ) + 8001fa2: f000 fdef bl 8002b84 BSP_LCD_FillRect(joueur.x, joueur.y, Width, Height); - 8001f92: 4b1c ldr r3, [pc, #112] ; (8002004 ) - 8001f94: 681b ldr r3, [r3, #0] - 8001f96: b298 uxth r0, r3 - 8001f98: 4b1a ldr r3, [pc, #104] ; (8002004 ) - 8001f9a: 685b ldr r3, [r3, #4] - 8001f9c: b299 uxth r1, r3 - 8001f9e: f8b7 3050 ldrh.w r3, [r7, #80] ; 0x50 - 8001fa2: f8b7 2052 ldrh.w r2, [r7, #82] ; 0x52 - 8001fa6: f001 fa43 bl 8003430 + 8001fa6: 4b1c ldr r3, [pc, #112] ; (8002018 ) + 8001fa8: 681b ldr r3, [r3, #0] + 8001faa: b298 uxth r0, r3 + 8001fac: 4b1a ldr r3, [pc, #104] ; (8002018 ) + 8001fae: 685b ldr r3, [r3, #4] + 8001fb0: b299 uxth r1, r3 + 8001fb2: f8b7 3050 ldrh.w r3, [r7, #80] ; 0x50 + 8001fb6: f8b7 2052 ldrh.w r2, [r7, #82] ; 0x52 + 8001fba: f001 f89d bl 80030f8 if (xQueueReceive(Queue_JHandle, &missile, 0) == pdPASS) - 8001faa: 4b18 ldr r3, [pc, #96] ; (800200c ) - 8001fac: 681b ldr r3, [r3, #0] - 8001fae: f107 0128 add.w r1, r7, #40 ; 0x28 - 8001fb2: 2200 movs r2, #0 - 8001fb4: 4618 mov r0, r3 - 8001fb6: f00a fed7 bl 800cd68 - 8001fba: 4603 mov r3, r0 - 8001fbc: 2b01 cmp r3, #1 - 8001fbe: d107 bne.n 8001fd0 + 8001fbe: 4b18 ldr r3, [pc, #96] ; (8002020 ) + 8001fc0: 681b ldr r3, [r3, #0] + 8001fc2: f107 0128 add.w r1, r7, #40 ; 0x28 + 8001fc6: 2200 movs r2, #0 + 8001fc8: 4618 mov r0, r3 + 8001fca: f00a fc9b bl 800c904 + 8001fce: 4603 mov r3, r0 + 8001fd0: 2b01 cmp r3, #1 + 8001fd2: d107 bne.n 8001fe4 joueur.health = joueur.health - missile.damage; - 8001fc0: 4b10 ldr r3, [pc, #64] ; (8002004 ) - 8001fc2: 7a9a ldrb r2, [r3, #10] - 8001fc4: f897 3034 ldrb.w r3, [r7, #52] ; 0x34 - 8001fc8: 1ad3 subs r3, r2, r3 - 8001fca: b2da uxtb r2, r3 - 8001fcc: 4b0d ldr r3, [pc, #52] ; (8002004 ) - 8001fce: 729a strb r2, [r3, #10] + 8001fd4: 4b10 ldr r3, [pc, #64] ; (8002018 ) + 8001fd6: 7a9a ldrb r2, [r3, #10] + 8001fd8: f897 3034 ldrb.w r3, [r7, #52] ; 0x34 + 8001fdc: 1ad3 subs r3, r2, r3 + 8001fde: b2da uxtb r2, r3 + 8001fe0: 4b0d ldr r3, [pc, #52] ; (8002018 ) + 8001fe2: 729a strb r2, [r3, #10] // On envoie 1 si le joueur est mort et on envoie 0 si les enemis sont tous morts if (joueur.health == 0)xQueueSend(Queue_FHandle,&stop,0); - 8001fd0: 4b0c ldr r3, [pc, #48] ; (8002004 ) - 8001fd2: 7a9b ldrb r3, [r3, #10] - 8001fd4: 2b00 cmp r3, #0 - 8001fd6: d107 bne.n 8001fe8 - 8001fd8: 4b0d ldr r3, [pc, #52] ; (8002010 ) - 8001fda: 6818 ldr r0, [r3, #0] - 8001fdc: f107 013b add.w r1, r7, #59 ; 0x3b - 8001fe0: 2300 movs r3, #0 - 8001fe2: 2200 movs r2, #0 - 8001fe4: f00a fc90 bl 800c908 + 8001fe4: 4b0c ldr r3, [pc, #48] ; (8002018 ) + 8001fe6: 7a9b ldrb r3, [r3, #10] + 8001fe8: 2b00 cmp r3, #0 + 8001fea: d107 bne.n 8001ffc + 8001fec: 4b0d ldr r3, [pc, #52] ; (8002024 ) + 8001fee: 6818 ldr r0, [r3, #0] + 8001ff0: f107 013b add.w r1, r7, #59 ; 0x3b + 8001ff4: 2300 movs r3, #0 + 8001ff6: 2200 movs r2, #0 + 8001ff8: f00a fa54 bl 800c4a4 // TODO La condition sur une entrée analogique pour envoyer un missile // struct Missile missile = {joueur.x, joueur.y,joueur.missile.dx, joueur.missile.dy, 1, joueur.missile.color, joueur.missile.damage}; // xQueueSend(Queue_NHandle,&missile,0); vTaskDelayUntil(&xLastWakeTime, xPeriodeTache); - 8001fe8: f107 033c add.w r3, r7, #60 ; 0x3c - 8001fec: 6d79 ldr r1, [r7, #84] ; 0x54 - 8001fee: 4618 mov r0, r3 - 8001ff0: f00b fc8a bl 800d908 + 8001ffc: f107 033c add.w r3, r7, #60 ; 0x3c + 8002000: 6d79 ldr r1, [r7, #84] ; 0x54 + 8002002: 4618 mov r0, r3 + 8002004: f00b fa4e bl 800d4a4 BSP_LCD_SetTextColor(LCD_COLOR_BACKGROUND); - 8001ff4: e73d b.n 8001e72 - 8001ff6: bf00 nop - 8001ff8: 20008ac0 .word 0x20008ac0 - 8001ffc: 20008a78 .word 0x20008a78 - 8002000: 20000044 .word 0x20000044 - 8002004: 20000028 .word 0x20000028 - 8002008: ff0000ff .word 0xff0000ff - 800200c: 20008920 .word 0x20008920 - 8002010: 20008b0c .word 0x20008b0c + 8002008: e73d b.n 8001e86 + 800200a: bf00 nop + 800200c: 20008abc .word 0x20008abc + 8002010: 20008a74 .word 0x20008a74 + 8002014: 20000044 .word 0x20000044 + 8002018: 20000028 .word 0x20000028 + 800201c: ff0000ff .word 0xff0000ff + 8002020: 20008920 .word 0x20008920 + 8002024: 20008b08 .word 0x20008b08 -08002014 : +08002028 : * @param argument: Not used * @retval None */ /* USER CODE END Header_f_block_enemie */ void f_block_enemie(void const * argument) { - 8002014: b580 push {r7, lr} - 8002016: f5ad 7d7c sub.w sp, sp, #1008 ; 0x3f0 - 800201a: af00 add r7, sp, #0 - 800201c: 1d3b adds r3, r7, #4 - 800201e: 6018 str r0, [r3, #0] + 8002028: b580 push {r7, lr} + 800202a: f5ad 7d7c sub.w sp, sp, #1008 ; 0x3f0 + 800202e: af00 add r7, sp, #0 + 8002030: 1d3b adds r3, r7, #4 + 8002032: 6018 str r0, [r3, #0] /* USER CODE BEGIN f_block_enemie */ TickType_t xLastWakeTime; const TickType_t xPeriodeTache = 10; - 8002020: 230a movs r3, #10 - 8002022: f8c7 33e4 str.w r3, [r7, #996] ; 0x3e4 + 8002034: 230a movs r3, #10 + 8002036: f8c7 33e4 str.w r3, [r7, #996] ; 0x3e4 uint8_t number_monsters = 30; - 8002026: 231e movs r3, #30 - 8002028: f887 33ef strb.w r3, [r7, #1007] ; 0x3ef + 800203a: 231e movs r3, #30 + 800203c: f887 33ef strb.w r3, [r7, #1007] ; 0x3ef struct Monster list_monsters[30]; uint8_t end = 0; - 800202c: f107 031f add.w r3, r7, #31 - 8002030: 2200 movs r2, #0 - 8002032: 701a strb r2, [r3, #0] + 8002040: f107 031f add.w r3, r7, #31 + 8002044: 2200 movs r2, #0 + 8002046: 701a strb r2, [r3, #0] uint8_t deplacement = 1; - 8002034: 2301 movs r3, #1 - 8002036: f887 33ee strb.w r3, [r7, #1006] ; 0x3ee + 8002048: 2301 movs r3, #1 + 800204a: f887 33ee strb.w r3, [r7, #1006] ; 0x3ee struct Missile missile = {0,0,0,0,0,0,0,0}; - 800203a: f107 030c add.w r3, r7, #12 - 800203e: 461a mov r2, r3 - 8002040: 2300 movs r3, #0 - 8002042: 6013 str r3, [r2, #0] - 8002044: 6053 str r3, [r2, #4] - 8002046: 6093 str r3, [r2, #8] - 8002048: 60d3 str r3, [r2, #12] + 800204e: f107 030c add.w r3, r7, #12 + 8002052: 461a mov r2, r3 + 8002054: 2300 movs r3, #0 + 8002056: 6013 str r3, [r2, #0] + 8002058: 6053 str r3, [r2, #4] + 800205a: 6093 str r3, [r2, #8] + 800205c: 60d3 str r3, [r2, #12] /* Infinite loop */ for (;;) { xQueueReceive(Queue_EHandle, &missile, 0); - 800204a: 4b52 ldr r3, [pc, #328] ; (8002194 ) - 800204c: 681b ldr r3, [r3, #0] - 800204e: f107 010c add.w r1, r7, #12 - 8002052: 2200 movs r2, #0 - 8002054: 4618 mov r0, r3 - 8002056: f00a fe87 bl 800cd68 + 800205e: 4b52 ldr r3, [pc, #328] ; (80021a8 ) + 8002060: 681b ldr r3, [r3, #0] + 8002062: f107 010c add.w r1, r7, #12 + 8002066: 2200 movs r2, #0 + 8002068: 4618 mov r0, r3 + 800206a: f00a fc4b bl 800c904 if (number_monsters == 0){ - 800205a: f897 33ef ldrb.w r3, [r7, #1007] ; 0x3ef - 800205e: 2b00 cmp r3, #0 - 8002060: d107 bne.n 8002072 + 800206e: f897 33ef ldrb.w r3, [r7, #1007] ; 0x3ef + 8002072: 2b00 cmp r3, #0 + 8002074: d107 bne.n 8002086 xQueueSend(Queue_FHandle, &end, 0); - 8002062: 4b4d ldr r3, [pc, #308] ; (8002198 ) - 8002064: 6818 ldr r0, [r3, #0] - 8002066: f107 011f add.w r1, r7, #31 - 800206a: 2300 movs r3, #0 - 800206c: 2200 movs r2, #0 - 800206e: f00a fc4b bl 800c908 + 8002076: 4b4d ldr r3, [pc, #308] ; (80021ac ) + 8002078: 6818 ldr r0, [r3, #0] + 800207a: f107 011f add.w r1, r7, #31 + 800207e: 2300 movs r3, #0 + 8002080: 2200 movs r2, #0 + 8002082: f00a fa0f bl 800c4a4 } for (int i=0;i< number_monsters;i++){ - 8002072: 2300 movs r3, #0 - 8002074: f8c7 33e8 str.w r3, [r7, #1000] ; 0x3e8 - 8002078: e07a b.n 8002170 + 8002086: 2300 movs r3, #0 + 8002088: f8c7 33e8 str.w r3, [r7, #1000] ; 0x3e8 + 800208c: e07a b.n 8002184 if (list_monsters[i].health > 0 ){ - 800207a: f107 0220 add.w r2, r7, #32 - 800207e: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 - 8002082: 015b lsls r3, r3, #5 - 8002084: 4413 add r3, r2 - 8002086: 331d adds r3, #29 - 8002088: 781b ldrb r3, [r3, #0] - 800208a: 2b00 cmp r3, #0 - 800208c: d06b beq.n 8002166 + 800208e: f107 0220 add.w r2, r7, #32 + 8002092: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 + 8002096: 015b lsls r3, r3, #5 + 8002098: 4413 add r3, r2 + 800209a: 331d adds r3, #29 + 800209c: 781b ldrb r3, [r3, #0] + 800209e: 2b00 cmp r3, #0 + 80020a0: d06b beq.n 800217a if ((missile.x == list_monsters[i].x)&&(missile.y == list_monsters[i].y)) - 800208e: f107 030c add.w r3, r7, #12 - 8002092: 881b ldrh r3, [r3, #0] - 8002094: 4619 mov r1, r3 - 8002096: f107 0220 add.w r2, r7, #32 - 800209a: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 - 800209e: 015b lsls r3, r3, #5 - 80020a0: 4413 add r3, r2 - 80020a2: 681b ldr r3, [r3, #0] - 80020a4: 4299 cmp r1, r3 - 80020a6: d133 bne.n 8002110 - 80020a8: f107 030c add.w r3, r7, #12 - 80020ac: 885b ldrh r3, [r3, #2] - 80020ae: 4619 mov r1, r3 - 80020b0: f107 0220 add.w r2, r7, #32 - 80020b4: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 - 80020b8: 015b lsls r3, r3, #5 - 80020ba: 4413 add r3, r2 - 80020bc: 3304 adds r3, #4 - 80020be: 681b ldr r3, [r3, #0] - 80020c0: 4299 cmp r1, r3 - 80020c2: d125 bne.n 8002110 - { - list_monsters[i].health = list_monsters[i].health -1; + 80020a2: f107 030c add.w r3, r7, #12 + 80020a6: 881b ldrh r3, [r3, #0] + 80020a8: 4619 mov r1, r3 + 80020aa: f107 0220 add.w r2, r7, #32 + 80020ae: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 + 80020b2: 015b lsls r3, r3, #5 + 80020b4: 4413 add r3, r2 + 80020b6: 681b ldr r3, [r3, #0] + 80020b8: 4299 cmp r1, r3 + 80020ba: d133 bne.n 8002124 + 80020bc: f107 030c add.w r3, r7, #12 + 80020c0: 885b ldrh r3, [r3, #2] + 80020c2: 4619 mov r1, r3 80020c4: f107 0220 add.w r2, r7, #32 80020c8: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 80020cc: 015b lsls r3, r3, #5 80020ce: 4413 add r3, r2 - 80020d0: 331d adds r3, #29 - 80020d2: 781b ldrb r3, [r3, #0] - 80020d4: 3b01 subs r3, #1 - 80020d6: b2d9 uxtb r1, r3 + 80020d0: 3304 adds r3, #4 + 80020d2: 681b ldr r3, [r3, #0] + 80020d4: 4299 cmp r1, r3 + 80020d6: d125 bne.n 8002124 + { + list_monsters[i].health = list_monsters[i].health -1; 80020d8: f107 0220 add.w r2, r7, #32 80020dc: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 80020e0: 015b lsls r3, r3, #5 80020e2: 4413 add r3, r2 80020e4: 331d adds r3, #29 - 80020e6: 460a mov r2, r1 - 80020e8: 701a strb r2, [r3, #0] + 80020e6: 781b ldrb r3, [r3, #0] + 80020e8: 3b01 subs r3, #1 + 80020ea: b2d9 uxtb r1, r3 + 80020ec: f107 0220 add.w r2, r7, #32 + 80020f0: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 + 80020f4: 015b lsls r3, r3, #5 + 80020f6: 4413 add r3, r2 + 80020f8: 331d adds r3, #29 + 80020fa: 460a mov r2, r1 + 80020fc: 701a strb r2, [r3, #0] // Est ce que cette ligne va marcher sachant que je transmets l'adresse dans la queue ? missile.valide = 0; - 80020ea: f107 030c add.w r3, r7, #12 - 80020ee: 2200 movs r2, #0 - 80020f0: 735a strb r2, [r3, #13] + 80020fe: f107 030c add.w r3, r7, #12 + 8002102: 2200 movs r2, #0 + 8002104: 735a strb r2, [r3, #13] if (list_monsters[i].health == 0){ - 80020f2: f107 0220 add.w r2, r7, #32 - 80020f6: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 - 80020fa: 015b lsls r3, r3, #5 - 80020fc: 4413 add r3, r2 - 80020fe: 331d adds r3, #29 - 8002100: 781b ldrb r3, [r3, #0] - 8002102: 2b00 cmp r3, #0 - 8002104: d104 bne.n 8002110 + 8002106: f107 0220 add.w r2, r7, #32 + 800210a: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 + 800210e: 015b lsls r3, r3, #5 + 8002110: 4413 add r3, r2 + 8002112: 331d adds r3, #29 + 8002114: 781b ldrb r3, [r3, #0] + 8002116: 2b00 cmp r3, #0 + 8002118: d104 bne.n 8002124 //TODO explosion du plaisir ? number_monsters = number_monsters -1; - 8002106: f897 33ef ldrb.w r3, [r7, #1007] ; 0x3ef - 800210a: 3b01 subs r3, #1 - 800210c: f887 33ef strb.w r3, [r7, #1007] ; 0x3ef + 800211a: f897 33ef ldrb.w r3, [r7, #1007] ; 0x3ef + 800211e: 3b01 subs r3, #1 + 8002120: f887 33ef strb.w r3, [r7, #1007] ; 0x3ef } } BSP_LCD_DrawBitmap(list_monsters[i].x, list_monsters[i].y, &list_monsters[i].pbmp); - 8002110: f107 0220 add.w r2, r7, #32 - 8002114: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 - 8002118: 015b lsls r3, r3, #5 - 800211a: 4413 add r3, r2 - 800211c: 6818 ldr r0, [r3, #0] - 800211e: f107 0220 add.w r2, r7, #32 - 8002122: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 - 8002126: 015b lsls r3, r3, #5 - 8002128: 4413 add r3, r2 - 800212a: 3304 adds r3, #4 - 800212c: 6819 ldr r1, [r3, #0] - 800212e: f107 0220 add.w r2, r7, #32 - 8002132: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 - 8002136: 015b lsls r3, r3, #5 - 8002138: 3308 adds r3, #8 - 800213a: 4413 add r3, r2 - 800213c: 461a mov r2, r3 - 800213e: f001 f8c7 bl 80032d0 - // On alterne le deplacement des méchants comme dans le vrai jeux - //TODO est ce que ca va posé un décalage entre l'affichage et la hitboxe ? - list_monsters[i].x = list_monsters[i].x + deplacement*2; + 8002124: f107 0220 add.w r2, r7, #32 + 8002128: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 + 800212c: 015b lsls r3, r3, #5 + 800212e: 4413 add r3, r2 + 8002130: 6818 ldr r0, [r3, #0] + 8002132: f107 0220 add.w r2, r7, #32 + 8002136: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 + 800213a: 015b lsls r3, r3, #5 + 800213c: 4413 add r3, r2 + 800213e: 3304 adds r3, #4 + 8002140: 6819 ldr r1, [r3, #0] 8002142: f107 0220 add.w r2, r7, #32 8002146: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 800214a: 015b lsls r3, r3, #5 - 800214c: 4413 add r3, r2 - 800214e: 681b ldr r3, [r3, #0] - 8002150: f897 23ee ldrb.w r2, [r7, #1006] ; 0x3ee - 8002154: 0052 lsls r2, r2, #1 - 8002156: 441a add r2, r3 - 8002158: f107 0120 add.w r1, r7, #32 - 800215c: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 - 8002160: 015b lsls r3, r3, #5 - 8002162: 440b add r3, r1 - 8002164: 601a str r2, [r3, #0] + 800214c: 3308 adds r3, #8 + 800214e: 4413 add r3, r2 + 8002150: 461a mov r2, r3 + 8002152: f000 ff21 bl 8002f98 + // On alterne le deplacement des méchants comme dans le vrai jeux + //TODO est ce que ca va posé un décalage entre l'affichage et la hitboxe ? + list_monsters[i].x = list_monsters[i].x + deplacement*2; + 8002156: f107 0220 add.w r2, r7, #32 + 800215a: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 + 800215e: 015b lsls r3, r3, #5 + 8002160: 4413 add r3, r2 + 8002162: 681b ldr r3, [r3, #0] + 8002164: f897 23ee ldrb.w r2, [r7, #1006] ; 0x3ee + 8002168: 0052 lsls r2, r2, #1 + 800216a: 441a add r2, r3 + 800216c: f107 0120 add.w r1, r7, #32 + 8002170: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 + 8002174: 015b lsls r3, r3, #5 + 8002176: 440b add r3, r1 + 8002178: 601a str r2, [r3, #0] for (int i=0;i< number_monsters;i++){ - 8002166: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 - 800216a: 3301 adds r3, #1 - 800216c: f8c7 33e8 str.w r3, [r7, #1000] ; 0x3e8 - 8002170: f897 33ef ldrb.w r3, [r7, #1007] ; 0x3ef - 8002174: f8d7 23e8 ldr.w r2, [r7, #1000] ; 0x3e8 - 8002178: 429a cmp r2, r3 - 800217a: f6ff af7e blt.w 800207a + 800217a: f8d7 33e8 ldr.w r3, [r7, #1000] ; 0x3e8 + 800217e: 3301 adds r3, #1 + 8002180: f8c7 33e8 str.w r3, [r7, #1000] ; 0x3e8 + 8002184: f897 33ef ldrb.w r3, [r7, #1007] ; 0x3ef + 8002188: f8d7 23e8 ldr.w r2, [r7, #1000] ; 0x3e8 + 800218c: 429a cmp r2, r3 + 800218e: f6ff af7e blt.w 800208e } } deplacement = -1; - 800217e: 23ff movs r3, #255 ; 0xff - 8002180: f887 33ee strb.w r3, [r7, #1006] ; 0x3ee + 8002192: 23ff movs r3, #255 ; 0xff + 8002194: f887 33ee strb.w r3, [r7, #1006] ; 0x3ee vTaskDelayUntil(&xLastWakeTime, xPeriodeTache); - 8002184: f507 7378 add.w r3, r7, #992 ; 0x3e0 - 8002188: f8d7 13e4 ldr.w r1, [r7, #996] ; 0x3e4 - 800218c: 4618 mov r0, r3 - 800218e: f00b fbbb bl 800d908 + 8002198: f507 7378 add.w r3, r7, #992 ; 0x3e0 + 800219c: f8d7 13e4 ldr.w r1, [r7, #996] ; 0x3e4 + 80021a0: 4618 mov r0, r3 + 80021a2: f00b f97f bl 800d4a4 xQueueReceive(Queue_EHandle, &missile, 0); - 8002192: e75a b.n 800204a - 8002194: 20008bfc .word 0x20008bfc - 8002198: 20008b0c .word 0x20008b0c + 80021a6: e75a b.n 800205e + 80021a8: 20008bf8 .word 0x20008bf8 + 80021ac: 20008b08 .word 0x20008b08 -0800219c : +080021b0 : * @param argument: Not used * @retval None */ /* USER CODE END Header_f_projectile */ void f_projectile(void const * argument) { - 800219c: b590 push {r4, r7, lr} - 800219e: b0dd sub sp, #372 ; 0x174 - 80021a0: af00 add r7, sp, #0 - 80021a2: 1d3b adds r3, r7, #4 - 80021a4: 6018 str r0, [r3, #0] + 80021b0: b590 push {r4, r7, lr} + 80021b2: b0dd sub sp, #372 ; 0x174 + 80021b4: af00 add r7, sp, #0 + 80021b6: 1d3b adds r3, r7, #4 + 80021b8: 6018 str r0, [r3, #0] /* USER CODE BEGIN f_projectile */ TickType_t xLastWakeTime; - const TickType_t xPeriodeTache = 5000; - 80021a6: f241 3388 movw r3, #5000 ; 0x1388 - 80021aa: f8c7 3164 str.w r3, [r7, #356] ; 0x164 + const TickType_t xPeriodeTache = 50000; + 80021ba: f24c 3350 movw r3, #50000 ; 0xc350 + 80021be: f8c7 3164 str.w r3, [r7, #356] ; 0x164 /* Infinite loop */ struct Missile liste_missile[20]; struct Missile missile; uint8_t indice = 0; - 80021ae: 2300 movs r3, #0 - 80021b0: f887 316f strb.w r3, [r7, #367] ; 0x16f + 80021c2: 2300 movs r3, #0 + 80021c4: f887 316f strb.w r3, [r7, #367] ; 0x16f // Paramètre de l'écran pour la reprouductibilité uint32_t LCD_HEIGHT = BSP_LCD_GetXSize(); - 80021b4: f000 fcb4 bl 8002b20 - 80021b8: f8c7 0160 str.w r0, [r7, #352] ; 0x160 + 80021c8: f000 fc44 bl 8002a54 + 80021cc: f8c7 0160 str.w r0, [r7, #352] ; 0x160 uint32_t LCD_WIDTH = BSP_LCD_GetYSize(); - 80021bc: f000 fcc4 bl 8002b48 - 80021c0: f8c7 015c str.w r0, [r7, #348] ; 0x15c + 80021d0: f000 fc54 bl 8002a7c + 80021d4: f8c7 015c str.w r0, [r7, #348] ; 0x15c for (;;) { - xQueueReceive(Queue_NHandle, &missile, 0); - 80021c4: 4b81 ldr r3, [pc, #516] ; (80023cc ) - 80021c6: 681b ldr r3, [r3, #0] - 80021c8: f107 0108 add.w r1, r7, #8 - 80021cc: 2200 movs r2, #0 - 80021ce: 4618 mov r0, r3 - 80021d0: f00a fdca bl 800cd68 - if (missile.valide == 1){ - 80021d4: f107 0308 add.w r3, r7, #8 - 80021d8: 7b5b ldrb r3, [r3, #13] - 80021da: 2b01 cmp r3, #1 - 80021dc: d10e bne.n 80021fc + if (xQueueReceive(Queue_NHandle, &missile, 0) == pdPASS) + 80021d8: 4b80 ldr r3, [pc, #512] ; (80023dc ) + 80021da: 681b ldr r3, [r3, #0] + 80021dc: f107 0108 add.w r1, r7, #8 + 80021e0: 2200 movs r2, #0 + 80021e2: 4618 mov r0, r3 + 80021e4: f00a fb8e bl 800c904 + 80021e8: 4603 mov r3, r0 + 80021ea: 2b01 cmp r3, #1 + 80021ec: d10e bne.n 800220c + { liste_missile[indice++] = missile; - 80021de: f897 316f ldrb.w r3, [r7, #367] ; 0x16f - 80021e2: 1c5a adds r2, r3, #1 - 80021e4: f887 216f strb.w r2, [r7, #367] ; 0x16f - 80021e8: f107 0218 add.w r2, r7, #24 - 80021ec: 011b lsls r3, r3, #4 - 80021ee: 441a add r2, r3 - 80021f0: f107 0308 add.w r3, r7, #8 - 80021f4: 4614 mov r4, r2 - 80021f6: cb0f ldmia r3, {r0, r1, r2, r3} - 80021f8: e884 000f stmia.w r4, {r0, r1, r2, r3} + 80021ee: f897 316f ldrb.w r3, [r7, #367] ; 0x16f + 80021f2: 1c5a adds r2, r3, #1 + 80021f4: f887 216f strb.w r2, [r7, #367] ; 0x16f + 80021f8: f107 0218 add.w r2, r7, #24 + 80021fc: 011b lsls r3, r3, #4 + 80021fe: 441a add r2, r3 + 8002200: f107 0308 add.w r3, r7, #8 + 8002204: 4614 mov r4, r2 + 8002206: cb0f ldmia r3, {r0, r1, r2, r3} + 8002208: e884 000f stmia.w r4, {r0, r1, r2, r3} } for (int i=0;i< indice;i++) - 80021fc: 2300 movs r3, #0 - 80021fe: f8c7 3168 str.w r3, [r7, #360] ; 0x168 - 8002202: e1de b.n 80025c2 + 800220c: 2300 movs r3, #0 + 800220e: f8c7 3168 str.w r3, [r7, #360] ; 0x168 + 8002212: e1e0 b.n 80025d6 { // Si le missile n'est pas sur un bord if (liste_missile[i].valide == 1) - 8002204: f107 0218 add.w r2, r7, #24 - 8002208: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 800220c: 011b lsls r3, r3, #4 - 800220e: 4413 add r3, r2 - 8002210: 330d adds r3, #13 - 8002212: 781b ldrb r3, [r3, #0] - 8002214: 2b01 cmp r3, #1 - 8002216: f040 81cf bne.w 80025b8 + 8002214: f107 0218 add.w r2, r7, #24 + 8002218: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 800221c: 011b lsls r3, r3, #4 + 800221e: 4413 add r3, r2 + 8002220: 330d adds r3, #13 + 8002222: 781b ldrb r3, [r3, #0] + 8002224: 2b01 cmp r3, #1 + 8002226: f040 81d1 bne.w 80025cc { // Si le missile appartient au joueur : - if (liste_missile[i].equipe == 0) - 800221a: f107 0218 add.w r2, r7, #24 - 800221e: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002222: 011b lsls r3, r3, #4 - 8002224: 4413 add r3, r2 - 8002226: 3306 adds r3, #6 - 8002228: 781b ldrb r3, [r3, #0] - 800222a: 2b00 cmp r3, #0 - 800222c: f040 80d6 bne.w 80023dc + if (liste_missile[i].equipe == 1) + 800222a: f107 0218 add.w r2, r7, #24 + 800222e: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002232: 011b lsls r3, r3, #4 + 8002234: 4413 add r3, r2 + 8002236: 3306 adds r3, #6 + 8002238: 781b ldrb r3, [r3, #0] + 800223a: 2b01 cmp r3, #1 + 800223c: f040 80d8 bne.w 80023f0 { if (liste_missile[i].x >= Limit_ennemis_x) - 8002230: f107 0218 add.w r2, r7, #24 - 8002234: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002238: 011b lsls r3, r3, #4 - 800223a: 4413 add r3, r2 - 800223c: 881b ldrh r3, [r3, #0] - 800223e: 461a mov r2, r3 - 8002240: 4b63 ldr r3, [pc, #396] ; (80023d0 ) - 8002242: 681b ldr r3, [r3, #0] - 8002244: 429a cmp r2, r3 - 8002246: d30f bcc.n 8002268 + 8002240: f107 0218 add.w r2, r7, #24 + 8002244: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002248: 011b lsls r3, r3, #4 + 800224a: 4413 add r3, r2 + 800224c: 881b ldrh r3, [r3, #0] + 800224e: 461a mov r2, r3 + 8002250: 4b63 ldr r3, [pc, #396] ; (80023e0 ) + 8002252: 681b ldr r3, [r3, #0] + 8002254: 429a cmp r2, r3 + 8002256: d30f bcc.n 8002278 { xQueueSend(Queue_EHandle, &liste_missile+indice,0); - 8002248: 4b62 ldr r3, [pc, #392] ; (80023d4 ) - 800224a: 6818 ldr r0, [r3, #0] - 800224c: f897 216f ldrb.w r2, [r7, #367] ; 0x16f - 8002250: 4613 mov r3, r2 - 8002252: 009b lsls r3, r3, #2 - 8002254: 4413 add r3, r2 - 8002256: 019b lsls r3, r3, #6 - 8002258: 461a mov r2, r3 - 800225a: f107 0318 add.w r3, r7, #24 - 800225e: 1899 adds r1, r3, r2 - 8002260: 2300 movs r3, #0 - 8002262: 2200 movs r2, #0 - 8002264: f00a fb50 bl 800c908 + 8002258: 4b62 ldr r3, [pc, #392] ; (80023e4 ) + 800225a: 6818 ldr r0, [r3, #0] + 800225c: f897 216f ldrb.w r2, [r7, #367] ; 0x16f + 8002260: 4613 mov r3, r2 + 8002262: 009b lsls r3, r3, #2 + 8002264: 4413 add r3, r2 + 8002266: 019b lsls r3, r3, #6 + 8002268: 461a mov r2, r3 + 800226a: f107 0318 add.w r3, r7, #24 + 800226e: 1899 adds r1, r3, r2 + 8002270: 2300 movs r3, #0 + 8002272: 2200 movs r2, #0 + 8002274: f00a f916 bl 800c4a4 // TODO Une petite animation d'explosion ? } if ((liste_missile[i].x > 1)&&(liste_missile[i].x < LCD_HEIGHT-1)&&(liste_missile[i].y < LCD_WIDTH-1)&&(liste_missile[i].y > 1)) - 8002268: f107 0218 add.w r2, r7, #24 - 800226c: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002270: 011b lsls r3, r3, #4 - 8002272: 4413 add r3, r2 - 8002274: 881b ldrh r3, [r3, #0] - 8002276: 2b01 cmp r3, #1 - 8002278: f240 808a bls.w 8002390 - 800227c: f107 0218 add.w r2, r7, #24 - 8002280: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002284: 011b lsls r3, r3, #4 - 8002286: 4413 add r3, r2 - 8002288: 881b ldrh r3, [r3, #0] - 800228a: 461a mov r2, r3 - 800228c: f8d7 3160 ldr.w r3, [r7, #352] ; 0x160 - 8002290: 3b01 subs r3, #1 - 8002292: 429a cmp r2, r3 - 8002294: d27c bcs.n 8002390 - 8002296: f107 0218 add.w r2, r7, #24 - 800229a: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 800229e: 011b lsls r3, r3, #4 - 80022a0: 4413 add r3, r2 - 80022a2: 3302 adds r3, #2 - 80022a4: 881b ldrh r3, [r3, #0] - 80022a6: 461a mov r2, r3 - 80022a8: f8d7 315c ldr.w r3, [r7, #348] ; 0x15c - 80022ac: 3b01 subs r3, #1 - 80022ae: 429a cmp r2, r3 - 80022b0: d26e bcs.n 8002390 - 80022b2: f107 0218 add.w r2, r7, #24 - 80022b6: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 80022ba: 011b lsls r3, r3, #4 - 80022bc: 4413 add r3, r2 - 80022be: 3302 adds r3, #2 - 80022c0: 881b ldrh r3, [r3, #0] - 80022c2: 2b01 cmp r3, #1 - 80022c4: d964 bls.n 8002390 + 8002278: f107 0218 add.w r2, r7, #24 + 800227c: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002280: 011b lsls r3, r3, #4 + 8002282: 4413 add r3, r2 + 8002284: 881b ldrh r3, [r3, #0] + 8002286: 2b01 cmp r3, #1 + 8002288: f240 8089 bls.w 800239e + 800228c: f107 0218 add.w r2, r7, #24 + 8002290: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002294: 011b lsls r3, r3, #4 + 8002296: 4413 add r3, r2 + 8002298: 881b ldrh r3, [r3, #0] + 800229a: 461a mov r2, r3 + 800229c: f8d7 3160 ldr.w r3, [r7, #352] ; 0x160 + 80022a0: 3b01 subs r3, #1 + 80022a2: 429a cmp r2, r3 + 80022a4: d27b bcs.n 800239e + 80022a6: f107 0218 add.w r2, r7, #24 + 80022aa: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 80022ae: 011b lsls r3, r3, #4 + 80022b0: 4413 add r3, r2 + 80022b2: 3302 adds r3, #2 + 80022b4: 881b ldrh r3, [r3, #0] + 80022b6: 461a mov r2, r3 + 80022b8: f8d7 315c ldr.w r3, [r7, #348] ; 0x15c + 80022bc: 3b01 subs r3, #1 + 80022be: 429a cmp r2, r3 + 80022c0: d26d bcs.n 800239e + 80022c2: f107 0218 add.w r2, r7, #24 + 80022c6: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 80022ca: 011b lsls r3, r3, #4 + 80022cc: 4413 add r3, r2 + 80022ce: 3302 adds r3, #2 + 80022d0: 881b ldrh r3, [r3, #0] + 80022d2: 2b01 cmp r3, #1 + 80022d4: d963 bls.n 800239e { - BSP_LCD_DrawPixel(liste_missile[i].x, liste_missile[i].y, LCD_COLOR_BACKGROUND); - 80022c6: f107 0218 add.w r2, r7, #24 - 80022ca: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 80022ce: 011b lsls r3, r3, #4 - 80022d0: 4413 add r3, r2 - 80022d2: 8818 ldrh r0, [r3, #0] - 80022d4: f107 0218 add.w r2, r7, #24 - 80022d8: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 80022dc: 011b lsls r3, r3, #4 - 80022de: 4413 add r3, r2 - 80022e0: 3302 adds r3, #2 - 80022e2: 8819 ldrh r1, [r3, #0] - 80022e4: 4b3c ldr r3, [pc, #240] ; (80023d8 ) - 80022e6: 681b ldr r3, [r3, #0] - 80022e8: 461a mov r2, r3 - 80022ea: f000 ffa9 bl 8003240 + //BSP_LCD_DrawPixel(liste_missile[i].x, liste_missile[i].y, LCD_COLOR_BACKGROUND); + BSP_LCD_SetTextColor(LCD_COLOR_BACKGROUND); + 80022d6: 4b44 ldr r3, [pc, #272] ; (80023e8 ) + 80022d8: 681b ldr r3, [r3, #0] + 80022da: 4618 mov r0, r3 + 80022dc: f000 fc52 bl 8002b84 + BSP_LCD_FillRect(joueur.x, joueur.y, 20, 20); + 80022e0: 4b42 ldr r3, [pc, #264] ; (80023ec ) + 80022e2: 681b ldr r3, [r3, #0] + 80022e4: b298 uxth r0, r3 + 80022e6: 4b41 ldr r3, [pc, #260] ; (80023ec ) + 80022e8: 685b ldr r3, [r3, #4] + 80022ea: b299 uxth r1, r3 + 80022ec: 2314 movs r3, #20 + 80022ee: 2214 movs r2, #20 + 80022f0: f000 ff02 bl 80030f8 liste_missile[i].x = liste_missile[i].x + liste_missile[i].dx ; - 80022ee: f107 0218 add.w r2, r7, #24 - 80022f2: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 80022f6: 011b lsls r3, r3, #4 - 80022f8: 4413 add r3, r2 - 80022fa: 881a ldrh r2, [r3, #0] - 80022fc: f107 0118 add.w r1, r7, #24 - 8002300: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002304: 011b lsls r3, r3, #4 - 8002306: 440b add r3, r1 - 8002308: 3304 adds r3, #4 - 800230a: 781b ldrb r3, [r3, #0] - 800230c: b29b uxth r3, r3 - 800230e: 4413 add r3, r2 - 8002310: b299 uxth r1, r3 - 8002312: f107 0218 add.w r2, r7, #24 - 8002316: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 800231a: 011b lsls r3, r3, #4 - 800231c: 4413 add r3, r2 - 800231e: 460a mov r2, r1 - 8002320: 801a strh r2, [r3, #0] + 80022f4: f107 0218 add.w r2, r7, #24 + 80022f8: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 80022fc: 011b lsls r3, r3, #4 + 80022fe: 4413 add r3, r2 + 8002300: 881a ldrh r2, [r3, #0] + 8002302: f107 0118 add.w r1, r7, #24 + 8002306: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 800230a: 011b lsls r3, r3, #4 + 800230c: 440b add r3, r1 + 800230e: 3304 adds r3, #4 + 8002310: 781b ldrb r3, [r3, #0] + 8002312: b29b uxth r3, r3 + 8002314: 4413 add r3, r2 + 8002316: b299 uxth r1, r3 + 8002318: f107 0218 add.w r2, r7, #24 + 800231c: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002320: 011b lsls r3, r3, #4 + 8002322: 4413 add r3, r2 + 8002324: 460a mov r2, r1 + 8002326: 801a strh r2, [r3, #0] liste_missile[i].y = liste_missile[i].y + liste_missile[i].dy; - 8002322: f107 0218 add.w r2, r7, #24 - 8002326: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 800232a: 011b lsls r3, r3, #4 - 800232c: 4413 add r3, r2 - 800232e: 3302 adds r3, #2 - 8002330: 881a ldrh r2, [r3, #0] - 8002332: f107 0118 add.w r1, r7, #24 - 8002336: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 800233a: 011b lsls r3, r3, #4 - 800233c: 440b add r3, r1 - 800233e: 3305 adds r3, #5 - 8002340: 781b ldrb r3, [r3, #0] - 8002342: b29b uxth r3, r3 - 8002344: 4413 add r3, r2 - 8002346: b299 uxth r1, r3 - 8002348: f107 0218 add.w r2, r7, #24 - 800234c: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002350: 011b lsls r3, r3, #4 - 8002352: 4413 add r3, r2 - 8002354: 3302 adds r3, #2 - 8002356: 460a mov r2, r1 - 8002358: 801a strh r2, [r3, #0] - BSP_LCD_DrawPixel(liste_missile[i].x, liste_missile[i].y, liste_missile[i].color); - 800235a: f107 0218 add.w r2, r7, #24 - 800235e: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002362: 011b lsls r3, r3, #4 - 8002364: 4413 add r3, r2 - 8002366: 8818 ldrh r0, [r3, #0] - 8002368: f107 0218 add.w r2, r7, #24 - 800236c: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002370: 011b lsls r3, r3, #4 - 8002372: 4413 add r3, r2 - 8002374: 3302 adds r3, #2 - 8002376: 8819 ldrh r1, [r3, #0] - 8002378: f107 0218 add.w r2, r7, #24 - 800237c: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002380: 011b lsls r3, r3, #4 - 8002382: 4413 add r3, r2 - 8002384: 3308 adds r3, #8 - 8002386: 681b ldr r3, [r3, #0] - 8002388: 461a mov r2, r3 - 800238a: f000 ff59 bl 8003240 - 800238e: e113 b.n 80025b8 + 8002328: f107 0218 add.w r2, r7, #24 + 800232c: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002330: 011b lsls r3, r3, #4 + 8002332: 4413 add r3, r2 + 8002334: 3302 adds r3, #2 + 8002336: 881a ldrh r2, [r3, #0] + 8002338: f107 0118 add.w r1, r7, #24 + 800233c: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002340: 011b lsls r3, r3, #4 + 8002342: 440b add r3, r1 + 8002344: 3305 adds r3, #5 + 8002346: 781b ldrb r3, [r3, #0] + 8002348: b29b uxth r3, r3 + 800234a: 4413 add r3, r2 + 800234c: b299 uxth r1, r3 + 800234e: f107 0218 add.w r2, r7, #24 + 8002352: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002356: 011b lsls r3, r3, #4 + 8002358: 4413 add r3, r2 + 800235a: 3302 adds r3, #2 + 800235c: 460a mov r2, r1 + 800235e: 801a strh r2, [r3, #0] + //BSP_LCD_DrawPixel(liste_missile[i].x, liste_missile[i].y, liste_missile[i].color); + BSP_LCD_SetTextColor(liste_missile[i].color); + 8002360: f107 0218 add.w r2, r7, #24 + 8002364: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002368: 011b lsls r3, r3, #4 + 800236a: 4413 add r3, r2 + 800236c: 3308 adds r3, #8 + 800236e: 681b ldr r3, [r3, #0] + 8002370: 4618 mov r0, r3 + 8002372: f000 fc07 bl 8002b84 + BSP_LCD_FillRect(liste_missile[i].x, liste_missile[i].y, 20, 20); + 8002376: f107 0218 add.w r2, r7, #24 + 800237a: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 800237e: 011b lsls r3, r3, #4 + 8002380: 4413 add r3, r2 + 8002382: 8818 ldrh r0, [r3, #0] + 8002384: f107 0218 add.w r2, r7, #24 + 8002388: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 800238c: 011b lsls r3, r3, #4 + 800238e: 4413 add r3, r2 + 8002390: 3302 adds r3, #2 + 8002392: 8819 ldrh r1, [r3, #0] + 8002394: 2314 movs r3, #20 + 8002396: 2214 movs r2, #20 + 8002398: f000 feae bl 80030f8 + 800239c: e116 b.n 80025cc } //TODO test sur tous les ennemis else { liste_missile[i].valide = 0; - 8002390: f107 0218 add.w r2, r7, #24 - 8002394: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002398: 011b lsls r3, r3, #4 - 800239a: 4413 add r3, r2 - 800239c: 330d adds r3, #13 - 800239e: 2200 movs r2, #0 - 80023a0: 701a strb r2, [r3, #0] + 800239e: f107 0218 add.w r2, r7, #24 + 80023a2: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 80023a6: 011b lsls r3, r3, #4 + 80023a8: 4413 add r3, r2 + 80023aa: 330d adds r3, #13 + 80023ac: 2200 movs r2, #0 + 80023ae: 701a strb r2, [r3, #0] BSP_LCD_DrawPixel(liste_missile[i].x, liste_missile[i].y, LCD_COLOR_BACKGROUND); - 80023a2: f107 0218 add.w r2, r7, #24 - 80023a6: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 80023aa: 011b lsls r3, r3, #4 - 80023ac: 4413 add r3, r2 - 80023ae: 8818 ldrh r0, [r3, #0] 80023b0: f107 0218 add.w r2, r7, #24 80023b4: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 80023b8: 011b lsls r3, r3, #4 80023ba: 4413 add r3, r2 - 80023bc: 3302 adds r3, #2 - 80023be: 8819 ldrh r1, [r3, #0] - 80023c0: 4b05 ldr r3, [pc, #20] ; (80023d8 ) - 80023c2: 681b ldr r3, [r3, #0] - 80023c4: 461a mov r2, r3 - 80023c6: f000 ff3b bl 8003240 - 80023ca: e0f5 b.n 80025b8 - 80023cc: 20008b08 .word 0x20008b08 - 80023d0: 2000004c .word 0x2000004c - 80023d4: 20008bfc .word 0x20008bfc - 80023d8: 20000044 .word 0x20000044 + 80023bc: 8818 ldrh r0, [r3, #0] + 80023be: f107 0218 add.w r2, r7, #24 + 80023c2: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 80023c6: 011b lsls r3, r3, #4 + 80023c8: 4413 add r3, r2 + 80023ca: 3302 adds r3, #2 + 80023cc: 8819 ldrh r1, [r3, #0] + 80023ce: 4b06 ldr r3, [pc, #24] ; (80023e8 ) + 80023d0: 681b ldr r3, [r3, #0] + 80023d2: 461a mov r2, r3 + 80023d4: f000 fd98 bl 8002f08 + 80023d8: e0f8 b.n 80025cc + 80023da: bf00 nop + 80023dc: 20008b04 .word 0x20008b04 + 80023e0: 2000004c .word 0x2000004c + 80023e4: 20008bf8 .word 0x20008bf8 + 80023e8: 20000044 .word 0x20000044 + 80023ec: 20000028 .word 0x20000028 } } // Si le missile appartient aux ennemis - else if (liste_missile[i].equipe == 1) - 80023dc: f107 0218 add.w r2, r7, #24 - 80023e0: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 80023e4: 011b lsls r3, r3, #4 - 80023e6: 4413 add r3, r2 - 80023e8: 3306 adds r3, #6 - 80023ea: 781b ldrb r3, [r3, #0] - 80023ec: 2b01 cmp r3, #1 - 80023ee: f040 80e3 bne.w 80025b8 + else if (liste_missile[i].equipe == 0) + 80023f0: f107 0218 add.w r2, r7, #24 + 80023f4: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 80023f8: 011b lsls r3, r3, #4 + 80023fa: 4413 add r3, r2 + 80023fc: 3306 adds r3, #6 + 80023fe: 781b ldrb r3, [r3, #0] + 8002400: 2b00 cmp r3, #0 + 8002402: f040 80e3 bne.w 80025cc { if ((liste_missile[i].x == joueur.x)&&(liste_missile[i].y == joueur.y)) - 80023f2: f107 0218 add.w r2, r7, #24 - 80023f6: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 80023fa: 011b lsls r3, r3, #4 - 80023fc: 4413 add r3, r2 - 80023fe: 881b ldrh r3, [r3, #0] - 8002400: 461a mov r2, r3 - 8002402: 4b77 ldr r3, [pc, #476] ; (80025e0 ) - 8002404: 681b ldr r3, [r3, #0] - 8002406: 429a cmp r2, r3 - 8002408: d125 bne.n 8002456 - 800240a: f107 0218 add.w r2, r7, #24 - 800240e: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002412: 011b lsls r3, r3, #4 - 8002414: 4413 add r3, r2 - 8002416: 3302 adds r3, #2 - 8002418: 881b ldrh r3, [r3, #0] - 800241a: 461a mov r2, r3 - 800241c: 4b70 ldr r3, [pc, #448] ; (80025e0 ) - 800241e: 685b ldr r3, [r3, #4] - 8002420: 429a cmp r2, r3 - 8002422: d118 bne.n 8002456 + 8002406: f107 0218 add.w r2, r7, #24 + 800240a: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 800240e: 011b lsls r3, r3, #4 + 8002410: 4413 add r3, r2 + 8002412: 881b ldrh r3, [r3, #0] + 8002414: 461a mov r2, r3 + 8002416: 4b77 ldr r3, [pc, #476] ; (80025f4 ) + 8002418: 681b ldr r3, [r3, #0] + 800241a: 429a cmp r2, r3 + 800241c: d125 bne.n 800246a + 800241e: f107 0218 add.w r2, r7, #24 + 8002422: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002426: 011b lsls r3, r3, #4 + 8002428: 4413 add r3, r2 + 800242a: 3302 adds r3, #2 + 800242c: 881b ldrh r3, [r3, #0] + 800242e: 461a mov r2, r3 + 8002430: 4b70 ldr r3, [pc, #448] ; (80025f4 ) + 8002432: 685b ldr r3, [r3, #4] + 8002434: 429a cmp r2, r3 + 8002436: d118 bne.n 800246a { xQueueSend(Queue_JHandle, &liste_missile+indice,0); - 8002424: 4b6f ldr r3, [pc, #444] ; (80025e4 ) - 8002426: 6818 ldr r0, [r3, #0] - 8002428: f897 216f ldrb.w r2, [r7, #367] ; 0x16f - 800242c: 4613 mov r3, r2 - 800242e: 009b lsls r3, r3, #2 - 8002430: 4413 add r3, r2 - 8002432: 019b lsls r3, r3, #6 - 8002434: 461a mov r2, r3 - 8002436: f107 0318 add.w r3, r7, #24 - 800243a: 1899 adds r1, r3, r2 - 800243c: 2300 movs r3, #0 - 800243e: 2200 movs r2, #0 - 8002440: f00a fa62 bl 800c908 - liste_missile[i].valide = 0; - 8002444: f107 0218 add.w r2, r7, #24 - 8002448: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 800244c: 011b lsls r3, r3, #4 - 800244e: 4413 add r3, r2 - 8002450: 330d adds r3, #13 + 8002438: 4b6f ldr r3, [pc, #444] ; (80025f8 ) + 800243a: 6818 ldr r0, [r3, #0] + 800243c: f897 216f ldrb.w r2, [r7, #367] ; 0x16f + 8002440: 4613 mov r3, r2 + 8002442: 009b lsls r3, r3, #2 + 8002444: 4413 add r3, r2 + 8002446: 019b lsls r3, r3, #6 + 8002448: 461a mov r2, r3 + 800244a: f107 0318 add.w r3, r7, #24 + 800244e: 1899 adds r1, r3, r2 + 8002450: 2300 movs r3, #0 8002452: 2200 movs r2, #0 - 8002454: 701a strb r2, [r3, #0] + 8002454: f00a f826 bl 800c4a4 + liste_missile[i].valide = 0; + 8002458: f107 0218 add.w r2, r7, #24 + 800245c: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002460: 011b lsls r3, r3, #4 + 8002462: 4413 add r3, r2 + 8002464: 330d adds r3, #13 + 8002466: 2200 movs r2, #0 + 8002468: 701a strb r2, [r3, #0] // TODO Une petite animation d'explosion ? } if ((liste_missile[i].x > 1)&&(liste_missile[i].x < LCD_HEIGHT-1)&&(liste_missile[i].y < LCD_WIDTH-1)&&(liste_missile[i].y > 1)) - 8002456: f107 0218 add.w r2, r7, #24 - 800245a: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 800245e: 011b lsls r3, r3, #4 - 8002460: 4413 add r3, r2 - 8002462: 881b ldrh r3, [r3, #0] - 8002464: 2b01 cmp r3, #1 - 8002466: f240 808a bls.w 800257e 800246a: f107 0218 add.w r2, r7, #24 800246e: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 8002472: 011b lsls r3, r3, #4 8002474: 4413 add r3, r2 8002476: 881b ldrh r3, [r3, #0] - 8002478: 461a mov r2, r3 - 800247a: f8d7 3160 ldr.w r3, [r7, #352] ; 0x160 - 800247e: 3b01 subs r3, #1 - 8002480: 429a cmp r2, r3 - 8002482: d27c bcs.n 800257e - 8002484: f107 0218 add.w r2, r7, #24 - 8002488: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 800248c: 011b lsls r3, r3, #4 - 800248e: 4413 add r3, r2 - 8002490: 3302 adds r3, #2 - 8002492: 881b ldrh r3, [r3, #0] - 8002494: 461a mov r2, r3 - 8002496: f8d7 315c ldr.w r3, [r7, #348] ; 0x15c - 800249a: 3b01 subs r3, #1 - 800249c: 429a cmp r2, r3 - 800249e: d26e bcs.n 800257e - 80024a0: f107 0218 add.w r2, r7, #24 - 80024a4: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 80024a8: 011b lsls r3, r3, #4 - 80024aa: 4413 add r3, r2 - 80024ac: 3302 adds r3, #2 - 80024ae: 881b ldrh r3, [r3, #0] - 80024b0: 2b01 cmp r3, #1 - 80024b2: d964 bls.n 800257e - { - BSP_LCD_DrawPixel(liste_missile[i].x, liste_missile[i].y, LCD_COLOR_BACKGROUND); + 8002478: 2b01 cmp r3, #1 + 800247a: f240 808a bls.w 8002592 + 800247e: f107 0218 add.w r2, r7, #24 + 8002482: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002486: 011b lsls r3, r3, #4 + 8002488: 4413 add r3, r2 + 800248a: 881b ldrh r3, [r3, #0] + 800248c: 461a mov r2, r3 + 800248e: f8d7 3160 ldr.w r3, [r7, #352] ; 0x160 + 8002492: 3b01 subs r3, #1 + 8002494: 429a cmp r2, r3 + 8002496: d27c bcs.n 8002592 + 8002498: f107 0218 add.w r2, r7, #24 + 800249c: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 80024a0: 011b lsls r3, r3, #4 + 80024a2: 4413 add r3, r2 + 80024a4: 3302 adds r3, #2 + 80024a6: 881b ldrh r3, [r3, #0] + 80024a8: 461a mov r2, r3 + 80024aa: f8d7 315c ldr.w r3, [r7, #348] ; 0x15c + 80024ae: 3b01 subs r3, #1 + 80024b0: 429a cmp r2, r3 + 80024b2: d26e bcs.n 8002592 80024b4: f107 0218 add.w r2, r7, #24 80024b8: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 80024bc: 011b lsls r3, r3, #4 80024be: 4413 add r3, r2 - 80024c0: 8818 ldrh r0, [r3, #0] - 80024c2: f107 0218 add.w r2, r7, #24 - 80024c6: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 80024ca: 011b lsls r3, r3, #4 - 80024cc: 4413 add r3, r2 - 80024ce: 3302 adds r3, #2 - 80024d0: 8819 ldrh r1, [r3, #0] - 80024d2: 4b45 ldr r3, [pc, #276] ; (80025e8 ) - 80024d4: 681b ldr r3, [r3, #0] - 80024d6: 461a mov r2, r3 - 80024d8: f000 feb2 bl 8003240 + 80024c0: 3302 adds r3, #2 + 80024c2: 881b ldrh r3, [r3, #0] + 80024c4: 2b01 cmp r3, #1 + 80024c6: d964 bls.n 8002592 + { + BSP_LCD_DrawPixel(liste_missile[i].x, liste_missile[i].y, LCD_COLOR_BACKGROUND); + 80024c8: f107 0218 add.w r2, r7, #24 + 80024cc: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 80024d0: 011b lsls r3, r3, #4 + 80024d2: 4413 add r3, r2 + 80024d4: 8818 ldrh r0, [r3, #0] + 80024d6: f107 0218 add.w r2, r7, #24 + 80024da: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 80024de: 011b lsls r3, r3, #4 + 80024e0: 4413 add r3, r2 + 80024e2: 3302 adds r3, #2 + 80024e4: 8819 ldrh r1, [r3, #0] + 80024e6: 4b45 ldr r3, [pc, #276] ; (80025fc ) + 80024e8: 681b ldr r3, [r3, #0] + 80024ea: 461a mov r2, r3 + 80024ec: f000 fd0c bl 8002f08 liste_missile[i].x = liste_missile[i].x + liste_missile[i].dx ; - 80024dc: f107 0218 add.w r2, r7, #24 - 80024e0: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 80024e4: 011b lsls r3, r3, #4 - 80024e6: 4413 add r3, r2 - 80024e8: 881a ldrh r2, [r3, #0] - 80024ea: f107 0118 add.w r1, r7, #24 - 80024ee: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 80024f2: 011b lsls r3, r3, #4 - 80024f4: 440b add r3, r1 - 80024f6: 3304 adds r3, #4 - 80024f8: 781b ldrb r3, [r3, #0] - 80024fa: b29b uxth r3, r3 - 80024fc: 4413 add r3, r2 - 80024fe: b299 uxth r1, r3 - 8002500: f107 0218 add.w r2, r7, #24 - 8002504: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002508: 011b lsls r3, r3, #4 - 800250a: 4413 add r3, r2 - 800250c: 460a mov r2, r1 - 800250e: 801a strh r2, [r3, #0] + 80024f0: f107 0218 add.w r2, r7, #24 + 80024f4: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 80024f8: 011b lsls r3, r3, #4 + 80024fa: 4413 add r3, r2 + 80024fc: 881a ldrh r2, [r3, #0] + 80024fe: f107 0118 add.w r1, r7, #24 + 8002502: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002506: 011b lsls r3, r3, #4 + 8002508: 440b add r3, r1 + 800250a: 3304 adds r3, #4 + 800250c: 781b ldrb r3, [r3, #0] + 800250e: b29b uxth r3, r3 + 8002510: 4413 add r3, r2 + 8002512: b299 uxth r1, r3 + 8002514: f107 0218 add.w r2, r7, #24 + 8002518: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 800251c: 011b lsls r3, r3, #4 + 800251e: 4413 add r3, r2 + 8002520: 460a mov r2, r1 + 8002522: 801a strh r2, [r3, #0] liste_missile[i].y = liste_missile[i].y + liste_missile[i].dy; - 8002510: f107 0218 add.w r2, r7, #24 - 8002514: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002518: 011b lsls r3, r3, #4 - 800251a: 4413 add r3, r2 - 800251c: 3302 adds r3, #2 - 800251e: 881a ldrh r2, [r3, #0] - 8002520: f107 0118 add.w r1, r7, #24 - 8002524: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002528: 011b lsls r3, r3, #4 - 800252a: 440b add r3, r1 - 800252c: 3305 adds r3, #5 - 800252e: 781b ldrb r3, [r3, #0] - 8002530: b29b uxth r3, r3 - 8002532: 4413 add r3, r2 - 8002534: b299 uxth r1, r3 - 8002536: f107 0218 add.w r2, r7, #24 - 800253a: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 800253e: 011b lsls r3, r3, #4 - 8002540: 4413 add r3, r2 - 8002542: 3302 adds r3, #2 - 8002544: 460a mov r2, r1 - 8002546: 801a strh r2, [r3, #0] + 8002524: f107 0218 add.w r2, r7, #24 + 8002528: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 800252c: 011b lsls r3, r3, #4 + 800252e: 4413 add r3, r2 + 8002530: 3302 adds r3, #2 + 8002532: 881a ldrh r2, [r3, #0] + 8002534: f107 0118 add.w r1, r7, #24 + 8002538: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 800253c: 011b lsls r3, r3, #4 + 800253e: 440b add r3, r1 + 8002540: 3305 adds r3, #5 + 8002542: 781b ldrb r3, [r3, #0] + 8002544: b29b uxth r3, r3 + 8002546: 4413 add r3, r2 + 8002548: b299 uxth r1, r3 + 800254a: f107 0218 add.w r2, r7, #24 + 800254e: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002552: 011b lsls r3, r3, #4 + 8002554: 4413 add r3, r2 + 8002556: 3302 adds r3, #2 + 8002558: 460a mov r2, r1 + 800255a: 801a strh r2, [r3, #0] BSP_LCD_DrawPixel(liste_missile[i].x, liste_missile[i].y, liste_missile[i].color); - 8002548: f107 0218 add.w r2, r7, #24 - 800254c: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002550: 011b lsls r3, r3, #4 - 8002552: 4413 add r3, r2 - 8002554: 8818 ldrh r0, [r3, #0] - 8002556: f107 0218 add.w r2, r7, #24 - 800255a: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 800255e: 011b lsls r3, r3, #4 - 8002560: 4413 add r3, r2 - 8002562: 3302 adds r3, #2 - 8002564: 8819 ldrh r1, [r3, #0] - 8002566: f107 0218 add.w r2, r7, #24 - 800256a: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 800256e: 011b lsls r3, r3, #4 - 8002570: 4413 add r3, r2 - 8002572: 3308 adds r3, #8 - 8002574: 681b ldr r3, [r3, #0] - 8002576: 461a mov r2, r3 - 8002578: f000 fe62 bl 8003240 - 800257c: e01c b.n 80025b8 + 800255c: f107 0218 add.w r2, r7, #24 + 8002560: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002564: 011b lsls r3, r3, #4 + 8002566: 4413 add r3, r2 + 8002568: 8818 ldrh r0, [r3, #0] + 800256a: f107 0218 add.w r2, r7, #24 + 800256e: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002572: 011b lsls r3, r3, #4 + 8002574: 4413 add r3, r2 + 8002576: 3302 adds r3, #2 + 8002578: 8819 ldrh r1, [r3, #0] + 800257a: f107 0218 add.w r2, r7, #24 + 800257e: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 8002582: 011b lsls r3, r3, #4 + 8002584: 4413 add r3, r2 + 8002586: 3308 adds r3, #8 + 8002588: 681b ldr r3, [r3, #0] + 800258a: 461a mov r2, r3 + 800258c: f000 fcbc bl 8002f08 + 8002590: e01c b.n 80025cc } else { liste_missile[i].valide = 0; - 800257e: f107 0218 add.w r2, r7, #24 - 8002582: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002586: 011b lsls r3, r3, #4 - 8002588: 4413 add r3, r2 - 800258a: 330d adds r3, #13 - 800258c: 2200 movs r2, #0 - 800258e: 701a strb r2, [r3, #0] + 8002592: f107 0218 add.w r2, r7, #24 + 8002596: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 800259a: 011b lsls r3, r3, #4 + 800259c: 4413 add r3, r2 + 800259e: 330d adds r3, #13 + 80025a0: 2200 movs r2, #0 + 80025a2: 701a strb r2, [r3, #0] BSP_LCD_DrawPixel(liste_missile[i].x, liste_missile[i].y, LCD_COLOR_BACKGROUND); - 8002590: f107 0218 add.w r2, r7, #24 - 8002594: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 8002598: 011b lsls r3, r3, #4 - 800259a: 4413 add r3, r2 - 800259c: 8818 ldrh r0, [r3, #0] - 800259e: f107 0218 add.w r2, r7, #24 - 80025a2: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 80025a6: 011b lsls r3, r3, #4 - 80025a8: 4413 add r3, r2 - 80025aa: 3302 adds r3, #2 - 80025ac: 8819 ldrh r1, [r3, #0] - 80025ae: 4b0e ldr r3, [pc, #56] ; (80025e8 ) - 80025b0: 681b ldr r3, [r3, #0] - 80025b2: 461a mov r2, r3 - 80025b4: f000 fe44 bl 8003240 + 80025a4: f107 0218 add.w r2, r7, #24 + 80025a8: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 80025ac: 011b lsls r3, r3, #4 + 80025ae: 4413 add r3, r2 + 80025b0: 8818 ldrh r0, [r3, #0] + 80025b2: f107 0218 add.w r2, r7, #24 + 80025b6: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 80025ba: 011b lsls r3, r3, #4 + 80025bc: 4413 add r3, r2 + 80025be: 3302 adds r3, #2 + 80025c0: 8819 ldrh r1, [r3, #0] + 80025c2: 4b0e ldr r3, [pc, #56] ; (80025fc ) + 80025c4: 681b ldr r3, [r3, #0] + 80025c6: 461a mov r2, r3 + 80025c8: f000 fc9e bl 8002f08 for (int i=0;i< indice;i++) - 80025b8: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 - 80025bc: 3301 adds r3, #1 - 80025be: f8c7 3168 str.w r3, [r7, #360] ; 0x168 - 80025c2: f897 316f ldrb.w r3, [r7, #367] ; 0x16f - 80025c6: f8d7 2168 ldr.w r2, [r7, #360] ; 0x168 - 80025ca: 429a cmp r2, r3 - 80025cc: f6ff ae1a blt.w 8002204 + 80025cc: f8d7 3168 ldr.w r3, [r7, #360] ; 0x168 + 80025d0: 3301 adds r3, #1 + 80025d2: f8c7 3168 str.w r3, [r7, #360] ; 0x168 + 80025d6: f897 316f ldrb.w r3, [r7, #367] ; 0x16f + 80025da: f8d7 2168 ldr.w r2, [r7, #360] ; 0x168 + 80025de: 429a cmp r2, r3 + 80025e0: f6ff ae18 blt.w 8002214 } } } vTaskDelayUntil(&xLastWakeTime, xPeriodeTache); - 80025d0: f507 73ac add.w r3, r7, #344 ; 0x158 - 80025d4: f8d7 1164 ldr.w r1, [r7, #356] ; 0x164 - 80025d8: 4618 mov r0, r3 - 80025da: f00b f995 bl 800d908 - xQueueReceive(Queue_NHandle, &missile, 0); - 80025de: e5f1 b.n 80021c4 - 80025e0: 20000028 .word 0x20000028 - 80025e4: 20008920 .word 0x20008920 - 80025e8: 20000044 .word 0x20000044 + 80025e4: f507 73ac add.w r3, r7, #344 ; 0x158 + 80025e8: f8d7 1164 ldr.w r1, [r7, #356] ; 0x164 + 80025ec: 4618 mov r0, r3 + 80025ee: f00a ff59 bl 800d4a4 + if (xQueueReceive(Queue_NHandle, &missile, 0) == pdPASS) + 80025f2: e5f1 b.n 80021d8 + 80025f4: 20000028 .word 0x20000028 + 80025f8: 20008920 .word 0x20008920 + 80025fc: 20000044 .word 0x20000044 -080025ec : -* @param argument: Not used -* @retval None -*/ -/* USER CODE END Header_f_IRQ_BP */ -void f_IRQ_BP(void const * argument) -{ - 80025ec: b580 push {r7, lr} - 80025ee: b08c sub sp, #48 ; 0x30 - 80025f0: af00 add r7, sp, #0 - 80025f2: 6078 str r0, [r7, #4] - /* USER CODE BEGIN f_IRQ_BP */ - TickType_t xLastWakeTime; - // Faudrait convertir en ms mais jsp comment - const TickType_t xPeriodeTache = 10; - 80025f4: 230a movs r3, #10 - 80025f6: 62fb str r3, [r7, #44] ; 0x2c - - /* Infinite loop */ - for(;;) - { - if (HAL_GPIO_ReadPin(BP1_GPIO_Port, BP1_Pin)==0){ - 80025f8: f44f 7180 mov.w r1, #256 ; 0x100 - 80025fc: 482d ldr r0, [pc, #180] ; (80026b4 ) - 80025fe: f005 fa31 bl 8007a64 - 8002602: 4603 mov r3, r0 - 8002604: 2b00 cmp r3, #0 - 8002606: d123 bne.n 8002650 - struct Missile missile = {joueur.x, joueur.y, 1, 0, 1, LCD_COLOR_LIGHTBLUE, 2, 1}; - 8002608: 4b2b ldr r3, [pc, #172] ; (80026b8 ) - 800260a: 681b ldr r3, [r3, #0] - 800260c: b29b uxth r3, r3 - 800260e: 833b strh r3, [r7, #24] - 8002610: 4b29 ldr r3, [pc, #164] ; (80026b8 ) - 8002612: 685b ldr r3, [r3, #4] - 8002614: b29b uxth r3, r3 - 8002616: 837b strh r3, [r7, #26] - 8002618: 2301 movs r3, #1 - 800261a: 773b strb r3, [r7, #28] - 800261c: 2300 movs r3, #0 - 800261e: 777b strb r3, [r7, #29] - 8002620: 2301 movs r3, #1 - 8002622: 77bb strb r3, [r7, #30] - 8002624: 4b25 ldr r3, [pc, #148] ; (80026bc ) - 8002626: 623b str r3, [r7, #32] - 8002628: 2302 movs r3, #2 - 800262a: f887 3024 strb.w r3, [r7, #36] ; 0x24 - 800262e: 2301 movs r3, #1 - 8002630: f887 3025 strb.w r3, [r7, #37] ; 0x25 - HAL_GPIO_WritePin(LED13_GPIO_Port, LED13_Pin,1); - 8002634: 2201 movs r2, #1 - 8002636: f44f 4180 mov.w r1, #16384 ; 0x4000 - 800263a: 4821 ldr r0, [pc, #132] ; (80026c0 ) - 800263c: f005 fa2a bl 8007a94 - xQueueSend(Queue_NHandle, &missile,0); - 8002640: 4b20 ldr r3, [pc, #128] ; (80026c4 ) - 8002642: 6818 ldr r0, [r3, #0] - 8002644: f107 0118 add.w r1, r7, #24 - 8002648: 2300 movs r3, #0 - 800264a: 2200 movs r2, #0 - 800264c: f00a f95c bl 800c908 - } - if(HAL_GPIO_ReadPin(BP2_GPIO_Port, BP2_Pin) ==0){ - 8002650: f44f 4100 mov.w r1, #32768 ; 0x8000 - 8002654: 4817 ldr r0, [pc, #92] ; (80026b4 ) - 8002656: f005 fa05 bl 8007a64 - 800265a: 4603 mov r3, r0 - 800265c: 2b00 cmp r3, #0 - 800265e: d121 bne.n 80026a4 - struct Missile missile = {joueur.x, joueur.y, 0, 1, 1, LCD_COLOR_YELLOW , 2, 1}; - 8002660: 4b15 ldr r3, [pc, #84] ; (80026b8 ) - 8002662: 681b ldr r3, [r3, #0] - 8002664: b29b uxth r3, r3 - 8002666: 813b strh r3, [r7, #8] - 8002668: 4b13 ldr r3, [pc, #76] ; (80026b8 ) - 800266a: 685b ldr r3, [r3, #4] - 800266c: b29b uxth r3, r3 - 800266e: 817b strh r3, [r7, #10] - 8002670: 2300 movs r3, #0 - 8002672: 733b strb r3, [r7, #12] - 8002674: 2301 movs r3, #1 - 8002676: 737b strb r3, [r7, #13] - 8002678: 2301 movs r3, #1 - 800267a: 73bb strb r3, [r7, #14] - 800267c: f06f 03ff mvn.w r3, #255 ; 0xff - 8002680: 613b str r3, [r7, #16] - 8002682: 2302 movs r3, #2 - 8002684: 753b strb r3, [r7, #20] - 8002686: 2301 movs r3, #1 - 8002688: 757b strb r3, [r7, #21] - HAL_GPIO_WritePin(LED14_GPIO_Port, LED14_Pin,1); - 800268a: 2201 movs r2, #1 - 800268c: 2120 movs r1, #32 - 800268e: 480e ldr r0, [pc, #56] ; (80026c8 ) - 8002690: f005 fa00 bl 8007a94 - xQueueSend(Queue_NHandle, &missile,0); - 8002694: 4b0b ldr r3, [pc, #44] ; (80026c4 ) - 8002696: 6818 ldr r0, [r3, #0] - 8002698: f107 0108 add.w r1, r7, #8 - 800269c: 2300 movs r3, #0 - 800269e: 2200 movs r2, #0 - 80026a0: f00a f932 bl 800c908 - } - vTaskDelayUntil(&xLastWakeTime, xPeriodeTache); - 80026a4: f107 0328 add.w r3, r7, #40 ; 0x28 - 80026a8: 6af9 ldr r1, [r7, #44] ; 0x2c - 80026aa: 4618 mov r0, r3 - 80026ac: f00b f92c bl 800d908 - if (HAL_GPIO_ReadPin(BP1_GPIO_Port, BP1_Pin)==0){ - 80026b0: e7a2 b.n 80025f8 - 80026b2: bf00 nop - 80026b4: 40020000 .word 0x40020000 - 80026b8: 20000028 .word 0x20000028 - 80026bc: ff8080ff .word 0xff8080ff - 80026c0: 40021c00 .word 0x40021c00 - 80026c4: 20008b08 .word 0x20008b08 - 80026c8: 40021000 .word 0x40021000 - -080026cc : +08002600 : * a global variable "uwTick" used as application time base. * @param htim : TIM handle * @retval None */ void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) { - 80026cc: b580 push {r7, lr} - 80026ce: b082 sub sp, #8 - 80026d0: af00 add r7, sp, #0 - 80026d2: 6078 str r0, [r7, #4] + 8002600: b580 push {r7, lr} + 8002602: b082 sub sp, #8 + 8002604: af00 add r7, sp, #0 + 8002606: 6078 str r0, [r7, #4] /* USER CODE BEGIN Callback 0 */ /* USER CODE END Callback 0 */ if (htim->Instance == TIM6) { - 80026d4: 687b ldr r3, [r7, #4] - 80026d6: 681b ldr r3, [r3, #0] - 80026d8: 4a04 ldr r2, [pc, #16] ; (80026ec ) - 80026da: 4293 cmp r3, r2 - 80026dc: d101 bne.n 80026e2 + 8002608: 687b ldr r3, [r7, #4] + 800260a: 681b ldr r3, [r3, #0] + 800260c: 4a04 ldr r2, [pc, #16] ; (8002620 ) + 800260e: 4293 cmp r3, r2 + 8002610: d101 bne.n 8002616 HAL_IncTick(); - 80026de: f002 fb93 bl 8004e08 + 8002612: f002 f9ad bl 8004970 } /* USER CODE BEGIN Callback 1 */ /* USER CODE END Callback 1 */ } - 80026e2: bf00 nop - 80026e4: 3708 adds r7, #8 - 80026e6: 46bd mov sp, r7 - 80026e8: bd80 pop {r7, pc} - 80026ea: bf00 nop - 80026ec: 40001000 .word 0x40001000 + 8002616: bf00 nop + 8002618: 3708 adds r7, #8 + 800261a: 46bd mov sp, r7 + 800261c: bd80 pop {r7, pc} + 800261e: bf00 nop + 8002620: 40001000 .word 0x40001000 -080026f0 : +08002624 : /** * @brief This function is executed in case of error occurrence. * @retval None */ void Error_Handler(void) { - 80026f0: b480 push {r7} - 80026f2: af00 add r7, sp, #0 + 8002624: b480 push {r7} + 8002626: af00 add r7, sp, #0 \details Disables IRQ interrupts by setting the I-bit in the CPSR. Can only be executed in Privileged modes. */ __STATIC_FORCEINLINE void __disable_irq(void) { __ASM volatile ("cpsid i" : : : "memory"); - 80026f4: b672 cpsid i + 8002628: b672 cpsid i /* USER CODE BEGIN Error_Handler_Debug */ /* User can add his own implementation to report the HAL error return state */ __disable_irq(); while (1) - 80026f6: e7fe b.n 80026f6 + 800262a: e7fe b.n 800262a -080026f8 : +0800262c : * @brief Initializes I2C MSP. * @param i2c_handler : I2C handler * @retval None */ static void I2Cx_MspInit(I2C_HandleTypeDef *i2c_handler) { - 80026f8: b580 push {r7, lr} - 80026fa: b08c sub sp, #48 ; 0x30 - 80026fc: af00 add r7, sp, #0 - 80026fe: 6078 str r0, [r7, #4] + 800262c: b580 push {r7, lr} + 800262e: b08c sub sp, #48 ; 0x30 + 8002630: af00 add r7, sp, #0 + 8002632: 6078 str r0, [r7, #4] GPIO_InitTypeDef gpio_init_structure; if (i2c_handler == (I2C_HandleTypeDef*)(&hI2cAudioHandler)) - 8002700: 687b ldr r3, [r7, #4] - 8002702: 4a51 ldr r2, [pc, #324] ; (8002848 ) - 8002704: 4293 cmp r3, r2 - 8002706: d14d bne.n 80027a4 + 8002634: 687b ldr r3, [r7, #4] + 8002636: 4a51 ldr r2, [pc, #324] ; (800277c ) + 8002638: 4293 cmp r3, r2 + 800263a: d14d bne.n 80026d8 { /* AUDIO and LCD I2C MSP init */ /*** Configure the GPIOs ***/ /* Enable GPIO clock */ DISCOVERY_AUDIO_I2Cx_SCL_SDA_GPIO_CLK_ENABLE(); - 8002708: 4b50 ldr r3, [pc, #320] ; (800284c ) - 800270a: 6b1b ldr r3, [r3, #48] ; 0x30 - 800270c: 4a4f ldr r2, [pc, #316] ; (800284c ) - 800270e: f043 0380 orr.w r3, r3, #128 ; 0x80 - 8002712: 6313 str r3, [r2, #48] ; 0x30 - 8002714: 4b4d ldr r3, [pc, #308] ; (800284c ) - 8002716: 6b1b ldr r3, [r3, #48] ; 0x30 - 8002718: f003 0380 and.w r3, r3, #128 ; 0x80 - 800271c: 61bb str r3, [r7, #24] - 800271e: 69bb ldr r3, [r7, #24] + 800263c: 4b50 ldr r3, [pc, #320] ; (8002780 ) + 800263e: 6b1b ldr r3, [r3, #48] ; 0x30 + 8002640: 4a4f ldr r2, [pc, #316] ; (8002780 ) + 8002642: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8002646: 6313 str r3, [r2, #48] ; 0x30 + 8002648: 4b4d ldr r3, [pc, #308] ; (8002780 ) + 800264a: 6b1b ldr r3, [r3, #48] ; 0x30 + 800264c: f003 0380 and.w r3, r3, #128 ; 0x80 + 8002650: 61bb str r3, [r7, #24] + 8002652: 69bb ldr r3, [r7, #24] /* Configure I2C Tx as alternate function */ gpio_init_structure.Pin = DISCOVERY_AUDIO_I2Cx_SCL_PIN; - 8002720: 2380 movs r3, #128 ; 0x80 - 8002722: 61fb str r3, [r7, #28] + 8002654: 2380 movs r3, #128 ; 0x80 + 8002656: 61fb str r3, [r7, #28] gpio_init_structure.Mode = GPIO_MODE_AF_OD; - 8002724: 2312 movs r3, #18 - 8002726: 623b str r3, [r7, #32] + 8002658: 2312 movs r3, #18 + 800265a: 623b str r3, [r7, #32] gpio_init_structure.Pull = GPIO_NOPULL; - 8002728: 2300 movs r3, #0 - 800272a: 627b str r3, [r7, #36] ; 0x24 + 800265c: 2300 movs r3, #0 + 800265e: 627b str r3, [r7, #36] ; 0x24 gpio_init_structure.Speed = GPIO_SPEED_FAST; - 800272c: 2302 movs r3, #2 - 800272e: 62bb str r3, [r7, #40] ; 0x28 + 8002660: 2302 movs r3, #2 + 8002662: 62bb str r3, [r7, #40] ; 0x28 gpio_init_structure.Alternate = DISCOVERY_AUDIO_I2Cx_SCL_SDA_AF; - 8002730: 2304 movs r3, #4 - 8002732: 62fb str r3, [r7, #44] ; 0x2c + 8002664: 2304 movs r3, #4 + 8002666: 62fb str r3, [r7, #44] ; 0x2c HAL_GPIO_Init(DISCOVERY_AUDIO_I2Cx_SCL_SDA_GPIO_PORT, &gpio_init_structure); - 8002734: f107 031c add.w r3, r7, #28 - 8002738: 4619 mov r1, r3 - 800273a: 4845 ldr r0, [pc, #276] ; (8002850 ) - 800273c: f004 ffe8 bl 8007710 + 8002668: f107 031c add.w r3, r7, #28 + 800266c: 4619 mov r1, r3 + 800266e: 4845 ldr r0, [pc, #276] ; (8002784 ) + 8002670: f004 fe02 bl 8007278 /* Configure I2C Rx as alternate function */ gpio_init_structure.Pin = DISCOVERY_AUDIO_I2Cx_SDA_PIN; - 8002740: f44f 7380 mov.w r3, #256 ; 0x100 - 8002744: 61fb str r3, [r7, #28] + 8002674: f44f 7380 mov.w r3, #256 ; 0x100 + 8002678: 61fb str r3, [r7, #28] HAL_GPIO_Init(DISCOVERY_AUDIO_I2Cx_SCL_SDA_GPIO_PORT, &gpio_init_structure); - 8002746: f107 031c add.w r3, r7, #28 - 800274a: 4619 mov r1, r3 - 800274c: 4840 ldr r0, [pc, #256] ; (8002850 ) - 800274e: f004 ffdf bl 8007710 + 800267a: f107 031c add.w r3, r7, #28 + 800267e: 4619 mov r1, r3 + 8002680: 4840 ldr r0, [pc, #256] ; (8002784 ) + 8002682: f004 fdf9 bl 8007278 /*** Configure the I2C peripheral ***/ /* Enable I2C clock */ DISCOVERY_AUDIO_I2Cx_CLK_ENABLE(); - 8002752: 4b3e ldr r3, [pc, #248] ; (800284c ) - 8002754: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002756: 4a3d ldr r2, [pc, #244] ; (800284c ) - 8002758: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 - 800275c: 6413 str r3, [r2, #64] ; 0x40 - 800275e: 4b3b ldr r3, [pc, #236] ; (800284c ) - 8002760: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002762: f403 0300 and.w r3, r3, #8388608 ; 0x800000 - 8002766: 617b str r3, [r7, #20] - 8002768: 697b ldr r3, [r7, #20] + 8002686: 4b3e ldr r3, [pc, #248] ; (8002780 ) + 8002688: 6c1b ldr r3, [r3, #64] ; 0x40 + 800268a: 4a3d ldr r2, [pc, #244] ; (8002780 ) + 800268c: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 + 8002690: 6413 str r3, [r2, #64] ; 0x40 + 8002692: 4b3b ldr r3, [pc, #236] ; (8002780 ) + 8002694: 6c1b ldr r3, [r3, #64] ; 0x40 + 8002696: f403 0300 and.w r3, r3, #8388608 ; 0x800000 + 800269a: 617b str r3, [r7, #20] + 800269c: 697b ldr r3, [r7, #20] /* Force the I2C peripheral clock reset */ DISCOVERY_AUDIO_I2Cx_FORCE_RESET(); - 800276a: 4b38 ldr r3, [pc, #224] ; (800284c ) - 800276c: 6a1b ldr r3, [r3, #32] - 800276e: 4a37 ldr r2, [pc, #220] ; (800284c ) - 8002770: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 - 8002774: 6213 str r3, [r2, #32] + 800269e: 4b38 ldr r3, [pc, #224] ; (8002780 ) + 80026a0: 6a1b ldr r3, [r3, #32] + 80026a2: 4a37 ldr r2, [pc, #220] ; (8002780 ) + 80026a4: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 + 80026a8: 6213 str r3, [r2, #32] /* Release the I2C peripheral clock reset */ DISCOVERY_AUDIO_I2Cx_RELEASE_RESET(); - 8002776: 4b35 ldr r3, [pc, #212] ; (800284c ) - 8002778: 6a1b ldr r3, [r3, #32] - 800277a: 4a34 ldr r2, [pc, #208] ; (800284c ) - 800277c: f423 0300 bic.w r3, r3, #8388608 ; 0x800000 - 8002780: 6213 str r3, [r2, #32] + 80026aa: 4b35 ldr r3, [pc, #212] ; (8002780 ) + 80026ac: 6a1b ldr r3, [r3, #32] + 80026ae: 4a34 ldr r2, [pc, #208] ; (8002780 ) + 80026b0: f423 0300 bic.w r3, r3, #8388608 ; 0x800000 + 80026b4: 6213 str r3, [r2, #32] /* Enable and set I2Cx Interrupt to a lower priority */ HAL_NVIC_SetPriority(DISCOVERY_AUDIO_I2Cx_EV_IRQn, 0x0F, 0); - 8002782: 2200 movs r2, #0 - 8002784: 210f movs r1, #15 - 8002786: 2048 movs r0, #72 ; 0x48 - 8002788: f003 f812 bl 80057b0 + 80026b6: 2200 movs r2, #0 + 80026b8: 210f movs r1, #15 + 80026ba: 2048 movs r0, #72 ; 0x48 + 80026bc: f002 fe2c bl 8005318 HAL_NVIC_EnableIRQ(DISCOVERY_AUDIO_I2Cx_EV_IRQn); - 800278c: 2048 movs r0, #72 ; 0x48 - 800278e: f003 f82b bl 80057e8 + 80026c0: 2048 movs r0, #72 ; 0x48 + 80026c2: f002 fe45 bl 8005350 /* Enable and set I2Cx Interrupt to a lower priority */ HAL_NVIC_SetPriority(DISCOVERY_AUDIO_I2Cx_ER_IRQn, 0x0F, 0); - 8002792: 2200 movs r2, #0 - 8002794: 210f movs r1, #15 - 8002796: 2049 movs r0, #73 ; 0x49 - 8002798: f003 f80a bl 80057b0 + 80026c6: 2200 movs r2, #0 + 80026c8: 210f movs r1, #15 + 80026ca: 2049 movs r0, #73 ; 0x49 + 80026cc: f002 fe24 bl 8005318 HAL_NVIC_EnableIRQ(DISCOVERY_AUDIO_I2Cx_ER_IRQn); - 800279c: 2049 movs r0, #73 ; 0x49 - 800279e: f003 f823 bl 80057e8 + 80026d0: 2049 movs r0, #73 ; 0x49 + 80026d2: f002 fe3d bl 8005350 /* Enable and set I2Cx Interrupt to a lower priority */ HAL_NVIC_SetPriority(DISCOVERY_EXT_I2Cx_ER_IRQn, 0x0F, 0); HAL_NVIC_EnableIRQ(DISCOVERY_EXT_I2Cx_ER_IRQn); } } - 80027a2: e04d b.n 8002840 + 80026d6: e04d b.n 8002774 DISCOVERY_EXT_I2Cx_SCL_SDA_GPIO_CLK_ENABLE(); - 80027a4: 4b29 ldr r3, [pc, #164] ; (800284c ) - 80027a6: 6b1b ldr r3, [r3, #48] ; 0x30 - 80027a8: 4a28 ldr r2, [pc, #160] ; (800284c ) - 80027aa: f043 0302 orr.w r3, r3, #2 - 80027ae: 6313 str r3, [r2, #48] ; 0x30 - 80027b0: 4b26 ldr r3, [pc, #152] ; (800284c ) - 80027b2: 6b1b ldr r3, [r3, #48] ; 0x30 - 80027b4: f003 0302 and.w r3, r3, #2 - 80027b8: 613b str r3, [r7, #16] - 80027ba: 693b ldr r3, [r7, #16] + 80026d8: 4b29 ldr r3, [pc, #164] ; (8002780 ) + 80026da: 6b1b ldr r3, [r3, #48] ; 0x30 + 80026dc: 4a28 ldr r2, [pc, #160] ; (8002780 ) + 80026de: f043 0302 orr.w r3, r3, #2 + 80026e2: 6313 str r3, [r2, #48] ; 0x30 + 80026e4: 4b26 ldr r3, [pc, #152] ; (8002780 ) + 80026e6: 6b1b ldr r3, [r3, #48] ; 0x30 + 80026e8: f003 0302 and.w r3, r3, #2 + 80026ec: 613b str r3, [r7, #16] + 80026ee: 693b ldr r3, [r7, #16] gpio_init_structure.Pin = DISCOVERY_EXT_I2Cx_SCL_PIN; - 80027bc: f44f 7380 mov.w r3, #256 ; 0x100 - 80027c0: 61fb str r3, [r7, #28] + 80026f0: f44f 7380 mov.w r3, #256 ; 0x100 + 80026f4: 61fb str r3, [r7, #28] gpio_init_structure.Mode = GPIO_MODE_AF_OD; - 80027c2: 2312 movs r3, #18 - 80027c4: 623b str r3, [r7, #32] + 80026f6: 2312 movs r3, #18 + 80026f8: 623b str r3, [r7, #32] gpio_init_structure.Pull = GPIO_NOPULL; - 80027c6: 2300 movs r3, #0 - 80027c8: 627b str r3, [r7, #36] ; 0x24 + 80026fa: 2300 movs r3, #0 + 80026fc: 627b str r3, [r7, #36] ; 0x24 gpio_init_structure.Speed = GPIO_SPEED_FAST; - 80027ca: 2302 movs r3, #2 - 80027cc: 62bb str r3, [r7, #40] ; 0x28 + 80026fe: 2302 movs r3, #2 + 8002700: 62bb str r3, [r7, #40] ; 0x28 gpio_init_structure.Alternate = DISCOVERY_EXT_I2Cx_SCL_SDA_AF; - 80027ce: 2304 movs r3, #4 - 80027d0: 62fb str r3, [r7, #44] ; 0x2c + 8002702: 2304 movs r3, #4 + 8002704: 62fb str r3, [r7, #44] ; 0x2c HAL_GPIO_Init(DISCOVERY_EXT_I2Cx_SCL_SDA_GPIO_PORT, &gpio_init_structure); - 80027d2: f107 031c add.w r3, r7, #28 - 80027d6: 4619 mov r1, r3 - 80027d8: 481e ldr r0, [pc, #120] ; (8002854 ) - 80027da: f004 ff99 bl 8007710 + 8002706: f107 031c add.w r3, r7, #28 + 800270a: 4619 mov r1, r3 + 800270c: 481e ldr r0, [pc, #120] ; (8002788 ) + 800270e: f004 fdb3 bl 8007278 gpio_init_structure.Pin = DISCOVERY_EXT_I2Cx_SDA_PIN; - 80027de: f44f 7300 mov.w r3, #512 ; 0x200 - 80027e2: 61fb str r3, [r7, #28] + 8002712: f44f 7300 mov.w r3, #512 ; 0x200 + 8002716: 61fb str r3, [r7, #28] HAL_GPIO_Init(DISCOVERY_EXT_I2Cx_SCL_SDA_GPIO_PORT, &gpio_init_structure); - 80027e4: f107 031c add.w r3, r7, #28 - 80027e8: 4619 mov r1, r3 - 80027ea: 481a ldr r0, [pc, #104] ; (8002854 ) - 80027ec: f004 ff90 bl 8007710 + 8002718: f107 031c add.w r3, r7, #28 + 800271c: 4619 mov r1, r3 + 800271e: 481a ldr r0, [pc, #104] ; (8002788 ) + 8002720: f004 fdaa bl 8007278 DISCOVERY_EXT_I2Cx_CLK_ENABLE(); - 80027f0: 4b16 ldr r3, [pc, #88] ; (800284c ) - 80027f2: 6c1b ldr r3, [r3, #64] ; 0x40 - 80027f4: 4a15 ldr r2, [pc, #84] ; (800284c ) - 80027f6: f443 1300 orr.w r3, r3, #2097152 ; 0x200000 - 80027fa: 6413 str r3, [r2, #64] ; 0x40 - 80027fc: 4b13 ldr r3, [pc, #76] ; (800284c ) - 80027fe: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002800: f403 1300 and.w r3, r3, #2097152 ; 0x200000 - 8002804: 60fb str r3, [r7, #12] - 8002806: 68fb ldr r3, [r7, #12] + 8002724: 4b16 ldr r3, [pc, #88] ; (8002780 ) + 8002726: 6c1b ldr r3, [r3, #64] ; 0x40 + 8002728: 4a15 ldr r2, [pc, #84] ; (8002780 ) + 800272a: f443 1300 orr.w r3, r3, #2097152 ; 0x200000 + 800272e: 6413 str r3, [r2, #64] ; 0x40 + 8002730: 4b13 ldr r3, [pc, #76] ; (8002780 ) + 8002732: 6c1b ldr r3, [r3, #64] ; 0x40 + 8002734: f403 1300 and.w r3, r3, #2097152 ; 0x200000 + 8002738: 60fb str r3, [r7, #12] + 800273a: 68fb ldr r3, [r7, #12] DISCOVERY_EXT_I2Cx_FORCE_RESET(); - 8002808: 4b10 ldr r3, [pc, #64] ; (800284c ) - 800280a: 6a1b ldr r3, [r3, #32] - 800280c: 4a0f ldr r2, [pc, #60] ; (800284c ) - 800280e: f443 1300 orr.w r3, r3, #2097152 ; 0x200000 - 8002812: 6213 str r3, [r2, #32] + 800273c: 4b10 ldr r3, [pc, #64] ; (8002780 ) + 800273e: 6a1b ldr r3, [r3, #32] + 8002740: 4a0f ldr r2, [pc, #60] ; (8002780 ) + 8002742: f443 1300 orr.w r3, r3, #2097152 ; 0x200000 + 8002746: 6213 str r3, [r2, #32] DISCOVERY_EXT_I2Cx_RELEASE_RESET(); - 8002814: 4b0d ldr r3, [pc, #52] ; (800284c ) - 8002816: 6a1b ldr r3, [r3, #32] - 8002818: 4a0c ldr r2, [pc, #48] ; (800284c ) - 800281a: f423 1300 bic.w r3, r3, #2097152 ; 0x200000 - 800281e: 6213 str r3, [r2, #32] + 8002748: 4b0d ldr r3, [pc, #52] ; (8002780 ) + 800274a: 6a1b ldr r3, [r3, #32] + 800274c: 4a0c ldr r2, [pc, #48] ; (8002780 ) + 800274e: f423 1300 bic.w r3, r3, #2097152 ; 0x200000 + 8002752: 6213 str r3, [r2, #32] HAL_NVIC_SetPriority(DISCOVERY_EXT_I2Cx_EV_IRQn, 0x0F, 0); - 8002820: 2200 movs r2, #0 - 8002822: 210f movs r1, #15 - 8002824: 201f movs r0, #31 - 8002826: f002 ffc3 bl 80057b0 + 8002754: 2200 movs r2, #0 + 8002756: 210f movs r1, #15 + 8002758: 201f movs r0, #31 + 800275a: f002 fddd bl 8005318 HAL_NVIC_EnableIRQ(DISCOVERY_EXT_I2Cx_EV_IRQn); - 800282a: 201f movs r0, #31 - 800282c: f002 ffdc bl 80057e8 + 800275e: 201f movs r0, #31 + 8002760: f002 fdf6 bl 8005350 HAL_NVIC_SetPriority(DISCOVERY_EXT_I2Cx_ER_IRQn, 0x0F, 0); - 8002830: 2200 movs r2, #0 - 8002832: 210f movs r1, #15 - 8002834: 2020 movs r0, #32 - 8002836: f002 ffbb bl 80057b0 + 8002764: 2200 movs r2, #0 + 8002766: 210f movs r1, #15 + 8002768: 2020 movs r0, #32 + 800276a: f002 fdd5 bl 8005318 HAL_NVIC_EnableIRQ(DISCOVERY_EXT_I2Cx_ER_IRQn); - 800283a: 2020 movs r0, #32 - 800283c: f002 ffd4 bl 80057e8 + 800276e: 2020 movs r0, #32 + 8002770: f002 fdee bl 8005350 } - 8002840: bf00 nop - 8002842: 3730 adds r7, #48 ; 0x30 - 8002844: 46bd mov sp, r7 - 8002846: bd80 pop {r7, pc} - 8002848: 20000390 .word 0x20000390 - 800284c: 40023800 .word 0x40023800 - 8002850: 40021c00 .word 0x40021c00 - 8002854: 40020400 .word 0x40020400 + 8002774: bf00 nop + 8002776: 3730 adds r7, #48 ; 0x30 + 8002778: 46bd mov sp, r7 + 800277a: bd80 pop {r7, pc} + 800277c: 20000390 .word 0x20000390 + 8002780: 40023800 .word 0x40023800 + 8002784: 40021c00 .word 0x40021c00 + 8002788: 40020400 .word 0x40020400 -08002858 : +0800278c : * @brief Initializes I2C HAL. * @param i2c_handler : I2C handler * @retval None */ static void I2Cx_Init(I2C_HandleTypeDef *i2c_handler) { - 8002858: b580 push {r7, lr} - 800285a: b082 sub sp, #8 - 800285c: af00 add r7, sp, #0 - 800285e: 6078 str r0, [r7, #4] + 800278c: b580 push {r7, lr} + 800278e: b082 sub sp, #8 + 8002790: af00 add r7, sp, #0 + 8002792: 6078 str r0, [r7, #4] if(HAL_I2C_GetState(i2c_handler) == HAL_I2C_STATE_RESET) - 8002860: 6878 ldr r0, [r7, #4] - 8002862: f005 fc33 bl 80080cc - 8002866: 4603 mov r3, r0 - 8002868: 2b00 cmp r3, #0 - 800286a: d125 bne.n 80028b8 + 8002794: 6878 ldr r0, [r7, #4] + 8002796: f005 fa67 bl 8007c68 + 800279a: 4603 mov r3, r0 + 800279c: 2b00 cmp r3, #0 + 800279e: d125 bne.n 80027ec { if (i2c_handler == (I2C_HandleTypeDef*)(&hI2cAudioHandler)) - 800286c: 687b ldr r3, [r7, #4] - 800286e: 4a14 ldr r2, [pc, #80] ; (80028c0 ) - 8002870: 4293 cmp r3, r2 - 8002872: d103 bne.n 800287c + 80027a0: 687b ldr r3, [r7, #4] + 80027a2: 4a14 ldr r2, [pc, #80] ; (80027f4 ) + 80027a4: 4293 cmp r3, r2 + 80027a6: d103 bne.n 80027b0 { /* Audio and LCD I2C configuration */ i2c_handler->Instance = DISCOVERY_AUDIO_I2Cx; - 8002874: 687b ldr r3, [r7, #4] - 8002876: 4a13 ldr r2, [pc, #76] ; (80028c4 ) - 8002878: 601a str r2, [r3, #0] - 800287a: e002 b.n 8002882 + 80027a8: 687b ldr r3, [r7, #4] + 80027aa: 4a13 ldr r2, [pc, #76] ; (80027f8 ) + 80027ac: 601a str r2, [r3, #0] + 80027ae: e002 b.n 80027b6 } else { /* External, camera and Arduino connector I2C configuration */ i2c_handler->Instance = DISCOVERY_EXT_I2Cx; - 800287c: 687b ldr r3, [r7, #4] - 800287e: 4a12 ldr r2, [pc, #72] ; (80028c8 ) - 8002880: 601a str r2, [r3, #0] + 80027b0: 687b ldr r3, [r7, #4] + 80027b2: 4a12 ldr r2, [pc, #72] ; (80027fc ) + 80027b4: 601a str r2, [r3, #0] } i2c_handler->Init.Timing = DISCOVERY_I2Cx_TIMING; - 8002882: 687b ldr r3, [r7, #4] - 8002884: 4a11 ldr r2, [pc, #68] ; (80028cc ) - 8002886: 605a str r2, [r3, #4] + 80027b6: 687b ldr r3, [r7, #4] + 80027b8: 4a11 ldr r2, [pc, #68] ; (8002800 ) + 80027ba: 605a str r2, [r3, #4] i2c_handler->Init.OwnAddress1 = 0; - 8002888: 687b ldr r3, [r7, #4] - 800288a: 2200 movs r2, #0 - 800288c: 609a str r2, [r3, #8] + 80027bc: 687b ldr r3, [r7, #4] + 80027be: 2200 movs r2, #0 + 80027c0: 609a str r2, [r3, #8] i2c_handler->Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT; - 800288e: 687b ldr r3, [r7, #4] - 8002890: 2201 movs r2, #1 - 8002892: 60da str r2, [r3, #12] + 80027c2: 687b ldr r3, [r7, #4] + 80027c4: 2201 movs r2, #1 + 80027c6: 60da str r2, [r3, #12] i2c_handler->Init.DualAddressMode = I2C_DUALADDRESS_DISABLE; - 8002894: 687b ldr r3, [r7, #4] - 8002896: 2200 movs r2, #0 - 8002898: 611a str r2, [r3, #16] + 80027c8: 687b ldr r3, [r7, #4] + 80027ca: 2200 movs r2, #0 + 80027cc: 611a str r2, [r3, #16] i2c_handler->Init.OwnAddress2 = 0; - 800289a: 687b ldr r3, [r7, #4] - 800289c: 2200 movs r2, #0 - 800289e: 615a str r2, [r3, #20] + 80027ce: 687b ldr r3, [r7, #4] + 80027d0: 2200 movs r2, #0 + 80027d2: 615a str r2, [r3, #20] i2c_handler->Init.GeneralCallMode = I2C_GENERALCALL_DISABLE; - 80028a0: 687b ldr r3, [r7, #4] - 80028a2: 2200 movs r2, #0 - 80028a4: 61da str r2, [r3, #28] + 80027d4: 687b ldr r3, [r7, #4] + 80027d6: 2200 movs r2, #0 + 80027d8: 61da str r2, [r3, #28] i2c_handler->Init.NoStretchMode = I2C_NOSTRETCH_DISABLE; - 80028a6: 687b ldr r3, [r7, #4] - 80028a8: 2200 movs r2, #0 - 80028aa: 621a str r2, [r3, #32] + 80027da: 687b ldr r3, [r7, #4] + 80027dc: 2200 movs r2, #0 + 80027de: 621a str r2, [r3, #32] /* Init the I2C */ I2Cx_MspInit(i2c_handler); - 80028ac: 6878 ldr r0, [r7, #4] - 80028ae: f7ff ff23 bl 80026f8 + 80027e0: 6878 ldr r0, [r7, #4] + 80027e2: f7ff ff23 bl 800262c HAL_I2C_Init(i2c_handler); - 80028b2: 6878 ldr r0, [r7, #4] - 80028b4: f005 f908 bl 8007ac8 + 80027e6: 6878 ldr r0, [r7, #4] + 80027e8: f004 ff3c bl 8007664 } } - 80028b8: bf00 nop - 80028ba: 3708 adds r7, #8 - 80028bc: 46bd mov sp, r7 - 80028be: bd80 pop {r7, pc} - 80028c0: 20000390 .word 0x20000390 - 80028c4: 40005c00 .word 0x40005c00 - 80028c8: 40005400 .word 0x40005400 - 80028cc: 40912732 .word 0x40912732 + 80027ec: bf00 nop + 80027ee: 3708 adds r7, #8 + 80027f0: 46bd mov sp, r7 + 80027f2: bd80 pop {r7, pc} + 80027f4: 20000390 .word 0x20000390 + 80027f8: 40005c00 .word 0x40005c00 + 80027fc: 40005400 .word 0x40005400 + 8002800: 40912732 .word 0x40912732 -080028d0 : +08002804 : uint8_t Addr, uint16_t Reg, uint16_t MemAddress, uint8_t *Buffer, uint16_t Length) { - 80028d0: b580 push {r7, lr} - 80028d2: b08a sub sp, #40 ; 0x28 - 80028d4: af04 add r7, sp, #16 - 80028d6: 60f8 str r0, [r7, #12] - 80028d8: 4608 mov r0, r1 - 80028da: 4611 mov r1, r2 - 80028dc: 461a mov r2, r3 - 80028de: 4603 mov r3, r0 - 80028e0: 72fb strb r3, [r7, #11] - 80028e2: 460b mov r3, r1 - 80028e4: 813b strh r3, [r7, #8] - 80028e6: 4613 mov r3, r2 - 80028e8: 80fb strh r3, [r7, #6] + 8002804: b580 push {r7, lr} + 8002806: b08a sub sp, #40 ; 0x28 + 8002808: af04 add r7, sp, #16 + 800280a: 60f8 str r0, [r7, #12] + 800280c: 4608 mov r0, r1 + 800280e: 4611 mov r1, r2 + 8002810: 461a mov r2, r3 + 8002812: 4603 mov r3, r0 + 8002814: 72fb strb r3, [r7, #11] + 8002816: 460b mov r3, r1 + 8002818: 813b strh r3, [r7, #8] + 800281a: 4613 mov r3, r2 + 800281c: 80fb strh r3, [r7, #6] HAL_StatusTypeDef status = HAL_OK; - 80028ea: 2300 movs r3, #0 - 80028ec: 75fb strb r3, [r7, #23] + 800281e: 2300 movs r3, #0 + 8002820: 75fb strb r3, [r7, #23] status = HAL_I2C_Mem_Read(i2c_handler, Addr, (uint16_t)Reg, MemAddress, Buffer, Length, 1000); - 80028ee: 7afb ldrb r3, [r7, #11] - 80028f0: b299 uxth r1, r3 - 80028f2: 88f8 ldrh r0, [r7, #6] - 80028f4: 893a ldrh r2, [r7, #8] - 80028f6: f44f 737a mov.w r3, #1000 ; 0x3e8 - 80028fa: 9302 str r3, [sp, #8] - 80028fc: 8cbb ldrh r3, [r7, #36] ; 0x24 - 80028fe: 9301 str r3, [sp, #4] - 8002900: 6a3b ldr r3, [r7, #32] - 8002902: 9300 str r3, [sp, #0] - 8002904: 4603 mov r3, r0 - 8002906: 68f8 ldr r0, [r7, #12] - 8002908: f005 fac6 bl 8007e98 - 800290c: 4603 mov r3, r0 - 800290e: 75fb strb r3, [r7, #23] + 8002822: 7afb ldrb r3, [r7, #11] + 8002824: b299 uxth r1, r3 + 8002826: 88f8 ldrh r0, [r7, #6] + 8002828: 893a ldrh r2, [r7, #8] + 800282a: f44f 737a mov.w r3, #1000 ; 0x3e8 + 800282e: 9302 str r3, [sp, #8] + 8002830: 8cbb ldrh r3, [r7, #36] ; 0x24 + 8002832: 9301 str r3, [sp, #4] + 8002834: 6a3b ldr r3, [r7, #32] + 8002836: 9300 str r3, [sp, #0] + 8002838: 4603 mov r3, r0 + 800283a: 68f8 ldr r0, [r7, #12] + 800283c: f005 f8fa bl 8007a34 + 8002840: 4603 mov r3, r0 + 8002842: 75fb strb r3, [r7, #23] /* Check the communication status */ if(status != HAL_OK) - 8002910: 7dfb ldrb r3, [r7, #23] - 8002912: 2b00 cmp r3, #0 - 8002914: d004 beq.n 8002920 + 8002844: 7dfb ldrb r3, [r7, #23] + 8002846: 2b00 cmp r3, #0 + 8002848: d004 beq.n 8002854 { /* I2C error occurred */ I2Cx_Error(i2c_handler, Addr); - 8002916: 7afb ldrb r3, [r7, #11] - 8002918: 4619 mov r1, r3 - 800291a: 68f8 ldr r0, [r7, #12] - 800291c: f000 f832 bl 8002984 + 800284a: 7afb ldrb r3, [r7, #11] + 800284c: 4619 mov r1, r3 + 800284e: 68f8 ldr r0, [r7, #12] + 8002850: f000 f832 bl 80028b8 } return status; - 8002920: 7dfb ldrb r3, [r7, #23] + 8002854: 7dfb ldrb r3, [r7, #23] } - 8002922: 4618 mov r0, r3 - 8002924: 3718 adds r7, #24 - 8002926: 46bd mov sp, r7 - 8002928: bd80 pop {r7, pc} + 8002856: 4618 mov r0, r3 + 8002858: 3718 adds r7, #24 + 800285a: 46bd mov sp, r7 + 800285c: bd80 pop {r7, pc} -0800292a : +0800285e : uint8_t Addr, uint16_t Reg, uint16_t MemAddress, uint8_t *Buffer, uint16_t Length) { - 800292a: b580 push {r7, lr} - 800292c: b08a sub sp, #40 ; 0x28 - 800292e: af04 add r7, sp, #16 - 8002930: 60f8 str r0, [r7, #12] - 8002932: 4608 mov r0, r1 - 8002934: 4611 mov r1, r2 - 8002936: 461a mov r2, r3 - 8002938: 4603 mov r3, r0 - 800293a: 72fb strb r3, [r7, #11] - 800293c: 460b mov r3, r1 - 800293e: 813b strh r3, [r7, #8] - 8002940: 4613 mov r3, r2 - 8002942: 80fb strh r3, [r7, #6] + 800285e: b580 push {r7, lr} + 8002860: b08a sub sp, #40 ; 0x28 + 8002862: af04 add r7, sp, #16 + 8002864: 60f8 str r0, [r7, #12] + 8002866: 4608 mov r0, r1 + 8002868: 4611 mov r1, r2 + 800286a: 461a mov r2, r3 + 800286c: 4603 mov r3, r0 + 800286e: 72fb strb r3, [r7, #11] + 8002870: 460b mov r3, r1 + 8002872: 813b strh r3, [r7, #8] + 8002874: 4613 mov r3, r2 + 8002876: 80fb strh r3, [r7, #6] HAL_StatusTypeDef status = HAL_OK; - 8002944: 2300 movs r3, #0 - 8002946: 75fb strb r3, [r7, #23] + 8002878: 2300 movs r3, #0 + 800287a: 75fb strb r3, [r7, #23] status = HAL_I2C_Mem_Write(i2c_handler, Addr, (uint16_t)Reg, MemAddress, Buffer, Length, 1000); - 8002948: 7afb ldrb r3, [r7, #11] - 800294a: b299 uxth r1, r3 - 800294c: 88f8 ldrh r0, [r7, #6] - 800294e: 893a ldrh r2, [r7, #8] - 8002950: f44f 737a mov.w r3, #1000 ; 0x3e8 - 8002954: 9302 str r3, [sp, #8] - 8002956: 8cbb ldrh r3, [r7, #36] ; 0x24 - 8002958: 9301 str r3, [sp, #4] - 800295a: 6a3b ldr r3, [r7, #32] - 800295c: 9300 str r3, [sp, #0] - 800295e: 4603 mov r3, r0 - 8002960: 68f8 ldr r0, [r7, #12] - 8002962: f005 f985 bl 8007c70 - 8002966: 4603 mov r3, r0 - 8002968: 75fb strb r3, [r7, #23] + 800287c: 7afb ldrb r3, [r7, #11] + 800287e: b299 uxth r1, r3 + 8002880: 88f8 ldrh r0, [r7, #6] + 8002882: 893a ldrh r2, [r7, #8] + 8002884: f44f 737a mov.w r3, #1000 ; 0x3e8 + 8002888: 9302 str r3, [sp, #8] + 800288a: 8cbb ldrh r3, [r7, #36] ; 0x24 + 800288c: 9301 str r3, [sp, #4] + 800288e: 6a3b ldr r3, [r7, #32] + 8002890: 9300 str r3, [sp, #0] + 8002892: 4603 mov r3, r0 + 8002894: 68f8 ldr r0, [r7, #12] + 8002896: f004 ffb9 bl 800780c + 800289a: 4603 mov r3, r0 + 800289c: 75fb strb r3, [r7, #23] /* Check the communication status */ if(status != HAL_OK) - 800296a: 7dfb ldrb r3, [r7, #23] - 800296c: 2b00 cmp r3, #0 - 800296e: d004 beq.n 800297a + 800289e: 7dfb ldrb r3, [r7, #23] + 80028a0: 2b00 cmp r3, #0 + 80028a2: d004 beq.n 80028ae { /* Re-Initiaize the I2C Bus */ I2Cx_Error(i2c_handler, Addr); - 8002970: 7afb ldrb r3, [r7, #11] - 8002972: 4619 mov r1, r3 - 8002974: 68f8 ldr r0, [r7, #12] - 8002976: f000 f805 bl 8002984 + 80028a4: 7afb ldrb r3, [r7, #11] + 80028a6: 4619 mov r1, r3 + 80028a8: 68f8 ldr r0, [r7, #12] + 80028aa: f000 f805 bl 80028b8 } return status; - 800297a: 7dfb ldrb r3, [r7, #23] + 80028ae: 7dfb ldrb r3, [r7, #23] } - 800297c: 4618 mov r0, r3 - 800297e: 3718 adds r7, #24 - 8002980: 46bd mov sp, r7 - 8002982: bd80 pop {r7, pc} + 80028b0: 4618 mov r0, r3 + 80028b2: 3718 adds r7, #24 + 80028b4: 46bd mov sp, r7 + 80028b6: bd80 pop {r7, pc} -08002984 : +080028b8 : * @param i2c_handler : I2C handler * @param Addr: I2C Address * @retval None */ static void I2Cx_Error(I2C_HandleTypeDef *i2c_handler, uint8_t Addr) { - 8002984: b580 push {r7, lr} - 8002986: b082 sub sp, #8 - 8002988: af00 add r7, sp, #0 - 800298a: 6078 str r0, [r7, #4] - 800298c: 460b mov r3, r1 - 800298e: 70fb strb r3, [r7, #3] + 80028b8: b580 push {r7, lr} + 80028ba: b082 sub sp, #8 + 80028bc: af00 add r7, sp, #0 + 80028be: 6078 str r0, [r7, #4] + 80028c0: 460b mov r3, r1 + 80028c2: 70fb strb r3, [r7, #3] /* De-initialize the I2C communication bus */ HAL_I2C_DeInit(i2c_handler); - 8002990: 6878 ldr r0, [r7, #4] - 8002992: f005 f929 bl 8007be8 + 80028c4: 6878 ldr r0, [r7, #4] + 80028c6: f004 ff5d bl 8007784 /* Re-Initialize the I2C communication bus */ I2Cx_Init(i2c_handler); - 8002996: 6878 ldr r0, [r7, #4] - 8002998: f7ff ff5e bl 8002858 + 80028ca: 6878 ldr r0, [r7, #4] + 80028cc: f7ff ff5e bl 800278c } - 800299c: bf00 nop - 800299e: 3708 adds r7, #8 - 80029a0: 46bd mov sp, r7 - 80029a2: bd80 pop {r7, pc} + 80028d0: bf00 nop + 80028d2: 3708 adds r7, #8 + 80028d4: 46bd mov sp, r7 + 80028d6: bd80 pop {r7, pc} -080029a4 : +080028d8 : /** * @brief Initializes Touchscreen low level. * @retval None */ void TS_IO_Init(void) { - 80029a4: b580 push {r7, lr} - 80029a6: af00 add r7, sp, #0 + 80028d8: b580 push {r7, lr} + 80028da: af00 add r7, sp, #0 I2Cx_Init(&hI2cAudioHandler); - 80029a8: 4802 ldr r0, [pc, #8] ; (80029b4 ) - 80029aa: f7ff ff55 bl 8002858 + 80028dc: 4802 ldr r0, [pc, #8] ; (80028e8 ) + 80028de: f7ff ff55 bl 800278c } - 80029ae: bf00 nop - 80029b0: bd80 pop {r7, pc} - 80029b2: bf00 nop - 80029b4: 20000390 .word 0x20000390 + 80028e2: bf00 nop + 80028e4: bd80 pop {r7, pc} + 80028e6: bf00 nop + 80028e8: 20000390 .word 0x20000390 -080029b8 : +080028ec : * @param Reg: Reg address * @param Value: Data to be written * @retval None */ void TS_IO_Write(uint8_t Addr, uint8_t Reg, uint8_t Value) { - 80029b8: b580 push {r7, lr} - 80029ba: b084 sub sp, #16 - 80029bc: af02 add r7, sp, #8 - 80029be: 4603 mov r3, r0 - 80029c0: 71fb strb r3, [r7, #7] - 80029c2: 460b mov r3, r1 - 80029c4: 71bb strb r3, [r7, #6] - 80029c6: 4613 mov r3, r2 - 80029c8: 717b strb r3, [r7, #5] + 80028ec: b580 push {r7, lr} + 80028ee: b084 sub sp, #16 + 80028f0: af02 add r7, sp, #8 + 80028f2: 4603 mov r3, r0 + 80028f4: 71fb strb r3, [r7, #7] + 80028f6: 460b mov r3, r1 + 80028f8: 71bb strb r3, [r7, #6] + 80028fa: 4613 mov r3, r2 + 80028fc: 717b strb r3, [r7, #5] I2Cx_WriteMultiple(&hI2cAudioHandler, Addr, (uint16_t)Reg, I2C_MEMADD_SIZE_8BIT,(uint8_t*)&Value, 1); - 80029ca: 79bb ldrb r3, [r7, #6] - 80029cc: b29a uxth r2, r3 - 80029ce: 79f9 ldrb r1, [r7, #7] - 80029d0: 2301 movs r3, #1 - 80029d2: 9301 str r3, [sp, #4] - 80029d4: 1d7b adds r3, r7, #5 - 80029d6: 9300 str r3, [sp, #0] - 80029d8: 2301 movs r3, #1 - 80029da: 4803 ldr r0, [pc, #12] ; (80029e8 ) - 80029dc: f7ff ffa5 bl 800292a + 80028fe: 79bb ldrb r3, [r7, #6] + 8002900: b29a uxth r2, r3 + 8002902: 79f9 ldrb r1, [r7, #7] + 8002904: 2301 movs r3, #1 + 8002906: 9301 str r3, [sp, #4] + 8002908: 1d7b adds r3, r7, #5 + 800290a: 9300 str r3, [sp, #0] + 800290c: 2301 movs r3, #1 + 800290e: 4803 ldr r0, [pc, #12] ; (800291c ) + 8002910: f7ff ffa5 bl 800285e } - 80029e0: bf00 nop - 80029e2: 3708 adds r7, #8 - 80029e4: 46bd mov sp, r7 - 80029e6: bd80 pop {r7, pc} - 80029e8: 20000390 .word 0x20000390 + 8002914: bf00 nop + 8002916: 3708 adds r7, #8 + 8002918: 46bd mov sp, r7 + 800291a: bd80 pop {r7, pc} + 800291c: 20000390 .word 0x20000390 -080029ec : +08002920 : * @param Addr: I2C address * @param Reg: Reg address * @retval Data to be read */ uint8_t TS_IO_Read(uint8_t Addr, uint8_t Reg) { - 80029ec: b580 push {r7, lr} - 80029ee: b086 sub sp, #24 - 80029f0: af02 add r7, sp, #8 - 80029f2: 4603 mov r3, r0 - 80029f4: 460a mov r2, r1 - 80029f6: 71fb strb r3, [r7, #7] - 80029f8: 4613 mov r3, r2 - 80029fa: 71bb strb r3, [r7, #6] + 8002920: b580 push {r7, lr} + 8002922: b086 sub sp, #24 + 8002924: af02 add r7, sp, #8 + 8002926: 4603 mov r3, r0 + 8002928: 460a mov r2, r1 + 800292a: 71fb strb r3, [r7, #7] + 800292c: 4613 mov r3, r2 + 800292e: 71bb strb r3, [r7, #6] uint8_t read_value = 0; - 80029fc: 2300 movs r3, #0 - 80029fe: 73fb strb r3, [r7, #15] + 8002930: 2300 movs r3, #0 + 8002932: 73fb strb r3, [r7, #15] I2Cx_ReadMultiple(&hI2cAudioHandler, Addr, Reg, I2C_MEMADD_SIZE_8BIT, (uint8_t*)&read_value, 1); - 8002a00: 79bb ldrb r3, [r7, #6] - 8002a02: b29a uxth r2, r3 - 8002a04: 79f9 ldrb r1, [r7, #7] - 8002a06: 2301 movs r3, #1 - 8002a08: 9301 str r3, [sp, #4] - 8002a0a: f107 030f add.w r3, r7, #15 - 8002a0e: 9300 str r3, [sp, #0] - 8002a10: 2301 movs r3, #1 - 8002a12: 4804 ldr r0, [pc, #16] ; (8002a24 ) - 8002a14: f7ff ff5c bl 80028d0 + 8002934: 79bb ldrb r3, [r7, #6] + 8002936: b29a uxth r2, r3 + 8002938: 79f9 ldrb r1, [r7, #7] + 800293a: 2301 movs r3, #1 + 800293c: 9301 str r3, [sp, #4] + 800293e: f107 030f add.w r3, r7, #15 + 8002942: 9300 str r3, [sp, #0] + 8002944: 2301 movs r3, #1 + 8002946: 4804 ldr r0, [pc, #16] ; (8002958 ) + 8002948: f7ff ff5c bl 8002804 return read_value; - 8002a18: 7bfb ldrb r3, [r7, #15] + 800294c: 7bfb ldrb r3, [r7, #15] } - 8002a1a: 4618 mov r0, r3 - 8002a1c: 3710 adds r7, #16 - 8002a1e: 46bd mov sp, r7 - 8002a20: bd80 pop {r7, pc} - 8002a22: bf00 nop - 8002a24: 20000390 .word 0x20000390 + 800294e: 4618 mov r0, r3 + 8002950: 3710 adds r7, #16 + 8002952: 46bd mov sp, r7 + 8002954: bd80 pop {r7, pc} + 8002956: bf00 nop + 8002958: 20000390 .word 0x20000390 -08002a28 : +0800295c : * @brief TS delay * @param Delay: Delay in ms * @retval None */ void TS_IO_Delay(uint32_t Delay) { - 8002a28: b580 push {r7, lr} - 8002a2a: b082 sub sp, #8 - 8002a2c: af00 add r7, sp, #0 - 8002a2e: 6078 str r0, [r7, #4] + 800295c: b580 push {r7, lr} + 800295e: b082 sub sp, #8 + 8002960: af00 add r7, sp, #0 + 8002962: 6078 str r0, [r7, #4] HAL_Delay(Delay); - 8002a30: 6878 ldr r0, [r7, #4] - 8002a32: f002 fa09 bl 8004e48 + 8002964: 6878 ldr r0, [r7, #4] + 8002966: f002 f823 bl 80049b0 } - 8002a36: bf00 nop - 8002a38: 3708 adds r7, #8 - 8002a3a: 46bd mov sp, r7 - 8002a3c: bd80 pop {r7, pc} + 800296a: bf00 nop + 800296c: 3708 adds r7, #8 + 800296e: 46bd mov sp, r7 + 8002970: bd80 pop {r7, pc} ... -08002a40 : +08002974 : /** * @brief Initializes the LCD. * @retval LCD state */ uint8_t BSP_LCD_Init(void) { - 8002a40: b580 push {r7, lr} - 8002a42: af00 add r7, sp, #0 + 8002974: b580 push {r7, lr} + 8002976: af00 add r7, sp, #0 /* Select the used LCD */ /* The RK043FN48H LCD 480x272 is selected */ /* Timing Configuration */ hLtdcHandler.Init.HorizontalSync = (RK043FN48H_HSYNC - 1); - 8002a44: 4b31 ldr r3, [pc, #196] ; (8002b0c ) - 8002a46: 2228 movs r2, #40 ; 0x28 - 8002a48: 615a str r2, [r3, #20] + 8002978: 4b31 ldr r3, [pc, #196] ; (8002a40 ) + 800297a: 2228 movs r2, #40 ; 0x28 + 800297c: 615a str r2, [r3, #20] hLtdcHandler.Init.VerticalSync = (RK043FN48H_VSYNC - 1); - 8002a4a: 4b30 ldr r3, [pc, #192] ; (8002b0c ) - 8002a4c: 2209 movs r2, #9 - 8002a4e: 619a str r2, [r3, #24] + 800297e: 4b30 ldr r3, [pc, #192] ; (8002a40 ) + 8002980: 2209 movs r2, #9 + 8002982: 619a str r2, [r3, #24] hLtdcHandler.Init.AccumulatedHBP = (RK043FN48H_HSYNC + RK043FN48H_HBP - 1); - 8002a50: 4b2e ldr r3, [pc, #184] ; (8002b0c ) - 8002a52: 2235 movs r2, #53 ; 0x35 - 8002a54: 61da str r2, [r3, #28] + 8002984: 4b2e ldr r3, [pc, #184] ; (8002a40 ) + 8002986: 2235 movs r2, #53 ; 0x35 + 8002988: 61da str r2, [r3, #28] hLtdcHandler.Init.AccumulatedVBP = (RK043FN48H_VSYNC + RK043FN48H_VBP - 1); - 8002a56: 4b2d ldr r3, [pc, #180] ; (8002b0c ) - 8002a58: 220b movs r2, #11 - 8002a5a: 621a str r2, [r3, #32] + 800298a: 4b2d ldr r3, [pc, #180] ; (8002a40 ) + 800298c: 220b movs r2, #11 + 800298e: 621a str r2, [r3, #32] hLtdcHandler.Init.AccumulatedActiveH = (RK043FN48H_HEIGHT + RK043FN48H_VSYNC + RK043FN48H_VBP - 1); - 8002a5c: 4b2b ldr r3, [pc, #172] ; (8002b0c ) - 8002a5e: f240 121b movw r2, #283 ; 0x11b - 8002a62: 629a str r2, [r3, #40] ; 0x28 + 8002990: 4b2b ldr r3, [pc, #172] ; (8002a40 ) + 8002992: f240 121b movw r2, #283 ; 0x11b + 8002996: 629a str r2, [r3, #40] ; 0x28 hLtdcHandler.Init.AccumulatedActiveW = (RK043FN48H_WIDTH + RK043FN48H_HSYNC + RK043FN48H_HBP - 1); - 8002a64: 4b29 ldr r3, [pc, #164] ; (8002b0c ) - 8002a66: f240 2215 movw r2, #533 ; 0x215 - 8002a6a: 625a str r2, [r3, #36] ; 0x24 + 8002998: 4b29 ldr r3, [pc, #164] ; (8002a40 ) + 800299a: f240 2215 movw r2, #533 ; 0x215 + 800299e: 625a str r2, [r3, #36] ; 0x24 hLtdcHandler.Init.TotalHeigh = (RK043FN48H_HEIGHT + RK043FN48H_VSYNC + RK043FN48H_VBP + RK043FN48H_VFP - 1); - 8002a6c: 4b27 ldr r3, [pc, #156] ; (8002b0c ) - 8002a6e: f240 121d movw r2, #285 ; 0x11d - 8002a72: 631a str r2, [r3, #48] ; 0x30 + 80029a0: 4b27 ldr r3, [pc, #156] ; (8002a40 ) + 80029a2: f240 121d movw r2, #285 ; 0x11d + 80029a6: 631a str r2, [r3, #48] ; 0x30 hLtdcHandler.Init.TotalWidth = (RK043FN48H_WIDTH + RK043FN48H_HSYNC + RK043FN48H_HBP + RK043FN48H_HFP - 1); - 8002a74: 4b25 ldr r3, [pc, #148] ; (8002b0c ) - 8002a76: f240 2235 movw r2, #565 ; 0x235 - 8002a7a: 62da str r2, [r3, #44] ; 0x2c + 80029a8: 4b25 ldr r3, [pc, #148] ; (8002a40 ) + 80029aa: f240 2235 movw r2, #565 ; 0x235 + 80029ae: 62da str r2, [r3, #44] ; 0x2c /* LCD clock configuration */ BSP_LCD_ClockConfig(&hLtdcHandler, NULL); - 8002a7c: 2100 movs r1, #0 - 8002a7e: 4823 ldr r0, [pc, #140] ; (8002b0c ) - 8002a80: f000 fee8 bl 8003854 + 80029b0: 2100 movs r1, #0 + 80029b2: 4823 ldr r0, [pc, #140] ; (8002a40 ) + 80029b4: f000 fdb2 bl 800351c /* Initialize the LCD pixel width and pixel height */ hLtdcHandler.LayerCfg->ImageWidth = RK043FN48H_WIDTH; - 8002a84: 4b21 ldr r3, [pc, #132] ; (8002b0c ) - 8002a86: f44f 72f0 mov.w r2, #480 ; 0x1e0 - 8002a8a: 661a str r2, [r3, #96] ; 0x60 + 80029b8: 4b21 ldr r3, [pc, #132] ; (8002a40 ) + 80029ba: f44f 72f0 mov.w r2, #480 ; 0x1e0 + 80029be: 661a str r2, [r3, #96] ; 0x60 hLtdcHandler.LayerCfg->ImageHeight = RK043FN48H_HEIGHT; - 8002a8c: 4b1f ldr r3, [pc, #124] ; (8002b0c ) - 8002a8e: f44f 7288 mov.w r2, #272 ; 0x110 - 8002a92: 665a str r2, [r3, #100] ; 0x64 + 80029c0: 4b1f ldr r3, [pc, #124] ; (8002a40 ) + 80029c2: f44f 7288 mov.w r2, #272 ; 0x110 + 80029c6: 665a str r2, [r3, #100] ; 0x64 /* Background value */ hLtdcHandler.Init.Backcolor.Blue = 0; - 8002a94: 4b1d ldr r3, [pc, #116] ; (8002b0c ) - 8002a96: 2200 movs r2, #0 - 8002a98: f883 2034 strb.w r2, [r3, #52] ; 0x34 + 80029c8: 4b1d ldr r3, [pc, #116] ; (8002a40 ) + 80029ca: 2200 movs r2, #0 + 80029cc: f883 2034 strb.w r2, [r3, #52] ; 0x34 hLtdcHandler.Init.Backcolor.Green = 0; - 8002a9c: 4b1b ldr r3, [pc, #108] ; (8002b0c ) - 8002a9e: 2200 movs r2, #0 - 8002aa0: f883 2035 strb.w r2, [r3, #53] ; 0x35 + 80029d0: 4b1b ldr r3, [pc, #108] ; (8002a40 ) + 80029d2: 2200 movs r2, #0 + 80029d4: f883 2035 strb.w r2, [r3, #53] ; 0x35 hLtdcHandler.Init.Backcolor.Red = 0; - 8002aa4: 4b19 ldr r3, [pc, #100] ; (8002b0c ) - 8002aa6: 2200 movs r2, #0 - 8002aa8: f883 2036 strb.w r2, [r3, #54] ; 0x36 + 80029d8: 4b19 ldr r3, [pc, #100] ; (8002a40 ) + 80029da: 2200 movs r2, #0 + 80029dc: f883 2036 strb.w r2, [r3, #54] ; 0x36 /* Polarity */ hLtdcHandler.Init.HSPolarity = LTDC_HSPOLARITY_AL; - 8002aac: 4b17 ldr r3, [pc, #92] ; (8002b0c ) - 8002aae: 2200 movs r2, #0 - 8002ab0: 605a str r2, [r3, #4] + 80029e0: 4b17 ldr r3, [pc, #92] ; (8002a40 ) + 80029e2: 2200 movs r2, #0 + 80029e4: 605a str r2, [r3, #4] hLtdcHandler.Init.VSPolarity = LTDC_VSPOLARITY_AL; - 8002ab2: 4b16 ldr r3, [pc, #88] ; (8002b0c ) - 8002ab4: 2200 movs r2, #0 - 8002ab6: 609a str r2, [r3, #8] + 80029e6: 4b16 ldr r3, [pc, #88] ; (8002a40 ) + 80029e8: 2200 movs r2, #0 + 80029ea: 609a str r2, [r3, #8] hLtdcHandler.Init.DEPolarity = LTDC_DEPOLARITY_AL; - 8002ab8: 4b14 ldr r3, [pc, #80] ; (8002b0c ) - 8002aba: 2200 movs r2, #0 - 8002abc: 60da str r2, [r3, #12] + 80029ec: 4b14 ldr r3, [pc, #80] ; (8002a40 ) + 80029ee: 2200 movs r2, #0 + 80029f0: 60da str r2, [r3, #12] hLtdcHandler.Init.PCPolarity = LTDC_PCPOLARITY_IPC; - 8002abe: 4b13 ldr r3, [pc, #76] ; (8002b0c ) - 8002ac0: 2200 movs r2, #0 - 8002ac2: 611a str r2, [r3, #16] + 80029f2: 4b13 ldr r3, [pc, #76] ; (8002a40 ) + 80029f4: 2200 movs r2, #0 + 80029f6: 611a str r2, [r3, #16] hLtdcHandler.Instance = LTDC; - 8002ac4: 4b11 ldr r3, [pc, #68] ; (8002b0c ) - 8002ac6: 4a12 ldr r2, [pc, #72] ; (8002b10 ) - 8002ac8: 601a str r2, [r3, #0] + 80029f8: 4b11 ldr r3, [pc, #68] ; (8002a40 ) + 80029fa: 4a12 ldr r2, [pc, #72] ; (8002a44 ) + 80029fc: 601a str r2, [r3, #0] if(HAL_LTDC_GetState(&hLtdcHandler) == HAL_LTDC_STATE_RESET) - 8002aca: 4810 ldr r0, [pc, #64] ; (8002b0c ) - 8002acc: f005 fef8 bl 80088c0 - 8002ad0: 4603 mov r3, r0 - 8002ad2: 2b00 cmp r3, #0 - 8002ad4: d103 bne.n 8002ade + 80029fe: 4810 ldr r0, [pc, #64] ; (8002a40 ) + 8002a00: f005 fd2c bl 800845c + 8002a04: 4603 mov r3, r0 + 8002a06: 2b00 cmp r3, #0 + 8002a08: d103 bne.n 8002a12 { /* Initialize the LCD Msp: this __weak function can be rewritten by the application */ BSP_LCD_MspInit(&hLtdcHandler, NULL); - 8002ad6: 2100 movs r1, #0 - 8002ad8: 480c ldr r0, [pc, #48] ; (8002b0c ) - 8002ada: f000 fde1 bl 80036a0 + 8002a0a: 2100 movs r1, #0 + 8002a0c: 480c ldr r0, [pc, #48] ; (8002a40 ) + 8002a0e: f000 fcab bl 8003368 } HAL_LTDC_Init(&hLtdcHandler); - 8002ade: 480b ldr r0, [pc, #44] ; (8002b0c ) - 8002ae0: f005 fd1e bl 8008520 + 8002a12: 480b ldr r0, [pc, #44] ; (8002a40 ) + 8002a14: f005 fb52 bl 80080bc /* Assert display enable LCD_DISP pin */ HAL_GPIO_WritePin(LCD_DISP_GPIO_PORT, LCD_DISP_PIN, GPIO_PIN_SET); - 8002ae4: 2201 movs r2, #1 - 8002ae6: f44f 5180 mov.w r1, #4096 ; 0x1000 - 8002aea: 480a ldr r0, [pc, #40] ; (8002b14 ) - 8002aec: f004 ffd2 bl 8007a94 + 8002a18: 2201 movs r2, #1 + 8002a1a: f44f 5180 mov.w r1, #4096 ; 0x1000 + 8002a1e: 480a ldr r0, [pc, #40] ; (8002a48 ) + 8002a20: f004 fdd4 bl 80075cc /* Assert backlight LCD_BL_CTRL pin */ HAL_GPIO_WritePin(LCD_BL_CTRL_GPIO_PORT, LCD_BL_CTRL_PIN, GPIO_PIN_SET); - 8002af0: 2201 movs r2, #1 - 8002af2: 2108 movs r1, #8 - 8002af4: 4808 ldr r0, [pc, #32] ; (8002b18 ) - 8002af6: f004 ffcd bl 8007a94 + 8002a24: 2201 movs r2, #1 + 8002a26: 2108 movs r1, #8 + 8002a28: 4808 ldr r0, [pc, #32] ; (8002a4c ) + 8002a2a: f004 fdcf bl 80075cc #if !defined(DATA_IN_ExtSDRAM) /* Initialize the SDRAM */ BSP_SDRAM_Init(); - 8002afa: f001 f80f bl 8003b1c + 8002a2e: f000 fe21 bl 8003674 #endif /* Initialize the font */ BSP_LCD_SetFont(&LCD_DEFAULT_FONT); - 8002afe: 4807 ldr r0, [pc, #28] ; (8002b1c ) - 8002b00: f000 f8d8 bl 8002cb4 + 8002a32: 4807 ldr r0, [pc, #28] ; (8002a50 ) + 8002a34: f000 f8d8 bl 8002be8 return LCD_OK; - 8002b04: 2300 movs r3, #0 + 8002a38: 2300 movs r3, #0 } - 8002b06: 4618 mov r0, r3 - 8002b08: bd80 pop {r7, pc} - 8002b0a: bf00 nop - 8002b0c: 20008c38 .word 0x20008c38 - 8002b10: 40016800 .word 0x40016800 - 8002b14: 40022000 .word 0x40022000 - 8002b18: 40022800 .word 0x40022800 - 8002b1c: 20000050 .word 0x20000050 + 8002a3a: 4618 mov r0, r3 + 8002a3c: bd80 pop {r7, pc} + 8002a3e: bf00 nop + 8002a40: 20008c34 .word 0x20008c34 + 8002a44: 40016800 .word 0x40016800 + 8002a48: 40022000 .word 0x40022000 + 8002a4c: 40022800 .word 0x40022800 + 8002a50: 20000050 .word 0x20000050 -08002b20 : +08002a54 : /** * @brief Gets the LCD X size. * @retval Used LCD X size */ uint32_t BSP_LCD_GetXSize(void) { - 8002b20: b480 push {r7} - 8002b22: af00 add r7, sp, #0 + 8002a54: b480 push {r7} + 8002a56: af00 add r7, sp, #0 return hLtdcHandler.LayerCfg[ActiveLayer].ImageWidth; - 8002b24: 4b06 ldr r3, [pc, #24] ; (8002b40 ) - 8002b26: 681b ldr r3, [r3, #0] - 8002b28: 4a06 ldr r2, [pc, #24] ; (8002b44 ) - 8002b2a: 2134 movs r1, #52 ; 0x34 - 8002b2c: fb01 f303 mul.w r3, r1, r3 - 8002b30: 4413 add r3, r2 - 8002b32: 3360 adds r3, #96 ; 0x60 - 8002b34: 681b ldr r3, [r3, #0] + 8002a58: 4b06 ldr r3, [pc, #24] ; (8002a74 ) + 8002a5a: 681b ldr r3, [r3, #0] + 8002a5c: 4a06 ldr r2, [pc, #24] ; (8002a78 ) + 8002a5e: 2134 movs r1, #52 ; 0x34 + 8002a60: fb01 f303 mul.w r3, r1, r3 + 8002a64: 4413 add r3, r2 + 8002a66: 3360 adds r3, #96 ; 0x60 + 8002a68: 681b ldr r3, [r3, #0] } - 8002b36: 4618 mov r0, r3 - 8002b38: 46bd mov sp, r7 - 8002b3a: f85d 7b04 ldr.w r7, [sp], #4 - 8002b3e: 4770 bx lr - 8002b40: 2000041c .word 0x2000041c - 8002b44: 20008c38 .word 0x20008c38 + 8002a6a: 4618 mov r0, r3 + 8002a6c: 46bd mov sp, r7 + 8002a6e: f85d 7b04 ldr.w r7, [sp], #4 + 8002a72: 4770 bx lr + 8002a74: 2000041c .word 0x2000041c + 8002a78: 20008c34 .word 0x20008c34 -08002b48 : +08002a7c : /** * @brief Gets the LCD Y size. * @retval Used LCD Y size */ uint32_t BSP_LCD_GetYSize(void) { - 8002b48: b480 push {r7} - 8002b4a: af00 add r7, sp, #0 + 8002a7c: b480 push {r7} + 8002a7e: af00 add r7, sp, #0 return hLtdcHandler.LayerCfg[ActiveLayer].ImageHeight; - 8002b4c: 4b06 ldr r3, [pc, #24] ; (8002b68 ) - 8002b4e: 681b ldr r3, [r3, #0] - 8002b50: 4a06 ldr r2, [pc, #24] ; (8002b6c ) - 8002b52: 2134 movs r1, #52 ; 0x34 - 8002b54: fb01 f303 mul.w r3, r1, r3 - 8002b58: 4413 add r3, r2 - 8002b5a: 3364 adds r3, #100 ; 0x64 - 8002b5c: 681b ldr r3, [r3, #0] + 8002a80: 4b06 ldr r3, [pc, #24] ; (8002a9c ) + 8002a82: 681b ldr r3, [r3, #0] + 8002a84: 4a06 ldr r2, [pc, #24] ; (8002aa0 ) + 8002a86: 2134 movs r1, #52 ; 0x34 + 8002a88: fb01 f303 mul.w r3, r1, r3 + 8002a8c: 4413 add r3, r2 + 8002a8e: 3364 adds r3, #100 ; 0x64 + 8002a90: 681b ldr r3, [r3, #0] } - 8002b5e: 4618 mov r0, r3 - 8002b60: 46bd mov sp, r7 - 8002b62: f85d 7b04 ldr.w r7, [sp], #4 - 8002b66: 4770 bx lr - 8002b68: 2000041c .word 0x2000041c - 8002b6c: 20008c38 .word 0x20008c38 + 8002a92: 4618 mov r0, r3 + 8002a94: 46bd mov sp, r7 + 8002a96: f85d 7b04 ldr.w r7, [sp], #4 + 8002a9a: 4770 bx lr + 8002a9c: 2000041c .word 0x2000041c + 8002aa0: 20008c34 .word 0x20008c34 -08002b70 : +08002aa4 : * @param LayerIndex: Layer foreground or background * @param FB_Address: Layer frame buffer * @retval None */ void BSP_LCD_LayerDefaultInit(uint16_t LayerIndex, uint32_t FB_Address) { - 8002b70: b580 push {r7, lr} - 8002b72: b090 sub sp, #64 ; 0x40 - 8002b74: af00 add r7, sp, #0 - 8002b76: 4603 mov r3, r0 - 8002b78: 6039 str r1, [r7, #0] - 8002b7a: 80fb strh r3, [r7, #6] + 8002aa4: b580 push {r7, lr} + 8002aa6: b090 sub sp, #64 ; 0x40 + 8002aa8: af00 add r7, sp, #0 + 8002aaa: 4603 mov r3, r0 + 8002aac: 6039 str r1, [r7, #0] + 8002aae: 80fb strh r3, [r7, #6] LCD_LayerCfgTypeDef layer_cfg; /* Layer Init */ layer_cfg.WindowX0 = 0; - 8002b7c: 2300 movs r3, #0 - 8002b7e: 60fb str r3, [r7, #12] + 8002ab0: 2300 movs r3, #0 + 8002ab2: 60fb str r3, [r7, #12] layer_cfg.WindowX1 = BSP_LCD_GetXSize(); - 8002b80: f7ff ffce bl 8002b20 - 8002b84: 4603 mov r3, r0 - 8002b86: 613b str r3, [r7, #16] + 8002ab4: f7ff ffce bl 8002a54 + 8002ab8: 4603 mov r3, r0 + 8002aba: 613b str r3, [r7, #16] layer_cfg.WindowY0 = 0; - 8002b88: 2300 movs r3, #0 - 8002b8a: 617b str r3, [r7, #20] + 8002abc: 2300 movs r3, #0 + 8002abe: 617b str r3, [r7, #20] layer_cfg.WindowY1 = BSP_LCD_GetYSize(); - 8002b8c: f7ff ffdc bl 8002b48 - 8002b90: 4603 mov r3, r0 - 8002b92: 61bb str r3, [r7, #24] + 8002ac0: f7ff ffdc bl 8002a7c + 8002ac4: 4603 mov r3, r0 + 8002ac6: 61bb str r3, [r7, #24] layer_cfg.PixelFormat = LTDC_PIXEL_FORMAT_ARGB8888; - 8002b94: 2300 movs r3, #0 - 8002b96: 61fb str r3, [r7, #28] + 8002ac8: 2300 movs r3, #0 + 8002aca: 61fb str r3, [r7, #28] layer_cfg.FBStartAdress = FB_Address; - 8002b98: 683b ldr r3, [r7, #0] - 8002b9a: 633b str r3, [r7, #48] ; 0x30 + 8002acc: 683b ldr r3, [r7, #0] + 8002ace: 633b str r3, [r7, #48] ; 0x30 layer_cfg.Alpha = 255; - 8002b9c: 23ff movs r3, #255 ; 0xff - 8002b9e: 623b str r3, [r7, #32] + 8002ad0: 23ff movs r3, #255 ; 0xff + 8002ad2: 623b str r3, [r7, #32] layer_cfg.Alpha0 = 0; - 8002ba0: 2300 movs r3, #0 - 8002ba2: 627b str r3, [r7, #36] ; 0x24 + 8002ad4: 2300 movs r3, #0 + 8002ad6: 627b str r3, [r7, #36] ; 0x24 layer_cfg.Backcolor.Blue = 0; - 8002ba4: 2300 movs r3, #0 - 8002ba6: f887 303c strb.w r3, [r7, #60] ; 0x3c + 8002ad8: 2300 movs r3, #0 + 8002ada: f887 303c strb.w r3, [r7, #60] ; 0x3c layer_cfg.Backcolor.Green = 0; - 8002baa: 2300 movs r3, #0 - 8002bac: f887 303d strb.w r3, [r7, #61] ; 0x3d + 8002ade: 2300 movs r3, #0 + 8002ae0: f887 303d strb.w r3, [r7, #61] ; 0x3d layer_cfg.Backcolor.Red = 0; - 8002bb0: 2300 movs r3, #0 - 8002bb2: f887 303e strb.w r3, [r7, #62] ; 0x3e + 8002ae4: 2300 movs r3, #0 + 8002ae6: f887 303e strb.w r3, [r7, #62] ; 0x3e layer_cfg.BlendingFactor1 = LTDC_BLENDING_FACTOR1_PAxCA; - 8002bb6: f44f 63c0 mov.w r3, #1536 ; 0x600 - 8002bba: 62bb str r3, [r7, #40] ; 0x28 + 8002aea: f44f 63c0 mov.w r3, #1536 ; 0x600 + 8002aee: 62bb str r3, [r7, #40] ; 0x28 layer_cfg.BlendingFactor2 = LTDC_BLENDING_FACTOR2_PAxCA; - 8002bbc: 2307 movs r3, #7 - 8002bbe: 62fb str r3, [r7, #44] ; 0x2c + 8002af0: 2307 movs r3, #7 + 8002af2: 62fb str r3, [r7, #44] ; 0x2c layer_cfg.ImageWidth = BSP_LCD_GetXSize(); - 8002bc0: f7ff ffae bl 8002b20 - 8002bc4: 4603 mov r3, r0 - 8002bc6: 637b str r3, [r7, #52] ; 0x34 + 8002af4: f7ff ffae bl 8002a54 + 8002af8: 4603 mov r3, r0 + 8002afa: 637b str r3, [r7, #52] ; 0x34 layer_cfg.ImageHeight = BSP_LCD_GetYSize(); - 8002bc8: f7ff ffbe bl 8002b48 - 8002bcc: 4603 mov r3, r0 - 8002bce: 63bb str r3, [r7, #56] ; 0x38 + 8002afc: f7ff ffbe bl 8002a7c + 8002b00: 4603 mov r3, r0 + 8002b02: 63bb str r3, [r7, #56] ; 0x38 HAL_LTDC_ConfigLayer(&hLtdcHandler, &layer_cfg, LayerIndex); - 8002bd0: 88fa ldrh r2, [r7, #6] - 8002bd2: f107 030c add.w r3, r7, #12 - 8002bd6: 4619 mov r1, r3 - 8002bd8: 4812 ldr r0, [pc, #72] ; (8002c24 ) - 8002bda: f005 fe33 bl 8008844 + 8002b04: 88fa ldrh r2, [r7, #6] + 8002b06: f107 030c add.w r3, r7, #12 + 8002b0a: 4619 mov r1, r3 + 8002b0c: 4812 ldr r0, [pc, #72] ; (8002b58 ) + 8002b0e: f005 fc67 bl 80083e0 DrawProp[LayerIndex].BackColor = LCD_COLOR_WHITE; - 8002bde: 88fa ldrh r2, [r7, #6] - 8002be0: 4911 ldr r1, [pc, #68] ; (8002c28 ) - 8002be2: 4613 mov r3, r2 - 8002be4: 005b lsls r3, r3, #1 - 8002be6: 4413 add r3, r2 - 8002be8: 009b lsls r3, r3, #2 - 8002bea: 440b add r3, r1 - 8002bec: 3304 adds r3, #4 - 8002bee: f04f 32ff mov.w r2, #4294967295 - 8002bf2: 601a str r2, [r3, #0] + 8002b12: 88fa ldrh r2, [r7, #6] + 8002b14: 4911 ldr r1, [pc, #68] ; (8002b5c ) + 8002b16: 4613 mov r3, r2 + 8002b18: 005b lsls r3, r3, #1 + 8002b1a: 4413 add r3, r2 + 8002b1c: 009b lsls r3, r3, #2 + 8002b1e: 440b add r3, r1 + 8002b20: 3304 adds r3, #4 + 8002b22: f04f 32ff mov.w r2, #4294967295 + 8002b26: 601a str r2, [r3, #0] DrawProp[LayerIndex].pFont = &Font24; - 8002bf4: 88fa ldrh r2, [r7, #6] - 8002bf6: 490c ldr r1, [pc, #48] ; (8002c28 ) - 8002bf8: 4613 mov r3, r2 - 8002bfa: 005b lsls r3, r3, #1 - 8002bfc: 4413 add r3, r2 - 8002bfe: 009b lsls r3, r3, #2 - 8002c00: 440b add r3, r1 - 8002c02: 3308 adds r3, #8 - 8002c04: 4a09 ldr r2, [pc, #36] ; (8002c2c ) - 8002c06: 601a str r2, [r3, #0] + 8002b28: 88fa ldrh r2, [r7, #6] + 8002b2a: 490c ldr r1, [pc, #48] ; (8002b5c ) + 8002b2c: 4613 mov r3, r2 + 8002b2e: 005b lsls r3, r3, #1 + 8002b30: 4413 add r3, r2 + 8002b32: 009b lsls r3, r3, #2 + 8002b34: 440b add r3, r1 + 8002b36: 3308 adds r3, #8 + 8002b38: 4a09 ldr r2, [pc, #36] ; (8002b60 ) + 8002b3a: 601a str r2, [r3, #0] DrawProp[LayerIndex].TextColor = LCD_COLOR_BLACK; - 8002c08: 88fa ldrh r2, [r7, #6] - 8002c0a: 4907 ldr r1, [pc, #28] ; (8002c28 ) - 8002c0c: 4613 mov r3, r2 - 8002c0e: 005b lsls r3, r3, #1 - 8002c10: 4413 add r3, r2 - 8002c12: 009b lsls r3, r3, #2 - 8002c14: 440b add r3, r1 - 8002c16: f04f 427f mov.w r2, #4278190080 ; 0xff000000 - 8002c1a: 601a str r2, [r3, #0] + 8002b3c: 88fa ldrh r2, [r7, #6] + 8002b3e: 4907 ldr r1, [pc, #28] ; (8002b5c ) + 8002b40: 4613 mov r3, r2 + 8002b42: 005b lsls r3, r3, #1 + 8002b44: 4413 add r3, r2 + 8002b46: 009b lsls r3, r3, #2 + 8002b48: 440b add r3, r1 + 8002b4a: f04f 427f mov.w r2, #4278190080 ; 0xff000000 + 8002b4e: 601a str r2, [r3, #0] } - 8002c1c: bf00 nop - 8002c1e: 3740 adds r7, #64 ; 0x40 - 8002c20: 46bd mov sp, r7 - 8002c22: bd80 pop {r7, pc} - 8002c24: 20008c38 .word 0x20008c38 - 8002c28: 20000420 .word 0x20000420 - 8002c2c: 20000050 .word 0x20000050 + 8002b50: bf00 nop + 8002b52: 3740 adds r7, #64 ; 0x40 + 8002b54: 46bd mov sp, r7 + 8002b56: bd80 pop {r7, pc} + 8002b58: 20008c34 .word 0x20008c34 + 8002b5c: 20000420 .word 0x20000420 + 8002b60: 20000050 .word 0x20000050 -08002c30 : +08002b64 : * @brief Selects the LCD Layer. * @param LayerIndex: Layer foreground or background * @retval None */ void BSP_LCD_SelectLayer(uint32_t LayerIndex) { - 8002c30: b480 push {r7} - 8002c32: b083 sub sp, #12 - 8002c34: af00 add r7, sp, #0 - 8002c36: 6078 str r0, [r7, #4] + 8002b64: b480 push {r7} + 8002b66: b083 sub sp, #12 + 8002b68: af00 add r7, sp, #0 + 8002b6a: 6078 str r0, [r7, #4] ActiveLayer = LayerIndex; - 8002c38: 4a04 ldr r2, [pc, #16] ; (8002c4c ) - 8002c3a: 687b ldr r3, [r7, #4] - 8002c3c: 6013 str r3, [r2, #0] + 8002b6c: 4a04 ldr r2, [pc, #16] ; (8002b80 ) + 8002b6e: 687b ldr r3, [r7, #4] + 8002b70: 6013 str r3, [r2, #0] } - 8002c3e: bf00 nop - 8002c40: 370c adds r7, #12 - 8002c42: 46bd mov sp, r7 - 8002c44: f85d 7b04 ldr.w r7, [sp], #4 - 8002c48: 4770 bx lr - 8002c4a: bf00 nop - 8002c4c: 2000041c .word 0x2000041c + 8002b72: bf00 nop + 8002b74: 370c adds r7, #12 + 8002b76: 46bd mov sp, r7 + 8002b78: f85d 7b04 ldr.w r7, [sp], #4 + 8002b7c: 4770 bx lr + 8002b7e: bf00 nop + 8002b80: 2000041c .word 0x2000041c -08002c50 : +08002b84 : * @brief Sets the LCD text color. * @param Color: Text color code ARGB(8-8-8-8) * @retval None */ void BSP_LCD_SetTextColor(uint32_t Color) { - 8002c50: b480 push {r7} - 8002c52: b083 sub sp, #12 - 8002c54: af00 add r7, sp, #0 - 8002c56: 6078 str r0, [r7, #4] + 8002b84: b480 push {r7} + 8002b86: b083 sub sp, #12 + 8002b88: af00 add r7, sp, #0 + 8002b8a: 6078 str r0, [r7, #4] DrawProp[ActiveLayer].TextColor = Color; - 8002c58: 4b07 ldr r3, [pc, #28] ; (8002c78 ) - 8002c5a: 681a ldr r2, [r3, #0] - 8002c5c: 4907 ldr r1, [pc, #28] ; (8002c7c ) - 8002c5e: 4613 mov r3, r2 - 8002c60: 005b lsls r3, r3, #1 - 8002c62: 4413 add r3, r2 - 8002c64: 009b lsls r3, r3, #2 - 8002c66: 440b add r3, r1 - 8002c68: 687a ldr r2, [r7, #4] - 8002c6a: 601a str r2, [r3, #0] + 8002b8c: 4b07 ldr r3, [pc, #28] ; (8002bac ) + 8002b8e: 681a ldr r2, [r3, #0] + 8002b90: 4907 ldr r1, [pc, #28] ; (8002bb0 ) + 8002b92: 4613 mov r3, r2 + 8002b94: 005b lsls r3, r3, #1 + 8002b96: 4413 add r3, r2 + 8002b98: 009b lsls r3, r3, #2 + 8002b9a: 440b add r3, r1 + 8002b9c: 687a ldr r2, [r7, #4] + 8002b9e: 601a str r2, [r3, #0] } - 8002c6c: bf00 nop - 8002c6e: 370c adds r7, #12 - 8002c70: 46bd mov sp, r7 - 8002c72: f85d 7b04 ldr.w r7, [sp], #4 - 8002c76: 4770 bx lr - 8002c78: 2000041c .word 0x2000041c - 8002c7c: 20000420 .word 0x20000420 + 8002ba0: bf00 nop + 8002ba2: 370c adds r7, #12 + 8002ba4: 46bd mov sp, r7 + 8002ba6: f85d 7b04 ldr.w r7, [sp], #4 + 8002baa: 4770 bx lr + 8002bac: 2000041c .word 0x2000041c + 8002bb0: 20000420 .word 0x20000420 -08002c80 : +08002bb4 : * @brief Sets the LCD background color. * @param Color: Layer background color code ARGB(8-8-8-8) * @retval None */ void BSP_LCD_SetBackColor(uint32_t Color) { - 8002c80: b480 push {r7} - 8002c82: b083 sub sp, #12 - 8002c84: af00 add r7, sp, #0 - 8002c86: 6078 str r0, [r7, #4] + 8002bb4: b480 push {r7} + 8002bb6: b083 sub sp, #12 + 8002bb8: af00 add r7, sp, #0 + 8002bba: 6078 str r0, [r7, #4] DrawProp[ActiveLayer].BackColor = Color; - 8002c88: 4b08 ldr r3, [pc, #32] ; (8002cac ) - 8002c8a: 681a ldr r2, [r3, #0] - 8002c8c: 4908 ldr r1, [pc, #32] ; (8002cb0 ) - 8002c8e: 4613 mov r3, r2 - 8002c90: 005b lsls r3, r3, #1 - 8002c92: 4413 add r3, r2 - 8002c94: 009b lsls r3, r3, #2 - 8002c96: 440b add r3, r1 - 8002c98: 3304 adds r3, #4 - 8002c9a: 687a ldr r2, [r7, #4] - 8002c9c: 601a str r2, [r3, #0] + 8002bbc: 4b08 ldr r3, [pc, #32] ; (8002be0 ) + 8002bbe: 681a ldr r2, [r3, #0] + 8002bc0: 4908 ldr r1, [pc, #32] ; (8002be4 ) + 8002bc2: 4613 mov r3, r2 + 8002bc4: 005b lsls r3, r3, #1 + 8002bc6: 4413 add r3, r2 + 8002bc8: 009b lsls r3, r3, #2 + 8002bca: 440b add r3, r1 + 8002bcc: 3304 adds r3, #4 + 8002bce: 687a ldr r2, [r7, #4] + 8002bd0: 601a str r2, [r3, #0] } - 8002c9e: bf00 nop - 8002ca0: 370c adds r7, #12 - 8002ca2: 46bd mov sp, r7 - 8002ca4: f85d 7b04 ldr.w r7, [sp], #4 - 8002ca8: 4770 bx lr - 8002caa: bf00 nop - 8002cac: 2000041c .word 0x2000041c - 8002cb0: 20000420 .word 0x20000420 + 8002bd2: bf00 nop + 8002bd4: 370c adds r7, #12 + 8002bd6: 46bd mov sp, r7 + 8002bd8: f85d 7b04 ldr.w r7, [sp], #4 + 8002bdc: 4770 bx lr + 8002bde: bf00 nop + 8002be0: 2000041c .word 0x2000041c + 8002be4: 20000420 .word 0x20000420 -08002cb4 : +08002be8 : * @brief Sets the LCD text font. * @param fonts: Layer font to be used * @retval None */ void BSP_LCD_SetFont(sFONT *fonts) { - 8002cb4: b480 push {r7} - 8002cb6: b083 sub sp, #12 - 8002cb8: af00 add r7, sp, #0 - 8002cba: 6078 str r0, [r7, #4] + 8002be8: b480 push {r7} + 8002bea: b083 sub sp, #12 + 8002bec: af00 add r7, sp, #0 + 8002bee: 6078 str r0, [r7, #4] DrawProp[ActiveLayer].pFont = fonts; - 8002cbc: 4b08 ldr r3, [pc, #32] ; (8002ce0 ) - 8002cbe: 681a ldr r2, [r3, #0] - 8002cc0: 4908 ldr r1, [pc, #32] ; (8002ce4 ) - 8002cc2: 4613 mov r3, r2 - 8002cc4: 005b lsls r3, r3, #1 - 8002cc6: 4413 add r3, r2 - 8002cc8: 009b lsls r3, r3, #2 - 8002cca: 440b add r3, r1 - 8002ccc: 3308 adds r3, #8 - 8002cce: 687a ldr r2, [r7, #4] - 8002cd0: 601a str r2, [r3, #0] + 8002bf0: 4b08 ldr r3, [pc, #32] ; (8002c14 ) + 8002bf2: 681a ldr r2, [r3, #0] + 8002bf4: 4908 ldr r1, [pc, #32] ; (8002c18 ) + 8002bf6: 4613 mov r3, r2 + 8002bf8: 005b lsls r3, r3, #1 + 8002bfa: 4413 add r3, r2 + 8002bfc: 009b lsls r3, r3, #2 + 8002bfe: 440b add r3, r1 + 8002c00: 3308 adds r3, #8 + 8002c02: 687a ldr r2, [r7, #4] + 8002c04: 601a str r2, [r3, #0] } - 8002cd2: bf00 nop - 8002cd4: 370c adds r7, #12 - 8002cd6: 46bd mov sp, r7 - 8002cd8: f85d 7b04 ldr.w r7, [sp], #4 - 8002cdc: 4770 bx lr - 8002cde: bf00 nop - 8002ce0: 2000041c .word 0x2000041c - 8002ce4: 20000420 .word 0x20000420 + 8002c06: bf00 nop + 8002c08: 370c adds r7, #12 + 8002c0a: 46bd mov sp, r7 + 8002c0c: f85d 7b04 ldr.w r7, [sp], #4 + 8002c10: 4770 bx lr + 8002c12: bf00 nop + 8002c14: 2000041c .word 0x2000041c + 8002c18: 20000420 .word 0x20000420 -08002ce8 : -/** - * @brief Gets the LCD text font. - * @retval Used layer font - */ -sFONT *BSP_LCD_GetFont(void) -{ - 8002ce8: b480 push {r7} - 8002cea: af00 add r7, sp, #0 - return DrawProp[ActiveLayer].pFont; - 8002cec: 4b07 ldr r3, [pc, #28] ; (8002d0c ) - 8002cee: 681a ldr r2, [r3, #0] - 8002cf0: 4907 ldr r1, [pc, #28] ; (8002d10 ) - 8002cf2: 4613 mov r3, r2 - 8002cf4: 005b lsls r3, r3, #1 - 8002cf6: 4413 add r3, r2 - 8002cf8: 009b lsls r3, r3, #2 - 8002cfa: 440b add r3, r1 - 8002cfc: 3308 adds r3, #8 - 8002cfe: 681b ldr r3, [r3, #0] -} - 8002d00: 4618 mov r0, r3 - 8002d02: 46bd mov sp, r7 - 8002d04: f85d 7b04 ldr.w r7, [sp], #4 - 8002d08: 4770 bx lr - 8002d0a: bf00 nop - 8002d0c: 2000041c .word 0x2000041c - 8002d10: 20000420 .word 0x20000420 - -08002d14 : +08002c1c : * @brief Clears the hole LCD. * @param Color: Color of the background * @retval None */ void BSP_LCD_Clear(uint32_t Color) { - 8002d14: b5f0 push {r4, r5, r6, r7, lr} - 8002d16: b085 sub sp, #20 - 8002d18: af02 add r7, sp, #8 - 8002d1a: 6078 str r0, [r7, #4] + 8002c1c: b5f0 push {r4, r5, r6, r7, lr} + 8002c1e: b085 sub sp, #20 + 8002c20: af02 add r7, sp, #8 + 8002c22: 6078 str r0, [r7, #4] /* Clear the LCD */ LL_FillBuffer(ActiveLayer, (uint32_t *)(hLtdcHandler.LayerCfg[ActiveLayer].FBStartAdress), BSP_LCD_GetXSize(), BSP_LCD_GetYSize(), 0, Color); - 8002d1c: 4b0f ldr r3, [pc, #60] ; (8002d5c ) - 8002d1e: 681c ldr r4, [r3, #0] - 8002d20: 4b0e ldr r3, [pc, #56] ; (8002d5c ) - 8002d22: 681b ldr r3, [r3, #0] - 8002d24: 4a0e ldr r2, [pc, #56] ; (8002d60 ) - 8002d26: 2134 movs r1, #52 ; 0x34 - 8002d28: fb01 f303 mul.w r3, r1, r3 - 8002d2c: 4413 add r3, r2 - 8002d2e: 335c adds r3, #92 ; 0x5c - 8002d30: 681b ldr r3, [r3, #0] - 8002d32: 461d mov r5, r3 - 8002d34: f7ff fef4 bl 8002b20 - 8002d38: 4606 mov r6, r0 - 8002d3a: f7ff ff05 bl 8002b48 - 8002d3e: 4602 mov r2, r0 - 8002d40: 687b ldr r3, [r7, #4] - 8002d42: 9301 str r3, [sp, #4] - 8002d44: 2300 movs r3, #0 - 8002d46: 9300 str r3, [sp, #0] - 8002d48: 4613 mov r3, r2 - 8002d4a: 4632 mov r2, r6 - 8002d4c: 4629 mov r1, r5 - 8002d4e: 4620 mov r0, r4 - 8002d50: f000 fe54 bl 80039fc + 8002c24: 4b0f ldr r3, [pc, #60] ; (8002c64 ) + 8002c26: 681c ldr r4, [r3, #0] + 8002c28: 4b0e ldr r3, [pc, #56] ; (8002c64 ) + 8002c2a: 681b ldr r3, [r3, #0] + 8002c2c: 4a0e ldr r2, [pc, #56] ; (8002c68 ) + 8002c2e: 2134 movs r1, #52 ; 0x34 + 8002c30: fb01 f303 mul.w r3, r1, r3 + 8002c34: 4413 add r3, r2 + 8002c36: 335c adds r3, #92 ; 0x5c + 8002c38: 681b ldr r3, [r3, #0] + 8002c3a: 461d mov r5, r3 + 8002c3c: f7ff ff0a bl 8002a54 + 8002c40: 4606 mov r6, r0 + 8002c42: f7ff ff1b bl 8002a7c + 8002c46: 4602 mov r2, r0 + 8002c48: 687b ldr r3, [r7, #4] + 8002c4a: 9301 str r3, [sp, #4] + 8002c4c: 2300 movs r3, #0 + 8002c4e: 9300 str r3, [sp, #0] + 8002c50: 4613 mov r3, r2 + 8002c52: 4632 mov r2, r6 + 8002c54: 4629 mov r1, r5 + 8002c56: 4620 mov r0, r4 + 8002c58: f000 fc7c bl 8003554 } - 8002d54: bf00 nop - 8002d56: 370c adds r7, #12 - 8002d58: 46bd mov sp, r7 - 8002d5a: bdf0 pop {r4, r5, r6, r7, pc} - 8002d5c: 2000041c .word 0x2000041c - 8002d60: 20008c38 .word 0x20008c38 + 8002c5c: bf00 nop + 8002c5e: 370c adds r7, #12 + 8002c60: 46bd mov sp, r7 + 8002c62: bdf0 pop {r4, r5, r6, r7, pc} + 8002c64: 2000041c .word 0x2000041c + 8002c68: 20008c34 .word 0x20008c34 -08002d64 : - * @param Ascii: Character ascii code - * This parameter must be a number between Min_Data = 0x20 and Max_Data = 0x7E - * @retval None - */ -void BSP_LCD_DisplayChar(uint16_t Xpos, uint16_t Ypos, uint8_t Ascii) -{ - 8002d64: b590 push {r4, r7, lr} - 8002d66: b083 sub sp, #12 - 8002d68: af00 add r7, sp, #0 - 8002d6a: 4603 mov r3, r0 - 8002d6c: 80fb strh r3, [r7, #6] - 8002d6e: 460b mov r3, r1 - 8002d70: 80bb strh r3, [r7, #4] - 8002d72: 4613 mov r3, r2 - 8002d74: 70fb strb r3, [r7, #3] - DrawChar(Xpos, Ypos, &DrawProp[ActiveLayer].pFont->table[(Ascii-' ') *\ - 8002d76: 4b1b ldr r3, [pc, #108] ; (8002de4 ) - 8002d78: 681a ldr r2, [r3, #0] - 8002d7a: 491b ldr r1, [pc, #108] ; (8002de8 ) - 8002d7c: 4613 mov r3, r2 - 8002d7e: 005b lsls r3, r3, #1 - 8002d80: 4413 add r3, r2 - 8002d82: 009b lsls r3, r3, #2 - 8002d84: 440b add r3, r1 - 8002d86: 3308 adds r3, #8 - 8002d88: 681b ldr r3, [r3, #0] - 8002d8a: 6819 ldr r1, [r3, #0] - 8002d8c: 78fb ldrb r3, [r7, #3] - 8002d8e: f1a3 0020 sub.w r0, r3, #32 - DrawProp[ActiveLayer].pFont->Height * ((DrawProp[ActiveLayer].pFont->Width + 7) / 8)]); - 8002d92: 4b14 ldr r3, [pc, #80] ; (8002de4 ) - 8002d94: 681a ldr r2, [r3, #0] - 8002d96: 4c14 ldr r4, [pc, #80] ; (8002de8 ) - 8002d98: 4613 mov r3, r2 - 8002d9a: 005b lsls r3, r3, #1 - 8002d9c: 4413 add r3, r2 - 8002d9e: 009b lsls r3, r3, #2 - 8002da0: 4423 add r3, r4 - 8002da2: 3308 adds r3, #8 - 8002da4: 681b ldr r3, [r3, #0] - 8002da6: 88db ldrh r3, [r3, #6] - DrawChar(Xpos, Ypos, &DrawProp[ActiveLayer].pFont->table[(Ascii-' ') *\ - 8002da8: fb03 f000 mul.w r0, r3, r0 - DrawProp[ActiveLayer].pFont->Height * ((DrawProp[ActiveLayer].pFont->Width + 7) / 8)]); - 8002dac: 4b0d ldr r3, [pc, #52] ; (8002de4 ) - 8002dae: 681a ldr r2, [r3, #0] - 8002db0: 4c0d ldr r4, [pc, #52] ; (8002de8 ) - 8002db2: 4613 mov r3, r2 - 8002db4: 005b lsls r3, r3, #1 - 8002db6: 4413 add r3, r2 - 8002db8: 009b lsls r3, r3, #2 - 8002dba: 4423 add r3, r4 - 8002dbc: 3308 adds r3, #8 - 8002dbe: 681b ldr r3, [r3, #0] - 8002dc0: 889b ldrh r3, [r3, #4] - 8002dc2: 3307 adds r3, #7 - 8002dc4: 2b00 cmp r3, #0 - 8002dc6: da00 bge.n 8002dca - 8002dc8: 3307 adds r3, #7 - 8002dca: 10db asrs r3, r3, #3 - 8002dcc: fb03 f300 mul.w r3, r3, r0 - DrawChar(Xpos, Ypos, &DrawProp[ActiveLayer].pFont->table[(Ascii-' ') *\ - 8002dd0: 18ca adds r2, r1, r3 - 8002dd2: 88b9 ldrh r1, [r7, #4] - 8002dd4: 88fb ldrh r3, [r7, #6] - 8002dd6: 4618 mov r0, r3 - 8002dd8: f000 fd58 bl 800388c -} - 8002ddc: bf00 nop - 8002dde: 370c adds r7, #12 - 8002de0: 46bd mov sp, r7 - 8002de2: bd90 pop {r4, r7, pc} - 8002de4: 2000041c .word 0x2000041c - 8002de8: 20000420 .word 0x20000420 - -08002dec : - * @arg RIGHT_MODE - * @arg LEFT_MODE - * @retval None - */ -void BSP_LCD_DisplayStringAt(uint16_t Xpos, uint16_t Ypos, uint8_t *Text, Text_AlignModeTypdef Mode) -{ - 8002dec: b5b0 push {r4, r5, r7, lr} - 8002dee: b088 sub sp, #32 - 8002df0: af00 add r7, sp, #0 - 8002df2: 60ba str r2, [r7, #8] - 8002df4: 461a mov r2, r3 - 8002df6: 4603 mov r3, r0 - 8002df8: 81fb strh r3, [r7, #14] - 8002dfa: 460b mov r3, r1 - 8002dfc: 81bb strh r3, [r7, #12] - 8002dfe: 4613 mov r3, r2 - 8002e00: 71fb strb r3, [r7, #7] - uint16_t ref_column = 1, i = 0; - 8002e02: 2301 movs r3, #1 - 8002e04: 83fb strh r3, [r7, #30] - 8002e06: 2300 movs r3, #0 - 8002e08: 83bb strh r3, [r7, #28] - uint32_t size = 0, xsize = 0; - 8002e0a: 2300 movs r3, #0 - 8002e0c: 61bb str r3, [r7, #24] - 8002e0e: 2300 movs r3, #0 - 8002e10: 613b str r3, [r7, #16] - uint8_t *ptr = Text; - 8002e12: 68bb ldr r3, [r7, #8] - 8002e14: 617b str r3, [r7, #20] - - /* Get the text size */ - while (*ptr++) size ++ ; - 8002e16: e002 b.n 8002e1e - 8002e18: 69bb ldr r3, [r7, #24] - 8002e1a: 3301 adds r3, #1 - 8002e1c: 61bb str r3, [r7, #24] - 8002e1e: 697b ldr r3, [r7, #20] - 8002e20: 1c5a adds r2, r3, #1 - 8002e22: 617a str r2, [r7, #20] - 8002e24: 781b ldrb r3, [r3, #0] - 8002e26: 2b00 cmp r3, #0 - 8002e28: d1f6 bne.n 8002e18 - - /* Characters number per line */ - xsize = (BSP_LCD_GetXSize()/DrawProp[ActiveLayer].pFont->Width); - 8002e2a: f7ff fe79 bl 8002b20 - 8002e2e: 4b4f ldr r3, [pc, #316] ; (8002f6c ) - 8002e30: 681a ldr r2, [r3, #0] - 8002e32: 494f ldr r1, [pc, #316] ; (8002f70 ) - 8002e34: 4613 mov r3, r2 - 8002e36: 005b lsls r3, r3, #1 - 8002e38: 4413 add r3, r2 - 8002e3a: 009b lsls r3, r3, #2 - 8002e3c: 440b add r3, r1 - 8002e3e: 3308 adds r3, #8 - 8002e40: 681b ldr r3, [r3, #0] - 8002e42: 889b ldrh r3, [r3, #4] - 8002e44: fbb0 f3f3 udiv r3, r0, r3 - 8002e48: 613b str r3, [r7, #16] - - switch (Mode) - 8002e4a: 79fb ldrb r3, [r7, #7] - 8002e4c: 2b02 cmp r3, #2 - 8002e4e: d01c beq.n 8002e8a - 8002e50: 2b03 cmp r3, #3 - 8002e52: d017 beq.n 8002e84 - 8002e54: 2b01 cmp r3, #1 - 8002e56: d12e bne.n 8002eb6 - { - case CENTER_MODE: - { - ref_column = Xpos + ((xsize - size)* DrawProp[ActiveLayer].pFont->Width) / 2; - 8002e58: 693a ldr r2, [r7, #16] - 8002e5a: 69bb ldr r3, [r7, #24] - 8002e5c: 1ad1 subs r1, r2, r3 - 8002e5e: 4b43 ldr r3, [pc, #268] ; (8002f6c ) - 8002e60: 681a ldr r2, [r3, #0] - 8002e62: 4843 ldr r0, [pc, #268] ; (8002f70 ) - 8002e64: 4613 mov r3, r2 - 8002e66: 005b lsls r3, r3, #1 - 8002e68: 4413 add r3, r2 - 8002e6a: 009b lsls r3, r3, #2 - 8002e6c: 4403 add r3, r0 - 8002e6e: 3308 adds r3, #8 - 8002e70: 681b ldr r3, [r3, #0] - 8002e72: 889b ldrh r3, [r3, #4] - 8002e74: fb03 f301 mul.w r3, r3, r1 - 8002e78: 085b lsrs r3, r3, #1 - 8002e7a: b29a uxth r2, r3 - 8002e7c: 89fb ldrh r3, [r7, #14] - 8002e7e: 4413 add r3, r2 - 8002e80: 83fb strh r3, [r7, #30] - break; - 8002e82: e01b b.n 8002ebc - } - case LEFT_MODE: - { - ref_column = Xpos; - 8002e84: 89fb ldrh r3, [r7, #14] - 8002e86: 83fb strh r3, [r7, #30] - break; - 8002e88: e018 b.n 8002ebc - } - case RIGHT_MODE: - { - ref_column = - Xpos + ((xsize - size)*DrawProp[ActiveLayer].pFont->Width); - 8002e8a: 693a ldr r2, [r7, #16] - 8002e8c: 69bb ldr r3, [r7, #24] - 8002e8e: 1ad3 subs r3, r2, r3 - 8002e90: b299 uxth r1, r3 - 8002e92: 4b36 ldr r3, [pc, #216] ; (8002f6c ) - 8002e94: 681a ldr r2, [r3, #0] - 8002e96: 4836 ldr r0, [pc, #216] ; (8002f70 ) - 8002e98: 4613 mov r3, r2 - 8002e9a: 005b lsls r3, r3, #1 - 8002e9c: 4413 add r3, r2 - 8002e9e: 009b lsls r3, r3, #2 - 8002ea0: 4403 add r3, r0 - 8002ea2: 3308 adds r3, #8 - 8002ea4: 681b ldr r3, [r3, #0] - 8002ea6: 889b ldrh r3, [r3, #4] - 8002ea8: fb11 f303 smulbb r3, r1, r3 - 8002eac: b29a uxth r2, r3 - 8002eae: 89fb ldrh r3, [r7, #14] - 8002eb0: 1ad3 subs r3, r2, r3 - 8002eb2: 83fb strh r3, [r7, #30] - break; - 8002eb4: e002 b.n 8002ebc - } - default: - { - ref_column = Xpos; - 8002eb6: 89fb ldrh r3, [r7, #14] - 8002eb8: 83fb strh r3, [r7, #30] - break; - 8002eba: bf00 nop - } - } - - /* Check that the Start column is located in the screen */ - if ((ref_column < 1) || (ref_column >= 0x8000)) - 8002ebc: 8bfb ldrh r3, [r7, #30] - 8002ebe: 2b00 cmp r3, #0 - 8002ec0: d003 beq.n 8002eca - 8002ec2: f9b7 301e ldrsh.w r3, [r7, #30] - 8002ec6: 2b00 cmp r3, #0 - 8002ec8: da1d bge.n 8002f06 - { - ref_column = 1; - 8002eca: 2301 movs r3, #1 - 8002ecc: 83fb strh r3, [r7, #30] - } - - /* Send the string character by character on LCD */ - while ((*Text != 0) & (((BSP_LCD_GetXSize() - (i*DrawProp[ActiveLayer].pFont->Width)) & 0xFFFF) >= DrawProp[ActiveLayer].pFont->Width)) - 8002ece: e01a b.n 8002f06 - { - /* Display one character on LCD */ - BSP_LCD_DisplayChar(ref_column, Ypos, *Text); - 8002ed0: 68bb ldr r3, [r7, #8] - 8002ed2: 781a ldrb r2, [r3, #0] - 8002ed4: 89b9 ldrh r1, [r7, #12] - 8002ed6: 8bfb ldrh r3, [r7, #30] - 8002ed8: 4618 mov r0, r3 - 8002eda: f7ff ff43 bl 8002d64 - /* Decrement the column position by 16 */ - ref_column += DrawProp[ActiveLayer].pFont->Width; - 8002ede: 4b23 ldr r3, [pc, #140] ; (8002f6c ) - 8002ee0: 681a ldr r2, [r3, #0] - 8002ee2: 4923 ldr r1, [pc, #140] ; (8002f70 ) - 8002ee4: 4613 mov r3, r2 - 8002ee6: 005b lsls r3, r3, #1 - 8002ee8: 4413 add r3, r2 - 8002eea: 009b lsls r3, r3, #2 - 8002eec: 440b add r3, r1 - 8002eee: 3308 adds r3, #8 - 8002ef0: 681b ldr r3, [r3, #0] - 8002ef2: 889a ldrh r2, [r3, #4] - 8002ef4: 8bfb ldrh r3, [r7, #30] - 8002ef6: 4413 add r3, r2 - 8002ef8: 83fb strh r3, [r7, #30] - /* Point on the next character */ - Text++; - 8002efa: 68bb ldr r3, [r7, #8] - 8002efc: 3301 adds r3, #1 - 8002efe: 60bb str r3, [r7, #8] - i++; - 8002f00: 8bbb ldrh r3, [r7, #28] - 8002f02: 3301 adds r3, #1 - 8002f04: 83bb strh r3, [r7, #28] - while ((*Text != 0) & (((BSP_LCD_GetXSize() - (i*DrawProp[ActiveLayer].pFont->Width)) & 0xFFFF) >= DrawProp[ActiveLayer].pFont->Width)) - 8002f06: 68bb ldr r3, [r7, #8] - 8002f08: 781b ldrb r3, [r3, #0] - 8002f0a: 2b00 cmp r3, #0 - 8002f0c: bf14 ite ne - 8002f0e: 2301 movne r3, #1 - 8002f10: 2300 moveq r3, #0 - 8002f12: b2dc uxtb r4, r3 - 8002f14: f7ff fe04 bl 8002b20 - 8002f18: 4605 mov r5, r0 - 8002f1a: 8bb9 ldrh r1, [r7, #28] - 8002f1c: 4b13 ldr r3, [pc, #76] ; (8002f6c ) - 8002f1e: 681a ldr r2, [r3, #0] - 8002f20: 4813 ldr r0, [pc, #76] ; (8002f70 ) - 8002f22: 4613 mov r3, r2 - 8002f24: 005b lsls r3, r3, #1 - 8002f26: 4413 add r3, r2 - 8002f28: 009b lsls r3, r3, #2 - 8002f2a: 4403 add r3, r0 - 8002f2c: 3308 adds r3, #8 - 8002f2e: 681b ldr r3, [r3, #0] - 8002f30: 889b ldrh r3, [r3, #4] - 8002f32: fb03 f301 mul.w r3, r3, r1 - 8002f36: 1aeb subs r3, r5, r3 - 8002f38: b299 uxth r1, r3 - 8002f3a: 4b0c ldr r3, [pc, #48] ; (8002f6c ) - 8002f3c: 681a ldr r2, [r3, #0] - 8002f3e: 480c ldr r0, [pc, #48] ; (8002f70 ) - 8002f40: 4613 mov r3, r2 - 8002f42: 005b lsls r3, r3, #1 - 8002f44: 4413 add r3, r2 - 8002f46: 009b lsls r3, r3, #2 - 8002f48: 4403 add r3, r0 - 8002f4a: 3308 adds r3, #8 - 8002f4c: 681b ldr r3, [r3, #0] - 8002f4e: 889b ldrh r3, [r3, #4] - 8002f50: 4299 cmp r1, r3 - 8002f52: bf2c ite cs - 8002f54: 2301 movcs r3, #1 - 8002f56: 2300 movcc r3, #0 - 8002f58: b2db uxtb r3, r3 - 8002f5a: 4023 ands r3, r4 - 8002f5c: b2db uxtb r3, r3 - 8002f5e: 2b00 cmp r3, #0 - 8002f60: d1b6 bne.n 8002ed0 - } -} - 8002f62: bf00 nop - 8002f64: 3720 adds r7, #32 - 8002f66: 46bd mov sp, r7 - 8002f68: bdb0 pop {r4, r5, r7, pc} - 8002f6a: bf00 nop - 8002f6c: 2000041c .word 0x2000041c - 8002f70: 20000420 .word 0x20000420 - -08002f74 : - * @param Line: Line where to display the character shape - * @param ptr: Pointer to string to display on LCD - * @retval None - */ -void BSP_LCD_DisplayStringAtLine(uint16_t Line, uint8_t *ptr) -{ - 8002f74: b580 push {r7, lr} - 8002f76: b082 sub sp, #8 - 8002f78: af00 add r7, sp, #0 - 8002f7a: 4603 mov r3, r0 - 8002f7c: 6039 str r1, [r7, #0] - 8002f7e: 80fb strh r3, [r7, #6] - BSP_LCD_DisplayStringAt(0, LINE(Line), ptr, LEFT_MODE); - 8002f80: f7ff feb2 bl 8002ce8 - 8002f84: 4603 mov r3, r0 - 8002f86: 88db ldrh r3, [r3, #6] - 8002f88: 88fa ldrh r2, [r7, #6] - 8002f8a: fb12 f303 smulbb r3, r2, r3 - 8002f8e: b299 uxth r1, r3 - 8002f90: 2303 movs r3, #3 - 8002f92: 683a ldr r2, [r7, #0] - 8002f94: 2000 movs r0, #0 - 8002f96: f7ff ff29 bl 8002dec -} - 8002f9a: bf00 nop - 8002f9c: 3708 adds r7, #8 - 8002f9e: 46bd mov sp, r7 - 8002fa0: bd80 pop {r7, pc} - ... - -08002fa4 : +08002c6c : * @param Ypos: Y position * @param Length: Line length * @retval None */ void BSP_LCD_DrawHLine(uint16_t Xpos, uint16_t Ypos, uint16_t Length) { - 8002fa4: b5b0 push {r4, r5, r7, lr} - 8002fa6: b086 sub sp, #24 - 8002fa8: af02 add r7, sp, #8 - 8002faa: 4603 mov r3, r0 - 8002fac: 80fb strh r3, [r7, #6] - 8002fae: 460b mov r3, r1 - 8002fb0: 80bb strh r3, [r7, #4] - 8002fb2: 4613 mov r3, r2 - 8002fb4: 807b strh r3, [r7, #2] + 8002c6c: b5b0 push {r4, r5, r7, lr} + 8002c6e: b086 sub sp, #24 + 8002c70: af02 add r7, sp, #8 + 8002c72: 4603 mov r3, r0 + 8002c74: 80fb strh r3, [r7, #6] + 8002c76: 460b mov r3, r1 + 8002c78: 80bb strh r3, [r7, #4] + 8002c7a: 4613 mov r3, r2 + 8002c7c: 807b strh r3, [r7, #2] uint32_t Xaddress = 0; - 8002fb6: 2300 movs r3, #0 - 8002fb8: 60fb str r3, [r7, #12] + 8002c7e: 2300 movs r3, #0 + 8002c80: 60fb str r3, [r7, #12] /* Get the line address */ if(hLtdcHandler.LayerCfg[ActiveLayer].PixelFormat == LTDC_PIXEL_FORMAT_RGB565) - 8002fba: 4b26 ldr r3, [pc, #152] ; (8003054 ) - 8002fbc: 681b ldr r3, [r3, #0] - 8002fbe: 4a26 ldr r2, [pc, #152] ; (8003058 ) - 8002fc0: 2134 movs r1, #52 ; 0x34 - 8002fc2: fb01 f303 mul.w r3, r1, r3 - 8002fc6: 4413 add r3, r2 - 8002fc8: 3348 adds r3, #72 ; 0x48 - 8002fca: 681b ldr r3, [r3, #0] - 8002fcc: 2b02 cmp r3, #2 - 8002fce: d114 bne.n 8002ffa + 8002c82: 4b26 ldr r3, [pc, #152] ; (8002d1c ) + 8002c84: 681b ldr r3, [r3, #0] + 8002c86: 4a26 ldr r2, [pc, #152] ; (8002d20 ) + 8002c88: 2134 movs r1, #52 ; 0x34 + 8002c8a: fb01 f303 mul.w r3, r1, r3 + 8002c8e: 4413 add r3, r2 + 8002c90: 3348 adds r3, #72 ; 0x48 + 8002c92: 681b ldr r3, [r3, #0] + 8002c94: 2b02 cmp r3, #2 + 8002c96: d114 bne.n 8002cc2 { /* RGB565 format */ Xaddress = (hLtdcHandler.LayerCfg[ActiveLayer].FBStartAdress) + 2*(BSP_LCD_GetXSize()*Ypos + Xpos); - 8002fd0: 4b20 ldr r3, [pc, #128] ; (8003054 ) - 8002fd2: 681b ldr r3, [r3, #0] - 8002fd4: 4a20 ldr r2, [pc, #128] ; (8003058 ) - 8002fd6: 2134 movs r1, #52 ; 0x34 - 8002fd8: fb01 f303 mul.w r3, r1, r3 - 8002fdc: 4413 add r3, r2 - 8002fde: 335c adds r3, #92 ; 0x5c - 8002fe0: 681c ldr r4, [r3, #0] - 8002fe2: f7ff fd9d bl 8002b20 - 8002fe6: 4602 mov r2, r0 - 8002fe8: 88bb ldrh r3, [r7, #4] - 8002fea: fb03 f202 mul.w r2, r3, r2 - 8002fee: 88fb ldrh r3, [r7, #6] - 8002ff0: 4413 add r3, r2 - 8002ff2: 005b lsls r3, r3, #1 - 8002ff4: 4423 add r3, r4 - 8002ff6: 60fb str r3, [r7, #12] - 8002ff8: e013 b.n 8003022 + 8002c98: 4b20 ldr r3, [pc, #128] ; (8002d1c ) + 8002c9a: 681b ldr r3, [r3, #0] + 8002c9c: 4a20 ldr r2, [pc, #128] ; (8002d20 ) + 8002c9e: 2134 movs r1, #52 ; 0x34 + 8002ca0: fb01 f303 mul.w r3, r1, r3 + 8002ca4: 4413 add r3, r2 + 8002ca6: 335c adds r3, #92 ; 0x5c + 8002ca8: 681c ldr r4, [r3, #0] + 8002caa: f7ff fed3 bl 8002a54 + 8002cae: 4602 mov r2, r0 + 8002cb0: 88bb ldrh r3, [r7, #4] + 8002cb2: fb03 f202 mul.w r2, r3, r2 + 8002cb6: 88fb ldrh r3, [r7, #6] + 8002cb8: 4413 add r3, r2 + 8002cba: 005b lsls r3, r3, #1 + 8002cbc: 4423 add r3, r4 + 8002cbe: 60fb str r3, [r7, #12] + 8002cc0: e013 b.n 8002cea } else { /* ARGB8888 format */ Xaddress = (hLtdcHandler.LayerCfg[ActiveLayer].FBStartAdress) + 4*(BSP_LCD_GetXSize()*Ypos + Xpos); - 8002ffa: 4b16 ldr r3, [pc, #88] ; (8003054 ) - 8002ffc: 681b ldr r3, [r3, #0] - 8002ffe: 4a16 ldr r2, [pc, #88] ; (8003058 ) - 8003000: 2134 movs r1, #52 ; 0x34 - 8003002: fb01 f303 mul.w r3, r1, r3 - 8003006: 4413 add r3, r2 - 8003008: 335c adds r3, #92 ; 0x5c - 800300a: 681c ldr r4, [r3, #0] - 800300c: f7ff fd88 bl 8002b20 - 8003010: 4602 mov r2, r0 - 8003012: 88bb ldrh r3, [r7, #4] - 8003014: fb03 f202 mul.w r2, r3, r2 - 8003018: 88fb ldrh r3, [r7, #6] - 800301a: 4413 add r3, r2 - 800301c: 009b lsls r3, r3, #2 - 800301e: 4423 add r3, r4 - 8003020: 60fb str r3, [r7, #12] + 8002cc2: 4b16 ldr r3, [pc, #88] ; (8002d1c ) + 8002cc4: 681b ldr r3, [r3, #0] + 8002cc6: 4a16 ldr r2, [pc, #88] ; (8002d20 ) + 8002cc8: 2134 movs r1, #52 ; 0x34 + 8002cca: fb01 f303 mul.w r3, r1, r3 + 8002cce: 4413 add r3, r2 + 8002cd0: 335c adds r3, #92 ; 0x5c + 8002cd2: 681c ldr r4, [r3, #0] + 8002cd4: f7ff febe bl 8002a54 + 8002cd8: 4602 mov r2, r0 + 8002cda: 88bb ldrh r3, [r7, #4] + 8002cdc: fb03 f202 mul.w r2, r3, r2 + 8002ce0: 88fb ldrh r3, [r7, #6] + 8002ce2: 4413 add r3, r2 + 8002ce4: 009b lsls r3, r3, #2 + 8002ce6: 4423 add r3, r4 + 8002ce8: 60fb str r3, [r7, #12] } /* Write line */ LL_FillBuffer(ActiveLayer, (uint32_t *)Xaddress, Length, 1, 0, DrawProp[ActiveLayer].TextColor); - 8003022: 4b0c ldr r3, [pc, #48] ; (8003054 ) - 8003024: 6818 ldr r0, [r3, #0] - 8003026: 68fc ldr r4, [r7, #12] - 8003028: 887d ldrh r5, [r7, #2] - 800302a: 4b0a ldr r3, [pc, #40] ; (8003054 ) - 800302c: 681a ldr r2, [r3, #0] - 800302e: 490b ldr r1, [pc, #44] ; (800305c ) - 8003030: 4613 mov r3, r2 - 8003032: 005b lsls r3, r3, #1 - 8003034: 4413 add r3, r2 - 8003036: 009b lsls r3, r3, #2 - 8003038: 440b add r3, r1 - 800303a: 681b ldr r3, [r3, #0] - 800303c: 9301 str r3, [sp, #4] - 800303e: 2300 movs r3, #0 - 8003040: 9300 str r3, [sp, #0] - 8003042: 2301 movs r3, #1 - 8003044: 462a mov r2, r5 - 8003046: 4621 mov r1, r4 - 8003048: f000 fcd8 bl 80039fc + 8002cea: 4b0c ldr r3, [pc, #48] ; (8002d1c ) + 8002cec: 6818 ldr r0, [r3, #0] + 8002cee: 68fc ldr r4, [r7, #12] + 8002cf0: 887d ldrh r5, [r7, #2] + 8002cf2: 4b0a ldr r3, [pc, #40] ; (8002d1c ) + 8002cf4: 681a ldr r2, [r3, #0] + 8002cf6: 490b ldr r1, [pc, #44] ; (8002d24 ) + 8002cf8: 4613 mov r3, r2 + 8002cfa: 005b lsls r3, r3, #1 + 8002cfc: 4413 add r3, r2 + 8002cfe: 009b lsls r3, r3, #2 + 8002d00: 440b add r3, r1 + 8002d02: 681b ldr r3, [r3, #0] + 8002d04: 9301 str r3, [sp, #4] + 8002d06: 2300 movs r3, #0 + 8002d08: 9300 str r3, [sp, #0] + 8002d0a: 2301 movs r3, #1 + 8002d0c: 462a mov r2, r5 + 8002d0e: 4621 mov r1, r4 + 8002d10: f000 fc20 bl 8003554 } - 800304c: bf00 nop - 800304e: 3710 adds r7, #16 - 8003050: 46bd mov sp, r7 - 8003052: bdb0 pop {r4, r5, r7, pc} - 8003054: 2000041c .word 0x2000041c - 8003058: 20008c38 .word 0x20008c38 - 800305c: 20000420 .word 0x20000420 + 8002d14: bf00 nop + 8002d16: 3710 adds r7, #16 + 8002d18: 46bd mov sp, r7 + 8002d1a: bdb0 pop {r4, r5, r7, pc} + 8002d1c: 2000041c .word 0x2000041c + 8002d20: 20008c34 .word 0x20008c34 + 8002d24: 20000420 .word 0x20000420 -08003060 : +08002d28 : * @param Ypos: Y position * @param Radius: Circle radius * @retval None */ void BSP_LCD_DrawCircle(uint16_t Xpos, uint16_t Ypos, uint16_t Radius) { - 8003060: b590 push {r4, r7, lr} - 8003062: b087 sub sp, #28 - 8003064: af00 add r7, sp, #0 - 8003066: 4603 mov r3, r0 - 8003068: 80fb strh r3, [r7, #6] - 800306a: 460b mov r3, r1 - 800306c: 80bb strh r3, [r7, #4] - 800306e: 4613 mov r3, r2 - 8003070: 807b strh r3, [r7, #2] + 8002d28: b590 push {r4, r7, lr} + 8002d2a: b087 sub sp, #28 + 8002d2c: af00 add r7, sp, #0 + 8002d2e: 4603 mov r3, r0 + 8002d30: 80fb strh r3, [r7, #6] + 8002d32: 460b mov r3, r1 + 8002d34: 80bb strh r3, [r7, #4] + 8002d36: 4613 mov r3, r2 + 8002d38: 807b strh r3, [r7, #2] int32_t decision; /* Decision Variable */ uint32_t current_x; /* Current X Value */ uint32_t current_y; /* Current Y Value */ decision = 3 - (Radius << 1); - 8003072: 887b ldrh r3, [r7, #2] - 8003074: 005b lsls r3, r3, #1 - 8003076: f1c3 0303 rsb r3, r3, #3 - 800307a: 617b str r3, [r7, #20] + 8002d3a: 887b ldrh r3, [r7, #2] + 8002d3c: 005b lsls r3, r3, #1 + 8002d3e: f1c3 0303 rsb r3, r3, #3 + 8002d42: 617b str r3, [r7, #20] current_x = 0; - 800307c: 2300 movs r3, #0 - 800307e: 613b str r3, [r7, #16] + 8002d44: 2300 movs r3, #0 + 8002d46: 613b str r3, [r7, #16] current_y = Radius; - 8003080: 887b ldrh r3, [r7, #2] - 8003082: 60fb str r3, [r7, #12] + 8002d48: 887b ldrh r3, [r7, #2] + 8002d4a: 60fb str r3, [r7, #12] while (current_x <= current_y) - 8003084: e0cf b.n 8003226 + 8002d4c: e0cf b.n 8002eee { BSP_LCD_DrawPixel((Xpos + current_x), (Ypos - current_y), DrawProp[ActiveLayer].TextColor); - 8003086: 693b ldr r3, [r7, #16] - 8003088: b29a uxth r2, r3 - 800308a: 88fb ldrh r3, [r7, #6] - 800308c: 4413 add r3, r2 - 800308e: b298 uxth r0, r3 - 8003090: 68fb ldr r3, [r7, #12] - 8003092: b29b uxth r3, r3 - 8003094: 88ba ldrh r2, [r7, #4] - 8003096: 1ad3 subs r3, r2, r3 - 8003098: b29c uxth r4, r3 - 800309a: 4b67 ldr r3, [pc, #412] ; (8003238 ) - 800309c: 681a ldr r2, [r3, #0] - 800309e: 4967 ldr r1, [pc, #412] ; (800323c ) - 80030a0: 4613 mov r3, r2 - 80030a2: 005b lsls r3, r3, #1 - 80030a4: 4413 add r3, r2 - 80030a6: 009b lsls r3, r3, #2 - 80030a8: 440b add r3, r1 - 80030aa: 681b ldr r3, [r3, #0] - 80030ac: 461a mov r2, r3 - 80030ae: 4621 mov r1, r4 - 80030b0: f000 f8c6 bl 8003240 + 8002d4e: 693b ldr r3, [r7, #16] + 8002d50: b29a uxth r2, r3 + 8002d52: 88fb ldrh r3, [r7, #6] + 8002d54: 4413 add r3, r2 + 8002d56: b298 uxth r0, r3 + 8002d58: 68fb ldr r3, [r7, #12] + 8002d5a: b29b uxth r3, r3 + 8002d5c: 88ba ldrh r2, [r7, #4] + 8002d5e: 1ad3 subs r3, r2, r3 + 8002d60: b29c uxth r4, r3 + 8002d62: 4b67 ldr r3, [pc, #412] ; (8002f00 ) + 8002d64: 681a ldr r2, [r3, #0] + 8002d66: 4967 ldr r1, [pc, #412] ; (8002f04 ) + 8002d68: 4613 mov r3, r2 + 8002d6a: 005b lsls r3, r3, #1 + 8002d6c: 4413 add r3, r2 + 8002d6e: 009b lsls r3, r3, #2 + 8002d70: 440b add r3, r1 + 8002d72: 681b ldr r3, [r3, #0] + 8002d74: 461a mov r2, r3 + 8002d76: 4621 mov r1, r4 + 8002d78: f000 f8c6 bl 8002f08 BSP_LCD_DrawPixel((Xpos - current_x), (Ypos - current_y), DrawProp[ActiveLayer].TextColor); - 80030b4: 693b ldr r3, [r7, #16] - 80030b6: b29b uxth r3, r3 - 80030b8: 88fa ldrh r2, [r7, #6] - 80030ba: 1ad3 subs r3, r2, r3 - 80030bc: b298 uxth r0, r3 - 80030be: 68fb ldr r3, [r7, #12] - 80030c0: b29b uxth r3, r3 - 80030c2: 88ba ldrh r2, [r7, #4] - 80030c4: 1ad3 subs r3, r2, r3 - 80030c6: b29c uxth r4, r3 - 80030c8: 4b5b ldr r3, [pc, #364] ; (8003238 ) - 80030ca: 681a ldr r2, [r3, #0] - 80030cc: 495b ldr r1, [pc, #364] ; (800323c ) - 80030ce: 4613 mov r3, r2 - 80030d0: 005b lsls r3, r3, #1 - 80030d2: 4413 add r3, r2 - 80030d4: 009b lsls r3, r3, #2 - 80030d6: 440b add r3, r1 - 80030d8: 681b ldr r3, [r3, #0] - 80030da: 461a mov r2, r3 - 80030dc: 4621 mov r1, r4 - 80030de: f000 f8af bl 8003240 + 8002d7c: 693b ldr r3, [r7, #16] + 8002d7e: b29b uxth r3, r3 + 8002d80: 88fa ldrh r2, [r7, #6] + 8002d82: 1ad3 subs r3, r2, r3 + 8002d84: b298 uxth r0, r3 + 8002d86: 68fb ldr r3, [r7, #12] + 8002d88: b29b uxth r3, r3 + 8002d8a: 88ba ldrh r2, [r7, #4] + 8002d8c: 1ad3 subs r3, r2, r3 + 8002d8e: b29c uxth r4, r3 + 8002d90: 4b5b ldr r3, [pc, #364] ; (8002f00 ) + 8002d92: 681a ldr r2, [r3, #0] + 8002d94: 495b ldr r1, [pc, #364] ; (8002f04 ) + 8002d96: 4613 mov r3, r2 + 8002d98: 005b lsls r3, r3, #1 + 8002d9a: 4413 add r3, r2 + 8002d9c: 009b lsls r3, r3, #2 + 8002d9e: 440b add r3, r1 + 8002da0: 681b ldr r3, [r3, #0] + 8002da2: 461a mov r2, r3 + 8002da4: 4621 mov r1, r4 + 8002da6: f000 f8af bl 8002f08 BSP_LCD_DrawPixel((Xpos + current_y), (Ypos - current_x), DrawProp[ActiveLayer].TextColor); - 80030e2: 68fb ldr r3, [r7, #12] - 80030e4: b29a uxth r2, r3 - 80030e6: 88fb ldrh r3, [r7, #6] - 80030e8: 4413 add r3, r2 - 80030ea: b298 uxth r0, r3 - 80030ec: 693b ldr r3, [r7, #16] - 80030ee: b29b uxth r3, r3 - 80030f0: 88ba ldrh r2, [r7, #4] - 80030f2: 1ad3 subs r3, r2, r3 - 80030f4: b29c uxth r4, r3 - 80030f6: 4b50 ldr r3, [pc, #320] ; (8003238 ) - 80030f8: 681a ldr r2, [r3, #0] - 80030fa: 4950 ldr r1, [pc, #320] ; (800323c ) - 80030fc: 4613 mov r3, r2 - 80030fe: 005b lsls r3, r3, #1 - 8003100: 4413 add r3, r2 - 8003102: 009b lsls r3, r3, #2 - 8003104: 440b add r3, r1 - 8003106: 681b ldr r3, [r3, #0] - 8003108: 461a mov r2, r3 - 800310a: 4621 mov r1, r4 - 800310c: f000 f898 bl 8003240 + 8002daa: 68fb ldr r3, [r7, #12] + 8002dac: b29a uxth r2, r3 + 8002dae: 88fb ldrh r3, [r7, #6] + 8002db0: 4413 add r3, r2 + 8002db2: b298 uxth r0, r3 + 8002db4: 693b ldr r3, [r7, #16] + 8002db6: b29b uxth r3, r3 + 8002db8: 88ba ldrh r2, [r7, #4] + 8002dba: 1ad3 subs r3, r2, r3 + 8002dbc: b29c uxth r4, r3 + 8002dbe: 4b50 ldr r3, [pc, #320] ; (8002f00 ) + 8002dc0: 681a ldr r2, [r3, #0] + 8002dc2: 4950 ldr r1, [pc, #320] ; (8002f04 ) + 8002dc4: 4613 mov r3, r2 + 8002dc6: 005b lsls r3, r3, #1 + 8002dc8: 4413 add r3, r2 + 8002dca: 009b lsls r3, r3, #2 + 8002dcc: 440b add r3, r1 + 8002dce: 681b ldr r3, [r3, #0] + 8002dd0: 461a mov r2, r3 + 8002dd2: 4621 mov r1, r4 + 8002dd4: f000 f898 bl 8002f08 BSP_LCD_DrawPixel((Xpos - current_y), (Ypos - current_x), DrawProp[ActiveLayer].TextColor); - 8003110: 68fb ldr r3, [r7, #12] - 8003112: b29b uxth r3, r3 - 8003114: 88fa ldrh r2, [r7, #6] - 8003116: 1ad3 subs r3, r2, r3 - 8003118: b298 uxth r0, r3 - 800311a: 693b ldr r3, [r7, #16] - 800311c: b29b uxth r3, r3 - 800311e: 88ba ldrh r2, [r7, #4] - 8003120: 1ad3 subs r3, r2, r3 - 8003122: b29c uxth r4, r3 - 8003124: 4b44 ldr r3, [pc, #272] ; (8003238 ) - 8003126: 681a ldr r2, [r3, #0] - 8003128: 4944 ldr r1, [pc, #272] ; (800323c ) - 800312a: 4613 mov r3, r2 - 800312c: 005b lsls r3, r3, #1 - 800312e: 4413 add r3, r2 - 8003130: 009b lsls r3, r3, #2 - 8003132: 440b add r3, r1 - 8003134: 681b ldr r3, [r3, #0] - 8003136: 461a mov r2, r3 - 8003138: 4621 mov r1, r4 - 800313a: f000 f881 bl 8003240 + 8002dd8: 68fb ldr r3, [r7, #12] + 8002dda: b29b uxth r3, r3 + 8002ddc: 88fa ldrh r2, [r7, #6] + 8002dde: 1ad3 subs r3, r2, r3 + 8002de0: b298 uxth r0, r3 + 8002de2: 693b ldr r3, [r7, #16] + 8002de4: b29b uxth r3, r3 + 8002de6: 88ba ldrh r2, [r7, #4] + 8002de8: 1ad3 subs r3, r2, r3 + 8002dea: b29c uxth r4, r3 + 8002dec: 4b44 ldr r3, [pc, #272] ; (8002f00 ) + 8002dee: 681a ldr r2, [r3, #0] + 8002df0: 4944 ldr r1, [pc, #272] ; (8002f04 ) + 8002df2: 4613 mov r3, r2 + 8002df4: 005b lsls r3, r3, #1 + 8002df6: 4413 add r3, r2 + 8002df8: 009b lsls r3, r3, #2 + 8002dfa: 440b add r3, r1 + 8002dfc: 681b ldr r3, [r3, #0] + 8002dfe: 461a mov r2, r3 + 8002e00: 4621 mov r1, r4 + 8002e02: f000 f881 bl 8002f08 BSP_LCD_DrawPixel((Xpos + current_x), (Ypos + current_y), DrawProp[ActiveLayer].TextColor); - 800313e: 693b ldr r3, [r7, #16] - 8003140: b29a uxth r2, r3 - 8003142: 88fb ldrh r3, [r7, #6] - 8003144: 4413 add r3, r2 - 8003146: b298 uxth r0, r3 - 8003148: 68fb ldr r3, [r7, #12] - 800314a: b29a uxth r2, r3 - 800314c: 88bb ldrh r3, [r7, #4] - 800314e: 4413 add r3, r2 - 8003150: b29c uxth r4, r3 - 8003152: 4b39 ldr r3, [pc, #228] ; (8003238 ) - 8003154: 681a ldr r2, [r3, #0] - 8003156: 4939 ldr r1, [pc, #228] ; (800323c ) - 8003158: 4613 mov r3, r2 - 800315a: 005b lsls r3, r3, #1 - 800315c: 4413 add r3, r2 - 800315e: 009b lsls r3, r3, #2 - 8003160: 440b add r3, r1 - 8003162: 681b ldr r3, [r3, #0] - 8003164: 461a mov r2, r3 - 8003166: 4621 mov r1, r4 - 8003168: f000 f86a bl 8003240 + 8002e06: 693b ldr r3, [r7, #16] + 8002e08: b29a uxth r2, r3 + 8002e0a: 88fb ldrh r3, [r7, #6] + 8002e0c: 4413 add r3, r2 + 8002e0e: b298 uxth r0, r3 + 8002e10: 68fb ldr r3, [r7, #12] + 8002e12: b29a uxth r2, r3 + 8002e14: 88bb ldrh r3, [r7, #4] + 8002e16: 4413 add r3, r2 + 8002e18: b29c uxth r4, r3 + 8002e1a: 4b39 ldr r3, [pc, #228] ; (8002f00 ) + 8002e1c: 681a ldr r2, [r3, #0] + 8002e1e: 4939 ldr r1, [pc, #228] ; (8002f04 ) + 8002e20: 4613 mov r3, r2 + 8002e22: 005b lsls r3, r3, #1 + 8002e24: 4413 add r3, r2 + 8002e26: 009b lsls r3, r3, #2 + 8002e28: 440b add r3, r1 + 8002e2a: 681b ldr r3, [r3, #0] + 8002e2c: 461a mov r2, r3 + 8002e2e: 4621 mov r1, r4 + 8002e30: f000 f86a bl 8002f08 BSP_LCD_DrawPixel((Xpos - current_x), (Ypos + current_y), DrawProp[ActiveLayer].TextColor); - 800316c: 693b ldr r3, [r7, #16] - 800316e: b29b uxth r3, r3 - 8003170: 88fa ldrh r2, [r7, #6] - 8003172: 1ad3 subs r3, r2, r3 - 8003174: b298 uxth r0, r3 - 8003176: 68fb ldr r3, [r7, #12] - 8003178: b29a uxth r2, r3 - 800317a: 88bb ldrh r3, [r7, #4] - 800317c: 4413 add r3, r2 - 800317e: b29c uxth r4, r3 - 8003180: 4b2d ldr r3, [pc, #180] ; (8003238 ) - 8003182: 681a ldr r2, [r3, #0] - 8003184: 492d ldr r1, [pc, #180] ; (800323c ) - 8003186: 4613 mov r3, r2 - 8003188: 005b lsls r3, r3, #1 - 800318a: 4413 add r3, r2 - 800318c: 009b lsls r3, r3, #2 - 800318e: 440b add r3, r1 - 8003190: 681b ldr r3, [r3, #0] - 8003192: 461a mov r2, r3 - 8003194: 4621 mov r1, r4 - 8003196: f000 f853 bl 8003240 + 8002e34: 693b ldr r3, [r7, #16] + 8002e36: b29b uxth r3, r3 + 8002e38: 88fa ldrh r2, [r7, #6] + 8002e3a: 1ad3 subs r3, r2, r3 + 8002e3c: b298 uxth r0, r3 + 8002e3e: 68fb ldr r3, [r7, #12] + 8002e40: b29a uxth r2, r3 + 8002e42: 88bb ldrh r3, [r7, #4] + 8002e44: 4413 add r3, r2 + 8002e46: b29c uxth r4, r3 + 8002e48: 4b2d ldr r3, [pc, #180] ; (8002f00 ) + 8002e4a: 681a ldr r2, [r3, #0] + 8002e4c: 492d ldr r1, [pc, #180] ; (8002f04 ) + 8002e4e: 4613 mov r3, r2 + 8002e50: 005b lsls r3, r3, #1 + 8002e52: 4413 add r3, r2 + 8002e54: 009b lsls r3, r3, #2 + 8002e56: 440b add r3, r1 + 8002e58: 681b ldr r3, [r3, #0] + 8002e5a: 461a mov r2, r3 + 8002e5c: 4621 mov r1, r4 + 8002e5e: f000 f853 bl 8002f08 BSP_LCD_DrawPixel((Xpos + current_y), (Ypos + current_x), DrawProp[ActiveLayer].TextColor); - 800319a: 68fb ldr r3, [r7, #12] - 800319c: b29a uxth r2, r3 - 800319e: 88fb ldrh r3, [r7, #6] - 80031a0: 4413 add r3, r2 - 80031a2: b298 uxth r0, r3 - 80031a4: 693b ldr r3, [r7, #16] - 80031a6: b29a uxth r2, r3 - 80031a8: 88bb ldrh r3, [r7, #4] - 80031aa: 4413 add r3, r2 - 80031ac: b29c uxth r4, r3 - 80031ae: 4b22 ldr r3, [pc, #136] ; (8003238 ) - 80031b0: 681a ldr r2, [r3, #0] - 80031b2: 4922 ldr r1, [pc, #136] ; (800323c ) - 80031b4: 4613 mov r3, r2 - 80031b6: 005b lsls r3, r3, #1 - 80031b8: 4413 add r3, r2 - 80031ba: 009b lsls r3, r3, #2 - 80031bc: 440b add r3, r1 - 80031be: 681b ldr r3, [r3, #0] - 80031c0: 461a mov r2, r3 - 80031c2: 4621 mov r1, r4 - 80031c4: f000 f83c bl 8003240 + 8002e62: 68fb ldr r3, [r7, #12] + 8002e64: b29a uxth r2, r3 + 8002e66: 88fb ldrh r3, [r7, #6] + 8002e68: 4413 add r3, r2 + 8002e6a: b298 uxth r0, r3 + 8002e6c: 693b ldr r3, [r7, #16] + 8002e6e: b29a uxth r2, r3 + 8002e70: 88bb ldrh r3, [r7, #4] + 8002e72: 4413 add r3, r2 + 8002e74: b29c uxth r4, r3 + 8002e76: 4b22 ldr r3, [pc, #136] ; (8002f00 ) + 8002e78: 681a ldr r2, [r3, #0] + 8002e7a: 4922 ldr r1, [pc, #136] ; (8002f04 ) + 8002e7c: 4613 mov r3, r2 + 8002e7e: 005b lsls r3, r3, #1 + 8002e80: 4413 add r3, r2 + 8002e82: 009b lsls r3, r3, #2 + 8002e84: 440b add r3, r1 + 8002e86: 681b ldr r3, [r3, #0] + 8002e88: 461a mov r2, r3 + 8002e8a: 4621 mov r1, r4 + 8002e8c: f000 f83c bl 8002f08 BSP_LCD_DrawPixel((Xpos - current_y), (Ypos + current_x), DrawProp[ActiveLayer].TextColor); - 80031c8: 68fb ldr r3, [r7, #12] - 80031ca: b29b uxth r3, r3 - 80031cc: 88fa ldrh r2, [r7, #6] - 80031ce: 1ad3 subs r3, r2, r3 - 80031d0: b298 uxth r0, r3 - 80031d2: 693b ldr r3, [r7, #16] - 80031d4: b29a uxth r2, r3 - 80031d6: 88bb ldrh r3, [r7, #4] - 80031d8: 4413 add r3, r2 - 80031da: b29c uxth r4, r3 - 80031dc: 4b16 ldr r3, [pc, #88] ; (8003238 ) - 80031de: 681a ldr r2, [r3, #0] - 80031e0: 4916 ldr r1, [pc, #88] ; (800323c ) - 80031e2: 4613 mov r3, r2 - 80031e4: 005b lsls r3, r3, #1 - 80031e6: 4413 add r3, r2 - 80031e8: 009b lsls r3, r3, #2 - 80031ea: 440b add r3, r1 - 80031ec: 681b ldr r3, [r3, #0] - 80031ee: 461a mov r2, r3 - 80031f0: 4621 mov r1, r4 - 80031f2: f000 f825 bl 8003240 + 8002e90: 68fb ldr r3, [r7, #12] + 8002e92: b29b uxth r3, r3 + 8002e94: 88fa ldrh r2, [r7, #6] + 8002e96: 1ad3 subs r3, r2, r3 + 8002e98: b298 uxth r0, r3 + 8002e9a: 693b ldr r3, [r7, #16] + 8002e9c: b29a uxth r2, r3 + 8002e9e: 88bb ldrh r3, [r7, #4] + 8002ea0: 4413 add r3, r2 + 8002ea2: b29c uxth r4, r3 + 8002ea4: 4b16 ldr r3, [pc, #88] ; (8002f00 ) + 8002ea6: 681a ldr r2, [r3, #0] + 8002ea8: 4916 ldr r1, [pc, #88] ; (8002f04 ) + 8002eaa: 4613 mov r3, r2 + 8002eac: 005b lsls r3, r3, #1 + 8002eae: 4413 add r3, r2 + 8002eb0: 009b lsls r3, r3, #2 + 8002eb2: 440b add r3, r1 + 8002eb4: 681b ldr r3, [r3, #0] + 8002eb6: 461a mov r2, r3 + 8002eb8: 4621 mov r1, r4 + 8002eba: f000 f825 bl 8002f08 if (decision < 0) - 80031f6: 697b ldr r3, [r7, #20] - 80031f8: 2b00 cmp r3, #0 - 80031fa: da06 bge.n 800320a + 8002ebe: 697b ldr r3, [r7, #20] + 8002ec0: 2b00 cmp r3, #0 + 8002ec2: da06 bge.n 8002ed2 { decision += (current_x << 2) + 6; - 80031fc: 693b ldr r3, [r7, #16] - 80031fe: 009a lsls r2, r3, #2 - 8003200: 697b ldr r3, [r7, #20] - 8003202: 4413 add r3, r2 - 8003204: 3306 adds r3, #6 - 8003206: 617b str r3, [r7, #20] - 8003208: e00a b.n 8003220 + 8002ec4: 693b ldr r3, [r7, #16] + 8002ec6: 009a lsls r2, r3, #2 + 8002ec8: 697b ldr r3, [r7, #20] + 8002eca: 4413 add r3, r2 + 8002ecc: 3306 adds r3, #6 + 8002ece: 617b str r3, [r7, #20] + 8002ed0: e00a b.n 8002ee8 } else { decision += ((current_x - current_y) << 2) + 10; - 800320a: 693a ldr r2, [r7, #16] - 800320c: 68fb ldr r3, [r7, #12] - 800320e: 1ad3 subs r3, r2, r3 - 8003210: 009a lsls r2, r3, #2 - 8003212: 697b ldr r3, [r7, #20] - 8003214: 4413 add r3, r2 - 8003216: 330a adds r3, #10 - 8003218: 617b str r3, [r7, #20] + 8002ed2: 693a ldr r2, [r7, #16] + 8002ed4: 68fb ldr r3, [r7, #12] + 8002ed6: 1ad3 subs r3, r2, r3 + 8002ed8: 009a lsls r2, r3, #2 + 8002eda: 697b ldr r3, [r7, #20] + 8002edc: 4413 add r3, r2 + 8002ede: 330a adds r3, #10 + 8002ee0: 617b str r3, [r7, #20] current_y--; - 800321a: 68fb ldr r3, [r7, #12] - 800321c: 3b01 subs r3, #1 - 800321e: 60fb str r3, [r7, #12] + 8002ee2: 68fb ldr r3, [r7, #12] + 8002ee4: 3b01 subs r3, #1 + 8002ee6: 60fb str r3, [r7, #12] } current_x++; - 8003220: 693b ldr r3, [r7, #16] - 8003222: 3301 adds r3, #1 - 8003224: 613b str r3, [r7, #16] + 8002ee8: 693b ldr r3, [r7, #16] + 8002eea: 3301 adds r3, #1 + 8002eec: 613b str r3, [r7, #16] while (current_x <= current_y) - 8003226: 693a ldr r2, [r7, #16] - 8003228: 68fb ldr r3, [r7, #12] - 800322a: 429a cmp r2, r3 - 800322c: f67f af2b bls.w 8003086 + 8002eee: 693a ldr r2, [r7, #16] + 8002ef0: 68fb ldr r3, [r7, #12] + 8002ef2: 429a cmp r2, r3 + 8002ef4: f67f af2b bls.w 8002d4e } } - 8003230: bf00 nop - 8003232: 371c adds r7, #28 - 8003234: 46bd mov sp, r7 - 8003236: bd90 pop {r4, r7, pc} - 8003238: 2000041c .word 0x2000041c - 800323c: 20000420 .word 0x20000420 + 8002ef8: bf00 nop + 8002efa: 371c adds r7, #28 + 8002efc: 46bd mov sp, r7 + 8002efe: bd90 pop {r4, r7, pc} + 8002f00: 2000041c .word 0x2000041c + 8002f04: 20000420 .word 0x20000420 -08003240 : +08002f08 : * @param Ypos: Y position * @param RGB_Code: Pixel color in ARGB mode (8-8-8-8) * @retval None */ void BSP_LCD_DrawPixel(uint16_t Xpos, uint16_t Ypos, uint32_t RGB_Code) { - 8003240: b5b0 push {r4, r5, r7, lr} - 8003242: b082 sub sp, #8 - 8003244: af00 add r7, sp, #0 - 8003246: 4603 mov r3, r0 - 8003248: 603a str r2, [r7, #0] - 800324a: 80fb strh r3, [r7, #6] - 800324c: 460b mov r3, r1 - 800324e: 80bb strh r3, [r7, #4] + 8002f08: b5b0 push {r4, r5, r7, lr} + 8002f0a: b082 sub sp, #8 + 8002f0c: af00 add r7, sp, #0 + 8002f0e: 4603 mov r3, r0 + 8002f10: 603a str r2, [r7, #0] + 8002f12: 80fb strh r3, [r7, #6] + 8002f14: 460b mov r3, r1 + 8002f16: 80bb strh r3, [r7, #4] /* Write data value to all SDRAM memory */ if(hLtdcHandler.LayerCfg[ActiveLayer].PixelFormat == LTDC_PIXEL_FORMAT_RGB565) - 8003250: 4b1d ldr r3, [pc, #116] ; (80032c8 ) - 8003252: 681b ldr r3, [r3, #0] - 8003254: 4a1d ldr r2, [pc, #116] ; (80032cc ) - 8003256: 2134 movs r1, #52 ; 0x34 - 8003258: fb01 f303 mul.w r3, r1, r3 - 800325c: 4413 add r3, r2 - 800325e: 3348 adds r3, #72 ; 0x48 - 8003260: 681b ldr r3, [r3, #0] - 8003262: 2b02 cmp r3, #2 - 8003264: d116 bne.n 8003294 + 8002f18: 4b1d ldr r3, [pc, #116] ; (8002f90 ) + 8002f1a: 681b ldr r3, [r3, #0] + 8002f1c: 4a1d ldr r2, [pc, #116] ; (8002f94 ) + 8002f1e: 2134 movs r1, #52 ; 0x34 + 8002f20: fb01 f303 mul.w r3, r1, r3 + 8002f24: 4413 add r3, r2 + 8002f26: 3348 adds r3, #72 ; 0x48 + 8002f28: 681b ldr r3, [r3, #0] + 8002f2a: 2b02 cmp r3, #2 + 8002f2c: d116 bne.n 8002f5c { /* RGB565 format */ *(__IO uint16_t*) (hLtdcHandler.LayerCfg[ActiveLayer].FBStartAdress + (2*(Ypos*BSP_LCD_GetXSize() + Xpos))) = (uint16_t)RGB_Code; - 8003266: 4b18 ldr r3, [pc, #96] ; (80032c8 ) - 8003268: 681b ldr r3, [r3, #0] - 800326a: 4a18 ldr r2, [pc, #96] ; (80032cc ) - 800326c: 2134 movs r1, #52 ; 0x34 - 800326e: fb01 f303 mul.w r3, r1, r3 - 8003272: 4413 add r3, r2 - 8003274: 335c adds r3, #92 ; 0x5c - 8003276: 681c ldr r4, [r3, #0] - 8003278: 88bd ldrh r5, [r7, #4] - 800327a: f7ff fc51 bl 8002b20 - 800327e: 4603 mov r3, r0 - 8003280: fb03 f205 mul.w r2, r3, r5 - 8003284: 88fb ldrh r3, [r7, #6] - 8003286: 4413 add r3, r2 - 8003288: 005b lsls r3, r3, #1 - 800328a: 4423 add r3, r4 - 800328c: 683a ldr r2, [r7, #0] - 800328e: b292 uxth r2, r2 - 8003290: 801a strh r2, [r3, #0] + 8002f2e: 4b18 ldr r3, [pc, #96] ; (8002f90 ) + 8002f30: 681b ldr r3, [r3, #0] + 8002f32: 4a18 ldr r2, [pc, #96] ; (8002f94 ) + 8002f34: 2134 movs r1, #52 ; 0x34 + 8002f36: fb01 f303 mul.w r3, r1, r3 + 8002f3a: 4413 add r3, r2 + 8002f3c: 335c adds r3, #92 ; 0x5c + 8002f3e: 681c ldr r4, [r3, #0] + 8002f40: 88bd ldrh r5, [r7, #4] + 8002f42: f7ff fd87 bl 8002a54 + 8002f46: 4603 mov r3, r0 + 8002f48: fb03 f205 mul.w r2, r3, r5 + 8002f4c: 88fb ldrh r3, [r7, #6] + 8002f4e: 4413 add r3, r2 + 8002f50: 005b lsls r3, r3, #1 + 8002f52: 4423 add r3, r4 + 8002f54: 683a ldr r2, [r7, #0] + 8002f56: b292 uxth r2, r2 + 8002f58: 801a strh r2, [r3, #0] } else { /* ARGB8888 format */ *(__IO uint32_t*) (hLtdcHandler.LayerCfg[ActiveLayer].FBStartAdress + (4*(Ypos*BSP_LCD_GetXSize() + Xpos))) = RGB_Code; } } - 8003292: e015 b.n 80032c0 + 8002f5a: e015 b.n 8002f88 *(__IO uint32_t*) (hLtdcHandler.LayerCfg[ActiveLayer].FBStartAdress + (4*(Ypos*BSP_LCD_GetXSize() + Xpos))) = RGB_Code; - 8003294: 4b0c ldr r3, [pc, #48] ; (80032c8 ) - 8003296: 681b ldr r3, [r3, #0] - 8003298: 4a0c ldr r2, [pc, #48] ; (80032cc ) - 800329a: 2134 movs r1, #52 ; 0x34 - 800329c: fb01 f303 mul.w r3, r1, r3 - 80032a0: 4413 add r3, r2 - 80032a2: 335c adds r3, #92 ; 0x5c - 80032a4: 681c ldr r4, [r3, #0] - 80032a6: 88bd ldrh r5, [r7, #4] - 80032a8: f7ff fc3a bl 8002b20 - 80032ac: 4603 mov r3, r0 - 80032ae: fb03 f205 mul.w r2, r3, r5 - 80032b2: 88fb ldrh r3, [r7, #6] - 80032b4: 4413 add r3, r2 - 80032b6: 009b lsls r3, r3, #2 - 80032b8: 4423 add r3, r4 - 80032ba: 461a mov r2, r3 - 80032bc: 683b ldr r3, [r7, #0] - 80032be: 6013 str r3, [r2, #0] + 8002f5c: 4b0c ldr r3, [pc, #48] ; (8002f90 ) + 8002f5e: 681b ldr r3, [r3, #0] + 8002f60: 4a0c ldr r2, [pc, #48] ; (8002f94 ) + 8002f62: 2134 movs r1, #52 ; 0x34 + 8002f64: fb01 f303 mul.w r3, r1, r3 + 8002f68: 4413 add r3, r2 + 8002f6a: 335c adds r3, #92 ; 0x5c + 8002f6c: 681c ldr r4, [r3, #0] + 8002f6e: 88bd ldrh r5, [r7, #4] + 8002f70: f7ff fd70 bl 8002a54 + 8002f74: 4603 mov r3, r0 + 8002f76: fb03 f205 mul.w r2, r3, r5 + 8002f7a: 88fb ldrh r3, [r7, #6] + 8002f7c: 4413 add r3, r2 + 8002f7e: 009b lsls r3, r3, #2 + 8002f80: 4423 add r3, r4 + 8002f82: 461a mov r2, r3 + 8002f84: 683b ldr r3, [r7, #0] + 8002f86: 6013 str r3, [r2, #0] } - 80032c0: bf00 nop - 80032c2: 3708 adds r7, #8 - 80032c4: 46bd mov sp, r7 - 80032c6: bdb0 pop {r4, r5, r7, pc} - 80032c8: 2000041c .word 0x2000041c - 80032cc: 20008c38 .word 0x20008c38 + 8002f88: bf00 nop + 8002f8a: 3708 adds r7, #8 + 8002f8c: 46bd mov sp, r7 + 8002f8e: bdb0 pop {r4, r5, r7, pc} + 8002f90: 2000041c .word 0x2000041c + 8002f94: 20008c34 .word 0x20008c34 -080032d0 : +08002f98 : * @param Ypos: Bmp Y position in the LCD * @param pbmp: Pointer to Bmp picture address in the internal Flash * @retval None */ void BSP_LCD_DrawBitmap(uint32_t Xpos, uint32_t Ypos, uint8_t *pbmp) { - 80032d0: b590 push {r4, r7, lr} - 80032d2: b08b sub sp, #44 ; 0x2c - 80032d4: af00 add r7, sp, #0 - 80032d6: 60f8 str r0, [r7, #12] - 80032d8: 60b9 str r1, [r7, #8] - 80032da: 607a str r2, [r7, #4] + 8002f98: b590 push {r4, r7, lr} + 8002f9a: b08b sub sp, #44 ; 0x2c + 8002f9c: af00 add r7, sp, #0 + 8002f9e: 60f8 str r0, [r7, #12] + 8002fa0: 60b9 str r1, [r7, #8] + 8002fa2: 607a str r2, [r7, #4] uint32_t index = 0, width = 0, height = 0, bit_pixel = 0; - 80032dc: 2300 movs r3, #0 - 80032de: 627b str r3, [r7, #36] ; 0x24 - 80032e0: 2300 movs r3, #0 - 80032e2: 61bb str r3, [r7, #24] - 80032e4: 2300 movs r3, #0 - 80032e6: 617b str r3, [r7, #20] - 80032e8: 2300 movs r3, #0 - 80032ea: 613b str r3, [r7, #16] + 8002fa4: 2300 movs r3, #0 + 8002fa6: 627b str r3, [r7, #36] ; 0x24 + 8002fa8: 2300 movs r3, #0 + 8002faa: 61bb str r3, [r7, #24] + 8002fac: 2300 movs r3, #0 + 8002fae: 617b str r3, [r7, #20] + 8002fb0: 2300 movs r3, #0 + 8002fb2: 613b str r3, [r7, #16] uint32_t address; uint32_t input_color_mode = 0; - 80032ec: 2300 movs r3, #0 - 80032ee: 61fb str r3, [r7, #28] + 8002fb4: 2300 movs r3, #0 + 8002fb6: 61fb str r3, [r7, #28] /* Get bitmap data address offset */ index = pbmp[10] + (pbmp[11] << 8) + (pbmp[12] << 16) + (pbmp[13] << 24); - 80032f0: 687b ldr r3, [r7, #4] - 80032f2: 330a adds r3, #10 - 80032f4: 781b ldrb r3, [r3, #0] - 80032f6: 461a mov r2, r3 - 80032f8: 687b ldr r3, [r7, #4] - 80032fa: 330b adds r3, #11 - 80032fc: 781b ldrb r3, [r3, #0] - 80032fe: 021b lsls r3, r3, #8 - 8003300: 441a add r2, r3 - 8003302: 687b ldr r3, [r7, #4] - 8003304: 330c adds r3, #12 - 8003306: 781b ldrb r3, [r3, #0] - 8003308: 041b lsls r3, r3, #16 - 800330a: 441a add r2, r3 - 800330c: 687b ldr r3, [r7, #4] - 800330e: 330d adds r3, #13 - 8003310: 781b ldrb r3, [r3, #0] - 8003312: 061b lsls r3, r3, #24 - 8003314: 4413 add r3, r2 - 8003316: 627b str r3, [r7, #36] ; 0x24 + 8002fb8: 687b ldr r3, [r7, #4] + 8002fba: 330a adds r3, #10 + 8002fbc: 781b ldrb r3, [r3, #0] + 8002fbe: 461a mov r2, r3 + 8002fc0: 687b ldr r3, [r7, #4] + 8002fc2: 330b adds r3, #11 + 8002fc4: 781b ldrb r3, [r3, #0] + 8002fc6: 021b lsls r3, r3, #8 + 8002fc8: 441a add r2, r3 + 8002fca: 687b ldr r3, [r7, #4] + 8002fcc: 330c adds r3, #12 + 8002fce: 781b ldrb r3, [r3, #0] + 8002fd0: 041b lsls r3, r3, #16 + 8002fd2: 441a add r2, r3 + 8002fd4: 687b ldr r3, [r7, #4] + 8002fd6: 330d adds r3, #13 + 8002fd8: 781b ldrb r3, [r3, #0] + 8002fda: 061b lsls r3, r3, #24 + 8002fdc: 4413 add r3, r2 + 8002fde: 627b str r3, [r7, #36] ; 0x24 /* Read bitmap width */ width = pbmp[18] + (pbmp[19] << 8) + (pbmp[20] << 16) + (pbmp[21] << 24); - 8003318: 687b ldr r3, [r7, #4] - 800331a: 3312 adds r3, #18 - 800331c: 781b ldrb r3, [r3, #0] - 800331e: 461a mov r2, r3 - 8003320: 687b ldr r3, [r7, #4] - 8003322: 3313 adds r3, #19 - 8003324: 781b ldrb r3, [r3, #0] - 8003326: 021b lsls r3, r3, #8 - 8003328: 441a add r2, r3 - 800332a: 687b ldr r3, [r7, #4] - 800332c: 3314 adds r3, #20 - 800332e: 781b ldrb r3, [r3, #0] - 8003330: 041b lsls r3, r3, #16 - 8003332: 441a add r2, r3 - 8003334: 687b ldr r3, [r7, #4] - 8003336: 3315 adds r3, #21 - 8003338: 781b ldrb r3, [r3, #0] - 800333a: 061b lsls r3, r3, #24 - 800333c: 4413 add r3, r2 - 800333e: 61bb str r3, [r7, #24] + 8002fe0: 687b ldr r3, [r7, #4] + 8002fe2: 3312 adds r3, #18 + 8002fe4: 781b ldrb r3, [r3, #0] + 8002fe6: 461a mov r2, r3 + 8002fe8: 687b ldr r3, [r7, #4] + 8002fea: 3313 adds r3, #19 + 8002fec: 781b ldrb r3, [r3, #0] + 8002fee: 021b lsls r3, r3, #8 + 8002ff0: 441a add r2, r3 + 8002ff2: 687b ldr r3, [r7, #4] + 8002ff4: 3314 adds r3, #20 + 8002ff6: 781b ldrb r3, [r3, #0] + 8002ff8: 041b lsls r3, r3, #16 + 8002ffa: 441a add r2, r3 + 8002ffc: 687b ldr r3, [r7, #4] + 8002ffe: 3315 adds r3, #21 + 8003000: 781b ldrb r3, [r3, #0] + 8003002: 061b lsls r3, r3, #24 + 8003004: 4413 add r3, r2 + 8003006: 61bb str r3, [r7, #24] /* Read bitmap height */ height = pbmp[22] + (pbmp[23] << 8) + (pbmp[24] << 16) + (pbmp[25] << 24); - 8003340: 687b ldr r3, [r7, #4] - 8003342: 3316 adds r3, #22 - 8003344: 781b ldrb r3, [r3, #0] - 8003346: 461a mov r2, r3 - 8003348: 687b ldr r3, [r7, #4] - 800334a: 3317 adds r3, #23 - 800334c: 781b ldrb r3, [r3, #0] - 800334e: 021b lsls r3, r3, #8 - 8003350: 441a add r2, r3 - 8003352: 687b ldr r3, [r7, #4] - 8003354: 3318 adds r3, #24 - 8003356: 781b ldrb r3, [r3, #0] - 8003358: 041b lsls r3, r3, #16 - 800335a: 441a add r2, r3 - 800335c: 687b ldr r3, [r7, #4] - 800335e: 3319 adds r3, #25 - 8003360: 781b ldrb r3, [r3, #0] - 8003362: 061b lsls r3, r3, #24 - 8003364: 4413 add r3, r2 - 8003366: 617b str r3, [r7, #20] + 8003008: 687b ldr r3, [r7, #4] + 800300a: 3316 adds r3, #22 + 800300c: 781b ldrb r3, [r3, #0] + 800300e: 461a mov r2, r3 + 8003010: 687b ldr r3, [r7, #4] + 8003012: 3317 adds r3, #23 + 8003014: 781b ldrb r3, [r3, #0] + 8003016: 021b lsls r3, r3, #8 + 8003018: 441a add r2, r3 + 800301a: 687b ldr r3, [r7, #4] + 800301c: 3318 adds r3, #24 + 800301e: 781b ldrb r3, [r3, #0] + 8003020: 041b lsls r3, r3, #16 + 8003022: 441a add r2, r3 + 8003024: 687b ldr r3, [r7, #4] + 8003026: 3319 adds r3, #25 + 8003028: 781b ldrb r3, [r3, #0] + 800302a: 061b lsls r3, r3, #24 + 800302c: 4413 add r3, r2 + 800302e: 617b str r3, [r7, #20] /* Read bit/pixel */ bit_pixel = pbmp[28] + (pbmp[29] << 8); - 8003368: 687b ldr r3, [r7, #4] - 800336a: 331c adds r3, #28 - 800336c: 781b ldrb r3, [r3, #0] - 800336e: 461a mov r2, r3 - 8003370: 687b ldr r3, [r7, #4] - 8003372: 331d adds r3, #29 - 8003374: 781b ldrb r3, [r3, #0] - 8003376: 021b lsls r3, r3, #8 - 8003378: 4413 add r3, r2 - 800337a: 613b str r3, [r7, #16] + 8003030: 687b ldr r3, [r7, #4] + 8003032: 331c adds r3, #28 + 8003034: 781b ldrb r3, [r3, #0] + 8003036: 461a mov r2, r3 + 8003038: 687b ldr r3, [r7, #4] + 800303a: 331d adds r3, #29 + 800303c: 781b ldrb r3, [r3, #0] + 800303e: 021b lsls r3, r3, #8 + 8003040: 4413 add r3, r2 + 8003042: 613b str r3, [r7, #16] /* Set the address */ address = hLtdcHandler.LayerCfg[ActiveLayer].FBStartAdress + (((BSP_LCD_GetXSize()*Ypos) + Xpos)*(4)); - 800337c: 4b2a ldr r3, [pc, #168] ; (8003428 ) - 800337e: 681b ldr r3, [r3, #0] - 8003380: 4a2a ldr r2, [pc, #168] ; (800342c ) - 8003382: 2134 movs r1, #52 ; 0x34 - 8003384: fb01 f303 mul.w r3, r1, r3 - 8003388: 4413 add r3, r2 - 800338a: 335c adds r3, #92 ; 0x5c - 800338c: 681c ldr r4, [r3, #0] - 800338e: f7ff fbc7 bl 8002b20 - 8003392: 4602 mov r2, r0 - 8003394: 68bb ldr r3, [r7, #8] - 8003396: fb03 f202 mul.w r2, r3, r2 - 800339a: 68fb ldr r3, [r7, #12] - 800339c: 4413 add r3, r2 - 800339e: 009b lsls r3, r3, #2 - 80033a0: 4423 add r3, r4 - 80033a2: 623b str r3, [r7, #32] + 8003044: 4b2a ldr r3, [pc, #168] ; (80030f0 ) + 8003046: 681b ldr r3, [r3, #0] + 8003048: 4a2a ldr r2, [pc, #168] ; (80030f4 ) + 800304a: 2134 movs r1, #52 ; 0x34 + 800304c: fb01 f303 mul.w r3, r1, r3 + 8003050: 4413 add r3, r2 + 8003052: 335c adds r3, #92 ; 0x5c + 8003054: 681c ldr r4, [r3, #0] + 8003056: f7ff fcfd bl 8002a54 + 800305a: 4602 mov r2, r0 + 800305c: 68bb ldr r3, [r7, #8] + 800305e: fb03 f202 mul.w r2, r3, r2 + 8003062: 68fb ldr r3, [r7, #12] + 8003064: 4413 add r3, r2 + 8003066: 009b lsls r3, r3, #2 + 8003068: 4423 add r3, r4 + 800306a: 623b str r3, [r7, #32] /* Get the layer pixel format */ if ((bit_pixel/8) == 4) - 80033a4: 693b ldr r3, [r7, #16] - 80033a6: 3b20 subs r3, #32 - 80033a8: 2b07 cmp r3, #7 - 80033aa: d802 bhi.n 80033b2 + 800306c: 693b ldr r3, [r7, #16] + 800306e: 3b20 subs r3, #32 + 8003070: 2b07 cmp r3, #7 + 8003072: d802 bhi.n 800307a { input_color_mode = CM_ARGB8888; - 80033ac: 2300 movs r3, #0 - 80033ae: 61fb str r3, [r7, #28] - 80033b0: e008 b.n 80033c4 + 8003074: 2300 movs r3, #0 + 8003076: 61fb str r3, [r7, #28] + 8003078: e008 b.n 800308c } else if ((bit_pixel/8) == 2) - 80033b2: 693b ldr r3, [r7, #16] - 80033b4: 3b10 subs r3, #16 - 80033b6: 2b07 cmp r3, #7 - 80033b8: d802 bhi.n 80033c0 + 800307a: 693b ldr r3, [r7, #16] + 800307c: 3b10 subs r3, #16 + 800307e: 2b07 cmp r3, #7 + 8003080: d802 bhi.n 8003088 { input_color_mode = CM_RGB565; - 80033ba: 2302 movs r3, #2 - 80033bc: 61fb str r3, [r7, #28] - 80033be: e001 b.n 80033c4 + 8003082: 2302 movs r3, #2 + 8003084: 61fb str r3, [r7, #28] + 8003086: e001 b.n 800308c } else { input_color_mode = CM_RGB888; - 80033c0: 2301 movs r3, #1 - 80033c2: 61fb str r3, [r7, #28] + 8003088: 2301 movs r3, #1 + 800308a: 61fb str r3, [r7, #28] } /* Bypass the bitmap header */ pbmp += (index + (width * (height - 1) * (bit_pixel/8))); - 80033c4: 697b ldr r3, [r7, #20] - 80033c6: 3b01 subs r3, #1 - 80033c8: 69ba ldr r2, [r7, #24] - 80033ca: fb02 f303 mul.w r3, r2, r3 - 80033ce: 693a ldr r2, [r7, #16] - 80033d0: 08d2 lsrs r2, r2, #3 - 80033d2: fb02 f203 mul.w r2, r2, r3 - 80033d6: 6a7b ldr r3, [r7, #36] ; 0x24 - 80033d8: 4413 add r3, r2 - 80033da: 687a ldr r2, [r7, #4] - 80033dc: 4413 add r3, r2 - 80033de: 607b str r3, [r7, #4] + 800308c: 697b ldr r3, [r7, #20] + 800308e: 3b01 subs r3, #1 + 8003090: 69ba ldr r2, [r7, #24] + 8003092: fb02 f303 mul.w r3, r2, r3 + 8003096: 693a ldr r2, [r7, #16] + 8003098: 08d2 lsrs r2, r2, #3 + 800309a: fb02 f203 mul.w r2, r2, r3 + 800309e: 6a7b ldr r3, [r7, #36] ; 0x24 + 80030a0: 4413 add r3, r2 + 80030a2: 687a ldr r2, [r7, #4] + 80030a4: 4413 add r3, r2 + 80030a6: 607b str r3, [r7, #4] /* Convert picture to ARGB8888 pixel format */ for(index=0; index < height; index++) - 80033e0: 2300 movs r3, #0 - 80033e2: 627b str r3, [r7, #36] ; 0x24 - 80033e4: e018 b.n 8003418 + 80030a8: 2300 movs r3, #0 + 80030aa: 627b str r3, [r7, #36] ; 0x24 + 80030ac: e018 b.n 80030e0 { /* Pixel format conversion */ LL_ConvertLineToARGB8888((uint32_t *)pbmp, (uint32_t *)address, width, input_color_mode); - 80033e6: 6a39 ldr r1, [r7, #32] - 80033e8: 69fb ldr r3, [r7, #28] - 80033ea: 69ba ldr r2, [r7, #24] - 80033ec: 6878 ldr r0, [r7, #4] - 80033ee: f000 fb51 bl 8003a94 + 80030ae: 6a39 ldr r1, [r7, #32] + 80030b0: 69fb ldr r3, [r7, #28] + 80030b2: 69ba ldr r2, [r7, #24] + 80030b4: 6878 ldr r0, [r7, #4] + 80030b6: f000 fa99 bl 80035ec /* Increment the source and destination buffers */ address+= (BSP_LCD_GetXSize()*4); - 80033f2: f7ff fb95 bl 8002b20 - 80033f6: 4603 mov r3, r0 - 80033f8: 009b lsls r3, r3, #2 - 80033fa: 6a3a ldr r2, [r7, #32] - 80033fc: 4413 add r3, r2 - 80033fe: 623b str r3, [r7, #32] + 80030ba: f7ff fccb bl 8002a54 + 80030be: 4603 mov r3, r0 + 80030c0: 009b lsls r3, r3, #2 + 80030c2: 6a3a ldr r2, [r7, #32] + 80030c4: 4413 add r3, r2 + 80030c6: 623b str r3, [r7, #32] pbmp -= width*(bit_pixel/8); - 8003400: 693b ldr r3, [r7, #16] - 8003402: 08db lsrs r3, r3, #3 - 8003404: 69ba ldr r2, [r7, #24] - 8003406: fb02 f303 mul.w r3, r2, r3 - 800340a: 425b negs r3, r3 - 800340c: 687a ldr r2, [r7, #4] - 800340e: 4413 add r3, r2 - 8003410: 607b str r3, [r7, #4] + 80030c8: 693b ldr r3, [r7, #16] + 80030ca: 08db lsrs r3, r3, #3 + 80030cc: 69ba ldr r2, [r7, #24] + 80030ce: fb02 f303 mul.w r3, r2, r3 + 80030d2: 425b negs r3, r3 + 80030d4: 687a ldr r2, [r7, #4] + 80030d6: 4413 add r3, r2 + 80030d8: 607b str r3, [r7, #4] for(index=0; index < height; index++) - 8003412: 6a7b ldr r3, [r7, #36] ; 0x24 - 8003414: 3301 adds r3, #1 - 8003416: 627b str r3, [r7, #36] ; 0x24 - 8003418: 6a7a ldr r2, [r7, #36] ; 0x24 - 800341a: 697b ldr r3, [r7, #20] - 800341c: 429a cmp r2, r3 - 800341e: d3e2 bcc.n 80033e6 + 80030da: 6a7b ldr r3, [r7, #36] ; 0x24 + 80030dc: 3301 adds r3, #1 + 80030de: 627b str r3, [r7, #36] ; 0x24 + 80030e0: 6a7a ldr r2, [r7, #36] ; 0x24 + 80030e2: 697b ldr r3, [r7, #20] + 80030e4: 429a cmp r2, r3 + 80030e6: d3e2 bcc.n 80030ae } } - 8003420: bf00 nop - 8003422: 372c adds r7, #44 ; 0x2c - 8003424: 46bd mov sp, r7 - 8003426: bd90 pop {r4, r7, pc} - 8003428: 2000041c .word 0x2000041c - 800342c: 20008c38 .word 0x20008c38 + 80030e8: bf00 nop + 80030ea: 372c adds r7, #44 ; 0x2c + 80030ec: 46bd mov sp, r7 + 80030ee: bd90 pop {r4, r7, pc} + 80030f0: 2000041c .word 0x2000041c + 80030f4: 20008c34 .word 0x20008c34 -08003430 : +080030f8 : * @param Width: Rectangle width * @param Height: Rectangle height * @retval None */ void BSP_LCD_FillRect(uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height) { - 8003430: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8003434: b086 sub sp, #24 - 8003436: af02 add r7, sp, #8 - 8003438: 4604 mov r4, r0 - 800343a: 4608 mov r0, r1 - 800343c: 4611 mov r1, r2 - 800343e: 461a mov r2, r3 - 8003440: 4623 mov r3, r4 - 8003442: 80fb strh r3, [r7, #6] - 8003444: 4603 mov r3, r0 - 8003446: 80bb strh r3, [r7, #4] - 8003448: 460b mov r3, r1 - 800344a: 807b strh r3, [r7, #2] - 800344c: 4613 mov r3, r2 - 800344e: 803b strh r3, [r7, #0] + 80030f8: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 80030fc: b086 sub sp, #24 + 80030fe: af02 add r7, sp, #8 + 8003100: 4604 mov r4, r0 + 8003102: 4608 mov r0, r1 + 8003104: 4611 mov r1, r2 + 8003106: 461a mov r2, r3 + 8003108: 4623 mov r3, r4 + 800310a: 80fb strh r3, [r7, #6] + 800310c: 4603 mov r3, r0 + 800310e: 80bb strh r3, [r7, #4] + 8003110: 460b mov r3, r1 + 8003112: 807b strh r3, [r7, #2] + 8003114: 4613 mov r3, r2 + 8003116: 803b strh r3, [r7, #0] uint32_t x_address = 0; - 8003450: 2300 movs r3, #0 - 8003452: 60fb str r3, [r7, #12] + 8003118: 2300 movs r3, #0 + 800311a: 60fb str r3, [r7, #12] /* Set the text color */ BSP_LCD_SetTextColor(DrawProp[ActiveLayer].TextColor); - 8003454: 4b30 ldr r3, [pc, #192] ; (8003518 ) - 8003456: 681a ldr r2, [r3, #0] - 8003458: 4930 ldr r1, [pc, #192] ; (800351c ) - 800345a: 4613 mov r3, r2 - 800345c: 005b lsls r3, r3, #1 - 800345e: 4413 add r3, r2 - 8003460: 009b lsls r3, r3, #2 - 8003462: 440b add r3, r1 - 8003464: 681b ldr r3, [r3, #0] - 8003466: 4618 mov r0, r3 - 8003468: f7ff fbf2 bl 8002c50 + 800311c: 4b30 ldr r3, [pc, #192] ; (80031e0 ) + 800311e: 681a ldr r2, [r3, #0] + 8003120: 4930 ldr r1, [pc, #192] ; (80031e4 ) + 8003122: 4613 mov r3, r2 + 8003124: 005b lsls r3, r3, #1 + 8003126: 4413 add r3, r2 + 8003128: 009b lsls r3, r3, #2 + 800312a: 440b add r3, r1 + 800312c: 681b ldr r3, [r3, #0] + 800312e: 4618 mov r0, r3 + 8003130: f7ff fd28 bl 8002b84 /* Get the rectangle start address */ if(hLtdcHandler.LayerCfg[ActiveLayer].PixelFormat == LTDC_PIXEL_FORMAT_RGB565) - 800346c: 4b2a ldr r3, [pc, #168] ; (8003518 ) - 800346e: 681b ldr r3, [r3, #0] - 8003470: 4a2b ldr r2, [pc, #172] ; (8003520 ) - 8003472: 2134 movs r1, #52 ; 0x34 - 8003474: fb01 f303 mul.w r3, r1, r3 - 8003478: 4413 add r3, r2 - 800347a: 3348 adds r3, #72 ; 0x48 - 800347c: 681b ldr r3, [r3, #0] - 800347e: 2b02 cmp r3, #2 - 8003480: d114 bne.n 80034ac + 8003134: 4b2a ldr r3, [pc, #168] ; (80031e0 ) + 8003136: 681b ldr r3, [r3, #0] + 8003138: 4a2b ldr r2, [pc, #172] ; (80031e8 ) + 800313a: 2134 movs r1, #52 ; 0x34 + 800313c: fb01 f303 mul.w r3, r1, r3 + 8003140: 4413 add r3, r2 + 8003142: 3348 adds r3, #72 ; 0x48 + 8003144: 681b ldr r3, [r3, #0] + 8003146: 2b02 cmp r3, #2 + 8003148: d114 bne.n 8003174 { /* RGB565 format */ x_address = (hLtdcHandler.LayerCfg[ActiveLayer].FBStartAdress) + 2*(BSP_LCD_GetXSize()*Ypos + Xpos); - 8003482: 4b25 ldr r3, [pc, #148] ; (8003518 ) - 8003484: 681b ldr r3, [r3, #0] - 8003486: 4a26 ldr r2, [pc, #152] ; (8003520 ) - 8003488: 2134 movs r1, #52 ; 0x34 - 800348a: fb01 f303 mul.w r3, r1, r3 - 800348e: 4413 add r3, r2 - 8003490: 335c adds r3, #92 ; 0x5c - 8003492: 681c ldr r4, [r3, #0] - 8003494: f7ff fb44 bl 8002b20 - 8003498: 4602 mov r2, r0 - 800349a: 88bb ldrh r3, [r7, #4] - 800349c: fb03 f202 mul.w r2, r3, r2 - 80034a0: 88fb ldrh r3, [r7, #6] - 80034a2: 4413 add r3, r2 - 80034a4: 005b lsls r3, r3, #1 - 80034a6: 4423 add r3, r4 - 80034a8: 60fb str r3, [r7, #12] - 80034aa: e013 b.n 80034d4 + 800314a: 4b25 ldr r3, [pc, #148] ; (80031e0 ) + 800314c: 681b ldr r3, [r3, #0] + 800314e: 4a26 ldr r2, [pc, #152] ; (80031e8 ) + 8003150: 2134 movs r1, #52 ; 0x34 + 8003152: fb01 f303 mul.w r3, r1, r3 + 8003156: 4413 add r3, r2 + 8003158: 335c adds r3, #92 ; 0x5c + 800315a: 681c ldr r4, [r3, #0] + 800315c: f7ff fc7a bl 8002a54 + 8003160: 4602 mov r2, r0 + 8003162: 88bb ldrh r3, [r7, #4] + 8003164: fb03 f202 mul.w r2, r3, r2 + 8003168: 88fb ldrh r3, [r7, #6] + 800316a: 4413 add r3, r2 + 800316c: 005b lsls r3, r3, #1 + 800316e: 4423 add r3, r4 + 8003170: 60fb str r3, [r7, #12] + 8003172: e013 b.n 800319c } else { /* ARGB8888 format */ x_address = (hLtdcHandler.LayerCfg[ActiveLayer].FBStartAdress) + 4*(BSP_LCD_GetXSize()*Ypos + Xpos); - 80034ac: 4b1a ldr r3, [pc, #104] ; (8003518 ) - 80034ae: 681b ldr r3, [r3, #0] - 80034b0: 4a1b ldr r2, [pc, #108] ; (8003520 ) - 80034b2: 2134 movs r1, #52 ; 0x34 - 80034b4: fb01 f303 mul.w r3, r1, r3 - 80034b8: 4413 add r3, r2 - 80034ba: 335c adds r3, #92 ; 0x5c - 80034bc: 681c ldr r4, [r3, #0] - 80034be: f7ff fb2f bl 8002b20 - 80034c2: 4602 mov r2, r0 - 80034c4: 88bb ldrh r3, [r7, #4] - 80034c6: fb03 f202 mul.w r2, r3, r2 - 80034ca: 88fb ldrh r3, [r7, #6] - 80034cc: 4413 add r3, r2 - 80034ce: 009b lsls r3, r3, #2 - 80034d0: 4423 add r3, r4 - 80034d2: 60fb str r3, [r7, #12] + 8003174: 4b1a ldr r3, [pc, #104] ; (80031e0 ) + 8003176: 681b ldr r3, [r3, #0] + 8003178: 4a1b ldr r2, [pc, #108] ; (80031e8 ) + 800317a: 2134 movs r1, #52 ; 0x34 + 800317c: fb01 f303 mul.w r3, r1, r3 + 8003180: 4413 add r3, r2 + 8003182: 335c adds r3, #92 ; 0x5c + 8003184: 681c ldr r4, [r3, #0] + 8003186: f7ff fc65 bl 8002a54 + 800318a: 4602 mov r2, r0 + 800318c: 88bb ldrh r3, [r7, #4] + 800318e: fb03 f202 mul.w r2, r3, r2 + 8003192: 88fb ldrh r3, [r7, #6] + 8003194: 4413 add r3, r2 + 8003196: 009b lsls r3, r3, #2 + 8003198: 4423 add r3, r4 + 800319a: 60fb str r3, [r7, #12] } /* Fill the rectangle */ LL_FillBuffer(ActiveLayer, (uint32_t *)x_address, Width, Height, (BSP_LCD_GetXSize() - Width), DrawProp[ActiveLayer].TextColor); - 80034d4: 4b10 ldr r3, [pc, #64] ; (8003518 ) - 80034d6: 681c ldr r4, [r3, #0] - 80034d8: 68fd ldr r5, [r7, #12] - 80034da: 887e ldrh r6, [r7, #2] - 80034dc: f8b7 8000 ldrh.w r8, [r7] - 80034e0: f7ff fb1e bl 8002b20 - 80034e4: 4602 mov r2, r0 - 80034e6: 887b ldrh r3, [r7, #2] - 80034e8: 1ad1 subs r1, r2, r3 - 80034ea: 4b0b ldr r3, [pc, #44] ; (8003518 ) - 80034ec: 681a ldr r2, [r3, #0] - 80034ee: 480b ldr r0, [pc, #44] ; (800351c ) - 80034f0: 4613 mov r3, r2 - 80034f2: 005b lsls r3, r3, #1 - 80034f4: 4413 add r3, r2 - 80034f6: 009b lsls r3, r3, #2 - 80034f8: 4403 add r3, r0 - 80034fa: 681b ldr r3, [r3, #0] - 80034fc: 9301 str r3, [sp, #4] - 80034fe: 9100 str r1, [sp, #0] - 8003500: 4643 mov r3, r8 - 8003502: 4632 mov r2, r6 - 8003504: 4629 mov r1, r5 - 8003506: 4620 mov r0, r4 - 8003508: f000 fa78 bl 80039fc + 800319c: 4b10 ldr r3, [pc, #64] ; (80031e0 ) + 800319e: 681c ldr r4, [r3, #0] + 80031a0: 68fd ldr r5, [r7, #12] + 80031a2: 887e ldrh r6, [r7, #2] + 80031a4: f8b7 8000 ldrh.w r8, [r7] + 80031a8: f7ff fc54 bl 8002a54 + 80031ac: 4602 mov r2, r0 + 80031ae: 887b ldrh r3, [r7, #2] + 80031b0: 1ad1 subs r1, r2, r3 + 80031b2: 4b0b ldr r3, [pc, #44] ; (80031e0 ) + 80031b4: 681a ldr r2, [r3, #0] + 80031b6: 480b ldr r0, [pc, #44] ; (80031e4 ) + 80031b8: 4613 mov r3, r2 + 80031ba: 005b lsls r3, r3, #1 + 80031bc: 4413 add r3, r2 + 80031be: 009b lsls r3, r3, #2 + 80031c0: 4403 add r3, r0 + 80031c2: 681b ldr r3, [r3, #0] + 80031c4: 9301 str r3, [sp, #4] + 80031c6: 9100 str r1, [sp, #0] + 80031c8: 4643 mov r3, r8 + 80031ca: 4632 mov r2, r6 + 80031cc: 4629 mov r1, r5 + 80031ce: 4620 mov r0, r4 + 80031d0: f000 f9c0 bl 8003554 } - 800350c: bf00 nop - 800350e: 3710 adds r7, #16 - 8003510: 46bd mov sp, r7 - 8003512: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8003516: bf00 nop - 8003518: 2000041c .word 0x2000041c - 800351c: 20000420 .word 0x20000420 - 8003520: 20008c38 .word 0x20008c38 + 80031d4: bf00 nop + 80031d6: 3710 adds r7, #16 + 80031d8: 46bd mov sp, r7 + 80031da: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80031de: bf00 nop + 80031e0: 2000041c .word 0x2000041c + 80031e4: 20000420 .word 0x20000420 + 80031e8: 20008c34 .word 0x20008c34 -08003524 : +080031ec : * @param Ypos: Y position * @param Radius: Circle radius * @retval None */ void BSP_LCD_FillCircle(uint16_t Xpos, uint16_t Ypos, uint16_t Radius) { - 8003524: b580 push {r7, lr} - 8003526: b086 sub sp, #24 - 8003528: af00 add r7, sp, #0 - 800352a: 4603 mov r3, r0 - 800352c: 80fb strh r3, [r7, #6] - 800352e: 460b mov r3, r1 - 8003530: 80bb strh r3, [r7, #4] - 8003532: 4613 mov r3, r2 - 8003534: 807b strh r3, [r7, #2] + 80031ec: b580 push {r7, lr} + 80031ee: b086 sub sp, #24 + 80031f0: af00 add r7, sp, #0 + 80031f2: 4603 mov r3, r0 + 80031f4: 80fb strh r3, [r7, #6] + 80031f6: 460b mov r3, r1 + 80031f8: 80bb strh r3, [r7, #4] + 80031fa: 4613 mov r3, r2 + 80031fc: 807b strh r3, [r7, #2] int32_t decision; /* Decision Variable */ uint32_t current_x; /* Current X Value */ uint32_t current_y; /* Current Y Value */ decision = 3 - (Radius << 1); - 8003536: 887b ldrh r3, [r7, #2] - 8003538: 005b lsls r3, r3, #1 - 800353a: f1c3 0303 rsb r3, r3, #3 - 800353e: 617b str r3, [r7, #20] + 80031fe: 887b ldrh r3, [r7, #2] + 8003200: 005b lsls r3, r3, #1 + 8003202: f1c3 0303 rsb r3, r3, #3 + 8003206: 617b str r3, [r7, #20] current_x = 0; - 8003540: 2300 movs r3, #0 - 8003542: 613b str r3, [r7, #16] + 8003208: 2300 movs r3, #0 + 800320a: 613b str r3, [r7, #16] current_y = Radius; - 8003544: 887b ldrh r3, [r7, #2] - 8003546: 60fb str r3, [r7, #12] + 800320c: 887b ldrh r3, [r7, #2] + 800320e: 60fb str r3, [r7, #12] BSP_LCD_SetTextColor(DrawProp[ActiveLayer].TextColor); - 8003548: 4b44 ldr r3, [pc, #272] ; (800365c ) - 800354a: 681a ldr r2, [r3, #0] - 800354c: 4944 ldr r1, [pc, #272] ; (8003660 ) - 800354e: 4613 mov r3, r2 - 8003550: 005b lsls r3, r3, #1 - 8003552: 4413 add r3, r2 - 8003554: 009b lsls r3, r3, #2 - 8003556: 440b add r3, r1 - 8003558: 681b ldr r3, [r3, #0] - 800355a: 4618 mov r0, r3 - 800355c: f7ff fb78 bl 8002c50 + 8003210: 4b44 ldr r3, [pc, #272] ; (8003324 ) + 8003212: 681a ldr r2, [r3, #0] + 8003214: 4944 ldr r1, [pc, #272] ; (8003328 ) + 8003216: 4613 mov r3, r2 + 8003218: 005b lsls r3, r3, #1 + 800321a: 4413 add r3, r2 + 800321c: 009b lsls r3, r3, #2 + 800321e: 440b add r3, r1 + 8003220: 681b ldr r3, [r3, #0] + 8003222: 4618 mov r0, r3 + 8003224: f7ff fcae bl 8002b84 while (current_x <= current_y) - 8003560: e061 b.n 8003626 + 8003228: e061 b.n 80032ee { if(current_y > 0) - 8003562: 68fb ldr r3, [r7, #12] - 8003564: 2b00 cmp r3, #0 - 8003566: d021 beq.n 80035ac + 800322a: 68fb ldr r3, [r7, #12] + 800322c: 2b00 cmp r3, #0 + 800322e: d021 beq.n 8003274 { BSP_LCD_DrawHLine(Xpos - current_y, Ypos + current_x, 2*current_y); - 8003568: 68fb ldr r3, [r7, #12] - 800356a: b29b uxth r3, r3 - 800356c: 88fa ldrh r2, [r7, #6] - 800356e: 1ad3 subs r3, r2, r3 - 8003570: b298 uxth r0, r3 - 8003572: 693b ldr r3, [r7, #16] - 8003574: b29a uxth r2, r3 - 8003576: 88bb ldrh r3, [r7, #4] - 8003578: 4413 add r3, r2 - 800357a: b299 uxth r1, r3 - 800357c: 68fb ldr r3, [r7, #12] - 800357e: b29b uxth r3, r3 - 8003580: 005b lsls r3, r3, #1 - 8003582: b29b uxth r3, r3 - 8003584: 461a mov r2, r3 - 8003586: f7ff fd0d bl 8002fa4 + 8003230: 68fb ldr r3, [r7, #12] + 8003232: b29b uxth r3, r3 + 8003234: 88fa ldrh r2, [r7, #6] + 8003236: 1ad3 subs r3, r2, r3 + 8003238: b298 uxth r0, r3 + 800323a: 693b ldr r3, [r7, #16] + 800323c: b29a uxth r2, r3 + 800323e: 88bb ldrh r3, [r7, #4] + 8003240: 4413 add r3, r2 + 8003242: b299 uxth r1, r3 + 8003244: 68fb ldr r3, [r7, #12] + 8003246: b29b uxth r3, r3 + 8003248: 005b lsls r3, r3, #1 + 800324a: b29b uxth r3, r3 + 800324c: 461a mov r2, r3 + 800324e: f7ff fd0d bl 8002c6c BSP_LCD_DrawHLine(Xpos - current_y, Ypos - current_x, 2*current_y); - 800358a: 68fb ldr r3, [r7, #12] - 800358c: b29b uxth r3, r3 - 800358e: 88fa ldrh r2, [r7, #6] - 8003590: 1ad3 subs r3, r2, r3 - 8003592: b298 uxth r0, r3 - 8003594: 693b ldr r3, [r7, #16] - 8003596: b29b uxth r3, r3 - 8003598: 88ba ldrh r2, [r7, #4] - 800359a: 1ad3 subs r3, r2, r3 - 800359c: b299 uxth r1, r3 - 800359e: 68fb ldr r3, [r7, #12] - 80035a0: b29b uxth r3, r3 - 80035a2: 005b lsls r3, r3, #1 - 80035a4: b29b uxth r3, r3 - 80035a6: 461a mov r2, r3 - 80035a8: f7ff fcfc bl 8002fa4 + 8003252: 68fb ldr r3, [r7, #12] + 8003254: b29b uxth r3, r3 + 8003256: 88fa ldrh r2, [r7, #6] + 8003258: 1ad3 subs r3, r2, r3 + 800325a: b298 uxth r0, r3 + 800325c: 693b ldr r3, [r7, #16] + 800325e: b29b uxth r3, r3 + 8003260: 88ba ldrh r2, [r7, #4] + 8003262: 1ad3 subs r3, r2, r3 + 8003264: b299 uxth r1, r3 + 8003266: 68fb ldr r3, [r7, #12] + 8003268: b29b uxth r3, r3 + 800326a: 005b lsls r3, r3, #1 + 800326c: b29b uxth r3, r3 + 800326e: 461a mov r2, r3 + 8003270: f7ff fcfc bl 8002c6c } if(current_x > 0) - 80035ac: 693b ldr r3, [r7, #16] - 80035ae: 2b00 cmp r3, #0 - 80035b0: d021 beq.n 80035f6 + 8003274: 693b ldr r3, [r7, #16] + 8003276: 2b00 cmp r3, #0 + 8003278: d021 beq.n 80032be { BSP_LCD_DrawHLine(Xpos - current_x, Ypos - current_y, 2*current_x); - 80035b2: 693b ldr r3, [r7, #16] - 80035b4: b29b uxth r3, r3 - 80035b6: 88fa ldrh r2, [r7, #6] - 80035b8: 1ad3 subs r3, r2, r3 - 80035ba: b298 uxth r0, r3 - 80035bc: 68fb ldr r3, [r7, #12] - 80035be: b29b uxth r3, r3 - 80035c0: 88ba ldrh r2, [r7, #4] - 80035c2: 1ad3 subs r3, r2, r3 - 80035c4: b299 uxth r1, r3 - 80035c6: 693b ldr r3, [r7, #16] - 80035c8: b29b uxth r3, r3 - 80035ca: 005b lsls r3, r3, #1 - 80035cc: b29b uxth r3, r3 - 80035ce: 461a mov r2, r3 - 80035d0: f7ff fce8 bl 8002fa4 + 800327a: 693b ldr r3, [r7, #16] + 800327c: b29b uxth r3, r3 + 800327e: 88fa ldrh r2, [r7, #6] + 8003280: 1ad3 subs r3, r2, r3 + 8003282: b298 uxth r0, r3 + 8003284: 68fb ldr r3, [r7, #12] + 8003286: b29b uxth r3, r3 + 8003288: 88ba ldrh r2, [r7, #4] + 800328a: 1ad3 subs r3, r2, r3 + 800328c: b299 uxth r1, r3 + 800328e: 693b ldr r3, [r7, #16] + 8003290: b29b uxth r3, r3 + 8003292: 005b lsls r3, r3, #1 + 8003294: b29b uxth r3, r3 + 8003296: 461a mov r2, r3 + 8003298: f7ff fce8 bl 8002c6c BSP_LCD_DrawHLine(Xpos - current_x, Ypos + current_y, 2*current_x); - 80035d4: 693b ldr r3, [r7, #16] - 80035d6: b29b uxth r3, r3 - 80035d8: 88fa ldrh r2, [r7, #6] - 80035da: 1ad3 subs r3, r2, r3 - 80035dc: b298 uxth r0, r3 - 80035de: 68fb ldr r3, [r7, #12] - 80035e0: b29a uxth r2, r3 - 80035e2: 88bb ldrh r3, [r7, #4] - 80035e4: 4413 add r3, r2 - 80035e6: b299 uxth r1, r3 - 80035e8: 693b ldr r3, [r7, #16] - 80035ea: b29b uxth r3, r3 - 80035ec: 005b lsls r3, r3, #1 - 80035ee: b29b uxth r3, r3 - 80035f0: 461a mov r2, r3 - 80035f2: f7ff fcd7 bl 8002fa4 + 800329c: 693b ldr r3, [r7, #16] + 800329e: b29b uxth r3, r3 + 80032a0: 88fa ldrh r2, [r7, #6] + 80032a2: 1ad3 subs r3, r2, r3 + 80032a4: b298 uxth r0, r3 + 80032a6: 68fb ldr r3, [r7, #12] + 80032a8: b29a uxth r2, r3 + 80032aa: 88bb ldrh r3, [r7, #4] + 80032ac: 4413 add r3, r2 + 80032ae: b299 uxth r1, r3 + 80032b0: 693b ldr r3, [r7, #16] + 80032b2: b29b uxth r3, r3 + 80032b4: 005b lsls r3, r3, #1 + 80032b6: b29b uxth r3, r3 + 80032b8: 461a mov r2, r3 + 80032ba: f7ff fcd7 bl 8002c6c } if (decision < 0) - 80035f6: 697b ldr r3, [r7, #20] - 80035f8: 2b00 cmp r3, #0 - 80035fa: da06 bge.n 800360a + 80032be: 697b ldr r3, [r7, #20] + 80032c0: 2b00 cmp r3, #0 + 80032c2: da06 bge.n 80032d2 { decision += (current_x << 2) + 6; - 80035fc: 693b ldr r3, [r7, #16] - 80035fe: 009a lsls r2, r3, #2 - 8003600: 697b ldr r3, [r7, #20] - 8003602: 4413 add r3, r2 - 8003604: 3306 adds r3, #6 - 8003606: 617b str r3, [r7, #20] - 8003608: e00a b.n 8003620 + 80032c4: 693b ldr r3, [r7, #16] + 80032c6: 009a lsls r2, r3, #2 + 80032c8: 697b ldr r3, [r7, #20] + 80032ca: 4413 add r3, r2 + 80032cc: 3306 adds r3, #6 + 80032ce: 617b str r3, [r7, #20] + 80032d0: e00a b.n 80032e8 } else { decision += ((current_x - current_y) << 2) + 10; - 800360a: 693a ldr r2, [r7, #16] - 800360c: 68fb ldr r3, [r7, #12] - 800360e: 1ad3 subs r3, r2, r3 - 8003610: 009a lsls r2, r3, #2 - 8003612: 697b ldr r3, [r7, #20] - 8003614: 4413 add r3, r2 - 8003616: 330a adds r3, #10 - 8003618: 617b str r3, [r7, #20] + 80032d2: 693a ldr r2, [r7, #16] + 80032d4: 68fb ldr r3, [r7, #12] + 80032d6: 1ad3 subs r3, r2, r3 + 80032d8: 009a lsls r2, r3, #2 + 80032da: 697b ldr r3, [r7, #20] + 80032dc: 4413 add r3, r2 + 80032de: 330a adds r3, #10 + 80032e0: 617b str r3, [r7, #20] current_y--; - 800361a: 68fb ldr r3, [r7, #12] - 800361c: 3b01 subs r3, #1 - 800361e: 60fb str r3, [r7, #12] + 80032e2: 68fb ldr r3, [r7, #12] + 80032e4: 3b01 subs r3, #1 + 80032e6: 60fb str r3, [r7, #12] } current_x++; - 8003620: 693b ldr r3, [r7, #16] - 8003622: 3301 adds r3, #1 - 8003624: 613b str r3, [r7, #16] + 80032e8: 693b ldr r3, [r7, #16] + 80032ea: 3301 adds r3, #1 + 80032ec: 613b str r3, [r7, #16] while (current_x <= current_y) - 8003626: 693a ldr r2, [r7, #16] - 8003628: 68fb ldr r3, [r7, #12] - 800362a: 429a cmp r2, r3 - 800362c: d999 bls.n 8003562 + 80032ee: 693a ldr r2, [r7, #16] + 80032f0: 68fb ldr r3, [r7, #12] + 80032f2: 429a cmp r2, r3 + 80032f4: d999 bls.n 800322a } BSP_LCD_SetTextColor(DrawProp[ActiveLayer].TextColor); - 800362e: 4b0b ldr r3, [pc, #44] ; (800365c ) - 8003630: 681a ldr r2, [r3, #0] - 8003632: 490b ldr r1, [pc, #44] ; (8003660 ) - 8003634: 4613 mov r3, r2 - 8003636: 005b lsls r3, r3, #1 - 8003638: 4413 add r3, r2 - 800363a: 009b lsls r3, r3, #2 - 800363c: 440b add r3, r1 - 800363e: 681b ldr r3, [r3, #0] - 8003640: 4618 mov r0, r3 - 8003642: f7ff fb05 bl 8002c50 + 80032f6: 4b0b ldr r3, [pc, #44] ; (8003324 ) + 80032f8: 681a ldr r2, [r3, #0] + 80032fa: 490b ldr r1, [pc, #44] ; (8003328 ) + 80032fc: 4613 mov r3, r2 + 80032fe: 005b lsls r3, r3, #1 + 8003300: 4413 add r3, r2 + 8003302: 009b lsls r3, r3, #2 + 8003304: 440b add r3, r1 + 8003306: 681b ldr r3, [r3, #0] + 8003308: 4618 mov r0, r3 + 800330a: f7ff fc3b bl 8002b84 BSP_LCD_DrawCircle(Xpos, Ypos, Radius); - 8003646: 887a ldrh r2, [r7, #2] - 8003648: 88b9 ldrh r1, [r7, #4] - 800364a: 88fb ldrh r3, [r7, #6] - 800364c: 4618 mov r0, r3 - 800364e: f7ff fd07 bl 8003060 + 800330e: 887a ldrh r2, [r7, #2] + 8003310: 88b9 ldrh r1, [r7, #4] + 8003312: 88fb ldrh r3, [r7, #6] + 8003314: 4618 mov r0, r3 + 8003316: f7ff fd07 bl 8002d28 } - 8003652: bf00 nop - 8003654: 3718 adds r7, #24 - 8003656: 46bd mov sp, r7 - 8003658: bd80 pop {r7, pc} - 800365a: bf00 nop - 800365c: 2000041c .word 0x2000041c - 8003660: 20000420 .word 0x20000420 + 800331a: bf00 nop + 800331c: 3718 adds r7, #24 + 800331e: 46bd mov sp, r7 + 8003320: bd80 pop {r7, pc} + 8003322: bf00 nop + 8003324: 2000041c .word 0x2000041c + 8003328: 20000420 .word 0x20000420 -08003664 : +0800332c : /** * @brief Enables the display. * @retval None */ void BSP_LCD_DisplayOn(void) { - 8003664: b580 push {r7, lr} - 8003666: af00 add r7, sp, #0 + 800332c: b580 push {r7, lr} + 800332e: af00 add r7, sp, #0 /* Display On */ __HAL_LTDC_ENABLE(&hLtdcHandler); - 8003668: 4b0a ldr r3, [pc, #40] ; (8003694 ) - 800366a: 681b ldr r3, [r3, #0] - 800366c: 699a ldr r2, [r3, #24] - 800366e: 4b09 ldr r3, [pc, #36] ; (8003694 ) - 8003670: 681b ldr r3, [r3, #0] - 8003672: f042 0201 orr.w r2, r2, #1 - 8003676: 619a str r2, [r3, #24] + 8003330: 4b0a ldr r3, [pc, #40] ; (800335c ) + 8003332: 681b ldr r3, [r3, #0] + 8003334: 699a ldr r2, [r3, #24] + 8003336: 4b09 ldr r3, [pc, #36] ; (800335c ) + 8003338: 681b ldr r3, [r3, #0] + 800333a: f042 0201 orr.w r2, r2, #1 + 800333e: 619a str r2, [r3, #24] HAL_GPIO_WritePin(LCD_DISP_GPIO_PORT, LCD_DISP_PIN, GPIO_PIN_SET); /* Assert LCD_DISP pin */ - 8003678: 2201 movs r2, #1 - 800367a: f44f 5180 mov.w r1, #4096 ; 0x1000 - 800367e: 4806 ldr r0, [pc, #24] ; (8003698 ) - 8003680: f004 fa08 bl 8007a94 + 8003340: 2201 movs r2, #1 + 8003342: f44f 5180 mov.w r1, #4096 ; 0x1000 + 8003346: 4806 ldr r0, [pc, #24] ; (8003360 ) + 8003348: f004 f940 bl 80075cc HAL_GPIO_WritePin(LCD_BL_CTRL_GPIO_PORT, LCD_BL_CTRL_PIN, GPIO_PIN_SET); /* Assert LCD_BL_CTRL pin */ - 8003684: 2201 movs r2, #1 - 8003686: 2108 movs r1, #8 - 8003688: 4804 ldr r0, [pc, #16] ; (800369c ) - 800368a: f004 fa03 bl 8007a94 + 800334c: 2201 movs r2, #1 + 800334e: 2108 movs r1, #8 + 8003350: 4804 ldr r0, [pc, #16] ; (8003364 ) + 8003352: f004 f93b bl 80075cc } - 800368e: bf00 nop - 8003690: bd80 pop {r7, pc} - 8003692: bf00 nop - 8003694: 20008c38 .word 0x20008c38 - 8003698: 40022000 .word 0x40022000 - 800369c: 40022800 .word 0x40022800 + 8003356: bf00 nop + 8003358: bd80 pop {r7, pc} + 800335a: bf00 nop + 800335c: 20008c34 .word 0x20008c34 + 8003360: 40022000 .word 0x40022000 + 8003364: 40022800 .word 0x40022800 -080036a0 : +08003368 : * @param hltdc: LTDC handle * @param Params * @retval None */ __weak void BSP_LCD_MspInit(LTDC_HandleTypeDef *hltdc, void *Params) { - 80036a0: b580 push {r7, lr} - 80036a2: b090 sub sp, #64 ; 0x40 - 80036a4: af00 add r7, sp, #0 - 80036a6: 6078 str r0, [r7, #4] - 80036a8: 6039 str r1, [r7, #0] + 8003368: b580 push {r7, lr} + 800336a: b090 sub sp, #64 ; 0x40 + 800336c: af00 add r7, sp, #0 + 800336e: 6078 str r0, [r7, #4] + 8003370: 6039 str r1, [r7, #0] GPIO_InitTypeDef gpio_init_structure; /* Enable the LTDC and DMA2D clocks */ __HAL_RCC_LTDC_CLK_ENABLE(); - 80036aa: 4b64 ldr r3, [pc, #400] ; (800383c ) - 80036ac: 6c5b ldr r3, [r3, #68] ; 0x44 - 80036ae: 4a63 ldr r2, [pc, #396] ; (800383c ) - 80036b0: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 - 80036b4: 6453 str r3, [r2, #68] ; 0x44 - 80036b6: 4b61 ldr r3, [pc, #388] ; (800383c ) - 80036b8: 6c5b ldr r3, [r3, #68] ; 0x44 - 80036ba: f003 6380 and.w r3, r3, #67108864 ; 0x4000000 - 80036be: 62bb str r3, [r7, #40] ; 0x28 - 80036c0: 6abb ldr r3, [r7, #40] ; 0x28 + 8003372: 4b64 ldr r3, [pc, #400] ; (8003504 ) + 8003374: 6c5b ldr r3, [r3, #68] ; 0x44 + 8003376: 4a63 ldr r2, [pc, #396] ; (8003504 ) + 8003378: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 + 800337c: 6453 str r3, [r2, #68] ; 0x44 + 800337e: 4b61 ldr r3, [pc, #388] ; (8003504 ) + 8003380: 6c5b ldr r3, [r3, #68] ; 0x44 + 8003382: f003 6380 and.w r3, r3, #67108864 ; 0x4000000 + 8003386: 62bb str r3, [r7, #40] ; 0x28 + 8003388: 6abb ldr r3, [r7, #40] ; 0x28 __HAL_RCC_DMA2D_CLK_ENABLE(); - 80036c2: 4b5e ldr r3, [pc, #376] ; (800383c ) - 80036c4: 6b1b ldr r3, [r3, #48] ; 0x30 - 80036c6: 4a5d ldr r2, [pc, #372] ; (800383c ) - 80036c8: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 - 80036cc: 6313 str r3, [r2, #48] ; 0x30 - 80036ce: 4b5b ldr r3, [pc, #364] ; (800383c ) - 80036d0: 6b1b ldr r3, [r3, #48] ; 0x30 - 80036d2: f403 0300 and.w r3, r3, #8388608 ; 0x800000 - 80036d6: 627b str r3, [r7, #36] ; 0x24 - 80036d8: 6a7b ldr r3, [r7, #36] ; 0x24 + 800338a: 4b5e ldr r3, [pc, #376] ; (8003504 ) + 800338c: 6b1b ldr r3, [r3, #48] ; 0x30 + 800338e: 4a5d ldr r2, [pc, #372] ; (8003504 ) + 8003390: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 + 8003394: 6313 str r3, [r2, #48] ; 0x30 + 8003396: 4b5b ldr r3, [pc, #364] ; (8003504 ) + 8003398: 6b1b ldr r3, [r3, #48] ; 0x30 + 800339a: f403 0300 and.w r3, r3, #8388608 ; 0x800000 + 800339e: 627b str r3, [r7, #36] ; 0x24 + 80033a0: 6a7b ldr r3, [r7, #36] ; 0x24 /* Enable GPIOs clock */ __HAL_RCC_GPIOE_CLK_ENABLE(); - 80036da: 4b58 ldr r3, [pc, #352] ; (800383c ) - 80036dc: 6b1b ldr r3, [r3, #48] ; 0x30 - 80036de: 4a57 ldr r2, [pc, #348] ; (800383c ) - 80036e0: f043 0310 orr.w r3, r3, #16 - 80036e4: 6313 str r3, [r2, #48] ; 0x30 - 80036e6: 4b55 ldr r3, [pc, #340] ; (800383c ) - 80036e8: 6b1b ldr r3, [r3, #48] ; 0x30 - 80036ea: f003 0310 and.w r3, r3, #16 - 80036ee: 623b str r3, [r7, #32] - 80036f0: 6a3b ldr r3, [r7, #32] + 80033a2: 4b58 ldr r3, [pc, #352] ; (8003504 ) + 80033a4: 6b1b ldr r3, [r3, #48] ; 0x30 + 80033a6: 4a57 ldr r2, [pc, #348] ; (8003504 ) + 80033a8: f043 0310 orr.w r3, r3, #16 + 80033ac: 6313 str r3, [r2, #48] ; 0x30 + 80033ae: 4b55 ldr r3, [pc, #340] ; (8003504 ) + 80033b0: 6b1b ldr r3, [r3, #48] ; 0x30 + 80033b2: f003 0310 and.w r3, r3, #16 + 80033b6: 623b str r3, [r7, #32] + 80033b8: 6a3b ldr r3, [r7, #32] __HAL_RCC_GPIOG_CLK_ENABLE(); - 80036f2: 4b52 ldr r3, [pc, #328] ; (800383c ) - 80036f4: 6b1b ldr r3, [r3, #48] ; 0x30 - 80036f6: 4a51 ldr r2, [pc, #324] ; (800383c ) - 80036f8: f043 0340 orr.w r3, r3, #64 ; 0x40 - 80036fc: 6313 str r3, [r2, #48] ; 0x30 - 80036fe: 4b4f ldr r3, [pc, #316] ; (800383c ) - 8003700: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003702: f003 0340 and.w r3, r3, #64 ; 0x40 - 8003706: 61fb str r3, [r7, #28] - 8003708: 69fb ldr r3, [r7, #28] + 80033ba: 4b52 ldr r3, [pc, #328] ; (8003504 ) + 80033bc: 6b1b ldr r3, [r3, #48] ; 0x30 + 80033be: 4a51 ldr r2, [pc, #324] ; (8003504 ) + 80033c0: f043 0340 orr.w r3, r3, #64 ; 0x40 + 80033c4: 6313 str r3, [r2, #48] ; 0x30 + 80033c6: 4b4f ldr r3, [pc, #316] ; (8003504 ) + 80033c8: 6b1b ldr r3, [r3, #48] ; 0x30 + 80033ca: f003 0340 and.w r3, r3, #64 ; 0x40 + 80033ce: 61fb str r3, [r7, #28] + 80033d0: 69fb ldr r3, [r7, #28] __HAL_RCC_GPIOI_CLK_ENABLE(); - 800370a: 4b4c ldr r3, [pc, #304] ; (800383c ) - 800370c: 6b1b ldr r3, [r3, #48] ; 0x30 - 800370e: 4a4b ldr r2, [pc, #300] ; (800383c ) - 8003710: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8003714: 6313 str r3, [r2, #48] ; 0x30 - 8003716: 4b49 ldr r3, [pc, #292] ; (800383c ) - 8003718: 6b1b ldr r3, [r3, #48] ; 0x30 - 800371a: f403 7380 and.w r3, r3, #256 ; 0x100 - 800371e: 61bb str r3, [r7, #24] - 8003720: 69bb ldr r3, [r7, #24] + 80033d2: 4b4c ldr r3, [pc, #304] ; (8003504 ) + 80033d4: 6b1b ldr r3, [r3, #48] ; 0x30 + 80033d6: 4a4b ldr r2, [pc, #300] ; (8003504 ) + 80033d8: f443 7380 orr.w r3, r3, #256 ; 0x100 + 80033dc: 6313 str r3, [r2, #48] ; 0x30 + 80033de: 4b49 ldr r3, [pc, #292] ; (8003504 ) + 80033e0: 6b1b ldr r3, [r3, #48] ; 0x30 + 80033e2: f403 7380 and.w r3, r3, #256 ; 0x100 + 80033e6: 61bb str r3, [r7, #24] + 80033e8: 69bb ldr r3, [r7, #24] __HAL_RCC_GPIOJ_CLK_ENABLE(); - 8003722: 4b46 ldr r3, [pc, #280] ; (800383c ) - 8003724: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003726: 4a45 ldr r2, [pc, #276] ; (800383c ) - 8003728: f443 7300 orr.w r3, r3, #512 ; 0x200 - 800372c: 6313 str r3, [r2, #48] ; 0x30 - 800372e: 4b43 ldr r3, [pc, #268] ; (800383c ) - 8003730: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003732: f403 7300 and.w r3, r3, #512 ; 0x200 - 8003736: 617b str r3, [r7, #20] - 8003738: 697b ldr r3, [r7, #20] + 80033ea: 4b46 ldr r3, [pc, #280] ; (8003504 ) + 80033ec: 6b1b ldr r3, [r3, #48] ; 0x30 + 80033ee: 4a45 ldr r2, [pc, #276] ; (8003504 ) + 80033f0: f443 7300 orr.w r3, r3, #512 ; 0x200 + 80033f4: 6313 str r3, [r2, #48] ; 0x30 + 80033f6: 4b43 ldr r3, [pc, #268] ; (8003504 ) + 80033f8: 6b1b ldr r3, [r3, #48] ; 0x30 + 80033fa: f403 7300 and.w r3, r3, #512 ; 0x200 + 80033fe: 617b str r3, [r7, #20] + 8003400: 697b ldr r3, [r7, #20] __HAL_RCC_GPIOK_CLK_ENABLE(); - 800373a: 4b40 ldr r3, [pc, #256] ; (800383c ) - 800373c: 6b1b ldr r3, [r3, #48] ; 0x30 - 800373e: 4a3f ldr r2, [pc, #252] ; (800383c ) - 8003740: f443 6380 orr.w r3, r3, #1024 ; 0x400 - 8003744: 6313 str r3, [r2, #48] ; 0x30 - 8003746: 4b3d ldr r3, [pc, #244] ; (800383c ) - 8003748: 6b1b ldr r3, [r3, #48] ; 0x30 - 800374a: f403 6380 and.w r3, r3, #1024 ; 0x400 - 800374e: 613b str r3, [r7, #16] - 8003750: 693b ldr r3, [r7, #16] + 8003402: 4b40 ldr r3, [pc, #256] ; (8003504 ) + 8003404: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003406: 4a3f ldr r2, [pc, #252] ; (8003504 ) + 8003408: f443 6380 orr.w r3, r3, #1024 ; 0x400 + 800340c: 6313 str r3, [r2, #48] ; 0x30 + 800340e: 4b3d ldr r3, [pc, #244] ; (8003504 ) + 8003410: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003412: f403 6380 and.w r3, r3, #1024 ; 0x400 + 8003416: 613b str r3, [r7, #16] + 8003418: 693b ldr r3, [r7, #16] LCD_DISP_GPIO_CLK_ENABLE(); - 8003752: 4b3a ldr r3, [pc, #232] ; (800383c ) - 8003754: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003756: 4a39 ldr r2, [pc, #228] ; (800383c ) - 8003758: f443 7380 orr.w r3, r3, #256 ; 0x100 - 800375c: 6313 str r3, [r2, #48] ; 0x30 - 800375e: 4b37 ldr r3, [pc, #220] ; (800383c ) - 8003760: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003762: f403 7380 and.w r3, r3, #256 ; 0x100 - 8003766: 60fb str r3, [r7, #12] - 8003768: 68fb ldr r3, [r7, #12] + 800341a: 4b3a ldr r3, [pc, #232] ; (8003504 ) + 800341c: 6b1b ldr r3, [r3, #48] ; 0x30 + 800341e: 4a39 ldr r2, [pc, #228] ; (8003504 ) + 8003420: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8003424: 6313 str r3, [r2, #48] ; 0x30 + 8003426: 4b37 ldr r3, [pc, #220] ; (8003504 ) + 8003428: 6b1b ldr r3, [r3, #48] ; 0x30 + 800342a: f403 7380 and.w r3, r3, #256 ; 0x100 + 800342e: 60fb str r3, [r7, #12] + 8003430: 68fb ldr r3, [r7, #12] LCD_BL_CTRL_GPIO_CLK_ENABLE(); - 800376a: 4b34 ldr r3, [pc, #208] ; (800383c ) - 800376c: 6b1b ldr r3, [r3, #48] ; 0x30 - 800376e: 4a33 ldr r2, [pc, #204] ; (800383c ) - 8003770: f443 6380 orr.w r3, r3, #1024 ; 0x400 - 8003774: 6313 str r3, [r2, #48] ; 0x30 - 8003776: 4b31 ldr r3, [pc, #196] ; (800383c ) - 8003778: 6b1b ldr r3, [r3, #48] ; 0x30 - 800377a: f403 6380 and.w r3, r3, #1024 ; 0x400 - 800377e: 60bb str r3, [r7, #8] - 8003780: 68bb ldr r3, [r7, #8] + 8003432: 4b34 ldr r3, [pc, #208] ; (8003504 ) + 8003434: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003436: 4a33 ldr r2, [pc, #204] ; (8003504 ) + 8003438: f443 6380 orr.w r3, r3, #1024 ; 0x400 + 800343c: 6313 str r3, [r2, #48] ; 0x30 + 800343e: 4b31 ldr r3, [pc, #196] ; (8003504 ) + 8003440: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003442: f403 6380 and.w r3, r3, #1024 ; 0x400 + 8003446: 60bb str r3, [r7, #8] + 8003448: 68bb ldr r3, [r7, #8] /*** LTDC Pins configuration ***/ /* GPIOE configuration */ gpio_init_structure.Pin = GPIO_PIN_4; - 8003782: 2310 movs r3, #16 - 8003784: 62fb str r3, [r7, #44] ; 0x2c + 800344a: 2310 movs r3, #16 + 800344c: 62fb str r3, [r7, #44] ; 0x2c gpio_init_structure.Mode = GPIO_MODE_AF_PP; - 8003786: 2302 movs r3, #2 - 8003788: 633b str r3, [r7, #48] ; 0x30 + 800344e: 2302 movs r3, #2 + 8003450: 633b str r3, [r7, #48] ; 0x30 gpio_init_structure.Pull = GPIO_NOPULL; - 800378a: 2300 movs r3, #0 - 800378c: 637b str r3, [r7, #52] ; 0x34 + 8003452: 2300 movs r3, #0 + 8003454: 637b str r3, [r7, #52] ; 0x34 gpio_init_structure.Speed = GPIO_SPEED_FAST; - 800378e: 2302 movs r3, #2 - 8003790: 63bb str r3, [r7, #56] ; 0x38 + 8003456: 2302 movs r3, #2 + 8003458: 63bb str r3, [r7, #56] ; 0x38 gpio_init_structure.Alternate = GPIO_AF14_LTDC; - 8003792: 230e movs r3, #14 - 8003794: 63fb str r3, [r7, #60] ; 0x3c + 800345a: 230e movs r3, #14 + 800345c: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(GPIOE, &gpio_init_structure); - 8003796: f107 032c add.w r3, r7, #44 ; 0x2c - 800379a: 4619 mov r1, r3 - 800379c: 4828 ldr r0, [pc, #160] ; (8003840 ) - 800379e: f003 ffb7 bl 8007710 + 800345e: f107 032c add.w r3, r7, #44 ; 0x2c + 8003462: 4619 mov r1, r3 + 8003464: 4828 ldr r0, [pc, #160] ; (8003508 ) + 8003466: f003 ff07 bl 8007278 /* GPIOG configuration */ gpio_init_structure.Pin = GPIO_PIN_12; - 80037a2: f44f 5380 mov.w r3, #4096 ; 0x1000 - 80037a6: 62fb str r3, [r7, #44] ; 0x2c + 800346a: f44f 5380 mov.w r3, #4096 ; 0x1000 + 800346e: 62fb str r3, [r7, #44] ; 0x2c gpio_init_structure.Mode = GPIO_MODE_AF_PP; - 80037a8: 2302 movs r3, #2 - 80037aa: 633b str r3, [r7, #48] ; 0x30 + 8003470: 2302 movs r3, #2 + 8003472: 633b str r3, [r7, #48] ; 0x30 gpio_init_structure.Alternate = GPIO_AF9_LTDC; - 80037ac: 2309 movs r3, #9 - 80037ae: 63fb str r3, [r7, #60] ; 0x3c + 8003474: 2309 movs r3, #9 + 8003476: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(GPIOG, &gpio_init_structure); - 80037b0: f107 032c add.w r3, r7, #44 ; 0x2c - 80037b4: 4619 mov r1, r3 - 80037b6: 4823 ldr r0, [pc, #140] ; (8003844 ) - 80037b8: f003 ffaa bl 8007710 + 8003478: f107 032c add.w r3, r7, #44 ; 0x2c + 800347c: 4619 mov r1, r3 + 800347e: 4823 ldr r0, [pc, #140] ; (800350c ) + 8003480: f003 fefa bl 8007278 /* GPIOI LTDC alternate configuration */ gpio_init_structure.Pin = GPIO_PIN_9 | GPIO_PIN_10 | \ - 80037bc: f44f 4366 mov.w r3, #58880 ; 0xe600 - 80037c0: 62fb str r3, [r7, #44] ; 0x2c + 8003484: f44f 4366 mov.w r3, #58880 ; 0xe600 + 8003488: 62fb str r3, [r7, #44] ; 0x2c GPIO_PIN_13 | GPIO_PIN_14 | GPIO_PIN_15; gpio_init_structure.Mode = GPIO_MODE_AF_PP; - 80037c2: 2302 movs r3, #2 - 80037c4: 633b str r3, [r7, #48] ; 0x30 + 800348a: 2302 movs r3, #2 + 800348c: 633b str r3, [r7, #48] ; 0x30 gpio_init_structure.Alternate = GPIO_AF14_LTDC; - 80037c6: 230e movs r3, #14 - 80037c8: 63fb str r3, [r7, #60] ; 0x3c + 800348e: 230e movs r3, #14 + 8003490: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(GPIOI, &gpio_init_structure); - 80037ca: f107 032c add.w r3, r7, #44 ; 0x2c - 80037ce: 4619 mov r1, r3 - 80037d0: 481d ldr r0, [pc, #116] ; (8003848 ) - 80037d2: f003 ff9d bl 8007710 + 8003492: f107 032c add.w r3, r7, #44 ; 0x2c + 8003496: 4619 mov r1, r3 + 8003498: 481d ldr r0, [pc, #116] ; (8003510 ) + 800349a: f003 feed bl 8007278 /* GPIOJ configuration */ gpio_init_structure.Pin = GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3 | \ - 80037d6: f64e 73ff movw r3, #61439 ; 0xefff - 80037da: 62fb str r3, [r7, #44] ; 0x2c + 800349e: f64e 73ff movw r3, #61439 ; 0xefff + 80034a2: 62fb str r3, [r7, #44] ; 0x2c GPIO_PIN_4 | GPIO_PIN_5 | GPIO_PIN_6 | GPIO_PIN_7 | \ GPIO_PIN_8 | GPIO_PIN_9 | GPIO_PIN_10 | GPIO_PIN_11 | \ GPIO_PIN_13 | GPIO_PIN_14 | GPIO_PIN_15; gpio_init_structure.Mode = GPIO_MODE_AF_PP; - 80037dc: 2302 movs r3, #2 - 80037de: 633b str r3, [r7, #48] ; 0x30 + 80034a4: 2302 movs r3, #2 + 80034a6: 633b str r3, [r7, #48] ; 0x30 gpio_init_structure.Alternate = GPIO_AF14_LTDC; - 80037e0: 230e movs r3, #14 - 80037e2: 63fb str r3, [r7, #60] ; 0x3c + 80034a8: 230e movs r3, #14 + 80034aa: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(GPIOJ, &gpio_init_structure); - 80037e4: f107 032c add.w r3, r7, #44 ; 0x2c - 80037e8: 4619 mov r1, r3 - 80037ea: 4818 ldr r0, [pc, #96] ; (800384c ) - 80037ec: f003 ff90 bl 8007710 + 80034ac: f107 032c add.w r3, r7, #44 ; 0x2c + 80034b0: 4619 mov r1, r3 + 80034b2: 4818 ldr r0, [pc, #96] ; (8003514 ) + 80034b4: f003 fee0 bl 8007278 /* GPIOK configuration */ gpio_init_structure.Pin = GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_4 | \ - 80037f0: 23f7 movs r3, #247 ; 0xf7 - 80037f2: 62fb str r3, [r7, #44] ; 0x2c + 80034b8: 23f7 movs r3, #247 ; 0xf7 + 80034ba: 62fb str r3, [r7, #44] ; 0x2c GPIO_PIN_5 | GPIO_PIN_6 | GPIO_PIN_7; gpio_init_structure.Mode = GPIO_MODE_AF_PP; - 80037f4: 2302 movs r3, #2 - 80037f6: 633b str r3, [r7, #48] ; 0x30 + 80034bc: 2302 movs r3, #2 + 80034be: 633b str r3, [r7, #48] ; 0x30 gpio_init_structure.Alternate = GPIO_AF14_LTDC; - 80037f8: 230e movs r3, #14 - 80037fa: 63fb str r3, [r7, #60] ; 0x3c + 80034c0: 230e movs r3, #14 + 80034c2: 63fb str r3, [r7, #60] ; 0x3c HAL_GPIO_Init(GPIOK, &gpio_init_structure); - 80037fc: f107 032c add.w r3, r7, #44 ; 0x2c - 8003800: 4619 mov r1, r3 - 8003802: 4813 ldr r0, [pc, #76] ; (8003850 ) - 8003804: f003 ff84 bl 8007710 + 80034c4: f107 032c add.w r3, r7, #44 ; 0x2c + 80034c8: 4619 mov r1, r3 + 80034ca: 4813 ldr r0, [pc, #76] ; (8003518 ) + 80034cc: f003 fed4 bl 8007278 /* LCD_DISP GPIO configuration */ gpio_init_structure.Pin = LCD_DISP_PIN; /* LCD_DISP pin has to be manually controlled */ - 8003808: f44f 5380 mov.w r3, #4096 ; 0x1000 - 800380c: 62fb str r3, [r7, #44] ; 0x2c + 80034d0: f44f 5380 mov.w r3, #4096 ; 0x1000 + 80034d4: 62fb str r3, [r7, #44] ; 0x2c gpio_init_structure.Mode = GPIO_MODE_OUTPUT_PP; - 800380e: 2301 movs r3, #1 - 8003810: 633b str r3, [r7, #48] ; 0x30 + 80034d6: 2301 movs r3, #1 + 80034d8: 633b str r3, [r7, #48] ; 0x30 HAL_GPIO_Init(LCD_DISP_GPIO_PORT, &gpio_init_structure); - 8003812: f107 032c add.w r3, r7, #44 ; 0x2c - 8003816: 4619 mov r1, r3 - 8003818: 480b ldr r0, [pc, #44] ; (8003848 ) - 800381a: f003 ff79 bl 8007710 + 80034da: f107 032c add.w r3, r7, #44 ; 0x2c + 80034de: 4619 mov r1, r3 + 80034e0: 480b ldr r0, [pc, #44] ; (8003510 ) + 80034e2: f003 fec9 bl 8007278 /* LCD_BL_CTRL GPIO configuration */ gpio_init_structure.Pin = LCD_BL_CTRL_PIN; /* LCD_BL_CTRL pin has to be manually controlled */ - 800381e: 2308 movs r3, #8 - 8003820: 62fb str r3, [r7, #44] ; 0x2c + 80034e6: 2308 movs r3, #8 + 80034e8: 62fb str r3, [r7, #44] ; 0x2c gpio_init_structure.Mode = GPIO_MODE_OUTPUT_PP; - 8003822: 2301 movs r3, #1 - 8003824: 633b str r3, [r7, #48] ; 0x30 + 80034ea: 2301 movs r3, #1 + 80034ec: 633b str r3, [r7, #48] ; 0x30 HAL_GPIO_Init(LCD_BL_CTRL_GPIO_PORT, &gpio_init_structure); - 8003826: f107 032c add.w r3, r7, #44 ; 0x2c - 800382a: 4619 mov r1, r3 - 800382c: 4808 ldr r0, [pc, #32] ; (8003850 ) - 800382e: f003 ff6f bl 8007710 + 80034ee: f107 032c add.w r3, r7, #44 ; 0x2c + 80034f2: 4619 mov r1, r3 + 80034f4: 4808 ldr r0, [pc, #32] ; (8003518 ) + 80034f6: f003 febf bl 8007278 } - 8003832: bf00 nop - 8003834: 3740 adds r7, #64 ; 0x40 - 8003836: 46bd mov sp, r7 - 8003838: bd80 pop {r7, pc} - 800383a: bf00 nop - 800383c: 40023800 .word 0x40023800 - 8003840: 40021000 .word 0x40021000 - 8003844: 40021800 .word 0x40021800 - 8003848: 40022000 .word 0x40022000 - 800384c: 40022400 .word 0x40022400 - 8003850: 40022800 .word 0x40022800 + 80034fa: bf00 nop + 80034fc: 3740 adds r7, #64 ; 0x40 + 80034fe: 46bd mov sp, r7 + 8003500: bd80 pop {r7, pc} + 8003502: bf00 nop + 8003504: 40023800 .word 0x40023800 + 8003508: 40021000 .word 0x40021000 + 800350c: 40021800 .word 0x40021800 + 8003510: 40022000 .word 0x40022000 + 8003514: 40022400 .word 0x40022400 + 8003518: 40022800 .word 0x40022800 -08003854 : +0800351c : * @note This API is called by BSP_LCD_Init() * Being __weak it can be overwritten by the application * @retval None */ __weak void BSP_LCD_ClockConfig(LTDC_HandleTypeDef *hltdc, void *Params) { - 8003854: b580 push {r7, lr} - 8003856: b082 sub sp, #8 - 8003858: af00 add r7, sp, #0 - 800385a: 6078 str r0, [r7, #4] - 800385c: 6039 str r1, [r7, #0] + 800351c: b580 push {r7, lr} + 800351e: b082 sub sp, #8 + 8003520: af00 add r7, sp, #0 + 8003522: 6078 str r0, [r7, #4] + 8003524: 6039 str r1, [r7, #0] /* RK043FN48H LCD clock configuration */ /* PLLSAI_VCO Input = HSE_VALUE/PLL_M = 1 Mhz */ /* PLLSAI_VCO Output = PLLSAI_VCO Input * PLLSAIN = 192 Mhz */ /* PLLLCDCLK = PLLSAI_VCO Output/PLLSAIR = 192/5 = 38.4 Mhz */ /* LTDC clock frequency = PLLLCDCLK / LTDC_PLLSAI_DIVR_4 = 38.4/4 = 9.6Mhz */ periph_clk_init_struct.PeriphClockSelection = RCC_PERIPHCLK_LTDC; - 800385e: 4b0a ldr r3, [pc, #40] ; (8003888 ) - 8003860: 2208 movs r2, #8 - 8003862: 601a str r2, [r3, #0] + 8003526: 4b0a ldr r3, [pc, #40] ; (8003550 ) + 8003528: 2208 movs r2, #8 + 800352a: 601a str r2, [r3, #0] periph_clk_init_struct.PLLSAI.PLLSAIN = 192; - 8003864: 4b08 ldr r3, [pc, #32] ; (8003888 ) - 8003866: 22c0 movs r2, #192 ; 0xc0 - 8003868: 615a str r2, [r3, #20] + 800352c: 4b08 ldr r3, [pc, #32] ; (8003550 ) + 800352e: 22c0 movs r2, #192 ; 0xc0 + 8003530: 615a str r2, [r3, #20] periph_clk_init_struct.PLLSAI.PLLSAIR = RK043FN48H_FREQUENCY_DIVIDER; - 800386a: 4b07 ldr r3, [pc, #28] ; (8003888 ) - 800386c: 2205 movs r2, #5 - 800386e: 61da str r2, [r3, #28] + 8003532: 4b07 ldr r3, [pc, #28] ; (8003550 ) + 8003534: 2205 movs r2, #5 + 8003536: 61da str r2, [r3, #28] periph_clk_init_struct.PLLSAIDivR = RCC_PLLSAIDIVR_4; - 8003870: 4b05 ldr r3, [pc, #20] ; (8003888 ) - 8003872: f44f 3280 mov.w r2, #65536 ; 0x10000 - 8003876: 62da str r2, [r3, #44] ; 0x2c + 8003538: 4b05 ldr r3, [pc, #20] ; (8003550 ) + 800353a: f44f 3280 mov.w r2, #65536 ; 0x10000 + 800353e: 62da str r2, [r3, #44] ; 0x2c HAL_RCCEx_PeriphCLKConfig(&periph_clk_init_struct); - 8003878: 4803 ldr r0, [pc, #12] ; (8003888 ) - 800387a: f005 febd bl 80095f8 + 8003540: 4803 ldr r0, [pc, #12] ; (8003550 ) + 8003542: f005 fe27 bl 8009194 } - 800387e: bf00 nop - 8003880: 3708 adds r7, #8 - 8003882: 46bd mov sp, r7 - 8003884: bd80 pop {r7, pc} - 8003886: bf00 nop - 8003888: 20000438 .word 0x20000438 + 8003546: bf00 nop + 8003548: 3708 adds r7, #8 + 800354a: 46bd mov sp, r7 + 800354c: bd80 pop {r7, pc} + 800354e: bf00 nop + 8003550: 20000438 .word 0x20000438 -0800388c : - * @param Ypos: Start column address - * @param c: Pointer to the character data - * @retval None - */ -static void DrawChar(uint16_t Xpos, uint16_t Ypos, const uint8_t *c) -{ - 800388c: b580 push {r7, lr} - 800388e: b088 sub sp, #32 - 8003890: af00 add r7, sp, #0 - 8003892: 4603 mov r3, r0 - 8003894: 603a str r2, [r7, #0] - 8003896: 80fb strh r3, [r7, #6] - 8003898: 460b mov r3, r1 - 800389a: 80bb strh r3, [r7, #4] - uint32_t i = 0, j = 0; - 800389c: 2300 movs r3, #0 - 800389e: 61fb str r3, [r7, #28] - 80038a0: 2300 movs r3, #0 - 80038a2: 61bb str r3, [r7, #24] - uint16_t height, width; - uint8_t offset; - uint8_t *pchar; - uint32_t line; - - height = DrawProp[ActiveLayer].pFont->Height; - 80038a4: 4b53 ldr r3, [pc, #332] ; (80039f4 ) - 80038a6: 681a ldr r2, [r3, #0] - 80038a8: 4953 ldr r1, [pc, #332] ; (80039f8 ) - 80038aa: 4613 mov r3, r2 - 80038ac: 005b lsls r3, r3, #1 - 80038ae: 4413 add r3, r2 - 80038b0: 009b lsls r3, r3, #2 - 80038b2: 440b add r3, r1 - 80038b4: 3308 adds r3, #8 - 80038b6: 681b ldr r3, [r3, #0] - 80038b8: 88db ldrh r3, [r3, #6] - 80038ba: 827b strh r3, [r7, #18] - width = DrawProp[ActiveLayer].pFont->Width; - 80038bc: 4b4d ldr r3, [pc, #308] ; (80039f4 ) - 80038be: 681a ldr r2, [r3, #0] - 80038c0: 494d ldr r1, [pc, #308] ; (80039f8 ) - 80038c2: 4613 mov r3, r2 - 80038c4: 005b lsls r3, r3, #1 - 80038c6: 4413 add r3, r2 - 80038c8: 009b lsls r3, r3, #2 - 80038ca: 440b add r3, r1 - 80038cc: 3308 adds r3, #8 - 80038ce: 681b ldr r3, [r3, #0] - 80038d0: 889b ldrh r3, [r3, #4] - 80038d2: 823b strh r3, [r7, #16] - - offset = 8 *((width + 7)/8) - width ; - 80038d4: 8a3b ldrh r3, [r7, #16] - 80038d6: 3307 adds r3, #7 - 80038d8: 2b00 cmp r3, #0 - 80038da: da00 bge.n 80038de - 80038dc: 3307 adds r3, #7 - 80038de: 10db asrs r3, r3, #3 - 80038e0: b2db uxtb r3, r3 - 80038e2: 00db lsls r3, r3, #3 - 80038e4: b2da uxtb r2, r3 - 80038e6: 8a3b ldrh r3, [r7, #16] - 80038e8: b2db uxtb r3, r3 - 80038ea: 1ad3 subs r3, r2, r3 - 80038ec: 73fb strb r3, [r7, #15] - - for(i = 0; i < height; i++) - 80038ee: 2300 movs r3, #0 - 80038f0: 61fb str r3, [r7, #28] - 80038f2: e076 b.n 80039e2 - { - pchar = ((uint8_t *)c + (width + 7)/8 * i); - 80038f4: 8a3b ldrh r3, [r7, #16] - 80038f6: 3307 adds r3, #7 - 80038f8: 2b00 cmp r3, #0 - 80038fa: da00 bge.n 80038fe - 80038fc: 3307 adds r3, #7 - 80038fe: 10db asrs r3, r3, #3 - 8003900: 461a mov r2, r3 - 8003902: 69fb ldr r3, [r7, #28] - 8003904: fb03 f302 mul.w r3, r3, r2 - 8003908: 683a ldr r2, [r7, #0] - 800390a: 4413 add r3, r2 - 800390c: 60bb str r3, [r7, #8] - - switch(((width + 7)/8)) - 800390e: 8a3b ldrh r3, [r7, #16] - 8003910: 3307 adds r3, #7 - 8003912: 2b00 cmp r3, #0 - 8003914: da00 bge.n 8003918 - 8003916: 3307 adds r3, #7 - 8003918: 10db asrs r3, r3, #3 - 800391a: 2b01 cmp r3, #1 - 800391c: d002 beq.n 8003924 - 800391e: 2b02 cmp r3, #2 - 8003920: d004 beq.n 800392c - 8003922: e00c b.n 800393e - { - - case 1: - line = pchar[0]; - 8003924: 68bb ldr r3, [r7, #8] - 8003926: 781b ldrb r3, [r3, #0] - 8003928: 617b str r3, [r7, #20] - break; - 800392a: e016 b.n 800395a - - case 2: - line = (pchar[0]<< 8) | pchar[1]; - 800392c: 68bb ldr r3, [r7, #8] - 800392e: 781b ldrb r3, [r3, #0] - 8003930: 021b lsls r3, r3, #8 - 8003932: 68ba ldr r2, [r7, #8] - 8003934: 3201 adds r2, #1 - 8003936: 7812 ldrb r2, [r2, #0] - 8003938: 4313 orrs r3, r2 - 800393a: 617b str r3, [r7, #20] - break; - 800393c: e00d b.n 800395a - - case 3: - default: - line = (pchar[0]<< 16) | (pchar[1]<< 8) | pchar[2]; - 800393e: 68bb ldr r3, [r7, #8] - 8003940: 781b ldrb r3, [r3, #0] - 8003942: 041a lsls r2, r3, #16 - 8003944: 68bb ldr r3, [r7, #8] - 8003946: 3301 adds r3, #1 - 8003948: 781b ldrb r3, [r3, #0] - 800394a: 021b lsls r3, r3, #8 - 800394c: 4313 orrs r3, r2 - 800394e: 68ba ldr r2, [r7, #8] - 8003950: 3202 adds r2, #2 - 8003952: 7812 ldrb r2, [r2, #0] - 8003954: 4313 orrs r3, r2 - 8003956: 617b str r3, [r7, #20] - break; - 8003958: bf00 nop - } - - for (j = 0; j < width; j++) - 800395a: 2300 movs r3, #0 - 800395c: 61bb str r3, [r7, #24] - 800395e: e036 b.n 80039ce - { - if(line & (1 << (width- j + offset- 1))) - 8003960: 8a3a ldrh r2, [r7, #16] - 8003962: 69bb ldr r3, [r7, #24] - 8003964: 1ad2 subs r2, r2, r3 - 8003966: 7bfb ldrb r3, [r7, #15] - 8003968: 4413 add r3, r2 - 800396a: 3b01 subs r3, #1 - 800396c: 2201 movs r2, #1 - 800396e: fa02 f303 lsl.w r3, r2, r3 - 8003972: 461a mov r2, r3 - 8003974: 697b ldr r3, [r7, #20] - 8003976: 4013 ands r3, r2 - 8003978: 2b00 cmp r3, #0 - 800397a: d012 beq.n 80039a2 - { - BSP_LCD_DrawPixel((Xpos + j), Ypos, DrawProp[ActiveLayer].TextColor); - 800397c: 69bb ldr r3, [r7, #24] - 800397e: b29a uxth r2, r3 - 8003980: 88fb ldrh r3, [r7, #6] - 8003982: 4413 add r3, r2 - 8003984: b298 uxth r0, r3 - 8003986: 4b1b ldr r3, [pc, #108] ; (80039f4 ) - 8003988: 681a ldr r2, [r3, #0] - 800398a: 491b ldr r1, [pc, #108] ; (80039f8 ) - 800398c: 4613 mov r3, r2 - 800398e: 005b lsls r3, r3, #1 - 8003990: 4413 add r3, r2 - 8003992: 009b lsls r3, r3, #2 - 8003994: 440b add r3, r1 - 8003996: 681a ldr r2, [r3, #0] - 8003998: 88bb ldrh r3, [r7, #4] - 800399a: 4619 mov r1, r3 - 800399c: f7ff fc50 bl 8003240 - 80039a0: e012 b.n 80039c8 - } - else - { - BSP_LCD_DrawPixel((Xpos + j), Ypos, DrawProp[ActiveLayer].BackColor); - 80039a2: 69bb ldr r3, [r7, #24] - 80039a4: b29a uxth r2, r3 - 80039a6: 88fb ldrh r3, [r7, #6] - 80039a8: 4413 add r3, r2 - 80039aa: b298 uxth r0, r3 - 80039ac: 4b11 ldr r3, [pc, #68] ; (80039f4 ) - 80039ae: 681a ldr r2, [r3, #0] - 80039b0: 4911 ldr r1, [pc, #68] ; (80039f8 ) - 80039b2: 4613 mov r3, r2 - 80039b4: 005b lsls r3, r3, #1 - 80039b6: 4413 add r3, r2 - 80039b8: 009b lsls r3, r3, #2 - 80039ba: 440b add r3, r1 - 80039bc: 3304 adds r3, #4 - 80039be: 681a ldr r2, [r3, #0] - 80039c0: 88bb ldrh r3, [r7, #4] - 80039c2: 4619 mov r1, r3 - 80039c4: f7ff fc3c bl 8003240 - for (j = 0; j < width; j++) - 80039c8: 69bb ldr r3, [r7, #24] - 80039ca: 3301 adds r3, #1 - 80039cc: 61bb str r3, [r7, #24] - 80039ce: 8a3b ldrh r3, [r7, #16] - 80039d0: 69ba ldr r2, [r7, #24] - 80039d2: 429a cmp r2, r3 - 80039d4: d3c4 bcc.n 8003960 - } - } - Ypos++; - 80039d6: 88bb ldrh r3, [r7, #4] - 80039d8: 3301 adds r3, #1 - 80039da: 80bb strh r3, [r7, #4] - for(i = 0; i < height; i++) - 80039dc: 69fb ldr r3, [r7, #28] - 80039de: 3301 adds r3, #1 - 80039e0: 61fb str r3, [r7, #28] - 80039e2: 8a7b ldrh r3, [r7, #18] - 80039e4: 69fa ldr r2, [r7, #28] - 80039e6: 429a cmp r2, r3 - 80039e8: d384 bcc.n 80038f4 - } -} - 80039ea: bf00 nop - 80039ec: 3720 adds r7, #32 - 80039ee: 46bd mov sp, r7 - 80039f0: bd80 pop {r7, pc} - 80039f2: bf00 nop - 80039f4: 2000041c .word 0x2000041c - 80039f8: 20000420 .word 0x20000420 - -080039fc : +08003554 : * @param OffLine: Offset * @param ColorIndex: Color index * @retval None */ static void LL_FillBuffer(uint32_t LayerIndex, void *pDst, uint32_t xSize, uint32_t ySize, uint32_t OffLine, uint32_t ColorIndex) { - 80039fc: b580 push {r7, lr} - 80039fe: b086 sub sp, #24 - 8003a00: af02 add r7, sp, #8 - 8003a02: 60f8 str r0, [r7, #12] - 8003a04: 60b9 str r1, [r7, #8] - 8003a06: 607a str r2, [r7, #4] - 8003a08: 603b str r3, [r7, #0] + 8003554: b580 push {r7, lr} + 8003556: b086 sub sp, #24 + 8003558: af02 add r7, sp, #8 + 800355a: 60f8 str r0, [r7, #12] + 800355c: 60b9 str r1, [r7, #8] + 800355e: 607a str r2, [r7, #4] + 8003560: 603b str r3, [r7, #0] /* Register to memory mode with ARGB8888 as color Mode */ hDma2dHandler.Init.Mode = DMA2D_R2M; - 8003a0a: 4b1e ldr r3, [pc, #120] ; (8003a84 ) - 8003a0c: f44f 3240 mov.w r2, #196608 ; 0x30000 - 8003a10: 605a str r2, [r3, #4] + 8003562: 4b1e ldr r3, [pc, #120] ; (80035dc ) + 8003564: f44f 3240 mov.w r2, #196608 ; 0x30000 + 8003568: 605a str r2, [r3, #4] if(hLtdcHandler.LayerCfg[ActiveLayer].PixelFormat == LTDC_PIXEL_FORMAT_RGB565) - 8003a12: 4b1d ldr r3, [pc, #116] ; (8003a88 ) - 8003a14: 681b ldr r3, [r3, #0] - 8003a16: 4a1d ldr r2, [pc, #116] ; (8003a8c ) - 8003a18: 2134 movs r1, #52 ; 0x34 - 8003a1a: fb01 f303 mul.w r3, r1, r3 - 8003a1e: 4413 add r3, r2 - 8003a20: 3348 adds r3, #72 ; 0x48 - 8003a22: 681b ldr r3, [r3, #0] - 8003a24: 2b02 cmp r3, #2 - 8003a26: d103 bne.n 8003a30 + 800356a: 4b1d ldr r3, [pc, #116] ; (80035e0 ) + 800356c: 681b ldr r3, [r3, #0] + 800356e: 4a1d ldr r2, [pc, #116] ; (80035e4 ) + 8003570: 2134 movs r1, #52 ; 0x34 + 8003572: fb01 f303 mul.w r3, r1, r3 + 8003576: 4413 add r3, r2 + 8003578: 3348 adds r3, #72 ; 0x48 + 800357a: 681b ldr r3, [r3, #0] + 800357c: 2b02 cmp r3, #2 + 800357e: d103 bne.n 8003588 { /* RGB565 format */ hDma2dHandler.Init.ColorMode = DMA2D_RGB565; - 8003a28: 4b16 ldr r3, [pc, #88] ; (8003a84 ) - 8003a2a: 2202 movs r2, #2 - 8003a2c: 609a str r2, [r3, #8] - 8003a2e: e002 b.n 8003a36 + 8003580: 4b16 ldr r3, [pc, #88] ; (80035dc ) + 8003582: 2202 movs r2, #2 + 8003584: 609a str r2, [r3, #8] + 8003586: e002 b.n 800358e } else { /* ARGB8888 format */ hDma2dHandler.Init.ColorMode = DMA2D_ARGB8888; - 8003a30: 4b14 ldr r3, [pc, #80] ; (8003a84 ) - 8003a32: 2200 movs r2, #0 - 8003a34: 609a str r2, [r3, #8] + 8003588: 4b14 ldr r3, [pc, #80] ; (80035dc ) + 800358a: 2200 movs r2, #0 + 800358c: 609a str r2, [r3, #8] } hDma2dHandler.Init.OutputOffset = OffLine; - 8003a36: 4a13 ldr r2, [pc, #76] ; (8003a84 ) - 8003a38: 69bb ldr r3, [r7, #24] - 8003a3a: 60d3 str r3, [r2, #12] + 800358e: 4a13 ldr r2, [pc, #76] ; (80035dc ) + 8003590: 69bb ldr r3, [r7, #24] + 8003592: 60d3 str r3, [r2, #12] hDma2dHandler.Instance = DMA2D; - 8003a3c: 4b11 ldr r3, [pc, #68] ; (8003a84 ) - 8003a3e: 4a14 ldr r2, [pc, #80] ; (8003a90 ) - 8003a40: 601a str r2, [r3, #0] + 8003594: 4b11 ldr r3, [pc, #68] ; (80035dc ) + 8003596: 4a14 ldr r2, [pc, #80] ; (80035e8 ) + 8003598: 601a str r2, [r3, #0] /* DMA2D Initialization */ if(HAL_DMA2D_Init(&hDma2dHandler) == HAL_OK) - 8003a42: 4810 ldr r0, [pc, #64] ; (8003a84 ) - 8003a44: f002 fa52 bl 8005eec - 8003a48: 4603 mov r3, r0 - 8003a4a: 2b00 cmp r3, #0 - 8003a4c: d115 bne.n 8003a7a + 800359a: 4810 ldr r0, [pc, #64] ; (80035dc ) + 800359c: f002 fa5a bl 8005a54 + 80035a0: 4603 mov r3, r0 + 80035a2: 2b00 cmp r3, #0 + 80035a4: d115 bne.n 80035d2 { if(HAL_DMA2D_ConfigLayer(&hDma2dHandler, LayerIndex) == HAL_OK) - 8003a4e: 68f9 ldr r1, [r7, #12] - 8003a50: 480c ldr r0, [pc, #48] ; (8003a84 ) - 8003a52: f002 fba9 bl 80061a8 - 8003a56: 4603 mov r3, r0 - 8003a58: 2b00 cmp r3, #0 - 8003a5a: d10e bne.n 8003a7a + 80035a6: 68f9 ldr r1, [r7, #12] + 80035a8: 480c ldr r0, [pc, #48] ; (80035dc ) + 80035aa: f002 fbb1 bl 8005d10 + 80035ae: 4603 mov r3, r0 + 80035b0: 2b00 cmp r3, #0 + 80035b2: d10e bne.n 80035d2 { if (HAL_DMA2D_Start(&hDma2dHandler, ColorIndex, (uint32_t)pDst, xSize, ySize) == HAL_OK) - 8003a5c: 68ba ldr r2, [r7, #8] - 8003a5e: 683b ldr r3, [r7, #0] - 8003a60: 9300 str r3, [sp, #0] - 8003a62: 687b ldr r3, [r7, #4] - 8003a64: 69f9 ldr r1, [r7, #28] - 8003a66: 4807 ldr r0, [pc, #28] ; (8003a84 ) - 8003a68: f002 fa8a bl 8005f80 - 8003a6c: 4603 mov r3, r0 - 8003a6e: 2b00 cmp r3, #0 - 8003a70: d103 bne.n 8003a7a + 80035b4: 68ba ldr r2, [r7, #8] + 80035b6: 683b ldr r3, [r7, #0] + 80035b8: 9300 str r3, [sp, #0] + 80035ba: 687b ldr r3, [r7, #4] + 80035bc: 69f9 ldr r1, [r7, #28] + 80035be: 4807 ldr r0, [pc, #28] ; (80035dc ) + 80035c0: f002 fa92 bl 8005ae8 + 80035c4: 4603 mov r3, r0 + 80035c6: 2b00 cmp r3, #0 + 80035c8: d103 bne.n 80035d2 { /* Polling For DMA transfer */ HAL_DMA2D_PollForTransfer(&hDma2dHandler, 10); - 8003a72: 210a movs r1, #10 - 8003a74: 4803 ldr r0, [pc, #12] ; (8003a84 ) - 8003a76: f002 faae bl 8005fd6 + 80035ca: 210a movs r1, #10 + 80035cc: 4803 ldr r0, [pc, #12] ; (80035dc ) + 80035ce: f002 fab6 bl 8005b3e } } } } - 8003a7a: bf00 nop - 8003a7c: 3710 adds r7, #16 - 8003a7e: 46bd mov sp, r7 - 8003a80: bd80 pop {r7, pc} - 8003a82: bf00 nop - 8003a84: 200003dc .word 0x200003dc - 8003a88: 2000041c .word 0x2000041c - 8003a8c: 20008c38 .word 0x20008c38 - 8003a90: 4002b000 .word 0x4002b000 + 80035d2: bf00 nop + 80035d4: 3710 adds r7, #16 + 80035d6: 46bd mov sp, r7 + 80035d8: bd80 pop {r7, pc} + 80035da: bf00 nop + 80035dc: 200003dc .word 0x200003dc + 80035e0: 2000041c .word 0x2000041c + 80035e4: 20008c34 .word 0x20008c34 + 80035e8: 4002b000 .word 0x4002b000 -08003a94 : +080035ec : * @param xSize: Buffer width * @param ColorMode: Input color mode * @retval None */ static void LL_ConvertLineToARGB8888(void *pSrc, void *pDst, uint32_t xSize, uint32_t ColorMode) { - 8003a94: b580 push {r7, lr} - 8003a96: b086 sub sp, #24 - 8003a98: af02 add r7, sp, #8 - 8003a9a: 60f8 str r0, [r7, #12] - 8003a9c: 60b9 str r1, [r7, #8] - 8003a9e: 607a str r2, [r7, #4] - 8003aa0: 603b str r3, [r7, #0] + 80035ec: b580 push {r7, lr} + 80035ee: b086 sub sp, #24 + 80035f0: af02 add r7, sp, #8 + 80035f2: 60f8 str r0, [r7, #12] + 80035f4: 60b9 str r1, [r7, #8] + 80035f6: 607a str r2, [r7, #4] + 80035f8: 603b str r3, [r7, #0] /* Configure the DMA2D Mode, Color Mode and output offset */ hDma2dHandler.Init.Mode = DMA2D_M2M_PFC; - 8003aa2: 4b1c ldr r3, [pc, #112] ; (8003b14 ) - 8003aa4: f44f 3280 mov.w r2, #65536 ; 0x10000 - 8003aa8: 605a str r2, [r3, #4] + 80035fa: 4b1c ldr r3, [pc, #112] ; (800366c ) + 80035fc: f44f 3280 mov.w r2, #65536 ; 0x10000 + 8003600: 605a str r2, [r3, #4] hDma2dHandler.Init.ColorMode = DMA2D_ARGB8888; - 8003aaa: 4b1a ldr r3, [pc, #104] ; (8003b14 ) - 8003aac: 2200 movs r2, #0 - 8003aae: 609a str r2, [r3, #8] + 8003602: 4b1a ldr r3, [pc, #104] ; (800366c ) + 8003604: 2200 movs r2, #0 + 8003606: 609a str r2, [r3, #8] hDma2dHandler.Init.OutputOffset = 0; - 8003ab0: 4b18 ldr r3, [pc, #96] ; (8003b14 ) - 8003ab2: 2200 movs r2, #0 - 8003ab4: 60da str r2, [r3, #12] + 8003608: 4b18 ldr r3, [pc, #96] ; (800366c ) + 800360a: 2200 movs r2, #0 + 800360c: 60da str r2, [r3, #12] /* Foreground Configuration */ hDma2dHandler.LayerCfg[1].AlphaMode = DMA2D_NO_MODIF_ALPHA; - 8003ab6: 4b17 ldr r3, [pc, #92] ; (8003b14 ) - 8003ab8: 2200 movs r2, #0 - 8003aba: 631a str r2, [r3, #48] ; 0x30 + 800360e: 4b17 ldr r3, [pc, #92] ; (800366c ) + 8003610: 2200 movs r2, #0 + 8003612: 631a str r2, [r3, #48] ; 0x30 hDma2dHandler.LayerCfg[1].InputAlpha = 0xFF; - 8003abc: 4b15 ldr r3, [pc, #84] ; (8003b14 ) - 8003abe: 22ff movs r2, #255 ; 0xff - 8003ac0: 635a str r2, [r3, #52] ; 0x34 + 8003614: 4b15 ldr r3, [pc, #84] ; (800366c ) + 8003616: 22ff movs r2, #255 ; 0xff + 8003618: 635a str r2, [r3, #52] ; 0x34 hDma2dHandler.LayerCfg[1].InputColorMode = ColorMode; - 8003ac2: 4a14 ldr r2, [pc, #80] ; (8003b14 ) - 8003ac4: 683b ldr r3, [r7, #0] - 8003ac6: 62d3 str r3, [r2, #44] ; 0x2c + 800361a: 4a14 ldr r2, [pc, #80] ; (800366c ) + 800361c: 683b ldr r3, [r7, #0] + 800361e: 62d3 str r3, [r2, #44] ; 0x2c hDma2dHandler.LayerCfg[1].InputOffset = 0; - 8003ac8: 4b12 ldr r3, [pc, #72] ; (8003b14 ) - 8003aca: 2200 movs r2, #0 - 8003acc: 629a str r2, [r3, #40] ; 0x28 + 8003620: 4b12 ldr r3, [pc, #72] ; (800366c ) + 8003622: 2200 movs r2, #0 + 8003624: 629a str r2, [r3, #40] ; 0x28 hDma2dHandler.Instance = DMA2D; - 8003ace: 4b11 ldr r3, [pc, #68] ; (8003b14 ) - 8003ad0: 4a11 ldr r2, [pc, #68] ; (8003b18 ) - 8003ad2: 601a str r2, [r3, #0] + 8003626: 4b11 ldr r3, [pc, #68] ; (800366c ) + 8003628: 4a11 ldr r2, [pc, #68] ; (8003670 ) + 800362a: 601a str r2, [r3, #0] /* DMA2D Initialization */ if(HAL_DMA2D_Init(&hDma2dHandler) == HAL_OK) - 8003ad4: 480f ldr r0, [pc, #60] ; (8003b14 ) - 8003ad6: f002 fa09 bl 8005eec - 8003ada: 4603 mov r3, r0 - 8003adc: 2b00 cmp r3, #0 - 8003ade: d115 bne.n 8003b0c + 800362c: 480f ldr r0, [pc, #60] ; (800366c ) + 800362e: f002 fa11 bl 8005a54 + 8003632: 4603 mov r3, r0 + 8003634: 2b00 cmp r3, #0 + 8003636: d115 bne.n 8003664 { if(HAL_DMA2D_ConfigLayer(&hDma2dHandler, 1) == HAL_OK) - 8003ae0: 2101 movs r1, #1 - 8003ae2: 480c ldr r0, [pc, #48] ; (8003b14 ) - 8003ae4: f002 fb60 bl 80061a8 - 8003ae8: 4603 mov r3, r0 - 8003aea: 2b00 cmp r3, #0 - 8003aec: d10e bne.n 8003b0c + 8003638: 2101 movs r1, #1 + 800363a: 480c ldr r0, [pc, #48] ; (800366c ) + 800363c: f002 fb68 bl 8005d10 + 8003640: 4603 mov r3, r0 + 8003642: 2b00 cmp r3, #0 + 8003644: d10e bne.n 8003664 { if (HAL_DMA2D_Start(&hDma2dHandler, (uint32_t)pSrc, (uint32_t)pDst, xSize, 1) == HAL_OK) - 8003aee: 68f9 ldr r1, [r7, #12] - 8003af0: 68ba ldr r2, [r7, #8] - 8003af2: 2301 movs r3, #1 - 8003af4: 9300 str r3, [sp, #0] - 8003af6: 687b ldr r3, [r7, #4] - 8003af8: 4806 ldr r0, [pc, #24] ; (8003b14 ) - 8003afa: f002 fa41 bl 8005f80 - 8003afe: 4603 mov r3, r0 - 8003b00: 2b00 cmp r3, #0 - 8003b02: d103 bne.n 8003b0c + 8003646: 68f9 ldr r1, [r7, #12] + 8003648: 68ba ldr r2, [r7, #8] + 800364a: 2301 movs r3, #1 + 800364c: 9300 str r3, [sp, #0] + 800364e: 687b ldr r3, [r7, #4] + 8003650: 4806 ldr r0, [pc, #24] ; (800366c ) + 8003652: f002 fa49 bl 8005ae8 + 8003656: 4603 mov r3, r0 + 8003658: 2b00 cmp r3, #0 + 800365a: d103 bne.n 8003664 { /* Polling For DMA transfer */ HAL_DMA2D_PollForTransfer(&hDma2dHandler, 10); - 8003b04: 210a movs r1, #10 - 8003b06: 4803 ldr r0, [pc, #12] ; (8003b14 ) - 8003b08: f002 fa65 bl 8005fd6 + 800365c: 210a movs r1, #10 + 800365e: 4803 ldr r0, [pc, #12] ; (800366c ) + 8003660: f002 fa6d bl 8005b3e } } } } - 8003b0c: bf00 nop - 8003b0e: 3710 adds r7, #16 - 8003b10: 46bd mov sp, r7 - 8003b12: bd80 pop {r7, pc} - 8003b14: 200003dc .word 0x200003dc - 8003b18: 4002b000 .word 0x4002b000 + 8003664: bf00 nop + 8003666: 3710 adds r7, #16 + 8003668: 46bd mov sp, r7 + 800366a: bd80 pop {r7, pc} + 800366c: 200003dc .word 0x200003dc + 8003670: 4002b000 .word 0x4002b000 -08003b1c : +08003674 : /** * @brief Initializes the SDRAM device. * @retval SDRAM status */ uint8_t BSP_SDRAM_Init(void) { - 8003b1c: b580 push {r7, lr} - 8003b1e: af00 add r7, sp, #0 + 8003674: b580 push {r7, lr} + 8003676: af00 add r7, sp, #0 static uint8_t sdramstatus = SDRAM_ERROR; /* SDRAM device configuration */ sdramHandle.Instance = FMC_SDRAM_DEVICE; - 8003b20: 4b29 ldr r3, [pc, #164] ; (8003bc8 ) - 8003b22: 4a2a ldr r2, [pc, #168] ; (8003bcc ) - 8003b24: 601a str r2, [r3, #0] + 8003678: 4b29 ldr r3, [pc, #164] ; (8003720 ) + 800367a: 4a2a ldr r2, [pc, #168] ; (8003724 ) + 800367c: 601a str r2, [r3, #0] /* Timing configuration for 100Mhz as SD clock frequency (System clock is up to 200Mhz) */ Timing.LoadToActiveDelay = 2; - 8003b26: 4b2a ldr r3, [pc, #168] ; (8003bd0 ) - 8003b28: 2202 movs r2, #2 - 8003b2a: 601a str r2, [r3, #0] + 800367e: 4b2a ldr r3, [pc, #168] ; (8003728 ) + 8003680: 2202 movs r2, #2 + 8003682: 601a str r2, [r3, #0] Timing.ExitSelfRefreshDelay = 7; - 8003b2c: 4b28 ldr r3, [pc, #160] ; (8003bd0 ) - 8003b2e: 2207 movs r2, #7 - 8003b30: 605a str r2, [r3, #4] + 8003684: 4b28 ldr r3, [pc, #160] ; (8003728 ) + 8003686: 2207 movs r2, #7 + 8003688: 605a str r2, [r3, #4] Timing.SelfRefreshTime = 4; - 8003b32: 4b27 ldr r3, [pc, #156] ; (8003bd0 ) - 8003b34: 2204 movs r2, #4 - 8003b36: 609a str r2, [r3, #8] + 800368a: 4b27 ldr r3, [pc, #156] ; (8003728 ) + 800368c: 2204 movs r2, #4 + 800368e: 609a str r2, [r3, #8] Timing.RowCycleDelay = 7; - 8003b38: 4b25 ldr r3, [pc, #148] ; (8003bd0 ) - 8003b3a: 2207 movs r2, #7 - 8003b3c: 60da str r2, [r3, #12] + 8003690: 4b25 ldr r3, [pc, #148] ; (8003728 ) + 8003692: 2207 movs r2, #7 + 8003694: 60da str r2, [r3, #12] Timing.WriteRecoveryTime = 2; - 8003b3e: 4b24 ldr r3, [pc, #144] ; (8003bd0 ) - 8003b40: 2202 movs r2, #2 - 8003b42: 611a str r2, [r3, #16] + 8003696: 4b24 ldr r3, [pc, #144] ; (8003728 ) + 8003698: 2202 movs r2, #2 + 800369a: 611a str r2, [r3, #16] Timing.RPDelay = 2; - 8003b44: 4b22 ldr r3, [pc, #136] ; (8003bd0 ) - 8003b46: 2202 movs r2, #2 - 8003b48: 615a str r2, [r3, #20] + 800369c: 4b22 ldr r3, [pc, #136] ; (8003728 ) + 800369e: 2202 movs r2, #2 + 80036a0: 615a str r2, [r3, #20] Timing.RCDDelay = 2; - 8003b4a: 4b21 ldr r3, [pc, #132] ; (8003bd0 ) - 8003b4c: 2202 movs r2, #2 - 8003b4e: 619a str r2, [r3, #24] + 80036a2: 4b21 ldr r3, [pc, #132] ; (8003728 ) + 80036a4: 2202 movs r2, #2 + 80036a6: 619a str r2, [r3, #24] sdramHandle.Init.SDBank = FMC_SDRAM_BANK1; - 8003b50: 4b1d ldr r3, [pc, #116] ; (8003bc8 ) - 8003b52: 2200 movs r2, #0 - 8003b54: 605a str r2, [r3, #4] + 80036a8: 4b1d ldr r3, [pc, #116] ; (8003720 ) + 80036aa: 2200 movs r2, #0 + 80036ac: 605a str r2, [r3, #4] sdramHandle.Init.ColumnBitsNumber = FMC_SDRAM_COLUMN_BITS_NUM_8; - 8003b56: 4b1c ldr r3, [pc, #112] ; (8003bc8 ) - 8003b58: 2200 movs r2, #0 - 8003b5a: 609a str r2, [r3, #8] + 80036ae: 4b1c ldr r3, [pc, #112] ; (8003720 ) + 80036b0: 2200 movs r2, #0 + 80036b2: 609a str r2, [r3, #8] sdramHandle.Init.RowBitsNumber = FMC_SDRAM_ROW_BITS_NUM_12; - 8003b5c: 4b1a ldr r3, [pc, #104] ; (8003bc8 ) - 8003b5e: 2204 movs r2, #4 - 8003b60: 60da str r2, [r3, #12] + 80036b4: 4b1a ldr r3, [pc, #104] ; (8003720 ) + 80036b6: 2204 movs r2, #4 + 80036b8: 60da str r2, [r3, #12] sdramHandle.Init.MemoryDataWidth = SDRAM_MEMORY_WIDTH; - 8003b62: 4b19 ldr r3, [pc, #100] ; (8003bc8 ) - 8003b64: 2210 movs r2, #16 - 8003b66: 611a str r2, [r3, #16] + 80036ba: 4b19 ldr r3, [pc, #100] ; (8003720 ) + 80036bc: 2210 movs r2, #16 + 80036be: 611a str r2, [r3, #16] sdramHandle.Init.InternalBankNumber = FMC_SDRAM_INTERN_BANKS_NUM_4; - 8003b68: 4b17 ldr r3, [pc, #92] ; (8003bc8 ) - 8003b6a: 2240 movs r2, #64 ; 0x40 - 8003b6c: 615a str r2, [r3, #20] + 80036c0: 4b17 ldr r3, [pc, #92] ; (8003720 ) + 80036c2: 2240 movs r2, #64 ; 0x40 + 80036c4: 615a str r2, [r3, #20] sdramHandle.Init.CASLatency = FMC_SDRAM_CAS_LATENCY_2; - 8003b6e: 4b16 ldr r3, [pc, #88] ; (8003bc8 ) - 8003b70: f44f 7280 mov.w r2, #256 ; 0x100 - 8003b74: 619a str r2, [r3, #24] + 80036c6: 4b16 ldr r3, [pc, #88] ; (8003720 ) + 80036c8: f44f 7280 mov.w r2, #256 ; 0x100 + 80036cc: 619a str r2, [r3, #24] sdramHandle.Init.WriteProtection = FMC_SDRAM_WRITE_PROTECTION_DISABLE; - 8003b76: 4b14 ldr r3, [pc, #80] ; (8003bc8 ) - 8003b78: 2200 movs r2, #0 - 8003b7a: 61da str r2, [r3, #28] + 80036ce: 4b14 ldr r3, [pc, #80] ; (8003720 ) + 80036d0: 2200 movs r2, #0 + 80036d2: 61da str r2, [r3, #28] sdramHandle.Init.SDClockPeriod = SDCLOCK_PERIOD; - 8003b7c: 4b12 ldr r3, [pc, #72] ; (8003bc8 ) - 8003b7e: f44f 6200 mov.w r2, #2048 ; 0x800 - 8003b82: 621a str r2, [r3, #32] + 80036d4: 4b12 ldr r3, [pc, #72] ; (8003720 ) + 80036d6: f44f 6200 mov.w r2, #2048 ; 0x800 + 80036da: 621a str r2, [r3, #32] sdramHandle.Init.ReadBurst = FMC_SDRAM_RBURST_ENABLE; - 8003b84: 4b10 ldr r3, [pc, #64] ; (8003bc8 ) - 8003b86: f44f 5280 mov.w r2, #4096 ; 0x1000 - 8003b8a: 625a str r2, [r3, #36] ; 0x24 + 80036dc: 4b10 ldr r3, [pc, #64] ; (8003720 ) + 80036de: f44f 5280 mov.w r2, #4096 ; 0x1000 + 80036e2: 625a str r2, [r3, #36] ; 0x24 sdramHandle.Init.ReadPipeDelay = FMC_SDRAM_RPIPE_DELAY_0; - 8003b8c: 4b0e ldr r3, [pc, #56] ; (8003bc8 ) - 8003b8e: 2200 movs r2, #0 - 8003b90: 629a str r2, [r3, #40] ; 0x28 + 80036e4: 4b0e ldr r3, [pc, #56] ; (8003720 ) + 80036e6: 2200 movs r2, #0 + 80036e8: 629a str r2, [r3, #40] ; 0x28 /* SDRAM controller initialization */ BSP_SDRAM_MspInit(&sdramHandle, NULL); /* __weak function can be rewritten by the application */ - 8003b92: 2100 movs r1, #0 - 8003b94: 480c ldr r0, [pc, #48] ; (8003bc8 ) - 8003b96: f000 f87f bl 8003c98 + 80036ea: 2100 movs r1, #0 + 80036ec: 480c ldr r0, [pc, #48] ; (8003720 ) + 80036ee: f000 f87f bl 80037f0 if(HAL_SDRAM_Init(&sdramHandle, &Timing) != HAL_OK) - 8003b9a: 490d ldr r1, [pc, #52] ; (8003bd0 ) - 8003b9c: 480a ldr r0, [pc, #40] ; (8003bc8 ) - 8003b9e: f006 f943 bl 8009e28 - 8003ba2: 4603 mov r3, r0 - 8003ba4: 2b00 cmp r3, #0 - 8003ba6: d003 beq.n 8003bb0 + 80036f2: 490d ldr r1, [pc, #52] ; (8003728 ) + 80036f4: 480a ldr r0, [pc, #40] ; (8003720 ) + 80036f6: f006 f965 bl 80099c4 + 80036fa: 4603 mov r3, r0 + 80036fc: 2b00 cmp r3, #0 + 80036fe: d003 beq.n 8003708 { sdramstatus = SDRAM_ERROR; - 8003ba8: 4b0a ldr r3, [pc, #40] ; (8003bd4 ) - 8003baa: 2201 movs r2, #1 - 8003bac: 701a strb r2, [r3, #0] - 8003bae: e002 b.n 8003bb6 + 8003700: 4b0a ldr r3, [pc, #40] ; (800372c ) + 8003702: 2201 movs r2, #1 + 8003704: 701a strb r2, [r3, #0] + 8003706: e002 b.n 800370e } else { sdramstatus = SDRAM_OK; - 8003bb0: 4b08 ldr r3, [pc, #32] ; (8003bd4 ) - 8003bb2: 2200 movs r2, #0 - 8003bb4: 701a strb r2, [r3, #0] + 8003708: 4b08 ldr r3, [pc, #32] ; (800372c ) + 800370a: 2200 movs r2, #0 + 800370c: 701a strb r2, [r3, #0] } /* SDRAM initialization sequence */ BSP_SDRAM_Initialization_sequence(REFRESH_COUNT); - 8003bb6: f240 6003 movw r0, #1539 ; 0x603 - 8003bba: f000 f80d bl 8003bd8 + 800370e: f240 6003 movw r0, #1539 ; 0x603 + 8003712: f000 f80d bl 8003730 return sdramstatus; - 8003bbe: 4b05 ldr r3, [pc, #20] ; (8003bd4 ) - 8003bc0: 781b ldrb r3, [r3, #0] + 8003716: 4b05 ldr r3, [pc, #20] ; (800372c ) + 8003718: 781b ldrb r3, [r3, #0] } - 8003bc2: 4618 mov r0, r3 - 8003bc4: bd80 pop {r7, pc} - 8003bc6: bf00 nop - 8003bc8: 20008ce0 .word 0x20008ce0 - 8003bcc: a0000140 .word 0xa0000140 - 8003bd0: 200004bc .word 0x200004bc - 8003bd4: 20000060 .word 0x20000060 + 800371a: 4618 mov r0, r3 + 800371c: bd80 pop {r7, pc} + 800371e: bf00 nop + 8003720: 20008cdc .word 0x20008cdc + 8003724: a0000140 .word 0xa0000140 + 8003728: 200004bc .word 0x200004bc + 800372c: 20000060 .word 0x20000060 -08003bd8 : +08003730 : * @brief Programs the SDRAM device. * @param RefreshCount: SDRAM refresh counter value * @retval None */ void BSP_SDRAM_Initialization_sequence(uint32_t RefreshCount) { - 8003bd8: b580 push {r7, lr} - 8003bda: b084 sub sp, #16 - 8003bdc: af00 add r7, sp, #0 - 8003bde: 6078 str r0, [r7, #4] + 8003730: b580 push {r7, lr} + 8003732: b084 sub sp, #16 + 8003734: af00 add r7, sp, #0 + 8003736: 6078 str r0, [r7, #4] __IO uint32_t tmpmrd = 0; - 8003be0: 2300 movs r3, #0 - 8003be2: 60fb str r3, [r7, #12] + 8003738: 2300 movs r3, #0 + 800373a: 60fb str r3, [r7, #12] /* Step 1: Configure a clock configuration enable command */ Command.CommandMode = FMC_SDRAM_CMD_CLK_ENABLE; - 8003be4: 4b2a ldr r3, [pc, #168] ; (8003c90 ) - 8003be6: 2201 movs r2, #1 - 8003be8: 601a str r2, [r3, #0] + 800373c: 4b2a ldr r3, [pc, #168] ; (80037e8 ) + 800373e: 2201 movs r2, #1 + 8003740: 601a str r2, [r3, #0] Command.CommandTarget = FMC_SDRAM_CMD_TARGET_BANK1; - 8003bea: 4b29 ldr r3, [pc, #164] ; (8003c90 ) - 8003bec: 2210 movs r2, #16 - 8003bee: 605a str r2, [r3, #4] + 8003742: 4b29 ldr r3, [pc, #164] ; (80037e8 ) + 8003744: 2210 movs r2, #16 + 8003746: 605a str r2, [r3, #4] Command.AutoRefreshNumber = 1; - 8003bf0: 4b27 ldr r3, [pc, #156] ; (8003c90 ) - 8003bf2: 2201 movs r2, #1 - 8003bf4: 609a str r2, [r3, #8] + 8003748: 4b27 ldr r3, [pc, #156] ; (80037e8 ) + 800374a: 2201 movs r2, #1 + 800374c: 609a str r2, [r3, #8] Command.ModeRegisterDefinition = 0; - 8003bf6: 4b26 ldr r3, [pc, #152] ; (8003c90 ) - 8003bf8: 2200 movs r2, #0 - 8003bfa: 60da str r2, [r3, #12] + 800374e: 4b26 ldr r3, [pc, #152] ; (80037e8 ) + 8003750: 2200 movs r2, #0 + 8003752: 60da str r2, [r3, #12] /* Send the command */ HAL_SDRAM_SendCommand(&sdramHandle, &Command, SDRAM_TIMEOUT); - 8003bfc: f64f 72ff movw r2, #65535 ; 0xffff - 8003c00: 4923 ldr r1, [pc, #140] ; (8003c90 ) - 8003c02: 4824 ldr r0, [pc, #144] ; (8003c94 ) - 8003c04: f006 f944 bl 8009e90 + 8003754: f64f 72ff movw r2, #65535 ; 0xffff + 8003758: 4923 ldr r1, [pc, #140] ; (80037e8 ) + 800375a: 4824 ldr r0, [pc, #144] ; (80037ec ) + 800375c: f006 f966 bl 8009a2c /* Step 2: Insert 100 us minimum delay */ /* Inserted delay is equal to 1 ms due to systick time base unit (ms) */ HAL_Delay(1); - 8003c08: 2001 movs r0, #1 - 8003c0a: f001 f91d bl 8004e48 + 8003760: 2001 movs r0, #1 + 8003762: f001 f925 bl 80049b0 /* Step 3: Configure a PALL (precharge all) command */ Command.CommandMode = FMC_SDRAM_CMD_PALL; - 8003c0e: 4b20 ldr r3, [pc, #128] ; (8003c90 ) - 8003c10: 2202 movs r2, #2 - 8003c12: 601a str r2, [r3, #0] + 8003766: 4b20 ldr r3, [pc, #128] ; (80037e8 ) + 8003768: 2202 movs r2, #2 + 800376a: 601a str r2, [r3, #0] Command.CommandTarget = FMC_SDRAM_CMD_TARGET_BANK1; - 8003c14: 4b1e ldr r3, [pc, #120] ; (8003c90 ) - 8003c16: 2210 movs r2, #16 - 8003c18: 605a str r2, [r3, #4] + 800376c: 4b1e ldr r3, [pc, #120] ; (80037e8 ) + 800376e: 2210 movs r2, #16 + 8003770: 605a str r2, [r3, #4] Command.AutoRefreshNumber = 1; - 8003c1a: 4b1d ldr r3, [pc, #116] ; (8003c90 ) - 8003c1c: 2201 movs r2, #1 - 8003c1e: 609a str r2, [r3, #8] + 8003772: 4b1d ldr r3, [pc, #116] ; (80037e8 ) + 8003774: 2201 movs r2, #1 + 8003776: 609a str r2, [r3, #8] Command.ModeRegisterDefinition = 0; - 8003c20: 4b1b ldr r3, [pc, #108] ; (8003c90 ) - 8003c22: 2200 movs r2, #0 - 8003c24: 60da str r2, [r3, #12] + 8003778: 4b1b ldr r3, [pc, #108] ; (80037e8 ) + 800377a: 2200 movs r2, #0 + 800377c: 60da str r2, [r3, #12] /* Send the command */ HAL_SDRAM_SendCommand(&sdramHandle, &Command, SDRAM_TIMEOUT); - 8003c26: f64f 72ff movw r2, #65535 ; 0xffff - 8003c2a: 4919 ldr r1, [pc, #100] ; (8003c90 ) - 8003c2c: 4819 ldr r0, [pc, #100] ; (8003c94 ) - 8003c2e: f006 f92f bl 8009e90 + 800377e: f64f 72ff movw r2, #65535 ; 0xffff + 8003782: 4919 ldr r1, [pc, #100] ; (80037e8 ) + 8003784: 4819 ldr r0, [pc, #100] ; (80037ec ) + 8003786: f006 f951 bl 8009a2c /* Step 4: Configure an Auto Refresh command */ Command.CommandMode = FMC_SDRAM_CMD_AUTOREFRESH_MODE; - 8003c32: 4b17 ldr r3, [pc, #92] ; (8003c90 ) - 8003c34: 2203 movs r2, #3 - 8003c36: 601a str r2, [r3, #0] + 800378a: 4b17 ldr r3, [pc, #92] ; (80037e8 ) + 800378c: 2203 movs r2, #3 + 800378e: 601a str r2, [r3, #0] Command.CommandTarget = FMC_SDRAM_CMD_TARGET_BANK1; - 8003c38: 4b15 ldr r3, [pc, #84] ; (8003c90 ) - 8003c3a: 2210 movs r2, #16 - 8003c3c: 605a str r2, [r3, #4] + 8003790: 4b15 ldr r3, [pc, #84] ; (80037e8 ) + 8003792: 2210 movs r2, #16 + 8003794: 605a str r2, [r3, #4] Command.AutoRefreshNumber = 8; - 8003c3e: 4b14 ldr r3, [pc, #80] ; (8003c90 ) - 8003c40: 2208 movs r2, #8 - 8003c42: 609a str r2, [r3, #8] + 8003796: 4b14 ldr r3, [pc, #80] ; (80037e8 ) + 8003798: 2208 movs r2, #8 + 800379a: 609a str r2, [r3, #8] Command.ModeRegisterDefinition = 0; - 8003c44: 4b12 ldr r3, [pc, #72] ; (8003c90 ) - 8003c46: 2200 movs r2, #0 - 8003c48: 60da str r2, [r3, #12] + 800379c: 4b12 ldr r3, [pc, #72] ; (80037e8 ) + 800379e: 2200 movs r2, #0 + 80037a0: 60da str r2, [r3, #12] /* Send the command */ HAL_SDRAM_SendCommand(&sdramHandle, &Command, SDRAM_TIMEOUT); - 8003c4a: f64f 72ff movw r2, #65535 ; 0xffff - 8003c4e: 4910 ldr r1, [pc, #64] ; (8003c90 ) - 8003c50: 4810 ldr r0, [pc, #64] ; (8003c94 ) - 8003c52: f006 f91d bl 8009e90 + 80037a2: f64f 72ff movw r2, #65535 ; 0xffff + 80037a6: 4910 ldr r1, [pc, #64] ; (80037e8 ) + 80037a8: 4810 ldr r0, [pc, #64] ; (80037ec ) + 80037aa: f006 f93f bl 8009a2c /* Step 5: Program the external memory mode register */ tmpmrd = (uint32_t)SDRAM_MODEREG_BURST_LENGTH_1 |\ - 8003c56: f44f 7308 mov.w r3, #544 ; 0x220 - 8003c5a: 60fb str r3, [r7, #12] + 80037ae: f44f 7308 mov.w r3, #544 ; 0x220 + 80037b2: 60fb str r3, [r7, #12] SDRAM_MODEREG_BURST_TYPE_SEQUENTIAL |\ SDRAM_MODEREG_CAS_LATENCY_2 |\ SDRAM_MODEREG_OPERATING_MODE_STANDARD |\ SDRAM_MODEREG_WRITEBURST_MODE_SINGLE; Command.CommandMode = FMC_SDRAM_CMD_LOAD_MODE; - 8003c5c: 4b0c ldr r3, [pc, #48] ; (8003c90 ) - 8003c5e: 2204 movs r2, #4 - 8003c60: 601a str r2, [r3, #0] + 80037b4: 4b0c ldr r3, [pc, #48] ; (80037e8 ) + 80037b6: 2204 movs r2, #4 + 80037b8: 601a str r2, [r3, #0] Command.CommandTarget = FMC_SDRAM_CMD_TARGET_BANK1; - 8003c62: 4b0b ldr r3, [pc, #44] ; (8003c90 ) - 8003c64: 2210 movs r2, #16 - 8003c66: 605a str r2, [r3, #4] + 80037ba: 4b0b ldr r3, [pc, #44] ; (80037e8 ) + 80037bc: 2210 movs r2, #16 + 80037be: 605a str r2, [r3, #4] Command.AutoRefreshNumber = 1; - 8003c68: 4b09 ldr r3, [pc, #36] ; (8003c90 ) - 8003c6a: 2201 movs r2, #1 - 8003c6c: 609a str r2, [r3, #8] + 80037c0: 4b09 ldr r3, [pc, #36] ; (80037e8 ) + 80037c2: 2201 movs r2, #1 + 80037c4: 609a str r2, [r3, #8] Command.ModeRegisterDefinition = tmpmrd; - 8003c6e: 68fb ldr r3, [r7, #12] - 8003c70: 4a07 ldr r2, [pc, #28] ; (8003c90 ) - 8003c72: 60d3 str r3, [r2, #12] + 80037c6: 68fb ldr r3, [r7, #12] + 80037c8: 4a07 ldr r2, [pc, #28] ; (80037e8 ) + 80037ca: 60d3 str r3, [r2, #12] /* Send the command */ HAL_SDRAM_SendCommand(&sdramHandle, &Command, SDRAM_TIMEOUT); - 8003c74: f64f 72ff movw r2, #65535 ; 0xffff - 8003c78: 4905 ldr r1, [pc, #20] ; (8003c90 ) - 8003c7a: 4806 ldr r0, [pc, #24] ; (8003c94 ) - 8003c7c: f006 f908 bl 8009e90 + 80037cc: f64f 72ff movw r2, #65535 ; 0xffff + 80037d0: 4905 ldr r1, [pc, #20] ; (80037e8 ) + 80037d2: 4806 ldr r0, [pc, #24] ; (80037ec ) + 80037d4: f006 f92a bl 8009a2c /* Step 6: Set the refresh rate counter */ /* Set the device refresh rate */ HAL_SDRAM_ProgramRefreshRate(&sdramHandle, RefreshCount); - 8003c80: 6879 ldr r1, [r7, #4] - 8003c82: 4804 ldr r0, [pc, #16] ; (8003c94 ) - 8003c84: f006 f92f bl 8009ee6 + 80037d8: 6879 ldr r1, [r7, #4] + 80037da: 4804 ldr r0, [pc, #16] ; (80037ec ) + 80037dc: f006 f951 bl 8009a82 } - 8003c88: bf00 nop - 8003c8a: 3710 adds r7, #16 - 8003c8c: 46bd mov sp, r7 - 8003c8e: bd80 pop {r7, pc} - 8003c90: 200004d8 .word 0x200004d8 - 8003c94: 20008ce0 .word 0x20008ce0 + 80037e0: bf00 nop + 80037e2: 3710 adds r7, #16 + 80037e4: 46bd mov sp, r7 + 80037e6: bd80 pop {r7, pc} + 80037e8: 200004d8 .word 0x200004d8 + 80037ec: 20008cdc .word 0x20008cdc -08003c98 : +080037f0 : * @param hsdram: SDRAM handle * @param Params * @retval None */ __weak void BSP_SDRAM_MspInit(SDRAM_HandleTypeDef *hsdram, void *Params) { - 8003c98: b580 push {r7, lr} - 8003c9a: b090 sub sp, #64 ; 0x40 - 8003c9c: af00 add r7, sp, #0 - 8003c9e: 6078 str r0, [r7, #4] - 8003ca0: 6039 str r1, [r7, #0] + 80037f0: b580 push {r7, lr} + 80037f2: b090 sub sp, #64 ; 0x40 + 80037f4: af00 add r7, sp, #0 + 80037f6: 6078 str r0, [r7, #4] + 80037f8: 6039 str r1, [r7, #0] static DMA_HandleTypeDef dma_handle; GPIO_InitTypeDef gpio_init_structure; /* Enable FMC clock */ __HAL_RCC_FMC_CLK_ENABLE(); - 8003ca2: 4b70 ldr r3, [pc, #448] ; (8003e64 ) - 8003ca4: 6b9b ldr r3, [r3, #56] ; 0x38 - 8003ca6: 4a6f ldr r2, [pc, #444] ; (8003e64 ) - 8003ca8: f043 0301 orr.w r3, r3, #1 - 8003cac: 6393 str r3, [r2, #56] ; 0x38 - 8003cae: 4b6d ldr r3, [pc, #436] ; (8003e64 ) - 8003cb0: 6b9b ldr r3, [r3, #56] ; 0x38 - 8003cb2: f003 0301 and.w r3, r3, #1 - 8003cb6: 62bb str r3, [r7, #40] ; 0x28 - 8003cb8: 6abb ldr r3, [r7, #40] ; 0x28 + 80037fa: 4b70 ldr r3, [pc, #448] ; (80039bc ) + 80037fc: 6b9b ldr r3, [r3, #56] ; 0x38 + 80037fe: 4a6f ldr r2, [pc, #444] ; (80039bc ) + 8003800: f043 0301 orr.w r3, r3, #1 + 8003804: 6393 str r3, [r2, #56] ; 0x38 + 8003806: 4b6d ldr r3, [pc, #436] ; (80039bc ) + 8003808: 6b9b ldr r3, [r3, #56] ; 0x38 + 800380a: f003 0301 and.w r3, r3, #1 + 800380e: 62bb str r3, [r7, #40] ; 0x28 + 8003810: 6abb ldr r3, [r7, #40] ; 0x28 /* Enable chosen DMAx clock */ __DMAx_CLK_ENABLE(); - 8003cba: 4b6a ldr r3, [pc, #424] ; (8003e64 ) - 8003cbc: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003cbe: 4a69 ldr r2, [pc, #420] ; (8003e64 ) - 8003cc0: f443 0380 orr.w r3, r3, #4194304 ; 0x400000 - 8003cc4: 6313 str r3, [r2, #48] ; 0x30 - 8003cc6: 4b67 ldr r3, [pc, #412] ; (8003e64 ) - 8003cc8: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003cca: f403 0380 and.w r3, r3, #4194304 ; 0x400000 - 8003cce: 627b str r3, [r7, #36] ; 0x24 - 8003cd0: 6a7b ldr r3, [r7, #36] ; 0x24 + 8003812: 4b6a ldr r3, [pc, #424] ; (80039bc ) + 8003814: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003816: 4a69 ldr r2, [pc, #420] ; (80039bc ) + 8003818: f443 0380 orr.w r3, r3, #4194304 ; 0x400000 + 800381c: 6313 str r3, [r2, #48] ; 0x30 + 800381e: 4b67 ldr r3, [pc, #412] ; (80039bc ) + 8003820: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003822: f403 0380 and.w r3, r3, #4194304 ; 0x400000 + 8003826: 627b str r3, [r7, #36] ; 0x24 + 8003828: 6a7b ldr r3, [r7, #36] ; 0x24 /* Enable GPIOs clock */ __HAL_RCC_GPIOC_CLK_ENABLE(); - 8003cd2: 4b64 ldr r3, [pc, #400] ; (8003e64 ) - 8003cd4: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003cd6: 4a63 ldr r2, [pc, #396] ; (8003e64 ) - 8003cd8: f043 0304 orr.w r3, r3, #4 - 8003cdc: 6313 str r3, [r2, #48] ; 0x30 - 8003cde: 4b61 ldr r3, [pc, #388] ; (8003e64 ) - 8003ce0: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003ce2: f003 0304 and.w r3, r3, #4 - 8003ce6: 623b str r3, [r7, #32] - 8003ce8: 6a3b ldr r3, [r7, #32] + 800382a: 4b64 ldr r3, [pc, #400] ; (80039bc ) + 800382c: 6b1b ldr r3, [r3, #48] ; 0x30 + 800382e: 4a63 ldr r2, [pc, #396] ; (80039bc ) + 8003830: f043 0304 orr.w r3, r3, #4 + 8003834: 6313 str r3, [r2, #48] ; 0x30 + 8003836: 4b61 ldr r3, [pc, #388] ; (80039bc ) + 8003838: 6b1b ldr r3, [r3, #48] ; 0x30 + 800383a: f003 0304 and.w r3, r3, #4 + 800383e: 623b str r3, [r7, #32] + 8003840: 6a3b ldr r3, [r7, #32] __HAL_RCC_GPIOD_CLK_ENABLE(); - 8003cea: 4b5e ldr r3, [pc, #376] ; (8003e64 ) - 8003cec: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003cee: 4a5d ldr r2, [pc, #372] ; (8003e64 ) - 8003cf0: f043 0308 orr.w r3, r3, #8 - 8003cf4: 6313 str r3, [r2, #48] ; 0x30 - 8003cf6: 4b5b ldr r3, [pc, #364] ; (8003e64 ) - 8003cf8: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003cfa: f003 0308 and.w r3, r3, #8 - 8003cfe: 61fb str r3, [r7, #28] - 8003d00: 69fb ldr r3, [r7, #28] + 8003842: 4b5e ldr r3, [pc, #376] ; (80039bc ) + 8003844: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003846: 4a5d ldr r2, [pc, #372] ; (80039bc ) + 8003848: f043 0308 orr.w r3, r3, #8 + 800384c: 6313 str r3, [r2, #48] ; 0x30 + 800384e: 4b5b ldr r3, [pc, #364] ; (80039bc ) + 8003850: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003852: f003 0308 and.w r3, r3, #8 + 8003856: 61fb str r3, [r7, #28] + 8003858: 69fb ldr r3, [r7, #28] __HAL_RCC_GPIOE_CLK_ENABLE(); - 8003d02: 4b58 ldr r3, [pc, #352] ; (8003e64 ) - 8003d04: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003d06: 4a57 ldr r2, [pc, #348] ; (8003e64 ) - 8003d08: f043 0310 orr.w r3, r3, #16 - 8003d0c: 6313 str r3, [r2, #48] ; 0x30 - 8003d0e: 4b55 ldr r3, [pc, #340] ; (8003e64 ) - 8003d10: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003d12: f003 0310 and.w r3, r3, #16 - 8003d16: 61bb str r3, [r7, #24] - 8003d18: 69bb ldr r3, [r7, #24] + 800385a: 4b58 ldr r3, [pc, #352] ; (80039bc ) + 800385c: 6b1b ldr r3, [r3, #48] ; 0x30 + 800385e: 4a57 ldr r2, [pc, #348] ; (80039bc ) + 8003860: f043 0310 orr.w r3, r3, #16 + 8003864: 6313 str r3, [r2, #48] ; 0x30 + 8003866: 4b55 ldr r3, [pc, #340] ; (80039bc ) + 8003868: 6b1b ldr r3, [r3, #48] ; 0x30 + 800386a: f003 0310 and.w r3, r3, #16 + 800386e: 61bb str r3, [r7, #24] + 8003870: 69bb ldr r3, [r7, #24] __HAL_RCC_GPIOF_CLK_ENABLE(); - 8003d1a: 4b52 ldr r3, [pc, #328] ; (8003e64 ) - 8003d1c: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003d1e: 4a51 ldr r2, [pc, #324] ; (8003e64 ) - 8003d20: f043 0320 orr.w r3, r3, #32 - 8003d24: 6313 str r3, [r2, #48] ; 0x30 - 8003d26: 4b4f ldr r3, [pc, #316] ; (8003e64 ) - 8003d28: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003d2a: f003 0320 and.w r3, r3, #32 - 8003d2e: 617b str r3, [r7, #20] - 8003d30: 697b ldr r3, [r7, #20] + 8003872: 4b52 ldr r3, [pc, #328] ; (80039bc ) + 8003874: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003876: 4a51 ldr r2, [pc, #324] ; (80039bc ) + 8003878: f043 0320 orr.w r3, r3, #32 + 800387c: 6313 str r3, [r2, #48] ; 0x30 + 800387e: 4b4f ldr r3, [pc, #316] ; (80039bc ) + 8003880: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003882: f003 0320 and.w r3, r3, #32 + 8003886: 617b str r3, [r7, #20] + 8003888: 697b ldr r3, [r7, #20] __HAL_RCC_GPIOG_CLK_ENABLE(); - 8003d32: 4b4c ldr r3, [pc, #304] ; (8003e64 ) - 8003d34: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003d36: 4a4b ldr r2, [pc, #300] ; (8003e64 ) - 8003d38: f043 0340 orr.w r3, r3, #64 ; 0x40 - 8003d3c: 6313 str r3, [r2, #48] ; 0x30 - 8003d3e: 4b49 ldr r3, [pc, #292] ; (8003e64 ) - 8003d40: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003d42: f003 0340 and.w r3, r3, #64 ; 0x40 - 8003d46: 613b str r3, [r7, #16] - 8003d48: 693b ldr r3, [r7, #16] + 800388a: 4b4c ldr r3, [pc, #304] ; (80039bc ) + 800388c: 6b1b ldr r3, [r3, #48] ; 0x30 + 800388e: 4a4b ldr r2, [pc, #300] ; (80039bc ) + 8003890: f043 0340 orr.w r3, r3, #64 ; 0x40 + 8003894: 6313 str r3, [r2, #48] ; 0x30 + 8003896: 4b49 ldr r3, [pc, #292] ; (80039bc ) + 8003898: 6b1b ldr r3, [r3, #48] ; 0x30 + 800389a: f003 0340 and.w r3, r3, #64 ; 0x40 + 800389e: 613b str r3, [r7, #16] + 80038a0: 693b ldr r3, [r7, #16] __HAL_RCC_GPIOH_CLK_ENABLE(); - 8003d4a: 4b46 ldr r3, [pc, #280] ; (8003e64 ) - 8003d4c: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003d4e: 4a45 ldr r2, [pc, #276] ; (8003e64 ) - 8003d50: f043 0380 orr.w r3, r3, #128 ; 0x80 - 8003d54: 6313 str r3, [r2, #48] ; 0x30 - 8003d56: 4b43 ldr r3, [pc, #268] ; (8003e64 ) - 8003d58: 6b1b ldr r3, [r3, #48] ; 0x30 - 8003d5a: f003 0380 and.w r3, r3, #128 ; 0x80 - 8003d5e: 60fb str r3, [r7, #12] - 8003d60: 68fb ldr r3, [r7, #12] + 80038a2: 4b46 ldr r3, [pc, #280] ; (80039bc ) + 80038a4: 6b1b ldr r3, [r3, #48] ; 0x30 + 80038a6: 4a45 ldr r2, [pc, #276] ; (80039bc ) + 80038a8: f043 0380 orr.w r3, r3, #128 ; 0x80 + 80038ac: 6313 str r3, [r2, #48] ; 0x30 + 80038ae: 4b43 ldr r3, [pc, #268] ; (80039bc ) + 80038b0: 6b1b ldr r3, [r3, #48] ; 0x30 + 80038b2: f003 0380 and.w r3, r3, #128 ; 0x80 + 80038b6: 60fb str r3, [r7, #12] + 80038b8: 68fb ldr r3, [r7, #12] /* Common GPIO configuration */ gpio_init_structure.Mode = GPIO_MODE_AF_PP; - 8003d62: 2302 movs r3, #2 - 8003d64: 633b str r3, [r7, #48] ; 0x30 + 80038ba: 2302 movs r3, #2 + 80038bc: 633b str r3, [r7, #48] ; 0x30 gpio_init_structure.Pull = GPIO_PULLUP; - 8003d66: 2301 movs r3, #1 - 8003d68: 637b str r3, [r7, #52] ; 0x34 + 80038be: 2301 movs r3, #1 + 80038c0: 637b str r3, [r7, #52] ; 0x34 gpio_init_structure.Speed = GPIO_SPEED_FAST; - 8003d6a: 2302 movs r3, #2 - 8003d6c: 63bb str r3, [r7, #56] ; 0x38 + 80038c2: 2302 movs r3, #2 + 80038c4: 63bb str r3, [r7, #56] ; 0x38 gpio_init_structure.Alternate = GPIO_AF12_FMC; - 8003d6e: 230c movs r3, #12 - 8003d70: 63fb str r3, [r7, #60] ; 0x3c + 80038c6: 230c movs r3, #12 + 80038c8: 63fb str r3, [r7, #60] ; 0x3c /* GPIOC configuration */ gpio_init_structure.Pin = GPIO_PIN_3; - 8003d72: 2308 movs r3, #8 - 8003d74: 62fb str r3, [r7, #44] ; 0x2c + 80038ca: 2308 movs r3, #8 + 80038cc: 62fb str r3, [r7, #44] ; 0x2c HAL_GPIO_Init(GPIOC, &gpio_init_structure); - 8003d76: f107 032c add.w r3, r7, #44 ; 0x2c - 8003d7a: 4619 mov r1, r3 - 8003d7c: 483a ldr r0, [pc, #232] ; (8003e68 ) - 8003d7e: f003 fcc7 bl 8007710 + 80038ce: f107 032c add.w r3, r7, #44 ; 0x2c + 80038d2: 4619 mov r1, r3 + 80038d4: 483a ldr r0, [pc, #232] ; (80039c0 ) + 80038d6: f003 fccf bl 8007278 /* GPIOD configuration */ gpio_init_structure.Pin = GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_8 | GPIO_PIN_9 | - 8003d82: f24c 7303 movw r3, #50947 ; 0xc703 - 8003d86: 62fb str r3, [r7, #44] ; 0x2c + 80038da: f24c 7303 movw r3, #50947 ; 0xc703 + 80038de: 62fb str r3, [r7, #44] ; 0x2c GPIO_PIN_10 | GPIO_PIN_14 | GPIO_PIN_15; HAL_GPIO_Init(GPIOD, &gpio_init_structure); - 8003d88: f107 032c add.w r3, r7, #44 ; 0x2c - 8003d8c: 4619 mov r1, r3 - 8003d8e: 4837 ldr r0, [pc, #220] ; (8003e6c ) - 8003d90: f003 fcbe bl 8007710 + 80038e0: f107 032c add.w r3, r7, #44 ; 0x2c + 80038e4: 4619 mov r1, r3 + 80038e6: 4837 ldr r0, [pc, #220] ; (80039c4 ) + 80038e8: f003 fcc6 bl 8007278 /* GPIOE configuration */ gpio_init_structure.Pin = GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_7| GPIO_PIN_8 | GPIO_PIN_9 |\ - 8003d94: f64f 7383 movw r3, #65411 ; 0xff83 - 8003d98: 62fb str r3, [r7, #44] ; 0x2c + 80038ec: f64f 7383 movw r3, #65411 ; 0xff83 + 80038f0: 62fb str r3, [r7, #44] ; 0x2c GPIO_PIN_10 | GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_13 | GPIO_PIN_14 |\ GPIO_PIN_15; HAL_GPIO_Init(GPIOE, &gpio_init_structure); - 8003d9a: f107 032c add.w r3, r7, #44 ; 0x2c - 8003d9e: 4619 mov r1, r3 - 8003da0: 4833 ldr r0, [pc, #204] ; (8003e70 ) - 8003da2: f003 fcb5 bl 8007710 + 80038f2: f107 032c add.w r3, r7, #44 ; 0x2c + 80038f6: 4619 mov r1, r3 + 80038f8: 4833 ldr r0, [pc, #204] ; (80039c8 ) + 80038fa: f003 fcbd bl 8007278 /* GPIOF configuration */ gpio_init_structure.Pin = GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2| GPIO_PIN_3 | GPIO_PIN_4 |\ - 8003da6: f64f 033f movw r3, #63551 ; 0xf83f - 8003daa: 62fb str r3, [r7, #44] ; 0x2c + 80038fe: f64f 033f movw r3, #63551 ; 0xf83f + 8003902: 62fb str r3, [r7, #44] ; 0x2c GPIO_PIN_5 | GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_13 | GPIO_PIN_14 |\ GPIO_PIN_15; HAL_GPIO_Init(GPIOF, &gpio_init_structure); - 8003dac: f107 032c add.w r3, r7, #44 ; 0x2c - 8003db0: 4619 mov r1, r3 - 8003db2: 4830 ldr r0, [pc, #192] ; (8003e74 ) - 8003db4: f003 fcac bl 8007710 + 8003904: f107 032c add.w r3, r7, #44 ; 0x2c + 8003908: 4619 mov r1, r3 + 800390a: 4830 ldr r0, [pc, #192] ; (80039cc ) + 800390c: f003 fcb4 bl 8007278 /* GPIOG configuration */ gpio_init_structure.Pin = GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_4| GPIO_PIN_5 | GPIO_PIN_8 |\ - 8003db8: f248 1333 movw r3, #33075 ; 0x8133 - 8003dbc: 62fb str r3, [r7, #44] ; 0x2c + 8003910: f248 1333 movw r3, #33075 ; 0x8133 + 8003914: 62fb str r3, [r7, #44] ; 0x2c GPIO_PIN_15; HAL_GPIO_Init(GPIOG, &gpio_init_structure); - 8003dbe: f107 032c add.w r3, r7, #44 ; 0x2c - 8003dc2: 4619 mov r1, r3 - 8003dc4: 482c ldr r0, [pc, #176] ; (8003e78 ) - 8003dc6: f003 fca3 bl 8007710 + 8003916: f107 032c add.w r3, r7, #44 ; 0x2c + 800391a: 4619 mov r1, r3 + 800391c: 482c ldr r0, [pc, #176] ; (80039d0 ) + 800391e: f003 fcab bl 8007278 /* GPIOH configuration */ gpio_init_structure.Pin = GPIO_PIN_3 | GPIO_PIN_5; - 8003dca: 2328 movs r3, #40 ; 0x28 - 8003dcc: 62fb str r3, [r7, #44] ; 0x2c + 8003922: 2328 movs r3, #40 ; 0x28 + 8003924: 62fb str r3, [r7, #44] ; 0x2c HAL_GPIO_Init(GPIOH, &gpio_init_structure); - 8003dce: f107 032c add.w r3, r7, #44 ; 0x2c - 8003dd2: 4619 mov r1, r3 - 8003dd4: 4829 ldr r0, [pc, #164] ; (8003e7c ) - 8003dd6: f003 fc9b bl 8007710 + 8003926: f107 032c add.w r3, r7, #44 ; 0x2c + 800392a: 4619 mov r1, r3 + 800392c: 4829 ldr r0, [pc, #164] ; (80039d4 ) + 800392e: f003 fca3 bl 8007278 /* Configure common DMA parameters */ dma_handle.Init.Channel = SDRAM_DMAx_CHANNEL; - 8003dda: 4b29 ldr r3, [pc, #164] ; (8003e80 ) - 8003ddc: 2200 movs r2, #0 - 8003dde: 605a str r2, [r3, #4] + 8003932: 4b29 ldr r3, [pc, #164] ; (80039d8 ) + 8003934: 2200 movs r2, #0 + 8003936: 605a str r2, [r3, #4] dma_handle.Init.Direction = DMA_MEMORY_TO_MEMORY; - 8003de0: 4b27 ldr r3, [pc, #156] ; (8003e80 ) - 8003de2: 2280 movs r2, #128 ; 0x80 - 8003de4: 609a str r2, [r3, #8] + 8003938: 4b27 ldr r3, [pc, #156] ; (80039d8 ) + 800393a: 2280 movs r2, #128 ; 0x80 + 800393c: 609a str r2, [r3, #8] dma_handle.Init.PeriphInc = DMA_PINC_ENABLE; - 8003de6: 4b26 ldr r3, [pc, #152] ; (8003e80 ) - 8003de8: f44f 7200 mov.w r2, #512 ; 0x200 - 8003dec: 60da str r2, [r3, #12] + 800393e: 4b26 ldr r3, [pc, #152] ; (80039d8 ) + 8003940: f44f 7200 mov.w r2, #512 ; 0x200 + 8003944: 60da str r2, [r3, #12] dma_handle.Init.MemInc = DMA_MINC_ENABLE; - 8003dee: 4b24 ldr r3, [pc, #144] ; (8003e80 ) - 8003df0: f44f 6280 mov.w r2, #1024 ; 0x400 - 8003df4: 611a str r2, [r3, #16] + 8003946: 4b24 ldr r3, [pc, #144] ; (80039d8 ) + 8003948: f44f 6280 mov.w r2, #1024 ; 0x400 + 800394c: 611a str r2, [r3, #16] dma_handle.Init.PeriphDataAlignment = DMA_PDATAALIGN_WORD; - 8003df6: 4b22 ldr r3, [pc, #136] ; (8003e80 ) - 8003df8: f44f 5280 mov.w r2, #4096 ; 0x1000 - 8003dfc: 615a str r2, [r3, #20] + 800394e: 4b22 ldr r3, [pc, #136] ; (80039d8 ) + 8003950: f44f 5280 mov.w r2, #4096 ; 0x1000 + 8003954: 615a str r2, [r3, #20] dma_handle.Init.MemDataAlignment = DMA_MDATAALIGN_WORD; - 8003dfe: 4b20 ldr r3, [pc, #128] ; (8003e80 ) - 8003e00: f44f 4280 mov.w r2, #16384 ; 0x4000 - 8003e04: 619a str r2, [r3, #24] + 8003956: 4b20 ldr r3, [pc, #128] ; (80039d8 ) + 8003958: f44f 4280 mov.w r2, #16384 ; 0x4000 + 800395c: 619a str r2, [r3, #24] dma_handle.Init.Mode = DMA_NORMAL; - 8003e06: 4b1e ldr r3, [pc, #120] ; (8003e80 ) - 8003e08: 2200 movs r2, #0 - 8003e0a: 61da str r2, [r3, #28] + 800395e: 4b1e ldr r3, [pc, #120] ; (80039d8 ) + 8003960: 2200 movs r2, #0 + 8003962: 61da str r2, [r3, #28] dma_handle.Init.Priority = DMA_PRIORITY_HIGH; - 8003e0c: 4b1c ldr r3, [pc, #112] ; (8003e80 ) - 8003e0e: f44f 3200 mov.w r2, #131072 ; 0x20000 - 8003e12: 621a str r2, [r3, #32] + 8003964: 4b1c ldr r3, [pc, #112] ; (80039d8 ) + 8003966: f44f 3200 mov.w r2, #131072 ; 0x20000 + 800396a: 621a str r2, [r3, #32] dma_handle.Init.FIFOMode = DMA_FIFOMODE_DISABLE; - 8003e14: 4b1a ldr r3, [pc, #104] ; (8003e80 ) - 8003e16: 2200 movs r2, #0 - 8003e18: 625a str r2, [r3, #36] ; 0x24 + 800396c: 4b1a ldr r3, [pc, #104] ; (80039d8 ) + 800396e: 2200 movs r2, #0 + 8003970: 625a str r2, [r3, #36] ; 0x24 dma_handle.Init.FIFOThreshold = DMA_FIFO_THRESHOLD_FULL; - 8003e1a: 4b19 ldr r3, [pc, #100] ; (8003e80 ) - 8003e1c: 2203 movs r2, #3 - 8003e1e: 629a str r2, [r3, #40] ; 0x28 + 8003972: 4b19 ldr r3, [pc, #100] ; (80039d8 ) + 8003974: 2203 movs r2, #3 + 8003976: 629a str r2, [r3, #40] ; 0x28 dma_handle.Init.MemBurst = DMA_MBURST_SINGLE; - 8003e20: 4b17 ldr r3, [pc, #92] ; (8003e80 ) - 8003e22: 2200 movs r2, #0 - 8003e24: 62da str r2, [r3, #44] ; 0x2c + 8003978: 4b17 ldr r3, [pc, #92] ; (80039d8 ) + 800397a: 2200 movs r2, #0 + 800397c: 62da str r2, [r3, #44] ; 0x2c dma_handle.Init.PeriphBurst = DMA_PBURST_SINGLE; - 8003e26: 4b16 ldr r3, [pc, #88] ; (8003e80 ) - 8003e28: 2200 movs r2, #0 - 8003e2a: 631a str r2, [r3, #48] ; 0x30 + 800397e: 4b16 ldr r3, [pc, #88] ; (80039d8 ) + 8003980: 2200 movs r2, #0 + 8003982: 631a str r2, [r3, #48] ; 0x30 dma_handle.Instance = SDRAM_DMAx_STREAM; - 8003e2c: 4b14 ldr r3, [pc, #80] ; (8003e80 ) - 8003e2e: 4a15 ldr r2, [pc, #84] ; (8003e84 ) - 8003e30: 601a str r2, [r3, #0] + 8003984: 4b14 ldr r3, [pc, #80] ; (80039d8 ) + 8003986: 4a15 ldr r2, [pc, #84] ; (80039dc ) + 8003988: 601a str r2, [r3, #0] /* Associate the DMA handle */ __HAL_LINKDMA(hsdram, hdma, dma_handle); - 8003e32: 687b ldr r3, [r7, #4] - 8003e34: 4a12 ldr r2, [pc, #72] ; (8003e80 ) - 8003e36: 631a str r2, [r3, #48] ; 0x30 - 8003e38: 4a11 ldr r2, [pc, #68] ; (8003e80 ) - 8003e3a: 687b ldr r3, [r7, #4] - 8003e3c: 6393 str r3, [r2, #56] ; 0x38 + 800398a: 687b ldr r3, [r7, #4] + 800398c: 4a12 ldr r2, [pc, #72] ; (80039d8 ) + 800398e: 631a str r2, [r3, #48] ; 0x30 + 8003990: 4a11 ldr r2, [pc, #68] ; (80039d8 ) + 8003992: 687b ldr r3, [r7, #4] + 8003994: 6393 str r3, [r2, #56] ; 0x38 /* Deinitialize the stream for new transfer */ HAL_DMA_DeInit(&dma_handle); - 8003e3e: 4810 ldr r0, [pc, #64] ; (8003e80 ) - 8003e40: f001 ff46 bl 8005cd0 + 8003996: 4810 ldr r0, [pc, #64] ; (80039d8 ) + 8003998: f001 ff4e bl 8005838 /* Configure the DMA stream */ HAL_DMA_Init(&dma_handle); - 8003e44: 480e ldr r0, [pc, #56] ; (8003e80 ) - 8003e46: f001 fe95 bl 8005b74 + 800399c: 480e ldr r0, [pc, #56] ; (80039d8 ) + 800399e: f001 fe9d bl 80056dc /* NVIC configuration for DMA transfer complete interrupt */ HAL_NVIC_SetPriority(SDRAM_DMAx_IRQn, 0x0F, 0); - 8003e4a: 2200 movs r2, #0 - 8003e4c: 210f movs r1, #15 - 8003e4e: 2038 movs r0, #56 ; 0x38 - 8003e50: f001 fcae bl 80057b0 + 80039a2: 2200 movs r2, #0 + 80039a4: 210f movs r1, #15 + 80039a6: 2038 movs r0, #56 ; 0x38 + 80039a8: f001 fcb6 bl 8005318 HAL_NVIC_EnableIRQ(SDRAM_DMAx_IRQn); - 8003e54: 2038 movs r0, #56 ; 0x38 - 8003e56: f001 fcc7 bl 80057e8 + 80039ac: 2038 movs r0, #56 ; 0x38 + 80039ae: f001 fccf bl 8005350 } - 8003e5a: bf00 nop - 8003e5c: 3740 adds r7, #64 ; 0x40 - 8003e5e: 46bd mov sp, r7 - 8003e60: bd80 pop {r7, pc} - 8003e62: bf00 nop - 8003e64: 40023800 .word 0x40023800 - 8003e68: 40020800 .word 0x40020800 - 8003e6c: 40020c00 .word 0x40020c00 - 8003e70: 40021000 .word 0x40021000 - 8003e74: 40021400 .word 0x40021400 - 8003e78: 40021800 .word 0x40021800 - 8003e7c: 40021c00 .word 0x40021c00 - 8003e80: 200004e8 .word 0x200004e8 - 8003e84: 40026410 .word 0x40026410 + 80039b2: bf00 nop + 80039b4: 3740 adds r7, #64 ; 0x40 + 80039b6: 46bd mov sp, r7 + 80039b8: bd80 pop {r7, pc} + 80039ba: bf00 nop + 80039bc: 40023800 .word 0x40023800 + 80039c0: 40020800 .word 0x40020800 + 80039c4: 40020c00 .word 0x40020c00 + 80039c8: 40021000 .word 0x40021000 + 80039cc: 40021400 .word 0x40021400 + 80039d0: 40021800 .word 0x40021800 + 80039d4: 40021c00 .word 0x40021c00 + 80039d8: 200004e8 .word 0x200004e8 + 80039dc: 40026410 .word 0x40026410 -08003e88 : +080039e0 : * @param ts_SizeX: Maximum X size of the TS area on LCD * @param ts_SizeY: Maximum Y size of the TS area on LCD * @retval TS_OK if all initializations are OK. Other value if error. */ uint8_t BSP_TS_Init(uint16_t ts_SizeX, uint16_t ts_SizeY) { - 8003e88: b580 push {r7, lr} - 8003e8a: b084 sub sp, #16 - 8003e8c: af00 add r7, sp, #0 - 8003e8e: 4603 mov r3, r0 - 8003e90: 460a mov r2, r1 - 8003e92: 80fb strh r3, [r7, #6] - 8003e94: 4613 mov r3, r2 - 8003e96: 80bb strh r3, [r7, #4] + 80039e0: b580 push {r7, lr} + 80039e2: b084 sub sp, #16 + 80039e4: af00 add r7, sp, #0 + 80039e6: 4603 mov r3, r0 + 80039e8: 460a mov r2, r1 + 80039ea: 80fb strh r3, [r7, #6] + 80039ec: 4613 mov r3, r2 + 80039ee: 80bb strh r3, [r7, #4] uint8_t status = TS_OK; - 8003e98: 2300 movs r3, #0 - 8003e9a: 73fb strb r3, [r7, #15] + 80039f0: 2300 movs r3, #0 + 80039f2: 73fb strb r3, [r7, #15] tsXBoundary = ts_SizeX; - 8003e9c: 4a14 ldr r2, [pc, #80] ; (8003ef0 ) - 8003e9e: 88fb ldrh r3, [r7, #6] - 8003ea0: 8013 strh r3, [r2, #0] + 80039f4: 4a14 ldr r2, [pc, #80] ; (8003a48 ) + 80039f6: 88fb ldrh r3, [r7, #6] + 80039f8: 8013 strh r3, [r2, #0] tsYBoundary = ts_SizeY; - 8003ea2: 4a14 ldr r2, [pc, #80] ; (8003ef4 ) - 8003ea4: 88bb ldrh r3, [r7, #4] - 8003ea6: 8013 strh r3, [r2, #0] + 80039fa: 4a14 ldr r2, [pc, #80] ; (8003a4c ) + 80039fc: 88bb ldrh r3, [r7, #4] + 80039fe: 8013 strh r3, [r2, #0] /* Read ID and verify if the touch screen driver is ready */ ft5336_ts_drv.Init(TS_I2C_ADDRESS); - 8003ea8: 4b13 ldr r3, [pc, #76] ; (8003ef8 ) - 8003eaa: 681b ldr r3, [r3, #0] - 8003eac: 2070 movs r0, #112 ; 0x70 - 8003eae: 4798 blx r3 + 8003a00: 4b13 ldr r3, [pc, #76] ; (8003a50 ) + 8003a02: 681b ldr r3, [r3, #0] + 8003a04: 2070 movs r0, #112 ; 0x70 + 8003a06: 4798 blx r3 if(ft5336_ts_drv.ReadID(TS_I2C_ADDRESS) == FT5336_ID_VALUE) - 8003eb0: 4b11 ldr r3, [pc, #68] ; (8003ef8 ) - 8003eb2: 685b ldr r3, [r3, #4] - 8003eb4: 2070 movs r0, #112 ; 0x70 - 8003eb6: 4798 blx r3 - 8003eb8: 4603 mov r3, r0 - 8003eba: 2b51 cmp r3, #81 ; 0x51 - 8003ebc: d111 bne.n 8003ee2 + 8003a08: 4b11 ldr r3, [pc, #68] ; (8003a50 ) + 8003a0a: 685b ldr r3, [r3, #4] + 8003a0c: 2070 movs r0, #112 ; 0x70 + 8003a0e: 4798 blx r3 + 8003a10: 4603 mov r3, r0 + 8003a12: 2b51 cmp r3, #81 ; 0x51 + 8003a14: d111 bne.n 8003a3a { /* Initialize the TS driver structure */ tsDriver = &ft5336_ts_drv; - 8003ebe: 4b0f ldr r3, [pc, #60] ; (8003efc ) - 8003ec0: 4a0d ldr r2, [pc, #52] ; (8003ef8 ) - 8003ec2: 601a str r2, [r3, #0] + 8003a16: 4b0f ldr r3, [pc, #60] ; (8003a54 ) + 8003a18: 4a0d ldr r2, [pc, #52] ; (8003a50 ) + 8003a1a: 601a str r2, [r3, #0] I2cAddress = TS_I2C_ADDRESS; - 8003ec4: 4b0e ldr r3, [pc, #56] ; (8003f00 ) - 8003ec6: 2270 movs r2, #112 ; 0x70 - 8003ec8: 701a strb r2, [r3, #0] + 8003a1c: 4b0e ldr r3, [pc, #56] ; (8003a58 ) + 8003a1e: 2270 movs r2, #112 ; 0x70 + 8003a20: 701a strb r2, [r3, #0] tsOrientation = TS_SWAP_XY; - 8003eca: 4b0e ldr r3, [pc, #56] ; (8003f04 ) - 8003ecc: 2208 movs r2, #8 - 8003ece: 701a strb r2, [r3, #0] + 8003a22: 4b0e ldr r3, [pc, #56] ; (8003a5c ) + 8003a24: 2208 movs r2, #8 + 8003a26: 701a strb r2, [r3, #0] /* Initialize the TS driver */ tsDriver->Start(I2cAddress); - 8003ed0: 4b0a ldr r3, [pc, #40] ; (8003efc ) - 8003ed2: 681b ldr r3, [r3, #0] - 8003ed4: 68db ldr r3, [r3, #12] - 8003ed6: 4a0a ldr r2, [pc, #40] ; (8003f00 ) - 8003ed8: 7812 ldrb r2, [r2, #0] - 8003eda: b292 uxth r2, r2 - 8003edc: 4610 mov r0, r2 - 8003ede: 4798 blx r3 - 8003ee0: e001 b.n 8003ee6 + 8003a28: 4b0a ldr r3, [pc, #40] ; (8003a54 ) + 8003a2a: 681b ldr r3, [r3, #0] + 8003a2c: 68db ldr r3, [r3, #12] + 8003a2e: 4a0a ldr r2, [pc, #40] ; (8003a58 ) + 8003a30: 7812 ldrb r2, [r2, #0] + 8003a32: b292 uxth r2, r2 + 8003a34: 4610 mov r0, r2 + 8003a36: 4798 blx r3 + 8003a38: e001 b.n 8003a3e } else { status = TS_DEVICE_NOT_FOUND; - 8003ee2: 2303 movs r3, #3 - 8003ee4: 73fb strb r3, [r7, #15] + 8003a3a: 2303 movs r3, #3 + 8003a3c: 73fb strb r3, [r7, #15] } return status; - 8003ee6: 7bfb ldrb r3, [r7, #15] + 8003a3e: 7bfb ldrb r3, [r7, #15] } - 8003ee8: 4618 mov r0, r3 - 8003eea: 3710 adds r7, #16 - 8003eec: 46bd mov sp, r7 - 8003eee: bd80 pop {r7, pc} - 8003ef0: 2000054c .word 0x2000054c - 8003ef4: 2000054e .word 0x2000054e - 8003ef8: 20000000 .word 0x20000000 - 8003efc: 20000548 .word 0x20000548 - 8003f00: 20000551 .word 0x20000551 - 8003f04: 20000550 .word 0x20000550 + 8003a40: 4618 mov r0, r3 + 8003a42: 3710 adds r7, #16 + 8003a44: 46bd mov sp, r7 + 8003a46: bd80 pop {r7, pc} + 8003a48: 2000054c .word 0x2000054c + 8003a4c: 2000054e .word 0x2000054e + 8003a50: 20000000 .word 0x20000000 + 8003a54: 20000548 .word 0x20000548 + 8003a58: 20000551 .word 0x20000551 + 8003a5c: 20000550 .word 0x20000550 -08003f08 : +08003a60 : * @brief Returns status and positions of the touch screen. * @param TS_State: Pointer to touch screen current state structure * @retval TS_OK if all initializations are OK. Other value if error. */ uint8_t BSP_TS_GetState(TS_StateTypeDef *TS_State) { - 8003f08: b590 push {r4, r7, lr} - 8003f0a: b097 sub sp, #92 ; 0x5c - 8003f0c: af02 add r7, sp, #8 - 8003f0e: 6078 str r0, [r7, #4] + 8003a60: b590 push {r4, r7, lr} + 8003a62: b097 sub sp, #92 ; 0x5c + 8003a64: af02 add r7, sp, #8 + 8003a66: 6078 str r0, [r7, #4] static uint32_t _x[TS_MAX_NB_TOUCH] = {0, 0}; static uint32_t _y[TS_MAX_NB_TOUCH] = {0, 0}; uint8_t ts_status = TS_OK; - 8003f10: 2300 movs r3, #0 - 8003f12: f887 304f strb.w r3, [r7, #79] ; 0x4f + 8003a68: 2300 movs r3, #0 + 8003a6a: f887 304f strb.w r3, [r7, #79] ; 0x4f uint16_t brute_y[TS_MAX_NB_TOUCH]; uint16_t x_diff; uint16_t y_diff; uint32_t index; #if (TS_MULTI_TOUCH_SUPPORTED == 1) uint32_t weight = 0; - 8003f16: 2300 movs r3, #0 - 8003f18: 613b str r3, [r7, #16] + 8003a6e: 2300 movs r3, #0 + 8003a70: 613b str r3, [r7, #16] uint32_t area = 0; - 8003f1a: 2300 movs r3, #0 - 8003f1c: 60fb str r3, [r7, #12] + 8003a72: 2300 movs r3, #0 + 8003a74: 60fb str r3, [r7, #12] uint32_t event = 0; - 8003f1e: 2300 movs r3, #0 - 8003f20: 60bb str r3, [r7, #8] + 8003a76: 2300 movs r3, #0 + 8003a78: 60bb str r3, [r7, #8] #endif /* TS_MULTI_TOUCH_SUPPORTED == 1 */ /* Check and update the number of touches active detected */ TS_State->touchDetected = tsDriver->DetectTouch(I2cAddress); - 8003f22: 4b97 ldr r3, [pc, #604] ; (8004180 ) - 8003f24: 681b ldr r3, [r3, #0] - 8003f26: 691b ldr r3, [r3, #16] - 8003f28: 4a96 ldr r2, [pc, #600] ; (8004184 ) - 8003f2a: 7812 ldrb r2, [r2, #0] - 8003f2c: b292 uxth r2, r2 - 8003f2e: 4610 mov r0, r2 - 8003f30: 4798 blx r3 - 8003f32: 4603 mov r3, r0 - 8003f34: 461a mov r2, r3 - 8003f36: 687b ldr r3, [r7, #4] - 8003f38: 701a strb r2, [r3, #0] + 8003a7a: 4b97 ldr r3, [pc, #604] ; (8003cd8 ) + 8003a7c: 681b ldr r3, [r3, #0] + 8003a7e: 691b ldr r3, [r3, #16] + 8003a80: 4a96 ldr r2, [pc, #600] ; (8003cdc ) + 8003a82: 7812 ldrb r2, [r2, #0] + 8003a84: b292 uxth r2, r2 + 8003a86: 4610 mov r0, r2 + 8003a88: 4798 blx r3 + 8003a8a: 4603 mov r3, r0 + 8003a8c: 461a mov r2, r3 + 8003a8e: 687b ldr r3, [r7, #4] + 8003a90: 701a strb r2, [r3, #0] if(TS_State->touchDetected) - 8003f3a: 687b ldr r3, [r7, #4] - 8003f3c: 781b ldrb r3, [r3, #0] - 8003f3e: 2b00 cmp r3, #0 - 8003f40: f000 81a8 beq.w 8004294 + 8003a92: 687b ldr r3, [r7, #4] + 8003a94: 781b ldrb r3, [r3, #0] + 8003a96: 2b00 cmp r3, #0 + 8003a98: f000 81a8 beq.w 8003dec { for(index=0; index < TS_State->touchDetected; index++) - 8003f44: 2300 movs r3, #0 - 8003f46: 64bb str r3, [r7, #72] ; 0x48 - 8003f48: e197 b.n 800427a + 8003a9c: 2300 movs r3, #0 + 8003a9e: 64bb str r3, [r7, #72] ; 0x48 + 8003aa0: e197 b.n 8003dd2 { /* Get each touch coordinates */ tsDriver->GetXY(I2cAddress, &(brute_x[index]), &(brute_y[index])); - 8003f4a: 4b8d ldr r3, [pc, #564] ; (8004180 ) - 8003f4c: 681b ldr r3, [r3, #0] - 8003f4e: 695b ldr r3, [r3, #20] - 8003f50: 4a8c ldr r2, [pc, #560] ; (8004184 ) - 8003f52: 7812 ldrb r2, [r2, #0] - 8003f54: b290 uxth r0, r2 - 8003f56: f107 0120 add.w r1, r7, #32 - 8003f5a: 6cba ldr r2, [r7, #72] ; 0x48 - 8003f5c: 0052 lsls r2, r2, #1 - 8003f5e: 188c adds r4, r1, r2 - 8003f60: f107 0114 add.w r1, r7, #20 - 8003f64: 6cba ldr r2, [r7, #72] ; 0x48 - 8003f66: 0052 lsls r2, r2, #1 - 8003f68: 440a add r2, r1 - 8003f6a: 4621 mov r1, r4 - 8003f6c: 4798 blx r3 + 8003aa2: 4b8d ldr r3, [pc, #564] ; (8003cd8 ) + 8003aa4: 681b ldr r3, [r3, #0] + 8003aa6: 695b ldr r3, [r3, #20] + 8003aa8: 4a8c ldr r2, [pc, #560] ; (8003cdc ) + 8003aaa: 7812 ldrb r2, [r2, #0] + 8003aac: b290 uxth r0, r2 + 8003aae: f107 0120 add.w r1, r7, #32 + 8003ab2: 6cba ldr r2, [r7, #72] ; 0x48 + 8003ab4: 0052 lsls r2, r2, #1 + 8003ab6: 188c adds r4, r1, r2 + 8003ab8: f107 0114 add.w r1, r7, #20 + 8003abc: 6cba ldr r2, [r7, #72] ; 0x48 + 8003abe: 0052 lsls r2, r2, #1 + 8003ac0: 440a add r2, r1 + 8003ac2: 4621 mov r1, r4 + 8003ac4: 4798 blx r3 if(tsOrientation == TS_SWAP_NONE) - 8003f6e: 4b86 ldr r3, [pc, #536] ; (8004188 ) - 8003f70: 781b ldrb r3, [r3, #0] - 8003f72: 2b01 cmp r3, #1 - 8003f74: d11b bne.n 8003fae + 8003ac6: 4b86 ldr r3, [pc, #536] ; (8003ce0 ) + 8003ac8: 781b ldrb r3, [r3, #0] + 8003aca: 2b01 cmp r3, #1 + 8003acc: d11b bne.n 8003b06 { x[index] = brute_x[index]; - 8003f76: 6cbb ldr r3, [r7, #72] ; 0x48 - 8003f78: 005b lsls r3, r3, #1 - 8003f7a: f107 0250 add.w r2, r7, #80 ; 0x50 - 8003f7e: 4413 add r3, r2 - 8003f80: f833 2c30 ldrh.w r2, [r3, #-48] - 8003f84: 6cbb ldr r3, [r7, #72] ; 0x48 - 8003f86: 005b lsls r3, r3, #1 - 8003f88: f107 0150 add.w r1, r7, #80 ; 0x50 - 8003f8c: 440b add r3, r1 - 8003f8e: f823 2c18 strh.w r2, [r3, #-24] + 8003ace: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003ad0: 005b lsls r3, r3, #1 + 8003ad2: f107 0250 add.w r2, r7, #80 ; 0x50 + 8003ad6: 4413 add r3, r2 + 8003ad8: f833 2c30 ldrh.w r2, [r3, #-48] + 8003adc: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003ade: 005b lsls r3, r3, #1 + 8003ae0: f107 0150 add.w r1, r7, #80 ; 0x50 + 8003ae4: 440b add r3, r1 + 8003ae6: f823 2c18 strh.w r2, [r3, #-24] y[index] = brute_y[index]; - 8003f92: 6cbb ldr r3, [r7, #72] ; 0x48 - 8003f94: 005b lsls r3, r3, #1 - 8003f96: f107 0250 add.w r2, r7, #80 ; 0x50 - 8003f9a: 4413 add r3, r2 - 8003f9c: f833 2c3c ldrh.w r2, [r3, #-60] - 8003fa0: 6cbb ldr r3, [r7, #72] ; 0x48 - 8003fa2: 005b lsls r3, r3, #1 - 8003fa4: f107 0150 add.w r1, r7, #80 ; 0x50 - 8003fa8: 440b add r3, r1 - 8003faa: f823 2c24 strh.w r2, [r3, #-36] + 8003aea: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003aec: 005b lsls r3, r3, #1 + 8003aee: f107 0250 add.w r2, r7, #80 ; 0x50 + 8003af2: 4413 add r3, r2 + 8003af4: f833 2c3c ldrh.w r2, [r3, #-60] + 8003af8: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003afa: 005b lsls r3, r3, #1 + 8003afc: f107 0150 add.w r1, r7, #80 ; 0x50 + 8003b00: 440b add r3, r1 + 8003b02: f823 2c24 strh.w r2, [r3, #-36] } if(tsOrientation & TS_SWAP_X) - 8003fae: 4b76 ldr r3, [pc, #472] ; (8004188 ) - 8003fb0: 781b ldrb r3, [r3, #0] - 8003fb2: f003 0302 and.w r3, r3, #2 - 8003fb6: 2b00 cmp r3, #0 - 8003fb8: d010 beq.n 8003fdc + 8003b06: 4b76 ldr r3, [pc, #472] ; (8003ce0 ) + 8003b08: 781b ldrb r3, [r3, #0] + 8003b0a: f003 0302 and.w r3, r3, #2 + 8003b0e: 2b00 cmp r3, #0 + 8003b10: d010 beq.n 8003b34 { x[index] = 4096 - brute_x[index]; - 8003fba: 6cbb ldr r3, [r7, #72] ; 0x48 - 8003fbc: 005b lsls r3, r3, #1 - 8003fbe: f107 0250 add.w r2, r7, #80 ; 0x50 - 8003fc2: 4413 add r3, r2 - 8003fc4: f833 3c30 ldrh.w r3, [r3, #-48] - 8003fc8: f5c3 5380 rsb r3, r3, #4096 ; 0x1000 - 8003fcc: b29a uxth r2, r3 - 8003fce: 6cbb ldr r3, [r7, #72] ; 0x48 - 8003fd0: 005b lsls r3, r3, #1 - 8003fd2: f107 0150 add.w r1, r7, #80 ; 0x50 - 8003fd6: 440b add r3, r1 - 8003fd8: f823 2c18 strh.w r2, [r3, #-24] + 8003b12: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003b14: 005b lsls r3, r3, #1 + 8003b16: f107 0250 add.w r2, r7, #80 ; 0x50 + 8003b1a: 4413 add r3, r2 + 8003b1c: f833 3c30 ldrh.w r3, [r3, #-48] + 8003b20: f5c3 5380 rsb r3, r3, #4096 ; 0x1000 + 8003b24: b29a uxth r2, r3 + 8003b26: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003b28: 005b lsls r3, r3, #1 + 8003b2a: f107 0150 add.w r1, r7, #80 ; 0x50 + 8003b2e: 440b add r3, r1 + 8003b30: f823 2c18 strh.w r2, [r3, #-24] } if(tsOrientation & TS_SWAP_Y) - 8003fdc: 4b6a ldr r3, [pc, #424] ; (8004188 ) - 8003fde: 781b ldrb r3, [r3, #0] - 8003fe0: f003 0304 and.w r3, r3, #4 - 8003fe4: 2b00 cmp r3, #0 - 8003fe6: d010 beq.n 800400a + 8003b34: 4b6a ldr r3, [pc, #424] ; (8003ce0 ) + 8003b36: 781b ldrb r3, [r3, #0] + 8003b38: f003 0304 and.w r3, r3, #4 + 8003b3c: 2b00 cmp r3, #0 + 8003b3e: d010 beq.n 8003b62 { y[index] = 4096 - brute_y[index]; - 8003fe8: 6cbb ldr r3, [r7, #72] ; 0x48 - 8003fea: 005b lsls r3, r3, #1 - 8003fec: f107 0250 add.w r2, r7, #80 ; 0x50 - 8003ff0: 4413 add r3, r2 - 8003ff2: f833 3c3c ldrh.w r3, [r3, #-60] - 8003ff6: f5c3 5380 rsb r3, r3, #4096 ; 0x1000 - 8003ffa: b29a uxth r2, r3 - 8003ffc: 6cbb ldr r3, [r7, #72] ; 0x48 - 8003ffe: 005b lsls r3, r3, #1 - 8004000: f107 0150 add.w r1, r7, #80 ; 0x50 - 8004004: 440b add r3, r1 - 8004006: f823 2c24 strh.w r2, [r3, #-36] + 8003b40: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003b42: 005b lsls r3, r3, #1 + 8003b44: f107 0250 add.w r2, r7, #80 ; 0x50 + 8003b48: 4413 add r3, r2 + 8003b4a: f833 3c3c ldrh.w r3, [r3, #-60] + 8003b4e: f5c3 5380 rsb r3, r3, #4096 ; 0x1000 + 8003b52: b29a uxth r2, r3 + 8003b54: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003b56: 005b lsls r3, r3, #1 + 8003b58: f107 0150 add.w r1, r7, #80 ; 0x50 + 8003b5c: 440b add r3, r1 + 8003b5e: f823 2c24 strh.w r2, [r3, #-36] } if(tsOrientation & TS_SWAP_XY) - 800400a: 4b5f ldr r3, [pc, #380] ; (8004188 ) - 800400c: 781b ldrb r3, [r3, #0] - 800400e: f003 0308 and.w r3, r3, #8 - 8004012: 2b00 cmp r3, #0 - 8004014: d01b beq.n 800404e + 8003b62: 4b5f ldr r3, [pc, #380] ; (8003ce0 ) + 8003b64: 781b ldrb r3, [r3, #0] + 8003b66: f003 0308 and.w r3, r3, #8 + 8003b6a: 2b00 cmp r3, #0 + 8003b6c: d01b beq.n 8003ba6 { y[index] = brute_x[index]; - 8004016: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004018: 005b lsls r3, r3, #1 - 800401a: f107 0250 add.w r2, r7, #80 ; 0x50 - 800401e: 4413 add r3, r2 - 8004020: f833 2c30 ldrh.w r2, [r3, #-48] - 8004024: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004026: 005b lsls r3, r3, #1 - 8004028: f107 0150 add.w r1, r7, #80 ; 0x50 - 800402c: 440b add r3, r1 - 800402e: f823 2c24 strh.w r2, [r3, #-36] + 8003b6e: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003b70: 005b lsls r3, r3, #1 + 8003b72: f107 0250 add.w r2, r7, #80 ; 0x50 + 8003b76: 4413 add r3, r2 + 8003b78: f833 2c30 ldrh.w r2, [r3, #-48] + 8003b7c: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003b7e: 005b lsls r3, r3, #1 + 8003b80: f107 0150 add.w r1, r7, #80 ; 0x50 + 8003b84: 440b add r3, r1 + 8003b86: f823 2c24 strh.w r2, [r3, #-36] x[index] = brute_y[index]; - 8004032: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004034: 005b lsls r3, r3, #1 - 8004036: f107 0250 add.w r2, r7, #80 ; 0x50 - 800403a: 4413 add r3, r2 - 800403c: f833 2c3c ldrh.w r2, [r3, #-60] - 8004040: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004042: 005b lsls r3, r3, #1 - 8004044: f107 0150 add.w r1, r7, #80 ; 0x50 - 8004048: 440b add r3, r1 - 800404a: f823 2c18 strh.w r2, [r3, #-24] + 8003b8a: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003b8c: 005b lsls r3, r3, #1 + 8003b8e: f107 0250 add.w r2, r7, #80 ; 0x50 + 8003b92: 4413 add r3, r2 + 8003b94: f833 2c3c ldrh.w r2, [r3, #-60] + 8003b98: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003b9a: 005b lsls r3, r3, #1 + 8003b9c: f107 0150 add.w r1, r7, #80 ; 0x50 + 8003ba0: 440b add r3, r1 + 8003ba2: f823 2c18 strh.w r2, [r3, #-24] } x_diff = x[index] > _x[index]? (x[index] - _x[index]): (_x[index] - x[index]); - 800404e: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004050: 005b lsls r3, r3, #1 - 8004052: f107 0250 add.w r2, r7, #80 ; 0x50 - 8004056: 4413 add r3, r2 - 8004058: f833 3c18 ldrh.w r3, [r3, #-24] - 800405c: 4619 mov r1, r3 - 800405e: 4a4b ldr r2, [pc, #300] ; (800418c ) - 8004060: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004062: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8004066: 4299 cmp r1, r3 - 8004068: d90e bls.n 8004088 - 800406a: 6cbb ldr r3, [r7, #72] ; 0x48 - 800406c: 005b lsls r3, r3, #1 - 800406e: f107 0250 add.w r2, r7, #80 ; 0x50 - 8004072: 4413 add r3, r2 - 8004074: f833 2c18 ldrh.w r2, [r3, #-24] - 8004078: 4944 ldr r1, [pc, #272] ; (800418c ) - 800407a: 6cbb ldr r3, [r7, #72] ; 0x48 - 800407c: f851 3023 ldr.w r3, [r1, r3, lsl #2] - 8004080: b29b uxth r3, r3 - 8004082: 1ad3 subs r3, r2, r3 - 8004084: b29b uxth r3, r3 - 8004086: e00d b.n 80040a4 - 8004088: 4a40 ldr r2, [pc, #256] ; (800418c ) - 800408a: 6cbb ldr r3, [r7, #72] ; 0x48 - 800408c: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8004090: b29a uxth r2, r3 - 8004092: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004094: 005b lsls r3, r3, #1 - 8004096: f107 0150 add.w r1, r7, #80 ; 0x50 - 800409a: 440b add r3, r1 - 800409c: f833 3c18 ldrh.w r3, [r3, #-24] - 80040a0: 1ad3 subs r3, r2, r3 - 80040a2: b29b uxth r3, r3 - 80040a4: f8a7 3046 strh.w r3, [r7, #70] ; 0x46 + 8003ba6: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003ba8: 005b lsls r3, r3, #1 + 8003baa: f107 0250 add.w r2, r7, #80 ; 0x50 + 8003bae: 4413 add r3, r2 + 8003bb0: f833 3c18 ldrh.w r3, [r3, #-24] + 8003bb4: 4619 mov r1, r3 + 8003bb6: 4a4b ldr r2, [pc, #300] ; (8003ce4 ) + 8003bb8: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003bba: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8003bbe: 4299 cmp r1, r3 + 8003bc0: d90e bls.n 8003be0 + 8003bc2: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003bc4: 005b lsls r3, r3, #1 + 8003bc6: f107 0250 add.w r2, r7, #80 ; 0x50 + 8003bca: 4413 add r3, r2 + 8003bcc: f833 2c18 ldrh.w r2, [r3, #-24] + 8003bd0: 4944 ldr r1, [pc, #272] ; (8003ce4 ) + 8003bd2: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003bd4: f851 3023 ldr.w r3, [r1, r3, lsl #2] + 8003bd8: b29b uxth r3, r3 + 8003bda: 1ad3 subs r3, r2, r3 + 8003bdc: b29b uxth r3, r3 + 8003bde: e00d b.n 8003bfc + 8003be0: 4a40 ldr r2, [pc, #256] ; (8003ce4 ) + 8003be2: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003be4: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8003be8: b29a uxth r2, r3 + 8003bea: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003bec: 005b lsls r3, r3, #1 + 8003bee: f107 0150 add.w r1, r7, #80 ; 0x50 + 8003bf2: 440b add r3, r1 + 8003bf4: f833 3c18 ldrh.w r3, [r3, #-24] + 8003bf8: 1ad3 subs r3, r2, r3 + 8003bfa: b29b uxth r3, r3 + 8003bfc: f8a7 3046 strh.w r3, [r7, #70] ; 0x46 y_diff = y[index] > _y[index]? (y[index] - _y[index]): (_y[index] - y[index]); - 80040a8: 6cbb ldr r3, [r7, #72] ; 0x48 - 80040aa: 005b lsls r3, r3, #1 - 80040ac: f107 0250 add.w r2, r7, #80 ; 0x50 - 80040b0: 4413 add r3, r2 - 80040b2: f833 3c24 ldrh.w r3, [r3, #-36] - 80040b6: 4619 mov r1, r3 - 80040b8: 4a35 ldr r2, [pc, #212] ; (8004190 ) - 80040ba: 6cbb ldr r3, [r7, #72] ; 0x48 - 80040bc: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 80040c0: 4299 cmp r1, r3 - 80040c2: d90e bls.n 80040e2 - 80040c4: 6cbb ldr r3, [r7, #72] ; 0x48 - 80040c6: 005b lsls r3, r3, #1 - 80040c8: f107 0250 add.w r2, r7, #80 ; 0x50 - 80040cc: 4413 add r3, r2 - 80040ce: f833 2c24 ldrh.w r2, [r3, #-36] - 80040d2: 492f ldr r1, [pc, #188] ; (8004190 ) - 80040d4: 6cbb ldr r3, [r7, #72] ; 0x48 - 80040d6: f851 3023 ldr.w r3, [r1, r3, lsl #2] - 80040da: b29b uxth r3, r3 - 80040dc: 1ad3 subs r3, r2, r3 - 80040de: b29b uxth r3, r3 - 80040e0: e00d b.n 80040fe - 80040e2: 4a2b ldr r2, [pc, #172] ; (8004190 ) - 80040e4: 6cbb ldr r3, [r7, #72] ; 0x48 - 80040e6: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 80040ea: b29a uxth r2, r3 - 80040ec: 6cbb ldr r3, [r7, #72] ; 0x48 - 80040ee: 005b lsls r3, r3, #1 - 80040f0: f107 0150 add.w r1, r7, #80 ; 0x50 - 80040f4: 440b add r3, r1 - 80040f6: f833 3c24 ldrh.w r3, [r3, #-36] - 80040fa: 1ad3 subs r3, r2, r3 - 80040fc: b29b uxth r3, r3 - 80040fe: f8a7 3044 strh.w r3, [r7, #68] ; 0x44 + 8003c00: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003c02: 005b lsls r3, r3, #1 + 8003c04: f107 0250 add.w r2, r7, #80 ; 0x50 + 8003c08: 4413 add r3, r2 + 8003c0a: f833 3c24 ldrh.w r3, [r3, #-36] + 8003c0e: 4619 mov r1, r3 + 8003c10: 4a35 ldr r2, [pc, #212] ; (8003ce8 ) + 8003c12: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003c14: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8003c18: 4299 cmp r1, r3 + 8003c1a: d90e bls.n 8003c3a + 8003c1c: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003c1e: 005b lsls r3, r3, #1 + 8003c20: f107 0250 add.w r2, r7, #80 ; 0x50 + 8003c24: 4413 add r3, r2 + 8003c26: f833 2c24 ldrh.w r2, [r3, #-36] + 8003c2a: 492f ldr r1, [pc, #188] ; (8003ce8 ) + 8003c2c: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003c2e: f851 3023 ldr.w r3, [r1, r3, lsl #2] + 8003c32: b29b uxth r3, r3 + 8003c34: 1ad3 subs r3, r2, r3 + 8003c36: b29b uxth r3, r3 + 8003c38: e00d b.n 8003c56 + 8003c3a: 4a2b ldr r2, [pc, #172] ; (8003ce8 ) + 8003c3c: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003c3e: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8003c42: b29a uxth r2, r3 + 8003c44: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003c46: 005b lsls r3, r3, #1 + 8003c48: f107 0150 add.w r1, r7, #80 ; 0x50 + 8003c4c: 440b add r3, r1 + 8003c4e: f833 3c24 ldrh.w r3, [r3, #-36] + 8003c52: 1ad3 subs r3, r2, r3 + 8003c54: b29b uxth r3, r3 + 8003c56: f8a7 3044 strh.w r3, [r7, #68] ; 0x44 if ((x_diff + y_diff) > 5) - 8004102: f8b7 2046 ldrh.w r2, [r7, #70] ; 0x46 - 8004106: f8b7 3044 ldrh.w r3, [r7, #68] ; 0x44 - 800410a: 4413 add r3, r2 - 800410c: 2b05 cmp r3, #5 - 800410e: dd17 ble.n 8004140 + 8003c5a: f8b7 2046 ldrh.w r2, [r7, #70] ; 0x46 + 8003c5e: f8b7 3044 ldrh.w r3, [r7, #68] ; 0x44 + 8003c62: 4413 add r3, r2 + 8003c64: 2b05 cmp r3, #5 + 8003c66: dd17 ble.n 8003c98 { _x[index] = x[index]; - 8004110: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004112: 005b lsls r3, r3, #1 - 8004114: f107 0250 add.w r2, r7, #80 ; 0x50 - 8004118: 4413 add r3, r2 - 800411a: f833 3c18 ldrh.w r3, [r3, #-24] - 800411e: 4619 mov r1, r3 - 8004120: 4a1a ldr r2, [pc, #104] ; (800418c ) - 8004122: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004124: f842 1023 str.w r1, [r2, r3, lsl #2] + 8003c68: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003c6a: 005b lsls r3, r3, #1 + 8003c6c: f107 0250 add.w r2, r7, #80 ; 0x50 + 8003c70: 4413 add r3, r2 + 8003c72: f833 3c18 ldrh.w r3, [r3, #-24] + 8003c76: 4619 mov r1, r3 + 8003c78: 4a1a ldr r2, [pc, #104] ; (8003ce4 ) + 8003c7a: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003c7c: f842 1023 str.w r1, [r2, r3, lsl #2] _y[index] = y[index]; - 8004128: 6cbb ldr r3, [r7, #72] ; 0x48 - 800412a: 005b lsls r3, r3, #1 - 800412c: f107 0250 add.w r2, r7, #80 ; 0x50 - 8004130: 4413 add r3, r2 - 8004132: f833 3c24 ldrh.w r3, [r3, #-36] - 8004136: 4619 mov r1, r3 - 8004138: 4a15 ldr r2, [pc, #84] ; (8004190 ) - 800413a: 6cbb ldr r3, [r7, #72] ; 0x48 - 800413c: f842 1023 str.w r1, [r2, r3, lsl #2] + 8003c80: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003c82: 005b lsls r3, r3, #1 + 8003c84: f107 0250 add.w r2, r7, #80 ; 0x50 + 8003c88: 4413 add r3, r2 + 8003c8a: f833 3c24 ldrh.w r3, [r3, #-36] + 8003c8e: 4619 mov r1, r3 + 8003c90: 4a15 ldr r2, [pc, #84] ; (8003ce8 ) + 8003c92: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003c94: f842 1023 str.w r1, [r2, r3, lsl #2] } if(I2cAddress == FT5336_I2C_SLAVE_ADDRESS) - 8004140: 4b10 ldr r3, [pc, #64] ; (8004184 ) - 8004142: 781b ldrb r3, [r3, #0] - 8004144: 2b70 cmp r3, #112 ; 0x70 - 8004146: d125 bne.n 8004194 + 8003c98: 4b10 ldr r3, [pc, #64] ; (8003cdc ) + 8003c9a: 781b ldrb r3, [r3, #0] + 8003c9c: 2b70 cmp r3, #112 ; 0x70 + 8003c9e: d125 bne.n 8003cec { TS_State->touchX[index] = x[index]; - 8004148: 6cbb ldr r3, [r7, #72] ; 0x48 - 800414a: 005b lsls r3, r3, #1 - 800414c: f107 0250 add.w r2, r7, #80 ; 0x50 - 8004150: 4413 add r3, r2 - 8004152: f833 1c18 ldrh.w r1, [r3, #-24] - 8004156: 687a ldr r2, [r7, #4] - 8004158: 6cbb ldr r3, [r7, #72] ; 0x48 - 800415a: 005b lsls r3, r3, #1 - 800415c: 4413 add r3, r2 - 800415e: 460a mov r2, r1 - 8004160: 805a strh r2, [r3, #2] + 8003ca0: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003ca2: 005b lsls r3, r3, #1 + 8003ca4: f107 0250 add.w r2, r7, #80 ; 0x50 + 8003ca8: 4413 add r3, r2 + 8003caa: f833 1c18 ldrh.w r1, [r3, #-24] + 8003cae: 687a ldr r2, [r7, #4] + 8003cb0: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003cb2: 005b lsls r3, r3, #1 + 8003cb4: 4413 add r3, r2 + 8003cb6: 460a mov r2, r1 + 8003cb8: 805a strh r2, [r3, #2] TS_State->touchY[index] = y[index]; - 8004162: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004164: 005b lsls r3, r3, #1 - 8004166: f107 0250 add.w r2, r7, #80 ; 0x50 - 800416a: 4413 add r3, r2 - 800416c: f833 1c24 ldrh.w r1, [r3, #-36] - 8004170: 687a ldr r2, [r7, #4] - 8004172: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004174: 3304 adds r3, #4 - 8004176: 005b lsls r3, r3, #1 - 8004178: 4413 add r3, r2 - 800417a: 460a mov r2, r1 - 800417c: 809a strh r2, [r3, #4] - 800417e: e02c b.n 80041da - 8004180: 20000548 .word 0x20000548 - 8004184: 20000551 .word 0x20000551 - 8004188: 20000550 .word 0x20000550 - 800418c: 20000554 .word 0x20000554 - 8004190: 20000568 .word 0x20000568 + 8003cba: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003cbc: 005b lsls r3, r3, #1 + 8003cbe: f107 0250 add.w r2, r7, #80 ; 0x50 + 8003cc2: 4413 add r3, r2 + 8003cc4: f833 1c24 ldrh.w r1, [r3, #-36] + 8003cc8: 687a ldr r2, [r7, #4] + 8003cca: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003ccc: 3304 adds r3, #4 + 8003cce: 005b lsls r3, r3, #1 + 8003cd0: 4413 add r3, r2 + 8003cd2: 460a mov r2, r1 + 8003cd4: 809a strh r2, [r3, #4] + 8003cd6: e02c b.n 8003d32 + 8003cd8: 20000548 .word 0x20000548 + 8003cdc: 20000551 .word 0x20000551 + 8003ce0: 20000550 .word 0x20000550 + 8003ce4: 20000554 .word 0x20000554 + 8003ce8: 20000568 .word 0x20000568 } else { /* 2^12 = 4096 : indexes are expressed on a dynamic of 4096 */ TS_State->touchX[index] = (tsXBoundary * _x[index]) >> 12; - 8004194: 4b42 ldr r3, [pc, #264] ; (80042a0 ) - 8004196: 881b ldrh r3, [r3, #0] - 8004198: 4619 mov r1, r3 - 800419a: 4a42 ldr r2, [pc, #264] ; (80042a4 ) - 800419c: 6cbb ldr r3, [r7, #72] ; 0x48 - 800419e: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 80041a2: fb03 f301 mul.w r3, r3, r1 - 80041a6: 0b1b lsrs r3, r3, #12 - 80041a8: b299 uxth r1, r3 - 80041aa: 687a ldr r2, [r7, #4] - 80041ac: 6cbb ldr r3, [r7, #72] ; 0x48 - 80041ae: 005b lsls r3, r3, #1 - 80041b0: 4413 add r3, r2 - 80041b2: 460a mov r2, r1 - 80041b4: 805a strh r2, [r3, #2] + 8003cec: 4b42 ldr r3, [pc, #264] ; (8003df8 ) + 8003cee: 881b ldrh r3, [r3, #0] + 8003cf0: 4619 mov r1, r3 + 8003cf2: 4a42 ldr r2, [pc, #264] ; (8003dfc ) + 8003cf4: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003cf6: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8003cfa: fb03 f301 mul.w r3, r3, r1 + 8003cfe: 0b1b lsrs r3, r3, #12 + 8003d00: b299 uxth r1, r3 + 8003d02: 687a ldr r2, [r7, #4] + 8003d04: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003d06: 005b lsls r3, r3, #1 + 8003d08: 4413 add r3, r2 + 8003d0a: 460a mov r2, r1 + 8003d0c: 805a strh r2, [r3, #2] TS_State->touchY[index] = (tsYBoundary * _y[index]) >> 12; - 80041b6: 4b3c ldr r3, [pc, #240] ; (80042a8 ) - 80041b8: 881b ldrh r3, [r3, #0] - 80041ba: 4619 mov r1, r3 - 80041bc: 4a3b ldr r2, [pc, #236] ; (80042ac ) - 80041be: 6cbb ldr r3, [r7, #72] ; 0x48 - 80041c0: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 80041c4: fb03 f301 mul.w r3, r3, r1 - 80041c8: 0b1b lsrs r3, r3, #12 - 80041ca: b299 uxth r1, r3 - 80041cc: 687a ldr r2, [r7, #4] - 80041ce: 6cbb ldr r3, [r7, #72] ; 0x48 - 80041d0: 3304 adds r3, #4 - 80041d2: 005b lsls r3, r3, #1 - 80041d4: 4413 add r3, r2 - 80041d6: 460a mov r2, r1 - 80041d8: 809a strh r2, [r3, #4] + 8003d0e: 4b3c ldr r3, [pc, #240] ; (8003e00 ) + 8003d10: 881b ldrh r3, [r3, #0] + 8003d12: 4619 mov r1, r3 + 8003d14: 4a3b ldr r2, [pc, #236] ; (8003e04 ) + 8003d16: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003d18: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8003d1c: fb03 f301 mul.w r3, r3, r1 + 8003d20: 0b1b lsrs r3, r3, #12 + 8003d22: b299 uxth r1, r3 + 8003d24: 687a ldr r2, [r7, #4] + 8003d26: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003d28: 3304 adds r3, #4 + 8003d2a: 005b lsls r3, r3, #1 + 8003d2c: 4413 add r3, r2 + 8003d2e: 460a mov r2, r1 + 8003d30: 809a strh r2, [r3, #4] } #if (TS_MULTI_TOUCH_SUPPORTED == 1) /* Get touch info related to the current touch */ ft5336_TS_GetTouchInfo(I2cAddress, index, &weight, &area, &event); - 80041da: 4b35 ldr r3, [pc, #212] ; (80042b0 ) - 80041dc: 781b ldrb r3, [r3, #0] - 80041de: b298 uxth r0, r3 - 80041e0: f107 010c add.w r1, r7, #12 - 80041e4: f107 0210 add.w r2, r7, #16 - 80041e8: f107 0308 add.w r3, r7, #8 - 80041ec: 9300 str r3, [sp, #0] - 80041ee: 460b mov r3, r1 - 80041f0: 6cb9 ldr r1, [r7, #72] ; 0x48 - 80041f2: f7fc fbdb bl 80009ac + 8003d32: 4b35 ldr r3, [pc, #212] ; (8003e08 ) + 8003d34: 781b ldrb r3, [r3, #0] + 8003d36: b298 uxth r0, r3 + 8003d38: f107 010c add.w r1, r7, #12 + 8003d3c: f107 0210 add.w r2, r7, #16 + 8003d40: f107 0308 add.w r3, r7, #8 + 8003d44: 9300 str r3, [sp, #0] + 8003d46: 460b mov r3, r1 + 8003d48: 6cb9 ldr r1, [r7, #72] ; 0x48 + 8003d4a: f7fc fe2f bl 80009ac /* Update TS_State structure */ TS_State->touchWeight[index] = weight; - 80041f6: 693b ldr r3, [r7, #16] - 80041f8: b2d9 uxtb r1, r3 - 80041fa: 687a ldr r2, [r7, #4] - 80041fc: 6cbb ldr r3, [r7, #72] ; 0x48 - 80041fe: 4413 add r3, r2 - 8004200: 3316 adds r3, #22 - 8004202: 460a mov r2, r1 - 8004204: 701a strb r2, [r3, #0] + 8003d4e: 693b ldr r3, [r7, #16] + 8003d50: b2d9 uxtb r1, r3 + 8003d52: 687a ldr r2, [r7, #4] + 8003d54: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003d56: 4413 add r3, r2 + 8003d58: 3316 adds r3, #22 + 8003d5a: 460a mov r2, r1 + 8003d5c: 701a strb r2, [r3, #0] TS_State->touchArea[index] = area; - 8004206: 68fb ldr r3, [r7, #12] - 8004208: b2d9 uxtb r1, r3 - 800420a: 687a ldr r2, [r7, #4] - 800420c: 6cbb ldr r3, [r7, #72] ; 0x48 - 800420e: 4413 add r3, r2 - 8004210: 3320 adds r3, #32 - 8004212: 460a mov r2, r1 - 8004214: 701a strb r2, [r3, #0] + 8003d5e: 68fb ldr r3, [r7, #12] + 8003d60: b2d9 uxtb r1, r3 + 8003d62: 687a ldr r2, [r7, #4] + 8003d64: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003d66: 4413 add r3, r2 + 8003d68: 3320 adds r3, #32 + 8003d6a: 460a mov r2, r1 + 8003d6c: 701a strb r2, [r3, #0] /* Remap touch event */ switch(event) - 8004216: 68bb ldr r3, [r7, #8] - 8004218: 2b03 cmp r3, #3 - 800421a: d827 bhi.n 800426c - 800421c: a201 add r2, pc, #4 ; (adr r2, 8004224 ) - 800421e: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8004222: bf00 nop - 8004224: 08004235 .word 0x08004235 - 8004228: 08004243 .word 0x08004243 - 800422c: 08004251 .word 0x08004251 - 8004230: 0800425f .word 0x0800425f + 8003d6e: 68bb ldr r3, [r7, #8] + 8003d70: 2b03 cmp r3, #3 + 8003d72: d827 bhi.n 8003dc4 + 8003d74: a201 add r2, pc, #4 ; (adr r2, 8003d7c ) + 8003d76: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8003d7a: bf00 nop + 8003d7c: 08003d8d .word 0x08003d8d + 8003d80: 08003d9b .word 0x08003d9b + 8003d84: 08003da9 .word 0x08003da9 + 8003d88: 08003db7 .word 0x08003db7 { case FT5336_TOUCH_EVT_FLAG_PRESS_DOWN : TS_State->touchEventId[index] = TOUCH_EVENT_PRESS_DOWN; - 8004234: 687a ldr r2, [r7, #4] - 8004236: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004238: 4413 add r3, r2 - 800423a: 331b adds r3, #27 - 800423c: 2201 movs r2, #1 - 800423e: 701a strb r2, [r3, #0] + 8003d8c: 687a ldr r2, [r7, #4] + 8003d8e: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003d90: 4413 add r3, r2 + 8003d92: 331b adds r3, #27 + 8003d94: 2201 movs r2, #1 + 8003d96: 701a strb r2, [r3, #0] break; - 8004240: e018 b.n 8004274 + 8003d98: e018 b.n 8003dcc case FT5336_TOUCH_EVT_FLAG_LIFT_UP : TS_State->touchEventId[index] = TOUCH_EVENT_LIFT_UP; - 8004242: 687a ldr r2, [r7, #4] - 8004244: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004246: 4413 add r3, r2 - 8004248: 331b adds r3, #27 - 800424a: 2202 movs r2, #2 - 800424c: 701a strb r2, [r3, #0] + 8003d9a: 687a ldr r2, [r7, #4] + 8003d9c: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003d9e: 4413 add r3, r2 + 8003da0: 331b adds r3, #27 + 8003da2: 2202 movs r2, #2 + 8003da4: 701a strb r2, [r3, #0] break; - 800424e: e011 b.n 8004274 + 8003da6: e011 b.n 8003dcc case FT5336_TOUCH_EVT_FLAG_CONTACT : TS_State->touchEventId[index] = TOUCH_EVENT_CONTACT; - 8004250: 687a ldr r2, [r7, #4] - 8004252: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004254: 4413 add r3, r2 - 8004256: 331b adds r3, #27 - 8004258: 2203 movs r2, #3 - 800425a: 701a strb r2, [r3, #0] + 8003da8: 687a ldr r2, [r7, #4] + 8003daa: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003dac: 4413 add r3, r2 + 8003dae: 331b adds r3, #27 + 8003db0: 2203 movs r2, #3 + 8003db2: 701a strb r2, [r3, #0] break; - 800425c: e00a b.n 8004274 + 8003db4: e00a b.n 8003dcc case FT5336_TOUCH_EVT_FLAG_NO_EVENT : TS_State->touchEventId[index] = TOUCH_EVENT_NO_EVT; - 800425e: 687a ldr r2, [r7, #4] - 8004260: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004262: 4413 add r3, r2 - 8004264: 331b adds r3, #27 - 8004266: 2200 movs r2, #0 - 8004268: 701a strb r2, [r3, #0] + 8003db6: 687a ldr r2, [r7, #4] + 8003db8: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003dba: 4413 add r3, r2 + 8003dbc: 331b adds r3, #27 + 8003dbe: 2200 movs r2, #0 + 8003dc0: 701a strb r2, [r3, #0] break; - 800426a: e003 b.n 8004274 + 8003dc2: e003 b.n 8003dcc default : ts_status = TS_ERROR; - 800426c: 2301 movs r3, #1 - 800426e: f887 304f strb.w r3, [r7, #79] ; 0x4f + 8003dc4: 2301 movs r3, #1 + 8003dc6: f887 304f strb.w r3, [r7, #79] ; 0x4f break; - 8004272: bf00 nop + 8003dca: bf00 nop for(index=0; index < TS_State->touchDetected; index++) - 8004274: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004276: 3301 adds r3, #1 - 8004278: 64bb str r3, [r7, #72] ; 0x48 - 800427a: 687b ldr r3, [r7, #4] - 800427c: 781b ldrb r3, [r3, #0] - 800427e: 461a mov r2, r3 - 8004280: 6cbb ldr r3, [r7, #72] ; 0x48 - 8004282: 4293 cmp r3, r2 - 8004284: f4ff ae61 bcc.w 8003f4a + 8003dcc: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003dce: 3301 adds r3, #1 + 8003dd0: 64bb str r3, [r7, #72] ; 0x48 + 8003dd2: 687b ldr r3, [r7, #4] + 8003dd4: 781b ldrb r3, [r3, #0] + 8003dd6: 461a mov r2, r3 + 8003dd8: 6cbb ldr r3, [r7, #72] ; 0x48 + 8003dda: 4293 cmp r3, r2 + 8003ddc: f4ff ae61 bcc.w 8003aa2 } /* of for(index=0; index < TS_State->touchDetected; index++) */ #if (TS_MULTI_TOUCH_SUPPORTED == 1) /* Get gesture Id */ ts_status = BSP_TS_Get_GestureId(TS_State); - 8004288: 6878 ldr r0, [r7, #4] - 800428a: f000 f813 bl 80042b4 - 800428e: 4603 mov r3, r0 - 8004290: f887 304f strb.w r3, [r7, #79] ; 0x4f + 8003de0: 6878 ldr r0, [r7, #4] + 8003de2: f000 f813 bl 8003e0c + 8003de6: 4603 mov r3, r0 + 8003de8: f887 304f strb.w r3, [r7, #79] ; 0x4f #endif /* TS_MULTI_TOUCH_SUPPORTED == 1 */ } /* end of if(TS_State->touchDetected != 0) */ return (ts_status); - 8004294: f897 304f ldrb.w r3, [r7, #79] ; 0x4f + 8003dec: f897 304f ldrb.w r3, [r7, #79] ; 0x4f } - 8004298: 4618 mov r0, r3 - 800429a: 3754 adds r7, #84 ; 0x54 - 800429c: 46bd mov sp, r7 - 800429e: bd90 pop {r4, r7, pc} - 80042a0: 2000054c .word 0x2000054c - 80042a4: 20000554 .word 0x20000554 - 80042a8: 2000054e .word 0x2000054e - 80042ac: 20000568 .word 0x20000568 - 80042b0: 20000551 .word 0x20000551 + 8003df0: 4618 mov r0, r3 + 8003df2: 3754 adds r7, #84 ; 0x54 + 8003df4: 46bd mov sp, r7 + 8003df6: bd90 pop {r4, r7, pc} + 8003df8: 2000054c .word 0x2000054c + 8003dfc: 20000554 .word 0x20000554 + 8003e00: 2000054e .word 0x2000054e + 8003e04: 20000568 .word 0x20000568 + 8003e08: 20000551 .word 0x20000551 -080042b4 : +08003e0c : * @brief Update gesture Id following a touch detected. * @param TS_State: Pointer to touch screen current state structure * @retval TS_OK if all initializations are OK. Other value if error. */ uint8_t BSP_TS_Get_GestureId(TS_StateTypeDef *TS_State) { - 80042b4: b580 push {r7, lr} - 80042b6: b084 sub sp, #16 - 80042b8: af00 add r7, sp, #0 - 80042ba: 6078 str r0, [r7, #4] + 8003e0c: b580 push {r7, lr} + 8003e0e: b084 sub sp, #16 + 8003e10: af00 add r7, sp, #0 + 8003e12: 6078 str r0, [r7, #4] uint32_t gestureId = 0; - 80042bc: 2300 movs r3, #0 - 80042be: 60bb str r3, [r7, #8] + 8003e14: 2300 movs r3, #0 + 8003e16: 60bb str r3, [r7, #8] uint8_t ts_status = TS_OK; - 80042c0: 2300 movs r3, #0 - 80042c2: 73fb strb r3, [r7, #15] + 8003e18: 2300 movs r3, #0 + 8003e1a: 73fb strb r3, [r7, #15] /* Get gesture Id */ ft5336_TS_GetGestureID(I2cAddress, &gestureId); - 80042c4: 4b1f ldr r3, [pc, #124] ; (8004344 ) - 80042c6: 781b ldrb r3, [r3, #0] - 80042c8: b29b uxth r3, r3 - 80042ca: f107 0208 add.w r2, r7, #8 - 80042ce: 4611 mov r1, r2 - 80042d0: 4618 mov r0, r3 - 80042d2: f7fc fb52 bl 800097a + 8003e1c: 4b1f ldr r3, [pc, #124] ; (8003e9c ) + 8003e1e: 781b ldrb r3, [r3, #0] + 8003e20: b29b uxth r3, r3 + 8003e22: f107 0208 add.w r2, r7, #8 + 8003e26: 4611 mov r1, r2 + 8003e28: 4618 mov r0, r3 + 8003e2a: f7fc fda6 bl 800097a /* Remap gesture Id to a TS_GestureIdTypeDef value */ switch(gestureId) - 80042d6: 68bb ldr r3, [r7, #8] - 80042d8: 2b18 cmp r3, #24 - 80042da: d01b beq.n 8004314 - 80042dc: 2b18 cmp r3, #24 - 80042de: d806 bhi.n 80042ee - 80042e0: 2b10 cmp r3, #16 - 80042e2: d00f beq.n 8004304 - 80042e4: 2b14 cmp r3, #20 - 80042e6: d011 beq.n 800430c - 80042e8: 2b00 cmp r3, #0 - 80042ea: d007 beq.n 80042fc - 80042ec: e022 b.n 8004334 - 80042ee: 2b40 cmp r3, #64 ; 0x40 - 80042f0: d018 beq.n 8004324 - 80042f2: 2b49 cmp r3, #73 ; 0x49 - 80042f4: d01a beq.n 800432c - 80042f6: 2b1c cmp r3, #28 - 80042f8: d010 beq.n 800431c - 80042fa: e01b b.n 8004334 + 8003e2e: 68bb ldr r3, [r7, #8] + 8003e30: 2b18 cmp r3, #24 + 8003e32: d01b beq.n 8003e6c + 8003e34: 2b18 cmp r3, #24 + 8003e36: d806 bhi.n 8003e46 + 8003e38: 2b10 cmp r3, #16 + 8003e3a: d00f beq.n 8003e5c + 8003e3c: 2b14 cmp r3, #20 + 8003e3e: d011 beq.n 8003e64 + 8003e40: 2b00 cmp r3, #0 + 8003e42: d007 beq.n 8003e54 + 8003e44: e022 b.n 8003e8c + 8003e46: 2b40 cmp r3, #64 ; 0x40 + 8003e48: d018 beq.n 8003e7c + 8003e4a: 2b49 cmp r3, #73 ; 0x49 + 8003e4c: d01a beq.n 8003e84 + 8003e4e: 2b1c cmp r3, #28 + 8003e50: d010 beq.n 8003e74 + 8003e52: e01b b.n 8003e8c { case FT5336_GEST_ID_NO_GESTURE : TS_State->gestureId = GEST_ID_NO_GESTURE; - 80042fc: 687b ldr r3, [r7, #4] - 80042fe: 2200 movs r2, #0 - 8004300: 629a str r2, [r3, #40] ; 0x28 + 8003e54: 687b ldr r3, [r7, #4] + 8003e56: 2200 movs r2, #0 + 8003e58: 629a str r2, [r3, #40] ; 0x28 break; - 8004302: e01a b.n 800433a + 8003e5a: e01a b.n 8003e92 case FT5336_GEST_ID_MOVE_UP : TS_State->gestureId = GEST_ID_MOVE_UP; - 8004304: 687b ldr r3, [r7, #4] - 8004306: 2201 movs r2, #1 - 8004308: 629a str r2, [r3, #40] ; 0x28 + 8003e5c: 687b ldr r3, [r7, #4] + 8003e5e: 2201 movs r2, #1 + 8003e60: 629a str r2, [r3, #40] ; 0x28 break; - 800430a: e016 b.n 800433a + 8003e62: e016 b.n 8003e92 case FT5336_GEST_ID_MOVE_RIGHT : TS_State->gestureId = GEST_ID_MOVE_RIGHT; - 800430c: 687b ldr r3, [r7, #4] - 800430e: 2202 movs r2, #2 - 8004310: 629a str r2, [r3, #40] ; 0x28 + 8003e64: 687b ldr r3, [r7, #4] + 8003e66: 2202 movs r2, #2 + 8003e68: 629a str r2, [r3, #40] ; 0x28 break; - 8004312: e012 b.n 800433a + 8003e6a: e012 b.n 8003e92 case FT5336_GEST_ID_MOVE_DOWN : TS_State->gestureId = GEST_ID_MOVE_DOWN; - 8004314: 687b ldr r3, [r7, #4] - 8004316: 2203 movs r2, #3 - 8004318: 629a str r2, [r3, #40] ; 0x28 + 8003e6c: 687b ldr r3, [r7, #4] + 8003e6e: 2203 movs r2, #3 + 8003e70: 629a str r2, [r3, #40] ; 0x28 break; - 800431a: e00e b.n 800433a + 8003e72: e00e b.n 8003e92 case FT5336_GEST_ID_MOVE_LEFT : TS_State->gestureId = GEST_ID_MOVE_LEFT; - 800431c: 687b ldr r3, [r7, #4] - 800431e: 2204 movs r2, #4 - 8004320: 629a str r2, [r3, #40] ; 0x28 + 8003e74: 687b ldr r3, [r7, #4] + 8003e76: 2204 movs r2, #4 + 8003e78: 629a str r2, [r3, #40] ; 0x28 break; - 8004322: e00a b.n 800433a + 8003e7a: e00a b.n 8003e92 case FT5336_GEST_ID_ZOOM_IN : TS_State->gestureId = GEST_ID_ZOOM_IN; - 8004324: 687b ldr r3, [r7, #4] - 8004326: 2205 movs r2, #5 - 8004328: 629a str r2, [r3, #40] ; 0x28 + 8003e7c: 687b ldr r3, [r7, #4] + 8003e7e: 2205 movs r2, #5 + 8003e80: 629a str r2, [r3, #40] ; 0x28 break; - 800432a: e006 b.n 800433a + 8003e82: e006 b.n 8003e92 case FT5336_GEST_ID_ZOOM_OUT : TS_State->gestureId = GEST_ID_ZOOM_OUT; - 800432c: 687b ldr r3, [r7, #4] - 800432e: 2206 movs r2, #6 - 8004330: 629a str r2, [r3, #40] ; 0x28 + 8003e84: 687b ldr r3, [r7, #4] + 8003e86: 2206 movs r2, #6 + 8003e88: 629a str r2, [r3, #40] ; 0x28 break; - 8004332: e002 b.n 800433a + 8003e8a: e002 b.n 8003e92 default : ts_status = TS_ERROR; - 8004334: 2301 movs r3, #1 - 8004336: 73fb strb r3, [r7, #15] + 8003e8c: 2301 movs r3, #1 + 8003e8e: 73fb strb r3, [r7, #15] break; - 8004338: bf00 nop + 8003e90: bf00 nop } /* of switch(gestureId) */ return(ts_status); - 800433a: 7bfb ldrb r3, [r7, #15] + 8003e92: 7bfb ldrb r3, [r7, #15] } - 800433c: 4618 mov r0, r3 - 800433e: 3710 adds r7, #16 - 8004340: 46bd mov sp, r7 - 8004342: bd80 pop {r7, pc} - 8004344: 20000551 .word 0x20000551 + 8003e94: 4618 mov r0, r3 + 8003e96: 3710 adds r7, #16 + 8003e98: 46bd mov sp, r7 + 8003e9a: bd80 pop {r7, pc} + 8003e9c: 20000551 .word 0x20000551 -08004348 : +08003ea0 : void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim); /** * Initializes the Global MSP. */ void HAL_MspInit(void) { - 8004348: b580 push {r7, lr} - 800434a: b082 sub sp, #8 - 800434c: af00 add r7, sp, #0 + 8003ea0: b580 push {r7, lr} + 8003ea2: b082 sub sp, #8 + 8003ea4: af00 add r7, sp, #0 /* USER CODE BEGIN MspInit 0 */ /* USER CODE END MspInit 0 */ __HAL_RCC_PWR_CLK_ENABLE(); - 800434e: 4b11 ldr r3, [pc, #68] ; (8004394 ) - 8004350: 6c1b ldr r3, [r3, #64] ; 0x40 - 8004352: 4a10 ldr r2, [pc, #64] ; (8004394 ) - 8004354: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 - 8004358: 6413 str r3, [r2, #64] ; 0x40 - 800435a: 4b0e ldr r3, [pc, #56] ; (8004394 ) - 800435c: 6c1b ldr r3, [r3, #64] ; 0x40 - 800435e: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 - 8004362: 607b str r3, [r7, #4] - 8004364: 687b ldr r3, [r7, #4] + 8003ea6: 4b11 ldr r3, [pc, #68] ; (8003eec ) + 8003ea8: 6c1b ldr r3, [r3, #64] ; 0x40 + 8003eaa: 4a10 ldr r2, [pc, #64] ; (8003eec ) + 8003eac: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 + 8003eb0: 6413 str r3, [r2, #64] ; 0x40 + 8003eb2: 4b0e ldr r3, [pc, #56] ; (8003eec ) + 8003eb4: 6c1b ldr r3, [r3, #64] ; 0x40 + 8003eb6: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 + 8003eba: 607b str r3, [r7, #4] + 8003ebc: 687b ldr r3, [r7, #4] __HAL_RCC_SYSCFG_CLK_ENABLE(); - 8004366: 4b0b ldr r3, [pc, #44] ; (8004394 ) - 8004368: 6c5b ldr r3, [r3, #68] ; 0x44 - 800436a: 4a0a ldr r2, [pc, #40] ; (8004394 ) - 800436c: f443 4380 orr.w r3, r3, #16384 ; 0x4000 - 8004370: 6453 str r3, [r2, #68] ; 0x44 - 8004372: 4b08 ldr r3, [pc, #32] ; (8004394 ) - 8004374: 6c5b ldr r3, [r3, #68] ; 0x44 - 8004376: f403 4380 and.w r3, r3, #16384 ; 0x4000 - 800437a: 603b str r3, [r7, #0] - 800437c: 683b ldr r3, [r7, #0] + 8003ebe: 4b0b ldr r3, [pc, #44] ; (8003eec ) + 8003ec0: 6c5b ldr r3, [r3, #68] ; 0x44 + 8003ec2: 4a0a ldr r2, [pc, #40] ; (8003eec ) + 8003ec4: f443 4380 orr.w r3, r3, #16384 ; 0x4000 + 8003ec8: 6453 str r3, [r2, #68] ; 0x44 + 8003eca: 4b08 ldr r3, [pc, #32] ; (8003eec ) + 8003ecc: 6c5b ldr r3, [r3, #68] ; 0x44 + 8003ece: f403 4380 and.w r3, r3, #16384 ; 0x4000 + 8003ed2: 603b str r3, [r7, #0] + 8003ed4: 683b ldr r3, [r7, #0] /* System interrupt init*/ /* PendSV_IRQn interrupt configuration */ HAL_NVIC_SetPriority(PendSV_IRQn, 15, 0); - 800437e: 2200 movs r2, #0 - 8004380: 210f movs r1, #15 - 8004382: f06f 0001 mvn.w r0, #1 - 8004386: f001 fa13 bl 80057b0 + 8003ed6: 2200 movs r2, #0 + 8003ed8: 210f movs r1, #15 + 8003eda: f06f 0001 mvn.w r0, #1 + 8003ede: f001 fa1b bl 8005318 /* USER CODE BEGIN MspInit 1 */ /* USER CODE END MspInit 1 */ } - 800438a: bf00 nop - 800438c: 3708 adds r7, #8 - 800438e: 46bd mov sp, r7 - 8004390: bd80 pop {r7, pc} - 8004392: bf00 nop - 8004394: 40023800 .word 0x40023800 + 8003ee2: bf00 nop + 8003ee4: 3708 adds r7, #8 + 8003ee6: 46bd mov sp, r7 + 8003ee8: bd80 pop {r7, pc} + 8003eea: bf00 nop + 8003eec: 40023800 .word 0x40023800 -08004398 : +08003ef0 : * This function configures the hardware resources used in this example * @param hadc: ADC handle pointer * @retval None */ void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) { - 8004398: b580 push {r7, lr} - 800439a: b08c sub sp, #48 ; 0x30 - 800439c: af00 add r7, sp, #0 - 800439e: 6078 str r0, [r7, #4] + 8003ef0: b580 push {r7, lr} + 8003ef2: b08c sub sp, #48 ; 0x30 + 8003ef4: af00 add r7, sp, #0 + 8003ef6: 6078 str r0, [r7, #4] GPIO_InitTypeDef GPIO_InitStruct = {0}; - 80043a0: f107 031c add.w r3, r7, #28 - 80043a4: 2200 movs r2, #0 - 80043a6: 601a str r2, [r3, #0] - 80043a8: 605a str r2, [r3, #4] - 80043aa: 609a str r2, [r3, #8] - 80043ac: 60da str r2, [r3, #12] - 80043ae: 611a str r2, [r3, #16] + 8003ef8: f107 031c add.w r3, r7, #28 + 8003efc: 2200 movs r2, #0 + 8003efe: 601a str r2, [r3, #0] + 8003f00: 605a str r2, [r3, #4] + 8003f02: 609a str r2, [r3, #8] + 8003f04: 60da str r2, [r3, #12] + 8003f06: 611a str r2, [r3, #16] if(hadc->Instance==ADC1) - 80043b0: 687b ldr r3, [r7, #4] - 80043b2: 681b ldr r3, [r3, #0] - 80043b4: 4a2a ldr r2, [pc, #168] ; (8004460 ) - 80043b6: 4293 cmp r3, r2 - 80043b8: d124 bne.n 8004404 + 8003f08: 687b ldr r3, [r7, #4] + 8003f0a: 681b ldr r3, [r3, #0] + 8003f0c: 4a2a ldr r2, [pc, #168] ; (8003fb8 ) + 8003f0e: 4293 cmp r3, r2 + 8003f10: d124 bne.n 8003f5c { /* USER CODE BEGIN ADC1_MspInit 0 */ /* USER CODE END ADC1_MspInit 0 */ /* Peripheral clock enable */ __HAL_RCC_ADC1_CLK_ENABLE(); - 80043ba: 4b2a ldr r3, [pc, #168] ; (8004464 ) - 80043bc: 6c5b ldr r3, [r3, #68] ; 0x44 - 80043be: 4a29 ldr r2, [pc, #164] ; (8004464 ) - 80043c0: f443 7380 orr.w r3, r3, #256 ; 0x100 - 80043c4: 6453 str r3, [r2, #68] ; 0x44 - 80043c6: 4b27 ldr r3, [pc, #156] ; (8004464 ) - 80043c8: 6c5b ldr r3, [r3, #68] ; 0x44 - 80043ca: f403 7380 and.w r3, r3, #256 ; 0x100 - 80043ce: 61bb str r3, [r7, #24] - 80043d0: 69bb ldr r3, [r7, #24] + 8003f12: 4b2a ldr r3, [pc, #168] ; (8003fbc ) + 8003f14: 6c5b ldr r3, [r3, #68] ; 0x44 + 8003f16: 4a29 ldr r2, [pc, #164] ; (8003fbc ) + 8003f18: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8003f1c: 6453 str r3, [r2, #68] ; 0x44 + 8003f1e: 4b27 ldr r3, [pc, #156] ; (8003fbc ) + 8003f20: 6c5b ldr r3, [r3, #68] ; 0x44 + 8003f22: f403 7380 and.w r3, r3, #256 ; 0x100 + 8003f26: 61bb str r3, [r7, #24] + 8003f28: 69bb ldr r3, [r7, #24] __HAL_RCC_GPIOA_CLK_ENABLE(); - 80043d2: 4b24 ldr r3, [pc, #144] ; (8004464 ) - 80043d4: 6b1b ldr r3, [r3, #48] ; 0x30 - 80043d6: 4a23 ldr r2, [pc, #140] ; (8004464 ) - 80043d8: f043 0301 orr.w r3, r3, #1 - 80043dc: 6313 str r3, [r2, #48] ; 0x30 - 80043de: 4b21 ldr r3, [pc, #132] ; (8004464 ) - 80043e0: 6b1b ldr r3, [r3, #48] ; 0x30 - 80043e2: f003 0301 and.w r3, r3, #1 - 80043e6: 617b str r3, [r7, #20] - 80043e8: 697b ldr r3, [r7, #20] + 8003f2a: 4b24 ldr r3, [pc, #144] ; (8003fbc ) + 8003f2c: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003f2e: 4a23 ldr r2, [pc, #140] ; (8003fbc ) + 8003f30: f043 0301 orr.w r3, r3, #1 + 8003f34: 6313 str r3, [r2, #48] ; 0x30 + 8003f36: 4b21 ldr r3, [pc, #132] ; (8003fbc ) + 8003f38: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003f3a: f003 0301 and.w r3, r3, #1 + 8003f3e: 617b str r3, [r7, #20] + 8003f40: 697b ldr r3, [r7, #20] /**ADC1 GPIO Configuration PA0/WKUP ------> ADC1_IN0 */ GPIO_InitStruct.Pin = GPIO_PIN_0; - 80043ea: 2301 movs r3, #1 - 80043ec: 61fb str r3, [r7, #28] + 8003f42: 2301 movs r3, #1 + 8003f44: 61fb str r3, [r7, #28] GPIO_InitStruct.Mode = GPIO_MODE_ANALOG; - 80043ee: 2303 movs r3, #3 - 80043f0: 623b str r3, [r7, #32] + 8003f46: 2303 movs r3, #3 + 8003f48: 623b str r3, [r7, #32] GPIO_InitStruct.Pull = GPIO_NOPULL; - 80043f2: 2300 movs r3, #0 - 80043f4: 627b str r3, [r7, #36] ; 0x24 + 8003f4a: 2300 movs r3, #0 + 8003f4c: 627b str r3, [r7, #36] ; 0x24 HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 80043f6: f107 031c add.w r3, r7, #28 - 80043fa: 4619 mov r1, r3 - 80043fc: 481a ldr r0, [pc, #104] ; (8004468 ) - 80043fe: f003 f987 bl 8007710 + 8003f4e: f107 031c add.w r3, r7, #28 + 8003f52: 4619 mov r1, r3 + 8003f54: 481a ldr r0, [pc, #104] ; (8003fc0 ) + 8003f56: f003 f98f bl 8007278 /* USER CODE BEGIN ADC3_MspInit 1 */ /* USER CODE END ADC3_MspInit 1 */ } } - 8004402: e029 b.n 8004458 + 8003f5a: e029 b.n 8003fb0 else if(hadc->Instance==ADC3) - 8004404: 687b ldr r3, [r7, #4] - 8004406: 681b ldr r3, [r3, #0] - 8004408: 4a18 ldr r2, [pc, #96] ; (800446c ) - 800440a: 4293 cmp r3, r2 - 800440c: d124 bne.n 8004458 + 8003f5c: 687b ldr r3, [r7, #4] + 8003f5e: 681b ldr r3, [r3, #0] + 8003f60: 4a18 ldr r2, [pc, #96] ; (8003fc4 ) + 8003f62: 4293 cmp r3, r2 + 8003f64: d124 bne.n 8003fb0 __HAL_RCC_ADC3_CLK_ENABLE(); - 800440e: 4b15 ldr r3, [pc, #84] ; (8004464 ) - 8004410: 6c5b ldr r3, [r3, #68] ; 0x44 - 8004412: 4a14 ldr r2, [pc, #80] ; (8004464 ) - 8004414: f443 6380 orr.w r3, r3, #1024 ; 0x400 - 8004418: 6453 str r3, [r2, #68] ; 0x44 - 800441a: 4b12 ldr r3, [pc, #72] ; (8004464 ) - 800441c: 6c5b ldr r3, [r3, #68] ; 0x44 - 800441e: f403 6380 and.w r3, r3, #1024 ; 0x400 - 8004422: 613b str r3, [r7, #16] - 8004424: 693b ldr r3, [r7, #16] + 8003f66: 4b15 ldr r3, [pc, #84] ; (8003fbc ) + 8003f68: 6c5b ldr r3, [r3, #68] ; 0x44 + 8003f6a: 4a14 ldr r2, [pc, #80] ; (8003fbc ) + 8003f6c: f443 6380 orr.w r3, r3, #1024 ; 0x400 + 8003f70: 6453 str r3, [r2, #68] ; 0x44 + 8003f72: 4b12 ldr r3, [pc, #72] ; (8003fbc ) + 8003f74: 6c5b ldr r3, [r3, #68] ; 0x44 + 8003f76: f403 6380 and.w r3, r3, #1024 ; 0x400 + 8003f7a: 613b str r3, [r7, #16] + 8003f7c: 693b ldr r3, [r7, #16] __HAL_RCC_GPIOF_CLK_ENABLE(); - 8004426: 4b0f ldr r3, [pc, #60] ; (8004464 ) - 8004428: 6b1b ldr r3, [r3, #48] ; 0x30 - 800442a: 4a0e ldr r2, [pc, #56] ; (8004464 ) - 800442c: f043 0320 orr.w r3, r3, #32 - 8004430: 6313 str r3, [r2, #48] ; 0x30 - 8004432: 4b0c ldr r3, [pc, #48] ; (8004464 ) - 8004434: 6b1b ldr r3, [r3, #48] ; 0x30 - 8004436: f003 0320 and.w r3, r3, #32 - 800443a: 60fb str r3, [r7, #12] - 800443c: 68fb ldr r3, [r7, #12] + 8003f7e: 4b0f ldr r3, [pc, #60] ; (8003fbc ) + 8003f80: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003f82: 4a0e ldr r2, [pc, #56] ; (8003fbc ) + 8003f84: f043 0320 orr.w r3, r3, #32 + 8003f88: 6313 str r3, [r2, #48] ; 0x30 + 8003f8a: 4b0c ldr r3, [pc, #48] ; (8003fbc ) + 8003f8c: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003f8e: f003 0320 and.w r3, r3, #32 + 8003f92: 60fb str r3, [r7, #12] + 8003f94: 68fb ldr r3, [r7, #12] GPIO_InitStruct.Pin = GPIO_PIN_10|GPIO_PIN_9|GPIO_PIN_8; - 800443e: f44f 63e0 mov.w r3, #1792 ; 0x700 - 8004442: 61fb str r3, [r7, #28] + 8003f96: f44f 63e0 mov.w r3, #1792 ; 0x700 + 8003f9a: 61fb str r3, [r7, #28] GPIO_InitStruct.Mode = GPIO_MODE_ANALOG; - 8004444: 2303 movs r3, #3 - 8004446: 623b str r3, [r7, #32] + 8003f9c: 2303 movs r3, #3 + 8003f9e: 623b str r3, [r7, #32] GPIO_InitStruct.Pull = GPIO_NOPULL; - 8004448: 2300 movs r3, #0 - 800444a: 627b str r3, [r7, #36] ; 0x24 + 8003fa0: 2300 movs r3, #0 + 8003fa2: 627b str r3, [r7, #36] ; 0x24 HAL_GPIO_Init(GPIOF, &GPIO_InitStruct); - 800444c: f107 031c add.w r3, r7, #28 - 8004450: 4619 mov r1, r3 - 8004452: 4807 ldr r0, [pc, #28] ; (8004470 ) - 8004454: f003 f95c bl 8007710 + 8003fa4: f107 031c add.w r3, r7, #28 + 8003fa8: 4619 mov r1, r3 + 8003faa: 4807 ldr r0, [pc, #28] ; (8003fc8 ) + 8003fac: f003 f964 bl 8007278 } - 8004458: bf00 nop - 800445a: 3730 adds r7, #48 ; 0x30 - 800445c: 46bd mov sp, r7 - 800445e: bd80 pop {r7, pc} - 8004460: 40012000 .word 0x40012000 - 8004464: 40023800 .word 0x40023800 - 8004468: 40020000 .word 0x40020000 - 800446c: 40012200 .word 0x40012200 - 8004470: 40021400 .word 0x40021400 + 8003fb0: bf00 nop + 8003fb2: 3730 adds r7, #48 ; 0x30 + 8003fb4: 46bd mov sp, r7 + 8003fb6: bd80 pop {r7, pc} + 8003fb8: 40012000 .word 0x40012000 + 8003fbc: 40023800 .word 0x40023800 + 8003fc0: 40020000 .word 0x40020000 + 8003fc4: 40012200 .word 0x40012200 + 8003fc8: 40021400 .word 0x40021400 -08004474 : +08003fcc : * This function configures the hardware resources used in this example * @param hcrc: CRC handle pointer * @retval None */ void HAL_CRC_MspInit(CRC_HandleTypeDef* hcrc) { - 8004474: b480 push {r7} - 8004476: b085 sub sp, #20 - 8004478: af00 add r7, sp, #0 - 800447a: 6078 str r0, [r7, #4] + 8003fcc: b480 push {r7} + 8003fce: b085 sub sp, #20 + 8003fd0: af00 add r7, sp, #0 + 8003fd2: 6078 str r0, [r7, #4] if(hcrc->Instance==CRC) - 800447c: 687b ldr r3, [r7, #4] - 800447e: 681b ldr r3, [r3, #0] - 8004480: 4a0a ldr r2, [pc, #40] ; (80044ac ) - 8004482: 4293 cmp r3, r2 - 8004484: d10b bne.n 800449e + 8003fd4: 687b ldr r3, [r7, #4] + 8003fd6: 681b ldr r3, [r3, #0] + 8003fd8: 4a0a ldr r2, [pc, #40] ; (8004004 ) + 8003fda: 4293 cmp r3, r2 + 8003fdc: d10b bne.n 8003ff6 { /* USER CODE BEGIN CRC_MspInit 0 */ /* USER CODE END CRC_MspInit 0 */ /* Peripheral clock enable */ __HAL_RCC_CRC_CLK_ENABLE(); - 8004486: 4b0a ldr r3, [pc, #40] ; (80044b0 ) - 8004488: 6b1b ldr r3, [r3, #48] ; 0x30 - 800448a: 4a09 ldr r2, [pc, #36] ; (80044b0 ) - 800448c: f443 5380 orr.w r3, r3, #4096 ; 0x1000 - 8004490: 6313 str r3, [r2, #48] ; 0x30 - 8004492: 4b07 ldr r3, [pc, #28] ; (80044b0 ) - 8004494: 6b1b ldr r3, [r3, #48] ; 0x30 - 8004496: f403 5380 and.w r3, r3, #4096 ; 0x1000 - 800449a: 60fb str r3, [r7, #12] - 800449c: 68fb ldr r3, [r7, #12] + 8003fde: 4b0a ldr r3, [pc, #40] ; (8004008 ) + 8003fe0: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003fe2: 4a09 ldr r2, [pc, #36] ; (8004008 ) + 8003fe4: f443 5380 orr.w r3, r3, #4096 ; 0x1000 + 8003fe8: 6313 str r3, [r2, #48] ; 0x30 + 8003fea: 4b07 ldr r3, [pc, #28] ; (8004008 ) + 8003fec: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003fee: f403 5380 and.w r3, r3, #4096 ; 0x1000 + 8003ff2: 60fb str r3, [r7, #12] + 8003ff4: 68fb ldr r3, [r7, #12] /* USER CODE BEGIN CRC_MspInit 1 */ /* USER CODE END CRC_MspInit 1 */ } } - 800449e: bf00 nop - 80044a0: 3714 adds r7, #20 - 80044a2: 46bd mov sp, r7 - 80044a4: f85d 7b04 ldr.w r7, [sp], #4 - 80044a8: 4770 bx lr - 80044aa: bf00 nop - 80044ac: 40023000 .word 0x40023000 - 80044b0: 40023800 .word 0x40023800 + 8003ff6: bf00 nop + 8003ff8: 3714 adds r7, #20 + 8003ffa: 46bd mov sp, r7 + 8003ffc: f85d 7b04 ldr.w r7, [sp], #4 + 8004000: 4770 bx lr + 8004002: bf00 nop + 8004004: 40023000 .word 0x40023000 + 8004008: 40023800 .word 0x40023800 -080044b4 : +0800400c : * This function configures the hardware resources used in this example * @param hdac: DAC handle pointer * @retval None */ void HAL_DAC_MspInit(DAC_HandleTypeDef* hdac) { - 80044b4: b580 push {r7, lr} - 80044b6: b08a sub sp, #40 ; 0x28 - 80044b8: af00 add r7, sp, #0 - 80044ba: 6078 str r0, [r7, #4] + 800400c: b580 push {r7, lr} + 800400e: b08a sub sp, #40 ; 0x28 + 8004010: af00 add r7, sp, #0 + 8004012: 6078 str r0, [r7, #4] GPIO_InitTypeDef GPIO_InitStruct = {0}; - 80044bc: f107 0314 add.w r3, r7, #20 - 80044c0: 2200 movs r2, #0 - 80044c2: 601a str r2, [r3, #0] - 80044c4: 605a str r2, [r3, #4] - 80044c6: 609a str r2, [r3, #8] - 80044c8: 60da str r2, [r3, #12] - 80044ca: 611a str r2, [r3, #16] + 8004014: f107 0314 add.w r3, r7, #20 + 8004018: 2200 movs r2, #0 + 800401a: 601a str r2, [r3, #0] + 800401c: 605a str r2, [r3, #4] + 800401e: 609a str r2, [r3, #8] + 8004020: 60da str r2, [r3, #12] + 8004022: 611a str r2, [r3, #16] if(hdac->Instance==DAC) - 80044cc: 687b ldr r3, [r7, #4] - 80044ce: 681b ldr r3, [r3, #0] - 80044d0: 4a19 ldr r2, [pc, #100] ; (8004538 ) - 80044d2: 4293 cmp r3, r2 - 80044d4: d12b bne.n 800452e + 8004024: 687b ldr r3, [r7, #4] + 8004026: 681b ldr r3, [r3, #0] + 8004028: 4a19 ldr r2, [pc, #100] ; (8004090 ) + 800402a: 4293 cmp r3, r2 + 800402c: d12b bne.n 8004086 { /* USER CODE BEGIN DAC_MspInit 0 */ /* USER CODE END DAC_MspInit 0 */ /* Peripheral clock enable */ __HAL_RCC_DAC_CLK_ENABLE(); - 80044d6: 4b19 ldr r3, [pc, #100] ; (800453c ) - 80044d8: 6c1b ldr r3, [r3, #64] ; 0x40 - 80044da: 4a18 ldr r2, [pc, #96] ; (800453c ) - 80044dc: f043 5300 orr.w r3, r3, #536870912 ; 0x20000000 - 80044e0: 6413 str r3, [r2, #64] ; 0x40 - 80044e2: 4b16 ldr r3, [pc, #88] ; (800453c ) - 80044e4: 6c1b ldr r3, [r3, #64] ; 0x40 - 80044e6: f003 5300 and.w r3, r3, #536870912 ; 0x20000000 - 80044ea: 613b str r3, [r7, #16] - 80044ec: 693b ldr r3, [r7, #16] + 800402e: 4b19 ldr r3, [pc, #100] ; (8004094 ) + 8004030: 6c1b ldr r3, [r3, #64] ; 0x40 + 8004032: 4a18 ldr r2, [pc, #96] ; (8004094 ) + 8004034: f043 5300 orr.w r3, r3, #536870912 ; 0x20000000 + 8004038: 6413 str r3, [r2, #64] ; 0x40 + 800403a: 4b16 ldr r3, [pc, #88] ; (8004094 ) + 800403c: 6c1b ldr r3, [r3, #64] ; 0x40 + 800403e: f003 5300 and.w r3, r3, #536870912 ; 0x20000000 + 8004042: 613b str r3, [r7, #16] + 8004044: 693b ldr r3, [r7, #16] __HAL_RCC_GPIOA_CLK_ENABLE(); - 80044ee: 4b13 ldr r3, [pc, #76] ; (800453c ) - 80044f0: 6b1b ldr r3, [r3, #48] ; 0x30 - 80044f2: 4a12 ldr r2, [pc, #72] ; (800453c ) - 80044f4: f043 0301 orr.w r3, r3, #1 - 80044f8: 6313 str r3, [r2, #48] ; 0x30 - 80044fa: 4b10 ldr r3, [pc, #64] ; (800453c ) - 80044fc: 6b1b ldr r3, [r3, #48] ; 0x30 - 80044fe: f003 0301 and.w r3, r3, #1 - 8004502: 60fb str r3, [r7, #12] - 8004504: 68fb ldr r3, [r7, #12] + 8004046: 4b13 ldr r3, [pc, #76] ; (8004094 ) + 8004048: 6b1b ldr r3, [r3, #48] ; 0x30 + 800404a: 4a12 ldr r2, [pc, #72] ; (8004094 ) + 800404c: f043 0301 orr.w r3, r3, #1 + 8004050: 6313 str r3, [r2, #48] ; 0x30 + 8004052: 4b10 ldr r3, [pc, #64] ; (8004094 ) + 8004054: 6b1b ldr r3, [r3, #48] ; 0x30 + 8004056: f003 0301 and.w r3, r3, #1 + 800405a: 60fb str r3, [r7, #12] + 800405c: 68fb ldr r3, [r7, #12] /**DAC GPIO Configuration PA4 ------> DAC_OUT1 */ GPIO_InitStruct.Pin = GPIO_PIN_4; - 8004506: 2310 movs r3, #16 - 8004508: 617b str r3, [r7, #20] + 800405e: 2310 movs r3, #16 + 8004060: 617b str r3, [r7, #20] GPIO_InitStruct.Mode = GPIO_MODE_ANALOG; - 800450a: 2303 movs r3, #3 - 800450c: 61bb str r3, [r7, #24] + 8004062: 2303 movs r3, #3 + 8004064: 61bb str r3, [r7, #24] GPIO_InitStruct.Pull = GPIO_NOPULL; - 800450e: 2300 movs r3, #0 - 8004510: 61fb str r3, [r7, #28] + 8004066: 2300 movs r3, #0 + 8004068: 61fb str r3, [r7, #28] HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 8004512: f107 0314 add.w r3, r7, #20 - 8004516: 4619 mov r1, r3 - 8004518: 4809 ldr r0, [pc, #36] ; (8004540 ) - 800451a: f003 f8f9 bl 8007710 + 800406a: f107 0314 add.w r3, r7, #20 + 800406e: 4619 mov r1, r3 + 8004070: 4809 ldr r0, [pc, #36] ; (8004098 ) + 8004072: f003 f901 bl 8007278 /* DAC interrupt Init */ HAL_NVIC_SetPriority(TIM6_DAC_IRQn, 0, 0); - 800451e: 2200 movs r2, #0 - 8004520: 2100 movs r1, #0 - 8004522: 2036 movs r0, #54 ; 0x36 - 8004524: f001 f944 bl 80057b0 + 8004076: 2200 movs r2, #0 + 8004078: 2100 movs r1, #0 + 800407a: 2036 movs r0, #54 ; 0x36 + 800407c: f001 f94c bl 8005318 HAL_NVIC_EnableIRQ(TIM6_DAC_IRQn); - 8004528: 2036 movs r0, #54 ; 0x36 - 800452a: f001 f95d bl 80057e8 + 8004080: 2036 movs r0, #54 ; 0x36 + 8004082: f001 f965 bl 8005350 /* USER CODE BEGIN DAC_MspInit 1 */ /* USER CODE END DAC_MspInit 1 */ } } - 800452e: bf00 nop - 8004530: 3728 adds r7, #40 ; 0x28 - 8004532: 46bd mov sp, r7 - 8004534: bd80 pop {r7, pc} - 8004536: bf00 nop - 8004538: 40007400 .word 0x40007400 - 800453c: 40023800 .word 0x40023800 - 8004540: 40020000 .word 0x40020000 + 8004086: bf00 nop + 8004088: 3728 adds r7, #40 ; 0x28 + 800408a: 46bd mov sp, r7 + 800408c: bd80 pop {r7, pc} + 800408e: bf00 nop + 8004090: 40007400 .word 0x40007400 + 8004094: 40023800 .word 0x40023800 + 8004098: 40020000 .word 0x40020000 -08004544 : +0800409c : * This function configures the hardware resources used in this example * @param hdma2d: DMA2D handle pointer * @retval None */ void HAL_DMA2D_MspInit(DMA2D_HandleTypeDef* hdma2d) { - 8004544: b480 push {r7} - 8004546: b085 sub sp, #20 - 8004548: af00 add r7, sp, #0 - 800454a: 6078 str r0, [r7, #4] + 800409c: b480 push {r7} + 800409e: b085 sub sp, #20 + 80040a0: af00 add r7, sp, #0 + 80040a2: 6078 str r0, [r7, #4] if(hdma2d->Instance==DMA2D) - 800454c: 687b ldr r3, [r7, #4] - 800454e: 681b ldr r3, [r3, #0] - 8004550: 4a0a ldr r2, [pc, #40] ; (800457c ) - 8004552: 4293 cmp r3, r2 - 8004554: d10b bne.n 800456e + 80040a4: 687b ldr r3, [r7, #4] + 80040a6: 681b ldr r3, [r3, #0] + 80040a8: 4a0a ldr r2, [pc, #40] ; (80040d4 ) + 80040aa: 4293 cmp r3, r2 + 80040ac: d10b bne.n 80040c6 { /* USER CODE BEGIN DMA2D_MspInit 0 */ /* USER CODE END DMA2D_MspInit 0 */ /* Peripheral clock enable */ __HAL_RCC_DMA2D_CLK_ENABLE(); - 8004556: 4b0a ldr r3, [pc, #40] ; (8004580 ) - 8004558: 6b1b ldr r3, [r3, #48] ; 0x30 - 800455a: 4a09 ldr r2, [pc, #36] ; (8004580 ) - 800455c: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 - 8004560: 6313 str r3, [r2, #48] ; 0x30 - 8004562: 4b07 ldr r3, [pc, #28] ; (8004580 ) - 8004564: 6b1b ldr r3, [r3, #48] ; 0x30 - 8004566: f403 0300 and.w r3, r3, #8388608 ; 0x800000 - 800456a: 60fb str r3, [r7, #12] - 800456c: 68fb ldr r3, [r7, #12] + 80040ae: 4b0a ldr r3, [pc, #40] ; (80040d8 ) + 80040b0: 6b1b ldr r3, [r3, #48] ; 0x30 + 80040b2: 4a09 ldr r2, [pc, #36] ; (80040d8 ) + 80040b4: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 + 80040b8: 6313 str r3, [r2, #48] ; 0x30 + 80040ba: 4b07 ldr r3, [pc, #28] ; (80040d8 ) + 80040bc: 6b1b ldr r3, [r3, #48] ; 0x30 + 80040be: f403 0300 and.w r3, r3, #8388608 ; 0x800000 + 80040c2: 60fb str r3, [r7, #12] + 80040c4: 68fb ldr r3, [r7, #12] /* USER CODE BEGIN DMA2D_MspInit 1 */ /* USER CODE END DMA2D_MspInit 1 */ } } - 800456e: bf00 nop - 8004570: 3714 adds r7, #20 - 8004572: 46bd mov sp, r7 - 8004574: f85d 7b04 ldr.w r7, [sp], #4 - 8004578: 4770 bx lr - 800457a: bf00 nop - 800457c: 4002b000 .word 0x4002b000 - 8004580: 40023800 .word 0x40023800 + 80040c6: bf00 nop + 80040c8: 3714 adds r7, #20 + 80040ca: 46bd mov sp, r7 + 80040cc: f85d 7b04 ldr.w r7, [sp], #4 + 80040d0: 4770 bx lr + 80040d2: bf00 nop + 80040d4: 4002b000 .word 0x4002b000 + 80040d8: 40023800 .word 0x40023800 -08004584 : +080040dc : * This function configures the hardware resources used in this example * @param hltdc: LTDC handle pointer * @retval None */ void HAL_LTDC_MspInit(LTDC_HandleTypeDef* hltdc) { - 8004584: b580 push {r7, lr} - 8004586: b08e sub sp, #56 ; 0x38 - 8004588: af00 add r7, sp, #0 - 800458a: 6078 str r0, [r7, #4] + 80040dc: b580 push {r7, lr} + 80040de: b08e sub sp, #56 ; 0x38 + 80040e0: af00 add r7, sp, #0 + 80040e2: 6078 str r0, [r7, #4] GPIO_InitTypeDef GPIO_InitStruct = {0}; - 800458c: f107 0324 add.w r3, r7, #36 ; 0x24 - 8004590: 2200 movs r2, #0 - 8004592: 601a str r2, [r3, #0] - 8004594: 605a str r2, [r3, #4] - 8004596: 609a str r2, [r3, #8] - 8004598: 60da str r2, [r3, #12] - 800459a: 611a str r2, [r3, #16] + 80040e4: f107 0324 add.w r3, r7, #36 ; 0x24 + 80040e8: 2200 movs r2, #0 + 80040ea: 601a str r2, [r3, #0] + 80040ec: 605a str r2, [r3, #4] + 80040ee: 609a str r2, [r3, #8] + 80040f0: 60da str r2, [r3, #12] + 80040f2: 611a str r2, [r3, #16] if(hltdc->Instance==LTDC) - 800459c: 687b ldr r3, [r7, #4] - 800459e: 681b ldr r3, [r3, #0] - 80045a0: 4a55 ldr r2, [pc, #340] ; (80046f8 ) - 80045a2: 4293 cmp r3, r2 - 80045a4: f040 80a3 bne.w 80046ee + 80040f4: 687b ldr r3, [r7, #4] + 80040f6: 681b ldr r3, [r3, #0] + 80040f8: 4a55 ldr r2, [pc, #340] ; (8004250 ) + 80040fa: 4293 cmp r3, r2 + 80040fc: f040 80a3 bne.w 8004246 { /* USER CODE BEGIN LTDC_MspInit 0 */ /* USER CODE END LTDC_MspInit 0 */ /* Peripheral clock enable */ __HAL_RCC_LTDC_CLK_ENABLE(); - 80045a8: 4b54 ldr r3, [pc, #336] ; (80046fc ) - 80045aa: 6c5b ldr r3, [r3, #68] ; 0x44 - 80045ac: 4a53 ldr r2, [pc, #332] ; (80046fc ) - 80045ae: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 - 80045b2: 6453 str r3, [r2, #68] ; 0x44 - 80045b4: 4b51 ldr r3, [pc, #324] ; (80046fc ) - 80045b6: 6c5b ldr r3, [r3, #68] ; 0x44 - 80045b8: f003 6380 and.w r3, r3, #67108864 ; 0x4000000 - 80045bc: 623b str r3, [r7, #32] - 80045be: 6a3b ldr r3, [r7, #32] + 8004100: 4b54 ldr r3, [pc, #336] ; (8004254 ) + 8004102: 6c5b ldr r3, [r3, #68] ; 0x44 + 8004104: 4a53 ldr r2, [pc, #332] ; (8004254 ) + 8004106: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 + 800410a: 6453 str r3, [r2, #68] ; 0x44 + 800410c: 4b51 ldr r3, [pc, #324] ; (8004254 ) + 800410e: 6c5b ldr r3, [r3, #68] ; 0x44 + 8004110: f003 6380 and.w r3, r3, #67108864 ; 0x4000000 + 8004114: 623b str r3, [r7, #32] + 8004116: 6a3b ldr r3, [r7, #32] __HAL_RCC_GPIOE_CLK_ENABLE(); - 80045c0: 4b4e ldr r3, [pc, #312] ; (80046fc ) - 80045c2: 6b1b ldr r3, [r3, #48] ; 0x30 - 80045c4: 4a4d ldr r2, [pc, #308] ; (80046fc ) - 80045c6: f043 0310 orr.w r3, r3, #16 - 80045ca: 6313 str r3, [r2, #48] ; 0x30 - 80045cc: 4b4b ldr r3, [pc, #300] ; (80046fc ) - 80045ce: 6b1b ldr r3, [r3, #48] ; 0x30 - 80045d0: f003 0310 and.w r3, r3, #16 - 80045d4: 61fb str r3, [r7, #28] - 80045d6: 69fb ldr r3, [r7, #28] + 8004118: 4b4e ldr r3, [pc, #312] ; (8004254 ) + 800411a: 6b1b ldr r3, [r3, #48] ; 0x30 + 800411c: 4a4d ldr r2, [pc, #308] ; (8004254 ) + 800411e: f043 0310 orr.w r3, r3, #16 + 8004122: 6313 str r3, [r2, #48] ; 0x30 + 8004124: 4b4b ldr r3, [pc, #300] ; (8004254 ) + 8004126: 6b1b ldr r3, [r3, #48] ; 0x30 + 8004128: f003 0310 and.w r3, r3, #16 + 800412c: 61fb str r3, [r7, #28] + 800412e: 69fb ldr r3, [r7, #28] __HAL_RCC_GPIOJ_CLK_ENABLE(); - 80045d8: 4b48 ldr r3, [pc, #288] ; (80046fc ) - 80045da: 6b1b ldr r3, [r3, #48] ; 0x30 - 80045dc: 4a47 ldr r2, [pc, #284] ; (80046fc ) - 80045de: f443 7300 orr.w r3, r3, #512 ; 0x200 - 80045e2: 6313 str r3, [r2, #48] ; 0x30 - 80045e4: 4b45 ldr r3, [pc, #276] ; (80046fc ) - 80045e6: 6b1b ldr r3, [r3, #48] ; 0x30 - 80045e8: f403 7300 and.w r3, r3, #512 ; 0x200 - 80045ec: 61bb str r3, [r7, #24] - 80045ee: 69bb ldr r3, [r7, #24] + 8004130: 4b48 ldr r3, [pc, #288] ; (8004254 ) + 8004132: 6b1b ldr r3, [r3, #48] ; 0x30 + 8004134: 4a47 ldr r2, [pc, #284] ; (8004254 ) + 8004136: f443 7300 orr.w r3, r3, #512 ; 0x200 + 800413a: 6313 str r3, [r2, #48] ; 0x30 + 800413c: 4b45 ldr r3, [pc, #276] ; (8004254 ) + 800413e: 6b1b ldr r3, [r3, #48] ; 0x30 + 8004140: f403 7300 and.w r3, r3, #512 ; 0x200 + 8004144: 61bb str r3, [r7, #24] + 8004146: 69bb ldr r3, [r7, #24] __HAL_RCC_GPIOK_CLK_ENABLE(); - 80045f0: 4b42 ldr r3, [pc, #264] ; (80046fc ) - 80045f2: 6b1b ldr r3, [r3, #48] ; 0x30 - 80045f4: 4a41 ldr r2, [pc, #260] ; (80046fc ) - 80045f6: f443 6380 orr.w r3, r3, #1024 ; 0x400 - 80045fa: 6313 str r3, [r2, #48] ; 0x30 - 80045fc: 4b3f ldr r3, [pc, #252] ; (80046fc ) - 80045fe: 6b1b ldr r3, [r3, #48] ; 0x30 - 8004600: f403 6380 and.w r3, r3, #1024 ; 0x400 - 8004604: 617b str r3, [r7, #20] - 8004606: 697b ldr r3, [r7, #20] + 8004148: 4b42 ldr r3, [pc, #264] ; (8004254 ) + 800414a: 6b1b ldr r3, [r3, #48] ; 0x30 + 800414c: 4a41 ldr r2, [pc, #260] ; (8004254 ) + 800414e: f443 6380 orr.w r3, r3, #1024 ; 0x400 + 8004152: 6313 str r3, [r2, #48] ; 0x30 + 8004154: 4b3f ldr r3, [pc, #252] ; (8004254 ) + 8004156: 6b1b ldr r3, [r3, #48] ; 0x30 + 8004158: f403 6380 and.w r3, r3, #1024 ; 0x400 + 800415c: 617b str r3, [r7, #20] + 800415e: 697b ldr r3, [r7, #20] __HAL_RCC_GPIOG_CLK_ENABLE(); - 8004608: 4b3c ldr r3, [pc, #240] ; (80046fc ) - 800460a: 6b1b ldr r3, [r3, #48] ; 0x30 - 800460c: 4a3b ldr r2, [pc, #236] ; (80046fc ) - 800460e: f043 0340 orr.w r3, r3, #64 ; 0x40 - 8004612: 6313 str r3, [r2, #48] ; 0x30 - 8004614: 4b39 ldr r3, [pc, #228] ; (80046fc ) - 8004616: 6b1b ldr r3, [r3, #48] ; 0x30 - 8004618: f003 0340 and.w r3, r3, #64 ; 0x40 - 800461c: 613b str r3, [r7, #16] - 800461e: 693b ldr r3, [r7, #16] + 8004160: 4b3c ldr r3, [pc, #240] ; (8004254 ) + 8004162: 6b1b ldr r3, [r3, #48] ; 0x30 + 8004164: 4a3b ldr r2, [pc, #236] ; (8004254 ) + 8004166: f043 0340 orr.w r3, r3, #64 ; 0x40 + 800416a: 6313 str r3, [r2, #48] ; 0x30 + 800416c: 4b39 ldr r3, [pc, #228] ; (8004254 ) + 800416e: 6b1b ldr r3, [r3, #48] ; 0x30 + 8004170: f003 0340 and.w r3, r3, #64 ; 0x40 + 8004174: 613b str r3, [r7, #16] + 8004176: 693b ldr r3, [r7, #16] __HAL_RCC_GPIOI_CLK_ENABLE(); - 8004620: 4b36 ldr r3, [pc, #216] ; (80046fc ) - 8004622: 6b1b ldr r3, [r3, #48] ; 0x30 - 8004624: 4a35 ldr r2, [pc, #212] ; (80046fc ) - 8004626: f443 7380 orr.w r3, r3, #256 ; 0x100 - 800462a: 6313 str r3, [r2, #48] ; 0x30 - 800462c: 4b33 ldr r3, [pc, #204] ; (80046fc ) - 800462e: 6b1b ldr r3, [r3, #48] ; 0x30 - 8004630: f403 7380 and.w r3, r3, #256 ; 0x100 - 8004634: 60fb str r3, [r7, #12] - 8004636: 68fb ldr r3, [r7, #12] + 8004178: 4b36 ldr r3, [pc, #216] ; (8004254 ) + 800417a: 6b1b ldr r3, [r3, #48] ; 0x30 + 800417c: 4a35 ldr r2, [pc, #212] ; (8004254 ) + 800417e: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8004182: 6313 str r3, [r2, #48] ; 0x30 + 8004184: 4b33 ldr r3, [pc, #204] ; (8004254 ) + 8004186: 6b1b ldr r3, [r3, #48] ; 0x30 + 8004188: f403 7380 and.w r3, r3, #256 ; 0x100 + 800418c: 60fb str r3, [r7, #12] + 800418e: 68fb ldr r3, [r7, #12] PJ3 ------> LTDC_R4 PJ2 ------> LTDC_R3 PJ0 ------> LTDC_R1 PJ1 ------> LTDC_R2 */ GPIO_InitStruct.Pin = LCD_B0_Pin; - 8004638: 2310 movs r3, #16 - 800463a: 627b str r3, [r7, #36] ; 0x24 + 8004190: 2310 movs r3, #16 + 8004192: 627b str r3, [r7, #36] ; 0x24 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 800463c: 2302 movs r3, #2 - 800463e: 62bb str r3, [r7, #40] ; 0x28 + 8004194: 2302 movs r3, #2 + 8004196: 62bb str r3, [r7, #40] ; 0x28 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8004640: 2300 movs r3, #0 - 8004642: 62fb str r3, [r7, #44] ; 0x2c + 8004198: 2300 movs r3, #0 + 800419a: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 8004644: 2300 movs r3, #0 - 8004646: 633b str r3, [r7, #48] ; 0x30 + 800419c: 2300 movs r3, #0 + 800419e: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Alternate = GPIO_AF14_LTDC; - 8004648: 230e movs r3, #14 - 800464a: 637b str r3, [r7, #52] ; 0x34 + 80041a0: 230e movs r3, #14 + 80041a2: 637b str r3, [r7, #52] ; 0x34 HAL_GPIO_Init(LCD_B0_GPIO_Port, &GPIO_InitStruct); - 800464c: f107 0324 add.w r3, r7, #36 ; 0x24 - 8004650: 4619 mov r1, r3 - 8004652: 482b ldr r0, [pc, #172] ; (8004700 ) - 8004654: f003 f85c bl 8007710 + 80041a4: f107 0324 add.w r3, r7, #36 ; 0x24 + 80041a8: 4619 mov r1, r3 + 80041aa: 482b ldr r0, [pc, #172] ; (8004258 ) + 80041ac: f003 f864 bl 8007278 GPIO_InitStruct.Pin = LCD_B1_Pin|LCD_B2_Pin|LCD_B3_Pin|LCD_G4_Pin - 8004658: f64e 73ff movw r3, #61439 ; 0xefff - 800465c: 627b str r3, [r7, #36] ; 0x24 + 80041b0: f64e 73ff movw r3, #61439 ; 0xefff + 80041b4: 627b str r3, [r7, #36] ; 0x24 |LCD_G1_Pin|LCD_G3_Pin|LCD_G0_Pin|LCD_G2_Pin |LCD_R7_Pin|LCD_R5_Pin|LCD_R6_Pin|LCD_R4_Pin |LCD_R3_Pin|LCD_R1_Pin|LCD_R2_Pin; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 800465e: 2302 movs r3, #2 - 8004660: 62bb str r3, [r7, #40] ; 0x28 + 80041b6: 2302 movs r3, #2 + 80041b8: 62bb str r3, [r7, #40] ; 0x28 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8004662: 2300 movs r3, #0 - 8004664: 62fb str r3, [r7, #44] ; 0x2c + 80041ba: 2300 movs r3, #0 + 80041bc: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 8004666: 2300 movs r3, #0 - 8004668: 633b str r3, [r7, #48] ; 0x30 + 80041be: 2300 movs r3, #0 + 80041c0: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Alternate = GPIO_AF14_LTDC; - 800466a: 230e movs r3, #14 - 800466c: 637b str r3, [r7, #52] ; 0x34 + 80041c2: 230e movs r3, #14 + 80041c4: 637b str r3, [r7, #52] ; 0x34 HAL_GPIO_Init(GPIOJ, &GPIO_InitStruct); - 800466e: f107 0324 add.w r3, r7, #36 ; 0x24 - 8004672: 4619 mov r1, r3 - 8004674: 4823 ldr r0, [pc, #140] ; (8004704 ) - 8004676: f003 f84b bl 8007710 + 80041c6: f107 0324 add.w r3, r7, #36 ; 0x24 + 80041ca: 4619 mov r1, r3 + 80041cc: 4823 ldr r0, [pc, #140] ; (800425c ) + 80041ce: f003 f853 bl 8007278 GPIO_InitStruct.Pin = LCD_DE_Pin|LCD_B7_Pin|LCD_B6_Pin|LCD_B5_Pin - 800467a: 23f7 movs r3, #247 ; 0xf7 - 800467c: 627b str r3, [r7, #36] ; 0x24 + 80041d2: 23f7 movs r3, #247 ; 0xf7 + 80041d4: 627b str r3, [r7, #36] ; 0x24 |LCD_G6_Pin|LCD_G7_Pin|LCD_G5_Pin; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 800467e: 2302 movs r3, #2 - 8004680: 62bb str r3, [r7, #40] ; 0x28 + 80041d6: 2302 movs r3, #2 + 80041d8: 62bb str r3, [r7, #40] ; 0x28 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8004682: 2300 movs r3, #0 - 8004684: 62fb str r3, [r7, #44] ; 0x2c + 80041da: 2300 movs r3, #0 + 80041dc: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 8004686: 2300 movs r3, #0 - 8004688: 633b str r3, [r7, #48] ; 0x30 + 80041de: 2300 movs r3, #0 + 80041e0: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Alternate = GPIO_AF14_LTDC; - 800468a: 230e movs r3, #14 - 800468c: 637b str r3, [r7, #52] ; 0x34 + 80041e2: 230e movs r3, #14 + 80041e4: 637b str r3, [r7, #52] ; 0x34 HAL_GPIO_Init(GPIOK, &GPIO_InitStruct); - 800468e: f107 0324 add.w r3, r7, #36 ; 0x24 - 8004692: 4619 mov r1, r3 - 8004694: 481c ldr r0, [pc, #112] ; (8004708 ) - 8004696: f003 f83b bl 8007710 + 80041e6: f107 0324 add.w r3, r7, #36 ; 0x24 + 80041ea: 4619 mov r1, r3 + 80041ec: 481c ldr r0, [pc, #112] ; (8004260 ) + 80041ee: f003 f843 bl 8007278 GPIO_InitStruct.Pin = LCD_B4_Pin; - 800469a: f44f 5380 mov.w r3, #4096 ; 0x1000 - 800469e: 627b str r3, [r7, #36] ; 0x24 + 80041f2: f44f 5380 mov.w r3, #4096 ; 0x1000 + 80041f6: 627b str r3, [r7, #36] ; 0x24 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 80046a0: 2302 movs r3, #2 - 80046a2: 62bb str r3, [r7, #40] ; 0x28 + 80041f8: 2302 movs r3, #2 + 80041fa: 62bb str r3, [r7, #40] ; 0x28 GPIO_InitStruct.Pull = GPIO_NOPULL; - 80046a4: 2300 movs r3, #0 - 80046a6: 62fb str r3, [r7, #44] ; 0x2c + 80041fc: 2300 movs r3, #0 + 80041fe: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 80046a8: 2300 movs r3, #0 - 80046aa: 633b str r3, [r7, #48] ; 0x30 + 8004200: 2300 movs r3, #0 + 8004202: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Alternate = GPIO_AF9_LTDC; - 80046ac: 2309 movs r3, #9 - 80046ae: 637b str r3, [r7, #52] ; 0x34 + 8004204: 2309 movs r3, #9 + 8004206: 637b str r3, [r7, #52] ; 0x34 HAL_GPIO_Init(LCD_B4_GPIO_Port, &GPIO_InitStruct); - 80046b0: f107 0324 add.w r3, r7, #36 ; 0x24 - 80046b4: 4619 mov r1, r3 - 80046b6: 4815 ldr r0, [pc, #84] ; (800470c ) - 80046b8: f003 f82a bl 8007710 + 8004208: f107 0324 add.w r3, r7, #36 ; 0x24 + 800420c: 4619 mov r1, r3 + 800420e: 4815 ldr r0, [pc, #84] ; (8004264 ) + 8004210: f003 f832 bl 8007278 GPIO_InitStruct.Pin = LCD_HSYNC_Pin|LCD_VSYNC_Pin|LCD_R0_Pin|LCD_CLK_Pin; - 80046bc: f44f 4346 mov.w r3, #50688 ; 0xc600 - 80046c0: 627b str r3, [r7, #36] ; 0x24 + 8004214: f44f 4346 mov.w r3, #50688 ; 0xc600 + 8004218: 627b str r3, [r7, #36] ; 0x24 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 80046c2: 2302 movs r3, #2 - 80046c4: 62bb str r3, [r7, #40] ; 0x28 + 800421a: 2302 movs r3, #2 + 800421c: 62bb str r3, [r7, #40] ; 0x28 GPIO_InitStruct.Pull = GPIO_NOPULL; - 80046c6: 2300 movs r3, #0 - 80046c8: 62fb str r3, [r7, #44] ; 0x2c + 800421e: 2300 movs r3, #0 + 8004220: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 80046ca: 2300 movs r3, #0 - 80046cc: 633b str r3, [r7, #48] ; 0x30 + 8004222: 2300 movs r3, #0 + 8004224: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Alternate = GPIO_AF14_LTDC; - 80046ce: 230e movs r3, #14 - 80046d0: 637b str r3, [r7, #52] ; 0x34 + 8004226: 230e movs r3, #14 + 8004228: 637b str r3, [r7, #52] ; 0x34 HAL_GPIO_Init(GPIOI, &GPIO_InitStruct); - 80046d2: f107 0324 add.w r3, r7, #36 ; 0x24 - 80046d6: 4619 mov r1, r3 - 80046d8: 480d ldr r0, [pc, #52] ; (8004710 ) - 80046da: f003 f819 bl 8007710 + 800422a: f107 0324 add.w r3, r7, #36 ; 0x24 + 800422e: 4619 mov r1, r3 + 8004230: 480d ldr r0, [pc, #52] ; (8004268 ) + 8004232: f003 f821 bl 8007278 /* LTDC interrupt Init */ HAL_NVIC_SetPriority(LTDC_IRQn, 5, 0); - 80046de: 2200 movs r2, #0 - 80046e0: 2105 movs r1, #5 - 80046e2: 2058 movs r0, #88 ; 0x58 - 80046e4: f001 f864 bl 80057b0 + 8004236: 2200 movs r2, #0 + 8004238: 2105 movs r1, #5 + 800423a: 2058 movs r0, #88 ; 0x58 + 800423c: f001 f86c bl 8005318 HAL_NVIC_EnableIRQ(LTDC_IRQn); - 80046e8: 2058 movs r0, #88 ; 0x58 - 80046ea: f001 f87d bl 80057e8 + 8004240: 2058 movs r0, #88 ; 0x58 + 8004242: f001 f885 bl 8005350 /* USER CODE BEGIN LTDC_MspInit 1 */ /* USER CODE END LTDC_MspInit 1 */ } } - 80046ee: bf00 nop - 80046f0: 3738 adds r7, #56 ; 0x38 - 80046f2: 46bd mov sp, r7 - 80046f4: bd80 pop {r7, pc} - 80046f6: bf00 nop - 80046f8: 40016800 .word 0x40016800 - 80046fc: 40023800 .word 0x40023800 - 8004700: 40021000 .word 0x40021000 - 8004704: 40022400 .word 0x40022400 - 8004708: 40022800 .word 0x40022800 - 800470c: 40021800 .word 0x40021800 - 8004710: 40022000 .word 0x40022000 + 8004246: bf00 nop + 8004248: 3738 adds r7, #56 ; 0x38 + 800424a: 46bd mov sp, r7 + 800424c: bd80 pop {r7, pc} + 800424e: bf00 nop + 8004250: 40016800 .word 0x40016800 + 8004254: 40023800 .word 0x40023800 + 8004258: 40021000 .word 0x40021000 + 800425c: 40022400 .word 0x40022400 + 8004260: 40022800 .word 0x40022800 + 8004264: 40021800 .word 0x40021800 + 8004268: 40022000 .word 0x40022000 -08004714 : +0800426c : * This function configures the hardware resources used in this example * @param hrng: RNG handle pointer * @retval None */ void HAL_RNG_MspInit(RNG_HandleTypeDef* hrng) { - 8004714: b480 push {r7} - 8004716: b085 sub sp, #20 - 8004718: af00 add r7, sp, #0 - 800471a: 6078 str r0, [r7, #4] + 800426c: b480 push {r7} + 800426e: b085 sub sp, #20 + 8004270: af00 add r7, sp, #0 + 8004272: 6078 str r0, [r7, #4] if(hrng->Instance==RNG) - 800471c: 687b ldr r3, [r7, #4] - 800471e: 681b ldr r3, [r3, #0] - 8004720: 4a0a ldr r2, [pc, #40] ; (800474c ) - 8004722: 4293 cmp r3, r2 - 8004724: d10b bne.n 800473e + 8004274: 687b ldr r3, [r7, #4] + 8004276: 681b ldr r3, [r3, #0] + 8004278: 4a0a ldr r2, [pc, #40] ; (80042a4 ) + 800427a: 4293 cmp r3, r2 + 800427c: d10b bne.n 8004296 { /* USER CODE BEGIN RNG_MspInit 0 */ /* USER CODE END RNG_MspInit 0 */ /* Peripheral clock enable */ __HAL_RCC_RNG_CLK_ENABLE(); - 8004726: 4b0a ldr r3, [pc, #40] ; (8004750 ) - 8004728: 6b5b ldr r3, [r3, #52] ; 0x34 - 800472a: 4a09 ldr r2, [pc, #36] ; (8004750 ) - 800472c: f043 0340 orr.w r3, r3, #64 ; 0x40 - 8004730: 6353 str r3, [r2, #52] ; 0x34 - 8004732: 4b07 ldr r3, [pc, #28] ; (8004750 ) - 8004734: 6b5b ldr r3, [r3, #52] ; 0x34 - 8004736: f003 0340 and.w r3, r3, #64 ; 0x40 - 800473a: 60fb str r3, [r7, #12] - 800473c: 68fb ldr r3, [r7, #12] + 800427e: 4b0a ldr r3, [pc, #40] ; (80042a8 ) + 8004280: 6b5b ldr r3, [r3, #52] ; 0x34 + 8004282: 4a09 ldr r2, [pc, #36] ; (80042a8 ) + 8004284: f043 0340 orr.w r3, r3, #64 ; 0x40 + 8004288: 6353 str r3, [r2, #52] ; 0x34 + 800428a: 4b07 ldr r3, [pc, #28] ; (80042a8 ) + 800428c: 6b5b ldr r3, [r3, #52] ; 0x34 + 800428e: f003 0340 and.w r3, r3, #64 ; 0x40 + 8004292: 60fb str r3, [r7, #12] + 8004294: 68fb ldr r3, [r7, #12] /* USER CODE BEGIN RNG_MspInit 1 */ /* USER CODE END RNG_MspInit 1 */ } } - 800473e: bf00 nop - 8004740: 3714 adds r7, #20 - 8004742: 46bd mov sp, r7 - 8004744: f85d 7b04 ldr.w r7, [sp], #4 - 8004748: 4770 bx lr - 800474a: bf00 nop - 800474c: 50060800 .word 0x50060800 - 8004750: 40023800 .word 0x40023800 + 8004296: bf00 nop + 8004298: 3714 adds r7, #20 + 800429a: 46bd mov sp, r7 + 800429c: f85d 7b04 ldr.w r7, [sp], #4 + 80042a0: 4770 bx lr + 80042a2: bf00 nop + 80042a4: 50060800 .word 0x50060800 + 80042a8: 40023800 .word 0x40023800 -08004754 : +080042ac : * This function configures the hardware resources used in this example * @param hspi: SPI handle pointer * @retval None */ void HAL_SPI_MspInit(SPI_HandleTypeDef* hspi) { - 8004754: b580 push {r7, lr} - 8004756: b08a sub sp, #40 ; 0x28 - 8004758: af00 add r7, sp, #0 - 800475a: 6078 str r0, [r7, #4] + 80042ac: b580 push {r7, lr} + 80042ae: b08a sub sp, #40 ; 0x28 + 80042b0: af00 add r7, sp, #0 + 80042b2: 6078 str r0, [r7, #4] GPIO_InitTypeDef GPIO_InitStruct = {0}; - 800475c: f107 0314 add.w r3, r7, #20 - 8004760: 2200 movs r2, #0 - 8004762: 601a str r2, [r3, #0] - 8004764: 605a str r2, [r3, #4] - 8004766: 609a str r2, [r3, #8] - 8004768: 60da str r2, [r3, #12] - 800476a: 611a str r2, [r3, #16] + 80042b4: f107 0314 add.w r3, r7, #20 + 80042b8: 2200 movs r2, #0 + 80042ba: 601a str r2, [r3, #0] + 80042bc: 605a str r2, [r3, #4] + 80042be: 609a str r2, [r3, #8] + 80042c0: 60da str r2, [r3, #12] + 80042c2: 611a str r2, [r3, #16] if(hspi->Instance==SPI2) - 800476c: 687b ldr r3, [r7, #4] - 800476e: 681b ldr r3, [r3, #0] - 8004770: 4a2d ldr r2, [pc, #180] ; (8004828 ) - 8004772: 4293 cmp r3, r2 - 8004774: d154 bne.n 8004820 + 80042c4: 687b ldr r3, [r7, #4] + 80042c6: 681b ldr r3, [r3, #0] + 80042c8: 4a2d ldr r2, [pc, #180] ; (8004380 ) + 80042ca: 4293 cmp r3, r2 + 80042cc: d154 bne.n 8004378 { /* USER CODE BEGIN SPI2_MspInit 0 */ /* USER CODE END SPI2_MspInit 0 */ /* Peripheral clock enable */ __HAL_RCC_SPI2_CLK_ENABLE(); - 8004776: 4b2d ldr r3, [pc, #180] ; (800482c ) - 8004778: 6c1b ldr r3, [r3, #64] ; 0x40 - 800477a: 4a2c ldr r2, [pc, #176] ; (800482c ) - 800477c: f443 4380 orr.w r3, r3, #16384 ; 0x4000 - 8004780: 6413 str r3, [r2, #64] ; 0x40 - 8004782: 4b2a ldr r3, [pc, #168] ; (800482c ) - 8004784: 6c1b ldr r3, [r3, #64] ; 0x40 - 8004786: f403 4380 and.w r3, r3, #16384 ; 0x4000 - 800478a: 613b str r3, [r7, #16] - 800478c: 693b ldr r3, [r7, #16] + 80042ce: 4b2d ldr r3, [pc, #180] ; (8004384 ) + 80042d0: 6c1b ldr r3, [r3, #64] ; 0x40 + 80042d2: 4a2c ldr r2, [pc, #176] ; (8004384 ) + 80042d4: f443 4380 orr.w r3, r3, #16384 ; 0x4000 + 80042d8: 6413 str r3, [r2, #64] ; 0x40 + 80042da: 4b2a ldr r3, [pc, #168] ; (8004384 ) + 80042dc: 6c1b ldr r3, [r3, #64] ; 0x40 + 80042de: f403 4380 and.w r3, r3, #16384 ; 0x4000 + 80042e2: 613b str r3, [r7, #16] + 80042e4: 693b ldr r3, [r7, #16] __HAL_RCC_GPIOI_CLK_ENABLE(); - 800478e: 4b27 ldr r3, [pc, #156] ; (800482c ) - 8004790: 6b1b ldr r3, [r3, #48] ; 0x30 - 8004792: 4a26 ldr r2, [pc, #152] ; (800482c ) - 8004794: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8004798: 6313 str r3, [r2, #48] ; 0x30 - 800479a: 4b24 ldr r3, [pc, #144] ; (800482c ) - 800479c: 6b1b ldr r3, [r3, #48] ; 0x30 - 800479e: f403 7380 and.w r3, r3, #256 ; 0x100 - 80047a2: 60fb str r3, [r7, #12] - 80047a4: 68fb ldr r3, [r7, #12] + 80042e6: 4b27 ldr r3, [pc, #156] ; (8004384 ) + 80042e8: 6b1b ldr r3, [r3, #48] ; 0x30 + 80042ea: 4a26 ldr r2, [pc, #152] ; (8004384 ) + 80042ec: f443 7380 orr.w r3, r3, #256 ; 0x100 + 80042f0: 6313 str r3, [r2, #48] ; 0x30 + 80042f2: 4b24 ldr r3, [pc, #144] ; (8004384 ) + 80042f4: 6b1b ldr r3, [r3, #48] ; 0x30 + 80042f6: f403 7380 and.w r3, r3, #256 ; 0x100 + 80042fa: 60fb str r3, [r7, #12] + 80042fc: 68fb ldr r3, [r7, #12] __HAL_RCC_GPIOB_CLK_ENABLE(); - 80047a6: 4b21 ldr r3, [pc, #132] ; (800482c ) - 80047a8: 6b1b ldr r3, [r3, #48] ; 0x30 - 80047aa: 4a20 ldr r2, [pc, #128] ; (800482c ) - 80047ac: f043 0302 orr.w r3, r3, #2 - 80047b0: 6313 str r3, [r2, #48] ; 0x30 - 80047b2: 4b1e ldr r3, [pc, #120] ; (800482c ) - 80047b4: 6b1b ldr r3, [r3, #48] ; 0x30 - 80047b6: f003 0302 and.w r3, r3, #2 - 80047ba: 60bb str r3, [r7, #8] - 80047bc: 68bb ldr r3, [r7, #8] + 80042fe: 4b21 ldr r3, [pc, #132] ; (8004384 ) + 8004300: 6b1b ldr r3, [r3, #48] ; 0x30 + 8004302: 4a20 ldr r2, [pc, #128] ; (8004384 ) + 8004304: f043 0302 orr.w r3, r3, #2 + 8004308: 6313 str r3, [r2, #48] ; 0x30 + 800430a: 4b1e ldr r3, [pc, #120] ; (8004384 ) + 800430c: 6b1b ldr r3, [r3, #48] ; 0x30 + 800430e: f003 0302 and.w r3, r3, #2 + 8004312: 60bb str r3, [r7, #8] + 8004314: 68bb ldr r3, [r7, #8] PI1 ------> SPI2_SCK PI0 ------> SPI2_NSS PB14 ------> SPI2_MISO PB15 ------> SPI2_MOSI */ GPIO_InitStruct.Pin = ARDUINO_SCK_D13_Pin; - 80047be: 2302 movs r3, #2 - 80047c0: 617b str r3, [r7, #20] + 8004316: 2302 movs r3, #2 + 8004318: 617b str r3, [r7, #20] GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 80047c2: 2302 movs r3, #2 - 80047c4: 61bb str r3, [r7, #24] + 800431a: 2302 movs r3, #2 + 800431c: 61bb str r3, [r7, #24] GPIO_InitStruct.Pull = GPIO_NOPULL; - 80047c6: 2300 movs r3, #0 - 80047c8: 61fb str r3, [r7, #28] + 800431e: 2300 movs r3, #0 + 8004320: 61fb str r3, [r7, #28] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 80047ca: 2300 movs r3, #0 - 80047cc: 623b str r3, [r7, #32] + 8004322: 2300 movs r3, #0 + 8004324: 623b str r3, [r7, #32] GPIO_InitStruct.Alternate = GPIO_AF5_SPI2; - 80047ce: 2305 movs r3, #5 - 80047d0: 627b str r3, [r7, #36] ; 0x24 + 8004326: 2305 movs r3, #5 + 8004328: 627b str r3, [r7, #36] ; 0x24 HAL_GPIO_Init(ARDUINO_SCK_D13_GPIO_Port, &GPIO_InitStruct); - 80047d2: f107 0314 add.w r3, r7, #20 - 80047d6: 4619 mov r1, r3 - 80047d8: 4815 ldr r0, [pc, #84] ; (8004830 ) - 80047da: f002 ff99 bl 8007710 + 800432a: f107 0314 add.w r3, r7, #20 + 800432e: 4619 mov r1, r3 + 8004330: 4815 ldr r0, [pc, #84] ; (8004388 ) + 8004332: f002 ffa1 bl 8007278 GPIO_InitStruct.Pin = GPIO_PIN_0; - 80047de: 2301 movs r3, #1 - 80047e0: 617b str r3, [r7, #20] + 8004336: 2301 movs r3, #1 + 8004338: 617b str r3, [r7, #20] GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 80047e2: 2302 movs r3, #2 - 80047e4: 61bb str r3, [r7, #24] + 800433a: 2302 movs r3, #2 + 800433c: 61bb str r3, [r7, #24] GPIO_InitStruct.Pull = GPIO_NOPULL; - 80047e6: 2300 movs r3, #0 - 80047e8: 61fb str r3, [r7, #28] + 800433e: 2300 movs r3, #0 + 8004340: 61fb str r3, [r7, #28] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 80047ea: 2303 movs r3, #3 - 80047ec: 623b str r3, [r7, #32] + 8004342: 2303 movs r3, #3 + 8004344: 623b str r3, [r7, #32] GPIO_InitStruct.Alternate = GPIO_AF5_SPI2; - 80047ee: 2305 movs r3, #5 - 80047f0: 627b str r3, [r7, #36] ; 0x24 + 8004346: 2305 movs r3, #5 + 8004348: 627b str r3, [r7, #36] ; 0x24 HAL_GPIO_Init(GPIOI, &GPIO_InitStruct); - 80047f2: f107 0314 add.w r3, r7, #20 - 80047f6: 4619 mov r1, r3 - 80047f8: 480d ldr r0, [pc, #52] ; (8004830 ) - 80047fa: f002 ff89 bl 8007710 + 800434a: f107 0314 add.w r3, r7, #20 + 800434e: 4619 mov r1, r3 + 8004350: 480d ldr r0, [pc, #52] ; (8004388 ) + 8004352: f002 ff91 bl 8007278 GPIO_InitStruct.Pin = GPIO_PIN_14|GPIO_PIN_15; - 80047fe: f44f 4340 mov.w r3, #49152 ; 0xc000 - 8004802: 617b str r3, [r7, #20] + 8004356: f44f 4340 mov.w r3, #49152 ; 0xc000 + 800435a: 617b str r3, [r7, #20] GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8004804: 2302 movs r3, #2 - 8004806: 61bb str r3, [r7, #24] + 800435c: 2302 movs r3, #2 + 800435e: 61bb str r3, [r7, #24] GPIO_InitStruct.Pull = GPIO_NOPULL; - 8004808: 2300 movs r3, #0 - 800480a: 61fb str r3, [r7, #28] + 8004360: 2300 movs r3, #0 + 8004362: 61fb str r3, [r7, #28] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 800480c: 2303 movs r3, #3 - 800480e: 623b str r3, [r7, #32] + 8004364: 2303 movs r3, #3 + 8004366: 623b str r3, [r7, #32] GPIO_InitStruct.Alternate = GPIO_AF5_SPI2; - 8004810: 2305 movs r3, #5 - 8004812: 627b str r3, [r7, #36] ; 0x24 + 8004368: 2305 movs r3, #5 + 800436a: 627b str r3, [r7, #36] ; 0x24 HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); - 8004814: f107 0314 add.w r3, r7, #20 - 8004818: 4619 mov r1, r3 - 800481a: 4806 ldr r0, [pc, #24] ; (8004834 ) - 800481c: f002 ff78 bl 8007710 + 800436c: f107 0314 add.w r3, r7, #20 + 8004370: 4619 mov r1, r3 + 8004372: 4806 ldr r0, [pc, #24] ; (800438c ) + 8004374: f002 ff80 bl 8007278 /* USER CODE BEGIN SPI2_MspInit 1 */ /* USER CODE END SPI2_MspInit 1 */ } } - 8004820: bf00 nop - 8004822: 3728 adds r7, #40 ; 0x28 - 8004824: 46bd mov sp, r7 - 8004826: bd80 pop {r7, pc} - 8004828: 40003800 .word 0x40003800 - 800482c: 40023800 .word 0x40023800 - 8004830: 40022000 .word 0x40022000 - 8004834: 40020400 .word 0x40020400 + 8004378: bf00 nop + 800437a: 3728 adds r7, #40 ; 0x28 + 800437c: 46bd mov sp, r7 + 800437e: bd80 pop {r7, pc} + 8004380: 40003800 .word 0x40003800 + 8004384: 40023800 .word 0x40023800 + 8004388: 40022000 .word 0x40022000 + 800438c: 40020400 .word 0x40020400 -08004838 : +08004390 : * This function configures the hardware resources used in this example * @param htim_base: TIM_Base handle pointer * @retval None */ void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* htim_base) { - 8004838: b480 push {r7} - 800483a: b089 sub sp, #36 ; 0x24 - 800483c: af00 add r7, sp, #0 - 800483e: 6078 str r0, [r7, #4] + 8004390: b480 push {r7} + 8004392: b089 sub sp, #36 ; 0x24 + 8004394: af00 add r7, sp, #0 + 8004396: 6078 str r0, [r7, #4] if(htim_base->Instance==TIM1) - 8004840: 687b ldr r3, [r7, #4] - 8004842: 681b ldr r3, [r3, #0] - 8004844: 4a2e ldr r2, [pc, #184] ; (8004900 ) - 8004846: 4293 cmp r3, r2 - 8004848: d10c bne.n 8004864 + 8004398: 687b ldr r3, [r7, #4] + 800439a: 681b ldr r3, [r3, #0] + 800439c: 4a2e ldr r2, [pc, #184] ; (8004458 ) + 800439e: 4293 cmp r3, r2 + 80043a0: d10c bne.n 80043bc { /* USER CODE BEGIN TIM1_MspInit 0 */ /* USER CODE END TIM1_MspInit 0 */ /* Peripheral clock enable */ __HAL_RCC_TIM1_CLK_ENABLE(); - 800484a: 4b2e ldr r3, [pc, #184] ; (8004904 ) - 800484c: 6c5b ldr r3, [r3, #68] ; 0x44 - 800484e: 4a2d ldr r2, [pc, #180] ; (8004904 ) - 8004850: f043 0301 orr.w r3, r3, #1 - 8004854: 6453 str r3, [r2, #68] ; 0x44 - 8004856: 4b2b ldr r3, [pc, #172] ; (8004904 ) - 8004858: 6c5b ldr r3, [r3, #68] ; 0x44 - 800485a: f003 0301 and.w r3, r3, #1 - 800485e: 61fb str r3, [r7, #28] - 8004860: 69fb ldr r3, [r7, #28] + 80043a2: 4b2e ldr r3, [pc, #184] ; (800445c ) + 80043a4: 6c5b ldr r3, [r3, #68] ; 0x44 + 80043a6: 4a2d ldr r2, [pc, #180] ; (800445c ) + 80043a8: f043 0301 orr.w r3, r3, #1 + 80043ac: 6453 str r3, [r2, #68] ; 0x44 + 80043ae: 4b2b ldr r3, [pc, #172] ; (800445c ) + 80043b0: 6c5b ldr r3, [r3, #68] ; 0x44 + 80043b2: f003 0301 and.w r3, r3, #1 + 80043b6: 61fb str r3, [r7, #28] + 80043b8: 69fb ldr r3, [r7, #28] /* USER CODE BEGIN TIM8_MspInit 1 */ /* USER CODE END TIM8_MspInit 1 */ } } - 8004862: e046 b.n 80048f2 + 80043ba: e046 b.n 800444a else if(htim_base->Instance==TIM2) - 8004864: 687b ldr r3, [r7, #4] - 8004866: 681b ldr r3, [r3, #0] - 8004868: f1b3 4f80 cmp.w r3, #1073741824 ; 0x40000000 - 800486c: d10c bne.n 8004888 + 80043bc: 687b ldr r3, [r7, #4] + 80043be: 681b ldr r3, [r3, #0] + 80043c0: f1b3 4f80 cmp.w r3, #1073741824 ; 0x40000000 + 80043c4: d10c bne.n 80043e0 __HAL_RCC_TIM2_CLK_ENABLE(); - 800486e: 4b25 ldr r3, [pc, #148] ; (8004904 ) - 8004870: 6c1b ldr r3, [r3, #64] ; 0x40 - 8004872: 4a24 ldr r2, [pc, #144] ; (8004904 ) - 8004874: f043 0301 orr.w r3, r3, #1 - 8004878: 6413 str r3, [r2, #64] ; 0x40 - 800487a: 4b22 ldr r3, [pc, #136] ; (8004904 ) - 800487c: 6c1b ldr r3, [r3, #64] ; 0x40 - 800487e: f003 0301 and.w r3, r3, #1 - 8004882: 61bb str r3, [r7, #24] - 8004884: 69bb ldr r3, [r7, #24] + 80043c6: 4b25 ldr r3, [pc, #148] ; (800445c ) + 80043c8: 6c1b ldr r3, [r3, #64] ; 0x40 + 80043ca: 4a24 ldr r2, [pc, #144] ; (800445c ) + 80043cc: f043 0301 orr.w r3, r3, #1 + 80043d0: 6413 str r3, [r2, #64] ; 0x40 + 80043d2: 4b22 ldr r3, [pc, #136] ; (800445c ) + 80043d4: 6c1b ldr r3, [r3, #64] ; 0x40 + 80043d6: f003 0301 and.w r3, r3, #1 + 80043da: 61bb str r3, [r7, #24] + 80043dc: 69bb ldr r3, [r7, #24] } - 8004886: e034 b.n 80048f2 + 80043de: e034 b.n 800444a else if(htim_base->Instance==TIM3) - 8004888: 687b ldr r3, [r7, #4] - 800488a: 681b ldr r3, [r3, #0] - 800488c: 4a1e ldr r2, [pc, #120] ; (8004908 ) - 800488e: 4293 cmp r3, r2 - 8004890: d10c bne.n 80048ac + 80043e0: 687b ldr r3, [r7, #4] + 80043e2: 681b ldr r3, [r3, #0] + 80043e4: 4a1e ldr r2, [pc, #120] ; (8004460 ) + 80043e6: 4293 cmp r3, r2 + 80043e8: d10c bne.n 8004404 __HAL_RCC_TIM3_CLK_ENABLE(); - 8004892: 4b1c ldr r3, [pc, #112] ; (8004904 ) - 8004894: 6c1b ldr r3, [r3, #64] ; 0x40 - 8004896: 4a1b ldr r2, [pc, #108] ; (8004904 ) - 8004898: f043 0302 orr.w r3, r3, #2 - 800489c: 6413 str r3, [r2, #64] ; 0x40 - 800489e: 4b19 ldr r3, [pc, #100] ; (8004904 ) - 80048a0: 6c1b ldr r3, [r3, #64] ; 0x40 - 80048a2: f003 0302 and.w r3, r3, #2 - 80048a6: 617b str r3, [r7, #20] - 80048a8: 697b ldr r3, [r7, #20] + 80043ea: 4b1c ldr r3, [pc, #112] ; (800445c ) + 80043ec: 6c1b ldr r3, [r3, #64] ; 0x40 + 80043ee: 4a1b ldr r2, [pc, #108] ; (800445c ) + 80043f0: f043 0302 orr.w r3, r3, #2 + 80043f4: 6413 str r3, [r2, #64] ; 0x40 + 80043f6: 4b19 ldr r3, [pc, #100] ; (800445c ) + 80043f8: 6c1b ldr r3, [r3, #64] ; 0x40 + 80043fa: f003 0302 and.w r3, r3, #2 + 80043fe: 617b str r3, [r7, #20] + 8004400: 697b ldr r3, [r7, #20] } - 80048aa: e022 b.n 80048f2 + 8004402: e022 b.n 800444a else if(htim_base->Instance==TIM5) - 80048ac: 687b ldr r3, [r7, #4] - 80048ae: 681b ldr r3, [r3, #0] - 80048b0: 4a16 ldr r2, [pc, #88] ; (800490c ) - 80048b2: 4293 cmp r3, r2 - 80048b4: d10c bne.n 80048d0 + 8004404: 687b ldr r3, [r7, #4] + 8004406: 681b ldr r3, [r3, #0] + 8004408: 4a16 ldr r2, [pc, #88] ; (8004464 ) + 800440a: 4293 cmp r3, r2 + 800440c: d10c bne.n 8004428 __HAL_RCC_TIM5_CLK_ENABLE(); - 80048b6: 4b13 ldr r3, [pc, #76] ; (8004904 ) - 80048b8: 6c1b ldr r3, [r3, #64] ; 0x40 - 80048ba: 4a12 ldr r2, [pc, #72] ; (8004904 ) - 80048bc: f043 0308 orr.w r3, r3, #8 - 80048c0: 6413 str r3, [r2, #64] ; 0x40 - 80048c2: 4b10 ldr r3, [pc, #64] ; (8004904 ) - 80048c4: 6c1b ldr r3, [r3, #64] ; 0x40 - 80048c6: f003 0308 and.w r3, r3, #8 - 80048ca: 613b str r3, [r7, #16] - 80048cc: 693b ldr r3, [r7, #16] + 800440e: 4b13 ldr r3, [pc, #76] ; (800445c ) + 8004410: 6c1b ldr r3, [r3, #64] ; 0x40 + 8004412: 4a12 ldr r2, [pc, #72] ; (800445c ) + 8004414: f043 0308 orr.w r3, r3, #8 + 8004418: 6413 str r3, [r2, #64] ; 0x40 + 800441a: 4b10 ldr r3, [pc, #64] ; (800445c ) + 800441c: 6c1b ldr r3, [r3, #64] ; 0x40 + 800441e: f003 0308 and.w r3, r3, #8 + 8004422: 613b str r3, [r7, #16] + 8004424: 693b ldr r3, [r7, #16] } - 80048ce: e010 b.n 80048f2 + 8004426: e010 b.n 800444a else if(htim_base->Instance==TIM8) - 80048d0: 687b ldr r3, [r7, #4] - 80048d2: 681b ldr r3, [r3, #0] - 80048d4: 4a0e ldr r2, [pc, #56] ; (8004910 ) - 80048d6: 4293 cmp r3, r2 - 80048d8: d10b bne.n 80048f2 + 8004428: 687b ldr r3, [r7, #4] + 800442a: 681b ldr r3, [r3, #0] + 800442c: 4a0e ldr r2, [pc, #56] ; (8004468 ) + 800442e: 4293 cmp r3, r2 + 8004430: d10b bne.n 800444a __HAL_RCC_TIM8_CLK_ENABLE(); - 80048da: 4b0a ldr r3, [pc, #40] ; (8004904 ) - 80048dc: 6c5b ldr r3, [r3, #68] ; 0x44 - 80048de: 4a09 ldr r2, [pc, #36] ; (8004904 ) - 80048e0: f043 0302 orr.w r3, r3, #2 - 80048e4: 6453 str r3, [r2, #68] ; 0x44 - 80048e6: 4b07 ldr r3, [pc, #28] ; (8004904 ) - 80048e8: 6c5b ldr r3, [r3, #68] ; 0x44 - 80048ea: f003 0302 and.w r3, r3, #2 - 80048ee: 60fb str r3, [r7, #12] - 80048f0: 68fb ldr r3, [r7, #12] + 8004432: 4b0a ldr r3, [pc, #40] ; (800445c ) + 8004434: 6c5b ldr r3, [r3, #68] ; 0x44 + 8004436: 4a09 ldr r2, [pc, #36] ; (800445c ) + 8004438: f043 0302 orr.w r3, r3, #2 + 800443c: 6453 str r3, [r2, #68] ; 0x44 + 800443e: 4b07 ldr r3, [pc, #28] ; (800445c ) + 8004440: 6c5b ldr r3, [r3, #68] ; 0x44 + 8004442: f003 0302 and.w r3, r3, #2 + 8004446: 60fb str r3, [r7, #12] + 8004448: 68fb ldr r3, [r7, #12] } - 80048f2: bf00 nop - 80048f4: 3724 adds r7, #36 ; 0x24 - 80048f6: 46bd mov sp, r7 - 80048f8: f85d 7b04 ldr.w r7, [sp], #4 - 80048fc: 4770 bx lr - 80048fe: bf00 nop - 8004900: 40010000 .word 0x40010000 - 8004904: 40023800 .word 0x40023800 - 8004908: 40000400 .word 0x40000400 - 800490c: 40000c00 .word 0x40000c00 - 8004910: 40010400 .word 0x40010400 + 800444a: bf00 nop + 800444c: 3724 adds r7, #36 ; 0x24 + 800444e: 46bd mov sp, r7 + 8004450: f85d 7b04 ldr.w r7, [sp], #4 + 8004454: 4770 bx lr + 8004456: bf00 nop + 8004458: 40010000 .word 0x40010000 + 800445c: 40023800 .word 0x40023800 + 8004460: 40000400 .word 0x40000400 + 8004464: 40000c00 .word 0x40000c00 + 8004468: 40010400 .word 0x40010400 -08004914 : +0800446c : void HAL_TIM_MspPostInit(TIM_HandleTypeDef* htim) { - 8004914: b580 push {r7, lr} - 8004916: b08a sub sp, #40 ; 0x28 - 8004918: af00 add r7, sp, #0 - 800491a: 6078 str r0, [r7, #4] + 800446c: b580 push {r7, lr} + 800446e: b08a sub sp, #40 ; 0x28 + 8004470: af00 add r7, sp, #0 + 8004472: 6078 str r0, [r7, #4] GPIO_InitTypeDef GPIO_InitStruct = {0}; - 800491c: f107 0314 add.w r3, r7, #20 - 8004920: 2200 movs r2, #0 - 8004922: 601a str r2, [r3, #0] - 8004924: 605a str r2, [r3, #4] - 8004926: 609a str r2, [r3, #8] - 8004928: 60da str r2, [r3, #12] - 800492a: 611a str r2, [r3, #16] + 8004474: f107 0314 add.w r3, r7, #20 + 8004478: 2200 movs r2, #0 + 800447a: 601a str r2, [r3, #0] + 800447c: 605a str r2, [r3, #4] + 800447e: 609a str r2, [r3, #8] + 8004480: 60da str r2, [r3, #12] + 8004482: 611a str r2, [r3, #16] if(htim->Instance==TIM3) - 800492c: 687b ldr r3, [r7, #4] - 800492e: 681b ldr r3, [r3, #0] - 8004930: 4a22 ldr r2, [pc, #136] ; (80049bc ) - 8004932: 4293 cmp r3, r2 - 8004934: d11c bne.n 8004970 + 8004484: 687b ldr r3, [r7, #4] + 8004486: 681b ldr r3, [r3, #0] + 8004488: 4a22 ldr r2, [pc, #136] ; (8004514 ) + 800448a: 4293 cmp r3, r2 + 800448c: d11c bne.n 80044c8 { /* USER CODE BEGIN TIM3_MspPostInit 0 */ /* USER CODE END TIM3_MspPostInit 0 */ __HAL_RCC_GPIOB_CLK_ENABLE(); - 8004936: 4b22 ldr r3, [pc, #136] ; (80049c0 ) - 8004938: 6b1b ldr r3, [r3, #48] ; 0x30 - 800493a: 4a21 ldr r2, [pc, #132] ; (80049c0 ) - 800493c: f043 0302 orr.w r3, r3, #2 - 8004940: 6313 str r3, [r2, #48] ; 0x30 - 8004942: 4b1f ldr r3, [pc, #124] ; (80049c0 ) - 8004944: 6b1b ldr r3, [r3, #48] ; 0x30 - 8004946: f003 0302 and.w r3, r3, #2 - 800494a: 613b str r3, [r7, #16] - 800494c: 693b ldr r3, [r7, #16] + 800448e: 4b22 ldr r3, [pc, #136] ; (8004518 ) + 8004490: 6b1b ldr r3, [r3, #48] ; 0x30 + 8004492: 4a21 ldr r2, [pc, #132] ; (8004518 ) + 8004494: f043 0302 orr.w r3, r3, #2 + 8004498: 6313 str r3, [r2, #48] ; 0x30 + 800449a: 4b1f ldr r3, [pc, #124] ; (8004518 ) + 800449c: 6b1b ldr r3, [r3, #48] ; 0x30 + 800449e: f003 0302 and.w r3, r3, #2 + 80044a2: 613b str r3, [r7, #16] + 80044a4: 693b ldr r3, [r7, #16] /**TIM3 GPIO Configuration PB4 ------> TIM3_CH1 */ GPIO_InitStruct.Pin = GPIO_PIN_4; - 800494e: 2310 movs r3, #16 - 8004950: 617b str r3, [r7, #20] + 80044a6: 2310 movs r3, #16 + 80044a8: 617b str r3, [r7, #20] GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8004952: 2302 movs r3, #2 - 8004954: 61bb str r3, [r7, #24] + 80044aa: 2302 movs r3, #2 + 80044ac: 61bb str r3, [r7, #24] GPIO_InitStruct.Pull = GPIO_NOPULL; - 8004956: 2300 movs r3, #0 - 8004958: 61fb str r3, [r7, #28] + 80044ae: 2300 movs r3, #0 + 80044b0: 61fb str r3, [r7, #28] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 800495a: 2300 movs r3, #0 - 800495c: 623b str r3, [r7, #32] + 80044b2: 2300 movs r3, #0 + 80044b4: 623b str r3, [r7, #32] GPIO_InitStruct.Alternate = GPIO_AF2_TIM3; - 800495e: 2302 movs r3, #2 - 8004960: 627b str r3, [r7, #36] ; 0x24 + 80044b6: 2302 movs r3, #2 + 80044b8: 627b str r3, [r7, #36] ; 0x24 HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); - 8004962: f107 0314 add.w r3, r7, #20 - 8004966: 4619 mov r1, r3 - 8004968: 4816 ldr r0, [pc, #88] ; (80049c4 ) - 800496a: f002 fed1 bl 8007710 + 80044ba: f107 0314 add.w r3, r7, #20 + 80044be: 4619 mov r1, r3 + 80044c0: 4816 ldr r0, [pc, #88] ; (800451c ) + 80044c2: f002 fed9 bl 8007278 /* USER CODE BEGIN TIM8_MspPostInit 1 */ /* USER CODE END TIM8_MspPostInit 1 */ } } - 800496e: e020 b.n 80049b2 + 80044c6: e020 b.n 800450a else if(htim->Instance==TIM8) - 8004970: 687b ldr r3, [r7, #4] - 8004972: 681b ldr r3, [r3, #0] - 8004974: 4a14 ldr r2, [pc, #80] ; (80049c8 ) - 8004976: 4293 cmp r3, r2 - 8004978: d11b bne.n 80049b2 + 80044c8: 687b ldr r3, [r7, #4] + 80044ca: 681b ldr r3, [r3, #0] + 80044cc: 4a14 ldr r2, [pc, #80] ; (8004520 ) + 80044ce: 4293 cmp r3, r2 + 80044d0: d11b bne.n 800450a __HAL_RCC_GPIOI_CLK_ENABLE(); - 800497a: 4b11 ldr r3, [pc, #68] ; (80049c0 ) - 800497c: 6b1b ldr r3, [r3, #48] ; 0x30 - 800497e: 4a10 ldr r2, [pc, #64] ; (80049c0 ) - 8004980: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8004984: 6313 str r3, [r2, #48] ; 0x30 - 8004986: 4b0e ldr r3, [pc, #56] ; (80049c0 ) - 8004988: 6b1b ldr r3, [r3, #48] ; 0x30 - 800498a: f403 7380 and.w r3, r3, #256 ; 0x100 - 800498e: 60fb str r3, [r7, #12] - 8004990: 68fb ldr r3, [r7, #12] + 80044d2: 4b11 ldr r3, [pc, #68] ; (8004518 ) + 80044d4: 6b1b ldr r3, [r3, #48] ; 0x30 + 80044d6: 4a10 ldr r2, [pc, #64] ; (8004518 ) + 80044d8: f443 7380 orr.w r3, r3, #256 ; 0x100 + 80044dc: 6313 str r3, [r2, #48] ; 0x30 + 80044de: 4b0e ldr r3, [pc, #56] ; (8004518 ) + 80044e0: 6b1b ldr r3, [r3, #48] ; 0x30 + 80044e2: f403 7380 and.w r3, r3, #256 ; 0x100 + 80044e6: 60fb str r3, [r7, #12] + 80044e8: 68fb ldr r3, [r7, #12] GPIO_InitStruct.Pin = GPIO_PIN_2; - 8004992: 2304 movs r3, #4 - 8004994: 617b str r3, [r7, #20] + 80044ea: 2304 movs r3, #4 + 80044ec: 617b str r3, [r7, #20] GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8004996: 2302 movs r3, #2 - 8004998: 61bb str r3, [r7, #24] + 80044ee: 2302 movs r3, #2 + 80044f0: 61bb str r3, [r7, #24] GPIO_InitStruct.Pull = GPIO_NOPULL; - 800499a: 2300 movs r3, #0 - 800499c: 61fb str r3, [r7, #28] + 80044f2: 2300 movs r3, #0 + 80044f4: 61fb str r3, [r7, #28] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 800499e: 2300 movs r3, #0 - 80049a0: 623b str r3, [r7, #32] + 80044f6: 2300 movs r3, #0 + 80044f8: 623b str r3, [r7, #32] GPIO_InitStruct.Alternate = GPIO_AF3_TIM8; - 80049a2: 2303 movs r3, #3 - 80049a4: 627b str r3, [r7, #36] ; 0x24 + 80044fa: 2303 movs r3, #3 + 80044fc: 627b str r3, [r7, #36] ; 0x24 HAL_GPIO_Init(GPIOI, &GPIO_InitStruct); - 80049a6: f107 0314 add.w r3, r7, #20 - 80049aa: 4619 mov r1, r3 - 80049ac: 4807 ldr r0, [pc, #28] ; (80049cc ) - 80049ae: f002 feaf bl 8007710 + 80044fe: f107 0314 add.w r3, r7, #20 + 8004502: 4619 mov r1, r3 + 8004504: 4807 ldr r0, [pc, #28] ; (8004524 ) + 8004506: f002 feb7 bl 8007278 } - 80049b2: bf00 nop - 80049b4: 3728 adds r7, #40 ; 0x28 - 80049b6: 46bd mov sp, r7 - 80049b8: bd80 pop {r7, pc} - 80049ba: bf00 nop - 80049bc: 40000400 .word 0x40000400 - 80049c0: 40023800 .word 0x40023800 - 80049c4: 40020400 .word 0x40020400 - 80049c8: 40010400 .word 0x40010400 - 80049cc: 40022000 .word 0x40022000 + 800450a: bf00 nop + 800450c: 3728 adds r7, #40 ; 0x28 + 800450e: 46bd mov sp, r7 + 8004510: bd80 pop {r7, pc} + 8004512: bf00 nop + 8004514: 40000400 .word 0x40000400 + 8004518: 40023800 .word 0x40023800 + 800451c: 40020400 .word 0x40020400 + 8004520: 40010400 .word 0x40010400 + 8004524: 40022000 .word 0x40022000 -080049d0 : +08004528 : } static uint32_t FMC_Initialized = 0; static void HAL_FMC_MspInit(void){ - 80049d0: b580 push {r7, lr} - 80049d2: b086 sub sp, #24 - 80049d4: af00 add r7, sp, #0 + 8004528: b580 push {r7, lr} + 800452a: b086 sub sp, #24 + 800452c: af00 add r7, sp, #0 /* USER CODE BEGIN FMC_MspInit 0 */ /* USER CODE END FMC_MspInit 0 */ GPIO_InitTypeDef GPIO_InitStruct ={0}; - 80049d6: 1d3b adds r3, r7, #4 - 80049d8: 2200 movs r2, #0 - 80049da: 601a str r2, [r3, #0] - 80049dc: 605a str r2, [r3, #4] - 80049de: 609a str r2, [r3, #8] - 80049e0: 60da str r2, [r3, #12] - 80049e2: 611a str r2, [r3, #16] + 800452e: 1d3b adds r3, r7, #4 + 8004530: 2200 movs r2, #0 + 8004532: 601a str r2, [r3, #0] + 8004534: 605a str r2, [r3, #4] + 8004536: 609a str r2, [r3, #8] + 8004538: 60da str r2, [r3, #12] + 800453a: 611a str r2, [r3, #16] if (FMC_Initialized) { - 80049e4: 4b3a ldr r3, [pc, #232] ; (8004ad0 ) - 80049e6: 681b ldr r3, [r3, #0] - 80049e8: 2b00 cmp r3, #0 - 80049ea: d16d bne.n 8004ac8 + 800453c: 4b3a ldr r3, [pc, #232] ; (8004628 ) + 800453e: 681b ldr r3, [r3, #0] + 8004540: 2b00 cmp r3, #0 + 8004542: d16d bne.n 8004620 return; } FMC_Initialized = 1; - 80049ec: 4b38 ldr r3, [pc, #224] ; (8004ad0 ) - 80049ee: 2201 movs r2, #1 - 80049f0: 601a str r2, [r3, #0] + 8004544: 4b38 ldr r3, [pc, #224] ; (8004628 ) + 8004546: 2201 movs r2, #1 + 8004548: 601a str r2, [r3, #0] /* Peripheral clock enable */ __HAL_RCC_FMC_CLK_ENABLE(); - 80049f2: 4b38 ldr r3, [pc, #224] ; (8004ad4 ) - 80049f4: 6b9b ldr r3, [r3, #56] ; 0x38 - 80049f6: 4a37 ldr r2, [pc, #220] ; (8004ad4 ) - 80049f8: f043 0301 orr.w r3, r3, #1 - 80049fc: 6393 str r3, [r2, #56] ; 0x38 - 80049fe: 4b35 ldr r3, [pc, #212] ; (8004ad4 ) - 8004a00: 6b9b ldr r3, [r3, #56] ; 0x38 - 8004a02: f003 0301 and.w r3, r3, #1 - 8004a06: 603b str r3, [r7, #0] - 8004a08: 683b ldr r3, [r7, #0] + 800454a: 4b38 ldr r3, [pc, #224] ; (800462c ) + 800454c: 6b9b ldr r3, [r3, #56] ; 0x38 + 800454e: 4a37 ldr r2, [pc, #220] ; (800462c ) + 8004550: f043 0301 orr.w r3, r3, #1 + 8004554: 6393 str r3, [r2, #56] ; 0x38 + 8004556: 4b35 ldr r3, [pc, #212] ; (800462c ) + 8004558: 6b9b ldr r3, [r3, #56] ; 0x38 + 800455a: f003 0301 and.w r3, r3, #1 + 800455e: 603b str r3, [r7, #0] + 8004560: 683b ldr r3, [r7, #0] PE10 ------> FMC_D7 PE12 ------> FMC_D9 PE15 ------> FMC_D12 PE13 ------> FMC_D10 */ GPIO_InitStruct.Pin = GPIO_PIN_1|GPIO_PIN_0|GPIO_PIN_8|GPIO_PIN_9 - 8004a0a: f64f 7383 movw r3, #65411 ; 0xff83 - 8004a0e: 607b str r3, [r7, #4] + 8004562: f64f 7383 movw r3, #65411 ; 0xff83 + 8004566: 607b str r3, [r7, #4] |GPIO_PIN_11|GPIO_PIN_14|GPIO_PIN_7|GPIO_PIN_10 |GPIO_PIN_12|GPIO_PIN_15|GPIO_PIN_13; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8004a10: 2302 movs r3, #2 - 8004a12: 60bb str r3, [r7, #8] + 8004568: 2302 movs r3, #2 + 800456a: 60bb str r3, [r7, #8] GPIO_InitStruct.Pull = GPIO_NOPULL; - 8004a14: 2300 movs r3, #0 - 8004a16: 60fb str r3, [r7, #12] + 800456c: 2300 movs r3, #0 + 800456e: 60fb str r3, [r7, #12] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8004a18: 2303 movs r3, #3 - 8004a1a: 613b str r3, [r7, #16] + 8004570: 2303 movs r3, #3 + 8004572: 613b str r3, [r7, #16] GPIO_InitStruct.Alternate = GPIO_AF12_FMC; - 8004a1c: 230c movs r3, #12 - 8004a1e: 617b str r3, [r7, #20] + 8004574: 230c movs r3, #12 + 8004576: 617b str r3, [r7, #20] HAL_GPIO_Init(GPIOE, &GPIO_InitStruct); - 8004a20: 1d3b adds r3, r7, #4 - 8004a22: 4619 mov r1, r3 - 8004a24: 482c ldr r0, [pc, #176] ; (8004ad8 ) - 8004a26: f002 fe73 bl 8007710 + 8004578: 1d3b adds r3, r7, #4 + 800457a: 4619 mov r1, r3 + 800457c: 482c ldr r0, [pc, #176] ; (8004630 ) + 800457e: f002 fe7b bl 8007278 GPIO_InitStruct.Pin = GPIO_PIN_15|GPIO_PIN_8|GPIO_PIN_1|GPIO_PIN_0 - 8004a2a: f248 1333 movw r3, #33075 ; 0x8133 - 8004a2e: 607b str r3, [r7, #4] + 8004582: f248 1333 movw r3, #33075 ; 0x8133 + 8004586: 607b str r3, [r7, #4] |GPIO_PIN_5|GPIO_PIN_4; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8004a30: 2302 movs r3, #2 - 8004a32: 60bb str r3, [r7, #8] + 8004588: 2302 movs r3, #2 + 800458a: 60bb str r3, [r7, #8] GPIO_InitStruct.Pull = GPIO_NOPULL; - 8004a34: 2300 movs r3, #0 - 8004a36: 60fb str r3, [r7, #12] + 800458c: 2300 movs r3, #0 + 800458e: 60fb str r3, [r7, #12] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8004a38: 2303 movs r3, #3 - 8004a3a: 613b str r3, [r7, #16] + 8004590: 2303 movs r3, #3 + 8004592: 613b str r3, [r7, #16] GPIO_InitStruct.Alternate = GPIO_AF12_FMC; - 8004a3c: 230c movs r3, #12 - 8004a3e: 617b str r3, [r7, #20] + 8004594: 230c movs r3, #12 + 8004596: 617b str r3, [r7, #20] HAL_GPIO_Init(GPIOG, &GPIO_InitStruct); - 8004a40: 1d3b adds r3, r7, #4 - 8004a42: 4619 mov r1, r3 - 8004a44: 4825 ldr r0, [pc, #148] ; (8004adc ) - 8004a46: f002 fe63 bl 8007710 + 8004598: 1d3b adds r3, r7, #4 + 800459a: 4619 mov r1, r3 + 800459c: 4825 ldr r0, [pc, #148] ; (8004634 ) + 800459e: f002 fe6b bl 8007278 GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_15|GPIO_PIN_10 - 8004a4a: f24c 7303 movw r3, #50947 ; 0xc703 - 8004a4e: 607b str r3, [r7, #4] + 80045a2: f24c 7303 movw r3, #50947 ; 0xc703 + 80045a6: 607b str r3, [r7, #4] |GPIO_PIN_14|GPIO_PIN_9|GPIO_PIN_8; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8004a50: 2302 movs r3, #2 - 8004a52: 60bb str r3, [r7, #8] + 80045a8: 2302 movs r3, #2 + 80045aa: 60bb str r3, [r7, #8] GPIO_InitStruct.Pull = GPIO_NOPULL; - 8004a54: 2300 movs r3, #0 - 8004a56: 60fb str r3, [r7, #12] + 80045ac: 2300 movs r3, #0 + 80045ae: 60fb str r3, [r7, #12] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8004a58: 2303 movs r3, #3 - 8004a5a: 613b str r3, [r7, #16] + 80045b0: 2303 movs r3, #3 + 80045b2: 613b str r3, [r7, #16] GPIO_InitStruct.Alternate = GPIO_AF12_FMC; - 8004a5c: 230c movs r3, #12 - 8004a5e: 617b str r3, [r7, #20] + 80045b4: 230c movs r3, #12 + 80045b6: 617b str r3, [r7, #20] HAL_GPIO_Init(GPIOD, &GPIO_InitStruct); - 8004a60: 1d3b adds r3, r7, #4 - 8004a62: 4619 mov r1, r3 - 8004a64: 481e ldr r0, [pc, #120] ; (8004ae0 ) - 8004a66: f002 fe53 bl 8007710 + 80045b8: 1d3b adds r3, r7, #4 + 80045ba: 4619 mov r1, r3 + 80045bc: 481e ldr r0, [pc, #120] ; (8004638 ) + 80045be: f002 fe5b bl 8007278 GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3 - 8004a6a: f64f 033f movw r3, #63551 ; 0xf83f - 8004a6e: 607b str r3, [r7, #4] + 80045c2: f64f 033f movw r3, #63551 ; 0xf83f + 80045c6: 607b str r3, [r7, #4] |GPIO_PIN_4|GPIO_PIN_5|GPIO_PIN_12|GPIO_PIN_15 |GPIO_PIN_13|GPIO_PIN_14|GPIO_PIN_11; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8004a70: 2302 movs r3, #2 - 8004a72: 60bb str r3, [r7, #8] + 80045c8: 2302 movs r3, #2 + 80045ca: 60bb str r3, [r7, #8] GPIO_InitStruct.Pull = GPIO_NOPULL; - 8004a74: 2300 movs r3, #0 - 8004a76: 60fb str r3, [r7, #12] + 80045cc: 2300 movs r3, #0 + 80045ce: 60fb str r3, [r7, #12] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8004a78: 2303 movs r3, #3 - 8004a7a: 613b str r3, [r7, #16] + 80045d0: 2303 movs r3, #3 + 80045d2: 613b str r3, [r7, #16] GPIO_InitStruct.Alternate = GPIO_AF12_FMC; - 8004a7c: 230c movs r3, #12 - 8004a7e: 617b str r3, [r7, #20] + 80045d4: 230c movs r3, #12 + 80045d6: 617b str r3, [r7, #20] HAL_GPIO_Init(GPIOF, &GPIO_InitStruct); - 8004a80: 1d3b adds r3, r7, #4 - 8004a82: 4619 mov r1, r3 - 8004a84: 4817 ldr r0, [pc, #92] ; (8004ae4 ) - 8004a86: f002 fe43 bl 8007710 + 80045d8: 1d3b adds r3, r7, #4 + 80045da: 4619 mov r1, r3 + 80045dc: 4817 ldr r0, [pc, #92] ; (800463c ) + 80045de: f002 fe4b bl 8007278 GPIO_InitStruct.Pin = GPIO_PIN_5|GPIO_PIN_3; - 8004a8a: 2328 movs r3, #40 ; 0x28 - 8004a8c: 607b str r3, [r7, #4] + 80045e2: 2328 movs r3, #40 ; 0x28 + 80045e4: 607b str r3, [r7, #4] GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8004a8e: 2302 movs r3, #2 - 8004a90: 60bb str r3, [r7, #8] + 80045e6: 2302 movs r3, #2 + 80045e8: 60bb str r3, [r7, #8] GPIO_InitStruct.Pull = GPIO_NOPULL; - 8004a92: 2300 movs r3, #0 - 8004a94: 60fb str r3, [r7, #12] + 80045ea: 2300 movs r3, #0 + 80045ec: 60fb str r3, [r7, #12] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8004a96: 2303 movs r3, #3 - 8004a98: 613b str r3, [r7, #16] + 80045ee: 2303 movs r3, #3 + 80045f0: 613b str r3, [r7, #16] GPIO_InitStruct.Alternate = GPIO_AF12_FMC; - 8004a9a: 230c movs r3, #12 - 8004a9c: 617b str r3, [r7, #20] + 80045f2: 230c movs r3, #12 + 80045f4: 617b str r3, [r7, #20] HAL_GPIO_Init(GPIOH, &GPIO_InitStruct); - 8004a9e: 1d3b adds r3, r7, #4 - 8004aa0: 4619 mov r1, r3 - 8004aa2: 4811 ldr r0, [pc, #68] ; (8004ae8 ) - 8004aa4: f002 fe34 bl 8007710 + 80045f6: 1d3b adds r3, r7, #4 + 80045f8: 4619 mov r1, r3 + 80045fa: 4811 ldr r0, [pc, #68] ; (8004640 ) + 80045fc: f002 fe3c bl 8007278 GPIO_InitStruct.Pin = GPIO_PIN_3; - 8004aa8: 2308 movs r3, #8 - 8004aaa: 607b str r3, [r7, #4] + 8004600: 2308 movs r3, #8 + 8004602: 607b str r3, [r7, #4] GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8004aac: 2302 movs r3, #2 - 8004aae: 60bb str r3, [r7, #8] + 8004604: 2302 movs r3, #2 + 8004606: 60bb str r3, [r7, #8] GPIO_InitStruct.Pull = GPIO_NOPULL; - 8004ab0: 2300 movs r3, #0 - 8004ab2: 60fb str r3, [r7, #12] + 8004608: 2300 movs r3, #0 + 800460a: 60fb str r3, [r7, #12] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8004ab4: 2303 movs r3, #3 - 8004ab6: 613b str r3, [r7, #16] + 800460c: 2303 movs r3, #3 + 800460e: 613b str r3, [r7, #16] GPIO_InitStruct.Alternate = GPIO_AF12_FMC; - 8004ab8: 230c movs r3, #12 - 8004aba: 617b str r3, [r7, #20] + 8004610: 230c movs r3, #12 + 8004612: 617b str r3, [r7, #20] HAL_GPIO_Init(GPIOC, &GPIO_InitStruct); - 8004abc: 1d3b adds r3, r7, #4 - 8004abe: 4619 mov r1, r3 - 8004ac0: 480a ldr r0, [pc, #40] ; (8004aec ) - 8004ac2: f002 fe25 bl 8007710 - 8004ac6: e000 b.n 8004aca + 8004614: 1d3b adds r3, r7, #4 + 8004616: 4619 mov r1, r3 + 8004618: 480a ldr r0, [pc, #40] ; (8004644 ) + 800461a: f002 fe2d bl 8007278 + 800461e: e000 b.n 8004622 return; - 8004ac8: bf00 nop + 8004620: bf00 nop /* USER CODE BEGIN FMC_MspInit 1 */ /* USER CODE END FMC_MspInit 1 */ } - 8004aca: 3718 adds r7, #24 - 8004acc: 46bd mov sp, r7 - 8004ace: bd80 pop {r7, pc} - 8004ad0: 2000057c .word 0x2000057c - 8004ad4: 40023800 .word 0x40023800 - 8004ad8: 40021000 .word 0x40021000 - 8004adc: 40021800 .word 0x40021800 - 8004ae0: 40020c00 .word 0x40020c00 - 8004ae4: 40021400 .word 0x40021400 - 8004ae8: 40021c00 .word 0x40021c00 - 8004aec: 40020800 .word 0x40020800 + 8004622: 3718 adds r7, #24 + 8004624: 46bd mov sp, r7 + 8004626: bd80 pop {r7, pc} + 8004628: 2000057c .word 0x2000057c + 800462c: 40023800 .word 0x40023800 + 8004630: 40021000 .word 0x40021000 + 8004634: 40021800 .word 0x40021800 + 8004638: 40020c00 .word 0x40020c00 + 800463c: 40021400 .word 0x40021400 + 8004640: 40021c00 .word 0x40021c00 + 8004644: 40020800 .word 0x40020800 -08004af0 : +08004648 : void HAL_SDRAM_MspInit(SDRAM_HandleTypeDef* hsdram){ - 8004af0: b580 push {r7, lr} - 8004af2: b082 sub sp, #8 - 8004af4: af00 add r7, sp, #0 - 8004af6: 6078 str r0, [r7, #4] + 8004648: b580 push {r7, lr} + 800464a: b082 sub sp, #8 + 800464c: af00 add r7, sp, #0 + 800464e: 6078 str r0, [r7, #4] /* USER CODE BEGIN SDRAM_MspInit 0 */ /* USER CODE END SDRAM_MspInit 0 */ HAL_FMC_MspInit(); - 8004af8: f7ff ff6a bl 80049d0 + 8004650: f7ff ff6a bl 8004528 /* USER CODE BEGIN SDRAM_MspInit 1 */ /* USER CODE END SDRAM_MspInit 1 */ } - 8004afc: bf00 nop - 8004afe: 3708 adds r7, #8 - 8004b00: 46bd mov sp, r7 - 8004b02: bd80 pop {r7, pc} + 8004654: bf00 nop + 8004656: 3708 adds r7, #8 + 8004658: 46bd mov sp, r7 + 800465a: bd80 pop {r7, pc} -08004b04 : +0800465c : * reset by HAL_Init() or at any time when clock is configured, by HAL_RCC_ClockConfig(). * @param TickPriority: Tick interrupt priority. * @retval HAL status */ HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority) { - 8004b04: b580 push {r7, lr} - 8004b06: b08c sub sp, #48 ; 0x30 - 8004b08: af00 add r7, sp, #0 - 8004b0a: 6078 str r0, [r7, #4] + 800465c: b580 push {r7, lr} + 800465e: b08c sub sp, #48 ; 0x30 + 8004660: af00 add r7, sp, #0 + 8004662: 6078 str r0, [r7, #4] RCC_ClkInitTypeDef clkconfig; uint32_t uwTimclock = 0; - 8004b0c: 2300 movs r3, #0 - 8004b0e: 62fb str r3, [r7, #44] ; 0x2c + 8004664: 2300 movs r3, #0 + 8004666: 62fb str r3, [r7, #44] ; 0x2c uint32_t uwPrescalerValue = 0; - 8004b10: 2300 movs r3, #0 - 8004b12: 62bb str r3, [r7, #40] ; 0x28 + 8004668: 2300 movs r3, #0 + 800466a: 62bb str r3, [r7, #40] ; 0x28 uint32_t pFLatency; /*Configure the TIM6 IRQ priority */ HAL_NVIC_SetPriority(TIM6_DAC_IRQn, TickPriority ,0); - 8004b14: 2200 movs r2, #0 - 8004b16: 6879 ldr r1, [r7, #4] - 8004b18: 2036 movs r0, #54 ; 0x36 - 8004b1a: f000 fe49 bl 80057b0 + 800466c: 2200 movs r2, #0 + 800466e: 6879 ldr r1, [r7, #4] + 8004670: 2036 movs r0, #54 ; 0x36 + 8004672: f000 fe51 bl 8005318 /* Enable the TIM6 global Interrupt */ HAL_NVIC_EnableIRQ(TIM6_DAC_IRQn); - 8004b1e: 2036 movs r0, #54 ; 0x36 - 8004b20: f000 fe62 bl 80057e8 + 8004676: 2036 movs r0, #54 ; 0x36 + 8004678: f000 fe6a bl 8005350 /* Enable TIM6 clock */ __HAL_RCC_TIM6_CLK_ENABLE(); - 8004b24: 4b1f ldr r3, [pc, #124] ; (8004ba4 ) - 8004b26: 6c1b ldr r3, [r3, #64] ; 0x40 - 8004b28: 4a1e ldr r2, [pc, #120] ; (8004ba4 ) - 8004b2a: f043 0310 orr.w r3, r3, #16 - 8004b2e: 6413 str r3, [r2, #64] ; 0x40 - 8004b30: 4b1c ldr r3, [pc, #112] ; (8004ba4 ) - 8004b32: 6c1b ldr r3, [r3, #64] ; 0x40 - 8004b34: f003 0310 and.w r3, r3, #16 - 8004b38: 60fb str r3, [r7, #12] - 8004b3a: 68fb ldr r3, [r7, #12] + 800467c: 4b1f ldr r3, [pc, #124] ; (80046fc ) + 800467e: 6c1b ldr r3, [r3, #64] ; 0x40 + 8004680: 4a1e ldr r2, [pc, #120] ; (80046fc ) + 8004682: f043 0310 orr.w r3, r3, #16 + 8004686: 6413 str r3, [r2, #64] ; 0x40 + 8004688: 4b1c ldr r3, [pc, #112] ; (80046fc ) + 800468a: 6c1b ldr r3, [r3, #64] ; 0x40 + 800468c: f003 0310 and.w r3, r3, #16 + 8004690: 60fb str r3, [r7, #12] + 8004692: 68fb ldr r3, [r7, #12] /* Get clock configuration */ HAL_RCC_GetClockConfig(&clkconfig, &pFLatency); - 8004b3c: f107 0210 add.w r2, r7, #16 - 8004b40: f107 0314 add.w r3, r7, #20 - 8004b44: 4611 mov r1, r2 - 8004b46: 4618 mov r0, r3 - 8004b48: f004 fd24 bl 8009594 + 8004694: f107 0210 add.w r2, r7, #16 + 8004698: f107 0314 add.w r3, r7, #20 + 800469c: 4611 mov r1, r2 + 800469e: 4618 mov r0, r3 + 80046a0: f004 fd46 bl 8009130 /* Compute TIM6 clock */ uwTimclock = 2*HAL_RCC_GetPCLK1Freq(); - 8004b4c: f004 fd0e bl 800956c - 8004b50: 4603 mov r3, r0 - 8004b52: 005b lsls r3, r3, #1 - 8004b54: 62fb str r3, [r7, #44] ; 0x2c + 80046a4: f004 fd30 bl 8009108 + 80046a8: 4603 mov r3, r0 + 80046aa: 005b lsls r3, r3, #1 + 80046ac: 62fb str r3, [r7, #44] ; 0x2c /* Compute the prescaler value to have TIM6 counter clock equal to 1MHz */ uwPrescalerValue = (uint32_t) ((uwTimclock / 1000000U) - 1U); - 8004b56: 6afb ldr r3, [r7, #44] ; 0x2c - 8004b58: 4a13 ldr r2, [pc, #76] ; (8004ba8 ) - 8004b5a: fba2 2303 umull r2, r3, r2, r3 - 8004b5e: 0c9b lsrs r3, r3, #18 - 8004b60: 3b01 subs r3, #1 - 8004b62: 62bb str r3, [r7, #40] ; 0x28 + 80046ae: 6afb ldr r3, [r7, #44] ; 0x2c + 80046b0: 4a13 ldr r2, [pc, #76] ; (8004700 ) + 80046b2: fba2 2303 umull r2, r3, r2, r3 + 80046b6: 0c9b lsrs r3, r3, #18 + 80046b8: 3b01 subs r3, #1 + 80046ba: 62bb str r3, [r7, #40] ; 0x28 /* Initialize TIM6 */ htim6.Instance = TIM6; - 8004b64: 4b11 ldr r3, [pc, #68] ; (8004bac ) - 8004b66: 4a12 ldr r2, [pc, #72] ; (8004bb0 ) - 8004b68: 601a str r2, [r3, #0] + 80046bc: 4b11 ldr r3, [pc, #68] ; (8004704 ) + 80046be: 4a12 ldr r2, [pc, #72] ; (8004708 ) + 80046c0: 601a str r2, [r3, #0] + Period = [(TIM6CLK/1000) - 1]. to have a (1/1000) s time base. + Prescaler = (uwTimclock/1000000 - 1) to have a 1MHz counter clock. + ClockDivision = 0 + Counter direction = Up */ htim6.Init.Period = (1000000U / 1000U) - 1U; - 8004b6a: 4b10 ldr r3, [pc, #64] ; (8004bac ) - 8004b6c: f240 32e7 movw r2, #999 ; 0x3e7 - 8004b70: 60da str r2, [r3, #12] + 80046c2: 4b10 ldr r3, [pc, #64] ; (8004704 ) + 80046c4: f240 32e7 movw r2, #999 ; 0x3e7 + 80046c8: 60da str r2, [r3, #12] htim6.Init.Prescaler = uwPrescalerValue; - 8004b72: 4a0e ldr r2, [pc, #56] ; (8004bac ) - 8004b74: 6abb ldr r3, [r7, #40] ; 0x28 - 8004b76: 6053 str r3, [r2, #4] + 80046ca: 4a0e ldr r2, [pc, #56] ; (8004704 ) + 80046cc: 6abb ldr r3, [r7, #40] ; 0x28 + 80046ce: 6053 str r3, [r2, #4] htim6.Init.ClockDivision = 0; - 8004b78: 4b0c ldr r3, [pc, #48] ; (8004bac ) - 8004b7a: 2200 movs r2, #0 - 8004b7c: 611a str r2, [r3, #16] + 80046d0: 4b0c ldr r3, [pc, #48] ; (8004704 ) + 80046d2: 2200 movs r2, #0 + 80046d4: 611a str r2, [r3, #16] htim6.Init.CounterMode = TIM_COUNTERMODE_UP; - 8004b7e: 4b0b ldr r3, [pc, #44] ; (8004bac ) - 8004b80: 2200 movs r2, #0 - 8004b82: 609a str r2, [r3, #8] + 80046d6: 4b0b ldr r3, [pc, #44] ; (8004704 ) + 80046d8: 2200 movs r2, #0 + 80046da: 609a str r2, [r3, #8] if(HAL_TIM_Base_Init(&htim6) == HAL_OK) - 8004b84: 4809 ldr r0, [pc, #36] ; (8004bac ) - 8004b86: f005 fa60 bl 800a04a - 8004b8a: 4603 mov r3, r0 - 8004b8c: 2b00 cmp r3, #0 - 8004b8e: d104 bne.n 8004b9a + 80046dc: 4809 ldr r0, [pc, #36] ; (8004704 ) + 80046de: f005 fa82 bl 8009be6 + 80046e2: 4603 mov r3, r0 + 80046e4: 2b00 cmp r3, #0 + 80046e6: d104 bne.n 80046f2 { /* Start the TIM time Base generation in interrupt mode */ return HAL_TIM_Base_Start_IT(&htim6); - 8004b90: 4806 ldr r0, [pc, #24] ; (8004bac ) - 8004b92: f005 fa85 bl 800a0a0 - 8004b96: 4603 mov r3, r0 - 8004b98: e000 b.n 8004b9c + 80046e8: 4806 ldr r0, [pc, #24] ; (8004704 ) + 80046ea: f005 faa7 bl 8009c3c + 80046ee: 4603 mov r3, r0 + 80046f0: e000 b.n 80046f4 } /* Return function status */ return HAL_ERROR; - 8004b9a: 2301 movs r3, #1 + 80046f2: 2301 movs r3, #1 } - 8004b9c: 4618 mov r0, r3 - 8004b9e: 3730 adds r7, #48 ; 0x30 - 8004ba0: 46bd mov sp, r7 - 8004ba2: bd80 pop {r7, pc} - 8004ba4: 40023800 .word 0x40023800 - 8004ba8: 431bde83 .word 0x431bde83 - 8004bac: 20008d14 .word 0x20008d14 - 8004bb0: 40001000 .word 0x40001000 + 80046f4: 4618 mov r0, r3 + 80046f6: 3730 adds r7, #48 ; 0x30 + 80046f8: 46bd mov sp, r7 + 80046fa: bd80 pop {r7, pc} + 80046fc: 40023800 .word 0x40023800 + 8004700: 431bde83 .word 0x431bde83 + 8004704: 20008d10 .word 0x20008d10 + 8004708: 40001000 .word 0x40001000 -08004bb4 : +0800470c : /******************************************************************************/ /** * @brief This function handles Non maskable interrupt. */ void NMI_Handler(void) { - 8004bb4: b480 push {r7} - 8004bb6: af00 add r7, sp, #0 + 800470c: b480 push {r7} + 800470e: af00 add r7, sp, #0 /* USER CODE BEGIN NonMaskableInt_IRQn 0 */ /* USER CODE END NonMaskableInt_IRQn 0 */ /* USER CODE BEGIN NonMaskableInt_IRQn 1 */ while (1) - 8004bb8: e7fe b.n 8004bb8 + 8004710: e7fe b.n 8004710 -08004bba : +08004712 : /** * @brief This function handles Hard fault interrupt. */ void HardFault_Handler(void) { - 8004bba: b480 push {r7} - 8004bbc: af00 add r7, sp, #0 + 8004712: b480 push {r7} + 8004714: af00 add r7, sp, #0 /* USER CODE BEGIN HardFault_IRQn 0 */ /* USER CODE END HardFault_IRQn 0 */ while (1) - 8004bbe: e7fe b.n 8004bbe + 8004716: e7fe b.n 8004716 -08004bc0 : +08004718 : /** * @brief This function handles Memory management fault. */ void MemManage_Handler(void) { - 8004bc0: b480 push {r7} - 8004bc2: af00 add r7, sp, #0 + 8004718: b480 push {r7} + 800471a: af00 add r7, sp, #0 /* USER CODE BEGIN MemoryManagement_IRQn 0 */ /* USER CODE END MemoryManagement_IRQn 0 */ while (1) - 8004bc4: e7fe b.n 8004bc4 + 800471c: e7fe b.n 800471c -08004bc6 : +0800471e : /** * @brief This function handles Pre-fetch fault, memory access fault. */ void BusFault_Handler(void) { - 8004bc6: b480 push {r7} - 8004bc8: af00 add r7, sp, #0 + 800471e: b480 push {r7} + 8004720: af00 add r7, sp, #0 /* USER CODE BEGIN BusFault_IRQn 0 */ /* USER CODE END BusFault_IRQn 0 */ while (1) - 8004bca: e7fe b.n 8004bca + 8004722: e7fe b.n 8004722 -08004bcc : +08004724 : /** * @brief This function handles Undefined instruction or illegal state. */ void UsageFault_Handler(void) { - 8004bcc: b480 push {r7} - 8004bce: af00 add r7, sp, #0 + 8004724: b480 push {r7} + 8004726: af00 add r7, sp, #0 /* USER CODE BEGIN UsageFault_IRQn 0 */ /* USER CODE END UsageFault_IRQn 0 */ while (1) - 8004bd0: e7fe b.n 8004bd0 + 8004728: e7fe b.n 8004728 -08004bd2 : +0800472a : /** * @brief This function handles Debug monitor. */ void DebugMon_Handler(void) { - 8004bd2: b480 push {r7} - 8004bd4: af00 add r7, sp, #0 + 800472a: b480 push {r7} + 800472c: af00 add r7, sp, #0 /* USER CODE END DebugMonitor_IRQn 0 */ /* USER CODE BEGIN DebugMonitor_IRQn 1 */ /* USER CODE END DebugMonitor_IRQn 1 */ } - 8004bd6: bf00 nop - 8004bd8: 46bd mov sp, r7 - 8004bda: f85d 7b04 ldr.w r7, [sp], #4 - 8004bde: 4770 bx lr + 800472e: bf00 nop + 8004730: 46bd mov sp, r7 + 8004732: f85d 7b04 ldr.w r7, [sp], #4 + 8004736: 4770 bx lr -08004be0 : +08004738 : + +/** + * @brief This function handles EXTI line[9:5] interrupts. + */ +void EXTI9_5_IRQHandler(void) +{ + 8004738: b580 push {r7, lr} + 800473a: af00 add r7, sp, #0 + /* USER CODE BEGIN EXTI9_5_IRQn 0 */ + + /* USER CODE END EXTI9_5_IRQn 0 */ + HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_8); + 800473c: f44f 7080 mov.w r0, #256 ; 0x100 + 8004740: f002 ff78 bl 8007634 + /* USER CODE BEGIN EXTI9_5_IRQn 1 */ + + /* USER CODE END EXTI9_5_IRQn 1 */ +} + 8004744: bf00 nop + 8004746: bd80 pop {r7, pc} + +08004748 : /** * @brief This function handles TIM6 global interrupt, DAC1 and DAC2 underrun error interrupts. */ void TIM6_DAC_IRQHandler(void) { - 8004be0: b580 push {r7, lr} - 8004be2: af00 add r7, sp, #0 + 8004748: b580 push {r7, lr} + 800474a: af00 add r7, sp, #0 /* USER CODE BEGIN TIM6_DAC_IRQn 0 */ /* USER CODE END TIM6_DAC_IRQn 0 */ HAL_DAC_IRQHandler(&hdac); - 8004be4: 4803 ldr r0, [pc, #12] ; (8004bf4 ) - 8004be6: f000 ff19 bl 8005a1c + 800474c: 4803 ldr r0, [pc, #12] ; (800475c ) + 800474e: f000 ff19 bl 8005584 HAL_TIM_IRQHandler(&htim6); - 8004bea: 4803 ldr r0, [pc, #12] ; (8004bf8 ) - 8004bec: f005 fab7 bl 800a15e + 8004752: 4803 ldr r0, [pc, #12] ; (8004760 ) + 8004754: f005 fad1 bl 8009cfa /* USER CODE BEGIN TIM6_DAC_IRQn 1 */ /* USER CODE END TIM6_DAC_IRQn 1 */ } - 8004bf0: bf00 nop - 8004bf2: bd80 pop {r7, pc} - 8004bf4: 20008b10 .word 0x20008b10 - 8004bf8: 20008d14 .word 0x20008d14 + 8004758: bf00 nop + 800475a: bd80 pop {r7, pc} + 800475c: 20008b0c .word 0x20008b0c + 8004760: 20008d10 .word 0x20008d10 -08004bfc : +08004764 : /** * @brief This function handles Ethernet global interrupt. */ void ETH_IRQHandler(void) { - 8004bfc: b580 push {r7, lr} - 8004bfe: af00 add r7, sp, #0 + 8004764: b580 push {r7, lr} + 8004766: af00 add r7, sp, #0 /* USER CODE BEGIN ETH_IRQn 0 */ /* USER CODE END ETH_IRQn 0 */ HAL_ETH_IRQHandler(&heth); - 8004c00: 4802 ldr r0, [pc, #8] ; (8004c0c ) - 8004c02: f001 ffe3 bl 8006bcc + 8004768: 4802 ldr r0, [pc, #8] ; (8004774 ) + 800476a: f001 ffe3 bl 8006734 /* USER CODE BEGIN ETH_IRQn 1 */ /* USER CODE END ETH_IRQn 1 */ } - 8004c06: bf00 nop - 8004c08: bd80 pop {r7, pc} - 8004c0a: bf00 nop - 8004c0c: 2000a674 .word 0x2000a674 + 800476e: bf00 nop + 8004770: bd80 pop {r7, pc} + 8004772: bf00 nop + 8004774: 2000a670 .word 0x2000a670 -08004c10 : +08004778 : /** * @brief This function handles LTDC global interrupt. */ void LTDC_IRQHandler(void) { - 8004c10: b580 push {r7, lr} - 8004c12: af00 add r7, sp, #0 + 8004778: b580 push {r7, lr} + 800477a: af00 add r7, sp, #0 /* USER CODE BEGIN LTDC_IRQn 0 */ /* USER CODE END LTDC_IRQn 0 */ HAL_LTDC_IRQHandler(&hltdc); - 8004c14: 4802 ldr r0, [pc, #8] ; (8004c20 ) - 8004c16: f003 fd53 bl 80086c0 + 800477c: 4802 ldr r0, [pc, #8] ; (8004788 ) + 800477e: f003 fd6d bl 800825c /* USER CODE BEGIN LTDC_IRQn 1 */ /* USER CODE END LTDC_IRQn 1 */ } - 8004c1a: bf00 nop - 8004c1c: bd80 pop {r7, pc} - 8004c1e: bf00 nop - 8004c20: 200089d0 .word 0x200089d0 + 8004782: bf00 nop + 8004784: bd80 pop {r7, pc} + 8004786: bf00 nop + 8004788: 200089cc .word 0x200089cc -08004c24 <_read>: +0800478c <_read>: _kill(status, -1); while (1) {} /* Make sure we hang here */ } __attribute__((weak)) int _read(int file, char *ptr, int len) { - 8004c24: b580 push {r7, lr} - 8004c26: b086 sub sp, #24 - 8004c28: af00 add r7, sp, #0 - 8004c2a: 60f8 str r0, [r7, #12] - 8004c2c: 60b9 str r1, [r7, #8] - 8004c2e: 607a str r2, [r7, #4] + 800478c: b580 push {r7, lr} + 800478e: b086 sub sp, #24 + 8004790: af00 add r7, sp, #0 + 8004792: 60f8 str r0, [r7, #12] + 8004794: 60b9 str r1, [r7, #8] + 8004796: 607a str r2, [r7, #4] int DataIdx; for (DataIdx = 0; DataIdx < len; DataIdx++) - 8004c30: 2300 movs r3, #0 - 8004c32: 617b str r3, [r7, #20] - 8004c34: e00a b.n 8004c4c <_read+0x28> + 8004798: 2300 movs r3, #0 + 800479a: 617b str r3, [r7, #20] + 800479c: e00a b.n 80047b4 <_read+0x28> { *ptr++ = __io_getchar(); - 8004c36: f3af 8000 nop.w - 8004c3a: 4601 mov r1, r0 - 8004c3c: 68bb ldr r3, [r7, #8] - 8004c3e: 1c5a adds r2, r3, #1 - 8004c40: 60ba str r2, [r7, #8] - 8004c42: b2ca uxtb r2, r1 - 8004c44: 701a strb r2, [r3, #0] + 800479e: f3af 8000 nop.w + 80047a2: 4601 mov r1, r0 + 80047a4: 68bb ldr r3, [r7, #8] + 80047a6: 1c5a adds r2, r3, #1 + 80047a8: 60ba str r2, [r7, #8] + 80047aa: b2ca uxtb r2, r1 + 80047ac: 701a strb r2, [r3, #0] for (DataIdx = 0; DataIdx < len; DataIdx++) - 8004c46: 697b ldr r3, [r7, #20] - 8004c48: 3301 adds r3, #1 - 8004c4a: 617b str r3, [r7, #20] - 8004c4c: 697a ldr r2, [r7, #20] - 8004c4e: 687b ldr r3, [r7, #4] - 8004c50: 429a cmp r2, r3 - 8004c52: dbf0 blt.n 8004c36 <_read+0x12> + 80047ae: 697b ldr r3, [r7, #20] + 80047b0: 3301 adds r3, #1 + 80047b2: 617b str r3, [r7, #20] + 80047b4: 697a ldr r2, [r7, #20] + 80047b6: 687b ldr r3, [r7, #4] + 80047b8: 429a cmp r2, r3 + 80047ba: dbf0 blt.n 800479e <_read+0x12> } return len; - 8004c54: 687b ldr r3, [r7, #4] + 80047bc: 687b ldr r3, [r7, #4] } - 8004c56: 4618 mov r0, r3 - 8004c58: 3718 adds r7, #24 - 8004c5a: 46bd mov sp, r7 - 8004c5c: bd80 pop {r7, pc} + 80047be: 4618 mov r0, r3 + 80047c0: 3718 adds r7, #24 + 80047c2: 46bd mov sp, r7 + 80047c4: bd80 pop {r7, pc} -08004c5e <_write>: +080047c6 <_write>: __attribute__((weak)) int _write(int file, char *ptr, int len) { - 8004c5e: b580 push {r7, lr} - 8004c60: b086 sub sp, #24 - 8004c62: af00 add r7, sp, #0 - 8004c64: 60f8 str r0, [r7, #12] - 8004c66: 60b9 str r1, [r7, #8] - 8004c68: 607a str r2, [r7, #4] + 80047c6: b580 push {r7, lr} + 80047c8: b086 sub sp, #24 + 80047ca: af00 add r7, sp, #0 + 80047cc: 60f8 str r0, [r7, #12] + 80047ce: 60b9 str r1, [r7, #8] + 80047d0: 607a str r2, [r7, #4] int DataIdx; for (DataIdx = 0; DataIdx < len; DataIdx++) - 8004c6a: 2300 movs r3, #0 - 8004c6c: 617b str r3, [r7, #20] - 8004c6e: e009 b.n 8004c84 <_write+0x26> + 80047d2: 2300 movs r3, #0 + 80047d4: 617b str r3, [r7, #20] + 80047d6: e009 b.n 80047ec <_write+0x26> { __io_putchar(*ptr++); - 8004c70: 68bb ldr r3, [r7, #8] - 8004c72: 1c5a adds r2, r3, #1 - 8004c74: 60ba str r2, [r7, #8] - 8004c76: 781b ldrb r3, [r3, #0] - 8004c78: 4618 mov r0, r3 - 8004c7a: f3af 8000 nop.w + 80047d8: 68bb ldr r3, [r7, #8] + 80047da: 1c5a adds r2, r3, #1 + 80047dc: 60ba str r2, [r7, #8] + 80047de: 781b ldrb r3, [r3, #0] + 80047e0: 4618 mov r0, r3 + 80047e2: f3af 8000 nop.w for (DataIdx = 0; DataIdx < len; DataIdx++) - 8004c7e: 697b ldr r3, [r7, #20] - 8004c80: 3301 adds r3, #1 - 8004c82: 617b str r3, [r7, #20] - 8004c84: 697a ldr r2, [r7, #20] - 8004c86: 687b ldr r3, [r7, #4] - 8004c88: 429a cmp r2, r3 - 8004c8a: dbf1 blt.n 8004c70 <_write+0x12> + 80047e6: 697b ldr r3, [r7, #20] + 80047e8: 3301 adds r3, #1 + 80047ea: 617b str r3, [r7, #20] + 80047ec: 697a ldr r2, [r7, #20] + 80047ee: 687b ldr r3, [r7, #4] + 80047f0: 429a cmp r2, r3 + 80047f2: dbf1 blt.n 80047d8 <_write+0x12> } return len; - 8004c8c: 687b ldr r3, [r7, #4] + 80047f4: 687b ldr r3, [r7, #4] } - 8004c8e: 4618 mov r0, r3 - 8004c90: 3718 adds r7, #24 - 8004c92: 46bd mov sp, r7 - 8004c94: bd80 pop {r7, pc} + 80047f6: 4618 mov r0, r3 + 80047f8: 3718 adds r7, #24 + 80047fa: 46bd mov sp, r7 + 80047fc: bd80 pop {r7, pc} -08004c96 <_close>: +080047fe <_close>: int _close(int file) { - 8004c96: b480 push {r7} - 8004c98: b083 sub sp, #12 - 8004c9a: af00 add r7, sp, #0 - 8004c9c: 6078 str r0, [r7, #4] + 80047fe: b480 push {r7} + 8004800: b083 sub sp, #12 + 8004802: af00 add r7, sp, #0 + 8004804: 6078 str r0, [r7, #4] return -1; - 8004c9e: f04f 33ff mov.w r3, #4294967295 + 8004806: f04f 33ff mov.w r3, #4294967295 } - 8004ca2: 4618 mov r0, r3 - 8004ca4: 370c adds r7, #12 - 8004ca6: 46bd mov sp, r7 - 8004ca8: f85d 7b04 ldr.w r7, [sp], #4 - 8004cac: 4770 bx lr + 800480a: 4618 mov r0, r3 + 800480c: 370c adds r7, #12 + 800480e: 46bd mov sp, r7 + 8004810: f85d 7b04 ldr.w r7, [sp], #4 + 8004814: 4770 bx lr -08004cae <_fstat>: +08004816 <_fstat>: int _fstat(int file, struct stat *st) { - 8004cae: b480 push {r7} - 8004cb0: b083 sub sp, #12 - 8004cb2: af00 add r7, sp, #0 - 8004cb4: 6078 str r0, [r7, #4] - 8004cb6: 6039 str r1, [r7, #0] + 8004816: b480 push {r7} + 8004818: b083 sub sp, #12 + 800481a: af00 add r7, sp, #0 + 800481c: 6078 str r0, [r7, #4] + 800481e: 6039 str r1, [r7, #0] st->st_mode = S_IFCHR; - 8004cb8: 683b ldr r3, [r7, #0] - 8004cba: f44f 5200 mov.w r2, #8192 ; 0x2000 - 8004cbe: 605a str r2, [r3, #4] + 8004820: 683b ldr r3, [r7, #0] + 8004822: f44f 5200 mov.w r2, #8192 ; 0x2000 + 8004826: 605a str r2, [r3, #4] return 0; - 8004cc0: 2300 movs r3, #0 + 8004828: 2300 movs r3, #0 } - 8004cc2: 4618 mov r0, r3 - 8004cc4: 370c adds r7, #12 - 8004cc6: 46bd mov sp, r7 - 8004cc8: f85d 7b04 ldr.w r7, [sp], #4 - 8004ccc: 4770 bx lr + 800482a: 4618 mov r0, r3 + 800482c: 370c adds r7, #12 + 800482e: 46bd mov sp, r7 + 8004830: f85d 7b04 ldr.w r7, [sp], #4 + 8004834: 4770 bx lr -08004cce <_isatty>: +08004836 <_isatty>: int _isatty(int file) { - 8004cce: b480 push {r7} - 8004cd0: b083 sub sp, #12 - 8004cd2: af00 add r7, sp, #0 - 8004cd4: 6078 str r0, [r7, #4] + 8004836: b480 push {r7} + 8004838: b083 sub sp, #12 + 800483a: af00 add r7, sp, #0 + 800483c: 6078 str r0, [r7, #4] return 1; - 8004cd6: 2301 movs r3, #1 + 800483e: 2301 movs r3, #1 } - 8004cd8: 4618 mov r0, r3 - 8004cda: 370c adds r7, #12 - 8004cdc: 46bd mov sp, r7 - 8004cde: f85d 7b04 ldr.w r7, [sp], #4 - 8004ce2: 4770 bx lr + 8004840: 4618 mov r0, r3 + 8004842: 370c adds r7, #12 + 8004844: 46bd mov sp, r7 + 8004846: f85d 7b04 ldr.w r7, [sp], #4 + 800484a: 4770 bx lr -08004ce4 <_lseek>: +0800484c <_lseek>: int _lseek(int file, int ptr, int dir) { - 8004ce4: b480 push {r7} - 8004ce6: b085 sub sp, #20 - 8004ce8: af00 add r7, sp, #0 - 8004cea: 60f8 str r0, [r7, #12] - 8004cec: 60b9 str r1, [r7, #8] - 8004cee: 607a str r2, [r7, #4] + 800484c: b480 push {r7} + 800484e: b085 sub sp, #20 + 8004850: af00 add r7, sp, #0 + 8004852: 60f8 str r0, [r7, #12] + 8004854: 60b9 str r1, [r7, #8] + 8004856: 607a str r2, [r7, #4] return 0; - 8004cf0: 2300 movs r3, #0 + 8004858: 2300 movs r3, #0 } - 8004cf2: 4618 mov r0, r3 - 8004cf4: 3714 adds r7, #20 - 8004cf6: 46bd mov sp, r7 - 8004cf8: f85d 7b04 ldr.w r7, [sp], #4 - 8004cfc: 4770 bx lr + 800485a: 4618 mov r0, r3 + 800485c: 3714 adds r7, #20 + 800485e: 46bd mov sp, r7 + 8004860: f85d 7b04 ldr.w r7, [sp], #4 + 8004864: 4770 bx lr ... -08004d00 <_sbrk>: +08004868 <_sbrk>: * * @param incr Memory size * @return Pointer to allocated memory */ void *_sbrk(ptrdiff_t incr) { - 8004d00: b480 push {r7} - 8004d02: b087 sub sp, #28 - 8004d04: af00 add r7, sp, #0 - 8004d06: 6078 str r0, [r7, #4] + 8004868: b480 push {r7} + 800486a: b087 sub sp, #28 + 800486c: af00 add r7, sp, #0 + 800486e: 6078 str r0, [r7, #4] extern uint8_t _end; /* Symbol defined in the linker script */ extern uint8_t _estack; /* Symbol defined in the linker script */ extern uint32_t _Min_Stack_Size; /* Symbol defined in the linker script */ const uint32_t stack_limit = (uint32_t)&_estack - (uint32_t)&_Min_Stack_Size; - 8004d08: 4a14 ldr r2, [pc, #80] ; (8004d5c <_sbrk+0x5c>) - 8004d0a: 4b15 ldr r3, [pc, #84] ; (8004d60 <_sbrk+0x60>) - 8004d0c: 1ad3 subs r3, r2, r3 - 8004d0e: 617b str r3, [r7, #20] + 8004870: 4a14 ldr r2, [pc, #80] ; (80048c4 <_sbrk+0x5c>) + 8004872: 4b15 ldr r3, [pc, #84] ; (80048c8 <_sbrk+0x60>) + 8004874: 1ad3 subs r3, r2, r3 + 8004876: 617b str r3, [r7, #20] const uint8_t *max_heap = (uint8_t *)stack_limit; - 8004d10: 697b ldr r3, [r7, #20] - 8004d12: 613b str r3, [r7, #16] + 8004878: 697b ldr r3, [r7, #20] + 800487a: 613b str r3, [r7, #16] uint8_t *prev_heap_end; /* Initialize heap end at first call */ if (NULL == __sbrk_heap_end) - 8004d14: 4b13 ldr r3, [pc, #76] ; (8004d64 <_sbrk+0x64>) - 8004d16: 681b ldr r3, [r3, #0] - 8004d18: 2b00 cmp r3, #0 - 8004d1a: d102 bne.n 8004d22 <_sbrk+0x22> + 800487c: 4b13 ldr r3, [pc, #76] ; (80048cc <_sbrk+0x64>) + 800487e: 681b ldr r3, [r3, #0] + 8004880: 2b00 cmp r3, #0 + 8004882: d102 bne.n 800488a <_sbrk+0x22> { __sbrk_heap_end = &_end; - 8004d1c: 4b11 ldr r3, [pc, #68] ; (8004d64 <_sbrk+0x64>) - 8004d1e: 4a12 ldr r2, [pc, #72] ; (8004d68 <_sbrk+0x68>) - 8004d20: 601a str r2, [r3, #0] + 8004884: 4b11 ldr r3, [pc, #68] ; (80048cc <_sbrk+0x64>) + 8004886: 4a12 ldr r2, [pc, #72] ; (80048d0 <_sbrk+0x68>) + 8004888: 601a str r2, [r3, #0] } /* Protect heap from growing into the reserved MSP stack */ if (__sbrk_heap_end + incr > max_heap) - 8004d22: 4b10 ldr r3, [pc, #64] ; (8004d64 <_sbrk+0x64>) - 8004d24: 681a ldr r2, [r3, #0] - 8004d26: 687b ldr r3, [r7, #4] - 8004d28: 4413 add r3, r2 - 8004d2a: 693a ldr r2, [r7, #16] - 8004d2c: 429a cmp r2, r3 - 8004d2e: d205 bcs.n 8004d3c <_sbrk+0x3c> + 800488a: 4b10 ldr r3, [pc, #64] ; (80048cc <_sbrk+0x64>) + 800488c: 681a ldr r2, [r3, #0] + 800488e: 687b ldr r3, [r7, #4] + 8004890: 4413 add r3, r2 + 8004892: 693a ldr r2, [r7, #16] + 8004894: 429a cmp r2, r3 + 8004896: d205 bcs.n 80048a4 <_sbrk+0x3c> { errno = ENOMEM; - 8004d30: 4b0e ldr r3, [pc, #56] ; (8004d6c <_sbrk+0x6c>) - 8004d32: 220c movs r2, #12 - 8004d34: 601a str r2, [r3, #0] + 8004898: 4b0e ldr r3, [pc, #56] ; (80048d4 <_sbrk+0x6c>) + 800489a: 220c movs r2, #12 + 800489c: 601a str r2, [r3, #0] return (void *)-1; - 8004d36: f04f 33ff mov.w r3, #4294967295 - 8004d3a: e009 b.n 8004d50 <_sbrk+0x50> + 800489e: f04f 33ff mov.w r3, #4294967295 + 80048a2: e009 b.n 80048b8 <_sbrk+0x50> } prev_heap_end = __sbrk_heap_end; - 8004d3c: 4b09 ldr r3, [pc, #36] ; (8004d64 <_sbrk+0x64>) - 8004d3e: 681b ldr r3, [r3, #0] - 8004d40: 60fb str r3, [r7, #12] + 80048a4: 4b09 ldr r3, [pc, #36] ; (80048cc <_sbrk+0x64>) + 80048a6: 681b ldr r3, [r3, #0] + 80048a8: 60fb str r3, [r7, #12] __sbrk_heap_end += incr; - 8004d42: 4b08 ldr r3, [pc, #32] ; (8004d64 <_sbrk+0x64>) - 8004d44: 681a ldr r2, [r3, #0] - 8004d46: 687b ldr r3, [r7, #4] - 8004d48: 4413 add r3, r2 - 8004d4a: 4a06 ldr r2, [pc, #24] ; (8004d64 <_sbrk+0x64>) - 8004d4c: 6013 str r3, [r2, #0] + 80048aa: 4b08 ldr r3, [pc, #32] ; (80048cc <_sbrk+0x64>) + 80048ac: 681a ldr r2, [r3, #0] + 80048ae: 687b ldr r3, [r7, #4] + 80048b0: 4413 add r3, r2 + 80048b2: 4a06 ldr r2, [pc, #24] ; (80048cc <_sbrk+0x64>) + 80048b4: 6013 str r3, [r2, #0] return (void *)prev_heap_end; - 8004d4e: 68fb ldr r3, [r7, #12] + 80048b6: 68fb ldr r3, [r7, #12] } - 8004d50: 4618 mov r0, r3 - 8004d52: 371c adds r7, #28 - 8004d54: 46bd mov sp, r7 - 8004d56: f85d 7b04 ldr.w r7, [sp], #4 - 8004d5a: 4770 bx lr - 8004d5c: 20050000 .word 0x20050000 - 8004d60: 00000400 .word 0x00000400 - 8004d64: 20000580 .word 0x20000580 - 8004d68: 2000f610 .word 0x2000f610 - 8004d6c: 2000f608 .word 0x2000f608 + 80048b8: 4618 mov r0, r3 + 80048ba: 371c adds r7, #28 + 80048bc: 46bd mov sp, r7 + 80048be: f85d 7b04 ldr.w r7, [sp], #4 + 80048c2: 4770 bx lr + 80048c4: 20050000 .word 0x20050000 + 80048c8: 00000400 .word 0x00000400 + 80048cc: 20000580 .word 0x20000580 + 80048d0: 2000f610 .word 0x2000f610 + 80048d4: 2000f604 .word 0x2000f604 -08004d70 : +080048d8 : * SystemFrequency variable. * @param None * @retval None */ void SystemInit(void) { - 8004d70: b480 push {r7} - 8004d72: af00 add r7, sp, #0 + 80048d8: b480 push {r7} + 80048da: af00 add r7, sp, #0 /* FPU settings ------------------------------------------------------------*/ #if (__FPU_PRESENT == 1) && (__FPU_USED == 1) SCB->CPACR |= ((3UL << 10*2)|(3UL << 11*2)); /* set CP10 and CP11 Full Access */ - 8004d74: 4b08 ldr r3, [pc, #32] ; (8004d98 ) - 8004d76: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8004d7a: 4a07 ldr r2, [pc, #28] ; (8004d98 ) - 8004d7c: f443 0370 orr.w r3, r3, #15728640 ; 0xf00000 - 8004d80: f8c2 3088 str.w r3, [r2, #136] ; 0x88 + 80048dc: 4b08 ldr r3, [pc, #32] ; (8004900 ) + 80048de: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 80048e2: 4a07 ldr r2, [pc, #28] ; (8004900 ) + 80048e4: f443 0370 orr.w r3, r3, #15728640 ; 0xf00000 + 80048e8: f8c2 3088 str.w r3, [r2, #136] ; 0x88 /* Configure the Vector Table location add offset address ------------------*/ #ifdef VECT_TAB_SRAM SCB->VTOR = RAMDTCM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */ #else SCB->VTOR = FLASH_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal FLASH */ - 8004d84: 4b04 ldr r3, [pc, #16] ; (8004d98 ) - 8004d86: f04f 6200 mov.w r2, #134217728 ; 0x8000000 - 8004d8a: 609a str r2, [r3, #8] + 80048ec: 4b04 ldr r3, [pc, #16] ; (8004900 ) + 80048ee: f04f 6200 mov.w r2, #134217728 ; 0x8000000 + 80048f2: 609a str r2, [r3, #8] #endif } - 8004d8c: bf00 nop - 8004d8e: 46bd mov sp, r7 - 8004d90: f85d 7b04 ldr.w r7, [sp], #4 - 8004d94: 4770 bx lr - 8004d96: bf00 nop - 8004d98: e000ed00 .word 0xe000ed00 + 80048f4: bf00 nop + 80048f6: 46bd mov sp, r7 + 80048f8: f85d 7b04 ldr.w r7, [sp], #4 + 80048fc: 4770 bx lr + 80048fe: bf00 nop + 8004900: e000ed00 .word 0xe000ed00 -08004d9c : +08004904 : */ .section .text.Reset_Handler .weak Reset_Handler .type Reset_Handler, %function Reset_Handler: ldr sp, =_estack /* set stack pointer */ - 8004d9c: f8df d034 ldr.w sp, [pc, #52] ; 8004dd4 + 8004904: f8df d034 ldr.w sp, [pc, #52] ; 800493c /* Copy the data segment initializers from flash to SRAM */ movs r1, #0 - 8004da0: 2100 movs r1, #0 + 8004908: 2100 movs r1, #0 b LoopCopyDataInit - 8004da2: e003 b.n 8004dac + 800490a: e003 b.n 8004914 -08004da4 : +0800490c : CopyDataInit: ldr r3, =_sidata - 8004da4: 4b0c ldr r3, [pc, #48] ; (8004dd8 ) + 800490c: 4b0c ldr r3, [pc, #48] ; (8004940 ) ldr r3, [r3, r1] - 8004da6: 585b ldr r3, [r3, r1] + 800490e: 585b ldr r3, [r3, r1] str r3, [r0, r1] - 8004da8: 5043 str r3, [r0, r1] + 8004910: 5043 str r3, [r0, r1] adds r1, r1, #4 - 8004daa: 3104 adds r1, #4 + 8004912: 3104 adds r1, #4 -08004dac : +08004914 : LoopCopyDataInit: ldr r0, =_sdata - 8004dac: 480b ldr r0, [pc, #44] ; (8004ddc ) + 8004914: 480b ldr r0, [pc, #44] ; (8004944 ) ldr r3, =_edata - 8004dae: 4b0c ldr r3, [pc, #48] ; (8004de0 ) + 8004916: 4b0c ldr r3, [pc, #48] ; (8004948 ) adds r2, r0, r1 - 8004db0: 1842 adds r2, r0, r1 + 8004918: 1842 adds r2, r0, r1 cmp r2, r3 - 8004db2: 429a cmp r2, r3 + 800491a: 429a cmp r2, r3 bcc CopyDataInit - 8004db4: d3f6 bcc.n 8004da4 + 800491c: d3f6 bcc.n 800490c ldr r2, =_sbss - 8004db6: 4a0b ldr r2, [pc, #44] ; (8004de4 ) + 800491e: 4a0b ldr r2, [pc, #44] ; (800494c ) b LoopFillZerobss - 8004db8: e002 b.n 8004dc0 + 8004920: e002 b.n 8004928 -08004dba : +08004922 : /* Zero fill the bss segment. */ FillZerobss: movs r3, #0 - 8004dba: 2300 movs r3, #0 + 8004922: 2300 movs r3, #0 str r3, [r2], #4 - 8004dbc: f842 3b04 str.w r3, [r2], #4 + 8004924: f842 3b04 str.w r3, [r2], #4 -08004dc0 : +08004928 : LoopFillZerobss: ldr r3, = _ebss - 8004dc0: 4b09 ldr r3, [pc, #36] ; (8004de8 ) + 8004928: 4b09 ldr r3, [pc, #36] ; (8004950 ) cmp r2, r3 - 8004dc2: 429a cmp r2, r3 + 800492a: 429a cmp r2, r3 bcc FillZerobss - 8004dc4: d3f9 bcc.n 8004dba + 800492c: d3f9 bcc.n 8004922 /* Call the clock system initialization function.*/ bl SystemInit - 8004dc6: f7ff ffd3 bl 8004d70 + 800492e: f7ff ffd3 bl 80048d8 /* Call static constructors */ bl __libc_init_array - 8004dca: f016 fb15 bl 801b3f8 <__libc_init_array> + 8004932: f016 fb29 bl 801af88 <__libc_init_array> /* Call the application's entry point.*/ bl main - 8004dce: f7fb fec5 bl 8000b5c
+ 8004936: f7fc f911 bl 8000b5c
bx lr - 8004dd2: 4770 bx lr + 800493a: 4770 bx lr Reset_Handler: ldr sp, =_estack /* set stack pointer */ - 8004dd4: 20050000 .word 0x20050000 + 800493c: 20050000 .word 0x20050000 ldr r3, =_sidata - 8004dd8: 08021734 .word 0x08021734 + 8004940: 08020f30 .word 0x08020f30 ldr r0, =_sdata - 8004ddc: 20000000 .word 0x20000000 + 8004944: 20000000 .word 0x20000000 ldr r3, =_edata - 8004de0: 200000e8 .word 0x200000e8 + 8004948: 200000e8 .word 0x200000e8 ldr r2, =_sbss - 8004de4: 200000e8 .word 0x200000e8 + 800494c: 200000e8 .word 0x200000e8 ldr r3, = _ebss - 8004de8: 2000f610 .word 0x2000f610 + 8004950: 2000f60c .word 0x2000f60c -08004dec : +08004954 : * @retval None */ .section .text.Default_Handler,"ax",%progbits Default_Handler: Infinite_Loop: b Infinite_Loop - 8004dec: e7fe b.n 8004dec + 8004954: e7fe b.n 8004954 -08004dee : +08004956 : * need to ensure that the SysTick time base is always set to 1 millisecond * to have correct HAL operation. * @retval HAL status */ HAL_StatusTypeDef HAL_Init(void) { - 8004dee: b580 push {r7, lr} - 8004df0: af00 add r7, sp, #0 + 8004956: b580 push {r7, lr} + 8004958: af00 add r7, sp, #0 #if (PREFETCH_ENABLE != 0U) __HAL_FLASH_PREFETCH_BUFFER_ENABLE(); #endif /* PREFETCH_ENABLE */ /* Set Interrupt Group Priority */ HAL_NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4); - 8004df2: 2003 movs r0, #3 - 8004df4: f000 fcd1 bl 800579a + 800495a: 2003 movs r0, #3 + 800495c: f000 fcd1 bl 8005302 /* Use systick as time base source and configure 1ms tick (default clock after Reset is HSI) */ HAL_InitTick(TICK_INT_PRIORITY); - 8004df8: 2000 movs r0, #0 - 8004dfa: f7ff fe83 bl 8004b04 + 8004960: 2000 movs r0, #0 + 8004962: f7ff fe7b bl 800465c /* Init the low level hardware */ HAL_MspInit(); - 8004dfe: f7ff faa3 bl 8004348 + 8004966: f7ff fa9b bl 8003ea0 /* Return function status */ return HAL_OK; - 8004e02: 2300 movs r3, #0 + 800496a: 2300 movs r3, #0 } - 8004e04: 4618 mov r0, r3 - 8004e06: bd80 pop {r7, pc} + 800496c: 4618 mov r0, r3 + 800496e: bd80 pop {r7, pc} -08004e08 : +08004970 : * @note This function is declared as __weak to be overwritten in case of other * implementations in user file. * @retval None */ __weak void HAL_IncTick(void) { - 8004e08: b480 push {r7} - 8004e0a: af00 add r7, sp, #0 + 8004970: b480 push {r7} + 8004972: af00 add r7, sp, #0 uwTick += uwTickFreq; - 8004e0c: 4b06 ldr r3, [pc, #24] ; (8004e28 ) - 8004e0e: 781b ldrb r3, [r3, #0] - 8004e10: 461a mov r2, r3 - 8004e12: 4b06 ldr r3, [pc, #24] ; (8004e2c ) - 8004e14: 681b ldr r3, [r3, #0] - 8004e16: 4413 add r3, r2 - 8004e18: 4a04 ldr r2, [pc, #16] ; (8004e2c ) - 8004e1a: 6013 str r3, [r2, #0] + 8004974: 4b06 ldr r3, [pc, #24] ; (8004990 ) + 8004976: 781b ldrb r3, [r3, #0] + 8004978: 461a mov r2, r3 + 800497a: 4b06 ldr r3, [pc, #24] ; (8004994 ) + 800497c: 681b ldr r3, [r3, #0] + 800497e: 4413 add r3, r2 + 8004980: 4a04 ldr r2, [pc, #16] ; (8004994 ) + 8004982: 6013 str r3, [r2, #0] } - 8004e1c: bf00 nop - 8004e1e: 46bd mov sp, r7 - 8004e20: f85d 7b04 ldr.w r7, [sp], #4 - 8004e24: 4770 bx lr - 8004e26: bf00 nop - 8004e28: 2000006c .word 0x2000006c - 8004e2c: 20008d54 .word 0x20008d54 + 8004984: bf00 nop + 8004986: 46bd mov sp, r7 + 8004988: f85d 7b04 ldr.w r7, [sp], #4 + 800498c: 4770 bx lr + 800498e: bf00 nop + 8004990: 2000006c .word 0x2000006c + 8004994: 20008d50 .word 0x20008d50 -08004e30 : +08004998 : * @note This function is declared as __weak to be overwritten in case of other * implementations in user file. * @retval tick value */ __weak uint32_t HAL_GetTick(void) { - 8004e30: b480 push {r7} - 8004e32: af00 add r7, sp, #0 + 8004998: b480 push {r7} + 800499a: af00 add r7, sp, #0 return uwTick; - 8004e34: 4b03 ldr r3, [pc, #12] ; (8004e44 ) - 8004e36: 681b ldr r3, [r3, #0] + 800499c: 4b03 ldr r3, [pc, #12] ; (80049ac ) + 800499e: 681b ldr r3, [r3, #0] } - 8004e38: 4618 mov r0, r3 - 8004e3a: 46bd mov sp, r7 - 8004e3c: f85d 7b04 ldr.w r7, [sp], #4 - 8004e40: 4770 bx lr - 8004e42: bf00 nop - 8004e44: 20008d54 .word 0x20008d54 + 80049a0: 4618 mov r0, r3 + 80049a2: 46bd mov sp, r7 + 80049a4: f85d 7b04 ldr.w r7, [sp], #4 + 80049a8: 4770 bx lr + 80049aa: bf00 nop + 80049ac: 20008d50 .word 0x20008d50 -08004e48 : +080049b0 : * implementations in user file. * @param Delay specifies the delay time length, in milliseconds. * @retval None */ __weak void HAL_Delay(uint32_t Delay) { - 8004e48: b580 push {r7, lr} - 8004e4a: b084 sub sp, #16 - 8004e4c: af00 add r7, sp, #0 - 8004e4e: 6078 str r0, [r7, #4] + 80049b0: b580 push {r7, lr} + 80049b2: b084 sub sp, #16 + 80049b4: af00 add r7, sp, #0 + 80049b6: 6078 str r0, [r7, #4] uint32_t tickstart = HAL_GetTick(); - 8004e50: f7ff ffee bl 8004e30 - 8004e54: 60b8 str r0, [r7, #8] + 80049b8: f7ff ffee bl 8004998 + 80049bc: 60b8 str r0, [r7, #8] uint32_t wait = Delay; - 8004e56: 687b ldr r3, [r7, #4] - 8004e58: 60fb str r3, [r7, #12] + 80049be: 687b ldr r3, [r7, #4] + 80049c0: 60fb str r3, [r7, #12] /* Add a freq to guarantee minimum wait */ if (wait < HAL_MAX_DELAY) - 8004e5a: 68fb ldr r3, [r7, #12] - 8004e5c: f1b3 3fff cmp.w r3, #4294967295 - 8004e60: d005 beq.n 8004e6e + 80049c2: 68fb ldr r3, [r7, #12] + 80049c4: f1b3 3fff cmp.w r3, #4294967295 + 80049c8: d005 beq.n 80049d6 { wait += (uint32_t)(uwTickFreq); - 8004e62: 4b09 ldr r3, [pc, #36] ; (8004e88 ) - 8004e64: 781b ldrb r3, [r3, #0] - 8004e66: 461a mov r2, r3 - 8004e68: 68fb ldr r3, [r7, #12] - 8004e6a: 4413 add r3, r2 - 8004e6c: 60fb str r3, [r7, #12] + 80049ca: 4b09 ldr r3, [pc, #36] ; (80049f0 ) + 80049cc: 781b ldrb r3, [r3, #0] + 80049ce: 461a mov r2, r3 + 80049d0: 68fb ldr r3, [r7, #12] + 80049d2: 4413 add r3, r2 + 80049d4: 60fb str r3, [r7, #12] } while ((HAL_GetTick() - tickstart) < wait) - 8004e6e: bf00 nop - 8004e70: f7ff ffde bl 8004e30 - 8004e74: 4602 mov r2, r0 - 8004e76: 68bb ldr r3, [r7, #8] - 8004e78: 1ad3 subs r3, r2, r3 - 8004e7a: 68fa ldr r2, [r7, #12] - 8004e7c: 429a cmp r2, r3 - 8004e7e: d8f7 bhi.n 8004e70 + 80049d6: bf00 nop + 80049d8: f7ff ffde bl 8004998 + 80049dc: 4602 mov r2, r0 + 80049de: 68bb ldr r3, [r7, #8] + 80049e0: 1ad3 subs r3, r2, r3 + 80049e2: 68fa ldr r2, [r7, #12] + 80049e4: 429a cmp r2, r3 + 80049e6: d8f7 bhi.n 80049d8 { } } - 8004e80: bf00 nop - 8004e82: 3710 adds r7, #16 - 8004e84: 46bd mov sp, r7 - 8004e86: bd80 pop {r7, pc} - 8004e88: 2000006c .word 0x2000006c + 80049e8: bf00 nop + 80049ea: 3710 adds r7, #16 + 80049ec: 46bd mov sp, r7 + 80049ee: bd80 pop {r7, pc} + 80049f0: 2000006c .word 0x2000006c -08004e8c : +080049f4 : * @param hadc pointer to a ADC_HandleTypeDef structure that contains * the configuration information for the specified ADC. * @retval HAL status */ HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef* hadc) { - 8004e8c: b580 push {r7, lr} - 8004e8e: b084 sub sp, #16 - 8004e90: af00 add r7, sp, #0 - 8004e92: 6078 str r0, [r7, #4] + 80049f4: b580 push {r7, lr} + 80049f6: b084 sub sp, #16 + 80049f8: af00 add r7, sp, #0 + 80049fa: 6078 str r0, [r7, #4] HAL_StatusTypeDef tmp_hal_status = HAL_OK; - 8004e94: 2300 movs r3, #0 - 8004e96: 73fb strb r3, [r7, #15] + 80049fc: 2300 movs r3, #0 + 80049fe: 73fb strb r3, [r7, #15] /* Check ADC handle */ if(hadc == NULL) - 8004e98: 687b ldr r3, [r7, #4] - 8004e9a: 2b00 cmp r3, #0 - 8004e9c: d101 bne.n 8004ea2 + 8004a00: 687b ldr r3, [r7, #4] + 8004a02: 2b00 cmp r3, #0 + 8004a04: d101 bne.n 8004a0a { return HAL_ERROR; - 8004e9e: 2301 movs r3, #1 - 8004ea0: e031 b.n 8004f06 + 8004a06: 2301 movs r3, #1 + 8004a08: e031 b.n 8004a6e if(hadc->Init.ExternalTrigConv != ADC_SOFTWARE_START) { assert_param(IS_ADC_EXT_TRIG_EDGE(hadc->Init.ExternalTrigConvEdge)); } if(hadc->State == HAL_ADC_STATE_RESET) - 8004ea2: 687b ldr r3, [r7, #4] - 8004ea4: 6c1b ldr r3, [r3, #64] ; 0x40 - 8004ea6: 2b00 cmp r3, #0 - 8004ea8: d109 bne.n 8004ebe + 8004a0a: 687b ldr r3, [r7, #4] + 8004a0c: 6c1b ldr r3, [r3, #64] ; 0x40 + 8004a0e: 2b00 cmp r3, #0 + 8004a10: d109 bne.n 8004a26 /* Init the low level hardware */ hadc->MspInitCallback(hadc); #else /* Init the low level hardware */ HAL_ADC_MspInit(hadc); - 8004eaa: 6878 ldr r0, [r7, #4] - 8004eac: f7ff fa74 bl 8004398 + 8004a12: 6878 ldr r0, [r7, #4] + 8004a14: f7ff fa6c bl 8003ef0 #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */ /* Initialize ADC error code */ ADC_CLEAR_ERRORCODE(hadc); - 8004eb0: 687b ldr r3, [r7, #4] - 8004eb2: 2200 movs r2, #0 - 8004eb4: 645a str r2, [r3, #68] ; 0x44 + 8004a18: 687b ldr r3, [r7, #4] + 8004a1a: 2200 movs r2, #0 + 8004a1c: 645a str r2, [r3, #68] ; 0x44 /* Allocate lock resource and initialize it */ hadc->Lock = HAL_UNLOCKED; - 8004eb6: 687b ldr r3, [r7, #4] - 8004eb8: 2200 movs r2, #0 - 8004eba: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8004a1e: 687b ldr r3, [r7, #4] + 8004a20: 2200 movs r2, #0 + 8004a22: f883 203c strb.w r2, [r3, #60] ; 0x3c } /* Configuration of ADC parameters if previous preliminary actions are */ /* correctly completed. */ if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL)) - 8004ebe: 687b ldr r3, [r7, #4] - 8004ec0: 6c1b ldr r3, [r3, #64] ; 0x40 - 8004ec2: f003 0310 and.w r3, r3, #16 - 8004ec6: 2b00 cmp r3, #0 - 8004ec8: d116 bne.n 8004ef8 + 8004a26: 687b ldr r3, [r7, #4] + 8004a28: 6c1b ldr r3, [r3, #64] ; 0x40 + 8004a2a: f003 0310 and.w r3, r3, #16 + 8004a2e: 2b00 cmp r3, #0 + 8004a30: d116 bne.n 8004a60 { /* Set ADC state */ ADC_STATE_CLR_SET(hadc->State, - 8004eca: 687b ldr r3, [r7, #4] - 8004ecc: 6c1a ldr r2, [r3, #64] ; 0x40 - 8004ece: 4b10 ldr r3, [pc, #64] ; (8004f10 ) - 8004ed0: 4013 ands r3, r2 - 8004ed2: f043 0202 orr.w r2, r3, #2 - 8004ed6: 687b ldr r3, [r7, #4] - 8004ed8: 641a str r2, [r3, #64] ; 0x40 + 8004a32: 687b ldr r3, [r7, #4] + 8004a34: 6c1a ldr r2, [r3, #64] ; 0x40 + 8004a36: 4b10 ldr r3, [pc, #64] ; (8004a78 ) + 8004a38: 4013 ands r3, r2 + 8004a3a: f043 0202 orr.w r2, r3, #2 + 8004a3e: 687b ldr r3, [r7, #4] + 8004a40: 641a str r2, [r3, #64] ; 0x40 HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY, HAL_ADC_STATE_BUSY_INTERNAL); /* Set ADC parameters */ ADC_Init(hadc); - 8004eda: 6878 ldr r0, [r7, #4] - 8004edc: f000 fab6 bl 800544c + 8004a42: 6878 ldr r0, [r7, #4] + 8004a44: f000 fab6 bl 8004fb4 /* Set ADC error code to none */ ADC_CLEAR_ERRORCODE(hadc); - 8004ee0: 687b ldr r3, [r7, #4] - 8004ee2: 2200 movs r2, #0 - 8004ee4: 645a str r2, [r3, #68] ; 0x44 + 8004a48: 687b ldr r3, [r7, #4] + 8004a4a: 2200 movs r2, #0 + 8004a4c: 645a str r2, [r3, #68] ; 0x44 /* Set the ADC state */ ADC_STATE_CLR_SET(hadc->State, - 8004ee6: 687b ldr r3, [r7, #4] - 8004ee8: 6c1b ldr r3, [r3, #64] ; 0x40 - 8004eea: f023 0303 bic.w r3, r3, #3 - 8004eee: f043 0201 orr.w r2, r3, #1 - 8004ef2: 687b ldr r3, [r7, #4] - 8004ef4: 641a str r2, [r3, #64] ; 0x40 - 8004ef6: e001 b.n 8004efc + 8004a4e: 687b ldr r3, [r7, #4] + 8004a50: 6c1b ldr r3, [r3, #64] ; 0x40 + 8004a52: f023 0303 bic.w r3, r3, #3 + 8004a56: f043 0201 orr.w r2, r3, #1 + 8004a5a: 687b ldr r3, [r7, #4] + 8004a5c: 641a str r2, [r3, #64] ; 0x40 + 8004a5e: e001 b.n 8004a64 HAL_ADC_STATE_BUSY_INTERNAL, HAL_ADC_STATE_READY); } else { tmp_hal_status = HAL_ERROR; - 8004ef8: 2301 movs r3, #1 - 8004efa: 73fb strb r3, [r7, #15] + 8004a60: 2301 movs r3, #1 + 8004a62: 73fb strb r3, [r7, #15] } /* Release Lock */ __HAL_UNLOCK(hadc); - 8004efc: 687b ldr r3, [r7, #4] - 8004efe: 2200 movs r2, #0 - 8004f00: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8004a64: 687b ldr r3, [r7, #4] + 8004a66: 2200 movs r2, #0 + 8004a68: f883 203c strb.w r2, [r3, #60] ; 0x3c /* Return function status */ return tmp_hal_status; - 8004f04: 7bfb ldrb r3, [r7, #15] + 8004a6c: 7bfb ldrb r3, [r7, #15] } - 8004f06: 4618 mov r0, r3 - 8004f08: 3710 adds r7, #16 - 8004f0a: 46bd mov sp, r7 - 8004f0c: bd80 pop {r7, pc} - 8004f0e: bf00 nop - 8004f10: ffffeefd .word 0xffffeefd + 8004a6e: 4618 mov r0, r3 + 8004a70: 3710 adds r7, #16 + 8004a72: 46bd mov sp, r7 + 8004a74: bd80 pop {r7, pc} + 8004a76: bf00 nop + 8004a78: ffffeefd .word 0xffffeefd -08004f14 : +08004a7c : * @param hadc pointer to a ADC_HandleTypeDef structure that contains * the configuration information for the specified ADC. * @retval HAL status */ HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef* hadc) { - 8004f14: b480 push {r7} - 8004f16: b085 sub sp, #20 - 8004f18: af00 add r7, sp, #0 - 8004f1a: 6078 str r0, [r7, #4] + 8004a7c: b480 push {r7} + 8004a7e: b085 sub sp, #20 + 8004a80: af00 add r7, sp, #0 + 8004a82: 6078 str r0, [r7, #4] __IO uint32_t counter = 0; - 8004f1c: 2300 movs r3, #0 - 8004f1e: 60fb str r3, [r7, #12] + 8004a84: 2300 movs r3, #0 + 8004a86: 60fb str r3, [r7, #12] /* Check the parameters */ assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode)); assert_param(IS_ADC_EXT_TRIG_EDGE(hadc->Init.ExternalTrigConvEdge)); /* Process locked */ __HAL_LOCK(hadc); - 8004f20: 687b ldr r3, [r7, #4] - 8004f22: f893 303c ldrb.w r3, [r3, #60] ; 0x3c - 8004f26: 2b01 cmp r3, #1 - 8004f28: d101 bne.n 8004f2e - 8004f2a: 2302 movs r3, #2 - 8004f2c: e0a0 b.n 8005070 - 8004f2e: 687b ldr r3, [r7, #4] - 8004f30: 2201 movs r2, #1 - 8004f32: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8004a88: 687b ldr r3, [r7, #4] + 8004a8a: f893 303c ldrb.w r3, [r3, #60] ; 0x3c + 8004a8e: 2b01 cmp r3, #1 + 8004a90: d101 bne.n 8004a96 + 8004a92: 2302 movs r3, #2 + 8004a94: e0a0 b.n 8004bd8 + 8004a96: 687b ldr r3, [r7, #4] + 8004a98: 2201 movs r2, #1 + 8004a9a: f883 203c strb.w r2, [r3, #60] ; 0x3c /* Enable the ADC peripheral */ /* Check if ADC peripheral is disabled in order to enable it and wait during Tstab time the ADC's stabilization */ if((hadc->Instance->CR2 & ADC_CR2_ADON) != ADC_CR2_ADON) - 8004f36: 687b ldr r3, [r7, #4] - 8004f38: 681b ldr r3, [r3, #0] - 8004f3a: 689b ldr r3, [r3, #8] - 8004f3c: f003 0301 and.w r3, r3, #1 - 8004f40: 2b01 cmp r3, #1 - 8004f42: d018 beq.n 8004f76 + 8004a9e: 687b ldr r3, [r7, #4] + 8004aa0: 681b ldr r3, [r3, #0] + 8004aa2: 689b ldr r3, [r3, #8] + 8004aa4: f003 0301 and.w r3, r3, #1 + 8004aa8: 2b01 cmp r3, #1 + 8004aaa: d018 beq.n 8004ade { /* Enable the Peripheral */ __HAL_ADC_ENABLE(hadc); - 8004f44: 687b ldr r3, [r7, #4] - 8004f46: 681b ldr r3, [r3, #0] - 8004f48: 689a ldr r2, [r3, #8] - 8004f4a: 687b ldr r3, [r7, #4] - 8004f4c: 681b ldr r3, [r3, #0] - 8004f4e: f042 0201 orr.w r2, r2, #1 - 8004f52: 609a str r2, [r3, #8] + 8004aac: 687b ldr r3, [r7, #4] + 8004aae: 681b ldr r3, [r3, #0] + 8004ab0: 689a ldr r2, [r3, #8] + 8004ab2: 687b ldr r3, [r7, #4] + 8004ab4: 681b ldr r3, [r3, #0] + 8004ab6: f042 0201 orr.w r2, r2, #1 + 8004aba: 609a str r2, [r3, #8] /* Delay for ADC stabilization time */ /* Compute number of CPU cycles to wait for */ counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000)); - 8004f54: 4b49 ldr r3, [pc, #292] ; (800507c ) - 8004f56: 681b ldr r3, [r3, #0] - 8004f58: 4a49 ldr r2, [pc, #292] ; (8005080 ) - 8004f5a: fba2 2303 umull r2, r3, r2, r3 - 8004f5e: 0c9a lsrs r2, r3, #18 - 8004f60: 4613 mov r3, r2 - 8004f62: 005b lsls r3, r3, #1 - 8004f64: 4413 add r3, r2 - 8004f66: 60fb str r3, [r7, #12] + 8004abc: 4b49 ldr r3, [pc, #292] ; (8004be4 ) + 8004abe: 681b ldr r3, [r3, #0] + 8004ac0: 4a49 ldr r2, [pc, #292] ; (8004be8 ) + 8004ac2: fba2 2303 umull r2, r3, r2, r3 + 8004ac6: 0c9a lsrs r2, r3, #18 + 8004ac8: 4613 mov r3, r2 + 8004aca: 005b lsls r3, r3, #1 + 8004acc: 4413 add r3, r2 + 8004ace: 60fb str r3, [r7, #12] while(counter != 0) - 8004f68: e002 b.n 8004f70 + 8004ad0: e002 b.n 8004ad8 { counter--; - 8004f6a: 68fb ldr r3, [r7, #12] - 8004f6c: 3b01 subs r3, #1 - 8004f6e: 60fb str r3, [r7, #12] + 8004ad2: 68fb ldr r3, [r7, #12] + 8004ad4: 3b01 subs r3, #1 + 8004ad6: 60fb str r3, [r7, #12] while(counter != 0) - 8004f70: 68fb ldr r3, [r7, #12] - 8004f72: 2b00 cmp r3, #0 - 8004f74: d1f9 bne.n 8004f6a + 8004ad8: 68fb ldr r3, [r7, #12] + 8004ada: 2b00 cmp r3, #0 + 8004adc: d1f9 bne.n 8004ad2 } } /* Start conversion if ADC is effectively enabled */ if(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_ADON)) - 8004f76: 687b ldr r3, [r7, #4] - 8004f78: 681b ldr r3, [r3, #0] - 8004f7a: 689b ldr r3, [r3, #8] - 8004f7c: f003 0301 and.w r3, r3, #1 - 8004f80: 2b01 cmp r3, #1 - 8004f82: d174 bne.n 800506e + 8004ade: 687b ldr r3, [r7, #4] + 8004ae0: 681b ldr r3, [r3, #0] + 8004ae2: 689b ldr r3, [r3, #8] + 8004ae4: f003 0301 and.w r3, r3, #1 + 8004ae8: 2b01 cmp r3, #1 + 8004aea: d174 bne.n 8004bd6 { /* Set ADC state */ /* - Clear state bitfield related to regular group conversion results */ /* - Set state bitfield related to regular group operation */ ADC_STATE_CLR_SET(hadc->State, - 8004f84: 687b ldr r3, [r7, #4] - 8004f86: 6c1a ldr r2, [r3, #64] ; 0x40 - 8004f88: 4b3e ldr r3, [pc, #248] ; (8005084 ) - 8004f8a: 4013 ands r3, r2 - 8004f8c: f443 7280 orr.w r2, r3, #256 ; 0x100 - 8004f90: 687b ldr r3, [r7, #4] - 8004f92: 641a str r2, [r3, #64] ; 0x40 + 8004aec: 687b ldr r3, [r7, #4] + 8004aee: 6c1a ldr r2, [r3, #64] ; 0x40 + 8004af0: 4b3e ldr r3, [pc, #248] ; (8004bec ) + 8004af2: 4013 ands r3, r2 + 8004af4: f443 7280 orr.w r2, r3, #256 ; 0x100 + 8004af8: 687b ldr r3, [r7, #4] + 8004afa: 641a str r2, [r3, #64] ; 0x40 HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR, HAL_ADC_STATE_REG_BUSY); /* If conversions on group regular are also triggering group injected, */ /* update ADC state. */ if (READ_BIT(hadc->Instance->CR1, ADC_CR1_JAUTO) != RESET) - 8004f94: 687b ldr r3, [r7, #4] - 8004f96: 681b ldr r3, [r3, #0] - 8004f98: 685b ldr r3, [r3, #4] - 8004f9a: f403 6380 and.w r3, r3, #1024 ; 0x400 - 8004f9e: 2b00 cmp r3, #0 - 8004fa0: d007 beq.n 8004fb2 + 8004afc: 687b ldr r3, [r7, #4] + 8004afe: 681b ldr r3, [r3, #0] + 8004b00: 685b ldr r3, [r3, #4] + 8004b02: f403 6380 and.w r3, r3, #1024 ; 0x400 + 8004b06: 2b00 cmp r3, #0 + 8004b08: d007 beq.n 8004b1a { ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY); - 8004fa2: 687b ldr r3, [r7, #4] - 8004fa4: 6c1b ldr r3, [r3, #64] ; 0x40 - 8004fa6: f423 5340 bic.w r3, r3, #12288 ; 0x3000 - 8004faa: f443 5280 orr.w r2, r3, #4096 ; 0x1000 - 8004fae: 687b ldr r3, [r7, #4] - 8004fb0: 641a str r2, [r3, #64] ; 0x40 + 8004b0a: 687b ldr r3, [r7, #4] + 8004b0c: 6c1b ldr r3, [r3, #64] ; 0x40 + 8004b0e: f423 5340 bic.w r3, r3, #12288 ; 0x3000 + 8004b12: f443 5280 orr.w r2, r3, #4096 ; 0x1000 + 8004b16: 687b ldr r3, [r7, #4] + 8004b18: 641a str r2, [r3, #64] ; 0x40 } /* State machine update: Check if an injected conversion is ongoing */ if (HAL_IS_BIT_SET(hadc->State, HAL_ADC_STATE_INJ_BUSY)) - 8004fb2: 687b ldr r3, [r7, #4] - 8004fb4: 6c1b ldr r3, [r3, #64] ; 0x40 - 8004fb6: f403 5380 and.w r3, r3, #4096 ; 0x1000 - 8004fba: f5b3 5f80 cmp.w r3, #4096 ; 0x1000 - 8004fbe: d106 bne.n 8004fce + 8004b1a: 687b ldr r3, [r7, #4] + 8004b1c: 6c1b ldr r3, [r3, #64] ; 0x40 + 8004b1e: f403 5380 and.w r3, r3, #4096 ; 0x1000 + 8004b22: f5b3 5f80 cmp.w r3, #4096 ; 0x1000 + 8004b26: d106 bne.n 8004b36 { /* Reset ADC error code fields related to conversions on group regular */ CLEAR_BIT(hadc->ErrorCode, (HAL_ADC_ERROR_OVR | HAL_ADC_ERROR_DMA)); - 8004fc0: 687b ldr r3, [r7, #4] - 8004fc2: 6c5b ldr r3, [r3, #68] ; 0x44 - 8004fc4: f023 0206 bic.w r2, r3, #6 - 8004fc8: 687b ldr r3, [r7, #4] - 8004fca: 645a str r2, [r3, #68] ; 0x44 - 8004fcc: e002 b.n 8004fd4 + 8004b28: 687b ldr r3, [r7, #4] + 8004b2a: 6c5b ldr r3, [r3, #68] ; 0x44 + 8004b2c: f023 0206 bic.w r2, r3, #6 + 8004b30: 687b ldr r3, [r7, #4] + 8004b32: 645a str r2, [r3, #68] ; 0x44 + 8004b34: e002 b.n 8004b3c } else { /* Reset ADC all error code fields */ ADC_CLEAR_ERRORCODE(hadc); - 8004fce: 687b ldr r3, [r7, #4] - 8004fd0: 2200 movs r2, #0 - 8004fd2: 645a str r2, [r3, #68] ; 0x44 + 8004b36: 687b ldr r3, [r7, #4] + 8004b38: 2200 movs r2, #0 + 8004b3a: 645a str r2, [r3, #68] ; 0x44 } /* Process unlocked */ /* Unlock before starting ADC conversions: in case of potential */ /* interruption, to let the process to ADC IRQ Handler. */ __HAL_UNLOCK(hadc); - 8004fd4: 687b ldr r3, [r7, #4] - 8004fd6: 2200 movs r2, #0 - 8004fd8: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8004b3c: 687b ldr r3, [r7, #4] + 8004b3e: 2200 movs r2, #0 + 8004b40: f883 203c strb.w r2, [r3, #60] ; 0x3c /* Clear regular group conversion flag and overrun flag */ /* (To ensure of no unknown state from potential previous ADC operations) */ __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EOC | ADC_FLAG_OVR); - 8004fdc: 687b ldr r3, [r7, #4] - 8004fde: 681b ldr r3, [r3, #0] - 8004fe0: f06f 0222 mvn.w r2, #34 ; 0x22 - 8004fe4: 601a str r2, [r3, #0] + 8004b44: 687b ldr r3, [r7, #4] + 8004b46: 681b ldr r3, [r3, #0] + 8004b48: f06f 0222 mvn.w r2, #34 ; 0x22 + 8004b4c: 601a str r2, [r3, #0] /* Check if Multimode enabled */ if(HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI)) - 8004fe6: 4b28 ldr r3, [pc, #160] ; (8005088 ) - 8004fe8: 685b ldr r3, [r3, #4] - 8004fea: f003 031f and.w r3, r3, #31 - 8004fee: 2b00 cmp r3, #0 - 8004ff0: d10f bne.n 8005012 + 8004b4e: 4b28 ldr r3, [pc, #160] ; (8004bf0 ) + 8004b50: 685b ldr r3, [r3, #4] + 8004b52: f003 031f and.w r3, r3, #31 + 8004b56: 2b00 cmp r3, #0 + 8004b58: d10f bne.n 8004b7a { /* if no external trigger present enable software conversion of regular channels */ if((hadc->Instance->CR2 & ADC_CR2_EXTEN) == RESET) - 8004ff2: 687b ldr r3, [r7, #4] - 8004ff4: 681b ldr r3, [r3, #0] - 8004ff6: 689b ldr r3, [r3, #8] - 8004ff8: f003 5340 and.w r3, r3, #805306368 ; 0x30000000 - 8004ffc: 2b00 cmp r3, #0 - 8004ffe: d136 bne.n 800506e + 8004b5a: 687b ldr r3, [r7, #4] + 8004b5c: 681b ldr r3, [r3, #0] + 8004b5e: 689b ldr r3, [r3, #8] + 8004b60: f003 5340 and.w r3, r3, #805306368 ; 0x30000000 + 8004b64: 2b00 cmp r3, #0 + 8004b66: d136 bne.n 8004bd6 { /* Enable the selected ADC software conversion for regular group */ hadc->Instance->CR2 |= (uint32_t)ADC_CR2_SWSTART; - 8005000: 687b ldr r3, [r7, #4] - 8005002: 681b ldr r3, [r3, #0] - 8005004: 689a ldr r2, [r3, #8] - 8005006: 687b ldr r3, [r7, #4] - 8005008: 681b ldr r3, [r3, #0] - 800500a: f042 4280 orr.w r2, r2, #1073741824 ; 0x40000000 - 800500e: 609a str r2, [r3, #8] - 8005010: e02d b.n 800506e + 8004b68: 687b ldr r3, [r7, #4] + 8004b6a: 681b ldr r3, [r3, #0] + 8004b6c: 689a ldr r2, [r3, #8] + 8004b6e: 687b ldr r3, [r7, #4] + 8004b70: 681b ldr r3, [r3, #0] + 8004b72: f042 4280 orr.w r2, r2, #1073741824 ; 0x40000000 + 8004b76: 609a str r2, [r3, #8] + 8004b78: e02d b.n 8004bd6 } } else { /* if instance of handle correspond to ADC1 and no external trigger present enable software conversion of regular channels */ if((hadc->Instance == ADC1) && ((hadc->Instance->CR2 & ADC_CR2_EXTEN) == RESET)) - 8005012: 687b ldr r3, [r7, #4] - 8005014: 681b ldr r3, [r3, #0] - 8005016: 4a1d ldr r2, [pc, #116] ; (800508c ) - 8005018: 4293 cmp r3, r2 - 800501a: d10e bne.n 800503a - 800501c: 687b ldr r3, [r7, #4] - 800501e: 681b ldr r3, [r3, #0] - 8005020: 689b ldr r3, [r3, #8] - 8005022: f003 5340 and.w r3, r3, #805306368 ; 0x30000000 - 8005026: 2b00 cmp r3, #0 - 8005028: d107 bne.n 800503a + 8004b7a: 687b ldr r3, [r7, #4] + 8004b7c: 681b ldr r3, [r3, #0] + 8004b7e: 4a1d ldr r2, [pc, #116] ; (8004bf4 ) + 8004b80: 4293 cmp r3, r2 + 8004b82: d10e bne.n 8004ba2 + 8004b84: 687b ldr r3, [r7, #4] + 8004b86: 681b ldr r3, [r3, #0] + 8004b88: 689b ldr r3, [r3, #8] + 8004b8a: f003 5340 and.w r3, r3, #805306368 ; 0x30000000 + 8004b8e: 2b00 cmp r3, #0 + 8004b90: d107 bne.n 8004ba2 { /* Enable the selected ADC software conversion for regular group */ hadc->Instance->CR2 |= (uint32_t)ADC_CR2_SWSTART; - 800502a: 687b ldr r3, [r7, #4] - 800502c: 681b ldr r3, [r3, #0] - 800502e: 689a ldr r2, [r3, #8] - 8005030: 687b ldr r3, [r7, #4] - 8005032: 681b ldr r3, [r3, #0] - 8005034: f042 4280 orr.w r2, r2, #1073741824 ; 0x40000000 - 8005038: 609a str r2, [r3, #8] + 8004b92: 687b ldr r3, [r7, #4] + 8004b94: 681b ldr r3, [r3, #0] + 8004b96: 689a ldr r2, [r3, #8] + 8004b98: 687b ldr r3, [r7, #4] + 8004b9a: 681b ldr r3, [r3, #0] + 8004b9c: f042 4280 orr.w r2, r2, #1073741824 ; 0x40000000 + 8004ba0: 609a str r2, [r3, #8] } /* if dual mode is selected, ADC3 works independently. */ /* check if the mode selected is not triple */ if( HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI_4) ) - 800503a: 4b13 ldr r3, [pc, #76] ; (8005088 ) - 800503c: 685b ldr r3, [r3, #4] - 800503e: f003 0310 and.w r3, r3, #16 - 8005042: 2b00 cmp r3, #0 - 8005044: d113 bne.n 800506e + 8004ba2: 4b13 ldr r3, [pc, #76] ; (8004bf0 ) + 8004ba4: 685b ldr r3, [r3, #4] + 8004ba6: f003 0310 and.w r3, r3, #16 + 8004baa: 2b00 cmp r3, #0 + 8004bac: d113 bne.n 8004bd6 { /* if instance of handle correspond to ADC3 and no external trigger present enable software conversion of regular channels */ if((hadc->Instance == ADC3) && ((hadc->Instance->CR2 & ADC_CR2_EXTEN) == RESET)) - 8005046: 687b ldr r3, [r7, #4] - 8005048: 681b ldr r3, [r3, #0] - 800504a: 4a11 ldr r2, [pc, #68] ; (8005090 ) - 800504c: 4293 cmp r3, r2 - 800504e: d10e bne.n 800506e - 8005050: 687b ldr r3, [r7, #4] - 8005052: 681b ldr r3, [r3, #0] - 8005054: 689b ldr r3, [r3, #8] - 8005056: f003 5340 and.w r3, r3, #805306368 ; 0x30000000 - 800505a: 2b00 cmp r3, #0 - 800505c: d107 bne.n 800506e + 8004bae: 687b ldr r3, [r7, #4] + 8004bb0: 681b ldr r3, [r3, #0] + 8004bb2: 4a11 ldr r2, [pc, #68] ; (8004bf8 ) + 8004bb4: 4293 cmp r3, r2 + 8004bb6: d10e bne.n 8004bd6 + 8004bb8: 687b ldr r3, [r7, #4] + 8004bba: 681b ldr r3, [r3, #0] + 8004bbc: 689b ldr r3, [r3, #8] + 8004bbe: f003 5340 and.w r3, r3, #805306368 ; 0x30000000 + 8004bc2: 2b00 cmp r3, #0 + 8004bc4: d107 bne.n 8004bd6 { /* Enable the selected ADC software conversion for regular group */ hadc->Instance->CR2 |= (uint32_t)ADC_CR2_SWSTART; - 800505e: 687b ldr r3, [r7, #4] - 8005060: 681b ldr r3, [r3, #0] - 8005062: 689a ldr r2, [r3, #8] - 8005064: 687b ldr r3, [r7, #4] - 8005066: 681b ldr r3, [r3, #0] - 8005068: f042 4280 orr.w r2, r2, #1073741824 ; 0x40000000 - 800506c: 609a str r2, [r3, #8] + 8004bc6: 687b ldr r3, [r7, #4] + 8004bc8: 681b ldr r3, [r3, #0] + 8004bca: 689a ldr r2, [r3, #8] + 8004bcc: 687b ldr r3, [r7, #4] + 8004bce: 681b ldr r3, [r3, #0] + 8004bd0: f042 4280 orr.w r2, r2, #1073741824 ; 0x40000000 + 8004bd4: 609a str r2, [r3, #8] } } } /* Return function status */ return HAL_OK; - 800506e: 2300 movs r3, #0 + 8004bd6: 2300 movs r3, #0 } - 8005070: 4618 mov r0, r3 - 8005072: 3714 adds r7, #20 - 8005074: 46bd mov sp, r7 - 8005076: f85d 7b04 ldr.w r7, [sp], #4 - 800507a: 4770 bx lr - 800507c: 20000064 .word 0x20000064 - 8005080: 431bde83 .word 0x431bde83 - 8005084: fffff8fe .word 0xfffff8fe - 8005088: 40012300 .word 0x40012300 - 800508c: 40012000 .word 0x40012000 - 8005090: 40012200 .word 0x40012200 + 8004bd8: 4618 mov r0, r3 + 8004bda: 3714 adds r7, #20 + 8004bdc: 46bd mov sp, r7 + 8004bde: f85d 7b04 ldr.w r7, [sp], #4 + 8004be2: 4770 bx lr + 8004be4: 20000064 .word 0x20000064 + 8004be8: 431bde83 .word 0x431bde83 + 8004bec: fffff8fe .word 0xfffff8fe + 8004bf0: 40012300 .word 0x40012300 + 8004bf4: 40012000 .word 0x40012000 + 8004bf8: 40012200 .word 0x40012200 -08005094 : +08004bfc : * the configuration information for the specified ADC. * @param Timeout Timeout value in millisecond. * @retval HAL status */ HAL_StatusTypeDef HAL_ADC_PollForConversion(ADC_HandleTypeDef* hadc, uint32_t Timeout) { - 8005094: b580 push {r7, lr} - 8005096: b084 sub sp, #16 - 8005098: af00 add r7, sp, #0 - 800509a: 6078 str r0, [r7, #4] - 800509c: 6039 str r1, [r7, #0] + 8004bfc: b580 push {r7, lr} + 8004bfe: b084 sub sp, #16 + 8004c00: af00 add r7, sp, #0 + 8004c02: 6078 str r0, [r7, #4] + 8004c04: 6039 str r1, [r7, #0] uint32_t tickstart = 0; - 800509e: 2300 movs r3, #0 - 80050a0: 60fb str r3, [r7, #12] + 8004c06: 2300 movs r3, #0 + 8004c08: 60fb str r3, [r7, #12] /* each conversion: */ /* Particular case is ADC configured in DMA mode and ADC sequencer with */ /* several ranks and polling for end of each conversion. */ /* For code simplicity sake, this particular case is generalized to */ /* ADC configured in DMA mode and polling for end of each conversion. */ if (HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_EOCS) && - 80050a2: 687b ldr r3, [r7, #4] - 80050a4: 681b ldr r3, [r3, #0] - 80050a6: 689b ldr r3, [r3, #8] - 80050a8: f403 6380 and.w r3, r3, #1024 ; 0x400 - 80050ac: f5b3 6f80 cmp.w r3, #1024 ; 0x400 - 80050b0: d113 bne.n 80050da + 8004c0a: 687b ldr r3, [r7, #4] + 8004c0c: 681b ldr r3, [r3, #0] + 8004c0e: 689b ldr r3, [r3, #8] + 8004c10: f403 6380 and.w r3, r3, #1024 ; 0x400 + 8004c14: f5b3 6f80 cmp.w r3, #1024 ; 0x400 + 8004c18: d113 bne.n 8004c42 HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_DMA) ) - 80050b2: 687b ldr r3, [r7, #4] - 80050b4: 681b ldr r3, [r3, #0] - 80050b6: 689b ldr r3, [r3, #8] - 80050b8: f403 7380 and.w r3, r3, #256 ; 0x100 + 8004c1a: 687b ldr r3, [r7, #4] + 8004c1c: 681b ldr r3, [r3, #0] + 8004c1e: 689b ldr r3, [r3, #8] + 8004c20: f403 7380 and.w r3, r3, #256 ; 0x100 if (HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_EOCS) && - 80050bc: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 80050c0: d10b bne.n 80050da + 8004c24: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 8004c28: d10b bne.n 8004c42 { /* Update ADC state machine to error */ SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG); - 80050c2: 687b ldr r3, [r7, #4] - 80050c4: 6c1b ldr r3, [r3, #64] ; 0x40 - 80050c6: f043 0220 orr.w r2, r3, #32 - 80050ca: 687b ldr r3, [r7, #4] - 80050cc: 641a str r2, [r3, #64] ; 0x40 + 8004c2a: 687b ldr r3, [r7, #4] + 8004c2c: 6c1b ldr r3, [r3, #64] ; 0x40 + 8004c2e: f043 0220 orr.w r2, r3, #32 + 8004c32: 687b ldr r3, [r7, #4] + 8004c34: 641a str r2, [r3, #64] ; 0x40 /* Process unlocked */ __HAL_UNLOCK(hadc); - 80050ce: 687b ldr r3, [r7, #4] - 80050d0: 2200 movs r2, #0 - 80050d2: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8004c36: 687b ldr r3, [r7, #4] + 8004c38: 2200 movs r2, #0 + 8004c3a: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_ERROR; - 80050d6: 2301 movs r3, #1 - 80050d8: e05c b.n 8005194 + 8004c3e: 2301 movs r3, #1 + 8004c40: e05c b.n 8004cfc } /* Get tick */ tickstart = HAL_GetTick(); - 80050da: f7ff fea9 bl 8004e30 - 80050de: 60f8 str r0, [r7, #12] + 8004c42: f7ff fea9 bl 8004998 + 8004c46: 60f8 str r0, [r7, #12] /* Check End of conversion flag */ while(!(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOC))) - 80050e0: e01a b.n 8005118 + 8004c48: e01a b.n 8004c80 { /* Check if timeout is disabled (set to infinite wait) */ if(Timeout != HAL_MAX_DELAY) - 80050e2: 683b ldr r3, [r7, #0] - 80050e4: f1b3 3fff cmp.w r3, #4294967295 - 80050e8: d016 beq.n 8005118 + 8004c4a: 683b ldr r3, [r7, #0] + 8004c4c: f1b3 3fff cmp.w r3, #4294967295 + 8004c50: d016 beq.n 8004c80 { if((Timeout == 0) || ((HAL_GetTick() - tickstart ) > Timeout)) - 80050ea: 683b ldr r3, [r7, #0] - 80050ec: 2b00 cmp r3, #0 - 80050ee: d007 beq.n 8005100 - 80050f0: f7ff fe9e bl 8004e30 - 80050f4: 4602 mov r2, r0 - 80050f6: 68fb ldr r3, [r7, #12] - 80050f8: 1ad3 subs r3, r2, r3 - 80050fa: 683a ldr r2, [r7, #0] - 80050fc: 429a cmp r2, r3 - 80050fe: d20b bcs.n 8005118 + 8004c52: 683b ldr r3, [r7, #0] + 8004c54: 2b00 cmp r3, #0 + 8004c56: d007 beq.n 8004c68 + 8004c58: f7ff fe9e bl 8004998 + 8004c5c: 4602 mov r2, r0 + 8004c5e: 68fb ldr r3, [r7, #12] + 8004c60: 1ad3 subs r3, r2, r3 + 8004c62: 683a ldr r2, [r7, #0] + 8004c64: 429a cmp r2, r3 + 8004c66: d20b bcs.n 8004c80 { /* Update ADC state machine to timeout */ SET_BIT(hadc->State, HAL_ADC_STATE_TIMEOUT); - 8005100: 687b ldr r3, [r7, #4] - 8005102: 6c1b ldr r3, [r3, #64] ; 0x40 - 8005104: f043 0204 orr.w r2, r3, #4 - 8005108: 687b ldr r3, [r7, #4] - 800510a: 641a str r2, [r3, #64] ; 0x40 + 8004c68: 687b ldr r3, [r7, #4] + 8004c6a: 6c1b ldr r3, [r3, #64] ; 0x40 + 8004c6c: f043 0204 orr.w r2, r3, #4 + 8004c70: 687b ldr r3, [r7, #4] + 8004c72: 641a str r2, [r3, #64] ; 0x40 /* Process unlocked */ __HAL_UNLOCK(hadc); - 800510c: 687b ldr r3, [r7, #4] - 800510e: 2200 movs r2, #0 - 8005110: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8004c74: 687b ldr r3, [r7, #4] + 8004c76: 2200 movs r2, #0 + 8004c78: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_TIMEOUT; - 8005114: 2303 movs r3, #3 - 8005116: e03d b.n 8005194 + 8004c7c: 2303 movs r3, #3 + 8004c7e: e03d b.n 8004cfc while(!(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOC))) - 8005118: 687b ldr r3, [r7, #4] - 800511a: 681b ldr r3, [r3, #0] - 800511c: 681b ldr r3, [r3, #0] - 800511e: f003 0302 and.w r3, r3, #2 - 8005122: 2b02 cmp r3, #2 - 8005124: d1dd bne.n 80050e2 + 8004c80: 687b ldr r3, [r7, #4] + 8004c82: 681b ldr r3, [r3, #0] + 8004c84: 681b ldr r3, [r3, #0] + 8004c86: f003 0302 and.w r3, r3, #2 + 8004c8a: 2b02 cmp r3, #2 + 8004c8c: d1dd bne.n 8004c4a } } } /* Clear regular group conversion flag */ __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_STRT | ADC_FLAG_EOC); - 8005126: 687b ldr r3, [r7, #4] - 8005128: 681b ldr r3, [r3, #0] - 800512a: f06f 0212 mvn.w r2, #18 - 800512e: 601a str r2, [r3, #0] + 8004c8e: 687b ldr r3, [r7, #4] + 8004c90: 681b ldr r3, [r3, #0] + 8004c92: f06f 0212 mvn.w r2, #18 + 8004c96: 601a str r2, [r3, #0] /* Update ADC state machine */ SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOC); - 8005130: 687b ldr r3, [r7, #4] - 8005132: 6c1b ldr r3, [r3, #64] ; 0x40 - 8005134: f443 7200 orr.w r2, r3, #512 ; 0x200 - 8005138: 687b ldr r3, [r7, #4] - 800513a: 641a str r2, [r3, #64] ; 0x40 + 8004c98: 687b ldr r3, [r7, #4] + 8004c9a: 6c1b ldr r3, [r3, #64] ; 0x40 + 8004c9c: f443 7200 orr.w r2, r3, #512 ; 0x200 + 8004ca0: 687b ldr r3, [r7, #4] + 8004ca2: 641a str r2, [r3, #64] ; 0x40 /* by external trigger, continuous mode or scan sequence on going. */ /* Note: On STM32F7, there is no independent flag of end of sequence. */ /* The test of scan sequence on going is done either with scan */ /* sequence disabled or with end of conversion flag set to */ /* of end of sequence. */ if(ADC_IS_SOFTWARE_START_REGULAR(hadc) && - 800513c: 687b ldr r3, [r7, #4] - 800513e: 681b ldr r3, [r3, #0] - 8005140: 689b ldr r3, [r3, #8] - 8005142: f003 5340 and.w r3, r3, #805306368 ; 0x30000000 - 8005146: 2b00 cmp r3, #0 - 8005148: d123 bne.n 8005192 + 8004ca4: 687b ldr r3, [r7, #4] + 8004ca6: 681b ldr r3, [r3, #0] + 8004ca8: 689b ldr r3, [r3, #8] + 8004caa: f003 5340 and.w r3, r3, #805306368 ; 0x30000000 + 8004cae: 2b00 cmp r3, #0 + 8004cb0: d123 bne.n 8004cfa (hadc->Init.ContinuousConvMode == DISABLE) && - 800514a: 687b ldr r3, [r7, #4] - 800514c: 699b ldr r3, [r3, #24] + 8004cb2: 687b ldr r3, [r7, #4] + 8004cb4: 699b ldr r3, [r3, #24] if(ADC_IS_SOFTWARE_START_REGULAR(hadc) && - 800514e: 2b00 cmp r3, #0 - 8005150: d11f bne.n 8005192 + 8004cb6: 2b00 cmp r3, #0 + 8004cb8: d11f bne.n 8004cfa (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) || - 8005152: 687b ldr r3, [r7, #4] - 8005154: 681b ldr r3, [r3, #0] - 8005156: 6adb ldr r3, [r3, #44] ; 0x2c - 8005158: f403 0370 and.w r3, r3, #15728640 ; 0xf00000 + 8004cba: 687b ldr r3, [r7, #4] + 8004cbc: 681b ldr r3, [r3, #0] + 8004cbe: 6adb ldr r3, [r3, #44] ; 0x2c + 8004cc0: f403 0370 and.w r3, r3, #15728640 ; 0xf00000 (hadc->Init.ContinuousConvMode == DISABLE) && - 800515c: 2b00 cmp r3, #0 - 800515e: d006 beq.n 800516e + 8004cc4: 2b00 cmp r3, #0 + 8004cc6: d006 beq.n 8004cd6 HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) ) - 8005160: 687b ldr r3, [r7, #4] - 8005162: 681b ldr r3, [r3, #0] - 8005164: 689b ldr r3, [r3, #8] - 8005166: f403 6380 and.w r3, r3, #1024 ; 0x400 + 8004cc8: 687b ldr r3, [r7, #4] + 8004cca: 681b ldr r3, [r3, #0] + 8004ccc: 689b ldr r3, [r3, #8] + 8004cce: f403 6380 and.w r3, r3, #1024 ; 0x400 (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) || - 800516a: 2b00 cmp r3, #0 - 800516c: d111 bne.n 8005192 + 8004cd2: 2b00 cmp r3, #0 + 8004cd4: d111 bne.n 8004cfa { /* Set ADC state */ CLEAR_BIT(hadc->State, HAL_ADC_STATE_REG_BUSY); - 800516e: 687b ldr r3, [r7, #4] - 8005170: 6c1b ldr r3, [r3, #64] ; 0x40 - 8005172: f423 7280 bic.w r2, r3, #256 ; 0x100 - 8005176: 687b ldr r3, [r7, #4] - 8005178: 641a str r2, [r3, #64] ; 0x40 + 8004cd6: 687b ldr r3, [r7, #4] + 8004cd8: 6c1b ldr r3, [r3, #64] ; 0x40 + 8004cda: f423 7280 bic.w r2, r3, #256 ; 0x100 + 8004cde: 687b ldr r3, [r7, #4] + 8004ce0: 641a str r2, [r3, #64] ; 0x40 if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_INJ_BUSY)) - 800517a: 687b ldr r3, [r7, #4] - 800517c: 6c1b ldr r3, [r3, #64] ; 0x40 - 800517e: f403 5380 and.w r3, r3, #4096 ; 0x1000 - 8005182: 2b00 cmp r3, #0 - 8005184: d105 bne.n 8005192 + 8004ce2: 687b ldr r3, [r7, #4] + 8004ce4: 6c1b ldr r3, [r3, #64] ; 0x40 + 8004ce6: f403 5380 and.w r3, r3, #4096 ; 0x1000 + 8004cea: 2b00 cmp r3, #0 + 8004cec: d105 bne.n 8004cfa { SET_BIT(hadc->State, HAL_ADC_STATE_READY); - 8005186: 687b ldr r3, [r7, #4] - 8005188: 6c1b ldr r3, [r3, #64] ; 0x40 - 800518a: f043 0201 orr.w r2, r3, #1 - 800518e: 687b ldr r3, [r7, #4] - 8005190: 641a str r2, [r3, #64] ; 0x40 + 8004cee: 687b ldr r3, [r7, #4] + 8004cf0: 6c1b ldr r3, [r3, #64] ; 0x40 + 8004cf2: f043 0201 orr.w r2, r3, #1 + 8004cf6: 687b ldr r3, [r7, #4] + 8004cf8: 641a str r2, [r3, #64] ; 0x40 } } /* Return ADC state */ return HAL_OK; - 8005192: 2300 movs r3, #0 + 8004cfa: 2300 movs r3, #0 } - 8005194: 4618 mov r0, r3 - 8005196: 3710 adds r7, #16 - 8005198: 46bd mov sp, r7 - 800519a: bd80 pop {r7, pc} + 8004cfc: 4618 mov r0, r3 + 8004cfe: 3710 adds r7, #16 + 8004d00: 46bd mov sp, r7 + 8004d02: bd80 pop {r7, pc} -0800519c : +08004d04 : * @param hadc pointer to a ADC_HandleTypeDef structure that contains * the configuration information for the specified ADC. * @retval Converted value */ uint32_t HAL_ADC_GetValue(ADC_HandleTypeDef* hadc) { - 800519c: b480 push {r7} - 800519e: b083 sub sp, #12 - 80051a0: af00 add r7, sp, #0 - 80051a2: 6078 str r0, [r7, #4] + 8004d04: b480 push {r7} + 8004d06: b083 sub sp, #12 + 8004d08: af00 add r7, sp, #0 + 8004d0a: 6078 str r0, [r7, #4] /* Return the selected ADC converted value */ return hadc->Instance->DR; - 80051a4: 687b ldr r3, [r7, #4] - 80051a6: 681b ldr r3, [r3, #0] - 80051a8: 6cdb ldr r3, [r3, #76] ; 0x4c + 8004d0c: 687b ldr r3, [r7, #4] + 8004d0e: 681b ldr r3, [r3, #0] + 8004d10: 6cdb ldr r3, [r3, #76] ; 0x4c } - 80051aa: 4618 mov r0, r3 - 80051ac: 370c adds r7, #12 - 80051ae: 46bd mov sp, r7 - 80051b0: f85d 7b04 ldr.w r7, [sp], #4 - 80051b4: 4770 bx lr + 8004d12: 4618 mov r0, r3 + 8004d14: 370c adds r7, #12 + 8004d16: 46bd mov sp, r7 + 8004d18: f85d 7b04 ldr.w r7, [sp], #4 + 8004d1c: 4770 bx lr ... -080051b8 : +08004d20 : * the configuration information for the specified ADC. * @param sConfig ADC configuration structure. * @retval HAL status */ HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef* hadc, ADC_ChannelConfTypeDef* sConfig) { - 80051b8: b480 push {r7} - 80051ba: b085 sub sp, #20 - 80051bc: af00 add r7, sp, #0 - 80051be: 6078 str r0, [r7, #4] - 80051c0: 6039 str r1, [r7, #0] + 8004d20: b480 push {r7} + 8004d22: b085 sub sp, #20 + 8004d24: af00 add r7, sp, #0 + 8004d26: 6078 str r0, [r7, #4] + 8004d28: 6039 str r1, [r7, #0] __IO uint32_t counter = 0; - 80051c2: 2300 movs r3, #0 - 80051c4: 60fb str r3, [r7, #12] + 8004d2a: 2300 movs r3, #0 + 8004d2c: 60fb str r3, [r7, #12] assert_param(IS_ADC_CHANNEL(sConfig->Channel)); assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank)); assert_param(IS_ADC_SAMPLE_TIME(sConfig->SamplingTime)); /* Process locked */ __HAL_LOCK(hadc); - 80051c6: 687b ldr r3, [r7, #4] - 80051c8: f893 303c ldrb.w r3, [r3, #60] ; 0x3c - 80051cc: 2b01 cmp r3, #1 - 80051ce: d101 bne.n 80051d4 - 80051d0: 2302 movs r3, #2 - 80051d2: e12a b.n 800542a - 80051d4: 687b ldr r3, [r7, #4] - 80051d6: 2201 movs r2, #1 - 80051d8: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8004d2e: 687b ldr r3, [r7, #4] + 8004d30: f893 303c ldrb.w r3, [r3, #60] ; 0x3c + 8004d34: 2b01 cmp r3, #1 + 8004d36: d101 bne.n 8004d3c + 8004d38: 2302 movs r3, #2 + 8004d3a: e12a b.n 8004f92 + 8004d3c: 687b ldr r3, [r7, #4] + 8004d3e: 2201 movs r2, #1 + 8004d40: f883 203c strb.w r2, [r3, #60] ; 0x3c /* if ADC_Channel_10 ... ADC_Channel_18 is selected */ if ((sConfig->Channel > ADC_CHANNEL_9) && (sConfig->Channel != ADC_INTERNAL_NONE)) - 80051dc: 683b ldr r3, [r7, #0] - 80051de: 681b ldr r3, [r3, #0] - 80051e0: 2b09 cmp r3, #9 - 80051e2: d93a bls.n 800525a - 80051e4: 683b ldr r3, [r7, #0] - 80051e6: 681b ldr r3, [r3, #0] - 80051e8: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 - 80051ec: d035 beq.n 800525a + 8004d44: 683b ldr r3, [r7, #0] + 8004d46: 681b ldr r3, [r3, #0] + 8004d48: 2b09 cmp r3, #9 + 8004d4a: d93a bls.n 8004dc2 + 8004d4c: 683b ldr r3, [r7, #0] + 8004d4e: 681b ldr r3, [r3, #0] + 8004d50: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 + 8004d54: d035 beq.n 8004dc2 { /* Clear the old sample time */ hadc->Instance->SMPR1 &= ~ADC_SMPR1(ADC_SMPR1_SMP10, sConfig->Channel); - 80051ee: 687b ldr r3, [r7, #4] - 80051f0: 681b ldr r3, [r3, #0] - 80051f2: 68d9 ldr r1, [r3, #12] - 80051f4: 683b ldr r3, [r7, #0] - 80051f6: 681b ldr r3, [r3, #0] - 80051f8: b29b uxth r3, r3 - 80051fa: 461a mov r2, r3 - 80051fc: 4613 mov r3, r2 - 80051fe: 005b lsls r3, r3, #1 - 8005200: 4413 add r3, r2 - 8005202: 3b1e subs r3, #30 - 8005204: 2207 movs r2, #7 - 8005206: fa02 f303 lsl.w r3, r2, r3 - 800520a: 43da mvns r2, r3 - 800520c: 687b ldr r3, [r7, #4] - 800520e: 681b ldr r3, [r3, #0] - 8005210: 400a ands r2, r1 - 8005212: 60da str r2, [r3, #12] + 8004d56: 687b ldr r3, [r7, #4] + 8004d58: 681b ldr r3, [r3, #0] + 8004d5a: 68d9 ldr r1, [r3, #12] + 8004d5c: 683b ldr r3, [r7, #0] + 8004d5e: 681b ldr r3, [r3, #0] + 8004d60: b29b uxth r3, r3 + 8004d62: 461a mov r2, r3 + 8004d64: 4613 mov r3, r2 + 8004d66: 005b lsls r3, r3, #1 + 8004d68: 4413 add r3, r2 + 8004d6a: 3b1e subs r3, #30 + 8004d6c: 2207 movs r2, #7 + 8004d6e: fa02 f303 lsl.w r3, r2, r3 + 8004d72: 43da mvns r2, r3 + 8004d74: 687b ldr r3, [r7, #4] + 8004d76: 681b ldr r3, [r3, #0] + 8004d78: 400a ands r2, r1 + 8004d7a: 60da str r2, [r3, #12] if (sConfig->Channel == ADC_CHANNEL_TEMPSENSOR) - 8005214: 683b ldr r3, [r7, #0] - 8005216: 681b ldr r3, [r3, #0] - 8005218: 4a87 ldr r2, [pc, #540] ; (8005438 ) - 800521a: 4293 cmp r3, r2 - 800521c: d10a bne.n 8005234 + 8004d7c: 683b ldr r3, [r7, #0] + 8004d7e: 681b ldr r3, [r3, #0] + 8004d80: 4a87 ldr r2, [pc, #540] ; (8004fa0 ) + 8004d82: 4293 cmp r3, r2 + 8004d84: d10a bne.n 8004d9c { /* Set the new sample time */ hadc->Instance->SMPR1 |= ADC_SMPR1(sConfig->SamplingTime, ADC_CHANNEL_18); - 800521e: 687b ldr r3, [r7, #4] - 8005220: 681b ldr r3, [r3, #0] - 8005222: 68d9 ldr r1, [r3, #12] - 8005224: 683b ldr r3, [r7, #0] - 8005226: 689b ldr r3, [r3, #8] - 8005228: 061a lsls r2, r3, #24 - 800522a: 687b ldr r3, [r7, #4] - 800522c: 681b ldr r3, [r3, #0] - 800522e: 430a orrs r2, r1 - 8005230: 60da str r2, [r3, #12] + 8004d86: 687b ldr r3, [r7, #4] + 8004d88: 681b ldr r3, [r3, #0] + 8004d8a: 68d9 ldr r1, [r3, #12] + 8004d8c: 683b ldr r3, [r7, #0] + 8004d8e: 689b ldr r3, [r3, #8] + 8004d90: 061a lsls r2, r3, #24 + 8004d92: 687b ldr r3, [r7, #4] + 8004d94: 681b ldr r3, [r3, #0] + 8004d96: 430a orrs r2, r1 + 8004d98: 60da str r2, [r3, #12] if (sConfig->Channel == ADC_CHANNEL_TEMPSENSOR) - 8005232: e035 b.n 80052a0 + 8004d9a: e035 b.n 8004e08 } else { /* Set the new sample time */ hadc->Instance->SMPR1 |= ADC_SMPR1(sConfig->SamplingTime, sConfig->Channel); - 8005234: 687b ldr r3, [r7, #4] - 8005236: 681b ldr r3, [r3, #0] - 8005238: 68d9 ldr r1, [r3, #12] - 800523a: 683b ldr r3, [r7, #0] - 800523c: 689a ldr r2, [r3, #8] - 800523e: 683b ldr r3, [r7, #0] - 8005240: 681b ldr r3, [r3, #0] - 8005242: b29b uxth r3, r3 - 8005244: 4618 mov r0, r3 - 8005246: 4603 mov r3, r0 - 8005248: 005b lsls r3, r3, #1 - 800524a: 4403 add r3, r0 - 800524c: 3b1e subs r3, #30 - 800524e: 409a lsls r2, r3 - 8005250: 687b ldr r3, [r7, #4] - 8005252: 681b ldr r3, [r3, #0] - 8005254: 430a orrs r2, r1 - 8005256: 60da str r2, [r3, #12] + 8004d9c: 687b ldr r3, [r7, #4] + 8004d9e: 681b ldr r3, [r3, #0] + 8004da0: 68d9 ldr r1, [r3, #12] + 8004da2: 683b ldr r3, [r7, #0] + 8004da4: 689a ldr r2, [r3, #8] + 8004da6: 683b ldr r3, [r7, #0] + 8004da8: 681b ldr r3, [r3, #0] + 8004daa: b29b uxth r3, r3 + 8004dac: 4618 mov r0, r3 + 8004dae: 4603 mov r3, r0 + 8004db0: 005b lsls r3, r3, #1 + 8004db2: 4403 add r3, r0 + 8004db4: 3b1e subs r3, #30 + 8004db6: 409a lsls r2, r3 + 8004db8: 687b ldr r3, [r7, #4] + 8004dba: 681b ldr r3, [r3, #0] + 8004dbc: 430a orrs r2, r1 + 8004dbe: 60da str r2, [r3, #12] if (sConfig->Channel == ADC_CHANNEL_TEMPSENSOR) - 8005258: e022 b.n 80052a0 + 8004dc0: e022 b.n 8004e08 } } else /* ADC_Channel include in ADC_Channel_[0..9] */ { /* Clear the old sample time */ hadc->Instance->SMPR2 &= ~ADC_SMPR2(ADC_SMPR2_SMP0, sConfig->Channel); - 800525a: 687b ldr r3, [r7, #4] - 800525c: 681b ldr r3, [r3, #0] - 800525e: 6919 ldr r1, [r3, #16] - 8005260: 683b ldr r3, [r7, #0] - 8005262: 681b ldr r3, [r3, #0] - 8005264: b29b uxth r3, r3 - 8005266: 461a mov r2, r3 - 8005268: 4613 mov r3, r2 - 800526a: 005b lsls r3, r3, #1 - 800526c: 4413 add r3, r2 - 800526e: 2207 movs r2, #7 - 8005270: fa02 f303 lsl.w r3, r2, r3 - 8005274: 43da mvns r2, r3 - 8005276: 687b ldr r3, [r7, #4] - 8005278: 681b ldr r3, [r3, #0] - 800527a: 400a ands r2, r1 - 800527c: 611a str r2, [r3, #16] + 8004dc2: 687b ldr r3, [r7, #4] + 8004dc4: 681b ldr r3, [r3, #0] + 8004dc6: 6919 ldr r1, [r3, #16] + 8004dc8: 683b ldr r3, [r7, #0] + 8004dca: 681b ldr r3, [r3, #0] + 8004dcc: b29b uxth r3, r3 + 8004dce: 461a mov r2, r3 + 8004dd0: 4613 mov r3, r2 + 8004dd2: 005b lsls r3, r3, #1 + 8004dd4: 4413 add r3, r2 + 8004dd6: 2207 movs r2, #7 + 8004dd8: fa02 f303 lsl.w r3, r2, r3 + 8004ddc: 43da mvns r2, r3 + 8004dde: 687b ldr r3, [r7, #4] + 8004de0: 681b ldr r3, [r3, #0] + 8004de2: 400a ands r2, r1 + 8004de4: 611a str r2, [r3, #16] /* Set the new sample time */ hadc->Instance->SMPR2 |= ADC_SMPR2(sConfig->SamplingTime, sConfig->Channel); - 800527e: 687b ldr r3, [r7, #4] - 8005280: 681b ldr r3, [r3, #0] - 8005282: 6919 ldr r1, [r3, #16] - 8005284: 683b ldr r3, [r7, #0] - 8005286: 689a ldr r2, [r3, #8] - 8005288: 683b ldr r3, [r7, #0] - 800528a: 681b ldr r3, [r3, #0] - 800528c: b29b uxth r3, r3 - 800528e: 4618 mov r0, r3 - 8005290: 4603 mov r3, r0 - 8005292: 005b lsls r3, r3, #1 - 8005294: 4403 add r3, r0 - 8005296: 409a lsls r2, r3 - 8005298: 687b ldr r3, [r7, #4] - 800529a: 681b ldr r3, [r3, #0] - 800529c: 430a orrs r2, r1 - 800529e: 611a str r2, [r3, #16] + 8004de6: 687b ldr r3, [r7, #4] + 8004de8: 681b ldr r3, [r3, #0] + 8004dea: 6919 ldr r1, [r3, #16] + 8004dec: 683b ldr r3, [r7, #0] + 8004dee: 689a ldr r2, [r3, #8] + 8004df0: 683b ldr r3, [r7, #0] + 8004df2: 681b ldr r3, [r3, #0] + 8004df4: b29b uxth r3, r3 + 8004df6: 4618 mov r0, r3 + 8004df8: 4603 mov r3, r0 + 8004dfa: 005b lsls r3, r3, #1 + 8004dfc: 4403 add r3, r0 + 8004dfe: 409a lsls r2, r3 + 8004e00: 687b ldr r3, [r7, #4] + 8004e02: 681b ldr r3, [r3, #0] + 8004e04: 430a orrs r2, r1 + 8004e06: 611a str r2, [r3, #16] } /* For Rank 1 to 6 */ if (sConfig->Rank < 7) - 80052a0: 683b ldr r3, [r7, #0] - 80052a2: 685b ldr r3, [r3, #4] - 80052a4: 2b06 cmp r3, #6 - 80052a6: d824 bhi.n 80052f2 + 8004e08: 683b ldr r3, [r7, #0] + 8004e0a: 685b ldr r3, [r3, #4] + 8004e0c: 2b06 cmp r3, #6 + 8004e0e: d824 bhi.n 8004e5a { /* Clear the old SQx bits for the selected rank */ hadc->Instance->SQR3 &= ~ADC_SQR3_RK(ADC_SQR3_SQ1, sConfig->Rank); - 80052a8: 687b ldr r3, [r7, #4] - 80052aa: 681b ldr r3, [r3, #0] - 80052ac: 6b59 ldr r1, [r3, #52] ; 0x34 - 80052ae: 683b ldr r3, [r7, #0] - 80052b0: 685a ldr r2, [r3, #4] - 80052b2: 4613 mov r3, r2 - 80052b4: 009b lsls r3, r3, #2 - 80052b6: 4413 add r3, r2 - 80052b8: 3b05 subs r3, #5 - 80052ba: 221f movs r2, #31 - 80052bc: fa02 f303 lsl.w r3, r2, r3 - 80052c0: 43da mvns r2, r3 - 80052c2: 687b ldr r3, [r7, #4] - 80052c4: 681b ldr r3, [r3, #0] - 80052c6: 400a ands r2, r1 - 80052c8: 635a str r2, [r3, #52] ; 0x34 + 8004e10: 687b ldr r3, [r7, #4] + 8004e12: 681b ldr r3, [r3, #0] + 8004e14: 6b59 ldr r1, [r3, #52] ; 0x34 + 8004e16: 683b ldr r3, [r7, #0] + 8004e18: 685a ldr r2, [r3, #4] + 8004e1a: 4613 mov r3, r2 + 8004e1c: 009b lsls r3, r3, #2 + 8004e1e: 4413 add r3, r2 + 8004e20: 3b05 subs r3, #5 + 8004e22: 221f movs r2, #31 + 8004e24: fa02 f303 lsl.w r3, r2, r3 + 8004e28: 43da mvns r2, r3 + 8004e2a: 687b ldr r3, [r7, #4] + 8004e2c: 681b ldr r3, [r3, #0] + 8004e2e: 400a ands r2, r1 + 8004e30: 635a str r2, [r3, #52] ; 0x34 /* Set the SQx bits for the selected rank */ hadc->Instance->SQR3 |= ADC_SQR3_RK(sConfig->Channel, sConfig->Rank); - 80052ca: 687b ldr r3, [r7, #4] - 80052cc: 681b ldr r3, [r3, #0] - 80052ce: 6b59 ldr r1, [r3, #52] ; 0x34 - 80052d0: 683b ldr r3, [r7, #0] - 80052d2: 681b ldr r3, [r3, #0] - 80052d4: b29b uxth r3, r3 - 80052d6: 4618 mov r0, r3 - 80052d8: 683b ldr r3, [r7, #0] - 80052da: 685a ldr r2, [r3, #4] - 80052dc: 4613 mov r3, r2 - 80052de: 009b lsls r3, r3, #2 - 80052e0: 4413 add r3, r2 - 80052e2: 3b05 subs r3, #5 - 80052e4: fa00 f203 lsl.w r2, r0, r3 - 80052e8: 687b ldr r3, [r7, #4] - 80052ea: 681b ldr r3, [r3, #0] - 80052ec: 430a orrs r2, r1 - 80052ee: 635a str r2, [r3, #52] ; 0x34 - 80052f0: e04c b.n 800538c + 8004e32: 687b ldr r3, [r7, #4] + 8004e34: 681b ldr r3, [r3, #0] + 8004e36: 6b59 ldr r1, [r3, #52] ; 0x34 + 8004e38: 683b ldr r3, [r7, #0] + 8004e3a: 681b ldr r3, [r3, #0] + 8004e3c: b29b uxth r3, r3 + 8004e3e: 4618 mov r0, r3 + 8004e40: 683b ldr r3, [r7, #0] + 8004e42: 685a ldr r2, [r3, #4] + 8004e44: 4613 mov r3, r2 + 8004e46: 009b lsls r3, r3, #2 + 8004e48: 4413 add r3, r2 + 8004e4a: 3b05 subs r3, #5 + 8004e4c: fa00 f203 lsl.w r2, r0, r3 + 8004e50: 687b ldr r3, [r7, #4] + 8004e52: 681b ldr r3, [r3, #0] + 8004e54: 430a orrs r2, r1 + 8004e56: 635a str r2, [r3, #52] ; 0x34 + 8004e58: e04c b.n 8004ef4 } /* For Rank 7 to 12 */ else if (sConfig->Rank < 13) - 80052f2: 683b ldr r3, [r7, #0] - 80052f4: 685b ldr r3, [r3, #4] - 80052f6: 2b0c cmp r3, #12 - 80052f8: d824 bhi.n 8005344 + 8004e5a: 683b ldr r3, [r7, #0] + 8004e5c: 685b ldr r3, [r3, #4] + 8004e5e: 2b0c cmp r3, #12 + 8004e60: d824 bhi.n 8004eac { /* Clear the old SQx bits for the selected rank */ hadc->Instance->SQR2 &= ~ADC_SQR2_RK(ADC_SQR2_SQ7, sConfig->Rank); - 80052fa: 687b ldr r3, [r7, #4] - 80052fc: 681b ldr r3, [r3, #0] - 80052fe: 6b19 ldr r1, [r3, #48] ; 0x30 - 8005300: 683b ldr r3, [r7, #0] - 8005302: 685a ldr r2, [r3, #4] - 8005304: 4613 mov r3, r2 - 8005306: 009b lsls r3, r3, #2 - 8005308: 4413 add r3, r2 - 800530a: 3b23 subs r3, #35 ; 0x23 - 800530c: 221f movs r2, #31 - 800530e: fa02 f303 lsl.w r3, r2, r3 - 8005312: 43da mvns r2, r3 - 8005314: 687b ldr r3, [r7, #4] - 8005316: 681b ldr r3, [r3, #0] - 8005318: 400a ands r2, r1 - 800531a: 631a str r2, [r3, #48] ; 0x30 + 8004e62: 687b ldr r3, [r7, #4] + 8004e64: 681b ldr r3, [r3, #0] + 8004e66: 6b19 ldr r1, [r3, #48] ; 0x30 + 8004e68: 683b ldr r3, [r7, #0] + 8004e6a: 685a ldr r2, [r3, #4] + 8004e6c: 4613 mov r3, r2 + 8004e6e: 009b lsls r3, r3, #2 + 8004e70: 4413 add r3, r2 + 8004e72: 3b23 subs r3, #35 ; 0x23 + 8004e74: 221f movs r2, #31 + 8004e76: fa02 f303 lsl.w r3, r2, r3 + 8004e7a: 43da mvns r2, r3 + 8004e7c: 687b ldr r3, [r7, #4] + 8004e7e: 681b ldr r3, [r3, #0] + 8004e80: 400a ands r2, r1 + 8004e82: 631a str r2, [r3, #48] ; 0x30 /* Set the SQx bits for the selected rank */ hadc->Instance->SQR2 |= ADC_SQR2_RK(sConfig->Channel, sConfig->Rank); - 800531c: 687b ldr r3, [r7, #4] - 800531e: 681b ldr r3, [r3, #0] - 8005320: 6b19 ldr r1, [r3, #48] ; 0x30 - 8005322: 683b ldr r3, [r7, #0] - 8005324: 681b ldr r3, [r3, #0] - 8005326: b29b uxth r3, r3 - 8005328: 4618 mov r0, r3 - 800532a: 683b ldr r3, [r7, #0] - 800532c: 685a ldr r2, [r3, #4] - 800532e: 4613 mov r3, r2 - 8005330: 009b lsls r3, r3, #2 - 8005332: 4413 add r3, r2 - 8005334: 3b23 subs r3, #35 ; 0x23 - 8005336: fa00 f203 lsl.w r2, r0, r3 - 800533a: 687b ldr r3, [r7, #4] - 800533c: 681b ldr r3, [r3, #0] - 800533e: 430a orrs r2, r1 - 8005340: 631a str r2, [r3, #48] ; 0x30 - 8005342: e023 b.n 800538c + 8004e84: 687b ldr r3, [r7, #4] + 8004e86: 681b ldr r3, [r3, #0] + 8004e88: 6b19 ldr r1, [r3, #48] ; 0x30 + 8004e8a: 683b ldr r3, [r7, #0] + 8004e8c: 681b ldr r3, [r3, #0] + 8004e8e: b29b uxth r3, r3 + 8004e90: 4618 mov r0, r3 + 8004e92: 683b ldr r3, [r7, #0] + 8004e94: 685a ldr r2, [r3, #4] + 8004e96: 4613 mov r3, r2 + 8004e98: 009b lsls r3, r3, #2 + 8004e9a: 4413 add r3, r2 + 8004e9c: 3b23 subs r3, #35 ; 0x23 + 8004e9e: fa00 f203 lsl.w r2, r0, r3 + 8004ea2: 687b ldr r3, [r7, #4] + 8004ea4: 681b ldr r3, [r3, #0] + 8004ea6: 430a orrs r2, r1 + 8004ea8: 631a str r2, [r3, #48] ; 0x30 + 8004eaa: e023 b.n 8004ef4 } /* For Rank 13 to 16 */ else { /* Clear the old SQx bits for the selected rank */ hadc->Instance->SQR1 &= ~ADC_SQR1_RK(ADC_SQR1_SQ13, sConfig->Rank); - 8005344: 687b ldr r3, [r7, #4] - 8005346: 681b ldr r3, [r3, #0] - 8005348: 6ad9 ldr r1, [r3, #44] ; 0x2c - 800534a: 683b ldr r3, [r7, #0] - 800534c: 685a ldr r2, [r3, #4] - 800534e: 4613 mov r3, r2 - 8005350: 009b lsls r3, r3, #2 - 8005352: 4413 add r3, r2 - 8005354: 3b41 subs r3, #65 ; 0x41 - 8005356: 221f movs r2, #31 - 8005358: fa02 f303 lsl.w r3, r2, r3 - 800535c: 43da mvns r2, r3 - 800535e: 687b ldr r3, [r7, #4] - 8005360: 681b ldr r3, [r3, #0] - 8005362: 400a ands r2, r1 - 8005364: 62da str r2, [r3, #44] ; 0x2c + 8004eac: 687b ldr r3, [r7, #4] + 8004eae: 681b ldr r3, [r3, #0] + 8004eb0: 6ad9 ldr r1, [r3, #44] ; 0x2c + 8004eb2: 683b ldr r3, [r7, #0] + 8004eb4: 685a ldr r2, [r3, #4] + 8004eb6: 4613 mov r3, r2 + 8004eb8: 009b lsls r3, r3, #2 + 8004eba: 4413 add r3, r2 + 8004ebc: 3b41 subs r3, #65 ; 0x41 + 8004ebe: 221f movs r2, #31 + 8004ec0: fa02 f303 lsl.w r3, r2, r3 + 8004ec4: 43da mvns r2, r3 + 8004ec6: 687b ldr r3, [r7, #4] + 8004ec8: 681b ldr r3, [r3, #0] + 8004eca: 400a ands r2, r1 + 8004ecc: 62da str r2, [r3, #44] ; 0x2c /* Set the SQx bits for the selected rank */ hadc->Instance->SQR1 |= ADC_SQR1_RK(sConfig->Channel, sConfig->Rank); - 8005366: 687b ldr r3, [r7, #4] - 8005368: 681b ldr r3, [r3, #0] - 800536a: 6ad9 ldr r1, [r3, #44] ; 0x2c - 800536c: 683b ldr r3, [r7, #0] - 800536e: 681b ldr r3, [r3, #0] - 8005370: b29b uxth r3, r3 - 8005372: 4618 mov r0, r3 - 8005374: 683b ldr r3, [r7, #0] - 8005376: 685a ldr r2, [r3, #4] - 8005378: 4613 mov r3, r2 - 800537a: 009b lsls r3, r3, #2 - 800537c: 4413 add r3, r2 - 800537e: 3b41 subs r3, #65 ; 0x41 - 8005380: fa00 f203 lsl.w r2, r0, r3 - 8005384: 687b ldr r3, [r7, #4] - 8005386: 681b ldr r3, [r3, #0] - 8005388: 430a orrs r2, r1 - 800538a: 62da str r2, [r3, #44] ; 0x2c + 8004ece: 687b ldr r3, [r7, #4] + 8004ed0: 681b ldr r3, [r3, #0] + 8004ed2: 6ad9 ldr r1, [r3, #44] ; 0x2c + 8004ed4: 683b ldr r3, [r7, #0] + 8004ed6: 681b ldr r3, [r3, #0] + 8004ed8: b29b uxth r3, r3 + 8004eda: 4618 mov r0, r3 + 8004edc: 683b ldr r3, [r7, #0] + 8004ede: 685a ldr r2, [r3, #4] + 8004ee0: 4613 mov r3, r2 + 8004ee2: 009b lsls r3, r3, #2 + 8004ee4: 4413 add r3, r2 + 8004ee6: 3b41 subs r3, #65 ; 0x41 + 8004ee8: fa00 f203 lsl.w r2, r0, r3 + 8004eec: 687b ldr r3, [r7, #4] + 8004eee: 681b ldr r3, [r3, #0] + 8004ef0: 430a orrs r2, r1 + 8004ef2: 62da str r2, [r3, #44] ; 0x2c } /* if no internal channel selected */ if ((hadc->Instance == ADC1) && (sConfig->Channel == ADC_INTERNAL_NONE)) - 800538c: 687b ldr r3, [r7, #4] - 800538e: 681b ldr r3, [r3, #0] - 8005390: 4a2a ldr r2, [pc, #168] ; (800543c ) - 8005392: 4293 cmp r3, r2 - 8005394: d10a bne.n 80053ac - 8005396: 683b ldr r3, [r7, #0] - 8005398: 681b ldr r3, [r3, #0] - 800539a: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 - 800539e: d105 bne.n 80053ac + 8004ef4: 687b ldr r3, [r7, #4] + 8004ef6: 681b ldr r3, [r3, #0] + 8004ef8: 4a2a ldr r2, [pc, #168] ; (8004fa4 ) + 8004efa: 4293 cmp r3, r2 + 8004efc: d10a bne.n 8004f14 + 8004efe: 683b ldr r3, [r7, #0] + 8004f00: 681b ldr r3, [r3, #0] + 8004f02: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 + 8004f06: d105 bne.n 8004f14 { /* Disable the VBAT & TSVREFE channel*/ ADC->CCR &= ~(ADC_CCR_VBATE | ADC_CCR_TSVREFE); - 80053a0: 4b27 ldr r3, [pc, #156] ; (8005440 ) - 80053a2: 685b ldr r3, [r3, #4] - 80053a4: 4a26 ldr r2, [pc, #152] ; (8005440 ) - 80053a6: f423 0340 bic.w r3, r3, #12582912 ; 0xc00000 - 80053aa: 6053 str r3, [r2, #4] + 8004f08: 4b27 ldr r3, [pc, #156] ; (8004fa8 ) + 8004f0a: 685b ldr r3, [r3, #4] + 8004f0c: 4a26 ldr r2, [pc, #152] ; (8004fa8 ) + 8004f0e: f423 0340 bic.w r3, r3, #12582912 ; 0xc00000 + 8004f12: 6053 str r3, [r2, #4] } /* if ADC1 Channel_18 is selected enable VBAT Channel */ if ((hadc->Instance == ADC1) && (sConfig->Channel == ADC_CHANNEL_VBAT)) - 80053ac: 687b ldr r3, [r7, #4] - 80053ae: 681b ldr r3, [r3, #0] - 80053b0: 4a22 ldr r2, [pc, #136] ; (800543c ) - 80053b2: 4293 cmp r3, r2 - 80053b4: d109 bne.n 80053ca - 80053b6: 683b ldr r3, [r7, #0] - 80053b8: 681b ldr r3, [r3, #0] - 80053ba: 2b12 cmp r3, #18 - 80053bc: d105 bne.n 80053ca + 8004f14: 687b ldr r3, [r7, #4] + 8004f16: 681b ldr r3, [r3, #0] + 8004f18: 4a22 ldr r2, [pc, #136] ; (8004fa4 ) + 8004f1a: 4293 cmp r3, r2 + 8004f1c: d109 bne.n 8004f32 + 8004f1e: 683b ldr r3, [r7, #0] + 8004f20: 681b ldr r3, [r3, #0] + 8004f22: 2b12 cmp r3, #18 + 8004f24: d105 bne.n 8004f32 { /* Enable the VBAT channel*/ ADC->CCR |= ADC_CCR_VBATE; - 80053be: 4b20 ldr r3, [pc, #128] ; (8005440 ) - 80053c0: 685b ldr r3, [r3, #4] - 80053c2: 4a1f ldr r2, [pc, #124] ; (8005440 ) - 80053c4: f443 0380 orr.w r3, r3, #4194304 ; 0x400000 - 80053c8: 6053 str r3, [r2, #4] + 8004f26: 4b20 ldr r3, [pc, #128] ; (8004fa8 ) + 8004f28: 685b ldr r3, [r3, #4] + 8004f2a: 4a1f ldr r2, [pc, #124] ; (8004fa8 ) + 8004f2c: f443 0380 orr.w r3, r3, #4194304 ; 0x400000 + 8004f30: 6053 str r3, [r2, #4] } /* if ADC1 Channel_18 or Channel_17 is selected enable TSVREFE Channel(Temperature sensor and VREFINT) */ if ((hadc->Instance == ADC1) && ((sConfig->Channel == ADC_CHANNEL_TEMPSENSOR) || (sConfig->Channel == ADC_CHANNEL_VREFINT))) - 80053ca: 687b ldr r3, [r7, #4] - 80053cc: 681b ldr r3, [r3, #0] - 80053ce: 4a1b ldr r2, [pc, #108] ; (800543c ) - 80053d0: 4293 cmp r3, r2 - 80053d2: d125 bne.n 8005420 - 80053d4: 683b ldr r3, [r7, #0] - 80053d6: 681b ldr r3, [r3, #0] - 80053d8: 4a17 ldr r2, [pc, #92] ; (8005438 ) - 80053da: 4293 cmp r3, r2 - 80053dc: d003 beq.n 80053e6 - 80053de: 683b ldr r3, [r7, #0] - 80053e0: 681b ldr r3, [r3, #0] - 80053e2: 2b11 cmp r3, #17 - 80053e4: d11c bne.n 8005420 + 8004f32: 687b ldr r3, [r7, #4] + 8004f34: 681b ldr r3, [r3, #0] + 8004f36: 4a1b ldr r2, [pc, #108] ; (8004fa4 ) + 8004f38: 4293 cmp r3, r2 + 8004f3a: d125 bne.n 8004f88 + 8004f3c: 683b ldr r3, [r7, #0] + 8004f3e: 681b ldr r3, [r3, #0] + 8004f40: 4a17 ldr r2, [pc, #92] ; (8004fa0 ) + 8004f42: 4293 cmp r3, r2 + 8004f44: d003 beq.n 8004f4e + 8004f46: 683b ldr r3, [r7, #0] + 8004f48: 681b ldr r3, [r3, #0] + 8004f4a: 2b11 cmp r3, #17 + 8004f4c: d11c bne.n 8004f88 { /* Enable the TSVREFE channel*/ ADC->CCR |= ADC_CCR_TSVREFE; - 80053e6: 4b16 ldr r3, [pc, #88] ; (8005440 ) - 80053e8: 685b ldr r3, [r3, #4] - 80053ea: 4a15 ldr r2, [pc, #84] ; (8005440 ) - 80053ec: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 - 80053f0: 6053 str r3, [r2, #4] + 8004f4e: 4b16 ldr r3, [pc, #88] ; (8004fa8 ) + 8004f50: 685b ldr r3, [r3, #4] + 8004f52: 4a15 ldr r2, [pc, #84] ; (8004fa8 ) + 8004f54: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 + 8004f58: 6053 str r3, [r2, #4] if(sConfig->Channel == ADC_CHANNEL_TEMPSENSOR) - 80053f2: 683b ldr r3, [r7, #0] - 80053f4: 681b ldr r3, [r3, #0] - 80053f6: 4a10 ldr r2, [pc, #64] ; (8005438 ) - 80053f8: 4293 cmp r3, r2 - 80053fa: d111 bne.n 8005420 + 8004f5a: 683b ldr r3, [r7, #0] + 8004f5c: 681b ldr r3, [r3, #0] + 8004f5e: 4a10 ldr r2, [pc, #64] ; (8004fa0 ) + 8004f60: 4293 cmp r3, r2 + 8004f62: d111 bne.n 8004f88 { /* Delay for temperature sensor stabilization time */ /* Compute number of CPU cycles to wait for */ counter = (ADC_TEMPSENSOR_DELAY_US * (SystemCoreClock / 1000000)); - 80053fc: 4b11 ldr r3, [pc, #68] ; (8005444 ) - 80053fe: 681b ldr r3, [r3, #0] - 8005400: 4a11 ldr r2, [pc, #68] ; (8005448 ) - 8005402: fba2 2303 umull r2, r3, r2, r3 - 8005406: 0c9a lsrs r2, r3, #18 - 8005408: 4613 mov r3, r2 - 800540a: 009b lsls r3, r3, #2 - 800540c: 4413 add r3, r2 - 800540e: 005b lsls r3, r3, #1 - 8005410: 60fb str r3, [r7, #12] + 8004f64: 4b11 ldr r3, [pc, #68] ; (8004fac ) + 8004f66: 681b ldr r3, [r3, #0] + 8004f68: 4a11 ldr r2, [pc, #68] ; (8004fb0 ) + 8004f6a: fba2 2303 umull r2, r3, r2, r3 + 8004f6e: 0c9a lsrs r2, r3, #18 + 8004f70: 4613 mov r3, r2 + 8004f72: 009b lsls r3, r3, #2 + 8004f74: 4413 add r3, r2 + 8004f76: 005b lsls r3, r3, #1 + 8004f78: 60fb str r3, [r7, #12] while(counter != 0) - 8005412: e002 b.n 800541a + 8004f7a: e002 b.n 8004f82 { counter--; - 8005414: 68fb ldr r3, [r7, #12] - 8005416: 3b01 subs r3, #1 - 8005418: 60fb str r3, [r7, #12] + 8004f7c: 68fb ldr r3, [r7, #12] + 8004f7e: 3b01 subs r3, #1 + 8004f80: 60fb str r3, [r7, #12] while(counter != 0) - 800541a: 68fb ldr r3, [r7, #12] - 800541c: 2b00 cmp r3, #0 - 800541e: d1f9 bne.n 8005414 + 8004f82: 68fb ldr r3, [r7, #12] + 8004f84: 2b00 cmp r3, #0 + 8004f86: d1f9 bne.n 8004f7c } } } /* Process unlocked */ __HAL_UNLOCK(hadc); - 8005420: 687b ldr r3, [r7, #4] - 8005422: 2200 movs r2, #0 - 8005424: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8004f88: 687b ldr r3, [r7, #4] + 8004f8a: 2200 movs r2, #0 + 8004f8c: f883 203c strb.w r2, [r3, #60] ; 0x3c /* Return function status */ return HAL_OK; - 8005428: 2300 movs r3, #0 + 8004f90: 2300 movs r3, #0 } - 800542a: 4618 mov r0, r3 - 800542c: 3714 adds r7, #20 - 800542e: 46bd mov sp, r7 - 8005430: f85d 7b04 ldr.w r7, [sp], #4 - 8005434: 4770 bx lr - 8005436: bf00 nop - 8005438: 10000012 .word 0x10000012 - 800543c: 40012000 .word 0x40012000 - 8005440: 40012300 .word 0x40012300 - 8005444: 20000064 .word 0x20000064 - 8005448: 431bde83 .word 0x431bde83 + 8004f92: 4618 mov r0, r3 + 8004f94: 3714 adds r7, #20 + 8004f96: 46bd mov sp, r7 + 8004f98: f85d 7b04 ldr.w r7, [sp], #4 + 8004f9c: 4770 bx lr + 8004f9e: bf00 nop + 8004fa0: 10000012 .word 0x10000012 + 8004fa4: 40012000 .word 0x40012000 + 8004fa8: 40012300 .word 0x40012300 + 8004fac: 20000064 .word 0x20000064 + 8004fb0: 431bde83 .word 0x431bde83 -0800544c : +08004fb4 : * @param hadc pointer to a ADC_HandleTypeDef structure that contains * the configuration information for the specified ADC. * @retval None */ static void ADC_Init(ADC_HandleTypeDef* hadc) { - 800544c: b480 push {r7} - 800544e: b083 sub sp, #12 - 8005450: af00 add r7, sp, #0 - 8005452: 6078 str r0, [r7, #4] + 8004fb4: b480 push {r7} + 8004fb6: b083 sub sp, #12 + 8004fb8: af00 add r7, sp, #0 + 8004fba: 6078 str r0, [r7, #4] /* Set ADC parameters */ /* Set the ADC clock prescaler */ ADC->CCR &= ~(ADC_CCR_ADCPRE); - 8005454: 4b78 ldr r3, [pc, #480] ; (8005638 ) - 8005456: 685b ldr r3, [r3, #4] - 8005458: 4a77 ldr r2, [pc, #476] ; (8005638 ) - 800545a: f423 3340 bic.w r3, r3, #196608 ; 0x30000 - 800545e: 6053 str r3, [r2, #4] + 8004fbc: 4b78 ldr r3, [pc, #480] ; (80051a0 ) + 8004fbe: 685b ldr r3, [r3, #4] + 8004fc0: 4a77 ldr r2, [pc, #476] ; (80051a0 ) + 8004fc2: f423 3340 bic.w r3, r3, #196608 ; 0x30000 + 8004fc6: 6053 str r3, [r2, #4] ADC->CCR |= hadc->Init.ClockPrescaler; - 8005460: 4b75 ldr r3, [pc, #468] ; (8005638 ) - 8005462: 685a ldr r2, [r3, #4] - 8005464: 687b ldr r3, [r7, #4] - 8005466: 685b ldr r3, [r3, #4] - 8005468: 4973 ldr r1, [pc, #460] ; (8005638 ) - 800546a: 4313 orrs r3, r2 - 800546c: 604b str r3, [r1, #4] + 8004fc8: 4b75 ldr r3, [pc, #468] ; (80051a0 ) + 8004fca: 685a ldr r2, [r3, #4] + 8004fcc: 687b ldr r3, [r7, #4] + 8004fce: 685b ldr r3, [r3, #4] + 8004fd0: 4973 ldr r1, [pc, #460] ; (80051a0 ) + 8004fd2: 4313 orrs r3, r2 + 8004fd4: 604b str r3, [r1, #4] /* Set ADC scan mode */ hadc->Instance->CR1 &= ~(ADC_CR1_SCAN); - 800546e: 687b ldr r3, [r7, #4] - 8005470: 681b ldr r3, [r3, #0] - 8005472: 685a ldr r2, [r3, #4] - 8005474: 687b ldr r3, [r7, #4] - 8005476: 681b ldr r3, [r3, #0] - 8005478: f422 7280 bic.w r2, r2, #256 ; 0x100 - 800547c: 605a str r2, [r3, #4] + 8004fd6: 687b ldr r3, [r7, #4] + 8004fd8: 681b ldr r3, [r3, #0] + 8004fda: 685a ldr r2, [r3, #4] + 8004fdc: 687b ldr r3, [r7, #4] + 8004fde: 681b ldr r3, [r3, #0] + 8004fe0: f422 7280 bic.w r2, r2, #256 ; 0x100 + 8004fe4: 605a str r2, [r3, #4] hadc->Instance->CR1 |= ADC_CR1_SCANCONV(hadc->Init.ScanConvMode); - 800547e: 687b ldr r3, [r7, #4] - 8005480: 681b ldr r3, [r3, #0] - 8005482: 6859 ldr r1, [r3, #4] - 8005484: 687b ldr r3, [r7, #4] - 8005486: 691b ldr r3, [r3, #16] - 8005488: 021a lsls r2, r3, #8 - 800548a: 687b ldr r3, [r7, #4] - 800548c: 681b ldr r3, [r3, #0] - 800548e: 430a orrs r2, r1 - 8005490: 605a str r2, [r3, #4] + 8004fe6: 687b ldr r3, [r7, #4] + 8004fe8: 681b ldr r3, [r3, #0] + 8004fea: 6859 ldr r1, [r3, #4] + 8004fec: 687b ldr r3, [r7, #4] + 8004fee: 691b ldr r3, [r3, #16] + 8004ff0: 021a lsls r2, r3, #8 + 8004ff2: 687b ldr r3, [r7, #4] + 8004ff4: 681b ldr r3, [r3, #0] + 8004ff6: 430a orrs r2, r1 + 8004ff8: 605a str r2, [r3, #4] /* Set ADC resolution */ hadc->Instance->CR1 &= ~(ADC_CR1_RES); - 8005492: 687b ldr r3, [r7, #4] - 8005494: 681b ldr r3, [r3, #0] - 8005496: 685a ldr r2, [r3, #4] - 8005498: 687b ldr r3, [r7, #4] - 800549a: 681b ldr r3, [r3, #0] - 800549c: f022 7240 bic.w r2, r2, #50331648 ; 0x3000000 - 80054a0: 605a str r2, [r3, #4] + 8004ffa: 687b ldr r3, [r7, #4] + 8004ffc: 681b ldr r3, [r3, #0] + 8004ffe: 685a ldr r2, [r3, #4] + 8005000: 687b ldr r3, [r7, #4] + 8005002: 681b ldr r3, [r3, #0] + 8005004: f022 7240 bic.w r2, r2, #50331648 ; 0x3000000 + 8005008: 605a str r2, [r3, #4] hadc->Instance->CR1 |= hadc->Init.Resolution; - 80054a2: 687b ldr r3, [r7, #4] - 80054a4: 681b ldr r3, [r3, #0] - 80054a6: 6859 ldr r1, [r3, #4] - 80054a8: 687b ldr r3, [r7, #4] - 80054aa: 689a ldr r2, [r3, #8] - 80054ac: 687b ldr r3, [r7, #4] - 80054ae: 681b ldr r3, [r3, #0] - 80054b0: 430a orrs r2, r1 - 80054b2: 605a str r2, [r3, #4] + 800500a: 687b ldr r3, [r7, #4] + 800500c: 681b ldr r3, [r3, #0] + 800500e: 6859 ldr r1, [r3, #4] + 8005010: 687b ldr r3, [r7, #4] + 8005012: 689a ldr r2, [r3, #8] + 8005014: 687b ldr r3, [r7, #4] + 8005016: 681b ldr r3, [r3, #0] + 8005018: 430a orrs r2, r1 + 800501a: 605a str r2, [r3, #4] /* Set ADC data alignment */ hadc->Instance->CR2 &= ~(ADC_CR2_ALIGN); - 80054b4: 687b ldr r3, [r7, #4] - 80054b6: 681b ldr r3, [r3, #0] - 80054b8: 689a ldr r2, [r3, #8] - 80054ba: 687b ldr r3, [r7, #4] - 80054bc: 681b ldr r3, [r3, #0] - 80054be: f422 6200 bic.w r2, r2, #2048 ; 0x800 - 80054c2: 609a str r2, [r3, #8] + 800501c: 687b ldr r3, [r7, #4] + 800501e: 681b ldr r3, [r3, #0] + 8005020: 689a ldr r2, [r3, #8] + 8005022: 687b ldr r3, [r7, #4] + 8005024: 681b ldr r3, [r3, #0] + 8005026: f422 6200 bic.w r2, r2, #2048 ; 0x800 + 800502a: 609a str r2, [r3, #8] hadc->Instance->CR2 |= hadc->Init.DataAlign; - 80054c4: 687b ldr r3, [r7, #4] - 80054c6: 681b ldr r3, [r3, #0] - 80054c8: 6899 ldr r1, [r3, #8] - 80054ca: 687b ldr r3, [r7, #4] - 80054cc: 68da ldr r2, [r3, #12] - 80054ce: 687b ldr r3, [r7, #4] - 80054d0: 681b ldr r3, [r3, #0] - 80054d2: 430a orrs r2, r1 - 80054d4: 609a str r2, [r3, #8] + 800502c: 687b ldr r3, [r7, #4] + 800502e: 681b ldr r3, [r3, #0] + 8005030: 6899 ldr r1, [r3, #8] + 8005032: 687b ldr r3, [r7, #4] + 8005034: 68da ldr r2, [r3, #12] + 8005036: 687b ldr r3, [r7, #4] + 8005038: 681b ldr r3, [r3, #0] + 800503a: 430a orrs r2, r1 + 800503c: 609a str r2, [r3, #8] /* Enable external trigger if trigger selection is different of software */ /* start. */ /* Note: This configuration keeps the hardware feature of parameter */ /* ExternalTrigConvEdge "trigger edge none" equivalent to */ /* software start. */ if(hadc->Init.ExternalTrigConv != ADC_SOFTWARE_START) - 80054d6: 687b ldr r3, [r7, #4] - 80054d8: 6a9b ldr r3, [r3, #40] ; 0x28 - 80054da: 4a58 ldr r2, [pc, #352] ; (800563c ) - 80054dc: 4293 cmp r3, r2 - 80054de: d022 beq.n 8005526 + 800503e: 687b ldr r3, [r7, #4] + 8005040: 6a9b ldr r3, [r3, #40] ; 0x28 + 8005042: 4a58 ldr r2, [pc, #352] ; (80051a4 ) + 8005044: 4293 cmp r3, r2 + 8005046: d022 beq.n 800508e { /* Select external trigger to start conversion */ hadc->Instance->CR2 &= ~(ADC_CR2_EXTSEL); - 80054e0: 687b ldr r3, [r7, #4] - 80054e2: 681b ldr r3, [r3, #0] - 80054e4: 689a ldr r2, [r3, #8] - 80054e6: 687b ldr r3, [r7, #4] - 80054e8: 681b ldr r3, [r3, #0] - 80054ea: f022 6270 bic.w r2, r2, #251658240 ; 0xf000000 - 80054ee: 609a str r2, [r3, #8] + 8005048: 687b ldr r3, [r7, #4] + 800504a: 681b ldr r3, [r3, #0] + 800504c: 689a ldr r2, [r3, #8] + 800504e: 687b ldr r3, [r7, #4] + 8005050: 681b ldr r3, [r3, #0] + 8005052: f022 6270 bic.w r2, r2, #251658240 ; 0xf000000 + 8005056: 609a str r2, [r3, #8] hadc->Instance->CR2 |= hadc->Init.ExternalTrigConv; - 80054f0: 687b ldr r3, [r7, #4] - 80054f2: 681b ldr r3, [r3, #0] - 80054f4: 6899 ldr r1, [r3, #8] - 80054f6: 687b ldr r3, [r7, #4] - 80054f8: 6a9a ldr r2, [r3, #40] ; 0x28 - 80054fa: 687b ldr r3, [r7, #4] - 80054fc: 681b ldr r3, [r3, #0] - 80054fe: 430a orrs r2, r1 - 8005500: 609a str r2, [r3, #8] + 8005058: 687b ldr r3, [r7, #4] + 800505a: 681b ldr r3, [r3, #0] + 800505c: 6899 ldr r1, [r3, #8] + 800505e: 687b ldr r3, [r7, #4] + 8005060: 6a9a ldr r2, [r3, #40] ; 0x28 + 8005062: 687b ldr r3, [r7, #4] + 8005064: 681b ldr r3, [r3, #0] + 8005066: 430a orrs r2, r1 + 8005068: 609a str r2, [r3, #8] /* Select external trigger polarity */ hadc->Instance->CR2 &= ~(ADC_CR2_EXTEN); - 8005502: 687b ldr r3, [r7, #4] - 8005504: 681b ldr r3, [r3, #0] - 8005506: 689a ldr r2, [r3, #8] - 8005508: 687b ldr r3, [r7, #4] - 800550a: 681b ldr r3, [r3, #0] - 800550c: f022 5240 bic.w r2, r2, #805306368 ; 0x30000000 - 8005510: 609a str r2, [r3, #8] + 800506a: 687b ldr r3, [r7, #4] + 800506c: 681b ldr r3, [r3, #0] + 800506e: 689a ldr r2, [r3, #8] + 8005070: 687b ldr r3, [r7, #4] + 8005072: 681b ldr r3, [r3, #0] + 8005074: f022 5240 bic.w r2, r2, #805306368 ; 0x30000000 + 8005078: 609a str r2, [r3, #8] hadc->Instance->CR2 |= hadc->Init.ExternalTrigConvEdge; - 8005512: 687b ldr r3, [r7, #4] - 8005514: 681b ldr r3, [r3, #0] - 8005516: 6899 ldr r1, [r3, #8] - 8005518: 687b ldr r3, [r7, #4] - 800551a: 6ada ldr r2, [r3, #44] ; 0x2c - 800551c: 687b ldr r3, [r7, #4] - 800551e: 681b ldr r3, [r3, #0] - 8005520: 430a orrs r2, r1 - 8005522: 609a str r2, [r3, #8] - 8005524: e00f b.n 8005546 + 800507a: 687b ldr r3, [r7, #4] + 800507c: 681b ldr r3, [r3, #0] + 800507e: 6899 ldr r1, [r3, #8] + 8005080: 687b ldr r3, [r7, #4] + 8005082: 6ada ldr r2, [r3, #44] ; 0x2c + 8005084: 687b ldr r3, [r7, #4] + 8005086: 681b ldr r3, [r3, #0] + 8005088: 430a orrs r2, r1 + 800508a: 609a str r2, [r3, #8] + 800508c: e00f b.n 80050ae } else { /* Reset the external trigger */ hadc->Instance->CR2 &= ~(ADC_CR2_EXTSEL); - 8005526: 687b ldr r3, [r7, #4] - 8005528: 681b ldr r3, [r3, #0] - 800552a: 689a ldr r2, [r3, #8] - 800552c: 687b ldr r3, [r7, #4] - 800552e: 681b ldr r3, [r3, #0] - 8005530: f022 6270 bic.w r2, r2, #251658240 ; 0xf000000 - 8005534: 609a str r2, [r3, #8] + 800508e: 687b ldr r3, [r7, #4] + 8005090: 681b ldr r3, [r3, #0] + 8005092: 689a ldr r2, [r3, #8] + 8005094: 687b ldr r3, [r7, #4] + 8005096: 681b ldr r3, [r3, #0] + 8005098: f022 6270 bic.w r2, r2, #251658240 ; 0xf000000 + 800509c: 609a str r2, [r3, #8] hadc->Instance->CR2 &= ~(ADC_CR2_EXTEN); - 8005536: 687b ldr r3, [r7, #4] - 8005538: 681b ldr r3, [r3, #0] - 800553a: 689a ldr r2, [r3, #8] - 800553c: 687b ldr r3, [r7, #4] - 800553e: 681b ldr r3, [r3, #0] - 8005540: f022 5240 bic.w r2, r2, #805306368 ; 0x30000000 - 8005544: 609a str r2, [r3, #8] + 800509e: 687b ldr r3, [r7, #4] + 80050a0: 681b ldr r3, [r3, #0] + 80050a2: 689a ldr r2, [r3, #8] + 80050a4: 687b ldr r3, [r7, #4] + 80050a6: 681b ldr r3, [r3, #0] + 80050a8: f022 5240 bic.w r2, r2, #805306368 ; 0x30000000 + 80050ac: 609a str r2, [r3, #8] } /* Enable or disable ADC continuous conversion mode */ hadc->Instance->CR2 &= ~(ADC_CR2_CONT); - 8005546: 687b ldr r3, [r7, #4] - 8005548: 681b ldr r3, [r3, #0] - 800554a: 689a ldr r2, [r3, #8] - 800554c: 687b ldr r3, [r7, #4] - 800554e: 681b ldr r3, [r3, #0] - 8005550: f022 0202 bic.w r2, r2, #2 - 8005554: 609a str r2, [r3, #8] + 80050ae: 687b ldr r3, [r7, #4] + 80050b0: 681b ldr r3, [r3, #0] + 80050b2: 689a ldr r2, [r3, #8] + 80050b4: 687b ldr r3, [r7, #4] + 80050b6: 681b ldr r3, [r3, #0] + 80050b8: f022 0202 bic.w r2, r2, #2 + 80050bc: 609a str r2, [r3, #8] hadc->Instance->CR2 |= ADC_CR2_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode); - 8005556: 687b ldr r3, [r7, #4] - 8005558: 681b ldr r3, [r3, #0] - 800555a: 6899 ldr r1, [r3, #8] - 800555c: 687b ldr r3, [r7, #4] - 800555e: 699b ldr r3, [r3, #24] - 8005560: 005a lsls r2, r3, #1 - 8005562: 687b ldr r3, [r7, #4] - 8005564: 681b ldr r3, [r3, #0] - 8005566: 430a orrs r2, r1 - 8005568: 609a str r2, [r3, #8] + 80050be: 687b ldr r3, [r7, #4] + 80050c0: 681b ldr r3, [r3, #0] + 80050c2: 6899 ldr r1, [r3, #8] + 80050c4: 687b ldr r3, [r7, #4] + 80050c6: 699b ldr r3, [r3, #24] + 80050c8: 005a lsls r2, r3, #1 + 80050ca: 687b ldr r3, [r7, #4] + 80050cc: 681b ldr r3, [r3, #0] + 80050ce: 430a orrs r2, r1 + 80050d0: 609a str r2, [r3, #8] if(hadc->Init.DiscontinuousConvMode != DISABLE) - 800556a: 687b ldr r3, [r7, #4] - 800556c: f893 3020 ldrb.w r3, [r3, #32] - 8005570: 2b00 cmp r3, #0 - 8005572: d01b beq.n 80055ac + 80050d2: 687b ldr r3, [r7, #4] + 80050d4: f893 3020 ldrb.w r3, [r3, #32] + 80050d8: 2b00 cmp r3, #0 + 80050da: d01b beq.n 8005114 { assert_param(IS_ADC_REGULAR_DISC_NUMBER(hadc->Init.NbrOfDiscConversion)); /* Enable the selected ADC regular discontinuous mode */ hadc->Instance->CR1 |= (uint32_t)ADC_CR1_DISCEN; - 8005574: 687b ldr r3, [r7, #4] - 8005576: 681b ldr r3, [r3, #0] - 8005578: 685a ldr r2, [r3, #4] - 800557a: 687b ldr r3, [r7, #4] - 800557c: 681b ldr r3, [r3, #0] - 800557e: f442 6200 orr.w r2, r2, #2048 ; 0x800 - 8005582: 605a str r2, [r3, #4] + 80050dc: 687b ldr r3, [r7, #4] + 80050de: 681b ldr r3, [r3, #0] + 80050e0: 685a ldr r2, [r3, #4] + 80050e2: 687b ldr r3, [r7, #4] + 80050e4: 681b ldr r3, [r3, #0] + 80050e6: f442 6200 orr.w r2, r2, #2048 ; 0x800 + 80050ea: 605a str r2, [r3, #4] /* Set the number of channels to be converted in discontinuous mode */ hadc->Instance->CR1 &= ~(ADC_CR1_DISCNUM); - 8005584: 687b ldr r3, [r7, #4] - 8005586: 681b ldr r3, [r3, #0] - 8005588: 685a ldr r2, [r3, #4] - 800558a: 687b ldr r3, [r7, #4] - 800558c: 681b ldr r3, [r3, #0] - 800558e: f422 4260 bic.w r2, r2, #57344 ; 0xe000 - 8005592: 605a str r2, [r3, #4] + 80050ec: 687b ldr r3, [r7, #4] + 80050ee: 681b ldr r3, [r3, #0] + 80050f0: 685a ldr r2, [r3, #4] + 80050f2: 687b ldr r3, [r7, #4] + 80050f4: 681b ldr r3, [r3, #0] + 80050f6: f422 4260 bic.w r2, r2, #57344 ; 0xe000 + 80050fa: 605a str r2, [r3, #4] hadc->Instance->CR1 |= ADC_CR1_DISCONTINUOUS(hadc->Init.NbrOfDiscConversion); - 8005594: 687b ldr r3, [r7, #4] - 8005596: 681b ldr r3, [r3, #0] - 8005598: 6859 ldr r1, [r3, #4] - 800559a: 687b ldr r3, [r7, #4] - 800559c: 6a5b ldr r3, [r3, #36] ; 0x24 - 800559e: 3b01 subs r3, #1 - 80055a0: 035a lsls r2, r3, #13 - 80055a2: 687b ldr r3, [r7, #4] - 80055a4: 681b ldr r3, [r3, #0] - 80055a6: 430a orrs r2, r1 - 80055a8: 605a str r2, [r3, #4] - 80055aa: e007 b.n 80055bc + 80050fc: 687b ldr r3, [r7, #4] + 80050fe: 681b ldr r3, [r3, #0] + 8005100: 6859 ldr r1, [r3, #4] + 8005102: 687b ldr r3, [r7, #4] + 8005104: 6a5b ldr r3, [r3, #36] ; 0x24 + 8005106: 3b01 subs r3, #1 + 8005108: 035a lsls r2, r3, #13 + 800510a: 687b ldr r3, [r7, #4] + 800510c: 681b ldr r3, [r3, #0] + 800510e: 430a orrs r2, r1 + 8005110: 605a str r2, [r3, #4] + 8005112: e007 b.n 8005124 } else { /* Disable the selected ADC regular discontinuous mode */ hadc->Instance->CR1 &= ~(ADC_CR1_DISCEN); - 80055ac: 687b ldr r3, [r7, #4] - 80055ae: 681b ldr r3, [r3, #0] - 80055b0: 685a ldr r2, [r3, #4] - 80055b2: 687b ldr r3, [r7, #4] - 80055b4: 681b ldr r3, [r3, #0] - 80055b6: f422 6200 bic.w r2, r2, #2048 ; 0x800 - 80055ba: 605a str r2, [r3, #4] + 8005114: 687b ldr r3, [r7, #4] + 8005116: 681b ldr r3, [r3, #0] + 8005118: 685a ldr r2, [r3, #4] + 800511a: 687b ldr r3, [r7, #4] + 800511c: 681b ldr r3, [r3, #0] + 800511e: f422 6200 bic.w r2, r2, #2048 ; 0x800 + 8005122: 605a str r2, [r3, #4] } /* Set ADC number of conversion */ hadc->Instance->SQR1 &= ~(ADC_SQR1_L); - 80055bc: 687b ldr r3, [r7, #4] - 80055be: 681b ldr r3, [r3, #0] - 80055c0: 6ada ldr r2, [r3, #44] ; 0x2c - 80055c2: 687b ldr r3, [r7, #4] - 80055c4: 681b ldr r3, [r3, #0] - 80055c6: f422 0270 bic.w r2, r2, #15728640 ; 0xf00000 - 80055ca: 62da str r2, [r3, #44] ; 0x2c + 8005124: 687b ldr r3, [r7, #4] + 8005126: 681b ldr r3, [r3, #0] + 8005128: 6ada ldr r2, [r3, #44] ; 0x2c + 800512a: 687b ldr r3, [r7, #4] + 800512c: 681b ldr r3, [r3, #0] + 800512e: f422 0270 bic.w r2, r2, #15728640 ; 0xf00000 + 8005132: 62da str r2, [r3, #44] ; 0x2c hadc->Instance->SQR1 |= ADC_SQR1(hadc->Init.NbrOfConversion); - 80055cc: 687b ldr r3, [r7, #4] - 80055ce: 681b ldr r3, [r3, #0] - 80055d0: 6ad9 ldr r1, [r3, #44] ; 0x2c - 80055d2: 687b ldr r3, [r7, #4] - 80055d4: 69db ldr r3, [r3, #28] - 80055d6: 3b01 subs r3, #1 - 80055d8: 051a lsls r2, r3, #20 - 80055da: 687b ldr r3, [r7, #4] - 80055dc: 681b ldr r3, [r3, #0] - 80055de: 430a orrs r2, r1 - 80055e0: 62da str r2, [r3, #44] ; 0x2c + 8005134: 687b ldr r3, [r7, #4] + 8005136: 681b ldr r3, [r3, #0] + 8005138: 6ad9 ldr r1, [r3, #44] ; 0x2c + 800513a: 687b ldr r3, [r7, #4] + 800513c: 69db ldr r3, [r3, #28] + 800513e: 3b01 subs r3, #1 + 8005140: 051a lsls r2, r3, #20 + 8005142: 687b ldr r3, [r7, #4] + 8005144: 681b ldr r3, [r3, #0] + 8005146: 430a orrs r2, r1 + 8005148: 62da str r2, [r3, #44] ; 0x2c /* Enable or disable ADC DMA continuous request */ hadc->Instance->CR2 &= ~(ADC_CR2_DDS); - 80055e2: 687b ldr r3, [r7, #4] - 80055e4: 681b ldr r3, [r3, #0] - 80055e6: 689a ldr r2, [r3, #8] - 80055e8: 687b ldr r3, [r7, #4] - 80055ea: 681b ldr r3, [r3, #0] - 80055ec: f422 7200 bic.w r2, r2, #512 ; 0x200 - 80055f0: 609a str r2, [r3, #8] + 800514a: 687b ldr r3, [r7, #4] + 800514c: 681b ldr r3, [r3, #0] + 800514e: 689a ldr r2, [r3, #8] + 8005150: 687b ldr r3, [r7, #4] + 8005152: 681b ldr r3, [r3, #0] + 8005154: f422 7200 bic.w r2, r2, #512 ; 0x200 + 8005158: 609a str r2, [r3, #8] hadc->Instance->CR2 |= ADC_CR2_DMAContReq((uint32_t)hadc->Init.DMAContinuousRequests); - 80055f2: 687b ldr r3, [r7, #4] - 80055f4: 681b ldr r3, [r3, #0] - 80055f6: 6899 ldr r1, [r3, #8] - 80055f8: 687b ldr r3, [r7, #4] - 80055fa: f893 3030 ldrb.w r3, [r3, #48] ; 0x30 - 80055fe: 025a lsls r2, r3, #9 - 8005600: 687b ldr r3, [r7, #4] - 8005602: 681b ldr r3, [r3, #0] - 8005604: 430a orrs r2, r1 - 8005606: 609a str r2, [r3, #8] + 800515a: 687b ldr r3, [r7, #4] + 800515c: 681b ldr r3, [r3, #0] + 800515e: 6899 ldr r1, [r3, #8] + 8005160: 687b ldr r3, [r7, #4] + 8005162: f893 3030 ldrb.w r3, [r3, #48] ; 0x30 + 8005166: 025a lsls r2, r3, #9 + 8005168: 687b ldr r3, [r7, #4] + 800516a: 681b ldr r3, [r3, #0] + 800516c: 430a orrs r2, r1 + 800516e: 609a str r2, [r3, #8] /* Enable or disable ADC end of conversion selection */ hadc->Instance->CR2 &= ~(ADC_CR2_EOCS); - 8005608: 687b ldr r3, [r7, #4] - 800560a: 681b ldr r3, [r3, #0] - 800560c: 689a ldr r2, [r3, #8] - 800560e: 687b ldr r3, [r7, #4] - 8005610: 681b ldr r3, [r3, #0] - 8005612: f422 6280 bic.w r2, r2, #1024 ; 0x400 - 8005616: 609a str r2, [r3, #8] + 8005170: 687b ldr r3, [r7, #4] + 8005172: 681b ldr r3, [r3, #0] + 8005174: 689a ldr r2, [r3, #8] + 8005176: 687b ldr r3, [r7, #4] + 8005178: 681b ldr r3, [r3, #0] + 800517a: f422 6280 bic.w r2, r2, #1024 ; 0x400 + 800517e: 609a str r2, [r3, #8] hadc->Instance->CR2 |= ADC_CR2_EOCSelection(hadc->Init.EOCSelection); - 8005618: 687b ldr r3, [r7, #4] - 800561a: 681b ldr r3, [r3, #0] - 800561c: 6899 ldr r1, [r3, #8] - 800561e: 687b ldr r3, [r7, #4] - 8005620: 695b ldr r3, [r3, #20] - 8005622: 029a lsls r2, r3, #10 - 8005624: 687b ldr r3, [r7, #4] - 8005626: 681b ldr r3, [r3, #0] - 8005628: 430a orrs r2, r1 - 800562a: 609a str r2, [r3, #8] + 8005180: 687b ldr r3, [r7, #4] + 8005182: 681b ldr r3, [r3, #0] + 8005184: 6899 ldr r1, [r3, #8] + 8005186: 687b ldr r3, [r7, #4] + 8005188: 695b ldr r3, [r3, #20] + 800518a: 029a lsls r2, r3, #10 + 800518c: 687b ldr r3, [r7, #4] + 800518e: 681b ldr r3, [r3, #0] + 8005190: 430a orrs r2, r1 + 8005192: 609a str r2, [r3, #8] } - 800562c: bf00 nop - 800562e: 370c adds r7, #12 - 8005630: 46bd mov sp, r7 - 8005632: f85d 7b04 ldr.w r7, [sp], #4 - 8005636: 4770 bx lr - 8005638: 40012300 .word 0x40012300 - 800563c: 0f000001 .word 0x0f000001 + 8005194: bf00 nop + 8005196: 370c adds r7, #12 + 8005198: 46bd mov sp, r7 + 800519a: f85d 7b04 ldr.w r7, [sp], #4 + 800519e: 4770 bx lr + 80051a0: 40012300 .word 0x40012300 + 80051a4: 0f000001 .word 0x0f000001 -08005640 <__NVIC_SetPriorityGrouping>: +080051a8 <__NVIC_SetPriorityGrouping>: In case of a conflict between priority grouping and available priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set. \param [in] PriorityGroup Priority grouping field. */ __STATIC_INLINE void __NVIC_SetPriorityGrouping(uint32_t PriorityGroup) { - 8005640: b480 push {r7} - 8005642: b085 sub sp, #20 - 8005644: af00 add r7, sp, #0 - 8005646: 6078 str r0, [r7, #4] + 80051a8: b480 push {r7} + 80051aa: b085 sub sp, #20 + 80051ac: af00 add r7, sp, #0 + 80051ae: 6078 str r0, [r7, #4] uint32_t reg_value; uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */ - 8005648: 687b ldr r3, [r7, #4] - 800564a: f003 0307 and.w r3, r3, #7 - 800564e: 60fb str r3, [r7, #12] + 80051b0: 687b ldr r3, [r7, #4] + 80051b2: f003 0307 and.w r3, r3, #7 + 80051b6: 60fb str r3, [r7, #12] reg_value = SCB->AIRCR; /* read old register configuration */ - 8005650: 4b0b ldr r3, [pc, #44] ; (8005680 <__NVIC_SetPriorityGrouping+0x40>) - 8005652: 68db ldr r3, [r3, #12] - 8005654: 60bb str r3, [r7, #8] + 80051b8: 4b0b ldr r3, [pc, #44] ; (80051e8 <__NVIC_SetPriorityGrouping+0x40>) + 80051ba: 68db ldr r3, [r3, #12] + 80051bc: 60bb str r3, [r7, #8] reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to change */ - 8005656: 68ba ldr r2, [r7, #8] - 8005658: f64f 03ff movw r3, #63743 ; 0xf8ff - 800565c: 4013 ands r3, r2 - 800565e: 60bb str r3, [r7, #8] + 80051be: 68ba ldr r2, [r7, #8] + 80051c0: f64f 03ff movw r3, #63743 ; 0xf8ff + 80051c4: 4013 ands r3, r2 + 80051c6: 60bb str r3, [r7, #8] reg_value = (reg_value | ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) | (PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key and priority group */ - 8005660: 68fb ldr r3, [r7, #12] - 8005662: 021a lsls r2, r3, #8 + 80051c8: 68fb ldr r3, [r7, #12] + 80051ca: 021a lsls r2, r3, #8 ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) | - 8005664: 68bb ldr r3, [r7, #8] - 8005666: 431a orrs r2, r3 + 80051cc: 68bb ldr r3, [r7, #8] + 80051ce: 431a orrs r2, r3 reg_value = (reg_value | - 8005668: 4b06 ldr r3, [pc, #24] ; (8005684 <__NVIC_SetPriorityGrouping+0x44>) - 800566a: 4313 orrs r3, r2 - 800566c: 60bb str r3, [r7, #8] + 80051d0: 4b06 ldr r3, [pc, #24] ; (80051ec <__NVIC_SetPriorityGrouping+0x44>) + 80051d2: 4313 orrs r3, r2 + 80051d4: 60bb str r3, [r7, #8] SCB->AIRCR = reg_value; - 800566e: 4a04 ldr r2, [pc, #16] ; (8005680 <__NVIC_SetPriorityGrouping+0x40>) - 8005670: 68bb ldr r3, [r7, #8] - 8005672: 60d3 str r3, [r2, #12] + 80051d6: 4a04 ldr r2, [pc, #16] ; (80051e8 <__NVIC_SetPriorityGrouping+0x40>) + 80051d8: 68bb ldr r3, [r7, #8] + 80051da: 60d3 str r3, [r2, #12] } - 8005674: bf00 nop - 8005676: 3714 adds r7, #20 - 8005678: 46bd mov sp, r7 - 800567a: f85d 7b04 ldr.w r7, [sp], #4 - 800567e: 4770 bx lr - 8005680: e000ed00 .word 0xe000ed00 - 8005684: 05fa0000 .word 0x05fa0000 + 80051dc: bf00 nop + 80051de: 3714 adds r7, #20 + 80051e0: 46bd mov sp, r7 + 80051e2: f85d 7b04 ldr.w r7, [sp], #4 + 80051e6: 4770 bx lr + 80051e8: e000ed00 .word 0xe000ed00 + 80051ec: 05fa0000 .word 0x05fa0000 -08005688 <__NVIC_GetPriorityGrouping>: +080051f0 <__NVIC_GetPriorityGrouping>: \brief Get Priority Grouping \details Reads the priority grouping field from the NVIC Interrupt Controller. \return Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field). */ __STATIC_INLINE uint32_t __NVIC_GetPriorityGrouping(void) { - 8005688: b480 push {r7} - 800568a: af00 add r7, sp, #0 + 80051f0: b480 push {r7} + 80051f2: af00 add r7, sp, #0 return ((uint32_t)((SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) >> SCB_AIRCR_PRIGROUP_Pos)); - 800568c: 4b04 ldr r3, [pc, #16] ; (80056a0 <__NVIC_GetPriorityGrouping+0x18>) - 800568e: 68db ldr r3, [r3, #12] - 8005690: 0a1b lsrs r3, r3, #8 - 8005692: f003 0307 and.w r3, r3, #7 + 80051f4: 4b04 ldr r3, [pc, #16] ; (8005208 <__NVIC_GetPriorityGrouping+0x18>) + 80051f6: 68db ldr r3, [r3, #12] + 80051f8: 0a1b lsrs r3, r3, #8 + 80051fa: f003 0307 and.w r3, r3, #7 } - 8005696: 4618 mov r0, r3 - 8005698: 46bd mov sp, r7 - 800569a: f85d 7b04 ldr.w r7, [sp], #4 - 800569e: 4770 bx lr - 80056a0: e000ed00 .word 0xe000ed00 + 80051fe: 4618 mov r0, r3 + 8005200: 46bd mov sp, r7 + 8005202: f85d 7b04 ldr.w r7, [sp], #4 + 8005206: 4770 bx lr + 8005208: e000ed00 .word 0xe000ed00 -080056a4 <__NVIC_EnableIRQ>: +0800520c <__NVIC_EnableIRQ>: \details Enables a device specific interrupt in the NVIC interrupt controller. \param [in] IRQn Device specific interrupt number. \note IRQn must not be negative. */ __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn) { - 80056a4: b480 push {r7} - 80056a6: b083 sub sp, #12 - 80056a8: af00 add r7, sp, #0 - 80056aa: 4603 mov r3, r0 - 80056ac: 71fb strb r3, [r7, #7] + 800520c: b480 push {r7} + 800520e: b083 sub sp, #12 + 8005210: af00 add r7, sp, #0 + 8005212: 4603 mov r3, r0 + 8005214: 71fb strb r3, [r7, #7] if ((int32_t)(IRQn) >= 0) - 80056ae: f997 3007 ldrsb.w r3, [r7, #7] - 80056b2: 2b00 cmp r3, #0 - 80056b4: db0b blt.n 80056ce <__NVIC_EnableIRQ+0x2a> + 8005216: f997 3007 ldrsb.w r3, [r7, #7] + 800521a: 2b00 cmp r3, #0 + 800521c: db0b blt.n 8005236 <__NVIC_EnableIRQ+0x2a> { NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); - 80056b6: 79fb ldrb r3, [r7, #7] - 80056b8: f003 021f and.w r2, r3, #31 - 80056bc: 4907 ldr r1, [pc, #28] ; (80056dc <__NVIC_EnableIRQ+0x38>) - 80056be: f997 3007 ldrsb.w r3, [r7, #7] - 80056c2: 095b lsrs r3, r3, #5 - 80056c4: 2001 movs r0, #1 - 80056c6: fa00 f202 lsl.w r2, r0, r2 - 80056ca: f841 2023 str.w r2, [r1, r3, lsl #2] + 800521e: 79fb ldrb r3, [r7, #7] + 8005220: f003 021f and.w r2, r3, #31 + 8005224: 4907 ldr r1, [pc, #28] ; (8005244 <__NVIC_EnableIRQ+0x38>) + 8005226: f997 3007 ldrsb.w r3, [r7, #7] + 800522a: 095b lsrs r3, r3, #5 + 800522c: 2001 movs r0, #1 + 800522e: fa00 f202 lsl.w r2, r0, r2 + 8005232: f841 2023 str.w r2, [r1, r3, lsl #2] } } - 80056ce: bf00 nop - 80056d0: 370c adds r7, #12 - 80056d2: 46bd mov sp, r7 - 80056d4: f85d 7b04 ldr.w r7, [sp], #4 - 80056d8: 4770 bx lr - 80056da: bf00 nop - 80056dc: e000e100 .word 0xe000e100 + 8005236: bf00 nop + 8005238: 370c adds r7, #12 + 800523a: 46bd mov sp, r7 + 800523c: f85d 7b04 ldr.w r7, [sp], #4 + 8005240: 4770 bx lr + 8005242: bf00 nop + 8005244: e000e100 .word 0xe000e100 -080056e0 <__NVIC_SetPriority>: +08005248 <__NVIC_SetPriority>: \param [in] IRQn Interrupt number. \param [in] priority Priority to set. \note The priority cannot be set for every processor exception. */ __STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority) { - 80056e0: b480 push {r7} - 80056e2: b083 sub sp, #12 - 80056e4: af00 add r7, sp, #0 - 80056e6: 4603 mov r3, r0 - 80056e8: 6039 str r1, [r7, #0] - 80056ea: 71fb strb r3, [r7, #7] + 8005248: b480 push {r7} + 800524a: b083 sub sp, #12 + 800524c: af00 add r7, sp, #0 + 800524e: 4603 mov r3, r0 + 8005250: 6039 str r1, [r7, #0] + 8005252: 71fb strb r3, [r7, #7] if ((int32_t)(IRQn) >= 0) - 80056ec: f997 3007 ldrsb.w r3, [r7, #7] - 80056f0: 2b00 cmp r3, #0 - 80056f2: db0a blt.n 800570a <__NVIC_SetPriority+0x2a> + 8005254: f997 3007 ldrsb.w r3, [r7, #7] + 8005258: 2b00 cmp r3, #0 + 800525a: db0a blt.n 8005272 <__NVIC_SetPriority+0x2a> { NVIC->IP[((uint32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL); - 80056f4: 683b ldr r3, [r7, #0] - 80056f6: b2da uxtb r2, r3 - 80056f8: 490c ldr r1, [pc, #48] ; (800572c <__NVIC_SetPriority+0x4c>) - 80056fa: f997 3007 ldrsb.w r3, [r7, #7] - 80056fe: 0112 lsls r2, r2, #4 - 8005700: b2d2 uxtb r2, r2 - 8005702: 440b add r3, r1 - 8005704: f883 2300 strb.w r2, [r3, #768] ; 0x300 + 800525c: 683b ldr r3, [r7, #0] + 800525e: b2da uxtb r2, r3 + 8005260: 490c ldr r1, [pc, #48] ; (8005294 <__NVIC_SetPriority+0x4c>) + 8005262: f997 3007 ldrsb.w r3, [r7, #7] + 8005266: 0112 lsls r2, r2, #4 + 8005268: b2d2 uxtb r2, r2 + 800526a: 440b add r3, r1 + 800526c: f883 2300 strb.w r2, [r3, #768] ; 0x300 } else { SCB->SHPR[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL); } } - 8005708: e00a b.n 8005720 <__NVIC_SetPriority+0x40> + 8005270: e00a b.n 8005288 <__NVIC_SetPriority+0x40> SCB->SHPR[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL); - 800570a: 683b ldr r3, [r7, #0] - 800570c: b2da uxtb r2, r3 - 800570e: 4908 ldr r1, [pc, #32] ; (8005730 <__NVIC_SetPriority+0x50>) - 8005710: 79fb ldrb r3, [r7, #7] - 8005712: f003 030f and.w r3, r3, #15 - 8005716: 3b04 subs r3, #4 - 8005718: 0112 lsls r2, r2, #4 - 800571a: b2d2 uxtb r2, r2 - 800571c: 440b add r3, r1 - 800571e: 761a strb r2, [r3, #24] + 8005272: 683b ldr r3, [r7, #0] + 8005274: b2da uxtb r2, r3 + 8005276: 4908 ldr r1, [pc, #32] ; (8005298 <__NVIC_SetPriority+0x50>) + 8005278: 79fb ldrb r3, [r7, #7] + 800527a: f003 030f and.w r3, r3, #15 + 800527e: 3b04 subs r3, #4 + 8005280: 0112 lsls r2, r2, #4 + 8005282: b2d2 uxtb r2, r2 + 8005284: 440b add r3, r1 + 8005286: 761a strb r2, [r3, #24] } - 8005720: bf00 nop - 8005722: 370c adds r7, #12 - 8005724: 46bd mov sp, r7 - 8005726: f85d 7b04 ldr.w r7, [sp], #4 - 800572a: 4770 bx lr - 800572c: e000e100 .word 0xe000e100 - 8005730: e000ed00 .word 0xe000ed00 + 8005288: bf00 nop + 800528a: 370c adds r7, #12 + 800528c: 46bd mov sp, r7 + 800528e: f85d 7b04 ldr.w r7, [sp], #4 + 8005292: 4770 bx lr + 8005294: e000e100 .word 0xe000e100 + 8005298: e000ed00 .word 0xe000ed00 -08005734 : +0800529c : \param [in] PreemptPriority Preemptive priority value (starting from 0). \param [in] SubPriority Subpriority value (starting from 0). \return Encoded priority. Value can be used in the function \ref NVIC_SetPriority(). */ __STATIC_INLINE uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority) { - 8005734: b480 push {r7} - 8005736: b089 sub sp, #36 ; 0x24 - 8005738: af00 add r7, sp, #0 - 800573a: 60f8 str r0, [r7, #12] - 800573c: 60b9 str r1, [r7, #8] - 800573e: 607a str r2, [r7, #4] + 800529c: b480 push {r7} + 800529e: b089 sub sp, #36 ; 0x24 + 80052a0: af00 add r7, sp, #0 + 80052a2: 60f8 str r0, [r7, #12] + 80052a4: 60b9 str r1, [r7, #8] + 80052a6: 607a str r2, [r7, #4] uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */ - 8005740: 68fb ldr r3, [r7, #12] - 8005742: f003 0307 and.w r3, r3, #7 - 8005746: 61fb str r3, [r7, #28] + 80052a8: 68fb ldr r3, [r7, #12] + 80052aa: f003 0307 and.w r3, r3, #7 + 80052ae: 61fb str r3, [r7, #28] uint32_t PreemptPriorityBits; uint32_t SubPriorityBits; PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BITS) : (uint32_t)(7UL - PriorityGroupTmp); - 8005748: 69fb ldr r3, [r7, #28] - 800574a: f1c3 0307 rsb r3, r3, #7 - 800574e: 2b04 cmp r3, #4 - 8005750: bf28 it cs - 8005752: 2304 movcs r3, #4 - 8005754: 61bb str r3, [r7, #24] + 80052b0: 69fb ldr r3, [r7, #28] + 80052b2: f1c3 0307 rsb r3, r3, #7 + 80052b6: 2b04 cmp r3, #4 + 80052b8: bf28 it cs + 80052ba: 2304 movcs r3, #4 + 80052bc: 61bb str r3, [r7, #24] SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(__NVIC_PRIO_BITS)); - 8005756: 69fb ldr r3, [r7, #28] - 8005758: 3304 adds r3, #4 - 800575a: 2b06 cmp r3, #6 - 800575c: d902 bls.n 8005764 - 800575e: 69fb ldr r3, [r7, #28] - 8005760: 3b03 subs r3, #3 - 8005762: e000 b.n 8005766 - 8005764: 2300 movs r3, #0 - 8005766: 617b str r3, [r7, #20] + 80052be: 69fb ldr r3, [r7, #28] + 80052c0: 3304 adds r3, #4 + 80052c2: 2b06 cmp r3, #6 + 80052c4: d902 bls.n 80052cc + 80052c6: 69fb ldr r3, [r7, #28] + 80052c8: 3b03 subs r3, #3 + 80052ca: e000 b.n 80052ce + 80052cc: 2300 movs r3, #0 + 80052ce: 617b str r3, [r7, #20] return ( ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | - 8005768: f04f 32ff mov.w r2, #4294967295 - 800576c: 69bb ldr r3, [r7, #24] - 800576e: fa02 f303 lsl.w r3, r2, r3 - 8005772: 43da mvns r2, r3 - 8005774: 68bb ldr r3, [r7, #8] - 8005776: 401a ands r2, r3 - 8005778: 697b ldr r3, [r7, #20] - 800577a: 409a lsls r2, r3 + 80052d0: f04f 32ff mov.w r2, #4294967295 + 80052d4: 69bb ldr r3, [r7, #24] + 80052d6: fa02 f303 lsl.w r3, r2, r3 + 80052da: 43da mvns r2, r3 + 80052dc: 68bb ldr r3, [r7, #8] + 80052de: 401a ands r2, r3 + 80052e0: 697b ldr r3, [r7, #20] + 80052e2: 409a lsls r2, r3 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) - 800577c: f04f 31ff mov.w r1, #4294967295 - 8005780: 697b ldr r3, [r7, #20] - 8005782: fa01 f303 lsl.w r3, r1, r3 - 8005786: 43d9 mvns r1, r3 - 8005788: 687b ldr r3, [r7, #4] - 800578a: 400b ands r3, r1 + 80052e4: f04f 31ff mov.w r1, #4294967295 + 80052e8: 697b ldr r3, [r7, #20] + 80052ea: fa01 f303 lsl.w r3, r1, r3 + 80052ee: 43d9 mvns r1, r3 + 80052f0: 687b ldr r3, [r7, #4] + 80052f2: 400b ands r3, r1 ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | - 800578c: 4313 orrs r3, r2 + 80052f4: 4313 orrs r3, r2 ); } - 800578e: 4618 mov r0, r3 - 8005790: 3724 adds r7, #36 ; 0x24 - 8005792: 46bd mov sp, r7 - 8005794: f85d 7b04 ldr.w r7, [sp], #4 - 8005798: 4770 bx lr + 80052f6: 4618 mov r0, r3 + 80052f8: 3724 adds r7, #36 ; 0x24 + 80052fa: 46bd mov sp, r7 + 80052fc: f85d 7b04 ldr.w r7, [sp], #4 + 8005300: 4770 bx lr -0800579a : +08005302 : * @note When the NVIC_PriorityGroup_0 is selected, IRQ preemption is no more possible. * The pending IRQ priority will be managed only by the subpriority. * @retval None */ void HAL_NVIC_SetPriorityGrouping(uint32_t PriorityGroup) { - 800579a: b580 push {r7, lr} - 800579c: b082 sub sp, #8 - 800579e: af00 add r7, sp, #0 - 80057a0: 6078 str r0, [r7, #4] + 8005302: b580 push {r7, lr} + 8005304: b082 sub sp, #8 + 8005306: af00 add r7, sp, #0 + 8005308: 6078 str r0, [r7, #4] /* Check the parameters */ assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup)); /* Set the PRIGROUP[10:8] bits according to the PriorityGroup parameter value */ NVIC_SetPriorityGrouping(PriorityGroup); - 80057a2: 6878 ldr r0, [r7, #4] - 80057a4: f7ff ff4c bl 8005640 <__NVIC_SetPriorityGrouping> + 800530a: 6878 ldr r0, [r7, #4] + 800530c: f7ff ff4c bl 80051a8 <__NVIC_SetPriorityGrouping> } - 80057a8: bf00 nop - 80057aa: 3708 adds r7, #8 - 80057ac: 46bd mov sp, r7 - 80057ae: bd80 pop {r7, pc} + 8005310: bf00 nop + 8005312: 3708 adds r7, #8 + 8005314: 46bd mov sp, r7 + 8005316: bd80 pop {r7, pc} -080057b0 : +08005318 : * This parameter can be a value between 0 and 15 * A lower priority value indicates a higher priority. * @retval None */ void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority) { - 80057b0: b580 push {r7, lr} - 80057b2: b086 sub sp, #24 - 80057b4: af00 add r7, sp, #0 - 80057b6: 4603 mov r3, r0 - 80057b8: 60b9 str r1, [r7, #8] - 80057ba: 607a str r2, [r7, #4] - 80057bc: 73fb strb r3, [r7, #15] + 8005318: b580 push {r7, lr} + 800531a: b086 sub sp, #24 + 800531c: af00 add r7, sp, #0 + 800531e: 4603 mov r3, r0 + 8005320: 60b9 str r1, [r7, #8] + 8005322: 607a str r2, [r7, #4] + 8005324: 73fb strb r3, [r7, #15] uint32_t prioritygroup = 0x00; - 80057be: 2300 movs r3, #0 - 80057c0: 617b str r3, [r7, #20] + 8005326: 2300 movs r3, #0 + 8005328: 617b str r3, [r7, #20] /* Check the parameters */ assert_param(IS_NVIC_SUB_PRIORITY(SubPriority)); assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority)); prioritygroup = NVIC_GetPriorityGrouping(); - 80057c2: f7ff ff61 bl 8005688 <__NVIC_GetPriorityGrouping> - 80057c6: 6178 str r0, [r7, #20] + 800532a: f7ff ff61 bl 80051f0 <__NVIC_GetPriorityGrouping> + 800532e: 6178 str r0, [r7, #20] NVIC_SetPriority(IRQn, NVIC_EncodePriority(prioritygroup, PreemptPriority, SubPriority)); - 80057c8: 687a ldr r2, [r7, #4] - 80057ca: 68b9 ldr r1, [r7, #8] - 80057cc: 6978 ldr r0, [r7, #20] - 80057ce: f7ff ffb1 bl 8005734 - 80057d2: 4602 mov r2, r0 - 80057d4: f997 300f ldrsb.w r3, [r7, #15] - 80057d8: 4611 mov r1, r2 - 80057da: 4618 mov r0, r3 - 80057dc: f7ff ff80 bl 80056e0 <__NVIC_SetPriority> + 8005330: 687a ldr r2, [r7, #4] + 8005332: 68b9 ldr r1, [r7, #8] + 8005334: 6978 ldr r0, [r7, #20] + 8005336: f7ff ffb1 bl 800529c + 800533a: 4602 mov r2, r0 + 800533c: f997 300f ldrsb.w r3, [r7, #15] + 8005340: 4611 mov r1, r2 + 8005342: 4618 mov r0, r3 + 8005344: f7ff ff80 bl 8005248 <__NVIC_SetPriority> } - 80057e0: bf00 nop - 80057e2: 3718 adds r7, #24 - 80057e4: 46bd mov sp, r7 - 80057e6: bd80 pop {r7, pc} + 8005348: bf00 nop + 800534a: 3718 adds r7, #24 + 800534c: 46bd mov sp, r7 + 800534e: bd80 pop {r7, pc} -080057e8 : +08005350 : * This parameter can be an enumerator of IRQn_Type enumeration * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSIS device file (stm32f7xxxx.h)) * @retval None */ void HAL_NVIC_EnableIRQ(IRQn_Type IRQn) { - 80057e8: b580 push {r7, lr} - 80057ea: b082 sub sp, #8 - 80057ec: af00 add r7, sp, #0 - 80057ee: 4603 mov r3, r0 - 80057f0: 71fb strb r3, [r7, #7] + 8005350: b580 push {r7, lr} + 8005352: b082 sub sp, #8 + 8005354: af00 add r7, sp, #0 + 8005356: 4603 mov r3, r0 + 8005358: 71fb strb r3, [r7, #7] /* Check the parameters */ assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); /* Enable interrupt */ NVIC_EnableIRQ(IRQn); - 80057f2: f997 3007 ldrsb.w r3, [r7, #7] - 80057f6: 4618 mov r0, r3 - 80057f8: f7ff ff54 bl 80056a4 <__NVIC_EnableIRQ> + 800535a: f997 3007 ldrsb.w r3, [r7, #7] + 800535e: 4618 mov r0, r3 + 8005360: f7ff ff54 bl 800520c <__NVIC_EnableIRQ> } - 80057fc: bf00 nop - 80057fe: 3708 adds r7, #8 - 8005800: 46bd mov sp, r7 - 8005802: bd80 pop {r7, pc} + 8005364: bf00 nop + 8005366: 3708 adds r7, #8 + 8005368: 46bd mov sp, r7 + 800536a: bd80 pop {r7, pc} -08005804 : +0800536c : * parameters in the CRC_InitTypeDef and create the associated handle. * @param hcrc CRC handle * @retval HAL status */ HAL_StatusTypeDef HAL_CRC_Init(CRC_HandleTypeDef *hcrc) { - 8005804: b580 push {r7, lr} - 8005806: b082 sub sp, #8 - 8005808: af00 add r7, sp, #0 - 800580a: 6078 str r0, [r7, #4] + 800536c: b580 push {r7, lr} + 800536e: b082 sub sp, #8 + 8005370: af00 add r7, sp, #0 + 8005372: 6078 str r0, [r7, #4] /* Check the CRC handle allocation */ if (hcrc == NULL) - 800580c: 687b ldr r3, [r7, #4] - 800580e: 2b00 cmp r3, #0 - 8005810: d101 bne.n 8005816 + 8005374: 687b ldr r3, [r7, #4] + 8005376: 2b00 cmp r3, #0 + 8005378: d101 bne.n 800537e { return HAL_ERROR; - 8005812: 2301 movs r3, #1 - 8005814: e054 b.n 80058c0 + 800537a: 2301 movs r3, #1 + 800537c: e054 b.n 8005428 } /* Check the parameters */ assert_param(IS_CRC_ALL_INSTANCE(hcrc->Instance)); if (hcrc->State == HAL_CRC_STATE_RESET) - 8005816: 687b ldr r3, [r7, #4] - 8005818: 7f5b ldrb r3, [r3, #29] - 800581a: b2db uxtb r3, r3 - 800581c: 2b00 cmp r3, #0 - 800581e: d105 bne.n 800582c + 800537e: 687b ldr r3, [r7, #4] + 8005380: 7f5b ldrb r3, [r3, #29] + 8005382: b2db uxtb r3, r3 + 8005384: 2b00 cmp r3, #0 + 8005386: d105 bne.n 8005394 { /* Allocate lock resource and initialize it */ hcrc->Lock = HAL_UNLOCKED; - 8005820: 687b ldr r3, [r7, #4] - 8005822: 2200 movs r2, #0 - 8005824: 771a strb r2, [r3, #28] + 8005388: 687b ldr r3, [r7, #4] + 800538a: 2200 movs r2, #0 + 800538c: 771a strb r2, [r3, #28] /* Init the low level hardware */ HAL_CRC_MspInit(hcrc); - 8005826: 6878 ldr r0, [r7, #4] - 8005828: f7fe fe24 bl 8004474 + 800538e: 6878 ldr r0, [r7, #4] + 8005390: f7fe fe1c bl 8003fcc } hcrc->State = HAL_CRC_STATE_BUSY; - 800582c: 687b ldr r3, [r7, #4] - 800582e: 2202 movs r2, #2 - 8005830: 775a strb r2, [r3, #29] + 8005394: 687b ldr r3, [r7, #4] + 8005396: 2202 movs r2, #2 + 8005398: 775a strb r2, [r3, #29] /* check whether or not non-default generating polynomial has been * picked up by user */ assert_param(IS_DEFAULT_POLYNOMIAL(hcrc->Init.DefaultPolynomialUse)); if (hcrc->Init.DefaultPolynomialUse == DEFAULT_POLYNOMIAL_ENABLE) - 8005832: 687b ldr r3, [r7, #4] - 8005834: 791b ldrb r3, [r3, #4] - 8005836: 2b00 cmp r3, #0 - 8005838: d10c bne.n 8005854 + 800539a: 687b ldr r3, [r7, #4] + 800539c: 791b ldrb r3, [r3, #4] + 800539e: 2b00 cmp r3, #0 + 80053a0: d10c bne.n 80053bc { /* initialize peripheral with default generating polynomial */ WRITE_REG(hcrc->Instance->POL, DEFAULT_CRC32_POLY); - 800583a: 687b ldr r3, [r7, #4] - 800583c: 681b ldr r3, [r3, #0] - 800583e: 4a22 ldr r2, [pc, #136] ; (80058c8 ) - 8005840: 615a str r2, [r3, #20] + 80053a2: 687b ldr r3, [r7, #4] + 80053a4: 681b ldr r3, [r3, #0] + 80053a6: 4a22 ldr r2, [pc, #136] ; (8005430 ) + 80053a8: 615a str r2, [r3, #20] MODIFY_REG(hcrc->Instance->CR, CRC_CR_POLYSIZE, CRC_POLYLENGTH_32B); - 8005842: 687b ldr r3, [r7, #4] - 8005844: 681b ldr r3, [r3, #0] - 8005846: 689a ldr r2, [r3, #8] - 8005848: 687b ldr r3, [r7, #4] - 800584a: 681b ldr r3, [r3, #0] - 800584c: f022 0218 bic.w r2, r2, #24 - 8005850: 609a str r2, [r3, #8] - 8005852: e00c b.n 800586e + 80053aa: 687b ldr r3, [r7, #4] + 80053ac: 681b ldr r3, [r3, #0] + 80053ae: 689a ldr r2, [r3, #8] + 80053b0: 687b ldr r3, [r7, #4] + 80053b2: 681b ldr r3, [r3, #0] + 80053b4: f022 0218 bic.w r2, r2, #24 + 80053b8: 609a str r2, [r3, #8] + 80053ba: e00c b.n 80053d6 } else { /* initialize CRC peripheral with generating polynomial defined by user */ if (HAL_CRCEx_Polynomial_Set(hcrc, hcrc->Init.GeneratingPolynomial, hcrc->Init.CRCLength) != HAL_OK) - 8005854: 687b ldr r3, [r7, #4] - 8005856: 6899 ldr r1, [r3, #8] - 8005858: 687b ldr r3, [r7, #4] - 800585a: 68db ldr r3, [r3, #12] - 800585c: 461a mov r2, r3 - 800585e: 6878 ldr r0, [r7, #4] - 8005860: f000 f834 bl 80058cc - 8005864: 4603 mov r3, r0 - 8005866: 2b00 cmp r3, #0 - 8005868: d001 beq.n 800586e + 80053bc: 687b ldr r3, [r7, #4] + 80053be: 6899 ldr r1, [r3, #8] + 80053c0: 687b ldr r3, [r7, #4] + 80053c2: 68db ldr r3, [r3, #12] + 80053c4: 461a mov r2, r3 + 80053c6: 6878 ldr r0, [r7, #4] + 80053c8: f000 f834 bl 8005434 + 80053cc: 4603 mov r3, r0 + 80053ce: 2b00 cmp r3, #0 + 80053d0: d001 beq.n 80053d6 { return HAL_ERROR; - 800586a: 2301 movs r3, #1 - 800586c: e028 b.n 80058c0 + 80053d2: 2301 movs r3, #1 + 80053d4: e028 b.n 8005428 } /* check whether or not non-default CRC initial value has been * picked up by user */ assert_param(IS_DEFAULT_INIT_VALUE(hcrc->Init.DefaultInitValueUse)); if (hcrc->Init.DefaultInitValueUse == DEFAULT_INIT_VALUE_ENABLE) - 800586e: 687b ldr r3, [r7, #4] - 8005870: 795b ldrb r3, [r3, #5] - 8005872: 2b00 cmp r3, #0 - 8005874: d105 bne.n 8005882 + 80053d6: 687b ldr r3, [r7, #4] + 80053d8: 795b ldrb r3, [r3, #5] + 80053da: 2b00 cmp r3, #0 + 80053dc: d105 bne.n 80053ea { WRITE_REG(hcrc->Instance->INIT, DEFAULT_CRC_INITVALUE); - 8005876: 687b ldr r3, [r7, #4] - 8005878: 681b ldr r3, [r3, #0] - 800587a: f04f 32ff mov.w r2, #4294967295 - 800587e: 611a str r2, [r3, #16] - 8005880: e004 b.n 800588c + 80053de: 687b ldr r3, [r7, #4] + 80053e0: 681b ldr r3, [r3, #0] + 80053e2: f04f 32ff mov.w r2, #4294967295 + 80053e6: 611a str r2, [r3, #16] + 80053e8: e004 b.n 80053f4 } else { WRITE_REG(hcrc->Instance->INIT, hcrc->Init.InitValue); - 8005882: 687b ldr r3, [r7, #4] - 8005884: 681b ldr r3, [r3, #0] - 8005886: 687a ldr r2, [r7, #4] - 8005888: 6912 ldr r2, [r2, #16] - 800588a: 611a str r2, [r3, #16] + 80053ea: 687b ldr r3, [r7, #4] + 80053ec: 681b ldr r3, [r3, #0] + 80053ee: 687a ldr r2, [r7, #4] + 80053f0: 6912 ldr r2, [r2, #16] + 80053f2: 611a str r2, [r3, #16] } /* set input data inversion mode */ assert_param(IS_CRC_INPUTDATA_INVERSION_MODE(hcrc->Init.InputDataInversionMode)); MODIFY_REG(hcrc->Instance->CR, CRC_CR_REV_IN, hcrc->Init.InputDataInversionMode); - 800588c: 687b ldr r3, [r7, #4] - 800588e: 681b ldr r3, [r3, #0] - 8005890: 689b ldr r3, [r3, #8] - 8005892: f023 0160 bic.w r1, r3, #96 ; 0x60 - 8005896: 687b ldr r3, [r7, #4] - 8005898: 695a ldr r2, [r3, #20] - 800589a: 687b ldr r3, [r7, #4] - 800589c: 681b ldr r3, [r3, #0] - 800589e: 430a orrs r2, r1 - 80058a0: 609a str r2, [r3, #8] + 80053f4: 687b ldr r3, [r7, #4] + 80053f6: 681b ldr r3, [r3, #0] + 80053f8: 689b ldr r3, [r3, #8] + 80053fa: f023 0160 bic.w r1, r3, #96 ; 0x60 + 80053fe: 687b ldr r3, [r7, #4] + 8005400: 695a ldr r2, [r3, #20] + 8005402: 687b ldr r3, [r7, #4] + 8005404: 681b ldr r3, [r3, #0] + 8005406: 430a orrs r2, r1 + 8005408: 609a str r2, [r3, #8] /* set output data inversion mode */ assert_param(IS_CRC_OUTPUTDATA_INVERSION_MODE(hcrc->Init.OutputDataInversionMode)); MODIFY_REG(hcrc->Instance->CR, CRC_CR_REV_OUT, hcrc->Init.OutputDataInversionMode); - 80058a2: 687b ldr r3, [r7, #4] - 80058a4: 681b ldr r3, [r3, #0] - 80058a6: 689b ldr r3, [r3, #8] - 80058a8: f023 0180 bic.w r1, r3, #128 ; 0x80 - 80058ac: 687b ldr r3, [r7, #4] - 80058ae: 699a ldr r2, [r3, #24] - 80058b0: 687b ldr r3, [r7, #4] - 80058b2: 681b ldr r3, [r3, #0] - 80058b4: 430a orrs r2, r1 - 80058b6: 609a str r2, [r3, #8] + 800540a: 687b ldr r3, [r7, #4] + 800540c: 681b ldr r3, [r3, #0] + 800540e: 689b ldr r3, [r3, #8] + 8005410: f023 0180 bic.w r1, r3, #128 ; 0x80 + 8005414: 687b ldr r3, [r7, #4] + 8005416: 699a ldr r2, [r3, #24] + 8005418: 687b ldr r3, [r7, #4] + 800541a: 681b ldr r3, [r3, #0] + 800541c: 430a orrs r2, r1 + 800541e: 609a str r2, [r3, #8] /* makes sure the input data format (bytes, halfwords or words stream) * is properly specified by user */ assert_param(IS_CRC_INPUTDATA_FORMAT(hcrc->InputDataFormat)); /* Change CRC peripheral state */ hcrc->State = HAL_CRC_STATE_READY; - 80058b8: 687b ldr r3, [r7, #4] - 80058ba: 2201 movs r2, #1 - 80058bc: 775a strb r2, [r3, #29] + 8005420: 687b ldr r3, [r7, #4] + 8005422: 2201 movs r2, #1 + 8005424: 775a strb r2, [r3, #29] /* Return function status */ return HAL_OK; - 80058be: 2300 movs r3, #0 + 8005426: 2300 movs r3, #0 } - 80058c0: 4618 mov r0, r3 - 80058c2: 3708 adds r7, #8 - 80058c4: 46bd mov sp, r7 - 80058c6: bd80 pop {r7, pc} - 80058c8: 04c11db7 .word 0x04c11db7 + 8005428: 4618 mov r0, r3 + 800542a: 3708 adds r7, #8 + 800542c: 46bd mov sp, r7 + 800542e: bd80 pop {r7, pc} + 8005430: 04c11db7 .word 0x04c11db7 -080058cc : +08005434 : * @arg @ref CRC_POLYLENGTH_16B 16-bit long CRC (generating polynomial of degree 16) * @arg @ref CRC_POLYLENGTH_32B 32-bit long CRC (generating polynomial of degree 32) * @retval HAL status */ HAL_StatusTypeDef HAL_CRCEx_Polynomial_Set(CRC_HandleTypeDef *hcrc, uint32_t Pol, uint32_t PolyLength) { - 80058cc: b480 push {r7} - 80058ce: b087 sub sp, #28 - 80058d0: af00 add r7, sp, #0 - 80058d2: 60f8 str r0, [r7, #12] - 80058d4: 60b9 str r1, [r7, #8] - 80058d6: 607a str r2, [r7, #4] + 8005434: b480 push {r7} + 8005436: b087 sub sp, #28 + 8005438: af00 add r7, sp, #0 + 800543a: 60f8 str r0, [r7, #12] + 800543c: 60b9 str r1, [r7, #8] + 800543e: 607a str r2, [r7, #4] HAL_StatusTypeDef status = HAL_OK; - 80058d8: 2300 movs r3, #0 - 80058da: 75fb strb r3, [r7, #23] + 8005440: 2300 movs r3, #0 + 8005442: 75fb strb r3, [r7, #23] uint32_t msb = 31U; /* polynomial degree is 32 at most, so msb is initialized to max value */ - 80058dc: 231f movs r3, #31 - 80058de: 613b str r3, [r7, #16] + 8005444: 231f movs r3, #31 + 8005446: 613b str r3, [r7, #16] * definition. HAL_ERROR is reported if Pol degree is * larger than that indicated by PolyLength. * Look for MSB position: msb will contain the degree of * the second to the largest polynomial member. E.g., for * X^7 + X^6 + X^5 + X^2 + 1, msb = 6. */ while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) - 80058e0: bf00 nop - 80058e2: 693b ldr r3, [r7, #16] - 80058e4: 1e5a subs r2, r3, #1 - 80058e6: 613a str r2, [r7, #16] - 80058e8: 2b00 cmp r3, #0 - 80058ea: d009 beq.n 8005900 - 80058ec: 693b ldr r3, [r7, #16] - 80058ee: f003 031f and.w r3, r3, #31 - 80058f2: 68ba ldr r2, [r7, #8] - 80058f4: fa22 f303 lsr.w r3, r2, r3 - 80058f8: f003 0301 and.w r3, r3, #1 - 80058fc: 2b00 cmp r3, #0 - 80058fe: d0f0 beq.n 80058e2 + 8005448: bf00 nop + 800544a: 693b ldr r3, [r7, #16] + 800544c: 1e5a subs r2, r3, #1 + 800544e: 613a str r2, [r7, #16] + 8005450: 2b00 cmp r3, #0 + 8005452: d009 beq.n 8005468 + 8005454: 693b ldr r3, [r7, #16] + 8005456: f003 031f and.w r3, r3, #31 + 800545a: 68ba ldr r2, [r7, #8] + 800545c: fa22 f303 lsr.w r3, r2, r3 + 8005460: f003 0301 and.w r3, r3, #1 + 8005464: 2b00 cmp r3, #0 + 8005466: d0f0 beq.n 800544a { } switch (PolyLength) - 8005900: 687b ldr r3, [r7, #4] - 8005902: 2b18 cmp r3, #24 - 8005904: d846 bhi.n 8005994 - 8005906: a201 add r2, pc, #4 ; (adr r2, 800590c ) - 8005908: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 800590c: 0800599b .word 0x0800599b - 8005910: 08005995 .word 0x08005995 - 8005914: 08005995 .word 0x08005995 - 8005918: 08005995 .word 0x08005995 - 800591c: 08005995 .word 0x08005995 - 8005920: 08005995 .word 0x08005995 - 8005924: 08005995 .word 0x08005995 - 8005928: 08005995 .word 0x08005995 - 800592c: 08005989 .word 0x08005989 - 8005930: 08005995 .word 0x08005995 - 8005934: 08005995 .word 0x08005995 - 8005938: 08005995 .word 0x08005995 - 800593c: 08005995 .word 0x08005995 - 8005940: 08005995 .word 0x08005995 - 8005944: 08005995 .word 0x08005995 - 8005948: 08005995 .word 0x08005995 - 800594c: 0800597d .word 0x0800597d - 8005950: 08005995 .word 0x08005995 - 8005954: 08005995 .word 0x08005995 - 8005958: 08005995 .word 0x08005995 - 800595c: 08005995 .word 0x08005995 - 8005960: 08005995 .word 0x08005995 - 8005964: 08005995 .word 0x08005995 - 8005968: 08005995 .word 0x08005995 - 800596c: 08005971 .word 0x08005971 + 8005468: 687b ldr r3, [r7, #4] + 800546a: 2b18 cmp r3, #24 + 800546c: d846 bhi.n 80054fc + 800546e: a201 add r2, pc, #4 ; (adr r2, 8005474 ) + 8005470: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8005474: 08005503 .word 0x08005503 + 8005478: 080054fd .word 0x080054fd + 800547c: 080054fd .word 0x080054fd + 8005480: 080054fd .word 0x080054fd + 8005484: 080054fd .word 0x080054fd + 8005488: 080054fd .word 0x080054fd + 800548c: 080054fd .word 0x080054fd + 8005490: 080054fd .word 0x080054fd + 8005494: 080054f1 .word 0x080054f1 + 8005498: 080054fd .word 0x080054fd + 800549c: 080054fd .word 0x080054fd + 80054a0: 080054fd .word 0x080054fd + 80054a4: 080054fd .word 0x080054fd + 80054a8: 080054fd .word 0x080054fd + 80054ac: 080054fd .word 0x080054fd + 80054b0: 080054fd .word 0x080054fd + 80054b4: 080054e5 .word 0x080054e5 + 80054b8: 080054fd .word 0x080054fd + 80054bc: 080054fd .word 0x080054fd + 80054c0: 080054fd .word 0x080054fd + 80054c4: 080054fd .word 0x080054fd + 80054c8: 080054fd .word 0x080054fd + 80054cc: 080054fd .word 0x080054fd + 80054d0: 080054fd .word 0x080054fd + 80054d4: 080054d9 .word 0x080054d9 { case CRC_POLYLENGTH_7B: if (msb >= HAL_CRC_LENGTH_7B) - 8005970: 693b ldr r3, [r7, #16] - 8005972: 2b06 cmp r3, #6 - 8005974: d913 bls.n 800599e + 80054d8: 693b ldr r3, [r7, #16] + 80054da: 2b06 cmp r3, #6 + 80054dc: d913 bls.n 8005506 { status = HAL_ERROR; - 8005976: 2301 movs r3, #1 - 8005978: 75fb strb r3, [r7, #23] + 80054de: 2301 movs r3, #1 + 80054e0: 75fb strb r3, [r7, #23] } break; - 800597a: e010 b.n 800599e + 80054e2: e010 b.n 8005506 case CRC_POLYLENGTH_8B: if (msb >= HAL_CRC_LENGTH_8B) - 800597c: 693b ldr r3, [r7, #16] - 800597e: 2b07 cmp r3, #7 - 8005980: d90f bls.n 80059a2 + 80054e4: 693b ldr r3, [r7, #16] + 80054e6: 2b07 cmp r3, #7 + 80054e8: d90f bls.n 800550a { status = HAL_ERROR; - 8005982: 2301 movs r3, #1 - 8005984: 75fb strb r3, [r7, #23] + 80054ea: 2301 movs r3, #1 + 80054ec: 75fb strb r3, [r7, #23] } break; - 8005986: e00c b.n 80059a2 + 80054ee: e00c b.n 800550a case CRC_POLYLENGTH_16B: if (msb >= HAL_CRC_LENGTH_16B) - 8005988: 693b ldr r3, [r7, #16] - 800598a: 2b0f cmp r3, #15 - 800598c: d90b bls.n 80059a6 + 80054f0: 693b ldr r3, [r7, #16] + 80054f2: 2b0f cmp r3, #15 + 80054f4: d90b bls.n 800550e { status = HAL_ERROR; - 800598e: 2301 movs r3, #1 - 8005990: 75fb strb r3, [r7, #23] + 80054f6: 2301 movs r3, #1 + 80054f8: 75fb strb r3, [r7, #23] } break; - 8005992: e008 b.n 80059a6 + 80054fa: e008 b.n 800550e case CRC_POLYLENGTH_32B: /* no polynomial definition vs. polynomial length issue possible */ break; default: status = HAL_ERROR; - 8005994: 2301 movs r3, #1 - 8005996: 75fb strb r3, [r7, #23] + 80054fc: 2301 movs r3, #1 + 80054fe: 75fb strb r3, [r7, #23] break; - 8005998: e006 b.n 80059a8 + 8005500: e006 b.n 8005510 break; - 800599a: bf00 nop - 800599c: e004 b.n 80059a8 + 8005502: bf00 nop + 8005504: e004 b.n 8005510 break; - 800599e: bf00 nop - 80059a0: e002 b.n 80059a8 + 8005506: bf00 nop + 8005508: e002 b.n 8005510 break; - 80059a2: bf00 nop - 80059a4: e000 b.n 80059a8 + 800550a: bf00 nop + 800550c: e000 b.n 8005510 break; - 80059a6: bf00 nop + 800550e: bf00 nop } if (status == HAL_OK) - 80059a8: 7dfb ldrb r3, [r7, #23] - 80059aa: 2b00 cmp r3, #0 - 80059ac: d10d bne.n 80059ca + 8005510: 7dfb ldrb r3, [r7, #23] + 8005512: 2b00 cmp r3, #0 + 8005514: d10d bne.n 8005532 { /* set generating polynomial */ WRITE_REG(hcrc->Instance->POL, Pol); - 80059ae: 68fb ldr r3, [r7, #12] - 80059b0: 681b ldr r3, [r3, #0] - 80059b2: 68ba ldr r2, [r7, #8] - 80059b4: 615a str r2, [r3, #20] + 8005516: 68fb ldr r3, [r7, #12] + 8005518: 681b ldr r3, [r3, #0] + 800551a: 68ba ldr r2, [r7, #8] + 800551c: 615a str r2, [r3, #20] /* set generating polynomial size */ MODIFY_REG(hcrc->Instance->CR, CRC_CR_POLYSIZE, PolyLength); - 80059b6: 68fb ldr r3, [r7, #12] - 80059b8: 681b ldr r3, [r3, #0] - 80059ba: 689b ldr r3, [r3, #8] - 80059bc: f023 0118 bic.w r1, r3, #24 - 80059c0: 68fb ldr r3, [r7, #12] - 80059c2: 681b ldr r3, [r3, #0] - 80059c4: 687a ldr r2, [r7, #4] - 80059c6: 430a orrs r2, r1 - 80059c8: 609a str r2, [r3, #8] + 800551e: 68fb ldr r3, [r7, #12] + 8005520: 681b ldr r3, [r3, #0] + 8005522: 689b ldr r3, [r3, #8] + 8005524: f023 0118 bic.w r1, r3, #24 + 8005528: 68fb ldr r3, [r7, #12] + 800552a: 681b ldr r3, [r3, #0] + 800552c: 687a ldr r2, [r7, #4] + 800552e: 430a orrs r2, r1 + 8005530: 609a str r2, [r3, #8] } /* Return function status */ return status; - 80059ca: 7dfb ldrb r3, [r7, #23] + 8005532: 7dfb ldrb r3, [r7, #23] } - 80059cc: 4618 mov r0, r3 - 80059ce: 371c adds r7, #28 - 80059d0: 46bd mov sp, r7 - 80059d2: f85d 7b04 ldr.w r7, [sp], #4 - 80059d6: 4770 bx lr + 8005534: 4618 mov r0, r3 + 8005536: 371c adds r7, #28 + 8005538: 46bd mov sp, r7 + 800553a: f85d 7b04 ldr.w r7, [sp], #4 + 800553e: 4770 bx lr -080059d8 : +08005540 : * @param hdac: pointer to a DAC_HandleTypeDef structure that contains * the configuration information for the specified DAC. * @retval HAL status */ HAL_StatusTypeDef HAL_DAC_Init(DAC_HandleTypeDef* hdac) { - 80059d8: b580 push {r7, lr} - 80059da: b082 sub sp, #8 - 80059dc: af00 add r7, sp, #0 - 80059de: 6078 str r0, [r7, #4] + 8005540: b580 push {r7, lr} + 8005542: b082 sub sp, #8 + 8005544: af00 add r7, sp, #0 + 8005546: 6078 str r0, [r7, #4] /* Check DAC handle */ if(hdac == NULL) - 80059e0: 687b ldr r3, [r7, #4] - 80059e2: 2b00 cmp r3, #0 - 80059e4: d101 bne.n 80059ea + 8005548: 687b ldr r3, [r7, #4] + 800554a: 2b00 cmp r3, #0 + 800554c: d101 bne.n 8005552 { return HAL_ERROR; - 80059e6: 2301 movs r3, #1 - 80059e8: e014 b.n 8005a14 + 800554e: 2301 movs r3, #1 + 8005550: e014 b.n 800557c } /* Check the parameters */ assert_param(IS_DAC_ALL_INSTANCE(hdac->Instance)); if(hdac->State == HAL_DAC_STATE_RESET) - 80059ea: 687b ldr r3, [r7, #4] - 80059ec: 791b ldrb r3, [r3, #4] - 80059ee: b2db uxtb r3, r3 - 80059f0: 2b00 cmp r3, #0 - 80059f2: d105 bne.n 8005a00 + 8005552: 687b ldr r3, [r7, #4] + 8005554: 791b ldrb r3, [r3, #4] + 8005556: b2db uxtb r3, r3 + 8005558: 2b00 cmp r3, #0 + 800555a: d105 bne.n 8005568 { hdac->MspInitCallback = HAL_DAC_MspInit; } #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */ /* Allocate lock resource and initialize it */ hdac->Lock = HAL_UNLOCKED; - 80059f4: 687b ldr r3, [r7, #4] - 80059f6: 2200 movs r2, #0 - 80059f8: 715a strb r2, [r3, #5] + 800555c: 687b ldr r3, [r7, #4] + 800555e: 2200 movs r2, #0 + 8005560: 715a strb r2, [r3, #5] #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1) /* Init the low level hardware */ hdac->MspInitCallback(hdac); #else /* Init the low level hardware */ HAL_DAC_MspInit(hdac); - 80059fa: 6878 ldr r0, [r7, #4] - 80059fc: f7fe fd5a bl 80044b4 + 8005562: 6878 ldr r0, [r7, #4] + 8005564: f7fe fd52 bl 800400c #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */ } /* Initialize the DAC state*/ hdac->State = HAL_DAC_STATE_BUSY; - 8005a00: 687b ldr r3, [r7, #4] - 8005a02: 2202 movs r2, #2 - 8005a04: 711a strb r2, [r3, #4] + 8005568: 687b ldr r3, [r7, #4] + 800556a: 2202 movs r2, #2 + 800556c: 711a strb r2, [r3, #4] /* Set DAC error code to none */ hdac->ErrorCode = HAL_DAC_ERROR_NONE; - 8005a06: 687b ldr r3, [r7, #4] - 8005a08: 2200 movs r2, #0 - 8005a0a: 611a str r2, [r3, #16] + 800556e: 687b ldr r3, [r7, #4] + 8005570: 2200 movs r2, #0 + 8005572: 611a str r2, [r3, #16] /* Initialize the DAC state*/ hdac->State = HAL_DAC_STATE_READY; - 8005a0c: 687b ldr r3, [r7, #4] - 8005a0e: 2201 movs r2, #1 - 8005a10: 711a strb r2, [r3, #4] + 8005574: 687b ldr r3, [r7, #4] + 8005576: 2201 movs r2, #1 + 8005578: 711a strb r2, [r3, #4] /* Return function status */ return HAL_OK; - 8005a12: 2300 movs r3, #0 + 800557a: 2300 movs r3, #0 } - 8005a14: 4618 mov r0, r3 - 8005a16: 3708 adds r7, #8 - 8005a18: 46bd mov sp, r7 - 8005a1a: bd80 pop {r7, pc} + 800557c: 4618 mov r0, r3 + 800557e: 3708 adds r7, #8 + 8005580: 46bd mov sp, r7 + 8005582: bd80 pop {r7, pc} -08005a1c : +08005584 : * @param hdac: pointer to a DAC_HandleTypeDef structure that contains * the configuration information for the specified DAC. * @retval None */ void HAL_DAC_IRQHandler(DAC_HandleTypeDef* hdac) { - 8005a1c: b580 push {r7, lr} - 8005a1e: b082 sub sp, #8 - 8005a20: af00 add r7, sp, #0 - 8005a22: 6078 str r0, [r7, #4] + 8005584: b580 push {r7, lr} + 8005586: b082 sub sp, #8 + 8005588: af00 add r7, sp, #0 + 800558a: 6078 str r0, [r7, #4] /* Check underrun channel 1 flag */ if(__HAL_DAC_GET_FLAG(hdac, DAC_FLAG_DMAUDR1)) - 8005a24: 687b ldr r3, [r7, #4] - 8005a26: 681b ldr r3, [r3, #0] - 8005a28: 6b5b ldr r3, [r3, #52] ; 0x34 - 8005a2a: f403 5300 and.w r3, r3, #8192 ; 0x2000 - 8005a2e: f5b3 5f00 cmp.w r3, #8192 ; 0x2000 - 8005a32: d118 bne.n 8005a66 + 800558c: 687b ldr r3, [r7, #4] + 800558e: 681b ldr r3, [r3, #0] + 8005590: 6b5b ldr r3, [r3, #52] ; 0x34 + 8005592: f403 5300 and.w r3, r3, #8192 ; 0x2000 + 8005596: f5b3 5f00 cmp.w r3, #8192 ; 0x2000 + 800559a: d118 bne.n 80055ce { /* Change DAC state to error state */ hdac->State = HAL_DAC_STATE_ERROR; - 8005a34: 687b ldr r3, [r7, #4] - 8005a36: 2204 movs r2, #4 - 8005a38: 711a strb r2, [r3, #4] + 800559c: 687b ldr r3, [r7, #4] + 800559e: 2204 movs r2, #4 + 80055a0: 711a strb r2, [r3, #4] /* Set DAC error code to channel1 DMA underrun error */ hdac->ErrorCode |= HAL_DAC_ERROR_DMAUNDERRUNCH1; - 8005a3a: 687b ldr r3, [r7, #4] - 8005a3c: 691b ldr r3, [r3, #16] - 8005a3e: f043 0201 orr.w r2, r3, #1 - 8005a42: 687b ldr r3, [r7, #4] - 8005a44: 611a str r2, [r3, #16] + 80055a2: 687b ldr r3, [r7, #4] + 80055a4: 691b ldr r3, [r3, #16] + 80055a6: f043 0201 orr.w r2, r3, #1 + 80055aa: 687b ldr r3, [r7, #4] + 80055ac: 611a str r2, [r3, #16] /* Clear the underrun flag */ __HAL_DAC_CLEAR_FLAG(hdac,DAC_FLAG_DMAUDR1); - 8005a46: 687b ldr r3, [r7, #4] - 8005a48: 681b ldr r3, [r3, #0] - 8005a4a: f44f 5200 mov.w r2, #8192 ; 0x2000 - 8005a4e: 635a str r2, [r3, #52] ; 0x34 + 80055ae: 687b ldr r3, [r7, #4] + 80055b0: 681b ldr r3, [r3, #0] + 80055b2: f44f 5200 mov.w r2, #8192 ; 0x2000 + 80055b6: 635a str r2, [r3, #52] ; 0x34 /* Disable the selected DAC channel1 DMA request */ hdac->Instance->CR &= ~DAC_CR_DMAEN1; - 8005a50: 687b ldr r3, [r7, #4] - 8005a52: 681b ldr r3, [r3, #0] - 8005a54: 681a ldr r2, [r3, #0] - 8005a56: 687b ldr r3, [r7, #4] - 8005a58: 681b ldr r3, [r3, #0] - 8005a5a: f422 5280 bic.w r2, r2, #4096 ; 0x1000 - 8005a5e: 601a str r2, [r3, #0] + 80055b8: 687b ldr r3, [r7, #4] + 80055ba: 681b ldr r3, [r3, #0] + 80055bc: 681a ldr r2, [r3, #0] + 80055be: 687b ldr r3, [r7, #4] + 80055c0: 681b ldr r3, [r3, #0] + 80055c2: f422 5280 bic.w r2, r2, #4096 ; 0x1000 + 80055c6: 601a str r2, [r3, #0] /* Error callback */ #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1) hdac->DMAUnderrunCallbackCh1(hdac); #else HAL_DAC_DMAUnderrunCallbackCh1(hdac); - 8005a60: 6878 ldr r0, [r7, #4] - 8005a62: f000 f825 bl 8005ab0 + 80055c8: 6878 ldr r0, [r7, #4] + 80055ca: f000 f825 bl 8005618 #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */ } /* Check underrun channel 2 flag */ if(__HAL_DAC_GET_FLAG(hdac, DAC_FLAG_DMAUDR2)) - 8005a66: 687b ldr r3, [r7, #4] - 8005a68: 681b ldr r3, [r3, #0] - 8005a6a: 6b5b ldr r3, [r3, #52] ; 0x34 - 8005a6c: f003 5300 and.w r3, r3, #536870912 ; 0x20000000 - 8005a70: f1b3 5f00 cmp.w r3, #536870912 ; 0x20000000 - 8005a74: d118 bne.n 8005aa8 + 80055ce: 687b ldr r3, [r7, #4] + 80055d0: 681b ldr r3, [r3, #0] + 80055d2: 6b5b ldr r3, [r3, #52] ; 0x34 + 80055d4: f003 5300 and.w r3, r3, #536870912 ; 0x20000000 + 80055d8: f1b3 5f00 cmp.w r3, #536870912 ; 0x20000000 + 80055dc: d118 bne.n 8005610 { /* Change DAC state to error state */ hdac->State = HAL_DAC_STATE_ERROR; - 8005a76: 687b ldr r3, [r7, #4] - 8005a78: 2204 movs r2, #4 - 8005a7a: 711a strb r2, [r3, #4] + 80055de: 687b ldr r3, [r7, #4] + 80055e0: 2204 movs r2, #4 + 80055e2: 711a strb r2, [r3, #4] /* Set DAC error code to channel2 DMA underrun error */ hdac->ErrorCode |= HAL_DAC_ERROR_DMAUNDERRUNCH2; - 8005a7c: 687b ldr r3, [r7, #4] - 8005a7e: 691b ldr r3, [r3, #16] - 8005a80: f043 0202 orr.w r2, r3, #2 - 8005a84: 687b ldr r3, [r7, #4] - 8005a86: 611a str r2, [r3, #16] + 80055e4: 687b ldr r3, [r7, #4] + 80055e6: 691b ldr r3, [r3, #16] + 80055e8: f043 0202 orr.w r2, r3, #2 + 80055ec: 687b ldr r3, [r7, #4] + 80055ee: 611a str r2, [r3, #16] /* Clear the underrun flag */ __HAL_DAC_CLEAR_FLAG(hdac,DAC_FLAG_DMAUDR2); - 8005a88: 687b ldr r3, [r7, #4] - 8005a8a: 681b ldr r3, [r3, #0] - 8005a8c: f04f 5200 mov.w r2, #536870912 ; 0x20000000 - 8005a90: 635a str r2, [r3, #52] ; 0x34 + 80055f0: 687b ldr r3, [r7, #4] + 80055f2: 681b ldr r3, [r3, #0] + 80055f4: f04f 5200 mov.w r2, #536870912 ; 0x20000000 + 80055f8: 635a str r2, [r3, #52] ; 0x34 /* Disable the selected DAC channel1 DMA request */ hdac->Instance->CR &= ~DAC_CR_DMAEN2; - 8005a92: 687b ldr r3, [r7, #4] - 8005a94: 681b ldr r3, [r3, #0] - 8005a96: 681a ldr r2, [r3, #0] - 8005a98: 687b ldr r3, [r7, #4] - 8005a9a: 681b ldr r3, [r3, #0] - 8005a9c: f022 5280 bic.w r2, r2, #268435456 ; 0x10000000 - 8005aa0: 601a str r2, [r3, #0] + 80055fa: 687b ldr r3, [r7, #4] + 80055fc: 681b ldr r3, [r3, #0] + 80055fe: 681a ldr r2, [r3, #0] + 8005600: 687b ldr r3, [r7, #4] + 8005602: 681b ldr r3, [r3, #0] + 8005604: f022 5280 bic.w r2, r2, #268435456 ; 0x10000000 + 8005608: 601a str r2, [r3, #0] /* Error callback */ #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1) hdac->DMAUnderrunCallbackCh2(hdac); #else HAL_DACEx_DMAUnderrunCallbackCh2(hdac); - 8005aa2: 6878 ldr r0, [r7, #4] - 8005aa4: f000 f85b bl 8005b5e + 800560a: 6878 ldr r0, [r7, #4] + 800560c: f000 f85b bl 80056c6 #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */ } } - 8005aa8: bf00 nop - 8005aaa: 3708 adds r7, #8 - 8005aac: 46bd mov sp, r7 - 8005aae: bd80 pop {r7, pc} + 8005610: bf00 nop + 8005612: 3708 adds r7, #8 + 8005614: 46bd mov sp, r7 + 8005616: bd80 pop {r7, pc} -08005ab0 : +08005618 : * @param hdac: pointer to a DAC_HandleTypeDef structure that contains * the configuration information for the specified DAC. * @retval None */ __weak void HAL_DAC_DMAUnderrunCallbackCh1(DAC_HandleTypeDef *hdac) { - 8005ab0: b480 push {r7} - 8005ab2: b083 sub sp, #12 - 8005ab4: af00 add r7, sp, #0 - 8005ab6: 6078 str r0, [r7, #4] + 8005618: b480 push {r7} + 800561a: b083 sub sp, #12 + 800561c: af00 add r7, sp, #0 + 800561e: 6078 str r0, [r7, #4] UNUSED(hdac); /* NOTE : This function Should not be modified, when the callback is needed, the HAL_DAC_DMAUnderrunCallbackCh1 could be implemented in the user file */ } - 8005ab8: bf00 nop - 8005aba: 370c adds r7, #12 - 8005abc: 46bd mov sp, r7 - 8005abe: f85d 7b04 ldr.w r7, [sp], #4 - 8005ac2: 4770 bx lr + 8005620: bf00 nop + 8005622: 370c adds r7, #12 + 8005624: 46bd mov sp, r7 + 8005626: f85d 7b04 ldr.w r7, [sp], #4 + 800562a: 4770 bx lr -08005ac4 : +0800562c : * @arg DAC_CHANNEL_1: DAC Channel1 selected * @arg DAC_CHANNEL_2: DAC Channel2 selected * @retval HAL status */ HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig, uint32_t Channel) { - 8005ac4: b480 push {r7} - 8005ac6: b087 sub sp, #28 - 8005ac8: af00 add r7, sp, #0 - 8005aca: 60f8 str r0, [r7, #12] - 8005acc: 60b9 str r1, [r7, #8] - 8005ace: 607a str r2, [r7, #4] + 800562c: b480 push {r7} + 800562e: b087 sub sp, #28 + 8005630: af00 add r7, sp, #0 + 8005632: 60f8 str r0, [r7, #12] + 8005634: 60b9 str r1, [r7, #8] + 8005636: 607a str r2, [r7, #4] uint32_t tmpreg1 = 0, tmpreg2 = 0; - 8005ad0: 2300 movs r3, #0 - 8005ad2: 617b str r3, [r7, #20] - 8005ad4: 2300 movs r3, #0 - 8005ad6: 613b str r3, [r7, #16] + 8005638: 2300 movs r3, #0 + 800563a: 617b str r3, [r7, #20] + 800563c: 2300 movs r3, #0 + 800563e: 613b str r3, [r7, #16] assert_param(IS_DAC_TRIGGER(sConfig->DAC_Trigger)); assert_param(IS_DAC_OUTPUT_BUFFER_STATE(sConfig->DAC_OutputBuffer)); assert_param(IS_DAC_CHANNEL(Channel)); /* Process locked */ __HAL_LOCK(hdac); - 8005ad8: 68fb ldr r3, [r7, #12] - 8005ada: 795b ldrb r3, [r3, #5] - 8005adc: 2b01 cmp r3, #1 - 8005ade: d101 bne.n 8005ae4 - 8005ae0: 2302 movs r3, #2 - 8005ae2: e036 b.n 8005b52 - 8005ae4: 68fb ldr r3, [r7, #12] - 8005ae6: 2201 movs r2, #1 - 8005ae8: 715a strb r2, [r3, #5] + 8005640: 68fb ldr r3, [r7, #12] + 8005642: 795b ldrb r3, [r3, #5] + 8005644: 2b01 cmp r3, #1 + 8005646: d101 bne.n 800564c + 8005648: 2302 movs r3, #2 + 800564a: e036 b.n 80056ba + 800564c: 68fb ldr r3, [r7, #12] + 800564e: 2201 movs r2, #1 + 8005650: 715a strb r2, [r3, #5] /* Change DAC state */ hdac->State = HAL_DAC_STATE_BUSY; - 8005aea: 68fb ldr r3, [r7, #12] - 8005aec: 2202 movs r2, #2 - 8005aee: 711a strb r2, [r3, #4] + 8005652: 68fb ldr r3, [r7, #12] + 8005654: 2202 movs r2, #2 + 8005656: 711a strb r2, [r3, #4] /* Get the DAC CR value */ tmpreg1 = hdac->Instance->CR; - 8005af0: 68fb ldr r3, [r7, #12] - 8005af2: 681b ldr r3, [r3, #0] - 8005af4: 681b ldr r3, [r3, #0] - 8005af6: 617b str r3, [r7, #20] + 8005658: 68fb ldr r3, [r7, #12] + 800565a: 681b ldr r3, [r3, #0] + 800565c: 681b ldr r3, [r3, #0] + 800565e: 617b str r3, [r7, #20] /* Clear BOFFx, TENx, TSELx, WAVEx and MAMPx bits */ tmpreg1 &= ~(((uint32_t)(DAC_CR_MAMP1 | DAC_CR_WAVE1 | DAC_CR_TSEL1 | DAC_CR_TEN1 | DAC_CR_BOFF1)) << Channel); - 8005af8: f640 72fe movw r2, #4094 ; 0xffe - 8005afc: 687b ldr r3, [r7, #4] - 8005afe: fa02 f303 lsl.w r3, r2, r3 - 8005b02: 43db mvns r3, r3 - 8005b04: 697a ldr r2, [r7, #20] - 8005b06: 4013 ands r3, r2 - 8005b08: 617b str r3, [r7, #20] + 8005660: f640 72fe movw r2, #4094 ; 0xffe + 8005664: 687b ldr r3, [r7, #4] + 8005666: fa02 f303 lsl.w r3, r2, r3 + 800566a: 43db mvns r3, r3 + 800566c: 697a ldr r2, [r7, #20] + 800566e: 4013 ands r3, r2 + 8005670: 617b str r3, [r7, #20] /* Configure for the selected DAC channel: buffer output, trigger */ /* Set TSELx and TENx bits according to DAC_Trigger value */ /* Set BOFFx bit according to DAC_OutputBuffer value */ tmpreg2 = (sConfig->DAC_Trigger | sConfig->DAC_OutputBuffer); - 8005b0a: 68bb ldr r3, [r7, #8] - 8005b0c: 681a ldr r2, [r3, #0] - 8005b0e: 68bb ldr r3, [r7, #8] - 8005b10: 685b ldr r3, [r3, #4] - 8005b12: 4313 orrs r3, r2 - 8005b14: 613b str r3, [r7, #16] + 8005672: 68bb ldr r3, [r7, #8] + 8005674: 681a ldr r2, [r3, #0] + 8005676: 68bb ldr r3, [r7, #8] + 8005678: 685b ldr r3, [r3, #4] + 800567a: 4313 orrs r3, r2 + 800567c: 613b str r3, [r7, #16] /* Calculate CR register value depending on DAC_Channel */ tmpreg1 |= tmpreg2 << Channel; - 8005b16: 693a ldr r2, [r7, #16] - 8005b18: 687b ldr r3, [r7, #4] - 8005b1a: fa02 f303 lsl.w r3, r2, r3 - 8005b1e: 697a ldr r2, [r7, #20] - 8005b20: 4313 orrs r3, r2 - 8005b22: 617b str r3, [r7, #20] + 800567e: 693a ldr r2, [r7, #16] + 8005680: 687b ldr r3, [r7, #4] + 8005682: fa02 f303 lsl.w r3, r2, r3 + 8005686: 697a ldr r2, [r7, #20] + 8005688: 4313 orrs r3, r2 + 800568a: 617b str r3, [r7, #20] /* Write to DAC CR */ hdac->Instance->CR = tmpreg1; - 8005b24: 68fb ldr r3, [r7, #12] - 8005b26: 681b ldr r3, [r3, #0] - 8005b28: 697a ldr r2, [r7, #20] - 8005b2a: 601a str r2, [r3, #0] + 800568c: 68fb ldr r3, [r7, #12] + 800568e: 681b ldr r3, [r3, #0] + 8005690: 697a ldr r2, [r7, #20] + 8005692: 601a str r2, [r3, #0] /* Disable wave generation */ hdac->Instance->CR &= ~(DAC_CR_WAVE1 << Channel); - 8005b2c: 68fb ldr r3, [r7, #12] - 8005b2e: 681b ldr r3, [r3, #0] - 8005b30: 6819 ldr r1, [r3, #0] - 8005b32: 22c0 movs r2, #192 ; 0xc0 - 8005b34: 687b ldr r3, [r7, #4] - 8005b36: fa02 f303 lsl.w r3, r2, r3 - 8005b3a: 43da mvns r2, r3 - 8005b3c: 68fb ldr r3, [r7, #12] - 8005b3e: 681b ldr r3, [r3, #0] - 8005b40: 400a ands r2, r1 - 8005b42: 601a str r2, [r3, #0] + 8005694: 68fb ldr r3, [r7, #12] + 8005696: 681b ldr r3, [r3, #0] + 8005698: 6819 ldr r1, [r3, #0] + 800569a: 22c0 movs r2, #192 ; 0xc0 + 800569c: 687b ldr r3, [r7, #4] + 800569e: fa02 f303 lsl.w r3, r2, r3 + 80056a2: 43da mvns r2, r3 + 80056a4: 68fb ldr r3, [r7, #12] + 80056a6: 681b ldr r3, [r3, #0] + 80056a8: 400a ands r2, r1 + 80056aa: 601a str r2, [r3, #0] /* Change DAC state */ hdac->State = HAL_DAC_STATE_READY; - 8005b44: 68fb ldr r3, [r7, #12] - 8005b46: 2201 movs r2, #1 - 8005b48: 711a strb r2, [r3, #4] + 80056ac: 68fb ldr r3, [r7, #12] + 80056ae: 2201 movs r2, #1 + 80056b0: 711a strb r2, [r3, #4] /* Process unlocked */ __HAL_UNLOCK(hdac); - 8005b4a: 68fb ldr r3, [r7, #12] - 8005b4c: 2200 movs r2, #0 - 8005b4e: 715a strb r2, [r3, #5] + 80056b2: 68fb ldr r3, [r7, #12] + 80056b4: 2200 movs r2, #0 + 80056b6: 715a strb r2, [r3, #5] /* Return function status */ return HAL_OK; - 8005b50: 2300 movs r3, #0 + 80056b8: 2300 movs r3, #0 } - 8005b52: 4618 mov r0, r3 - 8005b54: 371c adds r7, #28 - 8005b56: 46bd mov sp, r7 - 8005b58: f85d 7b04 ldr.w r7, [sp], #4 - 8005b5c: 4770 bx lr + 80056ba: 4618 mov r0, r3 + 80056bc: 371c adds r7, #28 + 80056be: 46bd mov sp, r7 + 80056c0: f85d 7b04 ldr.w r7, [sp], #4 + 80056c4: 4770 bx lr -08005b5e : +080056c6 : * @param hdac: pointer to a DAC_HandleTypeDef structure that contains * the configuration information for the specified DAC. * @retval None */ __weak void HAL_DACEx_DMAUnderrunCallbackCh2(DAC_HandleTypeDef *hdac) { - 8005b5e: b480 push {r7} - 8005b60: b083 sub sp, #12 - 8005b62: af00 add r7, sp, #0 - 8005b64: 6078 str r0, [r7, #4] + 80056c6: b480 push {r7} + 80056c8: b083 sub sp, #12 + 80056ca: af00 add r7, sp, #0 + 80056cc: 6078 str r0, [r7, #4] UNUSED(hdac); /* NOTE : This function Should not be modified, when the callback is needed, the HAL_DACEx_DMAUnderrunCallbackCh2 could be implemented in the user file */ } - 8005b66: bf00 nop - 8005b68: 370c adds r7, #12 - 8005b6a: 46bd mov sp, r7 - 8005b6c: f85d 7b04 ldr.w r7, [sp], #4 - 8005b70: 4770 bx lr + 80056ce: bf00 nop + 80056d0: 370c adds r7, #12 + 80056d2: 46bd mov sp, r7 + 80056d4: f85d 7b04 ldr.w r7, [sp], #4 + 80056d8: 4770 bx lr ... -08005b74 : +080056dc : * @param hdma Pointer to a DMA_HandleTypeDef structure that contains * the configuration information for the specified DMA Stream. * @retval HAL status */ HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma) { - 8005b74: b580 push {r7, lr} - 8005b76: b086 sub sp, #24 - 8005b78: af00 add r7, sp, #0 - 8005b7a: 6078 str r0, [r7, #4] + 80056dc: b580 push {r7, lr} + 80056de: b086 sub sp, #24 + 80056e0: af00 add r7, sp, #0 + 80056e2: 6078 str r0, [r7, #4] uint32_t tmp = 0U; - 8005b7c: 2300 movs r3, #0 - 8005b7e: 617b str r3, [r7, #20] + 80056e4: 2300 movs r3, #0 + 80056e6: 617b str r3, [r7, #20] uint32_t tickstart = HAL_GetTick(); - 8005b80: f7ff f956 bl 8004e30 - 8005b84: 6138 str r0, [r7, #16] + 80056e8: f7ff f956 bl 8004998 + 80056ec: 6138 str r0, [r7, #16] DMA_Base_Registers *regs; /* Check the DMA peripheral state */ if(hdma == NULL) - 8005b86: 687b ldr r3, [r7, #4] - 8005b88: 2b00 cmp r3, #0 - 8005b8a: d101 bne.n 8005b90 + 80056ee: 687b ldr r3, [r7, #4] + 80056f0: 2b00 cmp r3, #0 + 80056f2: d101 bne.n 80056f8 { return HAL_ERROR; - 8005b8c: 2301 movs r3, #1 - 8005b8e: e099 b.n 8005cc4 + 80056f4: 2301 movs r3, #1 + 80056f6: e099 b.n 800582c assert_param(IS_DMA_MEMORY_BURST(hdma->Init.MemBurst)); assert_param(IS_DMA_PERIPHERAL_BURST(hdma->Init.PeriphBurst)); } /* Allocate lock resource */ __HAL_UNLOCK(hdma); - 8005b90: 687b ldr r3, [r7, #4] - 8005b92: 2200 movs r2, #0 - 8005b94: f883 2034 strb.w r2, [r3, #52] ; 0x34 + 80056f8: 687b ldr r3, [r7, #4] + 80056fa: 2200 movs r2, #0 + 80056fc: f883 2034 strb.w r2, [r3, #52] ; 0x34 /* Change DMA peripheral state */ hdma->State = HAL_DMA_STATE_BUSY; - 8005b98: 687b ldr r3, [r7, #4] - 8005b9a: 2202 movs r2, #2 - 8005b9c: f883 2035 strb.w r2, [r3, #53] ; 0x35 + 8005700: 687b ldr r3, [r7, #4] + 8005702: 2202 movs r2, #2 + 8005704: f883 2035 strb.w r2, [r3, #53] ; 0x35 /* Disable the peripheral */ __HAL_DMA_DISABLE(hdma); - 8005ba0: 687b ldr r3, [r7, #4] - 8005ba2: 681b ldr r3, [r3, #0] - 8005ba4: 681a ldr r2, [r3, #0] - 8005ba6: 687b ldr r3, [r7, #4] - 8005ba8: 681b ldr r3, [r3, #0] - 8005baa: f022 0201 bic.w r2, r2, #1 - 8005bae: 601a str r2, [r3, #0] + 8005708: 687b ldr r3, [r7, #4] + 800570a: 681b ldr r3, [r3, #0] + 800570c: 681a ldr r2, [r3, #0] + 800570e: 687b ldr r3, [r7, #4] + 8005710: 681b ldr r3, [r3, #0] + 8005712: f022 0201 bic.w r2, r2, #1 + 8005716: 601a str r2, [r3, #0] /* Check if the DMA Stream is effectively disabled */ while((hdma->Instance->CR & DMA_SxCR_EN) != RESET) - 8005bb0: e00f b.n 8005bd2 + 8005718: e00f b.n 800573a { /* Check for the Timeout */ if((HAL_GetTick() - tickstart ) > HAL_TIMEOUT_DMA_ABORT) - 8005bb2: f7ff f93d bl 8004e30 - 8005bb6: 4602 mov r2, r0 - 8005bb8: 693b ldr r3, [r7, #16] - 8005bba: 1ad3 subs r3, r2, r3 - 8005bbc: 2b05 cmp r3, #5 - 8005bbe: d908 bls.n 8005bd2 + 800571a: f7ff f93d bl 8004998 + 800571e: 4602 mov r2, r0 + 8005720: 693b ldr r3, [r7, #16] + 8005722: 1ad3 subs r3, r2, r3 + 8005724: 2b05 cmp r3, #5 + 8005726: d908 bls.n 800573a { /* Update error code */ hdma->ErrorCode = HAL_DMA_ERROR_TIMEOUT; - 8005bc0: 687b ldr r3, [r7, #4] - 8005bc2: 2220 movs r2, #32 - 8005bc4: 655a str r2, [r3, #84] ; 0x54 + 8005728: 687b ldr r3, [r7, #4] + 800572a: 2220 movs r2, #32 + 800572c: 655a str r2, [r3, #84] ; 0x54 /* Change the DMA state */ hdma->State = HAL_DMA_STATE_TIMEOUT; - 8005bc6: 687b ldr r3, [r7, #4] - 8005bc8: 2203 movs r2, #3 - 8005bca: f883 2035 strb.w r2, [r3, #53] ; 0x35 + 800572e: 687b ldr r3, [r7, #4] + 8005730: 2203 movs r2, #3 + 8005732: f883 2035 strb.w r2, [r3, #53] ; 0x35 return HAL_TIMEOUT; - 8005bce: 2303 movs r3, #3 - 8005bd0: e078 b.n 8005cc4 + 8005736: 2303 movs r3, #3 + 8005738: e078 b.n 800582c while((hdma->Instance->CR & DMA_SxCR_EN) != RESET) - 8005bd2: 687b ldr r3, [r7, #4] - 8005bd4: 681b ldr r3, [r3, #0] - 8005bd6: 681b ldr r3, [r3, #0] - 8005bd8: f003 0301 and.w r3, r3, #1 - 8005bdc: 2b00 cmp r3, #0 - 8005bde: d1e8 bne.n 8005bb2 + 800573a: 687b ldr r3, [r7, #4] + 800573c: 681b ldr r3, [r3, #0] + 800573e: 681b ldr r3, [r3, #0] + 8005740: f003 0301 and.w r3, r3, #1 + 8005744: 2b00 cmp r3, #0 + 8005746: d1e8 bne.n 800571a } } /* Get the CR register value */ tmp = hdma->Instance->CR; - 8005be0: 687b ldr r3, [r7, #4] - 8005be2: 681b ldr r3, [r3, #0] - 8005be4: 681b ldr r3, [r3, #0] - 8005be6: 617b str r3, [r7, #20] + 8005748: 687b ldr r3, [r7, #4] + 800574a: 681b ldr r3, [r3, #0] + 800574c: 681b ldr r3, [r3, #0] + 800574e: 617b str r3, [r7, #20] /* Clear CHSEL, MBURST, PBURST, PL, MSIZE, PSIZE, MINC, PINC, CIRC, DIR, CT and DBM bits */ tmp &= ((uint32_t)~(DMA_SxCR_CHSEL | DMA_SxCR_MBURST | DMA_SxCR_PBURST | \ - 8005be8: 697a ldr r2, [r7, #20] - 8005bea: 4b38 ldr r3, [pc, #224] ; (8005ccc ) - 8005bec: 4013 ands r3, r2 - 8005bee: 617b str r3, [r7, #20] + 8005750: 697a ldr r2, [r7, #20] + 8005752: 4b38 ldr r3, [pc, #224] ; (8005834 ) + 8005754: 4013 ands r3, r2 + 8005756: 617b str r3, [r7, #20] DMA_SxCR_PL | DMA_SxCR_MSIZE | DMA_SxCR_PSIZE | \ DMA_SxCR_MINC | DMA_SxCR_PINC | DMA_SxCR_CIRC | \ DMA_SxCR_DIR | DMA_SxCR_CT | DMA_SxCR_DBM)); /* Prepare the DMA Stream configuration */ tmp |= hdma->Init.Channel | hdma->Init.Direction | - 8005bf0: 687b ldr r3, [r7, #4] - 8005bf2: 685a ldr r2, [r3, #4] - 8005bf4: 687b ldr r3, [r7, #4] - 8005bf6: 689b ldr r3, [r3, #8] - 8005bf8: 431a orrs r2, r3 + 8005758: 687b ldr r3, [r7, #4] + 800575a: 685a ldr r2, [r3, #4] + 800575c: 687b ldr r3, [r7, #4] + 800575e: 689b ldr r3, [r3, #8] + 8005760: 431a orrs r2, r3 hdma->Init.PeriphInc | hdma->Init.MemInc | - 8005bfa: 687b ldr r3, [r7, #4] - 8005bfc: 68db ldr r3, [r3, #12] + 8005762: 687b ldr r3, [r7, #4] + 8005764: 68db ldr r3, [r3, #12] tmp |= hdma->Init.Channel | hdma->Init.Direction | - 8005bfe: 431a orrs r2, r3 + 8005766: 431a orrs r2, r3 hdma->Init.PeriphInc | hdma->Init.MemInc | - 8005c00: 687b ldr r3, [r7, #4] - 8005c02: 691b ldr r3, [r3, #16] - 8005c04: 431a orrs r2, r3 + 8005768: 687b ldr r3, [r7, #4] + 800576a: 691b ldr r3, [r3, #16] + 800576c: 431a orrs r2, r3 hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | - 8005c06: 687b ldr r3, [r7, #4] - 8005c08: 695b ldr r3, [r3, #20] + 800576e: 687b ldr r3, [r7, #4] + 8005770: 695b ldr r3, [r3, #20] hdma->Init.PeriphInc | hdma->Init.MemInc | - 8005c0a: 431a orrs r2, r3 + 8005772: 431a orrs r2, r3 hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | - 8005c0c: 687b ldr r3, [r7, #4] - 8005c0e: 699b ldr r3, [r3, #24] - 8005c10: 431a orrs r2, r3 + 8005774: 687b ldr r3, [r7, #4] + 8005776: 699b ldr r3, [r3, #24] + 8005778: 431a orrs r2, r3 hdma->Init.Mode | hdma->Init.Priority; - 8005c12: 687b ldr r3, [r7, #4] - 8005c14: 69db ldr r3, [r3, #28] + 800577a: 687b ldr r3, [r7, #4] + 800577c: 69db ldr r3, [r3, #28] hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | - 8005c16: 431a orrs r2, r3 + 800577e: 431a orrs r2, r3 hdma->Init.Mode | hdma->Init.Priority; - 8005c18: 687b ldr r3, [r7, #4] - 8005c1a: 6a1b ldr r3, [r3, #32] - 8005c1c: 4313 orrs r3, r2 + 8005780: 687b ldr r3, [r7, #4] + 8005782: 6a1b ldr r3, [r3, #32] + 8005784: 4313 orrs r3, r2 tmp |= hdma->Init.Channel | hdma->Init.Direction | - 8005c1e: 697a ldr r2, [r7, #20] - 8005c20: 4313 orrs r3, r2 - 8005c22: 617b str r3, [r7, #20] + 8005786: 697a ldr r2, [r7, #20] + 8005788: 4313 orrs r3, r2 + 800578a: 617b str r3, [r7, #20] /* the Memory burst and peripheral burst are not used when the FIFO is disabled */ if(hdma->Init.FIFOMode == DMA_FIFOMODE_ENABLE) - 8005c24: 687b ldr r3, [r7, #4] - 8005c26: 6a5b ldr r3, [r3, #36] ; 0x24 - 8005c28: 2b04 cmp r3, #4 - 8005c2a: d107 bne.n 8005c3c + 800578c: 687b ldr r3, [r7, #4] + 800578e: 6a5b ldr r3, [r3, #36] ; 0x24 + 8005790: 2b04 cmp r3, #4 + 8005792: d107 bne.n 80057a4 { /* Get memory burst and peripheral burst */ tmp |= hdma->Init.MemBurst | hdma->Init.PeriphBurst; - 8005c2c: 687b ldr r3, [r7, #4] - 8005c2e: 6ada ldr r2, [r3, #44] ; 0x2c - 8005c30: 687b ldr r3, [r7, #4] - 8005c32: 6b1b ldr r3, [r3, #48] ; 0x30 - 8005c34: 4313 orrs r3, r2 - 8005c36: 697a ldr r2, [r7, #20] - 8005c38: 4313 orrs r3, r2 - 8005c3a: 617b str r3, [r7, #20] + 8005794: 687b ldr r3, [r7, #4] + 8005796: 6ada ldr r2, [r3, #44] ; 0x2c + 8005798: 687b ldr r3, [r7, #4] + 800579a: 6b1b ldr r3, [r3, #48] ; 0x30 + 800579c: 4313 orrs r3, r2 + 800579e: 697a ldr r2, [r7, #20] + 80057a0: 4313 orrs r3, r2 + 80057a2: 617b str r3, [r7, #20] } /* Write to DMA Stream CR register */ hdma->Instance->CR = tmp; - 8005c3c: 687b ldr r3, [r7, #4] - 8005c3e: 681b ldr r3, [r3, #0] - 8005c40: 697a ldr r2, [r7, #20] - 8005c42: 601a str r2, [r3, #0] + 80057a4: 687b ldr r3, [r7, #4] + 80057a6: 681b ldr r3, [r3, #0] + 80057a8: 697a ldr r2, [r7, #20] + 80057aa: 601a str r2, [r3, #0] /* Get the FCR register value */ tmp = hdma->Instance->FCR; - 8005c44: 687b ldr r3, [r7, #4] - 8005c46: 681b ldr r3, [r3, #0] - 8005c48: 695b ldr r3, [r3, #20] - 8005c4a: 617b str r3, [r7, #20] + 80057ac: 687b ldr r3, [r7, #4] + 80057ae: 681b ldr r3, [r3, #0] + 80057b0: 695b ldr r3, [r3, #20] + 80057b2: 617b str r3, [r7, #20] /* Clear Direct mode and FIFO threshold bits */ tmp &= (uint32_t)~(DMA_SxFCR_DMDIS | DMA_SxFCR_FTH); - 8005c4c: 697b ldr r3, [r7, #20] - 8005c4e: f023 0307 bic.w r3, r3, #7 - 8005c52: 617b str r3, [r7, #20] + 80057b4: 697b ldr r3, [r7, #20] + 80057b6: f023 0307 bic.w r3, r3, #7 + 80057ba: 617b str r3, [r7, #20] /* Prepare the DMA Stream FIFO configuration */ tmp |= hdma->Init.FIFOMode; - 8005c54: 687b ldr r3, [r7, #4] - 8005c56: 6a5b ldr r3, [r3, #36] ; 0x24 - 8005c58: 697a ldr r2, [r7, #20] - 8005c5a: 4313 orrs r3, r2 - 8005c5c: 617b str r3, [r7, #20] + 80057bc: 687b ldr r3, [r7, #4] + 80057be: 6a5b ldr r3, [r3, #36] ; 0x24 + 80057c0: 697a ldr r2, [r7, #20] + 80057c2: 4313 orrs r3, r2 + 80057c4: 617b str r3, [r7, #20] /* The FIFO threshold is not used when the FIFO mode is disabled */ if(hdma->Init.FIFOMode == DMA_FIFOMODE_ENABLE) - 8005c5e: 687b ldr r3, [r7, #4] - 8005c60: 6a5b ldr r3, [r3, #36] ; 0x24 - 8005c62: 2b04 cmp r3, #4 - 8005c64: d117 bne.n 8005c96 + 80057c6: 687b ldr r3, [r7, #4] + 80057c8: 6a5b ldr r3, [r3, #36] ; 0x24 + 80057ca: 2b04 cmp r3, #4 + 80057cc: d117 bne.n 80057fe { /* Get the FIFO threshold */ tmp |= hdma->Init.FIFOThreshold; - 8005c66: 687b ldr r3, [r7, #4] - 8005c68: 6a9b ldr r3, [r3, #40] ; 0x28 - 8005c6a: 697a ldr r2, [r7, #20] - 8005c6c: 4313 orrs r3, r2 - 8005c6e: 617b str r3, [r7, #20] + 80057ce: 687b ldr r3, [r7, #4] + 80057d0: 6a9b ldr r3, [r3, #40] ; 0x28 + 80057d2: 697a ldr r2, [r7, #20] + 80057d4: 4313 orrs r3, r2 + 80057d6: 617b str r3, [r7, #20] /* Check compatibility between FIFO threshold level and size of the memory burst */ /* for INCR4, INCR8, INCR16 bursts */ if (hdma->Init.MemBurst != DMA_MBURST_SINGLE) - 8005c70: 687b ldr r3, [r7, #4] - 8005c72: 6adb ldr r3, [r3, #44] ; 0x2c - 8005c74: 2b00 cmp r3, #0 - 8005c76: d00e beq.n 8005c96 + 80057d8: 687b ldr r3, [r7, #4] + 80057da: 6adb ldr r3, [r3, #44] ; 0x2c + 80057dc: 2b00 cmp r3, #0 + 80057de: d00e beq.n 80057fe { if (DMA_CheckFifoParam(hdma) != HAL_OK) - 8005c78: 6878 ldr r0, [r7, #4] - 8005c7a: f000 f8bd bl 8005df8 - 8005c7e: 4603 mov r3, r0 - 8005c80: 2b00 cmp r3, #0 - 8005c82: d008 beq.n 8005c96 + 80057e0: 6878 ldr r0, [r7, #4] + 80057e2: f000 f8bd bl 8005960 + 80057e6: 4603 mov r3, r0 + 80057e8: 2b00 cmp r3, #0 + 80057ea: d008 beq.n 80057fe { /* Update error code */ hdma->ErrorCode = HAL_DMA_ERROR_PARAM; - 8005c84: 687b ldr r3, [r7, #4] - 8005c86: 2240 movs r2, #64 ; 0x40 - 8005c88: 655a str r2, [r3, #84] ; 0x54 + 80057ec: 687b ldr r3, [r7, #4] + 80057ee: 2240 movs r2, #64 ; 0x40 + 80057f0: 655a str r2, [r3, #84] ; 0x54 /* Change the DMA state */ hdma->State = HAL_DMA_STATE_READY; - 8005c8a: 687b ldr r3, [r7, #4] - 8005c8c: 2201 movs r2, #1 - 8005c8e: f883 2035 strb.w r2, [r3, #53] ; 0x35 + 80057f2: 687b ldr r3, [r7, #4] + 80057f4: 2201 movs r2, #1 + 80057f6: f883 2035 strb.w r2, [r3, #53] ; 0x35 return HAL_ERROR; - 8005c92: 2301 movs r3, #1 - 8005c94: e016 b.n 8005cc4 + 80057fa: 2301 movs r3, #1 + 80057fc: e016 b.n 800582c } } } /* Write to DMA Stream FCR */ hdma->Instance->FCR = tmp; - 8005c96: 687b ldr r3, [r7, #4] - 8005c98: 681b ldr r3, [r3, #0] - 8005c9a: 697a ldr r2, [r7, #20] - 8005c9c: 615a str r2, [r3, #20] + 80057fe: 687b ldr r3, [r7, #4] + 8005800: 681b ldr r3, [r3, #0] + 8005802: 697a ldr r2, [r7, #20] + 8005804: 615a str r2, [r3, #20] /* Initialize StreamBaseAddress and StreamIndex parameters to be used to calculate DMA steam Base Address needed by HAL_DMA_IRQHandler() and HAL_DMA_PollForTransfer() */ regs = (DMA_Base_Registers *)DMA_CalcBaseAndBitshift(hdma); - 8005c9e: 6878 ldr r0, [r7, #4] - 8005ca0: f000 f874 bl 8005d8c - 8005ca4: 4603 mov r3, r0 - 8005ca6: 60fb str r3, [r7, #12] + 8005806: 6878 ldr r0, [r7, #4] + 8005808: f000 f874 bl 80058f4 + 800580c: 4603 mov r3, r0 + 800580e: 60fb str r3, [r7, #12] /* Clear all interrupt flags */ regs->IFCR = 0x3FU << hdma->StreamIndex; - 8005ca8: 687b ldr r3, [r7, #4] - 8005caa: 6ddb ldr r3, [r3, #92] ; 0x5c - 8005cac: 223f movs r2, #63 ; 0x3f - 8005cae: 409a lsls r2, r3 - 8005cb0: 68fb ldr r3, [r7, #12] - 8005cb2: 609a str r2, [r3, #8] + 8005810: 687b ldr r3, [r7, #4] + 8005812: 6ddb ldr r3, [r3, #92] ; 0x5c + 8005814: 223f movs r2, #63 ; 0x3f + 8005816: 409a lsls r2, r3 + 8005818: 68fb ldr r3, [r7, #12] + 800581a: 609a str r2, [r3, #8] /* Initialize the error code */ hdma->ErrorCode = HAL_DMA_ERROR_NONE; - 8005cb4: 687b ldr r3, [r7, #4] - 8005cb6: 2200 movs r2, #0 - 8005cb8: 655a str r2, [r3, #84] ; 0x54 + 800581c: 687b ldr r3, [r7, #4] + 800581e: 2200 movs r2, #0 + 8005820: 655a str r2, [r3, #84] ; 0x54 /* Initialize the DMA state */ hdma->State = HAL_DMA_STATE_READY; - 8005cba: 687b ldr r3, [r7, #4] - 8005cbc: 2201 movs r2, #1 - 8005cbe: f883 2035 strb.w r2, [r3, #53] ; 0x35 + 8005822: 687b ldr r3, [r7, #4] + 8005824: 2201 movs r2, #1 + 8005826: f883 2035 strb.w r2, [r3, #53] ; 0x35 return HAL_OK; - 8005cc2: 2300 movs r3, #0 + 800582a: 2300 movs r3, #0 } - 8005cc4: 4618 mov r0, r3 - 8005cc6: 3718 adds r7, #24 - 8005cc8: 46bd mov sp, r7 - 8005cca: bd80 pop {r7, pc} - 8005ccc: f010803f .word 0xf010803f + 800582c: 4618 mov r0, r3 + 800582e: 3718 adds r7, #24 + 8005830: 46bd mov sp, r7 + 8005832: bd80 pop {r7, pc} + 8005834: f010803f .word 0xf010803f -08005cd0 : +08005838 : * @param hdma pointer to a DMA_HandleTypeDef structure that contains * the configuration information for the specified DMA Stream. * @retval HAL status */ HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma) { - 8005cd0: b580 push {r7, lr} - 8005cd2: b084 sub sp, #16 - 8005cd4: af00 add r7, sp, #0 - 8005cd6: 6078 str r0, [r7, #4] + 8005838: b580 push {r7, lr} + 800583a: b084 sub sp, #16 + 800583c: af00 add r7, sp, #0 + 800583e: 6078 str r0, [r7, #4] DMA_Base_Registers *regs; /* Check the DMA peripheral state */ if(hdma == NULL) - 8005cd8: 687b ldr r3, [r7, #4] - 8005cda: 2b00 cmp r3, #0 - 8005cdc: d101 bne.n 8005ce2 + 8005840: 687b ldr r3, [r7, #4] + 8005842: 2b00 cmp r3, #0 + 8005844: d101 bne.n 800584a { return HAL_ERROR; - 8005cde: 2301 movs r3, #1 - 8005ce0: e050 b.n 8005d84 + 8005846: 2301 movs r3, #1 + 8005848: e050 b.n 80058ec } /* Check the DMA peripheral state */ if(hdma->State == HAL_DMA_STATE_BUSY) - 8005ce2: 687b ldr r3, [r7, #4] - 8005ce4: f893 3035 ldrb.w r3, [r3, #53] ; 0x35 - 8005ce8: b2db uxtb r3, r3 - 8005cea: 2b02 cmp r3, #2 - 8005cec: d101 bne.n 8005cf2 + 800584a: 687b ldr r3, [r7, #4] + 800584c: f893 3035 ldrb.w r3, [r3, #53] ; 0x35 + 8005850: b2db uxtb r3, r3 + 8005852: 2b02 cmp r3, #2 + 8005854: d101 bne.n 800585a { /* Return error status */ return HAL_BUSY; - 8005cee: 2302 movs r3, #2 - 8005cf0: e048 b.n 8005d84 + 8005856: 2302 movs r3, #2 + 8005858: e048 b.n 80058ec /* Check the parameters */ assert_param(IS_DMA_STREAM_ALL_INSTANCE(hdma->Instance)); /* Disable the selected DMA Streamx */ __HAL_DMA_DISABLE(hdma); - 8005cf2: 687b ldr r3, [r7, #4] - 8005cf4: 681b ldr r3, [r3, #0] - 8005cf6: 681a ldr r2, [r3, #0] - 8005cf8: 687b ldr r3, [r7, #4] - 8005cfa: 681b ldr r3, [r3, #0] - 8005cfc: f022 0201 bic.w r2, r2, #1 - 8005d00: 601a str r2, [r3, #0] + 800585a: 687b ldr r3, [r7, #4] + 800585c: 681b ldr r3, [r3, #0] + 800585e: 681a ldr r2, [r3, #0] + 8005860: 687b ldr r3, [r7, #4] + 8005862: 681b ldr r3, [r3, #0] + 8005864: f022 0201 bic.w r2, r2, #1 + 8005868: 601a str r2, [r3, #0] /* Reset DMA Streamx control register */ hdma->Instance->CR = 0U; - 8005d02: 687b ldr r3, [r7, #4] - 8005d04: 681b ldr r3, [r3, #0] - 8005d06: 2200 movs r2, #0 - 8005d08: 601a str r2, [r3, #0] + 800586a: 687b ldr r3, [r7, #4] + 800586c: 681b ldr r3, [r3, #0] + 800586e: 2200 movs r2, #0 + 8005870: 601a str r2, [r3, #0] /* Reset DMA Streamx number of data to transfer register */ hdma->Instance->NDTR = 0U; - 8005d0a: 687b ldr r3, [r7, #4] - 8005d0c: 681b ldr r3, [r3, #0] - 8005d0e: 2200 movs r2, #0 - 8005d10: 605a str r2, [r3, #4] + 8005872: 687b ldr r3, [r7, #4] + 8005874: 681b ldr r3, [r3, #0] + 8005876: 2200 movs r2, #0 + 8005878: 605a str r2, [r3, #4] /* Reset DMA Streamx peripheral address register */ hdma->Instance->PAR = 0U; - 8005d12: 687b ldr r3, [r7, #4] - 8005d14: 681b ldr r3, [r3, #0] - 8005d16: 2200 movs r2, #0 - 8005d18: 609a str r2, [r3, #8] + 800587a: 687b ldr r3, [r7, #4] + 800587c: 681b ldr r3, [r3, #0] + 800587e: 2200 movs r2, #0 + 8005880: 609a str r2, [r3, #8] /* Reset DMA Streamx memory 0 address register */ hdma->Instance->M0AR = 0U; - 8005d1a: 687b ldr r3, [r7, #4] - 8005d1c: 681b ldr r3, [r3, #0] - 8005d1e: 2200 movs r2, #0 - 8005d20: 60da str r2, [r3, #12] + 8005882: 687b ldr r3, [r7, #4] + 8005884: 681b ldr r3, [r3, #0] + 8005886: 2200 movs r2, #0 + 8005888: 60da str r2, [r3, #12] /* Reset DMA Streamx memory 1 address register */ hdma->Instance->M1AR = 0U; - 8005d22: 687b ldr r3, [r7, #4] - 8005d24: 681b ldr r3, [r3, #0] - 8005d26: 2200 movs r2, #0 - 8005d28: 611a str r2, [r3, #16] + 800588a: 687b ldr r3, [r7, #4] + 800588c: 681b ldr r3, [r3, #0] + 800588e: 2200 movs r2, #0 + 8005890: 611a str r2, [r3, #16] /* Reset DMA Streamx FIFO control register */ hdma->Instance->FCR = (uint32_t)0x00000021U; - 8005d2a: 687b ldr r3, [r7, #4] - 8005d2c: 681b ldr r3, [r3, #0] - 8005d2e: 2221 movs r2, #33 ; 0x21 - 8005d30: 615a str r2, [r3, #20] + 8005892: 687b ldr r3, [r7, #4] + 8005894: 681b ldr r3, [r3, #0] + 8005896: 2221 movs r2, #33 ; 0x21 + 8005898: 615a str r2, [r3, #20] /* Get DMA steam Base Address */ regs = (DMA_Base_Registers *)DMA_CalcBaseAndBitshift(hdma); - 8005d32: 6878 ldr r0, [r7, #4] - 8005d34: f000 f82a bl 8005d8c - 8005d38: 4603 mov r3, r0 - 8005d3a: 60fb str r3, [r7, #12] + 800589a: 6878 ldr r0, [r7, #4] + 800589c: f000 f82a bl 80058f4 + 80058a0: 4603 mov r3, r0 + 80058a2: 60fb str r3, [r7, #12] /* Clear all interrupt flags at correct offset within the register */ regs->IFCR = 0x3FU << hdma->StreamIndex; - 8005d3c: 687b ldr r3, [r7, #4] - 8005d3e: 6ddb ldr r3, [r3, #92] ; 0x5c - 8005d40: 223f movs r2, #63 ; 0x3f - 8005d42: 409a lsls r2, r3 - 8005d44: 68fb ldr r3, [r7, #12] - 8005d46: 609a str r2, [r3, #8] + 80058a4: 687b ldr r3, [r7, #4] + 80058a6: 6ddb ldr r3, [r3, #92] ; 0x5c + 80058a8: 223f movs r2, #63 ; 0x3f + 80058aa: 409a lsls r2, r3 + 80058ac: 68fb ldr r3, [r7, #12] + 80058ae: 609a str r2, [r3, #8] /* Clean all callbacks */ hdma->XferCpltCallback = NULL; - 8005d48: 687b ldr r3, [r7, #4] - 8005d4a: 2200 movs r2, #0 - 8005d4c: 63da str r2, [r3, #60] ; 0x3c + 80058b0: 687b ldr r3, [r7, #4] + 80058b2: 2200 movs r2, #0 + 80058b4: 63da str r2, [r3, #60] ; 0x3c hdma->XferHalfCpltCallback = NULL; - 8005d4e: 687b ldr r3, [r7, #4] - 8005d50: 2200 movs r2, #0 - 8005d52: 641a str r2, [r3, #64] ; 0x40 + 80058b6: 687b ldr r3, [r7, #4] + 80058b8: 2200 movs r2, #0 + 80058ba: 641a str r2, [r3, #64] ; 0x40 hdma->XferM1CpltCallback = NULL; - 8005d54: 687b ldr r3, [r7, #4] - 8005d56: 2200 movs r2, #0 - 8005d58: 645a str r2, [r3, #68] ; 0x44 + 80058bc: 687b ldr r3, [r7, #4] + 80058be: 2200 movs r2, #0 + 80058c0: 645a str r2, [r3, #68] ; 0x44 hdma->XferM1HalfCpltCallback = NULL; - 8005d5a: 687b ldr r3, [r7, #4] - 8005d5c: 2200 movs r2, #0 - 8005d5e: 649a str r2, [r3, #72] ; 0x48 + 80058c2: 687b ldr r3, [r7, #4] + 80058c4: 2200 movs r2, #0 + 80058c6: 649a str r2, [r3, #72] ; 0x48 hdma->XferErrorCallback = NULL; - 8005d60: 687b ldr r3, [r7, #4] - 8005d62: 2200 movs r2, #0 - 8005d64: 64da str r2, [r3, #76] ; 0x4c + 80058c8: 687b ldr r3, [r7, #4] + 80058ca: 2200 movs r2, #0 + 80058cc: 64da str r2, [r3, #76] ; 0x4c hdma->XferAbortCallback = NULL; - 8005d66: 687b ldr r3, [r7, #4] - 8005d68: 2200 movs r2, #0 - 8005d6a: 651a str r2, [r3, #80] ; 0x50 + 80058ce: 687b ldr r3, [r7, #4] + 80058d0: 2200 movs r2, #0 + 80058d2: 651a str r2, [r3, #80] ; 0x50 /* Reset the error code */ hdma->ErrorCode = HAL_DMA_ERROR_NONE; - 8005d6c: 687b ldr r3, [r7, #4] - 8005d6e: 2200 movs r2, #0 - 8005d70: 655a str r2, [r3, #84] ; 0x54 + 80058d4: 687b ldr r3, [r7, #4] + 80058d6: 2200 movs r2, #0 + 80058d8: 655a str r2, [r3, #84] ; 0x54 /* Reset the DMA state */ hdma->State = HAL_DMA_STATE_RESET; - 8005d72: 687b ldr r3, [r7, #4] - 8005d74: 2200 movs r2, #0 - 8005d76: f883 2035 strb.w r2, [r3, #53] ; 0x35 + 80058da: 687b ldr r3, [r7, #4] + 80058dc: 2200 movs r2, #0 + 80058de: f883 2035 strb.w r2, [r3, #53] ; 0x35 /* Release Lock */ __HAL_UNLOCK(hdma); - 8005d7a: 687b ldr r3, [r7, #4] - 8005d7c: 2200 movs r2, #0 - 8005d7e: f883 2034 strb.w r2, [r3, #52] ; 0x34 + 80058e2: 687b ldr r3, [r7, #4] + 80058e4: 2200 movs r2, #0 + 80058e6: f883 2034 strb.w r2, [r3, #52] ; 0x34 return HAL_OK; - 8005d82: 2300 movs r3, #0 + 80058ea: 2300 movs r3, #0 } - 8005d84: 4618 mov r0, r3 - 8005d86: 3710 adds r7, #16 - 8005d88: 46bd mov sp, r7 - 8005d8a: bd80 pop {r7, pc} + 80058ec: 4618 mov r0, r3 + 80058ee: 3710 adds r7, #16 + 80058f0: 46bd mov sp, r7 + 80058f2: bd80 pop {r7, pc} -08005d8c : +080058f4 : * @param hdma pointer to a DMA_HandleTypeDef structure that contains * the configuration information for the specified DMA Stream. * @retval Stream base address */ static uint32_t DMA_CalcBaseAndBitshift(DMA_HandleTypeDef *hdma) { - 8005d8c: b480 push {r7} - 8005d8e: b085 sub sp, #20 - 8005d90: af00 add r7, sp, #0 - 8005d92: 6078 str r0, [r7, #4] + 80058f4: b480 push {r7} + 80058f6: b085 sub sp, #20 + 80058f8: af00 add r7, sp, #0 + 80058fa: 6078 str r0, [r7, #4] uint32_t stream_number = (((uint32_t)hdma->Instance & 0xFFU) - 16U) / 24U; - 8005d94: 687b ldr r3, [r7, #4] - 8005d96: 681b ldr r3, [r3, #0] - 8005d98: b2db uxtb r3, r3 - 8005d9a: 3b10 subs r3, #16 - 8005d9c: 4a13 ldr r2, [pc, #76] ; (8005dec ) - 8005d9e: fba2 2303 umull r2, r3, r2, r3 - 8005da2: 091b lsrs r3, r3, #4 - 8005da4: 60fb str r3, [r7, #12] + 80058fc: 687b ldr r3, [r7, #4] + 80058fe: 681b ldr r3, [r3, #0] + 8005900: b2db uxtb r3, r3 + 8005902: 3b10 subs r3, #16 + 8005904: 4a13 ldr r2, [pc, #76] ; (8005954 ) + 8005906: fba2 2303 umull r2, r3, r2, r3 + 800590a: 091b lsrs r3, r3, #4 + 800590c: 60fb str r3, [r7, #12] /* lookup table for necessary bitshift of flags within status registers */ static const uint8_t flagBitshiftOffset[8U] = {0U, 6U, 16U, 22U, 0U, 6U, 16U, 22U}; hdma->StreamIndex = flagBitshiftOffset[stream_number]; - 8005da6: 4a12 ldr r2, [pc, #72] ; (8005df0 ) - 8005da8: 68fb ldr r3, [r7, #12] - 8005daa: 4413 add r3, r2 - 8005dac: 781b ldrb r3, [r3, #0] - 8005dae: 461a mov r2, r3 - 8005db0: 687b ldr r3, [r7, #4] - 8005db2: 65da str r2, [r3, #92] ; 0x5c + 800590e: 4a12 ldr r2, [pc, #72] ; (8005958 ) + 8005910: 68fb ldr r3, [r7, #12] + 8005912: 4413 add r3, r2 + 8005914: 781b ldrb r3, [r3, #0] + 8005916: 461a mov r2, r3 + 8005918: 687b ldr r3, [r7, #4] + 800591a: 65da str r2, [r3, #92] ; 0x5c if (stream_number > 3U) - 8005db4: 68fb ldr r3, [r7, #12] - 8005db6: 2b03 cmp r3, #3 - 8005db8: d908 bls.n 8005dcc + 800591c: 68fb ldr r3, [r7, #12] + 800591e: 2b03 cmp r3, #3 + 8005920: d908 bls.n 8005934 { /* return pointer to HISR and HIFCR */ hdma->StreamBaseAddress = (((uint32_t)hdma->Instance & (uint32_t)(~0x3FFU)) + 4U); - 8005dba: 687b ldr r3, [r7, #4] - 8005dbc: 681b ldr r3, [r3, #0] - 8005dbe: 461a mov r2, r3 - 8005dc0: 4b0c ldr r3, [pc, #48] ; (8005df4 ) - 8005dc2: 4013 ands r3, r2 - 8005dc4: 1d1a adds r2, r3, #4 - 8005dc6: 687b ldr r3, [r7, #4] - 8005dc8: 659a str r2, [r3, #88] ; 0x58 - 8005dca: e006 b.n 8005dda + 8005922: 687b ldr r3, [r7, #4] + 8005924: 681b ldr r3, [r3, #0] + 8005926: 461a mov r2, r3 + 8005928: 4b0c ldr r3, [pc, #48] ; (800595c ) + 800592a: 4013 ands r3, r2 + 800592c: 1d1a adds r2, r3, #4 + 800592e: 687b ldr r3, [r7, #4] + 8005930: 659a str r2, [r3, #88] ; 0x58 + 8005932: e006 b.n 8005942 } else { /* return pointer to LISR and LIFCR */ hdma->StreamBaseAddress = ((uint32_t)hdma->Instance & (uint32_t)(~0x3FFU)); - 8005dcc: 687b ldr r3, [r7, #4] - 8005dce: 681b ldr r3, [r3, #0] - 8005dd0: 461a mov r2, r3 - 8005dd2: 4b08 ldr r3, [pc, #32] ; (8005df4 ) - 8005dd4: 4013 ands r3, r2 - 8005dd6: 687a ldr r2, [r7, #4] - 8005dd8: 6593 str r3, [r2, #88] ; 0x58 + 8005934: 687b ldr r3, [r7, #4] + 8005936: 681b ldr r3, [r3, #0] + 8005938: 461a mov r2, r3 + 800593a: 4b08 ldr r3, [pc, #32] ; (800595c ) + 800593c: 4013 ands r3, r2 + 800593e: 687a ldr r2, [r7, #4] + 8005940: 6593 str r3, [r2, #88] ; 0x58 } return hdma->StreamBaseAddress; - 8005dda: 687b ldr r3, [r7, #4] - 8005ddc: 6d9b ldr r3, [r3, #88] ; 0x58 + 8005942: 687b ldr r3, [r7, #4] + 8005944: 6d9b ldr r3, [r3, #88] ; 0x58 } - 8005dde: 4618 mov r0, r3 - 8005de0: 3714 adds r7, #20 - 8005de2: 46bd mov sp, r7 - 8005de4: f85d 7b04 ldr.w r7, [sp], #4 - 8005de8: 4770 bx lr - 8005dea: bf00 nop - 8005dec: aaaaaaab .word 0xaaaaaaab - 8005df0: 08021544 .word 0x08021544 - 8005df4: fffffc00 .word 0xfffffc00 + 8005946: 4618 mov r0, r3 + 8005948: 3714 adds r7, #20 + 800594a: 46bd mov sp, r7 + 800594c: f85d 7b04 ldr.w r7, [sp], #4 + 8005950: 4770 bx lr + 8005952: bf00 nop + 8005954: aaaaaaab .word 0xaaaaaaab + 8005958: 08020d40 .word 0x08020d40 + 800595c: fffffc00 .word 0xfffffc00 -08005df8 : +08005960 : * @param hdma pointer to a DMA_HandleTypeDef structure that contains * the configuration information for the specified DMA Stream. * @retval HAL status */ static HAL_StatusTypeDef DMA_CheckFifoParam(DMA_HandleTypeDef *hdma) { - 8005df8: b480 push {r7} - 8005dfa: b085 sub sp, #20 - 8005dfc: af00 add r7, sp, #0 - 8005dfe: 6078 str r0, [r7, #4] + 8005960: b480 push {r7} + 8005962: b085 sub sp, #20 + 8005964: af00 add r7, sp, #0 + 8005966: 6078 str r0, [r7, #4] HAL_StatusTypeDef status = HAL_OK; - 8005e00: 2300 movs r3, #0 - 8005e02: 73fb strb r3, [r7, #15] + 8005968: 2300 movs r3, #0 + 800596a: 73fb strb r3, [r7, #15] uint32_t tmp = hdma->Init.FIFOThreshold; - 8005e04: 687b ldr r3, [r7, #4] - 8005e06: 6a9b ldr r3, [r3, #40] ; 0x28 - 8005e08: 60bb str r3, [r7, #8] + 800596c: 687b ldr r3, [r7, #4] + 800596e: 6a9b ldr r3, [r3, #40] ; 0x28 + 8005970: 60bb str r3, [r7, #8] /* Memory Data size equal to Byte */ if(hdma->Init.MemDataAlignment == DMA_MDATAALIGN_BYTE) - 8005e0a: 687b ldr r3, [r7, #4] - 8005e0c: 699b ldr r3, [r3, #24] - 8005e0e: 2b00 cmp r3, #0 - 8005e10: d11f bne.n 8005e52 + 8005972: 687b ldr r3, [r7, #4] + 8005974: 699b ldr r3, [r3, #24] + 8005976: 2b00 cmp r3, #0 + 8005978: d11f bne.n 80059ba { switch (tmp) - 8005e12: 68bb ldr r3, [r7, #8] - 8005e14: 2b03 cmp r3, #3 - 8005e16: d855 bhi.n 8005ec4 - 8005e18: a201 add r2, pc, #4 ; (adr r2, 8005e20 ) - 8005e1a: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8005e1e: bf00 nop - 8005e20: 08005e31 .word 0x08005e31 - 8005e24: 08005e43 .word 0x08005e43 - 8005e28: 08005e31 .word 0x08005e31 - 8005e2c: 08005ec5 .word 0x08005ec5 + 800597a: 68bb ldr r3, [r7, #8] + 800597c: 2b03 cmp r3, #3 + 800597e: d855 bhi.n 8005a2c + 8005980: a201 add r2, pc, #4 ; (adr r2, 8005988 ) + 8005982: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8005986: bf00 nop + 8005988: 08005999 .word 0x08005999 + 800598c: 080059ab .word 0x080059ab + 8005990: 08005999 .word 0x08005999 + 8005994: 08005a2d .word 0x08005a2d { case DMA_FIFO_THRESHOLD_1QUARTERFULL: case DMA_FIFO_THRESHOLD_3QUARTERSFULL: if ((hdma->Init.MemBurst & DMA_SxCR_MBURST_1) == DMA_SxCR_MBURST_1) - 8005e30: 687b ldr r3, [r7, #4] - 8005e32: 6adb ldr r3, [r3, #44] ; 0x2c - 8005e34: f003 7380 and.w r3, r3, #16777216 ; 0x1000000 - 8005e38: 2b00 cmp r3, #0 - 8005e3a: d045 beq.n 8005ec8 + 8005998: 687b ldr r3, [r7, #4] + 800599a: 6adb ldr r3, [r3, #44] ; 0x2c + 800599c: f003 7380 and.w r3, r3, #16777216 ; 0x1000000 + 80059a0: 2b00 cmp r3, #0 + 80059a2: d045 beq.n 8005a30 { status = HAL_ERROR; - 8005e3c: 2301 movs r3, #1 - 8005e3e: 73fb strb r3, [r7, #15] + 80059a4: 2301 movs r3, #1 + 80059a6: 73fb strb r3, [r7, #15] } break; - 8005e40: e042 b.n 8005ec8 + 80059a8: e042 b.n 8005a30 case DMA_FIFO_THRESHOLD_HALFFULL: if (hdma->Init.MemBurst == DMA_MBURST_INC16) - 8005e42: 687b ldr r3, [r7, #4] - 8005e44: 6adb ldr r3, [r3, #44] ; 0x2c - 8005e46: f1b3 7fc0 cmp.w r3, #25165824 ; 0x1800000 - 8005e4a: d13f bne.n 8005ecc + 80059aa: 687b ldr r3, [r7, #4] + 80059ac: 6adb ldr r3, [r3, #44] ; 0x2c + 80059ae: f1b3 7fc0 cmp.w r3, #25165824 ; 0x1800000 + 80059b2: d13f bne.n 8005a34 { status = HAL_ERROR; - 8005e4c: 2301 movs r3, #1 - 8005e4e: 73fb strb r3, [r7, #15] + 80059b4: 2301 movs r3, #1 + 80059b6: 73fb strb r3, [r7, #15] } break; - 8005e50: e03c b.n 8005ecc + 80059b8: e03c b.n 8005a34 break; } } /* Memory Data size equal to Half-Word */ else if (hdma->Init.MemDataAlignment == DMA_MDATAALIGN_HALFWORD) - 8005e52: 687b ldr r3, [r7, #4] - 8005e54: 699b ldr r3, [r3, #24] - 8005e56: f5b3 5f00 cmp.w r3, #8192 ; 0x2000 - 8005e5a: d121 bne.n 8005ea0 + 80059ba: 687b ldr r3, [r7, #4] + 80059bc: 699b ldr r3, [r3, #24] + 80059be: f5b3 5f00 cmp.w r3, #8192 ; 0x2000 + 80059c2: d121 bne.n 8005a08 { switch (tmp) - 8005e5c: 68bb ldr r3, [r7, #8] - 8005e5e: 2b03 cmp r3, #3 - 8005e60: d836 bhi.n 8005ed0 - 8005e62: a201 add r2, pc, #4 ; (adr r2, 8005e68 ) - 8005e64: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8005e68: 08005e79 .word 0x08005e79 - 8005e6c: 08005e7f .word 0x08005e7f - 8005e70: 08005e79 .word 0x08005e79 - 8005e74: 08005e91 .word 0x08005e91 + 80059c4: 68bb ldr r3, [r7, #8] + 80059c6: 2b03 cmp r3, #3 + 80059c8: d836 bhi.n 8005a38 + 80059ca: a201 add r2, pc, #4 ; (adr r2, 80059d0 ) + 80059cc: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 80059d0: 080059e1 .word 0x080059e1 + 80059d4: 080059e7 .word 0x080059e7 + 80059d8: 080059e1 .word 0x080059e1 + 80059dc: 080059f9 .word 0x080059f9 { case DMA_FIFO_THRESHOLD_1QUARTERFULL: case DMA_FIFO_THRESHOLD_3QUARTERSFULL: status = HAL_ERROR; - 8005e78: 2301 movs r3, #1 - 8005e7a: 73fb strb r3, [r7, #15] + 80059e0: 2301 movs r3, #1 + 80059e2: 73fb strb r3, [r7, #15] break; - 8005e7c: e02f b.n 8005ede + 80059e4: e02f b.n 8005a46 case DMA_FIFO_THRESHOLD_HALFFULL: if ((hdma->Init.MemBurst & DMA_SxCR_MBURST_1) == DMA_SxCR_MBURST_1) - 8005e7e: 687b ldr r3, [r7, #4] - 8005e80: 6adb ldr r3, [r3, #44] ; 0x2c - 8005e82: f003 7380 and.w r3, r3, #16777216 ; 0x1000000 - 8005e86: 2b00 cmp r3, #0 - 8005e88: d024 beq.n 8005ed4 + 80059e6: 687b ldr r3, [r7, #4] + 80059e8: 6adb ldr r3, [r3, #44] ; 0x2c + 80059ea: f003 7380 and.w r3, r3, #16777216 ; 0x1000000 + 80059ee: 2b00 cmp r3, #0 + 80059f0: d024 beq.n 8005a3c { status = HAL_ERROR; - 8005e8a: 2301 movs r3, #1 - 8005e8c: 73fb strb r3, [r7, #15] + 80059f2: 2301 movs r3, #1 + 80059f4: 73fb strb r3, [r7, #15] } break; - 8005e8e: e021 b.n 8005ed4 + 80059f6: e021 b.n 8005a3c case DMA_FIFO_THRESHOLD_FULL: if (hdma->Init.MemBurst == DMA_MBURST_INC16) - 8005e90: 687b ldr r3, [r7, #4] - 8005e92: 6adb ldr r3, [r3, #44] ; 0x2c - 8005e94: f1b3 7fc0 cmp.w r3, #25165824 ; 0x1800000 - 8005e98: d11e bne.n 8005ed8 + 80059f8: 687b ldr r3, [r7, #4] + 80059fa: 6adb ldr r3, [r3, #44] ; 0x2c + 80059fc: f1b3 7fc0 cmp.w r3, #25165824 ; 0x1800000 + 8005a00: d11e bne.n 8005a40 { status = HAL_ERROR; - 8005e9a: 2301 movs r3, #1 - 8005e9c: 73fb strb r3, [r7, #15] + 8005a02: 2301 movs r3, #1 + 8005a04: 73fb strb r3, [r7, #15] } break; - 8005e9e: e01b b.n 8005ed8 + 8005a06: e01b b.n 8005a40 } /* Memory Data size equal to Word */ else { switch (tmp) - 8005ea0: 68bb ldr r3, [r7, #8] - 8005ea2: 2b02 cmp r3, #2 - 8005ea4: d902 bls.n 8005eac - 8005ea6: 2b03 cmp r3, #3 - 8005ea8: d003 beq.n 8005eb2 + 8005a08: 68bb ldr r3, [r7, #8] + 8005a0a: 2b02 cmp r3, #2 + 8005a0c: d902 bls.n 8005a14 + 8005a0e: 2b03 cmp r3, #3 + 8005a10: d003 beq.n 8005a1a { status = HAL_ERROR; } break; default: break; - 8005eaa: e018 b.n 8005ede + 8005a12: e018 b.n 8005a46 status = HAL_ERROR; - 8005eac: 2301 movs r3, #1 - 8005eae: 73fb strb r3, [r7, #15] + 8005a14: 2301 movs r3, #1 + 8005a16: 73fb strb r3, [r7, #15] break; - 8005eb0: e015 b.n 8005ede + 8005a18: e015 b.n 8005a46 if ((hdma->Init.MemBurst & DMA_SxCR_MBURST_1) == DMA_SxCR_MBURST_1) - 8005eb2: 687b ldr r3, [r7, #4] - 8005eb4: 6adb ldr r3, [r3, #44] ; 0x2c - 8005eb6: f003 7380 and.w r3, r3, #16777216 ; 0x1000000 - 8005eba: 2b00 cmp r3, #0 - 8005ebc: d00e beq.n 8005edc + 8005a1a: 687b ldr r3, [r7, #4] + 8005a1c: 6adb ldr r3, [r3, #44] ; 0x2c + 8005a1e: f003 7380 and.w r3, r3, #16777216 ; 0x1000000 + 8005a22: 2b00 cmp r3, #0 + 8005a24: d00e beq.n 8005a44 status = HAL_ERROR; - 8005ebe: 2301 movs r3, #1 - 8005ec0: 73fb strb r3, [r7, #15] + 8005a26: 2301 movs r3, #1 + 8005a28: 73fb strb r3, [r7, #15] break; - 8005ec2: e00b b.n 8005edc + 8005a2a: e00b b.n 8005a44 break; - 8005ec4: bf00 nop - 8005ec6: e00a b.n 8005ede + 8005a2c: bf00 nop + 8005a2e: e00a b.n 8005a46 break; - 8005ec8: bf00 nop - 8005eca: e008 b.n 8005ede + 8005a30: bf00 nop + 8005a32: e008 b.n 8005a46 break; - 8005ecc: bf00 nop - 8005ece: e006 b.n 8005ede + 8005a34: bf00 nop + 8005a36: e006 b.n 8005a46 break; - 8005ed0: bf00 nop - 8005ed2: e004 b.n 8005ede + 8005a38: bf00 nop + 8005a3a: e004 b.n 8005a46 break; - 8005ed4: bf00 nop - 8005ed6: e002 b.n 8005ede + 8005a3c: bf00 nop + 8005a3e: e002 b.n 8005a46 break; - 8005ed8: bf00 nop - 8005eda: e000 b.n 8005ede + 8005a40: bf00 nop + 8005a42: e000 b.n 8005a46 break; - 8005edc: bf00 nop + 8005a44: bf00 nop } } return status; - 8005ede: 7bfb ldrb r3, [r7, #15] + 8005a46: 7bfb ldrb r3, [r7, #15] } - 8005ee0: 4618 mov r0, r3 - 8005ee2: 3714 adds r7, #20 - 8005ee4: 46bd mov sp, r7 - 8005ee6: f85d 7b04 ldr.w r7, [sp], #4 - 8005eea: 4770 bx lr + 8005a48: 4618 mov r0, r3 + 8005a4a: 3714 adds r7, #20 + 8005a4c: 46bd mov sp, r7 + 8005a4e: f85d 7b04 ldr.w r7, [sp], #4 + 8005a52: 4770 bx lr -08005eec : +08005a54 : * @param hdma2d pointer to a DMA2D_HandleTypeDef structure that contains * the configuration information for the DMA2D. * @retval HAL status */ HAL_StatusTypeDef HAL_DMA2D_Init(DMA2D_HandleTypeDef *hdma2d) { - 8005eec: b580 push {r7, lr} - 8005eee: b082 sub sp, #8 - 8005ef0: af00 add r7, sp, #0 - 8005ef2: 6078 str r0, [r7, #4] + 8005a54: b580 push {r7, lr} + 8005a56: b082 sub sp, #8 + 8005a58: af00 add r7, sp, #0 + 8005a5a: 6078 str r0, [r7, #4] /* Check the DMA2D peripheral state */ if(hdma2d == NULL) - 8005ef4: 687b ldr r3, [r7, #4] - 8005ef6: 2b00 cmp r3, #0 - 8005ef8: d101 bne.n 8005efe + 8005a5c: 687b ldr r3, [r7, #4] + 8005a5e: 2b00 cmp r3, #0 + 8005a60: d101 bne.n 8005a66 { return HAL_ERROR; - 8005efa: 2301 movs r3, #1 - 8005efc: e039 b.n 8005f72 + 8005a62: 2301 movs r3, #1 + 8005a64: e039 b.n 8005ada /* Init the low level hardware */ hdma2d->MspInitCallback(hdma2d); } #else if(hdma2d->State == HAL_DMA2D_STATE_RESET) - 8005efe: 687b ldr r3, [r7, #4] - 8005f00: f893 3039 ldrb.w r3, [r3, #57] ; 0x39 - 8005f04: b2db uxtb r3, r3 - 8005f06: 2b00 cmp r3, #0 - 8005f08: d106 bne.n 8005f18 + 8005a66: 687b ldr r3, [r7, #4] + 8005a68: f893 3039 ldrb.w r3, [r3, #57] ; 0x39 + 8005a6c: b2db uxtb r3, r3 + 8005a6e: 2b00 cmp r3, #0 + 8005a70: d106 bne.n 8005a80 { /* Allocate lock resource and initialize it */ hdma2d->Lock = HAL_UNLOCKED; - 8005f0a: 687b ldr r3, [r7, #4] - 8005f0c: 2200 movs r2, #0 - 8005f0e: f883 2038 strb.w r2, [r3, #56] ; 0x38 + 8005a72: 687b ldr r3, [r7, #4] + 8005a74: 2200 movs r2, #0 + 8005a76: f883 2038 strb.w r2, [r3, #56] ; 0x38 /* Init the low level hardware */ HAL_DMA2D_MspInit(hdma2d); - 8005f12: 6878 ldr r0, [r7, #4] - 8005f14: f7fe fb16 bl 8004544 + 8005a7a: 6878 ldr r0, [r7, #4] + 8005a7c: f7fe fb0e bl 800409c } #endif /* (USE_HAL_DMA2D_REGISTER_CALLBACKS) */ /* Change DMA2D peripheral state */ hdma2d->State = HAL_DMA2D_STATE_BUSY; - 8005f18: 687b ldr r3, [r7, #4] - 8005f1a: 2202 movs r2, #2 - 8005f1c: f883 2039 strb.w r2, [r3, #57] ; 0x39 + 8005a80: 687b ldr r3, [r7, #4] + 8005a82: 2202 movs r2, #2 + 8005a84: f883 2039 strb.w r2, [r3, #57] ; 0x39 /* DMA2D CR register configuration -------------------------------------------*/ MODIFY_REG(hdma2d->Instance->CR, DMA2D_CR_MODE, hdma2d->Init.Mode); - 8005f20: 687b ldr r3, [r7, #4] - 8005f22: 681b ldr r3, [r3, #0] - 8005f24: 681b ldr r3, [r3, #0] - 8005f26: f423 3140 bic.w r1, r3, #196608 ; 0x30000 - 8005f2a: 687b ldr r3, [r7, #4] - 8005f2c: 685a ldr r2, [r3, #4] - 8005f2e: 687b ldr r3, [r7, #4] - 8005f30: 681b ldr r3, [r3, #0] - 8005f32: 430a orrs r2, r1 - 8005f34: 601a str r2, [r3, #0] + 8005a88: 687b ldr r3, [r7, #4] + 8005a8a: 681b ldr r3, [r3, #0] + 8005a8c: 681b ldr r3, [r3, #0] + 8005a8e: f423 3140 bic.w r1, r3, #196608 ; 0x30000 + 8005a92: 687b ldr r3, [r7, #4] + 8005a94: 685a ldr r2, [r3, #4] + 8005a96: 687b ldr r3, [r7, #4] + 8005a98: 681b ldr r3, [r3, #0] + 8005a9a: 430a orrs r2, r1 + 8005a9c: 601a str r2, [r3, #0] /* DMA2D OPFCCR register configuration ---------------------------------------*/ MODIFY_REG(hdma2d->Instance->OPFCCR, DMA2D_OPFCCR_CM, hdma2d->Init.ColorMode); - 8005f36: 687b ldr r3, [r7, #4] - 8005f38: 681b ldr r3, [r3, #0] - 8005f3a: 6b5b ldr r3, [r3, #52] ; 0x34 - 8005f3c: f023 0107 bic.w r1, r3, #7 - 8005f40: 687b ldr r3, [r7, #4] - 8005f42: 689a ldr r2, [r3, #8] - 8005f44: 687b ldr r3, [r7, #4] - 8005f46: 681b ldr r3, [r3, #0] - 8005f48: 430a orrs r2, r1 - 8005f4a: 635a str r2, [r3, #52] ; 0x34 + 8005a9e: 687b ldr r3, [r7, #4] + 8005aa0: 681b ldr r3, [r3, #0] + 8005aa2: 6b5b ldr r3, [r3, #52] ; 0x34 + 8005aa4: f023 0107 bic.w r1, r3, #7 + 8005aa8: 687b ldr r3, [r7, #4] + 8005aaa: 689a ldr r2, [r3, #8] + 8005aac: 687b ldr r3, [r7, #4] + 8005aae: 681b ldr r3, [r3, #0] + 8005ab0: 430a orrs r2, r1 + 8005ab2: 635a str r2, [r3, #52] ; 0x34 /* DMA2D OOR register configuration ------------------------------------------*/ MODIFY_REG(hdma2d->Instance->OOR, DMA2D_OOR_LO, hdma2d->Init.OutputOffset); - 8005f4c: 687b ldr r3, [r7, #4] - 8005f4e: 681b ldr r3, [r3, #0] - 8005f50: 6c1a ldr r2, [r3, #64] ; 0x40 - 8005f52: 4b0a ldr r3, [pc, #40] ; (8005f7c ) - 8005f54: 4013 ands r3, r2 - 8005f56: 687a ldr r2, [r7, #4] - 8005f58: 68d1 ldr r1, [r2, #12] - 8005f5a: 687a ldr r2, [r7, #4] - 8005f5c: 6812 ldr r2, [r2, #0] - 8005f5e: 430b orrs r3, r1 - 8005f60: 6413 str r3, [r2, #64] ; 0x40 + 8005ab4: 687b ldr r3, [r7, #4] + 8005ab6: 681b ldr r3, [r3, #0] + 8005ab8: 6c1a ldr r2, [r3, #64] ; 0x40 + 8005aba: 4b0a ldr r3, [pc, #40] ; (8005ae4 ) + 8005abc: 4013 ands r3, r2 + 8005abe: 687a ldr r2, [r7, #4] + 8005ac0: 68d1 ldr r1, [r2, #12] + 8005ac2: 687a ldr r2, [r7, #4] + 8005ac4: 6812 ldr r2, [r2, #0] + 8005ac6: 430b orrs r3, r1 + 8005ac8: 6413 str r3, [r2, #64] ; 0x40 MODIFY_REG(hdma2d->Instance->OPFCCR,(DMA2D_OPFCCR_AI|DMA2D_OPFCCR_RBS), ((hdma2d->Init.AlphaInverted << DMA2D_OPFCCR_AI_Pos) | (hdma2d->Init.RedBlueSwap << DMA2D_OPFCCR_RBS_Pos))); #endif /* DMA2D_ALPHA_INV_RB_SWAP_SUPPORT */ /* Update error code */ hdma2d->ErrorCode = HAL_DMA2D_ERROR_NONE; - 8005f62: 687b ldr r3, [r7, #4] - 8005f64: 2200 movs r2, #0 - 8005f66: 63da str r2, [r3, #60] ; 0x3c + 8005aca: 687b ldr r3, [r7, #4] + 8005acc: 2200 movs r2, #0 + 8005ace: 63da str r2, [r3, #60] ; 0x3c /* Initialize the DMA2D state*/ hdma2d->State = HAL_DMA2D_STATE_READY; - 8005f68: 687b ldr r3, [r7, #4] - 8005f6a: 2201 movs r2, #1 - 8005f6c: f883 2039 strb.w r2, [r3, #57] ; 0x39 + 8005ad0: 687b ldr r3, [r7, #4] + 8005ad2: 2201 movs r2, #1 + 8005ad4: f883 2039 strb.w r2, [r3, #57] ; 0x39 return HAL_OK; - 8005f70: 2300 movs r3, #0 + 8005ad8: 2300 movs r3, #0 } - 8005f72: 4618 mov r0, r3 - 8005f74: 3708 adds r7, #8 - 8005f76: 46bd mov sp, r7 - 8005f78: bd80 pop {r7, pc} - 8005f7a: bf00 nop - 8005f7c: ffffc000 .word 0xffffc000 + 8005ada: 4618 mov r0, r3 + 8005adc: 3708 adds r7, #8 + 8005ade: 46bd mov sp, r7 + 8005ae0: bd80 pop {r7, pc} + 8005ae2: bf00 nop + 8005ae4: ffffc000 .word 0xffffc000 -08005f80 : +08005ae8 : * @param Width The width of data to be transferred from source to destination (expressed in number of pixels per line). * @param Height The height of data to be transferred from source to destination (expressed in number of lines). * @retval HAL status */ HAL_StatusTypeDef HAL_DMA2D_Start(DMA2D_HandleTypeDef *hdma2d, uint32_t pdata, uint32_t DstAddress, uint32_t Width, uint32_t Height) { - 8005f80: b580 push {r7, lr} - 8005f82: b086 sub sp, #24 - 8005f84: af02 add r7, sp, #8 - 8005f86: 60f8 str r0, [r7, #12] - 8005f88: 60b9 str r1, [r7, #8] - 8005f8a: 607a str r2, [r7, #4] - 8005f8c: 603b str r3, [r7, #0] + 8005ae8: b580 push {r7, lr} + 8005aea: b086 sub sp, #24 + 8005aec: af02 add r7, sp, #8 + 8005aee: 60f8 str r0, [r7, #12] + 8005af0: 60b9 str r1, [r7, #8] + 8005af2: 607a str r2, [r7, #4] + 8005af4: 603b str r3, [r7, #0] /* Check the parameters */ assert_param(IS_DMA2D_LINE(Height)); assert_param(IS_DMA2D_PIXEL(Width)); /* Process locked */ __HAL_LOCK(hdma2d); - 8005f8e: 68fb ldr r3, [r7, #12] - 8005f90: f893 3038 ldrb.w r3, [r3, #56] ; 0x38 - 8005f94: 2b01 cmp r3, #1 - 8005f96: d101 bne.n 8005f9c - 8005f98: 2302 movs r3, #2 - 8005f9a: e018 b.n 8005fce - 8005f9c: 68fb ldr r3, [r7, #12] - 8005f9e: 2201 movs r2, #1 - 8005fa0: f883 2038 strb.w r2, [r3, #56] ; 0x38 + 8005af6: 68fb ldr r3, [r7, #12] + 8005af8: f893 3038 ldrb.w r3, [r3, #56] ; 0x38 + 8005afc: 2b01 cmp r3, #1 + 8005afe: d101 bne.n 8005b04 + 8005b00: 2302 movs r3, #2 + 8005b02: e018 b.n 8005b36 + 8005b04: 68fb ldr r3, [r7, #12] + 8005b06: 2201 movs r2, #1 + 8005b08: f883 2038 strb.w r2, [r3, #56] ; 0x38 /* Change DMA2D peripheral state */ hdma2d->State = HAL_DMA2D_STATE_BUSY; - 8005fa4: 68fb ldr r3, [r7, #12] - 8005fa6: 2202 movs r2, #2 - 8005fa8: f883 2039 strb.w r2, [r3, #57] ; 0x39 + 8005b0c: 68fb ldr r3, [r7, #12] + 8005b0e: 2202 movs r2, #2 + 8005b10: f883 2039 strb.w r2, [r3, #57] ; 0x39 /* Configure the source, destination address and the data size */ DMA2D_SetConfig(hdma2d, pdata, DstAddress, Width, Height); - 8005fac: 69bb ldr r3, [r7, #24] - 8005fae: 9300 str r3, [sp, #0] - 8005fb0: 683b ldr r3, [r7, #0] - 8005fb2: 687a ldr r2, [r7, #4] - 8005fb4: 68b9 ldr r1, [r7, #8] - 8005fb6: 68f8 ldr r0, [r7, #12] - 8005fb8: f000 f988 bl 80062cc + 8005b14: 69bb ldr r3, [r7, #24] + 8005b16: 9300 str r3, [sp, #0] + 8005b18: 683b ldr r3, [r7, #0] + 8005b1a: 687a ldr r2, [r7, #4] + 8005b1c: 68b9 ldr r1, [r7, #8] + 8005b1e: 68f8 ldr r0, [r7, #12] + 8005b20: f000 f988 bl 8005e34 /* Enable the Peripheral */ __HAL_DMA2D_ENABLE(hdma2d); - 8005fbc: 68fb ldr r3, [r7, #12] - 8005fbe: 681b ldr r3, [r3, #0] - 8005fc0: 681a ldr r2, [r3, #0] - 8005fc2: 68fb ldr r3, [r7, #12] - 8005fc4: 681b ldr r3, [r3, #0] - 8005fc6: f042 0201 orr.w r2, r2, #1 - 8005fca: 601a str r2, [r3, #0] + 8005b24: 68fb ldr r3, [r7, #12] + 8005b26: 681b ldr r3, [r3, #0] + 8005b28: 681a ldr r2, [r3, #0] + 8005b2a: 68fb ldr r3, [r7, #12] + 8005b2c: 681b ldr r3, [r3, #0] + 8005b2e: f042 0201 orr.w r2, r2, #1 + 8005b32: 601a str r2, [r3, #0] return HAL_OK; - 8005fcc: 2300 movs r3, #0 + 8005b34: 2300 movs r3, #0 } - 8005fce: 4618 mov r0, r3 - 8005fd0: 3710 adds r7, #16 - 8005fd2: 46bd mov sp, r7 - 8005fd4: bd80 pop {r7, pc} + 8005b36: 4618 mov r0, r3 + 8005b38: 3710 adds r7, #16 + 8005b3a: 46bd mov sp, r7 + 8005b3c: bd80 pop {r7, pc} -08005fd6 : +08005b3e : * the configuration information for the DMA2D. * @param Timeout Timeout duration * @retval HAL status */ HAL_StatusTypeDef HAL_DMA2D_PollForTransfer(DMA2D_HandleTypeDef *hdma2d, uint32_t Timeout) { - 8005fd6: b580 push {r7, lr} - 8005fd8: b086 sub sp, #24 - 8005fda: af00 add r7, sp, #0 - 8005fdc: 6078 str r0, [r7, #4] - 8005fde: 6039 str r1, [r7, #0] + 8005b3e: b580 push {r7, lr} + 8005b40: b086 sub sp, #24 + 8005b42: af00 add r7, sp, #0 + 8005b44: 6078 str r0, [r7, #4] + 8005b46: 6039 str r1, [r7, #0] uint32_t tickstart; uint32_t layer_start; __IO uint32_t isrflags = 0x0U; - 8005fe0: 2300 movs r3, #0 - 8005fe2: 60fb str r3, [r7, #12] + 8005b48: 2300 movs r3, #0 + 8005b4a: 60fb str r3, [r7, #12] /* Polling for DMA2D transfer */ if((hdma2d->Instance->CR & DMA2D_CR_START) != 0U) - 8005fe4: 687b ldr r3, [r7, #4] - 8005fe6: 681b ldr r3, [r3, #0] - 8005fe8: 681b ldr r3, [r3, #0] - 8005fea: f003 0301 and.w r3, r3, #1 - 8005fee: 2b00 cmp r3, #0 - 8005ff0: d056 beq.n 80060a0 + 8005b4c: 687b ldr r3, [r7, #4] + 8005b4e: 681b ldr r3, [r3, #0] + 8005b50: 681b ldr r3, [r3, #0] + 8005b52: f003 0301 and.w r3, r3, #1 + 8005b56: 2b00 cmp r3, #0 + 8005b58: d056 beq.n 8005c08 { /* Get tick */ tickstart = HAL_GetTick(); - 8005ff2: f7fe ff1d bl 8004e30 - 8005ff6: 6178 str r0, [r7, #20] + 8005b5a: f7fe ff1d bl 8004998 + 8005b5e: 6178 str r0, [r7, #20] while(__HAL_DMA2D_GET_FLAG(hdma2d, DMA2D_FLAG_TC) == 0U) - 8005ff8: e04b b.n 8006092 + 8005b60: e04b b.n 8005bfa { isrflags = READ_REG(hdma2d->Instance->ISR); - 8005ffa: 687b ldr r3, [r7, #4] - 8005ffc: 681b ldr r3, [r3, #0] - 8005ffe: 685b ldr r3, [r3, #4] - 8006000: 60fb str r3, [r7, #12] + 8005b62: 687b ldr r3, [r7, #4] + 8005b64: 681b ldr r3, [r3, #0] + 8005b66: 685b ldr r3, [r3, #4] + 8005b68: 60fb str r3, [r7, #12] if ((isrflags & (DMA2D_FLAG_CE|DMA2D_FLAG_TE)) != 0U) - 8006002: 68fb ldr r3, [r7, #12] - 8006004: f003 0321 and.w r3, r3, #33 ; 0x21 - 8006008: 2b00 cmp r3, #0 - 800600a: d023 beq.n 8006054 + 8005b6a: 68fb ldr r3, [r7, #12] + 8005b6c: f003 0321 and.w r3, r3, #33 ; 0x21 + 8005b70: 2b00 cmp r3, #0 + 8005b72: d023 beq.n 8005bbc { if ((isrflags & DMA2D_FLAG_CE) != 0U) - 800600c: 68fb ldr r3, [r7, #12] - 800600e: f003 0320 and.w r3, r3, #32 - 8006012: 2b00 cmp r3, #0 - 8006014: d005 beq.n 8006022 + 8005b74: 68fb ldr r3, [r7, #12] + 8005b76: f003 0320 and.w r3, r3, #32 + 8005b7a: 2b00 cmp r3, #0 + 8005b7c: d005 beq.n 8005b8a { hdma2d->ErrorCode |= HAL_DMA2D_ERROR_CE; - 8006016: 687b ldr r3, [r7, #4] - 8006018: 6bdb ldr r3, [r3, #60] ; 0x3c - 800601a: f043 0202 orr.w r2, r3, #2 - 800601e: 687b ldr r3, [r7, #4] - 8006020: 63da str r2, [r3, #60] ; 0x3c + 8005b7e: 687b ldr r3, [r7, #4] + 8005b80: 6bdb ldr r3, [r3, #60] ; 0x3c + 8005b82: f043 0202 orr.w r2, r3, #2 + 8005b86: 687b ldr r3, [r7, #4] + 8005b88: 63da str r2, [r3, #60] ; 0x3c } if ((isrflags & DMA2D_FLAG_TE) != 0U) - 8006022: 68fb ldr r3, [r7, #12] - 8006024: f003 0301 and.w r3, r3, #1 - 8006028: 2b00 cmp r3, #0 - 800602a: d005 beq.n 8006038 + 8005b8a: 68fb ldr r3, [r7, #12] + 8005b8c: f003 0301 and.w r3, r3, #1 + 8005b90: 2b00 cmp r3, #0 + 8005b92: d005 beq.n 8005ba0 { hdma2d->ErrorCode |= HAL_DMA2D_ERROR_TE; - 800602c: 687b ldr r3, [r7, #4] - 800602e: 6bdb ldr r3, [r3, #60] ; 0x3c - 8006030: f043 0201 orr.w r2, r3, #1 - 8006034: 687b ldr r3, [r7, #4] - 8006036: 63da str r2, [r3, #60] ; 0x3c + 8005b94: 687b ldr r3, [r7, #4] + 8005b96: 6bdb ldr r3, [r3, #60] ; 0x3c + 8005b98: f043 0201 orr.w r2, r3, #1 + 8005b9c: 687b ldr r3, [r7, #4] + 8005b9e: 63da str r2, [r3, #60] ; 0x3c } /* Clear the transfer and configuration error flags */ __HAL_DMA2D_CLEAR_FLAG(hdma2d, DMA2D_FLAG_CE | DMA2D_FLAG_TE); - 8006038: 687b ldr r3, [r7, #4] - 800603a: 681b ldr r3, [r3, #0] - 800603c: 2221 movs r2, #33 ; 0x21 - 800603e: 609a str r2, [r3, #8] + 8005ba0: 687b ldr r3, [r7, #4] + 8005ba2: 681b ldr r3, [r3, #0] + 8005ba4: 2221 movs r2, #33 ; 0x21 + 8005ba6: 609a str r2, [r3, #8] /* Change DMA2D state */ hdma2d->State = HAL_DMA2D_STATE_ERROR; - 8006040: 687b ldr r3, [r7, #4] - 8006042: 2204 movs r2, #4 - 8006044: f883 2039 strb.w r2, [r3, #57] ; 0x39 + 8005ba8: 687b ldr r3, [r7, #4] + 8005baa: 2204 movs r2, #4 + 8005bac: f883 2039 strb.w r2, [r3, #57] ; 0x39 /* Process unlocked */ __HAL_UNLOCK(hdma2d); - 8006048: 687b ldr r3, [r7, #4] - 800604a: 2200 movs r2, #0 - 800604c: f883 2038 strb.w r2, [r3, #56] ; 0x38 + 8005bb0: 687b ldr r3, [r7, #4] + 8005bb2: 2200 movs r2, #0 + 8005bb4: f883 2038 strb.w r2, [r3, #56] ; 0x38 return HAL_ERROR; - 8006050: 2301 movs r3, #1 - 8006052: e0a5 b.n 80061a0 + 8005bb8: 2301 movs r3, #1 + 8005bba: e0a5 b.n 8005d08 } /* Check for the Timeout */ if(Timeout != HAL_MAX_DELAY) - 8006054: 683b ldr r3, [r7, #0] - 8006056: f1b3 3fff cmp.w r3, #4294967295 - 800605a: d01a beq.n 8006092 + 8005bbc: 683b ldr r3, [r7, #0] + 8005bbe: f1b3 3fff cmp.w r3, #4294967295 + 8005bc2: d01a beq.n 8005bfa { if(((HAL_GetTick() - tickstart ) > Timeout)||(Timeout == 0U)) - 800605c: f7fe fee8 bl 8004e30 - 8006060: 4602 mov r2, r0 - 8006062: 697b ldr r3, [r7, #20] - 8006064: 1ad3 subs r3, r2, r3 - 8006066: 683a ldr r2, [r7, #0] - 8006068: 429a cmp r2, r3 - 800606a: d302 bcc.n 8006072 - 800606c: 683b ldr r3, [r7, #0] - 800606e: 2b00 cmp r3, #0 - 8006070: d10f bne.n 8006092 + 8005bc4: f7fe fee8 bl 8004998 + 8005bc8: 4602 mov r2, r0 + 8005bca: 697b ldr r3, [r7, #20] + 8005bcc: 1ad3 subs r3, r2, r3 + 8005bce: 683a ldr r2, [r7, #0] + 8005bd0: 429a cmp r2, r3 + 8005bd2: d302 bcc.n 8005bda + 8005bd4: 683b ldr r3, [r7, #0] + 8005bd6: 2b00 cmp r3, #0 + 8005bd8: d10f bne.n 8005bfa { /* Update error code */ hdma2d->ErrorCode |= HAL_DMA2D_ERROR_TIMEOUT; - 8006072: 687b ldr r3, [r7, #4] - 8006074: 6bdb ldr r3, [r3, #60] ; 0x3c - 8006076: f043 0220 orr.w r2, r3, #32 - 800607a: 687b ldr r3, [r7, #4] - 800607c: 63da str r2, [r3, #60] ; 0x3c + 8005bda: 687b ldr r3, [r7, #4] + 8005bdc: 6bdb ldr r3, [r3, #60] ; 0x3c + 8005bde: f043 0220 orr.w r2, r3, #32 + 8005be2: 687b ldr r3, [r7, #4] + 8005be4: 63da str r2, [r3, #60] ; 0x3c /* Change the DMA2D state */ hdma2d->State = HAL_DMA2D_STATE_TIMEOUT; - 800607e: 687b ldr r3, [r7, #4] - 8006080: 2203 movs r2, #3 - 8006082: f883 2039 strb.w r2, [r3, #57] ; 0x39 + 8005be6: 687b ldr r3, [r7, #4] + 8005be8: 2203 movs r2, #3 + 8005bea: f883 2039 strb.w r2, [r3, #57] ; 0x39 /* Process unlocked */ __HAL_UNLOCK(hdma2d); - 8006086: 687b ldr r3, [r7, #4] - 8006088: 2200 movs r2, #0 - 800608a: f883 2038 strb.w r2, [r3, #56] ; 0x38 + 8005bee: 687b ldr r3, [r7, #4] + 8005bf0: 2200 movs r2, #0 + 8005bf2: f883 2038 strb.w r2, [r3, #56] ; 0x38 return HAL_TIMEOUT; - 800608e: 2303 movs r3, #3 - 8006090: e086 b.n 80061a0 + 8005bf6: 2303 movs r3, #3 + 8005bf8: e086 b.n 8005d08 while(__HAL_DMA2D_GET_FLAG(hdma2d, DMA2D_FLAG_TC) == 0U) - 8006092: 687b ldr r3, [r7, #4] - 8006094: 681b ldr r3, [r3, #0] - 8006096: 685b ldr r3, [r3, #4] - 8006098: f003 0302 and.w r3, r3, #2 - 800609c: 2b00 cmp r3, #0 - 800609e: d0ac beq.n 8005ffa + 8005bfa: 687b ldr r3, [r7, #4] + 8005bfc: 681b ldr r3, [r3, #0] + 8005bfe: 685b ldr r3, [r3, #4] + 8005c00: f003 0302 and.w r3, r3, #2 + 8005c04: 2b00 cmp r3, #0 + 8005c06: d0ac beq.n 8005b62 } } } } /* Polling for CLUT loading (foreground or background) */ layer_start = hdma2d->Instance->FGPFCCR & DMA2D_FGPFCCR_START; - 80060a0: 687b ldr r3, [r7, #4] - 80060a2: 681b ldr r3, [r3, #0] - 80060a4: 69db ldr r3, [r3, #28] - 80060a6: f003 0320 and.w r3, r3, #32 - 80060aa: 613b str r3, [r7, #16] + 8005c08: 687b ldr r3, [r7, #4] + 8005c0a: 681b ldr r3, [r3, #0] + 8005c0c: 69db ldr r3, [r3, #28] + 8005c0e: f003 0320 and.w r3, r3, #32 + 8005c12: 613b str r3, [r7, #16] layer_start |= hdma2d->Instance->BGPFCCR & DMA2D_BGPFCCR_START; - 80060ac: 687b ldr r3, [r7, #4] - 80060ae: 681b ldr r3, [r3, #0] - 80060b0: 6a5b ldr r3, [r3, #36] ; 0x24 - 80060b2: f003 0320 and.w r3, r3, #32 - 80060b6: 693a ldr r2, [r7, #16] - 80060b8: 4313 orrs r3, r2 - 80060ba: 613b str r3, [r7, #16] + 8005c14: 687b ldr r3, [r7, #4] + 8005c16: 681b ldr r3, [r3, #0] + 8005c18: 6a5b ldr r3, [r3, #36] ; 0x24 + 8005c1a: f003 0320 and.w r3, r3, #32 + 8005c1e: 693a ldr r2, [r7, #16] + 8005c20: 4313 orrs r3, r2 + 8005c22: 613b str r3, [r7, #16] if (layer_start != 0U) - 80060bc: 693b ldr r3, [r7, #16] - 80060be: 2b00 cmp r3, #0 - 80060c0: d061 beq.n 8006186 + 8005c24: 693b ldr r3, [r7, #16] + 8005c26: 2b00 cmp r3, #0 + 8005c28: d061 beq.n 8005cee { /* Get tick */ tickstart = HAL_GetTick(); - 80060c2: f7fe feb5 bl 8004e30 - 80060c6: 6178 str r0, [r7, #20] + 8005c2a: f7fe feb5 bl 8004998 + 8005c2e: 6178 str r0, [r7, #20] while(__HAL_DMA2D_GET_FLAG(hdma2d, DMA2D_FLAG_CTC) == 0U) - 80060c8: e056 b.n 8006178 + 8005c30: e056 b.n 8005ce0 { isrflags = READ_REG(hdma2d->Instance->ISR); - 80060ca: 687b ldr r3, [r7, #4] - 80060cc: 681b ldr r3, [r3, #0] - 80060ce: 685b ldr r3, [r3, #4] - 80060d0: 60fb str r3, [r7, #12] + 8005c32: 687b ldr r3, [r7, #4] + 8005c34: 681b ldr r3, [r3, #0] + 8005c36: 685b ldr r3, [r3, #4] + 8005c38: 60fb str r3, [r7, #12] if ((isrflags & (DMA2D_FLAG_CAE|DMA2D_FLAG_CE|DMA2D_FLAG_TE)) != 0U) - 80060d2: 68fb ldr r3, [r7, #12] - 80060d4: f003 0329 and.w r3, r3, #41 ; 0x29 - 80060d8: 2b00 cmp r3, #0 - 80060da: d02e beq.n 800613a + 8005c3a: 68fb ldr r3, [r7, #12] + 8005c3c: f003 0329 and.w r3, r3, #41 ; 0x29 + 8005c40: 2b00 cmp r3, #0 + 8005c42: d02e beq.n 8005ca2 { if ((isrflags & DMA2D_FLAG_CAE) != 0U) - 80060dc: 68fb ldr r3, [r7, #12] - 80060de: f003 0308 and.w r3, r3, #8 - 80060e2: 2b00 cmp r3, #0 - 80060e4: d005 beq.n 80060f2 + 8005c44: 68fb ldr r3, [r7, #12] + 8005c46: f003 0308 and.w r3, r3, #8 + 8005c4a: 2b00 cmp r3, #0 + 8005c4c: d005 beq.n 8005c5a { hdma2d->ErrorCode |= HAL_DMA2D_ERROR_CAE; - 80060e6: 687b ldr r3, [r7, #4] - 80060e8: 6bdb ldr r3, [r3, #60] ; 0x3c - 80060ea: f043 0204 orr.w r2, r3, #4 - 80060ee: 687b ldr r3, [r7, #4] - 80060f0: 63da str r2, [r3, #60] ; 0x3c + 8005c4e: 687b ldr r3, [r7, #4] + 8005c50: 6bdb ldr r3, [r3, #60] ; 0x3c + 8005c52: f043 0204 orr.w r2, r3, #4 + 8005c56: 687b ldr r3, [r7, #4] + 8005c58: 63da str r2, [r3, #60] ; 0x3c } if ((isrflags & DMA2D_FLAG_CE) != 0U) - 80060f2: 68fb ldr r3, [r7, #12] - 80060f4: f003 0320 and.w r3, r3, #32 - 80060f8: 2b00 cmp r3, #0 - 80060fa: d005 beq.n 8006108 + 8005c5a: 68fb ldr r3, [r7, #12] + 8005c5c: f003 0320 and.w r3, r3, #32 + 8005c60: 2b00 cmp r3, #0 + 8005c62: d005 beq.n 8005c70 { hdma2d->ErrorCode |= HAL_DMA2D_ERROR_CE; - 80060fc: 687b ldr r3, [r7, #4] - 80060fe: 6bdb ldr r3, [r3, #60] ; 0x3c - 8006100: f043 0202 orr.w r2, r3, #2 - 8006104: 687b ldr r3, [r7, #4] - 8006106: 63da str r2, [r3, #60] ; 0x3c + 8005c64: 687b ldr r3, [r7, #4] + 8005c66: 6bdb ldr r3, [r3, #60] ; 0x3c + 8005c68: f043 0202 orr.w r2, r3, #2 + 8005c6c: 687b ldr r3, [r7, #4] + 8005c6e: 63da str r2, [r3, #60] ; 0x3c } if ((isrflags & DMA2D_FLAG_TE) != 0U) - 8006108: 68fb ldr r3, [r7, #12] - 800610a: f003 0301 and.w r3, r3, #1 - 800610e: 2b00 cmp r3, #0 - 8006110: d005 beq.n 800611e + 8005c70: 68fb ldr r3, [r7, #12] + 8005c72: f003 0301 and.w r3, r3, #1 + 8005c76: 2b00 cmp r3, #0 + 8005c78: d005 beq.n 8005c86 { hdma2d->ErrorCode |= HAL_DMA2D_ERROR_TE; - 8006112: 687b ldr r3, [r7, #4] - 8006114: 6bdb ldr r3, [r3, #60] ; 0x3c - 8006116: f043 0201 orr.w r2, r3, #1 - 800611a: 687b ldr r3, [r7, #4] - 800611c: 63da str r2, [r3, #60] ; 0x3c + 8005c7a: 687b ldr r3, [r7, #4] + 8005c7c: 6bdb ldr r3, [r3, #60] ; 0x3c + 8005c7e: f043 0201 orr.w r2, r3, #1 + 8005c82: 687b ldr r3, [r7, #4] + 8005c84: 63da str r2, [r3, #60] ; 0x3c } /* Clear the CLUT Access Error, Configuration Error and Transfer Error flags */ __HAL_DMA2D_CLEAR_FLAG(hdma2d, DMA2D_FLAG_CAE | DMA2D_FLAG_CE | DMA2D_FLAG_TE); - 800611e: 687b ldr r3, [r7, #4] - 8006120: 681b ldr r3, [r3, #0] - 8006122: 2229 movs r2, #41 ; 0x29 - 8006124: 609a str r2, [r3, #8] + 8005c86: 687b ldr r3, [r7, #4] + 8005c88: 681b ldr r3, [r3, #0] + 8005c8a: 2229 movs r2, #41 ; 0x29 + 8005c8c: 609a str r2, [r3, #8] /* Change DMA2D state */ hdma2d->State= HAL_DMA2D_STATE_ERROR; - 8006126: 687b ldr r3, [r7, #4] - 8006128: 2204 movs r2, #4 - 800612a: f883 2039 strb.w r2, [r3, #57] ; 0x39 + 8005c8e: 687b ldr r3, [r7, #4] + 8005c90: 2204 movs r2, #4 + 8005c92: f883 2039 strb.w r2, [r3, #57] ; 0x39 /* Process unlocked */ __HAL_UNLOCK(hdma2d); - 800612e: 687b ldr r3, [r7, #4] - 8006130: 2200 movs r2, #0 - 8006132: f883 2038 strb.w r2, [r3, #56] ; 0x38 + 8005c96: 687b ldr r3, [r7, #4] + 8005c98: 2200 movs r2, #0 + 8005c9a: f883 2038 strb.w r2, [r3, #56] ; 0x38 return HAL_ERROR; - 8006136: 2301 movs r3, #1 - 8006138: e032 b.n 80061a0 + 8005c9e: 2301 movs r3, #1 + 8005ca0: e032 b.n 8005d08 } /* Check for the Timeout */ if(Timeout != HAL_MAX_DELAY) - 800613a: 683b ldr r3, [r7, #0] - 800613c: f1b3 3fff cmp.w r3, #4294967295 - 8006140: d01a beq.n 8006178 + 8005ca2: 683b ldr r3, [r7, #0] + 8005ca4: f1b3 3fff cmp.w r3, #4294967295 + 8005ca8: d01a beq.n 8005ce0 { if(((HAL_GetTick() - tickstart ) > Timeout)||(Timeout == 0U)) - 8006142: f7fe fe75 bl 8004e30 - 8006146: 4602 mov r2, r0 - 8006148: 697b ldr r3, [r7, #20] - 800614a: 1ad3 subs r3, r2, r3 - 800614c: 683a ldr r2, [r7, #0] - 800614e: 429a cmp r2, r3 - 8006150: d302 bcc.n 8006158 - 8006152: 683b ldr r3, [r7, #0] - 8006154: 2b00 cmp r3, #0 - 8006156: d10f bne.n 8006178 + 8005caa: f7fe fe75 bl 8004998 + 8005cae: 4602 mov r2, r0 + 8005cb0: 697b ldr r3, [r7, #20] + 8005cb2: 1ad3 subs r3, r2, r3 + 8005cb4: 683a ldr r2, [r7, #0] + 8005cb6: 429a cmp r2, r3 + 8005cb8: d302 bcc.n 8005cc0 + 8005cba: 683b ldr r3, [r7, #0] + 8005cbc: 2b00 cmp r3, #0 + 8005cbe: d10f bne.n 8005ce0 { /* Update error code */ hdma2d->ErrorCode |= HAL_DMA2D_ERROR_TIMEOUT; - 8006158: 687b ldr r3, [r7, #4] - 800615a: 6bdb ldr r3, [r3, #60] ; 0x3c - 800615c: f043 0220 orr.w r2, r3, #32 - 8006160: 687b ldr r3, [r7, #4] - 8006162: 63da str r2, [r3, #60] ; 0x3c + 8005cc0: 687b ldr r3, [r7, #4] + 8005cc2: 6bdb ldr r3, [r3, #60] ; 0x3c + 8005cc4: f043 0220 orr.w r2, r3, #32 + 8005cc8: 687b ldr r3, [r7, #4] + 8005cca: 63da str r2, [r3, #60] ; 0x3c /* Change the DMA2D state */ hdma2d->State= HAL_DMA2D_STATE_TIMEOUT; - 8006164: 687b ldr r3, [r7, #4] - 8006166: 2203 movs r2, #3 - 8006168: f883 2039 strb.w r2, [r3, #57] ; 0x39 + 8005ccc: 687b ldr r3, [r7, #4] + 8005cce: 2203 movs r2, #3 + 8005cd0: f883 2039 strb.w r2, [r3, #57] ; 0x39 /* Process unlocked */ __HAL_UNLOCK(hdma2d); - 800616c: 687b ldr r3, [r7, #4] - 800616e: 2200 movs r2, #0 - 8006170: f883 2038 strb.w r2, [r3, #56] ; 0x38 + 8005cd4: 687b ldr r3, [r7, #4] + 8005cd6: 2200 movs r2, #0 + 8005cd8: f883 2038 strb.w r2, [r3, #56] ; 0x38 return HAL_TIMEOUT; - 8006174: 2303 movs r3, #3 - 8006176: e013 b.n 80061a0 + 8005cdc: 2303 movs r3, #3 + 8005cde: e013 b.n 8005d08 while(__HAL_DMA2D_GET_FLAG(hdma2d, DMA2D_FLAG_CTC) == 0U) - 8006178: 687b ldr r3, [r7, #4] - 800617a: 681b ldr r3, [r3, #0] - 800617c: 685b ldr r3, [r3, #4] - 800617e: f003 0310 and.w r3, r3, #16 - 8006182: 2b00 cmp r3, #0 - 8006184: d0a1 beq.n 80060ca + 8005ce0: 687b ldr r3, [r7, #4] + 8005ce2: 681b ldr r3, [r3, #0] + 8005ce4: 685b ldr r3, [r3, #4] + 8005ce6: f003 0310 and.w r3, r3, #16 + 8005cea: 2b00 cmp r3, #0 + 8005cec: d0a1 beq.n 8005c32 } } } /* Clear the transfer complete and CLUT loading flags */ __HAL_DMA2D_CLEAR_FLAG(hdma2d, DMA2D_FLAG_TC|DMA2D_FLAG_CTC); - 8006186: 687b ldr r3, [r7, #4] - 8006188: 681b ldr r3, [r3, #0] - 800618a: 2212 movs r2, #18 - 800618c: 609a str r2, [r3, #8] + 8005cee: 687b ldr r3, [r7, #4] + 8005cf0: 681b ldr r3, [r3, #0] + 8005cf2: 2212 movs r2, #18 + 8005cf4: 609a str r2, [r3, #8] /* Change DMA2D state */ hdma2d->State = HAL_DMA2D_STATE_READY; - 800618e: 687b ldr r3, [r7, #4] - 8006190: 2201 movs r2, #1 - 8006192: f883 2039 strb.w r2, [r3, #57] ; 0x39 + 8005cf6: 687b ldr r3, [r7, #4] + 8005cf8: 2201 movs r2, #1 + 8005cfa: f883 2039 strb.w r2, [r3, #57] ; 0x39 /* Process unlocked */ __HAL_UNLOCK(hdma2d); - 8006196: 687b ldr r3, [r7, #4] - 8006198: 2200 movs r2, #0 - 800619a: f883 2038 strb.w r2, [r3, #56] ; 0x38 + 8005cfe: 687b ldr r3, [r7, #4] + 8005d00: 2200 movs r2, #0 + 8005d02: f883 2038 strb.w r2, [r3, #56] ; 0x38 return HAL_OK; - 800619e: 2300 movs r3, #0 + 8005d06: 2300 movs r3, #0 } - 80061a0: 4618 mov r0, r3 - 80061a2: 3718 adds r7, #24 - 80061a4: 46bd mov sp, r7 - 80061a6: bd80 pop {r7, pc} + 8005d08: 4618 mov r0, r3 + 8005d0a: 3718 adds r7, #24 + 8005d0c: 46bd mov sp, r7 + 8005d0e: bd80 pop {r7, pc} -080061a8 : +08005d10 : * This parameter can be one of the following values: * DMA2D_BACKGROUND_LAYER(0) / DMA2D_FOREGROUND_LAYER(1) * @retval HAL status */ HAL_StatusTypeDef HAL_DMA2D_ConfigLayer(DMA2D_HandleTypeDef *hdma2d, uint32_t LayerIdx) { - 80061a8: b480 push {r7} - 80061aa: b087 sub sp, #28 - 80061ac: af00 add r7, sp, #0 - 80061ae: 6078 str r0, [r7, #4] - 80061b0: 6039 str r1, [r7, #0] + 8005d10: b480 push {r7} + 8005d12: b087 sub sp, #28 + 8005d14: af00 add r7, sp, #0 + 8005d16: 6078 str r0, [r7, #4] + 8005d18: 6039 str r1, [r7, #0] uint32_t regMask, regValue; /* Check the parameters */ assert_param(IS_DMA2D_LAYER(LayerIdx)); assert_param(IS_DMA2D_OFFSET(hdma2d->LayerCfg[LayerIdx].InputOffset)); if(hdma2d->Init.Mode != DMA2D_R2M) - 80061b2: 687b ldr r3, [r7, #4] - 80061b4: 685b ldr r3, [r3, #4] - 80061b6: f5b3 3f40 cmp.w r3, #196608 ; 0x30000 + 8005d1a: 687b ldr r3, [r7, #4] + 8005d1c: 685b ldr r3, [r3, #4] + 8005d1e: f5b3 3f40 cmp.w r3, #196608 ; 0x30000 assert_param(IS_DMA2D_ALPHA_INVERTED(hdma2d->LayerCfg[LayerIdx].AlphaInverted)); assert_param(IS_DMA2D_RB_SWAP(hdma2d->LayerCfg[LayerIdx].RedBlueSwap)); #endif /* DMA2D_ALPHA_INV_RB_SWAP_SUPPORT */ /* Process locked */ __HAL_LOCK(hdma2d); - 80061ba: 687b ldr r3, [r7, #4] - 80061bc: f893 3038 ldrb.w r3, [r3, #56] ; 0x38 - 80061c0: 2b01 cmp r3, #1 - 80061c2: d101 bne.n 80061c8 - 80061c4: 2302 movs r3, #2 - 80061c6: e079 b.n 80062bc - 80061c8: 687b ldr r3, [r7, #4] - 80061ca: 2201 movs r2, #1 - 80061cc: f883 2038 strb.w r2, [r3, #56] ; 0x38 + 8005d22: 687b ldr r3, [r7, #4] + 8005d24: f893 3038 ldrb.w r3, [r3, #56] ; 0x38 + 8005d28: 2b01 cmp r3, #1 + 8005d2a: d101 bne.n 8005d30 + 8005d2c: 2302 movs r3, #2 + 8005d2e: e079 b.n 8005e24 + 8005d30: 687b ldr r3, [r7, #4] + 8005d32: 2201 movs r2, #1 + 8005d34: f883 2038 strb.w r2, [r3, #56] ; 0x38 /* Change DMA2D peripheral state */ hdma2d->State = HAL_DMA2D_STATE_BUSY; - 80061d0: 687b ldr r3, [r7, #4] - 80061d2: 2202 movs r2, #2 - 80061d4: f883 2039 strb.w r2, [r3, #57] ; 0x39 + 8005d38: 687b ldr r3, [r7, #4] + 8005d3a: 2202 movs r2, #2 + 8005d3c: f883 2039 strb.w r2, [r3, #57] ; 0x39 pLayerCfg = &hdma2d->LayerCfg[LayerIdx]; - 80061d8: 683b ldr r3, [r7, #0] - 80061da: 011b lsls r3, r3, #4 - 80061dc: 3318 adds r3, #24 - 80061de: 687a ldr r2, [r7, #4] - 80061e0: 4413 add r3, r2 - 80061e2: 613b str r3, [r7, #16] + 8005d40: 683b ldr r3, [r7, #0] + 8005d42: 011b lsls r3, r3, #4 + 8005d44: 3318 adds r3, #24 + 8005d46: 687a ldr r2, [r7, #4] + 8005d48: 4413 add r3, r2 + 8005d4a: 613b str r3, [r7, #16] #if defined (DMA2D_ALPHA_INV_RB_SWAP_SUPPORT) regValue = pLayerCfg->InputColorMode | (pLayerCfg->AlphaMode << DMA2D_BGPFCCR_AM_Pos) |\ (pLayerCfg->AlphaInverted << DMA2D_BGPFCCR_AI_Pos) | (pLayerCfg->RedBlueSwap << DMA2D_BGPFCCR_RBS_Pos); regMask = (DMA2D_BGPFCCR_CM | DMA2D_BGPFCCR_AM | DMA2D_BGPFCCR_ALPHA | DMA2D_BGPFCCR_AI | DMA2D_BGPFCCR_RBS); #else regValue = pLayerCfg->InputColorMode | (pLayerCfg->AlphaMode << DMA2D_BGPFCCR_AM_Pos); - 80061e4: 693b ldr r3, [r7, #16] - 80061e6: 685a ldr r2, [r3, #4] - 80061e8: 693b ldr r3, [r7, #16] - 80061ea: 689b ldr r3, [r3, #8] - 80061ec: 041b lsls r3, r3, #16 - 80061ee: 4313 orrs r3, r2 - 80061f0: 617b str r3, [r7, #20] + 8005d4c: 693b ldr r3, [r7, #16] + 8005d4e: 685a ldr r2, [r3, #4] + 8005d50: 693b ldr r3, [r7, #16] + 8005d52: 689b ldr r3, [r3, #8] + 8005d54: 041b lsls r3, r3, #16 + 8005d56: 4313 orrs r3, r2 + 8005d58: 617b str r3, [r7, #20] regMask = DMA2D_BGPFCCR_CM | DMA2D_BGPFCCR_AM | DMA2D_BGPFCCR_ALPHA; - 80061f2: 4b35 ldr r3, [pc, #212] ; (80062c8 ) - 80061f4: 60fb str r3, [r7, #12] + 8005d5a: 4b35 ldr r3, [pc, #212] ; (8005e30 ) + 8005d5c: 60fb str r3, [r7, #12] #endif /* DMA2D_ALPHA_INV_RB_SWAP_SUPPORT */ if ((pLayerCfg->InputColorMode == DMA2D_INPUT_A4) || (pLayerCfg->InputColorMode == DMA2D_INPUT_A8)) - 80061f6: 693b ldr r3, [r7, #16] - 80061f8: 685b ldr r3, [r3, #4] - 80061fa: 2b0a cmp r3, #10 - 80061fc: d003 beq.n 8006206 - 80061fe: 693b ldr r3, [r7, #16] - 8006200: 685b ldr r3, [r3, #4] - 8006202: 2b09 cmp r3, #9 - 8006204: d107 bne.n 8006216 + 8005d5e: 693b ldr r3, [r7, #16] + 8005d60: 685b ldr r3, [r3, #4] + 8005d62: 2b0a cmp r3, #10 + 8005d64: d003 beq.n 8005d6e + 8005d66: 693b ldr r3, [r7, #16] + 8005d68: 685b ldr r3, [r3, #4] + 8005d6a: 2b09 cmp r3, #9 + 8005d6c: d107 bne.n 8005d7e { regValue |= (pLayerCfg->InputAlpha & DMA2D_BGPFCCR_ALPHA); - 8006206: 693b ldr r3, [r7, #16] - 8006208: 68db ldr r3, [r3, #12] - 800620a: f003 437f and.w r3, r3, #4278190080 ; 0xff000000 - 800620e: 697a ldr r2, [r7, #20] - 8006210: 4313 orrs r3, r2 - 8006212: 617b str r3, [r7, #20] - 8006214: e005 b.n 8006222 + 8005d6e: 693b ldr r3, [r7, #16] + 8005d70: 68db ldr r3, [r3, #12] + 8005d72: f003 437f and.w r3, r3, #4278190080 ; 0xff000000 + 8005d76: 697a ldr r2, [r7, #20] + 8005d78: 4313 orrs r3, r2 + 8005d7a: 617b str r3, [r7, #20] + 8005d7c: e005 b.n 8005d8a } else { regValue |= (pLayerCfg->InputAlpha << DMA2D_BGPFCCR_ALPHA_Pos); - 8006216: 693b ldr r3, [r7, #16] - 8006218: 68db ldr r3, [r3, #12] - 800621a: 061b lsls r3, r3, #24 - 800621c: 697a ldr r2, [r7, #20] - 800621e: 4313 orrs r3, r2 - 8006220: 617b str r3, [r7, #20] + 8005d7e: 693b ldr r3, [r7, #16] + 8005d80: 68db ldr r3, [r3, #12] + 8005d82: 061b lsls r3, r3, #24 + 8005d84: 697a ldr r2, [r7, #20] + 8005d86: 4313 orrs r3, r2 + 8005d88: 617b str r3, [r7, #20] } /* Configure the background DMA2D layer */ if(LayerIdx == DMA2D_BACKGROUND_LAYER) - 8006222: 683b ldr r3, [r7, #0] - 8006224: 2b00 cmp r3, #0 - 8006226: d120 bne.n 800626a + 8005d8a: 683b ldr r3, [r7, #0] + 8005d8c: 2b00 cmp r3, #0 + 8005d8e: d120 bne.n 8005dd2 { /* Write DMA2D BGPFCCR register */ MODIFY_REG(hdma2d->Instance->BGPFCCR, regMask, regValue); - 8006228: 687b ldr r3, [r7, #4] - 800622a: 681b ldr r3, [r3, #0] - 800622c: 6a5a ldr r2, [r3, #36] ; 0x24 - 800622e: 68fb ldr r3, [r7, #12] - 8006230: 43db mvns r3, r3 - 8006232: ea02 0103 and.w r1, r2, r3 - 8006236: 687b ldr r3, [r7, #4] - 8006238: 681b ldr r3, [r3, #0] - 800623a: 697a ldr r2, [r7, #20] - 800623c: 430a orrs r2, r1 - 800623e: 625a str r2, [r3, #36] ; 0x24 + 8005d90: 687b ldr r3, [r7, #4] + 8005d92: 681b ldr r3, [r3, #0] + 8005d94: 6a5a ldr r2, [r3, #36] ; 0x24 + 8005d96: 68fb ldr r3, [r7, #12] + 8005d98: 43db mvns r3, r3 + 8005d9a: ea02 0103 and.w r1, r2, r3 + 8005d9e: 687b ldr r3, [r7, #4] + 8005da0: 681b ldr r3, [r3, #0] + 8005da2: 697a ldr r2, [r7, #20] + 8005da4: 430a orrs r2, r1 + 8005da6: 625a str r2, [r3, #36] ; 0x24 /* DMA2D BGOR register configuration -------------------------------------*/ WRITE_REG(hdma2d->Instance->BGOR, pLayerCfg->InputOffset); - 8006240: 687b ldr r3, [r7, #4] - 8006242: 681b ldr r3, [r3, #0] - 8006244: 693a ldr r2, [r7, #16] - 8006246: 6812 ldr r2, [r2, #0] - 8006248: 619a str r2, [r3, #24] + 8005da8: 687b ldr r3, [r7, #4] + 8005daa: 681b ldr r3, [r3, #0] + 8005dac: 693a ldr r2, [r7, #16] + 8005dae: 6812 ldr r2, [r2, #0] + 8005db0: 619a str r2, [r3, #24] /* DMA2D BGCOLR register configuration -------------------------------------*/ if ((pLayerCfg->InputColorMode == DMA2D_INPUT_A4) || (pLayerCfg->InputColorMode == DMA2D_INPUT_A8)) - 800624a: 693b ldr r3, [r7, #16] - 800624c: 685b ldr r3, [r3, #4] - 800624e: 2b0a cmp r3, #10 - 8006250: d003 beq.n 800625a - 8006252: 693b ldr r3, [r7, #16] - 8006254: 685b ldr r3, [r3, #4] - 8006256: 2b09 cmp r3, #9 - 8006258: d127 bne.n 80062aa + 8005db2: 693b ldr r3, [r7, #16] + 8005db4: 685b ldr r3, [r3, #4] + 8005db6: 2b0a cmp r3, #10 + 8005db8: d003 beq.n 8005dc2 + 8005dba: 693b ldr r3, [r7, #16] + 8005dbc: 685b ldr r3, [r3, #4] + 8005dbe: 2b09 cmp r3, #9 + 8005dc0: d127 bne.n 8005e12 { WRITE_REG(hdma2d->Instance->BGCOLR, pLayerCfg->InputAlpha & (DMA2D_BGCOLR_BLUE|DMA2D_BGCOLR_GREEN|DMA2D_BGCOLR_RED)); - 800625a: 693b ldr r3, [r7, #16] - 800625c: 68da ldr r2, [r3, #12] - 800625e: 687b ldr r3, [r7, #4] - 8006260: 681b ldr r3, [r3, #0] - 8006262: f022 427f bic.w r2, r2, #4278190080 ; 0xff000000 - 8006266: 629a str r2, [r3, #40] ; 0x28 - 8006268: e01f b.n 80062aa + 8005dc2: 693b ldr r3, [r7, #16] + 8005dc4: 68da ldr r2, [r3, #12] + 8005dc6: 687b ldr r3, [r7, #4] + 8005dc8: 681b ldr r3, [r3, #0] + 8005dca: f022 427f bic.w r2, r2, #4278190080 ; 0xff000000 + 8005dce: 629a str r2, [r3, #40] ; 0x28 + 8005dd0: e01f b.n 8005e12 else { /* Write DMA2D FGPFCCR register */ MODIFY_REG(hdma2d->Instance->FGPFCCR, regMask, regValue); - 800626a: 687b ldr r3, [r7, #4] - 800626c: 681b ldr r3, [r3, #0] - 800626e: 69da ldr r2, [r3, #28] - 8006270: 68fb ldr r3, [r7, #12] - 8006272: 43db mvns r3, r3 - 8006274: ea02 0103 and.w r1, r2, r3 - 8006278: 687b ldr r3, [r7, #4] - 800627a: 681b ldr r3, [r3, #0] - 800627c: 697a ldr r2, [r7, #20] - 800627e: 430a orrs r2, r1 - 8006280: 61da str r2, [r3, #28] + 8005dd2: 687b ldr r3, [r7, #4] + 8005dd4: 681b ldr r3, [r3, #0] + 8005dd6: 69da ldr r2, [r3, #28] + 8005dd8: 68fb ldr r3, [r7, #12] + 8005dda: 43db mvns r3, r3 + 8005ddc: ea02 0103 and.w r1, r2, r3 + 8005de0: 687b ldr r3, [r7, #4] + 8005de2: 681b ldr r3, [r3, #0] + 8005de4: 697a ldr r2, [r7, #20] + 8005de6: 430a orrs r2, r1 + 8005de8: 61da str r2, [r3, #28] /* DMA2D FGOR register configuration -------------------------------------*/ WRITE_REG(hdma2d->Instance->FGOR, pLayerCfg->InputOffset); - 8006282: 687b ldr r3, [r7, #4] - 8006284: 681b ldr r3, [r3, #0] - 8006286: 693a ldr r2, [r7, #16] - 8006288: 6812 ldr r2, [r2, #0] - 800628a: 611a str r2, [r3, #16] + 8005dea: 687b ldr r3, [r7, #4] + 8005dec: 681b ldr r3, [r3, #0] + 8005dee: 693a ldr r2, [r7, #16] + 8005df0: 6812 ldr r2, [r2, #0] + 8005df2: 611a str r2, [r3, #16] /* DMA2D FGCOLR register configuration -------------------------------------*/ if ((pLayerCfg->InputColorMode == DMA2D_INPUT_A4) || (pLayerCfg->InputColorMode == DMA2D_INPUT_A8)) - 800628c: 693b ldr r3, [r7, #16] - 800628e: 685b ldr r3, [r3, #4] - 8006290: 2b0a cmp r3, #10 - 8006292: d003 beq.n 800629c - 8006294: 693b ldr r3, [r7, #16] - 8006296: 685b ldr r3, [r3, #4] - 8006298: 2b09 cmp r3, #9 - 800629a: d106 bne.n 80062aa + 8005df4: 693b ldr r3, [r7, #16] + 8005df6: 685b ldr r3, [r3, #4] + 8005df8: 2b0a cmp r3, #10 + 8005dfa: d003 beq.n 8005e04 + 8005dfc: 693b ldr r3, [r7, #16] + 8005dfe: 685b ldr r3, [r3, #4] + 8005e00: 2b09 cmp r3, #9 + 8005e02: d106 bne.n 8005e12 { WRITE_REG(hdma2d->Instance->FGCOLR, pLayerCfg->InputAlpha & (DMA2D_FGCOLR_BLUE|DMA2D_FGCOLR_GREEN|DMA2D_FGCOLR_RED)); - 800629c: 693b ldr r3, [r7, #16] - 800629e: 68da ldr r2, [r3, #12] - 80062a0: 687b ldr r3, [r7, #4] - 80062a2: 681b ldr r3, [r3, #0] - 80062a4: f022 427f bic.w r2, r2, #4278190080 ; 0xff000000 - 80062a8: 621a str r2, [r3, #32] + 8005e04: 693b ldr r3, [r7, #16] + 8005e06: 68da ldr r2, [r3, #12] + 8005e08: 687b ldr r3, [r7, #4] + 8005e0a: 681b ldr r3, [r3, #0] + 8005e0c: f022 427f bic.w r2, r2, #4278190080 ; 0xff000000 + 8005e10: 621a str r2, [r3, #32] } } /* Initialize the DMA2D state*/ hdma2d->State = HAL_DMA2D_STATE_READY; - 80062aa: 687b ldr r3, [r7, #4] - 80062ac: 2201 movs r2, #1 - 80062ae: f883 2039 strb.w r2, [r3, #57] ; 0x39 + 8005e12: 687b ldr r3, [r7, #4] + 8005e14: 2201 movs r2, #1 + 8005e16: f883 2039 strb.w r2, [r3, #57] ; 0x39 /* Process unlocked */ __HAL_UNLOCK(hdma2d); - 80062b2: 687b ldr r3, [r7, #4] - 80062b4: 2200 movs r2, #0 - 80062b6: f883 2038 strb.w r2, [r3, #56] ; 0x38 + 8005e1a: 687b ldr r3, [r7, #4] + 8005e1c: 2200 movs r2, #0 + 8005e1e: f883 2038 strb.w r2, [r3, #56] ; 0x38 return HAL_OK; - 80062ba: 2300 movs r3, #0 + 8005e22: 2300 movs r3, #0 } - 80062bc: 4618 mov r0, r3 - 80062be: 371c adds r7, #28 - 80062c0: 46bd mov sp, r7 - 80062c2: f85d 7b04 ldr.w r7, [sp], #4 - 80062c6: 4770 bx lr - 80062c8: ff03000f .word 0xff03000f + 8005e24: 4618 mov r0, r3 + 8005e26: 371c adds r7, #28 + 8005e28: 46bd mov sp, r7 + 8005e2a: f85d 7b04 ldr.w r7, [sp], #4 + 8005e2e: 4770 bx lr + 8005e30: ff03000f .word 0xff03000f -080062cc : +08005e34 : * @param Width The width of data to be transferred from source to destination. * @param Height The height of data to be transferred from source to destination. * @retval HAL status */ static void DMA2D_SetConfig(DMA2D_HandleTypeDef *hdma2d, uint32_t pdata, uint32_t DstAddress, uint32_t Width, uint32_t Height) { - 80062cc: b480 push {r7} - 80062ce: b08b sub sp, #44 ; 0x2c - 80062d0: af00 add r7, sp, #0 - 80062d2: 60f8 str r0, [r7, #12] - 80062d4: 60b9 str r1, [r7, #8] - 80062d6: 607a str r2, [r7, #4] - 80062d8: 603b str r3, [r7, #0] + 8005e34: b480 push {r7} + 8005e36: b08b sub sp, #44 ; 0x2c + 8005e38: af00 add r7, sp, #0 + 8005e3a: 60f8 str r0, [r7, #12] + 8005e3c: 60b9 str r1, [r7, #8] + 8005e3e: 607a str r2, [r7, #4] + 8005e40: 603b str r3, [r7, #0] uint32_t tmp2; uint32_t tmp3; uint32_t tmp4; /* Configure DMA2D data size */ MODIFY_REG(hdma2d->Instance->NLR, (DMA2D_NLR_NL|DMA2D_NLR_PL), (Height| (Width << DMA2D_NLR_PL_Pos))); - 80062da: 68fb ldr r3, [r7, #12] - 80062dc: 681b ldr r3, [r3, #0] - 80062de: 6c5b ldr r3, [r3, #68] ; 0x44 - 80062e0: f003 4140 and.w r1, r3, #3221225472 ; 0xc0000000 - 80062e4: 683b ldr r3, [r7, #0] - 80062e6: 041a lsls r2, r3, #16 - 80062e8: 6b3b ldr r3, [r7, #48] ; 0x30 - 80062ea: 431a orrs r2, r3 - 80062ec: 68fb ldr r3, [r7, #12] - 80062ee: 681b ldr r3, [r3, #0] - 80062f0: 430a orrs r2, r1 - 80062f2: 645a str r2, [r3, #68] ; 0x44 + 8005e42: 68fb ldr r3, [r7, #12] + 8005e44: 681b ldr r3, [r3, #0] + 8005e46: 6c5b ldr r3, [r3, #68] ; 0x44 + 8005e48: f003 4140 and.w r1, r3, #3221225472 ; 0xc0000000 + 8005e4c: 683b ldr r3, [r7, #0] + 8005e4e: 041a lsls r2, r3, #16 + 8005e50: 6b3b ldr r3, [r7, #48] ; 0x30 + 8005e52: 431a orrs r2, r3 + 8005e54: 68fb ldr r3, [r7, #12] + 8005e56: 681b ldr r3, [r3, #0] + 8005e58: 430a orrs r2, r1 + 8005e5a: 645a str r2, [r3, #68] ; 0x44 /* Configure DMA2D destination address */ WRITE_REG(hdma2d->Instance->OMAR, DstAddress); - 80062f4: 68fb ldr r3, [r7, #12] - 80062f6: 681b ldr r3, [r3, #0] - 80062f8: 687a ldr r2, [r7, #4] - 80062fa: 63da str r2, [r3, #60] ; 0x3c + 8005e5c: 68fb ldr r3, [r7, #12] + 8005e5e: 681b ldr r3, [r3, #0] + 8005e60: 687a ldr r2, [r7, #4] + 8005e62: 63da str r2, [r3, #60] ; 0x3c /* Register to memory DMA2D mode selected */ if (hdma2d->Init.Mode == DMA2D_R2M) - 80062fc: 68fb ldr r3, [r7, #12] - 80062fe: 685b ldr r3, [r3, #4] - 8006300: f5b3 3f40 cmp.w r3, #196608 ; 0x30000 - 8006304: d174 bne.n 80063f0 + 8005e64: 68fb ldr r3, [r7, #12] + 8005e66: 685b ldr r3, [r3, #4] + 8005e68: f5b3 3f40 cmp.w r3, #196608 ; 0x30000 + 8005e6c: d174 bne.n 8005f58 { tmp1 = pdata & DMA2D_OCOLR_ALPHA_1; - 8006306: 68bb ldr r3, [r7, #8] - 8006308: f003 437f and.w r3, r3, #4278190080 ; 0xff000000 - 800630c: 623b str r3, [r7, #32] + 8005e6e: 68bb ldr r3, [r7, #8] + 8005e70: f003 437f and.w r3, r3, #4278190080 ; 0xff000000 + 8005e74: 623b str r3, [r7, #32] tmp2 = pdata & DMA2D_OCOLR_RED_1; - 800630e: 68bb ldr r3, [r7, #8] - 8006310: f403 037f and.w r3, r3, #16711680 ; 0xff0000 - 8006314: 61fb str r3, [r7, #28] + 8005e76: 68bb ldr r3, [r7, #8] + 8005e78: f403 037f and.w r3, r3, #16711680 ; 0xff0000 + 8005e7c: 61fb str r3, [r7, #28] tmp3 = pdata & DMA2D_OCOLR_GREEN_1; - 8006316: 68bb ldr r3, [r7, #8] - 8006318: f403 437f and.w r3, r3, #65280 ; 0xff00 - 800631c: 61bb str r3, [r7, #24] + 8005e7e: 68bb ldr r3, [r7, #8] + 8005e80: f403 437f and.w r3, r3, #65280 ; 0xff00 + 8005e84: 61bb str r3, [r7, #24] tmp4 = pdata & DMA2D_OCOLR_BLUE_1; - 800631e: 68bb ldr r3, [r7, #8] - 8006320: b2db uxtb r3, r3 - 8006322: 617b str r3, [r7, #20] + 8005e86: 68bb ldr r3, [r7, #8] + 8005e88: b2db uxtb r3, r3 + 8005e8a: 617b str r3, [r7, #20] /* Prepare the value to be written to the OCOLR register according to the color mode */ if (hdma2d->Init.ColorMode == DMA2D_OUTPUT_ARGB8888) - 8006324: 68fb ldr r3, [r7, #12] - 8006326: 689b ldr r3, [r3, #8] - 8006328: 2b00 cmp r3, #0 - 800632a: d108 bne.n 800633e + 8005e8c: 68fb ldr r3, [r7, #12] + 8005e8e: 689b ldr r3, [r3, #8] + 8005e90: 2b00 cmp r3, #0 + 8005e92: d108 bne.n 8005ea6 { tmp = (tmp3 | tmp2 | tmp1| tmp4); - 800632c: 69ba ldr r2, [r7, #24] - 800632e: 69fb ldr r3, [r7, #28] - 8006330: 431a orrs r2, r3 - 8006332: 6a3b ldr r3, [r7, #32] - 8006334: 4313 orrs r3, r2 - 8006336: 697a ldr r2, [r7, #20] - 8006338: 4313 orrs r3, r2 - 800633a: 627b str r3, [r7, #36] ; 0x24 - 800633c: e053 b.n 80063e6 + 8005e94: 69ba ldr r2, [r7, #24] + 8005e96: 69fb ldr r3, [r7, #28] + 8005e98: 431a orrs r2, r3 + 8005e9a: 6a3b ldr r3, [r7, #32] + 8005e9c: 4313 orrs r3, r2 + 8005e9e: 697a ldr r2, [r7, #20] + 8005ea0: 4313 orrs r3, r2 + 8005ea2: 627b str r3, [r7, #36] ; 0x24 + 8005ea4: e053 b.n 8005f4e } else if (hdma2d->Init.ColorMode == DMA2D_OUTPUT_RGB888) - 800633e: 68fb ldr r3, [r7, #12] - 8006340: 689b ldr r3, [r3, #8] - 8006342: 2b01 cmp r3, #1 - 8006344: d106 bne.n 8006354 + 8005ea6: 68fb ldr r3, [r7, #12] + 8005ea8: 689b ldr r3, [r3, #8] + 8005eaa: 2b01 cmp r3, #1 + 8005eac: d106 bne.n 8005ebc { tmp = (tmp3 | tmp2 | tmp4); - 8006346: 69ba ldr r2, [r7, #24] - 8006348: 69fb ldr r3, [r7, #28] - 800634a: 4313 orrs r3, r2 - 800634c: 697a ldr r2, [r7, #20] - 800634e: 4313 orrs r3, r2 - 8006350: 627b str r3, [r7, #36] ; 0x24 - 8006352: e048 b.n 80063e6 + 8005eae: 69ba ldr r2, [r7, #24] + 8005eb0: 69fb ldr r3, [r7, #28] + 8005eb2: 4313 orrs r3, r2 + 8005eb4: 697a ldr r2, [r7, #20] + 8005eb6: 4313 orrs r3, r2 + 8005eb8: 627b str r3, [r7, #36] ; 0x24 + 8005eba: e048 b.n 8005f4e } else if (hdma2d->Init.ColorMode == DMA2D_OUTPUT_RGB565) - 8006354: 68fb ldr r3, [r7, #12] - 8006356: 689b ldr r3, [r3, #8] - 8006358: 2b02 cmp r3, #2 - 800635a: d111 bne.n 8006380 + 8005ebc: 68fb ldr r3, [r7, #12] + 8005ebe: 689b ldr r3, [r3, #8] + 8005ec0: 2b02 cmp r3, #2 + 8005ec2: d111 bne.n 8005ee8 { tmp2 = (tmp2 >> 19U); - 800635c: 69fb ldr r3, [r7, #28] - 800635e: 0cdb lsrs r3, r3, #19 - 8006360: 61fb str r3, [r7, #28] + 8005ec4: 69fb ldr r3, [r7, #28] + 8005ec6: 0cdb lsrs r3, r3, #19 + 8005ec8: 61fb str r3, [r7, #28] tmp3 = (tmp3 >> 10U); - 8006362: 69bb ldr r3, [r7, #24] - 8006364: 0a9b lsrs r3, r3, #10 - 8006366: 61bb str r3, [r7, #24] + 8005eca: 69bb ldr r3, [r7, #24] + 8005ecc: 0a9b lsrs r3, r3, #10 + 8005ece: 61bb str r3, [r7, #24] tmp4 = (tmp4 >> 3U ); - 8006368: 697b ldr r3, [r7, #20] - 800636a: 08db lsrs r3, r3, #3 - 800636c: 617b str r3, [r7, #20] + 8005ed0: 697b ldr r3, [r7, #20] + 8005ed2: 08db lsrs r3, r3, #3 + 8005ed4: 617b str r3, [r7, #20] tmp = ((tmp3 << 5U) | (tmp2 << 11U) | tmp4); - 800636e: 69bb ldr r3, [r7, #24] - 8006370: 015a lsls r2, r3, #5 - 8006372: 69fb ldr r3, [r7, #28] - 8006374: 02db lsls r3, r3, #11 - 8006376: 4313 orrs r3, r2 - 8006378: 697a ldr r2, [r7, #20] - 800637a: 4313 orrs r3, r2 - 800637c: 627b str r3, [r7, #36] ; 0x24 - 800637e: e032 b.n 80063e6 + 8005ed6: 69bb ldr r3, [r7, #24] + 8005ed8: 015a lsls r2, r3, #5 + 8005eda: 69fb ldr r3, [r7, #28] + 8005edc: 02db lsls r3, r3, #11 + 8005ede: 4313 orrs r3, r2 + 8005ee0: 697a ldr r2, [r7, #20] + 8005ee2: 4313 orrs r3, r2 + 8005ee4: 627b str r3, [r7, #36] ; 0x24 + 8005ee6: e032 b.n 8005f4e } else if (hdma2d->Init.ColorMode == DMA2D_OUTPUT_ARGB1555) - 8006380: 68fb ldr r3, [r7, #12] - 8006382: 689b ldr r3, [r3, #8] - 8006384: 2b03 cmp r3, #3 - 8006386: d117 bne.n 80063b8 + 8005ee8: 68fb ldr r3, [r7, #12] + 8005eea: 689b ldr r3, [r3, #8] + 8005eec: 2b03 cmp r3, #3 + 8005eee: d117 bne.n 8005f20 { tmp1 = (tmp1 >> 31U); - 8006388: 6a3b ldr r3, [r7, #32] - 800638a: 0fdb lsrs r3, r3, #31 - 800638c: 623b str r3, [r7, #32] + 8005ef0: 6a3b ldr r3, [r7, #32] + 8005ef2: 0fdb lsrs r3, r3, #31 + 8005ef4: 623b str r3, [r7, #32] tmp2 = (tmp2 >> 19U); - 800638e: 69fb ldr r3, [r7, #28] - 8006390: 0cdb lsrs r3, r3, #19 - 8006392: 61fb str r3, [r7, #28] + 8005ef6: 69fb ldr r3, [r7, #28] + 8005ef8: 0cdb lsrs r3, r3, #19 + 8005efa: 61fb str r3, [r7, #28] tmp3 = (tmp3 >> 11U); - 8006394: 69bb ldr r3, [r7, #24] - 8006396: 0adb lsrs r3, r3, #11 - 8006398: 61bb str r3, [r7, #24] + 8005efc: 69bb ldr r3, [r7, #24] + 8005efe: 0adb lsrs r3, r3, #11 + 8005f00: 61bb str r3, [r7, #24] tmp4 = (tmp4 >> 3U ); - 800639a: 697b ldr r3, [r7, #20] - 800639c: 08db lsrs r3, r3, #3 - 800639e: 617b str r3, [r7, #20] + 8005f02: 697b ldr r3, [r7, #20] + 8005f04: 08db lsrs r3, r3, #3 + 8005f06: 617b str r3, [r7, #20] tmp = ((tmp3 << 5U) | (tmp2 << 10U) | (tmp1 << 15U) | tmp4); - 80063a0: 69bb ldr r3, [r7, #24] - 80063a2: 015a lsls r2, r3, #5 - 80063a4: 69fb ldr r3, [r7, #28] - 80063a6: 029b lsls r3, r3, #10 - 80063a8: 431a orrs r2, r3 - 80063aa: 6a3b ldr r3, [r7, #32] - 80063ac: 03db lsls r3, r3, #15 - 80063ae: 4313 orrs r3, r2 - 80063b0: 697a ldr r2, [r7, #20] - 80063b2: 4313 orrs r3, r2 - 80063b4: 627b str r3, [r7, #36] ; 0x24 - 80063b6: e016 b.n 80063e6 + 8005f08: 69bb ldr r3, [r7, #24] + 8005f0a: 015a lsls r2, r3, #5 + 8005f0c: 69fb ldr r3, [r7, #28] + 8005f0e: 029b lsls r3, r3, #10 + 8005f10: 431a orrs r2, r3 + 8005f12: 6a3b ldr r3, [r7, #32] + 8005f14: 03db lsls r3, r3, #15 + 8005f16: 4313 orrs r3, r2 + 8005f18: 697a ldr r2, [r7, #20] + 8005f1a: 4313 orrs r3, r2 + 8005f1c: 627b str r3, [r7, #36] ; 0x24 + 8005f1e: e016 b.n 8005f4e } else /* Dhdma2d->Init.ColorMode = DMA2D_OUTPUT_ARGB4444 */ { tmp1 = (tmp1 >> 28U); - 80063b8: 6a3b ldr r3, [r7, #32] - 80063ba: 0f1b lsrs r3, r3, #28 - 80063bc: 623b str r3, [r7, #32] + 8005f20: 6a3b ldr r3, [r7, #32] + 8005f22: 0f1b lsrs r3, r3, #28 + 8005f24: 623b str r3, [r7, #32] tmp2 = (tmp2 >> 20U); - 80063be: 69fb ldr r3, [r7, #28] - 80063c0: 0d1b lsrs r3, r3, #20 - 80063c2: 61fb str r3, [r7, #28] + 8005f26: 69fb ldr r3, [r7, #28] + 8005f28: 0d1b lsrs r3, r3, #20 + 8005f2a: 61fb str r3, [r7, #28] tmp3 = (tmp3 >> 12U); - 80063c4: 69bb ldr r3, [r7, #24] - 80063c6: 0b1b lsrs r3, r3, #12 - 80063c8: 61bb str r3, [r7, #24] + 8005f2c: 69bb ldr r3, [r7, #24] + 8005f2e: 0b1b lsrs r3, r3, #12 + 8005f30: 61bb str r3, [r7, #24] tmp4 = (tmp4 >> 4U ); - 80063ca: 697b ldr r3, [r7, #20] - 80063cc: 091b lsrs r3, r3, #4 - 80063ce: 617b str r3, [r7, #20] + 8005f32: 697b ldr r3, [r7, #20] + 8005f34: 091b lsrs r3, r3, #4 + 8005f36: 617b str r3, [r7, #20] tmp = ((tmp3 << 4U) | (tmp2 << 8U) | (tmp1 << 12U) | tmp4); - 80063d0: 69bb ldr r3, [r7, #24] - 80063d2: 011a lsls r2, r3, #4 - 80063d4: 69fb ldr r3, [r7, #28] - 80063d6: 021b lsls r3, r3, #8 - 80063d8: 431a orrs r2, r3 - 80063da: 6a3b ldr r3, [r7, #32] - 80063dc: 031b lsls r3, r3, #12 - 80063de: 4313 orrs r3, r2 - 80063e0: 697a ldr r2, [r7, #20] - 80063e2: 4313 orrs r3, r2 - 80063e4: 627b str r3, [r7, #36] ; 0x24 + 8005f38: 69bb ldr r3, [r7, #24] + 8005f3a: 011a lsls r2, r3, #4 + 8005f3c: 69fb ldr r3, [r7, #28] + 8005f3e: 021b lsls r3, r3, #8 + 8005f40: 431a orrs r2, r3 + 8005f42: 6a3b ldr r3, [r7, #32] + 8005f44: 031b lsls r3, r3, #12 + 8005f46: 4313 orrs r3, r2 + 8005f48: 697a ldr r2, [r7, #20] + 8005f4a: 4313 orrs r3, r2 + 8005f4c: 627b str r3, [r7, #36] ; 0x24 } /* Write to DMA2D OCOLR register */ WRITE_REG(hdma2d->Instance->OCOLR, tmp); - 80063e6: 68fb ldr r3, [r7, #12] - 80063e8: 681b ldr r3, [r3, #0] - 80063ea: 6a7a ldr r2, [r7, #36] ; 0x24 - 80063ec: 639a str r2, [r3, #56] ; 0x38 + 8005f4e: 68fb ldr r3, [r7, #12] + 8005f50: 681b ldr r3, [r3, #0] + 8005f52: 6a7a ldr r2, [r7, #36] ; 0x24 + 8005f54: 639a str r2, [r3, #56] ; 0x38 else /* M2M, M2M_PFC or M2M_Blending DMA2D Mode */ { /* Configure DMA2D source address */ WRITE_REG(hdma2d->Instance->FGMAR, pdata); } } - 80063ee: e003 b.n 80063f8 + 8005f56: e003 b.n 8005f60 WRITE_REG(hdma2d->Instance->FGMAR, pdata); - 80063f0: 68fb ldr r3, [r7, #12] - 80063f2: 681b ldr r3, [r3, #0] - 80063f4: 68ba ldr r2, [r7, #8] - 80063f6: 60da str r2, [r3, #12] + 8005f58: 68fb ldr r3, [r7, #12] + 8005f5a: 681b ldr r3, [r3, #0] + 8005f5c: 68ba ldr r2, [r7, #8] + 8005f5e: 60da str r2, [r3, #12] } - 80063f8: bf00 nop - 80063fa: 372c adds r7, #44 ; 0x2c - 80063fc: 46bd mov sp, r7 - 80063fe: f85d 7b04 ldr.w r7, [sp], #4 - 8006402: 4770 bx lr + 8005f60: bf00 nop + 8005f62: 372c adds r7, #44 ; 0x2c + 8005f64: 46bd mov sp, r7 + 8005f66: f85d 7b04 ldr.w r7, [sp], #4 + 8005f6a: 4770 bx lr -08006404 : +08005f6c : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_Init(ETH_HandleTypeDef *heth) { - 8006404: b580 push {r7, lr} - 8006406: b088 sub sp, #32 - 8006408: af00 add r7, sp, #0 - 800640a: 6078 str r0, [r7, #4] + 8005f6c: b580 push {r7, lr} + 8005f6e: b088 sub sp, #32 + 8005f70: af00 add r7, sp, #0 + 8005f72: 6078 str r0, [r7, #4] uint32_t tempreg = 0, phyreg = 0; - 800640c: 2300 movs r3, #0 - 800640e: 61fb str r3, [r7, #28] - 8006410: 2300 movs r3, #0 - 8006412: 60fb str r3, [r7, #12] + 8005f74: 2300 movs r3, #0 + 8005f76: 61fb str r3, [r7, #28] + 8005f78: 2300 movs r3, #0 + 8005f7a: 60fb str r3, [r7, #12] uint32_t hclk = 60000000; - 8006414: 4ba9 ldr r3, [pc, #676] ; (80066bc ) - 8006416: 61bb str r3, [r7, #24] + 8005f7c: 4ba9 ldr r3, [pc, #676] ; (8006224 ) + 8005f7e: 61bb str r3, [r7, #24] uint32_t tickstart = 0; - 8006418: 2300 movs r3, #0 - 800641a: 617b str r3, [r7, #20] + 8005f80: 2300 movs r3, #0 + 8005f82: 617b str r3, [r7, #20] uint32_t err = ETH_SUCCESS; - 800641c: 2300 movs r3, #0 - 800641e: 613b str r3, [r7, #16] + 8005f84: 2300 movs r3, #0 + 8005f86: 613b str r3, [r7, #16] /* Check the ETH peripheral state */ if(heth == NULL) - 8006420: 687b ldr r3, [r7, #4] - 8006422: 2b00 cmp r3, #0 - 8006424: d101 bne.n 800642a + 8005f88: 687b ldr r3, [r7, #4] + 8005f8a: 2b00 cmp r3, #0 + 8005f8c: d101 bne.n 8005f92 { return HAL_ERROR; - 8006426: 2301 movs r3, #1 - 8006428: e183 b.n 8006732 + 8005f8e: 2301 movs r3, #1 + 8005f90: e183 b.n 800629a assert_param(IS_ETH_AUTONEGOTIATION(heth->Init.AutoNegotiation)); assert_param(IS_ETH_RX_MODE(heth->Init.RxMode)); assert_param(IS_ETH_CHECKSUM_MODE(heth->Init.ChecksumMode)); assert_param(IS_ETH_MEDIA_INTERFACE(heth->Init.MediaInterface)); if(heth->State == HAL_ETH_STATE_RESET) - 800642a: 687b ldr r3, [r7, #4] - 800642c: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 - 8006430: b2db uxtb r3, r3 - 8006432: 2b00 cmp r3, #0 - 8006434: d106 bne.n 8006444 + 8005f92: 687b ldr r3, [r7, #4] + 8005f94: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 + 8005f98: b2db uxtb r3, r3 + 8005f9a: 2b00 cmp r3, #0 + 8005f9c: d106 bne.n 8005fac { /* Allocate lock resource and initialize it */ heth->Lock = HAL_UNLOCKED; - 8006436: 687b ldr r3, [r7, #4] - 8006438: 2200 movs r2, #0 - 800643a: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8005f9e: 687b ldr r3, [r7, #4] + 8005fa0: 2200 movs r2, #0 + 8005fa2: f883 2045 strb.w r2, [r3, #69] ; 0x45 } heth->MspInitCallback(heth); #else /* Init the low level hardware : GPIO, CLOCK, NVIC. */ HAL_ETH_MspInit(heth); - 800643e: 6878 ldr r0, [r7, #4] - 8006440: f005 f8c8 bl 800b5d4 + 8005fa6: 6878 ldr r0, [r7, #4] + 8005fa8: f005 f8e2 bl 800b170 #endif /* USE_HAL_ETH_REGISTER_CALLBACKS */ } /* Enable SYSCFG Clock */ __HAL_RCC_SYSCFG_CLK_ENABLE(); - 8006444: 4b9e ldr r3, [pc, #632] ; (80066c0 ) - 8006446: 6c5b ldr r3, [r3, #68] ; 0x44 - 8006448: 4a9d ldr r2, [pc, #628] ; (80066c0 ) - 800644a: f443 4380 orr.w r3, r3, #16384 ; 0x4000 - 800644e: 6453 str r3, [r2, #68] ; 0x44 - 8006450: 4b9b ldr r3, [pc, #620] ; (80066c0 ) - 8006452: 6c5b ldr r3, [r3, #68] ; 0x44 - 8006454: f403 4380 and.w r3, r3, #16384 ; 0x4000 - 8006458: 60bb str r3, [r7, #8] - 800645a: 68bb ldr r3, [r7, #8] + 8005fac: 4b9e ldr r3, [pc, #632] ; (8006228 ) + 8005fae: 6c5b ldr r3, [r3, #68] ; 0x44 + 8005fb0: 4a9d ldr r2, [pc, #628] ; (8006228 ) + 8005fb2: f443 4380 orr.w r3, r3, #16384 ; 0x4000 + 8005fb6: 6453 str r3, [r2, #68] ; 0x44 + 8005fb8: 4b9b ldr r3, [pc, #620] ; (8006228 ) + 8005fba: 6c5b ldr r3, [r3, #68] ; 0x44 + 8005fbc: f403 4380 and.w r3, r3, #16384 ; 0x4000 + 8005fc0: 60bb str r3, [r7, #8] + 8005fc2: 68bb ldr r3, [r7, #8] /* Select MII or RMII Mode*/ SYSCFG->PMC &= ~(SYSCFG_PMC_MII_RMII_SEL); - 800645c: 4b99 ldr r3, [pc, #612] ; (80066c4 ) - 800645e: 685b ldr r3, [r3, #4] - 8006460: 4a98 ldr r2, [pc, #608] ; (80066c4 ) - 8006462: f423 0300 bic.w r3, r3, #8388608 ; 0x800000 - 8006466: 6053 str r3, [r2, #4] + 8005fc4: 4b99 ldr r3, [pc, #612] ; (800622c ) + 8005fc6: 685b ldr r3, [r3, #4] + 8005fc8: 4a98 ldr r2, [pc, #608] ; (800622c ) + 8005fca: f423 0300 bic.w r3, r3, #8388608 ; 0x800000 + 8005fce: 6053 str r3, [r2, #4] SYSCFG->PMC |= (uint32_t)heth->Init.MediaInterface; - 8006468: 4b96 ldr r3, [pc, #600] ; (80066c4 ) - 800646a: 685a ldr r2, [r3, #4] - 800646c: 687b ldr r3, [r7, #4] - 800646e: 6a1b ldr r3, [r3, #32] - 8006470: 4994 ldr r1, [pc, #592] ; (80066c4 ) - 8006472: 4313 orrs r3, r2 - 8006474: 604b str r3, [r1, #4] + 8005fd0: 4b96 ldr r3, [pc, #600] ; (800622c ) + 8005fd2: 685a ldr r2, [r3, #4] + 8005fd4: 687b ldr r3, [r7, #4] + 8005fd6: 6a1b ldr r3, [r3, #32] + 8005fd8: 4994 ldr r1, [pc, #592] ; (800622c ) + 8005fda: 4313 orrs r3, r2 + 8005fdc: 604b str r3, [r1, #4] /* Ethernet Software reset */ /* Set the SWR bit: resets all MAC subsystem internal registers and logic */ /* After reset all the registers holds their respective reset values */ (heth->Instance)->DMABMR |= ETH_DMABMR_SR; - 8006476: 687b ldr r3, [r7, #4] - 8006478: 681b ldr r3, [r3, #0] - 800647a: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 800647e: 681a ldr r2, [r3, #0] - 8006480: 687b ldr r3, [r7, #4] - 8006482: 681b ldr r3, [r3, #0] - 8006484: f042 0201 orr.w r2, r2, #1 - 8006488: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 800648c: 601a str r2, [r3, #0] + 8005fde: 687b ldr r3, [r7, #4] + 8005fe0: 681b ldr r3, [r3, #0] + 8005fe2: f503 5380 add.w r3, r3, #4096 ; 0x1000 + 8005fe6: 681a ldr r2, [r3, #0] + 8005fe8: 687b ldr r3, [r7, #4] + 8005fea: 681b ldr r3, [r3, #0] + 8005fec: f042 0201 orr.w r2, r2, #1 + 8005ff0: f503 5380 add.w r3, r3, #4096 ; 0x1000 + 8005ff4: 601a str r2, [r3, #0] /* Get tick */ tickstart = HAL_GetTick(); - 800648e: f7fe fccf bl 8004e30 - 8006492: 6178 str r0, [r7, #20] + 8005ff6: f7fe fccf bl 8004998 + 8005ffa: 6178 str r0, [r7, #20] /* Wait for software reset */ while (((heth->Instance)->DMABMR & ETH_DMABMR_SR) != (uint32_t)RESET) - 8006494: e011 b.n 80064ba + 8005ffc: e011 b.n 8006022 { /* Check for the Timeout */ if((HAL_GetTick() - tickstart ) > ETH_TIMEOUT_SWRESET) - 8006496: f7fe fccb bl 8004e30 - 800649a: 4602 mov r2, r0 - 800649c: 697b ldr r3, [r7, #20] - 800649e: 1ad3 subs r3, r2, r3 - 80064a0: f5b3 7ffa cmp.w r3, #500 ; 0x1f4 - 80064a4: d909 bls.n 80064ba + 8005ffe: f7fe fccb bl 8004998 + 8006002: 4602 mov r2, r0 + 8006004: 697b ldr r3, [r7, #20] + 8006006: 1ad3 subs r3, r2, r3 + 8006008: f5b3 7ffa cmp.w r3, #500 ; 0x1f4 + 800600c: d909 bls.n 8006022 { heth->State= HAL_ETH_STATE_TIMEOUT; - 80064a6: 687b ldr r3, [r7, #4] - 80064a8: 2203 movs r2, #3 - 80064aa: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 800600e: 687b ldr r3, [r7, #4] + 8006010: 2203 movs r2, #3 + 8006012: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 80064ae: 687b ldr r3, [r7, #4] - 80064b0: 2200 movs r2, #0 - 80064b2: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006016: 687b ldr r3, [r7, #4] + 8006018: 2200 movs r2, #0 + 800601a: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Note: The SWR is not performed if the ETH_RX_CLK or the ETH_TX_CLK are not available, please check your external PHY or the IO configuration */ return HAL_TIMEOUT; - 80064b6: 2303 movs r3, #3 - 80064b8: e13b b.n 8006732 + 800601e: 2303 movs r3, #3 + 8006020: e13b b.n 800629a while (((heth->Instance)->DMABMR & ETH_DMABMR_SR) != (uint32_t)RESET) - 80064ba: 687b ldr r3, [r7, #4] - 80064bc: 681b ldr r3, [r3, #0] - 80064be: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 80064c2: 681b ldr r3, [r3, #0] - 80064c4: f003 0301 and.w r3, r3, #1 - 80064c8: 2b00 cmp r3, #0 - 80064ca: d1e4 bne.n 8006496 + 8006022: 687b ldr r3, [r7, #4] + 8006024: 681b ldr r3, [r3, #0] + 8006026: f503 5380 add.w r3, r3, #4096 ; 0x1000 + 800602a: 681b ldr r3, [r3, #0] + 800602c: f003 0301 and.w r3, r3, #1 + 8006030: 2b00 cmp r3, #0 + 8006032: d1e4 bne.n 8005ffe } } /*-------------------------------- MAC Initialization ----------------------*/ /* Get the ETHERNET MACMIIAR value */ tempreg = (heth->Instance)->MACMIIAR; - 80064cc: 687b ldr r3, [r7, #4] - 80064ce: 681b ldr r3, [r3, #0] - 80064d0: 691b ldr r3, [r3, #16] - 80064d2: 61fb str r3, [r7, #28] + 8006034: 687b ldr r3, [r7, #4] + 8006036: 681b ldr r3, [r3, #0] + 8006038: 691b ldr r3, [r3, #16] + 800603a: 61fb str r3, [r7, #28] /* Clear CSR Clock Range CR[2:0] bits */ tempreg &= ETH_MACMIIAR_CR_MASK; - 80064d4: 69fb ldr r3, [r7, #28] - 80064d6: f023 031c bic.w r3, r3, #28 - 80064da: 61fb str r3, [r7, #28] + 800603c: 69fb ldr r3, [r7, #28] + 800603e: f023 031c bic.w r3, r3, #28 + 8006042: 61fb str r3, [r7, #28] /* Get hclk frequency value */ hclk = HAL_RCC_GetHCLKFreq(); - 80064dc: f003 f83a bl 8009554 - 80064e0: 61b8 str r0, [r7, #24] + 8006044: f003 f854 bl 80090f0 + 8006048: 61b8 str r0, [r7, #24] /* Set CR bits depending on hclk value */ if((hclk >= 20000000)&&(hclk < 35000000)) - 80064e2: 69bb ldr r3, [r7, #24] - 80064e4: 4a78 ldr r2, [pc, #480] ; (80066c8 ) - 80064e6: 4293 cmp r3, r2 - 80064e8: d908 bls.n 80064fc - 80064ea: 69bb ldr r3, [r7, #24] - 80064ec: 4a77 ldr r2, [pc, #476] ; (80066cc ) - 80064ee: 4293 cmp r3, r2 - 80064f0: d804 bhi.n 80064fc + 800604a: 69bb ldr r3, [r7, #24] + 800604c: 4a78 ldr r2, [pc, #480] ; (8006230 ) + 800604e: 4293 cmp r3, r2 + 8006050: d908 bls.n 8006064 + 8006052: 69bb ldr r3, [r7, #24] + 8006054: 4a77 ldr r2, [pc, #476] ; (8006234 ) + 8006056: 4293 cmp r3, r2 + 8006058: d804 bhi.n 8006064 { /* CSR Clock Range between 20-35 MHz */ tempreg |= (uint32_t)ETH_MACMIIAR_CR_Div16; - 80064f2: 69fb ldr r3, [r7, #28] - 80064f4: f043 0308 orr.w r3, r3, #8 - 80064f8: 61fb str r3, [r7, #28] - 80064fa: e027 b.n 800654c + 800605a: 69fb ldr r3, [r7, #28] + 800605c: f043 0308 orr.w r3, r3, #8 + 8006060: 61fb str r3, [r7, #28] + 8006062: e027 b.n 80060b4 } else if((hclk >= 35000000)&&(hclk < 60000000)) - 80064fc: 69bb ldr r3, [r7, #24] - 80064fe: 4a73 ldr r2, [pc, #460] ; (80066cc ) - 8006500: 4293 cmp r3, r2 - 8006502: d908 bls.n 8006516 - 8006504: 69bb ldr r3, [r7, #24] - 8006506: 4a72 ldr r2, [pc, #456] ; (80066d0 ) - 8006508: 4293 cmp r3, r2 - 800650a: d804 bhi.n 8006516 + 8006064: 69bb ldr r3, [r7, #24] + 8006066: 4a73 ldr r2, [pc, #460] ; (8006234 ) + 8006068: 4293 cmp r3, r2 + 800606a: d908 bls.n 800607e + 800606c: 69bb ldr r3, [r7, #24] + 800606e: 4a72 ldr r2, [pc, #456] ; (8006238 ) + 8006070: 4293 cmp r3, r2 + 8006072: d804 bhi.n 800607e { /* CSR Clock Range between 35-60 MHz */ tempreg |= (uint32_t)ETH_MACMIIAR_CR_Div26; - 800650c: 69fb ldr r3, [r7, #28] - 800650e: f043 030c orr.w r3, r3, #12 - 8006512: 61fb str r3, [r7, #28] - 8006514: e01a b.n 800654c + 8006074: 69fb ldr r3, [r7, #28] + 8006076: f043 030c orr.w r3, r3, #12 + 800607a: 61fb str r3, [r7, #28] + 800607c: e01a b.n 80060b4 } else if((hclk >= 60000000)&&(hclk < 100000000)) - 8006516: 69bb ldr r3, [r7, #24] - 8006518: 4a6d ldr r2, [pc, #436] ; (80066d0 ) - 800651a: 4293 cmp r3, r2 - 800651c: d903 bls.n 8006526 - 800651e: 69bb ldr r3, [r7, #24] - 8006520: 4a6c ldr r2, [pc, #432] ; (80066d4 ) - 8006522: 4293 cmp r3, r2 - 8006524: d911 bls.n 800654a + 800607e: 69bb ldr r3, [r7, #24] + 8006080: 4a6d ldr r2, [pc, #436] ; (8006238 ) + 8006082: 4293 cmp r3, r2 + 8006084: d903 bls.n 800608e + 8006086: 69bb ldr r3, [r7, #24] + 8006088: 4a6c ldr r2, [pc, #432] ; (800623c ) + 800608a: 4293 cmp r3, r2 + 800608c: d911 bls.n 80060b2 { /* CSR Clock Range between 60-100 MHz */ tempreg |= (uint32_t)ETH_MACMIIAR_CR_Div42; } else if((hclk >= 100000000)&&(hclk < 150000000)) - 8006526: 69bb ldr r3, [r7, #24] - 8006528: 4a6a ldr r2, [pc, #424] ; (80066d4 ) - 800652a: 4293 cmp r3, r2 - 800652c: d908 bls.n 8006540 - 800652e: 69bb ldr r3, [r7, #24] - 8006530: 4a69 ldr r2, [pc, #420] ; (80066d8 ) - 8006532: 4293 cmp r3, r2 - 8006534: d804 bhi.n 8006540 + 800608e: 69bb ldr r3, [r7, #24] + 8006090: 4a6a ldr r2, [pc, #424] ; (800623c ) + 8006092: 4293 cmp r3, r2 + 8006094: d908 bls.n 80060a8 + 8006096: 69bb ldr r3, [r7, #24] + 8006098: 4a69 ldr r2, [pc, #420] ; (8006240 ) + 800609a: 4293 cmp r3, r2 + 800609c: d804 bhi.n 80060a8 { /* CSR Clock Range between 100-150 MHz */ tempreg |= (uint32_t)ETH_MACMIIAR_CR_Div62; - 8006536: 69fb ldr r3, [r7, #28] - 8006538: f043 0304 orr.w r3, r3, #4 - 800653c: 61fb str r3, [r7, #28] - 800653e: e005 b.n 800654c + 800609e: 69fb ldr r3, [r7, #28] + 80060a0: f043 0304 orr.w r3, r3, #4 + 80060a4: 61fb str r3, [r7, #28] + 80060a6: e005 b.n 80060b4 } else /* ((hclk >= 150000000)&&(hclk <= 216000000)) */ { /* CSR Clock Range between 150-216 MHz */ tempreg |= (uint32_t)ETH_MACMIIAR_CR_Div102; - 8006540: 69fb ldr r3, [r7, #28] - 8006542: f043 0310 orr.w r3, r3, #16 - 8006546: 61fb str r3, [r7, #28] - 8006548: e000 b.n 800654c + 80060a8: 69fb ldr r3, [r7, #28] + 80060aa: f043 0310 orr.w r3, r3, #16 + 80060ae: 61fb str r3, [r7, #28] + 80060b0: e000 b.n 80060b4 tempreg |= (uint32_t)ETH_MACMIIAR_CR_Div42; - 800654a: bf00 nop + 80060b2: bf00 nop } /* Write to ETHERNET MAC MIIAR: Configure the ETHERNET CSR Clock Range */ (heth->Instance)->MACMIIAR = (uint32_t)tempreg; - 800654c: 687b ldr r3, [r7, #4] - 800654e: 681b ldr r3, [r3, #0] - 8006550: 69fa ldr r2, [r7, #28] - 8006552: 611a str r2, [r3, #16] + 80060b4: 687b ldr r3, [r7, #4] + 80060b6: 681b ldr r3, [r3, #0] + 80060b8: 69fa ldr r2, [r7, #28] + 80060ba: 611a str r2, [r3, #16] /*-------------------- PHY initialization and configuration ----------------*/ /* Put the PHY in reset mode */ if((HAL_ETH_WritePHYRegister(heth, PHY_BCR, PHY_RESET)) != HAL_OK) - 8006554: f44f 4200 mov.w r2, #32768 ; 0x8000 - 8006558: 2100 movs r1, #0 - 800655a: 6878 ldr r0, [r7, #4] - 800655c: f000 fc19 bl 8006d92 - 8006560: 4603 mov r3, r0 - 8006562: 2b00 cmp r3, #0 - 8006564: d00b beq.n 800657e + 80060bc: f44f 4200 mov.w r2, #32768 ; 0x8000 + 80060c0: 2100 movs r1, #0 + 80060c2: 6878 ldr r0, [r7, #4] + 80060c4: f000 fc19 bl 80068fa + 80060c8: 4603 mov r3, r0 + 80060ca: 2b00 cmp r3, #0 + 80060cc: d00b beq.n 80060e6 { /* In case of write timeout */ err = ETH_ERROR; - 8006566: 2301 movs r3, #1 - 8006568: 613b str r3, [r7, #16] + 80060ce: 2301 movs r3, #1 + 80060d0: 613b str r3, [r7, #16] /* Config MAC and DMA */ ETH_MACDMAConfig(heth, err); - 800656a: 6939 ldr r1, [r7, #16] - 800656c: 6878 ldr r0, [r7, #4] - 800656e: f000 fdcf bl 8007110 + 80060d2: 6939 ldr r1, [r7, #16] + 80060d4: 6878 ldr r0, [r7, #4] + 80060d6: f000 fdcf bl 8006c78 /* Set the ETH peripheral state to READY */ heth->State = HAL_ETH_STATE_READY; - 8006572: 687b ldr r3, [r7, #4] - 8006574: 2201 movs r2, #1 - 8006576: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 80060da: 687b ldr r3, [r7, #4] + 80060dc: 2201 movs r2, #1 + 80060de: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Return HAL_ERROR */ return HAL_ERROR; - 800657a: 2301 movs r3, #1 - 800657c: e0d9 b.n 8006732 + 80060e2: 2301 movs r3, #1 + 80060e4: e0d9 b.n 800629a } /* Delay to assure PHY reset */ HAL_Delay(PHY_RESET_DELAY); - 800657e: 20ff movs r0, #255 ; 0xff - 8006580: f7fe fc62 bl 8004e48 + 80060e6: 20ff movs r0, #255 ; 0xff + 80060e8: f7fe fc62 bl 80049b0 if((heth->Init).AutoNegotiation != ETH_AUTONEGOTIATION_DISABLE) - 8006584: 687b ldr r3, [r7, #4] - 8006586: 685b ldr r3, [r3, #4] - 8006588: 2b00 cmp r3, #0 - 800658a: f000 80a7 beq.w 80066dc + 80060ec: 687b ldr r3, [r7, #4] + 80060ee: 685b ldr r3, [r3, #4] + 80060f0: 2b00 cmp r3, #0 + 80060f2: f000 80a7 beq.w 8006244 { /* Get tick */ tickstart = HAL_GetTick(); - 800658e: f7fe fc4f bl 8004e30 - 8006592: 6178 str r0, [r7, #20] + 80060f6: f7fe fc4f bl 8004998 + 80060fa: 6178 str r0, [r7, #20] /* We wait for linked status */ do { HAL_ETH_ReadPHYRegister(heth, PHY_BSR, &phyreg); - 8006594: f107 030c add.w r3, r7, #12 - 8006598: 461a mov r2, r3 - 800659a: 2101 movs r1, #1 - 800659c: 6878 ldr r0, [r7, #4] - 800659e: f000 fb90 bl 8006cc2 + 80060fc: f107 030c add.w r3, r7, #12 + 8006100: 461a mov r2, r3 + 8006102: 2101 movs r1, #1 + 8006104: 6878 ldr r0, [r7, #4] + 8006106: f000 fb90 bl 800682a /* Check for the Timeout */ if((HAL_GetTick() - tickstart ) > ETH_TIMEOUT_LINKED_STATE) - 80065a2: f7fe fc45 bl 8004e30 - 80065a6: 4602 mov r2, r0 - 80065a8: 697b ldr r3, [r7, #20] - 80065aa: 1ad3 subs r3, r2, r3 - 80065ac: f241 3288 movw r2, #5000 ; 0x1388 - 80065b0: 4293 cmp r3, r2 - 80065b2: d90f bls.n 80065d4 + 800610a: f7fe fc45 bl 8004998 + 800610e: 4602 mov r2, r0 + 8006110: 697b ldr r3, [r7, #20] + 8006112: 1ad3 subs r3, r2, r3 + 8006114: f241 3288 movw r2, #5000 ; 0x1388 + 8006118: 4293 cmp r3, r2 + 800611a: d90f bls.n 800613c { /* In case of write timeout */ err = ETH_ERROR; - 80065b4: 2301 movs r3, #1 - 80065b6: 613b str r3, [r7, #16] + 800611c: 2301 movs r3, #1 + 800611e: 613b str r3, [r7, #16] /* Config MAC and DMA */ ETH_MACDMAConfig(heth, err); - 80065b8: 6939 ldr r1, [r7, #16] - 80065ba: 6878 ldr r0, [r7, #4] - 80065bc: f000 fda8 bl 8007110 + 8006120: 6939 ldr r1, [r7, #16] + 8006122: 6878 ldr r0, [r7, #4] + 8006124: f000 fda8 bl 8006c78 heth->State= HAL_ETH_STATE_READY; - 80065c0: 687b ldr r3, [r7, #4] - 80065c2: 2201 movs r2, #1 - 80065c4: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006128: 687b ldr r3, [r7, #4] + 800612a: 2201 movs r2, #1 + 800612c: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 80065c8: 687b ldr r3, [r7, #4] - 80065ca: 2200 movs r2, #0 - 80065cc: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006130: 687b ldr r3, [r7, #4] + 8006132: 2200 movs r2, #0 + 8006134: f883 2045 strb.w r2, [r3, #69] ; 0x45 return HAL_TIMEOUT; - 80065d0: 2303 movs r3, #3 - 80065d2: e0ae b.n 8006732 + 8006138: 2303 movs r3, #3 + 800613a: e0ae b.n 800629a } } while (((phyreg & PHY_LINKED_STATUS) != PHY_LINKED_STATUS)); - 80065d4: 68fb ldr r3, [r7, #12] - 80065d6: f003 0304 and.w r3, r3, #4 - 80065da: 2b00 cmp r3, #0 - 80065dc: d0da beq.n 8006594 + 800613c: 68fb ldr r3, [r7, #12] + 800613e: f003 0304 and.w r3, r3, #4 + 8006142: 2b00 cmp r3, #0 + 8006144: d0da beq.n 80060fc /* Enable Auto-Negotiation */ if((HAL_ETH_WritePHYRegister(heth, PHY_BCR, PHY_AUTONEGOTIATION)) != HAL_OK) - 80065de: f44f 5280 mov.w r2, #4096 ; 0x1000 - 80065e2: 2100 movs r1, #0 - 80065e4: 6878 ldr r0, [r7, #4] - 80065e6: f000 fbd4 bl 8006d92 - 80065ea: 4603 mov r3, r0 - 80065ec: 2b00 cmp r3, #0 - 80065ee: d00b beq.n 8006608 + 8006146: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800614a: 2100 movs r1, #0 + 800614c: 6878 ldr r0, [r7, #4] + 800614e: f000 fbd4 bl 80068fa + 8006152: 4603 mov r3, r0 + 8006154: 2b00 cmp r3, #0 + 8006156: d00b beq.n 8006170 { /* In case of write timeout */ err = ETH_ERROR; - 80065f0: 2301 movs r3, #1 - 80065f2: 613b str r3, [r7, #16] + 8006158: 2301 movs r3, #1 + 800615a: 613b str r3, [r7, #16] /* Config MAC and DMA */ ETH_MACDMAConfig(heth, err); - 80065f4: 6939 ldr r1, [r7, #16] - 80065f6: 6878 ldr r0, [r7, #4] - 80065f8: f000 fd8a bl 8007110 + 800615c: 6939 ldr r1, [r7, #16] + 800615e: 6878 ldr r0, [r7, #4] + 8006160: f000 fd8a bl 8006c78 /* Set the ETH peripheral state to READY */ heth->State = HAL_ETH_STATE_READY; - 80065fc: 687b ldr r3, [r7, #4] - 80065fe: 2201 movs r2, #1 - 8006600: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006164: 687b ldr r3, [r7, #4] + 8006166: 2201 movs r2, #1 + 8006168: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Return HAL_ERROR */ return HAL_ERROR; - 8006604: 2301 movs r3, #1 - 8006606: e094 b.n 8006732 + 800616c: 2301 movs r3, #1 + 800616e: e094 b.n 800629a } /* Get tick */ tickstart = HAL_GetTick(); - 8006608: f7fe fc12 bl 8004e30 - 800660c: 6178 str r0, [r7, #20] + 8006170: f7fe fc12 bl 8004998 + 8006174: 6178 str r0, [r7, #20] /* Wait until the auto-negotiation will be completed */ do { HAL_ETH_ReadPHYRegister(heth, PHY_BSR, &phyreg); - 800660e: f107 030c add.w r3, r7, #12 - 8006612: 461a mov r2, r3 - 8006614: 2101 movs r1, #1 - 8006616: 6878 ldr r0, [r7, #4] - 8006618: f000 fb53 bl 8006cc2 + 8006176: f107 030c add.w r3, r7, #12 + 800617a: 461a mov r2, r3 + 800617c: 2101 movs r1, #1 + 800617e: 6878 ldr r0, [r7, #4] + 8006180: f000 fb53 bl 800682a /* Check for the Timeout */ if((HAL_GetTick() - tickstart ) > ETH_TIMEOUT_AUTONEGO_COMPLETED) - 800661c: f7fe fc08 bl 8004e30 - 8006620: 4602 mov r2, r0 - 8006622: 697b ldr r3, [r7, #20] - 8006624: 1ad3 subs r3, r2, r3 - 8006626: f241 3288 movw r2, #5000 ; 0x1388 - 800662a: 4293 cmp r3, r2 - 800662c: d90f bls.n 800664e + 8006184: f7fe fc08 bl 8004998 + 8006188: 4602 mov r2, r0 + 800618a: 697b ldr r3, [r7, #20] + 800618c: 1ad3 subs r3, r2, r3 + 800618e: f241 3288 movw r2, #5000 ; 0x1388 + 8006192: 4293 cmp r3, r2 + 8006194: d90f bls.n 80061b6 { /* In case of write timeout */ err = ETH_ERROR; - 800662e: 2301 movs r3, #1 - 8006630: 613b str r3, [r7, #16] + 8006196: 2301 movs r3, #1 + 8006198: 613b str r3, [r7, #16] /* Config MAC and DMA */ ETH_MACDMAConfig(heth, err); - 8006632: 6939 ldr r1, [r7, #16] - 8006634: 6878 ldr r0, [r7, #4] - 8006636: f000 fd6b bl 8007110 + 800619a: 6939 ldr r1, [r7, #16] + 800619c: 6878 ldr r0, [r7, #4] + 800619e: f000 fd6b bl 8006c78 heth->State= HAL_ETH_STATE_READY; - 800663a: 687b ldr r3, [r7, #4] - 800663c: 2201 movs r2, #1 - 800663e: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 80061a2: 687b ldr r3, [r7, #4] + 80061a4: 2201 movs r2, #1 + 80061a6: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 8006642: 687b ldr r3, [r7, #4] - 8006644: 2200 movs r2, #0 - 8006646: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 80061aa: 687b ldr r3, [r7, #4] + 80061ac: 2200 movs r2, #0 + 80061ae: f883 2045 strb.w r2, [r3, #69] ; 0x45 return HAL_TIMEOUT; - 800664a: 2303 movs r3, #3 - 800664c: e071 b.n 8006732 + 80061b2: 2303 movs r3, #3 + 80061b4: e071 b.n 800629a } } while (((phyreg & PHY_AUTONEGO_COMPLETE) != PHY_AUTONEGO_COMPLETE)); - 800664e: 68fb ldr r3, [r7, #12] - 8006650: f003 0320 and.w r3, r3, #32 - 8006654: 2b00 cmp r3, #0 - 8006656: d0da beq.n 800660e + 80061b6: 68fb ldr r3, [r7, #12] + 80061b8: f003 0320 and.w r3, r3, #32 + 80061bc: 2b00 cmp r3, #0 + 80061be: d0da beq.n 8006176 /* Read the result of the auto-negotiation */ if((HAL_ETH_ReadPHYRegister(heth, PHY_SR, &phyreg)) != HAL_OK) - 8006658: f107 030c add.w r3, r7, #12 - 800665c: 461a mov r2, r3 - 800665e: 211f movs r1, #31 - 8006660: 6878 ldr r0, [r7, #4] - 8006662: f000 fb2e bl 8006cc2 - 8006666: 4603 mov r3, r0 - 8006668: 2b00 cmp r3, #0 - 800666a: d00b beq.n 8006684 + 80061c0: f107 030c add.w r3, r7, #12 + 80061c4: 461a mov r2, r3 + 80061c6: 211f movs r1, #31 + 80061c8: 6878 ldr r0, [r7, #4] + 80061ca: f000 fb2e bl 800682a + 80061ce: 4603 mov r3, r0 + 80061d0: 2b00 cmp r3, #0 + 80061d2: d00b beq.n 80061ec { /* In case of write timeout */ err = ETH_ERROR; - 800666c: 2301 movs r3, #1 - 800666e: 613b str r3, [r7, #16] + 80061d4: 2301 movs r3, #1 + 80061d6: 613b str r3, [r7, #16] /* Config MAC and DMA */ ETH_MACDMAConfig(heth, err); - 8006670: 6939 ldr r1, [r7, #16] - 8006672: 6878 ldr r0, [r7, #4] - 8006674: f000 fd4c bl 8007110 + 80061d8: 6939 ldr r1, [r7, #16] + 80061da: 6878 ldr r0, [r7, #4] + 80061dc: f000 fd4c bl 8006c78 /* Set the ETH peripheral state to READY */ heth->State = HAL_ETH_STATE_READY; - 8006678: 687b ldr r3, [r7, #4] - 800667a: 2201 movs r2, #1 - 800667c: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 80061e0: 687b ldr r3, [r7, #4] + 80061e2: 2201 movs r2, #1 + 80061e4: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Return HAL_ERROR */ return HAL_ERROR; - 8006680: 2301 movs r3, #1 - 8006682: e056 b.n 8006732 + 80061e8: 2301 movs r3, #1 + 80061ea: e056 b.n 800629a } /* Configure the MAC with the Duplex Mode fixed by the auto-negotiation process */ if((phyreg & PHY_DUPLEX_STATUS) != (uint32_t)RESET) - 8006684: 68fb ldr r3, [r7, #12] - 8006686: f003 0310 and.w r3, r3, #16 - 800668a: 2b00 cmp r3, #0 - 800668c: d004 beq.n 8006698 + 80061ec: 68fb ldr r3, [r7, #12] + 80061ee: f003 0310 and.w r3, r3, #16 + 80061f2: 2b00 cmp r3, #0 + 80061f4: d004 beq.n 8006200 { /* Set Ethernet duplex mode to Full-duplex following the auto-negotiation */ (heth->Init).DuplexMode = ETH_MODE_FULLDUPLEX; - 800668e: 687b ldr r3, [r7, #4] - 8006690: f44f 6200 mov.w r2, #2048 ; 0x800 - 8006694: 60da str r2, [r3, #12] - 8006696: e002 b.n 800669e + 80061f6: 687b ldr r3, [r7, #4] + 80061f8: f44f 6200 mov.w r2, #2048 ; 0x800 + 80061fc: 60da str r2, [r3, #12] + 80061fe: e002 b.n 8006206 } else { /* Set Ethernet duplex mode to Half-duplex following the auto-negotiation */ (heth->Init).DuplexMode = ETH_MODE_HALFDUPLEX; - 8006698: 687b ldr r3, [r7, #4] - 800669a: 2200 movs r2, #0 - 800669c: 60da str r2, [r3, #12] + 8006200: 687b ldr r3, [r7, #4] + 8006202: 2200 movs r2, #0 + 8006204: 60da str r2, [r3, #12] } /* Configure the MAC with the speed fixed by the auto-negotiation process */ if((phyreg & PHY_SPEED_STATUS) == PHY_SPEED_STATUS) - 800669e: 68fb ldr r3, [r7, #12] - 80066a0: f003 0304 and.w r3, r3, #4 - 80066a4: 2b00 cmp r3, #0 - 80066a6: d003 beq.n 80066b0 + 8006206: 68fb ldr r3, [r7, #12] + 8006208: f003 0304 and.w r3, r3, #4 + 800620c: 2b00 cmp r3, #0 + 800620e: d003 beq.n 8006218 { /* Set Ethernet speed to 10M following the auto-negotiation */ (heth->Init).Speed = ETH_SPEED_10M; - 80066a8: 687b ldr r3, [r7, #4] - 80066aa: 2200 movs r2, #0 - 80066ac: 609a str r2, [r3, #8] - 80066ae: e037 b.n 8006720 + 8006210: 687b ldr r3, [r7, #4] + 8006212: 2200 movs r2, #0 + 8006214: 609a str r2, [r3, #8] + 8006216: e037 b.n 8006288 } else { /* Set Ethernet speed to 100M following the auto-negotiation */ (heth->Init).Speed = ETH_SPEED_100M; - 80066b0: 687b ldr r3, [r7, #4] - 80066b2: f44f 4280 mov.w r2, #16384 ; 0x4000 - 80066b6: 609a str r2, [r3, #8] - 80066b8: e032 b.n 8006720 - 80066ba: bf00 nop - 80066bc: 03938700 .word 0x03938700 - 80066c0: 40023800 .word 0x40023800 - 80066c4: 40013800 .word 0x40013800 - 80066c8: 01312cff .word 0x01312cff - 80066cc: 02160ebf .word 0x02160ebf - 80066d0: 039386ff .word 0x039386ff - 80066d4: 05f5e0ff .word 0x05f5e0ff - 80066d8: 08f0d17f .word 0x08f0d17f + 8006218: 687b ldr r3, [r7, #4] + 800621a: f44f 4280 mov.w r2, #16384 ; 0x4000 + 800621e: 609a str r2, [r3, #8] + 8006220: e032 b.n 8006288 + 8006222: bf00 nop + 8006224: 03938700 .word 0x03938700 + 8006228: 40023800 .word 0x40023800 + 800622c: 40013800 .word 0x40013800 + 8006230: 01312cff .word 0x01312cff + 8006234: 02160ebf .word 0x02160ebf + 8006238: 039386ff .word 0x039386ff + 800623c: 05f5e0ff .word 0x05f5e0ff + 8006240: 08f0d17f .word 0x08f0d17f /* Check parameters */ assert_param(IS_ETH_SPEED(heth->Init.Speed)); assert_param(IS_ETH_DUPLEX_MODE(heth->Init.DuplexMode)); /* Set MAC Speed and Duplex Mode */ if(HAL_ETH_WritePHYRegister(heth, PHY_BCR, ((uint16_t)((heth->Init).DuplexMode >> 3) | - 80066dc: 687b ldr r3, [r7, #4] - 80066de: 68db ldr r3, [r3, #12] - 80066e0: 08db lsrs r3, r3, #3 - 80066e2: b29a uxth r2, r3 + 8006244: 687b ldr r3, [r7, #4] + 8006246: 68db ldr r3, [r3, #12] + 8006248: 08db lsrs r3, r3, #3 + 800624a: b29a uxth r2, r3 (uint16_t)((heth->Init).Speed >> 1))) != HAL_OK) - 80066e4: 687b ldr r3, [r7, #4] - 80066e6: 689b ldr r3, [r3, #8] - 80066e8: 085b lsrs r3, r3, #1 - 80066ea: b29b uxth r3, r3 + 800624c: 687b ldr r3, [r7, #4] + 800624e: 689b ldr r3, [r3, #8] + 8006250: 085b lsrs r3, r3, #1 + 8006252: b29b uxth r3, r3 if(HAL_ETH_WritePHYRegister(heth, PHY_BCR, ((uint16_t)((heth->Init).DuplexMode >> 3) | - 80066ec: 4313 orrs r3, r2 - 80066ee: b29b uxth r3, r3 - 80066f0: 461a mov r2, r3 - 80066f2: 2100 movs r1, #0 - 80066f4: 6878 ldr r0, [r7, #4] - 80066f6: f000 fb4c bl 8006d92 - 80066fa: 4603 mov r3, r0 - 80066fc: 2b00 cmp r3, #0 - 80066fe: d00b beq.n 8006718 + 8006254: 4313 orrs r3, r2 + 8006256: b29b uxth r3, r3 + 8006258: 461a mov r2, r3 + 800625a: 2100 movs r1, #0 + 800625c: 6878 ldr r0, [r7, #4] + 800625e: f000 fb4c bl 80068fa + 8006262: 4603 mov r3, r0 + 8006264: 2b00 cmp r3, #0 + 8006266: d00b beq.n 8006280 { /* In case of write timeout */ err = ETH_ERROR; - 8006700: 2301 movs r3, #1 - 8006702: 613b str r3, [r7, #16] + 8006268: 2301 movs r3, #1 + 800626a: 613b str r3, [r7, #16] /* Config MAC and DMA */ ETH_MACDMAConfig(heth, err); - 8006704: 6939 ldr r1, [r7, #16] - 8006706: 6878 ldr r0, [r7, #4] - 8006708: f000 fd02 bl 8007110 + 800626c: 6939 ldr r1, [r7, #16] + 800626e: 6878 ldr r0, [r7, #4] + 8006270: f000 fd02 bl 8006c78 /* Set the ETH peripheral state to READY */ heth->State = HAL_ETH_STATE_READY; - 800670c: 687b ldr r3, [r7, #4] - 800670e: 2201 movs r2, #1 - 8006710: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006274: 687b ldr r3, [r7, #4] + 8006276: 2201 movs r2, #1 + 8006278: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Return HAL_ERROR */ return HAL_ERROR; - 8006714: 2301 movs r3, #1 - 8006716: e00c b.n 8006732 + 800627c: 2301 movs r3, #1 + 800627e: e00c b.n 800629a } /* Delay to assure PHY configuration */ HAL_Delay(PHY_CONFIG_DELAY); - 8006718: f640 70ff movw r0, #4095 ; 0xfff - 800671c: f7fe fb94 bl 8004e48 + 8006280: f640 70ff movw r0, #4095 ; 0xfff + 8006284: f7fe fb94 bl 80049b0 } /* Config MAC and DMA */ ETH_MACDMAConfig(heth, err); - 8006720: 6939 ldr r1, [r7, #16] - 8006722: 6878 ldr r0, [r7, #4] - 8006724: f000 fcf4 bl 8007110 + 8006288: 6939 ldr r1, [r7, #16] + 800628a: 6878 ldr r0, [r7, #4] + 800628c: f000 fcf4 bl 8006c78 /* Set ETH HAL State to Ready */ heth->State= HAL_ETH_STATE_READY; - 8006728: 687b ldr r3, [r7, #4] - 800672a: 2201 movs r2, #1 - 800672c: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006290: 687b ldr r3, [r7, #4] + 8006292: 2201 movs r2, #1 + 8006294: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Return function status */ return HAL_OK; - 8006730: 2300 movs r3, #0 + 8006298: 2300 movs r3, #0 } - 8006732: 4618 mov r0, r3 - 8006734: 3720 adds r7, #32 - 8006736: 46bd mov sp, r7 - 8006738: bd80 pop {r7, pc} - 800673a: bf00 nop + 800629a: 4618 mov r0, r3 + 800629c: 3720 adds r7, #32 + 800629e: 46bd mov sp, r7 + 80062a0: bd80 pop {r7, pc} + 80062a2: bf00 nop -0800673c : +080062a4 : * @param TxBuff Pointer to the first TxBuffer list * @param TxBuffCount Number of the used Tx desc in the list * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_DMATxDescListInit(ETH_HandleTypeDef *heth, ETH_DMADescTypeDef *DMATxDescTab, uint8_t *TxBuff, uint32_t TxBuffCount) { - 800673c: b480 push {r7} - 800673e: b087 sub sp, #28 - 8006740: af00 add r7, sp, #0 - 8006742: 60f8 str r0, [r7, #12] - 8006744: 60b9 str r1, [r7, #8] - 8006746: 607a str r2, [r7, #4] - 8006748: 603b str r3, [r7, #0] + 80062a4: b480 push {r7} + 80062a6: b087 sub sp, #28 + 80062a8: af00 add r7, sp, #0 + 80062aa: 60f8 str r0, [r7, #12] + 80062ac: 60b9 str r1, [r7, #8] + 80062ae: 607a str r2, [r7, #4] + 80062b0: 603b str r3, [r7, #0] uint32_t i = 0; - 800674a: 2300 movs r3, #0 - 800674c: 617b str r3, [r7, #20] + 80062b2: 2300 movs r3, #0 + 80062b4: 617b str r3, [r7, #20] ETH_DMADescTypeDef *dmatxdesc; /* Process Locked */ __HAL_LOCK(heth); - 800674e: 68fb ldr r3, [r7, #12] - 8006750: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 - 8006754: 2b01 cmp r3, #1 - 8006756: d101 bne.n 800675c - 8006758: 2302 movs r3, #2 - 800675a: e052 b.n 8006802 - 800675c: 68fb ldr r3, [r7, #12] - 800675e: 2201 movs r2, #1 - 8006760: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 80062b6: 68fb ldr r3, [r7, #12] + 80062b8: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 + 80062bc: 2b01 cmp r3, #1 + 80062be: d101 bne.n 80062c4 + 80062c0: 2302 movs r3, #2 + 80062c2: e052 b.n 800636a + 80062c4: 68fb ldr r3, [r7, #12] + 80062c6: 2201 movs r2, #1 + 80062c8: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Set the ETH peripheral state to BUSY */ heth->State = HAL_ETH_STATE_BUSY; - 8006764: 68fb ldr r3, [r7, #12] - 8006766: 2202 movs r2, #2 - 8006768: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 80062cc: 68fb ldr r3, [r7, #12] + 80062ce: 2202 movs r2, #2 + 80062d0: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Set the DMATxDescToSet pointer with the first one of the DMATxDescTab list */ heth->TxDesc = DMATxDescTab; - 800676c: 68fb ldr r3, [r7, #12] - 800676e: 68ba ldr r2, [r7, #8] - 8006770: 62da str r2, [r3, #44] ; 0x2c + 80062d4: 68fb ldr r3, [r7, #12] + 80062d6: 68ba ldr r2, [r7, #8] + 80062d8: 62da str r2, [r3, #44] ; 0x2c /* Fill each DMATxDesc descriptor with the right values */ for(i=0; i < TxBuffCount; i++) - 8006772: 2300 movs r3, #0 - 8006774: 617b str r3, [r7, #20] - 8006776: e030 b.n 80067da + 80062da: 2300 movs r3, #0 + 80062dc: 617b str r3, [r7, #20] + 80062de: e030 b.n 8006342 { /* Get the pointer on the ith member of the Tx Desc list */ dmatxdesc = DMATxDescTab + i; - 8006778: 697b ldr r3, [r7, #20] - 800677a: 015b lsls r3, r3, #5 - 800677c: 68ba ldr r2, [r7, #8] - 800677e: 4413 add r3, r2 - 8006780: 613b str r3, [r7, #16] + 80062e0: 697b ldr r3, [r7, #20] + 80062e2: 015b lsls r3, r3, #5 + 80062e4: 68ba ldr r2, [r7, #8] + 80062e6: 4413 add r3, r2 + 80062e8: 613b str r3, [r7, #16] /* Set Second Address Chained bit */ dmatxdesc->Status = ETH_DMATXDESC_TCH; - 8006782: 693b ldr r3, [r7, #16] - 8006784: f44f 1280 mov.w r2, #1048576 ; 0x100000 - 8006788: 601a str r2, [r3, #0] + 80062ea: 693b ldr r3, [r7, #16] + 80062ec: f44f 1280 mov.w r2, #1048576 ; 0x100000 + 80062f0: 601a str r2, [r3, #0] /* Set Buffer1 address pointer */ dmatxdesc->Buffer1Addr = (uint32_t)(&TxBuff[i*ETH_TX_BUF_SIZE]); - 800678a: 697b ldr r3, [r7, #20] - 800678c: f240 52f4 movw r2, #1524 ; 0x5f4 - 8006790: fb02 f303 mul.w r3, r2, r3 - 8006794: 687a ldr r2, [r7, #4] - 8006796: 4413 add r3, r2 - 8006798: 461a mov r2, r3 - 800679a: 693b ldr r3, [r7, #16] - 800679c: 609a str r2, [r3, #8] + 80062f2: 697b ldr r3, [r7, #20] + 80062f4: f240 52f4 movw r2, #1524 ; 0x5f4 + 80062f8: fb02 f303 mul.w r3, r2, r3 + 80062fc: 687a ldr r2, [r7, #4] + 80062fe: 4413 add r3, r2 + 8006300: 461a mov r2, r3 + 8006302: 693b ldr r3, [r7, #16] + 8006304: 609a str r2, [r3, #8] if ((heth->Init).ChecksumMode == ETH_CHECKSUM_BY_HARDWARE) - 800679e: 68fb ldr r3, [r7, #12] - 80067a0: 69db ldr r3, [r3, #28] - 80067a2: 2b00 cmp r3, #0 - 80067a4: d105 bne.n 80067b2 + 8006306: 68fb ldr r3, [r7, #12] + 8006308: 69db ldr r3, [r3, #28] + 800630a: 2b00 cmp r3, #0 + 800630c: d105 bne.n 800631a { /* Set the DMA Tx descriptors checksum insertion */ dmatxdesc->Status |= ETH_DMATXDESC_CHECKSUMTCPUDPICMPFULL; - 80067a6: 693b ldr r3, [r7, #16] - 80067a8: 681b ldr r3, [r3, #0] - 80067aa: f443 0240 orr.w r2, r3, #12582912 ; 0xc00000 - 80067ae: 693b ldr r3, [r7, #16] - 80067b0: 601a str r2, [r3, #0] + 800630e: 693b ldr r3, [r7, #16] + 8006310: 681b ldr r3, [r3, #0] + 8006312: f443 0240 orr.w r2, r3, #12582912 ; 0xc00000 + 8006316: 693b ldr r3, [r7, #16] + 8006318: 601a str r2, [r3, #0] } /* Initialize the next descriptor with the Next Descriptor Polling Enable */ if(i < (TxBuffCount-1)) - 80067b2: 683b ldr r3, [r7, #0] - 80067b4: 3b01 subs r3, #1 - 80067b6: 697a ldr r2, [r7, #20] - 80067b8: 429a cmp r2, r3 - 80067ba: d208 bcs.n 80067ce + 800631a: 683b ldr r3, [r7, #0] + 800631c: 3b01 subs r3, #1 + 800631e: 697a ldr r2, [r7, #20] + 8006320: 429a cmp r2, r3 + 8006322: d208 bcs.n 8006336 { /* Set next descriptor address register with next descriptor base address */ dmatxdesc->Buffer2NextDescAddr = (uint32_t)(DMATxDescTab+i+1); - 80067bc: 697b ldr r3, [r7, #20] - 80067be: 3301 adds r3, #1 - 80067c0: 015b lsls r3, r3, #5 - 80067c2: 68ba ldr r2, [r7, #8] - 80067c4: 4413 add r3, r2 - 80067c6: 461a mov r2, r3 - 80067c8: 693b ldr r3, [r7, #16] - 80067ca: 60da str r2, [r3, #12] - 80067cc: e002 b.n 80067d4 + 8006324: 697b ldr r3, [r7, #20] + 8006326: 3301 adds r3, #1 + 8006328: 015b lsls r3, r3, #5 + 800632a: 68ba ldr r2, [r7, #8] + 800632c: 4413 add r3, r2 + 800632e: 461a mov r2, r3 + 8006330: 693b ldr r3, [r7, #16] + 8006332: 60da str r2, [r3, #12] + 8006334: e002 b.n 800633c } else { /* For last descriptor, set next descriptor address register equal to the first descriptor base address */ dmatxdesc->Buffer2NextDescAddr = (uint32_t) DMATxDescTab; - 80067ce: 68ba ldr r2, [r7, #8] - 80067d0: 693b ldr r3, [r7, #16] - 80067d2: 60da str r2, [r3, #12] + 8006336: 68ba ldr r2, [r7, #8] + 8006338: 693b ldr r3, [r7, #16] + 800633a: 60da str r2, [r3, #12] for(i=0; i < TxBuffCount; i++) - 80067d4: 697b ldr r3, [r7, #20] - 80067d6: 3301 adds r3, #1 - 80067d8: 617b str r3, [r7, #20] - 80067da: 697a ldr r2, [r7, #20] - 80067dc: 683b ldr r3, [r7, #0] - 80067de: 429a cmp r2, r3 - 80067e0: d3ca bcc.n 8006778 + 800633c: 697b ldr r3, [r7, #20] + 800633e: 3301 adds r3, #1 + 8006340: 617b str r3, [r7, #20] + 8006342: 697a ldr r2, [r7, #20] + 8006344: 683b ldr r3, [r7, #0] + 8006346: 429a cmp r2, r3 + 8006348: d3ca bcc.n 80062e0 } } /* Set Transmit Descriptor List Address Register */ (heth->Instance)->DMATDLAR = (uint32_t) DMATxDescTab; - 80067e2: 68fb ldr r3, [r7, #12] - 80067e4: 6819 ldr r1, [r3, #0] - 80067e6: 68ba ldr r2, [r7, #8] - 80067e8: f241 0310 movw r3, #4112 ; 0x1010 - 80067ec: 440b add r3, r1 - 80067ee: 601a str r2, [r3, #0] + 800634a: 68fb ldr r3, [r7, #12] + 800634c: 6819 ldr r1, [r3, #0] + 800634e: 68ba ldr r2, [r7, #8] + 8006350: f241 0310 movw r3, #4112 ; 0x1010 + 8006354: 440b add r3, r1 + 8006356: 601a str r2, [r3, #0] /* Set ETH HAL State to Ready */ heth->State= HAL_ETH_STATE_READY; - 80067f0: 68fb ldr r3, [r7, #12] - 80067f2: 2201 movs r2, #1 - 80067f4: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006358: 68fb ldr r3, [r7, #12] + 800635a: 2201 movs r2, #1 + 800635c: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 80067f8: 68fb ldr r3, [r7, #12] - 80067fa: 2200 movs r2, #0 - 80067fc: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006360: 68fb ldr r3, [r7, #12] + 8006362: 2200 movs r2, #0 + 8006364: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Return function status */ return HAL_OK; - 8006800: 2300 movs r3, #0 + 8006368: 2300 movs r3, #0 } - 8006802: 4618 mov r0, r3 - 8006804: 371c adds r7, #28 - 8006806: 46bd mov sp, r7 - 8006808: f85d 7b04 ldr.w r7, [sp], #4 - 800680c: 4770 bx lr + 800636a: 4618 mov r0, r3 + 800636c: 371c adds r7, #28 + 800636e: 46bd mov sp, r7 + 8006370: f85d 7b04 ldr.w r7, [sp], #4 + 8006374: 4770 bx lr -0800680e : +08006376 : * @param RxBuff Pointer to the first RxBuffer list * @param RxBuffCount Number of the used Rx desc in the list * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_DMARxDescListInit(ETH_HandleTypeDef *heth, ETH_DMADescTypeDef *DMARxDescTab, uint8_t *RxBuff, uint32_t RxBuffCount) { - 800680e: b480 push {r7} - 8006810: b087 sub sp, #28 - 8006812: af00 add r7, sp, #0 - 8006814: 60f8 str r0, [r7, #12] - 8006816: 60b9 str r1, [r7, #8] - 8006818: 607a str r2, [r7, #4] - 800681a: 603b str r3, [r7, #0] + 8006376: b480 push {r7} + 8006378: b087 sub sp, #28 + 800637a: af00 add r7, sp, #0 + 800637c: 60f8 str r0, [r7, #12] + 800637e: 60b9 str r1, [r7, #8] + 8006380: 607a str r2, [r7, #4] + 8006382: 603b str r3, [r7, #0] uint32_t i = 0; - 800681c: 2300 movs r3, #0 - 800681e: 617b str r3, [r7, #20] + 8006384: 2300 movs r3, #0 + 8006386: 617b str r3, [r7, #20] ETH_DMADescTypeDef *DMARxDesc; /* Process Locked */ __HAL_LOCK(heth); - 8006820: 68fb ldr r3, [r7, #12] - 8006822: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 - 8006826: 2b01 cmp r3, #1 - 8006828: d101 bne.n 800682e - 800682a: 2302 movs r3, #2 - 800682c: e056 b.n 80068dc - 800682e: 68fb ldr r3, [r7, #12] - 8006830: 2201 movs r2, #1 - 8006832: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006388: 68fb ldr r3, [r7, #12] + 800638a: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 + 800638e: 2b01 cmp r3, #1 + 8006390: d101 bne.n 8006396 + 8006392: 2302 movs r3, #2 + 8006394: e056 b.n 8006444 + 8006396: 68fb ldr r3, [r7, #12] + 8006398: 2201 movs r2, #1 + 800639a: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Set the ETH peripheral state to BUSY */ heth->State = HAL_ETH_STATE_BUSY; - 8006836: 68fb ldr r3, [r7, #12] - 8006838: 2202 movs r2, #2 - 800683a: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 800639e: 68fb ldr r3, [r7, #12] + 80063a0: 2202 movs r2, #2 + 80063a2: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Set the Ethernet RxDesc pointer with the first one of the DMARxDescTab list */ heth->RxDesc = DMARxDescTab; - 800683e: 68fb ldr r3, [r7, #12] - 8006840: 68ba ldr r2, [r7, #8] - 8006842: 629a str r2, [r3, #40] ; 0x28 + 80063a6: 68fb ldr r3, [r7, #12] + 80063a8: 68ba ldr r2, [r7, #8] + 80063aa: 629a str r2, [r3, #40] ; 0x28 /* Fill each DMARxDesc descriptor with the right values */ for(i=0; i < RxBuffCount; i++) - 8006844: 2300 movs r3, #0 - 8006846: 617b str r3, [r7, #20] - 8006848: e034 b.n 80068b4 + 80063ac: 2300 movs r3, #0 + 80063ae: 617b str r3, [r7, #20] + 80063b0: e034 b.n 800641c { /* Get the pointer on the ith member of the Rx Desc list */ DMARxDesc = DMARxDescTab+i; - 800684a: 697b ldr r3, [r7, #20] - 800684c: 015b lsls r3, r3, #5 - 800684e: 68ba ldr r2, [r7, #8] - 8006850: 4413 add r3, r2 - 8006852: 613b str r3, [r7, #16] + 80063b2: 697b ldr r3, [r7, #20] + 80063b4: 015b lsls r3, r3, #5 + 80063b6: 68ba ldr r2, [r7, #8] + 80063b8: 4413 add r3, r2 + 80063ba: 613b str r3, [r7, #16] /* Set Own bit of the Rx descriptor Status */ DMARxDesc->Status = ETH_DMARXDESC_OWN; - 8006854: 693b ldr r3, [r7, #16] - 8006856: f04f 4200 mov.w r2, #2147483648 ; 0x80000000 - 800685a: 601a str r2, [r3, #0] + 80063bc: 693b ldr r3, [r7, #16] + 80063be: f04f 4200 mov.w r2, #2147483648 ; 0x80000000 + 80063c2: 601a str r2, [r3, #0] /* Set Buffer1 size and Second Address Chained bit */ DMARxDesc->ControlBufferSize = ETH_DMARXDESC_RCH | ETH_RX_BUF_SIZE; - 800685c: 693b ldr r3, [r7, #16] - 800685e: f244 52f4 movw r2, #17908 ; 0x45f4 - 8006862: 605a str r2, [r3, #4] + 80063c4: 693b ldr r3, [r7, #16] + 80063c6: f244 52f4 movw r2, #17908 ; 0x45f4 + 80063ca: 605a str r2, [r3, #4] /* Set Buffer1 address pointer */ DMARxDesc->Buffer1Addr = (uint32_t)(&RxBuff[i*ETH_RX_BUF_SIZE]); - 8006864: 697b ldr r3, [r7, #20] - 8006866: f240 52f4 movw r2, #1524 ; 0x5f4 - 800686a: fb02 f303 mul.w r3, r2, r3 - 800686e: 687a ldr r2, [r7, #4] - 8006870: 4413 add r3, r2 - 8006872: 461a mov r2, r3 - 8006874: 693b ldr r3, [r7, #16] - 8006876: 609a str r2, [r3, #8] + 80063cc: 697b ldr r3, [r7, #20] + 80063ce: f240 52f4 movw r2, #1524 ; 0x5f4 + 80063d2: fb02 f303 mul.w r3, r2, r3 + 80063d6: 687a ldr r2, [r7, #4] + 80063d8: 4413 add r3, r2 + 80063da: 461a mov r2, r3 + 80063dc: 693b ldr r3, [r7, #16] + 80063de: 609a str r2, [r3, #8] if((heth->Init).RxMode == ETH_RXINTERRUPT_MODE) - 8006878: 68fb ldr r3, [r7, #12] - 800687a: 699b ldr r3, [r3, #24] - 800687c: 2b01 cmp r3, #1 - 800687e: d105 bne.n 800688c + 80063e0: 68fb ldr r3, [r7, #12] + 80063e2: 699b ldr r3, [r3, #24] + 80063e4: 2b01 cmp r3, #1 + 80063e6: d105 bne.n 80063f4 { /* Enable Ethernet DMA Rx Descriptor interrupt */ DMARxDesc->ControlBufferSize &= ~ETH_DMARXDESC_DIC; - 8006880: 693b ldr r3, [r7, #16] - 8006882: 685b ldr r3, [r3, #4] - 8006884: f023 4200 bic.w r2, r3, #2147483648 ; 0x80000000 - 8006888: 693b ldr r3, [r7, #16] - 800688a: 605a str r2, [r3, #4] + 80063e8: 693b ldr r3, [r7, #16] + 80063ea: 685b ldr r3, [r3, #4] + 80063ec: f023 4200 bic.w r2, r3, #2147483648 ; 0x80000000 + 80063f0: 693b ldr r3, [r7, #16] + 80063f2: 605a str r2, [r3, #4] } /* Initialize the next descriptor with the Next Descriptor Polling Enable */ if(i < (RxBuffCount-1)) - 800688c: 683b ldr r3, [r7, #0] - 800688e: 3b01 subs r3, #1 - 8006890: 697a ldr r2, [r7, #20] - 8006892: 429a cmp r2, r3 - 8006894: d208 bcs.n 80068a8 + 80063f4: 683b ldr r3, [r7, #0] + 80063f6: 3b01 subs r3, #1 + 80063f8: 697a ldr r2, [r7, #20] + 80063fa: 429a cmp r2, r3 + 80063fc: d208 bcs.n 8006410 { /* Set next descriptor address register with next descriptor base address */ DMARxDesc->Buffer2NextDescAddr = (uint32_t)(DMARxDescTab+i+1); - 8006896: 697b ldr r3, [r7, #20] - 8006898: 3301 adds r3, #1 - 800689a: 015b lsls r3, r3, #5 - 800689c: 68ba ldr r2, [r7, #8] - 800689e: 4413 add r3, r2 - 80068a0: 461a mov r2, r3 - 80068a2: 693b ldr r3, [r7, #16] - 80068a4: 60da str r2, [r3, #12] - 80068a6: e002 b.n 80068ae + 80063fe: 697b ldr r3, [r7, #20] + 8006400: 3301 adds r3, #1 + 8006402: 015b lsls r3, r3, #5 + 8006404: 68ba ldr r2, [r7, #8] + 8006406: 4413 add r3, r2 + 8006408: 461a mov r2, r3 + 800640a: 693b ldr r3, [r7, #16] + 800640c: 60da str r2, [r3, #12] + 800640e: e002 b.n 8006416 } else { /* For last descriptor, set next descriptor address register equal to the first descriptor base address */ DMARxDesc->Buffer2NextDescAddr = (uint32_t)(DMARxDescTab); - 80068a8: 68ba ldr r2, [r7, #8] - 80068aa: 693b ldr r3, [r7, #16] - 80068ac: 60da str r2, [r3, #12] + 8006410: 68ba ldr r2, [r7, #8] + 8006412: 693b ldr r3, [r7, #16] + 8006414: 60da str r2, [r3, #12] for(i=0; i < RxBuffCount; i++) - 80068ae: 697b ldr r3, [r7, #20] - 80068b0: 3301 adds r3, #1 - 80068b2: 617b str r3, [r7, #20] - 80068b4: 697a ldr r2, [r7, #20] - 80068b6: 683b ldr r3, [r7, #0] - 80068b8: 429a cmp r2, r3 - 80068ba: d3c6 bcc.n 800684a + 8006416: 697b ldr r3, [r7, #20] + 8006418: 3301 adds r3, #1 + 800641a: 617b str r3, [r7, #20] + 800641c: 697a ldr r2, [r7, #20] + 800641e: 683b ldr r3, [r7, #0] + 8006420: 429a cmp r2, r3 + 8006422: d3c6 bcc.n 80063b2 } } /* Set Receive Descriptor List Address Register */ (heth->Instance)->DMARDLAR = (uint32_t) DMARxDescTab; - 80068bc: 68fb ldr r3, [r7, #12] - 80068be: 6819 ldr r1, [r3, #0] - 80068c0: 68ba ldr r2, [r7, #8] - 80068c2: f241 030c movw r3, #4108 ; 0x100c - 80068c6: 440b add r3, r1 - 80068c8: 601a str r2, [r3, #0] + 8006424: 68fb ldr r3, [r7, #12] + 8006426: 6819 ldr r1, [r3, #0] + 8006428: 68ba ldr r2, [r7, #8] + 800642a: f241 030c movw r3, #4108 ; 0x100c + 800642e: 440b add r3, r1 + 8006430: 601a str r2, [r3, #0] /* Set ETH HAL State to Ready */ heth->State= HAL_ETH_STATE_READY; - 80068ca: 68fb ldr r3, [r7, #12] - 80068cc: 2201 movs r2, #1 - 80068ce: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006432: 68fb ldr r3, [r7, #12] + 8006434: 2201 movs r2, #1 + 8006436: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 80068d2: 68fb ldr r3, [r7, #12] - 80068d4: 2200 movs r2, #0 - 80068d6: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 800643a: 68fb ldr r3, [r7, #12] + 800643c: 2200 movs r2, #0 + 800643e: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Return function status */ return HAL_OK; - 80068da: 2300 movs r3, #0 + 8006442: 2300 movs r3, #0 } - 80068dc: 4618 mov r0, r3 - 80068de: 371c adds r7, #28 - 80068e0: 46bd mov sp, r7 - 80068e2: f85d 7b04 ldr.w r7, [sp], #4 - 80068e6: 4770 bx lr + 8006444: 4618 mov r0, r3 + 8006446: 371c adds r7, #28 + 8006448: 46bd mov sp, r7 + 800644a: f85d 7b04 ldr.w r7, [sp], #4 + 800644e: 4770 bx lr -080068e8 : +08006450 : * the configuration information for ETHERNET module * @param FrameLength Amount of data to be sent * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_TransmitFrame(ETH_HandleTypeDef *heth, uint32_t FrameLength) { - 80068e8: b480 push {r7} - 80068ea: b087 sub sp, #28 - 80068ec: af00 add r7, sp, #0 - 80068ee: 6078 str r0, [r7, #4] - 80068f0: 6039 str r1, [r7, #0] + 8006450: b480 push {r7} + 8006452: b087 sub sp, #28 + 8006454: af00 add r7, sp, #0 + 8006456: 6078 str r0, [r7, #4] + 8006458: 6039 str r1, [r7, #0] uint32_t bufcount = 0, size = 0, i = 0; - 80068f2: 2300 movs r3, #0 - 80068f4: 617b str r3, [r7, #20] - 80068f6: 2300 movs r3, #0 - 80068f8: 60fb str r3, [r7, #12] - 80068fa: 2300 movs r3, #0 - 80068fc: 613b str r3, [r7, #16] + 800645a: 2300 movs r3, #0 + 800645c: 617b str r3, [r7, #20] + 800645e: 2300 movs r3, #0 + 8006460: 60fb str r3, [r7, #12] + 8006462: 2300 movs r3, #0 + 8006464: 613b str r3, [r7, #16] /* Process Locked */ __HAL_LOCK(heth); - 80068fe: 687b ldr r3, [r7, #4] - 8006900: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 - 8006904: 2b01 cmp r3, #1 - 8006906: d101 bne.n 800690c - 8006908: 2302 movs r3, #2 - 800690a: e0cd b.n 8006aa8 - 800690c: 687b ldr r3, [r7, #4] - 800690e: 2201 movs r2, #1 - 8006910: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006466: 687b ldr r3, [r7, #4] + 8006468: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 + 800646c: 2b01 cmp r3, #1 + 800646e: d101 bne.n 8006474 + 8006470: 2302 movs r3, #2 + 8006472: e0cd b.n 8006610 + 8006474: 687b ldr r3, [r7, #4] + 8006476: 2201 movs r2, #1 + 8006478: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Set the ETH peripheral state to BUSY */ heth->State = HAL_ETH_STATE_BUSY; - 8006914: 687b ldr r3, [r7, #4] - 8006916: 2202 movs r2, #2 - 8006918: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 800647c: 687b ldr r3, [r7, #4] + 800647e: 2202 movs r2, #2 + 8006480: f883 2044 strb.w r2, [r3, #68] ; 0x44 if (FrameLength == 0) - 800691c: 683b ldr r3, [r7, #0] - 800691e: 2b00 cmp r3, #0 - 8006920: d109 bne.n 8006936 + 8006484: 683b ldr r3, [r7, #0] + 8006486: 2b00 cmp r3, #0 + 8006488: d109 bne.n 800649e { /* Set ETH HAL state to READY */ heth->State = HAL_ETH_STATE_READY; - 8006922: 687b ldr r3, [r7, #4] - 8006924: 2201 movs r2, #1 - 8006926: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 800648a: 687b ldr r3, [r7, #4] + 800648c: 2201 movs r2, #1 + 800648e: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 800692a: 687b ldr r3, [r7, #4] - 800692c: 2200 movs r2, #0 - 800692e: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006492: 687b ldr r3, [r7, #4] + 8006494: 2200 movs r2, #0 + 8006496: f883 2045 strb.w r2, [r3, #69] ; 0x45 return HAL_ERROR; - 8006932: 2301 movs r3, #1 - 8006934: e0b8 b.n 8006aa8 + 800649a: 2301 movs r3, #1 + 800649c: e0b8 b.n 8006610 } /* Check if the descriptor is owned by the ETHERNET DMA (when set) or CPU (when reset) */ if(((heth->TxDesc)->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) - 8006936: 687b ldr r3, [r7, #4] - 8006938: 6adb ldr r3, [r3, #44] ; 0x2c - 800693a: 681b ldr r3, [r3, #0] - 800693c: 2b00 cmp r3, #0 - 800693e: da09 bge.n 8006954 + 800649e: 687b ldr r3, [r7, #4] + 80064a0: 6adb ldr r3, [r3, #44] ; 0x2c + 80064a2: 681b ldr r3, [r3, #0] + 80064a4: 2b00 cmp r3, #0 + 80064a6: da09 bge.n 80064bc { /* OWN bit set */ heth->State = HAL_ETH_STATE_BUSY_TX; - 8006940: 687b ldr r3, [r7, #4] - 8006942: 2212 movs r2, #18 - 8006944: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 80064a8: 687b ldr r3, [r7, #4] + 80064aa: 2212 movs r2, #18 + 80064ac: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 8006948: 687b ldr r3, [r7, #4] - 800694a: 2200 movs r2, #0 - 800694c: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 80064b0: 687b ldr r3, [r7, #4] + 80064b2: 2200 movs r2, #0 + 80064b4: f883 2045 strb.w r2, [r3, #69] ; 0x45 return HAL_ERROR; - 8006950: 2301 movs r3, #1 - 8006952: e0a9 b.n 8006aa8 + 80064b8: 2301 movs r3, #1 + 80064ba: e0a9 b.n 8006610 } /* Get the number of needed Tx buffers for the current frame */ if (FrameLength > ETH_TX_BUF_SIZE) - 8006954: 683b ldr r3, [r7, #0] - 8006956: f240 52f4 movw r2, #1524 ; 0x5f4 - 800695a: 4293 cmp r3, r2 - 800695c: d915 bls.n 800698a + 80064bc: 683b ldr r3, [r7, #0] + 80064be: f240 52f4 movw r2, #1524 ; 0x5f4 + 80064c2: 4293 cmp r3, r2 + 80064c4: d915 bls.n 80064f2 { bufcount = FrameLength/ETH_TX_BUF_SIZE; - 800695e: 683b ldr r3, [r7, #0] - 8006960: 4a54 ldr r2, [pc, #336] ; (8006ab4 ) - 8006962: fba2 2303 umull r2, r3, r2, r3 - 8006966: 0a9b lsrs r3, r3, #10 - 8006968: 617b str r3, [r7, #20] + 80064c6: 683b ldr r3, [r7, #0] + 80064c8: 4a54 ldr r2, [pc, #336] ; (800661c ) + 80064ca: fba2 2303 umull r2, r3, r2, r3 + 80064ce: 0a9b lsrs r3, r3, #10 + 80064d0: 617b str r3, [r7, #20] if (FrameLength % ETH_TX_BUF_SIZE) - 800696a: 683a ldr r2, [r7, #0] - 800696c: 4b51 ldr r3, [pc, #324] ; (8006ab4 ) - 800696e: fba3 1302 umull r1, r3, r3, r2 - 8006972: 0a9b lsrs r3, r3, #10 - 8006974: f240 51f4 movw r1, #1524 ; 0x5f4 - 8006978: fb01 f303 mul.w r3, r1, r3 - 800697c: 1ad3 subs r3, r2, r3 - 800697e: 2b00 cmp r3, #0 - 8006980: d005 beq.n 800698e + 80064d2: 683a ldr r2, [r7, #0] + 80064d4: 4b51 ldr r3, [pc, #324] ; (800661c ) + 80064d6: fba3 1302 umull r1, r3, r3, r2 + 80064da: 0a9b lsrs r3, r3, #10 + 80064dc: f240 51f4 movw r1, #1524 ; 0x5f4 + 80064e0: fb01 f303 mul.w r3, r1, r3 + 80064e4: 1ad3 subs r3, r2, r3 + 80064e6: 2b00 cmp r3, #0 + 80064e8: d005 beq.n 80064f6 { bufcount++; - 8006982: 697b ldr r3, [r7, #20] - 8006984: 3301 adds r3, #1 - 8006986: 617b str r3, [r7, #20] - 8006988: e001 b.n 800698e + 80064ea: 697b ldr r3, [r7, #20] + 80064ec: 3301 adds r3, #1 + 80064ee: 617b str r3, [r7, #20] + 80064f0: e001 b.n 80064f6 } } else { bufcount = 1; - 800698a: 2301 movs r3, #1 - 800698c: 617b str r3, [r7, #20] + 80064f2: 2301 movs r3, #1 + 80064f4: 617b str r3, [r7, #20] } if (bufcount == 1) - 800698e: 697b ldr r3, [r7, #20] - 8006990: 2b01 cmp r3, #1 - 8006992: d11c bne.n 80069ce + 80064f6: 697b ldr r3, [r7, #20] + 80064f8: 2b01 cmp r3, #1 + 80064fa: d11c bne.n 8006536 { /* Set LAST and FIRST segment */ heth->TxDesc->Status |=ETH_DMATXDESC_FS|ETH_DMATXDESC_LS; - 8006994: 687b ldr r3, [r7, #4] - 8006996: 6adb ldr r3, [r3, #44] ; 0x2c - 8006998: 681a ldr r2, [r3, #0] - 800699a: 687b ldr r3, [r7, #4] - 800699c: 6adb ldr r3, [r3, #44] ; 0x2c - 800699e: f042 5240 orr.w r2, r2, #805306368 ; 0x30000000 - 80069a2: 601a str r2, [r3, #0] + 80064fc: 687b ldr r3, [r7, #4] + 80064fe: 6adb ldr r3, [r3, #44] ; 0x2c + 8006500: 681a ldr r2, [r3, #0] + 8006502: 687b ldr r3, [r7, #4] + 8006504: 6adb ldr r3, [r3, #44] ; 0x2c + 8006506: f042 5240 orr.w r2, r2, #805306368 ; 0x30000000 + 800650a: 601a str r2, [r3, #0] /* Set frame size */ heth->TxDesc->ControlBufferSize = (FrameLength & ETH_DMATXDESC_TBS1); - 80069a4: 687b ldr r3, [r7, #4] - 80069a6: 6adb ldr r3, [r3, #44] ; 0x2c - 80069a8: 683a ldr r2, [r7, #0] - 80069aa: f3c2 020c ubfx r2, r2, #0, #13 - 80069ae: 605a str r2, [r3, #4] + 800650c: 687b ldr r3, [r7, #4] + 800650e: 6adb ldr r3, [r3, #44] ; 0x2c + 8006510: 683a ldr r2, [r7, #0] + 8006512: f3c2 020c ubfx r2, r2, #0, #13 + 8006516: 605a str r2, [r3, #4] /* Set Own bit of the Tx descriptor Status: gives the buffer back to ETHERNET DMA */ heth->TxDesc->Status |= ETH_DMATXDESC_OWN; - 80069b0: 687b ldr r3, [r7, #4] - 80069b2: 6adb ldr r3, [r3, #44] ; 0x2c - 80069b4: 681a ldr r2, [r3, #0] - 80069b6: 687b ldr r3, [r7, #4] - 80069b8: 6adb ldr r3, [r3, #44] ; 0x2c - 80069ba: f042 4200 orr.w r2, r2, #2147483648 ; 0x80000000 - 80069be: 601a str r2, [r3, #0] + 8006518: 687b ldr r3, [r7, #4] + 800651a: 6adb ldr r3, [r3, #44] ; 0x2c + 800651c: 681a ldr r2, [r3, #0] + 800651e: 687b ldr r3, [r7, #4] + 8006520: 6adb ldr r3, [r3, #44] ; 0x2c + 8006522: f042 4200 orr.w r2, r2, #2147483648 ; 0x80000000 + 8006526: 601a str r2, [r3, #0] /* Point to next descriptor */ heth->TxDesc= (ETH_DMADescTypeDef *)(heth->TxDesc->Buffer2NextDescAddr); - 80069c0: 687b ldr r3, [r7, #4] - 80069c2: 6adb ldr r3, [r3, #44] ; 0x2c - 80069c4: 68db ldr r3, [r3, #12] - 80069c6: 461a mov r2, r3 - 80069c8: 687b ldr r3, [r7, #4] - 80069ca: 62da str r2, [r3, #44] ; 0x2c - 80069cc: e04b b.n 8006a66 + 8006528: 687b ldr r3, [r7, #4] + 800652a: 6adb ldr r3, [r3, #44] ; 0x2c + 800652c: 68db ldr r3, [r3, #12] + 800652e: 461a mov r2, r3 + 8006530: 687b ldr r3, [r7, #4] + 8006532: 62da str r2, [r3, #44] ; 0x2c + 8006534: e04b b.n 80065ce } else { for (i=0; i< bufcount; i++) - 80069ce: 2300 movs r3, #0 - 80069d0: 613b str r3, [r7, #16] - 80069d2: e044 b.n 8006a5e + 8006536: 2300 movs r3, #0 + 8006538: 613b str r3, [r7, #16] + 800653a: e044 b.n 80065c6 { /* Clear FIRST and LAST segment bits */ heth->TxDesc->Status &= ~(ETH_DMATXDESC_FS | ETH_DMATXDESC_LS); - 80069d4: 687b ldr r3, [r7, #4] - 80069d6: 6adb ldr r3, [r3, #44] ; 0x2c - 80069d8: 681a ldr r2, [r3, #0] - 80069da: 687b ldr r3, [r7, #4] - 80069dc: 6adb ldr r3, [r3, #44] ; 0x2c - 80069de: f022 5240 bic.w r2, r2, #805306368 ; 0x30000000 - 80069e2: 601a str r2, [r3, #0] + 800653c: 687b ldr r3, [r7, #4] + 800653e: 6adb ldr r3, [r3, #44] ; 0x2c + 8006540: 681a ldr r2, [r3, #0] + 8006542: 687b ldr r3, [r7, #4] + 8006544: 6adb ldr r3, [r3, #44] ; 0x2c + 8006546: f022 5240 bic.w r2, r2, #805306368 ; 0x30000000 + 800654a: 601a str r2, [r3, #0] if (i == 0) - 80069e4: 693b ldr r3, [r7, #16] - 80069e6: 2b00 cmp r3, #0 - 80069e8: d107 bne.n 80069fa + 800654c: 693b ldr r3, [r7, #16] + 800654e: 2b00 cmp r3, #0 + 8006550: d107 bne.n 8006562 { /* Setting the first segment bit */ heth->TxDesc->Status |= ETH_DMATXDESC_FS; - 80069ea: 687b ldr r3, [r7, #4] - 80069ec: 6adb ldr r3, [r3, #44] ; 0x2c - 80069ee: 681a ldr r2, [r3, #0] - 80069f0: 687b ldr r3, [r7, #4] - 80069f2: 6adb ldr r3, [r3, #44] ; 0x2c - 80069f4: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 - 80069f8: 601a str r2, [r3, #0] + 8006552: 687b ldr r3, [r7, #4] + 8006554: 6adb ldr r3, [r3, #44] ; 0x2c + 8006556: 681a ldr r2, [r3, #0] + 8006558: 687b ldr r3, [r7, #4] + 800655a: 6adb ldr r3, [r3, #44] ; 0x2c + 800655c: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 + 8006560: 601a str r2, [r3, #0] } /* Program size */ heth->TxDesc->ControlBufferSize = (ETH_TX_BUF_SIZE & ETH_DMATXDESC_TBS1); - 80069fa: 687b ldr r3, [r7, #4] - 80069fc: 6adb ldr r3, [r3, #44] ; 0x2c - 80069fe: f240 52f4 movw r2, #1524 ; 0x5f4 - 8006a02: 605a str r2, [r3, #4] + 8006562: 687b ldr r3, [r7, #4] + 8006564: 6adb ldr r3, [r3, #44] ; 0x2c + 8006566: f240 52f4 movw r2, #1524 ; 0x5f4 + 800656a: 605a str r2, [r3, #4] if (i == (bufcount-1)) - 8006a04: 697b ldr r3, [r7, #20] - 8006a06: 3b01 subs r3, #1 - 8006a08: 693a ldr r2, [r7, #16] - 8006a0a: 429a cmp r2, r3 - 8006a0c: d116 bne.n 8006a3c + 800656c: 697b ldr r3, [r7, #20] + 800656e: 3b01 subs r3, #1 + 8006570: 693a ldr r2, [r7, #16] + 8006572: 429a cmp r2, r3 + 8006574: d116 bne.n 80065a4 { /* Setting the last segment bit */ heth->TxDesc->Status |= ETH_DMATXDESC_LS; - 8006a0e: 687b ldr r3, [r7, #4] - 8006a10: 6adb ldr r3, [r3, #44] ; 0x2c - 8006a12: 681a ldr r2, [r3, #0] - 8006a14: 687b ldr r3, [r7, #4] - 8006a16: 6adb ldr r3, [r3, #44] ; 0x2c - 8006a18: f042 5200 orr.w r2, r2, #536870912 ; 0x20000000 - 8006a1c: 601a str r2, [r3, #0] + 8006576: 687b ldr r3, [r7, #4] + 8006578: 6adb ldr r3, [r3, #44] ; 0x2c + 800657a: 681a ldr r2, [r3, #0] + 800657c: 687b ldr r3, [r7, #4] + 800657e: 6adb ldr r3, [r3, #44] ; 0x2c + 8006580: f042 5200 orr.w r2, r2, #536870912 ; 0x20000000 + 8006584: 601a str r2, [r3, #0] size = FrameLength - (bufcount-1)*ETH_TX_BUF_SIZE; - 8006a1e: 697b ldr r3, [r7, #20] - 8006a20: 4a25 ldr r2, [pc, #148] ; (8006ab8 ) - 8006a22: fb02 f203 mul.w r2, r2, r3 - 8006a26: 683b ldr r3, [r7, #0] - 8006a28: 4413 add r3, r2 - 8006a2a: f203 53f4 addw r3, r3, #1524 ; 0x5f4 - 8006a2e: 60fb str r3, [r7, #12] + 8006586: 697b ldr r3, [r7, #20] + 8006588: 4a25 ldr r2, [pc, #148] ; (8006620 ) + 800658a: fb02 f203 mul.w r2, r2, r3 + 800658e: 683b ldr r3, [r7, #0] + 8006590: 4413 add r3, r2 + 8006592: f203 53f4 addw r3, r3, #1524 ; 0x5f4 + 8006596: 60fb str r3, [r7, #12] heth->TxDesc->ControlBufferSize = (size & ETH_DMATXDESC_TBS1); - 8006a30: 687b ldr r3, [r7, #4] - 8006a32: 6adb ldr r3, [r3, #44] ; 0x2c - 8006a34: 68fa ldr r2, [r7, #12] - 8006a36: f3c2 020c ubfx r2, r2, #0, #13 - 8006a3a: 605a str r2, [r3, #4] + 8006598: 687b ldr r3, [r7, #4] + 800659a: 6adb ldr r3, [r3, #44] ; 0x2c + 800659c: 68fa ldr r2, [r7, #12] + 800659e: f3c2 020c ubfx r2, r2, #0, #13 + 80065a2: 605a str r2, [r3, #4] } /* Set Own bit of the Tx descriptor Status: gives the buffer back to ETHERNET DMA */ heth->TxDesc->Status |= ETH_DMATXDESC_OWN; - 8006a3c: 687b ldr r3, [r7, #4] - 8006a3e: 6adb ldr r3, [r3, #44] ; 0x2c - 8006a40: 681a ldr r2, [r3, #0] - 8006a42: 687b ldr r3, [r7, #4] - 8006a44: 6adb ldr r3, [r3, #44] ; 0x2c - 8006a46: f042 4200 orr.w r2, r2, #2147483648 ; 0x80000000 - 8006a4a: 601a str r2, [r3, #0] + 80065a4: 687b ldr r3, [r7, #4] + 80065a6: 6adb ldr r3, [r3, #44] ; 0x2c + 80065a8: 681a ldr r2, [r3, #0] + 80065aa: 687b ldr r3, [r7, #4] + 80065ac: 6adb ldr r3, [r3, #44] ; 0x2c + 80065ae: f042 4200 orr.w r2, r2, #2147483648 ; 0x80000000 + 80065b2: 601a str r2, [r3, #0] /* point to next descriptor */ heth->TxDesc = (ETH_DMADescTypeDef *)(heth->TxDesc->Buffer2NextDescAddr); - 8006a4c: 687b ldr r3, [r7, #4] - 8006a4e: 6adb ldr r3, [r3, #44] ; 0x2c - 8006a50: 68db ldr r3, [r3, #12] - 8006a52: 461a mov r2, r3 - 8006a54: 687b ldr r3, [r7, #4] - 8006a56: 62da str r2, [r3, #44] ; 0x2c + 80065b4: 687b ldr r3, [r7, #4] + 80065b6: 6adb ldr r3, [r3, #44] ; 0x2c + 80065b8: 68db ldr r3, [r3, #12] + 80065ba: 461a mov r2, r3 + 80065bc: 687b ldr r3, [r7, #4] + 80065be: 62da str r2, [r3, #44] ; 0x2c for (i=0; i< bufcount; i++) - 8006a58: 693b ldr r3, [r7, #16] - 8006a5a: 3301 adds r3, #1 - 8006a5c: 613b str r3, [r7, #16] - 8006a5e: 693a ldr r2, [r7, #16] - 8006a60: 697b ldr r3, [r7, #20] - 8006a62: 429a cmp r2, r3 - 8006a64: d3b6 bcc.n 80069d4 + 80065c0: 693b ldr r3, [r7, #16] + 80065c2: 3301 adds r3, #1 + 80065c4: 613b str r3, [r7, #16] + 80065c6: 693a ldr r2, [r7, #16] + 80065c8: 697b ldr r3, [r7, #20] + 80065ca: 429a cmp r2, r3 + 80065cc: d3b6 bcc.n 800653c } } /* When Tx Buffer unavailable flag is set: clear it and resume transmission */ if (((heth->Instance)->DMASR & ETH_DMASR_TBUS) != (uint32_t)RESET) - 8006a66: 687b ldr r3, [r7, #4] - 8006a68: 681a ldr r2, [r3, #0] - 8006a6a: f241 0314 movw r3, #4116 ; 0x1014 - 8006a6e: 4413 add r3, r2 - 8006a70: 681b ldr r3, [r3, #0] - 8006a72: f003 0304 and.w r3, r3, #4 - 8006a76: 2b00 cmp r3, #0 - 8006a78: d00d beq.n 8006a96 + 80065ce: 687b ldr r3, [r7, #4] + 80065d0: 681a ldr r2, [r3, #0] + 80065d2: f241 0314 movw r3, #4116 ; 0x1014 + 80065d6: 4413 add r3, r2 + 80065d8: 681b ldr r3, [r3, #0] + 80065da: f003 0304 and.w r3, r3, #4 + 80065de: 2b00 cmp r3, #0 + 80065e0: d00d beq.n 80065fe { /* Clear TBUS ETHERNET DMA flag */ (heth->Instance)->DMASR = ETH_DMASR_TBUS; - 8006a7a: 687b ldr r3, [r7, #4] - 8006a7c: 681a ldr r2, [r3, #0] - 8006a7e: f241 0314 movw r3, #4116 ; 0x1014 - 8006a82: 4413 add r3, r2 - 8006a84: 2204 movs r2, #4 - 8006a86: 601a str r2, [r3, #0] + 80065e2: 687b ldr r3, [r7, #4] + 80065e4: 681a ldr r2, [r3, #0] + 80065e6: f241 0314 movw r3, #4116 ; 0x1014 + 80065ea: 4413 add r3, r2 + 80065ec: 2204 movs r2, #4 + 80065ee: 601a str r2, [r3, #0] /* Resume DMA transmission*/ (heth->Instance)->DMATPDR = 0; - 8006a88: 687b ldr r3, [r7, #4] - 8006a8a: 681a ldr r2, [r3, #0] - 8006a8c: f241 0304 movw r3, #4100 ; 0x1004 - 8006a90: 4413 add r3, r2 - 8006a92: 2200 movs r2, #0 - 8006a94: 601a str r2, [r3, #0] + 80065f0: 687b ldr r3, [r7, #4] + 80065f2: 681a ldr r2, [r3, #0] + 80065f4: f241 0304 movw r3, #4100 ; 0x1004 + 80065f8: 4413 add r3, r2 + 80065fa: 2200 movs r2, #0 + 80065fc: 601a str r2, [r3, #0] } /* Set ETH HAL State to Ready */ heth->State = HAL_ETH_STATE_READY; - 8006a96: 687b ldr r3, [r7, #4] - 8006a98: 2201 movs r2, #1 - 8006a9a: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 80065fe: 687b ldr r3, [r7, #4] + 8006600: 2201 movs r2, #1 + 8006602: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 8006a9e: 687b ldr r3, [r7, #4] - 8006aa0: 2200 movs r2, #0 - 8006aa2: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006606: 687b ldr r3, [r7, #4] + 8006608: 2200 movs r2, #0 + 800660a: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Return function status */ return HAL_OK; - 8006aa6: 2300 movs r3, #0 + 800660e: 2300 movs r3, #0 } - 8006aa8: 4618 mov r0, r3 - 8006aaa: 371c adds r7, #28 - 8006aac: 46bd mov sp, r7 - 8006aae: f85d 7b04 ldr.w r7, [sp], #4 - 8006ab2: 4770 bx lr - 8006ab4: ac02b00b .word 0xac02b00b - 8006ab8: fffffa0c .word 0xfffffa0c + 8006610: 4618 mov r0, r3 + 8006612: 371c adds r7, #28 + 8006614: 46bd mov sp, r7 + 8006616: f85d 7b04 ldr.w r7, [sp], #4 + 800661a: 4770 bx lr + 800661c: ac02b00b .word 0xac02b00b + 8006620: fffffa0c .word 0xfffffa0c -08006abc : +08006624 : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_GetReceivedFrame_IT(ETH_HandleTypeDef *heth) { - 8006abc: b480 push {r7} - 8006abe: b085 sub sp, #20 - 8006ac0: af00 add r7, sp, #0 - 8006ac2: 6078 str r0, [r7, #4] + 8006624: b480 push {r7} + 8006626: b085 sub sp, #20 + 8006628: af00 add r7, sp, #0 + 800662a: 6078 str r0, [r7, #4] uint32_t descriptorscancounter = 0; - 8006ac4: 2300 movs r3, #0 - 8006ac6: 60fb str r3, [r7, #12] + 800662c: 2300 movs r3, #0 + 800662e: 60fb str r3, [r7, #12] /* Process Locked */ __HAL_LOCK(heth); - 8006ac8: 687b ldr r3, [r7, #4] - 8006aca: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 - 8006ace: 2b01 cmp r3, #1 - 8006ad0: d101 bne.n 8006ad6 - 8006ad2: 2302 movs r3, #2 - 8006ad4: e074 b.n 8006bc0 - 8006ad6: 687b ldr r3, [r7, #4] - 8006ad8: 2201 movs r2, #1 - 8006ada: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006630: 687b ldr r3, [r7, #4] + 8006632: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 + 8006636: 2b01 cmp r3, #1 + 8006638: d101 bne.n 800663e + 800663a: 2302 movs r3, #2 + 800663c: e074 b.n 8006728 + 800663e: 687b ldr r3, [r7, #4] + 8006640: 2201 movs r2, #1 + 8006642: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Set ETH HAL State to BUSY */ heth->State = HAL_ETH_STATE_BUSY; - 8006ade: 687b ldr r3, [r7, #4] - 8006ae0: 2202 movs r2, #2 - 8006ae2: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006646: 687b ldr r3, [r7, #4] + 8006648: 2202 movs r2, #2 + 800664a: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Scan descriptors owned by CPU */ while (((heth->RxDesc->Status & ETH_DMARXDESC_OWN) == (uint32_t)RESET) && (descriptorscancounter < ETH_RXBUFNB)) - 8006ae6: e05a b.n 8006b9e + 800664e: e05a b.n 8006706 { /* Just for security */ descriptorscancounter++; - 8006ae8: 68fb ldr r3, [r7, #12] - 8006aea: 3301 adds r3, #1 - 8006aec: 60fb str r3, [r7, #12] + 8006650: 68fb ldr r3, [r7, #12] + 8006652: 3301 adds r3, #1 + 8006654: 60fb str r3, [r7, #12] /* Check if first segment in frame */ /* ((heth->RxDesc->Status & ETH_DMARXDESC_FS) != (uint32_t)RESET) && ((heth->RxDesc->Status & ETH_DMARXDESC_LS) == (uint32_t)RESET)) */ if((heth->RxDesc->Status & (ETH_DMARXDESC_FS | ETH_DMARXDESC_LS)) == (uint32_t)ETH_DMARXDESC_FS) - 8006aee: 687b ldr r3, [r7, #4] - 8006af0: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006af2: 681b ldr r3, [r3, #0] - 8006af4: f403 7340 and.w r3, r3, #768 ; 0x300 - 8006af8: f5b3 7f00 cmp.w r3, #512 ; 0x200 - 8006afc: d10d bne.n 8006b1a + 8006656: 687b ldr r3, [r7, #4] + 8006658: 6a9b ldr r3, [r3, #40] ; 0x28 + 800665a: 681b ldr r3, [r3, #0] + 800665c: f403 7340 and.w r3, r3, #768 ; 0x300 + 8006660: f5b3 7f00 cmp.w r3, #512 ; 0x200 + 8006664: d10d bne.n 8006682 { heth->RxFrameInfos.FSRxDesc = heth->RxDesc; - 8006afe: 687b ldr r3, [r7, #4] - 8006b00: 6a9a ldr r2, [r3, #40] ; 0x28 - 8006b02: 687b ldr r3, [r7, #4] - 8006b04: 631a str r2, [r3, #48] ; 0x30 + 8006666: 687b ldr r3, [r7, #4] + 8006668: 6a9a ldr r2, [r3, #40] ; 0x28 + 800666a: 687b ldr r3, [r7, #4] + 800666c: 631a str r2, [r3, #48] ; 0x30 heth->RxFrameInfos.SegCount = 1; - 8006b06: 687b ldr r3, [r7, #4] - 8006b08: 2201 movs r2, #1 - 8006b0a: 639a str r2, [r3, #56] ; 0x38 + 800666e: 687b ldr r3, [r7, #4] + 8006670: 2201 movs r2, #1 + 8006672: 639a str r2, [r3, #56] ; 0x38 /* Point to next descriptor */ heth->RxDesc = (ETH_DMADescTypeDef*) (heth->RxDesc->Buffer2NextDescAddr); - 8006b0c: 687b ldr r3, [r7, #4] - 8006b0e: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006b10: 68db ldr r3, [r3, #12] - 8006b12: 461a mov r2, r3 - 8006b14: 687b ldr r3, [r7, #4] - 8006b16: 629a str r2, [r3, #40] ; 0x28 - 8006b18: e041 b.n 8006b9e + 8006674: 687b ldr r3, [r7, #4] + 8006676: 6a9b ldr r3, [r3, #40] ; 0x28 + 8006678: 68db ldr r3, [r3, #12] + 800667a: 461a mov r2, r3 + 800667c: 687b ldr r3, [r7, #4] + 800667e: 629a str r2, [r3, #40] ; 0x28 + 8006680: e041 b.n 8006706 } /* Check if intermediate segment */ /* ((heth->RxDesc->Status & ETH_DMARXDESC_LS) == (uint32_t)RESET)&& ((heth->RxDesc->Status & ETH_DMARXDESC_FS) == (uint32_t)RESET)) */ else if ((heth->RxDesc->Status & (ETH_DMARXDESC_LS | ETH_DMARXDESC_FS)) == (uint32_t)RESET) - 8006b1a: 687b ldr r3, [r7, #4] - 8006b1c: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006b1e: 681b ldr r3, [r3, #0] - 8006b20: f403 7340 and.w r3, r3, #768 ; 0x300 - 8006b24: 2b00 cmp r3, #0 - 8006b26: d10b bne.n 8006b40 + 8006682: 687b ldr r3, [r7, #4] + 8006684: 6a9b ldr r3, [r3, #40] ; 0x28 + 8006686: 681b ldr r3, [r3, #0] + 8006688: f403 7340 and.w r3, r3, #768 ; 0x300 + 800668c: 2b00 cmp r3, #0 + 800668e: d10b bne.n 80066a8 { /* Increment segment count */ (heth->RxFrameInfos.SegCount)++; - 8006b28: 687b ldr r3, [r7, #4] - 8006b2a: 6b9b ldr r3, [r3, #56] ; 0x38 - 8006b2c: 1c5a adds r2, r3, #1 - 8006b2e: 687b ldr r3, [r7, #4] - 8006b30: 639a str r2, [r3, #56] ; 0x38 + 8006690: 687b ldr r3, [r7, #4] + 8006692: 6b9b ldr r3, [r3, #56] ; 0x38 + 8006694: 1c5a adds r2, r3, #1 + 8006696: 687b ldr r3, [r7, #4] + 8006698: 639a str r2, [r3, #56] ; 0x38 /* Point to next descriptor */ heth->RxDesc = (ETH_DMADescTypeDef*)(heth->RxDesc->Buffer2NextDescAddr); - 8006b32: 687b ldr r3, [r7, #4] - 8006b34: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006b36: 68db ldr r3, [r3, #12] - 8006b38: 461a mov r2, r3 - 8006b3a: 687b ldr r3, [r7, #4] - 8006b3c: 629a str r2, [r3, #40] ; 0x28 - 8006b3e: e02e b.n 8006b9e + 800669a: 687b ldr r3, [r7, #4] + 800669c: 6a9b ldr r3, [r3, #40] ; 0x28 + 800669e: 68db ldr r3, [r3, #12] + 80066a0: 461a mov r2, r3 + 80066a2: 687b ldr r3, [r7, #4] + 80066a4: 629a str r2, [r3, #40] ; 0x28 + 80066a6: e02e b.n 8006706 } /* Should be last segment */ else { /* Last segment */ heth->RxFrameInfos.LSRxDesc = heth->RxDesc; - 8006b40: 687b ldr r3, [r7, #4] - 8006b42: 6a9a ldr r2, [r3, #40] ; 0x28 - 8006b44: 687b ldr r3, [r7, #4] - 8006b46: 635a str r2, [r3, #52] ; 0x34 + 80066a8: 687b ldr r3, [r7, #4] + 80066aa: 6a9a ldr r2, [r3, #40] ; 0x28 + 80066ac: 687b ldr r3, [r7, #4] + 80066ae: 635a str r2, [r3, #52] ; 0x34 /* Increment segment count */ (heth->RxFrameInfos.SegCount)++; - 8006b48: 687b ldr r3, [r7, #4] - 8006b4a: 6b9b ldr r3, [r3, #56] ; 0x38 - 8006b4c: 1c5a adds r2, r3, #1 - 8006b4e: 687b ldr r3, [r7, #4] - 8006b50: 639a str r2, [r3, #56] ; 0x38 + 80066b0: 687b ldr r3, [r7, #4] + 80066b2: 6b9b ldr r3, [r3, #56] ; 0x38 + 80066b4: 1c5a adds r2, r3, #1 + 80066b6: 687b ldr r3, [r7, #4] + 80066b8: 639a str r2, [r3, #56] ; 0x38 /* Check if last segment is first segment: one segment contains the frame */ if ((heth->RxFrameInfos.SegCount) == 1) - 8006b52: 687b ldr r3, [r7, #4] - 8006b54: 6b9b ldr r3, [r3, #56] ; 0x38 - 8006b56: 2b01 cmp r3, #1 - 8006b58: d103 bne.n 8006b62 + 80066ba: 687b ldr r3, [r7, #4] + 80066bc: 6b9b ldr r3, [r3, #56] ; 0x38 + 80066be: 2b01 cmp r3, #1 + 80066c0: d103 bne.n 80066ca { heth->RxFrameInfos.FSRxDesc = heth->RxDesc; - 8006b5a: 687b ldr r3, [r7, #4] - 8006b5c: 6a9a ldr r2, [r3, #40] ; 0x28 - 8006b5e: 687b ldr r3, [r7, #4] - 8006b60: 631a str r2, [r3, #48] ; 0x30 + 80066c2: 687b ldr r3, [r7, #4] + 80066c4: 6a9a ldr r2, [r3, #40] ; 0x28 + 80066c6: 687b ldr r3, [r7, #4] + 80066c8: 631a str r2, [r3, #48] ; 0x30 } /* Get the Frame Length of the received packet: substruct 4 bytes of the CRC */ heth->RxFrameInfos.length = (((heth->RxDesc)->Status & ETH_DMARXDESC_FL) >> ETH_DMARXDESC_FRAMELENGTHSHIFT) - 4; - 8006b62: 687b ldr r3, [r7, #4] - 8006b64: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006b66: 681b ldr r3, [r3, #0] - 8006b68: 0c1b lsrs r3, r3, #16 - 8006b6a: f3c3 030d ubfx r3, r3, #0, #14 - 8006b6e: 1f1a subs r2, r3, #4 - 8006b70: 687b ldr r3, [r7, #4] - 8006b72: 63da str r2, [r3, #60] ; 0x3c + 80066ca: 687b ldr r3, [r7, #4] + 80066cc: 6a9b ldr r3, [r3, #40] ; 0x28 + 80066ce: 681b ldr r3, [r3, #0] + 80066d0: 0c1b lsrs r3, r3, #16 + 80066d2: f3c3 030d ubfx r3, r3, #0, #14 + 80066d6: 1f1a subs r2, r3, #4 + 80066d8: 687b ldr r3, [r7, #4] + 80066da: 63da str r2, [r3, #60] ; 0x3c /* Get the address of the buffer start address */ heth->RxFrameInfos.buffer =((heth->RxFrameInfos).FSRxDesc)->Buffer1Addr; - 8006b74: 687b ldr r3, [r7, #4] - 8006b76: 6b1b ldr r3, [r3, #48] ; 0x30 - 8006b78: 689a ldr r2, [r3, #8] - 8006b7a: 687b ldr r3, [r7, #4] - 8006b7c: 641a str r2, [r3, #64] ; 0x40 + 80066dc: 687b ldr r3, [r7, #4] + 80066de: 6b1b ldr r3, [r3, #48] ; 0x30 + 80066e0: 689a ldr r2, [r3, #8] + 80066e2: 687b ldr r3, [r7, #4] + 80066e4: 641a str r2, [r3, #64] ; 0x40 /* Point to next descriptor */ heth->RxDesc = (ETH_DMADescTypeDef*) (heth->RxDesc->Buffer2NextDescAddr); - 8006b7e: 687b ldr r3, [r7, #4] - 8006b80: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006b82: 68db ldr r3, [r3, #12] - 8006b84: 461a mov r2, r3 - 8006b86: 687b ldr r3, [r7, #4] - 8006b88: 629a str r2, [r3, #40] ; 0x28 + 80066e6: 687b ldr r3, [r7, #4] + 80066e8: 6a9b ldr r3, [r3, #40] ; 0x28 + 80066ea: 68db ldr r3, [r3, #12] + 80066ec: 461a mov r2, r3 + 80066ee: 687b ldr r3, [r7, #4] + 80066f0: 629a str r2, [r3, #40] ; 0x28 /* Set HAL State to Ready */ heth->State = HAL_ETH_STATE_READY; - 8006b8a: 687b ldr r3, [r7, #4] - 8006b8c: 2201 movs r2, #1 - 8006b8e: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 80066f2: 687b ldr r3, [r7, #4] + 80066f4: 2201 movs r2, #1 + 80066f6: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 8006b92: 687b ldr r3, [r7, #4] - 8006b94: 2200 movs r2, #0 - 8006b96: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 80066fa: 687b ldr r3, [r7, #4] + 80066fc: 2200 movs r2, #0 + 80066fe: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Return function status */ return HAL_OK; - 8006b9a: 2300 movs r3, #0 - 8006b9c: e010 b.n 8006bc0 + 8006702: 2300 movs r3, #0 + 8006704: e010 b.n 8006728 while (((heth->RxDesc->Status & ETH_DMARXDESC_OWN) == (uint32_t)RESET) && (descriptorscancounter < ETH_RXBUFNB)) - 8006b9e: 687b ldr r3, [r7, #4] - 8006ba0: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006ba2: 681b ldr r3, [r3, #0] - 8006ba4: 2b00 cmp r3, #0 - 8006ba6: db02 blt.n 8006bae - 8006ba8: 68fb ldr r3, [r7, #12] - 8006baa: 2b03 cmp r3, #3 - 8006bac: d99c bls.n 8006ae8 + 8006706: 687b ldr r3, [r7, #4] + 8006708: 6a9b ldr r3, [r3, #40] ; 0x28 + 800670a: 681b ldr r3, [r3, #0] + 800670c: 2b00 cmp r3, #0 + 800670e: db02 blt.n 8006716 + 8006710: 68fb ldr r3, [r7, #12] + 8006712: 2b03 cmp r3, #3 + 8006714: d99c bls.n 8006650 } } /* Set HAL State to Ready */ heth->State = HAL_ETH_STATE_READY; - 8006bae: 687b ldr r3, [r7, #4] - 8006bb0: 2201 movs r2, #1 - 8006bb2: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006716: 687b ldr r3, [r7, #4] + 8006718: 2201 movs r2, #1 + 800671a: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 8006bb6: 687b ldr r3, [r7, #4] - 8006bb8: 2200 movs r2, #0 - 8006bba: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 800671e: 687b ldr r3, [r7, #4] + 8006720: 2200 movs r2, #0 + 8006722: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Return function status */ return HAL_ERROR; - 8006bbe: 2301 movs r3, #1 + 8006726: 2301 movs r3, #1 } - 8006bc0: 4618 mov r0, r3 - 8006bc2: 3714 adds r7, #20 - 8006bc4: 46bd mov sp, r7 - 8006bc6: f85d 7b04 ldr.w r7, [sp], #4 - 8006bca: 4770 bx lr + 8006728: 4618 mov r0, r3 + 800672a: 3714 adds r7, #20 + 800672c: 46bd mov sp, r7 + 800672e: f85d 7b04 ldr.w r7, [sp], #4 + 8006732: 4770 bx lr -08006bcc : +08006734 : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval HAL status */ void HAL_ETH_IRQHandler(ETH_HandleTypeDef *heth) { - 8006bcc: b580 push {r7, lr} - 8006bce: b082 sub sp, #8 - 8006bd0: af00 add r7, sp, #0 - 8006bd2: 6078 str r0, [r7, #4] + 8006734: b580 push {r7, lr} + 8006736: b082 sub sp, #8 + 8006738: af00 add r7, sp, #0 + 800673a: 6078 str r0, [r7, #4] /* Frame received */ if (__HAL_ETH_DMA_GET_FLAG(heth, ETH_DMA_FLAG_R)) - 8006bd4: 687b ldr r3, [r7, #4] - 8006bd6: 681a ldr r2, [r3, #0] - 8006bd8: f241 0314 movw r3, #4116 ; 0x1014 - 8006bdc: 4413 add r3, r2 - 8006bde: 681b ldr r3, [r3, #0] - 8006be0: f003 0340 and.w r3, r3, #64 ; 0x40 - 8006be4: 2b40 cmp r3, #64 ; 0x40 - 8006be6: d112 bne.n 8006c0e + 800673c: 687b ldr r3, [r7, #4] + 800673e: 681a ldr r2, [r3, #0] + 8006740: f241 0314 movw r3, #4116 ; 0x1014 + 8006744: 4413 add r3, r2 + 8006746: 681b ldr r3, [r3, #0] + 8006748: f003 0340 and.w r3, r3, #64 ; 0x40 + 800674c: 2b40 cmp r3, #64 ; 0x40 + 800674e: d112 bne.n 8006776 #if (USE_HAL_ETH_REGISTER_CALLBACKS == 1) /*Call registered Receive complete callback*/ heth->RxCpltCallback(heth); #else /* Receive complete callback */ HAL_ETH_RxCpltCallback(heth); - 8006be8: 6878 ldr r0, [r7, #4] - 8006bea: f004 fd95 bl 800b718 + 8006750: 6878 ldr r0, [r7, #4] + 8006752: f004 fdaf bl 800b2b4 #endif /* USE_HAL_ETH_REGISTER_CALLBACKS */ /* Clear the Eth DMA Rx IT pending bits */ __HAL_ETH_DMA_CLEAR_IT(heth, ETH_DMA_IT_R); - 8006bee: 687b ldr r3, [r7, #4] - 8006bf0: 681a ldr r2, [r3, #0] - 8006bf2: f241 0314 movw r3, #4116 ; 0x1014 - 8006bf6: 4413 add r3, r2 - 8006bf8: 2240 movs r2, #64 ; 0x40 - 8006bfa: 601a str r2, [r3, #0] + 8006756: 687b ldr r3, [r7, #4] + 8006758: 681a ldr r2, [r3, #0] + 800675a: f241 0314 movw r3, #4116 ; 0x1014 + 800675e: 4413 add r3, r2 + 8006760: 2240 movs r2, #64 ; 0x40 + 8006762: 601a str r2, [r3, #0] /* Set HAL State to Ready */ heth->State = HAL_ETH_STATE_READY; - 8006bfc: 687b ldr r3, [r7, #4] - 8006bfe: 2201 movs r2, #1 - 8006c00: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006764: 687b ldr r3, [r7, #4] + 8006766: 2201 movs r2, #1 + 8006768: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 8006c04: 687b ldr r3, [r7, #4] - 8006c06: 2200 movs r2, #0 - 8006c08: f883 2045 strb.w r2, [r3, #69] ; 0x45 - 8006c0c: e01b b.n 8006c46 + 800676c: 687b ldr r3, [r7, #4] + 800676e: 2200 movs r2, #0 + 8006770: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006774: e01b b.n 80067ae } /* Frame transmitted */ else if (__HAL_ETH_DMA_GET_FLAG(heth, ETH_DMA_FLAG_T)) - 8006c0e: 687b ldr r3, [r7, #4] - 8006c10: 681a ldr r2, [r3, #0] - 8006c12: f241 0314 movw r3, #4116 ; 0x1014 - 8006c16: 4413 add r3, r2 - 8006c18: 681b ldr r3, [r3, #0] - 8006c1a: f003 0301 and.w r3, r3, #1 - 8006c1e: 2b01 cmp r3, #1 - 8006c20: d111 bne.n 8006c46 + 8006776: 687b ldr r3, [r7, #4] + 8006778: 681a ldr r2, [r3, #0] + 800677a: f241 0314 movw r3, #4116 ; 0x1014 + 800677e: 4413 add r3, r2 + 8006780: 681b ldr r3, [r3, #0] + 8006782: f003 0301 and.w r3, r3, #1 + 8006786: 2b01 cmp r3, #1 + 8006788: d111 bne.n 80067ae #if (USE_HAL_ETH_REGISTER_CALLBACKS == 1) /* Call resgistered Transfer complete callback*/ heth->TxCpltCallback(heth); #else /* Transfer complete callback */ HAL_ETH_TxCpltCallback(heth); - 8006c22: 6878 ldr r0, [r7, #4] - 8006c24: f000 f839 bl 8006c9a + 800678a: 6878 ldr r0, [r7, #4] + 800678c: f000 f839 bl 8006802 #endif /* USE_HAL_ETH_REGISTER_CALLBACKS */ /* Clear the Eth DMA Tx IT pending bits */ __HAL_ETH_DMA_CLEAR_IT(heth, ETH_DMA_IT_T); - 8006c28: 687b ldr r3, [r7, #4] - 8006c2a: 681a ldr r2, [r3, #0] - 8006c2c: f241 0314 movw r3, #4116 ; 0x1014 - 8006c30: 4413 add r3, r2 - 8006c32: 2201 movs r2, #1 - 8006c34: 601a str r2, [r3, #0] + 8006790: 687b ldr r3, [r7, #4] + 8006792: 681a ldr r2, [r3, #0] + 8006794: f241 0314 movw r3, #4116 ; 0x1014 + 8006798: 4413 add r3, r2 + 800679a: 2201 movs r2, #1 + 800679c: 601a str r2, [r3, #0] /* Set HAL State to Ready */ heth->State = HAL_ETH_STATE_READY; - 8006c36: 687b ldr r3, [r7, #4] - 8006c38: 2201 movs r2, #1 - 8006c3a: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 800679e: 687b ldr r3, [r7, #4] + 80067a0: 2201 movs r2, #1 + 80067a2: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 8006c3e: 687b ldr r3, [r7, #4] - 8006c40: 2200 movs r2, #0 - 8006c42: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 80067a6: 687b ldr r3, [r7, #4] + 80067a8: 2200 movs r2, #0 + 80067aa: f883 2045 strb.w r2, [r3, #69] ; 0x45 } /* Clear the interrupt flags */ __HAL_ETH_DMA_CLEAR_IT(heth, ETH_DMA_IT_NIS); - 8006c46: 687b ldr r3, [r7, #4] - 8006c48: 681a ldr r2, [r3, #0] - 8006c4a: f241 0314 movw r3, #4116 ; 0x1014 - 8006c4e: 4413 add r3, r2 - 8006c50: f44f 3280 mov.w r2, #65536 ; 0x10000 - 8006c54: 601a str r2, [r3, #0] + 80067ae: 687b ldr r3, [r7, #4] + 80067b0: 681a ldr r2, [r3, #0] + 80067b2: f241 0314 movw r3, #4116 ; 0x1014 + 80067b6: 4413 add r3, r2 + 80067b8: f44f 3280 mov.w r2, #65536 ; 0x10000 + 80067bc: 601a str r2, [r3, #0] /* ETH DMA Error */ if(__HAL_ETH_DMA_GET_FLAG(heth, ETH_DMA_FLAG_AIS)) - 8006c56: 687b ldr r3, [r7, #4] - 8006c58: 681a ldr r2, [r3, #0] - 8006c5a: f241 0314 movw r3, #4116 ; 0x1014 - 8006c5e: 4413 add r3, r2 - 8006c60: 681b ldr r3, [r3, #0] - 8006c62: f403 4300 and.w r3, r3, #32768 ; 0x8000 - 8006c66: f5b3 4f00 cmp.w r3, #32768 ; 0x8000 - 8006c6a: d112 bne.n 8006c92 + 80067be: 687b ldr r3, [r7, #4] + 80067c0: 681a ldr r2, [r3, #0] + 80067c2: f241 0314 movw r3, #4116 ; 0x1014 + 80067c6: 4413 add r3, r2 + 80067c8: 681b ldr r3, [r3, #0] + 80067ca: f403 4300 and.w r3, r3, #32768 ; 0x8000 + 80067ce: f5b3 4f00 cmp.w r3, #32768 ; 0x8000 + 80067d2: d112 bne.n 80067fa { #if (USE_HAL_ETH_REGISTER_CALLBACKS == 1) heth->DMAErrorCallback(heth); #else /* Ethernet Error callback */ HAL_ETH_ErrorCallback(heth); - 8006c6c: 6878 ldr r0, [r7, #4] - 8006c6e: f000 f81e bl 8006cae + 80067d4: 6878 ldr r0, [r7, #4] + 80067d6: f000 f81e bl 8006816 #endif /* USE_HAL_ETH_REGISTER_CALLBACKS */ /* Clear the interrupt flags */ __HAL_ETH_DMA_CLEAR_IT(heth, ETH_DMA_FLAG_AIS); - 8006c72: 687b ldr r3, [r7, #4] - 8006c74: 681a ldr r2, [r3, #0] - 8006c76: f241 0314 movw r3, #4116 ; 0x1014 - 8006c7a: 4413 add r3, r2 - 8006c7c: f44f 4200 mov.w r2, #32768 ; 0x8000 - 8006c80: 601a str r2, [r3, #0] + 80067da: 687b ldr r3, [r7, #4] + 80067dc: 681a ldr r2, [r3, #0] + 80067de: f241 0314 movw r3, #4116 ; 0x1014 + 80067e2: 4413 add r3, r2 + 80067e4: f44f 4200 mov.w r2, #32768 ; 0x8000 + 80067e8: 601a str r2, [r3, #0] /* Set HAL State to Ready */ heth->State = HAL_ETH_STATE_READY; - 8006c82: 687b ldr r3, [r7, #4] - 8006c84: 2201 movs r2, #1 - 8006c86: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 80067ea: 687b ldr r3, [r7, #4] + 80067ec: 2201 movs r2, #1 + 80067ee: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 8006c8a: 687b ldr r3, [r7, #4] - 8006c8c: 2200 movs r2, #0 - 8006c8e: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 80067f2: 687b ldr r3, [r7, #4] + 80067f4: 2200 movs r2, #0 + 80067f6: f883 2045 strb.w r2, [r3, #69] ; 0x45 } } - 8006c92: bf00 nop - 8006c94: 3708 adds r7, #8 - 8006c96: 46bd mov sp, r7 - 8006c98: bd80 pop {r7, pc} + 80067fa: bf00 nop + 80067fc: 3708 adds r7, #8 + 80067fe: 46bd mov sp, r7 + 8006800: bd80 pop {r7, pc} -08006c9a : +08006802 : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ __weak void HAL_ETH_TxCpltCallback(ETH_HandleTypeDef *heth) { - 8006c9a: b480 push {r7} - 8006c9c: b083 sub sp, #12 - 8006c9e: af00 add r7, sp, #0 - 8006ca0: 6078 str r0, [r7, #4] + 8006802: b480 push {r7} + 8006804: b083 sub sp, #12 + 8006806: af00 add r7, sp, #0 + 8006808: 6078 str r0, [r7, #4] UNUSED(heth); /* NOTE : This function Should not be modified, when the callback is needed, the HAL_ETH_TxCpltCallback could be implemented in the user file */ } - 8006ca2: bf00 nop - 8006ca4: 370c adds r7, #12 - 8006ca6: 46bd mov sp, r7 - 8006ca8: f85d 7b04 ldr.w r7, [sp], #4 - 8006cac: 4770 bx lr + 800680a: bf00 nop + 800680c: 370c adds r7, #12 + 800680e: 46bd mov sp, r7 + 8006810: f85d 7b04 ldr.w r7, [sp], #4 + 8006814: 4770 bx lr -08006cae : +08006816 : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ __weak void HAL_ETH_ErrorCallback(ETH_HandleTypeDef *heth) { - 8006cae: b480 push {r7} - 8006cb0: b083 sub sp, #12 - 8006cb2: af00 add r7, sp, #0 - 8006cb4: 6078 str r0, [r7, #4] + 8006816: b480 push {r7} + 8006818: b083 sub sp, #12 + 800681a: af00 add r7, sp, #0 + 800681c: 6078 str r0, [r7, #4] UNUSED(heth); /* NOTE : This function Should not be modified, when the callback is needed, the HAL_ETH_ErrorCallback could be implemented in the user file */ } - 8006cb6: bf00 nop - 8006cb8: 370c adds r7, #12 - 8006cba: 46bd mov sp, r7 - 8006cbc: f85d 7b04 ldr.w r7, [sp], #4 - 8006cc0: 4770 bx lr + 800681e: bf00 nop + 8006820: 370c adds r7, #12 + 8006822: 46bd mov sp, r7 + 8006824: f85d 7b04 ldr.w r7, [sp], #4 + 8006828: 4770 bx lr -08006cc2 : +0800682a : * More PHY register could be read depending on the used PHY * @param RegValue PHY register value * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_ReadPHYRegister(ETH_HandleTypeDef *heth, uint16_t PHYReg, uint32_t *RegValue) { - 8006cc2: b580 push {r7, lr} - 8006cc4: b086 sub sp, #24 - 8006cc6: af00 add r7, sp, #0 - 8006cc8: 60f8 str r0, [r7, #12] - 8006cca: 460b mov r3, r1 - 8006ccc: 607a str r2, [r7, #4] - 8006cce: 817b strh r3, [r7, #10] + 800682a: b580 push {r7, lr} + 800682c: b086 sub sp, #24 + 800682e: af00 add r7, sp, #0 + 8006830: 60f8 str r0, [r7, #12] + 8006832: 460b mov r3, r1 + 8006834: 607a str r2, [r7, #4] + 8006836: 817b strh r3, [r7, #10] uint32_t tmpreg = 0; - 8006cd0: 2300 movs r3, #0 - 8006cd2: 617b str r3, [r7, #20] + 8006838: 2300 movs r3, #0 + 800683a: 617b str r3, [r7, #20] uint32_t tickstart = 0; - 8006cd4: 2300 movs r3, #0 - 8006cd6: 613b str r3, [r7, #16] + 800683c: 2300 movs r3, #0 + 800683e: 613b str r3, [r7, #16] /* Check parameters */ assert_param(IS_ETH_PHY_ADDRESS(heth->Init.PhyAddress)); /* Check the ETH peripheral state */ if(heth->State == HAL_ETH_STATE_BUSY_RD) - 8006cd8: 68fb ldr r3, [r7, #12] - 8006cda: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 - 8006cde: b2db uxtb r3, r3 - 8006ce0: 2b82 cmp r3, #130 ; 0x82 - 8006ce2: d101 bne.n 8006ce8 + 8006840: 68fb ldr r3, [r7, #12] + 8006842: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 + 8006846: b2db uxtb r3, r3 + 8006848: 2b82 cmp r3, #130 ; 0x82 + 800684a: d101 bne.n 8006850 { return HAL_BUSY; - 8006ce4: 2302 movs r3, #2 - 8006ce6: e050 b.n 8006d8a + 800684c: 2302 movs r3, #2 + 800684e: e050 b.n 80068f2 } /* Set ETH HAL State to BUSY_RD */ heth->State = HAL_ETH_STATE_BUSY_RD; - 8006ce8: 68fb ldr r3, [r7, #12] - 8006cea: 2282 movs r2, #130 ; 0x82 - 8006cec: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006850: 68fb ldr r3, [r7, #12] + 8006852: 2282 movs r2, #130 ; 0x82 + 8006854: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Get the ETHERNET MACMIIAR value */ tmpreg = heth->Instance->MACMIIAR; - 8006cf0: 68fb ldr r3, [r7, #12] - 8006cf2: 681b ldr r3, [r3, #0] - 8006cf4: 691b ldr r3, [r3, #16] - 8006cf6: 617b str r3, [r7, #20] + 8006858: 68fb ldr r3, [r7, #12] + 800685a: 681b ldr r3, [r3, #0] + 800685c: 691b ldr r3, [r3, #16] + 800685e: 617b str r3, [r7, #20] /* Keep only the CSR Clock Range CR[2:0] bits value */ tmpreg &= ~ETH_MACMIIAR_CR_MASK; - 8006cf8: 697b ldr r3, [r7, #20] - 8006cfa: f003 031c and.w r3, r3, #28 - 8006cfe: 617b str r3, [r7, #20] + 8006860: 697b ldr r3, [r7, #20] + 8006862: f003 031c and.w r3, r3, #28 + 8006866: 617b str r3, [r7, #20] /* Prepare the MII address register value */ tmpreg |=(((uint32_t)heth->Init.PhyAddress << 11) & ETH_MACMIIAR_PA); /* Set the PHY device address */ - 8006d00: 68fb ldr r3, [r7, #12] - 8006d02: 8a1b ldrh r3, [r3, #16] - 8006d04: 02db lsls r3, r3, #11 - 8006d06: b29b uxth r3, r3 - 8006d08: 697a ldr r2, [r7, #20] - 8006d0a: 4313 orrs r3, r2 - 8006d0c: 617b str r3, [r7, #20] + 8006868: 68fb ldr r3, [r7, #12] + 800686a: 8a1b ldrh r3, [r3, #16] + 800686c: 02db lsls r3, r3, #11 + 800686e: b29b uxth r3, r3 + 8006870: 697a ldr r2, [r7, #20] + 8006872: 4313 orrs r3, r2 + 8006874: 617b str r3, [r7, #20] tmpreg |=(((uint32_t)PHYReg<<6) & ETH_MACMIIAR_MR); /* Set the PHY register address */ - 8006d0e: 897b ldrh r3, [r7, #10] - 8006d10: 019b lsls r3, r3, #6 - 8006d12: f403 63f8 and.w r3, r3, #1984 ; 0x7c0 - 8006d16: 697a ldr r2, [r7, #20] - 8006d18: 4313 orrs r3, r2 - 8006d1a: 617b str r3, [r7, #20] + 8006876: 897b ldrh r3, [r7, #10] + 8006878: 019b lsls r3, r3, #6 + 800687a: f403 63f8 and.w r3, r3, #1984 ; 0x7c0 + 800687e: 697a ldr r2, [r7, #20] + 8006880: 4313 orrs r3, r2 + 8006882: 617b str r3, [r7, #20] tmpreg &= ~ETH_MACMIIAR_MW; /* Set the read mode */ - 8006d1c: 697b ldr r3, [r7, #20] - 8006d1e: f023 0302 bic.w r3, r3, #2 - 8006d22: 617b str r3, [r7, #20] + 8006884: 697b ldr r3, [r7, #20] + 8006886: f023 0302 bic.w r3, r3, #2 + 800688a: 617b str r3, [r7, #20] tmpreg |= ETH_MACMIIAR_MB; /* Set the MII Busy bit */ - 8006d24: 697b ldr r3, [r7, #20] - 8006d26: f043 0301 orr.w r3, r3, #1 - 8006d2a: 617b str r3, [r7, #20] + 800688c: 697b ldr r3, [r7, #20] + 800688e: f043 0301 orr.w r3, r3, #1 + 8006892: 617b str r3, [r7, #20] /* Write the result value into the MII Address register */ heth->Instance->MACMIIAR = tmpreg; - 8006d2c: 68fb ldr r3, [r7, #12] - 8006d2e: 681b ldr r3, [r3, #0] - 8006d30: 697a ldr r2, [r7, #20] - 8006d32: 611a str r2, [r3, #16] + 8006894: 68fb ldr r3, [r7, #12] + 8006896: 681b ldr r3, [r3, #0] + 8006898: 697a ldr r2, [r7, #20] + 800689a: 611a str r2, [r3, #16] /* Get tick */ tickstart = HAL_GetTick(); - 8006d34: f7fe f87c bl 8004e30 - 8006d38: 6138 str r0, [r7, #16] + 800689c: f7fe f87c bl 8004998 + 80068a0: 6138 str r0, [r7, #16] /* Check for the Busy flag */ while((tmpreg & ETH_MACMIIAR_MB) == ETH_MACMIIAR_MB) - 8006d3a: e015 b.n 8006d68 + 80068a2: e015 b.n 80068d0 { /* Check for the Timeout */ if((HAL_GetTick() - tickstart ) > PHY_READ_TO) - 8006d3c: f7fe f878 bl 8004e30 - 8006d40: 4602 mov r2, r0 - 8006d42: 693b ldr r3, [r7, #16] - 8006d44: 1ad3 subs r3, r2, r3 - 8006d46: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 8006d4a: d309 bcc.n 8006d60 + 80068a4: f7fe f878 bl 8004998 + 80068a8: 4602 mov r2, r0 + 80068aa: 693b ldr r3, [r7, #16] + 80068ac: 1ad3 subs r3, r2, r3 + 80068ae: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 80068b2: d309 bcc.n 80068c8 { heth->State= HAL_ETH_STATE_READY; - 8006d4c: 68fb ldr r3, [r7, #12] - 8006d4e: 2201 movs r2, #1 - 8006d50: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 80068b4: 68fb ldr r3, [r7, #12] + 80068b6: 2201 movs r2, #1 + 80068b8: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 8006d54: 68fb ldr r3, [r7, #12] - 8006d56: 2200 movs r2, #0 - 8006d58: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 80068bc: 68fb ldr r3, [r7, #12] + 80068be: 2200 movs r2, #0 + 80068c0: f883 2045 strb.w r2, [r3, #69] ; 0x45 return HAL_TIMEOUT; - 8006d5c: 2303 movs r3, #3 - 8006d5e: e014 b.n 8006d8a + 80068c4: 2303 movs r3, #3 + 80068c6: e014 b.n 80068f2 } tmpreg = heth->Instance->MACMIIAR; - 8006d60: 68fb ldr r3, [r7, #12] - 8006d62: 681b ldr r3, [r3, #0] - 8006d64: 691b ldr r3, [r3, #16] - 8006d66: 617b str r3, [r7, #20] + 80068c8: 68fb ldr r3, [r7, #12] + 80068ca: 681b ldr r3, [r3, #0] + 80068cc: 691b ldr r3, [r3, #16] + 80068ce: 617b str r3, [r7, #20] while((tmpreg & ETH_MACMIIAR_MB) == ETH_MACMIIAR_MB) - 8006d68: 697b ldr r3, [r7, #20] - 8006d6a: f003 0301 and.w r3, r3, #1 - 8006d6e: 2b00 cmp r3, #0 - 8006d70: d1e4 bne.n 8006d3c + 80068d0: 697b ldr r3, [r7, #20] + 80068d2: f003 0301 and.w r3, r3, #1 + 80068d6: 2b00 cmp r3, #0 + 80068d8: d1e4 bne.n 80068a4 } /* Get MACMIIDR value */ *RegValue = (uint16_t)(heth->Instance->MACMIIDR); - 8006d72: 68fb ldr r3, [r7, #12] - 8006d74: 681b ldr r3, [r3, #0] - 8006d76: 695b ldr r3, [r3, #20] - 8006d78: b29b uxth r3, r3 - 8006d7a: 461a mov r2, r3 - 8006d7c: 687b ldr r3, [r7, #4] - 8006d7e: 601a str r2, [r3, #0] + 80068da: 68fb ldr r3, [r7, #12] + 80068dc: 681b ldr r3, [r3, #0] + 80068de: 695b ldr r3, [r3, #20] + 80068e0: b29b uxth r3, r3 + 80068e2: 461a mov r2, r3 + 80068e4: 687b ldr r3, [r7, #4] + 80068e6: 601a str r2, [r3, #0] /* Set ETH HAL State to READY */ heth->State = HAL_ETH_STATE_READY; - 8006d80: 68fb ldr r3, [r7, #12] - 8006d82: 2201 movs r2, #1 - 8006d84: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 80068e8: 68fb ldr r3, [r7, #12] + 80068ea: 2201 movs r2, #1 + 80068ec: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Return function status */ return HAL_OK; - 8006d88: 2300 movs r3, #0 + 80068f0: 2300 movs r3, #0 } - 8006d8a: 4618 mov r0, r3 - 8006d8c: 3718 adds r7, #24 - 8006d8e: 46bd mov sp, r7 - 8006d90: bd80 pop {r7, pc} + 80068f2: 4618 mov r0, r3 + 80068f4: 3718 adds r7, #24 + 80068f6: 46bd mov sp, r7 + 80068f8: bd80 pop {r7, pc} -08006d92 : +080068fa : * More PHY register could be written depending on the used PHY * @param RegValue the value to write * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_WritePHYRegister(ETH_HandleTypeDef *heth, uint16_t PHYReg, uint32_t RegValue) { - 8006d92: b580 push {r7, lr} - 8006d94: b086 sub sp, #24 - 8006d96: af00 add r7, sp, #0 - 8006d98: 60f8 str r0, [r7, #12] - 8006d9a: 460b mov r3, r1 - 8006d9c: 607a str r2, [r7, #4] - 8006d9e: 817b strh r3, [r7, #10] + 80068fa: b580 push {r7, lr} + 80068fc: b086 sub sp, #24 + 80068fe: af00 add r7, sp, #0 + 8006900: 60f8 str r0, [r7, #12] + 8006902: 460b mov r3, r1 + 8006904: 607a str r2, [r7, #4] + 8006906: 817b strh r3, [r7, #10] uint32_t tmpreg = 0; - 8006da0: 2300 movs r3, #0 - 8006da2: 617b str r3, [r7, #20] + 8006908: 2300 movs r3, #0 + 800690a: 617b str r3, [r7, #20] uint32_t tickstart = 0; - 8006da4: 2300 movs r3, #0 - 8006da6: 613b str r3, [r7, #16] + 800690c: 2300 movs r3, #0 + 800690e: 613b str r3, [r7, #16] /* Check parameters */ assert_param(IS_ETH_PHY_ADDRESS(heth->Init.PhyAddress)); /* Check the ETH peripheral state */ if(heth->State == HAL_ETH_STATE_BUSY_WR) - 8006da8: 68fb ldr r3, [r7, #12] - 8006daa: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 - 8006dae: b2db uxtb r3, r3 - 8006db0: 2b42 cmp r3, #66 ; 0x42 - 8006db2: d101 bne.n 8006db8 + 8006910: 68fb ldr r3, [r7, #12] + 8006912: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 + 8006916: b2db uxtb r3, r3 + 8006918: 2b42 cmp r3, #66 ; 0x42 + 800691a: d101 bne.n 8006920 { return HAL_BUSY; - 8006db4: 2302 movs r3, #2 - 8006db6: e04e b.n 8006e56 + 800691c: 2302 movs r3, #2 + 800691e: e04e b.n 80069be } /* Set ETH HAL State to BUSY_WR */ heth->State = HAL_ETH_STATE_BUSY_WR; - 8006db8: 68fb ldr r3, [r7, #12] - 8006dba: 2242 movs r2, #66 ; 0x42 - 8006dbc: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006920: 68fb ldr r3, [r7, #12] + 8006922: 2242 movs r2, #66 ; 0x42 + 8006924: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Get the ETHERNET MACMIIAR value */ tmpreg = heth->Instance->MACMIIAR; - 8006dc0: 68fb ldr r3, [r7, #12] - 8006dc2: 681b ldr r3, [r3, #0] - 8006dc4: 691b ldr r3, [r3, #16] - 8006dc6: 617b str r3, [r7, #20] + 8006928: 68fb ldr r3, [r7, #12] + 800692a: 681b ldr r3, [r3, #0] + 800692c: 691b ldr r3, [r3, #16] + 800692e: 617b str r3, [r7, #20] /* Keep only the CSR Clock Range CR[2:0] bits value */ tmpreg &= ~ETH_MACMIIAR_CR_MASK; - 8006dc8: 697b ldr r3, [r7, #20] - 8006dca: f003 031c and.w r3, r3, #28 - 8006dce: 617b str r3, [r7, #20] + 8006930: 697b ldr r3, [r7, #20] + 8006932: f003 031c and.w r3, r3, #28 + 8006936: 617b str r3, [r7, #20] /* Prepare the MII register address value */ tmpreg |=(((uint32_t)heth->Init.PhyAddress<<11) & ETH_MACMIIAR_PA); /* Set the PHY device address */ - 8006dd0: 68fb ldr r3, [r7, #12] - 8006dd2: 8a1b ldrh r3, [r3, #16] - 8006dd4: 02db lsls r3, r3, #11 - 8006dd6: b29b uxth r3, r3 - 8006dd8: 697a ldr r2, [r7, #20] - 8006dda: 4313 orrs r3, r2 - 8006ddc: 617b str r3, [r7, #20] + 8006938: 68fb ldr r3, [r7, #12] + 800693a: 8a1b ldrh r3, [r3, #16] + 800693c: 02db lsls r3, r3, #11 + 800693e: b29b uxth r3, r3 + 8006940: 697a ldr r2, [r7, #20] + 8006942: 4313 orrs r3, r2 + 8006944: 617b str r3, [r7, #20] tmpreg |=(((uint32_t)PHYReg<<6) & ETH_MACMIIAR_MR); /* Set the PHY register address */ - 8006dde: 897b ldrh r3, [r7, #10] - 8006de0: 019b lsls r3, r3, #6 - 8006de2: f403 63f8 and.w r3, r3, #1984 ; 0x7c0 - 8006de6: 697a ldr r2, [r7, #20] - 8006de8: 4313 orrs r3, r2 - 8006dea: 617b str r3, [r7, #20] + 8006946: 897b ldrh r3, [r7, #10] + 8006948: 019b lsls r3, r3, #6 + 800694a: f403 63f8 and.w r3, r3, #1984 ; 0x7c0 + 800694e: 697a ldr r2, [r7, #20] + 8006950: 4313 orrs r3, r2 + 8006952: 617b str r3, [r7, #20] tmpreg |= ETH_MACMIIAR_MW; /* Set the write mode */ - 8006dec: 697b ldr r3, [r7, #20] - 8006dee: f043 0302 orr.w r3, r3, #2 - 8006df2: 617b str r3, [r7, #20] + 8006954: 697b ldr r3, [r7, #20] + 8006956: f043 0302 orr.w r3, r3, #2 + 800695a: 617b str r3, [r7, #20] tmpreg |= ETH_MACMIIAR_MB; /* Set the MII Busy bit */ - 8006df4: 697b ldr r3, [r7, #20] - 8006df6: f043 0301 orr.w r3, r3, #1 - 8006dfa: 617b str r3, [r7, #20] + 800695c: 697b ldr r3, [r7, #20] + 800695e: f043 0301 orr.w r3, r3, #1 + 8006962: 617b str r3, [r7, #20] /* Give the value to the MII data register */ heth->Instance->MACMIIDR = (uint16_t)RegValue; - 8006dfc: 687b ldr r3, [r7, #4] - 8006dfe: b29a uxth r2, r3 - 8006e00: 68fb ldr r3, [r7, #12] - 8006e02: 681b ldr r3, [r3, #0] - 8006e04: 615a str r2, [r3, #20] + 8006964: 687b ldr r3, [r7, #4] + 8006966: b29a uxth r2, r3 + 8006968: 68fb ldr r3, [r7, #12] + 800696a: 681b ldr r3, [r3, #0] + 800696c: 615a str r2, [r3, #20] /* Write the result value into the MII Address register */ heth->Instance->MACMIIAR = tmpreg; - 8006e06: 68fb ldr r3, [r7, #12] - 8006e08: 681b ldr r3, [r3, #0] - 8006e0a: 697a ldr r2, [r7, #20] - 8006e0c: 611a str r2, [r3, #16] + 800696e: 68fb ldr r3, [r7, #12] + 8006970: 681b ldr r3, [r3, #0] + 8006972: 697a ldr r2, [r7, #20] + 8006974: 611a str r2, [r3, #16] /* Get tick */ tickstart = HAL_GetTick(); - 8006e0e: f7fe f80f bl 8004e30 - 8006e12: 6138 str r0, [r7, #16] + 8006976: f7fe f80f bl 8004998 + 800697a: 6138 str r0, [r7, #16] /* Check for the Busy flag */ while((tmpreg & ETH_MACMIIAR_MB) == ETH_MACMIIAR_MB) - 8006e14: e015 b.n 8006e42 + 800697c: e015 b.n 80069aa { /* Check for the Timeout */ if((HAL_GetTick() - tickstart ) > PHY_WRITE_TO) - 8006e16: f7fe f80b bl 8004e30 - 8006e1a: 4602 mov r2, r0 - 8006e1c: 693b ldr r3, [r7, #16] - 8006e1e: 1ad3 subs r3, r2, r3 - 8006e20: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 8006e24: d309 bcc.n 8006e3a + 800697e: f7fe f80b bl 8004998 + 8006982: 4602 mov r2, r0 + 8006984: 693b ldr r3, [r7, #16] + 8006986: 1ad3 subs r3, r2, r3 + 8006988: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 800698c: d309 bcc.n 80069a2 { heth->State= HAL_ETH_STATE_READY; - 8006e26: 68fb ldr r3, [r7, #12] - 8006e28: 2201 movs r2, #1 - 8006e2a: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 800698e: 68fb ldr r3, [r7, #12] + 8006990: 2201 movs r2, #1 + 8006992: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 8006e2e: 68fb ldr r3, [r7, #12] - 8006e30: 2200 movs r2, #0 - 8006e32: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006996: 68fb ldr r3, [r7, #12] + 8006998: 2200 movs r2, #0 + 800699a: f883 2045 strb.w r2, [r3, #69] ; 0x45 return HAL_TIMEOUT; - 8006e36: 2303 movs r3, #3 - 8006e38: e00d b.n 8006e56 + 800699e: 2303 movs r3, #3 + 80069a0: e00d b.n 80069be } tmpreg = heth->Instance->MACMIIAR; - 8006e3a: 68fb ldr r3, [r7, #12] - 8006e3c: 681b ldr r3, [r3, #0] - 8006e3e: 691b ldr r3, [r3, #16] - 8006e40: 617b str r3, [r7, #20] + 80069a2: 68fb ldr r3, [r7, #12] + 80069a4: 681b ldr r3, [r3, #0] + 80069a6: 691b ldr r3, [r3, #16] + 80069a8: 617b str r3, [r7, #20] while((tmpreg & ETH_MACMIIAR_MB) == ETH_MACMIIAR_MB) - 8006e42: 697b ldr r3, [r7, #20] - 8006e44: f003 0301 and.w r3, r3, #1 - 8006e48: 2b00 cmp r3, #0 - 8006e4a: d1e4 bne.n 8006e16 + 80069aa: 697b ldr r3, [r7, #20] + 80069ac: f003 0301 and.w r3, r3, #1 + 80069b0: 2b00 cmp r3, #0 + 80069b2: d1e4 bne.n 800697e } /* Set ETH HAL State to READY */ heth->State = HAL_ETH_STATE_READY; - 8006e4c: 68fb ldr r3, [r7, #12] - 8006e4e: 2201 movs r2, #1 - 8006e50: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 80069b4: 68fb ldr r3, [r7, #12] + 80069b6: 2201 movs r2, #1 + 80069b8: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Return function status */ return HAL_OK; - 8006e54: 2300 movs r3, #0 + 80069bc: 2300 movs r3, #0 } - 8006e56: 4618 mov r0, r3 - 8006e58: 3718 adds r7, #24 - 8006e5a: 46bd mov sp, r7 - 8006e5c: bd80 pop {r7, pc} + 80069be: 4618 mov r0, r3 + 80069c0: 3718 adds r7, #24 + 80069c2: 46bd mov sp, r7 + 80069c4: bd80 pop {r7, pc} -08006e5e : +080069c6 : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_Start(ETH_HandleTypeDef *heth) { - 8006e5e: b580 push {r7, lr} - 8006e60: b082 sub sp, #8 - 8006e62: af00 add r7, sp, #0 - 8006e64: 6078 str r0, [r7, #4] + 80069c6: b580 push {r7, lr} + 80069c8: b082 sub sp, #8 + 80069ca: af00 add r7, sp, #0 + 80069cc: 6078 str r0, [r7, #4] /* Process Locked */ __HAL_LOCK(heth); - 8006e66: 687b ldr r3, [r7, #4] - 8006e68: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 - 8006e6c: 2b01 cmp r3, #1 - 8006e6e: d101 bne.n 8006e74 - 8006e70: 2302 movs r3, #2 - 8006e72: e01f b.n 8006eb4 - 8006e74: 687b ldr r3, [r7, #4] - 8006e76: 2201 movs r2, #1 - 8006e78: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 80069ce: 687b ldr r3, [r7, #4] + 80069d0: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 + 80069d4: 2b01 cmp r3, #1 + 80069d6: d101 bne.n 80069dc + 80069d8: 2302 movs r3, #2 + 80069da: e01f b.n 8006a1c + 80069dc: 687b ldr r3, [r7, #4] + 80069de: 2201 movs r2, #1 + 80069e0: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Set the ETH peripheral state to BUSY */ heth->State = HAL_ETH_STATE_BUSY; - 8006e7c: 687b ldr r3, [r7, #4] - 8006e7e: 2202 movs r2, #2 - 8006e80: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 80069e4: 687b ldr r3, [r7, #4] + 80069e6: 2202 movs r2, #2 + 80069e8: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Enable transmit state machine of the MAC for transmission on the MII */ ETH_MACTransmissionEnable(heth); - 8006e84: 6878 ldr r0, [r7, #4] - 8006e86: f000 fb45 bl 8007514 + 80069ec: 6878 ldr r0, [r7, #4] + 80069ee: f000 fb45 bl 800707c /* Enable receive state machine of the MAC for reception from the MII */ ETH_MACReceptionEnable(heth); - 8006e8a: 6878 ldr r0, [r7, #4] - 8006e8c: f000 fb7c bl 8007588 + 80069f2: 6878 ldr r0, [r7, #4] + 80069f4: f000 fb7c bl 80070f0 /* Flush Transmit FIFO */ ETH_FlushTransmitFIFO(heth); - 8006e90: 6878 ldr r0, [r7, #4] - 8006e92: f000 fc13 bl 80076bc + 80069f8: 6878 ldr r0, [r7, #4] + 80069fa: f000 fc13 bl 8007224 /* Start DMA transmission */ ETH_DMATransmissionEnable(heth); - 8006e96: 6878 ldr r0, [r7, #4] - 8006e98: f000 fbb0 bl 80075fc + 80069fe: 6878 ldr r0, [r7, #4] + 8006a00: f000 fbb0 bl 8007164 /* Start DMA reception */ ETH_DMAReceptionEnable(heth); - 8006e9c: 6878 ldr r0, [r7, #4] - 8006e9e: f000 fbdd bl 800765c + 8006a04: 6878 ldr r0, [r7, #4] + 8006a06: f000 fbdd bl 80071c4 /* Set the ETH state to READY*/ heth->State= HAL_ETH_STATE_READY; - 8006ea2: 687b ldr r3, [r7, #4] - 8006ea4: 2201 movs r2, #1 - 8006ea6: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006a0a: 687b ldr r3, [r7, #4] + 8006a0c: 2201 movs r2, #1 + 8006a0e: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 8006eaa: 687b ldr r3, [r7, #4] - 8006eac: 2200 movs r2, #0 - 8006eae: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006a12: 687b ldr r3, [r7, #4] + 8006a14: 2200 movs r2, #0 + 8006a16: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Return function status */ return HAL_OK; - 8006eb2: 2300 movs r3, #0 + 8006a1a: 2300 movs r3, #0 } - 8006eb4: 4618 mov r0, r3 - 8006eb6: 3708 adds r7, #8 - 8006eb8: 46bd mov sp, r7 - 8006eba: bd80 pop {r7, pc} + 8006a1c: 4618 mov r0, r3 + 8006a1e: 3708 adds r7, #8 + 8006a20: 46bd mov sp, r7 + 8006a22: bd80 pop {r7, pc} -08006ebc : +08006a24 : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_Stop(ETH_HandleTypeDef *heth) { - 8006ebc: b580 push {r7, lr} - 8006ebe: b082 sub sp, #8 - 8006ec0: af00 add r7, sp, #0 - 8006ec2: 6078 str r0, [r7, #4] + 8006a24: b580 push {r7, lr} + 8006a26: b082 sub sp, #8 + 8006a28: af00 add r7, sp, #0 + 8006a2a: 6078 str r0, [r7, #4] /* Process Locked */ __HAL_LOCK(heth); - 8006ec4: 687b ldr r3, [r7, #4] - 8006ec6: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 - 8006eca: 2b01 cmp r3, #1 - 8006ecc: d101 bne.n 8006ed2 - 8006ece: 2302 movs r3, #2 - 8006ed0: e01f b.n 8006f12 - 8006ed2: 687b ldr r3, [r7, #4] - 8006ed4: 2201 movs r2, #1 - 8006ed6: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006a2c: 687b ldr r3, [r7, #4] + 8006a2e: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 + 8006a32: 2b01 cmp r3, #1 + 8006a34: d101 bne.n 8006a3a + 8006a36: 2302 movs r3, #2 + 8006a38: e01f b.n 8006a7a + 8006a3a: 687b ldr r3, [r7, #4] + 8006a3c: 2201 movs r2, #1 + 8006a3e: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Set the ETH peripheral state to BUSY */ heth->State = HAL_ETH_STATE_BUSY; - 8006eda: 687b ldr r3, [r7, #4] - 8006edc: 2202 movs r2, #2 - 8006ede: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006a42: 687b ldr r3, [r7, #4] + 8006a44: 2202 movs r2, #2 + 8006a46: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Stop DMA transmission */ ETH_DMATransmissionDisable(heth); - 8006ee2: 6878 ldr r0, [r7, #4] - 8006ee4: f000 fba2 bl 800762c + 8006a4a: 6878 ldr r0, [r7, #4] + 8006a4c: f000 fba2 bl 8007194 /* Stop DMA reception */ ETH_DMAReceptionDisable(heth); - 8006ee8: 6878 ldr r0, [r7, #4] - 8006eea: f000 fbcf bl 800768c + 8006a50: 6878 ldr r0, [r7, #4] + 8006a52: f000 fbcf bl 80071f4 /* Disable receive state machine of the MAC for reception from the MII */ ETH_MACReceptionDisable(heth); - 8006eee: 6878 ldr r0, [r7, #4] - 8006ef0: f000 fb67 bl 80075c2 + 8006a56: 6878 ldr r0, [r7, #4] + 8006a58: f000 fb67 bl 800712a /* Flush Transmit FIFO */ ETH_FlushTransmitFIFO(heth); - 8006ef4: 6878 ldr r0, [r7, #4] - 8006ef6: f000 fbe1 bl 80076bc + 8006a5c: 6878 ldr r0, [r7, #4] + 8006a5e: f000 fbe1 bl 8007224 /* Disable transmit state machine of the MAC for transmission on the MII */ ETH_MACTransmissionDisable(heth); - 8006efa: 6878 ldr r0, [r7, #4] - 8006efc: f000 fb27 bl 800754e + 8006a62: 6878 ldr r0, [r7, #4] + 8006a64: f000 fb27 bl 80070b6 /* Set the ETH state*/ heth->State = HAL_ETH_STATE_READY; - 8006f00: 687b ldr r3, [r7, #4] - 8006f02: 2201 movs r2, #1 - 8006f04: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006a68: 687b ldr r3, [r7, #4] + 8006a6a: 2201 movs r2, #1 + 8006a6c: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 8006f08: 687b ldr r3, [r7, #4] - 8006f0a: 2200 movs r2, #0 - 8006f0c: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006a70: 687b ldr r3, [r7, #4] + 8006a72: 2200 movs r2, #0 + 8006a74: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Return function status */ return HAL_OK; - 8006f10: 2300 movs r3, #0 + 8006a78: 2300 movs r3, #0 } - 8006f12: 4618 mov r0, r3 - 8006f14: 3708 adds r7, #8 - 8006f16: 46bd mov sp, r7 - 8006f18: bd80 pop {r7, pc} + 8006a7a: 4618 mov r0, r3 + 8006a7c: 3708 adds r7, #8 + 8006a7e: 46bd mov sp, r7 + 8006a80: bd80 pop {r7, pc} ... -08006f1c : +08006a84 : * the configuration information for ETHERNET module * @param macconf MAC Configuration structure * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_ConfigMAC(ETH_HandleTypeDef *heth, ETH_MACInitTypeDef *macconf) { - 8006f1c: b580 push {r7, lr} - 8006f1e: b084 sub sp, #16 - 8006f20: af00 add r7, sp, #0 - 8006f22: 6078 str r0, [r7, #4] - 8006f24: 6039 str r1, [r7, #0] + 8006a84: b580 push {r7, lr} + 8006a86: b084 sub sp, #16 + 8006a88: af00 add r7, sp, #0 + 8006a8a: 6078 str r0, [r7, #4] + 8006a8c: 6039 str r1, [r7, #0] uint32_t tmpreg = 0; - 8006f26: 2300 movs r3, #0 - 8006f28: 60fb str r3, [r7, #12] + 8006a8e: 2300 movs r3, #0 + 8006a90: 60fb str r3, [r7, #12] /* Process Locked */ __HAL_LOCK(heth); - 8006f2a: 687b ldr r3, [r7, #4] - 8006f2c: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 - 8006f30: 2b01 cmp r3, #1 - 8006f32: d101 bne.n 8006f38 - 8006f34: 2302 movs r3, #2 - 8006f36: e0e4 b.n 8007102 - 8006f38: 687b ldr r3, [r7, #4] - 8006f3a: 2201 movs r2, #1 - 8006f3c: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006a92: 687b ldr r3, [r7, #4] + 8006a94: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 + 8006a98: 2b01 cmp r3, #1 + 8006a9a: d101 bne.n 8006aa0 + 8006a9c: 2302 movs r3, #2 + 8006a9e: e0e4 b.n 8006c6a + 8006aa0: 687b ldr r3, [r7, #4] + 8006aa2: 2201 movs r2, #1 + 8006aa4: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Set the ETH peripheral state to BUSY */ heth->State= HAL_ETH_STATE_BUSY; - 8006f40: 687b ldr r3, [r7, #4] - 8006f42: 2202 movs r2, #2 - 8006f44: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006aa8: 687b ldr r3, [r7, #4] + 8006aaa: 2202 movs r2, #2 + 8006aac: f883 2044 strb.w r2, [r3, #68] ; 0x44 assert_param(IS_ETH_SPEED(heth->Init.Speed)); assert_param(IS_ETH_DUPLEX_MODE(heth->Init.DuplexMode)); if (macconf != NULL) - 8006f48: 683b ldr r3, [r7, #0] - 8006f4a: 2b00 cmp r3, #0 - 8006f4c: f000 80b1 beq.w 80070b2 + 8006ab0: 683b ldr r3, [r7, #0] + 8006ab2: 2b00 cmp r3, #0 + 8006ab4: f000 80b1 beq.w 8006c1a assert_param(IS_ETH_VLAN_TAG_COMPARISON(macconf->VLANTagComparison)); assert_param(IS_ETH_VLAN_TAG_IDENTIFIER(macconf->VLANTagIdentifier)); /*------------------------ ETHERNET MACCR Configuration --------------------*/ /* Get the ETHERNET MACCR value */ tmpreg = (heth->Instance)->MACCR; - 8006f50: 687b ldr r3, [r7, #4] - 8006f52: 681b ldr r3, [r3, #0] - 8006f54: 681b ldr r3, [r3, #0] - 8006f56: 60fb str r3, [r7, #12] + 8006ab8: 687b ldr r3, [r7, #4] + 8006aba: 681b ldr r3, [r3, #0] + 8006abc: 681b ldr r3, [r3, #0] + 8006abe: 60fb str r3, [r7, #12] /* Clear WD, PCE, PS, TE and RE bits */ tmpreg &= ETH_MACCR_CLEAR_MASK; - 8006f58: 68fa ldr r2, [r7, #12] - 8006f5a: 4b6c ldr r3, [pc, #432] ; (800710c ) - 8006f5c: 4013 ands r3, r2 - 8006f5e: 60fb str r3, [r7, #12] + 8006ac0: 68fa ldr r2, [r7, #12] + 8006ac2: 4b6c ldr r3, [pc, #432] ; (8006c74 ) + 8006ac4: 4013 ands r3, r2 + 8006ac6: 60fb str r3, [r7, #12] tmpreg |= (uint32_t)(macconf->Watchdog | - 8006f60: 683b ldr r3, [r7, #0] - 8006f62: 681a ldr r2, [r3, #0] + 8006ac8: 683b ldr r3, [r7, #0] + 8006aca: 681a ldr r2, [r3, #0] macconf->Jabber | - 8006f64: 683b ldr r3, [r7, #0] - 8006f66: 685b ldr r3, [r3, #4] + 8006acc: 683b ldr r3, [r7, #0] + 8006ace: 685b ldr r3, [r3, #4] tmpreg |= (uint32_t)(macconf->Watchdog | - 8006f68: 431a orrs r2, r3 + 8006ad0: 431a orrs r2, r3 macconf->InterFrameGap | - 8006f6a: 683b ldr r3, [r7, #0] - 8006f6c: 689b ldr r3, [r3, #8] + 8006ad2: 683b ldr r3, [r7, #0] + 8006ad4: 689b ldr r3, [r3, #8] macconf->Jabber | - 8006f6e: 431a orrs r2, r3 + 8006ad6: 431a orrs r2, r3 macconf->CarrierSense | - 8006f70: 683b ldr r3, [r7, #0] - 8006f72: 68db ldr r3, [r3, #12] + 8006ad8: 683b ldr r3, [r7, #0] + 8006ada: 68db ldr r3, [r3, #12] macconf->InterFrameGap | - 8006f74: 431a orrs r2, r3 + 8006adc: 431a orrs r2, r3 (heth->Init).Speed | - 8006f76: 687b ldr r3, [r7, #4] - 8006f78: 689b ldr r3, [r3, #8] + 8006ade: 687b ldr r3, [r7, #4] + 8006ae0: 689b ldr r3, [r3, #8] macconf->CarrierSense | - 8006f7a: 431a orrs r2, r3 + 8006ae2: 431a orrs r2, r3 macconf->ReceiveOwn | - 8006f7c: 683b ldr r3, [r7, #0] - 8006f7e: 691b ldr r3, [r3, #16] + 8006ae4: 683b ldr r3, [r7, #0] + 8006ae6: 691b ldr r3, [r3, #16] (heth->Init).Speed | - 8006f80: 431a orrs r2, r3 + 8006ae8: 431a orrs r2, r3 macconf->LoopbackMode | - 8006f82: 683b ldr r3, [r7, #0] - 8006f84: 695b ldr r3, [r3, #20] + 8006aea: 683b ldr r3, [r7, #0] + 8006aec: 695b ldr r3, [r3, #20] macconf->ReceiveOwn | - 8006f86: 431a orrs r2, r3 + 8006aee: 431a orrs r2, r3 (heth->Init).DuplexMode | - 8006f88: 687b ldr r3, [r7, #4] - 8006f8a: 68db ldr r3, [r3, #12] + 8006af0: 687b ldr r3, [r7, #4] + 8006af2: 68db ldr r3, [r3, #12] macconf->LoopbackMode | - 8006f8c: 431a orrs r2, r3 + 8006af4: 431a orrs r2, r3 macconf->ChecksumOffload | - 8006f8e: 683b ldr r3, [r7, #0] - 8006f90: 699b ldr r3, [r3, #24] + 8006af6: 683b ldr r3, [r7, #0] + 8006af8: 699b ldr r3, [r3, #24] (heth->Init).DuplexMode | - 8006f92: 431a orrs r2, r3 + 8006afa: 431a orrs r2, r3 macconf->RetryTransmission | - 8006f94: 683b ldr r3, [r7, #0] - 8006f96: 69db ldr r3, [r3, #28] + 8006afc: 683b ldr r3, [r7, #0] + 8006afe: 69db ldr r3, [r3, #28] macconf->ChecksumOffload | - 8006f98: 431a orrs r2, r3 + 8006b00: 431a orrs r2, r3 macconf->AutomaticPadCRCStrip | - 8006f9a: 683b ldr r3, [r7, #0] - 8006f9c: 6a1b ldr r3, [r3, #32] + 8006b02: 683b ldr r3, [r7, #0] + 8006b04: 6a1b ldr r3, [r3, #32] macconf->RetryTransmission | - 8006f9e: 431a orrs r2, r3 + 8006b06: 431a orrs r2, r3 macconf->BackOffLimit | - 8006fa0: 683b ldr r3, [r7, #0] - 8006fa2: 6a5b ldr r3, [r3, #36] ; 0x24 + 8006b08: 683b ldr r3, [r7, #0] + 8006b0a: 6a5b ldr r3, [r3, #36] ; 0x24 macconf->AutomaticPadCRCStrip | - 8006fa4: 431a orrs r2, r3 + 8006b0c: 431a orrs r2, r3 macconf->DeferralCheck); - 8006fa6: 683b ldr r3, [r7, #0] - 8006fa8: 6a9b ldr r3, [r3, #40] ; 0x28 + 8006b0e: 683b ldr r3, [r7, #0] + 8006b10: 6a9b ldr r3, [r3, #40] ; 0x28 macconf->BackOffLimit | - 8006faa: 4313 orrs r3, r2 + 8006b12: 4313 orrs r3, r2 tmpreg |= (uint32_t)(macconf->Watchdog | - 8006fac: 68fa ldr r2, [r7, #12] - 8006fae: 4313 orrs r3, r2 - 8006fb0: 60fb str r3, [r7, #12] + 8006b14: 68fa ldr r2, [r7, #12] + 8006b16: 4313 orrs r3, r2 + 8006b18: 60fb str r3, [r7, #12] /* Write to ETHERNET MACCR */ (heth->Instance)->MACCR = (uint32_t)tmpreg; - 8006fb2: 687b ldr r3, [r7, #4] - 8006fb4: 681b ldr r3, [r3, #0] - 8006fb6: 68fa ldr r2, [r7, #12] - 8006fb8: 601a str r2, [r3, #0] + 8006b1a: 687b ldr r3, [r7, #4] + 8006b1c: 681b ldr r3, [r3, #0] + 8006b1e: 68fa ldr r2, [r7, #12] + 8006b20: 601a str r2, [r3, #0] /* Wait until the write operation will be taken into account : at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->MACCR; - 8006fba: 687b ldr r3, [r7, #4] - 8006fbc: 681b ldr r3, [r3, #0] - 8006fbe: 681b ldr r3, [r3, #0] - 8006fc0: 60fb str r3, [r7, #12] + 8006b22: 687b ldr r3, [r7, #4] + 8006b24: 681b ldr r3, [r3, #0] + 8006b26: 681b ldr r3, [r3, #0] + 8006b28: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 8006fc2: 2001 movs r0, #1 - 8006fc4: f7fd ff40 bl 8004e48 + 8006b2a: 2001 movs r0, #1 + 8006b2c: f7fd ff40 bl 80049b0 (heth->Instance)->MACCR = tmpreg; - 8006fc8: 687b ldr r3, [r7, #4] - 8006fca: 681b ldr r3, [r3, #0] - 8006fcc: 68fa ldr r2, [r7, #12] - 8006fce: 601a str r2, [r3, #0] + 8006b30: 687b ldr r3, [r7, #4] + 8006b32: 681b ldr r3, [r3, #0] + 8006b34: 68fa ldr r2, [r7, #12] + 8006b36: 601a str r2, [r3, #0] /*----------------------- ETHERNET MACFFR Configuration --------------------*/ /* Write to ETHERNET MACFFR */ (heth->Instance)->MACFFR = (uint32_t)(macconf->ReceiveAll | - 8006fd0: 683b ldr r3, [r7, #0] - 8006fd2: 6ada ldr r2, [r3, #44] ; 0x2c + 8006b38: 683b ldr r3, [r7, #0] + 8006b3a: 6ada ldr r2, [r3, #44] ; 0x2c macconf->SourceAddrFilter | - 8006fd4: 683b ldr r3, [r7, #0] - 8006fd6: 6b1b ldr r3, [r3, #48] ; 0x30 + 8006b3c: 683b ldr r3, [r7, #0] + 8006b3e: 6b1b ldr r3, [r3, #48] ; 0x30 (heth->Instance)->MACFFR = (uint32_t)(macconf->ReceiveAll | - 8006fd8: 431a orrs r2, r3 + 8006b40: 431a orrs r2, r3 macconf->PassControlFrames | - 8006fda: 683b ldr r3, [r7, #0] - 8006fdc: 6b5b ldr r3, [r3, #52] ; 0x34 + 8006b42: 683b ldr r3, [r7, #0] + 8006b44: 6b5b ldr r3, [r3, #52] ; 0x34 macconf->SourceAddrFilter | - 8006fde: 431a orrs r2, r3 + 8006b46: 431a orrs r2, r3 macconf->BroadcastFramesReception | - 8006fe0: 683b ldr r3, [r7, #0] - 8006fe2: 6b9b ldr r3, [r3, #56] ; 0x38 + 8006b48: 683b ldr r3, [r7, #0] + 8006b4a: 6b9b ldr r3, [r3, #56] ; 0x38 macconf->PassControlFrames | - 8006fe4: 431a orrs r2, r3 + 8006b4c: 431a orrs r2, r3 macconf->DestinationAddrFilter | - 8006fe6: 683b ldr r3, [r7, #0] - 8006fe8: 6bdb ldr r3, [r3, #60] ; 0x3c + 8006b4e: 683b ldr r3, [r7, #0] + 8006b50: 6bdb ldr r3, [r3, #60] ; 0x3c macconf->BroadcastFramesReception | - 8006fea: 431a orrs r2, r3 + 8006b52: 431a orrs r2, r3 macconf->PromiscuousMode | - 8006fec: 683b ldr r3, [r7, #0] - 8006fee: 6c1b ldr r3, [r3, #64] ; 0x40 + 8006b54: 683b ldr r3, [r7, #0] + 8006b56: 6c1b ldr r3, [r3, #64] ; 0x40 macconf->DestinationAddrFilter | - 8006ff0: 431a orrs r2, r3 + 8006b58: 431a orrs r2, r3 macconf->MulticastFramesFilter | - 8006ff2: 683b ldr r3, [r7, #0] - 8006ff4: 6c5b ldr r3, [r3, #68] ; 0x44 + 8006b5a: 683b ldr r3, [r7, #0] + 8006b5c: 6c5b ldr r3, [r3, #68] ; 0x44 macconf->PromiscuousMode | - 8006ff6: ea42 0103 orr.w r1, r2, r3 + 8006b5e: ea42 0103 orr.w r1, r2, r3 macconf->UnicastFramesFilter); - 8006ffa: 683b ldr r3, [r7, #0] - 8006ffc: 6c9a ldr r2, [r3, #72] ; 0x48 + 8006b62: 683b ldr r3, [r7, #0] + 8006b64: 6c9a ldr r2, [r3, #72] ; 0x48 (heth->Instance)->MACFFR = (uint32_t)(macconf->ReceiveAll | - 8006ffe: 687b ldr r3, [r7, #4] - 8007000: 681b ldr r3, [r3, #0] + 8006b66: 687b ldr r3, [r7, #4] + 8006b68: 681b ldr r3, [r3, #0] macconf->MulticastFramesFilter | - 8007002: 430a orrs r2, r1 + 8006b6a: 430a orrs r2, r1 (heth->Instance)->MACFFR = (uint32_t)(macconf->ReceiveAll | - 8007004: 605a str r2, [r3, #4] + 8006b6c: 605a str r2, [r3, #4] /* Wait until the write operation will be taken into account : at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->MACFFR; - 8007006: 687b ldr r3, [r7, #4] - 8007008: 681b ldr r3, [r3, #0] - 800700a: 685b ldr r3, [r3, #4] - 800700c: 60fb str r3, [r7, #12] + 8006b6e: 687b ldr r3, [r7, #4] + 8006b70: 681b ldr r3, [r3, #0] + 8006b72: 685b ldr r3, [r3, #4] + 8006b74: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 800700e: 2001 movs r0, #1 - 8007010: f7fd ff1a bl 8004e48 + 8006b76: 2001 movs r0, #1 + 8006b78: f7fd ff1a bl 80049b0 (heth->Instance)->MACFFR = tmpreg; - 8007014: 687b ldr r3, [r7, #4] - 8007016: 681b ldr r3, [r3, #0] - 8007018: 68fa ldr r2, [r7, #12] - 800701a: 605a str r2, [r3, #4] + 8006b7c: 687b ldr r3, [r7, #4] + 8006b7e: 681b ldr r3, [r3, #0] + 8006b80: 68fa ldr r2, [r7, #12] + 8006b82: 605a str r2, [r3, #4] /*--------------- ETHERNET MACHTHR and MACHTLR Configuration ---------------*/ /* Write to ETHERNET MACHTHR */ (heth->Instance)->MACHTHR = (uint32_t)macconf->HashTableHigh; - 800701c: 687b ldr r3, [r7, #4] - 800701e: 681b ldr r3, [r3, #0] - 8007020: 683a ldr r2, [r7, #0] - 8007022: 6cd2 ldr r2, [r2, #76] ; 0x4c - 8007024: 609a str r2, [r3, #8] + 8006b84: 687b ldr r3, [r7, #4] + 8006b86: 681b ldr r3, [r3, #0] + 8006b88: 683a ldr r2, [r7, #0] + 8006b8a: 6cd2 ldr r2, [r2, #76] ; 0x4c + 8006b8c: 609a str r2, [r3, #8] /* Write to ETHERNET MACHTLR */ (heth->Instance)->MACHTLR = (uint32_t)macconf->HashTableLow; - 8007026: 687b ldr r3, [r7, #4] - 8007028: 681b ldr r3, [r3, #0] - 800702a: 683a ldr r2, [r7, #0] - 800702c: 6d12 ldr r2, [r2, #80] ; 0x50 - 800702e: 60da str r2, [r3, #12] + 8006b8e: 687b ldr r3, [r7, #4] + 8006b90: 681b ldr r3, [r3, #0] + 8006b92: 683a ldr r2, [r7, #0] + 8006b94: 6d12 ldr r2, [r2, #80] ; 0x50 + 8006b96: 60da str r2, [r3, #12] /*----------------------- ETHERNET MACFCR Configuration --------------------*/ /* Get the ETHERNET MACFCR value */ tmpreg = (heth->Instance)->MACFCR; - 8007030: 687b ldr r3, [r7, #4] - 8007032: 681b ldr r3, [r3, #0] - 8007034: 699b ldr r3, [r3, #24] - 8007036: 60fb str r3, [r7, #12] + 8006b98: 687b ldr r3, [r7, #4] + 8006b9a: 681b ldr r3, [r3, #0] + 8006b9c: 699b ldr r3, [r3, #24] + 8006b9e: 60fb str r3, [r7, #12] /* Clear xx bits */ tmpreg &= ETH_MACFCR_CLEAR_MASK; - 8007038: 68fa ldr r2, [r7, #12] - 800703a: f64f 7341 movw r3, #65345 ; 0xff41 - 800703e: 4013 ands r3, r2 - 8007040: 60fb str r3, [r7, #12] + 8006ba0: 68fa ldr r2, [r7, #12] + 8006ba2: f64f 7341 movw r3, #65345 ; 0xff41 + 8006ba6: 4013 ands r3, r2 + 8006ba8: 60fb str r3, [r7, #12] tmpreg |= (uint32_t)((macconf->PauseTime << 16) | - 8007042: 683b ldr r3, [r7, #0] - 8007044: 6d5b ldr r3, [r3, #84] ; 0x54 - 8007046: 041a lsls r2, r3, #16 + 8006baa: 683b ldr r3, [r7, #0] + 8006bac: 6d5b ldr r3, [r3, #84] ; 0x54 + 8006bae: 041a lsls r2, r3, #16 macconf->ZeroQuantaPause | - 8007048: 683b ldr r3, [r7, #0] - 800704a: 6d9b ldr r3, [r3, #88] ; 0x58 + 8006bb0: 683b ldr r3, [r7, #0] + 8006bb2: 6d9b ldr r3, [r3, #88] ; 0x58 tmpreg |= (uint32_t)((macconf->PauseTime << 16) | - 800704c: 431a orrs r2, r3 + 8006bb4: 431a orrs r2, r3 macconf->PauseLowThreshold | - 800704e: 683b ldr r3, [r7, #0] - 8007050: 6ddb ldr r3, [r3, #92] ; 0x5c + 8006bb6: 683b ldr r3, [r7, #0] + 8006bb8: 6ddb ldr r3, [r3, #92] ; 0x5c macconf->ZeroQuantaPause | - 8007052: 431a orrs r2, r3 + 8006bba: 431a orrs r2, r3 macconf->UnicastPauseFrameDetect | - 8007054: 683b ldr r3, [r7, #0] - 8007056: 6e1b ldr r3, [r3, #96] ; 0x60 + 8006bbc: 683b ldr r3, [r7, #0] + 8006bbe: 6e1b ldr r3, [r3, #96] ; 0x60 macconf->PauseLowThreshold | - 8007058: 431a orrs r2, r3 + 8006bc0: 431a orrs r2, r3 macconf->ReceiveFlowControl | - 800705a: 683b ldr r3, [r7, #0] - 800705c: 6e5b ldr r3, [r3, #100] ; 0x64 + 8006bc2: 683b ldr r3, [r7, #0] + 8006bc4: 6e5b ldr r3, [r3, #100] ; 0x64 macconf->UnicastPauseFrameDetect | - 800705e: 431a orrs r2, r3 + 8006bc6: 431a orrs r2, r3 macconf->TransmitFlowControl); - 8007060: 683b ldr r3, [r7, #0] - 8007062: 6e9b ldr r3, [r3, #104] ; 0x68 + 8006bc8: 683b ldr r3, [r7, #0] + 8006bca: 6e9b ldr r3, [r3, #104] ; 0x68 macconf->ReceiveFlowControl | - 8007064: 4313 orrs r3, r2 + 8006bcc: 4313 orrs r3, r2 tmpreg |= (uint32_t)((macconf->PauseTime << 16) | - 8007066: 68fa ldr r2, [r7, #12] - 8007068: 4313 orrs r3, r2 - 800706a: 60fb str r3, [r7, #12] + 8006bce: 68fa ldr r2, [r7, #12] + 8006bd0: 4313 orrs r3, r2 + 8006bd2: 60fb str r3, [r7, #12] /* Write to ETHERNET MACFCR */ (heth->Instance)->MACFCR = (uint32_t)tmpreg; - 800706c: 687b ldr r3, [r7, #4] - 800706e: 681b ldr r3, [r3, #0] - 8007070: 68fa ldr r2, [r7, #12] - 8007072: 619a str r2, [r3, #24] + 8006bd4: 687b ldr r3, [r7, #4] + 8006bd6: 681b ldr r3, [r3, #0] + 8006bd8: 68fa ldr r2, [r7, #12] + 8006bda: 619a str r2, [r3, #24] /* Wait until the write operation will be taken into account : at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->MACFCR; - 8007074: 687b ldr r3, [r7, #4] - 8007076: 681b ldr r3, [r3, #0] - 8007078: 699b ldr r3, [r3, #24] - 800707a: 60fb str r3, [r7, #12] + 8006bdc: 687b ldr r3, [r7, #4] + 8006bde: 681b ldr r3, [r3, #0] + 8006be0: 699b ldr r3, [r3, #24] + 8006be2: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 800707c: 2001 movs r0, #1 - 800707e: f7fd fee3 bl 8004e48 + 8006be4: 2001 movs r0, #1 + 8006be6: f7fd fee3 bl 80049b0 (heth->Instance)->MACFCR = tmpreg; - 8007082: 687b ldr r3, [r7, #4] - 8007084: 681b ldr r3, [r3, #0] - 8007086: 68fa ldr r2, [r7, #12] - 8007088: 619a str r2, [r3, #24] + 8006bea: 687b ldr r3, [r7, #4] + 8006bec: 681b ldr r3, [r3, #0] + 8006bee: 68fa ldr r2, [r7, #12] + 8006bf0: 619a str r2, [r3, #24] /*----------------------- ETHERNET MACVLANTR Configuration -----------------*/ (heth->Instance)->MACVLANTR = (uint32_t)(macconf->VLANTagComparison | - 800708a: 683b ldr r3, [r7, #0] - 800708c: 6ed9 ldr r1, [r3, #108] ; 0x6c + 8006bf2: 683b ldr r3, [r7, #0] + 8006bf4: 6ed9 ldr r1, [r3, #108] ; 0x6c macconf->VLANTagIdentifier); - 800708e: 683b ldr r3, [r7, #0] - 8007090: 6f1a ldr r2, [r3, #112] ; 0x70 + 8006bf6: 683b ldr r3, [r7, #0] + 8006bf8: 6f1a ldr r2, [r3, #112] ; 0x70 (heth->Instance)->MACVLANTR = (uint32_t)(macconf->VLANTagComparison | - 8007092: 687b ldr r3, [r7, #4] - 8007094: 681b ldr r3, [r3, #0] - 8007096: 430a orrs r2, r1 - 8007098: 61da str r2, [r3, #28] + 8006bfa: 687b ldr r3, [r7, #4] + 8006bfc: 681b ldr r3, [r3, #0] + 8006bfe: 430a orrs r2, r1 + 8006c00: 61da str r2, [r3, #28] /* Wait until the write operation will be taken into account : at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->MACVLANTR; - 800709a: 687b ldr r3, [r7, #4] - 800709c: 681b ldr r3, [r3, #0] - 800709e: 69db ldr r3, [r3, #28] - 80070a0: 60fb str r3, [r7, #12] + 8006c02: 687b ldr r3, [r7, #4] + 8006c04: 681b ldr r3, [r3, #0] + 8006c06: 69db ldr r3, [r3, #28] + 8006c08: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 80070a2: 2001 movs r0, #1 - 80070a4: f7fd fed0 bl 8004e48 + 8006c0a: 2001 movs r0, #1 + 8006c0c: f7fd fed0 bl 80049b0 (heth->Instance)->MACVLANTR = tmpreg; - 80070a8: 687b ldr r3, [r7, #4] - 80070aa: 681b ldr r3, [r3, #0] - 80070ac: 68fa ldr r2, [r7, #12] - 80070ae: 61da str r2, [r3, #28] - 80070b0: e01e b.n 80070f0 + 8006c10: 687b ldr r3, [r7, #4] + 8006c12: 681b ldr r3, [r3, #0] + 8006c14: 68fa ldr r2, [r7, #12] + 8006c16: 61da str r2, [r3, #28] + 8006c18: e01e b.n 8006c58 } else /* macconf == NULL : here we just configure Speed and Duplex mode */ { /*------------------------ ETHERNET MACCR Configuration --------------------*/ /* Get the ETHERNET MACCR value */ tmpreg = (heth->Instance)->MACCR; - 80070b2: 687b ldr r3, [r7, #4] - 80070b4: 681b ldr r3, [r3, #0] - 80070b6: 681b ldr r3, [r3, #0] - 80070b8: 60fb str r3, [r7, #12] + 8006c1a: 687b ldr r3, [r7, #4] + 8006c1c: 681b ldr r3, [r3, #0] + 8006c1e: 681b ldr r3, [r3, #0] + 8006c20: 60fb str r3, [r7, #12] /* Clear FES and DM bits */ tmpreg &= ~((uint32_t)0x00004800); - 80070ba: 68fb ldr r3, [r7, #12] - 80070bc: f423 4390 bic.w r3, r3, #18432 ; 0x4800 - 80070c0: 60fb str r3, [r7, #12] + 8006c22: 68fb ldr r3, [r7, #12] + 8006c24: f423 4390 bic.w r3, r3, #18432 ; 0x4800 + 8006c28: 60fb str r3, [r7, #12] tmpreg |= (uint32_t)(heth->Init.Speed | heth->Init.DuplexMode); - 80070c2: 687b ldr r3, [r7, #4] - 80070c4: 689a ldr r2, [r3, #8] - 80070c6: 687b ldr r3, [r7, #4] - 80070c8: 68db ldr r3, [r3, #12] - 80070ca: 4313 orrs r3, r2 - 80070cc: 68fa ldr r2, [r7, #12] - 80070ce: 4313 orrs r3, r2 - 80070d0: 60fb str r3, [r7, #12] + 8006c2a: 687b ldr r3, [r7, #4] + 8006c2c: 689a ldr r2, [r3, #8] + 8006c2e: 687b ldr r3, [r7, #4] + 8006c30: 68db ldr r3, [r3, #12] + 8006c32: 4313 orrs r3, r2 + 8006c34: 68fa ldr r2, [r7, #12] + 8006c36: 4313 orrs r3, r2 + 8006c38: 60fb str r3, [r7, #12] /* Write to ETHERNET MACCR */ (heth->Instance)->MACCR = (uint32_t)tmpreg; - 80070d2: 687b ldr r3, [r7, #4] - 80070d4: 681b ldr r3, [r3, #0] - 80070d6: 68fa ldr r2, [r7, #12] - 80070d8: 601a str r2, [r3, #0] + 8006c3a: 687b ldr r3, [r7, #4] + 8006c3c: 681b ldr r3, [r3, #0] + 8006c3e: 68fa ldr r2, [r7, #12] + 8006c40: 601a str r2, [r3, #0] /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->MACCR; - 80070da: 687b ldr r3, [r7, #4] - 80070dc: 681b ldr r3, [r3, #0] - 80070de: 681b ldr r3, [r3, #0] - 80070e0: 60fb str r3, [r7, #12] + 8006c42: 687b ldr r3, [r7, #4] + 8006c44: 681b ldr r3, [r3, #0] + 8006c46: 681b ldr r3, [r3, #0] + 8006c48: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 80070e2: 2001 movs r0, #1 - 80070e4: f7fd feb0 bl 8004e48 + 8006c4a: 2001 movs r0, #1 + 8006c4c: f7fd feb0 bl 80049b0 (heth->Instance)->MACCR = tmpreg; - 80070e8: 687b ldr r3, [r7, #4] - 80070ea: 681b ldr r3, [r3, #0] - 80070ec: 68fa ldr r2, [r7, #12] - 80070ee: 601a str r2, [r3, #0] + 8006c50: 687b ldr r3, [r7, #4] + 8006c52: 681b ldr r3, [r3, #0] + 8006c54: 68fa ldr r2, [r7, #12] + 8006c56: 601a str r2, [r3, #0] } /* Set the ETH state to Ready */ heth->State= HAL_ETH_STATE_READY; - 80070f0: 687b ldr r3, [r7, #4] - 80070f2: 2201 movs r2, #1 - 80070f4: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 8006c58: 687b ldr r3, [r7, #4] + 8006c5a: 2201 movs r2, #1 + 8006c5c: f883 2044 strb.w r2, [r3, #68] ; 0x44 /* Process Unlocked */ __HAL_UNLOCK(heth); - 80070f8: 687b ldr r3, [r7, #4] - 80070fa: 2200 movs r2, #0 - 80070fc: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 8006c60: 687b ldr r3, [r7, #4] + 8006c62: 2200 movs r2, #0 + 8006c64: f883 2045 strb.w r2, [r3, #69] ; 0x45 /* Return function status */ return HAL_OK; - 8007100: 2300 movs r3, #0 + 8006c68: 2300 movs r3, #0 } - 8007102: 4618 mov r0, r3 - 8007104: 3710 adds r7, #16 - 8007106: 46bd mov sp, r7 - 8007108: bd80 pop {r7, pc} - 800710a: bf00 nop - 800710c: ff20810f .word 0xff20810f + 8006c6a: 4618 mov r0, r3 + 8006c6c: 3710 adds r7, #16 + 8006c6e: 46bd mov sp, r7 + 8006c70: bd80 pop {r7, pc} + 8006c72: bf00 nop + 8006c74: ff20810f .word 0xff20810f -08007110 : +08006c78 : * the configuration information for ETHERNET module * @param err Ethernet Init error * @retval HAL status */ static void ETH_MACDMAConfig(ETH_HandleTypeDef *heth, uint32_t err) { - 8007110: b580 push {r7, lr} - 8007112: b0b0 sub sp, #192 ; 0xc0 - 8007114: af00 add r7, sp, #0 - 8007116: 6078 str r0, [r7, #4] - 8007118: 6039 str r1, [r7, #0] + 8006c78: b580 push {r7, lr} + 8006c7a: b0b0 sub sp, #192 ; 0xc0 + 8006c7c: af00 add r7, sp, #0 + 8006c7e: 6078 str r0, [r7, #4] + 8006c80: 6039 str r1, [r7, #0] ETH_MACInitTypeDef macinit; ETH_DMAInitTypeDef dmainit; uint32_t tmpreg = 0; - 800711a: 2300 movs r3, #0 - 800711c: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006c82: 2300 movs r3, #0 + 8006c84: f8c7 30bc str.w r3, [r7, #188] ; 0xbc if (err != ETH_SUCCESS) /* Auto-negotiation failed */ - 8007120: 683b ldr r3, [r7, #0] - 8007122: 2b00 cmp r3, #0 - 8007124: d007 beq.n 8007136 + 8006c88: 683b ldr r3, [r7, #0] + 8006c8a: 2b00 cmp r3, #0 + 8006c8c: d007 beq.n 8006c9e { /* Set Ethernet duplex mode to Full-duplex */ (heth->Init).DuplexMode = ETH_MODE_FULLDUPLEX; - 8007126: 687b ldr r3, [r7, #4] - 8007128: f44f 6200 mov.w r2, #2048 ; 0x800 - 800712c: 60da str r2, [r3, #12] + 8006c8e: 687b ldr r3, [r7, #4] + 8006c90: f44f 6200 mov.w r2, #2048 ; 0x800 + 8006c94: 60da str r2, [r3, #12] /* Set Ethernet speed to 100M */ (heth->Init).Speed = ETH_SPEED_100M; - 800712e: 687b ldr r3, [r7, #4] - 8007130: f44f 4280 mov.w r2, #16384 ; 0x4000 - 8007134: 609a str r2, [r3, #8] + 8006c96: 687b ldr r3, [r7, #4] + 8006c98: f44f 4280 mov.w r2, #16384 ; 0x4000 + 8006c9c: 609a str r2, [r3, #8] } /* Ethernet MAC default initialization **************************************/ macinit.Watchdog = ETH_WATCHDOG_ENABLE; - 8007136: 2300 movs r3, #0 - 8007138: 64bb str r3, [r7, #72] ; 0x48 + 8006c9e: 2300 movs r3, #0 + 8006ca0: 64bb str r3, [r7, #72] ; 0x48 macinit.Jabber = ETH_JABBER_ENABLE; - 800713a: 2300 movs r3, #0 - 800713c: 64fb str r3, [r7, #76] ; 0x4c + 8006ca2: 2300 movs r3, #0 + 8006ca4: 64fb str r3, [r7, #76] ; 0x4c macinit.InterFrameGap = ETH_INTERFRAMEGAP_96BIT; - 800713e: 2300 movs r3, #0 - 8007140: 653b str r3, [r7, #80] ; 0x50 + 8006ca6: 2300 movs r3, #0 + 8006ca8: 653b str r3, [r7, #80] ; 0x50 macinit.CarrierSense = ETH_CARRIERSENCE_ENABLE; - 8007142: 2300 movs r3, #0 - 8007144: 657b str r3, [r7, #84] ; 0x54 + 8006caa: 2300 movs r3, #0 + 8006cac: 657b str r3, [r7, #84] ; 0x54 macinit.ReceiveOwn = ETH_RECEIVEOWN_ENABLE; - 8007146: 2300 movs r3, #0 - 8007148: 65bb str r3, [r7, #88] ; 0x58 + 8006cae: 2300 movs r3, #0 + 8006cb0: 65bb str r3, [r7, #88] ; 0x58 macinit.LoopbackMode = ETH_LOOPBACKMODE_DISABLE; - 800714a: 2300 movs r3, #0 - 800714c: 65fb str r3, [r7, #92] ; 0x5c + 8006cb2: 2300 movs r3, #0 + 8006cb4: 65fb str r3, [r7, #92] ; 0x5c if(heth->Init.ChecksumMode == ETH_CHECKSUM_BY_HARDWARE) - 800714e: 687b ldr r3, [r7, #4] - 8007150: 69db ldr r3, [r3, #28] - 8007152: 2b00 cmp r3, #0 - 8007154: d103 bne.n 800715e + 8006cb6: 687b ldr r3, [r7, #4] + 8006cb8: 69db ldr r3, [r3, #28] + 8006cba: 2b00 cmp r3, #0 + 8006cbc: d103 bne.n 8006cc6 { macinit.ChecksumOffload = ETH_CHECKSUMOFFLAOD_ENABLE; - 8007156: f44f 6380 mov.w r3, #1024 ; 0x400 - 800715a: 663b str r3, [r7, #96] ; 0x60 - 800715c: e001 b.n 8007162 + 8006cbe: f44f 6380 mov.w r3, #1024 ; 0x400 + 8006cc2: 663b str r3, [r7, #96] ; 0x60 + 8006cc4: e001 b.n 8006cca } else { macinit.ChecksumOffload = ETH_CHECKSUMOFFLAOD_DISABLE; - 800715e: 2300 movs r3, #0 - 8007160: 663b str r3, [r7, #96] ; 0x60 + 8006cc6: 2300 movs r3, #0 + 8006cc8: 663b str r3, [r7, #96] ; 0x60 } macinit.RetryTransmission = ETH_RETRYTRANSMISSION_DISABLE; - 8007162: f44f 7300 mov.w r3, #512 ; 0x200 - 8007166: 667b str r3, [r7, #100] ; 0x64 + 8006cca: f44f 7300 mov.w r3, #512 ; 0x200 + 8006cce: 667b str r3, [r7, #100] ; 0x64 macinit.AutomaticPadCRCStrip = ETH_AUTOMATICPADCRCSTRIP_DISABLE; - 8007168: 2300 movs r3, #0 - 800716a: 66bb str r3, [r7, #104] ; 0x68 + 8006cd0: 2300 movs r3, #0 + 8006cd2: 66bb str r3, [r7, #104] ; 0x68 macinit.BackOffLimit = ETH_BACKOFFLIMIT_10; - 800716c: 2300 movs r3, #0 - 800716e: 66fb str r3, [r7, #108] ; 0x6c + 8006cd4: 2300 movs r3, #0 + 8006cd6: 66fb str r3, [r7, #108] ; 0x6c macinit.DeferralCheck = ETH_DEFFERRALCHECK_DISABLE; - 8007170: 2300 movs r3, #0 - 8007172: 673b str r3, [r7, #112] ; 0x70 + 8006cd8: 2300 movs r3, #0 + 8006cda: 673b str r3, [r7, #112] ; 0x70 macinit.ReceiveAll = ETH_RECEIVEAll_DISABLE; - 8007174: 2300 movs r3, #0 - 8007176: 677b str r3, [r7, #116] ; 0x74 + 8006cdc: 2300 movs r3, #0 + 8006cde: 677b str r3, [r7, #116] ; 0x74 macinit.SourceAddrFilter = ETH_SOURCEADDRFILTER_DISABLE; - 8007178: 2300 movs r3, #0 - 800717a: 67bb str r3, [r7, #120] ; 0x78 + 8006ce0: 2300 movs r3, #0 + 8006ce2: 67bb str r3, [r7, #120] ; 0x78 macinit.PassControlFrames = ETH_PASSCONTROLFRAMES_BLOCKALL; - 800717c: 2340 movs r3, #64 ; 0x40 - 800717e: 67fb str r3, [r7, #124] ; 0x7c + 8006ce4: 2340 movs r3, #64 ; 0x40 + 8006ce6: 67fb str r3, [r7, #124] ; 0x7c macinit.BroadcastFramesReception = ETH_BROADCASTFRAMESRECEPTION_ENABLE; - 8007180: 2300 movs r3, #0 - 8007182: f8c7 3080 str.w r3, [r7, #128] ; 0x80 + 8006ce8: 2300 movs r3, #0 + 8006cea: f8c7 3080 str.w r3, [r7, #128] ; 0x80 macinit.DestinationAddrFilter = ETH_DESTINATIONADDRFILTER_NORMAL; - 8007186: 2300 movs r3, #0 - 8007188: f8c7 3084 str.w r3, [r7, #132] ; 0x84 + 8006cee: 2300 movs r3, #0 + 8006cf0: f8c7 3084 str.w r3, [r7, #132] ; 0x84 macinit.PromiscuousMode = ETH_PROMISCUOUS_MODE_DISABLE; - 800718c: 2300 movs r3, #0 - 800718e: f8c7 3088 str.w r3, [r7, #136] ; 0x88 + 8006cf4: 2300 movs r3, #0 + 8006cf6: f8c7 3088 str.w r3, [r7, #136] ; 0x88 macinit.MulticastFramesFilter = ETH_MULTICASTFRAMESFILTER_PERFECT; - 8007192: 2300 movs r3, #0 - 8007194: f8c7 308c str.w r3, [r7, #140] ; 0x8c + 8006cfa: 2300 movs r3, #0 + 8006cfc: f8c7 308c str.w r3, [r7, #140] ; 0x8c macinit.UnicastFramesFilter = ETH_UNICASTFRAMESFILTER_PERFECT; - 8007198: 2300 movs r3, #0 - 800719a: f8c7 3090 str.w r3, [r7, #144] ; 0x90 + 8006d00: 2300 movs r3, #0 + 8006d02: f8c7 3090 str.w r3, [r7, #144] ; 0x90 macinit.HashTableHigh = 0x0; - 800719e: 2300 movs r3, #0 - 80071a0: f8c7 3094 str.w r3, [r7, #148] ; 0x94 + 8006d06: 2300 movs r3, #0 + 8006d08: f8c7 3094 str.w r3, [r7, #148] ; 0x94 macinit.HashTableLow = 0x0; - 80071a4: 2300 movs r3, #0 - 80071a6: f8c7 3098 str.w r3, [r7, #152] ; 0x98 + 8006d0c: 2300 movs r3, #0 + 8006d0e: f8c7 3098 str.w r3, [r7, #152] ; 0x98 macinit.PauseTime = 0x0; - 80071aa: 2300 movs r3, #0 - 80071ac: f8c7 309c str.w r3, [r7, #156] ; 0x9c + 8006d12: 2300 movs r3, #0 + 8006d14: f8c7 309c str.w r3, [r7, #156] ; 0x9c macinit.ZeroQuantaPause = ETH_ZEROQUANTAPAUSE_DISABLE; - 80071b0: 2380 movs r3, #128 ; 0x80 - 80071b2: f8c7 30a0 str.w r3, [r7, #160] ; 0xa0 + 8006d18: 2380 movs r3, #128 ; 0x80 + 8006d1a: f8c7 30a0 str.w r3, [r7, #160] ; 0xa0 macinit.PauseLowThreshold = ETH_PAUSELOWTHRESHOLD_MINUS4; - 80071b6: 2300 movs r3, #0 - 80071b8: f8c7 30a4 str.w r3, [r7, #164] ; 0xa4 + 8006d1e: 2300 movs r3, #0 + 8006d20: f8c7 30a4 str.w r3, [r7, #164] ; 0xa4 macinit.UnicastPauseFrameDetect = ETH_UNICASTPAUSEFRAMEDETECT_DISABLE; - 80071bc: 2300 movs r3, #0 - 80071be: f8c7 30a8 str.w r3, [r7, #168] ; 0xa8 + 8006d24: 2300 movs r3, #0 + 8006d26: f8c7 30a8 str.w r3, [r7, #168] ; 0xa8 macinit.ReceiveFlowControl = ETH_RECEIVEFLOWCONTROL_DISABLE; - 80071c2: 2300 movs r3, #0 - 80071c4: f8c7 30ac str.w r3, [r7, #172] ; 0xac + 8006d2a: 2300 movs r3, #0 + 8006d2c: f8c7 30ac str.w r3, [r7, #172] ; 0xac macinit.TransmitFlowControl = ETH_TRANSMITFLOWCONTROL_DISABLE; - 80071c8: 2300 movs r3, #0 - 80071ca: f8c7 30b0 str.w r3, [r7, #176] ; 0xb0 + 8006d30: 2300 movs r3, #0 + 8006d32: f8c7 30b0 str.w r3, [r7, #176] ; 0xb0 macinit.VLANTagComparison = ETH_VLANTAGCOMPARISON_16BIT; - 80071ce: 2300 movs r3, #0 - 80071d0: f8c7 30b4 str.w r3, [r7, #180] ; 0xb4 + 8006d36: 2300 movs r3, #0 + 8006d38: f8c7 30b4 str.w r3, [r7, #180] ; 0xb4 macinit.VLANTagIdentifier = 0x0; - 80071d4: 2300 movs r3, #0 - 80071d6: f8c7 30b8 str.w r3, [r7, #184] ; 0xb8 + 8006d3c: 2300 movs r3, #0 + 8006d3e: f8c7 30b8 str.w r3, [r7, #184] ; 0xb8 /*------------------------ ETHERNET MACCR Configuration --------------------*/ /* Get the ETHERNET MACCR value */ tmpreg = (heth->Instance)->MACCR; - 80071da: 687b ldr r3, [r7, #4] - 80071dc: 681b ldr r3, [r3, #0] - 80071de: 681b ldr r3, [r3, #0] - 80071e0: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006d42: 687b ldr r3, [r7, #4] + 8006d44: 681b ldr r3, [r3, #0] + 8006d46: 681b ldr r3, [r3, #0] + 8006d48: f8c7 30bc str.w r3, [r7, #188] ; 0xbc /* Clear WD, PCE, PS, TE and RE bits */ tmpreg &= ETH_MACCR_CLEAR_MASK; - 80071e4: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 80071e8: 4bab ldr r3, [pc, #684] ; (8007498 ) - 80071ea: 4013 ands r3, r2 - 80071ec: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006d4c: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006d50: 4bab ldr r3, [pc, #684] ; (8007000 ) + 8006d52: 4013 ands r3, r2 + 8006d54: f8c7 30bc str.w r3, [r7, #188] ; 0xbc /* Set the IPCO bit according to ETH ChecksumOffload value */ /* Set the DR bit according to ETH RetryTransmission value */ /* Set the ACS bit according to ETH AutomaticPadCRCStrip value */ /* Set the BL bit according to ETH BackOffLimit value */ /* Set the DC bit according to ETH DeferralCheck value */ tmpreg |= (uint32_t)(macinit.Watchdog | - 80071f0: 6cba ldr r2, [r7, #72] ; 0x48 + 8006d58: 6cba ldr r2, [r7, #72] ; 0x48 macinit.Jabber | - 80071f2: 6cfb ldr r3, [r7, #76] ; 0x4c + 8006d5a: 6cfb ldr r3, [r7, #76] ; 0x4c tmpreg |= (uint32_t)(macinit.Watchdog | - 80071f4: 431a orrs r2, r3 + 8006d5c: 431a orrs r2, r3 macinit.InterFrameGap | - 80071f6: 6d3b ldr r3, [r7, #80] ; 0x50 + 8006d5e: 6d3b ldr r3, [r7, #80] ; 0x50 macinit.Jabber | - 80071f8: 431a orrs r2, r3 + 8006d60: 431a orrs r2, r3 macinit.CarrierSense | - 80071fa: 6d7b ldr r3, [r7, #84] ; 0x54 + 8006d62: 6d7b ldr r3, [r7, #84] ; 0x54 macinit.InterFrameGap | - 80071fc: 431a orrs r2, r3 + 8006d64: 431a orrs r2, r3 (heth->Init).Speed | - 80071fe: 687b ldr r3, [r7, #4] - 8007200: 689b ldr r3, [r3, #8] + 8006d66: 687b ldr r3, [r7, #4] + 8006d68: 689b ldr r3, [r3, #8] macinit.CarrierSense | - 8007202: 431a orrs r2, r3 + 8006d6a: 431a orrs r2, r3 macinit.ReceiveOwn | - 8007204: 6dbb ldr r3, [r7, #88] ; 0x58 + 8006d6c: 6dbb ldr r3, [r7, #88] ; 0x58 (heth->Init).Speed | - 8007206: 431a orrs r2, r3 + 8006d6e: 431a orrs r2, r3 macinit.LoopbackMode | - 8007208: 6dfb ldr r3, [r7, #92] ; 0x5c + 8006d70: 6dfb ldr r3, [r7, #92] ; 0x5c macinit.ReceiveOwn | - 800720a: 431a orrs r2, r3 + 8006d72: 431a orrs r2, r3 (heth->Init).DuplexMode | - 800720c: 687b ldr r3, [r7, #4] - 800720e: 68db ldr r3, [r3, #12] + 8006d74: 687b ldr r3, [r7, #4] + 8006d76: 68db ldr r3, [r3, #12] macinit.LoopbackMode | - 8007210: 431a orrs r2, r3 + 8006d78: 431a orrs r2, r3 macinit.ChecksumOffload | - 8007212: 6e3b ldr r3, [r7, #96] ; 0x60 + 8006d7a: 6e3b ldr r3, [r7, #96] ; 0x60 (heth->Init).DuplexMode | - 8007214: 431a orrs r2, r3 + 8006d7c: 431a orrs r2, r3 macinit.RetryTransmission | - 8007216: 6e7b ldr r3, [r7, #100] ; 0x64 + 8006d7e: 6e7b ldr r3, [r7, #100] ; 0x64 macinit.ChecksumOffload | - 8007218: 431a orrs r2, r3 + 8006d80: 431a orrs r2, r3 macinit.AutomaticPadCRCStrip | - 800721a: 6ebb ldr r3, [r7, #104] ; 0x68 + 8006d82: 6ebb ldr r3, [r7, #104] ; 0x68 macinit.RetryTransmission | - 800721c: 431a orrs r2, r3 + 8006d84: 431a orrs r2, r3 macinit.BackOffLimit | - 800721e: 6efb ldr r3, [r7, #108] ; 0x6c + 8006d86: 6efb ldr r3, [r7, #108] ; 0x6c macinit.AutomaticPadCRCStrip | - 8007220: 431a orrs r2, r3 + 8006d88: 431a orrs r2, r3 macinit.DeferralCheck); - 8007222: 6f3b ldr r3, [r7, #112] ; 0x70 + 8006d8a: 6f3b ldr r3, [r7, #112] ; 0x70 macinit.BackOffLimit | - 8007224: 4313 orrs r3, r2 + 8006d8c: 4313 orrs r3, r2 tmpreg |= (uint32_t)(macinit.Watchdog | - 8007226: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 800722a: 4313 orrs r3, r2 - 800722c: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006d8e: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006d92: 4313 orrs r3, r2 + 8006d94: f8c7 30bc str.w r3, [r7, #188] ; 0xbc /* Write to ETHERNET MACCR */ (heth->Instance)->MACCR = (uint32_t)tmpreg; - 8007230: 687b ldr r3, [r7, #4] - 8007232: 681b ldr r3, [r3, #0] - 8007234: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 8007238: 601a str r2, [r3, #0] + 8006d98: 687b ldr r3, [r7, #4] + 8006d9a: 681b ldr r3, [r3, #0] + 8006d9c: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006da0: 601a str r2, [r3, #0] /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->MACCR; - 800723a: 687b ldr r3, [r7, #4] - 800723c: 681b ldr r3, [r3, #0] - 800723e: 681b ldr r3, [r3, #0] - 8007240: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006da2: 687b ldr r3, [r7, #4] + 8006da4: 681b ldr r3, [r3, #0] + 8006da6: 681b ldr r3, [r3, #0] + 8006da8: f8c7 30bc str.w r3, [r7, #188] ; 0xbc HAL_Delay(ETH_REG_WRITE_DELAY); - 8007244: 2001 movs r0, #1 - 8007246: f7fd fdff bl 8004e48 + 8006dac: 2001 movs r0, #1 + 8006dae: f7fd fdff bl 80049b0 (heth->Instance)->MACCR = tmpreg; - 800724a: 687b ldr r3, [r7, #4] - 800724c: 681b ldr r3, [r3, #0] - 800724e: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 8007252: 601a str r2, [r3, #0] + 8006db2: 687b ldr r3, [r7, #4] + 8006db4: 681b ldr r3, [r3, #0] + 8006db6: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006dba: 601a str r2, [r3, #0] /* Set the DAIF bit according to ETH DestinationAddrFilter value */ /* Set the PR bit according to ETH PromiscuousMode value */ /* Set the PM, HMC and HPF bits according to ETH MulticastFramesFilter value */ /* Set the HUC and HPF bits according to ETH UnicastFramesFilter value */ /* Write to ETHERNET MACFFR */ (heth->Instance)->MACFFR = (uint32_t)(macinit.ReceiveAll | - 8007254: 6f7a ldr r2, [r7, #116] ; 0x74 + 8006dbc: 6f7a ldr r2, [r7, #116] ; 0x74 macinit.SourceAddrFilter | - 8007256: 6fbb ldr r3, [r7, #120] ; 0x78 + 8006dbe: 6fbb ldr r3, [r7, #120] ; 0x78 (heth->Instance)->MACFFR = (uint32_t)(macinit.ReceiveAll | - 8007258: 431a orrs r2, r3 + 8006dc0: 431a orrs r2, r3 macinit.PassControlFrames | - 800725a: 6ffb ldr r3, [r7, #124] ; 0x7c + 8006dc2: 6ffb ldr r3, [r7, #124] ; 0x7c macinit.SourceAddrFilter | - 800725c: 431a orrs r2, r3 + 8006dc4: 431a orrs r2, r3 macinit.BroadcastFramesReception | - 800725e: f8d7 3080 ldr.w r3, [r7, #128] ; 0x80 + 8006dc6: f8d7 3080 ldr.w r3, [r7, #128] ; 0x80 macinit.PassControlFrames | - 8007262: 431a orrs r2, r3 + 8006dca: 431a orrs r2, r3 macinit.DestinationAddrFilter | - 8007264: f8d7 3084 ldr.w r3, [r7, #132] ; 0x84 + 8006dcc: f8d7 3084 ldr.w r3, [r7, #132] ; 0x84 macinit.BroadcastFramesReception | - 8007268: 431a orrs r2, r3 + 8006dd0: 431a orrs r2, r3 macinit.PromiscuousMode | - 800726a: f8d7 3088 ldr.w r3, [r7, #136] ; 0x88 + 8006dd2: f8d7 3088 ldr.w r3, [r7, #136] ; 0x88 macinit.DestinationAddrFilter | - 800726e: 431a orrs r2, r3 + 8006dd6: 431a orrs r2, r3 macinit.MulticastFramesFilter | - 8007270: f8d7 308c ldr.w r3, [r7, #140] ; 0x8c + 8006dd8: f8d7 308c ldr.w r3, [r7, #140] ; 0x8c macinit.PromiscuousMode | - 8007274: ea42 0103 orr.w r1, r2, r3 + 8006ddc: ea42 0103 orr.w r1, r2, r3 macinit.UnicastFramesFilter); - 8007278: f8d7 2090 ldr.w r2, [r7, #144] ; 0x90 + 8006de0: f8d7 2090 ldr.w r2, [r7, #144] ; 0x90 (heth->Instance)->MACFFR = (uint32_t)(macinit.ReceiveAll | - 800727c: 687b ldr r3, [r7, #4] - 800727e: 681b ldr r3, [r3, #0] + 8006de4: 687b ldr r3, [r7, #4] + 8006de6: 681b ldr r3, [r3, #0] macinit.MulticastFramesFilter | - 8007280: 430a orrs r2, r1 + 8006de8: 430a orrs r2, r1 (heth->Instance)->MACFFR = (uint32_t)(macinit.ReceiveAll | - 8007282: 605a str r2, [r3, #4] + 8006dea: 605a str r2, [r3, #4] /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->MACFFR; - 8007284: 687b ldr r3, [r7, #4] - 8007286: 681b ldr r3, [r3, #0] - 8007288: 685b ldr r3, [r3, #4] - 800728a: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006dec: 687b ldr r3, [r7, #4] + 8006dee: 681b ldr r3, [r3, #0] + 8006df0: 685b ldr r3, [r3, #4] + 8006df2: f8c7 30bc str.w r3, [r7, #188] ; 0xbc HAL_Delay(ETH_REG_WRITE_DELAY); - 800728e: 2001 movs r0, #1 - 8007290: f7fd fdda bl 8004e48 + 8006df6: 2001 movs r0, #1 + 8006df8: f7fd fdda bl 80049b0 (heth->Instance)->MACFFR = tmpreg; - 8007294: 687b ldr r3, [r7, #4] - 8007296: 681b ldr r3, [r3, #0] - 8007298: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 800729c: 605a str r2, [r3, #4] + 8006dfc: 687b ldr r3, [r7, #4] + 8006dfe: 681b ldr r3, [r3, #0] + 8006e00: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006e04: 605a str r2, [r3, #4] /*--------------- ETHERNET MACHTHR and MACHTLR Configuration --------------*/ /* Write to ETHERNET MACHTHR */ (heth->Instance)->MACHTHR = (uint32_t)macinit.HashTableHigh; - 800729e: 687b ldr r3, [r7, #4] - 80072a0: 681b ldr r3, [r3, #0] - 80072a2: f8d7 2094 ldr.w r2, [r7, #148] ; 0x94 - 80072a6: 609a str r2, [r3, #8] + 8006e06: 687b ldr r3, [r7, #4] + 8006e08: 681b ldr r3, [r3, #0] + 8006e0a: f8d7 2094 ldr.w r2, [r7, #148] ; 0x94 + 8006e0e: 609a str r2, [r3, #8] /* Write to ETHERNET MACHTLR */ (heth->Instance)->MACHTLR = (uint32_t)macinit.HashTableLow; - 80072a8: 687b ldr r3, [r7, #4] - 80072aa: 681b ldr r3, [r3, #0] - 80072ac: f8d7 2098 ldr.w r2, [r7, #152] ; 0x98 - 80072b0: 60da str r2, [r3, #12] + 8006e10: 687b ldr r3, [r7, #4] + 8006e12: 681b ldr r3, [r3, #0] + 8006e14: f8d7 2098 ldr.w r2, [r7, #152] ; 0x98 + 8006e18: 60da str r2, [r3, #12] /*----------------------- ETHERNET MACFCR Configuration -------------------*/ /* Get the ETHERNET MACFCR value */ tmpreg = (heth->Instance)->MACFCR; - 80072b2: 687b ldr r3, [r7, #4] - 80072b4: 681b ldr r3, [r3, #0] - 80072b6: 699b ldr r3, [r3, #24] - 80072b8: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006e1a: 687b ldr r3, [r7, #4] + 8006e1c: 681b ldr r3, [r3, #0] + 8006e1e: 699b ldr r3, [r3, #24] + 8006e20: f8c7 30bc str.w r3, [r7, #188] ; 0xbc /* Clear xx bits */ tmpreg &= ETH_MACFCR_CLEAR_MASK; - 80072bc: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 80072c0: f64f 7341 movw r3, #65345 ; 0xff41 - 80072c4: 4013 ands r3, r2 - 80072c6: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006e24: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006e28: f64f 7341 movw r3, #65345 ; 0xff41 + 8006e2c: 4013 ands r3, r2 + 8006e2e: f8c7 30bc str.w r3, [r7, #188] ; 0xbc /* Set the DZPQ bit according to ETH ZeroQuantaPause value */ /* Set the PLT bit according to ETH PauseLowThreshold value */ /* Set the UP bit according to ETH UnicastPauseFrameDetect value */ /* Set the RFE bit according to ETH ReceiveFlowControl value */ /* Set the TFE bit according to ETH TransmitFlowControl value */ tmpreg |= (uint32_t)((macinit.PauseTime << 16) | - 80072ca: f8d7 309c ldr.w r3, [r7, #156] ; 0x9c - 80072ce: 041a lsls r2, r3, #16 + 8006e32: f8d7 309c ldr.w r3, [r7, #156] ; 0x9c + 8006e36: 041a lsls r2, r3, #16 macinit.ZeroQuantaPause | - 80072d0: f8d7 30a0 ldr.w r3, [r7, #160] ; 0xa0 + 8006e38: f8d7 30a0 ldr.w r3, [r7, #160] ; 0xa0 tmpreg |= (uint32_t)((macinit.PauseTime << 16) | - 80072d4: 431a orrs r2, r3 + 8006e3c: 431a orrs r2, r3 macinit.PauseLowThreshold | - 80072d6: f8d7 30a4 ldr.w r3, [r7, #164] ; 0xa4 + 8006e3e: f8d7 30a4 ldr.w r3, [r7, #164] ; 0xa4 macinit.ZeroQuantaPause | - 80072da: 431a orrs r2, r3 + 8006e42: 431a orrs r2, r3 macinit.UnicastPauseFrameDetect | - 80072dc: f8d7 30a8 ldr.w r3, [r7, #168] ; 0xa8 + 8006e44: f8d7 30a8 ldr.w r3, [r7, #168] ; 0xa8 macinit.PauseLowThreshold | - 80072e0: 431a orrs r2, r3 + 8006e48: 431a orrs r2, r3 macinit.ReceiveFlowControl | - 80072e2: f8d7 30ac ldr.w r3, [r7, #172] ; 0xac + 8006e4a: f8d7 30ac ldr.w r3, [r7, #172] ; 0xac macinit.UnicastPauseFrameDetect | - 80072e6: 431a orrs r2, r3 + 8006e4e: 431a orrs r2, r3 macinit.TransmitFlowControl); - 80072e8: f8d7 30b0 ldr.w r3, [r7, #176] ; 0xb0 + 8006e50: f8d7 30b0 ldr.w r3, [r7, #176] ; 0xb0 macinit.ReceiveFlowControl | - 80072ec: 4313 orrs r3, r2 + 8006e54: 4313 orrs r3, r2 tmpreg |= (uint32_t)((macinit.PauseTime << 16) | - 80072ee: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 80072f2: 4313 orrs r3, r2 - 80072f4: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006e56: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006e5a: 4313 orrs r3, r2 + 8006e5c: f8c7 30bc str.w r3, [r7, #188] ; 0xbc /* Write to ETHERNET MACFCR */ (heth->Instance)->MACFCR = (uint32_t)tmpreg; - 80072f8: 687b ldr r3, [r7, #4] - 80072fa: 681b ldr r3, [r3, #0] - 80072fc: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 8007300: 619a str r2, [r3, #24] + 8006e60: 687b ldr r3, [r7, #4] + 8006e62: 681b ldr r3, [r3, #0] + 8006e64: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006e68: 619a str r2, [r3, #24] /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->MACFCR; - 8007302: 687b ldr r3, [r7, #4] - 8007304: 681b ldr r3, [r3, #0] - 8007306: 699b ldr r3, [r3, #24] - 8007308: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006e6a: 687b ldr r3, [r7, #4] + 8006e6c: 681b ldr r3, [r3, #0] + 8006e6e: 699b ldr r3, [r3, #24] + 8006e70: f8c7 30bc str.w r3, [r7, #188] ; 0xbc HAL_Delay(ETH_REG_WRITE_DELAY); - 800730c: 2001 movs r0, #1 - 800730e: f7fd fd9b bl 8004e48 + 8006e74: 2001 movs r0, #1 + 8006e76: f7fd fd9b bl 80049b0 (heth->Instance)->MACFCR = tmpreg; - 8007312: 687b ldr r3, [r7, #4] - 8007314: 681b ldr r3, [r3, #0] - 8007316: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 800731a: 619a str r2, [r3, #24] + 8006e7a: 687b ldr r3, [r7, #4] + 8006e7c: 681b ldr r3, [r3, #0] + 8006e7e: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006e82: 619a str r2, [r3, #24] /*----------------------- ETHERNET MACVLANTR Configuration ----------------*/ /* Set the ETV bit according to ETH VLANTagComparison value */ /* Set the VL bit according to ETH VLANTagIdentifier value */ (heth->Instance)->MACVLANTR = (uint32_t)(macinit.VLANTagComparison | - 800731c: f8d7 10b4 ldr.w r1, [r7, #180] ; 0xb4 + 8006e84: f8d7 10b4 ldr.w r1, [r7, #180] ; 0xb4 macinit.VLANTagIdentifier); - 8007320: f8d7 20b8 ldr.w r2, [r7, #184] ; 0xb8 + 8006e88: f8d7 20b8 ldr.w r2, [r7, #184] ; 0xb8 (heth->Instance)->MACVLANTR = (uint32_t)(macinit.VLANTagComparison | - 8007324: 687b ldr r3, [r7, #4] - 8007326: 681b ldr r3, [r3, #0] - 8007328: 430a orrs r2, r1 - 800732a: 61da str r2, [r3, #28] + 8006e8c: 687b ldr r3, [r7, #4] + 8006e8e: 681b ldr r3, [r3, #0] + 8006e90: 430a orrs r2, r1 + 8006e92: 61da str r2, [r3, #28] /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->MACVLANTR; - 800732c: 687b ldr r3, [r7, #4] - 800732e: 681b ldr r3, [r3, #0] - 8007330: 69db ldr r3, [r3, #28] - 8007332: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006e94: 687b ldr r3, [r7, #4] + 8006e96: 681b ldr r3, [r3, #0] + 8006e98: 69db ldr r3, [r3, #28] + 8006e9a: f8c7 30bc str.w r3, [r7, #188] ; 0xbc HAL_Delay(ETH_REG_WRITE_DELAY); - 8007336: 2001 movs r0, #1 - 8007338: f7fd fd86 bl 8004e48 + 8006e9e: 2001 movs r0, #1 + 8006ea0: f7fd fd86 bl 80049b0 (heth->Instance)->MACVLANTR = tmpreg; - 800733c: 687b ldr r3, [r7, #4] - 800733e: 681b ldr r3, [r3, #0] - 8007340: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 8007344: 61da str r2, [r3, #28] + 8006ea4: 687b ldr r3, [r7, #4] + 8006ea6: 681b ldr r3, [r3, #0] + 8006ea8: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006eac: 61da str r2, [r3, #28] /* Ethernet DMA default initialization ************************************/ dmainit.DropTCPIPChecksumErrorFrame = ETH_DROPTCPIPCHECKSUMERRORFRAME_ENABLE; - 8007346: 2300 movs r3, #0 - 8007348: 60bb str r3, [r7, #8] + 8006eae: 2300 movs r3, #0 + 8006eb0: 60bb str r3, [r7, #8] dmainit.ReceiveStoreForward = ETH_RECEIVESTOREFORWARD_ENABLE; - 800734a: f04f 7300 mov.w r3, #33554432 ; 0x2000000 - 800734e: 60fb str r3, [r7, #12] + 8006eb2: f04f 7300 mov.w r3, #33554432 ; 0x2000000 + 8006eb6: 60fb str r3, [r7, #12] dmainit.FlushReceivedFrame = ETH_FLUSHRECEIVEDFRAME_ENABLE; - 8007350: 2300 movs r3, #0 - 8007352: 613b str r3, [r7, #16] + 8006eb8: 2300 movs r3, #0 + 8006eba: 613b str r3, [r7, #16] dmainit.TransmitStoreForward = ETH_TRANSMITSTOREFORWARD_ENABLE; - 8007354: f44f 1300 mov.w r3, #2097152 ; 0x200000 - 8007358: 617b str r3, [r7, #20] + 8006ebc: f44f 1300 mov.w r3, #2097152 ; 0x200000 + 8006ec0: 617b str r3, [r7, #20] dmainit.TransmitThresholdControl = ETH_TRANSMITTHRESHOLDCONTROL_64BYTES; - 800735a: 2300 movs r3, #0 - 800735c: 61bb str r3, [r7, #24] + 8006ec2: 2300 movs r3, #0 + 8006ec4: 61bb str r3, [r7, #24] dmainit.ForwardErrorFrames = ETH_FORWARDERRORFRAMES_DISABLE; - 800735e: 2300 movs r3, #0 - 8007360: 61fb str r3, [r7, #28] + 8006ec6: 2300 movs r3, #0 + 8006ec8: 61fb str r3, [r7, #28] dmainit.ForwardUndersizedGoodFrames = ETH_FORWARDUNDERSIZEDGOODFRAMES_DISABLE; - 8007362: 2300 movs r3, #0 - 8007364: 623b str r3, [r7, #32] + 8006eca: 2300 movs r3, #0 + 8006ecc: 623b str r3, [r7, #32] dmainit.ReceiveThresholdControl = ETH_RECEIVEDTHRESHOLDCONTROL_64BYTES; - 8007366: 2300 movs r3, #0 - 8007368: 627b str r3, [r7, #36] ; 0x24 + 8006ece: 2300 movs r3, #0 + 8006ed0: 627b str r3, [r7, #36] ; 0x24 dmainit.SecondFrameOperate = ETH_SECONDFRAMEOPERARTE_ENABLE; - 800736a: 2304 movs r3, #4 - 800736c: 62bb str r3, [r7, #40] ; 0x28 + 8006ed2: 2304 movs r3, #4 + 8006ed4: 62bb str r3, [r7, #40] ; 0x28 dmainit.AddressAlignedBeats = ETH_ADDRESSALIGNEDBEATS_ENABLE; - 800736e: f04f 7300 mov.w r3, #33554432 ; 0x2000000 - 8007372: 62fb str r3, [r7, #44] ; 0x2c + 8006ed6: f04f 7300 mov.w r3, #33554432 ; 0x2000000 + 8006eda: 62fb str r3, [r7, #44] ; 0x2c dmainit.FixedBurst = ETH_FIXEDBURST_ENABLE; - 8007374: f44f 3380 mov.w r3, #65536 ; 0x10000 - 8007378: 633b str r3, [r7, #48] ; 0x30 + 8006edc: f44f 3380 mov.w r3, #65536 ; 0x10000 + 8006ee0: 633b str r3, [r7, #48] ; 0x30 dmainit.RxDMABurstLength = ETH_RXDMABURSTLENGTH_32BEAT; - 800737a: f44f 0380 mov.w r3, #4194304 ; 0x400000 - 800737e: 637b str r3, [r7, #52] ; 0x34 + 8006ee2: f44f 0380 mov.w r3, #4194304 ; 0x400000 + 8006ee6: 637b str r3, [r7, #52] ; 0x34 dmainit.TxDMABurstLength = ETH_TXDMABURSTLENGTH_32BEAT; - 8007380: f44f 5300 mov.w r3, #8192 ; 0x2000 - 8007384: 63bb str r3, [r7, #56] ; 0x38 + 8006ee8: f44f 5300 mov.w r3, #8192 ; 0x2000 + 8006eec: 63bb str r3, [r7, #56] ; 0x38 dmainit.EnhancedDescriptorFormat = ETH_DMAENHANCEDDESCRIPTOR_ENABLE; - 8007386: 2380 movs r3, #128 ; 0x80 - 8007388: 63fb str r3, [r7, #60] ; 0x3c + 8006eee: 2380 movs r3, #128 ; 0x80 + 8006ef0: 63fb str r3, [r7, #60] ; 0x3c dmainit.DescriptorSkipLength = 0x0; - 800738a: 2300 movs r3, #0 - 800738c: 643b str r3, [r7, #64] ; 0x40 + 8006ef2: 2300 movs r3, #0 + 8006ef4: 643b str r3, [r7, #64] ; 0x40 dmainit.DMAArbitration = ETH_DMAARBITRATION_ROUNDROBIN_RXTX_1_1; - 800738e: 2300 movs r3, #0 - 8007390: 647b str r3, [r7, #68] ; 0x44 + 8006ef6: 2300 movs r3, #0 + 8006ef8: 647b str r3, [r7, #68] ; 0x44 /* Get the ETHERNET DMAOMR value */ tmpreg = (heth->Instance)->DMAOMR; - 8007392: 687b ldr r3, [r7, #4] - 8007394: 681a ldr r2, [r3, #0] - 8007396: f241 0318 movw r3, #4120 ; 0x1018 - 800739a: 4413 add r3, r2 - 800739c: 681b ldr r3, [r3, #0] - 800739e: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006efa: 687b ldr r3, [r7, #4] + 8006efc: 681a ldr r2, [r3, #0] + 8006efe: f241 0318 movw r3, #4120 ; 0x1018 + 8006f02: 4413 add r3, r2 + 8006f04: 681b ldr r3, [r3, #0] + 8006f06: f8c7 30bc str.w r3, [r7, #188] ; 0xbc /* Clear xx bits */ tmpreg &= ETH_DMAOMR_CLEAR_MASK; - 80073a2: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 80073a6: 4b3d ldr r3, [pc, #244] ; (800749c ) - 80073a8: 4013 ands r3, r2 - 80073aa: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006f0a: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006f0e: 4b3d ldr r3, [pc, #244] ; (8007004 ) + 8006f10: 4013 ands r3, r2 + 8006f12: f8c7 30bc str.w r3, [r7, #188] ; 0xbc /* Set the TTC bit according to ETH TransmitThresholdControl value */ /* Set the FEF bit according to ETH ForwardErrorFrames value */ /* Set the FUF bit according to ETH ForwardUndersizedGoodFrames value */ /* Set the RTC bit according to ETH ReceiveThresholdControl value */ /* Set the OSF bit according to ETH SecondFrameOperate value */ tmpreg |= (uint32_t)(dmainit.DropTCPIPChecksumErrorFrame | - 80073ae: 68ba ldr r2, [r7, #8] + 8006f16: 68ba ldr r2, [r7, #8] dmainit.ReceiveStoreForward | - 80073b0: 68fb ldr r3, [r7, #12] + 8006f18: 68fb ldr r3, [r7, #12] tmpreg |= (uint32_t)(dmainit.DropTCPIPChecksumErrorFrame | - 80073b2: 431a orrs r2, r3 + 8006f1a: 431a orrs r2, r3 dmainit.FlushReceivedFrame | - 80073b4: 693b ldr r3, [r7, #16] + 8006f1c: 693b ldr r3, [r7, #16] dmainit.ReceiveStoreForward | - 80073b6: 431a orrs r2, r3 + 8006f1e: 431a orrs r2, r3 dmainit.TransmitStoreForward | - 80073b8: 697b ldr r3, [r7, #20] + 8006f20: 697b ldr r3, [r7, #20] dmainit.FlushReceivedFrame | - 80073ba: 431a orrs r2, r3 + 8006f22: 431a orrs r2, r3 dmainit.TransmitThresholdControl | - 80073bc: 69bb ldr r3, [r7, #24] + 8006f24: 69bb ldr r3, [r7, #24] dmainit.TransmitStoreForward | - 80073be: 431a orrs r2, r3 + 8006f26: 431a orrs r2, r3 dmainit.ForwardErrorFrames | - 80073c0: 69fb ldr r3, [r7, #28] + 8006f28: 69fb ldr r3, [r7, #28] dmainit.TransmitThresholdControl | - 80073c2: 431a orrs r2, r3 + 8006f2a: 431a orrs r2, r3 dmainit.ForwardUndersizedGoodFrames | - 80073c4: 6a3b ldr r3, [r7, #32] + 8006f2c: 6a3b ldr r3, [r7, #32] dmainit.ForwardErrorFrames | - 80073c6: 431a orrs r2, r3 + 8006f2e: 431a orrs r2, r3 dmainit.ReceiveThresholdControl | - 80073c8: 6a7b ldr r3, [r7, #36] ; 0x24 + 8006f30: 6a7b ldr r3, [r7, #36] ; 0x24 dmainit.ForwardUndersizedGoodFrames | - 80073ca: 431a orrs r2, r3 + 8006f32: 431a orrs r2, r3 dmainit.SecondFrameOperate); - 80073cc: 6abb ldr r3, [r7, #40] ; 0x28 + 8006f34: 6abb ldr r3, [r7, #40] ; 0x28 dmainit.ReceiveThresholdControl | - 80073ce: 4313 orrs r3, r2 + 8006f36: 4313 orrs r3, r2 tmpreg |= (uint32_t)(dmainit.DropTCPIPChecksumErrorFrame | - 80073d0: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 80073d4: 4313 orrs r3, r2 - 80073d6: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006f38: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006f3c: 4313 orrs r3, r2 + 8006f3e: f8c7 30bc str.w r3, [r7, #188] ; 0xbc /* Write to ETHERNET DMAOMR */ (heth->Instance)->DMAOMR = (uint32_t)tmpreg; - 80073da: 687b ldr r3, [r7, #4] - 80073dc: 681a ldr r2, [r3, #0] - 80073de: f241 0318 movw r3, #4120 ; 0x1018 - 80073e2: 4413 add r3, r2 - 80073e4: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 80073e8: 601a str r2, [r3, #0] + 8006f42: 687b ldr r3, [r7, #4] + 8006f44: 681a ldr r2, [r3, #0] + 8006f46: f241 0318 movw r3, #4120 ; 0x1018 + 8006f4a: 4413 add r3, r2 + 8006f4c: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006f50: 601a str r2, [r3, #0] /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->DMAOMR; - 80073ea: 687b ldr r3, [r7, #4] - 80073ec: 681a ldr r2, [r3, #0] - 80073ee: f241 0318 movw r3, #4120 ; 0x1018 - 80073f2: 4413 add r3, r2 - 80073f4: 681b ldr r3, [r3, #0] - 80073f6: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006f52: 687b ldr r3, [r7, #4] + 8006f54: 681a ldr r2, [r3, #0] + 8006f56: f241 0318 movw r3, #4120 ; 0x1018 + 8006f5a: 4413 add r3, r2 + 8006f5c: 681b ldr r3, [r3, #0] + 8006f5e: f8c7 30bc str.w r3, [r7, #188] ; 0xbc HAL_Delay(ETH_REG_WRITE_DELAY); - 80073fa: 2001 movs r0, #1 - 80073fc: f7fd fd24 bl 8004e48 + 8006f62: 2001 movs r0, #1 + 8006f64: f7fd fd24 bl 80049b0 (heth->Instance)->DMAOMR = tmpreg; - 8007400: 687b ldr r3, [r7, #4] - 8007402: 681a ldr r2, [r3, #0] - 8007404: f241 0318 movw r3, #4120 ; 0x1018 - 8007408: 4413 add r3, r2 - 800740a: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 800740e: 601a str r2, [r3, #0] + 8006f68: 687b ldr r3, [r7, #4] + 8006f6a: 681a ldr r2, [r3, #0] + 8006f6c: f241 0318 movw r3, #4120 ; 0x1018 + 8006f70: 4413 add r3, r2 + 8006f72: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006f76: 601a str r2, [r3, #0] /* Set the RPBL and 4*PBL bits according to ETH RxDMABurstLength value */ /* Set the PBL and 4*PBL bits according to ETH TxDMABurstLength value */ /* Set the Enhanced DMA descriptors bit according to ETH EnhancedDescriptorFormat value*/ /* Set the DSL bit according to ETH DesciptorSkipLength value */ /* Set the PR and DA bits according to ETH DMAArbitration value */ (heth->Instance)->DMABMR = (uint32_t)(dmainit.AddressAlignedBeats | - 8007410: 6afa ldr r2, [r7, #44] ; 0x2c + 8006f78: 6afa ldr r2, [r7, #44] ; 0x2c dmainit.FixedBurst | - 8007412: 6b3b ldr r3, [r7, #48] ; 0x30 + 8006f7a: 6b3b ldr r3, [r7, #48] ; 0x30 (heth->Instance)->DMABMR = (uint32_t)(dmainit.AddressAlignedBeats | - 8007414: 431a orrs r2, r3 + 8006f7c: 431a orrs r2, r3 dmainit.RxDMABurstLength | /* !! if 4xPBL is selected for Tx or Rx it is applied for the other */ - 8007416: 6b7b ldr r3, [r7, #52] ; 0x34 + 8006f7e: 6b7b ldr r3, [r7, #52] ; 0x34 dmainit.FixedBurst | - 8007418: 431a orrs r2, r3 + 8006f80: 431a orrs r2, r3 dmainit.TxDMABurstLength | - 800741a: 6bbb ldr r3, [r7, #56] ; 0x38 + 8006f82: 6bbb ldr r3, [r7, #56] ; 0x38 dmainit.RxDMABurstLength | /* !! if 4xPBL is selected for Tx or Rx it is applied for the other */ - 800741c: 431a orrs r2, r3 + 8006f84: 431a orrs r2, r3 dmainit.EnhancedDescriptorFormat | - 800741e: 6bfb ldr r3, [r7, #60] ; 0x3c + 8006f86: 6bfb ldr r3, [r7, #60] ; 0x3c dmainit.TxDMABurstLength | - 8007420: 431a orrs r2, r3 + 8006f88: 431a orrs r2, r3 (dmainit.DescriptorSkipLength << 2) | - 8007422: 6c3b ldr r3, [r7, #64] ; 0x40 - 8007424: 009b lsls r3, r3, #2 + 8006f8a: 6c3b ldr r3, [r7, #64] ; 0x40 + 8006f8c: 009b lsls r3, r3, #2 dmainit.EnhancedDescriptorFormat | - 8007426: 431a orrs r2, r3 + 8006f8e: 431a orrs r2, r3 dmainit.DMAArbitration | - 8007428: 6c7b ldr r3, [r7, #68] ; 0x44 + 8006f90: 6c7b ldr r3, [r7, #68] ; 0x44 (dmainit.DescriptorSkipLength << 2) | - 800742a: 431a orrs r2, r3 + 8006f92: 431a orrs r2, r3 (heth->Instance)->DMABMR = (uint32_t)(dmainit.AddressAlignedBeats | - 800742c: 687b ldr r3, [r7, #4] - 800742e: 681b ldr r3, [r3, #0] - 8007430: f442 0200 orr.w r2, r2, #8388608 ; 0x800000 - 8007434: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 8007438: 601a str r2, [r3, #0] + 8006f94: 687b ldr r3, [r7, #4] + 8006f96: 681b ldr r3, [r3, #0] + 8006f98: f442 0200 orr.w r2, r2, #8388608 ; 0x800000 + 8006f9c: f503 5380 add.w r3, r3, #4096 ; 0x1000 + 8006fa0: 601a str r2, [r3, #0] ETH_DMABMR_USP); /* Enable use of separate PBL for Rx and Tx */ /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->DMABMR; - 800743a: 687b ldr r3, [r7, #4] - 800743c: 681b ldr r3, [r3, #0] - 800743e: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 8007442: 681b ldr r3, [r3, #0] - 8007444: f8c7 30bc str.w r3, [r7, #188] ; 0xbc + 8006fa2: 687b ldr r3, [r7, #4] + 8006fa4: 681b ldr r3, [r3, #0] + 8006fa6: f503 5380 add.w r3, r3, #4096 ; 0x1000 + 8006faa: 681b ldr r3, [r3, #0] + 8006fac: f8c7 30bc str.w r3, [r7, #188] ; 0xbc HAL_Delay(ETH_REG_WRITE_DELAY); - 8007448: 2001 movs r0, #1 - 800744a: f7fd fcfd bl 8004e48 + 8006fb0: 2001 movs r0, #1 + 8006fb2: f7fd fcfd bl 80049b0 (heth->Instance)->DMABMR = tmpreg; - 800744e: 687b ldr r3, [r7, #4] - 8007450: 681b ldr r3, [r3, #0] - 8007452: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 8007456: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc - 800745a: 601a str r2, [r3, #0] + 8006fb6: 687b ldr r3, [r7, #4] + 8006fb8: 681b ldr r3, [r3, #0] + 8006fba: f503 5380 add.w r3, r3, #4096 ; 0x1000 + 8006fbe: f8d7 20bc ldr.w r2, [r7, #188] ; 0xbc + 8006fc2: 601a str r2, [r3, #0] if((heth->Init).RxMode == ETH_RXINTERRUPT_MODE) - 800745c: 687b ldr r3, [r7, #4] - 800745e: 699b ldr r3, [r3, #24] - 8007460: 2b01 cmp r3, #1 - 8007462: d10d bne.n 8007480 + 8006fc4: 687b ldr r3, [r7, #4] + 8006fc6: 699b ldr r3, [r3, #24] + 8006fc8: 2b01 cmp r3, #1 + 8006fca: d10d bne.n 8006fe8 { /* Enable the Ethernet Rx Interrupt */ __HAL_ETH_DMA_ENABLE_IT((heth), ETH_DMA_IT_NIS | ETH_DMA_IT_R); - 8007464: 687b ldr r3, [r7, #4] - 8007466: 681a ldr r2, [r3, #0] - 8007468: f241 031c movw r3, #4124 ; 0x101c - 800746c: 4413 add r3, r2 - 800746e: 681b ldr r3, [r3, #0] - 8007470: 687a ldr r2, [r7, #4] - 8007472: 6811 ldr r1, [r2, #0] - 8007474: 4a0a ldr r2, [pc, #40] ; (80074a0 ) - 8007476: 431a orrs r2, r3 - 8007478: f241 031c movw r3, #4124 ; 0x101c - 800747c: 440b add r3, r1 - 800747e: 601a str r2, [r3, #0] + 8006fcc: 687b ldr r3, [r7, #4] + 8006fce: 681a ldr r2, [r3, #0] + 8006fd0: f241 031c movw r3, #4124 ; 0x101c + 8006fd4: 4413 add r3, r2 + 8006fd6: 681b ldr r3, [r3, #0] + 8006fd8: 687a ldr r2, [r7, #4] + 8006fda: 6811 ldr r1, [r2, #0] + 8006fdc: 4a0a ldr r2, [pc, #40] ; (8007008 ) + 8006fde: 431a orrs r2, r3 + 8006fe0: f241 031c movw r3, #4124 ; 0x101c + 8006fe4: 440b add r3, r1 + 8006fe6: 601a str r2, [r3, #0] } /* Initialize MAC address in ethernet MAC */ ETH_MACAddressConfig(heth, ETH_MAC_ADDRESS0, heth->Init.MACAddr); - 8007480: 687b ldr r3, [r7, #4] - 8007482: 695b ldr r3, [r3, #20] - 8007484: 461a mov r2, r3 - 8007486: 2100 movs r1, #0 - 8007488: 6878 ldr r0, [r7, #4] - 800748a: f000 f80b bl 80074a4 + 8006fe8: 687b ldr r3, [r7, #4] + 8006fea: 695b ldr r3, [r3, #20] + 8006fec: 461a mov r2, r3 + 8006fee: 2100 movs r1, #0 + 8006ff0: 6878 ldr r0, [r7, #4] + 8006ff2: f000 f80b bl 800700c } - 800748e: bf00 nop - 8007490: 37c0 adds r7, #192 ; 0xc0 - 8007492: 46bd mov sp, r7 - 8007494: bd80 pop {r7, pc} - 8007496: bf00 nop - 8007498: ff20810f .word 0xff20810f - 800749c: f8de3f23 .word 0xf8de3f23 - 80074a0: 00010040 .word 0x00010040 + 8006ff6: bf00 nop + 8006ff8: 37c0 adds r7, #192 ; 0xc0 + 8006ffa: 46bd mov sp, r7 + 8006ffc: bd80 pop {r7, pc} + 8006ffe: bf00 nop + 8007000: ff20810f .word 0xff20810f + 8007004: f8de3f23 .word 0xf8de3f23 + 8007008: 00010040 .word 0x00010040 -080074a4 : +0800700c : * @arg ETH_MAC_Address3: MAC Address3 * @param Addr Pointer to MAC address buffer data (6 bytes) * @retval HAL status */ static void ETH_MACAddressConfig(ETH_HandleTypeDef *heth, uint32_t MacAddr, uint8_t *Addr) { - 80074a4: b480 push {r7} - 80074a6: b087 sub sp, #28 - 80074a8: af00 add r7, sp, #0 - 80074aa: 60f8 str r0, [r7, #12] - 80074ac: 60b9 str r1, [r7, #8] - 80074ae: 607a str r2, [r7, #4] + 800700c: b480 push {r7} + 800700e: b087 sub sp, #28 + 8007010: af00 add r7, sp, #0 + 8007012: 60f8 str r0, [r7, #12] + 8007014: 60b9 str r1, [r7, #8] + 8007016: 607a str r2, [r7, #4] /* Check the parameters */ assert_param(IS_ETH_MAC_ADDRESS0123(MacAddr)); /* Calculate the selected MAC address high register */ tmpreg = ((uint32_t)Addr[5] << 8) | (uint32_t)Addr[4]; - 80074b0: 687b ldr r3, [r7, #4] - 80074b2: 3305 adds r3, #5 - 80074b4: 781b ldrb r3, [r3, #0] - 80074b6: 021b lsls r3, r3, #8 - 80074b8: 687a ldr r2, [r7, #4] - 80074ba: 3204 adds r2, #4 - 80074bc: 7812 ldrb r2, [r2, #0] - 80074be: 4313 orrs r3, r2 - 80074c0: 617b str r3, [r7, #20] + 8007018: 687b ldr r3, [r7, #4] + 800701a: 3305 adds r3, #5 + 800701c: 781b ldrb r3, [r3, #0] + 800701e: 021b lsls r3, r3, #8 + 8007020: 687a ldr r2, [r7, #4] + 8007022: 3204 adds r2, #4 + 8007024: 7812 ldrb r2, [r2, #0] + 8007026: 4313 orrs r3, r2 + 8007028: 617b str r3, [r7, #20] /* Load the selected MAC address high register */ (*(__IO uint32_t *)((uint32_t)(ETH_MAC_ADDR_HBASE + MacAddr))) = tmpreg; - 80074c2: 68ba ldr r2, [r7, #8] - 80074c4: 4b11 ldr r3, [pc, #68] ; (800750c ) - 80074c6: 4413 add r3, r2 - 80074c8: 461a mov r2, r3 - 80074ca: 697b ldr r3, [r7, #20] - 80074cc: 6013 str r3, [r2, #0] + 800702a: 68ba ldr r2, [r7, #8] + 800702c: 4b11 ldr r3, [pc, #68] ; (8007074 ) + 800702e: 4413 add r3, r2 + 8007030: 461a mov r2, r3 + 8007032: 697b ldr r3, [r7, #20] + 8007034: 6013 str r3, [r2, #0] /* Calculate the selected MAC address low register */ tmpreg = ((uint32_t)Addr[3] << 24) | ((uint32_t)Addr[2] << 16) | ((uint32_t)Addr[1] << 8) | Addr[0]; - 80074ce: 687b ldr r3, [r7, #4] - 80074d0: 3303 adds r3, #3 - 80074d2: 781b ldrb r3, [r3, #0] - 80074d4: 061a lsls r2, r3, #24 - 80074d6: 687b ldr r3, [r7, #4] - 80074d8: 3302 adds r3, #2 - 80074da: 781b ldrb r3, [r3, #0] - 80074dc: 041b lsls r3, r3, #16 - 80074de: 431a orrs r2, r3 - 80074e0: 687b ldr r3, [r7, #4] - 80074e2: 3301 adds r3, #1 - 80074e4: 781b ldrb r3, [r3, #0] - 80074e6: 021b lsls r3, r3, #8 - 80074e8: 4313 orrs r3, r2 - 80074ea: 687a ldr r2, [r7, #4] - 80074ec: 7812 ldrb r2, [r2, #0] - 80074ee: 4313 orrs r3, r2 - 80074f0: 617b str r3, [r7, #20] + 8007036: 687b ldr r3, [r7, #4] + 8007038: 3303 adds r3, #3 + 800703a: 781b ldrb r3, [r3, #0] + 800703c: 061a lsls r2, r3, #24 + 800703e: 687b ldr r3, [r7, #4] + 8007040: 3302 adds r3, #2 + 8007042: 781b ldrb r3, [r3, #0] + 8007044: 041b lsls r3, r3, #16 + 8007046: 431a orrs r2, r3 + 8007048: 687b ldr r3, [r7, #4] + 800704a: 3301 adds r3, #1 + 800704c: 781b ldrb r3, [r3, #0] + 800704e: 021b lsls r3, r3, #8 + 8007050: 4313 orrs r3, r2 + 8007052: 687a ldr r2, [r7, #4] + 8007054: 7812 ldrb r2, [r2, #0] + 8007056: 4313 orrs r3, r2 + 8007058: 617b str r3, [r7, #20] /* Load the selected MAC address low register */ (*(__IO uint32_t *)((uint32_t)(ETH_MAC_ADDR_LBASE + MacAddr))) = tmpreg; - 80074f2: 68ba ldr r2, [r7, #8] - 80074f4: 4b06 ldr r3, [pc, #24] ; (8007510 ) - 80074f6: 4413 add r3, r2 - 80074f8: 461a mov r2, r3 - 80074fa: 697b ldr r3, [r7, #20] - 80074fc: 6013 str r3, [r2, #0] + 800705a: 68ba ldr r2, [r7, #8] + 800705c: 4b06 ldr r3, [pc, #24] ; (8007078 ) + 800705e: 4413 add r3, r2 + 8007060: 461a mov r2, r3 + 8007062: 697b ldr r3, [r7, #20] + 8007064: 6013 str r3, [r2, #0] } - 80074fe: bf00 nop - 8007500: 371c adds r7, #28 - 8007502: 46bd mov sp, r7 - 8007504: f85d 7b04 ldr.w r7, [sp], #4 - 8007508: 4770 bx lr - 800750a: bf00 nop - 800750c: 40028040 .word 0x40028040 - 8007510: 40028044 .word 0x40028044 + 8007066: bf00 nop + 8007068: 371c adds r7, #28 + 800706a: 46bd mov sp, r7 + 800706c: f85d 7b04 ldr.w r7, [sp], #4 + 8007070: 4770 bx lr + 8007072: bf00 nop + 8007074: 40028040 .word 0x40028040 + 8007078: 40028044 .word 0x40028044 -08007514 : +0800707c : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ static void ETH_MACTransmissionEnable(ETH_HandleTypeDef *heth) { - 8007514: b580 push {r7, lr} - 8007516: b084 sub sp, #16 - 8007518: af00 add r7, sp, #0 - 800751a: 6078 str r0, [r7, #4] + 800707c: b580 push {r7, lr} + 800707e: b084 sub sp, #16 + 8007080: af00 add r7, sp, #0 + 8007082: 6078 str r0, [r7, #4] __IO uint32_t tmpreg = 0; - 800751c: 2300 movs r3, #0 - 800751e: 60fb str r3, [r7, #12] + 8007084: 2300 movs r3, #0 + 8007086: 60fb str r3, [r7, #12] /* Enable the MAC transmission */ (heth->Instance)->MACCR |= ETH_MACCR_TE; - 8007520: 687b ldr r3, [r7, #4] - 8007522: 681b ldr r3, [r3, #0] - 8007524: 681a ldr r2, [r3, #0] - 8007526: 687b ldr r3, [r7, #4] - 8007528: 681b ldr r3, [r3, #0] - 800752a: f042 0208 orr.w r2, r2, #8 - 800752e: 601a str r2, [r3, #0] + 8007088: 687b ldr r3, [r7, #4] + 800708a: 681b ldr r3, [r3, #0] + 800708c: 681a ldr r2, [r3, #0] + 800708e: 687b ldr r3, [r7, #4] + 8007090: 681b ldr r3, [r3, #0] + 8007092: f042 0208 orr.w r2, r2, #8 + 8007096: 601a str r2, [r3, #0] /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->MACCR; - 8007530: 687b ldr r3, [r7, #4] - 8007532: 681b ldr r3, [r3, #0] - 8007534: 681b ldr r3, [r3, #0] - 8007536: 60fb str r3, [r7, #12] + 8007098: 687b ldr r3, [r7, #4] + 800709a: 681b ldr r3, [r3, #0] + 800709c: 681b ldr r3, [r3, #0] + 800709e: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 8007538: 2001 movs r0, #1 - 800753a: f7fd fc85 bl 8004e48 + 80070a0: 2001 movs r0, #1 + 80070a2: f7fd fc85 bl 80049b0 (heth->Instance)->MACCR = tmpreg; - 800753e: 687b ldr r3, [r7, #4] - 8007540: 681b ldr r3, [r3, #0] - 8007542: 68fa ldr r2, [r7, #12] - 8007544: 601a str r2, [r3, #0] + 80070a6: 687b ldr r3, [r7, #4] + 80070a8: 681b ldr r3, [r3, #0] + 80070aa: 68fa ldr r2, [r7, #12] + 80070ac: 601a str r2, [r3, #0] } - 8007546: bf00 nop - 8007548: 3710 adds r7, #16 - 800754a: 46bd mov sp, r7 - 800754c: bd80 pop {r7, pc} + 80070ae: bf00 nop + 80070b0: 3710 adds r7, #16 + 80070b2: 46bd mov sp, r7 + 80070b4: bd80 pop {r7, pc} -0800754e : +080070b6 : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ static void ETH_MACTransmissionDisable(ETH_HandleTypeDef *heth) { - 800754e: b580 push {r7, lr} - 8007550: b084 sub sp, #16 - 8007552: af00 add r7, sp, #0 - 8007554: 6078 str r0, [r7, #4] + 80070b6: b580 push {r7, lr} + 80070b8: b084 sub sp, #16 + 80070ba: af00 add r7, sp, #0 + 80070bc: 6078 str r0, [r7, #4] __IO uint32_t tmpreg = 0; - 8007556: 2300 movs r3, #0 - 8007558: 60fb str r3, [r7, #12] + 80070be: 2300 movs r3, #0 + 80070c0: 60fb str r3, [r7, #12] /* Disable the MAC transmission */ (heth->Instance)->MACCR &= ~ETH_MACCR_TE; - 800755a: 687b ldr r3, [r7, #4] - 800755c: 681b ldr r3, [r3, #0] - 800755e: 681a ldr r2, [r3, #0] - 8007560: 687b ldr r3, [r7, #4] - 8007562: 681b ldr r3, [r3, #0] - 8007564: f022 0208 bic.w r2, r2, #8 - 8007568: 601a str r2, [r3, #0] + 80070c2: 687b ldr r3, [r7, #4] + 80070c4: 681b ldr r3, [r3, #0] + 80070c6: 681a ldr r2, [r3, #0] + 80070c8: 687b ldr r3, [r7, #4] + 80070ca: 681b ldr r3, [r3, #0] + 80070cc: f022 0208 bic.w r2, r2, #8 + 80070d0: 601a str r2, [r3, #0] /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->MACCR; - 800756a: 687b ldr r3, [r7, #4] - 800756c: 681b ldr r3, [r3, #0] - 800756e: 681b ldr r3, [r3, #0] - 8007570: 60fb str r3, [r7, #12] + 80070d2: 687b ldr r3, [r7, #4] + 80070d4: 681b ldr r3, [r3, #0] + 80070d6: 681b ldr r3, [r3, #0] + 80070d8: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 8007572: 2001 movs r0, #1 - 8007574: f7fd fc68 bl 8004e48 + 80070da: 2001 movs r0, #1 + 80070dc: f7fd fc68 bl 80049b0 (heth->Instance)->MACCR = tmpreg; - 8007578: 687b ldr r3, [r7, #4] - 800757a: 681b ldr r3, [r3, #0] - 800757c: 68fa ldr r2, [r7, #12] - 800757e: 601a str r2, [r3, #0] + 80070e0: 687b ldr r3, [r7, #4] + 80070e2: 681b ldr r3, [r3, #0] + 80070e4: 68fa ldr r2, [r7, #12] + 80070e6: 601a str r2, [r3, #0] } - 8007580: bf00 nop - 8007582: 3710 adds r7, #16 - 8007584: 46bd mov sp, r7 - 8007586: bd80 pop {r7, pc} + 80070e8: bf00 nop + 80070ea: 3710 adds r7, #16 + 80070ec: 46bd mov sp, r7 + 80070ee: bd80 pop {r7, pc} -08007588 : +080070f0 : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ static void ETH_MACReceptionEnable(ETH_HandleTypeDef *heth) { - 8007588: b580 push {r7, lr} - 800758a: b084 sub sp, #16 - 800758c: af00 add r7, sp, #0 - 800758e: 6078 str r0, [r7, #4] + 80070f0: b580 push {r7, lr} + 80070f2: b084 sub sp, #16 + 80070f4: af00 add r7, sp, #0 + 80070f6: 6078 str r0, [r7, #4] __IO uint32_t tmpreg = 0; - 8007590: 2300 movs r3, #0 - 8007592: 60fb str r3, [r7, #12] + 80070f8: 2300 movs r3, #0 + 80070fa: 60fb str r3, [r7, #12] /* Enable the MAC reception */ (heth->Instance)->MACCR |= ETH_MACCR_RE; - 8007594: 687b ldr r3, [r7, #4] - 8007596: 681b ldr r3, [r3, #0] - 8007598: 681a ldr r2, [r3, #0] - 800759a: 687b ldr r3, [r7, #4] - 800759c: 681b ldr r3, [r3, #0] - 800759e: f042 0204 orr.w r2, r2, #4 - 80075a2: 601a str r2, [r3, #0] + 80070fc: 687b ldr r3, [r7, #4] + 80070fe: 681b ldr r3, [r3, #0] + 8007100: 681a ldr r2, [r3, #0] + 8007102: 687b ldr r3, [r7, #4] + 8007104: 681b ldr r3, [r3, #0] + 8007106: f042 0204 orr.w r2, r2, #4 + 800710a: 601a str r2, [r3, #0] /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->MACCR; - 80075a4: 687b ldr r3, [r7, #4] - 80075a6: 681b ldr r3, [r3, #0] - 80075a8: 681b ldr r3, [r3, #0] - 80075aa: 60fb str r3, [r7, #12] + 800710c: 687b ldr r3, [r7, #4] + 800710e: 681b ldr r3, [r3, #0] + 8007110: 681b ldr r3, [r3, #0] + 8007112: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 80075ac: 2001 movs r0, #1 - 80075ae: f7fd fc4b bl 8004e48 + 8007114: 2001 movs r0, #1 + 8007116: f7fd fc4b bl 80049b0 (heth->Instance)->MACCR = tmpreg; - 80075b2: 687b ldr r3, [r7, #4] - 80075b4: 681b ldr r3, [r3, #0] - 80075b6: 68fa ldr r2, [r7, #12] - 80075b8: 601a str r2, [r3, #0] + 800711a: 687b ldr r3, [r7, #4] + 800711c: 681b ldr r3, [r3, #0] + 800711e: 68fa ldr r2, [r7, #12] + 8007120: 601a str r2, [r3, #0] } - 80075ba: bf00 nop - 80075bc: 3710 adds r7, #16 - 80075be: 46bd mov sp, r7 - 80075c0: bd80 pop {r7, pc} + 8007122: bf00 nop + 8007124: 3710 adds r7, #16 + 8007126: 46bd mov sp, r7 + 8007128: bd80 pop {r7, pc} -080075c2 : +0800712a : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ static void ETH_MACReceptionDisable(ETH_HandleTypeDef *heth) { - 80075c2: b580 push {r7, lr} - 80075c4: b084 sub sp, #16 - 80075c6: af00 add r7, sp, #0 - 80075c8: 6078 str r0, [r7, #4] + 800712a: b580 push {r7, lr} + 800712c: b084 sub sp, #16 + 800712e: af00 add r7, sp, #0 + 8007130: 6078 str r0, [r7, #4] __IO uint32_t tmpreg = 0; - 80075ca: 2300 movs r3, #0 - 80075cc: 60fb str r3, [r7, #12] + 8007132: 2300 movs r3, #0 + 8007134: 60fb str r3, [r7, #12] /* Disable the MAC reception */ (heth->Instance)->MACCR &= ~ETH_MACCR_RE; - 80075ce: 687b ldr r3, [r7, #4] - 80075d0: 681b ldr r3, [r3, #0] - 80075d2: 681a ldr r2, [r3, #0] - 80075d4: 687b ldr r3, [r7, #4] - 80075d6: 681b ldr r3, [r3, #0] - 80075d8: f022 0204 bic.w r2, r2, #4 - 80075dc: 601a str r2, [r3, #0] + 8007136: 687b ldr r3, [r7, #4] + 8007138: 681b ldr r3, [r3, #0] + 800713a: 681a ldr r2, [r3, #0] + 800713c: 687b ldr r3, [r7, #4] + 800713e: 681b ldr r3, [r3, #0] + 8007140: f022 0204 bic.w r2, r2, #4 + 8007144: 601a str r2, [r3, #0] /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->MACCR; - 80075de: 687b ldr r3, [r7, #4] - 80075e0: 681b ldr r3, [r3, #0] - 80075e2: 681b ldr r3, [r3, #0] - 80075e4: 60fb str r3, [r7, #12] + 8007146: 687b ldr r3, [r7, #4] + 8007148: 681b ldr r3, [r3, #0] + 800714a: 681b ldr r3, [r3, #0] + 800714c: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 80075e6: 2001 movs r0, #1 - 80075e8: f7fd fc2e bl 8004e48 + 800714e: 2001 movs r0, #1 + 8007150: f7fd fc2e bl 80049b0 (heth->Instance)->MACCR = tmpreg; - 80075ec: 687b ldr r3, [r7, #4] - 80075ee: 681b ldr r3, [r3, #0] - 80075f0: 68fa ldr r2, [r7, #12] - 80075f2: 601a str r2, [r3, #0] + 8007154: 687b ldr r3, [r7, #4] + 8007156: 681b ldr r3, [r3, #0] + 8007158: 68fa ldr r2, [r7, #12] + 800715a: 601a str r2, [r3, #0] } - 80075f4: bf00 nop - 80075f6: 3710 adds r7, #16 - 80075f8: 46bd mov sp, r7 - 80075fa: bd80 pop {r7, pc} + 800715c: bf00 nop + 800715e: 3710 adds r7, #16 + 8007160: 46bd mov sp, r7 + 8007162: bd80 pop {r7, pc} -080075fc : +08007164 : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ static void ETH_DMATransmissionEnable(ETH_HandleTypeDef *heth) { - 80075fc: b480 push {r7} - 80075fe: b083 sub sp, #12 - 8007600: af00 add r7, sp, #0 - 8007602: 6078 str r0, [r7, #4] + 8007164: b480 push {r7} + 8007166: b083 sub sp, #12 + 8007168: af00 add r7, sp, #0 + 800716a: 6078 str r0, [r7, #4] /* Enable the DMA transmission */ (heth->Instance)->DMAOMR |= ETH_DMAOMR_ST; - 8007604: 687b ldr r3, [r7, #4] - 8007606: 681a ldr r2, [r3, #0] - 8007608: f241 0318 movw r3, #4120 ; 0x1018 - 800760c: 4413 add r3, r2 - 800760e: 681b ldr r3, [r3, #0] - 8007610: 687a ldr r2, [r7, #4] - 8007612: 6811 ldr r1, [r2, #0] - 8007614: f443 5200 orr.w r2, r3, #8192 ; 0x2000 - 8007618: f241 0318 movw r3, #4120 ; 0x1018 - 800761c: 440b add r3, r1 - 800761e: 601a str r2, [r3, #0] + 800716c: 687b ldr r3, [r7, #4] + 800716e: 681a ldr r2, [r3, #0] + 8007170: f241 0318 movw r3, #4120 ; 0x1018 + 8007174: 4413 add r3, r2 + 8007176: 681b ldr r3, [r3, #0] + 8007178: 687a ldr r2, [r7, #4] + 800717a: 6811 ldr r1, [r2, #0] + 800717c: f443 5200 orr.w r2, r3, #8192 ; 0x2000 + 8007180: f241 0318 movw r3, #4120 ; 0x1018 + 8007184: 440b add r3, r1 + 8007186: 601a str r2, [r3, #0] } - 8007620: bf00 nop - 8007622: 370c adds r7, #12 - 8007624: 46bd mov sp, r7 - 8007626: f85d 7b04 ldr.w r7, [sp], #4 - 800762a: 4770 bx lr + 8007188: bf00 nop + 800718a: 370c adds r7, #12 + 800718c: 46bd mov sp, r7 + 800718e: f85d 7b04 ldr.w r7, [sp], #4 + 8007192: 4770 bx lr -0800762c : +08007194 : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ static void ETH_DMATransmissionDisable(ETH_HandleTypeDef *heth) { - 800762c: b480 push {r7} - 800762e: b083 sub sp, #12 - 8007630: af00 add r7, sp, #0 - 8007632: 6078 str r0, [r7, #4] + 8007194: b480 push {r7} + 8007196: b083 sub sp, #12 + 8007198: af00 add r7, sp, #0 + 800719a: 6078 str r0, [r7, #4] /* Disable the DMA transmission */ (heth->Instance)->DMAOMR &= ~ETH_DMAOMR_ST; - 8007634: 687b ldr r3, [r7, #4] - 8007636: 681a ldr r2, [r3, #0] - 8007638: f241 0318 movw r3, #4120 ; 0x1018 - 800763c: 4413 add r3, r2 - 800763e: 681b ldr r3, [r3, #0] - 8007640: 687a ldr r2, [r7, #4] - 8007642: 6811 ldr r1, [r2, #0] - 8007644: f423 5200 bic.w r2, r3, #8192 ; 0x2000 - 8007648: f241 0318 movw r3, #4120 ; 0x1018 - 800764c: 440b add r3, r1 - 800764e: 601a str r2, [r3, #0] + 800719c: 687b ldr r3, [r7, #4] + 800719e: 681a ldr r2, [r3, #0] + 80071a0: f241 0318 movw r3, #4120 ; 0x1018 + 80071a4: 4413 add r3, r2 + 80071a6: 681b ldr r3, [r3, #0] + 80071a8: 687a ldr r2, [r7, #4] + 80071aa: 6811 ldr r1, [r2, #0] + 80071ac: f423 5200 bic.w r2, r3, #8192 ; 0x2000 + 80071b0: f241 0318 movw r3, #4120 ; 0x1018 + 80071b4: 440b add r3, r1 + 80071b6: 601a str r2, [r3, #0] } - 8007650: bf00 nop - 8007652: 370c adds r7, #12 - 8007654: 46bd mov sp, r7 - 8007656: f85d 7b04 ldr.w r7, [sp], #4 - 800765a: 4770 bx lr + 80071b8: bf00 nop + 80071ba: 370c adds r7, #12 + 80071bc: 46bd mov sp, r7 + 80071be: f85d 7b04 ldr.w r7, [sp], #4 + 80071c2: 4770 bx lr -0800765c : +080071c4 : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ static void ETH_DMAReceptionEnable(ETH_HandleTypeDef *heth) { - 800765c: b480 push {r7} - 800765e: b083 sub sp, #12 - 8007660: af00 add r7, sp, #0 - 8007662: 6078 str r0, [r7, #4] + 80071c4: b480 push {r7} + 80071c6: b083 sub sp, #12 + 80071c8: af00 add r7, sp, #0 + 80071ca: 6078 str r0, [r7, #4] /* Enable the DMA reception */ (heth->Instance)->DMAOMR |= ETH_DMAOMR_SR; - 8007664: 687b ldr r3, [r7, #4] - 8007666: 681a ldr r2, [r3, #0] - 8007668: f241 0318 movw r3, #4120 ; 0x1018 - 800766c: 4413 add r3, r2 - 800766e: 681b ldr r3, [r3, #0] - 8007670: 687a ldr r2, [r7, #4] - 8007672: 6811 ldr r1, [r2, #0] - 8007674: f043 0202 orr.w r2, r3, #2 - 8007678: f241 0318 movw r3, #4120 ; 0x1018 - 800767c: 440b add r3, r1 - 800767e: 601a str r2, [r3, #0] + 80071cc: 687b ldr r3, [r7, #4] + 80071ce: 681a ldr r2, [r3, #0] + 80071d0: f241 0318 movw r3, #4120 ; 0x1018 + 80071d4: 4413 add r3, r2 + 80071d6: 681b ldr r3, [r3, #0] + 80071d8: 687a ldr r2, [r7, #4] + 80071da: 6811 ldr r1, [r2, #0] + 80071dc: f043 0202 orr.w r2, r3, #2 + 80071e0: f241 0318 movw r3, #4120 ; 0x1018 + 80071e4: 440b add r3, r1 + 80071e6: 601a str r2, [r3, #0] } - 8007680: bf00 nop - 8007682: 370c adds r7, #12 - 8007684: 46bd mov sp, r7 - 8007686: f85d 7b04 ldr.w r7, [sp], #4 - 800768a: 4770 bx lr + 80071e8: bf00 nop + 80071ea: 370c adds r7, #12 + 80071ec: 46bd mov sp, r7 + 80071ee: f85d 7b04 ldr.w r7, [sp], #4 + 80071f2: 4770 bx lr -0800768c : +080071f4 : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ static void ETH_DMAReceptionDisable(ETH_HandleTypeDef *heth) { - 800768c: b480 push {r7} - 800768e: b083 sub sp, #12 - 8007690: af00 add r7, sp, #0 - 8007692: 6078 str r0, [r7, #4] + 80071f4: b480 push {r7} + 80071f6: b083 sub sp, #12 + 80071f8: af00 add r7, sp, #0 + 80071fa: 6078 str r0, [r7, #4] /* Disable the DMA reception */ (heth->Instance)->DMAOMR &= ~ETH_DMAOMR_SR; - 8007694: 687b ldr r3, [r7, #4] - 8007696: 681a ldr r2, [r3, #0] - 8007698: f241 0318 movw r3, #4120 ; 0x1018 - 800769c: 4413 add r3, r2 - 800769e: 681b ldr r3, [r3, #0] - 80076a0: 687a ldr r2, [r7, #4] - 80076a2: 6811 ldr r1, [r2, #0] - 80076a4: f023 0202 bic.w r2, r3, #2 - 80076a8: f241 0318 movw r3, #4120 ; 0x1018 - 80076ac: 440b add r3, r1 - 80076ae: 601a str r2, [r3, #0] + 80071fc: 687b ldr r3, [r7, #4] + 80071fe: 681a ldr r2, [r3, #0] + 8007200: f241 0318 movw r3, #4120 ; 0x1018 + 8007204: 4413 add r3, r2 + 8007206: 681b ldr r3, [r3, #0] + 8007208: 687a ldr r2, [r7, #4] + 800720a: 6811 ldr r1, [r2, #0] + 800720c: f023 0202 bic.w r2, r3, #2 + 8007210: f241 0318 movw r3, #4120 ; 0x1018 + 8007214: 440b add r3, r1 + 8007216: 601a str r2, [r3, #0] } - 80076b0: bf00 nop - 80076b2: 370c adds r7, #12 - 80076b4: 46bd mov sp, r7 - 80076b6: f85d 7b04 ldr.w r7, [sp], #4 - 80076ba: 4770 bx lr + 8007218: bf00 nop + 800721a: 370c adds r7, #12 + 800721c: 46bd mov sp, r7 + 800721e: f85d 7b04 ldr.w r7, [sp], #4 + 8007222: 4770 bx lr -080076bc : +08007224 : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ static void ETH_FlushTransmitFIFO(ETH_HandleTypeDef *heth) { - 80076bc: b580 push {r7, lr} - 80076be: b084 sub sp, #16 - 80076c0: af00 add r7, sp, #0 - 80076c2: 6078 str r0, [r7, #4] + 8007224: b580 push {r7, lr} + 8007226: b084 sub sp, #16 + 8007228: af00 add r7, sp, #0 + 800722a: 6078 str r0, [r7, #4] __IO uint32_t tmpreg = 0; - 80076c4: 2300 movs r3, #0 - 80076c6: 60fb str r3, [r7, #12] + 800722c: 2300 movs r3, #0 + 800722e: 60fb str r3, [r7, #12] /* Set the Flush Transmit FIFO bit */ (heth->Instance)->DMAOMR |= ETH_DMAOMR_FTF; - 80076c8: 687b ldr r3, [r7, #4] - 80076ca: 681a ldr r2, [r3, #0] - 80076cc: f241 0318 movw r3, #4120 ; 0x1018 - 80076d0: 4413 add r3, r2 - 80076d2: 681b ldr r3, [r3, #0] - 80076d4: 687a ldr r2, [r7, #4] - 80076d6: 6811 ldr r1, [r2, #0] - 80076d8: f443 1280 orr.w r2, r3, #1048576 ; 0x100000 - 80076dc: f241 0318 movw r3, #4120 ; 0x1018 - 80076e0: 440b add r3, r1 - 80076e2: 601a str r2, [r3, #0] + 8007230: 687b ldr r3, [r7, #4] + 8007232: 681a ldr r2, [r3, #0] + 8007234: f241 0318 movw r3, #4120 ; 0x1018 + 8007238: 4413 add r3, r2 + 800723a: 681b ldr r3, [r3, #0] + 800723c: 687a ldr r2, [r7, #4] + 800723e: 6811 ldr r1, [r2, #0] + 8007240: f443 1280 orr.w r2, r3, #1048576 ; 0x100000 + 8007244: f241 0318 movw r3, #4120 ; 0x1018 + 8007248: 440b add r3, r1 + 800724a: 601a str r2, [r3, #0] /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->DMAOMR; - 80076e4: 687b ldr r3, [r7, #4] - 80076e6: 681a ldr r2, [r3, #0] - 80076e8: f241 0318 movw r3, #4120 ; 0x1018 - 80076ec: 4413 add r3, r2 - 80076ee: 681b ldr r3, [r3, #0] - 80076f0: 60fb str r3, [r7, #12] + 800724c: 687b ldr r3, [r7, #4] + 800724e: 681a ldr r2, [r3, #0] + 8007250: f241 0318 movw r3, #4120 ; 0x1018 + 8007254: 4413 add r3, r2 + 8007256: 681b ldr r3, [r3, #0] + 8007258: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 80076f2: 2001 movs r0, #1 - 80076f4: f7fd fba8 bl 8004e48 + 800725a: 2001 movs r0, #1 + 800725c: f7fd fba8 bl 80049b0 (heth->Instance)->DMAOMR = tmpreg; - 80076f8: 687b ldr r3, [r7, #4] - 80076fa: 6819 ldr r1, [r3, #0] - 80076fc: 68fa ldr r2, [r7, #12] - 80076fe: f241 0318 movw r3, #4120 ; 0x1018 - 8007702: 440b add r3, r1 - 8007704: 601a str r2, [r3, #0] + 8007260: 687b ldr r3, [r7, #4] + 8007262: 6819 ldr r1, [r3, #0] + 8007264: 68fa ldr r2, [r7, #12] + 8007266: f241 0318 movw r3, #4120 ; 0x1018 + 800726a: 440b add r3, r1 + 800726c: 601a str r2, [r3, #0] } - 8007706: bf00 nop - 8007708: 3710 adds r7, #16 - 800770a: 46bd mov sp, r7 - 800770c: bd80 pop {r7, pc} + 800726e: bf00 nop + 8007270: 3710 adds r7, #16 + 8007272: 46bd mov sp, r7 + 8007274: bd80 pop {r7, pc} ... -08007710 : +08007278 : * @param GPIO_Init pointer to a GPIO_InitTypeDef structure that contains * the configuration information for the specified GPIO peripheral. * @retval None */ void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init) { - 8007710: b480 push {r7} - 8007712: b089 sub sp, #36 ; 0x24 - 8007714: af00 add r7, sp, #0 - 8007716: 6078 str r0, [r7, #4] - 8007718: 6039 str r1, [r7, #0] + 8007278: b480 push {r7} + 800727a: b089 sub sp, #36 ; 0x24 + 800727c: af00 add r7, sp, #0 + 800727e: 6078 str r0, [r7, #4] + 8007280: 6039 str r1, [r7, #0] uint32_t position = 0x00; - 800771a: 2300 movs r3, #0 - 800771c: 61fb str r3, [r7, #28] + 8007282: 2300 movs r3, #0 + 8007284: 61fb str r3, [r7, #28] uint32_t ioposition = 0x00; - 800771e: 2300 movs r3, #0 - 8007720: 617b str r3, [r7, #20] + 8007286: 2300 movs r3, #0 + 8007288: 617b str r3, [r7, #20] uint32_t iocurrent = 0x00; - 8007722: 2300 movs r3, #0 - 8007724: 613b str r3, [r7, #16] + 800728a: 2300 movs r3, #0 + 800728c: 613b str r3, [r7, #16] uint32_t temp = 0x00; - 8007726: 2300 movs r3, #0 - 8007728: 61bb str r3, [r7, #24] + 800728e: 2300 movs r3, #0 + 8007290: 61bb str r3, [r7, #24] assert_param(IS_GPIO_PIN(GPIO_Init->Pin)); assert_param(IS_GPIO_MODE(GPIO_Init->Mode)); assert_param(IS_GPIO_PULL(GPIO_Init->Pull)); /* Configure the port pins */ for(position = 0; position < GPIO_NUMBER; position++) - 800772a: 2300 movs r3, #0 - 800772c: 61fb str r3, [r7, #28] - 800772e: e175 b.n 8007a1c + 8007292: 2300 movs r3, #0 + 8007294: 61fb str r3, [r7, #28] + 8007296: e175 b.n 8007584 { /* Get the IO position */ ioposition = ((uint32_t)0x01) << position; - 8007730: 2201 movs r2, #1 - 8007732: 69fb ldr r3, [r7, #28] - 8007734: fa02 f303 lsl.w r3, r2, r3 - 8007738: 617b str r3, [r7, #20] + 8007298: 2201 movs r2, #1 + 800729a: 69fb ldr r3, [r7, #28] + 800729c: fa02 f303 lsl.w r3, r2, r3 + 80072a0: 617b str r3, [r7, #20] /* Get the current IO position */ iocurrent = (uint32_t)(GPIO_Init->Pin) & ioposition; - 800773a: 683b ldr r3, [r7, #0] - 800773c: 681b ldr r3, [r3, #0] - 800773e: 697a ldr r2, [r7, #20] - 8007740: 4013 ands r3, r2 - 8007742: 613b str r3, [r7, #16] + 80072a2: 683b ldr r3, [r7, #0] + 80072a4: 681b ldr r3, [r3, #0] + 80072a6: 697a ldr r2, [r7, #20] + 80072a8: 4013 ands r3, r2 + 80072aa: 613b str r3, [r7, #16] if(iocurrent == ioposition) - 8007744: 693a ldr r2, [r7, #16] - 8007746: 697b ldr r3, [r7, #20] - 8007748: 429a cmp r2, r3 - 800774a: f040 8164 bne.w 8007a16 + 80072ac: 693a ldr r2, [r7, #16] + 80072ae: 697b ldr r3, [r7, #20] + 80072b0: 429a cmp r2, r3 + 80072b2: f040 8164 bne.w 800757e { /*--------------------- GPIO Mode Configuration ------------------------*/ /* In case of Output or Alternate function mode selection */ if((GPIO_Init->Mode == GPIO_MODE_OUTPUT_PP) || (GPIO_Init->Mode == GPIO_MODE_AF_PP) || - 800774e: 683b ldr r3, [r7, #0] - 8007750: 685b ldr r3, [r3, #4] - 8007752: 2b01 cmp r3, #1 - 8007754: d00b beq.n 800776e - 8007756: 683b ldr r3, [r7, #0] - 8007758: 685b ldr r3, [r3, #4] - 800775a: 2b02 cmp r3, #2 - 800775c: d007 beq.n 800776e + 80072b6: 683b ldr r3, [r7, #0] + 80072b8: 685b ldr r3, [r3, #4] + 80072ba: 2b01 cmp r3, #1 + 80072bc: d00b beq.n 80072d6 + 80072be: 683b ldr r3, [r7, #0] + 80072c0: 685b ldr r3, [r3, #4] + 80072c2: 2b02 cmp r3, #2 + 80072c4: d007 beq.n 80072d6 (GPIO_Init->Mode == GPIO_MODE_OUTPUT_OD) || (GPIO_Init->Mode == GPIO_MODE_AF_OD)) - 800775e: 683b ldr r3, [r7, #0] - 8007760: 685b ldr r3, [r3, #4] + 80072c6: 683b ldr r3, [r7, #0] + 80072c8: 685b ldr r3, [r3, #4] if((GPIO_Init->Mode == GPIO_MODE_OUTPUT_PP) || (GPIO_Init->Mode == GPIO_MODE_AF_PP) || - 8007762: 2b11 cmp r3, #17 - 8007764: d003 beq.n 800776e + 80072ca: 2b11 cmp r3, #17 + 80072cc: d003 beq.n 80072d6 (GPIO_Init->Mode == GPIO_MODE_OUTPUT_OD) || (GPIO_Init->Mode == GPIO_MODE_AF_OD)) - 8007766: 683b ldr r3, [r7, #0] - 8007768: 685b ldr r3, [r3, #4] - 800776a: 2b12 cmp r3, #18 - 800776c: d130 bne.n 80077d0 + 80072ce: 683b ldr r3, [r7, #0] + 80072d0: 685b ldr r3, [r3, #4] + 80072d2: 2b12 cmp r3, #18 + 80072d4: d130 bne.n 8007338 { /* Check the Speed parameter */ assert_param(IS_GPIO_SPEED(GPIO_Init->Speed)); /* Configure the IO Speed */ temp = GPIOx->OSPEEDR; - 800776e: 687b ldr r3, [r7, #4] - 8007770: 689b ldr r3, [r3, #8] - 8007772: 61bb str r3, [r7, #24] + 80072d6: 687b ldr r3, [r7, #4] + 80072d8: 689b ldr r3, [r3, #8] + 80072da: 61bb str r3, [r7, #24] temp &= ~(GPIO_OSPEEDER_OSPEEDR0 << (position * 2)); - 8007774: 69fb ldr r3, [r7, #28] - 8007776: 005b lsls r3, r3, #1 - 8007778: 2203 movs r2, #3 - 800777a: fa02 f303 lsl.w r3, r2, r3 - 800777e: 43db mvns r3, r3 - 8007780: 69ba ldr r2, [r7, #24] - 8007782: 4013 ands r3, r2 - 8007784: 61bb str r3, [r7, #24] + 80072dc: 69fb ldr r3, [r7, #28] + 80072de: 005b lsls r3, r3, #1 + 80072e0: 2203 movs r2, #3 + 80072e2: fa02 f303 lsl.w r3, r2, r3 + 80072e6: 43db mvns r3, r3 + 80072e8: 69ba ldr r2, [r7, #24] + 80072ea: 4013 ands r3, r2 + 80072ec: 61bb str r3, [r7, #24] temp |= (GPIO_Init->Speed << (position * 2)); - 8007786: 683b ldr r3, [r7, #0] - 8007788: 68da ldr r2, [r3, #12] - 800778a: 69fb ldr r3, [r7, #28] - 800778c: 005b lsls r3, r3, #1 - 800778e: fa02 f303 lsl.w r3, r2, r3 - 8007792: 69ba ldr r2, [r7, #24] - 8007794: 4313 orrs r3, r2 - 8007796: 61bb str r3, [r7, #24] + 80072ee: 683b ldr r3, [r7, #0] + 80072f0: 68da ldr r2, [r3, #12] + 80072f2: 69fb ldr r3, [r7, #28] + 80072f4: 005b lsls r3, r3, #1 + 80072f6: fa02 f303 lsl.w r3, r2, r3 + 80072fa: 69ba ldr r2, [r7, #24] + 80072fc: 4313 orrs r3, r2 + 80072fe: 61bb str r3, [r7, #24] GPIOx->OSPEEDR = temp; - 8007798: 687b ldr r3, [r7, #4] - 800779a: 69ba ldr r2, [r7, #24] - 800779c: 609a str r2, [r3, #8] + 8007300: 687b ldr r3, [r7, #4] + 8007302: 69ba ldr r2, [r7, #24] + 8007304: 609a str r2, [r3, #8] /* Configure the IO Output Type */ temp = GPIOx->OTYPER; - 800779e: 687b ldr r3, [r7, #4] - 80077a0: 685b ldr r3, [r3, #4] - 80077a2: 61bb str r3, [r7, #24] + 8007306: 687b ldr r3, [r7, #4] + 8007308: 685b ldr r3, [r3, #4] + 800730a: 61bb str r3, [r7, #24] temp &= ~(GPIO_OTYPER_OT_0 << position) ; - 80077a4: 2201 movs r2, #1 - 80077a6: 69fb ldr r3, [r7, #28] - 80077a8: fa02 f303 lsl.w r3, r2, r3 - 80077ac: 43db mvns r3, r3 - 80077ae: 69ba ldr r2, [r7, #24] - 80077b0: 4013 ands r3, r2 - 80077b2: 61bb str r3, [r7, #24] + 800730c: 2201 movs r2, #1 + 800730e: 69fb ldr r3, [r7, #28] + 8007310: fa02 f303 lsl.w r3, r2, r3 + 8007314: 43db mvns r3, r3 + 8007316: 69ba ldr r2, [r7, #24] + 8007318: 4013 ands r3, r2 + 800731a: 61bb str r3, [r7, #24] temp |= (((GPIO_Init->Mode & GPIO_OUTPUT_TYPE) >> 4) << position); - 80077b4: 683b ldr r3, [r7, #0] - 80077b6: 685b ldr r3, [r3, #4] - 80077b8: 091b lsrs r3, r3, #4 - 80077ba: f003 0201 and.w r2, r3, #1 - 80077be: 69fb ldr r3, [r7, #28] - 80077c0: fa02 f303 lsl.w r3, r2, r3 - 80077c4: 69ba ldr r2, [r7, #24] - 80077c6: 4313 orrs r3, r2 - 80077c8: 61bb str r3, [r7, #24] + 800731c: 683b ldr r3, [r7, #0] + 800731e: 685b ldr r3, [r3, #4] + 8007320: 091b lsrs r3, r3, #4 + 8007322: f003 0201 and.w r2, r3, #1 + 8007326: 69fb ldr r3, [r7, #28] + 8007328: fa02 f303 lsl.w r3, r2, r3 + 800732c: 69ba ldr r2, [r7, #24] + 800732e: 4313 orrs r3, r2 + 8007330: 61bb str r3, [r7, #24] GPIOx->OTYPER = temp; - 80077ca: 687b ldr r3, [r7, #4] - 80077cc: 69ba ldr r2, [r7, #24] - 80077ce: 605a str r2, [r3, #4] + 8007332: 687b ldr r3, [r7, #4] + 8007334: 69ba ldr r2, [r7, #24] + 8007336: 605a str r2, [r3, #4] } /* Activate the Pull-up or Pull down resistor for the current IO */ temp = GPIOx->PUPDR; - 80077d0: 687b ldr r3, [r7, #4] - 80077d2: 68db ldr r3, [r3, #12] - 80077d4: 61bb str r3, [r7, #24] + 8007338: 687b ldr r3, [r7, #4] + 800733a: 68db ldr r3, [r3, #12] + 800733c: 61bb str r3, [r7, #24] temp &= ~(GPIO_PUPDR_PUPDR0 << (position * 2)); - 80077d6: 69fb ldr r3, [r7, #28] - 80077d8: 005b lsls r3, r3, #1 - 80077da: 2203 movs r2, #3 - 80077dc: fa02 f303 lsl.w r3, r2, r3 - 80077e0: 43db mvns r3, r3 - 80077e2: 69ba ldr r2, [r7, #24] - 80077e4: 4013 ands r3, r2 - 80077e6: 61bb str r3, [r7, #24] + 800733e: 69fb ldr r3, [r7, #28] + 8007340: 005b lsls r3, r3, #1 + 8007342: 2203 movs r2, #3 + 8007344: fa02 f303 lsl.w r3, r2, r3 + 8007348: 43db mvns r3, r3 + 800734a: 69ba ldr r2, [r7, #24] + 800734c: 4013 ands r3, r2 + 800734e: 61bb str r3, [r7, #24] temp |= ((GPIO_Init->Pull) << (position * 2)); - 80077e8: 683b ldr r3, [r7, #0] - 80077ea: 689a ldr r2, [r3, #8] - 80077ec: 69fb ldr r3, [r7, #28] - 80077ee: 005b lsls r3, r3, #1 - 80077f0: fa02 f303 lsl.w r3, r2, r3 - 80077f4: 69ba ldr r2, [r7, #24] - 80077f6: 4313 orrs r3, r2 - 80077f8: 61bb str r3, [r7, #24] + 8007350: 683b ldr r3, [r7, #0] + 8007352: 689a ldr r2, [r3, #8] + 8007354: 69fb ldr r3, [r7, #28] + 8007356: 005b lsls r3, r3, #1 + 8007358: fa02 f303 lsl.w r3, r2, r3 + 800735c: 69ba ldr r2, [r7, #24] + 800735e: 4313 orrs r3, r2 + 8007360: 61bb str r3, [r7, #24] GPIOx->PUPDR = temp; - 80077fa: 687b ldr r3, [r7, #4] - 80077fc: 69ba ldr r2, [r7, #24] - 80077fe: 60da str r2, [r3, #12] + 8007362: 687b ldr r3, [r7, #4] + 8007364: 69ba ldr r2, [r7, #24] + 8007366: 60da str r2, [r3, #12] /* In case of Alternate function mode selection */ if((GPIO_Init->Mode == GPIO_MODE_AF_PP) || (GPIO_Init->Mode == GPIO_MODE_AF_OD)) - 8007800: 683b ldr r3, [r7, #0] - 8007802: 685b ldr r3, [r3, #4] - 8007804: 2b02 cmp r3, #2 - 8007806: d003 beq.n 8007810 - 8007808: 683b ldr r3, [r7, #0] - 800780a: 685b ldr r3, [r3, #4] - 800780c: 2b12 cmp r3, #18 - 800780e: d123 bne.n 8007858 + 8007368: 683b ldr r3, [r7, #0] + 800736a: 685b ldr r3, [r3, #4] + 800736c: 2b02 cmp r3, #2 + 800736e: d003 beq.n 8007378 + 8007370: 683b ldr r3, [r7, #0] + 8007372: 685b ldr r3, [r3, #4] + 8007374: 2b12 cmp r3, #18 + 8007376: d123 bne.n 80073c0 { /* Check the Alternate function parameter */ assert_param(IS_GPIO_AF(GPIO_Init->Alternate)); /* Configure Alternate function mapped with the current IO */ temp = GPIOx->AFR[position >> 3]; - 8007810: 69fb ldr r3, [r7, #28] - 8007812: 08da lsrs r2, r3, #3 - 8007814: 687b ldr r3, [r7, #4] - 8007816: 3208 adds r2, #8 - 8007818: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 800781c: 61bb str r3, [r7, #24] + 8007378: 69fb ldr r3, [r7, #28] + 800737a: 08da lsrs r2, r3, #3 + 800737c: 687b ldr r3, [r7, #4] + 800737e: 3208 adds r2, #8 + 8007380: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8007384: 61bb str r3, [r7, #24] temp &= ~((uint32_t)0xF << ((uint32_t)(position & (uint32_t)0x07) * 4)) ; - 800781e: 69fb ldr r3, [r7, #28] - 8007820: f003 0307 and.w r3, r3, #7 - 8007824: 009b lsls r3, r3, #2 - 8007826: 220f movs r2, #15 - 8007828: fa02 f303 lsl.w r3, r2, r3 - 800782c: 43db mvns r3, r3 - 800782e: 69ba ldr r2, [r7, #24] - 8007830: 4013 ands r3, r2 - 8007832: 61bb str r3, [r7, #24] + 8007386: 69fb ldr r3, [r7, #28] + 8007388: f003 0307 and.w r3, r3, #7 + 800738c: 009b lsls r3, r3, #2 + 800738e: 220f movs r2, #15 + 8007390: fa02 f303 lsl.w r3, r2, r3 + 8007394: 43db mvns r3, r3 + 8007396: 69ba ldr r2, [r7, #24] + 8007398: 4013 ands r3, r2 + 800739a: 61bb str r3, [r7, #24] temp |= ((uint32_t)(GPIO_Init->Alternate) << (((uint32_t)position & (uint32_t)0x07) * 4)); - 8007834: 683b ldr r3, [r7, #0] - 8007836: 691a ldr r2, [r3, #16] - 8007838: 69fb ldr r3, [r7, #28] - 800783a: f003 0307 and.w r3, r3, #7 - 800783e: 009b lsls r3, r3, #2 - 8007840: fa02 f303 lsl.w r3, r2, r3 - 8007844: 69ba ldr r2, [r7, #24] - 8007846: 4313 orrs r3, r2 - 8007848: 61bb str r3, [r7, #24] + 800739c: 683b ldr r3, [r7, #0] + 800739e: 691a ldr r2, [r3, #16] + 80073a0: 69fb ldr r3, [r7, #28] + 80073a2: f003 0307 and.w r3, r3, #7 + 80073a6: 009b lsls r3, r3, #2 + 80073a8: fa02 f303 lsl.w r3, r2, r3 + 80073ac: 69ba ldr r2, [r7, #24] + 80073ae: 4313 orrs r3, r2 + 80073b0: 61bb str r3, [r7, #24] GPIOx->AFR[position >> 3] = temp; - 800784a: 69fb ldr r3, [r7, #28] - 800784c: 08da lsrs r2, r3, #3 - 800784e: 687b ldr r3, [r7, #4] - 8007850: 3208 adds r2, #8 - 8007852: 69b9 ldr r1, [r7, #24] - 8007854: f843 1022 str.w r1, [r3, r2, lsl #2] + 80073b2: 69fb ldr r3, [r7, #28] + 80073b4: 08da lsrs r2, r3, #3 + 80073b6: 687b ldr r3, [r7, #4] + 80073b8: 3208 adds r2, #8 + 80073ba: 69b9 ldr r1, [r7, #24] + 80073bc: f843 1022 str.w r1, [r3, r2, lsl #2] } /* Configure IO Direction mode (Input, Output, Alternate or Analog) */ temp = GPIOx->MODER; - 8007858: 687b ldr r3, [r7, #4] - 800785a: 681b ldr r3, [r3, #0] - 800785c: 61bb str r3, [r7, #24] + 80073c0: 687b ldr r3, [r7, #4] + 80073c2: 681b ldr r3, [r3, #0] + 80073c4: 61bb str r3, [r7, #24] temp &= ~(GPIO_MODER_MODER0 << (position * 2)); - 800785e: 69fb ldr r3, [r7, #28] - 8007860: 005b lsls r3, r3, #1 - 8007862: 2203 movs r2, #3 - 8007864: fa02 f303 lsl.w r3, r2, r3 - 8007868: 43db mvns r3, r3 - 800786a: 69ba ldr r2, [r7, #24] - 800786c: 4013 ands r3, r2 - 800786e: 61bb str r3, [r7, #24] + 80073c6: 69fb ldr r3, [r7, #28] + 80073c8: 005b lsls r3, r3, #1 + 80073ca: 2203 movs r2, #3 + 80073cc: fa02 f303 lsl.w r3, r2, r3 + 80073d0: 43db mvns r3, r3 + 80073d2: 69ba ldr r2, [r7, #24] + 80073d4: 4013 ands r3, r2 + 80073d6: 61bb str r3, [r7, #24] temp |= ((GPIO_Init->Mode & GPIO_MODE) << (position * 2)); - 8007870: 683b ldr r3, [r7, #0] - 8007872: 685b ldr r3, [r3, #4] - 8007874: f003 0203 and.w r2, r3, #3 - 8007878: 69fb ldr r3, [r7, #28] - 800787a: 005b lsls r3, r3, #1 - 800787c: fa02 f303 lsl.w r3, r2, r3 - 8007880: 69ba ldr r2, [r7, #24] - 8007882: 4313 orrs r3, r2 - 8007884: 61bb str r3, [r7, #24] + 80073d8: 683b ldr r3, [r7, #0] + 80073da: 685b ldr r3, [r3, #4] + 80073dc: f003 0203 and.w r2, r3, #3 + 80073e0: 69fb ldr r3, [r7, #28] + 80073e2: 005b lsls r3, r3, #1 + 80073e4: fa02 f303 lsl.w r3, r2, r3 + 80073e8: 69ba ldr r2, [r7, #24] + 80073ea: 4313 orrs r3, r2 + 80073ec: 61bb str r3, [r7, #24] GPIOx->MODER = temp; - 8007886: 687b ldr r3, [r7, #4] - 8007888: 69ba ldr r2, [r7, #24] - 800788a: 601a str r2, [r3, #0] + 80073ee: 687b ldr r3, [r7, #4] + 80073f0: 69ba ldr r2, [r7, #24] + 80073f2: 601a str r2, [r3, #0] /*--------------------- EXTI Mode Configuration ------------------------*/ /* Configure the External Interrupt or event for the current IO */ if((GPIO_Init->Mode & EXTI_MODE) == EXTI_MODE) - 800788c: 683b ldr r3, [r7, #0] - 800788e: 685b ldr r3, [r3, #4] - 8007890: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 - 8007894: 2b00 cmp r3, #0 - 8007896: f000 80be beq.w 8007a16 + 80073f4: 683b ldr r3, [r7, #0] + 80073f6: 685b ldr r3, [r3, #4] + 80073f8: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 + 80073fc: 2b00 cmp r3, #0 + 80073fe: f000 80be beq.w 800757e { /* Enable SYSCFG Clock */ __HAL_RCC_SYSCFG_CLK_ENABLE(); - 800789a: 4b65 ldr r3, [pc, #404] ; (8007a30 ) - 800789c: 6c5b ldr r3, [r3, #68] ; 0x44 - 800789e: 4a64 ldr r2, [pc, #400] ; (8007a30 ) - 80078a0: f443 4380 orr.w r3, r3, #16384 ; 0x4000 - 80078a4: 6453 str r3, [r2, #68] ; 0x44 - 80078a6: 4b62 ldr r3, [pc, #392] ; (8007a30 ) - 80078a8: 6c5b ldr r3, [r3, #68] ; 0x44 - 80078aa: f403 4380 and.w r3, r3, #16384 ; 0x4000 - 80078ae: 60fb str r3, [r7, #12] - 80078b0: 68fb ldr r3, [r7, #12] + 8007402: 4b65 ldr r3, [pc, #404] ; (8007598 ) + 8007404: 6c5b ldr r3, [r3, #68] ; 0x44 + 8007406: 4a64 ldr r2, [pc, #400] ; (8007598 ) + 8007408: f443 4380 orr.w r3, r3, #16384 ; 0x4000 + 800740c: 6453 str r3, [r2, #68] ; 0x44 + 800740e: 4b62 ldr r3, [pc, #392] ; (8007598 ) + 8007410: 6c5b ldr r3, [r3, #68] ; 0x44 + 8007412: f403 4380 and.w r3, r3, #16384 ; 0x4000 + 8007416: 60fb str r3, [r7, #12] + 8007418: 68fb ldr r3, [r7, #12] temp = SYSCFG->EXTICR[position >> 2]; - 80078b2: 4a60 ldr r2, [pc, #384] ; (8007a34 ) - 80078b4: 69fb ldr r3, [r7, #28] - 80078b6: 089b lsrs r3, r3, #2 - 80078b8: 3302 adds r3, #2 - 80078ba: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 80078be: 61bb str r3, [r7, #24] + 800741a: 4a60 ldr r2, [pc, #384] ; (800759c ) + 800741c: 69fb ldr r3, [r7, #28] + 800741e: 089b lsrs r3, r3, #2 + 8007420: 3302 adds r3, #2 + 8007422: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8007426: 61bb str r3, [r7, #24] temp &= ~(((uint32_t)0x0F) << (4 * (position & 0x03))); - 80078c0: 69fb ldr r3, [r7, #28] - 80078c2: f003 0303 and.w r3, r3, #3 - 80078c6: 009b lsls r3, r3, #2 - 80078c8: 220f movs r2, #15 - 80078ca: fa02 f303 lsl.w r3, r2, r3 - 80078ce: 43db mvns r3, r3 - 80078d0: 69ba ldr r2, [r7, #24] - 80078d2: 4013 ands r3, r2 - 80078d4: 61bb str r3, [r7, #24] + 8007428: 69fb ldr r3, [r7, #28] + 800742a: f003 0303 and.w r3, r3, #3 + 800742e: 009b lsls r3, r3, #2 + 8007430: 220f movs r2, #15 + 8007432: fa02 f303 lsl.w r3, r2, r3 + 8007436: 43db mvns r3, r3 + 8007438: 69ba ldr r2, [r7, #24] + 800743a: 4013 ands r3, r2 + 800743c: 61bb str r3, [r7, #24] temp |= ((uint32_t)(GPIO_GET_INDEX(GPIOx)) << (4 * (position & 0x03))); - 80078d6: 687b ldr r3, [r7, #4] - 80078d8: 4a57 ldr r2, [pc, #348] ; (8007a38 ) - 80078da: 4293 cmp r3, r2 - 80078dc: d037 beq.n 800794e - 80078de: 687b ldr r3, [r7, #4] - 80078e0: 4a56 ldr r2, [pc, #344] ; (8007a3c ) - 80078e2: 4293 cmp r3, r2 - 80078e4: d031 beq.n 800794a - 80078e6: 687b ldr r3, [r7, #4] - 80078e8: 4a55 ldr r2, [pc, #340] ; (8007a40 ) - 80078ea: 4293 cmp r3, r2 - 80078ec: d02b beq.n 8007946 - 80078ee: 687b ldr r3, [r7, #4] - 80078f0: 4a54 ldr r2, [pc, #336] ; (8007a44 ) - 80078f2: 4293 cmp r3, r2 - 80078f4: d025 beq.n 8007942 - 80078f6: 687b ldr r3, [r7, #4] - 80078f8: 4a53 ldr r2, [pc, #332] ; (8007a48 ) - 80078fa: 4293 cmp r3, r2 - 80078fc: d01f beq.n 800793e - 80078fe: 687b ldr r3, [r7, #4] - 8007900: 4a52 ldr r2, [pc, #328] ; (8007a4c ) - 8007902: 4293 cmp r3, r2 - 8007904: d019 beq.n 800793a - 8007906: 687b ldr r3, [r7, #4] - 8007908: 4a51 ldr r2, [pc, #324] ; (8007a50 ) - 800790a: 4293 cmp r3, r2 - 800790c: d013 beq.n 8007936 - 800790e: 687b ldr r3, [r7, #4] - 8007910: 4a50 ldr r2, [pc, #320] ; (8007a54 ) - 8007912: 4293 cmp r3, r2 - 8007914: d00d beq.n 8007932 - 8007916: 687b ldr r3, [r7, #4] - 8007918: 4a4f ldr r2, [pc, #316] ; (8007a58 ) - 800791a: 4293 cmp r3, r2 - 800791c: d007 beq.n 800792e - 800791e: 687b ldr r3, [r7, #4] - 8007920: 4a4e ldr r2, [pc, #312] ; (8007a5c ) - 8007922: 4293 cmp r3, r2 - 8007924: d101 bne.n 800792a - 8007926: 2309 movs r3, #9 - 8007928: e012 b.n 8007950 - 800792a: 230a movs r3, #10 - 800792c: e010 b.n 8007950 - 800792e: 2308 movs r3, #8 - 8007930: e00e b.n 8007950 - 8007932: 2307 movs r3, #7 - 8007934: e00c b.n 8007950 - 8007936: 2306 movs r3, #6 - 8007938: e00a b.n 8007950 - 800793a: 2305 movs r3, #5 - 800793c: e008 b.n 8007950 - 800793e: 2304 movs r3, #4 - 8007940: e006 b.n 8007950 - 8007942: 2303 movs r3, #3 - 8007944: e004 b.n 8007950 - 8007946: 2302 movs r3, #2 - 8007948: e002 b.n 8007950 - 800794a: 2301 movs r3, #1 - 800794c: e000 b.n 8007950 - 800794e: 2300 movs r3, #0 - 8007950: 69fa ldr r2, [r7, #28] - 8007952: f002 0203 and.w r2, r2, #3 - 8007956: 0092 lsls r2, r2, #2 - 8007958: 4093 lsls r3, r2 - 800795a: 69ba ldr r2, [r7, #24] - 800795c: 4313 orrs r3, r2 - 800795e: 61bb str r3, [r7, #24] + 800743e: 687b ldr r3, [r7, #4] + 8007440: 4a57 ldr r2, [pc, #348] ; (80075a0 ) + 8007442: 4293 cmp r3, r2 + 8007444: d037 beq.n 80074b6 + 8007446: 687b ldr r3, [r7, #4] + 8007448: 4a56 ldr r2, [pc, #344] ; (80075a4 ) + 800744a: 4293 cmp r3, r2 + 800744c: d031 beq.n 80074b2 + 800744e: 687b ldr r3, [r7, #4] + 8007450: 4a55 ldr r2, [pc, #340] ; (80075a8 ) + 8007452: 4293 cmp r3, r2 + 8007454: d02b beq.n 80074ae + 8007456: 687b ldr r3, [r7, #4] + 8007458: 4a54 ldr r2, [pc, #336] ; (80075ac ) + 800745a: 4293 cmp r3, r2 + 800745c: d025 beq.n 80074aa + 800745e: 687b ldr r3, [r7, #4] + 8007460: 4a53 ldr r2, [pc, #332] ; (80075b0 ) + 8007462: 4293 cmp r3, r2 + 8007464: d01f beq.n 80074a6 + 8007466: 687b ldr r3, [r7, #4] + 8007468: 4a52 ldr r2, [pc, #328] ; (80075b4 ) + 800746a: 4293 cmp r3, r2 + 800746c: d019 beq.n 80074a2 + 800746e: 687b ldr r3, [r7, #4] + 8007470: 4a51 ldr r2, [pc, #324] ; (80075b8 ) + 8007472: 4293 cmp r3, r2 + 8007474: d013 beq.n 800749e + 8007476: 687b ldr r3, [r7, #4] + 8007478: 4a50 ldr r2, [pc, #320] ; (80075bc ) + 800747a: 4293 cmp r3, r2 + 800747c: d00d beq.n 800749a + 800747e: 687b ldr r3, [r7, #4] + 8007480: 4a4f ldr r2, [pc, #316] ; (80075c0 ) + 8007482: 4293 cmp r3, r2 + 8007484: d007 beq.n 8007496 + 8007486: 687b ldr r3, [r7, #4] + 8007488: 4a4e ldr r2, [pc, #312] ; (80075c4 ) + 800748a: 4293 cmp r3, r2 + 800748c: d101 bne.n 8007492 + 800748e: 2309 movs r3, #9 + 8007490: e012 b.n 80074b8 + 8007492: 230a movs r3, #10 + 8007494: e010 b.n 80074b8 + 8007496: 2308 movs r3, #8 + 8007498: e00e b.n 80074b8 + 800749a: 2307 movs r3, #7 + 800749c: e00c b.n 80074b8 + 800749e: 2306 movs r3, #6 + 80074a0: e00a b.n 80074b8 + 80074a2: 2305 movs r3, #5 + 80074a4: e008 b.n 80074b8 + 80074a6: 2304 movs r3, #4 + 80074a8: e006 b.n 80074b8 + 80074aa: 2303 movs r3, #3 + 80074ac: e004 b.n 80074b8 + 80074ae: 2302 movs r3, #2 + 80074b0: e002 b.n 80074b8 + 80074b2: 2301 movs r3, #1 + 80074b4: e000 b.n 80074b8 + 80074b6: 2300 movs r3, #0 + 80074b8: 69fa ldr r2, [r7, #28] + 80074ba: f002 0203 and.w r2, r2, #3 + 80074be: 0092 lsls r2, r2, #2 + 80074c0: 4093 lsls r3, r2 + 80074c2: 69ba ldr r2, [r7, #24] + 80074c4: 4313 orrs r3, r2 + 80074c6: 61bb str r3, [r7, #24] SYSCFG->EXTICR[position >> 2] = temp; - 8007960: 4934 ldr r1, [pc, #208] ; (8007a34 ) - 8007962: 69fb ldr r3, [r7, #28] - 8007964: 089b lsrs r3, r3, #2 - 8007966: 3302 adds r3, #2 - 8007968: 69ba ldr r2, [r7, #24] - 800796a: f841 2023 str.w r2, [r1, r3, lsl #2] + 80074c8: 4934 ldr r1, [pc, #208] ; (800759c ) + 80074ca: 69fb ldr r3, [r7, #28] + 80074cc: 089b lsrs r3, r3, #2 + 80074ce: 3302 adds r3, #2 + 80074d0: 69ba ldr r2, [r7, #24] + 80074d2: f841 2023 str.w r2, [r1, r3, lsl #2] /* Clear EXTI line configuration */ temp = EXTI->IMR; - 800796e: 4b3c ldr r3, [pc, #240] ; (8007a60 ) - 8007970: 681b ldr r3, [r3, #0] - 8007972: 61bb str r3, [r7, #24] + 80074d6: 4b3c ldr r3, [pc, #240] ; (80075c8 ) + 80074d8: 681b ldr r3, [r3, #0] + 80074da: 61bb str r3, [r7, #24] temp &= ~((uint32_t)iocurrent); - 8007974: 693b ldr r3, [r7, #16] - 8007976: 43db mvns r3, r3 - 8007978: 69ba ldr r2, [r7, #24] - 800797a: 4013 ands r3, r2 - 800797c: 61bb str r3, [r7, #24] + 80074dc: 693b ldr r3, [r7, #16] + 80074de: 43db mvns r3, r3 + 80074e0: 69ba ldr r2, [r7, #24] + 80074e2: 4013 ands r3, r2 + 80074e4: 61bb str r3, [r7, #24] if((GPIO_Init->Mode & GPIO_MODE_IT) == GPIO_MODE_IT) - 800797e: 683b ldr r3, [r7, #0] - 8007980: 685b ldr r3, [r3, #4] - 8007982: f403 3380 and.w r3, r3, #65536 ; 0x10000 - 8007986: 2b00 cmp r3, #0 - 8007988: d003 beq.n 8007992 + 80074e6: 683b ldr r3, [r7, #0] + 80074e8: 685b ldr r3, [r3, #4] + 80074ea: f403 3380 and.w r3, r3, #65536 ; 0x10000 + 80074ee: 2b00 cmp r3, #0 + 80074f0: d003 beq.n 80074fa { temp |= iocurrent; - 800798a: 69ba ldr r2, [r7, #24] - 800798c: 693b ldr r3, [r7, #16] - 800798e: 4313 orrs r3, r2 - 8007990: 61bb str r3, [r7, #24] + 80074f2: 69ba ldr r2, [r7, #24] + 80074f4: 693b ldr r3, [r7, #16] + 80074f6: 4313 orrs r3, r2 + 80074f8: 61bb str r3, [r7, #24] } EXTI->IMR = temp; - 8007992: 4a33 ldr r2, [pc, #204] ; (8007a60 ) - 8007994: 69bb ldr r3, [r7, #24] - 8007996: 6013 str r3, [r2, #0] + 80074fa: 4a33 ldr r2, [pc, #204] ; (80075c8 ) + 80074fc: 69bb ldr r3, [r7, #24] + 80074fe: 6013 str r3, [r2, #0] temp = EXTI->EMR; - 8007998: 4b31 ldr r3, [pc, #196] ; (8007a60 ) - 800799a: 685b ldr r3, [r3, #4] - 800799c: 61bb str r3, [r7, #24] + 8007500: 4b31 ldr r3, [pc, #196] ; (80075c8 ) + 8007502: 685b ldr r3, [r3, #4] + 8007504: 61bb str r3, [r7, #24] temp &= ~((uint32_t)iocurrent); - 800799e: 693b ldr r3, [r7, #16] - 80079a0: 43db mvns r3, r3 - 80079a2: 69ba ldr r2, [r7, #24] - 80079a4: 4013 ands r3, r2 - 80079a6: 61bb str r3, [r7, #24] + 8007506: 693b ldr r3, [r7, #16] + 8007508: 43db mvns r3, r3 + 800750a: 69ba ldr r2, [r7, #24] + 800750c: 4013 ands r3, r2 + 800750e: 61bb str r3, [r7, #24] if((GPIO_Init->Mode & GPIO_MODE_EVT) == GPIO_MODE_EVT) - 80079a8: 683b ldr r3, [r7, #0] - 80079aa: 685b ldr r3, [r3, #4] - 80079ac: f403 3300 and.w r3, r3, #131072 ; 0x20000 - 80079b0: 2b00 cmp r3, #0 - 80079b2: d003 beq.n 80079bc + 8007510: 683b ldr r3, [r7, #0] + 8007512: 685b ldr r3, [r3, #4] + 8007514: f403 3300 and.w r3, r3, #131072 ; 0x20000 + 8007518: 2b00 cmp r3, #0 + 800751a: d003 beq.n 8007524 { temp |= iocurrent; - 80079b4: 69ba ldr r2, [r7, #24] - 80079b6: 693b ldr r3, [r7, #16] - 80079b8: 4313 orrs r3, r2 - 80079ba: 61bb str r3, [r7, #24] + 800751c: 69ba ldr r2, [r7, #24] + 800751e: 693b ldr r3, [r7, #16] + 8007520: 4313 orrs r3, r2 + 8007522: 61bb str r3, [r7, #24] } EXTI->EMR = temp; - 80079bc: 4a28 ldr r2, [pc, #160] ; (8007a60 ) - 80079be: 69bb ldr r3, [r7, #24] - 80079c0: 6053 str r3, [r2, #4] + 8007524: 4a28 ldr r2, [pc, #160] ; (80075c8 ) + 8007526: 69bb ldr r3, [r7, #24] + 8007528: 6053 str r3, [r2, #4] /* Clear Rising Falling edge configuration */ temp = EXTI->RTSR; - 80079c2: 4b27 ldr r3, [pc, #156] ; (8007a60 ) - 80079c4: 689b ldr r3, [r3, #8] - 80079c6: 61bb str r3, [r7, #24] + 800752a: 4b27 ldr r3, [pc, #156] ; (80075c8 ) + 800752c: 689b ldr r3, [r3, #8] + 800752e: 61bb str r3, [r7, #24] temp &= ~((uint32_t)iocurrent); - 80079c8: 693b ldr r3, [r7, #16] - 80079ca: 43db mvns r3, r3 - 80079cc: 69ba ldr r2, [r7, #24] - 80079ce: 4013 ands r3, r2 - 80079d0: 61bb str r3, [r7, #24] + 8007530: 693b ldr r3, [r7, #16] + 8007532: 43db mvns r3, r3 + 8007534: 69ba ldr r2, [r7, #24] + 8007536: 4013 ands r3, r2 + 8007538: 61bb str r3, [r7, #24] if((GPIO_Init->Mode & RISING_EDGE) == RISING_EDGE) - 80079d2: 683b ldr r3, [r7, #0] - 80079d4: 685b ldr r3, [r3, #4] - 80079d6: f403 1380 and.w r3, r3, #1048576 ; 0x100000 - 80079da: 2b00 cmp r3, #0 - 80079dc: d003 beq.n 80079e6 + 800753a: 683b ldr r3, [r7, #0] + 800753c: 685b ldr r3, [r3, #4] + 800753e: f403 1380 and.w r3, r3, #1048576 ; 0x100000 + 8007542: 2b00 cmp r3, #0 + 8007544: d003 beq.n 800754e { temp |= iocurrent; - 80079de: 69ba ldr r2, [r7, #24] - 80079e0: 693b ldr r3, [r7, #16] - 80079e2: 4313 orrs r3, r2 - 80079e4: 61bb str r3, [r7, #24] + 8007546: 69ba ldr r2, [r7, #24] + 8007548: 693b ldr r3, [r7, #16] + 800754a: 4313 orrs r3, r2 + 800754c: 61bb str r3, [r7, #24] } EXTI->RTSR = temp; - 80079e6: 4a1e ldr r2, [pc, #120] ; (8007a60 ) - 80079e8: 69bb ldr r3, [r7, #24] - 80079ea: 6093 str r3, [r2, #8] + 800754e: 4a1e ldr r2, [pc, #120] ; (80075c8 ) + 8007550: 69bb ldr r3, [r7, #24] + 8007552: 6093 str r3, [r2, #8] temp = EXTI->FTSR; - 80079ec: 4b1c ldr r3, [pc, #112] ; (8007a60 ) - 80079ee: 68db ldr r3, [r3, #12] - 80079f0: 61bb str r3, [r7, #24] + 8007554: 4b1c ldr r3, [pc, #112] ; (80075c8 ) + 8007556: 68db ldr r3, [r3, #12] + 8007558: 61bb str r3, [r7, #24] temp &= ~((uint32_t)iocurrent); - 80079f2: 693b ldr r3, [r7, #16] - 80079f4: 43db mvns r3, r3 - 80079f6: 69ba ldr r2, [r7, #24] - 80079f8: 4013 ands r3, r2 - 80079fa: 61bb str r3, [r7, #24] + 800755a: 693b ldr r3, [r7, #16] + 800755c: 43db mvns r3, r3 + 800755e: 69ba ldr r2, [r7, #24] + 8007560: 4013 ands r3, r2 + 8007562: 61bb str r3, [r7, #24] if((GPIO_Init->Mode & FALLING_EDGE) == FALLING_EDGE) - 80079fc: 683b ldr r3, [r7, #0] - 80079fe: 685b ldr r3, [r3, #4] - 8007a00: f403 1300 and.w r3, r3, #2097152 ; 0x200000 - 8007a04: 2b00 cmp r3, #0 - 8007a06: d003 beq.n 8007a10 + 8007564: 683b ldr r3, [r7, #0] + 8007566: 685b ldr r3, [r3, #4] + 8007568: f403 1300 and.w r3, r3, #2097152 ; 0x200000 + 800756c: 2b00 cmp r3, #0 + 800756e: d003 beq.n 8007578 { temp |= iocurrent; - 8007a08: 69ba ldr r2, [r7, #24] - 8007a0a: 693b ldr r3, [r7, #16] - 8007a0c: 4313 orrs r3, r2 - 8007a0e: 61bb str r3, [r7, #24] + 8007570: 69ba ldr r2, [r7, #24] + 8007572: 693b ldr r3, [r7, #16] + 8007574: 4313 orrs r3, r2 + 8007576: 61bb str r3, [r7, #24] } EXTI->FTSR = temp; - 8007a10: 4a13 ldr r2, [pc, #76] ; (8007a60 ) - 8007a12: 69bb ldr r3, [r7, #24] - 8007a14: 60d3 str r3, [r2, #12] + 8007578: 4a13 ldr r2, [pc, #76] ; (80075c8 ) + 800757a: 69bb ldr r3, [r7, #24] + 800757c: 60d3 str r3, [r2, #12] for(position = 0; position < GPIO_NUMBER; position++) - 8007a16: 69fb ldr r3, [r7, #28] - 8007a18: 3301 adds r3, #1 - 8007a1a: 61fb str r3, [r7, #28] - 8007a1c: 69fb ldr r3, [r7, #28] - 8007a1e: 2b0f cmp r3, #15 - 8007a20: f67f ae86 bls.w 8007730 + 800757e: 69fb ldr r3, [r7, #28] + 8007580: 3301 adds r3, #1 + 8007582: 61fb str r3, [r7, #28] + 8007584: 69fb ldr r3, [r7, #28] + 8007586: 2b0f cmp r3, #15 + 8007588: f67f ae86 bls.w 8007298 } } } } - 8007a24: bf00 nop - 8007a26: 3724 adds r7, #36 ; 0x24 - 8007a28: 46bd mov sp, r7 - 8007a2a: f85d 7b04 ldr.w r7, [sp], #4 - 8007a2e: 4770 bx lr - 8007a30: 40023800 .word 0x40023800 - 8007a34: 40013800 .word 0x40013800 - 8007a38: 40020000 .word 0x40020000 - 8007a3c: 40020400 .word 0x40020400 - 8007a40: 40020800 .word 0x40020800 - 8007a44: 40020c00 .word 0x40020c00 - 8007a48: 40021000 .word 0x40021000 - 8007a4c: 40021400 .word 0x40021400 - 8007a50: 40021800 .word 0x40021800 - 8007a54: 40021c00 .word 0x40021c00 - 8007a58: 40022000 .word 0x40022000 - 8007a5c: 40022400 .word 0x40022400 - 8007a60: 40013c00 .word 0x40013c00 + 800758c: bf00 nop + 800758e: 3724 adds r7, #36 ; 0x24 + 8007590: 46bd mov sp, r7 + 8007592: f85d 7b04 ldr.w r7, [sp], #4 + 8007596: 4770 bx lr + 8007598: 40023800 .word 0x40023800 + 800759c: 40013800 .word 0x40013800 + 80075a0: 40020000 .word 0x40020000 + 80075a4: 40020400 .word 0x40020400 + 80075a8: 40020800 .word 0x40020800 + 80075ac: 40020c00 .word 0x40020c00 + 80075b0: 40021000 .word 0x40021000 + 80075b4: 40021400 .word 0x40021400 + 80075b8: 40021800 .word 0x40021800 + 80075bc: 40021c00 .word 0x40021c00 + 80075c0: 40022000 .word 0x40022000 + 80075c4: 40022400 .word 0x40022400 + 80075c8: 40013c00 .word 0x40013c00 -08007a64 : - * @param GPIO_Pin specifies the port bit to read. - * This parameter can be GPIO_PIN_x where x can be (0..15). - * @retval The input port pin value. - */ -GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin) -{ - 8007a64: b480 push {r7} - 8007a66: b085 sub sp, #20 - 8007a68: af00 add r7, sp, #0 - 8007a6a: 6078 str r0, [r7, #4] - 8007a6c: 460b mov r3, r1 - 8007a6e: 807b strh r3, [r7, #2] - GPIO_PinState bitstatus; - - /* Check the parameters */ - assert_param(IS_GPIO_PIN(GPIO_Pin)); - - if((GPIOx->IDR & GPIO_Pin) != (uint32_t)GPIO_PIN_RESET) - 8007a70: 687b ldr r3, [r7, #4] - 8007a72: 691a ldr r2, [r3, #16] - 8007a74: 887b ldrh r3, [r7, #2] - 8007a76: 4013 ands r3, r2 - 8007a78: 2b00 cmp r3, #0 - 8007a7a: d002 beq.n 8007a82 - { - bitstatus = GPIO_PIN_SET; - 8007a7c: 2301 movs r3, #1 - 8007a7e: 73fb strb r3, [r7, #15] - 8007a80: e001 b.n 8007a86 - } - else - { - bitstatus = GPIO_PIN_RESET; - 8007a82: 2300 movs r3, #0 - 8007a84: 73fb strb r3, [r7, #15] - } - return bitstatus; - 8007a86: 7bfb ldrb r3, [r7, #15] -} - 8007a88: 4618 mov r0, r3 - 8007a8a: 3714 adds r7, #20 - 8007a8c: 46bd mov sp, r7 - 8007a8e: f85d 7b04 ldr.w r7, [sp], #4 - 8007a92: 4770 bx lr - -08007a94 : +080075cc : * @arg GPIO_PIN_RESET: to clear the port pin * @arg GPIO_PIN_SET: to set the port pin * @retval None */ void HAL_GPIO_WritePin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState) { - 8007a94: b480 push {r7} - 8007a96: b083 sub sp, #12 - 8007a98: af00 add r7, sp, #0 - 8007a9a: 6078 str r0, [r7, #4] - 8007a9c: 460b mov r3, r1 - 8007a9e: 807b strh r3, [r7, #2] - 8007aa0: 4613 mov r3, r2 - 8007aa2: 707b strb r3, [r7, #1] + 80075cc: b480 push {r7} + 80075ce: b083 sub sp, #12 + 80075d0: af00 add r7, sp, #0 + 80075d2: 6078 str r0, [r7, #4] + 80075d4: 460b mov r3, r1 + 80075d6: 807b strh r3, [r7, #2] + 80075d8: 4613 mov r3, r2 + 80075da: 707b strb r3, [r7, #1] /* Check the parameters */ assert_param(IS_GPIO_PIN(GPIO_Pin)); assert_param(IS_GPIO_PIN_ACTION(PinState)); if(PinState != GPIO_PIN_RESET) - 8007aa4: 787b ldrb r3, [r7, #1] - 8007aa6: 2b00 cmp r3, #0 - 8007aa8: d003 beq.n 8007ab2 + 80075dc: 787b ldrb r3, [r7, #1] + 80075de: 2b00 cmp r3, #0 + 80075e0: d003 beq.n 80075ea { GPIOx->BSRR = GPIO_Pin; - 8007aaa: 887a ldrh r2, [r7, #2] - 8007aac: 687b ldr r3, [r7, #4] - 8007aae: 619a str r2, [r3, #24] + 80075e2: 887a ldrh r2, [r7, #2] + 80075e4: 687b ldr r3, [r7, #4] + 80075e6: 619a str r2, [r3, #24] } else { GPIOx->BSRR = (uint32_t)GPIO_Pin << 16; } } - 8007ab0: e003 b.n 8007aba + 80075e8: e003 b.n 80075f2 GPIOx->BSRR = (uint32_t)GPIO_Pin << 16; - 8007ab2: 887b ldrh r3, [r7, #2] - 8007ab4: 041a lsls r2, r3, #16 - 8007ab6: 687b ldr r3, [r7, #4] - 8007ab8: 619a str r2, [r3, #24] + 80075ea: 887b ldrh r3, [r7, #2] + 80075ec: 041a lsls r2, r3, #16 + 80075ee: 687b ldr r3, [r7, #4] + 80075f0: 619a str r2, [r3, #24] } - 8007aba: bf00 nop - 8007abc: 370c adds r7, #12 - 8007abe: 46bd mov sp, r7 - 8007ac0: f85d 7b04 ldr.w r7, [sp], #4 - 8007ac4: 4770 bx lr + 80075f2: bf00 nop + 80075f4: 370c adds r7, #12 + 80075f6: 46bd mov sp, r7 + 80075f8: f85d 7b04 ldr.w r7, [sp], #4 + 80075fc: 4770 bx lr + +080075fe : + * @param GPIOx Where x can be (A..I) to select the GPIO peripheral. + * @param GPIO_Pin Specifies the pins to be toggled. + * @retval None + */ +void HAL_GPIO_TogglePin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin) +{ + 80075fe: b480 push {r7} + 8007600: b083 sub sp, #12 + 8007602: af00 add r7, sp, #0 + 8007604: 6078 str r0, [r7, #4] + 8007606: 460b mov r3, r1 + 8007608: 807b strh r3, [r7, #2] + /* Check the parameters */ + assert_param(IS_GPIO_PIN(GPIO_Pin)); + + if ((GPIOx->ODR & GPIO_Pin) != 0X00u) + 800760a: 687b ldr r3, [r7, #4] + 800760c: 695a ldr r2, [r3, #20] + 800760e: 887b ldrh r3, [r7, #2] + 8007610: 4013 ands r3, r2 + 8007612: 2b00 cmp r3, #0 + 8007614: d004 beq.n 8007620 + { + GPIOx->BSRR = (uint32_t)GPIO_Pin << GPIO_NUMBER; + 8007616: 887b ldrh r3, [r7, #2] + 8007618: 041a lsls r2, r3, #16 + 800761a: 687b ldr r3, [r7, #4] + 800761c: 619a str r2, [r3, #24] + } + else + { + GPIOx->BSRR = (uint32_t)GPIO_Pin; + } +} + 800761e: e002 b.n 8007626 + GPIOx->BSRR = (uint32_t)GPIO_Pin; + 8007620: 887a ldrh r2, [r7, #2] + 8007622: 687b ldr r3, [r7, #4] + 8007624: 619a str r2, [r3, #24] +} + 8007626: bf00 nop + 8007628: 370c adds r7, #12 + 800762a: 46bd mov sp, r7 + 800762c: f85d 7b04 ldr.w r7, [sp], #4 + 8007630: 4770 bx lr ... -08007ac8 : +08007634 : + * @brief This function handles EXTI interrupt request. + * @param GPIO_Pin Specifies the pins connected EXTI line + * @retval None + */ +void HAL_GPIO_EXTI_IRQHandler(uint16_t GPIO_Pin) +{ + 8007634: b580 push {r7, lr} + 8007636: b082 sub sp, #8 + 8007638: af00 add r7, sp, #0 + 800763a: 4603 mov r3, r0 + 800763c: 80fb strh r3, [r7, #6] + /* EXTI line interrupt detected */ + if(__HAL_GPIO_EXTI_GET_IT(GPIO_Pin) != RESET) + 800763e: 4b08 ldr r3, [pc, #32] ; (8007660 ) + 8007640: 695a ldr r2, [r3, #20] + 8007642: 88fb ldrh r3, [r7, #6] + 8007644: 4013 ands r3, r2 + 8007646: 2b00 cmp r3, #0 + 8007648: d006 beq.n 8007658 + { + __HAL_GPIO_EXTI_CLEAR_IT(GPIO_Pin); + 800764a: 4a05 ldr r2, [pc, #20] ; (8007660 ) + 800764c: 88fb ldrh r3, [r7, #6] + 800764e: 6153 str r3, [r2, #20] + HAL_GPIO_EXTI_Callback(GPIO_Pin); + 8007650: 88fb ldrh r3, [r7, #6] + 8007652: 4618 mov r0, r3 + 8007654: f7fa fb54 bl 8001d00 + } +} + 8007658: bf00 nop + 800765a: 3708 adds r7, #8 + 800765c: 46bd mov sp, r7 + 800765e: bd80 pop {r7, pc} + 8007660: 40013c00 .word 0x40013c00 + +08007664 : * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains * the configuration information for the specified I2C. * @retval HAL status */ HAL_StatusTypeDef HAL_I2C_Init(I2C_HandleTypeDef *hi2c) { - 8007ac8: b580 push {r7, lr} - 8007aca: b082 sub sp, #8 - 8007acc: af00 add r7, sp, #0 - 8007ace: 6078 str r0, [r7, #4] + 8007664: b580 push {r7, lr} + 8007666: b082 sub sp, #8 + 8007668: af00 add r7, sp, #0 + 800766a: 6078 str r0, [r7, #4] /* Check the I2C handle allocation */ if (hi2c == NULL) - 8007ad0: 687b ldr r3, [r7, #4] - 8007ad2: 2b00 cmp r3, #0 - 8007ad4: d101 bne.n 8007ada + 800766c: 687b ldr r3, [r7, #4] + 800766e: 2b00 cmp r3, #0 + 8007670: d101 bne.n 8007676 { return HAL_ERROR; - 8007ad6: 2301 movs r3, #1 - 8007ad8: e07f b.n 8007bda + 8007672: 2301 movs r3, #1 + 8007674: e07f b.n 8007776 assert_param(IS_I2C_OWN_ADDRESS2(hi2c->Init.OwnAddress2)); assert_param(IS_I2C_OWN_ADDRESS2_MASK(hi2c->Init.OwnAddress2Masks)); assert_param(IS_I2C_GENERAL_CALL(hi2c->Init.GeneralCallMode)); assert_param(IS_I2C_NO_STRETCH(hi2c->Init.NoStretchMode)); if (hi2c->State == HAL_I2C_STATE_RESET) - 8007ada: 687b ldr r3, [r7, #4] - 8007adc: f893 3041 ldrb.w r3, [r3, #65] ; 0x41 - 8007ae0: b2db uxtb r3, r3 - 8007ae2: 2b00 cmp r3, #0 - 8007ae4: d106 bne.n 8007af4 + 8007676: 687b ldr r3, [r7, #4] + 8007678: f893 3041 ldrb.w r3, [r3, #65] ; 0x41 + 800767c: b2db uxtb r3, r3 + 800767e: 2b00 cmp r3, #0 + 8007680: d106 bne.n 8007690 { /* Allocate lock resource and initialize it */ hi2c->Lock = HAL_UNLOCKED; - 8007ae6: 687b ldr r3, [r7, #4] - 8007ae8: 2200 movs r2, #0 - 8007aea: f883 2040 strb.w r2, [r3, #64] ; 0x40 + 8007682: 687b ldr r3, [r7, #4] + 8007684: 2200 movs r2, #0 + 8007686: f883 2040 strb.w r2, [r3, #64] ; 0x40 /* Init the low level hardware : GPIO, CLOCK, CORTEX...etc */ hi2c->MspInitCallback(hi2c); #else /* Init the low level hardware : GPIO, CLOCK, CORTEX...etc */ HAL_I2C_MspInit(hi2c); - 8007aee: 6878 ldr r0, [r7, #4] - 8007af0: f000 f8a9 bl 8007c46 + 800768a: 6878 ldr r0, [r7, #4] + 800768c: f000 f8a9 bl 80077e2 #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */ } hi2c->State = HAL_I2C_STATE_BUSY; - 8007af4: 687b ldr r3, [r7, #4] - 8007af6: 2224 movs r2, #36 ; 0x24 - 8007af8: f883 2041 strb.w r2, [r3, #65] ; 0x41 + 8007690: 687b ldr r3, [r7, #4] + 8007692: 2224 movs r2, #36 ; 0x24 + 8007694: f883 2041 strb.w r2, [r3, #65] ; 0x41 /* Disable the selected I2C peripheral */ __HAL_I2C_DISABLE(hi2c); - 8007afc: 687b ldr r3, [r7, #4] - 8007afe: 681b ldr r3, [r3, #0] - 8007b00: 681a ldr r2, [r3, #0] - 8007b02: 687b ldr r3, [r7, #4] - 8007b04: 681b ldr r3, [r3, #0] - 8007b06: f022 0201 bic.w r2, r2, #1 - 8007b0a: 601a str r2, [r3, #0] + 8007698: 687b ldr r3, [r7, #4] + 800769a: 681b ldr r3, [r3, #0] + 800769c: 681a ldr r2, [r3, #0] + 800769e: 687b ldr r3, [r7, #4] + 80076a0: 681b ldr r3, [r3, #0] + 80076a2: f022 0201 bic.w r2, r2, #1 + 80076a6: 601a str r2, [r3, #0] /*---------------------------- I2Cx TIMINGR Configuration ------------------*/ /* Configure I2Cx: Frequency range */ hi2c->Instance->TIMINGR = hi2c->Init.Timing & TIMING_CLEAR_MASK; - 8007b0c: 687b ldr r3, [r7, #4] - 8007b0e: 685a ldr r2, [r3, #4] - 8007b10: 687b ldr r3, [r7, #4] - 8007b12: 681b ldr r3, [r3, #0] - 8007b14: f022 6270 bic.w r2, r2, #251658240 ; 0xf000000 - 8007b18: 611a str r2, [r3, #16] + 80076a8: 687b ldr r3, [r7, #4] + 80076aa: 685a ldr r2, [r3, #4] + 80076ac: 687b ldr r3, [r7, #4] + 80076ae: 681b ldr r3, [r3, #0] + 80076b0: f022 6270 bic.w r2, r2, #251658240 ; 0xf000000 + 80076b4: 611a str r2, [r3, #16] /*---------------------------- I2Cx OAR1 Configuration ---------------------*/ /* Disable Own Address1 before set the Own Address1 configuration */ hi2c->Instance->OAR1 &= ~I2C_OAR1_OA1EN; - 8007b1a: 687b ldr r3, [r7, #4] - 8007b1c: 681b ldr r3, [r3, #0] - 8007b1e: 689a ldr r2, [r3, #8] - 8007b20: 687b ldr r3, [r7, #4] - 8007b22: 681b ldr r3, [r3, #0] - 8007b24: f422 4200 bic.w r2, r2, #32768 ; 0x8000 - 8007b28: 609a str r2, [r3, #8] + 80076b6: 687b ldr r3, [r7, #4] + 80076b8: 681b ldr r3, [r3, #0] + 80076ba: 689a ldr r2, [r3, #8] + 80076bc: 687b ldr r3, [r7, #4] + 80076be: 681b ldr r3, [r3, #0] + 80076c0: f422 4200 bic.w r2, r2, #32768 ; 0x8000 + 80076c4: 609a str r2, [r3, #8] /* Configure I2Cx: Own Address1 and ack own address1 mode */ if (hi2c->Init.AddressingMode == I2C_ADDRESSINGMODE_7BIT) - 8007b2a: 687b ldr r3, [r7, #4] - 8007b2c: 68db ldr r3, [r3, #12] - 8007b2e: 2b01 cmp r3, #1 - 8007b30: d107 bne.n 8007b42 + 80076c6: 687b ldr r3, [r7, #4] + 80076c8: 68db ldr r3, [r3, #12] + 80076ca: 2b01 cmp r3, #1 + 80076cc: d107 bne.n 80076de { hi2c->Instance->OAR1 = (I2C_OAR1_OA1EN | hi2c->Init.OwnAddress1); - 8007b32: 687b ldr r3, [r7, #4] - 8007b34: 689a ldr r2, [r3, #8] - 8007b36: 687b ldr r3, [r7, #4] - 8007b38: 681b ldr r3, [r3, #0] - 8007b3a: f442 4200 orr.w r2, r2, #32768 ; 0x8000 - 8007b3e: 609a str r2, [r3, #8] - 8007b40: e006 b.n 8007b50 + 80076ce: 687b ldr r3, [r7, #4] + 80076d0: 689a ldr r2, [r3, #8] + 80076d2: 687b ldr r3, [r7, #4] + 80076d4: 681b ldr r3, [r3, #0] + 80076d6: f442 4200 orr.w r2, r2, #32768 ; 0x8000 + 80076da: 609a str r2, [r3, #8] + 80076dc: e006 b.n 80076ec } else /* I2C_ADDRESSINGMODE_10BIT */ { hi2c->Instance->OAR1 = (I2C_OAR1_OA1EN | I2C_OAR1_OA1MODE | hi2c->Init.OwnAddress1); - 8007b42: 687b ldr r3, [r7, #4] - 8007b44: 689a ldr r2, [r3, #8] - 8007b46: 687b ldr r3, [r7, #4] - 8007b48: 681b ldr r3, [r3, #0] - 8007b4a: f442 4204 orr.w r2, r2, #33792 ; 0x8400 - 8007b4e: 609a str r2, [r3, #8] + 80076de: 687b ldr r3, [r7, #4] + 80076e0: 689a ldr r2, [r3, #8] + 80076e2: 687b ldr r3, [r7, #4] + 80076e4: 681b ldr r3, [r3, #0] + 80076e6: f442 4204 orr.w r2, r2, #33792 ; 0x8400 + 80076ea: 609a str r2, [r3, #8] } /*---------------------------- I2Cx CR2 Configuration ----------------------*/ /* Configure I2Cx: Addressing Master mode */ if (hi2c->Init.AddressingMode == I2C_ADDRESSINGMODE_10BIT) - 8007b50: 687b ldr r3, [r7, #4] - 8007b52: 68db ldr r3, [r3, #12] - 8007b54: 2b02 cmp r3, #2 - 8007b56: d104 bne.n 8007b62 + 80076ec: 687b ldr r3, [r7, #4] + 80076ee: 68db ldr r3, [r3, #12] + 80076f0: 2b02 cmp r3, #2 + 80076f2: d104 bne.n 80076fe { hi2c->Instance->CR2 = (I2C_CR2_ADD10); - 8007b58: 687b ldr r3, [r7, #4] - 8007b5a: 681b ldr r3, [r3, #0] - 8007b5c: f44f 6200 mov.w r2, #2048 ; 0x800 - 8007b60: 605a str r2, [r3, #4] + 80076f4: 687b ldr r3, [r7, #4] + 80076f6: 681b ldr r3, [r3, #0] + 80076f8: f44f 6200 mov.w r2, #2048 ; 0x800 + 80076fc: 605a str r2, [r3, #4] } /* Enable the AUTOEND by default, and enable NACK (should be disable only during Slave process */ hi2c->Instance->CR2 |= (I2C_CR2_AUTOEND | I2C_CR2_NACK); - 8007b62: 687b ldr r3, [r7, #4] - 8007b64: 681b ldr r3, [r3, #0] - 8007b66: 6859 ldr r1, [r3, #4] - 8007b68: 687b ldr r3, [r7, #4] - 8007b6a: 681a ldr r2, [r3, #0] - 8007b6c: 4b1d ldr r3, [pc, #116] ; (8007be4 ) - 8007b6e: 430b orrs r3, r1 - 8007b70: 6053 str r3, [r2, #4] + 80076fe: 687b ldr r3, [r7, #4] + 8007700: 681b ldr r3, [r3, #0] + 8007702: 6859 ldr r1, [r3, #4] + 8007704: 687b ldr r3, [r7, #4] + 8007706: 681a ldr r2, [r3, #0] + 8007708: 4b1d ldr r3, [pc, #116] ; (8007780 ) + 800770a: 430b orrs r3, r1 + 800770c: 6053 str r3, [r2, #4] /*---------------------------- I2Cx OAR2 Configuration ---------------------*/ /* Disable Own Address2 before set the Own Address2 configuration */ hi2c->Instance->OAR2 &= ~I2C_DUALADDRESS_ENABLE; - 8007b72: 687b ldr r3, [r7, #4] - 8007b74: 681b ldr r3, [r3, #0] - 8007b76: 68da ldr r2, [r3, #12] - 8007b78: 687b ldr r3, [r7, #4] - 8007b7a: 681b ldr r3, [r3, #0] - 8007b7c: f422 4200 bic.w r2, r2, #32768 ; 0x8000 - 8007b80: 60da str r2, [r3, #12] + 800770e: 687b ldr r3, [r7, #4] + 8007710: 681b ldr r3, [r3, #0] + 8007712: 68da ldr r2, [r3, #12] + 8007714: 687b ldr r3, [r7, #4] + 8007716: 681b ldr r3, [r3, #0] + 8007718: f422 4200 bic.w r2, r2, #32768 ; 0x8000 + 800771c: 60da str r2, [r3, #12] /* Configure I2Cx: Dual mode and Own Address2 */ hi2c->Instance->OAR2 = (hi2c->Init.DualAddressMode | hi2c->Init.OwnAddress2 | (hi2c->Init.OwnAddress2Masks << 8)); - 8007b82: 687b ldr r3, [r7, #4] - 8007b84: 691a ldr r2, [r3, #16] - 8007b86: 687b ldr r3, [r7, #4] - 8007b88: 695b ldr r3, [r3, #20] - 8007b8a: ea42 0103 orr.w r1, r2, r3 - 8007b8e: 687b ldr r3, [r7, #4] - 8007b90: 699b ldr r3, [r3, #24] - 8007b92: 021a lsls r2, r3, #8 - 8007b94: 687b ldr r3, [r7, #4] - 8007b96: 681b ldr r3, [r3, #0] - 8007b98: 430a orrs r2, r1 - 8007b9a: 60da str r2, [r3, #12] + 800771e: 687b ldr r3, [r7, #4] + 8007720: 691a ldr r2, [r3, #16] + 8007722: 687b ldr r3, [r7, #4] + 8007724: 695b ldr r3, [r3, #20] + 8007726: ea42 0103 orr.w r1, r2, r3 + 800772a: 687b ldr r3, [r7, #4] + 800772c: 699b ldr r3, [r3, #24] + 800772e: 021a lsls r2, r3, #8 + 8007730: 687b ldr r3, [r7, #4] + 8007732: 681b ldr r3, [r3, #0] + 8007734: 430a orrs r2, r1 + 8007736: 60da str r2, [r3, #12] /*---------------------------- I2Cx CR1 Configuration ----------------------*/ /* Configure I2Cx: Generalcall and NoStretch mode */ hi2c->Instance->CR1 = (hi2c->Init.GeneralCallMode | hi2c->Init.NoStretchMode); - 8007b9c: 687b ldr r3, [r7, #4] - 8007b9e: 69d9 ldr r1, [r3, #28] - 8007ba0: 687b ldr r3, [r7, #4] - 8007ba2: 6a1a ldr r2, [r3, #32] - 8007ba4: 687b ldr r3, [r7, #4] - 8007ba6: 681b ldr r3, [r3, #0] - 8007ba8: 430a orrs r2, r1 - 8007baa: 601a str r2, [r3, #0] + 8007738: 687b ldr r3, [r7, #4] + 800773a: 69d9 ldr r1, [r3, #28] + 800773c: 687b ldr r3, [r7, #4] + 800773e: 6a1a ldr r2, [r3, #32] + 8007740: 687b ldr r3, [r7, #4] + 8007742: 681b ldr r3, [r3, #0] + 8007744: 430a orrs r2, r1 + 8007746: 601a str r2, [r3, #0] /* Enable the selected I2C peripheral */ __HAL_I2C_ENABLE(hi2c); - 8007bac: 687b ldr r3, [r7, #4] - 8007bae: 681b ldr r3, [r3, #0] - 8007bb0: 681a ldr r2, [r3, #0] - 8007bb2: 687b ldr r3, [r7, #4] - 8007bb4: 681b ldr r3, [r3, #0] - 8007bb6: f042 0201 orr.w r2, r2, #1 - 8007bba: 601a str r2, [r3, #0] + 8007748: 687b ldr r3, [r7, #4] + 800774a: 681b ldr r3, [r3, #0] + 800774c: 681a ldr r2, [r3, #0] + 800774e: 687b ldr r3, [r7, #4] + 8007750: 681b ldr r3, [r3, #0] + 8007752: f042 0201 orr.w r2, r2, #1 + 8007756: 601a str r2, [r3, #0] hi2c->ErrorCode = HAL_I2C_ERROR_NONE; - 8007bbc: 687b ldr r3, [r7, #4] - 8007bbe: 2200 movs r2, #0 - 8007bc0: 645a str r2, [r3, #68] ; 0x44 + 8007758: 687b ldr r3, [r7, #4] + 800775a: 2200 movs r2, #0 + 800775c: 645a str r2, [r3, #68] ; 0x44 hi2c->State = HAL_I2C_STATE_READY; - 8007bc2: 687b ldr r3, [r7, #4] - 8007bc4: 2220 movs r2, #32 - 8007bc6: f883 2041 strb.w r2, [r3, #65] ; 0x41 + 800775e: 687b ldr r3, [r7, #4] + 8007760: 2220 movs r2, #32 + 8007762: f883 2041 strb.w r2, [r3, #65] ; 0x41 hi2c->PreviousState = I2C_STATE_NONE; - 8007bca: 687b ldr r3, [r7, #4] - 8007bcc: 2200 movs r2, #0 - 8007bce: 631a str r2, [r3, #48] ; 0x30 + 8007766: 687b ldr r3, [r7, #4] + 8007768: 2200 movs r2, #0 + 800776a: 631a str r2, [r3, #48] ; 0x30 hi2c->Mode = HAL_I2C_MODE_NONE; - 8007bd0: 687b ldr r3, [r7, #4] - 8007bd2: 2200 movs r2, #0 - 8007bd4: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 800776c: 687b ldr r3, [r7, #4] + 800776e: 2200 movs r2, #0 + 8007770: f883 2042 strb.w r2, [r3, #66] ; 0x42 return HAL_OK; - 8007bd8: 2300 movs r3, #0 + 8007774: 2300 movs r3, #0 } - 8007bda: 4618 mov r0, r3 - 8007bdc: 3708 adds r7, #8 - 8007bde: 46bd mov sp, r7 - 8007be0: bd80 pop {r7, pc} - 8007be2: bf00 nop - 8007be4: 02008000 .word 0x02008000 + 8007776: 4618 mov r0, r3 + 8007778: 3708 adds r7, #8 + 800777a: 46bd mov sp, r7 + 800777c: bd80 pop {r7, pc} + 800777e: bf00 nop + 8007780: 02008000 .word 0x02008000 -08007be8 : +08007784 : * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains * the configuration information for the specified I2C. * @retval HAL status */ HAL_StatusTypeDef HAL_I2C_DeInit(I2C_HandleTypeDef *hi2c) { - 8007be8: b580 push {r7, lr} - 8007bea: b082 sub sp, #8 - 8007bec: af00 add r7, sp, #0 - 8007bee: 6078 str r0, [r7, #4] + 8007784: b580 push {r7, lr} + 8007786: b082 sub sp, #8 + 8007788: af00 add r7, sp, #0 + 800778a: 6078 str r0, [r7, #4] /* Check the I2C handle allocation */ if (hi2c == NULL) - 8007bf0: 687b ldr r3, [r7, #4] - 8007bf2: 2b00 cmp r3, #0 - 8007bf4: d101 bne.n 8007bfa + 800778c: 687b ldr r3, [r7, #4] + 800778e: 2b00 cmp r3, #0 + 8007790: d101 bne.n 8007796 { return HAL_ERROR; - 8007bf6: 2301 movs r3, #1 - 8007bf8: e021 b.n 8007c3e + 8007792: 2301 movs r3, #1 + 8007794: e021 b.n 80077da } /* Check the parameters */ assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance)); hi2c->State = HAL_I2C_STATE_BUSY; - 8007bfa: 687b ldr r3, [r7, #4] - 8007bfc: 2224 movs r2, #36 ; 0x24 - 8007bfe: f883 2041 strb.w r2, [r3, #65] ; 0x41 + 8007796: 687b ldr r3, [r7, #4] + 8007798: 2224 movs r2, #36 ; 0x24 + 800779a: f883 2041 strb.w r2, [r3, #65] ; 0x41 /* Disable the I2C Peripheral Clock */ __HAL_I2C_DISABLE(hi2c); - 8007c02: 687b ldr r3, [r7, #4] - 8007c04: 681b ldr r3, [r3, #0] - 8007c06: 681a ldr r2, [r3, #0] - 8007c08: 687b ldr r3, [r7, #4] - 8007c0a: 681b ldr r3, [r3, #0] - 8007c0c: f022 0201 bic.w r2, r2, #1 - 8007c10: 601a str r2, [r3, #0] + 800779e: 687b ldr r3, [r7, #4] + 80077a0: 681b ldr r3, [r3, #0] + 80077a2: 681a ldr r2, [r3, #0] + 80077a4: 687b ldr r3, [r7, #4] + 80077a6: 681b ldr r3, [r3, #0] + 80077a8: f022 0201 bic.w r2, r2, #1 + 80077ac: 601a str r2, [r3, #0] /* DeInit the low level hardware: GPIO, CLOCK, NVIC */ hi2c->MspDeInitCallback(hi2c); #else /* DeInit the low level hardware: GPIO, CLOCK, NVIC */ HAL_I2C_MspDeInit(hi2c); - 8007c12: 6878 ldr r0, [r7, #4] - 8007c14: f000 f821 bl 8007c5a + 80077ae: 6878 ldr r0, [r7, #4] + 80077b0: f000 f821 bl 80077f6 #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */ hi2c->ErrorCode = HAL_I2C_ERROR_NONE; - 8007c18: 687b ldr r3, [r7, #4] - 8007c1a: 2200 movs r2, #0 - 8007c1c: 645a str r2, [r3, #68] ; 0x44 + 80077b4: 687b ldr r3, [r7, #4] + 80077b6: 2200 movs r2, #0 + 80077b8: 645a str r2, [r3, #68] ; 0x44 hi2c->State = HAL_I2C_STATE_RESET; - 8007c1e: 687b ldr r3, [r7, #4] - 8007c20: 2200 movs r2, #0 - 8007c22: f883 2041 strb.w r2, [r3, #65] ; 0x41 + 80077ba: 687b ldr r3, [r7, #4] + 80077bc: 2200 movs r2, #0 + 80077be: f883 2041 strb.w r2, [r3, #65] ; 0x41 hi2c->PreviousState = I2C_STATE_NONE; - 8007c26: 687b ldr r3, [r7, #4] - 8007c28: 2200 movs r2, #0 - 8007c2a: 631a str r2, [r3, #48] ; 0x30 + 80077c2: 687b ldr r3, [r7, #4] + 80077c4: 2200 movs r2, #0 + 80077c6: 631a str r2, [r3, #48] ; 0x30 hi2c->Mode = HAL_I2C_MODE_NONE; - 8007c2c: 687b ldr r3, [r7, #4] - 8007c2e: 2200 movs r2, #0 - 8007c30: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 80077c8: 687b ldr r3, [r7, #4] + 80077ca: 2200 movs r2, #0 + 80077cc: f883 2042 strb.w r2, [r3, #66] ; 0x42 /* Release Lock */ __HAL_UNLOCK(hi2c); - 8007c34: 687b ldr r3, [r7, #4] - 8007c36: 2200 movs r2, #0 - 8007c38: f883 2040 strb.w r2, [r3, #64] ; 0x40 + 80077d0: 687b ldr r3, [r7, #4] + 80077d2: 2200 movs r2, #0 + 80077d4: f883 2040 strb.w r2, [r3, #64] ; 0x40 return HAL_OK; - 8007c3c: 2300 movs r3, #0 + 80077d8: 2300 movs r3, #0 } - 8007c3e: 4618 mov r0, r3 - 8007c40: 3708 adds r7, #8 - 8007c42: 46bd mov sp, r7 - 8007c44: bd80 pop {r7, pc} + 80077da: 4618 mov r0, r3 + 80077dc: 3708 adds r7, #8 + 80077de: 46bd mov sp, r7 + 80077e0: bd80 pop {r7, pc} -08007c46 : +080077e2 : * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains * the configuration information for the specified I2C. * @retval None */ __weak void HAL_I2C_MspInit(I2C_HandleTypeDef *hi2c) { - 8007c46: b480 push {r7} - 8007c48: b083 sub sp, #12 - 8007c4a: af00 add r7, sp, #0 - 8007c4c: 6078 str r0, [r7, #4] + 80077e2: b480 push {r7} + 80077e4: b083 sub sp, #12 + 80077e6: af00 add r7, sp, #0 + 80077e8: 6078 str r0, [r7, #4] UNUSED(hi2c); /* NOTE : This function should not be modified, when the callback is needed, the HAL_I2C_MspInit could be implemented in the user file */ } - 8007c4e: bf00 nop - 8007c50: 370c adds r7, #12 - 8007c52: 46bd mov sp, r7 - 8007c54: f85d 7b04 ldr.w r7, [sp], #4 - 8007c58: 4770 bx lr + 80077ea: bf00 nop + 80077ec: 370c adds r7, #12 + 80077ee: 46bd mov sp, r7 + 80077f0: f85d 7b04 ldr.w r7, [sp], #4 + 80077f4: 4770 bx lr -08007c5a : +080077f6 : * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains * the configuration information for the specified I2C. * @retval None */ __weak void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c) { - 8007c5a: b480 push {r7} - 8007c5c: b083 sub sp, #12 - 8007c5e: af00 add r7, sp, #0 - 8007c60: 6078 str r0, [r7, #4] + 80077f6: b480 push {r7} + 80077f8: b083 sub sp, #12 + 80077fa: af00 add r7, sp, #0 + 80077fc: 6078 str r0, [r7, #4] UNUSED(hi2c); /* NOTE : This function should not be modified, when the callback is needed, the HAL_I2C_MspDeInit could be implemented in the user file */ } - 8007c62: bf00 nop - 8007c64: 370c adds r7, #12 - 8007c66: 46bd mov sp, r7 - 8007c68: f85d 7b04 ldr.w r7, [sp], #4 - 8007c6c: 4770 bx lr + 80077fe: bf00 nop + 8007800: 370c adds r7, #12 + 8007802: 46bd mov sp, r7 + 8007804: f85d 7b04 ldr.w r7, [sp], #4 + 8007808: 4770 bx lr ... -08007c70 : +0800780c : * @param Size Amount of data to be sent * @param Timeout Timeout duration * @retval HAL status */ HAL_StatusTypeDef HAL_I2C_Mem_Write(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size, uint32_t Timeout) { - 8007c70: b580 push {r7, lr} - 8007c72: b088 sub sp, #32 - 8007c74: af02 add r7, sp, #8 - 8007c76: 60f8 str r0, [r7, #12] - 8007c78: 4608 mov r0, r1 - 8007c7a: 4611 mov r1, r2 - 8007c7c: 461a mov r2, r3 - 8007c7e: 4603 mov r3, r0 - 8007c80: 817b strh r3, [r7, #10] - 8007c82: 460b mov r3, r1 - 8007c84: 813b strh r3, [r7, #8] - 8007c86: 4613 mov r3, r2 - 8007c88: 80fb strh r3, [r7, #6] + 800780c: b580 push {r7, lr} + 800780e: b088 sub sp, #32 + 8007810: af02 add r7, sp, #8 + 8007812: 60f8 str r0, [r7, #12] + 8007814: 4608 mov r0, r1 + 8007816: 4611 mov r1, r2 + 8007818: 461a mov r2, r3 + 800781a: 4603 mov r3, r0 + 800781c: 817b strh r3, [r7, #10] + 800781e: 460b mov r3, r1 + 8007820: 813b strh r3, [r7, #8] + 8007822: 4613 mov r3, r2 + 8007824: 80fb strh r3, [r7, #6] uint32_t tickstart; /* Check the parameters */ assert_param(IS_I2C_MEMADD_SIZE(MemAddSize)); if (hi2c->State == HAL_I2C_STATE_READY) - 8007c8a: 68fb ldr r3, [r7, #12] - 8007c8c: f893 3041 ldrb.w r3, [r3, #65] ; 0x41 - 8007c90: b2db uxtb r3, r3 - 8007c92: 2b20 cmp r3, #32 - 8007c94: f040 80f9 bne.w 8007e8a + 8007826: 68fb ldr r3, [r7, #12] + 8007828: f893 3041 ldrb.w r3, [r3, #65] ; 0x41 + 800782c: b2db uxtb r3, r3 + 800782e: 2b20 cmp r3, #32 + 8007830: f040 80f9 bne.w 8007a26 { if ((pData == NULL) || (Size == 0U)) - 8007c98: 6a3b ldr r3, [r7, #32] - 8007c9a: 2b00 cmp r3, #0 - 8007c9c: d002 beq.n 8007ca4 - 8007c9e: 8cbb ldrh r3, [r7, #36] ; 0x24 - 8007ca0: 2b00 cmp r3, #0 - 8007ca2: d105 bne.n 8007cb0 + 8007834: 6a3b ldr r3, [r7, #32] + 8007836: 2b00 cmp r3, #0 + 8007838: d002 beq.n 8007840 + 800783a: 8cbb ldrh r3, [r7, #36] ; 0x24 + 800783c: 2b00 cmp r3, #0 + 800783e: d105 bne.n 800784c { hi2c->ErrorCode = HAL_I2C_ERROR_INVALID_PARAM; - 8007ca4: 68fb ldr r3, [r7, #12] - 8007ca6: f44f 7200 mov.w r2, #512 ; 0x200 - 8007caa: 645a str r2, [r3, #68] ; 0x44 + 8007840: 68fb ldr r3, [r7, #12] + 8007842: f44f 7200 mov.w r2, #512 ; 0x200 + 8007846: 645a str r2, [r3, #68] ; 0x44 return HAL_ERROR; - 8007cac: 2301 movs r3, #1 - 8007cae: e0ed b.n 8007e8c + 8007848: 2301 movs r3, #1 + 800784a: e0ed b.n 8007a28 } /* Process Locked */ __HAL_LOCK(hi2c); - 8007cb0: 68fb ldr r3, [r7, #12] - 8007cb2: f893 3040 ldrb.w r3, [r3, #64] ; 0x40 - 8007cb6: 2b01 cmp r3, #1 - 8007cb8: d101 bne.n 8007cbe - 8007cba: 2302 movs r3, #2 - 8007cbc: e0e6 b.n 8007e8c - 8007cbe: 68fb ldr r3, [r7, #12] - 8007cc0: 2201 movs r2, #1 - 8007cc2: f883 2040 strb.w r2, [r3, #64] ; 0x40 + 800784c: 68fb ldr r3, [r7, #12] + 800784e: f893 3040 ldrb.w r3, [r3, #64] ; 0x40 + 8007852: 2b01 cmp r3, #1 + 8007854: d101 bne.n 800785a + 8007856: 2302 movs r3, #2 + 8007858: e0e6 b.n 8007a28 + 800785a: 68fb ldr r3, [r7, #12] + 800785c: 2201 movs r2, #1 + 800785e: f883 2040 strb.w r2, [r3, #64] ; 0x40 /* Init tickstart for timeout management*/ tickstart = HAL_GetTick(); - 8007cc6: f7fd f8b3 bl 8004e30 - 8007cca: 6178 str r0, [r7, #20] + 8007862: f7fd f899 bl 8004998 + 8007866: 6178 str r0, [r7, #20] if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, I2C_TIMEOUT_BUSY, tickstart) != HAL_OK) - 8007ccc: 697b ldr r3, [r7, #20] - 8007cce: 9300 str r3, [sp, #0] - 8007cd0: 2319 movs r3, #25 - 8007cd2: 2201 movs r2, #1 - 8007cd4: f44f 4100 mov.w r1, #32768 ; 0x8000 - 8007cd8: 68f8 ldr r0, [r7, #12] - 8007cda: f000 fad1 bl 8008280 - 8007cde: 4603 mov r3, r0 - 8007ce0: 2b00 cmp r3, #0 - 8007ce2: d001 beq.n 8007ce8 + 8007868: 697b ldr r3, [r7, #20] + 800786a: 9300 str r3, [sp, #0] + 800786c: 2319 movs r3, #25 + 800786e: 2201 movs r2, #1 + 8007870: f44f 4100 mov.w r1, #32768 ; 0x8000 + 8007874: 68f8 ldr r0, [r7, #12] + 8007876: f000 fad1 bl 8007e1c + 800787a: 4603 mov r3, r0 + 800787c: 2b00 cmp r3, #0 + 800787e: d001 beq.n 8007884 { return HAL_ERROR; - 8007ce4: 2301 movs r3, #1 - 8007ce6: e0d1 b.n 8007e8c + 8007880: 2301 movs r3, #1 + 8007882: e0d1 b.n 8007a28 } hi2c->State = HAL_I2C_STATE_BUSY_TX; - 8007ce8: 68fb ldr r3, [r7, #12] - 8007cea: 2221 movs r2, #33 ; 0x21 - 8007cec: f883 2041 strb.w r2, [r3, #65] ; 0x41 + 8007884: 68fb ldr r3, [r7, #12] + 8007886: 2221 movs r2, #33 ; 0x21 + 8007888: f883 2041 strb.w r2, [r3, #65] ; 0x41 hi2c->Mode = HAL_I2C_MODE_MEM; - 8007cf0: 68fb ldr r3, [r7, #12] - 8007cf2: 2240 movs r2, #64 ; 0x40 - 8007cf4: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 800788c: 68fb ldr r3, [r7, #12] + 800788e: 2240 movs r2, #64 ; 0x40 + 8007890: f883 2042 strb.w r2, [r3, #66] ; 0x42 hi2c->ErrorCode = HAL_I2C_ERROR_NONE; - 8007cf8: 68fb ldr r3, [r7, #12] - 8007cfa: 2200 movs r2, #0 - 8007cfc: 645a str r2, [r3, #68] ; 0x44 + 8007894: 68fb ldr r3, [r7, #12] + 8007896: 2200 movs r2, #0 + 8007898: 645a str r2, [r3, #68] ; 0x44 /* Prepare transfer parameters */ hi2c->pBuffPtr = pData; - 8007cfe: 68fb ldr r3, [r7, #12] - 8007d00: 6a3a ldr r2, [r7, #32] - 8007d02: 625a str r2, [r3, #36] ; 0x24 + 800789a: 68fb ldr r3, [r7, #12] + 800789c: 6a3a ldr r2, [r7, #32] + 800789e: 625a str r2, [r3, #36] ; 0x24 hi2c->XferCount = Size; - 8007d04: 68fb ldr r3, [r7, #12] - 8007d06: 8cba ldrh r2, [r7, #36] ; 0x24 - 8007d08: 855a strh r2, [r3, #42] ; 0x2a + 80078a0: 68fb ldr r3, [r7, #12] + 80078a2: 8cba ldrh r2, [r7, #36] ; 0x24 + 80078a4: 855a strh r2, [r3, #42] ; 0x2a hi2c->XferISR = NULL; - 8007d0a: 68fb ldr r3, [r7, #12] - 8007d0c: 2200 movs r2, #0 - 8007d0e: 635a str r2, [r3, #52] ; 0x34 + 80078a6: 68fb ldr r3, [r7, #12] + 80078a8: 2200 movs r2, #0 + 80078aa: 635a str r2, [r3, #52] ; 0x34 /* Send Slave Address and Memory Address */ if (I2C_RequestMemoryWrite(hi2c, DevAddress, MemAddress, MemAddSize, Timeout, tickstart) != HAL_OK) - 8007d10: 88f8 ldrh r0, [r7, #6] - 8007d12: 893a ldrh r2, [r7, #8] - 8007d14: 8979 ldrh r1, [r7, #10] - 8007d16: 697b ldr r3, [r7, #20] - 8007d18: 9301 str r3, [sp, #4] - 8007d1a: 6abb ldr r3, [r7, #40] ; 0x28 - 8007d1c: 9300 str r3, [sp, #0] - 8007d1e: 4603 mov r3, r0 - 8007d20: 68f8 ldr r0, [r7, #12] - 8007d22: f000 f9e1 bl 80080e8 - 8007d26: 4603 mov r3, r0 - 8007d28: 2b00 cmp r3, #0 - 8007d2a: d005 beq.n 8007d38 + 80078ac: 88f8 ldrh r0, [r7, #6] + 80078ae: 893a ldrh r2, [r7, #8] + 80078b0: 8979 ldrh r1, [r7, #10] + 80078b2: 697b ldr r3, [r7, #20] + 80078b4: 9301 str r3, [sp, #4] + 80078b6: 6abb ldr r3, [r7, #40] ; 0x28 + 80078b8: 9300 str r3, [sp, #0] + 80078ba: 4603 mov r3, r0 + 80078bc: 68f8 ldr r0, [r7, #12] + 80078be: f000 f9e1 bl 8007c84 + 80078c2: 4603 mov r3, r0 + 80078c4: 2b00 cmp r3, #0 + 80078c6: d005 beq.n 80078d4 { /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 8007d2c: 68fb ldr r3, [r7, #12] - 8007d2e: 2200 movs r2, #0 - 8007d30: f883 2040 strb.w r2, [r3, #64] ; 0x40 + 80078c8: 68fb ldr r3, [r7, #12] + 80078ca: 2200 movs r2, #0 + 80078cc: f883 2040 strb.w r2, [r3, #64] ; 0x40 return HAL_ERROR; - 8007d34: 2301 movs r3, #1 - 8007d36: e0a9 b.n 8007e8c + 80078d0: 2301 movs r3, #1 + 80078d2: e0a9 b.n 8007a28 } /* Set NBYTES to write and reload if hi2c->XferCount > MAX_NBYTE_SIZE */ if (hi2c->XferCount > MAX_NBYTE_SIZE) - 8007d38: 68fb ldr r3, [r7, #12] - 8007d3a: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8007d3c: b29b uxth r3, r3 - 8007d3e: 2bff cmp r3, #255 ; 0xff - 8007d40: d90e bls.n 8007d60 + 80078d4: 68fb ldr r3, [r7, #12] + 80078d6: 8d5b ldrh r3, [r3, #42] ; 0x2a + 80078d8: b29b uxth r3, r3 + 80078da: 2bff cmp r3, #255 ; 0xff + 80078dc: d90e bls.n 80078fc { hi2c->XferSize = MAX_NBYTE_SIZE; - 8007d42: 68fb ldr r3, [r7, #12] - 8007d44: 22ff movs r2, #255 ; 0xff - 8007d46: 851a strh r2, [r3, #40] ; 0x28 + 80078de: 68fb ldr r3, [r7, #12] + 80078e0: 22ff movs r2, #255 ; 0xff + 80078e2: 851a strh r2, [r3, #40] ; 0x28 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, I2C_NO_STARTSTOP); - 8007d48: 68fb ldr r3, [r7, #12] - 8007d4a: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8007d4c: b2da uxtb r2, r3 - 8007d4e: 8979 ldrh r1, [r7, #10] - 8007d50: 2300 movs r3, #0 - 8007d52: 9300 str r3, [sp, #0] - 8007d54: f04f 7380 mov.w r3, #16777216 ; 0x1000000 - 8007d58: 68f8 ldr r0, [r7, #12] - 8007d5a: f000 fbb3 bl 80084c4 - 8007d5e: e00f b.n 8007d80 + 80078e4: 68fb ldr r3, [r7, #12] + 80078e6: 8d1b ldrh r3, [r3, #40] ; 0x28 + 80078e8: b2da uxtb r2, r3 + 80078ea: 8979 ldrh r1, [r7, #10] + 80078ec: 2300 movs r3, #0 + 80078ee: 9300 str r3, [sp, #0] + 80078f0: f04f 7380 mov.w r3, #16777216 ; 0x1000000 + 80078f4: 68f8 ldr r0, [r7, #12] + 80078f6: f000 fbb3 bl 8008060 + 80078fa: e00f b.n 800791c } else { hi2c->XferSize = hi2c->XferCount; - 8007d60: 68fb ldr r3, [r7, #12] - 8007d62: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8007d64: b29a uxth r2, r3 - 8007d66: 68fb ldr r3, [r7, #12] - 8007d68: 851a strh r2, [r3, #40] ; 0x28 + 80078fc: 68fb ldr r3, [r7, #12] + 80078fe: 8d5b ldrh r3, [r3, #42] ; 0x2a + 8007900: b29a uxth r2, r3 + 8007902: 68fb ldr r3, [r7, #12] + 8007904: 851a strh r2, [r3, #40] ; 0x28 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, I2C_NO_STARTSTOP); - 8007d6a: 68fb ldr r3, [r7, #12] - 8007d6c: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8007d6e: b2da uxtb r2, r3 - 8007d70: 8979 ldrh r1, [r7, #10] - 8007d72: 2300 movs r3, #0 - 8007d74: 9300 str r3, [sp, #0] - 8007d76: f04f 7300 mov.w r3, #33554432 ; 0x2000000 - 8007d7a: 68f8 ldr r0, [r7, #12] - 8007d7c: f000 fba2 bl 80084c4 + 8007906: 68fb ldr r3, [r7, #12] + 8007908: 8d1b ldrh r3, [r3, #40] ; 0x28 + 800790a: b2da uxtb r2, r3 + 800790c: 8979 ldrh r1, [r7, #10] + 800790e: 2300 movs r3, #0 + 8007910: 9300 str r3, [sp, #0] + 8007912: f04f 7300 mov.w r3, #33554432 ; 0x2000000 + 8007916: 68f8 ldr r0, [r7, #12] + 8007918: f000 fba2 bl 8008060 } do { /* Wait until TXIS flag is set */ if (I2C_WaitOnTXISFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK) - 8007d80: 697a ldr r2, [r7, #20] - 8007d82: 6ab9 ldr r1, [r7, #40] ; 0x28 - 8007d84: 68f8 ldr r0, [r7, #12] - 8007d86: f000 fabb bl 8008300 - 8007d8a: 4603 mov r3, r0 - 8007d8c: 2b00 cmp r3, #0 - 8007d8e: d001 beq.n 8007d94 + 800791c: 697a ldr r2, [r7, #20] + 800791e: 6ab9 ldr r1, [r7, #40] ; 0x28 + 8007920: 68f8 ldr r0, [r7, #12] + 8007922: f000 fabb bl 8007e9c + 8007926: 4603 mov r3, r0 + 8007928: 2b00 cmp r3, #0 + 800792a: d001 beq.n 8007930 { return HAL_ERROR; - 8007d90: 2301 movs r3, #1 - 8007d92: e07b b.n 8007e8c + 800792c: 2301 movs r3, #1 + 800792e: e07b b.n 8007a28 } /* Write data to TXDR */ hi2c->Instance->TXDR = *hi2c->pBuffPtr; - 8007d94: 68fb ldr r3, [r7, #12] - 8007d96: 6a5b ldr r3, [r3, #36] ; 0x24 - 8007d98: 781a ldrb r2, [r3, #0] - 8007d9a: 68fb ldr r3, [r7, #12] - 8007d9c: 681b ldr r3, [r3, #0] - 8007d9e: 629a str r2, [r3, #40] ; 0x28 + 8007930: 68fb ldr r3, [r7, #12] + 8007932: 6a5b ldr r3, [r3, #36] ; 0x24 + 8007934: 781a ldrb r2, [r3, #0] + 8007936: 68fb ldr r3, [r7, #12] + 8007938: 681b ldr r3, [r3, #0] + 800793a: 629a str r2, [r3, #40] ; 0x28 /* Increment Buffer pointer */ hi2c->pBuffPtr++; - 8007da0: 68fb ldr r3, [r7, #12] - 8007da2: 6a5b ldr r3, [r3, #36] ; 0x24 - 8007da4: 1c5a adds r2, r3, #1 - 8007da6: 68fb ldr r3, [r7, #12] - 8007da8: 625a str r2, [r3, #36] ; 0x24 + 800793c: 68fb ldr r3, [r7, #12] + 800793e: 6a5b ldr r3, [r3, #36] ; 0x24 + 8007940: 1c5a adds r2, r3, #1 + 8007942: 68fb ldr r3, [r7, #12] + 8007944: 625a str r2, [r3, #36] ; 0x24 hi2c->XferCount--; - 8007daa: 68fb ldr r3, [r7, #12] - 8007dac: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8007dae: b29b uxth r3, r3 - 8007db0: 3b01 subs r3, #1 - 8007db2: b29a uxth r2, r3 - 8007db4: 68fb ldr r3, [r7, #12] - 8007db6: 855a strh r2, [r3, #42] ; 0x2a + 8007946: 68fb ldr r3, [r7, #12] + 8007948: 8d5b ldrh r3, [r3, #42] ; 0x2a + 800794a: b29b uxth r3, r3 + 800794c: 3b01 subs r3, #1 + 800794e: b29a uxth r2, r3 + 8007950: 68fb ldr r3, [r7, #12] + 8007952: 855a strh r2, [r3, #42] ; 0x2a hi2c->XferSize--; - 8007db8: 68fb ldr r3, [r7, #12] - 8007dba: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8007dbc: 3b01 subs r3, #1 - 8007dbe: b29a uxth r2, r3 - 8007dc0: 68fb ldr r3, [r7, #12] - 8007dc2: 851a strh r2, [r3, #40] ; 0x28 + 8007954: 68fb ldr r3, [r7, #12] + 8007956: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8007958: 3b01 subs r3, #1 + 800795a: b29a uxth r2, r3 + 800795c: 68fb ldr r3, [r7, #12] + 800795e: 851a strh r2, [r3, #40] ; 0x28 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) - 8007dc4: 68fb ldr r3, [r7, #12] - 8007dc6: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8007dc8: b29b uxth r3, r3 - 8007dca: 2b00 cmp r3, #0 - 8007dcc: d034 beq.n 8007e38 - 8007dce: 68fb ldr r3, [r7, #12] - 8007dd0: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8007dd2: 2b00 cmp r3, #0 - 8007dd4: d130 bne.n 8007e38 + 8007960: 68fb ldr r3, [r7, #12] + 8007962: 8d5b ldrh r3, [r3, #42] ; 0x2a + 8007964: b29b uxth r3, r3 + 8007966: 2b00 cmp r3, #0 + 8007968: d034 beq.n 80079d4 + 800796a: 68fb ldr r3, [r7, #12] + 800796c: 8d1b ldrh r3, [r3, #40] ; 0x28 + 800796e: 2b00 cmp r3, #0 + 8007970: d130 bne.n 80079d4 { /* Wait until TCR flag is set */ if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_TCR, RESET, Timeout, tickstart) != HAL_OK) - 8007dd6: 697b ldr r3, [r7, #20] - 8007dd8: 9300 str r3, [sp, #0] - 8007dda: 6abb ldr r3, [r7, #40] ; 0x28 - 8007ddc: 2200 movs r2, #0 - 8007dde: 2180 movs r1, #128 ; 0x80 - 8007de0: 68f8 ldr r0, [r7, #12] - 8007de2: f000 fa4d bl 8008280 - 8007de6: 4603 mov r3, r0 - 8007de8: 2b00 cmp r3, #0 - 8007dea: d001 beq.n 8007df0 + 8007972: 697b ldr r3, [r7, #20] + 8007974: 9300 str r3, [sp, #0] + 8007976: 6abb ldr r3, [r7, #40] ; 0x28 + 8007978: 2200 movs r2, #0 + 800797a: 2180 movs r1, #128 ; 0x80 + 800797c: 68f8 ldr r0, [r7, #12] + 800797e: f000 fa4d bl 8007e1c + 8007982: 4603 mov r3, r0 + 8007984: 2b00 cmp r3, #0 + 8007986: d001 beq.n 800798c { return HAL_ERROR; - 8007dec: 2301 movs r3, #1 - 8007dee: e04d b.n 8007e8c + 8007988: 2301 movs r3, #1 + 800798a: e04d b.n 8007a28 } if (hi2c->XferCount > MAX_NBYTE_SIZE) - 8007df0: 68fb ldr r3, [r7, #12] - 8007df2: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8007df4: b29b uxth r3, r3 - 8007df6: 2bff cmp r3, #255 ; 0xff - 8007df8: d90e bls.n 8007e18 + 800798c: 68fb ldr r3, [r7, #12] + 800798e: 8d5b ldrh r3, [r3, #42] ; 0x2a + 8007990: b29b uxth r3, r3 + 8007992: 2bff cmp r3, #255 ; 0xff + 8007994: d90e bls.n 80079b4 { hi2c->XferSize = MAX_NBYTE_SIZE; - 8007dfa: 68fb ldr r3, [r7, #12] - 8007dfc: 22ff movs r2, #255 ; 0xff - 8007dfe: 851a strh r2, [r3, #40] ; 0x28 + 8007996: 68fb ldr r3, [r7, #12] + 8007998: 22ff movs r2, #255 ; 0xff + 800799a: 851a strh r2, [r3, #40] ; 0x28 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, I2C_NO_STARTSTOP); - 8007e00: 68fb ldr r3, [r7, #12] - 8007e02: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8007e04: b2da uxtb r2, r3 - 8007e06: 8979 ldrh r1, [r7, #10] - 8007e08: 2300 movs r3, #0 - 8007e0a: 9300 str r3, [sp, #0] - 8007e0c: f04f 7380 mov.w r3, #16777216 ; 0x1000000 - 8007e10: 68f8 ldr r0, [r7, #12] - 8007e12: f000 fb57 bl 80084c4 - 8007e16: e00f b.n 8007e38 + 800799c: 68fb ldr r3, [r7, #12] + 800799e: 8d1b ldrh r3, [r3, #40] ; 0x28 + 80079a0: b2da uxtb r2, r3 + 80079a2: 8979 ldrh r1, [r7, #10] + 80079a4: 2300 movs r3, #0 + 80079a6: 9300 str r3, [sp, #0] + 80079a8: f04f 7380 mov.w r3, #16777216 ; 0x1000000 + 80079ac: 68f8 ldr r0, [r7, #12] + 80079ae: f000 fb57 bl 8008060 + 80079b2: e00f b.n 80079d4 } else { hi2c->XferSize = hi2c->XferCount; - 8007e18: 68fb ldr r3, [r7, #12] - 8007e1a: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8007e1c: b29a uxth r2, r3 - 8007e1e: 68fb ldr r3, [r7, #12] - 8007e20: 851a strh r2, [r3, #40] ; 0x28 + 80079b4: 68fb ldr r3, [r7, #12] + 80079b6: 8d5b ldrh r3, [r3, #42] ; 0x2a + 80079b8: b29a uxth r2, r3 + 80079ba: 68fb ldr r3, [r7, #12] + 80079bc: 851a strh r2, [r3, #40] ; 0x28 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, I2C_NO_STARTSTOP); - 8007e22: 68fb ldr r3, [r7, #12] - 8007e24: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8007e26: b2da uxtb r2, r3 - 8007e28: 8979 ldrh r1, [r7, #10] - 8007e2a: 2300 movs r3, #0 - 8007e2c: 9300 str r3, [sp, #0] - 8007e2e: f04f 7300 mov.w r3, #33554432 ; 0x2000000 - 8007e32: 68f8 ldr r0, [r7, #12] - 8007e34: f000 fb46 bl 80084c4 + 80079be: 68fb ldr r3, [r7, #12] + 80079c0: 8d1b ldrh r3, [r3, #40] ; 0x28 + 80079c2: b2da uxtb r2, r3 + 80079c4: 8979 ldrh r1, [r7, #10] + 80079c6: 2300 movs r3, #0 + 80079c8: 9300 str r3, [sp, #0] + 80079ca: f04f 7300 mov.w r3, #33554432 ; 0x2000000 + 80079ce: 68f8 ldr r0, [r7, #12] + 80079d0: f000 fb46 bl 8008060 } } } while (hi2c->XferCount > 0U); - 8007e38: 68fb ldr r3, [r7, #12] - 8007e3a: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8007e3c: b29b uxth r3, r3 - 8007e3e: 2b00 cmp r3, #0 - 8007e40: d19e bne.n 8007d80 + 80079d4: 68fb ldr r3, [r7, #12] + 80079d6: 8d5b ldrh r3, [r3, #42] ; 0x2a + 80079d8: b29b uxth r3, r3 + 80079da: 2b00 cmp r3, #0 + 80079dc: d19e bne.n 800791c /* No need to Check TC flag, with AUTOEND mode the stop is automatically generated */ /* Wait until STOPF flag is reset */ if (I2C_WaitOnSTOPFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK) - 8007e42: 697a ldr r2, [r7, #20] - 8007e44: 6ab9 ldr r1, [r7, #40] ; 0x28 - 8007e46: 68f8 ldr r0, [r7, #12] - 8007e48: f000 fa9a bl 8008380 - 8007e4c: 4603 mov r3, r0 - 8007e4e: 2b00 cmp r3, #0 - 8007e50: d001 beq.n 8007e56 + 80079de: 697a ldr r2, [r7, #20] + 80079e0: 6ab9 ldr r1, [r7, #40] ; 0x28 + 80079e2: 68f8 ldr r0, [r7, #12] + 80079e4: f000 fa9a bl 8007f1c + 80079e8: 4603 mov r3, r0 + 80079ea: 2b00 cmp r3, #0 + 80079ec: d001 beq.n 80079f2 { return HAL_ERROR; - 8007e52: 2301 movs r3, #1 - 8007e54: e01a b.n 8007e8c + 80079ee: 2301 movs r3, #1 + 80079f0: e01a b.n 8007a28 } /* Clear STOP Flag */ __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_STOPF); - 8007e56: 68fb ldr r3, [r7, #12] - 8007e58: 681b ldr r3, [r3, #0] - 8007e5a: 2220 movs r2, #32 - 8007e5c: 61da str r2, [r3, #28] + 80079f2: 68fb ldr r3, [r7, #12] + 80079f4: 681b ldr r3, [r3, #0] + 80079f6: 2220 movs r2, #32 + 80079f8: 61da str r2, [r3, #28] /* Clear Configuration Register 2 */ I2C_RESET_CR2(hi2c); - 8007e5e: 68fb ldr r3, [r7, #12] - 8007e60: 681b ldr r3, [r3, #0] - 8007e62: 6859 ldr r1, [r3, #4] - 8007e64: 68fb ldr r3, [r7, #12] - 8007e66: 681a ldr r2, [r3, #0] - 8007e68: 4b0a ldr r3, [pc, #40] ; (8007e94 ) - 8007e6a: 400b ands r3, r1 - 8007e6c: 6053 str r3, [r2, #4] + 80079fa: 68fb ldr r3, [r7, #12] + 80079fc: 681b ldr r3, [r3, #0] + 80079fe: 6859 ldr r1, [r3, #4] + 8007a00: 68fb ldr r3, [r7, #12] + 8007a02: 681a ldr r2, [r3, #0] + 8007a04: 4b0a ldr r3, [pc, #40] ; (8007a30 ) + 8007a06: 400b ands r3, r1 + 8007a08: 6053 str r3, [r2, #4] hi2c->State = HAL_I2C_STATE_READY; - 8007e6e: 68fb ldr r3, [r7, #12] - 8007e70: 2220 movs r2, #32 - 8007e72: f883 2041 strb.w r2, [r3, #65] ; 0x41 + 8007a0a: 68fb ldr r3, [r7, #12] + 8007a0c: 2220 movs r2, #32 + 8007a0e: f883 2041 strb.w r2, [r3, #65] ; 0x41 hi2c->Mode = HAL_I2C_MODE_NONE; - 8007e76: 68fb ldr r3, [r7, #12] - 8007e78: 2200 movs r2, #0 - 8007e7a: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 8007a12: 68fb ldr r3, [r7, #12] + 8007a14: 2200 movs r2, #0 + 8007a16: f883 2042 strb.w r2, [r3, #66] ; 0x42 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 8007e7e: 68fb ldr r3, [r7, #12] - 8007e80: 2200 movs r2, #0 - 8007e82: f883 2040 strb.w r2, [r3, #64] ; 0x40 + 8007a1a: 68fb ldr r3, [r7, #12] + 8007a1c: 2200 movs r2, #0 + 8007a1e: f883 2040 strb.w r2, [r3, #64] ; 0x40 return HAL_OK; - 8007e86: 2300 movs r3, #0 - 8007e88: e000 b.n 8007e8c + 8007a22: 2300 movs r3, #0 + 8007a24: e000 b.n 8007a28 } else { return HAL_BUSY; - 8007e8a: 2302 movs r3, #2 + 8007a26: 2302 movs r3, #2 } } - 8007e8c: 4618 mov r0, r3 - 8007e8e: 3718 adds r7, #24 - 8007e90: 46bd mov sp, r7 - 8007e92: bd80 pop {r7, pc} - 8007e94: fe00e800 .word 0xfe00e800 + 8007a28: 4618 mov r0, r3 + 8007a2a: 3718 adds r7, #24 + 8007a2c: 46bd mov sp, r7 + 8007a2e: bd80 pop {r7, pc} + 8007a30: fe00e800 .word 0xfe00e800 -08007e98 : +08007a34 : * @param Size Amount of data to be sent * @param Timeout Timeout duration * @retval HAL status */ HAL_StatusTypeDef HAL_I2C_Mem_Read(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size, uint32_t Timeout) { - 8007e98: b580 push {r7, lr} - 8007e9a: b088 sub sp, #32 - 8007e9c: af02 add r7, sp, #8 - 8007e9e: 60f8 str r0, [r7, #12] - 8007ea0: 4608 mov r0, r1 - 8007ea2: 4611 mov r1, r2 - 8007ea4: 461a mov r2, r3 - 8007ea6: 4603 mov r3, r0 - 8007ea8: 817b strh r3, [r7, #10] - 8007eaa: 460b mov r3, r1 - 8007eac: 813b strh r3, [r7, #8] - 8007eae: 4613 mov r3, r2 - 8007eb0: 80fb strh r3, [r7, #6] + 8007a34: b580 push {r7, lr} + 8007a36: b088 sub sp, #32 + 8007a38: af02 add r7, sp, #8 + 8007a3a: 60f8 str r0, [r7, #12] + 8007a3c: 4608 mov r0, r1 + 8007a3e: 4611 mov r1, r2 + 8007a40: 461a mov r2, r3 + 8007a42: 4603 mov r3, r0 + 8007a44: 817b strh r3, [r7, #10] + 8007a46: 460b mov r3, r1 + 8007a48: 813b strh r3, [r7, #8] + 8007a4a: 4613 mov r3, r2 + 8007a4c: 80fb strh r3, [r7, #6] uint32_t tickstart; /* Check the parameters */ assert_param(IS_I2C_MEMADD_SIZE(MemAddSize)); if (hi2c->State == HAL_I2C_STATE_READY) - 8007eb2: 68fb ldr r3, [r7, #12] - 8007eb4: f893 3041 ldrb.w r3, [r3, #65] ; 0x41 - 8007eb8: b2db uxtb r3, r3 - 8007eba: 2b20 cmp r3, #32 - 8007ebc: f040 80fd bne.w 80080ba + 8007a4e: 68fb ldr r3, [r7, #12] + 8007a50: f893 3041 ldrb.w r3, [r3, #65] ; 0x41 + 8007a54: b2db uxtb r3, r3 + 8007a56: 2b20 cmp r3, #32 + 8007a58: f040 80fd bne.w 8007c56 { if ((pData == NULL) || (Size == 0U)) - 8007ec0: 6a3b ldr r3, [r7, #32] - 8007ec2: 2b00 cmp r3, #0 - 8007ec4: d002 beq.n 8007ecc - 8007ec6: 8cbb ldrh r3, [r7, #36] ; 0x24 - 8007ec8: 2b00 cmp r3, #0 - 8007eca: d105 bne.n 8007ed8 + 8007a5c: 6a3b ldr r3, [r7, #32] + 8007a5e: 2b00 cmp r3, #0 + 8007a60: d002 beq.n 8007a68 + 8007a62: 8cbb ldrh r3, [r7, #36] ; 0x24 + 8007a64: 2b00 cmp r3, #0 + 8007a66: d105 bne.n 8007a74 { hi2c->ErrorCode = HAL_I2C_ERROR_INVALID_PARAM; - 8007ecc: 68fb ldr r3, [r7, #12] - 8007ece: f44f 7200 mov.w r2, #512 ; 0x200 - 8007ed2: 645a str r2, [r3, #68] ; 0x44 + 8007a68: 68fb ldr r3, [r7, #12] + 8007a6a: f44f 7200 mov.w r2, #512 ; 0x200 + 8007a6e: 645a str r2, [r3, #68] ; 0x44 return HAL_ERROR; - 8007ed4: 2301 movs r3, #1 - 8007ed6: e0f1 b.n 80080bc + 8007a70: 2301 movs r3, #1 + 8007a72: e0f1 b.n 8007c58 } /* Process Locked */ __HAL_LOCK(hi2c); - 8007ed8: 68fb ldr r3, [r7, #12] - 8007eda: f893 3040 ldrb.w r3, [r3, #64] ; 0x40 - 8007ede: 2b01 cmp r3, #1 - 8007ee0: d101 bne.n 8007ee6 - 8007ee2: 2302 movs r3, #2 - 8007ee4: e0ea b.n 80080bc - 8007ee6: 68fb ldr r3, [r7, #12] - 8007ee8: 2201 movs r2, #1 - 8007eea: f883 2040 strb.w r2, [r3, #64] ; 0x40 + 8007a74: 68fb ldr r3, [r7, #12] + 8007a76: f893 3040 ldrb.w r3, [r3, #64] ; 0x40 + 8007a7a: 2b01 cmp r3, #1 + 8007a7c: d101 bne.n 8007a82 + 8007a7e: 2302 movs r3, #2 + 8007a80: e0ea b.n 8007c58 + 8007a82: 68fb ldr r3, [r7, #12] + 8007a84: 2201 movs r2, #1 + 8007a86: f883 2040 strb.w r2, [r3, #64] ; 0x40 /* Init tickstart for timeout management*/ tickstart = HAL_GetTick(); - 8007eee: f7fc ff9f bl 8004e30 - 8007ef2: 6178 str r0, [r7, #20] + 8007a8a: f7fc ff85 bl 8004998 + 8007a8e: 6178 str r0, [r7, #20] if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, I2C_TIMEOUT_BUSY, tickstart) != HAL_OK) - 8007ef4: 697b ldr r3, [r7, #20] - 8007ef6: 9300 str r3, [sp, #0] - 8007ef8: 2319 movs r3, #25 - 8007efa: 2201 movs r2, #1 - 8007efc: f44f 4100 mov.w r1, #32768 ; 0x8000 - 8007f00: 68f8 ldr r0, [r7, #12] - 8007f02: f000 f9bd bl 8008280 - 8007f06: 4603 mov r3, r0 - 8007f08: 2b00 cmp r3, #0 - 8007f0a: d001 beq.n 8007f10 + 8007a90: 697b ldr r3, [r7, #20] + 8007a92: 9300 str r3, [sp, #0] + 8007a94: 2319 movs r3, #25 + 8007a96: 2201 movs r2, #1 + 8007a98: f44f 4100 mov.w r1, #32768 ; 0x8000 + 8007a9c: 68f8 ldr r0, [r7, #12] + 8007a9e: f000 f9bd bl 8007e1c + 8007aa2: 4603 mov r3, r0 + 8007aa4: 2b00 cmp r3, #0 + 8007aa6: d001 beq.n 8007aac { return HAL_ERROR; - 8007f0c: 2301 movs r3, #1 - 8007f0e: e0d5 b.n 80080bc + 8007aa8: 2301 movs r3, #1 + 8007aaa: e0d5 b.n 8007c58 } hi2c->State = HAL_I2C_STATE_BUSY_RX; - 8007f10: 68fb ldr r3, [r7, #12] - 8007f12: 2222 movs r2, #34 ; 0x22 - 8007f14: f883 2041 strb.w r2, [r3, #65] ; 0x41 + 8007aac: 68fb ldr r3, [r7, #12] + 8007aae: 2222 movs r2, #34 ; 0x22 + 8007ab0: f883 2041 strb.w r2, [r3, #65] ; 0x41 hi2c->Mode = HAL_I2C_MODE_MEM; - 8007f18: 68fb ldr r3, [r7, #12] - 8007f1a: 2240 movs r2, #64 ; 0x40 - 8007f1c: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 8007ab4: 68fb ldr r3, [r7, #12] + 8007ab6: 2240 movs r2, #64 ; 0x40 + 8007ab8: f883 2042 strb.w r2, [r3, #66] ; 0x42 hi2c->ErrorCode = HAL_I2C_ERROR_NONE; - 8007f20: 68fb ldr r3, [r7, #12] - 8007f22: 2200 movs r2, #0 - 8007f24: 645a str r2, [r3, #68] ; 0x44 + 8007abc: 68fb ldr r3, [r7, #12] + 8007abe: 2200 movs r2, #0 + 8007ac0: 645a str r2, [r3, #68] ; 0x44 /* Prepare transfer parameters */ hi2c->pBuffPtr = pData; - 8007f26: 68fb ldr r3, [r7, #12] - 8007f28: 6a3a ldr r2, [r7, #32] - 8007f2a: 625a str r2, [r3, #36] ; 0x24 + 8007ac2: 68fb ldr r3, [r7, #12] + 8007ac4: 6a3a ldr r2, [r7, #32] + 8007ac6: 625a str r2, [r3, #36] ; 0x24 hi2c->XferCount = Size; - 8007f2c: 68fb ldr r3, [r7, #12] - 8007f2e: 8cba ldrh r2, [r7, #36] ; 0x24 - 8007f30: 855a strh r2, [r3, #42] ; 0x2a + 8007ac8: 68fb ldr r3, [r7, #12] + 8007aca: 8cba ldrh r2, [r7, #36] ; 0x24 + 8007acc: 855a strh r2, [r3, #42] ; 0x2a hi2c->XferISR = NULL; - 8007f32: 68fb ldr r3, [r7, #12] - 8007f34: 2200 movs r2, #0 - 8007f36: 635a str r2, [r3, #52] ; 0x34 + 8007ace: 68fb ldr r3, [r7, #12] + 8007ad0: 2200 movs r2, #0 + 8007ad2: 635a str r2, [r3, #52] ; 0x34 /* Send Slave Address and Memory Address */ if (I2C_RequestMemoryRead(hi2c, DevAddress, MemAddress, MemAddSize, Timeout, tickstart) != HAL_OK) - 8007f38: 88f8 ldrh r0, [r7, #6] - 8007f3a: 893a ldrh r2, [r7, #8] - 8007f3c: 8979 ldrh r1, [r7, #10] - 8007f3e: 697b ldr r3, [r7, #20] - 8007f40: 9301 str r3, [sp, #4] - 8007f42: 6abb ldr r3, [r7, #40] ; 0x28 - 8007f44: 9300 str r3, [sp, #0] - 8007f46: 4603 mov r3, r0 - 8007f48: 68f8 ldr r0, [r7, #12] - 8007f4a: f000 f921 bl 8008190 - 8007f4e: 4603 mov r3, r0 - 8007f50: 2b00 cmp r3, #0 - 8007f52: d005 beq.n 8007f60 + 8007ad4: 88f8 ldrh r0, [r7, #6] + 8007ad6: 893a ldrh r2, [r7, #8] + 8007ad8: 8979 ldrh r1, [r7, #10] + 8007ada: 697b ldr r3, [r7, #20] + 8007adc: 9301 str r3, [sp, #4] + 8007ade: 6abb ldr r3, [r7, #40] ; 0x28 + 8007ae0: 9300 str r3, [sp, #0] + 8007ae2: 4603 mov r3, r0 + 8007ae4: 68f8 ldr r0, [r7, #12] + 8007ae6: f000 f921 bl 8007d2c + 8007aea: 4603 mov r3, r0 + 8007aec: 2b00 cmp r3, #0 + 8007aee: d005 beq.n 8007afc { /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 8007f54: 68fb ldr r3, [r7, #12] - 8007f56: 2200 movs r2, #0 - 8007f58: f883 2040 strb.w r2, [r3, #64] ; 0x40 + 8007af0: 68fb ldr r3, [r7, #12] + 8007af2: 2200 movs r2, #0 + 8007af4: f883 2040 strb.w r2, [r3, #64] ; 0x40 return HAL_ERROR; - 8007f5c: 2301 movs r3, #1 - 8007f5e: e0ad b.n 80080bc + 8007af8: 2301 movs r3, #1 + 8007afa: e0ad b.n 8007c58 } /* Send Slave Address */ /* Set NBYTES to write and reload if hi2c->XferCount > MAX_NBYTE_SIZE and generate RESTART */ if (hi2c->XferCount > MAX_NBYTE_SIZE) - 8007f60: 68fb ldr r3, [r7, #12] - 8007f62: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8007f64: b29b uxth r3, r3 - 8007f66: 2bff cmp r3, #255 ; 0xff - 8007f68: d90e bls.n 8007f88 + 8007afc: 68fb ldr r3, [r7, #12] + 8007afe: 8d5b ldrh r3, [r3, #42] ; 0x2a + 8007b00: b29b uxth r3, r3 + 8007b02: 2bff cmp r3, #255 ; 0xff + 8007b04: d90e bls.n 8007b24 { hi2c->XferSize = MAX_NBYTE_SIZE; - 8007f6a: 68fb ldr r3, [r7, #12] - 8007f6c: 22ff movs r2, #255 ; 0xff - 8007f6e: 851a strh r2, [r3, #40] ; 0x28 + 8007b06: 68fb ldr r3, [r7, #12] + 8007b08: 22ff movs r2, #255 ; 0xff + 8007b0a: 851a strh r2, [r3, #40] ; 0x28 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, I2C_GENERATE_START_READ); - 8007f70: 68fb ldr r3, [r7, #12] - 8007f72: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8007f74: b2da uxtb r2, r3 - 8007f76: 8979 ldrh r1, [r7, #10] - 8007f78: 4b52 ldr r3, [pc, #328] ; (80080c4 ) - 8007f7a: 9300 str r3, [sp, #0] - 8007f7c: f04f 7380 mov.w r3, #16777216 ; 0x1000000 - 8007f80: 68f8 ldr r0, [r7, #12] - 8007f82: f000 fa9f bl 80084c4 - 8007f86: e00f b.n 8007fa8 + 8007b0c: 68fb ldr r3, [r7, #12] + 8007b0e: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8007b10: b2da uxtb r2, r3 + 8007b12: 8979 ldrh r1, [r7, #10] + 8007b14: 4b52 ldr r3, [pc, #328] ; (8007c60 ) + 8007b16: 9300 str r3, [sp, #0] + 8007b18: f04f 7380 mov.w r3, #16777216 ; 0x1000000 + 8007b1c: 68f8 ldr r0, [r7, #12] + 8007b1e: f000 fa9f bl 8008060 + 8007b22: e00f b.n 8007b44 } else { hi2c->XferSize = hi2c->XferCount; - 8007f88: 68fb ldr r3, [r7, #12] - 8007f8a: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8007f8c: b29a uxth r2, r3 - 8007f8e: 68fb ldr r3, [r7, #12] - 8007f90: 851a strh r2, [r3, #40] ; 0x28 + 8007b24: 68fb ldr r3, [r7, #12] + 8007b26: 8d5b ldrh r3, [r3, #42] ; 0x2a + 8007b28: b29a uxth r2, r3 + 8007b2a: 68fb ldr r3, [r7, #12] + 8007b2c: 851a strh r2, [r3, #40] ; 0x28 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, I2C_GENERATE_START_READ); - 8007f92: 68fb ldr r3, [r7, #12] - 8007f94: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8007f96: b2da uxtb r2, r3 - 8007f98: 8979 ldrh r1, [r7, #10] - 8007f9a: 4b4a ldr r3, [pc, #296] ; (80080c4 ) - 8007f9c: 9300 str r3, [sp, #0] - 8007f9e: f04f 7300 mov.w r3, #33554432 ; 0x2000000 - 8007fa2: 68f8 ldr r0, [r7, #12] - 8007fa4: f000 fa8e bl 80084c4 + 8007b2e: 68fb ldr r3, [r7, #12] + 8007b30: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8007b32: b2da uxtb r2, r3 + 8007b34: 8979 ldrh r1, [r7, #10] + 8007b36: 4b4a ldr r3, [pc, #296] ; (8007c60 ) + 8007b38: 9300 str r3, [sp, #0] + 8007b3a: f04f 7300 mov.w r3, #33554432 ; 0x2000000 + 8007b3e: 68f8 ldr r0, [r7, #12] + 8007b40: f000 fa8e bl 8008060 } do { /* Wait until RXNE flag is set */ if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_RXNE, RESET, Timeout, tickstart) != HAL_OK) - 8007fa8: 697b ldr r3, [r7, #20] - 8007faa: 9300 str r3, [sp, #0] - 8007fac: 6abb ldr r3, [r7, #40] ; 0x28 - 8007fae: 2200 movs r2, #0 - 8007fb0: 2104 movs r1, #4 - 8007fb2: 68f8 ldr r0, [r7, #12] - 8007fb4: f000 f964 bl 8008280 - 8007fb8: 4603 mov r3, r0 - 8007fba: 2b00 cmp r3, #0 - 8007fbc: d001 beq.n 8007fc2 + 8007b44: 697b ldr r3, [r7, #20] + 8007b46: 9300 str r3, [sp, #0] + 8007b48: 6abb ldr r3, [r7, #40] ; 0x28 + 8007b4a: 2200 movs r2, #0 + 8007b4c: 2104 movs r1, #4 + 8007b4e: 68f8 ldr r0, [r7, #12] + 8007b50: f000 f964 bl 8007e1c + 8007b54: 4603 mov r3, r0 + 8007b56: 2b00 cmp r3, #0 + 8007b58: d001 beq.n 8007b5e { return HAL_ERROR; - 8007fbe: 2301 movs r3, #1 - 8007fc0: e07c b.n 80080bc + 8007b5a: 2301 movs r3, #1 + 8007b5c: e07c b.n 8007c58 } /* Read data from RXDR */ *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->RXDR; - 8007fc2: 68fb ldr r3, [r7, #12] - 8007fc4: 681b ldr r3, [r3, #0] - 8007fc6: 6a5a ldr r2, [r3, #36] ; 0x24 - 8007fc8: 68fb ldr r3, [r7, #12] - 8007fca: 6a5b ldr r3, [r3, #36] ; 0x24 - 8007fcc: b2d2 uxtb r2, r2 - 8007fce: 701a strb r2, [r3, #0] + 8007b5e: 68fb ldr r3, [r7, #12] + 8007b60: 681b ldr r3, [r3, #0] + 8007b62: 6a5a ldr r2, [r3, #36] ; 0x24 + 8007b64: 68fb ldr r3, [r7, #12] + 8007b66: 6a5b ldr r3, [r3, #36] ; 0x24 + 8007b68: b2d2 uxtb r2, r2 + 8007b6a: 701a strb r2, [r3, #0] /* Increment Buffer pointer */ hi2c->pBuffPtr++; - 8007fd0: 68fb ldr r3, [r7, #12] - 8007fd2: 6a5b ldr r3, [r3, #36] ; 0x24 - 8007fd4: 1c5a adds r2, r3, #1 - 8007fd6: 68fb ldr r3, [r7, #12] - 8007fd8: 625a str r2, [r3, #36] ; 0x24 + 8007b6c: 68fb ldr r3, [r7, #12] + 8007b6e: 6a5b ldr r3, [r3, #36] ; 0x24 + 8007b70: 1c5a adds r2, r3, #1 + 8007b72: 68fb ldr r3, [r7, #12] + 8007b74: 625a str r2, [r3, #36] ; 0x24 hi2c->XferSize--; - 8007fda: 68fb ldr r3, [r7, #12] - 8007fdc: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8007fde: 3b01 subs r3, #1 - 8007fe0: b29a uxth r2, r3 - 8007fe2: 68fb ldr r3, [r7, #12] - 8007fe4: 851a strh r2, [r3, #40] ; 0x28 + 8007b76: 68fb ldr r3, [r7, #12] + 8007b78: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8007b7a: 3b01 subs r3, #1 + 8007b7c: b29a uxth r2, r3 + 8007b7e: 68fb ldr r3, [r7, #12] + 8007b80: 851a strh r2, [r3, #40] ; 0x28 hi2c->XferCount--; - 8007fe6: 68fb ldr r3, [r7, #12] - 8007fe8: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8007fea: b29b uxth r3, r3 - 8007fec: 3b01 subs r3, #1 - 8007fee: b29a uxth r2, r3 - 8007ff0: 68fb ldr r3, [r7, #12] - 8007ff2: 855a strh r2, [r3, #42] ; 0x2a + 8007b82: 68fb ldr r3, [r7, #12] + 8007b84: 8d5b ldrh r3, [r3, #42] ; 0x2a + 8007b86: b29b uxth r3, r3 + 8007b88: 3b01 subs r3, #1 + 8007b8a: b29a uxth r2, r3 + 8007b8c: 68fb ldr r3, [r7, #12] + 8007b8e: 855a strh r2, [r3, #42] ; 0x2a if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) - 8007ff4: 68fb ldr r3, [r7, #12] - 8007ff6: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8007ff8: b29b uxth r3, r3 - 8007ffa: 2b00 cmp r3, #0 - 8007ffc: d034 beq.n 8008068 - 8007ffe: 68fb ldr r3, [r7, #12] - 8008000: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8008002: 2b00 cmp r3, #0 - 8008004: d130 bne.n 8008068 + 8007b90: 68fb ldr r3, [r7, #12] + 8007b92: 8d5b ldrh r3, [r3, #42] ; 0x2a + 8007b94: b29b uxth r3, r3 + 8007b96: 2b00 cmp r3, #0 + 8007b98: d034 beq.n 8007c04 + 8007b9a: 68fb ldr r3, [r7, #12] + 8007b9c: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8007b9e: 2b00 cmp r3, #0 + 8007ba0: d130 bne.n 8007c04 { /* Wait until TCR flag is set */ if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_TCR, RESET, Timeout, tickstart) != HAL_OK) - 8008006: 697b ldr r3, [r7, #20] - 8008008: 9300 str r3, [sp, #0] - 800800a: 6abb ldr r3, [r7, #40] ; 0x28 - 800800c: 2200 movs r2, #0 - 800800e: 2180 movs r1, #128 ; 0x80 - 8008010: 68f8 ldr r0, [r7, #12] - 8008012: f000 f935 bl 8008280 - 8008016: 4603 mov r3, r0 - 8008018: 2b00 cmp r3, #0 - 800801a: d001 beq.n 8008020 + 8007ba2: 697b ldr r3, [r7, #20] + 8007ba4: 9300 str r3, [sp, #0] + 8007ba6: 6abb ldr r3, [r7, #40] ; 0x28 + 8007ba8: 2200 movs r2, #0 + 8007baa: 2180 movs r1, #128 ; 0x80 + 8007bac: 68f8 ldr r0, [r7, #12] + 8007bae: f000 f935 bl 8007e1c + 8007bb2: 4603 mov r3, r0 + 8007bb4: 2b00 cmp r3, #0 + 8007bb6: d001 beq.n 8007bbc { return HAL_ERROR; - 800801c: 2301 movs r3, #1 - 800801e: e04d b.n 80080bc + 8007bb8: 2301 movs r3, #1 + 8007bba: e04d b.n 8007c58 } if (hi2c->XferCount > MAX_NBYTE_SIZE) - 8008020: 68fb ldr r3, [r7, #12] - 8008022: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8008024: b29b uxth r3, r3 - 8008026: 2bff cmp r3, #255 ; 0xff - 8008028: d90e bls.n 8008048 + 8007bbc: 68fb ldr r3, [r7, #12] + 8007bbe: 8d5b ldrh r3, [r3, #42] ; 0x2a + 8007bc0: b29b uxth r3, r3 + 8007bc2: 2bff cmp r3, #255 ; 0xff + 8007bc4: d90e bls.n 8007be4 { hi2c->XferSize = MAX_NBYTE_SIZE; - 800802a: 68fb ldr r3, [r7, #12] - 800802c: 22ff movs r2, #255 ; 0xff - 800802e: 851a strh r2, [r3, #40] ; 0x28 + 8007bc6: 68fb ldr r3, [r7, #12] + 8007bc8: 22ff movs r2, #255 ; 0xff + 8007bca: 851a strh r2, [r3, #40] ; 0x28 I2C_TransferConfig(hi2c, DevAddress, (uint8_t) hi2c->XferSize, I2C_RELOAD_MODE, I2C_NO_STARTSTOP); - 8008030: 68fb ldr r3, [r7, #12] - 8008032: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8008034: b2da uxtb r2, r3 - 8008036: 8979 ldrh r1, [r7, #10] - 8008038: 2300 movs r3, #0 - 800803a: 9300 str r3, [sp, #0] - 800803c: f04f 7380 mov.w r3, #16777216 ; 0x1000000 - 8008040: 68f8 ldr r0, [r7, #12] - 8008042: f000 fa3f bl 80084c4 - 8008046: e00f b.n 8008068 + 8007bcc: 68fb ldr r3, [r7, #12] + 8007bce: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8007bd0: b2da uxtb r2, r3 + 8007bd2: 8979 ldrh r1, [r7, #10] + 8007bd4: 2300 movs r3, #0 + 8007bd6: 9300 str r3, [sp, #0] + 8007bd8: f04f 7380 mov.w r3, #16777216 ; 0x1000000 + 8007bdc: 68f8 ldr r0, [r7, #12] + 8007bde: f000 fa3f bl 8008060 + 8007be2: e00f b.n 8007c04 } else { hi2c->XferSize = hi2c->XferCount; - 8008048: 68fb ldr r3, [r7, #12] - 800804a: 8d5b ldrh r3, [r3, #42] ; 0x2a - 800804c: b29a uxth r2, r3 - 800804e: 68fb ldr r3, [r7, #12] - 8008050: 851a strh r2, [r3, #40] ; 0x28 + 8007be4: 68fb ldr r3, [r7, #12] + 8007be6: 8d5b ldrh r3, [r3, #42] ; 0x2a + 8007be8: b29a uxth r2, r3 + 8007bea: 68fb ldr r3, [r7, #12] + 8007bec: 851a strh r2, [r3, #40] ; 0x28 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, I2C_NO_STARTSTOP); - 8008052: 68fb ldr r3, [r7, #12] - 8008054: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8008056: b2da uxtb r2, r3 - 8008058: 8979 ldrh r1, [r7, #10] - 800805a: 2300 movs r3, #0 - 800805c: 9300 str r3, [sp, #0] - 800805e: f04f 7300 mov.w r3, #33554432 ; 0x2000000 - 8008062: 68f8 ldr r0, [r7, #12] - 8008064: f000 fa2e bl 80084c4 + 8007bee: 68fb ldr r3, [r7, #12] + 8007bf0: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8007bf2: b2da uxtb r2, r3 + 8007bf4: 8979 ldrh r1, [r7, #10] + 8007bf6: 2300 movs r3, #0 + 8007bf8: 9300 str r3, [sp, #0] + 8007bfa: f04f 7300 mov.w r3, #33554432 ; 0x2000000 + 8007bfe: 68f8 ldr r0, [r7, #12] + 8007c00: f000 fa2e bl 8008060 } } } while (hi2c->XferCount > 0U); - 8008068: 68fb ldr r3, [r7, #12] - 800806a: 8d5b ldrh r3, [r3, #42] ; 0x2a - 800806c: b29b uxth r3, r3 - 800806e: 2b00 cmp r3, #0 - 8008070: d19a bne.n 8007fa8 + 8007c04: 68fb ldr r3, [r7, #12] + 8007c06: 8d5b ldrh r3, [r3, #42] ; 0x2a + 8007c08: b29b uxth r3, r3 + 8007c0a: 2b00 cmp r3, #0 + 8007c0c: d19a bne.n 8007b44 /* No need to Check TC flag, with AUTOEND mode the stop is automatically generated */ /* Wait until STOPF flag is reset */ if (I2C_WaitOnSTOPFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK) - 8008072: 697a ldr r2, [r7, #20] - 8008074: 6ab9 ldr r1, [r7, #40] ; 0x28 - 8008076: 68f8 ldr r0, [r7, #12] - 8008078: f000 f982 bl 8008380 - 800807c: 4603 mov r3, r0 - 800807e: 2b00 cmp r3, #0 - 8008080: d001 beq.n 8008086 + 8007c0e: 697a ldr r2, [r7, #20] + 8007c10: 6ab9 ldr r1, [r7, #40] ; 0x28 + 8007c12: 68f8 ldr r0, [r7, #12] + 8007c14: f000 f982 bl 8007f1c + 8007c18: 4603 mov r3, r0 + 8007c1a: 2b00 cmp r3, #0 + 8007c1c: d001 beq.n 8007c22 { return HAL_ERROR; - 8008082: 2301 movs r3, #1 - 8008084: e01a b.n 80080bc + 8007c1e: 2301 movs r3, #1 + 8007c20: e01a b.n 8007c58 } /* Clear STOP Flag */ __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_STOPF); - 8008086: 68fb ldr r3, [r7, #12] - 8008088: 681b ldr r3, [r3, #0] - 800808a: 2220 movs r2, #32 - 800808c: 61da str r2, [r3, #28] + 8007c22: 68fb ldr r3, [r7, #12] + 8007c24: 681b ldr r3, [r3, #0] + 8007c26: 2220 movs r2, #32 + 8007c28: 61da str r2, [r3, #28] /* Clear Configuration Register 2 */ I2C_RESET_CR2(hi2c); - 800808e: 68fb ldr r3, [r7, #12] - 8008090: 681b ldr r3, [r3, #0] - 8008092: 6859 ldr r1, [r3, #4] - 8008094: 68fb ldr r3, [r7, #12] - 8008096: 681a ldr r2, [r3, #0] - 8008098: 4b0b ldr r3, [pc, #44] ; (80080c8 ) - 800809a: 400b ands r3, r1 - 800809c: 6053 str r3, [r2, #4] + 8007c2a: 68fb ldr r3, [r7, #12] + 8007c2c: 681b ldr r3, [r3, #0] + 8007c2e: 6859 ldr r1, [r3, #4] + 8007c30: 68fb ldr r3, [r7, #12] + 8007c32: 681a ldr r2, [r3, #0] + 8007c34: 4b0b ldr r3, [pc, #44] ; (8007c64 ) + 8007c36: 400b ands r3, r1 + 8007c38: 6053 str r3, [r2, #4] hi2c->State = HAL_I2C_STATE_READY; - 800809e: 68fb ldr r3, [r7, #12] - 80080a0: 2220 movs r2, #32 - 80080a2: f883 2041 strb.w r2, [r3, #65] ; 0x41 + 8007c3a: 68fb ldr r3, [r7, #12] + 8007c3c: 2220 movs r2, #32 + 8007c3e: f883 2041 strb.w r2, [r3, #65] ; 0x41 hi2c->Mode = HAL_I2C_MODE_NONE; - 80080a6: 68fb ldr r3, [r7, #12] - 80080a8: 2200 movs r2, #0 - 80080aa: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 8007c42: 68fb ldr r3, [r7, #12] + 8007c44: 2200 movs r2, #0 + 8007c46: f883 2042 strb.w r2, [r3, #66] ; 0x42 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 80080ae: 68fb ldr r3, [r7, #12] - 80080b0: 2200 movs r2, #0 - 80080b2: f883 2040 strb.w r2, [r3, #64] ; 0x40 + 8007c4a: 68fb ldr r3, [r7, #12] + 8007c4c: 2200 movs r2, #0 + 8007c4e: f883 2040 strb.w r2, [r3, #64] ; 0x40 return HAL_OK; - 80080b6: 2300 movs r3, #0 - 80080b8: e000 b.n 80080bc + 8007c52: 2300 movs r3, #0 + 8007c54: e000 b.n 8007c58 } else { return HAL_BUSY; - 80080ba: 2302 movs r3, #2 + 8007c56: 2302 movs r3, #2 } } - 80080bc: 4618 mov r0, r3 - 80080be: 3718 adds r7, #24 - 80080c0: 46bd mov sp, r7 - 80080c2: bd80 pop {r7, pc} - 80080c4: 80002400 .word 0x80002400 - 80080c8: fe00e800 .word 0xfe00e800 + 8007c58: 4618 mov r0, r3 + 8007c5a: 3718 adds r7, #24 + 8007c5c: 46bd mov sp, r7 + 8007c5e: bd80 pop {r7, pc} + 8007c60: 80002400 .word 0x80002400 + 8007c64: fe00e800 .word 0xfe00e800 -080080cc : +08007c68 : * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains * the configuration information for the specified I2C. * @retval HAL state */ HAL_I2C_StateTypeDef HAL_I2C_GetState(I2C_HandleTypeDef *hi2c) { - 80080cc: b480 push {r7} - 80080ce: b083 sub sp, #12 - 80080d0: af00 add r7, sp, #0 - 80080d2: 6078 str r0, [r7, #4] + 8007c68: b480 push {r7} + 8007c6a: b083 sub sp, #12 + 8007c6c: af00 add r7, sp, #0 + 8007c6e: 6078 str r0, [r7, #4] /* Return I2C handle state */ return hi2c->State; - 80080d4: 687b ldr r3, [r7, #4] - 80080d6: f893 3041 ldrb.w r3, [r3, #65] ; 0x41 - 80080da: b2db uxtb r3, r3 + 8007c70: 687b ldr r3, [r7, #4] + 8007c72: f893 3041 ldrb.w r3, [r3, #65] ; 0x41 + 8007c76: b2db uxtb r3, r3 } - 80080dc: 4618 mov r0, r3 - 80080de: 370c adds r7, #12 - 80080e0: 46bd mov sp, r7 - 80080e2: f85d 7b04 ldr.w r7, [sp], #4 - 80080e6: 4770 bx lr + 8007c78: 4618 mov r0, r3 + 8007c7a: 370c adds r7, #12 + 8007c7c: 46bd mov sp, r7 + 8007c7e: f85d 7b04 ldr.w r7, [sp], #4 + 8007c82: 4770 bx lr -080080e8 : +08007c84 : * @param Timeout Timeout duration * @param Tickstart Tick start value * @retval HAL status */ static HAL_StatusTypeDef I2C_RequestMemoryWrite(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint32_t Timeout, uint32_t Tickstart) { - 80080e8: b580 push {r7, lr} - 80080ea: b086 sub sp, #24 - 80080ec: af02 add r7, sp, #8 - 80080ee: 60f8 str r0, [r7, #12] - 80080f0: 4608 mov r0, r1 - 80080f2: 4611 mov r1, r2 - 80080f4: 461a mov r2, r3 - 80080f6: 4603 mov r3, r0 - 80080f8: 817b strh r3, [r7, #10] - 80080fa: 460b mov r3, r1 - 80080fc: 813b strh r3, [r7, #8] - 80080fe: 4613 mov r3, r2 - 8008100: 80fb strh r3, [r7, #6] + 8007c84: b580 push {r7, lr} + 8007c86: b086 sub sp, #24 + 8007c88: af02 add r7, sp, #8 + 8007c8a: 60f8 str r0, [r7, #12] + 8007c8c: 4608 mov r0, r1 + 8007c8e: 4611 mov r1, r2 + 8007c90: 461a mov r2, r3 + 8007c92: 4603 mov r3, r0 + 8007c94: 817b strh r3, [r7, #10] + 8007c96: 460b mov r3, r1 + 8007c98: 813b strh r3, [r7, #8] + 8007c9a: 4613 mov r3, r2 + 8007c9c: 80fb strh r3, [r7, #6] I2C_TransferConfig(hi2c, DevAddress, (uint8_t)MemAddSize, I2C_RELOAD_MODE, I2C_GENERATE_START_WRITE); - 8008102: 88fb ldrh r3, [r7, #6] - 8008104: b2da uxtb r2, r3 - 8008106: 8979 ldrh r1, [r7, #10] - 8008108: 4b20 ldr r3, [pc, #128] ; (800818c ) - 800810a: 9300 str r3, [sp, #0] - 800810c: f04f 7380 mov.w r3, #16777216 ; 0x1000000 - 8008110: 68f8 ldr r0, [r7, #12] - 8008112: f000 f9d7 bl 80084c4 + 8007c9e: 88fb ldrh r3, [r7, #6] + 8007ca0: b2da uxtb r2, r3 + 8007ca2: 8979 ldrh r1, [r7, #10] + 8007ca4: 4b20 ldr r3, [pc, #128] ; (8007d28 ) + 8007ca6: 9300 str r3, [sp, #0] + 8007ca8: f04f 7380 mov.w r3, #16777216 ; 0x1000000 + 8007cac: 68f8 ldr r0, [r7, #12] + 8007cae: f000 f9d7 bl 8008060 /* Wait until TXIS flag is set */ if (I2C_WaitOnTXISFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK) - 8008116: 69fa ldr r2, [r7, #28] - 8008118: 69b9 ldr r1, [r7, #24] - 800811a: 68f8 ldr r0, [r7, #12] - 800811c: f000 f8f0 bl 8008300 - 8008120: 4603 mov r3, r0 - 8008122: 2b00 cmp r3, #0 - 8008124: d001 beq.n 800812a + 8007cb2: 69fa ldr r2, [r7, #28] + 8007cb4: 69b9 ldr r1, [r7, #24] + 8007cb6: 68f8 ldr r0, [r7, #12] + 8007cb8: f000 f8f0 bl 8007e9c + 8007cbc: 4603 mov r3, r0 + 8007cbe: 2b00 cmp r3, #0 + 8007cc0: d001 beq.n 8007cc6 { return HAL_ERROR; - 8008126: 2301 movs r3, #1 - 8008128: e02c b.n 8008184 + 8007cc2: 2301 movs r3, #1 + 8007cc4: e02c b.n 8007d20 } /* If Memory address size is 8Bit */ if (MemAddSize == I2C_MEMADD_SIZE_8BIT) - 800812a: 88fb ldrh r3, [r7, #6] - 800812c: 2b01 cmp r3, #1 - 800812e: d105 bne.n 800813c + 8007cc6: 88fb ldrh r3, [r7, #6] + 8007cc8: 2b01 cmp r3, #1 + 8007cca: d105 bne.n 8007cd8 { /* Send Memory Address */ hi2c->Instance->TXDR = I2C_MEM_ADD_LSB(MemAddress); - 8008130: 893b ldrh r3, [r7, #8] - 8008132: b2da uxtb r2, r3 - 8008134: 68fb ldr r3, [r7, #12] - 8008136: 681b ldr r3, [r3, #0] - 8008138: 629a str r2, [r3, #40] ; 0x28 - 800813a: e015 b.n 8008168 + 8007ccc: 893b ldrh r3, [r7, #8] + 8007cce: b2da uxtb r2, r3 + 8007cd0: 68fb ldr r3, [r7, #12] + 8007cd2: 681b ldr r3, [r3, #0] + 8007cd4: 629a str r2, [r3, #40] ; 0x28 + 8007cd6: e015 b.n 8007d04 } /* If Memory address size is 16Bit */ else { /* Send MSB of Memory Address */ hi2c->Instance->TXDR = I2C_MEM_ADD_MSB(MemAddress); - 800813c: 893b ldrh r3, [r7, #8] - 800813e: 0a1b lsrs r3, r3, #8 - 8008140: b29b uxth r3, r3 - 8008142: b2da uxtb r2, r3 - 8008144: 68fb ldr r3, [r7, #12] - 8008146: 681b ldr r3, [r3, #0] - 8008148: 629a str r2, [r3, #40] ; 0x28 + 8007cd8: 893b ldrh r3, [r7, #8] + 8007cda: 0a1b lsrs r3, r3, #8 + 8007cdc: b29b uxth r3, r3 + 8007cde: b2da uxtb r2, r3 + 8007ce0: 68fb ldr r3, [r7, #12] + 8007ce2: 681b ldr r3, [r3, #0] + 8007ce4: 629a str r2, [r3, #40] ; 0x28 /* Wait until TXIS flag is set */ if (I2C_WaitOnTXISFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK) - 800814a: 69fa ldr r2, [r7, #28] - 800814c: 69b9 ldr r1, [r7, #24] - 800814e: 68f8 ldr r0, [r7, #12] - 8008150: f000 f8d6 bl 8008300 - 8008154: 4603 mov r3, r0 - 8008156: 2b00 cmp r3, #0 - 8008158: d001 beq.n 800815e + 8007ce6: 69fa ldr r2, [r7, #28] + 8007ce8: 69b9 ldr r1, [r7, #24] + 8007cea: 68f8 ldr r0, [r7, #12] + 8007cec: f000 f8d6 bl 8007e9c + 8007cf0: 4603 mov r3, r0 + 8007cf2: 2b00 cmp r3, #0 + 8007cf4: d001 beq.n 8007cfa { return HAL_ERROR; - 800815a: 2301 movs r3, #1 - 800815c: e012 b.n 8008184 + 8007cf6: 2301 movs r3, #1 + 8007cf8: e012 b.n 8007d20 } /* Send LSB of Memory Address */ hi2c->Instance->TXDR = I2C_MEM_ADD_LSB(MemAddress); - 800815e: 893b ldrh r3, [r7, #8] - 8008160: b2da uxtb r2, r3 - 8008162: 68fb ldr r3, [r7, #12] - 8008164: 681b ldr r3, [r3, #0] - 8008166: 629a str r2, [r3, #40] ; 0x28 + 8007cfa: 893b ldrh r3, [r7, #8] + 8007cfc: b2da uxtb r2, r3 + 8007cfe: 68fb ldr r3, [r7, #12] + 8007d00: 681b ldr r3, [r3, #0] + 8007d02: 629a str r2, [r3, #40] ; 0x28 } /* Wait until TCR flag is set */ if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_TCR, RESET, Timeout, Tickstart) != HAL_OK) - 8008168: 69fb ldr r3, [r7, #28] - 800816a: 9300 str r3, [sp, #0] - 800816c: 69bb ldr r3, [r7, #24] - 800816e: 2200 movs r2, #0 - 8008170: 2180 movs r1, #128 ; 0x80 - 8008172: 68f8 ldr r0, [r7, #12] - 8008174: f000 f884 bl 8008280 - 8008178: 4603 mov r3, r0 - 800817a: 2b00 cmp r3, #0 - 800817c: d001 beq.n 8008182 + 8007d04: 69fb ldr r3, [r7, #28] + 8007d06: 9300 str r3, [sp, #0] + 8007d08: 69bb ldr r3, [r7, #24] + 8007d0a: 2200 movs r2, #0 + 8007d0c: 2180 movs r1, #128 ; 0x80 + 8007d0e: 68f8 ldr r0, [r7, #12] + 8007d10: f000 f884 bl 8007e1c + 8007d14: 4603 mov r3, r0 + 8007d16: 2b00 cmp r3, #0 + 8007d18: d001 beq.n 8007d1e { return HAL_ERROR; - 800817e: 2301 movs r3, #1 - 8008180: e000 b.n 8008184 + 8007d1a: 2301 movs r3, #1 + 8007d1c: e000 b.n 8007d20 } return HAL_OK; - 8008182: 2300 movs r3, #0 + 8007d1e: 2300 movs r3, #0 } - 8008184: 4618 mov r0, r3 - 8008186: 3710 adds r7, #16 - 8008188: 46bd mov sp, r7 - 800818a: bd80 pop {r7, pc} - 800818c: 80002000 .word 0x80002000 + 8007d20: 4618 mov r0, r3 + 8007d22: 3710 adds r7, #16 + 8007d24: 46bd mov sp, r7 + 8007d26: bd80 pop {r7, pc} + 8007d28: 80002000 .word 0x80002000 -08008190 : +08007d2c : * @param Timeout Timeout duration * @param Tickstart Tick start value * @retval HAL status */ static HAL_StatusTypeDef I2C_RequestMemoryRead(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint32_t Timeout, uint32_t Tickstart) { - 8008190: b580 push {r7, lr} - 8008192: b086 sub sp, #24 - 8008194: af02 add r7, sp, #8 - 8008196: 60f8 str r0, [r7, #12] - 8008198: 4608 mov r0, r1 - 800819a: 4611 mov r1, r2 - 800819c: 461a mov r2, r3 - 800819e: 4603 mov r3, r0 - 80081a0: 817b strh r3, [r7, #10] - 80081a2: 460b mov r3, r1 - 80081a4: 813b strh r3, [r7, #8] - 80081a6: 4613 mov r3, r2 - 80081a8: 80fb strh r3, [r7, #6] + 8007d2c: b580 push {r7, lr} + 8007d2e: b086 sub sp, #24 + 8007d30: af02 add r7, sp, #8 + 8007d32: 60f8 str r0, [r7, #12] + 8007d34: 4608 mov r0, r1 + 8007d36: 4611 mov r1, r2 + 8007d38: 461a mov r2, r3 + 8007d3a: 4603 mov r3, r0 + 8007d3c: 817b strh r3, [r7, #10] + 8007d3e: 460b mov r3, r1 + 8007d40: 813b strh r3, [r7, #8] + 8007d42: 4613 mov r3, r2 + 8007d44: 80fb strh r3, [r7, #6] I2C_TransferConfig(hi2c, DevAddress, (uint8_t)MemAddSize, I2C_SOFTEND_MODE, I2C_GENERATE_START_WRITE); - 80081aa: 88fb ldrh r3, [r7, #6] - 80081ac: b2da uxtb r2, r3 - 80081ae: 8979 ldrh r1, [r7, #10] - 80081b0: 4b20 ldr r3, [pc, #128] ; (8008234 ) - 80081b2: 9300 str r3, [sp, #0] - 80081b4: 2300 movs r3, #0 - 80081b6: 68f8 ldr r0, [r7, #12] - 80081b8: f000 f984 bl 80084c4 + 8007d46: 88fb ldrh r3, [r7, #6] + 8007d48: b2da uxtb r2, r3 + 8007d4a: 8979 ldrh r1, [r7, #10] + 8007d4c: 4b20 ldr r3, [pc, #128] ; (8007dd0 ) + 8007d4e: 9300 str r3, [sp, #0] + 8007d50: 2300 movs r3, #0 + 8007d52: 68f8 ldr r0, [r7, #12] + 8007d54: f000 f984 bl 8008060 /* Wait until TXIS flag is set */ if (I2C_WaitOnTXISFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK) - 80081bc: 69fa ldr r2, [r7, #28] - 80081be: 69b9 ldr r1, [r7, #24] - 80081c0: 68f8 ldr r0, [r7, #12] - 80081c2: f000 f89d bl 8008300 - 80081c6: 4603 mov r3, r0 - 80081c8: 2b00 cmp r3, #0 - 80081ca: d001 beq.n 80081d0 + 8007d58: 69fa ldr r2, [r7, #28] + 8007d5a: 69b9 ldr r1, [r7, #24] + 8007d5c: 68f8 ldr r0, [r7, #12] + 8007d5e: f000 f89d bl 8007e9c + 8007d62: 4603 mov r3, r0 + 8007d64: 2b00 cmp r3, #0 + 8007d66: d001 beq.n 8007d6c { return HAL_ERROR; - 80081cc: 2301 movs r3, #1 - 80081ce: e02c b.n 800822a + 8007d68: 2301 movs r3, #1 + 8007d6a: e02c b.n 8007dc6 } /* If Memory address size is 8Bit */ if (MemAddSize == I2C_MEMADD_SIZE_8BIT) - 80081d0: 88fb ldrh r3, [r7, #6] - 80081d2: 2b01 cmp r3, #1 - 80081d4: d105 bne.n 80081e2 + 8007d6c: 88fb ldrh r3, [r7, #6] + 8007d6e: 2b01 cmp r3, #1 + 8007d70: d105 bne.n 8007d7e { /* Send Memory Address */ hi2c->Instance->TXDR = I2C_MEM_ADD_LSB(MemAddress); - 80081d6: 893b ldrh r3, [r7, #8] - 80081d8: b2da uxtb r2, r3 - 80081da: 68fb ldr r3, [r7, #12] - 80081dc: 681b ldr r3, [r3, #0] - 80081de: 629a str r2, [r3, #40] ; 0x28 - 80081e0: e015 b.n 800820e + 8007d72: 893b ldrh r3, [r7, #8] + 8007d74: b2da uxtb r2, r3 + 8007d76: 68fb ldr r3, [r7, #12] + 8007d78: 681b ldr r3, [r3, #0] + 8007d7a: 629a str r2, [r3, #40] ; 0x28 + 8007d7c: e015 b.n 8007daa } /* If Memory address size is 16Bit */ else { /* Send MSB of Memory Address */ hi2c->Instance->TXDR = I2C_MEM_ADD_MSB(MemAddress); - 80081e2: 893b ldrh r3, [r7, #8] - 80081e4: 0a1b lsrs r3, r3, #8 - 80081e6: b29b uxth r3, r3 - 80081e8: b2da uxtb r2, r3 - 80081ea: 68fb ldr r3, [r7, #12] - 80081ec: 681b ldr r3, [r3, #0] - 80081ee: 629a str r2, [r3, #40] ; 0x28 + 8007d7e: 893b ldrh r3, [r7, #8] + 8007d80: 0a1b lsrs r3, r3, #8 + 8007d82: b29b uxth r3, r3 + 8007d84: b2da uxtb r2, r3 + 8007d86: 68fb ldr r3, [r7, #12] + 8007d88: 681b ldr r3, [r3, #0] + 8007d8a: 629a str r2, [r3, #40] ; 0x28 /* Wait until TXIS flag is set */ if (I2C_WaitOnTXISFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK) - 80081f0: 69fa ldr r2, [r7, #28] - 80081f2: 69b9 ldr r1, [r7, #24] - 80081f4: 68f8 ldr r0, [r7, #12] - 80081f6: f000 f883 bl 8008300 - 80081fa: 4603 mov r3, r0 - 80081fc: 2b00 cmp r3, #0 - 80081fe: d001 beq.n 8008204 + 8007d8c: 69fa ldr r2, [r7, #28] + 8007d8e: 69b9 ldr r1, [r7, #24] + 8007d90: 68f8 ldr r0, [r7, #12] + 8007d92: f000 f883 bl 8007e9c + 8007d96: 4603 mov r3, r0 + 8007d98: 2b00 cmp r3, #0 + 8007d9a: d001 beq.n 8007da0 { return HAL_ERROR; - 8008200: 2301 movs r3, #1 - 8008202: e012 b.n 800822a + 8007d9c: 2301 movs r3, #1 + 8007d9e: e012 b.n 8007dc6 } /* Send LSB of Memory Address */ hi2c->Instance->TXDR = I2C_MEM_ADD_LSB(MemAddress); - 8008204: 893b ldrh r3, [r7, #8] - 8008206: b2da uxtb r2, r3 - 8008208: 68fb ldr r3, [r7, #12] - 800820a: 681b ldr r3, [r3, #0] - 800820c: 629a str r2, [r3, #40] ; 0x28 + 8007da0: 893b ldrh r3, [r7, #8] + 8007da2: b2da uxtb r2, r3 + 8007da4: 68fb ldr r3, [r7, #12] + 8007da6: 681b ldr r3, [r3, #0] + 8007da8: 629a str r2, [r3, #40] ; 0x28 } /* Wait until TC flag is set */ if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_TC, RESET, Timeout, Tickstart) != HAL_OK) - 800820e: 69fb ldr r3, [r7, #28] - 8008210: 9300 str r3, [sp, #0] - 8008212: 69bb ldr r3, [r7, #24] - 8008214: 2200 movs r2, #0 - 8008216: 2140 movs r1, #64 ; 0x40 - 8008218: 68f8 ldr r0, [r7, #12] - 800821a: f000 f831 bl 8008280 - 800821e: 4603 mov r3, r0 - 8008220: 2b00 cmp r3, #0 - 8008222: d001 beq.n 8008228 + 8007daa: 69fb ldr r3, [r7, #28] + 8007dac: 9300 str r3, [sp, #0] + 8007dae: 69bb ldr r3, [r7, #24] + 8007db0: 2200 movs r2, #0 + 8007db2: 2140 movs r1, #64 ; 0x40 + 8007db4: 68f8 ldr r0, [r7, #12] + 8007db6: f000 f831 bl 8007e1c + 8007dba: 4603 mov r3, r0 + 8007dbc: 2b00 cmp r3, #0 + 8007dbe: d001 beq.n 8007dc4 { return HAL_ERROR; - 8008224: 2301 movs r3, #1 - 8008226: e000 b.n 800822a + 8007dc0: 2301 movs r3, #1 + 8007dc2: e000 b.n 8007dc6 } return HAL_OK; - 8008228: 2300 movs r3, #0 + 8007dc4: 2300 movs r3, #0 } - 800822a: 4618 mov r0, r3 - 800822c: 3710 adds r7, #16 - 800822e: 46bd mov sp, r7 - 8008230: bd80 pop {r7, pc} - 8008232: bf00 nop - 8008234: 80002000 .word 0x80002000 + 8007dc6: 4618 mov r0, r3 + 8007dc8: 3710 adds r7, #16 + 8007dca: 46bd mov sp, r7 + 8007dcc: bd80 pop {r7, pc} + 8007dce: bf00 nop + 8007dd0: 80002000 .word 0x80002000 -08008238 : +08007dd4 : * @brief I2C Tx data register flush process. * @param hi2c I2C handle. * @retval None */ static void I2C_Flush_TXDR(I2C_HandleTypeDef *hi2c) { - 8008238: b480 push {r7} - 800823a: b083 sub sp, #12 - 800823c: af00 add r7, sp, #0 - 800823e: 6078 str r0, [r7, #4] + 8007dd4: b480 push {r7} + 8007dd6: b083 sub sp, #12 + 8007dd8: af00 add r7, sp, #0 + 8007dda: 6078 str r0, [r7, #4] /* If a pending TXIS flag is set */ /* Write a dummy data in TXDR to clear it */ if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_TXIS) != RESET) - 8008240: 687b ldr r3, [r7, #4] - 8008242: 681b ldr r3, [r3, #0] - 8008244: 699b ldr r3, [r3, #24] - 8008246: f003 0302 and.w r3, r3, #2 - 800824a: 2b02 cmp r3, #2 - 800824c: d103 bne.n 8008256 + 8007ddc: 687b ldr r3, [r7, #4] + 8007dde: 681b ldr r3, [r3, #0] + 8007de0: 699b ldr r3, [r3, #24] + 8007de2: f003 0302 and.w r3, r3, #2 + 8007de6: 2b02 cmp r3, #2 + 8007de8: d103 bne.n 8007df2 { hi2c->Instance->TXDR = 0x00U; - 800824e: 687b ldr r3, [r7, #4] - 8008250: 681b ldr r3, [r3, #0] - 8008252: 2200 movs r2, #0 - 8008254: 629a str r2, [r3, #40] ; 0x28 + 8007dea: 687b ldr r3, [r7, #4] + 8007dec: 681b ldr r3, [r3, #0] + 8007dee: 2200 movs r2, #0 + 8007df0: 629a str r2, [r3, #40] ; 0x28 } /* Flush TX register if not empty */ if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_TXE) == RESET) - 8008256: 687b ldr r3, [r7, #4] - 8008258: 681b ldr r3, [r3, #0] - 800825a: 699b ldr r3, [r3, #24] - 800825c: f003 0301 and.w r3, r3, #1 - 8008260: 2b01 cmp r3, #1 - 8008262: d007 beq.n 8008274 + 8007df2: 687b ldr r3, [r7, #4] + 8007df4: 681b ldr r3, [r3, #0] + 8007df6: 699b ldr r3, [r3, #24] + 8007df8: f003 0301 and.w r3, r3, #1 + 8007dfc: 2b01 cmp r3, #1 + 8007dfe: d007 beq.n 8007e10 { __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_TXE); - 8008264: 687b ldr r3, [r7, #4] - 8008266: 681b ldr r3, [r3, #0] - 8008268: 699a ldr r2, [r3, #24] - 800826a: 687b ldr r3, [r7, #4] - 800826c: 681b ldr r3, [r3, #0] - 800826e: f042 0201 orr.w r2, r2, #1 - 8008272: 619a str r2, [r3, #24] + 8007e00: 687b ldr r3, [r7, #4] + 8007e02: 681b ldr r3, [r3, #0] + 8007e04: 699a ldr r2, [r3, #24] + 8007e06: 687b ldr r3, [r7, #4] + 8007e08: 681b ldr r3, [r3, #0] + 8007e0a: f042 0201 orr.w r2, r2, #1 + 8007e0e: 619a str r2, [r3, #24] } } - 8008274: bf00 nop - 8008276: 370c adds r7, #12 - 8008278: 46bd mov sp, r7 - 800827a: f85d 7b04 ldr.w r7, [sp], #4 - 800827e: 4770 bx lr + 8007e10: bf00 nop + 8007e12: 370c adds r7, #12 + 8007e14: 46bd mov sp, r7 + 8007e16: f85d 7b04 ldr.w r7, [sp], #4 + 8007e1a: 4770 bx lr -08008280 : +08007e1c : * @param Timeout Timeout duration * @param Tickstart Tick start value * @retval HAL status */ static HAL_StatusTypeDef I2C_WaitOnFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Flag, FlagStatus Status, uint32_t Timeout, uint32_t Tickstart) { - 8008280: b580 push {r7, lr} - 8008282: b084 sub sp, #16 - 8008284: af00 add r7, sp, #0 - 8008286: 60f8 str r0, [r7, #12] - 8008288: 60b9 str r1, [r7, #8] - 800828a: 603b str r3, [r7, #0] - 800828c: 4613 mov r3, r2 - 800828e: 71fb strb r3, [r7, #7] + 8007e1c: b580 push {r7, lr} + 8007e1e: b084 sub sp, #16 + 8007e20: af00 add r7, sp, #0 + 8007e22: 60f8 str r0, [r7, #12] + 8007e24: 60b9 str r1, [r7, #8] + 8007e26: 603b str r3, [r7, #0] + 8007e28: 4613 mov r3, r2 + 8007e2a: 71fb strb r3, [r7, #7] while (__HAL_I2C_GET_FLAG(hi2c, Flag) == Status) - 8008290: e022 b.n 80082d8 + 8007e2c: e022 b.n 8007e74 { /* Check for the Timeout */ if (Timeout != HAL_MAX_DELAY) - 8008292: 683b ldr r3, [r7, #0] - 8008294: f1b3 3fff cmp.w r3, #4294967295 - 8008298: d01e beq.n 80082d8 + 8007e2e: 683b ldr r3, [r7, #0] + 8007e30: f1b3 3fff cmp.w r3, #4294967295 + 8007e34: d01e beq.n 8007e74 { if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) - 800829a: f7fc fdc9 bl 8004e30 - 800829e: 4602 mov r2, r0 - 80082a0: 69bb ldr r3, [r7, #24] - 80082a2: 1ad3 subs r3, r2, r3 - 80082a4: 683a ldr r2, [r7, #0] - 80082a6: 429a cmp r2, r3 - 80082a8: d302 bcc.n 80082b0 - 80082aa: 683b ldr r3, [r7, #0] - 80082ac: 2b00 cmp r3, #0 - 80082ae: d113 bne.n 80082d8 + 8007e36: f7fc fdaf bl 8004998 + 8007e3a: 4602 mov r2, r0 + 8007e3c: 69bb ldr r3, [r7, #24] + 8007e3e: 1ad3 subs r3, r2, r3 + 8007e40: 683a ldr r2, [r7, #0] + 8007e42: 429a cmp r2, r3 + 8007e44: d302 bcc.n 8007e4c + 8007e46: 683b ldr r3, [r7, #0] + 8007e48: 2b00 cmp r3, #0 + 8007e4a: d113 bne.n 8007e74 { hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - 80082b0: 68fb ldr r3, [r7, #12] - 80082b2: 6c5b ldr r3, [r3, #68] ; 0x44 - 80082b4: f043 0220 orr.w r2, r3, #32 - 80082b8: 68fb ldr r3, [r7, #12] - 80082ba: 645a str r2, [r3, #68] ; 0x44 + 8007e4c: 68fb ldr r3, [r7, #12] + 8007e4e: 6c5b ldr r3, [r3, #68] ; 0x44 + 8007e50: f043 0220 orr.w r2, r3, #32 + 8007e54: 68fb ldr r3, [r7, #12] + 8007e56: 645a str r2, [r3, #68] ; 0x44 hi2c->State = HAL_I2C_STATE_READY; - 80082bc: 68fb ldr r3, [r7, #12] - 80082be: 2220 movs r2, #32 - 80082c0: f883 2041 strb.w r2, [r3, #65] ; 0x41 + 8007e58: 68fb ldr r3, [r7, #12] + 8007e5a: 2220 movs r2, #32 + 8007e5c: f883 2041 strb.w r2, [r3, #65] ; 0x41 hi2c->Mode = HAL_I2C_MODE_NONE; - 80082c4: 68fb ldr r3, [r7, #12] - 80082c6: 2200 movs r2, #0 - 80082c8: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 8007e60: 68fb ldr r3, [r7, #12] + 8007e62: 2200 movs r2, #0 + 8007e64: f883 2042 strb.w r2, [r3, #66] ; 0x42 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 80082cc: 68fb ldr r3, [r7, #12] - 80082ce: 2200 movs r2, #0 - 80082d0: f883 2040 strb.w r2, [r3, #64] ; 0x40 + 8007e68: 68fb ldr r3, [r7, #12] + 8007e6a: 2200 movs r2, #0 + 8007e6c: f883 2040 strb.w r2, [r3, #64] ; 0x40 return HAL_ERROR; - 80082d4: 2301 movs r3, #1 - 80082d6: e00f b.n 80082f8 + 8007e70: 2301 movs r3, #1 + 8007e72: e00f b.n 8007e94 while (__HAL_I2C_GET_FLAG(hi2c, Flag) == Status) - 80082d8: 68fb ldr r3, [r7, #12] - 80082da: 681b ldr r3, [r3, #0] - 80082dc: 699a ldr r2, [r3, #24] - 80082de: 68bb ldr r3, [r7, #8] - 80082e0: 4013 ands r3, r2 - 80082e2: 68ba ldr r2, [r7, #8] - 80082e4: 429a cmp r2, r3 - 80082e6: bf0c ite eq - 80082e8: 2301 moveq r3, #1 - 80082ea: 2300 movne r3, #0 - 80082ec: b2db uxtb r3, r3 - 80082ee: 461a mov r2, r3 - 80082f0: 79fb ldrb r3, [r7, #7] - 80082f2: 429a cmp r2, r3 - 80082f4: d0cd beq.n 8008292 + 8007e74: 68fb ldr r3, [r7, #12] + 8007e76: 681b ldr r3, [r3, #0] + 8007e78: 699a ldr r2, [r3, #24] + 8007e7a: 68bb ldr r3, [r7, #8] + 8007e7c: 4013 ands r3, r2 + 8007e7e: 68ba ldr r2, [r7, #8] + 8007e80: 429a cmp r2, r3 + 8007e82: bf0c ite eq + 8007e84: 2301 moveq r3, #1 + 8007e86: 2300 movne r3, #0 + 8007e88: b2db uxtb r3, r3 + 8007e8a: 461a mov r2, r3 + 8007e8c: 79fb ldrb r3, [r7, #7] + 8007e8e: 429a cmp r2, r3 + 8007e90: d0cd beq.n 8007e2e } } } return HAL_OK; - 80082f6: 2300 movs r3, #0 + 8007e92: 2300 movs r3, #0 } - 80082f8: 4618 mov r0, r3 - 80082fa: 3710 adds r7, #16 - 80082fc: 46bd mov sp, r7 - 80082fe: bd80 pop {r7, pc} + 8007e94: 4618 mov r0, r3 + 8007e96: 3710 adds r7, #16 + 8007e98: 46bd mov sp, r7 + 8007e9a: bd80 pop {r7, pc} -08008300 : +08007e9c : * @param Timeout Timeout duration * @param Tickstart Tick start value * @retval HAL status */ static HAL_StatusTypeDef I2C_WaitOnTXISFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout, uint32_t Tickstart) { - 8008300: b580 push {r7, lr} - 8008302: b084 sub sp, #16 - 8008304: af00 add r7, sp, #0 - 8008306: 60f8 str r0, [r7, #12] - 8008308: 60b9 str r1, [r7, #8] - 800830a: 607a str r2, [r7, #4] + 8007e9c: b580 push {r7, lr} + 8007e9e: b084 sub sp, #16 + 8007ea0: af00 add r7, sp, #0 + 8007ea2: 60f8 str r0, [r7, #12] + 8007ea4: 60b9 str r1, [r7, #8] + 8007ea6: 607a str r2, [r7, #4] while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_TXIS) == RESET) - 800830c: e02c b.n 8008368 + 8007ea8: e02c b.n 8007f04 { /* Check if a NACK is detected */ if (I2C_IsAcknowledgeFailed(hi2c, Timeout, Tickstart) != HAL_OK) - 800830e: 687a ldr r2, [r7, #4] - 8008310: 68b9 ldr r1, [r7, #8] - 8008312: 68f8 ldr r0, [r7, #12] - 8008314: f000 f870 bl 80083f8 - 8008318: 4603 mov r3, r0 - 800831a: 2b00 cmp r3, #0 - 800831c: d001 beq.n 8008322 + 8007eaa: 687a ldr r2, [r7, #4] + 8007eac: 68b9 ldr r1, [r7, #8] + 8007eae: 68f8 ldr r0, [r7, #12] + 8007eb0: f000 f870 bl 8007f94 + 8007eb4: 4603 mov r3, r0 + 8007eb6: 2b00 cmp r3, #0 + 8007eb8: d001 beq.n 8007ebe { return HAL_ERROR; - 800831e: 2301 movs r3, #1 - 8008320: e02a b.n 8008378 + 8007eba: 2301 movs r3, #1 + 8007ebc: e02a b.n 8007f14 } /* Check for the Timeout */ if (Timeout != HAL_MAX_DELAY) - 8008322: 68bb ldr r3, [r7, #8] - 8008324: f1b3 3fff cmp.w r3, #4294967295 - 8008328: d01e beq.n 8008368 + 8007ebe: 68bb ldr r3, [r7, #8] + 8007ec0: f1b3 3fff cmp.w r3, #4294967295 + 8007ec4: d01e beq.n 8007f04 { if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) - 800832a: f7fc fd81 bl 8004e30 - 800832e: 4602 mov r2, r0 - 8008330: 687b ldr r3, [r7, #4] - 8008332: 1ad3 subs r3, r2, r3 - 8008334: 68ba ldr r2, [r7, #8] - 8008336: 429a cmp r2, r3 - 8008338: d302 bcc.n 8008340 - 800833a: 68bb ldr r3, [r7, #8] - 800833c: 2b00 cmp r3, #0 - 800833e: d113 bne.n 8008368 + 8007ec6: f7fc fd67 bl 8004998 + 8007eca: 4602 mov r2, r0 + 8007ecc: 687b ldr r3, [r7, #4] + 8007ece: 1ad3 subs r3, r2, r3 + 8007ed0: 68ba ldr r2, [r7, #8] + 8007ed2: 429a cmp r2, r3 + 8007ed4: d302 bcc.n 8007edc + 8007ed6: 68bb ldr r3, [r7, #8] + 8007ed8: 2b00 cmp r3, #0 + 8007eda: d113 bne.n 8007f04 { hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - 8008340: 68fb ldr r3, [r7, #12] - 8008342: 6c5b ldr r3, [r3, #68] ; 0x44 - 8008344: f043 0220 orr.w r2, r3, #32 - 8008348: 68fb ldr r3, [r7, #12] - 800834a: 645a str r2, [r3, #68] ; 0x44 + 8007edc: 68fb ldr r3, [r7, #12] + 8007ede: 6c5b ldr r3, [r3, #68] ; 0x44 + 8007ee0: f043 0220 orr.w r2, r3, #32 + 8007ee4: 68fb ldr r3, [r7, #12] + 8007ee6: 645a str r2, [r3, #68] ; 0x44 hi2c->State = HAL_I2C_STATE_READY; - 800834c: 68fb ldr r3, [r7, #12] - 800834e: 2220 movs r2, #32 - 8008350: f883 2041 strb.w r2, [r3, #65] ; 0x41 + 8007ee8: 68fb ldr r3, [r7, #12] + 8007eea: 2220 movs r2, #32 + 8007eec: f883 2041 strb.w r2, [r3, #65] ; 0x41 hi2c->Mode = HAL_I2C_MODE_NONE; - 8008354: 68fb ldr r3, [r7, #12] - 8008356: 2200 movs r2, #0 - 8008358: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 8007ef0: 68fb ldr r3, [r7, #12] + 8007ef2: 2200 movs r2, #0 + 8007ef4: f883 2042 strb.w r2, [r3, #66] ; 0x42 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 800835c: 68fb ldr r3, [r7, #12] - 800835e: 2200 movs r2, #0 - 8008360: f883 2040 strb.w r2, [r3, #64] ; 0x40 + 8007ef8: 68fb ldr r3, [r7, #12] + 8007efa: 2200 movs r2, #0 + 8007efc: f883 2040 strb.w r2, [r3, #64] ; 0x40 return HAL_ERROR; - 8008364: 2301 movs r3, #1 - 8008366: e007 b.n 8008378 + 8007f00: 2301 movs r3, #1 + 8007f02: e007 b.n 8007f14 while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_TXIS) == RESET) - 8008368: 68fb ldr r3, [r7, #12] - 800836a: 681b ldr r3, [r3, #0] - 800836c: 699b ldr r3, [r3, #24] - 800836e: f003 0302 and.w r3, r3, #2 - 8008372: 2b02 cmp r3, #2 - 8008374: d1cb bne.n 800830e + 8007f04: 68fb ldr r3, [r7, #12] + 8007f06: 681b ldr r3, [r3, #0] + 8007f08: 699b ldr r3, [r3, #24] + 8007f0a: f003 0302 and.w r3, r3, #2 + 8007f0e: 2b02 cmp r3, #2 + 8007f10: d1cb bne.n 8007eaa } } } return HAL_OK; - 8008376: 2300 movs r3, #0 + 8007f12: 2300 movs r3, #0 } - 8008378: 4618 mov r0, r3 - 800837a: 3710 adds r7, #16 - 800837c: 46bd mov sp, r7 - 800837e: bd80 pop {r7, pc} + 8007f14: 4618 mov r0, r3 + 8007f16: 3710 adds r7, #16 + 8007f18: 46bd mov sp, r7 + 8007f1a: bd80 pop {r7, pc} -08008380 : +08007f1c : * @param Timeout Timeout duration * @param Tickstart Tick start value * @retval HAL status */ static HAL_StatusTypeDef I2C_WaitOnSTOPFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout, uint32_t Tickstart) { - 8008380: b580 push {r7, lr} - 8008382: b084 sub sp, #16 - 8008384: af00 add r7, sp, #0 - 8008386: 60f8 str r0, [r7, #12] - 8008388: 60b9 str r1, [r7, #8] - 800838a: 607a str r2, [r7, #4] + 8007f1c: b580 push {r7, lr} + 8007f1e: b084 sub sp, #16 + 8007f20: af00 add r7, sp, #0 + 8007f22: 60f8 str r0, [r7, #12] + 8007f24: 60b9 str r1, [r7, #8] + 8007f26: 607a str r2, [r7, #4] while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_STOPF) == RESET) - 800838c: e028 b.n 80083e0 + 8007f28: e028 b.n 8007f7c { /* Check if a NACK is detected */ if (I2C_IsAcknowledgeFailed(hi2c, Timeout, Tickstart) != HAL_OK) - 800838e: 687a ldr r2, [r7, #4] - 8008390: 68b9 ldr r1, [r7, #8] - 8008392: 68f8 ldr r0, [r7, #12] - 8008394: f000 f830 bl 80083f8 - 8008398: 4603 mov r3, r0 - 800839a: 2b00 cmp r3, #0 - 800839c: d001 beq.n 80083a2 + 8007f2a: 687a ldr r2, [r7, #4] + 8007f2c: 68b9 ldr r1, [r7, #8] + 8007f2e: 68f8 ldr r0, [r7, #12] + 8007f30: f000 f830 bl 8007f94 + 8007f34: 4603 mov r3, r0 + 8007f36: 2b00 cmp r3, #0 + 8007f38: d001 beq.n 8007f3e { return HAL_ERROR; - 800839e: 2301 movs r3, #1 - 80083a0: e026 b.n 80083f0 + 8007f3a: 2301 movs r3, #1 + 8007f3c: e026 b.n 8007f8c } /* Check for the Timeout */ if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) - 80083a2: f7fc fd45 bl 8004e30 - 80083a6: 4602 mov r2, r0 - 80083a8: 687b ldr r3, [r7, #4] - 80083aa: 1ad3 subs r3, r2, r3 - 80083ac: 68ba ldr r2, [r7, #8] - 80083ae: 429a cmp r2, r3 - 80083b0: d302 bcc.n 80083b8 - 80083b2: 68bb ldr r3, [r7, #8] - 80083b4: 2b00 cmp r3, #0 - 80083b6: d113 bne.n 80083e0 + 8007f3e: f7fc fd2b bl 8004998 + 8007f42: 4602 mov r2, r0 + 8007f44: 687b ldr r3, [r7, #4] + 8007f46: 1ad3 subs r3, r2, r3 + 8007f48: 68ba ldr r2, [r7, #8] + 8007f4a: 429a cmp r2, r3 + 8007f4c: d302 bcc.n 8007f54 + 8007f4e: 68bb ldr r3, [r7, #8] + 8007f50: 2b00 cmp r3, #0 + 8007f52: d113 bne.n 8007f7c { hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - 80083b8: 68fb ldr r3, [r7, #12] - 80083ba: 6c5b ldr r3, [r3, #68] ; 0x44 - 80083bc: f043 0220 orr.w r2, r3, #32 - 80083c0: 68fb ldr r3, [r7, #12] - 80083c2: 645a str r2, [r3, #68] ; 0x44 + 8007f54: 68fb ldr r3, [r7, #12] + 8007f56: 6c5b ldr r3, [r3, #68] ; 0x44 + 8007f58: f043 0220 orr.w r2, r3, #32 + 8007f5c: 68fb ldr r3, [r7, #12] + 8007f5e: 645a str r2, [r3, #68] ; 0x44 hi2c->State = HAL_I2C_STATE_READY; - 80083c4: 68fb ldr r3, [r7, #12] - 80083c6: 2220 movs r2, #32 - 80083c8: f883 2041 strb.w r2, [r3, #65] ; 0x41 + 8007f60: 68fb ldr r3, [r7, #12] + 8007f62: 2220 movs r2, #32 + 8007f64: f883 2041 strb.w r2, [r3, #65] ; 0x41 hi2c->Mode = HAL_I2C_MODE_NONE; - 80083cc: 68fb ldr r3, [r7, #12] - 80083ce: 2200 movs r2, #0 - 80083d0: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 8007f68: 68fb ldr r3, [r7, #12] + 8007f6a: 2200 movs r2, #0 + 8007f6c: f883 2042 strb.w r2, [r3, #66] ; 0x42 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 80083d4: 68fb ldr r3, [r7, #12] - 80083d6: 2200 movs r2, #0 - 80083d8: f883 2040 strb.w r2, [r3, #64] ; 0x40 + 8007f70: 68fb ldr r3, [r7, #12] + 8007f72: 2200 movs r2, #0 + 8007f74: f883 2040 strb.w r2, [r3, #64] ; 0x40 return HAL_ERROR; - 80083dc: 2301 movs r3, #1 - 80083de: e007 b.n 80083f0 + 8007f78: 2301 movs r3, #1 + 8007f7a: e007 b.n 8007f8c while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_STOPF) == RESET) - 80083e0: 68fb ldr r3, [r7, #12] - 80083e2: 681b ldr r3, [r3, #0] - 80083e4: 699b ldr r3, [r3, #24] - 80083e6: f003 0320 and.w r3, r3, #32 - 80083ea: 2b20 cmp r3, #32 - 80083ec: d1cf bne.n 800838e + 8007f7c: 68fb ldr r3, [r7, #12] + 8007f7e: 681b ldr r3, [r3, #0] + 8007f80: 699b ldr r3, [r3, #24] + 8007f82: f003 0320 and.w r3, r3, #32 + 8007f86: 2b20 cmp r3, #32 + 8007f88: d1cf bne.n 8007f2a } } return HAL_OK; - 80083ee: 2300 movs r3, #0 + 8007f8a: 2300 movs r3, #0 } - 80083f0: 4618 mov r0, r3 - 80083f2: 3710 adds r7, #16 - 80083f4: 46bd mov sp, r7 - 80083f6: bd80 pop {r7, pc} + 8007f8c: 4618 mov r0, r3 + 8007f8e: 3710 adds r7, #16 + 8007f90: 46bd mov sp, r7 + 8007f92: bd80 pop {r7, pc} -080083f8 : +08007f94 : * @param Timeout Timeout duration * @param Tickstart Tick start value * @retval HAL status */ static HAL_StatusTypeDef I2C_IsAcknowledgeFailed(I2C_HandleTypeDef *hi2c, uint32_t Timeout, uint32_t Tickstart) { - 80083f8: b580 push {r7, lr} - 80083fa: b084 sub sp, #16 - 80083fc: af00 add r7, sp, #0 - 80083fe: 60f8 str r0, [r7, #12] - 8008400: 60b9 str r1, [r7, #8] - 8008402: 607a str r2, [r7, #4] + 8007f94: b580 push {r7, lr} + 8007f96: b084 sub sp, #16 + 8007f98: af00 add r7, sp, #0 + 8007f9a: 60f8 str r0, [r7, #12] + 8007f9c: 60b9 str r1, [r7, #8] + 8007f9e: 607a str r2, [r7, #4] if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_AF) == SET) - 8008404: 68fb ldr r3, [r7, #12] - 8008406: 681b ldr r3, [r3, #0] - 8008408: 699b ldr r3, [r3, #24] - 800840a: f003 0310 and.w r3, r3, #16 - 800840e: 2b10 cmp r3, #16 - 8008410: d151 bne.n 80084b6 + 8007fa0: 68fb ldr r3, [r7, #12] + 8007fa2: 681b ldr r3, [r3, #0] + 8007fa4: 699b ldr r3, [r3, #24] + 8007fa6: f003 0310 and.w r3, r3, #16 + 8007faa: 2b10 cmp r3, #16 + 8007fac: d151 bne.n 8008052 { /* Wait until STOP Flag is reset */ /* AutoEnd should be initiate after AF */ while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_STOPF) == RESET) - 8008412: e022 b.n 800845a + 8007fae: e022 b.n 8007ff6 { /* Check for the Timeout */ if (Timeout != HAL_MAX_DELAY) - 8008414: 68bb ldr r3, [r7, #8] - 8008416: f1b3 3fff cmp.w r3, #4294967295 - 800841a: d01e beq.n 800845a + 8007fb0: 68bb ldr r3, [r7, #8] + 8007fb2: f1b3 3fff cmp.w r3, #4294967295 + 8007fb6: d01e beq.n 8007ff6 { if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) - 800841c: f7fc fd08 bl 8004e30 - 8008420: 4602 mov r2, r0 - 8008422: 687b ldr r3, [r7, #4] - 8008424: 1ad3 subs r3, r2, r3 - 8008426: 68ba ldr r2, [r7, #8] - 8008428: 429a cmp r2, r3 - 800842a: d302 bcc.n 8008432 - 800842c: 68bb ldr r3, [r7, #8] - 800842e: 2b00 cmp r3, #0 - 8008430: d113 bne.n 800845a + 8007fb8: f7fc fcee bl 8004998 + 8007fbc: 4602 mov r2, r0 + 8007fbe: 687b ldr r3, [r7, #4] + 8007fc0: 1ad3 subs r3, r2, r3 + 8007fc2: 68ba ldr r2, [r7, #8] + 8007fc4: 429a cmp r2, r3 + 8007fc6: d302 bcc.n 8007fce + 8007fc8: 68bb ldr r3, [r7, #8] + 8007fca: 2b00 cmp r3, #0 + 8007fcc: d113 bne.n 8007ff6 { hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - 8008432: 68fb ldr r3, [r7, #12] - 8008434: 6c5b ldr r3, [r3, #68] ; 0x44 - 8008436: f043 0220 orr.w r2, r3, #32 - 800843a: 68fb ldr r3, [r7, #12] - 800843c: 645a str r2, [r3, #68] ; 0x44 + 8007fce: 68fb ldr r3, [r7, #12] + 8007fd0: 6c5b ldr r3, [r3, #68] ; 0x44 + 8007fd2: f043 0220 orr.w r2, r3, #32 + 8007fd6: 68fb ldr r3, [r7, #12] + 8007fd8: 645a str r2, [r3, #68] ; 0x44 hi2c->State = HAL_I2C_STATE_READY; - 800843e: 68fb ldr r3, [r7, #12] - 8008440: 2220 movs r2, #32 - 8008442: f883 2041 strb.w r2, [r3, #65] ; 0x41 + 8007fda: 68fb ldr r3, [r7, #12] + 8007fdc: 2220 movs r2, #32 + 8007fde: f883 2041 strb.w r2, [r3, #65] ; 0x41 hi2c->Mode = HAL_I2C_MODE_NONE; - 8008446: 68fb ldr r3, [r7, #12] - 8008448: 2200 movs r2, #0 - 800844a: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 8007fe2: 68fb ldr r3, [r7, #12] + 8007fe4: 2200 movs r2, #0 + 8007fe6: f883 2042 strb.w r2, [r3, #66] ; 0x42 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 800844e: 68fb ldr r3, [r7, #12] - 8008450: 2200 movs r2, #0 - 8008452: f883 2040 strb.w r2, [r3, #64] ; 0x40 + 8007fea: 68fb ldr r3, [r7, #12] + 8007fec: 2200 movs r2, #0 + 8007fee: f883 2040 strb.w r2, [r3, #64] ; 0x40 return HAL_ERROR; - 8008456: 2301 movs r3, #1 - 8008458: e02e b.n 80084b8 + 8007ff2: 2301 movs r3, #1 + 8007ff4: e02e b.n 8008054 while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_STOPF) == RESET) - 800845a: 68fb ldr r3, [r7, #12] - 800845c: 681b ldr r3, [r3, #0] - 800845e: 699b ldr r3, [r3, #24] - 8008460: f003 0320 and.w r3, r3, #32 - 8008464: 2b20 cmp r3, #32 - 8008466: d1d5 bne.n 8008414 + 8007ff6: 68fb ldr r3, [r7, #12] + 8007ff8: 681b ldr r3, [r3, #0] + 8007ffa: 699b ldr r3, [r3, #24] + 8007ffc: f003 0320 and.w r3, r3, #32 + 8008000: 2b20 cmp r3, #32 + 8008002: d1d5 bne.n 8007fb0 } } } /* Clear NACKF Flag */ __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_AF); - 8008468: 68fb ldr r3, [r7, #12] - 800846a: 681b ldr r3, [r3, #0] - 800846c: 2210 movs r2, #16 - 800846e: 61da str r2, [r3, #28] + 8008004: 68fb ldr r3, [r7, #12] + 8008006: 681b ldr r3, [r3, #0] + 8008008: 2210 movs r2, #16 + 800800a: 61da str r2, [r3, #28] /* Clear STOP Flag */ __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_STOPF); - 8008470: 68fb ldr r3, [r7, #12] - 8008472: 681b ldr r3, [r3, #0] - 8008474: 2220 movs r2, #32 - 8008476: 61da str r2, [r3, #28] + 800800c: 68fb ldr r3, [r7, #12] + 800800e: 681b ldr r3, [r3, #0] + 8008010: 2220 movs r2, #32 + 8008012: 61da str r2, [r3, #28] /* Flush TX register */ I2C_Flush_TXDR(hi2c); - 8008478: 68f8 ldr r0, [r7, #12] - 800847a: f7ff fedd bl 8008238 + 8008014: 68f8 ldr r0, [r7, #12] + 8008016: f7ff fedd bl 8007dd4 /* Clear Configuration Register 2 */ I2C_RESET_CR2(hi2c); - 800847e: 68fb ldr r3, [r7, #12] - 8008480: 681b ldr r3, [r3, #0] - 8008482: 6859 ldr r1, [r3, #4] - 8008484: 68fb ldr r3, [r7, #12] - 8008486: 681a ldr r2, [r3, #0] - 8008488: 4b0d ldr r3, [pc, #52] ; (80084c0 ) - 800848a: 400b ands r3, r1 - 800848c: 6053 str r3, [r2, #4] + 800801a: 68fb ldr r3, [r7, #12] + 800801c: 681b ldr r3, [r3, #0] + 800801e: 6859 ldr r1, [r3, #4] + 8008020: 68fb ldr r3, [r7, #12] + 8008022: 681a ldr r2, [r3, #0] + 8008024: 4b0d ldr r3, [pc, #52] ; (800805c ) + 8008026: 400b ands r3, r1 + 8008028: 6053 str r3, [r2, #4] hi2c->ErrorCode |= HAL_I2C_ERROR_AF; - 800848e: 68fb ldr r3, [r7, #12] - 8008490: 6c5b ldr r3, [r3, #68] ; 0x44 - 8008492: f043 0204 orr.w r2, r3, #4 - 8008496: 68fb ldr r3, [r7, #12] - 8008498: 645a str r2, [r3, #68] ; 0x44 + 800802a: 68fb ldr r3, [r7, #12] + 800802c: 6c5b ldr r3, [r3, #68] ; 0x44 + 800802e: f043 0204 orr.w r2, r3, #4 + 8008032: 68fb ldr r3, [r7, #12] + 8008034: 645a str r2, [r3, #68] ; 0x44 hi2c->State = HAL_I2C_STATE_READY; - 800849a: 68fb ldr r3, [r7, #12] - 800849c: 2220 movs r2, #32 - 800849e: f883 2041 strb.w r2, [r3, #65] ; 0x41 + 8008036: 68fb ldr r3, [r7, #12] + 8008038: 2220 movs r2, #32 + 800803a: f883 2041 strb.w r2, [r3, #65] ; 0x41 hi2c->Mode = HAL_I2C_MODE_NONE; - 80084a2: 68fb ldr r3, [r7, #12] - 80084a4: 2200 movs r2, #0 - 80084a6: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 800803e: 68fb ldr r3, [r7, #12] + 8008040: 2200 movs r2, #0 + 8008042: f883 2042 strb.w r2, [r3, #66] ; 0x42 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 80084aa: 68fb ldr r3, [r7, #12] - 80084ac: 2200 movs r2, #0 - 80084ae: f883 2040 strb.w r2, [r3, #64] ; 0x40 + 8008046: 68fb ldr r3, [r7, #12] + 8008048: 2200 movs r2, #0 + 800804a: f883 2040 strb.w r2, [r3, #64] ; 0x40 return HAL_ERROR; - 80084b2: 2301 movs r3, #1 - 80084b4: e000 b.n 80084b8 + 800804e: 2301 movs r3, #1 + 8008050: e000 b.n 8008054 } return HAL_OK; - 80084b6: 2300 movs r3, #0 + 8008052: 2300 movs r3, #0 } - 80084b8: 4618 mov r0, r3 - 80084ba: 3710 adds r7, #16 - 80084bc: 46bd mov sp, r7 - 80084be: bd80 pop {r7, pc} - 80084c0: fe00e800 .word 0xfe00e800 + 8008054: 4618 mov r0, r3 + 8008056: 3710 adds r7, #16 + 8008058: 46bd mov sp, r7 + 800805a: bd80 pop {r7, pc} + 800805c: fe00e800 .word 0xfe00e800 -080084c4 : +08008060 : * @arg @ref I2C_GENERATE_START_READ Generate Restart for read request. * @arg @ref I2C_GENERATE_START_WRITE Generate Restart for write request. * @retval None */ static void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, uint32_t Request) { - 80084c4: b480 push {r7} - 80084c6: b085 sub sp, #20 - 80084c8: af00 add r7, sp, #0 - 80084ca: 60f8 str r0, [r7, #12] - 80084cc: 607b str r3, [r7, #4] - 80084ce: 460b mov r3, r1 - 80084d0: 817b strh r3, [r7, #10] - 80084d2: 4613 mov r3, r2 - 80084d4: 727b strb r3, [r7, #9] + 8008060: b480 push {r7} + 8008062: b085 sub sp, #20 + 8008064: af00 add r7, sp, #0 + 8008066: 60f8 str r0, [r7, #12] + 8008068: 607b str r3, [r7, #4] + 800806a: 460b mov r3, r1 + 800806c: 817b strh r3, [r7, #10] + 800806e: 4613 mov r3, r2 + 8008070: 727b strb r3, [r7, #9] assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance)); assert_param(IS_TRANSFER_MODE(Mode)); assert_param(IS_TRANSFER_REQUEST(Request)); /* update CR2 register */ MODIFY_REG(hi2c->Instance->CR2, ((I2C_CR2_SADD | I2C_CR2_NBYTES | I2C_CR2_RELOAD | I2C_CR2_AUTOEND | (I2C_CR2_RD_WRN & (uint32_t)(Request >> (31U - I2C_CR2_RD_WRN_Pos))) | I2C_CR2_START | I2C_CR2_STOP)), \ - 80084d6: 68fb ldr r3, [r7, #12] - 80084d8: 681b ldr r3, [r3, #0] - 80084da: 685a ldr r2, [r3, #4] - 80084dc: 69bb ldr r3, [r7, #24] - 80084de: 0d5b lsrs r3, r3, #21 - 80084e0: f403 6180 and.w r1, r3, #1024 ; 0x400 - 80084e4: 4b0d ldr r3, [pc, #52] ; (800851c ) - 80084e6: 430b orrs r3, r1 - 80084e8: 43db mvns r3, r3 - 80084ea: ea02 0103 and.w r1, r2, r3 - 80084ee: 897b ldrh r3, [r7, #10] - 80084f0: f3c3 0209 ubfx r2, r3, #0, #10 - 80084f4: 7a7b ldrb r3, [r7, #9] - 80084f6: 041b lsls r3, r3, #16 - 80084f8: f403 037f and.w r3, r3, #16711680 ; 0xff0000 - 80084fc: 431a orrs r2, r3 - 80084fe: 687b ldr r3, [r7, #4] - 8008500: 431a orrs r2, r3 - 8008502: 69bb ldr r3, [r7, #24] - 8008504: 431a orrs r2, r3 - 8008506: 68fb ldr r3, [r7, #12] - 8008508: 681b ldr r3, [r3, #0] - 800850a: 430a orrs r2, r1 - 800850c: 605a str r2, [r3, #4] + 8008072: 68fb ldr r3, [r7, #12] + 8008074: 681b ldr r3, [r3, #0] + 8008076: 685a ldr r2, [r3, #4] + 8008078: 69bb ldr r3, [r7, #24] + 800807a: 0d5b lsrs r3, r3, #21 + 800807c: f403 6180 and.w r1, r3, #1024 ; 0x400 + 8008080: 4b0d ldr r3, [pc, #52] ; (80080b8 ) + 8008082: 430b orrs r3, r1 + 8008084: 43db mvns r3, r3 + 8008086: ea02 0103 and.w r1, r2, r3 + 800808a: 897b ldrh r3, [r7, #10] + 800808c: f3c3 0209 ubfx r2, r3, #0, #10 + 8008090: 7a7b ldrb r3, [r7, #9] + 8008092: 041b lsls r3, r3, #16 + 8008094: f403 037f and.w r3, r3, #16711680 ; 0xff0000 + 8008098: 431a orrs r2, r3 + 800809a: 687b ldr r3, [r7, #4] + 800809c: 431a orrs r2, r3 + 800809e: 69bb ldr r3, [r7, #24] + 80080a0: 431a orrs r2, r3 + 80080a2: 68fb ldr r3, [r7, #12] + 80080a4: 681b ldr r3, [r3, #0] + 80080a6: 430a orrs r2, r1 + 80080a8: 605a str r2, [r3, #4] (uint32_t)(((uint32_t)DevAddress & I2C_CR2_SADD) | (((uint32_t)Size << I2C_CR2_NBYTES_Pos) & I2C_CR2_NBYTES) | (uint32_t)Mode | (uint32_t)Request)); } - 800850e: bf00 nop - 8008510: 3714 adds r7, #20 - 8008512: 46bd mov sp, r7 - 8008514: f85d 7b04 ldr.w r7, [sp], #4 - 8008518: 4770 bx lr - 800851a: bf00 nop - 800851c: 03ff63ff .word 0x03ff63ff + 80080aa: bf00 nop + 80080ac: 3714 adds r7, #20 + 80080ae: 46bd mov sp, r7 + 80080b0: f85d 7b04 ldr.w r7, [sp], #4 + 80080b4: 4770 bx lr + 80080b6: bf00 nop + 80080b8: 03ff63ff .word 0x03ff63ff -08008520 : +080080bc : * @param hltdc pointer to a LTDC_HandleTypeDef structure that contains * the configuration information for the LTDC. * @retval HAL status */ HAL_StatusTypeDef HAL_LTDC_Init(LTDC_HandleTypeDef *hltdc) { - 8008520: b580 push {r7, lr} - 8008522: b084 sub sp, #16 - 8008524: af00 add r7, sp, #0 - 8008526: 6078 str r0, [r7, #4] + 80080bc: b580 push {r7, lr} + 80080be: b084 sub sp, #16 + 80080c0: af00 add r7, sp, #0 + 80080c2: 6078 str r0, [r7, #4] uint32_t tmp, tmp1; /* Check the LTDC peripheral state */ if (hltdc == NULL) - 8008528: 687b ldr r3, [r7, #4] - 800852a: 2b00 cmp r3, #0 - 800852c: d101 bne.n 8008532 + 80080c4: 687b ldr r3, [r7, #4] + 80080c6: 2b00 cmp r3, #0 + 80080c8: d101 bne.n 80080ce { return HAL_ERROR; - 800852e: 2301 movs r3, #1 - 8008530: e0bf b.n 80086b2 + 80080ca: 2301 movs r3, #1 + 80080cc: e0bf b.n 800824e } /* Init the low level hardware */ hltdc->MspInitCallback(hltdc); } #else if (hltdc->State == HAL_LTDC_STATE_RESET) - 8008532: 687b ldr r3, [r7, #4] - 8008534: f893 30a1 ldrb.w r3, [r3, #161] ; 0xa1 - 8008538: b2db uxtb r3, r3 - 800853a: 2b00 cmp r3, #0 - 800853c: d106 bne.n 800854c + 80080ce: 687b ldr r3, [r7, #4] + 80080d0: f893 30a1 ldrb.w r3, [r3, #161] ; 0xa1 + 80080d4: b2db uxtb r3, r3 + 80080d6: 2b00 cmp r3, #0 + 80080d8: d106 bne.n 80080e8 { /* Allocate lock resource and initialize it */ hltdc->Lock = HAL_UNLOCKED; - 800853e: 687b ldr r3, [r7, #4] - 8008540: 2200 movs r2, #0 - 8008542: f883 20a0 strb.w r2, [r3, #160] ; 0xa0 + 80080da: 687b ldr r3, [r7, #4] + 80080dc: 2200 movs r2, #0 + 80080de: f883 20a0 strb.w r2, [r3, #160] ; 0xa0 /* Init the low level hardware */ HAL_LTDC_MspInit(hltdc); - 8008546: 6878 ldr r0, [r7, #4] - 8008548: f7fc f81c bl 8004584 + 80080e2: 6878 ldr r0, [r7, #4] + 80080e4: f7fb fffa bl 80040dc } #endif /* USE_HAL_LTDC_REGISTER_CALLBACKS */ /* Change LTDC peripheral state */ hltdc->State = HAL_LTDC_STATE_BUSY; - 800854c: 687b ldr r3, [r7, #4] - 800854e: 2202 movs r2, #2 - 8008550: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 + 80080e8: 687b ldr r3, [r7, #4] + 80080ea: 2202 movs r2, #2 + 80080ec: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 /* Configure the HS, VS, DE and PC polarity */ hltdc->Instance->GCR &= ~(LTDC_GCR_HSPOL | LTDC_GCR_VSPOL | LTDC_GCR_DEPOL | LTDC_GCR_PCPOL); - 8008554: 687b ldr r3, [r7, #4] - 8008556: 681b ldr r3, [r3, #0] - 8008558: 699a ldr r2, [r3, #24] - 800855a: 687b ldr r3, [r7, #4] - 800855c: 681b ldr r3, [r3, #0] - 800855e: f022 4270 bic.w r2, r2, #4026531840 ; 0xf0000000 - 8008562: 619a str r2, [r3, #24] + 80080f0: 687b ldr r3, [r7, #4] + 80080f2: 681b ldr r3, [r3, #0] + 80080f4: 699a ldr r2, [r3, #24] + 80080f6: 687b ldr r3, [r7, #4] + 80080f8: 681b ldr r3, [r3, #0] + 80080fa: f022 4270 bic.w r2, r2, #4026531840 ; 0xf0000000 + 80080fe: 619a str r2, [r3, #24] hltdc->Instance->GCR |= (uint32_t)(hltdc->Init.HSPolarity | hltdc->Init.VSPolarity | \ - 8008564: 687b ldr r3, [r7, #4] - 8008566: 681b ldr r3, [r3, #0] - 8008568: 6999 ldr r1, [r3, #24] - 800856a: 687b ldr r3, [r7, #4] - 800856c: 685a ldr r2, [r3, #4] - 800856e: 687b ldr r3, [r7, #4] - 8008570: 689b ldr r3, [r3, #8] - 8008572: 431a orrs r2, r3 + 8008100: 687b ldr r3, [r7, #4] + 8008102: 681b ldr r3, [r3, #0] + 8008104: 6999 ldr r1, [r3, #24] + 8008106: 687b ldr r3, [r7, #4] + 8008108: 685a ldr r2, [r3, #4] + 800810a: 687b ldr r3, [r7, #4] + 800810c: 689b ldr r3, [r3, #8] + 800810e: 431a orrs r2, r3 hltdc->Init.DEPolarity | hltdc->Init.PCPolarity); - 8008574: 687b ldr r3, [r7, #4] - 8008576: 68db ldr r3, [r3, #12] + 8008110: 687b ldr r3, [r7, #4] + 8008112: 68db ldr r3, [r3, #12] hltdc->Instance->GCR |= (uint32_t)(hltdc->Init.HSPolarity | hltdc->Init.VSPolarity | \ - 8008578: 431a orrs r2, r3 + 8008114: 431a orrs r2, r3 hltdc->Init.DEPolarity | hltdc->Init.PCPolarity); - 800857a: 687b ldr r3, [r7, #4] - 800857c: 691b ldr r3, [r3, #16] - 800857e: 431a orrs r2, r3 + 8008116: 687b ldr r3, [r7, #4] + 8008118: 691b ldr r3, [r3, #16] + 800811a: 431a orrs r2, r3 hltdc->Instance->GCR |= (uint32_t)(hltdc->Init.HSPolarity | hltdc->Init.VSPolarity | \ - 8008580: 687b ldr r3, [r7, #4] - 8008582: 681b ldr r3, [r3, #0] - 8008584: 430a orrs r2, r1 - 8008586: 619a str r2, [r3, #24] + 800811c: 687b ldr r3, [r7, #4] + 800811e: 681b ldr r3, [r3, #0] + 8008120: 430a orrs r2, r1 + 8008122: 619a str r2, [r3, #24] /* Set Synchronization size */ hltdc->Instance->SSCR &= ~(LTDC_SSCR_VSH | LTDC_SSCR_HSW); - 8008588: 687b ldr r3, [r7, #4] - 800858a: 681b ldr r3, [r3, #0] - 800858c: 6899 ldr r1, [r3, #8] - 800858e: 687b ldr r3, [r7, #4] - 8008590: 681a ldr r2, [r3, #0] - 8008592: 4b4a ldr r3, [pc, #296] ; (80086bc ) - 8008594: 400b ands r3, r1 - 8008596: 6093 str r3, [r2, #8] + 8008124: 687b ldr r3, [r7, #4] + 8008126: 681b ldr r3, [r3, #0] + 8008128: 6899 ldr r1, [r3, #8] + 800812a: 687b ldr r3, [r7, #4] + 800812c: 681a ldr r2, [r3, #0] + 800812e: 4b4a ldr r3, [pc, #296] ; (8008258 ) + 8008130: 400b ands r3, r1 + 8008132: 6093 str r3, [r2, #8] tmp = (hltdc->Init.HorizontalSync << 16U); - 8008598: 687b ldr r3, [r7, #4] - 800859a: 695b ldr r3, [r3, #20] - 800859c: 041b lsls r3, r3, #16 - 800859e: 60fb str r3, [r7, #12] + 8008134: 687b ldr r3, [r7, #4] + 8008136: 695b ldr r3, [r3, #20] + 8008138: 041b lsls r3, r3, #16 + 800813a: 60fb str r3, [r7, #12] hltdc->Instance->SSCR |= (tmp | hltdc->Init.VerticalSync); - 80085a0: 687b ldr r3, [r7, #4] - 80085a2: 681b ldr r3, [r3, #0] - 80085a4: 6899 ldr r1, [r3, #8] - 80085a6: 687b ldr r3, [r7, #4] - 80085a8: 699a ldr r2, [r3, #24] - 80085aa: 68fb ldr r3, [r7, #12] - 80085ac: 431a orrs r2, r3 - 80085ae: 687b ldr r3, [r7, #4] - 80085b0: 681b ldr r3, [r3, #0] - 80085b2: 430a orrs r2, r1 - 80085b4: 609a str r2, [r3, #8] + 800813c: 687b ldr r3, [r7, #4] + 800813e: 681b ldr r3, [r3, #0] + 8008140: 6899 ldr r1, [r3, #8] + 8008142: 687b ldr r3, [r7, #4] + 8008144: 699a ldr r2, [r3, #24] + 8008146: 68fb ldr r3, [r7, #12] + 8008148: 431a orrs r2, r3 + 800814a: 687b ldr r3, [r7, #4] + 800814c: 681b ldr r3, [r3, #0] + 800814e: 430a orrs r2, r1 + 8008150: 609a str r2, [r3, #8] /* Set Accumulated Back porch */ hltdc->Instance->BPCR &= ~(LTDC_BPCR_AVBP | LTDC_BPCR_AHBP); - 80085b6: 687b ldr r3, [r7, #4] - 80085b8: 681b ldr r3, [r3, #0] - 80085ba: 68d9 ldr r1, [r3, #12] - 80085bc: 687b ldr r3, [r7, #4] - 80085be: 681a ldr r2, [r3, #0] - 80085c0: 4b3e ldr r3, [pc, #248] ; (80086bc ) - 80085c2: 400b ands r3, r1 - 80085c4: 60d3 str r3, [r2, #12] + 8008152: 687b ldr r3, [r7, #4] + 8008154: 681b ldr r3, [r3, #0] + 8008156: 68d9 ldr r1, [r3, #12] + 8008158: 687b ldr r3, [r7, #4] + 800815a: 681a ldr r2, [r3, #0] + 800815c: 4b3e ldr r3, [pc, #248] ; (8008258 ) + 800815e: 400b ands r3, r1 + 8008160: 60d3 str r3, [r2, #12] tmp = (hltdc->Init.AccumulatedHBP << 16U); - 80085c6: 687b ldr r3, [r7, #4] - 80085c8: 69db ldr r3, [r3, #28] - 80085ca: 041b lsls r3, r3, #16 - 80085cc: 60fb str r3, [r7, #12] + 8008162: 687b ldr r3, [r7, #4] + 8008164: 69db ldr r3, [r3, #28] + 8008166: 041b lsls r3, r3, #16 + 8008168: 60fb str r3, [r7, #12] hltdc->Instance->BPCR |= (tmp | hltdc->Init.AccumulatedVBP); - 80085ce: 687b ldr r3, [r7, #4] - 80085d0: 681b ldr r3, [r3, #0] - 80085d2: 68d9 ldr r1, [r3, #12] - 80085d4: 687b ldr r3, [r7, #4] - 80085d6: 6a1a ldr r2, [r3, #32] - 80085d8: 68fb ldr r3, [r7, #12] - 80085da: 431a orrs r2, r3 - 80085dc: 687b ldr r3, [r7, #4] - 80085de: 681b ldr r3, [r3, #0] - 80085e0: 430a orrs r2, r1 - 80085e2: 60da str r2, [r3, #12] + 800816a: 687b ldr r3, [r7, #4] + 800816c: 681b ldr r3, [r3, #0] + 800816e: 68d9 ldr r1, [r3, #12] + 8008170: 687b ldr r3, [r7, #4] + 8008172: 6a1a ldr r2, [r3, #32] + 8008174: 68fb ldr r3, [r7, #12] + 8008176: 431a orrs r2, r3 + 8008178: 687b ldr r3, [r7, #4] + 800817a: 681b ldr r3, [r3, #0] + 800817c: 430a orrs r2, r1 + 800817e: 60da str r2, [r3, #12] /* Set Accumulated Active Width */ hltdc->Instance->AWCR &= ~(LTDC_AWCR_AAH | LTDC_AWCR_AAW); - 80085e4: 687b ldr r3, [r7, #4] - 80085e6: 681b ldr r3, [r3, #0] - 80085e8: 6919 ldr r1, [r3, #16] - 80085ea: 687b ldr r3, [r7, #4] - 80085ec: 681a ldr r2, [r3, #0] - 80085ee: 4b33 ldr r3, [pc, #204] ; (80086bc ) - 80085f0: 400b ands r3, r1 - 80085f2: 6113 str r3, [r2, #16] + 8008180: 687b ldr r3, [r7, #4] + 8008182: 681b ldr r3, [r3, #0] + 8008184: 6919 ldr r1, [r3, #16] + 8008186: 687b ldr r3, [r7, #4] + 8008188: 681a ldr r2, [r3, #0] + 800818a: 4b33 ldr r3, [pc, #204] ; (8008258 ) + 800818c: 400b ands r3, r1 + 800818e: 6113 str r3, [r2, #16] tmp = (hltdc->Init.AccumulatedActiveW << 16U); - 80085f4: 687b ldr r3, [r7, #4] - 80085f6: 6a5b ldr r3, [r3, #36] ; 0x24 - 80085f8: 041b lsls r3, r3, #16 - 80085fa: 60fb str r3, [r7, #12] + 8008190: 687b ldr r3, [r7, #4] + 8008192: 6a5b ldr r3, [r3, #36] ; 0x24 + 8008194: 041b lsls r3, r3, #16 + 8008196: 60fb str r3, [r7, #12] hltdc->Instance->AWCR |= (tmp | hltdc->Init.AccumulatedActiveH); - 80085fc: 687b ldr r3, [r7, #4] - 80085fe: 681b ldr r3, [r3, #0] - 8008600: 6919 ldr r1, [r3, #16] - 8008602: 687b ldr r3, [r7, #4] - 8008604: 6a9a ldr r2, [r3, #40] ; 0x28 - 8008606: 68fb ldr r3, [r7, #12] - 8008608: 431a orrs r2, r3 - 800860a: 687b ldr r3, [r7, #4] - 800860c: 681b ldr r3, [r3, #0] - 800860e: 430a orrs r2, r1 - 8008610: 611a str r2, [r3, #16] + 8008198: 687b ldr r3, [r7, #4] + 800819a: 681b ldr r3, [r3, #0] + 800819c: 6919 ldr r1, [r3, #16] + 800819e: 687b ldr r3, [r7, #4] + 80081a0: 6a9a ldr r2, [r3, #40] ; 0x28 + 80081a2: 68fb ldr r3, [r7, #12] + 80081a4: 431a orrs r2, r3 + 80081a6: 687b ldr r3, [r7, #4] + 80081a8: 681b ldr r3, [r3, #0] + 80081aa: 430a orrs r2, r1 + 80081ac: 611a str r2, [r3, #16] /* Set Total Width */ hltdc->Instance->TWCR &= ~(LTDC_TWCR_TOTALH | LTDC_TWCR_TOTALW); - 8008612: 687b ldr r3, [r7, #4] - 8008614: 681b ldr r3, [r3, #0] - 8008616: 6959 ldr r1, [r3, #20] - 8008618: 687b ldr r3, [r7, #4] - 800861a: 681a ldr r2, [r3, #0] - 800861c: 4b27 ldr r3, [pc, #156] ; (80086bc ) - 800861e: 400b ands r3, r1 - 8008620: 6153 str r3, [r2, #20] + 80081ae: 687b ldr r3, [r7, #4] + 80081b0: 681b ldr r3, [r3, #0] + 80081b2: 6959 ldr r1, [r3, #20] + 80081b4: 687b ldr r3, [r7, #4] + 80081b6: 681a ldr r2, [r3, #0] + 80081b8: 4b27 ldr r3, [pc, #156] ; (8008258 ) + 80081ba: 400b ands r3, r1 + 80081bc: 6153 str r3, [r2, #20] tmp = (hltdc->Init.TotalWidth << 16U); - 8008622: 687b ldr r3, [r7, #4] - 8008624: 6adb ldr r3, [r3, #44] ; 0x2c - 8008626: 041b lsls r3, r3, #16 - 8008628: 60fb str r3, [r7, #12] + 80081be: 687b ldr r3, [r7, #4] + 80081c0: 6adb ldr r3, [r3, #44] ; 0x2c + 80081c2: 041b lsls r3, r3, #16 + 80081c4: 60fb str r3, [r7, #12] hltdc->Instance->TWCR |= (tmp | hltdc->Init.TotalHeigh); - 800862a: 687b ldr r3, [r7, #4] - 800862c: 681b ldr r3, [r3, #0] - 800862e: 6959 ldr r1, [r3, #20] - 8008630: 687b ldr r3, [r7, #4] - 8008632: 6b1a ldr r2, [r3, #48] ; 0x30 - 8008634: 68fb ldr r3, [r7, #12] - 8008636: 431a orrs r2, r3 - 8008638: 687b ldr r3, [r7, #4] - 800863a: 681b ldr r3, [r3, #0] - 800863c: 430a orrs r2, r1 - 800863e: 615a str r2, [r3, #20] + 80081c6: 687b ldr r3, [r7, #4] + 80081c8: 681b ldr r3, [r3, #0] + 80081ca: 6959 ldr r1, [r3, #20] + 80081cc: 687b ldr r3, [r7, #4] + 80081ce: 6b1a ldr r2, [r3, #48] ; 0x30 + 80081d0: 68fb ldr r3, [r7, #12] + 80081d2: 431a orrs r2, r3 + 80081d4: 687b ldr r3, [r7, #4] + 80081d6: 681b ldr r3, [r3, #0] + 80081d8: 430a orrs r2, r1 + 80081da: 615a str r2, [r3, #20] /* Set the background color value */ tmp = ((uint32_t)(hltdc->Init.Backcolor.Green) << 8U); - 8008640: 687b ldr r3, [r7, #4] - 8008642: f893 3035 ldrb.w r3, [r3, #53] ; 0x35 - 8008646: 021b lsls r3, r3, #8 - 8008648: 60fb str r3, [r7, #12] + 80081dc: 687b ldr r3, [r7, #4] + 80081de: f893 3035 ldrb.w r3, [r3, #53] ; 0x35 + 80081e2: 021b lsls r3, r3, #8 + 80081e4: 60fb str r3, [r7, #12] tmp1 = ((uint32_t)(hltdc->Init.Backcolor.Red) << 16U); - 800864a: 687b ldr r3, [r7, #4] - 800864c: f893 3036 ldrb.w r3, [r3, #54] ; 0x36 - 8008650: 041b lsls r3, r3, #16 - 8008652: 60bb str r3, [r7, #8] + 80081e6: 687b ldr r3, [r7, #4] + 80081e8: f893 3036 ldrb.w r3, [r3, #54] ; 0x36 + 80081ec: 041b lsls r3, r3, #16 + 80081ee: 60bb str r3, [r7, #8] hltdc->Instance->BCCR &= ~(LTDC_BCCR_BCBLUE | LTDC_BCCR_BCGREEN | LTDC_BCCR_BCRED); - 8008654: 687b ldr r3, [r7, #4] - 8008656: 681b ldr r3, [r3, #0] - 8008658: 6ada ldr r2, [r3, #44] ; 0x2c - 800865a: 687b ldr r3, [r7, #4] - 800865c: 681b ldr r3, [r3, #0] - 800865e: f002 427f and.w r2, r2, #4278190080 ; 0xff000000 - 8008662: 62da str r2, [r3, #44] ; 0x2c + 80081f0: 687b ldr r3, [r7, #4] + 80081f2: 681b ldr r3, [r3, #0] + 80081f4: 6ada ldr r2, [r3, #44] ; 0x2c + 80081f6: 687b ldr r3, [r7, #4] + 80081f8: 681b ldr r3, [r3, #0] + 80081fa: f002 427f and.w r2, r2, #4278190080 ; 0xff000000 + 80081fe: 62da str r2, [r3, #44] ; 0x2c hltdc->Instance->BCCR |= (tmp1 | tmp | hltdc->Init.Backcolor.Blue); - 8008664: 687b ldr r3, [r7, #4] - 8008666: 681b ldr r3, [r3, #0] - 8008668: 6ad9 ldr r1, [r3, #44] ; 0x2c - 800866a: 68ba ldr r2, [r7, #8] - 800866c: 68fb ldr r3, [r7, #12] - 800866e: 4313 orrs r3, r2 - 8008670: 687a ldr r2, [r7, #4] - 8008672: f892 2034 ldrb.w r2, [r2, #52] ; 0x34 - 8008676: 431a orrs r2, r3 - 8008678: 687b ldr r3, [r7, #4] - 800867a: 681b ldr r3, [r3, #0] - 800867c: 430a orrs r2, r1 - 800867e: 62da str r2, [r3, #44] ; 0x2c + 8008200: 687b ldr r3, [r7, #4] + 8008202: 681b ldr r3, [r3, #0] + 8008204: 6ad9 ldr r1, [r3, #44] ; 0x2c + 8008206: 68ba ldr r2, [r7, #8] + 8008208: 68fb ldr r3, [r7, #12] + 800820a: 4313 orrs r3, r2 + 800820c: 687a ldr r2, [r7, #4] + 800820e: f892 2034 ldrb.w r2, [r2, #52] ; 0x34 + 8008212: 431a orrs r2, r3 + 8008214: 687b ldr r3, [r7, #4] + 8008216: 681b ldr r3, [r3, #0] + 8008218: 430a orrs r2, r1 + 800821a: 62da str r2, [r3, #44] ; 0x2c /* Enable the Transfer Error and FIFO underrun interrupts */ __HAL_LTDC_ENABLE_IT(hltdc, LTDC_IT_TE | LTDC_IT_FU); - 8008680: 687b ldr r3, [r7, #4] - 8008682: 681b ldr r3, [r3, #0] - 8008684: 6b5a ldr r2, [r3, #52] ; 0x34 - 8008686: 687b ldr r3, [r7, #4] - 8008688: 681b ldr r3, [r3, #0] - 800868a: f042 0206 orr.w r2, r2, #6 - 800868e: 635a str r2, [r3, #52] ; 0x34 + 800821c: 687b ldr r3, [r7, #4] + 800821e: 681b ldr r3, [r3, #0] + 8008220: 6b5a ldr r2, [r3, #52] ; 0x34 + 8008222: 687b ldr r3, [r7, #4] + 8008224: 681b ldr r3, [r3, #0] + 8008226: f042 0206 orr.w r2, r2, #6 + 800822a: 635a str r2, [r3, #52] ; 0x34 /* Enable LTDC by setting LTDCEN bit */ __HAL_LTDC_ENABLE(hltdc); - 8008690: 687b ldr r3, [r7, #4] - 8008692: 681b ldr r3, [r3, #0] - 8008694: 699a ldr r2, [r3, #24] - 8008696: 687b ldr r3, [r7, #4] - 8008698: 681b ldr r3, [r3, #0] - 800869a: f042 0201 orr.w r2, r2, #1 - 800869e: 619a str r2, [r3, #24] + 800822c: 687b ldr r3, [r7, #4] + 800822e: 681b ldr r3, [r3, #0] + 8008230: 699a ldr r2, [r3, #24] + 8008232: 687b ldr r3, [r7, #4] + 8008234: 681b ldr r3, [r3, #0] + 8008236: f042 0201 orr.w r2, r2, #1 + 800823a: 619a str r2, [r3, #24] /* Initialize the error code */ hltdc->ErrorCode = HAL_LTDC_ERROR_NONE; - 80086a0: 687b ldr r3, [r7, #4] - 80086a2: 2200 movs r2, #0 - 80086a4: f8c3 20a4 str.w r2, [r3, #164] ; 0xa4 + 800823c: 687b ldr r3, [r7, #4] + 800823e: 2200 movs r2, #0 + 8008240: f8c3 20a4 str.w r2, [r3, #164] ; 0xa4 /* Initialize the LTDC state*/ hltdc->State = HAL_LTDC_STATE_READY; - 80086a8: 687b ldr r3, [r7, #4] - 80086aa: 2201 movs r2, #1 - 80086ac: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 + 8008244: 687b ldr r3, [r7, #4] + 8008246: 2201 movs r2, #1 + 8008248: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 return HAL_OK; - 80086b0: 2300 movs r3, #0 + 800824c: 2300 movs r3, #0 } - 80086b2: 4618 mov r0, r3 - 80086b4: 3710 adds r7, #16 - 80086b6: 46bd mov sp, r7 - 80086b8: bd80 pop {r7, pc} - 80086ba: bf00 nop - 80086bc: f000f800 .word 0xf000f800 + 800824e: 4618 mov r0, r3 + 8008250: 3710 adds r7, #16 + 8008252: 46bd mov sp, r7 + 8008254: bd80 pop {r7, pc} + 8008256: bf00 nop + 8008258: f000f800 .word 0xf000f800 -080086c0 : +0800825c : * @param hltdc pointer to a LTDC_HandleTypeDef structure that contains * the configuration information for the LTDC. * @retval HAL status */ void HAL_LTDC_IRQHandler(LTDC_HandleTypeDef *hltdc) { - 80086c0: b580 push {r7, lr} - 80086c2: b084 sub sp, #16 - 80086c4: af00 add r7, sp, #0 - 80086c6: 6078 str r0, [r7, #4] + 800825c: b580 push {r7, lr} + 800825e: b084 sub sp, #16 + 8008260: af00 add r7, sp, #0 + 8008262: 6078 str r0, [r7, #4] uint32_t isrflags = READ_REG(hltdc->Instance->ISR); - 80086c8: 687b ldr r3, [r7, #4] - 80086ca: 681b ldr r3, [r3, #0] - 80086cc: 6b9b ldr r3, [r3, #56] ; 0x38 - 80086ce: 60fb str r3, [r7, #12] + 8008264: 687b ldr r3, [r7, #4] + 8008266: 681b ldr r3, [r3, #0] + 8008268: 6b9b ldr r3, [r3, #56] ; 0x38 + 800826a: 60fb str r3, [r7, #12] uint32_t itsources = READ_REG(hltdc->Instance->IER); - 80086d0: 687b ldr r3, [r7, #4] - 80086d2: 681b ldr r3, [r3, #0] - 80086d4: 6b5b ldr r3, [r3, #52] ; 0x34 - 80086d6: 60bb str r3, [r7, #8] + 800826c: 687b ldr r3, [r7, #4] + 800826e: 681b ldr r3, [r3, #0] + 8008270: 6b5b ldr r3, [r3, #52] ; 0x34 + 8008272: 60bb str r3, [r7, #8] /* Transfer Error Interrupt management ***************************************/ if (((isrflags & LTDC_ISR_TERRIF) != 0U) && ((itsources & LTDC_IER_TERRIE) != 0U)) - 80086d8: 68fb ldr r3, [r7, #12] - 80086da: f003 0304 and.w r3, r3, #4 - 80086de: 2b00 cmp r3, #0 - 80086e0: d023 beq.n 800872a - 80086e2: 68bb ldr r3, [r7, #8] - 80086e4: f003 0304 and.w r3, r3, #4 - 80086e8: 2b00 cmp r3, #0 - 80086ea: d01e beq.n 800872a + 8008274: 68fb ldr r3, [r7, #12] + 8008276: f003 0304 and.w r3, r3, #4 + 800827a: 2b00 cmp r3, #0 + 800827c: d023 beq.n 80082c6 + 800827e: 68bb ldr r3, [r7, #8] + 8008280: f003 0304 and.w r3, r3, #4 + 8008284: 2b00 cmp r3, #0 + 8008286: d01e beq.n 80082c6 { /* Disable the transfer Error interrupt */ __HAL_LTDC_DISABLE_IT(hltdc, LTDC_IT_TE); - 80086ec: 687b ldr r3, [r7, #4] - 80086ee: 681b ldr r3, [r3, #0] - 80086f0: 6b5a ldr r2, [r3, #52] ; 0x34 - 80086f2: 687b ldr r3, [r7, #4] - 80086f4: 681b ldr r3, [r3, #0] - 80086f6: f022 0204 bic.w r2, r2, #4 - 80086fa: 635a str r2, [r3, #52] ; 0x34 + 8008288: 687b ldr r3, [r7, #4] + 800828a: 681b ldr r3, [r3, #0] + 800828c: 6b5a ldr r2, [r3, #52] ; 0x34 + 800828e: 687b ldr r3, [r7, #4] + 8008290: 681b ldr r3, [r3, #0] + 8008292: f022 0204 bic.w r2, r2, #4 + 8008296: 635a str r2, [r3, #52] ; 0x34 /* Clear the transfer error flag */ __HAL_LTDC_CLEAR_FLAG(hltdc, LTDC_FLAG_TE); - 80086fc: 687b ldr r3, [r7, #4] - 80086fe: 681b ldr r3, [r3, #0] - 8008700: 2204 movs r2, #4 - 8008702: 63da str r2, [r3, #60] ; 0x3c + 8008298: 687b ldr r3, [r7, #4] + 800829a: 681b ldr r3, [r3, #0] + 800829c: 2204 movs r2, #4 + 800829e: 63da str r2, [r3, #60] ; 0x3c /* Update error code */ hltdc->ErrorCode |= HAL_LTDC_ERROR_TE; - 8008704: 687b ldr r3, [r7, #4] - 8008706: f8d3 30a4 ldr.w r3, [r3, #164] ; 0xa4 - 800870a: f043 0201 orr.w r2, r3, #1 - 800870e: 687b ldr r3, [r7, #4] - 8008710: f8c3 20a4 str.w r2, [r3, #164] ; 0xa4 + 80082a0: 687b ldr r3, [r7, #4] + 80082a2: f8d3 30a4 ldr.w r3, [r3, #164] ; 0xa4 + 80082a6: f043 0201 orr.w r2, r3, #1 + 80082aa: 687b ldr r3, [r7, #4] + 80082ac: f8c3 20a4 str.w r2, [r3, #164] ; 0xa4 /* Change LTDC state */ hltdc->State = HAL_LTDC_STATE_ERROR; - 8008714: 687b ldr r3, [r7, #4] - 8008716: 2204 movs r2, #4 - 8008718: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 + 80082b0: 687b ldr r3, [r7, #4] + 80082b2: 2204 movs r2, #4 + 80082b4: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 /* Process unlocked */ __HAL_UNLOCK(hltdc); - 800871c: 687b ldr r3, [r7, #4] - 800871e: 2200 movs r2, #0 - 8008720: f883 20a0 strb.w r2, [r3, #160] ; 0xa0 + 80082b8: 687b ldr r3, [r7, #4] + 80082ba: 2200 movs r2, #0 + 80082bc: f883 20a0 strb.w r2, [r3, #160] ; 0xa0 #if (USE_HAL_LTDC_REGISTER_CALLBACKS == 1) /*Call registered error callback*/ hltdc->ErrorCallback(hltdc); #else /* Call legacy error callback*/ HAL_LTDC_ErrorCallback(hltdc); - 8008724: 6878 ldr r0, [r7, #4] - 8008726: f000 f86f bl 8008808 + 80082c0: 6878 ldr r0, [r7, #4] + 80082c2: f000 f86f bl 80083a4 #endif /* USE_HAL_LTDC_REGISTER_CALLBACKS */ } /* FIFO underrun Interrupt management ***************************************/ if (((isrflags & LTDC_ISR_FUIF) != 0U) && ((itsources & LTDC_IER_FUIE) != 0U)) - 800872a: 68fb ldr r3, [r7, #12] - 800872c: f003 0302 and.w r3, r3, #2 - 8008730: 2b00 cmp r3, #0 - 8008732: d023 beq.n 800877c - 8008734: 68bb ldr r3, [r7, #8] - 8008736: f003 0302 and.w r3, r3, #2 - 800873a: 2b00 cmp r3, #0 - 800873c: d01e beq.n 800877c + 80082c6: 68fb ldr r3, [r7, #12] + 80082c8: f003 0302 and.w r3, r3, #2 + 80082cc: 2b00 cmp r3, #0 + 80082ce: d023 beq.n 8008318 + 80082d0: 68bb ldr r3, [r7, #8] + 80082d2: f003 0302 and.w r3, r3, #2 + 80082d6: 2b00 cmp r3, #0 + 80082d8: d01e beq.n 8008318 { /* Disable the FIFO underrun interrupt */ __HAL_LTDC_DISABLE_IT(hltdc, LTDC_IT_FU); - 800873e: 687b ldr r3, [r7, #4] - 8008740: 681b ldr r3, [r3, #0] - 8008742: 6b5a ldr r2, [r3, #52] ; 0x34 - 8008744: 687b ldr r3, [r7, #4] - 8008746: 681b ldr r3, [r3, #0] - 8008748: f022 0202 bic.w r2, r2, #2 - 800874c: 635a str r2, [r3, #52] ; 0x34 + 80082da: 687b ldr r3, [r7, #4] + 80082dc: 681b ldr r3, [r3, #0] + 80082de: 6b5a ldr r2, [r3, #52] ; 0x34 + 80082e0: 687b ldr r3, [r7, #4] + 80082e2: 681b ldr r3, [r3, #0] + 80082e4: f022 0202 bic.w r2, r2, #2 + 80082e8: 635a str r2, [r3, #52] ; 0x34 /* Clear the FIFO underrun flag */ __HAL_LTDC_CLEAR_FLAG(hltdc, LTDC_FLAG_FU); - 800874e: 687b ldr r3, [r7, #4] - 8008750: 681b ldr r3, [r3, #0] - 8008752: 2202 movs r2, #2 - 8008754: 63da str r2, [r3, #60] ; 0x3c + 80082ea: 687b ldr r3, [r7, #4] + 80082ec: 681b ldr r3, [r3, #0] + 80082ee: 2202 movs r2, #2 + 80082f0: 63da str r2, [r3, #60] ; 0x3c /* Update error code */ hltdc->ErrorCode |= HAL_LTDC_ERROR_FU; - 8008756: 687b ldr r3, [r7, #4] - 8008758: f8d3 30a4 ldr.w r3, [r3, #164] ; 0xa4 - 800875c: f043 0202 orr.w r2, r3, #2 - 8008760: 687b ldr r3, [r7, #4] - 8008762: f8c3 20a4 str.w r2, [r3, #164] ; 0xa4 + 80082f2: 687b ldr r3, [r7, #4] + 80082f4: f8d3 30a4 ldr.w r3, [r3, #164] ; 0xa4 + 80082f8: f043 0202 orr.w r2, r3, #2 + 80082fc: 687b ldr r3, [r7, #4] + 80082fe: f8c3 20a4 str.w r2, [r3, #164] ; 0xa4 /* Change LTDC state */ hltdc->State = HAL_LTDC_STATE_ERROR; - 8008766: 687b ldr r3, [r7, #4] - 8008768: 2204 movs r2, #4 - 800876a: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 + 8008302: 687b ldr r3, [r7, #4] + 8008304: 2204 movs r2, #4 + 8008306: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 /* Process unlocked */ __HAL_UNLOCK(hltdc); - 800876e: 687b ldr r3, [r7, #4] - 8008770: 2200 movs r2, #0 - 8008772: f883 20a0 strb.w r2, [r3, #160] ; 0xa0 + 800830a: 687b ldr r3, [r7, #4] + 800830c: 2200 movs r2, #0 + 800830e: f883 20a0 strb.w r2, [r3, #160] ; 0xa0 #if (USE_HAL_LTDC_REGISTER_CALLBACKS == 1) /*Call registered error callback*/ hltdc->ErrorCallback(hltdc); #else /* Call legacy error callback*/ HAL_LTDC_ErrorCallback(hltdc); - 8008776: 6878 ldr r0, [r7, #4] - 8008778: f000 f846 bl 8008808 + 8008312: 6878 ldr r0, [r7, #4] + 8008314: f000 f846 bl 80083a4 #endif /* USE_HAL_LTDC_REGISTER_CALLBACKS */ } /* Line Interrupt management ************************************************/ if (((isrflags & LTDC_ISR_LIF) != 0U) && ((itsources & LTDC_IER_LIE) != 0U)) - 800877c: 68fb ldr r3, [r7, #12] - 800877e: f003 0301 and.w r3, r3, #1 - 8008782: 2b00 cmp r3, #0 - 8008784: d01b beq.n 80087be - 8008786: 68bb ldr r3, [r7, #8] - 8008788: f003 0301 and.w r3, r3, #1 - 800878c: 2b00 cmp r3, #0 - 800878e: d016 beq.n 80087be + 8008318: 68fb ldr r3, [r7, #12] + 800831a: f003 0301 and.w r3, r3, #1 + 800831e: 2b00 cmp r3, #0 + 8008320: d01b beq.n 800835a + 8008322: 68bb ldr r3, [r7, #8] + 8008324: f003 0301 and.w r3, r3, #1 + 8008328: 2b00 cmp r3, #0 + 800832a: d016 beq.n 800835a { /* Disable the Line interrupt */ __HAL_LTDC_DISABLE_IT(hltdc, LTDC_IT_LI); - 8008790: 687b ldr r3, [r7, #4] - 8008792: 681b ldr r3, [r3, #0] - 8008794: 6b5a ldr r2, [r3, #52] ; 0x34 - 8008796: 687b ldr r3, [r7, #4] - 8008798: 681b ldr r3, [r3, #0] - 800879a: f022 0201 bic.w r2, r2, #1 - 800879e: 635a str r2, [r3, #52] ; 0x34 + 800832c: 687b ldr r3, [r7, #4] + 800832e: 681b ldr r3, [r3, #0] + 8008330: 6b5a ldr r2, [r3, #52] ; 0x34 + 8008332: 687b ldr r3, [r7, #4] + 8008334: 681b ldr r3, [r3, #0] + 8008336: f022 0201 bic.w r2, r2, #1 + 800833a: 635a str r2, [r3, #52] ; 0x34 /* Clear the Line interrupt flag */ __HAL_LTDC_CLEAR_FLAG(hltdc, LTDC_FLAG_LI); - 80087a0: 687b ldr r3, [r7, #4] - 80087a2: 681b ldr r3, [r3, #0] - 80087a4: 2201 movs r2, #1 - 80087a6: 63da str r2, [r3, #60] ; 0x3c + 800833c: 687b ldr r3, [r7, #4] + 800833e: 681b ldr r3, [r3, #0] + 8008340: 2201 movs r2, #1 + 8008342: 63da str r2, [r3, #60] ; 0x3c /* Change LTDC state */ hltdc->State = HAL_LTDC_STATE_READY; - 80087a8: 687b ldr r3, [r7, #4] - 80087aa: 2201 movs r2, #1 - 80087ac: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 + 8008344: 687b ldr r3, [r7, #4] + 8008346: 2201 movs r2, #1 + 8008348: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 /* Process unlocked */ __HAL_UNLOCK(hltdc); - 80087b0: 687b ldr r3, [r7, #4] - 80087b2: 2200 movs r2, #0 - 80087b4: f883 20a0 strb.w r2, [r3, #160] ; 0xa0 + 800834c: 687b ldr r3, [r7, #4] + 800834e: 2200 movs r2, #0 + 8008350: f883 20a0 strb.w r2, [r3, #160] ; 0xa0 #if (USE_HAL_LTDC_REGISTER_CALLBACKS == 1) /*Call registered Line Event callback */ hltdc->LineEventCallback(hltdc); #else /*Call Legacy Line Event callback */ HAL_LTDC_LineEventCallback(hltdc); - 80087b8: 6878 ldr r0, [r7, #4] - 80087ba: f000 f82f bl 800881c + 8008354: 6878 ldr r0, [r7, #4] + 8008356: f000 f82f bl 80083b8 #endif /* USE_HAL_LTDC_REGISTER_CALLBACKS */ } /* Register reload Interrupt management ***************************************/ if (((isrflags & LTDC_ISR_RRIF) != 0U) && ((itsources & LTDC_IER_RRIE) != 0U)) - 80087be: 68fb ldr r3, [r7, #12] - 80087c0: f003 0308 and.w r3, r3, #8 - 80087c4: 2b00 cmp r3, #0 - 80087c6: d01b beq.n 8008800 - 80087c8: 68bb ldr r3, [r7, #8] - 80087ca: f003 0308 and.w r3, r3, #8 - 80087ce: 2b00 cmp r3, #0 - 80087d0: d016 beq.n 8008800 + 800835a: 68fb ldr r3, [r7, #12] + 800835c: f003 0308 and.w r3, r3, #8 + 8008360: 2b00 cmp r3, #0 + 8008362: d01b beq.n 800839c + 8008364: 68bb ldr r3, [r7, #8] + 8008366: f003 0308 and.w r3, r3, #8 + 800836a: 2b00 cmp r3, #0 + 800836c: d016 beq.n 800839c { /* Disable the register reload interrupt */ __HAL_LTDC_DISABLE_IT(hltdc, LTDC_IT_RR); - 80087d2: 687b ldr r3, [r7, #4] - 80087d4: 681b ldr r3, [r3, #0] - 80087d6: 6b5a ldr r2, [r3, #52] ; 0x34 - 80087d8: 687b ldr r3, [r7, #4] - 80087da: 681b ldr r3, [r3, #0] - 80087dc: f022 0208 bic.w r2, r2, #8 - 80087e0: 635a str r2, [r3, #52] ; 0x34 + 800836e: 687b ldr r3, [r7, #4] + 8008370: 681b ldr r3, [r3, #0] + 8008372: 6b5a ldr r2, [r3, #52] ; 0x34 + 8008374: 687b ldr r3, [r7, #4] + 8008376: 681b ldr r3, [r3, #0] + 8008378: f022 0208 bic.w r2, r2, #8 + 800837c: 635a str r2, [r3, #52] ; 0x34 /* Clear the register reload flag */ __HAL_LTDC_CLEAR_FLAG(hltdc, LTDC_FLAG_RR); - 80087e2: 687b ldr r3, [r7, #4] - 80087e4: 681b ldr r3, [r3, #0] - 80087e6: 2208 movs r2, #8 - 80087e8: 63da str r2, [r3, #60] ; 0x3c + 800837e: 687b ldr r3, [r7, #4] + 8008380: 681b ldr r3, [r3, #0] + 8008382: 2208 movs r2, #8 + 8008384: 63da str r2, [r3, #60] ; 0x3c /* Change LTDC state */ hltdc->State = HAL_LTDC_STATE_READY; - 80087ea: 687b ldr r3, [r7, #4] - 80087ec: 2201 movs r2, #1 - 80087ee: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 + 8008386: 687b ldr r3, [r7, #4] + 8008388: 2201 movs r2, #1 + 800838a: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 /* Process unlocked */ __HAL_UNLOCK(hltdc); - 80087f2: 687b ldr r3, [r7, #4] - 80087f4: 2200 movs r2, #0 - 80087f6: f883 20a0 strb.w r2, [r3, #160] ; 0xa0 + 800838e: 687b ldr r3, [r7, #4] + 8008390: 2200 movs r2, #0 + 8008392: f883 20a0 strb.w r2, [r3, #160] ; 0xa0 #if (USE_HAL_LTDC_REGISTER_CALLBACKS == 1) /*Call registered reload Event callback */ hltdc->ReloadEventCallback(hltdc); #else /*Call Legacy Reload Event callback */ HAL_LTDC_ReloadEventCallback(hltdc); - 80087fa: 6878 ldr r0, [r7, #4] - 80087fc: f000 f818 bl 8008830 + 8008396: 6878 ldr r0, [r7, #4] + 8008398: f000 f818 bl 80083cc #endif /* USE_HAL_LTDC_REGISTER_CALLBACKS */ } } - 8008800: bf00 nop - 8008802: 3710 adds r7, #16 - 8008804: 46bd mov sp, r7 - 8008806: bd80 pop {r7, pc} + 800839c: bf00 nop + 800839e: 3710 adds r7, #16 + 80083a0: 46bd mov sp, r7 + 80083a2: bd80 pop {r7, pc} -08008808 : +080083a4 : * @param hltdc pointer to a LTDC_HandleTypeDef structure that contains * the configuration information for the LTDC. * @retval None */ __weak void HAL_LTDC_ErrorCallback(LTDC_HandleTypeDef *hltdc) { - 8008808: b480 push {r7} - 800880a: b083 sub sp, #12 - 800880c: af00 add r7, sp, #0 - 800880e: 6078 str r0, [r7, #4] + 80083a4: b480 push {r7} + 80083a6: b083 sub sp, #12 + 80083a8: af00 add r7, sp, #0 + 80083aa: 6078 str r0, [r7, #4] UNUSED(hltdc); /* NOTE : This function should not be modified, when the callback is needed, the HAL_LTDC_ErrorCallback could be implemented in the user file */ } - 8008810: bf00 nop - 8008812: 370c adds r7, #12 - 8008814: 46bd mov sp, r7 - 8008816: f85d 7b04 ldr.w r7, [sp], #4 - 800881a: 4770 bx lr + 80083ac: bf00 nop + 80083ae: 370c adds r7, #12 + 80083b0: 46bd mov sp, r7 + 80083b2: f85d 7b04 ldr.w r7, [sp], #4 + 80083b6: 4770 bx lr -0800881c : +080083b8 : * @param hltdc pointer to a LTDC_HandleTypeDef structure that contains * the configuration information for the LTDC. * @retval None */ __weak void HAL_LTDC_LineEventCallback(LTDC_HandleTypeDef *hltdc) { - 800881c: b480 push {r7} - 800881e: b083 sub sp, #12 - 8008820: af00 add r7, sp, #0 - 8008822: 6078 str r0, [r7, #4] + 80083b8: b480 push {r7} + 80083ba: b083 sub sp, #12 + 80083bc: af00 add r7, sp, #0 + 80083be: 6078 str r0, [r7, #4] UNUSED(hltdc); /* NOTE : This function should not be modified, when the callback is needed, the HAL_LTDC_LineEventCallback could be implemented in the user file */ } - 8008824: bf00 nop - 8008826: 370c adds r7, #12 - 8008828: 46bd mov sp, r7 - 800882a: f85d 7b04 ldr.w r7, [sp], #4 - 800882e: 4770 bx lr + 80083c0: bf00 nop + 80083c2: 370c adds r7, #12 + 80083c4: 46bd mov sp, r7 + 80083c6: f85d 7b04 ldr.w r7, [sp], #4 + 80083ca: 4770 bx lr -08008830 : +080083cc : * @param hltdc pointer to a LTDC_HandleTypeDef structure that contains * the configuration information for the LTDC. * @retval None */ __weak void HAL_LTDC_ReloadEventCallback(LTDC_HandleTypeDef *hltdc) { - 8008830: b480 push {r7} - 8008832: b083 sub sp, #12 - 8008834: af00 add r7, sp, #0 - 8008836: 6078 str r0, [r7, #4] + 80083cc: b480 push {r7} + 80083ce: b083 sub sp, #12 + 80083d0: af00 add r7, sp, #0 + 80083d2: 6078 str r0, [r7, #4] UNUSED(hltdc); /* NOTE : This function should not be modified, when the callback is needed, the HAL_LTDC_ReloadEvenCallback could be implemented in the user file */ } - 8008838: bf00 nop - 800883a: 370c adds r7, #12 - 800883c: 46bd mov sp, r7 - 800883e: f85d 7b04 ldr.w r7, [sp], #4 - 8008842: 4770 bx lr + 80083d4: bf00 nop + 80083d6: 370c adds r7, #12 + 80083d8: 46bd mov sp, r7 + 80083da: f85d 7b04 ldr.w r7, [sp], #4 + 80083de: 4770 bx lr -08008844 : +080083e0 : * This parameter can be one of the following values: * LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) * @retval HAL status */ HAL_StatusTypeDef HAL_LTDC_ConfigLayer(LTDC_HandleTypeDef *hltdc, LTDC_LayerCfgTypeDef *pLayerCfg, uint32_t LayerIdx) { - 8008844: b5b0 push {r4, r5, r7, lr} - 8008846: b084 sub sp, #16 - 8008848: af00 add r7, sp, #0 - 800884a: 60f8 str r0, [r7, #12] - 800884c: 60b9 str r1, [r7, #8] - 800884e: 607a str r2, [r7, #4] + 80083e0: b5b0 push {r4, r5, r7, lr} + 80083e2: b084 sub sp, #16 + 80083e4: af00 add r7, sp, #0 + 80083e6: 60f8 str r0, [r7, #12] + 80083e8: 60b9 str r1, [r7, #8] + 80083ea: 607a str r2, [r7, #4] assert_param(IS_LTDC_BLENDING_FACTOR2(pLayerCfg->BlendingFactor2)); assert_param(IS_LTDC_CFBLL(pLayerCfg->ImageWidth)); assert_param(IS_LTDC_CFBLNBR(pLayerCfg->ImageHeight)); /* Process locked */ __HAL_LOCK(hltdc); - 8008850: 68fb ldr r3, [r7, #12] - 8008852: f893 30a0 ldrb.w r3, [r3, #160] ; 0xa0 - 8008856: 2b01 cmp r3, #1 - 8008858: d101 bne.n 800885e - 800885a: 2302 movs r3, #2 - 800885c: e02c b.n 80088b8 - 800885e: 68fb ldr r3, [r7, #12] - 8008860: 2201 movs r2, #1 - 8008862: f883 20a0 strb.w r2, [r3, #160] ; 0xa0 + 80083ec: 68fb ldr r3, [r7, #12] + 80083ee: f893 30a0 ldrb.w r3, [r3, #160] ; 0xa0 + 80083f2: 2b01 cmp r3, #1 + 80083f4: d101 bne.n 80083fa + 80083f6: 2302 movs r3, #2 + 80083f8: e02c b.n 8008454 + 80083fa: 68fb ldr r3, [r7, #12] + 80083fc: 2201 movs r2, #1 + 80083fe: f883 20a0 strb.w r2, [r3, #160] ; 0xa0 /* Change LTDC peripheral state */ hltdc->State = HAL_LTDC_STATE_BUSY; - 8008866: 68fb ldr r3, [r7, #12] - 8008868: 2202 movs r2, #2 - 800886a: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 + 8008402: 68fb ldr r3, [r7, #12] + 8008404: 2202 movs r2, #2 + 8008406: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 /* Copy new layer configuration into handle structure */ hltdc->LayerCfg[LayerIdx] = *pLayerCfg; - 800886e: 68fa ldr r2, [r7, #12] - 8008870: 687b ldr r3, [r7, #4] - 8008872: 2134 movs r1, #52 ; 0x34 - 8008874: fb01 f303 mul.w r3, r1, r3 - 8008878: 4413 add r3, r2 - 800887a: f103 0238 add.w r2, r3, #56 ; 0x38 - 800887e: 68bb ldr r3, [r7, #8] - 8008880: 4614 mov r4, r2 - 8008882: 461d mov r5, r3 - 8008884: cd0f ldmia r5!, {r0, r1, r2, r3} - 8008886: c40f stmia r4!, {r0, r1, r2, r3} - 8008888: cd0f ldmia r5!, {r0, r1, r2, r3} - 800888a: c40f stmia r4!, {r0, r1, r2, r3} - 800888c: cd0f ldmia r5!, {r0, r1, r2, r3} - 800888e: c40f stmia r4!, {r0, r1, r2, r3} - 8008890: 682b ldr r3, [r5, #0] - 8008892: 6023 str r3, [r4, #0] + 800840a: 68fa ldr r2, [r7, #12] + 800840c: 687b ldr r3, [r7, #4] + 800840e: 2134 movs r1, #52 ; 0x34 + 8008410: fb01 f303 mul.w r3, r1, r3 + 8008414: 4413 add r3, r2 + 8008416: f103 0238 add.w r2, r3, #56 ; 0x38 + 800841a: 68bb ldr r3, [r7, #8] + 800841c: 4614 mov r4, r2 + 800841e: 461d mov r5, r3 + 8008420: cd0f ldmia r5!, {r0, r1, r2, r3} + 8008422: c40f stmia r4!, {r0, r1, r2, r3} + 8008424: cd0f ldmia r5!, {r0, r1, r2, r3} + 8008426: c40f stmia r4!, {r0, r1, r2, r3} + 8008428: cd0f ldmia r5!, {r0, r1, r2, r3} + 800842a: c40f stmia r4!, {r0, r1, r2, r3} + 800842c: 682b ldr r3, [r5, #0] + 800842e: 6023 str r3, [r4, #0] /* Configure the LTDC Layer */ LTDC_SetConfig(hltdc, pLayerCfg, LayerIdx); - 8008894: 687a ldr r2, [r7, #4] - 8008896: 68b9 ldr r1, [r7, #8] - 8008898: 68f8 ldr r0, [r7, #12] - 800889a: f000 f81f bl 80088dc + 8008430: 687a ldr r2, [r7, #4] + 8008432: 68b9 ldr r1, [r7, #8] + 8008434: 68f8 ldr r0, [r7, #12] + 8008436: f000 f81f bl 8008478 /* Set the Immediate Reload type */ hltdc->Instance->SRCR = LTDC_SRCR_IMR; - 800889e: 68fb ldr r3, [r7, #12] - 80088a0: 681b ldr r3, [r3, #0] - 80088a2: 2201 movs r2, #1 - 80088a4: 625a str r2, [r3, #36] ; 0x24 + 800843a: 68fb ldr r3, [r7, #12] + 800843c: 681b ldr r3, [r3, #0] + 800843e: 2201 movs r2, #1 + 8008440: 625a str r2, [r3, #36] ; 0x24 /* Initialize the LTDC state*/ hltdc->State = HAL_LTDC_STATE_READY; - 80088a6: 68fb ldr r3, [r7, #12] - 80088a8: 2201 movs r2, #1 - 80088aa: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 + 8008442: 68fb ldr r3, [r7, #12] + 8008444: 2201 movs r2, #1 + 8008446: f883 20a1 strb.w r2, [r3, #161] ; 0xa1 /* Process unlocked */ __HAL_UNLOCK(hltdc); - 80088ae: 68fb ldr r3, [r7, #12] - 80088b0: 2200 movs r2, #0 - 80088b2: f883 20a0 strb.w r2, [r3, #160] ; 0xa0 + 800844a: 68fb ldr r3, [r7, #12] + 800844c: 2200 movs r2, #0 + 800844e: f883 20a0 strb.w r2, [r3, #160] ; 0xa0 return HAL_OK; - 80088b6: 2300 movs r3, #0 + 8008452: 2300 movs r3, #0 } - 80088b8: 4618 mov r0, r3 - 80088ba: 3710 adds r7, #16 - 80088bc: 46bd mov sp, r7 - 80088be: bdb0 pop {r4, r5, r7, pc} + 8008454: 4618 mov r0, r3 + 8008456: 3710 adds r7, #16 + 8008458: 46bd mov sp, r7 + 800845a: bdb0 pop {r4, r5, r7, pc} -080088c0 : +0800845c : * @param hltdc pointer to a LTDC_HandleTypeDef structure that contains * the configuration information for the LTDC. * @retval HAL state */ HAL_LTDC_StateTypeDef HAL_LTDC_GetState(LTDC_HandleTypeDef *hltdc) { - 80088c0: b480 push {r7} - 80088c2: b083 sub sp, #12 - 80088c4: af00 add r7, sp, #0 - 80088c6: 6078 str r0, [r7, #4] + 800845c: b480 push {r7} + 800845e: b083 sub sp, #12 + 8008460: af00 add r7, sp, #0 + 8008462: 6078 str r0, [r7, #4] return hltdc->State; - 80088c8: 687b ldr r3, [r7, #4] - 80088ca: f893 30a1 ldrb.w r3, [r3, #161] ; 0xa1 - 80088ce: b2db uxtb r3, r3 + 8008464: 687b ldr r3, [r7, #4] + 8008466: f893 30a1 ldrb.w r3, [r3, #161] ; 0xa1 + 800846a: b2db uxtb r3, r3 } - 80088d0: 4618 mov r0, r3 - 80088d2: 370c adds r7, #12 - 80088d4: 46bd mov sp, r7 - 80088d6: f85d 7b04 ldr.w r7, [sp], #4 - 80088da: 4770 bx lr + 800846c: 4618 mov r0, r3 + 800846e: 370c adds r7, #12 + 8008470: 46bd mov sp, r7 + 8008472: f85d 7b04 ldr.w r7, [sp], #4 + 8008476: 4770 bx lr -080088dc : +08008478 : * @param LayerIdx LTDC Layer index. * This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) * @retval None */ static void LTDC_SetConfig(LTDC_HandleTypeDef *hltdc, LTDC_LayerCfgTypeDef *pLayerCfg, uint32_t LayerIdx) { - 80088dc: b480 push {r7} - 80088de: b089 sub sp, #36 ; 0x24 - 80088e0: af00 add r7, sp, #0 - 80088e2: 60f8 str r0, [r7, #12] - 80088e4: 60b9 str r1, [r7, #8] - 80088e6: 607a str r2, [r7, #4] + 8008478: b480 push {r7} + 800847a: b089 sub sp, #36 ; 0x24 + 800847c: af00 add r7, sp, #0 + 800847e: 60f8 str r0, [r7, #12] + 8008480: 60b9 str r1, [r7, #8] + 8008482: 607a str r2, [r7, #4] uint32_t tmp; uint32_t tmp1; uint32_t tmp2; /* Configure the horizontal start and stop position */ tmp = ((pLayerCfg->WindowX1 + ((hltdc->Instance->BPCR & LTDC_BPCR_AHBP) >> 16U)) << 16U); - 80088e8: 68bb ldr r3, [r7, #8] - 80088ea: 685a ldr r2, [r3, #4] - 80088ec: 68fb ldr r3, [r7, #12] - 80088ee: 681b ldr r3, [r3, #0] - 80088f0: 68db ldr r3, [r3, #12] - 80088f2: 0c1b lsrs r3, r3, #16 - 80088f4: f3c3 030b ubfx r3, r3, #0, #12 - 80088f8: 4413 add r3, r2 - 80088fa: 041b lsls r3, r3, #16 - 80088fc: 61fb str r3, [r7, #28] + 8008484: 68bb ldr r3, [r7, #8] + 8008486: 685a ldr r2, [r3, #4] + 8008488: 68fb ldr r3, [r7, #12] + 800848a: 681b ldr r3, [r3, #0] + 800848c: 68db ldr r3, [r3, #12] + 800848e: 0c1b lsrs r3, r3, #16 + 8008490: f3c3 030b ubfx r3, r3, #0, #12 + 8008494: 4413 add r3, r2 + 8008496: 041b lsls r3, r3, #16 + 8008498: 61fb str r3, [r7, #28] LTDC_LAYER(hltdc, LayerIdx)->WHPCR &= ~(LTDC_LxWHPCR_WHSTPOS | LTDC_LxWHPCR_WHSPPOS); - 80088fe: 68fb ldr r3, [r7, #12] - 8008900: 681b ldr r3, [r3, #0] - 8008902: 461a mov r2, r3 - 8008904: 687b ldr r3, [r7, #4] - 8008906: 01db lsls r3, r3, #7 - 8008908: 4413 add r3, r2 - 800890a: 3384 adds r3, #132 ; 0x84 - 800890c: 685b ldr r3, [r3, #4] - 800890e: 68fa ldr r2, [r7, #12] - 8008910: 6812 ldr r2, [r2, #0] - 8008912: 4611 mov r1, r2 - 8008914: 687a ldr r2, [r7, #4] - 8008916: 01d2 lsls r2, r2, #7 - 8008918: 440a add r2, r1 - 800891a: 3284 adds r2, #132 ; 0x84 - 800891c: f403 4370 and.w r3, r3, #61440 ; 0xf000 - 8008920: 6053 str r3, [r2, #4] + 800849a: 68fb ldr r3, [r7, #12] + 800849c: 681b ldr r3, [r3, #0] + 800849e: 461a mov r2, r3 + 80084a0: 687b ldr r3, [r7, #4] + 80084a2: 01db lsls r3, r3, #7 + 80084a4: 4413 add r3, r2 + 80084a6: 3384 adds r3, #132 ; 0x84 + 80084a8: 685b ldr r3, [r3, #4] + 80084aa: 68fa ldr r2, [r7, #12] + 80084ac: 6812 ldr r2, [r2, #0] + 80084ae: 4611 mov r1, r2 + 80084b0: 687a ldr r2, [r7, #4] + 80084b2: 01d2 lsls r2, r2, #7 + 80084b4: 440a add r2, r1 + 80084b6: 3284 adds r2, #132 ; 0x84 + 80084b8: f403 4370 and.w r3, r3, #61440 ; 0xf000 + 80084bc: 6053 str r3, [r2, #4] LTDC_LAYER(hltdc, LayerIdx)->WHPCR = ((pLayerCfg->WindowX0 + ((hltdc->Instance->BPCR & LTDC_BPCR_AHBP) >> 16U) + 1U) | tmp); - 8008922: 68bb ldr r3, [r7, #8] - 8008924: 681a ldr r2, [r3, #0] - 8008926: 68fb ldr r3, [r7, #12] - 8008928: 681b ldr r3, [r3, #0] - 800892a: 68db ldr r3, [r3, #12] - 800892c: 0c1b lsrs r3, r3, #16 - 800892e: f3c3 030b ubfx r3, r3, #0, #12 - 8008932: 4413 add r3, r2 - 8008934: 1c5a adds r2, r3, #1 - 8008936: 68fb ldr r3, [r7, #12] - 8008938: 681b ldr r3, [r3, #0] - 800893a: 4619 mov r1, r3 - 800893c: 687b ldr r3, [r7, #4] - 800893e: 01db lsls r3, r3, #7 - 8008940: 440b add r3, r1 - 8008942: 3384 adds r3, #132 ; 0x84 - 8008944: 4619 mov r1, r3 - 8008946: 69fb ldr r3, [r7, #28] - 8008948: 4313 orrs r3, r2 - 800894a: 604b str r3, [r1, #4] + 80084be: 68bb ldr r3, [r7, #8] + 80084c0: 681a ldr r2, [r3, #0] + 80084c2: 68fb ldr r3, [r7, #12] + 80084c4: 681b ldr r3, [r3, #0] + 80084c6: 68db ldr r3, [r3, #12] + 80084c8: 0c1b lsrs r3, r3, #16 + 80084ca: f3c3 030b ubfx r3, r3, #0, #12 + 80084ce: 4413 add r3, r2 + 80084d0: 1c5a adds r2, r3, #1 + 80084d2: 68fb ldr r3, [r7, #12] + 80084d4: 681b ldr r3, [r3, #0] + 80084d6: 4619 mov r1, r3 + 80084d8: 687b ldr r3, [r7, #4] + 80084da: 01db lsls r3, r3, #7 + 80084dc: 440b add r3, r1 + 80084de: 3384 adds r3, #132 ; 0x84 + 80084e0: 4619 mov r1, r3 + 80084e2: 69fb ldr r3, [r7, #28] + 80084e4: 4313 orrs r3, r2 + 80084e6: 604b str r3, [r1, #4] /* Configure the vertical start and stop position */ tmp = ((pLayerCfg->WindowY1 + (hltdc->Instance->BPCR & LTDC_BPCR_AVBP)) << 16U); - 800894c: 68bb ldr r3, [r7, #8] - 800894e: 68da ldr r2, [r3, #12] - 8008950: 68fb ldr r3, [r7, #12] - 8008952: 681b ldr r3, [r3, #0] - 8008954: 68db ldr r3, [r3, #12] - 8008956: f3c3 030a ubfx r3, r3, #0, #11 - 800895a: 4413 add r3, r2 - 800895c: 041b lsls r3, r3, #16 - 800895e: 61fb str r3, [r7, #28] + 80084e8: 68bb ldr r3, [r7, #8] + 80084ea: 68da ldr r2, [r3, #12] + 80084ec: 68fb ldr r3, [r7, #12] + 80084ee: 681b ldr r3, [r3, #0] + 80084f0: 68db ldr r3, [r3, #12] + 80084f2: f3c3 030a ubfx r3, r3, #0, #11 + 80084f6: 4413 add r3, r2 + 80084f8: 041b lsls r3, r3, #16 + 80084fa: 61fb str r3, [r7, #28] LTDC_LAYER(hltdc, LayerIdx)->WVPCR &= ~(LTDC_LxWVPCR_WVSTPOS | LTDC_LxWVPCR_WVSPPOS); - 8008960: 68fb ldr r3, [r7, #12] - 8008962: 681b ldr r3, [r3, #0] - 8008964: 461a mov r2, r3 - 8008966: 687b ldr r3, [r7, #4] - 8008968: 01db lsls r3, r3, #7 - 800896a: 4413 add r3, r2 - 800896c: 3384 adds r3, #132 ; 0x84 - 800896e: 689b ldr r3, [r3, #8] - 8008970: 68fa ldr r2, [r7, #12] - 8008972: 6812 ldr r2, [r2, #0] - 8008974: 4611 mov r1, r2 - 8008976: 687a ldr r2, [r7, #4] - 8008978: 01d2 lsls r2, r2, #7 - 800897a: 440a add r2, r1 - 800897c: 3284 adds r2, #132 ; 0x84 - 800897e: f403 4370 and.w r3, r3, #61440 ; 0xf000 - 8008982: 6093 str r3, [r2, #8] + 80084fc: 68fb ldr r3, [r7, #12] + 80084fe: 681b ldr r3, [r3, #0] + 8008500: 461a mov r2, r3 + 8008502: 687b ldr r3, [r7, #4] + 8008504: 01db lsls r3, r3, #7 + 8008506: 4413 add r3, r2 + 8008508: 3384 adds r3, #132 ; 0x84 + 800850a: 689b ldr r3, [r3, #8] + 800850c: 68fa ldr r2, [r7, #12] + 800850e: 6812 ldr r2, [r2, #0] + 8008510: 4611 mov r1, r2 + 8008512: 687a ldr r2, [r7, #4] + 8008514: 01d2 lsls r2, r2, #7 + 8008516: 440a add r2, r1 + 8008518: 3284 adds r2, #132 ; 0x84 + 800851a: f403 4370 and.w r3, r3, #61440 ; 0xf000 + 800851e: 6093 str r3, [r2, #8] LTDC_LAYER(hltdc, LayerIdx)->WVPCR = ((pLayerCfg->WindowY0 + (hltdc->Instance->BPCR & LTDC_BPCR_AVBP) + 1U) | tmp); - 8008984: 68bb ldr r3, [r7, #8] - 8008986: 689a ldr r2, [r3, #8] - 8008988: 68fb ldr r3, [r7, #12] - 800898a: 681b ldr r3, [r3, #0] - 800898c: 68db ldr r3, [r3, #12] - 800898e: f3c3 030a ubfx r3, r3, #0, #11 - 8008992: 4413 add r3, r2 - 8008994: 1c5a adds r2, r3, #1 - 8008996: 68fb ldr r3, [r7, #12] - 8008998: 681b ldr r3, [r3, #0] - 800899a: 4619 mov r1, r3 - 800899c: 687b ldr r3, [r7, #4] - 800899e: 01db lsls r3, r3, #7 - 80089a0: 440b add r3, r1 - 80089a2: 3384 adds r3, #132 ; 0x84 - 80089a4: 4619 mov r1, r3 - 80089a6: 69fb ldr r3, [r7, #28] - 80089a8: 4313 orrs r3, r2 - 80089aa: 608b str r3, [r1, #8] + 8008520: 68bb ldr r3, [r7, #8] + 8008522: 689a ldr r2, [r3, #8] + 8008524: 68fb ldr r3, [r7, #12] + 8008526: 681b ldr r3, [r3, #0] + 8008528: 68db ldr r3, [r3, #12] + 800852a: f3c3 030a ubfx r3, r3, #0, #11 + 800852e: 4413 add r3, r2 + 8008530: 1c5a adds r2, r3, #1 + 8008532: 68fb ldr r3, [r7, #12] + 8008534: 681b ldr r3, [r3, #0] + 8008536: 4619 mov r1, r3 + 8008538: 687b ldr r3, [r7, #4] + 800853a: 01db lsls r3, r3, #7 + 800853c: 440b add r3, r1 + 800853e: 3384 adds r3, #132 ; 0x84 + 8008540: 4619 mov r1, r3 + 8008542: 69fb ldr r3, [r7, #28] + 8008544: 4313 orrs r3, r2 + 8008546: 608b str r3, [r1, #8] /* Specifies the pixel format */ LTDC_LAYER(hltdc, LayerIdx)->PFCR &= ~(LTDC_LxPFCR_PF); - 80089ac: 68fb ldr r3, [r7, #12] - 80089ae: 681b ldr r3, [r3, #0] - 80089b0: 461a mov r2, r3 - 80089b2: 687b ldr r3, [r7, #4] - 80089b4: 01db lsls r3, r3, #7 - 80089b6: 4413 add r3, r2 - 80089b8: 3384 adds r3, #132 ; 0x84 - 80089ba: 691b ldr r3, [r3, #16] - 80089bc: 68fa ldr r2, [r7, #12] - 80089be: 6812 ldr r2, [r2, #0] - 80089c0: 4611 mov r1, r2 - 80089c2: 687a ldr r2, [r7, #4] - 80089c4: 01d2 lsls r2, r2, #7 - 80089c6: 440a add r2, r1 - 80089c8: 3284 adds r2, #132 ; 0x84 - 80089ca: f023 0307 bic.w r3, r3, #7 - 80089ce: 6113 str r3, [r2, #16] + 8008548: 68fb ldr r3, [r7, #12] + 800854a: 681b ldr r3, [r3, #0] + 800854c: 461a mov r2, r3 + 800854e: 687b ldr r3, [r7, #4] + 8008550: 01db lsls r3, r3, #7 + 8008552: 4413 add r3, r2 + 8008554: 3384 adds r3, #132 ; 0x84 + 8008556: 691b ldr r3, [r3, #16] + 8008558: 68fa ldr r2, [r7, #12] + 800855a: 6812 ldr r2, [r2, #0] + 800855c: 4611 mov r1, r2 + 800855e: 687a ldr r2, [r7, #4] + 8008560: 01d2 lsls r2, r2, #7 + 8008562: 440a add r2, r1 + 8008564: 3284 adds r2, #132 ; 0x84 + 8008566: f023 0307 bic.w r3, r3, #7 + 800856a: 6113 str r3, [r2, #16] LTDC_LAYER(hltdc, LayerIdx)->PFCR = (pLayerCfg->PixelFormat); - 80089d0: 68fb ldr r3, [r7, #12] - 80089d2: 681b ldr r3, [r3, #0] - 80089d4: 461a mov r2, r3 - 80089d6: 687b ldr r3, [r7, #4] - 80089d8: 01db lsls r3, r3, #7 - 80089da: 4413 add r3, r2 - 80089dc: 3384 adds r3, #132 ; 0x84 - 80089de: 461a mov r2, r3 - 80089e0: 68bb ldr r3, [r7, #8] - 80089e2: 691b ldr r3, [r3, #16] - 80089e4: 6113 str r3, [r2, #16] + 800856c: 68fb ldr r3, [r7, #12] + 800856e: 681b ldr r3, [r3, #0] + 8008570: 461a mov r2, r3 + 8008572: 687b ldr r3, [r7, #4] + 8008574: 01db lsls r3, r3, #7 + 8008576: 4413 add r3, r2 + 8008578: 3384 adds r3, #132 ; 0x84 + 800857a: 461a mov r2, r3 + 800857c: 68bb ldr r3, [r7, #8] + 800857e: 691b ldr r3, [r3, #16] + 8008580: 6113 str r3, [r2, #16] /* Configure the default color values */ tmp = ((uint32_t)(pLayerCfg->Backcolor.Green) << 8U); - 80089e6: 68bb ldr r3, [r7, #8] - 80089e8: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 80089ec: 021b lsls r3, r3, #8 - 80089ee: 61fb str r3, [r7, #28] + 8008582: 68bb ldr r3, [r7, #8] + 8008584: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 8008588: 021b lsls r3, r3, #8 + 800858a: 61fb str r3, [r7, #28] tmp1 = ((uint32_t)(pLayerCfg->Backcolor.Red) << 16U); - 80089f0: 68bb ldr r3, [r7, #8] - 80089f2: f893 3032 ldrb.w r3, [r3, #50] ; 0x32 - 80089f6: 041b lsls r3, r3, #16 - 80089f8: 61bb str r3, [r7, #24] + 800858c: 68bb ldr r3, [r7, #8] + 800858e: f893 3032 ldrb.w r3, [r3, #50] ; 0x32 + 8008592: 041b lsls r3, r3, #16 + 8008594: 61bb str r3, [r7, #24] tmp2 = (pLayerCfg->Alpha0 << 24U); - 80089fa: 68bb ldr r3, [r7, #8] - 80089fc: 699b ldr r3, [r3, #24] - 80089fe: 061b lsls r3, r3, #24 - 8008a00: 617b str r3, [r7, #20] + 8008596: 68bb ldr r3, [r7, #8] + 8008598: 699b ldr r3, [r3, #24] + 800859a: 061b lsls r3, r3, #24 + 800859c: 617b str r3, [r7, #20] LTDC_LAYER(hltdc, LayerIdx)->DCCR &= ~(LTDC_LxDCCR_DCBLUE | LTDC_LxDCCR_DCGREEN | LTDC_LxDCCR_DCRED | LTDC_LxDCCR_DCALPHA); - 8008a02: 68fb ldr r3, [r7, #12] - 8008a04: 681b ldr r3, [r3, #0] - 8008a06: 461a mov r2, r3 - 8008a08: 687b ldr r3, [r7, #4] - 8008a0a: 01db lsls r3, r3, #7 - 8008a0c: 4413 add r3, r2 - 8008a0e: 3384 adds r3, #132 ; 0x84 - 8008a10: 699b ldr r3, [r3, #24] - 8008a12: 68fb ldr r3, [r7, #12] - 8008a14: 681b ldr r3, [r3, #0] - 8008a16: 461a mov r2, r3 - 8008a18: 687b ldr r3, [r7, #4] - 8008a1a: 01db lsls r3, r3, #7 - 8008a1c: 4413 add r3, r2 - 8008a1e: 3384 adds r3, #132 ; 0x84 - 8008a20: 461a mov r2, r3 - 8008a22: 2300 movs r3, #0 - 8008a24: 6193 str r3, [r2, #24] + 800859e: 68fb ldr r3, [r7, #12] + 80085a0: 681b ldr r3, [r3, #0] + 80085a2: 461a mov r2, r3 + 80085a4: 687b ldr r3, [r7, #4] + 80085a6: 01db lsls r3, r3, #7 + 80085a8: 4413 add r3, r2 + 80085aa: 3384 adds r3, #132 ; 0x84 + 80085ac: 699b ldr r3, [r3, #24] + 80085ae: 68fb ldr r3, [r7, #12] + 80085b0: 681b ldr r3, [r3, #0] + 80085b2: 461a mov r2, r3 + 80085b4: 687b ldr r3, [r7, #4] + 80085b6: 01db lsls r3, r3, #7 + 80085b8: 4413 add r3, r2 + 80085ba: 3384 adds r3, #132 ; 0x84 + 80085bc: 461a mov r2, r3 + 80085be: 2300 movs r3, #0 + 80085c0: 6193 str r3, [r2, #24] LTDC_LAYER(hltdc, LayerIdx)->DCCR = (pLayerCfg->Backcolor.Blue | tmp | tmp1 | tmp2); - 8008a26: 68bb ldr r3, [r7, #8] - 8008a28: f893 3030 ldrb.w r3, [r3, #48] ; 0x30 - 8008a2c: 461a mov r2, r3 - 8008a2e: 69fb ldr r3, [r7, #28] - 8008a30: 431a orrs r2, r3 - 8008a32: 69bb ldr r3, [r7, #24] - 8008a34: 431a orrs r2, r3 - 8008a36: 68fb ldr r3, [r7, #12] - 8008a38: 681b ldr r3, [r3, #0] - 8008a3a: 4619 mov r1, r3 - 8008a3c: 687b ldr r3, [r7, #4] - 8008a3e: 01db lsls r3, r3, #7 - 8008a40: 440b add r3, r1 - 8008a42: 3384 adds r3, #132 ; 0x84 - 8008a44: 4619 mov r1, r3 - 8008a46: 697b ldr r3, [r7, #20] - 8008a48: 4313 orrs r3, r2 - 8008a4a: 618b str r3, [r1, #24] + 80085c2: 68bb ldr r3, [r7, #8] + 80085c4: f893 3030 ldrb.w r3, [r3, #48] ; 0x30 + 80085c8: 461a mov r2, r3 + 80085ca: 69fb ldr r3, [r7, #28] + 80085cc: 431a orrs r2, r3 + 80085ce: 69bb ldr r3, [r7, #24] + 80085d0: 431a orrs r2, r3 + 80085d2: 68fb ldr r3, [r7, #12] + 80085d4: 681b ldr r3, [r3, #0] + 80085d6: 4619 mov r1, r3 + 80085d8: 687b ldr r3, [r7, #4] + 80085da: 01db lsls r3, r3, #7 + 80085dc: 440b add r3, r1 + 80085de: 3384 adds r3, #132 ; 0x84 + 80085e0: 4619 mov r1, r3 + 80085e2: 697b ldr r3, [r7, #20] + 80085e4: 4313 orrs r3, r2 + 80085e6: 618b str r3, [r1, #24] /* Specifies the constant alpha value */ LTDC_LAYER(hltdc, LayerIdx)->CACR &= ~(LTDC_LxCACR_CONSTA); - 8008a4c: 68fb ldr r3, [r7, #12] - 8008a4e: 681b ldr r3, [r3, #0] - 8008a50: 461a mov r2, r3 - 8008a52: 687b ldr r3, [r7, #4] - 8008a54: 01db lsls r3, r3, #7 - 8008a56: 4413 add r3, r2 - 8008a58: 3384 adds r3, #132 ; 0x84 - 8008a5a: 695b ldr r3, [r3, #20] - 8008a5c: 68fa ldr r2, [r7, #12] - 8008a5e: 6812 ldr r2, [r2, #0] - 8008a60: 4611 mov r1, r2 - 8008a62: 687a ldr r2, [r7, #4] - 8008a64: 01d2 lsls r2, r2, #7 - 8008a66: 440a add r2, r1 - 8008a68: 3284 adds r2, #132 ; 0x84 - 8008a6a: f023 03ff bic.w r3, r3, #255 ; 0xff - 8008a6e: 6153 str r3, [r2, #20] + 80085e8: 68fb ldr r3, [r7, #12] + 80085ea: 681b ldr r3, [r3, #0] + 80085ec: 461a mov r2, r3 + 80085ee: 687b ldr r3, [r7, #4] + 80085f0: 01db lsls r3, r3, #7 + 80085f2: 4413 add r3, r2 + 80085f4: 3384 adds r3, #132 ; 0x84 + 80085f6: 695b ldr r3, [r3, #20] + 80085f8: 68fa ldr r2, [r7, #12] + 80085fa: 6812 ldr r2, [r2, #0] + 80085fc: 4611 mov r1, r2 + 80085fe: 687a ldr r2, [r7, #4] + 8008600: 01d2 lsls r2, r2, #7 + 8008602: 440a add r2, r1 + 8008604: 3284 adds r2, #132 ; 0x84 + 8008606: f023 03ff bic.w r3, r3, #255 ; 0xff + 800860a: 6153 str r3, [r2, #20] LTDC_LAYER(hltdc, LayerIdx)->CACR = (pLayerCfg->Alpha); - 8008a70: 68fb ldr r3, [r7, #12] - 8008a72: 681b ldr r3, [r3, #0] - 8008a74: 461a mov r2, r3 - 8008a76: 687b ldr r3, [r7, #4] - 8008a78: 01db lsls r3, r3, #7 - 8008a7a: 4413 add r3, r2 - 8008a7c: 3384 adds r3, #132 ; 0x84 - 8008a7e: 461a mov r2, r3 - 8008a80: 68bb ldr r3, [r7, #8] - 8008a82: 695b ldr r3, [r3, #20] - 8008a84: 6153 str r3, [r2, #20] + 800860c: 68fb ldr r3, [r7, #12] + 800860e: 681b ldr r3, [r3, #0] + 8008610: 461a mov r2, r3 + 8008612: 687b ldr r3, [r7, #4] + 8008614: 01db lsls r3, r3, #7 + 8008616: 4413 add r3, r2 + 8008618: 3384 adds r3, #132 ; 0x84 + 800861a: 461a mov r2, r3 + 800861c: 68bb ldr r3, [r7, #8] + 800861e: 695b ldr r3, [r3, #20] + 8008620: 6153 str r3, [r2, #20] /* Specifies the blending factors */ LTDC_LAYER(hltdc, LayerIdx)->BFCR &= ~(LTDC_LxBFCR_BF2 | LTDC_LxBFCR_BF1); - 8008a86: 68fb ldr r3, [r7, #12] - 8008a88: 681b ldr r3, [r3, #0] - 8008a8a: 461a mov r2, r3 - 8008a8c: 687b ldr r3, [r7, #4] - 8008a8e: 01db lsls r3, r3, #7 - 8008a90: 4413 add r3, r2 - 8008a92: 3384 adds r3, #132 ; 0x84 - 8008a94: 69da ldr r2, [r3, #28] - 8008a96: 68fb ldr r3, [r7, #12] - 8008a98: 681b ldr r3, [r3, #0] - 8008a9a: 4619 mov r1, r3 - 8008a9c: 687b ldr r3, [r7, #4] - 8008a9e: 01db lsls r3, r3, #7 - 8008aa0: 440b add r3, r1 - 8008aa2: 3384 adds r3, #132 ; 0x84 - 8008aa4: 4619 mov r1, r3 - 8008aa6: 4b58 ldr r3, [pc, #352] ; (8008c08 ) - 8008aa8: 4013 ands r3, r2 - 8008aaa: 61cb str r3, [r1, #28] + 8008622: 68fb ldr r3, [r7, #12] + 8008624: 681b ldr r3, [r3, #0] + 8008626: 461a mov r2, r3 + 8008628: 687b ldr r3, [r7, #4] + 800862a: 01db lsls r3, r3, #7 + 800862c: 4413 add r3, r2 + 800862e: 3384 adds r3, #132 ; 0x84 + 8008630: 69da ldr r2, [r3, #28] + 8008632: 68fb ldr r3, [r7, #12] + 8008634: 681b ldr r3, [r3, #0] + 8008636: 4619 mov r1, r3 + 8008638: 687b ldr r3, [r7, #4] + 800863a: 01db lsls r3, r3, #7 + 800863c: 440b add r3, r1 + 800863e: 3384 adds r3, #132 ; 0x84 + 8008640: 4619 mov r1, r3 + 8008642: 4b58 ldr r3, [pc, #352] ; (80087a4 ) + 8008644: 4013 ands r3, r2 + 8008646: 61cb str r3, [r1, #28] LTDC_LAYER(hltdc, LayerIdx)->BFCR = (pLayerCfg->BlendingFactor1 | pLayerCfg->BlendingFactor2); - 8008aac: 68bb ldr r3, [r7, #8] - 8008aae: 69da ldr r2, [r3, #28] - 8008ab0: 68bb ldr r3, [r7, #8] - 8008ab2: 6a1b ldr r3, [r3, #32] - 8008ab4: 68f9 ldr r1, [r7, #12] - 8008ab6: 6809 ldr r1, [r1, #0] - 8008ab8: 4608 mov r0, r1 - 8008aba: 6879 ldr r1, [r7, #4] - 8008abc: 01c9 lsls r1, r1, #7 - 8008abe: 4401 add r1, r0 - 8008ac0: 3184 adds r1, #132 ; 0x84 - 8008ac2: 4313 orrs r3, r2 - 8008ac4: 61cb str r3, [r1, #28] + 8008648: 68bb ldr r3, [r7, #8] + 800864a: 69da ldr r2, [r3, #28] + 800864c: 68bb ldr r3, [r7, #8] + 800864e: 6a1b ldr r3, [r3, #32] + 8008650: 68f9 ldr r1, [r7, #12] + 8008652: 6809 ldr r1, [r1, #0] + 8008654: 4608 mov r0, r1 + 8008656: 6879 ldr r1, [r7, #4] + 8008658: 01c9 lsls r1, r1, #7 + 800865a: 4401 add r1, r0 + 800865c: 3184 adds r1, #132 ; 0x84 + 800865e: 4313 orrs r3, r2 + 8008660: 61cb str r3, [r1, #28] /* Configure the color frame buffer start address */ LTDC_LAYER(hltdc, LayerIdx)->CFBAR &= ~(LTDC_LxCFBAR_CFBADD); - 8008ac6: 68fb ldr r3, [r7, #12] - 8008ac8: 681b ldr r3, [r3, #0] - 8008aca: 461a mov r2, r3 - 8008acc: 687b ldr r3, [r7, #4] - 8008ace: 01db lsls r3, r3, #7 - 8008ad0: 4413 add r3, r2 - 8008ad2: 3384 adds r3, #132 ; 0x84 - 8008ad4: 6a9b ldr r3, [r3, #40] ; 0x28 - 8008ad6: 68fb ldr r3, [r7, #12] - 8008ad8: 681b ldr r3, [r3, #0] - 8008ada: 461a mov r2, r3 - 8008adc: 687b ldr r3, [r7, #4] - 8008ade: 01db lsls r3, r3, #7 - 8008ae0: 4413 add r3, r2 - 8008ae2: 3384 adds r3, #132 ; 0x84 - 8008ae4: 461a mov r2, r3 - 8008ae6: 2300 movs r3, #0 - 8008ae8: 6293 str r3, [r2, #40] ; 0x28 + 8008662: 68fb ldr r3, [r7, #12] + 8008664: 681b ldr r3, [r3, #0] + 8008666: 461a mov r2, r3 + 8008668: 687b ldr r3, [r7, #4] + 800866a: 01db lsls r3, r3, #7 + 800866c: 4413 add r3, r2 + 800866e: 3384 adds r3, #132 ; 0x84 + 8008670: 6a9b ldr r3, [r3, #40] ; 0x28 + 8008672: 68fb ldr r3, [r7, #12] + 8008674: 681b ldr r3, [r3, #0] + 8008676: 461a mov r2, r3 + 8008678: 687b ldr r3, [r7, #4] + 800867a: 01db lsls r3, r3, #7 + 800867c: 4413 add r3, r2 + 800867e: 3384 adds r3, #132 ; 0x84 + 8008680: 461a mov r2, r3 + 8008682: 2300 movs r3, #0 + 8008684: 6293 str r3, [r2, #40] ; 0x28 LTDC_LAYER(hltdc, LayerIdx)->CFBAR = (pLayerCfg->FBStartAdress); - 8008aea: 68fb ldr r3, [r7, #12] - 8008aec: 681b ldr r3, [r3, #0] - 8008aee: 461a mov r2, r3 - 8008af0: 687b ldr r3, [r7, #4] - 8008af2: 01db lsls r3, r3, #7 - 8008af4: 4413 add r3, r2 - 8008af6: 3384 adds r3, #132 ; 0x84 - 8008af8: 461a mov r2, r3 - 8008afa: 68bb ldr r3, [r7, #8] - 8008afc: 6a5b ldr r3, [r3, #36] ; 0x24 - 8008afe: 6293 str r3, [r2, #40] ; 0x28 + 8008686: 68fb ldr r3, [r7, #12] + 8008688: 681b ldr r3, [r3, #0] + 800868a: 461a mov r2, r3 + 800868c: 687b ldr r3, [r7, #4] + 800868e: 01db lsls r3, r3, #7 + 8008690: 4413 add r3, r2 + 8008692: 3384 adds r3, #132 ; 0x84 + 8008694: 461a mov r2, r3 + 8008696: 68bb ldr r3, [r7, #8] + 8008698: 6a5b ldr r3, [r3, #36] ; 0x24 + 800869a: 6293 str r3, [r2, #40] ; 0x28 if (pLayerCfg->PixelFormat == LTDC_PIXEL_FORMAT_ARGB8888) - 8008b00: 68bb ldr r3, [r7, #8] - 8008b02: 691b ldr r3, [r3, #16] - 8008b04: 2b00 cmp r3, #0 - 8008b06: d102 bne.n 8008b0e + 800869c: 68bb ldr r3, [r7, #8] + 800869e: 691b ldr r3, [r3, #16] + 80086a0: 2b00 cmp r3, #0 + 80086a2: d102 bne.n 80086aa { tmp = 4U; - 8008b08: 2304 movs r3, #4 - 8008b0a: 61fb str r3, [r7, #28] - 8008b0c: e01b b.n 8008b46 + 80086a4: 2304 movs r3, #4 + 80086a6: 61fb str r3, [r7, #28] + 80086a8: e01b b.n 80086e2 } else if (pLayerCfg->PixelFormat == LTDC_PIXEL_FORMAT_RGB888) - 8008b0e: 68bb ldr r3, [r7, #8] - 8008b10: 691b ldr r3, [r3, #16] - 8008b12: 2b01 cmp r3, #1 - 8008b14: d102 bne.n 8008b1c + 80086aa: 68bb ldr r3, [r7, #8] + 80086ac: 691b ldr r3, [r3, #16] + 80086ae: 2b01 cmp r3, #1 + 80086b0: d102 bne.n 80086b8 { tmp = 3U; - 8008b16: 2303 movs r3, #3 - 8008b18: 61fb str r3, [r7, #28] - 8008b1a: e014 b.n 8008b46 + 80086b2: 2303 movs r3, #3 + 80086b4: 61fb str r3, [r7, #28] + 80086b6: e014 b.n 80086e2 } else if ((pLayerCfg->PixelFormat == LTDC_PIXEL_FORMAT_ARGB4444) || \ - 8008b1c: 68bb ldr r3, [r7, #8] - 8008b1e: 691b ldr r3, [r3, #16] - 8008b20: 2b04 cmp r3, #4 - 8008b22: d00b beq.n 8008b3c + 80086b8: 68bb ldr r3, [r7, #8] + 80086ba: 691b ldr r3, [r3, #16] + 80086bc: 2b04 cmp r3, #4 + 80086be: d00b beq.n 80086d8 (pLayerCfg->PixelFormat == LTDC_PIXEL_FORMAT_RGB565) || \ - 8008b24: 68bb ldr r3, [r7, #8] - 8008b26: 691b ldr r3, [r3, #16] + 80086c0: 68bb ldr r3, [r7, #8] + 80086c2: 691b ldr r3, [r3, #16] else if ((pLayerCfg->PixelFormat == LTDC_PIXEL_FORMAT_ARGB4444) || \ - 8008b28: 2b02 cmp r3, #2 - 8008b2a: d007 beq.n 8008b3c + 80086c4: 2b02 cmp r3, #2 + 80086c6: d007 beq.n 80086d8 (pLayerCfg->PixelFormat == LTDC_PIXEL_FORMAT_ARGB1555) || \ - 8008b2c: 68bb ldr r3, [r7, #8] - 8008b2e: 691b ldr r3, [r3, #16] + 80086c8: 68bb ldr r3, [r7, #8] + 80086ca: 691b ldr r3, [r3, #16] (pLayerCfg->PixelFormat == LTDC_PIXEL_FORMAT_RGB565) || \ - 8008b30: 2b03 cmp r3, #3 - 8008b32: d003 beq.n 8008b3c + 80086cc: 2b03 cmp r3, #3 + 80086ce: d003 beq.n 80086d8 (pLayerCfg->PixelFormat == LTDC_PIXEL_FORMAT_AL88)) - 8008b34: 68bb ldr r3, [r7, #8] - 8008b36: 691b ldr r3, [r3, #16] + 80086d0: 68bb ldr r3, [r7, #8] + 80086d2: 691b ldr r3, [r3, #16] (pLayerCfg->PixelFormat == LTDC_PIXEL_FORMAT_ARGB1555) || \ - 8008b38: 2b07 cmp r3, #7 - 8008b3a: d102 bne.n 8008b42 + 80086d4: 2b07 cmp r3, #7 + 80086d6: d102 bne.n 80086de { tmp = 2U; - 8008b3c: 2302 movs r3, #2 - 8008b3e: 61fb str r3, [r7, #28] - 8008b40: e001 b.n 8008b46 + 80086d8: 2302 movs r3, #2 + 80086da: 61fb str r3, [r7, #28] + 80086dc: e001 b.n 80086e2 } else { tmp = 1U; - 8008b42: 2301 movs r3, #1 - 8008b44: 61fb str r3, [r7, #28] + 80086de: 2301 movs r3, #1 + 80086e0: 61fb str r3, [r7, #28] } /* Configure the color frame buffer pitch in byte */ LTDC_LAYER(hltdc, LayerIdx)->CFBLR &= ~(LTDC_LxCFBLR_CFBLL | LTDC_LxCFBLR_CFBP); - 8008b46: 68fb ldr r3, [r7, #12] - 8008b48: 681b ldr r3, [r3, #0] - 8008b4a: 461a mov r2, r3 - 8008b4c: 687b ldr r3, [r7, #4] - 8008b4e: 01db lsls r3, r3, #7 - 8008b50: 4413 add r3, r2 - 8008b52: 3384 adds r3, #132 ; 0x84 - 8008b54: 6adb ldr r3, [r3, #44] ; 0x2c - 8008b56: 68fa ldr r2, [r7, #12] - 8008b58: 6812 ldr r2, [r2, #0] - 8008b5a: 4611 mov r1, r2 - 8008b5c: 687a ldr r2, [r7, #4] - 8008b5e: 01d2 lsls r2, r2, #7 - 8008b60: 440a add r2, r1 - 8008b62: 3284 adds r2, #132 ; 0x84 - 8008b64: f003 23e0 and.w r3, r3, #3758153728 ; 0xe000e000 - 8008b68: 62d3 str r3, [r2, #44] ; 0x2c + 80086e2: 68fb ldr r3, [r7, #12] + 80086e4: 681b ldr r3, [r3, #0] + 80086e6: 461a mov r2, r3 + 80086e8: 687b ldr r3, [r7, #4] + 80086ea: 01db lsls r3, r3, #7 + 80086ec: 4413 add r3, r2 + 80086ee: 3384 adds r3, #132 ; 0x84 + 80086f0: 6adb ldr r3, [r3, #44] ; 0x2c + 80086f2: 68fa ldr r2, [r7, #12] + 80086f4: 6812 ldr r2, [r2, #0] + 80086f6: 4611 mov r1, r2 + 80086f8: 687a ldr r2, [r7, #4] + 80086fa: 01d2 lsls r2, r2, #7 + 80086fc: 440a add r2, r1 + 80086fe: 3284 adds r2, #132 ; 0x84 + 8008700: f003 23e0 and.w r3, r3, #3758153728 ; 0xe000e000 + 8008704: 62d3 str r3, [r2, #44] ; 0x2c LTDC_LAYER(hltdc, LayerIdx)->CFBLR = (((pLayerCfg->ImageWidth * tmp) << 16U) | (((pLayerCfg->WindowX1 - pLayerCfg->WindowX0) * tmp) + 3U)); - 8008b6a: 68bb ldr r3, [r7, #8] - 8008b6c: 6a9b ldr r3, [r3, #40] ; 0x28 - 8008b6e: 69fa ldr r2, [r7, #28] - 8008b70: fb02 f303 mul.w r3, r2, r3 - 8008b74: 041a lsls r2, r3, #16 - 8008b76: 68bb ldr r3, [r7, #8] - 8008b78: 6859 ldr r1, [r3, #4] - 8008b7a: 68bb ldr r3, [r7, #8] - 8008b7c: 681b ldr r3, [r3, #0] - 8008b7e: 1acb subs r3, r1, r3 - 8008b80: 69f9 ldr r1, [r7, #28] - 8008b82: fb01 f303 mul.w r3, r1, r3 - 8008b86: 3303 adds r3, #3 - 8008b88: 68f9 ldr r1, [r7, #12] - 8008b8a: 6809 ldr r1, [r1, #0] - 8008b8c: 4608 mov r0, r1 - 8008b8e: 6879 ldr r1, [r7, #4] - 8008b90: 01c9 lsls r1, r1, #7 - 8008b92: 4401 add r1, r0 - 8008b94: 3184 adds r1, #132 ; 0x84 - 8008b96: 4313 orrs r3, r2 - 8008b98: 62cb str r3, [r1, #44] ; 0x2c + 8008706: 68bb ldr r3, [r7, #8] + 8008708: 6a9b ldr r3, [r3, #40] ; 0x28 + 800870a: 69fa ldr r2, [r7, #28] + 800870c: fb02 f303 mul.w r3, r2, r3 + 8008710: 041a lsls r2, r3, #16 + 8008712: 68bb ldr r3, [r7, #8] + 8008714: 6859 ldr r1, [r3, #4] + 8008716: 68bb ldr r3, [r7, #8] + 8008718: 681b ldr r3, [r3, #0] + 800871a: 1acb subs r3, r1, r3 + 800871c: 69f9 ldr r1, [r7, #28] + 800871e: fb01 f303 mul.w r3, r1, r3 + 8008722: 3303 adds r3, #3 + 8008724: 68f9 ldr r1, [r7, #12] + 8008726: 6809 ldr r1, [r1, #0] + 8008728: 4608 mov r0, r1 + 800872a: 6879 ldr r1, [r7, #4] + 800872c: 01c9 lsls r1, r1, #7 + 800872e: 4401 add r1, r0 + 8008730: 3184 adds r1, #132 ; 0x84 + 8008732: 4313 orrs r3, r2 + 8008734: 62cb str r3, [r1, #44] ; 0x2c /* Configure the frame buffer line number */ LTDC_LAYER(hltdc, LayerIdx)->CFBLNR &= ~(LTDC_LxCFBLNR_CFBLNBR); - 8008b9a: 68fb ldr r3, [r7, #12] - 8008b9c: 681b ldr r3, [r3, #0] - 8008b9e: 461a mov r2, r3 - 8008ba0: 687b ldr r3, [r7, #4] - 8008ba2: 01db lsls r3, r3, #7 - 8008ba4: 4413 add r3, r2 - 8008ba6: 3384 adds r3, #132 ; 0x84 - 8008ba8: 6b1a ldr r2, [r3, #48] ; 0x30 - 8008baa: 68fb ldr r3, [r7, #12] - 8008bac: 681b ldr r3, [r3, #0] - 8008bae: 4619 mov r1, r3 - 8008bb0: 687b ldr r3, [r7, #4] - 8008bb2: 01db lsls r3, r3, #7 - 8008bb4: 440b add r3, r1 - 8008bb6: 3384 adds r3, #132 ; 0x84 - 8008bb8: 4619 mov r1, r3 - 8008bba: 4b14 ldr r3, [pc, #80] ; (8008c0c ) - 8008bbc: 4013 ands r3, r2 - 8008bbe: 630b str r3, [r1, #48] ; 0x30 + 8008736: 68fb ldr r3, [r7, #12] + 8008738: 681b ldr r3, [r3, #0] + 800873a: 461a mov r2, r3 + 800873c: 687b ldr r3, [r7, #4] + 800873e: 01db lsls r3, r3, #7 + 8008740: 4413 add r3, r2 + 8008742: 3384 adds r3, #132 ; 0x84 + 8008744: 6b1a ldr r2, [r3, #48] ; 0x30 + 8008746: 68fb ldr r3, [r7, #12] + 8008748: 681b ldr r3, [r3, #0] + 800874a: 4619 mov r1, r3 + 800874c: 687b ldr r3, [r7, #4] + 800874e: 01db lsls r3, r3, #7 + 8008750: 440b add r3, r1 + 8008752: 3384 adds r3, #132 ; 0x84 + 8008754: 4619 mov r1, r3 + 8008756: 4b14 ldr r3, [pc, #80] ; (80087a8 ) + 8008758: 4013 ands r3, r2 + 800875a: 630b str r3, [r1, #48] ; 0x30 LTDC_LAYER(hltdc, LayerIdx)->CFBLNR = (pLayerCfg->ImageHeight); - 8008bc0: 68fb ldr r3, [r7, #12] - 8008bc2: 681b ldr r3, [r3, #0] - 8008bc4: 461a mov r2, r3 - 8008bc6: 687b ldr r3, [r7, #4] - 8008bc8: 01db lsls r3, r3, #7 - 8008bca: 4413 add r3, r2 - 8008bcc: 3384 adds r3, #132 ; 0x84 - 8008bce: 461a mov r2, r3 - 8008bd0: 68bb ldr r3, [r7, #8] - 8008bd2: 6adb ldr r3, [r3, #44] ; 0x2c - 8008bd4: 6313 str r3, [r2, #48] ; 0x30 + 800875c: 68fb ldr r3, [r7, #12] + 800875e: 681b ldr r3, [r3, #0] + 8008760: 461a mov r2, r3 + 8008762: 687b ldr r3, [r7, #4] + 8008764: 01db lsls r3, r3, #7 + 8008766: 4413 add r3, r2 + 8008768: 3384 adds r3, #132 ; 0x84 + 800876a: 461a mov r2, r3 + 800876c: 68bb ldr r3, [r7, #8] + 800876e: 6adb ldr r3, [r3, #44] ; 0x2c + 8008770: 6313 str r3, [r2, #48] ; 0x30 /* Enable LTDC_Layer by setting LEN bit */ LTDC_LAYER(hltdc, LayerIdx)->CR |= (uint32_t)LTDC_LxCR_LEN; - 8008bd6: 68fb ldr r3, [r7, #12] - 8008bd8: 681b ldr r3, [r3, #0] - 8008bda: 461a mov r2, r3 - 8008bdc: 687b ldr r3, [r7, #4] - 8008bde: 01db lsls r3, r3, #7 - 8008be0: 4413 add r3, r2 - 8008be2: 3384 adds r3, #132 ; 0x84 - 8008be4: 681b ldr r3, [r3, #0] - 8008be6: 68fa ldr r2, [r7, #12] - 8008be8: 6812 ldr r2, [r2, #0] - 8008bea: 4611 mov r1, r2 - 8008bec: 687a ldr r2, [r7, #4] - 8008bee: 01d2 lsls r2, r2, #7 - 8008bf0: 440a add r2, r1 - 8008bf2: 3284 adds r2, #132 ; 0x84 - 8008bf4: f043 0301 orr.w r3, r3, #1 - 8008bf8: 6013 str r3, [r2, #0] + 8008772: 68fb ldr r3, [r7, #12] + 8008774: 681b ldr r3, [r3, #0] + 8008776: 461a mov r2, r3 + 8008778: 687b ldr r3, [r7, #4] + 800877a: 01db lsls r3, r3, #7 + 800877c: 4413 add r3, r2 + 800877e: 3384 adds r3, #132 ; 0x84 + 8008780: 681b ldr r3, [r3, #0] + 8008782: 68fa ldr r2, [r7, #12] + 8008784: 6812 ldr r2, [r2, #0] + 8008786: 4611 mov r1, r2 + 8008788: 687a ldr r2, [r7, #4] + 800878a: 01d2 lsls r2, r2, #7 + 800878c: 440a add r2, r1 + 800878e: 3284 adds r2, #132 ; 0x84 + 8008790: f043 0301 orr.w r3, r3, #1 + 8008794: 6013 str r3, [r2, #0] } - 8008bfa: bf00 nop - 8008bfc: 3724 adds r7, #36 ; 0x24 - 8008bfe: 46bd mov sp, r7 - 8008c00: f85d 7b04 ldr.w r7, [sp], #4 - 8008c04: 4770 bx lr - 8008c06: bf00 nop - 8008c08: fffff8f8 .word 0xfffff8f8 - 8008c0c: fffff800 .word 0xfffff800 + 8008796: bf00 nop + 8008798: 3724 adds r7, #36 ; 0x24 + 800879a: 46bd mov sp, r7 + 800879c: f85d 7b04 ldr.w r7, [sp], #4 + 80087a0: 4770 bx lr + 80087a2: bf00 nop + 80087a4: fffff8f8 .word 0xfffff8f8 + 80087a8: fffff800 .word 0xfffff800 -08008c10 : +080087ac : * @note If the HSE divided by 2, 3, ..31 is used as the RTC clock, the * Backup Domain Access should be kept enabled. * @retval None */ void HAL_PWR_EnableBkUpAccess(void) { - 8008c10: b480 push {r7} - 8008c12: af00 add r7, sp, #0 + 80087ac: b480 push {r7} + 80087ae: af00 add r7, sp, #0 /* Enable access to RTC and backup registers */ SET_BIT(PWR->CR1, PWR_CR1_DBP); - 8008c14: 4b05 ldr r3, [pc, #20] ; (8008c2c ) - 8008c16: 681b ldr r3, [r3, #0] - 8008c18: 4a04 ldr r2, [pc, #16] ; (8008c2c ) - 8008c1a: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8008c1e: 6013 str r3, [r2, #0] + 80087b0: 4b05 ldr r3, [pc, #20] ; (80087c8 ) + 80087b2: 681b ldr r3, [r3, #0] + 80087b4: 4a04 ldr r2, [pc, #16] ; (80087c8 ) + 80087b6: f443 7380 orr.w r3, r3, #256 ; 0x100 + 80087ba: 6013 str r3, [r2, #0] } - 8008c20: bf00 nop - 8008c22: 46bd mov sp, r7 - 8008c24: f85d 7b04 ldr.w r7, [sp], #4 - 8008c28: 4770 bx lr - 8008c2a: bf00 nop - 8008c2c: 40007000 .word 0x40007000 + 80087bc: bf00 nop + 80087be: 46bd mov sp, r7 + 80087c0: f85d 7b04 ldr.w r7, [sp], #4 + 80087c4: 4770 bx lr + 80087c6: bf00 nop + 80087c8: 40007000 .word 0x40007000 -08008c30 : +080087cc : * During the Over-drive switch activation, no peripheral clocks should be enabled. * The peripheral clocks must be enabled once the Over-drive mode is activated. * @retval HAL status */ HAL_StatusTypeDef HAL_PWREx_EnableOverDrive(void) { - 8008c30: b580 push {r7, lr} - 8008c32: b082 sub sp, #8 - 8008c34: af00 add r7, sp, #0 + 80087cc: b580 push {r7, lr} + 80087ce: b082 sub sp, #8 + 80087d0: af00 add r7, sp, #0 uint32_t tickstart = 0; - 8008c36: 2300 movs r3, #0 - 8008c38: 607b str r3, [r7, #4] + 80087d2: 2300 movs r3, #0 + 80087d4: 607b str r3, [r7, #4] __HAL_RCC_PWR_CLK_ENABLE(); - 8008c3a: 4b23 ldr r3, [pc, #140] ; (8008cc8 ) - 8008c3c: 6c1b ldr r3, [r3, #64] ; 0x40 - 8008c3e: 4a22 ldr r2, [pc, #136] ; (8008cc8 ) - 8008c40: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 - 8008c44: 6413 str r3, [r2, #64] ; 0x40 - 8008c46: 4b20 ldr r3, [pc, #128] ; (8008cc8 ) - 8008c48: 6c1b ldr r3, [r3, #64] ; 0x40 - 8008c4a: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 - 8008c4e: 603b str r3, [r7, #0] - 8008c50: 683b ldr r3, [r7, #0] + 80087d6: 4b23 ldr r3, [pc, #140] ; (8008864 ) + 80087d8: 6c1b ldr r3, [r3, #64] ; 0x40 + 80087da: 4a22 ldr r2, [pc, #136] ; (8008864 ) + 80087dc: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 + 80087e0: 6413 str r3, [r2, #64] ; 0x40 + 80087e2: 4b20 ldr r3, [pc, #128] ; (8008864 ) + 80087e4: 6c1b ldr r3, [r3, #64] ; 0x40 + 80087e6: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 + 80087ea: 603b str r3, [r7, #0] + 80087ec: 683b ldr r3, [r7, #0] /* Enable the Over-drive to extend the clock frequency to 216 MHz */ __HAL_PWR_OVERDRIVE_ENABLE(); - 8008c52: 4b1e ldr r3, [pc, #120] ; (8008ccc ) - 8008c54: 681b ldr r3, [r3, #0] - 8008c56: 4a1d ldr r2, [pc, #116] ; (8008ccc ) - 8008c58: f443 3380 orr.w r3, r3, #65536 ; 0x10000 - 8008c5c: 6013 str r3, [r2, #0] + 80087ee: 4b1e ldr r3, [pc, #120] ; (8008868 ) + 80087f0: 681b ldr r3, [r3, #0] + 80087f2: 4a1d ldr r2, [pc, #116] ; (8008868 ) + 80087f4: f443 3380 orr.w r3, r3, #65536 ; 0x10000 + 80087f8: 6013 str r3, [r2, #0] /* Get tick */ tickstart = HAL_GetTick(); - 8008c5e: f7fc f8e7 bl 8004e30 - 8008c62: 6078 str r0, [r7, #4] + 80087fa: f7fc f8cd bl 8004998 + 80087fe: 6078 str r0, [r7, #4] while(!__HAL_PWR_GET_FLAG(PWR_FLAG_ODRDY)) - 8008c64: e009 b.n 8008c7a + 8008800: e009 b.n 8008816 { if((HAL_GetTick() - tickstart ) > PWR_OVERDRIVE_TIMEOUT_VALUE) - 8008c66: f7fc f8e3 bl 8004e30 - 8008c6a: 4602 mov r2, r0 - 8008c6c: 687b ldr r3, [r7, #4] - 8008c6e: 1ad3 subs r3, r2, r3 - 8008c70: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 - 8008c74: d901 bls.n 8008c7a + 8008802: f7fc f8c9 bl 8004998 + 8008806: 4602 mov r2, r0 + 8008808: 687b ldr r3, [r7, #4] + 800880a: 1ad3 subs r3, r2, r3 + 800880c: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 + 8008810: d901 bls.n 8008816 { return HAL_TIMEOUT; - 8008c76: 2303 movs r3, #3 - 8008c78: e022 b.n 8008cc0 + 8008812: 2303 movs r3, #3 + 8008814: e022 b.n 800885c while(!__HAL_PWR_GET_FLAG(PWR_FLAG_ODRDY)) - 8008c7a: 4b14 ldr r3, [pc, #80] ; (8008ccc ) - 8008c7c: 685b ldr r3, [r3, #4] - 8008c7e: f403 3380 and.w r3, r3, #65536 ; 0x10000 - 8008c82: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 8008c86: d1ee bne.n 8008c66 + 8008816: 4b14 ldr r3, [pc, #80] ; (8008868 ) + 8008818: 685b ldr r3, [r3, #4] + 800881a: f403 3380 and.w r3, r3, #65536 ; 0x10000 + 800881e: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 8008822: d1ee bne.n 8008802 } } /* Enable the Over-drive switch */ __HAL_PWR_OVERDRIVESWITCHING_ENABLE(); - 8008c88: 4b10 ldr r3, [pc, #64] ; (8008ccc ) - 8008c8a: 681b ldr r3, [r3, #0] - 8008c8c: 4a0f ldr r2, [pc, #60] ; (8008ccc ) - 8008c8e: f443 3300 orr.w r3, r3, #131072 ; 0x20000 - 8008c92: 6013 str r3, [r2, #0] + 8008824: 4b10 ldr r3, [pc, #64] ; (8008868 ) + 8008826: 681b ldr r3, [r3, #0] + 8008828: 4a0f ldr r2, [pc, #60] ; (8008868 ) + 800882a: f443 3300 orr.w r3, r3, #131072 ; 0x20000 + 800882e: 6013 str r3, [r2, #0] /* Get tick */ tickstart = HAL_GetTick(); - 8008c94: f7fc f8cc bl 8004e30 - 8008c98: 6078 str r0, [r7, #4] + 8008830: f7fc f8b2 bl 8004998 + 8008834: 6078 str r0, [r7, #4] while(!__HAL_PWR_GET_FLAG(PWR_FLAG_ODSWRDY)) - 8008c9a: e009 b.n 8008cb0 + 8008836: e009 b.n 800884c { if((HAL_GetTick() - tickstart ) > PWR_OVERDRIVE_TIMEOUT_VALUE) - 8008c9c: f7fc f8c8 bl 8004e30 - 8008ca0: 4602 mov r2, r0 - 8008ca2: 687b ldr r3, [r7, #4] - 8008ca4: 1ad3 subs r3, r2, r3 - 8008ca6: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 - 8008caa: d901 bls.n 8008cb0 + 8008838: f7fc f8ae bl 8004998 + 800883c: 4602 mov r2, r0 + 800883e: 687b ldr r3, [r7, #4] + 8008840: 1ad3 subs r3, r2, r3 + 8008842: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 + 8008846: d901 bls.n 800884c { return HAL_TIMEOUT; - 8008cac: 2303 movs r3, #3 - 8008cae: e007 b.n 8008cc0 + 8008848: 2303 movs r3, #3 + 800884a: e007 b.n 800885c while(!__HAL_PWR_GET_FLAG(PWR_FLAG_ODSWRDY)) - 8008cb0: 4b06 ldr r3, [pc, #24] ; (8008ccc ) - 8008cb2: 685b ldr r3, [r3, #4] - 8008cb4: f403 3300 and.w r3, r3, #131072 ; 0x20000 - 8008cb8: f5b3 3f00 cmp.w r3, #131072 ; 0x20000 - 8008cbc: d1ee bne.n 8008c9c + 800884c: 4b06 ldr r3, [pc, #24] ; (8008868 ) + 800884e: 685b ldr r3, [r3, #4] + 8008850: f403 3300 and.w r3, r3, #131072 ; 0x20000 + 8008854: f5b3 3f00 cmp.w r3, #131072 ; 0x20000 + 8008858: d1ee bne.n 8008838 } } return HAL_OK; - 8008cbe: 2300 movs r3, #0 + 800885a: 2300 movs r3, #0 } - 8008cc0: 4618 mov r0, r3 - 8008cc2: 3708 adds r7, #8 - 8008cc4: 46bd mov sp, r7 - 8008cc6: bd80 pop {r7, pc} - 8008cc8: 40023800 .word 0x40023800 - 8008ccc: 40007000 .word 0x40007000 + 800885c: 4618 mov r0, r3 + 800885e: 3708 adds r7, #8 + 8008860: 46bd mov sp, r7 + 8008862: bd80 pop {r7, pc} + 8008864: 40023800 .word 0x40023800 + 8008868: 40007000 .word 0x40007000 -08008cd0 : +0800886c : * supported by this function. User should request a transition to HSE Off * first and then HSE On or HSE Bypass. * @retval HAL status */ HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct) { - 8008cd0: b580 push {r7, lr} - 8008cd2: b086 sub sp, #24 - 8008cd4: af00 add r7, sp, #0 - 8008cd6: 6078 str r0, [r7, #4] + 800886c: b580 push {r7, lr} + 800886e: b086 sub sp, #24 + 8008870: af00 add r7, sp, #0 + 8008872: 6078 str r0, [r7, #4] uint32_t tickstart; uint32_t pll_config; FlagStatus pwrclkchanged = RESET; - 8008cd8: 2300 movs r3, #0 - 8008cda: 75fb strb r3, [r7, #23] + 8008874: 2300 movs r3, #0 + 8008876: 75fb strb r3, [r7, #23] /* Check Null pointer */ if (RCC_OscInitStruct == NULL) - 8008cdc: 687b ldr r3, [r7, #4] - 8008cde: 2b00 cmp r3, #0 - 8008ce0: d101 bne.n 8008ce6 + 8008878: 687b ldr r3, [r7, #4] + 800887a: 2b00 cmp r3, #0 + 800887c: d101 bne.n 8008882 { return HAL_ERROR; - 8008ce2: 2301 movs r3, #1 - 8008ce4: e291 b.n 800920a + 800887e: 2301 movs r3, #1 + 8008880: e291 b.n 8008da6 /* Check the parameters */ assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType)); /*------------------------------- HSE Configuration ------------------------*/ if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSE) == RCC_OSCILLATORTYPE_HSE) - 8008ce6: 687b ldr r3, [r7, #4] - 8008ce8: 681b ldr r3, [r3, #0] - 8008cea: f003 0301 and.w r3, r3, #1 - 8008cee: 2b00 cmp r3, #0 - 8008cf0: f000 8087 beq.w 8008e02 + 8008882: 687b ldr r3, [r7, #4] + 8008884: 681b ldr r3, [r3, #0] + 8008886: f003 0301 and.w r3, r3, #1 + 800888a: 2b00 cmp r3, #0 + 800888c: f000 8087 beq.w 800899e { /* Check the parameters */ assert_param(IS_RCC_HSE(RCC_OscInitStruct->HSEState)); /* When the HSE is used as system clock or clock source for PLL, It can not be disabled */ if ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_HSE) - 8008cf4: 4b96 ldr r3, [pc, #600] ; (8008f50 ) - 8008cf6: 689b ldr r3, [r3, #8] - 8008cf8: f003 030c and.w r3, r3, #12 - 8008cfc: 2b04 cmp r3, #4 - 8008cfe: d00c beq.n 8008d1a + 8008890: 4b96 ldr r3, [pc, #600] ; (8008aec ) + 8008892: 689b ldr r3, [r3, #8] + 8008894: f003 030c and.w r3, r3, #12 + 8008898: 2b04 cmp r3, #4 + 800889a: d00c beq.n 80088b6 || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSE))) - 8008d00: 4b93 ldr r3, [pc, #588] ; (8008f50 ) - 8008d02: 689b ldr r3, [r3, #8] - 8008d04: f003 030c and.w r3, r3, #12 - 8008d08: 2b08 cmp r3, #8 - 8008d0a: d112 bne.n 8008d32 - 8008d0c: 4b90 ldr r3, [pc, #576] ; (8008f50 ) - 8008d0e: 685b ldr r3, [r3, #4] - 8008d10: f403 0380 and.w r3, r3, #4194304 ; 0x400000 - 8008d14: f5b3 0f80 cmp.w r3, #4194304 ; 0x400000 - 8008d18: d10b bne.n 8008d32 + 800889c: 4b93 ldr r3, [pc, #588] ; (8008aec ) + 800889e: 689b ldr r3, [r3, #8] + 80088a0: f003 030c and.w r3, r3, #12 + 80088a4: 2b08 cmp r3, #8 + 80088a6: d112 bne.n 80088ce + 80088a8: 4b90 ldr r3, [pc, #576] ; (8008aec ) + 80088aa: 685b ldr r3, [r3, #4] + 80088ac: f403 0380 and.w r3, r3, #4194304 ; 0x400000 + 80088b0: f5b3 0f80 cmp.w r3, #4194304 ; 0x400000 + 80088b4: d10b bne.n 80088ce { if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) - 8008d1a: 4b8d ldr r3, [pc, #564] ; (8008f50 ) - 8008d1c: 681b ldr r3, [r3, #0] - 8008d1e: f403 3300 and.w r3, r3, #131072 ; 0x20000 - 8008d22: 2b00 cmp r3, #0 - 8008d24: d06c beq.n 8008e00 - 8008d26: 687b ldr r3, [r7, #4] - 8008d28: 685b ldr r3, [r3, #4] - 8008d2a: 2b00 cmp r3, #0 - 8008d2c: d168 bne.n 8008e00 + 80088b6: 4b8d ldr r3, [pc, #564] ; (8008aec ) + 80088b8: 681b ldr r3, [r3, #0] + 80088ba: f403 3300 and.w r3, r3, #131072 ; 0x20000 + 80088be: 2b00 cmp r3, #0 + 80088c0: d06c beq.n 800899c + 80088c2: 687b ldr r3, [r7, #4] + 80088c4: 685b ldr r3, [r3, #4] + 80088c6: 2b00 cmp r3, #0 + 80088c8: d168 bne.n 800899c { return HAL_ERROR; - 8008d2e: 2301 movs r3, #1 - 8008d30: e26b b.n 800920a + 80088ca: 2301 movs r3, #1 + 80088cc: e26b b.n 8008da6 } } else { /* Set the new HSE configuration ---------------------------------------*/ __HAL_RCC_HSE_CONFIG(RCC_OscInitStruct->HSEState); - 8008d32: 687b ldr r3, [r7, #4] - 8008d34: 685b ldr r3, [r3, #4] - 8008d36: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 8008d3a: d106 bne.n 8008d4a - 8008d3c: 4b84 ldr r3, [pc, #528] ; (8008f50 ) - 8008d3e: 681b ldr r3, [r3, #0] - 8008d40: 4a83 ldr r2, [pc, #524] ; (8008f50 ) - 8008d42: f443 3380 orr.w r3, r3, #65536 ; 0x10000 - 8008d46: 6013 str r3, [r2, #0] - 8008d48: e02e b.n 8008da8 - 8008d4a: 687b ldr r3, [r7, #4] - 8008d4c: 685b ldr r3, [r3, #4] - 8008d4e: 2b00 cmp r3, #0 - 8008d50: d10c bne.n 8008d6c - 8008d52: 4b7f ldr r3, [pc, #508] ; (8008f50 ) - 8008d54: 681b ldr r3, [r3, #0] - 8008d56: 4a7e ldr r2, [pc, #504] ; (8008f50 ) - 8008d58: f423 3380 bic.w r3, r3, #65536 ; 0x10000 - 8008d5c: 6013 str r3, [r2, #0] - 8008d5e: 4b7c ldr r3, [pc, #496] ; (8008f50 ) - 8008d60: 681b ldr r3, [r3, #0] - 8008d62: 4a7b ldr r2, [pc, #492] ; (8008f50 ) - 8008d64: f423 2380 bic.w r3, r3, #262144 ; 0x40000 - 8008d68: 6013 str r3, [r2, #0] - 8008d6a: e01d b.n 8008da8 - 8008d6c: 687b ldr r3, [r7, #4] - 8008d6e: 685b ldr r3, [r3, #4] - 8008d70: f5b3 2fa0 cmp.w r3, #327680 ; 0x50000 - 8008d74: d10c bne.n 8008d90 - 8008d76: 4b76 ldr r3, [pc, #472] ; (8008f50 ) - 8008d78: 681b ldr r3, [r3, #0] - 8008d7a: 4a75 ldr r2, [pc, #468] ; (8008f50 ) - 8008d7c: f443 2380 orr.w r3, r3, #262144 ; 0x40000 - 8008d80: 6013 str r3, [r2, #0] - 8008d82: 4b73 ldr r3, [pc, #460] ; (8008f50 ) - 8008d84: 681b ldr r3, [r3, #0] - 8008d86: 4a72 ldr r2, [pc, #456] ; (8008f50 ) - 8008d88: f443 3380 orr.w r3, r3, #65536 ; 0x10000 - 8008d8c: 6013 str r3, [r2, #0] - 8008d8e: e00b b.n 8008da8 - 8008d90: 4b6f ldr r3, [pc, #444] ; (8008f50 ) - 8008d92: 681b ldr r3, [r3, #0] - 8008d94: 4a6e ldr r2, [pc, #440] ; (8008f50 ) - 8008d96: f423 3380 bic.w r3, r3, #65536 ; 0x10000 - 8008d9a: 6013 str r3, [r2, #0] - 8008d9c: 4b6c ldr r3, [pc, #432] ; (8008f50 ) - 8008d9e: 681b ldr r3, [r3, #0] - 8008da0: 4a6b ldr r2, [pc, #428] ; (8008f50 ) - 8008da2: f423 2380 bic.w r3, r3, #262144 ; 0x40000 - 8008da6: 6013 str r3, [r2, #0] + 80088ce: 687b ldr r3, [r7, #4] + 80088d0: 685b ldr r3, [r3, #4] + 80088d2: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 80088d6: d106 bne.n 80088e6 + 80088d8: 4b84 ldr r3, [pc, #528] ; (8008aec ) + 80088da: 681b ldr r3, [r3, #0] + 80088dc: 4a83 ldr r2, [pc, #524] ; (8008aec ) + 80088de: f443 3380 orr.w r3, r3, #65536 ; 0x10000 + 80088e2: 6013 str r3, [r2, #0] + 80088e4: e02e b.n 8008944 + 80088e6: 687b ldr r3, [r7, #4] + 80088e8: 685b ldr r3, [r3, #4] + 80088ea: 2b00 cmp r3, #0 + 80088ec: d10c bne.n 8008908 + 80088ee: 4b7f ldr r3, [pc, #508] ; (8008aec ) + 80088f0: 681b ldr r3, [r3, #0] + 80088f2: 4a7e ldr r2, [pc, #504] ; (8008aec ) + 80088f4: f423 3380 bic.w r3, r3, #65536 ; 0x10000 + 80088f8: 6013 str r3, [r2, #0] + 80088fa: 4b7c ldr r3, [pc, #496] ; (8008aec ) + 80088fc: 681b ldr r3, [r3, #0] + 80088fe: 4a7b ldr r2, [pc, #492] ; (8008aec ) + 8008900: f423 2380 bic.w r3, r3, #262144 ; 0x40000 + 8008904: 6013 str r3, [r2, #0] + 8008906: e01d b.n 8008944 + 8008908: 687b ldr r3, [r7, #4] + 800890a: 685b ldr r3, [r3, #4] + 800890c: f5b3 2fa0 cmp.w r3, #327680 ; 0x50000 + 8008910: d10c bne.n 800892c + 8008912: 4b76 ldr r3, [pc, #472] ; (8008aec ) + 8008914: 681b ldr r3, [r3, #0] + 8008916: 4a75 ldr r2, [pc, #468] ; (8008aec ) + 8008918: f443 2380 orr.w r3, r3, #262144 ; 0x40000 + 800891c: 6013 str r3, [r2, #0] + 800891e: 4b73 ldr r3, [pc, #460] ; (8008aec ) + 8008920: 681b ldr r3, [r3, #0] + 8008922: 4a72 ldr r2, [pc, #456] ; (8008aec ) + 8008924: f443 3380 orr.w r3, r3, #65536 ; 0x10000 + 8008928: 6013 str r3, [r2, #0] + 800892a: e00b b.n 8008944 + 800892c: 4b6f ldr r3, [pc, #444] ; (8008aec ) + 800892e: 681b ldr r3, [r3, #0] + 8008930: 4a6e ldr r2, [pc, #440] ; (8008aec ) + 8008932: f423 3380 bic.w r3, r3, #65536 ; 0x10000 + 8008936: 6013 str r3, [r2, #0] + 8008938: 4b6c ldr r3, [pc, #432] ; (8008aec ) + 800893a: 681b ldr r3, [r3, #0] + 800893c: 4a6b ldr r2, [pc, #428] ; (8008aec ) + 800893e: f423 2380 bic.w r3, r3, #262144 ; 0x40000 + 8008942: 6013 str r3, [r2, #0] /* Check the HSE State */ if (RCC_OscInitStruct->HSEState != RCC_HSE_OFF) - 8008da8: 687b ldr r3, [r7, #4] - 8008daa: 685b ldr r3, [r3, #4] - 8008dac: 2b00 cmp r3, #0 - 8008dae: d013 beq.n 8008dd8 + 8008944: 687b ldr r3, [r7, #4] + 8008946: 685b ldr r3, [r3, #4] + 8008948: 2b00 cmp r3, #0 + 800894a: d013 beq.n 8008974 { /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8008db0: f7fc f83e bl 8004e30 - 8008db4: 6138 str r0, [r7, #16] + 800894c: f7fc f824 bl 8004998 + 8008950: 6138 str r0, [r7, #16] /* Wait till HSE is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 8008db6: e008 b.n 8008dca + 8008952: e008 b.n 8008966 { if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE) - 8008db8: f7fc f83a bl 8004e30 - 8008dbc: 4602 mov r2, r0 - 8008dbe: 693b ldr r3, [r7, #16] - 8008dc0: 1ad3 subs r3, r2, r3 - 8008dc2: 2b64 cmp r3, #100 ; 0x64 - 8008dc4: d901 bls.n 8008dca + 8008954: f7fc f820 bl 8004998 + 8008958: 4602 mov r2, r0 + 800895a: 693b ldr r3, [r7, #16] + 800895c: 1ad3 subs r3, r2, r3 + 800895e: 2b64 cmp r3, #100 ; 0x64 + 8008960: d901 bls.n 8008966 { return HAL_TIMEOUT; - 8008dc6: 2303 movs r3, #3 - 8008dc8: e21f b.n 800920a + 8008962: 2303 movs r3, #3 + 8008964: e21f b.n 8008da6 while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 8008dca: 4b61 ldr r3, [pc, #388] ; (8008f50 ) - 8008dcc: 681b ldr r3, [r3, #0] - 8008dce: f403 3300 and.w r3, r3, #131072 ; 0x20000 - 8008dd2: 2b00 cmp r3, #0 - 8008dd4: d0f0 beq.n 8008db8 - 8008dd6: e014 b.n 8008e02 + 8008966: 4b61 ldr r3, [pc, #388] ; (8008aec ) + 8008968: 681b ldr r3, [r3, #0] + 800896a: f403 3300 and.w r3, r3, #131072 ; 0x20000 + 800896e: 2b00 cmp r3, #0 + 8008970: d0f0 beq.n 8008954 + 8008972: e014 b.n 800899e } } else { /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8008dd8: f7fc f82a bl 8004e30 - 8008ddc: 6138 str r0, [r7, #16] + 8008974: f7fc f810 bl 8004998 + 8008978: 6138 str r0, [r7, #16] /* Wait till HSE is bypassed or disabled */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) - 8008dde: e008 b.n 8008df2 + 800897a: e008 b.n 800898e { if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE) - 8008de0: f7fc f826 bl 8004e30 - 8008de4: 4602 mov r2, r0 - 8008de6: 693b ldr r3, [r7, #16] - 8008de8: 1ad3 subs r3, r2, r3 - 8008dea: 2b64 cmp r3, #100 ; 0x64 - 8008dec: d901 bls.n 8008df2 + 800897c: f7fc f80c bl 8004998 + 8008980: 4602 mov r2, r0 + 8008982: 693b ldr r3, [r7, #16] + 8008984: 1ad3 subs r3, r2, r3 + 8008986: 2b64 cmp r3, #100 ; 0x64 + 8008988: d901 bls.n 800898e { return HAL_TIMEOUT; - 8008dee: 2303 movs r3, #3 - 8008df0: e20b b.n 800920a + 800898a: 2303 movs r3, #3 + 800898c: e20b b.n 8008da6 while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) - 8008df2: 4b57 ldr r3, [pc, #348] ; (8008f50 ) - 8008df4: 681b ldr r3, [r3, #0] - 8008df6: f403 3300 and.w r3, r3, #131072 ; 0x20000 - 8008dfa: 2b00 cmp r3, #0 - 8008dfc: d1f0 bne.n 8008de0 - 8008dfe: e000 b.n 8008e02 + 800898e: 4b57 ldr r3, [pc, #348] ; (8008aec ) + 8008990: 681b ldr r3, [r3, #0] + 8008992: f403 3300 and.w r3, r3, #131072 ; 0x20000 + 8008996: 2b00 cmp r3, #0 + 8008998: d1f0 bne.n 800897c + 800899a: e000 b.n 800899e if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) - 8008e00: bf00 nop + 800899c: bf00 nop } } } } /*----------------------------- HSI Configuration --------------------------*/ if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSI) == RCC_OSCILLATORTYPE_HSI) - 8008e02: 687b ldr r3, [r7, #4] - 8008e04: 681b ldr r3, [r3, #0] - 8008e06: f003 0302 and.w r3, r3, #2 - 8008e0a: 2b00 cmp r3, #0 - 8008e0c: d069 beq.n 8008ee2 + 800899e: 687b ldr r3, [r7, #4] + 80089a0: 681b ldr r3, [r3, #0] + 80089a2: f003 0302 and.w r3, r3, #2 + 80089a6: 2b00 cmp r3, #0 + 80089a8: d069 beq.n 8008a7e /* Check the parameters */ assert_param(IS_RCC_HSI(RCC_OscInitStruct->HSIState)); assert_param(IS_RCC_CALIBRATION_VALUE(RCC_OscInitStruct->HSICalibrationValue)); /* Check if HSI is used as system clock or as PLL source when PLL is selected as system clock */ if ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_HSI) - 8008e0e: 4b50 ldr r3, [pc, #320] ; (8008f50 ) - 8008e10: 689b ldr r3, [r3, #8] - 8008e12: f003 030c and.w r3, r3, #12 - 8008e16: 2b00 cmp r3, #0 - 8008e18: d00b beq.n 8008e32 + 80089aa: 4b50 ldr r3, [pc, #320] ; (8008aec ) + 80089ac: 689b ldr r3, [r3, #8] + 80089ae: f003 030c and.w r3, r3, #12 + 80089b2: 2b00 cmp r3, #0 + 80089b4: d00b beq.n 80089ce || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSI))) - 8008e1a: 4b4d ldr r3, [pc, #308] ; (8008f50 ) - 8008e1c: 689b ldr r3, [r3, #8] - 8008e1e: f003 030c and.w r3, r3, #12 - 8008e22: 2b08 cmp r3, #8 - 8008e24: d11c bne.n 8008e60 - 8008e26: 4b4a ldr r3, [pc, #296] ; (8008f50 ) - 8008e28: 685b ldr r3, [r3, #4] - 8008e2a: f403 0380 and.w r3, r3, #4194304 ; 0x400000 - 8008e2e: 2b00 cmp r3, #0 - 8008e30: d116 bne.n 8008e60 + 80089b6: 4b4d ldr r3, [pc, #308] ; (8008aec ) + 80089b8: 689b ldr r3, [r3, #8] + 80089ba: f003 030c and.w r3, r3, #12 + 80089be: 2b08 cmp r3, #8 + 80089c0: d11c bne.n 80089fc + 80089c2: 4b4a ldr r3, [pc, #296] ; (8008aec ) + 80089c4: 685b ldr r3, [r3, #4] + 80089c6: f403 0380 and.w r3, r3, #4194304 ; 0x400000 + 80089ca: 2b00 cmp r3, #0 + 80089cc: d116 bne.n 80089fc { /* When HSI is used as system clock it will not disabled */ if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_ON)) - 8008e32: 4b47 ldr r3, [pc, #284] ; (8008f50 ) - 8008e34: 681b ldr r3, [r3, #0] - 8008e36: f003 0302 and.w r3, r3, #2 - 8008e3a: 2b00 cmp r3, #0 - 8008e3c: d005 beq.n 8008e4a - 8008e3e: 687b ldr r3, [r7, #4] - 8008e40: 68db ldr r3, [r3, #12] - 8008e42: 2b01 cmp r3, #1 - 8008e44: d001 beq.n 8008e4a + 80089ce: 4b47 ldr r3, [pc, #284] ; (8008aec ) + 80089d0: 681b ldr r3, [r3, #0] + 80089d2: f003 0302 and.w r3, r3, #2 + 80089d6: 2b00 cmp r3, #0 + 80089d8: d005 beq.n 80089e6 + 80089da: 687b ldr r3, [r7, #4] + 80089dc: 68db ldr r3, [r3, #12] + 80089de: 2b01 cmp r3, #1 + 80089e0: d001 beq.n 80089e6 { return HAL_ERROR; - 8008e46: 2301 movs r3, #1 - 8008e48: e1df b.n 800920a + 80089e2: 2301 movs r3, #1 + 80089e4: e1df b.n 8008da6 } /* Otherwise, just the calibration is allowed */ else { /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/ __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue); - 8008e4a: 4b41 ldr r3, [pc, #260] ; (8008f50 ) - 8008e4c: 681b ldr r3, [r3, #0] - 8008e4e: f023 02f8 bic.w r2, r3, #248 ; 0xf8 - 8008e52: 687b ldr r3, [r7, #4] - 8008e54: 691b ldr r3, [r3, #16] - 8008e56: 00db lsls r3, r3, #3 - 8008e58: 493d ldr r1, [pc, #244] ; (8008f50 ) - 8008e5a: 4313 orrs r3, r2 - 8008e5c: 600b str r3, [r1, #0] + 80089e6: 4b41 ldr r3, [pc, #260] ; (8008aec ) + 80089e8: 681b ldr r3, [r3, #0] + 80089ea: f023 02f8 bic.w r2, r3, #248 ; 0xf8 + 80089ee: 687b ldr r3, [r7, #4] + 80089f0: 691b ldr r3, [r3, #16] + 80089f2: 00db lsls r3, r3, #3 + 80089f4: 493d ldr r1, [pc, #244] ; (8008aec ) + 80089f6: 4313 orrs r3, r2 + 80089f8: 600b str r3, [r1, #0] if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_ON)) - 8008e5e: e040 b.n 8008ee2 + 80089fa: e040 b.n 8008a7e } } else { /* Check the HSI State */ if ((RCC_OscInitStruct->HSIState) != RCC_HSI_OFF) - 8008e60: 687b ldr r3, [r7, #4] - 8008e62: 68db ldr r3, [r3, #12] - 8008e64: 2b00 cmp r3, #0 - 8008e66: d023 beq.n 8008eb0 + 80089fc: 687b ldr r3, [r7, #4] + 80089fe: 68db ldr r3, [r3, #12] + 8008a00: 2b00 cmp r3, #0 + 8008a02: d023 beq.n 8008a4c { /* Enable the Internal High Speed oscillator (HSI). */ __HAL_RCC_HSI_ENABLE(); - 8008e68: 4b39 ldr r3, [pc, #228] ; (8008f50 ) - 8008e6a: 681b ldr r3, [r3, #0] - 8008e6c: 4a38 ldr r2, [pc, #224] ; (8008f50 ) - 8008e6e: f043 0301 orr.w r3, r3, #1 - 8008e72: 6013 str r3, [r2, #0] + 8008a04: 4b39 ldr r3, [pc, #228] ; (8008aec ) + 8008a06: 681b ldr r3, [r3, #0] + 8008a08: 4a38 ldr r2, [pc, #224] ; (8008aec ) + 8008a0a: f043 0301 orr.w r3, r3, #1 + 8008a0e: 6013 str r3, [r2, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8008e74: f7fb ffdc bl 8004e30 - 8008e78: 6138 str r0, [r7, #16] + 8008a10: f7fb ffc2 bl 8004998 + 8008a14: 6138 str r0, [r7, #16] /* Wait till HSI is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 8008e7a: e008 b.n 8008e8e + 8008a16: e008 b.n 8008a2a { if ((HAL_GetTick() - tickstart) > HSI_TIMEOUT_VALUE) - 8008e7c: f7fb ffd8 bl 8004e30 - 8008e80: 4602 mov r2, r0 - 8008e82: 693b ldr r3, [r7, #16] - 8008e84: 1ad3 subs r3, r2, r3 - 8008e86: 2b02 cmp r3, #2 - 8008e88: d901 bls.n 8008e8e + 8008a18: f7fb ffbe bl 8004998 + 8008a1c: 4602 mov r2, r0 + 8008a1e: 693b ldr r3, [r7, #16] + 8008a20: 1ad3 subs r3, r2, r3 + 8008a22: 2b02 cmp r3, #2 + 8008a24: d901 bls.n 8008a2a { return HAL_TIMEOUT; - 8008e8a: 2303 movs r3, #3 - 8008e8c: e1bd b.n 800920a + 8008a26: 2303 movs r3, #3 + 8008a28: e1bd b.n 8008da6 while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 8008e8e: 4b30 ldr r3, [pc, #192] ; (8008f50 ) - 8008e90: 681b ldr r3, [r3, #0] - 8008e92: f003 0302 and.w r3, r3, #2 - 8008e96: 2b00 cmp r3, #0 - 8008e98: d0f0 beq.n 8008e7c + 8008a2a: 4b30 ldr r3, [pc, #192] ; (8008aec ) + 8008a2c: 681b ldr r3, [r3, #0] + 8008a2e: f003 0302 and.w r3, r3, #2 + 8008a32: 2b00 cmp r3, #0 + 8008a34: d0f0 beq.n 8008a18 } } /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/ __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue); - 8008e9a: 4b2d ldr r3, [pc, #180] ; (8008f50 ) - 8008e9c: 681b ldr r3, [r3, #0] - 8008e9e: f023 02f8 bic.w r2, r3, #248 ; 0xf8 - 8008ea2: 687b ldr r3, [r7, #4] - 8008ea4: 691b ldr r3, [r3, #16] - 8008ea6: 00db lsls r3, r3, #3 - 8008ea8: 4929 ldr r1, [pc, #164] ; (8008f50 ) - 8008eaa: 4313 orrs r3, r2 - 8008eac: 600b str r3, [r1, #0] - 8008eae: e018 b.n 8008ee2 + 8008a36: 4b2d ldr r3, [pc, #180] ; (8008aec ) + 8008a38: 681b ldr r3, [r3, #0] + 8008a3a: f023 02f8 bic.w r2, r3, #248 ; 0xf8 + 8008a3e: 687b ldr r3, [r7, #4] + 8008a40: 691b ldr r3, [r3, #16] + 8008a42: 00db lsls r3, r3, #3 + 8008a44: 4929 ldr r1, [pc, #164] ; (8008aec ) + 8008a46: 4313 orrs r3, r2 + 8008a48: 600b str r3, [r1, #0] + 8008a4a: e018 b.n 8008a7e } else { /* Disable the Internal High Speed oscillator (HSI). */ __HAL_RCC_HSI_DISABLE(); - 8008eb0: 4b27 ldr r3, [pc, #156] ; (8008f50 ) - 8008eb2: 681b ldr r3, [r3, #0] - 8008eb4: 4a26 ldr r2, [pc, #152] ; (8008f50 ) - 8008eb6: f023 0301 bic.w r3, r3, #1 - 8008eba: 6013 str r3, [r2, #0] + 8008a4c: 4b27 ldr r3, [pc, #156] ; (8008aec ) + 8008a4e: 681b ldr r3, [r3, #0] + 8008a50: 4a26 ldr r2, [pc, #152] ; (8008aec ) + 8008a52: f023 0301 bic.w r3, r3, #1 + 8008a56: 6013 str r3, [r2, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8008ebc: f7fb ffb8 bl 8004e30 - 8008ec0: 6138 str r0, [r7, #16] + 8008a58: f7fb ff9e bl 8004998 + 8008a5c: 6138 str r0, [r7, #16] /* Wait till HSI is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) - 8008ec2: e008 b.n 8008ed6 + 8008a5e: e008 b.n 8008a72 { if ((HAL_GetTick() - tickstart) > HSI_TIMEOUT_VALUE) - 8008ec4: f7fb ffb4 bl 8004e30 - 8008ec8: 4602 mov r2, r0 - 8008eca: 693b ldr r3, [r7, #16] - 8008ecc: 1ad3 subs r3, r2, r3 - 8008ece: 2b02 cmp r3, #2 - 8008ed0: d901 bls.n 8008ed6 + 8008a60: f7fb ff9a bl 8004998 + 8008a64: 4602 mov r2, r0 + 8008a66: 693b ldr r3, [r7, #16] + 8008a68: 1ad3 subs r3, r2, r3 + 8008a6a: 2b02 cmp r3, #2 + 8008a6c: d901 bls.n 8008a72 { return HAL_TIMEOUT; - 8008ed2: 2303 movs r3, #3 - 8008ed4: e199 b.n 800920a + 8008a6e: 2303 movs r3, #3 + 8008a70: e199 b.n 8008da6 while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) - 8008ed6: 4b1e ldr r3, [pc, #120] ; (8008f50 ) - 8008ed8: 681b ldr r3, [r3, #0] - 8008eda: f003 0302 and.w r3, r3, #2 - 8008ede: 2b00 cmp r3, #0 - 8008ee0: d1f0 bne.n 8008ec4 + 8008a72: 4b1e ldr r3, [pc, #120] ; (8008aec ) + 8008a74: 681b ldr r3, [r3, #0] + 8008a76: f003 0302 and.w r3, r3, #2 + 8008a7a: 2b00 cmp r3, #0 + 8008a7c: d1f0 bne.n 8008a60 } } } } /*------------------------------ LSI Configuration -------------------------*/ if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSI) == RCC_OSCILLATORTYPE_LSI) - 8008ee2: 687b ldr r3, [r7, #4] - 8008ee4: 681b ldr r3, [r3, #0] - 8008ee6: f003 0308 and.w r3, r3, #8 - 8008eea: 2b00 cmp r3, #0 - 8008eec: d038 beq.n 8008f60 + 8008a7e: 687b ldr r3, [r7, #4] + 8008a80: 681b ldr r3, [r3, #0] + 8008a82: f003 0308 and.w r3, r3, #8 + 8008a86: 2b00 cmp r3, #0 + 8008a88: d038 beq.n 8008afc { /* Check the parameters */ assert_param(IS_RCC_LSI(RCC_OscInitStruct->LSIState)); /* Check the LSI State */ if ((RCC_OscInitStruct->LSIState) != RCC_LSI_OFF) - 8008eee: 687b ldr r3, [r7, #4] - 8008ef0: 695b ldr r3, [r3, #20] - 8008ef2: 2b00 cmp r3, #0 - 8008ef4: d019 beq.n 8008f2a + 8008a8a: 687b ldr r3, [r7, #4] + 8008a8c: 695b ldr r3, [r3, #20] + 8008a8e: 2b00 cmp r3, #0 + 8008a90: d019 beq.n 8008ac6 { /* Enable the Internal Low Speed oscillator (LSI). */ __HAL_RCC_LSI_ENABLE(); - 8008ef6: 4b16 ldr r3, [pc, #88] ; (8008f50 ) - 8008ef8: 6f5b ldr r3, [r3, #116] ; 0x74 - 8008efa: 4a15 ldr r2, [pc, #84] ; (8008f50 ) - 8008efc: f043 0301 orr.w r3, r3, #1 - 8008f00: 6753 str r3, [r2, #116] ; 0x74 + 8008a92: 4b16 ldr r3, [pc, #88] ; (8008aec ) + 8008a94: 6f5b ldr r3, [r3, #116] ; 0x74 + 8008a96: 4a15 ldr r2, [pc, #84] ; (8008aec ) + 8008a98: f043 0301 orr.w r3, r3, #1 + 8008a9c: 6753 str r3, [r2, #116] ; 0x74 /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8008f02: f7fb ff95 bl 8004e30 - 8008f06: 6138 str r0, [r7, #16] + 8008a9e: f7fb ff7b bl 8004998 + 8008aa2: 6138 str r0, [r7, #16] /* Wait till LSI is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET) - 8008f08: e008 b.n 8008f1c + 8008aa4: e008 b.n 8008ab8 { if ((HAL_GetTick() - tickstart) > LSI_TIMEOUT_VALUE) - 8008f0a: f7fb ff91 bl 8004e30 - 8008f0e: 4602 mov r2, r0 - 8008f10: 693b ldr r3, [r7, #16] - 8008f12: 1ad3 subs r3, r2, r3 - 8008f14: 2b02 cmp r3, #2 - 8008f16: d901 bls.n 8008f1c + 8008aa6: f7fb ff77 bl 8004998 + 8008aaa: 4602 mov r2, r0 + 8008aac: 693b ldr r3, [r7, #16] + 8008aae: 1ad3 subs r3, r2, r3 + 8008ab0: 2b02 cmp r3, #2 + 8008ab2: d901 bls.n 8008ab8 { return HAL_TIMEOUT; - 8008f18: 2303 movs r3, #3 - 8008f1a: e176 b.n 800920a + 8008ab4: 2303 movs r3, #3 + 8008ab6: e176 b.n 8008da6 while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET) - 8008f1c: 4b0c ldr r3, [pc, #48] ; (8008f50 ) - 8008f1e: 6f5b ldr r3, [r3, #116] ; 0x74 - 8008f20: f003 0302 and.w r3, r3, #2 - 8008f24: 2b00 cmp r3, #0 - 8008f26: d0f0 beq.n 8008f0a - 8008f28: e01a b.n 8008f60 + 8008ab8: 4b0c ldr r3, [pc, #48] ; (8008aec ) + 8008aba: 6f5b ldr r3, [r3, #116] ; 0x74 + 8008abc: f003 0302 and.w r3, r3, #2 + 8008ac0: 2b00 cmp r3, #0 + 8008ac2: d0f0 beq.n 8008aa6 + 8008ac4: e01a b.n 8008afc } } else { /* Disable the Internal Low Speed oscillator (LSI). */ __HAL_RCC_LSI_DISABLE(); - 8008f2a: 4b09 ldr r3, [pc, #36] ; (8008f50 ) - 8008f2c: 6f5b ldr r3, [r3, #116] ; 0x74 - 8008f2e: 4a08 ldr r2, [pc, #32] ; (8008f50 ) - 8008f30: f023 0301 bic.w r3, r3, #1 - 8008f34: 6753 str r3, [r2, #116] ; 0x74 + 8008ac6: 4b09 ldr r3, [pc, #36] ; (8008aec ) + 8008ac8: 6f5b ldr r3, [r3, #116] ; 0x74 + 8008aca: 4a08 ldr r2, [pc, #32] ; (8008aec ) + 8008acc: f023 0301 bic.w r3, r3, #1 + 8008ad0: 6753 str r3, [r2, #116] ; 0x74 /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8008f36: f7fb ff7b bl 8004e30 - 8008f3a: 6138 str r0, [r7, #16] + 8008ad2: f7fb ff61 bl 8004998 + 8008ad6: 6138 str r0, [r7, #16] /* Wait till LSI is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET) - 8008f3c: e00a b.n 8008f54 + 8008ad8: e00a b.n 8008af0 { if ((HAL_GetTick() - tickstart) > LSI_TIMEOUT_VALUE) - 8008f3e: f7fb ff77 bl 8004e30 - 8008f42: 4602 mov r2, r0 - 8008f44: 693b ldr r3, [r7, #16] - 8008f46: 1ad3 subs r3, r2, r3 - 8008f48: 2b02 cmp r3, #2 - 8008f4a: d903 bls.n 8008f54 + 8008ada: f7fb ff5d bl 8004998 + 8008ade: 4602 mov r2, r0 + 8008ae0: 693b ldr r3, [r7, #16] + 8008ae2: 1ad3 subs r3, r2, r3 + 8008ae4: 2b02 cmp r3, #2 + 8008ae6: d903 bls.n 8008af0 { return HAL_TIMEOUT; - 8008f4c: 2303 movs r3, #3 - 8008f4e: e15c b.n 800920a - 8008f50: 40023800 .word 0x40023800 + 8008ae8: 2303 movs r3, #3 + 8008aea: e15c b.n 8008da6 + 8008aec: 40023800 .word 0x40023800 while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET) - 8008f54: 4b91 ldr r3, [pc, #580] ; (800919c ) - 8008f56: 6f5b ldr r3, [r3, #116] ; 0x74 - 8008f58: f003 0302 and.w r3, r3, #2 - 8008f5c: 2b00 cmp r3, #0 - 8008f5e: d1ee bne.n 8008f3e + 8008af0: 4b91 ldr r3, [pc, #580] ; (8008d38 ) + 8008af2: 6f5b ldr r3, [r3, #116] ; 0x74 + 8008af4: f003 0302 and.w r3, r3, #2 + 8008af8: 2b00 cmp r3, #0 + 8008afa: d1ee bne.n 8008ada } } } } /*------------------------------ LSE Configuration -------------------------*/ if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSE) == RCC_OSCILLATORTYPE_LSE) - 8008f60: 687b ldr r3, [r7, #4] - 8008f62: 681b ldr r3, [r3, #0] - 8008f64: f003 0304 and.w r3, r3, #4 - 8008f68: 2b00 cmp r3, #0 - 8008f6a: f000 80a4 beq.w 80090b6 + 8008afc: 687b ldr r3, [r7, #4] + 8008afe: 681b ldr r3, [r3, #0] + 8008b00: f003 0304 and.w r3, r3, #4 + 8008b04: 2b00 cmp r3, #0 + 8008b06: f000 80a4 beq.w 8008c52 /* Check the parameters */ assert_param(IS_RCC_LSE(RCC_OscInitStruct->LSEState)); /* Update LSE configuration in Backup Domain control register */ /* Requires to enable write access to Backup Domain of necessary */ if (__HAL_RCC_PWR_IS_CLK_DISABLED()) - 8008f6e: 4b8b ldr r3, [pc, #556] ; (800919c ) - 8008f70: 6c1b ldr r3, [r3, #64] ; 0x40 - 8008f72: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 - 8008f76: 2b00 cmp r3, #0 - 8008f78: d10d bne.n 8008f96 + 8008b0a: 4b8b ldr r3, [pc, #556] ; (8008d38 ) + 8008b0c: 6c1b ldr r3, [r3, #64] ; 0x40 + 8008b0e: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 + 8008b12: 2b00 cmp r3, #0 + 8008b14: d10d bne.n 8008b32 { /* Enable Power Clock*/ __HAL_RCC_PWR_CLK_ENABLE(); - 8008f7a: 4b88 ldr r3, [pc, #544] ; (800919c ) - 8008f7c: 6c1b ldr r3, [r3, #64] ; 0x40 - 8008f7e: 4a87 ldr r2, [pc, #540] ; (800919c ) - 8008f80: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 - 8008f84: 6413 str r3, [r2, #64] ; 0x40 - 8008f86: 4b85 ldr r3, [pc, #532] ; (800919c ) - 8008f88: 6c1b ldr r3, [r3, #64] ; 0x40 - 8008f8a: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 - 8008f8e: 60bb str r3, [r7, #8] - 8008f90: 68bb ldr r3, [r7, #8] + 8008b16: 4b88 ldr r3, [pc, #544] ; (8008d38 ) + 8008b18: 6c1b ldr r3, [r3, #64] ; 0x40 + 8008b1a: 4a87 ldr r2, [pc, #540] ; (8008d38 ) + 8008b1c: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 + 8008b20: 6413 str r3, [r2, #64] ; 0x40 + 8008b22: 4b85 ldr r3, [pc, #532] ; (8008d38 ) + 8008b24: 6c1b ldr r3, [r3, #64] ; 0x40 + 8008b26: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 + 8008b2a: 60bb str r3, [r7, #8] + 8008b2c: 68bb ldr r3, [r7, #8] pwrclkchanged = SET; - 8008f92: 2301 movs r3, #1 - 8008f94: 75fb strb r3, [r7, #23] + 8008b2e: 2301 movs r3, #1 + 8008b30: 75fb strb r3, [r7, #23] } if (HAL_IS_BIT_CLR(PWR->CR1, PWR_CR1_DBP)) - 8008f96: 4b82 ldr r3, [pc, #520] ; (80091a0 ) - 8008f98: 681b ldr r3, [r3, #0] - 8008f9a: f403 7380 and.w r3, r3, #256 ; 0x100 - 8008f9e: 2b00 cmp r3, #0 - 8008fa0: d118 bne.n 8008fd4 + 8008b32: 4b82 ldr r3, [pc, #520] ; (8008d3c ) + 8008b34: 681b ldr r3, [r3, #0] + 8008b36: f403 7380 and.w r3, r3, #256 ; 0x100 + 8008b3a: 2b00 cmp r3, #0 + 8008b3c: d118 bne.n 8008b70 { /* Enable write access to Backup domain */ PWR->CR1 |= PWR_CR1_DBP; - 8008fa2: 4b7f ldr r3, [pc, #508] ; (80091a0 ) - 8008fa4: 681b ldr r3, [r3, #0] - 8008fa6: 4a7e ldr r2, [pc, #504] ; (80091a0 ) - 8008fa8: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8008fac: 6013 str r3, [r2, #0] + 8008b3e: 4b7f ldr r3, [pc, #508] ; (8008d3c ) + 8008b40: 681b ldr r3, [r3, #0] + 8008b42: 4a7e ldr r2, [pc, #504] ; (8008d3c ) + 8008b44: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8008b48: 6013 str r3, [r2, #0] /* Wait for Backup domain Write protection disable */ tickstart = HAL_GetTick(); - 8008fae: f7fb ff3f bl 8004e30 - 8008fb2: 6138 str r0, [r7, #16] + 8008b4a: f7fb ff25 bl 8004998 + 8008b4e: 6138 str r0, [r7, #16] while (HAL_IS_BIT_CLR(PWR->CR1, PWR_CR1_DBP)) - 8008fb4: e008 b.n 8008fc8 + 8008b50: e008 b.n 8008b64 { if ((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE) - 8008fb6: f7fb ff3b bl 8004e30 - 8008fba: 4602 mov r2, r0 - 8008fbc: 693b ldr r3, [r7, #16] - 8008fbe: 1ad3 subs r3, r2, r3 - 8008fc0: 2b64 cmp r3, #100 ; 0x64 - 8008fc2: d901 bls.n 8008fc8 + 8008b52: f7fb ff21 bl 8004998 + 8008b56: 4602 mov r2, r0 + 8008b58: 693b ldr r3, [r7, #16] + 8008b5a: 1ad3 subs r3, r2, r3 + 8008b5c: 2b64 cmp r3, #100 ; 0x64 + 8008b5e: d901 bls.n 8008b64 { return HAL_TIMEOUT; - 8008fc4: 2303 movs r3, #3 - 8008fc6: e120 b.n 800920a + 8008b60: 2303 movs r3, #3 + 8008b62: e120 b.n 8008da6 while (HAL_IS_BIT_CLR(PWR->CR1, PWR_CR1_DBP)) - 8008fc8: 4b75 ldr r3, [pc, #468] ; (80091a0 ) - 8008fca: 681b ldr r3, [r3, #0] - 8008fcc: f403 7380 and.w r3, r3, #256 ; 0x100 - 8008fd0: 2b00 cmp r3, #0 - 8008fd2: d0f0 beq.n 8008fb6 + 8008b64: 4b75 ldr r3, [pc, #468] ; (8008d3c ) + 8008b66: 681b ldr r3, [r3, #0] + 8008b68: f403 7380 and.w r3, r3, #256 ; 0x100 + 8008b6c: 2b00 cmp r3, #0 + 8008b6e: d0f0 beq.n 8008b52 } } } /* Set the new LSE configuration -----------------------------------------*/ __HAL_RCC_LSE_CONFIG(RCC_OscInitStruct->LSEState); - 8008fd4: 687b ldr r3, [r7, #4] - 8008fd6: 689b ldr r3, [r3, #8] - 8008fd8: 2b01 cmp r3, #1 - 8008fda: d106 bne.n 8008fea - 8008fdc: 4b6f ldr r3, [pc, #444] ; (800919c ) - 8008fde: 6f1b ldr r3, [r3, #112] ; 0x70 - 8008fe0: 4a6e ldr r2, [pc, #440] ; (800919c ) - 8008fe2: f043 0301 orr.w r3, r3, #1 - 8008fe6: 6713 str r3, [r2, #112] ; 0x70 - 8008fe8: e02d b.n 8009046 - 8008fea: 687b ldr r3, [r7, #4] - 8008fec: 689b ldr r3, [r3, #8] - 8008fee: 2b00 cmp r3, #0 - 8008ff0: d10c bne.n 800900c - 8008ff2: 4b6a ldr r3, [pc, #424] ; (800919c ) - 8008ff4: 6f1b ldr r3, [r3, #112] ; 0x70 - 8008ff6: 4a69 ldr r2, [pc, #420] ; (800919c ) - 8008ff8: f023 0301 bic.w r3, r3, #1 - 8008ffc: 6713 str r3, [r2, #112] ; 0x70 - 8008ffe: 4b67 ldr r3, [pc, #412] ; (800919c ) - 8009000: 6f1b ldr r3, [r3, #112] ; 0x70 - 8009002: 4a66 ldr r2, [pc, #408] ; (800919c ) - 8009004: f023 0304 bic.w r3, r3, #4 - 8009008: 6713 str r3, [r2, #112] ; 0x70 - 800900a: e01c b.n 8009046 - 800900c: 687b ldr r3, [r7, #4] - 800900e: 689b ldr r3, [r3, #8] - 8009010: 2b05 cmp r3, #5 - 8009012: d10c bne.n 800902e - 8009014: 4b61 ldr r3, [pc, #388] ; (800919c ) - 8009016: 6f1b ldr r3, [r3, #112] ; 0x70 - 8009018: 4a60 ldr r2, [pc, #384] ; (800919c ) - 800901a: f043 0304 orr.w r3, r3, #4 - 800901e: 6713 str r3, [r2, #112] ; 0x70 - 8009020: 4b5e ldr r3, [pc, #376] ; (800919c ) - 8009022: 6f1b ldr r3, [r3, #112] ; 0x70 - 8009024: 4a5d ldr r2, [pc, #372] ; (800919c ) - 8009026: f043 0301 orr.w r3, r3, #1 - 800902a: 6713 str r3, [r2, #112] ; 0x70 - 800902c: e00b b.n 8009046 - 800902e: 4b5b ldr r3, [pc, #364] ; (800919c ) - 8009030: 6f1b ldr r3, [r3, #112] ; 0x70 - 8009032: 4a5a ldr r2, [pc, #360] ; (800919c ) - 8009034: f023 0301 bic.w r3, r3, #1 - 8009038: 6713 str r3, [r2, #112] ; 0x70 - 800903a: 4b58 ldr r3, [pc, #352] ; (800919c ) - 800903c: 6f1b ldr r3, [r3, #112] ; 0x70 - 800903e: 4a57 ldr r2, [pc, #348] ; (800919c ) - 8009040: f023 0304 bic.w r3, r3, #4 - 8009044: 6713 str r3, [r2, #112] ; 0x70 + 8008b70: 687b ldr r3, [r7, #4] + 8008b72: 689b ldr r3, [r3, #8] + 8008b74: 2b01 cmp r3, #1 + 8008b76: d106 bne.n 8008b86 + 8008b78: 4b6f ldr r3, [pc, #444] ; (8008d38 ) + 8008b7a: 6f1b ldr r3, [r3, #112] ; 0x70 + 8008b7c: 4a6e ldr r2, [pc, #440] ; (8008d38 ) + 8008b7e: f043 0301 orr.w r3, r3, #1 + 8008b82: 6713 str r3, [r2, #112] ; 0x70 + 8008b84: e02d b.n 8008be2 + 8008b86: 687b ldr r3, [r7, #4] + 8008b88: 689b ldr r3, [r3, #8] + 8008b8a: 2b00 cmp r3, #0 + 8008b8c: d10c bne.n 8008ba8 + 8008b8e: 4b6a ldr r3, [pc, #424] ; (8008d38 ) + 8008b90: 6f1b ldr r3, [r3, #112] ; 0x70 + 8008b92: 4a69 ldr r2, [pc, #420] ; (8008d38 ) + 8008b94: f023 0301 bic.w r3, r3, #1 + 8008b98: 6713 str r3, [r2, #112] ; 0x70 + 8008b9a: 4b67 ldr r3, [pc, #412] ; (8008d38 ) + 8008b9c: 6f1b ldr r3, [r3, #112] ; 0x70 + 8008b9e: 4a66 ldr r2, [pc, #408] ; (8008d38 ) + 8008ba0: f023 0304 bic.w r3, r3, #4 + 8008ba4: 6713 str r3, [r2, #112] ; 0x70 + 8008ba6: e01c b.n 8008be2 + 8008ba8: 687b ldr r3, [r7, #4] + 8008baa: 689b ldr r3, [r3, #8] + 8008bac: 2b05 cmp r3, #5 + 8008bae: d10c bne.n 8008bca + 8008bb0: 4b61 ldr r3, [pc, #388] ; (8008d38 ) + 8008bb2: 6f1b ldr r3, [r3, #112] ; 0x70 + 8008bb4: 4a60 ldr r2, [pc, #384] ; (8008d38 ) + 8008bb6: f043 0304 orr.w r3, r3, #4 + 8008bba: 6713 str r3, [r2, #112] ; 0x70 + 8008bbc: 4b5e ldr r3, [pc, #376] ; (8008d38 ) + 8008bbe: 6f1b ldr r3, [r3, #112] ; 0x70 + 8008bc0: 4a5d ldr r2, [pc, #372] ; (8008d38 ) + 8008bc2: f043 0301 orr.w r3, r3, #1 + 8008bc6: 6713 str r3, [r2, #112] ; 0x70 + 8008bc8: e00b b.n 8008be2 + 8008bca: 4b5b ldr r3, [pc, #364] ; (8008d38 ) + 8008bcc: 6f1b ldr r3, [r3, #112] ; 0x70 + 8008bce: 4a5a ldr r2, [pc, #360] ; (8008d38 ) + 8008bd0: f023 0301 bic.w r3, r3, #1 + 8008bd4: 6713 str r3, [r2, #112] ; 0x70 + 8008bd6: 4b58 ldr r3, [pc, #352] ; (8008d38 ) + 8008bd8: 6f1b ldr r3, [r3, #112] ; 0x70 + 8008bda: 4a57 ldr r2, [pc, #348] ; (8008d38 ) + 8008bdc: f023 0304 bic.w r3, r3, #4 + 8008be0: 6713 str r3, [r2, #112] ; 0x70 /* Check the LSE State */ if ((RCC_OscInitStruct->LSEState) != RCC_LSE_OFF) - 8009046: 687b ldr r3, [r7, #4] - 8009048: 689b ldr r3, [r3, #8] - 800904a: 2b00 cmp r3, #0 - 800904c: d015 beq.n 800907a + 8008be2: 687b ldr r3, [r7, #4] + 8008be4: 689b ldr r3, [r3, #8] + 8008be6: 2b00 cmp r3, #0 + 8008be8: d015 beq.n 8008c16 { /* Get Start Tick*/ tickstart = HAL_GetTick(); - 800904e: f7fb feef bl 8004e30 - 8009052: 6138 str r0, [r7, #16] + 8008bea: f7fb fed5 bl 8004998 + 8008bee: 6138 str r0, [r7, #16] /* Wait till LSE is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET) - 8009054: e00a b.n 800906c + 8008bf0: e00a b.n 8008c08 { if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE) - 8009056: f7fb feeb bl 8004e30 - 800905a: 4602 mov r2, r0 - 800905c: 693b ldr r3, [r7, #16] - 800905e: 1ad3 subs r3, r2, r3 - 8009060: f241 3288 movw r2, #5000 ; 0x1388 - 8009064: 4293 cmp r3, r2 - 8009066: d901 bls.n 800906c + 8008bf2: f7fb fed1 bl 8004998 + 8008bf6: 4602 mov r2, r0 + 8008bf8: 693b ldr r3, [r7, #16] + 8008bfa: 1ad3 subs r3, r2, r3 + 8008bfc: f241 3288 movw r2, #5000 ; 0x1388 + 8008c00: 4293 cmp r3, r2 + 8008c02: d901 bls.n 8008c08 { return HAL_TIMEOUT; - 8009068: 2303 movs r3, #3 - 800906a: e0ce b.n 800920a + 8008c04: 2303 movs r3, #3 + 8008c06: e0ce b.n 8008da6 while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET) - 800906c: 4b4b ldr r3, [pc, #300] ; (800919c ) - 800906e: 6f1b ldr r3, [r3, #112] ; 0x70 - 8009070: f003 0302 and.w r3, r3, #2 - 8009074: 2b00 cmp r3, #0 - 8009076: d0ee beq.n 8009056 - 8009078: e014 b.n 80090a4 + 8008c08: 4b4b ldr r3, [pc, #300] ; (8008d38 ) + 8008c0a: 6f1b ldr r3, [r3, #112] ; 0x70 + 8008c0c: f003 0302 and.w r3, r3, #2 + 8008c10: 2b00 cmp r3, #0 + 8008c12: d0ee beq.n 8008bf2 + 8008c14: e014 b.n 8008c40 } } else { /* Get Start Tick*/ tickstart = HAL_GetTick(); - 800907a: f7fb fed9 bl 8004e30 - 800907e: 6138 str r0, [r7, #16] + 8008c16: f7fb febf bl 8004998 + 8008c1a: 6138 str r0, [r7, #16] /* Wait till LSE is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET) - 8009080: e00a b.n 8009098 + 8008c1c: e00a b.n 8008c34 { if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE) - 8009082: f7fb fed5 bl 8004e30 - 8009086: 4602 mov r2, r0 - 8009088: 693b ldr r3, [r7, #16] - 800908a: 1ad3 subs r3, r2, r3 - 800908c: f241 3288 movw r2, #5000 ; 0x1388 - 8009090: 4293 cmp r3, r2 - 8009092: d901 bls.n 8009098 + 8008c1e: f7fb febb bl 8004998 + 8008c22: 4602 mov r2, r0 + 8008c24: 693b ldr r3, [r7, #16] + 8008c26: 1ad3 subs r3, r2, r3 + 8008c28: f241 3288 movw r2, #5000 ; 0x1388 + 8008c2c: 4293 cmp r3, r2 + 8008c2e: d901 bls.n 8008c34 { return HAL_TIMEOUT; - 8009094: 2303 movs r3, #3 - 8009096: e0b8 b.n 800920a + 8008c30: 2303 movs r3, #3 + 8008c32: e0b8 b.n 8008da6 while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET) - 8009098: 4b40 ldr r3, [pc, #256] ; (800919c ) - 800909a: 6f1b ldr r3, [r3, #112] ; 0x70 - 800909c: f003 0302 and.w r3, r3, #2 - 80090a0: 2b00 cmp r3, #0 - 80090a2: d1ee bne.n 8009082 + 8008c34: 4b40 ldr r3, [pc, #256] ; (8008d38 ) + 8008c36: 6f1b ldr r3, [r3, #112] ; 0x70 + 8008c38: f003 0302 and.w r3, r3, #2 + 8008c3c: 2b00 cmp r3, #0 + 8008c3e: d1ee bne.n 8008c1e } } } /* Restore clock configuration if changed */ if (pwrclkchanged == SET) - 80090a4: 7dfb ldrb r3, [r7, #23] - 80090a6: 2b01 cmp r3, #1 - 80090a8: d105 bne.n 80090b6 + 8008c40: 7dfb ldrb r3, [r7, #23] + 8008c42: 2b01 cmp r3, #1 + 8008c44: d105 bne.n 8008c52 { __HAL_RCC_PWR_CLK_DISABLE(); - 80090aa: 4b3c ldr r3, [pc, #240] ; (800919c ) - 80090ac: 6c1b ldr r3, [r3, #64] ; 0x40 - 80090ae: 4a3b ldr r2, [pc, #236] ; (800919c ) - 80090b0: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 - 80090b4: 6413 str r3, [r2, #64] ; 0x40 + 8008c46: 4b3c ldr r3, [pc, #240] ; (8008d38 ) + 8008c48: 6c1b ldr r3, [r3, #64] ; 0x40 + 8008c4a: 4a3b ldr r2, [pc, #236] ; (8008d38 ) + 8008c4c: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 + 8008c50: 6413 str r3, [r2, #64] ; 0x40 } } /*-------------------------------- PLL Configuration -----------------------*/ /* Check the parameters */ assert_param(IS_RCC_PLL(RCC_OscInitStruct->PLL.PLLState)); if ((RCC_OscInitStruct->PLL.PLLState) != RCC_PLL_NONE) - 80090b6: 687b ldr r3, [r7, #4] - 80090b8: 699b ldr r3, [r3, #24] - 80090ba: 2b00 cmp r3, #0 - 80090bc: f000 80a4 beq.w 8009208 + 8008c52: 687b ldr r3, [r7, #4] + 8008c54: 699b ldr r3, [r3, #24] + 8008c56: 2b00 cmp r3, #0 + 8008c58: f000 80a4 beq.w 8008da4 { /* Check if the PLL is used as system clock or not */ if (__HAL_RCC_GET_SYSCLK_SOURCE() != RCC_SYSCLKSOURCE_STATUS_PLLCLK) - 80090c0: 4b36 ldr r3, [pc, #216] ; (800919c ) - 80090c2: 689b ldr r3, [r3, #8] - 80090c4: f003 030c and.w r3, r3, #12 - 80090c8: 2b08 cmp r3, #8 - 80090ca: d06b beq.n 80091a4 + 8008c5c: 4b36 ldr r3, [pc, #216] ; (8008d38 ) + 8008c5e: 689b ldr r3, [r3, #8] + 8008c60: f003 030c and.w r3, r3, #12 + 8008c64: 2b08 cmp r3, #8 + 8008c66: d06b beq.n 8008d40 { if ((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_ON) - 80090cc: 687b ldr r3, [r7, #4] - 80090ce: 699b ldr r3, [r3, #24] - 80090d0: 2b02 cmp r3, #2 - 80090d2: d149 bne.n 8009168 + 8008c68: 687b ldr r3, [r7, #4] + 8008c6a: 699b ldr r3, [r3, #24] + 8008c6c: 2b02 cmp r3, #2 + 8008c6e: d149 bne.n 8008d04 #if defined (RCC_PLLCFGR_PLLR) assert_param(IS_RCC_PLLR_VALUE(RCC_OscInitStruct->PLL.PLLR)); #endif /* Disable the main PLL. */ __HAL_RCC_PLL_DISABLE(); - 80090d4: 4b31 ldr r3, [pc, #196] ; (800919c ) - 80090d6: 681b ldr r3, [r3, #0] - 80090d8: 4a30 ldr r2, [pc, #192] ; (800919c ) - 80090da: f023 7380 bic.w r3, r3, #16777216 ; 0x1000000 - 80090de: 6013 str r3, [r2, #0] + 8008c70: 4b31 ldr r3, [pc, #196] ; (8008d38 ) + 8008c72: 681b ldr r3, [r3, #0] + 8008c74: 4a30 ldr r2, [pc, #192] ; (8008d38 ) + 8008c76: f023 7380 bic.w r3, r3, #16777216 ; 0x1000000 + 8008c7a: 6013 str r3, [r2, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 80090e0: f7fb fea6 bl 8004e30 - 80090e4: 6138 str r0, [r7, #16] + 8008c7c: f7fb fe8c bl 8004998 + 8008c80: 6138 str r0, [r7, #16] /* Wait till PLL is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 80090e6: e008 b.n 80090fa + 8008c82: e008 b.n 8008c96 { if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE) - 80090e8: f7fb fea2 bl 8004e30 - 80090ec: 4602 mov r2, r0 - 80090ee: 693b ldr r3, [r7, #16] - 80090f0: 1ad3 subs r3, r2, r3 - 80090f2: 2b02 cmp r3, #2 - 80090f4: d901 bls.n 80090fa + 8008c84: f7fb fe88 bl 8004998 + 8008c88: 4602 mov r2, r0 + 8008c8a: 693b ldr r3, [r7, #16] + 8008c8c: 1ad3 subs r3, r2, r3 + 8008c8e: 2b02 cmp r3, #2 + 8008c90: d901 bls.n 8008c96 { return HAL_TIMEOUT; - 80090f6: 2303 movs r3, #3 - 80090f8: e087 b.n 800920a + 8008c92: 2303 movs r3, #3 + 8008c94: e087 b.n 8008da6 while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 80090fa: 4b28 ldr r3, [pc, #160] ; (800919c ) - 80090fc: 681b ldr r3, [r3, #0] - 80090fe: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 - 8009102: 2b00 cmp r3, #0 - 8009104: d1f0 bne.n 80090e8 + 8008c96: 4b28 ldr r3, [pc, #160] ; (8008d38 ) + 8008c98: 681b ldr r3, [r3, #0] + 8008c9a: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 + 8008c9e: 2b00 cmp r3, #0 + 8008ca0: d1f0 bne.n 8008c84 RCC_OscInitStruct->PLL.PLLN, RCC_OscInitStruct->PLL.PLLP, RCC_OscInitStruct->PLL.PLLQ, RCC_OscInitStruct->PLL.PLLR); #else __HAL_RCC_PLL_CONFIG(RCC_OscInitStruct->PLL.PLLSource, - 8009106: 687b ldr r3, [r7, #4] - 8009108: 69da ldr r2, [r3, #28] - 800910a: 687b ldr r3, [r7, #4] - 800910c: 6a1b ldr r3, [r3, #32] - 800910e: 431a orrs r2, r3 - 8009110: 687b ldr r3, [r7, #4] - 8009112: 6a5b ldr r3, [r3, #36] ; 0x24 - 8009114: 019b lsls r3, r3, #6 - 8009116: 431a orrs r2, r3 - 8009118: 687b ldr r3, [r7, #4] - 800911a: 6a9b ldr r3, [r3, #40] ; 0x28 - 800911c: 085b lsrs r3, r3, #1 - 800911e: 3b01 subs r3, #1 - 8009120: 041b lsls r3, r3, #16 - 8009122: 431a orrs r2, r3 - 8009124: 687b ldr r3, [r7, #4] - 8009126: 6adb ldr r3, [r3, #44] ; 0x2c - 8009128: 061b lsls r3, r3, #24 - 800912a: 4313 orrs r3, r2 - 800912c: 4a1b ldr r2, [pc, #108] ; (800919c ) - 800912e: f043 5300 orr.w r3, r3, #536870912 ; 0x20000000 - 8009132: 6053 str r3, [r2, #4] + 8008ca2: 687b ldr r3, [r7, #4] + 8008ca4: 69da ldr r2, [r3, #28] + 8008ca6: 687b ldr r3, [r7, #4] + 8008ca8: 6a1b ldr r3, [r3, #32] + 8008caa: 431a orrs r2, r3 + 8008cac: 687b ldr r3, [r7, #4] + 8008cae: 6a5b ldr r3, [r3, #36] ; 0x24 + 8008cb0: 019b lsls r3, r3, #6 + 8008cb2: 431a orrs r2, r3 + 8008cb4: 687b ldr r3, [r7, #4] + 8008cb6: 6a9b ldr r3, [r3, #40] ; 0x28 + 8008cb8: 085b lsrs r3, r3, #1 + 8008cba: 3b01 subs r3, #1 + 8008cbc: 041b lsls r3, r3, #16 + 8008cbe: 431a orrs r2, r3 + 8008cc0: 687b ldr r3, [r7, #4] + 8008cc2: 6adb ldr r3, [r3, #44] ; 0x2c + 8008cc4: 061b lsls r3, r3, #24 + 8008cc6: 4313 orrs r3, r2 + 8008cc8: 4a1b ldr r2, [pc, #108] ; (8008d38 ) + 8008cca: f043 5300 orr.w r3, r3, #536870912 ; 0x20000000 + 8008cce: 6053 str r3, [r2, #4] RCC_OscInitStruct->PLL.PLLP, RCC_OscInitStruct->PLL.PLLQ); #endif /* Enable the main PLL. */ __HAL_RCC_PLL_ENABLE(); - 8009134: 4b19 ldr r3, [pc, #100] ; (800919c ) - 8009136: 681b ldr r3, [r3, #0] - 8009138: 4a18 ldr r2, [pc, #96] ; (800919c ) - 800913a: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 - 800913e: 6013 str r3, [r2, #0] + 8008cd0: 4b19 ldr r3, [pc, #100] ; (8008d38 ) + 8008cd2: 681b ldr r3, [r3, #0] + 8008cd4: 4a18 ldr r2, [pc, #96] ; (8008d38 ) + 8008cd6: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 + 8008cda: 6013 str r3, [r2, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8009140: f7fb fe76 bl 8004e30 - 8009144: 6138 str r0, [r7, #16] + 8008cdc: f7fb fe5c bl 8004998 + 8008ce0: 6138 str r0, [r7, #16] /* Wait till PLL is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 8009146: e008 b.n 800915a + 8008ce2: e008 b.n 8008cf6 { if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE) - 8009148: f7fb fe72 bl 8004e30 - 800914c: 4602 mov r2, r0 - 800914e: 693b ldr r3, [r7, #16] - 8009150: 1ad3 subs r3, r2, r3 - 8009152: 2b02 cmp r3, #2 - 8009154: d901 bls.n 800915a + 8008ce4: f7fb fe58 bl 8004998 + 8008ce8: 4602 mov r2, r0 + 8008cea: 693b ldr r3, [r7, #16] + 8008cec: 1ad3 subs r3, r2, r3 + 8008cee: 2b02 cmp r3, #2 + 8008cf0: d901 bls.n 8008cf6 { return HAL_TIMEOUT; - 8009156: 2303 movs r3, #3 - 8009158: e057 b.n 800920a + 8008cf2: 2303 movs r3, #3 + 8008cf4: e057 b.n 8008da6 while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 800915a: 4b10 ldr r3, [pc, #64] ; (800919c ) - 800915c: 681b ldr r3, [r3, #0] - 800915e: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 - 8009162: 2b00 cmp r3, #0 - 8009164: d0f0 beq.n 8009148 - 8009166: e04f b.n 8009208 + 8008cf6: 4b10 ldr r3, [pc, #64] ; (8008d38 ) + 8008cf8: 681b ldr r3, [r3, #0] + 8008cfa: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 + 8008cfe: 2b00 cmp r3, #0 + 8008d00: d0f0 beq.n 8008ce4 + 8008d02: e04f b.n 8008da4 } } else { /* Disable the main PLL. */ __HAL_RCC_PLL_DISABLE(); - 8009168: 4b0c ldr r3, [pc, #48] ; (800919c ) - 800916a: 681b ldr r3, [r3, #0] - 800916c: 4a0b ldr r2, [pc, #44] ; (800919c ) - 800916e: f023 7380 bic.w r3, r3, #16777216 ; 0x1000000 - 8009172: 6013 str r3, [r2, #0] + 8008d04: 4b0c ldr r3, [pc, #48] ; (8008d38 ) + 8008d06: 681b ldr r3, [r3, #0] + 8008d08: 4a0b ldr r2, [pc, #44] ; (8008d38 ) + 8008d0a: f023 7380 bic.w r3, r3, #16777216 ; 0x1000000 + 8008d0e: 6013 str r3, [r2, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8009174: f7fb fe5c bl 8004e30 - 8009178: 6138 str r0, [r7, #16] + 8008d10: f7fb fe42 bl 8004998 + 8008d14: 6138 str r0, [r7, #16] /* Wait till PLL is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 800917a: e008 b.n 800918e + 8008d16: e008 b.n 8008d2a { if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE) - 800917c: f7fb fe58 bl 8004e30 - 8009180: 4602 mov r2, r0 - 8009182: 693b ldr r3, [r7, #16] - 8009184: 1ad3 subs r3, r2, r3 - 8009186: 2b02 cmp r3, #2 - 8009188: d901 bls.n 800918e + 8008d18: f7fb fe3e bl 8004998 + 8008d1c: 4602 mov r2, r0 + 8008d1e: 693b ldr r3, [r7, #16] + 8008d20: 1ad3 subs r3, r2, r3 + 8008d22: 2b02 cmp r3, #2 + 8008d24: d901 bls.n 8008d2a { return HAL_TIMEOUT; - 800918a: 2303 movs r3, #3 - 800918c: e03d b.n 800920a + 8008d26: 2303 movs r3, #3 + 8008d28: e03d b.n 8008da6 while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 800918e: 4b03 ldr r3, [pc, #12] ; (800919c ) - 8009190: 681b ldr r3, [r3, #0] - 8009192: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 - 8009196: 2b00 cmp r3, #0 - 8009198: d1f0 bne.n 800917c - 800919a: e035 b.n 8009208 - 800919c: 40023800 .word 0x40023800 - 80091a0: 40007000 .word 0x40007000 + 8008d2a: 4b03 ldr r3, [pc, #12] ; (8008d38 ) + 8008d2c: 681b ldr r3, [r3, #0] + 8008d2e: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 + 8008d32: 2b00 cmp r3, #0 + 8008d34: d1f0 bne.n 8008d18 + 8008d36: e035 b.n 8008da4 + 8008d38: 40023800 .word 0x40023800 + 8008d3c: 40007000 .word 0x40007000 } } else { /* Do not return HAL_ERROR if request repeats the current configuration */ pll_config = RCC->PLLCFGR; - 80091a4: 4b1b ldr r3, [pc, #108] ; (8009214 ) - 80091a6: 685b ldr r3, [r3, #4] - 80091a8: 60fb str r3, [r7, #12] + 8008d40: 4b1b ldr r3, [pc, #108] ; (8008db0 ) + 8008d42: 685b ldr r3, [r3, #4] + 8008d44: 60fb str r3, [r7, #12] (READ_BIT(pll_config, RCC_PLLCFGR_PLLN) != (RCC_OscInitStruct->PLL.PLLN << RCC_PLLCFGR_PLLN_Pos)) || (READ_BIT(pll_config, RCC_PLLCFGR_PLLP) != ((((RCC_OscInitStruct->PLL.PLLP) >> 1U) - 1U) << RCC_PLLCFGR_PLLP_Pos)) || (READ_BIT(pll_config, RCC_PLLCFGR_PLLQ) != (RCC_OscInitStruct->PLL.PLLQ << RCC_PLLCFGR_PLLQ_Pos)) || (READ_BIT(pll_config, RCC_PLLCFGR_PLLR) != (RCC_OscInitStruct->PLL.PLLR << RCC_PLLCFGR_PLLR_Pos))) #else if (((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_OFF) || - 80091aa: 687b ldr r3, [r7, #4] - 80091ac: 699b ldr r3, [r3, #24] - 80091ae: 2b01 cmp r3, #1 - 80091b0: d028 beq.n 8009204 + 8008d46: 687b ldr r3, [r7, #4] + 8008d48: 699b ldr r3, [r3, #24] + 8008d4a: 2b01 cmp r3, #1 + 8008d4c: d028 beq.n 8008da0 (READ_BIT(pll_config, RCC_PLLCFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) || - 80091b2: 68fb ldr r3, [r7, #12] - 80091b4: f403 0280 and.w r2, r3, #4194304 ; 0x400000 - 80091b8: 687b ldr r3, [r7, #4] - 80091ba: 69db ldr r3, [r3, #28] + 8008d4e: 68fb ldr r3, [r7, #12] + 8008d50: f403 0280 and.w r2, r3, #4194304 ; 0x400000 + 8008d54: 687b ldr r3, [r7, #4] + 8008d56: 69db ldr r3, [r3, #28] if (((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_OFF) || - 80091bc: 429a cmp r2, r3 - 80091be: d121 bne.n 8009204 + 8008d58: 429a cmp r2, r3 + 8008d5a: d121 bne.n 8008da0 (READ_BIT(pll_config, RCC_PLLCFGR_PLLM) != RCC_OscInitStruct->PLL.PLLM) || - 80091c0: 68fb ldr r3, [r7, #12] - 80091c2: f003 023f and.w r2, r3, #63 ; 0x3f - 80091c6: 687b ldr r3, [r7, #4] - 80091c8: 6a1b ldr r3, [r3, #32] + 8008d5c: 68fb ldr r3, [r7, #12] + 8008d5e: f003 023f and.w r2, r3, #63 ; 0x3f + 8008d62: 687b ldr r3, [r7, #4] + 8008d64: 6a1b ldr r3, [r3, #32] (READ_BIT(pll_config, RCC_PLLCFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) || - 80091ca: 429a cmp r2, r3 - 80091cc: d11a bne.n 8009204 + 8008d66: 429a cmp r2, r3 + 8008d68: d11a bne.n 8008da0 (READ_BIT(pll_config, RCC_PLLCFGR_PLLN) != (RCC_OscInitStruct->PLL.PLLN << RCC_PLLCFGR_PLLN_Pos)) || - 80091ce: 68fa ldr r2, [r7, #12] - 80091d0: f647 73c0 movw r3, #32704 ; 0x7fc0 - 80091d4: 4013 ands r3, r2 - 80091d6: 687a ldr r2, [r7, #4] - 80091d8: 6a52 ldr r2, [r2, #36] ; 0x24 - 80091da: 0192 lsls r2, r2, #6 + 8008d6a: 68fa ldr r2, [r7, #12] + 8008d6c: f647 73c0 movw r3, #32704 ; 0x7fc0 + 8008d70: 4013 ands r3, r2 + 8008d72: 687a ldr r2, [r7, #4] + 8008d74: 6a52 ldr r2, [r2, #36] ; 0x24 + 8008d76: 0192 lsls r2, r2, #6 (READ_BIT(pll_config, RCC_PLLCFGR_PLLM) != RCC_OscInitStruct->PLL.PLLM) || - 80091dc: 4293 cmp r3, r2 - 80091de: d111 bne.n 8009204 + 8008d78: 4293 cmp r3, r2 + 8008d7a: d111 bne.n 8008da0 (READ_BIT(pll_config, RCC_PLLCFGR_PLLP) != ((((RCC_OscInitStruct->PLL.PLLP) >> 1U) - 1U) << RCC_PLLCFGR_PLLP_Pos)) || - 80091e0: 68fb ldr r3, [r7, #12] - 80091e2: f403 3240 and.w r2, r3, #196608 ; 0x30000 - 80091e6: 687b ldr r3, [r7, #4] - 80091e8: 6a9b ldr r3, [r3, #40] ; 0x28 - 80091ea: 085b lsrs r3, r3, #1 - 80091ec: 3b01 subs r3, #1 - 80091ee: 041b lsls r3, r3, #16 + 8008d7c: 68fb ldr r3, [r7, #12] + 8008d7e: f403 3240 and.w r2, r3, #196608 ; 0x30000 + 8008d82: 687b ldr r3, [r7, #4] + 8008d84: 6a9b ldr r3, [r3, #40] ; 0x28 + 8008d86: 085b lsrs r3, r3, #1 + 8008d88: 3b01 subs r3, #1 + 8008d8a: 041b lsls r3, r3, #16 (READ_BIT(pll_config, RCC_PLLCFGR_PLLN) != (RCC_OscInitStruct->PLL.PLLN << RCC_PLLCFGR_PLLN_Pos)) || - 80091f0: 429a cmp r2, r3 - 80091f2: d107 bne.n 8009204 + 8008d8c: 429a cmp r2, r3 + 8008d8e: d107 bne.n 8008da0 (READ_BIT(pll_config, RCC_PLLCFGR_PLLQ) != (RCC_OscInitStruct->PLL.PLLQ << RCC_PLLCFGR_PLLQ_Pos))) - 80091f4: 68fb ldr r3, [r7, #12] - 80091f6: f003 6270 and.w r2, r3, #251658240 ; 0xf000000 - 80091fa: 687b ldr r3, [r7, #4] - 80091fc: 6adb ldr r3, [r3, #44] ; 0x2c - 80091fe: 061b lsls r3, r3, #24 + 8008d90: 68fb ldr r3, [r7, #12] + 8008d92: f003 6270 and.w r2, r3, #251658240 ; 0xf000000 + 8008d96: 687b ldr r3, [r7, #4] + 8008d98: 6adb ldr r3, [r3, #44] ; 0x2c + 8008d9a: 061b lsls r3, r3, #24 (READ_BIT(pll_config, RCC_PLLCFGR_PLLP) != ((((RCC_OscInitStruct->PLL.PLLP) >> 1U) - 1U) << RCC_PLLCFGR_PLLP_Pos)) || - 8009200: 429a cmp r2, r3 - 8009202: d001 beq.n 8009208 + 8008d9c: 429a cmp r2, r3 + 8008d9e: d001 beq.n 8008da4 #endif { return HAL_ERROR; - 8009204: 2301 movs r3, #1 - 8009206: e000 b.n 800920a + 8008da0: 2301 movs r3, #1 + 8008da2: e000 b.n 8008da6 } } } return HAL_OK; - 8009208: 2300 movs r3, #0 + 8008da4: 2300 movs r3, #0 } - 800920a: 4618 mov r0, r3 - 800920c: 3718 adds r7, #24 - 800920e: 46bd mov sp, r7 - 8009210: bd80 pop {r7, pc} - 8009212: bf00 nop - 8009214: 40023800 .word 0x40023800 + 8008da6: 4618 mov r0, r3 + 8008da8: 3718 adds r7, #24 + 8008daa: 46bd mov sp, r7 + 8008dac: bd80 pop {r7, pc} + 8008dae: bf00 nop + 8008db0: 40023800 .word 0x40023800 -08009218 : +08008db4 : * HPRE[3:0] bits to ensure that HCLK not exceed the maximum allowed frequency * (for more details refer to section above "Initialization/de-initialization functions") * @retval None */ HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency) { - 8009218: b580 push {r7, lr} - 800921a: b084 sub sp, #16 - 800921c: af00 add r7, sp, #0 - 800921e: 6078 str r0, [r7, #4] - 8009220: 6039 str r1, [r7, #0] + 8008db4: b580 push {r7, lr} + 8008db6: b084 sub sp, #16 + 8008db8: af00 add r7, sp, #0 + 8008dba: 6078 str r0, [r7, #4] + 8008dbc: 6039 str r1, [r7, #0] uint32_t tickstart = 0; - 8009222: 2300 movs r3, #0 - 8009224: 60fb str r3, [r7, #12] + 8008dbe: 2300 movs r3, #0 + 8008dc0: 60fb str r3, [r7, #12] /* Check Null pointer */ if (RCC_ClkInitStruct == NULL) - 8009226: 687b ldr r3, [r7, #4] - 8009228: 2b00 cmp r3, #0 - 800922a: d101 bne.n 8009230 + 8008dc2: 687b ldr r3, [r7, #4] + 8008dc4: 2b00 cmp r3, #0 + 8008dc6: d101 bne.n 8008dcc { return HAL_ERROR; - 800922c: 2301 movs r3, #1 - 800922e: e0d0 b.n 80093d2 + 8008dc8: 2301 movs r3, #1 + 8008dca: e0d0 b.n 8008f6e /* To correctly read data from FLASH memory, the number of wait states (LATENCY) must be correctly programmed according to the frequency of the CPU clock (HCLK) and the supply voltage of the device. */ /* Increasing the CPU frequency */ if (FLatency > __HAL_FLASH_GET_LATENCY()) - 8009230: 4b6a ldr r3, [pc, #424] ; (80093dc ) - 8009232: 681b ldr r3, [r3, #0] - 8009234: f003 030f and.w r3, r3, #15 - 8009238: 683a ldr r2, [r7, #0] - 800923a: 429a cmp r2, r3 - 800923c: d910 bls.n 8009260 + 8008dcc: 4b6a ldr r3, [pc, #424] ; (8008f78 ) + 8008dce: 681b ldr r3, [r3, #0] + 8008dd0: f003 030f and.w r3, r3, #15 + 8008dd4: 683a ldr r2, [r7, #0] + 8008dd6: 429a cmp r2, r3 + 8008dd8: d910 bls.n 8008dfc { /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */ __HAL_FLASH_SET_LATENCY(FLatency); - 800923e: 4b67 ldr r3, [pc, #412] ; (80093dc ) - 8009240: 681b ldr r3, [r3, #0] - 8009242: f023 020f bic.w r2, r3, #15 - 8009246: 4965 ldr r1, [pc, #404] ; (80093dc ) - 8009248: 683b ldr r3, [r7, #0] - 800924a: 4313 orrs r3, r2 - 800924c: 600b str r3, [r1, #0] + 8008dda: 4b67 ldr r3, [pc, #412] ; (8008f78 ) + 8008ddc: 681b ldr r3, [r3, #0] + 8008dde: f023 020f bic.w r2, r3, #15 + 8008de2: 4965 ldr r1, [pc, #404] ; (8008f78 ) + 8008de4: 683b ldr r3, [r7, #0] + 8008de6: 4313 orrs r3, r2 + 8008de8: 600b str r3, [r1, #0] /* Check that the new number of wait states is taken into account to access the Flash memory by reading the FLASH_ACR register */ if (__HAL_FLASH_GET_LATENCY() != FLatency) - 800924e: 4b63 ldr r3, [pc, #396] ; (80093dc ) - 8009250: 681b ldr r3, [r3, #0] - 8009252: f003 030f and.w r3, r3, #15 - 8009256: 683a ldr r2, [r7, #0] - 8009258: 429a cmp r2, r3 - 800925a: d001 beq.n 8009260 + 8008dea: 4b63 ldr r3, [pc, #396] ; (8008f78 ) + 8008dec: 681b ldr r3, [r3, #0] + 8008dee: f003 030f and.w r3, r3, #15 + 8008df2: 683a ldr r2, [r7, #0] + 8008df4: 429a cmp r2, r3 + 8008df6: d001 beq.n 8008dfc { return HAL_ERROR; - 800925c: 2301 movs r3, #1 - 800925e: e0b8 b.n 80093d2 + 8008df8: 2301 movs r3, #1 + 8008dfa: e0b8 b.n 8008f6e } } /*-------------------------- HCLK Configuration --------------------------*/ if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK) - 8009260: 687b ldr r3, [r7, #4] - 8009262: 681b ldr r3, [r3, #0] - 8009264: f003 0302 and.w r3, r3, #2 - 8009268: 2b00 cmp r3, #0 - 800926a: d020 beq.n 80092ae + 8008dfc: 687b ldr r3, [r7, #4] + 8008dfe: 681b ldr r3, [r3, #0] + 8008e00: f003 0302 and.w r3, r3, #2 + 8008e04: 2b00 cmp r3, #0 + 8008e06: d020 beq.n 8008e4a { /* Set the highest APBx dividers in order to ensure that we do not go through a non-spec phase whatever we decrease or increase HCLK. */ if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1) - 800926c: 687b ldr r3, [r7, #4] - 800926e: 681b ldr r3, [r3, #0] - 8009270: f003 0304 and.w r3, r3, #4 - 8009274: 2b00 cmp r3, #0 - 8009276: d005 beq.n 8009284 + 8008e08: 687b ldr r3, [r7, #4] + 8008e0a: 681b ldr r3, [r3, #0] + 8008e0c: f003 0304 and.w r3, r3, #4 + 8008e10: 2b00 cmp r3, #0 + 8008e12: d005 beq.n 8008e20 { MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_HCLK_DIV16); - 8009278: 4b59 ldr r3, [pc, #356] ; (80093e0 ) - 800927a: 689b ldr r3, [r3, #8] - 800927c: 4a58 ldr r2, [pc, #352] ; (80093e0 ) - 800927e: f443 53e0 orr.w r3, r3, #7168 ; 0x1c00 - 8009282: 6093 str r3, [r2, #8] + 8008e14: 4b59 ldr r3, [pc, #356] ; (8008f7c ) + 8008e16: 689b ldr r3, [r3, #8] + 8008e18: 4a58 ldr r2, [pc, #352] ; (8008f7c ) + 8008e1a: f443 53e0 orr.w r3, r3, #7168 ; 0x1c00 + 8008e1e: 6093 str r3, [r2, #8] } if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2) - 8009284: 687b ldr r3, [r7, #4] - 8009286: 681b ldr r3, [r3, #0] - 8009288: f003 0308 and.w r3, r3, #8 - 800928c: 2b00 cmp r3, #0 - 800928e: d005 beq.n 800929c + 8008e20: 687b ldr r3, [r7, #4] + 8008e22: 681b ldr r3, [r3, #0] + 8008e24: f003 0308 and.w r3, r3, #8 + 8008e28: 2b00 cmp r3, #0 + 8008e2a: d005 beq.n 8008e38 { MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, (RCC_HCLK_DIV16 << 3)); - 8009290: 4b53 ldr r3, [pc, #332] ; (80093e0 ) - 8009292: 689b ldr r3, [r3, #8] - 8009294: 4a52 ldr r2, [pc, #328] ; (80093e0 ) - 8009296: f443 4360 orr.w r3, r3, #57344 ; 0xe000 - 800929a: 6093 str r3, [r2, #8] + 8008e2c: 4b53 ldr r3, [pc, #332] ; (8008f7c ) + 8008e2e: 689b ldr r3, [r3, #8] + 8008e30: 4a52 ldr r2, [pc, #328] ; (8008f7c ) + 8008e32: f443 4360 orr.w r3, r3, #57344 ; 0xe000 + 8008e36: 6093 str r3, [r2, #8] } /* Set the new HCLK clock divider */ assert_param(IS_RCC_HCLK(RCC_ClkInitStruct->AHBCLKDivider)); MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider); - 800929c: 4b50 ldr r3, [pc, #320] ; (80093e0 ) - 800929e: 689b ldr r3, [r3, #8] - 80092a0: f023 02f0 bic.w r2, r3, #240 ; 0xf0 - 80092a4: 687b ldr r3, [r7, #4] - 80092a6: 689b ldr r3, [r3, #8] - 80092a8: 494d ldr r1, [pc, #308] ; (80093e0 ) - 80092aa: 4313 orrs r3, r2 - 80092ac: 608b str r3, [r1, #8] + 8008e38: 4b50 ldr r3, [pc, #320] ; (8008f7c ) + 8008e3a: 689b ldr r3, [r3, #8] + 8008e3c: f023 02f0 bic.w r2, r3, #240 ; 0xf0 + 8008e40: 687b ldr r3, [r7, #4] + 8008e42: 689b ldr r3, [r3, #8] + 8008e44: 494d ldr r1, [pc, #308] ; (8008f7c ) + 8008e46: 4313 orrs r3, r2 + 8008e48: 608b str r3, [r1, #8] } /*------------------------- SYSCLK Configuration ---------------------------*/ if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK) - 80092ae: 687b ldr r3, [r7, #4] - 80092b0: 681b ldr r3, [r3, #0] - 80092b2: f003 0301 and.w r3, r3, #1 - 80092b6: 2b00 cmp r3, #0 - 80092b8: d040 beq.n 800933c + 8008e4a: 687b ldr r3, [r7, #4] + 8008e4c: 681b ldr r3, [r3, #0] + 8008e4e: f003 0301 and.w r3, r3, #1 + 8008e52: 2b00 cmp r3, #0 + 8008e54: d040 beq.n 8008ed8 { assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource)); /* HSE is selected as System Clock Source */ if (RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE) - 80092ba: 687b ldr r3, [r7, #4] - 80092bc: 685b ldr r3, [r3, #4] - 80092be: 2b01 cmp r3, #1 - 80092c0: d107 bne.n 80092d2 + 8008e56: 687b ldr r3, [r7, #4] + 8008e58: 685b ldr r3, [r3, #4] + 8008e5a: 2b01 cmp r3, #1 + 8008e5c: d107 bne.n 8008e6e { /* Check the HSE ready flag */ if (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 80092c2: 4b47 ldr r3, [pc, #284] ; (80093e0 ) - 80092c4: 681b ldr r3, [r3, #0] - 80092c6: f403 3300 and.w r3, r3, #131072 ; 0x20000 - 80092ca: 2b00 cmp r3, #0 - 80092cc: d115 bne.n 80092fa + 8008e5e: 4b47 ldr r3, [pc, #284] ; (8008f7c ) + 8008e60: 681b ldr r3, [r3, #0] + 8008e62: f403 3300 and.w r3, r3, #131072 ; 0x20000 + 8008e66: 2b00 cmp r3, #0 + 8008e68: d115 bne.n 8008e96 { return HAL_ERROR; - 80092ce: 2301 movs r3, #1 - 80092d0: e07f b.n 80093d2 + 8008e6a: 2301 movs r3, #1 + 8008e6c: e07f b.n 8008f6e } } /* PLL is selected as System Clock Source */ else if (RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK) - 80092d2: 687b ldr r3, [r7, #4] - 80092d4: 685b ldr r3, [r3, #4] - 80092d6: 2b02 cmp r3, #2 - 80092d8: d107 bne.n 80092ea + 8008e6e: 687b ldr r3, [r7, #4] + 8008e70: 685b ldr r3, [r3, #4] + 8008e72: 2b02 cmp r3, #2 + 8008e74: d107 bne.n 8008e86 { /* Check the PLL ready flag */ if (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 80092da: 4b41 ldr r3, [pc, #260] ; (80093e0 ) - 80092dc: 681b ldr r3, [r3, #0] - 80092de: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 - 80092e2: 2b00 cmp r3, #0 - 80092e4: d109 bne.n 80092fa + 8008e76: 4b41 ldr r3, [pc, #260] ; (8008f7c ) + 8008e78: 681b ldr r3, [r3, #0] + 8008e7a: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 + 8008e7e: 2b00 cmp r3, #0 + 8008e80: d109 bne.n 8008e96 { return HAL_ERROR; - 80092e6: 2301 movs r3, #1 - 80092e8: e073 b.n 80093d2 + 8008e82: 2301 movs r3, #1 + 8008e84: e073 b.n 8008f6e } /* HSI is selected as System Clock Source */ else { /* Check the HSI ready flag */ if (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 80092ea: 4b3d ldr r3, [pc, #244] ; (80093e0 ) - 80092ec: 681b ldr r3, [r3, #0] - 80092ee: f003 0302 and.w r3, r3, #2 - 80092f2: 2b00 cmp r3, #0 - 80092f4: d101 bne.n 80092fa + 8008e86: 4b3d ldr r3, [pc, #244] ; (8008f7c ) + 8008e88: 681b ldr r3, [r3, #0] + 8008e8a: f003 0302 and.w r3, r3, #2 + 8008e8e: 2b00 cmp r3, #0 + 8008e90: d101 bne.n 8008e96 { return HAL_ERROR; - 80092f6: 2301 movs r3, #1 - 80092f8: e06b b.n 80093d2 + 8008e92: 2301 movs r3, #1 + 8008e94: e06b b.n 8008f6e } } __HAL_RCC_SYSCLK_CONFIG(RCC_ClkInitStruct->SYSCLKSource); - 80092fa: 4b39 ldr r3, [pc, #228] ; (80093e0 ) - 80092fc: 689b ldr r3, [r3, #8] - 80092fe: f023 0203 bic.w r2, r3, #3 - 8009302: 687b ldr r3, [r7, #4] - 8009304: 685b ldr r3, [r3, #4] - 8009306: 4936 ldr r1, [pc, #216] ; (80093e0 ) - 8009308: 4313 orrs r3, r2 - 800930a: 608b str r3, [r1, #8] + 8008e96: 4b39 ldr r3, [pc, #228] ; (8008f7c ) + 8008e98: 689b ldr r3, [r3, #8] + 8008e9a: f023 0203 bic.w r2, r3, #3 + 8008e9e: 687b ldr r3, [r7, #4] + 8008ea0: 685b ldr r3, [r3, #4] + 8008ea2: 4936 ldr r1, [pc, #216] ; (8008f7c ) + 8008ea4: 4313 orrs r3, r2 + 8008ea6: 608b str r3, [r1, #8] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 800930c: f7fb fd90 bl 8004e30 - 8009310: 60f8 str r0, [r7, #12] + 8008ea8: f7fb fd76 bl 8004998 + 8008eac: 60f8 str r0, [r7, #12] while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos)) - 8009312: e00a b.n 800932a + 8008eae: e00a b.n 8008ec6 { if ((HAL_GetTick() - tickstart) > CLOCKSWITCH_TIMEOUT_VALUE) - 8009314: f7fb fd8c bl 8004e30 - 8009318: 4602 mov r2, r0 - 800931a: 68fb ldr r3, [r7, #12] - 800931c: 1ad3 subs r3, r2, r3 - 800931e: f241 3288 movw r2, #5000 ; 0x1388 - 8009322: 4293 cmp r3, r2 - 8009324: d901 bls.n 800932a + 8008eb0: f7fb fd72 bl 8004998 + 8008eb4: 4602 mov r2, r0 + 8008eb6: 68fb ldr r3, [r7, #12] + 8008eb8: 1ad3 subs r3, r2, r3 + 8008eba: f241 3288 movw r2, #5000 ; 0x1388 + 8008ebe: 4293 cmp r3, r2 + 8008ec0: d901 bls.n 8008ec6 { return HAL_TIMEOUT; - 8009326: 2303 movs r3, #3 - 8009328: e053 b.n 80093d2 + 8008ec2: 2303 movs r3, #3 + 8008ec4: e053 b.n 8008f6e while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos)) - 800932a: 4b2d ldr r3, [pc, #180] ; (80093e0 ) - 800932c: 689b ldr r3, [r3, #8] - 800932e: f003 020c and.w r2, r3, #12 - 8009332: 687b ldr r3, [r7, #4] - 8009334: 685b ldr r3, [r3, #4] - 8009336: 009b lsls r3, r3, #2 - 8009338: 429a cmp r2, r3 - 800933a: d1eb bne.n 8009314 + 8008ec6: 4b2d ldr r3, [pc, #180] ; (8008f7c ) + 8008ec8: 689b ldr r3, [r3, #8] + 8008eca: f003 020c and.w r2, r3, #12 + 8008ece: 687b ldr r3, [r7, #4] + 8008ed0: 685b ldr r3, [r3, #4] + 8008ed2: 009b lsls r3, r3, #2 + 8008ed4: 429a cmp r2, r3 + 8008ed6: d1eb bne.n 8008eb0 } } } /* Decreasing the number of wait states because of lower CPU frequency */ if (FLatency < __HAL_FLASH_GET_LATENCY()) - 800933c: 4b27 ldr r3, [pc, #156] ; (80093dc ) - 800933e: 681b ldr r3, [r3, #0] - 8009340: f003 030f and.w r3, r3, #15 - 8009344: 683a ldr r2, [r7, #0] - 8009346: 429a cmp r2, r3 - 8009348: d210 bcs.n 800936c + 8008ed8: 4b27 ldr r3, [pc, #156] ; (8008f78 ) + 8008eda: 681b ldr r3, [r3, #0] + 8008edc: f003 030f and.w r3, r3, #15 + 8008ee0: 683a ldr r2, [r7, #0] + 8008ee2: 429a cmp r2, r3 + 8008ee4: d210 bcs.n 8008f08 { /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */ __HAL_FLASH_SET_LATENCY(FLatency); - 800934a: 4b24 ldr r3, [pc, #144] ; (80093dc ) - 800934c: 681b ldr r3, [r3, #0] - 800934e: f023 020f bic.w r2, r3, #15 - 8009352: 4922 ldr r1, [pc, #136] ; (80093dc ) - 8009354: 683b ldr r3, [r7, #0] - 8009356: 4313 orrs r3, r2 - 8009358: 600b str r3, [r1, #0] + 8008ee6: 4b24 ldr r3, [pc, #144] ; (8008f78 ) + 8008ee8: 681b ldr r3, [r3, #0] + 8008eea: f023 020f bic.w r2, r3, #15 + 8008eee: 4922 ldr r1, [pc, #136] ; (8008f78 ) + 8008ef0: 683b ldr r3, [r7, #0] + 8008ef2: 4313 orrs r3, r2 + 8008ef4: 600b str r3, [r1, #0] /* Check that the new number of wait states is taken into account to access the Flash memory by reading the FLASH_ACR register */ if (__HAL_FLASH_GET_LATENCY() != FLatency) - 800935a: 4b20 ldr r3, [pc, #128] ; (80093dc ) - 800935c: 681b ldr r3, [r3, #0] - 800935e: f003 030f and.w r3, r3, #15 - 8009362: 683a ldr r2, [r7, #0] - 8009364: 429a cmp r2, r3 - 8009366: d001 beq.n 800936c + 8008ef6: 4b20 ldr r3, [pc, #128] ; (8008f78 ) + 8008ef8: 681b ldr r3, [r3, #0] + 8008efa: f003 030f and.w r3, r3, #15 + 8008efe: 683a ldr r2, [r7, #0] + 8008f00: 429a cmp r2, r3 + 8008f02: d001 beq.n 8008f08 { return HAL_ERROR; - 8009368: 2301 movs r3, #1 - 800936a: e032 b.n 80093d2 + 8008f04: 2301 movs r3, #1 + 8008f06: e032 b.n 8008f6e } } /*-------------------------- PCLK1 Configuration ---------------------------*/ if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1) - 800936c: 687b ldr r3, [r7, #4] - 800936e: 681b ldr r3, [r3, #0] - 8009370: f003 0304 and.w r3, r3, #4 - 8009374: 2b00 cmp r3, #0 - 8009376: d008 beq.n 800938a + 8008f08: 687b ldr r3, [r7, #4] + 8008f0a: 681b ldr r3, [r3, #0] + 8008f0c: f003 0304 and.w r3, r3, #4 + 8008f10: 2b00 cmp r3, #0 + 8008f12: d008 beq.n 8008f26 { assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB1CLKDivider)); MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_ClkInitStruct->APB1CLKDivider); - 8009378: 4b19 ldr r3, [pc, #100] ; (80093e0 ) - 800937a: 689b ldr r3, [r3, #8] - 800937c: f423 52e0 bic.w r2, r3, #7168 ; 0x1c00 - 8009380: 687b ldr r3, [r7, #4] - 8009382: 68db ldr r3, [r3, #12] - 8009384: 4916 ldr r1, [pc, #88] ; (80093e0 ) - 8009386: 4313 orrs r3, r2 - 8009388: 608b str r3, [r1, #8] + 8008f14: 4b19 ldr r3, [pc, #100] ; (8008f7c ) + 8008f16: 689b ldr r3, [r3, #8] + 8008f18: f423 52e0 bic.w r2, r3, #7168 ; 0x1c00 + 8008f1c: 687b ldr r3, [r7, #4] + 8008f1e: 68db ldr r3, [r3, #12] + 8008f20: 4916 ldr r1, [pc, #88] ; (8008f7c ) + 8008f22: 4313 orrs r3, r2 + 8008f24: 608b str r3, [r1, #8] } /*-------------------------- PCLK2 Configuration ---------------------------*/ if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2) - 800938a: 687b ldr r3, [r7, #4] - 800938c: 681b ldr r3, [r3, #0] - 800938e: f003 0308 and.w r3, r3, #8 - 8009392: 2b00 cmp r3, #0 - 8009394: d009 beq.n 80093aa + 8008f26: 687b ldr r3, [r7, #4] + 8008f28: 681b ldr r3, [r3, #0] + 8008f2a: f003 0308 and.w r3, r3, #8 + 8008f2e: 2b00 cmp r3, #0 + 8008f30: d009 beq.n 8008f46 { assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB2CLKDivider)); MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, ((RCC_ClkInitStruct->APB2CLKDivider) << 3)); - 8009396: 4b12 ldr r3, [pc, #72] ; (80093e0 ) - 8009398: 689b ldr r3, [r3, #8] - 800939a: f423 4260 bic.w r2, r3, #57344 ; 0xe000 - 800939e: 687b ldr r3, [r7, #4] - 80093a0: 691b ldr r3, [r3, #16] - 80093a2: 00db lsls r3, r3, #3 - 80093a4: 490e ldr r1, [pc, #56] ; (80093e0 ) - 80093a6: 4313 orrs r3, r2 - 80093a8: 608b str r3, [r1, #8] + 8008f32: 4b12 ldr r3, [pc, #72] ; (8008f7c ) + 8008f34: 689b ldr r3, [r3, #8] + 8008f36: f423 4260 bic.w r2, r3, #57344 ; 0xe000 + 8008f3a: 687b ldr r3, [r7, #4] + 8008f3c: 691b ldr r3, [r3, #16] + 8008f3e: 00db lsls r3, r3, #3 + 8008f40: 490e ldr r1, [pc, #56] ; (8008f7c ) + 8008f42: 4313 orrs r3, r2 + 8008f44: 608b str r3, [r1, #8] } /* Update the SystemCoreClock global variable */ SystemCoreClock = HAL_RCC_GetSysClockFreq() >> AHBPrescTable[(RCC->CFGR & RCC_CFGR_HPRE) >> RCC_CFGR_HPRE_Pos]; - 80093aa: f000 f821 bl 80093f0 - 80093ae: 4601 mov r1, r0 - 80093b0: 4b0b ldr r3, [pc, #44] ; (80093e0 ) - 80093b2: 689b ldr r3, [r3, #8] - 80093b4: 091b lsrs r3, r3, #4 - 80093b6: f003 030f and.w r3, r3, #15 - 80093ba: 4a0a ldr r2, [pc, #40] ; (80093e4 ) - 80093bc: 5cd3 ldrb r3, [r2, r3] - 80093be: fa21 f303 lsr.w r3, r1, r3 - 80093c2: 4a09 ldr r2, [pc, #36] ; (80093e8 ) - 80093c4: 6013 str r3, [r2, #0] + 8008f46: f000 f821 bl 8008f8c + 8008f4a: 4601 mov r1, r0 + 8008f4c: 4b0b ldr r3, [pc, #44] ; (8008f7c ) + 8008f4e: 689b ldr r3, [r3, #8] + 8008f50: 091b lsrs r3, r3, #4 + 8008f52: f003 030f and.w r3, r3, #15 + 8008f56: 4a0a ldr r2, [pc, #40] ; (8008f80 ) + 8008f58: 5cd3 ldrb r3, [r2, r3] + 8008f5a: fa21 f303 lsr.w r3, r1, r3 + 8008f5e: 4a09 ldr r2, [pc, #36] ; (8008f84 ) + 8008f60: 6013 str r3, [r2, #0] /* Configure the source of time base considering new system clocks settings*/ HAL_InitTick(uwTickPrio); - 80093c6: 4b09 ldr r3, [pc, #36] ; (80093ec ) - 80093c8: 681b ldr r3, [r3, #0] - 80093ca: 4618 mov r0, r3 - 80093cc: f7fb fb9a bl 8004b04 + 8008f62: 4b09 ldr r3, [pc, #36] ; (8008f88 ) + 8008f64: 681b ldr r3, [r3, #0] + 8008f66: 4618 mov r0, r3 + 8008f68: f7fb fb78 bl 800465c return HAL_OK; - 80093d0: 2300 movs r3, #0 + 8008f6c: 2300 movs r3, #0 } - 80093d2: 4618 mov r0, r3 - 80093d4: 3710 adds r7, #16 - 80093d6: 46bd mov sp, r7 - 80093d8: bd80 pop {r7, pc} - 80093da: bf00 nop - 80093dc: 40023c00 .word 0x40023c00 - 80093e0: 40023800 .word 0x40023800 - 80093e4: 0802152c .word 0x0802152c - 80093e8: 20000064 .word 0x20000064 - 80093ec: 20000068 .word 0x20000068 + 8008f6e: 4618 mov r0, r3 + 8008f70: 3710 adds r7, #16 + 8008f72: 46bd mov sp, r7 + 8008f74: bd80 pop {r7, pc} + 8008f76: bf00 nop + 8008f78: 40023c00 .word 0x40023c00 + 8008f7c: 40023800 .word 0x40023800 + 8008f80: 08020d28 .word 0x08020d28 + 8008f84: 20000064 .word 0x20000064 + 8008f88: 20000068 .word 0x20000068 -080093f0 : +08008f8c : * * * @retval SYSCLK frequency */ uint32_t HAL_RCC_GetSysClockFreq(void) { - 80093f0: b5f0 push {r4, r5, r6, r7, lr} - 80093f2: b085 sub sp, #20 - 80093f4: af00 add r7, sp, #0 + 8008f8c: b5f0 push {r4, r5, r6, r7, lr} + 8008f8e: b085 sub sp, #20 + 8008f90: af00 add r7, sp, #0 uint32_t pllm = 0, pllvco = 0, pllp = 0; - 80093f6: 2300 movs r3, #0 - 80093f8: 607b str r3, [r7, #4] - 80093fa: 2300 movs r3, #0 - 80093fc: 60fb str r3, [r7, #12] - 80093fe: 2300 movs r3, #0 - 8009400: 603b str r3, [r7, #0] + 8008f92: 2300 movs r3, #0 + 8008f94: 607b str r3, [r7, #4] + 8008f96: 2300 movs r3, #0 + 8008f98: 60fb str r3, [r7, #12] + 8008f9a: 2300 movs r3, #0 + 8008f9c: 603b str r3, [r7, #0] uint32_t sysclockfreq = 0; - 8009402: 2300 movs r3, #0 - 8009404: 60bb str r3, [r7, #8] + 8008f9e: 2300 movs r3, #0 + 8008fa0: 60bb str r3, [r7, #8] /* Get SYSCLK source -------------------------------------------------------*/ switch (RCC->CFGR & RCC_CFGR_SWS) - 8009406: 4b50 ldr r3, [pc, #320] ; (8009548 ) - 8009408: 689b ldr r3, [r3, #8] - 800940a: f003 030c and.w r3, r3, #12 - 800940e: 2b04 cmp r3, #4 - 8009410: d007 beq.n 8009422 - 8009412: 2b08 cmp r3, #8 - 8009414: d008 beq.n 8009428 - 8009416: 2b00 cmp r3, #0 - 8009418: f040 808d bne.w 8009536 + 8008fa2: 4b50 ldr r3, [pc, #320] ; (80090e4 ) + 8008fa4: 689b ldr r3, [r3, #8] + 8008fa6: f003 030c and.w r3, r3, #12 + 8008faa: 2b04 cmp r3, #4 + 8008fac: d007 beq.n 8008fbe + 8008fae: 2b08 cmp r3, #8 + 8008fb0: d008 beq.n 8008fc4 + 8008fb2: 2b00 cmp r3, #0 + 8008fb4: f040 808d bne.w 80090d2 { case RCC_SYSCLKSOURCE_STATUS_HSI: /* HSI used as system clock source */ { sysclockfreq = HSI_VALUE; - 800941c: 4b4b ldr r3, [pc, #300] ; (800954c ) - 800941e: 60bb str r3, [r7, #8] + 8008fb8: 4b4b ldr r3, [pc, #300] ; (80090e8 ) + 8008fba: 60bb str r3, [r7, #8] break; - 8009420: e08c b.n 800953c + 8008fbc: e08c b.n 80090d8 } case RCC_SYSCLKSOURCE_STATUS_HSE: /* HSE used as system clock source */ { sysclockfreq = HSE_VALUE; - 8009422: 4b4b ldr r3, [pc, #300] ; (8009550 ) - 8009424: 60bb str r3, [r7, #8] + 8008fbe: 4b4b ldr r3, [pc, #300] ; (80090ec ) + 8008fc0: 60bb str r3, [r7, #8] break; - 8009426: e089 b.n 800953c + 8008fc2: e089 b.n 80090d8 } case RCC_SYSCLKSOURCE_STATUS_PLLCLK: /* PLL used as system clock source */ { /* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLLM) * PLLN SYSCLK = PLL_VCO / PLLP */ pllm = RCC->PLLCFGR & RCC_PLLCFGR_PLLM; - 8009428: 4b47 ldr r3, [pc, #284] ; (8009548 ) - 800942a: 685b ldr r3, [r3, #4] - 800942c: f003 033f and.w r3, r3, #63 ; 0x3f - 8009430: 607b str r3, [r7, #4] + 8008fc4: 4b47 ldr r3, [pc, #284] ; (80090e4 ) + 8008fc6: 685b ldr r3, [r3, #4] + 8008fc8: f003 033f and.w r3, r3, #63 ; 0x3f + 8008fcc: 607b str r3, [r7, #4] if (__HAL_RCC_GET_PLL_OSCSOURCE() != RCC_PLLCFGR_PLLSRC_HSI) - 8009432: 4b45 ldr r3, [pc, #276] ; (8009548 ) - 8009434: 685b ldr r3, [r3, #4] - 8009436: f403 0380 and.w r3, r3, #4194304 ; 0x400000 - 800943a: 2b00 cmp r3, #0 - 800943c: d023 beq.n 8009486 + 8008fce: 4b45 ldr r3, [pc, #276] ; (80090e4 ) + 8008fd0: 685b ldr r3, [r3, #4] + 8008fd2: f403 0380 and.w r3, r3, #4194304 ; 0x400000 + 8008fd6: 2b00 cmp r3, #0 + 8008fd8: d023 beq.n 8009022 { /* HSE used as PLL clock source */ pllvco = (uint32_t)((((uint64_t) HSE_VALUE * ((uint64_t)((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos)))) / (uint64_t)pllm); - 800943e: 4b42 ldr r3, [pc, #264] ; (8009548 ) - 8009440: 685b ldr r3, [r3, #4] - 8009442: 099b lsrs r3, r3, #6 - 8009444: f04f 0400 mov.w r4, #0 - 8009448: f240 11ff movw r1, #511 ; 0x1ff - 800944c: f04f 0200 mov.w r2, #0 - 8009450: ea03 0501 and.w r5, r3, r1 - 8009454: ea04 0602 and.w r6, r4, r2 - 8009458: 4a3d ldr r2, [pc, #244] ; (8009550 ) - 800945a: fb02 f106 mul.w r1, r2, r6 - 800945e: 2200 movs r2, #0 - 8009460: fb02 f205 mul.w r2, r2, r5 - 8009464: 440a add r2, r1 - 8009466: 493a ldr r1, [pc, #232] ; (8009550 ) - 8009468: fba5 0101 umull r0, r1, r5, r1 - 800946c: 1853 adds r3, r2, r1 - 800946e: 4619 mov r1, r3 - 8009470: 687b ldr r3, [r7, #4] - 8009472: f04f 0400 mov.w r4, #0 - 8009476: 461a mov r2, r3 - 8009478: 4623 mov r3, r4 - 800947a: f7f6 ff19 bl 80002b0 <__aeabi_uldivmod> - 800947e: 4603 mov r3, r0 - 8009480: 460c mov r4, r1 - 8009482: 60fb str r3, [r7, #12] - 8009484: e049 b.n 800951a + 8008fda: 4b42 ldr r3, [pc, #264] ; (80090e4 ) + 8008fdc: 685b ldr r3, [r3, #4] + 8008fde: 099b lsrs r3, r3, #6 + 8008fe0: f04f 0400 mov.w r4, #0 + 8008fe4: f240 11ff movw r1, #511 ; 0x1ff + 8008fe8: f04f 0200 mov.w r2, #0 + 8008fec: ea03 0501 and.w r5, r3, r1 + 8008ff0: ea04 0602 and.w r6, r4, r2 + 8008ff4: 4a3d ldr r2, [pc, #244] ; (80090ec ) + 8008ff6: fb02 f106 mul.w r1, r2, r6 + 8008ffa: 2200 movs r2, #0 + 8008ffc: fb02 f205 mul.w r2, r2, r5 + 8009000: 440a add r2, r1 + 8009002: 493a ldr r1, [pc, #232] ; (80090ec ) + 8009004: fba5 0101 umull r0, r1, r5, r1 + 8009008: 1853 adds r3, r2, r1 + 800900a: 4619 mov r1, r3 + 800900c: 687b ldr r3, [r7, #4] + 800900e: f04f 0400 mov.w r4, #0 + 8009012: 461a mov r2, r3 + 8009014: 4623 mov r3, r4 + 8009016: f7f7 f94b bl 80002b0 <__aeabi_uldivmod> + 800901a: 4603 mov r3, r0 + 800901c: 460c mov r4, r1 + 800901e: 60fb str r3, [r7, #12] + 8009020: e049 b.n 80090b6 } else { /* HSI used as PLL clock source */ pllvco = (uint32_t)((((uint64_t) HSI_VALUE * ((uint64_t)((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos)))) / (uint64_t)pllm); - 8009486: 4b30 ldr r3, [pc, #192] ; (8009548 ) - 8009488: 685b ldr r3, [r3, #4] - 800948a: 099b lsrs r3, r3, #6 - 800948c: f04f 0400 mov.w r4, #0 - 8009490: f240 11ff movw r1, #511 ; 0x1ff - 8009494: f04f 0200 mov.w r2, #0 - 8009498: ea03 0501 and.w r5, r3, r1 - 800949c: ea04 0602 and.w r6, r4, r2 - 80094a0: 4629 mov r1, r5 - 80094a2: 4632 mov r2, r6 - 80094a4: f04f 0300 mov.w r3, #0 - 80094a8: f04f 0400 mov.w r4, #0 - 80094ac: 0154 lsls r4, r2, #5 - 80094ae: ea44 64d1 orr.w r4, r4, r1, lsr #27 - 80094b2: 014b lsls r3, r1, #5 - 80094b4: 4619 mov r1, r3 - 80094b6: 4622 mov r2, r4 - 80094b8: 1b49 subs r1, r1, r5 - 80094ba: eb62 0206 sbc.w r2, r2, r6 - 80094be: f04f 0300 mov.w r3, #0 - 80094c2: f04f 0400 mov.w r4, #0 - 80094c6: 0194 lsls r4, r2, #6 - 80094c8: ea44 6491 orr.w r4, r4, r1, lsr #26 - 80094cc: 018b lsls r3, r1, #6 - 80094ce: 1a5b subs r3, r3, r1 - 80094d0: eb64 0402 sbc.w r4, r4, r2 - 80094d4: f04f 0100 mov.w r1, #0 - 80094d8: f04f 0200 mov.w r2, #0 - 80094dc: 00e2 lsls r2, r4, #3 - 80094de: ea42 7253 orr.w r2, r2, r3, lsr #29 - 80094e2: 00d9 lsls r1, r3, #3 - 80094e4: 460b mov r3, r1 - 80094e6: 4614 mov r4, r2 - 80094e8: 195b adds r3, r3, r5 - 80094ea: eb44 0406 adc.w r4, r4, r6 - 80094ee: f04f 0100 mov.w r1, #0 - 80094f2: f04f 0200 mov.w r2, #0 - 80094f6: 02a2 lsls r2, r4, #10 - 80094f8: ea42 5293 orr.w r2, r2, r3, lsr #22 - 80094fc: 0299 lsls r1, r3, #10 - 80094fe: 460b mov r3, r1 - 8009500: 4614 mov r4, r2 - 8009502: 4618 mov r0, r3 - 8009504: 4621 mov r1, r4 - 8009506: 687b ldr r3, [r7, #4] - 8009508: f04f 0400 mov.w r4, #0 - 800950c: 461a mov r2, r3 - 800950e: 4623 mov r3, r4 - 8009510: f7f6 fece bl 80002b0 <__aeabi_uldivmod> - 8009514: 4603 mov r3, r0 - 8009516: 460c mov r4, r1 - 8009518: 60fb str r3, [r7, #12] + 8009022: 4b30 ldr r3, [pc, #192] ; (80090e4 ) + 8009024: 685b ldr r3, [r3, #4] + 8009026: 099b lsrs r3, r3, #6 + 8009028: f04f 0400 mov.w r4, #0 + 800902c: f240 11ff movw r1, #511 ; 0x1ff + 8009030: f04f 0200 mov.w r2, #0 + 8009034: ea03 0501 and.w r5, r3, r1 + 8009038: ea04 0602 and.w r6, r4, r2 + 800903c: 4629 mov r1, r5 + 800903e: 4632 mov r2, r6 + 8009040: f04f 0300 mov.w r3, #0 + 8009044: f04f 0400 mov.w r4, #0 + 8009048: 0154 lsls r4, r2, #5 + 800904a: ea44 64d1 orr.w r4, r4, r1, lsr #27 + 800904e: 014b lsls r3, r1, #5 + 8009050: 4619 mov r1, r3 + 8009052: 4622 mov r2, r4 + 8009054: 1b49 subs r1, r1, r5 + 8009056: eb62 0206 sbc.w r2, r2, r6 + 800905a: f04f 0300 mov.w r3, #0 + 800905e: f04f 0400 mov.w r4, #0 + 8009062: 0194 lsls r4, r2, #6 + 8009064: ea44 6491 orr.w r4, r4, r1, lsr #26 + 8009068: 018b lsls r3, r1, #6 + 800906a: 1a5b subs r3, r3, r1 + 800906c: eb64 0402 sbc.w r4, r4, r2 + 8009070: f04f 0100 mov.w r1, #0 + 8009074: f04f 0200 mov.w r2, #0 + 8009078: 00e2 lsls r2, r4, #3 + 800907a: ea42 7253 orr.w r2, r2, r3, lsr #29 + 800907e: 00d9 lsls r1, r3, #3 + 8009080: 460b mov r3, r1 + 8009082: 4614 mov r4, r2 + 8009084: 195b adds r3, r3, r5 + 8009086: eb44 0406 adc.w r4, r4, r6 + 800908a: f04f 0100 mov.w r1, #0 + 800908e: f04f 0200 mov.w r2, #0 + 8009092: 02a2 lsls r2, r4, #10 + 8009094: ea42 5293 orr.w r2, r2, r3, lsr #22 + 8009098: 0299 lsls r1, r3, #10 + 800909a: 460b mov r3, r1 + 800909c: 4614 mov r4, r2 + 800909e: 4618 mov r0, r3 + 80090a0: 4621 mov r1, r4 + 80090a2: 687b ldr r3, [r7, #4] + 80090a4: f04f 0400 mov.w r4, #0 + 80090a8: 461a mov r2, r3 + 80090aa: 4623 mov r3, r4 + 80090ac: f7f7 f900 bl 80002b0 <__aeabi_uldivmod> + 80090b0: 4603 mov r3, r0 + 80090b2: 460c mov r4, r1 + 80090b4: 60fb str r3, [r7, #12] } pllp = ((((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) + 1) * 2); - 800951a: 4b0b ldr r3, [pc, #44] ; (8009548 ) - 800951c: 685b ldr r3, [r3, #4] - 800951e: 0c1b lsrs r3, r3, #16 - 8009520: f003 0303 and.w r3, r3, #3 - 8009524: 3301 adds r3, #1 - 8009526: 005b lsls r3, r3, #1 - 8009528: 603b str r3, [r7, #0] + 80090b6: 4b0b ldr r3, [pc, #44] ; (80090e4 ) + 80090b8: 685b ldr r3, [r3, #4] + 80090ba: 0c1b lsrs r3, r3, #16 + 80090bc: f003 0303 and.w r3, r3, #3 + 80090c0: 3301 adds r3, #1 + 80090c2: 005b lsls r3, r3, #1 + 80090c4: 603b str r3, [r7, #0] sysclockfreq = pllvco / pllp; - 800952a: 68fa ldr r2, [r7, #12] - 800952c: 683b ldr r3, [r7, #0] - 800952e: fbb2 f3f3 udiv r3, r2, r3 - 8009532: 60bb str r3, [r7, #8] + 80090c6: 68fa ldr r2, [r7, #12] + 80090c8: 683b ldr r3, [r7, #0] + 80090ca: fbb2 f3f3 udiv r3, r2, r3 + 80090ce: 60bb str r3, [r7, #8] break; - 8009534: e002 b.n 800953c + 80090d0: e002 b.n 80090d8 } default: { sysclockfreq = HSI_VALUE; - 8009536: 4b05 ldr r3, [pc, #20] ; (800954c ) - 8009538: 60bb str r3, [r7, #8] + 80090d2: 4b05 ldr r3, [pc, #20] ; (80090e8 ) + 80090d4: 60bb str r3, [r7, #8] break; - 800953a: bf00 nop + 80090d6: bf00 nop } } return sysclockfreq; - 800953c: 68bb ldr r3, [r7, #8] + 80090d8: 68bb ldr r3, [r7, #8] } - 800953e: 4618 mov r0, r3 - 8009540: 3714 adds r7, #20 - 8009542: 46bd mov sp, r7 - 8009544: bdf0 pop {r4, r5, r6, r7, pc} - 8009546: bf00 nop - 8009548: 40023800 .word 0x40023800 - 800954c: 00f42400 .word 0x00f42400 - 8009550: 017d7840 .word 0x017d7840 + 80090da: 4618 mov r0, r3 + 80090dc: 3714 adds r7, #20 + 80090de: 46bd mov sp, r7 + 80090e0: bdf0 pop {r4, r5, r6, r7, pc} + 80090e2: bf00 nop + 80090e4: 40023800 .word 0x40023800 + 80090e8: 00f42400 .word 0x00f42400 + 80090ec: 017d7840 .word 0x017d7840 -08009554 : +080090f0 : * right HCLK value. Otherwise, any configuration based on this function will be incorrect. * @note The SystemCoreClock CMSIS variable is used to store System Clock Frequency. * @retval HCLK frequency */ uint32_t HAL_RCC_GetHCLKFreq(void) { - 8009554: b480 push {r7} - 8009556: af00 add r7, sp, #0 + 80090f0: b480 push {r7} + 80090f2: af00 add r7, sp, #0 return SystemCoreClock; - 8009558: 4b03 ldr r3, [pc, #12] ; (8009568 ) - 800955a: 681b ldr r3, [r3, #0] + 80090f4: 4b03 ldr r3, [pc, #12] ; (8009104 ) + 80090f6: 681b ldr r3, [r3, #0] } - 800955c: 4618 mov r0, r3 - 800955e: 46bd mov sp, r7 - 8009560: f85d 7b04 ldr.w r7, [sp], #4 - 8009564: 4770 bx lr - 8009566: bf00 nop - 8009568: 20000064 .word 0x20000064 + 80090f8: 4618 mov r0, r3 + 80090fa: 46bd mov sp, r7 + 80090fc: f85d 7b04 ldr.w r7, [sp], #4 + 8009100: 4770 bx lr + 8009102: bf00 nop + 8009104: 20000064 .word 0x20000064 -0800956c : +08009108 : * @note Each time PCLK1 changes, this function must be called to update the * right PCLK1 value. Otherwise, any configuration based on this function will be incorrect. * @retval PCLK1 frequency */ uint32_t HAL_RCC_GetPCLK1Freq(void) { - 800956c: b580 push {r7, lr} - 800956e: af00 add r7, sp, #0 + 8009108: b580 push {r7, lr} + 800910a: af00 add r7, sp, #0 /* Get HCLK source and Compute PCLK1 frequency ---------------------------*/ return (HAL_RCC_GetHCLKFreq() >> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE1) >> RCC_CFGR_PPRE1_Pos]); - 8009570: f7ff fff0 bl 8009554 - 8009574: 4601 mov r1, r0 - 8009576: 4b05 ldr r3, [pc, #20] ; (800958c ) - 8009578: 689b ldr r3, [r3, #8] - 800957a: 0a9b lsrs r3, r3, #10 - 800957c: f003 0307 and.w r3, r3, #7 - 8009580: 4a03 ldr r2, [pc, #12] ; (8009590 ) - 8009582: 5cd3 ldrb r3, [r2, r3] - 8009584: fa21 f303 lsr.w r3, r1, r3 + 800910c: f7ff fff0 bl 80090f0 + 8009110: 4601 mov r1, r0 + 8009112: 4b05 ldr r3, [pc, #20] ; (8009128 ) + 8009114: 689b ldr r3, [r3, #8] + 8009116: 0a9b lsrs r3, r3, #10 + 8009118: f003 0307 and.w r3, r3, #7 + 800911c: 4a03 ldr r2, [pc, #12] ; (800912c ) + 800911e: 5cd3 ldrb r3, [r2, r3] + 8009120: fa21 f303 lsr.w r3, r1, r3 } - 8009588: 4618 mov r0, r3 - 800958a: bd80 pop {r7, pc} - 800958c: 40023800 .word 0x40023800 - 8009590: 0802153c .word 0x0802153c + 8009124: 4618 mov r0, r3 + 8009126: bd80 pop {r7, pc} + 8009128: 40023800 .word 0x40023800 + 800912c: 08020d38 .word 0x08020d38 -08009594 : +08009130 : * will be configured. * @param pFLatency Pointer on the Flash Latency. * @retval None */ void HAL_RCC_GetClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatency) { - 8009594: b480 push {r7} - 8009596: b083 sub sp, #12 - 8009598: af00 add r7, sp, #0 - 800959a: 6078 str r0, [r7, #4] - 800959c: 6039 str r1, [r7, #0] + 8009130: b480 push {r7} + 8009132: b083 sub sp, #12 + 8009134: af00 add r7, sp, #0 + 8009136: 6078 str r0, [r7, #4] + 8009138: 6039 str r1, [r7, #0] /* Set all possible values for the Clock type parameter --------------------*/ RCC_ClkInitStruct->ClockType = RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2; - 800959e: 687b ldr r3, [r7, #4] - 80095a0: 220f movs r2, #15 - 80095a2: 601a str r2, [r3, #0] + 800913a: 687b ldr r3, [r7, #4] + 800913c: 220f movs r2, #15 + 800913e: 601a str r2, [r3, #0] /* Get the SYSCLK configuration --------------------------------------------*/ RCC_ClkInitStruct->SYSCLKSource = (uint32_t)(RCC->CFGR & RCC_CFGR_SW); - 80095a4: 4b12 ldr r3, [pc, #72] ; (80095f0 ) - 80095a6: 689b ldr r3, [r3, #8] - 80095a8: f003 0203 and.w r2, r3, #3 - 80095ac: 687b ldr r3, [r7, #4] - 80095ae: 605a str r2, [r3, #4] + 8009140: 4b12 ldr r3, [pc, #72] ; (800918c ) + 8009142: 689b ldr r3, [r3, #8] + 8009144: f003 0203 and.w r2, r3, #3 + 8009148: 687b ldr r3, [r7, #4] + 800914a: 605a str r2, [r3, #4] /* Get the HCLK configuration ----------------------------------------------*/ RCC_ClkInitStruct->AHBCLKDivider = (uint32_t)(RCC->CFGR & RCC_CFGR_HPRE); - 80095b0: 4b0f ldr r3, [pc, #60] ; (80095f0 ) - 80095b2: 689b ldr r3, [r3, #8] - 80095b4: f003 02f0 and.w r2, r3, #240 ; 0xf0 - 80095b8: 687b ldr r3, [r7, #4] - 80095ba: 609a str r2, [r3, #8] + 800914c: 4b0f ldr r3, [pc, #60] ; (800918c ) + 800914e: 689b ldr r3, [r3, #8] + 8009150: f003 02f0 and.w r2, r3, #240 ; 0xf0 + 8009154: 687b ldr r3, [r7, #4] + 8009156: 609a str r2, [r3, #8] /* Get the APB1 configuration ----------------------------------------------*/ RCC_ClkInitStruct->APB1CLKDivider = (uint32_t)(RCC->CFGR & RCC_CFGR_PPRE1); - 80095bc: 4b0c ldr r3, [pc, #48] ; (80095f0 ) - 80095be: 689b ldr r3, [r3, #8] - 80095c0: f403 52e0 and.w r2, r3, #7168 ; 0x1c00 - 80095c4: 687b ldr r3, [r7, #4] - 80095c6: 60da str r2, [r3, #12] + 8009158: 4b0c ldr r3, [pc, #48] ; (800918c ) + 800915a: 689b ldr r3, [r3, #8] + 800915c: f403 52e0 and.w r2, r3, #7168 ; 0x1c00 + 8009160: 687b ldr r3, [r7, #4] + 8009162: 60da str r2, [r3, #12] /* Get the APB2 configuration ----------------------------------------------*/ RCC_ClkInitStruct->APB2CLKDivider = (uint32_t)((RCC->CFGR & RCC_CFGR_PPRE2) >> 3); - 80095c8: 4b09 ldr r3, [pc, #36] ; (80095f0 ) - 80095ca: 689b ldr r3, [r3, #8] - 80095cc: 08db lsrs r3, r3, #3 - 80095ce: f403 52e0 and.w r2, r3, #7168 ; 0x1c00 - 80095d2: 687b ldr r3, [r7, #4] - 80095d4: 611a str r2, [r3, #16] + 8009164: 4b09 ldr r3, [pc, #36] ; (800918c ) + 8009166: 689b ldr r3, [r3, #8] + 8009168: 08db lsrs r3, r3, #3 + 800916a: f403 52e0 and.w r2, r3, #7168 ; 0x1c00 + 800916e: 687b ldr r3, [r7, #4] + 8009170: 611a str r2, [r3, #16] /* Get the Flash Wait State (Latency) configuration ------------------------*/ *pFLatency = (uint32_t)(FLASH->ACR & FLASH_ACR_LATENCY); - 80095d6: 4b07 ldr r3, [pc, #28] ; (80095f4 ) - 80095d8: 681b ldr r3, [r3, #0] - 80095da: f003 020f and.w r2, r3, #15 - 80095de: 683b ldr r3, [r7, #0] - 80095e0: 601a str r2, [r3, #0] + 8009172: 4b07 ldr r3, [pc, #28] ; (8009190 ) + 8009174: 681b ldr r3, [r3, #0] + 8009176: f003 020f and.w r2, r3, #15 + 800917a: 683b ldr r3, [r7, #0] + 800917c: 601a str r2, [r3, #0] } - 80095e2: bf00 nop - 80095e4: 370c adds r7, #12 - 80095e6: 46bd mov sp, r7 - 80095e8: f85d 7b04 ldr.w r7, [sp], #4 - 80095ec: 4770 bx lr - 80095ee: bf00 nop - 80095f0: 40023800 .word 0x40023800 - 80095f4: 40023c00 .word 0x40023c00 + 800917e: bf00 nop + 8009180: 370c adds r7, #12 + 8009182: 46bd mov sp, r7 + 8009184: f85d 7b04 ldr.w r7, [sp], #4 + 8009188: 4770 bx lr + 800918a: bf00 nop + 800918c: 40023800 .word 0x40023800 + 8009190: 40023c00 .word 0x40023c00 -080095f8 : +08009194 : * the backup registers) are set to their reset values. * * @retval HAL status */ HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit) { - 80095f8: b580 push {r7, lr} - 80095fa: b088 sub sp, #32 - 80095fc: af00 add r7, sp, #0 - 80095fe: 6078 str r0, [r7, #4] + 8009194: b580 push {r7, lr} + 8009196: b088 sub sp, #32 + 8009198: af00 add r7, sp, #0 + 800919a: 6078 str r0, [r7, #4] uint32_t tickstart = 0; - 8009600: 2300 movs r3, #0 - 8009602: 617b str r3, [r7, #20] + 800919c: 2300 movs r3, #0 + 800919e: 617b str r3, [r7, #20] uint32_t tmpreg0 = 0; - 8009604: 2300 movs r3, #0 - 8009606: 613b str r3, [r7, #16] + 80091a0: 2300 movs r3, #0 + 80091a2: 613b str r3, [r7, #16] uint32_t tmpreg1 = 0; - 8009608: 2300 movs r3, #0 - 800960a: 60fb str r3, [r7, #12] + 80091a4: 2300 movs r3, #0 + 80091a6: 60fb str r3, [r7, #12] uint32_t plli2sused = 0; - 800960c: 2300 movs r3, #0 - 800960e: 61fb str r3, [r7, #28] + 80091a8: 2300 movs r3, #0 + 80091aa: 61fb str r3, [r7, #28] uint32_t pllsaiused = 0; - 8009610: 2300 movs r3, #0 - 8009612: 61bb str r3, [r7, #24] + 80091ac: 2300 movs r3, #0 + 80091ae: 61bb str r3, [r7, #24] /* Check the parameters */ assert_param(IS_RCC_PERIPHCLOCK(PeriphClkInit->PeriphClockSelection)); /*----------------------------------- I2S configuration ----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2S) == (RCC_PERIPHCLK_I2S)) - 8009614: 687b ldr r3, [r7, #4] - 8009616: 681b ldr r3, [r3, #0] - 8009618: f003 0301 and.w r3, r3, #1 - 800961c: 2b00 cmp r3, #0 - 800961e: d012 beq.n 8009646 + 80091b0: 687b ldr r3, [r7, #4] + 80091b2: 681b ldr r3, [r3, #0] + 80091b4: f003 0301 and.w r3, r3, #1 + 80091b8: 2b00 cmp r3, #0 + 80091ba: d012 beq.n 80091e2 { /* Check the parameters */ assert_param(IS_RCC_I2SCLKSOURCE(PeriphClkInit->I2sClockSelection)); /* Configure I2S Clock source */ __HAL_RCC_I2S_CONFIG(PeriphClkInit->I2sClockSelection); - 8009620: 4b69 ldr r3, [pc, #420] ; (80097c8 ) - 8009622: 689b ldr r3, [r3, #8] - 8009624: 4a68 ldr r2, [pc, #416] ; (80097c8 ) - 8009626: f423 0300 bic.w r3, r3, #8388608 ; 0x800000 - 800962a: 6093 str r3, [r2, #8] - 800962c: 4b66 ldr r3, [pc, #408] ; (80097c8 ) - 800962e: 689a ldr r2, [r3, #8] - 8009630: 687b ldr r3, [r7, #4] - 8009632: 6b5b ldr r3, [r3, #52] ; 0x34 - 8009634: 4964 ldr r1, [pc, #400] ; (80097c8 ) - 8009636: 4313 orrs r3, r2 - 8009638: 608b str r3, [r1, #8] + 80091bc: 4b69 ldr r3, [pc, #420] ; (8009364 ) + 80091be: 689b ldr r3, [r3, #8] + 80091c0: 4a68 ldr r2, [pc, #416] ; (8009364 ) + 80091c2: f423 0300 bic.w r3, r3, #8388608 ; 0x800000 + 80091c6: 6093 str r3, [r2, #8] + 80091c8: 4b66 ldr r3, [pc, #408] ; (8009364 ) + 80091ca: 689a ldr r2, [r3, #8] + 80091cc: 687b ldr r3, [r7, #4] + 80091ce: 6b5b ldr r3, [r3, #52] ; 0x34 + 80091d0: 4964 ldr r1, [pc, #400] ; (8009364 ) + 80091d2: 4313 orrs r3, r2 + 80091d4: 608b str r3, [r1, #8] /* Enable the PLLI2S when it's used as clock source for I2S */ if(PeriphClkInit->I2sClockSelection == RCC_I2SCLKSOURCE_PLLI2S) - 800963a: 687b ldr r3, [r7, #4] - 800963c: 6b5b ldr r3, [r3, #52] ; 0x34 - 800963e: 2b00 cmp r3, #0 - 8009640: d101 bne.n 8009646 + 80091d6: 687b ldr r3, [r7, #4] + 80091d8: 6b5b ldr r3, [r3, #52] ; 0x34 + 80091da: 2b00 cmp r3, #0 + 80091dc: d101 bne.n 80091e2 { plli2sused = 1; - 8009642: 2301 movs r3, #1 - 8009644: 61fb str r3, [r7, #28] + 80091de: 2301 movs r3, #1 + 80091e0: 61fb str r3, [r7, #28] } } /*------------------------------------ SAI1 configuration --------------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI1) == (RCC_PERIPHCLK_SAI1)) - 8009646: 687b ldr r3, [r7, #4] - 8009648: 681b ldr r3, [r3, #0] - 800964a: f403 2300 and.w r3, r3, #524288 ; 0x80000 - 800964e: 2b00 cmp r3, #0 - 8009650: d017 beq.n 8009682 + 80091e2: 687b ldr r3, [r7, #4] + 80091e4: 681b ldr r3, [r3, #0] + 80091e6: f403 2300 and.w r3, r3, #524288 ; 0x80000 + 80091ea: 2b00 cmp r3, #0 + 80091ec: d017 beq.n 800921e { /* Check the parameters */ assert_param(IS_RCC_SAI1CLKSOURCE(PeriphClkInit->Sai1ClockSelection)); /* Configure SAI1 Clock source */ __HAL_RCC_SAI1_CONFIG(PeriphClkInit->Sai1ClockSelection); - 8009652: 4b5d ldr r3, [pc, #372] ; (80097c8 ) - 8009654: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c - 8009658: f423 1240 bic.w r2, r3, #3145728 ; 0x300000 - 800965c: 687b ldr r3, [r7, #4] - 800965e: 6bdb ldr r3, [r3, #60] ; 0x3c - 8009660: 4959 ldr r1, [pc, #356] ; (80097c8 ) - 8009662: 4313 orrs r3, r2 - 8009664: f8c1 308c str.w r3, [r1, #140] ; 0x8c + 80091ee: 4b5d ldr r3, [pc, #372] ; (8009364 ) + 80091f0: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c + 80091f4: f423 1240 bic.w r2, r3, #3145728 ; 0x300000 + 80091f8: 687b ldr r3, [r7, #4] + 80091fa: 6bdb ldr r3, [r3, #60] ; 0x3c + 80091fc: 4959 ldr r1, [pc, #356] ; (8009364 ) + 80091fe: 4313 orrs r3, r2 + 8009200: f8c1 308c str.w r3, [r1, #140] ; 0x8c /* Enable the PLLI2S when it's used as clock source for SAI */ if(PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLI2S) - 8009668: 687b ldr r3, [r7, #4] - 800966a: 6bdb ldr r3, [r3, #60] ; 0x3c - 800966c: f5b3 1f80 cmp.w r3, #1048576 ; 0x100000 - 8009670: d101 bne.n 8009676 + 8009204: 687b ldr r3, [r7, #4] + 8009206: 6bdb ldr r3, [r3, #60] ; 0x3c + 8009208: f5b3 1f80 cmp.w r3, #1048576 ; 0x100000 + 800920c: d101 bne.n 8009212 { plli2sused = 1; - 8009672: 2301 movs r3, #1 - 8009674: 61fb str r3, [r7, #28] + 800920e: 2301 movs r3, #1 + 8009210: 61fb str r3, [r7, #28] } /* Enable the PLLSAI when it's used as clock source for SAI */ if(PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLSAI) - 8009676: 687b ldr r3, [r7, #4] - 8009678: 6bdb ldr r3, [r3, #60] ; 0x3c - 800967a: 2b00 cmp r3, #0 - 800967c: d101 bne.n 8009682 + 8009212: 687b ldr r3, [r7, #4] + 8009214: 6bdb ldr r3, [r3, #60] ; 0x3c + 8009216: 2b00 cmp r3, #0 + 8009218: d101 bne.n 800921e { pllsaiused = 1; - 800967e: 2301 movs r3, #1 - 8009680: 61bb str r3, [r7, #24] + 800921a: 2301 movs r3, #1 + 800921c: 61bb str r3, [r7, #24] } } /*------------------------------------ SAI2 configuration --------------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == (RCC_PERIPHCLK_SAI2)) - 8009682: 687b ldr r3, [r7, #4] - 8009684: 681b ldr r3, [r3, #0] - 8009686: f403 1380 and.w r3, r3, #1048576 ; 0x100000 - 800968a: 2b00 cmp r3, #0 - 800968c: d017 beq.n 80096be + 800921e: 687b ldr r3, [r7, #4] + 8009220: 681b ldr r3, [r3, #0] + 8009222: f403 1380 and.w r3, r3, #1048576 ; 0x100000 + 8009226: 2b00 cmp r3, #0 + 8009228: d017 beq.n 800925a { /* Check the parameters */ assert_param(IS_RCC_SAI2CLKSOURCE(PeriphClkInit->Sai2ClockSelection)); /* Configure SAI2 Clock source */ __HAL_RCC_SAI2_CONFIG(PeriphClkInit->Sai2ClockSelection); - 800968e: 4b4e ldr r3, [pc, #312] ; (80097c8 ) - 8009690: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c - 8009694: f423 0240 bic.w r2, r3, #12582912 ; 0xc00000 - 8009698: 687b ldr r3, [r7, #4] - 800969a: 6c1b ldr r3, [r3, #64] ; 0x40 - 800969c: 494a ldr r1, [pc, #296] ; (80097c8 ) - 800969e: 4313 orrs r3, r2 - 80096a0: f8c1 308c str.w r3, [r1, #140] ; 0x8c + 800922a: 4b4e ldr r3, [pc, #312] ; (8009364 ) + 800922c: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c + 8009230: f423 0240 bic.w r2, r3, #12582912 ; 0xc00000 + 8009234: 687b ldr r3, [r7, #4] + 8009236: 6c1b ldr r3, [r3, #64] ; 0x40 + 8009238: 494a ldr r1, [pc, #296] ; (8009364 ) + 800923a: 4313 orrs r3, r2 + 800923c: f8c1 308c str.w r3, [r1, #140] ; 0x8c /* Enable the PLLI2S when it's used as clock source for SAI */ if(PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLI2S) - 80096a4: 687b ldr r3, [r7, #4] - 80096a6: 6c1b ldr r3, [r3, #64] ; 0x40 - 80096a8: f5b3 0f80 cmp.w r3, #4194304 ; 0x400000 - 80096ac: d101 bne.n 80096b2 + 8009240: 687b ldr r3, [r7, #4] + 8009242: 6c1b ldr r3, [r3, #64] ; 0x40 + 8009244: f5b3 0f80 cmp.w r3, #4194304 ; 0x400000 + 8009248: d101 bne.n 800924e { plli2sused = 1; - 80096ae: 2301 movs r3, #1 - 80096b0: 61fb str r3, [r7, #28] + 800924a: 2301 movs r3, #1 + 800924c: 61fb str r3, [r7, #28] } /* Enable the PLLSAI when it's used as clock source for SAI */ if(PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLSAI) - 80096b2: 687b ldr r3, [r7, #4] - 80096b4: 6c1b ldr r3, [r3, #64] ; 0x40 - 80096b6: 2b00 cmp r3, #0 - 80096b8: d101 bne.n 80096be + 800924e: 687b ldr r3, [r7, #4] + 8009250: 6c1b ldr r3, [r3, #64] ; 0x40 + 8009252: 2b00 cmp r3, #0 + 8009254: d101 bne.n 800925a { pllsaiused = 1; - 80096ba: 2301 movs r3, #1 - 80096bc: 61bb str r3, [r7, #24] + 8009256: 2301 movs r3, #1 + 8009258: 61bb str r3, [r7, #24] } } /*-------------------------------------- SPDIF-RX Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SPDIFRX) == RCC_PERIPHCLK_SPDIFRX) - 80096be: 687b ldr r3, [r7, #4] - 80096c0: 681b ldr r3, [r3, #0] - 80096c2: f003 7380 and.w r3, r3, #16777216 ; 0x1000000 - 80096c6: 2b00 cmp r3, #0 - 80096c8: d001 beq.n 80096ce + 800925a: 687b ldr r3, [r7, #4] + 800925c: 681b ldr r3, [r3, #0] + 800925e: f003 7380 and.w r3, r3, #16777216 ; 0x1000000 + 8009262: 2b00 cmp r3, #0 + 8009264: d001 beq.n 800926a { plli2sused = 1; - 80096ca: 2301 movs r3, #1 - 80096cc: 61fb str r3, [r7, #28] + 8009266: 2301 movs r3, #1 + 8009268: 61fb str r3, [r7, #28] } /*------------------------------------ RTC configuration --------------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_RTC) == (RCC_PERIPHCLK_RTC)) - 80096ce: 687b ldr r3, [r7, #4] - 80096d0: 681b ldr r3, [r3, #0] - 80096d2: f003 0320 and.w r3, r3, #32 - 80096d6: 2b00 cmp r3, #0 - 80096d8: f000 808b beq.w 80097f2 + 800926a: 687b ldr r3, [r7, #4] + 800926c: 681b ldr r3, [r3, #0] + 800926e: f003 0320 and.w r3, r3, #32 + 8009272: 2b00 cmp r3, #0 + 8009274: f000 808b beq.w 800938e { /* Check for RTC Parameters used to output RTCCLK */ assert_param(IS_RCC_RTCCLKSOURCE(PeriphClkInit->RTCClockSelection)); /* Enable Power Clock*/ __HAL_RCC_PWR_CLK_ENABLE(); - 80096dc: 4b3a ldr r3, [pc, #232] ; (80097c8 ) - 80096de: 6c1b ldr r3, [r3, #64] ; 0x40 - 80096e0: 4a39 ldr r2, [pc, #228] ; (80097c8 ) - 80096e2: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 - 80096e6: 6413 str r3, [r2, #64] ; 0x40 - 80096e8: 4b37 ldr r3, [pc, #220] ; (80097c8 ) - 80096ea: 6c1b ldr r3, [r3, #64] ; 0x40 - 80096ec: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 - 80096f0: 60bb str r3, [r7, #8] - 80096f2: 68bb ldr r3, [r7, #8] + 8009278: 4b3a ldr r3, [pc, #232] ; (8009364 ) + 800927a: 6c1b ldr r3, [r3, #64] ; 0x40 + 800927c: 4a39 ldr r2, [pc, #228] ; (8009364 ) + 800927e: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 + 8009282: 6413 str r3, [r2, #64] ; 0x40 + 8009284: 4b37 ldr r3, [pc, #220] ; (8009364 ) + 8009286: 6c1b ldr r3, [r3, #64] ; 0x40 + 8009288: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 + 800928c: 60bb str r3, [r7, #8] + 800928e: 68bb ldr r3, [r7, #8] /* Enable write access to Backup domain */ PWR->CR1 |= PWR_CR1_DBP; - 80096f4: 4b35 ldr r3, [pc, #212] ; (80097cc ) - 80096f6: 681b ldr r3, [r3, #0] - 80096f8: 4a34 ldr r2, [pc, #208] ; (80097cc ) - 80096fa: f443 7380 orr.w r3, r3, #256 ; 0x100 - 80096fe: 6013 str r3, [r2, #0] + 8009290: 4b35 ldr r3, [pc, #212] ; (8009368 ) + 8009292: 681b ldr r3, [r3, #0] + 8009294: 4a34 ldr r2, [pc, #208] ; (8009368 ) + 8009296: f443 7380 orr.w r3, r3, #256 ; 0x100 + 800929a: 6013 str r3, [r2, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8009700: f7fb fb96 bl 8004e30 - 8009704: 6178 str r0, [r7, #20] + 800929c: f7fb fb7c bl 8004998 + 80092a0: 6178 str r0, [r7, #20] /* Wait for Backup domain Write protection disable */ while((PWR->CR1 & PWR_CR1_DBP) == RESET) - 8009706: e008 b.n 800971a + 80092a2: e008 b.n 80092b6 { if((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE) - 8009708: f7fb fb92 bl 8004e30 - 800970c: 4602 mov r2, r0 - 800970e: 697b ldr r3, [r7, #20] - 8009710: 1ad3 subs r3, r2, r3 - 8009712: 2b64 cmp r3, #100 ; 0x64 - 8009714: d901 bls.n 800971a + 80092a4: f7fb fb78 bl 8004998 + 80092a8: 4602 mov r2, r0 + 80092aa: 697b ldr r3, [r7, #20] + 80092ac: 1ad3 subs r3, r2, r3 + 80092ae: 2b64 cmp r3, #100 ; 0x64 + 80092b0: d901 bls.n 80092b6 { return HAL_TIMEOUT; - 8009716: 2303 movs r3, #3 - 8009718: e355 b.n 8009dc6 + 80092b2: 2303 movs r3, #3 + 80092b4: e355 b.n 8009962 while((PWR->CR1 & PWR_CR1_DBP) == RESET) - 800971a: 4b2c ldr r3, [pc, #176] ; (80097cc ) - 800971c: 681b ldr r3, [r3, #0] - 800971e: f403 7380 and.w r3, r3, #256 ; 0x100 - 8009722: 2b00 cmp r3, #0 - 8009724: d0f0 beq.n 8009708 + 80092b6: 4b2c ldr r3, [pc, #176] ; (8009368 ) + 80092b8: 681b ldr r3, [r3, #0] + 80092ba: f403 7380 and.w r3, r3, #256 ; 0x100 + 80092be: 2b00 cmp r3, #0 + 80092c0: d0f0 beq.n 80092a4 } } /* Reset the Backup domain only if the RTC Clock source selection is modified */ tmpreg0 = (RCC->BDCR & RCC_BDCR_RTCSEL); - 8009726: 4b28 ldr r3, [pc, #160] ; (80097c8 ) - 8009728: 6f1b ldr r3, [r3, #112] ; 0x70 - 800972a: f403 7340 and.w r3, r3, #768 ; 0x300 - 800972e: 613b str r3, [r7, #16] + 80092c2: 4b28 ldr r3, [pc, #160] ; (8009364 ) + 80092c4: 6f1b ldr r3, [r3, #112] ; 0x70 + 80092c6: f403 7340 and.w r3, r3, #768 ; 0x300 + 80092ca: 613b str r3, [r7, #16] if((tmpreg0 != 0x00000000U) && (tmpreg0 != (PeriphClkInit->RTCClockSelection & RCC_BDCR_RTCSEL))) - 8009730: 693b ldr r3, [r7, #16] - 8009732: 2b00 cmp r3, #0 - 8009734: d035 beq.n 80097a2 - 8009736: 687b ldr r3, [r7, #4] - 8009738: 6b1b ldr r3, [r3, #48] ; 0x30 - 800973a: f403 7340 and.w r3, r3, #768 ; 0x300 - 800973e: 693a ldr r2, [r7, #16] - 8009740: 429a cmp r2, r3 - 8009742: d02e beq.n 80097a2 + 80092cc: 693b ldr r3, [r7, #16] + 80092ce: 2b00 cmp r3, #0 + 80092d0: d035 beq.n 800933e + 80092d2: 687b ldr r3, [r7, #4] + 80092d4: 6b1b ldr r3, [r3, #48] ; 0x30 + 80092d6: f403 7340 and.w r3, r3, #768 ; 0x300 + 80092da: 693a ldr r2, [r7, #16] + 80092dc: 429a cmp r2, r3 + 80092de: d02e beq.n 800933e { /* Store the content of BDCR register before the reset of Backup Domain */ tmpreg0 = (RCC->BDCR & ~(RCC_BDCR_RTCSEL)); - 8009744: 4b20 ldr r3, [pc, #128] ; (80097c8 ) - 8009746: 6f1b ldr r3, [r3, #112] ; 0x70 - 8009748: f423 7340 bic.w r3, r3, #768 ; 0x300 - 800974c: 613b str r3, [r7, #16] + 80092e0: 4b20 ldr r3, [pc, #128] ; (8009364 ) + 80092e2: 6f1b ldr r3, [r3, #112] ; 0x70 + 80092e4: f423 7340 bic.w r3, r3, #768 ; 0x300 + 80092e8: 613b str r3, [r7, #16] /* RTC Clock selection can be changed only if the Backup Domain is reset */ __HAL_RCC_BACKUPRESET_FORCE(); - 800974e: 4b1e ldr r3, [pc, #120] ; (80097c8 ) - 8009750: 6f1b ldr r3, [r3, #112] ; 0x70 - 8009752: 4a1d ldr r2, [pc, #116] ; (80097c8 ) - 8009754: f443 3380 orr.w r3, r3, #65536 ; 0x10000 - 8009758: 6713 str r3, [r2, #112] ; 0x70 + 80092ea: 4b1e ldr r3, [pc, #120] ; (8009364 ) + 80092ec: 6f1b ldr r3, [r3, #112] ; 0x70 + 80092ee: 4a1d ldr r2, [pc, #116] ; (8009364 ) + 80092f0: f443 3380 orr.w r3, r3, #65536 ; 0x10000 + 80092f4: 6713 str r3, [r2, #112] ; 0x70 __HAL_RCC_BACKUPRESET_RELEASE(); - 800975a: 4b1b ldr r3, [pc, #108] ; (80097c8 ) - 800975c: 6f1b ldr r3, [r3, #112] ; 0x70 - 800975e: 4a1a ldr r2, [pc, #104] ; (80097c8 ) - 8009760: f423 3380 bic.w r3, r3, #65536 ; 0x10000 - 8009764: 6713 str r3, [r2, #112] ; 0x70 + 80092f6: 4b1b ldr r3, [pc, #108] ; (8009364 ) + 80092f8: 6f1b ldr r3, [r3, #112] ; 0x70 + 80092fa: 4a1a ldr r2, [pc, #104] ; (8009364 ) + 80092fc: f423 3380 bic.w r3, r3, #65536 ; 0x10000 + 8009300: 6713 str r3, [r2, #112] ; 0x70 /* Restore the Content of BDCR register */ RCC->BDCR = tmpreg0; - 8009766: 4a18 ldr r2, [pc, #96] ; (80097c8 ) - 8009768: 693b ldr r3, [r7, #16] - 800976a: 6713 str r3, [r2, #112] ; 0x70 + 8009302: 4a18 ldr r2, [pc, #96] ; (8009364 ) + 8009304: 693b ldr r3, [r7, #16] + 8009306: 6713 str r3, [r2, #112] ; 0x70 /* Wait for LSE reactivation if LSE was enable prior to Backup Domain reset */ if (HAL_IS_BIT_SET(RCC->BDCR, RCC_BDCR_LSEON)) - 800976c: 4b16 ldr r3, [pc, #88] ; (80097c8 ) - 800976e: 6f1b ldr r3, [r3, #112] ; 0x70 - 8009770: f003 0301 and.w r3, r3, #1 - 8009774: 2b01 cmp r3, #1 - 8009776: d114 bne.n 80097a2 + 8009308: 4b16 ldr r3, [pc, #88] ; (8009364 ) + 800930a: 6f1b ldr r3, [r3, #112] ; 0x70 + 800930c: f003 0301 and.w r3, r3, #1 + 8009310: 2b01 cmp r3, #1 + 8009312: d114 bne.n 800933e { /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8009778: f7fb fb5a bl 8004e30 - 800977c: 6178 str r0, [r7, #20] + 8009314: f7fb fb40 bl 8004998 + 8009318: 6178 str r0, [r7, #20] /* Wait till LSE is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET) - 800977e: e00a b.n 8009796 + 800931a: e00a b.n 8009332 { if((HAL_GetTick() - tickstart ) > RCC_LSE_TIMEOUT_VALUE) - 8009780: f7fb fb56 bl 8004e30 - 8009784: 4602 mov r2, r0 - 8009786: 697b ldr r3, [r7, #20] - 8009788: 1ad3 subs r3, r2, r3 - 800978a: f241 3288 movw r2, #5000 ; 0x1388 - 800978e: 4293 cmp r3, r2 - 8009790: d901 bls.n 8009796 + 800931c: f7fb fb3c bl 8004998 + 8009320: 4602 mov r2, r0 + 8009322: 697b ldr r3, [r7, #20] + 8009324: 1ad3 subs r3, r2, r3 + 8009326: f241 3288 movw r2, #5000 ; 0x1388 + 800932a: 4293 cmp r3, r2 + 800932c: d901 bls.n 8009332 { return HAL_TIMEOUT; - 8009792: 2303 movs r3, #3 - 8009794: e317 b.n 8009dc6 + 800932e: 2303 movs r3, #3 + 8009330: e317 b.n 8009962 while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET) - 8009796: 4b0c ldr r3, [pc, #48] ; (80097c8 ) - 8009798: 6f1b ldr r3, [r3, #112] ; 0x70 - 800979a: f003 0302 and.w r3, r3, #2 - 800979e: 2b00 cmp r3, #0 - 80097a0: d0ee beq.n 8009780 + 8009332: 4b0c ldr r3, [pc, #48] ; (8009364 ) + 8009334: 6f1b ldr r3, [r3, #112] ; 0x70 + 8009336: f003 0302 and.w r3, r3, #2 + 800933a: 2b00 cmp r3, #0 + 800933c: d0ee beq.n 800931c } } } } __HAL_RCC_RTC_CONFIG(PeriphClkInit->RTCClockSelection); - 80097a2: 687b ldr r3, [r7, #4] - 80097a4: 6b1b ldr r3, [r3, #48] ; 0x30 - 80097a6: f403 7340 and.w r3, r3, #768 ; 0x300 - 80097aa: f5b3 7f40 cmp.w r3, #768 ; 0x300 - 80097ae: d111 bne.n 80097d4 - 80097b0: 4b05 ldr r3, [pc, #20] ; (80097c8 ) - 80097b2: 689b ldr r3, [r3, #8] - 80097b4: f423 12f8 bic.w r2, r3, #2031616 ; 0x1f0000 - 80097b8: 687b ldr r3, [r7, #4] - 80097ba: 6b19 ldr r1, [r3, #48] ; 0x30 - 80097bc: 4b04 ldr r3, [pc, #16] ; (80097d0 ) - 80097be: 400b ands r3, r1 - 80097c0: 4901 ldr r1, [pc, #4] ; (80097c8 ) - 80097c2: 4313 orrs r3, r2 - 80097c4: 608b str r3, [r1, #8] - 80097c6: e00b b.n 80097e0 - 80097c8: 40023800 .word 0x40023800 - 80097cc: 40007000 .word 0x40007000 - 80097d0: 0ffffcff .word 0x0ffffcff - 80097d4: 4bb0 ldr r3, [pc, #704] ; (8009a98 ) - 80097d6: 689b ldr r3, [r3, #8] - 80097d8: 4aaf ldr r2, [pc, #700] ; (8009a98 ) - 80097da: f423 13f8 bic.w r3, r3, #2031616 ; 0x1f0000 - 80097de: 6093 str r3, [r2, #8] - 80097e0: 4bad ldr r3, [pc, #692] ; (8009a98 ) - 80097e2: 6f1a ldr r2, [r3, #112] ; 0x70 - 80097e4: 687b ldr r3, [r7, #4] - 80097e6: 6b1b ldr r3, [r3, #48] ; 0x30 - 80097e8: f3c3 030b ubfx r3, r3, #0, #12 - 80097ec: 49aa ldr r1, [pc, #680] ; (8009a98 ) - 80097ee: 4313 orrs r3, r2 - 80097f0: 670b str r3, [r1, #112] ; 0x70 + 800933e: 687b ldr r3, [r7, #4] + 8009340: 6b1b ldr r3, [r3, #48] ; 0x30 + 8009342: f403 7340 and.w r3, r3, #768 ; 0x300 + 8009346: f5b3 7f40 cmp.w r3, #768 ; 0x300 + 800934a: d111 bne.n 8009370 + 800934c: 4b05 ldr r3, [pc, #20] ; (8009364 ) + 800934e: 689b ldr r3, [r3, #8] + 8009350: f423 12f8 bic.w r2, r3, #2031616 ; 0x1f0000 + 8009354: 687b ldr r3, [r7, #4] + 8009356: 6b19 ldr r1, [r3, #48] ; 0x30 + 8009358: 4b04 ldr r3, [pc, #16] ; (800936c ) + 800935a: 400b ands r3, r1 + 800935c: 4901 ldr r1, [pc, #4] ; (8009364 ) + 800935e: 4313 orrs r3, r2 + 8009360: 608b str r3, [r1, #8] + 8009362: e00b b.n 800937c + 8009364: 40023800 .word 0x40023800 + 8009368: 40007000 .word 0x40007000 + 800936c: 0ffffcff .word 0x0ffffcff + 8009370: 4bb0 ldr r3, [pc, #704] ; (8009634 ) + 8009372: 689b ldr r3, [r3, #8] + 8009374: 4aaf ldr r2, [pc, #700] ; (8009634 ) + 8009376: f423 13f8 bic.w r3, r3, #2031616 ; 0x1f0000 + 800937a: 6093 str r3, [r2, #8] + 800937c: 4bad ldr r3, [pc, #692] ; (8009634 ) + 800937e: 6f1a ldr r2, [r3, #112] ; 0x70 + 8009380: 687b ldr r3, [r7, #4] + 8009382: 6b1b ldr r3, [r3, #48] ; 0x30 + 8009384: f3c3 030b ubfx r3, r3, #0, #12 + 8009388: 49aa ldr r1, [pc, #680] ; (8009634 ) + 800938a: 4313 orrs r3, r2 + 800938c: 670b str r3, [r1, #112] ; 0x70 } /*------------------------------------ TIM configuration --------------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_TIM) == (RCC_PERIPHCLK_TIM)) - 80097f2: 687b ldr r3, [r7, #4] - 80097f4: 681b ldr r3, [r3, #0] - 80097f6: f003 0310 and.w r3, r3, #16 - 80097fa: 2b00 cmp r3, #0 - 80097fc: d010 beq.n 8009820 + 800938e: 687b ldr r3, [r7, #4] + 8009390: 681b ldr r3, [r3, #0] + 8009392: f003 0310 and.w r3, r3, #16 + 8009396: 2b00 cmp r3, #0 + 8009398: d010 beq.n 80093bc { /* Check the parameters */ assert_param(IS_RCC_TIMPRES(PeriphClkInit->TIMPresSelection)); /* Configure Timer Prescaler */ __HAL_RCC_TIMCLKPRESCALER(PeriphClkInit->TIMPresSelection); - 80097fe: 4ba6 ldr r3, [pc, #664] ; (8009a98 ) - 8009800: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c - 8009804: 4aa4 ldr r2, [pc, #656] ; (8009a98 ) - 8009806: f023 7380 bic.w r3, r3, #16777216 ; 0x1000000 - 800980a: f8c2 308c str.w r3, [r2, #140] ; 0x8c - 800980e: 4ba2 ldr r3, [pc, #648] ; (8009a98 ) - 8009810: f8d3 208c ldr.w r2, [r3, #140] ; 0x8c - 8009814: 687b ldr r3, [r7, #4] - 8009816: 6b9b ldr r3, [r3, #56] ; 0x38 - 8009818: 499f ldr r1, [pc, #636] ; (8009a98 ) - 800981a: 4313 orrs r3, r2 - 800981c: f8c1 308c str.w r3, [r1, #140] ; 0x8c + 800939a: 4ba6 ldr r3, [pc, #664] ; (8009634 ) + 800939c: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c + 80093a0: 4aa4 ldr r2, [pc, #656] ; (8009634 ) + 80093a2: f023 7380 bic.w r3, r3, #16777216 ; 0x1000000 + 80093a6: f8c2 308c str.w r3, [r2, #140] ; 0x8c + 80093aa: 4ba2 ldr r3, [pc, #648] ; (8009634 ) + 80093ac: f8d3 208c ldr.w r2, [r3, #140] ; 0x8c + 80093b0: 687b ldr r3, [r7, #4] + 80093b2: 6b9b ldr r3, [r3, #56] ; 0x38 + 80093b4: 499f ldr r1, [pc, #636] ; (8009634 ) + 80093b6: 4313 orrs r3, r2 + 80093b8: f8c1 308c str.w r3, [r1, #140] ; 0x8c } /*-------------------------------------- I2C1 Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2C1) == RCC_PERIPHCLK_I2C1) - 8009820: 687b ldr r3, [r7, #4] - 8009822: 681b ldr r3, [r3, #0] - 8009824: f403 4380 and.w r3, r3, #16384 ; 0x4000 - 8009828: 2b00 cmp r3, #0 - 800982a: d00a beq.n 8009842 + 80093bc: 687b ldr r3, [r7, #4] + 80093be: 681b ldr r3, [r3, #0] + 80093c0: f403 4380 and.w r3, r3, #16384 ; 0x4000 + 80093c4: 2b00 cmp r3, #0 + 80093c6: d00a beq.n 80093de { /* Check the parameters */ assert_param(IS_RCC_I2C1CLKSOURCE(PeriphClkInit->I2c1ClockSelection)); /* Configure the I2C1 clock source */ __HAL_RCC_I2C1_CONFIG(PeriphClkInit->I2c1ClockSelection); - 800982c: 4b9a ldr r3, [pc, #616] ; (8009a98 ) - 800982e: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8009832: f423 3240 bic.w r2, r3, #196608 ; 0x30000 - 8009836: 687b ldr r3, [r7, #4] - 8009838: 6e5b ldr r3, [r3, #100] ; 0x64 - 800983a: 4997 ldr r1, [pc, #604] ; (8009a98 ) - 800983c: 4313 orrs r3, r2 - 800983e: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 80093c8: 4b9a ldr r3, [pc, #616] ; (8009634 ) + 80093ca: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 80093ce: f423 3240 bic.w r2, r3, #196608 ; 0x30000 + 80093d2: 687b ldr r3, [r7, #4] + 80093d4: 6e5b ldr r3, [r3, #100] ; 0x64 + 80093d6: 4997 ldr r1, [pc, #604] ; (8009634 ) + 80093d8: 4313 orrs r3, r2 + 80093da: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } /*-------------------------------------- I2C2 Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2C2) == RCC_PERIPHCLK_I2C2) - 8009842: 687b ldr r3, [r7, #4] - 8009844: 681b ldr r3, [r3, #0] - 8009846: f403 4300 and.w r3, r3, #32768 ; 0x8000 - 800984a: 2b00 cmp r3, #0 - 800984c: d00a beq.n 8009864 + 80093de: 687b ldr r3, [r7, #4] + 80093e0: 681b ldr r3, [r3, #0] + 80093e2: f403 4300 and.w r3, r3, #32768 ; 0x8000 + 80093e6: 2b00 cmp r3, #0 + 80093e8: d00a beq.n 8009400 { /* Check the parameters */ assert_param(IS_RCC_I2C2CLKSOURCE(PeriphClkInit->I2c2ClockSelection)); /* Configure the I2C2 clock source */ __HAL_RCC_I2C2_CONFIG(PeriphClkInit->I2c2ClockSelection); - 800984e: 4b92 ldr r3, [pc, #584] ; (8009a98 ) - 8009850: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8009854: f423 2240 bic.w r2, r3, #786432 ; 0xc0000 - 8009858: 687b ldr r3, [r7, #4] - 800985a: 6e9b ldr r3, [r3, #104] ; 0x68 - 800985c: 498e ldr r1, [pc, #568] ; (8009a98 ) - 800985e: 4313 orrs r3, r2 - 8009860: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 80093ea: 4b92 ldr r3, [pc, #584] ; (8009634 ) + 80093ec: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 80093f0: f423 2240 bic.w r2, r3, #786432 ; 0xc0000 + 80093f4: 687b ldr r3, [r7, #4] + 80093f6: 6e9b ldr r3, [r3, #104] ; 0x68 + 80093f8: 498e ldr r1, [pc, #568] ; (8009634 ) + 80093fa: 4313 orrs r3, r2 + 80093fc: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } /*-------------------------------------- I2C3 Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2C3) == RCC_PERIPHCLK_I2C3) - 8009864: 687b ldr r3, [r7, #4] - 8009866: 681b ldr r3, [r3, #0] - 8009868: f403 3380 and.w r3, r3, #65536 ; 0x10000 - 800986c: 2b00 cmp r3, #0 - 800986e: d00a beq.n 8009886 + 8009400: 687b ldr r3, [r7, #4] + 8009402: 681b ldr r3, [r3, #0] + 8009404: f403 3380 and.w r3, r3, #65536 ; 0x10000 + 8009408: 2b00 cmp r3, #0 + 800940a: d00a beq.n 8009422 { /* Check the parameters */ assert_param(IS_RCC_I2C3CLKSOURCE(PeriphClkInit->I2c3ClockSelection)); /* Configure the I2C3 clock source */ __HAL_RCC_I2C3_CONFIG(PeriphClkInit->I2c3ClockSelection); - 8009870: 4b89 ldr r3, [pc, #548] ; (8009a98 ) - 8009872: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8009876: f423 1240 bic.w r2, r3, #3145728 ; 0x300000 - 800987a: 687b ldr r3, [r7, #4] - 800987c: 6edb ldr r3, [r3, #108] ; 0x6c - 800987e: 4986 ldr r1, [pc, #536] ; (8009a98 ) - 8009880: 4313 orrs r3, r2 - 8009882: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 800940c: 4b89 ldr r3, [pc, #548] ; (8009634 ) + 800940e: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 8009412: f423 1240 bic.w r2, r3, #3145728 ; 0x300000 + 8009416: 687b ldr r3, [r7, #4] + 8009418: 6edb ldr r3, [r3, #108] ; 0x6c + 800941a: 4986 ldr r1, [pc, #536] ; (8009634 ) + 800941c: 4313 orrs r3, r2 + 800941e: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } /*-------------------------------------- I2C4 Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2C4) == RCC_PERIPHCLK_I2C4) - 8009886: 687b ldr r3, [r7, #4] - 8009888: 681b ldr r3, [r3, #0] - 800988a: f403 3300 and.w r3, r3, #131072 ; 0x20000 - 800988e: 2b00 cmp r3, #0 - 8009890: d00a beq.n 80098a8 + 8009422: 687b ldr r3, [r7, #4] + 8009424: 681b ldr r3, [r3, #0] + 8009426: f403 3300 and.w r3, r3, #131072 ; 0x20000 + 800942a: 2b00 cmp r3, #0 + 800942c: d00a beq.n 8009444 { /* Check the parameters */ assert_param(IS_RCC_I2C4CLKSOURCE(PeriphClkInit->I2c4ClockSelection)); /* Configure the I2C4 clock source */ __HAL_RCC_I2C4_CONFIG(PeriphClkInit->I2c4ClockSelection); - 8009892: 4b81 ldr r3, [pc, #516] ; (8009a98 ) - 8009894: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8009898: f423 0240 bic.w r2, r3, #12582912 ; 0xc00000 - 800989c: 687b ldr r3, [r7, #4] - 800989e: 6f1b ldr r3, [r3, #112] ; 0x70 - 80098a0: 497d ldr r1, [pc, #500] ; (8009a98 ) - 80098a2: 4313 orrs r3, r2 - 80098a4: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 800942e: 4b81 ldr r3, [pc, #516] ; (8009634 ) + 8009430: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 8009434: f423 0240 bic.w r2, r3, #12582912 ; 0xc00000 + 8009438: 687b ldr r3, [r7, #4] + 800943a: 6f1b ldr r3, [r3, #112] ; 0x70 + 800943c: 497d ldr r1, [pc, #500] ; (8009634 ) + 800943e: 4313 orrs r3, r2 + 8009440: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } /*-------------------------------------- USART1 Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_USART1) == RCC_PERIPHCLK_USART1) - 80098a8: 687b ldr r3, [r7, #4] - 80098aa: 681b ldr r3, [r3, #0] - 80098ac: f003 0340 and.w r3, r3, #64 ; 0x40 - 80098b0: 2b00 cmp r3, #0 - 80098b2: d00a beq.n 80098ca + 8009444: 687b ldr r3, [r7, #4] + 8009446: 681b ldr r3, [r3, #0] + 8009448: f003 0340 and.w r3, r3, #64 ; 0x40 + 800944c: 2b00 cmp r3, #0 + 800944e: d00a beq.n 8009466 { /* Check the parameters */ assert_param(IS_RCC_USART1CLKSOURCE(PeriphClkInit->Usart1ClockSelection)); /* Configure the USART1 clock source */ __HAL_RCC_USART1_CONFIG(PeriphClkInit->Usart1ClockSelection); - 80098b4: 4b78 ldr r3, [pc, #480] ; (8009a98 ) - 80098b6: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 80098ba: f023 0203 bic.w r2, r3, #3 - 80098be: 687b ldr r3, [r7, #4] - 80098c0: 6c5b ldr r3, [r3, #68] ; 0x44 - 80098c2: 4975 ldr r1, [pc, #468] ; (8009a98 ) - 80098c4: 4313 orrs r3, r2 - 80098c6: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 8009450: 4b78 ldr r3, [pc, #480] ; (8009634 ) + 8009452: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 8009456: f023 0203 bic.w r2, r3, #3 + 800945a: 687b ldr r3, [r7, #4] + 800945c: 6c5b ldr r3, [r3, #68] ; 0x44 + 800945e: 4975 ldr r1, [pc, #468] ; (8009634 ) + 8009460: 4313 orrs r3, r2 + 8009462: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } /*-------------------------------------- USART2 Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_USART2) == RCC_PERIPHCLK_USART2) - 80098ca: 687b ldr r3, [r7, #4] - 80098cc: 681b ldr r3, [r3, #0] - 80098ce: f003 0380 and.w r3, r3, #128 ; 0x80 - 80098d2: 2b00 cmp r3, #0 - 80098d4: d00a beq.n 80098ec + 8009466: 687b ldr r3, [r7, #4] + 8009468: 681b ldr r3, [r3, #0] + 800946a: f003 0380 and.w r3, r3, #128 ; 0x80 + 800946e: 2b00 cmp r3, #0 + 8009470: d00a beq.n 8009488 { /* Check the parameters */ assert_param(IS_RCC_USART2CLKSOURCE(PeriphClkInit->Usart2ClockSelection)); /* Configure the USART2 clock source */ __HAL_RCC_USART2_CONFIG(PeriphClkInit->Usart2ClockSelection); - 80098d6: 4b70 ldr r3, [pc, #448] ; (8009a98 ) - 80098d8: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 80098dc: f023 020c bic.w r2, r3, #12 - 80098e0: 687b ldr r3, [r7, #4] - 80098e2: 6c9b ldr r3, [r3, #72] ; 0x48 - 80098e4: 496c ldr r1, [pc, #432] ; (8009a98 ) - 80098e6: 4313 orrs r3, r2 - 80098e8: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 8009472: 4b70 ldr r3, [pc, #448] ; (8009634 ) + 8009474: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 8009478: f023 020c bic.w r2, r3, #12 + 800947c: 687b ldr r3, [r7, #4] + 800947e: 6c9b ldr r3, [r3, #72] ; 0x48 + 8009480: 496c ldr r1, [pc, #432] ; (8009634 ) + 8009482: 4313 orrs r3, r2 + 8009484: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } /*-------------------------------------- USART3 Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_USART3) == RCC_PERIPHCLK_USART3) - 80098ec: 687b ldr r3, [r7, #4] - 80098ee: 681b ldr r3, [r3, #0] - 80098f0: f403 7380 and.w r3, r3, #256 ; 0x100 - 80098f4: 2b00 cmp r3, #0 - 80098f6: d00a beq.n 800990e + 8009488: 687b ldr r3, [r7, #4] + 800948a: 681b ldr r3, [r3, #0] + 800948c: f403 7380 and.w r3, r3, #256 ; 0x100 + 8009490: 2b00 cmp r3, #0 + 8009492: d00a beq.n 80094aa { /* Check the parameters */ assert_param(IS_RCC_USART3CLKSOURCE(PeriphClkInit->Usart3ClockSelection)); /* Configure the USART3 clock source */ __HAL_RCC_USART3_CONFIG(PeriphClkInit->Usart3ClockSelection); - 80098f8: 4b67 ldr r3, [pc, #412] ; (8009a98 ) - 80098fa: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 80098fe: f023 0230 bic.w r2, r3, #48 ; 0x30 - 8009902: 687b ldr r3, [r7, #4] - 8009904: 6cdb ldr r3, [r3, #76] ; 0x4c - 8009906: 4964 ldr r1, [pc, #400] ; (8009a98 ) - 8009908: 4313 orrs r3, r2 - 800990a: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 8009494: 4b67 ldr r3, [pc, #412] ; (8009634 ) + 8009496: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 800949a: f023 0230 bic.w r2, r3, #48 ; 0x30 + 800949e: 687b ldr r3, [r7, #4] + 80094a0: 6cdb ldr r3, [r3, #76] ; 0x4c + 80094a2: 4964 ldr r1, [pc, #400] ; (8009634 ) + 80094a4: 4313 orrs r3, r2 + 80094a6: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } /*-------------------------------------- UART4 Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_UART4) == RCC_PERIPHCLK_UART4) - 800990e: 687b ldr r3, [r7, #4] - 8009910: 681b ldr r3, [r3, #0] - 8009912: f403 7300 and.w r3, r3, #512 ; 0x200 - 8009916: 2b00 cmp r3, #0 - 8009918: d00a beq.n 8009930 + 80094aa: 687b ldr r3, [r7, #4] + 80094ac: 681b ldr r3, [r3, #0] + 80094ae: f403 7300 and.w r3, r3, #512 ; 0x200 + 80094b2: 2b00 cmp r3, #0 + 80094b4: d00a beq.n 80094cc { /* Check the parameters */ assert_param(IS_RCC_UART4CLKSOURCE(PeriphClkInit->Uart4ClockSelection)); /* Configure the UART4 clock source */ __HAL_RCC_UART4_CONFIG(PeriphClkInit->Uart4ClockSelection); - 800991a: 4b5f ldr r3, [pc, #380] ; (8009a98 ) - 800991c: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8009920: f023 02c0 bic.w r2, r3, #192 ; 0xc0 - 8009924: 687b ldr r3, [r7, #4] - 8009926: 6d1b ldr r3, [r3, #80] ; 0x50 - 8009928: 495b ldr r1, [pc, #364] ; (8009a98 ) - 800992a: 4313 orrs r3, r2 - 800992c: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 80094b6: 4b5f ldr r3, [pc, #380] ; (8009634 ) + 80094b8: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 80094bc: f023 02c0 bic.w r2, r3, #192 ; 0xc0 + 80094c0: 687b ldr r3, [r7, #4] + 80094c2: 6d1b ldr r3, [r3, #80] ; 0x50 + 80094c4: 495b ldr r1, [pc, #364] ; (8009634 ) + 80094c6: 4313 orrs r3, r2 + 80094c8: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } /*-------------------------------------- UART5 Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_UART5) == RCC_PERIPHCLK_UART5) - 8009930: 687b ldr r3, [r7, #4] - 8009932: 681b ldr r3, [r3, #0] - 8009934: f403 6380 and.w r3, r3, #1024 ; 0x400 - 8009938: 2b00 cmp r3, #0 - 800993a: d00a beq.n 8009952 + 80094cc: 687b ldr r3, [r7, #4] + 80094ce: 681b ldr r3, [r3, #0] + 80094d0: f403 6380 and.w r3, r3, #1024 ; 0x400 + 80094d4: 2b00 cmp r3, #0 + 80094d6: d00a beq.n 80094ee { /* Check the parameters */ assert_param(IS_RCC_UART5CLKSOURCE(PeriphClkInit->Uart5ClockSelection)); /* Configure the UART5 clock source */ __HAL_RCC_UART5_CONFIG(PeriphClkInit->Uart5ClockSelection); - 800993c: 4b56 ldr r3, [pc, #344] ; (8009a98 ) - 800993e: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8009942: f423 7240 bic.w r2, r3, #768 ; 0x300 - 8009946: 687b ldr r3, [r7, #4] - 8009948: 6d5b ldr r3, [r3, #84] ; 0x54 - 800994a: 4953 ldr r1, [pc, #332] ; (8009a98 ) - 800994c: 4313 orrs r3, r2 - 800994e: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 80094d8: 4b56 ldr r3, [pc, #344] ; (8009634 ) + 80094da: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 80094de: f423 7240 bic.w r2, r3, #768 ; 0x300 + 80094e2: 687b ldr r3, [r7, #4] + 80094e4: 6d5b ldr r3, [r3, #84] ; 0x54 + 80094e6: 4953 ldr r1, [pc, #332] ; (8009634 ) + 80094e8: 4313 orrs r3, r2 + 80094ea: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } /*-------------------------------------- USART6 Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_USART6) == RCC_PERIPHCLK_USART6) - 8009952: 687b ldr r3, [r7, #4] - 8009954: 681b ldr r3, [r3, #0] - 8009956: f403 6300 and.w r3, r3, #2048 ; 0x800 - 800995a: 2b00 cmp r3, #0 - 800995c: d00a beq.n 8009974 + 80094ee: 687b ldr r3, [r7, #4] + 80094f0: 681b ldr r3, [r3, #0] + 80094f2: f403 6300 and.w r3, r3, #2048 ; 0x800 + 80094f6: 2b00 cmp r3, #0 + 80094f8: d00a beq.n 8009510 { /* Check the parameters */ assert_param(IS_RCC_USART6CLKSOURCE(PeriphClkInit->Usart6ClockSelection)); /* Configure the USART6 clock source */ __HAL_RCC_USART6_CONFIG(PeriphClkInit->Usart6ClockSelection); - 800995e: 4b4e ldr r3, [pc, #312] ; (8009a98 ) - 8009960: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8009964: f423 6240 bic.w r2, r3, #3072 ; 0xc00 - 8009968: 687b ldr r3, [r7, #4] - 800996a: 6d9b ldr r3, [r3, #88] ; 0x58 - 800996c: 494a ldr r1, [pc, #296] ; (8009a98 ) - 800996e: 4313 orrs r3, r2 - 8009970: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 80094fa: 4b4e ldr r3, [pc, #312] ; (8009634 ) + 80094fc: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 8009500: f423 6240 bic.w r2, r3, #3072 ; 0xc00 + 8009504: 687b ldr r3, [r7, #4] + 8009506: 6d9b ldr r3, [r3, #88] ; 0x58 + 8009508: 494a ldr r1, [pc, #296] ; (8009634 ) + 800950a: 4313 orrs r3, r2 + 800950c: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } /*-------------------------------------- UART7 Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_UART7) == RCC_PERIPHCLK_UART7) - 8009974: 687b ldr r3, [r7, #4] - 8009976: 681b ldr r3, [r3, #0] - 8009978: f403 5380 and.w r3, r3, #4096 ; 0x1000 - 800997c: 2b00 cmp r3, #0 - 800997e: d00a beq.n 8009996 + 8009510: 687b ldr r3, [r7, #4] + 8009512: 681b ldr r3, [r3, #0] + 8009514: f403 5380 and.w r3, r3, #4096 ; 0x1000 + 8009518: 2b00 cmp r3, #0 + 800951a: d00a beq.n 8009532 { /* Check the parameters */ assert_param(IS_RCC_UART7CLKSOURCE(PeriphClkInit->Uart7ClockSelection)); /* Configure the UART7 clock source */ __HAL_RCC_UART7_CONFIG(PeriphClkInit->Uart7ClockSelection); - 8009980: 4b45 ldr r3, [pc, #276] ; (8009a98 ) - 8009982: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8009986: f423 5240 bic.w r2, r3, #12288 ; 0x3000 - 800998a: 687b ldr r3, [r7, #4] - 800998c: 6ddb ldr r3, [r3, #92] ; 0x5c - 800998e: 4942 ldr r1, [pc, #264] ; (8009a98 ) - 8009990: 4313 orrs r3, r2 - 8009992: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 800951c: 4b45 ldr r3, [pc, #276] ; (8009634 ) + 800951e: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 8009522: f423 5240 bic.w r2, r3, #12288 ; 0x3000 + 8009526: 687b ldr r3, [r7, #4] + 8009528: 6ddb ldr r3, [r3, #92] ; 0x5c + 800952a: 4942 ldr r1, [pc, #264] ; (8009634 ) + 800952c: 4313 orrs r3, r2 + 800952e: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } /*-------------------------------------- UART8 Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_UART8) == RCC_PERIPHCLK_UART8) - 8009996: 687b ldr r3, [r7, #4] - 8009998: 681b ldr r3, [r3, #0] - 800999a: f403 5300 and.w r3, r3, #8192 ; 0x2000 - 800999e: 2b00 cmp r3, #0 - 80099a0: d00a beq.n 80099b8 + 8009532: 687b ldr r3, [r7, #4] + 8009534: 681b ldr r3, [r3, #0] + 8009536: f403 5300 and.w r3, r3, #8192 ; 0x2000 + 800953a: 2b00 cmp r3, #0 + 800953c: d00a beq.n 8009554 { /* Check the parameters */ assert_param(IS_RCC_UART8CLKSOURCE(PeriphClkInit->Uart8ClockSelection)); /* Configure the UART8 clock source */ __HAL_RCC_UART8_CONFIG(PeriphClkInit->Uart8ClockSelection); - 80099a2: 4b3d ldr r3, [pc, #244] ; (8009a98 ) - 80099a4: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 80099a8: f423 4240 bic.w r2, r3, #49152 ; 0xc000 - 80099ac: 687b ldr r3, [r7, #4] - 80099ae: 6e1b ldr r3, [r3, #96] ; 0x60 - 80099b0: 4939 ldr r1, [pc, #228] ; (8009a98 ) - 80099b2: 4313 orrs r3, r2 - 80099b4: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 800953e: 4b3d ldr r3, [pc, #244] ; (8009634 ) + 8009540: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 8009544: f423 4240 bic.w r2, r3, #49152 ; 0xc000 + 8009548: 687b ldr r3, [r7, #4] + 800954a: 6e1b ldr r3, [r3, #96] ; 0x60 + 800954c: 4939 ldr r1, [pc, #228] ; (8009634 ) + 800954e: 4313 orrs r3, r2 + 8009550: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } /*--------------------------------------- CEC Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_CEC) == RCC_PERIPHCLK_CEC) - 80099b8: 687b ldr r3, [r7, #4] - 80099ba: 681b ldr r3, [r3, #0] - 80099bc: f403 0380 and.w r3, r3, #4194304 ; 0x400000 - 80099c0: 2b00 cmp r3, #0 - 80099c2: d00a beq.n 80099da + 8009554: 687b ldr r3, [r7, #4] + 8009556: 681b ldr r3, [r3, #0] + 8009558: f403 0380 and.w r3, r3, #4194304 ; 0x400000 + 800955c: 2b00 cmp r3, #0 + 800955e: d00a beq.n 8009576 { /* Check the parameters */ assert_param(IS_RCC_CECCLKSOURCE(PeriphClkInit->CecClockSelection)); /* Configure the CEC clock source */ __HAL_RCC_CEC_CONFIG(PeriphClkInit->CecClockSelection); - 80099c4: 4b34 ldr r3, [pc, #208] ; (8009a98 ) - 80099c6: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 80099ca: f023 6280 bic.w r2, r3, #67108864 ; 0x4000000 - 80099ce: 687b ldr r3, [r7, #4] - 80099d0: 6f9b ldr r3, [r3, #120] ; 0x78 - 80099d2: 4931 ldr r1, [pc, #196] ; (8009a98 ) - 80099d4: 4313 orrs r3, r2 - 80099d6: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 8009560: 4b34 ldr r3, [pc, #208] ; (8009634 ) + 8009562: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 8009566: f023 6280 bic.w r2, r3, #67108864 ; 0x4000000 + 800956a: 687b ldr r3, [r7, #4] + 800956c: 6f9b ldr r3, [r3, #120] ; 0x78 + 800956e: 4931 ldr r1, [pc, #196] ; (8009634 ) + 8009570: 4313 orrs r3, r2 + 8009572: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } /*-------------------------------------- CK48 Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_CLK48) == RCC_PERIPHCLK_CLK48) - 80099da: 687b ldr r3, [r7, #4] - 80099dc: 681b ldr r3, [r3, #0] - 80099de: f403 1300 and.w r3, r3, #2097152 ; 0x200000 - 80099e2: 2b00 cmp r3, #0 - 80099e4: d011 beq.n 8009a0a + 8009576: 687b ldr r3, [r7, #4] + 8009578: 681b ldr r3, [r3, #0] + 800957a: f403 1300 and.w r3, r3, #2097152 ; 0x200000 + 800957e: 2b00 cmp r3, #0 + 8009580: d011 beq.n 80095a6 { /* Check the parameters */ assert_param(IS_RCC_CLK48SOURCE(PeriphClkInit->Clk48ClockSelection)); /* Configure the CLK48 source */ __HAL_RCC_CLK48_CONFIG(PeriphClkInit->Clk48ClockSelection); - 80099e6: 4b2c ldr r3, [pc, #176] ; (8009a98 ) - 80099e8: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 80099ec: f023 6200 bic.w r2, r3, #134217728 ; 0x8000000 - 80099f0: 687b ldr r3, [r7, #4] - 80099f2: 6fdb ldr r3, [r3, #124] ; 0x7c - 80099f4: 4928 ldr r1, [pc, #160] ; (8009a98 ) - 80099f6: 4313 orrs r3, r2 - 80099f8: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 8009582: 4b2c ldr r3, [pc, #176] ; (8009634 ) + 8009584: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 8009588: f023 6200 bic.w r2, r3, #134217728 ; 0x8000000 + 800958c: 687b ldr r3, [r7, #4] + 800958e: 6fdb ldr r3, [r3, #124] ; 0x7c + 8009590: 4928 ldr r1, [pc, #160] ; (8009634 ) + 8009592: 4313 orrs r3, r2 + 8009594: f8c1 3090 str.w r3, [r1, #144] ; 0x90 /* Enable the PLLSAI when it's used as clock source for CK48 */ if(PeriphClkInit->Clk48ClockSelection == RCC_CLK48SOURCE_PLLSAIP) - 80099fc: 687b ldr r3, [r7, #4] - 80099fe: 6fdb ldr r3, [r3, #124] ; 0x7c - 8009a00: f1b3 6f00 cmp.w r3, #134217728 ; 0x8000000 - 8009a04: d101 bne.n 8009a0a + 8009598: 687b ldr r3, [r7, #4] + 800959a: 6fdb ldr r3, [r3, #124] ; 0x7c + 800959c: f1b3 6f00 cmp.w r3, #134217728 ; 0x8000000 + 80095a0: d101 bne.n 80095a6 { pllsaiused = 1; - 8009a06: 2301 movs r3, #1 - 8009a08: 61bb str r3, [r7, #24] + 80095a2: 2301 movs r3, #1 + 80095a4: 61bb str r3, [r7, #24] } } /*-------------------------------------- LTDC Configuration -----------------------------------*/ #if defined(STM32F746xx) || defined(STM32F756xx) || defined (STM32F767xx) || defined (STM32F769xx) || defined (STM32F777xx) || defined (STM32F779xx) || defined (STM32F750xx) if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_LTDC) == RCC_PERIPHCLK_LTDC) - 8009a0a: 687b ldr r3, [r7, #4] - 8009a0c: 681b ldr r3, [r3, #0] - 8009a0e: f003 0308 and.w r3, r3, #8 - 8009a12: 2b00 cmp r3, #0 - 8009a14: d001 beq.n 8009a1a + 80095a6: 687b ldr r3, [r7, #4] + 80095a8: 681b ldr r3, [r3, #0] + 80095aa: f003 0308 and.w r3, r3, #8 + 80095ae: 2b00 cmp r3, #0 + 80095b0: d001 beq.n 80095b6 { pllsaiused = 1; - 8009a16: 2301 movs r3, #1 - 8009a18: 61bb str r3, [r7, #24] + 80095b2: 2301 movs r3, #1 + 80095b4: 61bb str r3, [r7, #24] } #endif /* STM32F746xx || STM32F756xx || STM32F767xx || STM32F769xx || STM32F777xx || STM32F779xx || STM32F750xx */ /*-------------------------------------- LPTIM1 Configuration -----------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_LPTIM1) == RCC_PERIPHCLK_LPTIM1) - 8009a1a: 687b ldr r3, [r7, #4] - 8009a1c: 681b ldr r3, [r3, #0] - 8009a1e: f403 2380 and.w r3, r3, #262144 ; 0x40000 - 8009a22: 2b00 cmp r3, #0 - 8009a24: d00a beq.n 8009a3c + 80095b6: 687b ldr r3, [r7, #4] + 80095b8: 681b ldr r3, [r3, #0] + 80095ba: f403 2380 and.w r3, r3, #262144 ; 0x40000 + 80095be: 2b00 cmp r3, #0 + 80095c0: d00a beq.n 80095d8 { /* Check the parameters */ assert_param(IS_RCC_LPTIM1CLK(PeriphClkInit->Lptim1ClockSelection)); /* Configure the LTPIM1 clock source */ __HAL_RCC_LPTIM1_CONFIG(PeriphClkInit->Lptim1ClockSelection); - 8009a26: 4b1c ldr r3, [pc, #112] ; (8009a98 ) - 8009a28: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8009a2c: f023 7240 bic.w r2, r3, #50331648 ; 0x3000000 - 8009a30: 687b ldr r3, [r7, #4] - 8009a32: 6f5b ldr r3, [r3, #116] ; 0x74 - 8009a34: 4918 ldr r1, [pc, #96] ; (8009a98 ) - 8009a36: 4313 orrs r3, r2 - 8009a38: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 80095c2: 4b1c ldr r3, [pc, #112] ; (8009634 ) + 80095c4: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 80095c8: f023 7240 bic.w r2, r3, #50331648 ; 0x3000000 + 80095cc: 687b ldr r3, [r7, #4] + 80095ce: 6f5b ldr r3, [r3, #116] ; 0x74 + 80095d0: 4918 ldr r1, [pc, #96] ; (8009634 ) + 80095d2: 4313 orrs r3, r2 + 80095d4: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } /*------------------------------------- SDMMC1 Configuration ------------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SDMMC1) == RCC_PERIPHCLK_SDMMC1) - 8009a3c: 687b ldr r3, [r7, #4] - 8009a3e: 681b ldr r3, [r3, #0] - 8009a40: f403 0300 and.w r3, r3, #8388608 ; 0x800000 - 8009a44: 2b00 cmp r3, #0 - 8009a46: d00b beq.n 8009a60 + 80095d8: 687b ldr r3, [r7, #4] + 80095da: 681b ldr r3, [r3, #0] + 80095dc: f403 0300 and.w r3, r3, #8388608 ; 0x800000 + 80095e0: 2b00 cmp r3, #0 + 80095e2: d00b beq.n 80095fc { /* Check the parameters */ assert_param(IS_RCC_SDMMC1CLKSOURCE(PeriphClkInit->Sdmmc1ClockSelection)); /* Configure the SDMMC1 clock source */ __HAL_RCC_SDMMC1_CONFIG(PeriphClkInit->Sdmmc1ClockSelection); - 8009a48: 4b13 ldr r3, [pc, #76] ; (8009a98 ) - 8009a4a: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8009a4e: f023 5280 bic.w r2, r3, #268435456 ; 0x10000000 - 8009a52: 687b ldr r3, [r7, #4] - 8009a54: f8d3 3080 ldr.w r3, [r3, #128] ; 0x80 - 8009a58: 490f ldr r1, [pc, #60] ; (8009a98 ) - 8009a5a: 4313 orrs r3, r2 - 8009a5c: f8c1 3090 str.w r3, [r1, #144] ; 0x90 + 80095e4: 4b13 ldr r3, [pc, #76] ; (8009634 ) + 80095e6: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 80095ea: f023 5280 bic.w r2, r3, #268435456 ; 0x10000000 + 80095ee: 687b ldr r3, [r7, #4] + 80095f0: f8d3 3080 ldr.w r3, [r3, #128] ; 0x80 + 80095f4: 490f ldr r1, [pc, #60] ; (8009634 ) + 80095f6: 4313 orrs r3, r2 + 80095f8: f8c1 3090 str.w r3, [r1, #144] ; 0x90 } #endif /* STM32F767xx || STM32F769xx || STM32F777xx || STM32F779xx */ /*-------------------------------------- PLLI2S Configuration ---------------------------------*/ /* PLLI2S is configured when a peripheral will use it as source clock : SAI1, SAI2, I2S or SPDIF-RX */ if((plli2sused == 1) || (PeriphClkInit->PeriphClockSelection == RCC_PERIPHCLK_PLLI2S)) - 8009a60: 69fb ldr r3, [r7, #28] - 8009a62: 2b01 cmp r3, #1 - 8009a64: d005 beq.n 8009a72 - 8009a66: 687b ldr r3, [r7, #4] - 8009a68: 681b ldr r3, [r3, #0] - 8009a6a: f1b3 7f00 cmp.w r3, #33554432 ; 0x2000000 - 8009a6e: f040 80d8 bne.w 8009c22 + 80095fc: 69fb ldr r3, [r7, #28] + 80095fe: 2b01 cmp r3, #1 + 8009600: d005 beq.n 800960e + 8009602: 687b ldr r3, [r7, #4] + 8009604: 681b ldr r3, [r3, #0] + 8009606: f1b3 7f00 cmp.w r3, #33554432 ; 0x2000000 + 800960a: f040 80d8 bne.w 80097be { /* Disable the PLLI2S */ __HAL_RCC_PLLI2S_DISABLE(); - 8009a72: 4b09 ldr r3, [pc, #36] ; (8009a98 ) - 8009a74: 681b ldr r3, [r3, #0] - 8009a76: 4a08 ldr r2, [pc, #32] ; (8009a98 ) - 8009a78: f023 6380 bic.w r3, r3, #67108864 ; 0x4000000 - 8009a7c: 6013 str r3, [r2, #0] + 800960e: 4b09 ldr r3, [pc, #36] ; (8009634 ) + 8009610: 681b ldr r3, [r3, #0] + 8009612: 4a08 ldr r2, [pc, #32] ; (8009634 ) + 8009614: f023 6380 bic.w r3, r3, #67108864 ; 0x4000000 + 8009618: 6013 str r3, [r2, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8009a7e: f7fb f9d7 bl 8004e30 - 8009a82: 6178 str r0, [r7, #20] + 800961a: f7fb f9bd bl 8004998 + 800961e: 6178 str r0, [r7, #20] /* Wait till PLLI2S is disabled */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLI2SRDY) != RESET) - 8009a84: e00a b.n 8009a9c + 8009620: e00a b.n 8009638 { if((HAL_GetTick() - tickstart) > PLLI2S_TIMEOUT_VALUE) - 8009a86: f7fb f9d3 bl 8004e30 - 8009a8a: 4602 mov r2, r0 - 8009a8c: 697b ldr r3, [r7, #20] - 8009a8e: 1ad3 subs r3, r2, r3 - 8009a90: 2b64 cmp r3, #100 ; 0x64 - 8009a92: d903 bls.n 8009a9c + 8009622: f7fb f9b9 bl 8004998 + 8009626: 4602 mov r2, r0 + 8009628: 697b ldr r3, [r7, #20] + 800962a: 1ad3 subs r3, r2, r3 + 800962c: 2b64 cmp r3, #100 ; 0x64 + 800962e: d903 bls.n 8009638 { /* return in case of Timeout detected */ return HAL_TIMEOUT; - 8009a94: 2303 movs r3, #3 - 8009a96: e196 b.n 8009dc6 - 8009a98: 40023800 .word 0x40023800 + 8009630: 2303 movs r3, #3 + 8009632: e196 b.n 8009962 + 8009634: 40023800 .word 0x40023800 while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLI2SRDY) != RESET) - 8009a9c: 4b6c ldr r3, [pc, #432] ; (8009c50 ) - 8009a9e: 681b ldr r3, [r3, #0] - 8009aa0: f003 6300 and.w r3, r3, #134217728 ; 0x8000000 - 8009aa4: 2b00 cmp r3, #0 - 8009aa6: d1ee bne.n 8009a86 + 8009638: 4b6c ldr r3, [pc, #432] ; (80097ec ) + 800963a: 681b ldr r3, [r3, #0] + 800963c: f003 6300 and.w r3, r3, #134217728 ; 0x8000000 + 8009640: 2b00 cmp r3, #0 + 8009642: d1ee bne.n 8009622 /* check for common PLLI2S Parameters */ assert_param(IS_RCC_PLLI2SN_VALUE(PeriphClkInit->PLLI2S.PLLI2SN)); /*----------------- In Case of PLLI2S is selected as source clock for I2S -------------------*/ if(((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2S) == RCC_PERIPHCLK_I2S) && (PeriphClkInit->I2sClockSelection == RCC_I2SCLKSOURCE_PLLI2S))) - 8009aa8: 687b ldr r3, [r7, #4] - 8009aaa: 681b ldr r3, [r3, #0] - 8009aac: f003 0301 and.w r3, r3, #1 - 8009ab0: 2b00 cmp r3, #0 - 8009ab2: d021 beq.n 8009af8 - 8009ab4: 687b ldr r3, [r7, #4] - 8009ab6: 6b5b ldr r3, [r3, #52] ; 0x34 - 8009ab8: 2b00 cmp r3, #0 - 8009aba: d11d bne.n 8009af8 + 8009644: 687b ldr r3, [r7, #4] + 8009646: 681b ldr r3, [r3, #0] + 8009648: f003 0301 and.w r3, r3, #1 + 800964c: 2b00 cmp r3, #0 + 800964e: d021 beq.n 8009694 + 8009650: 687b ldr r3, [r7, #4] + 8009652: 6b5b ldr r3, [r3, #52] ; 0x34 + 8009654: 2b00 cmp r3, #0 + 8009656: d11d bne.n 8009694 { /* check for Parameters */ assert_param(IS_RCC_PLLI2SR_VALUE(PeriphClkInit->PLLI2S.PLLI2SR)); /* Read PLLI2SP and PLLI2SQ value from PLLI2SCFGR register (this value is not needed for I2S configuration) */ tmpreg0 = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SP) >> RCC_PLLI2SCFGR_PLLI2SP_Pos); - 8009abc: 4b64 ldr r3, [pc, #400] ; (8009c50 ) - 8009abe: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 - 8009ac2: 0c1b lsrs r3, r3, #16 - 8009ac4: f003 0303 and.w r3, r3, #3 - 8009ac8: 613b str r3, [r7, #16] + 8009658: 4b64 ldr r3, [pc, #400] ; (80097ec ) + 800965a: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 + 800965e: 0c1b lsrs r3, r3, #16 + 8009660: f003 0303 and.w r3, r3, #3 + 8009664: 613b str r3, [r7, #16] tmpreg1 = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SQ) >> RCC_PLLI2SCFGR_PLLI2SQ_Pos); - 8009aca: 4b61 ldr r3, [pc, #388] ; (8009c50 ) - 8009acc: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 - 8009ad0: 0e1b lsrs r3, r3, #24 - 8009ad2: f003 030f and.w r3, r3, #15 - 8009ad6: 60fb str r3, [r7, #12] + 8009666: 4b61 ldr r3, [pc, #388] ; (80097ec ) + 8009668: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 + 800966c: 0e1b lsrs r3, r3, #24 + 800966e: f003 030f and.w r3, r3, #15 + 8009672: 60fb str r3, [r7, #12] /* Configure the PLLI2S division factors */ /* PLLI2S_VCO = f(VCO clock) = f(PLLI2S clock input) x (PLLI2SN/PLLM) */ /* I2SCLK = f(PLLI2S clock output) = f(VCO clock) / PLLI2SR */ __HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SN , tmpreg0, tmpreg1, PeriphClkInit->PLLI2S.PLLI2SR); - 8009ad8: 687b ldr r3, [r7, #4] - 8009ada: 685b ldr r3, [r3, #4] - 8009adc: 019a lsls r2, r3, #6 - 8009ade: 693b ldr r3, [r7, #16] - 8009ae0: 041b lsls r3, r3, #16 - 8009ae2: 431a orrs r2, r3 - 8009ae4: 68fb ldr r3, [r7, #12] - 8009ae6: 061b lsls r3, r3, #24 - 8009ae8: 431a orrs r2, r3 - 8009aea: 687b ldr r3, [r7, #4] - 8009aec: 689b ldr r3, [r3, #8] - 8009aee: 071b lsls r3, r3, #28 - 8009af0: 4957 ldr r1, [pc, #348] ; (8009c50 ) - 8009af2: 4313 orrs r3, r2 - 8009af4: f8c1 3084 str.w r3, [r1, #132] ; 0x84 + 8009674: 687b ldr r3, [r7, #4] + 8009676: 685b ldr r3, [r3, #4] + 8009678: 019a lsls r2, r3, #6 + 800967a: 693b ldr r3, [r7, #16] + 800967c: 041b lsls r3, r3, #16 + 800967e: 431a orrs r2, r3 + 8009680: 68fb ldr r3, [r7, #12] + 8009682: 061b lsls r3, r3, #24 + 8009684: 431a orrs r2, r3 + 8009686: 687b ldr r3, [r7, #4] + 8009688: 689b ldr r3, [r3, #8] + 800968a: 071b lsls r3, r3, #28 + 800968c: 4957 ldr r1, [pc, #348] ; (80097ec ) + 800968e: 4313 orrs r3, r2 + 8009690: f8c1 3084 str.w r3, [r1, #132] ; 0x84 } /*----------------- In Case of PLLI2S is selected as source clock for SAI -------------------*/ if(((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI1) == RCC_PERIPHCLK_SAI1) && (PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLI2S)) || - 8009af8: 687b ldr r3, [r7, #4] - 8009afa: 681b ldr r3, [r3, #0] - 8009afc: f403 2300 and.w r3, r3, #524288 ; 0x80000 - 8009b00: 2b00 cmp r3, #0 - 8009b02: d004 beq.n 8009b0e - 8009b04: 687b ldr r3, [r7, #4] - 8009b06: 6bdb ldr r3, [r3, #60] ; 0x3c - 8009b08: f5b3 1f80 cmp.w r3, #1048576 ; 0x100000 - 8009b0c: d00a beq.n 8009b24 + 8009694: 687b ldr r3, [r7, #4] + 8009696: 681b ldr r3, [r3, #0] + 8009698: f403 2300 and.w r3, r3, #524288 ; 0x80000 + 800969c: 2b00 cmp r3, #0 + 800969e: d004 beq.n 80096aa + 80096a0: 687b ldr r3, [r7, #4] + 80096a2: 6bdb ldr r3, [r3, #60] ; 0x3c + 80096a4: f5b3 1f80 cmp.w r3, #1048576 ; 0x100000 + 80096a8: d00a beq.n 80096c0 ((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == RCC_PERIPHCLK_SAI2) && (PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLI2S))) - 8009b0e: 687b ldr r3, [r7, #4] - 8009b10: 681b ldr r3, [r3, #0] - 8009b12: f403 1380 and.w r3, r3, #1048576 ; 0x100000 + 80096aa: 687b ldr r3, [r7, #4] + 80096ac: 681b ldr r3, [r3, #0] + 80096ae: f403 1380 and.w r3, r3, #1048576 ; 0x100000 if(((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI1) == RCC_PERIPHCLK_SAI1) && (PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLI2S)) || - 8009b16: 2b00 cmp r3, #0 - 8009b18: d02e beq.n 8009b78 + 80096b2: 2b00 cmp r3, #0 + 80096b4: d02e beq.n 8009714 ((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == RCC_PERIPHCLK_SAI2) && (PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLI2S))) - 8009b1a: 687b ldr r3, [r7, #4] - 8009b1c: 6c1b ldr r3, [r3, #64] ; 0x40 - 8009b1e: f5b3 0f80 cmp.w r3, #4194304 ; 0x400000 - 8009b22: d129 bne.n 8009b78 + 80096b6: 687b ldr r3, [r7, #4] + 80096b8: 6c1b ldr r3, [r3, #64] ; 0x40 + 80096ba: f5b3 0f80 cmp.w r3, #4194304 ; 0x400000 + 80096be: d129 bne.n 8009714 assert_param(IS_RCC_PLLI2SQ_VALUE(PeriphClkInit->PLLI2S.PLLI2SQ)); /* Check for PLLI2S/DIVQ parameters */ assert_param(IS_RCC_PLLI2S_DIVQ_VALUE(PeriphClkInit->PLLI2SDivQ)); /* Read PLLI2SP and PLLI2SR values from PLLI2SCFGR register (this value is not needed for SAI configuration) */ tmpreg0 = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SP) >> RCC_PLLI2SCFGR_PLLI2SP_Pos); - 8009b24: 4b4a ldr r3, [pc, #296] ; (8009c50 ) - 8009b26: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 - 8009b2a: 0c1b lsrs r3, r3, #16 - 8009b2c: f003 0303 and.w r3, r3, #3 - 8009b30: 613b str r3, [r7, #16] + 80096c0: 4b4a ldr r3, [pc, #296] ; (80097ec ) + 80096c2: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 + 80096c6: 0c1b lsrs r3, r3, #16 + 80096c8: f003 0303 and.w r3, r3, #3 + 80096cc: 613b str r3, [r7, #16] tmpreg1 = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SR) >> RCC_PLLI2SCFGR_PLLI2SR_Pos); - 8009b32: 4b47 ldr r3, [pc, #284] ; (8009c50 ) - 8009b34: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 - 8009b38: 0f1b lsrs r3, r3, #28 - 8009b3a: f003 0307 and.w r3, r3, #7 - 8009b3e: 60fb str r3, [r7, #12] + 80096ce: 4b47 ldr r3, [pc, #284] ; (80097ec ) + 80096d0: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 + 80096d4: 0f1b lsrs r3, r3, #28 + 80096d6: f003 0307 and.w r3, r3, #7 + 80096da: 60fb str r3, [r7, #12] /* Configure the PLLI2S division factors */ /* PLLI2S_VCO Input = PLL_SOURCE/PLLM */ /* PLLI2S_VCO Output = PLLI2S_VCO Input * PLLI2SN */ /* SAI_CLK(first level) = PLLI2S_VCO Output/PLLI2SQ */ __HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SN, tmpreg0, PeriphClkInit->PLLI2S.PLLI2SQ, tmpreg1); - 8009b40: 687b ldr r3, [r7, #4] - 8009b42: 685b ldr r3, [r3, #4] - 8009b44: 019a lsls r2, r3, #6 - 8009b46: 693b ldr r3, [r7, #16] - 8009b48: 041b lsls r3, r3, #16 - 8009b4a: 431a orrs r2, r3 - 8009b4c: 687b ldr r3, [r7, #4] - 8009b4e: 68db ldr r3, [r3, #12] - 8009b50: 061b lsls r3, r3, #24 - 8009b52: 431a orrs r2, r3 - 8009b54: 68fb ldr r3, [r7, #12] - 8009b56: 071b lsls r3, r3, #28 - 8009b58: 493d ldr r1, [pc, #244] ; (8009c50 ) - 8009b5a: 4313 orrs r3, r2 - 8009b5c: f8c1 3084 str.w r3, [r1, #132] ; 0x84 + 80096dc: 687b ldr r3, [r7, #4] + 80096de: 685b ldr r3, [r3, #4] + 80096e0: 019a lsls r2, r3, #6 + 80096e2: 693b ldr r3, [r7, #16] + 80096e4: 041b lsls r3, r3, #16 + 80096e6: 431a orrs r2, r3 + 80096e8: 687b ldr r3, [r7, #4] + 80096ea: 68db ldr r3, [r3, #12] + 80096ec: 061b lsls r3, r3, #24 + 80096ee: 431a orrs r2, r3 + 80096f0: 68fb ldr r3, [r7, #12] + 80096f2: 071b lsls r3, r3, #28 + 80096f4: 493d ldr r1, [pc, #244] ; (80097ec ) + 80096f6: 4313 orrs r3, r2 + 80096f8: f8c1 3084 str.w r3, [r1, #132] ; 0x84 /* SAI_CLK_x = SAI_CLK(first level)/PLLI2SDIVQ */ __HAL_RCC_PLLI2S_PLLSAICLKDIVQ_CONFIG(PeriphClkInit->PLLI2SDivQ); - 8009b60: 4b3b ldr r3, [pc, #236] ; (8009c50 ) - 8009b62: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c - 8009b66: f023 021f bic.w r2, r3, #31 - 8009b6a: 687b ldr r3, [r7, #4] - 8009b6c: 6a5b ldr r3, [r3, #36] ; 0x24 - 8009b6e: 3b01 subs r3, #1 - 8009b70: 4937 ldr r1, [pc, #220] ; (8009c50 ) - 8009b72: 4313 orrs r3, r2 - 8009b74: f8c1 308c str.w r3, [r1, #140] ; 0x8c + 80096fc: 4b3b ldr r3, [pc, #236] ; (80097ec ) + 80096fe: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c + 8009702: f023 021f bic.w r2, r3, #31 + 8009706: 687b ldr r3, [r7, #4] + 8009708: 6a5b ldr r3, [r3, #36] ; 0x24 + 800970a: 3b01 subs r3, #1 + 800970c: 4937 ldr r1, [pc, #220] ; (80097ec ) + 800970e: 4313 orrs r3, r2 + 8009710: f8c1 308c str.w r3, [r1, #140] ; 0x8c } /*----------------- In Case of PLLI2S is selected as source clock for SPDIF-RX -------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SPDIFRX) == RCC_PERIPHCLK_SPDIFRX) - 8009b78: 687b ldr r3, [r7, #4] - 8009b7a: 681b ldr r3, [r3, #0] - 8009b7c: f003 7380 and.w r3, r3, #16777216 ; 0x1000000 - 8009b80: 2b00 cmp r3, #0 - 8009b82: d01d beq.n 8009bc0 + 8009714: 687b ldr r3, [r7, #4] + 8009716: 681b ldr r3, [r3, #0] + 8009718: f003 7380 and.w r3, r3, #16777216 ; 0x1000000 + 800971c: 2b00 cmp r3, #0 + 800971e: d01d beq.n 800975c { /* check for Parameters */ assert_param(IS_RCC_PLLI2SP_VALUE(PeriphClkInit->PLLI2S.PLLI2SP)); /* Read PLLI2SR value from PLLI2SCFGR register (this value is not needed for SPDIF-RX configuration) */ tmpreg0 = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SQ) >> RCC_PLLI2SCFGR_PLLI2SQ_Pos); - 8009b84: 4b32 ldr r3, [pc, #200] ; (8009c50 ) - 8009b86: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 - 8009b8a: 0e1b lsrs r3, r3, #24 - 8009b8c: f003 030f and.w r3, r3, #15 - 8009b90: 613b str r3, [r7, #16] + 8009720: 4b32 ldr r3, [pc, #200] ; (80097ec ) + 8009722: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 + 8009726: 0e1b lsrs r3, r3, #24 + 8009728: f003 030f and.w r3, r3, #15 + 800972c: 613b str r3, [r7, #16] tmpreg1 = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SR) >> RCC_PLLI2SCFGR_PLLI2SR_Pos); - 8009b92: 4b2f ldr r3, [pc, #188] ; (8009c50 ) - 8009b94: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 - 8009b98: 0f1b lsrs r3, r3, #28 - 8009b9a: f003 0307 and.w r3, r3, #7 - 8009b9e: 60fb str r3, [r7, #12] + 800972e: 4b2f ldr r3, [pc, #188] ; (80097ec ) + 8009730: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 + 8009734: 0f1b lsrs r3, r3, #28 + 8009736: f003 0307 and.w r3, r3, #7 + 800973a: 60fb str r3, [r7, #12] /* Configure the PLLI2S division factors */ /* PLLI2S_VCO = f(VCO clock) = f(PLLI2S clock input) x (PLLI2SN/PLLM) */ /* SPDIFCLK = f(PLLI2S clock output) = f(VCO clock) / PLLI2SP */ __HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SN , PeriphClkInit->PLLI2S.PLLI2SP, tmpreg0, tmpreg1); - 8009ba0: 687b ldr r3, [r7, #4] - 8009ba2: 685b ldr r3, [r3, #4] - 8009ba4: 019a lsls r2, r3, #6 - 8009ba6: 687b ldr r3, [r7, #4] - 8009ba8: 691b ldr r3, [r3, #16] - 8009baa: 041b lsls r3, r3, #16 - 8009bac: 431a orrs r2, r3 - 8009bae: 693b ldr r3, [r7, #16] - 8009bb0: 061b lsls r3, r3, #24 - 8009bb2: 431a orrs r2, r3 - 8009bb4: 68fb ldr r3, [r7, #12] - 8009bb6: 071b lsls r3, r3, #28 - 8009bb8: 4925 ldr r1, [pc, #148] ; (8009c50 ) - 8009bba: 4313 orrs r3, r2 - 8009bbc: f8c1 3084 str.w r3, [r1, #132] ; 0x84 + 800973c: 687b ldr r3, [r7, #4] + 800973e: 685b ldr r3, [r3, #4] + 8009740: 019a lsls r2, r3, #6 + 8009742: 687b ldr r3, [r7, #4] + 8009744: 691b ldr r3, [r3, #16] + 8009746: 041b lsls r3, r3, #16 + 8009748: 431a orrs r2, r3 + 800974a: 693b ldr r3, [r7, #16] + 800974c: 061b lsls r3, r3, #24 + 800974e: 431a orrs r2, r3 + 8009750: 68fb ldr r3, [r7, #12] + 8009752: 071b lsls r3, r3, #28 + 8009754: 4925 ldr r1, [pc, #148] ; (80097ec ) + 8009756: 4313 orrs r3, r2 + 8009758: f8c1 3084 str.w r3, [r1, #132] ; 0x84 } /*----------------- In Case of PLLI2S is just selected -----------------*/ if((PeriphClkInit->PeriphClockSelection & RCC_PERIPHCLK_PLLI2S) == RCC_PERIPHCLK_PLLI2S) - 8009bc0: 687b ldr r3, [r7, #4] - 8009bc2: 681b ldr r3, [r3, #0] - 8009bc4: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 - 8009bc8: 2b00 cmp r3, #0 - 8009bca: d011 beq.n 8009bf0 + 800975c: 687b ldr r3, [r7, #4] + 800975e: 681b ldr r3, [r3, #0] + 8009760: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 + 8009764: 2b00 cmp r3, #0 + 8009766: d011 beq.n 800978c assert_param(IS_RCC_PLLI2SQ_VALUE(PeriphClkInit->PLLI2S.PLLI2SQ)); /* Configure the PLLI2S division factors */ /* PLLI2S_VCO = f(VCO clock) = f(PLLI2S clock input) x (PLLI2SN/PLLI2SM) */ /* SPDIFRXCLK = f(PLLI2S clock output) = f(VCO clock) / PLLI2SP */ __HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SN , PeriphClkInit->PLLI2S.PLLI2SP, PeriphClkInit->PLLI2S.PLLI2SQ, PeriphClkInit->PLLI2S.PLLI2SR); - 8009bcc: 687b ldr r3, [r7, #4] - 8009bce: 685b ldr r3, [r3, #4] - 8009bd0: 019a lsls r2, r3, #6 - 8009bd2: 687b ldr r3, [r7, #4] - 8009bd4: 691b ldr r3, [r3, #16] - 8009bd6: 041b lsls r3, r3, #16 - 8009bd8: 431a orrs r2, r3 - 8009bda: 687b ldr r3, [r7, #4] - 8009bdc: 68db ldr r3, [r3, #12] - 8009bde: 061b lsls r3, r3, #24 - 8009be0: 431a orrs r2, r3 - 8009be2: 687b ldr r3, [r7, #4] - 8009be4: 689b ldr r3, [r3, #8] - 8009be6: 071b lsls r3, r3, #28 - 8009be8: 4919 ldr r1, [pc, #100] ; (8009c50 ) - 8009bea: 4313 orrs r3, r2 - 8009bec: f8c1 3084 str.w r3, [r1, #132] ; 0x84 + 8009768: 687b ldr r3, [r7, #4] + 800976a: 685b ldr r3, [r3, #4] + 800976c: 019a lsls r2, r3, #6 + 800976e: 687b ldr r3, [r7, #4] + 8009770: 691b ldr r3, [r3, #16] + 8009772: 041b lsls r3, r3, #16 + 8009774: 431a orrs r2, r3 + 8009776: 687b ldr r3, [r7, #4] + 8009778: 68db ldr r3, [r3, #12] + 800977a: 061b lsls r3, r3, #24 + 800977c: 431a orrs r2, r3 + 800977e: 687b ldr r3, [r7, #4] + 8009780: 689b ldr r3, [r3, #8] + 8009782: 071b lsls r3, r3, #28 + 8009784: 4919 ldr r1, [pc, #100] ; (80097ec ) + 8009786: 4313 orrs r3, r2 + 8009788: f8c1 3084 str.w r3, [r1, #132] ; 0x84 } /* Enable the PLLI2S */ __HAL_RCC_PLLI2S_ENABLE(); - 8009bf0: 4b17 ldr r3, [pc, #92] ; (8009c50 ) - 8009bf2: 681b ldr r3, [r3, #0] - 8009bf4: 4a16 ldr r2, [pc, #88] ; (8009c50 ) - 8009bf6: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 - 8009bfa: 6013 str r3, [r2, #0] + 800978c: 4b17 ldr r3, [pc, #92] ; (80097ec ) + 800978e: 681b ldr r3, [r3, #0] + 8009790: 4a16 ldr r2, [pc, #88] ; (80097ec ) + 8009792: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 + 8009796: 6013 str r3, [r2, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8009bfc: f7fb f918 bl 8004e30 - 8009c00: 6178 str r0, [r7, #20] + 8009798: f7fb f8fe bl 8004998 + 800979c: 6178 str r0, [r7, #20] /* Wait till PLLI2S is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLI2SRDY) == RESET) - 8009c02: e008 b.n 8009c16 + 800979e: e008 b.n 80097b2 { if((HAL_GetTick() - tickstart) > PLLI2S_TIMEOUT_VALUE) - 8009c04: f7fb f914 bl 8004e30 - 8009c08: 4602 mov r2, r0 - 8009c0a: 697b ldr r3, [r7, #20] - 8009c0c: 1ad3 subs r3, r2, r3 - 8009c0e: 2b64 cmp r3, #100 ; 0x64 - 8009c10: d901 bls.n 8009c16 + 80097a0: f7fb f8fa bl 8004998 + 80097a4: 4602 mov r2, r0 + 80097a6: 697b ldr r3, [r7, #20] + 80097a8: 1ad3 subs r3, r2, r3 + 80097aa: 2b64 cmp r3, #100 ; 0x64 + 80097ac: d901 bls.n 80097b2 { /* return in case of Timeout detected */ return HAL_TIMEOUT; - 8009c12: 2303 movs r3, #3 - 8009c14: e0d7 b.n 8009dc6 + 80097ae: 2303 movs r3, #3 + 80097b0: e0d7 b.n 8009962 while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLI2SRDY) == RESET) - 8009c16: 4b0e ldr r3, [pc, #56] ; (8009c50 ) - 8009c18: 681b ldr r3, [r3, #0] - 8009c1a: f003 6300 and.w r3, r3, #134217728 ; 0x8000000 - 8009c1e: 2b00 cmp r3, #0 - 8009c20: d0f0 beq.n 8009c04 + 80097b2: 4b0e ldr r3, [pc, #56] ; (80097ec ) + 80097b4: 681b ldr r3, [r3, #0] + 80097b6: f003 6300 and.w r3, r3, #134217728 ; 0x8000000 + 80097ba: 2b00 cmp r3, #0 + 80097bc: d0f0 beq.n 80097a0 } } /*-------------------------------------- PLLSAI Configuration ---------------------------------*/ /* PLLSAI is configured when a peripheral will use it as source clock : SAI1, SAI2, LTDC or CK48 */ if(pllsaiused == 1) - 8009c22: 69bb ldr r3, [r7, #24] - 8009c24: 2b01 cmp r3, #1 - 8009c26: f040 80cd bne.w 8009dc4 + 80097be: 69bb ldr r3, [r7, #24] + 80097c0: 2b01 cmp r3, #1 + 80097c2: f040 80cd bne.w 8009960 { /* Disable PLLSAI Clock */ __HAL_RCC_PLLSAI_DISABLE(); - 8009c2a: 4b09 ldr r3, [pc, #36] ; (8009c50 ) - 8009c2c: 681b ldr r3, [r3, #0] - 8009c2e: 4a08 ldr r2, [pc, #32] ; (8009c50 ) - 8009c30: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 - 8009c34: 6013 str r3, [r2, #0] + 80097c6: 4b09 ldr r3, [pc, #36] ; (80097ec ) + 80097c8: 681b ldr r3, [r3, #0] + 80097ca: 4a08 ldr r2, [pc, #32] ; (80097ec ) + 80097cc: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 + 80097d0: 6013 str r3, [r2, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8009c36: f7fb f8fb bl 8004e30 - 8009c3a: 6178 str r0, [r7, #20] + 80097d2: f7fb f8e1 bl 8004998 + 80097d6: 6178 str r0, [r7, #20] /* Wait till PLLSAI is disabled */ while(__HAL_RCC_PLLSAI_GET_FLAG() != RESET) - 8009c3c: e00a b.n 8009c54 + 80097d8: e00a b.n 80097f0 { if((HAL_GetTick() - tickstart) > PLLSAI_TIMEOUT_VALUE) - 8009c3e: f7fb f8f7 bl 8004e30 - 8009c42: 4602 mov r2, r0 - 8009c44: 697b ldr r3, [r7, #20] - 8009c46: 1ad3 subs r3, r2, r3 - 8009c48: 2b64 cmp r3, #100 ; 0x64 - 8009c4a: d903 bls.n 8009c54 + 80097da: f7fb f8dd bl 8004998 + 80097de: 4602 mov r2, r0 + 80097e0: 697b ldr r3, [r7, #20] + 80097e2: 1ad3 subs r3, r2, r3 + 80097e4: 2b64 cmp r3, #100 ; 0x64 + 80097e6: d903 bls.n 80097f0 { /* return in case of Timeout detected */ return HAL_TIMEOUT; - 8009c4c: 2303 movs r3, #3 - 8009c4e: e0ba b.n 8009dc6 - 8009c50: 40023800 .word 0x40023800 + 80097e8: 2303 movs r3, #3 + 80097ea: e0ba b.n 8009962 + 80097ec: 40023800 .word 0x40023800 while(__HAL_RCC_PLLSAI_GET_FLAG() != RESET) - 8009c54: 4b5e ldr r3, [pc, #376] ; (8009dd0 ) - 8009c56: 681b ldr r3, [r3, #0] - 8009c58: f003 5300 and.w r3, r3, #536870912 ; 0x20000000 - 8009c5c: f1b3 5f00 cmp.w r3, #536870912 ; 0x20000000 - 8009c60: d0ed beq.n 8009c3e + 80097f0: 4b5e ldr r3, [pc, #376] ; (800996c ) + 80097f2: 681b ldr r3, [r3, #0] + 80097f4: f003 5300 and.w r3, r3, #536870912 ; 0x20000000 + 80097f8: f1b3 5f00 cmp.w r3, #536870912 ; 0x20000000 + 80097fc: d0ed beq.n 80097da /* Check the PLLSAI division factors */ assert_param(IS_RCC_PLLSAIN_VALUE(PeriphClkInit->PLLSAI.PLLSAIN)); /*----------------- In Case of PLLSAI is selected as source clock for SAI -------------------*/ if(((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI1) == RCC_PERIPHCLK_SAI1) && (PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLSAI)) ||\ - 8009c62: 687b ldr r3, [r7, #4] - 8009c64: 681b ldr r3, [r3, #0] - 8009c66: f403 2300 and.w r3, r3, #524288 ; 0x80000 - 8009c6a: 2b00 cmp r3, #0 - 8009c6c: d003 beq.n 8009c76 - 8009c6e: 687b ldr r3, [r7, #4] - 8009c70: 6bdb ldr r3, [r3, #60] ; 0x3c - 8009c72: 2b00 cmp r3, #0 - 8009c74: d009 beq.n 8009c8a + 80097fe: 687b ldr r3, [r7, #4] + 8009800: 681b ldr r3, [r3, #0] + 8009802: f403 2300 and.w r3, r3, #524288 ; 0x80000 + 8009806: 2b00 cmp r3, #0 + 8009808: d003 beq.n 8009812 + 800980a: 687b ldr r3, [r7, #4] + 800980c: 6bdb ldr r3, [r3, #60] ; 0x3c + 800980e: 2b00 cmp r3, #0 + 8009810: d009 beq.n 8009826 ((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == RCC_PERIPHCLK_SAI2) && (PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLSAI))) - 8009c76: 687b ldr r3, [r7, #4] - 8009c78: 681b ldr r3, [r3, #0] - 8009c7a: f403 1380 and.w r3, r3, #1048576 ; 0x100000 + 8009812: 687b ldr r3, [r7, #4] + 8009814: 681b ldr r3, [r3, #0] + 8009816: f403 1380 and.w r3, r3, #1048576 ; 0x100000 if(((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI1) == RCC_PERIPHCLK_SAI1) && (PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLSAI)) ||\ - 8009c7e: 2b00 cmp r3, #0 - 8009c80: d02e beq.n 8009ce0 + 800981a: 2b00 cmp r3, #0 + 800981c: d02e beq.n 800987c ((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == RCC_PERIPHCLK_SAI2) && (PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLSAI))) - 8009c82: 687b ldr r3, [r7, #4] - 8009c84: 6c1b ldr r3, [r3, #64] ; 0x40 - 8009c86: 2b00 cmp r3, #0 - 8009c88: d12a bne.n 8009ce0 + 800981e: 687b ldr r3, [r7, #4] + 8009820: 6c1b ldr r3, [r3, #64] ; 0x40 + 8009822: 2b00 cmp r3, #0 + 8009824: d12a bne.n 800987c assert_param(IS_RCC_PLLSAIQ_VALUE(PeriphClkInit->PLLSAI.PLLSAIQ)); /* check for PLLSAI/DIVQ Parameter */ assert_param(IS_RCC_PLLSAI_DIVQ_VALUE(PeriphClkInit->PLLSAIDivQ)); /* Read PLLSAIP value from PLLSAICFGR register (this value is not needed for SAI configuration) */ tmpreg0 = ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIP) >> RCC_PLLSAICFGR_PLLSAIP_Pos); - 8009c8a: 4b51 ldr r3, [pc, #324] ; (8009dd0 ) - 8009c8c: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8009c90: 0c1b lsrs r3, r3, #16 - 8009c92: f003 0303 and.w r3, r3, #3 - 8009c96: 613b str r3, [r7, #16] + 8009826: 4b51 ldr r3, [pc, #324] ; (800996c ) + 8009828: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 800982c: 0c1b lsrs r3, r3, #16 + 800982e: f003 0303 and.w r3, r3, #3 + 8009832: 613b str r3, [r7, #16] tmpreg1 = ((RCC->PLLSAICFGR & RCC_PLLI2SCFGR_PLLI2SR) >> RCC_PLLSAICFGR_PLLSAIR_Pos); - 8009c98: 4b4d ldr r3, [pc, #308] ; (8009dd0 ) - 8009c9a: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8009c9e: 0f1b lsrs r3, r3, #28 - 8009ca0: f003 0307 and.w r3, r3, #7 - 8009ca4: 60fb str r3, [r7, #12] + 8009834: 4b4d ldr r3, [pc, #308] ; (800996c ) + 8009836: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 800983a: 0f1b lsrs r3, r3, #28 + 800983c: f003 0307 and.w r3, r3, #7 + 8009840: 60fb str r3, [r7, #12] /* PLLSAI_VCO Input = PLL_SOURCE/PLLM */ /* PLLSAI_VCO Output = PLLSAI_VCO Input * PLLSAIN */ /* SAI_CLK(first level) = PLLSAI_VCO Output/PLLSAIQ */ __HAL_RCC_PLLSAI_CONFIG(PeriphClkInit->PLLSAI.PLLSAIN , tmpreg0, PeriphClkInit->PLLSAI.PLLSAIQ, tmpreg1); - 8009ca6: 687b ldr r3, [r7, #4] - 8009ca8: 695b ldr r3, [r3, #20] - 8009caa: 019a lsls r2, r3, #6 - 8009cac: 693b ldr r3, [r7, #16] - 8009cae: 041b lsls r3, r3, #16 - 8009cb0: 431a orrs r2, r3 - 8009cb2: 687b ldr r3, [r7, #4] - 8009cb4: 699b ldr r3, [r3, #24] - 8009cb6: 061b lsls r3, r3, #24 - 8009cb8: 431a orrs r2, r3 - 8009cba: 68fb ldr r3, [r7, #12] - 8009cbc: 071b lsls r3, r3, #28 - 8009cbe: 4944 ldr r1, [pc, #272] ; (8009dd0 ) - 8009cc0: 4313 orrs r3, r2 - 8009cc2: f8c1 3088 str.w r3, [r1, #136] ; 0x88 + 8009842: 687b ldr r3, [r7, #4] + 8009844: 695b ldr r3, [r3, #20] + 8009846: 019a lsls r2, r3, #6 + 8009848: 693b ldr r3, [r7, #16] + 800984a: 041b lsls r3, r3, #16 + 800984c: 431a orrs r2, r3 + 800984e: 687b ldr r3, [r7, #4] + 8009850: 699b ldr r3, [r3, #24] + 8009852: 061b lsls r3, r3, #24 + 8009854: 431a orrs r2, r3 + 8009856: 68fb ldr r3, [r7, #12] + 8009858: 071b lsls r3, r3, #28 + 800985a: 4944 ldr r1, [pc, #272] ; (800996c ) + 800985c: 4313 orrs r3, r2 + 800985e: f8c1 3088 str.w r3, [r1, #136] ; 0x88 /* SAI_CLK_x = SAI_CLK(first level)/PLLSAIDIVQ */ __HAL_RCC_PLLSAI_PLLSAICLKDIVQ_CONFIG(PeriphClkInit->PLLSAIDivQ); - 8009cc6: 4b42 ldr r3, [pc, #264] ; (8009dd0 ) - 8009cc8: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c - 8009ccc: f423 52f8 bic.w r2, r3, #7936 ; 0x1f00 - 8009cd0: 687b ldr r3, [r7, #4] - 8009cd2: 6a9b ldr r3, [r3, #40] ; 0x28 - 8009cd4: 3b01 subs r3, #1 - 8009cd6: 021b lsls r3, r3, #8 - 8009cd8: 493d ldr r1, [pc, #244] ; (8009dd0 ) - 8009cda: 4313 orrs r3, r2 - 8009cdc: f8c1 308c str.w r3, [r1, #140] ; 0x8c + 8009862: 4b42 ldr r3, [pc, #264] ; (800996c ) + 8009864: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c + 8009868: f423 52f8 bic.w r2, r3, #7936 ; 0x1f00 + 800986c: 687b ldr r3, [r7, #4] + 800986e: 6a9b ldr r3, [r3, #40] ; 0x28 + 8009870: 3b01 subs r3, #1 + 8009872: 021b lsls r3, r3, #8 + 8009874: 493d ldr r1, [pc, #244] ; (800996c ) + 8009876: 4313 orrs r3, r2 + 8009878: f8c1 308c str.w r3, [r1, #140] ; 0x8c } /*----------------- In Case of PLLSAI is selected as source clock for CLK48 -------------------*/ /* In Case of PLLI2S is selected as source clock for CK48 */ if((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_CLK48) == RCC_PERIPHCLK_CLK48) && (PeriphClkInit->Clk48ClockSelection == RCC_CLK48SOURCE_PLLSAIP)) - 8009ce0: 687b ldr r3, [r7, #4] - 8009ce2: 681b ldr r3, [r3, #0] - 8009ce4: f403 1300 and.w r3, r3, #2097152 ; 0x200000 - 8009ce8: 2b00 cmp r3, #0 - 8009cea: d022 beq.n 8009d32 - 8009cec: 687b ldr r3, [r7, #4] - 8009cee: 6fdb ldr r3, [r3, #124] ; 0x7c - 8009cf0: f1b3 6f00 cmp.w r3, #134217728 ; 0x8000000 - 8009cf4: d11d bne.n 8009d32 + 800987c: 687b ldr r3, [r7, #4] + 800987e: 681b ldr r3, [r3, #0] + 8009880: f403 1300 and.w r3, r3, #2097152 ; 0x200000 + 8009884: 2b00 cmp r3, #0 + 8009886: d022 beq.n 80098ce + 8009888: 687b ldr r3, [r7, #4] + 800988a: 6fdb ldr r3, [r3, #124] ; 0x7c + 800988c: f1b3 6f00 cmp.w r3, #134217728 ; 0x8000000 + 8009890: d11d bne.n 80098ce { /* check for Parameters */ assert_param(IS_RCC_PLLSAIP_VALUE(PeriphClkInit->PLLSAI.PLLSAIP)); /* Read PLLSAIQ and PLLSAIR value from PLLSAICFGR register (this value is not needed for CK48 configuration) */ tmpreg0 = ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIQ) >> RCC_PLLSAICFGR_PLLSAIQ_Pos); - 8009cf6: 4b36 ldr r3, [pc, #216] ; (8009dd0 ) - 8009cf8: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8009cfc: 0e1b lsrs r3, r3, #24 - 8009cfe: f003 030f and.w r3, r3, #15 - 8009d02: 613b str r3, [r7, #16] + 8009892: 4b36 ldr r3, [pc, #216] ; (800996c ) + 8009894: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 8009898: 0e1b lsrs r3, r3, #24 + 800989a: f003 030f and.w r3, r3, #15 + 800989e: 613b str r3, [r7, #16] tmpreg1 = ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIR) >> RCC_PLLSAICFGR_PLLSAIR_Pos); - 8009d04: 4b32 ldr r3, [pc, #200] ; (8009dd0 ) - 8009d06: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8009d0a: 0f1b lsrs r3, r3, #28 - 8009d0c: f003 0307 and.w r3, r3, #7 - 8009d10: 60fb str r3, [r7, #12] + 80098a0: 4b32 ldr r3, [pc, #200] ; (800996c ) + 80098a2: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 80098a6: 0f1b lsrs r3, r3, #28 + 80098a8: f003 0307 and.w r3, r3, #7 + 80098ac: 60fb str r3, [r7, #12] /* Configure the PLLSAI division factors */ /* PLLSAI_VCO = f(VCO clock) = f(PLLSAI clock input) x (PLLI2SN/PLLM) */ /* 48CLK = f(PLLSAI clock output) = f(VCO clock) / PLLSAIP */ __HAL_RCC_PLLSAI_CONFIG(PeriphClkInit->PLLSAI.PLLSAIN , PeriphClkInit->PLLSAI.PLLSAIP, tmpreg0, tmpreg1); - 8009d12: 687b ldr r3, [r7, #4] - 8009d14: 695b ldr r3, [r3, #20] - 8009d16: 019a lsls r2, r3, #6 - 8009d18: 687b ldr r3, [r7, #4] - 8009d1a: 6a1b ldr r3, [r3, #32] - 8009d1c: 041b lsls r3, r3, #16 - 8009d1e: 431a orrs r2, r3 - 8009d20: 693b ldr r3, [r7, #16] - 8009d22: 061b lsls r3, r3, #24 - 8009d24: 431a orrs r2, r3 - 8009d26: 68fb ldr r3, [r7, #12] - 8009d28: 071b lsls r3, r3, #28 - 8009d2a: 4929 ldr r1, [pc, #164] ; (8009dd0 ) - 8009d2c: 4313 orrs r3, r2 - 8009d2e: f8c1 3088 str.w r3, [r1, #136] ; 0x88 + 80098ae: 687b ldr r3, [r7, #4] + 80098b0: 695b ldr r3, [r3, #20] + 80098b2: 019a lsls r2, r3, #6 + 80098b4: 687b ldr r3, [r7, #4] + 80098b6: 6a1b ldr r3, [r3, #32] + 80098b8: 041b lsls r3, r3, #16 + 80098ba: 431a orrs r2, r3 + 80098bc: 693b ldr r3, [r7, #16] + 80098be: 061b lsls r3, r3, #24 + 80098c0: 431a orrs r2, r3 + 80098c2: 68fb ldr r3, [r7, #12] + 80098c4: 071b lsls r3, r3, #28 + 80098c6: 4929 ldr r1, [pc, #164] ; (800996c ) + 80098c8: 4313 orrs r3, r2 + 80098ca: f8c1 3088 str.w r3, [r1, #136] ; 0x88 } #if defined(STM32F746xx) || defined(STM32F756xx) || defined (STM32F767xx) || defined (STM32F769xx) || defined (STM32F777xx) || defined (STM32F779xx) || defined (STM32F750xx) /*---------------------------- LTDC configuration -------------------------------*/ if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_LTDC) == (RCC_PERIPHCLK_LTDC)) - 8009d32: 687b ldr r3, [r7, #4] - 8009d34: 681b ldr r3, [r3, #0] - 8009d36: f003 0308 and.w r3, r3, #8 - 8009d3a: 2b00 cmp r3, #0 - 8009d3c: d028 beq.n 8009d90 + 80098ce: 687b ldr r3, [r7, #4] + 80098d0: 681b ldr r3, [r3, #0] + 80098d2: f003 0308 and.w r3, r3, #8 + 80098d6: 2b00 cmp r3, #0 + 80098d8: d028 beq.n 800992c { assert_param(IS_RCC_PLLSAIR_VALUE(PeriphClkInit->PLLSAI.PLLSAIR)); assert_param(IS_RCC_PLLSAI_DIVR_VALUE(PeriphClkInit->PLLSAIDivR)); /* Read PLLSAIP and PLLSAIQ value from PLLSAICFGR register (these value are not needed for LTDC configuration) */ tmpreg0 = ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIQ) >> RCC_PLLSAICFGR_PLLSAIQ_Pos); - 8009d3e: 4b24 ldr r3, [pc, #144] ; (8009dd0 ) - 8009d40: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8009d44: 0e1b lsrs r3, r3, #24 - 8009d46: f003 030f and.w r3, r3, #15 - 8009d4a: 613b str r3, [r7, #16] + 80098da: 4b24 ldr r3, [pc, #144] ; (800996c ) + 80098dc: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 80098e0: 0e1b lsrs r3, r3, #24 + 80098e2: f003 030f and.w r3, r3, #15 + 80098e6: 613b str r3, [r7, #16] tmpreg1 = ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIP) >> RCC_PLLSAICFGR_PLLSAIP_Pos); - 8009d4c: 4b20 ldr r3, [pc, #128] ; (8009dd0 ) - 8009d4e: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8009d52: 0c1b lsrs r3, r3, #16 - 8009d54: f003 0303 and.w r3, r3, #3 - 8009d58: 60fb str r3, [r7, #12] + 80098e8: 4b20 ldr r3, [pc, #128] ; (800996c ) + 80098ea: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 80098ee: 0c1b lsrs r3, r3, #16 + 80098f0: f003 0303 and.w r3, r3, #3 + 80098f4: 60fb str r3, [r7, #12] /* PLLSAI_VCO Input = PLL_SOURCE/PLLM */ /* PLLSAI_VCO Output = PLLSAI_VCO Input * PLLSAIN */ /* LTDC_CLK(first level) = PLLSAI_VCO Output/PLLSAIR */ __HAL_RCC_PLLSAI_CONFIG(PeriphClkInit->PLLSAI.PLLSAIN , tmpreg1, tmpreg0, PeriphClkInit->PLLSAI.PLLSAIR); - 8009d5a: 687b ldr r3, [r7, #4] - 8009d5c: 695b ldr r3, [r3, #20] - 8009d5e: 019a lsls r2, r3, #6 - 8009d60: 68fb ldr r3, [r7, #12] - 8009d62: 041b lsls r3, r3, #16 - 8009d64: 431a orrs r2, r3 - 8009d66: 693b ldr r3, [r7, #16] - 8009d68: 061b lsls r3, r3, #24 - 8009d6a: 431a orrs r2, r3 - 8009d6c: 687b ldr r3, [r7, #4] - 8009d6e: 69db ldr r3, [r3, #28] - 8009d70: 071b lsls r3, r3, #28 - 8009d72: 4917 ldr r1, [pc, #92] ; (8009dd0 ) - 8009d74: 4313 orrs r3, r2 - 8009d76: f8c1 3088 str.w r3, [r1, #136] ; 0x88 + 80098f6: 687b ldr r3, [r7, #4] + 80098f8: 695b ldr r3, [r3, #20] + 80098fa: 019a lsls r2, r3, #6 + 80098fc: 68fb ldr r3, [r7, #12] + 80098fe: 041b lsls r3, r3, #16 + 8009900: 431a orrs r2, r3 + 8009902: 693b ldr r3, [r7, #16] + 8009904: 061b lsls r3, r3, #24 + 8009906: 431a orrs r2, r3 + 8009908: 687b ldr r3, [r7, #4] + 800990a: 69db ldr r3, [r3, #28] + 800990c: 071b lsls r3, r3, #28 + 800990e: 4917 ldr r1, [pc, #92] ; (800996c ) + 8009910: 4313 orrs r3, r2 + 8009912: f8c1 3088 str.w r3, [r1, #136] ; 0x88 /* LTDC_CLK = LTDC_CLK(first level)/PLLSAIDIVR */ __HAL_RCC_PLLSAI_PLLSAICLKDIVR_CONFIG(PeriphClkInit->PLLSAIDivR); - 8009d7a: 4b15 ldr r3, [pc, #84] ; (8009dd0 ) - 8009d7c: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c - 8009d80: f423 3240 bic.w r2, r3, #196608 ; 0x30000 - 8009d84: 687b ldr r3, [r7, #4] - 8009d86: 6adb ldr r3, [r3, #44] ; 0x2c - 8009d88: 4911 ldr r1, [pc, #68] ; (8009dd0 ) - 8009d8a: 4313 orrs r3, r2 - 8009d8c: f8c1 308c str.w r3, [r1, #140] ; 0x8c + 8009916: 4b15 ldr r3, [pc, #84] ; (800996c ) + 8009918: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c + 800991c: f423 3240 bic.w r2, r3, #196608 ; 0x30000 + 8009920: 687b ldr r3, [r7, #4] + 8009922: 6adb ldr r3, [r3, #44] ; 0x2c + 8009924: 4911 ldr r1, [pc, #68] ; (800996c ) + 8009926: 4313 orrs r3, r2 + 8009928: f8c1 308c str.w r3, [r1, #140] ; 0x8c } #endif /* STM32F746xx || STM32F756xx || STM32F767xx || STM32F769xx || STM32F777xx || STM32F779xx || STM32F750xx */ /* Enable PLLSAI Clock */ __HAL_RCC_PLLSAI_ENABLE(); - 8009d90: 4b0f ldr r3, [pc, #60] ; (8009dd0 ) - 8009d92: 681b ldr r3, [r3, #0] - 8009d94: 4a0e ldr r2, [pc, #56] ; (8009dd0 ) - 8009d96: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 - 8009d9a: 6013 str r3, [r2, #0] + 800992c: 4b0f ldr r3, [pc, #60] ; (800996c ) + 800992e: 681b ldr r3, [r3, #0] + 8009930: 4a0e ldr r2, [pc, #56] ; (800996c ) + 8009932: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 + 8009936: 6013 str r3, [r2, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8009d9c: f7fb f848 bl 8004e30 - 8009da0: 6178 str r0, [r7, #20] + 8009938: f7fb f82e bl 8004998 + 800993c: 6178 str r0, [r7, #20] /* Wait till PLLSAI is ready */ while(__HAL_RCC_PLLSAI_GET_FLAG() == RESET) - 8009da2: e008 b.n 8009db6 + 800993e: e008 b.n 8009952 { if((HAL_GetTick() - tickstart) > PLLSAI_TIMEOUT_VALUE) - 8009da4: f7fb f844 bl 8004e30 - 8009da8: 4602 mov r2, r0 - 8009daa: 697b ldr r3, [r7, #20] - 8009dac: 1ad3 subs r3, r2, r3 - 8009dae: 2b64 cmp r3, #100 ; 0x64 - 8009db0: d901 bls.n 8009db6 + 8009940: f7fb f82a bl 8004998 + 8009944: 4602 mov r2, r0 + 8009946: 697b ldr r3, [r7, #20] + 8009948: 1ad3 subs r3, r2, r3 + 800994a: 2b64 cmp r3, #100 ; 0x64 + 800994c: d901 bls.n 8009952 { /* return in case of Timeout detected */ return HAL_TIMEOUT; - 8009db2: 2303 movs r3, #3 - 8009db4: e007 b.n 8009dc6 + 800994e: 2303 movs r3, #3 + 8009950: e007 b.n 8009962 while(__HAL_RCC_PLLSAI_GET_FLAG() == RESET) - 8009db6: 4b06 ldr r3, [pc, #24] ; (8009dd0 ) - 8009db8: 681b ldr r3, [r3, #0] - 8009dba: f003 5300 and.w r3, r3, #536870912 ; 0x20000000 - 8009dbe: f1b3 5f00 cmp.w r3, #536870912 ; 0x20000000 - 8009dc2: d1ef bne.n 8009da4 + 8009952: 4b06 ldr r3, [pc, #24] ; (800996c ) + 8009954: 681b ldr r3, [r3, #0] + 8009956: f003 5300 and.w r3, r3, #536870912 ; 0x20000000 + 800995a: f1b3 5f00 cmp.w r3, #536870912 ; 0x20000000 + 800995e: d1ef bne.n 8009940 } } } return HAL_OK; - 8009dc4: 2300 movs r3, #0 + 8009960: 2300 movs r3, #0 } - 8009dc6: 4618 mov r0, r3 - 8009dc8: 3720 adds r7, #32 - 8009dca: 46bd mov sp, r7 - 8009dcc: bd80 pop {r7, pc} - 8009dce: bf00 nop - 8009dd0: 40023800 .word 0x40023800 + 8009962: 4618 mov r0, r3 + 8009964: 3720 adds r7, #32 + 8009966: 46bd mov sp, r7 + 8009968: bd80 pop {r7, pc} + 800996a: bf00 nop + 800996c: 40023800 .word 0x40023800 -08009dd4 : +08009970 : * @param hrng pointer to a RNG_HandleTypeDef structure that contains * the configuration information for RNG. * @retval HAL status */ HAL_StatusTypeDef HAL_RNG_Init(RNG_HandleTypeDef *hrng) { - 8009dd4: b580 push {r7, lr} - 8009dd6: b082 sub sp, #8 - 8009dd8: af00 add r7, sp, #0 - 8009dda: 6078 str r0, [r7, #4] + 8009970: b580 push {r7, lr} + 8009972: b082 sub sp, #8 + 8009974: af00 add r7, sp, #0 + 8009976: 6078 str r0, [r7, #4] /* Check the RNG handle allocation */ if (hrng == NULL) - 8009ddc: 687b ldr r3, [r7, #4] - 8009dde: 2b00 cmp r3, #0 - 8009de0: d101 bne.n 8009de6 + 8009978: 687b ldr r3, [r7, #4] + 800997a: 2b00 cmp r3, #0 + 800997c: d101 bne.n 8009982 { return HAL_ERROR; - 8009de2: 2301 movs r3, #1 - 8009de4: e01c b.n 8009e20 + 800997e: 2301 movs r3, #1 + 8009980: e01c b.n 80099bc /* Init the low level hardware */ hrng->MspInitCallback(hrng); } #else if (hrng->State == HAL_RNG_STATE_RESET) - 8009de6: 687b ldr r3, [r7, #4] - 8009de8: 795b ldrb r3, [r3, #5] - 8009dea: b2db uxtb r3, r3 - 8009dec: 2b00 cmp r3, #0 - 8009dee: d105 bne.n 8009dfc + 8009982: 687b ldr r3, [r7, #4] + 8009984: 795b ldrb r3, [r3, #5] + 8009986: b2db uxtb r3, r3 + 8009988: 2b00 cmp r3, #0 + 800998a: d105 bne.n 8009998 { /* Allocate lock resource and initialize it */ hrng->Lock = HAL_UNLOCKED; - 8009df0: 687b ldr r3, [r7, #4] - 8009df2: 2200 movs r2, #0 - 8009df4: 711a strb r2, [r3, #4] + 800998c: 687b ldr r3, [r7, #4] + 800998e: 2200 movs r2, #0 + 8009990: 711a strb r2, [r3, #4] /* Init the low level hardware */ HAL_RNG_MspInit(hrng); - 8009df6: 6878 ldr r0, [r7, #4] - 8009df8: f7fa fc8c bl 8004714 + 8009992: 6878 ldr r0, [r7, #4] + 8009994: f7fa fc6a bl 800426c } #endif /* USE_HAL_RNG_REGISTER_CALLBACKS */ /* Change RNG peripheral state */ hrng->State = HAL_RNG_STATE_BUSY; - 8009dfc: 687b ldr r3, [r7, #4] - 8009dfe: 2202 movs r2, #2 - 8009e00: 715a strb r2, [r3, #5] + 8009998: 687b ldr r3, [r7, #4] + 800999a: 2202 movs r2, #2 + 800999c: 715a strb r2, [r3, #5] /* Enable the RNG Peripheral */ __HAL_RNG_ENABLE(hrng); - 8009e02: 687b ldr r3, [r7, #4] - 8009e04: 681b ldr r3, [r3, #0] - 8009e06: 681a ldr r2, [r3, #0] - 8009e08: 687b ldr r3, [r7, #4] - 8009e0a: 681b ldr r3, [r3, #0] - 8009e0c: f042 0204 orr.w r2, r2, #4 - 8009e10: 601a str r2, [r3, #0] + 800999e: 687b ldr r3, [r7, #4] + 80099a0: 681b ldr r3, [r3, #0] + 80099a2: 681a ldr r2, [r3, #0] + 80099a4: 687b ldr r3, [r7, #4] + 80099a6: 681b ldr r3, [r3, #0] + 80099a8: f042 0204 orr.w r2, r2, #4 + 80099ac: 601a str r2, [r3, #0] /* Initialize the RNG state */ hrng->State = HAL_RNG_STATE_READY; - 8009e12: 687b ldr r3, [r7, #4] - 8009e14: 2201 movs r2, #1 - 8009e16: 715a strb r2, [r3, #5] + 80099ae: 687b ldr r3, [r7, #4] + 80099b0: 2201 movs r2, #1 + 80099b2: 715a strb r2, [r3, #5] /* Initialise the error code */ hrng->ErrorCode = HAL_RNG_ERROR_NONE; - 8009e18: 687b ldr r3, [r7, #4] - 8009e1a: 2200 movs r2, #0 - 8009e1c: 609a str r2, [r3, #8] + 80099b4: 687b ldr r3, [r7, #4] + 80099b6: 2200 movs r2, #0 + 80099b8: 609a str r2, [r3, #8] /* Return function status */ return HAL_OK; - 8009e1e: 2300 movs r3, #0 + 80099ba: 2300 movs r3, #0 } - 8009e20: 4618 mov r0, r3 - 8009e22: 3708 adds r7, #8 - 8009e24: 46bd mov sp, r7 - 8009e26: bd80 pop {r7, pc} + 80099bc: 4618 mov r0, r3 + 80099be: 3708 adds r7, #8 + 80099c0: 46bd mov sp, r7 + 80099c2: bd80 pop {r7, pc} -08009e28 : +080099c4 : * the configuration information for SDRAM module. * @param Timing Pointer to SDRAM control timing structure * @retval HAL status */ HAL_StatusTypeDef HAL_SDRAM_Init(SDRAM_HandleTypeDef *hsdram, FMC_SDRAM_TimingTypeDef *Timing) { - 8009e28: b580 push {r7, lr} - 8009e2a: b082 sub sp, #8 - 8009e2c: af00 add r7, sp, #0 - 8009e2e: 6078 str r0, [r7, #4] - 8009e30: 6039 str r1, [r7, #0] + 80099c4: b580 push {r7, lr} + 80099c6: b082 sub sp, #8 + 80099c8: af00 add r7, sp, #0 + 80099ca: 6078 str r0, [r7, #4] + 80099cc: 6039 str r1, [r7, #0] /* Check the SDRAM handle parameter */ if(hsdram == NULL) - 8009e32: 687b ldr r3, [r7, #4] - 8009e34: 2b00 cmp r3, #0 - 8009e36: d101 bne.n 8009e3c + 80099ce: 687b ldr r3, [r7, #4] + 80099d0: 2b00 cmp r3, #0 + 80099d2: d101 bne.n 80099d8 { return HAL_ERROR; - 8009e38: 2301 movs r3, #1 - 8009e3a: e025 b.n 8009e88 + 80099d4: 2301 movs r3, #1 + 80099d6: e025 b.n 8009a24 } if(hsdram->State == HAL_SDRAM_STATE_RESET) - 8009e3c: 687b ldr r3, [r7, #4] - 8009e3e: f893 302c ldrb.w r3, [r3, #44] ; 0x2c - 8009e42: b2db uxtb r3, r3 - 8009e44: 2b00 cmp r3, #0 - 8009e46: d106 bne.n 8009e56 + 80099d8: 687b ldr r3, [r7, #4] + 80099da: f893 302c ldrb.w r3, [r3, #44] ; 0x2c + 80099de: b2db uxtb r3, r3 + 80099e0: 2b00 cmp r3, #0 + 80099e2: d106 bne.n 80099f2 { /* Allocate lock resource and initialize it */ hsdram->Lock = HAL_UNLOCKED; - 8009e48: 687b ldr r3, [r7, #4] - 8009e4a: 2200 movs r2, #0 - 8009e4c: f883 202d strb.w r2, [r3, #45] ; 0x2d + 80099e4: 687b ldr r3, [r7, #4] + 80099e6: 2200 movs r2, #0 + 80099e8: f883 202d strb.w r2, [r3, #45] ; 0x2d /* Init the low level hardware */ hsdram->MspInitCallback(hsdram); #else /* Initialize the low level hardware (MSP) */ HAL_SDRAM_MspInit(hsdram); - 8009e50: 6878 ldr r0, [r7, #4] - 8009e52: f7fa fe4d bl 8004af0 + 80099ec: 6878 ldr r0, [r7, #4] + 80099ee: f7fa fe2b bl 8004648 #endif } /* Initialize the SDRAM controller state */ hsdram->State = HAL_SDRAM_STATE_BUSY; - 8009e56: 687b ldr r3, [r7, #4] - 8009e58: 2202 movs r2, #2 - 8009e5a: f883 202c strb.w r2, [r3, #44] ; 0x2c + 80099f2: 687b ldr r3, [r7, #4] + 80099f4: 2202 movs r2, #2 + 80099f6: f883 202c strb.w r2, [r3, #44] ; 0x2c /* Initialize SDRAM control Interface */ FMC_SDRAM_Init(hsdram->Instance, &(hsdram->Init)); - 8009e5e: 687b ldr r3, [r7, #4] - 8009e60: 681a ldr r2, [r3, #0] - 8009e62: 687b ldr r3, [r7, #4] - 8009e64: 3304 adds r3, #4 - 8009e66: 4619 mov r1, r3 - 8009e68: 4610 mov r0, r2 - 8009e6a: f001 fa1d bl 800b2a8 + 80099fa: 687b ldr r3, [r7, #4] + 80099fc: 681a ldr r2, [r3, #0] + 80099fe: 687b ldr r3, [r7, #4] + 8009a00: 3304 adds r3, #4 + 8009a02: 4619 mov r1, r3 + 8009a04: 4610 mov r0, r2 + 8009a06: f001 fa1d bl 800ae44 /* Initialize SDRAM timing Interface */ FMC_SDRAM_Timing_Init(hsdram->Instance, Timing, hsdram->Init.SDBank); - 8009e6e: 687b ldr r3, [r7, #4] - 8009e70: 6818 ldr r0, [r3, #0] - 8009e72: 687b ldr r3, [r7, #4] - 8009e74: 685b ldr r3, [r3, #4] - 8009e76: 461a mov r2, r3 - 8009e78: 6839 ldr r1, [r7, #0] - 8009e7a: f001 fa87 bl 800b38c + 8009a0a: 687b ldr r3, [r7, #4] + 8009a0c: 6818 ldr r0, [r3, #0] + 8009a0e: 687b ldr r3, [r7, #4] + 8009a10: 685b ldr r3, [r3, #4] + 8009a12: 461a mov r2, r3 + 8009a14: 6839 ldr r1, [r7, #0] + 8009a16: f001 fa87 bl 800af28 /* Update the SDRAM controller state */ hsdram->State = HAL_SDRAM_STATE_READY; - 8009e7e: 687b ldr r3, [r7, #4] - 8009e80: 2201 movs r2, #1 - 8009e82: f883 202c strb.w r2, [r3, #44] ; 0x2c + 8009a1a: 687b ldr r3, [r7, #4] + 8009a1c: 2201 movs r2, #1 + 8009a1e: f883 202c strb.w r2, [r3, #44] ; 0x2c return HAL_OK; - 8009e86: 2300 movs r3, #0 + 8009a22: 2300 movs r3, #0 } - 8009e88: 4618 mov r0, r3 - 8009e8a: 3708 adds r7, #8 - 8009e8c: 46bd mov sp, r7 - 8009e8e: bd80 pop {r7, pc} + 8009a24: 4618 mov r0, r3 + 8009a26: 3708 adds r7, #8 + 8009a28: 46bd mov sp, r7 + 8009a2a: bd80 pop {r7, pc} -08009e90 : +08009a2c : * @param Command SDRAM command structure * @param Timeout Timeout duration * @retval HAL status */ HAL_StatusTypeDef HAL_SDRAM_SendCommand(SDRAM_HandleTypeDef *hsdram, FMC_SDRAM_CommandTypeDef *Command, uint32_t Timeout) { - 8009e90: b580 push {r7, lr} - 8009e92: b084 sub sp, #16 - 8009e94: af00 add r7, sp, #0 - 8009e96: 60f8 str r0, [r7, #12] - 8009e98: 60b9 str r1, [r7, #8] - 8009e9a: 607a str r2, [r7, #4] + 8009a2c: b580 push {r7, lr} + 8009a2e: b084 sub sp, #16 + 8009a30: af00 add r7, sp, #0 + 8009a32: 60f8 str r0, [r7, #12] + 8009a34: 60b9 str r1, [r7, #8] + 8009a36: 607a str r2, [r7, #4] /* Check the SDRAM controller state */ if(hsdram->State == HAL_SDRAM_STATE_BUSY) - 8009e9c: 68fb ldr r3, [r7, #12] - 8009e9e: f893 302c ldrb.w r3, [r3, #44] ; 0x2c - 8009ea2: b2db uxtb r3, r3 - 8009ea4: 2b02 cmp r3, #2 - 8009ea6: d101 bne.n 8009eac + 8009a38: 68fb ldr r3, [r7, #12] + 8009a3a: f893 302c ldrb.w r3, [r3, #44] ; 0x2c + 8009a3e: b2db uxtb r3, r3 + 8009a40: 2b02 cmp r3, #2 + 8009a42: d101 bne.n 8009a48 { return HAL_BUSY; - 8009ea8: 2302 movs r3, #2 - 8009eaa: e018 b.n 8009ede + 8009a44: 2302 movs r3, #2 + 8009a46: e018 b.n 8009a7a } /* Update the SDRAM state */ hsdram->State = HAL_SDRAM_STATE_BUSY; - 8009eac: 68fb ldr r3, [r7, #12] - 8009eae: 2202 movs r2, #2 - 8009eb0: f883 202c strb.w r2, [r3, #44] ; 0x2c + 8009a48: 68fb ldr r3, [r7, #12] + 8009a4a: 2202 movs r2, #2 + 8009a4c: f883 202c strb.w r2, [r3, #44] ; 0x2c /* Send SDRAM command */ FMC_SDRAM_SendCommand(hsdram->Instance, Command, Timeout); - 8009eb4: 68fb ldr r3, [r7, #12] - 8009eb6: 681b ldr r3, [r3, #0] - 8009eb8: 687a ldr r2, [r7, #4] - 8009eba: 68b9 ldr r1, [r7, #8] - 8009ebc: 4618 mov r0, r3 - 8009ebe: f001 fae5 bl 800b48c + 8009a50: 68fb ldr r3, [r7, #12] + 8009a52: 681b ldr r3, [r3, #0] + 8009a54: 687a ldr r2, [r7, #4] + 8009a56: 68b9 ldr r1, [r7, #8] + 8009a58: 4618 mov r0, r3 + 8009a5a: f001 fae5 bl 800b028 /* Update the SDRAM controller state state */ if(Command->CommandMode == FMC_SDRAM_CMD_PALL) - 8009ec2: 68bb ldr r3, [r7, #8] - 8009ec4: 681b ldr r3, [r3, #0] - 8009ec6: 2b02 cmp r3, #2 - 8009ec8: d104 bne.n 8009ed4 + 8009a5e: 68bb ldr r3, [r7, #8] + 8009a60: 681b ldr r3, [r3, #0] + 8009a62: 2b02 cmp r3, #2 + 8009a64: d104 bne.n 8009a70 { hsdram->State = HAL_SDRAM_STATE_PRECHARGED; - 8009eca: 68fb ldr r3, [r7, #12] - 8009ecc: 2205 movs r2, #5 - 8009ece: f883 202c strb.w r2, [r3, #44] ; 0x2c - 8009ed2: e003 b.n 8009edc + 8009a66: 68fb ldr r3, [r7, #12] + 8009a68: 2205 movs r2, #5 + 8009a6a: f883 202c strb.w r2, [r3, #44] ; 0x2c + 8009a6e: e003 b.n 8009a78 } else { hsdram->State = HAL_SDRAM_STATE_READY; - 8009ed4: 68fb ldr r3, [r7, #12] - 8009ed6: 2201 movs r2, #1 - 8009ed8: f883 202c strb.w r2, [r3, #44] ; 0x2c + 8009a70: 68fb ldr r3, [r7, #12] + 8009a72: 2201 movs r2, #1 + 8009a74: f883 202c strb.w r2, [r3, #44] ; 0x2c } return HAL_OK; - 8009edc: 2300 movs r3, #0 + 8009a78: 2300 movs r3, #0 } - 8009ede: 4618 mov r0, r3 - 8009ee0: 3710 adds r7, #16 - 8009ee2: 46bd mov sp, r7 - 8009ee4: bd80 pop {r7, pc} + 8009a7a: 4618 mov r0, r3 + 8009a7c: 3710 adds r7, #16 + 8009a7e: 46bd mov sp, r7 + 8009a80: bd80 pop {r7, pc} -08009ee6 : +08009a82 : * the configuration information for SDRAM module. * @param RefreshRate The SDRAM refresh rate value * @retval HAL status */ HAL_StatusTypeDef HAL_SDRAM_ProgramRefreshRate(SDRAM_HandleTypeDef *hsdram, uint32_t RefreshRate) { - 8009ee6: b580 push {r7, lr} - 8009ee8: b082 sub sp, #8 - 8009eea: af00 add r7, sp, #0 - 8009eec: 6078 str r0, [r7, #4] - 8009eee: 6039 str r1, [r7, #0] + 8009a82: b580 push {r7, lr} + 8009a84: b082 sub sp, #8 + 8009a86: af00 add r7, sp, #0 + 8009a88: 6078 str r0, [r7, #4] + 8009a8a: 6039 str r1, [r7, #0] /* Check the SDRAM controller state */ if(hsdram->State == HAL_SDRAM_STATE_BUSY) - 8009ef0: 687b ldr r3, [r7, #4] - 8009ef2: f893 302c ldrb.w r3, [r3, #44] ; 0x2c - 8009ef6: b2db uxtb r3, r3 - 8009ef8: 2b02 cmp r3, #2 - 8009efa: d101 bne.n 8009f00 + 8009a8c: 687b ldr r3, [r7, #4] + 8009a8e: f893 302c ldrb.w r3, [r3, #44] ; 0x2c + 8009a92: b2db uxtb r3, r3 + 8009a94: 2b02 cmp r3, #2 + 8009a96: d101 bne.n 8009a9c { return HAL_BUSY; - 8009efc: 2302 movs r3, #2 - 8009efe: e00e b.n 8009f1e + 8009a98: 2302 movs r3, #2 + 8009a9a: e00e b.n 8009aba } /* Update the SDRAM state */ hsdram->State = HAL_SDRAM_STATE_BUSY; - 8009f00: 687b ldr r3, [r7, #4] - 8009f02: 2202 movs r2, #2 - 8009f04: f883 202c strb.w r2, [r3, #44] ; 0x2c + 8009a9c: 687b ldr r3, [r7, #4] + 8009a9e: 2202 movs r2, #2 + 8009aa0: f883 202c strb.w r2, [r3, #44] ; 0x2c /* Program the refresh rate */ FMC_SDRAM_ProgramRefreshRate(hsdram->Instance ,RefreshRate); - 8009f08: 687b ldr r3, [r7, #4] - 8009f0a: 681b ldr r3, [r3, #0] - 8009f0c: 6839 ldr r1, [r7, #0] - 8009f0e: 4618 mov r0, r3 - 8009f10: f001 fadd bl 800b4ce + 8009aa4: 687b ldr r3, [r7, #4] + 8009aa6: 681b ldr r3, [r3, #0] + 8009aa8: 6839 ldr r1, [r7, #0] + 8009aaa: 4618 mov r0, r3 + 8009aac: f001 fadd bl 800b06a /* Update the SDRAM state */ hsdram->State = HAL_SDRAM_STATE_READY; - 8009f14: 687b ldr r3, [r7, #4] - 8009f16: 2201 movs r2, #1 - 8009f18: f883 202c strb.w r2, [r3, #44] ; 0x2c + 8009ab0: 687b ldr r3, [r7, #4] + 8009ab2: 2201 movs r2, #1 + 8009ab4: f883 202c strb.w r2, [r3, #44] ; 0x2c return HAL_OK; - 8009f1c: 2300 movs r3, #0 + 8009ab8: 2300 movs r3, #0 } - 8009f1e: 4618 mov r0, r3 - 8009f20: 3708 adds r7, #8 - 8009f22: 46bd mov sp, r7 - 8009f24: bd80 pop {r7, pc} + 8009aba: 4618 mov r0, r3 + 8009abc: 3708 adds r7, #8 + 8009abe: 46bd mov sp, r7 + 8009ac0: bd80 pop {r7, pc} -08009f26 : +08009ac2 : * @param hspi pointer to a SPI_HandleTypeDef structure that contains * the configuration information for SPI module. * @retval HAL status */ HAL_StatusTypeDef HAL_SPI_Init(SPI_HandleTypeDef *hspi) { - 8009f26: b580 push {r7, lr} - 8009f28: b084 sub sp, #16 - 8009f2a: af00 add r7, sp, #0 - 8009f2c: 6078 str r0, [r7, #4] + 8009ac2: b580 push {r7, lr} + 8009ac4: b084 sub sp, #16 + 8009ac6: af00 add r7, sp, #0 + 8009ac8: 6078 str r0, [r7, #4] uint32_t frxth; /* Check the SPI handle allocation */ if (hspi == NULL) - 8009f2e: 687b ldr r3, [r7, #4] - 8009f30: 2b00 cmp r3, #0 - 8009f32: d101 bne.n 8009f38 + 8009aca: 687b ldr r3, [r7, #4] + 8009acc: 2b00 cmp r3, #0 + 8009ace: d101 bne.n 8009ad4 { return HAL_ERROR; - 8009f34: 2301 movs r3, #1 - 8009f36: e084 b.n 800a042 + 8009ad0: 2301 movs r3, #1 + 8009ad2: e084 b.n 8009bde { assert_param(IS_SPI_CRC_POLYNOMIAL(hspi->Init.CRCPolynomial)); assert_param(IS_SPI_CRC_LENGTH(hspi->Init.CRCLength)); } #else hspi->Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE; - 8009f38: 687b ldr r3, [r7, #4] - 8009f3a: 2200 movs r2, #0 - 8009f3c: 629a str r2, [r3, #40] ; 0x28 + 8009ad4: 687b ldr r3, [r7, #4] + 8009ad6: 2200 movs r2, #0 + 8009ad8: 629a str r2, [r3, #40] ; 0x28 #endif /* USE_SPI_CRC */ if (hspi->State == HAL_SPI_STATE_RESET) - 8009f3e: 687b ldr r3, [r7, #4] - 8009f40: f893 305d ldrb.w r3, [r3, #93] ; 0x5d - 8009f44: b2db uxtb r3, r3 - 8009f46: 2b00 cmp r3, #0 - 8009f48: d106 bne.n 8009f58 + 8009ada: 687b ldr r3, [r7, #4] + 8009adc: f893 305d ldrb.w r3, [r3, #93] ; 0x5d + 8009ae0: b2db uxtb r3, r3 + 8009ae2: 2b00 cmp r3, #0 + 8009ae4: d106 bne.n 8009af4 { /* Allocate lock resource and initialize it */ hspi->Lock = HAL_UNLOCKED; - 8009f4a: 687b ldr r3, [r7, #4] - 8009f4c: 2200 movs r2, #0 - 8009f4e: f883 205c strb.w r2, [r3, #92] ; 0x5c + 8009ae6: 687b ldr r3, [r7, #4] + 8009ae8: 2200 movs r2, #0 + 8009aea: f883 205c strb.w r2, [r3, #92] ; 0x5c /* Init the low level hardware : GPIO, CLOCK, NVIC... */ hspi->MspInitCallback(hspi); #else /* Init the low level hardware : GPIO, CLOCK, NVIC... */ HAL_SPI_MspInit(hspi); - 8009f52: 6878 ldr r0, [r7, #4] - 8009f54: f7fa fbfe bl 8004754 + 8009aee: 6878 ldr r0, [r7, #4] + 8009af0: f7fa fbdc bl 80042ac #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */ } hspi->State = HAL_SPI_STATE_BUSY; - 8009f58: 687b ldr r3, [r7, #4] - 8009f5a: 2202 movs r2, #2 - 8009f5c: f883 205d strb.w r2, [r3, #93] ; 0x5d + 8009af4: 687b ldr r3, [r7, #4] + 8009af6: 2202 movs r2, #2 + 8009af8: f883 205d strb.w r2, [r3, #93] ; 0x5d /* Disable the selected SPI peripheral */ __HAL_SPI_DISABLE(hspi); - 8009f60: 687b ldr r3, [r7, #4] - 8009f62: 681b ldr r3, [r3, #0] - 8009f64: 681a ldr r2, [r3, #0] - 8009f66: 687b ldr r3, [r7, #4] - 8009f68: 681b ldr r3, [r3, #0] - 8009f6a: f022 0240 bic.w r2, r2, #64 ; 0x40 - 8009f6e: 601a str r2, [r3, #0] + 8009afc: 687b ldr r3, [r7, #4] + 8009afe: 681b ldr r3, [r3, #0] + 8009b00: 681a ldr r2, [r3, #0] + 8009b02: 687b ldr r3, [r7, #4] + 8009b04: 681b ldr r3, [r3, #0] + 8009b06: f022 0240 bic.w r2, r2, #64 ; 0x40 + 8009b0a: 601a str r2, [r3, #0] /* Align by default the rs fifo threshold on the data size */ if (hspi->Init.DataSize > SPI_DATASIZE_8BIT) - 8009f70: 687b ldr r3, [r7, #4] - 8009f72: 68db ldr r3, [r3, #12] - 8009f74: f5b3 6fe0 cmp.w r3, #1792 ; 0x700 - 8009f78: d902 bls.n 8009f80 + 8009b0c: 687b ldr r3, [r7, #4] + 8009b0e: 68db ldr r3, [r3, #12] + 8009b10: f5b3 6fe0 cmp.w r3, #1792 ; 0x700 + 8009b14: d902 bls.n 8009b1c { frxth = SPI_RXFIFO_THRESHOLD_HF; - 8009f7a: 2300 movs r3, #0 - 8009f7c: 60fb str r3, [r7, #12] - 8009f7e: e002 b.n 8009f86 + 8009b16: 2300 movs r3, #0 + 8009b18: 60fb str r3, [r7, #12] + 8009b1a: e002 b.n 8009b22 } else { frxth = SPI_RXFIFO_THRESHOLD_QF; - 8009f80: f44f 5380 mov.w r3, #4096 ; 0x1000 - 8009f84: 60fb str r3, [r7, #12] + 8009b1c: f44f 5380 mov.w r3, #4096 ; 0x1000 + 8009b20: 60fb str r3, [r7, #12] } /* CRC calculation is valid only for 16Bit and 8 Bit */ if ((hspi->Init.DataSize != SPI_DATASIZE_16BIT) && (hspi->Init.DataSize != SPI_DATASIZE_8BIT)) - 8009f86: 687b ldr r3, [r7, #4] - 8009f88: 68db ldr r3, [r3, #12] - 8009f8a: f5b3 6f70 cmp.w r3, #3840 ; 0xf00 - 8009f8e: d007 beq.n 8009fa0 - 8009f90: 687b ldr r3, [r7, #4] - 8009f92: 68db ldr r3, [r3, #12] - 8009f94: f5b3 6fe0 cmp.w r3, #1792 ; 0x700 - 8009f98: d002 beq.n 8009fa0 + 8009b22: 687b ldr r3, [r7, #4] + 8009b24: 68db ldr r3, [r3, #12] + 8009b26: f5b3 6f70 cmp.w r3, #3840 ; 0xf00 + 8009b2a: d007 beq.n 8009b3c + 8009b2c: 687b ldr r3, [r7, #4] + 8009b2e: 68db ldr r3, [r3, #12] + 8009b30: f5b3 6fe0 cmp.w r3, #1792 ; 0x700 + 8009b34: d002 beq.n 8009b3c { /* CRC must be disabled */ hspi->Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE; - 8009f9a: 687b ldr r3, [r7, #4] - 8009f9c: 2200 movs r2, #0 - 8009f9e: 629a str r2, [r3, #40] ; 0x28 + 8009b36: 687b ldr r3, [r7, #4] + 8009b38: 2200 movs r2, #0 + 8009b3a: 629a str r2, [r3, #40] ; 0x28 } /* Align the CRC Length on the data size */ if (hspi->Init.CRCLength == SPI_CRC_LENGTH_DATASIZE) - 8009fa0: 687b ldr r3, [r7, #4] - 8009fa2: 6b1b ldr r3, [r3, #48] ; 0x30 - 8009fa4: 2b00 cmp r3, #0 - 8009fa6: d10b bne.n 8009fc0 + 8009b3c: 687b ldr r3, [r7, #4] + 8009b3e: 6b1b ldr r3, [r3, #48] ; 0x30 + 8009b40: 2b00 cmp r3, #0 + 8009b42: d10b bne.n 8009b5c { /* CRC Length aligned on the data size : value set by default */ if (hspi->Init.DataSize > SPI_DATASIZE_8BIT) - 8009fa8: 687b ldr r3, [r7, #4] - 8009faa: 68db ldr r3, [r3, #12] - 8009fac: f5b3 6fe0 cmp.w r3, #1792 ; 0x700 - 8009fb0: d903 bls.n 8009fba + 8009b44: 687b ldr r3, [r7, #4] + 8009b46: 68db ldr r3, [r3, #12] + 8009b48: f5b3 6fe0 cmp.w r3, #1792 ; 0x700 + 8009b4c: d903 bls.n 8009b56 { hspi->Init.CRCLength = SPI_CRC_LENGTH_16BIT; - 8009fb2: 687b ldr r3, [r7, #4] - 8009fb4: 2202 movs r2, #2 - 8009fb6: 631a str r2, [r3, #48] ; 0x30 - 8009fb8: e002 b.n 8009fc0 + 8009b4e: 687b ldr r3, [r7, #4] + 8009b50: 2202 movs r2, #2 + 8009b52: 631a str r2, [r3, #48] ; 0x30 + 8009b54: e002 b.n 8009b5c } else { hspi->Init.CRCLength = SPI_CRC_LENGTH_8BIT; - 8009fba: 687b ldr r3, [r7, #4] - 8009fbc: 2201 movs r2, #1 - 8009fbe: 631a str r2, [r3, #48] ; 0x30 + 8009b56: 687b ldr r3, [r7, #4] + 8009b58: 2201 movs r2, #1 + 8009b5a: 631a str r2, [r3, #48] ; 0x30 } /*----------------------- SPIx CR1 & CR2 Configuration ---------------------*/ /* Configure : SPI Mode, Communication Mode, Clock polarity and phase, NSS management, Communication speed, First bit and CRC calculation state */ WRITE_REG(hspi->Instance->CR1, (hspi->Init.Mode | hspi->Init.Direction | - 8009fc0: 687b ldr r3, [r7, #4] - 8009fc2: 685a ldr r2, [r3, #4] - 8009fc4: 687b ldr r3, [r7, #4] - 8009fc6: 689b ldr r3, [r3, #8] - 8009fc8: 431a orrs r2, r3 - 8009fca: 687b ldr r3, [r7, #4] - 8009fcc: 691b ldr r3, [r3, #16] - 8009fce: 431a orrs r2, r3 - 8009fd0: 687b ldr r3, [r7, #4] - 8009fd2: 695b ldr r3, [r3, #20] - 8009fd4: 431a orrs r2, r3 - 8009fd6: 687b ldr r3, [r7, #4] - 8009fd8: 699b ldr r3, [r3, #24] - 8009fda: f403 7300 and.w r3, r3, #512 ; 0x200 - 8009fde: 431a orrs r2, r3 - 8009fe0: 687b ldr r3, [r7, #4] - 8009fe2: 69db ldr r3, [r3, #28] - 8009fe4: 431a orrs r2, r3 - 8009fe6: 687b ldr r3, [r7, #4] - 8009fe8: 6a1b ldr r3, [r3, #32] - 8009fea: ea42 0103 orr.w r1, r2, r3 - 8009fee: 687b ldr r3, [r7, #4] - 8009ff0: 6a9a ldr r2, [r3, #40] ; 0x28 - 8009ff2: 687b ldr r3, [r7, #4] - 8009ff4: 681b ldr r3, [r3, #0] - 8009ff6: 430a orrs r2, r1 - 8009ff8: 601a str r2, [r3, #0] + 8009b5c: 687b ldr r3, [r7, #4] + 8009b5e: 685a ldr r2, [r3, #4] + 8009b60: 687b ldr r3, [r7, #4] + 8009b62: 689b ldr r3, [r3, #8] + 8009b64: 431a orrs r2, r3 + 8009b66: 687b ldr r3, [r7, #4] + 8009b68: 691b ldr r3, [r3, #16] + 8009b6a: 431a orrs r2, r3 + 8009b6c: 687b ldr r3, [r7, #4] + 8009b6e: 695b ldr r3, [r3, #20] + 8009b70: 431a orrs r2, r3 + 8009b72: 687b ldr r3, [r7, #4] + 8009b74: 699b ldr r3, [r3, #24] + 8009b76: f403 7300 and.w r3, r3, #512 ; 0x200 + 8009b7a: 431a orrs r2, r3 + 8009b7c: 687b ldr r3, [r7, #4] + 8009b7e: 69db ldr r3, [r3, #28] + 8009b80: 431a orrs r2, r3 + 8009b82: 687b ldr r3, [r7, #4] + 8009b84: 6a1b ldr r3, [r3, #32] + 8009b86: ea42 0103 orr.w r1, r2, r3 + 8009b8a: 687b ldr r3, [r7, #4] + 8009b8c: 6a9a ldr r2, [r3, #40] ; 0x28 + 8009b8e: 687b ldr r3, [r7, #4] + 8009b90: 681b ldr r3, [r3, #0] + 8009b92: 430a orrs r2, r1 + 8009b94: 601a str r2, [r3, #0] hspi->Instance->CR1 |= SPI_CR1_CRCL; } #endif /* USE_SPI_CRC */ /* Configure : NSS management, TI Mode, NSS Pulse, Data size and Rx Fifo threshold */ WRITE_REG(hspi->Instance->CR2, (((hspi->Init.NSS >> 16U) & SPI_CR2_SSOE) | hspi->Init.TIMode | - 8009ffa: 687b ldr r3, [r7, #4] - 8009ffc: 699b ldr r3, [r3, #24] - 8009ffe: 0c1b lsrs r3, r3, #16 - 800a000: f003 0204 and.w r2, r3, #4 - 800a004: 687b ldr r3, [r7, #4] - 800a006: 6a5b ldr r3, [r3, #36] ; 0x24 - 800a008: 431a orrs r2, r3 - 800a00a: 687b ldr r3, [r7, #4] - 800a00c: 6b5b ldr r3, [r3, #52] ; 0x34 - 800a00e: 431a orrs r2, r3 - 800a010: 687b ldr r3, [r7, #4] - 800a012: 68db ldr r3, [r3, #12] - 800a014: ea42 0103 orr.w r1, r2, r3 - 800a018: 687b ldr r3, [r7, #4] - 800a01a: 681b ldr r3, [r3, #0] - 800a01c: 68fa ldr r2, [r7, #12] - 800a01e: 430a orrs r2, r1 - 800a020: 605a str r2, [r3, #4] + 8009b96: 687b ldr r3, [r7, #4] + 8009b98: 699b ldr r3, [r3, #24] + 8009b9a: 0c1b lsrs r3, r3, #16 + 8009b9c: f003 0204 and.w r2, r3, #4 + 8009ba0: 687b ldr r3, [r7, #4] + 8009ba2: 6a5b ldr r3, [r3, #36] ; 0x24 + 8009ba4: 431a orrs r2, r3 + 8009ba6: 687b ldr r3, [r7, #4] + 8009ba8: 6b5b ldr r3, [r3, #52] ; 0x34 + 8009baa: 431a orrs r2, r3 + 8009bac: 687b ldr r3, [r7, #4] + 8009bae: 68db ldr r3, [r3, #12] + 8009bb0: ea42 0103 orr.w r1, r2, r3 + 8009bb4: 687b ldr r3, [r7, #4] + 8009bb6: 681b ldr r3, [r3, #0] + 8009bb8: 68fa ldr r2, [r7, #12] + 8009bba: 430a orrs r2, r1 + 8009bbc: 605a str r2, [r3, #4] } #endif /* USE_SPI_CRC */ #if defined(SPI_I2SCFGR_I2SMOD) /* Activate the SPI mode (Make sure that I2SMOD bit in I2SCFGR register is reset) */ CLEAR_BIT(hspi->Instance->I2SCFGR, SPI_I2SCFGR_I2SMOD); - 800a022: 687b ldr r3, [r7, #4] - 800a024: 681b ldr r3, [r3, #0] - 800a026: 69da ldr r2, [r3, #28] - 800a028: 687b ldr r3, [r7, #4] - 800a02a: 681b ldr r3, [r3, #0] - 800a02c: f422 6200 bic.w r2, r2, #2048 ; 0x800 - 800a030: 61da str r2, [r3, #28] + 8009bbe: 687b ldr r3, [r7, #4] + 8009bc0: 681b ldr r3, [r3, #0] + 8009bc2: 69da ldr r2, [r3, #28] + 8009bc4: 687b ldr r3, [r7, #4] + 8009bc6: 681b ldr r3, [r3, #0] + 8009bc8: f422 6200 bic.w r2, r2, #2048 ; 0x800 + 8009bcc: 61da str r2, [r3, #28] #endif /* SPI_I2SCFGR_I2SMOD */ hspi->ErrorCode = HAL_SPI_ERROR_NONE; - 800a032: 687b ldr r3, [r7, #4] - 800a034: 2200 movs r2, #0 - 800a036: 661a str r2, [r3, #96] ; 0x60 + 8009bce: 687b ldr r3, [r7, #4] + 8009bd0: 2200 movs r2, #0 + 8009bd2: 661a str r2, [r3, #96] ; 0x60 hspi->State = HAL_SPI_STATE_READY; - 800a038: 687b ldr r3, [r7, #4] - 800a03a: 2201 movs r2, #1 - 800a03c: f883 205d strb.w r2, [r3, #93] ; 0x5d + 8009bd4: 687b ldr r3, [r7, #4] + 8009bd6: 2201 movs r2, #1 + 8009bd8: f883 205d strb.w r2, [r3, #93] ; 0x5d return HAL_OK; - 800a040: 2300 movs r3, #0 + 8009bdc: 2300 movs r3, #0 } - 800a042: 4618 mov r0, r3 - 800a044: 3710 adds r7, #16 - 800a046: 46bd mov sp, r7 - 800a048: bd80 pop {r7, pc} + 8009bde: 4618 mov r0, r3 + 8009be0: 3710 adds r7, #16 + 8009be2: 46bd mov sp, r7 + 8009be4: bd80 pop {r7, pc} -0800a04a : +08009be6 : * Ex: call @ref HAL_TIM_Base_DeInit() before HAL_TIM_Base_Init() * @param htim TIM Base handle * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim) { - 800a04a: b580 push {r7, lr} - 800a04c: b082 sub sp, #8 - 800a04e: af00 add r7, sp, #0 - 800a050: 6078 str r0, [r7, #4] + 8009be6: b580 push {r7, lr} + 8009be8: b082 sub sp, #8 + 8009bea: af00 add r7, sp, #0 + 8009bec: 6078 str r0, [r7, #4] /* Check the TIM handle allocation */ if (htim == NULL) - 800a052: 687b ldr r3, [r7, #4] - 800a054: 2b00 cmp r3, #0 - 800a056: d101 bne.n 800a05c + 8009bee: 687b ldr r3, [r7, #4] + 8009bf0: 2b00 cmp r3, #0 + 8009bf2: d101 bne.n 8009bf8 { return HAL_ERROR; - 800a058: 2301 movs r3, #1 - 800a05a: e01d b.n 800a098 + 8009bf4: 2301 movs r3, #1 + 8009bf6: e01d b.n 8009c34 assert_param(IS_TIM_INSTANCE(htim->Instance)); assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); if (htim->State == HAL_TIM_STATE_RESET) - 800a05c: 687b ldr r3, [r7, #4] - 800a05e: f893 303d ldrb.w r3, [r3, #61] ; 0x3d - 800a062: b2db uxtb r3, r3 - 800a064: 2b00 cmp r3, #0 - 800a066: d106 bne.n 800a076 + 8009bf8: 687b ldr r3, [r7, #4] + 8009bfa: f893 303d ldrb.w r3, [r3, #61] ; 0x3d + 8009bfe: b2db uxtb r3, r3 + 8009c00: 2b00 cmp r3, #0 + 8009c02: d106 bne.n 8009c12 { /* Allocate lock resource and initialize it */ htim->Lock = HAL_UNLOCKED; - 800a068: 687b ldr r3, [r7, #4] - 800a06a: 2200 movs r2, #0 - 800a06c: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8009c04: 687b ldr r3, [r7, #4] + 8009c06: 2200 movs r2, #0 + 8009c08: f883 203c strb.w r2, [r3, #60] ; 0x3c } /* Init the low level hardware : GPIO, CLOCK, NVIC */ htim->Base_MspInitCallback(htim); #else /* Init the low level hardware : GPIO, CLOCK, NVIC */ HAL_TIM_Base_MspInit(htim); - 800a070: 6878 ldr r0, [r7, #4] - 800a072: f7fa fbe1 bl 8004838 + 8009c0c: 6878 ldr r0, [r7, #4] + 8009c0e: f7fa fbbf bl 8004390 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } /* Set the TIM state */ htim->State = HAL_TIM_STATE_BUSY; - 800a076: 687b ldr r3, [r7, #4] - 800a078: 2202 movs r2, #2 - 800a07a: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8009c12: 687b ldr r3, [r7, #4] + 8009c14: 2202 movs r2, #2 + 8009c16: f883 203d strb.w r2, [r3, #61] ; 0x3d /* Set the Time Base configuration */ TIM_Base_SetConfig(htim->Instance, &htim->Init); - 800a07e: 687b ldr r3, [r7, #4] - 800a080: 681a ldr r2, [r3, #0] - 800a082: 687b ldr r3, [r7, #4] - 800a084: 3304 adds r3, #4 - 800a086: 4619 mov r1, r3 - 800a088: 4610 mov r0, r2 - 800a08a: f000 fbc3 bl 800a814 + 8009c1a: 687b ldr r3, [r7, #4] + 8009c1c: 681a ldr r2, [r3, #0] + 8009c1e: 687b ldr r3, [r7, #4] + 8009c20: 3304 adds r3, #4 + 8009c22: 4619 mov r1, r3 + 8009c24: 4610 mov r0, r2 + 8009c26: f000 fbc3 bl 800a3b0 /* Initialize the TIM state*/ htim->State = HAL_TIM_STATE_READY; - 800a08e: 687b ldr r3, [r7, #4] - 800a090: 2201 movs r2, #1 - 800a092: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8009c2a: 687b ldr r3, [r7, #4] + 8009c2c: 2201 movs r2, #1 + 8009c2e: f883 203d strb.w r2, [r3, #61] ; 0x3d return HAL_OK; - 800a096: 2300 movs r3, #0 + 8009c32: 2300 movs r3, #0 } - 800a098: 4618 mov r0, r3 - 800a09a: 3708 adds r7, #8 - 800a09c: 46bd mov sp, r7 - 800a09e: bd80 pop {r7, pc} + 8009c34: 4618 mov r0, r3 + 8009c36: 3708 adds r7, #8 + 8009c38: 46bd mov sp, r7 + 8009c3a: bd80 pop {r7, pc} -0800a0a0 : +08009c3c : * @brief Starts the TIM Base generation in interrupt mode. * @param htim TIM Base handle * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim) { - 800a0a0: b480 push {r7} - 800a0a2: b085 sub sp, #20 - 800a0a4: af00 add r7, sp, #0 - 800a0a6: 6078 str r0, [r7, #4] + 8009c3c: b480 push {r7} + 8009c3e: b085 sub sp, #20 + 8009c40: af00 add r7, sp, #0 + 8009c42: 6078 str r0, [r7, #4] /* Check the parameters */ assert_param(IS_TIM_INSTANCE(htim->Instance)); /* Enable the TIM Update interrupt */ __HAL_TIM_ENABLE_IT(htim, TIM_IT_UPDATE); - 800a0a8: 687b ldr r3, [r7, #4] - 800a0aa: 681b ldr r3, [r3, #0] - 800a0ac: 68da ldr r2, [r3, #12] - 800a0ae: 687b ldr r3, [r7, #4] - 800a0b0: 681b ldr r3, [r3, #0] - 800a0b2: f042 0201 orr.w r2, r2, #1 - 800a0b6: 60da str r2, [r3, #12] + 8009c44: 687b ldr r3, [r7, #4] + 8009c46: 681b ldr r3, [r3, #0] + 8009c48: 68da ldr r2, [r3, #12] + 8009c4a: 687b ldr r3, [r7, #4] + 8009c4c: 681b ldr r3, [r3, #0] + 8009c4e: f042 0201 orr.w r2, r2, #1 + 8009c52: 60da str r2, [r3, #12] /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; - 800a0b8: 687b ldr r3, [r7, #4] - 800a0ba: 681b ldr r3, [r3, #0] - 800a0bc: 689a ldr r2, [r3, #8] - 800a0be: 4b0c ldr r3, [pc, #48] ; (800a0f0 ) - 800a0c0: 4013 ands r3, r2 - 800a0c2: 60fb str r3, [r7, #12] + 8009c54: 687b ldr r3, [r7, #4] + 8009c56: 681b ldr r3, [r3, #0] + 8009c58: 689a ldr r2, [r3, #8] + 8009c5a: 4b0c ldr r3, [pc, #48] ; (8009c8c ) + 8009c5c: 4013 ands r3, r2 + 8009c5e: 60fb str r3, [r7, #12] if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) - 800a0c4: 68fb ldr r3, [r7, #12] - 800a0c6: 2b06 cmp r3, #6 - 800a0c8: d00b beq.n 800a0e2 - 800a0ca: 68fb ldr r3, [r7, #12] - 800a0cc: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 800a0d0: d007 beq.n 800a0e2 + 8009c60: 68fb ldr r3, [r7, #12] + 8009c62: 2b06 cmp r3, #6 + 8009c64: d00b beq.n 8009c7e + 8009c66: 68fb ldr r3, [r7, #12] + 8009c68: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 8009c6c: d007 beq.n 8009c7e { __HAL_TIM_ENABLE(htim); - 800a0d2: 687b ldr r3, [r7, #4] - 800a0d4: 681b ldr r3, [r3, #0] - 800a0d6: 681a ldr r2, [r3, #0] - 800a0d8: 687b ldr r3, [r7, #4] - 800a0da: 681b ldr r3, [r3, #0] - 800a0dc: f042 0201 orr.w r2, r2, #1 - 800a0e0: 601a str r2, [r3, #0] + 8009c6e: 687b ldr r3, [r7, #4] + 8009c70: 681b ldr r3, [r3, #0] + 8009c72: 681a ldr r2, [r3, #0] + 8009c74: 687b ldr r3, [r7, #4] + 8009c76: 681b ldr r3, [r3, #0] + 8009c78: f042 0201 orr.w r2, r2, #1 + 8009c7c: 601a str r2, [r3, #0] } /* Return function status */ return HAL_OK; - 800a0e2: 2300 movs r3, #0 + 8009c7e: 2300 movs r3, #0 } - 800a0e4: 4618 mov r0, r3 - 800a0e6: 3714 adds r7, #20 - 800a0e8: 46bd mov sp, r7 - 800a0ea: f85d 7b04 ldr.w r7, [sp], #4 - 800a0ee: 4770 bx lr - 800a0f0: 00010007 .word 0x00010007 + 8009c80: 4618 mov r0, r3 + 8009c82: 3714 adds r7, #20 + 8009c84: 46bd mov sp, r7 + 8009c86: f85d 7b04 ldr.w r7, [sp], #4 + 8009c8a: 4770 bx lr + 8009c8c: 00010007 .word 0x00010007 -0800a0f4 : +08009c90 : * Ex: call @ref HAL_TIM_PWM_DeInit() before HAL_TIM_PWM_Init() * @param htim TIM PWM handle * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_PWM_Init(TIM_HandleTypeDef *htim) { - 800a0f4: b580 push {r7, lr} - 800a0f6: b082 sub sp, #8 - 800a0f8: af00 add r7, sp, #0 - 800a0fa: 6078 str r0, [r7, #4] + 8009c90: b580 push {r7, lr} + 8009c92: b082 sub sp, #8 + 8009c94: af00 add r7, sp, #0 + 8009c96: 6078 str r0, [r7, #4] /* Check the TIM handle allocation */ if (htim == NULL) - 800a0fc: 687b ldr r3, [r7, #4] - 800a0fe: 2b00 cmp r3, #0 - 800a100: d101 bne.n 800a106 + 8009c98: 687b ldr r3, [r7, #4] + 8009c9a: 2b00 cmp r3, #0 + 8009c9c: d101 bne.n 8009ca2 { return HAL_ERROR; - 800a102: 2301 movs r3, #1 - 800a104: e01d b.n 800a142 + 8009c9e: 2301 movs r3, #1 + 8009ca0: e01d b.n 8009cde assert_param(IS_TIM_INSTANCE(htim->Instance)); assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); if (htim->State == HAL_TIM_STATE_RESET) - 800a106: 687b ldr r3, [r7, #4] - 800a108: f893 303d ldrb.w r3, [r3, #61] ; 0x3d - 800a10c: b2db uxtb r3, r3 - 800a10e: 2b00 cmp r3, #0 - 800a110: d106 bne.n 800a120 + 8009ca2: 687b ldr r3, [r7, #4] + 8009ca4: f893 303d ldrb.w r3, [r3, #61] ; 0x3d + 8009ca8: b2db uxtb r3, r3 + 8009caa: 2b00 cmp r3, #0 + 8009cac: d106 bne.n 8009cbc { /* Allocate lock resource and initialize it */ htim->Lock = HAL_UNLOCKED; - 800a112: 687b ldr r3, [r7, #4] - 800a114: 2200 movs r2, #0 - 800a116: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8009cae: 687b ldr r3, [r7, #4] + 8009cb0: 2200 movs r2, #0 + 8009cb2: f883 203c strb.w r2, [r3, #60] ; 0x3c } /* Init the low level hardware : GPIO, CLOCK, NVIC */ htim->PWM_MspInitCallback(htim); #else /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ HAL_TIM_PWM_MspInit(htim); - 800a11a: 6878 ldr r0, [r7, #4] - 800a11c: f000 f815 bl 800a14a + 8009cb6: 6878 ldr r0, [r7, #4] + 8009cb8: f000 f815 bl 8009ce6 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } /* Set the TIM state */ htim->State = HAL_TIM_STATE_BUSY; - 800a120: 687b ldr r3, [r7, #4] - 800a122: 2202 movs r2, #2 - 800a124: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8009cbc: 687b ldr r3, [r7, #4] + 8009cbe: 2202 movs r2, #2 + 8009cc0: f883 203d strb.w r2, [r3, #61] ; 0x3d /* Init the base time for the PWM */ TIM_Base_SetConfig(htim->Instance, &htim->Init); - 800a128: 687b ldr r3, [r7, #4] - 800a12a: 681a ldr r2, [r3, #0] - 800a12c: 687b ldr r3, [r7, #4] - 800a12e: 3304 adds r3, #4 - 800a130: 4619 mov r1, r3 - 800a132: 4610 mov r0, r2 - 800a134: f000 fb6e bl 800a814 + 8009cc4: 687b ldr r3, [r7, #4] + 8009cc6: 681a ldr r2, [r3, #0] + 8009cc8: 687b ldr r3, [r7, #4] + 8009cca: 3304 adds r3, #4 + 8009ccc: 4619 mov r1, r3 + 8009cce: 4610 mov r0, r2 + 8009cd0: f000 fb6e bl 800a3b0 /* Initialize the TIM state*/ htim->State = HAL_TIM_STATE_READY; - 800a138: 687b ldr r3, [r7, #4] - 800a13a: 2201 movs r2, #1 - 800a13c: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8009cd4: 687b ldr r3, [r7, #4] + 8009cd6: 2201 movs r2, #1 + 8009cd8: f883 203d strb.w r2, [r3, #61] ; 0x3d return HAL_OK; - 800a140: 2300 movs r3, #0 + 8009cdc: 2300 movs r3, #0 } - 800a142: 4618 mov r0, r3 - 800a144: 3708 adds r7, #8 - 800a146: 46bd mov sp, r7 - 800a148: bd80 pop {r7, pc} + 8009cde: 4618 mov r0, r3 + 8009ce0: 3708 adds r7, #8 + 8009ce2: 46bd mov sp, r7 + 8009ce4: bd80 pop {r7, pc} -0800a14a : +08009ce6 : * @brief Initializes the TIM PWM MSP. * @param htim TIM PWM handle * @retval None */ __weak void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim) { - 800a14a: b480 push {r7} - 800a14c: b083 sub sp, #12 - 800a14e: af00 add r7, sp, #0 - 800a150: 6078 str r0, [r7, #4] + 8009ce6: b480 push {r7} + 8009ce8: b083 sub sp, #12 + 8009cea: af00 add r7, sp, #0 + 8009cec: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function should not be modified, when the callback is needed, the HAL_TIM_PWM_MspInit could be implemented in the user file */ } - 800a152: bf00 nop - 800a154: 370c adds r7, #12 - 800a156: 46bd mov sp, r7 - 800a158: f85d 7b04 ldr.w r7, [sp], #4 - 800a15c: 4770 bx lr + 8009cee: bf00 nop + 8009cf0: 370c adds r7, #12 + 8009cf2: 46bd mov sp, r7 + 8009cf4: f85d 7b04 ldr.w r7, [sp], #4 + 8009cf8: 4770 bx lr -0800a15e : +08009cfa : * @brief This function handles TIM interrupts requests. * @param htim TIM handle * @retval None */ void HAL_TIM_IRQHandler(TIM_HandleTypeDef *htim) { - 800a15e: b580 push {r7, lr} - 800a160: b082 sub sp, #8 - 800a162: af00 add r7, sp, #0 - 800a164: 6078 str r0, [r7, #4] + 8009cfa: b580 push {r7, lr} + 8009cfc: b082 sub sp, #8 + 8009cfe: af00 add r7, sp, #0 + 8009d00: 6078 str r0, [r7, #4] /* Capture compare 1 event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC1) != RESET) - 800a166: 687b ldr r3, [r7, #4] - 800a168: 681b ldr r3, [r3, #0] - 800a16a: 691b ldr r3, [r3, #16] - 800a16c: f003 0302 and.w r3, r3, #2 - 800a170: 2b02 cmp r3, #2 - 800a172: d122 bne.n 800a1ba + 8009d02: 687b ldr r3, [r7, #4] + 8009d04: 681b ldr r3, [r3, #0] + 8009d06: 691b ldr r3, [r3, #16] + 8009d08: f003 0302 and.w r3, r3, #2 + 8009d0c: 2b02 cmp r3, #2 + 8009d0e: d122 bne.n 8009d56 { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC1) != RESET) - 800a174: 687b ldr r3, [r7, #4] - 800a176: 681b ldr r3, [r3, #0] - 800a178: 68db ldr r3, [r3, #12] - 800a17a: f003 0302 and.w r3, r3, #2 - 800a17e: 2b02 cmp r3, #2 - 800a180: d11b bne.n 800a1ba + 8009d10: 687b ldr r3, [r7, #4] + 8009d12: 681b ldr r3, [r3, #0] + 8009d14: 68db ldr r3, [r3, #12] + 8009d16: f003 0302 and.w r3, r3, #2 + 8009d1a: 2b02 cmp r3, #2 + 8009d1c: d11b bne.n 8009d56 { { __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC1); - 800a182: 687b ldr r3, [r7, #4] - 800a184: 681b ldr r3, [r3, #0] - 800a186: f06f 0202 mvn.w r2, #2 - 800a18a: 611a str r2, [r3, #16] + 8009d1e: 687b ldr r3, [r7, #4] + 8009d20: 681b ldr r3, [r3, #0] + 8009d22: f06f 0202 mvn.w r2, #2 + 8009d26: 611a str r2, [r3, #16] htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; - 800a18c: 687b ldr r3, [r7, #4] - 800a18e: 2201 movs r2, #1 - 800a190: 771a strb r2, [r3, #28] + 8009d28: 687b ldr r3, [r7, #4] + 8009d2a: 2201 movs r2, #1 + 8009d2c: 771a strb r2, [r3, #28] /* Input capture event */ if ((htim->Instance->CCMR1 & TIM_CCMR1_CC1S) != 0x00U) - 800a192: 687b ldr r3, [r7, #4] - 800a194: 681b ldr r3, [r3, #0] - 800a196: 699b ldr r3, [r3, #24] - 800a198: f003 0303 and.w r3, r3, #3 - 800a19c: 2b00 cmp r3, #0 - 800a19e: d003 beq.n 800a1a8 + 8009d2e: 687b ldr r3, [r7, #4] + 8009d30: 681b ldr r3, [r3, #0] + 8009d32: 699b ldr r3, [r3, #24] + 8009d34: f003 0303 and.w r3, r3, #3 + 8009d38: 2b00 cmp r3, #0 + 8009d3a: d003 beq.n 8009d44 { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->IC_CaptureCallback(htim); #else HAL_TIM_IC_CaptureCallback(htim); - 800a1a0: 6878 ldr r0, [r7, #4] - 800a1a2: f000 fb19 bl 800a7d8 - 800a1a6: e005 b.n 800a1b4 + 8009d3c: 6878 ldr r0, [r7, #4] + 8009d3e: f000 fb19 bl 800a374 + 8009d42: e005 b.n 8009d50 { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->OC_DelayElapsedCallback(htim); htim->PWM_PulseFinishedCallback(htim); #else HAL_TIM_OC_DelayElapsedCallback(htim); - 800a1a8: 6878 ldr r0, [r7, #4] - 800a1aa: f000 fb0b bl 800a7c4 + 8009d44: 6878 ldr r0, [r7, #4] + 8009d46: f000 fb0b bl 800a360 HAL_TIM_PWM_PulseFinishedCallback(htim); - 800a1ae: 6878 ldr r0, [r7, #4] - 800a1b0: f000 fb1c bl 800a7ec + 8009d4a: 6878 ldr r0, [r7, #4] + 8009d4c: f000 fb1c bl 800a388 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; - 800a1b4: 687b ldr r3, [r7, #4] - 800a1b6: 2200 movs r2, #0 - 800a1b8: 771a strb r2, [r3, #28] + 8009d50: 687b ldr r3, [r7, #4] + 8009d52: 2200 movs r2, #0 + 8009d54: 771a strb r2, [r3, #28] } } } /* Capture compare 2 event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC2) != RESET) - 800a1ba: 687b ldr r3, [r7, #4] - 800a1bc: 681b ldr r3, [r3, #0] - 800a1be: 691b ldr r3, [r3, #16] - 800a1c0: f003 0304 and.w r3, r3, #4 - 800a1c4: 2b04 cmp r3, #4 - 800a1c6: d122 bne.n 800a20e + 8009d56: 687b ldr r3, [r7, #4] + 8009d58: 681b ldr r3, [r3, #0] + 8009d5a: 691b ldr r3, [r3, #16] + 8009d5c: f003 0304 and.w r3, r3, #4 + 8009d60: 2b04 cmp r3, #4 + 8009d62: d122 bne.n 8009daa { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC2) != RESET) - 800a1c8: 687b ldr r3, [r7, #4] - 800a1ca: 681b ldr r3, [r3, #0] - 800a1cc: 68db ldr r3, [r3, #12] - 800a1ce: f003 0304 and.w r3, r3, #4 - 800a1d2: 2b04 cmp r3, #4 - 800a1d4: d11b bne.n 800a20e + 8009d64: 687b ldr r3, [r7, #4] + 8009d66: 681b ldr r3, [r3, #0] + 8009d68: 68db ldr r3, [r3, #12] + 8009d6a: f003 0304 and.w r3, r3, #4 + 8009d6e: 2b04 cmp r3, #4 + 8009d70: d11b bne.n 8009daa { __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC2); - 800a1d6: 687b ldr r3, [r7, #4] - 800a1d8: 681b ldr r3, [r3, #0] - 800a1da: f06f 0204 mvn.w r2, #4 - 800a1de: 611a str r2, [r3, #16] + 8009d72: 687b ldr r3, [r7, #4] + 8009d74: 681b ldr r3, [r3, #0] + 8009d76: f06f 0204 mvn.w r2, #4 + 8009d7a: 611a str r2, [r3, #16] htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; - 800a1e0: 687b ldr r3, [r7, #4] - 800a1e2: 2202 movs r2, #2 - 800a1e4: 771a strb r2, [r3, #28] + 8009d7c: 687b ldr r3, [r7, #4] + 8009d7e: 2202 movs r2, #2 + 8009d80: 771a strb r2, [r3, #28] /* Input capture event */ if ((htim->Instance->CCMR1 & TIM_CCMR1_CC2S) != 0x00U) - 800a1e6: 687b ldr r3, [r7, #4] - 800a1e8: 681b ldr r3, [r3, #0] - 800a1ea: 699b ldr r3, [r3, #24] - 800a1ec: f403 7340 and.w r3, r3, #768 ; 0x300 - 800a1f0: 2b00 cmp r3, #0 - 800a1f2: d003 beq.n 800a1fc + 8009d82: 687b ldr r3, [r7, #4] + 8009d84: 681b ldr r3, [r3, #0] + 8009d86: 699b ldr r3, [r3, #24] + 8009d88: f403 7340 and.w r3, r3, #768 ; 0x300 + 8009d8c: 2b00 cmp r3, #0 + 8009d8e: d003 beq.n 8009d98 { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->IC_CaptureCallback(htim); #else HAL_TIM_IC_CaptureCallback(htim); - 800a1f4: 6878 ldr r0, [r7, #4] - 800a1f6: f000 faef bl 800a7d8 - 800a1fa: e005 b.n 800a208 + 8009d90: 6878 ldr r0, [r7, #4] + 8009d92: f000 faef bl 800a374 + 8009d96: e005 b.n 8009da4 { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->OC_DelayElapsedCallback(htim); htim->PWM_PulseFinishedCallback(htim); #else HAL_TIM_OC_DelayElapsedCallback(htim); - 800a1fc: 6878 ldr r0, [r7, #4] - 800a1fe: f000 fae1 bl 800a7c4 + 8009d98: 6878 ldr r0, [r7, #4] + 8009d9a: f000 fae1 bl 800a360 HAL_TIM_PWM_PulseFinishedCallback(htim); - 800a202: 6878 ldr r0, [r7, #4] - 800a204: f000 faf2 bl 800a7ec + 8009d9e: 6878 ldr r0, [r7, #4] + 8009da0: f000 faf2 bl 800a388 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; - 800a208: 687b ldr r3, [r7, #4] - 800a20a: 2200 movs r2, #0 - 800a20c: 771a strb r2, [r3, #28] + 8009da4: 687b ldr r3, [r7, #4] + 8009da6: 2200 movs r2, #0 + 8009da8: 771a strb r2, [r3, #28] } } /* Capture compare 3 event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC3) != RESET) - 800a20e: 687b ldr r3, [r7, #4] - 800a210: 681b ldr r3, [r3, #0] - 800a212: 691b ldr r3, [r3, #16] - 800a214: f003 0308 and.w r3, r3, #8 - 800a218: 2b08 cmp r3, #8 - 800a21a: d122 bne.n 800a262 + 8009daa: 687b ldr r3, [r7, #4] + 8009dac: 681b ldr r3, [r3, #0] + 8009dae: 691b ldr r3, [r3, #16] + 8009db0: f003 0308 and.w r3, r3, #8 + 8009db4: 2b08 cmp r3, #8 + 8009db6: d122 bne.n 8009dfe { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC3) != RESET) - 800a21c: 687b ldr r3, [r7, #4] - 800a21e: 681b ldr r3, [r3, #0] - 800a220: 68db ldr r3, [r3, #12] - 800a222: f003 0308 and.w r3, r3, #8 - 800a226: 2b08 cmp r3, #8 - 800a228: d11b bne.n 800a262 + 8009db8: 687b ldr r3, [r7, #4] + 8009dba: 681b ldr r3, [r3, #0] + 8009dbc: 68db ldr r3, [r3, #12] + 8009dbe: f003 0308 and.w r3, r3, #8 + 8009dc2: 2b08 cmp r3, #8 + 8009dc4: d11b bne.n 8009dfe { __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC3); - 800a22a: 687b ldr r3, [r7, #4] - 800a22c: 681b ldr r3, [r3, #0] - 800a22e: f06f 0208 mvn.w r2, #8 - 800a232: 611a str r2, [r3, #16] + 8009dc6: 687b ldr r3, [r7, #4] + 8009dc8: 681b ldr r3, [r3, #0] + 8009dca: f06f 0208 mvn.w r2, #8 + 8009dce: 611a str r2, [r3, #16] htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; - 800a234: 687b ldr r3, [r7, #4] - 800a236: 2204 movs r2, #4 - 800a238: 771a strb r2, [r3, #28] + 8009dd0: 687b ldr r3, [r7, #4] + 8009dd2: 2204 movs r2, #4 + 8009dd4: 771a strb r2, [r3, #28] /* Input capture event */ if ((htim->Instance->CCMR2 & TIM_CCMR2_CC3S) != 0x00U) - 800a23a: 687b ldr r3, [r7, #4] - 800a23c: 681b ldr r3, [r3, #0] - 800a23e: 69db ldr r3, [r3, #28] - 800a240: f003 0303 and.w r3, r3, #3 - 800a244: 2b00 cmp r3, #0 - 800a246: d003 beq.n 800a250 + 8009dd6: 687b ldr r3, [r7, #4] + 8009dd8: 681b ldr r3, [r3, #0] + 8009dda: 69db ldr r3, [r3, #28] + 8009ddc: f003 0303 and.w r3, r3, #3 + 8009de0: 2b00 cmp r3, #0 + 8009de2: d003 beq.n 8009dec { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->IC_CaptureCallback(htim); #else HAL_TIM_IC_CaptureCallback(htim); - 800a248: 6878 ldr r0, [r7, #4] - 800a24a: f000 fac5 bl 800a7d8 - 800a24e: e005 b.n 800a25c + 8009de4: 6878 ldr r0, [r7, #4] + 8009de6: f000 fac5 bl 800a374 + 8009dea: e005 b.n 8009df8 { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->OC_DelayElapsedCallback(htim); htim->PWM_PulseFinishedCallback(htim); #else HAL_TIM_OC_DelayElapsedCallback(htim); - 800a250: 6878 ldr r0, [r7, #4] - 800a252: f000 fab7 bl 800a7c4 + 8009dec: 6878 ldr r0, [r7, #4] + 8009dee: f000 fab7 bl 800a360 HAL_TIM_PWM_PulseFinishedCallback(htim); - 800a256: 6878 ldr r0, [r7, #4] - 800a258: f000 fac8 bl 800a7ec + 8009df2: 6878 ldr r0, [r7, #4] + 8009df4: f000 fac8 bl 800a388 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; - 800a25c: 687b ldr r3, [r7, #4] - 800a25e: 2200 movs r2, #0 - 800a260: 771a strb r2, [r3, #28] + 8009df8: 687b ldr r3, [r7, #4] + 8009dfa: 2200 movs r2, #0 + 8009dfc: 771a strb r2, [r3, #28] } } /* Capture compare 4 event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC4) != RESET) - 800a262: 687b ldr r3, [r7, #4] - 800a264: 681b ldr r3, [r3, #0] - 800a266: 691b ldr r3, [r3, #16] - 800a268: f003 0310 and.w r3, r3, #16 - 800a26c: 2b10 cmp r3, #16 - 800a26e: d122 bne.n 800a2b6 + 8009dfe: 687b ldr r3, [r7, #4] + 8009e00: 681b ldr r3, [r3, #0] + 8009e02: 691b ldr r3, [r3, #16] + 8009e04: f003 0310 and.w r3, r3, #16 + 8009e08: 2b10 cmp r3, #16 + 8009e0a: d122 bne.n 8009e52 { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC4) != RESET) - 800a270: 687b ldr r3, [r7, #4] - 800a272: 681b ldr r3, [r3, #0] - 800a274: 68db ldr r3, [r3, #12] - 800a276: f003 0310 and.w r3, r3, #16 - 800a27a: 2b10 cmp r3, #16 - 800a27c: d11b bne.n 800a2b6 + 8009e0c: 687b ldr r3, [r7, #4] + 8009e0e: 681b ldr r3, [r3, #0] + 8009e10: 68db ldr r3, [r3, #12] + 8009e12: f003 0310 and.w r3, r3, #16 + 8009e16: 2b10 cmp r3, #16 + 8009e18: d11b bne.n 8009e52 { __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC4); - 800a27e: 687b ldr r3, [r7, #4] - 800a280: 681b ldr r3, [r3, #0] - 800a282: f06f 0210 mvn.w r2, #16 - 800a286: 611a str r2, [r3, #16] + 8009e1a: 687b ldr r3, [r7, #4] + 8009e1c: 681b ldr r3, [r3, #0] + 8009e1e: f06f 0210 mvn.w r2, #16 + 8009e22: 611a str r2, [r3, #16] htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; - 800a288: 687b ldr r3, [r7, #4] - 800a28a: 2208 movs r2, #8 - 800a28c: 771a strb r2, [r3, #28] + 8009e24: 687b ldr r3, [r7, #4] + 8009e26: 2208 movs r2, #8 + 8009e28: 771a strb r2, [r3, #28] /* Input capture event */ if ((htim->Instance->CCMR2 & TIM_CCMR2_CC4S) != 0x00U) - 800a28e: 687b ldr r3, [r7, #4] - 800a290: 681b ldr r3, [r3, #0] - 800a292: 69db ldr r3, [r3, #28] - 800a294: f403 7340 and.w r3, r3, #768 ; 0x300 - 800a298: 2b00 cmp r3, #0 - 800a29a: d003 beq.n 800a2a4 + 8009e2a: 687b ldr r3, [r7, #4] + 8009e2c: 681b ldr r3, [r3, #0] + 8009e2e: 69db ldr r3, [r3, #28] + 8009e30: f403 7340 and.w r3, r3, #768 ; 0x300 + 8009e34: 2b00 cmp r3, #0 + 8009e36: d003 beq.n 8009e40 { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->IC_CaptureCallback(htim); #else HAL_TIM_IC_CaptureCallback(htim); - 800a29c: 6878 ldr r0, [r7, #4] - 800a29e: f000 fa9b bl 800a7d8 - 800a2a2: e005 b.n 800a2b0 + 8009e38: 6878 ldr r0, [r7, #4] + 8009e3a: f000 fa9b bl 800a374 + 8009e3e: e005 b.n 8009e4c { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->OC_DelayElapsedCallback(htim); htim->PWM_PulseFinishedCallback(htim); #else HAL_TIM_OC_DelayElapsedCallback(htim); - 800a2a4: 6878 ldr r0, [r7, #4] - 800a2a6: f000 fa8d bl 800a7c4 + 8009e40: 6878 ldr r0, [r7, #4] + 8009e42: f000 fa8d bl 800a360 HAL_TIM_PWM_PulseFinishedCallback(htim); - 800a2aa: 6878 ldr r0, [r7, #4] - 800a2ac: f000 fa9e bl 800a7ec + 8009e46: 6878 ldr r0, [r7, #4] + 8009e48: f000 fa9e bl 800a388 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; - 800a2b0: 687b ldr r3, [r7, #4] - 800a2b2: 2200 movs r2, #0 - 800a2b4: 771a strb r2, [r3, #28] + 8009e4c: 687b ldr r3, [r7, #4] + 8009e4e: 2200 movs r2, #0 + 8009e50: 771a strb r2, [r3, #28] } } /* TIM Update event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_UPDATE) != RESET) - 800a2b6: 687b ldr r3, [r7, #4] - 800a2b8: 681b ldr r3, [r3, #0] - 800a2ba: 691b ldr r3, [r3, #16] - 800a2bc: f003 0301 and.w r3, r3, #1 - 800a2c0: 2b01 cmp r3, #1 - 800a2c2: d10e bne.n 800a2e2 + 8009e52: 687b ldr r3, [r7, #4] + 8009e54: 681b ldr r3, [r3, #0] + 8009e56: 691b ldr r3, [r3, #16] + 8009e58: f003 0301 and.w r3, r3, #1 + 8009e5c: 2b01 cmp r3, #1 + 8009e5e: d10e bne.n 8009e7e { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_UPDATE) != RESET) - 800a2c4: 687b ldr r3, [r7, #4] - 800a2c6: 681b ldr r3, [r3, #0] - 800a2c8: 68db ldr r3, [r3, #12] - 800a2ca: f003 0301 and.w r3, r3, #1 - 800a2ce: 2b01 cmp r3, #1 - 800a2d0: d107 bne.n 800a2e2 + 8009e60: 687b ldr r3, [r7, #4] + 8009e62: 681b ldr r3, [r3, #0] + 8009e64: 68db ldr r3, [r3, #12] + 8009e66: f003 0301 and.w r3, r3, #1 + 8009e6a: 2b01 cmp r3, #1 + 8009e6c: d107 bne.n 8009e7e { __HAL_TIM_CLEAR_IT(htim, TIM_IT_UPDATE); - 800a2d2: 687b ldr r3, [r7, #4] - 800a2d4: 681b ldr r3, [r3, #0] - 800a2d6: f06f 0201 mvn.w r2, #1 - 800a2da: 611a str r2, [r3, #16] + 8009e6e: 687b ldr r3, [r7, #4] + 8009e70: 681b ldr r3, [r3, #0] + 8009e72: f06f 0201 mvn.w r2, #1 + 8009e76: 611a str r2, [r3, #16] #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->PeriodElapsedCallback(htim); #else HAL_TIM_PeriodElapsedCallback(htim); - 800a2dc: 6878 ldr r0, [r7, #4] - 800a2de: f7f8 f9f5 bl 80026cc + 8009e78: 6878 ldr r0, [r7, #4] + 8009e7a: f7f8 fbc1 bl 8002600 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } } /* TIM Break input event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_BREAK) != RESET) - 800a2e2: 687b ldr r3, [r7, #4] - 800a2e4: 681b ldr r3, [r3, #0] - 800a2e6: 691b ldr r3, [r3, #16] - 800a2e8: f003 0380 and.w r3, r3, #128 ; 0x80 - 800a2ec: 2b80 cmp r3, #128 ; 0x80 - 800a2ee: d10e bne.n 800a30e + 8009e7e: 687b ldr r3, [r7, #4] + 8009e80: 681b ldr r3, [r3, #0] + 8009e82: 691b ldr r3, [r3, #16] + 8009e84: f003 0380 and.w r3, r3, #128 ; 0x80 + 8009e88: 2b80 cmp r3, #128 ; 0x80 + 8009e8a: d10e bne.n 8009eaa { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_BREAK) != RESET) - 800a2f0: 687b ldr r3, [r7, #4] - 800a2f2: 681b ldr r3, [r3, #0] - 800a2f4: 68db ldr r3, [r3, #12] - 800a2f6: f003 0380 and.w r3, r3, #128 ; 0x80 - 800a2fa: 2b80 cmp r3, #128 ; 0x80 - 800a2fc: d107 bne.n 800a30e + 8009e8c: 687b ldr r3, [r7, #4] + 8009e8e: 681b ldr r3, [r3, #0] + 8009e90: 68db ldr r3, [r3, #12] + 8009e92: f003 0380 and.w r3, r3, #128 ; 0x80 + 8009e96: 2b80 cmp r3, #128 ; 0x80 + 8009e98: d107 bne.n 8009eaa { __HAL_TIM_CLEAR_IT(htim, TIM_IT_BREAK); - 800a2fe: 687b ldr r3, [r7, #4] - 800a300: 681b ldr r3, [r3, #0] - 800a302: f06f 0280 mvn.w r2, #128 ; 0x80 - 800a306: 611a str r2, [r3, #16] + 8009e9a: 687b ldr r3, [r7, #4] + 8009e9c: 681b ldr r3, [r3, #0] + 8009e9e: f06f 0280 mvn.w r2, #128 ; 0x80 + 8009ea2: 611a str r2, [r3, #16] #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->BreakCallback(htim); #else HAL_TIMEx_BreakCallback(htim); - 800a308: 6878 ldr r0, [r7, #4] - 800a30a: f000 ffb9 bl 800b280 + 8009ea4: 6878 ldr r0, [r7, #4] + 8009ea6: f000 ffb9 bl 800ae1c #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } } /* TIM Break2 input event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_BREAK2) != RESET) - 800a30e: 687b ldr r3, [r7, #4] - 800a310: 681b ldr r3, [r3, #0] - 800a312: 691b ldr r3, [r3, #16] - 800a314: f403 7380 and.w r3, r3, #256 ; 0x100 - 800a318: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 800a31c: d10e bne.n 800a33c + 8009eaa: 687b ldr r3, [r7, #4] + 8009eac: 681b ldr r3, [r3, #0] + 8009eae: 691b ldr r3, [r3, #16] + 8009eb0: f403 7380 and.w r3, r3, #256 ; 0x100 + 8009eb4: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 8009eb8: d10e bne.n 8009ed8 { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_BREAK) != RESET) - 800a31e: 687b ldr r3, [r7, #4] - 800a320: 681b ldr r3, [r3, #0] - 800a322: 68db ldr r3, [r3, #12] - 800a324: f003 0380 and.w r3, r3, #128 ; 0x80 - 800a328: 2b80 cmp r3, #128 ; 0x80 - 800a32a: d107 bne.n 800a33c + 8009eba: 687b ldr r3, [r7, #4] + 8009ebc: 681b ldr r3, [r3, #0] + 8009ebe: 68db ldr r3, [r3, #12] + 8009ec0: f003 0380 and.w r3, r3, #128 ; 0x80 + 8009ec4: 2b80 cmp r3, #128 ; 0x80 + 8009ec6: d107 bne.n 8009ed8 { __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_BREAK2); - 800a32c: 687b ldr r3, [r7, #4] - 800a32e: 681b ldr r3, [r3, #0] - 800a330: f46f 7280 mvn.w r2, #256 ; 0x100 - 800a334: 611a str r2, [r3, #16] + 8009ec8: 687b ldr r3, [r7, #4] + 8009eca: 681b ldr r3, [r3, #0] + 8009ecc: f46f 7280 mvn.w r2, #256 ; 0x100 + 8009ed0: 611a str r2, [r3, #16] #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->Break2Callback(htim); #else HAL_TIMEx_Break2Callback(htim); - 800a336: 6878 ldr r0, [r7, #4] - 800a338: f000 ffac bl 800b294 + 8009ed2: 6878 ldr r0, [r7, #4] + 8009ed4: f000 ffac bl 800ae30 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } } /* TIM Trigger detection event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_TRIGGER) != RESET) - 800a33c: 687b ldr r3, [r7, #4] - 800a33e: 681b ldr r3, [r3, #0] - 800a340: 691b ldr r3, [r3, #16] - 800a342: f003 0340 and.w r3, r3, #64 ; 0x40 - 800a346: 2b40 cmp r3, #64 ; 0x40 - 800a348: d10e bne.n 800a368 + 8009ed8: 687b ldr r3, [r7, #4] + 8009eda: 681b ldr r3, [r3, #0] + 8009edc: 691b ldr r3, [r3, #16] + 8009ede: f003 0340 and.w r3, r3, #64 ; 0x40 + 8009ee2: 2b40 cmp r3, #64 ; 0x40 + 8009ee4: d10e bne.n 8009f04 { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_TRIGGER) != RESET) - 800a34a: 687b ldr r3, [r7, #4] - 800a34c: 681b ldr r3, [r3, #0] - 800a34e: 68db ldr r3, [r3, #12] - 800a350: f003 0340 and.w r3, r3, #64 ; 0x40 - 800a354: 2b40 cmp r3, #64 ; 0x40 - 800a356: d107 bne.n 800a368 + 8009ee6: 687b ldr r3, [r7, #4] + 8009ee8: 681b ldr r3, [r3, #0] + 8009eea: 68db ldr r3, [r3, #12] + 8009eec: f003 0340 and.w r3, r3, #64 ; 0x40 + 8009ef0: 2b40 cmp r3, #64 ; 0x40 + 8009ef2: d107 bne.n 8009f04 { __HAL_TIM_CLEAR_IT(htim, TIM_IT_TRIGGER); - 800a358: 687b ldr r3, [r7, #4] - 800a35a: 681b ldr r3, [r3, #0] - 800a35c: f06f 0240 mvn.w r2, #64 ; 0x40 - 800a360: 611a str r2, [r3, #16] + 8009ef4: 687b ldr r3, [r7, #4] + 8009ef6: 681b ldr r3, [r3, #0] + 8009ef8: f06f 0240 mvn.w r2, #64 ; 0x40 + 8009efc: 611a str r2, [r3, #16] #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->TriggerCallback(htim); #else HAL_TIM_TriggerCallback(htim); - 800a362: 6878 ldr r0, [r7, #4] - 800a364: f000 fa4c bl 800a800 + 8009efe: 6878 ldr r0, [r7, #4] + 8009f00: f000 fa4c bl 800a39c #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } } /* TIM commutation event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_COM) != RESET) - 800a368: 687b ldr r3, [r7, #4] - 800a36a: 681b ldr r3, [r3, #0] - 800a36c: 691b ldr r3, [r3, #16] - 800a36e: f003 0320 and.w r3, r3, #32 - 800a372: 2b20 cmp r3, #32 - 800a374: d10e bne.n 800a394 + 8009f04: 687b ldr r3, [r7, #4] + 8009f06: 681b ldr r3, [r3, #0] + 8009f08: 691b ldr r3, [r3, #16] + 8009f0a: f003 0320 and.w r3, r3, #32 + 8009f0e: 2b20 cmp r3, #32 + 8009f10: d10e bne.n 8009f30 { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_COM) != RESET) - 800a376: 687b ldr r3, [r7, #4] - 800a378: 681b ldr r3, [r3, #0] - 800a37a: 68db ldr r3, [r3, #12] - 800a37c: f003 0320 and.w r3, r3, #32 - 800a380: 2b20 cmp r3, #32 - 800a382: d107 bne.n 800a394 + 8009f12: 687b ldr r3, [r7, #4] + 8009f14: 681b ldr r3, [r3, #0] + 8009f16: 68db ldr r3, [r3, #12] + 8009f18: f003 0320 and.w r3, r3, #32 + 8009f1c: 2b20 cmp r3, #32 + 8009f1e: d107 bne.n 8009f30 { __HAL_TIM_CLEAR_IT(htim, TIM_FLAG_COM); - 800a384: 687b ldr r3, [r7, #4] - 800a386: 681b ldr r3, [r3, #0] - 800a388: f06f 0220 mvn.w r2, #32 - 800a38c: 611a str r2, [r3, #16] + 8009f20: 687b ldr r3, [r7, #4] + 8009f22: 681b ldr r3, [r3, #0] + 8009f24: f06f 0220 mvn.w r2, #32 + 8009f28: 611a str r2, [r3, #16] #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->CommutationCallback(htim); #else HAL_TIMEx_CommutCallback(htim); - 800a38e: 6878 ldr r0, [r7, #4] - 800a390: f000 ff6c bl 800b26c + 8009f2a: 6878 ldr r0, [r7, #4] + 8009f2c: f000 ff6c bl 800ae08 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } } } - 800a394: bf00 nop - 800a396: 3708 adds r7, #8 - 800a398: 46bd mov sp, r7 - 800a39a: bd80 pop {r7, pc} + 8009f30: bf00 nop + 8009f32: 3708 adds r7, #8 + 8009f34: 46bd mov sp, r7 + 8009f36: bd80 pop {r7, pc} -0800a39c : +08009f38 : * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OC_InitTypeDef *sConfig, uint32_t Channel) { - 800a39c: b580 push {r7, lr} - 800a39e: b084 sub sp, #16 - 800a3a0: af00 add r7, sp, #0 - 800a3a2: 60f8 str r0, [r7, #12] - 800a3a4: 60b9 str r1, [r7, #8] - 800a3a6: 607a str r2, [r7, #4] + 8009f38: b580 push {r7, lr} + 8009f3a: b084 sub sp, #16 + 8009f3c: af00 add r7, sp, #0 + 8009f3e: 60f8 str r0, [r7, #12] + 8009f40: 60b9 str r1, [r7, #8] + 8009f42: 607a str r2, [r7, #4] assert_param(IS_TIM_PWM_MODE(sConfig->OCMode)); assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity)); assert_param(IS_TIM_FAST_STATE(sConfig->OCFastMode)); /* Process Locked */ __HAL_LOCK(htim); - 800a3a8: 68fb ldr r3, [r7, #12] - 800a3aa: f893 303c ldrb.w r3, [r3, #60] ; 0x3c - 800a3ae: 2b01 cmp r3, #1 - 800a3b0: d101 bne.n 800a3b6 - 800a3b2: 2302 movs r3, #2 - 800a3b4: e105 b.n 800a5c2 - 800a3b6: 68fb ldr r3, [r7, #12] - 800a3b8: 2201 movs r2, #1 - 800a3ba: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8009f44: 68fb ldr r3, [r7, #12] + 8009f46: f893 303c ldrb.w r3, [r3, #60] ; 0x3c + 8009f4a: 2b01 cmp r3, #1 + 8009f4c: d101 bne.n 8009f52 + 8009f4e: 2302 movs r3, #2 + 8009f50: e105 b.n 800a15e + 8009f52: 68fb ldr r3, [r7, #12] + 8009f54: 2201 movs r2, #1 + 8009f56: f883 203c strb.w r2, [r3, #60] ; 0x3c htim->State = HAL_TIM_STATE_BUSY; - 800a3be: 68fb ldr r3, [r7, #12] - 800a3c0: 2202 movs r2, #2 - 800a3c2: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8009f5a: 68fb ldr r3, [r7, #12] + 8009f5c: 2202 movs r2, #2 + 8009f5e: f883 203d strb.w r2, [r3, #61] ; 0x3d switch (Channel) - 800a3c6: 687b ldr r3, [r7, #4] - 800a3c8: 2b14 cmp r3, #20 - 800a3ca: f200 80f0 bhi.w 800a5ae - 800a3ce: a201 add r2, pc, #4 ; (adr r2, 800a3d4 ) - 800a3d0: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 800a3d4: 0800a429 .word 0x0800a429 - 800a3d8: 0800a5af .word 0x0800a5af - 800a3dc: 0800a5af .word 0x0800a5af - 800a3e0: 0800a5af .word 0x0800a5af - 800a3e4: 0800a469 .word 0x0800a469 - 800a3e8: 0800a5af .word 0x0800a5af - 800a3ec: 0800a5af .word 0x0800a5af - 800a3f0: 0800a5af .word 0x0800a5af - 800a3f4: 0800a4ab .word 0x0800a4ab - 800a3f8: 0800a5af .word 0x0800a5af - 800a3fc: 0800a5af .word 0x0800a5af - 800a400: 0800a5af .word 0x0800a5af - 800a404: 0800a4eb .word 0x0800a4eb - 800a408: 0800a5af .word 0x0800a5af - 800a40c: 0800a5af .word 0x0800a5af - 800a410: 0800a5af .word 0x0800a5af - 800a414: 0800a52d .word 0x0800a52d - 800a418: 0800a5af .word 0x0800a5af - 800a41c: 0800a5af .word 0x0800a5af - 800a420: 0800a5af .word 0x0800a5af - 800a424: 0800a56d .word 0x0800a56d + 8009f62: 687b ldr r3, [r7, #4] + 8009f64: 2b14 cmp r3, #20 + 8009f66: f200 80f0 bhi.w 800a14a + 8009f6a: a201 add r2, pc, #4 ; (adr r2, 8009f70 ) + 8009f6c: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8009f70: 08009fc5 .word 0x08009fc5 + 8009f74: 0800a14b .word 0x0800a14b + 8009f78: 0800a14b .word 0x0800a14b + 8009f7c: 0800a14b .word 0x0800a14b + 8009f80: 0800a005 .word 0x0800a005 + 8009f84: 0800a14b .word 0x0800a14b + 8009f88: 0800a14b .word 0x0800a14b + 8009f8c: 0800a14b .word 0x0800a14b + 8009f90: 0800a047 .word 0x0800a047 + 8009f94: 0800a14b .word 0x0800a14b + 8009f98: 0800a14b .word 0x0800a14b + 8009f9c: 0800a14b .word 0x0800a14b + 8009fa0: 0800a087 .word 0x0800a087 + 8009fa4: 0800a14b .word 0x0800a14b + 8009fa8: 0800a14b .word 0x0800a14b + 8009fac: 0800a14b .word 0x0800a14b + 8009fb0: 0800a0c9 .word 0x0800a0c9 + 8009fb4: 0800a14b .word 0x0800a14b + 8009fb8: 0800a14b .word 0x0800a14b + 8009fbc: 0800a14b .word 0x0800a14b + 8009fc0: 0800a109 .word 0x0800a109 { /* Check the parameters */ assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); /* Configure the Channel 1 in PWM mode */ TIM_OC1_SetConfig(htim->Instance, sConfig); - 800a428: 68fb ldr r3, [r7, #12] - 800a42a: 681b ldr r3, [r3, #0] - 800a42c: 68b9 ldr r1, [r7, #8] - 800a42e: 4618 mov r0, r3 - 800a430: f000 fa90 bl 800a954 + 8009fc4: 68fb ldr r3, [r7, #12] + 8009fc6: 681b ldr r3, [r3, #0] + 8009fc8: 68b9 ldr r1, [r7, #8] + 8009fca: 4618 mov r0, r3 + 8009fcc: f000 fa90 bl 800a4f0 /* Set the Preload enable bit for channel1 */ htim->Instance->CCMR1 |= TIM_CCMR1_OC1PE; - 800a434: 68fb ldr r3, [r7, #12] - 800a436: 681b ldr r3, [r3, #0] - 800a438: 699a ldr r2, [r3, #24] - 800a43a: 68fb ldr r3, [r7, #12] - 800a43c: 681b ldr r3, [r3, #0] - 800a43e: f042 0208 orr.w r2, r2, #8 - 800a442: 619a str r2, [r3, #24] + 8009fd0: 68fb ldr r3, [r7, #12] + 8009fd2: 681b ldr r3, [r3, #0] + 8009fd4: 699a ldr r2, [r3, #24] + 8009fd6: 68fb ldr r3, [r7, #12] + 8009fd8: 681b ldr r3, [r3, #0] + 8009fda: f042 0208 orr.w r2, r2, #8 + 8009fde: 619a str r2, [r3, #24] /* Configure the Output Fast mode */ htim->Instance->CCMR1 &= ~TIM_CCMR1_OC1FE; - 800a444: 68fb ldr r3, [r7, #12] - 800a446: 681b ldr r3, [r3, #0] - 800a448: 699a ldr r2, [r3, #24] - 800a44a: 68fb ldr r3, [r7, #12] - 800a44c: 681b ldr r3, [r3, #0] - 800a44e: f022 0204 bic.w r2, r2, #4 - 800a452: 619a str r2, [r3, #24] + 8009fe0: 68fb ldr r3, [r7, #12] + 8009fe2: 681b ldr r3, [r3, #0] + 8009fe4: 699a ldr r2, [r3, #24] + 8009fe6: 68fb ldr r3, [r7, #12] + 8009fe8: 681b ldr r3, [r3, #0] + 8009fea: f022 0204 bic.w r2, r2, #4 + 8009fee: 619a str r2, [r3, #24] htim->Instance->CCMR1 |= sConfig->OCFastMode; - 800a454: 68fb ldr r3, [r7, #12] - 800a456: 681b ldr r3, [r3, #0] - 800a458: 6999 ldr r1, [r3, #24] - 800a45a: 68bb ldr r3, [r7, #8] - 800a45c: 691a ldr r2, [r3, #16] - 800a45e: 68fb ldr r3, [r7, #12] - 800a460: 681b ldr r3, [r3, #0] - 800a462: 430a orrs r2, r1 - 800a464: 619a str r2, [r3, #24] + 8009ff0: 68fb ldr r3, [r7, #12] + 8009ff2: 681b ldr r3, [r3, #0] + 8009ff4: 6999 ldr r1, [r3, #24] + 8009ff6: 68bb ldr r3, [r7, #8] + 8009ff8: 691a ldr r2, [r3, #16] + 8009ffa: 68fb ldr r3, [r7, #12] + 8009ffc: 681b ldr r3, [r3, #0] + 8009ffe: 430a orrs r2, r1 + 800a000: 619a str r2, [r3, #24] break; - 800a466: e0a3 b.n 800a5b0 + 800a002: e0a3 b.n 800a14c { /* Check the parameters */ assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); /* Configure the Channel 2 in PWM mode */ TIM_OC2_SetConfig(htim->Instance, sConfig); - 800a468: 68fb ldr r3, [r7, #12] - 800a46a: 681b ldr r3, [r3, #0] - 800a46c: 68b9 ldr r1, [r7, #8] - 800a46e: 4618 mov r0, r3 - 800a470: f000 fae2 bl 800aa38 + 800a004: 68fb ldr r3, [r7, #12] + 800a006: 681b ldr r3, [r3, #0] + 800a008: 68b9 ldr r1, [r7, #8] + 800a00a: 4618 mov r0, r3 + 800a00c: f000 fae2 bl 800a5d4 /* Set the Preload enable bit for channel2 */ htim->Instance->CCMR1 |= TIM_CCMR1_OC2PE; - 800a474: 68fb ldr r3, [r7, #12] - 800a476: 681b ldr r3, [r3, #0] - 800a478: 699a ldr r2, [r3, #24] - 800a47a: 68fb ldr r3, [r7, #12] - 800a47c: 681b ldr r3, [r3, #0] - 800a47e: f442 6200 orr.w r2, r2, #2048 ; 0x800 - 800a482: 619a str r2, [r3, #24] + 800a010: 68fb ldr r3, [r7, #12] + 800a012: 681b ldr r3, [r3, #0] + 800a014: 699a ldr r2, [r3, #24] + 800a016: 68fb ldr r3, [r7, #12] + 800a018: 681b ldr r3, [r3, #0] + 800a01a: f442 6200 orr.w r2, r2, #2048 ; 0x800 + 800a01e: 619a str r2, [r3, #24] /* Configure the Output Fast mode */ htim->Instance->CCMR1 &= ~TIM_CCMR1_OC2FE; - 800a484: 68fb ldr r3, [r7, #12] - 800a486: 681b ldr r3, [r3, #0] - 800a488: 699a ldr r2, [r3, #24] - 800a48a: 68fb ldr r3, [r7, #12] - 800a48c: 681b ldr r3, [r3, #0] - 800a48e: f422 6280 bic.w r2, r2, #1024 ; 0x400 - 800a492: 619a str r2, [r3, #24] + 800a020: 68fb ldr r3, [r7, #12] + 800a022: 681b ldr r3, [r3, #0] + 800a024: 699a ldr r2, [r3, #24] + 800a026: 68fb ldr r3, [r7, #12] + 800a028: 681b ldr r3, [r3, #0] + 800a02a: f422 6280 bic.w r2, r2, #1024 ; 0x400 + 800a02e: 619a str r2, [r3, #24] htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U; - 800a494: 68fb ldr r3, [r7, #12] - 800a496: 681b ldr r3, [r3, #0] - 800a498: 6999 ldr r1, [r3, #24] - 800a49a: 68bb ldr r3, [r7, #8] - 800a49c: 691b ldr r3, [r3, #16] - 800a49e: 021a lsls r2, r3, #8 - 800a4a0: 68fb ldr r3, [r7, #12] - 800a4a2: 681b ldr r3, [r3, #0] - 800a4a4: 430a orrs r2, r1 - 800a4a6: 619a str r2, [r3, #24] + 800a030: 68fb ldr r3, [r7, #12] + 800a032: 681b ldr r3, [r3, #0] + 800a034: 6999 ldr r1, [r3, #24] + 800a036: 68bb ldr r3, [r7, #8] + 800a038: 691b ldr r3, [r3, #16] + 800a03a: 021a lsls r2, r3, #8 + 800a03c: 68fb ldr r3, [r7, #12] + 800a03e: 681b ldr r3, [r3, #0] + 800a040: 430a orrs r2, r1 + 800a042: 619a str r2, [r3, #24] break; - 800a4a8: e082 b.n 800a5b0 + 800a044: e082 b.n 800a14c { /* Check the parameters */ assert_param(IS_TIM_CC3_INSTANCE(htim->Instance)); /* Configure the Channel 3 in PWM mode */ TIM_OC3_SetConfig(htim->Instance, sConfig); - 800a4aa: 68fb ldr r3, [r7, #12] - 800a4ac: 681b ldr r3, [r3, #0] - 800a4ae: 68b9 ldr r1, [r7, #8] - 800a4b0: 4618 mov r0, r3 - 800a4b2: f000 fb39 bl 800ab28 + 800a046: 68fb ldr r3, [r7, #12] + 800a048: 681b ldr r3, [r3, #0] + 800a04a: 68b9 ldr r1, [r7, #8] + 800a04c: 4618 mov r0, r3 + 800a04e: f000 fb39 bl 800a6c4 /* Set the Preload enable bit for channel3 */ htim->Instance->CCMR2 |= TIM_CCMR2_OC3PE; - 800a4b6: 68fb ldr r3, [r7, #12] - 800a4b8: 681b ldr r3, [r3, #0] - 800a4ba: 69da ldr r2, [r3, #28] - 800a4bc: 68fb ldr r3, [r7, #12] - 800a4be: 681b ldr r3, [r3, #0] - 800a4c0: f042 0208 orr.w r2, r2, #8 - 800a4c4: 61da str r2, [r3, #28] + 800a052: 68fb ldr r3, [r7, #12] + 800a054: 681b ldr r3, [r3, #0] + 800a056: 69da ldr r2, [r3, #28] + 800a058: 68fb ldr r3, [r7, #12] + 800a05a: 681b ldr r3, [r3, #0] + 800a05c: f042 0208 orr.w r2, r2, #8 + 800a060: 61da str r2, [r3, #28] /* Configure the Output Fast mode */ htim->Instance->CCMR2 &= ~TIM_CCMR2_OC3FE; - 800a4c6: 68fb ldr r3, [r7, #12] - 800a4c8: 681b ldr r3, [r3, #0] - 800a4ca: 69da ldr r2, [r3, #28] - 800a4cc: 68fb ldr r3, [r7, #12] - 800a4ce: 681b ldr r3, [r3, #0] - 800a4d0: f022 0204 bic.w r2, r2, #4 - 800a4d4: 61da str r2, [r3, #28] + 800a062: 68fb ldr r3, [r7, #12] + 800a064: 681b ldr r3, [r3, #0] + 800a066: 69da ldr r2, [r3, #28] + 800a068: 68fb ldr r3, [r7, #12] + 800a06a: 681b ldr r3, [r3, #0] + 800a06c: f022 0204 bic.w r2, r2, #4 + 800a070: 61da str r2, [r3, #28] htim->Instance->CCMR2 |= sConfig->OCFastMode; - 800a4d6: 68fb ldr r3, [r7, #12] - 800a4d8: 681b ldr r3, [r3, #0] - 800a4da: 69d9 ldr r1, [r3, #28] - 800a4dc: 68bb ldr r3, [r7, #8] - 800a4de: 691a ldr r2, [r3, #16] - 800a4e0: 68fb ldr r3, [r7, #12] - 800a4e2: 681b ldr r3, [r3, #0] - 800a4e4: 430a orrs r2, r1 - 800a4e6: 61da str r2, [r3, #28] + 800a072: 68fb ldr r3, [r7, #12] + 800a074: 681b ldr r3, [r3, #0] + 800a076: 69d9 ldr r1, [r3, #28] + 800a078: 68bb ldr r3, [r7, #8] + 800a07a: 691a ldr r2, [r3, #16] + 800a07c: 68fb ldr r3, [r7, #12] + 800a07e: 681b ldr r3, [r3, #0] + 800a080: 430a orrs r2, r1 + 800a082: 61da str r2, [r3, #28] break; - 800a4e8: e062 b.n 800a5b0 + 800a084: e062 b.n 800a14c { /* Check the parameters */ assert_param(IS_TIM_CC4_INSTANCE(htim->Instance)); /* Configure the Channel 4 in PWM mode */ TIM_OC4_SetConfig(htim->Instance, sConfig); - 800a4ea: 68fb ldr r3, [r7, #12] - 800a4ec: 681b ldr r3, [r3, #0] - 800a4ee: 68b9 ldr r1, [r7, #8] - 800a4f0: 4618 mov r0, r3 - 800a4f2: f000 fb8f bl 800ac14 + 800a086: 68fb ldr r3, [r7, #12] + 800a088: 681b ldr r3, [r3, #0] + 800a08a: 68b9 ldr r1, [r7, #8] + 800a08c: 4618 mov r0, r3 + 800a08e: f000 fb8f bl 800a7b0 /* Set the Preload enable bit for channel4 */ htim->Instance->CCMR2 |= TIM_CCMR2_OC4PE; - 800a4f6: 68fb ldr r3, [r7, #12] - 800a4f8: 681b ldr r3, [r3, #0] - 800a4fa: 69da ldr r2, [r3, #28] - 800a4fc: 68fb ldr r3, [r7, #12] - 800a4fe: 681b ldr r3, [r3, #0] - 800a500: f442 6200 orr.w r2, r2, #2048 ; 0x800 - 800a504: 61da str r2, [r3, #28] + 800a092: 68fb ldr r3, [r7, #12] + 800a094: 681b ldr r3, [r3, #0] + 800a096: 69da ldr r2, [r3, #28] + 800a098: 68fb ldr r3, [r7, #12] + 800a09a: 681b ldr r3, [r3, #0] + 800a09c: f442 6200 orr.w r2, r2, #2048 ; 0x800 + 800a0a0: 61da str r2, [r3, #28] /* Configure the Output Fast mode */ htim->Instance->CCMR2 &= ~TIM_CCMR2_OC4FE; - 800a506: 68fb ldr r3, [r7, #12] - 800a508: 681b ldr r3, [r3, #0] - 800a50a: 69da ldr r2, [r3, #28] - 800a50c: 68fb ldr r3, [r7, #12] - 800a50e: 681b ldr r3, [r3, #0] - 800a510: f422 6280 bic.w r2, r2, #1024 ; 0x400 - 800a514: 61da str r2, [r3, #28] + 800a0a2: 68fb ldr r3, [r7, #12] + 800a0a4: 681b ldr r3, [r3, #0] + 800a0a6: 69da ldr r2, [r3, #28] + 800a0a8: 68fb ldr r3, [r7, #12] + 800a0aa: 681b ldr r3, [r3, #0] + 800a0ac: f422 6280 bic.w r2, r2, #1024 ; 0x400 + 800a0b0: 61da str r2, [r3, #28] htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U; - 800a516: 68fb ldr r3, [r7, #12] - 800a518: 681b ldr r3, [r3, #0] - 800a51a: 69d9 ldr r1, [r3, #28] - 800a51c: 68bb ldr r3, [r7, #8] - 800a51e: 691b ldr r3, [r3, #16] - 800a520: 021a lsls r2, r3, #8 - 800a522: 68fb ldr r3, [r7, #12] - 800a524: 681b ldr r3, [r3, #0] - 800a526: 430a orrs r2, r1 - 800a528: 61da str r2, [r3, #28] + 800a0b2: 68fb ldr r3, [r7, #12] + 800a0b4: 681b ldr r3, [r3, #0] + 800a0b6: 69d9 ldr r1, [r3, #28] + 800a0b8: 68bb ldr r3, [r7, #8] + 800a0ba: 691b ldr r3, [r3, #16] + 800a0bc: 021a lsls r2, r3, #8 + 800a0be: 68fb ldr r3, [r7, #12] + 800a0c0: 681b ldr r3, [r3, #0] + 800a0c2: 430a orrs r2, r1 + 800a0c4: 61da str r2, [r3, #28] break; - 800a52a: e041 b.n 800a5b0 + 800a0c6: e041 b.n 800a14c { /* Check the parameters */ assert_param(IS_TIM_CC5_INSTANCE(htim->Instance)); /* Configure the Channel 5 in PWM mode */ TIM_OC5_SetConfig(htim->Instance, sConfig); - 800a52c: 68fb ldr r3, [r7, #12] - 800a52e: 681b ldr r3, [r3, #0] - 800a530: 68b9 ldr r1, [r7, #8] - 800a532: 4618 mov r0, r3 - 800a534: f000 fbc6 bl 800acc4 + 800a0c8: 68fb ldr r3, [r7, #12] + 800a0ca: 681b ldr r3, [r3, #0] + 800a0cc: 68b9 ldr r1, [r7, #8] + 800a0ce: 4618 mov r0, r3 + 800a0d0: f000 fbc6 bl 800a860 /* Set the Preload enable bit for channel5*/ htim->Instance->CCMR3 |= TIM_CCMR3_OC5PE; - 800a538: 68fb ldr r3, [r7, #12] - 800a53a: 681b ldr r3, [r3, #0] - 800a53c: 6d5a ldr r2, [r3, #84] ; 0x54 - 800a53e: 68fb ldr r3, [r7, #12] - 800a540: 681b ldr r3, [r3, #0] - 800a542: f042 0208 orr.w r2, r2, #8 - 800a546: 655a str r2, [r3, #84] ; 0x54 + 800a0d4: 68fb ldr r3, [r7, #12] + 800a0d6: 681b ldr r3, [r3, #0] + 800a0d8: 6d5a ldr r2, [r3, #84] ; 0x54 + 800a0da: 68fb ldr r3, [r7, #12] + 800a0dc: 681b ldr r3, [r3, #0] + 800a0de: f042 0208 orr.w r2, r2, #8 + 800a0e2: 655a str r2, [r3, #84] ; 0x54 /* Configure the Output Fast mode */ htim->Instance->CCMR3 &= ~TIM_CCMR3_OC5FE; - 800a548: 68fb ldr r3, [r7, #12] - 800a54a: 681b ldr r3, [r3, #0] - 800a54c: 6d5a ldr r2, [r3, #84] ; 0x54 - 800a54e: 68fb ldr r3, [r7, #12] - 800a550: 681b ldr r3, [r3, #0] - 800a552: f022 0204 bic.w r2, r2, #4 - 800a556: 655a str r2, [r3, #84] ; 0x54 + 800a0e4: 68fb ldr r3, [r7, #12] + 800a0e6: 681b ldr r3, [r3, #0] + 800a0e8: 6d5a ldr r2, [r3, #84] ; 0x54 + 800a0ea: 68fb ldr r3, [r7, #12] + 800a0ec: 681b ldr r3, [r3, #0] + 800a0ee: f022 0204 bic.w r2, r2, #4 + 800a0f2: 655a str r2, [r3, #84] ; 0x54 htim->Instance->CCMR3 |= sConfig->OCFastMode; - 800a558: 68fb ldr r3, [r7, #12] - 800a55a: 681b ldr r3, [r3, #0] - 800a55c: 6d59 ldr r1, [r3, #84] ; 0x54 - 800a55e: 68bb ldr r3, [r7, #8] - 800a560: 691a ldr r2, [r3, #16] - 800a562: 68fb ldr r3, [r7, #12] - 800a564: 681b ldr r3, [r3, #0] - 800a566: 430a orrs r2, r1 - 800a568: 655a str r2, [r3, #84] ; 0x54 + 800a0f4: 68fb ldr r3, [r7, #12] + 800a0f6: 681b ldr r3, [r3, #0] + 800a0f8: 6d59 ldr r1, [r3, #84] ; 0x54 + 800a0fa: 68bb ldr r3, [r7, #8] + 800a0fc: 691a ldr r2, [r3, #16] + 800a0fe: 68fb ldr r3, [r7, #12] + 800a100: 681b ldr r3, [r3, #0] + 800a102: 430a orrs r2, r1 + 800a104: 655a str r2, [r3, #84] ; 0x54 break; - 800a56a: e021 b.n 800a5b0 + 800a106: e021 b.n 800a14c { /* Check the parameters */ assert_param(IS_TIM_CC6_INSTANCE(htim->Instance)); /* Configure the Channel 6 in PWM mode */ TIM_OC6_SetConfig(htim->Instance, sConfig); - 800a56c: 68fb ldr r3, [r7, #12] - 800a56e: 681b ldr r3, [r3, #0] - 800a570: 68b9 ldr r1, [r7, #8] - 800a572: 4618 mov r0, r3 - 800a574: f000 fbf8 bl 800ad68 + 800a108: 68fb ldr r3, [r7, #12] + 800a10a: 681b ldr r3, [r3, #0] + 800a10c: 68b9 ldr r1, [r7, #8] + 800a10e: 4618 mov r0, r3 + 800a110: f000 fbf8 bl 800a904 /* Set the Preload enable bit for channel6 */ htim->Instance->CCMR3 |= TIM_CCMR3_OC6PE; - 800a578: 68fb ldr r3, [r7, #12] - 800a57a: 681b ldr r3, [r3, #0] - 800a57c: 6d5a ldr r2, [r3, #84] ; 0x54 - 800a57e: 68fb ldr r3, [r7, #12] - 800a580: 681b ldr r3, [r3, #0] - 800a582: f442 6200 orr.w r2, r2, #2048 ; 0x800 - 800a586: 655a str r2, [r3, #84] ; 0x54 + 800a114: 68fb ldr r3, [r7, #12] + 800a116: 681b ldr r3, [r3, #0] + 800a118: 6d5a ldr r2, [r3, #84] ; 0x54 + 800a11a: 68fb ldr r3, [r7, #12] + 800a11c: 681b ldr r3, [r3, #0] + 800a11e: f442 6200 orr.w r2, r2, #2048 ; 0x800 + 800a122: 655a str r2, [r3, #84] ; 0x54 /* Configure the Output Fast mode */ htim->Instance->CCMR3 &= ~TIM_CCMR3_OC6FE; - 800a588: 68fb ldr r3, [r7, #12] - 800a58a: 681b ldr r3, [r3, #0] - 800a58c: 6d5a ldr r2, [r3, #84] ; 0x54 - 800a58e: 68fb ldr r3, [r7, #12] - 800a590: 681b ldr r3, [r3, #0] - 800a592: f422 6280 bic.w r2, r2, #1024 ; 0x400 - 800a596: 655a str r2, [r3, #84] ; 0x54 + 800a124: 68fb ldr r3, [r7, #12] + 800a126: 681b ldr r3, [r3, #0] + 800a128: 6d5a ldr r2, [r3, #84] ; 0x54 + 800a12a: 68fb ldr r3, [r7, #12] + 800a12c: 681b ldr r3, [r3, #0] + 800a12e: f422 6280 bic.w r2, r2, #1024 ; 0x400 + 800a132: 655a str r2, [r3, #84] ; 0x54 htim->Instance->CCMR3 |= sConfig->OCFastMode << 8U; - 800a598: 68fb ldr r3, [r7, #12] - 800a59a: 681b ldr r3, [r3, #0] - 800a59c: 6d59 ldr r1, [r3, #84] ; 0x54 - 800a59e: 68bb ldr r3, [r7, #8] - 800a5a0: 691b ldr r3, [r3, #16] - 800a5a2: 021a lsls r2, r3, #8 - 800a5a4: 68fb ldr r3, [r7, #12] - 800a5a6: 681b ldr r3, [r3, #0] - 800a5a8: 430a orrs r2, r1 - 800a5aa: 655a str r2, [r3, #84] ; 0x54 + 800a134: 68fb ldr r3, [r7, #12] + 800a136: 681b ldr r3, [r3, #0] + 800a138: 6d59 ldr r1, [r3, #84] ; 0x54 + 800a13a: 68bb ldr r3, [r7, #8] + 800a13c: 691b ldr r3, [r3, #16] + 800a13e: 021a lsls r2, r3, #8 + 800a140: 68fb ldr r3, [r7, #12] + 800a142: 681b ldr r3, [r3, #0] + 800a144: 430a orrs r2, r1 + 800a146: 655a str r2, [r3, #84] ; 0x54 break; - 800a5ac: e000 b.n 800a5b0 + 800a148: e000 b.n 800a14c } default: break; - 800a5ae: bf00 nop + 800a14a: bf00 nop } htim->State = HAL_TIM_STATE_READY; - 800a5b0: 68fb ldr r3, [r7, #12] - 800a5b2: 2201 movs r2, #1 - 800a5b4: f883 203d strb.w r2, [r3, #61] ; 0x3d + 800a14c: 68fb ldr r3, [r7, #12] + 800a14e: 2201 movs r2, #1 + 800a150: f883 203d strb.w r2, [r3, #61] ; 0x3d __HAL_UNLOCK(htim); - 800a5b8: 68fb ldr r3, [r7, #12] - 800a5ba: 2200 movs r2, #0 - 800a5bc: f883 203c strb.w r2, [r3, #60] ; 0x3c + 800a154: 68fb ldr r3, [r7, #12] + 800a156: 2200 movs r2, #0 + 800a158: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_OK; - 800a5c0: 2300 movs r3, #0 + 800a15c: 2300 movs r3, #0 } - 800a5c2: 4618 mov r0, r3 - 800a5c4: 3710 adds r7, #16 - 800a5c6: 46bd mov sp, r7 - 800a5c8: bd80 pop {r7, pc} - 800a5ca: bf00 nop + 800a15e: 4618 mov r0, r3 + 800a160: 3710 adds r7, #16 + 800a162: 46bd mov sp, r7 + 800a164: bd80 pop {r7, pc} + 800a166: bf00 nop -0800a5cc : +0800a168 : * @param sClockSourceConfig pointer to a TIM_ClockConfigTypeDef structure that * contains the clock source information for the TIM peripheral. * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, TIM_ClockConfigTypeDef *sClockSourceConfig) { - 800a5cc: b580 push {r7, lr} - 800a5ce: b084 sub sp, #16 - 800a5d0: af00 add r7, sp, #0 - 800a5d2: 6078 str r0, [r7, #4] - 800a5d4: 6039 str r1, [r7, #0] + 800a168: b580 push {r7, lr} + 800a16a: b084 sub sp, #16 + 800a16c: af00 add r7, sp, #0 + 800a16e: 6078 str r0, [r7, #4] + 800a170: 6039 str r1, [r7, #0] uint32_t tmpsmcr; /* Process Locked */ __HAL_LOCK(htim); - 800a5d6: 687b ldr r3, [r7, #4] - 800a5d8: f893 303c ldrb.w r3, [r3, #60] ; 0x3c - 800a5dc: 2b01 cmp r3, #1 - 800a5de: d101 bne.n 800a5e4 - 800a5e0: 2302 movs r3, #2 - 800a5e2: e0a6 b.n 800a732 - 800a5e4: 687b ldr r3, [r7, #4] - 800a5e6: 2201 movs r2, #1 - 800a5e8: f883 203c strb.w r2, [r3, #60] ; 0x3c + 800a172: 687b ldr r3, [r7, #4] + 800a174: f893 303c ldrb.w r3, [r3, #60] ; 0x3c + 800a178: 2b01 cmp r3, #1 + 800a17a: d101 bne.n 800a180 + 800a17c: 2302 movs r3, #2 + 800a17e: e0a6 b.n 800a2ce + 800a180: 687b ldr r3, [r7, #4] + 800a182: 2201 movs r2, #1 + 800a184: f883 203c strb.w r2, [r3, #60] ; 0x3c htim->State = HAL_TIM_STATE_BUSY; - 800a5ec: 687b ldr r3, [r7, #4] - 800a5ee: 2202 movs r2, #2 - 800a5f0: f883 203d strb.w r2, [r3, #61] ; 0x3d + 800a188: 687b ldr r3, [r7, #4] + 800a18a: 2202 movs r2, #2 + 800a18c: f883 203d strb.w r2, [r3, #61] ; 0x3d /* Check the parameters */ assert_param(IS_TIM_CLOCKSOURCE(sClockSourceConfig->ClockSource)); /* Reset the SMS, TS, ECE, ETPS and ETRF bits */ tmpsmcr = htim->Instance->SMCR; - 800a5f4: 687b ldr r3, [r7, #4] - 800a5f6: 681b ldr r3, [r3, #0] - 800a5f8: 689b ldr r3, [r3, #8] - 800a5fa: 60fb str r3, [r7, #12] + 800a190: 687b ldr r3, [r7, #4] + 800a192: 681b ldr r3, [r3, #0] + 800a194: 689b ldr r3, [r3, #8] + 800a196: 60fb str r3, [r7, #12] tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); - 800a5fc: 68fa ldr r2, [r7, #12] - 800a5fe: 4b4f ldr r3, [pc, #316] ; (800a73c ) - 800a600: 4013 ands r3, r2 - 800a602: 60fb str r3, [r7, #12] + 800a198: 68fa ldr r2, [r7, #12] + 800a19a: 4b4f ldr r3, [pc, #316] ; (800a2d8 ) + 800a19c: 4013 ands r3, r2 + 800a19e: 60fb str r3, [r7, #12] tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP); - 800a604: 68fb ldr r3, [r7, #12] - 800a606: f423 437f bic.w r3, r3, #65280 ; 0xff00 - 800a60a: 60fb str r3, [r7, #12] + 800a1a0: 68fb ldr r3, [r7, #12] + 800a1a2: f423 437f bic.w r3, r3, #65280 ; 0xff00 + 800a1a6: 60fb str r3, [r7, #12] htim->Instance->SMCR = tmpsmcr; - 800a60c: 687b ldr r3, [r7, #4] - 800a60e: 681b ldr r3, [r3, #0] - 800a610: 68fa ldr r2, [r7, #12] - 800a612: 609a str r2, [r3, #8] + 800a1a8: 687b ldr r3, [r7, #4] + 800a1aa: 681b ldr r3, [r3, #0] + 800a1ac: 68fa ldr r2, [r7, #12] + 800a1ae: 609a str r2, [r3, #8] switch (sClockSourceConfig->ClockSource) - 800a614: 683b ldr r3, [r7, #0] - 800a616: 681b ldr r3, [r3, #0] - 800a618: 2b40 cmp r3, #64 ; 0x40 - 800a61a: d067 beq.n 800a6ec - 800a61c: 2b40 cmp r3, #64 ; 0x40 - 800a61e: d80b bhi.n 800a638 - 800a620: 2b10 cmp r3, #16 - 800a622: d073 beq.n 800a70c - 800a624: 2b10 cmp r3, #16 - 800a626: d802 bhi.n 800a62e - 800a628: 2b00 cmp r3, #0 - 800a62a: d06f beq.n 800a70c + 800a1b0: 683b ldr r3, [r7, #0] + 800a1b2: 681b ldr r3, [r3, #0] + 800a1b4: 2b40 cmp r3, #64 ; 0x40 + 800a1b6: d067 beq.n 800a288 + 800a1b8: 2b40 cmp r3, #64 ; 0x40 + 800a1ba: d80b bhi.n 800a1d4 + 800a1bc: 2b10 cmp r3, #16 + 800a1be: d073 beq.n 800a2a8 + 800a1c0: 2b10 cmp r3, #16 + 800a1c2: d802 bhi.n 800a1ca + 800a1c4: 2b00 cmp r3, #0 + 800a1c6: d06f beq.n 800a2a8 TIM_ITRx_SetConfig(htim->Instance, sClockSourceConfig->ClockSource); break; } default: break; - 800a62c: e078 b.n 800a720 + 800a1c8: e078 b.n 800a2bc switch (sClockSourceConfig->ClockSource) - 800a62e: 2b20 cmp r3, #32 - 800a630: d06c beq.n 800a70c - 800a632: 2b30 cmp r3, #48 ; 0x30 - 800a634: d06a beq.n 800a70c + 800a1ca: 2b20 cmp r3, #32 + 800a1cc: d06c beq.n 800a2a8 + 800a1ce: 2b30 cmp r3, #48 ; 0x30 + 800a1d0: d06a beq.n 800a2a8 break; - 800a636: e073 b.n 800a720 + 800a1d2: e073 b.n 800a2bc switch (sClockSourceConfig->ClockSource) - 800a638: 2b70 cmp r3, #112 ; 0x70 - 800a63a: d00d beq.n 800a658 - 800a63c: 2b70 cmp r3, #112 ; 0x70 - 800a63e: d804 bhi.n 800a64a - 800a640: 2b50 cmp r3, #80 ; 0x50 - 800a642: d033 beq.n 800a6ac - 800a644: 2b60 cmp r3, #96 ; 0x60 - 800a646: d041 beq.n 800a6cc + 800a1d4: 2b70 cmp r3, #112 ; 0x70 + 800a1d6: d00d beq.n 800a1f4 + 800a1d8: 2b70 cmp r3, #112 ; 0x70 + 800a1da: d804 bhi.n 800a1e6 + 800a1dc: 2b50 cmp r3, #80 ; 0x50 + 800a1de: d033 beq.n 800a248 + 800a1e0: 2b60 cmp r3, #96 ; 0x60 + 800a1e2: d041 beq.n 800a268 break; - 800a648: e06a b.n 800a720 + 800a1e4: e06a b.n 800a2bc switch (sClockSourceConfig->ClockSource) - 800a64a: f5b3 5f80 cmp.w r3, #4096 ; 0x1000 - 800a64e: d066 beq.n 800a71e - 800a650: f5b3 5f00 cmp.w r3, #8192 ; 0x2000 - 800a654: d017 beq.n 800a686 + 800a1e6: f5b3 5f80 cmp.w r3, #4096 ; 0x1000 + 800a1ea: d066 beq.n 800a2ba + 800a1ec: f5b3 5f00 cmp.w r3, #8192 ; 0x2000 + 800a1f0: d017 beq.n 800a222 break; - 800a656: e063 b.n 800a720 + 800a1f2: e063 b.n 800a2bc TIM_ETR_SetConfig(htim->Instance, - 800a658: 687b ldr r3, [r7, #4] - 800a65a: 6818 ldr r0, [r3, #0] - 800a65c: 683b ldr r3, [r7, #0] - 800a65e: 6899 ldr r1, [r3, #8] - 800a660: 683b ldr r3, [r7, #0] - 800a662: 685a ldr r2, [r3, #4] - 800a664: 683b ldr r3, [r7, #0] - 800a666: 68db ldr r3, [r3, #12] - 800a668: f000 fcd4 bl 800b014 + 800a1f4: 687b ldr r3, [r7, #4] + 800a1f6: 6818 ldr r0, [r3, #0] + 800a1f8: 683b ldr r3, [r7, #0] + 800a1fa: 6899 ldr r1, [r3, #8] + 800a1fc: 683b ldr r3, [r7, #0] + 800a1fe: 685a ldr r2, [r3, #4] + 800a200: 683b ldr r3, [r7, #0] + 800a202: 68db ldr r3, [r3, #12] + 800a204: f000 fcd4 bl 800abb0 tmpsmcr = htim->Instance->SMCR; - 800a66c: 687b ldr r3, [r7, #4] - 800a66e: 681b ldr r3, [r3, #0] - 800a670: 689b ldr r3, [r3, #8] - 800a672: 60fb str r3, [r7, #12] + 800a208: 687b ldr r3, [r7, #4] + 800a20a: 681b ldr r3, [r3, #0] + 800a20c: 689b ldr r3, [r3, #8] + 800a20e: 60fb str r3, [r7, #12] tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1); - 800a674: 68fb ldr r3, [r7, #12] - 800a676: f043 0377 orr.w r3, r3, #119 ; 0x77 - 800a67a: 60fb str r3, [r7, #12] + 800a210: 68fb ldr r3, [r7, #12] + 800a212: f043 0377 orr.w r3, r3, #119 ; 0x77 + 800a216: 60fb str r3, [r7, #12] htim->Instance->SMCR = tmpsmcr; - 800a67c: 687b ldr r3, [r7, #4] - 800a67e: 681b ldr r3, [r3, #0] - 800a680: 68fa ldr r2, [r7, #12] - 800a682: 609a str r2, [r3, #8] + 800a218: 687b ldr r3, [r7, #4] + 800a21a: 681b ldr r3, [r3, #0] + 800a21c: 68fa ldr r2, [r7, #12] + 800a21e: 609a str r2, [r3, #8] break; - 800a684: e04c b.n 800a720 + 800a220: e04c b.n 800a2bc TIM_ETR_SetConfig(htim->Instance, - 800a686: 687b ldr r3, [r7, #4] - 800a688: 6818 ldr r0, [r3, #0] - 800a68a: 683b ldr r3, [r7, #0] - 800a68c: 6899 ldr r1, [r3, #8] - 800a68e: 683b ldr r3, [r7, #0] - 800a690: 685a ldr r2, [r3, #4] - 800a692: 683b ldr r3, [r7, #0] - 800a694: 68db ldr r3, [r3, #12] - 800a696: f000 fcbd bl 800b014 + 800a222: 687b ldr r3, [r7, #4] + 800a224: 6818 ldr r0, [r3, #0] + 800a226: 683b ldr r3, [r7, #0] + 800a228: 6899 ldr r1, [r3, #8] + 800a22a: 683b ldr r3, [r7, #0] + 800a22c: 685a ldr r2, [r3, #4] + 800a22e: 683b ldr r3, [r7, #0] + 800a230: 68db ldr r3, [r3, #12] + 800a232: f000 fcbd bl 800abb0 htim->Instance->SMCR |= TIM_SMCR_ECE; - 800a69a: 687b ldr r3, [r7, #4] - 800a69c: 681b ldr r3, [r3, #0] - 800a69e: 689a ldr r2, [r3, #8] - 800a6a0: 687b ldr r3, [r7, #4] - 800a6a2: 681b ldr r3, [r3, #0] - 800a6a4: f442 4280 orr.w r2, r2, #16384 ; 0x4000 - 800a6a8: 609a str r2, [r3, #8] + 800a236: 687b ldr r3, [r7, #4] + 800a238: 681b ldr r3, [r3, #0] + 800a23a: 689a ldr r2, [r3, #8] + 800a23c: 687b ldr r3, [r7, #4] + 800a23e: 681b ldr r3, [r3, #0] + 800a240: f442 4280 orr.w r2, r2, #16384 ; 0x4000 + 800a244: 609a str r2, [r3, #8] break; - 800a6aa: e039 b.n 800a720 + 800a246: e039 b.n 800a2bc TIM_TI1_ConfigInputStage(htim->Instance, - 800a6ac: 687b ldr r3, [r7, #4] - 800a6ae: 6818 ldr r0, [r3, #0] - 800a6b0: 683b ldr r3, [r7, #0] - 800a6b2: 6859 ldr r1, [r3, #4] - 800a6b4: 683b ldr r3, [r7, #0] - 800a6b6: 68db ldr r3, [r3, #12] - 800a6b8: 461a mov r2, r3 - 800a6ba: f000 fc31 bl 800af20 + 800a248: 687b ldr r3, [r7, #4] + 800a24a: 6818 ldr r0, [r3, #0] + 800a24c: 683b ldr r3, [r7, #0] + 800a24e: 6859 ldr r1, [r3, #4] + 800a250: 683b ldr r3, [r7, #0] + 800a252: 68db ldr r3, [r3, #12] + 800a254: 461a mov r2, r3 + 800a256: f000 fc31 bl 800aabc TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI1); - 800a6be: 687b ldr r3, [r7, #4] - 800a6c0: 681b ldr r3, [r3, #0] - 800a6c2: 2150 movs r1, #80 ; 0x50 - 800a6c4: 4618 mov r0, r3 - 800a6c6: f000 fc8a bl 800afde + 800a25a: 687b ldr r3, [r7, #4] + 800a25c: 681b ldr r3, [r3, #0] + 800a25e: 2150 movs r1, #80 ; 0x50 + 800a260: 4618 mov r0, r3 + 800a262: f000 fc8a bl 800ab7a break; - 800a6ca: e029 b.n 800a720 + 800a266: e029 b.n 800a2bc TIM_TI2_ConfigInputStage(htim->Instance, - 800a6cc: 687b ldr r3, [r7, #4] - 800a6ce: 6818 ldr r0, [r3, #0] - 800a6d0: 683b ldr r3, [r7, #0] - 800a6d2: 6859 ldr r1, [r3, #4] - 800a6d4: 683b ldr r3, [r7, #0] - 800a6d6: 68db ldr r3, [r3, #12] - 800a6d8: 461a mov r2, r3 - 800a6da: f000 fc50 bl 800af7e + 800a268: 687b ldr r3, [r7, #4] + 800a26a: 6818 ldr r0, [r3, #0] + 800a26c: 683b ldr r3, [r7, #0] + 800a26e: 6859 ldr r1, [r3, #4] + 800a270: 683b ldr r3, [r7, #0] + 800a272: 68db ldr r3, [r3, #12] + 800a274: 461a mov r2, r3 + 800a276: f000 fc50 bl 800ab1a TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI2); - 800a6de: 687b ldr r3, [r7, #4] - 800a6e0: 681b ldr r3, [r3, #0] - 800a6e2: 2160 movs r1, #96 ; 0x60 - 800a6e4: 4618 mov r0, r3 - 800a6e6: f000 fc7a bl 800afde + 800a27a: 687b ldr r3, [r7, #4] + 800a27c: 681b ldr r3, [r3, #0] + 800a27e: 2160 movs r1, #96 ; 0x60 + 800a280: 4618 mov r0, r3 + 800a282: f000 fc7a bl 800ab7a break; - 800a6ea: e019 b.n 800a720 + 800a286: e019 b.n 800a2bc TIM_TI1_ConfigInputStage(htim->Instance, - 800a6ec: 687b ldr r3, [r7, #4] - 800a6ee: 6818 ldr r0, [r3, #0] - 800a6f0: 683b ldr r3, [r7, #0] - 800a6f2: 6859 ldr r1, [r3, #4] - 800a6f4: 683b ldr r3, [r7, #0] - 800a6f6: 68db ldr r3, [r3, #12] - 800a6f8: 461a mov r2, r3 - 800a6fa: f000 fc11 bl 800af20 + 800a288: 687b ldr r3, [r7, #4] + 800a28a: 6818 ldr r0, [r3, #0] + 800a28c: 683b ldr r3, [r7, #0] + 800a28e: 6859 ldr r1, [r3, #4] + 800a290: 683b ldr r3, [r7, #0] + 800a292: 68db ldr r3, [r3, #12] + 800a294: 461a mov r2, r3 + 800a296: f000 fc11 bl 800aabc TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI1ED); - 800a6fe: 687b ldr r3, [r7, #4] - 800a700: 681b ldr r3, [r3, #0] - 800a702: 2140 movs r1, #64 ; 0x40 - 800a704: 4618 mov r0, r3 - 800a706: f000 fc6a bl 800afde + 800a29a: 687b ldr r3, [r7, #4] + 800a29c: 681b ldr r3, [r3, #0] + 800a29e: 2140 movs r1, #64 ; 0x40 + 800a2a0: 4618 mov r0, r3 + 800a2a2: f000 fc6a bl 800ab7a break; - 800a70a: e009 b.n 800a720 + 800a2a6: e009 b.n 800a2bc TIM_ITRx_SetConfig(htim->Instance, sClockSourceConfig->ClockSource); - 800a70c: 687b ldr r3, [r7, #4] - 800a70e: 681a ldr r2, [r3, #0] - 800a710: 683b ldr r3, [r7, #0] - 800a712: 681b ldr r3, [r3, #0] - 800a714: 4619 mov r1, r3 - 800a716: 4610 mov r0, r2 - 800a718: f000 fc61 bl 800afde + 800a2a8: 687b ldr r3, [r7, #4] + 800a2aa: 681a ldr r2, [r3, #0] + 800a2ac: 683b ldr r3, [r7, #0] + 800a2ae: 681b ldr r3, [r3, #0] + 800a2b0: 4619 mov r1, r3 + 800a2b2: 4610 mov r0, r2 + 800a2b4: f000 fc61 bl 800ab7a break; - 800a71c: e000 b.n 800a720 + 800a2b8: e000 b.n 800a2bc break; - 800a71e: bf00 nop + 800a2ba: bf00 nop } htim->State = HAL_TIM_STATE_READY; - 800a720: 687b ldr r3, [r7, #4] - 800a722: 2201 movs r2, #1 - 800a724: f883 203d strb.w r2, [r3, #61] ; 0x3d + 800a2bc: 687b ldr r3, [r7, #4] + 800a2be: 2201 movs r2, #1 + 800a2c0: f883 203d strb.w r2, [r3, #61] ; 0x3d __HAL_UNLOCK(htim); - 800a728: 687b ldr r3, [r7, #4] - 800a72a: 2200 movs r2, #0 - 800a72c: f883 203c strb.w r2, [r3, #60] ; 0x3c + 800a2c4: 687b ldr r3, [r7, #4] + 800a2c6: 2200 movs r2, #0 + 800a2c8: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_OK; - 800a730: 2300 movs r3, #0 + 800a2cc: 2300 movs r3, #0 } - 800a732: 4618 mov r0, r3 - 800a734: 3710 adds r7, #16 - 800a736: 46bd mov sp, r7 - 800a738: bd80 pop {r7, pc} - 800a73a: bf00 nop - 800a73c: fffeff88 .word 0xfffeff88 + 800a2ce: 4618 mov r0, r3 + 800a2d0: 3710 adds r7, #16 + 800a2d2: 46bd mov sp, r7 + 800a2d4: bd80 pop {r7, pc} + 800a2d6: bf00 nop + 800a2d8: fffeff88 .word 0xfffeff88 -0800a740 : +0800a2dc : * timer input or external trigger input) and the Slave mode * (Disable, Reset, Gated, Trigger, External clock mode 1). * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro(TIM_HandleTypeDef *htim, TIM_SlaveConfigTypeDef *sSlaveConfig) { - 800a740: b580 push {r7, lr} - 800a742: b082 sub sp, #8 - 800a744: af00 add r7, sp, #0 - 800a746: 6078 str r0, [r7, #4] - 800a748: 6039 str r1, [r7, #0] + 800a2dc: b580 push {r7, lr} + 800a2de: b082 sub sp, #8 + 800a2e0: af00 add r7, sp, #0 + 800a2e2: 6078 str r0, [r7, #4] + 800a2e4: 6039 str r1, [r7, #0] /* Check the parameters */ assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance)); assert_param(IS_TIM_SLAVE_MODE(sSlaveConfig->SlaveMode)); assert_param(IS_TIM_TRIGGER_SELECTION(sSlaveConfig->InputTrigger)); __HAL_LOCK(htim); - 800a74a: 687b ldr r3, [r7, #4] - 800a74c: f893 303c ldrb.w r3, [r3, #60] ; 0x3c - 800a750: 2b01 cmp r3, #1 - 800a752: d101 bne.n 800a758 - 800a754: 2302 movs r3, #2 - 800a756: e031 b.n 800a7bc - 800a758: 687b ldr r3, [r7, #4] - 800a75a: 2201 movs r2, #1 - 800a75c: f883 203c strb.w r2, [r3, #60] ; 0x3c + 800a2e6: 687b ldr r3, [r7, #4] + 800a2e8: f893 303c ldrb.w r3, [r3, #60] ; 0x3c + 800a2ec: 2b01 cmp r3, #1 + 800a2ee: d101 bne.n 800a2f4 + 800a2f0: 2302 movs r3, #2 + 800a2f2: e031 b.n 800a358 + 800a2f4: 687b ldr r3, [r7, #4] + 800a2f6: 2201 movs r2, #1 + 800a2f8: f883 203c strb.w r2, [r3, #60] ; 0x3c htim->State = HAL_TIM_STATE_BUSY; - 800a760: 687b ldr r3, [r7, #4] - 800a762: 2202 movs r2, #2 - 800a764: f883 203d strb.w r2, [r3, #61] ; 0x3d + 800a2fc: 687b ldr r3, [r7, #4] + 800a2fe: 2202 movs r2, #2 + 800a300: f883 203d strb.w r2, [r3, #61] ; 0x3d if (TIM_SlaveTimer_SetConfig(htim, sSlaveConfig) != HAL_OK) - 800a768: 6839 ldr r1, [r7, #0] - 800a76a: 6878 ldr r0, [r7, #4] - 800a76c: f000 fb50 bl 800ae10 - 800a770: 4603 mov r3, r0 - 800a772: 2b00 cmp r3, #0 - 800a774: d009 beq.n 800a78a + 800a304: 6839 ldr r1, [r7, #0] + 800a306: 6878 ldr r0, [r7, #4] + 800a308: f000 fb50 bl 800a9ac + 800a30c: 4603 mov r3, r0 + 800a30e: 2b00 cmp r3, #0 + 800a310: d009 beq.n 800a326 { htim->State = HAL_TIM_STATE_READY; - 800a776: 687b ldr r3, [r7, #4] - 800a778: 2201 movs r2, #1 - 800a77a: f883 203d strb.w r2, [r3, #61] ; 0x3d + 800a312: 687b ldr r3, [r7, #4] + 800a314: 2201 movs r2, #1 + 800a316: f883 203d strb.w r2, [r3, #61] ; 0x3d __HAL_UNLOCK(htim); - 800a77e: 687b ldr r3, [r7, #4] - 800a780: 2200 movs r2, #0 - 800a782: f883 203c strb.w r2, [r3, #60] ; 0x3c + 800a31a: 687b ldr r3, [r7, #4] + 800a31c: 2200 movs r2, #0 + 800a31e: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_ERROR; - 800a786: 2301 movs r3, #1 - 800a788: e018 b.n 800a7bc + 800a322: 2301 movs r3, #1 + 800a324: e018 b.n 800a358 } /* Disable Trigger Interrupt */ __HAL_TIM_DISABLE_IT(htim, TIM_IT_TRIGGER); - 800a78a: 687b ldr r3, [r7, #4] - 800a78c: 681b ldr r3, [r3, #0] - 800a78e: 68da ldr r2, [r3, #12] - 800a790: 687b ldr r3, [r7, #4] - 800a792: 681b ldr r3, [r3, #0] - 800a794: f022 0240 bic.w r2, r2, #64 ; 0x40 - 800a798: 60da str r2, [r3, #12] + 800a326: 687b ldr r3, [r7, #4] + 800a328: 681b ldr r3, [r3, #0] + 800a32a: 68da ldr r2, [r3, #12] + 800a32c: 687b ldr r3, [r7, #4] + 800a32e: 681b ldr r3, [r3, #0] + 800a330: f022 0240 bic.w r2, r2, #64 ; 0x40 + 800a334: 60da str r2, [r3, #12] /* Disable Trigger DMA request */ __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_TRIGGER); - 800a79a: 687b ldr r3, [r7, #4] - 800a79c: 681b ldr r3, [r3, #0] - 800a79e: 68da ldr r2, [r3, #12] - 800a7a0: 687b ldr r3, [r7, #4] - 800a7a2: 681b ldr r3, [r3, #0] - 800a7a4: f422 4280 bic.w r2, r2, #16384 ; 0x4000 - 800a7a8: 60da str r2, [r3, #12] + 800a336: 687b ldr r3, [r7, #4] + 800a338: 681b ldr r3, [r3, #0] + 800a33a: 68da ldr r2, [r3, #12] + 800a33c: 687b ldr r3, [r7, #4] + 800a33e: 681b ldr r3, [r3, #0] + 800a340: f422 4280 bic.w r2, r2, #16384 ; 0x4000 + 800a344: 60da str r2, [r3, #12] htim->State = HAL_TIM_STATE_READY; - 800a7aa: 687b ldr r3, [r7, #4] - 800a7ac: 2201 movs r2, #1 - 800a7ae: f883 203d strb.w r2, [r3, #61] ; 0x3d + 800a346: 687b ldr r3, [r7, #4] + 800a348: 2201 movs r2, #1 + 800a34a: f883 203d strb.w r2, [r3, #61] ; 0x3d __HAL_UNLOCK(htim); - 800a7b2: 687b ldr r3, [r7, #4] - 800a7b4: 2200 movs r2, #0 - 800a7b6: f883 203c strb.w r2, [r3, #60] ; 0x3c + 800a34e: 687b ldr r3, [r7, #4] + 800a350: 2200 movs r2, #0 + 800a352: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_OK; - 800a7ba: 2300 movs r3, #0 + 800a356: 2300 movs r3, #0 } - 800a7bc: 4618 mov r0, r3 - 800a7be: 3708 adds r7, #8 - 800a7c0: 46bd mov sp, r7 - 800a7c2: bd80 pop {r7, pc} + 800a358: 4618 mov r0, r3 + 800a35a: 3708 adds r7, #8 + 800a35c: 46bd mov sp, r7 + 800a35e: bd80 pop {r7, pc} -0800a7c4 : +0800a360 : * @brief Output Compare callback in non-blocking mode * @param htim TIM OC handle * @retval None */ __weak void HAL_TIM_OC_DelayElapsedCallback(TIM_HandleTypeDef *htim) { - 800a7c4: b480 push {r7} - 800a7c6: b083 sub sp, #12 - 800a7c8: af00 add r7, sp, #0 - 800a7ca: 6078 str r0, [r7, #4] + 800a360: b480 push {r7} + 800a362: b083 sub sp, #12 + 800a364: af00 add r7, sp, #0 + 800a366: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function should not be modified, when the callback is needed, the HAL_TIM_OC_DelayElapsedCallback could be implemented in the user file */ } - 800a7cc: bf00 nop - 800a7ce: 370c adds r7, #12 - 800a7d0: 46bd mov sp, r7 - 800a7d2: f85d 7b04 ldr.w r7, [sp], #4 - 800a7d6: 4770 bx lr + 800a368: bf00 nop + 800a36a: 370c adds r7, #12 + 800a36c: 46bd mov sp, r7 + 800a36e: f85d 7b04 ldr.w r7, [sp], #4 + 800a372: 4770 bx lr -0800a7d8 : +0800a374 : * @brief Input Capture callback in non-blocking mode * @param htim TIM IC handle * @retval None */ __weak void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim) { - 800a7d8: b480 push {r7} - 800a7da: b083 sub sp, #12 - 800a7dc: af00 add r7, sp, #0 - 800a7de: 6078 str r0, [r7, #4] + 800a374: b480 push {r7} + 800a376: b083 sub sp, #12 + 800a378: af00 add r7, sp, #0 + 800a37a: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function should not be modified, when the callback is needed, the HAL_TIM_IC_CaptureCallback could be implemented in the user file */ } - 800a7e0: bf00 nop - 800a7e2: 370c adds r7, #12 - 800a7e4: 46bd mov sp, r7 - 800a7e6: f85d 7b04 ldr.w r7, [sp], #4 - 800a7ea: 4770 bx lr + 800a37c: bf00 nop + 800a37e: 370c adds r7, #12 + 800a380: 46bd mov sp, r7 + 800a382: f85d 7b04 ldr.w r7, [sp], #4 + 800a386: 4770 bx lr -0800a7ec : +0800a388 : * @brief PWM Pulse finished callback in non-blocking mode * @param htim TIM handle * @retval None */ __weak void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim) { - 800a7ec: b480 push {r7} - 800a7ee: b083 sub sp, #12 - 800a7f0: af00 add r7, sp, #0 - 800a7f2: 6078 str r0, [r7, #4] + 800a388: b480 push {r7} + 800a38a: b083 sub sp, #12 + 800a38c: af00 add r7, sp, #0 + 800a38e: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function should not be modified, when the callback is needed, the HAL_TIM_PWM_PulseFinishedCallback could be implemented in the user file */ } - 800a7f4: bf00 nop - 800a7f6: 370c adds r7, #12 - 800a7f8: 46bd mov sp, r7 - 800a7fa: f85d 7b04 ldr.w r7, [sp], #4 - 800a7fe: 4770 bx lr + 800a390: bf00 nop + 800a392: 370c adds r7, #12 + 800a394: 46bd mov sp, r7 + 800a396: f85d 7b04 ldr.w r7, [sp], #4 + 800a39a: 4770 bx lr -0800a800 : +0800a39c : * @brief Hall Trigger detection callback in non-blocking mode * @param htim TIM handle * @retval None */ __weak void HAL_TIM_TriggerCallback(TIM_HandleTypeDef *htim) { - 800a800: b480 push {r7} - 800a802: b083 sub sp, #12 - 800a804: af00 add r7, sp, #0 - 800a806: 6078 str r0, [r7, #4] + 800a39c: b480 push {r7} + 800a39e: b083 sub sp, #12 + 800a3a0: af00 add r7, sp, #0 + 800a3a2: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function should not be modified, when the callback is needed, the HAL_TIM_TriggerCallback could be implemented in the user file */ } - 800a808: bf00 nop - 800a80a: 370c adds r7, #12 - 800a80c: 46bd mov sp, r7 - 800a80e: f85d 7b04 ldr.w r7, [sp], #4 - 800a812: 4770 bx lr + 800a3a4: bf00 nop + 800a3a6: 370c adds r7, #12 + 800a3a8: 46bd mov sp, r7 + 800a3aa: f85d 7b04 ldr.w r7, [sp], #4 + 800a3ae: 4770 bx lr -0800a814 : +0800a3b0 : * @param TIMx TIM peripheral * @param Structure TIM Base configuration structure * @retval None */ void TIM_Base_SetConfig(TIM_TypeDef *TIMx, TIM_Base_InitTypeDef *Structure) { - 800a814: b480 push {r7} - 800a816: b085 sub sp, #20 - 800a818: af00 add r7, sp, #0 - 800a81a: 6078 str r0, [r7, #4] - 800a81c: 6039 str r1, [r7, #0] + 800a3b0: b480 push {r7} + 800a3b2: b085 sub sp, #20 + 800a3b4: af00 add r7, sp, #0 + 800a3b6: 6078 str r0, [r7, #4] + 800a3b8: 6039 str r1, [r7, #0] uint32_t tmpcr1; tmpcr1 = TIMx->CR1; - 800a81e: 687b ldr r3, [r7, #4] - 800a820: 681b ldr r3, [r3, #0] - 800a822: 60fb str r3, [r7, #12] + 800a3ba: 687b ldr r3, [r7, #4] + 800a3bc: 681b ldr r3, [r3, #0] + 800a3be: 60fb str r3, [r7, #12] /* Set TIM Time Base Unit parameters ---------------------------------------*/ if (IS_TIM_COUNTER_MODE_SELECT_INSTANCE(TIMx)) - 800a824: 687b ldr r3, [r7, #4] - 800a826: 4a40 ldr r2, [pc, #256] ; (800a928 ) - 800a828: 4293 cmp r3, r2 - 800a82a: d013 beq.n 800a854 - 800a82c: 687b ldr r3, [r7, #4] - 800a82e: f1b3 4f80 cmp.w r3, #1073741824 ; 0x40000000 - 800a832: d00f beq.n 800a854 - 800a834: 687b ldr r3, [r7, #4] - 800a836: 4a3d ldr r2, [pc, #244] ; (800a92c ) - 800a838: 4293 cmp r3, r2 - 800a83a: d00b beq.n 800a854 - 800a83c: 687b ldr r3, [r7, #4] - 800a83e: 4a3c ldr r2, [pc, #240] ; (800a930 ) - 800a840: 4293 cmp r3, r2 - 800a842: d007 beq.n 800a854 - 800a844: 687b ldr r3, [r7, #4] - 800a846: 4a3b ldr r2, [pc, #236] ; (800a934 ) - 800a848: 4293 cmp r3, r2 - 800a84a: d003 beq.n 800a854 - 800a84c: 687b ldr r3, [r7, #4] - 800a84e: 4a3a ldr r2, [pc, #232] ; (800a938 ) - 800a850: 4293 cmp r3, r2 - 800a852: d108 bne.n 800a866 + 800a3c0: 687b ldr r3, [r7, #4] + 800a3c2: 4a40 ldr r2, [pc, #256] ; (800a4c4 ) + 800a3c4: 4293 cmp r3, r2 + 800a3c6: d013 beq.n 800a3f0 + 800a3c8: 687b ldr r3, [r7, #4] + 800a3ca: f1b3 4f80 cmp.w r3, #1073741824 ; 0x40000000 + 800a3ce: d00f beq.n 800a3f0 + 800a3d0: 687b ldr r3, [r7, #4] + 800a3d2: 4a3d ldr r2, [pc, #244] ; (800a4c8 ) + 800a3d4: 4293 cmp r3, r2 + 800a3d6: d00b beq.n 800a3f0 + 800a3d8: 687b ldr r3, [r7, #4] + 800a3da: 4a3c ldr r2, [pc, #240] ; (800a4cc ) + 800a3dc: 4293 cmp r3, r2 + 800a3de: d007 beq.n 800a3f0 + 800a3e0: 687b ldr r3, [r7, #4] + 800a3e2: 4a3b ldr r2, [pc, #236] ; (800a4d0 ) + 800a3e4: 4293 cmp r3, r2 + 800a3e6: d003 beq.n 800a3f0 + 800a3e8: 687b ldr r3, [r7, #4] + 800a3ea: 4a3a ldr r2, [pc, #232] ; (800a4d4 ) + 800a3ec: 4293 cmp r3, r2 + 800a3ee: d108 bne.n 800a402 { /* Select the Counter Mode */ tmpcr1 &= ~(TIM_CR1_DIR | TIM_CR1_CMS); - 800a854: 68fb ldr r3, [r7, #12] - 800a856: f023 0370 bic.w r3, r3, #112 ; 0x70 - 800a85a: 60fb str r3, [r7, #12] + 800a3f0: 68fb ldr r3, [r7, #12] + 800a3f2: f023 0370 bic.w r3, r3, #112 ; 0x70 + 800a3f6: 60fb str r3, [r7, #12] tmpcr1 |= Structure->CounterMode; - 800a85c: 683b ldr r3, [r7, #0] - 800a85e: 685b ldr r3, [r3, #4] - 800a860: 68fa ldr r2, [r7, #12] - 800a862: 4313 orrs r3, r2 - 800a864: 60fb str r3, [r7, #12] + 800a3f8: 683b ldr r3, [r7, #0] + 800a3fa: 685b ldr r3, [r3, #4] + 800a3fc: 68fa ldr r2, [r7, #12] + 800a3fe: 4313 orrs r3, r2 + 800a400: 60fb str r3, [r7, #12] } if (IS_TIM_CLOCK_DIVISION_INSTANCE(TIMx)) - 800a866: 687b ldr r3, [r7, #4] - 800a868: 4a2f ldr r2, [pc, #188] ; (800a928 ) - 800a86a: 4293 cmp r3, r2 - 800a86c: d02b beq.n 800a8c6 - 800a86e: 687b ldr r3, [r7, #4] - 800a870: f1b3 4f80 cmp.w r3, #1073741824 ; 0x40000000 - 800a874: d027 beq.n 800a8c6 - 800a876: 687b ldr r3, [r7, #4] - 800a878: 4a2c ldr r2, [pc, #176] ; (800a92c ) - 800a87a: 4293 cmp r3, r2 - 800a87c: d023 beq.n 800a8c6 - 800a87e: 687b ldr r3, [r7, #4] - 800a880: 4a2b ldr r2, [pc, #172] ; (800a930 ) - 800a882: 4293 cmp r3, r2 - 800a884: d01f beq.n 800a8c6 - 800a886: 687b ldr r3, [r7, #4] - 800a888: 4a2a ldr r2, [pc, #168] ; (800a934 ) - 800a88a: 4293 cmp r3, r2 - 800a88c: d01b beq.n 800a8c6 - 800a88e: 687b ldr r3, [r7, #4] - 800a890: 4a29 ldr r2, [pc, #164] ; (800a938 ) - 800a892: 4293 cmp r3, r2 - 800a894: d017 beq.n 800a8c6 - 800a896: 687b ldr r3, [r7, #4] - 800a898: 4a28 ldr r2, [pc, #160] ; (800a93c ) - 800a89a: 4293 cmp r3, r2 - 800a89c: d013 beq.n 800a8c6 - 800a89e: 687b ldr r3, [r7, #4] - 800a8a0: 4a27 ldr r2, [pc, #156] ; (800a940 ) - 800a8a2: 4293 cmp r3, r2 - 800a8a4: d00f beq.n 800a8c6 - 800a8a6: 687b ldr r3, [r7, #4] - 800a8a8: 4a26 ldr r2, [pc, #152] ; (800a944 ) - 800a8aa: 4293 cmp r3, r2 - 800a8ac: d00b beq.n 800a8c6 - 800a8ae: 687b ldr r3, [r7, #4] - 800a8b0: 4a25 ldr r2, [pc, #148] ; (800a948 ) - 800a8b2: 4293 cmp r3, r2 - 800a8b4: d007 beq.n 800a8c6 - 800a8b6: 687b ldr r3, [r7, #4] - 800a8b8: 4a24 ldr r2, [pc, #144] ; (800a94c ) - 800a8ba: 4293 cmp r3, r2 - 800a8bc: d003 beq.n 800a8c6 - 800a8be: 687b ldr r3, [r7, #4] - 800a8c0: 4a23 ldr r2, [pc, #140] ; (800a950 ) - 800a8c2: 4293 cmp r3, r2 - 800a8c4: d108 bne.n 800a8d8 + 800a402: 687b ldr r3, [r7, #4] + 800a404: 4a2f ldr r2, [pc, #188] ; (800a4c4 ) + 800a406: 4293 cmp r3, r2 + 800a408: d02b beq.n 800a462 + 800a40a: 687b ldr r3, [r7, #4] + 800a40c: f1b3 4f80 cmp.w r3, #1073741824 ; 0x40000000 + 800a410: d027 beq.n 800a462 + 800a412: 687b ldr r3, [r7, #4] + 800a414: 4a2c ldr r2, [pc, #176] ; (800a4c8 ) + 800a416: 4293 cmp r3, r2 + 800a418: d023 beq.n 800a462 + 800a41a: 687b ldr r3, [r7, #4] + 800a41c: 4a2b ldr r2, [pc, #172] ; (800a4cc ) + 800a41e: 4293 cmp r3, r2 + 800a420: d01f beq.n 800a462 + 800a422: 687b ldr r3, [r7, #4] + 800a424: 4a2a ldr r2, [pc, #168] ; (800a4d0 ) + 800a426: 4293 cmp r3, r2 + 800a428: d01b beq.n 800a462 + 800a42a: 687b ldr r3, [r7, #4] + 800a42c: 4a29 ldr r2, [pc, #164] ; (800a4d4 ) + 800a42e: 4293 cmp r3, r2 + 800a430: d017 beq.n 800a462 + 800a432: 687b ldr r3, [r7, #4] + 800a434: 4a28 ldr r2, [pc, #160] ; (800a4d8 ) + 800a436: 4293 cmp r3, r2 + 800a438: d013 beq.n 800a462 + 800a43a: 687b ldr r3, [r7, #4] + 800a43c: 4a27 ldr r2, [pc, #156] ; (800a4dc ) + 800a43e: 4293 cmp r3, r2 + 800a440: d00f beq.n 800a462 + 800a442: 687b ldr r3, [r7, #4] + 800a444: 4a26 ldr r2, [pc, #152] ; (800a4e0 ) + 800a446: 4293 cmp r3, r2 + 800a448: d00b beq.n 800a462 + 800a44a: 687b ldr r3, [r7, #4] + 800a44c: 4a25 ldr r2, [pc, #148] ; (800a4e4 ) + 800a44e: 4293 cmp r3, r2 + 800a450: d007 beq.n 800a462 + 800a452: 687b ldr r3, [r7, #4] + 800a454: 4a24 ldr r2, [pc, #144] ; (800a4e8 ) + 800a456: 4293 cmp r3, r2 + 800a458: d003 beq.n 800a462 + 800a45a: 687b ldr r3, [r7, #4] + 800a45c: 4a23 ldr r2, [pc, #140] ; (800a4ec ) + 800a45e: 4293 cmp r3, r2 + 800a460: d108 bne.n 800a474 { /* Set the clock division */ tmpcr1 &= ~TIM_CR1_CKD; - 800a8c6: 68fb ldr r3, [r7, #12] - 800a8c8: f423 7340 bic.w r3, r3, #768 ; 0x300 - 800a8cc: 60fb str r3, [r7, #12] + 800a462: 68fb ldr r3, [r7, #12] + 800a464: f423 7340 bic.w r3, r3, #768 ; 0x300 + 800a468: 60fb str r3, [r7, #12] tmpcr1 |= (uint32_t)Structure->ClockDivision; - 800a8ce: 683b ldr r3, [r7, #0] - 800a8d0: 68db ldr r3, [r3, #12] - 800a8d2: 68fa ldr r2, [r7, #12] - 800a8d4: 4313 orrs r3, r2 - 800a8d6: 60fb str r3, [r7, #12] + 800a46a: 683b ldr r3, [r7, #0] + 800a46c: 68db ldr r3, [r3, #12] + 800a46e: 68fa ldr r2, [r7, #12] + 800a470: 4313 orrs r3, r2 + 800a472: 60fb str r3, [r7, #12] } /* Set the auto-reload preload */ MODIFY_REG(tmpcr1, TIM_CR1_ARPE, Structure->AutoReloadPreload); - 800a8d8: 68fb ldr r3, [r7, #12] - 800a8da: f023 0280 bic.w r2, r3, #128 ; 0x80 - 800a8de: 683b ldr r3, [r7, #0] - 800a8e0: 695b ldr r3, [r3, #20] - 800a8e2: 4313 orrs r3, r2 - 800a8e4: 60fb str r3, [r7, #12] + 800a474: 68fb ldr r3, [r7, #12] + 800a476: f023 0280 bic.w r2, r3, #128 ; 0x80 + 800a47a: 683b ldr r3, [r7, #0] + 800a47c: 695b ldr r3, [r3, #20] + 800a47e: 4313 orrs r3, r2 + 800a480: 60fb str r3, [r7, #12] TIMx->CR1 = tmpcr1; - 800a8e6: 687b ldr r3, [r7, #4] - 800a8e8: 68fa ldr r2, [r7, #12] - 800a8ea: 601a str r2, [r3, #0] + 800a482: 687b ldr r3, [r7, #4] + 800a484: 68fa ldr r2, [r7, #12] + 800a486: 601a str r2, [r3, #0] /* Set the Autoreload value */ TIMx->ARR = (uint32_t)Structure->Period ; - 800a8ec: 683b ldr r3, [r7, #0] - 800a8ee: 689a ldr r2, [r3, #8] - 800a8f0: 687b ldr r3, [r7, #4] - 800a8f2: 62da str r2, [r3, #44] ; 0x2c + 800a488: 683b ldr r3, [r7, #0] + 800a48a: 689a ldr r2, [r3, #8] + 800a48c: 687b ldr r3, [r7, #4] + 800a48e: 62da str r2, [r3, #44] ; 0x2c /* Set the Prescaler value */ TIMx->PSC = Structure->Prescaler; - 800a8f4: 683b ldr r3, [r7, #0] - 800a8f6: 681a ldr r2, [r3, #0] - 800a8f8: 687b ldr r3, [r7, #4] - 800a8fa: 629a str r2, [r3, #40] ; 0x28 + 800a490: 683b ldr r3, [r7, #0] + 800a492: 681a ldr r2, [r3, #0] + 800a494: 687b ldr r3, [r7, #4] + 800a496: 629a str r2, [r3, #40] ; 0x28 if (IS_TIM_REPETITION_COUNTER_INSTANCE(TIMx)) - 800a8fc: 687b ldr r3, [r7, #4] - 800a8fe: 4a0a ldr r2, [pc, #40] ; (800a928 ) - 800a900: 4293 cmp r3, r2 - 800a902: d003 beq.n 800a90c - 800a904: 687b ldr r3, [r7, #4] - 800a906: 4a0c ldr r2, [pc, #48] ; (800a938 ) - 800a908: 4293 cmp r3, r2 - 800a90a: d103 bne.n 800a914 + 800a498: 687b ldr r3, [r7, #4] + 800a49a: 4a0a ldr r2, [pc, #40] ; (800a4c4 ) + 800a49c: 4293 cmp r3, r2 + 800a49e: d003 beq.n 800a4a8 + 800a4a0: 687b ldr r3, [r7, #4] + 800a4a2: 4a0c ldr r2, [pc, #48] ; (800a4d4 ) + 800a4a4: 4293 cmp r3, r2 + 800a4a6: d103 bne.n 800a4b0 { /* Set the Repetition Counter value */ TIMx->RCR = Structure->RepetitionCounter; - 800a90c: 683b ldr r3, [r7, #0] - 800a90e: 691a ldr r2, [r3, #16] - 800a910: 687b ldr r3, [r7, #4] - 800a912: 631a str r2, [r3, #48] ; 0x30 + 800a4a8: 683b ldr r3, [r7, #0] + 800a4aa: 691a ldr r2, [r3, #16] + 800a4ac: 687b ldr r3, [r7, #4] + 800a4ae: 631a str r2, [r3, #48] ; 0x30 } /* Generate an update event to reload the Prescaler and the repetition counter (only for advanced timer) value immediately */ TIMx->EGR = TIM_EGR_UG; - 800a914: 687b ldr r3, [r7, #4] - 800a916: 2201 movs r2, #1 - 800a918: 615a str r2, [r3, #20] + 800a4b0: 687b ldr r3, [r7, #4] + 800a4b2: 2201 movs r2, #1 + 800a4b4: 615a str r2, [r3, #20] } - 800a91a: bf00 nop - 800a91c: 3714 adds r7, #20 - 800a91e: 46bd mov sp, r7 - 800a920: f85d 7b04 ldr.w r7, [sp], #4 - 800a924: 4770 bx lr - 800a926: bf00 nop - 800a928: 40010000 .word 0x40010000 - 800a92c: 40000400 .word 0x40000400 - 800a930: 40000800 .word 0x40000800 - 800a934: 40000c00 .word 0x40000c00 - 800a938: 40010400 .word 0x40010400 - 800a93c: 40014000 .word 0x40014000 - 800a940: 40014400 .word 0x40014400 - 800a944: 40014800 .word 0x40014800 - 800a948: 40001800 .word 0x40001800 - 800a94c: 40001c00 .word 0x40001c00 - 800a950: 40002000 .word 0x40002000 + 800a4b6: bf00 nop + 800a4b8: 3714 adds r7, #20 + 800a4ba: 46bd mov sp, r7 + 800a4bc: f85d 7b04 ldr.w r7, [sp], #4 + 800a4c0: 4770 bx lr + 800a4c2: bf00 nop + 800a4c4: 40010000 .word 0x40010000 + 800a4c8: 40000400 .word 0x40000400 + 800a4cc: 40000800 .word 0x40000800 + 800a4d0: 40000c00 .word 0x40000c00 + 800a4d4: 40010400 .word 0x40010400 + 800a4d8: 40014000 .word 0x40014000 + 800a4dc: 40014400 .word 0x40014400 + 800a4e0: 40014800 .word 0x40014800 + 800a4e4: 40001800 .word 0x40001800 + 800a4e8: 40001c00 .word 0x40001c00 + 800a4ec: 40002000 .word 0x40002000 -0800a954 : +0800a4f0 : * @param TIMx to select the TIM peripheral * @param OC_Config The ouput configuration structure * @retval None */ static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) { - 800a954: b480 push {r7} - 800a956: b087 sub sp, #28 - 800a958: af00 add r7, sp, #0 - 800a95a: 6078 str r0, [r7, #4] - 800a95c: 6039 str r1, [r7, #0] + 800a4f0: b480 push {r7} + 800a4f2: b087 sub sp, #28 + 800a4f4: af00 add r7, sp, #0 + 800a4f6: 6078 str r0, [r7, #4] + 800a4f8: 6039 str r1, [r7, #0] uint32_t tmpccmrx; uint32_t tmpccer; uint32_t tmpcr2; /* Disable the Channel 1: Reset the CC1E Bit */ TIMx->CCER &= ~TIM_CCER_CC1E; - 800a95e: 687b ldr r3, [r7, #4] - 800a960: 6a1b ldr r3, [r3, #32] - 800a962: f023 0201 bic.w r2, r3, #1 - 800a966: 687b ldr r3, [r7, #4] - 800a968: 621a str r2, [r3, #32] + 800a4fa: 687b ldr r3, [r7, #4] + 800a4fc: 6a1b ldr r3, [r3, #32] + 800a4fe: f023 0201 bic.w r2, r3, #1 + 800a502: 687b ldr r3, [r7, #4] + 800a504: 621a str r2, [r3, #32] /* Get the TIMx CCER register value */ tmpccer = TIMx->CCER; - 800a96a: 687b ldr r3, [r7, #4] - 800a96c: 6a1b ldr r3, [r3, #32] - 800a96e: 617b str r3, [r7, #20] + 800a506: 687b ldr r3, [r7, #4] + 800a508: 6a1b ldr r3, [r3, #32] + 800a50a: 617b str r3, [r7, #20] /* Get the TIMx CR2 register value */ tmpcr2 = TIMx->CR2; - 800a970: 687b ldr r3, [r7, #4] - 800a972: 685b ldr r3, [r3, #4] - 800a974: 613b str r3, [r7, #16] + 800a50c: 687b ldr r3, [r7, #4] + 800a50e: 685b ldr r3, [r3, #4] + 800a510: 613b str r3, [r7, #16] /* Get the TIMx CCMR1 register value */ tmpccmrx = TIMx->CCMR1; - 800a976: 687b ldr r3, [r7, #4] - 800a978: 699b ldr r3, [r3, #24] - 800a97a: 60fb str r3, [r7, #12] + 800a512: 687b ldr r3, [r7, #4] + 800a514: 699b ldr r3, [r3, #24] + 800a516: 60fb str r3, [r7, #12] /* Reset the Output Compare Mode Bits */ tmpccmrx &= ~TIM_CCMR1_OC1M; - 800a97c: 68fa ldr r2, [r7, #12] - 800a97e: 4b2b ldr r3, [pc, #172] ; (800aa2c ) - 800a980: 4013 ands r3, r2 - 800a982: 60fb str r3, [r7, #12] + 800a518: 68fa ldr r2, [r7, #12] + 800a51a: 4b2b ldr r3, [pc, #172] ; (800a5c8 ) + 800a51c: 4013 ands r3, r2 + 800a51e: 60fb str r3, [r7, #12] tmpccmrx &= ~TIM_CCMR1_CC1S; - 800a984: 68fb ldr r3, [r7, #12] - 800a986: f023 0303 bic.w r3, r3, #3 - 800a98a: 60fb str r3, [r7, #12] + 800a520: 68fb ldr r3, [r7, #12] + 800a522: f023 0303 bic.w r3, r3, #3 + 800a526: 60fb str r3, [r7, #12] /* Select the Output Compare Mode */ tmpccmrx |= OC_Config->OCMode; - 800a98c: 683b ldr r3, [r7, #0] - 800a98e: 681b ldr r3, [r3, #0] - 800a990: 68fa ldr r2, [r7, #12] - 800a992: 4313 orrs r3, r2 - 800a994: 60fb str r3, [r7, #12] + 800a528: 683b ldr r3, [r7, #0] + 800a52a: 681b ldr r3, [r3, #0] + 800a52c: 68fa ldr r2, [r7, #12] + 800a52e: 4313 orrs r3, r2 + 800a530: 60fb str r3, [r7, #12] /* Reset the Output Polarity level */ tmpccer &= ~TIM_CCER_CC1P; - 800a996: 697b ldr r3, [r7, #20] - 800a998: f023 0302 bic.w r3, r3, #2 - 800a99c: 617b str r3, [r7, #20] + 800a532: 697b ldr r3, [r7, #20] + 800a534: f023 0302 bic.w r3, r3, #2 + 800a538: 617b str r3, [r7, #20] /* Set the Output Compare Polarity */ tmpccer |= OC_Config->OCPolarity; - 800a99e: 683b ldr r3, [r7, #0] - 800a9a0: 689b ldr r3, [r3, #8] - 800a9a2: 697a ldr r2, [r7, #20] - 800a9a4: 4313 orrs r3, r2 - 800a9a6: 617b str r3, [r7, #20] + 800a53a: 683b ldr r3, [r7, #0] + 800a53c: 689b ldr r3, [r3, #8] + 800a53e: 697a ldr r2, [r7, #20] + 800a540: 4313 orrs r3, r2 + 800a542: 617b str r3, [r7, #20] if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_1)) - 800a9a8: 687b ldr r3, [r7, #4] - 800a9aa: 4a21 ldr r2, [pc, #132] ; (800aa30 ) - 800a9ac: 4293 cmp r3, r2 - 800a9ae: d003 beq.n 800a9b8 - 800a9b0: 687b ldr r3, [r7, #4] - 800a9b2: 4a20 ldr r2, [pc, #128] ; (800aa34 ) - 800a9b4: 4293 cmp r3, r2 - 800a9b6: d10c bne.n 800a9d2 + 800a544: 687b ldr r3, [r7, #4] + 800a546: 4a21 ldr r2, [pc, #132] ; (800a5cc ) + 800a548: 4293 cmp r3, r2 + 800a54a: d003 beq.n 800a554 + 800a54c: 687b ldr r3, [r7, #4] + 800a54e: 4a20 ldr r2, [pc, #128] ; (800a5d0 ) + 800a550: 4293 cmp r3, r2 + 800a552: d10c bne.n 800a56e { /* Check parameters */ assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); /* Reset the Output N Polarity level */ tmpccer &= ~TIM_CCER_CC1NP; - 800a9b8: 697b ldr r3, [r7, #20] - 800a9ba: f023 0308 bic.w r3, r3, #8 - 800a9be: 617b str r3, [r7, #20] + 800a554: 697b ldr r3, [r7, #20] + 800a556: f023 0308 bic.w r3, r3, #8 + 800a55a: 617b str r3, [r7, #20] /* Set the Output N Polarity */ tmpccer |= OC_Config->OCNPolarity; - 800a9c0: 683b ldr r3, [r7, #0] - 800a9c2: 68db ldr r3, [r3, #12] - 800a9c4: 697a ldr r2, [r7, #20] - 800a9c6: 4313 orrs r3, r2 - 800a9c8: 617b str r3, [r7, #20] + 800a55c: 683b ldr r3, [r7, #0] + 800a55e: 68db ldr r3, [r3, #12] + 800a560: 697a ldr r2, [r7, #20] + 800a562: 4313 orrs r3, r2 + 800a564: 617b str r3, [r7, #20] /* Reset the Output N State */ tmpccer &= ~TIM_CCER_CC1NE; - 800a9ca: 697b ldr r3, [r7, #20] - 800a9cc: f023 0304 bic.w r3, r3, #4 - 800a9d0: 617b str r3, [r7, #20] + 800a566: 697b ldr r3, [r7, #20] + 800a568: f023 0304 bic.w r3, r3, #4 + 800a56c: 617b str r3, [r7, #20] } if (IS_TIM_BREAK_INSTANCE(TIMx)) - 800a9d2: 687b ldr r3, [r7, #4] - 800a9d4: 4a16 ldr r2, [pc, #88] ; (800aa30 ) - 800a9d6: 4293 cmp r3, r2 - 800a9d8: d003 beq.n 800a9e2 - 800a9da: 687b ldr r3, [r7, #4] - 800a9dc: 4a15 ldr r2, [pc, #84] ; (800aa34 ) - 800a9de: 4293 cmp r3, r2 - 800a9e0: d111 bne.n 800aa06 + 800a56e: 687b ldr r3, [r7, #4] + 800a570: 4a16 ldr r2, [pc, #88] ; (800a5cc ) + 800a572: 4293 cmp r3, r2 + 800a574: d003 beq.n 800a57e + 800a576: 687b ldr r3, [r7, #4] + 800a578: 4a15 ldr r2, [pc, #84] ; (800a5d0 ) + 800a57a: 4293 cmp r3, r2 + 800a57c: d111 bne.n 800a5a2 /* Check parameters */ assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); /* Reset the Output Compare and Output Compare N IDLE State */ tmpcr2 &= ~TIM_CR2_OIS1; - 800a9e2: 693b ldr r3, [r7, #16] - 800a9e4: f423 7380 bic.w r3, r3, #256 ; 0x100 - 800a9e8: 613b str r3, [r7, #16] + 800a57e: 693b ldr r3, [r7, #16] + 800a580: f423 7380 bic.w r3, r3, #256 ; 0x100 + 800a584: 613b str r3, [r7, #16] tmpcr2 &= ~TIM_CR2_OIS1N; - 800a9ea: 693b ldr r3, [r7, #16] - 800a9ec: f423 7300 bic.w r3, r3, #512 ; 0x200 - 800a9f0: 613b str r3, [r7, #16] + 800a586: 693b ldr r3, [r7, #16] + 800a588: f423 7300 bic.w r3, r3, #512 ; 0x200 + 800a58c: 613b str r3, [r7, #16] /* Set the Output Idle state */ tmpcr2 |= OC_Config->OCIdleState; - 800a9f2: 683b ldr r3, [r7, #0] - 800a9f4: 695b ldr r3, [r3, #20] - 800a9f6: 693a ldr r2, [r7, #16] - 800a9f8: 4313 orrs r3, r2 - 800a9fa: 613b str r3, [r7, #16] + 800a58e: 683b ldr r3, [r7, #0] + 800a590: 695b ldr r3, [r3, #20] + 800a592: 693a ldr r2, [r7, #16] + 800a594: 4313 orrs r3, r2 + 800a596: 613b str r3, [r7, #16] /* Set the Output N Idle state */ tmpcr2 |= OC_Config->OCNIdleState; - 800a9fc: 683b ldr r3, [r7, #0] - 800a9fe: 699b ldr r3, [r3, #24] - 800aa00: 693a ldr r2, [r7, #16] - 800aa02: 4313 orrs r3, r2 - 800aa04: 613b str r3, [r7, #16] + 800a598: 683b ldr r3, [r7, #0] + 800a59a: 699b ldr r3, [r3, #24] + 800a59c: 693a ldr r2, [r7, #16] + 800a59e: 4313 orrs r3, r2 + 800a5a0: 613b str r3, [r7, #16] } /* Write to TIMx CR2 */ TIMx->CR2 = tmpcr2; - 800aa06: 687b ldr r3, [r7, #4] - 800aa08: 693a ldr r2, [r7, #16] - 800aa0a: 605a str r2, [r3, #4] + 800a5a2: 687b ldr r3, [r7, #4] + 800a5a4: 693a ldr r2, [r7, #16] + 800a5a6: 605a str r2, [r3, #4] /* Write to TIMx CCMR1 */ TIMx->CCMR1 = tmpccmrx; - 800aa0c: 687b ldr r3, [r7, #4] - 800aa0e: 68fa ldr r2, [r7, #12] - 800aa10: 619a str r2, [r3, #24] + 800a5a8: 687b ldr r3, [r7, #4] + 800a5aa: 68fa ldr r2, [r7, #12] + 800a5ac: 619a str r2, [r3, #24] /* Set the Capture Compare Register value */ TIMx->CCR1 = OC_Config->Pulse; - 800aa12: 683b ldr r3, [r7, #0] - 800aa14: 685a ldr r2, [r3, #4] - 800aa16: 687b ldr r3, [r7, #4] - 800aa18: 635a str r2, [r3, #52] ; 0x34 + 800a5ae: 683b ldr r3, [r7, #0] + 800a5b0: 685a ldr r2, [r3, #4] + 800a5b2: 687b ldr r3, [r7, #4] + 800a5b4: 635a str r2, [r3, #52] ; 0x34 /* Write to TIMx CCER */ TIMx->CCER = tmpccer; - 800aa1a: 687b ldr r3, [r7, #4] - 800aa1c: 697a ldr r2, [r7, #20] - 800aa1e: 621a str r2, [r3, #32] + 800a5b6: 687b ldr r3, [r7, #4] + 800a5b8: 697a ldr r2, [r7, #20] + 800a5ba: 621a str r2, [r3, #32] } - 800aa20: bf00 nop - 800aa22: 371c adds r7, #28 - 800aa24: 46bd mov sp, r7 - 800aa26: f85d 7b04 ldr.w r7, [sp], #4 - 800aa2a: 4770 bx lr - 800aa2c: fffeff8f .word 0xfffeff8f - 800aa30: 40010000 .word 0x40010000 - 800aa34: 40010400 .word 0x40010400 + 800a5bc: bf00 nop + 800a5be: 371c adds r7, #28 + 800a5c0: 46bd mov sp, r7 + 800a5c2: f85d 7b04 ldr.w r7, [sp], #4 + 800a5c6: 4770 bx lr + 800a5c8: fffeff8f .word 0xfffeff8f + 800a5cc: 40010000 .word 0x40010000 + 800a5d0: 40010400 .word 0x40010400 -0800aa38 : +0800a5d4 : * @param TIMx to select the TIM peripheral * @param OC_Config The ouput configuration structure * @retval None */ void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) { - 800aa38: b480 push {r7} - 800aa3a: b087 sub sp, #28 - 800aa3c: af00 add r7, sp, #0 - 800aa3e: 6078 str r0, [r7, #4] - 800aa40: 6039 str r1, [r7, #0] + 800a5d4: b480 push {r7} + 800a5d6: b087 sub sp, #28 + 800a5d8: af00 add r7, sp, #0 + 800a5da: 6078 str r0, [r7, #4] + 800a5dc: 6039 str r1, [r7, #0] uint32_t tmpccmrx; uint32_t tmpccer; uint32_t tmpcr2; /* Disable the Channel 2: Reset the CC2E Bit */ TIMx->CCER &= ~TIM_CCER_CC2E; - 800aa42: 687b ldr r3, [r7, #4] - 800aa44: 6a1b ldr r3, [r3, #32] - 800aa46: f023 0210 bic.w r2, r3, #16 - 800aa4a: 687b ldr r3, [r7, #4] - 800aa4c: 621a str r2, [r3, #32] + 800a5de: 687b ldr r3, [r7, #4] + 800a5e0: 6a1b ldr r3, [r3, #32] + 800a5e2: f023 0210 bic.w r2, r3, #16 + 800a5e6: 687b ldr r3, [r7, #4] + 800a5e8: 621a str r2, [r3, #32] /* Get the TIMx CCER register value */ tmpccer = TIMx->CCER; - 800aa4e: 687b ldr r3, [r7, #4] - 800aa50: 6a1b ldr r3, [r3, #32] - 800aa52: 617b str r3, [r7, #20] + 800a5ea: 687b ldr r3, [r7, #4] + 800a5ec: 6a1b ldr r3, [r3, #32] + 800a5ee: 617b str r3, [r7, #20] /* Get the TIMx CR2 register value */ tmpcr2 = TIMx->CR2; - 800aa54: 687b ldr r3, [r7, #4] - 800aa56: 685b ldr r3, [r3, #4] - 800aa58: 613b str r3, [r7, #16] + 800a5f0: 687b ldr r3, [r7, #4] + 800a5f2: 685b ldr r3, [r3, #4] + 800a5f4: 613b str r3, [r7, #16] /* Get the TIMx CCMR1 register value */ tmpccmrx = TIMx->CCMR1; - 800aa5a: 687b ldr r3, [r7, #4] - 800aa5c: 699b ldr r3, [r3, #24] - 800aa5e: 60fb str r3, [r7, #12] + 800a5f6: 687b ldr r3, [r7, #4] + 800a5f8: 699b ldr r3, [r3, #24] + 800a5fa: 60fb str r3, [r7, #12] /* Reset the Output Compare mode and Capture/Compare selection Bits */ tmpccmrx &= ~TIM_CCMR1_OC2M; - 800aa60: 68fa ldr r2, [r7, #12] - 800aa62: 4b2e ldr r3, [pc, #184] ; (800ab1c ) - 800aa64: 4013 ands r3, r2 - 800aa66: 60fb str r3, [r7, #12] + 800a5fc: 68fa ldr r2, [r7, #12] + 800a5fe: 4b2e ldr r3, [pc, #184] ; (800a6b8 ) + 800a600: 4013 ands r3, r2 + 800a602: 60fb str r3, [r7, #12] tmpccmrx &= ~TIM_CCMR1_CC2S; - 800aa68: 68fb ldr r3, [r7, #12] - 800aa6a: f423 7340 bic.w r3, r3, #768 ; 0x300 - 800aa6e: 60fb str r3, [r7, #12] + 800a604: 68fb ldr r3, [r7, #12] + 800a606: f423 7340 bic.w r3, r3, #768 ; 0x300 + 800a60a: 60fb str r3, [r7, #12] /* Select the Output Compare Mode */ tmpccmrx |= (OC_Config->OCMode << 8U); - 800aa70: 683b ldr r3, [r7, #0] - 800aa72: 681b ldr r3, [r3, #0] - 800aa74: 021b lsls r3, r3, #8 - 800aa76: 68fa ldr r2, [r7, #12] - 800aa78: 4313 orrs r3, r2 - 800aa7a: 60fb str r3, [r7, #12] + 800a60c: 683b ldr r3, [r7, #0] + 800a60e: 681b ldr r3, [r3, #0] + 800a610: 021b lsls r3, r3, #8 + 800a612: 68fa ldr r2, [r7, #12] + 800a614: 4313 orrs r3, r2 + 800a616: 60fb str r3, [r7, #12] /* Reset the Output Polarity level */ tmpccer &= ~TIM_CCER_CC2P; - 800aa7c: 697b ldr r3, [r7, #20] - 800aa7e: f023 0320 bic.w r3, r3, #32 - 800aa82: 617b str r3, [r7, #20] + 800a618: 697b ldr r3, [r7, #20] + 800a61a: f023 0320 bic.w r3, r3, #32 + 800a61e: 617b str r3, [r7, #20] /* Set the Output Compare Polarity */ tmpccer |= (OC_Config->OCPolarity << 4U); - 800aa84: 683b ldr r3, [r7, #0] - 800aa86: 689b ldr r3, [r3, #8] - 800aa88: 011b lsls r3, r3, #4 - 800aa8a: 697a ldr r2, [r7, #20] - 800aa8c: 4313 orrs r3, r2 - 800aa8e: 617b str r3, [r7, #20] + 800a620: 683b ldr r3, [r7, #0] + 800a622: 689b ldr r3, [r3, #8] + 800a624: 011b lsls r3, r3, #4 + 800a626: 697a ldr r2, [r7, #20] + 800a628: 4313 orrs r3, r2 + 800a62a: 617b str r3, [r7, #20] if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_2)) - 800aa90: 687b ldr r3, [r7, #4] - 800aa92: 4a23 ldr r2, [pc, #140] ; (800ab20 ) - 800aa94: 4293 cmp r3, r2 - 800aa96: d003 beq.n 800aaa0 - 800aa98: 687b ldr r3, [r7, #4] - 800aa9a: 4a22 ldr r2, [pc, #136] ; (800ab24 ) - 800aa9c: 4293 cmp r3, r2 - 800aa9e: d10d bne.n 800aabc + 800a62c: 687b ldr r3, [r7, #4] + 800a62e: 4a23 ldr r2, [pc, #140] ; (800a6bc ) + 800a630: 4293 cmp r3, r2 + 800a632: d003 beq.n 800a63c + 800a634: 687b ldr r3, [r7, #4] + 800a636: 4a22 ldr r2, [pc, #136] ; (800a6c0 ) + 800a638: 4293 cmp r3, r2 + 800a63a: d10d bne.n 800a658 { assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); /* Reset the Output N Polarity level */ tmpccer &= ~TIM_CCER_CC2NP; - 800aaa0: 697b ldr r3, [r7, #20] - 800aaa2: f023 0380 bic.w r3, r3, #128 ; 0x80 - 800aaa6: 617b str r3, [r7, #20] + 800a63c: 697b ldr r3, [r7, #20] + 800a63e: f023 0380 bic.w r3, r3, #128 ; 0x80 + 800a642: 617b str r3, [r7, #20] /* Set the Output N Polarity */ tmpccer |= (OC_Config->OCNPolarity << 4U); - 800aaa8: 683b ldr r3, [r7, #0] - 800aaaa: 68db ldr r3, [r3, #12] - 800aaac: 011b lsls r3, r3, #4 - 800aaae: 697a ldr r2, [r7, #20] - 800aab0: 4313 orrs r3, r2 - 800aab2: 617b str r3, [r7, #20] + 800a644: 683b ldr r3, [r7, #0] + 800a646: 68db ldr r3, [r3, #12] + 800a648: 011b lsls r3, r3, #4 + 800a64a: 697a ldr r2, [r7, #20] + 800a64c: 4313 orrs r3, r2 + 800a64e: 617b str r3, [r7, #20] /* Reset the Output N State */ tmpccer &= ~TIM_CCER_CC2NE; - 800aab4: 697b ldr r3, [r7, #20] - 800aab6: f023 0340 bic.w r3, r3, #64 ; 0x40 - 800aaba: 617b str r3, [r7, #20] + 800a650: 697b ldr r3, [r7, #20] + 800a652: f023 0340 bic.w r3, r3, #64 ; 0x40 + 800a656: 617b str r3, [r7, #20] } if (IS_TIM_BREAK_INSTANCE(TIMx)) - 800aabc: 687b ldr r3, [r7, #4] - 800aabe: 4a18 ldr r2, [pc, #96] ; (800ab20 ) - 800aac0: 4293 cmp r3, r2 - 800aac2: d003 beq.n 800aacc - 800aac4: 687b ldr r3, [r7, #4] - 800aac6: 4a17 ldr r2, [pc, #92] ; (800ab24 ) - 800aac8: 4293 cmp r3, r2 - 800aaca: d113 bne.n 800aaf4 + 800a658: 687b ldr r3, [r7, #4] + 800a65a: 4a18 ldr r2, [pc, #96] ; (800a6bc ) + 800a65c: 4293 cmp r3, r2 + 800a65e: d003 beq.n 800a668 + 800a660: 687b ldr r3, [r7, #4] + 800a662: 4a17 ldr r2, [pc, #92] ; (800a6c0 ) + 800a664: 4293 cmp r3, r2 + 800a666: d113 bne.n 800a690 /* Check parameters */ assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); /* Reset the Output Compare and Output Compare N IDLE State */ tmpcr2 &= ~TIM_CR2_OIS2; - 800aacc: 693b ldr r3, [r7, #16] - 800aace: f423 6380 bic.w r3, r3, #1024 ; 0x400 - 800aad2: 613b str r3, [r7, #16] + 800a668: 693b ldr r3, [r7, #16] + 800a66a: f423 6380 bic.w r3, r3, #1024 ; 0x400 + 800a66e: 613b str r3, [r7, #16] tmpcr2 &= ~TIM_CR2_OIS2N; - 800aad4: 693b ldr r3, [r7, #16] - 800aad6: f423 6300 bic.w r3, r3, #2048 ; 0x800 - 800aada: 613b str r3, [r7, #16] + 800a670: 693b ldr r3, [r7, #16] + 800a672: f423 6300 bic.w r3, r3, #2048 ; 0x800 + 800a676: 613b str r3, [r7, #16] /* Set the Output Idle state */ tmpcr2 |= (OC_Config->OCIdleState << 2U); - 800aadc: 683b ldr r3, [r7, #0] - 800aade: 695b ldr r3, [r3, #20] - 800aae0: 009b lsls r3, r3, #2 - 800aae2: 693a ldr r2, [r7, #16] - 800aae4: 4313 orrs r3, r2 - 800aae6: 613b str r3, [r7, #16] + 800a678: 683b ldr r3, [r7, #0] + 800a67a: 695b ldr r3, [r3, #20] + 800a67c: 009b lsls r3, r3, #2 + 800a67e: 693a ldr r2, [r7, #16] + 800a680: 4313 orrs r3, r2 + 800a682: 613b str r3, [r7, #16] /* Set the Output N Idle state */ tmpcr2 |= (OC_Config->OCNIdleState << 2U); - 800aae8: 683b ldr r3, [r7, #0] - 800aaea: 699b ldr r3, [r3, #24] - 800aaec: 009b lsls r3, r3, #2 - 800aaee: 693a ldr r2, [r7, #16] - 800aaf0: 4313 orrs r3, r2 - 800aaf2: 613b str r3, [r7, #16] + 800a684: 683b ldr r3, [r7, #0] + 800a686: 699b ldr r3, [r3, #24] + 800a688: 009b lsls r3, r3, #2 + 800a68a: 693a ldr r2, [r7, #16] + 800a68c: 4313 orrs r3, r2 + 800a68e: 613b str r3, [r7, #16] } /* Write to TIMx CR2 */ TIMx->CR2 = tmpcr2; - 800aaf4: 687b ldr r3, [r7, #4] - 800aaf6: 693a ldr r2, [r7, #16] - 800aaf8: 605a str r2, [r3, #4] + 800a690: 687b ldr r3, [r7, #4] + 800a692: 693a ldr r2, [r7, #16] + 800a694: 605a str r2, [r3, #4] /* Write to TIMx CCMR1 */ TIMx->CCMR1 = tmpccmrx; - 800aafa: 687b ldr r3, [r7, #4] - 800aafc: 68fa ldr r2, [r7, #12] - 800aafe: 619a str r2, [r3, #24] + 800a696: 687b ldr r3, [r7, #4] + 800a698: 68fa ldr r2, [r7, #12] + 800a69a: 619a str r2, [r3, #24] /* Set the Capture Compare Register value */ TIMx->CCR2 = OC_Config->Pulse; - 800ab00: 683b ldr r3, [r7, #0] - 800ab02: 685a ldr r2, [r3, #4] - 800ab04: 687b ldr r3, [r7, #4] - 800ab06: 639a str r2, [r3, #56] ; 0x38 + 800a69c: 683b ldr r3, [r7, #0] + 800a69e: 685a ldr r2, [r3, #4] + 800a6a0: 687b ldr r3, [r7, #4] + 800a6a2: 639a str r2, [r3, #56] ; 0x38 /* Write to TIMx CCER */ TIMx->CCER = tmpccer; - 800ab08: 687b ldr r3, [r7, #4] + 800a6a4: 687b ldr r3, [r7, #4] + 800a6a6: 697a ldr r2, [r7, #20] + 800a6a8: 621a str r2, [r3, #32] +} + 800a6aa: bf00 nop + 800a6ac: 371c adds r7, #28 + 800a6ae: 46bd mov sp, r7 + 800a6b0: f85d 7b04 ldr.w r7, [sp], #4 + 800a6b4: 4770 bx lr + 800a6b6: bf00 nop + 800a6b8: feff8fff .word 0xfeff8fff + 800a6bc: 40010000 .word 0x40010000 + 800a6c0: 40010400 .word 0x40010400 + +0800a6c4 : + * @param TIMx to select the TIM peripheral + * @param OC_Config The ouput configuration structure + * @retval None + */ +static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) +{ + 800a6c4: b480 push {r7} + 800a6c6: b087 sub sp, #28 + 800a6c8: af00 add r7, sp, #0 + 800a6ca: 6078 str r0, [r7, #4] + 800a6cc: 6039 str r1, [r7, #0] + uint32_t tmpccmrx; + uint32_t tmpccer; + uint32_t tmpcr2; + + /* Disable the Channel 3: Reset the CC2E Bit */ + TIMx->CCER &= ~TIM_CCER_CC3E; + 800a6ce: 687b ldr r3, [r7, #4] + 800a6d0: 6a1b ldr r3, [r3, #32] + 800a6d2: f423 7280 bic.w r2, r3, #256 ; 0x100 + 800a6d6: 687b ldr r3, [r7, #4] + 800a6d8: 621a str r2, [r3, #32] + + /* Get the TIMx CCER register value */ + tmpccer = TIMx->CCER; + 800a6da: 687b ldr r3, [r7, #4] + 800a6dc: 6a1b ldr r3, [r3, #32] + 800a6de: 617b str r3, [r7, #20] + /* Get the TIMx CR2 register value */ + tmpcr2 = TIMx->CR2; + 800a6e0: 687b ldr r3, [r7, #4] + 800a6e2: 685b ldr r3, [r3, #4] + 800a6e4: 613b str r3, [r7, #16] + + /* Get the TIMx CCMR2 register value */ + tmpccmrx = TIMx->CCMR2; + 800a6e6: 687b ldr r3, [r7, #4] + 800a6e8: 69db ldr r3, [r3, #28] + 800a6ea: 60fb str r3, [r7, #12] + + /* Reset the Output Compare mode and Capture/Compare selection Bits */ + tmpccmrx &= ~TIM_CCMR2_OC3M; + 800a6ec: 68fa ldr r2, [r7, #12] + 800a6ee: 4b2d ldr r3, [pc, #180] ; (800a7a4 ) + 800a6f0: 4013 ands r3, r2 + 800a6f2: 60fb str r3, [r7, #12] + tmpccmrx &= ~TIM_CCMR2_CC3S; + 800a6f4: 68fb ldr r3, [r7, #12] + 800a6f6: f023 0303 bic.w r3, r3, #3 + 800a6fa: 60fb str r3, [r7, #12] + /* Select the Output Compare Mode */ + tmpccmrx |= OC_Config->OCMode; + 800a6fc: 683b ldr r3, [r7, #0] + 800a6fe: 681b ldr r3, [r3, #0] + 800a700: 68fa ldr r2, [r7, #12] + 800a702: 4313 orrs r3, r2 + 800a704: 60fb str r3, [r7, #12] + + /* Reset the Output Polarity level */ + tmpccer &= ~TIM_CCER_CC3P; + 800a706: 697b ldr r3, [r7, #20] + 800a708: f423 7300 bic.w r3, r3, #512 ; 0x200 + 800a70c: 617b str r3, [r7, #20] + /* Set the Output Compare Polarity */ + tmpccer |= (OC_Config->OCPolarity << 8U); + 800a70e: 683b ldr r3, [r7, #0] + 800a710: 689b ldr r3, [r3, #8] + 800a712: 021b lsls r3, r3, #8 + 800a714: 697a ldr r2, [r7, #20] + 800a716: 4313 orrs r3, r2 + 800a718: 617b str r3, [r7, #20] + + if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_3)) + 800a71a: 687b ldr r3, [r7, #4] + 800a71c: 4a22 ldr r2, [pc, #136] ; (800a7a8 ) + 800a71e: 4293 cmp r3, r2 + 800a720: d003 beq.n 800a72a + 800a722: 687b ldr r3, [r7, #4] + 800a724: 4a21 ldr r2, [pc, #132] ; (800a7ac ) + 800a726: 4293 cmp r3, r2 + 800a728: d10d bne.n 800a746 + { + assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); + + /* Reset the Output N Polarity level */ + tmpccer &= ~TIM_CCER_CC3NP; + 800a72a: 697b ldr r3, [r7, #20] + 800a72c: f423 6300 bic.w r3, r3, #2048 ; 0x800 + 800a730: 617b str r3, [r7, #20] + /* Set the Output N Polarity */ + tmpccer |= (OC_Config->OCNPolarity << 8U); + 800a732: 683b ldr r3, [r7, #0] + 800a734: 68db ldr r3, [r3, #12] + 800a736: 021b lsls r3, r3, #8 + 800a738: 697a ldr r2, [r7, #20] + 800a73a: 4313 orrs r3, r2 + 800a73c: 617b str r3, [r7, #20] + /* Reset the Output N State */ + tmpccer &= ~TIM_CCER_CC3NE; + 800a73e: 697b ldr r3, [r7, #20] + 800a740: f423 6380 bic.w r3, r3, #1024 ; 0x400 + 800a744: 617b str r3, [r7, #20] + } + + if (IS_TIM_BREAK_INSTANCE(TIMx)) + 800a746: 687b ldr r3, [r7, #4] + 800a748: 4a17 ldr r2, [pc, #92] ; (800a7a8 ) + 800a74a: 4293 cmp r3, r2 + 800a74c: d003 beq.n 800a756 + 800a74e: 687b ldr r3, [r7, #4] + 800a750: 4a16 ldr r2, [pc, #88] ; (800a7ac ) + 800a752: 4293 cmp r3, r2 + 800a754: d113 bne.n 800a77e + /* Check parameters */ + assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); + assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); + + /* Reset the Output Compare and Output Compare N IDLE State */ + tmpcr2 &= ~TIM_CR2_OIS3; + 800a756: 693b ldr r3, [r7, #16] + 800a758: f423 5380 bic.w r3, r3, #4096 ; 0x1000 + 800a75c: 613b str r3, [r7, #16] + tmpcr2 &= ~TIM_CR2_OIS3N; + 800a75e: 693b ldr r3, [r7, #16] + 800a760: f423 5300 bic.w r3, r3, #8192 ; 0x2000 + 800a764: 613b str r3, [r7, #16] + /* Set the Output Idle state */ + tmpcr2 |= (OC_Config->OCIdleState << 4U); + 800a766: 683b ldr r3, [r7, #0] + 800a768: 695b ldr r3, [r3, #20] + 800a76a: 011b lsls r3, r3, #4 + 800a76c: 693a ldr r2, [r7, #16] + 800a76e: 4313 orrs r3, r2 + 800a770: 613b str r3, [r7, #16] + /* Set the Output N Idle state */ + tmpcr2 |= (OC_Config->OCNIdleState << 4U); + 800a772: 683b ldr r3, [r7, #0] + 800a774: 699b ldr r3, [r3, #24] + 800a776: 011b lsls r3, r3, #4 + 800a778: 693a ldr r2, [r7, #16] + 800a77a: 4313 orrs r3, r2 + 800a77c: 613b str r3, [r7, #16] + } + + /* Write to TIMx CR2 */ + TIMx->CR2 = tmpcr2; + 800a77e: 687b ldr r3, [r7, #4] + 800a780: 693a ldr r2, [r7, #16] + 800a782: 605a str r2, [r3, #4] + + /* Write to TIMx CCMR2 */ + TIMx->CCMR2 = tmpccmrx; + 800a784: 687b ldr r3, [r7, #4] + 800a786: 68fa ldr r2, [r7, #12] + 800a788: 61da str r2, [r3, #28] + + /* Set the Capture Compare Register value */ + TIMx->CCR3 = OC_Config->Pulse; + 800a78a: 683b ldr r3, [r7, #0] + 800a78c: 685a ldr r2, [r3, #4] + 800a78e: 687b ldr r3, [r7, #4] + 800a790: 63da str r2, [r3, #60] ; 0x3c + + /* Write to TIMx CCER */ + TIMx->CCER = tmpccer; + 800a792: 687b ldr r3, [r7, #4] + 800a794: 697a ldr r2, [r7, #20] + 800a796: 621a str r2, [r3, #32] +} + 800a798: bf00 nop + 800a79a: 371c adds r7, #28 + 800a79c: 46bd mov sp, r7 + 800a79e: f85d 7b04 ldr.w r7, [sp], #4 + 800a7a2: 4770 bx lr + 800a7a4: fffeff8f .word 0xfffeff8f + 800a7a8: 40010000 .word 0x40010000 + 800a7ac: 40010400 .word 0x40010400 + +0800a7b0 : + * @param TIMx to select the TIM peripheral + * @param OC_Config The ouput configuration structure + * @retval None + */ +static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) +{ + 800a7b0: b480 push {r7} + 800a7b2: b087 sub sp, #28 + 800a7b4: af00 add r7, sp, #0 + 800a7b6: 6078 str r0, [r7, #4] + 800a7b8: 6039 str r1, [r7, #0] + uint32_t tmpccmrx; + uint32_t tmpccer; + uint32_t tmpcr2; + + /* Disable the Channel 4: Reset the CC4E Bit */ + TIMx->CCER &= ~TIM_CCER_CC4E; + 800a7ba: 687b ldr r3, [r7, #4] + 800a7bc: 6a1b ldr r3, [r3, #32] + 800a7be: f423 5280 bic.w r2, r3, #4096 ; 0x1000 + 800a7c2: 687b ldr r3, [r7, #4] + 800a7c4: 621a str r2, [r3, #32] + + /* Get the TIMx CCER register value */ + tmpccer = TIMx->CCER; + 800a7c6: 687b ldr r3, [r7, #4] + 800a7c8: 6a1b ldr r3, [r3, #32] + 800a7ca: 613b str r3, [r7, #16] + /* Get the TIMx CR2 register value */ + tmpcr2 = TIMx->CR2; + 800a7cc: 687b ldr r3, [r7, #4] + 800a7ce: 685b ldr r3, [r3, #4] + 800a7d0: 617b str r3, [r7, #20] + + /* Get the TIMx CCMR2 register value */ + tmpccmrx = TIMx->CCMR2; + 800a7d2: 687b ldr r3, [r7, #4] + 800a7d4: 69db ldr r3, [r3, #28] + 800a7d6: 60fb str r3, [r7, #12] + + /* Reset the Output Compare mode and Capture/Compare selection Bits */ + tmpccmrx &= ~TIM_CCMR2_OC4M; + 800a7d8: 68fa ldr r2, [r7, #12] + 800a7da: 4b1e ldr r3, [pc, #120] ; (800a854 ) + 800a7dc: 4013 ands r3, r2 + 800a7de: 60fb str r3, [r7, #12] + tmpccmrx &= ~TIM_CCMR2_CC4S; + 800a7e0: 68fb ldr r3, [r7, #12] + 800a7e2: f423 7340 bic.w r3, r3, #768 ; 0x300 + 800a7e6: 60fb str r3, [r7, #12] + + /* Select the Output Compare Mode */ + tmpccmrx |= (OC_Config->OCMode << 8U); + 800a7e8: 683b ldr r3, [r7, #0] + 800a7ea: 681b ldr r3, [r3, #0] + 800a7ec: 021b lsls r3, r3, #8 + 800a7ee: 68fa ldr r2, [r7, #12] + 800a7f0: 4313 orrs r3, r2 + 800a7f2: 60fb str r3, [r7, #12] + + /* Reset the Output Polarity level */ + tmpccer &= ~TIM_CCER_CC4P; + 800a7f4: 693b ldr r3, [r7, #16] + 800a7f6: f423 5300 bic.w r3, r3, #8192 ; 0x2000 + 800a7fa: 613b str r3, [r7, #16] + /* Set the Output Compare Polarity */ + tmpccer |= (OC_Config->OCPolarity << 12U); + 800a7fc: 683b ldr r3, [r7, #0] + 800a7fe: 689b ldr r3, [r3, #8] + 800a800: 031b lsls r3, r3, #12 + 800a802: 693a ldr r2, [r7, #16] + 800a804: 4313 orrs r3, r2 + 800a806: 613b str r3, [r7, #16] + + if (IS_TIM_BREAK_INSTANCE(TIMx)) + 800a808: 687b ldr r3, [r7, #4] + 800a80a: 4a13 ldr r2, [pc, #76] ; (800a858 ) + 800a80c: 4293 cmp r3, r2 + 800a80e: d003 beq.n 800a818 + 800a810: 687b ldr r3, [r7, #4] + 800a812: 4a12 ldr r2, [pc, #72] ; (800a85c ) + 800a814: 4293 cmp r3, r2 + 800a816: d109 bne.n 800a82c + { + /* Check parameters */ + assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); + + /* Reset the Output Compare IDLE State */ + tmpcr2 &= ~TIM_CR2_OIS4; + 800a818: 697b ldr r3, [r7, #20] + 800a81a: f423 4380 bic.w r3, r3, #16384 ; 0x4000 + 800a81e: 617b str r3, [r7, #20] + + /* Set the Output Idle state */ + tmpcr2 |= (OC_Config->OCIdleState << 6U); + 800a820: 683b ldr r3, [r7, #0] + 800a822: 695b ldr r3, [r3, #20] + 800a824: 019b lsls r3, r3, #6 + 800a826: 697a ldr r2, [r7, #20] + 800a828: 4313 orrs r3, r2 + 800a82a: 617b str r3, [r7, #20] + } + + /* Write to TIMx CR2 */ + TIMx->CR2 = tmpcr2; + 800a82c: 687b ldr r3, [r7, #4] + 800a82e: 697a ldr r2, [r7, #20] + 800a830: 605a str r2, [r3, #4] + + /* Write to TIMx CCMR2 */ + TIMx->CCMR2 = tmpccmrx; + 800a832: 687b ldr r3, [r7, #4] + 800a834: 68fa ldr r2, [r7, #12] + 800a836: 61da str r2, [r3, #28] + + /* Set the Capture Compare Register value */ + TIMx->CCR4 = OC_Config->Pulse; + 800a838: 683b ldr r3, [r7, #0] + 800a83a: 685a ldr r2, [r3, #4] + 800a83c: 687b ldr r3, [r7, #4] + 800a83e: 641a str r2, [r3, #64] ; 0x40 + + /* Write to TIMx CCER */ + TIMx->CCER = tmpccer; + 800a840: 687b ldr r3, [r7, #4] + 800a842: 693a ldr r2, [r7, #16] + 800a844: 621a str r2, [r3, #32] +} + 800a846: bf00 nop + 800a848: 371c adds r7, #28 + 800a84a: 46bd mov sp, r7 + 800a84c: f85d 7b04 ldr.w r7, [sp], #4 + 800a850: 4770 bx lr + 800a852: bf00 nop + 800a854: feff8fff .word 0xfeff8fff + 800a858: 40010000 .word 0x40010000 + 800a85c: 40010400 .word 0x40010400 + +0800a860 : + * @param OC_Config The ouput configuration structure + * @retval None + */ +static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, + TIM_OC_InitTypeDef *OC_Config) +{ + 800a860: b480 push {r7} + 800a862: b087 sub sp, #28 + 800a864: af00 add r7, sp, #0 + 800a866: 6078 str r0, [r7, #4] + 800a868: 6039 str r1, [r7, #0] + uint32_t tmpccmrx; + uint32_t tmpccer; + uint32_t tmpcr2; + + /* Disable the output: Reset the CCxE Bit */ + TIMx->CCER &= ~TIM_CCER_CC5E; + 800a86a: 687b ldr r3, [r7, #4] + 800a86c: 6a1b ldr r3, [r3, #32] + 800a86e: f423 3280 bic.w r2, r3, #65536 ; 0x10000 + 800a872: 687b ldr r3, [r7, #4] + 800a874: 621a str r2, [r3, #32] + + /* Get the TIMx CCER register value */ + tmpccer = TIMx->CCER; + 800a876: 687b ldr r3, [r7, #4] + 800a878: 6a1b ldr r3, [r3, #32] + 800a87a: 613b str r3, [r7, #16] + /* Get the TIMx CR2 register value */ + tmpcr2 = TIMx->CR2; + 800a87c: 687b ldr r3, [r7, #4] + 800a87e: 685b ldr r3, [r3, #4] + 800a880: 617b str r3, [r7, #20] + /* Get the TIMx CCMR1 register value */ + tmpccmrx = TIMx->CCMR3; + 800a882: 687b ldr r3, [r7, #4] + 800a884: 6d5b ldr r3, [r3, #84] ; 0x54 + 800a886: 60fb str r3, [r7, #12] + + /* Reset the Output Compare Mode Bits */ + tmpccmrx &= ~(TIM_CCMR3_OC5M); + 800a888: 68fa ldr r2, [r7, #12] + 800a88a: 4b1b ldr r3, [pc, #108] ; (800a8f8 ) + 800a88c: 4013 ands r3, r2 + 800a88e: 60fb str r3, [r7, #12] + /* Select the Output Compare Mode */ + tmpccmrx |= OC_Config->OCMode; + 800a890: 683b ldr r3, [r7, #0] + 800a892: 681b ldr r3, [r3, #0] + 800a894: 68fa ldr r2, [r7, #12] + 800a896: 4313 orrs r3, r2 + 800a898: 60fb str r3, [r7, #12] + + /* Reset the Output Polarity level */ + tmpccer &= ~TIM_CCER_CC5P; + 800a89a: 693b ldr r3, [r7, #16] + 800a89c: f423 3300 bic.w r3, r3, #131072 ; 0x20000 + 800a8a0: 613b str r3, [r7, #16] + /* Set the Output Compare Polarity */ + tmpccer |= (OC_Config->OCPolarity << 16U); + 800a8a2: 683b ldr r3, [r7, #0] + 800a8a4: 689b ldr r3, [r3, #8] + 800a8a6: 041b lsls r3, r3, #16 + 800a8a8: 693a ldr r2, [r7, #16] + 800a8aa: 4313 orrs r3, r2 + 800a8ac: 613b str r3, [r7, #16] + + if (IS_TIM_BREAK_INSTANCE(TIMx)) + 800a8ae: 687b ldr r3, [r7, #4] + 800a8b0: 4a12 ldr r2, [pc, #72] ; (800a8fc ) + 800a8b2: 4293 cmp r3, r2 + 800a8b4: d003 beq.n 800a8be + 800a8b6: 687b ldr r3, [r7, #4] + 800a8b8: 4a11 ldr r2, [pc, #68] ; (800a900 ) + 800a8ba: 4293 cmp r3, r2 + 800a8bc: d109 bne.n 800a8d2 + { + /* Reset the Output Compare IDLE State */ + tmpcr2 &= ~TIM_CR2_OIS5; + 800a8be: 697b ldr r3, [r7, #20] + 800a8c0: f423 3380 bic.w r3, r3, #65536 ; 0x10000 + 800a8c4: 617b str r3, [r7, #20] + /* Set the Output Idle state */ + tmpcr2 |= (OC_Config->OCIdleState << 8U); + 800a8c6: 683b ldr r3, [r7, #0] + 800a8c8: 695b ldr r3, [r3, #20] + 800a8ca: 021b lsls r3, r3, #8 + 800a8cc: 697a ldr r2, [r7, #20] + 800a8ce: 4313 orrs r3, r2 + 800a8d0: 617b str r3, [r7, #20] + } + /* Write to TIMx CR2 */ + TIMx->CR2 = tmpcr2; + 800a8d2: 687b ldr r3, [r7, #4] + 800a8d4: 697a ldr r2, [r7, #20] + 800a8d6: 605a str r2, [r3, #4] + + /* Write to TIMx CCMR3 */ + TIMx->CCMR3 = tmpccmrx; + 800a8d8: 687b ldr r3, [r7, #4] + 800a8da: 68fa ldr r2, [r7, #12] + 800a8dc: 655a str r2, [r3, #84] ; 0x54 + + /* Set the Capture Compare Register value */ + TIMx->CCR5 = OC_Config->Pulse; + 800a8de: 683b ldr r3, [r7, #0] + 800a8e0: 685a ldr r2, [r3, #4] + 800a8e2: 687b ldr r3, [r7, #4] + 800a8e4: 659a str r2, [r3, #88] ; 0x58 + + /* Write to TIMx CCER */ + TIMx->CCER = tmpccer; + 800a8e6: 687b ldr r3, [r7, #4] + 800a8e8: 693a ldr r2, [r7, #16] + 800a8ea: 621a str r2, [r3, #32] +} + 800a8ec: bf00 nop + 800a8ee: 371c adds r7, #28 + 800a8f0: 46bd mov sp, r7 + 800a8f2: f85d 7b04 ldr.w r7, [sp], #4 + 800a8f6: 4770 bx lr + 800a8f8: fffeff8f .word 0xfffeff8f + 800a8fc: 40010000 .word 0x40010000 + 800a900: 40010400 .word 0x40010400 + +0800a904 : + * @param OC_Config The ouput configuration structure + * @retval None + */ +static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, + TIM_OC_InitTypeDef *OC_Config) +{ + 800a904: b480 push {r7} + 800a906: b087 sub sp, #28 + 800a908: af00 add r7, sp, #0 + 800a90a: 6078 str r0, [r7, #4] + 800a90c: 6039 str r1, [r7, #0] + uint32_t tmpccmrx; + uint32_t tmpccer; + uint32_t tmpcr2; + + /* Disable the output: Reset the CCxE Bit */ + TIMx->CCER &= ~TIM_CCER_CC6E; + 800a90e: 687b ldr r3, [r7, #4] + 800a910: 6a1b ldr r3, [r3, #32] + 800a912: f423 1280 bic.w r2, r3, #1048576 ; 0x100000 + 800a916: 687b ldr r3, [r7, #4] + 800a918: 621a str r2, [r3, #32] + + /* Get the TIMx CCER register value */ + tmpccer = TIMx->CCER; + 800a91a: 687b ldr r3, [r7, #4] + 800a91c: 6a1b ldr r3, [r3, #32] + 800a91e: 613b str r3, [r7, #16] + /* Get the TIMx CR2 register value */ + tmpcr2 = TIMx->CR2; + 800a920: 687b ldr r3, [r7, #4] + 800a922: 685b ldr r3, [r3, #4] + 800a924: 617b str r3, [r7, #20] + /* Get the TIMx CCMR1 register value */ + tmpccmrx = TIMx->CCMR3; + 800a926: 687b ldr r3, [r7, #4] + 800a928: 6d5b ldr r3, [r3, #84] ; 0x54 + 800a92a: 60fb str r3, [r7, #12] + + /* Reset the Output Compare Mode Bits */ + tmpccmrx &= ~(TIM_CCMR3_OC6M); + 800a92c: 68fa ldr r2, [r7, #12] + 800a92e: 4b1c ldr r3, [pc, #112] ; (800a9a0 ) + 800a930: 4013 ands r3, r2 + 800a932: 60fb str r3, [r7, #12] + /* Select the Output Compare Mode */ + tmpccmrx |= (OC_Config->OCMode << 8U); + 800a934: 683b ldr r3, [r7, #0] + 800a936: 681b ldr r3, [r3, #0] + 800a938: 021b lsls r3, r3, #8 + 800a93a: 68fa ldr r2, [r7, #12] + 800a93c: 4313 orrs r3, r2 + 800a93e: 60fb str r3, [r7, #12] + + /* Reset the Output Polarity level */ + tmpccer &= (uint32_t)~TIM_CCER_CC6P; + 800a940: 693b ldr r3, [r7, #16] + 800a942: f423 1300 bic.w r3, r3, #2097152 ; 0x200000 + 800a946: 613b str r3, [r7, #16] + /* Set the Output Compare Polarity */ + tmpccer |= (OC_Config->OCPolarity << 20U); + 800a948: 683b ldr r3, [r7, #0] + 800a94a: 689b ldr r3, [r3, #8] + 800a94c: 051b lsls r3, r3, #20 + 800a94e: 693a ldr r2, [r7, #16] + 800a950: 4313 orrs r3, r2 + 800a952: 613b str r3, [r7, #16] + + if (IS_TIM_BREAK_INSTANCE(TIMx)) + 800a954: 687b ldr r3, [r7, #4] + 800a956: 4a13 ldr r2, [pc, #76] ; (800a9a4 ) + 800a958: 4293 cmp r3, r2 + 800a95a: d003 beq.n 800a964 + 800a95c: 687b ldr r3, [r7, #4] + 800a95e: 4a12 ldr r2, [pc, #72] ; (800a9a8 ) + 800a960: 4293 cmp r3, r2 + 800a962: d109 bne.n 800a978 + { + /* Reset the Output Compare IDLE State */ + tmpcr2 &= ~TIM_CR2_OIS6; + 800a964: 697b ldr r3, [r7, #20] + 800a966: f423 2380 bic.w r3, r3, #262144 ; 0x40000 + 800a96a: 617b str r3, [r7, #20] + /* Set the Output Idle state */ + tmpcr2 |= (OC_Config->OCIdleState << 10U); + 800a96c: 683b ldr r3, [r7, #0] + 800a96e: 695b ldr r3, [r3, #20] + 800a970: 029b lsls r3, r3, #10 + 800a972: 697a ldr r2, [r7, #20] + 800a974: 4313 orrs r3, r2 + 800a976: 617b str r3, [r7, #20] + } + + /* Write to TIMx CR2 */ + TIMx->CR2 = tmpcr2; + 800a978: 687b ldr r3, [r7, #4] + 800a97a: 697a ldr r2, [r7, #20] + 800a97c: 605a str r2, [r3, #4] + + /* Write to TIMx CCMR3 */ + TIMx->CCMR3 = tmpccmrx; + 800a97e: 687b ldr r3, [r7, #4] + 800a980: 68fa ldr r2, [r7, #12] + 800a982: 655a str r2, [r3, #84] ; 0x54 + + /* Set the Capture Compare Register value */ + TIMx->CCR6 = OC_Config->Pulse; + 800a984: 683b ldr r3, [r7, #0] + 800a986: 685a ldr r2, [r3, #4] + 800a988: 687b ldr r3, [r7, #4] + 800a98a: 65da str r2, [r3, #92] ; 0x5c + + /* Write to TIMx CCER */ + TIMx->CCER = tmpccer; + 800a98c: 687b ldr r3, [r7, #4] + 800a98e: 693a ldr r2, [r7, #16] + 800a990: 621a str r2, [r3, #32] +} + 800a992: bf00 nop + 800a994: 371c adds r7, #28 + 800a996: 46bd mov sp, r7 + 800a998: f85d 7b04 ldr.w r7, [sp], #4 + 800a99c: 4770 bx lr + 800a99e: bf00 nop + 800a9a0: feff8fff .word 0xfeff8fff + 800a9a4: 40010000 .word 0x40010000 + 800a9a8: 40010400 .word 0x40010400 + +0800a9ac : + * @param sSlaveConfig Slave timer configuration + * @retval None + */ +static HAL_StatusTypeDef TIM_SlaveTimer_SetConfig(TIM_HandleTypeDef *htim, + TIM_SlaveConfigTypeDef *sSlaveConfig) +{ + 800a9ac: b580 push {r7, lr} + 800a9ae: b086 sub sp, #24 + 800a9b0: af00 add r7, sp, #0 + 800a9b2: 6078 str r0, [r7, #4] + 800a9b4: 6039 str r1, [r7, #0] + uint32_t tmpsmcr; + uint32_t tmpccmr1; + uint32_t tmpccer; + + /* Get the TIMx SMCR register value */ + tmpsmcr = htim->Instance->SMCR; + 800a9b6: 687b ldr r3, [r7, #4] + 800a9b8: 681b ldr r3, [r3, #0] + 800a9ba: 689b ldr r3, [r3, #8] + 800a9bc: 617b str r3, [r7, #20] + + /* Reset the Trigger Selection Bits */ + tmpsmcr &= ~TIM_SMCR_TS; + 800a9be: 697b ldr r3, [r7, #20] + 800a9c0: f023 0370 bic.w r3, r3, #112 ; 0x70 + 800a9c4: 617b str r3, [r7, #20] + /* Set the Input Trigger source */ + tmpsmcr |= sSlaveConfig->InputTrigger; + 800a9c6: 683b ldr r3, [r7, #0] + 800a9c8: 685b ldr r3, [r3, #4] + 800a9ca: 697a ldr r2, [r7, #20] + 800a9cc: 4313 orrs r3, r2 + 800a9ce: 617b str r3, [r7, #20] + + /* Reset the slave mode Bits */ + tmpsmcr &= ~TIM_SMCR_SMS; + 800a9d0: 697a ldr r2, [r7, #20] + 800a9d2: 4b39 ldr r3, [pc, #228] ; (800aab8 ) + 800a9d4: 4013 ands r3, r2 + 800a9d6: 617b str r3, [r7, #20] + /* Set the slave mode */ + tmpsmcr |= sSlaveConfig->SlaveMode; + 800a9d8: 683b ldr r3, [r7, #0] + 800a9da: 681b ldr r3, [r3, #0] + 800a9dc: 697a ldr r2, [r7, #20] + 800a9de: 4313 orrs r3, r2 + 800a9e0: 617b str r3, [r7, #20] + + /* Write to TIMx SMCR */ + htim->Instance->SMCR = tmpsmcr; + 800a9e2: 687b ldr r3, [r7, #4] + 800a9e4: 681b ldr r3, [r3, #0] + 800a9e6: 697a ldr r2, [r7, #20] + 800a9e8: 609a str r2, [r3, #8] + + /* Configure the trigger prescaler, filter, and polarity */ + switch (sSlaveConfig->InputTrigger) + 800a9ea: 683b ldr r3, [r7, #0] + 800a9ec: 685b ldr r3, [r3, #4] + 800a9ee: 2b30 cmp r3, #48 ; 0x30 + 800a9f0: d05c beq.n 800aaac + 800a9f2: 2b30 cmp r3, #48 ; 0x30 + 800a9f4: d806 bhi.n 800aa04 + 800a9f6: 2b10 cmp r3, #16 + 800a9f8: d058 beq.n 800aaac + 800a9fa: 2b20 cmp r3, #32 + 800a9fc: d056 beq.n 800aaac + 800a9fe: 2b00 cmp r3, #0 + 800aa00: d054 beq.n 800aaac + assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); + break; + } + + default: + break; + 800aa02: e054 b.n 800aaae + switch (sSlaveConfig->InputTrigger) + 800aa04: 2b50 cmp r3, #80 ; 0x50 + 800aa06: d03d beq.n 800aa84 + 800aa08: 2b50 cmp r3, #80 ; 0x50 + 800aa0a: d802 bhi.n 800aa12 + 800aa0c: 2b40 cmp r3, #64 ; 0x40 + 800aa0e: d010 beq.n 800aa32 + break; + 800aa10: e04d b.n 800aaae + switch (sSlaveConfig->InputTrigger) + 800aa12: 2b60 cmp r3, #96 ; 0x60 + 800aa14: d040 beq.n 800aa98 + 800aa16: 2b70 cmp r3, #112 ; 0x70 + 800aa18: d000 beq.n 800aa1c + break; + 800aa1a: e048 b.n 800aaae + TIM_ETR_SetConfig(htim->Instance, + 800aa1c: 687b ldr r3, [r7, #4] + 800aa1e: 6818 ldr r0, [r3, #0] + 800aa20: 683b ldr r3, [r7, #0] + 800aa22: 68d9 ldr r1, [r3, #12] + 800aa24: 683b ldr r3, [r7, #0] + 800aa26: 689a ldr r2, [r3, #8] + 800aa28: 683b ldr r3, [r7, #0] + 800aa2a: 691b ldr r3, [r3, #16] + 800aa2c: f000 f8c0 bl 800abb0 + break; + 800aa30: e03d b.n 800aaae + if(sSlaveConfig->SlaveMode == TIM_SLAVEMODE_GATED) + 800aa32: 683b ldr r3, [r7, #0] + 800aa34: 681b ldr r3, [r3, #0] + 800aa36: 2b05 cmp r3, #5 + 800aa38: d101 bne.n 800aa3e + return HAL_ERROR; + 800aa3a: 2301 movs r3, #1 + 800aa3c: e038 b.n 800aab0 + tmpccer = htim->Instance->CCER; + 800aa3e: 687b ldr r3, [r7, #4] + 800aa40: 681b ldr r3, [r3, #0] + 800aa42: 6a1b ldr r3, [r3, #32] + 800aa44: 613b str r3, [r7, #16] + htim->Instance->CCER &= ~TIM_CCER_CC1E; + 800aa46: 687b ldr r3, [r7, #4] + 800aa48: 681b ldr r3, [r3, #0] + 800aa4a: 6a1a ldr r2, [r3, #32] + 800aa4c: 687b ldr r3, [r7, #4] + 800aa4e: 681b ldr r3, [r3, #0] + 800aa50: f022 0201 bic.w r2, r2, #1 + 800aa54: 621a str r2, [r3, #32] + tmpccmr1 = htim->Instance->CCMR1; + 800aa56: 687b ldr r3, [r7, #4] + 800aa58: 681b ldr r3, [r3, #0] + 800aa5a: 699b ldr r3, [r3, #24] + 800aa5c: 60fb str r3, [r7, #12] + tmpccmr1 &= ~TIM_CCMR1_IC1F; + 800aa5e: 68fb ldr r3, [r7, #12] + 800aa60: f023 03f0 bic.w r3, r3, #240 ; 0xf0 + 800aa64: 60fb str r3, [r7, #12] + tmpccmr1 |= ((sSlaveConfig->TriggerFilter) << 4U); + 800aa66: 683b ldr r3, [r7, #0] + 800aa68: 691b ldr r3, [r3, #16] + 800aa6a: 011b lsls r3, r3, #4 + 800aa6c: 68fa ldr r2, [r7, #12] + 800aa6e: 4313 orrs r3, r2 + 800aa70: 60fb str r3, [r7, #12] + htim->Instance->CCMR1 = tmpccmr1; + 800aa72: 687b ldr r3, [r7, #4] + 800aa74: 681b ldr r3, [r3, #0] + 800aa76: 68fa ldr r2, [r7, #12] + 800aa78: 619a str r2, [r3, #24] + htim->Instance->CCER = tmpccer; + 800aa7a: 687b ldr r3, [r7, #4] + 800aa7c: 681b ldr r3, [r3, #0] + 800aa7e: 693a ldr r2, [r7, #16] + 800aa80: 621a str r2, [r3, #32] + break; + 800aa82: e014 b.n 800aaae + TIM_TI1_ConfigInputStage(htim->Instance, + 800aa84: 687b ldr r3, [r7, #4] + 800aa86: 6818 ldr r0, [r3, #0] + 800aa88: 683b ldr r3, [r7, #0] + 800aa8a: 6899 ldr r1, [r3, #8] + 800aa8c: 683b ldr r3, [r7, #0] + 800aa8e: 691b ldr r3, [r3, #16] + 800aa90: 461a mov r2, r3 + 800aa92: f000 f813 bl 800aabc + break; + 800aa96: e00a b.n 800aaae + TIM_TI2_ConfigInputStage(htim->Instance, + 800aa98: 687b ldr r3, [r7, #4] + 800aa9a: 6818 ldr r0, [r3, #0] + 800aa9c: 683b ldr r3, [r7, #0] + 800aa9e: 6899 ldr r1, [r3, #8] + 800aaa0: 683b ldr r3, [r7, #0] + 800aaa2: 691b ldr r3, [r3, #16] + 800aaa4: 461a mov r2, r3 + 800aaa6: f000 f838 bl 800ab1a + break; + 800aaaa: e000 b.n 800aaae + break; + 800aaac: bf00 nop + } + return HAL_OK; + 800aaae: 2300 movs r3, #0 +} + 800aab0: 4618 mov r0, r3 + 800aab2: 3718 adds r7, #24 + 800aab4: 46bd mov sp, r7 + 800aab6: bd80 pop {r7, pc} + 800aab8: fffefff8 .word 0xfffefff8 + +0800aabc : + * @param TIM_ICFilter Specifies the Input Capture Filter. + * This parameter must be a value between 0x00 and 0x0F. + * @retval None + */ +static void TIM_TI1_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFilter) +{ + 800aabc: b480 push {r7} + 800aabe: b087 sub sp, #28 + 800aac0: af00 add r7, sp, #0 + 800aac2: 60f8 str r0, [r7, #12] + 800aac4: 60b9 str r1, [r7, #8] + 800aac6: 607a str r2, [r7, #4] + uint32_t tmpccmr1; + uint32_t tmpccer; + + /* Disable the Channel 1: Reset the CC1E Bit */ + tmpccer = TIMx->CCER; + 800aac8: 68fb ldr r3, [r7, #12] + 800aaca: 6a1b ldr r3, [r3, #32] + 800aacc: 617b str r3, [r7, #20] + TIMx->CCER &= ~TIM_CCER_CC1E; + 800aace: 68fb ldr r3, [r7, #12] + 800aad0: 6a1b ldr r3, [r3, #32] + 800aad2: f023 0201 bic.w r2, r3, #1 + 800aad6: 68fb ldr r3, [r7, #12] + 800aad8: 621a str r2, [r3, #32] + tmpccmr1 = TIMx->CCMR1; + 800aada: 68fb ldr r3, [r7, #12] + 800aadc: 699b ldr r3, [r3, #24] + 800aade: 613b str r3, [r7, #16] + + /* Set the filter */ + tmpccmr1 &= ~TIM_CCMR1_IC1F; + 800aae0: 693b ldr r3, [r7, #16] + 800aae2: f023 03f0 bic.w r3, r3, #240 ; 0xf0 + 800aae6: 613b str r3, [r7, #16] + tmpccmr1 |= (TIM_ICFilter << 4U); + 800aae8: 687b ldr r3, [r7, #4] + 800aaea: 011b lsls r3, r3, #4 + 800aaec: 693a ldr r2, [r7, #16] + 800aaee: 4313 orrs r3, r2 + 800aaf0: 613b str r3, [r7, #16] + + /* Select the Polarity and set the CC1E Bit */ + tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC1NP); + 800aaf2: 697b ldr r3, [r7, #20] + 800aaf4: f023 030a bic.w r3, r3, #10 + 800aaf8: 617b str r3, [r7, #20] + tmpccer |= TIM_ICPolarity; + 800aafa: 697a ldr r2, [r7, #20] + 800aafc: 68bb ldr r3, [r7, #8] + 800aafe: 4313 orrs r3, r2 + 800ab00: 617b str r3, [r7, #20] + + /* Write to TIMx CCMR1 and CCER registers */ + TIMx->CCMR1 = tmpccmr1; + 800ab02: 68fb ldr r3, [r7, #12] + 800ab04: 693a ldr r2, [r7, #16] + 800ab06: 619a str r2, [r3, #24] + TIMx->CCER = tmpccer; + 800ab08: 68fb ldr r3, [r7, #12] 800ab0a: 697a ldr r2, [r7, #20] 800ab0c: 621a str r2, [r3, #32] } @@ -29046,4130 +29248,4114 @@ void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) 800ab12: 46bd mov sp, r7 800ab14: f85d 7b04 ldr.w r7, [sp], #4 800ab18: 4770 bx lr - 800ab1a: bf00 nop - 800ab1c: feff8fff .word 0xfeff8fff - 800ab20: 40010000 .word 0x40010000 - 800ab24: 40010400 .word 0x40010400 -0800ab28 : - * @param TIMx to select the TIM peripheral - * @param OC_Config The ouput configuration structure - * @retval None - */ -static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) -{ - 800ab28: b480 push {r7} - 800ab2a: b087 sub sp, #28 - 800ab2c: af00 add r7, sp, #0 - 800ab2e: 6078 str r0, [r7, #4] - 800ab30: 6039 str r1, [r7, #0] - uint32_t tmpccmrx; - uint32_t tmpccer; - uint32_t tmpcr2; - - /* Disable the Channel 3: Reset the CC2E Bit */ - TIMx->CCER &= ~TIM_CCER_CC3E; - 800ab32: 687b ldr r3, [r7, #4] - 800ab34: 6a1b ldr r3, [r3, #32] - 800ab36: f423 7280 bic.w r2, r3, #256 ; 0x100 - 800ab3a: 687b ldr r3, [r7, #4] - 800ab3c: 621a str r2, [r3, #32] - - /* Get the TIMx CCER register value */ - tmpccer = TIMx->CCER; - 800ab3e: 687b ldr r3, [r7, #4] - 800ab40: 6a1b ldr r3, [r3, #32] - 800ab42: 617b str r3, [r7, #20] - /* Get the TIMx CR2 register value */ - tmpcr2 = TIMx->CR2; - 800ab44: 687b ldr r3, [r7, #4] - 800ab46: 685b ldr r3, [r3, #4] - 800ab48: 613b str r3, [r7, #16] - - /* Get the TIMx CCMR2 register value */ - tmpccmrx = TIMx->CCMR2; - 800ab4a: 687b ldr r3, [r7, #4] - 800ab4c: 69db ldr r3, [r3, #28] - 800ab4e: 60fb str r3, [r7, #12] - - /* Reset the Output Compare mode and Capture/Compare selection Bits */ - tmpccmrx &= ~TIM_CCMR2_OC3M; - 800ab50: 68fa ldr r2, [r7, #12] - 800ab52: 4b2d ldr r3, [pc, #180] ; (800ac08 ) - 800ab54: 4013 ands r3, r2 - 800ab56: 60fb str r3, [r7, #12] - tmpccmrx &= ~TIM_CCMR2_CC3S; - 800ab58: 68fb ldr r3, [r7, #12] - 800ab5a: f023 0303 bic.w r3, r3, #3 - 800ab5e: 60fb str r3, [r7, #12] - /* Select the Output Compare Mode */ - tmpccmrx |= OC_Config->OCMode; - 800ab60: 683b ldr r3, [r7, #0] - 800ab62: 681b ldr r3, [r3, #0] - 800ab64: 68fa ldr r2, [r7, #12] - 800ab66: 4313 orrs r3, r2 - 800ab68: 60fb str r3, [r7, #12] - - /* Reset the Output Polarity level */ - tmpccer &= ~TIM_CCER_CC3P; - 800ab6a: 697b ldr r3, [r7, #20] - 800ab6c: f423 7300 bic.w r3, r3, #512 ; 0x200 - 800ab70: 617b str r3, [r7, #20] - /* Set the Output Compare Polarity */ - tmpccer |= (OC_Config->OCPolarity << 8U); - 800ab72: 683b ldr r3, [r7, #0] - 800ab74: 689b ldr r3, [r3, #8] - 800ab76: 021b lsls r3, r3, #8 - 800ab78: 697a ldr r2, [r7, #20] - 800ab7a: 4313 orrs r3, r2 - 800ab7c: 617b str r3, [r7, #20] - - if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_3)) - 800ab7e: 687b ldr r3, [r7, #4] - 800ab80: 4a22 ldr r2, [pc, #136] ; (800ac0c ) - 800ab82: 4293 cmp r3, r2 - 800ab84: d003 beq.n 800ab8e - 800ab86: 687b ldr r3, [r7, #4] - 800ab88: 4a21 ldr r2, [pc, #132] ; (800ac10 ) - 800ab8a: 4293 cmp r3, r2 - 800ab8c: d10d bne.n 800abaa - { - assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); - - /* Reset the Output N Polarity level */ - tmpccer &= ~TIM_CCER_CC3NP; - 800ab8e: 697b ldr r3, [r7, #20] - 800ab90: f423 6300 bic.w r3, r3, #2048 ; 0x800 - 800ab94: 617b str r3, [r7, #20] - /* Set the Output N Polarity */ - tmpccer |= (OC_Config->OCNPolarity << 8U); - 800ab96: 683b ldr r3, [r7, #0] - 800ab98: 68db ldr r3, [r3, #12] - 800ab9a: 021b lsls r3, r3, #8 - 800ab9c: 697a ldr r2, [r7, #20] - 800ab9e: 4313 orrs r3, r2 - 800aba0: 617b str r3, [r7, #20] - /* Reset the Output N State */ - tmpccer &= ~TIM_CCER_CC3NE; - 800aba2: 697b ldr r3, [r7, #20] - 800aba4: f423 6380 bic.w r3, r3, #1024 ; 0x400 - 800aba8: 617b str r3, [r7, #20] - } - - if (IS_TIM_BREAK_INSTANCE(TIMx)) - 800abaa: 687b ldr r3, [r7, #4] - 800abac: 4a17 ldr r2, [pc, #92] ; (800ac0c ) - 800abae: 4293 cmp r3, r2 - 800abb0: d003 beq.n 800abba - 800abb2: 687b ldr r3, [r7, #4] - 800abb4: 4a16 ldr r2, [pc, #88] ; (800ac10 ) - 800abb6: 4293 cmp r3, r2 - 800abb8: d113 bne.n 800abe2 - /* Check parameters */ - assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); - assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); - - /* Reset the Output Compare and Output Compare N IDLE State */ - tmpcr2 &= ~TIM_CR2_OIS3; - 800abba: 693b ldr r3, [r7, #16] - 800abbc: f423 5380 bic.w r3, r3, #4096 ; 0x1000 - 800abc0: 613b str r3, [r7, #16] - tmpcr2 &= ~TIM_CR2_OIS3N; - 800abc2: 693b ldr r3, [r7, #16] - 800abc4: f423 5300 bic.w r3, r3, #8192 ; 0x2000 - 800abc8: 613b str r3, [r7, #16] - /* Set the Output Idle state */ - tmpcr2 |= (OC_Config->OCIdleState << 4U); - 800abca: 683b ldr r3, [r7, #0] - 800abcc: 695b ldr r3, [r3, #20] - 800abce: 011b lsls r3, r3, #4 - 800abd0: 693a ldr r2, [r7, #16] - 800abd2: 4313 orrs r3, r2 - 800abd4: 613b str r3, [r7, #16] - /* Set the Output N Idle state */ - tmpcr2 |= (OC_Config->OCNIdleState << 4U); - 800abd6: 683b ldr r3, [r7, #0] - 800abd8: 699b ldr r3, [r3, #24] - 800abda: 011b lsls r3, r3, #4 - 800abdc: 693a ldr r2, [r7, #16] - 800abde: 4313 orrs r3, r2 - 800abe0: 613b str r3, [r7, #16] - } - - /* Write to TIMx CR2 */ - TIMx->CR2 = tmpcr2; - 800abe2: 687b ldr r3, [r7, #4] - 800abe4: 693a ldr r2, [r7, #16] - 800abe6: 605a str r2, [r3, #4] - - /* Write to TIMx CCMR2 */ - TIMx->CCMR2 = tmpccmrx; - 800abe8: 687b ldr r3, [r7, #4] - 800abea: 68fa ldr r2, [r7, #12] - 800abec: 61da str r2, [r3, #28] - - /* Set the Capture Compare Register value */ - TIMx->CCR3 = OC_Config->Pulse; - 800abee: 683b ldr r3, [r7, #0] - 800abf0: 685a ldr r2, [r3, #4] - 800abf2: 687b ldr r3, [r7, #4] - 800abf4: 63da str r2, [r3, #60] ; 0x3c - - /* Write to TIMx CCER */ - TIMx->CCER = tmpccer; - 800abf6: 687b ldr r3, [r7, #4] - 800abf8: 697a ldr r2, [r7, #20] - 800abfa: 621a str r2, [r3, #32] -} - 800abfc: bf00 nop - 800abfe: 371c adds r7, #28 - 800ac00: 46bd mov sp, r7 - 800ac02: f85d 7b04 ldr.w r7, [sp], #4 - 800ac06: 4770 bx lr - 800ac08: fffeff8f .word 0xfffeff8f - 800ac0c: 40010000 .word 0x40010000 - 800ac10: 40010400 .word 0x40010400 - -0800ac14 : - * @param TIMx to select the TIM peripheral - * @param OC_Config The ouput configuration structure - * @retval None - */ -static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) -{ - 800ac14: b480 push {r7} - 800ac16: b087 sub sp, #28 - 800ac18: af00 add r7, sp, #0 - 800ac1a: 6078 str r0, [r7, #4] - 800ac1c: 6039 str r1, [r7, #0] - uint32_t tmpccmrx; - uint32_t tmpccer; - uint32_t tmpcr2; - - /* Disable the Channel 4: Reset the CC4E Bit */ - TIMx->CCER &= ~TIM_CCER_CC4E; - 800ac1e: 687b ldr r3, [r7, #4] - 800ac20: 6a1b ldr r3, [r3, #32] - 800ac22: f423 5280 bic.w r2, r3, #4096 ; 0x1000 - 800ac26: 687b ldr r3, [r7, #4] - 800ac28: 621a str r2, [r3, #32] - - /* Get the TIMx CCER register value */ - tmpccer = TIMx->CCER; - 800ac2a: 687b ldr r3, [r7, #4] - 800ac2c: 6a1b ldr r3, [r3, #32] - 800ac2e: 613b str r3, [r7, #16] - /* Get the TIMx CR2 register value */ - tmpcr2 = TIMx->CR2; - 800ac30: 687b ldr r3, [r7, #4] - 800ac32: 685b ldr r3, [r3, #4] - 800ac34: 617b str r3, [r7, #20] - - /* Get the TIMx CCMR2 register value */ - tmpccmrx = TIMx->CCMR2; - 800ac36: 687b ldr r3, [r7, #4] - 800ac38: 69db ldr r3, [r3, #28] - 800ac3a: 60fb str r3, [r7, #12] - - /* Reset the Output Compare mode and Capture/Compare selection Bits */ - tmpccmrx &= ~TIM_CCMR2_OC4M; - 800ac3c: 68fa ldr r2, [r7, #12] - 800ac3e: 4b1e ldr r3, [pc, #120] ; (800acb8 ) - 800ac40: 4013 ands r3, r2 - 800ac42: 60fb str r3, [r7, #12] - tmpccmrx &= ~TIM_CCMR2_CC4S; - 800ac44: 68fb ldr r3, [r7, #12] - 800ac46: f423 7340 bic.w r3, r3, #768 ; 0x300 - 800ac4a: 60fb str r3, [r7, #12] - - /* Select the Output Compare Mode */ - tmpccmrx |= (OC_Config->OCMode << 8U); - 800ac4c: 683b ldr r3, [r7, #0] - 800ac4e: 681b ldr r3, [r3, #0] - 800ac50: 021b lsls r3, r3, #8 - 800ac52: 68fa ldr r2, [r7, #12] - 800ac54: 4313 orrs r3, r2 - 800ac56: 60fb str r3, [r7, #12] - - /* Reset the Output Polarity level */ - tmpccer &= ~TIM_CCER_CC4P; - 800ac58: 693b ldr r3, [r7, #16] - 800ac5a: f423 5300 bic.w r3, r3, #8192 ; 0x2000 - 800ac5e: 613b str r3, [r7, #16] - /* Set the Output Compare Polarity */ - tmpccer |= (OC_Config->OCPolarity << 12U); - 800ac60: 683b ldr r3, [r7, #0] - 800ac62: 689b ldr r3, [r3, #8] - 800ac64: 031b lsls r3, r3, #12 - 800ac66: 693a ldr r2, [r7, #16] - 800ac68: 4313 orrs r3, r2 - 800ac6a: 613b str r3, [r7, #16] - - if (IS_TIM_BREAK_INSTANCE(TIMx)) - 800ac6c: 687b ldr r3, [r7, #4] - 800ac6e: 4a13 ldr r2, [pc, #76] ; (800acbc ) - 800ac70: 4293 cmp r3, r2 - 800ac72: d003 beq.n 800ac7c - 800ac74: 687b ldr r3, [r7, #4] - 800ac76: 4a12 ldr r2, [pc, #72] ; (800acc0 ) - 800ac78: 4293 cmp r3, r2 - 800ac7a: d109 bne.n 800ac90 - { - /* Check parameters */ - assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); - - /* Reset the Output Compare IDLE State */ - tmpcr2 &= ~TIM_CR2_OIS4; - 800ac7c: 697b ldr r3, [r7, #20] - 800ac7e: f423 4380 bic.w r3, r3, #16384 ; 0x4000 - 800ac82: 617b str r3, [r7, #20] - - /* Set the Output Idle state */ - tmpcr2 |= (OC_Config->OCIdleState << 6U); - 800ac84: 683b ldr r3, [r7, #0] - 800ac86: 695b ldr r3, [r3, #20] - 800ac88: 019b lsls r3, r3, #6 - 800ac8a: 697a ldr r2, [r7, #20] - 800ac8c: 4313 orrs r3, r2 - 800ac8e: 617b str r3, [r7, #20] - } - - /* Write to TIMx CR2 */ - TIMx->CR2 = tmpcr2; - 800ac90: 687b ldr r3, [r7, #4] - 800ac92: 697a ldr r2, [r7, #20] - 800ac94: 605a str r2, [r3, #4] - - /* Write to TIMx CCMR2 */ - TIMx->CCMR2 = tmpccmrx; - 800ac96: 687b ldr r3, [r7, #4] - 800ac98: 68fa ldr r2, [r7, #12] - 800ac9a: 61da str r2, [r3, #28] - - /* Set the Capture Compare Register value */ - TIMx->CCR4 = OC_Config->Pulse; - 800ac9c: 683b ldr r3, [r7, #0] - 800ac9e: 685a ldr r2, [r3, #4] - 800aca0: 687b ldr r3, [r7, #4] - 800aca2: 641a str r2, [r3, #64] ; 0x40 - - /* Write to TIMx CCER */ - TIMx->CCER = tmpccer; - 800aca4: 687b ldr r3, [r7, #4] - 800aca6: 693a ldr r2, [r7, #16] - 800aca8: 621a str r2, [r3, #32] -} - 800acaa: bf00 nop - 800acac: 371c adds r7, #28 - 800acae: 46bd mov sp, r7 - 800acb0: f85d 7b04 ldr.w r7, [sp], #4 - 800acb4: 4770 bx lr - 800acb6: bf00 nop - 800acb8: feff8fff .word 0xfeff8fff - 800acbc: 40010000 .word 0x40010000 - 800acc0: 40010400 .word 0x40010400 - -0800acc4 : - * @param OC_Config The ouput configuration structure - * @retval None - */ -static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, - TIM_OC_InitTypeDef *OC_Config) -{ - 800acc4: b480 push {r7} - 800acc6: b087 sub sp, #28 - 800acc8: af00 add r7, sp, #0 - 800acca: 6078 str r0, [r7, #4] - 800accc: 6039 str r1, [r7, #0] - uint32_t tmpccmrx; - uint32_t tmpccer; - uint32_t tmpcr2; - - /* Disable the output: Reset the CCxE Bit */ - TIMx->CCER &= ~TIM_CCER_CC5E; - 800acce: 687b ldr r3, [r7, #4] - 800acd0: 6a1b ldr r3, [r3, #32] - 800acd2: f423 3280 bic.w r2, r3, #65536 ; 0x10000 - 800acd6: 687b ldr r3, [r7, #4] - 800acd8: 621a str r2, [r3, #32] - - /* Get the TIMx CCER register value */ - tmpccer = TIMx->CCER; - 800acda: 687b ldr r3, [r7, #4] - 800acdc: 6a1b ldr r3, [r3, #32] - 800acde: 613b str r3, [r7, #16] - /* Get the TIMx CR2 register value */ - tmpcr2 = TIMx->CR2; - 800ace0: 687b ldr r3, [r7, #4] - 800ace2: 685b ldr r3, [r3, #4] - 800ace4: 617b str r3, [r7, #20] - /* Get the TIMx CCMR1 register value */ - tmpccmrx = TIMx->CCMR3; - 800ace6: 687b ldr r3, [r7, #4] - 800ace8: 6d5b ldr r3, [r3, #84] ; 0x54 - 800acea: 60fb str r3, [r7, #12] - - /* Reset the Output Compare Mode Bits */ - tmpccmrx &= ~(TIM_CCMR3_OC5M); - 800acec: 68fa ldr r2, [r7, #12] - 800acee: 4b1b ldr r3, [pc, #108] ; (800ad5c ) - 800acf0: 4013 ands r3, r2 - 800acf2: 60fb str r3, [r7, #12] - /* Select the Output Compare Mode */ - tmpccmrx |= OC_Config->OCMode; - 800acf4: 683b ldr r3, [r7, #0] - 800acf6: 681b ldr r3, [r3, #0] - 800acf8: 68fa ldr r2, [r7, #12] - 800acfa: 4313 orrs r3, r2 - 800acfc: 60fb str r3, [r7, #12] - - /* Reset the Output Polarity level */ - tmpccer &= ~TIM_CCER_CC5P; - 800acfe: 693b ldr r3, [r7, #16] - 800ad00: f423 3300 bic.w r3, r3, #131072 ; 0x20000 - 800ad04: 613b str r3, [r7, #16] - /* Set the Output Compare Polarity */ - tmpccer |= (OC_Config->OCPolarity << 16U); - 800ad06: 683b ldr r3, [r7, #0] - 800ad08: 689b ldr r3, [r3, #8] - 800ad0a: 041b lsls r3, r3, #16 - 800ad0c: 693a ldr r2, [r7, #16] - 800ad0e: 4313 orrs r3, r2 - 800ad10: 613b str r3, [r7, #16] - - if (IS_TIM_BREAK_INSTANCE(TIMx)) - 800ad12: 687b ldr r3, [r7, #4] - 800ad14: 4a12 ldr r2, [pc, #72] ; (800ad60 ) - 800ad16: 4293 cmp r3, r2 - 800ad18: d003 beq.n 800ad22 - 800ad1a: 687b ldr r3, [r7, #4] - 800ad1c: 4a11 ldr r2, [pc, #68] ; (800ad64 ) - 800ad1e: 4293 cmp r3, r2 - 800ad20: d109 bne.n 800ad36 - { - /* Reset the Output Compare IDLE State */ - tmpcr2 &= ~TIM_CR2_OIS5; - 800ad22: 697b ldr r3, [r7, #20] - 800ad24: f423 3380 bic.w r3, r3, #65536 ; 0x10000 - 800ad28: 617b str r3, [r7, #20] - /* Set the Output Idle state */ - tmpcr2 |= (OC_Config->OCIdleState << 8U); - 800ad2a: 683b ldr r3, [r7, #0] - 800ad2c: 695b ldr r3, [r3, #20] - 800ad2e: 021b lsls r3, r3, #8 - 800ad30: 697a ldr r2, [r7, #20] - 800ad32: 4313 orrs r3, r2 - 800ad34: 617b str r3, [r7, #20] - } - /* Write to TIMx CR2 */ - TIMx->CR2 = tmpcr2; - 800ad36: 687b ldr r3, [r7, #4] - 800ad38: 697a ldr r2, [r7, #20] - 800ad3a: 605a str r2, [r3, #4] - - /* Write to TIMx CCMR3 */ - TIMx->CCMR3 = tmpccmrx; - 800ad3c: 687b ldr r3, [r7, #4] - 800ad3e: 68fa ldr r2, [r7, #12] - 800ad40: 655a str r2, [r3, #84] ; 0x54 - - /* Set the Capture Compare Register value */ - TIMx->CCR5 = OC_Config->Pulse; - 800ad42: 683b ldr r3, [r7, #0] - 800ad44: 685a ldr r2, [r3, #4] - 800ad46: 687b ldr r3, [r7, #4] - 800ad48: 659a str r2, [r3, #88] ; 0x58 - - /* Write to TIMx CCER */ - TIMx->CCER = tmpccer; - 800ad4a: 687b ldr r3, [r7, #4] - 800ad4c: 693a ldr r2, [r7, #16] - 800ad4e: 621a str r2, [r3, #32] -} - 800ad50: bf00 nop - 800ad52: 371c adds r7, #28 - 800ad54: 46bd mov sp, r7 - 800ad56: f85d 7b04 ldr.w r7, [sp], #4 - 800ad5a: 4770 bx lr - 800ad5c: fffeff8f .word 0xfffeff8f - 800ad60: 40010000 .word 0x40010000 - 800ad64: 40010400 .word 0x40010400 - -0800ad68 : - * @param OC_Config The ouput configuration structure - * @retval None - */ -static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, - TIM_OC_InitTypeDef *OC_Config) -{ - 800ad68: b480 push {r7} - 800ad6a: b087 sub sp, #28 - 800ad6c: af00 add r7, sp, #0 - 800ad6e: 6078 str r0, [r7, #4] - 800ad70: 6039 str r1, [r7, #0] - uint32_t tmpccmrx; - uint32_t tmpccer; - uint32_t tmpcr2; - - /* Disable the output: Reset the CCxE Bit */ - TIMx->CCER &= ~TIM_CCER_CC6E; - 800ad72: 687b ldr r3, [r7, #4] - 800ad74: 6a1b ldr r3, [r3, #32] - 800ad76: f423 1280 bic.w r2, r3, #1048576 ; 0x100000 - 800ad7a: 687b ldr r3, [r7, #4] - 800ad7c: 621a str r2, [r3, #32] - - /* Get the TIMx CCER register value */ - tmpccer = TIMx->CCER; - 800ad7e: 687b ldr r3, [r7, #4] - 800ad80: 6a1b ldr r3, [r3, #32] - 800ad82: 613b str r3, [r7, #16] - /* Get the TIMx CR2 register value */ - tmpcr2 = TIMx->CR2; - 800ad84: 687b ldr r3, [r7, #4] - 800ad86: 685b ldr r3, [r3, #4] - 800ad88: 617b str r3, [r7, #20] - /* Get the TIMx CCMR1 register value */ - tmpccmrx = TIMx->CCMR3; - 800ad8a: 687b ldr r3, [r7, #4] - 800ad8c: 6d5b ldr r3, [r3, #84] ; 0x54 - 800ad8e: 60fb str r3, [r7, #12] - - /* Reset the Output Compare Mode Bits */ - tmpccmrx &= ~(TIM_CCMR3_OC6M); - 800ad90: 68fa ldr r2, [r7, #12] - 800ad92: 4b1c ldr r3, [pc, #112] ; (800ae04 ) - 800ad94: 4013 ands r3, r2 - 800ad96: 60fb str r3, [r7, #12] - /* Select the Output Compare Mode */ - tmpccmrx |= (OC_Config->OCMode << 8U); - 800ad98: 683b ldr r3, [r7, #0] - 800ad9a: 681b ldr r3, [r3, #0] - 800ad9c: 021b lsls r3, r3, #8 - 800ad9e: 68fa ldr r2, [r7, #12] - 800ada0: 4313 orrs r3, r2 - 800ada2: 60fb str r3, [r7, #12] - - /* Reset the Output Polarity level */ - tmpccer &= (uint32_t)~TIM_CCER_CC6P; - 800ada4: 693b ldr r3, [r7, #16] - 800ada6: f423 1300 bic.w r3, r3, #2097152 ; 0x200000 - 800adaa: 613b str r3, [r7, #16] - /* Set the Output Compare Polarity */ - tmpccer |= (OC_Config->OCPolarity << 20U); - 800adac: 683b ldr r3, [r7, #0] - 800adae: 689b ldr r3, [r3, #8] - 800adb0: 051b lsls r3, r3, #20 - 800adb2: 693a ldr r2, [r7, #16] - 800adb4: 4313 orrs r3, r2 - 800adb6: 613b str r3, [r7, #16] - - if (IS_TIM_BREAK_INSTANCE(TIMx)) - 800adb8: 687b ldr r3, [r7, #4] - 800adba: 4a13 ldr r2, [pc, #76] ; (800ae08 ) - 800adbc: 4293 cmp r3, r2 - 800adbe: d003 beq.n 800adc8 - 800adc0: 687b ldr r3, [r7, #4] - 800adc2: 4a12 ldr r2, [pc, #72] ; (800ae0c ) - 800adc4: 4293 cmp r3, r2 - 800adc6: d109 bne.n 800addc - { - /* Reset the Output Compare IDLE State */ - tmpcr2 &= ~TIM_CR2_OIS6; - 800adc8: 697b ldr r3, [r7, #20] - 800adca: f423 2380 bic.w r3, r3, #262144 ; 0x40000 - 800adce: 617b str r3, [r7, #20] - /* Set the Output Idle state */ - tmpcr2 |= (OC_Config->OCIdleState << 10U); - 800add0: 683b ldr r3, [r7, #0] - 800add2: 695b ldr r3, [r3, #20] - 800add4: 029b lsls r3, r3, #10 - 800add6: 697a ldr r2, [r7, #20] - 800add8: 4313 orrs r3, r2 - 800adda: 617b str r3, [r7, #20] - } - - /* Write to TIMx CR2 */ - TIMx->CR2 = tmpcr2; - 800addc: 687b ldr r3, [r7, #4] - 800adde: 697a ldr r2, [r7, #20] - 800ade0: 605a str r2, [r3, #4] - - /* Write to TIMx CCMR3 */ - TIMx->CCMR3 = tmpccmrx; - 800ade2: 687b ldr r3, [r7, #4] - 800ade4: 68fa ldr r2, [r7, #12] - 800ade6: 655a str r2, [r3, #84] ; 0x54 - - /* Set the Capture Compare Register value */ - TIMx->CCR6 = OC_Config->Pulse; - 800ade8: 683b ldr r3, [r7, #0] - 800adea: 685a ldr r2, [r3, #4] - 800adec: 687b ldr r3, [r7, #4] - 800adee: 65da str r2, [r3, #92] ; 0x5c - - /* Write to TIMx CCER */ - TIMx->CCER = tmpccer; - 800adf0: 687b ldr r3, [r7, #4] - 800adf2: 693a ldr r2, [r7, #16] - 800adf4: 621a str r2, [r3, #32] -} - 800adf6: bf00 nop - 800adf8: 371c adds r7, #28 - 800adfa: 46bd mov sp, r7 - 800adfc: f85d 7b04 ldr.w r7, [sp], #4 - 800ae00: 4770 bx lr - 800ae02: bf00 nop - 800ae04: feff8fff .word 0xfeff8fff - 800ae08: 40010000 .word 0x40010000 - 800ae0c: 40010400 .word 0x40010400 - -0800ae10 : - * @param sSlaveConfig Slave timer configuration - * @retval None - */ -static HAL_StatusTypeDef TIM_SlaveTimer_SetConfig(TIM_HandleTypeDef *htim, - TIM_SlaveConfigTypeDef *sSlaveConfig) -{ - 800ae10: b580 push {r7, lr} - 800ae12: b086 sub sp, #24 - 800ae14: af00 add r7, sp, #0 - 800ae16: 6078 str r0, [r7, #4] - 800ae18: 6039 str r1, [r7, #0] - uint32_t tmpsmcr; - uint32_t tmpccmr1; - uint32_t tmpccer; - - /* Get the TIMx SMCR register value */ - tmpsmcr = htim->Instance->SMCR; - 800ae1a: 687b ldr r3, [r7, #4] - 800ae1c: 681b ldr r3, [r3, #0] - 800ae1e: 689b ldr r3, [r3, #8] - 800ae20: 617b str r3, [r7, #20] - - /* Reset the Trigger Selection Bits */ - tmpsmcr &= ~TIM_SMCR_TS; - 800ae22: 697b ldr r3, [r7, #20] - 800ae24: f023 0370 bic.w r3, r3, #112 ; 0x70 - 800ae28: 617b str r3, [r7, #20] - /* Set the Input Trigger source */ - tmpsmcr |= sSlaveConfig->InputTrigger; - 800ae2a: 683b ldr r3, [r7, #0] - 800ae2c: 685b ldr r3, [r3, #4] - 800ae2e: 697a ldr r2, [r7, #20] - 800ae30: 4313 orrs r3, r2 - 800ae32: 617b str r3, [r7, #20] - - /* Reset the slave mode Bits */ - tmpsmcr &= ~TIM_SMCR_SMS; - 800ae34: 697a ldr r2, [r7, #20] - 800ae36: 4b39 ldr r3, [pc, #228] ; (800af1c ) - 800ae38: 4013 ands r3, r2 - 800ae3a: 617b str r3, [r7, #20] - /* Set the slave mode */ - tmpsmcr |= sSlaveConfig->SlaveMode; - 800ae3c: 683b ldr r3, [r7, #0] - 800ae3e: 681b ldr r3, [r3, #0] - 800ae40: 697a ldr r2, [r7, #20] - 800ae42: 4313 orrs r3, r2 - 800ae44: 617b str r3, [r7, #20] - - /* Write to TIMx SMCR */ - htim->Instance->SMCR = tmpsmcr; - 800ae46: 687b ldr r3, [r7, #4] - 800ae48: 681b ldr r3, [r3, #0] - 800ae4a: 697a ldr r2, [r7, #20] - 800ae4c: 609a str r2, [r3, #8] - - /* Configure the trigger prescaler, filter, and polarity */ - switch (sSlaveConfig->InputTrigger) - 800ae4e: 683b ldr r3, [r7, #0] - 800ae50: 685b ldr r3, [r3, #4] - 800ae52: 2b30 cmp r3, #48 ; 0x30 - 800ae54: d05c beq.n 800af10 - 800ae56: 2b30 cmp r3, #48 ; 0x30 - 800ae58: d806 bhi.n 800ae68 - 800ae5a: 2b10 cmp r3, #16 - 800ae5c: d058 beq.n 800af10 - 800ae5e: 2b20 cmp r3, #32 - 800ae60: d056 beq.n 800af10 - 800ae62: 2b00 cmp r3, #0 - 800ae64: d054 beq.n 800af10 - assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); - break; - } - - default: - break; - 800ae66: e054 b.n 800af12 - switch (sSlaveConfig->InputTrigger) - 800ae68: 2b50 cmp r3, #80 ; 0x50 - 800ae6a: d03d beq.n 800aee8 - 800ae6c: 2b50 cmp r3, #80 ; 0x50 - 800ae6e: d802 bhi.n 800ae76 - 800ae70: 2b40 cmp r3, #64 ; 0x40 - 800ae72: d010 beq.n 800ae96 - break; - 800ae74: e04d b.n 800af12 - switch (sSlaveConfig->InputTrigger) - 800ae76: 2b60 cmp r3, #96 ; 0x60 - 800ae78: d040 beq.n 800aefc - 800ae7a: 2b70 cmp r3, #112 ; 0x70 - 800ae7c: d000 beq.n 800ae80 - break; - 800ae7e: e048 b.n 800af12 - TIM_ETR_SetConfig(htim->Instance, - 800ae80: 687b ldr r3, [r7, #4] - 800ae82: 6818 ldr r0, [r3, #0] - 800ae84: 683b ldr r3, [r7, #0] - 800ae86: 68d9 ldr r1, [r3, #12] - 800ae88: 683b ldr r3, [r7, #0] - 800ae8a: 689a ldr r2, [r3, #8] - 800ae8c: 683b ldr r3, [r7, #0] - 800ae8e: 691b ldr r3, [r3, #16] - 800ae90: f000 f8c0 bl 800b014 - break; - 800ae94: e03d b.n 800af12 - if(sSlaveConfig->SlaveMode == TIM_SLAVEMODE_GATED) - 800ae96: 683b ldr r3, [r7, #0] - 800ae98: 681b ldr r3, [r3, #0] - 800ae9a: 2b05 cmp r3, #5 - 800ae9c: d101 bne.n 800aea2 - return HAL_ERROR; - 800ae9e: 2301 movs r3, #1 - 800aea0: e038 b.n 800af14 - tmpccer = htim->Instance->CCER; - 800aea2: 687b ldr r3, [r7, #4] - 800aea4: 681b ldr r3, [r3, #0] - 800aea6: 6a1b ldr r3, [r3, #32] - 800aea8: 613b str r3, [r7, #16] - htim->Instance->CCER &= ~TIM_CCER_CC1E; - 800aeaa: 687b ldr r3, [r7, #4] - 800aeac: 681b ldr r3, [r3, #0] - 800aeae: 6a1a ldr r2, [r3, #32] - 800aeb0: 687b ldr r3, [r7, #4] - 800aeb2: 681b ldr r3, [r3, #0] - 800aeb4: f022 0201 bic.w r2, r2, #1 - 800aeb8: 621a str r2, [r3, #32] - tmpccmr1 = htim->Instance->CCMR1; - 800aeba: 687b ldr r3, [r7, #4] - 800aebc: 681b ldr r3, [r3, #0] - 800aebe: 699b ldr r3, [r3, #24] - 800aec0: 60fb str r3, [r7, #12] - tmpccmr1 &= ~TIM_CCMR1_IC1F; - 800aec2: 68fb ldr r3, [r7, #12] - 800aec4: f023 03f0 bic.w r3, r3, #240 ; 0xf0 - 800aec8: 60fb str r3, [r7, #12] - tmpccmr1 |= ((sSlaveConfig->TriggerFilter) << 4U); - 800aeca: 683b ldr r3, [r7, #0] - 800aecc: 691b ldr r3, [r3, #16] - 800aece: 011b lsls r3, r3, #4 - 800aed0: 68fa ldr r2, [r7, #12] - 800aed2: 4313 orrs r3, r2 - 800aed4: 60fb str r3, [r7, #12] - htim->Instance->CCMR1 = tmpccmr1; - 800aed6: 687b ldr r3, [r7, #4] - 800aed8: 681b ldr r3, [r3, #0] - 800aeda: 68fa ldr r2, [r7, #12] - 800aedc: 619a str r2, [r3, #24] - htim->Instance->CCER = tmpccer; - 800aede: 687b ldr r3, [r7, #4] - 800aee0: 681b ldr r3, [r3, #0] - 800aee2: 693a ldr r2, [r7, #16] - 800aee4: 621a str r2, [r3, #32] - break; - 800aee6: e014 b.n 800af12 - TIM_TI1_ConfigInputStage(htim->Instance, - 800aee8: 687b ldr r3, [r7, #4] - 800aeea: 6818 ldr r0, [r3, #0] - 800aeec: 683b ldr r3, [r7, #0] - 800aeee: 6899 ldr r1, [r3, #8] - 800aef0: 683b ldr r3, [r7, #0] - 800aef2: 691b ldr r3, [r3, #16] - 800aef4: 461a mov r2, r3 - 800aef6: f000 f813 bl 800af20 - break; - 800aefa: e00a b.n 800af12 - TIM_TI2_ConfigInputStage(htim->Instance, - 800aefc: 687b ldr r3, [r7, #4] - 800aefe: 6818 ldr r0, [r3, #0] - 800af00: 683b ldr r3, [r7, #0] - 800af02: 6899 ldr r1, [r3, #8] - 800af04: 683b ldr r3, [r7, #0] - 800af06: 691b ldr r3, [r3, #16] - 800af08: 461a mov r2, r3 - 800af0a: f000 f838 bl 800af7e - break; - 800af0e: e000 b.n 800af12 - break; - 800af10: bf00 nop - } - return HAL_OK; - 800af12: 2300 movs r3, #0 -} - 800af14: 4618 mov r0, r3 - 800af16: 3718 adds r7, #24 - 800af18: 46bd mov sp, r7 - 800af1a: bd80 pop {r7, pc} - 800af1c: fffefff8 .word 0xfffefff8 - -0800af20 : - * @param TIM_ICFilter Specifies the Input Capture Filter. - * This parameter must be a value between 0x00 and 0x0F. - * @retval None - */ -static void TIM_TI1_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFilter) -{ - 800af20: b480 push {r7} - 800af22: b087 sub sp, #28 - 800af24: af00 add r7, sp, #0 - 800af26: 60f8 str r0, [r7, #12] - 800af28: 60b9 str r1, [r7, #8] - 800af2a: 607a str r2, [r7, #4] - uint32_t tmpccmr1; - uint32_t tmpccer; - - /* Disable the Channel 1: Reset the CC1E Bit */ - tmpccer = TIMx->CCER; - 800af2c: 68fb ldr r3, [r7, #12] - 800af2e: 6a1b ldr r3, [r3, #32] - 800af30: 617b str r3, [r7, #20] - TIMx->CCER &= ~TIM_CCER_CC1E; - 800af32: 68fb ldr r3, [r7, #12] - 800af34: 6a1b ldr r3, [r3, #32] - 800af36: f023 0201 bic.w r2, r3, #1 - 800af3a: 68fb ldr r3, [r7, #12] - 800af3c: 621a str r2, [r3, #32] - tmpccmr1 = TIMx->CCMR1; - 800af3e: 68fb ldr r3, [r7, #12] - 800af40: 699b ldr r3, [r3, #24] - 800af42: 613b str r3, [r7, #16] - - /* Set the filter */ - tmpccmr1 &= ~TIM_CCMR1_IC1F; - 800af44: 693b ldr r3, [r7, #16] - 800af46: f023 03f0 bic.w r3, r3, #240 ; 0xf0 - 800af4a: 613b str r3, [r7, #16] - tmpccmr1 |= (TIM_ICFilter << 4U); - 800af4c: 687b ldr r3, [r7, #4] - 800af4e: 011b lsls r3, r3, #4 - 800af50: 693a ldr r2, [r7, #16] - 800af52: 4313 orrs r3, r2 - 800af54: 613b str r3, [r7, #16] - - /* Select the Polarity and set the CC1E Bit */ - tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC1NP); - 800af56: 697b ldr r3, [r7, #20] - 800af58: f023 030a bic.w r3, r3, #10 - 800af5c: 617b str r3, [r7, #20] - tmpccer |= TIM_ICPolarity; - 800af5e: 697a ldr r2, [r7, #20] - 800af60: 68bb ldr r3, [r7, #8] - 800af62: 4313 orrs r3, r2 - 800af64: 617b str r3, [r7, #20] - - /* Write to TIMx CCMR1 and CCER registers */ - TIMx->CCMR1 = tmpccmr1; - 800af66: 68fb ldr r3, [r7, #12] - 800af68: 693a ldr r2, [r7, #16] - 800af6a: 619a str r2, [r3, #24] - TIMx->CCER = tmpccer; - 800af6c: 68fb ldr r3, [r7, #12] - 800af6e: 697a ldr r2, [r7, #20] - 800af70: 621a str r2, [r3, #32] -} - 800af72: bf00 nop - 800af74: 371c adds r7, #28 - 800af76: 46bd mov sp, r7 - 800af78: f85d 7b04 ldr.w r7, [sp], #4 - 800af7c: 4770 bx lr - -0800af7e : +0800ab1a : * @param TIM_ICFilter Specifies the Input Capture Filter. * This parameter must be a value between 0x00 and 0x0F. * @retval None */ static void TIM_TI2_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFilter) { - 800af7e: b480 push {r7} - 800af80: b087 sub sp, #28 - 800af82: af00 add r7, sp, #0 - 800af84: 60f8 str r0, [r7, #12] - 800af86: 60b9 str r1, [r7, #8] - 800af88: 607a str r2, [r7, #4] + 800ab1a: b480 push {r7} + 800ab1c: b087 sub sp, #28 + 800ab1e: af00 add r7, sp, #0 + 800ab20: 60f8 str r0, [r7, #12] + 800ab22: 60b9 str r1, [r7, #8] + 800ab24: 607a str r2, [r7, #4] uint32_t tmpccmr1; uint32_t tmpccer; /* Disable the Channel 2: Reset the CC2E Bit */ TIMx->CCER &= ~TIM_CCER_CC2E; - 800af8a: 68fb ldr r3, [r7, #12] - 800af8c: 6a1b ldr r3, [r3, #32] - 800af8e: f023 0210 bic.w r2, r3, #16 - 800af92: 68fb ldr r3, [r7, #12] - 800af94: 621a str r2, [r3, #32] + 800ab26: 68fb ldr r3, [r7, #12] + 800ab28: 6a1b ldr r3, [r3, #32] + 800ab2a: f023 0210 bic.w r2, r3, #16 + 800ab2e: 68fb ldr r3, [r7, #12] + 800ab30: 621a str r2, [r3, #32] tmpccmr1 = TIMx->CCMR1; - 800af96: 68fb ldr r3, [r7, #12] - 800af98: 699b ldr r3, [r3, #24] - 800af9a: 617b str r3, [r7, #20] + 800ab32: 68fb ldr r3, [r7, #12] + 800ab34: 699b ldr r3, [r3, #24] + 800ab36: 617b str r3, [r7, #20] tmpccer = TIMx->CCER; - 800af9c: 68fb ldr r3, [r7, #12] - 800af9e: 6a1b ldr r3, [r3, #32] - 800afa0: 613b str r3, [r7, #16] + 800ab38: 68fb ldr r3, [r7, #12] + 800ab3a: 6a1b ldr r3, [r3, #32] + 800ab3c: 613b str r3, [r7, #16] /* Set the filter */ tmpccmr1 &= ~TIM_CCMR1_IC2F; - 800afa2: 697b ldr r3, [r7, #20] - 800afa4: f423 4370 bic.w r3, r3, #61440 ; 0xf000 - 800afa8: 617b str r3, [r7, #20] + 800ab3e: 697b ldr r3, [r7, #20] + 800ab40: f423 4370 bic.w r3, r3, #61440 ; 0xf000 + 800ab44: 617b str r3, [r7, #20] tmpccmr1 |= (TIM_ICFilter << 12U); - 800afaa: 687b ldr r3, [r7, #4] - 800afac: 031b lsls r3, r3, #12 - 800afae: 697a ldr r2, [r7, #20] - 800afb0: 4313 orrs r3, r2 - 800afb2: 617b str r3, [r7, #20] + 800ab46: 687b ldr r3, [r7, #4] + 800ab48: 031b lsls r3, r3, #12 + 800ab4a: 697a ldr r2, [r7, #20] + 800ab4c: 4313 orrs r3, r2 + 800ab4e: 617b str r3, [r7, #20] /* Select the Polarity and set the CC2E Bit */ tmpccer &= ~(TIM_CCER_CC2P | TIM_CCER_CC2NP); - 800afb4: 693b ldr r3, [r7, #16] - 800afb6: f023 03a0 bic.w r3, r3, #160 ; 0xa0 - 800afba: 613b str r3, [r7, #16] + 800ab50: 693b ldr r3, [r7, #16] + 800ab52: f023 03a0 bic.w r3, r3, #160 ; 0xa0 + 800ab56: 613b str r3, [r7, #16] tmpccer |= (TIM_ICPolarity << 4U); - 800afbc: 68bb ldr r3, [r7, #8] - 800afbe: 011b lsls r3, r3, #4 - 800afc0: 693a ldr r2, [r7, #16] - 800afc2: 4313 orrs r3, r2 - 800afc4: 613b str r3, [r7, #16] + 800ab58: 68bb ldr r3, [r7, #8] + 800ab5a: 011b lsls r3, r3, #4 + 800ab5c: 693a ldr r2, [r7, #16] + 800ab5e: 4313 orrs r3, r2 + 800ab60: 613b str r3, [r7, #16] /* Write to TIMx CCMR1 and CCER registers */ TIMx->CCMR1 = tmpccmr1 ; - 800afc6: 68fb ldr r3, [r7, #12] - 800afc8: 697a ldr r2, [r7, #20] - 800afca: 619a str r2, [r3, #24] + 800ab62: 68fb ldr r3, [r7, #12] + 800ab64: 697a ldr r2, [r7, #20] + 800ab66: 619a str r2, [r3, #24] TIMx->CCER = tmpccer; - 800afcc: 68fb ldr r3, [r7, #12] - 800afce: 693a ldr r2, [r7, #16] - 800afd0: 621a str r2, [r3, #32] + 800ab68: 68fb ldr r3, [r7, #12] + 800ab6a: 693a ldr r2, [r7, #16] + 800ab6c: 621a str r2, [r3, #32] } - 800afd2: bf00 nop - 800afd4: 371c adds r7, #28 - 800afd6: 46bd mov sp, r7 - 800afd8: f85d 7b04 ldr.w r7, [sp], #4 - 800afdc: 4770 bx lr + 800ab6e: bf00 nop + 800ab70: 371c adds r7, #28 + 800ab72: 46bd mov sp, r7 + 800ab74: f85d 7b04 ldr.w r7, [sp], #4 + 800ab78: 4770 bx lr -0800afde : +0800ab7a : * @arg TIM_TS_TI2FP2: Filtered Timer Input 2 * @arg TIM_TS_ETRF: External Trigger input * @retval None */ static void TIM_ITRx_SetConfig(TIM_TypeDef *TIMx, uint32_t InputTriggerSource) { - 800afde: b480 push {r7} - 800afe0: b085 sub sp, #20 - 800afe2: af00 add r7, sp, #0 - 800afe4: 6078 str r0, [r7, #4] - 800afe6: 6039 str r1, [r7, #0] + 800ab7a: b480 push {r7} + 800ab7c: b085 sub sp, #20 + 800ab7e: af00 add r7, sp, #0 + 800ab80: 6078 str r0, [r7, #4] + 800ab82: 6039 str r1, [r7, #0] uint32_t tmpsmcr; /* Get the TIMx SMCR register value */ tmpsmcr = TIMx->SMCR; - 800afe8: 687b ldr r3, [r7, #4] - 800afea: 689b ldr r3, [r3, #8] - 800afec: 60fb str r3, [r7, #12] + 800ab84: 687b ldr r3, [r7, #4] + 800ab86: 689b ldr r3, [r3, #8] + 800ab88: 60fb str r3, [r7, #12] /* Reset the TS Bits */ tmpsmcr &= ~TIM_SMCR_TS; - 800afee: 68fb ldr r3, [r7, #12] - 800aff0: f023 0370 bic.w r3, r3, #112 ; 0x70 - 800aff4: 60fb str r3, [r7, #12] + 800ab8a: 68fb ldr r3, [r7, #12] + 800ab8c: f023 0370 bic.w r3, r3, #112 ; 0x70 + 800ab90: 60fb str r3, [r7, #12] /* Set the Input Trigger source and the slave mode*/ tmpsmcr |= (InputTriggerSource | TIM_SLAVEMODE_EXTERNAL1); - 800aff6: 683a ldr r2, [r7, #0] - 800aff8: 68fb ldr r3, [r7, #12] - 800affa: 4313 orrs r3, r2 - 800affc: f043 0307 orr.w r3, r3, #7 - 800b000: 60fb str r3, [r7, #12] + 800ab92: 683a ldr r2, [r7, #0] + 800ab94: 68fb ldr r3, [r7, #12] + 800ab96: 4313 orrs r3, r2 + 800ab98: f043 0307 orr.w r3, r3, #7 + 800ab9c: 60fb str r3, [r7, #12] /* Write to TIMx SMCR */ TIMx->SMCR = tmpsmcr; - 800b002: 687b ldr r3, [r7, #4] - 800b004: 68fa ldr r2, [r7, #12] - 800b006: 609a str r2, [r3, #8] + 800ab9e: 687b ldr r3, [r7, #4] + 800aba0: 68fa ldr r2, [r7, #12] + 800aba2: 609a str r2, [r3, #8] } - 800b008: bf00 nop - 800b00a: 3714 adds r7, #20 - 800b00c: 46bd mov sp, r7 - 800b00e: f85d 7b04 ldr.w r7, [sp], #4 - 800b012: 4770 bx lr + 800aba4: bf00 nop + 800aba6: 3714 adds r7, #20 + 800aba8: 46bd mov sp, r7 + 800abaa: f85d 7b04 ldr.w r7, [sp], #4 + 800abae: 4770 bx lr -0800b014 : +0800abb0 : * This parameter must be a value between 0x00 and 0x0F * @retval None */ void TIM_ETR_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ExtTRGPrescaler, uint32_t TIM_ExtTRGPolarity, uint32_t ExtTRGFilter) { - 800b014: b480 push {r7} - 800b016: b087 sub sp, #28 - 800b018: af00 add r7, sp, #0 - 800b01a: 60f8 str r0, [r7, #12] - 800b01c: 60b9 str r1, [r7, #8] - 800b01e: 607a str r2, [r7, #4] - 800b020: 603b str r3, [r7, #0] + 800abb0: b480 push {r7} + 800abb2: b087 sub sp, #28 + 800abb4: af00 add r7, sp, #0 + 800abb6: 60f8 str r0, [r7, #12] + 800abb8: 60b9 str r1, [r7, #8] + 800abba: 607a str r2, [r7, #4] + 800abbc: 603b str r3, [r7, #0] uint32_t tmpsmcr; tmpsmcr = TIMx->SMCR; - 800b022: 68fb ldr r3, [r7, #12] - 800b024: 689b ldr r3, [r3, #8] - 800b026: 617b str r3, [r7, #20] + 800abbe: 68fb ldr r3, [r7, #12] + 800abc0: 689b ldr r3, [r3, #8] + 800abc2: 617b str r3, [r7, #20] /* Reset the ETR Bits */ tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP); - 800b028: 697b ldr r3, [r7, #20] - 800b02a: f423 437f bic.w r3, r3, #65280 ; 0xff00 - 800b02e: 617b str r3, [r7, #20] + 800abc4: 697b ldr r3, [r7, #20] + 800abc6: f423 437f bic.w r3, r3, #65280 ; 0xff00 + 800abca: 617b str r3, [r7, #20] /* Set the Prescaler, the Filter value and the Polarity */ tmpsmcr |= (uint32_t)(TIM_ExtTRGPrescaler | (TIM_ExtTRGPolarity | (ExtTRGFilter << 8U))); - 800b030: 683b ldr r3, [r7, #0] - 800b032: 021a lsls r2, r3, #8 - 800b034: 687b ldr r3, [r7, #4] - 800b036: 431a orrs r2, r3 - 800b038: 68bb ldr r3, [r7, #8] - 800b03a: 4313 orrs r3, r2 - 800b03c: 697a ldr r2, [r7, #20] - 800b03e: 4313 orrs r3, r2 - 800b040: 617b str r3, [r7, #20] + 800abcc: 683b ldr r3, [r7, #0] + 800abce: 021a lsls r2, r3, #8 + 800abd0: 687b ldr r3, [r7, #4] + 800abd2: 431a orrs r2, r3 + 800abd4: 68bb ldr r3, [r7, #8] + 800abd6: 4313 orrs r3, r2 + 800abd8: 697a ldr r2, [r7, #20] + 800abda: 4313 orrs r3, r2 + 800abdc: 617b str r3, [r7, #20] /* Write to TIMx SMCR */ TIMx->SMCR = tmpsmcr; - 800b042: 68fb ldr r3, [r7, #12] - 800b044: 697a ldr r2, [r7, #20] - 800b046: 609a str r2, [r3, #8] + 800abde: 68fb ldr r3, [r7, #12] + 800abe0: 697a ldr r2, [r7, #20] + 800abe2: 609a str r2, [r3, #8] } - 800b048: bf00 nop - 800b04a: 371c adds r7, #28 - 800b04c: 46bd mov sp, r7 - 800b04e: f85d 7b04 ldr.w r7, [sp], #4 - 800b052: 4770 bx lr + 800abe4: bf00 nop + 800abe6: 371c adds r7, #28 + 800abe8: 46bd mov sp, r7 + 800abea: f85d 7b04 ldr.w r7, [sp], #4 + 800abee: 4770 bx lr -0800b054 : +0800abf0 : * mode. * @retval HAL status */ HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, TIM_MasterConfigTypeDef *sMasterConfig) { - 800b054: b480 push {r7} - 800b056: b085 sub sp, #20 - 800b058: af00 add r7, sp, #0 - 800b05a: 6078 str r0, [r7, #4] - 800b05c: 6039 str r1, [r7, #0] + 800abf0: b480 push {r7} + 800abf2: b085 sub sp, #20 + 800abf4: af00 add r7, sp, #0 + 800abf6: 6078 str r0, [r7, #4] + 800abf8: 6039 str r1, [r7, #0] assert_param(IS_TIM_MASTER_INSTANCE(htim->Instance)); assert_param(IS_TIM_TRGO_SOURCE(sMasterConfig->MasterOutputTrigger)); assert_param(IS_TIM_MSM_STATE(sMasterConfig->MasterSlaveMode)); /* Check input state */ __HAL_LOCK(htim); - 800b05e: 687b ldr r3, [r7, #4] - 800b060: f893 303c ldrb.w r3, [r3, #60] ; 0x3c - 800b064: 2b01 cmp r3, #1 - 800b066: d101 bne.n 800b06c - 800b068: 2302 movs r3, #2 - 800b06a: e06d b.n 800b148 - 800b06c: 687b ldr r3, [r7, #4] - 800b06e: 2201 movs r2, #1 - 800b070: f883 203c strb.w r2, [r3, #60] ; 0x3c + 800abfa: 687b ldr r3, [r7, #4] + 800abfc: f893 303c ldrb.w r3, [r3, #60] ; 0x3c + 800ac00: 2b01 cmp r3, #1 + 800ac02: d101 bne.n 800ac08 + 800ac04: 2302 movs r3, #2 + 800ac06: e06d b.n 800ace4 + 800ac08: 687b ldr r3, [r7, #4] + 800ac0a: 2201 movs r2, #1 + 800ac0c: f883 203c strb.w r2, [r3, #60] ; 0x3c /* Change the handler state */ htim->State = HAL_TIM_STATE_BUSY; - 800b074: 687b ldr r3, [r7, #4] - 800b076: 2202 movs r2, #2 - 800b078: f883 203d strb.w r2, [r3, #61] ; 0x3d + 800ac10: 687b ldr r3, [r7, #4] + 800ac12: 2202 movs r2, #2 + 800ac14: f883 203d strb.w r2, [r3, #61] ; 0x3d /* Get the TIMx CR2 register value */ tmpcr2 = htim->Instance->CR2; - 800b07c: 687b ldr r3, [r7, #4] - 800b07e: 681b ldr r3, [r3, #0] - 800b080: 685b ldr r3, [r3, #4] - 800b082: 60fb str r3, [r7, #12] + 800ac18: 687b ldr r3, [r7, #4] + 800ac1a: 681b ldr r3, [r3, #0] + 800ac1c: 685b ldr r3, [r3, #4] + 800ac1e: 60fb str r3, [r7, #12] /* Get the TIMx SMCR register value */ tmpsmcr = htim->Instance->SMCR; - 800b084: 687b ldr r3, [r7, #4] - 800b086: 681b ldr r3, [r3, #0] - 800b088: 689b ldr r3, [r3, #8] - 800b08a: 60bb str r3, [r7, #8] + 800ac20: 687b ldr r3, [r7, #4] + 800ac22: 681b ldr r3, [r3, #0] + 800ac24: 689b ldr r3, [r3, #8] + 800ac26: 60bb str r3, [r7, #8] /* If the timer supports ADC synchronization through TRGO2, set the master mode selection 2 */ if (IS_TIM_TRGO2_INSTANCE(htim->Instance)) - 800b08c: 687b ldr r3, [r7, #4] - 800b08e: 681b ldr r3, [r3, #0] - 800b090: 4a30 ldr r2, [pc, #192] ; (800b154 ) - 800b092: 4293 cmp r3, r2 - 800b094: d004 beq.n 800b0a0 - 800b096: 687b ldr r3, [r7, #4] - 800b098: 681b ldr r3, [r3, #0] - 800b09a: 4a2f ldr r2, [pc, #188] ; (800b158 ) - 800b09c: 4293 cmp r3, r2 - 800b09e: d108 bne.n 800b0b2 + 800ac28: 687b ldr r3, [r7, #4] + 800ac2a: 681b ldr r3, [r3, #0] + 800ac2c: 4a30 ldr r2, [pc, #192] ; (800acf0 ) + 800ac2e: 4293 cmp r3, r2 + 800ac30: d004 beq.n 800ac3c + 800ac32: 687b ldr r3, [r7, #4] + 800ac34: 681b ldr r3, [r3, #0] + 800ac36: 4a2f ldr r2, [pc, #188] ; (800acf4 ) + 800ac38: 4293 cmp r3, r2 + 800ac3a: d108 bne.n 800ac4e { /* Check the parameters */ assert_param(IS_TIM_TRGO2_SOURCE(sMasterConfig->MasterOutputTrigger2)); /* Clear the MMS2 bits */ tmpcr2 &= ~TIM_CR2_MMS2; - 800b0a0: 68fb ldr r3, [r7, #12] - 800b0a2: f423 0370 bic.w r3, r3, #15728640 ; 0xf00000 - 800b0a6: 60fb str r3, [r7, #12] + 800ac3c: 68fb ldr r3, [r7, #12] + 800ac3e: f423 0370 bic.w r3, r3, #15728640 ; 0xf00000 + 800ac42: 60fb str r3, [r7, #12] /* Select the TRGO2 source*/ tmpcr2 |= sMasterConfig->MasterOutputTrigger2; - 800b0a8: 683b ldr r3, [r7, #0] - 800b0aa: 685b ldr r3, [r3, #4] - 800b0ac: 68fa ldr r2, [r7, #12] - 800b0ae: 4313 orrs r3, r2 - 800b0b0: 60fb str r3, [r7, #12] + 800ac44: 683b ldr r3, [r7, #0] + 800ac46: 685b ldr r3, [r3, #4] + 800ac48: 68fa ldr r2, [r7, #12] + 800ac4a: 4313 orrs r3, r2 + 800ac4c: 60fb str r3, [r7, #12] } /* Reset the MMS Bits */ tmpcr2 &= ~TIM_CR2_MMS; - 800b0b2: 68fb ldr r3, [r7, #12] - 800b0b4: f023 0370 bic.w r3, r3, #112 ; 0x70 - 800b0b8: 60fb str r3, [r7, #12] + 800ac4e: 68fb ldr r3, [r7, #12] + 800ac50: f023 0370 bic.w r3, r3, #112 ; 0x70 + 800ac54: 60fb str r3, [r7, #12] /* Select the TRGO source */ tmpcr2 |= sMasterConfig->MasterOutputTrigger; - 800b0ba: 683b ldr r3, [r7, #0] - 800b0bc: 681b ldr r3, [r3, #0] - 800b0be: 68fa ldr r2, [r7, #12] - 800b0c0: 4313 orrs r3, r2 - 800b0c2: 60fb str r3, [r7, #12] + 800ac56: 683b ldr r3, [r7, #0] + 800ac58: 681b ldr r3, [r3, #0] + 800ac5a: 68fa ldr r2, [r7, #12] + 800ac5c: 4313 orrs r3, r2 + 800ac5e: 60fb str r3, [r7, #12] /* Update TIMx CR2 */ htim->Instance->CR2 = tmpcr2; - 800b0c4: 687b ldr r3, [r7, #4] - 800b0c6: 681b ldr r3, [r3, #0] - 800b0c8: 68fa ldr r2, [r7, #12] - 800b0ca: 605a str r2, [r3, #4] + 800ac60: 687b ldr r3, [r7, #4] + 800ac62: 681b ldr r3, [r3, #0] + 800ac64: 68fa ldr r2, [r7, #12] + 800ac66: 605a str r2, [r3, #4] if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) - 800b0cc: 687b ldr r3, [r7, #4] - 800b0ce: 681b ldr r3, [r3, #0] - 800b0d0: 4a20 ldr r2, [pc, #128] ; (800b154 ) - 800b0d2: 4293 cmp r3, r2 - 800b0d4: d022 beq.n 800b11c - 800b0d6: 687b ldr r3, [r7, #4] - 800b0d8: 681b ldr r3, [r3, #0] - 800b0da: f1b3 4f80 cmp.w r3, #1073741824 ; 0x40000000 - 800b0de: d01d beq.n 800b11c - 800b0e0: 687b ldr r3, [r7, #4] - 800b0e2: 681b ldr r3, [r3, #0] - 800b0e4: 4a1d ldr r2, [pc, #116] ; (800b15c ) - 800b0e6: 4293 cmp r3, r2 - 800b0e8: d018 beq.n 800b11c - 800b0ea: 687b ldr r3, [r7, #4] - 800b0ec: 681b ldr r3, [r3, #0] - 800b0ee: 4a1c ldr r2, [pc, #112] ; (800b160 ) - 800b0f0: 4293 cmp r3, r2 - 800b0f2: d013 beq.n 800b11c - 800b0f4: 687b ldr r3, [r7, #4] - 800b0f6: 681b ldr r3, [r3, #0] - 800b0f8: 4a1a ldr r2, [pc, #104] ; (800b164 ) - 800b0fa: 4293 cmp r3, r2 - 800b0fc: d00e beq.n 800b11c - 800b0fe: 687b ldr r3, [r7, #4] - 800b100: 681b ldr r3, [r3, #0] - 800b102: 4a15 ldr r2, [pc, #84] ; (800b158 ) - 800b104: 4293 cmp r3, r2 - 800b106: d009 beq.n 800b11c - 800b108: 687b ldr r3, [r7, #4] - 800b10a: 681b ldr r3, [r3, #0] - 800b10c: 4a16 ldr r2, [pc, #88] ; (800b168 ) - 800b10e: 4293 cmp r3, r2 - 800b110: d004 beq.n 800b11c - 800b112: 687b ldr r3, [r7, #4] - 800b114: 681b ldr r3, [r3, #0] - 800b116: 4a15 ldr r2, [pc, #84] ; (800b16c ) - 800b118: 4293 cmp r3, r2 - 800b11a: d10c bne.n 800b136 + 800ac68: 687b ldr r3, [r7, #4] + 800ac6a: 681b ldr r3, [r3, #0] + 800ac6c: 4a20 ldr r2, [pc, #128] ; (800acf0 ) + 800ac6e: 4293 cmp r3, r2 + 800ac70: d022 beq.n 800acb8 + 800ac72: 687b ldr r3, [r7, #4] + 800ac74: 681b ldr r3, [r3, #0] + 800ac76: f1b3 4f80 cmp.w r3, #1073741824 ; 0x40000000 + 800ac7a: d01d beq.n 800acb8 + 800ac7c: 687b ldr r3, [r7, #4] + 800ac7e: 681b ldr r3, [r3, #0] + 800ac80: 4a1d ldr r2, [pc, #116] ; (800acf8 ) + 800ac82: 4293 cmp r3, r2 + 800ac84: d018 beq.n 800acb8 + 800ac86: 687b ldr r3, [r7, #4] + 800ac88: 681b ldr r3, [r3, #0] + 800ac8a: 4a1c ldr r2, [pc, #112] ; (800acfc ) + 800ac8c: 4293 cmp r3, r2 + 800ac8e: d013 beq.n 800acb8 + 800ac90: 687b ldr r3, [r7, #4] + 800ac92: 681b ldr r3, [r3, #0] + 800ac94: 4a1a ldr r2, [pc, #104] ; (800ad00 ) + 800ac96: 4293 cmp r3, r2 + 800ac98: d00e beq.n 800acb8 + 800ac9a: 687b ldr r3, [r7, #4] + 800ac9c: 681b ldr r3, [r3, #0] + 800ac9e: 4a15 ldr r2, [pc, #84] ; (800acf4 ) + 800aca0: 4293 cmp r3, r2 + 800aca2: d009 beq.n 800acb8 + 800aca4: 687b ldr r3, [r7, #4] + 800aca6: 681b ldr r3, [r3, #0] + 800aca8: 4a16 ldr r2, [pc, #88] ; (800ad04 ) + 800acaa: 4293 cmp r3, r2 + 800acac: d004 beq.n 800acb8 + 800acae: 687b ldr r3, [r7, #4] + 800acb0: 681b ldr r3, [r3, #0] + 800acb2: 4a15 ldr r2, [pc, #84] ; (800ad08 ) + 800acb4: 4293 cmp r3, r2 + 800acb6: d10c bne.n 800acd2 { /* Reset the MSM Bit */ tmpsmcr &= ~TIM_SMCR_MSM; - 800b11c: 68bb ldr r3, [r7, #8] - 800b11e: f023 0380 bic.w r3, r3, #128 ; 0x80 - 800b122: 60bb str r3, [r7, #8] + 800acb8: 68bb ldr r3, [r7, #8] + 800acba: f023 0380 bic.w r3, r3, #128 ; 0x80 + 800acbe: 60bb str r3, [r7, #8] /* Set master mode */ tmpsmcr |= sMasterConfig->MasterSlaveMode; - 800b124: 683b ldr r3, [r7, #0] - 800b126: 689b ldr r3, [r3, #8] - 800b128: 68ba ldr r2, [r7, #8] - 800b12a: 4313 orrs r3, r2 - 800b12c: 60bb str r3, [r7, #8] + 800acc0: 683b ldr r3, [r7, #0] + 800acc2: 689b ldr r3, [r3, #8] + 800acc4: 68ba ldr r2, [r7, #8] + 800acc6: 4313 orrs r3, r2 + 800acc8: 60bb str r3, [r7, #8] /* Update TIMx SMCR */ htim->Instance->SMCR = tmpsmcr; - 800b12e: 687b ldr r3, [r7, #4] - 800b130: 681b ldr r3, [r3, #0] - 800b132: 68ba ldr r2, [r7, #8] - 800b134: 609a str r2, [r3, #8] + 800acca: 687b ldr r3, [r7, #4] + 800accc: 681b ldr r3, [r3, #0] + 800acce: 68ba ldr r2, [r7, #8] + 800acd0: 609a str r2, [r3, #8] } /* Change the htim state */ htim->State = HAL_TIM_STATE_READY; - 800b136: 687b ldr r3, [r7, #4] - 800b138: 2201 movs r2, #1 - 800b13a: f883 203d strb.w r2, [r3, #61] ; 0x3d + 800acd2: 687b ldr r3, [r7, #4] + 800acd4: 2201 movs r2, #1 + 800acd6: f883 203d strb.w r2, [r3, #61] ; 0x3d __HAL_UNLOCK(htim); - 800b13e: 687b ldr r3, [r7, #4] - 800b140: 2200 movs r2, #0 - 800b142: f883 203c strb.w r2, [r3, #60] ; 0x3c + 800acda: 687b ldr r3, [r7, #4] + 800acdc: 2200 movs r2, #0 + 800acde: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_OK; - 800b146: 2300 movs r3, #0 + 800ace2: 2300 movs r3, #0 } - 800b148: 4618 mov r0, r3 - 800b14a: 3714 adds r7, #20 - 800b14c: 46bd mov sp, r7 - 800b14e: f85d 7b04 ldr.w r7, [sp], #4 - 800b152: 4770 bx lr - 800b154: 40010000 .word 0x40010000 - 800b158: 40010400 .word 0x40010400 - 800b15c: 40000400 .word 0x40000400 - 800b160: 40000800 .word 0x40000800 - 800b164: 40000c00 .word 0x40000c00 - 800b168: 40014000 .word 0x40014000 - 800b16c: 40001800 .word 0x40001800 + 800ace4: 4618 mov r0, r3 + 800ace6: 3714 adds r7, #20 + 800ace8: 46bd mov sp, r7 + 800acea: f85d 7b04 ldr.w r7, [sp], #4 + 800acee: 4770 bx lr + 800acf0: 40010000 .word 0x40010000 + 800acf4: 40010400 .word 0x40010400 + 800acf8: 40000400 .word 0x40000400 + 800acfc: 40000800 .word 0x40000800 + 800ad00: 40000c00 .word 0x40000c00 + 800ad04: 40014000 .word 0x40014000 + 800ad08: 40001800 .word 0x40001800 -0800b170 : +0800ad0c : * interrupt can be enabled by calling the @ref __HAL_TIM_ENABLE_IT macro. * @retval HAL status */ HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim, TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfig) { - 800b170: b480 push {r7} - 800b172: b085 sub sp, #20 - 800b174: af00 add r7, sp, #0 - 800b176: 6078 str r0, [r7, #4] - 800b178: 6039 str r1, [r7, #0] + 800ad0c: b480 push {r7} + 800ad0e: b085 sub sp, #20 + 800ad10: af00 add r7, sp, #0 + 800ad12: 6078 str r0, [r7, #4] + 800ad14: 6039 str r1, [r7, #0] /* Keep this variable initialized to 0 as it is used to configure BDTR register */ uint32_t tmpbdtr = 0U; - 800b17a: 2300 movs r3, #0 - 800b17c: 60fb str r3, [r7, #12] + 800ad16: 2300 movs r3, #0 + 800ad18: 60fb str r3, [r7, #12] assert_param(IS_TIM_BREAK_POLARITY(sBreakDeadTimeConfig->BreakPolarity)); assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->BreakFilter)); assert_param(IS_TIM_AUTOMATIC_OUTPUT_STATE(sBreakDeadTimeConfig->AutomaticOutput)); /* Check input state */ __HAL_LOCK(htim); - 800b17e: 687b ldr r3, [r7, #4] - 800b180: f893 303c ldrb.w r3, [r3, #60] ; 0x3c - 800b184: 2b01 cmp r3, #1 - 800b186: d101 bne.n 800b18c - 800b188: 2302 movs r3, #2 - 800b18a: e065 b.n 800b258 - 800b18c: 687b ldr r3, [r7, #4] - 800b18e: 2201 movs r2, #1 - 800b190: f883 203c strb.w r2, [r3, #60] ; 0x3c + 800ad1a: 687b ldr r3, [r7, #4] + 800ad1c: f893 303c ldrb.w r3, [r3, #60] ; 0x3c + 800ad20: 2b01 cmp r3, #1 + 800ad22: d101 bne.n 800ad28 + 800ad24: 2302 movs r3, #2 + 800ad26: e065 b.n 800adf4 + 800ad28: 687b ldr r3, [r7, #4] + 800ad2a: 2201 movs r2, #1 + 800ad2c: f883 203c strb.w r2, [r3, #60] ; 0x3c /* Set the Lock level, the Break enable Bit and the Polarity, the OSSR State, the OSSI State, the dead time value and the Automatic Output Enable Bit */ /* Set the BDTR bits */ MODIFY_REG(tmpbdtr, TIM_BDTR_DTG, sBreakDeadTimeConfig->DeadTime); - 800b194: 68fb ldr r3, [r7, #12] - 800b196: f023 02ff bic.w r2, r3, #255 ; 0xff - 800b19a: 683b ldr r3, [r7, #0] - 800b19c: 68db ldr r3, [r3, #12] - 800b19e: 4313 orrs r3, r2 - 800b1a0: 60fb str r3, [r7, #12] + 800ad30: 68fb ldr r3, [r7, #12] + 800ad32: f023 02ff bic.w r2, r3, #255 ; 0xff + 800ad36: 683b ldr r3, [r7, #0] + 800ad38: 68db ldr r3, [r3, #12] + 800ad3a: 4313 orrs r3, r2 + 800ad3c: 60fb str r3, [r7, #12] MODIFY_REG(tmpbdtr, TIM_BDTR_LOCK, sBreakDeadTimeConfig->LockLevel); - 800b1a2: 68fb ldr r3, [r7, #12] - 800b1a4: f423 7240 bic.w r2, r3, #768 ; 0x300 - 800b1a8: 683b ldr r3, [r7, #0] - 800b1aa: 689b ldr r3, [r3, #8] - 800b1ac: 4313 orrs r3, r2 - 800b1ae: 60fb str r3, [r7, #12] + 800ad3e: 68fb ldr r3, [r7, #12] + 800ad40: f423 7240 bic.w r2, r3, #768 ; 0x300 + 800ad44: 683b ldr r3, [r7, #0] + 800ad46: 689b ldr r3, [r3, #8] + 800ad48: 4313 orrs r3, r2 + 800ad4a: 60fb str r3, [r7, #12] MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode); - 800b1b0: 68fb ldr r3, [r7, #12] - 800b1b2: f423 6280 bic.w r2, r3, #1024 ; 0x400 - 800b1b6: 683b ldr r3, [r7, #0] - 800b1b8: 685b ldr r3, [r3, #4] - 800b1ba: 4313 orrs r3, r2 - 800b1bc: 60fb str r3, [r7, #12] + 800ad4c: 68fb ldr r3, [r7, #12] + 800ad4e: f423 6280 bic.w r2, r3, #1024 ; 0x400 + 800ad52: 683b ldr r3, [r7, #0] + 800ad54: 685b ldr r3, [r3, #4] + 800ad56: 4313 orrs r3, r2 + 800ad58: 60fb str r3, [r7, #12] MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode); - 800b1be: 68fb ldr r3, [r7, #12] - 800b1c0: f423 6200 bic.w r2, r3, #2048 ; 0x800 - 800b1c4: 683b ldr r3, [r7, #0] - 800b1c6: 681b ldr r3, [r3, #0] - 800b1c8: 4313 orrs r3, r2 - 800b1ca: 60fb str r3, [r7, #12] + 800ad5a: 68fb ldr r3, [r7, #12] + 800ad5c: f423 6200 bic.w r2, r3, #2048 ; 0x800 + 800ad60: 683b ldr r3, [r7, #0] + 800ad62: 681b ldr r3, [r3, #0] + 800ad64: 4313 orrs r3, r2 + 800ad66: 60fb str r3, [r7, #12] MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState); - 800b1cc: 68fb ldr r3, [r7, #12] - 800b1ce: f423 5280 bic.w r2, r3, #4096 ; 0x1000 - 800b1d2: 683b ldr r3, [r7, #0] - 800b1d4: 691b ldr r3, [r3, #16] - 800b1d6: 4313 orrs r3, r2 - 800b1d8: 60fb str r3, [r7, #12] + 800ad68: 68fb ldr r3, [r7, #12] + 800ad6a: f423 5280 bic.w r2, r3, #4096 ; 0x1000 + 800ad6e: 683b ldr r3, [r7, #0] + 800ad70: 691b ldr r3, [r3, #16] + 800ad72: 4313 orrs r3, r2 + 800ad74: 60fb str r3, [r7, #12] MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity); - 800b1da: 68fb ldr r3, [r7, #12] - 800b1dc: f423 5200 bic.w r2, r3, #8192 ; 0x2000 - 800b1e0: 683b ldr r3, [r7, #0] - 800b1e2: 695b ldr r3, [r3, #20] - 800b1e4: 4313 orrs r3, r2 - 800b1e6: 60fb str r3, [r7, #12] + 800ad76: 68fb ldr r3, [r7, #12] + 800ad78: f423 5200 bic.w r2, r3, #8192 ; 0x2000 + 800ad7c: 683b ldr r3, [r7, #0] + 800ad7e: 695b ldr r3, [r3, #20] + 800ad80: 4313 orrs r3, r2 + 800ad82: 60fb str r3, [r7, #12] MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput); - 800b1e8: 68fb ldr r3, [r7, #12] - 800b1ea: f423 4280 bic.w r2, r3, #16384 ; 0x4000 - 800b1ee: 683b ldr r3, [r7, #0] - 800b1f0: 6a9b ldr r3, [r3, #40] ; 0x28 - 800b1f2: 4313 orrs r3, r2 - 800b1f4: 60fb str r3, [r7, #12] + 800ad84: 68fb ldr r3, [r7, #12] + 800ad86: f423 4280 bic.w r2, r3, #16384 ; 0x4000 + 800ad8a: 683b ldr r3, [r7, #0] + 800ad8c: 6a9b ldr r3, [r3, #40] ; 0x28 + 800ad8e: 4313 orrs r3, r2 + 800ad90: 60fb str r3, [r7, #12] MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos)); - 800b1f6: 68fb ldr r3, [r7, #12] - 800b1f8: f423 2270 bic.w r2, r3, #983040 ; 0xf0000 - 800b1fc: 683b ldr r3, [r7, #0] - 800b1fe: 699b ldr r3, [r3, #24] - 800b200: 041b lsls r3, r3, #16 - 800b202: 4313 orrs r3, r2 - 800b204: 60fb str r3, [r7, #12] + 800ad92: 68fb ldr r3, [r7, #12] + 800ad94: f423 2270 bic.w r2, r3, #983040 ; 0xf0000 + 800ad98: 683b ldr r3, [r7, #0] + 800ad9a: 699b ldr r3, [r3, #24] + 800ad9c: 041b lsls r3, r3, #16 + 800ad9e: 4313 orrs r3, r2 + 800ada0: 60fb str r3, [r7, #12] if (IS_TIM_BKIN2_INSTANCE(htim->Instance)) - 800b206: 687b ldr r3, [r7, #4] - 800b208: 681b ldr r3, [r3, #0] - 800b20a: 4a16 ldr r2, [pc, #88] ; (800b264 ) - 800b20c: 4293 cmp r3, r2 - 800b20e: d004 beq.n 800b21a - 800b210: 687b ldr r3, [r7, #4] - 800b212: 681b ldr r3, [r3, #0] - 800b214: 4a14 ldr r2, [pc, #80] ; (800b268 ) - 800b216: 4293 cmp r3, r2 - 800b218: d115 bne.n 800b246 + 800ada2: 687b ldr r3, [r7, #4] + 800ada4: 681b ldr r3, [r3, #0] + 800ada6: 4a16 ldr r2, [pc, #88] ; (800ae00 ) + 800ada8: 4293 cmp r3, r2 + 800adaa: d004 beq.n 800adb6 + 800adac: 687b ldr r3, [r7, #4] + 800adae: 681b ldr r3, [r3, #0] + 800adb0: 4a14 ldr r2, [pc, #80] ; (800ae04 ) + 800adb2: 4293 cmp r3, r2 + 800adb4: d115 bne.n 800ade2 assert_param(IS_TIM_BREAK2_STATE(sBreakDeadTimeConfig->Break2State)); assert_param(IS_TIM_BREAK2_POLARITY(sBreakDeadTimeConfig->Break2Polarity)); assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->Break2Filter)); /* Set the BREAK2 input related BDTR bits */ MODIFY_REG(tmpbdtr, TIM_BDTR_BK2F, (sBreakDeadTimeConfig->Break2Filter << TIM_BDTR_BK2F_Pos)); - 800b21a: 68fb ldr r3, [r7, #12] - 800b21c: f423 0270 bic.w r2, r3, #15728640 ; 0xf00000 - 800b220: 683b ldr r3, [r7, #0] - 800b222: 6a5b ldr r3, [r3, #36] ; 0x24 - 800b224: 051b lsls r3, r3, #20 - 800b226: 4313 orrs r3, r2 - 800b228: 60fb str r3, [r7, #12] + 800adb6: 68fb ldr r3, [r7, #12] + 800adb8: f423 0270 bic.w r2, r3, #15728640 ; 0xf00000 + 800adbc: 683b ldr r3, [r7, #0] + 800adbe: 6a5b ldr r3, [r3, #36] ; 0x24 + 800adc0: 051b lsls r3, r3, #20 + 800adc2: 4313 orrs r3, r2 + 800adc4: 60fb str r3, [r7, #12] MODIFY_REG(tmpbdtr, TIM_BDTR_BK2E, sBreakDeadTimeConfig->Break2State); - 800b22a: 68fb ldr r3, [r7, #12] - 800b22c: f023 7280 bic.w r2, r3, #16777216 ; 0x1000000 - 800b230: 683b ldr r3, [r7, #0] - 800b232: 69db ldr r3, [r3, #28] - 800b234: 4313 orrs r3, r2 - 800b236: 60fb str r3, [r7, #12] + 800adc6: 68fb ldr r3, [r7, #12] + 800adc8: f023 7280 bic.w r2, r3, #16777216 ; 0x1000000 + 800adcc: 683b ldr r3, [r7, #0] + 800adce: 69db ldr r3, [r3, #28] + 800add0: 4313 orrs r3, r2 + 800add2: 60fb str r3, [r7, #12] MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity); - 800b238: 68fb ldr r3, [r7, #12] - 800b23a: f023 7200 bic.w r2, r3, #33554432 ; 0x2000000 - 800b23e: 683b ldr r3, [r7, #0] - 800b240: 6a1b ldr r3, [r3, #32] - 800b242: 4313 orrs r3, r2 - 800b244: 60fb str r3, [r7, #12] + 800add4: 68fb ldr r3, [r7, #12] + 800add6: f023 7200 bic.w r2, r3, #33554432 ; 0x2000000 + 800adda: 683b ldr r3, [r7, #0] + 800addc: 6a1b ldr r3, [r3, #32] + 800adde: 4313 orrs r3, r2 + 800ade0: 60fb str r3, [r7, #12] } /* Set TIMx_BDTR */ htim->Instance->BDTR = tmpbdtr; - 800b246: 687b ldr r3, [r7, #4] - 800b248: 681b ldr r3, [r3, #0] - 800b24a: 68fa ldr r2, [r7, #12] - 800b24c: 645a str r2, [r3, #68] ; 0x44 + 800ade2: 687b ldr r3, [r7, #4] + 800ade4: 681b ldr r3, [r3, #0] + 800ade6: 68fa ldr r2, [r7, #12] + 800ade8: 645a str r2, [r3, #68] ; 0x44 __HAL_UNLOCK(htim); - 800b24e: 687b ldr r3, [r7, #4] - 800b250: 2200 movs r2, #0 - 800b252: f883 203c strb.w r2, [r3, #60] ; 0x3c + 800adea: 687b ldr r3, [r7, #4] + 800adec: 2200 movs r2, #0 + 800adee: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_OK; - 800b256: 2300 movs r3, #0 + 800adf2: 2300 movs r3, #0 } - 800b258: 4618 mov r0, r3 - 800b25a: 3714 adds r7, #20 - 800b25c: 46bd mov sp, r7 - 800b25e: f85d 7b04 ldr.w r7, [sp], #4 - 800b262: 4770 bx lr - 800b264: 40010000 .word 0x40010000 - 800b268: 40010400 .word 0x40010400 + 800adf4: 4618 mov r0, r3 + 800adf6: 3714 adds r7, #20 + 800adf8: 46bd mov sp, r7 + 800adfa: f85d 7b04 ldr.w r7, [sp], #4 + 800adfe: 4770 bx lr + 800ae00: 40010000 .word 0x40010000 + 800ae04: 40010400 .word 0x40010400 -0800b26c : +0800ae08 : * @brief Hall commutation changed callback in non-blocking mode * @param htim TIM handle * @retval None */ __weak void HAL_TIMEx_CommutCallback(TIM_HandleTypeDef *htim) { - 800b26c: b480 push {r7} - 800b26e: b083 sub sp, #12 - 800b270: af00 add r7, sp, #0 - 800b272: 6078 str r0, [r7, #4] + 800ae08: b480 push {r7} + 800ae0a: b083 sub sp, #12 + 800ae0c: af00 add r7, sp, #0 + 800ae0e: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function should not be modified, when the callback is needed, the HAL_TIMEx_CommutCallback could be implemented in the user file */ } - 800b274: bf00 nop - 800b276: 370c adds r7, #12 - 800b278: 46bd mov sp, r7 - 800b27a: f85d 7b04 ldr.w r7, [sp], #4 - 800b27e: 4770 bx lr + 800ae10: bf00 nop + 800ae12: 370c adds r7, #12 + 800ae14: 46bd mov sp, r7 + 800ae16: f85d 7b04 ldr.w r7, [sp], #4 + 800ae1a: 4770 bx lr -0800b280 : +0800ae1c : * @brief Hall Break detection callback in non-blocking mode * @param htim TIM handle * @retval None */ __weak void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim) { - 800b280: b480 push {r7} - 800b282: b083 sub sp, #12 - 800b284: af00 add r7, sp, #0 - 800b286: 6078 str r0, [r7, #4] + 800ae1c: b480 push {r7} + 800ae1e: b083 sub sp, #12 + 800ae20: af00 add r7, sp, #0 + 800ae22: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function should not be modified, when the callback is needed, the HAL_TIMEx_BreakCallback could be implemented in the user file */ } - 800b288: bf00 nop - 800b28a: 370c adds r7, #12 - 800b28c: 46bd mov sp, r7 - 800b28e: f85d 7b04 ldr.w r7, [sp], #4 - 800b292: 4770 bx lr + 800ae24: bf00 nop + 800ae26: 370c adds r7, #12 + 800ae28: 46bd mov sp, r7 + 800ae2a: f85d 7b04 ldr.w r7, [sp], #4 + 800ae2e: 4770 bx lr -0800b294 : +0800ae30 : * @brief Hall Break2 detection callback in non blocking mode * @param htim: TIM handle * @retval None */ __weak void HAL_TIMEx_Break2Callback(TIM_HandleTypeDef *htim) { - 800b294: b480 push {r7} - 800b296: b083 sub sp, #12 - 800b298: af00 add r7, sp, #0 - 800b29a: 6078 str r0, [r7, #4] + 800ae30: b480 push {r7} + 800ae32: b083 sub sp, #12 + 800ae34: af00 add r7, sp, #0 + 800ae36: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function Should not be modified, when the callback is needed, the HAL_TIMEx_Break2Callback could be implemented in the user file */ } - 800b29c: bf00 nop - 800b29e: 370c adds r7, #12 - 800b2a0: 46bd mov sp, r7 - 800b2a2: f85d 7b04 ldr.w r7, [sp], #4 - 800b2a6: 4770 bx lr + 800ae38: bf00 nop + 800ae3a: 370c adds r7, #12 + 800ae3c: 46bd mov sp, r7 + 800ae3e: f85d 7b04 ldr.w r7, [sp], #4 + 800ae42: 4770 bx lr -0800b2a8 : +0800ae44 : * @param Device Pointer to SDRAM device instance * @param Init Pointer to SDRAM Initialization structure * @retval HAL status */ HAL_StatusTypeDef FMC_SDRAM_Init(FMC_SDRAM_TypeDef *Device, FMC_SDRAM_InitTypeDef *Init) { - 800b2a8: b480 push {r7} - 800b2aa: b085 sub sp, #20 - 800b2ac: af00 add r7, sp, #0 - 800b2ae: 6078 str r0, [r7, #4] - 800b2b0: 6039 str r1, [r7, #0] + 800ae44: b480 push {r7} + 800ae46: b085 sub sp, #20 + 800ae48: af00 add r7, sp, #0 + 800ae4a: 6078 str r0, [r7, #4] + 800ae4c: 6039 str r1, [r7, #0] uint32_t tmpr1 = 0; - 800b2b2: 2300 movs r3, #0 - 800b2b4: 60fb str r3, [r7, #12] + 800ae4e: 2300 movs r3, #0 + 800ae50: 60fb str r3, [r7, #12] uint32_t tmpr2 = 0; - 800b2b6: 2300 movs r3, #0 - 800b2b8: 60bb str r3, [r7, #8] + 800ae52: 2300 movs r3, #0 + 800ae54: 60bb str r3, [r7, #8] assert_param(IS_FMC_SDCLOCK_PERIOD(Init->SDClockPeriod)); assert_param(IS_FMC_READ_BURST(Init->ReadBurst)); assert_param(IS_FMC_READPIPE_DELAY(Init->ReadPipeDelay)); /* Set SDRAM bank configuration parameters */ if (Init->SDBank != FMC_SDRAM_BANK2) - 800b2ba: 683b ldr r3, [r7, #0] - 800b2bc: 681b ldr r3, [r3, #0] - 800b2be: 2b01 cmp r3, #1 - 800b2c0: d027 beq.n 800b312 + 800ae56: 683b ldr r3, [r7, #0] + 800ae58: 681b ldr r3, [r3, #0] + 800ae5a: 2b01 cmp r3, #1 + 800ae5c: d027 beq.n 800aeae { tmpr1 = Device->SDCR[FMC_SDRAM_BANK1]; - 800b2c2: 687b ldr r3, [r7, #4] - 800b2c4: 681b ldr r3, [r3, #0] - 800b2c6: 60fb str r3, [r7, #12] + 800ae5e: 687b ldr r3, [r7, #4] + 800ae60: 681b ldr r3, [r3, #0] + 800ae62: 60fb str r3, [r7, #12] /* Clear NC, NR, MWID, NB, CAS, WP, SDCLK, RBURST, and RPIPE bits */ tmpr1 &= ((uint32_t)~(FMC_SDCR1_NC | FMC_SDCR1_NR | FMC_SDCR1_MWID | \ - 800b2c8: 68fa ldr r2, [r7, #12] - 800b2ca: 4b2f ldr r3, [pc, #188] ; (800b388 ) - 800b2cc: 4013 ands r3, r2 - 800b2ce: 60fb str r3, [r7, #12] + 800ae64: 68fa ldr r2, [r7, #12] + 800ae66: 4b2f ldr r3, [pc, #188] ; (800af24 ) + 800ae68: 4013 ands r3, r2 + 800ae6a: 60fb str r3, [r7, #12] FMC_SDCR1_NB | FMC_SDCR1_CAS | FMC_SDCR1_WP | \ FMC_SDCR1_SDCLK | FMC_SDCR1_RBURST | FMC_SDCR1_RPIPE)); tmpr1 |= (uint32_t)(Init->ColumnBitsNumber |\ - 800b2d0: 683b ldr r3, [r7, #0] - 800b2d2: 685a ldr r2, [r3, #4] + 800ae6c: 683b ldr r3, [r7, #0] + 800ae6e: 685a ldr r2, [r3, #4] Init->RowBitsNumber |\ - 800b2d4: 683b ldr r3, [r7, #0] - 800b2d6: 689b ldr r3, [r3, #8] + 800ae70: 683b ldr r3, [r7, #0] + 800ae72: 689b ldr r3, [r3, #8] tmpr1 |= (uint32_t)(Init->ColumnBitsNumber |\ - 800b2d8: 431a orrs r2, r3 + 800ae74: 431a orrs r2, r3 Init->MemoryDataWidth |\ - 800b2da: 683b ldr r3, [r7, #0] - 800b2dc: 68db ldr r3, [r3, #12] + 800ae76: 683b ldr r3, [r7, #0] + 800ae78: 68db ldr r3, [r3, #12] Init->RowBitsNumber |\ - 800b2de: 431a orrs r2, r3 + 800ae7a: 431a orrs r2, r3 Init->InternalBankNumber |\ - 800b2e0: 683b ldr r3, [r7, #0] - 800b2e2: 691b ldr r3, [r3, #16] + 800ae7c: 683b ldr r3, [r7, #0] + 800ae7e: 691b ldr r3, [r3, #16] Init->MemoryDataWidth |\ - 800b2e4: 431a orrs r2, r3 + 800ae80: 431a orrs r2, r3 Init->CASLatency |\ - 800b2e6: 683b ldr r3, [r7, #0] - 800b2e8: 695b ldr r3, [r3, #20] + 800ae82: 683b ldr r3, [r7, #0] + 800ae84: 695b ldr r3, [r3, #20] Init->InternalBankNumber |\ - 800b2ea: 431a orrs r2, r3 + 800ae86: 431a orrs r2, r3 Init->WriteProtection |\ - 800b2ec: 683b ldr r3, [r7, #0] - 800b2ee: 699b ldr r3, [r3, #24] + 800ae88: 683b ldr r3, [r7, #0] + 800ae8a: 699b ldr r3, [r3, #24] Init->CASLatency |\ - 800b2f0: 431a orrs r2, r3 + 800ae8c: 431a orrs r2, r3 Init->SDClockPeriod |\ - 800b2f2: 683b ldr r3, [r7, #0] - 800b2f4: 69db ldr r3, [r3, #28] + 800ae8e: 683b ldr r3, [r7, #0] + 800ae90: 69db ldr r3, [r3, #28] Init->WriteProtection |\ - 800b2f6: 431a orrs r2, r3 + 800ae92: 431a orrs r2, r3 Init->ReadBurst |\ - 800b2f8: 683b ldr r3, [r7, #0] - 800b2fa: 6a1b ldr r3, [r3, #32] + 800ae94: 683b ldr r3, [r7, #0] + 800ae96: 6a1b ldr r3, [r3, #32] Init->SDClockPeriod |\ - 800b2fc: 431a orrs r2, r3 + 800ae98: 431a orrs r2, r3 Init->ReadPipeDelay - 800b2fe: 683b ldr r3, [r7, #0] - 800b300: 6a5b ldr r3, [r3, #36] ; 0x24 + 800ae9a: 683b ldr r3, [r7, #0] + 800ae9c: 6a5b ldr r3, [r3, #36] ; 0x24 Init->ReadBurst |\ - 800b302: 4313 orrs r3, r2 + 800ae9e: 4313 orrs r3, r2 tmpr1 |= (uint32_t)(Init->ColumnBitsNumber |\ - 800b304: 68fa ldr r2, [r7, #12] - 800b306: 4313 orrs r3, r2 - 800b308: 60fb str r3, [r7, #12] + 800aea0: 68fa ldr r2, [r7, #12] + 800aea2: 4313 orrs r3, r2 + 800aea4: 60fb str r3, [r7, #12] ); Device->SDCR[FMC_SDRAM_BANK1] = tmpr1; - 800b30a: 687b ldr r3, [r7, #4] - 800b30c: 68fa ldr r2, [r7, #12] - 800b30e: 601a str r2, [r3, #0] - 800b310: e032 b.n 800b378 + 800aea6: 687b ldr r3, [r7, #4] + 800aea8: 68fa ldr r2, [r7, #12] + 800aeaa: 601a str r2, [r3, #0] + 800aeac: e032 b.n 800af14 } else /* FMC_Bank2_SDRAM */ { tmpr1 = Device->SDCR[FMC_SDRAM_BANK1]; - 800b312: 687b ldr r3, [r7, #4] - 800b314: 681b ldr r3, [r3, #0] - 800b316: 60fb str r3, [r7, #12] + 800aeae: 687b ldr r3, [r7, #4] + 800aeb0: 681b ldr r3, [r3, #0] + 800aeb2: 60fb str r3, [r7, #12] /* Clear SDCLK, RBURST, and RPIPE bits */ tmpr1 &= ((uint32_t)~(FMC_SDCR1_SDCLK | FMC_SDCR1_RBURST | FMC_SDCR1_RPIPE)); - 800b318: 68fb ldr r3, [r7, #12] - 800b31a: f423 43f8 bic.w r3, r3, #31744 ; 0x7c00 - 800b31e: 60fb str r3, [r7, #12] + 800aeb4: 68fb ldr r3, [r7, #12] + 800aeb6: f423 43f8 bic.w r3, r3, #31744 ; 0x7c00 + 800aeba: 60fb str r3, [r7, #12] tmpr1 |= (uint32_t)(Init->SDClockPeriod |\ - 800b320: 683b ldr r3, [r7, #0] - 800b322: 69da ldr r2, [r3, #28] + 800aebc: 683b ldr r3, [r7, #0] + 800aebe: 69da ldr r2, [r3, #28] Init->ReadBurst |\ - 800b324: 683b ldr r3, [r7, #0] - 800b326: 6a1b ldr r3, [r3, #32] + 800aec0: 683b ldr r3, [r7, #0] + 800aec2: 6a1b ldr r3, [r3, #32] tmpr1 |= (uint32_t)(Init->SDClockPeriod |\ - 800b328: 431a orrs r2, r3 + 800aec4: 431a orrs r2, r3 Init->ReadPipeDelay); - 800b32a: 683b ldr r3, [r7, #0] - 800b32c: 6a5b ldr r3, [r3, #36] ; 0x24 + 800aec6: 683b ldr r3, [r7, #0] + 800aec8: 6a5b ldr r3, [r3, #36] ; 0x24 Init->ReadBurst |\ - 800b32e: 4313 orrs r3, r2 + 800aeca: 4313 orrs r3, r2 tmpr1 |= (uint32_t)(Init->SDClockPeriod |\ - 800b330: 68fa ldr r2, [r7, #12] - 800b332: 4313 orrs r3, r2 - 800b334: 60fb str r3, [r7, #12] + 800aecc: 68fa ldr r2, [r7, #12] + 800aece: 4313 orrs r3, r2 + 800aed0: 60fb str r3, [r7, #12] tmpr2 = Device->SDCR[FMC_SDRAM_BANK2]; - 800b336: 687b ldr r3, [r7, #4] - 800b338: 685b ldr r3, [r3, #4] - 800b33a: 60bb str r3, [r7, #8] + 800aed2: 687b ldr r3, [r7, #4] + 800aed4: 685b ldr r3, [r3, #4] + 800aed6: 60bb str r3, [r7, #8] /* Clear NC, NR, MWID, NB, CAS, WP, SDCLK, RBURST, and RPIPE bits */ tmpr2 &= ((uint32_t)~(FMC_SDCR1_NC | FMC_SDCR1_NR | FMC_SDCR1_MWID | \ - 800b33c: 68ba ldr r2, [r7, #8] - 800b33e: 4b12 ldr r3, [pc, #72] ; (800b388 ) - 800b340: 4013 ands r3, r2 - 800b342: 60bb str r3, [r7, #8] + 800aed8: 68ba ldr r2, [r7, #8] + 800aeda: 4b12 ldr r3, [pc, #72] ; (800af24 ) + 800aedc: 4013 ands r3, r2 + 800aede: 60bb str r3, [r7, #8] FMC_SDCR1_NB | FMC_SDCR1_CAS | FMC_SDCR1_WP | \ FMC_SDCR1_SDCLK | FMC_SDCR1_RBURST | FMC_SDCR1_RPIPE)); tmpr2 |= (uint32_t)(Init->ColumnBitsNumber |\ - 800b344: 683b ldr r3, [r7, #0] - 800b346: 685a ldr r2, [r3, #4] + 800aee0: 683b ldr r3, [r7, #0] + 800aee2: 685a ldr r2, [r3, #4] Init->RowBitsNumber |\ - 800b348: 683b ldr r3, [r7, #0] - 800b34a: 689b ldr r3, [r3, #8] + 800aee4: 683b ldr r3, [r7, #0] + 800aee6: 689b ldr r3, [r3, #8] tmpr2 |= (uint32_t)(Init->ColumnBitsNumber |\ - 800b34c: 431a orrs r2, r3 + 800aee8: 431a orrs r2, r3 Init->MemoryDataWidth |\ - 800b34e: 683b ldr r3, [r7, #0] - 800b350: 68db ldr r3, [r3, #12] + 800aeea: 683b ldr r3, [r7, #0] + 800aeec: 68db ldr r3, [r3, #12] Init->RowBitsNumber |\ - 800b352: 431a orrs r2, r3 + 800aeee: 431a orrs r2, r3 Init->InternalBankNumber |\ - 800b354: 683b ldr r3, [r7, #0] - 800b356: 691b ldr r3, [r3, #16] + 800aef0: 683b ldr r3, [r7, #0] + 800aef2: 691b ldr r3, [r3, #16] Init->MemoryDataWidth |\ - 800b358: 431a orrs r2, r3 + 800aef4: 431a orrs r2, r3 Init->CASLatency |\ - 800b35a: 683b ldr r3, [r7, #0] - 800b35c: 695b ldr r3, [r3, #20] + 800aef6: 683b ldr r3, [r7, #0] + 800aef8: 695b ldr r3, [r3, #20] Init->InternalBankNumber |\ - 800b35e: 431a orrs r2, r3 + 800aefa: 431a orrs r2, r3 Init->WriteProtection); - 800b360: 683b ldr r3, [r7, #0] - 800b362: 699b ldr r3, [r3, #24] + 800aefc: 683b ldr r3, [r7, #0] + 800aefe: 699b ldr r3, [r3, #24] Init->CASLatency |\ - 800b364: 4313 orrs r3, r2 + 800af00: 4313 orrs r3, r2 tmpr2 |= (uint32_t)(Init->ColumnBitsNumber |\ - 800b366: 68ba ldr r2, [r7, #8] - 800b368: 4313 orrs r3, r2 - 800b36a: 60bb str r3, [r7, #8] + 800af02: 68ba ldr r2, [r7, #8] + 800af04: 4313 orrs r3, r2 + 800af06: 60bb str r3, [r7, #8] Device->SDCR[FMC_SDRAM_BANK1] = tmpr1; - 800b36c: 687b ldr r3, [r7, #4] - 800b36e: 68fa ldr r2, [r7, #12] - 800b370: 601a str r2, [r3, #0] + 800af08: 687b ldr r3, [r7, #4] + 800af0a: 68fa ldr r2, [r7, #12] + 800af0c: 601a str r2, [r3, #0] Device->SDCR[FMC_SDRAM_BANK2] = tmpr2; - 800b372: 687b ldr r3, [r7, #4] - 800b374: 68ba ldr r2, [r7, #8] - 800b376: 605a str r2, [r3, #4] + 800af0e: 687b ldr r3, [r7, #4] + 800af10: 68ba ldr r2, [r7, #8] + 800af12: 605a str r2, [r3, #4] } return HAL_OK; - 800b378: 2300 movs r3, #0 + 800af14: 2300 movs r3, #0 } - 800b37a: 4618 mov r0, r3 - 800b37c: 3714 adds r7, #20 - 800b37e: 46bd mov sp, r7 - 800b380: f85d 7b04 ldr.w r7, [sp], #4 - 800b384: 4770 bx lr - 800b386: bf00 nop - 800b388: ffff8000 .word 0xffff8000 + 800af16: 4618 mov r0, r3 + 800af18: 3714 adds r7, #20 + 800af1a: 46bd mov sp, r7 + 800af1c: f85d 7b04 ldr.w r7, [sp], #4 + 800af20: 4770 bx lr + 800af22: bf00 nop + 800af24: ffff8000 .word 0xffff8000 -0800b38c : +0800af28 : * @param Timing Pointer to SDRAM Timing structure * @param Bank SDRAM bank number * @retval HAL status */ HAL_StatusTypeDef FMC_SDRAM_Timing_Init(FMC_SDRAM_TypeDef *Device, FMC_SDRAM_TimingTypeDef *Timing, uint32_t Bank) { - 800b38c: b480 push {r7} - 800b38e: b087 sub sp, #28 - 800b390: af00 add r7, sp, #0 - 800b392: 60f8 str r0, [r7, #12] - 800b394: 60b9 str r1, [r7, #8] - 800b396: 607a str r2, [r7, #4] + 800af28: b480 push {r7} + 800af2a: b087 sub sp, #28 + 800af2c: af00 add r7, sp, #0 + 800af2e: 60f8 str r0, [r7, #12] + 800af30: 60b9 str r1, [r7, #8] + 800af32: 607a str r2, [r7, #4] uint32_t tmpr1 = 0; - 800b398: 2300 movs r3, #0 - 800b39a: 617b str r3, [r7, #20] + 800af34: 2300 movs r3, #0 + 800af36: 617b str r3, [r7, #20] uint32_t tmpr2 = 0; - 800b39c: 2300 movs r3, #0 - 800b39e: 613b str r3, [r7, #16] + 800af38: 2300 movs r3, #0 + 800af3a: 613b str r3, [r7, #16] assert_param(IS_FMC_RP_DELAY(Timing->RPDelay)); assert_param(IS_FMC_RCD_DELAY(Timing->RCDDelay)); assert_param(IS_FMC_SDRAM_BANK(Bank)); /* Set SDRAM device timing parameters */ if (Bank != FMC_SDRAM_BANK2) - 800b3a0: 687b ldr r3, [r7, #4] - 800b3a2: 2b01 cmp r3, #1 - 800b3a4: d02e beq.n 800b404 + 800af3c: 687b ldr r3, [r7, #4] + 800af3e: 2b01 cmp r3, #1 + 800af40: d02e beq.n 800afa0 { tmpr1 = Device->SDTR[FMC_SDRAM_BANK1]; - 800b3a6: 68fb ldr r3, [r7, #12] - 800b3a8: 689b ldr r3, [r3, #8] - 800b3aa: 617b str r3, [r7, #20] + 800af42: 68fb ldr r3, [r7, #12] + 800af44: 689b ldr r3, [r3, #8] + 800af46: 617b str r3, [r7, #20] /* Clear TMRD, TXSR, TRAS, TRC, TWR, TRP and TRCD bits */ tmpr1 &= ((uint32_t)~(FMC_SDTR1_TMRD | FMC_SDTR1_TXSR | FMC_SDTR1_TRAS | \ - 800b3ac: 697b ldr r3, [r7, #20] - 800b3ae: f003 4370 and.w r3, r3, #4026531840 ; 0xf0000000 - 800b3b2: 617b str r3, [r7, #20] + 800af48: 697b ldr r3, [r7, #20] + 800af4a: f003 4370 and.w r3, r3, #4026531840 ; 0xf0000000 + 800af4e: 617b str r3, [r7, #20] FMC_SDTR1_TRC | FMC_SDTR1_TWR | FMC_SDTR1_TRP | \ FMC_SDTR1_TRCD)); tmpr1 |= (uint32_t)(((Timing->LoadToActiveDelay)-1) |\ - 800b3b4: 68bb ldr r3, [r7, #8] - 800b3b6: 681b ldr r3, [r3, #0] - 800b3b8: 1e5a subs r2, r3, #1 + 800af50: 68bb ldr r3, [r7, #8] + 800af52: 681b ldr r3, [r3, #0] + 800af54: 1e5a subs r2, r3, #1 (((Timing->ExitSelfRefreshDelay)-1) << 4) |\ - 800b3ba: 68bb ldr r3, [r7, #8] - 800b3bc: 685b ldr r3, [r3, #4] - 800b3be: 3b01 subs r3, #1 - 800b3c0: 011b lsls r3, r3, #4 + 800af56: 68bb ldr r3, [r7, #8] + 800af58: 685b ldr r3, [r3, #4] + 800af5a: 3b01 subs r3, #1 + 800af5c: 011b lsls r3, r3, #4 tmpr1 |= (uint32_t)(((Timing->LoadToActiveDelay)-1) |\ - 800b3c2: 431a orrs r2, r3 + 800af5e: 431a orrs r2, r3 (((Timing->SelfRefreshTime)-1) << 8) |\ - 800b3c4: 68bb ldr r3, [r7, #8] - 800b3c6: 689b ldr r3, [r3, #8] - 800b3c8: 3b01 subs r3, #1 - 800b3ca: 021b lsls r3, r3, #8 + 800af60: 68bb ldr r3, [r7, #8] + 800af62: 689b ldr r3, [r3, #8] + 800af64: 3b01 subs r3, #1 + 800af66: 021b lsls r3, r3, #8 (((Timing->ExitSelfRefreshDelay)-1) << 4) |\ - 800b3cc: 431a orrs r2, r3 + 800af68: 431a orrs r2, r3 (((Timing->RowCycleDelay)-1) << 12) |\ - 800b3ce: 68bb ldr r3, [r7, #8] - 800b3d0: 68db ldr r3, [r3, #12] - 800b3d2: 3b01 subs r3, #1 - 800b3d4: 031b lsls r3, r3, #12 + 800af6a: 68bb ldr r3, [r7, #8] + 800af6c: 68db ldr r3, [r3, #12] + 800af6e: 3b01 subs r3, #1 + 800af70: 031b lsls r3, r3, #12 (((Timing->SelfRefreshTime)-1) << 8) |\ - 800b3d6: 431a orrs r2, r3 + 800af72: 431a orrs r2, r3 (((Timing->WriteRecoveryTime)-1) <<16) |\ - 800b3d8: 68bb ldr r3, [r7, #8] - 800b3da: 691b ldr r3, [r3, #16] - 800b3dc: 3b01 subs r3, #1 - 800b3de: 041b lsls r3, r3, #16 + 800af74: 68bb ldr r3, [r7, #8] + 800af76: 691b ldr r3, [r3, #16] + 800af78: 3b01 subs r3, #1 + 800af7a: 041b lsls r3, r3, #16 (((Timing->RowCycleDelay)-1) << 12) |\ - 800b3e0: 431a orrs r2, r3 + 800af7c: 431a orrs r2, r3 (((Timing->RPDelay)-1) << 20) |\ - 800b3e2: 68bb ldr r3, [r7, #8] - 800b3e4: 695b ldr r3, [r3, #20] - 800b3e6: 3b01 subs r3, #1 - 800b3e8: 051b lsls r3, r3, #20 + 800af7e: 68bb ldr r3, [r7, #8] + 800af80: 695b ldr r3, [r3, #20] + 800af82: 3b01 subs r3, #1 + 800af84: 051b lsls r3, r3, #20 (((Timing->WriteRecoveryTime)-1) <<16) |\ - 800b3ea: 431a orrs r2, r3 + 800af86: 431a orrs r2, r3 (((Timing->RCDDelay)-1) << 24)); - 800b3ec: 68bb ldr r3, [r7, #8] - 800b3ee: 699b ldr r3, [r3, #24] - 800b3f0: 3b01 subs r3, #1 - 800b3f2: 061b lsls r3, r3, #24 + 800af88: 68bb ldr r3, [r7, #8] + 800af8a: 699b ldr r3, [r3, #24] + 800af8c: 3b01 subs r3, #1 + 800af8e: 061b lsls r3, r3, #24 tmpr1 |= (uint32_t)(((Timing->LoadToActiveDelay)-1) |\ - 800b3f4: 4313 orrs r3, r2 - 800b3f6: 697a ldr r2, [r7, #20] - 800b3f8: 4313 orrs r3, r2 - 800b3fa: 617b str r3, [r7, #20] + 800af90: 4313 orrs r3, r2 + 800af92: 697a ldr r2, [r7, #20] + 800af94: 4313 orrs r3, r2 + 800af96: 617b str r3, [r7, #20] Device->SDTR[FMC_SDRAM_BANK1] = tmpr1; - 800b3fc: 68fb ldr r3, [r7, #12] - 800b3fe: 697a ldr r2, [r7, #20] - 800b400: 609a str r2, [r3, #8] - 800b402: e039 b.n 800b478 + 800af98: 68fb ldr r3, [r7, #12] + 800af9a: 697a ldr r2, [r7, #20] + 800af9c: 609a str r2, [r3, #8] + 800af9e: e039 b.n 800b014 } else /* FMC_Bank2_SDRAM */ { tmpr1 = Device->SDTR[FMC_SDRAM_BANK1]; - 800b404: 68fb ldr r3, [r7, #12] - 800b406: 689b ldr r3, [r3, #8] - 800b408: 617b str r3, [r7, #20] + 800afa0: 68fb ldr r3, [r7, #12] + 800afa2: 689b ldr r3, [r3, #8] + 800afa4: 617b str r3, [r7, #20] /* Clear TRC and TRP bits */ tmpr1 &= ((uint32_t)~(FMC_SDTR1_TRC | FMC_SDTR1_TRP)); - 800b40a: 697a ldr r2, [r7, #20] - 800b40c: 4b1e ldr r3, [pc, #120] ; (800b488 ) - 800b40e: 4013 ands r3, r2 - 800b410: 617b str r3, [r7, #20] + 800afa6: 697a ldr r2, [r7, #20] + 800afa8: 4b1e ldr r3, [pc, #120] ; (800b024 ) + 800afaa: 4013 ands r3, r2 + 800afac: 617b str r3, [r7, #20] tmpr1 |= (uint32_t)((((Timing->RowCycleDelay)-1) << 12) |\ - 800b412: 68bb ldr r3, [r7, #8] - 800b414: 68db ldr r3, [r3, #12] - 800b416: 3b01 subs r3, #1 - 800b418: 031a lsls r2, r3, #12 + 800afae: 68bb ldr r3, [r7, #8] + 800afb0: 68db ldr r3, [r3, #12] + 800afb2: 3b01 subs r3, #1 + 800afb4: 031a lsls r2, r3, #12 (((Timing->RPDelay)-1) << 20)); - 800b41a: 68bb ldr r3, [r7, #8] - 800b41c: 695b ldr r3, [r3, #20] - 800b41e: 3b01 subs r3, #1 - 800b420: 051b lsls r3, r3, #20 + 800afb6: 68bb ldr r3, [r7, #8] + 800afb8: 695b ldr r3, [r3, #20] + 800afba: 3b01 subs r3, #1 + 800afbc: 051b lsls r3, r3, #20 tmpr1 |= (uint32_t)((((Timing->RowCycleDelay)-1) << 12) |\ - 800b422: 4313 orrs r3, r2 - 800b424: 697a ldr r2, [r7, #20] - 800b426: 4313 orrs r3, r2 - 800b428: 617b str r3, [r7, #20] + 800afbe: 4313 orrs r3, r2 + 800afc0: 697a ldr r2, [r7, #20] + 800afc2: 4313 orrs r3, r2 + 800afc4: 617b str r3, [r7, #20] tmpr2 = Device->SDTR[FMC_SDRAM_BANK2]; - 800b42a: 68fb ldr r3, [r7, #12] - 800b42c: 68db ldr r3, [r3, #12] - 800b42e: 613b str r3, [r7, #16] + 800afc6: 68fb ldr r3, [r7, #12] + 800afc8: 68db ldr r3, [r3, #12] + 800afca: 613b str r3, [r7, #16] /* Clear TMRD, TXSR, TRAS, TRC, TWR, TRP and TRCD bits */ tmpr2 &= ((uint32_t)~(FMC_SDTR1_TMRD | FMC_SDTR1_TXSR | FMC_SDTR1_TRAS | \ - 800b430: 693b ldr r3, [r7, #16] - 800b432: f003 4370 and.w r3, r3, #4026531840 ; 0xf0000000 - 800b436: 613b str r3, [r7, #16] + 800afcc: 693b ldr r3, [r7, #16] + 800afce: f003 4370 and.w r3, r3, #4026531840 ; 0xf0000000 + 800afd2: 613b str r3, [r7, #16] FMC_SDTR1_TRC | FMC_SDTR1_TWR | FMC_SDTR1_TRP | \ FMC_SDTR1_TRCD)); tmpr2 |= (uint32_t)(((Timing->LoadToActiveDelay)-1) |\ - 800b438: 68bb ldr r3, [r7, #8] - 800b43a: 681b ldr r3, [r3, #0] - 800b43c: 1e5a subs r2, r3, #1 + 800afd4: 68bb ldr r3, [r7, #8] + 800afd6: 681b ldr r3, [r3, #0] + 800afd8: 1e5a subs r2, r3, #1 (((Timing->ExitSelfRefreshDelay)-1) << 4) |\ - 800b43e: 68bb ldr r3, [r7, #8] - 800b440: 685b ldr r3, [r3, #4] - 800b442: 3b01 subs r3, #1 - 800b444: 011b lsls r3, r3, #4 + 800afda: 68bb ldr r3, [r7, #8] + 800afdc: 685b ldr r3, [r3, #4] + 800afde: 3b01 subs r3, #1 + 800afe0: 011b lsls r3, r3, #4 tmpr2 |= (uint32_t)(((Timing->LoadToActiveDelay)-1) |\ - 800b446: 431a orrs r2, r3 + 800afe2: 431a orrs r2, r3 (((Timing->SelfRefreshTime)-1) << 8) |\ - 800b448: 68bb ldr r3, [r7, #8] - 800b44a: 689b ldr r3, [r3, #8] - 800b44c: 3b01 subs r3, #1 - 800b44e: 021b lsls r3, r3, #8 + 800afe4: 68bb ldr r3, [r7, #8] + 800afe6: 689b ldr r3, [r3, #8] + 800afe8: 3b01 subs r3, #1 + 800afea: 021b lsls r3, r3, #8 (((Timing->ExitSelfRefreshDelay)-1) << 4) |\ - 800b450: 431a orrs r2, r3 + 800afec: 431a orrs r2, r3 (((Timing->WriteRecoveryTime)-1) <<16) |\ - 800b452: 68bb ldr r3, [r7, #8] - 800b454: 691b ldr r3, [r3, #16] - 800b456: 3b01 subs r3, #1 - 800b458: 041b lsls r3, r3, #16 + 800afee: 68bb ldr r3, [r7, #8] + 800aff0: 691b ldr r3, [r3, #16] + 800aff2: 3b01 subs r3, #1 + 800aff4: 041b lsls r3, r3, #16 (((Timing->SelfRefreshTime)-1) << 8) |\ - 800b45a: 431a orrs r2, r3 + 800aff6: 431a orrs r2, r3 (((Timing->RCDDelay)-1) << 24)); - 800b45c: 68bb ldr r3, [r7, #8] - 800b45e: 699b ldr r3, [r3, #24] - 800b460: 3b01 subs r3, #1 - 800b462: 061b lsls r3, r3, #24 + 800aff8: 68bb ldr r3, [r7, #8] + 800affa: 699b ldr r3, [r3, #24] + 800affc: 3b01 subs r3, #1 + 800affe: 061b lsls r3, r3, #24 tmpr2 |= (uint32_t)(((Timing->LoadToActiveDelay)-1) |\ - 800b464: 4313 orrs r3, r2 - 800b466: 693a ldr r2, [r7, #16] - 800b468: 4313 orrs r3, r2 - 800b46a: 613b str r3, [r7, #16] + 800b000: 4313 orrs r3, r2 + 800b002: 693a ldr r2, [r7, #16] + 800b004: 4313 orrs r3, r2 + 800b006: 613b str r3, [r7, #16] Device->SDTR[FMC_SDRAM_BANK1] = tmpr1; - 800b46c: 68fb ldr r3, [r7, #12] - 800b46e: 697a ldr r2, [r7, #20] - 800b470: 609a str r2, [r3, #8] + 800b008: 68fb ldr r3, [r7, #12] + 800b00a: 697a ldr r2, [r7, #20] + 800b00c: 609a str r2, [r3, #8] Device->SDTR[FMC_SDRAM_BANK2] = tmpr2; - 800b472: 68fb ldr r3, [r7, #12] - 800b474: 693a ldr r2, [r7, #16] - 800b476: 60da str r2, [r3, #12] + 800b00e: 68fb ldr r3, [r7, #12] + 800b010: 693a ldr r2, [r7, #16] + 800b012: 60da str r2, [r3, #12] } return HAL_OK; - 800b478: 2300 movs r3, #0 + 800b014: 2300 movs r3, #0 } - 800b47a: 4618 mov r0, r3 - 800b47c: 371c adds r7, #28 - 800b47e: 46bd mov sp, r7 - 800b480: f85d 7b04 ldr.w r7, [sp], #4 - 800b484: 4770 bx lr - 800b486: bf00 nop - 800b488: ff0f0fff .word 0xff0f0fff + 800b016: 4618 mov r0, r3 + 800b018: 371c adds r7, #28 + 800b01a: 46bd mov sp, r7 + 800b01c: f85d 7b04 ldr.w r7, [sp], #4 + 800b020: 4770 bx lr + 800b022: bf00 nop + 800b024: ff0f0fff .word 0xff0f0fff -0800b48c : +0800b028 : * @param Timing Pointer to SDRAM Timing structure * @param Timeout Timeout wait value * @retval HAL state */ HAL_StatusTypeDef FMC_SDRAM_SendCommand(FMC_SDRAM_TypeDef *Device, FMC_SDRAM_CommandTypeDef *Command, uint32_t Timeout) { - 800b48c: b480 push {r7} - 800b48e: b087 sub sp, #28 - 800b490: af00 add r7, sp, #0 - 800b492: 60f8 str r0, [r7, #12] - 800b494: 60b9 str r1, [r7, #8] - 800b496: 607a str r2, [r7, #4] + 800b028: b480 push {r7} + 800b02a: b087 sub sp, #28 + 800b02c: af00 add r7, sp, #0 + 800b02e: 60f8 str r0, [r7, #12] + 800b030: 60b9 str r1, [r7, #8] + 800b032: 607a str r2, [r7, #4] __IO uint32_t tmpr = 0; - 800b498: 2300 movs r3, #0 - 800b49a: 617b str r3, [r7, #20] + 800b034: 2300 movs r3, #0 + 800b036: 617b str r3, [r7, #20] assert_param(IS_FMC_COMMAND_TARGET(Command->CommandTarget)); assert_param(IS_FMC_AUTOREFRESH_NUMBER(Command->AutoRefreshNumber)); assert_param(IS_FMC_MODE_REGISTER(Command->ModeRegisterDefinition)); /* Set command register */ tmpr = (uint32_t)((Command->CommandMode) |\ - 800b49c: 68bb ldr r3, [r7, #8] - 800b49e: 681a ldr r2, [r3, #0] + 800b038: 68bb ldr r3, [r7, #8] + 800b03a: 681a ldr r2, [r3, #0] (Command->CommandTarget) |\ - 800b4a0: 68bb ldr r3, [r7, #8] - 800b4a2: 685b ldr r3, [r3, #4] + 800b03c: 68bb ldr r3, [r7, #8] + 800b03e: 685b ldr r3, [r3, #4] tmpr = (uint32_t)((Command->CommandMode) |\ - 800b4a4: 431a orrs r2, r3 + 800b040: 431a orrs r2, r3 (((Command->AutoRefreshNumber)-1) << 5) |\ - 800b4a6: 68bb ldr r3, [r7, #8] - 800b4a8: 689b ldr r3, [r3, #8] - 800b4aa: 3b01 subs r3, #1 - 800b4ac: 015b lsls r3, r3, #5 + 800b042: 68bb ldr r3, [r7, #8] + 800b044: 689b ldr r3, [r3, #8] + 800b046: 3b01 subs r3, #1 + 800b048: 015b lsls r3, r3, #5 (Command->CommandTarget) |\ - 800b4ae: 431a orrs r2, r3 + 800b04a: 431a orrs r2, r3 ((Command->ModeRegisterDefinition) << 9) - 800b4b0: 68bb ldr r3, [r7, #8] - 800b4b2: 68db ldr r3, [r3, #12] - 800b4b4: 025b lsls r3, r3, #9 + 800b04c: 68bb ldr r3, [r7, #8] + 800b04e: 68db ldr r3, [r3, #12] + 800b050: 025b lsls r3, r3, #9 tmpr = (uint32_t)((Command->CommandMode) |\ - 800b4b6: 4313 orrs r3, r2 - 800b4b8: 617b str r3, [r7, #20] + 800b052: 4313 orrs r3, r2 + 800b054: 617b str r3, [r7, #20] ); Device->SDCMR = tmpr; - 800b4ba: 697a ldr r2, [r7, #20] - 800b4bc: 68fb ldr r3, [r7, #12] - 800b4be: 611a str r2, [r3, #16] + 800b056: 697a ldr r2, [r7, #20] + 800b058: 68fb ldr r3, [r7, #12] + 800b05a: 611a str r2, [r3, #16] return HAL_OK; - 800b4c0: 2300 movs r3, #0 + 800b05c: 2300 movs r3, #0 } - 800b4c2: 4618 mov r0, r3 - 800b4c4: 371c adds r7, #28 - 800b4c6: 46bd mov sp, r7 - 800b4c8: f85d 7b04 ldr.w r7, [sp], #4 - 800b4cc: 4770 bx lr + 800b05e: 4618 mov r0, r3 + 800b060: 371c adds r7, #28 + 800b062: 46bd mov sp, r7 + 800b064: f85d 7b04 ldr.w r7, [sp], #4 + 800b068: 4770 bx lr -0800b4ce : +0800b06a : * @param Device Pointer to SDRAM device instance * @param RefreshRate The SDRAM refresh rate value. * @retval HAL state */ HAL_StatusTypeDef FMC_SDRAM_ProgramRefreshRate(FMC_SDRAM_TypeDef *Device, uint32_t RefreshRate) { - 800b4ce: b480 push {r7} - 800b4d0: b083 sub sp, #12 - 800b4d2: af00 add r7, sp, #0 - 800b4d4: 6078 str r0, [r7, #4] - 800b4d6: 6039 str r1, [r7, #0] + 800b06a: b480 push {r7} + 800b06c: b083 sub sp, #12 + 800b06e: af00 add r7, sp, #0 + 800b070: 6078 str r0, [r7, #4] + 800b072: 6039 str r1, [r7, #0] /* Check the parameters */ assert_param(IS_FMC_SDRAM_DEVICE(Device)); assert_param(IS_FMC_REFRESH_RATE(RefreshRate)); /* Set the refresh rate in command register */ Device->SDRTR |= (RefreshRate<<1); - 800b4d8: 687b ldr r3, [r7, #4] - 800b4da: 695a ldr r2, [r3, #20] - 800b4dc: 683b ldr r3, [r7, #0] - 800b4de: 005b lsls r3, r3, #1 - 800b4e0: 431a orrs r2, r3 - 800b4e2: 687b ldr r3, [r7, #4] - 800b4e4: 615a str r2, [r3, #20] + 800b074: 687b ldr r3, [r7, #4] + 800b076: 695a ldr r2, [r3, #20] + 800b078: 683b ldr r3, [r7, #0] + 800b07a: 005b lsls r3, r3, #1 + 800b07c: 431a orrs r2, r3 + 800b07e: 687b ldr r3, [r7, #4] + 800b080: 615a str r2, [r3, #20] return HAL_OK; - 800b4e6: 2300 movs r3, #0 + 800b082: 2300 movs r3, #0 } - 800b4e8: 4618 mov r0, r3 - 800b4ea: 370c adds r7, #12 - 800b4ec: 46bd mov sp, r7 - 800b4ee: f85d 7b04 ldr.w r7, [sp], #4 - 800b4f2: 4770 bx lr + 800b084: 4618 mov r0, r3 + 800b086: 370c adds r7, #12 + 800b088: 46bd mov sp, r7 + 800b08a: f85d 7b04 ldr.w r7, [sp], #4 + 800b08e: 4770 bx lr -0800b4f4 : +0800b090 : /** * LwIP initialization function */ void MX_LWIP_Init(void) { - 800b4f4: b5b0 push {r4, r5, r7, lr} - 800b4f6: b08e sub sp, #56 ; 0x38 - 800b4f8: af04 add r7, sp, #16 + 800b090: b5b0 push {r4, r5, r7, lr} + 800b092: b08e sub sp, #56 ; 0x38 + 800b094: af04 add r7, sp, #16 /* Initilialize the LwIP stack with RTOS */ tcpip_init( NULL, NULL ); - 800b4fa: 2100 movs r1, #0 - 800b4fc: 2000 movs r0, #0 - 800b4fe: f003 fead bl 800f25c + 800b096: 2100 movs r1, #0 + 800b098: 2000 movs r0, #0 + 800b09a: f003 fea7 bl 800edec /* IP addresses initialization with DHCP (IPv4) */ ipaddr.addr = 0; - 800b502: 4b2a ldr r3, [pc, #168] ; (800b5ac ) - 800b504: 2200 movs r2, #0 - 800b506: 601a str r2, [r3, #0] + 800b09e: 4b2a ldr r3, [pc, #168] ; (800b148 ) + 800b0a0: 2200 movs r2, #0 + 800b0a2: 601a str r2, [r3, #0] netmask.addr = 0; - 800b508: 4b29 ldr r3, [pc, #164] ; (800b5b0 ) - 800b50a: 2200 movs r2, #0 - 800b50c: 601a str r2, [r3, #0] + 800b0a4: 4b29 ldr r3, [pc, #164] ; (800b14c ) + 800b0a6: 2200 movs r2, #0 + 800b0a8: 601a str r2, [r3, #0] gw.addr = 0; - 800b50e: 4b29 ldr r3, [pc, #164] ; (800b5b4 ) - 800b510: 2200 movs r2, #0 - 800b512: 601a str r2, [r3, #0] + 800b0aa: 4b29 ldr r3, [pc, #164] ; (800b150 ) + 800b0ac: 2200 movs r2, #0 + 800b0ae: 601a str r2, [r3, #0] /* add the network interface (IPv4/IPv6) with RTOS */ netif_add(&gnetif, &ipaddr, &netmask, &gw, NULL, ðernetif_init, &tcpip_input); - 800b514: 4b28 ldr r3, [pc, #160] ; (800b5b8 ) - 800b516: 9302 str r3, [sp, #8] - 800b518: 4b28 ldr r3, [pc, #160] ; (800b5bc ) - 800b51a: 9301 str r3, [sp, #4] - 800b51c: 2300 movs r3, #0 - 800b51e: 9300 str r3, [sp, #0] - 800b520: 4b24 ldr r3, [pc, #144] ; (800b5b4 ) - 800b522: 4a23 ldr r2, [pc, #140] ; (800b5b0 ) - 800b524: 4921 ldr r1, [pc, #132] ; (800b5ac ) - 800b526: 4826 ldr r0, [pc, #152] ; (800b5c0 ) - 800b528: f004 fc1c bl 800fd64 + 800b0b0: 4b28 ldr r3, [pc, #160] ; (800b154 ) + 800b0b2: 9302 str r3, [sp, #8] + 800b0b4: 4b28 ldr r3, [pc, #160] ; (800b158 ) + 800b0b6: 9301 str r3, [sp, #4] + 800b0b8: 2300 movs r3, #0 + 800b0ba: 9300 str r3, [sp, #0] + 800b0bc: 4b24 ldr r3, [pc, #144] ; (800b150 ) + 800b0be: 4a23 ldr r2, [pc, #140] ; (800b14c ) + 800b0c0: 4921 ldr r1, [pc, #132] ; (800b148 ) + 800b0c2: 4826 ldr r0, [pc, #152] ; (800b15c ) + 800b0c4: f004 fc16 bl 800f8f4 /* Registers the default network interface */ netif_set_default(&gnetif); - 800b52c: 4824 ldr r0, [pc, #144] ; (800b5c0 ) - 800b52e: f004 fdd3 bl 80100d8 + 800b0c8: 4824 ldr r0, [pc, #144] ; (800b15c ) + 800b0ca: f004 fdcd bl 800fc68 if (netif_is_link_up(&gnetif)) - 800b532: 4b23 ldr r3, [pc, #140] ; (800b5c0 ) - 800b534: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 800b538: 089b lsrs r3, r3, #2 - 800b53a: f003 0301 and.w r3, r3, #1 - 800b53e: b2db uxtb r3, r3 - 800b540: 2b00 cmp r3, #0 - 800b542: d003 beq.n 800b54c + 800b0ce: 4b23 ldr r3, [pc, #140] ; (800b15c ) + 800b0d0: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800b0d4: 089b lsrs r3, r3, #2 + 800b0d6: f003 0301 and.w r3, r3, #1 + 800b0da: b2db uxtb r3, r3 + 800b0dc: 2b00 cmp r3, #0 + 800b0de: d003 beq.n 800b0e8 { /* When the netif is fully configured this function must be called */ netif_set_up(&gnetif); - 800b544: 481e ldr r0, [pc, #120] ; (800b5c0 ) - 800b546: f004 fdd7 bl 80100f8 - 800b54a: e002 b.n 800b552 + 800b0e0: 481e ldr r0, [pc, #120] ; (800b15c ) + 800b0e2: f004 fdd1 bl 800fc88 + 800b0e6: e002 b.n 800b0ee } else { /* When the netif link is down this function must be called */ netif_set_down(&gnetif); - 800b54c: 481c ldr r0, [pc, #112] ; (800b5c0 ) - 800b54e: f004 fe3f bl 80101d0 + 800b0e8: 481c ldr r0, [pc, #112] ; (800b15c ) + 800b0ea: f004 fe39 bl 800fd60 } /* Set the link callback function, this function is called on change of link status*/ netif_set_link_callback(&gnetif, ethernetif_update_config); - 800b552: 491c ldr r1, [pc, #112] ; (800b5c4 ) - 800b554: 481a ldr r0, [pc, #104] ; (800b5c0 ) - 800b556: f004 fed5 bl 8010304 + 800b0ee: 491c ldr r1, [pc, #112] ; (800b160 ) + 800b0f0: 481a ldr r0, [pc, #104] ; (800b15c ) + 800b0f2: f004 fecf bl 800fe94 /* create a binary semaphore used for informing ethernetif of frame reception */ osSemaphoreDef(Netif_SEM); - 800b55a: 2300 movs r3, #0 - 800b55c: 623b str r3, [r7, #32] - 800b55e: 2300 movs r3, #0 - 800b560: 627b str r3, [r7, #36] ; 0x24 + 800b0f6: 2300 movs r3, #0 + 800b0f8: 623b str r3, [r7, #32] + 800b0fa: 2300 movs r3, #0 + 800b0fc: 627b str r3, [r7, #36] ; 0x24 Netif_LinkSemaphore = osSemaphoreCreate(osSemaphore(Netif_SEM) , 1 ); - 800b562: f107 0320 add.w r3, r7, #32 - 800b566: 2101 movs r1, #1 - 800b568: 4618 mov r0, r3 - 800b56a: f000 fd75 bl 800c058 - 800b56e: 4602 mov r2, r0 - 800b570: 4b15 ldr r3, [pc, #84] ; (800b5c8 ) - 800b572: 601a str r2, [r3, #0] + 800b0fe: f107 0320 add.w r3, r7, #32 + 800b102: 2101 movs r1, #1 + 800b104: 4618 mov r0, r3 + 800b106: f000 fd75 bl 800bbf4 + 800b10a: 4602 mov r2, r0 + 800b10c: 4b15 ldr r3, [pc, #84] ; (800b164 ) + 800b10e: 601a str r2, [r3, #0] link_arg.netif = &gnetif; - 800b574: 4b15 ldr r3, [pc, #84] ; (800b5cc ) - 800b576: 4a12 ldr r2, [pc, #72] ; (800b5c0 ) - 800b578: 601a str r2, [r3, #0] + 800b110: 4b15 ldr r3, [pc, #84] ; (800b168 ) + 800b112: 4a12 ldr r2, [pc, #72] ; (800b15c ) + 800b114: 601a str r2, [r3, #0] link_arg.semaphore = Netif_LinkSemaphore; - 800b57a: 4b13 ldr r3, [pc, #76] ; (800b5c8 ) - 800b57c: 681b ldr r3, [r3, #0] - 800b57e: 4a13 ldr r2, [pc, #76] ; (800b5cc ) - 800b580: 6053 str r3, [r2, #4] + 800b116: 4b13 ldr r3, [pc, #76] ; (800b164 ) + 800b118: 681b ldr r3, [r3, #0] + 800b11a: 4a13 ldr r2, [pc, #76] ; (800b168 ) + 800b11c: 6053 str r3, [r2, #4] /* Create the Ethernet link handler thread */ /* USER CODE BEGIN OS_THREAD_DEF_CREATE_CMSIS_RTOS_V1 */ osThreadDef(LinkThr, ethernetif_set_link, osPriorityBelowNormal, 0, configMINIMAL_STACK_SIZE * 2); - 800b582: 4b13 ldr r3, [pc, #76] ; (800b5d0 ) - 800b584: 1d3c adds r4, r7, #4 - 800b586: 461d mov r5, r3 - 800b588: cd0f ldmia r5!, {r0, r1, r2, r3} - 800b58a: c40f stmia r4!, {r0, r1, r2, r3} - 800b58c: e895 0007 ldmia.w r5, {r0, r1, r2} - 800b590: e884 0007 stmia.w r4, {r0, r1, r2} + 800b11e: 4b13 ldr r3, [pc, #76] ; (800b16c ) + 800b120: 1d3c adds r4, r7, #4 + 800b122: 461d mov r5, r3 + 800b124: cd0f ldmia r5!, {r0, r1, r2, r3} + 800b126: c40f stmia r4!, {r0, r1, r2, r3} + 800b128: e895 0007 ldmia.w r5, {r0, r1, r2} + 800b12c: e884 0007 stmia.w r4, {r0, r1, r2} osThreadCreate (osThread(LinkThr), &link_arg); - 800b594: 1d3b adds r3, r7, #4 - 800b596: 490d ldr r1, [pc, #52] ; (800b5cc ) - 800b598: 4618 mov r0, r3 - 800b59a: f000 fc60 bl 800be5e + 800b130: 1d3b adds r3, r7, #4 + 800b132: 490d ldr r1, [pc, #52] ; (800b168 ) + 800b134: 4618 mov r0, r3 + 800b136: f000 fc60 bl 800b9fa /* USER CODE END OS_THREAD_DEF_CREATE_CMSIS_RTOS_V1 */ /* Start DHCP negotiation for a network interface (IPv4) */ dhcp_start(&gnetif); - 800b59e: 4808 ldr r0, [pc, #32] ; (800b5c0 ) - 800b5a0: f00c f812 bl 80175c8 + 800b13a: 4808 ldr r0, [pc, #32] ; (800b15c ) + 800b13c: f00c f80c bl 8017158 /* USER CODE BEGIN 3 */ /* USER CODE END 3 */ } - 800b5a4: bf00 nop - 800b5a6: 3728 adds r7, #40 ; 0x28 - 800b5a8: 46bd mov sp, r7 - 800b5aa: bdb0 pop {r4, r5, r7, pc} - 800b5ac: 20008d98 .word 0x20008d98 - 800b5b0: 20008d9c .word 0x20008d9c - 800b5b4: 20008da0 .word 0x20008da0 - 800b5b8: 0800f199 .word 0x0800f199 - 800b5bc: 0800bbed .word 0x0800bbed - 800b5c0: 20008d60 .word 0x20008d60 - 800b5c4: 0800bcd1 .word 0x0800bcd1 - 800b5c8: 20000584 .word 0x20000584 - 800b5cc: 20008d58 .word 0x20008d58 - 800b5d0: 0801c73c .word 0x0801c73c + 800b140: bf00 nop + 800b142: 3728 adds r7, #40 ; 0x28 + 800b144: 46bd mov sp, r7 + 800b146: bdb0 pop {r4, r5, r7, pc} + 800b148: 20008d94 .word 0x20008d94 + 800b14c: 20008d98 .word 0x20008d98 + 800b150: 20008d9c .word 0x20008d9c + 800b154: 0800ed29 .word 0x0800ed29 + 800b158: 0800b789 .word 0x0800b789 + 800b15c: 20008d5c .word 0x20008d5c + 800b160: 0800b86d .word 0x0800b86d + 800b164: 20000584 .word 0x20000584 + 800b168: 20008d54 .word 0x20008d54 + 800b16c: 0801bf38 .word 0x0801bf38 -0800b5d4 : +0800b170 : /* USER CODE END 3 */ /* Private functions ---------------------------------------------------------*/ void HAL_ETH_MspInit(ETH_HandleTypeDef* ethHandle) { - 800b5d4: b580 push {r7, lr} - 800b5d6: b08e sub sp, #56 ; 0x38 - 800b5d8: af00 add r7, sp, #0 - 800b5da: 6078 str r0, [r7, #4] + 800b170: b580 push {r7, lr} + 800b172: b08e sub sp, #56 ; 0x38 + 800b174: af00 add r7, sp, #0 + 800b176: 6078 str r0, [r7, #4] GPIO_InitTypeDef GPIO_InitStruct = {0}; - 800b5dc: f107 0324 add.w r3, r7, #36 ; 0x24 - 800b5e0: 2200 movs r2, #0 - 800b5e2: 601a str r2, [r3, #0] - 800b5e4: 605a str r2, [r3, #4] - 800b5e6: 609a str r2, [r3, #8] - 800b5e8: 60da str r2, [r3, #12] - 800b5ea: 611a str r2, [r3, #16] + 800b178: f107 0324 add.w r3, r7, #36 ; 0x24 + 800b17c: 2200 movs r2, #0 + 800b17e: 601a str r2, [r3, #0] + 800b180: 605a str r2, [r3, #4] + 800b182: 609a str r2, [r3, #8] + 800b184: 60da str r2, [r3, #12] + 800b186: 611a str r2, [r3, #16] if(ethHandle->Instance==ETH) - 800b5ec: 687b ldr r3, [r7, #4] - 800b5ee: 681b ldr r3, [r3, #0] - 800b5f0: 4a44 ldr r2, [pc, #272] ; (800b704 ) - 800b5f2: 4293 cmp r3, r2 - 800b5f4: f040 8081 bne.w 800b6fa + 800b188: 687b ldr r3, [r7, #4] + 800b18a: 681b ldr r3, [r3, #0] + 800b18c: 4a44 ldr r2, [pc, #272] ; (800b2a0 ) + 800b18e: 4293 cmp r3, r2 + 800b190: f040 8081 bne.w 800b296 { /* USER CODE BEGIN ETH_MspInit 0 */ /* USER CODE END ETH_MspInit 0 */ /* Enable Peripheral clock */ __HAL_RCC_ETH_CLK_ENABLE(); - 800b5f8: 4b43 ldr r3, [pc, #268] ; (800b708 ) - 800b5fa: 6b1b ldr r3, [r3, #48] ; 0x30 - 800b5fc: 4a42 ldr r2, [pc, #264] ; (800b708 ) - 800b5fe: f043 7300 orr.w r3, r3, #33554432 ; 0x2000000 - 800b602: 6313 str r3, [r2, #48] ; 0x30 - 800b604: 4b40 ldr r3, [pc, #256] ; (800b708 ) - 800b606: 6b1b ldr r3, [r3, #48] ; 0x30 - 800b608: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 - 800b60c: 623b str r3, [r7, #32] - 800b60e: 6a3b ldr r3, [r7, #32] - 800b610: 4b3d ldr r3, [pc, #244] ; (800b708 ) - 800b612: 6b1b ldr r3, [r3, #48] ; 0x30 - 800b614: 4a3c ldr r2, [pc, #240] ; (800b708 ) - 800b616: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 - 800b61a: 6313 str r3, [r2, #48] ; 0x30 - 800b61c: 4b3a ldr r3, [pc, #232] ; (800b708 ) - 800b61e: 6b1b ldr r3, [r3, #48] ; 0x30 - 800b620: f003 6380 and.w r3, r3, #67108864 ; 0x4000000 - 800b624: 61fb str r3, [r7, #28] - 800b626: 69fb ldr r3, [r7, #28] - 800b628: 4b37 ldr r3, [pc, #220] ; (800b708 ) - 800b62a: 6b1b ldr r3, [r3, #48] ; 0x30 - 800b62c: 4a36 ldr r2, [pc, #216] ; (800b708 ) - 800b62e: f043 6300 orr.w r3, r3, #134217728 ; 0x8000000 - 800b632: 6313 str r3, [r2, #48] ; 0x30 - 800b634: 4b34 ldr r3, [pc, #208] ; (800b708 ) - 800b636: 6b1b ldr r3, [r3, #48] ; 0x30 - 800b638: f003 6300 and.w r3, r3, #134217728 ; 0x8000000 - 800b63c: 61bb str r3, [r7, #24] - 800b63e: 69bb ldr r3, [r7, #24] + 800b194: 4b43 ldr r3, [pc, #268] ; (800b2a4 ) + 800b196: 6b1b ldr r3, [r3, #48] ; 0x30 + 800b198: 4a42 ldr r2, [pc, #264] ; (800b2a4 ) + 800b19a: f043 7300 orr.w r3, r3, #33554432 ; 0x2000000 + 800b19e: 6313 str r3, [r2, #48] ; 0x30 + 800b1a0: 4b40 ldr r3, [pc, #256] ; (800b2a4 ) + 800b1a2: 6b1b ldr r3, [r3, #48] ; 0x30 + 800b1a4: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 + 800b1a8: 623b str r3, [r7, #32] + 800b1aa: 6a3b ldr r3, [r7, #32] + 800b1ac: 4b3d ldr r3, [pc, #244] ; (800b2a4 ) + 800b1ae: 6b1b ldr r3, [r3, #48] ; 0x30 + 800b1b0: 4a3c ldr r2, [pc, #240] ; (800b2a4 ) + 800b1b2: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 + 800b1b6: 6313 str r3, [r2, #48] ; 0x30 + 800b1b8: 4b3a ldr r3, [pc, #232] ; (800b2a4 ) + 800b1ba: 6b1b ldr r3, [r3, #48] ; 0x30 + 800b1bc: f003 6380 and.w r3, r3, #67108864 ; 0x4000000 + 800b1c0: 61fb str r3, [r7, #28] + 800b1c2: 69fb ldr r3, [r7, #28] + 800b1c4: 4b37 ldr r3, [pc, #220] ; (800b2a4 ) + 800b1c6: 6b1b ldr r3, [r3, #48] ; 0x30 + 800b1c8: 4a36 ldr r2, [pc, #216] ; (800b2a4 ) + 800b1ca: f043 6300 orr.w r3, r3, #134217728 ; 0x8000000 + 800b1ce: 6313 str r3, [r2, #48] ; 0x30 + 800b1d0: 4b34 ldr r3, [pc, #208] ; (800b2a4 ) + 800b1d2: 6b1b ldr r3, [r3, #48] ; 0x30 + 800b1d4: f003 6300 and.w r3, r3, #134217728 ; 0x8000000 + 800b1d8: 61bb str r3, [r7, #24] + 800b1da: 69bb ldr r3, [r7, #24] __HAL_RCC_GPIOG_CLK_ENABLE(); - 800b640: 4b31 ldr r3, [pc, #196] ; (800b708 ) - 800b642: 6b1b ldr r3, [r3, #48] ; 0x30 - 800b644: 4a30 ldr r2, [pc, #192] ; (800b708 ) - 800b646: f043 0340 orr.w r3, r3, #64 ; 0x40 - 800b64a: 6313 str r3, [r2, #48] ; 0x30 - 800b64c: 4b2e ldr r3, [pc, #184] ; (800b708 ) - 800b64e: 6b1b ldr r3, [r3, #48] ; 0x30 - 800b650: f003 0340 and.w r3, r3, #64 ; 0x40 - 800b654: 617b str r3, [r7, #20] - 800b656: 697b ldr r3, [r7, #20] + 800b1dc: 4b31 ldr r3, [pc, #196] ; (800b2a4 ) + 800b1de: 6b1b ldr r3, [r3, #48] ; 0x30 + 800b1e0: 4a30 ldr r2, [pc, #192] ; (800b2a4 ) + 800b1e2: f043 0340 orr.w r3, r3, #64 ; 0x40 + 800b1e6: 6313 str r3, [r2, #48] ; 0x30 + 800b1e8: 4b2e ldr r3, [pc, #184] ; (800b2a4 ) + 800b1ea: 6b1b ldr r3, [r3, #48] ; 0x30 + 800b1ec: f003 0340 and.w r3, r3, #64 ; 0x40 + 800b1f0: 617b str r3, [r7, #20] + 800b1f2: 697b ldr r3, [r7, #20] __HAL_RCC_GPIOC_CLK_ENABLE(); - 800b658: 4b2b ldr r3, [pc, #172] ; (800b708 ) - 800b65a: 6b1b ldr r3, [r3, #48] ; 0x30 - 800b65c: 4a2a ldr r2, [pc, #168] ; (800b708 ) - 800b65e: f043 0304 orr.w r3, r3, #4 - 800b662: 6313 str r3, [r2, #48] ; 0x30 - 800b664: 4b28 ldr r3, [pc, #160] ; (800b708 ) - 800b666: 6b1b ldr r3, [r3, #48] ; 0x30 - 800b668: f003 0304 and.w r3, r3, #4 - 800b66c: 613b str r3, [r7, #16] - 800b66e: 693b ldr r3, [r7, #16] + 800b1f4: 4b2b ldr r3, [pc, #172] ; (800b2a4 ) + 800b1f6: 6b1b ldr r3, [r3, #48] ; 0x30 + 800b1f8: 4a2a ldr r2, [pc, #168] ; (800b2a4 ) + 800b1fa: f043 0304 orr.w r3, r3, #4 + 800b1fe: 6313 str r3, [r2, #48] ; 0x30 + 800b200: 4b28 ldr r3, [pc, #160] ; (800b2a4 ) + 800b202: 6b1b ldr r3, [r3, #48] ; 0x30 + 800b204: f003 0304 and.w r3, r3, #4 + 800b208: 613b str r3, [r7, #16] + 800b20a: 693b ldr r3, [r7, #16] __HAL_RCC_GPIOA_CLK_ENABLE(); - 800b670: 4b25 ldr r3, [pc, #148] ; (800b708 ) - 800b672: 6b1b ldr r3, [r3, #48] ; 0x30 - 800b674: 4a24 ldr r2, [pc, #144] ; (800b708 ) - 800b676: f043 0301 orr.w r3, r3, #1 - 800b67a: 6313 str r3, [r2, #48] ; 0x30 - 800b67c: 4b22 ldr r3, [pc, #136] ; (800b708 ) - 800b67e: 6b1b ldr r3, [r3, #48] ; 0x30 - 800b680: f003 0301 and.w r3, r3, #1 - 800b684: 60fb str r3, [r7, #12] - 800b686: 68fb ldr r3, [r7, #12] + 800b20c: 4b25 ldr r3, [pc, #148] ; (800b2a4 ) + 800b20e: 6b1b ldr r3, [r3, #48] ; 0x30 + 800b210: 4a24 ldr r2, [pc, #144] ; (800b2a4 ) + 800b212: f043 0301 orr.w r3, r3, #1 + 800b216: 6313 str r3, [r2, #48] ; 0x30 + 800b218: 4b22 ldr r3, [pc, #136] ; (800b2a4 ) + 800b21a: 6b1b ldr r3, [r3, #48] ; 0x30 + 800b21c: f003 0301 and.w r3, r3, #1 + 800b220: 60fb str r3, [r7, #12] + 800b222: 68fb ldr r3, [r7, #12] PC4 ------> ETH_RXD0 PA2 ------> ETH_MDIO PC5 ------> ETH_RXD1 PA7 ------> ETH_CRS_DV */ GPIO_InitStruct.Pin = GPIO_PIN_14|GPIO_PIN_13|GPIO_PIN_11; - 800b688: f44f 43d0 mov.w r3, #26624 ; 0x6800 - 800b68c: 627b str r3, [r7, #36] ; 0x24 + 800b224: f44f 43d0 mov.w r3, #26624 ; 0x6800 + 800b228: 627b str r3, [r7, #36] ; 0x24 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 800b68e: 2302 movs r3, #2 - 800b690: 62bb str r3, [r7, #40] ; 0x28 + 800b22a: 2302 movs r3, #2 + 800b22c: 62bb str r3, [r7, #40] ; 0x28 GPIO_InitStruct.Pull = GPIO_NOPULL; - 800b692: 2300 movs r3, #0 - 800b694: 62fb str r3, [r7, #44] ; 0x2c + 800b22e: 2300 movs r3, #0 + 800b230: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 800b696: 2303 movs r3, #3 - 800b698: 633b str r3, [r7, #48] ; 0x30 + 800b232: 2303 movs r3, #3 + 800b234: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Alternate = GPIO_AF11_ETH; - 800b69a: 230b movs r3, #11 - 800b69c: 637b str r3, [r7, #52] ; 0x34 + 800b236: 230b movs r3, #11 + 800b238: 637b str r3, [r7, #52] ; 0x34 HAL_GPIO_Init(GPIOG, &GPIO_InitStruct); - 800b69e: f107 0324 add.w r3, r7, #36 ; 0x24 - 800b6a2: 4619 mov r1, r3 - 800b6a4: 4819 ldr r0, [pc, #100] ; (800b70c ) - 800b6a6: f7fc f833 bl 8007710 + 800b23a: f107 0324 add.w r3, r7, #36 ; 0x24 + 800b23e: 4619 mov r1, r3 + 800b240: 4819 ldr r0, [pc, #100] ; (800b2a8 ) + 800b242: f7fc f819 bl 8007278 GPIO_InitStruct.Pin = GPIO_PIN_1|GPIO_PIN_4|GPIO_PIN_5; - 800b6aa: 2332 movs r3, #50 ; 0x32 - 800b6ac: 627b str r3, [r7, #36] ; 0x24 + 800b246: 2332 movs r3, #50 ; 0x32 + 800b248: 627b str r3, [r7, #36] ; 0x24 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 800b6ae: 2302 movs r3, #2 - 800b6b0: 62bb str r3, [r7, #40] ; 0x28 + 800b24a: 2302 movs r3, #2 + 800b24c: 62bb str r3, [r7, #40] ; 0x28 GPIO_InitStruct.Pull = GPIO_NOPULL; - 800b6b2: 2300 movs r3, #0 - 800b6b4: 62fb str r3, [r7, #44] ; 0x2c + 800b24e: 2300 movs r3, #0 + 800b250: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 800b6b6: 2303 movs r3, #3 - 800b6b8: 633b str r3, [r7, #48] ; 0x30 + 800b252: 2303 movs r3, #3 + 800b254: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Alternate = GPIO_AF11_ETH; - 800b6ba: 230b movs r3, #11 - 800b6bc: 637b str r3, [r7, #52] ; 0x34 + 800b256: 230b movs r3, #11 + 800b258: 637b str r3, [r7, #52] ; 0x34 HAL_GPIO_Init(GPIOC, &GPIO_InitStruct); - 800b6be: f107 0324 add.w r3, r7, #36 ; 0x24 - 800b6c2: 4619 mov r1, r3 - 800b6c4: 4812 ldr r0, [pc, #72] ; (800b710 ) - 800b6c6: f7fc f823 bl 8007710 + 800b25a: f107 0324 add.w r3, r7, #36 ; 0x24 + 800b25e: 4619 mov r1, r3 + 800b260: 4812 ldr r0, [pc, #72] ; (800b2ac ) + 800b262: f7fc f809 bl 8007278 GPIO_InitStruct.Pin = GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_7; - 800b6ca: 2386 movs r3, #134 ; 0x86 - 800b6cc: 627b str r3, [r7, #36] ; 0x24 + 800b266: 2386 movs r3, #134 ; 0x86 + 800b268: 627b str r3, [r7, #36] ; 0x24 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 800b6ce: 2302 movs r3, #2 - 800b6d0: 62bb str r3, [r7, #40] ; 0x28 + 800b26a: 2302 movs r3, #2 + 800b26c: 62bb str r3, [r7, #40] ; 0x28 GPIO_InitStruct.Pull = GPIO_NOPULL; - 800b6d2: 2300 movs r3, #0 - 800b6d4: 62fb str r3, [r7, #44] ; 0x2c + 800b26e: 2300 movs r3, #0 + 800b270: 62fb str r3, [r7, #44] ; 0x2c GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 800b6d6: 2303 movs r3, #3 - 800b6d8: 633b str r3, [r7, #48] ; 0x30 + 800b272: 2303 movs r3, #3 + 800b274: 633b str r3, [r7, #48] ; 0x30 GPIO_InitStruct.Alternate = GPIO_AF11_ETH; - 800b6da: 230b movs r3, #11 - 800b6dc: 637b str r3, [r7, #52] ; 0x34 + 800b276: 230b movs r3, #11 + 800b278: 637b str r3, [r7, #52] ; 0x34 HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 800b6de: f107 0324 add.w r3, r7, #36 ; 0x24 - 800b6e2: 4619 mov r1, r3 - 800b6e4: 480b ldr r0, [pc, #44] ; (800b714 ) - 800b6e6: f7fc f813 bl 8007710 + 800b27a: f107 0324 add.w r3, r7, #36 ; 0x24 + 800b27e: 4619 mov r1, r3 + 800b280: 480b ldr r0, [pc, #44] ; (800b2b0 ) + 800b282: f7fb fff9 bl 8007278 /* Peripheral interrupt init */ HAL_NVIC_SetPriority(ETH_IRQn, 5, 0); - 800b6ea: 2200 movs r2, #0 - 800b6ec: 2105 movs r1, #5 - 800b6ee: 203d movs r0, #61 ; 0x3d - 800b6f0: f7fa f85e bl 80057b0 + 800b286: 2200 movs r2, #0 + 800b288: 2105 movs r1, #5 + 800b28a: 203d movs r0, #61 ; 0x3d + 800b28c: f7fa f844 bl 8005318 HAL_NVIC_EnableIRQ(ETH_IRQn); - 800b6f4: 203d movs r0, #61 ; 0x3d - 800b6f6: f7fa f877 bl 80057e8 + 800b290: 203d movs r0, #61 ; 0x3d + 800b292: f7fa f85d bl 8005350 /* USER CODE BEGIN ETH_MspInit 1 */ /* USER CODE END ETH_MspInit 1 */ } } - 800b6fa: bf00 nop - 800b6fc: 3738 adds r7, #56 ; 0x38 - 800b6fe: 46bd mov sp, r7 - 800b700: bd80 pop {r7, pc} - 800b702: bf00 nop - 800b704: 40028000 .word 0x40028000 - 800b708: 40023800 .word 0x40023800 - 800b70c: 40021800 .word 0x40021800 - 800b710: 40020800 .word 0x40020800 - 800b714: 40020000 .word 0x40020000 + 800b296: bf00 nop + 800b298: 3738 adds r7, #56 ; 0x38 + 800b29a: 46bd mov sp, r7 + 800b29c: bd80 pop {r7, pc} + 800b29e: bf00 nop + 800b2a0: 40028000 .word 0x40028000 + 800b2a4: 40023800 .word 0x40023800 + 800b2a8: 40021800 .word 0x40021800 + 800b2ac: 40020800 .word 0x40020800 + 800b2b0: 40020000 .word 0x40020000 -0800b718 : +0800b2b4 : * @brief Ethernet Rx Transfer completed callback * @param heth: ETH handle * @retval None */ void HAL_ETH_RxCpltCallback(ETH_HandleTypeDef *heth) { - 800b718: b580 push {r7, lr} - 800b71a: b082 sub sp, #8 - 800b71c: af00 add r7, sp, #0 - 800b71e: 6078 str r0, [r7, #4] + 800b2b4: b580 push {r7, lr} + 800b2b6: b082 sub sp, #8 + 800b2b8: af00 add r7, sp, #0 + 800b2ba: 6078 str r0, [r7, #4] osSemaphoreRelease(s_xSemaphore); - 800b720: 4b04 ldr r3, [pc, #16] ; (800b734 ) - 800b722: 681b ldr r3, [r3, #0] - 800b724: 4618 mov r0, r3 - 800b726: f000 fd25 bl 800c174 + 800b2bc: 4b04 ldr r3, [pc, #16] ; (800b2d0 ) + 800b2be: 681b ldr r3, [r3, #0] + 800b2c0: 4618 mov r0, r3 + 800b2c2: f000 fd25 bl 800bd10 } - 800b72a: bf00 nop - 800b72c: 3708 adds r7, #8 - 800b72e: 46bd mov sp, r7 - 800b730: bd80 pop {r7, pc} - 800b732: bf00 nop - 800b734: 20000588 .word 0x20000588 + 800b2c6: bf00 nop + 800b2c8: 3708 adds r7, #8 + 800b2ca: 46bd mov sp, r7 + 800b2cc: bd80 pop {r7, pc} + 800b2ce: bf00 nop + 800b2d0: 20000588 .word 0x20000588 -0800b738 : +0800b2d4 : * * @param netif the already initialized lwip network interface structure * for this ethernetif */ static void low_level_init(struct netif *netif) { - 800b738: b5b0 push {r4, r5, r7, lr} - 800b73a: b090 sub sp, #64 ; 0x40 - 800b73c: af00 add r7, sp, #0 - 800b73e: 6078 str r0, [r7, #4] + 800b2d4: b5b0 push {r4, r5, r7, lr} + 800b2d6: b090 sub sp, #64 ; 0x40 + 800b2d8: af00 add r7, sp, #0 + 800b2da: 6078 str r0, [r7, #4] uint32_t regvalue = 0; - 800b740: 2300 movs r3, #0 - 800b742: 63bb str r3, [r7, #56] ; 0x38 + 800b2dc: 2300 movs r3, #0 + 800b2de: 63bb str r3, [r7, #56] ; 0x38 HAL_StatusTypeDef hal_eth_init_status; /* Init ETH */ uint8_t MACAddr[6] ; heth.Instance = ETH; - 800b744: 4b60 ldr r3, [pc, #384] ; (800b8c8 ) - 800b746: 4a61 ldr r2, [pc, #388] ; (800b8cc ) - 800b748: 601a str r2, [r3, #0] + 800b2e0: 4b60 ldr r3, [pc, #384] ; (800b464 ) + 800b2e2: 4a61 ldr r2, [pc, #388] ; (800b468 ) + 800b2e4: 601a str r2, [r3, #0] heth.Init.AutoNegotiation = ETH_AUTONEGOTIATION_ENABLE; - 800b74a: 4b5f ldr r3, [pc, #380] ; (800b8c8 ) - 800b74c: 2201 movs r2, #1 - 800b74e: 605a str r2, [r3, #4] + 800b2e6: 4b5f ldr r3, [pc, #380] ; (800b464 ) + 800b2e8: 2201 movs r2, #1 + 800b2ea: 605a str r2, [r3, #4] heth.Init.Speed = ETH_SPEED_100M; - 800b750: 4b5d ldr r3, [pc, #372] ; (800b8c8 ) - 800b752: f44f 4280 mov.w r2, #16384 ; 0x4000 - 800b756: 609a str r2, [r3, #8] + 800b2ec: 4b5d ldr r3, [pc, #372] ; (800b464 ) + 800b2ee: f44f 4280 mov.w r2, #16384 ; 0x4000 + 800b2f2: 609a str r2, [r3, #8] heth.Init.DuplexMode = ETH_MODE_FULLDUPLEX; - 800b758: 4b5b ldr r3, [pc, #364] ; (800b8c8 ) - 800b75a: f44f 6200 mov.w r2, #2048 ; 0x800 - 800b75e: 60da str r2, [r3, #12] + 800b2f4: 4b5b ldr r3, [pc, #364] ; (800b464 ) + 800b2f6: f44f 6200 mov.w r2, #2048 ; 0x800 + 800b2fa: 60da str r2, [r3, #12] heth.Init.PhyAddress = LAN8742A_PHY_ADDRESS; - 800b760: 4b59 ldr r3, [pc, #356] ; (800b8c8 ) - 800b762: 2201 movs r2, #1 - 800b764: 821a strh r2, [r3, #16] + 800b2fc: 4b59 ldr r3, [pc, #356] ; (800b464 ) + 800b2fe: 2201 movs r2, #1 + 800b300: 821a strh r2, [r3, #16] MACAddr[0] = 0x00; - 800b766: 2300 movs r3, #0 - 800b768: f887 3030 strb.w r3, [r7, #48] ; 0x30 + 800b302: 2300 movs r3, #0 + 800b304: f887 3030 strb.w r3, [r7, #48] ; 0x30 MACAddr[1] = 0x80; - 800b76c: 2380 movs r3, #128 ; 0x80 - 800b76e: f887 3031 strb.w r3, [r7, #49] ; 0x31 + 800b308: 2380 movs r3, #128 ; 0x80 + 800b30a: f887 3031 strb.w r3, [r7, #49] ; 0x31 MACAddr[2] = 0xE1; - 800b772: 23e1 movs r3, #225 ; 0xe1 - 800b774: f887 3032 strb.w r3, [r7, #50] ; 0x32 + 800b30e: 23e1 movs r3, #225 ; 0xe1 + 800b310: f887 3032 strb.w r3, [r7, #50] ; 0x32 MACAddr[3] = 0x00; - 800b778: 2300 movs r3, #0 - 800b77a: f887 3033 strb.w r3, [r7, #51] ; 0x33 + 800b314: 2300 movs r3, #0 + 800b316: f887 3033 strb.w r3, [r7, #51] ; 0x33 MACAddr[4] = 0x00; - 800b77e: 2300 movs r3, #0 - 800b780: f887 3034 strb.w r3, [r7, #52] ; 0x34 + 800b31a: 2300 movs r3, #0 + 800b31c: f887 3034 strb.w r3, [r7, #52] ; 0x34 MACAddr[5] = 0x00; - 800b784: 2300 movs r3, #0 - 800b786: f887 3035 strb.w r3, [r7, #53] ; 0x35 + 800b320: 2300 movs r3, #0 + 800b322: f887 3035 strb.w r3, [r7, #53] ; 0x35 heth.Init.MACAddr = &MACAddr[0]; - 800b78a: 4a4f ldr r2, [pc, #316] ; (800b8c8 ) - 800b78c: f107 0330 add.w r3, r7, #48 ; 0x30 - 800b790: 6153 str r3, [r2, #20] + 800b326: 4a4f ldr r2, [pc, #316] ; (800b464 ) + 800b328: f107 0330 add.w r3, r7, #48 ; 0x30 + 800b32c: 6153 str r3, [r2, #20] heth.Init.RxMode = ETH_RXINTERRUPT_MODE; - 800b792: 4b4d ldr r3, [pc, #308] ; (800b8c8 ) - 800b794: 2201 movs r2, #1 - 800b796: 619a str r2, [r3, #24] + 800b32e: 4b4d ldr r3, [pc, #308] ; (800b464 ) + 800b330: 2201 movs r2, #1 + 800b332: 619a str r2, [r3, #24] heth.Init.ChecksumMode = ETH_CHECKSUM_BY_HARDWARE; - 800b798: 4b4b ldr r3, [pc, #300] ; (800b8c8 ) - 800b79a: 2200 movs r2, #0 - 800b79c: 61da str r2, [r3, #28] + 800b334: 4b4b ldr r3, [pc, #300] ; (800b464 ) + 800b336: 2200 movs r2, #0 + 800b338: 61da str r2, [r3, #28] heth.Init.MediaInterface = ETH_MEDIA_INTERFACE_RMII; - 800b79e: 4b4a ldr r3, [pc, #296] ; (800b8c8 ) - 800b7a0: f44f 0200 mov.w r2, #8388608 ; 0x800000 - 800b7a4: 621a str r2, [r3, #32] + 800b33a: 4b4a ldr r3, [pc, #296] ; (800b464 ) + 800b33c: f44f 0200 mov.w r2, #8388608 ; 0x800000 + 800b340: 621a str r2, [r3, #32] /* USER CODE BEGIN MACADDRESS */ /* USER CODE END MACADDRESS */ hal_eth_init_status = HAL_ETH_Init(&heth); - 800b7a6: 4848 ldr r0, [pc, #288] ; (800b8c8 ) - 800b7a8: f7fa fe2c bl 8006404 - 800b7ac: 4603 mov r3, r0 - 800b7ae: f887 303f strb.w r3, [r7, #63] ; 0x3f + 800b342: 4848 ldr r0, [pc, #288] ; (800b464 ) + 800b344: f7fa fe12 bl 8005f6c + 800b348: 4603 mov r3, r0 + 800b34a: f887 303f strb.w r3, [r7, #63] ; 0x3f if (hal_eth_init_status == HAL_OK) - 800b7b2: f897 303f ldrb.w r3, [r7, #63] ; 0x3f - 800b7b6: 2b00 cmp r3, #0 - 800b7b8: d108 bne.n 800b7cc + 800b34e: f897 303f ldrb.w r3, [r7, #63] ; 0x3f + 800b352: 2b00 cmp r3, #0 + 800b354: d108 bne.n 800b368 { /* Set netif link flag */ netif->flags |= NETIF_FLAG_LINK_UP; - 800b7ba: 687b ldr r3, [r7, #4] - 800b7bc: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 800b7c0: f043 0304 orr.w r3, r3, #4 - 800b7c4: b2da uxtb r2, r3 - 800b7c6: 687b ldr r3, [r7, #4] - 800b7c8: f883 2031 strb.w r2, [r3, #49] ; 0x31 + 800b356: 687b ldr r3, [r7, #4] + 800b358: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800b35c: f043 0304 orr.w r3, r3, #4 + 800b360: b2da uxtb r2, r3 + 800b362: 687b ldr r3, [r7, #4] + 800b364: f883 2031 strb.w r2, [r3, #49] ; 0x31 } /* Initialize Tx Descriptors list: Chain Mode */ HAL_ETH_DMATxDescListInit(&heth, DMATxDscrTab, &Tx_Buff[0][0], ETH_TXBUFNB); - 800b7cc: 2304 movs r3, #4 - 800b7ce: 4a40 ldr r2, [pc, #256] ; (800b8d0 ) - 800b7d0: 4940 ldr r1, [pc, #256] ; (800b8d4 ) - 800b7d2: 483d ldr r0, [pc, #244] ; (800b8c8 ) - 800b7d4: f7fa ffb2 bl 800673c + 800b368: 2304 movs r3, #4 + 800b36a: 4a40 ldr r2, [pc, #256] ; (800b46c ) + 800b36c: 4940 ldr r1, [pc, #256] ; (800b470 ) + 800b36e: 483d ldr r0, [pc, #244] ; (800b464 ) + 800b370: f7fa ff98 bl 80062a4 /* Initialize Rx Descriptors list: Chain Mode */ HAL_ETH_DMARxDescListInit(&heth, DMARxDscrTab, &Rx_Buff[0][0], ETH_RXBUFNB); - 800b7d8: 2304 movs r3, #4 - 800b7da: 4a3f ldr r2, [pc, #252] ; (800b8d8 ) - 800b7dc: 493f ldr r1, [pc, #252] ; (800b8dc ) - 800b7de: 483a ldr r0, [pc, #232] ; (800b8c8 ) - 800b7e0: f7fb f815 bl 800680e + 800b374: 2304 movs r3, #4 + 800b376: 4a3f ldr r2, [pc, #252] ; (800b474 ) + 800b378: 493f ldr r1, [pc, #252] ; (800b478 ) + 800b37a: 483a ldr r0, [pc, #232] ; (800b464 ) + 800b37c: f7fa fffb bl 8006376 #if LWIP_ARP || LWIP_ETHERNET /* set MAC hardware address length */ netif->hwaddr_len = ETH_HWADDR_LEN; - 800b7e4: 687b ldr r3, [r7, #4] - 800b7e6: 2206 movs r2, #6 - 800b7e8: f883 2030 strb.w r2, [r3, #48] ; 0x30 + 800b380: 687b ldr r3, [r7, #4] + 800b382: 2206 movs r2, #6 + 800b384: f883 2030 strb.w r2, [r3, #48] ; 0x30 /* set MAC hardware address */ netif->hwaddr[0] = heth.Init.MACAddr[0]; - 800b7ec: 4b36 ldr r3, [pc, #216] ; (800b8c8 ) - 800b7ee: 695b ldr r3, [r3, #20] - 800b7f0: 781a ldrb r2, [r3, #0] - 800b7f2: 687b ldr r3, [r7, #4] - 800b7f4: f883 202a strb.w r2, [r3, #42] ; 0x2a + 800b388: 4b36 ldr r3, [pc, #216] ; (800b464 ) + 800b38a: 695b ldr r3, [r3, #20] + 800b38c: 781a ldrb r2, [r3, #0] + 800b38e: 687b ldr r3, [r7, #4] + 800b390: f883 202a strb.w r2, [r3, #42] ; 0x2a netif->hwaddr[1] = heth.Init.MACAddr[1]; - 800b7f8: 4b33 ldr r3, [pc, #204] ; (800b8c8 ) - 800b7fa: 695b ldr r3, [r3, #20] - 800b7fc: 785a ldrb r2, [r3, #1] - 800b7fe: 687b ldr r3, [r7, #4] - 800b800: f883 202b strb.w r2, [r3, #43] ; 0x2b + 800b394: 4b33 ldr r3, [pc, #204] ; (800b464 ) + 800b396: 695b ldr r3, [r3, #20] + 800b398: 785a ldrb r2, [r3, #1] + 800b39a: 687b ldr r3, [r7, #4] + 800b39c: f883 202b strb.w r2, [r3, #43] ; 0x2b netif->hwaddr[2] = heth.Init.MACAddr[2]; - 800b804: 4b30 ldr r3, [pc, #192] ; (800b8c8 ) - 800b806: 695b ldr r3, [r3, #20] - 800b808: 789a ldrb r2, [r3, #2] - 800b80a: 687b ldr r3, [r7, #4] - 800b80c: f883 202c strb.w r2, [r3, #44] ; 0x2c + 800b3a0: 4b30 ldr r3, [pc, #192] ; (800b464 ) + 800b3a2: 695b ldr r3, [r3, #20] + 800b3a4: 789a ldrb r2, [r3, #2] + 800b3a6: 687b ldr r3, [r7, #4] + 800b3a8: f883 202c strb.w r2, [r3, #44] ; 0x2c netif->hwaddr[3] = heth.Init.MACAddr[3]; - 800b810: 4b2d ldr r3, [pc, #180] ; (800b8c8 ) - 800b812: 695b ldr r3, [r3, #20] - 800b814: 78da ldrb r2, [r3, #3] - 800b816: 687b ldr r3, [r7, #4] - 800b818: f883 202d strb.w r2, [r3, #45] ; 0x2d + 800b3ac: 4b2d ldr r3, [pc, #180] ; (800b464 ) + 800b3ae: 695b ldr r3, [r3, #20] + 800b3b0: 78da ldrb r2, [r3, #3] + 800b3b2: 687b ldr r3, [r7, #4] + 800b3b4: f883 202d strb.w r2, [r3, #45] ; 0x2d netif->hwaddr[4] = heth.Init.MACAddr[4]; - 800b81c: 4b2a ldr r3, [pc, #168] ; (800b8c8 ) - 800b81e: 695b ldr r3, [r3, #20] - 800b820: 791a ldrb r2, [r3, #4] - 800b822: 687b ldr r3, [r7, #4] - 800b824: f883 202e strb.w r2, [r3, #46] ; 0x2e + 800b3b8: 4b2a ldr r3, [pc, #168] ; (800b464 ) + 800b3ba: 695b ldr r3, [r3, #20] + 800b3bc: 791a ldrb r2, [r3, #4] + 800b3be: 687b ldr r3, [r7, #4] + 800b3c0: f883 202e strb.w r2, [r3, #46] ; 0x2e netif->hwaddr[5] = heth.Init.MACAddr[5]; - 800b828: 4b27 ldr r3, [pc, #156] ; (800b8c8 ) - 800b82a: 695b ldr r3, [r3, #20] - 800b82c: 795a ldrb r2, [r3, #5] - 800b82e: 687b ldr r3, [r7, #4] - 800b830: f883 202f strb.w r2, [r3, #47] ; 0x2f + 800b3c4: 4b27 ldr r3, [pc, #156] ; (800b464 ) + 800b3c6: 695b ldr r3, [r3, #20] + 800b3c8: 795a ldrb r2, [r3, #5] + 800b3ca: 687b ldr r3, [r7, #4] + 800b3cc: f883 202f strb.w r2, [r3, #47] ; 0x2f /* maximum transfer unit */ netif->mtu = 1500; - 800b834: 687b ldr r3, [r7, #4] - 800b836: f240 52dc movw r2, #1500 ; 0x5dc - 800b83a: 851a strh r2, [r3, #40] ; 0x28 + 800b3d0: 687b ldr r3, [r7, #4] + 800b3d2: f240 52dc movw r2, #1500 ; 0x5dc + 800b3d6: 851a strh r2, [r3, #40] ; 0x28 /* Accept broadcast address and ARP traffic */ /* don't set NETIF_FLAG_ETHARP if this device is not an ethernet one */ #if LWIP_ARP netif->flags |= NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP; - 800b83c: 687b ldr r3, [r7, #4] - 800b83e: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 800b842: f043 030a orr.w r3, r3, #10 - 800b846: b2da uxtb r2, r3 - 800b848: 687b ldr r3, [r7, #4] - 800b84a: f883 2031 strb.w r2, [r3, #49] ; 0x31 + 800b3d8: 687b ldr r3, [r7, #4] + 800b3da: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800b3de: f043 030a orr.w r3, r3, #10 + 800b3e2: b2da uxtb r2, r3 + 800b3e4: 687b ldr r3, [r7, #4] + 800b3e6: f883 2031 strb.w r2, [r3, #49] ; 0x31 #else netif->flags |= NETIF_FLAG_BROADCAST; #endif /* LWIP_ARP */ /* create a binary semaphore used for informing ethernetif of frame reception */ osSemaphoreDef(SEM); - 800b84e: 2300 movs r3, #0 - 800b850: 62bb str r3, [r7, #40] ; 0x28 - 800b852: 2300 movs r3, #0 - 800b854: 62fb str r3, [r7, #44] ; 0x2c + 800b3ea: 2300 movs r3, #0 + 800b3ec: 62bb str r3, [r7, #40] ; 0x28 + 800b3ee: 2300 movs r3, #0 + 800b3f0: 62fb str r3, [r7, #44] ; 0x2c s_xSemaphore = osSemaphoreCreate(osSemaphore(SEM), 1); - 800b856: f107 0328 add.w r3, r7, #40 ; 0x28 - 800b85a: 2101 movs r1, #1 - 800b85c: 4618 mov r0, r3 - 800b85e: f000 fbfb bl 800c058 - 800b862: 4602 mov r2, r0 - 800b864: 4b1e ldr r3, [pc, #120] ; (800b8e0 ) - 800b866: 601a str r2, [r3, #0] + 800b3f2: f107 0328 add.w r3, r7, #40 ; 0x28 + 800b3f6: 2101 movs r1, #1 + 800b3f8: 4618 mov r0, r3 + 800b3fa: f000 fbfb bl 800bbf4 + 800b3fe: 4602 mov r2, r0 + 800b400: 4b1e ldr r3, [pc, #120] ; (800b47c ) + 800b402: 601a str r2, [r3, #0] /* create the task that handles the ETH_MAC */ /* USER CODE BEGIN OS_THREAD_DEF_CREATE_CMSIS_RTOS_V1 */ osThreadDef(EthIf, ethernetif_input, osPriorityRealtime, 0, INTERFACE_THREAD_STACK_SIZE); - 800b868: 4b1e ldr r3, [pc, #120] ; (800b8e4 ) - 800b86a: f107 040c add.w r4, r7, #12 - 800b86e: 461d mov r5, r3 - 800b870: cd0f ldmia r5!, {r0, r1, r2, r3} - 800b872: c40f stmia r4!, {r0, r1, r2, r3} - 800b874: e895 0007 ldmia.w r5, {r0, r1, r2} - 800b878: e884 0007 stmia.w r4, {r0, r1, r2} + 800b404: 4b1e ldr r3, [pc, #120] ; (800b480 ) + 800b406: f107 040c add.w r4, r7, #12 + 800b40a: 461d mov r5, r3 + 800b40c: cd0f ldmia r5!, {r0, r1, r2, r3} + 800b40e: c40f stmia r4!, {r0, r1, r2, r3} + 800b410: e895 0007 ldmia.w r5, {r0, r1, r2} + 800b414: e884 0007 stmia.w r4, {r0, r1, r2} osThreadCreate (osThread(EthIf), netif); - 800b87c: f107 030c add.w r3, r7, #12 - 800b880: 6879 ldr r1, [r7, #4] - 800b882: 4618 mov r0, r3 - 800b884: f000 faeb bl 800be5e + 800b418: f107 030c add.w r3, r7, #12 + 800b41c: 6879 ldr r1, [r7, #4] + 800b41e: 4618 mov r0, r3 + 800b420: f000 faeb bl 800b9fa /* USER CODE END OS_THREAD_DEF_CREATE_CMSIS_RTOS_V1 */ /* Enable MAC and DMA transmission and reception */ HAL_ETH_Start(&heth); - 800b888: 480f ldr r0, [pc, #60] ; (800b8c8 ) - 800b88a: f7fb fae8 bl 8006e5e + 800b424: 480f ldr r0, [pc, #60] ; (800b464 ) + 800b426: f7fb face bl 80069c6 /* USER CODE BEGIN PHY_PRE_CONFIG */ /* USER CODE END PHY_PRE_CONFIG */ /* Read Register Configuration */ HAL_ETH_ReadPHYRegister(&heth, PHY_ISFR, ®value); - 800b88e: f107 0338 add.w r3, r7, #56 ; 0x38 - 800b892: 461a mov r2, r3 - 800b894: 211d movs r1, #29 - 800b896: 480c ldr r0, [pc, #48] ; (800b8c8 ) - 800b898: f7fb fa13 bl 8006cc2 + 800b42a: f107 0338 add.w r3, r7, #56 ; 0x38 + 800b42e: 461a mov r2, r3 + 800b430: 211d movs r1, #29 + 800b432: 480c ldr r0, [pc, #48] ; (800b464 ) + 800b434: f7fb f9f9 bl 800682a regvalue |= (PHY_ISFR_INT4); - 800b89c: 6bbb ldr r3, [r7, #56] ; 0x38 - 800b89e: f043 030b orr.w r3, r3, #11 - 800b8a2: 63bb str r3, [r7, #56] ; 0x38 + 800b438: 6bbb ldr r3, [r7, #56] ; 0x38 + 800b43a: f043 030b orr.w r3, r3, #11 + 800b43e: 63bb str r3, [r7, #56] ; 0x38 /* Enable Interrupt on change of link status */ HAL_ETH_WritePHYRegister(&heth, PHY_ISFR , regvalue ); - 800b8a4: 6bbb ldr r3, [r7, #56] ; 0x38 - 800b8a6: 461a mov r2, r3 - 800b8a8: 211d movs r1, #29 - 800b8aa: 4807 ldr r0, [pc, #28] ; (800b8c8 ) - 800b8ac: f7fb fa71 bl 8006d92 + 800b440: 6bbb ldr r3, [r7, #56] ; 0x38 + 800b442: 461a mov r2, r3 + 800b444: 211d movs r1, #29 + 800b446: 4807 ldr r0, [pc, #28] ; (800b464 ) + 800b448: f7fb fa57 bl 80068fa /* Read Register Configuration */ HAL_ETH_ReadPHYRegister(&heth, PHY_ISFR , ®value); - 800b8b0: f107 0338 add.w r3, r7, #56 ; 0x38 - 800b8b4: 461a mov r2, r3 - 800b8b6: 211d movs r1, #29 - 800b8b8: 4803 ldr r0, [pc, #12] ; (800b8c8 ) - 800b8ba: f7fb fa02 bl 8006cc2 + 800b44c: f107 0338 add.w r3, r7, #56 ; 0x38 + 800b450: 461a mov r2, r3 + 800b452: 211d movs r1, #29 + 800b454: 4803 ldr r0, [pc, #12] ; (800b464 ) + 800b456: f7fb f9e8 bl 800682a #endif /* LWIP_ARP || LWIP_ETHERNET */ /* USER CODE BEGIN LOW_LEVEL_INIT */ /* USER CODE END LOW_LEVEL_INIT */ } - 800b8be: bf00 nop - 800b8c0: 3740 adds r7, #64 ; 0x40 - 800b8c2: 46bd mov sp, r7 - 800b8c4: bdb0 pop {r4, r5, r7, pc} - 800b8c6: bf00 nop - 800b8c8: 2000a674 .word 0x2000a674 - 800b8cc: 40028000 .word 0x40028000 - 800b8d0: 2000a6bc .word 0x2000a6bc - 800b8d4: 20008da4 .word 0x20008da4 - 800b8d8: 20008e24 .word 0x20008e24 - 800b8dc: 2000a5f4 .word 0x2000a5f4 - 800b8e0: 20000588 .word 0x20000588 - 800b8e4: 0801c760 .word 0x0801c760 + 800b45a: bf00 nop + 800b45c: 3740 adds r7, #64 ; 0x40 + 800b45e: 46bd mov sp, r7 + 800b460: bdb0 pop {r4, r5, r7, pc} + 800b462: bf00 nop + 800b464: 2000a670 .word 0x2000a670 + 800b468: 40028000 .word 0x40028000 + 800b46c: 2000a6b8 .word 0x2000a6b8 + 800b470: 20008da0 .word 0x20008da0 + 800b474: 20008e20 .word 0x20008e20 + 800b478: 2000a5f0 .word 0x2000a5f0 + 800b47c: 20000588 .word 0x20000588 + 800b480: 0801bf5c .word 0x0801bf5c -0800b8e8 : +0800b484 : * to become availale since the stack doesn't retry to send a packet * dropped because of memory failure (except for the TCP timers). */ static err_t low_level_output(struct netif *netif, struct pbuf *p) { - 800b8e8: b580 push {r7, lr} - 800b8ea: b08a sub sp, #40 ; 0x28 - 800b8ec: af00 add r7, sp, #0 - 800b8ee: 6078 str r0, [r7, #4] - 800b8f0: 6039 str r1, [r7, #0] + 800b484: b580 push {r7, lr} + 800b486: b08a sub sp, #40 ; 0x28 + 800b488: af00 add r7, sp, #0 + 800b48a: 6078 str r0, [r7, #4] + 800b48c: 6039 str r1, [r7, #0] err_t errval; struct pbuf *q; uint8_t *buffer = (uint8_t *)(heth.TxDesc->Buffer1Addr); - 800b8f2: 4b4b ldr r3, [pc, #300] ; (800ba20 ) - 800b8f4: 6adb ldr r3, [r3, #44] ; 0x2c - 800b8f6: 689b ldr r3, [r3, #8] - 800b8f8: 61fb str r3, [r7, #28] + 800b48e: 4b4b ldr r3, [pc, #300] ; (800b5bc ) + 800b490: 6adb ldr r3, [r3, #44] ; 0x2c + 800b492: 689b ldr r3, [r3, #8] + 800b494: 61fb str r3, [r7, #28] __IO ETH_DMADescTypeDef *DmaTxDesc; uint32_t framelength = 0; - 800b8fa: 2300 movs r3, #0 - 800b8fc: 617b str r3, [r7, #20] + 800b496: 2300 movs r3, #0 + 800b498: 617b str r3, [r7, #20] uint32_t bufferoffset = 0; - 800b8fe: 2300 movs r3, #0 - 800b900: 613b str r3, [r7, #16] + 800b49a: 2300 movs r3, #0 + 800b49c: 613b str r3, [r7, #16] uint32_t byteslefttocopy = 0; - 800b902: 2300 movs r3, #0 - 800b904: 60fb str r3, [r7, #12] + 800b49e: 2300 movs r3, #0 + 800b4a0: 60fb str r3, [r7, #12] uint32_t payloadoffset = 0; - 800b906: 2300 movs r3, #0 - 800b908: 60bb str r3, [r7, #8] + 800b4a2: 2300 movs r3, #0 + 800b4a4: 60bb str r3, [r7, #8] DmaTxDesc = heth.TxDesc; - 800b90a: 4b45 ldr r3, [pc, #276] ; (800ba20 ) - 800b90c: 6adb ldr r3, [r3, #44] ; 0x2c - 800b90e: 61bb str r3, [r7, #24] + 800b4a6: 4b45 ldr r3, [pc, #276] ; (800b5bc ) + 800b4a8: 6adb ldr r3, [r3, #44] ; 0x2c + 800b4aa: 61bb str r3, [r7, #24] bufferoffset = 0; - 800b910: 2300 movs r3, #0 - 800b912: 613b str r3, [r7, #16] + 800b4ac: 2300 movs r3, #0 + 800b4ae: 613b str r3, [r7, #16] /* copy frame from pbufs to driver buffers */ for(q = p; q != NULL; q = q->next) - 800b914: 683b ldr r3, [r7, #0] - 800b916: 623b str r3, [r7, #32] - 800b918: e05a b.n 800b9d0 + 800b4b0: 683b ldr r3, [r7, #0] + 800b4b2: 623b str r3, [r7, #32] + 800b4b4: e05a b.n 800b56c { /* Is this buffer available? If not, goto error */ if((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) - 800b91a: 69bb ldr r3, [r7, #24] - 800b91c: 681b ldr r3, [r3, #0] - 800b91e: 2b00 cmp r3, #0 - 800b920: da03 bge.n 800b92a + 800b4b6: 69bb ldr r3, [r7, #24] + 800b4b8: 681b ldr r3, [r3, #0] + 800b4ba: 2b00 cmp r3, #0 + 800b4bc: da03 bge.n 800b4c6 { errval = ERR_USE; - 800b922: 23f8 movs r3, #248 ; 0xf8 - 800b924: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 800b4be: 23f8 movs r3, #248 ; 0xf8 + 800b4c0: f887 3027 strb.w r3, [r7, #39] ; 0x27 goto error; - 800b928: e05c b.n 800b9e4 + 800b4c4: e05c b.n 800b580 } /* Get bytes in current lwIP buffer */ byteslefttocopy = q->len; - 800b92a: 6a3b ldr r3, [r7, #32] - 800b92c: 895b ldrh r3, [r3, #10] - 800b92e: 60fb str r3, [r7, #12] + 800b4c6: 6a3b ldr r3, [r7, #32] + 800b4c8: 895b ldrh r3, [r3, #10] + 800b4ca: 60fb str r3, [r7, #12] payloadoffset = 0; - 800b930: 2300 movs r3, #0 - 800b932: 60bb str r3, [r7, #8] + 800b4cc: 2300 movs r3, #0 + 800b4ce: 60bb str r3, [r7, #8] /* Check if the length of data to copy is bigger than Tx buffer size*/ while( (byteslefttocopy + bufferoffset) > ETH_TX_BUF_SIZE ) - 800b934: e02f b.n 800b996 + 800b4d0: e02f b.n 800b532 { /* Copy data to Tx buffer*/ memcpy( (uint8_t*)((uint8_t*)buffer + bufferoffset), (uint8_t*)((uint8_t*)q->payload + payloadoffset), (ETH_TX_BUF_SIZE - bufferoffset) ); - 800b936: 69fa ldr r2, [r7, #28] - 800b938: 693b ldr r3, [r7, #16] - 800b93a: 18d0 adds r0, r2, r3 - 800b93c: 6a3b ldr r3, [r7, #32] - 800b93e: 685a ldr r2, [r3, #4] - 800b940: 68bb ldr r3, [r7, #8] - 800b942: 18d1 adds r1, r2, r3 - 800b944: 693a ldr r2, [r7, #16] - 800b946: f240 53f4 movw r3, #1524 ; 0x5f4 - 800b94a: 1a9b subs r3, r3, r2 - 800b94c: 461a mov r2, r3 - 800b94e: f00f fd86 bl 801b45e + 800b4d2: 69fa ldr r2, [r7, #28] + 800b4d4: 693b ldr r3, [r7, #16] + 800b4d6: 18d0 adds r0, r2, r3 + 800b4d8: 6a3b ldr r3, [r7, #32] + 800b4da: 685a ldr r2, [r3, #4] + 800b4dc: 68bb ldr r3, [r7, #8] + 800b4de: 18d1 adds r1, r2, r3 + 800b4e0: 693a ldr r2, [r7, #16] + 800b4e2: f240 53f4 movw r3, #1524 ; 0x5f4 + 800b4e6: 1a9b subs r3, r3, r2 + 800b4e8: 461a mov r2, r3 + 800b4ea: f00f fd80 bl 801afee /* Point to next descriptor */ DmaTxDesc = (ETH_DMADescTypeDef *)(DmaTxDesc->Buffer2NextDescAddr); - 800b952: 69bb ldr r3, [r7, #24] - 800b954: 68db ldr r3, [r3, #12] - 800b956: 61bb str r3, [r7, #24] + 800b4ee: 69bb ldr r3, [r7, #24] + 800b4f0: 68db ldr r3, [r3, #12] + 800b4f2: 61bb str r3, [r7, #24] /* Check if the buffer is available */ if((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) - 800b958: 69bb ldr r3, [r7, #24] - 800b95a: 681b ldr r3, [r3, #0] - 800b95c: 2b00 cmp r3, #0 - 800b95e: da03 bge.n 800b968 + 800b4f4: 69bb ldr r3, [r7, #24] + 800b4f6: 681b ldr r3, [r3, #0] + 800b4f8: 2b00 cmp r3, #0 + 800b4fa: da03 bge.n 800b504 { errval = ERR_USE; - 800b960: 23f8 movs r3, #248 ; 0xf8 - 800b962: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 800b4fc: 23f8 movs r3, #248 ; 0xf8 + 800b4fe: f887 3027 strb.w r3, [r7, #39] ; 0x27 goto error; - 800b966: e03d b.n 800b9e4 + 800b502: e03d b.n 800b580 } buffer = (uint8_t *)(DmaTxDesc->Buffer1Addr); - 800b968: 69bb ldr r3, [r7, #24] - 800b96a: 689b ldr r3, [r3, #8] - 800b96c: 61fb str r3, [r7, #28] + 800b504: 69bb ldr r3, [r7, #24] + 800b506: 689b ldr r3, [r3, #8] + 800b508: 61fb str r3, [r7, #28] byteslefttocopy = byteslefttocopy - (ETH_TX_BUF_SIZE - bufferoffset); - 800b96e: 693a ldr r2, [r7, #16] - 800b970: 68fb ldr r3, [r7, #12] - 800b972: 4413 add r3, r2 - 800b974: f2a3 53f4 subw r3, r3, #1524 ; 0x5f4 - 800b978: 60fb str r3, [r7, #12] + 800b50a: 693a ldr r2, [r7, #16] + 800b50c: 68fb ldr r3, [r7, #12] + 800b50e: 4413 add r3, r2 + 800b510: f2a3 53f4 subw r3, r3, #1524 ; 0x5f4 + 800b514: 60fb str r3, [r7, #12] payloadoffset = payloadoffset + (ETH_TX_BUF_SIZE - bufferoffset); - 800b97a: 68ba ldr r2, [r7, #8] - 800b97c: 693b ldr r3, [r7, #16] - 800b97e: 1ad3 subs r3, r2, r3 - 800b980: f203 53f4 addw r3, r3, #1524 ; 0x5f4 - 800b984: 60bb str r3, [r7, #8] + 800b516: 68ba ldr r2, [r7, #8] + 800b518: 693b ldr r3, [r7, #16] + 800b51a: 1ad3 subs r3, r2, r3 + 800b51c: f203 53f4 addw r3, r3, #1524 ; 0x5f4 + 800b520: 60bb str r3, [r7, #8] framelength = framelength + (ETH_TX_BUF_SIZE - bufferoffset); - 800b986: 697a ldr r2, [r7, #20] - 800b988: 693b ldr r3, [r7, #16] - 800b98a: 1ad3 subs r3, r2, r3 - 800b98c: f203 53f4 addw r3, r3, #1524 ; 0x5f4 - 800b990: 617b str r3, [r7, #20] + 800b522: 697a ldr r2, [r7, #20] + 800b524: 693b ldr r3, [r7, #16] + 800b526: 1ad3 subs r3, r2, r3 + 800b528: f203 53f4 addw r3, r3, #1524 ; 0x5f4 + 800b52c: 617b str r3, [r7, #20] bufferoffset = 0; - 800b992: 2300 movs r3, #0 - 800b994: 613b str r3, [r7, #16] + 800b52e: 2300 movs r3, #0 + 800b530: 613b str r3, [r7, #16] while( (byteslefttocopy + bufferoffset) > ETH_TX_BUF_SIZE ) - 800b996: 68fa ldr r2, [r7, #12] - 800b998: 693b ldr r3, [r7, #16] - 800b99a: 4413 add r3, r2 - 800b99c: f240 52f4 movw r2, #1524 ; 0x5f4 - 800b9a0: 4293 cmp r3, r2 - 800b9a2: d8c8 bhi.n 800b936 + 800b532: 68fa ldr r2, [r7, #12] + 800b534: 693b ldr r3, [r7, #16] + 800b536: 4413 add r3, r2 + 800b538: f240 52f4 movw r2, #1524 ; 0x5f4 + 800b53c: 4293 cmp r3, r2 + 800b53e: d8c8 bhi.n 800b4d2 } /* Copy the remaining bytes */ memcpy( (uint8_t*)((uint8_t*)buffer + bufferoffset), (uint8_t*)((uint8_t*)q->payload + payloadoffset), byteslefttocopy ); - 800b9a4: 69fa ldr r2, [r7, #28] - 800b9a6: 693b ldr r3, [r7, #16] - 800b9a8: 18d0 adds r0, r2, r3 - 800b9aa: 6a3b ldr r3, [r7, #32] - 800b9ac: 685a ldr r2, [r3, #4] - 800b9ae: 68bb ldr r3, [r7, #8] - 800b9b0: 4413 add r3, r2 - 800b9b2: 68fa ldr r2, [r7, #12] - 800b9b4: 4619 mov r1, r3 - 800b9b6: f00f fd52 bl 801b45e + 800b540: 69fa ldr r2, [r7, #28] + 800b542: 693b ldr r3, [r7, #16] + 800b544: 18d0 adds r0, r2, r3 + 800b546: 6a3b ldr r3, [r7, #32] + 800b548: 685a ldr r2, [r3, #4] + 800b54a: 68bb ldr r3, [r7, #8] + 800b54c: 4413 add r3, r2 + 800b54e: 68fa ldr r2, [r7, #12] + 800b550: 4619 mov r1, r3 + 800b552: f00f fd4c bl 801afee bufferoffset = bufferoffset + byteslefttocopy; - 800b9ba: 693a ldr r2, [r7, #16] - 800b9bc: 68fb ldr r3, [r7, #12] - 800b9be: 4413 add r3, r2 - 800b9c0: 613b str r3, [r7, #16] + 800b556: 693a ldr r2, [r7, #16] + 800b558: 68fb ldr r3, [r7, #12] + 800b55a: 4413 add r3, r2 + 800b55c: 613b str r3, [r7, #16] framelength = framelength + byteslefttocopy; - 800b9c2: 697a ldr r2, [r7, #20] - 800b9c4: 68fb ldr r3, [r7, #12] - 800b9c6: 4413 add r3, r2 - 800b9c8: 617b str r3, [r7, #20] + 800b55e: 697a ldr r2, [r7, #20] + 800b560: 68fb ldr r3, [r7, #12] + 800b562: 4413 add r3, r2 + 800b564: 617b str r3, [r7, #20] for(q = p; q != NULL; q = q->next) - 800b9ca: 6a3b ldr r3, [r7, #32] - 800b9cc: 681b ldr r3, [r3, #0] - 800b9ce: 623b str r3, [r7, #32] - 800b9d0: 6a3b ldr r3, [r7, #32] - 800b9d2: 2b00 cmp r3, #0 - 800b9d4: d1a1 bne.n 800b91a + 800b566: 6a3b ldr r3, [r7, #32] + 800b568: 681b ldr r3, [r3, #0] + 800b56a: 623b str r3, [r7, #32] + 800b56c: 6a3b ldr r3, [r7, #32] + 800b56e: 2b00 cmp r3, #0 + 800b570: d1a1 bne.n 800b4b6 } /* Prepare transmit descriptors to give to DMA */ HAL_ETH_TransmitFrame(&heth, framelength); - 800b9d6: 6979 ldr r1, [r7, #20] - 800b9d8: 4811 ldr r0, [pc, #68] ; (800ba20 ) - 800b9da: f7fa ff85 bl 80068e8 + 800b572: 6979 ldr r1, [r7, #20] + 800b574: 4811 ldr r0, [pc, #68] ; (800b5bc ) + 800b576: f7fa ff6b bl 8006450 errval = ERR_OK; - 800b9de: 2300 movs r3, #0 - 800b9e0: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 800b57a: 2300 movs r3, #0 + 800b57c: f887 3027 strb.w r3, [r7, #39] ; 0x27 error: /* When Transmit Underflow flag is set, clear it and issue a Transmit Poll Demand to resume transmission */ if ((heth.Instance->DMASR & ETH_DMASR_TUS) != (uint32_t)RESET) - 800b9e4: 4b0e ldr r3, [pc, #56] ; (800ba20 ) - 800b9e6: 681a ldr r2, [r3, #0] - 800b9e8: f241 0314 movw r3, #4116 ; 0x1014 - 800b9ec: 4413 add r3, r2 - 800b9ee: 681b ldr r3, [r3, #0] - 800b9f0: f003 0320 and.w r3, r3, #32 - 800b9f4: 2b00 cmp r3, #0 - 800b9f6: d00d beq.n 800ba14 + 800b580: 4b0e ldr r3, [pc, #56] ; (800b5bc ) + 800b582: 681a ldr r2, [r3, #0] + 800b584: f241 0314 movw r3, #4116 ; 0x1014 + 800b588: 4413 add r3, r2 + 800b58a: 681b ldr r3, [r3, #0] + 800b58c: f003 0320 and.w r3, r3, #32 + 800b590: 2b00 cmp r3, #0 + 800b592: d00d beq.n 800b5b0 { /* Clear TUS ETHERNET DMA flag */ heth.Instance->DMASR = ETH_DMASR_TUS; - 800b9f8: 4b09 ldr r3, [pc, #36] ; (800ba20 ) - 800b9fa: 681a ldr r2, [r3, #0] - 800b9fc: f241 0314 movw r3, #4116 ; 0x1014 - 800ba00: 4413 add r3, r2 - 800ba02: 2220 movs r2, #32 - 800ba04: 601a str r2, [r3, #0] + 800b594: 4b09 ldr r3, [pc, #36] ; (800b5bc ) + 800b596: 681a ldr r2, [r3, #0] + 800b598: f241 0314 movw r3, #4116 ; 0x1014 + 800b59c: 4413 add r3, r2 + 800b59e: 2220 movs r2, #32 + 800b5a0: 601a str r2, [r3, #0] /* Resume DMA transmission*/ heth.Instance->DMATPDR = 0; - 800ba06: 4b06 ldr r3, [pc, #24] ; (800ba20 ) - 800ba08: 681a ldr r2, [r3, #0] - 800ba0a: f241 0304 movw r3, #4100 ; 0x1004 - 800ba0e: 4413 add r3, r2 - 800ba10: 2200 movs r2, #0 - 800ba12: 601a str r2, [r3, #0] + 800b5a2: 4b06 ldr r3, [pc, #24] ; (800b5bc ) + 800b5a4: 681a ldr r2, [r3, #0] + 800b5a6: f241 0304 movw r3, #4100 ; 0x1004 + 800b5aa: 4413 add r3, r2 + 800b5ac: 2200 movs r2, #0 + 800b5ae: 601a str r2, [r3, #0] } return errval; - 800ba14: f997 3027 ldrsb.w r3, [r7, #39] ; 0x27 + 800b5b0: f997 3027 ldrsb.w r3, [r7, #39] ; 0x27 } - 800ba18: 4618 mov r0, r3 - 800ba1a: 3728 adds r7, #40 ; 0x28 - 800ba1c: 46bd mov sp, r7 - 800ba1e: bd80 pop {r7, pc} - 800ba20: 2000a674 .word 0x2000a674 + 800b5b4: 4618 mov r0, r3 + 800b5b6: 3728 adds r7, #40 ; 0x28 + 800b5b8: 46bd mov sp, r7 + 800b5ba: bd80 pop {r7, pc} + 800b5bc: 2000a670 .word 0x2000a670 -0800ba24 : +0800b5c0 : * @param netif the lwip network interface structure for this ethernetif * @return a pbuf filled with the received packet (including MAC header) * NULL on memory error */ static struct pbuf * low_level_input(struct netif *netif) { - 800ba24: b580 push {r7, lr} - 800ba26: b08c sub sp, #48 ; 0x30 - 800ba28: af00 add r7, sp, #0 - 800ba2a: 6078 str r0, [r7, #4] + 800b5c0: b580 push {r7, lr} + 800b5c2: b08c sub sp, #48 ; 0x30 + 800b5c4: af00 add r7, sp, #0 + 800b5c6: 6078 str r0, [r7, #4] struct pbuf *p = NULL; - 800ba2c: 2300 movs r3, #0 - 800ba2e: 62fb str r3, [r7, #44] ; 0x2c + 800b5c8: 2300 movs r3, #0 + 800b5ca: 62fb str r3, [r7, #44] ; 0x2c struct pbuf *q = NULL; - 800ba30: 2300 movs r3, #0 - 800ba32: 62bb str r3, [r7, #40] ; 0x28 + 800b5cc: 2300 movs r3, #0 + 800b5ce: 62bb str r3, [r7, #40] ; 0x28 uint16_t len = 0; - 800ba34: 2300 movs r3, #0 - 800ba36: 81fb strh r3, [r7, #14] + 800b5d0: 2300 movs r3, #0 + 800b5d2: 81fb strh r3, [r7, #14] uint8_t *buffer; __IO ETH_DMADescTypeDef *dmarxdesc; uint32_t bufferoffset = 0; - 800ba38: 2300 movs r3, #0 - 800ba3a: 61fb str r3, [r7, #28] + 800b5d4: 2300 movs r3, #0 + 800b5d6: 61fb str r3, [r7, #28] uint32_t payloadoffset = 0; - 800ba3c: 2300 movs r3, #0 - 800ba3e: 61bb str r3, [r7, #24] + 800b5d8: 2300 movs r3, #0 + 800b5da: 61bb str r3, [r7, #24] uint32_t byteslefttocopy = 0; - 800ba40: 2300 movs r3, #0 - 800ba42: 617b str r3, [r7, #20] + 800b5dc: 2300 movs r3, #0 + 800b5de: 617b str r3, [r7, #20] uint32_t i=0; - 800ba44: 2300 movs r3, #0 - 800ba46: 613b str r3, [r7, #16] + 800b5e0: 2300 movs r3, #0 + 800b5e2: 613b str r3, [r7, #16] /* get received frame */ if (HAL_ETH_GetReceivedFrame_IT(&heth) != HAL_OK) - 800ba48: 484f ldr r0, [pc, #316] ; (800bb88 ) - 800ba4a: f7fb f837 bl 8006abc - 800ba4e: 4603 mov r3, r0 - 800ba50: 2b00 cmp r3, #0 - 800ba52: d001 beq.n 800ba58 + 800b5e4: 484f ldr r0, [pc, #316] ; (800b724 ) + 800b5e6: f7fb f81d bl 8006624 + 800b5ea: 4603 mov r3, r0 + 800b5ec: 2b00 cmp r3, #0 + 800b5ee: d001 beq.n 800b5f4 return NULL; - 800ba54: 2300 movs r3, #0 - 800ba56: e092 b.n 800bb7e + 800b5f0: 2300 movs r3, #0 + 800b5f2: e092 b.n 800b71a /* Obtain the size of the packet and put it into the "len" variable. */ len = heth.RxFrameInfos.length; - 800ba58: 4b4b ldr r3, [pc, #300] ; (800bb88 ) - 800ba5a: 6bdb ldr r3, [r3, #60] ; 0x3c - 800ba5c: 81fb strh r3, [r7, #14] + 800b5f4: 4b4b ldr r3, [pc, #300] ; (800b724 ) + 800b5f6: 6bdb ldr r3, [r3, #60] ; 0x3c + 800b5f8: 81fb strh r3, [r7, #14] buffer = (uint8_t *)heth.RxFrameInfos.buffer; - 800ba5e: 4b4a ldr r3, [pc, #296] ; (800bb88 ) - 800ba60: 6c1b ldr r3, [r3, #64] ; 0x40 - 800ba62: 627b str r3, [r7, #36] ; 0x24 + 800b5fa: 4b4a ldr r3, [pc, #296] ; (800b724 ) + 800b5fc: 6c1b ldr r3, [r3, #64] ; 0x40 + 800b5fe: 627b str r3, [r7, #36] ; 0x24 if (len > 0) - 800ba64: 89fb ldrh r3, [r7, #14] - 800ba66: 2b00 cmp r3, #0 - 800ba68: d007 beq.n 800ba7a + 800b600: 89fb ldrh r3, [r7, #14] + 800b602: 2b00 cmp r3, #0 + 800b604: d007 beq.n 800b616 { /* We allocate a pbuf chain of pbufs from the Lwip buffer pool */ p = pbuf_alloc(PBUF_RAW, len, PBUF_POOL); - 800ba6a: 89fb ldrh r3, [r7, #14] - 800ba6c: f44f 72c1 mov.w r2, #386 ; 0x182 - 800ba70: 4619 mov r1, r3 - 800ba72: 2000 movs r0, #0 - 800ba74: f004 fd10 bl 8010498 - 800ba78: 62f8 str r0, [r7, #44] ; 0x2c + 800b606: 89fb ldrh r3, [r7, #14] + 800b608: f44f 72c1 mov.w r2, #386 ; 0x182 + 800b60c: 4619 mov r1, r3 + 800b60e: 2000 movs r0, #0 + 800b610: f004 fd0a bl 8010028 + 800b614: 62f8 str r0, [r7, #44] ; 0x2c } if (p != NULL) - 800ba7a: 6afb ldr r3, [r7, #44] ; 0x2c - 800ba7c: 2b00 cmp r3, #0 - 800ba7e: d04b beq.n 800bb18 + 800b616: 6afb ldr r3, [r7, #44] ; 0x2c + 800b618: 2b00 cmp r3, #0 + 800b61a: d04b beq.n 800b6b4 { dmarxdesc = heth.RxFrameInfos.FSRxDesc; - 800ba80: 4b41 ldr r3, [pc, #260] ; (800bb88 ) - 800ba82: 6b1b ldr r3, [r3, #48] ; 0x30 - 800ba84: 623b str r3, [r7, #32] + 800b61c: 4b41 ldr r3, [pc, #260] ; (800b724 ) + 800b61e: 6b1b ldr r3, [r3, #48] ; 0x30 + 800b620: 623b str r3, [r7, #32] bufferoffset = 0; - 800ba86: 2300 movs r3, #0 - 800ba88: 61fb str r3, [r7, #28] + 800b622: 2300 movs r3, #0 + 800b624: 61fb str r3, [r7, #28] for(q = p; q != NULL; q = q->next) - 800ba8a: 6afb ldr r3, [r7, #44] ; 0x2c - 800ba8c: 62bb str r3, [r7, #40] ; 0x28 - 800ba8e: e040 b.n 800bb12 + 800b626: 6afb ldr r3, [r7, #44] ; 0x2c + 800b628: 62bb str r3, [r7, #40] ; 0x28 + 800b62a: e040 b.n 800b6ae { byteslefttocopy = q->len; - 800ba90: 6abb ldr r3, [r7, #40] ; 0x28 - 800ba92: 895b ldrh r3, [r3, #10] - 800ba94: 617b str r3, [r7, #20] + 800b62c: 6abb ldr r3, [r7, #40] ; 0x28 + 800b62e: 895b ldrh r3, [r3, #10] + 800b630: 617b str r3, [r7, #20] payloadoffset = 0; - 800ba96: 2300 movs r3, #0 - 800ba98: 61bb str r3, [r7, #24] + 800b632: 2300 movs r3, #0 + 800b634: 61bb str r3, [r7, #24] /* Check if the length of bytes to copy in current pbuf is bigger than Rx buffer size*/ while( (byteslefttocopy + bufferoffset) > ETH_RX_BUF_SIZE ) - 800ba9a: e021 b.n 800bae0 + 800b636: e021 b.n 800b67c { /* Copy data to pbuf */ memcpy( (uint8_t*)((uint8_t*)q->payload + payloadoffset), (uint8_t*)((uint8_t*)buffer + bufferoffset), (ETH_RX_BUF_SIZE - bufferoffset)); - 800ba9c: 6abb ldr r3, [r7, #40] ; 0x28 - 800ba9e: 685a ldr r2, [r3, #4] - 800baa0: 69bb ldr r3, [r7, #24] - 800baa2: 18d0 adds r0, r2, r3 - 800baa4: 6a7a ldr r2, [r7, #36] ; 0x24 - 800baa6: 69fb ldr r3, [r7, #28] - 800baa8: 18d1 adds r1, r2, r3 - 800baaa: 69fa ldr r2, [r7, #28] - 800baac: f240 53f4 movw r3, #1524 ; 0x5f4 - 800bab0: 1a9b subs r3, r3, r2 - 800bab2: 461a mov r2, r3 - 800bab4: f00f fcd3 bl 801b45e + 800b638: 6abb ldr r3, [r7, #40] ; 0x28 + 800b63a: 685a ldr r2, [r3, #4] + 800b63c: 69bb ldr r3, [r7, #24] + 800b63e: 18d0 adds r0, r2, r3 + 800b640: 6a7a ldr r2, [r7, #36] ; 0x24 + 800b642: 69fb ldr r3, [r7, #28] + 800b644: 18d1 adds r1, r2, r3 + 800b646: 69fa ldr r2, [r7, #28] + 800b648: f240 53f4 movw r3, #1524 ; 0x5f4 + 800b64c: 1a9b subs r3, r3, r2 + 800b64e: 461a mov r2, r3 + 800b650: f00f fccd bl 801afee /* Point to next descriptor */ dmarxdesc = (ETH_DMADescTypeDef *)(dmarxdesc->Buffer2NextDescAddr); - 800bab8: 6a3b ldr r3, [r7, #32] - 800baba: 68db ldr r3, [r3, #12] - 800babc: 623b str r3, [r7, #32] + 800b654: 6a3b ldr r3, [r7, #32] + 800b656: 68db ldr r3, [r3, #12] + 800b658: 623b str r3, [r7, #32] buffer = (uint8_t *)(dmarxdesc->Buffer1Addr); - 800babe: 6a3b ldr r3, [r7, #32] - 800bac0: 689b ldr r3, [r3, #8] - 800bac2: 627b str r3, [r7, #36] ; 0x24 + 800b65a: 6a3b ldr r3, [r7, #32] + 800b65c: 689b ldr r3, [r3, #8] + 800b65e: 627b str r3, [r7, #36] ; 0x24 byteslefttocopy = byteslefttocopy - (ETH_RX_BUF_SIZE - bufferoffset); - 800bac4: 69fa ldr r2, [r7, #28] - 800bac6: 697b ldr r3, [r7, #20] - 800bac8: 4413 add r3, r2 - 800baca: f2a3 53f4 subw r3, r3, #1524 ; 0x5f4 - 800bace: 617b str r3, [r7, #20] + 800b660: 69fa ldr r2, [r7, #28] + 800b662: 697b ldr r3, [r7, #20] + 800b664: 4413 add r3, r2 + 800b666: f2a3 53f4 subw r3, r3, #1524 ; 0x5f4 + 800b66a: 617b str r3, [r7, #20] payloadoffset = payloadoffset + (ETH_RX_BUF_SIZE - bufferoffset); - 800bad0: 69ba ldr r2, [r7, #24] - 800bad2: 69fb ldr r3, [r7, #28] - 800bad4: 1ad3 subs r3, r2, r3 - 800bad6: f203 53f4 addw r3, r3, #1524 ; 0x5f4 - 800bada: 61bb str r3, [r7, #24] + 800b66c: 69ba ldr r2, [r7, #24] + 800b66e: 69fb ldr r3, [r7, #28] + 800b670: 1ad3 subs r3, r2, r3 + 800b672: f203 53f4 addw r3, r3, #1524 ; 0x5f4 + 800b676: 61bb str r3, [r7, #24] bufferoffset = 0; - 800badc: 2300 movs r3, #0 - 800bade: 61fb str r3, [r7, #28] + 800b678: 2300 movs r3, #0 + 800b67a: 61fb str r3, [r7, #28] while( (byteslefttocopy + bufferoffset) > ETH_RX_BUF_SIZE ) - 800bae0: 697a ldr r2, [r7, #20] - 800bae2: 69fb ldr r3, [r7, #28] - 800bae4: 4413 add r3, r2 - 800bae6: f240 52f4 movw r2, #1524 ; 0x5f4 - 800baea: 4293 cmp r3, r2 - 800baec: d8d6 bhi.n 800ba9c + 800b67c: 697a ldr r2, [r7, #20] + 800b67e: 69fb ldr r3, [r7, #28] + 800b680: 4413 add r3, r2 + 800b682: f240 52f4 movw r2, #1524 ; 0x5f4 + 800b686: 4293 cmp r3, r2 + 800b688: d8d6 bhi.n 800b638 } /* Copy remaining data in pbuf */ memcpy( (uint8_t*)((uint8_t*)q->payload + payloadoffset), (uint8_t*)((uint8_t*)buffer + bufferoffset), byteslefttocopy); - 800baee: 6abb ldr r3, [r7, #40] ; 0x28 - 800baf0: 685a ldr r2, [r3, #4] - 800baf2: 69bb ldr r3, [r7, #24] - 800baf4: 18d0 adds r0, r2, r3 - 800baf6: 6a7a ldr r2, [r7, #36] ; 0x24 - 800baf8: 69fb ldr r3, [r7, #28] - 800bafa: 4413 add r3, r2 - 800bafc: 697a ldr r2, [r7, #20] - 800bafe: 4619 mov r1, r3 - 800bb00: f00f fcad bl 801b45e + 800b68a: 6abb ldr r3, [r7, #40] ; 0x28 + 800b68c: 685a ldr r2, [r3, #4] + 800b68e: 69bb ldr r3, [r7, #24] + 800b690: 18d0 adds r0, r2, r3 + 800b692: 6a7a ldr r2, [r7, #36] ; 0x24 + 800b694: 69fb ldr r3, [r7, #28] + 800b696: 4413 add r3, r2 + 800b698: 697a ldr r2, [r7, #20] + 800b69a: 4619 mov r1, r3 + 800b69c: f00f fca7 bl 801afee bufferoffset = bufferoffset + byteslefttocopy; - 800bb04: 69fa ldr r2, [r7, #28] - 800bb06: 697b ldr r3, [r7, #20] - 800bb08: 4413 add r3, r2 - 800bb0a: 61fb str r3, [r7, #28] + 800b6a0: 69fa ldr r2, [r7, #28] + 800b6a2: 697b ldr r3, [r7, #20] + 800b6a4: 4413 add r3, r2 + 800b6a6: 61fb str r3, [r7, #28] for(q = p; q != NULL; q = q->next) - 800bb0c: 6abb ldr r3, [r7, #40] ; 0x28 - 800bb0e: 681b ldr r3, [r3, #0] - 800bb10: 62bb str r3, [r7, #40] ; 0x28 - 800bb12: 6abb ldr r3, [r7, #40] ; 0x28 - 800bb14: 2b00 cmp r3, #0 - 800bb16: d1bb bne.n 800ba90 + 800b6a8: 6abb ldr r3, [r7, #40] ; 0x28 + 800b6aa: 681b ldr r3, [r3, #0] + 800b6ac: 62bb str r3, [r7, #40] ; 0x28 + 800b6ae: 6abb ldr r3, [r7, #40] ; 0x28 + 800b6b0: 2b00 cmp r3, #0 + 800b6b2: d1bb bne.n 800b62c } } /* Release descriptors to DMA */ /* Point to first descriptor */ dmarxdesc = heth.RxFrameInfos.FSRxDesc; - 800bb18: 4b1b ldr r3, [pc, #108] ; (800bb88 ) - 800bb1a: 6b1b ldr r3, [r3, #48] ; 0x30 - 800bb1c: 623b str r3, [r7, #32] + 800b6b4: 4b1b ldr r3, [pc, #108] ; (800b724 ) + 800b6b6: 6b1b ldr r3, [r3, #48] ; 0x30 + 800b6b8: 623b str r3, [r7, #32] /* Set Own bit in Rx descriptors: gives the buffers back to DMA */ for (i=0; i< heth.RxFrameInfos.SegCount; i++) - 800bb1e: 2300 movs r3, #0 - 800bb20: 613b str r3, [r7, #16] - 800bb22: e00b b.n 800bb3c + 800b6ba: 2300 movs r3, #0 + 800b6bc: 613b str r3, [r7, #16] + 800b6be: e00b b.n 800b6d8 { dmarxdesc->Status |= ETH_DMARXDESC_OWN; - 800bb24: 6a3b ldr r3, [r7, #32] - 800bb26: 681b ldr r3, [r3, #0] - 800bb28: f043 4200 orr.w r2, r3, #2147483648 ; 0x80000000 - 800bb2c: 6a3b ldr r3, [r7, #32] - 800bb2e: 601a str r2, [r3, #0] + 800b6c0: 6a3b ldr r3, [r7, #32] + 800b6c2: 681b ldr r3, [r3, #0] + 800b6c4: f043 4200 orr.w r2, r3, #2147483648 ; 0x80000000 + 800b6c8: 6a3b ldr r3, [r7, #32] + 800b6ca: 601a str r2, [r3, #0] dmarxdesc = (ETH_DMADescTypeDef *)(dmarxdesc->Buffer2NextDescAddr); - 800bb30: 6a3b ldr r3, [r7, #32] - 800bb32: 68db ldr r3, [r3, #12] - 800bb34: 623b str r3, [r7, #32] + 800b6cc: 6a3b ldr r3, [r7, #32] + 800b6ce: 68db ldr r3, [r3, #12] + 800b6d0: 623b str r3, [r7, #32] for (i=0; i< heth.RxFrameInfos.SegCount; i++) - 800bb36: 693b ldr r3, [r7, #16] - 800bb38: 3301 adds r3, #1 - 800bb3a: 613b str r3, [r7, #16] - 800bb3c: 4b12 ldr r3, [pc, #72] ; (800bb88 ) - 800bb3e: 6b9b ldr r3, [r3, #56] ; 0x38 - 800bb40: 693a ldr r2, [r7, #16] - 800bb42: 429a cmp r2, r3 - 800bb44: d3ee bcc.n 800bb24 + 800b6d2: 693b ldr r3, [r7, #16] + 800b6d4: 3301 adds r3, #1 + 800b6d6: 613b str r3, [r7, #16] + 800b6d8: 4b12 ldr r3, [pc, #72] ; (800b724 ) + 800b6da: 6b9b ldr r3, [r3, #56] ; 0x38 + 800b6dc: 693a ldr r2, [r7, #16] + 800b6de: 429a cmp r2, r3 + 800b6e0: d3ee bcc.n 800b6c0 } /* Clear Segment_Count */ heth.RxFrameInfos.SegCount =0; - 800bb46: 4b10 ldr r3, [pc, #64] ; (800bb88 ) - 800bb48: 2200 movs r2, #0 - 800bb4a: 639a str r2, [r3, #56] ; 0x38 + 800b6e2: 4b10 ldr r3, [pc, #64] ; (800b724 ) + 800b6e4: 2200 movs r2, #0 + 800b6e6: 639a str r2, [r3, #56] ; 0x38 /* When Rx Buffer unavailable flag is set: clear it and resume reception */ if ((heth.Instance->DMASR & ETH_DMASR_RBUS) != (uint32_t)RESET) - 800bb4c: 4b0e ldr r3, [pc, #56] ; (800bb88 ) - 800bb4e: 681a ldr r2, [r3, #0] - 800bb50: f241 0314 movw r3, #4116 ; 0x1014 - 800bb54: 4413 add r3, r2 - 800bb56: 681b ldr r3, [r3, #0] - 800bb58: f003 0380 and.w r3, r3, #128 ; 0x80 - 800bb5c: 2b00 cmp r3, #0 - 800bb5e: d00d beq.n 800bb7c + 800b6e8: 4b0e ldr r3, [pc, #56] ; (800b724 ) + 800b6ea: 681a ldr r2, [r3, #0] + 800b6ec: f241 0314 movw r3, #4116 ; 0x1014 + 800b6f0: 4413 add r3, r2 + 800b6f2: 681b ldr r3, [r3, #0] + 800b6f4: f003 0380 and.w r3, r3, #128 ; 0x80 + 800b6f8: 2b00 cmp r3, #0 + 800b6fa: d00d beq.n 800b718 { /* Clear RBUS ETHERNET DMA flag */ heth.Instance->DMASR = ETH_DMASR_RBUS; - 800bb60: 4b09 ldr r3, [pc, #36] ; (800bb88 ) - 800bb62: 681a ldr r2, [r3, #0] - 800bb64: f241 0314 movw r3, #4116 ; 0x1014 - 800bb68: 4413 add r3, r2 - 800bb6a: 2280 movs r2, #128 ; 0x80 - 800bb6c: 601a str r2, [r3, #0] + 800b6fc: 4b09 ldr r3, [pc, #36] ; (800b724 ) + 800b6fe: 681a ldr r2, [r3, #0] + 800b700: f241 0314 movw r3, #4116 ; 0x1014 + 800b704: 4413 add r3, r2 + 800b706: 2280 movs r2, #128 ; 0x80 + 800b708: 601a str r2, [r3, #0] /* Resume DMA reception */ heth.Instance->DMARPDR = 0; - 800bb6e: 4b06 ldr r3, [pc, #24] ; (800bb88 ) - 800bb70: 681a ldr r2, [r3, #0] - 800bb72: f241 0308 movw r3, #4104 ; 0x1008 - 800bb76: 4413 add r3, r2 - 800bb78: 2200 movs r2, #0 - 800bb7a: 601a str r2, [r3, #0] + 800b70a: 4b06 ldr r3, [pc, #24] ; (800b724 ) + 800b70c: 681a ldr r2, [r3, #0] + 800b70e: f241 0308 movw r3, #4104 ; 0x1008 + 800b712: 4413 add r3, r2 + 800b714: 2200 movs r2, #0 + 800b716: 601a str r2, [r3, #0] } return p; - 800bb7c: 6afb ldr r3, [r7, #44] ; 0x2c + 800b718: 6afb ldr r3, [r7, #44] ; 0x2c } - 800bb7e: 4618 mov r0, r3 - 800bb80: 3730 adds r7, #48 ; 0x30 - 800bb82: 46bd mov sp, r7 - 800bb84: bd80 pop {r7, pc} - 800bb86: bf00 nop - 800bb88: 2000a674 .word 0x2000a674 + 800b71a: 4618 mov r0, r3 + 800b71c: 3730 adds r7, #48 ; 0x30 + 800b71e: 46bd mov sp, r7 + 800b720: bd80 pop {r7, pc} + 800b722: bf00 nop + 800b724: 2000a670 .word 0x2000a670 -0800bb8c : +0800b728 : * the appropriate input function is called. * * @param netif the lwip network interface structure for this ethernetif */ void ethernetif_input(void const * argument) { - 800bb8c: b580 push {r7, lr} - 800bb8e: b084 sub sp, #16 - 800bb90: af00 add r7, sp, #0 - 800bb92: 6078 str r0, [r7, #4] + 800b728: b580 push {r7, lr} + 800b72a: b084 sub sp, #16 + 800b72c: af00 add r7, sp, #0 + 800b72e: 6078 str r0, [r7, #4] struct pbuf *p; struct netif *netif = (struct netif *) argument; - 800bb94: 687b ldr r3, [r7, #4] - 800bb96: 60fb str r3, [r7, #12] + 800b730: 687b ldr r3, [r7, #4] + 800b732: 60fb str r3, [r7, #12] for( ;; ) { if (osSemaphoreWait(s_xSemaphore, TIME_WAITING_FOR_INPUT) == osOK) - 800bb98: 4b12 ldr r3, [pc, #72] ; (800bbe4 ) - 800bb9a: 681b ldr r3, [r3, #0] - 800bb9c: f04f 31ff mov.w r1, #4294967295 - 800bba0: 4618 mov r0, r3 - 800bba2: f000 fa99 bl 800c0d8 - 800bba6: 4603 mov r3, r0 - 800bba8: 2b00 cmp r3, #0 - 800bbaa: d1f5 bne.n 800bb98 + 800b734: 4b12 ldr r3, [pc, #72] ; (800b780 ) + 800b736: 681b ldr r3, [r3, #0] + 800b738: f04f 31ff mov.w r1, #4294967295 + 800b73c: 4618 mov r0, r3 + 800b73e: f000 fa99 bl 800bc74 + 800b742: 4603 mov r3, r0 + 800b744: 2b00 cmp r3, #0 + 800b746: d1f5 bne.n 800b734 { do { LOCK_TCPIP_CORE(); - 800bbac: 480e ldr r0, [pc, #56] ; (800bbe8 ) - 800bbae: f00f fbc3 bl 801b338 + 800b748: 480e ldr r0, [pc, #56] ; (800b784 ) + 800b74a: f00f fbbd bl 801aec8 p = low_level_input( netif ); - 800bbb2: 68f8 ldr r0, [r7, #12] - 800bbb4: f7ff ff36 bl 800ba24 - 800bbb8: 60b8 str r0, [r7, #8] + 800b74e: 68f8 ldr r0, [r7, #12] + 800b750: f7ff ff36 bl 800b5c0 + 800b754: 60b8 str r0, [r7, #8] if (p != NULL) - 800bbba: 68bb ldr r3, [r7, #8] - 800bbbc: 2b00 cmp r3, #0 - 800bbbe: d00a beq.n 800bbd6 + 800b756: 68bb ldr r3, [r7, #8] + 800b758: 2b00 cmp r3, #0 + 800b75a: d00a beq.n 800b772 { if (netif->input( p, netif) != ERR_OK ) - 800bbc0: 68fb ldr r3, [r7, #12] - 800bbc2: 691b ldr r3, [r3, #16] - 800bbc4: 68f9 ldr r1, [r7, #12] - 800bbc6: 68b8 ldr r0, [r7, #8] - 800bbc8: 4798 blx r3 - 800bbca: 4603 mov r3, r0 - 800bbcc: 2b00 cmp r3, #0 - 800bbce: d002 beq.n 800bbd6 + 800b75c: 68fb ldr r3, [r7, #12] + 800b75e: 691b ldr r3, [r3, #16] + 800b760: 68f9 ldr r1, [r7, #12] + 800b762: 68b8 ldr r0, [r7, #8] + 800b764: 4798 blx r3 + 800b766: 4603 mov r3, r0 + 800b768: 2b00 cmp r3, #0 + 800b76a: d002 beq.n 800b772 { pbuf_free(p); - 800bbd0: 68b8 ldr r0, [r7, #8] - 800bbd2: f004 ff41 bl 8010a58 + 800b76c: 68b8 ldr r0, [r7, #8] + 800b76e: f004 ff3b bl 80105e8 } } UNLOCK_TCPIP_CORE(); - 800bbd6: 4804 ldr r0, [pc, #16] ; (800bbe8 ) - 800bbd8: f00f fbbd bl 801b356 + 800b772: 4804 ldr r0, [pc, #16] ; (800b784 ) + 800b774: f00f fbb7 bl 801aee6 } while(p!=NULL); - 800bbdc: 68bb ldr r3, [r7, #8] - 800bbde: 2b00 cmp r3, #0 - 800bbe0: d1e4 bne.n 800bbac + 800b778: 68bb ldr r3, [r7, #8] + 800b77a: 2b00 cmp r3, #0 + 800b77c: d1e4 bne.n 800b748 if (osSemaphoreWait(s_xSemaphore, TIME_WAITING_FOR_INPUT) == osOK) - 800bbe2: e7d9 b.n 800bb98 - 800bbe4: 20000588 .word 0x20000588 - 800bbe8: 2000be8c .word 0x2000be8c + 800b77e: e7d9 b.n 800b734 + 800b780: 20000588 .word 0x20000588 + 800b784: 2000be88 .word 0x2000be88 -0800bbec : +0800b788 : * @return ERR_OK if the loopif is initialized * ERR_MEM if private data couldn't be allocated * any other err_t on error */ err_t ethernetif_init(struct netif *netif) { - 800bbec: b580 push {r7, lr} - 800bbee: b082 sub sp, #8 - 800bbf0: af00 add r7, sp, #0 - 800bbf2: 6078 str r0, [r7, #4] + 800b788: b580 push {r7, lr} + 800b78a: b082 sub sp, #8 + 800b78c: af00 add r7, sp, #0 + 800b78e: 6078 str r0, [r7, #4] LWIP_ASSERT("netif != NULL", (netif != NULL)); - 800bbf4: 687b ldr r3, [r7, #4] - 800bbf6: 2b00 cmp r3, #0 - 800bbf8: d106 bne.n 800bc08 - 800bbfa: 4b0e ldr r3, [pc, #56] ; (800bc34 ) - 800bbfc: f240 222b movw r2, #555 ; 0x22b - 800bc00: 490d ldr r1, [pc, #52] ; (800bc38 ) - 800bc02: 480e ldr r0, [pc, #56] ; (800bc3c ) - 800bc04: f00f fc58 bl 801b4b8 + 800b790: 687b ldr r3, [r7, #4] + 800b792: 2b00 cmp r3, #0 + 800b794: d106 bne.n 800b7a4 + 800b796: 4b0e ldr r3, [pc, #56] ; (800b7d0 ) + 800b798: f240 222b movw r2, #555 ; 0x22b + 800b79c: 490d ldr r1, [pc, #52] ; (800b7d4 ) + 800b79e: 480e ldr r0, [pc, #56] ; (800b7d8 ) + 800b7a0: f00f fc38 bl 801b014 #if LWIP_NETIF_HOSTNAME /* Initialize interface hostname */ netif->hostname = "lwip"; #endif /* LWIP_NETIF_HOSTNAME */ netif->name[0] = IFNAME0; - 800bc08: 687b ldr r3, [r7, #4] - 800bc0a: 2273 movs r2, #115 ; 0x73 - 800bc0c: f883 2032 strb.w r2, [r3, #50] ; 0x32 + 800b7a4: 687b ldr r3, [r7, #4] + 800b7a6: 2273 movs r2, #115 ; 0x73 + 800b7a8: f883 2032 strb.w r2, [r3, #50] ; 0x32 netif->name[1] = IFNAME1; - 800bc10: 687b ldr r3, [r7, #4] - 800bc12: 2274 movs r2, #116 ; 0x74 - 800bc14: f883 2033 strb.w r2, [r3, #51] ; 0x33 + 800b7ac: 687b ldr r3, [r7, #4] + 800b7ae: 2274 movs r2, #116 ; 0x74 + 800b7b0: f883 2033 strb.w r2, [r3, #51] ; 0x33 * is available...) */ #if LWIP_IPV4 #if LWIP_ARP || LWIP_ETHERNET #if LWIP_ARP netif->output = etharp_output; - 800bc18: 687b ldr r3, [r7, #4] - 800bc1a: 4a09 ldr r2, [pc, #36] ; (800bc40 ) - 800bc1c: 615a str r2, [r3, #20] + 800b7b4: 687b ldr r3, [r7, #4] + 800b7b6: 4a09 ldr r2, [pc, #36] ; (800b7dc ) + 800b7b8: 615a str r2, [r3, #20] #if LWIP_IPV6 netif->output_ip6 = ethip6_output; #endif /* LWIP_IPV6 */ netif->linkoutput = low_level_output; - 800bc1e: 687b ldr r3, [r7, #4] - 800bc20: 4a08 ldr r2, [pc, #32] ; (800bc44 ) - 800bc22: 619a str r2, [r3, #24] + 800b7ba: 687b ldr r3, [r7, #4] + 800b7bc: 4a08 ldr r2, [pc, #32] ; (800b7e0 ) + 800b7be: 619a str r2, [r3, #24] /* initialize the hardware */ low_level_init(netif); - 800bc24: 6878 ldr r0, [r7, #4] - 800bc26: f7ff fd87 bl 800b738 + 800b7c0: 6878 ldr r0, [r7, #4] + 800b7c2: f7ff fd87 bl 800b2d4 return ERR_OK; - 800bc2a: 2300 movs r3, #0 + 800b7c6: 2300 movs r3, #0 } - 800bc2c: 4618 mov r0, r3 - 800bc2e: 3708 adds r7, #8 - 800bc30: 46bd mov sp, r7 - 800bc32: bd80 pop {r7, pc} - 800bc34: 0801c77c .word 0x0801c77c - 800bc38: 0801c798 .word 0x0801c798 - 800bc3c: 0801c7a8 .word 0x0801c7a8 - 800bc40: 080194b5 .word 0x080194b5 - 800bc44: 0800b8e9 .word 0x0800b8e9 + 800b7c8: 4618 mov r0, r3 + 800b7ca: 3708 adds r7, #8 + 800b7cc: 46bd mov sp, r7 + 800b7ce: bd80 pop {r7, pc} + 800b7d0: 0801bf78 .word 0x0801bf78 + 800b7d4: 0801bf94 .word 0x0801bf94 + 800b7d8: 0801bfa4 .word 0x0801bfa4 + 800b7dc: 08019045 .word 0x08019045 + 800b7e0: 0800b485 .word 0x0800b485 -0800bc48 : +0800b7e4 : * when LWIP_TIMERS == 1 and NO_SYS == 1 * @param None * @retval Time */ u32_t sys_now(void) { - 800bc48: b580 push {r7, lr} - 800bc4a: af00 add r7, sp, #0 + 800b7e4: b580 push {r7, lr} + 800b7e6: af00 add r7, sp, #0 return HAL_GetTick(); - 800bc4c: f7f9 f8f0 bl 8004e30 - 800bc50: 4603 mov r3, r0 + 800b7e8: f7f9 f8d6 bl 8004998 + 800b7ec: 4603 mov r3, r0 } - 800bc52: 4618 mov r0, r3 - 800bc54: bd80 pop {r7, pc} + 800b7ee: 4618 mov r0, r3 + 800b7f0: bd80 pop {r7, pc} ... -0800bc58 : +0800b7f4 : * @param netif: the network interface * @retval None */ void ethernetif_set_link(void const *argument) { - 800bc58: b580 push {r7, lr} - 800bc5a: b084 sub sp, #16 - 800bc5c: af00 add r7, sp, #0 - 800bc5e: 6078 str r0, [r7, #4] + 800b7f4: b580 push {r7, lr} + 800b7f6: b084 sub sp, #16 + 800b7f8: af00 add r7, sp, #0 + 800b7fa: 6078 str r0, [r7, #4] uint32_t regvalue = 0; - 800bc60: 2300 movs r3, #0 - 800bc62: 60bb str r3, [r7, #8] + 800b7fc: 2300 movs r3, #0 + 800b7fe: 60bb str r3, [r7, #8] struct link_str *link_arg = (struct link_str *)argument; - 800bc64: 687b ldr r3, [r7, #4] - 800bc66: 60fb str r3, [r7, #12] + 800b800: 687b ldr r3, [r7, #4] + 800b802: 60fb str r3, [r7, #12] for(;;) { /* Read PHY_BSR*/ HAL_ETH_ReadPHYRegister(&heth, PHY_BSR, ®value); - 800bc68: f107 0308 add.w r3, r7, #8 - 800bc6c: 461a mov r2, r3 - 800bc6e: 2101 movs r1, #1 - 800bc70: 4816 ldr r0, [pc, #88] ; (800bccc ) - 800bc72: f7fb f826 bl 8006cc2 + 800b804: f107 0308 add.w r3, r7, #8 + 800b808: 461a mov r2, r3 + 800b80a: 2101 movs r1, #1 + 800b80c: 4816 ldr r0, [pc, #88] ; (800b868 ) + 800b80e: f7fb f80c bl 800682a regvalue &= PHY_LINKED_STATUS; - 800bc76: 68bb ldr r3, [r7, #8] - 800bc78: f003 0304 and.w r3, r3, #4 - 800bc7c: 60bb str r3, [r7, #8] + 800b812: 68bb ldr r3, [r7, #8] + 800b814: f003 0304 and.w r3, r3, #4 + 800b818: 60bb str r3, [r7, #8] /* Check whether the netif link down and the PHY link is up */ if(!netif_is_link_up(link_arg->netif) && (regvalue)) - 800bc7e: 68fb ldr r3, [r7, #12] - 800bc80: 681b ldr r3, [r3, #0] - 800bc82: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 800bc86: f003 0304 and.w r3, r3, #4 - 800bc8a: 2b00 cmp r3, #0 - 800bc8c: d108 bne.n 800bca0 - 800bc8e: 68bb ldr r3, [r7, #8] - 800bc90: 2b00 cmp r3, #0 - 800bc92: d005 beq.n 800bca0 + 800b81a: 68fb ldr r3, [r7, #12] + 800b81c: 681b ldr r3, [r3, #0] + 800b81e: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800b822: f003 0304 and.w r3, r3, #4 + 800b826: 2b00 cmp r3, #0 + 800b828: d108 bne.n 800b83c + 800b82a: 68bb ldr r3, [r7, #8] + 800b82c: 2b00 cmp r3, #0 + 800b82e: d005 beq.n 800b83c { /* network cable is connected */ netif_set_link_up(link_arg->netif); - 800bc94: 68fb ldr r3, [r7, #12] - 800bc96: 681b ldr r3, [r3, #0] - 800bc98: 4618 mov r0, r3 - 800bc9a: f004 facb bl 8010234 - 800bc9e: e011 b.n 800bcc4 + 800b830: 68fb ldr r3, [r7, #12] + 800b832: 681b ldr r3, [r3, #0] + 800b834: 4618 mov r0, r3 + 800b836: f004 fac5 bl 800fdc4 + 800b83a: e011 b.n 800b860 } else if(netif_is_link_up(link_arg->netif) && (!regvalue)) - 800bca0: 68fb ldr r3, [r7, #12] - 800bca2: 681b ldr r3, [r3, #0] - 800bca4: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 800bca8: 089b lsrs r3, r3, #2 - 800bcaa: f003 0301 and.w r3, r3, #1 - 800bcae: b2db uxtb r3, r3 - 800bcb0: 2b00 cmp r3, #0 - 800bcb2: d007 beq.n 800bcc4 - 800bcb4: 68bb ldr r3, [r7, #8] - 800bcb6: 2b00 cmp r3, #0 - 800bcb8: d104 bne.n 800bcc4 + 800b83c: 68fb ldr r3, [r7, #12] + 800b83e: 681b ldr r3, [r3, #0] + 800b840: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800b844: 089b lsrs r3, r3, #2 + 800b846: f003 0301 and.w r3, r3, #1 + 800b84a: b2db uxtb r3, r3 + 800b84c: 2b00 cmp r3, #0 + 800b84e: d007 beq.n 800b860 + 800b850: 68bb ldr r3, [r7, #8] + 800b852: 2b00 cmp r3, #0 + 800b854: d104 bne.n 800b860 { /* network cable is dis-connected */ netif_set_link_down(link_arg->netif); - 800bcba: 68fb ldr r3, [r7, #12] - 800bcbc: 681b ldr r3, [r3, #0] - 800bcbe: 4618 mov r0, r3 - 800bcc0: f004 faf0 bl 80102a4 + 800b856: 68fb ldr r3, [r7, #12] + 800b858: 681b ldr r3, [r3, #0] + 800b85a: 4618 mov r0, r3 + 800b85c: f004 faea bl 800fe34 } /* Suspend thread for 200 ms */ osDelay(200); - 800bcc4: 20c8 movs r0, #200 ; 0xc8 - 800bcc6: f000 f916 bl 800bef6 + 800b860: 20c8 movs r0, #200 ; 0xc8 + 800b862: f000 f916 bl 800ba92 HAL_ETH_ReadPHYRegister(&heth, PHY_BSR, ®value); - 800bcca: e7cd b.n 800bc68 - 800bccc: 2000a674 .word 0x2000a674 + 800b866: e7cd b.n 800b804 + 800b868: 2000a670 .word 0x2000a670 -0800bcd0 : +0800b86c : * to update low level driver configuration. * @param netif: The network interface * @retval None */ void ethernetif_update_config(struct netif *netif) { - 800bcd0: b580 push {r7, lr} - 800bcd2: b084 sub sp, #16 - 800bcd4: af00 add r7, sp, #0 - 800bcd6: 6078 str r0, [r7, #4] + 800b86c: b580 push {r7, lr} + 800b86e: b084 sub sp, #16 + 800b870: af00 add r7, sp, #0 + 800b872: 6078 str r0, [r7, #4] __IO uint32_t tickstart = 0; - 800bcd8: 2300 movs r3, #0 - 800bcda: 60fb str r3, [r7, #12] + 800b874: 2300 movs r3, #0 + 800b876: 60fb str r3, [r7, #12] uint32_t regvalue = 0; - 800bcdc: 2300 movs r3, #0 - 800bcde: 60bb str r3, [r7, #8] + 800b878: 2300 movs r3, #0 + 800b87a: 60bb str r3, [r7, #8] if(netif_is_link_up(netif)) - 800bce0: 687b ldr r3, [r7, #4] - 800bce2: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 800bce6: 089b lsrs r3, r3, #2 - 800bce8: f003 0301 and.w r3, r3, #1 - 800bcec: b2db uxtb r3, r3 - 800bcee: 2b00 cmp r3, #0 - 800bcf0: d05d beq.n 800bdae + 800b87c: 687b ldr r3, [r7, #4] + 800b87e: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800b882: 089b lsrs r3, r3, #2 + 800b884: f003 0301 and.w r3, r3, #1 + 800b888: b2db uxtb r3, r3 + 800b88a: 2b00 cmp r3, #0 + 800b88c: d05d beq.n 800b94a { /* Restart the auto-negotiation */ if(heth.Init.AutoNegotiation != ETH_AUTONEGOTIATION_DISABLE) - 800bcf2: 4b34 ldr r3, [pc, #208] ; (800bdc4 ) - 800bcf4: 685b ldr r3, [r3, #4] - 800bcf6: 2b00 cmp r3, #0 - 800bcf8: d03f beq.n 800bd7a + 800b88e: 4b34 ldr r3, [pc, #208] ; (800b960 ) + 800b890: 685b ldr r3, [r3, #4] + 800b892: 2b00 cmp r3, #0 + 800b894: d03f beq.n 800b916 { /* Enable Auto-Negotiation */ HAL_ETH_WritePHYRegister(&heth, PHY_BCR, PHY_AUTONEGOTIATION); - 800bcfa: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800bcfe: 2100 movs r1, #0 - 800bd00: 4830 ldr r0, [pc, #192] ; (800bdc4 ) - 800bd02: f7fb f846 bl 8006d92 + 800b896: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800b89a: 2100 movs r1, #0 + 800b89c: 4830 ldr r0, [pc, #192] ; (800b960 ) + 800b89e: f7fb f82c bl 80068fa /* Get tick */ tickstart = HAL_GetTick(); - 800bd06: f7f9 f893 bl 8004e30 - 800bd0a: 4603 mov r3, r0 - 800bd0c: 60fb str r3, [r7, #12] + 800b8a2: f7f9 f879 bl 8004998 + 800b8a6: 4603 mov r3, r0 + 800b8a8: 60fb str r3, [r7, #12] /* Wait until the auto-negotiation will be completed */ do { HAL_ETH_ReadPHYRegister(&heth, PHY_BSR, ®value); - 800bd0e: f107 0308 add.w r3, r7, #8 - 800bd12: 461a mov r2, r3 - 800bd14: 2101 movs r1, #1 - 800bd16: 482b ldr r0, [pc, #172] ; (800bdc4 ) - 800bd18: f7fa ffd3 bl 8006cc2 + 800b8aa: f107 0308 add.w r3, r7, #8 + 800b8ae: 461a mov r2, r3 + 800b8b0: 2101 movs r1, #1 + 800b8b2: 482b ldr r0, [pc, #172] ; (800b960 ) + 800b8b4: f7fa ffb9 bl 800682a /* Check for the Timeout ( 1s ) */ if((HAL_GetTick() - tickstart ) > 1000) - 800bd1c: f7f9 f888 bl 8004e30 - 800bd20: 4602 mov r2, r0 - 800bd22: 68fb ldr r3, [r7, #12] - 800bd24: 1ad3 subs r3, r2, r3 - 800bd26: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 - 800bd2a: d828 bhi.n 800bd7e + 800b8b8: f7f9 f86e bl 8004998 + 800b8bc: 4602 mov r2, r0 + 800b8be: 68fb ldr r3, [r7, #12] + 800b8c0: 1ad3 subs r3, r2, r3 + 800b8c2: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 + 800b8c6: d828 bhi.n 800b91a { /* In case of timeout */ goto error; } } while (((regvalue & PHY_AUTONEGO_COMPLETE) != PHY_AUTONEGO_COMPLETE)); - 800bd2c: 68bb ldr r3, [r7, #8] - 800bd2e: f003 0320 and.w r3, r3, #32 - 800bd32: 2b00 cmp r3, #0 - 800bd34: d0eb beq.n 800bd0e + 800b8c8: 68bb ldr r3, [r7, #8] + 800b8ca: f003 0320 and.w r3, r3, #32 + 800b8ce: 2b00 cmp r3, #0 + 800b8d0: d0eb beq.n 800b8aa /* Read the result of the auto-negotiation */ HAL_ETH_ReadPHYRegister(&heth, PHY_SR, ®value); - 800bd36: f107 0308 add.w r3, r7, #8 - 800bd3a: 461a mov r2, r3 - 800bd3c: 211f movs r1, #31 - 800bd3e: 4821 ldr r0, [pc, #132] ; (800bdc4 ) - 800bd40: f7fa ffbf bl 8006cc2 + 800b8d2: f107 0308 add.w r3, r7, #8 + 800b8d6: 461a mov r2, r3 + 800b8d8: 211f movs r1, #31 + 800b8da: 4821 ldr r0, [pc, #132] ; (800b960 ) + 800b8dc: f7fa ffa5 bl 800682a /* Configure the MAC with the Duplex Mode fixed by the auto-negotiation process */ if((regvalue & PHY_DUPLEX_STATUS) != (uint32_t)RESET) - 800bd44: 68bb ldr r3, [r7, #8] - 800bd46: f003 0310 and.w r3, r3, #16 - 800bd4a: 2b00 cmp r3, #0 - 800bd4c: d004 beq.n 800bd58 + 800b8e0: 68bb ldr r3, [r7, #8] + 800b8e2: f003 0310 and.w r3, r3, #16 + 800b8e6: 2b00 cmp r3, #0 + 800b8e8: d004 beq.n 800b8f4 { /* Set Ethernet duplex mode to Full-duplex following the auto-negotiation */ heth.Init.DuplexMode = ETH_MODE_FULLDUPLEX; - 800bd4e: 4b1d ldr r3, [pc, #116] ; (800bdc4 ) - 800bd50: f44f 6200 mov.w r2, #2048 ; 0x800 - 800bd54: 60da str r2, [r3, #12] - 800bd56: e002 b.n 800bd5e + 800b8ea: 4b1d ldr r3, [pc, #116] ; (800b960 ) + 800b8ec: f44f 6200 mov.w r2, #2048 ; 0x800 + 800b8f0: 60da str r2, [r3, #12] + 800b8f2: e002 b.n 800b8fa } else { /* Set Ethernet duplex mode to Half-duplex following the auto-negotiation */ heth.Init.DuplexMode = ETH_MODE_HALFDUPLEX; - 800bd58: 4b1a ldr r3, [pc, #104] ; (800bdc4 ) - 800bd5a: 2200 movs r2, #0 - 800bd5c: 60da str r2, [r3, #12] + 800b8f4: 4b1a ldr r3, [pc, #104] ; (800b960 ) + 800b8f6: 2200 movs r2, #0 + 800b8f8: 60da str r2, [r3, #12] } /* Configure the MAC with the speed fixed by the auto-negotiation process */ if(regvalue & PHY_SPEED_STATUS) - 800bd5e: 68bb ldr r3, [r7, #8] - 800bd60: f003 0304 and.w r3, r3, #4 - 800bd64: 2b00 cmp r3, #0 - 800bd66: d003 beq.n 800bd70 + 800b8fa: 68bb ldr r3, [r7, #8] + 800b8fc: f003 0304 and.w r3, r3, #4 + 800b900: 2b00 cmp r3, #0 + 800b902: d003 beq.n 800b90c { /* Set Ethernet speed to 10M following the auto-negotiation */ heth.Init.Speed = ETH_SPEED_10M; - 800bd68: 4b16 ldr r3, [pc, #88] ; (800bdc4 ) - 800bd6a: 2200 movs r2, #0 - 800bd6c: 609a str r2, [r3, #8] - 800bd6e: e016 b.n 800bd9e + 800b904: 4b16 ldr r3, [pc, #88] ; (800b960 ) + 800b906: 2200 movs r2, #0 + 800b908: 609a str r2, [r3, #8] + 800b90a: e016 b.n 800b93a } else { /* Set Ethernet speed to 100M following the auto-negotiation */ heth.Init.Speed = ETH_SPEED_100M; - 800bd70: 4b14 ldr r3, [pc, #80] ; (800bdc4 ) - 800bd72: f44f 4280 mov.w r2, #16384 ; 0x4000 - 800bd76: 609a str r2, [r3, #8] - 800bd78: e011 b.n 800bd9e + 800b90c: 4b14 ldr r3, [pc, #80] ; (800b960 ) + 800b90e: f44f 4280 mov.w r2, #16384 ; 0x4000 + 800b912: 609a str r2, [r3, #8] + 800b914: e011 b.n 800b93a } } else /* AutoNegotiation Disable */ { error : - 800bd7a: bf00 nop - 800bd7c: e000 b.n 800bd80 + 800b916: bf00 nop + 800b918: e000 b.n 800b91c goto error; - 800bd7e: bf00 nop + 800b91a: bf00 nop /* Check parameters */ assert_param(IS_ETH_SPEED(heth.Init.Speed)); assert_param(IS_ETH_DUPLEX_MODE(heth.Init.DuplexMode)); /* Set MAC Speed and Duplex Mode to PHY */ HAL_ETH_WritePHYRegister(&heth, PHY_BCR, ((uint16_t)(heth.Init.DuplexMode >> 3) | - 800bd80: 4b10 ldr r3, [pc, #64] ; (800bdc4 ) - 800bd82: 68db ldr r3, [r3, #12] - 800bd84: 08db lsrs r3, r3, #3 - 800bd86: b29a uxth r2, r3 + 800b91c: 4b10 ldr r3, [pc, #64] ; (800b960 ) + 800b91e: 68db ldr r3, [r3, #12] + 800b920: 08db lsrs r3, r3, #3 + 800b922: b29a uxth r2, r3 (uint16_t)(heth.Init.Speed >> 1))); - 800bd88: 4b0e ldr r3, [pc, #56] ; (800bdc4 ) - 800bd8a: 689b ldr r3, [r3, #8] - 800bd8c: 085b lsrs r3, r3, #1 - 800bd8e: b29b uxth r3, r3 + 800b924: 4b0e ldr r3, [pc, #56] ; (800b960 ) + 800b926: 689b ldr r3, [r3, #8] + 800b928: 085b lsrs r3, r3, #1 + 800b92a: b29b uxth r3, r3 HAL_ETH_WritePHYRegister(&heth, PHY_BCR, ((uint16_t)(heth.Init.DuplexMode >> 3) | - 800bd90: 4313 orrs r3, r2 - 800bd92: b29b uxth r3, r3 - 800bd94: 461a mov r2, r3 - 800bd96: 2100 movs r1, #0 - 800bd98: 480a ldr r0, [pc, #40] ; (800bdc4 ) - 800bd9a: f7fa fffa bl 8006d92 + 800b92c: 4313 orrs r3, r2 + 800b92e: b29b uxth r3, r3 + 800b930: 461a mov r2, r3 + 800b932: 2100 movs r1, #0 + 800b934: 480a ldr r0, [pc, #40] ; (800b960 ) + 800b936: f7fa ffe0 bl 80068fa } /* ETHERNET MAC Re-Configuration */ HAL_ETH_ConfigMAC(&heth, (ETH_MACInitTypeDef *) NULL); - 800bd9e: 2100 movs r1, #0 - 800bda0: 4808 ldr r0, [pc, #32] ; (800bdc4 ) - 800bda2: f7fb f8bb bl 8006f1c + 800b93a: 2100 movs r1, #0 + 800b93c: 4808 ldr r0, [pc, #32] ; (800b960 ) + 800b93e: f7fb f8a1 bl 8006a84 /* Restart MAC interface */ HAL_ETH_Start(&heth); - 800bda6: 4807 ldr r0, [pc, #28] ; (800bdc4 ) - 800bda8: f7fb f859 bl 8006e5e - 800bdac: e002 b.n 800bdb4 + 800b942: 4807 ldr r0, [pc, #28] ; (800b960 ) + 800b944: f7fb f83f bl 80069c6 + 800b948: e002 b.n 800b950 } else { /* Stop MAC interface */ HAL_ETH_Stop(&heth); - 800bdae: 4805 ldr r0, [pc, #20] ; (800bdc4 ) - 800bdb0: f7fb f884 bl 8006ebc + 800b94a: 4805 ldr r0, [pc, #20] ; (800b960 ) + 800b94c: f7fb f86a bl 8006a24 } ethernetif_notify_conn_changed(netif); - 800bdb4: 6878 ldr r0, [r7, #4] - 800bdb6: f000 f807 bl 800bdc8 + 800b950: 6878 ldr r0, [r7, #4] + 800b952: f000 f807 bl 800b964 } - 800bdba: bf00 nop - 800bdbc: 3710 adds r7, #16 - 800bdbe: 46bd mov sp, r7 - 800bdc0: bd80 pop {r7, pc} - 800bdc2: bf00 nop - 800bdc4: 2000a674 .word 0x2000a674 + 800b956: bf00 nop + 800b958: 3710 adds r7, #16 + 800b95a: 46bd mov sp, r7 + 800b95c: bd80 pop {r7, pc} + 800b95e: bf00 nop + 800b960: 2000a670 .word 0x2000a670 -0800bdc8 : +0800b964 : * @brief This function notify user about link status changement. * @param netif: the network interface * @retval None */ __weak void ethernetif_notify_conn_changed(struct netif *netif) { - 800bdc8: b480 push {r7} - 800bdca: b083 sub sp, #12 - 800bdcc: af00 add r7, sp, #0 - 800bdce: 6078 str r0, [r7, #4] + 800b964: b480 push {r7} + 800b966: b083 sub sp, #12 + 800b968: af00 add r7, sp, #0 + 800b96a: 6078 str r0, [r7, #4] /* NOTE : This is function could be implemented in user file when the callback is needed, */ } - 800bdd0: bf00 nop - 800bdd2: 370c adds r7, #12 - 800bdd4: 46bd mov sp, r7 - 800bdd6: f85d 7b04 ldr.w r7, [sp], #4 - 800bdda: 4770 bx lr + 800b96c: bf00 nop + 800b96e: 370c adds r7, #12 + 800b970: 46bd mov sp, r7 + 800b972: f85d 7b04 ldr.w r7, [sp], #4 + 800b976: 4770 bx lr -0800bddc : +0800b978 : extern void xPortSysTickHandler(void); /* Convert from CMSIS type osPriority to FreeRTOS priority number */ static unsigned portBASE_TYPE makeFreeRtosPriority (osPriority priority) { - 800bddc: b480 push {r7} - 800bdde: b085 sub sp, #20 - 800bde0: af00 add r7, sp, #0 - 800bde2: 4603 mov r3, r0 - 800bde4: 80fb strh r3, [r7, #6] + 800b978: b480 push {r7} + 800b97a: b085 sub sp, #20 + 800b97c: af00 add r7, sp, #0 + 800b97e: 4603 mov r3, r0 + 800b980: 80fb strh r3, [r7, #6] unsigned portBASE_TYPE fpriority = tskIDLE_PRIORITY; - 800bde6: 2300 movs r3, #0 - 800bde8: 60fb str r3, [r7, #12] + 800b982: 2300 movs r3, #0 + 800b984: 60fb str r3, [r7, #12] if (priority != osPriorityError) { - 800bdea: f9b7 3006 ldrsh.w r3, [r7, #6] - 800bdee: 2b84 cmp r3, #132 ; 0x84 - 800bdf0: d005 beq.n 800bdfe + 800b986: f9b7 3006 ldrsh.w r3, [r7, #6] + 800b98a: 2b84 cmp r3, #132 ; 0x84 + 800b98c: d005 beq.n 800b99a fpriority += (priority - osPriorityIdle); - 800bdf2: f9b7 2006 ldrsh.w r2, [r7, #6] - 800bdf6: 68fb ldr r3, [r7, #12] - 800bdf8: 4413 add r3, r2 - 800bdfa: 3303 adds r3, #3 - 800bdfc: 60fb str r3, [r7, #12] + 800b98e: f9b7 2006 ldrsh.w r2, [r7, #6] + 800b992: 68fb ldr r3, [r7, #12] + 800b994: 4413 add r3, r2 + 800b996: 3303 adds r3, #3 + 800b998: 60fb str r3, [r7, #12] } return fpriority; - 800bdfe: 68fb ldr r3, [r7, #12] + 800b99a: 68fb ldr r3, [r7, #12] } - 800be00: 4618 mov r0, r3 - 800be02: 3714 adds r7, #20 - 800be04: 46bd mov sp, r7 - 800be06: f85d 7b04 ldr.w r7, [sp], #4 - 800be0a: 4770 bx lr + 800b99c: 4618 mov r0, r3 + 800b99e: 3714 adds r7, #20 + 800b9a0: 46bd mov sp, r7 + 800b9a2: f85d 7b04 ldr.w r7, [sp], #4 + 800b9a6: 4770 bx lr -0800be0c : +0800b9a8 : #endif /* Determine whether we are in thread mode or handler mode. */ static int inHandlerMode (void) { - 800be0c: b480 push {r7} - 800be0e: b083 sub sp, #12 - 800be10: af00 add r7, sp, #0 + 800b9a8: b480 push {r7} + 800b9aa: b083 sub sp, #12 + 800b9ac: af00 add r7, sp, #0 */ __STATIC_FORCEINLINE uint32_t __get_IPSR(void) { uint32_t result; __ASM volatile ("MRS %0, ipsr" : "=r" (result) ); - 800be12: f3ef 8305 mrs r3, IPSR - 800be16: 607b str r3, [r7, #4] + 800b9ae: f3ef 8305 mrs r3, IPSR + 800b9b2: 607b str r3, [r7, #4] return(result); - 800be18: 687b ldr r3, [r7, #4] + 800b9b4: 687b ldr r3, [r7, #4] return __get_IPSR() != 0; - 800be1a: 2b00 cmp r3, #0 - 800be1c: bf14 ite ne - 800be1e: 2301 movne r3, #1 - 800be20: 2300 moveq r3, #0 - 800be22: b2db uxtb r3, r3 + 800b9b6: 2b00 cmp r3, #0 + 800b9b8: bf14 ite ne + 800b9ba: 2301 movne r3, #1 + 800b9bc: 2300 moveq r3, #0 + 800b9be: b2db uxtb r3, r3 } - 800be24: 4618 mov r0, r3 - 800be26: 370c adds r7, #12 - 800be28: 46bd mov sp, r7 - 800be2a: f85d 7b04 ldr.w r7, [sp], #4 - 800be2e: 4770 bx lr + 800b9c0: 4618 mov r0, r3 + 800b9c2: 370c adds r7, #12 + 800b9c4: 46bd mov sp, r7 + 800b9c6: f85d 7b04 ldr.w r7, [sp], #4 + 800b9ca: 4770 bx lr -0800be30 : +0800b9cc : * @param argument pointer that is passed to the thread function as start argument. * @retval status code that indicates the execution status of the function * @note MUST REMAIN UNCHANGED: \b osKernelStart shall be consistent in every CMSIS-RTOS. */ osStatus osKernelStart (void) { - 800be30: b580 push {r7, lr} - 800be32: af00 add r7, sp, #0 + 800b9cc: b580 push {r7, lr} + 800b9ce: af00 add r7, sp, #0 vTaskStartScheduler(); - 800be34: f001 fe1e bl 800da74 + 800b9d0: f001 fe1e bl 800d610 return osOK; - 800be38: 2300 movs r3, #0 + 800b9d4: 2300 movs r3, #0 } - 800be3a: 4618 mov r0, r3 - 800be3c: bd80 pop {r7, pc} + 800b9d6: 4618 mov r0, r3 + 800b9d8: bd80 pop {r7, pc} -0800be3e : +0800b9da : * @param None * @retval None * @note MUST REMAIN UNCHANGED: \b osKernelSysTick shall be consistent in every CMSIS-RTOS. */ uint32_t osKernelSysTick(void) { - 800be3e: b580 push {r7, lr} - 800be40: af00 add r7, sp, #0 + 800b9da: b580 push {r7, lr} + 800b9dc: af00 add r7, sp, #0 if (inHandlerMode()) { - 800be42: f7ff ffe3 bl 800be0c - 800be46: 4603 mov r3, r0 - 800be48: 2b00 cmp r3, #0 - 800be4a: d003 beq.n 800be54 + 800b9de: f7ff ffe3 bl 800b9a8 + 800b9e2: 4603 mov r3, r0 + 800b9e4: 2b00 cmp r3, #0 + 800b9e6: d003 beq.n 800b9f0 return xTaskGetTickCountFromISR(); - 800be4c: f001 ff30 bl 800dcb0 - 800be50: 4603 mov r3, r0 - 800be52: e002 b.n 800be5a + 800b9e8: f001 ff30 bl 800d84c + 800b9ec: 4603 mov r3, r0 + 800b9ee: e002 b.n 800b9f6 } else { return xTaskGetTickCount(); - 800be54: f001 ff1c bl 800dc90 - 800be58: 4603 mov r3, r0 + 800b9f0: f001 ff1c bl 800d82c + 800b9f4: 4603 mov r3, r0 } } - 800be5a: 4618 mov r0, r3 - 800be5c: bd80 pop {r7, pc} + 800b9f6: 4618 mov r0, r3 + 800b9f8: bd80 pop {r7, pc} -0800be5e : +0800b9fa : * @param argument pointer that is passed to the thread function as start argument. * @retval thread ID for reference by other functions or NULL in case of error. * @note MUST REMAIN UNCHANGED: \b osThreadCreate shall be consistent in every CMSIS-RTOS. */ osThreadId osThreadCreate (const osThreadDef_t *thread_def, void *argument) { - 800be5e: b5f0 push {r4, r5, r6, r7, lr} - 800be60: b089 sub sp, #36 ; 0x24 - 800be62: af04 add r7, sp, #16 - 800be64: 6078 str r0, [r7, #4] - 800be66: 6039 str r1, [r7, #0] + 800b9fa: b5f0 push {r4, r5, r6, r7, lr} + 800b9fc: b089 sub sp, #36 ; 0x24 + 800b9fe: af04 add r7, sp, #16 + 800ba00: 6078 str r0, [r7, #4] + 800ba02: 6039 str r1, [r7, #0] TaskHandle_t handle; #if( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) if((thread_def->buffer != NULL) && (thread_def->controlblock != NULL)) { - 800be68: 687b ldr r3, [r7, #4] - 800be6a: 695b ldr r3, [r3, #20] - 800be6c: 2b00 cmp r3, #0 - 800be6e: d020 beq.n 800beb2 - 800be70: 687b ldr r3, [r7, #4] - 800be72: 699b ldr r3, [r3, #24] - 800be74: 2b00 cmp r3, #0 - 800be76: d01c beq.n 800beb2 + 800ba04: 687b ldr r3, [r7, #4] + 800ba06: 695b ldr r3, [r3, #20] + 800ba08: 2b00 cmp r3, #0 + 800ba0a: d020 beq.n 800ba4e + 800ba0c: 687b ldr r3, [r7, #4] + 800ba0e: 699b ldr r3, [r3, #24] + 800ba10: 2b00 cmp r3, #0 + 800ba12: d01c beq.n 800ba4e handle = xTaskCreateStatic((TaskFunction_t)thread_def->pthread,(const portCHAR *)thread_def->name, - 800be78: 687b ldr r3, [r7, #4] - 800be7a: 685c ldr r4, [r3, #4] - 800be7c: 687b ldr r3, [r7, #4] - 800be7e: 681d ldr r5, [r3, #0] - 800be80: 687b ldr r3, [r7, #4] - 800be82: 691e ldr r6, [r3, #16] - 800be84: 687b ldr r3, [r7, #4] - 800be86: f9b3 3008 ldrsh.w r3, [r3, #8] - 800be8a: 4618 mov r0, r3 - 800be8c: f7ff ffa6 bl 800bddc - 800be90: 4601 mov r1, r0 + 800ba14: 687b ldr r3, [r7, #4] + 800ba16: 685c ldr r4, [r3, #4] + 800ba18: 687b ldr r3, [r7, #4] + 800ba1a: 681d ldr r5, [r3, #0] + 800ba1c: 687b ldr r3, [r7, #4] + 800ba1e: 691e ldr r6, [r3, #16] + 800ba20: 687b ldr r3, [r7, #4] + 800ba22: f9b3 3008 ldrsh.w r3, [r3, #8] + 800ba26: 4618 mov r0, r3 + 800ba28: f7ff ffa6 bl 800b978 + 800ba2c: 4601 mov r1, r0 thread_def->stacksize, argument, makeFreeRtosPriority(thread_def->tpriority), thread_def->buffer, thread_def->controlblock); - 800be92: 687b ldr r3, [r7, #4] - 800be94: 695b ldr r3, [r3, #20] - 800be96: 687a ldr r2, [r7, #4] - 800be98: 6992 ldr r2, [r2, #24] + 800ba2e: 687b ldr r3, [r7, #4] + 800ba30: 695b ldr r3, [r3, #20] + 800ba32: 687a ldr r2, [r7, #4] + 800ba34: 6992 ldr r2, [r2, #24] handle = xTaskCreateStatic((TaskFunction_t)thread_def->pthread,(const portCHAR *)thread_def->name, - 800be9a: 9202 str r2, [sp, #8] - 800be9c: 9301 str r3, [sp, #4] - 800be9e: 9100 str r1, [sp, #0] - 800bea0: 683b ldr r3, [r7, #0] - 800bea2: 4632 mov r2, r6 - 800bea4: 4629 mov r1, r5 - 800bea6: 4620 mov r0, r4 - 800bea8: f001 fafb bl 800d4a2 - 800beac: 4603 mov r3, r0 - 800beae: 60fb str r3, [r7, #12] - 800beb0: e01c b.n 800beec + 800ba36: 9202 str r2, [sp, #8] + 800ba38: 9301 str r3, [sp, #4] + 800ba3a: 9100 str r1, [sp, #0] + 800ba3c: 683b ldr r3, [r7, #0] + 800ba3e: 4632 mov r2, r6 + 800ba40: 4629 mov r1, r5 + 800ba42: 4620 mov r0, r4 + 800ba44: f001 fafb bl 800d03e + 800ba48: 4603 mov r3, r0 + 800ba4a: 60fb str r3, [r7, #12] + 800ba4c: e01c b.n 800ba88 } else { if (xTaskCreate((TaskFunction_t)thread_def->pthread,(const portCHAR *)thread_def->name, - 800beb2: 687b ldr r3, [r7, #4] - 800beb4: 685c ldr r4, [r3, #4] - 800beb6: 687b ldr r3, [r7, #4] - 800beb8: 681d ldr r5, [r3, #0] + 800ba4e: 687b ldr r3, [r7, #4] + 800ba50: 685c ldr r4, [r3, #4] + 800ba52: 687b ldr r3, [r7, #4] + 800ba54: 681d ldr r5, [r3, #0] thread_def->stacksize, argument, makeFreeRtosPriority(thread_def->tpriority), - 800beba: 687b ldr r3, [r7, #4] - 800bebc: 691b ldr r3, [r3, #16] + 800ba56: 687b ldr r3, [r7, #4] + 800ba58: 691b ldr r3, [r3, #16] if (xTaskCreate((TaskFunction_t)thread_def->pthread,(const portCHAR *)thread_def->name, - 800bebe: b29e uxth r6, r3 - 800bec0: 687b ldr r3, [r7, #4] - 800bec2: f9b3 3008 ldrsh.w r3, [r3, #8] - 800bec6: 4618 mov r0, r3 - 800bec8: f7ff ff88 bl 800bddc - 800becc: 4602 mov r2, r0 - 800bece: f107 030c add.w r3, r7, #12 - 800bed2: 9301 str r3, [sp, #4] - 800bed4: 9200 str r2, [sp, #0] - 800bed6: 683b ldr r3, [r7, #0] - 800bed8: 4632 mov r2, r6 - 800beda: 4629 mov r1, r5 - 800bedc: 4620 mov r0, r4 - 800bede: f001 fb40 bl 800d562 - 800bee2: 4603 mov r3, r0 - 800bee4: 2b01 cmp r3, #1 - 800bee6: d001 beq.n 800beec + 800ba5a: b29e uxth r6, r3 + 800ba5c: 687b ldr r3, [r7, #4] + 800ba5e: f9b3 3008 ldrsh.w r3, [r3, #8] + 800ba62: 4618 mov r0, r3 + 800ba64: f7ff ff88 bl 800b978 + 800ba68: 4602 mov r2, r0 + 800ba6a: f107 030c add.w r3, r7, #12 + 800ba6e: 9301 str r3, [sp, #4] + 800ba70: 9200 str r2, [sp, #0] + 800ba72: 683b ldr r3, [r7, #0] + 800ba74: 4632 mov r2, r6 + 800ba76: 4629 mov r1, r5 + 800ba78: 4620 mov r0, r4 + 800ba7a: f001 fb40 bl 800d0fe + 800ba7e: 4603 mov r3, r0 + 800ba80: 2b01 cmp r3, #1 + 800ba82: d001 beq.n 800ba88 &handle) != pdPASS) { return NULL; - 800bee8: 2300 movs r3, #0 - 800beea: e000 b.n 800beee + 800ba84: 2300 movs r3, #0 + 800ba86: e000 b.n 800ba8a &handle) != pdPASS) { return NULL; } #endif return handle; - 800beec: 68fb ldr r3, [r7, #12] + 800ba88: 68fb ldr r3, [r7, #12] } - 800beee: 4618 mov r0, r3 - 800bef0: 3714 adds r7, #20 - 800bef2: 46bd mov sp, r7 - 800bef4: bdf0 pop {r4, r5, r6, r7, pc} + 800ba8a: 4618 mov r0, r3 + 800ba8c: 3714 adds r7, #20 + 800ba8e: 46bd mov sp, r7 + 800ba90: bdf0 pop {r4, r5, r6, r7, pc} -0800bef6 : +0800ba92 : * @brief Wait for Timeout (Time Delay) * @param millisec time delay value * @retval status code that indicates the execution status of the function. */ osStatus osDelay (uint32_t millisec) { - 800bef6: b580 push {r7, lr} - 800bef8: b084 sub sp, #16 - 800befa: af00 add r7, sp, #0 - 800befc: 6078 str r0, [r7, #4] + 800ba92: b580 push {r7, lr} + 800ba94: b084 sub sp, #16 + 800ba96: af00 add r7, sp, #0 + 800ba98: 6078 str r0, [r7, #4] #if INCLUDE_vTaskDelay TickType_t ticks = millisec / portTICK_PERIOD_MS; - 800befe: 687b ldr r3, [r7, #4] - 800bf00: 60fb str r3, [r7, #12] + 800ba9a: 687b ldr r3, [r7, #4] + 800ba9c: 60fb str r3, [r7, #12] vTaskDelay(ticks ? ticks : 1); /* Minimum delay = 1 tick */ - 800bf02: 68fb ldr r3, [r7, #12] - 800bf04: 2b00 cmp r3, #0 - 800bf06: d001 beq.n 800bf0c - 800bf08: 68fb ldr r3, [r7, #12] - 800bf0a: e000 b.n 800bf0e - 800bf0c: 2301 movs r3, #1 - 800bf0e: 4618 mov r0, r3 - 800bf10: f001 fd7a bl 800da08 + 800ba9e: 68fb ldr r3, [r7, #12] + 800baa0: 2b00 cmp r3, #0 + 800baa2: d001 beq.n 800baa8 + 800baa4: 68fb ldr r3, [r7, #12] + 800baa6: e000 b.n 800baaa + 800baa8: 2301 movs r3, #1 + 800baaa: 4618 mov r0, r3 + 800baac: f001 fd7a bl 800d5a4 return osOK; - 800bf14: 2300 movs r3, #0 + 800bab0: 2300 movs r3, #0 #else (void) millisec; return osErrorResource; #endif } - 800bf16: 4618 mov r0, r3 - 800bf18: 3710 adds r7, #16 - 800bf1a: 46bd mov sp, r7 - 800bf1c: bd80 pop {r7, pc} + 800bab2: 4618 mov r0, r3 + 800bab4: 3710 adds r7, #16 + 800bab6: 46bd mov sp, r7 + 800bab8: bd80 pop {r7, pc} -0800bf1e : +0800baba : * @param mutex_def mutex definition referenced with \ref osMutex. * @retval mutex ID for reference by other functions or NULL in case of error. * @note MUST REMAIN UNCHANGED: \b osMutexCreate shall be consistent in every CMSIS-RTOS. */ osMutexId osMutexCreate (const osMutexDef_t *mutex_def) { - 800bf1e: b580 push {r7, lr} - 800bf20: b082 sub sp, #8 - 800bf22: af00 add r7, sp, #0 - 800bf24: 6078 str r0, [r7, #4] + 800baba: b580 push {r7, lr} + 800babc: b082 sub sp, #8 + 800babe: af00 add r7, sp, #0 + 800bac0: 6078 str r0, [r7, #4] #if ( configUSE_MUTEXES == 1) #if( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) if (mutex_def->controlblock != NULL) { - 800bf26: 687b ldr r3, [r7, #4] - 800bf28: 685b ldr r3, [r3, #4] - 800bf2a: 2b00 cmp r3, #0 - 800bf2c: d007 beq.n 800bf3e + 800bac2: 687b ldr r3, [r7, #4] + 800bac4: 685b ldr r3, [r3, #4] + 800bac6: 2b00 cmp r3, #0 + 800bac8: d007 beq.n 800bada return xSemaphoreCreateMutexStatic( mutex_def->controlblock ); - 800bf2e: 687b ldr r3, [r7, #4] - 800bf30: 685b ldr r3, [r3, #4] - 800bf32: 4619 mov r1, r3 - 800bf34: 2001 movs r0, #1 - 800bf36: f000 fc5e bl 800c7f6 - 800bf3a: 4603 mov r3, r0 - 800bf3c: e003 b.n 800bf46 + 800baca: 687b ldr r3, [r7, #4] + 800bacc: 685b ldr r3, [r3, #4] + 800bace: 4619 mov r1, r3 + 800bad0: 2001 movs r0, #1 + 800bad2: f000 fc5e bl 800c392 + 800bad6: 4603 mov r3, r0 + 800bad8: e003 b.n 800bae2 } else { return xSemaphoreCreateMutex(); - 800bf3e: 2001 movs r0, #1 - 800bf40: f000 fc41 bl 800c7c6 - 800bf44: 4603 mov r3, r0 + 800bada: 2001 movs r0, #1 + 800badc: f000 fc41 bl 800c362 + 800bae0: 4603 mov r3, r0 return xSemaphoreCreateMutex(); #endif #else return NULL; #endif } - 800bf46: 4618 mov r0, r3 - 800bf48: 3708 adds r7, #8 - 800bf4a: 46bd mov sp, r7 - 800bf4c: bd80 pop {r7, pc} + 800bae2: 4618 mov r0, r3 + 800bae4: 3708 adds r7, #8 + 800bae6: 46bd mov sp, r7 + 800bae8: bd80 pop {r7, pc} ... -0800bf50 : +0800baec : * @param millisec timeout value or 0 in case of no time-out. * @retval status code that indicates the execution status of the function. * @note MUST REMAIN UNCHANGED: \b osMutexWait shall be consistent in every CMSIS-RTOS. */ osStatus osMutexWait (osMutexId mutex_id, uint32_t millisec) { - 800bf50: b580 push {r7, lr} - 800bf52: b084 sub sp, #16 - 800bf54: af00 add r7, sp, #0 - 800bf56: 6078 str r0, [r7, #4] - 800bf58: 6039 str r1, [r7, #0] + 800baec: b580 push {r7, lr} + 800baee: b084 sub sp, #16 + 800baf0: af00 add r7, sp, #0 + 800baf2: 6078 str r0, [r7, #4] + 800baf4: 6039 str r1, [r7, #0] TickType_t ticks; portBASE_TYPE taskWoken = pdFALSE; - 800bf5a: 2300 movs r3, #0 - 800bf5c: 60bb str r3, [r7, #8] + 800baf6: 2300 movs r3, #0 + 800baf8: 60bb str r3, [r7, #8] if (mutex_id == NULL) { - 800bf5e: 687b ldr r3, [r7, #4] - 800bf60: 2b00 cmp r3, #0 - 800bf62: d101 bne.n 800bf68 + 800bafa: 687b ldr r3, [r7, #4] + 800bafc: 2b00 cmp r3, #0 + 800bafe: d101 bne.n 800bb04 return osErrorParameter; - 800bf64: 2380 movs r3, #128 ; 0x80 - 800bf66: e03a b.n 800bfde + 800bb00: 2380 movs r3, #128 ; 0x80 + 800bb02: e03a b.n 800bb7a } ticks = 0; - 800bf68: 2300 movs r3, #0 - 800bf6a: 60fb str r3, [r7, #12] + 800bb04: 2300 movs r3, #0 + 800bb06: 60fb str r3, [r7, #12] if (millisec == osWaitForever) { - 800bf6c: 683b ldr r3, [r7, #0] - 800bf6e: f1b3 3fff cmp.w r3, #4294967295 - 800bf72: d103 bne.n 800bf7c + 800bb08: 683b ldr r3, [r7, #0] + 800bb0a: f1b3 3fff cmp.w r3, #4294967295 + 800bb0e: d103 bne.n 800bb18 ticks = portMAX_DELAY; - 800bf74: f04f 33ff mov.w r3, #4294967295 - 800bf78: 60fb str r3, [r7, #12] - 800bf7a: e009 b.n 800bf90 + 800bb10: f04f 33ff mov.w r3, #4294967295 + 800bb14: 60fb str r3, [r7, #12] + 800bb16: e009 b.n 800bb2c } else if (millisec != 0) { - 800bf7c: 683b ldr r3, [r7, #0] - 800bf7e: 2b00 cmp r3, #0 - 800bf80: d006 beq.n 800bf90 + 800bb18: 683b ldr r3, [r7, #0] + 800bb1a: 2b00 cmp r3, #0 + 800bb1c: d006 beq.n 800bb2c ticks = millisec / portTICK_PERIOD_MS; - 800bf82: 683b ldr r3, [r7, #0] - 800bf84: 60fb str r3, [r7, #12] + 800bb1e: 683b ldr r3, [r7, #0] + 800bb20: 60fb str r3, [r7, #12] if (ticks == 0) { - 800bf86: 68fb ldr r3, [r7, #12] - 800bf88: 2b00 cmp r3, #0 - 800bf8a: d101 bne.n 800bf90 + 800bb22: 68fb ldr r3, [r7, #12] + 800bb24: 2b00 cmp r3, #0 + 800bb26: d101 bne.n 800bb2c ticks = 1; - 800bf8c: 2301 movs r3, #1 - 800bf8e: 60fb str r3, [r7, #12] + 800bb28: 2301 movs r3, #1 + 800bb2a: 60fb str r3, [r7, #12] } } if (inHandlerMode()) { - 800bf90: f7ff ff3c bl 800be0c - 800bf94: 4603 mov r3, r0 - 800bf96: 2b00 cmp r3, #0 - 800bf98: d017 beq.n 800bfca + 800bb2c: f7ff ff3c bl 800b9a8 + 800bb30: 4603 mov r3, r0 + 800bb32: 2b00 cmp r3, #0 + 800bb34: d017 beq.n 800bb66 if (xSemaphoreTakeFromISR(mutex_id, &taskWoken) != pdTRUE) { - 800bf9a: f107 0308 add.w r3, r7, #8 - 800bf9e: 461a mov r2, r3 - 800bfa0: 2100 movs r1, #0 - 800bfa2: 6878 ldr r0, [r7, #4] - 800bfa4: f001 f8d2 bl 800d14c - 800bfa8: 4603 mov r3, r0 - 800bfaa: 2b01 cmp r3, #1 - 800bfac: d001 beq.n 800bfb2 + 800bb36: f107 0308 add.w r3, r7, #8 + 800bb3a: 461a mov r2, r3 + 800bb3c: 2100 movs r1, #0 + 800bb3e: 6878 ldr r0, [r7, #4] + 800bb40: f001 f8d2 bl 800cce8 + 800bb44: 4603 mov r3, r0 + 800bb46: 2b01 cmp r3, #1 + 800bb48: d001 beq.n 800bb4e return osErrorOS; - 800bfae: 23ff movs r3, #255 ; 0xff - 800bfb0: e015 b.n 800bfde + 800bb4a: 23ff movs r3, #255 ; 0xff + 800bb4c: e015 b.n 800bb7a } portEND_SWITCHING_ISR(taskWoken); - 800bfb2: 68bb ldr r3, [r7, #8] - 800bfb4: 2b00 cmp r3, #0 - 800bfb6: d011 beq.n 800bfdc - 800bfb8: 4b0b ldr r3, [pc, #44] ; (800bfe8 ) - 800bfba: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800bfbe: 601a str r2, [r3, #0] - 800bfc0: f3bf 8f4f dsb sy - 800bfc4: f3bf 8f6f isb sy - 800bfc8: e008 b.n 800bfdc + 800bb4e: 68bb ldr r3, [r7, #8] + 800bb50: 2b00 cmp r3, #0 + 800bb52: d011 beq.n 800bb78 + 800bb54: 4b0b ldr r3, [pc, #44] ; (800bb84 ) + 800bb56: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800bb5a: 601a str r2, [r3, #0] + 800bb5c: f3bf 8f4f dsb sy + 800bb60: f3bf 8f6f isb sy + 800bb64: e008 b.n 800bb78 } else if (xSemaphoreTake(mutex_id, ticks) != pdTRUE) { - 800bfca: 68f9 ldr r1, [r7, #12] - 800bfcc: 6878 ldr r0, [r7, #4] - 800bfce: f000 ffad bl 800cf2c - 800bfd2: 4603 mov r3, r0 - 800bfd4: 2b01 cmp r3, #1 - 800bfd6: d001 beq.n 800bfdc + 800bb66: 68f9 ldr r1, [r7, #12] + 800bb68: 6878 ldr r0, [r7, #4] + 800bb6a: f000 ffad bl 800cac8 + 800bb6e: 4603 mov r3, r0 + 800bb70: 2b01 cmp r3, #1 + 800bb72: d001 beq.n 800bb78 return osErrorOS; - 800bfd8: 23ff movs r3, #255 ; 0xff - 800bfda: e000 b.n 800bfde + 800bb74: 23ff movs r3, #255 ; 0xff + 800bb76: e000 b.n 800bb7a } return osOK; - 800bfdc: 2300 movs r3, #0 + 800bb78: 2300 movs r3, #0 } - 800bfde: 4618 mov r0, r3 - 800bfe0: 3710 adds r7, #16 - 800bfe2: 46bd mov sp, r7 - 800bfe4: bd80 pop {r7, pc} - 800bfe6: bf00 nop - 800bfe8: e000ed04 .word 0xe000ed04 + 800bb7a: 4618 mov r0, r3 + 800bb7c: 3710 adds r7, #16 + 800bb7e: 46bd mov sp, r7 + 800bb80: bd80 pop {r7, pc} + 800bb82: bf00 nop + 800bb84: e000ed04 .word 0xe000ed04 -0800bfec : +0800bb88 : * @param mutex_id mutex ID obtained by \ref osMutexCreate. * @retval status code that indicates the execution status of the function. * @note MUST REMAIN UNCHANGED: \b osMutexRelease shall be consistent in every CMSIS-RTOS. */ osStatus osMutexRelease (osMutexId mutex_id) { - 800bfec: b580 push {r7, lr} - 800bfee: b084 sub sp, #16 - 800bff0: af00 add r7, sp, #0 - 800bff2: 6078 str r0, [r7, #4] + 800bb88: b580 push {r7, lr} + 800bb8a: b084 sub sp, #16 + 800bb8c: af00 add r7, sp, #0 + 800bb8e: 6078 str r0, [r7, #4] osStatus result = osOK; - 800bff4: 2300 movs r3, #0 - 800bff6: 60fb str r3, [r7, #12] + 800bb90: 2300 movs r3, #0 + 800bb92: 60fb str r3, [r7, #12] portBASE_TYPE taskWoken = pdFALSE; - 800bff8: 2300 movs r3, #0 - 800bffa: 60bb str r3, [r7, #8] + 800bb94: 2300 movs r3, #0 + 800bb96: 60bb str r3, [r7, #8] if (inHandlerMode()) { - 800bffc: f7ff ff06 bl 800be0c - 800c000: 4603 mov r3, r0 - 800c002: 2b00 cmp r3, #0 - 800c004: d016 beq.n 800c034 + 800bb98: f7ff ff06 bl 800b9a8 + 800bb9c: 4603 mov r3, r0 + 800bb9e: 2b00 cmp r3, #0 + 800bba0: d016 beq.n 800bbd0 if (xSemaphoreGiveFromISR(mutex_id, &taskWoken) != pdTRUE) { - 800c006: f107 0308 add.w r3, r7, #8 - 800c00a: 4619 mov r1, r3 - 800c00c: 6878 ldr r0, [r7, #4] - 800c00e: f000 fe19 bl 800cc44 - 800c012: 4603 mov r3, r0 - 800c014: 2b01 cmp r3, #1 - 800c016: d001 beq.n 800c01c + 800bba2: f107 0308 add.w r3, r7, #8 + 800bba6: 4619 mov r1, r3 + 800bba8: 6878 ldr r0, [r7, #4] + 800bbaa: f000 fe19 bl 800c7e0 + 800bbae: 4603 mov r3, r0 + 800bbb0: 2b01 cmp r3, #1 + 800bbb2: d001 beq.n 800bbb8 return osErrorOS; - 800c018: 23ff movs r3, #255 ; 0xff - 800c01a: e017 b.n 800c04c + 800bbb4: 23ff movs r3, #255 ; 0xff + 800bbb6: e017 b.n 800bbe8 } portEND_SWITCHING_ISR(taskWoken); - 800c01c: 68bb ldr r3, [r7, #8] - 800c01e: 2b00 cmp r3, #0 - 800c020: d013 beq.n 800c04a - 800c022: 4b0c ldr r3, [pc, #48] ; (800c054 ) - 800c024: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800c028: 601a str r2, [r3, #0] - 800c02a: f3bf 8f4f dsb sy - 800c02e: f3bf 8f6f isb sy - 800c032: e00a b.n 800c04a + 800bbb8: 68bb ldr r3, [r7, #8] + 800bbba: 2b00 cmp r3, #0 + 800bbbc: d013 beq.n 800bbe6 + 800bbbe: 4b0c ldr r3, [pc, #48] ; (800bbf0 ) + 800bbc0: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800bbc4: 601a str r2, [r3, #0] + 800bbc6: f3bf 8f4f dsb sy + 800bbca: f3bf 8f6f isb sy + 800bbce: e00a b.n 800bbe6 } else if (xSemaphoreGive(mutex_id) != pdTRUE) - 800c034: 2300 movs r3, #0 - 800c036: 2200 movs r2, #0 - 800c038: 2100 movs r1, #0 - 800c03a: 6878 ldr r0, [r7, #4] - 800c03c: f000 fc64 bl 800c908 - 800c040: 4603 mov r3, r0 - 800c042: 2b01 cmp r3, #1 - 800c044: d001 beq.n 800c04a + 800bbd0: 2300 movs r3, #0 + 800bbd2: 2200 movs r2, #0 + 800bbd4: 2100 movs r1, #0 + 800bbd6: 6878 ldr r0, [r7, #4] + 800bbd8: f000 fc64 bl 800c4a4 + 800bbdc: 4603 mov r3, r0 + 800bbde: 2b01 cmp r3, #1 + 800bbe0: d001 beq.n 800bbe6 { result = osErrorOS; - 800c046: 23ff movs r3, #255 ; 0xff - 800c048: 60fb str r3, [r7, #12] + 800bbe2: 23ff movs r3, #255 ; 0xff + 800bbe4: 60fb str r3, [r7, #12] } return result; - 800c04a: 68fb ldr r3, [r7, #12] + 800bbe6: 68fb ldr r3, [r7, #12] } - 800c04c: 4618 mov r0, r3 - 800c04e: 3710 adds r7, #16 - 800c050: 46bd mov sp, r7 - 800c052: bd80 pop {r7, pc} - 800c054: e000ed04 .word 0xe000ed04 + 800bbe8: 4618 mov r0, r3 + 800bbea: 3710 adds r7, #16 + 800bbec: 46bd mov sp, r7 + 800bbee: bd80 pop {r7, pc} + 800bbf0: e000ed04 .word 0xe000ed04 -0800c058 : +0800bbf4 : * @param count number of available resources. * @retval semaphore ID for reference by other functions or NULL in case of error. * @note MUST REMAIN UNCHANGED: \b osSemaphoreCreate shall be consistent in every CMSIS-RTOS. */ osSemaphoreId osSemaphoreCreate (const osSemaphoreDef_t *semaphore_def, int32_t count) { - 800c058: b580 push {r7, lr} - 800c05a: b086 sub sp, #24 - 800c05c: af02 add r7, sp, #8 - 800c05e: 6078 str r0, [r7, #4] - 800c060: 6039 str r1, [r7, #0] + 800bbf4: b580 push {r7, lr} + 800bbf6: b086 sub sp, #24 + 800bbf8: af02 add r7, sp, #8 + 800bbfa: 6078 str r0, [r7, #4] + 800bbfc: 6039 str r1, [r7, #0] #if( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) osSemaphoreId sema; if (semaphore_def->controlblock != NULL){ - 800c062: 687b ldr r3, [r7, #4] - 800c064: 685b ldr r3, [r3, #4] - 800c066: 2b00 cmp r3, #0 - 800c068: d017 beq.n 800c09a + 800bbfe: 687b ldr r3, [r7, #4] + 800bc00: 685b ldr r3, [r3, #4] + 800bc02: 2b00 cmp r3, #0 + 800bc04: d017 beq.n 800bc36 if (count == 1) { - 800c06a: 683b ldr r3, [r7, #0] - 800c06c: 2b01 cmp r3, #1 - 800c06e: d10b bne.n 800c088 + 800bc06: 683b ldr r3, [r7, #0] + 800bc08: 2b01 cmp r3, #1 + 800bc0a: d10b bne.n 800bc24 return xSemaphoreCreateBinaryStatic( semaphore_def->controlblock ); - 800c070: 687b ldr r3, [r7, #4] - 800c072: 685a ldr r2, [r3, #4] - 800c074: 2303 movs r3, #3 - 800c076: 9300 str r3, [sp, #0] - 800c078: 4613 mov r3, r2 - 800c07a: 2200 movs r2, #0 - 800c07c: 2100 movs r1, #0 - 800c07e: 2001 movs r0, #1 - 800c080: f000 faaa bl 800c5d8 - 800c084: 4603 mov r3, r0 - 800c086: e023 b.n 800c0d0 + 800bc0c: 687b ldr r3, [r7, #4] + 800bc0e: 685a ldr r2, [r3, #4] + 800bc10: 2303 movs r3, #3 + 800bc12: 9300 str r3, [sp, #0] + 800bc14: 4613 mov r3, r2 + 800bc16: 2200 movs r2, #0 + 800bc18: 2100 movs r1, #0 + 800bc1a: 2001 movs r0, #1 + 800bc1c: f000 faaa bl 800c174 + 800bc20: 4603 mov r3, r0 + 800bc22: e023 b.n 800bc6c } else { #if (configUSE_COUNTING_SEMAPHORES == 1 ) return xSemaphoreCreateCountingStatic( count, count, semaphore_def->controlblock ); - 800c088: 6838 ldr r0, [r7, #0] - 800c08a: 6839 ldr r1, [r7, #0] - 800c08c: 687b ldr r3, [r7, #4] - 800c08e: 685b ldr r3, [r3, #4] - 800c090: 461a mov r2, r3 - 800c092: f000 fbcb bl 800c82c - 800c096: 4603 mov r3, r0 - 800c098: e01a b.n 800c0d0 + 800bc24: 6838 ldr r0, [r7, #0] + 800bc26: 6839 ldr r1, [r7, #0] + 800bc28: 687b ldr r3, [r7, #4] + 800bc2a: 685b ldr r3, [r3, #4] + 800bc2c: 461a mov r2, r3 + 800bc2e: f000 fbcb bl 800c3c8 + 800bc32: 4603 mov r3, r0 + 800bc34: e01a b.n 800bc6c return NULL; #endif } } else { if (count == 1) { - 800c09a: 683b ldr r3, [r7, #0] - 800c09c: 2b01 cmp r3, #1 - 800c09e: d110 bne.n 800c0c2 + 800bc36: 683b ldr r3, [r7, #0] + 800bc38: 2b01 cmp r3, #1 + 800bc3a: d110 bne.n 800bc5e vSemaphoreCreateBinary(sema); - 800c0a0: 2203 movs r2, #3 - 800c0a2: 2100 movs r1, #0 - 800c0a4: 2001 movs r0, #1 - 800c0a6: f000 fb14 bl 800c6d2 - 800c0aa: 60f8 str r0, [r7, #12] - 800c0ac: 68fb ldr r3, [r7, #12] - 800c0ae: 2b00 cmp r3, #0 - 800c0b0: d005 beq.n 800c0be - 800c0b2: 2300 movs r3, #0 - 800c0b4: 2200 movs r2, #0 - 800c0b6: 2100 movs r1, #0 - 800c0b8: 68f8 ldr r0, [r7, #12] - 800c0ba: f000 fc25 bl 800c908 + 800bc3c: 2203 movs r2, #3 + 800bc3e: 2100 movs r1, #0 + 800bc40: 2001 movs r0, #1 + 800bc42: f000 fb14 bl 800c26e + 800bc46: 60f8 str r0, [r7, #12] + 800bc48: 68fb ldr r3, [r7, #12] + 800bc4a: 2b00 cmp r3, #0 + 800bc4c: d005 beq.n 800bc5a + 800bc4e: 2300 movs r3, #0 + 800bc50: 2200 movs r2, #0 + 800bc52: 2100 movs r1, #0 + 800bc54: 68f8 ldr r0, [r7, #12] + 800bc56: f000 fc25 bl 800c4a4 return sema; - 800c0be: 68fb ldr r3, [r7, #12] - 800c0c0: e006 b.n 800c0d0 + 800bc5a: 68fb ldr r3, [r7, #12] + 800bc5c: e006 b.n 800bc6c } else { #if (configUSE_COUNTING_SEMAPHORES == 1 ) return xSemaphoreCreateCounting(count, count); - 800c0c2: 683b ldr r3, [r7, #0] - 800c0c4: 683a ldr r2, [r7, #0] - 800c0c6: 4611 mov r1, r2 - 800c0c8: 4618 mov r0, r3 - 800c0ca: f000 fbe8 bl 800c89e - 800c0ce: 4603 mov r3, r0 + 800bc5e: 683b ldr r3, [r7, #0] + 800bc60: 683a ldr r2, [r7, #0] + 800bc62: 4611 mov r1, r2 + 800bc64: 4618 mov r0, r3 + 800bc66: f000 fbe8 bl 800c43a + 800bc6a: 4603 mov r3, r0 #else return NULL; #endif } #endif } - 800c0d0: 4618 mov r0, r3 - 800c0d2: 3710 adds r7, #16 - 800c0d4: 46bd mov sp, r7 - 800c0d6: bd80 pop {r7, pc} + 800bc6c: 4618 mov r0, r3 + 800bc6e: 3710 adds r7, #16 + 800bc70: 46bd mov sp, r7 + 800bc72: bd80 pop {r7, pc} -0800c0d8 : +0800bc74 : * @param millisec timeout value or 0 in case of no time-out. * @retval number of available tokens, or -1 in case of incorrect parameters. * @note MUST REMAIN UNCHANGED: \b osSemaphoreWait shall be consistent in every CMSIS-RTOS. */ int32_t osSemaphoreWait (osSemaphoreId semaphore_id, uint32_t millisec) { - 800c0d8: b580 push {r7, lr} - 800c0da: b084 sub sp, #16 - 800c0dc: af00 add r7, sp, #0 - 800c0de: 6078 str r0, [r7, #4] - 800c0e0: 6039 str r1, [r7, #0] + 800bc74: b580 push {r7, lr} + 800bc76: b084 sub sp, #16 + 800bc78: af00 add r7, sp, #0 + 800bc7a: 6078 str r0, [r7, #4] + 800bc7c: 6039 str r1, [r7, #0] TickType_t ticks; portBASE_TYPE taskWoken = pdFALSE; - 800c0e2: 2300 movs r3, #0 - 800c0e4: 60bb str r3, [r7, #8] + 800bc7e: 2300 movs r3, #0 + 800bc80: 60bb str r3, [r7, #8] if (semaphore_id == NULL) { - 800c0e6: 687b ldr r3, [r7, #4] - 800c0e8: 2b00 cmp r3, #0 - 800c0ea: d101 bne.n 800c0f0 + 800bc82: 687b ldr r3, [r7, #4] + 800bc84: 2b00 cmp r3, #0 + 800bc86: d101 bne.n 800bc8c return osErrorParameter; - 800c0ec: 2380 movs r3, #128 ; 0x80 - 800c0ee: e03a b.n 800c166 + 800bc88: 2380 movs r3, #128 ; 0x80 + 800bc8a: e03a b.n 800bd02 } ticks = 0; - 800c0f0: 2300 movs r3, #0 - 800c0f2: 60fb str r3, [r7, #12] + 800bc8c: 2300 movs r3, #0 + 800bc8e: 60fb str r3, [r7, #12] if (millisec == osWaitForever) { - 800c0f4: 683b ldr r3, [r7, #0] - 800c0f6: f1b3 3fff cmp.w r3, #4294967295 - 800c0fa: d103 bne.n 800c104 + 800bc90: 683b ldr r3, [r7, #0] + 800bc92: f1b3 3fff cmp.w r3, #4294967295 + 800bc96: d103 bne.n 800bca0 ticks = portMAX_DELAY; - 800c0fc: f04f 33ff mov.w r3, #4294967295 - 800c100: 60fb str r3, [r7, #12] - 800c102: e009 b.n 800c118 + 800bc98: f04f 33ff mov.w r3, #4294967295 + 800bc9c: 60fb str r3, [r7, #12] + 800bc9e: e009 b.n 800bcb4 } else if (millisec != 0) { - 800c104: 683b ldr r3, [r7, #0] - 800c106: 2b00 cmp r3, #0 - 800c108: d006 beq.n 800c118 + 800bca0: 683b ldr r3, [r7, #0] + 800bca2: 2b00 cmp r3, #0 + 800bca4: d006 beq.n 800bcb4 ticks = millisec / portTICK_PERIOD_MS; - 800c10a: 683b ldr r3, [r7, #0] - 800c10c: 60fb str r3, [r7, #12] + 800bca6: 683b ldr r3, [r7, #0] + 800bca8: 60fb str r3, [r7, #12] if (ticks == 0) { - 800c10e: 68fb ldr r3, [r7, #12] - 800c110: 2b00 cmp r3, #0 - 800c112: d101 bne.n 800c118 + 800bcaa: 68fb ldr r3, [r7, #12] + 800bcac: 2b00 cmp r3, #0 + 800bcae: d101 bne.n 800bcb4 ticks = 1; - 800c114: 2301 movs r3, #1 - 800c116: 60fb str r3, [r7, #12] + 800bcb0: 2301 movs r3, #1 + 800bcb2: 60fb str r3, [r7, #12] } } if (inHandlerMode()) { - 800c118: f7ff fe78 bl 800be0c - 800c11c: 4603 mov r3, r0 - 800c11e: 2b00 cmp r3, #0 - 800c120: d017 beq.n 800c152 + 800bcb4: f7ff fe78 bl 800b9a8 + 800bcb8: 4603 mov r3, r0 + 800bcba: 2b00 cmp r3, #0 + 800bcbc: d017 beq.n 800bcee if (xSemaphoreTakeFromISR(semaphore_id, &taskWoken) != pdTRUE) { - 800c122: f107 0308 add.w r3, r7, #8 - 800c126: 461a mov r2, r3 - 800c128: 2100 movs r1, #0 - 800c12a: 6878 ldr r0, [r7, #4] - 800c12c: f001 f80e bl 800d14c - 800c130: 4603 mov r3, r0 - 800c132: 2b01 cmp r3, #1 - 800c134: d001 beq.n 800c13a + 800bcbe: f107 0308 add.w r3, r7, #8 + 800bcc2: 461a mov r2, r3 + 800bcc4: 2100 movs r1, #0 + 800bcc6: 6878 ldr r0, [r7, #4] + 800bcc8: f001 f80e bl 800cce8 + 800bccc: 4603 mov r3, r0 + 800bcce: 2b01 cmp r3, #1 + 800bcd0: d001 beq.n 800bcd6 return osErrorOS; - 800c136: 23ff movs r3, #255 ; 0xff - 800c138: e015 b.n 800c166 + 800bcd2: 23ff movs r3, #255 ; 0xff + 800bcd4: e015 b.n 800bd02 } portEND_SWITCHING_ISR(taskWoken); - 800c13a: 68bb ldr r3, [r7, #8] - 800c13c: 2b00 cmp r3, #0 - 800c13e: d011 beq.n 800c164 - 800c140: 4b0b ldr r3, [pc, #44] ; (800c170 ) - 800c142: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800c146: 601a str r2, [r3, #0] - 800c148: f3bf 8f4f dsb sy - 800c14c: f3bf 8f6f isb sy - 800c150: e008 b.n 800c164 + 800bcd6: 68bb ldr r3, [r7, #8] + 800bcd8: 2b00 cmp r3, #0 + 800bcda: d011 beq.n 800bd00 + 800bcdc: 4b0b ldr r3, [pc, #44] ; (800bd0c ) + 800bcde: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800bce2: 601a str r2, [r3, #0] + 800bce4: f3bf 8f4f dsb sy + 800bce8: f3bf 8f6f isb sy + 800bcec: e008 b.n 800bd00 } else if (xSemaphoreTake(semaphore_id, ticks) != pdTRUE) { - 800c152: 68f9 ldr r1, [r7, #12] - 800c154: 6878 ldr r0, [r7, #4] - 800c156: f000 fee9 bl 800cf2c - 800c15a: 4603 mov r3, r0 - 800c15c: 2b01 cmp r3, #1 - 800c15e: d001 beq.n 800c164 + 800bcee: 68f9 ldr r1, [r7, #12] + 800bcf0: 6878 ldr r0, [r7, #4] + 800bcf2: f000 fee9 bl 800cac8 + 800bcf6: 4603 mov r3, r0 + 800bcf8: 2b01 cmp r3, #1 + 800bcfa: d001 beq.n 800bd00 return osErrorOS; - 800c160: 23ff movs r3, #255 ; 0xff - 800c162: e000 b.n 800c166 + 800bcfc: 23ff movs r3, #255 ; 0xff + 800bcfe: e000 b.n 800bd02 } return osOK; - 800c164: 2300 movs r3, #0 + 800bd00: 2300 movs r3, #0 +} + 800bd02: 4618 mov r0, r3 + 800bd04: 3710 adds r7, #16 + 800bd06: 46bd mov sp, r7 + 800bd08: bd80 pop {r7, pc} + 800bd0a: bf00 nop + 800bd0c: e000ed04 .word 0xe000ed04 + +0800bd10 : +* @param semaphore_id semaphore object referenced with \ref osSemaphore. +* @retval status code that indicates the execution status of the function. +* @note MUST REMAIN UNCHANGED: \b osSemaphoreRelease shall be consistent in every CMSIS-RTOS. +*/ +osStatus osSemaphoreRelease (osSemaphoreId semaphore_id) +{ + 800bd10: b580 push {r7, lr} + 800bd12: b084 sub sp, #16 + 800bd14: af00 add r7, sp, #0 + 800bd16: 6078 str r0, [r7, #4] + osStatus result = osOK; + 800bd18: 2300 movs r3, #0 + 800bd1a: 60fb str r3, [r7, #12] + portBASE_TYPE taskWoken = pdFALSE; + 800bd1c: 2300 movs r3, #0 + 800bd1e: 60bb str r3, [r7, #8] + + + if (inHandlerMode()) { + 800bd20: f7ff fe42 bl 800b9a8 + 800bd24: 4603 mov r3, r0 + 800bd26: 2b00 cmp r3, #0 + 800bd28: d016 beq.n 800bd58 + if (xSemaphoreGiveFromISR(semaphore_id, &taskWoken) != pdTRUE) { + 800bd2a: f107 0308 add.w r3, r7, #8 + 800bd2e: 4619 mov r1, r3 + 800bd30: 6878 ldr r0, [r7, #4] + 800bd32: f000 fd55 bl 800c7e0 + 800bd36: 4603 mov r3, r0 + 800bd38: 2b01 cmp r3, #1 + 800bd3a: d001 beq.n 800bd40 + return osErrorOS; + 800bd3c: 23ff movs r3, #255 ; 0xff + 800bd3e: e017 b.n 800bd70 + } + portEND_SWITCHING_ISR(taskWoken); + 800bd40: 68bb ldr r3, [r7, #8] + 800bd42: 2b00 cmp r3, #0 + 800bd44: d013 beq.n 800bd6e + 800bd46: 4b0c ldr r3, [pc, #48] ; (800bd78 ) + 800bd48: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800bd4c: 601a str r2, [r3, #0] + 800bd4e: f3bf 8f4f dsb sy + 800bd52: f3bf 8f6f isb sy + 800bd56: e00a b.n 800bd6e + } + else { + if (xSemaphoreGive(semaphore_id) != pdTRUE) { + 800bd58: 2300 movs r3, #0 + 800bd5a: 2200 movs r2, #0 + 800bd5c: 2100 movs r1, #0 + 800bd5e: 6878 ldr r0, [r7, #4] + 800bd60: f000 fba0 bl 800c4a4 + 800bd64: 4603 mov r3, r0 + 800bd66: 2b01 cmp r3, #1 + 800bd68: d001 beq.n 800bd6e + result = osErrorOS; + 800bd6a: 23ff movs r3, #255 ; 0xff + 800bd6c: 60fb str r3, [r7, #12] + } + } + + return result; + 800bd6e: 68fb ldr r3, [r7, #12] +} + 800bd70: 4618 mov r0, r3 + 800bd72: 3710 adds r7, #16 + 800bd74: 46bd mov sp, r7 + 800bd76: bd80 pop {r7, pc} + 800bd78: e000ed04 .word 0xe000ed04 + +0800bd7c : +* @param thread_id thread ID (obtained by \ref osThreadCreate or \ref osThreadGetId) or NULL. +* @retval message queue ID for reference by other functions or NULL in case of error. +* @note MUST REMAIN UNCHANGED: \b osMessageCreate shall be consistent in every CMSIS-RTOS. +*/ +osMessageQId osMessageCreate (const osMessageQDef_t *queue_def, osThreadId thread_id) +{ + 800bd7c: b590 push {r4, r7, lr} + 800bd7e: b085 sub sp, #20 + 800bd80: af02 add r7, sp, #8 + 800bd82: 6078 str r0, [r7, #4] + 800bd84: 6039 str r1, [r7, #0] + (void) thread_id; + +#if( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) + + if ((queue_def->buffer != NULL) && (queue_def->controlblock != NULL)) { + 800bd86: 687b ldr r3, [r7, #4] + 800bd88: 689b ldr r3, [r3, #8] + 800bd8a: 2b00 cmp r3, #0 + 800bd8c: d012 beq.n 800bdb4 + 800bd8e: 687b ldr r3, [r7, #4] + 800bd90: 68db ldr r3, [r3, #12] + 800bd92: 2b00 cmp r3, #0 + 800bd94: d00e beq.n 800bdb4 + return xQueueCreateStatic(queue_def->queue_sz, queue_def->item_sz, queue_def->buffer, queue_def->controlblock); + 800bd96: 687b ldr r3, [r7, #4] + 800bd98: 6818 ldr r0, [r3, #0] + 800bd9a: 687b ldr r3, [r7, #4] + 800bd9c: 6859 ldr r1, [r3, #4] + 800bd9e: 687b ldr r3, [r7, #4] + 800bda0: 689a ldr r2, [r3, #8] + 800bda2: 687b ldr r3, [r7, #4] + 800bda4: 68dc ldr r4, [r3, #12] + 800bda6: 2300 movs r3, #0 + 800bda8: 9300 str r3, [sp, #0] + 800bdaa: 4623 mov r3, r4 + 800bdac: f000 f9e2 bl 800c174 + 800bdb0: 4603 mov r3, r0 + 800bdb2: e008 b.n 800bdc6 + } + else { + return xQueueCreate(queue_def->queue_sz, queue_def->item_sz); + 800bdb4: 687b ldr r3, [r7, #4] + 800bdb6: 6818 ldr r0, [r3, #0] + 800bdb8: 687b ldr r3, [r7, #4] + 800bdba: 685b ldr r3, [r3, #4] + 800bdbc: 2200 movs r2, #0 + 800bdbe: 4619 mov r1, r3 + 800bdc0: f000 fa55 bl 800c26e + 800bdc4: 4603 mov r3, r0 +#elif ( configSUPPORT_STATIC_ALLOCATION == 1 ) + return xQueueCreateStatic(queue_def->queue_sz, queue_def->item_sz, queue_def->buffer, queue_def->controlblock); +#else + return xQueueCreate(queue_def->queue_sz, queue_def->item_sz); +#endif +} + 800bdc6: 4618 mov r0, r3 + 800bdc8: 370c adds r7, #12 + 800bdca: 46bd mov sp, r7 + 800bdcc: bd90 pop {r4, r7, pc} + ... + +0800bdd0 : +* @param millisec timeout value or 0 in case of no time-out. +* @retval status code that indicates the execution status of the function. +* @note MUST REMAIN UNCHANGED: \b osMessagePut shall be consistent in every CMSIS-RTOS. +*/ +osStatus osMessagePut (osMessageQId queue_id, uint32_t info, uint32_t millisec) +{ + 800bdd0: b580 push {r7, lr} + 800bdd2: b086 sub sp, #24 + 800bdd4: af00 add r7, sp, #0 + 800bdd6: 60f8 str r0, [r7, #12] + 800bdd8: 60b9 str r1, [r7, #8] + 800bdda: 607a str r2, [r7, #4] + portBASE_TYPE taskWoken = pdFALSE; + 800bddc: 2300 movs r3, #0 + 800bdde: 613b str r3, [r7, #16] + TickType_t ticks; + + ticks = millisec / portTICK_PERIOD_MS; + 800bde0: 687b ldr r3, [r7, #4] + 800bde2: 617b str r3, [r7, #20] + if (ticks == 0) { + 800bde4: 697b ldr r3, [r7, #20] + 800bde6: 2b00 cmp r3, #0 + 800bde8: d101 bne.n 800bdee + ticks = 1; + 800bdea: 2301 movs r3, #1 + 800bdec: 617b str r3, [r7, #20] + } + + if (inHandlerMode()) { + 800bdee: f7ff fddb bl 800b9a8 + 800bdf2: 4603 mov r3, r0 + 800bdf4: 2b00 cmp r3, #0 + 800bdf6: d018 beq.n 800be2a + if (xQueueSendFromISR(queue_id, &info, &taskWoken) != pdTRUE) { + 800bdf8: f107 0210 add.w r2, r7, #16 + 800bdfc: f107 0108 add.w r1, r7, #8 + 800be00: 2300 movs r3, #0 + 800be02: 68f8 ldr r0, [r7, #12] + 800be04: f000 fc50 bl 800c6a8 + 800be08: 4603 mov r3, r0 + 800be0a: 2b01 cmp r3, #1 + 800be0c: d001 beq.n 800be12 + return osErrorOS; + 800be0e: 23ff movs r3, #255 ; 0xff + 800be10: e018 b.n 800be44 + } + portEND_SWITCHING_ISR(taskWoken); + 800be12: 693b ldr r3, [r7, #16] + 800be14: 2b00 cmp r3, #0 + 800be16: d014 beq.n 800be42 + 800be18: 4b0c ldr r3, [pc, #48] ; (800be4c ) + 800be1a: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800be1e: 601a str r2, [r3, #0] + 800be20: f3bf 8f4f dsb sy + 800be24: f3bf 8f6f isb sy + 800be28: e00b b.n 800be42 + } + else { + if (xQueueSend(queue_id, &info, ticks) != pdTRUE) { + 800be2a: f107 0108 add.w r1, r7, #8 + 800be2e: 2300 movs r3, #0 + 800be30: 697a ldr r2, [r7, #20] + 800be32: 68f8 ldr r0, [r7, #12] + 800be34: f000 fb36 bl 800c4a4 + 800be38: 4603 mov r3, r0 + 800be3a: 2b01 cmp r3, #1 + 800be3c: d001 beq.n 800be42 + return osErrorOS; + 800be3e: 23ff movs r3, #255 ; 0xff + 800be40: e000 b.n 800be44 + } + } + + return osOK; + 800be42: 2300 movs r3, #0 +} + 800be44: 4618 mov r0, r3 + 800be46: 3718 adds r7, #24 + 800be48: 46bd mov sp, r7 + 800be4a: bd80 pop {r7, pc} + 800be4c: e000ed04 .word 0xe000ed04 + +0800be50 : +* @param millisec timeout value or 0 in case of no time-out. +* @retval event information that includes status code. +* @note MUST REMAIN UNCHANGED: \b osMessageGet shall be consistent in every CMSIS-RTOS. +*/ +osEvent osMessageGet (osMessageQId queue_id, uint32_t millisec) +{ + 800be50: b590 push {r4, r7, lr} + 800be52: b08b sub sp, #44 ; 0x2c + 800be54: af00 add r7, sp, #0 + 800be56: 60f8 str r0, [r7, #12] + 800be58: 60b9 str r1, [r7, #8] + 800be5a: 607a str r2, [r7, #4] + portBASE_TYPE taskWoken; + TickType_t ticks; + osEvent event; + + event.def.message_id = queue_id; + 800be5c: 68bb ldr r3, [r7, #8] + 800be5e: 61fb str r3, [r7, #28] + event.value.v = 0; + 800be60: 2300 movs r3, #0 + 800be62: 61bb str r3, [r7, #24] + + if (queue_id == NULL) { + 800be64: 68bb ldr r3, [r7, #8] + 800be66: 2b00 cmp r3, #0 + 800be68: d10a bne.n 800be80 + event.status = osErrorParameter; + 800be6a: 2380 movs r3, #128 ; 0x80 + 800be6c: 617b str r3, [r7, #20] + return event; + 800be6e: 68fb ldr r3, [r7, #12] + 800be70: 461c mov r4, r3 + 800be72: f107 0314 add.w r3, r7, #20 + 800be76: e893 0007 ldmia.w r3, {r0, r1, r2} + 800be7a: e884 0007 stmia.w r4, {r0, r1, r2} + 800be7e: e054 b.n 800bf2a + } + + taskWoken = pdFALSE; + 800be80: 2300 movs r3, #0 + 800be82: 623b str r3, [r7, #32] + + ticks = 0; + 800be84: 2300 movs r3, #0 + 800be86: 627b str r3, [r7, #36] ; 0x24 + if (millisec == osWaitForever) { + 800be88: 687b ldr r3, [r7, #4] + 800be8a: f1b3 3fff cmp.w r3, #4294967295 + 800be8e: d103 bne.n 800be98 + ticks = portMAX_DELAY; + 800be90: f04f 33ff mov.w r3, #4294967295 + 800be94: 627b str r3, [r7, #36] ; 0x24 + 800be96: e009 b.n 800beac + } + else if (millisec != 0) { + 800be98: 687b ldr r3, [r7, #4] + 800be9a: 2b00 cmp r3, #0 + 800be9c: d006 beq.n 800beac + ticks = millisec / portTICK_PERIOD_MS; + 800be9e: 687b ldr r3, [r7, #4] + 800bea0: 627b str r3, [r7, #36] ; 0x24 + if (ticks == 0) { + 800bea2: 6a7b ldr r3, [r7, #36] ; 0x24 + 800bea4: 2b00 cmp r3, #0 + 800bea6: d101 bne.n 800beac + ticks = 1; + 800bea8: 2301 movs r3, #1 + 800beaa: 627b str r3, [r7, #36] ; 0x24 + } + } + + if (inHandlerMode()) { + 800beac: f7ff fd7c bl 800b9a8 + 800beb0: 4603 mov r3, r0 + 800beb2: 2b00 cmp r3, #0 + 800beb4: d01c beq.n 800bef0 + if (xQueueReceiveFromISR(queue_id, &event.value.v, &taskWoken) == pdTRUE) { + 800beb6: f107 0220 add.w r2, r7, #32 + 800beba: f107 0314 add.w r3, r7, #20 + 800bebe: 3304 adds r3, #4 + 800bec0: 4619 mov r1, r3 + 800bec2: 68b8 ldr r0, [r7, #8] + 800bec4: f000 ff10 bl 800cce8 + 800bec8: 4603 mov r3, r0 + 800beca: 2b01 cmp r3, #1 + 800becc: d102 bne.n 800bed4 + /* We have mail */ + event.status = osEventMessage; + 800bece: 2310 movs r3, #16 + 800bed0: 617b str r3, [r7, #20] + 800bed2: e001 b.n 800bed8 + } + else { + event.status = osOK; + 800bed4: 2300 movs r3, #0 + 800bed6: 617b str r3, [r7, #20] + } + portEND_SWITCHING_ISR(taskWoken); + 800bed8: 6a3b ldr r3, [r7, #32] + 800beda: 2b00 cmp r3, #0 + 800bedc: d01d beq.n 800bf1a + 800bede: 4b15 ldr r3, [pc, #84] ; (800bf34 ) + 800bee0: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800bee4: 601a str r2, [r3, #0] + 800bee6: f3bf 8f4f dsb sy + 800beea: f3bf 8f6f isb sy + 800beee: e014 b.n 800bf1a + } + else { + if (xQueueReceive(queue_id, &event.value.v, ticks) == pdTRUE) { + 800bef0: f107 0314 add.w r3, r7, #20 + 800bef4: 3304 adds r3, #4 + 800bef6: 6a7a ldr r2, [r7, #36] ; 0x24 + 800bef8: 4619 mov r1, r3 + 800befa: 68b8 ldr r0, [r7, #8] + 800befc: f000 fd02 bl 800c904 + 800bf00: 4603 mov r3, r0 + 800bf02: 2b01 cmp r3, #1 + 800bf04: d102 bne.n 800bf0c + /* We have mail */ + event.status = osEventMessage; + 800bf06: 2310 movs r3, #16 + 800bf08: 617b str r3, [r7, #20] + 800bf0a: e006 b.n 800bf1a + } + else { + event.status = (ticks == 0) ? osOK : osEventTimeout; + 800bf0c: 6a7b ldr r3, [r7, #36] ; 0x24 + 800bf0e: 2b00 cmp r3, #0 + 800bf10: d101 bne.n 800bf16 + 800bf12: 2300 movs r3, #0 + 800bf14: e000 b.n 800bf18 + 800bf16: 2340 movs r3, #64 ; 0x40 + 800bf18: 617b str r3, [r7, #20] + } + } + + return event; + 800bf1a: 68fb ldr r3, [r7, #12] + 800bf1c: 461c mov r4, r3 + 800bf1e: f107 0314 add.w r3, r7, #20 + 800bf22: e893 0007 ldmia.w r3, {r0, r1, r2} + 800bf26: e884 0007 stmia.w r4, {r0, r1, r2} +} + 800bf2a: 68f8 ldr r0, [r7, #12] + 800bf2c: 372c adds r7, #44 ; 0x2c + 800bf2e: 46bd mov sp, r7 + 800bf30: bd90 pop {r4, r7, pc} + 800bf32: bf00 nop + 800bf34: e000ed04 .word 0xe000ed04 + +0800bf38 : +/*----------------------------------------------------------- + * PUBLIC LIST API documented in list.h + *----------------------------------------------------------*/ + +void vListInitialise( List_t * const pxList ) +{ + 800bf38: b480 push {r7} + 800bf3a: b083 sub sp, #12 + 800bf3c: af00 add r7, sp, #0 + 800bf3e: 6078 str r0, [r7, #4] + /* The list structure contains a list item which is used to mark the + end of the list. To initialise the list the list end is inserted + as the only list entry. */ + pxList->pxIndex = ( ListItem_t * ) &( pxList->xListEnd ); /*lint !e826 !e740 !e9087 The mini list structure is used as the list end to save RAM. This is checked and valid. */ + 800bf40: 687b ldr r3, [r7, #4] + 800bf42: f103 0208 add.w r2, r3, #8 + 800bf46: 687b ldr r3, [r7, #4] + 800bf48: 605a str r2, [r3, #4] + + /* The list end value is the highest possible value in the list to + ensure it remains at the end of the list. */ + pxList->xListEnd.xItemValue = portMAX_DELAY; + 800bf4a: 687b ldr r3, [r7, #4] + 800bf4c: f04f 32ff mov.w r2, #4294967295 + 800bf50: 609a str r2, [r3, #8] + + /* The list end next and previous pointers point to itself so we know + when the list is empty. */ + pxList->xListEnd.pxNext = ( ListItem_t * ) &( pxList->xListEnd ); /*lint !e826 !e740 !e9087 The mini list structure is used as the list end to save RAM. This is checked and valid. */ + 800bf52: 687b ldr r3, [r7, #4] + 800bf54: f103 0208 add.w r2, r3, #8 + 800bf58: 687b ldr r3, [r7, #4] + 800bf5a: 60da str r2, [r3, #12] + pxList->xListEnd.pxPrevious = ( ListItem_t * ) &( pxList->xListEnd );/*lint !e826 !e740 !e9087 The mini list structure is used as the list end to save RAM. This is checked and valid. */ + 800bf5c: 687b ldr r3, [r7, #4] + 800bf5e: f103 0208 add.w r2, r3, #8 + 800bf62: 687b ldr r3, [r7, #4] + 800bf64: 611a str r2, [r3, #16] + + pxList->uxNumberOfItems = ( UBaseType_t ) 0U; + 800bf66: 687b ldr r3, [r7, #4] + 800bf68: 2200 movs r2, #0 + 800bf6a: 601a str r2, [r3, #0] + + /* Write known values into the list if + configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */ + listSET_LIST_INTEGRITY_CHECK_1_VALUE( pxList ); + listSET_LIST_INTEGRITY_CHECK_2_VALUE( pxList ); +} + 800bf6c: bf00 nop + 800bf6e: 370c adds r7, #12 + 800bf70: 46bd mov sp, r7 + 800bf72: f85d 7b04 ldr.w r7, [sp], #4 + 800bf76: 4770 bx lr + +0800bf78 : +/*-----------------------------------------------------------*/ + +void vListInitialiseItem( ListItem_t * const pxItem ) +{ + 800bf78: b480 push {r7} + 800bf7a: b083 sub sp, #12 + 800bf7c: af00 add r7, sp, #0 + 800bf7e: 6078 str r0, [r7, #4] + /* Make sure the list item is not recorded as being on a list. */ + pxItem->pxContainer = NULL; + 800bf80: 687b ldr r3, [r7, #4] + 800bf82: 2200 movs r2, #0 + 800bf84: 611a str r2, [r3, #16] + + /* Write known values into the list item if + configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */ + listSET_FIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE( pxItem ); + listSET_SECOND_LIST_ITEM_INTEGRITY_CHECK_VALUE( pxItem ); +} + 800bf86: bf00 nop + 800bf88: 370c adds r7, #12 + 800bf8a: 46bd mov sp, r7 + 800bf8c: f85d 7b04 ldr.w r7, [sp], #4 + 800bf90: 4770 bx lr + +0800bf92 : +/*-----------------------------------------------------------*/ + +void vListInsertEnd( List_t * const pxList, ListItem_t * const pxNewListItem ) +{ + 800bf92: b480 push {r7} + 800bf94: b085 sub sp, #20 + 800bf96: af00 add r7, sp, #0 + 800bf98: 6078 str r0, [r7, #4] + 800bf9a: 6039 str r1, [r7, #0] +ListItem_t * const pxIndex = pxList->pxIndex; + 800bf9c: 687b ldr r3, [r7, #4] + 800bf9e: 685b ldr r3, [r3, #4] + 800bfa0: 60fb str r3, [r7, #12] + listTEST_LIST_ITEM_INTEGRITY( pxNewListItem ); + + /* Insert a new list item into pxList, but rather than sort the list, + makes the new list item the last item to be removed by a call to + listGET_OWNER_OF_NEXT_ENTRY(). */ + pxNewListItem->pxNext = pxIndex; + 800bfa2: 683b ldr r3, [r7, #0] + 800bfa4: 68fa ldr r2, [r7, #12] + 800bfa6: 605a str r2, [r3, #4] + pxNewListItem->pxPrevious = pxIndex->pxPrevious; + 800bfa8: 68fb ldr r3, [r7, #12] + 800bfaa: 689a ldr r2, [r3, #8] + 800bfac: 683b ldr r3, [r7, #0] + 800bfae: 609a str r2, [r3, #8] + + /* Only used during decision coverage testing. */ + mtCOVERAGE_TEST_DELAY(); + + pxIndex->pxPrevious->pxNext = pxNewListItem; + 800bfb0: 68fb ldr r3, [r7, #12] + 800bfb2: 689b ldr r3, [r3, #8] + 800bfb4: 683a ldr r2, [r7, #0] + 800bfb6: 605a str r2, [r3, #4] + pxIndex->pxPrevious = pxNewListItem; + 800bfb8: 68fb ldr r3, [r7, #12] + 800bfba: 683a ldr r2, [r7, #0] + 800bfbc: 609a str r2, [r3, #8] + + /* Remember which list the item is in. */ + pxNewListItem->pxContainer = pxList; + 800bfbe: 683b ldr r3, [r7, #0] + 800bfc0: 687a ldr r2, [r7, #4] + 800bfc2: 611a str r2, [r3, #16] + + ( pxList->uxNumberOfItems )++; + 800bfc4: 687b ldr r3, [r7, #4] + 800bfc6: 681b ldr r3, [r3, #0] + 800bfc8: 1c5a adds r2, r3, #1 + 800bfca: 687b ldr r3, [r7, #4] + 800bfcc: 601a str r2, [r3, #0] +} + 800bfce: bf00 nop + 800bfd0: 3714 adds r7, #20 + 800bfd2: 46bd mov sp, r7 + 800bfd4: f85d 7b04 ldr.w r7, [sp], #4 + 800bfd8: 4770 bx lr + +0800bfda : +/*-----------------------------------------------------------*/ + +void vListInsert( List_t * const pxList, ListItem_t * const pxNewListItem ) +{ + 800bfda: b480 push {r7} + 800bfdc: b085 sub sp, #20 + 800bfde: af00 add r7, sp, #0 + 800bfe0: 6078 str r0, [r7, #4] + 800bfe2: 6039 str r1, [r7, #0] +ListItem_t *pxIterator; +const TickType_t xValueOfInsertion = pxNewListItem->xItemValue; + 800bfe4: 683b ldr r3, [r7, #0] + 800bfe6: 681b ldr r3, [r3, #0] + 800bfe8: 60bb str r3, [r7, #8] + new list item should be placed after it. This ensures that TCBs which are + stored in ready lists (all of which have the same xItemValue value) get a + share of the CPU. However, if the xItemValue is the same as the back marker + the iteration loop below will not end. Therefore the value is checked + first, and the algorithm slightly modified if necessary. */ + if( xValueOfInsertion == portMAX_DELAY ) + 800bfea: 68bb ldr r3, [r7, #8] + 800bfec: f1b3 3fff cmp.w r3, #4294967295 + 800bff0: d103 bne.n 800bffa + { + pxIterator = pxList->xListEnd.pxPrevious; + 800bff2: 687b ldr r3, [r7, #4] + 800bff4: 691b ldr r3, [r3, #16] + 800bff6: 60fb str r3, [r7, #12] + 800bff8: e00c b.n 800c014 + 4) Using a queue or semaphore before it has been initialised or + before the scheduler has been started (are interrupts firing + before vTaskStartScheduler() has been called?). + **********************************************************************/ + + for( pxIterator = ( ListItem_t * ) &( pxList->xListEnd ); pxIterator->pxNext->xItemValue <= xValueOfInsertion; pxIterator = pxIterator->pxNext ) /*lint !e826 !e740 !e9087 The mini list structure is used as the list end to save RAM. This is checked and valid. *//*lint !e440 The iterator moves to a different value, not xValueOfInsertion. */ + 800bffa: 687b ldr r3, [r7, #4] + 800bffc: 3308 adds r3, #8 + 800bffe: 60fb str r3, [r7, #12] + 800c000: e002 b.n 800c008 + 800c002: 68fb ldr r3, [r7, #12] + 800c004: 685b ldr r3, [r3, #4] + 800c006: 60fb str r3, [r7, #12] + 800c008: 68fb ldr r3, [r7, #12] + 800c00a: 685b ldr r3, [r3, #4] + 800c00c: 681b ldr r3, [r3, #0] + 800c00e: 68ba ldr r2, [r7, #8] + 800c010: 429a cmp r2, r3 + 800c012: d2f6 bcs.n 800c002 + /* There is nothing to do here, just iterating to the wanted + insertion position. */ + } + } + + pxNewListItem->pxNext = pxIterator->pxNext; + 800c014: 68fb ldr r3, [r7, #12] + 800c016: 685a ldr r2, [r3, #4] + 800c018: 683b ldr r3, [r7, #0] + 800c01a: 605a str r2, [r3, #4] + pxNewListItem->pxNext->pxPrevious = pxNewListItem; + 800c01c: 683b ldr r3, [r7, #0] + 800c01e: 685b ldr r3, [r3, #4] + 800c020: 683a ldr r2, [r7, #0] + 800c022: 609a str r2, [r3, #8] + pxNewListItem->pxPrevious = pxIterator; + 800c024: 683b ldr r3, [r7, #0] + 800c026: 68fa ldr r2, [r7, #12] + 800c028: 609a str r2, [r3, #8] + pxIterator->pxNext = pxNewListItem; + 800c02a: 68fb ldr r3, [r7, #12] + 800c02c: 683a ldr r2, [r7, #0] + 800c02e: 605a str r2, [r3, #4] + + /* Remember which list the item is in. This allows fast removal of the + item later. */ + pxNewListItem->pxContainer = pxList; + 800c030: 683b ldr r3, [r7, #0] + 800c032: 687a ldr r2, [r7, #4] + 800c034: 611a str r2, [r3, #16] + + ( pxList->uxNumberOfItems )++; + 800c036: 687b ldr r3, [r7, #4] + 800c038: 681b ldr r3, [r3, #0] + 800c03a: 1c5a adds r2, r3, #1 + 800c03c: 687b ldr r3, [r7, #4] + 800c03e: 601a str r2, [r3, #0] +} + 800c040: bf00 nop + 800c042: 3714 adds r7, #20 + 800c044: 46bd mov sp, r7 + 800c046: f85d 7b04 ldr.w r7, [sp], #4 + 800c04a: 4770 bx lr + +0800c04c : +/*-----------------------------------------------------------*/ + +UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove ) +{ + 800c04c: b480 push {r7} + 800c04e: b085 sub sp, #20 + 800c050: af00 add r7, sp, #0 + 800c052: 6078 str r0, [r7, #4] +/* The list item knows which list it is in. Obtain the list from the list +item. */ +List_t * const pxList = pxItemToRemove->pxContainer; + 800c054: 687b ldr r3, [r7, #4] + 800c056: 691b ldr r3, [r3, #16] + 800c058: 60fb str r3, [r7, #12] + + pxItemToRemove->pxNext->pxPrevious = pxItemToRemove->pxPrevious; + 800c05a: 687b ldr r3, [r7, #4] + 800c05c: 685b ldr r3, [r3, #4] + 800c05e: 687a ldr r2, [r7, #4] + 800c060: 6892 ldr r2, [r2, #8] + 800c062: 609a str r2, [r3, #8] + pxItemToRemove->pxPrevious->pxNext = pxItemToRemove->pxNext; + 800c064: 687b ldr r3, [r7, #4] + 800c066: 689b ldr r3, [r3, #8] + 800c068: 687a ldr r2, [r7, #4] + 800c06a: 6852 ldr r2, [r2, #4] + 800c06c: 605a str r2, [r3, #4] + + /* Only used during decision coverage testing. */ + mtCOVERAGE_TEST_DELAY(); + + /* Make sure the index is left pointing to a valid item. */ + if( pxList->pxIndex == pxItemToRemove ) + 800c06e: 68fb ldr r3, [r7, #12] + 800c070: 685b ldr r3, [r3, #4] + 800c072: 687a ldr r2, [r7, #4] + 800c074: 429a cmp r2, r3 + 800c076: d103 bne.n 800c080 + { + pxList->pxIndex = pxItemToRemove->pxPrevious; + 800c078: 687b ldr r3, [r7, #4] + 800c07a: 689a ldr r2, [r3, #8] + 800c07c: 68fb ldr r3, [r7, #12] + 800c07e: 605a str r2, [r3, #4] + else + { + mtCOVERAGE_TEST_MARKER(); + } + + pxItemToRemove->pxContainer = NULL; + 800c080: 687b ldr r3, [r7, #4] + 800c082: 2200 movs r2, #0 + 800c084: 611a str r2, [r3, #16] + ( pxList->uxNumberOfItems )--; + 800c086: 68fb ldr r3, [r7, #12] + 800c088: 681b ldr r3, [r3, #0] + 800c08a: 1e5a subs r2, r3, #1 + 800c08c: 68fb ldr r3, [r7, #12] + 800c08e: 601a str r2, [r3, #0] + + return pxList->uxNumberOfItems; + 800c090: 68fb ldr r3, [r7, #12] + 800c092: 681b ldr r3, [r3, #0] +} + 800c094: 4618 mov r0, r3 + 800c096: 3714 adds r7, #20 + 800c098: 46bd mov sp, r7 + 800c09a: f85d 7b04 ldr.w r7, [sp], #4 + 800c09e: 4770 bx lr + +0800c0a0 : + } \ + taskEXIT_CRITICAL() +/*-----------------------------------------------------------*/ + +BaseType_t xQueueGenericReset( QueueHandle_t xQueue, BaseType_t xNewQueue ) +{ + 800c0a0: b580 push {r7, lr} + 800c0a2: b084 sub sp, #16 + 800c0a4: af00 add r7, sp, #0 + 800c0a6: 6078 str r0, [r7, #4] + 800c0a8: 6039 str r1, [r7, #0] +Queue_t * const pxQueue = xQueue; + 800c0aa: 687b ldr r3, [r7, #4] + 800c0ac: 60fb str r3, [r7, #12] + + configASSERT( pxQueue ); + 800c0ae: 68fb ldr r3, [r7, #12] + 800c0b0: 2b00 cmp r3, #0 + 800c0b2: d10b bne.n 800c0cc + +portFORCE_INLINE static void vPortRaiseBASEPRI( void ) +{ +uint32_t ulNewBASEPRI; + + __asm volatile + 800c0b4: f04f 0350 mov.w r3, #80 ; 0x50 + 800c0b8: b672 cpsid i + 800c0ba: f383 8811 msr BASEPRI, r3 + 800c0be: f3bf 8f6f isb sy + 800c0c2: f3bf 8f4f dsb sy + 800c0c6: b662 cpsie i + 800c0c8: 60bb str r3, [r7, #8] + 800c0ca: e7fe b.n 800c0ca + + taskENTER_CRITICAL(); + 800c0cc: f002 fa34 bl 800e538 + { + pxQueue->u.xQueue.pcTail = pxQueue->pcHead + ( pxQueue->uxLength * pxQueue->uxItemSize ); /*lint !e9016 Pointer arithmetic allowed on char types, especially when it assists conveying intent. */ + 800c0d0: 68fb ldr r3, [r7, #12] + 800c0d2: 681a ldr r2, [r3, #0] + 800c0d4: 68fb ldr r3, [r7, #12] + 800c0d6: 6bdb ldr r3, [r3, #60] ; 0x3c + 800c0d8: 68f9 ldr r1, [r7, #12] + 800c0da: 6c09 ldr r1, [r1, #64] ; 0x40 + 800c0dc: fb01 f303 mul.w r3, r1, r3 + 800c0e0: 441a add r2, r3 + 800c0e2: 68fb ldr r3, [r7, #12] + 800c0e4: 609a str r2, [r3, #8] + pxQueue->uxMessagesWaiting = ( UBaseType_t ) 0U; + 800c0e6: 68fb ldr r3, [r7, #12] + 800c0e8: 2200 movs r2, #0 + 800c0ea: 639a str r2, [r3, #56] ; 0x38 + pxQueue->pcWriteTo = pxQueue->pcHead; + 800c0ec: 68fb ldr r3, [r7, #12] + 800c0ee: 681a ldr r2, [r3, #0] + 800c0f0: 68fb ldr r3, [r7, #12] + 800c0f2: 605a str r2, [r3, #4] + pxQueue->u.xQueue.pcReadFrom = pxQueue->pcHead + ( ( pxQueue->uxLength - 1U ) * pxQueue->uxItemSize ); /*lint !e9016 Pointer arithmetic allowed on char types, especially when it assists conveying intent. */ + 800c0f4: 68fb ldr r3, [r7, #12] + 800c0f6: 681a ldr r2, [r3, #0] + 800c0f8: 68fb ldr r3, [r7, #12] + 800c0fa: 6bdb ldr r3, [r3, #60] ; 0x3c + 800c0fc: 3b01 subs r3, #1 + 800c0fe: 68f9 ldr r1, [r7, #12] + 800c100: 6c09 ldr r1, [r1, #64] ; 0x40 + 800c102: fb01 f303 mul.w r3, r1, r3 + 800c106: 441a add r2, r3 + 800c108: 68fb ldr r3, [r7, #12] + 800c10a: 60da str r2, [r3, #12] + pxQueue->cRxLock = queueUNLOCKED; + 800c10c: 68fb ldr r3, [r7, #12] + 800c10e: 22ff movs r2, #255 ; 0xff + 800c110: f883 2044 strb.w r2, [r3, #68] ; 0x44 + pxQueue->cTxLock = queueUNLOCKED; + 800c114: 68fb ldr r3, [r7, #12] + 800c116: 22ff movs r2, #255 ; 0xff + 800c118: f883 2045 strb.w r2, [r3, #69] ; 0x45 + + if( xNewQueue == pdFALSE ) + 800c11c: 683b ldr r3, [r7, #0] + 800c11e: 2b00 cmp r3, #0 + 800c120: d114 bne.n 800c14c + /* If there are tasks blocked waiting to read from the queue, then + the tasks will remain blocked as after this function exits the queue + will still be empty. If there are tasks blocked waiting to write to + the queue, then one should be unblocked as after this function exits + it will be possible to write to it. */ + if( listLIST_IS_EMPTY( &( pxQueue->xTasksWaitingToSend ) ) == pdFALSE ) + 800c122: 68fb ldr r3, [r7, #12] + 800c124: 691b ldr r3, [r3, #16] + 800c126: 2b00 cmp r3, #0 + 800c128: d01a beq.n 800c160 + { + if( xTaskRemoveFromEventList( &( pxQueue->xTasksWaitingToSend ) ) != pdFALSE ) + 800c12a: 68fb ldr r3, [r7, #12] + 800c12c: 3310 adds r3, #16 + 800c12e: 4618 mov r0, r3 + 800c130: f001 fd00 bl 800db34 + 800c134: 4603 mov r3, r0 + 800c136: 2b00 cmp r3, #0 + 800c138: d012 beq.n 800c160 + { + queueYIELD_IF_USING_PREEMPTION(); + 800c13a: 4b0d ldr r3, [pc, #52] ; (800c170 ) + 800c13c: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800c140: 601a str r2, [r3, #0] + 800c142: f3bf 8f4f dsb sy + 800c146: f3bf 8f6f isb sy + 800c14a: e009 b.n 800c160 + } + } + else + { + /* Ensure the event queues start in the correct state. */ + vListInitialise( &( pxQueue->xTasksWaitingToSend ) ); + 800c14c: 68fb ldr r3, [r7, #12] + 800c14e: 3310 adds r3, #16 + 800c150: 4618 mov r0, r3 + 800c152: f7ff fef1 bl 800bf38 + vListInitialise( &( pxQueue->xTasksWaitingToReceive ) ); + 800c156: 68fb ldr r3, [r7, #12] + 800c158: 3324 adds r3, #36 ; 0x24 + 800c15a: 4618 mov r0, r3 + 800c15c: f7ff feec bl 800bf38 + } + } + taskEXIT_CRITICAL(); + 800c160: f002 fa1c bl 800e59c + + /* A value is returned for calling semantic consistency with previous + versions. */ + return pdPASS; + 800c164: 2301 movs r3, #1 } 800c166: 4618 mov r0, r3 800c168: 3710 adds r7, #16 @@ -33178,43062 +33364,41862 @@ int32_t osSemaphoreWait (osSemaphoreId semaphore_id, uint32_t millisec) 800c16e: bf00 nop 800c170: e000ed04 .word 0xe000ed04 -0800c174 : -* @param semaphore_id semaphore object referenced with \ref osSemaphore. -* @retval status code that indicates the execution status of the function. -* @note MUST REMAIN UNCHANGED: \b osSemaphoreRelease shall be consistent in every CMSIS-RTOS. -*/ -osStatus osSemaphoreRelease (osSemaphoreId semaphore_id) -{ - 800c174: b580 push {r7, lr} - 800c176: b084 sub sp, #16 - 800c178: af00 add r7, sp, #0 - 800c17a: 6078 str r0, [r7, #4] - osStatus result = osOK; - 800c17c: 2300 movs r3, #0 - 800c17e: 60fb str r3, [r7, #12] - portBASE_TYPE taskWoken = pdFALSE; - 800c180: 2300 movs r3, #0 - 800c182: 60bb str r3, [r7, #8] - - - if (inHandlerMode()) { - 800c184: f7ff fe42 bl 800be0c - 800c188: 4603 mov r3, r0 - 800c18a: 2b00 cmp r3, #0 - 800c18c: d016 beq.n 800c1bc - if (xSemaphoreGiveFromISR(semaphore_id, &taskWoken) != pdTRUE) { - 800c18e: f107 0308 add.w r3, r7, #8 - 800c192: 4619 mov r1, r3 - 800c194: 6878 ldr r0, [r7, #4] - 800c196: f000 fd55 bl 800cc44 - 800c19a: 4603 mov r3, r0 - 800c19c: 2b01 cmp r3, #1 - 800c19e: d001 beq.n 800c1a4 - return osErrorOS; - 800c1a0: 23ff movs r3, #255 ; 0xff - 800c1a2: e017 b.n 800c1d4 - } - portEND_SWITCHING_ISR(taskWoken); - 800c1a4: 68bb ldr r3, [r7, #8] - 800c1a6: 2b00 cmp r3, #0 - 800c1a8: d013 beq.n 800c1d2 - 800c1aa: 4b0c ldr r3, [pc, #48] ; (800c1dc ) - 800c1ac: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800c1b0: 601a str r2, [r3, #0] - 800c1b2: f3bf 8f4f dsb sy - 800c1b6: f3bf 8f6f isb sy - 800c1ba: e00a b.n 800c1d2 - } - else { - if (xSemaphoreGive(semaphore_id) != pdTRUE) { - 800c1bc: 2300 movs r3, #0 - 800c1be: 2200 movs r2, #0 - 800c1c0: 2100 movs r1, #0 - 800c1c2: 6878 ldr r0, [r7, #4] - 800c1c4: f000 fba0 bl 800c908 - 800c1c8: 4603 mov r3, r0 - 800c1ca: 2b01 cmp r3, #1 - 800c1cc: d001 beq.n 800c1d2 - result = osErrorOS; - 800c1ce: 23ff movs r3, #255 ; 0xff - 800c1d0: 60fb str r3, [r7, #12] - } - } - - return result; - 800c1d2: 68fb ldr r3, [r7, #12] -} - 800c1d4: 4618 mov r0, r3 - 800c1d6: 3710 adds r7, #16 - 800c1d8: 46bd mov sp, r7 - 800c1da: bd80 pop {r7, pc} - 800c1dc: e000ed04 .word 0xe000ed04 - -0800c1e0 : -* @param thread_id thread ID (obtained by \ref osThreadCreate or \ref osThreadGetId) or NULL. -* @retval message queue ID for reference by other functions or NULL in case of error. -* @note MUST REMAIN UNCHANGED: \b osMessageCreate shall be consistent in every CMSIS-RTOS. -*/ -osMessageQId osMessageCreate (const osMessageQDef_t *queue_def, osThreadId thread_id) -{ - 800c1e0: b590 push {r4, r7, lr} - 800c1e2: b085 sub sp, #20 - 800c1e4: af02 add r7, sp, #8 - 800c1e6: 6078 str r0, [r7, #4] - 800c1e8: 6039 str r1, [r7, #0] - (void) thread_id; - -#if( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) - - if ((queue_def->buffer != NULL) && (queue_def->controlblock != NULL)) { - 800c1ea: 687b ldr r3, [r7, #4] - 800c1ec: 689b ldr r3, [r3, #8] - 800c1ee: 2b00 cmp r3, #0 - 800c1f0: d012 beq.n 800c218 - 800c1f2: 687b ldr r3, [r7, #4] - 800c1f4: 68db ldr r3, [r3, #12] - 800c1f6: 2b00 cmp r3, #0 - 800c1f8: d00e beq.n 800c218 - return xQueueCreateStatic(queue_def->queue_sz, queue_def->item_sz, queue_def->buffer, queue_def->controlblock); - 800c1fa: 687b ldr r3, [r7, #4] - 800c1fc: 6818 ldr r0, [r3, #0] - 800c1fe: 687b ldr r3, [r7, #4] - 800c200: 6859 ldr r1, [r3, #4] - 800c202: 687b ldr r3, [r7, #4] - 800c204: 689a ldr r2, [r3, #8] - 800c206: 687b ldr r3, [r7, #4] - 800c208: 68dc ldr r4, [r3, #12] - 800c20a: 2300 movs r3, #0 - 800c20c: 9300 str r3, [sp, #0] - 800c20e: 4623 mov r3, r4 - 800c210: f000 f9e2 bl 800c5d8 - 800c214: 4603 mov r3, r0 - 800c216: e008 b.n 800c22a - } - else { - return xQueueCreate(queue_def->queue_sz, queue_def->item_sz); - 800c218: 687b ldr r3, [r7, #4] - 800c21a: 6818 ldr r0, [r3, #0] - 800c21c: 687b ldr r3, [r7, #4] - 800c21e: 685b ldr r3, [r3, #4] - 800c220: 2200 movs r2, #0 - 800c222: 4619 mov r1, r3 - 800c224: f000 fa55 bl 800c6d2 - 800c228: 4603 mov r3, r0 -#elif ( configSUPPORT_STATIC_ALLOCATION == 1 ) - return xQueueCreateStatic(queue_def->queue_sz, queue_def->item_sz, queue_def->buffer, queue_def->controlblock); -#else - return xQueueCreate(queue_def->queue_sz, queue_def->item_sz); -#endif -} - 800c22a: 4618 mov r0, r3 - 800c22c: 370c adds r7, #12 - 800c22e: 46bd mov sp, r7 - 800c230: bd90 pop {r4, r7, pc} - ... - -0800c234 : -* @param millisec timeout value or 0 in case of no time-out. -* @retval status code that indicates the execution status of the function. -* @note MUST REMAIN UNCHANGED: \b osMessagePut shall be consistent in every CMSIS-RTOS. -*/ -osStatus osMessagePut (osMessageQId queue_id, uint32_t info, uint32_t millisec) -{ - 800c234: b580 push {r7, lr} - 800c236: b086 sub sp, #24 - 800c238: af00 add r7, sp, #0 - 800c23a: 60f8 str r0, [r7, #12] - 800c23c: 60b9 str r1, [r7, #8] - 800c23e: 607a str r2, [r7, #4] - portBASE_TYPE taskWoken = pdFALSE; - 800c240: 2300 movs r3, #0 - 800c242: 613b str r3, [r7, #16] - TickType_t ticks; - - ticks = millisec / portTICK_PERIOD_MS; - 800c244: 687b ldr r3, [r7, #4] - 800c246: 617b str r3, [r7, #20] - if (ticks == 0) { - 800c248: 697b ldr r3, [r7, #20] - 800c24a: 2b00 cmp r3, #0 - 800c24c: d101 bne.n 800c252 - ticks = 1; - 800c24e: 2301 movs r3, #1 - 800c250: 617b str r3, [r7, #20] - } - - if (inHandlerMode()) { - 800c252: f7ff fddb bl 800be0c - 800c256: 4603 mov r3, r0 - 800c258: 2b00 cmp r3, #0 - 800c25a: d018 beq.n 800c28e - if (xQueueSendFromISR(queue_id, &info, &taskWoken) != pdTRUE) { - 800c25c: f107 0210 add.w r2, r7, #16 - 800c260: f107 0108 add.w r1, r7, #8 - 800c264: 2300 movs r3, #0 - 800c266: 68f8 ldr r0, [r7, #12] - 800c268: f000 fc50 bl 800cb0c - 800c26c: 4603 mov r3, r0 - 800c26e: 2b01 cmp r3, #1 - 800c270: d001 beq.n 800c276 - return osErrorOS; - 800c272: 23ff movs r3, #255 ; 0xff - 800c274: e018 b.n 800c2a8 - } - portEND_SWITCHING_ISR(taskWoken); - 800c276: 693b ldr r3, [r7, #16] - 800c278: 2b00 cmp r3, #0 - 800c27a: d014 beq.n 800c2a6 - 800c27c: 4b0c ldr r3, [pc, #48] ; (800c2b0 ) - 800c27e: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800c282: 601a str r2, [r3, #0] - 800c284: f3bf 8f4f dsb sy - 800c288: f3bf 8f6f isb sy - 800c28c: e00b b.n 800c2a6 - } - else { - if (xQueueSend(queue_id, &info, ticks) != pdTRUE) { - 800c28e: f107 0108 add.w r1, r7, #8 - 800c292: 2300 movs r3, #0 - 800c294: 697a ldr r2, [r7, #20] - 800c296: 68f8 ldr r0, [r7, #12] - 800c298: f000 fb36 bl 800c908 - 800c29c: 4603 mov r3, r0 - 800c29e: 2b01 cmp r3, #1 - 800c2a0: d001 beq.n 800c2a6 - return osErrorOS; - 800c2a2: 23ff movs r3, #255 ; 0xff - 800c2a4: e000 b.n 800c2a8 - } - } - - return osOK; - 800c2a6: 2300 movs r3, #0 -} - 800c2a8: 4618 mov r0, r3 - 800c2aa: 3718 adds r7, #24 - 800c2ac: 46bd mov sp, r7 - 800c2ae: bd80 pop {r7, pc} - 800c2b0: e000ed04 .word 0xe000ed04 - -0800c2b4 : -* @param millisec timeout value or 0 in case of no time-out. -* @retval event information that includes status code. -* @note MUST REMAIN UNCHANGED: \b osMessageGet shall be consistent in every CMSIS-RTOS. -*/ -osEvent osMessageGet (osMessageQId queue_id, uint32_t millisec) -{ - 800c2b4: b590 push {r4, r7, lr} - 800c2b6: b08b sub sp, #44 ; 0x2c - 800c2b8: af00 add r7, sp, #0 - 800c2ba: 60f8 str r0, [r7, #12] - 800c2bc: 60b9 str r1, [r7, #8] - 800c2be: 607a str r2, [r7, #4] - portBASE_TYPE taskWoken; - TickType_t ticks; - osEvent event; - - event.def.message_id = queue_id; - 800c2c0: 68bb ldr r3, [r7, #8] - 800c2c2: 61fb str r3, [r7, #28] - event.value.v = 0; - 800c2c4: 2300 movs r3, #0 - 800c2c6: 61bb str r3, [r7, #24] - - if (queue_id == NULL) { - 800c2c8: 68bb ldr r3, [r7, #8] - 800c2ca: 2b00 cmp r3, #0 - 800c2cc: d10a bne.n 800c2e4 - event.status = osErrorParameter; - 800c2ce: 2380 movs r3, #128 ; 0x80 - 800c2d0: 617b str r3, [r7, #20] - return event; - 800c2d2: 68fb ldr r3, [r7, #12] - 800c2d4: 461c mov r4, r3 - 800c2d6: f107 0314 add.w r3, r7, #20 - 800c2da: e893 0007 ldmia.w r3, {r0, r1, r2} - 800c2de: e884 0007 stmia.w r4, {r0, r1, r2} - 800c2e2: e054 b.n 800c38e - } - - taskWoken = pdFALSE; - 800c2e4: 2300 movs r3, #0 - 800c2e6: 623b str r3, [r7, #32] - - ticks = 0; - 800c2e8: 2300 movs r3, #0 - 800c2ea: 627b str r3, [r7, #36] ; 0x24 - if (millisec == osWaitForever) { - 800c2ec: 687b ldr r3, [r7, #4] - 800c2ee: f1b3 3fff cmp.w r3, #4294967295 - 800c2f2: d103 bne.n 800c2fc - ticks = portMAX_DELAY; - 800c2f4: f04f 33ff mov.w r3, #4294967295 - 800c2f8: 627b str r3, [r7, #36] ; 0x24 - 800c2fa: e009 b.n 800c310 - } - else if (millisec != 0) { - 800c2fc: 687b ldr r3, [r7, #4] - 800c2fe: 2b00 cmp r3, #0 - 800c300: d006 beq.n 800c310 - ticks = millisec / portTICK_PERIOD_MS; - 800c302: 687b ldr r3, [r7, #4] - 800c304: 627b str r3, [r7, #36] ; 0x24 - if (ticks == 0) { - 800c306: 6a7b ldr r3, [r7, #36] ; 0x24 - 800c308: 2b00 cmp r3, #0 - 800c30a: d101 bne.n 800c310 - ticks = 1; - 800c30c: 2301 movs r3, #1 - 800c30e: 627b str r3, [r7, #36] ; 0x24 - } - } - - if (inHandlerMode()) { - 800c310: f7ff fd7c bl 800be0c - 800c314: 4603 mov r3, r0 - 800c316: 2b00 cmp r3, #0 - 800c318: d01c beq.n 800c354 - if (xQueueReceiveFromISR(queue_id, &event.value.v, &taskWoken) == pdTRUE) { - 800c31a: f107 0220 add.w r2, r7, #32 - 800c31e: f107 0314 add.w r3, r7, #20 - 800c322: 3304 adds r3, #4 - 800c324: 4619 mov r1, r3 - 800c326: 68b8 ldr r0, [r7, #8] - 800c328: f000 ff10 bl 800d14c - 800c32c: 4603 mov r3, r0 - 800c32e: 2b01 cmp r3, #1 - 800c330: d102 bne.n 800c338 - /* We have mail */ - event.status = osEventMessage; - 800c332: 2310 movs r3, #16 - 800c334: 617b str r3, [r7, #20] - 800c336: e001 b.n 800c33c - } - else { - event.status = osOK; - 800c338: 2300 movs r3, #0 - 800c33a: 617b str r3, [r7, #20] - } - portEND_SWITCHING_ISR(taskWoken); - 800c33c: 6a3b ldr r3, [r7, #32] - 800c33e: 2b00 cmp r3, #0 - 800c340: d01d beq.n 800c37e - 800c342: 4b15 ldr r3, [pc, #84] ; (800c398 ) - 800c344: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800c348: 601a str r2, [r3, #0] - 800c34a: f3bf 8f4f dsb sy - 800c34e: f3bf 8f6f isb sy - 800c352: e014 b.n 800c37e - } - else { - if (xQueueReceive(queue_id, &event.value.v, ticks) == pdTRUE) { - 800c354: f107 0314 add.w r3, r7, #20 - 800c358: 3304 adds r3, #4 - 800c35a: 6a7a ldr r2, [r7, #36] ; 0x24 - 800c35c: 4619 mov r1, r3 - 800c35e: 68b8 ldr r0, [r7, #8] - 800c360: f000 fd02 bl 800cd68 - 800c364: 4603 mov r3, r0 - 800c366: 2b01 cmp r3, #1 - 800c368: d102 bne.n 800c370 - /* We have mail */ - event.status = osEventMessage; - 800c36a: 2310 movs r3, #16 - 800c36c: 617b str r3, [r7, #20] - 800c36e: e006 b.n 800c37e - } - else { - event.status = (ticks == 0) ? osOK : osEventTimeout; - 800c370: 6a7b ldr r3, [r7, #36] ; 0x24 - 800c372: 2b00 cmp r3, #0 - 800c374: d101 bne.n 800c37a - 800c376: 2300 movs r3, #0 - 800c378: e000 b.n 800c37c - 800c37a: 2340 movs r3, #64 ; 0x40 - 800c37c: 617b str r3, [r7, #20] - } - } - - return event; - 800c37e: 68fb ldr r3, [r7, #12] - 800c380: 461c mov r4, r3 - 800c382: f107 0314 add.w r3, r7, #20 - 800c386: e893 0007 ldmia.w r3, {r0, r1, r2} - 800c38a: e884 0007 stmia.w r4, {r0, r1, r2} -} - 800c38e: 68f8 ldr r0, [r7, #12] - 800c390: 372c adds r7, #44 ; 0x2c - 800c392: 46bd mov sp, r7 - 800c394: bd90 pop {r4, r7, pc} - 800c396: bf00 nop - 800c398: e000ed04 .word 0xe000ed04 - -0800c39c : -/*----------------------------------------------------------- - * PUBLIC LIST API documented in list.h - *----------------------------------------------------------*/ - -void vListInitialise( List_t * const pxList ) -{ - 800c39c: b480 push {r7} - 800c39e: b083 sub sp, #12 - 800c3a0: af00 add r7, sp, #0 - 800c3a2: 6078 str r0, [r7, #4] - /* The list structure contains a list item which is used to mark the - end of the list. To initialise the list the list end is inserted - as the only list entry. */ - pxList->pxIndex = ( ListItem_t * ) &( pxList->xListEnd ); /*lint !e826 !e740 !e9087 The mini list structure is used as the list end to save RAM. This is checked and valid. */ - 800c3a4: 687b ldr r3, [r7, #4] - 800c3a6: f103 0208 add.w r2, r3, #8 - 800c3aa: 687b ldr r3, [r7, #4] - 800c3ac: 605a str r2, [r3, #4] - - /* The list end value is the highest possible value in the list to - ensure it remains at the end of the list. */ - pxList->xListEnd.xItemValue = portMAX_DELAY; - 800c3ae: 687b ldr r3, [r7, #4] - 800c3b0: f04f 32ff mov.w r2, #4294967295 - 800c3b4: 609a str r2, [r3, #8] - - /* The list end next and previous pointers point to itself so we know - when the list is empty. */ - pxList->xListEnd.pxNext = ( ListItem_t * ) &( pxList->xListEnd ); /*lint !e826 !e740 !e9087 The mini list structure is used as the list end to save RAM. This is checked and valid. */ - 800c3b6: 687b ldr r3, [r7, #4] - 800c3b8: f103 0208 add.w r2, r3, #8 - 800c3bc: 687b ldr r3, [r7, #4] - 800c3be: 60da str r2, [r3, #12] - pxList->xListEnd.pxPrevious = ( ListItem_t * ) &( pxList->xListEnd );/*lint !e826 !e740 !e9087 The mini list structure is used as the list end to save RAM. This is checked and valid. */ - 800c3c0: 687b ldr r3, [r7, #4] - 800c3c2: f103 0208 add.w r2, r3, #8 - 800c3c6: 687b ldr r3, [r7, #4] - 800c3c8: 611a str r2, [r3, #16] - - pxList->uxNumberOfItems = ( UBaseType_t ) 0U; - 800c3ca: 687b ldr r3, [r7, #4] - 800c3cc: 2200 movs r2, #0 - 800c3ce: 601a str r2, [r3, #0] - - /* Write known values into the list if - configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */ - listSET_LIST_INTEGRITY_CHECK_1_VALUE( pxList ); - listSET_LIST_INTEGRITY_CHECK_2_VALUE( pxList ); -} - 800c3d0: bf00 nop - 800c3d2: 370c adds r7, #12 - 800c3d4: 46bd mov sp, r7 - 800c3d6: f85d 7b04 ldr.w r7, [sp], #4 - 800c3da: 4770 bx lr - -0800c3dc : -/*-----------------------------------------------------------*/ - -void vListInitialiseItem( ListItem_t * const pxItem ) -{ - 800c3dc: b480 push {r7} - 800c3de: b083 sub sp, #12 - 800c3e0: af00 add r7, sp, #0 - 800c3e2: 6078 str r0, [r7, #4] - /* Make sure the list item is not recorded as being on a list. */ - pxItem->pxContainer = NULL; - 800c3e4: 687b ldr r3, [r7, #4] - 800c3e6: 2200 movs r2, #0 - 800c3e8: 611a str r2, [r3, #16] - - /* Write known values into the list item if - configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */ - listSET_FIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE( pxItem ); - listSET_SECOND_LIST_ITEM_INTEGRITY_CHECK_VALUE( pxItem ); -} - 800c3ea: bf00 nop - 800c3ec: 370c adds r7, #12 - 800c3ee: 46bd mov sp, r7 - 800c3f0: f85d 7b04 ldr.w r7, [sp], #4 - 800c3f4: 4770 bx lr - -0800c3f6 : -/*-----------------------------------------------------------*/ - -void vListInsertEnd( List_t * const pxList, ListItem_t * const pxNewListItem ) -{ - 800c3f6: b480 push {r7} - 800c3f8: b085 sub sp, #20 - 800c3fa: af00 add r7, sp, #0 - 800c3fc: 6078 str r0, [r7, #4] - 800c3fe: 6039 str r1, [r7, #0] -ListItem_t * const pxIndex = pxList->pxIndex; - 800c400: 687b ldr r3, [r7, #4] - 800c402: 685b ldr r3, [r3, #4] - 800c404: 60fb str r3, [r7, #12] - listTEST_LIST_ITEM_INTEGRITY( pxNewListItem ); - - /* Insert a new list item into pxList, but rather than sort the list, - makes the new list item the last item to be removed by a call to - listGET_OWNER_OF_NEXT_ENTRY(). */ - pxNewListItem->pxNext = pxIndex; - 800c406: 683b ldr r3, [r7, #0] - 800c408: 68fa ldr r2, [r7, #12] - 800c40a: 605a str r2, [r3, #4] - pxNewListItem->pxPrevious = pxIndex->pxPrevious; - 800c40c: 68fb ldr r3, [r7, #12] - 800c40e: 689a ldr r2, [r3, #8] - 800c410: 683b ldr r3, [r7, #0] - 800c412: 609a str r2, [r3, #8] - - /* Only used during decision coverage testing. */ - mtCOVERAGE_TEST_DELAY(); - - pxIndex->pxPrevious->pxNext = pxNewListItem; - 800c414: 68fb ldr r3, [r7, #12] - 800c416: 689b ldr r3, [r3, #8] - 800c418: 683a ldr r2, [r7, #0] - 800c41a: 605a str r2, [r3, #4] - pxIndex->pxPrevious = pxNewListItem; - 800c41c: 68fb ldr r3, [r7, #12] - 800c41e: 683a ldr r2, [r7, #0] - 800c420: 609a str r2, [r3, #8] - - /* Remember which list the item is in. */ - pxNewListItem->pxContainer = pxList; - 800c422: 683b ldr r3, [r7, #0] - 800c424: 687a ldr r2, [r7, #4] - 800c426: 611a str r2, [r3, #16] - - ( pxList->uxNumberOfItems )++; - 800c428: 687b ldr r3, [r7, #4] - 800c42a: 681b ldr r3, [r3, #0] - 800c42c: 1c5a adds r2, r3, #1 - 800c42e: 687b ldr r3, [r7, #4] - 800c430: 601a str r2, [r3, #0] -} - 800c432: bf00 nop - 800c434: 3714 adds r7, #20 - 800c436: 46bd mov sp, r7 - 800c438: f85d 7b04 ldr.w r7, [sp], #4 - 800c43c: 4770 bx lr - -0800c43e : -/*-----------------------------------------------------------*/ - -void vListInsert( List_t * const pxList, ListItem_t * const pxNewListItem ) -{ - 800c43e: b480 push {r7} - 800c440: b085 sub sp, #20 - 800c442: af00 add r7, sp, #0 - 800c444: 6078 str r0, [r7, #4] - 800c446: 6039 str r1, [r7, #0] -ListItem_t *pxIterator; -const TickType_t xValueOfInsertion = pxNewListItem->xItemValue; - 800c448: 683b ldr r3, [r7, #0] - 800c44a: 681b ldr r3, [r3, #0] - 800c44c: 60bb str r3, [r7, #8] - new list item should be placed after it. This ensures that TCBs which are - stored in ready lists (all of which have the same xItemValue value) get a - share of the CPU. However, if the xItemValue is the same as the back marker - the iteration loop below will not end. Therefore the value is checked - first, and the algorithm slightly modified if necessary. */ - if( xValueOfInsertion == portMAX_DELAY ) - 800c44e: 68bb ldr r3, [r7, #8] - 800c450: f1b3 3fff cmp.w r3, #4294967295 - 800c454: d103 bne.n 800c45e - { - pxIterator = pxList->xListEnd.pxPrevious; - 800c456: 687b ldr r3, [r7, #4] - 800c458: 691b ldr r3, [r3, #16] - 800c45a: 60fb str r3, [r7, #12] - 800c45c: e00c b.n 800c478 - 4) Using a queue or semaphore before it has been initialised or - before the scheduler has been started (are interrupts firing - before vTaskStartScheduler() has been called?). - **********************************************************************/ - - for( pxIterator = ( ListItem_t * ) &( pxList->xListEnd ); pxIterator->pxNext->xItemValue <= xValueOfInsertion; pxIterator = pxIterator->pxNext ) /*lint !e826 !e740 !e9087 The mini list structure is used as the list end to save RAM. This is checked and valid. *//*lint !e440 The iterator moves to a different value, not xValueOfInsertion. */ - 800c45e: 687b ldr r3, [r7, #4] - 800c460: 3308 adds r3, #8 - 800c462: 60fb str r3, [r7, #12] - 800c464: e002 b.n 800c46c - 800c466: 68fb ldr r3, [r7, #12] - 800c468: 685b ldr r3, [r3, #4] - 800c46a: 60fb str r3, [r7, #12] - 800c46c: 68fb ldr r3, [r7, #12] - 800c46e: 685b ldr r3, [r3, #4] - 800c470: 681b ldr r3, [r3, #0] - 800c472: 68ba ldr r2, [r7, #8] - 800c474: 429a cmp r2, r3 - 800c476: d2f6 bcs.n 800c466 - /* There is nothing to do here, just iterating to the wanted - insertion position. */ - } - } - - pxNewListItem->pxNext = pxIterator->pxNext; - 800c478: 68fb ldr r3, [r7, #12] - 800c47a: 685a ldr r2, [r3, #4] - 800c47c: 683b ldr r3, [r7, #0] - 800c47e: 605a str r2, [r3, #4] - pxNewListItem->pxNext->pxPrevious = pxNewListItem; - 800c480: 683b ldr r3, [r7, #0] - 800c482: 685b ldr r3, [r3, #4] - 800c484: 683a ldr r2, [r7, #0] - 800c486: 609a str r2, [r3, #8] - pxNewListItem->pxPrevious = pxIterator; - 800c488: 683b ldr r3, [r7, #0] - 800c48a: 68fa ldr r2, [r7, #12] - 800c48c: 609a str r2, [r3, #8] - pxIterator->pxNext = pxNewListItem; - 800c48e: 68fb ldr r3, [r7, #12] - 800c490: 683a ldr r2, [r7, #0] - 800c492: 605a str r2, [r3, #4] - - /* Remember which list the item is in. This allows fast removal of the - item later. */ - pxNewListItem->pxContainer = pxList; - 800c494: 683b ldr r3, [r7, #0] - 800c496: 687a ldr r2, [r7, #4] - 800c498: 611a str r2, [r3, #16] - - ( pxList->uxNumberOfItems )++; - 800c49a: 687b ldr r3, [r7, #4] - 800c49c: 681b ldr r3, [r3, #0] - 800c49e: 1c5a adds r2, r3, #1 - 800c4a0: 687b ldr r3, [r7, #4] - 800c4a2: 601a str r2, [r3, #0] -} - 800c4a4: bf00 nop - 800c4a6: 3714 adds r7, #20 - 800c4a8: 46bd mov sp, r7 - 800c4aa: f85d 7b04 ldr.w r7, [sp], #4 - 800c4ae: 4770 bx lr - -0800c4b0 : -/*-----------------------------------------------------------*/ - -UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove ) -{ - 800c4b0: b480 push {r7} - 800c4b2: b085 sub sp, #20 - 800c4b4: af00 add r7, sp, #0 - 800c4b6: 6078 str r0, [r7, #4] -/* The list item knows which list it is in. Obtain the list from the list -item. */ -List_t * const pxList = pxItemToRemove->pxContainer; - 800c4b8: 687b ldr r3, [r7, #4] - 800c4ba: 691b ldr r3, [r3, #16] - 800c4bc: 60fb str r3, [r7, #12] - - pxItemToRemove->pxNext->pxPrevious = pxItemToRemove->pxPrevious; - 800c4be: 687b ldr r3, [r7, #4] - 800c4c0: 685b ldr r3, [r3, #4] - 800c4c2: 687a ldr r2, [r7, #4] - 800c4c4: 6892 ldr r2, [r2, #8] - 800c4c6: 609a str r2, [r3, #8] - pxItemToRemove->pxPrevious->pxNext = pxItemToRemove->pxNext; - 800c4c8: 687b ldr r3, [r7, #4] - 800c4ca: 689b ldr r3, [r3, #8] - 800c4cc: 687a ldr r2, [r7, #4] - 800c4ce: 6852 ldr r2, [r2, #4] - 800c4d0: 605a str r2, [r3, #4] - - /* Only used during decision coverage testing. */ - mtCOVERAGE_TEST_DELAY(); - - /* Make sure the index is left pointing to a valid item. */ - if( pxList->pxIndex == pxItemToRemove ) - 800c4d2: 68fb ldr r3, [r7, #12] - 800c4d4: 685b ldr r3, [r3, #4] - 800c4d6: 687a ldr r2, [r7, #4] - 800c4d8: 429a cmp r2, r3 - 800c4da: d103 bne.n 800c4e4 - { - pxList->pxIndex = pxItemToRemove->pxPrevious; - 800c4dc: 687b ldr r3, [r7, #4] - 800c4de: 689a ldr r2, [r3, #8] - 800c4e0: 68fb ldr r3, [r7, #12] - 800c4e2: 605a str r2, [r3, #4] - else - { - mtCOVERAGE_TEST_MARKER(); - } - - pxItemToRemove->pxContainer = NULL; - 800c4e4: 687b ldr r3, [r7, #4] - 800c4e6: 2200 movs r2, #0 - 800c4e8: 611a str r2, [r3, #16] - ( pxList->uxNumberOfItems )--; - 800c4ea: 68fb ldr r3, [r7, #12] - 800c4ec: 681b ldr r3, [r3, #0] - 800c4ee: 1e5a subs r2, r3, #1 - 800c4f0: 68fb ldr r3, [r7, #12] - 800c4f2: 601a str r2, [r3, #0] - - return pxList->uxNumberOfItems; - 800c4f4: 68fb ldr r3, [r7, #12] - 800c4f6: 681b ldr r3, [r3, #0] -} - 800c4f8: 4618 mov r0, r3 - 800c4fa: 3714 adds r7, #20 - 800c4fc: 46bd mov sp, r7 - 800c4fe: f85d 7b04 ldr.w r7, [sp], #4 - 800c502: 4770 bx lr - -0800c504 : - } \ - taskEXIT_CRITICAL() -/*-----------------------------------------------------------*/ - -BaseType_t xQueueGenericReset( QueueHandle_t xQueue, BaseType_t xNewQueue ) -{ - 800c504: b580 push {r7, lr} - 800c506: b084 sub sp, #16 - 800c508: af00 add r7, sp, #0 - 800c50a: 6078 str r0, [r7, #4] - 800c50c: 6039 str r1, [r7, #0] -Queue_t * const pxQueue = xQueue; - 800c50e: 687b ldr r3, [r7, #4] - 800c510: 60fb str r3, [r7, #12] - - configASSERT( pxQueue ); - 800c512: 68fb ldr r3, [r7, #12] - 800c514: 2b00 cmp r3, #0 - 800c516: d10b bne.n 800c530 - -portFORCE_INLINE static void vPortRaiseBASEPRI( void ) -{ -uint32_t ulNewBASEPRI; - - __asm volatile - 800c518: f04f 0350 mov.w r3, #80 ; 0x50 - 800c51c: b672 cpsid i - 800c51e: f383 8811 msr BASEPRI, r3 - 800c522: f3bf 8f6f isb sy - 800c526: f3bf 8f4f dsb sy - 800c52a: b662 cpsie i - 800c52c: 60bb str r3, [r7, #8] - 800c52e: e7fe b.n 800c52e - - taskENTER_CRITICAL(); - 800c530: f002 fa3a bl 800e9a8 - { - pxQueue->u.xQueue.pcTail = pxQueue->pcHead + ( pxQueue->uxLength * pxQueue->uxItemSize ); /*lint !e9016 Pointer arithmetic allowed on char types, especially when it assists conveying intent. */ - 800c534: 68fb ldr r3, [r7, #12] - 800c536: 681a ldr r2, [r3, #0] - 800c538: 68fb ldr r3, [r7, #12] - 800c53a: 6bdb ldr r3, [r3, #60] ; 0x3c - 800c53c: 68f9 ldr r1, [r7, #12] - 800c53e: 6c09 ldr r1, [r1, #64] ; 0x40 - 800c540: fb01 f303 mul.w r3, r1, r3 - 800c544: 441a add r2, r3 - 800c546: 68fb ldr r3, [r7, #12] - 800c548: 609a str r2, [r3, #8] - pxQueue->uxMessagesWaiting = ( UBaseType_t ) 0U; - 800c54a: 68fb ldr r3, [r7, #12] - 800c54c: 2200 movs r2, #0 - 800c54e: 639a str r2, [r3, #56] ; 0x38 - pxQueue->pcWriteTo = pxQueue->pcHead; - 800c550: 68fb ldr r3, [r7, #12] - 800c552: 681a ldr r2, [r3, #0] - 800c554: 68fb ldr r3, [r7, #12] - 800c556: 605a str r2, [r3, #4] - pxQueue->u.xQueue.pcReadFrom = pxQueue->pcHead + ( ( pxQueue->uxLength - 1U ) * pxQueue->uxItemSize ); /*lint !e9016 Pointer arithmetic allowed on char types, especially when it assists conveying intent. */ - 800c558: 68fb ldr r3, [r7, #12] - 800c55a: 681a ldr r2, [r3, #0] - 800c55c: 68fb ldr r3, [r7, #12] - 800c55e: 6bdb ldr r3, [r3, #60] ; 0x3c - 800c560: 3b01 subs r3, #1 - 800c562: 68f9 ldr r1, [r7, #12] - 800c564: 6c09 ldr r1, [r1, #64] ; 0x40 - 800c566: fb01 f303 mul.w r3, r1, r3 - 800c56a: 441a add r2, r3 - 800c56c: 68fb ldr r3, [r7, #12] - 800c56e: 60da str r2, [r3, #12] - pxQueue->cRxLock = queueUNLOCKED; - 800c570: 68fb ldr r3, [r7, #12] - 800c572: 22ff movs r2, #255 ; 0xff - 800c574: f883 2044 strb.w r2, [r3, #68] ; 0x44 - pxQueue->cTxLock = queueUNLOCKED; - 800c578: 68fb ldr r3, [r7, #12] - 800c57a: 22ff movs r2, #255 ; 0xff - 800c57c: f883 2045 strb.w r2, [r3, #69] ; 0x45 - - if( xNewQueue == pdFALSE ) - 800c580: 683b ldr r3, [r7, #0] - 800c582: 2b00 cmp r3, #0 - 800c584: d114 bne.n 800c5b0 - /* If there are tasks blocked waiting to read from the queue, then - the tasks will remain blocked as after this function exits the queue - will still be empty. If there are tasks blocked waiting to write to - the queue, then one should be unblocked as after this function exits - it will be possible to write to it. */ - if( listLIST_IS_EMPTY( &( pxQueue->xTasksWaitingToSend ) ) == pdFALSE ) - 800c586: 68fb ldr r3, [r7, #12] - 800c588: 691b ldr r3, [r3, #16] - 800c58a: 2b00 cmp r3, #0 - 800c58c: d01a beq.n 800c5c4 - { - if( xTaskRemoveFromEventList( &( pxQueue->xTasksWaitingToSend ) ) != pdFALSE ) - 800c58e: 68fb ldr r3, [r7, #12] - 800c590: 3310 adds r3, #16 - 800c592: 4618 mov r0, r3 - 800c594: f001 fd00 bl 800df98 - 800c598: 4603 mov r3, r0 - 800c59a: 2b00 cmp r3, #0 - 800c59c: d012 beq.n 800c5c4 - { - queueYIELD_IF_USING_PREEMPTION(); - 800c59e: 4b0d ldr r3, [pc, #52] ; (800c5d4 ) - 800c5a0: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800c5a4: 601a str r2, [r3, #0] - 800c5a6: f3bf 8f4f dsb sy - 800c5aa: f3bf 8f6f isb sy - 800c5ae: e009 b.n 800c5c4 - } - } - else - { - /* Ensure the event queues start in the correct state. */ - vListInitialise( &( pxQueue->xTasksWaitingToSend ) ); - 800c5b0: 68fb ldr r3, [r7, #12] - 800c5b2: 3310 adds r3, #16 - 800c5b4: 4618 mov r0, r3 - 800c5b6: f7ff fef1 bl 800c39c - vListInitialise( &( pxQueue->xTasksWaitingToReceive ) ); - 800c5ba: 68fb ldr r3, [r7, #12] - 800c5bc: 3324 adds r3, #36 ; 0x24 - 800c5be: 4618 mov r0, r3 - 800c5c0: f7ff feec bl 800c39c - } - } - taskEXIT_CRITICAL(); - 800c5c4: f002 fa22 bl 800ea0c - - /* A value is returned for calling semantic consistency with previous - versions. */ - return pdPASS; - 800c5c8: 2301 movs r3, #1 -} - 800c5ca: 4618 mov r0, r3 - 800c5cc: 3710 adds r7, #16 - 800c5ce: 46bd mov sp, r7 - 800c5d0: bd80 pop {r7, pc} - 800c5d2: bf00 nop - 800c5d4: e000ed04 .word 0xe000ed04 - -0800c5d8 : +0800c174 : /*-----------------------------------------------------------*/ #if( configSUPPORT_STATIC_ALLOCATION == 1 ) QueueHandle_t xQueueGenericCreateStatic( const UBaseType_t uxQueueLength, const UBaseType_t uxItemSize, uint8_t *pucQueueStorage, StaticQueue_t *pxStaticQueue, const uint8_t ucQueueType ) { - 800c5d8: b580 push {r7, lr} - 800c5da: b08e sub sp, #56 ; 0x38 - 800c5dc: af02 add r7, sp, #8 - 800c5de: 60f8 str r0, [r7, #12] - 800c5e0: 60b9 str r1, [r7, #8] - 800c5e2: 607a str r2, [r7, #4] - 800c5e4: 603b str r3, [r7, #0] + 800c174: b580 push {r7, lr} + 800c176: b08e sub sp, #56 ; 0x38 + 800c178: af02 add r7, sp, #8 + 800c17a: 60f8 str r0, [r7, #12] + 800c17c: 60b9 str r1, [r7, #8] + 800c17e: 607a str r2, [r7, #4] + 800c180: 603b str r3, [r7, #0] Queue_t *pxNewQueue; configASSERT( uxQueueLength > ( UBaseType_t ) 0 ); - 800c5e6: 68fb ldr r3, [r7, #12] - 800c5e8: 2b00 cmp r3, #0 - 800c5ea: d10b bne.n 800c604 - 800c5ec: f04f 0350 mov.w r3, #80 ; 0x50 - 800c5f0: b672 cpsid i - 800c5f2: f383 8811 msr BASEPRI, r3 - 800c5f6: f3bf 8f6f isb sy - 800c5fa: f3bf 8f4f dsb sy - 800c5fe: b662 cpsie i - 800c600: 62bb str r3, [r7, #40] ; 0x28 - 800c602: e7fe b.n 800c602 + 800c182: 68fb ldr r3, [r7, #12] + 800c184: 2b00 cmp r3, #0 + 800c186: d10b bne.n 800c1a0 + 800c188: f04f 0350 mov.w r3, #80 ; 0x50 + 800c18c: b672 cpsid i + 800c18e: f383 8811 msr BASEPRI, r3 + 800c192: f3bf 8f6f isb sy + 800c196: f3bf 8f4f dsb sy + 800c19a: b662 cpsie i + 800c19c: 62bb str r3, [r7, #40] ; 0x28 + 800c19e: e7fe b.n 800c19e /* The StaticQueue_t structure and the queue storage area must be supplied. */ configASSERT( pxStaticQueue != NULL ); - 800c604: 683b ldr r3, [r7, #0] - 800c606: 2b00 cmp r3, #0 - 800c608: d10b bne.n 800c622 - 800c60a: f04f 0350 mov.w r3, #80 ; 0x50 - 800c60e: b672 cpsid i - 800c610: f383 8811 msr BASEPRI, r3 - 800c614: f3bf 8f6f isb sy - 800c618: f3bf 8f4f dsb sy - 800c61c: b662 cpsie i - 800c61e: 627b str r3, [r7, #36] ; 0x24 - 800c620: e7fe b.n 800c620 + 800c1a0: 683b ldr r3, [r7, #0] + 800c1a2: 2b00 cmp r3, #0 + 800c1a4: d10b bne.n 800c1be + 800c1a6: f04f 0350 mov.w r3, #80 ; 0x50 + 800c1aa: b672 cpsid i + 800c1ac: f383 8811 msr BASEPRI, r3 + 800c1b0: f3bf 8f6f isb sy + 800c1b4: f3bf 8f4f dsb sy + 800c1b8: b662 cpsie i + 800c1ba: 627b str r3, [r7, #36] ; 0x24 + 800c1bc: e7fe b.n 800c1bc /* A queue storage area should be provided if the item size is not 0, and should not be provided if the item size is 0. */ configASSERT( !( ( pucQueueStorage != NULL ) && ( uxItemSize == 0 ) ) ); - 800c622: 687b ldr r3, [r7, #4] - 800c624: 2b00 cmp r3, #0 - 800c626: d002 beq.n 800c62e - 800c628: 68bb ldr r3, [r7, #8] - 800c62a: 2b00 cmp r3, #0 - 800c62c: d001 beq.n 800c632 - 800c62e: 2301 movs r3, #1 - 800c630: e000 b.n 800c634 - 800c632: 2300 movs r3, #0 - 800c634: 2b00 cmp r3, #0 - 800c636: d10b bne.n 800c650 - 800c638: f04f 0350 mov.w r3, #80 ; 0x50 - 800c63c: b672 cpsid i - 800c63e: f383 8811 msr BASEPRI, r3 - 800c642: f3bf 8f6f isb sy - 800c646: f3bf 8f4f dsb sy - 800c64a: b662 cpsie i - 800c64c: 623b str r3, [r7, #32] - 800c64e: e7fe b.n 800c64e + 800c1be: 687b ldr r3, [r7, #4] + 800c1c0: 2b00 cmp r3, #0 + 800c1c2: d002 beq.n 800c1ca + 800c1c4: 68bb ldr r3, [r7, #8] + 800c1c6: 2b00 cmp r3, #0 + 800c1c8: d001 beq.n 800c1ce + 800c1ca: 2301 movs r3, #1 + 800c1cc: e000 b.n 800c1d0 + 800c1ce: 2300 movs r3, #0 + 800c1d0: 2b00 cmp r3, #0 + 800c1d2: d10b bne.n 800c1ec + 800c1d4: f04f 0350 mov.w r3, #80 ; 0x50 + 800c1d8: b672 cpsid i + 800c1da: f383 8811 msr BASEPRI, r3 + 800c1de: f3bf 8f6f isb sy + 800c1e2: f3bf 8f4f dsb sy + 800c1e6: b662 cpsie i + 800c1e8: 623b str r3, [r7, #32] + 800c1ea: e7fe b.n 800c1ea configASSERT( !( ( pucQueueStorage == NULL ) && ( uxItemSize != 0 ) ) ); - 800c650: 687b ldr r3, [r7, #4] - 800c652: 2b00 cmp r3, #0 - 800c654: d102 bne.n 800c65c - 800c656: 68bb ldr r3, [r7, #8] - 800c658: 2b00 cmp r3, #0 - 800c65a: d101 bne.n 800c660 - 800c65c: 2301 movs r3, #1 - 800c65e: e000 b.n 800c662 - 800c660: 2300 movs r3, #0 - 800c662: 2b00 cmp r3, #0 - 800c664: d10b bne.n 800c67e - 800c666: f04f 0350 mov.w r3, #80 ; 0x50 - 800c66a: b672 cpsid i - 800c66c: f383 8811 msr BASEPRI, r3 - 800c670: f3bf 8f6f isb sy - 800c674: f3bf 8f4f dsb sy - 800c678: b662 cpsie i - 800c67a: 61fb str r3, [r7, #28] - 800c67c: e7fe b.n 800c67c + 800c1ec: 687b ldr r3, [r7, #4] + 800c1ee: 2b00 cmp r3, #0 + 800c1f0: d102 bne.n 800c1f8 + 800c1f2: 68bb ldr r3, [r7, #8] + 800c1f4: 2b00 cmp r3, #0 + 800c1f6: d101 bne.n 800c1fc + 800c1f8: 2301 movs r3, #1 + 800c1fa: e000 b.n 800c1fe + 800c1fc: 2300 movs r3, #0 + 800c1fe: 2b00 cmp r3, #0 + 800c200: d10b bne.n 800c21a + 800c202: f04f 0350 mov.w r3, #80 ; 0x50 + 800c206: b672 cpsid i + 800c208: f383 8811 msr BASEPRI, r3 + 800c20c: f3bf 8f6f isb sy + 800c210: f3bf 8f4f dsb sy + 800c214: b662 cpsie i + 800c216: 61fb str r3, [r7, #28] + 800c218: e7fe b.n 800c218 #if( configASSERT_DEFINED == 1 ) { /* Sanity check that the size of the structure used to declare a variable of type StaticQueue_t or StaticSemaphore_t equals the size of the real queue and semaphore structures. */ volatile size_t xSize = sizeof( StaticQueue_t ); - 800c67e: 2348 movs r3, #72 ; 0x48 - 800c680: 617b str r3, [r7, #20] + 800c21a: 2348 movs r3, #72 ; 0x48 + 800c21c: 617b str r3, [r7, #20] configASSERT( xSize == sizeof( Queue_t ) ); - 800c682: 697b ldr r3, [r7, #20] - 800c684: 2b48 cmp r3, #72 ; 0x48 - 800c686: d00b beq.n 800c6a0 - 800c688: f04f 0350 mov.w r3, #80 ; 0x50 - 800c68c: b672 cpsid i - 800c68e: f383 8811 msr BASEPRI, r3 - 800c692: f3bf 8f6f isb sy - 800c696: f3bf 8f4f dsb sy - 800c69a: b662 cpsie i - 800c69c: 61bb str r3, [r7, #24] - 800c69e: e7fe b.n 800c69e + 800c21e: 697b ldr r3, [r7, #20] + 800c220: 2b48 cmp r3, #72 ; 0x48 + 800c222: d00b beq.n 800c23c + 800c224: f04f 0350 mov.w r3, #80 ; 0x50 + 800c228: b672 cpsid i + 800c22a: f383 8811 msr BASEPRI, r3 + 800c22e: f3bf 8f6f isb sy + 800c232: f3bf 8f4f dsb sy + 800c236: b662 cpsie i + 800c238: 61bb str r3, [r7, #24] + 800c23a: e7fe b.n 800c23a ( void ) xSize; /* Keeps lint quiet when configASSERT() is not defined. */ - 800c6a0: 697b ldr r3, [r7, #20] + 800c23c: 697b ldr r3, [r7, #20] #endif /* configASSERT_DEFINED */ /* The address of a statically allocated queue was passed in, use it. The address of a statically allocated storage area was also passed in but is already set. */ pxNewQueue = ( Queue_t * ) pxStaticQueue; /*lint !e740 !e9087 Unusual cast is ok as the structures are designed to have the same alignment, and the size is checked by an assert. */ - 800c6a2: 683b ldr r3, [r7, #0] - 800c6a4: 62fb str r3, [r7, #44] ; 0x2c + 800c23e: 683b ldr r3, [r7, #0] + 800c240: 62fb str r3, [r7, #44] ; 0x2c if( pxNewQueue != NULL ) - 800c6a6: 6afb ldr r3, [r7, #44] ; 0x2c - 800c6a8: 2b00 cmp r3, #0 - 800c6aa: d00d beq.n 800c6c8 + 800c242: 6afb ldr r3, [r7, #44] ; 0x2c + 800c244: 2b00 cmp r3, #0 + 800c246: d00d beq.n 800c264 #if( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) { /* Queues can be allocated wither statically or dynamically, so note this queue was allocated statically in case the queue is later deleted. */ pxNewQueue->ucStaticallyAllocated = pdTRUE; - 800c6ac: 6afb ldr r3, [r7, #44] ; 0x2c - 800c6ae: 2201 movs r2, #1 - 800c6b0: f883 2046 strb.w r2, [r3, #70] ; 0x46 + 800c248: 6afb ldr r3, [r7, #44] ; 0x2c + 800c24a: 2201 movs r2, #1 + 800c24c: f883 2046 strb.w r2, [r3, #70] ; 0x46 } #endif /* configSUPPORT_DYNAMIC_ALLOCATION */ prvInitialiseNewQueue( uxQueueLength, uxItemSize, pucQueueStorage, ucQueueType, pxNewQueue ); - 800c6b4: f897 2038 ldrb.w r2, [r7, #56] ; 0x38 - 800c6b8: 6afb ldr r3, [r7, #44] ; 0x2c - 800c6ba: 9300 str r3, [sp, #0] - 800c6bc: 4613 mov r3, r2 - 800c6be: 687a ldr r2, [r7, #4] - 800c6c0: 68b9 ldr r1, [r7, #8] - 800c6c2: 68f8 ldr r0, [r7, #12] - 800c6c4: f000 f846 bl 800c754 + 800c250: f897 2038 ldrb.w r2, [r7, #56] ; 0x38 + 800c254: 6afb ldr r3, [r7, #44] ; 0x2c + 800c256: 9300 str r3, [sp, #0] + 800c258: 4613 mov r3, r2 + 800c25a: 687a ldr r2, [r7, #4] + 800c25c: 68b9 ldr r1, [r7, #8] + 800c25e: 68f8 ldr r0, [r7, #12] + 800c260: f000 f846 bl 800c2f0 { traceQUEUE_CREATE_FAILED( ucQueueType ); mtCOVERAGE_TEST_MARKER(); } return pxNewQueue; - 800c6c8: 6afb ldr r3, [r7, #44] ; 0x2c + 800c264: 6afb ldr r3, [r7, #44] ; 0x2c } - 800c6ca: 4618 mov r0, r3 - 800c6cc: 3730 adds r7, #48 ; 0x30 - 800c6ce: 46bd mov sp, r7 - 800c6d0: bd80 pop {r7, pc} + 800c266: 4618 mov r0, r3 + 800c268: 3730 adds r7, #48 ; 0x30 + 800c26a: 46bd mov sp, r7 + 800c26c: bd80 pop {r7, pc} -0800c6d2 : +0800c26e : /*-----------------------------------------------------------*/ #if( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) QueueHandle_t xQueueGenericCreate( const UBaseType_t uxQueueLength, const UBaseType_t uxItemSize, const uint8_t ucQueueType ) { - 800c6d2: b580 push {r7, lr} - 800c6d4: b08a sub sp, #40 ; 0x28 - 800c6d6: af02 add r7, sp, #8 - 800c6d8: 60f8 str r0, [r7, #12] - 800c6da: 60b9 str r1, [r7, #8] - 800c6dc: 4613 mov r3, r2 - 800c6de: 71fb strb r3, [r7, #7] + 800c26e: b580 push {r7, lr} + 800c270: b08a sub sp, #40 ; 0x28 + 800c272: af02 add r7, sp, #8 + 800c274: 60f8 str r0, [r7, #12] + 800c276: 60b9 str r1, [r7, #8] + 800c278: 4613 mov r3, r2 + 800c27a: 71fb strb r3, [r7, #7] Queue_t *pxNewQueue; size_t xQueueSizeInBytes; uint8_t *pucQueueStorage; configASSERT( uxQueueLength > ( UBaseType_t ) 0 ); - 800c6e0: 68fb ldr r3, [r7, #12] - 800c6e2: 2b00 cmp r3, #0 - 800c6e4: d10b bne.n 800c6fe - 800c6e6: f04f 0350 mov.w r3, #80 ; 0x50 - 800c6ea: b672 cpsid i - 800c6ec: f383 8811 msr BASEPRI, r3 - 800c6f0: f3bf 8f6f isb sy - 800c6f4: f3bf 8f4f dsb sy - 800c6f8: b662 cpsie i - 800c6fa: 613b str r3, [r7, #16] - 800c6fc: e7fe b.n 800c6fc + 800c27c: 68fb ldr r3, [r7, #12] + 800c27e: 2b00 cmp r3, #0 + 800c280: d10b bne.n 800c29a + 800c282: f04f 0350 mov.w r3, #80 ; 0x50 + 800c286: b672 cpsid i + 800c288: f383 8811 msr BASEPRI, r3 + 800c28c: f3bf 8f6f isb sy + 800c290: f3bf 8f4f dsb sy + 800c294: b662 cpsie i + 800c296: 613b str r3, [r7, #16] + 800c298: e7fe b.n 800c298 if( uxItemSize == ( UBaseType_t ) 0 ) - 800c6fe: 68bb ldr r3, [r7, #8] - 800c700: 2b00 cmp r3, #0 - 800c702: d102 bne.n 800c70a + 800c29a: 68bb ldr r3, [r7, #8] + 800c29c: 2b00 cmp r3, #0 + 800c29e: d102 bne.n 800c2a6 { /* There is not going to be a queue storage area. */ xQueueSizeInBytes = ( size_t ) 0; - 800c704: 2300 movs r3, #0 - 800c706: 61fb str r3, [r7, #28] - 800c708: e004 b.n 800c714 + 800c2a0: 2300 movs r3, #0 + 800c2a2: 61fb str r3, [r7, #28] + 800c2a4: e004 b.n 800c2b0 } else { /* Allocate enough space to hold the maximum number of items that can be in the queue at any time. */ xQueueSizeInBytes = ( size_t ) ( uxQueueLength * uxItemSize ); /*lint !e961 MISRA exception as the casts are only redundant for some ports. */ - 800c70a: 68fb ldr r3, [r7, #12] - 800c70c: 68ba ldr r2, [r7, #8] - 800c70e: fb02 f303 mul.w r3, r2, r3 - 800c712: 61fb str r3, [r7, #28] + 800c2a6: 68fb ldr r3, [r7, #12] + 800c2a8: 68ba ldr r2, [r7, #8] + 800c2aa: fb02 f303 mul.w r3, r2, r3 + 800c2ae: 61fb str r3, [r7, #28] alignment requirements of the Queue_t structure - which in this case is an int8_t *. Therefore, whenever the stack alignment requirements are greater than or equal to the pointer to char requirements the cast is safe. In other cases alignment requirements are not strict (one or two bytes). */ pxNewQueue = ( Queue_t * ) pvPortMalloc( sizeof( Queue_t ) + xQueueSizeInBytes ); /*lint !e9087 !e9079 see comment above. */ - 800c714: 69fb ldr r3, [r7, #28] - 800c716: 3348 adds r3, #72 ; 0x48 - 800c718: 4618 mov r0, r3 - 800c71a: f002 fa67 bl 800ebec - 800c71e: 61b8 str r0, [r7, #24] + 800c2b0: 69fb ldr r3, [r7, #28] + 800c2b2: 3348 adds r3, #72 ; 0x48 + 800c2b4: 4618 mov r0, r3 + 800c2b6: f002 fa61 bl 800e77c + 800c2ba: 61b8 str r0, [r7, #24] if( pxNewQueue != NULL ) - 800c720: 69bb ldr r3, [r7, #24] - 800c722: 2b00 cmp r3, #0 - 800c724: d011 beq.n 800c74a + 800c2bc: 69bb ldr r3, [r7, #24] + 800c2be: 2b00 cmp r3, #0 + 800c2c0: d011 beq.n 800c2e6 { /* Jump past the queue structure to find the location of the queue storage area. */ pucQueueStorage = ( uint8_t * ) pxNewQueue; - 800c726: 69bb ldr r3, [r7, #24] - 800c728: 617b str r3, [r7, #20] + 800c2c2: 69bb ldr r3, [r7, #24] + 800c2c4: 617b str r3, [r7, #20] pucQueueStorage += sizeof( Queue_t ); /*lint !e9016 Pointer arithmetic allowed on char types, especially when it assists conveying intent. */ - 800c72a: 697b ldr r3, [r7, #20] - 800c72c: 3348 adds r3, #72 ; 0x48 - 800c72e: 617b str r3, [r7, #20] + 800c2c6: 697b ldr r3, [r7, #20] + 800c2c8: 3348 adds r3, #72 ; 0x48 + 800c2ca: 617b str r3, [r7, #20] #if( configSUPPORT_STATIC_ALLOCATION == 1 ) { /* Queues can be created either statically or dynamically, so note this task was created dynamically in case it is later deleted. */ pxNewQueue->ucStaticallyAllocated = pdFALSE; - 800c730: 69bb ldr r3, [r7, #24] - 800c732: 2200 movs r2, #0 - 800c734: f883 2046 strb.w r2, [r3, #70] ; 0x46 + 800c2cc: 69bb ldr r3, [r7, #24] + 800c2ce: 2200 movs r2, #0 + 800c2d0: f883 2046 strb.w r2, [r3, #70] ; 0x46 } #endif /* configSUPPORT_STATIC_ALLOCATION */ prvInitialiseNewQueue( uxQueueLength, uxItemSize, pucQueueStorage, ucQueueType, pxNewQueue ); - 800c738: 79fa ldrb r2, [r7, #7] - 800c73a: 69bb ldr r3, [r7, #24] - 800c73c: 9300 str r3, [sp, #0] - 800c73e: 4613 mov r3, r2 - 800c740: 697a ldr r2, [r7, #20] - 800c742: 68b9 ldr r1, [r7, #8] - 800c744: 68f8 ldr r0, [r7, #12] - 800c746: f000 f805 bl 800c754 + 800c2d4: 79fa ldrb r2, [r7, #7] + 800c2d6: 69bb ldr r3, [r7, #24] + 800c2d8: 9300 str r3, [sp, #0] + 800c2da: 4613 mov r3, r2 + 800c2dc: 697a ldr r2, [r7, #20] + 800c2de: 68b9 ldr r1, [r7, #8] + 800c2e0: 68f8 ldr r0, [r7, #12] + 800c2e2: f000 f805 bl 800c2f0 { traceQUEUE_CREATE_FAILED( ucQueueType ); mtCOVERAGE_TEST_MARKER(); } return pxNewQueue; - 800c74a: 69bb ldr r3, [r7, #24] + 800c2e6: 69bb ldr r3, [r7, #24] } - 800c74c: 4618 mov r0, r3 - 800c74e: 3720 adds r7, #32 - 800c750: 46bd mov sp, r7 - 800c752: bd80 pop {r7, pc} + 800c2e8: 4618 mov r0, r3 + 800c2ea: 3720 adds r7, #32 + 800c2ec: 46bd mov sp, r7 + 800c2ee: bd80 pop {r7, pc} -0800c754 : +0800c2f0 : #endif /* configSUPPORT_STATIC_ALLOCATION */ /*-----------------------------------------------------------*/ static void prvInitialiseNewQueue( const UBaseType_t uxQueueLength, const UBaseType_t uxItemSize, uint8_t *pucQueueStorage, const uint8_t ucQueueType, Queue_t *pxNewQueue ) { - 800c754: b580 push {r7, lr} - 800c756: b084 sub sp, #16 - 800c758: af00 add r7, sp, #0 - 800c75a: 60f8 str r0, [r7, #12] - 800c75c: 60b9 str r1, [r7, #8] - 800c75e: 607a str r2, [r7, #4] - 800c760: 70fb strb r3, [r7, #3] + 800c2f0: b580 push {r7, lr} + 800c2f2: b084 sub sp, #16 + 800c2f4: af00 add r7, sp, #0 + 800c2f6: 60f8 str r0, [r7, #12] + 800c2f8: 60b9 str r1, [r7, #8] + 800c2fa: 607a str r2, [r7, #4] + 800c2fc: 70fb strb r3, [r7, #3] /* Remove compiler warnings about unused parameters should configUSE_TRACE_FACILITY not be set to 1. */ ( void ) ucQueueType; if( uxItemSize == ( UBaseType_t ) 0 ) - 800c762: 68bb ldr r3, [r7, #8] - 800c764: 2b00 cmp r3, #0 - 800c766: d103 bne.n 800c770 + 800c2fe: 68bb ldr r3, [r7, #8] + 800c300: 2b00 cmp r3, #0 + 800c302: d103 bne.n 800c30c { /* No RAM was allocated for the queue storage area, but PC head cannot be set to NULL because NULL is used as a key to say the queue is used as a mutex. Therefore just set pcHead to point to the queue as a benign value that is known to be within the memory map. */ pxNewQueue->pcHead = ( int8_t * ) pxNewQueue; - 800c768: 69bb ldr r3, [r7, #24] - 800c76a: 69ba ldr r2, [r7, #24] - 800c76c: 601a str r2, [r3, #0] - 800c76e: e002 b.n 800c776 + 800c304: 69bb ldr r3, [r7, #24] + 800c306: 69ba ldr r2, [r7, #24] + 800c308: 601a str r2, [r3, #0] + 800c30a: e002 b.n 800c312 } else { /* Set the head to the start of the queue storage area. */ pxNewQueue->pcHead = ( int8_t * ) pucQueueStorage; - 800c770: 69bb ldr r3, [r7, #24] - 800c772: 687a ldr r2, [r7, #4] - 800c774: 601a str r2, [r3, #0] + 800c30c: 69bb ldr r3, [r7, #24] + 800c30e: 687a ldr r2, [r7, #4] + 800c310: 601a str r2, [r3, #0] } /* Initialise the queue members as described where the queue type is defined. */ pxNewQueue->uxLength = uxQueueLength; - 800c776: 69bb ldr r3, [r7, #24] - 800c778: 68fa ldr r2, [r7, #12] - 800c77a: 63da str r2, [r3, #60] ; 0x3c + 800c312: 69bb ldr r3, [r7, #24] + 800c314: 68fa ldr r2, [r7, #12] + 800c316: 63da str r2, [r3, #60] ; 0x3c pxNewQueue->uxItemSize = uxItemSize; - 800c77c: 69bb ldr r3, [r7, #24] - 800c77e: 68ba ldr r2, [r7, #8] - 800c780: 641a str r2, [r3, #64] ; 0x40 + 800c318: 69bb ldr r3, [r7, #24] + 800c31a: 68ba ldr r2, [r7, #8] + 800c31c: 641a str r2, [r3, #64] ; 0x40 ( void ) xQueueGenericReset( pxNewQueue, pdTRUE ); - 800c782: 2101 movs r1, #1 - 800c784: 69b8 ldr r0, [r7, #24] - 800c786: f7ff febd bl 800c504 + 800c31e: 2101 movs r1, #1 + 800c320: 69b8 ldr r0, [r7, #24] + 800c322: f7ff febd bl 800c0a0 pxNewQueue->pxQueueSetContainer = NULL; } #endif /* configUSE_QUEUE_SETS */ traceQUEUE_CREATE( pxNewQueue ); } - 800c78a: bf00 nop - 800c78c: 3710 adds r7, #16 - 800c78e: 46bd mov sp, r7 - 800c790: bd80 pop {r7, pc} + 800c326: bf00 nop + 800c328: 3710 adds r7, #16 + 800c32a: 46bd mov sp, r7 + 800c32c: bd80 pop {r7, pc} -0800c792 : +0800c32e : /*-----------------------------------------------------------*/ #if( configUSE_MUTEXES == 1 ) static void prvInitialiseMutex( Queue_t *pxNewQueue ) { - 800c792: b580 push {r7, lr} - 800c794: b082 sub sp, #8 - 800c796: af00 add r7, sp, #0 - 800c798: 6078 str r0, [r7, #4] + 800c32e: b580 push {r7, lr} + 800c330: b082 sub sp, #8 + 800c332: af00 add r7, sp, #0 + 800c334: 6078 str r0, [r7, #4] if( pxNewQueue != NULL ) - 800c79a: 687b ldr r3, [r7, #4] - 800c79c: 2b00 cmp r3, #0 - 800c79e: d00e beq.n 800c7be + 800c336: 687b ldr r3, [r7, #4] + 800c338: 2b00 cmp r3, #0 + 800c33a: d00e beq.n 800c35a { /* The queue create function will set all the queue structure members correctly for a generic queue, but this function is creating a mutex. Overwrite those members that need to be set differently - in particular the information required for priority inheritance. */ pxNewQueue->u.xSemaphore.xMutexHolder = NULL; - 800c7a0: 687b ldr r3, [r7, #4] - 800c7a2: 2200 movs r2, #0 - 800c7a4: 609a str r2, [r3, #8] + 800c33c: 687b ldr r3, [r7, #4] + 800c33e: 2200 movs r2, #0 + 800c340: 609a str r2, [r3, #8] pxNewQueue->uxQueueType = queueQUEUE_IS_MUTEX; - 800c7a6: 687b ldr r3, [r7, #4] - 800c7a8: 2200 movs r2, #0 - 800c7aa: 601a str r2, [r3, #0] + 800c342: 687b ldr r3, [r7, #4] + 800c344: 2200 movs r2, #0 + 800c346: 601a str r2, [r3, #0] /* In case this is a recursive mutex. */ pxNewQueue->u.xSemaphore.uxRecursiveCallCount = 0; - 800c7ac: 687b ldr r3, [r7, #4] - 800c7ae: 2200 movs r2, #0 - 800c7b0: 60da str r2, [r3, #12] + 800c348: 687b ldr r3, [r7, #4] + 800c34a: 2200 movs r2, #0 + 800c34c: 60da str r2, [r3, #12] traceCREATE_MUTEX( pxNewQueue ); /* Start with the semaphore in the expected state. */ ( void ) xQueueGenericSend( pxNewQueue, NULL, ( TickType_t ) 0U, queueSEND_TO_BACK ); - 800c7b2: 2300 movs r3, #0 - 800c7b4: 2200 movs r2, #0 - 800c7b6: 2100 movs r1, #0 - 800c7b8: 6878 ldr r0, [r7, #4] - 800c7ba: f000 f8a5 bl 800c908 + 800c34e: 2300 movs r3, #0 + 800c350: 2200 movs r2, #0 + 800c352: 2100 movs r1, #0 + 800c354: 6878 ldr r0, [r7, #4] + 800c356: f000 f8a5 bl 800c4a4 } else { traceCREATE_MUTEX_FAILED(); } } - 800c7be: bf00 nop - 800c7c0: 3708 adds r7, #8 - 800c7c2: 46bd mov sp, r7 - 800c7c4: bd80 pop {r7, pc} + 800c35a: bf00 nop + 800c35c: 3708 adds r7, #8 + 800c35e: 46bd mov sp, r7 + 800c360: bd80 pop {r7, pc} -0800c7c6 : +0800c362 : /*-----------------------------------------------------------*/ #if( ( configUSE_MUTEXES == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) ) QueueHandle_t xQueueCreateMutex( const uint8_t ucQueueType ) { - 800c7c6: b580 push {r7, lr} - 800c7c8: b086 sub sp, #24 - 800c7ca: af00 add r7, sp, #0 - 800c7cc: 4603 mov r3, r0 - 800c7ce: 71fb strb r3, [r7, #7] + 800c362: b580 push {r7, lr} + 800c364: b086 sub sp, #24 + 800c366: af00 add r7, sp, #0 + 800c368: 4603 mov r3, r0 + 800c36a: 71fb strb r3, [r7, #7] QueueHandle_t xNewQueue; const UBaseType_t uxMutexLength = ( UBaseType_t ) 1, uxMutexSize = ( UBaseType_t ) 0; - 800c7d0: 2301 movs r3, #1 - 800c7d2: 617b str r3, [r7, #20] - 800c7d4: 2300 movs r3, #0 - 800c7d6: 613b str r3, [r7, #16] + 800c36c: 2301 movs r3, #1 + 800c36e: 617b str r3, [r7, #20] + 800c370: 2300 movs r3, #0 + 800c372: 613b str r3, [r7, #16] xNewQueue = xQueueGenericCreate( uxMutexLength, uxMutexSize, ucQueueType ); - 800c7d8: 79fb ldrb r3, [r7, #7] - 800c7da: 461a mov r2, r3 - 800c7dc: 6939 ldr r1, [r7, #16] - 800c7de: 6978 ldr r0, [r7, #20] - 800c7e0: f7ff ff77 bl 800c6d2 - 800c7e4: 60f8 str r0, [r7, #12] + 800c374: 79fb ldrb r3, [r7, #7] + 800c376: 461a mov r2, r3 + 800c378: 6939 ldr r1, [r7, #16] + 800c37a: 6978 ldr r0, [r7, #20] + 800c37c: f7ff ff77 bl 800c26e + 800c380: 60f8 str r0, [r7, #12] prvInitialiseMutex( ( Queue_t * ) xNewQueue ); - 800c7e6: 68f8 ldr r0, [r7, #12] - 800c7e8: f7ff ffd3 bl 800c792 + 800c382: 68f8 ldr r0, [r7, #12] + 800c384: f7ff ffd3 bl 800c32e return xNewQueue; - 800c7ec: 68fb ldr r3, [r7, #12] + 800c388: 68fb ldr r3, [r7, #12] } - 800c7ee: 4618 mov r0, r3 - 800c7f0: 3718 adds r7, #24 - 800c7f2: 46bd mov sp, r7 - 800c7f4: bd80 pop {r7, pc} + 800c38a: 4618 mov r0, r3 + 800c38c: 3718 adds r7, #24 + 800c38e: 46bd mov sp, r7 + 800c390: bd80 pop {r7, pc} -0800c7f6 : +0800c392 : /*-----------------------------------------------------------*/ #if( ( configUSE_MUTEXES == 1 ) && ( configSUPPORT_STATIC_ALLOCATION == 1 ) ) QueueHandle_t xQueueCreateMutexStatic( const uint8_t ucQueueType, StaticQueue_t *pxStaticQueue ) { - 800c7f6: b580 push {r7, lr} - 800c7f8: b088 sub sp, #32 - 800c7fa: af02 add r7, sp, #8 - 800c7fc: 4603 mov r3, r0 - 800c7fe: 6039 str r1, [r7, #0] - 800c800: 71fb strb r3, [r7, #7] + 800c392: b580 push {r7, lr} + 800c394: b088 sub sp, #32 + 800c396: af02 add r7, sp, #8 + 800c398: 4603 mov r3, r0 + 800c39a: 6039 str r1, [r7, #0] + 800c39c: 71fb strb r3, [r7, #7] QueueHandle_t xNewQueue; const UBaseType_t uxMutexLength = ( UBaseType_t ) 1, uxMutexSize = ( UBaseType_t ) 0; - 800c802: 2301 movs r3, #1 - 800c804: 617b str r3, [r7, #20] - 800c806: 2300 movs r3, #0 - 800c808: 613b str r3, [r7, #16] + 800c39e: 2301 movs r3, #1 + 800c3a0: 617b str r3, [r7, #20] + 800c3a2: 2300 movs r3, #0 + 800c3a4: 613b str r3, [r7, #16] /* Prevent compiler warnings about unused parameters if configUSE_TRACE_FACILITY does not equal 1. */ ( void ) ucQueueType; xNewQueue = xQueueGenericCreateStatic( uxMutexLength, uxMutexSize, NULL, pxStaticQueue, ucQueueType ); - 800c80a: 79fb ldrb r3, [r7, #7] - 800c80c: 9300 str r3, [sp, #0] - 800c80e: 683b ldr r3, [r7, #0] - 800c810: 2200 movs r2, #0 - 800c812: 6939 ldr r1, [r7, #16] - 800c814: 6978 ldr r0, [r7, #20] - 800c816: f7ff fedf bl 800c5d8 - 800c81a: 60f8 str r0, [r7, #12] + 800c3a6: 79fb ldrb r3, [r7, #7] + 800c3a8: 9300 str r3, [sp, #0] + 800c3aa: 683b ldr r3, [r7, #0] + 800c3ac: 2200 movs r2, #0 + 800c3ae: 6939 ldr r1, [r7, #16] + 800c3b0: 6978 ldr r0, [r7, #20] + 800c3b2: f7ff fedf bl 800c174 + 800c3b6: 60f8 str r0, [r7, #12] prvInitialiseMutex( ( Queue_t * ) xNewQueue ); - 800c81c: 68f8 ldr r0, [r7, #12] - 800c81e: f7ff ffb8 bl 800c792 + 800c3b8: 68f8 ldr r0, [r7, #12] + 800c3ba: f7ff ffb8 bl 800c32e return xNewQueue; - 800c822: 68fb ldr r3, [r7, #12] + 800c3be: 68fb ldr r3, [r7, #12] } - 800c824: 4618 mov r0, r3 - 800c826: 3718 adds r7, #24 - 800c828: 46bd mov sp, r7 - 800c82a: bd80 pop {r7, pc} + 800c3c0: 4618 mov r0, r3 + 800c3c2: 3718 adds r7, #24 + 800c3c4: 46bd mov sp, r7 + 800c3c6: bd80 pop {r7, pc} -0800c82c : +0800c3c8 : /*-----------------------------------------------------------*/ #if( ( configUSE_COUNTING_SEMAPHORES == 1 ) && ( configSUPPORT_STATIC_ALLOCATION == 1 ) ) QueueHandle_t xQueueCreateCountingSemaphoreStatic( const UBaseType_t uxMaxCount, const UBaseType_t uxInitialCount, StaticQueue_t *pxStaticQueue ) { - 800c82c: b580 push {r7, lr} - 800c82e: b08a sub sp, #40 ; 0x28 - 800c830: af02 add r7, sp, #8 - 800c832: 60f8 str r0, [r7, #12] - 800c834: 60b9 str r1, [r7, #8] - 800c836: 607a str r2, [r7, #4] + 800c3c8: b580 push {r7, lr} + 800c3ca: b08a sub sp, #40 ; 0x28 + 800c3cc: af02 add r7, sp, #8 + 800c3ce: 60f8 str r0, [r7, #12] + 800c3d0: 60b9 str r1, [r7, #8] + 800c3d2: 607a str r2, [r7, #4] QueueHandle_t xHandle; configASSERT( uxMaxCount != 0 ); - 800c838: 68fb ldr r3, [r7, #12] - 800c83a: 2b00 cmp r3, #0 - 800c83c: d10b bne.n 800c856 - 800c83e: f04f 0350 mov.w r3, #80 ; 0x50 - 800c842: b672 cpsid i - 800c844: f383 8811 msr BASEPRI, r3 - 800c848: f3bf 8f6f isb sy - 800c84c: f3bf 8f4f dsb sy - 800c850: b662 cpsie i - 800c852: 61bb str r3, [r7, #24] - 800c854: e7fe b.n 800c854 + 800c3d4: 68fb ldr r3, [r7, #12] + 800c3d6: 2b00 cmp r3, #0 + 800c3d8: d10b bne.n 800c3f2 + 800c3da: f04f 0350 mov.w r3, #80 ; 0x50 + 800c3de: b672 cpsid i + 800c3e0: f383 8811 msr BASEPRI, r3 + 800c3e4: f3bf 8f6f isb sy + 800c3e8: f3bf 8f4f dsb sy + 800c3ec: b662 cpsie i + 800c3ee: 61bb str r3, [r7, #24] + 800c3f0: e7fe b.n 800c3f0 configASSERT( uxInitialCount <= uxMaxCount ); - 800c856: 68ba ldr r2, [r7, #8] - 800c858: 68fb ldr r3, [r7, #12] - 800c85a: 429a cmp r2, r3 - 800c85c: d90b bls.n 800c876 - 800c85e: f04f 0350 mov.w r3, #80 ; 0x50 - 800c862: b672 cpsid i - 800c864: f383 8811 msr BASEPRI, r3 - 800c868: f3bf 8f6f isb sy - 800c86c: f3bf 8f4f dsb sy - 800c870: b662 cpsie i - 800c872: 617b str r3, [r7, #20] - 800c874: e7fe b.n 800c874 + 800c3f2: 68ba ldr r2, [r7, #8] + 800c3f4: 68fb ldr r3, [r7, #12] + 800c3f6: 429a cmp r2, r3 + 800c3f8: d90b bls.n 800c412 + 800c3fa: f04f 0350 mov.w r3, #80 ; 0x50 + 800c3fe: b672 cpsid i + 800c400: f383 8811 msr BASEPRI, r3 + 800c404: f3bf 8f6f isb sy + 800c408: f3bf 8f4f dsb sy + 800c40c: b662 cpsie i + 800c40e: 617b str r3, [r7, #20] + 800c410: e7fe b.n 800c410 xHandle = xQueueGenericCreateStatic( uxMaxCount, queueSEMAPHORE_QUEUE_ITEM_LENGTH, NULL, pxStaticQueue, queueQUEUE_TYPE_COUNTING_SEMAPHORE ); - 800c876: 2302 movs r3, #2 - 800c878: 9300 str r3, [sp, #0] - 800c87a: 687b ldr r3, [r7, #4] - 800c87c: 2200 movs r2, #0 - 800c87e: 2100 movs r1, #0 - 800c880: 68f8 ldr r0, [r7, #12] - 800c882: f7ff fea9 bl 800c5d8 - 800c886: 61f8 str r0, [r7, #28] + 800c412: 2302 movs r3, #2 + 800c414: 9300 str r3, [sp, #0] + 800c416: 687b ldr r3, [r7, #4] + 800c418: 2200 movs r2, #0 + 800c41a: 2100 movs r1, #0 + 800c41c: 68f8 ldr r0, [r7, #12] + 800c41e: f7ff fea9 bl 800c174 + 800c422: 61f8 str r0, [r7, #28] if( xHandle != NULL ) - 800c888: 69fb ldr r3, [r7, #28] - 800c88a: 2b00 cmp r3, #0 - 800c88c: d002 beq.n 800c894 + 800c424: 69fb ldr r3, [r7, #28] + 800c426: 2b00 cmp r3, #0 + 800c428: d002 beq.n 800c430 { ( ( Queue_t * ) xHandle )->uxMessagesWaiting = uxInitialCount; - 800c88e: 69fb ldr r3, [r7, #28] - 800c890: 68ba ldr r2, [r7, #8] - 800c892: 639a str r2, [r3, #56] ; 0x38 + 800c42a: 69fb ldr r3, [r7, #28] + 800c42c: 68ba ldr r2, [r7, #8] + 800c42e: 639a str r2, [r3, #56] ; 0x38 else { traceCREATE_COUNTING_SEMAPHORE_FAILED(); } return xHandle; - 800c894: 69fb ldr r3, [r7, #28] + 800c430: 69fb ldr r3, [r7, #28] } - 800c896: 4618 mov r0, r3 - 800c898: 3720 adds r7, #32 - 800c89a: 46bd mov sp, r7 - 800c89c: bd80 pop {r7, pc} + 800c432: 4618 mov r0, r3 + 800c434: 3720 adds r7, #32 + 800c436: 46bd mov sp, r7 + 800c438: bd80 pop {r7, pc} -0800c89e : +0800c43a : /*-----------------------------------------------------------*/ #if( ( configUSE_COUNTING_SEMAPHORES == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) ) QueueHandle_t xQueueCreateCountingSemaphore( const UBaseType_t uxMaxCount, const UBaseType_t uxInitialCount ) { - 800c89e: b580 push {r7, lr} - 800c8a0: b086 sub sp, #24 - 800c8a2: af00 add r7, sp, #0 - 800c8a4: 6078 str r0, [r7, #4] - 800c8a6: 6039 str r1, [r7, #0] + 800c43a: b580 push {r7, lr} + 800c43c: b086 sub sp, #24 + 800c43e: af00 add r7, sp, #0 + 800c440: 6078 str r0, [r7, #4] + 800c442: 6039 str r1, [r7, #0] QueueHandle_t xHandle; configASSERT( uxMaxCount != 0 ); - 800c8a8: 687b ldr r3, [r7, #4] - 800c8aa: 2b00 cmp r3, #0 - 800c8ac: d10b bne.n 800c8c6 - 800c8ae: f04f 0350 mov.w r3, #80 ; 0x50 - 800c8b2: b672 cpsid i - 800c8b4: f383 8811 msr BASEPRI, r3 - 800c8b8: f3bf 8f6f isb sy - 800c8bc: f3bf 8f4f dsb sy - 800c8c0: b662 cpsie i - 800c8c2: 613b str r3, [r7, #16] - 800c8c4: e7fe b.n 800c8c4 + 800c444: 687b ldr r3, [r7, #4] + 800c446: 2b00 cmp r3, #0 + 800c448: d10b bne.n 800c462 + 800c44a: f04f 0350 mov.w r3, #80 ; 0x50 + 800c44e: b672 cpsid i + 800c450: f383 8811 msr BASEPRI, r3 + 800c454: f3bf 8f6f isb sy + 800c458: f3bf 8f4f dsb sy + 800c45c: b662 cpsie i + 800c45e: 613b str r3, [r7, #16] + 800c460: e7fe b.n 800c460 configASSERT( uxInitialCount <= uxMaxCount ); - 800c8c6: 683a ldr r2, [r7, #0] - 800c8c8: 687b ldr r3, [r7, #4] - 800c8ca: 429a cmp r2, r3 - 800c8cc: d90b bls.n 800c8e6 - 800c8ce: f04f 0350 mov.w r3, #80 ; 0x50 - 800c8d2: b672 cpsid i - 800c8d4: f383 8811 msr BASEPRI, r3 - 800c8d8: f3bf 8f6f isb sy - 800c8dc: f3bf 8f4f dsb sy - 800c8e0: b662 cpsie i - 800c8e2: 60fb str r3, [r7, #12] - 800c8e4: e7fe b.n 800c8e4 + 800c462: 683a ldr r2, [r7, #0] + 800c464: 687b ldr r3, [r7, #4] + 800c466: 429a cmp r2, r3 + 800c468: d90b bls.n 800c482 + 800c46a: f04f 0350 mov.w r3, #80 ; 0x50 + 800c46e: b672 cpsid i + 800c470: f383 8811 msr BASEPRI, r3 + 800c474: f3bf 8f6f isb sy + 800c478: f3bf 8f4f dsb sy + 800c47c: b662 cpsie i + 800c47e: 60fb str r3, [r7, #12] + 800c480: e7fe b.n 800c480 xHandle = xQueueGenericCreate( uxMaxCount, queueSEMAPHORE_QUEUE_ITEM_LENGTH, queueQUEUE_TYPE_COUNTING_SEMAPHORE ); - 800c8e6: 2202 movs r2, #2 - 800c8e8: 2100 movs r1, #0 - 800c8ea: 6878 ldr r0, [r7, #4] - 800c8ec: f7ff fef1 bl 800c6d2 - 800c8f0: 6178 str r0, [r7, #20] + 800c482: 2202 movs r2, #2 + 800c484: 2100 movs r1, #0 + 800c486: 6878 ldr r0, [r7, #4] + 800c488: f7ff fef1 bl 800c26e + 800c48c: 6178 str r0, [r7, #20] if( xHandle != NULL ) - 800c8f2: 697b ldr r3, [r7, #20] - 800c8f4: 2b00 cmp r3, #0 - 800c8f6: d002 beq.n 800c8fe + 800c48e: 697b ldr r3, [r7, #20] + 800c490: 2b00 cmp r3, #0 + 800c492: d002 beq.n 800c49a { ( ( Queue_t * ) xHandle )->uxMessagesWaiting = uxInitialCount; - 800c8f8: 697b ldr r3, [r7, #20] - 800c8fa: 683a ldr r2, [r7, #0] - 800c8fc: 639a str r2, [r3, #56] ; 0x38 + 800c494: 697b ldr r3, [r7, #20] + 800c496: 683a ldr r2, [r7, #0] + 800c498: 639a str r2, [r3, #56] ; 0x38 else { traceCREATE_COUNTING_SEMAPHORE_FAILED(); } return xHandle; - 800c8fe: 697b ldr r3, [r7, #20] + 800c49a: 697b ldr r3, [r7, #20] } - 800c900: 4618 mov r0, r3 - 800c902: 3718 adds r7, #24 - 800c904: 46bd mov sp, r7 - 800c906: bd80 pop {r7, pc} + 800c49c: 4618 mov r0, r3 + 800c49e: 3718 adds r7, #24 + 800c4a0: 46bd mov sp, r7 + 800c4a2: bd80 pop {r7, pc} -0800c908 : +0800c4a4 : #endif /* ( ( configUSE_COUNTING_SEMAPHORES == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) ) */ /*-----------------------------------------------------------*/ BaseType_t xQueueGenericSend( QueueHandle_t xQueue, const void * const pvItemToQueue, TickType_t xTicksToWait, const BaseType_t xCopyPosition ) { - 800c908: b580 push {r7, lr} - 800c90a: b08e sub sp, #56 ; 0x38 - 800c90c: af00 add r7, sp, #0 - 800c90e: 60f8 str r0, [r7, #12] - 800c910: 60b9 str r1, [r7, #8] - 800c912: 607a str r2, [r7, #4] - 800c914: 603b str r3, [r7, #0] + 800c4a4: b580 push {r7, lr} + 800c4a6: b08e sub sp, #56 ; 0x38 + 800c4a8: af00 add r7, sp, #0 + 800c4aa: 60f8 str r0, [r7, #12] + 800c4ac: 60b9 str r1, [r7, #8] + 800c4ae: 607a str r2, [r7, #4] + 800c4b0: 603b str r3, [r7, #0] BaseType_t xEntryTimeSet = pdFALSE, xYieldRequired; - 800c916: 2300 movs r3, #0 - 800c918: 637b str r3, [r7, #52] ; 0x34 + 800c4b2: 2300 movs r3, #0 + 800c4b4: 637b str r3, [r7, #52] ; 0x34 TimeOut_t xTimeOut; Queue_t * const pxQueue = xQueue; - 800c91a: 68fb ldr r3, [r7, #12] - 800c91c: 633b str r3, [r7, #48] ; 0x30 + 800c4b6: 68fb ldr r3, [r7, #12] + 800c4b8: 633b str r3, [r7, #48] ; 0x30 configASSERT( pxQueue ); - 800c91e: 6b3b ldr r3, [r7, #48] ; 0x30 - 800c920: 2b00 cmp r3, #0 - 800c922: d10b bne.n 800c93c - 800c924: f04f 0350 mov.w r3, #80 ; 0x50 - 800c928: b672 cpsid i - 800c92a: f383 8811 msr BASEPRI, r3 - 800c92e: f3bf 8f6f isb sy - 800c932: f3bf 8f4f dsb sy - 800c936: b662 cpsie i - 800c938: 62bb str r3, [r7, #40] ; 0x28 - 800c93a: e7fe b.n 800c93a + 800c4ba: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c4bc: 2b00 cmp r3, #0 + 800c4be: d10b bne.n 800c4d8 + 800c4c0: f04f 0350 mov.w r3, #80 ; 0x50 + 800c4c4: b672 cpsid i + 800c4c6: f383 8811 msr BASEPRI, r3 + 800c4ca: f3bf 8f6f isb sy + 800c4ce: f3bf 8f4f dsb sy + 800c4d2: b662 cpsie i + 800c4d4: 62bb str r3, [r7, #40] ; 0x28 + 800c4d6: e7fe b.n 800c4d6 configASSERT( !( ( pvItemToQueue == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) ); - 800c93c: 68bb ldr r3, [r7, #8] - 800c93e: 2b00 cmp r3, #0 - 800c940: d103 bne.n 800c94a - 800c942: 6b3b ldr r3, [r7, #48] ; 0x30 - 800c944: 6c1b ldr r3, [r3, #64] ; 0x40 - 800c946: 2b00 cmp r3, #0 - 800c948: d101 bne.n 800c94e - 800c94a: 2301 movs r3, #1 - 800c94c: e000 b.n 800c950 - 800c94e: 2300 movs r3, #0 - 800c950: 2b00 cmp r3, #0 - 800c952: d10b bne.n 800c96c - 800c954: f04f 0350 mov.w r3, #80 ; 0x50 - 800c958: b672 cpsid i - 800c95a: f383 8811 msr BASEPRI, r3 - 800c95e: f3bf 8f6f isb sy - 800c962: f3bf 8f4f dsb sy - 800c966: b662 cpsie i - 800c968: 627b str r3, [r7, #36] ; 0x24 - 800c96a: e7fe b.n 800c96a + 800c4d8: 68bb ldr r3, [r7, #8] + 800c4da: 2b00 cmp r3, #0 + 800c4dc: d103 bne.n 800c4e6 + 800c4de: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c4e0: 6c1b ldr r3, [r3, #64] ; 0x40 + 800c4e2: 2b00 cmp r3, #0 + 800c4e4: d101 bne.n 800c4ea + 800c4e6: 2301 movs r3, #1 + 800c4e8: e000 b.n 800c4ec + 800c4ea: 2300 movs r3, #0 + 800c4ec: 2b00 cmp r3, #0 + 800c4ee: d10b bne.n 800c508 + 800c4f0: f04f 0350 mov.w r3, #80 ; 0x50 + 800c4f4: b672 cpsid i + 800c4f6: f383 8811 msr BASEPRI, r3 + 800c4fa: f3bf 8f6f isb sy + 800c4fe: f3bf 8f4f dsb sy + 800c502: b662 cpsie i + 800c504: 627b str r3, [r7, #36] ; 0x24 + 800c506: e7fe b.n 800c506 configASSERT( !( ( xCopyPosition == queueOVERWRITE ) && ( pxQueue->uxLength != 1 ) ) ); - 800c96c: 683b ldr r3, [r7, #0] - 800c96e: 2b02 cmp r3, #2 - 800c970: d103 bne.n 800c97a - 800c972: 6b3b ldr r3, [r7, #48] ; 0x30 - 800c974: 6bdb ldr r3, [r3, #60] ; 0x3c - 800c976: 2b01 cmp r3, #1 - 800c978: d101 bne.n 800c97e - 800c97a: 2301 movs r3, #1 - 800c97c: e000 b.n 800c980 - 800c97e: 2300 movs r3, #0 - 800c980: 2b00 cmp r3, #0 - 800c982: d10b bne.n 800c99c - 800c984: f04f 0350 mov.w r3, #80 ; 0x50 - 800c988: b672 cpsid i - 800c98a: f383 8811 msr BASEPRI, r3 - 800c98e: f3bf 8f6f isb sy - 800c992: f3bf 8f4f dsb sy - 800c996: b662 cpsie i - 800c998: 623b str r3, [r7, #32] - 800c99a: e7fe b.n 800c99a + 800c508: 683b ldr r3, [r7, #0] + 800c50a: 2b02 cmp r3, #2 + 800c50c: d103 bne.n 800c516 + 800c50e: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c510: 6bdb ldr r3, [r3, #60] ; 0x3c + 800c512: 2b01 cmp r3, #1 + 800c514: d101 bne.n 800c51a + 800c516: 2301 movs r3, #1 + 800c518: e000 b.n 800c51c + 800c51a: 2300 movs r3, #0 + 800c51c: 2b00 cmp r3, #0 + 800c51e: d10b bne.n 800c538 + 800c520: f04f 0350 mov.w r3, #80 ; 0x50 + 800c524: b672 cpsid i + 800c526: f383 8811 msr BASEPRI, r3 + 800c52a: f3bf 8f6f isb sy + 800c52e: f3bf 8f4f dsb sy + 800c532: b662 cpsie i + 800c534: 623b str r3, [r7, #32] + 800c536: e7fe b.n 800c536 #if ( ( INCLUDE_xTaskGetSchedulerState == 1 ) || ( configUSE_TIMERS == 1 ) ) { configASSERT( !( ( xTaskGetSchedulerState() == taskSCHEDULER_SUSPENDED ) && ( xTicksToWait != 0 ) ) ); - 800c99c: f001 fcbc bl 800e318 - 800c9a0: 4603 mov r3, r0 - 800c9a2: 2b00 cmp r3, #0 - 800c9a4: d102 bne.n 800c9ac - 800c9a6: 687b ldr r3, [r7, #4] - 800c9a8: 2b00 cmp r3, #0 - 800c9aa: d101 bne.n 800c9b0 - 800c9ac: 2301 movs r3, #1 - 800c9ae: e000 b.n 800c9b2 - 800c9b0: 2300 movs r3, #0 - 800c9b2: 2b00 cmp r3, #0 - 800c9b4: d10b bne.n 800c9ce - 800c9b6: f04f 0350 mov.w r3, #80 ; 0x50 - 800c9ba: b672 cpsid i - 800c9bc: f383 8811 msr BASEPRI, r3 - 800c9c0: f3bf 8f6f isb sy - 800c9c4: f3bf 8f4f dsb sy - 800c9c8: b662 cpsie i - 800c9ca: 61fb str r3, [r7, #28] - 800c9cc: e7fe b.n 800c9cc + 800c538: f001 fcbc bl 800deb4 + 800c53c: 4603 mov r3, r0 + 800c53e: 2b00 cmp r3, #0 + 800c540: d102 bne.n 800c548 + 800c542: 687b ldr r3, [r7, #4] + 800c544: 2b00 cmp r3, #0 + 800c546: d101 bne.n 800c54c + 800c548: 2301 movs r3, #1 + 800c54a: e000 b.n 800c54e + 800c54c: 2300 movs r3, #0 + 800c54e: 2b00 cmp r3, #0 + 800c550: d10b bne.n 800c56a + 800c552: f04f 0350 mov.w r3, #80 ; 0x50 + 800c556: b672 cpsid i + 800c558: f383 8811 msr BASEPRI, r3 + 800c55c: f3bf 8f6f isb sy + 800c560: f3bf 8f4f dsb sy + 800c564: b662 cpsie i + 800c566: 61fb str r3, [r7, #28] + 800c568: e7fe b.n 800c568 /*lint -save -e904 This function relaxes the coding standard somewhat to allow return statements within the function itself. This is done in the interest of execution time efficiency. */ for( ;; ) { taskENTER_CRITICAL(); - 800c9ce: f001 ffeb bl 800e9a8 + 800c56a: f001 ffe5 bl 800e538 { /* Is there room on the queue now? The running task must be the highest priority task wanting to access the queue. If the head item in the queue is to be overwritten then it does not matter if the queue is full. */ if( ( pxQueue->uxMessagesWaiting < pxQueue->uxLength ) || ( xCopyPosition == queueOVERWRITE ) ) - 800c9d2: 6b3b ldr r3, [r7, #48] ; 0x30 - 800c9d4: 6b9a ldr r2, [r3, #56] ; 0x38 - 800c9d6: 6b3b ldr r3, [r7, #48] ; 0x30 - 800c9d8: 6bdb ldr r3, [r3, #60] ; 0x3c - 800c9da: 429a cmp r2, r3 - 800c9dc: d302 bcc.n 800c9e4 - 800c9de: 683b ldr r3, [r7, #0] - 800c9e0: 2b02 cmp r3, #2 - 800c9e2: d129 bne.n 800ca38 + 800c56e: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c570: 6b9a ldr r2, [r3, #56] ; 0x38 + 800c572: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c574: 6bdb ldr r3, [r3, #60] ; 0x3c + 800c576: 429a cmp r2, r3 + 800c578: d302 bcc.n 800c580 + 800c57a: 683b ldr r3, [r7, #0] + 800c57c: 2b02 cmp r3, #2 + 800c57e: d129 bne.n 800c5d4 } } } #else /* configUSE_QUEUE_SETS */ { xYieldRequired = prvCopyDataToQueue( pxQueue, pvItemToQueue, xCopyPosition ); - 800c9e4: 683a ldr r2, [r7, #0] - 800c9e6: 68b9 ldr r1, [r7, #8] - 800c9e8: 6b38 ldr r0, [r7, #48] ; 0x30 - 800c9ea: f000 fc4a bl 800d282 - 800c9ee: 62f8 str r0, [r7, #44] ; 0x2c + 800c580: 683a ldr r2, [r7, #0] + 800c582: 68b9 ldr r1, [r7, #8] + 800c584: 6b38 ldr r0, [r7, #48] ; 0x30 + 800c586: f000 fc4a bl 800ce1e + 800c58a: 62f8 str r0, [r7, #44] ; 0x2c /* If there was a task waiting for data to arrive on the queue then unblock it now. */ if( listLIST_IS_EMPTY( &( pxQueue->xTasksWaitingToReceive ) ) == pdFALSE ) - 800c9f0: 6b3b ldr r3, [r7, #48] ; 0x30 - 800c9f2: 6a5b ldr r3, [r3, #36] ; 0x24 - 800c9f4: 2b00 cmp r3, #0 - 800c9f6: d010 beq.n 800ca1a + 800c58c: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c58e: 6a5b ldr r3, [r3, #36] ; 0x24 + 800c590: 2b00 cmp r3, #0 + 800c592: d010 beq.n 800c5b6 { if( xTaskRemoveFromEventList( &( pxQueue->xTasksWaitingToReceive ) ) != pdFALSE ) - 800c9f8: 6b3b ldr r3, [r7, #48] ; 0x30 - 800c9fa: 3324 adds r3, #36 ; 0x24 - 800c9fc: 4618 mov r0, r3 - 800c9fe: f001 facb bl 800df98 - 800ca02: 4603 mov r3, r0 - 800ca04: 2b00 cmp r3, #0 - 800ca06: d013 beq.n 800ca30 + 800c594: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c596: 3324 adds r3, #36 ; 0x24 + 800c598: 4618 mov r0, r3 + 800c59a: f001 facb bl 800db34 + 800c59e: 4603 mov r3, r0 + 800c5a0: 2b00 cmp r3, #0 + 800c5a2: d013 beq.n 800c5cc { /* The unblocked task has a priority higher than our own so yield immediately. Yes it is ok to do this from within the critical section - the kernel takes care of that. */ queueYIELD_IF_USING_PREEMPTION(); - 800ca08: 4b3f ldr r3, [pc, #252] ; (800cb08 ) - 800ca0a: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800ca0e: 601a str r2, [r3, #0] - 800ca10: f3bf 8f4f dsb sy - 800ca14: f3bf 8f6f isb sy - 800ca18: e00a b.n 800ca30 + 800c5a4: 4b3f ldr r3, [pc, #252] ; (800c6a4 ) + 800c5a6: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800c5aa: 601a str r2, [r3, #0] + 800c5ac: f3bf 8f4f dsb sy + 800c5b0: f3bf 8f6f isb sy + 800c5b4: e00a b.n 800c5cc else { mtCOVERAGE_TEST_MARKER(); } } else if( xYieldRequired != pdFALSE ) - 800ca1a: 6afb ldr r3, [r7, #44] ; 0x2c - 800ca1c: 2b00 cmp r3, #0 - 800ca1e: d007 beq.n 800ca30 + 800c5b6: 6afb ldr r3, [r7, #44] ; 0x2c + 800c5b8: 2b00 cmp r3, #0 + 800c5ba: d007 beq.n 800c5cc { /* This path is a special case that will only get executed if the task was holding multiple mutexes and the mutexes were given back in an order that is different to that in which they were taken. */ queueYIELD_IF_USING_PREEMPTION(); - 800ca20: 4b39 ldr r3, [pc, #228] ; (800cb08 ) - 800ca22: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800ca26: 601a str r2, [r3, #0] - 800ca28: f3bf 8f4f dsb sy - 800ca2c: f3bf 8f6f isb sy + 800c5bc: 4b39 ldr r3, [pc, #228] ; (800c6a4 ) + 800c5be: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800c5c2: 601a str r2, [r3, #0] + 800c5c4: f3bf 8f4f dsb sy + 800c5c8: f3bf 8f6f isb sy mtCOVERAGE_TEST_MARKER(); } } #endif /* configUSE_QUEUE_SETS */ taskEXIT_CRITICAL(); - 800ca30: f001 ffec bl 800ea0c + 800c5cc: f001 ffe6 bl 800e59c return pdPASS; - 800ca34: 2301 movs r3, #1 - 800ca36: e063 b.n 800cb00 + 800c5d0: 2301 movs r3, #1 + 800c5d2: e063 b.n 800c69c } else { if( xTicksToWait == ( TickType_t ) 0 ) - 800ca38: 687b ldr r3, [r7, #4] - 800ca3a: 2b00 cmp r3, #0 - 800ca3c: d103 bne.n 800ca46 + 800c5d4: 687b ldr r3, [r7, #4] + 800c5d6: 2b00 cmp r3, #0 + 800c5d8: d103 bne.n 800c5e2 { /* The queue was full and no block time is specified (or the block time has expired) so leave now. */ taskEXIT_CRITICAL(); - 800ca3e: f001 ffe5 bl 800ea0c + 800c5da: f001 ffdf bl 800e59c /* Return to the original privilege level before exiting the function. */ traceQUEUE_SEND_FAILED( pxQueue ); return errQUEUE_FULL; - 800ca42: 2300 movs r3, #0 - 800ca44: e05c b.n 800cb00 + 800c5de: 2300 movs r3, #0 + 800c5e0: e05c b.n 800c69c } else if( xEntryTimeSet == pdFALSE ) - 800ca46: 6b7b ldr r3, [r7, #52] ; 0x34 - 800ca48: 2b00 cmp r3, #0 - 800ca4a: d106 bne.n 800ca5a + 800c5e2: 6b7b ldr r3, [r7, #52] ; 0x34 + 800c5e4: 2b00 cmp r3, #0 + 800c5e6: d106 bne.n 800c5f6 { /* The queue was full and a block time was specified so configure the timeout structure. */ vTaskInternalSetTimeOutState( &xTimeOut ); - 800ca4c: f107 0314 add.w r3, r7, #20 - 800ca50: 4618 mov r0, r3 - 800ca52: f001 fb05 bl 800e060 + 800c5e8: f107 0314 add.w r3, r7, #20 + 800c5ec: 4618 mov r0, r3 + 800c5ee: f001 fb05 bl 800dbfc xEntryTimeSet = pdTRUE; - 800ca56: 2301 movs r3, #1 - 800ca58: 637b str r3, [r7, #52] ; 0x34 + 800c5f2: 2301 movs r3, #1 + 800c5f4: 637b str r3, [r7, #52] ; 0x34 /* Entry time was already set. */ mtCOVERAGE_TEST_MARKER(); } } } taskEXIT_CRITICAL(); - 800ca5a: f001 ffd7 bl 800ea0c + 800c5f6: f001 ffd1 bl 800e59c /* Interrupts and other tasks can send to and receive from the queue now the critical section has been exited. */ vTaskSuspendAll(); - 800ca5e: f001 f86b bl 800db38 + 800c5fa: f001 f86b bl 800d6d4 prvLockQueue( pxQueue ); - 800ca62: f001 ffa1 bl 800e9a8 - 800ca66: 6b3b ldr r3, [r7, #48] ; 0x30 - 800ca68: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 - 800ca6c: b25b sxtb r3, r3 - 800ca6e: f1b3 3fff cmp.w r3, #4294967295 - 800ca72: d103 bne.n 800ca7c - 800ca74: 6b3b ldr r3, [r7, #48] ; 0x30 - 800ca76: 2200 movs r2, #0 - 800ca78: f883 2044 strb.w r2, [r3, #68] ; 0x44 - 800ca7c: 6b3b ldr r3, [r7, #48] ; 0x30 - 800ca7e: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 - 800ca82: b25b sxtb r3, r3 - 800ca84: f1b3 3fff cmp.w r3, #4294967295 - 800ca88: d103 bne.n 800ca92 - 800ca8a: 6b3b ldr r3, [r7, #48] ; 0x30 - 800ca8c: 2200 movs r2, #0 - 800ca8e: f883 2045 strb.w r2, [r3, #69] ; 0x45 - 800ca92: f001 ffbb bl 800ea0c + 800c5fe: f001 ff9b bl 800e538 + 800c602: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c604: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 + 800c608: b25b sxtb r3, r3 + 800c60a: f1b3 3fff cmp.w r3, #4294967295 + 800c60e: d103 bne.n 800c618 + 800c610: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c612: 2200 movs r2, #0 + 800c614: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 800c618: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c61a: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 + 800c61e: b25b sxtb r3, r3 + 800c620: f1b3 3fff cmp.w r3, #4294967295 + 800c624: d103 bne.n 800c62e + 800c626: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c628: 2200 movs r2, #0 + 800c62a: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 800c62e: f001 ffb5 bl 800e59c /* Update the timeout state to see if it has expired yet. */ if( xTaskCheckForTimeOut( &xTimeOut, &xTicksToWait ) == pdFALSE ) - 800ca96: 1d3a adds r2, r7, #4 - 800ca98: f107 0314 add.w r3, r7, #20 - 800ca9c: 4611 mov r1, r2 - 800ca9e: 4618 mov r0, r3 - 800caa0: f001 faf4 bl 800e08c - 800caa4: 4603 mov r3, r0 - 800caa6: 2b00 cmp r3, #0 - 800caa8: d124 bne.n 800caf4 + 800c632: 1d3a adds r2, r7, #4 + 800c634: f107 0314 add.w r3, r7, #20 + 800c638: 4611 mov r1, r2 + 800c63a: 4618 mov r0, r3 + 800c63c: f001 faf4 bl 800dc28 + 800c640: 4603 mov r3, r0 + 800c642: 2b00 cmp r3, #0 + 800c644: d124 bne.n 800c690 { if( prvIsQueueFull( pxQueue ) != pdFALSE ) - 800caaa: 6b38 ldr r0, [r7, #48] ; 0x30 - 800caac: f000 fce1 bl 800d472 - 800cab0: 4603 mov r3, r0 - 800cab2: 2b00 cmp r3, #0 - 800cab4: d018 beq.n 800cae8 + 800c646: 6b38 ldr r0, [r7, #48] ; 0x30 + 800c648: f000 fce1 bl 800d00e + 800c64c: 4603 mov r3, r0 + 800c64e: 2b00 cmp r3, #0 + 800c650: d018 beq.n 800c684 { traceBLOCKING_ON_QUEUE_SEND( pxQueue ); vTaskPlaceOnEventList( &( pxQueue->xTasksWaitingToSend ), xTicksToWait ); - 800cab6: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cab8: 3310 adds r3, #16 - 800caba: 687a ldr r2, [r7, #4] - 800cabc: 4611 mov r1, r2 - 800cabe: 4618 mov r0, r3 - 800cac0: f001 fa44 bl 800df4c + 800c652: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c654: 3310 adds r3, #16 + 800c656: 687a ldr r2, [r7, #4] + 800c658: 4611 mov r1, r2 + 800c65a: 4618 mov r0, r3 + 800c65c: f001 fa44 bl 800dae8 /* Unlocking the queue means queue events can effect the event list. It is possible that interrupts occurring now remove this task from the event list again - but as the scheduler is suspended the task will go onto the pending ready last instead of the actual ready list. */ prvUnlockQueue( pxQueue ); - 800cac4: 6b38 ldr r0, [r7, #48] ; 0x30 - 800cac6: f000 fc6c bl 800d3a2 + 800c660: 6b38 ldr r0, [r7, #48] ; 0x30 + 800c662: f000 fc6c bl 800cf3e /* Resuming the scheduler will move tasks from the pending ready list into the ready list - so it is feasible that this task is already in a ready list before it yields - in which case the yield will not cause a context switch unless there is also a higher priority task in the pending ready list. */ if( xTaskResumeAll() == pdFALSE ) - 800caca: f001 f843 bl 800db54 - 800cace: 4603 mov r3, r0 - 800cad0: 2b00 cmp r3, #0 - 800cad2: f47f af7c bne.w 800c9ce + 800c666: f001 f843 bl 800d6f0 + 800c66a: 4603 mov r3, r0 + 800c66c: 2b00 cmp r3, #0 + 800c66e: f47f af7c bne.w 800c56a { portYIELD_WITHIN_API(); - 800cad6: 4b0c ldr r3, [pc, #48] ; (800cb08 ) - 800cad8: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800cadc: 601a str r2, [r3, #0] - 800cade: f3bf 8f4f dsb sy - 800cae2: f3bf 8f6f isb sy - 800cae6: e772 b.n 800c9ce + 800c672: 4b0c ldr r3, [pc, #48] ; (800c6a4 ) + 800c674: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800c678: 601a str r2, [r3, #0] + 800c67a: f3bf 8f4f dsb sy + 800c67e: f3bf 8f6f isb sy + 800c682: e772 b.n 800c56a } } else { /* Try again. */ prvUnlockQueue( pxQueue ); - 800cae8: 6b38 ldr r0, [r7, #48] ; 0x30 - 800caea: f000 fc5a bl 800d3a2 + 800c684: 6b38 ldr r0, [r7, #48] ; 0x30 + 800c686: f000 fc5a bl 800cf3e ( void ) xTaskResumeAll(); - 800caee: f001 f831 bl 800db54 - 800caf2: e76c b.n 800c9ce + 800c68a: f001 f831 bl 800d6f0 + 800c68e: e76c b.n 800c56a } } else { /* The timeout has expired. */ prvUnlockQueue( pxQueue ); - 800caf4: 6b38 ldr r0, [r7, #48] ; 0x30 - 800caf6: f000 fc54 bl 800d3a2 + 800c690: 6b38 ldr r0, [r7, #48] ; 0x30 + 800c692: f000 fc54 bl 800cf3e ( void ) xTaskResumeAll(); - 800cafa: f001 f82b bl 800db54 + 800c696: f001 f82b bl 800d6f0 traceQUEUE_SEND_FAILED( pxQueue ); return errQUEUE_FULL; - 800cafe: 2300 movs r3, #0 + 800c69a: 2300 movs r3, #0 } } /*lint -restore */ } - 800cb00: 4618 mov r0, r3 - 800cb02: 3738 adds r7, #56 ; 0x38 - 800cb04: 46bd mov sp, r7 - 800cb06: bd80 pop {r7, pc} - 800cb08: e000ed04 .word 0xe000ed04 + 800c69c: 4618 mov r0, r3 + 800c69e: 3738 adds r7, #56 ; 0x38 + 800c6a0: 46bd mov sp, r7 + 800c6a2: bd80 pop {r7, pc} + 800c6a4: e000ed04 .word 0xe000ed04 -0800cb0c : +0800c6a8 : /*-----------------------------------------------------------*/ BaseType_t xQueueGenericSendFromISR( QueueHandle_t xQueue, const void * const pvItemToQueue, BaseType_t * const pxHigherPriorityTaskWoken, const BaseType_t xCopyPosition ) { - 800cb0c: b580 push {r7, lr} - 800cb0e: b08e sub sp, #56 ; 0x38 - 800cb10: af00 add r7, sp, #0 - 800cb12: 60f8 str r0, [r7, #12] - 800cb14: 60b9 str r1, [r7, #8] - 800cb16: 607a str r2, [r7, #4] - 800cb18: 603b str r3, [r7, #0] + 800c6a8: b580 push {r7, lr} + 800c6aa: b08e sub sp, #56 ; 0x38 + 800c6ac: af00 add r7, sp, #0 + 800c6ae: 60f8 str r0, [r7, #12] + 800c6b0: 60b9 str r1, [r7, #8] + 800c6b2: 607a str r2, [r7, #4] + 800c6b4: 603b str r3, [r7, #0] BaseType_t xReturn; UBaseType_t uxSavedInterruptStatus; Queue_t * const pxQueue = xQueue; - 800cb1a: 68fb ldr r3, [r7, #12] - 800cb1c: 633b str r3, [r7, #48] ; 0x30 + 800c6b6: 68fb ldr r3, [r7, #12] + 800c6b8: 633b str r3, [r7, #48] ; 0x30 configASSERT( pxQueue ); - 800cb1e: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cb20: 2b00 cmp r3, #0 - 800cb22: d10b bne.n 800cb3c - 800cb24: f04f 0350 mov.w r3, #80 ; 0x50 - 800cb28: b672 cpsid i - 800cb2a: f383 8811 msr BASEPRI, r3 - 800cb2e: f3bf 8f6f isb sy - 800cb32: f3bf 8f4f dsb sy - 800cb36: b662 cpsie i - 800cb38: 627b str r3, [r7, #36] ; 0x24 - 800cb3a: e7fe b.n 800cb3a + 800c6ba: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c6bc: 2b00 cmp r3, #0 + 800c6be: d10b bne.n 800c6d8 + 800c6c0: f04f 0350 mov.w r3, #80 ; 0x50 + 800c6c4: b672 cpsid i + 800c6c6: f383 8811 msr BASEPRI, r3 + 800c6ca: f3bf 8f6f isb sy + 800c6ce: f3bf 8f4f dsb sy + 800c6d2: b662 cpsie i + 800c6d4: 627b str r3, [r7, #36] ; 0x24 + 800c6d6: e7fe b.n 800c6d6 configASSERT( !( ( pvItemToQueue == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) ); - 800cb3c: 68bb ldr r3, [r7, #8] - 800cb3e: 2b00 cmp r3, #0 - 800cb40: d103 bne.n 800cb4a - 800cb42: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cb44: 6c1b ldr r3, [r3, #64] ; 0x40 - 800cb46: 2b00 cmp r3, #0 - 800cb48: d101 bne.n 800cb4e - 800cb4a: 2301 movs r3, #1 - 800cb4c: e000 b.n 800cb50 - 800cb4e: 2300 movs r3, #0 - 800cb50: 2b00 cmp r3, #0 - 800cb52: d10b bne.n 800cb6c - 800cb54: f04f 0350 mov.w r3, #80 ; 0x50 - 800cb58: b672 cpsid i - 800cb5a: f383 8811 msr BASEPRI, r3 - 800cb5e: f3bf 8f6f isb sy - 800cb62: f3bf 8f4f dsb sy - 800cb66: b662 cpsie i - 800cb68: 623b str r3, [r7, #32] - 800cb6a: e7fe b.n 800cb6a + 800c6d8: 68bb ldr r3, [r7, #8] + 800c6da: 2b00 cmp r3, #0 + 800c6dc: d103 bne.n 800c6e6 + 800c6de: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c6e0: 6c1b ldr r3, [r3, #64] ; 0x40 + 800c6e2: 2b00 cmp r3, #0 + 800c6e4: d101 bne.n 800c6ea + 800c6e6: 2301 movs r3, #1 + 800c6e8: e000 b.n 800c6ec + 800c6ea: 2300 movs r3, #0 + 800c6ec: 2b00 cmp r3, #0 + 800c6ee: d10b bne.n 800c708 + 800c6f0: f04f 0350 mov.w r3, #80 ; 0x50 + 800c6f4: b672 cpsid i + 800c6f6: f383 8811 msr BASEPRI, r3 + 800c6fa: f3bf 8f6f isb sy + 800c6fe: f3bf 8f4f dsb sy + 800c702: b662 cpsie i + 800c704: 623b str r3, [r7, #32] + 800c706: e7fe b.n 800c706 configASSERT( !( ( xCopyPosition == queueOVERWRITE ) && ( pxQueue->uxLength != 1 ) ) ); - 800cb6c: 683b ldr r3, [r7, #0] - 800cb6e: 2b02 cmp r3, #2 - 800cb70: d103 bne.n 800cb7a - 800cb72: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cb74: 6bdb ldr r3, [r3, #60] ; 0x3c - 800cb76: 2b01 cmp r3, #1 - 800cb78: d101 bne.n 800cb7e - 800cb7a: 2301 movs r3, #1 - 800cb7c: e000 b.n 800cb80 - 800cb7e: 2300 movs r3, #0 - 800cb80: 2b00 cmp r3, #0 - 800cb82: d10b bne.n 800cb9c - 800cb84: f04f 0350 mov.w r3, #80 ; 0x50 - 800cb88: b672 cpsid i - 800cb8a: f383 8811 msr BASEPRI, r3 - 800cb8e: f3bf 8f6f isb sy - 800cb92: f3bf 8f4f dsb sy - 800cb96: b662 cpsie i - 800cb98: 61fb str r3, [r7, #28] - 800cb9a: e7fe b.n 800cb9a + 800c708: 683b ldr r3, [r7, #0] + 800c70a: 2b02 cmp r3, #2 + 800c70c: d103 bne.n 800c716 + 800c70e: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c710: 6bdb ldr r3, [r3, #60] ; 0x3c + 800c712: 2b01 cmp r3, #1 + 800c714: d101 bne.n 800c71a + 800c716: 2301 movs r3, #1 + 800c718: e000 b.n 800c71c + 800c71a: 2300 movs r3, #0 + 800c71c: 2b00 cmp r3, #0 + 800c71e: d10b bne.n 800c738 + 800c720: f04f 0350 mov.w r3, #80 ; 0x50 + 800c724: b672 cpsid i + 800c726: f383 8811 msr BASEPRI, r3 + 800c72a: f3bf 8f6f isb sy + 800c72e: f3bf 8f4f dsb sy + 800c732: b662 cpsie i + 800c734: 61fb str r3, [r7, #28] + 800c736: e7fe b.n 800c736 that have been assigned a priority at or (logically) below the maximum system call interrupt priority. FreeRTOS maintains a separate interrupt safe API to ensure interrupt entry is as fast and as simple as possible. More information (albeit Cortex-M specific) is provided on the following link: http://www.freertos.org/RTOS-Cortex-M3-M4.html */ portASSERT_IF_INTERRUPT_PRIORITY_INVALID(); - 800cb9c: f001 ffe4 bl 800eb68 + 800c738: f001 ffde bl 800e6f8 portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void ) { uint32_t ulOriginalBASEPRI, ulNewBASEPRI; __asm volatile - 800cba0: f3ef 8211 mrs r2, BASEPRI - 800cba4: f04f 0350 mov.w r3, #80 ; 0x50 - 800cba8: b672 cpsid i - 800cbaa: f383 8811 msr BASEPRI, r3 - 800cbae: f3bf 8f6f isb sy - 800cbb2: f3bf 8f4f dsb sy - 800cbb6: b662 cpsie i - 800cbb8: 61ba str r2, [r7, #24] - 800cbba: 617b str r3, [r7, #20] + 800c73c: f3ef 8211 mrs r2, BASEPRI + 800c740: f04f 0350 mov.w r3, #80 ; 0x50 + 800c744: b672 cpsid i + 800c746: f383 8811 msr BASEPRI, r3 + 800c74a: f3bf 8f6f isb sy + 800c74e: f3bf 8f4f dsb sy + 800c752: b662 cpsie i + 800c754: 61ba str r2, [r7, #24] + 800c756: 617b str r3, [r7, #20] :"=r" (ulOriginalBASEPRI), "=r" (ulNewBASEPRI) : "i" ( configMAX_SYSCALL_INTERRUPT_PRIORITY ) : "memory" ); /* This return will not be reached but is necessary to prevent compiler warnings. */ return ulOriginalBASEPRI; - 800cbbc: 69bb ldr r3, [r7, #24] + 800c758: 69bb ldr r3, [r7, #24] /* Similar to xQueueGenericSend, except without blocking if there is no room in the queue. Also don't directly wake a task that was blocked on a queue read, instead return a flag to say whether a context switch is required or not (i.e. has a task with a higher priority than us been woken by this post). */ uxSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR(); - 800cbbe: 62fb str r3, [r7, #44] ; 0x2c + 800c75a: 62fb str r3, [r7, #44] ; 0x2c { if( ( pxQueue->uxMessagesWaiting < pxQueue->uxLength ) || ( xCopyPosition == queueOVERWRITE ) ) - 800cbc0: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cbc2: 6b9a ldr r2, [r3, #56] ; 0x38 - 800cbc4: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cbc6: 6bdb ldr r3, [r3, #60] ; 0x3c - 800cbc8: 429a cmp r2, r3 - 800cbca: d302 bcc.n 800cbd2 - 800cbcc: 683b ldr r3, [r7, #0] - 800cbce: 2b02 cmp r3, #2 - 800cbd0: d12c bne.n 800cc2c + 800c75c: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c75e: 6b9a ldr r2, [r3, #56] ; 0x38 + 800c760: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c762: 6bdb ldr r3, [r3, #60] ; 0x3c + 800c764: 429a cmp r2, r3 + 800c766: d302 bcc.n 800c76e + 800c768: 683b ldr r3, [r7, #0] + 800c76a: 2b02 cmp r3, #2 + 800c76c: d12c bne.n 800c7c8 { const int8_t cTxLock = pxQueue->cTxLock; - 800cbd2: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cbd4: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 - 800cbd8: f887 302b strb.w r3, [r7, #43] ; 0x2b + 800c76e: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c770: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 + 800c774: f887 302b strb.w r3, [r7, #43] ; 0x2b /* Semaphores use xQueueGiveFromISR(), so pxQueue will not be a semaphore or mutex. That means prvCopyDataToQueue() cannot result in a task disinheriting a priority and prvCopyDataToQueue() can be called here even though the disinherit function does not check if the scheduler is suspended before accessing the ready lists. */ ( void ) prvCopyDataToQueue( pxQueue, pvItemToQueue, xCopyPosition ); - 800cbdc: 683a ldr r2, [r7, #0] - 800cbde: 68b9 ldr r1, [r7, #8] - 800cbe0: 6b38 ldr r0, [r7, #48] ; 0x30 - 800cbe2: f000 fb4e bl 800d282 + 800c778: 683a ldr r2, [r7, #0] + 800c77a: 68b9 ldr r1, [r7, #8] + 800c77c: 6b38 ldr r0, [r7, #48] ; 0x30 + 800c77e: f000 fb4e bl 800ce1e /* The event list is not altered if the queue is locked. This will be done when the queue is unlocked later. */ if( cTxLock == queueUNLOCKED ) - 800cbe6: f997 302b ldrsb.w r3, [r7, #43] ; 0x2b - 800cbea: f1b3 3fff cmp.w r3, #4294967295 - 800cbee: d112 bne.n 800cc16 + 800c782: f997 302b ldrsb.w r3, [r7, #43] ; 0x2b + 800c786: f1b3 3fff cmp.w r3, #4294967295 + 800c78a: d112 bne.n 800c7b2 } } } #else /* configUSE_QUEUE_SETS */ { if( listLIST_IS_EMPTY( &( pxQueue->xTasksWaitingToReceive ) ) == pdFALSE ) - 800cbf0: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cbf2: 6a5b ldr r3, [r3, #36] ; 0x24 - 800cbf4: 2b00 cmp r3, #0 - 800cbf6: d016 beq.n 800cc26 + 800c78c: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c78e: 6a5b ldr r3, [r3, #36] ; 0x24 + 800c790: 2b00 cmp r3, #0 + 800c792: d016 beq.n 800c7c2 { if( xTaskRemoveFromEventList( &( pxQueue->xTasksWaitingToReceive ) ) != pdFALSE ) - 800cbf8: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cbfa: 3324 adds r3, #36 ; 0x24 - 800cbfc: 4618 mov r0, r3 - 800cbfe: f001 f9cb bl 800df98 - 800cc02: 4603 mov r3, r0 - 800cc04: 2b00 cmp r3, #0 - 800cc06: d00e beq.n 800cc26 + 800c794: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c796: 3324 adds r3, #36 ; 0x24 + 800c798: 4618 mov r0, r3 + 800c79a: f001 f9cb bl 800db34 + 800c79e: 4603 mov r3, r0 + 800c7a0: 2b00 cmp r3, #0 + 800c7a2: d00e beq.n 800c7c2 { /* The task waiting has a higher priority so record that a context switch is required. */ if( pxHigherPriorityTaskWoken != NULL ) - 800cc08: 687b ldr r3, [r7, #4] - 800cc0a: 2b00 cmp r3, #0 - 800cc0c: d00b beq.n 800cc26 + 800c7a4: 687b ldr r3, [r7, #4] + 800c7a6: 2b00 cmp r3, #0 + 800c7a8: d00b beq.n 800c7c2 { *pxHigherPriorityTaskWoken = pdTRUE; - 800cc0e: 687b ldr r3, [r7, #4] - 800cc10: 2201 movs r2, #1 - 800cc12: 601a str r2, [r3, #0] - 800cc14: e007 b.n 800cc26 + 800c7aa: 687b ldr r3, [r7, #4] + 800c7ac: 2201 movs r2, #1 + 800c7ae: 601a str r2, [r3, #0] + 800c7b0: e007 b.n 800c7c2 } else { /* Increment the lock count so the task that unlocks the queue knows that data was posted while it was locked. */ pxQueue->cTxLock = ( int8_t ) ( cTxLock + 1 ); - 800cc16: f897 302b ldrb.w r3, [r7, #43] ; 0x2b - 800cc1a: 3301 adds r3, #1 - 800cc1c: b2db uxtb r3, r3 - 800cc1e: b25a sxtb r2, r3 - 800cc20: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cc22: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 800c7b2: f897 302b ldrb.w r3, [r7, #43] ; 0x2b + 800c7b6: 3301 adds r3, #1 + 800c7b8: b2db uxtb r3, r3 + 800c7ba: b25a sxtb r2, r3 + 800c7bc: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c7be: f883 2045 strb.w r2, [r3, #69] ; 0x45 } xReturn = pdPASS; - 800cc26: 2301 movs r3, #1 - 800cc28: 637b str r3, [r7, #52] ; 0x34 + 800c7c2: 2301 movs r3, #1 + 800c7c4: 637b str r3, [r7, #52] ; 0x34 { - 800cc2a: e001 b.n 800cc30 + 800c7c6: e001 b.n 800c7cc } else { traceQUEUE_SEND_FROM_ISR_FAILED( pxQueue ); xReturn = errQUEUE_FULL; - 800cc2c: 2300 movs r3, #0 - 800cc2e: 637b str r3, [r7, #52] ; 0x34 - 800cc30: 6afb ldr r3, [r7, #44] ; 0x2c - 800cc32: 613b str r3, [r7, #16] + 800c7c8: 2300 movs r3, #0 + 800c7ca: 637b str r3, [r7, #52] ; 0x34 + 800c7cc: 6afb ldr r3, [r7, #44] ; 0x2c + 800c7ce: 613b str r3, [r7, #16] } /*-----------------------------------------------------------*/ portFORCE_INLINE static void vPortSetBASEPRI( uint32_t ulNewMaskValue ) { __asm volatile - 800cc34: 693b ldr r3, [r7, #16] - 800cc36: f383 8811 msr BASEPRI, r3 + 800c7d0: 693b ldr r3, [r7, #16] + 800c7d2: f383 8811 msr BASEPRI, r3 } } portCLEAR_INTERRUPT_MASK_FROM_ISR( uxSavedInterruptStatus ); return xReturn; - 800cc3a: 6b7b ldr r3, [r7, #52] ; 0x34 + 800c7d6: 6b7b ldr r3, [r7, #52] ; 0x34 } - 800cc3c: 4618 mov r0, r3 - 800cc3e: 3738 adds r7, #56 ; 0x38 - 800cc40: 46bd mov sp, r7 - 800cc42: bd80 pop {r7, pc} + 800c7d8: 4618 mov r0, r3 + 800c7da: 3738 adds r7, #56 ; 0x38 + 800c7dc: 46bd mov sp, r7 + 800c7de: bd80 pop {r7, pc} -0800cc44 : +0800c7e0 : /*-----------------------------------------------------------*/ BaseType_t xQueueGiveFromISR( QueueHandle_t xQueue, BaseType_t * const pxHigherPriorityTaskWoken ) { - 800cc44: b580 push {r7, lr} - 800cc46: b08e sub sp, #56 ; 0x38 - 800cc48: af00 add r7, sp, #0 - 800cc4a: 6078 str r0, [r7, #4] - 800cc4c: 6039 str r1, [r7, #0] + 800c7e0: b580 push {r7, lr} + 800c7e2: b08e sub sp, #56 ; 0x38 + 800c7e4: af00 add r7, sp, #0 + 800c7e6: 6078 str r0, [r7, #4] + 800c7e8: 6039 str r1, [r7, #0] BaseType_t xReturn; UBaseType_t uxSavedInterruptStatus; Queue_t * const pxQueue = xQueue; - 800cc4e: 687b ldr r3, [r7, #4] - 800cc50: 633b str r3, [r7, #48] ; 0x30 + 800c7ea: 687b ldr r3, [r7, #4] + 800c7ec: 633b str r3, [r7, #48] ; 0x30 item size is 0. Don't directly wake a task that was blocked on a queue read, instead return a flag to say whether a context switch is required or not (i.e. has a task with a higher priority than us been woken by this post). */ configASSERT( pxQueue ); - 800cc52: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cc54: 2b00 cmp r3, #0 - 800cc56: d10b bne.n 800cc70 + 800c7ee: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c7f0: 2b00 cmp r3, #0 + 800c7f2: d10b bne.n 800c80c __asm volatile - 800cc58: f04f 0350 mov.w r3, #80 ; 0x50 - 800cc5c: b672 cpsid i - 800cc5e: f383 8811 msr BASEPRI, r3 - 800cc62: f3bf 8f6f isb sy - 800cc66: f3bf 8f4f dsb sy - 800cc6a: b662 cpsie i - 800cc6c: 623b str r3, [r7, #32] - 800cc6e: e7fe b.n 800cc6e + 800c7f4: f04f 0350 mov.w r3, #80 ; 0x50 + 800c7f8: b672 cpsid i + 800c7fa: f383 8811 msr BASEPRI, r3 + 800c7fe: f3bf 8f6f isb sy + 800c802: f3bf 8f4f dsb sy + 800c806: b662 cpsie i + 800c808: 623b str r3, [r7, #32] + 800c80a: e7fe b.n 800c80a /* xQueueGenericSendFromISR() should be used instead of xQueueGiveFromISR() if the item size is not 0. */ configASSERT( pxQueue->uxItemSize == 0 ); - 800cc70: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cc72: 6c1b ldr r3, [r3, #64] ; 0x40 - 800cc74: 2b00 cmp r3, #0 - 800cc76: d00b beq.n 800cc90 - 800cc78: f04f 0350 mov.w r3, #80 ; 0x50 - 800cc7c: b672 cpsid i - 800cc7e: f383 8811 msr BASEPRI, r3 - 800cc82: f3bf 8f6f isb sy - 800cc86: f3bf 8f4f dsb sy - 800cc8a: b662 cpsie i - 800cc8c: 61fb str r3, [r7, #28] - 800cc8e: e7fe b.n 800cc8e + 800c80c: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c80e: 6c1b ldr r3, [r3, #64] ; 0x40 + 800c810: 2b00 cmp r3, #0 + 800c812: d00b beq.n 800c82c + 800c814: f04f 0350 mov.w r3, #80 ; 0x50 + 800c818: b672 cpsid i + 800c81a: f383 8811 msr BASEPRI, r3 + 800c81e: f3bf 8f6f isb sy + 800c822: f3bf 8f4f dsb sy + 800c826: b662 cpsie i + 800c828: 61fb str r3, [r7, #28] + 800c82a: e7fe b.n 800c82a /* Normally a mutex would not be given from an interrupt, especially if there is a mutex holder, as priority inheritance makes no sense for an interrupts, only tasks. */ configASSERT( !( ( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX ) && ( pxQueue->u.xSemaphore.xMutexHolder != NULL ) ) ); - 800cc90: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cc92: 681b ldr r3, [r3, #0] - 800cc94: 2b00 cmp r3, #0 - 800cc96: d103 bne.n 800cca0 - 800cc98: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cc9a: 689b ldr r3, [r3, #8] - 800cc9c: 2b00 cmp r3, #0 - 800cc9e: d101 bne.n 800cca4 - 800cca0: 2301 movs r3, #1 - 800cca2: e000 b.n 800cca6 - 800cca4: 2300 movs r3, #0 - 800cca6: 2b00 cmp r3, #0 - 800cca8: d10b bne.n 800ccc2 - 800ccaa: f04f 0350 mov.w r3, #80 ; 0x50 - 800ccae: b672 cpsid i - 800ccb0: f383 8811 msr BASEPRI, r3 - 800ccb4: f3bf 8f6f isb sy - 800ccb8: f3bf 8f4f dsb sy - 800ccbc: b662 cpsie i - 800ccbe: 61bb str r3, [r7, #24] - 800ccc0: e7fe b.n 800ccc0 + 800c82c: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c82e: 681b ldr r3, [r3, #0] + 800c830: 2b00 cmp r3, #0 + 800c832: d103 bne.n 800c83c + 800c834: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c836: 689b ldr r3, [r3, #8] + 800c838: 2b00 cmp r3, #0 + 800c83a: d101 bne.n 800c840 + 800c83c: 2301 movs r3, #1 + 800c83e: e000 b.n 800c842 + 800c840: 2300 movs r3, #0 + 800c842: 2b00 cmp r3, #0 + 800c844: d10b bne.n 800c85e + 800c846: f04f 0350 mov.w r3, #80 ; 0x50 + 800c84a: b672 cpsid i + 800c84c: f383 8811 msr BASEPRI, r3 + 800c850: f3bf 8f6f isb sy + 800c854: f3bf 8f4f dsb sy + 800c858: b662 cpsie i + 800c85a: 61bb str r3, [r7, #24] + 800c85c: e7fe b.n 800c85c that have been assigned a priority at or (logically) below the maximum system call interrupt priority. FreeRTOS maintains a separate interrupt safe API to ensure interrupt entry is as fast and as simple as possible. More information (albeit Cortex-M specific) is provided on the following link: http://www.freertos.org/RTOS-Cortex-M3-M4.html */ portASSERT_IF_INTERRUPT_PRIORITY_INVALID(); - 800ccc2: f001 ff51 bl 800eb68 + 800c85e: f001 ff4b bl 800e6f8 __asm volatile - 800ccc6: f3ef 8211 mrs r2, BASEPRI - 800ccca: f04f 0350 mov.w r3, #80 ; 0x50 - 800ccce: b672 cpsid i - 800ccd0: f383 8811 msr BASEPRI, r3 - 800ccd4: f3bf 8f6f isb sy - 800ccd8: f3bf 8f4f dsb sy - 800ccdc: b662 cpsie i - 800ccde: 617a str r2, [r7, #20] - 800cce0: 613b str r3, [r7, #16] + 800c862: f3ef 8211 mrs r2, BASEPRI + 800c866: f04f 0350 mov.w r3, #80 ; 0x50 + 800c86a: b672 cpsid i + 800c86c: f383 8811 msr BASEPRI, r3 + 800c870: f3bf 8f6f isb sy + 800c874: f3bf 8f4f dsb sy + 800c878: b662 cpsie i + 800c87a: 617a str r2, [r7, #20] + 800c87c: 613b str r3, [r7, #16] return ulOriginalBASEPRI; - 800cce2: 697b ldr r3, [r7, #20] + 800c87e: 697b ldr r3, [r7, #20] uxSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR(); - 800cce4: 62fb str r3, [r7, #44] ; 0x2c + 800c880: 62fb str r3, [r7, #44] ; 0x2c { const UBaseType_t uxMessagesWaiting = pxQueue->uxMessagesWaiting; - 800cce6: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cce8: 6b9b ldr r3, [r3, #56] ; 0x38 - 800ccea: 62bb str r3, [r7, #40] ; 0x28 + 800c882: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c884: 6b9b ldr r3, [r3, #56] ; 0x38 + 800c886: 62bb str r3, [r7, #40] ; 0x28 /* When the queue is used to implement a semaphore no data is ever moved through the queue but it is still valid to see if the queue 'has space'. */ if( uxMessagesWaiting < pxQueue->uxLength ) - 800ccec: 6b3b ldr r3, [r7, #48] ; 0x30 - 800ccee: 6bdb ldr r3, [r3, #60] ; 0x3c - 800ccf0: 6aba ldr r2, [r7, #40] ; 0x28 - 800ccf2: 429a cmp r2, r3 - 800ccf4: d22b bcs.n 800cd4e + 800c888: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c88a: 6bdb ldr r3, [r3, #60] ; 0x3c + 800c88c: 6aba ldr r2, [r7, #40] ; 0x28 + 800c88e: 429a cmp r2, r3 + 800c890: d22b bcs.n 800c8ea { const int8_t cTxLock = pxQueue->cTxLock; - 800ccf6: 6b3b ldr r3, [r7, #48] ; 0x30 - 800ccf8: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 - 800ccfc: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 800c892: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c894: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 + 800c898: f887 3027 strb.w r3, [r7, #39] ; 0x27 holder - and if there is a mutex holder then the mutex cannot be given from an ISR. As this is the ISR version of the function it can be assumed there is no mutex holder and no need to determine if priority disinheritance is needed. Simply increase the count of messages (semaphores) available. */ pxQueue->uxMessagesWaiting = uxMessagesWaiting + ( UBaseType_t ) 1; - 800cd00: 6abb ldr r3, [r7, #40] ; 0x28 - 800cd02: 1c5a adds r2, r3, #1 - 800cd04: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cd06: 639a str r2, [r3, #56] ; 0x38 + 800c89c: 6abb ldr r3, [r7, #40] ; 0x28 + 800c89e: 1c5a adds r2, r3, #1 + 800c8a0: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c8a2: 639a str r2, [r3, #56] ; 0x38 /* The event list is not altered if the queue is locked. This will be done when the queue is unlocked later. */ if( cTxLock == queueUNLOCKED ) - 800cd08: f997 3027 ldrsb.w r3, [r7, #39] ; 0x27 - 800cd0c: f1b3 3fff cmp.w r3, #4294967295 - 800cd10: d112 bne.n 800cd38 + 800c8a4: f997 3027 ldrsb.w r3, [r7, #39] ; 0x27 + 800c8a8: f1b3 3fff cmp.w r3, #4294967295 + 800c8ac: d112 bne.n 800c8d4 } } } #else /* configUSE_QUEUE_SETS */ { if( listLIST_IS_EMPTY( &( pxQueue->xTasksWaitingToReceive ) ) == pdFALSE ) - 800cd12: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cd14: 6a5b ldr r3, [r3, #36] ; 0x24 - 800cd16: 2b00 cmp r3, #0 - 800cd18: d016 beq.n 800cd48 + 800c8ae: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c8b0: 6a5b ldr r3, [r3, #36] ; 0x24 + 800c8b2: 2b00 cmp r3, #0 + 800c8b4: d016 beq.n 800c8e4 { if( xTaskRemoveFromEventList( &( pxQueue->xTasksWaitingToReceive ) ) != pdFALSE ) - 800cd1a: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cd1c: 3324 adds r3, #36 ; 0x24 - 800cd1e: 4618 mov r0, r3 - 800cd20: f001 f93a bl 800df98 - 800cd24: 4603 mov r3, r0 - 800cd26: 2b00 cmp r3, #0 - 800cd28: d00e beq.n 800cd48 + 800c8b6: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c8b8: 3324 adds r3, #36 ; 0x24 + 800c8ba: 4618 mov r0, r3 + 800c8bc: f001 f93a bl 800db34 + 800c8c0: 4603 mov r3, r0 + 800c8c2: 2b00 cmp r3, #0 + 800c8c4: d00e beq.n 800c8e4 { /* The task waiting has a higher priority so record that a context switch is required. */ if( pxHigherPriorityTaskWoken != NULL ) - 800cd2a: 683b ldr r3, [r7, #0] - 800cd2c: 2b00 cmp r3, #0 - 800cd2e: d00b beq.n 800cd48 + 800c8c6: 683b ldr r3, [r7, #0] + 800c8c8: 2b00 cmp r3, #0 + 800c8ca: d00b beq.n 800c8e4 { *pxHigherPriorityTaskWoken = pdTRUE; - 800cd30: 683b ldr r3, [r7, #0] - 800cd32: 2201 movs r2, #1 - 800cd34: 601a str r2, [r3, #0] - 800cd36: e007 b.n 800cd48 + 800c8cc: 683b ldr r3, [r7, #0] + 800c8ce: 2201 movs r2, #1 + 800c8d0: 601a str r2, [r3, #0] + 800c8d2: e007 b.n 800c8e4 } else { /* Increment the lock count so the task that unlocks the queue knows that data was posted while it was locked. */ pxQueue->cTxLock = ( int8_t ) ( cTxLock + 1 ); - 800cd38: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 800cd3c: 3301 adds r3, #1 - 800cd3e: b2db uxtb r3, r3 - 800cd40: b25a sxtb r2, r3 - 800cd42: 6b3b ldr r3, [r7, #48] ; 0x30 - 800cd44: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 800c8d4: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 800c8d8: 3301 adds r3, #1 + 800c8da: b2db uxtb r3, r3 + 800c8dc: b25a sxtb r2, r3 + 800c8de: 6b3b ldr r3, [r7, #48] ; 0x30 + 800c8e0: f883 2045 strb.w r2, [r3, #69] ; 0x45 } xReturn = pdPASS; - 800cd48: 2301 movs r3, #1 - 800cd4a: 637b str r3, [r7, #52] ; 0x34 - 800cd4c: e001 b.n 800cd52 + 800c8e4: 2301 movs r3, #1 + 800c8e6: 637b str r3, [r7, #52] ; 0x34 + 800c8e8: e001 b.n 800c8ee } else { traceQUEUE_SEND_FROM_ISR_FAILED( pxQueue ); xReturn = errQUEUE_FULL; - 800cd4e: 2300 movs r3, #0 - 800cd50: 637b str r3, [r7, #52] ; 0x34 - 800cd52: 6afb ldr r3, [r7, #44] ; 0x2c - 800cd54: 60fb str r3, [r7, #12] + 800c8ea: 2300 movs r3, #0 + 800c8ec: 637b str r3, [r7, #52] ; 0x34 + 800c8ee: 6afb ldr r3, [r7, #44] ; 0x2c + 800c8f0: 60fb str r3, [r7, #12] __asm volatile - 800cd56: 68fb ldr r3, [r7, #12] - 800cd58: f383 8811 msr BASEPRI, r3 + 800c8f2: 68fb ldr r3, [r7, #12] + 800c8f4: f383 8811 msr BASEPRI, r3 } } portCLEAR_INTERRUPT_MASK_FROM_ISR( uxSavedInterruptStatus ); return xReturn; - 800cd5c: 6b7b ldr r3, [r7, #52] ; 0x34 + 800c8f8: 6b7b ldr r3, [r7, #52] ; 0x34 } - 800cd5e: 4618 mov r0, r3 - 800cd60: 3738 adds r7, #56 ; 0x38 - 800cd62: 46bd mov sp, r7 - 800cd64: bd80 pop {r7, pc} + 800c8fa: 4618 mov r0, r3 + 800c8fc: 3738 adds r7, #56 ; 0x38 + 800c8fe: 46bd mov sp, r7 + 800c900: bd80 pop {r7, pc} ... -0800cd68 : +0800c904 : /*-----------------------------------------------------------*/ BaseType_t xQueueReceive( QueueHandle_t xQueue, void * const pvBuffer, TickType_t xTicksToWait ) { - 800cd68: b580 push {r7, lr} - 800cd6a: b08c sub sp, #48 ; 0x30 - 800cd6c: af00 add r7, sp, #0 - 800cd6e: 60f8 str r0, [r7, #12] - 800cd70: 60b9 str r1, [r7, #8] - 800cd72: 607a str r2, [r7, #4] + 800c904: b580 push {r7, lr} + 800c906: b08c sub sp, #48 ; 0x30 + 800c908: af00 add r7, sp, #0 + 800c90a: 60f8 str r0, [r7, #12] + 800c90c: 60b9 str r1, [r7, #8] + 800c90e: 607a str r2, [r7, #4] BaseType_t xEntryTimeSet = pdFALSE; - 800cd74: 2300 movs r3, #0 - 800cd76: 62fb str r3, [r7, #44] ; 0x2c + 800c910: 2300 movs r3, #0 + 800c912: 62fb str r3, [r7, #44] ; 0x2c TimeOut_t xTimeOut; Queue_t * const pxQueue = xQueue; - 800cd78: 68fb ldr r3, [r7, #12] - 800cd7a: 62bb str r3, [r7, #40] ; 0x28 + 800c914: 68fb ldr r3, [r7, #12] + 800c916: 62bb str r3, [r7, #40] ; 0x28 /* Check the pointer is not NULL. */ configASSERT( ( pxQueue ) ); - 800cd7c: 6abb ldr r3, [r7, #40] ; 0x28 - 800cd7e: 2b00 cmp r3, #0 - 800cd80: d10b bne.n 800cd9a + 800c918: 6abb ldr r3, [r7, #40] ; 0x28 + 800c91a: 2b00 cmp r3, #0 + 800c91c: d10b bne.n 800c936 __asm volatile - 800cd82: f04f 0350 mov.w r3, #80 ; 0x50 - 800cd86: b672 cpsid i - 800cd88: f383 8811 msr BASEPRI, r3 - 800cd8c: f3bf 8f6f isb sy - 800cd90: f3bf 8f4f dsb sy - 800cd94: b662 cpsie i - 800cd96: 623b str r3, [r7, #32] - 800cd98: e7fe b.n 800cd98 + 800c91e: f04f 0350 mov.w r3, #80 ; 0x50 + 800c922: b672 cpsid i + 800c924: f383 8811 msr BASEPRI, r3 + 800c928: f3bf 8f6f isb sy + 800c92c: f3bf 8f4f dsb sy + 800c930: b662 cpsie i + 800c932: 623b str r3, [r7, #32] + 800c934: e7fe b.n 800c934 /* The buffer into which data is received can only be NULL if the data size is zero (so no data is copied into the buffer. */ configASSERT( !( ( ( pvBuffer ) == NULL ) && ( ( pxQueue )->uxItemSize != ( UBaseType_t ) 0U ) ) ); - 800cd9a: 68bb ldr r3, [r7, #8] - 800cd9c: 2b00 cmp r3, #0 - 800cd9e: d103 bne.n 800cda8 - 800cda0: 6abb ldr r3, [r7, #40] ; 0x28 - 800cda2: 6c1b ldr r3, [r3, #64] ; 0x40 - 800cda4: 2b00 cmp r3, #0 - 800cda6: d101 bne.n 800cdac - 800cda8: 2301 movs r3, #1 - 800cdaa: e000 b.n 800cdae - 800cdac: 2300 movs r3, #0 - 800cdae: 2b00 cmp r3, #0 - 800cdb0: d10b bne.n 800cdca - 800cdb2: f04f 0350 mov.w r3, #80 ; 0x50 - 800cdb6: b672 cpsid i - 800cdb8: f383 8811 msr BASEPRI, r3 - 800cdbc: f3bf 8f6f isb sy - 800cdc0: f3bf 8f4f dsb sy - 800cdc4: b662 cpsie i - 800cdc6: 61fb str r3, [r7, #28] - 800cdc8: e7fe b.n 800cdc8 + 800c936: 68bb ldr r3, [r7, #8] + 800c938: 2b00 cmp r3, #0 + 800c93a: d103 bne.n 800c944 + 800c93c: 6abb ldr r3, [r7, #40] ; 0x28 + 800c93e: 6c1b ldr r3, [r3, #64] ; 0x40 + 800c940: 2b00 cmp r3, #0 + 800c942: d101 bne.n 800c948 + 800c944: 2301 movs r3, #1 + 800c946: e000 b.n 800c94a + 800c948: 2300 movs r3, #0 + 800c94a: 2b00 cmp r3, #0 + 800c94c: d10b bne.n 800c966 + 800c94e: f04f 0350 mov.w r3, #80 ; 0x50 + 800c952: b672 cpsid i + 800c954: f383 8811 msr BASEPRI, r3 + 800c958: f3bf 8f6f isb sy + 800c95c: f3bf 8f4f dsb sy + 800c960: b662 cpsie i + 800c962: 61fb str r3, [r7, #28] + 800c964: e7fe b.n 800c964 /* Cannot block if the scheduler is suspended. */ #if ( ( INCLUDE_xTaskGetSchedulerState == 1 ) || ( configUSE_TIMERS == 1 ) ) { configASSERT( !( ( xTaskGetSchedulerState() == taskSCHEDULER_SUSPENDED ) && ( xTicksToWait != 0 ) ) ); - 800cdca: f001 faa5 bl 800e318 - 800cdce: 4603 mov r3, r0 - 800cdd0: 2b00 cmp r3, #0 - 800cdd2: d102 bne.n 800cdda - 800cdd4: 687b ldr r3, [r7, #4] - 800cdd6: 2b00 cmp r3, #0 - 800cdd8: d101 bne.n 800cdde - 800cdda: 2301 movs r3, #1 - 800cddc: e000 b.n 800cde0 - 800cdde: 2300 movs r3, #0 - 800cde0: 2b00 cmp r3, #0 - 800cde2: d10b bne.n 800cdfc - 800cde4: f04f 0350 mov.w r3, #80 ; 0x50 - 800cde8: b672 cpsid i - 800cdea: f383 8811 msr BASEPRI, r3 - 800cdee: f3bf 8f6f isb sy - 800cdf2: f3bf 8f4f dsb sy - 800cdf6: b662 cpsie i - 800cdf8: 61bb str r3, [r7, #24] - 800cdfa: e7fe b.n 800cdfa + 800c966: f001 faa5 bl 800deb4 + 800c96a: 4603 mov r3, r0 + 800c96c: 2b00 cmp r3, #0 + 800c96e: d102 bne.n 800c976 + 800c970: 687b ldr r3, [r7, #4] + 800c972: 2b00 cmp r3, #0 + 800c974: d101 bne.n 800c97a + 800c976: 2301 movs r3, #1 + 800c978: e000 b.n 800c97c + 800c97a: 2300 movs r3, #0 + 800c97c: 2b00 cmp r3, #0 + 800c97e: d10b bne.n 800c998 + 800c980: f04f 0350 mov.w r3, #80 ; 0x50 + 800c984: b672 cpsid i + 800c986: f383 8811 msr BASEPRI, r3 + 800c98a: f3bf 8f6f isb sy + 800c98e: f3bf 8f4f dsb sy + 800c992: b662 cpsie i + 800c994: 61bb str r3, [r7, #24] + 800c996: e7fe b.n 800c996 /*lint -save -e904 This function relaxes the coding standard somewhat to allow return statements within the function itself. This is done in the interest of execution time efficiency. */ for( ;; ) { taskENTER_CRITICAL(); - 800cdfc: f001 fdd4 bl 800e9a8 + 800c998: f001 fdce bl 800e538 { const UBaseType_t uxMessagesWaiting = pxQueue->uxMessagesWaiting; - 800ce00: 6abb ldr r3, [r7, #40] ; 0x28 - 800ce02: 6b9b ldr r3, [r3, #56] ; 0x38 - 800ce04: 627b str r3, [r7, #36] ; 0x24 + 800c99c: 6abb ldr r3, [r7, #40] ; 0x28 + 800c99e: 6b9b ldr r3, [r3, #56] ; 0x38 + 800c9a0: 627b str r3, [r7, #36] ; 0x24 /* Is there data in the queue now? To be running the calling task must be the highest priority task wanting to access the queue. */ if( uxMessagesWaiting > ( UBaseType_t ) 0 ) - 800ce06: 6a7b ldr r3, [r7, #36] ; 0x24 - 800ce08: 2b00 cmp r3, #0 - 800ce0a: d01f beq.n 800ce4c + 800c9a2: 6a7b ldr r3, [r7, #36] ; 0x24 + 800c9a4: 2b00 cmp r3, #0 + 800c9a6: d01f beq.n 800c9e8 { /* Data available, remove one item. */ prvCopyDataFromQueue( pxQueue, pvBuffer ); - 800ce0c: 68b9 ldr r1, [r7, #8] - 800ce0e: 6ab8 ldr r0, [r7, #40] ; 0x28 - 800ce10: f000 faa1 bl 800d356 + 800c9a8: 68b9 ldr r1, [r7, #8] + 800c9aa: 6ab8 ldr r0, [r7, #40] ; 0x28 + 800c9ac: f000 faa1 bl 800cef2 traceQUEUE_RECEIVE( pxQueue ); pxQueue->uxMessagesWaiting = uxMessagesWaiting - ( UBaseType_t ) 1; - 800ce14: 6a7b ldr r3, [r7, #36] ; 0x24 - 800ce16: 1e5a subs r2, r3, #1 - 800ce18: 6abb ldr r3, [r7, #40] ; 0x28 - 800ce1a: 639a str r2, [r3, #56] ; 0x38 + 800c9b0: 6a7b ldr r3, [r7, #36] ; 0x24 + 800c9b2: 1e5a subs r2, r3, #1 + 800c9b4: 6abb ldr r3, [r7, #40] ; 0x28 + 800c9b6: 639a str r2, [r3, #56] ; 0x38 /* There is now space in the queue, were any tasks waiting to post to the queue? If so, unblock the highest priority waiting task. */ if( listLIST_IS_EMPTY( &( pxQueue->xTasksWaitingToSend ) ) == pdFALSE ) - 800ce1c: 6abb ldr r3, [r7, #40] ; 0x28 - 800ce1e: 691b ldr r3, [r3, #16] - 800ce20: 2b00 cmp r3, #0 - 800ce22: d00f beq.n 800ce44 + 800c9b8: 6abb ldr r3, [r7, #40] ; 0x28 + 800c9ba: 691b ldr r3, [r3, #16] + 800c9bc: 2b00 cmp r3, #0 + 800c9be: d00f beq.n 800c9e0 { if( xTaskRemoveFromEventList( &( pxQueue->xTasksWaitingToSend ) ) != pdFALSE ) - 800ce24: 6abb ldr r3, [r7, #40] ; 0x28 - 800ce26: 3310 adds r3, #16 - 800ce28: 4618 mov r0, r3 - 800ce2a: f001 f8b5 bl 800df98 - 800ce2e: 4603 mov r3, r0 - 800ce30: 2b00 cmp r3, #0 - 800ce32: d007 beq.n 800ce44 + 800c9c0: 6abb ldr r3, [r7, #40] ; 0x28 + 800c9c2: 3310 adds r3, #16 + 800c9c4: 4618 mov r0, r3 + 800c9c6: f001 f8b5 bl 800db34 + 800c9ca: 4603 mov r3, r0 + 800c9cc: 2b00 cmp r3, #0 + 800c9ce: d007 beq.n 800c9e0 { queueYIELD_IF_USING_PREEMPTION(); - 800ce34: 4b3c ldr r3, [pc, #240] ; (800cf28 ) - 800ce36: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800ce3a: 601a str r2, [r3, #0] - 800ce3c: f3bf 8f4f dsb sy - 800ce40: f3bf 8f6f isb sy + 800c9d0: 4b3c ldr r3, [pc, #240] ; (800cac4 ) + 800c9d2: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800c9d6: 601a str r2, [r3, #0] + 800c9d8: f3bf 8f4f dsb sy + 800c9dc: f3bf 8f6f isb sy else { mtCOVERAGE_TEST_MARKER(); } taskEXIT_CRITICAL(); - 800ce44: f001 fde2 bl 800ea0c + 800c9e0: f001 fddc bl 800e59c return pdPASS; - 800ce48: 2301 movs r3, #1 - 800ce4a: e069 b.n 800cf20 + 800c9e4: 2301 movs r3, #1 + 800c9e6: e069 b.n 800cabc } else { if( xTicksToWait == ( TickType_t ) 0 ) - 800ce4c: 687b ldr r3, [r7, #4] - 800ce4e: 2b00 cmp r3, #0 - 800ce50: d103 bne.n 800ce5a + 800c9e8: 687b ldr r3, [r7, #4] + 800c9ea: 2b00 cmp r3, #0 + 800c9ec: d103 bne.n 800c9f6 { /* The queue was empty and no block time is specified (or the block time has expired) so leave now. */ taskEXIT_CRITICAL(); - 800ce52: f001 fddb bl 800ea0c + 800c9ee: f001 fdd5 bl 800e59c traceQUEUE_RECEIVE_FAILED( pxQueue ); return errQUEUE_EMPTY; - 800ce56: 2300 movs r3, #0 - 800ce58: e062 b.n 800cf20 + 800c9f2: 2300 movs r3, #0 + 800c9f4: e062 b.n 800cabc } else if( xEntryTimeSet == pdFALSE ) - 800ce5a: 6afb ldr r3, [r7, #44] ; 0x2c - 800ce5c: 2b00 cmp r3, #0 - 800ce5e: d106 bne.n 800ce6e + 800c9f6: 6afb ldr r3, [r7, #44] ; 0x2c + 800c9f8: 2b00 cmp r3, #0 + 800c9fa: d106 bne.n 800ca0a { /* The queue was empty and a block time was specified so configure the timeout structure. */ vTaskInternalSetTimeOutState( &xTimeOut ); - 800ce60: f107 0310 add.w r3, r7, #16 - 800ce64: 4618 mov r0, r3 - 800ce66: f001 f8fb bl 800e060 + 800c9fc: f107 0310 add.w r3, r7, #16 + 800ca00: 4618 mov r0, r3 + 800ca02: f001 f8fb bl 800dbfc xEntryTimeSet = pdTRUE; - 800ce6a: 2301 movs r3, #1 - 800ce6c: 62fb str r3, [r7, #44] ; 0x2c + 800ca06: 2301 movs r3, #1 + 800ca08: 62fb str r3, [r7, #44] ; 0x2c /* Entry time was already set. */ mtCOVERAGE_TEST_MARKER(); } } } taskEXIT_CRITICAL(); - 800ce6e: f001 fdcd bl 800ea0c + 800ca0a: f001 fdc7 bl 800e59c /* Interrupts and other tasks can send to and receive from the queue now the critical section has been exited. */ vTaskSuspendAll(); - 800ce72: f000 fe61 bl 800db38 + 800ca0e: f000 fe61 bl 800d6d4 prvLockQueue( pxQueue ); - 800ce76: f001 fd97 bl 800e9a8 - 800ce7a: 6abb ldr r3, [r7, #40] ; 0x28 - 800ce7c: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 - 800ce80: b25b sxtb r3, r3 - 800ce82: f1b3 3fff cmp.w r3, #4294967295 - 800ce86: d103 bne.n 800ce90 - 800ce88: 6abb ldr r3, [r7, #40] ; 0x28 - 800ce8a: 2200 movs r2, #0 - 800ce8c: f883 2044 strb.w r2, [r3, #68] ; 0x44 - 800ce90: 6abb ldr r3, [r7, #40] ; 0x28 - 800ce92: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 - 800ce96: b25b sxtb r3, r3 - 800ce98: f1b3 3fff cmp.w r3, #4294967295 - 800ce9c: d103 bne.n 800cea6 - 800ce9e: 6abb ldr r3, [r7, #40] ; 0x28 - 800cea0: 2200 movs r2, #0 - 800cea2: f883 2045 strb.w r2, [r3, #69] ; 0x45 - 800cea6: f001 fdb1 bl 800ea0c + 800ca12: f001 fd91 bl 800e538 + 800ca16: 6abb ldr r3, [r7, #40] ; 0x28 + 800ca18: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 + 800ca1c: b25b sxtb r3, r3 + 800ca1e: f1b3 3fff cmp.w r3, #4294967295 + 800ca22: d103 bne.n 800ca2c + 800ca24: 6abb ldr r3, [r7, #40] ; 0x28 + 800ca26: 2200 movs r2, #0 + 800ca28: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 800ca2c: 6abb ldr r3, [r7, #40] ; 0x28 + 800ca2e: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 + 800ca32: b25b sxtb r3, r3 + 800ca34: f1b3 3fff cmp.w r3, #4294967295 + 800ca38: d103 bne.n 800ca42 + 800ca3a: 6abb ldr r3, [r7, #40] ; 0x28 + 800ca3c: 2200 movs r2, #0 + 800ca3e: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 800ca42: f001 fdab bl 800e59c /* Update the timeout state to see if it has expired yet. */ if( xTaskCheckForTimeOut( &xTimeOut, &xTicksToWait ) == pdFALSE ) - 800ceaa: 1d3a adds r2, r7, #4 - 800ceac: f107 0310 add.w r3, r7, #16 - 800ceb0: 4611 mov r1, r2 - 800ceb2: 4618 mov r0, r3 - 800ceb4: f001 f8ea bl 800e08c - 800ceb8: 4603 mov r3, r0 - 800ceba: 2b00 cmp r3, #0 - 800cebc: d123 bne.n 800cf06 + 800ca46: 1d3a adds r2, r7, #4 + 800ca48: f107 0310 add.w r3, r7, #16 + 800ca4c: 4611 mov r1, r2 + 800ca4e: 4618 mov r0, r3 + 800ca50: f001 f8ea bl 800dc28 + 800ca54: 4603 mov r3, r0 + 800ca56: 2b00 cmp r3, #0 + 800ca58: d123 bne.n 800caa2 { /* The timeout has not expired. If the queue is still empty place the task on the list of tasks waiting to receive from the queue. */ if( prvIsQueueEmpty( pxQueue ) != pdFALSE ) - 800cebe: 6ab8 ldr r0, [r7, #40] ; 0x28 - 800cec0: f000 fac1 bl 800d446 - 800cec4: 4603 mov r3, r0 - 800cec6: 2b00 cmp r3, #0 - 800cec8: d017 beq.n 800cefa + 800ca5a: 6ab8 ldr r0, [r7, #40] ; 0x28 + 800ca5c: f000 fac1 bl 800cfe2 + 800ca60: 4603 mov r3, r0 + 800ca62: 2b00 cmp r3, #0 + 800ca64: d017 beq.n 800ca96 { traceBLOCKING_ON_QUEUE_RECEIVE( pxQueue ); vTaskPlaceOnEventList( &( pxQueue->xTasksWaitingToReceive ), xTicksToWait ); - 800ceca: 6abb ldr r3, [r7, #40] ; 0x28 - 800cecc: 3324 adds r3, #36 ; 0x24 - 800cece: 687a ldr r2, [r7, #4] - 800ced0: 4611 mov r1, r2 - 800ced2: 4618 mov r0, r3 - 800ced4: f001 f83a bl 800df4c + 800ca66: 6abb ldr r3, [r7, #40] ; 0x28 + 800ca68: 3324 adds r3, #36 ; 0x24 + 800ca6a: 687a ldr r2, [r7, #4] + 800ca6c: 4611 mov r1, r2 + 800ca6e: 4618 mov r0, r3 + 800ca70: f001 f83a bl 800dae8 prvUnlockQueue( pxQueue ); - 800ced8: 6ab8 ldr r0, [r7, #40] ; 0x28 - 800ceda: f000 fa62 bl 800d3a2 + 800ca74: 6ab8 ldr r0, [r7, #40] ; 0x28 + 800ca76: f000 fa62 bl 800cf3e if( xTaskResumeAll() == pdFALSE ) - 800cede: f000 fe39 bl 800db54 - 800cee2: 4603 mov r3, r0 - 800cee4: 2b00 cmp r3, #0 - 800cee6: d189 bne.n 800cdfc + 800ca7a: f000 fe39 bl 800d6f0 + 800ca7e: 4603 mov r3, r0 + 800ca80: 2b00 cmp r3, #0 + 800ca82: d189 bne.n 800c998 { portYIELD_WITHIN_API(); - 800cee8: 4b0f ldr r3, [pc, #60] ; (800cf28 ) - 800ceea: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800ceee: 601a str r2, [r3, #0] - 800cef0: f3bf 8f4f dsb sy - 800cef4: f3bf 8f6f isb sy - 800cef8: e780 b.n 800cdfc + 800ca84: 4b0f ldr r3, [pc, #60] ; (800cac4 ) + 800ca86: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800ca8a: 601a str r2, [r3, #0] + 800ca8c: f3bf 8f4f dsb sy + 800ca90: f3bf 8f6f isb sy + 800ca94: e780 b.n 800c998 } else { /* The queue contains data again. Loop back to try and read the data. */ prvUnlockQueue( pxQueue ); - 800cefa: 6ab8 ldr r0, [r7, #40] ; 0x28 - 800cefc: f000 fa51 bl 800d3a2 + 800ca96: 6ab8 ldr r0, [r7, #40] ; 0x28 + 800ca98: f000 fa51 bl 800cf3e ( void ) xTaskResumeAll(); - 800cf00: f000 fe28 bl 800db54 - 800cf04: e77a b.n 800cdfc + 800ca9c: f000 fe28 bl 800d6f0 + 800caa0: e77a b.n 800c998 } else { /* Timed out. If there is no data in the queue exit, otherwise loop back and attempt to read the data. */ prvUnlockQueue( pxQueue ); - 800cf06: 6ab8 ldr r0, [r7, #40] ; 0x28 - 800cf08: f000 fa4b bl 800d3a2 + 800caa2: 6ab8 ldr r0, [r7, #40] ; 0x28 + 800caa4: f000 fa4b bl 800cf3e ( void ) xTaskResumeAll(); - 800cf0c: f000 fe22 bl 800db54 + 800caa8: f000 fe22 bl 800d6f0 if( prvIsQueueEmpty( pxQueue ) != pdFALSE ) - 800cf10: 6ab8 ldr r0, [r7, #40] ; 0x28 - 800cf12: f000 fa98 bl 800d446 - 800cf16: 4603 mov r3, r0 - 800cf18: 2b00 cmp r3, #0 - 800cf1a: f43f af6f beq.w 800cdfc + 800caac: 6ab8 ldr r0, [r7, #40] ; 0x28 + 800caae: f000 fa98 bl 800cfe2 + 800cab2: 4603 mov r3, r0 + 800cab4: 2b00 cmp r3, #0 + 800cab6: f43f af6f beq.w 800c998 { traceQUEUE_RECEIVE_FAILED( pxQueue ); return errQUEUE_EMPTY; - 800cf1e: 2300 movs r3, #0 + 800caba: 2300 movs r3, #0 { mtCOVERAGE_TEST_MARKER(); } } } /*lint -restore */ } - 800cf20: 4618 mov r0, r3 - 800cf22: 3730 adds r7, #48 ; 0x30 - 800cf24: 46bd mov sp, r7 - 800cf26: bd80 pop {r7, pc} - 800cf28: e000ed04 .word 0xe000ed04 + 800cabc: 4618 mov r0, r3 + 800cabe: 3730 adds r7, #48 ; 0x30 + 800cac0: 46bd mov sp, r7 + 800cac2: bd80 pop {r7, pc} + 800cac4: e000ed04 .word 0xe000ed04 -0800cf2c : +0800cac8 : /*-----------------------------------------------------------*/ BaseType_t xQueueSemaphoreTake( QueueHandle_t xQueue, TickType_t xTicksToWait ) { - 800cf2c: b580 push {r7, lr} - 800cf2e: b08e sub sp, #56 ; 0x38 - 800cf30: af00 add r7, sp, #0 - 800cf32: 6078 str r0, [r7, #4] - 800cf34: 6039 str r1, [r7, #0] + 800cac8: b580 push {r7, lr} + 800caca: b08e sub sp, #56 ; 0x38 + 800cacc: af00 add r7, sp, #0 + 800cace: 6078 str r0, [r7, #4] + 800cad0: 6039 str r1, [r7, #0] BaseType_t xEntryTimeSet = pdFALSE; - 800cf36: 2300 movs r3, #0 - 800cf38: 637b str r3, [r7, #52] ; 0x34 + 800cad2: 2300 movs r3, #0 + 800cad4: 637b str r3, [r7, #52] ; 0x34 TimeOut_t xTimeOut; Queue_t * const pxQueue = xQueue; - 800cf3a: 687b ldr r3, [r7, #4] - 800cf3c: 62fb str r3, [r7, #44] ; 0x2c + 800cad6: 687b ldr r3, [r7, #4] + 800cad8: 62fb str r3, [r7, #44] ; 0x2c #if( configUSE_MUTEXES == 1 ) BaseType_t xInheritanceOccurred = pdFALSE; - 800cf3e: 2300 movs r3, #0 - 800cf40: 633b str r3, [r7, #48] ; 0x30 + 800cada: 2300 movs r3, #0 + 800cadc: 633b str r3, [r7, #48] ; 0x30 #endif /* Check the queue pointer is not NULL. */ configASSERT( ( pxQueue ) ); - 800cf42: 6afb ldr r3, [r7, #44] ; 0x2c - 800cf44: 2b00 cmp r3, #0 - 800cf46: d10b bne.n 800cf60 - 800cf48: f04f 0350 mov.w r3, #80 ; 0x50 - 800cf4c: b672 cpsid i - 800cf4e: f383 8811 msr BASEPRI, r3 - 800cf52: f3bf 8f6f isb sy - 800cf56: f3bf 8f4f dsb sy - 800cf5a: b662 cpsie i - 800cf5c: 623b str r3, [r7, #32] - 800cf5e: e7fe b.n 800cf5e + 800cade: 6afb ldr r3, [r7, #44] ; 0x2c + 800cae0: 2b00 cmp r3, #0 + 800cae2: d10b bne.n 800cafc + 800cae4: f04f 0350 mov.w r3, #80 ; 0x50 + 800cae8: b672 cpsid i + 800caea: f383 8811 msr BASEPRI, r3 + 800caee: f3bf 8f6f isb sy + 800caf2: f3bf 8f4f dsb sy + 800caf6: b662 cpsie i + 800caf8: 623b str r3, [r7, #32] + 800cafa: e7fe b.n 800cafa /* Check this really is a semaphore, in which case the item size will be 0. */ configASSERT( pxQueue->uxItemSize == 0 ); - 800cf60: 6afb ldr r3, [r7, #44] ; 0x2c - 800cf62: 6c1b ldr r3, [r3, #64] ; 0x40 - 800cf64: 2b00 cmp r3, #0 - 800cf66: d00b beq.n 800cf80 - 800cf68: f04f 0350 mov.w r3, #80 ; 0x50 - 800cf6c: b672 cpsid i - 800cf6e: f383 8811 msr BASEPRI, r3 - 800cf72: f3bf 8f6f isb sy - 800cf76: f3bf 8f4f dsb sy - 800cf7a: b662 cpsie i - 800cf7c: 61fb str r3, [r7, #28] - 800cf7e: e7fe b.n 800cf7e + 800cafc: 6afb ldr r3, [r7, #44] ; 0x2c + 800cafe: 6c1b ldr r3, [r3, #64] ; 0x40 + 800cb00: 2b00 cmp r3, #0 + 800cb02: d00b beq.n 800cb1c + 800cb04: f04f 0350 mov.w r3, #80 ; 0x50 + 800cb08: b672 cpsid i + 800cb0a: f383 8811 msr BASEPRI, r3 + 800cb0e: f3bf 8f6f isb sy + 800cb12: f3bf 8f4f dsb sy + 800cb16: b662 cpsie i + 800cb18: 61fb str r3, [r7, #28] + 800cb1a: e7fe b.n 800cb1a /* Cannot block if the scheduler is suspended. */ #if ( ( INCLUDE_xTaskGetSchedulerState == 1 ) || ( configUSE_TIMERS == 1 ) ) { configASSERT( !( ( xTaskGetSchedulerState() == taskSCHEDULER_SUSPENDED ) && ( xTicksToWait != 0 ) ) ); - 800cf80: f001 f9ca bl 800e318 - 800cf84: 4603 mov r3, r0 - 800cf86: 2b00 cmp r3, #0 - 800cf88: d102 bne.n 800cf90 - 800cf8a: 683b ldr r3, [r7, #0] - 800cf8c: 2b00 cmp r3, #0 - 800cf8e: d101 bne.n 800cf94 - 800cf90: 2301 movs r3, #1 - 800cf92: e000 b.n 800cf96 - 800cf94: 2300 movs r3, #0 - 800cf96: 2b00 cmp r3, #0 - 800cf98: d10b bne.n 800cfb2 - 800cf9a: f04f 0350 mov.w r3, #80 ; 0x50 - 800cf9e: b672 cpsid i - 800cfa0: f383 8811 msr BASEPRI, r3 - 800cfa4: f3bf 8f6f isb sy - 800cfa8: f3bf 8f4f dsb sy - 800cfac: b662 cpsie i - 800cfae: 61bb str r3, [r7, #24] - 800cfb0: e7fe b.n 800cfb0 + 800cb1c: f001 f9ca bl 800deb4 + 800cb20: 4603 mov r3, r0 + 800cb22: 2b00 cmp r3, #0 + 800cb24: d102 bne.n 800cb2c + 800cb26: 683b ldr r3, [r7, #0] + 800cb28: 2b00 cmp r3, #0 + 800cb2a: d101 bne.n 800cb30 + 800cb2c: 2301 movs r3, #1 + 800cb2e: e000 b.n 800cb32 + 800cb30: 2300 movs r3, #0 + 800cb32: 2b00 cmp r3, #0 + 800cb34: d10b bne.n 800cb4e + 800cb36: f04f 0350 mov.w r3, #80 ; 0x50 + 800cb3a: b672 cpsid i + 800cb3c: f383 8811 msr BASEPRI, r3 + 800cb40: f3bf 8f6f isb sy + 800cb44: f3bf 8f4f dsb sy + 800cb48: b662 cpsie i + 800cb4a: 61bb str r3, [r7, #24] + 800cb4c: e7fe b.n 800cb4c /*lint -save -e904 This function relaxes the coding standard somewhat to allow return statements within the function itself. This is done in the interest of execution time efficiency. */ for( ;; ) { taskENTER_CRITICAL(); - 800cfb2: f001 fcf9 bl 800e9a8 + 800cb4e: f001 fcf3 bl 800e538 { /* Semaphores are queues with an item size of 0, and where the number of messages in the queue is the semaphore's count value. */ const UBaseType_t uxSemaphoreCount = pxQueue->uxMessagesWaiting; - 800cfb6: 6afb ldr r3, [r7, #44] ; 0x2c - 800cfb8: 6b9b ldr r3, [r3, #56] ; 0x38 - 800cfba: 62bb str r3, [r7, #40] ; 0x28 + 800cb52: 6afb ldr r3, [r7, #44] ; 0x2c + 800cb54: 6b9b ldr r3, [r3, #56] ; 0x38 + 800cb56: 62bb str r3, [r7, #40] ; 0x28 /* Is there data in the queue now? To be running the calling task must be the highest priority task wanting to access the queue. */ if( uxSemaphoreCount > ( UBaseType_t ) 0 ) - 800cfbc: 6abb ldr r3, [r7, #40] ; 0x28 - 800cfbe: 2b00 cmp r3, #0 - 800cfc0: d024 beq.n 800d00c + 800cb58: 6abb ldr r3, [r7, #40] ; 0x28 + 800cb5a: 2b00 cmp r3, #0 + 800cb5c: d024 beq.n 800cba8 { traceQUEUE_RECEIVE( pxQueue ); /* Semaphores are queues with a data size of zero and where the messages waiting is the semaphore's count. Reduce the count. */ pxQueue->uxMessagesWaiting = uxSemaphoreCount - ( UBaseType_t ) 1; - 800cfc2: 6abb ldr r3, [r7, #40] ; 0x28 - 800cfc4: 1e5a subs r2, r3, #1 - 800cfc6: 6afb ldr r3, [r7, #44] ; 0x2c - 800cfc8: 639a str r2, [r3, #56] ; 0x38 + 800cb5e: 6abb ldr r3, [r7, #40] ; 0x28 + 800cb60: 1e5a subs r2, r3, #1 + 800cb62: 6afb ldr r3, [r7, #44] ; 0x2c + 800cb64: 639a str r2, [r3, #56] ; 0x38 #if ( configUSE_MUTEXES == 1 ) { if( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX ) - 800cfca: 6afb ldr r3, [r7, #44] ; 0x2c - 800cfcc: 681b ldr r3, [r3, #0] - 800cfce: 2b00 cmp r3, #0 - 800cfd0: d104 bne.n 800cfdc + 800cb66: 6afb ldr r3, [r7, #44] ; 0x2c + 800cb68: 681b ldr r3, [r3, #0] + 800cb6a: 2b00 cmp r3, #0 + 800cb6c: d104 bne.n 800cb78 { /* Record the information required to implement priority inheritance should it become necessary. */ pxQueue->u.xSemaphore.xMutexHolder = pvTaskIncrementMutexHeldCount(); - 800cfd2: f001 fb63 bl 800e69c - 800cfd6: 4602 mov r2, r0 - 800cfd8: 6afb ldr r3, [r7, #44] ; 0x2c - 800cfda: 609a str r2, [r3, #8] + 800cb6e: f001 fb63 bl 800e238 + 800cb72: 4602 mov r2, r0 + 800cb74: 6afb ldr r3, [r7, #44] ; 0x2c + 800cb76: 609a str r2, [r3, #8] } #endif /* configUSE_MUTEXES */ /* Check to see if other tasks are blocked waiting to give the semaphore, and if so, unblock the highest priority such task. */ if( listLIST_IS_EMPTY( &( pxQueue->xTasksWaitingToSend ) ) == pdFALSE ) - 800cfdc: 6afb ldr r3, [r7, #44] ; 0x2c - 800cfde: 691b ldr r3, [r3, #16] - 800cfe0: 2b00 cmp r3, #0 - 800cfe2: d00f beq.n 800d004 + 800cb78: 6afb ldr r3, [r7, #44] ; 0x2c + 800cb7a: 691b ldr r3, [r3, #16] + 800cb7c: 2b00 cmp r3, #0 + 800cb7e: d00f beq.n 800cba0 { if( xTaskRemoveFromEventList( &( pxQueue->xTasksWaitingToSend ) ) != pdFALSE ) - 800cfe4: 6afb ldr r3, [r7, #44] ; 0x2c - 800cfe6: 3310 adds r3, #16 - 800cfe8: 4618 mov r0, r3 - 800cfea: f000 ffd5 bl 800df98 - 800cfee: 4603 mov r3, r0 - 800cff0: 2b00 cmp r3, #0 - 800cff2: d007 beq.n 800d004 + 800cb80: 6afb ldr r3, [r7, #44] ; 0x2c + 800cb82: 3310 adds r3, #16 + 800cb84: 4618 mov r0, r3 + 800cb86: f000 ffd5 bl 800db34 + 800cb8a: 4603 mov r3, r0 + 800cb8c: 2b00 cmp r3, #0 + 800cb8e: d007 beq.n 800cba0 { queueYIELD_IF_USING_PREEMPTION(); - 800cff4: 4b54 ldr r3, [pc, #336] ; (800d148 ) - 800cff6: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800cffa: 601a str r2, [r3, #0] - 800cffc: f3bf 8f4f dsb sy - 800d000: f3bf 8f6f isb sy + 800cb90: 4b54 ldr r3, [pc, #336] ; (800cce4 ) + 800cb92: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800cb96: 601a str r2, [r3, #0] + 800cb98: f3bf 8f4f dsb sy + 800cb9c: f3bf 8f6f isb sy else { mtCOVERAGE_TEST_MARKER(); } taskEXIT_CRITICAL(); - 800d004: f001 fd02 bl 800ea0c + 800cba0: f001 fcfc bl 800e59c return pdPASS; - 800d008: 2301 movs r3, #1 - 800d00a: e098 b.n 800d13e + 800cba4: 2301 movs r3, #1 + 800cba6: e098 b.n 800ccda } else { if( xTicksToWait == ( TickType_t ) 0 ) - 800d00c: 683b ldr r3, [r7, #0] - 800d00e: 2b00 cmp r3, #0 - 800d010: d112 bne.n 800d038 + 800cba8: 683b ldr r3, [r7, #0] + 800cbaa: 2b00 cmp r3, #0 + 800cbac: d112 bne.n 800cbd4 /* For inheritance to have occurred there must have been an initial timeout, and an adjusted timeout cannot become 0, as if it were 0 the function would have exited. */ #if( configUSE_MUTEXES == 1 ) { configASSERT( xInheritanceOccurred == pdFALSE ); - 800d012: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d014: 2b00 cmp r3, #0 - 800d016: d00b beq.n 800d030 - 800d018: f04f 0350 mov.w r3, #80 ; 0x50 - 800d01c: b672 cpsid i - 800d01e: f383 8811 msr BASEPRI, r3 - 800d022: f3bf 8f6f isb sy - 800d026: f3bf 8f4f dsb sy - 800d02a: b662 cpsie i - 800d02c: 617b str r3, [r7, #20] - 800d02e: e7fe b.n 800d02e + 800cbae: 6b3b ldr r3, [r7, #48] ; 0x30 + 800cbb0: 2b00 cmp r3, #0 + 800cbb2: d00b beq.n 800cbcc + 800cbb4: f04f 0350 mov.w r3, #80 ; 0x50 + 800cbb8: b672 cpsid i + 800cbba: f383 8811 msr BASEPRI, r3 + 800cbbe: f3bf 8f6f isb sy + 800cbc2: f3bf 8f4f dsb sy + 800cbc6: b662 cpsie i + 800cbc8: 617b str r3, [r7, #20] + 800cbca: e7fe b.n 800cbca } #endif /* configUSE_MUTEXES */ /* The semaphore count was 0 and no block time is specified (or the block time has expired) so exit now. */ taskEXIT_CRITICAL(); - 800d030: f001 fcec bl 800ea0c + 800cbcc: f001 fce6 bl 800e59c traceQUEUE_RECEIVE_FAILED( pxQueue ); return errQUEUE_EMPTY; - 800d034: 2300 movs r3, #0 - 800d036: e082 b.n 800d13e + 800cbd0: 2300 movs r3, #0 + 800cbd2: e082 b.n 800ccda } else if( xEntryTimeSet == pdFALSE ) - 800d038: 6b7b ldr r3, [r7, #52] ; 0x34 - 800d03a: 2b00 cmp r3, #0 - 800d03c: d106 bne.n 800d04c + 800cbd4: 6b7b ldr r3, [r7, #52] ; 0x34 + 800cbd6: 2b00 cmp r3, #0 + 800cbd8: d106 bne.n 800cbe8 { /* The semaphore count was 0 and a block time was specified so configure the timeout structure ready to block. */ vTaskInternalSetTimeOutState( &xTimeOut ); - 800d03e: f107 030c add.w r3, r7, #12 - 800d042: 4618 mov r0, r3 - 800d044: f001 f80c bl 800e060 + 800cbda: f107 030c add.w r3, r7, #12 + 800cbde: 4618 mov r0, r3 + 800cbe0: f001 f80c bl 800dbfc xEntryTimeSet = pdTRUE; - 800d048: 2301 movs r3, #1 - 800d04a: 637b str r3, [r7, #52] ; 0x34 + 800cbe4: 2301 movs r3, #1 + 800cbe6: 637b str r3, [r7, #52] ; 0x34 /* Entry time was already set. */ mtCOVERAGE_TEST_MARKER(); } } } taskEXIT_CRITICAL(); - 800d04c: f001 fcde bl 800ea0c + 800cbe8: f001 fcd8 bl 800e59c /* Interrupts and other tasks can give to and take from the semaphore now the critical section has been exited. */ vTaskSuspendAll(); - 800d050: f000 fd72 bl 800db38 + 800cbec: f000 fd72 bl 800d6d4 prvLockQueue( pxQueue ); - 800d054: f001 fca8 bl 800e9a8 - 800d058: 6afb ldr r3, [r7, #44] ; 0x2c - 800d05a: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 - 800d05e: b25b sxtb r3, r3 - 800d060: f1b3 3fff cmp.w r3, #4294967295 - 800d064: d103 bne.n 800d06e - 800d066: 6afb ldr r3, [r7, #44] ; 0x2c - 800d068: 2200 movs r2, #0 - 800d06a: f883 2044 strb.w r2, [r3, #68] ; 0x44 - 800d06e: 6afb ldr r3, [r7, #44] ; 0x2c - 800d070: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 - 800d074: b25b sxtb r3, r3 - 800d076: f1b3 3fff cmp.w r3, #4294967295 - 800d07a: d103 bne.n 800d084 - 800d07c: 6afb ldr r3, [r7, #44] ; 0x2c - 800d07e: 2200 movs r2, #0 - 800d080: f883 2045 strb.w r2, [r3, #69] ; 0x45 - 800d084: f001 fcc2 bl 800ea0c + 800cbf0: f001 fca2 bl 800e538 + 800cbf4: 6afb ldr r3, [r7, #44] ; 0x2c + 800cbf6: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 + 800cbfa: b25b sxtb r3, r3 + 800cbfc: f1b3 3fff cmp.w r3, #4294967295 + 800cc00: d103 bne.n 800cc0a + 800cc02: 6afb ldr r3, [r7, #44] ; 0x2c + 800cc04: 2200 movs r2, #0 + 800cc06: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 800cc0a: 6afb ldr r3, [r7, #44] ; 0x2c + 800cc0c: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 + 800cc10: b25b sxtb r3, r3 + 800cc12: f1b3 3fff cmp.w r3, #4294967295 + 800cc16: d103 bne.n 800cc20 + 800cc18: 6afb ldr r3, [r7, #44] ; 0x2c + 800cc1a: 2200 movs r2, #0 + 800cc1c: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 800cc20: f001 fcbc bl 800e59c /* Update the timeout state to see if it has expired yet. */ if( xTaskCheckForTimeOut( &xTimeOut, &xTicksToWait ) == pdFALSE ) - 800d088: 463a mov r2, r7 - 800d08a: f107 030c add.w r3, r7, #12 - 800d08e: 4611 mov r1, r2 - 800d090: 4618 mov r0, r3 - 800d092: f000 fffb bl 800e08c - 800d096: 4603 mov r3, r0 - 800d098: 2b00 cmp r3, #0 - 800d09a: d132 bne.n 800d102 + 800cc24: 463a mov r2, r7 + 800cc26: f107 030c add.w r3, r7, #12 + 800cc2a: 4611 mov r1, r2 + 800cc2c: 4618 mov r0, r3 + 800cc2e: f000 fffb bl 800dc28 + 800cc32: 4603 mov r3, r0 + 800cc34: 2b00 cmp r3, #0 + 800cc36: d132 bne.n 800cc9e { /* A block time is specified and not expired. If the semaphore count is 0 then enter the Blocked state to wait for a semaphore to become available. As semaphores are implemented with queues the queue being empty is equivalent to the semaphore count being 0. */ if( prvIsQueueEmpty( pxQueue ) != pdFALSE ) - 800d09c: 6af8 ldr r0, [r7, #44] ; 0x2c - 800d09e: f000 f9d2 bl 800d446 - 800d0a2: 4603 mov r3, r0 - 800d0a4: 2b00 cmp r3, #0 - 800d0a6: d026 beq.n 800d0f6 + 800cc38: 6af8 ldr r0, [r7, #44] ; 0x2c + 800cc3a: f000 f9d2 bl 800cfe2 + 800cc3e: 4603 mov r3, r0 + 800cc40: 2b00 cmp r3, #0 + 800cc42: d026 beq.n 800cc92 { traceBLOCKING_ON_QUEUE_RECEIVE( pxQueue ); #if ( configUSE_MUTEXES == 1 ) { if( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX ) - 800d0a8: 6afb ldr r3, [r7, #44] ; 0x2c - 800d0aa: 681b ldr r3, [r3, #0] - 800d0ac: 2b00 cmp r3, #0 - 800d0ae: d109 bne.n 800d0c4 + 800cc44: 6afb ldr r3, [r7, #44] ; 0x2c + 800cc46: 681b ldr r3, [r3, #0] + 800cc48: 2b00 cmp r3, #0 + 800cc4a: d109 bne.n 800cc60 { taskENTER_CRITICAL(); - 800d0b0: f001 fc7a bl 800e9a8 + 800cc4c: f001 fc74 bl 800e538 { xInheritanceOccurred = xTaskPriorityInherit( pxQueue->u.xSemaphore.xMutexHolder ); - 800d0b4: 6afb ldr r3, [r7, #44] ; 0x2c - 800d0b6: 689b ldr r3, [r3, #8] - 800d0b8: 4618 mov r0, r3 - 800d0ba: f001 f94b bl 800e354 - 800d0be: 6338 str r0, [r7, #48] ; 0x30 + 800cc50: 6afb ldr r3, [r7, #44] ; 0x2c + 800cc52: 689b ldr r3, [r3, #8] + 800cc54: 4618 mov r0, r3 + 800cc56: f001 f94b bl 800def0 + 800cc5a: 6338 str r0, [r7, #48] ; 0x30 } taskEXIT_CRITICAL(); - 800d0c0: f001 fca4 bl 800ea0c + 800cc5c: f001 fc9e bl 800e59c mtCOVERAGE_TEST_MARKER(); } } #endif vTaskPlaceOnEventList( &( pxQueue->xTasksWaitingToReceive ), xTicksToWait ); - 800d0c4: 6afb ldr r3, [r7, #44] ; 0x2c - 800d0c6: 3324 adds r3, #36 ; 0x24 - 800d0c8: 683a ldr r2, [r7, #0] - 800d0ca: 4611 mov r1, r2 - 800d0cc: 4618 mov r0, r3 - 800d0ce: f000 ff3d bl 800df4c + 800cc60: 6afb ldr r3, [r7, #44] ; 0x2c + 800cc62: 3324 adds r3, #36 ; 0x24 + 800cc64: 683a ldr r2, [r7, #0] + 800cc66: 4611 mov r1, r2 + 800cc68: 4618 mov r0, r3 + 800cc6a: f000 ff3d bl 800dae8 prvUnlockQueue( pxQueue ); - 800d0d2: 6af8 ldr r0, [r7, #44] ; 0x2c - 800d0d4: f000 f965 bl 800d3a2 + 800cc6e: 6af8 ldr r0, [r7, #44] ; 0x2c + 800cc70: f000 f965 bl 800cf3e if( xTaskResumeAll() == pdFALSE ) - 800d0d8: f000 fd3c bl 800db54 - 800d0dc: 4603 mov r3, r0 - 800d0de: 2b00 cmp r3, #0 - 800d0e0: f47f af67 bne.w 800cfb2 + 800cc74: f000 fd3c bl 800d6f0 + 800cc78: 4603 mov r3, r0 + 800cc7a: 2b00 cmp r3, #0 + 800cc7c: f47f af67 bne.w 800cb4e { portYIELD_WITHIN_API(); - 800d0e4: 4b18 ldr r3, [pc, #96] ; (800d148 ) - 800d0e6: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800d0ea: 601a str r2, [r3, #0] - 800d0ec: f3bf 8f4f dsb sy - 800d0f0: f3bf 8f6f isb sy - 800d0f4: e75d b.n 800cfb2 + 800cc80: 4b18 ldr r3, [pc, #96] ; (800cce4 ) + 800cc82: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800cc86: 601a str r2, [r3, #0] + 800cc88: f3bf 8f4f dsb sy + 800cc8c: f3bf 8f6f isb sy + 800cc90: e75d b.n 800cb4e } else { /* There was no timeout and the semaphore count was not 0, so attempt to take the semaphore again. */ prvUnlockQueue( pxQueue ); - 800d0f6: 6af8 ldr r0, [r7, #44] ; 0x2c - 800d0f8: f000 f953 bl 800d3a2 + 800cc92: 6af8 ldr r0, [r7, #44] ; 0x2c + 800cc94: f000 f953 bl 800cf3e ( void ) xTaskResumeAll(); - 800d0fc: f000 fd2a bl 800db54 - 800d100: e757 b.n 800cfb2 + 800cc98: f000 fd2a bl 800d6f0 + 800cc9c: e757 b.n 800cb4e } } else { /* Timed out. */ prvUnlockQueue( pxQueue ); - 800d102: 6af8 ldr r0, [r7, #44] ; 0x2c - 800d104: f000 f94d bl 800d3a2 + 800cc9e: 6af8 ldr r0, [r7, #44] ; 0x2c + 800cca0: f000 f94d bl 800cf3e ( void ) xTaskResumeAll(); - 800d108: f000 fd24 bl 800db54 + 800cca4: f000 fd24 bl 800d6f0 /* If the semaphore count is 0 exit now as the timeout has expired. Otherwise return to attempt to take the semaphore that is known to be available. As semaphores are implemented by queues the queue being empty is equivalent to the semaphore count being 0. */ if( prvIsQueueEmpty( pxQueue ) != pdFALSE ) - 800d10c: 6af8 ldr r0, [r7, #44] ; 0x2c - 800d10e: f000 f99a bl 800d446 - 800d112: 4603 mov r3, r0 - 800d114: 2b00 cmp r3, #0 - 800d116: f43f af4c beq.w 800cfb2 + 800cca8: 6af8 ldr r0, [r7, #44] ; 0x2c + 800ccaa: f000 f99a bl 800cfe2 + 800ccae: 4603 mov r3, r0 + 800ccb0: 2b00 cmp r3, #0 + 800ccb2: f43f af4c beq.w 800cb4e #if ( configUSE_MUTEXES == 1 ) { /* xInheritanceOccurred could only have be set if pxQueue->uxQueueType == queueQUEUE_IS_MUTEX so no need to test the mutex type again to check it is actually a mutex. */ if( xInheritanceOccurred != pdFALSE ) - 800d11a: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d11c: 2b00 cmp r3, #0 - 800d11e: d00d beq.n 800d13c + 800ccb6: 6b3b ldr r3, [r7, #48] ; 0x30 + 800ccb8: 2b00 cmp r3, #0 + 800ccba: d00d beq.n 800ccd8 { taskENTER_CRITICAL(); - 800d120: f001 fc42 bl 800e9a8 + 800ccbc: f001 fc3c bl 800e538 /* This task blocking on the mutex caused another task to inherit this task's priority. Now this task has timed out the priority should be disinherited again, but only as low as the next highest priority task that is waiting for the same mutex. */ uxHighestWaitingPriority = prvGetDisinheritPriorityAfterTimeout( pxQueue ); - 800d124: 6af8 ldr r0, [r7, #44] ; 0x2c - 800d126: f000 f894 bl 800d252 - 800d12a: 6278 str r0, [r7, #36] ; 0x24 + 800ccc0: 6af8 ldr r0, [r7, #44] ; 0x2c + 800ccc2: f000 f894 bl 800cdee + 800ccc6: 6278 str r0, [r7, #36] ; 0x24 vTaskPriorityDisinheritAfterTimeout( pxQueue->u.xSemaphore.xMutexHolder, uxHighestWaitingPriority ); - 800d12c: 6afb ldr r3, [r7, #44] ; 0x2c - 800d12e: 689b ldr r3, [r3, #8] - 800d130: 6a79 ldr r1, [r7, #36] ; 0x24 - 800d132: 4618 mov r0, r3 - 800d134: f001 fa16 bl 800e564 + 800ccc8: 6afb ldr r3, [r7, #44] ; 0x2c + 800ccca: 689b ldr r3, [r3, #8] + 800cccc: 6a79 ldr r1, [r7, #36] ; 0x24 + 800ccce: 4618 mov r0, r3 + 800ccd0: f001 fa16 bl 800e100 } taskEXIT_CRITICAL(); - 800d138: f001 fc68 bl 800ea0c + 800ccd4: f001 fc62 bl 800e59c } } #endif /* configUSE_MUTEXES */ traceQUEUE_RECEIVE_FAILED( pxQueue ); return errQUEUE_EMPTY; - 800d13c: 2300 movs r3, #0 + 800ccd8: 2300 movs r3, #0 { mtCOVERAGE_TEST_MARKER(); } } } /*lint -restore */ } - 800d13e: 4618 mov r0, r3 - 800d140: 3738 adds r7, #56 ; 0x38 - 800d142: 46bd mov sp, r7 - 800d144: bd80 pop {r7, pc} - 800d146: bf00 nop - 800d148: e000ed04 .word 0xe000ed04 + 800ccda: 4618 mov r0, r3 + 800ccdc: 3738 adds r7, #56 ; 0x38 + 800ccde: 46bd mov sp, r7 + 800cce0: bd80 pop {r7, pc} + 800cce2: bf00 nop + 800cce4: e000ed04 .word 0xe000ed04 -0800d14c : +0800cce8 : } /*lint -restore */ } /*-----------------------------------------------------------*/ BaseType_t xQueueReceiveFromISR( QueueHandle_t xQueue, void * const pvBuffer, BaseType_t * const pxHigherPriorityTaskWoken ) { - 800d14c: b580 push {r7, lr} - 800d14e: b08e sub sp, #56 ; 0x38 - 800d150: af00 add r7, sp, #0 - 800d152: 60f8 str r0, [r7, #12] - 800d154: 60b9 str r1, [r7, #8] - 800d156: 607a str r2, [r7, #4] + 800cce8: b580 push {r7, lr} + 800ccea: b08e sub sp, #56 ; 0x38 + 800ccec: af00 add r7, sp, #0 + 800ccee: 60f8 str r0, [r7, #12] + 800ccf0: 60b9 str r1, [r7, #8] + 800ccf2: 607a str r2, [r7, #4] BaseType_t xReturn; UBaseType_t uxSavedInterruptStatus; Queue_t * const pxQueue = xQueue; - 800d158: 68fb ldr r3, [r7, #12] - 800d15a: 633b str r3, [r7, #48] ; 0x30 + 800ccf4: 68fb ldr r3, [r7, #12] + 800ccf6: 633b str r3, [r7, #48] ; 0x30 configASSERT( pxQueue ); - 800d15c: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d15e: 2b00 cmp r3, #0 - 800d160: d10b bne.n 800d17a - 800d162: f04f 0350 mov.w r3, #80 ; 0x50 - 800d166: b672 cpsid i - 800d168: f383 8811 msr BASEPRI, r3 - 800d16c: f3bf 8f6f isb sy - 800d170: f3bf 8f4f dsb sy - 800d174: b662 cpsie i - 800d176: 623b str r3, [r7, #32] - 800d178: e7fe b.n 800d178 + 800ccf8: 6b3b ldr r3, [r7, #48] ; 0x30 + 800ccfa: 2b00 cmp r3, #0 + 800ccfc: d10b bne.n 800cd16 + 800ccfe: f04f 0350 mov.w r3, #80 ; 0x50 + 800cd02: b672 cpsid i + 800cd04: f383 8811 msr BASEPRI, r3 + 800cd08: f3bf 8f6f isb sy + 800cd0c: f3bf 8f4f dsb sy + 800cd10: b662 cpsie i + 800cd12: 623b str r3, [r7, #32] + 800cd14: e7fe b.n 800cd14 configASSERT( !( ( pvBuffer == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) ); - 800d17a: 68bb ldr r3, [r7, #8] - 800d17c: 2b00 cmp r3, #0 - 800d17e: d103 bne.n 800d188 - 800d180: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d182: 6c1b ldr r3, [r3, #64] ; 0x40 - 800d184: 2b00 cmp r3, #0 - 800d186: d101 bne.n 800d18c - 800d188: 2301 movs r3, #1 - 800d18a: e000 b.n 800d18e - 800d18c: 2300 movs r3, #0 - 800d18e: 2b00 cmp r3, #0 - 800d190: d10b bne.n 800d1aa - 800d192: f04f 0350 mov.w r3, #80 ; 0x50 - 800d196: b672 cpsid i - 800d198: f383 8811 msr BASEPRI, r3 - 800d19c: f3bf 8f6f isb sy - 800d1a0: f3bf 8f4f dsb sy - 800d1a4: b662 cpsie i - 800d1a6: 61fb str r3, [r7, #28] - 800d1a8: e7fe b.n 800d1a8 + 800cd16: 68bb ldr r3, [r7, #8] + 800cd18: 2b00 cmp r3, #0 + 800cd1a: d103 bne.n 800cd24 + 800cd1c: 6b3b ldr r3, [r7, #48] ; 0x30 + 800cd1e: 6c1b ldr r3, [r3, #64] ; 0x40 + 800cd20: 2b00 cmp r3, #0 + 800cd22: d101 bne.n 800cd28 + 800cd24: 2301 movs r3, #1 + 800cd26: e000 b.n 800cd2a + 800cd28: 2300 movs r3, #0 + 800cd2a: 2b00 cmp r3, #0 + 800cd2c: d10b bne.n 800cd46 + 800cd2e: f04f 0350 mov.w r3, #80 ; 0x50 + 800cd32: b672 cpsid i + 800cd34: f383 8811 msr BASEPRI, r3 + 800cd38: f3bf 8f6f isb sy + 800cd3c: f3bf 8f4f dsb sy + 800cd40: b662 cpsie i + 800cd42: 61fb str r3, [r7, #28] + 800cd44: e7fe b.n 800cd44 that have been assigned a priority at or (logically) below the maximum system call interrupt priority. FreeRTOS maintains a separate interrupt safe API to ensure interrupt entry is as fast and as simple as possible. More information (albeit Cortex-M specific) is provided on the following link: http://www.freertos.org/RTOS-Cortex-M3-M4.html */ portASSERT_IF_INTERRUPT_PRIORITY_INVALID(); - 800d1aa: f001 fcdd bl 800eb68 + 800cd46: f001 fcd7 bl 800e6f8 __asm volatile - 800d1ae: f3ef 8211 mrs r2, BASEPRI - 800d1b2: f04f 0350 mov.w r3, #80 ; 0x50 - 800d1b6: b672 cpsid i - 800d1b8: f383 8811 msr BASEPRI, r3 - 800d1bc: f3bf 8f6f isb sy - 800d1c0: f3bf 8f4f dsb sy - 800d1c4: b662 cpsie i - 800d1c6: 61ba str r2, [r7, #24] - 800d1c8: 617b str r3, [r7, #20] + 800cd4a: f3ef 8211 mrs r2, BASEPRI + 800cd4e: f04f 0350 mov.w r3, #80 ; 0x50 + 800cd52: b672 cpsid i + 800cd54: f383 8811 msr BASEPRI, r3 + 800cd58: f3bf 8f6f isb sy + 800cd5c: f3bf 8f4f dsb sy + 800cd60: b662 cpsie i + 800cd62: 61ba str r2, [r7, #24] + 800cd64: 617b str r3, [r7, #20] return ulOriginalBASEPRI; - 800d1ca: 69bb ldr r3, [r7, #24] + 800cd66: 69bb ldr r3, [r7, #24] uxSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR(); - 800d1cc: 62fb str r3, [r7, #44] ; 0x2c + 800cd68: 62fb str r3, [r7, #44] ; 0x2c { const UBaseType_t uxMessagesWaiting = pxQueue->uxMessagesWaiting; - 800d1ce: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d1d0: 6b9b ldr r3, [r3, #56] ; 0x38 - 800d1d2: 62bb str r3, [r7, #40] ; 0x28 + 800cd6a: 6b3b ldr r3, [r7, #48] ; 0x30 + 800cd6c: 6b9b ldr r3, [r3, #56] ; 0x38 + 800cd6e: 62bb str r3, [r7, #40] ; 0x28 /* Cannot block in an ISR, so check there is data available. */ if( uxMessagesWaiting > ( UBaseType_t ) 0 ) - 800d1d4: 6abb ldr r3, [r7, #40] ; 0x28 - 800d1d6: 2b00 cmp r3, #0 - 800d1d8: d02f beq.n 800d23a + 800cd70: 6abb ldr r3, [r7, #40] ; 0x28 + 800cd72: 2b00 cmp r3, #0 + 800cd74: d02f beq.n 800cdd6 { const int8_t cRxLock = pxQueue->cRxLock; - 800d1da: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d1dc: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 - 800d1e0: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 800cd76: 6b3b ldr r3, [r7, #48] ; 0x30 + 800cd78: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 + 800cd7c: f887 3027 strb.w r3, [r7, #39] ; 0x27 traceQUEUE_RECEIVE_FROM_ISR( pxQueue ); prvCopyDataFromQueue( pxQueue, pvBuffer ); - 800d1e4: 68b9 ldr r1, [r7, #8] - 800d1e6: 6b38 ldr r0, [r7, #48] ; 0x30 - 800d1e8: f000 f8b5 bl 800d356 + 800cd80: 68b9 ldr r1, [r7, #8] + 800cd82: 6b38 ldr r0, [r7, #48] ; 0x30 + 800cd84: f000 f8b5 bl 800cef2 pxQueue->uxMessagesWaiting = uxMessagesWaiting - ( UBaseType_t ) 1; - 800d1ec: 6abb ldr r3, [r7, #40] ; 0x28 - 800d1ee: 1e5a subs r2, r3, #1 - 800d1f0: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d1f2: 639a str r2, [r3, #56] ; 0x38 + 800cd88: 6abb ldr r3, [r7, #40] ; 0x28 + 800cd8a: 1e5a subs r2, r3, #1 + 800cd8c: 6b3b ldr r3, [r7, #48] ; 0x30 + 800cd8e: 639a str r2, [r3, #56] ; 0x38 /* If the queue is locked the event list will not be modified. Instead update the lock count so the task that unlocks the queue will know that an ISR has removed data while the queue was locked. */ if( cRxLock == queueUNLOCKED ) - 800d1f4: f997 3027 ldrsb.w r3, [r7, #39] ; 0x27 - 800d1f8: f1b3 3fff cmp.w r3, #4294967295 - 800d1fc: d112 bne.n 800d224 + 800cd90: f997 3027 ldrsb.w r3, [r7, #39] ; 0x27 + 800cd94: f1b3 3fff cmp.w r3, #4294967295 + 800cd98: d112 bne.n 800cdc0 { if( listLIST_IS_EMPTY( &( pxQueue->xTasksWaitingToSend ) ) == pdFALSE ) - 800d1fe: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d200: 691b ldr r3, [r3, #16] - 800d202: 2b00 cmp r3, #0 - 800d204: d016 beq.n 800d234 + 800cd9a: 6b3b ldr r3, [r7, #48] ; 0x30 + 800cd9c: 691b ldr r3, [r3, #16] + 800cd9e: 2b00 cmp r3, #0 + 800cda0: d016 beq.n 800cdd0 { if( xTaskRemoveFromEventList( &( pxQueue->xTasksWaitingToSend ) ) != pdFALSE ) - 800d206: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d208: 3310 adds r3, #16 - 800d20a: 4618 mov r0, r3 - 800d20c: f000 fec4 bl 800df98 - 800d210: 4603 mov r3, r0 - 800d212: 2b00 cmp r3, #0 - 800d214: d00e beq.n 800d234 + 800cda2: 6b3b ldr r3, [r7, #48] ; 0x30 + 800cda4: 3310 adds r3, #16 + 800cda6: 4618 mov r0, r3 + 800cda8: f000 fec4 bl 800db34 + 800cdac: 4603 mov r3, r0 + 800cdae: 2b00 cmp r3, #0 + 800cdb0: d00e beq.n 800cdd0 { /* The task waiting has a higher priority than us so force a context switch. */ if( pxHigherPriorityTaskWoken != NULL ) - 800d216: 687b ldr r3, [r7, #4] - 800d218: 2b00 cmp r3, #0 - 800d21a: d00b beq.n 800d234 + 800cdb2: 687b ldr r3, [r7, #4] + 800cdb4: 2b00 cmp r3, #0 + 800cdb6: d00b beq.n 800cdd0 { *pxHigherPriorityTaskWoken = pdTRUE; - 800d21c: 687b ldr r3, [r7, #4] - 800d21e: 2201 movs r2, #1 - 800d220: 601a str r2, [r3, #0] - 800d222: e007 b.n 800d234 + 800cdb8: 687b ldr r3, [r7, #4] + 800cdba: 2201 movs r2, #1 + 800cdbc: 601a str r2, [r3, #0] + 800cdbe: e007 b.n 800cdd0 } else { /* Increment the lock count so the task that unlocks the queue knows that data was removed while it was locked. */ pxQueue->cRxLock = ( int8_t ) ( cRxLock + 1 ); - 800d224: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 800d228: 3301 adds r3, #1 - 800d22a: b2db uxtb r3, r3 - 800d22c: b25a sxtb r2, r3 - 800d22e: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d230: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 800cdc0: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 800cdc4: 3301 adds r3, #1 + 800cdc6: b2db uxtb r3, r3 + 800cdc8: b25a sxtb r2, r3 + 800cdca: 6b3b ldr r3, [r7, #48] ; 0x30 + 800cdcc: f883 2044 strb.w r2, [r3, #68] ; 0x44 } xReturn = pdPASS; - 800d234: 2301 movs r3, #1 - 800d236: 637b str r3, [r7, #52] ; 0x34 - 800d238: e001 b.n 800d23e + 800cdd0: 2301 movs r3, #1 + 800cdd2: 637b str r3, [r7, #52] ; 0x34 + 800cdd4: e001 b.n 800cdda } else { xReturn = pdFAIL; - 800d23a: 2300 movs r3, #0 - 800d23c: 637b str r3, [r7, #52] ; 0x34 - 800d23e: 6afb ldr r3, [r7, #44] ; 0x2c - 800d240: 613b str r3, [r7, #16] + 800cdd6: 2300 movs r3, #0 + 800cdd8: 637b str r3, [r7, #52] ; 0x34 + 800cdda: 6afb ldr r3, [r7, #44] ; 0x2c + 800cddc: 613b str r3, [r7, #16] __asm volatile - 800d242: 693b ldr r3, [r7, #16] - 800d244: f383 8811 msr BASEPRI, r3 + 800cdde: 693b ldr r3, [r7, #16] + 800cde0: f383 8811 msr BASEPRI, r3 traceQUEUE_RECEIVE_FROM_ISR_FAILED( pxQueue ); } } portCLEAR_INTERRUPT_MASK_FROM_ISR( uxSavedInterruptStatus ); return xReturn; - 800d248: 6b7b ldr r3, [r7, #52] ; 0x34 + 800cde4: 6b7b ldr r3, [r7, #52] ; 0x34 } - 800d24a: 4618 mov r0, r3 - 800d24c: 3738 adds r7, #56 ; 0x38 - 800d24e: 46bd mov sp, r7 - 800d250: bd80 pop {r7, pc} + 800cde6: 4618 mov r0, r3 + 800cde8: 3738 adds r7, #56 ; 0x38 + 800cdea: 46bd mov sp, r7 + 800cdec: bd80 pop {r7, pc} -0800d252 : +0800cdee : /*-----------------------------------------------------------*/ #if( configUSE_MUTEXES == 1 ) static UBaseType_t prvGetDisinheritPriorityAfterTimeout( const Queue_t * const pxQueue ) { - 800d252: b480 push {r7} - 800d254: b085 sub sp, #20 - 800d256: af00 add r7, sp, #0 - 800d258: 6078 str r0, [r7, #4] + 800cdee: b480 push {r7} + 800cdf0: b085 sub sp, #20 + 800cdf2: af00 add r7, sp, #0 + 800cdf4: 6078 str r0, [r7, #4] priority, but the waiting task times out, then the holder should disinherit the priority - but only down to the highest priority of any other tasks that are waiting for the same mutex. For this purpose, return the priority of the highest priority task that is waiting for the mutex. */ if( listCURRENT_LIST_LENGTH( &( pxQueue->xTasksWaitingToReceive ) ) > 0U ) - 800d25a: 687b ldr r3, [r7, #4] - 800d25c: 6a5b ldr r3, [r3, #36] ; 0x24 - 800d25e: 2b00 cmp r3, #0 - 800d260: d006 beq.n 800d270 + 800cdf6: 687b ldr r3, [r7, #4] + 800cdf8: 6a5b ldr r3, [r3, #36] ; 0x24 + 800cdfa: 2b00 cmp r3, #0 + 800cdfc: d006 beq.n 800ce0c { uxHighestPriorityOfWaitingTasks = ( UBaseType_t ) configMAX_PRIORITIES - ( UBaseType_t ) listGET_ITEM_VALUE_OF_HEAD_ENTRY( &( pxQueue->xTasksWaitingToReceive ) ); - 800d262: 687b ldr r3, [r7, #4] - 800d264: 6b1b ldr r3, [r3, #48] ; 0x30 - 800d266: 681b ldr r3, [r3, #0] - 800d268: f1c3 0307 rsb r3, r3, #7 - 800d26c: 60fb str r3, [r7, #12] - 800d26e: e001 b.n 800d274 + 800cdfe: 687b ldr r3, [r7, #4] + 800ce00: 6b1b ldr r3, [r3, #48] ; 0x30 + 800ce02: 681b ldr r3, [r3, #0] + 800ce04: f1c3 0307 rsb r3, r3, #7 + 800ce08: 60fb str r3, [r7, #12] + 800ce0a: e001 b.n 800ce10 } else { uxHighestPriorityOfWaitingTasks = tskIDLE_PRIORITY; - 800d270: 2300 movs r3, #0 - 800d272: 60fb str r3, [r7, #12] + 800ce0c: 2300 movs r3, #0 + 800ce0e: 60fb str r3, [r7, #12] } return uxHighestPriorityOfWaitingTasks; - 800d274: 68fb ldr r3, [r7, #12] + 800ce10: 68fb ldr r3, [r7, #12] } - 800d276: 4618 mov r0, r3 - 800d278: 3714 adds r7, #20 - 800d27a: 46bd mov sp, r7 - 800d27c: f85d 7b04 ldr.w r7, [sp], #4 - 800d280: 4770 bx lr + 800ce12: 4618 mov r0, r3 + 800ce14: 3714 adds r7, #20 + 800ce16: 46bd mov sp, r7 + 800ce18: f85d 7b04 ldr.w r7, [sp], #4 + 800ce1c: 4770 bx lr -0800d282 : +0800ce1e : #endif /* configUSE_MUTEXES */ /*-----------------------------------------------------------*/ static BaseType_t prvCopyDataToQueue( Queue_t * const pxQueue, const void *pvItemToQueue, const BaseType_t xPosition ) { - 800d282: b580 push {r7, lr} - 800d284: b086 sub sp, #24 - 800d286: af00 add r7, sp, #0 - 800d288: 60f8 str r0, [r7, #12] - 800d28a: 60b9 str r1, [r7, #8] - 800d28c: 607a str r2, [r7, #4] + 800ce1e: b580 push {r7, lr} + 800ce20: b086 sub sp, #24 + 800ce22: af00 add r7, sp, #0 + 800ce24: 60f8 str r0, [r7, #12] + 800ce26: 60b9 str r1, [r7, #8] + 800ce28: 607a str r2, [r7, #4] BaseType_t xReturn = pdFALSE; - 800d28e: 2300 movs r3, #0 - 800d290: 617b str r3, [r7, #20] + 800ce2a: 2300 movs r3, #0 + 800ce2c: 617b str r3, [r7, #20] UBaseType_t uxMessagesWaiting; /* This function is called from a critical section. */ uxMessagesWaiting = pxQueue->uxMessagesWaiting; - 800d292: 68fb ldr r3, [r7, #12] - 800d294: 6b9b ldr r3, [r3, #56] ; 0x38 - 800d296: 613b str r3, [r7, #16] + 800ce2e: 68fb ldr r3, [r7, #12] + 800ce30: 6b9b ldr r3, [r3, #56] ; 0x38 + 800ce32: 613b str r3, [r7, #16] if( pxQueue->uxItemSize == ( UBaseType_t ) 0 ) - 800d298: 68fb ldr r3, [r7, #12] - 800d29a: 6c1b ldr r3, [r3, #64] ; 0x40 - 800d29c: 2b00 cmp r3, #0 - 800d29e: d10d bne.n 800d2bc + 800ce34: 68fb ldr r3, [r7, #12] + 800ce36: 6c1b ldr r3, [r3, #64] ; 0x40 + 800ce38: 2b00 cmp r3, #0 + 800ce3a: d10d bne.n 800ce58 { #if ( configUSE_MUTEXES == 1 ) { if( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX ) - 800d2a0: 68fb ldr r3, [r7, #12] - 800d2a2: 681b ldr r3, [r3, #0] - 800d2a4: 2b00 cmp r3, #0 - 800d2a6: d14d bne.n 800d344 + 800ce3c: 68fb ldr r3, [r7, #12] + 800ce3e: 681b ldr r3, [r3, #0] + 800ce40: 2b00 cmp r3, #0 + 800ce42: d14d bne.n 800cee0 { /* The mutex is no longer being held. */ xReturn = xTaskPriorityDisinherit( pxQueue->u.xSemaphore.xMutexHolder ); - 800d2a8: 68fb ldr r3, [r7, #12] - 800d2aa: 689b ldr r3, [r3, #8] - 800d2ac: 4618 mov r0, r3 - 800d2ae: f001 f8d1 bl 800e454 - 800d2b2: 6178 str r0, [r7, #20] + 800ce44: 68fb ldr r3, [r7, #12] + 800ce46: 689b ldr r3, [r3, #8] + 800ce48: 4618 mov r0, r3 + 800ce4a: f001 f8d1 bl 800dff0 + 800ce4e: 6178 str r0, [r7, #20] pxQueue->u.xSemaphore.xMutexHolder = NULL; - 800d2b4: 68fb ldr r3, [r7, #12] - 800d2b6: 2200 movs r2, #0 - 800d2b8: 609a str r2, [r3, #8] - 800d2ba: e043 b.n 800d344 + 800ce50: 68fb ldr r3, [r7, #12] + 800ce52: 2200 movs r2, #0 + 800ce54: 609a str r2, [r3, #8] + 800ce56: e043 b.n 800cee0 mtCOVERAGE_TEST_MARKER(); } } #endif /* configUSE_MUTEXES */ } else if( xPosition == queueSEND_TO_BACK ) - 800d2bc: 687b ldr r3, [r7, #4] - 800d2be: 2b00 cmp r3, #0 - 800d2c0: d119 bne.n 800d2f6 + 800ce58: 687b ldr r3, [r7, #4] + 800ce5a: 2b00 cmp r3, #0 + 800ce5c: d119 bne.n 800ce92 { ( void ) memcpy( ( void * ) pxQueue->pcWriteTo, pvItemToQueue, ( size_t ) pxQueue->uxItemSize ); /*lint !e961 !e418 !e9087 MISRA exception as the casts are only redundant for some ports, plus previous logic ensures a null pointer can only be passed to memcpy() if the copy size is 0. Cast to void required by function signature and safe as no alignment requirement and copy length specified in bytes. */ - 800d2c2: 68fb ldr r3, [r7, #12] - 800d2c4: 6858 ldr r0, [r3, #4] - 800d2c6: 68fb ldr r3, [r7, #12] - 800d2c8: 6c1b ldr r3, [r3, #64] ; 0x40 - 800d2ca: 461a mov r2, r3 - 800d2cc: 68b9 ldr r1, [r7, #8] - 800d2ce: f00e f8c6 bl 801b45e + 800ce5e: 68fb ldr r3, [r7, #12] + 800ce60: 6858 ldr r0, [r3, #4] + 800ce62: 68fb ldr r3, [r7, #12] + 800ce64: 6c1b ldr r3, [r3, #64] ; 0x40 + 800ce66: 461a mov r2, r3 + 800ce68: 68b9 ldr r1, [r7, #8] + 800ce6a: f00e f8c0 bl 801afee pxQueue->pcWriteTo += pxQueue->uxItemSize; /*lint !e9016 Pointer arithmetic on char types ok, especially in this use case where it is the clearest way of conveying intent. */ - 800d2d2: 68fb ldr r3, [r7, #12] - 800d2d4: 685a ldr r2, [r3, #4] - 800d2d6: 68fb ldr r3, [r7, #12] - 800d2d8: 6c1b ldr r3, [r3, #64] ; 0x40 - 800d2da: 441a add r2, r3 - 800d2dc: 68fb ldr r3, [r7, #12] - 800d2de: 605a str r2, [r3, #4] + 800ce6e: 68fb ldr r3, [r7, #12] + 800ce70: 685a ldr r2, [r3, #4] + 800ce72: 68fb ldr r3, [r7, #12] + 800ce74: 6c1b ldr r3, [r3, #64] ; 0x40 + 800ce76: 441a add r2, r3 + 800ce78: 68fb ldr r3, [r7, #12] + 800ce7a: 605a str r2, [r3, #4] if( pxQueue->pcWriteTo >= pxQueue->u.xQueue.pcTail ) /*lint !e946 MISRA exception justified as comparison of pointers is the cleanest solution. */ - 800d2e0: 68fb ldr r3, [r7, #12] - 800d2e2: 685a ldr r2, [r3, #4] - 800d2e4: 68fb ldr r3, [r7, #12] - 800d2e6: 689b ldr r3, [r3, #8] - 800d2e8: 429a cmp r2, r3 - 800d2ea: d32b bcc.n 800d344 + 800ce7c: 68fb ldr r3, [r7, #12] + 800ce7e: 685a ldr r2, [r3, #4] + 800ce80: 68fb ldr r3, [r7, #12] + 800ce82: 689b ldr r3, [r3, #8] + 800ce84: 429a cmp r2, r3 + 800ce86: d32b bcc.n 800cee0 { pxQueue->pcWriteTo = pxQueue->pcHead; - 800d2ec: 68fb ldr r3, [r7, #12] - 800d2ee: 681a ldr r2, [r3, #0] - 800d2f0: 68fb ldr r3, [r7, #12] - 800d2f2: 605a str r2, [r3, #4] - 800d2f4: e026 b.n 800d344 + 800ce88: 68fb ldr r3, [r7, #12] + 800ce8a: 681a ldr r2, [r3, #0] + 800ce8c: 68fb ldr r3, [r7, #12] + 800ce8e: 605a str r2, [r3, #4] + 800ce90: e026 b.n 800cee0 mtCOVERAGE_TEST_MARKER(); } } else { ( void ) memcpy( ( void * ) pxQueue->u.xQueue.pcReadFrom, pvItemToQueue, ( size_t ) pxQueue->uxItemSize ); /*lint !e961 !e9087 !e418 MISRA exception as the casts are only redundant for some ports. Cast to void required by function signature and safe as no alignment requirement and copy length specified in bytes. Assert checks null pointer only used when length is 0. */ - 800d2f6: 68fb ldr r3, [r7, #12] - 800d2f8: 68d8 ldr r0, [r3, #12] - 800d2fa: 68fb ldr r3, [r7, #12] - 800d2fc: 6c1b ldr r3, [r3, #64] ; 0x40 - 800d2fe: 461a mov r2, r3 - 800d300: 68b9 ldr r1, [r7, #8] - 800d302: f00e f8ac bl 801b45e + 800ce92: 68fb ldr r3, [r7, #12] + 800ce94: 68d8 ldr r0, [r3, #12] + 800ce96: 68fb ldr r3, [r7, #12] + 800ce98: 6c1b ldr r3, [r3, #64] ; 0x40 + 800ce9a: 461a mov r2, r3 + 800ce9c: 68b9 ldr r1, [r7, #8] + 800ce9e: f00e f8a6 bl 801afee pxQueue->u.xQueue.pcReadFrom -= pxQueue->uxItemSize; - 800d306: 68fb ldr r3, [r7, #12] - 800d308: 68da ldr r2, [r3, #12] - 800d30a: 68fb ldr r3, [r7, #12] - 800d30c: 6c1b ldr r3, [r3, #64] ; 0x40 - 800d30e: 425b negs r3, r3 - 800d310: 441a add r2, r3 - 800d312: 68fb ldr r3, [r7, #12] - 800d314: 60da str r2, [r3, #12] + 800cea2: 68fb ldr r3, [r7, #12] + 800cea4: 68da ldr r2, [r3, #12] + 800cea6: 68fb ldr r3, [r7, #12] + 800cea8: 6c1b ldr r3, [r3, #64] ; 0x40 + 800ceaa: 425b negs r3, r3 + 800ceac: 441a add r2, r3 + 800ceae: 68fb ldr r3, [r7, #12] + 800ceb0: 60da str r2, [r3, #12] if( pxQueue->u.xQueue.pcReadFrom < pxQueue->pcHead ) /*lint !e946 MISRA exception justified as comparison of pointers is the cleanest solution. */ - 800d316: 68fb ldr r3, [r7, #12] - 800d318: 68da ldr r2, [r3, #12] - 800d31a: 68fb ldr r3, [r7, #12] - 800d31c: 681b ldr r3, [r3, #0] - 800d31e: 429a cmp r2, r3 - 800d320: d207 bcs.n 800d332 + 800ceb2: 68fb ldr r3, [r7, #12] + 800ceb4: 68da ldr r2, [r3, #12] + 800ceb6: 68fb ldr r3, [r7, #12] + 800ceb8: 681b ldr r3, [r3, #0] + 800ceba: 429a cmp r2, r3 + 800cebc: d207 bcs.n 800cece { pxQueue->u.xQueue.pcReadFrom = ( pxQueue->u.xQueue.pcTail - pxQueue->uxItemSize ); - 800d322: 68fb ldr r3, [r7, #12] - 800d324: 689a ldr r2, [r3, #8] - 800d326: 68fb ldr r3, [r7, #12] - 800d328: 6c1b ldr r3, [r3, #64] ; 0x40 - 800d32a: 425b negs r3, r3 - 800d32c: 441a add r2, r3 - 800d32e: 68fb ldr r3, [r7, #12] - 800d330: 60da str r2, [r3, #12] + 800cebe: 68fb ldr r3, [r7, #12] + 800cec0: 689a ldr r2, [r3, #8] + 800cec2: 68fb ldr r3, [r7, #12] + 800cec4: 6c1b ldr r3, [r3, #64] ; 0x40 + 800cec6: 425b negs r3, r3 + 800cec8: 441a add r2, r3 + 800ceca: 68fb ldr r3, [r7, #12] + 800cecc: 60da str r2, [r3, #12] else { mtCOVERAGE_TEST_MARKER(); } if( xPosition == queueOVERWRITE ) - 800d332: 687b ldr r3, [r7, #4] - 800d334: 2b02 cmp r3, #2 - 800d336: d105 bne.n 800d344 + 800cece: 687b ldr r3, [r7, #4] + 800ced0: 2b02 cmp r3, #2 + 800ced2: d105 bne.n 800cee0 { if( uxMessagesWaiting > ( UBaseType_t ) 0 ) - 800d338: 693b ldr r3, [r7, #16] - 800d33a: 2b00 cmp r3, #0 - 800d33c: d002 beq.n 800d344 + 800ced4: 693b ldr r3, [r7, #16] + 800ced6: 2b00 cmp r3, #0 + 800ced8: d002 beq.n 800cee0 { /* An item is not being added but overwritten, so subtract one from the recorded number of items in the queue so when one is added again below the number of recorded items remains correct. */ --uxMessagesWaiting; - 800d33e: 693b ldr r3, [r7, #16] - 800d340: 3b01 subs r3, #1 - 800d342: 613b str r3, [r7, #16] + 800ceda: 693b ldr r3, [r7, #16] + 800cedc: 3b01 subs r3, #1 + 800cede: 613b str r3, [r7, #16] { mtCOVERAGE_TEST_MARKER(); } } pxQueue->uxMessagesWaiting = uxMessagesWaiting + ( UBaseType_t ) 1; - 800d344: 693b ldr r3, [r7, #16] - 800d346: 1c5a adds r2, r3, #1 - 800d348: 68fb ldr r3, [r7, #12] - 800d34a: 639a str r2, [r3, #56] ; 0x38 + 800cee0: 693b ldr r3, [r7, #16] + 800cee2: 1c5a adds r2, r3, #1 + 800cee4: 68fb ldr r3, [r7, #12] + 800cee6: 639a str r2, [r3, #56] ; 0x38 return xReturn; - 800d34c: 697b ldr r3, [r7, #20] + 800cee8: 697b ldr r3, [r7, #20] } - 800d34e: 4618 mov r0, r3 - 800d350: 3718 adds r7, #24 - 800d352: 46bd mov sp, r7 - 800d354: bd80 pop {r7, pc} + 800ceea: 4618 mov r0, r3 + 800ceec: 3718 adds r7, #24 + 800ceee: 46bd mov sp, r7 + 800cef0: bd80 pop {r7, pc} -0800d356 : +0800cef2 : /*-----------------------------------------------------------*/ static void prvCopyDataFromQueue( Queue_t * const pxQueue, void * const pvBuffer ) { - 800d356: b580 push {r7, lr} - 800d358: b082 sub sp, #8 - 800d35a: af00 add r7, sp, #0 - 800d35c: 6078 str r0, [r7, #4] - 800d35e: 6039 str r1, [r7, #0] + 800cef2: b580 push {r7, lr} + 800cef4: b082 sub sp, #8 + 800cef6: af00 add r7, sp, #0 + 800cef8: 6078 str r0, [r7, #4] + 800cefa: 6039 str r1, [r7, #0] if( pxQueue->uxItemSize != ( UBaseType_t ) 0 ) - 800d360: 687b ldr r3, [r7, #4] - 800d362: 6c1b ldr r3, [r3, #64] ; 0x40 - 800d364: 2b00 cmp r3, #0 - 800d366: d018 beq.n 800d39a + 800cefc: 687b ldr r3, [r7, #4] + 800cefe: 6c1b ldr r3, [r3, #64] ; 0x40 + 800cf00: 2b00 cmp r3, #0 + 800cf02: d018 beq.n 800cf36 { pxQueue->u.xQueue.pcReadFrom += pxQueue->uxItemSize; /*lint !e9016 Pointer arithmetic on char types ok, especially in this use case where it is the clearest way of conveying intent. */ - 800d368: 687b ldr r3, [r7, #4] - 800d36a: 68da ldr r2, [r3, #12] - 800d36c: 687b ldr r3, [r7, #4] - 800d36e: 6c1b ldr r3, [r3, #64] ; 0x40 - 800d370: 441a add r2, r3 - 800d372: 687b ldr r3, [r7, #4] - 800d374: 60da str r2, [r3, #12] + 800cf04: 687b ldr r3, [r7, #4] + 800cf06: 68da ldr r2, [r3, #12] + 800cf08: 687b ldr r3, [r7, #4] + 800cf0a: 6c1b ldr r3, [r3, #64] ; 0x40 + 800cf0c: 441a add r2, r3 + 800cf0e: 687b ldr r3, [r7, #4] + 800cf10: 60da str r2, [r3, #12] if( pxQueue->u.xQueue.pcReadFrom >= pxQueue->u.xQueue.pcTail ) /*lint !e946 MISRA exception justified as use of the relational operator is the cleanest solutions. */ - 800d376: 687b ldr r3, [r7, #4] - 800d378: 68da ldr r2, [r3, #12] - 800d37a: 687b ldr r3, [r7, #4] - 800d37c: 689b ldr r3, [r3, #8] - 800d37e: 429a cmp r2, r3 - 800d380: d303 bcc.n 800d38a + 800cf12: 687b ldr r3, [r7, #4] + 800cf14: 68da ldr r2, [r3, #12] + 800cf16: 687b ldr r3, [r7, #4] + 800cf18: 689b ldr r3, [r3, #8] + 800cf1a: 429a cmp r2, r3 + 800cf1c: d303 bcc.n 800cf26 { pxQueue->u.xQueue.pcReadFrom = pxQueue->pcHead; - 800d382: 687b ldr r3, [r7, #4] - 800d384: 681a ldr r2, [r3, #0] - 800d386: 687b ldr r3, [r7, #4] - 800d388: 60da str r2, [r3, #12] + 800cf1e: 687b ldr r3, [r7, #4] + 800cf20: 681a ldr r2, [r3, #0] + 800cf22: 687b ldr r3, [r7, #4] + 800cf24: 60da str r2, [r3, #12] } else { mtCOVERAGE_TEST_MARKER(); } ( void ) memcpy( ( void * ) pvBuffer, ( void * ) pxQueue->u.xQueue.pcReadFrom, ( size_t ) pxQueue->uxItemSize ); /*lint !e961 !e418 !e9087 MISRA exception as the casts are only redundant for some ports. Also previous logic ensures a null pointer can only be passed to memcpy() when the count is 0. Cast to void required by function signature and safe as no alignment requirement and copy length specified in bytes. */ - 800d38a: 687b ldr r3, [r7, #4] - 800d38c: 68d9 ldr r1, [r3, #12] - 800d38e: 687b ldr r3, [r7, #4] - 800d390: 6c1b ldr r3, [r3, #64] ; 0x40 - 800d392: 461a mov r2, r3 - 800d394: 6838 ldr r0, [r7, #0] - 800d396: f00e f862 bl 801b45e + 800cf26: 687b ldr r3, [r7, #4] + 800cf28: 68d9 ldr r1, [r3, #12] + 800cf2a: 687b ldr r3, [r7, #4] + 800cf2c: 6c1b ldr r3, [r3, #64] ; 0x40 + 800cf2e: 461a mov r2, r3 + 800cf30: 6838 ldr r0, [r7, #0] + 800cf32: f00e f85c bl 801afee } } - 800d39a: bf00 nop - 800d39c: 3708 adds r7, #8 - 800d39e: 46bd mov sp, r7 - 800d3a0: bd80 pop {r7, pc} + 800cf36: bf00 nop + 800cf38: 3708 adds r7, #8 + 800cf3a: 46bd mov sp, r7 + 800cf3c: bd80 pop {r7, pc} -0800d3a2 : +0800cf3e : /*-----------------------------------------------------------*/ static void prvUnlockQueue( Queue_t * const pxQueue ) { - 800d3a2: b580 push {r7, lr} - 800d3a4: b084 sub sp, #16 - 800d3a6: af00 add r7, sp, #0 - 800d3a8: 6078 str r0, [r7, #4] + 800cf3e: b580 push {r7, lr} + 800cf40: b084 sub sp, #16 + 800cf42: af00 add r7, sp, #0 + 800cf44: 6078 str r0, [r7, #4] /* The lock counts contains the number of extra data items placed or removed from the queue while the queue was locked. When a queue is locked items can be added or removed, but the event lists cannot be updated. */ taskENTER_CRITICAL(); - 800d3aa: f001 fafd bl 800e9a8 + 800cf46: f001 faf7 bl 800e538 { int8_t cTxLock = pxQueue->cTxLock; - 800d3ae: 687b ldr r3, [r7, #4] - 800d3b0: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 - 800d3b4: 73fb strb r3, [r7, #15] + 800cf4a: 687b ldr r3, [r7, #4] + 800cf4c: f893 3045 ldrb.w r3, [r3, #69] ; 0x45 + 800cf50: 73fb strb r3, [r7, #15] /* See if data was added to the queue while it was locked. */ while( cTxLock > queueLOCKED_UNMODIFIED ) - 800d3b6: e011 b.n 800d3dc + 800cf52: e011 b.n 800cf78 } #else /* configUSE_QUEUE_SETS */ { /* Tasks that are removed from the event list will get added to the pending ready list as the scheduler is still suspended. */ if( listLIST_IS_EMPTY( &( pxQueue->xTasksWaitingToReceive ) ) == pdFALSE ) - 800d3b8: 687b ldr r3, [r7, #4] - 800d3ba: 6a5b ldr r3, [r3, #36] ; 0x24 - 800d3bc: 2b00 cmp r3, #0 - 800d3be: d012 beq.n 800d3e6 + 800cf54: 687b ldr r3, [r7, #4] + 800cf56: 6a5b ldr r3, [r3, #36] ; 0x24 + 800cf58: 2b00 cmp r3, #0 + 800cf5a: d012 beq.n 800cf82 { if( xTaskRemoveFromEventList( &( pxQueue->xTasksWaitingToReceive ) ) != pdFALSE ) - 800d3c0: 687b ldr r3, [r7, #4] - 800d3c2: 3324 adds r3, #36 ; 0x24 - 800d3c4: 4618 mov r0, r3 - 800d3c6: f000 fde7 bl 800df98 - 800d3ca: 4603 mov r3, r0 - 800d3cc: 2b00 cmp r3, #0 - 800d3ce: d001 beq.n 800d3d4 + 800cf5c: 687b ldr r3, [r7, #4] + 800cf5e: 3324 adds r3, #36 ; 0x24 + 800cf60: 4618 mov r0, r3 + 800cf62: f000 fde7 bl 800db34 + 800cf66: 4603 mov r3, r0 + 800cf68: 2b00 cmp r3, #0 + 800cf6a: d001 beq.n 800cf70 { /* The task waiting has a higher priority so record that a context switch is required. */ vTaskMissedYield(); - 800d3d0: f000 fec0 bl 800e154 + 800cf6c: f000 fec0 bl 800dcf0 break; } } #endif /* configUSE_QUEUE_SETS */ --cTxLock; - 800d3d4: 7bfb ldrb r3, [r7, #15] - 800d3d6: 3b01 subs r3, #1 - 800d3d8: b2db uxtb r3, r3 - 800d3da: 73fb strb r3, [r7, #15] + 800cf70: 7bfb ldrb r3, [r7, #15] + 800cf72: 3b01 subs r3, #1 + 800cf74: b2db uxtb r3, r3 + 800cf76: 73fb strb r3, [r7, #15] while( cTxLock > queueLOCKED_UNMODIFIED ) - 800d3dc: f997 300f ldrsb.w r3, [r7, #15] - 800d3e0: 2b00 cmp r3, #0 - 800d3e2: dce9 bgt.n 800d3b8 - 800d3e4: e000 b.n 800d3e8 + 800cf78: f997 300f ldrsb.w r3, [r7, #15] + 800cf7c: 2b00 cmp r3, #0 + 800cf7e: dce9 bgt.n 800cf54 + 800cf80: e000 b.n 800cf84 break; - 800d3e6: bf00 nop + 800cf82: bf00 nop } pxQueue->cTxLock = queueUNLOCKED; - 800d3e8: 687b ldr r3, [r7, #4] - 800d3ea: 22ff movs r2, #255 ; 0xff - 800d3ec: f883 2045 strb.w r2, [r3, #69] ; 0x45 + 800cf84: 687b ldr r3, [r7, #4] + 800cf86: 22ff movs r2, #255 ; 0xff + 800cf88: f883 2045 strb.w r2, [r3, #69] ; 0x45 } taskEXIT_CRITICAL(); - 800d3f0: f001 fb0c bl 800ea0c + 800cf8c: f001 fb06 bl 800e59c /* Do the same for the Rx lock. */ taskENTER_CRITICAL(); - 800d3f4: f001 fad8 bl 800e9a8 + 800cf90: f001 fad2 bl 800e538 { int8_t cRxLock = pxQueue->cRxLock; - 800d3f8: 687b ldr r3, [r7, #4] - 800d3fa: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 - 800d3fe: 73bb strb r3, [r7, #14] + 800cf94: 687b ldr r3, [r7, #4] + 800cf96: f893 3044 ldrb.w r3, [r3, #68] ; 0x44 + 800cf9a: 73bb strb r3, [r7, #14] while( cRxLock > queueLOCKED_UNMODIFIED ) - 800d400: e011 b.n 800d426 + 800cf9c: e011 b.n 800cfc2 { if( listLIST_IS_EMPTY( &( pxQueue->xTasksWaitingToSend ) ) == pdFALSE ) - 800d402: 687b ldr r3, [r7, #4] - 800d404: 691b ldr r3, [r3, #16] - 800d406: 2b00 cmp r3, #0 - 800d408: d012 beq.n 800d430 + 800cf9e: 687b ldr r3, [r7, #4] + 800cfa0: 691b ldr r3, [r3, #16] + 800cfa2: 2b00 cmp r3, #0 + 800cfa4: d012 beq.n 800cfcc { if( xTaskRemoveFromEventList( &( pxQueue->xTasksWaitingToSend ) ) != pdFALSE ) - 800d40a: 687b ldr r3, [r7, #4] - 800d40c: 3310 adds r3, #16 - 800d40e: 4618 mov r0, r3 - 800d410: f000 fdc2 bl 800df98 - 800d414: 4603 mov r3, r0 - 800d416: 2b00 cmp r3, #0 - 800d418: d001 beq.n 800d41e + 800cfa6: 687b ldr r3, [r7, #4] + 800cfa8: 3310 adds r3, #16 + 800cfaa: 4618 mov r0, r3 + 800cfac: f000 fdc2 bl 800db34 + 800cfb0: 4603 mov r3, r0 + 800cfb2: 2b00 cmp r3, #0 + 800cfb4: d001 beq.n 800cfba { vTaskMissedYield(); - 800d41a: f000 fe9b bl 800e154 + 800cfb6: f000 fe9b bl 800dcf0 else { mtCOVERAGE_TEST_MARKER(); } --cRxLock; - 800d41e: 7bbb ldrb r3, [r7, #14] - 800d420: 3b01 subs r3, #1 - 800d422: b2db uxtb r3, r3 - 800d424: 73bb strb r3, [r7, #14] + 800cfba: 7bbb ldrb r3, [r7, #14] + 800cfbc: 3b01 subs r3, #1 + 800cfbe: b2db uxtb r3, r3 + 800cfc0: 73bb strb r3, [r7, #14] while( cRxLock > queueLOCKED_UNMODIFIED ) - 800d426: f997 300e ldrsb.w r3, [r7, #14] - 800d42a: 2b00 cmp r3, #0 - 800d42c: dce9 bgt.n 800d402 - 800d42e: e000 b.n 800d432 + 800cfc2: f997 300e ldrsb.w r3, [r7, #14] + 800cfc6: 2b00 cmp r3, #0 + 800cfc8: dce9 bgt.n 800cf9e + 800cfca: e000 b.n 800cfce } else { break; - 800d430: bf00 nop + 800cfcc: bf00 nop } } pxQueue->cRxLock = queueUNLOCKED; - 800d432: 687b ldr r3, [r7, #4] - 800d434: 22ff movs r2, #255 ; 0xff - 800d436: f883 2044 strb.w r2, [r3, #68] ; 0x44 + 800cfce: 687b ldr r3, [r7, #4] + 800cfd0: 22ff movs r2, #255 ; 0xff + 800cfd2: f883 2044 strb.w r2, [r3, #68] ; 0x44 } taskEXIT_CRITICAL(); - 800d43a: f001 fae7 bl 800ea0c + 800cfd6: f001 fae1 bl 800e59c } - 800d43e: bf00 nop - 800d440: 3710 adds r7, #16 - 800d442: 46bd mov sp, r7 - 800d444: bd80 pop {r7, pc} + 800cfda: bf00 nop + 800cfdc: 3710 adds r7, #16 + 800cfde: 46bd mov sp, r7 + 800cfe0: bd80 pop {r7, pc} -0800d446 : +0800cfe2 : /*-----------------------------------------------------------*/ static BaseType_t prvIsQueueEmpty( const Queue_t *pxQueue ) { - 800d446: b580 push {r7, lr} - 800d448: b084 sub sp, #16 - 800d44a: af00 add r7, sp, #0 - 800d44c: 6078 str r0, [r7, #4] + 800cfe2: b580 push {r7, lr} + 800cfe4: b084 sub sp, #16 + 800cfe6: af00 add r7, sp, #0 + 800cfe8: 6078 str r0, [r7, #4] BaseType_t xReturn; taskENTER_CRITICAL(); - 800d44e: f001 faab bl 800e9a8 + 800cfea: f001 faa5 bl 800e538 { if( pxQueue->uxMessagesWaiting == ( UBaseType_t ) 0 ) - 800d452: 687b ldr r3, [r7, #4] - 800d454: 6b9b ldr r3, [r3, #56] ; 0x38 - 800d456: 2b00 cmp r3, #0 - 800d458: d102 bne.n 800d460 + 800cfee: 687b ldr r3, [r7, #4] + 800cff0: 6b9b ldr r3, [r3, #56] ; 0x38 + 800cff2: 2b00 cmp r3, #0 + 800cff4: d102 bne.n 800cffc { xReturn = pdTRUE; - 800d45a: 2301 movs r3, #1 - 800d45c: 60fb str r3, [r7, #12] - 800d45e: e001 b.n 800d464 + 800cff6: 2301 movs r3, #1 + 800cff8: 60fb str r3, [r7, #12] + 800cffa: e001 b.n 800d000 } else { xReturn = pdFALSE; - 800d460: 2300 movs r3, #0 - 800d462: 60fb str r3, [r7, #12] + 800cffc: 2300 movs r3, #0 + 800cffe: 60fb str r3, [r7, #12] } } taskEXIT_CRITICAL(); - 800d464: f001 fad2 bl 800ea0c + 800d000: f001 facc bl 800e59c return xReturn; - 800d468: 68fb ldr r3, [r7, #12] + 800d004: 68fb ldr r3, [r7, #12] } - 800d46a: 4618 mov r0, r3 - 800d46c: 3710 adds r7, #16 - 800d46e: 46bd mov sp, r7 - 800d470: bd80 pop {r7, pc} + 800d006: 4618 mov r0, r3 + 800d008: 3710 adds r7, #16 + 800d00a: 46bd mov sp, r7 + 800d00c: bd80 pop {r7, pc} -0800d472 : +0800d00e : return xReturn; } /*lint !e818 xQueue could not be pointer to const because it is a typedef. */ /*-----------------------------------------------------------*/ static BaseType_t prvIsQueueFull( const Queue_t *pxQueue ) { - 800d472: b580 push {r7, lr} - 800d474: b084 sub sp, #16 - 800d476: af00 add r7, sp, #0 - 800d478: 6078 str r0, [r7, #4] + 800d00e: b580 push {r7, lr} + 800d010: b084 sub sp, #16 + 800d012: af00 add r7, sp, #0 + 800d014: 6078 str r0, [r7, #4] BaseType_t xReturn; taskENTER_CRITICAL(); - 800d47a: f001 fa95 bl 800e9a8 + 800d016: f001 fa8f bl 800e538 { if( pxQueue->uxMessagesWaiting == pxQueue->uxLength ) - 800d47e: 687b ldr r3, [r7, #4] - 800d480: 6b9a ldr r2, [r3, #56] ; 0x38 - 800d482: 687b ldr r3, [r7, #4] - 800d484: 6bdb ldr r3, [r3, #60] ; 0x3c - 800d486: 429a cmp r2, r3 - 800d488: d102 bne.n 800d490 + 800d01a: 687b ldr r3, [r7, #4] + 800d01c: 6b9a ldr r2, [r3, #56] ; 0x38 + 800d01e: 687b ldr r3, [r7, #4] + 800d020: 6bdb ldr r3, [r3, #60] ; 0x3c + 800d022: 429a cmp r2, r3 + 800d024: d102 bne.n 800d02c { xReturn = pdTRUE; - 800d48a: 2301 movs r3, #1 - 800d48c: 60fb str r3, [r7, #12] - 800d48e: e001 b.n 800d494 + 800d026: 2301 movs r3, #1 + 800d028: 60fb str r3, [r7, #12] + 800d02a: e001 b.n 800d030 } else { xReturn = pdFALSE; - 800d490: 2300 movs r3, #0 - 800d492: 60fb str r3, [r7, #12] + 800d02c: 2300 movs r3, #0 + 800d02e: 60fb str r3, [r7, #12] } } taskEXIT_CRITICAL(); - 800d494: f001 faba bl 800ea0c + 800d030: f001 fab4 bl 800e59c return xReturn; - 800d498: 68fb ldr r3, [r7, #12] + 800d034: 68fb ldr r3, [r7, #12] } - 800d49a: 4618 mov r0, r3 - 800d49c: 3710 adds r7, #16 - 800d49e: 46bd mov sp, r7 - 800d4a0: bd80 pop {r7, pc} + 800d036: 4618 mov r0, r3 + 800d038: 3710 adds r7, #16 + 800d03a: 46bd mov sp, r7 + 800d03c: bd80 pop {r7, pc} -0800d4a2 : +0800d03e : const uint32_t ulStackDepth, void * const pvParameters, UBaseType_t uxPriority, StackType_t * const puxStackBuffer, StaticTask_t * const pxTaskBuffer ) { - 800d4a2: b580 push {r7, lr} - 800d4a4: b08e sub sp, #56 ; 0x38 - 800d4a6: af04 add r7, sp, #16 - 800d4a8: 60f8 str r0, [r7, #12] - 800d4aa: 60b9 str r1, [r7, #8] - 800d4ac: 607a str r2, [r7, #4] - 800d4ae: 603b str r3, [r7, #0] + 800d03e: b580 push {r7, lr} + 800d040: b08e sub sp, #56 ; 0x38 + 800d042: af04 add r7, sp, #16 + 800d044: 60f8 str r0, [r7, #12] + 800d046: 60b9 str r1, [r7, #8] + 800d048: 607a str r2, [r7, #4] + 800d04a: 603b str r3, [r7, #0] TCB_t *pxNewTCB; TaskHandle_t xReturn; configASSERT( puxStackBuffer != NULL ); - 800d4b0: 6b7b ldr r3, [r7, #52] ; 0x34 - 800d4b2: 2b00 cmp r3, #0 - 800d4b4: d10b bne.n 800d4ce + 800d04c: 6b7b ldr r3, [r7, #52] ; 0x34 + 800d04e: 2b00 cmp r3, #0 + 800d050: d10b bne.n 800d06a __asm volatile - 800d4b6: f04f 0350 mov.w r3, #80 ; 0x50 - 800d4ba: b672 cpsid i - 800d4bc: f383 8811 msr BASEPRI, r3 - 800d4c0: f3bf 8f6f isb sy - 800d4c4: f3bf 8f4f dsb sy - 800d4c8: b662 cpsie i - 800d4ca: 623b str r3, [r7, #32] - 800d4cc: e7fe b.n 800d4cc + 800d052: f04f 0350 mov.w r3, #80 ; 0x50 + 800d056: b672 cpsid i + 800d058: f383 8811 msr BASEPRI, r3 + 800d05c: f3bf 8f6f isb sy + 800d060: f3bf 8f4f dsb sy + 800d064: b662 cpsie i + 800d066: 623b str r3, [r7, #32] + 800d068: e7fe b.n 800d068 configASSERT( pxTaskBuffer != NULL ); - 800d4ce: 6bbb ldr r3, [r7, #56] ; 0x38 - 800d4d0: 2b00 cmp r3, #0 - 800d4d2: d10b bne.n 800d4ec - 800d4d4: f04f 0350 mov.w r3, #80 ; 0x50 - 800d4d8: b672 cpsid i - 800d4da: f383 8811 msr BASEPRI, r3 - 800d4de: f3bf 8f6f isb sy - 800d4e2: f3bf 8f4f dsb sy - 800d4e6: b662 cpsie i - 800d4e8: 61fb str r3, [r7, #28] - 800d4ea: e7fe b.n 800d4ea + 800d06a: 6bbb ldr r3, [r7, #56] ; 0x38 + 800d06c: 2b00 cmp r3, #0 + 800d06e: d10b bne.n 800d088 + 800d070: f04f 0350 mov.w r3, #80 ; 0x50 + 800d074: b672 cpsid i + 800d076: f383 8811 msr BASEPRI, r3 + 800d07a: f3bf 8f6f isb sy + 800d07e: f3bf 8f4f dsb sy + 800d082: b662 cpsie i + 800d084: 61fb str r3, [r7, #28] + 800d086: e7fe b.n 800d086 #if( configASSERT_DEFINED == 1 ) { /* Sanity check that the size of the structure used to declare a variable of type StaticTask_t equals the size of the real task structure. */ volatile size_t xSize = sizeof( StaticTask_t ); - 800d4ec: 2358 movs r3, #88 ; 0x58 - 800d4ee: 613b str r3, [r7, #16] + 800d088: 2358 movs r3, #88 ; 0x58 + 800d08a: 613b str r3, [r7, #16] configASSERT( xSize == sizeof( TCB_t ) ); - 800d4f0: 693b ldr r3, [r7, #16] - 800d4f2: 2b58 cmp r3, #88 ; 0x58 - 800d4f4: d00b beq.n 800d50e - 800d4f6: f04f 0350 mov.w r3, #80 ; 0x50 - 800d4fa: b672 cpsid i - 800d4fc: f383 8811 msr BASEPRI, r3 - 800d500: f3bf 8f6f isb sy - 800d504: f3bf 8f4f dsb sy - 800d508: b662 cpsie i - 800d50a: 61bb str r3, [r7, #24] - 800d50c: e7fe b.n 800d50c + 800d08c: 693b ldr r3, [r7, #16] + 800d08e: 2b58 cmp r3, #88 ; 0x58 + 800d090: d00b beq.n 800d0aa + 800d092: f04f 0350 mov.w r3, #80 ; 0x50 + 800d096: b672 cpsid i + 800d098: f383 8811 msr BASEPRI, r3 + 800d09c: f3bf 8f6f isb sy + 800d0a0: f3bf 8f4f dsb sy + 800d0a4: b662 cpsie i + 800d0a6: 61bb str r3, [r7, #24] + 800d0a8: e7fe b.n 800d0a8 ( void ) xSize; /* Prevent lint warning when configASSERT() is not used. */ - 800d50e: 693b ldr r3, [r7, #16] + 800d0aa: 693b ldr r3, [r7, #16] } #endif /* configASSERT_DEFINED */ if( ( pxTaskBuffer != NULL ) && ( puxStackBuffer != NULL ) ) - 800d510: 6bbb ldr r3, [r7, #56] ; 0x38 - 800d512: 2b00 cmp r3, #0 - 800d514: d01e beq.n 800d554 - 800d516: 6b7b ldr r3, [r7, #52] ; 0x34 - 800d518: 2b00 cmp r3, #0 - 800d51a: d01b beq.n 800d554 + 800d0ac: 6bbb ldr r3, [r7, #56] ; 0x38 + 800d0ae: 2b00 cmp r3, #0 + 800d0b0: d01e beq.n 800d0f0 + 800d0b2: 6b7b ldr r3, [r7, #52] ; 0x34 + 800d0b4: 2b00 cmp r3, #0 + 800d0b6: d01b beq.n 800d0f0 { /* The memory used for the task's TCB and stack are passed into this function - use them. */ pxNewTCB = ( TCB_t * ) pxTaskBuffer; /*lint !e740 !e9087 Unusual cast is ok as the structures are designed to have the same alignment, and the size is checked by an assert. */ - 800d51c: 6bbb ldr r3, [r7, #56] ; 0x38 - 800d51e: 627b str r3, [r7, #36] ; 0x24 + 800d0b8: 6bbb ldr r3, [r7, #56] ; 0x38 + 800d0ba: 627b str r3, [r7, #36] ; 0x24 pxNewTCB->pxStack = ( StackType_t * ) puxStackBuffer; - 800d520: 6a7b ldr r3, [r7, #36] ; 0x24 - 800d522: 6b7a ldr r2, [r7, #52] ; 0x34 - 800d524: 631a str r2, [r3, #48] ; 0x30 + 800d0bc: 6a7b ldr r3, [r7, #36] ; 0x24 + 800d0be: 6b7a ldr r2, [r7, #52] ; 0x34 + 800d0c0: 631a str r2, [r3, #48] ; 0x30 #if( tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE != 0 ) /*lint !e731 !e9029 Macro has been consolidated for readability reasons. */ { /* Tasks can be created statically or dynamically, so note this task was created statically in case the task is later deleted. */ pxNewTCB->ucStaticallyAllocated = tskSTATICALLY_ALLOCATED_STACK_AND_TCB; - 800d526: 6a7b ldr r3, [r7, #36] ; 0x24 - 800d528: 2202 movs r2, #2 - 800d52a: f883 2055 strb.w r2, [r3, #85] ; 0x55 + 800d0c2: 6a7b ldr r3, [r7, #36] ; 0x24 + 800d0c4: 2202 movs r2, #2 + 800d0c6: f883 2055 strb.w r2, [r3, #85] ; 0x55 } #endif /* tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE */ prvInitialiseNewTask( pxTaskCode, pcName, ulStackDepth, pvParameters, uxPriority, &xReturn, pxNewTCB, NULL ); - 800d52e: 2300 movs r3, #0 - 800d530: 9303 str r3, [sp, #12] - 800d532: 6a7b ldr r3, [r7, #36] ; 0x24 - 800d534: 9302 str r3, [sp, #8] - 800d536: f107 0314 add.w r3, r7, #20 - 800d53a: 9301 str r3, [sp, #4] - 800d53c: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d53e: 9300 str r3, [sp, #0] - 800d540: 683b ldr r3, [r7, #0] - 800d542: 687a ldr r2, [r7, #4] - 800d544: 68b9 ldr r1, [r7, #8] - 800d546: 68f8 ldr r0, [r7, #12] - 800d548: f000 f850 bl 800d5ec + 800d0ca: 2300 movs r3, #0 + 800d0cc: 9303 str r3, [sp, #12] + 800d0ce: 6a7b ldr r3, [r7, #36] ; 0x24 + 800d0d0: 9302 str r3, [sp, #8] + 800d0d2: f107 0314 add.w r3, r7, #20 + 800d0d6: 9301 str r3, [sp, #4] + 800d0d8: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d0da: 9300 str r3, [sp, #0] + 800d0dc: 683b ldr r3, [r7, #0] + 800d0de: 687a ldr r2, [r7, #4] + 800d0e0: 68b9 ldr r1, [r7, #8] + 800d0e2: 68f8 ldr r0, [r7, #12] + 800d0e4: f000 f850 bl 800d188 prvAddNewTaskToReadyList( pxNewTCB ); - 800d54c: 6a78 ldr r0, [r7, #36] ; 0x24 - 800d54e: f000 f8e1 bl 800d714 - 800d552: e001 b.n 800d558 + 800d0e8: 6a78 ldr r0, [r7, #36] ; 0x24 + 800d0ea: f000 f8e1 bl 800d2b0 + 800d0ee: e001 b.n 800d0f4 } else { xReturn = NULL; - 800d554: 2300 movs r3, #0 - 800d556: 617b str r3, [r7, #20] + 800d0f0: 2300 movs r3, #0 + 800d0f2: 617b str r3, [r7, #20] } return xReturn; - 800d558: 697b ldr r3, [r7, #20] + 800d0f4: 697b ldr r3, [r7, #20] } - 800d55a: 4618 mov r0, r3 - 800d55c: 3728 adds r7, #40 ; 0x28 - 800d55e: 46bd mov sp, r7 - 800d560: bd80 pop {r7, pc} + 800d0f6: 4618 mov r0, r3 + 800d0f8: 3728 adds r7, #40 ; 0x28 + 800d0fa: 46bd mov sp, r7 + 800d0fc: bd80 pop {r7, pc} -0800d562 : +0800d0fe : const char * const pcName, /*lint !e971 Unqualified char types are allowed for strings and single characters only. */ const configSTACK_DEPTH_TYPE usStackDepth, void * const pvParameters, UBaseType_t uxPriority, TaskHandle_t * const pxCreatedTask ) { - 800d562: b580 push {r7, lr} - 800d564: b08c sub sp, #48 ; 0x30 - 800d566: af04 add r7, sp, #16 - 800d568: 60f8 str r0, [r7, #12] - 800d56a: 60b9 str r1, [r7, #8] - 800d56c: 603b str r3, [r7, #0] - 800d56e: 4613 mov r3, r2 - 800d570: 80fb strh r3, [r7, #6] + 800d0fe: b580 push {r7, lr} + 800d100: b08c sub sp, #48 ; 0x30 + 800d102: af04 add r7, sp, #16 + 800d104: 60f8 str r0, [r7, #12] + 800d106: 60b9 str r1, [r7, #8] + 800d108: 603b str r3, [r7, #0] + 800d10a: 4613 mov r3, r2 + 800d10c: 80fb strh r3, [r7, #6] #else /* portSTACK_GROWTH */ { StackType_t *pxStack; /* Allocate space for the stack used by the task being created. */ pxStack = pvPortMalloc( ( ( ( size_t ) usStackDepth ) * sizeof( StackType_t ) ) ); /*lint !e9079 All values returned by pvPortMalloc() have at least the alignment required by the MCU's stack and this allocation is the stack. */ - 800d572: 88fb ldrh r3, [r7, #6] - 800d574: 009b lsls r3, r3, #2 - 800d576: 4618 mov r0, r3 - 800d578: f001 fb38 bl 800ebec - 800d57c: 6178 str r0, [r7, #20] + 800d10e: 88fb ldrh r3, [r7, #6] + 800d110: 009b lsls r3, r3, #2 + 800d112: 4618 mov r0, r3 + 800d114: f001 fb32 bl 800e77c + 800d118: 6178 str r0, [r7, #20] if( pxStack != NULL ) - 800d57e: 697b ldr r3, [r7, #20] - 800d580: 2b00 cmp r3, #0 - 800d582: d00e beq.n 800d5a2 + 800d11a: 697b ldr r3, [r7, #20] + 800d11c: 2b00 cmp r3, #0 + 800d11e: d00e beq.n 800d13e { /* Allocate space for the TCB. */ pxNewTCB = ( TCB_t * ) pvPortMalloc( sizeof( TCB_t ) ); /*lint !e9087 !e9079 All values returned by pvPortMalloc() have at least the alignment required by the MCU's stack, and the first member of TCB_t is always a pointer to the task's stack. */ - 800d584: 2058 movs r0, #88 ; 0x58 - 800d586: f001 fb31 bl 800ebec - 800d58a: 61f8 str r0, [r7, #28] + 800d120: 2058 movs r0, #88 ; 0x58 + 800d122: f001 fb2b bl 800e77c + 800d126: 61f8 str r0, [r7, #28] if( pxNewTCB != NULL ) - 800d58c: 69fb ldr r3, [r7, #28] - 800d58e: 2b00 cmp r3, #0 - 800d590: d003 beq.n 800d59a + 800d128: 69fb ldr r3, [r7, #28] + 800d12a: 2b00 cmp r3, #0 + 800d12c: d003 beq.n 800d136 { /* Store the stack location in the TCB. */ pxNewTCB->pxStack = pxStack; - 800d592: 69fb ldr r3, [r7, #28] - 800d594: 697a ldr r2, [r7, #20] - 800d596: 631a str r2, [r3, #48] ; 0x30 - 800d598: e005 b.n 800d5a6 + 800d12e: 69fb ldr r3, [r7, #28] + 800d130: 697a ldr r2, [r7, #20] + 800d132: 631a str r2, [r3, #48] ; 0x30 + 800d134: e005 b.n 800d142 } else { /* The stack cannot be used as the TCB was not created. Free it again. */ vPortFree( pxStack ); - 800d59a: 6978 ldr r0, [r7, #20] - 800d59c: f001 fbf2 bl 800ed84 - 800d5a0: e001 b.n 800d5a6 + 800d136: 6978 ldr r0, [r7, #20] + 800d138: f001 fbec bl 800e914 + 800d13c: e001 b.n 800d142 } } else { pxNewTCB = NULL; - 800d5a2: 2300 movs r3, #0 - 800d5a4: 61fb str r3, [r7, #28] + 800d13e: 2300 movs r3, #0 + 800d140: 61fb str r3, [r7, #28] } } #endif /* portSTACK_GROWTH */ if( pxNewTCB != NULL ) - 800d5a6: 69fb ldr r3, [r7, #28] - 800d5a8: 2b00 cmp r3, #0 - 800d5aa: d017 beq.n 800d5dc + 800d142: 69fb ldr r3, [r7, #28] + 800d144: 2b00 cmp r3, #0 + 800d146: d017 beq.n 800d178 { #if( tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE != 0 ) /*lint !e9029 !e731 Macro has been consolidated for readability reasons. */ { /* Tasks can be created statically or dynamically, so note this task was created dynamically in case it is later deleted. */ pxNewTCB->ucStaticallyAllocated = tskDYNAMICALLY_ALLOCATED_STACK_AND_TCB; - 800d5ac: 69fb ldr r3, [r7, #28] - 800d5ae: 2200 movs r2, #0 - 800d5b0: f883 2055 strb.w r2, [r3, #85] ; 0x55 + 800d148: 69fb ldr r3, [r7, #28] + 800d14a: 2200 movs r2, #0 + 800d14c: f883 2055 strb.w r2, [r3, #85] ; 0x55 } #endif /* tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE */ prvInitialiseNewTask( pxTaskCode, pcName, ( uint32_t ) usStackDepth, pvParameters, uxPriority, pxCreatedTask, pxNewTCB, NULL ); - 800d5b4: 88fa ldrh r2, [r7, #6] - 800d5b6: 2300 movs r3, #0 - 800d5b8: 9303 str r3, [sp, #12] - 800d5ba: 69fb ldr r3, [r7, #28] - 800d5bc: 9302 str r3, [sp, #8] - 800d5be: 6afb ldr r3, [r7, #44] ; 0x2c - 800d5c0: 9301 str r3, [sp, #4] - 800d5c2: 6abb ldr r3, [r7, #40] ; 0x28 - 800d5c4: 9300 str r3, [sp, #0] - 800d5c6: 683b ldr r3, [r7, #0] - 800d5c8: 68b9 ldr r1, [r7, #8] - 800d5ca: 68f8 ldr r0, [r7, #12] - 800d5cc: f000 f80e bl 800d5ec + 800d150: 88fa ldrh r2, [r7, #6] + 800d152: 2300 movs r3, #0 + 800d154: 9303 str r3, [sp, #12] + 800d156: 69fb ldr r3, [r7, #28] + 800d158: 9302 str r3, [sp, #8] + 800d15a: 6afb ldr r3, [r7, #44] ; 0x2c + 800d15c: 9301 str r3, [sp, #4] + 800d15e: 6abb ldr r3, [r7, #40] ; 0x28 + 800d160: 9300 str r3, [sp, #0] + 800d162: 683b ldr r3, [r7, #0] + 800d164: 68b9 ldr r1, [r7, #8] + 800d166: 68f8 ldr r0, [r7, #12] + 800d168: f000 f80e bl 800d188 prvAddNewTaskToReadyList( pxNewTCB ); - 800d5d0: 69f8 ldr r0, [r7, #28] - 800d5d2: f000 f89f bl 800d714 + 800d16c: 69f8 ldr r0, [r7, #28] + 800d16e: f000 f89f bl 800d2b0 xReturn = pdPASS; - 800d5d6: 2301 movs r3, #1 - 800d5d8: 61bb str r3, [r7, #24] - 800d5da: e002 b.n 800d5e2 + 800d172: 2301 movs r3, #1 + 800d174: 61bb str r3, [r7, #24] + 800d176: e002 b.n 800d17e } else { xReturn = errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY; - 800d5dc: f04f 33ff mov.w r3, #4294967295 - 800d5e0: 61bb str r3, [r7, #24] + 800d178: f04f 33ff mov.w r3, #4294967295 + 800d17c: 61bb str r3, [r7, #24] } return xReturn; - 800d5e2: 69bb ldr r3, [r7, #24] + 800d17e: 69bb ldr r3, [r7, #24] } - 800d5e4: 4618 mov r0, r3 - 800d5e6: 3720 adds r7, #32 - 800d5e8: 46bd mov sp, r7 - 800d5ea: bd80 pop {r7, pc} + 800d180: 4618 mov r0, r3 + 800d182: 3720 adds r7, #32 + 800d184: 46bd mov sp, r7 + 800d186: bd80 pop {r7, pc} -0800d5ec : +0800d188 : void * const pvParameters, UBaseType_t uxPriority, TaskHandle_t * const pxCreatedTask, TCB_t *pxNewTCB, const MemoryRegion_t * const xRegions ) { - 800d5ec: b580 push {r7, lr} - 800d5ee: b088 sub sp, #32 - 800d5f0: af00 add r7, sp, #0 - 800d5f2: 60f8 str r0, [r7, #12] - 800d5f4: 60b9 str r1, [r7, #8] - 800d5f6: 607a str r2, [r7, #4] - 800d5f8: 603b str r3, [r7, #0] + 800d188: b580 push {r7, lr} + 800d18a: b088 sub sp, #32 + 800d18c: af00 add r7, sp, #0 + 800d18e: 60f8 str r0, [r7, #12] + 800d190: 60b9 str r1, [r7, #8] + 800d192: 607a str r2, [r7, #4] + 800d194: 603b str r3, [r7, #0] /* Avoid dependency on memset() if it is not required. */ #if( tskSET_NEW_STACKS_TO_KNOWN_VALUE == 1 ) { /* Fill the stack with a known value to assist debugging. */ ( void ) memset( pxNewTCB->pxStack, ( int ) tskSTACK_FILL_BYTE, ( size_t ) ulStackDepth * sizeof( StackType_t ) ); - 800d5fa: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d5fc: 6b18 ldr r0, [r3, #48] ; 0x30 - 800d5fe: 687b ldr r3, [r7, #4] - 800d600: 009b lsls r3, r3, #2 - 800d602: 461a mov r2, r3 - 800d604: 21a5 movs r1, #165 ; 0xa5 - 800d606: f00d ff4e bl 801b4a6 + 800d196: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d198: 6b18 ldr r0, [r3, #48] ; 0x30 + 800d19a: 687b ldr r3, [r7, #4] + 800d19c: 009b lsls r3, r3, #2 + 800d19e: 461a mov r2, r3 + 800d1a0: 21a5 movs r1, #165 ; 0xa5 + 800d1a2: f00d ff2f bl 801b004 grows from high memory to low (as per the 80x86) or vice versa. portSTACK_GROWTH is used to make the result positive or negative as required by the port. */ #if( portSTACK_GROWTH < 0 ) { pxTopOfStack = &( pxNewTCB->pxStack[ ulStackDepth - ( uint32_t ) 1 ] ); - 800d60a: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d60c: 6b1a ldr r2, [r3, #48] ; 0x30 - 800d60e: 6879 ldr r1, [r7, #4] - 800d610: f06f 4340 mvn.w r3, #3221225472 ; 0xc0000000 - 800d614: 440b add r3, r1 - 800d616: 009b lsls r3, r3, #2 - 800d618: 4413 add r3, r2 - 800d61a: 61bb str r3, [r7, #24] + 800d1a6: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d1a8: 6b1a ldr r2, [r3, #48] ; 0x30 + 800d1aa: 6879 ldr r1, [r7, #4] + 800d1ac: f06f 4340 mvn.w r3, #3221225472 ; 0xc0000000 + 800d1b0: 440b add r3, r1 + 800d1b2: 009b lsls r3, r3, #2 + 800d1b4: 4413 add r3, r2 + 800d1b6: 61bb str r3, [r7, #24] pxTopOfStack = ( StackType_t * ) ( ( ( portPOINTER_SIZE_TYPE ) pxTopOfStack ) & ( ~( ( portPOINTER_SIZE_TYPE ) portBYTE_ALIGNMENT_MASK ) ) ); /*lint !e923 !e9033 !e9078 MISRA exception. Avoiding casts between pointers and integers is not practical. Size differences accounted for using portPOINTER_SIZE_TYPE type. Checked by assert(). */ - 800d61c: 69bb ldr r3, [r7, #24] - 800d61e: f023 0307 bic.w r3, r3, #7 - 800d622: 61bb str r3, [r7, #24] + 800d1b8: 69bb ldr r3, [r7, #24] + 800d1ba: f023 0307 bic.w r3, r3, #7 + 800d1be: 61bb str r3, [r7, #24] /* Check the alignment of the calculated top of stack is correct. */ configASSERT( ( ( ( portPOINTER_SIZE_TYPE ) pxTopOfStack & ( portPOINTER_SIZE_TYPE ) portBYTE_ALIGNMENT_MASK ) == 0UL ) ); - 800d624: 69bb ldr r3, [r7, #24] - 800d626: f003 0307 and.w r3, r3, #7 - 800d62a: 2b00 cmp r3, #0 - 800d62c: d00b beq.n 800d646 - 800d62e: f04f 0350 mov.w r3, #80 ; 0x50 - 800d632: b672 cpsid i - 800d634: f383 8811 msr BASEPRI, r3 - 800d638: f3bf 8f6f isb sy - 800d63c: f3bf 8f4f dsb sy - 800d640: b662 cpsie i - 800d642: 617b str r3, [r7, #20] - 800d644: e7fe b.n 800d644 + 800d1c0: 69bb ldr r3, [r7, #24] + 800d1c2: f003 0307 and.w r3, r3, #7 + 800d1c6: 2b00 cmp r3, #0 + 800d1c8: d00b beq.n 800d1e2 + 800d1ca: f04f 0350 mov.w r3, #80 ; 0x50 + 800d1ce: b672 cpsid i + 800d1d0: f383 8811 msr BASEPRI, r3 + 800d1d4: f3bf 8f6f isb sy + 800d1d8: f3bf 8f4f dsb sy + 800d1dc: b662 cpsie i + 800d1de: 617b str r3, [r7, #20] + 800d1e0: e7fe b.n 800d1e0 pxNewTCB->pxEndOfStack = pxNewTCB->pxStack + ( ulStackDepth - ( uint32_t ) 1 ); } #endif /* portSTACK_GROWTH */ /* Store the task name in the TCB. */ if( pcName != NULL ) - 800d646: 68bb ldr r3, [r7, #8] - 800d648: 2b00 cmp r3, #0 - 800d64a: d01f beq.n 800d68c + 800d1e2: 68bb ldr r3, [r7, #8] + 800d1e4: 2b00 cmp r3, #0 + 800d1e6: d01f beq.n 800d228 { for( x = ( UBaseType_t ) 0; x < ( UBaseType_t ) configMAX_TASK_NAME_LEN; x++ ) - 800d64c: 2300 movs r3, #0 - 800d64e: 61fb str r3, [r7, #28] - 800d650: e012 b.n 800d678 + 800d1e8: 2300 movs r3, #0 + 800d1ea: 61fb str r3, [r7, #28] + 800d1ec: e012 b.n 800d214 { pxNewTCB->pcTaskName[ x ] = pcName[ x ]; - 800d652: 68ba ldr r2, [r7, #8] - 800d654: 69fb ldr r3, [r7, #28] - 800d656: 4413 add r3, r2 - 800d658: 7819 ldrb r1, [r3, #0] - 800d65a: 6b3a ldr r2, [r7, #48] ; 0x30 - 800d65c: 69fb ldr r3, [r7, #28] - 800d65e: 4413 add r3, r2 - 800d660: 3334 adds r3, #52 ; 0x34 - 800d662: 460a mov r2, r1 - 800d664: 701a strb r2, [r3, #0] + 800d1ee: 68ba ldr r2, [r7, #8] + 800d1f0: 69fb ldr r3, [r7, #28] + 800d1f2: 4413 add r3, r2 + 800d1f4: 7819 ldrb r1, [r3, #0] + 800d1f6: 6b3a ldr r2, [r7, #48] ; 0x30 + 800d1f8: 69fb ldr r3, [r7, #28] + 800d1fa: 4413 add r3, r2 + 800d1fc: 3334 adds r3, #52 ; 0x34 + 800d1fe: 460a mov r2, r1 + 800d200: 701a strb r2, [r3, #0] /* Don't copy all configMAX_TASK_NAME_LEN if the string is shorter than configMAX_TASK_NAME_LEN characters just in case the memory after the string is not accessible (extremely unlikely). */ if( pcName[ x ] == ( char ) 0x00 ) - 800d666: 68ba ldr r2, [r7, #8] - 800d668: 69fb ldr r3, [r7, #28] - 800d66a: 4413 add r3, r2 - 800d66c: 781b ldrb r3, [r3, #0] - 800d66e: 2b00 cmp r3, #0 - 800d670: d006 beq.n 800d680 + 800d202: 68ba ldr r2, [r7, #8] + 800d204: 69fb ldr r3, [r7, #28] + 800d206: 4413 add r3, r2 + 800d208: 781b ldrb r3, [r3, #0] + 800d20a: 2b00 cmp r3, #0 + 800d20c: d006 beq.n 800d21c for( x = ( UBaseType_t ) 0; x < ( UBaseType_t ) configMAX_TASK_NAME_LEN; x++ ) - 800d672: 69fb ldr r3, [r7, #28] - 800d674: 3301 adds r3, #1 - 800d676: 61fb str r3, [r7, #28] - 800d678: 69fb ldr r3, [r7, #28] - 800d67a: 2b0f cmp r3, #15 - 800d67c: d9e9 bls.n 800d652 - 800d67e: e000 b.n 800d682 + 800d20e: 69fb ldr r3, [r7, #28] + 800d210: 3301 adds r3, #1 + 800d212: 61fb str r3, [r7, #28] + 800d214: 69fb ldr r3, [r7, #28] + 800d216: 2b0f cmp r3, #15 + 800d218: d9e9 bls.n 800d1ee + 800d21a: e000 b.n 800d21e { break; - 800d680: bf00 nop + 800d21c: bf00 nop } } /* Ensure the name string is terminated in the case that the string length was greater or equal to configMAX_TASK_NAME_LEN. */ pxNewTCB->pcTaskName[ configMAX_TASK_NAME_LEN - 1 ] = '\0'; - 800d682: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d684: 2200 movs r2, #0 - 800d686: f883 2043 strb.w r2, [r3, #67] ; 0x43 - 800d68a: e003 b.n 800d694 + 800d21e: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d220: 2200 movs r2, #0 + 800d222: f883 2043 strb.w r2, [r3, #67] ; 0x43 + 800d226: e003 b.n 800d230 } else { /* The task has not been given a name, so just ensure there is a NULL terminator when it is read out. */ pxNewTCB->pcTaskName[ 0 ] = 0x00; - 800d68c: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d68e: 2200 movs r2, #0 - 800d690: f883 2034 strb.w r2, [r3, #52] ; 0x34 + 800d228: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d22a: 2200 movs r2, #0 + 800d22c: f883 2034 strb.w r2, [r3, #52] ; 0x34 } /* This is used as an array index so must ensure it's not too large. First remove the privilege bit if one is present. */ if( uxPriority >= ( UBaseType_t ) configMAX_PRIORITIES ) - 800d694: 6abb ldr r3, [r7, #40] ; 0x28 - 800d696: 2b06 cmp r3, #6 - 800d698: d901 bls.n 800d69e + 800d230: 6abb ldr r3, [r7, #40] ; 0x28 + 800d232: 2b06 cmp r3, #6 + 800d234: d901 bls.n 800d23a { uxPriority = ( UBaseType_t ) configMAX_PRIORITIES - ( UBaseType_t ) 1U; - 800d69a: 2306 movs r3, #6 - 800d69c: 62bb str r3, [r7, #40] ; 0x28 + 800d236: 2306 movs r3, #6 + 800d238: 62bb str r3, [r7, #40] ; 0x28 else { mtCOVERAGE_TEST_MARKER(); } pxNewTCB->uxPriority = uxPriority; - 800d69e: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d6a0: 6aba ldr r2, [r7, #40] ; 0x28 - 800d6a2: 62da str r2, [r3, #44] ; 0x2c + 800d23a: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d23c: 6aba ldr r2, [r7, #40] ; 0x28 + 800d23e: 62da str r2, [r3, #44] ; 0x2c #if ( configUSE_MUTEXES == 1 ) { pxNewTCB->uxBasePriority = uxPriority; - 800d6a4: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d6a6: 6aba ldr r2, [r7, #40] ; 0x28 - 800d6a8: 645a str r2, [r3, #68] ; 0x44 + 800d240: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d242: 6aba ldr r2, [r7, #40] ; 0x28 + 800d244: 645a str r2, [r3, #68] ; 0x44 pxNewTCB->uxMutexesHeld = 0; - 800d6aa: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d6ac: 2200 movs r2, #0 - 800d6ae: 649a str r2, [r3, #72] ; 0x48 + 800d246: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d248: 2200 movs r2, #0 + 800d24a: 649a str r2, [r3, #72] ; 0x48 } #endif /* configUSE_MUTEXES */ vListInitialiseItem( &( pxNewTCB->xStateListItem ) ); - 800d6b0: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d6b2: 3304 adds r3, #4 - 800d6b4: 4618 mov r0, r3 - 800d6b6: f7fe fe91 bl 800c3dc + 800d24c: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d24e: 3304 adds r3, #4 + 800d250: 4618 mov r0, r3 + 800d252: f7fe fe91 bl 800bf78 vListInitialiseItem( &( pxNewTCB->xEventListItem ) ); - 800d6ba: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d6bc: 3318 adds r3, #24 - 800d6be: 4618 mov r0, r3 - 800d6c0: f7fe fe8c bl 800c3dc + 800d256: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d258: 3318 adds r3, #24 + 800d25a: 4618 mov r0, r3 + 800d25c: f7fe fe8c bl 800bf78 /* Set the pxNewTCB as a link back from the ListItem_t. This is so we can get back to the containing TCB from a generic item in a list. */ listSET_LIST_ITEM_OWNER( &( pxNewTCB->xStateListItem ), pxNewTCB ); - 800d6c4: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d6c6: 6b3a ldr r2, [r7, #48] ; 0x30 - 800d6c8: 611a str r2, [r3, #16] + 800d260: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d262: 6b3a ldr r2, [r7, #48] ; 0x30 + 800d264: 611a str r2, [r3, #16] /* Event lists are always in priority order. */ listSET_LIST_ITEM_VALUE( &( pxNewTCB->xEventListItem ), ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) uxPriority ); /*lint !e961 MISRA exception as the casts are only redundant for some ports. */ - 800d6ca: 6abb ldr r3, [r7, #40] ; 0x28 - 800d6cc: f1c3 0207 rsb r2, r3, #7 - 800d6d0: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d6d2: 619a str r2, [r3, #24] + 800d266: 6abb ldr r3, [r7, #40] ; 0x28 + 800d268: f1c3 0207 rsb r2, r3, #7 + 800d26c: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d26e: 619a str r2, [r3, #24] listSET_LIST_ITEM_OWNER( &( pxNewTCB->xEventListItem ), pxNewTCB ); - 800d6d4: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d6d6: 6b3a ldr r2, [r7, #48] ; 0x30 - 800d6d8: 625a str r2, [r3, #36] ; 0x24 + 800d270: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d272: 6b3a ldr r2, [r7, #48] ; 0x30 + 800d274: 625a str r2, [r3, #36] ; 0x24 } #endif /* portCRITICAL_NESTING_IN_TCB */ #if ( configUSE_APPLICATION_TASK_TAG == 1 ) { pxNewTCB->pxTaskTag = NULL; - 800d6da: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d6dc: 2200 movs r2, #0 - 800d6de: 64da str r2, [r3, #76] ; 0x4c + 800d276: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d278: 2200 movs r2, #0 + 800d27a: 64da str r2, [r3, #76] ; 0x4c } #endif #if ( configUSE_TASK_NOTIFICATIONS == 1 ) { pxNewTCB->ulNotifiedValue = 0; - 800d6e0: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d6e2: 2200 movs r2, #0 - 800d6e4: 651a str r2, [r3, #80] ; 0x50 + 800d27c: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d27e: 2200 movs r2, #0 + 800d280: 651a str r2, [r3, #80] ; 0x50 pxNewTCB->ucNotifyState = taskNOT_WAITING_NOTIFICATION; - 800d6e6: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d6e8: 2200 movs r2, #0 - 800d6ea: f883 2054 strb.w r2, [r3, #84] ; 0x54 + 800d282: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d284: 2200 movs r2, #0 + 800d286: f883 2054 strb.w r2, [r3, #84] ; 0x54 } #endif /* portSTACK_GROWTH */ } #else /* portHAS_STACK_OVERFLOW_CHECKING */ { pxNewTCB->pxTopOfStack = pxPortInitialiseStack( pxTopOfStack, pxTaskCode, pvParameters ); - 800d6ee: 683a ldr r2, [r7, #0] - 800d6f0: 68f9 ldr r1, [r7, #12] - 800d6f2: 69b8 ldr r0, [r7, #24] - 800d6f4: f001 f84c bl 800e790 - 800d6f8: 4602 mov r2, r0 - 800d6fa: 6b3b ldr r3, [r7, #48] ; 0x30 - 800d6fc: 601a str r2, [r3, #0] + 800d28a: 683a ldr r2, [r7, #0] + 800d28c: 68f9 ldr r1, [r7, #12] + 800d28e: 69b8 ldr r0, [r7, #24] + 800d290: f001 f84c bl 800e32c + 800d294: 4602 mov r2, r0 + 800d296: 6b3b ldr r3, [r7, #48] ; 0x30 + 800d298: 601a str r2, [r3, #0] } #endif /* portHAS_STACK_OVERFLOW_CHECKING */ } #endif /* portUSING_MPU_WRAPPERS */ if( pxCreatedTask != NULL ) - 800d6fe: 6afb ldr r3, [r7, #44] ; 0x2c - 800d700: 2b00 cmp r3, #0 - 800d702: d002 beq.n 800d70a + 800d29a: 6afb ldr r3, [r7, #44] ; 0x2c + 800d29c: 2b00 cmp r3, #0 + 800d29e: d002 beq.n 800d2a6 { /* Pass the handle out in an anonymous way. The handle can be used to change the created task's priority, delete the created task, etc.*/ *pxCreatedTask = ( TaskHandle_t ) pxNewTCB; - 800d704: 6afb ldr r3, [r7, #44] ; 0x2c - 800d706: 6b3a ldr r2, [r7, #48] ; 0x30 - 800d708: 601a str r2, [r3, #0] + 800d2a0: 6afb ldr r3, [r7, #44] ; 0x2c + 800d2a2: 6b3a ldr r2, [r7, #48] ; 0x30 + 800d2a4: 601a str r2, [r3, #0] } else { mtCOVERAGE_TEST_MARKER(); } } - 800d70a: bf00 nop - 800d70c: 3720 adds r7, #32 - 800d70e: 46bd mov sp, r7 - 800d710: bd80 pop {r7, pc} + 800d2a6: bf00 nop + 800d2a8: 3720 adds r7, #32 + 800d2aa: 46bd mov sp, r7 + 800d2ac: bd80 pop {r7, pc} ... -0800d714 : +0800d2b0 : /*-----------------------------------------------------------*/ static void prvAddNewTaskToReadyList( TCB_t *pxNewTCB ) { - 800d714: b580 push {r7, lr} - 800d716: b082 sub sp, #8 - 800d718: af00 add r7, sp, #0 - 800d71a: 6078 str r0, [r7, #4] + 800d2b0: b580 push {r7, lr} + 800d2b2: b082 sub sp, #8 + 800d2b4: af00 add r7, sp, #0 + 800d2b6: 6078 str r0, [r7, #4] /* Ensure interrupts don't access the task lists while the lists are being updated. */ taskENTER_CRITICAL(); - 800d71c: f001 f944 bl 800e9a8 + 800d2b8: f001 f93e bl 800e538 { uxCurrentNumberOfTasks++; - 800d720: 4b2a ldr r3, [pc, #168] ; (800d7cc ) - 800d722: 681b ldr r3, [r3, #0] - 800d724: 3301 adds r3, #1 - 800d726: 4a29 ldr r2, [pc, #164] ; (800d7cc ) - 800d728: 6013 str r3, [r2, #0] + 800d2bc: 4b2a ldr r3, [pc, #168] ; (800d368 ) + 800d2be: 681b ldr r3, [r3, #0] + 800d2c0: 3301 adds r3, #1 + 800d2c2: 4a29 ldr r2, [pc, #164] ; (800d368 ) + 800d2c4: 6013 str r3, [r2, #0] if( pxCurrentTCB == NULL ) - 800d72a: 4b29 ldr r3, [pc, #164] ; (800d7d0 ) - 800d72c: 681b ldr r3, [r3, #0] - 800d72e: 2b00 cmp r3, #0 - 800d730: d109 bne.n 800d746 + 800d2c6: 4b29 ldr r3, [pc, #164] ; (800d36c ) + 800d2c8: 681b ldr r3, [r3, #0] + 800d2ca: 2b00 cmp r3, #0 + 800d2cc: d109 bne.n 800d2e2 { /* There are no other tasks, or all the other tasks are in the suspended state - make this the current task. */ pxCurrentTCB = pxNewTCB; - 800d732: 4a27 ldr r2, [pc, #156] ; (800d7d0 ) - 800d734: 687b ldr r3, [r7, #4] - 800d736: 6013 str r3, [r2, #0] + 800d2ce: 4a27 ldr r2, [pc, #156] ; (800d36c ) + 800d2d0: 687b ldr r3, [r7, #4] + 800d2d2: 6013 str r3, [r2, #0] if( uxCurrentNumberOfTasks == ( UBaseType_t ) 1 ) - 800d738: 4b24 ldr r3, [pc, #144] ; (800d7cc ) - 800d73a: 681b ldr r3, [r3, #0] - 800d73c: 2b01 cmp r3, #1 - 800d73e: d110 bne.n 800d762 + 800d2d4: 4b24 ldr r3, [pc, #144] ; (800d368 ) + 800d2d6: 681b ldr r3, [r3, #0] + 800d2d8: 2b01 cmp r3, #1 + 800d2da: d110 bne.n 800d2fe { /* This is the first task to be created so do the preliminary initialisation required. We will not recover if this call fails, but we will report the failure. */ prvInitialiseTaskLists(); - 800d740: f000 fd2e bl 800e1a0 - 800d744: e00d b.n 800d762 + 800d2dc: f000 fd2e bl 800dd3c + 800d2e0: e00d b.n 800d2fe else { /* If the scheduler is not already running, make this task the current task if it is the highest priority task to be created so far. */ if( xSchedulerRunning == pdFALSE ) - 800d746: 4b23 ldr r3, [pc, #140] ; (800d7d4 ) - 800d748: 681b ldr r3, [r3, #0] - 800d74a: 2b00 cmp r3, #0 - 800d74c: d109 bne.n 800d762 + 800d2e2: 4b23 ldr r3, [pc, #140] ; (800d370 ) + 800d2e4: 681b ldr r3, [r3, #0] + 800d2e6: 2b00 cmp r3, #0 + 800d2e8: d109 bne.n 800d2fe { if( pxCurrentTCB->uxPriority <= pxNewTCB->uxPriority ) - 800d74e: 4b20 ldr r3, [pc, #128] ; (800d7d0 ) - 800d750: 681b ldr r3, [r3, #0] - 800d752: 6ada ldr r2, [r3, #44] ; 0x2c - 800d754: 687b ldr r3, [r7, #4] - 800d756: 6adb ldr r3, [r3, #44] ; 0x2c - 800d758: 429a cmp r2, r3 - 800d75a: d802 bhi.n 800d762 + 800d2ea: 4b20 ldr r3, [pc, #128] ; (800d36c ) + 800d2ec: 681b ldr r3, [r3, #0] + 800d2ee: 6ada ldr r2, [r3, #44] ; 0x2c + 800d2f0: 687b ldr r3, [r7, #4] + 800d2f2: 6adb ldr r3, [r3, #44] ; 0x2c + 800d2f4: 429a cmp r2, r3 + 800d2f6: d802 bhi.n 800d2fe { pxCurrentTCB = pxNewTCB; - 800d75c: 4a1c ldr r2, [pc, #112] ; (800d7d0 ) - 800d75e: 687b ldr r3, [r7, #4] - 800d760: 6013 str r3, [r2, #0] + 800d2f8: 4a1c ldr r2, [pc, #112] ; (800d36c ) + 800d2fa: 687b ldr r3, [r7, #4] + 800d2fc: 6013 str r3, [r2, #0] { mtCOVERAGE_TEST_MARKER(); } } uxTaskNumber++; - 800d762: 4b1d ldr r3, [pc, #116] ; (800d7d8 ) - 800d764: 681b ldr r3, [r3, #0] - 800d766: 3301 adds r3, #1 - 800d768: 4a1b ldr r2, [pc, #108] ; (800d7d8 ) - 800d76a: 6013 str r3, [r2, #0] + 800d2fe: 4b1d ldr r3, [pc, #116] ; (800d374 ) + 800d300: 681b ldr r3, [r3, #0] + 800d302: 3301 adds r3, #1 + 800d304: 4a1b ldr r2, [pc, #108] ; (800d374 ) + 800d306: 6013 str r3, [r2, #0] pxNewTCB->uxTCBNumber = uxTaskNumber; } #endif /* configUSE_TRACE_FACILITY */ traceTASK_CREATE( pxNewTCB ); prvAddTaskToReadyList( pxNewTCB ); - 800d76c: 687b ldr r3, [r7, #4] - 800d76e: 6adb ldr r3, [r3, #44] ; 0x2c - 800d770: 2201 movs r2, #1 - 800d772: 409a lsls r2, r3 - 800d774: 4b19 ldr r3, [pc, #100] ; (800d7dc ) - 800d776: 681b ldr r3, [r3, #0] - 800d778: 4313 orrs r3, r2 - 800d77a: 4a18 ldr r2, [pc, #96] ; (800d7dc ) - 800d77c: 6013 str r3, [r2, #0] - 800d77e: 687b ldr r3, [r7, #4] - 800d780: 6ada ldr r2, [r3, #44] ; 0x2c - 800d782: 4613 mov r3, r2 - 800d784: 009b lsls r3, r3, #2 - 800d786: 4413 add r3, r2 - 800d788: 009b lsls r3, r3, #2 - 800d78a: 4a15 ldr r2, [pc, #84] ; (800d7e0 ) - 800d78c: 441a add r2, r3 - 800d78e: 687b ldr r3, [r7, #4] - 800d790: 3304 adds r3, #4 - 800d792: 4619 mov r1, r3 - 800d794: 4610 mov r0, r2 - 800d796: f7fe fe2e bl 800c3f6 + 800d308: 687b ldr r3, [r7, #4] + 800d30a: 6adb ldr r3, [r3, #44] ; 0x2c + 800d30c: 2201 movs r2, #1 + 800d30e: 409a lsls r2, r3 + 800d310: 4b19 ldr r3, [pc, #100] ; (800d378 ) + 800d312: 681b ldr r3, [r3, #0] + 800d314: 4313 orrs r3, r2 + 800d316: 4a18 ldr r2, [pc, #96] ; (800d378 ) + 800d318: 6013 str r3, [r2, #0] + 800d31a: 687b ldr r3, [r7, #4] + 800d31c: 6ada ldr r2, [r3, #44] ; 0x2c + 800d31e: 4613 mov r3, r2 + 800d320: 009b lsls r3, r3, #2 + 800d322: 4413 add r3, r2 + 800d324: 009b lsls r3, r3, #2 + 800d326: 4a15 ldr r2, [pc, #84] ; (800d37c ) + 800d328: 441a add r2, r3 + 800d32a: 687b ldr r3, [r7, #4] + 800d32c: 3304 adds r3, #4 + 800d32e: 4619 mov r1, r3 + 800d330: 4610 mov r0, r2 + 800d332: f7fe fe2e bl 800bf92 portSETUP_TCB( pxNewTCB ); } taskEXIT_CRITICAL(); - 800d79a: f001 f937 bl 800ea0c + 800d336: f001 f931 bl 800e59c if( xSchedulerRunning != pdFALSE ) - 800d79e: 4b0d ldr r3, [pc, #52] ; (800d7d4 ) - 800d7a0: 681b ldr r3, [r3, #0] - 800d7a2: 2b00 cmp r3, #0 - 800d7a4: d00e beq.n 800d7c4 + 800d33a: 4b0d ldr r3, [pc, #52] ; (800d370 ) + 800d33c: 681b ldr r3, [r3, #0] + 800d33e: 2b00 cmp r3, #0 + 800d340: d00e beq.n 800d360 { /* If the created task is of a higher priority than the current task then it should run now. */ if( pxCurrentTCB->uxPriority < pxNewTCB->uxPriority ) - 800d7a6: 4b0a ldr r3, [pc, #40] ; (800d7d0 ) - 800d7a8: 681b ldr r3, [r3, #0] - 800d7aa: 6ada ldr r2, [r3, #44] ; 0x2c - 800d7ac: 687b ldr r3, [r7, #4] - 800d7ae: 6adb ldr r3, [r3, #44] ; 0x2c - 800d7b0: 429a cmp r2, r3 - 800d7b2: d207 bcs.n 800d7c4 + 800d342: 4b0a ldr r3, [pc, #40] ; (800d36c ) + 800d344: 681b ldr r3, [r3, #0] + 800d346: 6ada ldr r2, [r3, #44] ; 0x2c + 800d348: 687b ldr r3, [r7, #4] + 800d34a: 6adb ldr r3, [r3, #44] ; 0x2c + 800d34c: 429a cmp r2, r3 + 800d34e: d207 bcs.n 800d360 { taskYIELD_IF_USING_PREEMPTION(); - 800d7b4: 4b0b ldr r3, [pc, #44] ; (800d7e4 ) - 800d7b6: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800d7ba: 601a str r2, [r3, #0] - 800d7bc: f3bf 8f4f dsb sy - 800d7c0: f3bf 8f6f isb sy + 800d350: 4b0b ldr r3, [pc, #44] ; (800d380 ) + 800d352: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800d356: 601a str r2, [r3, #0] + 800d358: f3bf 8f4f dsb sy + 800d35c: f3bf 8f6f isb sy } else { mtCOVERAGE_TEST_MARKER(); } } - 800d7c4: bf00 nop - 800d7c6: 3708 adds r7, #8 - 800d7c8: 46bd mov sp, r7 - 800d7ca: bd80 pop {r7, pc} - 800d7cc: 2000068c .word 0x2000068c - 800d7d0: 2000058c .word 0x2000058c - 800d7d4: 20000698 .word 0x20000698 - 800d7d8: 200006a8 .word 0x200006a8 - 800d7dc: 20000694 .word 0x20000694 - 800d7e0: 20000590 .word 0x20000590 - 800d7e4: e000ed04 .word 0xe000ed04 + 800d360: bf00 nop + 800d362: 3708 adds r7, #8 + 800d364: 46bd mov sp, r7 + 800d366: bd80 pop {r7, pc} + 800d368: 2000068c .word 0x2000068c + 800d36c: 2000058c .word 0x2000058c + 800d370: 20000698 .word 0x20000698 + 800d374: 200006a8 .word 0x200006a8 + 800d378: 20000694 .word 0x20000694 + 800d37c: 20000590 .word 0x20000590 + 800d380: e000ed04 .word 0xe000ed04 -0800d7e8 : +0800d384 : /*-----------------------------------------------------------*/ #if ( INCLUDE_vTaskDelete == 1 ) void vTaskDelete( TaskHandle_t xTaskToDelete ) { - 800d7e8: b580 push {r7, lr} - 800d7ea: b084 sub sp, #16 - 800d7ec: af00 add r7, sp, #0 - 800d7ee: 6078 str r0, [r7, #4] + 800d384: b580 push {r7, lr} + 800d386: b084 sub sp, #16 + 800d388: af00 add r7, sp, #0 + 800d38a: 6078 str r0, [r7, #4] TCB_t *pxTCB; taskENTER_CRITICAL(); - 800d7f0: f001 f8da bl 800e9a8 + 800d38c: f001 f8d4 bl 800e538 { /* If null is passed in here then it is the calling task that is being deleted. */ pxTCB = prvGetTCBFromHandle( xTaskToDelete ); - 800d7f4: 687b ldr r3, [r7, #4] - 800d7f6: 2b00 cmp r3, #0 - 800d7f8: d102 bne.n 800d800 - 800d7fa: 4b39 ldr r3, [pc, #228] ; (800d8e0 ) - 800d7fc: 681b ldr r3, [r3, #0] - 800d7fe: e000 b.n 800d802 - 800d800: 687b ldr r3, [r7, #4] - 800d802: 60fb str r3, [r7, #12] + 800d390: 687b ldr r3, [r7, #4] + 800d392: 2b00 cmp r3, #0 + 800d394: d102 bne.n 800d39c + 800d396: 4b39 ldr r3, [pc, #228] ; (800d47c ) + 800d398: 681b ldr r3, [r3, #0] + 800d39a: e000 b.n 800d39e + 800d39c: 687b ldr r3, [r7, #4] + 800d39e: 60fb str r3, [r7, #12] /* Remove task from the ready list. */ if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) - 800d804: 68fb ldr r3, [r7, #12] - 800d806: 3304 adds r3, #4 - 800d808: 4618 mov r0, r3 - 800d80a: f7fe fe51 bl 800c4b0 - 800d80e: 4603 mov r3, r0 - 800d810: 2b00 cmp r3, #0 - 800d812: d115 bne.n 800d840 + 800d3a0: 68fb ldr r3, [r7, #12] + 800d3a2: 3304 adds r3, #4 + 800d3a4: 4618 mov r0, r3 + 800d3a6: f7fe fe51 bl 800c04c + 800d3aa: 4603 mov r3, r0 + 800d3ac: 2b00 cmp r3, #0 + 800d3ae: d115 bne.n 800d3dc { taskRESET_READY_PRIORITY( pxTCB->uxPriority ); - 800d814: 68fb ldr r3, [r7, #12] - 800d816: 6ada ldr r2, [r3, #44] ; 0x2c - 800d818: 4932 ldr r1, [pc, #200] ; (800d8e4 ) - 800d81a: 4613 mov r3, r2 - 800d81c: 009b lsls r3, r3, #2 - 800d81e: 4413 add r3, r2 - 800d820: 009b lsls r3, r3, #2 - 800d822: 440b add r3, r1 - 800d824: 681b ldr r3, [r3, #0] - 800d826: 2b00 cmp r3, #0 - 800d828: d10a bne.n 800d840 - 800d82a: 68fb ldr r3, [r7, #12] - 800d82c: 6adb ldr r3, [r3, #44] ; 0x2c - 800d82e: 2201 movs r2, #1 - 800d830: fa02 f303 lsl.w r3, r2, r3 - 800d834: 43da mvns r2, r3 - 800d836: 4b2c ldr r3, [pc, #176] ; (800d8e8 ) - 800d838: 681b ldr r3, [r3, #0] - 800d83a: 4013 ands r3, r2 - 800d83c: 4a2a ldr r2, [pc, #168] ; (800d8e8 ) - 800d83e: 6013 str r3, [r2, #0] + 800d3b0: 68fb ldr r3, [r7, #12] + 800d3b2: 6ada ldr r2, [r3, #44] ; 0x2c + 800d3b4: 4932 ldr r1, [pc, #200] ; (800d480 ) + 800d3b6: 4613 mov r3, r2 + 800d3b8: 009b lsls r3, r3, #2 + 800d3ba: 4413 add r3, r2 + 800d3bc: 009b lsls r3, r3, #2 + 800d3be: 440b add r3, r1 + 800d3c0: 681b ldr r3, [r3, #0] + 800d3c2: 2b00 cmp r3, #0 + 800d3c4: d10a bne.n 800d3dc + 800d3c6: 68fb ldr r3, [r7, #12] + 800d3c8: 6adb ldr r3, [r3, #44] ; 0x2c + 800d3ca: 2201 movs r2, #1 + 800d3cc: fa02 f303 lsl.w r3, r2, r3 + 800d3d0: 43da mvns r2, r3 + 800d3d2: 4b2c ldr r3, [pc, #176] ; (800d484 ) + 800d3d4: 681b ldr r3, [r3, #0] + 800d3d6: 4013 ands r3, r2 + 800d3d8: 4a2a ldr r2, [pc, #168] ; (800d484 ) + 800d3da: 6013 str r3, [r2, #0] { mtCOVERAGE_TEST_MARKER(); } /* Is the task waiting on an event also? */ if( listLIST_ITEM_CONTAINER( &( pxTCB->xEventListItem ) ) != NULL ) - 800d840: 68fb ldr r3, [r7, #12] - 800d842: 6a9b ldr r3, [r3, #40] ; 0x28 - 800d844: 2b00 cmp r3, #0 - 800d846: d004 beq.n 800d852 + 800d3dc: 68fb ldr r3, [r7, #12] + 800d3de: 6a9b ldr r3, [r3, #40] ; 0x28 + 800d3e0: 2b00 cmp r3, #0 + 800d3e2: d004 beq.n 800d3ee { ( void ) uxListRemove( &( pxTCB->xEventListItem ) ); - 800d848: 68fb ldr r3, [r7, #12] - 800d84a: 3318 adds r3, #24 - 800d84c: 4618 mov r0, r3 - 800d84e: f7fe fe2f bl 800c4b0 + 800d3e4: 68fb ldr r3, [r7, #12] + 800d3e6: 3318 adds r3, #24 + 800d3e8: 4618 mov r0, r3 + 800d3ea: f7fe fe2f bl 800c04c /* Increment the uxTaskNumber also so kernel aware debuggers can detect that the task lists need re-generating. This is done before portPRE_TASK_DELETE_HOOK() as in the Windows port that macro will not return. */ uxTaskNumber++; - 800d852: 4b26 ldr r3, [pc, #152] ; (800d8ec ) - 800d854: 681b ldr r3, [r3, #0] - 800d856: 3301 adds r3, #1 - 800d858: 4a24 ldr r2, [pc, #144] ; (800d8ec ) - 800d85a: 6013 str r3, [r2, #0] + 800d3ee: 4b26 ldr r3, [pc, #152] ; (800d488 ) + 800d3f0: 681b ldr r3, [r3, #0] + 800d3f2: 3301 adds r3, #1 + 800d3f4: 4a24 ldr r2, [pc, #144] ; (800d488 ) + 800d3f6: 6013 str r3, [r2, #0] if( pxTCB == pxCurrentTCB ) - 800d85c: 4b20 ldr r3, [pc, #128] ; (800d8e0 ) - 800d85e: 681b ldr r3, [r3, #0] - 800d860: 68fa ldr r2, [r7, #12] - 800d862: 429a cmp r2, r3 - 800d864: d10b bne.n 800d87e + 800d3f8: 4b20 ldr r3, [pc, #128] ; (800d47c ) + 800d3fa: 681b ldr r3, [r3, #0] + 800d3fc: 68fa ldr r2, [r7, #12] + 800d3fe: 429a cmp r2, r3 + 800d400: d10b bne.n 800d41a /* A task is deleting itself. This cannot complete within the task itself, as a context switch to another task is required. Place the task in the termination list. The idle task will check the termination list and free up any memory allocated by the scheduler for the TCB and stack of the deleted task. */ vListInsertEnd( &xTasksWaitingTermination, &( pxTCB->xStateListItem ) ); - 800d866: 68fb ldr r3, [r7, #12] - 800d868: 3304 adds r3, #4 - 800d86a: 4619 mov r1, r3 - 800d86c: 4820 ldr r0, [pc, #128] ; (800d8f0 ) - 800d86e: f7fe fdc2 bl 800c3f6 + 800d402: 68fb ldr r3, [r7, #12] + 800d404: 3304 adds r3, #4 + 800d406: 4619 mov r1, r3 + 800d408: 4820 ldr r0, [pc, #128] ; (800d48c ) + 800d40a: f7fe fdc2 bl 800bf92 /* Increment the ucTasksDeleted variable so the idle task knows there is a task that has been deleted and that it should therefore check the xTasksWaitingTermination list. */ ++uxDeletedTasksWaitingCleanUp; - 800d872: 4b20 ldr r3, [pc, #128] ; (800d8f4 ) - 800d874: 681b ldr r3, [r3, #0] - 800d876: 3301 adds r3, #1 - 800d878: 4a1e ldr r2, [pc, #120] ; (800d8f4 ) - 800d87a: 6013 str r3, [r2, #0] - 800d87c: e009 b.n 800d892 + 800d40e: 4b20 ldr r3, [pc, #128] ; (800d490 ) + 800d410: 681b ldr r3, [r3, #0] + 800d412: 3301 adds r3, #1 + 800d414: 4a1e ldr r2, [pc, #120] ; (800d490 ) + 800d416: 6013 str r3, [r2, #0] + 800d418: e009 b.n 800d42e required. */ portPRE_TASK_DELETE_HOOK( pxTCB, &xYieldPending ); } else { --uxCurrentNumberOfTasks; - 800d87e: 4b1e ldr r3, [pc, #120] ; (800d8f8 ) - 800d880: 681b ldr r3, [r3, #0] - 800d882: 3b01 subs r3, #1 - 800d884: 4a1c ldr r2, [pc, #112] ; (800d8f8 ) - 800d886: 6013 str r3, [r2, #0] + 800d41a: 4b1e ldr r3, [pc, #120] ; (800d494 ) + 800d41c: 681b ldr r3, [r3, #0] + 800d41e: 3b01 subs r3, #1 + 800d420: 4a1c ldr r2, [pc, #112] ; (800d494 ) + 800d422: 6013 str r3, [r2, #0] prvDeleteTCB( pxTCB ); - 800d888: 68f8 ldr r0, [r7, #12] - 800d88a: f000 fcf5 bl 800e278 + 800d424: 68f8 ldr r0, [r7, #12] + 800d426: f000 fcf5 bl 800de14 /* Reset the next expected unblock time in case it referred to the task that has just been deleted. */ prvResetNextTaskUnblockTime(); - 800d88e: f000 fd23 bl 800e2d8 + 800d42a: f000 fd23 bl 800de74 } traceTASK_DELETE( pxTCB ); } taskEXIT_CRITICAL(); - 800d892: f001 f8bb bl 800ea0c + 800d42e: f001 f8b5 bl 800e59c /* Force a reschedule if it is the currently running task that has just been deleted. */ if( xSchedulerRunning != pdFALSE ) - 800d896: 4b19 ldr r3, [pc, #100] ; (800d8fc ) - 800d898: 681b ldr r3, [r3, #0] - 800d89a: 2b00 cmp r3, #0 - 800d89c: d01c beq.n 800d8d8 + 800d432: 4b19 ldr r3, [pc, #100] ; (800d498 ) + 800d434: 681b ldr r3, [r3, #0] + 800d436: 2b00 cmp r3, #0 + 800d438: d01c beq.n 800d474 { if( pxTCB == pxCurrentTCB ) - 800d89e: 4b10 ldr r3, [pc, #64] ; (800d8e0 ) - 800d8a0: 681b ldr r3, [r3, #0] - 800d8a2: 68fa ldr r2, [r7, #12] - 800d8a4: 429a cmp r2, r3 - 800d8a6: d117 bne.n 800d8d8 + 800d43a: 4b10 ldr r3, [pc, #64] ; (800d47c ) + 800d43c: 681b ldr r3, [r3, #0] + 800d43e: 68fa ldr r2, [r7, #12] + 800d440: 429a cmp r2, r3 + 800d442: d117 bne.n 800d474 { configASSERT( uxSchedulerSuspended == 0 ); - 800d8a8: 4b15 ldr r3, [pc, #84] ; (800d900 ) - 800d8aa: 681b ldr r3, [r3, #0] - 800d8ac: 2b00 cmp r3, #0 - 800d8ae: d00b beq.n 800d8c8 - 800d8b0: f04f 0350 mov.w r3, #80 ; 0x50 - 800d8b4: b672 cpsid i - 800d8b6: f383 8811 msr BASEPRI, r3 - 800d8ba: f3bf 8f6f isb sy - 800d8be: f3bf 8f4f dsb sy - 800d8c2: b662 cpsie i - 800d8c4: 60bb str r3, [r7, #8] - 800d8c6: e7fe b.n 800d8c6 + 800d444: 4b15 ldr r3, [pc, #84] ; (800d49c ) + 800d446: 681b ldr r3, [r3, #0] + 800d448: 2b00 cmp r3, #0 + 800d44a: d00b beq.n 800d464 + 800d44c: f04f 0350 mov.w r3, #80 ; 0x50 + 800d450: b672 cpsid i + 800d452: f383 8811 msr BASEPRI, r3 + 800d456: f3bf 8f6f isb sy + 800d45a: f3bf 8f4f dsb sy + 800d45e: b662 cpsie i + 800d460: 60bb str r3, [r7, #8] + 800d462: e7fe b.n 800d462 portYIELD_WITHIN_API(); - 800d8c8: 4b0e ldr r3, [pc, #56] ; (800d904 ) - 800d8ca: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800d8ce: 601a str r2, [r3, #0] - 800d8d0: f3bf 8f4f dsb sy - 800d8d4: f3bf 8f6f isb sy + 800d464: 4b0e ldr r3, [pc, #56] ; (800d4a0 ) + 800d466: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800d46a: 601a str r2, [r3, #0] + 800d46c: f3bf 8f4f dsb sy + 800d470: f3bf 8f6f isb sy else { mtCOVERAGE_TEST_MARKER(); } } } - 800d8d8: bf00 nop - 800d8da: 3710 adds r7, #16 - 800d8dc: 46bd mov sp, r7 - 800d8de: bd80 pop {r7, pc} - 800d8e0: 2000058c .word 0x2000058c - 800d8e4: 20000590 .word 0x20000590 - 800d8e8: 20000694 .word 0x20000694 - 800d8ec: 200006a8 .word 0x200006a8 - 800d8f0: 20000660 .word 0x20000660 - 800d8f4: 20000674 .word 0x20000674 - 800d8f8: 2000068c .word 0x2000068c - 800d8fc: 20000698 .word 0x20000698 - 800d900: 200006b4 .word 0x200006b4 - 800d904: e000ed04 .word 0xe000ed04 + 800d474: bf00 nop + 800d476: 3710 adds r7, #16 + 800d478: 46bd mov sp, r7 + 800d47a: bd80 pop {r7, pc} + 800d47c: 2000058c .word 0x2000058c + 800d480: 20000590 .word 0x20000590 + 800d484: 20000694 .word 0x20000694 + 800d488: 200006a8 .word 0x200006a8 + 800d48c: 20000660 .word 0x20000660 + 800d490: 20000674 .word 0x20000674 + 800d494: 2000068c .word 0x2000068c + 800d498: 20000698 .word 0x20000698 + 800d49c: 200006b4 .word 0x200006b4 + 800d4a0: e000ed04 .word 0xe000ed04 -0800d908 : +0800d4a4 : /*-----------------------------------------------------------*/ #if ( INCLUDE_vTaskDelayUntil == 1 ) void vTaskDelayUntil( TickType_t * const pxPreviousWakeTime, const TickType_t xTimeIncrement ) { - 800d908: b580 push {r7, lr} - 800d90a: b08a sub sp, #40 ; 0x28 - 800d90c: af00 add r7, sp, #0 - 800d90e: 6078 str r0, [r7, #4] - 800d910: 6039 str r1, [r7, #0] + 800d4a4: b580 push {r7, lr} + 800d4a6: b08a sub sp, #40 ; 0x28 + 800d4a8: af00 add r7, sp, #0 + 800d4aa: 6078 str r0, [r7, #4] + 800d4ac: 6039 str r1, [r7, #0] TickType_t xTimeToWake; BaseType_t xAlreadyYielded, xShouldDelay = pdFALSE; - 800d912: 2300 movs r3, #0 - 800d914: 627b str r3, [r7, #36] ; 0x24 + 800d4ae: 2300 movs r3, #0 + 800d4b0: 627b str r3, [r7, #36] ; 0x24 configASSERT( pxPreviousWakeTime ); - 800d916: 687b ldr r3, [r7, #4] - 800d918: 2b00 cmp r3, #0 - 800d91a: d10b bne.n 800d934 - 800d91c: f04f 0350 mov.w r3, #80 ; 0x50 - 800d920: b672 cpsid i - 800d922: f383 8811 msr BASEPRI, r3 - 800d926: f3bf 8f6f isb sy - 800d92a: f3bf 8f4f dsb sy - 800d92e: b662 cpsie i - 800d930: 617b str r3, [r7, #20] - 800d932: e7fe b.n 800d932 + 800d4b2: 687b ldr r3, [r7, #4] + 800d4b4: 2b00 cmp r3, #0 + 800d4b6: d10b bne.n 800d4d0 + 800d4b8: f04f 0350 mov.w r3, #80 ; 0x50 + 800d4bc: b672 cpsid i + 800d4be: f383 8811 msr BASEPRI, r3 + 800d4c2: f3bf 8f6f isb sy + 800d4c6: f3bf 8f4f dsb sy + 800d4ca: b662 cpsie i + 800d4cc: 617b str r3, [r7, #20] + 800d4ce: e7fe b.n 800d4ce configASSERT( ( xTimeIncrement > 0U ) ); - 800d934: 683b ldr r3, [r7, #0] - 800d936: 2b00 cmp r3, #0 - 800d938: d10b bne.n 800d952 - 800d93a: f04f 0350 mov.w r3, #80 ; 0x50 - 800d93e: b672 cpsid i - 800d940: f383 8811 msr BASEPRI, r3 - 800d944: f3bf 8f6f isb sy - 800d948: f3bf 8f4f dsb sy - 800d94c: b662 cpsie i - 800d94e: 613b str r3, [r7, #16] - 800d950: e7fe b.n 800d950 + 800d4d0: 683b ldr r3, [r7, #0] + 800d4d2: 2b00 cmp r3, #0 + 800d4d4: d10b bne.n 800d4ee + 800d4d6: f04f 0350 mov.w r3, #80 ; 0x50 + 800d4da: b672 cpsid i + 800d4dc: f383 8811 msr BASEPRI, r3 + 800d4e0: f3bf 8f6f isb sy + 800d4e4: f3bf 8f4f dsb sy + 800d4e8: b662 cpsie i + 800d4ea: 613b str r3, [r7, #16] + 800d4ec: e7fe b.n 800d4ec configASSERT( uxSchedulerSuspended == 0 ); - 800d952: 4b2a ldr r3, [pc, #168] ; (800d9fc ) - 800d954: 681b ldr r3, [r3, #0] - 800d956: 2b00 cmp r3, #0 - 800d958: d00b beq.n 800d972 - 800d95a: f04f 0350 mov.w r3, #80 ; 0x50 - 800d95e: b672 cpsid i - 800d960: f383 8811 msr BASEPRI, r3 - 800d964: f3bf 8f6f isb sy - 800d968: f3bf 8f4f dsb sy - 800d96c: b662 cpsie i - 800d96e: 60fb str r3, [r7, #12] - 800d970: e7fe b.n 800d970 + 800d4ee: 4b2a ldr r3, [pc, #168] ; (800d598 ) + 800d4f0: 681b ldr r3, [r3, #0] + 800d4f2: 2b00 cmp r3, #0 + 800d4f4: d00b beq.n 800d50e + 800d4f6: f04f 0350 mov.w r3, #80 ; 0x50 + 800d4fa: b672 cpsid i + 800d4fc: f383 8811 msr BASEPRI, r3 + 800d500: f3bf 8f6f isb sy + 800d504: f3bf 8f4f dsb sy + 800d508: b662 cpsie i + 800d50a: 60fb str r3, [r7, #12] + 800d50c: e7fe b.n 800d50c vTaskSuspendAll(); - 800d972: f000 f8e1 bl 800db38 + 800d50e: f000 f8e1 bl 800d6d4 { /* Minor optimisation. The tick count cannot change in this block. */ const TickType_t xConstTickCount = xTickCount; - 800d976: 4b22 ldr r3, [pc, #136] ; (800da00 ) - 800d978: 681b ldr r3, [r3, #0] - 800d97a: 623b str r3, [r7, #32] + 800d512: 4b22 ldr r3, [pc, #136] ; (800d59c ) + 800d514: 681b ldr r3, [r3, #0] + 800d516: 623b str r3, [r7, #32] /* Generate the tick time at which the task wants to wake. */ xTimeToWake = *pxPreviousWakeTime + xTimeIncrement; - 800d97c: 687b ldr r3, [r7, #4] - 800d97e: 681b ldr r3, [r3, #0] - 800d980: 683a ldr r2, [r7, #0] - 800d982: 4413 add r3, r2 - 800d984: 61fb str r3, [r7, #28] + 800d518: 687b ldr r3, [r7, #4] + 800d51a: 681b ldr r3, [r3, #0] + 800d51c: 683a ldr r2, [r7, #0] + 800d51e: 4413 add r3, r2 + 800d520: 61fb str r3, [r7, #28] if( xConstTickCount < *pxPreviousWakeTime ) - 800d986: 687b ldr r3, [r7, #4] - 800d988: 681b ldr r3, [r3, #0] - 800d98a: 6a3a ldr r2, [r7, #32] - 800d98c: 429a cmp r2, r3 - 800d98e: d20b bcs.n 800d9a8 + 800d522: 687b ldr r3, [r7, #4] + 800d524: 681b ldr r3, [r3, #0] + 800d526: 6a3a ldr r2, [r7, #32] + 800d528: 429a cmp r2, r3 + 800d52a: d20b bcs.n 800d544 /* The tick count has overflowed since this function was lasted called. In this case the only time we should ever actually delay is if the wake time has also overflowed, and the wake time is greater than the tick time. When this is the case it is as if neither time had overflowed. */ if( ( xTimeToWake < *pxPreviousWakeTime ) && ( xTimeToWake > xConstTickCount ) ) - 800d990: 687b ldr r3, [r7, #4] - 800d992: 681b ldr r3, [r3, #0] - 800d994: 69fa ldr r2, [r7, #28] - 800d996: 429a cmp r2, r3 - 800d998: d211 bcs.n 800d9be - 800d99a: 69fa ldr r2, [r7, #28] - 800d99c: 6a3b ldr r3, [r7, #32] - 800d99e: 429a cmp r2, r3 - 800d9a0: d90d bls.n 800d9be + 800d52c: 687b ldr r3, [r7, #4] + 800d52e: 681b ldr r3, [r3, #0] + 800d530: 69fa ldr r2, [r7, #28] + 800d532: 429a cmp r2, r3 + 800d534: d211 bcs.n 800d55a + 800d536: 69fa ldr r2, [r7, #28] + 800d538: 6a3b ldr r3, [r7, #32] + 800d53a: 429a cmp r2, r3 + 800d53c: d90d bls.n 800d55a { xShouldDelay = pdTRUE; - 800d9a2: 2301 movs r3, #1 - 800d9a4: 627b str r3, [r7, #36] ; 0x24 - 800d9a6: e00a b.n 800d9be + 800d53e: 2301 movs r3, #1 + 800d540: 627b str r3, [r7, #36] ; 0x24 + 800d542: e00a b.n 800d55a else { /* The tick time has not overflowed. In this case we will delay if either the wake time has overflowed, and/or the tick time is less than the wake time. */ if( ( xTimeToWake < *pxPreviousWakeTime ) || ( xTimeToWake > xConstTickCount ) ) - 800d9a8: 687b ldr r3, [r7, #4] - 800d9aa: 681b ldr r3, [r3, #0] - 800d9ac: 69fa ldr r2, [r7, #28] - 800d9ae: 429a cmp r2, r3 - 800d9b0: d303 bcc.n 800d9ba - 800d9b2: 69fa ldr r2, [r7, #28] - 800d9b4: 6a3b ldr r3, [r7, #32] - 800d9b6: 429a cmp r2, r3 - 800d9b8: d901 bls.n 800d9be + 800d544: 687b ldr r3, [r7, #4] + 800d546: 681b ldr r3, [r3, #0] + 800d548: 69fa ldr r2, [r7, #28] + 800d54a: 429a cmp r2, r3 + 800d54c: d303 bcc.n 800d556 + 800d54e: 69fa ldr r2, [r7, #28] + 800d550: 6a3b ldr r3, [r7, #32] + 800d552: 429a cmp r2, r3 + 800d554: d901 bls.n 800d55a { xShouldDelay = pdTRUE; - 800d9ba: 2301 movs r3, #1 - 800d9bc: 627b str r3, [r7, #36] ; 0x24 + 800d556: 2301 movs r3, #1 + 800d558: 627b str r3, [r7, #36] ; 0x24 mtCOVERAGE_TEST_MARKER(); } } /* Update the wake time ready for the next call. */ *pxPreviousWakeTime = xTimeToWake; - 800d9be: 687b ldr r3, [r7, #4] - 800d9c0: 69fa ldr r2, [r7, #28] - 800d9c2: 601a str r2, [r3, #0] + 800d55a: 687b ldr r3, [r7, #4] + 800d55c: 69fa ldr r2, [r7, #28] + 800d55e: 601a str r2, [r3, #0] if( xShouldDelay != pdFALSE ) - 800d9c4: 6a7b ldr r3, [r7, #36] ; 0x24 - 800d9c6: 2b00 cmp r3, #0 - 800d9c8: d006 beq.n 800d9d8 + 800d560: 6a7b ldr r3, [r7, #36] ; 0x24 + 800d562: 2b00 cmp r3, #0 + 800d564: d006 beq.n 800d574 { traceTASK_DELAY_UNTIL( xTimeToWake ); /* prvAddCurrentTaskToDelayedList() needs the block time, not the time to wake, so subtract the current tick count. */ prvAddCurrentTaskToDelayedList( xTimeToWake - xConstTickCount, pdFALSE ); - 800d9ca: 69fa ldr r2, [r7, #28] - 800d9cc: 6a3b ldr r3, [r7, #32] - 800d9ce: 1ad3 subs r3, r2, r3 - 800d9d0: 2100 movs r1, #0 - 800d9d2: 4618 mov r0, r3 - 800d9d4: f000 fe76 bl 800e6c4 + 800d566: 69fa ldr r2, [r7, #28] + 800d568: 6a3b ldr r3, [r7, #32] + 800d56a: 1ad3 subs r3, r2, r3 + 800d56c: 2100 movs r1, #0 + 800d56e: 4618 mov r0, r3 + 800d570: f000 fe76 bl 800e260 else { mtCOVERAGE_TEST_MARKER(); } } xAlreadyYielded = xTaskResumeAll(); - 800d9d8: f000 f8bc bl 800db54 - 800d9dc: 61b8 str r0, [r7, #24] + 800d574: f000 f8bc bl 800d6f0 + 800d578: 61b8 str r0, [r7, #24] /* Force a reschedule if xTaskResumeAll has not already done so, we may have put ourselves to sleep. */ if( xAlreadyYielded == pdFALSE ) - 800d9de: 69bb ldr r3, [r7, #24] - 800d9e0: 2b00 cmp r3, #0 - 800d9e2: d107 bne.n 800d9f4 + 800d57a: 69bb ldr r3, [r7, #24] + 800d57c: 2b00 cmp r3, #0 + 800d57e: d107 bne.n 800d590 { portYIELD_WITHIN_API(); - 800d9e4: 4b07 ldr r3, [pc, #28] ; (800da04 ) - 800d9e6: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800d9ea: 601a str r2, [r3, #0] - 800d9ec: f3bf 8f4f dsb sy - 800d9f0: f3bf 8f6f isb sy + 800d580: 4b07 ldr r3, [pc, #28] ; (800d5a0 ) + 800d582: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800d586: 601a str r2, [r3, #0] + 800d588: f3bf 8f4f dsb sy + 800d58c: f3bf 8f6f isb sy } else { mtCOVERAGE_TEST_MARKER(); } } - 800d9f4: bf00 nop - 800d9f6: 3728 adds r7, #40 ; 0x28 - 800d9f8: 46bd mov sp, r7 - 800d9fa: bd80 pop {r7, pc} - 800d9fc: 200006b4 .word 0x200006b4 - 800da00: 20000690 .word 0x20000690 - 800da04: e000ed04 .word 0xe000ed04 + 800d590: bf00 nop + 800d592: 3728 adds r7, #40 ; 0x28 + 800d594: 46bd mov sp, r7 + 800d596: bd80 pop {r7, pc} + 800d598: 200006b4 .word 0x200006b4 + 800d59c: 20000690 .word 0x20000690 + 800d5a0: e000ed04 .word 0xe000ed04 -0800da08 : +0800d5a4 : /*-----------------------------------------------------------*/ #if ( INCLUDE_vTaskDelay == 1 ) void vTaskDelay( const TickType_t xTicksToDelay ) { - 800da08: b580 push {r7, lr} - 800da0a: b084 sub sp, #16 - 800da0c: af00 add r7, sp, #0 - 800da0e: 6078 str r0, [r7, #4] + 800d5a4: b580 push {r7, lr} + 800d5a6: b084 sub sp, #16 + 800d5a8: af00 add r7, sp, #0 + 800d5aa: 6078 str r0, [r7, #4] BaseType_t xAlreadyYielded = pdFALSE; - 800da10: 2300 movs r3, #0 - 800da12: 60fb str r3, [r7, #12] + 800d5ac: 2300 movs r3, #0 + 800d5ae: 60fb str r3, [r7, #12] /* A delay time of zero just forces a reschedule. */ if( xTicksToDelay > ( TickType_t ) 0U ) - 800da14: 687b ldr r3, [r7, #4] - 800da16: 2b00 cmp r3, #0 - 800da18: d018 beq.n 800da4c + 800d5b0: 687b ldr r3, [r7, #4] + 800d5b2: 2b00 cmp r3, #0 + 800d5b4: d018 beq.n 800d5e8 { configASSERT( uxSchedulerSuspended == 0 ); - 800da1a: 4b14 ldr r3, [pc, #80] ; (800da6c ) - 800da1c: 681b ldr r3, [r3, #0] - 800da1e: 2b00 cmp r3, #0 - 800da20: d00b beq.n 800da3a - 800da22: f04f 0350 mov.w r3, #80 ; 0x50 - 800da26: b672 cpsid i - 800da28: f383 8811 msr BASEPRI, r3 - 800da2c: f3bf 8f6f isb sy - 800da30: f3bf 8f4f dsb sy - 800da34: b662 cpsie i - 800da36: 60bb str r3, [r7, #8] - 800da38: e7fe b.n 800da38 + 800d5b6: 4b14 ldr r3, [pc, #80] ; (800d608 ) + 800d5b8: 681b ldr r3, [r3, #0] + 800d5ba: 2b00 cmp r3, #0 + 800d5bc: d00b beq.n 800d5d6 + 800d5be: f04f 0350 mov.w r3, #80 ; 0x50 + 800d5c2: b672 cpsid i + 800d5c4: f383 8811 msr BASEPRI, r3 + 800d5c8: f3bf 8f6f isb sy + 800d5cc: f3bf 8f4f dsb sy + 800d5d0: b662 cpsie i + 800d5d2: 60bb str r3, [r7, #8] + 800d5d4: e7fe b.n 800d5d4 vTaskSuspendAll(); - 800da3a: f000 f87d bl 800db38 + 800d5d6: f000 f87d bl 800d6d4 list or removed from the blocked list until the scheduler is resumed. This task cannot be in an event list as it is the currently executing task. */ prvAddCurrentTaskToDelayedList( xTicksToDelay, pdFALSE ); - 800da3e: 2100 movs r1, #0 - 800da40: 6878 ldr r0, [r7, #4] - 800da42: f000 fe3f bl 800e6c4 + 800d5da: 2100 movs r1, #0 + 800d5dc: 6878 ldr r0, [r7, #4] + 800d5de: f000 fe3f bl 800e260 } xAlreadyYielded = xTaskResumeAll(); - 800da46: f000 f885 bl 800db54 - 800da4a: 60f8 str r0, [r7, #12] + 800d5e2: f000 f885 bl 800d6f0 + 800d5e6: 60f8 str r0, [r7, #12] mtCOVERAGE_TEST_MARKER(); } /* Force a reschedule if xTaskResumeAll has not already done so, we may have put ourselves to sleep. */ if( xAlreadyYielded == pdFALSE ) - 800da4c: 68fb ldr r3, [r7, #12] - 800da4e: 2b00 cmp r3, #0 - 800da50: d107 bne.n 800da62 + 800d5e8: 68fb ldr r3, [r7, #12] + 800d5ea: 2b00 cmp r3, #0 + 800d5ec: d107 bne.n 800d5fe { portYIELD_WITHIN_API(); - 800da52: 4b07 ldr r3, [pc, #28] ; (800da70 ) - 800da54: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800da58: 601a str r2, [r3, #0] - 800da5a: f3bf 8f4f dsb sy - 800da5e: f3bf 8f6f isb sy + 800d5ee: 4b07 ldr r3, [pc, #28] ; (800d60c ) + 800d5f0: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800d5f4: 601a str r2, [r3, #0] + 800d5f6: f3bf 8f4f dsb sy + 800d5fa: f3bf 8f6f isb sy } else { mtCOVERAGE_TEST_MARKER(); } } - 800da62: bf00 nop - 800da64: 3710 adds r7, #16 - 800da66: 46bd mov sp, r7 - 800da68: bd80 pop {r7, pc} - 800da6a: bf00 nop - 800da6c: 200006b4 .word 0x200006b4 - 800da70: e000ed04 .word 0xe000ed04 + 800d5fe: bf00 nop + 800d600: 3710 adds r7, #16 + 800d602: 46bd mov sp, r7 + 800d604: bd80 pop {r7, pc} + 800d606: bf00 nop + 800d608: 200006b4 .word 0x200006b4 + 800d60c: e000ed04 .word 0xe000ed04 -0800da74 : +0800d610 : #endif /* ( ( INCLUDE_xTaskResumeFromISR == 1 ) && ( INCLUDE_vTaskSuspend == 1 ) ) */ /*-----------------------------------------------------------*/ void vTaskStartScheduler( void ) { - 800da74: b580 push {r7, lr} - 800da76: b08a sub sp, #40 ; 0x28 - 800da78: af04 add r7, sp, #16 + 800d610: b580 push {r7, lr} + 800d612: b08a sub sp, #40 ; 0x28 + 800d614: af04 add r7, sp, #16 BaseType_t xReturn; /* Add the idle task at the lowest priority. */ #if( configSUPPORT_STATIC_ALLOCATION == 1 ) { StaticTask_t *pxIdleTaskTCBBuffer = NULL; - 800da7a: 2300 movs r3, #0 - 800da7c: 60bb str r3, [r7, #8] + 800d616: 2300 movs r3, #0 + 800d618: 60bb str r3, [r7, #8] StackType_t *pxIdleTaskStackBuffer = NULL; - 800da7e: 2300 movs r3, #0 - 800da80: 607b str r3, [r7, #4] + 800d61a: 2300 movs r3, #0 + 800d61c: 607b str r3, [r7, #4] uint32_t ulIdleTaskStackSize; /* The Idle task is created using user provided RAM - obtain the address of the RAM then create the idle task. */ vApplicationGetIdleTaskMemory( &pxIdleTaskTCBBuffer, &pxIdleTaskStackBuffer, &ulIdleTaskStackSize ); - 800da82: 463a mov r2, r7 - 800da84: 1d39 adds r1, r7, #4 - 800da86: f107 0308 add.w r3, r7, #8 - 800da8a: 4618 mov r0, r3 - 800da8c: f7f2 fdaa bl 80005e4 + 800d61e: 463a mov r2, r7 + 800d620: 1d39 adds r1, r7, #4 + 800d622: f107 0308 add.w r3, r7, #8 + 800d626: 4618 mov r0, r3 + 800d628: f7f2 ffdc bl 80005e4 xIdleTaskHandle = xTaskCreateStatic( prvIdleTask, - 800da90: 6839 ldr r1, [r7, #0] - 800da92: 687b ldr r3, [r7, #4] - 800da94: 68ba ldr r2, [r7, #8] - 800da96: 9202 str r2, [sp, #8] - 800da98: 9301 str r3, [sp, #4] - 800da9a: 2300 movs r3, #0 - 800da9c: 9300 str r3, [sp, #0] - 800da9e: 2300 movs r3, #0 - 800daa0: 460a mov r2, r1 - 800daa2: 491f ldr r1, [pc, #124] ; (800db20 ) - 800daa4: 481f ldr r0, [pc, #124] ; (800db24 ) - 800daa6: f7ff fcfc bl 800d4a2 - 800daaa: 4602 mov r2, r0 - 800daac: 4b1e ldr r3, [pc, #120] ; (800db28 ) - 800daae: 601a str r2, [r3, #0] + 800d62c: 6839 ldr r1, [r7, #0] + 800d62e: 687b ldr r3, [r7, #4] + 800d630: 68ba ldr r2, [r7, #8] + 800d632: 9202 str r2, [sp, #8] + 800d634: 9301 str r3, [sp, #4] + 800d636: 2300 movs r3, #0 + 800d638: 9300 str r3, [sp, #0] + 800d63a: 2300 movs r3, #0 + 800d63c: 460a mov r2, r1 + 800d63e: 491f ldr r1, [pc, #124] ; (800d6bc ) + 800d640: 481f ldr r0, [pc, #124] ; (800d6c0 ) + 800d642: f7ff fcfc bl 800d03e + 800d646: 4602 mov r2, r0 + 800d648: 4b1e ldr r3, [pc, #120] ; (800d6c4 ) + 800d64a: 601a str r2, [r3, #0] ( void * ) NULL, /*lint !e961. The cast is not redundant for all compilers. */ portPRIVILEGE_BIT, /* In effect ( tskIDLE_PRIORITY | portPRIVILEGE_BIT ), but tskIDLE_PRIORITY is zero. */ pxIdleTaskStackBuffer, pxIdleTaskTCBBuffer ); /*lint !e961 MISRA exception, justified as it is not a redundant explicit cast to all supported compilers. */ if( xIdleTaskHandle != NULL ) - 800dab0: 4b1d ldr r3, [pc, #116] ; (800db28 ) - 800dab2: 681b ldr r3, [r3, #0] - 800dab4: 2b00 cmp r3, #0 - 800dab6: d002 beq.n 800dabe + 800d64c: 4b1d ldr r3, [pc, #116] ; (800d6c4 ) + 800d64e: 681b ldr r3, [r3, #0] + 800d650: 2b00 cmp r3, #0 + 800d652: d002 beq.n 800d65a { xReturn = pdPASS; - 800dab8: 2301 movs r3, #1 - 800daba: 617b str r3, [r7, #20] - 800dabc: e001 b.n 800dac2 + 800d654: 2301 movs r3, #1 + 800d656: 617b str r3, [r7, #20] + 800d658: e001 b.n 800d65e } else { xReturn = pdFAIL; - 800dabe: 2300 movs r3, #0 - 800dac0: 617b str r3, [r7, #20] + 800d65a: 2300 movs r3, #0 + 800d65c: 617b str r3, [r7, #20] mtCOVERAGE_TEST_MARKER(); } } #endif /* configUSE_TIMERS */ if( xReturn == pdPASS ) - 800dac2: 697b ldr r3, [r7, #20] - 800dac4: 2b01 cmp r3, #1 - 800dac6: d117 bne.n 800daf8 - 800dac8: f04f 0350 mov.w r3, #80 ; 0x50 - 800dacc: b672 cpsid i - 800dace: f383 8811 msr BASEPRI, r3 - 800dad2: f3bf 8f6f isb sy - 800dad6: f3bf 8f4f dsb sy - 800dada: b662 cpsie i - 800dadc: 613b str r3, [r7, #16] + 800d65e: 697b ldr r3, [r7, #20] + 800d660: 2b01 cmp r3, #1 + 800d662: d117 bne.n 800d694 + 800d664: f04f 0350 mov.w r3, #80 ; 0x50 + 800d668: b672 cpsid i + 800d66a: f383 8811 msr BASEPRI, r3 + 800d66e: f3bf 8f6f isb sy + 800d672: f3bf 8f4f dsb sy + 800d676: b662 cpsie i + 800d678: 613b str r3, [r7, #16] structure specific to the task that will run first. */ _impure_ptr = &( pxCurrentTCB->xNewLib_reent ); } #endif /* configUSE_NEWLIB_REENTRANT */ xNextTaskUnblockTime = portMAX_DELAY; - 800dade: 4b13 ldr r3, [pc, #76] ; (800db2c ) - 800dae0: f04f 32ff mov.w r2, #4294967295 - 800dae4: 601a str r2, [r3, #0] + 800d67a: 4b13 ldr r3, [pc, #76] ; (800d6c8 ) + 800d67c: f04f 32ff mov.w r2, #4294967295 + 800d680: 601a str r2, [r3, #0] xSchedulerRunning = pdTRUE; - 800dae6: 4b12 ldr r3, [pc, #72] ; (800db30 ) - 800dae8: 2201 movs r2, #1 - 800daea: 601a str r2, [r3, #0] + 800d682: 4b12 ldr r3, [pc, #72] ; (800d6cc ) + 800d684: 2201 movs r2, #1 + 800d686: 601a str r2, [r3, #0] xTickCount = ( TickType_t ) configINITIAL_TICK_COUNT; - 800daec: 4b11 ldr r3, [pc, #68] ; (800db34 ) - 800daee: 2200 movs r2, #0 - 800daf0: 601a str r2, [r3, #0] + 800d688: 4b11 ldr r3, [pc, #68] ; (800d6d0 ) + 800d68a: 2200 movs r2, #0 + 800d68c: 601a str r2, [r3, #0] traceTASK_SWITCHED_IN(); /* Setting up the timer tick is hardware specific and thus in the portable interface. */ if( xPortStartScheduler() != pdFALSE ) - 800daf2: f000 fedd bl 800e8b0 + 800d68e: f000 fed7 bl 800e440 } /* Prevent compiler warnings if INCLUDE_xTaskGetIdleTaskHandle is set to 0, meaning xIdleTaskHandle is not used anywhere else. */ ( void ) xIdleTaskHandle; } - 800daf6: e00f b.n 800db18 + 800d692: e00f b.n 800d6b4 configASSERT( xReturn != errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY ); - 800daf8: 697b ldr r3, [r7, #20] - 800dafa: f1b3 3fff cmp.w r3, #4294967295 - 800dafe: d10b bne.n 800db18 - 800db00: f04f 0350 mov.w r3, #80 ; 0x50 - 800db04: b672 cpsid i - 800db06: f383 8811 msr BASEPRI, r3 - 800db0a: f3bf 8f6f isb sy - 800db0e: f3bf 8f4f dsb sy - 800db12: b662 cpsie i - 800db14: 60fb str r3, [r7, #12] - 800db16: e7fe b.n 800db16 + 800d694: 697b ldr r3, [r7, #20] + 800d696: f1b3 3fff cmp.w r3, #4294967295 + 800d69a: d10b bne.n 800d6b4 + 800d69c: f04f 0350 mov.w r3, #80 ; 0x50 + 800d6a0: b672 cpsid i + 800d6a2: f383 8811 msr BASEPRI, r3 + 800d6a6: f3bf 8f6f isb sy + 800d6aa: f3bf 8f4f dsb sy + 800d6ae: b662 cpsie i + 800d6b0: 60fb str r3, [r7, #12] + 800d6b2: e7fe b.n 800d6b2 } - 800db18: bf00 nop - 800db1a: 3718 adds r7, #24 - 800db1c: 46bd mov sp, r7 - 800db1e: bd80 pop {r7, pc} - 800db20: 0801c7d0 .word 0x0801c7d0 - 800db24: 0800e16d .word 0x0800e16d - 800db28: 200006b0 .word 0x200006b0 - 800db2c: 200006ac .word 0x200006ac - 800db30: 20000698 .word 0x20000698 - 800db34: 20000690 .word 0x20000690 + 800d6b4: bf00 nop + 800d6b6: 3718 adds r7, #24 + 800d6b8: 46bd mov sp, r7 + 800d6ba: bd80 pop {r7, pc} + 800d6bc: 0801bfcc .word 0x0801bfcc + 800d6c0: 0800dd09 .word 0x0800dd09 + 800d6c4: 200006b0 .word 0x200006b0 + 800d6c8: 200006ac .word 0x200006ac + 800d6cc: 20000698 .word 0x20000698 + 800d6d0: 20000690 .word 0x20000690 -0800db38 : +0800d6d4 : vPortEndScheduler(); } /*----------------------------------------------------------*/ void vTaskSuspendAll( void ) { - 800db38: b480 push {r7} - 800db3a: af00 add r7, sp, #0 + 800d6d4: b480 push {r7} + 800d6d6: af00 add r7, sp, #0 /* A critical section is not required as the variable is of type BaseType_t. Please read Richard Barry's reply in the following link to a post in the FreeRTOS support forum before reporting this as a bug! - http://goo.gl/wu4acr */ ++uxSchedulerSuspended; - 800db3c: 4b04 ldr r3, [pc, #16] ; (800db50 ) - 800db3e: 681b ldr r3, [r3, #0] - 800db40: 3301 adds r3, #1 - 800db42: 4a03 ldr r2, [pc, #12] ; (800db50 ) - 800db44: 6013 str r3, [r2, #0] + 800d6d8: 4b04 ldr r3, [pc, #16] ; (800d6ec ) + 800d6da: 681b ldr r3, [r3, #0] + 800d6dc: 3301 adds r3, #1 + 800d6de: 4a03 ldr r2, [pc, #12] ; (800d6ec ) + 800d6e0: 6013 str r3, [r2, #0] portMEMORY_BARRIER(); } - 800db46: bf00 nop - 800db48: 46bd mov sp, r7 - 800db4a: f85d 7b04 ldr.w r7, [sp], #4 - 800db4e: 4770 bx lr - 800db50: 200006b4 .word 0x200006b4 + 800d6e2: bf00 nop + 800d6e4: 46bd mov sp, r7 + 800d6e6: f85d 7b04 ldr.w r7, [sp], #4 + 800d6ea: 4770 bx lr + 800d6ec: 200006b4 .word 0x200006b4 -0800db54 : +0800d6f0 : #endif /* configUSE_TICKLESS_IDLE */ /*----------------------------------------------------------*/ BaseType_t xTaskResumeAll( void ) { - 800db54: b580 push {r7, lr} - 800db56: b084 sub sp, #16 - 800db58: af00 add r7, sp, #0 + 800d6f0: b580 push {r7, lr} + 800d6f2: b084 sub sp, #16 + 800d6f4: af00 add r7, sp, #0 TCB_t *pxTCB = NULL; - 800db5a: 2300 movs r3, #0 - 800db5c: 60fb str r3, [r7, #12] + 800d6f6: 2300 movs r3, #0 + 800d6f8: 60fb str r3, [r7, #12] BaseType_t xAlreadyYielded = pdFALSE; - 800db5e: 2300 movs r3, #0 - 800db60: 60bb str r3, [r7, #8] + 800d6fa: 2300 movs r3, #0 + 800d6fc: 60bb str r3, [r7, #8] /* If uxSchedulerSuspended is zero then this function does not match a previous call to vTaskSuspendAll(). */ configASSERT( uxSchedulerSuspended ); - 800db62: 4b42 ldr r3, [pc, #264] ; (800dc6c ) - 800db64: 681b ldr r3, [r3, #0] - 800db66: 2b00 cmp r3, #0 - 800db68: d10b bne.n 800db82 - 800db6a: f04f 0350 mov.w r3, #80 ; 0x50 - 800db6e: b672 cpsid i - 800db70: f383 8811 msr BASEPRI, r3 - 800db74: f3bf 8f6f isb sy - 800db78: f3bf 8f4f dsb sy - 800db7c: b662 cpsie i - 800db7e: 603b str r3, [r7, #0] - 800db80: e7fe b.n 800db80 + 800d6fe: 4b42 ldr r3, [pc, #264] ; (800d808 ) + 800d700: 681b ldr r3, [r3, #0] + 800d702: 2b00 cmp r3, #0 + 800d704: d10b bne.n 800d71e + 800d706: f04f 0350 mov.w r3, #80 ; 0x50 + 800d70a: b672 cpsid i + 800d70c: f383 8811 msr BASEPRI, r3 + 800d710: f3bf 8f6f isb sy + 800d714: f3bf 8f4f dsb sy + 800d718: b662 cpsie i + 800d71a: 603b str r3, [r7, #0] + 800d71c: e7fe b.n 800d71c /* It is possible that an ISR caused a task to be removed from an event list while the scheduler was suspended. If this was the case then the removed task will have been added to the xPendingReadyList. Once the scheduler has been resumed it is safe to move all the pending ready tasks from this list into their appropriate ready list. */ taskENTER_CRITICAL(); - 800db82: f000 ff11 bl 800e9a8 + 800d71e: f000 ff0b bl 800e538 { --uxSchedulerSuspended; - 800db86: 4b39 ldr r3, [pc, #228] ; (800dc6c ) - 800db88: 681b ldr r3, [r3, #0] - 800db8a: 3b01 subs r3, #1 - 800db8c: 4a37 ldr r2, [pc, #220] ; (800dc6c ) - 800db8e: 6013 str r3, [r2, #0] + 800d722: 4b39 ldr r3, [pc, #228] ; (800d808 ) + 800d724: 681b ldr r3, [r3, #0] + 800d726: 3b01 subs r3, #1 + 800d728: 4a37 ldr r2, [pc, #220] ; (800d808 ) + 800d72a: 6013 str r3, [r2, #0] if( uxSchedulerSuspended == ( UBaseType_t ) pdFALSE ) - 800db90: 4b36 ldr r3, [pc, #216] ; (800dc6c ) - 800db92: 681b ldr r3, [r3, #0] - 800db94: 2b00 cmp r3, #0 - 800db96: d161 bne.n 800dc5c + 800d72c: 4b36 ldr r3, [pc, #216] ; (800d808 ) + 800d72e: 681b ldr r3, [r3, #0] + 800d730: 2b00 cmp r3, #0 + 800d732: d161 bne.n 800d7f8 { if( uxCurrentNumberOfTasks > ( UBaseType_t ) 0U ) - 800db98: 4b35 ldr r3, [pc, #212] ; (800dc70 ) - 800db9a: 681b ldr r3, [r3, #0] - 800db9c: 2b00 cmp r3, #0 - 800db9e: d05d beq.n 800dc5c + 800d734: 4b35 ldr r3, [pc, #212] ; (800d80c ) + 800d736: 681b ldr r3, [r3, #0] + 800d738: 2b00 cmp r3, #0 + 800d73a: d05d beq.n 800d7f8 { /* Move any readied tasks from the pending list into the appropriate ready list. */ while( listLIST_IS_EMPTY( &xPendingReadyList ) == pdFALSE ) - 800dba0: e02e b.n 800dc00 + 800d73c: e02e b.n 800d79c { pxTCB = listGET_OWNER_OF_HEAD_ENTRY( ( &xPendingReadyList ) ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */ - 800dba2: 4b34 ldr r3, [pc, #208] ; (800dc74 ) - 800dba4: 68db ldr r3, [r3, #12] - 800dba6: 68db ldr r3, [r3, #12] - 800dba8: 60fb str r3, [r7, #12] + 800d73e: 4b34 ldr r3, [pc, #208] ; (800d810 ) + 800d740: 68db ldr r3, [r3, #12] + 800d742: 68db ldr r3, [r3, #12] + 800d744: 60fb str r3, [r7, #12] ( void ) uxListRemove( &( pxTCB->xEventListItem ) ); - 800dbaa: 68fb ldr r3, [r7, #12] - 800dbac: 3318 adds r3, #24 - 800dbae: 4618 mov r0, r3 - 800dbb0: f7fe fc7e bl 800c4b0 + 800d746: 68fb ldr r3, [r7, #12] + 800d748: 3318 adds r3, #24 + 800d74a: 4618 mov r0, r3 + 800d74c: f7fe fc7e bl 800c04c ( void ) uxListRemove( &( pxTCB->xStateListItem ) ); - 800dbb4: 68fb ldr r3, [r7, #12] - 800dbb6: 3304 adds r3, #4 - 800dbb8: 4618 mov r0, r3 - 800dbba: f7fe fc79 bl 800c4b0 + 800d750: 68fb ldr r3, [r7, #12] + 800d752: 3304 adds r3, #4 + 800d754: 4618 mov r0, r3 + 800d756: f7fe fc79 bl 800c04c prvAddTaskToReadyList( pxTCB ); - 800dbbe: 68fb ldr r3, [r7, #12] - 800dbc0: 6adb ldr r3, [r3, #44] ; 0x2c - 800dbc2: 2201 movs r2, #1 - 800dbc4: 409a lsls r2, r3 - 800dbc6: 4b2c ldr r3, [pc, #176] ; (800dc78 ) - 800dbc8: 681b ldr r3, [r3, #0] - 800dbca: 4313 orrs r3, r2 - 800dbcc: 4a2a ldr r2, [pc, #168] ; (800dc78 ) - 800dbce: 6013 str r3, [r2, #0] - 800dbd0: 68fb ldr r3, [r7, #12] - 800dbd2: 6ada ldr r2, [r3, #44] ; 0x2c - 800dbd4: 4613 mov r3, r2 - 800dbd6: 009b lsls r3, r3, #2 - 800dbd8: 4413 add r3, r2 - 800dbda: 009b lsls r3, r3, #2 - 800dbdc: 4a27 ldr r2, [pc, #156] ; (800dc7c ) - 800dbde: 441a add r2, r3 - 800dbe0: 68fb ldr r3, [r7, #12] - 800dbe2: 3304 adds r3, #4 - 800dbe4: 4619 mov r1, r3 - 800dbe6: 4610 mov r0, r2 - 800dbe8: f7fe fc05 bl 800c3f6 + 800d75a: 68fb ldr r3, [r7, #12] + 800d75c: 6adb ldr r3, [r3, #44] ; 0x2c + 800d75e: 2201 movs r2, #1 + 800d760: 409a lsls r2, r3 + 800d762: 4b2c ldr r3, [pc, #176] ; (800d814 ) + 800d764: 681b ldr r3, [r3, #0] + 800d766: 4313 orrs r3, r2 + 800d768: 4a2a ldr r2, [pc, #168] ; (800d814 ) + 800d76a: 6013 str r3, [r2, #0] + 800d76c: 68fb ldr r3, [r7, #12] + 800d76e: 6ada ldr r2, [r3, #44] ; 0x2c + 800d770: 4613 mov r3, r2 + 800d772: 009b lsls r3, r3, #2 + 800d774: 4413 add r3, r2 + 800d776: 009b lsls r3, r3, #2 + 800d778: 4a27 ldr r2, [pc, #156] ; (800d818 ) + 800d77a: 441a add r2, r3 + 800d77c: 68fb ldr r3, [r7, #12] + 800d77e: 3304 adds r3, #4 + 800d780: 4619 mov r1, r3 + 800d782: 4610 mov r0, r2 + 800d784: f7fe fc05 bl 800bf92 /* If the moved task has a priority higher than the current task then a yield must be performed. */ if( pxTCB->uxPriority >= pxCurrentTCB->uxPriority ) - 800dbec: 68fb ldr r3, [r7, #12] - 800dbee: 6ada ldr r2, [r3, #44] ; 0x2c - 800dbf0: 4b23 ldr r3, [pc, #140] ; (800dc80 ) - 800dbf2: 681b ldr r3, [r3, #0] - 800dbf4: 6adb ldr r3, [r3, #44] ; 0x2c - 800dbf6: 429a cmp r2, r3 - 800dbf8: d302 bcc.n 800dc00 + 800d788: 68fb ldr r3, [r7, #12] + 800d78a: 6ada ldr r2, [r3, #44] ; 0x2c + 800d78c: 4b23 ldr r3, [pc, #140] ; (800d81c ) + 800d78e: 681b ldr r3, [r3, #0] + 800d790: 6adb ldr r3, [r3, #44] ; 0x2c + 800d792: 429a cmp r2, r3 + 800d794: d302 bcc.n 800d79c { xYieldPending = pdTRUE; - 800dbfa: 4b22 ldr r3, [pc, #136] ; (800dc84 ) - 800dbfc: 2201 movs r2, #1 - 800dbfe: 601a str r2, [r3, #0] + 800d796: 4b22 ldr r3, [pc, #136] ; (800d820 ) + 800d798: 2201 movs r2, #1 + 800d79a: 601a str r2, [r3, #0] while( listLIST_IS_EMPTY( &xPendingReadyList ) == pdFALSE ) - 800dc00: 4b1c ldr r3, [pc, #112] ; (800dc74 ) - 800dc02: 681b ldr r3, [r3, #0] - 800dc04: 2b00 cmp r3, #0 - 800dc06: d1cc bne.n 800dba2 + 800d79c: 4b1c ldr r3, [pc, #112] ; (800d810 ) + 800d79e: 681b ldr r3, [r3, #0] + 800d7a0: 2b00 cmp r3, #0 + 800d7a2: d1cc bne.n 800d73e { mtCOVERAGE_TEST_MARKER(); } } if( pxTCB != NULL ) - 800dc08: 68fb ldr r3, [r7, #12] - 800dc0a: 2b00 cmp r3, #0 - 800dc0c: d001 beq.n 800dc12 + 800d7a4: 68fb ldr r3, [r7, #12] + 800d7a6: 2b00 cmp r3, #0 + 800d7a8: d001 beq.n 800d7ae which may have prevented the next unblock time from being re-calculated, in which case re-calculate it now. Mainly important for low power tickless implementations, where this can prevent an unnecessary exit from low power state. */ prvResetNextTaskUnblockTime(); - 800dc0e: f000 fb63 bl 800e2d8 + 800d7aa: f000 fb63 bl 800de74 /* If any ticks occurred while the scheduler was suspended then they should be processed now. This ensures the tick count does not slip, and that any delayed tasks are resumed at the correct time. */ { UBaseType_t uxPendedCounts = uxPendedTicks; /* Non-volatile copy. */ - 800dc12: 4b1d ldr r3, [pc, #116] ; (800dc88 ) - 800dc14: 681b ldr r3, [r3, #0] - 800dc16: 607b str r3, [r7, #4] + 800d7ae: 4b1d ldr r3, [pc, #116] ; (800d824 ) + 800d7b0: 681b ldr r3, [r3, #0] + 800d7b2: 607b str r3, [r7, #4] if( uxPendedCounts > ( UBaseType_t ) 0U ) - 800dc18: 687b ldr r3, [r7, #4] - 800dc1a: 2b00 cmp r3, #0 - 800dc1c: d010 beq.n 800dc40 + 800d7b4: 687b ldr r3, [r7, #4] + 800d7b6: 2b00 cmp r3, #0 + 800d7b8: d010 beq.n 800d7dc { do { if( xTaskIncrementTick() != pdFALSE ) - 800dc1e: f000 f859 bl 800dcd4 - 800dc22: 4603 mov r3, r0 - 800dc24: 2b00 cmp r3, #0 - 800dc26: d002 beq.n 800dc2e + 800d7ba: f000 f859 bl 800d870 + 800d7be: 4603 mov r3, r0 + 800d7c0: 2b00 cmp r3, #0 + 800d7c2: d002 beq.n 800d7ca { xYieldPending = pdTRUE; - 800dc28: 4b16 ldr r3, [pc, #88] ; (800dc84 ) - 800dc2a: 2201 movs r2, #1 - 800dc2c: 601a str r2, [r3, #0] + 800d7c4: 4b16 ldr r3, [pc, #88] ; (800d820 ) + 800d7c6: 2201 movs r2, #1 + 800d7c8: 601a str r2, [r3, #0] } else { mtCOVERAGE_TEST_MARKER(); } --uxPendedCounts; - 800dc2e: 687b ldr r3, [r7, #4] - 800dc30: 3b01 subs r3, #1 - 800dc32: 607b str r3, [r7, #4] + 800d7ca: 687b ldr r3, [r7, #4] + 800d7cc: 3b01 subs r3, #1 + 800d7ce: 607b str r3, [r7, #4] } while( uxPendedCounts > ( UBaseType_t ) 0U ); - 800dc34: 687b ldr r3, [r7, #4] - 800dc36: 2b00 cmp r3, #0 - 800dc38: d1f1 bne.n 800dc1e + 800d7d0: 687b ldr r3, [r7, #4] + 800d7d2: 2b00 cmp r3, #0 + 800d7d4: d1f1 bne.n 800d7ba uxPendedTicks = 0; - 800dc3a: 4b13 ldr r3, [pc, #76] ; (800dc88 ) - 800dc3c: 2200 movs r2, #0 - 800dc3e: 601a str r2, [r3, #0] + 800d7d6: 4b13 ldr r3, [pc, #76] ; (800d824 ) + 800d7d8: 2200 movs r2, #0 + 800d7da: 601a str r2, [r3, #0] { mtCOVERAGE_TEST_MARKER(); } } if( xYieldPending != pdFALSE ) - 800dc40: 4b10 ldr r3, [pc, #64] ; (800dc84 ) - 800dc42: 681b ldr r3, [r3, #0] - 800dc44: 2b00 cmp r3, #0 - 800dc46: d009 beq.n 800dc5c + 800d7dc: 4b10 ldr r3, [pc, #64] ; (800d820 ) + 800d7de: 681b ldr r3, [r3, #0] + 800d7e0: 2b00 cmp r3, #0 + 800d7e2: d009 beq.n 800d7f8 { #if( configUSE_PREEMPTION != 0 ) { xAlreadyYielded = pdTRUE; - 800dc48: 2301 movs r3, #1 - 800dc4a: 60bb str r3, [r7, #8] + 800d7e4: 2301 movs r3, #1 + 800d7e6: 60bb str r3, [r7, #8] } #endif taskYIELD_IF_USING_PREEMPTION(); - 800dc4c: 4b0f ldr r3, [pc, #60] ; (800dc8c ) - 800dc4e: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800dc52: 601a str r2, [r3, #0] - 800dc54: f3bf 8f4f dsb sy - 800dc58: f3bf 8f6f isb sy + 800d7e8: 4b0f ldr r3, [pc, #60] ; (800d828 ) + 800d7ea: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800d7ee: 601a str r2, [r3, #0] + 800d7f0: f3bf 8f4f dsb sy + 800d7f4: f3bf 8f6f isb sy else { mtCOVERAGE_TEST_MARKER(); } } taskEXIT_CRITICAL(); - 800dc5c: f000 fed6 bl 800ea0c + 800d7f8: f000 fed0 bl 800e59c return xAlreadyYielded; - 800dc60: 68bb ldr r3, [r7, #8] + 800d7fc: 68bb ldr r3, [r7, #8] } - 800dc62: 4618 mov r0, r3 - 800dc64: 3710 adds r7, #16 - 800dc66: 46bd mov sp, r7 - 800dc68: bd80 pop {r7, pc} - 800dc6a: bf00 nop - 800dc6c: 200006b4 .word 0x200006b4 - 800dc70: 2000068c .word 0x2000068c - 800dc74: 2000064c .word 0x2000064c - 800dc78: 20000694 .word 0x20000694 - 800dc7c: 20000590 .word 0x20000590 - 800dc80: 2000058c .word 0x2000058c - 800dc84: 200006a0 .word 0x200006a0 - 800dc88: 2000069c .word 0x2000069c - 800dc8c: e000ed04 .word 0xe000ed04 + 800d7fe: 4618 mov r0, r3 + 800d800: 3710 adds r7, #16 + 800d802: 46bd mov sp, r7 + 800d804: bd80 pop {r7, pc} + 800d806: bf00 nop + 800d808: 200006b4 .word 0x200006b4 + 800d80c: 2000068c .word 0x2000068c + 800d810: 2000064c .word 0x2000064c + 800d814: 20000694 .word 0x20000694 + 800d818: 20000590 .word 0x20000590 + 800d81c: 2000058c .word 0x2000058c + 800d820: 200006a0 .word 0x200006a0 + 800d824: 2000069c .word 0x2000069c + 800d828: e000ed04 .word 0xe000ed04 -0800dc90 : +0800d82c : /*-----------------------------------------------------------*/ TickType_t xTaskGetTickCount( void ) { - 800dc90: b480 push {r7} - 800dc92: b083 sub sp, #12 - 800dc94: af00 add r7, sp, #0 + 800d82c: b480 push {r7} + 800d82e: b083 sub sp, #12 + 800d830: af00 add r7, sp, #0 TickType_t xTicks; /* Critical section required if running on a 16 bit processor. */ portTICK_TYPE_ENTER_CRITICAL(); { xTicks = xTickCount; - 800dc96: 4b05 ldr r3, [pc, #20] ; (800dcac ) - 800dc98: 681b ldr r3, [r3, #0] - 800dc9a: 607b str r3, [r7, #4] + 800d832: 4b05 ldr r3, [pc, #20] ; (800d848 ) + 800d834: 681b ldr r3, [r3, #0] + 800d836: 607b str r3, [r7, #4] } portTICK_TYPE_EXIT_CRITICAL(); return xTicks; - 800dc9c: 687b ldr r3, [r7, #4] + 800d838: 687b ldr r3, [r7, #4] } - 800dc9e: 4618 mov r0, r3 - 800dca0: 370c adds r7, #12 - 800dca2: 46bd mov sp, r7 - 800dca4: f85d 7b04 ldr.w r7, [sp], #4 - 800dca8: 4770 bx lr - 800dcaa: bf00 nop - 800dcac: 20000690 .word 0x20000690 + 800d83a: 4618 mov r0, r3 + 800d83c: 370c adds r7, #12 + 800d83e: 46bd mov sp, r7 + 800d840: f85d 7b04 ldr.w r7, [sp], #4 + 800d844: 4770 bx lr + 800d846: bf00 nop + 800d848: 20000690 .word 0x20000690 -0800dcb0 : +0800d84c : /*-----------------------------------------------------------*/ TickType_t xTaskGetTickCountFromISR( void ) { - 800dcb0: b580 push {r7, lr} - 800dcb2: b082 sub sp, #8 - 800dcb4: af00 add r7, sp, #0 + 800d84c: b580 push {r7, lr} + 800d84e: b082 sub sp, #8 + 800d850: af00 add r7, sp, #0 that have been assigned a priority at or (logically) below the maximum system call interrupt priority. FreeRTOS maintains a separate interrupt safe API to ensure interrupt entry is as fast and as simple as possible. More information (albeit Cortex-M specific) is provided on the following link: https://www.freertos.org/RTOS-Cortex-M3-M4.html */ portASSERT_IF_INTERRUPT_PRIORITY_INVALID(); - 800dcb6: f000 ff57 bl 800eb68 + 800d852: f000 ff51 bl 800e6f8 uxSavedInterruptStatus = portTICK_TYPE_SET_INTERRUPT_MASK_FROM_ISR(); - 800dcba: 2300 movs r3, #0 - 800dcbc: 607b str r3, [r7, #4] + 800d856: 2300 movs r3, #0 + 800d858: 607b str r3, [r7, #4] { xReturn = xTickCount; - 800dcbe: 4b04 ldr r3, [pc, #16] ; (800dcd0 ) - 800dcc0: 681b ldr r3, [r3, #0] - 800dcc2: 603b str r3, [r7, #0] + 800d85a: 4b04 ldr r3, [pc, #16] ; (800d86c ) + 800d85c: 681b ldr r3, [r3, #0] + 800d85e: 603b str r3, [r7, #0] } portTICK_TYPE_CLEAR_INTERRUPT_MASK_FROM_ISR( uxSavedInterruptStatus ); return xReturn; - 800dcc4: 683b ldr r3, [r7, #0] + 800d860: 683b ldr r3, [r7, #0] } - 800dcc6: 4618 mov r0, r3 - 800dcc8: 3708 adds r7, #8 - 800dcca: 46bd mov sp, r7 - 800dccc: bd80 pop {r7, pc} - 800dcce: bf00 nop - 800dcd0: 20000690 .word 0x20000690 + 800d862: 4618 mov r0, r3 + 800d864: 3708 adds r7, #8 + 800d866: 46bd mov sp, r7 + 800d868: bd80 pop {r7, pc} + 800d86a: bf00 nop + 800d86c: 20000690 .word 0x20000690 -0800dcd4 : +0800d870 : #endif /* INCLUDE_xTaskAbortDelay */ /*----------------------------------------------------------*/ BaseType_t xTaskIncrementTick( void ) { - 800dcd4: b580 push {r7, lr} - 800dcd6: b086 sub sp, #24 - 800dcd8: af00 add r7, sp, #0 + 800d870: b580 push {r7, lr} + 800d872: b086 sub sp, #24 + 800d874: af00 add r7, sp, #0 TCB_t * pxTCB; TickType_t xItemValue; BaseType_t xSwitchRequired = pdFALSE; - 800dcda: 2300 movs r3, #0 - 800dcdc: 617b str r3, [r7, #20] + 800d876: 2300 movs r3, #0 + 800d878: 617b str r3, [r7, #20] /* Called by the portable layer each time a tick interrupt occurs. Increments the tick then checks to see if the new tick value will cause any tasks to be unblocked. */ traceTASK_INCREMENT_TICK( xTickCount ); if( uxSchedulerSuspended == ( UBaseType_t ) pdFALSE ) - 800dcde: 4b4f ldr r3, [pc, #316] ; (800de1c ) - 800dce0: 681b ldr r3, [r3, #0] - 800dce2: 2b00 cmp r3, #0 - 800dce4: f040 8089 bne.w 800ddfa + 800d87a: 4b4f ldr r3, [pc, #316] ; (800d9b8 ) + 800d87c: 681b ldr r3, [r3, #0] + 800d87e: 2b00 cmp r3, #0 + 800d880: f040 8089 bne.w 800d996 { /* Minor optimisation. The tick count cannot change in this block. */ const TickType_t xConstTickCount = xTickCount + ( TickType_t ) 1; - 800dce8: 4b4d ldr r3, [pc, #308] ; (800de20 ) - 800dcea: 681b ldr r3, [r3, #0] - 800dcec: 3301 adds r3, #1 - 800dcee: 613b str r3, [r7, #16] + 800d884: 4b4d ldr r3, [pc, #308] ; (800d9bc ) + 800d886: 681b ldr r3, [r3, #0] + 800d888: 3301 adds r3, #1 + 800d88a: 613b str r3, [r7, #16] /* Increment the RTOS tick, switching the delayed and overflowed delayed lists if it wraps to 0. */ xTickCount = xConstTickCount; - 800dcf0: 4a4b ldr r2, [pc, #300] ; (800de20 ) - 800dcf2: 693b ldr r3, [r7, #16] - 800dcf4: 6013 str r3, [r2, #0] + 800d88c: 4a4b ldr r2, [pc, #300] ; (800d9bc ) + 800d88e: 693b ldr r3, [r7, #16] + 800d890: 6013 str r3, [r2, #0] if( xConstTickCount == ( TickType_t ) 0U ) /*lint !e774 'if' does not always evaluate to false as it is looking for an overflow. */ - 800dcf6: 693b ldr r3, [r7, #16] - 800dcf8: 2b00 cmp r3, #0 - 800dcfa: d121 bne.n 800dd40 + 800d892: 693b ldr r3, [r7, #16] + 800d894: 2b00 cmp r3, #0 + 800d896: d121 bne.n 800d8dc { taskSWITCH_DELAYED_LISTS(); - 800dcfc: 4b49 ldr r3, [pc, #292] ; (800de24 ) - 800dcfe: 681b ldr r3, [r3, #0] - 800dd00: 681b ldr r3, [r3, #0] - 800dd02: 2b00 cmp r3, #0 - 800dd04: d00b beq.n 800dd1e - 800dd06: f04f 0350 mov.w r3, #80 ; 0x50 - 800dd0a: b672 cpsid i - 800dd0c: f383 8811 msr BASEPRI, r3 - 800dd10: f3bf 8f6f isb sy - 800dd14: f3bf 8f4f dsb sy - 800dd18: b662 cpsie i - 800dd1a: 603b str r3, [r7, #0] - 800dd1c: e7fe b.n 800dd1c - 800dd1e: 4b41 ldr r3, [pc, #260] ; (800de24 ) - 800dd20: 681b ldr r3, [r3, #0] - 800dd22: 60fb str r3, [r7, #12] - 800dd24: 4b40 ldr r3, [pc, #256] ; (800de28 ) - 800dd26: 681b ldr r3, [r3, #0] - 800dd28: 4a3e ldr r2, [pc, #248] ; (800de24 ) - 800dd2a: 6013 str r3, [r2, #0] - 800dd2c: 4a3e ldr r2, [pc, #248] ; (800de28 ) - 800dd2e: 68fb ldr r3, [r7, #12] - 800dd30: 6013 str r3, [r2, #0] - 800dd32: 4b3e ldr r3, [pc, #248] ; (800de2c ) - 800dd34: 681b ldr r3, [r3, #0] - 800dd36: 3301 adds r3, #1 - 800dd38: 4a3c ldr r2, [pc, #240] ; (800de2c ) - 800dd3a: 6013 str r3, [r2, #0] - 800dd3c: f000 facc bl 800e2d8 + 800d898: 4b49 ldr r3, [pc, #292] ; (800d9c0 ) + 800d89a: 681b ldr r3, [r3, #0] + 800d89c: 681b ldr r3, [r3, #0] + 800d89e: 2b00 cmp r3, #0 + 800d8a0: d00b beq.n 800d8ba + 800d8a2: f04f 0350 mov.w r3, #80 ; 0x50 + 800d8a6: b672 cpsid i + 800d8a8: f383 8811 msr BASEPRI, r3 + 800d8ac: f3bf 8f6f isb sy + 800d8b0: f3bf 8f4f dsb sy + 800d8b4: b662 cpsie i + 800d8b6: 603b str r3, [r7, #0] + 800d8b8: e7fe b.n 800d8b8 + 800d8ba: 4b41 ldr r3, [pc, #260] ; (800d9c0 ) + 800d8bc: 681b ldr r3, [r3, #0] + 800d8be: 60fb str r3, [r7, #12] + 800d8c0: 4b40 ldr r3, [pc, #256] ; (800d9c4 ) + 800d8c2: 681b ldr r3, [r3, #0] + 800d8c4: 4a3e ldr r2, [pc, #248] ; (800d9c0 ) + 800d8c6: 6013 str r3, [r2, #0] + 800d8c8: 4a3e ldr r2, [pc, #248] ; (800d9c4 ) + 800d8ca: 68fb ldr r3, [r7, #12] + 800d8cc: 6013 str r3, [r2, #0] + 800d8ce: 4b3e ldr r3, [pc, #248] ; (800d9c8 ) + 800d8d0: 681b ldr r3, [r3, #0] + 800d8d2: 3301 adds r3, #1 + 800d8d4: 4a3c ldr r2, [pc, #240] ; (800d9c8 ) + 800d8d6: 6013 str r3, [r2, #0] + 800d8d8: f000 facc bl 800de74 /* See if this tick has made a timeout expire. Tasks are stored in the queue in the order of their wake time - meaning once one task has been found whose block time has not expired there is no need to look any further down the list. */ if( xConstTickCount >= xNextTaskUnblockTime ) - 800dd40: 4b3b ldr r3, [pc, #236] ; (800de30 ) - 800dd42: 681b ldr r3, [r3, #0] - 800dd44: 693a ldr r2, [r7, #16] - 800dd46: 429a cmp r2, r3 - 800dd48: d348 bcc.n 800dddc + 800d8dc: 4b3b ldr r3, [pc, #236] ; (800d9cc ) + 800d8de: 681b ldr r3, [r3, #0] + 800d8e0: 693a ldr r2, [r7, #16] + 800d8e2: 429a cmp r2, r3 + 800d8e4: d348 bcc.n 800d978 { for( ;; ) { if( listLIST_IS_EMPTY( pxDelayedTaskList ) != pdFALSE ) - 800dd4a: 4b36 ldr r3, [pc, #216] ; (800de24 ) - 800dd4c: 681b ldr r3, [r3, #0] - 800dd4e: 681b ldr r3, [r3, #0] - 800dd50: 2b00 cmp r3, #0 - 800dd52: d104 bne.n 800dd5e + 800d8e6: 4b36 ldr r3, [pc, #216] ; (800d9c0 ) + 800d8e8: 681b ldr r3, [r3, #0] + 800d8ea: 681b ldr r3, [r3, #0] + 800d8ec: 2b00 cmp r3, #0 + 800d8ee: d104 bne.n 800d8fa /* The delayed list is empty. Set xNextTaskUnblockTime to the maximum possible value so it is extremely unlikely that the if( xTickCount >= xNextTaskUnblockTime ) test will pass next time through. */ xNextTaskUnblockTime = portMAX_DELAY; /*lint !e961 MISRA exception as the casts are only redundant for some ports. */ - 800dd54: 4b36 ldr r3, [pc, #216] ; (800de30 ) - 800dd56: f04f 32ff mov.w r2, #4294967295 - 800dd5a: 601a str r2, [r3, #0] + 800d8f0: 4b36 ldr r3, [pc, #216] ; (800d9cc ) + 800d8f2: f04f 32ff mov.w r2, #4294967295 + 800d8f6: 601a str r2, [r3, #0] break; - 800dd5c: e03e b.n 800dddc + 800d8f8: e03e b.n 800d978 { /* The delayed list is not empty, get the value of the item at the head of the delayed list. This is the time at which the task at the head of the delayed list must be removed from the Blocked state. */ pxTCB = listGET_OWNER_OF_HEAD_ENTRY( pxDelayedTaskList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */ - 800dd5e: 4b31 ldr r3, [pc, #196] ; (800de24 ) - 800dd60: 681b ldr r3, [r3, #0] - 800dd62: 68db ldr r3, [r3, #12] - 800dd64: 68db ldr r3, [r3, #12] - 800dd66: 60bb str r3, [r7, #8] + 800d8fa: 4b31 ldr r3, [pc, #196] ; (800d9c0 ) + 800d8fc: 681b ldr r3, [r3, #0] + 800d8fe: 68db ldr r3, [r3, #12] + 800d900: 68db ldr r3, [r3, #12] + 800d902: 60bb str r3, [r7, #8] xItemValue = listGET_LIST_ITEM_VALUE( &( pxTCB->xStateListItem ) ); - 800dd68: 68bb ldr r3, [r7, #8] - 800dd6a: 685b ldr r3, [r3, #4] - 800dd6c: 607b str r3, [r7, #4] + 800d904: 68bb ldr r3, [r7, #8] + 800d906: 685b ldr r3, [r3, #4] + 800d908: 607b str r3, [r7, #4] if( xConstTickCount < xItemValue ) - 800dd6e: 693a ldr r2, [r7, #16] - 800dd70: 687b ldr r3, [r7, #4] - 800dd72: 429a cmp r2, r3 - 800dd74: d203 bcs.n 800dd7e + 800d90a: 693a ldr r2, [r7, #16] + 800d90c: 687b ldr r3, [r7, #4] + 800d90e: 429a cmp r2, r3 + 800d910: d203 bcs.n 800d91a /* It is not time to unblock this item yet, but the item value is the time at which the task at the head of the blocked list must be removed from the Blocked state - so record the item value in xNextTaskUnblockTime. */ xNextTaskUnblockTime = xItemValue; - 800dd76: 4a2e ldr r2, [pc, #184] ; (800de30 ) - 800dd78: 687b ldr r3, [r7, #4] - 800dd7a: 6013 str r3, [r2, #0] + 800d912: 4a2e ldr r2, [pc, #184] ; (800d9cc ) + 800d914: 687b ldr r3, [r7, #4] + 800d916: 6013 str r3, [r2, #0] break; /*lint !e9011 Code structure here is deedmed easier to understand with multiple breaks. */ - 800dd7c: e02e b.n 800dddc + 800d918: e02e b.n 800d978 { mtCOVERAGE_TEST_MARKER(); } /* It is time to remove the item from the Blocked state. */ ( void ) uxListRemove( &( pxTCB->xStateListItem ) ); - 800dd7e: 68bb ldr r3, [r7, #8] - 800dd80: 3304 adds r3, #4 - 800dd82: 4618 mov r0, r3 - 800dd84: f7fe fb94 bl 800c4b0 + 800d91a: 68bb ldr r3, [r7, #8] + 800d91c: 3304 adds r3, #4 + 800d91e: 4618 mov r0, r3 + 800d920: f7fe fb94 bl 800c04c /* Is the task waiting on an event also? If so remove it from the event list. */ if( listLIST_ITEM_CONTAINER( &( pxTCB->xEventListItem ) ) != NULL ) - 800dd88: 68bb ldr r3, [r7, #8] - 800dd8a: 6a9b ldr r3, [r3, #40] ; 0x28 - 800dd8c: 2b00 cmp r3, #0 - 800dd8e: d004 beq.n 800dd9a + 800d924: 68bb ldr r3, [r7, #8] + 800d926: 6a9b ldr r3, [r3, #40] ; 0x28 + 800d928: 2b00 cmp r3, #0 + 800d92a: d004 beq.n 800d936 { ( void ) uxListRemove( &( pxTCB->xEventListItem ) ); - 800dd90: 68bb ldr r3, [r7, #8] - 800dd92: 3318 adds r3, #24 - 800dd94: 4618 mov r0, r3 - 800dd96: f7fe fb8b bl 800c4b0 + 800d92c: 68bb ldr r3, [r7, #8] + 800d92e: 3318 adds r3, #24 + 800d930: 4618 mov r0, r3 + 800d932: f7fe fb8b bl 800c04c mtCOVERAGE_TEST_MARKER(); } /* Place the unblocked task into the appropriate ready list. */ prvAddTaskToReadyList( pxTCB ); - 800dd9a: 68bb ldr r3, [r7, #8] - 800dd9c: 6adb ldr r3, [r3, #44] ; 0x2c - 800dd9e: 2201 movs r2, #1 - 800dda0: 409a lsls r2, r3 - 800dda2: 4b24 ldr r3, [pc, #144] ; (800de34 ) - 800dda4: 681b ldr r3, [r3, #0] - 800dda6: 4313 orrs r3, r2 - 800dda8: 4a22 ldr r2, [pc, #136] ; (800de34 ) - 800ddaa: 6013 str r3, [r2, #0] - 800ddac: 68bb ldr r3, [r7, #8] - 800ddae: 6ada ldr r2, [r3, #44] ; 0x2c - 800ddb0: 4613 mov r3, r2 - 800ddb2: 009b lsls r3, r3, #2 - 800ddb4: 4413 add r3, r2 - 800ddb6: 009b lsls r3, r3, #2 - 800ddb8: 4a1f ldr r2, [pc, #124] ; (800de38 ) - 800ddba: 441a add r2, r3 - 800ddbc: 68bb ldr r3, [r7, #8] - 800ddbe: 3304 adds r3, #4 - 800ddc0: 4619 mov r1, r3 - 800ddc2: 4610 mov r0, r2 - 800ddc4: f7fe fb17 bl 800c3f6 + 800d936: 68bb ldr r3, [r7, #8] + 800d938: 6adb ldr r3, [r3, #44] ; 0x2c + 800d93a: 2201 movs r2, #1 + 800d93c: 409a lsls r2, r3 + 800d93e: 4b24 ldr r3, [pc, #144] ; (800d9d0 ) + 800d940: 681b ldr r3, [r3, #0] + 800d942: 4313 orrs r3, r2 + 800d944: 4a22 ldr r2, [pc, #136] ; (800d9d0 ) + 800d946: 6013 str r3, [r2, #0] + 800d948: 68bb ldr r3, [r7, #8] + 800d94a: 6ada ldr r2, [r3, #44] ; 0x2c + 800d94c: 4613 mov r3, r2 + 800d94e: 009b lsls r3, r3, #2 + 800d950: 4413 add r3, r2 + 800d952: 009b lsls r3, r3, #2 + 800d954: 4a1f ldr r2, [pc, #124] ; (800d9d4 ) + 800d956: 441a add r2, r3 + 800d958: 68bb ldr r3, [r7, #8] + 800d95a: 3304 adds r3, #4 + 800d95c: 4619 mov r1, r3 + 800d95e: 4610 mov r0, r2 + 800d960: f7fe fb17 bl 800bf92 { /* Preemption is on, but a context switch should only be performed if the unblocked task has a priority that is equal to or higher than the currently executing task. */ if( pxTCB->uxPriority >= pxCurrentTCB->uxPriority ) - 800ddc8: 68bb ldr r3, [r7, #8] - 800ddca: 6ada ldr r2, [r3, #44] ; 0x2c - 800ddcc: 4b1b ldr r3, [pc, #108] ; (800de3c ) - 800ddce: 681b ldr r3, [r3, #0] - 800ddd0: 6adb ldr r3, [r3, #44] ; 0x2c - 800ddd2: 429a cmp r2, r3 - 800ddd4: d3b9 bcc.n 800dd4a + 800d964: 68bb ldr r3, [r7, #8] + 800d966: 6ada ldr r2, [r3, #44] ; 0x2c + 800d968: 4b1b ldr r3, [pc, #108] ; (800d9d8 ) + 800d96a: 681b ldr r3, [r3, #0] + 800d96c: 6adb ldr r3, [r3, #44] ; 0x2c + 800d96e: 429a cmp r2, r3 + 800d970: d3b9 bcc.n 800d8e6 { xSwitchRequired = pdTRUE; - 800ddd6: 2301 movs r3, #1 - 800ddd8: 617b str r3, [r7, #20] + 800d972: 2301 movs r3, #1 + 800d974: 617b str r3, [r7, #20] if( listLIST_IS_EMPTY( pxDelayedTaskList ) != pdFALSE ) - 800ddda: e7b6 b.n 800dd4a + 800d976: e7b6 b.n 800d8e6 /* Tasks of equal priority to the currently running task will share processing time (time slice) if preemption is on, and the application writer has not explicitly turned time slicing off. */ #if ( ( configUSE_PREEMPTION == 1 ) && ( configUSE_TIME_SLICING == 1 ) ) { if( listCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ pxCurrentTCB->uxPriority ] ) ) > ( UBaseType_t ) 1 ) - 800dddc: 4b17 ldr r3, [pc, #92] ; (800de3c ) - 800ddde: 681b ldr r3, [r3, #0] - 800dde0: 6ada ldr r2, [r3, #44] ; 0x2c - 800dde2: 4915 ldr r1, [pc, #84] ; (800de38 ) - 800dde4: 4613 mov r3, r2 - 800dde6: 009b lsls r3, r3, #2 - 800dde8: 4413 add r3, r2 - 800ddea: 009b lsls r3, r3, #2 - 800ddec: 440b add r3, r1 - 800ddee: 681b ldr r3, [r3, #0] - 800ddf0: 2b01 cmp r3, #1 - 800ddf2: d907 bls.n 800de04 + 800d978: 4b17 ldr r3, [pc, #92] ; (800d9d8 ) + 800d97a: 681b ldr r3, [r3, #0] + 800d97c: 6ada ldr r2, [r3, #44] ; 0x2c + 800d97e: 4915 ldr r1, [pc, #84] ; (800d9d4 ) + 800d980: 4613 mov r3, r2 + 800d982: 009b lsls r3, r3, #2 + 800d984: 4413 add r3, r2 + 800d986: 009b lsls r3, r3, #2 + 800d988: 440b add r3, r1 + 800d98a: 681b ldr r3, [r3, #0] + 800d98c: 2b01 cmp r3, #1 + 800d98e: d907 bls.n 800d9a0 { xSwitchRequired = pdTRUE; - 800ddf4: 2301 movs r3, #1 - 800ddf6: 617b str r3, [r7, #20] - 800ddf8: e004 b.n 800de04 + 800d990: 2301 movs r3, #1 + 800d992: 617b str r3, [r7, #20] + 800d994: e004 b.n 800d9a0 } #endif /* configUSE_TICK_HOOK */ } else { ++uxPendedTicks; - 800ddfa: 4b11 ldr r3, [pc, #68] ; (800de40 ) - 800ddfc: 681b ldr r3, [r3, #0] - 800ddfe: 3301 adds r3, #1 - 800de00: 4a0f ldr r2, [pc, #60] ; (800de40 ) - 800de02: 6013 str r3, [r2, #0] + 800d996: 4b11 ldr r3, [pc, #68] ; (800d9dc ) + 800d998: 681b ldr r3, [r3, #0] + 800d99a: 3301 adds r3, #1 + 800d99c: 4a0f ldr r2, [pc, #60] ; (800d9dc ) + 800d99e: 6013 str r3, [r2, #0] #endif } #if ( configUSE_PREEMPTION == 1 ) { if( xYieldPending != pdFALSE ) - 800de04: 4b0f ldr r3, [pc, #60] ; (800de44 ) - 800de06: 681b ldr r3, [r3, #0] - 800de08: 2b00 cmp r3, #0 - 800de0a: d001 beq.n 800de10 + 800d9a0: 4b0f ldr r3, [pc, #60] ; (800d9e0 ) + 800d9a2: 681b ldr r3, [r3, #0] + 800d9a4: 2b00 cmp r3, #0 + 800d9a6: d001 beq.n 800d9ac { xSwitchRequired = pdTRUE; - 800de0c: 2301 movs r3, #1 - 800de0e: 617b str r3, [r7, #20] + 800d9a8: 2301 movs r3, #1 + 800d9aa: 617b str r3, [r7, #20] mtCOVERAGE_TEST_MARKER(); } } #endif /* configUSE_PREEMPTION */ return xSwitchRequired; - 800de10: 697b ldr r3, [r7, #20] + 800d9ac: 697b ldr r3, [r7, #20] } - 800de12: 4618 mov r0, r3 - 800de14: 3718 adds r7, #24 - 800de16: 46bd mov sp, r7 - 800de18: bd80 pop {r7, pc} - 800de1a: bf00 nop - 800de1c: 200006b4 .word 0x200006b4 - 800de20: 20000690 .word 0x20000690 - 800de24: 20000644 .word 0x20000644 - 800de28: 20000648 .word 0x20000648 - 800de2c: 200006a4 .word 0x200006a4 - 800de30: 200006ac .word 0x200006ac - 800de34: 20000694 .word 0x20000694 - 800de38: 20000590 .word 0x20000590 - 800de3c: 2000058c .word 0x2000058c - 800de40: 2000069c .word 0x2000069c - 800de44: 200006a0 .word 0x200006a0 + 800d9ae: 4618 mov r0, r3 + 800d9b0: 3718 adds r7, #24 + 800d9b2: 46bd mov sp, r7 + 800d9b4: bd80 pop {r7, pc} + 800d9b6: bf00 nop + 800d9b8: 200006b4 .word 0x200006b4 + 800d9bc: 20000690 .word 0x20000690 + 800d9c0: 20000644 .word 0x20000644 + 800d9c4: 20000648 .word 0x20000648 + 800d9c8: 200006a4 .word 0x200006a4 + 800d9cc: 200006ac .word 0x200006ac + 800d9d0: 20000694 .word 0x20000694 + 800d9d4: 20000590 .word 0x20000590 + 800d9d8: 2000058c .word 0x2000058c + 800d9dc: 2000069c .word 0x2000069c + 800d9e0: 200006a0 .word 0x200006a0 -0800de48 : +0800d9e4 : #endif /* configUSE_APPLICATION_TASK_TAG */ /*-----------------------------------------------------------*/ void vTaskSwitchContext( void ) { - 800de48: b580 push {r7, lr} - 800de4a: b088 sub sp, #32 - 800de4c: af00 add r7, sp, #0 + 800d9e4: b580 push {r7, lr} + 800d9e6: b088 sub sp, #32 + 800d9e8: af00 add r7, sp, #0 if( uxSchedulerSuspended != ( UBaseType_t ) pdFALSE ) - 800de4e: 4b3a ldr r3, [pc, #232] ; (800df38 ) - 800de50: 681b ldr r3, [r3, #0] - 800de52: 2b00 cmp r3, #0 - 800de54: d003 beq.n 800de5e + 800d9ea: 4b3a ldr r3, [pc, #232] ; (800dad4 ) + 800d9ec: 681b ldr r3, [r3, #0] + 800d9ee: 2b00 cmp r3, #0 + 800d9f0: d003 beq.n 800d9fa { /* The scheduler is currently suspended - do not allow a context switch. */ xYieldPending = pdTRUE; - 800de56: 4b39 ldr r3, [pc, #228] ; (800df3c ) - 800de58: 2201 movs r2, #1 - 800de5a: 601a str r2, [r3, #0] + 800d9f2: 4b39 ldr r3, [pc, #228] ; (800dad8 ) + 800d9f4: 2201 movs r2, #1 + 800d9f6: 601a str r2, [r3, #0] structure specific to this task. */ _impure_ptr = &( pxCurrentTCB->xNewLib_reent ); } #endif /* configUSE_NEWLIB_REENTRANT */ } } - 800de5c: e067 b.n 800df2e + 800d9f8: e067 b.n 800daca xYieldPending = pdFALSE; - 800de5e: 4b37 ldr r3, [pc, #220] ; (800df3c ) - 800de60: 2200 movs r2, #0 - 800de62: 601a str r2, [r3, #0] + 800d9fa: 4b37 ldr r3, [pc, #220] ; (800dad8 ) + 800d9fc: 2200 movs r2, #0 + 800d9fe: 601a str r2, [r3, #0] taskCHECK_FOR_STACK_OVERFLOW(); - 800de64: 4b36 ldr r3, [pc, #216] ; (800df40 ) - 800de66: 681b ldr r3, [r3, #0] - 800de68: 6b1b ldr r3, [r3, #48] ; 0x30 - 800de6a: 61fb str r3, [r7, #28] - 800de6c: f04f 33a5 mov.w r3, #2779096485 ; 0xa5a5a5a5 - 800de70: 61bb str r3, [r7, #24] - 800de72: 69fb ldr r3, [r7, #28] - 800de74: 681b ldr r3, [r3, #0] - 800de76: 69ba ldr r2, [r7, #24] - 800de78: 429a cmp r2, r3 - 800de7a: d111 bne.n 800dea0 - 800de7c: 69fb ldr r3, [r7, #28] - 800de7e: 3304 adds r3, #4 - 800de80: 681b ldr r3, [r3, #0] - 800de82: 69ba ldr r2, [r7, #24] - 800de84: 429a cmp r2, r3 - 800de86: d10b bne.n 800dea0 - 800de88: 69fb ldr r3, [r7, #28] - 800de8a: 3308 adds r3, #8 - 800de8c: 681b ldr r3, [r3, #0] - 800de8e: 69ba ldr r2, [r7, #24] - 800de90: 429a cmp r2, r3 - 800de92: d105 bne.n 800dea0 - 800de94: 69fb ldr r3, [r7, #28] - 800de96: 330c adds r3, #12 - 800de98: 681b ldr r3, [r3, #0] - 800de9a: 69ba ldr r2, [r7, #24] - 800de9c: 429a cmp r2, r3 - 800de9e: d008 beq.n 800deb2 - 800dea0: 4b27 ldr r3, [pc, #156] ; (800df40 ) - 800dea2: 681a ldr r2, [r3, #0] - 800dea4: 4b26 ldr r3, [pc, #152] ; (800df40 ) - 800dea6: 681b ldr r3, [r3, #0] - 800dea8: 3334 adds r3, #52 ; 0x34 - 800deaa: 4619 mov r1, r3 - 800deac: 4610 mov r0, r2 - 800deae: f7f2 fb86 bl 80005be + 800da00: 4b36 ldr r3, [pc, #216] ; (800dadc ) + 800da02: 681b ldr r3, [r3, #0] + 800da04: 6b1b ldr r3, [r3, #48] ; 0x30 + 800da06: 61fb str r3, [r7, #28] + 800da08: f04f 33a5 mov.w r3, #2779096485 ; 0xa5a5a5a5 + 800da0c: 61bb str r3, [r7, #24] + 800da0e: 69fb ldr r3, [r7, #28] + 800da10: 681b ldr r3, [r3, #0] + 800da12: 69ba ldr r2, [r7, #24] + 800da14: 429a cmp r2, r3 + 800da16: d111 bne.n 800da3c + 800da18: 69fb ldr r3, [r7, #28] + 800da1a: 3304 adds r3, #4 + 800da1c: 681b ldr r3, [r3, #0] + 800da1e: 69ba ldr r2, [r7, #24] + 800da20: 429a cmp r2, r3 + 800da22: d10b bne.n 800da3c + 800da24: 69fb ldr r3, [r7, #28] + 800da26: 3308 adds r3, #8 + 800da28: 681b ldr r3, [r3, #0] + 800da2a: 69ba ldr r2, [r7, #24] + 800da2c: 429a cmp r2, r3 + 800da2e: d105 bne.n 800da3c + 800da30: 69fb ldr r3, [r7, #28] + 800da32: 330c adds r3, #12 + 800da34: 681b ldr r3, [r3, #0] + 800da36: 69ba ldr r2, [r7, #24] + 800da38: 429a cmp r2, r3 + 800da3a: d008 beq.n 800da4e + 800da3c: 4b27 ldr r3, [pc, #156] ; (800dadc ) + 800da3e: 681a ldr r2, [r3, #0] + 800da40: 4b26 ldr r3, [pc, #152] ; (800dadc ) + 800da42: 681b ldr r3, [r3, #0] + 800da44: 3334 adds r3, #52 ; 0x34 + 800da46: 4619 mov r1, r3 + 800da48: 4610 mov r0, r2 + 800da4a: f7f2 fdb8 bl 80005be taskSELECT_HIGHEST_PRIORITY_TASK(); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */ - 800deb2: 4b24 ldr r3, [pc, #144] ; (800df44 ) - 800deb4: 681b ldr r3, [r3, #0] - 800deb6: 60fb str r3, [r7, #12] + 800da4e: 4b24 ldr r3, [pc, #144] ; (800dae0 ) + 800da50: 681b ldr r3, [r3, #0] + 800da52: 60fb str r3, [r7, #12] __asm volatile ( "clz %0, %1" : "=r" ( ucReturn ) : "r" ( ulBitmap ) : "memory" ); - 800deb8: 68fb ldr r3, [r7, #12] - 800deba: fab3 f383 clz r3, r3 - 800debe: 72fb strb r3, [r7, #11] + 800da54: 68fb ldr r3, [r7, #12] + 800da56: fab3 f383 clz r3, r3 + 800da5a: 72fb strb r3, [r7, #11] return ucReturn; - 800dec0: 7afb ldrb r3, [r7, #11] - 800dec2: f1c3 031f rsb r3, r3, #31 - 800dec6: 617b str r3, [r7, #20] - 800dec8: 491f ldr r1, [pc, #124] ; (800df48 ) - 800deca: 697a ldr r2, [r7, #20] - 800decc: 4613 mov r3, r2 - 800dece: 009b lsls r3, r3, #2 - 800ded0: 4413 add r3, r2 - 800ded2: 009b lsls r3, r3, #2 - 800ded4: 440b add r3, r1 - 800ded6: 681b ldr r3, [r3, #0] - 800ded8: 2b00 cmp r3, #0 - 800deda: d10b bne.n 800def4 + 800da5c: 7afb ldrb r3, [r7, #11] + 800da5e: f1c3 031f rsb r3, r3, #31 + 800da62: 617b str r3, [r7, #20] + 800da64: 491f ldr r1, [pc, #124] ; (800dae4 ) + 800da66: 697a ldr r2, [r7, #20] + 800da68: 4613 mov r3, r2 + 800da6a: 009b lsls r3, r3, #2 + 800da6c: 4413 add r3, r2 + 800da6e: 009b lsls r3, r3, #2 + 800da70: 440b add r3, r1 + 800da72: 681b ldr r3, [r3, #0] + 800da74: 2b00 cmp r3, #0 + 800da76: d10b bne.n 800da90 __asm volatile - 800dedc: f04f 0350 mov.w r3, #80 ; 0x50 - 800dee0: b672 cpsid i - 800dee2: f383 8811 msr BASEPRI, r3 - 800dee6: f3bf 8f6f isb sy - 800deea: f3bf 8f4f dsb sy - 800deee: b662 cpsie i - 800def0: 607b str r3, [r7, #4] - 800def2: e7fe b.n 800def2 - 800def4: 697a ldr r2, [r7, #20] - 800def6: 4613 mov r3, r2 - 800def8: 009b lsls r3, r3, #2 - 800defa: 4413 add r3, r2 - 800defc: 009b lsls r3, r3, #2 - 800defe: 4a12 ldr r2, [pc, #72] ; (800df48 ) - 800df00: 4413 add r3, r2 - 800df02: 613b str r3, [r7, #16] - 800df04: 693b ldr r3, [r7, #16] - 800df06: 685b ldr r3, [r3, #4] - 800df08: 685a ldr r2, [r3, #4] - 800df0a: 693b ldr r3, [r7, #16] - 800df0c: 605a str r2, [r3, #4] - 800df0e: 693b ldr r3, [r7, #16] - 800df10: 685a ldr r2, [r3, #4] - 800df12: 693b ldr r3, [r7, #16] - 800df14: 3308 adds r3, #8 - 800df16: 429a cmp r2, r3 - 800df18: d104 bne.n 800df24 - 800df1a: 693b ldr r3, [r7, #16] - 800df1c: 685b ldr r3, [r3, #4] - 800df1e: 685a ldr r2, [r3, #4] - 800df20: 693b ldr r3, [r7, #16] - 800df22: 605a str r2, [r3, #4] - 800df24: 693b ldr r3, [r7, #16] - 800df26: 685b ldr r3, [r3, #4] - 800df28: 68db ldr r3, [r3, #12] - 800df2a: 4a05 ldr r2, [pc, #20] ; (800df40 ) - 800df2c: 6013 str r3, [r2, #0] + 800da78: f04f 0350 mov.w r3, #80 ; 0x50 + 800da7c: b672 cpsid i + 800da7e: f383 8811 msr BASEPRI, r3 + 800da82: f3bf 8f6f isb sy + 800da86: f3bf 8f4f dsb sy + 800da8a: b662 cpsie i + 800da8c: 607b str r3, [r7, #4] + 800da8e: e7fe b.n 800da8e + 800da90: 697a ldr r2, [r7, #20] + 800da92: 4613 mov r3, r2 + 800da94: 009b lsls r3, r3, #2 + 800da96: 4413 add r3, r2 + 800da98: 009b lsls r3, r3, #2 + 800da9a: 4a12 ldr r2, [pc, #72] ; (800dae4 ) + 800da9c: 4413 add r3, r2 + 800da9e: 613b str r3, [r7, #16] + 800daa0: 693b ldr r3, [r7, #16] + 800daa2: 685b ldr r3, [r3, #4] + 800daa4: 685a ldr r2, [r3, #4] + 800daa6: 693b ldr r3, [r7, #16] + 800daa8: 605a str r2, [r3, #4] + 800daaa: 693b ldr r3, [r7, #16] + 800daac: 685a ldr r2, [r3, #4] + 800daae: 693b ldr r3, [r7, #16] + 800dab0: 3308 adds r3, #8 + 800dab2: 429a cmp r2, r3 + 800dab4: d104 bne.n 800dac0 + 800dab6: 693b ldr r3, [r7, #16] + 800dab8: 685b ldr r3, [r3, #4] + 800daba: 685a ldr r2, [r3, #4] + 800dabc: 693b ldr r3, [r7, #16] + 800dabe: 605a str r2, [r3, #4] + 800dac0: 693b ldr r3, [r7, #16] + 800dac2: 685b ldr r3, [r3, #4] + 800dac4: 68db ldr r3, [r3, #12] + 800dac6: 4a05 ldr r2, [pc, #20] ; (800dadc ) + 800dac8: 6013 str r3, [r2, #0] } - 800df2e: bf00 nop - 800df30: 3720 adds r7, #32 - 800df32: 46bd mov sp, r7 - 800df34: bd80 pop {r7, pc} - 800df36: bf00 nop - 800df38: 200006b4 .word 0x200006b4 - 800df3c: 200006a0 .word 0x200006a0 - 800df40: 2000058c .word 0x2000058c - 800df44: 20000694 .word 0x20000694 - 800df48: 20000590 .word 0x20000590 + 800daca: bf00 nop + 800dacc: 3720 adds r7, #32 + 800dace: 46bd mov sp, r7 + 800dad0: bd80 pop {r7, pc} + 800dad2: bf00 nop + 800dad4: 200006b4 .word 0x200006b4 + 800dad8: 200006a0 .word 0x200006a0 + 800dadc: 2000058c .word 0x2000058c + 800dae0: 20000694 .word 0x20000694 + 800dae4: 20000590 .word 0x20000590 -0800df4c : +0800dae8 : /*-----------------------------------------------------------*/ void vTaskPlaceOnEventList( List_t * const pxEventList, const TickType_t xTicksToWait ) { - 800df4c: b580 push {r7, lr} - 800df4e: b084 sub sp, #16 - 800df50: af00 add r7, sp, #0 - 800df52: 6078 str r0, [r7, #4] - 800df54: 6039 str r1, [r7, #0] + 800dae8: b580 push {r7, lr} + 800daea: b084 sub sp, #16 + 800daec: af00 add r7, sp, #0 + 800daee: 6078 str r0, [r7, #4] + 800daf0: 6039 str r1, [r7, #0] configASSERT( pxEventList ); - 800df56: 687b ldr r3, [r7, #4] - 800df58: 2b00 cmp r3, #0 - 800df5a: d10b bne.n 800df74 - 800df5c: f04f 0350 mov.w r3, #80 ; 0x50 - 800df60: b672 cpsid i - 800df62: f383 8811 msr BASEPRI, r3 - 800df66: f3bf 8f6f isb sy - 800df6a: f3bf 8f4f dsb sy - 800df6e: b662 cpsie i - 800df70: 60fb str r3, [r7, #12] - 800df72: e7fe b.n 800df72 + 800daf2: 687b ldr r3, [r7, #4] + 800daf4: 2b00 cmp r3, #0 + 800daf6: d10b bne.n 800db10 + 800daf8: f04f 0350 mov.w r3, #80 ; 0x50 + 800dafc: b672 cpsid i + 800dafe: f383 8811 msr BASEPRI, r3 + 800db02: f3bf 8f6f isb sy + 800db06: f3bf 8f4f dsb sy + 800db0a: b662 cpsie i + 800db0c: 60fb str r3, [r7, #12] + 800db0e: e7fe b.n 800db0e /* Place the event list item of the TCB in the appropriate event list. This is placed in the list in priority order so the highest priority task is the first to be woken by the event. The queue that contains the event list is locked, preventing simultaneous access from interrupts. */ vListInsert( pxEventList, &( pxCurrentTCB->xEventListItem ) ); - 800df74: 4b07 ldr r3, [pc, #28] ; (800df94 ) - 800df76: 681b ldr r3, [r3, #0] - 800df78: 3318 adds r3, #24 - 800df7a: 4619 mov r1, r3 - 800df7c: 6878 ldr r0, [r7, #4] - 800df7e: f7fe fa5e bl 800c43e + 800db10: 4b07 ldr r3, [pc, #28] ; (800db30 ) + 800db12: 681b ldr r3, [r3, #0] + 800db14: 3318 adds r3, #24 + 800db16: 4619 mov r1, r3 + 800db18: 6878 ldr r0, [r7, #4] + 800db1a: f7fe fa5e bl 800bfda prvAddCurrentTaskToDelayedList( xTicksToWait, pdTRUE ); - 800df82: 2101 movs r1, #1 - 800df84: 6838 ldr r0, [r7, #0] - 800df86: f000 fb9d bl 800e6c4 + 800db1e: 2101 movs r1, #1 + 800db20: 6838 ldr r0, [r7, #0] + 800db22: f000 fb9d bl 800e260 } - 800df8a: bf00 nop - 800df8c: 3710 adds r7, #16 - 800df8e: 46bd mov sp, r7 - 800df90: bd80 pop {r7, pc} - 800df92: bf00 nop - 800df94: 2000058c .word 0x2000058c + 800db26: bf00 nop + 800db28: 3710 adds r7, #16 + 800db2a: 46bd mov sp, r7 + 800db2c: bd80 pop {r7, pc} + 800db2e: bf00 nop + 800db30: 2000058c .word 0x2000058c -0800df98 : +0800db34 : #endif /* configUSE_TIMERS */ /*-----------------------------------------------------------*/ BaseType_t xTaskRemoveFromEventList( const List_t * const pxEventList ) { - 800df98: b580 push {r7, lr} - 800df9a: b086 sub sp, #24 - 800df9c: af00 add r7, sp, #0 - 800df9e: 6078 str r0, [r7, #4] + 800db34: b580 push {r7, lr} + 800db36: b086 sub sp, #24 + 800db38: af00 add r7, sp, #0 + 800db3a: 6078 str r0, [r7, #4] get called - the lock count on the queue will get modified instead. This means exclusive access to the event list is guaranteed here. This function assumes that a check has already been made to ensure that pxEventList is not empty. */ pxUnblockedTCB = listGET_OWNER_OF_HEAD_ENTRY( pxEventList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */ - 800dfa0: 687b ldr r3, [r7, #4] - 800dfa2: 68db ldr r3, [r3, #12] - 800dfa4: 68db ldr r3, [r3, #12] - 800dfa6: 613b str r3, [r7, #16] + 800db3c: 687b ldr r3, [r7, #4] + 800db3e: 68db ldr r3, [r3, #12] + 800db40: 68db ldr r3, [r3, #12] + 800db42: 613b str r3, [r7, #16] configASSERT( pxUnblockedTCB ); - 800dfa8: 693b ldr r3, [r7, #16] - 800dfaa: 2b00 cmp r3, #0 - 800dfac: d10b bne.n 800dfc6 - 800dfae: f04f 0350 mov.w r3, #80 ; 0x50 - 800dfb2: b672 cpsid i - 800dfb4: f383 8811 msr BASEPRI, r3 - 800dfb8: f3bf 8f6f isb sy - 800dfbc: f3bf 8f4f dsb sy - 800dfc0: b662 cpsie i - 800dfc2: 60fb str r3, [r7, #12] - 800dfc4: e7fe b.n 800dfc4 + 800db44: 693b ldr r3, [r7, #16] + 800db46: 2b00 cmp r3, #0 + 800db48: d10b bne.n 800db62 + 800db4a: f04f 0350 mov.w r3, #80 ; 0x50 + 800db4e: b672 cpsid i + 800db50: f383 8811 msr BASEPRI, r3 + 800db54: f3bf 8f6f isb sy + 800db58: f3bf 8f4f dsb sy + 800db5c: b662 cpsie i + 800db5e: 60fb str r3, [r7, #12] + 800db60: e7fe b.n 800db60 ( void ) uxListRemove( &( pxUnblockedTCB->xEventListItem ) ); - 800dfc6: 693b ldr r3, [r7, #16] - 800dfc8: 3318 adds r3, #24 - 800dfca: 4618 mov r0, r3 - 800dfcc: f7fe fa70 bl 800c4b0 + 800db62: 693b ldr r3, [r7, #16] + 800db64: 3318 adds r3, #24 + 800db66: 4618 mov r0, r3 + 800db68: f7fe fa70 bl 800c04c if( uxSchedulerSuspended == ( UBaseType_t ) pdFALSE ) - 800dfd0: 4b1d ldr r3, [pc, #116] ; (800e048 ) - 800dfd2: 681b ldr r3, [r3, #0] - 800dfd4: 2b00 cmp r3, #0 - 800dfd6: d11c bne.n 800e012 + 800db6c: 4b1d ldr r3, [pc, #116] ; (800dbe4 ) + 800db6e: 681b ldr r3, [r3, #0] + 800db70: 2b00 cmp r3, #0 + 800db72: d11c bne.n 800dbae { ( void ) uxListRemove( &( pxUnblockedTCB->xStateListItem ) ); - 800dfd8: 693b ldr r3, [r7, #16] - 800dfda: 3304 adds r3, #4 - 800dfdc: 4618 mov r0, r3 - 800dfde: f7fe fa67 bl 800c4b0 + 800db74: 693b ldr r3, [r7, #16] + 800db76: 3304 adds r3, #4 + 800db78: 4618 mov r0, r3 + 800db7a: f7fe fa67 bl 800c04c prvAddTaskToReadyList( pxUnblockedTCB ); - 800dfe2: 693b ldr r3, [r7, #16] - 800dfe4: 6adb ldr r3, [r3, #44] ; 0x2c - 800dfe6: 2201 movs r2, #1 - 800dfe8: 409a lsls r2, r3 - 800dfea: 4b18 ldr r3, [pc, #96] ; (800e04c ) - 800dfec: 681b ldr r3, [r3, #0] - 800dfee: 4313 orrs r3, r2 - 800dff0: 4a16 ldr r2, [pc, #88] ; (800e04c ) - 800dff2: 6013 str r3, [r2, #0] - 800dff4: 693b ldr r3, [r7, #16] - 800dff6: 6ada ldr r2, [r3, #44] ; 0x2c - 800dff8: 4613 mov r3, r2 - 800dffa: 009b lsls r3, r3, #2 - 800dffc: 4413 add r3, r2 - 800dffe: 009b lsls r3, r3, #2 - 800e000: 4a13 ldr r2, [pc, #76] ; (800e050 ) - 800e002: 441a add r2, r3 - 800e004: 693b ldr r3, [r7, #16] - 800e006: 3304 adds r3, #4 - 800e008: 4619 mov r1, r3 - 800e00a: 4610 mov r0, r2 - 800e00c: f7fe f9f3 bl 800c3f6 - 800e010: e005 b.n 800e01e + 800db7e: 693b ldr r3, [r7, #16] + 800db80: 6adb ldr r3, [r3, #44] ; 0x2c + 800db82: 2201 movs r2, #1 + 800db84: 409a lsls r2, r3 + 800db86: 4b18 ldr r3, [pc, #96] ; (800dbe8 ) + 800db88: 681b ldr r3, [r3, #0] + 800db8a: 4313 orrs r3, r2 + 800db8c: 4a16 ldr r2, [pc, #88] ; (800dbe8 ) + 800db8e: 6013 str r3, [r2, #0] + 800db90: 693b ldr r3, [r7, #16] + 800db92: 6ada ldr r2, [r3, #44] ; 0x2c + 800db94: 4613 mov r3, r2 + 800db96: 009b lsls r3, r3, #2 + 800db98: 4413 add r3, r2 + 800db9a: 009b lsls r3, r3, #2 + 800db9c: 4a13 ldr r2, [pc, #76] ; (800dbec ) + 800db9e: 441a add r2, r3 + 800dba0: 693b ldr r3, [r7, #16] + 800dba2: 3304 adds r3, #4 + 800dba4: 4619 mov r1, r3 + 800dba6: 4610 mov r0, r2 + 800dba8: f7fe f9f3 bl 800bf92 + 800dbac: e005 b.n 800dbba } else { /* The delayed and ready lists cannot be accessed, so hold this task pending until the scheduler is resumed. */ vListInsertEnd( &( xPendingReadyList ), &( pxUnblockedTCB->xEventListItem ) ); - 800e012: 693b ldr r3, [r7, #16] - 800e014: 3318 adds r3, #24 - 800e016: 4619 mov r1, r3 - 800e018: 480e ldr r0, [pc, #56] ; (800e054 ) - 800e01a: f7fe f9ec bl 800c3f6 + 800dbae: 693b ldr r3, [r7, #16] + 800dbb0: 3318 adds r3, #24 + 800dbb2: 4619 mov r1, r3 + 800dbb4: 480e ldr r0, [pc, #56] ; (800dbf0 ) + 800dbb6: f7fe f9ec bl 800bf92 } if( pxUnblockedTCB->uxPriority > pxCurrentTCB->uxPriority ) - 800e01e: 693b ldr r3, [r7, #16] - 800e020: 6ada ldr r2, [r3, #44] ; 0x2c - 800e022: 4b0d ldr r3, [pc, #52] ; (800e058 ) - 800e024: 681b ldr r3, [r3, #0] - 800e026: 6adb ldr r3, [r3, #44] ; 0x2c - 800e028: 429a cmp r2, r3 - 800e02a: d905 bls.n 800e038 + 800dbba: 693b ldr r3, [r7, #16] + 800dbbc: 6ada ldr r2, [r3, #44] ; 0x2c + 800dbbe: 4b0d ldr r3, [pc, #52] ; (800dbf4 ) + 800dbc0: 681b ldr r3, [r3, #0] + 800dbc2: 6adb ldr r3, [r3, #44] ; 0x2c + 800dbc4: 429a cmp r2, r3 + 800dbc6: d905 bls.n 800dbd4 { /* Return true if the task removed from the event list has a higher priority than the calling task. This allows the calling task to know if it should force a context switch now. */ xReturn = pdTRUE; - 800e02c: 2301 movs r3, #1 - 800e02e: 617b str r3, [r7, #20] + 800dbc8: 2301 movs r3, #1 + 800dbca: 617b str r3, [r7, #20] /* Mark that a yield is pending in case the user is not using the "xHigherPriorityTaskWoken" parameter to an ISR safe FreeRTOS function. */ xYieldPending = pdTRUE; - 800e030: 4b0a ldr r3, [pc, #40] ; (800e05c ) - 800e032: 2201 movs r2, #1 - 800e034: 601a str r2, [r3, #0] - 800e036: e001 b.n 800e03c + 800dbcc: 4b0a ldr r3, [pc, #40] ; (800dbf8 ) + 800dbce: 2201 movs r2, #1 + 800dbd0: 601a str r2, [r3, #0] + 800dbd2: e001 b.n 800dbd8 } else { xReturn = pdFALSE; - 800e038: 2300 movs r3, #0 - 800e03a: 617b str r3, [r7, #20] + 800dbd4: 2300 movs r3, #0 + 800dbd6: 617b str r3, [r7, #20] } return xReturn; - 800e03c: 697b ldr r3, [r7, #20] + 800dbd8: 697b ldr r3, [r7, #20] } - 800e03e: 4618 mov r0, r3 - 800e040: 3718 adds r7, #24 - 800e042: 46bd mov sp, r7 - 800e044: bd80 pop {r7, pc} - 800e046: bf00 nop - 800e048: 200006b4 .word 0x200006b4 - 800e04c: 20000694 .word 0x20000694 - 800e050: 20000590 .word 0x20000590 - 800e054: 2000064c .word 0x2000064c - 800e058: 2000058c .word 0x2000058c - 800e05c: 200006a0 .word 0x200006a0 + 800dbda: 4618 mov r0, r3 + 800dbdc: 3718 adds r7, #24 + 800dbde: 46bd mov sp, r7 + 800dbe0: bd80 pop {r7, pc} + 800dbe2: bf00 nop + 800dbe4: 200006b4 .word 0x200006b4 + 800dbe8: 20000694 .word 0x20000694 + 800dbec: 20000590 .word 0x20000590 + 800dbf0: 2000064c .word 0x2000064c + 800dbf4: 2000058c .word 0x2000058c + 800dbf8: 200006a0 .word 0x200006a0 -0800e060 : +0800dbfc : taskEXIT_CRITICAL(); } /*-----------------------------------------------------------*/ void vTaskInternalSetTimeOutState( TimeOut_t * const pxTimeOut ) { - 800e060: b480 push {r7} - 800e062: b083 sub sp, #12 - 800e064: af00 add r7, sp, #0 - 800e066: 6078 str r0, [r7, #4] + 800dbfc: b480 push {r7} + 800dbfe: b083 sub sp, #12 + 800dc00: af00 add r7, sp, #0 + 800dc02: 6078 str r0, [r7, #4] /* For internal use only as it does not use a critical section. */ pxTimeOut->xOverflowCount = xNumOfOverflows; - 800e068: 4b06 ldr r3, [pc, #24] ; (800e084 ) - 800e06a: 681a ldr r2, [r3, #0] - 800e06c: 687b ldr r3, [r7, #4] - 800e06e: 601a str r2, [r3, #0] + 800dc04: 4b06 ldr r3, [pc, #24] ; (800dc20 ) + 800dc06: 681a ldr r2, [r3, #0] + 800dc08: 687b ldr r3, [r7, #4] + 800dc0a: 601a str r2, [r3, #0] pxTimeOut->xTimeOnEntering = xTickCount; - 800e070: 4b05 ldr r3, [pc, #20] ; (800e088 ) - 800e072: 681a ldr r2, [r3, #0] - 800e074: 687b ldr r3, [r7, #4] - 800e076: 605a str r2, [r3, #4] + 800dc0c: 4b05 ldr r3, [pc, #20] ; (800dc24 ) + 800dc0e: 681a ldr r2, [r3, #0] + 800dc10: 687b ldr r3, [r7, #4] + 800dc12: 605a str r2, [r3, #4] } - 800e078: bf00 nop - 800e07a: 370c adds r7, #12 - 800e07c: 46bd mov sp, r7 - 800e07e: f85d 7b04 ldr.w r7, [sp], #4 - 800e082: 4770 bx lr - 800e084: 200006a4 .word 0x200006a4 - 800e088: 20000690 .word 0x20000690 + 800dc14: bf00 nop + 800dc16: 370c adds r7, #12 + 800dc18: 46bd mov sp, r7 + 800dc1a: f85d 7b04 ldr.w r7, [sp], #4 + 800dc1e: 4770 bx lr + 800dc20: 200006a4 .word 0x200006a4 + 800dc24: 20000690 .word 0x20000690 -0800e08c : +0800dc28 : /*-----------------------------------------------------------*/ BaseType_t xTaskCheckForTimeOut( TimeOut_t * const pxTimeOut, TickType_t * const pxTicksToWait ) { - 800e08c: b580 push {r7, lr} - 800e08e: b088 sub sp, #32 - 800e090: af00 add r7, sp, #0 - 800e092: 6078 str r0, [r7, #4] - 800e094: 6039 str r1, [r7, #0] + 800dc28: b580 push {r7, lr} + 800dc2a: b088 sub sp, #32 + 800dc2c: af00 add r7, sp, #0 + 800dc2e: 6078 str r0, [r7, #4] + 800dc30: 6039 str r1, [r7, #0] BaseType_t xReturn; configASSERT( pxTimeOut ); - 800e096: 687b ldr r3, [r7, #4] - 800e098: 2b00 cmp r3, #0 - 800e09a: d10b bne.n 800e0b4 - 800e09c: f04f 0350 mov.w r3, #80 ; 0x50 - 800e0a0: b672 cpsid i - 800e0a2: f383 8811 msr BASEPRI, r3 - 800e0a6: f3bf 8f6f isb sy - 800e0aa: f3bf 8f4f dsb sy - 800e0ae: b662 cpsie i - 800e0b0: 613b str r3, [r7, #16] - 800e0b2: e7fe b.n 800e0b2 + 800dc32: 687b ldr r3, [r7, #4] + 800dc34: 2b00 cmp r3, #0 + 800dc36: d10b bne.n 800dc50 + 800dc38: f04f 0350 mov.w r3, #80 ; 0x50 + 800dc3c: b672 cpsid i + 800dc3e: f383 8811 msr BASEPRI, r3 + 800dc42: f3bf 8f6f isb sy + 800dc46: f3bf 8f4f dsb sy + 800dc4a: b662 cpsie i + 800dc4c: 613b str r3, [r7, #16] + 800dc4e: e7fe b.n 800dc4e configASSERT( pxTicksToWait ); - 800e0b4: 683b ldr r3, [r7, #0] - 800e0b6: 2b00 cmp r3, #0 - 800e0b8: d10b bne.n 800e0d2 - 800e0ba: f04f 0350 mov.w r3, #80 ; 0x50 - 800e0be: b672 cpsid i - 800e0c0: f383 8811 msr BASEPRI, r3 - 800e0c4: f3bf 8f6f isb sy - 800e0c8: f3bf 8f4f dsb sy - 800e0cc: b662 cpsie i - 800e0ce: 60fb str r3, [r7, #12] - 800e0d0: e7fe b.n 800e0d0 + 800dc50: 683b ldr r3, [r7, #0] + 800dc52: 2b00 cmp r3, #0 + 800dc54: d10b bne.n 800dc6e + 800dc56: f04f 0350 mov.w r3, #80 ; 0x50 + 800dc5a: b672 cpsid i + 800dc5c: f383 8811 msr BASEPRI, r3 + 800dc60: f3bf 8f6f isb sy + 800dc64: f3bf 8f4f dsb sy + 800dc68: b662 cpsie i + 800dc6a: 60fb str r3, [r7, #12] + 800dc6c: e7fe b.n 800dc6c taskENTER_CRITICAL(); - 800e0d2: f000 fc69 bl 800e9a8 + 800dc6e: f000 fc63 bl 800e538 { /* Minor optimisation. The tick count cannot change in this block. */ const TickType_t xConstTickCount = xTickCount; - 800e0d6: 4b1d ldr r3, [pc, #116] ; (800e14c ) - 800e0d8: 681b ldr r3, [r3, #0] - 800e0da: 61bb str r3, [r7, #24] + 800dc72: 4b1d ldr r3, [pc, #116] ; (800dce8 ) + 800dc74: 681b ldr r3, [r3, #0] + 800dc76: 61bb str r3, [r7, #24] const TickType_t xElapsedTime = xConstTickCount - pxTimeOut->xTimeOnEntering; - 800e0dc: 687b ldr r3, [r7, #4] - 800e0de: 685b ldr r3, [r3, #4] - 800e0e0: 69ba ldr r2, [r7, #24] - 800e0e2: 1ad3 subs r3, r2, r3 - 800e0e4: 617b str r3, [r7, #20] + 800dc78: 687b ldr r3, [r7, #4] + 800dc7a: 685b ldr r3, [r3, #4] + 800dc7c: 69ba ldr r2, [r7, #24] + 800dc7e: 1ad3 subs r3, r2, r3 + 800dc80: 617b str r3, [r7, #20] } else #endif #if ( INCLUDE_vTaskSuspend == 1 ) if( *pxTicksToWait == portMAX_DELAY ) - 800e0e6: 683b ldr r3, [r7, #0] - 800e0e8: 681b ldr r3, [r3, #0] - 800e0ea: f1b3 3fff cmp.w r3, #4294967295 - 800e0ee: d102 bne.n 800e0f6 + 800dc82: 683b ldr r3, [r7, #0] + 800dc84: 681b ldr r3, [r3, #0] + 800dc86: f1b3 3fff cmp.w r3, #4294967295 + 800dc8a: d102 bne.n 800dc92 { /* If INCLUDE_vTaskSuspend is set to 1 and the block time specified is the maximum block time then the task should block indefinitely, and therefore never time out. */ xReturn = pdFALSE; - 800e0f0: 2300 movs r3, #0 - 800e0f2: 61fb str r3, [r7, #28] - 800e0f4: e023 b.n 800e13e + 800dc8c: 2300 movs r3, #0 + 800dc8e: 61fb str r3, [r7, #28] + 800dc90: e023 b.n 800dcda } else #endif if( ( xNumOfOverflows != pxTimeOut->xOverflowCount ) && ( xConstTickCount >= pxTimeOut->xTimeOnEntering ) ) /*lint !e525 Indentation preferred as is to make code within pre-processor directives clearer. */ - 800e0f6: 687b ldr r3, [r7, #4] - 800e0f8: 681a ldr r2, [r3, #0] - 800e0fa: 4b15 ldr r3, [pc, #84] ; (800e150 ) - 800e0fc: 681b ldr r3, [r3, #0] - 800e0fe: 429a cmp r2, r3 - 800e100: d007 beq.n 800e112 - 800e102: 687b ldr r3, [r7, #4] - 800e104: 685b ldr r3, [r3, #4] - 800e106: 69ba ldr r2, [r7, #24] - 800e108: 429a cmp r2, r3 - 800e10a: d302 bcc.n 800e112 + 800dc92: 687b ldr r3, [r7, #4] + 800dc94: 681a ldr r2, [r3, #0] + 800dc96: 4b15 ldr r3, [pc, #84] ; (800dcec ) + 800dc98: 681b ldr r3, [r3, #0] + 800dc9a: 429a cmp r2, r3 + 800dc9c: d007 beq.n 800dcae + 800dc9e: 687b ldr r3, [r7, #4] + 800dca0: 685b ldr r3, [r3, #4] + 800dca2: 69ba ldr r2, [r7, #24] + 800dca4: 429a cmp r2, r3 + 800dca6: d302 bcc.n 800dcae /* The tick count is greater than the time at which vTaskSetTimeout() was called, but has also overflowed since vTaskSetTimeOut() was called. It must have wrapped all the way around and gone past again. This passed since vTaskSetTimeout() was called. */ xReturn = pdTRUE; - 800e10c: 2301 movs r3, #1 - 800e10e: 61fb str r3, [r7, #28] - 800e110: e015 b.n 800e13e + 800dca8: 2301 movs r3, #1 + 800dcaa: 61fb str r3, [r7, #28] + 800dcac: e015 b.n 800dcda } else if( xElapsedTime < *pxTicksToWait ) /*lint !e961 Explicit casting is only redundant with some compilers, whereas others require it to prevent integer conversion errors. */ - 800e112: 683b ldr r3, [r7, #0] - 800e114: 681b ldr r3, [r3, #0] - 800e116: 697a ldr r2, [r7, #20] - 800e118: 429a cmp r2, r3 - 800e11a: d20b bcs.n 800e134 + 800dcae: 683b ldr r3, [r7, #0] + 800dcb0: 681b ldr r3, [r3, #0] + 800dcb2: 697a ldr r2, [r7, #20] + 800dcb4: 429a cmp r2, r3 + 800dcb6: d20b bcs.n 800dcd0 { /* Not a genuine timeout. Adjust parameters for time remaining. */ *pxTicksToWait -= xElapsedTime; - 800e11c: 683b ldr r3, [r7, #0] - 800e11e: 681a ldr r2, [r3, #0] - 800e120: 697b ldr r3, [r7, #20] - 800e122: 1ad2 subs r2, r2, r3 - 800e124: 683b ldr r3, [r7, #0] - 800e126: 601a str r2, [r3, #0] + 800dcb8: 683b ldr r3, [r7, #0] + 800dcba: 681a ldr r2, [r3, #0] + 800dcbc: 697b ldr r3, [r7, #20] + 800dcbe: 1ad2 subs r2, r2, r3 + 800dcc0: 683b ldr r3, [r7, #0] + 800dcc2: 601a str r2, [r3, #0] vTaskInternalSetTimeOutState( pxTimeOut ); - 800e128: 6878 ldr r0, [r7, #4] - 800e12a: f7ff ff99 bl 800e060 + 800dcc4: 6878 ldr r0, [r7, #4] + 800dcc6: f7ff ff99 bl 800dbfc xReturn = pdFALSE; - 800e12e: 2300 movs r3, #0 - 800e130: 61fb str r3, [r7, #28] - 800e132: e004 b.n 800e13e + 800dcca: 2300 movs r3, #0 + 800dccc: 61fb str r3, [r7, #28] + 800dcce: e004 b.n 800dcda } else { *pxTicksToWait = 0; - 800e134: 683b ldr r3, [r7, #0] - 800e136: 2200 movs r2, #0 - 800e138: 601a str r2, [r3, #0] + 800dcd0: 683b ldr r3, [r7, #0] + 800dcd2: 2200 movs r2, #0 + 800dcd4: 601a str r2, [r3, #0] xReturn = pdTRUE; - 800e13a: 2301 movs r3, #1 - 800e13c: 61fb str r3, [r7, #28] + 800dcd6: 2301 movs r3, #1 + 800dcd8: 61fb str r3, [r7, #28] } } taskEXIT_CRITICAL(); - 800e13e: f000 fc65 bl 800ea0c + 800dcda: f000 fc5f bl 800e59c return xReturn; - 800e142: 69fb ldr r3, [r7, #28] + 800dcde: 69fb ldr r3, [r7, #28] } - 800e144: 4618 mov r0, r3 - 800e146: 3720 adds r7, #32 - 800e148: 46bd mov sp, r7 - 800e14a: bd80 pop {r7, pc} - 800e14c: 20000690 .word 0x20000690 - 800e150: 200006a4 .word 0x200006a4 + 800dce0: 4618 mov r0, r3 + 800dce2: 3720 adds r7, #32 + 800dce4: 46bd mov sp, r7 + 800dce6: bd80 pop {r7, pc} + 800dce8: 20000690 .word 0x20000690 + 800dcec: 200006a4 .word 0x200006a4 -0800e154 : +0800dcf0 : /*-----------------------------------------------------------*/ void vTaskMissedYield( void ) { - 800e154: b480 push {r7} - 800e156: af00 add r7, sp, #0 + 800dcf0: b480 push {r7} + 800dcf2: af00 add r7, sp, #0 xYieldPending = pdTRUE; - 800e158: 4b03 ldr r3, [pc, #12] ; (800e168 ) - 800e15a: 2201 movs r2, #1 - 800e15c: 601a str r2, [r3, #0] + 800dcf4: 4b03 ldr r3, [pc, #12] ; (800dd04 ) + 800dcf6: 2201 movs r2, #1 + 800dcf8: 601a str r2, [r3, #0] } - 800e15e: bf00 nop - 800e160: 46bd mov sp, r7 - 800e162: f85d 7b04 ldr.w r7, [sp], #4 - 800e166: 4770 bx lr - 800e168: 200006a0 .word 0x200006a0 + 800dcfa: bf00 nop + 800dcfc: 46bd mov sp, r7 + 800dcfe: f85d 7b04 ldr.w r7, [sp], #4 + 800dd02: 4770 bx lr + 800dd04: 200006a0 .word 0x200006a0 -0800e16c : +0800dd08 : * * void prvIdleTask( void *pvParameters ); * */ static portTASK_FUNCTION( prvIdleTask, pvParameters ) { - 800e16c: b580 push {r7, lr} - 800e16e: b082 sub sp, #8 - 800e170: af00 add r7, sp, #0 - 800e172: 6078 str r0, [r7, #4] + 800dd08: b580 push {r7, lr} + 800dd0a: b082 sub sp, #8 + 800dd0c: af00 add r7, sp, #0 + 800dd0e: 6078 str r0, [r7, #4] for( ;; ) { /* See if any tasks have deleted themselves - if so then the idle task is responsible for freeing the deleted task's TCB and stack. */ prvCheckTasksWaitingTermination(); - 800e174: f000 f854 bl 800e220 + 800dd10: f000 f854 bl 800ddbc A critical region is not required here as we are just reading from the list, and an occasional incorrect value will not matter. If the ready list at the idle priority contains more than one task then a task other than the idle task is ready to execute. */ if( listCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ tskIDLE_PRIORITY ] ) ) > ( UBaseType_t ) 1 ) - 800e178: 4b07 ldr r3, [pc, #28] ; (800e198 ) - 800e17a: 681b ldr r3, [r3, #0] - 800e17c: 2b01 cmp r3, #1 - 800e17e: d907 bls.n 800e190 + 800dd14: 4b07 ldr r3, [pc, #28] ; (800dd34 ) + 800dd16: 681b ldr r3, [r3, #0] + 800dd18: 2b01 cmp r3, #1 + 800dd1a: d907 bls.n 800dd2c { taskYIELD(); - 800e180: 4b06 ldr r3, [pc, #24] ; (800e19c ) - 800e182: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800e186: 601a str r2, [r3, #0] - 800e188: f3bf 8f4f dsb sy - 800e18c: f3bf 8f6f isb sy + 800dd1c: 4b06 ldr r3, [pc, #24] ; (800dd38 ) + 800dd1e: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800dd22: 601a str r2, [r3, #0] + 800dd24: f3bf 8f4f dsb sy + 800dd28: f3bf 8f6f isb sy /* Call the user defined function from within the idle task. This allows the application designer to add background functionality without the overhead of a separate task. NOTE: vApplicationIdleHook() MUST NOT, UNDER ANY CIRCUMSTANCES, CALL A FUNCTION THAT MIGHT BLOCK. */ vApplicationIdleHook(); - 800e190: f7f2 fa0e bl 80005b0 + 800dd2c: f7f2 fc40 bl 80005b0 prvCheckTasksWaitingTermination(); - 800e194: e7ee b.n 800e174 - 800e196: bf00 nop - 800e198: 20000590 .word 0x20000590 - 800e19c: e000ed04 .word 0xe000ed04 + 800dd30: e7ee b.n 800dd10 + 800dd32: bf00 nop + 800dd34: 20000590 .word 0x20000590 + 800dd38: e000ed04 .word 0xe000ed04 -0800e1a0 : +0800dd3c : #endif /* portUSING_MPU_WRAPPERS */ /*-----------------------------------------------------------*/ static void prvInitialiseTaskLists( void ) { - 800e1a0: b580 push {r7, lr} - 800e1a2: b082 sub sp, #8 - 800e1a4: af00 add r7, sp, #0 + 800dd3c: b580 push {r7, lr} + 800dd3e: b082 sub sp, #8 + 800dd40: af00 add r7, sp, #0 UBaseType_t uxPriority; for( uxPriority = ( UBaseType_t ) 0U; uxPriority < ( UBaseType_t ) configMAX_PRIORITIES; uxPriority++ ) - 800e1a6: 2300 movs r3, #0 - 800e1a8: 607b str r3, [r7, #4] - 800e1aa: e00c b.n 800e1c6 + 800dd42: 2300 movs r3, #0 + 800dd44: 607b str r3, [r7, #4] + 800dd46: e00c b.n 800dd62 { vListInitialise( &( pxReadyTasksLists[ uxPriority ] ) ); - 800e1ac: 687a ldr r2, [r7, #4] - 800e1ae: 4613 mov r3, r2 - 800e1b0: 009b lsls r3, r3, #2 - 800e1b2: 4413 add r3, r2 - 800e1b4: 009b lsls r3, r3, #2 - 800e1b6: 4a12 ldr r2, [pc, #72] ; (800e200 ) - 800e1b8: 4413 add r3, r2 - 800e1ba: 4618 mov r0, r3 - 800e1bc: f7fe f8ee bl 800c39c + 800dd48: 687a ldr r2, [r7, #4] + 800dd4a: 4613 mov r3, r2 + 800dd4c: 009b lsls r3, r3, #2 + 800dd4e: 4413 add r3, r2 + 800dd50: 009b lsls r3, r3, #2 + 800dd52: 4a12 ldr r2, [pc, #72] ; (800dd9c ) + 800dd54: 4413 add r3, r2 + 800dd56: 4618 mov r0, r3 + 800dd58: f7fe f8ee bl 800bf38 for( uxPriority = ( UBaseType_t ) 0U; uxPriority < ( UBaseType_t ) configMAX_PRIORITIES; uxPriority++ ) - 800e1c0: 687b ldr r3, [r7, #4] - 800e1c2: 3301 adds r3, #1 - 800e1c4: 607b str r3, [r7, #4] - 800e1c6: 687b ldr r3, [r7, #4] - 800e1c8: 2b06 cmp r3, #6 - 800e1ca: d9ef bls.n 800e1ac + 800dd5c: 687b ldr r3, [r7, #4] + 800dd5e: 3301 adds r3, #1 + 800dd60: 607b str r3, [r7, #4] + 800dd62: 687b ldr r3, [r7, #4] + 800dd64: 2b06 cmp r3, #6 + 800dd66: d9ef bls.n 800dd48 } vListInitialise( &xDelayedTaskList1 ); - 800e1cc: 480d ldr r0, [pc, #52] ; (800e204 ) - 800e1ce: f7fe f8e5 bl 800c39c + 800dd68: 480d ldr r0, [pc, #52] ; (800dda0 ) + 800dd6a: f7fe f8e5 bl 800bf38 vListInitialise( &xDelayedTaskList2 ); - 800e1d2: 480d ldr r0, [pc, #52] ; (800e208 ) - 800e1d4: f7fe f8e2 bl 800c39c + 800dd6e: 480d ldr r0, [pc, #52] ; (800dda4 ) + 800dd70: f7fe f8e2 bl 800bf38 vListInitialise( &xPendingReadyList ); - 800e1d8: 480c ldr r0, [pc, #48] ; (800e20c ) - 800e1da: f7fe f8df bl 800c39c + 800dd74: 480c ldr r0, [pc, #48] ; (800dda8 ) + 800dd76: f7fe f8df bl 800bf38 #if ( INCLUDE_vTaskDelete == 1 ) { vListInitialise( &xTasksWaitingTermination ); - 800e1de: 480c ldr r0, [pc, #48] ; (800e210 ) - 800e1e0: f7fe f8dc bl 800c39c + 800dd7a: 480c ldr r0, [pc, #48] ; (800ddac ) + 800dd7c: f7fe f8dc bl 800bf38 } #endif /* INCLUDE_vTaskDelete */ #if ( INCLUDE_vTaskSuspend == 1 ) { vListInitialise( &xSuspendedTaskList ); - 800e1e4: 480b ldr r0, [pc, #44] ; (800e214 ) - 800e1e6: f7fe f8d9 bl 800c39c + 800dd80: 480b ldr r0, [pc, #44] ; (800ddb0 ) + 800dd82: f7fe f8d9 bl 800bf38 } #endif /* INCLUDE_vTaskSuspend */ /* Start with pxDelayedTaskList using list1 and the pxOverflowDelayedTaskList using list2. */ pxDelayedTaskList = &xDelayedTaskList1; - 800e1ea: 4b0b ldr r3, [pc, #44] ; (800e218 ) - 800e1ec: 4a05 ldr r2, [pc, #20] ; (800e204 ) - 800e1ee: 601a str r2, [r3, #0] + 800dd86: 4b0b ldr r3, [pc, #44] ; (800ddb4 ) + 800dd88: 4a05 ldr r2, [pc, #20] ; (800dda0 ) + 800dd8a: 601a str r2, [r3, #0] pxOverflowDelayedTaskList = &xDelayedTaskList2; - 800e1f0: 4b0a ldr r3, [pc, #40] ; (800e21c ) - 800e1f2: 4a05 ldr r2, [pc, #20] ; (800e208 ) - 800e1f4: 601a str r2, [r3, #0] + 800dd8c: 4b0a ldr r3, [pc, #40] ; (800ddb8 ) + 800dd8e: 4a05 ldr r2, [pc, #20] ; (800dda4 ) + 800dd90: 601a str r2, [r3, #0] } - 800e1f6: bf00 nop - 800e1f8: 3708 adds r7, #8 - 800e1fa: 46bd mov sp, r7 - 800e1fc: bd80 pop {r7, pc} - 800e1fe: bf00 nop - 800e200: 20000590 .word 0x20000590 - 800e204: 2000061c .word 0x2000061c - 800e208: 20000630 .word 0x20000630 - 800e20c: 2000064c .word 0x2000064c - 800e210: 20000660 .word 0x20000660 - 800e214: 20000678 .word 0x20000678 - 800e218: 20000644 .word 0x20000644 - 800e21c: 20000648 .word 0x20000648 + 800dd92: bf00 nop + 800dd94: 3708 adds r7, #8 + 800dd96: 46bd mov sp, r7 + 800dd98: bd80 pop {r7, pc} + 800dd9a: bf00 nop + 800dd9c: 20000590 .word 0x20000590 + 800dda0: 2000061c .word 0x2000061c + 800dda4: 20000630 .word 0x20000630 + 800dda8: 2000064c .word 0x2000064c + 800ddac: 20000660 .word 0x20000660 + 800ddb0: 20000678 .word 0x20000678 + 800ddb4: 20000644 .word 0x20000644 + 800ddb8: 20000648 .word 0x20000648 -0800e220 : +0800ddbc : /*-----------------------------------------------------------*/ static void prvCheckTasksWaitingTermination( void ) { - 800e220: b580 push {r7, lr} - 800e222: b082 sub sp, #8 - 800e224: af00 add r7, sp, #0 + 800ddbc: b580 push {r7, lr} + 800ddbe: b082 sub sp, #8 + 800ddc0: af00 add r7, sp, #0 { TCB_t *pxTCB; /* uxDeletedTasksWaitingCleanUp is used to prevent taskENTER_CRITICAL() being called too often in the idle task. */ while( uxDeletedTasksWaitingCleanUp > ( UBaseType_t ) 0U ) - 800e226: e019 b.n 800e25c + 800ddc2: e019 b.n 800ddf8 { taskENTER_CRITICAL(); - 800e228: f000 fbbe bl 800e9a8 + 800ddc4: f000 fbb8 bl 800e538 { pxTCB = listGET_OWNER_OF_HEAD_ENTRY( ( &xTasksWaitingTermination ) ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */ - 800e22c: 4b0f ldr r3, [pc, #60] ; (800e26c ) - 800e22e: 68db ldr r3, [r3, #12] - 800e230: 68db ldr r3, [r3, #12] - 800e232: 607b str r3, [r7, #4] + 800ddc8: 4b0f ldr r3, [pc, #60] ; (800de08 ) + 800ddca: 68db ldr r3, [r3, #12] + 800ddcc: 68db ldr r3, [r3, #12] + 800ddce: 607b str r3, [r7, #4] ( void ) uxListRemove( &( pxTCB->xStateListItem ) ); - 800e234: 687b ldr r3, [r7, #4] - 800e236: 3304 adds r3, #4 - 800e238: 4618 mov r0, r3 - 800e23a: f7fe f939 bl 800c4b0 + 800ddd0: 687b ldr r3, [r7, #4] + 800ddd2: 3304 adds r3, #4 + 800ddd4: 4618 mov r0, r3 + 800ddd6: f7fe f939 bl 800c04c --uxCurrentNumberOfTasks; - 800e23e: 4b0c ldr r3, [pc, #48] ; (800e270 ) - 800e240: 681b ldr r3, [r3, #0] - 800e242: 3b01 subs r3, #1 - 800e244: 4a0a ldr r2, [pc, #40] ; (800e270 ) - 800e246: 6013 str r3, [r2, #0] + 800ddda: 4b0c ldr r3, [pc, #48] ; (800de0c ) + 800dddc: 681b ldr r3, [r3, #0] + 800ddde: 3b01 subs r3, #1 + 800dde0: 4a0a ldr r2, [pc, #40] ; (800de0c ) + 800dde2: 6013 str r3, [r2, #0] --uxDeletedTasksWaitingCleanUp; - 800e248: 4b0a ldr r3, [pc, #40] ; (800e274 ) - 800e24a: 681b ldr r3, [r3, #0] - 800e24c: 3b01 subs r3, #1 - 800e24e: 4a09 ldr r2, [pc, #36] ; (800e274 ) - 800e250: 6013 str r3, [r2, #0] + 800dde4: 4b0a ldr r3, [pc, #40] ; (800de10 ) + 800dde6: 681b ldr r3, [r3, #0] + 800dde8: 3b01 subs r3, #1 + 800ddea: 4a09 ldr r2, [pc, #36] ; (800de10 ) + 800ddec: 6013 str r3, [r2, #0] } taskEXIT_CRITICAL(); - 800e252: f000 fbdb bl 800ea0c + 800ddee: f000 fbd5 bl 800e59c prvDeleteTCB( pxTCB ); - 800e256: 6878 ldr r0, [r7, #4] - 800e258: f000 f80e bl 800e278 + 800ddf2: 6878 ldr r0, [r7, #4] + 800ddf4: f000 f80e bl 800de14 while( uxDeletedTasksWaitingCleanUp > ( UBaseType_t ) 0U ) - 800e25c: 4b05 ldr r3, [pc, #20] ; (800e274 ) - 800e25e: 681b ldr r3, [r3, #0] - 800e260: 2b00 cmp r3, #0 - 800e262: d1e1 bne.n 800e228 + 800ddf8: 4b05 ldr r3, [pc, #20] ; (800de10 ) + 800ddfa: 681b ldr r3, [r3, #0] + 800ddfc: 2b00 cmp r3, #0 + 800ddfe: d1e1 bne.n 800ddc4 } } #endif /* INCLUDE_vTaskDelete */ } - 800e264: bf00 nop - 800e266: 3708 adds r7, #8 - 800e268: 46bd mov sp, r7 - 800e26a: bd80 pop {r7, pc} - 800e26c: 20000660 .word 0x20000660 - 800e270: 2000068c .word 0x2000068c - 800e274: 20000674 .word 0x20000674 + 800de00: bf00 nop + 800de02: 3708 adds r7, #8 + 800de04: 46bd mov sp, r7 + 800de06: bd80 pop {r7, pc} + 800de08: 20000660 .word 0x20000660 + 800de0c: 2000068c .word 0x2000068c + 800de10: 20000674 .word 0x20000674 -0800e278 : +0800de14 : /*-----------------------------------------------------------*/ #if ( INCLUDE_vTaskDelete == 1 ) static void prvDeleteTCB( TCB_t *pxTCB ) { - 800e278: b580 push {r7, lr} - 800e27a: b084 sub sp, #16 - 800e27c: af00 add r7, sp, #0 - 800e27e: 6078 str r0, [r7, #4] + 800de14: b580 push {r7, lr} + 800de16: b084 sub sp, #16 + 800de18: af00 add r7, sp, #0 + 800de1a: 6078 str r0, [r7, #4] #elif( tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE != 0 ) /*lint !e731 !e9029 Macro has been consolidated for readability reasons. */ { /* The task could have been allocated statically or dynamically, so check what was statically allocated before trying to free the memory. */ if( pxTCB->ucStaticallyAllocated == tskDYNAMICALLY_ALLOCATED_STACK_AND_TCB ) - 800e280: 687b ldr r3, [r7, #4] - 800e282: f893 3055 ldrb.w r3, [r3, #85] ; 0x55 - 800e286: 2b00 cmp r3, #0 - 800e288: d108 bne.n 800e29c + 800de1c: 687b ldr r3, [r7, #4] + 800de1e: f893 3055 ldrb.w r3, [r3, #85] ; 0x55 + 800de22: 2b00 cmp r3, #0 + 800de24: d108 bne.n 800de38 { /* Both the stack and TCB were allocated dynamically, so both must be freed. */ vPortFree( pxTCB->pxStack ); - 800e28a: 687b ldr r3, [r7, #4] - 800e28c: 6b1b ldr r3, [r3, #48] ; 0x30 - 800e28e: 4618 mov r0, r3 - 800e290: f000 fd78 bl 800ed84 + 800de26: 687b ldr r3, [r7, #4] + 800de28: 6b1b ldr r3, [r3, #48] ; 0x30 + 800de2a: 4618 mov r0, r3 + 800de2c: f000 fd72 bl 800e914 vPortFree( pxTCB ); - 800e294: 6878 ldr r0, [r7, #4] - 800e296: f000 fd75 bl 800ed84 + 800de30: 6878 ldr r0, [r7, #4] + 800de32: f000 fd6f bl 800e914 configASSERT( pxTCB->ucStaticallyAllocated == tskSTATICALLY_ALLOCATED_STACK_AND_TCB ); mtCOVERAGE_TEST_MARKER(); } } #endif /* configSUPPORT_DYNAMIC_ALLOCATION */ } - 800e29a: e019 b.n 800e2d0 + 800de36: e019 b.n 800de6c else if( pxTCB->ucStaticallyAllocated == tskSTATICALLY_ALLOCATED_STACK_ONLY ) - 800e29c: 687b ldr r3, [r7, #4] - 800e29e: f893 3055 ldrb.w r3, [r3, #85] ; 0x55 - 800e2a2: 2b01 cmp r3, #1 - 800e2a4: d103 bne.n 800e2ae + 800de38: 687b ldr r3, [r7, #4] + 800de3a: f893 3055 ldrb.w r3, [r3, #85] ; 0x55 + 800de3e: 2b01 cmp r3, #1 + 800de40: d103 bne.n 800de4a vPortFree( pxTCB ); - 800e2a6: 6878 ldr r0, [r7, #4] - 800e2a8: f000 fd6c bl 800ed84 + 800de42: 6878 ldr r0, [r7, #4] + 800de44: f000 fd66 bl 800e914 } - 800e2ac: e010 b.n 800e2d0 + 800de48: e010 b.n 800de6c configASSERT( pxTCB->ucStaticallyAllocated == tskSTATICALLY_ALLOCATED_STACK_AND_TCB ); - 800e2ae: 687b ldr r3, [r7, #4] - 800e2b0: f893 3055 ldrb.w r3, [r3, #85] ; 0x55 - 800e2b4: 2b02 cmp r3, #2 - 800e2b6: d00b beq.n 800e2d0 - 800e2b8: f04f 0350 mov.w r3, #80 ; 0x50 - 800e2bc: b672 cpsid i - 800e2be: f383 8811 msr BASEPRI, r3 - 800e2c2: f3bf 8f6f isb sy - 800e2c6: f3bf 8f4f dsb sy - 800e2ca: b662 cpsie i - 800e2cc: 60fb str r3, [r7, #12] - 800e2ce: e7fe b.n 800e2ce + 800de4a: 687b ldr r3, [r7, #4] + 800de4c: f893 3055 ldrb.w r3, [r3, #85] ; 0x55 + 800de50: 2b02 cmp r3, #2 + 800de52: d00b beq.n 800de6c + 800de54: f04f 0350 mov.w r3, #80 ; 0x50 + 800de58: b672 cpsid i + 800de5a: f383 8811 msr BASEPRI, r3 + 800de5e: f3bf 8f6f isb sy + 800de62: f3bf 8f4f dsb sy + 800de66: b662 cpsie i + 800de68: 60fb str r3, [r7, #12] + 800de6a: e7fe b.n 800de6a } - 800e2d0: bf00 nop - 800e2d2: 3710 adds r7, #16 - 800e2d4: 46bd mov sp, r7 - 800e2d6: bd80 pop {r7, pc} + 800de6c: bf00 nop + 800de6e: 3710 adds r7, #16 + 800de70: 46bd mov sp, r7 + 800de72: bd80 pop {r7, pc} -0800e2d8 : +0800de74 : #endif /* INCLUDE_vTaskDelete */ /*-----------------------------------------------------------*/ static void prvResetNextTaskUnblockTime( void ) { - 800e2d8: b480 push {r7} - 800e2da: b083 sub sp, #12 - 800e2dc: af00 add r7, sp, #0 + 800de74: b480 push {r7} + 800de76: b083 sub sp, #12 + 800de78: af00 add r7, sp, #0 TCB_t *pxTCB; if( listLIST_IS_EMPTY( pxDelayedTaskList ) != pdFALSE ) - 800e2de: 4b0c ldr r3, [pc, #48] ; (800e310 ) - 800e2e0: 681b ldr r3, [r3, #0] - 800e2e2: 681b ldr r3, [r3, #0] - 800e2e4: 2b00 cmp r3, #0 - 800e2e6: d104 bne.n 800e2f2 + 800de7a: 4b0c ldr r3, [pc, #48] ; (800deac ) + 800de7c: 681b ldr r3, [r3, #0] + 800de7e: 681b ldr r3, [r3, #0] + 800de80: 2b00 cmp r3, #0 + 800de82: d104 bne.n 800de8e { /* The new current delayed list is empty. Set xNextTaskUnblockTime to the maximum possible value so it is extremely unlikely that the if( xTickCount >= xNextTaskUnblockTime ) test will pass until there is an item in the delayed list. */ xNextTaskUnblockTime = portMAX_DELAY; - 800e2e8: 4b0a ldr r3, [pc, #40] ; (800e314 ) - 800e2ea: f04f 32ff mov.w r2, #4294967295 - 800e2ee: 601a str r2, [r3, #0] + 800de84: 4b0a ldr r3, [pc, #40] ; (800deb0 ) + 800de86: f04f 32ff mov.w r2, #4294967295 + 800de8a: 601a str r2, [r3, #0] which the task at the head of the delayed list should be removed from the Blocked state. */ ( pxTCB ) = listGET_OWNER_OF_HEAD_ENTRY( pxDelayedTaskList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */ xNextTaskUnblockTime = listGET_LIST_ITEM_VALUE( &( ( pxTCB )->xStateListItem ) ); } } - 800e2f0: e008 b.n 800e304 + 800de8c: e008 b.n 800dea0 ( pxTCB ) = listGET_OWNER_OF_HEAD_ENTRY( pxDelayedTaskList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */ - 800e2f2: 4b07 ldr r3, [pc, #28] ; (800e310 ) - 800e2f4: 681b ldr r3, [r3, #0] - 800e2f6: 68db ldr r3, [r3, #12] - 800e2f8: 68db ldr r3, [r3, #12] - 800e2fa: 607b str r3, [r7, #4] + 800de8e: 4b07 ldr r3, [pc, #28] ; (800deac ) + 800de90: 681b ldr r3, [r3, #0] + 800de92: 68db ldr r3, [r3, #12] + 800de94: 68db ldr r3, [r3, #12] + 800de96: 607b str r3, [r7, #4] xNextTaskUnblockTime = listGET_LIST_ITEM_VALUE( &( ( pxTCB )->xStateListItem ) ); - 800e2fc: 687b ldr r3, [r7, #4] - 800e2fe: 685b ldr r3, [r3, #4] - 800e300: 4a04 ldr r2, [pc, #16] ; (800e314 ) - 800e302: 6013 str r3, [r2, #0] + 800de98: 687b ldr r3, [r7, #4] + 800de9a: 685b ldr r3, [r3, #4] + 800de9c: 4a04 ldr r2, [pc, #16] ; (800deb0 ) + 800de9e: 6013 str r3, [r2, #0] } - 800e304: bf00 nop - 800e306: 370c adds r7, #12 - 800e308: 46bd mov sp, r7 - 800e30a: f85d 7b04 ldr.w r7, [sp], #4 - 800e30e: 4770 bx lr - 800e310: 20000644 .word 0x20000644 - 800e314: 200006ac .word 0x200006ac + 800dea0: bf00 nop + 800dea2: 370c adds r7, #12 + 800dea4: 46bd mov sp, r7 + 800dea6: f85d 7b04 ldr.w r7, [sp], #4 + 800deaa: 4770 bx lr + 800deac: 20000644 .word 0x20000644 + 800deb0: 200006ac .word 0x200006ac -0800e318 : +0800deb4 : /*-----------------------------------------------------------*/ #if ( ( INCLUDE_xTaskGetSchedulerState == 1 ) || ( configUSE_TIMERS == 1 ) ) BaseType_t xTaskGetSchedulerState( void ) { - 800e318: b480 push {r7} - 800e31a: b083 sub sp, #12 - 800e31c: af00 add r7, sp, #0 + 800deb4: b480 push {r7} + 800deb6: b083 sub sp, #12 + 800deb8: af00 add r7, sp, #0 BaseType_t xReturn; if( xSchedulerRunning == pdFALSE ) - 800e31e: 4b0b ldr r3, [pc, #44] ; (800e34c ) - 800e320: 681b ldr r3, [r3, #0] - 800e322: 2b00 cmp r3, #0 - 800e324: d102 bne.n 800e32c + 800deba: 4b0b ldr r3, [pc, #44] ; (800dee8 ) + 800debc: 681b ldr r3, [r3, #0] + 800debe: 2b00 cmp r3, #0 + 800dec0: d102 bne.n 800dec8 { xReturn = taskSCHEDULER_NOT_STARTED; - 800e326: 2301 movs r3, #1 - 800e328: 607b str r3, [r7, #4] - 800e32a: e008 b.n 800e33e + 800dec2: 2301 movs r3, #1 + 800dec4: 607b str r3, [r7, #4] + 800dec6: e008 b.n 800deda } else { if( uxSchedulerSuspended == ( UBaseType_t ) pdFALSE ) - 800e32c: 4b08 ldr r3, [pc, #32] ; (800e350 ) - 800e32e: 681b ldr r3, [r3, #0] - 800e330: 2b00 cmp r3, #0 - 800e332: d102 bne.n 800e33a + 800dec8: 4b08 ldr r3, [pc, #32] ; (800deec ) + 800deca: 681b ldr r3, [r3, #0] + 800decc: 2b00 cmp r3, #0 + 800dece: d102 bne.n 800ded6 { xReturn = taskSCHEDULER_RUNNING; - 800e334: 2302 movs r3, #2 - 800e336: 607b str r3, [r7, #4] - 800e338: e001 b.n 800e33e + 800ded0: 2302 movs r3, #2 + 800ded2: 607b str r3, [r7, #4] + 800ded4: e001 b.n 800deda } else { xReturn = taskSCHEDULER_SUSPENDED; - 800e33a: 2300 movs r3, #0 - 800e33c: 607b str r3, [r7, #4] + 800ded6: 2300 movs r3, #0 + 800ded8: 607b str r3, [r7, #4] } } return xReturn; - 800e33e: 687b ldr r3, [r7, #4] + 800deda: 687b ldr r3, [r7, #4] } - 800e340: 4618 mov r0, r3 - 800e342: 370c adds r7, #12 - 800e344: 46bd mov sp, r7 - 800e346: f85d 7b04 ldr.w r7, [sp], #4 - 800e34a: 4770 bx lr - 800e34c: 20000698 .word 0x20000698 - 800e350: 200006b4 .word 0x200006b4 + 800dedc: 4618 mov r0, r3 + 800dede: 370c adds r7, #12 + 800dee0: 46bd mov sp, r7 + 800dee2: f85d 7b04 ldr.w r7, [sp], #4 + 800dee6: 4770 bx lr + 800dee8: 20000698 .word 0x20000698 + 800deec: 200006b4 .word 0x200006b4 -0800e354 : +0800def0 : /*-----------------------------------------------------------*/ #if ( configUSE_MUTEXES == 1 ) BaseType_t xTaskPriorityInherit( TaskHandle_t const pxMutexHolder ) { - 800e354: b580 push {r7, lr} - 800e356: b084 sub sp, #16 - 800e358: af00 add r7, sp, #0 - 800e35a: 6078 str r0, [r7, #4] + 800def0: b580 push {r7, lr} + 800def2: b084 sub sp, #16 + 800def4: af00 add r7, sp, #0 + 800def6: 6078 str r0, [r7, #4] TCB_t * const pxMutexHolderTCB = pxMutexHolder; - 800e35c: 687b ldr r3, [r7, #4] - 800e35e: 60bb str r3, [r7, #8] + 800def8: 687b ldr r3, [r7, #4] + 800defa: 60bb str r3, [r7, #8] BaseType_t xReturn = pdFALSE; - 800e360: 2300 movs r3, #0 - 800e362: 60fb str r3, [r7, #12] + 800defc: 2300 movs r3, #0 + 800defe: 60fb str r3, [r7, #12] /* If the mutex was given back by an interrupt while the queue was locked then the mutex holder might now be NULL. _RB_ Is this still needed as interrupts can no longer use mutexes? */ if( pxMutexHolder != NULL ) - 800e364: 687b ldr r3, [r7, #4] - 800e366: 2b00 cmp r3, #0 - 800e368: d069 beq.n 800e43e + 800df00: 687b ldr r3, [r7, #4] + 800df02: 2b00 cmp r3, #0 + 800df04: d069 beq.n 800dfda { /* If the holder of the mutex has a priority below the priority of the task attempting to obtain the mutex then it will temporarily inherit the priority of the task attempting to obtain the mutex. */ if( pxMutexHolderTCB->uxPriority < pxCurrentTCB->uxPriority ) - 800e36a: 68bb ldr r3, [r7, #8] - 800e36c: 6ada ldr r2, [r3, #44] ; 0x2c - 800e36e: 4b36 ldr r3, [pc, #216] ; (800e448 ) - 800e370: 681b ldr r3, [r3, #0] - 800e372: 6adb ldr r3, [r3, #44] ; 0x2c - 800e374: 429a cmp r2, r3 - 800e376: d259 bcs.n 800e42c + 800df06: 68bb ldr r3, [r7, #8] + 800df08: 6ada ldr r2, [r3, #44] ; 0x2c + 800df0a: 4b36 ldr r3, [pc, #216] ; (800dfe4 ) + 800df0c: 681b ldr r3, [r3, #0] + 800df0e: 6adb ldr r3, [r3, #44] ; 0x2c + 800df10: 429a cmp r2, r3 + 800df12: d259 bcs.n 800dfc8 { /* Adjust the mutex holder state to account for its new priority. Only reset the event list item value if the value is not being used for anything else. */ if( ( listGET_LIST_ITEM_VALUE( &( pxMutexHolderTCB->xEventListItem ) ) & taskEVENT_LIST_ITEM_VALUE_IN_USE ) == 0UL ) - 800e378: 68bb ldr r3, [r7, #8] - 800e37a: 699b ldr r3, [r3, #24] - 800e37c: 2b00 cmp r3, #0 - 800e37e: db06 blt.n 800e38e + 800df14: 68bb ldr r3, [r7, #8] + 800df16: 699b ldr r3, [r3, #24] + 800df18: 2b00 cmp r3, #0 + 800df1a: db06 blt.n 800df2a { listSET_LIST_ITEM_VALUE( &( pxMutexHolderTCB->xEventListItem ), ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) pxCurrentTCB->uxPriority ); /*lint !e961 MISRA exception as the casts are only redundant for some ports. */ - 800e380: 4b31 ldr r3, [pc, #196] ; (800e448 ) - 800e382: 681b ldr r3, [r3, #0] - 800e384: 6adb ldr r3, [r3, #44] ; 0x2c - 800e386: f1c3 0207 rsb r2, r3, #7 - 800e38a: 68bb ldr r3, [r7, #8] - 800e38c: 619a str r2, [r3, #24] + 800df1c: 4b31 ldr r3, [pc, #196] ; (800dfe4 ) + 800df1e: 681b ldr r3, [r3, #0] + 800df20: 6adb ldr r3, [r3, #44] ; 0x2c + 800df22: f1c3 0207 rsb r2, r3, #7 + 800df26: 68bb ldr r3, [r7, #8] + 800df28: 619a str r2, [r3, #24] mtCOVERAGE_TEST_MARKER(); } /* If the task being modified is in the ready state it will need to be moved into a new list. */ if( listIS_CONTAINED_WITHIN( &( pxReadyTasksLists[ pxMutexHolderTCB->uxPriority ] ), &( pxMutexHolderTCB->xStateListItem ) ) != pdFALSE ) - 800e38e: 68bb ldr r3, [r7, #8] - 800e390: 6959 ldr r1, [r3, #20] - 800e392: 68bb ldr r3, [r7, #8] - 800e394: 6ada ldr r2, [r3, #44] ; 0x2c - 800e396: 4613 mov r3, r2 - 800e398: 009b lsls r3, r3, #2 - 800e39a: 4413 add r3, r2 - 800e39c: 009b lsls r3, r3, #2 - 800e39e: 4a2b ldr r2, [pc, #172] ; (800e44c ) - 800e3a0: 4413 add r3, r2 - 800e3a2: 4299 cmp r1, r3 - 800e3a4: d13a bne.n 800e41c + 800df2a: 68bb ldr r3, [r7, #8] + 800df2c: 6959 ldr r1, [r3, #20] + 800df2e: 68bb ldr r3, [r7, #8] + 800df30: 6ada ldr r2, [r3, #44] ; 0x2c + 800df32: 4613 mov r3, r2 + 800df34: 009b lsls r3, r3, #2 + 800df36: 4413 add r3, r2 + 800df38: 009b lsls r3, r3, #2 + 800df3a: 4a2b ldr r2, [pc, #172] ; (800dfe8 ) + 800df3c: 4413 add r3, r2 + 800df3e: 4299 cmp r1, r3 + 800df40: d13a bne.n 800dfb8 { if( uxListRemove( &( pxMutexHolderTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) - 800e3a6: 68bb ldr r3, [r7, #8] - 800e3a8: 3304 adds r3, #4 - 800e3aa: 4618 mov r0, r3 - 800e3ac: f7fe f880 bl 800c4b0 - 800e3b0: 4603 mov r3, r0 - 800e3b2: 2b00 cmp r3, #0 - 800e3b4: d115 bne.n 800e3e2 + 800df42: 68bb ldr r3, [r7, #8] + 800df44: 3304 adds r3, #4 + 800df46: 4618 mov r0, r3 + 800df48: f7fe f880 bl 800c04c + 800df4c: 4603 mov r3, r0 + 800df4e: 2b00 cmp r3, #0 + 800df50: d115 bne.n 800df7e { taskRESET_READY_PRIORITY( pxMutexHolderTCB->uxPriority ); - 800e3b6: 68bb ldr r3, [r7, #8] - 800e3b8: 6ada ldr r2, [r3, #44] ; 0x2c - 800e3ba: 4924 ldr r1, [pc, #144] ; (800e44c ) - 800e3bc: 4613 mov r3, r2 - 800e3be: 009b lsls r3, r3, #2 - 800e3c0: 4413 add r3, r2 - 800e3c2: 009b lsls r3, r3, #2 - 800e3c4: 440b add r3, r1 - 800e3c6: 681b ldr r3, [r3, #0] - 800e3c8: 2b00 cmp r3, #0 - 800e3ca: d10a bne.n 800e3e2 - 800e3cc: 68bb ldr r3, [r7, #8] - 800e3ce: 6adb ldr r3, [r3, #44] ; 0x2c - 800e3d0: 2201 movs r2, #1 - 800e3d2: fa02 f303 lsl.w r3, r2, r3 - 800e3d6: 43da mvns r2, r3 - 800e3d8: 4b1d ldr r3, [pc, #116] ; (800e450 ) - 800e3da: 681b ldr r3, [r3, #0] - 800e3dc: 4013 ands r3, r2 - 800e3de: 4a1c ldr r2, [pc, #112] ; (800e450 ) - 800e3e0: 6013 str r3, [r2, #0] + 800df52: 68bb ldr r3, [r7, #8] + 800df54: 6ada ldr r2, [r3, #44] ; 0x2c + 800df56: 4924 ldr r1, [pc, #144] ; (800dfe8 ) + 800df58: 4613 mov r3, r2 + 800df5a: 009b lsls r3, r3, #2 + 800df5c: 4413 add r3, r2 + 800df5e: 009b lsls r3, r3, #2 + 800df60: 440b add r3, r1 + 800df62: 681b ldr r3, [r3, #0] + 800df64: 2b00 cmp r3, #0 + 800df66: d10a bne.n 800df7e + 800df68: 68bb ldr r3, [r7, #8] + 800df6a: 6adb ldr r3, [r3, #44] ; 0x2c + 800df6c: 2201 movs r2, #1 + 800df6e: fa02 f303 lsl.w r3, r2, r3 + 800df72: 43da mvns r2, r3 + 800df74: 4b1d ldr r3, [pc, #116] ; (800dfec ) + 800df76: 681b ldr r3, [r3, #0] + 800df78: 4013 ands r3, r2 + 800df7a: 4a1c ldr r2, [pc, #112] ; (800dfec ) + 800df7c: 6013 str r3, [r2, #0] { mtCOVERAGE_TEST_MARKER(); } /* Inherit the priority before being moved into the new list. */ pxMutexHolderTCB->uxPriority = pxCurrentTCB->uxPriority; - 800e3e2: 4b19 ldr r3, [pc, #100] ; (800e448 ) - 800e3e4: 681b ldr r3, [r3, #0] - 800e3e6: 6ada ldr r2, [r3, #44] ; 0x2c - 800e3e8: 68bb ldr r3, [r7, #8] - 800e3ea: 62da str r2, [r3, #44] ; 0x2c + 800df7e: 4b19 ldr r3, [pc, #100] ; (800dfe4 ) + 800df80: 681b ldr r3, [r3, #0] + 800df82: 6ada ldr r2, [r3, #44] ; 0x2c + 800df84: 68bb ldr r3, [r7, #8] + 800df86: 62da str r2, [r3, #44] ; 0x2c prvAddTaskToReadyList( pxMutexHolderTCB ); - 800e3ec: 68bb ldr r3, [r7, #8] - 800e3ee: 6adb ldr r3, [r3, #44] ; 0x2c - 800e3f0: 2201 movs r2, #1 - 800e3f2: 409a lsls r2, r3 - 800e3f4: 4b16 ldr r3, [pc, #88] ; (800e450 ) - 800e3f6: 681b ldr r3, [r3, #0] - 800e3f8: 4313 orrs r3, r2 - 800e3fa: 4a15 ldr r2, [pc, #84] ; (800e450 ) - 800e3fc: 6013 str r3, [r2, #0] - 800e3fe: 68bb ldr r3, [r7, #8] - 800e400: 6ada ldr r2, [r3, #44] ; 0x2c - 800e402: 4613 mov r3, r2 - 800e404: 009b lsls r3, r3, #2 - 800e406: 4413 add r3, r2 - 800e408: 009b lsls r3, r3, #2 - 800e40a: 4a10 ldr r2, [pc, #64] ; (800e44c ) - 800e40c: 441a add r2, r3 - 800e40e: 68bb ldr r3, [r7, #8] - 800e410: 3304 adds r3, #4 - 800e412: 4619 mov r1, r3 - 800e414: 4610 mov r0, r2 - 800e416: f7fd ffee bl 800c3f6 - 800e41a: e004 b.n 800e426 + 800df88: 68bb ldr r3, [r7, #8] + 800df8a: 6adb ldr r3, [r3, #44] ; 0x2c + 800df8c: 2201 movs r2, #1 + 800df8e: 409a lsls r2, r3 + 800df90: 4b16 ldr r3, [pc, #88] ; (800dfec ) + 800df92: 681b ldr r3, [r3, #0] + 800df94: 4313 orrs r3, r2 + 800df96: 4a15 ldr r2, [pc, #84] ; (800dfec ) + 800df98: 6013 str r3, [r2, #0] + 800df9a: 68bb ldr r3, [r7, #8] + 800df9c: 6ada ldr r2, [r3, #44] ; 0x2c + 800df9e: 4613 mov r3, r2 + 800dfa0: 009b lsls r3, r3, #2 + 800dfa2: 4413 add r3, r2 + 800dfa4: 009b lsls r3, r3, #2 + 800dfa6: 4a10 ldr r2, [pc, #64] ; (800dfe8 ) + 800dfa8: 441a add r2, r3 + 800dfaa: 68bb ldr r3, [r7, #8] + 800dfac: 3304 adds r3, #4 + 800dfae: 4619 mov r1, r3 + 800dfb0: 4610 mov r0, r2 + 800dfb2: f7fd ffee bl 800bf92 + 800dfb6: e004 b.n 800dfc2 } else { /* Just inherit the priority. */ pxMutexHolderTCB->uxPriority = pxCurrentTCB->uxPriority; - 800e41c: 4b0a ldr r3, [pc, #40] ; (800e448 ) - 800e41e: 681b ldr r3, [r3, #0] - 800e420: 6ada ldr r2, [r3, #44] ; 0x2c - 800e422: 68bb ldr r3, [r7, #8] - 800e424: 62da str r2, [r3, #44] ; 0x2c + 800dfb8: 4b0a ldr r3, [pc, #40] ; (800dfe4 ) + 800dfba: 681b ldr r3, [r3, #0] + 800dfbc: 6ada ldr r2, [r3, #44] ; 0x2c + 800dfbe: 68bb ldr r3, [r7, #8] + 800dfc0: 62da str r2, [r3, #44] ; 0x2c } traceTASK_PRIORITY_INHERIT( pxMutexHolderTCB, pxCurrentTCB->uxPriority ); /* Inheritance occurred. */ xReturn = pdTRUE; - 800e426: 2301 movs r3, #1 - 800e428: 60fb str r3, [r7, #12] - 800e42a: e008 b.n 800e43e + 800dfc2: 2301 movs r3, #1 + 800dfc4: 60fb str r3, [r7, #12] + 800dfc6: e008 b.n 800dfda } else { if( pxMutexHolderTCB->uxBasePriority < pxCurrentTCB->uxPriority ) - 800e42c: 68bb ldr r3, [r7, #8] - 800e42e: 6c5a ldr r2, [r3, #68] ; 0x44 - 800e430: 4b05 ldr r3, [pc, #20] ; (800e448 ) - 800e432: 681b ldr r3, [r3, #0] - 800e434: 6adb ldr r3, [r3, #44] ; 0x2c - 800e436: 429a cmp r2, r3 - 800e438: d201 bcs.n 800e43e + 800dfc8: 68bb ldr r3, [r7, #8] + 800dfca: 6c5a ldr r2, [r3, #68] ; 0x44 + 800dfcc: 4b05 ldr r3, [pc, #20] ; (800dfe4 ) + 800dfce: 681b ldr r3, [r3, #0] + 800dfd0: 6adb ldr r3, [r3, #44] ; 0x2c + 800dfd2: 429a cmp r2, r3 + 800dfd4: d201 bcs.n 800dfda current priority of the mutex holder is not lower than the priority of the task attempting to take the mutex. Therefore the mutex holder must have already inherited a priority, but inheritance would have occurred if that had not been the case. */ xReturn = pdTRUE; - 800e43a: 2301 movs r3, #1 - 800e43c: 60fb str r3, [r7, #12] + 800dfd6: 2301 movs r3, #1 + 800dfd8: 60fb str r3, [r7, #12] else { mtCOVERAGE_TEST_MARKER(); } return xReturn; - 800e43e: 68fb ldr r3, [r7, #12] + 800dfda: 68fb ldr r3, [r7, #12] } - 800e440: 4618 mov r0, r3 - 800e442: 3710 adds r7, #16 - 800e444: 46bd mov sp, r7 - 800e446: bd80 pop {r7, pc} - 800e448: 2000058c .word 0x2000058c - 800e44c: 20000590 .word 0x20000590 - 800e450: 20000694 .word 0x20000694 + 800dfdc: 4618 mov r0, r3 + 800dfde: 3710 adds r7, #16 + 800dfe0: 46bd mov sp, r7 + 800dfe2: bd80 pop {r7, pc} + 800dfe4: 2000058c .word 0x2000058c + 800dfe8: 20000590 .word 0x20000590 + 800dfec: 20000694 .word 0x20000694 -0800e454 : +0800dff0 : /*-----------------------------------------------------------*/ #if ( configUSE_MUTEXES == 1 ) BaseType_t xTaskPriorityDisinherit( TaskHandle_t const pxMutexHolder ) { - 800e454: b580 push {r7, lr} - 800e456: b086 sub sp, #24 - 800e458: af00 add r7, sp, #0 - 800e45a: 6078 str r0, [r7, #4] + 800dff0: b580 push {r7, lr} + 800dff2: b086 sub sp, #24 + 800dff4: af00 add r7, sp, #0 + 800dff6: 6078 str r0, [r7, #4] TCB_t * const pxTCB = pxMutexHolder; - 800e45c: 687b ldr r3, [r7, #4] - 800e45e: 613b str r3, [r7, #16] + 800dff8: 687b ldr r3, [r7, #4] + 800dffa: 613b str r3, [r7, #16] BaseType_t xReturn = pdFALSE; - 800e460: 2300 movs r3, #0 - 800e462: 617b str r3, [r7, #20] + 800dffc: 2300 movs r3, #0 + 800dffe: 617b str r3, [r7, #20] if( pxMutexHolder != NULL ) - 800e464: 687b ldr r3, [r7, #4] - 800e466: 2b00 cmp r3, #0 - 800e468: d070 beq.n 800e54c + 800e000: 687b ldr r3, [r7, #4] + 800e002: 2b00 cmp r3, #0 + 800e004: d070 beq.n 800e0e8 { /* A task can only have an inherited priority if it holds the mutex. If the mutex is held by a task then it cannot be given from an interrupt, and if a mutex is given by the holding task then it must be the running state task. */ configASSERT( pxTCB == pxCurrentTCB ); - 800e46a: 4b3b ldr r3, [pc, #236] ; (800e558 ) - 800e46c: 681b ldr r3, [r3, #0] - 800e46e: 693a ldr r2, [r7, #16] - 800e470: 429a cmp r2, r3 - 800e472: d00b beq.n 800e48c - 800e474: f04f 0350 mov.w r3, #80 ; 0x50 - 800e478: b672 cpsid i - 800e47a: f383 8811 msr BASEPRI, r3 - 800e47e: f3bf 8f6f isb sy - 800e482: f3bf 8f4f dsb sy - 800e486: b662 cpsie i - 800e488: 60fb str r3, [r7, #12] - 800e48a: e7fe b.n 800e48a + 800e006: 4b3b ldr r3, [pc, #236] ; (800e0f4 ) + 800e008: 681b ldr r3, [r3, #0] + 800e00a: 693a ldr r2, [r7, #16] + 800e00c: 429a cmp r2, r3 + 800e00e: d00b beq.n 800e028 + 800e010: f04f 0350 mov.w r3, #80 ; 0x50 + 800e014: b672 cpsid i + 800e016: f383 8811 msr BASEPRI, r3 + 800e01a: f3bf 8f6f isb sy + 800e01e: f3bf 8f4f dsb sy + 800e022: b662 cpsie i + 800e024: 60fb str r3, [r7, #12] + 800e026: e7fe b.n 800e026 configASSERT( pxTCB->uxMutexesHeld ); - 800e48c: 693b ldr r3, [r7, #16] - 800e48e: 6c9b ldr r3, [r3, #72] ; 0x48 - 800e490: 2b00 cmp r3, #0 - 800e492: d10b bne.n 800e4ac - 800e494: f04f 0350 mov.w r3, #80 ; 0x50 - 800e498: b672 cpsid i - 800e49a: f383 8811 msr BASEPRI, r3 - 800e49e: f3bf 8f6f isb sy - 800e4a2: f3bf 8f4f dsb sy - 800e4a6: b662 cpsie i - 800e4a8: 60bb str r3, [r7, #8] - 800e4aa: e7fe b.n 800e4aa + 800e028: 693b ldr r3, [r7, #16] + 800e02a: 6c9b ldr r3, [r3, #72] ; 0x48 + 800e02c: 2b00 cmp r3, #0 + 800e02e: d10b bne.n 800e048 + 800e030: f04f 0350 mov.w r3, #80 ; 0x50 + 800e034: b672 cpsid i + 800e036: f383 8811 msr BASEPRI, r3 + 800e03a: f3bf 8f6f isb sy + 800e03e: f3bf 8f4f dsb sy + 800e042: b662 cpsie i + 800e044: 60bb str r3, [r7, #8] + 800e046: e7fe b.n 800e046 ( pxTCB->uxMutexesHeld )--; - 800e4ac: 693b ldr r3, [r7, #16] - 800e4ae: 6c9b ldr r3, [r3, #72] ; 0x48 - 800e4b0: 1e5a subs r2, r3, #1 - 800e4b2: 693b ldr r3, [r7, #16] - 800e4b4: 649a str r2, [r3, #72] ; 0x48 + 800e048: 693b ldr r3, [r7, #16] + 800e04a: 6c9b ldr r3, [r3, #72] ; 0x48 + 800e04c: 1e5a subs r2, r3, #1 + 800e04e: 693b ldr r3, [r7, #16] + 800e050: 649a str r2, [r3, #72] ; 0x48 /* Has the holder of the mutex inherited the priority of another task? */ if( pxTCB->uxPriority != pxTCB->uxBasePriority ) - 800e4b6: 693b ldr r3, [r7, #16] - 800e4b8: 6ada ldr r2, [r3, #44] ; 0x2c - 800e4ba: 693b ldr r3, [r7, #16] - 800e4bc: 6c5b ldr r3, [r3, #68] ; 0x44 - 800e4be: 429a cmp r2, r3 - 800e4c0: d044 beq.n 800e54c + 800e052: 693b ldr r3, [r7, #16] + 800e054: 6ada ldr r2, [r3, #44] ; 0x2c + 800e056: 693b ldr r3, [r7, #16] + 800e058: 6c5b ldr r3, [r3, #68] ; 0x44 + 800e05a: 429a cmp r2, r3 + 800e05c: d044 beq.n 800e0e8 { /* Only disinherit if no other mutexes are held. */ if( pxTCB->uxMutexesHeld == ( UBaseType_t ) 0 ) - 800e4c2: 693b ldr r3, [r7, #16] - 800e4c4: 6c9b ldr r3, [r3, #72] ; 0x48 - 800e4c6: 2b00 cmp r3, #0 - 800e4c8: d140 bne.n 800e54c + 800e05e: 693b ldr r3, [r7, #16] + 800e060: 6c9b ldr r3, [r3, #72] ; 0x48 + 800e062: 2b00 cmp r3, #0 + 800e064: d140 bne.n 800e0e8 /* A task can only have an inherited priority if it holds the mutex. If the mutex is held by a task then it cannot be given from an interrupt, and if a mutex is given by the holding task then it must be the running state task. Remove the holding task from the ready list. */ if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) - 800e4ca: 693b ldr r3, [r7, #16] - 800e4cc: 3304 adds r3, #4 - 800e4ce: 4618 mov r0, r3 - 800e4d0: f7fd ffee bl 800c4b0 - 800e4d4: 4603 mov r3, r0 - 800e4d6: 2b00 cmp r3, #0 - 800e4d8: d115 bne.n 800e506 + 800e066: 693b ldr r3, [r7, #16] + 800e068: 3304 adds r3, #4 + 800e06a: 4618 mov r0, r3 + 800e06c: f7fd ffee bl 800c04c + 800e070: 4603 mov r3, r0 + 800e072: 2b00 cmp r3, #0 + 800e074: d115 bne.n 800e0a2 { taskRESET_READY_PRIORITY( pxTCB->uxPriority ); - 800e4da: 693b ldr r3, [r7, #16] - 800e4dc: 6ada ldr r2, [r3, #44] ; 0x2c - 800e4de: 491f ldr r1, [pc, #124] ; (800e55c ) - 800e4e0: 4613 mov r3, r2 - 800e4e2: 009b lsls r3, r3, #2 - 800e4e4: 4413 add r3, r2 - 800e4e6: 009b lsls r3, r3, #2 - 800e4e8: 440b add r3, r1 - 800e4ea: 681b ldr r3, [r3, #0] - 800e4ec: 2b00 cmp r3, #0 - 800e4ee: d10a bne.n 800e506 - 800e4f0: 693b ldr r3, [r7, #16] - 800e4f2: 6adb ldr r3, [r3, #44] ; 0x2c - 800e4f4: 2201 movs r2, #1 - 800e4f6: fa02 f303 lsl.w r3, r2, r3 - 800e4fa: 43da mvns r2, r3 - 800e4fc: 4b18 ldr r3, [pc, #96] ; (800e560 ) - 800e4fe: 681b ldr r3, [r3, #0] - 800e500: 4013 ands r3, r2 - 800e502: 4a17 ldr r2, [pc, #92] ; (800e560 ) - 800e504: 6013 str r3, [r2, #0] + 800e076: 693b ldr r3, [r7, #16] + 800e078: 6ada ldr r2, [r3, #44] ; 0x2c + 800e07a: 491f ldr r1, [pc, #124] ; (800e0f8 ) + 800e07c: 4613 mov r3, r2 + 800e07e: 009b lsls r3, r3, #2 + 800e080: 4413 add r3, r2 + 800e082: 009b lsls r3, r3, #2 + 800e084: 440b add r3, r1 + 800e086: 681b ldr r3, [r3, #0] + 800e088: 2b00 cmp r3, #0 + 800e08a: d10a bne.n 800e0a2 + 800e08c: 693b ldr r3, [r7, #16] + 800e08e: 6adb ldr r3, [r3, #44] ; 0x2c + 800e090: 2201 movs r2, #1 + 800e092: fa02 f303 lsl.w r3, r2, r3 + 800e096: 43da mvns r2, r3 + 800e098: 4b18 ldr r3, [pc, #96] ; (800e0fc ) + 800e09a: 681b ldr r3, [r3, #0] + 800e09c: 4013 ands r3, r2 + 800e09e: 4a17 ldr r2, [pc, #92] ; (800e0fc ) + 800e0a0: 6013 str r3, [r2, #0] } /* Disinherit the priority before adding the task into the new ready list. */ traceTASK_PRIORITY_DISINHERIT( pxTCB, pxTCB->uxBasePriority ); pxTCB->uxPriority = pxTCB->uxBasePriority; - 800e506: 693b ldr r3, [r7, #16] - 800e508: 6c5a ldr r2, [r3, #68] ; 0x44 - 800e50a: 693b ldr r3, [r7, #16] - 800e50c: 62da str r2, [r3, #44] ; 0x2c + 800e0a2: 693b ldr r3, [r7, #16] + 800e0a4: 6c5a ldr r2, [r3, #68] ; 0x44 + 800e0a6: 693b ldr r3, [r7, #16] + 800e0a8: 62da str r2, [r3, #44] ; 0x2c /* Reset the event list item value. It cannot be in use for any other purpose if this task is running, and it must be running to give back the mutex. */ listSET_LIST_ITEM_VALUE( &( pxTCB->xEventListItem ), ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) pxTCB->uxPriority ); /*lint !e961 MISRA exception as the casts are only redundant for some ports. */ - 800e50e: 693b ldr r3, [r7, #16] - 800e510: 6adb ldr r3, [r3, #44] ; 0x2c - 800e512: f1c3 0207 rsb r2, r3, #7 - 800e516: 693b ldr r3, [r7, #16] - 800e518: 619a str r2, [r3, #24] + 800e0aa: 693b ldr r3, [r7, #16] + 800e0ac: 6adb ldr r3, [r3, #44] ; 0x2c + 800e0ae: f1c3 0207 rsb r2, r3, #7 + 800e0b2: 693b ldr r3, [r7, #16] + 800e0b4: 619a str r2, [r3, #24] prvAddTaskToReadyList( pxTCB ); - 800e51a: 693b ldr r3, [r7, #16] - 800e51c: 6adb ldr r3, [r3, #44] ; 0x2c - 800e51e: 2201 movs r2, #1 - 800e520: 409a lsls r2, r3 - 800e522: 4b0f ldr r3, [pc, #60] ; (800e560 ) - 800e524: 681b ldr r3, [r3, #0] - 800e526: 4313 orrs r3, r2 - 800e528: 4a0d ldr r2, [pc, #52] ; (800e560 ) - 800e52a: 6013 str r3, [r2, #0] - 800e52c: 693b ldr r3, [r7, #16] - 800e52e: 6ada ldr r2, [r3, #44] ; 0x2c - 800e530: 4613 mov r3, r2 - 800e532: 009b lsls r3, r3, #2 - 800e534: 4413 add r3, r2 - 800e536: 009b lsls r3, r3, #2 - 800e538: 4a08 ldr r2, [pc, #32] ; (800e55c ) - 800e53a: 441a add r2, r3 - 800e53c: 693b ldr r3, [r7, #16] - 800e53e: 3304 adds r3, #4 - 800e540: 4619 mov r1, r3 - 800e542: 4610 mov r0, r2 - 800e544: f7fd ff57 bl 800c3f6 + 800e0b6: 693b ldr r3, [r7, #16] + 800e0b8: 6adb ldr r3, [r3, #44] ; 0x2c + 800e0ba: 2201 movs r2, #1 + 800e0bc: 409a lsls r2, r3 + 800e0be: 4b0f ldr r3, [pc, #60] ; (800e0fc ) + 800e0c0: 681b ldr r3, [r3, #0] + 800e0c2: 4313 orrs r3, r2 + 800e0c4: 4a0d ldr r2, [pc, #52] ; (800e0fc ) + 800e0c6: 6013 str r3, [r2, #0] + 800e0c8: 693b ldr r3, [r7, #16] + 800e0ca: 6ada ldr r2, [r3, #44] ; 0x2c + 800e0cc: 4613 mov r3, r2 + 800e0ce: 009b lsls r3, r3, #2 + 800e0d0: 4413 add r3, r2 + 800e0d2: 009b lsls r3, r3, #2 + 800e0d4: 4a08 ldr r2, [pc, #32] ; (800e0f8 ) + 800e0d6: 441a add r2, r3 + 800e0d8: 693b ldr r3, [r7, #16] + 800e0da: 3304 adds r3, #4 + 800e0dc: 4619 mov r1, r3 + 800e0de: 4610 mov r0, r2 + 800e0e0: f7fd ff57 bl 800bf92 in an order different to that in which they were taken. If a context switch did not occur when the first mutex was returned, even if a task was waiting on it, then a context switch should occur when the last mutex is returned whether a task is waiting on it or not. */ xReturn = pdTRUE; - 800e548: 2301 movs r3, #1 - 800e54a: 617b str r3, [r7, #20] + 800e0e4: 2301 movs r3, #1 + 800e0e6: 617b str r3, [r7, #20] else { mtCOVERAGE_TEST_MARKER(); } return xReturn; - 800e54c: 697b ldr r3, [r7, #20] + 800e0e8: 697b ldr r3, [r7, #20] } - 800e54e: 4618 mov r0, r3 - 800e550: 3718 adds r7, #24 - 800e552: 46bd mov sp, r7 - 800e554: bd80 pop {r7, pc} - 800e556: bf00 nop - 800e558: 2000058c .word 0x2000058c - 800e55c: 20000590 .word 0x20000590 - 800e560: 20000694 .word 0x20000694 + 800e0ea: 4618 mov r0, r3 + 800e0ec: 3718 adds r7, #24 + 800e0ee: 46bd mov sp, r7 + 800e0f0: bd80 pop {r7, pc} + 800e0f2: bf00 nop + 800e0f4: 2000058c .word 0x2000058c + 800e0f8: 20000590 .word 0x20000590 + 800e0fc: 20000694 .word 0x20000694 -0800e564 : +0800e100 : /*-----------------------------------------------------------*/ #if ( configUSE_MUTEXES == 1 ) void vTaskPriorityDisinheritAfterTimeout( TaskHandle_t const pxMutexHolder, UBaseType_t uxHighestPriorityWaitingTask ) { - 800e564: b580 push {r7, lr} - 800e566: b088 sub sp, #32 - 800e568: af00 add r7, sp, #0 - 800e56a: 6078 str r0, [r7, #4] - 800e56c: 6039 str r1, [r7, #0] + 800e100: b580 push {r7, lr} + 800e102: b088 sub sp, #32 + 800e104: af00 add r7, sp, #0 + 800e106: 6078 str r0, [r7, #4] + 800e108: 6039 str r1, [r7, #0] TCB_t * const pxTCB = pxMutexHolder; - 800e56e: 687b ldr r3, [r7, #4] - 800e570: 61bb str r3, [r7, #24] + 800e10a: 687b ldr r3, [r7, #4] + 800e10c: 61bb str r3, [r7, #24] UBaseType_t uxPriorityUsedOnEntry, uxPriorityToUse; const UBaseType_t uxOnlyOneMutexHeld = ( UBaseType_t ) 1; - 800e572: 2301 movs r3, #1 - 800e574: 617b str r3, [r7, #20] + 800e10e: 2301 movs r3, #1 + 800e110: 617b str r3, [r7, #20] if( pxMutexHolder != NULL ) - 800e576: 687b ldr r3, [r7, #4] - 800e578: 2b00 cmp r3, #0 - 800e57a: f000 8085 beq.w 800e688 + 800e112: 687b ldr r3, [r7, #4] + 800e114: 2b00 cmp r3, #0 + 800e116: f000 8085 beq.w 800e224 { /* If pxMutexHolder is not NULL then the holder must hold at least one mutex. */ configASSERT( pxTCB->uxMutexesHeld ); - 800e57e: 69bb ldr r3, [r7, #24] - 800e580: 6c9b ldr r3, [r3, #72] ; 0x48 - 800e582: 2b00 cmp r3, #0 - 800e584: d10b bne.n 800e59e - 800e586: f04f 0350 mov.w r3, #80 ; 0x50 - 800e58a: b672 cpsid i - 800e58c: f383 8811 msr BASEPRI, r3 - 800e590: f3bf 8f6f isb sy - 800e594: f3bf 8f4f dsb sy - 800e598: b662 cpsie i - 800e59a: 60fb str r3, [r7, #12] - 800e59c: e7fe b.n 800e59c + 800e11a: 69bb ldr r3, [r7, #24] + 800e11c: 6c9b ldr r3, [r3, #72] ; 0x48 + 800e11e: 2b00 cmp r3, #0 + 800e120: d10b bne.n 800e13a + 800e122: f04f 0350 mov.w r3, #80 ; 0x50 + 800e126: b672 cpsid i + 800e128: f383 8811 msr BASEPRI, r3 + 800e12c: f3bf 8f6f isb sy + 800e130: f3bf 8f4f dsb sy + 800e134: b662 cpsie i + 800e136: 60fb str r3, [r7, #12] + 800e138: e7fe b.n 800e138 /* Determine the priority to which the priority of the task that holds the mutex should be set. This will be the greater of the holding task's base priority and the priority of the highest priority task that is waiting to obtain the mutex. */ if( pxTCB->uxBasePriority < uxHighestPriorityWaitingTask ) - 800e59e: 69bb ldr r3, [r7, #24] - 800e5a0: 6c5b ldr r3, [r3, #68] ; 0x44 - 800e5a2: 683a ldr r2, [r7, #0] - 800e5a4: 429a cmp r2, r3 - 800e5a6: d902 bls.n 800e5ae + 800e13a: 69bb ldr r3, [r7, #24] + 800e13c: 6c5b ldr r3, [r3, #68] ; 0x44 + 800e13e: 683a ldr r2, [r7, #0] + 800e140: 429a cmp r2, r3 + 800e142: d902 bls.n 800e14a { uxPriorityToUse = uxHighestPriorityWaitingTask; - 800e5a8: 683b ldr r3, [r7, #0] - 800e5aa: 61fb str r3, [r7, #28] - 800e5ac: e002 b.n 800e5b4 + 800e144: 683b ldr r3, [r7, #0] + 800e146: 61fb str r3, [r7, #28] + 800e148: e002 b.n 800e150 } else { uxPriorityToUse = pxTCB->uxBasePriority; - 800e5ae: 69bb ldr r3, [r7, #24] - 800e5b0: 6c5b ldr r3, [r3, #68] ; 0x44 - 800e5b2: 61fb str r3, [r7, #28] + 800e14a: 69bb ldr r3, [r7, #24] + 800e14c: 6c5b ldr r3, [r3, #68] ; 0x44 + 800e14e: 61fb str r3, [r7, #28] } /* Does the priority need to change? */ if( pxTCB->uxPriority != uxPriorityToUse ) - 800e5b4: 69bb ldr r3, [r7, #24] - 800e5b6: 6adb ldr r3, [r3, #44] ; 0x2c - 800e5b8: 69fa ldr r2, [r7, #28] - 800e5ba: 429a cmp r2, r3 - 800e5bc: d064 beq.n 800e688 + 800e150: 69bb ldr r3, [r7, #24] + 800e152: 6adb ldr r3, [r3, #44] ; 0x2c + 800e154: 69fa ldr r2, [r7, #28] + 800e156: 429a cmp r2, r3 + 800e158: d064 beq.n 800e224 { /* Only disinherit if no other mutexes are held. This is a simplification in the priority inheritance implementation. If the task that holds the mutex is also holding other mutexes then the other mutexes may have caused the priority inheritance. */ if( pxTCB->uxMutexesHeld == uxOnlyOneMutexHeld ) - 800e5be: 69bb ldr r3, [r7, #24] - 800e5c0: 6c9b ldr r3, [r3, #72] ; 0x48 - 800e5c2: 697a ldr r2, [r7, #20] - 800e5c4: 429a cmp r2, r3 - 800e5c6: d15f bne.n 800e688 + 800e15a: 69bb ldr r3, [r7, #24] + 800e15c: 6c9b ldr r3, [r3, #72] ; 0x48 + 800e15e: 697a ldr r2, [r7, #20] + 800e160: 429a cmp r2, r3 + 800e162: d15f bne.n 800e224 { /* If a task has timed out because it already holds the mutex it was trying to obtain then it cannot of inherited its own priority. */ configASSERT( pxTCB != pxCurrentTCB ); - 800e5c8: 4b31 ldr r3, [pc, #196] ; (800e690 ) - 800e5ca: 681b ldr r3, [r3, #0] - 800e5cc: 69ba ldr r2, [r7, #24] - 800e5ce: 429a cmp r2, r3 - 800e5d0: d10b bne.n 800e5ea - 800e5d2: f04f 0350 mov.w r3, #80 ; 0x50 - 800e5d6: b672 cpsid i - 800e5d8: f383 8811 msr BASEPRI, r3 - 800e5dc: f3bf 8f6f isb sy - 800e5e0: f3bf 8f4f dsb sy - 800e5e4: b662 cpsie i - 800e5e6: 60bb str r3, [r7, #8] - 800e5e8: e7fe b.n 800e5e8 + 800e164: 4b31 ldr r3, [pc, #196] ; (800e22c ) + 800e166: 681b ldr r3, [r3, #0] + 800e168: 69ba ldr r2, [r7, #24] + 800e16a: 429a cmp r2, r3 + 800e16c: d10b bne.n 800e186 + 800e16e: f04f 0350 mov.w r3, #80 ; 0x50 + 800e172: b672 cpsid i + 800e174: f383 8811 msr BASEPRI, r3 + 800e178: f3bf 8f6f isb sy + 800e17c: f3bf 8f4f dsb sy + 800e180: b662 cpsie i + 800e182: 60bb str r3, [r7, #8] + 800e184: e7fe b.n 800e184 /* Disinherit the priority, remembering the previous priority to facilitate determining the subject task's state. */ traceTASK_PRIORITY_DISINHERIT( pxTCB, pxTCB->uxBasePriority ); uxPriorityUsedOnEntry = pxTCB->uxPriority; - 800e5ea: 69bb ldr r3, [r7, #24] - 800e5ec: 6adb ldr r3, [r3, #44] ; 0x2c - 800e5ee: 613b str r3, [r7, #16] + 800e186: 69bb ldr r3, [r7, #24] + 800e188: 6adb ldr r3, [r3, #44] ; 0x2c + 800e18a: 613b str r3, [r7, #16] pxTCB->uxPriority = uxPriorityToUse; - 800e5f0: 69bb ldr r3, [r7, #24] - 800e5f2: 69fa ldr r2, [r7, #28] - 800e5f4: 62da str r2, [r3, #44] ; 0x2c + 800e18c: 69bb ldr r3, [r7, #24] + 800e18e: 69fa ldr r2, [r7, #28] + 800e190: 62da str r2, [r3, #44] ; 0x2c /* Only reset the event list item value if the value is not being used for anything else. */ if( ( listGET_LIST_ITEM_VALUE( &( pxTCB->xEventListItem ) ) & taskEVENT_LIST_ITEM_VALUE_IN_USE ) == 0UL ) - 800e5f6: 69bb ldr r3, [r7, #24] - 800e5f8: 699b ldr r3, [r3, #24] - 800e5fa: 2b00 cmp r3, #0 - 800e5fc: db04 blt.n 800e608 + 800e192: 69bb ldr r3, [r7, #24] + 800e194: 699b ldr r3, [r3, #24] + 800e196: 2b00 cmp r3, #0 + 800e198: db04 blt.n 800e1a4 { listSET_LIST_ITEM_VALUE( &( pxTCB->xEventListItem ), ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) uxPriorityToUse ); /*lint !e961 MISRA exception as the casts are only redundant for some ports. */ - 800e5fe: 69fb ldr r3, [r7, #28] - 800e600: f1c3 0207 rsb r2, r3, #7 - 800e604: 69bb ldr r3, [r7, #24] - 800e606: 619a str r2, [r3, #24] + 800e19a: 69fb ldr r3, [r7, #28] + 800e19c: f1c3 0207 rsb r2, r3, #7 + 800e1a0: 69bb ldr r3, [r7, #24] + 800e1a2: 619a str r2, [r3, #24] then the task that holds the mutex could be in either the Ready, Blocked or Suspended states. Only remove the task from its current state list if it is in the Ready state as the task's priority is going to change and there is one Ready list per priority. */ if( listIS_CONTAINED_WITHIN( &( pxReadyTasksLists[ uxPriorityUsedOnEntry ] ), &( pxTCB->xStateListItem ) ) != pdFALSE ) - 800e608: 69bb ldr r3, [r7, #24] - 800e60a: 6959 ldr r1, [r3, #20] - 800e60c: 693a ldr r2, [r7, #16] - 800e60e: 4613 mov r3, r2 - 800e610: 009b lsls r3, r3, #2 - 800e612: 4413 add r3, r2 - 800e614: 009b lsls r3, r3, #2 - 800e616: 4a1f ldr r2, [pc, #124] ; (800e694 ) - 800e618: 4413 add r3, r2 - 800e61a: 4299 cmp r1, r3 - 800e61c: d134 bne.n 800e688 + 800e1a4: 69bb ldr r3, [r7, #24] + 800e1a6: 6959 ldr r1, [r3, #20] + 800e1a8: 693a ldr r2, [r7, #16] + 800e1aa: 4613 mov r3, r2 + 800e1ac: 009b lsls r3, r3, #2 + 800e1ae: 4413 add r3, r2 + 800e1b0: 009b lsls r3, r3, #2 + 800e1b2: 4a1f ldr r2, [pc, #124] ; (800e230 ) + 800e1b4: 4413 add r3, r2 + 800e1b6: 4299 cmp r1, r3 + 800e1b8: d134 bne.n 800e224 { if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) - 800e61e: 69bb ldr r3, [r7, #24] - 800e620: 3304 adds r3, #4 - 800e622: 4618 mov r0, r3 - 800e624: f7fd ff44 bl 800c4b0 - 800e628: 4603 mov r3, r0 - 800e62a: 2b00 cmp r3, #0 - 800e62c: d115 bne.n 800e65a + 800e1ba: 69bb ldr r3, [r7, #24] + 800e1bc: 3304 adds r3, #4 + 800e1be: 4618 mov r0, r3 + 800e1c0: f7fd ff44 bl 800c04c + 800e1c4: 4603 mov r3, r0 + 800e1c6: 2b00 cmp r3, #0 + 800e1c8: d115 bne.n 800e1f6 { taskRESET_READY_PRIORITY( pxTCB->uxPriority ); - 800e62e: 69bb ldr r3, [r7, #24] - 800e630: 6ada ldr r2, [r3, #44] ; 0x2c - 800e632: 4918 ldr r1, [pc, #96] ; (800e694 ) - 800e634: 4613 mov r3, r2 - 800e636: 009b lsls r3, r3, #2 - 800e638: 4413 add r3, r2 - 800e63a: 009b lsls r3, r3, #2 - 800e63c: 440b add r3, r1 - 800e63e: 681b ldr r3, [r3, #0] - 800e640: 2b00 cmp r3, #0 - 800e642: d10a bne.n 800e65a - 800e644: 69bb ldr r3, [r7, #24] - 800e646: 6adb ldr r3, [r3, #44] ; 0x2c - 800e648: 2201 movs r2, #1 - 800e64a: fa02 f303 lsl.w r3, r2, r3 - 800e64e: 43da mvns r2, r3 - 800e650: 4b11 ldr r3, [pc, #68] ; (800e698 ) - 800e652: 681b ldr r3, [r3, #0] - 800e654: 4013 ands r3, r2 - 800e656: 4a10 ldr r2, [pc, #64] ; (800e698 ) - 800e658: 6013 str r3, [r2, #0] + 800e1ca: 69bb ldr r3, [r7, #24] + 800e1cc: 6ada ldr r2, [r3, #44] ; 0x2c + 800e1ce: 4918 ldr r1, [pc, #96] ; (800e230 ) + 800e1d0: 4613 mov r3, r2 + 800e1d2: 009b lsls r3, r3, #2 + 800e1d4: 4413 add r3, r2 + 800e1d6: 009b lsls r3, r3, #2 + 800e1d8: 440b add r3, r1 + 800e1da: 681b ldr r3, [r3, #0] + 800e1dc: 2b00 cmp r3, #0 + 800e1de: d10a bne.n 800e1f6 + 800e1e0: 69bb ldr r3, [r7, #24] + 800e1e2: 6adb ldr r3, [r3, #44] ; 0x2c + 800e1e4: 2201 movs r2, #1 + 800e1e6: fa02 f303 lsl.w r3, r2, r3 + 800e1ea: 43da mvns r2, r3 + 800e1ec: 4b11 ldr r3, [pc, #68] ; (800e234 ) + 800e1ee: 681b ldr r3, [r3, #0] + 800e1f0: 4013 ands r3, r2 + 800e1f2: 4a10 ldr r2, [pc, #64] ; (800e234 ) + 800e1f4: 6013 str r3, [r2, #0] else { mtCOVERAGE_TEST_MARKER(); } prvAddTaskToReadyList( pxTCB ); - 800e65a: 69bb ldr r3, [r7, #24] - 800e65c: 6adb ldr r3, [r3, #44] ; 0x2c - 800e65e: 2201 movs r2, #1 - 800e660: 409a lsls r2, r3 - 800e662: 4b0d ldr r3, [pc, #52] ; (800e698 ) - 800e664: 681b ldr r3, [r3, #0] - 800e666: 4313 orrs r3, r2 - 800e668: 4a0b ldr r2, [pc, #44] ; (800e698 ) - 800e66a: 6013 str r3, [r2, #0] - 800e66c: 69bb ldr r3, [r7, #24] - 800e66e: 6ada ldr r2, [r3, #44] ; 0x2c - 800e670: 4613 mov r3, r2 - 800e672: 009b lsls r3, r3, #2 - 800e674: 4413 add r3, r2 - 800e676: 009b lsls r3, r3, #2 - 800e678: 4a06 ldr r2, [pc, #24] ; (800e694 ) - 800e67a: 441a add r2, r3 - 800e67c: 69bb ldr r3, [r7, #24] - 800e67e: 3304 adds r3, #4 - 800e680: 4619 mov r1, r3 - 800e682: 4610 mov r0, r2 - 800e684: f7fd feb7 bl 800c3f6 + 800e1f6: 69bb ldr r3, [r7, #24] + 800e1f8: 6adb ldr r3, [r3, #44] ; 0x2c + 800e1fa: 2201 movs r2, #1 + 800e1fc: 409a lsls r2, r3 + 800e1fe: 4b0d ldr r3, [pc, #52] ; (800e234 ) + 800e200: 681b ldr r3, [r3, #0] + 800e202: 4313 orrs r3, r2 + 800e204: 4a0b ldr r2, [pc, #44] ; (800e234 ) + 800e206: 6013 str r3, [r2, #0] + 800e208: 69bb ldr r3, [r7, #24] + 800e20a: 6ada ldr r2, [r3, #44] ; 0x2c + 800e20c: 4613 mov r3, r2 + 800e20e: 009b lsls r3, r3, #2 + 800e210: 4413 add r3, r2 + 800e212: 009b lsls r3, r3, #2 + 800e214: 4a06 ldr r2, [pc, #24] ; (800e230 ) + 800e216: 441a add r2, r3 + 800e218: 69bb ldr r3, [r7, #24] + 800e21a: 3304 adds r3, #4 + 800e21c: 4619 mov r1, r3 + 800e21e: 4610 mov r0, r2 + 800e220: f7fd feb7 bl 800bf92 } else { mtCOVERAGE_TEST_MARKER(); } } - 800e688: bf00 nop - 800e68a: 3720 adds r7, #32 - 800e68c: 46bd mov sp, r7 - 800e68e: bd80 pop {r7, pc} - 800e690: 2000058c .word 0x2000058c - 800e694: 20000590 .word 0x20000590 - 800e698: 20000694 .word 0x20000694 + 800e224: bf00 nop + 800e226: 3720 adds r7, #32 + 800e228: 46bd mov sp, r7 + 800e22a: bd80 pop {r7, pc} + 800e22c: 2000058c .word 0x2000058c + 800e230: 20000590 .word 0x20000590 + 800e234: 20000694 .word 0x20000694 -0800e69c : +0800e238 : /*-----------------------------------------------------------*/ #if ( configUSE_MUTEXES == 1 ) TaskHandle_t pvTaskIncrementMutexHeldCount( void ) { - 800e69c: b480 push {r7} - 800e69e: af00 add r7, sp, #0 + 800e238: b480 push {r7} + 800e23a: af00 add r7, sp, #0 /* If xSemaphoreCreateMutex() is called before any tasks have been created then pxCurrentTCB will be NULL. */ if( pxCurrentTCB != NULL ) - 800e6a0: 4b07 ldr r3, [pc, #28] ; (800e6c0 ) - 800e6a2: 681b ldr r3, [r3, #0] - 800e6a4: 2b00 cmp r3, #0 - 800e6a6: d004 beq.n 800e6b2 + 800e23c: 4b07 ldr r3, [pc, #28] ; (800e25c ) + 800e23e: 681b ldr r3, [r3, #0] + 800e240: 2b00 cmp r3, #0 + 800e242: d004 beq.n 800e24e { ( pxCurrentTCB->uxMutexesHeld )++; - 800e6a8: 4b05 ldr r3, [pc, #20] ; (800e6c0 ) - 800e6aa: 681b ldr r3, [r3, #0] - 800e6ac: 6c9a ldr r2, [r3, #72] ; 0x48 - 800e6ae: 3201 adds r2, #1 - 800e6b0: 649a str r2, [r3, #72] ; 0x48 + 800e244: 4b05 ldr r3, [pc, #20] ; (800e25c ) + 800e246: 681b ldr r3, [r3, #0] + 800e248: 6c9a ldr r2, [r3, #72] ; 0x48 + 800e24a: 3201 adds r2, #1 + 800e24c: 649a str r2, [r3, #72] ; 0x48 } return pxCurrentTCB; - 800e6b2: 4b03 ldr r3, [pc, #12] ; (800e6c0 ) - 800e6b4: 681b ldr r3, [r3, #0] + 800e24e: 4b03 ldr r3, [pc, #12] ; (800e25c ) + 800e250: 681b ldr r3, [r3, #0] } - 800e6b6: 4618 mov r0, r3 - 800e6b8: 46bd mov sp, r7 - 800e6ba: f85d 7b04 ldr.w r7, [sp], #4 - 800e6be: 4770 bx lr - 800e6c0: 2000058c .word 0x2000058c + 800e252: 4618 mov r0, r3 + 800e254: 46bd mov sp, r7 + 800e256: f85d 7b04 ldr.w r7, [sp], #4 + 800e25a: 4770 bx lr + 800e25c: 2000058c .word 0x2000058c -0800e6c4 : +0800e260 : } #endif /*-----------------------------------------------------------*/ static void prvAddCurrentTaskToDelayedList( TickType_t xTicksToWait, const BaseType_t xCanBlockIndefinitely ) { - 800e6c4: b580 push {r7, lr} - 800e6c6: b084 sub sp, #16 - 800e6c8: af00 add r7, sp, #0 - 800e6ca: 6078 str r0, [r7, #4] - 800e6cc: 6039 str r1, [r7, #0] + 800e260: b580 push {r7, lr} + 800e262: b084 sub sp, #16 + 800e264: af00 add r7, sp, #0 + 800e266: 6078 str r0, [r7, #4] + 800e268: 6039 str r1, [r7, #0] TickType_t xTimeToWake; const TickType_t xConstTickCount = xTickCount; - 800e6ce: 4b29 ldr r3, [pc, #164] ; (800e774 ) - 800e6d0: 681b ldr r3, [r3, #0] - 800e6d2: 60fb str r3, [r7, #12] + 800e26a: 4b29 ldr r3, [pc, #164] ; (800e310 ) + 800e26c: 681b ldr r3, [r3, #0] + 800e26e: 60fb str r3, [r7, #12] } #endif /* Remove the task from the ready list before adding it to the blocked list as the same list item is used for both lists. */ if( uxListRemove( &( pxCurrentTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) - 800e6d4: 4b28 ldr r3, [pc, #160] ; (800e778 ) - 800e6d6: 681b ldr r3, [r3, #0] - 800e6d8: 3304 adds r3, #4 - 800e6da: 4618 mov r0, r3 - 800e6dc: f7fd fee8 bl 800c4b0 - 800e6e0: 4603 mov r3, r0 - 800e6e2: 2b00 cmp r3, #0 - 800e6e4: d10b bne.n 800e6fe + 800e270: 4b28 ldr r3, [pc, #160] ; (800e314 ) + 800e272: 681b ldr r3, [r3, #0] + 800e274: 3304 adds r3, #4 + 800e276: 4618 mov r0, r3 + 800e278: f7fd fee8 bl 800c04c + 800e27c: 4603 mov r3, r0 + 800e27e: 2b00 cmp r3, #0 + 800e280: d10b bne.n 800e29a { /* The current task must be in a ready list, so there is no need to check, and the port reset macro can be called directly. */ portRESET_READY_PRIORITY( pxCurrentTCB->uxPriority, uxTopReadyPriority ); /*lint !e931 pxCurrentTCB cannot change as it is the calling task. pxCurrentTCB->uxPriority and uxTopReadyPriority cannot change as called with scheduler suspended or in a critical section. */ - 800e6e6: 4b24 ldr r3, [pc, #144] ; (800e778 ) - 800e6e8: 681b ldr r3, [r3, #0] - 800e6ea: 6adb ldr r3, [r3, #44] ; 0x2c - 800e6ec: 2201 movs r2, #1 - 800e6ee: fa02 f303 lsl.w r3, r2, r3 - 800e6f2: 43da mvns r2, r3 - 800e6f4: 4b21 ldr r3, [pc, #132] ; (800e77c ) - 800e6f6: 681b ldr r3, [r3, #0] - 800e6f8: 4013 ands r3, r2 - 800e6fa: 4a20 ldr r2, [pc, #128] ; (800e77c ) - 800e6fc: 6013 str r3, [r2, #0] + 800e282: 4b24 ldr r3, [pc, #144] ; (800e314 ) + 800e284: 681b ldr r3, [r3, #0] + 800e286: 6adb ldr r3, [r3, #44] ; 0x2c + 800e288: 2201 movs r2, #1 + 800e28a: fa02 f303 lsl.w r3, r2, r3 + 800e28e: 43da mvns r2, r3 + 800e290: 4b21 ldr r3, [pc, #132] ; (800e318 ) + 800e292: 681b ldr r3, [r3, #0] + 800e294: 4013 ands r3, r2 + 800e296: 4a20 ldr r2, [pc, #128] ; (800e318 ) + 800e298: 6013 str r3, [r2, #0] mtCOVERAGE_TEST_MARKER(); } #if ( INCLUDE_vTaskSuspend == 1 ) { if( ( xTicksToWait == portMAX_DELAY ) && ( xCanBlockIndefinitely != pdFALSE ) ) - 800e6fe: 687b ldr r3, [r7, #4] - 800e700: f1b3 3fff cmp.w r3, #4294967295 - 800e704: d10a bne.n 800e71c - 800e706: 683b ldr r3, [r7, #0] - 800e708: 2b00 cmp r3, #0 - 800e70a: d007 beq.n 800e71c + 800e29a: 687b ldr r3, [r7, #4] + 800e29c: f1b3 3fff cmp.w r3, #4294967295 + 800e2a0: d10a bne.n 800e2b8 + 800e2a2: 683b ldr r3, [r7, #0] + 800e2a4: 2b00 cmp r3, #0 + 800e2a6: d007 beq.n 800e2b8 { /* Add the task to the suspended task list instead of a delayed task list to ensure it is not woken by a timing event. It will block indefinitely. */ vListInsertEnd( &xSuspendedTaskList, &( pxCurrentTCB->xStateListItem ) ); - 800e70c: 4b1a ldr r3, [pc, #104] ; (800e778 ) - 800e70e: 681b ldr r3, [r3, #0] - 800e710: 3304 adds r3, #4 - 800e712: 4619 mov r1, r3 - 800e714: 481a ldr r0, [pc, #104] ; (800e780 ) - 800e716: f7fd fe6e bl 800c3f6 + 800e2a8: 4b1a ldr r3, [pc, #104] ; (800e314 ) + 800e2aa: 681b ldr r3, [r3, #0] + 800e2ac: 3304 adds r3, #4 + 800e2ae: 4619 mov r1, r3 + 800e2b0: 481a ldr r0, [pc, #104] ; (800e31c ) + 800e2b2: f7fd fe6e bl 800bf92 /* Avoid compiler warning when INCLUDE_vTaskSuspend is not 1. */ ( void ) xCanBlockIndefinitely; } #endif /* INCLUDE_vTaskSuspend */ } - 800e71a: e026 b.n 800e76a + 800e2b6: e026 b.n 800e306 xTimeToWake = xConstTickCount + xTicksToWait; - 800e71c: 68fa ldr r2, [r7, #12] - 800e71e: 687b ldr r3, [r7, #4] - 800e720: 4413 add r3, r2 - 800e722: 60bb str r3, [r7, #8] + 800e2b8: 68fa ldr r2, [r7, #12] + 800e2ba: 687b ldr r3, [r7, #4] + 800e2bc: 4413 add r3, r2 + 800e2be: 60bb str r3, [r7, #8] listSET_LIST_ITEM_VALUE( &( pxCurrentTCB->xStateListItem ), xTimeToWake ); - 800e724: 4b14 ldr r3, [pc, #80] ; (800e778 ) - 800e726: 681b ldr r3, [r3, #0] - 800e728: 68ba ldr r2, [r7, #8] - 800e72a: 605a str r2, [r3, #4] + 800e2c0: 4b14 ldr r3, [pc, #80] ; (800e314 ) + 800e2c2: 681b ldr r3, [r3, #0] + 800e2c4: 68ba ldr r2, [r7, #8] + 800e2c6: 605a str r2, [r3, #4] if( xTimeToWake < xConstTickCount ) - 800e72c: 68ba ldr r2, [r7, #8] - 800e72e: 68fb ldr r3, [r7, #12] - 800e730: 429a cmp r2, r3 - 800e732: d209 bcs.n 800e748 + 800e2c8: 68ba ldr r2, [r7, #8] + 800e2ca: 68fb ldr r3, [r7, #12] + 800e2cc: 429a cmp r2, r3 + 800e2ce: d209 bcs.n 800e2e4 vListInsert( pxOverflowDelayedTaskList, &( pxCurrentTCB->xStateListItem ) ); - 800e734: 4b13 ldr r3, [pc, #76] ; (800e784 ) - 800e736: 681a ldr r2, [r3, #0] - 800e738: 4b0f ldr r3, [pc, #60] ; (800e778 ) - 800e73a: 681b ldr r3, [r3, #0] - 800e73c: 3304 adds r3, #4 - 800e73e: 4619 mov r1, r3 - 800e740: 4610 mov r0, r2 - 800e742: f7fd fe7c bl 800c43e + 800e2d0: 4b13 ldr r3, [pc, #76] ; (800e320 ) + 800e2d2: 681a ldr r2, [r3, #0] + 800e2d4: 4b0f ldr r3, [pc, #60] ; (800e314 ) + 800e2d6: 681b ldr r3, [r3, #0] + 800e2d8: 3304 adds r3, #4 + 800e2da: 4619 mov r1, r3 + 800e2dc: 4610 mov r0, r2 + 800e2de: f7fd fe7c bl 800bfda } - 800e746: e010 b.n 800e76a + 800e2e2: e010 b.n 800e306 vListInsert( pxDelayedTaskList, &( pxCurrentTCB->xStateListItem ) ); - 800e748: 4b0f ldr r3, [pc, #60] ; (800e788 ) - 800e74a: 681a ldr r2, [r3, #0] - 800e74c: 4b0a ldr r3, [pc, #40] ; (800e778 ) - 800e74e: 681b ldr r3, [r3, #0] - 800e750: 3304 adds r3, #4 - 800e752: 4619 mov r1, r3 - 800e754: 4610 mov r0, r2 - 800e756: f7fd fe72 bl 800c43e + 800e2e4: 4b0f ldr r3, [pc, #60] ; (800e324 ) + 800e2e6: 681a ldr r2, [r3, #0] + 800e2e8: 4b0a ldr r3, [pc, #40] ; (800e314 ) + 800e2ea: 681b ldr r3, [r3, #0] + 800e2ec: 3304 adds r3, #4 + 800e2ee: 4619 mov r1, r3 + 800e2f0: 4610 mov r0, r2 + 800e2f2: f7fd fe72 bl 800bfda if( xTimeToWake < xNextTaskUnblockTime ) - 800e75a: 4b0c ldr r3, [pc, #48] ; (800e78c ) - 800e75c: 681b ldr r3, [r3, #0] - 800e75e: 68ba ldr r2, [r7, #8] - 800e760: 429a cmp r2, r3 - 800e762: d202 bcs.n 800e76a + 800e2f6: 4b0c ldr r3, [pc, #48] ; (800e328 ) + 800e2f8: 681b ldr r3, [r3, #0] + 800e2fa: 68ba ldr r2, [r7, #8] + 800e2fc: 429a cmp r2, r3 + 800e2fe: d202 bcs.n 800e306 xNextTaskUnblockTime = xTimeToWake; - 800e764: 4a09 ldr r2, [pc, #36] ; (800e78c ) - 800e766: 68bb ldr r3, [r7, #8] - 800e768: 6013 str r3, [r2, #0] + 800e300: 4a09 ldr r2, [pc, #36] ; (800e328 ) + 800e302: 68bb ldr r3, [r7, #8] + 800e304: 6013 str r3, [r2, #0] } - 800e76a: bf00 nop - 800e76c: 3710 adds r7, #16 - 800e76e: 46bd mov sp, r7 - 800e770: bd80 pop {r7, pc} - 800e772: bf00 nop - 800e774: 20000690 .word 0x20000690 - 800e778: 2000058c .word 0x2000058c - 800e77c: 20000694 .word 0x20000694 - 800e780: 20000678 .word 0x20000678 - 800e784: 20000648 .word 0x20000648 - 800e788: 20000644 .word 0x20000644 - 800e78c: 200006ac .word 0x200006ac + 800e306: bf00 nop + 800e308: 3710 adds r7, #16 + 800e30a: 46bd mov sp, r7 + 800e30c: bd80 pop {r7, pc} + 800e30e: bf00 nop + 800e310: 20000690 .word 0x20000690 + 800e314: 2000058c .word 0x2000058c + 800e318: 20000694 .word 0x20000694 + 800e31c: 20000678 .word 0x20000678 + 800e320: 20000648 .word 0x20000648 + 800e324: 20000644 .word 0x20000644 + 800e328: 200006ac .word 0x200006ac -0800e790 : +0800e32c : /* * See header file for description. */ StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParameters ) { - 800e790: b480 push {r7} - 800e792: b085 sub sp, #20 - 800e794: af00 add r7, sp, #0 - 800e796: 60f8 str r0, [r7, #12] - 800e798: 60b9 str r1, [r7, #8] - 800e79a: 607a str r2, [r7, #4] + 800e32c: b480 push {r7} + 800e32e: b085 sub sp, #20 + 800e330: af00 add r7, sp, #0 + 800e332: 60f8 str r0, [r7, #12] + 800e334: 60b9 str r1, [r7, #8] + 800e336: 607a str r2, [r7, #4] /* Simulate the stack frame as it would be created by a context switch interrupt. */ /* Offset added to account for the way the MCU uses the stack on entry/exit of interrupts, and to ensure alignment. */ pxTopOfStack--; - 800e79c: 68fb ldr r3, [r7, #12] - 800e79e: 3b04 subs r3, #4 - 800e7a0: 60fb str r3, [r7, #12] + 800e338: 68fb ldr r3, [r7, #12] + 800e33a: 3b04 subs r3, #4 + 800e33c: 60fb str r3, [r7, #12] *pxTopOfStack = portINITIAL_XPSR; /* xPSR */ - 800e7a2: 68fb ldr r3, [r7, #12] - 800e7a4: f04f 7280 mov.w r2, #16777216 ; 0x1000000 - 800e7a8: 601a str r2, [r3, #0] + 800e33e: 68fb ldr r3, [r7, #12] + 800e340: f04f 7280 mov.w r2, #16777216 ; 0x1000000 + 800e344: 601a str r2, [r3, #0] pxTopOfStack--; - 800e7aa: 68fb ldr r3, [r7, #12] - 800e7ac: 3b04 subs r3, #4 - 800e7ae: 60fb str r3, [r7, #12] + 800e346: 68fb ldr r3, [r7, #12] + 800e348: 3b04 subs r3, #4 + 800e34a: 60fb str r3, [r7, #12] *pxTopOfStack = ( ( StackType_t ) pxCode ) & portSTART_ADDRESS_MASK; /* PC */ - 800e7b0: 68bb ldr r3, [r7, #8] - 800e7b2: f023 0201 bic.w r2, r3, #1 - 800e7b6: 68fb ldr r3, [r7, #12] - 800e7b8: 601a str r2, [r3, #0] + 800e34c: 68bb ldr r3, [r7, #8] + 800e34e: f023 0201 bic.w r2, r3, #1 + 800e352: 68fb ldr r3, [r7, #12] + 800e354: 601a str r2, [r3, #0] pxTopOfStack--; - 800e7ba: 68fb ldr r3, [r7, #12] - 800e7bc: 3b04 subs r3, #4 - 800e7be: 60fb str r3, [r7, #12] + 800e356: 68fb ldr r3, [r7, #12] + 800e358: 3b04 subs r3, #4 + 800e35a: 60fb str r3, [r7, #12] *pxTopOfStack = ( StackType_t ) portTASK_RETURN_ADDRESS; /* LR */ - 800e7c0: 4a0c ldr r2, [pc, #48] ; (800e7f4 ) - 800e7c2: 68fb ldr r3, [r7, #12] - 800e7c4: 601a str r2, [r3, #0] + 800e35c: 4a0c ldr r2, [pc, #48] ; (800e390 ) + 800e35e: 68fb ldr r3, [r7, #12] + 800e360: 601a str r2, [r3, #0] /* Save code space by skipping register initialisation. */ pxTopOfStack -= 5; /* R12, R3, R2 and R1. */ - 800e7c6: 68fb ldr r3, [r7, #12] - 800e7c8: 3b14 subs r3, #20 - 800e7ca: 60fb str r3, [r7, #12] + 800e362: 68fb ldr r3, [r7, #12] + 800e364: 3b14 subs r3, #20 + 800e366: 60fb str r3, [r7, #12] *pxTopOfStack = ( StackType_t ) pvParameters; /* R0 */ - 800e7cc: 687a ldr r2, [r7, #4] - 800e7ce: 68fb ldr r3, [r7, #12] - 800e7d0: 601a str r2, [r3, #0] + 800e368: 687a ldr r2, [r7, #4] + 800e36a: 68fb ldr r3, [r7, #12] + 800e36c: 601a str r2, [r3, #0] /* A save method is being used that requires each task to maintain its own exec return value. */ pxTopOfStack--; - 800e7d2: 68fb ldr r3, [r7, #12] - 800e7d4: 3b04 subs r3, #4 - 800e7d6: 60fb str r3, [r7, #12] + 800e36e: 68fb ldr r3, [r7, #12] + 800e370: 3b04 subs r3, #4 + 800e372: 60fb str r3, [r7, #12] *pxTopOfStack = portINITIAL_EXC_RETURN; - 800e7d8: 68fb ldr r3, [r7, #12] - 800e7da: f06f 0202 mvn.w r2, #2 - 800e7de: 601a str r2, [r3, #0] + 800e374: 68fb ldr r3, [r7, #12] + 800e376: f06f 0202 mvn.w r2, #2 + 800e37a: 601a str r2, [r3, #0] pxTopOfStack -= 8; /* R11, R10, R9, R8, R7, R6, R5 and R4. */ - 800e7e0: 68fb ldr r3, [r7, #12] - 800e7e2: 3b20 subs r3, #32 - 800e7e4: 60fb str r3, [r7, #12] + 800e37c: 68fb ldr r3, [r7, #12] + 800e37e: 3b20 subs r3, #32 + 800e380: 60fb str r3, [r7, #12] return pxTopOfStack; - 800e7e6: 68fb ldr r3, [r7, #12] + 800e382: 68fb ldr r3, [r7, #12] } - 800e7e8: 4618 mov r0, r3 - 800e7ea: 3714 adds r7, #20 - 800e7ec: 46bd mov sp, r7 - 800e7ee: f85d 7b04 ldr.w r7, [sp], #4 - 800e7f2: 4770 bx lr - 800e7f4: 0800e7f9 .word 0x0800e7f9 + 800e384: 4618 mov r0, r3 + 800e386: 3714 adds r7, #20 + 800e388: 46bd mov sp, r7 + 800e38a: f85d 7b04 ldr.w r7, [sp], #4 + 800e38e: 4770 bx lr + 800e390: 0800e395 .word 0x0800e395 -0800e7f8 : +0800e394 : /*-----------------------------------------------------------*/ static void prvTaskExitError( void ) { - 800e7f8: b480 push {r7} - 800e7fa: b085 sub sp, #20 - 800e7fc: af00 add r7, sp, #0 + 800e394: b480 push {r7} + 800e396: b085 sub sp, #20 + 800e398: af00 add r7, sp, #0 volatile uint32_t ulDummy = 0; - 800e7fe: 2300 movs r3, #0 - 800e800: 607b str r3, [r7, #4] + 800e39a: 2300 movs r3, #0 + 800e39c: 607b str r3, [r7, #4] its caller as there is nothing to return to. If a task wants to exit it should instead call vTaskDelete( NULL ). Artificially force an assert() to be triggered if configASSERT() is defined, then stop here so application writers can catch the error. */ configASSERT( uxCriticalNesting == ~0UL ); - 800e802: 4b13 ldr r3, [pc, #76] ; (800e850 ) - 800e804: 681b ldr r3, [r3, #0] - 800e806: f1b3 3fff cmp.w r3, #4294967295 - 800e80a: d00b beq.n 800e824 - 800e80c: f04f 0350 mov.w r3, #80 ; 0x50 - 800e810: b672 cpsid i - 800e812: f383 8811 msr BASEPRI, r3 - 800e816: f3bf 8f6f isb sy - 800e81a: f3bf 8f4f dsb sy - 800e81e: b662 cpsie i - 800e820: 60fb str r3, [r7, #12] - 800e822: e7fe b.n 800e822 - 800e824: f04f 0350 mov.w r3, #80 ; 0x50 - 800e828: b672 cpsid i - 800e82a: f383 8811 msr BASEPRI, r3 - 800e82e: f3bf 8f6f isb sy - 800e832: f3bf 8f4f dsb sy - 800e836: b662 cpsie i - 800e838: 60bb str r3, [r7, #8] + 800e39e: 4b13 ldr r3, [pc, #76] ; (800e3ec ) + 800e3a0: 681b ldr r3, [r3, #0] + 800e3a2: f1b3 3fff cmp.w r3, #4294967295 + 800e3a6: d00b beq.n 800e3c0 + 800e3a8: f04f 0350 mov.w r3, #80 ; 0x50 + 800e3ac: b672 cpsid i + 800e3ae: f383 8811 msr BASEPRI, r3 + 800e3b2: f3bf 8f6f isb sy + 800e3b6: f3bf 8f4f dsb sy + 800e3ba: b662 cpsie i + 800e3bc: 60fb str r3, [r7, #12] + 800e3be: e7fe b.n 800e3be + 800e3c0: f04f 0350 mov.w r3, #80 ; 0x50 + 800e3c4: b672 cpsid i + 800e3c6: f383 8811 msr BASEPRI, r3 + 800e3ca: f3bf 8f6f isb sy + 800e3ce: f3bf 8f4f dsb sy + 800e3d2: b662 cpsie i + 800e3d4: 60bb str r3, [r7, #8] portDISABLE_INTERRUPTS(); while( ulDummy == 0 ) - 800e83a: bf00 nop - 800e83c: 687b ldr r3, [r7, #4] - 800e83e: 2b00 cmp r3, #0 - 800e840: d0fc beq.n 800e83c + 800e3d6: bf00 nop + 800e3d8: 687b ldr r3, [r7, #4] + 800e3da: 2b00 cmp r3, #0 + 800e3dc: d0fc beq.n 800e3d8 about code appearing after this function is called - making ulDummy volatile makes the compiler think the function could return and therefore not output an 'unreachable code' warning for code that appears after it. */ } } - 800e842: bf00 nop - 800e844: 3714 adds r7, #20 - 800e846: 46bd mov sp, r7 - 800e848: f85d 7b04 ldr.w r7, [sp], #4 - 800e84c: 4770 bx lr - 800e84e: bf00 nop - 800e850: 20000070 .word 0x20000070 - ... + 800e3de: bf00 nop + 800e3e0: 3714 adds r7, #20 + 800e3e2: 46bd mov sp, r7 + 800e3e4: f85d 7b04 ldr.w r7, [sp], #4 + 800e3e8: 4770 bx lr + 800e3ea: bf00 nop + 800e3ec: 20000070 .word 0x20000070 -0800e860 : +0800e3f0 : /*-----------------------------------------------------------*/ void vPortSVCHandler( void ) { __asm volatile ( - 800e860: 4b07 ldr r3, [pc, #28] ; (800e880 ) - 800e862: 6819 ldr r1, [r3, #0] - 800e864: 6808 ldr r0, [r1, #0] - 800e866: e8b0 4ff0 ldmia.w r0!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800e86a: f380 8809 msr PSP, r0 - 800e86e: f3bf 8f6f isb sy - 800e872: f04f 0000 mov.w r0, #0 - 800e876: f380 8811 msr BASEPRI, r0 - 800e87a: 4770 bx lr - 800e87c: f3af 8000 nop.w + 800e3f0: 4b07 ldr r3, [pc, #28] ; (800e410 ) + 800e3f2: 6819 ldr r1, [r3, #0] + 800e3f4: 6808 ldr r0, [r1, #0] + 800e3f6: e8b0 4ff0 ldmia.w r0!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800e3fa: f380 8809 msr PSP, r0 + 800e3fe: f3bf 8f6f isb sy + 800e402: f04f 0000 mov.w r0, #0 + 800e406: f380 8811 msr BASEPRI, r0 + 800e40a: 4770 bx lr + 800e40c: f3af 8000 nop.w -0800e880 : - 800e880: 2000058c .word 0x2000058c +0800e410 : + 800e410: 2000058c .word 0x2000058c " bx r14 \n" " \n" " .align 4 \n" "pxCurrentTCBConst2: .word pxCurrentTCB \n" ); } - 800e884: bf00 nop - 800e886: bf00 nop + 800e414: bf00 nop + 800e416: bf00 nop -0800e888 : +0800e418 : { /* Start the first task. This also clears the bit that indicates the FPU is in use in case the FPU was used before the scheduler was started - which would otherwise result in the unnecessary leaving of space in the SVC stack for lazy saving of FPU registers. */ __asm volatile( - 800e888: 4808 ldr r0, [pc, #32] ; (800e8ac ) - 800e88a: 6800 ldr r0, [r0, #0] - 800e88c: 6800 ldr r0, [r0, #0] - 800e88e: f380 8808 msr MSP, r0 - 800e892: f04f 0000 mov.w r0, #0 - 800e896: f380 8814 msr CONTROL, r0 - 800e89a: b662 cpsie i - 800e89c: b661 cpsie f - 800e89e: f3bf 8f4f dsb sy - 800e8a2: f3bf 8f6f isb sy - 800e8a6: df00 svc 0 - 800e8a8: bf00 nop + 800e418: 4808 ldr r0, [pc, #32] ; (800e43c ) + 800e41a: 6800 ldr r0, [r0, #0] + 800e41c: 6800 ldr r0, [r0, #0] + 800e41e: f380 8808 msr MSP, r0 + 800e422: f04f 0000 mov.w r0, #0 + 800e426: f380 8814 msr CONTROL, r0 + 800e42a: b662 cpsie i + 800e42c: b661 cpsie f + 800e42e: f3bf 8f4f dsb sy + 800e432: f3bf 8f6f isb sy + 800e436: df00 svc 0 + 800e438: bf00 nop " dsb \n" " isb \n" " svc 0 \n" /* System call to start first task. */ " nop \n" ); } - 800e8aa: bf00 nop - 800e8ac: e000ed08 .word 0xe000ed08 + 800e43a: bf00 nop + 800e43c: e000ed08 .word 0xe000ed08 -0800e8b0 : +0800e440 : /* * See header file for description. */ BaseType_t xPortStartScheduler( void ) { - 800e8b0: b580 push {r7, lr} - 800e8b2: b084 sub sp, #16 - 800e8b4: af00 add r7, sp, #0 + 800e440: b580 push {r7, lr} + 800e442: b084 sub sp, #16 + 800e444: af00 add r7, sp, #0 configASSERT( configMAX_SYSCALL_INTERRUPT_PRIORITY ); #if( configASSERT_DEFINED == 1 ) { volatile uint32_t ulOriginalPriority; volatile uint8_t * const pucFirstUserPriorityRegister = ( volatile uint8_t * const ) ( portNVIC_IP_REGISTERS_OFFSET_16 + portFIRST_USER_INTERRUPT_NUMBER ); - 800e8b6: 4b36 ldr r3, [pc, #216] ; (800e990 ) - 800e8b8: 60fb str r3, [r7, #12] + 800e446: 4b36 ldr r3, [pc, #216] ; (800e520 ) + 800e448: 60fb str r3, [r7, #12] functions can be called. ISR safe functions are those that end in "FromISR". FreeRTOS maintains separate thread and ISR API functions to ensure interrupt entry is as fast and simple as possible. Save the interrupt priority value that is about to be clobbered. */ ulOriginalPriority = *pucFirstUserPriorityRegister; - 800e8ba: 68fb ldr r3, [r7, #12] - 800e8bc: 781b ldrb r3, [r3, #0] - 800e8be: b2db uxtb r3, r3 - 800e8c0: 607b str r3, [r7, #4] + 800e44a: 68fb ldr r3, [r7, #12] + 800e44c: 781b ldrb r3, [r3, #0] + 800e44e: b2db uxtb r3, r3 + 800e450: 607b str r3, [r7, #4] /* Determine the number of priority bits available. First write to all possible bits. */ *pucFirstUserPriorityRegister = portMAX_8_BIT_VALUE; - 800e8c2: 68fb ldr r3, [r7, #12] - 800e8c4: 22ff movs r2, #255 ; 0xff - 800e8c6: 701a strb r2, [r3, #0] + 800e452: 68fb ldr r3, [r7, #12] + 800e454: 22ff movs r2, #255 ; 0xff + 800e456: 701a strb r2, [r3, #0] /* Read the value back to see how many bits stuck. */ ucMaxPriorityValue = *pucFirstUserPriorityRegister; - 800e8c8: 68fb ldr r3, [r7, #12] - 800e8ca: 781b ldrb r3, [r3, #0] - 800e8cc: b2db uxtb r3, r3 - 800e8ce: 70fb strb r3, [r7, #3] + 800e458: 68fb ldr r3, [r7, #12] + 800e45a: 781b ldrb r3, [r3, #0] + 800e45c: b2db uxtb r3, r3 + 800e45e: 70fb strb r3, [r7, #3] /* Use the same mask on the maximum system call priority. */ ucMaxSysCallPriority = configMAX_SYSCALL_INTERRUPT_PRIORITY & ucMaxPriorityValue; - 800e8d0: 78fb ldrb r3, [r7, #3] - 800e8d2: b2db uxtb r3, r3 - 800e8d4: f003 0350 and.w r3, r3, #80 ; 0x50 - 800e8d8: b2da uxtb r2, r3 - 800e8da: 4b2e ldr r3, [pc, #184] ; (800e994 ) - 800e8dc: 701a strb r2, [r3, #0] + 800e460: 78fb ldrb r3, [r7, #3] + 800e462: b2db uxtb r3, r3 + 800e464: f003 0350 and.w r3, r3, #80 ; 0x50 + 800e468: b2da uxtb r2, r3 + 800e46a: 4b2e ldr r3, [pc, #184] ; (800e524 ) + 800e46c: 701a strb r2, [r3, #0] /* Calculate the maximum acceptable priority group value for the number of bits read back. */ ulMaxPRIGROUPValue = portMAX_PRIGROUP_BITS; - 800e8de: 4b2e ldr r3, [pc, #184] ; (800e998 ) - 800e8e0: 2207 movs r2, #7 - 800e8e2: 601a str r2, [r3, #0] + 800e46e: 4b2e ldr r3, [pc, #184] ; (800e528 ) + 800e470: 2207 movs r2, #7 + 800e472: 601a str r2, [r3, #0] while( ( ucMaxPriorityValue & portTOP_BIT_OF_BYTE ) == portTOP_BIT_OF_BYTE ) - 800e8e4: e009 b.n 800e8fa + 800e474: e009 b.n 800e48a { ulMaxPRIGROUPValue--; - 800e8e6: 4b2c ldr r3, [pc, #176] ; (800e998 ) - 800e8e8: 681b ldr r3, [r3, #0] - 800e8ea: 3b01 subs r3, #1 - 800e8ec: 4a2a ldr r2, [pc, #168] ; (800e998 ) - 800e8ee: 6013 str r3, [r2, #0] + 800e476: 4b2c ldr r3, [pc, #176] ; (800e528 ) + 800e478: 681b ldr r3, [r3, #0] + 800e47a: 3b01 subs r3, #1 + 800e47c: 4a2a ldr r2, [pc, #168] ; (800e528 ) + 800e47e: 6013 str r3, [r2, #0] ucMaxPriorityValue <<= ( uint8_t ) 0x01; - 800e8f0: 78fb ldrb r3, [r7, #3] - 800e8f2: b2db uxtb r3, r3 - 800e8f4: 005b lsls r3, r3, #1 - 800e8f6: b2db uxtb r3, r3 - 800e8f8: 70fb strb r3, [r7, #3] + 800e480: 78fb ldrb r3, [r7, #3] + 800e482: b2db uxtb r3, r3 + 800e484: 005b lsls r3, r3, #1 + 800e486: b2db uxtb r3, r3 + 800e488: 70fb strb r3, [r7, #3] while( ( ucMaxPriorityValue & portTOP_BIT_OF_BYTE ) == portTOP_BIT_OF_BYTE ) - 800e8fa: 78fb ldrb r3, [r7, #3] - 800e8fc: b2db uxtb r3, r3 - 800e8fe: f003 0380 and.w r3, r3, #128 ; 0x80 - 800e902: 2b80 cmp r3, #128 ; 0x80 - 800e904: d0ef beq.n 800e8e6 + 800e48a: 78fb ldrb r3, [r7, #3] + 800e48c: b2db uxtb r3, r3 + 800e48e: f003 0380 and.w r3, r3, #128 ; 0x80 + 800e492: 2b80 cmp r3, #128 ; 0x80 + 800e494: d0ef beq.n 800e476 #ifdef configPRIO_BITS { /* Check the FreeRTOS configuration that defines the number of priority bits matches the number of priority bits actually queried from the hardware. */ configASSERT( ( portMAX_PRIGROUP_BITS - ulMaxPRIGROUPValue ) == configPRIO_BITS ); - 800e906: 4b24 ldr r3, [pc, #144] ; (800e998 ) - 800e908: 681b ldr r3, [r3, #0] - 800e90a: f1c3 0307 rsb r3, r3, #7 - 800e90e: 2b04 cmp r3, #4 - 800e910: d00b beq.n 800e92a - 800e912: f04f 0350 mov.w r3, #80 ; 0x50 - 800e916: b672 cpsid i - 800e918: f383 8811 msr BASEPRI, r3 - 800e91c: f3bf 8f6f isb sy - 800e920: f3bf 8f4f dsb sy - 800e924: b662 cpsie i - 800e926: 60bb str r3, [r7, #8] - 800e928: e7fe b.n 800e928 + 800e496: 4b24 ldr r3, [pc, #144] ; (800e528 ) + 800e498: 681b ldr r3, [r3, #0] + 800e49a: f1c3 0307 rsb r3, r3, #7 + 800e49e: 2b04 cmp r3, #4 + 800e4a0: d00b beq.n 800e4ba + 800e4a2: f04f 0350 mov.w r3, #80 ; 0x50 + 800e4a6: b672 cpsid i + 800e4a8: f383 8811 msr BASEPRI, r3 + 800e4ac: f3bf 8f6f isb sy + 800e4b0: f3bf 8f4f dsb sy + 800e4b4: b662 cpsie i + 800e4b6: 60bb str r3, [r7, #8] + 800e4b8: e7fe b.n 800e4b8 } #endif /* Shift the priority group value back to its position within the AIRCR register. */ ulMaxPRIGROUPValue <<= portPRIGROUP_SHIFT; - 800e92a: 4b1b ldr r3, [pc, #108] ; (800e998 ) - 800e92c: 681b ldr r3, [r3, #0] - 800e92e: 021b lsls r3, r3, #8 - 800e930: 4a19 ldr r2, [pc, #100] ; (800e998 ) - 800e932: 6013 str r3, [r2, #0] + 800e4ba: 4b1b ldr r3, [pc, #108] ; (800e528 ) + 800e4bc: 681b ldr r3, [r3, #0] + 800e4be: 021b lsls r3, r3, #8 + 800e4c0: 4a19 ldr r2, [pc, #100] ; (800e528 ) + 800e4c2: 6013 str r3, [r2, #0] ulMaxPRIGROUPValue &= portPRIORITY_GROUP_MASK; - 800e934: 4b18 ldr r3, [pc, #96] ; (800e998 ) - 800e936: 681b ldr r3, [r3, #0] - 800e938: f403 63e0 and.w r3, r3, #1792 ; 0x700 - 800e93c: 4a16 ldr r2, [pc, #88] ; (800e998 ) - 800e93e: 6013 str r3, [r2, #0] + 800e4c4: 4b18 ldr r3, [pc, #96] ; (800e528 ) + 800e4c6: 681b ldr r3, [r3, #0] + 800e4c8: f403 63e0 and.w r3, r3, #1792 ; 0x700 + 800e4cc: 4a16 ldr r2, [pc, #88] ; (800e528 ) + 800e4ce: 6013 str r3, [r2, #0] /* Restore the clobbered interrupt priority register to its original value. */ *pucFirstUserPriorityRegister = ulOriginalPriority; - 800e940: 687b ldr r3, [r7, #4] - 800e942: b2da uxtb r2, r3 - 800e944: 68fb ldr r3, [r7, #12] - 800e946: 701a strb r2, [r3, #0] + 800e4d0: 687b ldr r3, [r7, #4] + 800e4d2: b2da uxtb r2, r3 + 800e4d4: 68fb ldr r3, [r7, #12] + 800e4d6: 701a strb r2, [r3, #0] } #endif /* conifgASSERT_DEFINED */ /* Make PendSV and SysTick the lowest priority interrupts. */ portNVIC_SYSPRI2_REG |= portNVIC_PENDSV_PRI; - 800e948: 4b14 ldr r3, [pc, #80] ; (800e99c ) - 800e94a: 681b ldr r3, [r3, #0] - 800e94c: 4a13 ldr r2, [pc, #76] ; (800e99c ) - 800e94e: f443 0370 orr.w r3, r3, #15728640 ; 0xf00000 - 800e952: 6013 str r3, [r2, #0] + 800e4d8: 4b14 ldr r3, [pc, #80] ; (800e52c ) + 800e4da: 681b ldr r3, [r3, #0] + 800e4dc: 4a13 ldr r2, [pc, #76] ; (800e52c ) + 800e4de: f443 0370 orr.w r3, r3, #15728640 ; 0xf00000 + 800e4e2: 6013 str r3, [r2, #0] portNVIC_SYSPRI2_REG |= portNVIC_SYSTICK_PRI; - 800e954: 4b11 ldr r3, [pc, #68] ; (800e99c ) - 800e956: 681b ldr r3, [r3, #0] - 800e958: 4a10 ldr r2, [pc, #64] ; (800e99c ) - 800e95a: f043 4370 orr.w r3, r3, #4026531840 ; 0xf0000000 - 800e95e: 6013 str r3, [r2, #0] + 800e4e4: 4b11 ldr r3, [pc, #68] ; (800e52c ) + 800e4e6: 681b ldr r3, [r3, #0] + 800e4e8: 4a10 ldr r2, [pc, #64] ; (800e52c ) + 800e4ea: f043 4370 orr.w r3, r3, #4026531840 ; 0xf0000000 + 800e4ee: 6013 str r3, [r2, #0] /* Start the timer that generates the tick ISR. Interrupts are disabled here already. */ vPortSetupTimerInterrupt(); - 800e960: f000 f8d4 bl 800eb0c + 800e4f0: f000 f8d4 bl 800e69c /* Initialise the critical nesting count ready for the first task. */ uxCriticalNesting = 0; - 800e964: 4b0e ldr r3, [pc, #56] ; (800e9a0 ) - 800e966: 2200 movs r2, #0 - 800e968: 601a str r2, [r3, #0] + 800e4f4: 4b0e ldr r3, [pc, #56] ; (800e530 ) + 800e4f6: 2200 movs r2, #0 + 800e4f8: 601a str r2, [r3, #0] /* Ensure the VFP is enabled - it should be anyway. */ vPortEnableVFP(); - 800e96a: f000 f8f3 bl 800eb54 + 800e4fa: f000 f8f3 bl 800e6e4 /* Lazy save always. */ *( portFPCCR ) |= portASPEN_AND_LSPEN_BITS; - 800e96e: 4b0d ldr r3, [pc, #52] ; (800e9a4 ) - 800e970: 681b ldr r3, [r3, #0] - 800e972: 4a0c ldr r2, [pc, #48] ; (800e9a4 ) - 800e974: f043 4340 orr.w r3, r3, #3221225472 ; 0xc0000000 - 800e978: 6013 str r3, [r2, #0] + 800e4fe: 4b0d ldr r3, [pc, #52] ; (800e534 ) + 800e500: 681b ldr r3, [r3, #0] + 800e502: 4a0c ldr r2, [pc, #48] ; (800e534 ) + 800e504: f043 4340 orr.w r3, r3, #3221225472 ; 0xc0000000 + 800e508: 6013 str r3, [r2, #0] /* Start the first task. */ prvPortStartFirstTask(); - 800e97a: f7ff ff85 bl 800e888 + 800e50a: f7ff ff85 bl 800e418 exit error function to prevent compiler warnings about a static function not being called in the case that the application writer overrides this functionality by defining configTASK_RETURN_ADDRESS. Call vTaskSwitchContext() so link time optimisation does not remove the symbol. */ vTaskSwitchContext(); - 800e97e: f7ff fa63 bl 800de48 + 800e50e: f7ff fa69 bl 800d9e4 prvTaskExitError(); - 800e982: f7ff ff39 bl 800e7f8 + 800e512: f7ff ff3f bl 800e394 /* Should not get here! */ return 0; - 800e986: 2300 movs r3, #0 + 800e516: 2300 movs r3, #0 } - 800e988: 4618 mov r0, r3 - 800e98a: 3710 adds r7, #16 - 800e98c: 46bd mov sp, r7 - 800e98e: bd80 pop {r7, pc} - 800e990: e000e400 .word 0xe000e400 - 800e994: 200006b8 .word 0x200006b8 - 800e998: 200006bc .word 0x200006bc - 800e99c: e000ed20 .word 0xe000ed20 - 800e9a0: 20000070 .word 0x20000070 - 800e9a4: e000ef34 .word 0xe000ef34 + 800e518: 4618 mov r0, r3 + 800e51a: 3710 adds r7, #16 + 800e51c: 46bd mov sp, r7 + 800e51e: bd80 pop {r7, pc} + 800e520: e000e400 .word 0xe000e400 + 800e524: 200006b8 .word 0x200006b8 + 800e528: 200006bc .word 0x200006bc + 800e52c: e000ed20 .word 0xe000ed20 + 800e530: 20000070 .word 0x20000070 + 800e534: e000ef34 .word 0xe000ef34 -0800e9a8 : +0800e538 : configASSERT( uxCriticalNesting == 1000UL ); } /*-----------------------------------------------------------*/ void vPortEnterCritical( void ) { - 800e9a8: b480 push {r7} - 800e9aa: b083 sub sp, #12 - 800e9ac: af00 add r7, sp, #0 - 800e9ae: f04f 0350 mov.w r3, #80 ; 0x50 - 800e9b2: b672 cpsid i - 800e9b4: f383 8811 msr BASEPRI, r3 - 800e9b8: f3bf 8f6f isb sy - 800e9bc: f3bf 8f4f dsb sy - 800e9c0: b662 cpsie i - 800e9c2: 607b str r3, [r7, #4] + 800e538: b480 push {r7} + 800e53a: b083 sub sp, #12 + 800e53c: af00 add r7, sp, #0 + 800e53e: f04f 0350 mov.w r3, #80 ; 0x50 + 800e542: b672 cpsid i + 800e544: f383 8811 msr BASEPRI, r3 + 800e548: f3bf 8f6f isb sy + 800e54c: f3bf 8f4f dsb sy + 800e550: b662 cpsie i + 800e552: 607b str r3, [r7, #4] portDISABLE_INTERRUPTS(); uxCriticalNesting++; - 800e9c4: 4b0f ldr r3, [pc, #60] ; (800ea04 ) - 800e9c6: 681b ldr r3, [r3, #0] - 800e9c8: 3301 adds r3, #1 - 800e9ca: 4a0e ldr r2, [pc, #56] ; (800ea04 ) - 800e9cc: 6013 str r3, [r2, #0] + 800e554: 4b0f ldr r3, [pc, #60] ; (800e594 ) + 800e556: 681b ldr r3, [r3, #0] + 800e558: 3301 adds r3, #1 + 800e55a: 4a0e ldr r2, [pc, #56] ; (800e594 ) + 800e55c: 6013 str r3, [r2, #0] /* This is not the interrupt safe version of the enter critical function so assert() if it is being called from an interrupt context. Only API functions that end in "FromISR" can be used in an interrupt. Only assert if the critical nesting count is 1 to protect against recursive calls if the assert function also uses a critical section. */ if( uxCriticalNesting == 1 ) - 800e9ce: 4b0d ldr r3, [pc, #52] ; (800ea04 ) - 800e9d0: 681b ldr r3, [r3, #0] - 800e9d2: 2b01 cmp r3, #1 - 800e9d4: d110 bne.n 800e9f8 + 800e55e: 4b0d ldr r3, [pc, #52] ; (800e594 ) + 800e560: 681b ldr r3, [r3, #0] + 800e562: 2b01 cmp r3, #1 + 800e564: d110 bne.n 800e588 { configASSERT( ( portNVIC_INT_CTRL_REG & portVECTACTIVE_MASK ) == 0 ); - 800e9d6: 4b0c ldr r3, [pc, #48] ; (800ea08 ) - 800e9d8: 681b ldr r3, [r3, #0] - 800e9da: b2db uxtb r3, r3 - 800e9dc: 2b00 cmp r3, #0 - 800e9de: d00b beq.n 800e9f8 - 800e9e0: f04f 0350 mov.w r3, #80 ; 0x50 - 800e9e4: b672 cpsid i - 800e9e6: f383 8811 msr BASEPRI, r3 - 800e9ea: f3bf 8f6f isb sy - 800e9ee: f3bf 8f4f dsb sy - 800e9f2: b662 cpsie i - 800e9f4: 603b str r3, [r7, #0] - 800e9f6: e7fe b.n 800e9f6 + 800e566: 4b0c ldr r3, [pc, #48] ; (800e598 ) + 800e568: 681b ldr r3, [r3, #0] + 800e56a: b2db uxtb r3, r3 + 800e56c: 2b00 cmp r3, #0 + 800e56e: d00b beq.n 800e588 + 800e570: f04f 0350 mov.w r3, #80 ; 0x50 + 800e574: b672 cpsid i + 800e576: f383 8811 msr BASEPRI, r3 + 800e57a: f3bf 8f6f isb sy + 800e57e: f3bf 8f4f dsb sy + 800e582: b662 cpsie i + 800e584: 603b str r3, [r7, #0] + 800e586: e7fe b.n 800e586 } } - 800e9f8: bf00 nop - 800e9fa: 370c adds r7, #12 - 800e9fc: 46bd mov sp, r7 - 800e9fe: f85d 7b04 ldr.w r7, [sp], #4 - 800ea02: 4770 bx lr - 800ea04: 20000070 .word 0x20000070 - 800ea08: e000ed04 .word 0xe000ed04 + 800e588: bf00 nop + 800e58a: 370c adds r7, #12 + 800e58c: 46bd mov sp, r7 + 800e58e: f85d 7b04 ldr.w r7, [sp], #4 + 800e592: 4770 bx lr + 800e594: 20000070 .word 0x20000070 + 800e598: e000ed04 .word 0xe000ed04 -0800ea0c : +0800e59c : /*-----------------------------------------------------------*/ void vPortExitCritical( void ) { - 800ea0c: b480 push {r7} - 800ea0e: b083 sub sp, #12 - 800ea10: af00 add r7, sp, #0 + 800e59c: b480 push {r7} + 800e59e: b083 sub sp, #12 + 800e5a0: af00 add r7, sp, #0 configASSERT( uxCriticalNesting ); - 800ea12: 4b12 ldr r3, [pc, #72] ; (800ea5c ) - 800ea14: 681b ldr r3, [r3, #0] - 800ea16: 2b00 cmp r3, #0 - 800ea18: d10b bne.n 800ea32 - 800ea1a: f04f 0350 mov.w r3, #80 ; 0x50 - 800ea1e: b672 cpsid i - 800ea20: f383 8811 msr BASEPRI, r3 - 800ea24: f3bf 8f6f isb sy - 800ea28: f3bf 8f4f dsb sy - 800ea2c: b662 cpsie i - 800ea2e: 607b str r3, [r7, #4] - 800ea30: e7fe b.n 800ea30 + 800e5a2: 4b12 ldr r3, [pc, #72] ; (800e5ec ) + 800e5a4: 681b ldr r3, [r3, #0] + 800e5a6: 2b00 cmp r3, #0 + 800e5a8: d10b bne.n 800e5c2 + 800e5aa: f04f 0350 mov.w r3, #80 ; 0x50 + 800e5ae: b672 cpsid i + 800e5b0: f383 8811 msr BASEPRI, r3 + 800e5b4: f3bf 8f6f isb sy + 800e5b8: f3bf 8f4f dsb sy + 800e5bc: b662 cpsie i + 800e5be: 607b str r3, [r7, #4] + 800e5c0: e7fe b.n 800e5c0 uxCriticalNesting--; - 800ea32: 4b0a ldr r3, [pc, #40] ; (800ea5c ) - 800ea34: 681b ldr r3, [r3, #0] - 800ea36: 3b01 subs r3, #1 - 800ea38: 4a08 ldr r2, [pc, #32] ; (800ea5c ) - 800ea3a: 6013 str r3, [r2, #0] + 800e5c2: 4b0a ldr r3, [pc, #40] ; (800e5ec ) + 800e5c4: 681b ldr r3, [r3, #0] + 800e5c6: 3b01 subs r3, #1 + 800e5c8: 4a08 ldr r2, [pc, #32] ; (800e5ec ) + 800e5ca: 6013 str r3, [r2, #0] if( uxCriticalNesting == 0 ) - 800ea3c: 4b07 ldr r3, [pc, #28] ; (800ea5c ) - 800ea3e: 681b ldr r3, [r3, #0] - 800ea40: 2b00 cmp r3, #0 - 800ea42: d104 bne.n 800ea4e - 800ea44: 2300 movs r3, #0 - 800ea46: 603b str r3, [r7, #0] + 800e5cc: 4b07 ldr r3, [pc, #28] ; (800e5ec ) + 800e5ce: 681b ldr r3, [r3, #0] + 800e5d0: 2b00 cmp r3, #0 + 800e5d2: d104 bne.n 800e5de + 800e5d4: 2300 movs r3, #0 + 800e5d6: 603b str r3, [r7, #0] __asm volatile - 800ea48: 683b ldr r3, [r7, #0] - 800ea4a: f383 8811 msr BASEPRI, r3 + 800e5d8: 683b ldr r3, [r7, #0] + 800e5da: f383 8811 msr BASEPRI, r3 { portENABLE_INTERRUPTS(); } } - 800ea4e: bf00 nop - 800ea50: 370c adds r7, #12 - 800ea52: 46bd mov sp, r7 - 800ea54: f85d 7b04 ldr.w r7, [sp], #4 - 800ea58: 4770 bx lr - 800ea5a: bf00 nop - 800ea5c: 20000070 .word 0x20000070 + 800e5de: bf00 nop + 800e5e0: 370c adds r7, #12 + 800e5e2: 46bd mov sp, r7 + 800e5e4: f85d 7b04 ldr.w r7, [sp], #4 + 800e5e8: 4770 bx lr + 800e5ea: bf00 nop + 800e5ec: 20000070 .word 0x20000070 -0800ea60 : +0800e5f0 : void xPortPendSVHandler( void ) { /* This is a naked function. */ __asm volatile - 800ea60: f3ef 8009 mrs r0, PSP - 800ea64: f3bf 8f6f isb sy - 800ea68: 4b15 ldr r3, [pc, #84] ; (800eac0 ) - 800ea6a: 681a ldr r2, [r3, #0] - 800ea6c: f01e 0f10 tst.w lr, #16 - 800ea70: bf08 it eq - 800ea72: ed20 8a10 vstmdbeq r0!, {s16-s31} - 800ea76: e920 4ff0 stmdb r0!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800ea7a: 6010 str r0, [r2, #0] - 800ea7c: e92d 0009 stmdb sp!, {r0, r3} - 800ea80: f04f 0050 mov.w r0, #80 ; 0x50 - 800ea84: b672 cpsid i - 800ea86: f380 8811 msr BASEPRI, r0 - 800ea8a: f3bf 8f4f dsb sy - 800ea8e: f3bf 8f6f isb sy - 800ea92: b662 cpsie i - 800ea94: f7ff f9d8 bl 800de48 - 800ea98: f04f 0000 mov.w r0, #0 - 800ea9c: f380 8811 msr BASEPRI, r0 - 800eaa0: bc09 pop {r0, r3} - 800eaa2: 6819 ldr r1, [r3, #0] - 800eaa4: 6808 ldr r0, [r1, #0] - 800eaa6: e8b0 4ff0 ldmia.w r0!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800eaaa: f01e 0f10 tst.w lr, #16 - 800eaae: bf08 it eq - 800eab0: ecb0 8a10 vldmiaeq r0!, {s16-s31} - 800eab4: f380 8809 msr PSP, r0 - 800eab8: f3bf 8f6f isb sy - 800eabc: 4770 bx lr - 800eabe: bf00 nop + 800e5f0: f3ef 8009 mrs r0, PSP + 800e5f4: f3bf 8f6f isb sy + 800e5f8: 4b15 ldr r3, [pc, #84] ; (800e650 ) + 800e5fa: 681a ldr r2, [r3, #0] + 800e5fc: f01e 0f10 tst.w lr, #16 + 800e600: bf08 it eq + 800e602: ed20 8a10 vstmdbeq r0!, {s16-s31} + 800e606: e920 4ff0 stmdb r0!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800e60a: 6010 str r0, [r2, #0] + 800e60c: e92d 0009 stmdb sp!, {r0, r3} + 800e610: f04f 0050 mov.w r0, #80 ; 0x50 + 800e614: b672 cpsid i + 800e616: f380 8811 msr BASEPRI, r0 + 800e61a: f3bf 8f4f dsb sy + 800e61e: f3bf 8f6f isb sy + 800e622: b662 cpsie i + 800e624: f7ff f9de bl 800d9e4 + 800e628: f04f 0000 mov.w r0, #0 + 800e62c: f380 8811 msr BASEPRI, r0 + 800e630: bc09 pop {r0, r3} + 800e632: 6819 ldr r1, [r3, #0] + 800e634: 6808 ldr r0, [r1, #0] + 800e636: e8b0 4ff0 ldmia.w r0!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800e63a: f01e 0f10 tst.w lr, #16 + 800e63e: bf08 it eq + 800e640: ecb0 8a10 vldmiaeq r0!, {s16-s31} + 800e644: f380 8809 msr PSP, r0 + 800e648: f3bf 8f6f isb sy + 800e64c: 4770 bx lr + 800e64e: bf00 nop -0800eac0 : - 800eac0: 2000058c .word 0x2000058c +0800e650 : + 800e650: 2000058c .word 0x2000058c " \n" " .align 4 \n" "pxCurrentTCBConst: .word pxCurrentTCB \n" ::"i"(configMAX_SYSCALL_INTERRUPT_PRIORITY) ); } - 800eac4: bf00 nop - 800eac6: bf00 nop + 800e654: bf00 nop + 800e656: bf00 nop -0800eac8 : +0800e658 : /*-----------------------------------------------------------*/ void xPortSysTickHandler( void ) { - 800eac8: b580 push {r7, lr} - 800eaca: b082 sub sp, #8 - 800eacc: af00 add r7, sp, #0 + 800e658: b580 push {r7, lr} + 800e65a: b082 sub sp, #8 + 800e65c: af00 add r7, sp, #0 __asm volatile - 800eace: f04f 0350 mov.w r3, #80 ; 0x50 - 800ead2: b672 cpsid i - 800ead4: f383 8811 msr BASEPRI, r3 - 800ead8: f3bf 8f6f isb sy - 800eadc: f3bf 8f4f dsb sy - 800eae0: b662 cpsie i - 800eae2: 607b str r3, [r7, #4] + 800e65e: f04f 0350 mov.w r3, #80 ; 0x50 + 800e662: b672 cpsid i + 800e664: f383 8811 msr BASEPRI, r3 + 800e668: f3bf 8f6f isb sy + 800e66c: f3bf 8f4f dsb sy + 800e670: b662 cpsie i + 800e672: 607b str r3, [r7, #4] save and then restore the interrupt mask value as its value is already known. */ portDISABLE_INTERRUPTS(); { /* Increment the RTOS tick. */ if( xTaskIncrementTick() != pdFALSE ) - 800eae4: f7ff f8f6 bl 800dcd4 - 800eae8: 4603 mov r3, r0 - 800eaea: 2b00 cmp r3, #0 - 800eaec: d003 beq.n 800eaf6 + 800e674: f7ff f8fc bl 800d870 + 800e678: 4603 mov r3, r0 + 800e67a: 2b00 cmp r3, #0 + 800e67c: d003 beq.n 800e686 { /* A context switch is required. Context switching is performed in the PendSV interrupt. Pend the PendSV interrupt. */ portNVIC_INT_CTRL_REG = portNVIC_PENDSVSET_BIT; - 800eaee: 4b06 ldr r3, [pc, #24] ; (800eb08 ) - 800eaf0: f04f 5280 mov.w r2, #268435456 ; 0x10000000 - 800eaf4: 601a str r2, [r3, #0] - 800eaf6: 2300 movs r3, #0 - 800eaf8: 603b str r3, [r7, #0] + 800e67e: 4b06 ldr r3, [pc, #24] ; (800e698 ) + 800e680: f04f 5280 mov.w r2, #268435456 ; 0x10000000 + 800e684: 601a str r2, [r3, #0] + 800e686: 2300 movs r3, #0 + 800e688: 603b str r3, [r7, #0] __asm volatile - 800eafa: 683b ldr r3, [r7, #0] - 800eafc: f383 8811 msr BASEPRI, r3 + 800e68a: 683b ldr r3, [r7, #0] + 800e68c: f383 8811 msr BASEPRI, r3 } } portENABLE_INTERRUPTS(); } - 800eb00: bf00 nop - 800eb02: 3708 adds r7, #8 - 800eb04: 46bd mov sp, r7 - 800eb06: bd80 pop {r7, pc} - 800eb08: e000ed04 .word 0xe000ed04 + 800e690: bf00 nop + 800e692: 3708 adds r7, #8 + 800e694: 46bd mov sp, r7 + 800e696: bd80 pop {r7, pc} + 800e698: e000ed04 .word 0xe000ed04 -0800eb0c : +0800e69c : /* * Setup the systick timer to generate the tick interrupts at the required * frequency. */ __attribute__(( weak )) void vPortSetupTimerInterrupt( void ) { - 800eb0c: b480 push {r7} - 800eb0e: af00 add r7, sp, #0 + 800e69c: b480 push {r7} + 800e69e: af00 add r7, sp, #0 ulStoppedTimerCompensation = portMISSED_COUNTS_FACTOR / ( configCPU_CLOCK_HZ / configSYSTICK_CLOCK_HZ ); } #endif /* configUSE_TICKLESS_IDLE */ /* Stop and clear the SysTick. */ portNVIC_SYSTICK_CTRL_REG = 0UL; - 800eb10: 4b0b ldr r3, [pc, #44] ; (800eb40 ) - 800eb12: 2200 movs r2, #0 - 800eb14: 601a str r2, [r3, #0] + 800e6a0: 4b0b ldr r3, [pc, #44] ; (800e6d0 ) + 800e6a2: 2200 movs r2, #0 + 800e6a4: 601a str r2, [r3, #0] portNVIC_SYSTICK_CURRENT_VALUE_REG = 0UL; - 800eb16: 4b0b ldr r3, [pc, #44] ; (800eb44 ) - 800eb18: 2200 movs r2, #0 - 800eb1a: 601a str r2, [r3, #0] + 800e6a6: 4b0b ldr r3, [pc, #44] ; (800e6d4 ) + 800e6a8: 2200 movs r2, #0 + 800e6aa: 601a str r2, [r3, #0] /* Configure SysTick to interrupt at the requested rate. */ portNVIC_SYSTICK_LOAD_REG = ( configSYSTICK_CLOCK_HZ / configTICK_RATE_HZ ) - 1UL; - 800eb1c: 4b0a ldr r3, [pc, #40] ; (800eb48 ) - 800eb1e: 681b ldr r3, [r3, #0] - 800eb20: 4a0a ldr r2, [pc, #40] ; (800eb4c ) - 800eb22: fba2 2303 umull r2, r3, r2, r3 - 800eb26: 099b lsrs r3, r3, #6 - 800eb28: 4a09 ldr r2, [pc, #36] ; (800eb50 ) - 800eb2a: 3b01 subs r3, #1 - 800eb2c: 6013 str r3, [r2, #0] + 800e6ac: 4b0a ldr r3, [pc, #40] ; (800e6d8 ) + 800e6ae: 681b ldr r3, [r3, #0] + 800e6b0: 4a0a ldr r2, [pc, #40] ; (800e6dc ) + 800e6b2: fba2 2303 umull r2, r3, r2, r3 + 800e6b6: 099b lsrs r3, r3, #6 + 800e6b8: 4a09 ldr r2, [pc, #36] ; (800e6e0 ) + 800e6ba: 3b01 subs r3, #1 + 800e6bc: 6013 str r3, [r2, #0] portNVIC_SYSTICK_CTRL_REG = ( portNVIC_SYSTICK_CLK_BIT | portNVIC_SYSTICK_INT_BIT | portNVIC_SYSTICK_ENABLE_BIT ); - 800eb2e: 4b04 ldr r3, [pc, #16] ; (800eb40 ) - 800eb30: 2207 movs r2, #7 - 800eb32: 601a str r2, [r3, #0] + 800e6be: 4b04 ldr r3, [pc, #16] ; (800e6d0 ) + 800e6c0: 2207 movs r2, #7 + 800e6c2: 601a str r2, [r3, #0] } - 800eb34: bf00 nop - 800eb36: 46bd mov sp, r7 - 800eb38: f85d 7b04 ldr.w r7, [sp], #4 - 800eb3c: 4770 bx lr - 800eb3e: bf00 nop - 800eb40: e000e010 .word 0xe000e010 - 800eb44: e000e018 .word 0xe000e018 - 800eb48: 20000064 .word 0x20000064 - 800eb4c: 10624dd3 .word 0x10624dd3 - 800eb50: e000e014 .word 0xe000e014 + 800e6c4: bf00 nop + 800e6c6: 46bd mov sp, r7 + 800e6c8: f85d 7b04 ldr.w r7, [sp], #4 + 800e6cc: 4770 bx lr + 800e6ce: bf00 nop + 800e6d0: e000e010 .word 0xe000e010 + 800e6d4: e000e018 .word 0xe000e018 + 800e6d8: 20000064 .word 0x20000064 + 800e6dc: 10624dd3 .word 0x10624dd3 + 800e6e0: e000e014 .word 0xe000e014 -0800eb54 : +0800e6e4 : /*-----------------------------------------------------------*/ /* This is a naked function. */ static void vPortEnableVFP( void ) { __asm volatile - 800eb54: f8df 000c ldr.w r0, [pc, #12] ; 800eb64 - 800eb58: 6801 ldr r1, [r0, #0] - 800eb5a: f441 0170 orr.w r1, r1, #15728640 ; 0xf00000 - 800eb5e: 6001 str r1, [r0, #0] - 800eb60: 4770 bx lr + 800e6e4: f8df 000c ldr.w r0, [pc, #12] ; 800e6f4 + 800e6e8: 6801 ldr r1, [r0, #0] + 800e6ea: f441 0170 orr.w r1, r1, #15728640 ; 0xf00000 + 800e6ee: 6001 str r1, [r0, #0] + 800e6f0: 4770 bx lr " \n" " orr r1, r1, #( 0xf << 20 ) \n" /* Enable CP10 and CP11 coprocessors, then save back. */ " str r1, [r0] \n" " bx r14 " ); } - 800eb62: bf00 nop - 800eb64: e000ed88 .word 0xe000ed88 + 800e6f2: bf00 nop + 800e6f4: e000ed88 .word 0xe000ed88 -0800eb68 : +0800e6f8 : /*-----------------------------------------------------------*/ #if( configASSERT_DEFINED == 1 ) void vPortValidateInterruptPriority( void ) { - 800eb68: b480 push {r7} - 800eb6a: b085 sub sp, #20 - 800eb6c: af00 add r7, sp, #0 + 800e6f8: b480 push {r7} + 800e6fa: b085 sub sp, #20 + 800e6fc: af00 add r7, sp, #0 uint32_t ulCurrentInterrupt; uint8_t ucCurrentPriority; /* Obtain the number of the currently executing interrupt. */ __asm volatile( "mrs %0, ipsr" : "=r"( ulCurrentInterrupt ) :: "memory" ); - 800eb6e: f3ef 8305 mrs r3, IPSR - 800eb72: 60fb str r3, [r7, #12] + 800e6fe: f3ef 8305 mrs r3, IPSR + 800e702: 60fb str r3, [r7, #12] /* Is the interrupt number a user defined interrupt? */ if( ulCurrentInterrupt >= portFIRST_USER_INTERRUPT_NUMBER ) - 800eb74: 68fb ldr r3, [r7, #12] - 800eb76: 2b0f cmp r3, #15 - 800eb78: d915 bls.n 800eba6 + 800e704: 68fb ldr r3, [r7, #12] + 800e706: 2b0f cmp r3, #15 + 800e708: d915 bls.n 800e736 { /* Look up the interrupt's priority. */ ucCurrentPriority = pcInterruptPriorityRegisters[ ulCurrentInterrupt ]; - 800eb7a: 4a18 ldr r2, [pc, #96] ; (800ebdc ) - 800eb7c: 68fb ldr r3, [r7, #12] - 800eb7e: 4413 add r3, r2 - 800eb80: 781b ldrb r3, [r3, #0] - 800eb82: 72fb strb r3, [r7, #11] + 800e70a: 4a18 ldr r2, [pc, #96] ; (800e76c ) + 800e70c: 68fb ldr r3, [r7, #12] + 800e70e: 4413 add r3, r2 + 800e710: 781b ldrb r3, [r3, #0] + 800e712: 72fb strb r3, [r7, #11] interrupt entry is as fast and simple as possible. The following links provide detailed information: http://www.freertos.org/RTOS-Cortex-M3-M4.html http://www.freertos.org/FAQHelp.html */ configASSERT( ucCurrentPriority >= ucMaxSysCallPriority ); - 800eb84: 4b16 ldr r3, [pc, #88] ; (800ebe0 ) - 800eb86: 781b ldrb r3, [r3, #0] - 800eb88: 7afa ldrb r2, [r7, #11] - 800eb8a: 429a cmp r2, r3 - 800eb8c: d20b bcs.n 800eba6 + 800e714: 4b16 ldr r3, [pc, #88] ; (800e770 ) + 800e716: 781b ldrb r3, [r3, #0] + 800e718: 7afa ldrb r2, [r7, #11] + 800e71a: 429a cmp r2, r3 + 800e71c: d20b bcs.n 800e736 __asm volatile - 800eb8e: f04f 0350 mov.w r3, #80 ; 0x50 - 800eb92: b672 cpsid i - 800eb94: f383 8811 msr BASEPRI, r3 - 800eb98: f3bf 8f6f isb sy - 800eb9c: f3bf 8f4f dsb sy - 800eba0: b662 cpsie i - 800eba2: 607b str r3, [r7, #4] - 800eba4: e7fe b.n 800eba4 + 800e71e: f04f 0350 mov.w r3, #80 ; 0x50 + 800e722: b672 cpsid i + 800e724: f383 8811 msr BASEPRI, r3 + 800e728: f3bf 8f6f isb sy + 800e72c: f3bf 8f4f dsb sy + 800e730: b662 cpsie i + 800e732: 607b str r3, [r7, #4] + 800e734: e7fe b.n 800e734 configuration then the correct setting can be achieved on all Cortex-M devices by calling NVIC_SetPriorityGrouping( 0 ); before starting the scheduler. Note however that some vendor specific peripheral libraries assume a non-zero priority group setting, in which cases using a value of zero will result in unpredictable behaviour. */ configASSERT( ( portAIRCR_REG & portPRIORITY_GROUP_MASK ) <= ulMaxPRIGROUPValue ); - 800eba6: 4b0f ldr r3, [pc, #60] ; (800ebe4 ) - 800eba8: 681b ldr r3, [r3, #0] - 800ebaa: f403 62e0 and.w r2, r3, #1792 ; 0x700 - 800ebae: 4b0e ldr r3, [pc, #56] ; (800ebe8 ) - 800ebb0: 681b ldr r3, [r3, #0] - 800ebb2: 429a cmp r2, r3 - 800ebb4: d90b bls.n 800ebce - 800ebb6: f04f 0350 mov.w r3, #80 ; 0x50 - 800ebba: b672 cpsid i - 800ebbc: f383 8811 msr BASEPRI, r3 - 800ebc0: f3bf 8f6f isb sy - 800ebc4: f3bf 8f4f dsb sy - 800ebc8: b662 cpsie i - 800ebca: 603b str r3, [r7, #0] - 800ebcc: e7fe b.n 800ebcc + 800e736: 4b0f ldr r3, [pc, #60] ; (800e774 ) + 800e738: 681b ldr r3, [r3, #0] + 800e73a: f403 62e0 and.w r2, r3, #1792 ; 0x700 + 800e73e: 4b0e ldr r3, [pc, #56] ; (800e778 ) + 800e740: 681b ldr r3, [r3, #0] + 800e742: 429a cmp r2, r3 + 800e744: d90b bls.n 800e75e + 800e746: f04f 0350 mov.w r3, #80 ; 0x50 + 800e74a: b672 cpsid i + 800e74c: f383 8811 msr BASEPRI, r3 + 800e750: f3bf 8f6f isb sy + 800e754: f3bf 8f4f dsb sy + 800e758: b662 cpsie i + 800e75a: 603b str r3, [r7, #0] + 800e75c: e7fe b.n 800e75c } - 800ebce: bf00 nop - 800ebd0: 3714 adds r7, #20 - 800ebd2: 46bd mov sp, r7 - 800ebd4: f85d 7b04 ldr.w r7, [sp], #4 - 800ebd8: 4770 bx lr - 800ebda: bf00 nop - 800ebdc: e000e3f0 .word 0xe000e3f0 - 800ebe0: 200006b8 .word 0x200006b8 - 800ebe4: e000ed0c .word 0xe000ed0c - 800ebe8: 200006bc .word 0x200006bc + 800e75e: bf00 nop + 800e760: 3714 adds r7, #20 + 800e762: 46bd mov sp, r7 + 800e764: f85d 7b04 ldr.w r7, [sp], #4 + 800e768: 4770 bx lr + 800e76a: bf00 nop + 800e76c: e000e3f0 .word 0xe000e3f0 + 800e770: 200006b8 .word 0x200006b8 + 800e774: e000ed0c .word 0xe000ed0c + 800e778: 200006bc .word 0x200006bc -0800ebec : +0800e77c : static size_t xBlockAllocatedBit = 0; /*-----------------------------------------------------------*/ void *pvPortMalloc( size_t xWantedSize ) { - 800ebec: b580 push {r7, lr} - 800ebee: b08a sub sp, #40 ; 0x28 - 800ebf0: af00 add r7, sp, #0 - 800ebf2: 6078 str r0, [r7, #4] + 800e77c: b580 push {r7, lr} + 800e77e: b08a sub sp, #40 ; 0x28 + 800e780: af00 add r7, sp, #0 + 800e782: 6078 str r0, [r7, #4] BlockLink_t *pxBlock, *pxPreviousBlock, *pxNewBlockLink; void *pvReturn = NULL; - 800ebf4: 2300 movs r3, #0 - 800ebf6: 61fb str r3, [r7, #28] + 800e784: 2300 movs r3, #0 + 800e786: 61fb str r3, [r7, #28] vTaskSuspendAll(); - 800ebf8: f7fe ff9e bl 800db38 + 800e788: f7fe ffa4 bl 800d6d4 { /* If this is the first call to malloc then the heap will require initialisation to setup the list of free blocks. */ if( pxEnd == NULL ) - 800ebfc: 4b5c ldr r3, [pc, #368] ; (800ed70 ) - 800ebfe: 681b ldr r3, [r3, #0] - 800ec00: 2b00 cmp r3, #0 - 800ec02: d101 bne.n 800ec08 + 800e78c: 4b5c ldr r3, [pc, #368] ; (800e900 ) + 800e78e: 681b ldr r3, [r3, #0] + 800e790: 2b00 cmp r3, #0 + 800e792: d101 bne.n 800e798 { prvHeapInit(); - 800ec04: f000 f91a bl 800ee3c + 800e794: f000 f91a bl 800e9cc /* Check the requested block size is not so large that the top bit is set. The top bit of the block size member of the BlockLink_t structure is used to determine who owns the block - the application or the kernel, so it must be free. */ if( ( xWantedSize & xBlockAllocatedBit ) == 0 ) - 800ec08: 4b5a ldr r3, [pc, #360] ; (800ed74 ) - 800ec0a: 681a ldr r2, [r3, #0] - 800ec0c: 687b ldr r3, [r7, #4] - 800ec0e: 4013 ands r3, r2 - 800ec10: 2b00 cmp r3, #0 - 800ec12: f040 8090 bne.w 800ed36 + 800e798: 4b5a ldr r3, [pc, #360] ; (800e904 ) + 800e79a: 681a ldr r2, [r3, #0] + 800e79c: 687b ldr r3, [r7, #4] + 800e79e: 4013 ands r3, r2 + 800e7a0: 2b00 cmp r3, #0 + 800e7a2: f040 8090 bne.w 800e8c6 { /* The wanted size is increased so it can contain a BlockLink_t structure in addition to the requested amount of bytes. */ if( xWantedSize > 0 ) - 800ec16: 687b ldr r3, [r7, #4] - 800ec18: 2b00 cmp r3, #0 - 800ec1a: d01e beq.n 800ec5a + 800e7a6: 687b ldr r3, [r7, #4] + 800e7a8: 2b00 cmp r3, #0 + 800e7aa: d01e beq.n 800e7ea { xWantedSize += xHeapStructSize; - 800ec1c: 2208 movs r2, #8 - 800ec1e: 687b ldr r3, [r7, #4] - 800ec20: 4413 add r3, r2 - 800ec22: 607b str r3, [r7, #4] + 800e7ac: 2208 movs r2, #8 + 800e7ae: 687b ldr r3, [r7, #4] + 800e7b0: 4413 add r3, r2 + 800e7b2: 607b str r3, [r7, #4] /* Ensure that blocks are always aligned to the required number of bytes. */ if( ( xWantedSize & portBYTE_ALIGNMENT_MASK ) != 0x00 ) - 800ec24: 687b ldr r3, [r7, #4] - 800ec26: f003 0307 and.w r3, r3, #7 - 800ec2a: 2b00 cmp r3, #0 - 800ec2c: d015 beq.n 800ec5a + 800e7b4: 687b ldr r3, [r7, #4] + 800e7b6: f003 0307 and.w r3, r3, #7 + 800e7ba: 2b00 cmp r3, #0 + 800e7bc: d015 beq.n 800e7ea { /* Byte alignment required. */ xWantedSize += ( portBYTE_ALIGNMENT - ( xWantedSize & portBYTE_ALIGNMENT_MASK ) ); - 800ec2e: 687b ldr r3, [r7, #4] - 800ec30: f023 0307 bic.w r3, r3, #7 - 800ec34: 3308 adds r3, #8 - 800ec36: 607b str r3, [r7, #4] + 800e7be: 687b ldr r3, [r7, #4] + 800e7c0: f023 0307 bic.w r3, r3, #7 + 800e7c4: 3308 adds r3, #8 + 800e7c6: 607b str r3, [r7, #4] configASSERT( ( xWantedSize & portBYTE_ALIGNMENT_MASK ) == 0 ); - 800ec38: 687b ldr r3, [r7, #4] - 800ec3a: f003 0307 and.w r3, r3, #7 - 800ec3e: 2b00 cmp r3, #0 - 800ec40: d00b beq.n 800ec5a - 800ec42: f04f 0350 mov.w r3, #80 ; 0x50 - 800ec46: b672 cpsid i - 800ec48: f383 8811 msr BASEPRI, r3 - 800ec4c: f3bf 8f6f isb sy - 800ec50: f3bf 8f4f dsb sy - 800ec54: b662 cpsie i - 800ec56: 617b str r3, [r7, #20] - 800ec58: e7fe b.n 800ec58 + 800e7c8: 687b ldr r3, [r7, #4] + 800e7ca: f003 0307 and.w r3, r3, #7 + 800e7ce: 2b00 cmp r3, #0 + 800e7d0: d00b beq.n 800e7ea + 800e7d2: f04f 0350 mov.w r3, #80 ; 0x50 + 800e7d6: b672 cpsid i + 800e7d8: f383 8811 msr BASEPRI, r3 + 800e7dc: f3bf 8f6f isb sy + 800e7e0: f3bf 8f4f dsb sy + 800e7e4: b662 cpsie i + 800e7e6: 617b str r3, [r7, #20] + 800e7e8: e7fe b.n 800e7e8 else { mtCOVERAGE_TEST_MARKER(); } if( ( xWantedSize > 0 ) && ( xWantedSize <= xFreeBytesRemaining ) ) - 800ec5a: 687b ldr r3, [r7, #4] - 800ec5c: 2b00 cmp r3, #0 - 800ec5e: d06a beq.n 800ed36 - 800ec60: 4b45 ldr r3, [pc, #276] ; (800ed78 ) - 800ec62: 681b ldr r3, [r3, #0] - 800ec64: 687a ldr r2, [r7, #4] - 800ec66: 429a cmp r2, r3 - 800ec68: d865 bhi.n 800ed36 + 800e7ea: 687b ldr r3, [r7, #4] + 800e7ec: 2b00 cmp r3, #0 + 800e7ee: d06a beq.n 800e8c6 + 800e7f0: 4b45 ldr r3, [pc, #276] ; (800e908 ) + 800e7f2: 681b ldr r3, [r3, #0] + 800e7f4: 687a ldr r2, [r7, #4] + 800e7f6: 429a cmp r2, r3 + 800e7f8: d865 bhi.n 800e8c6 { /* Traverse the list from the start (lowest address) block until one of adequate size is found. */ pxPreviousBlock = &xStart; - 800ec6a: 4b44 ldr r3, [pc, #272] ; (800ed7c ) - 800ec6c: 623b str r3, [r7, #32] + 800e7fa: 4b44 ldr r3, [pc, #272] ; (800e90c ) + 800e7fc: 623b str r3, [r7, #32] pxBlock = xStart.pxNextFreeBlock; - 800ec6e: 4b43 ldr r3, [pc, #268] ; (800ed7c ) - 800ec70: 681b ldr r3, [r3, #0] - 800ec72: 627b str r3, [r7, #36] ; 0x24 + 800e7fe: 4b43 ldr r3, [pc, #268] ; (800e90c ) + 800e800: 681b ldr r3, [r3, #0] + 800e802: 627b str r3, [r7, #36] ; 0x24 while( ( pxBlock->xBlockSize < xWantedSize ) && ( pxBlock->pxNextFreeBlock != NULL ) ) - 800ec74: e004 b.n 800ec80 + 800e804: e004 b.n 800e810 { pxPreviousBlock = pxBlock; - 800ec76: 6a7b ldr r3, [r7, #36] ; 0x24 - 800ec78: 623b str r3, [r7, #32] + 800e806: 6a7b ldr r3, [r7, #36] ; 0x24 + 800e808: 623b str r3, [r7, #32] pxBlock = pxBlock->pxNextFreeBlock; - 800ec7a: 6a7b ldr r3, [r7, #36] ; 0x24 - 800ec7c: 681b ldr r3, [r3, #0] - 800ec7e: 627b str r3, [r7, #36] ; 0x24 + 800e80a: 6a7b ldr r3, [r7, #36] ; 0x24 + 800e80c: 681b ldr r3, [r3, #0] + 800e80e: 627b str r3, [r7, #36] ; 0x24 while( ( pxBlock->xBlockSize < xWantedSize ) && ( pxBlock->pxNextFreeBlock != NULL ) ) - 800ec80: 6a7b ldr r3, [r7, #36] ; 0x24 - 800ec82: 685b ldr r3, [r3, #4] - 800ec84: 687a ldr r2, [r7, #4] - 800ec86: 429a cmp r2, r3 - 800ec88: d903 bls.n 800ec92 - 800ec8a: 6a7b ldr r3, [r7, #36] ; 0x24 - 800ec8c: 681b ldr r3, [r3, #0] - 800ec8e: 2b00 cmp r3, #0 - 800ec90: d1f1 bne.n 800ec76 + 800e810: 6a7b ldr r3, [r7, #36] ; 0x24 + 800e812: 685b ldr r3, [r3, #4] + 800e814: 687a ldr r2, [r7, #4] + 800e816: 429a cmp r2, r3 + 800e818: d903 bls.n 800e822 + 800e81a: 6a7b ldr r3, [r7, #36] ; 0x24 + 800e81c: 681b ldr r3, [r3, #0] + 800e81e: 2b00 cmp r3, #0 + 800e820: d1f1 bne.n 800e806 } /* If the end marker was reached then a block of adequate size was not found. */ if( pxBlock != pxEnd ) - 800ec92: 4b37 ldr r3, [pc, #220] ; (800ed70 ) - 800ec94: 681b ldr r3, [r3, #0] - 800ec96: 6a7a ldr r2, [r7, #36] ; 0x24 - 800ec98: 429a cmp r2, r3 - 800ec9a: d04c beq.n 800ed36 + 800e822: 4b37 ldr r3, [pc, #220] ; (800e900 ) + 800e824: 681b ldr r3, [r3, #0] + 800e826: 6a7a ldr r2, [r7, #36] ; 0x24 + 800e828: 429a cmp r2, r3 + 800e82a: d04c beq.n 800e8c6 { /* Return the memory space pointed to - jumping over the BlockLink_t structure at its start. */ pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); - 800ec9c: 6a3b ldr r3, [r7, #32] - 800ec9e: 681b ldr r3, [r3, #0] - 800eca0: 2208 movs r2, #8 - 800eca2: 4413 add r3, r2 - 800eca4: 61fb str r3, [r7, #28] + 800e82c: 6a3b ldr r3, [r7, #32] + 800e82e: 681b ldr r3, [r3, #0] + 800e830: 2208 movs r2, #8 + 800e832: 4413 add r3, r2 + 800e834: 61fb str r3, [r7, #28] /* This block is being returned for use so must be taken out of the list of free blocks. */ pxPreviousBlock->pxNextFreeBlock = pxBlock->pxNextFreeBlock; - 800eca6: 6a7b ldr r3, [r7, #36] ; 0x24 - 800eca8: 681a ldr r2, [r3, #0] - 800ecaa: 6a3b ldr r3, [r7, #32] - 800ecac: 601a str r2, [r3, #0] + 800e836: 6a7b ldr r3, [r7, #36] ; 0x24 + 800e838: 681a ldr r2, [r3, #0] + 800e83a: 6a3b ldr r3, [r7, #32] + 800e83c: 601a str r2, [r3, #0] /* If the block is larger than required it can be split into two. */ if( ( pxBlock->xBlockSize - xWantedSize ) > heapMINIMUM_BLOCK_SIZE ) - 800ecae: 6a7b ldr r3, [r7, #36] ; 0x24 - 800ecb0: 685a ldr r2, [r3, #4] - 800ecb2: 687b ldr r3, [r7, #4] - 800ecb4: 1ad2 subs r2, r2, r3 - 800ecb6: 2308 movs r3, #8 - 800ecb8: 005b lsls r3, r3, #1 - 800ecba: 429a cmp r2, r3 - 800ecbc: d920 bls.n 800ed00 + 800e83e: 6a7b ldr r3, [r7, #36] ; 0x24 + 800e840: 685a ldr r2, [r3, #4] + 800e842: 687b ldr r3, [r7, #4] + 800e844: 1ad2 subs r2, r2, r3 + 800e846: 2308 movs r3, #8 + 800e848: 005b lsls r3, r3, #1 + 800e84a: 429a cmp r2, r3 + 800e84c: d920 bls.n 800e890 { /* This block is to be split into two. Create a new block following the number of bytes requested. The void cast is used to prevent byte alignment warnings from the compiler. */ pxNewBlockLink = ( void * ) ( ( ( uint8_t * ) pxBlock ) + xWantedSize ); - 800ecbe: 6a7a ldr r2, [r7, #36] ; 0x24 - 800ecc0: 687b ldr r3, [r7, #4] - 800ecc2: 4413 add r3, r2 - 800ecc4: 61bb str r3, [r7, #24] + 800e84e: 6a7a ldr r2, [r7, #36] ; 0x24 + 800e850: 687b ldr r3, [r7, #4] + 800e852: 4413 add r3, r2 + 800e854: 61bb str r3, [r7, #24] configASSERT( ( ( ( size_t ) pxNewBlockLink ) & portBYTE_ALIGNMENT_MASK ) == 0 ); - 800ecc6: 69bb ldr r3, [r7, #24] - 800ecc8: f003 0307 and.w r3, r3, #7 - 800eccc: 2b00 cmp r3, #0 - 800ecce: d00b beq.n 800ece8 - 800ecd0: f04f 0350 mov.w r3, #80 ; 0x50 - 800ecd4: b672 cpsid i - 800ecd6: f383 8811 msr BASEPRI, r3 - 800ecda: f3bf 8f6f isb sy - 800ecde: f3bf 8f4f dsb sy - 800ece2: b662 cpsie i - 800ece4: 613b str r3, [r7, #16] - 800ece6: e7fe b.n 800ece6 + 800e856: 69bb ldr r3, [r7, #24] + 800e858: f003 0307 and.w r3, r3, #7 + 800e85c: 2b00 cmp r3, #0 + 800e85e: d00b beq.n 800e878 + 800e860: f04f 0350 mov.w r3, #80 ; 0x50 + 800e864: b672 cpsid i + 800e866: f383 8811 msr BASEPRI, r3 + 800e86a: f3bf 8f6f isb sy + 800e86e: f3bf 8f4f dsb sy + 800e872: b662 cpsie i + 800e874: 613b str r3, [r7, #16] + 800e876: e7fe b.n 800e876 /* Calculate the sizes of two blocks split from the single block. */ pxNewBlockLink->xBlockSize = pxBlock->xBlockSize - xWantedSize; - 800ece8: 6a7b ldr r3, [r7, #36] ; 0x24 - 800ecea: 685a ldr r2, [r3, #4] - 800ecec: 687b ldr r3, [r7, #4] - 800ecee: 1ad2 subs r2, r2, r3 - 800ecf0: 69bb ldr r3, [r7, #24] - 800ecf2: 605a str r2, [r3, #4] + 800e878: 6a7b ldr r3, [r7, #36] ; 0x24 + 800e87a: 685a ldr r2, [r3, #4] + 800e87c: 687b ldr r3, [r7, #4] + 800e87e: 1ad2 subs r2, r2, r3 + 800e880: 69bb ldr r3, [r7, #24] + 800e882: 605a str r2, [r3, #4] pxBlock->xBlockSize = xWantedSize; - 800ecf4: 6a7b ldr r3, [r7, #36] ; 0x24 - 800ecf6: 687a ldr r2, [r7, #4] - 800ecf8: 605a str r2, [r3, #4] + 800e884: 6a7b ldr r3, [r7, #36] ; 0x24 + 800e886: 687a ldr r2, [r7, #4] + 800e888: 605a str r2, [r3, #4] /* Insert the new block into the list of free blocks. */ prvInsertBlockIntoFreeList( pxNewBlockLink ); - 800ecfa: 69b8 ldr r0, [r7, #24] - 800ecfc: f000 f900 bl 800ef00 + 800e88a: 69b8 ldr r0, [r7, #24] + 800e88c: f000 f900 bl 800ea90 else { mtCOVERAGE_TEST_MARKER(); } xFreeBytesRemaining -= pxBlock->xBlockSize; - 800ed00: 4b1d ldr r3, [pc, #116] ; (800ed78 ) - 800ed02: 681a ldr r2, [r3, #0] - 800ed04: 6a7b ldr r3, [r7, #36] ; 0x24 - 800ed06: 685b ldr r3, [r3, #4] - 800ed08: 1ad3 subs r3, r2, r3 - 800ed0a: 4a1b ldr r2, [pc, #108] ; (800ed78 ) - 800ed0c: 6013 str r3, [r2, #0] + 800e890: 4b1d ldr r3, [pc, #116] ; (800e908 ) + 800e892: 681a ldr r2, [r3, #0] + 800e894: 6a7b ldr r3, [r7, #36] ; 0x24 + 800e896: 685b ldr r3, [r3, #4] + 800e898: 1ad3 subs r3, r2, r3 + 800e89a: 4a1b ldr r2, [pc, #108] ; (800e908 ) + 800e89c: 6013 str r3, [r2, #0] if( xFreeBytesRemaining < xMinimumEverFreeBytesRemaining ) - 800ed0e: 4b1a ldr r3, [pc, #104] ; (800ed78 ) - 800ed10: 681a ldr r2, [r3, #0] - 800ed12: 4b1b ldr r3, [pc, #108] ; (800ed80 ) - 800ed14: 681b ldr r3, [r3, #0] - 800ed16: 429a cmp r2, r3 - 800ed18: d203 bcs.n 800ed22 + 800e89e: 4b1a ldr r3, [pc, #104] ; (800e908 ) + 800e8a0: 681a ldr r2, [r3, #0] + 800e8a2: 4b1b ldr r3, [pc, #108] ; (800e910 ) + 800e8a4: 681b ldr r3, [r3, #0] + 800e8a6: 429a cmp r2, r3 + 800e8a8: d203 bcs.n 800e8b2 { xMinimumEverFreeBytesRemaining = xFreeBytesRemaining; - 800ed1a: 4b17 ldr r3, [pc, #92] ; (800ed78 ) - 800ed1c: 681b ldr r3, [r3, #0] - 800ed1e: 4a18 ldr r2, [pc, #96] ; (800ed80 ) - 800ed20: 6013 str r3, [r2, #0] + 800e8aa: 4b17 ldr r3, [pc, #92] ; (800e908 ) + 800e8ac: 681b ldr r3, [r3, #0] + 800e8ae: 4a18 ldr r2, [pc, #96] ; (800e910 ) + 800e8b0: 6013 str r3, [r2, #0] mtCOVERAGE_TEST_MARKER(); } /* The block is being returned - it is allocated and owned by the application and has no "next" block. */ pxBlock->xBlockSize |= xBlockAllocatedBit; - 800ed22: 6a7b ldr r3, [r7, #36] ; 0x24 - 800ed24: 685a ldr r2, [r3, #4] - 800ed26: 4b13 ldr r3, [pc, #76] ; (800ed74 ) - 800ed28: 681b ldr r3, [r3, #0] - 800ed2a: 431a orrs r2, r3 - 800ed2c: 6a7b ldr r3, [r7, #36] ; 0x24 - 800ed2e: 605a str r2, [r3, #4] + 800e8b2: 6a7b ldr r3, [r7, #36] ; 0x24 + 800e8b4: 685a ldr r2, [r3, #4] + 800e8b6: 4b13 ldr r3, [pc, #76] ; (800e904 ) + 800e8b8: 681b ldr r3, [r3, #0] + 800e8ba: 431a orrs r2, r3 + 800e8bc: 6a7b ldr r3, [r7, #36] ; 0x24 + 800e8be: 605a str r2, [r3, #4] pxBlock->pxNextFreeBlock = NULL; - 800ed30: 6a7b ldr r3, [r7, #36] ; 0x24 - 800ed32: 2200 movs r2, #0 - 800ed34: 601a str r2, [r3, #0] + 800e8c0: 6a7b ldr r3, [r7, #36] ; 0x24 + 800e8c2: 2200 movs r2, #0 + 800e8c4: 601a str r2, [r3, #0] mtCOVERAGE_TEST_MARKER(); } traceMALLOC( pvReturn, xWantedSize ); } ( void ) xTaskResumeAll(); - 800ed36: f7fe ff0d bl 800db54 + 800e8c6: f7fe ff13 bl 800d6f0 #if( configUSE_MALLOC_FAILED_HOOK == 1 ) { if( pvReturn == NULL ) - 800ed3a: 69fb ldr r3, [r7, #28] - 800ed3c: 2b00 cmp r3, #0 - 800ed3e: d101 bne.n 800ed44 + 800e8ca: 69fb ldr r3, [r7, #28] + 800e8cc: 2b00 cmp r3, #0 + 800e8ce: d101 bne.n 800e8d4 { extern void vApplicationMallocFailedHook( void ); vApplicationMallocFailedHook(); - 800ed40: f7f1 fc48 bl 80005d4 + 800e8d0: f7f1 fe80 bl 80005d4 mtCOVERAGE_TEST_MARKER(); } } #endif configASSERT( ( ( ( size_t ) pvReturn ) & ( size_t ) portBYTE_ALIGNMENT_MASK ) == 0 ); - 800ed44: 69fb ldr r3, [r7, #28] - 800ed46: f003 0307 and.w r3, r3, #7 - 800ed4a: 2b00 cmp r3, #0 - 800ed4c: d00b beq.n 800ed66 - 800ed4e: f04f 0350 mov.w r3, #80 ; 0x50 - 800ed52: b672 cpsid i - 800ed54: f383 8811 msr BASEPRI, r3 - 800ed58: f3bf 8f6f isb sy - 800ed5c: f3bf 8f4f dsb sy - 800ed60: b662 cpsie i - 800ed62: 60fb str r3, [r7, #12] - 800ed64: e7fe b.n 800ed64 + 800e8d4: 69fb ldr r3, [r7, #28] + 800e8d6: f003 0307 and.w r3, r3, #7 + 800e8da: 2b00 cmp r3, #0 + 800e8dc: d00b beq.n 800e8f6 + 800e8de: f04f 0350 mov.w r3, #80 ; 0x50 + 800e8e2: b672 cpsid i + 800e8e4: f383 8811 msr BASEPRI, r3 + 800e8e8: f3bf 8f6f isb sy + 800e8ec: f3bf 8f4f dsb sy + 800e8f0: b662 cpsie i + 800e8f2: 60fb str r3, [r7, #12] + 800e8f4: e7fe b.n 800e8f4 return pvReturn; - 800ed66: 69fb ldr r3, [r7, #28] + 800e8f6: 69fb ldr r3, [r7, #28] } - 800ed68: 4618 mov r0, r3 - 800ed6a: 3728 adds r7, #40 ; 0x28 - 800ed6c: 46bd mov sp, r7 - 800ed6e: bd80 pop {r7, pc} - 800ed70: 200086c8 .word 0x200086c8 - 800ed74: 200086d4 .word 0x200086d4 - 800ed78: 200086cc .word 0x200086cc - 800ed7c: 200086c0 .word 0x200086c0 - 800ed80: 200086d0 .word 0x200086d0 + 800e8f8: 4618 mov r0, r3 + 800e8fa: 3728 adds r7, #40 ; 0x28 + 800e8fc: 46bd mov sp, r7 + 800e8fe: bd80 pop {r7, pc} + 800e900: 200086c8 .word 0x200086c8 + 800e904: 200086d4 .word 0x200086d4 + 800e908: 200086cc .word 0x200086cc + 800e90c: 200086c0 .word 0x200086c0 + 800e910: 200086d0 .word 0x200086d0 -0800ed84 : +0800e914 : /*-----------------------------------------------------------*/ void vPortFree( void *pv ) { - 800ed84: b580 push {r7, lr} - 800ed86: b086 sub sp, #24 - 800ed88: af00 add r7, sp, #0 - 800ed8a: 6078 str r0, [r7, #4] + 800e914: b580 push {r7, lr} + 800e916: b086 sub sp, #24 + 800e918: af00 add r7, sp, #0 + 800e91a: 6078 str r0, [r7, #4] uint8_t *puc = ( uint8_t * ) pv; - 800ed8c: 687b ldr r3, [r7, #4] - 800ed8e: 617b str r3, [r7, #20] + 800e91c: 687b ldr r3, [r7, #4] + 800e91e: 617b str r3, [r7, #20] BlockLink_t *pxLink; if( pv != NULL ) - 800ed90: 687b ldr r3, [r7, #4] - 800ed92: 2b00 cmp r3, #0 - 800ed94: d04a beq.n 800ee2c + 800e920: 687b ldr r3, [r7, #4] + 800e922: 2b00 cmp r3, #0 + 800e924: d04a beq.n 800e9bc { /* The memory being freed will have an BlockLink_t structure immediately before it. */ puc -= xHeapStructSize; - 800ed96: 2308 movs r3, #8 - 800ed98: 425b negs r3, r3 - 800ed9a: 697a ldr r2, [r7, #20] - 800ed9c: 4413 add r3, r2 - 800ed9e: 617b str r3, [r7, #20] + 800e926: 2308 movs r3, #8 + 800e928: 425b negs r3, r3 + 800e92a: 697a ldr r2, [r7, #20] + 800e92c: 4413 add r3, r2 + 800e92e: 617b str r3, [r7, #20] /* This casting is to keep the compiler from issuing warnings. */ pxLink = ( void * ) puc; - 800eda0: 697b ldr r3, [r7, #20] - 800eda2: 613b str r3, [r7, #16] + 800e930: 697b ldr r3, [r7, #20] + 800e932: 613b str r3, [r7, #16] /* Check the block is actually allocated. */ configASSERT( ( pxLink->xBlockSize & xBlockAllocatedBit ) != 0 ); - 800eda4: 693b ldr r3, [r7, #16] - 800eda6: 685a ldr r2, [r3, #4] - 800eda8: 4b22 ldr r3, [pc, #136] ; (800ee34 ) - 800edaa: 681b ldr r3, [r3, #0] - 800edac: 4013 ands r3, r2 - 800edae: 2b00 cmp r3, #0 - 800edb0: d10b bne.n 800edca - 800edb2: f04f 0350 mov.w r3, #80 ; 0x50 - 800edb6: b672 cpsid i - 800edb8: f383 8811 msr BASEPRI, r3 - 800edbc: f3bf 8f6f isb sy - 800edc0: f3bf 8f4f dsb sy - 800edc4: b662 cpsie i - 800edc6: 60fb str r3, [r7, #12] - 800edc8: e7fe b.n 800edc8 + 800e934: 693b ldr r3, [r7, #16] + 800e936: 685a ldr r2, [r3, #4] + 800e938: 4b22 ldr r3, [pc, #136] ; (800e9c4 ) + 800e93a: 681b ldr r3, [r3, #0] + 800e93c: 4013 ands r3, r2 + 800e93e: 2b00 cmp r3, #0 + 800e940: d10b bne.n 800e95a + 800e942: f04f 0350 mov.w r3, #80 ; 0x50 + 800e946: b672 cpsid i + 800e948: f383 8811 msr BASEPRI, r3 + 800e94c: f3bf 8f6f isb sy + 800e950: f3bf 8f4f dsb sy + 800e954: b662 cpsie i + 800e956: 60fb str r3, [r7, #12] + 800e958: e7fe b.n 800e958 configASSERT( pxLink->pxNextFreeBlock == NULL ); - 800edca: 693b ldr r3, [r7, #16] - 800edcc: 681b ldr r3, [r3, #0] - 800edce: 2b00 cmp r3, #0 - 800edd0: d00b beq.n 800edea - 800edd2: f04f 0350 mov.w r3, #80 ; 0x50 - 800edd6: b672 cpsid i - 800edd8: f383 8811 msr BASEPRI, r3 - 800eddc: f3bf 8f6f isb sy - 800ede0: f3bf 8f4f dsb sy - 800ede4: b662 cpsie i - 800ede6: 60bb str r3, [r7, #8] - 800ede8: e7fe b.n 800ede8 + 800e95a: 693b ldr r3, [r7, #16] + 800e95c: 681b ldr r3, [r3, #0] + 800e95e: 2b00 cmp r3, #0 + 800e960: d00b beq.n 800e97a + 800e962: f04f 0350 mov.w r3, #80 ; 0x50 + 800e966: b672 cpsid i + 800e968: f383 8811 msr BASEPRI, r3 + 800e96c: f3bf 8f6f isb sy + 800e970: f3bf 8f4f dsb sy + 800e974: b662 cpsie i + 800e976: 60bb str r3, [r7, #8] + 800e978: e7fe b.n 800e978 if( ( pxLink->xBlockSize & xBlockAllocatedBit ) != 0 ) - 800edea: 693b ldr r3, [r7, #16] - 800edec: 685a ldr r2, [r3, #4] - 800edee: 4b11 ldr r3, [pc, #68] ; (800ee34 ) - 800edf0: 681b ldr r3, [r3, #0] - 800edf2: 4013 ands r3, r2 - 800edf4: 2b00 cmp r3, #0 - 800edf6: d019 beq.n 800ee2c + 800e97a: 693b ldr r3, [r7, #16] + 800e97c: 685a ldr r2, [r3, #4] + 800e97e: 4b11 ldr r3, [pc, #68] ; (800e9c4 ) + 800e980: 681b ldr r3, [r3, #0] + 800e982: 4013 ands r3, r2 + 800e984: 2b00 cmp r3, #0 + 800e986: d019 beq.n 800e9bc { if( pxLink->pxNextFreeBlock == NULL ) - 800edf8: 693b ldr r3, [r7, #16] - 800edfa: 681b ldr r3, [r3, #0] - 800edfc: 2b00 cmp r3, #0 - 800edfe: d115 bne.n 800ee2c + 800e988: 693b ldr r3, [r7, #16] + 800e98a: 681b ldr r3, [r3, #0] + 800e98c: 2b00 cmp r3, #0 + 800e98e: d115 bne.n 800e9bc { /* The block is being returned to the heap - it is no longer allocated. */ pxLink->xBlockSize &= ~xBlockAllocatedBit; - 800ee00: 693b ldr r3, [r7, #16] - 800ee02: 685a ldr r2, [r3, #4] - 800ee04: 4b0b ldr r3, [pc, #44] ; (800ee34 ) - 800ee06: 681b ldr r3, [r3, #0] - 800ee08: 43db mvns r3, r3 - 800ee0a: 401a ands r2, r3 - 800ee0c: 693b ldr r3, [r7, #16] - 800ee0e: 605a str r2, [r3, #4] + 800e990: 693b ldr r3, [r7, #16] + 800e992: 685a ldr r2, [r3, #4] + 800e994: 4b0b ldr r3, [pc, #44] ; (800e9c4 ) + 800e996: 681b ldr r3, [r3, #0] + 800e998: 43db mvns r3, r3 + 800e99a: 401a ands r2, r3 + 800e99c: 693b ldr r3, [r7, #16] + 800e99e: 605a str r2, [r3, #4] vTaskSuspendAll(); - 800ee10: f7fe fe92 bl 800db38 + 800e9a0: f7fe fe98 bl 800d6d4 { /* Add this block to the list of free blocks. */ xFreeBytesRemaining += pxLink->xBlockSize; - 800ee14: 693b ldr r3, [r7, #16] - 800ee16: 685a ldr r2, [r3, #4] - 800ee18: 4b07 ldr r3, [pc, #28] ; (800ee38 ) - 800ee1a: 681b ldr r3, [r3, #0] - 800ee1c: 4413 add r3, r2 - 800ee1e: 4a06 ldr r2, [pc, #24] ; (800ee38 ) - 800ee20: 6013 str r3, [r2, #0] + 800e9a4: 693b ldr r3, [r7, #16] + 800e9a6: 685a ldr r2, [r3, #4] + 800e9a8: 4b07 ldr r3, [pc, #28] ; (800e9c8 ) + 800e9aa: 681b ldr r3, [r3, #0] + 800e9ac: 4413 add r3, r2 + 800e9ae: 4a06 ldr r2, [pc, #24] ; (800e9c8 ) + 800e9b0: 6013 str r3, [r2, #0] traceFREE( pv, pxLink->xBlockSize ); prvInsertBlockIntoFreeList( ( ( BlockLink_t * ) pxLink ) ); - 800ee22: 6938 ldr r0, [r7, #16] - 800ee24: f000 f86c bl 800ef00 + 800e9b2: 6938 ldr r0, [r7, #16] + 800e9b4: f000 f86c bl 800ea90 } ( void ) xTaskResumeAll(); - 800ee28: f7fe fe94 bl 800db54 + 800e9b8: f7fe fe9a bl 800d6f0 else { mtCOVERAGE_TEST_MARKER(); } } } - 800ee2c: bf00 nop - 800ee2e: 3718 adds r7, #24 - 800ee30: 46bd mov sp, r7 - 800ee32: bd80 pop {r7, pc} - 800ee34: 200086d4 .word 0x200086d4 - 800ee38: 200086cc .word 0x200086cc + 800e9bc: bf00 nop + 800e9be: 3718 adds r7, #24 + 800e9c0: 46bd mov sp, r7 + 800e9c2: bd80 pop {r7, pc} + 800e9c4: 200086d4 .word 0x200086d4 + 800e9c8: 200086cc .word 0x200086cc -0800ee3c : +0800e9cc : /* This just exists to keep the linker quiet. */ } /*-----------------------------------------------------------*/ static void prvHeapInit( void ) { - 800ee3c: b480 push {r7} - 800ee3e: b085 sub sp, #20 - 800ee40: af00 add r7, sp, #0 + 800e9cc: b480 push {r7} + 800e9ce: b085 sub sp, #20 + 800e9d0: af00 add r7, sp, #0 BlockLink_t *pxFirstFreeBlock; uint8_t *pucAlignedHeap; size_t uxAddress; size_t xTotalHeapSize = configTOTAL_HEAP_SIZE; - 800ee42: f44f 4300 mov.w r3, #32768 ; 0x8000 - 800ee46: 60bb str r3, [r7, #8] + 800e9d2: f44f 4300 mov.w r3, #32768 ; 0x8000 + 800e9d6: 60bb str r3, [r7, #8] /* Ensure the heap starts on a correctly aligned boundary. */ uxAddress = ( size_t ) ucHeap; - 800ee48: 4b27 ldr r3, [pc, #156] ; (800eee8 ) - 800ee4a: 60fb str r3, [r7, #12] + 800e9d8: 4b27 ldr r3, [pc, #156] ; (800ea78 ) + 800e9da: 60fb str r3, [r7, #12] if( ( uxAddress & portBYTE_ALIGNMENT_MASK ) != 0 ) - 800ee4c: 68fb ldr r3, [r7, #12] - 800ee4e: f003 0307 and.w r3, r3, #7 - 800ee52: 2b00 cmp r3, #0 - 800ee54: d00c beq.n 800ee70 + 800e9dc: 68fb ldr r3, [r7, #12] + 800e9de: f003 0307 and.w r3, r3, #7 + 800e9e2: 2b00 cmp r3, #0 + 800e9e4: d00c beq.n 800ea00 { uxAddress += ( portBYTE_ALIGNMENT - 1 ); - 800ee56: 68fb ldr r3, [r7, #12] - 800ee58: 3307 adds r3, #7 - 800ee5a: 60fb str r3, [r7, #12] + 800e9e6: 68fb ldr r3, [r7, #12] + 800e9e8: 3307 adds r3, #7 + 800e9ea: 60fb str r3, [r7, #12] uxAddress &= ~( ( size_t ) portBYTE_ALIGNMENT_MASK ); - 800ee5c: 68fb ldr r3, [r7, #12] - 800ee5e: f023 0307 bic.w r3, r3, #7 - 800ee62: 60fb str r3, [r7, #12] + 800e9ec: 68fb ldr r3, [r7, #12] + 800e9ee: f023 0307 bic.w r3, r3, #7 + 800e9f2: 60fb str r3, [r7, #12] xTotalHeapSize -= uxAddress - ( size_t ) ucHeap; - 800ee64: 68ba ldr r2, [r7, #8] - 800ee66: 68fb ldr r3, [r7, #12] - 800ee68: 1ad3 subs r3, r2, r3 - 800ee6a: 4a1f ldr r2, [pc, #124] ; (800eee8 ) - 800ee6c: 4413 add r3, r2 - 800ee6e: 60bb str r3, [r7, #8] + 800e9f4: 68ba ldr r2, [r7, #8] + 800e9f6: 68fb ldr r3, [r7, #12] + 800e9f8: 1ad3 subs r3, r2, r3 + 800e9fa: 4a1f ldr r2, [pc, #124] ; (800ea78 ) + 800e9fc: 4413 add r3, r2 + 800e9fe: 60bb str r3, [r7, #8] } pucAlignedHeap = ( uint8_t * ) uxAddress; - 800ee70: 68fb ldr r3, [r7, #12] - 800ee72: 607b str r3, [r7, #4] + 800ea00: 68fb ldr r3, [r7, #12] + 800ea02: 607b str r3, [r7, #4] /* xStart is used to hold a pointer to the first item in the list of free blocks. The void cast is used to prevent compiler warnings. */ xStart.pxNextFreeBlock = ( void * ) pucAlignedHeap; - 800ee74: 4a1d ldr r2, [pc, #116] ; (800eeec ) - 800ee76: 687b ldr r3, [r7, #4] - 800ee78: 6013 str r3, [r2, #0] + 800ea04: 4a1d ldr r2, [pc, #116] ; (800ea7c ) + 800ea06: 687b ldr r3, [r7, #4] + 800ea08: 6013 str r3, [r2, #0] xStart.xBlockSize = ( size_t ) 0; - 800ee7a: 4b1c ldr r3, [pc, #112] ; (800eeec ) - 800ee7c: 2200 movs r2, #0 - 800ee7e: 605a str r2, [r3, #4] + 800ea0a: 4b1c ldr r3, [pc, #112] ; (800ea7c ) + 800ea0c: 2200 movs r2, #0 + 800ea0e: 605a str r2, [r3, #4] /* pxEnd is used to mark the end of the list of free blocks and is inserted at the end of the heap space. */ uxAddress = ( ( size_t ) pucAlignedHeap ) + xTotalHeapSize; - 800ee80: 687b ldr r3, [r7, #4] - 800ee82: 68ba ldr r2, [r7, #8] - 800ee84: 4413 add r3, r2 - 800ee86: 60fb str r3, [r7, #12] + 800ea10: 687b ldr r3, [r7, #4] + 800ea12: 68ba ldr r2, [r7, #8] + 800ea14: 4413 add r3, r2 + 800ea16: 60fb str r3, [r7, #12] uxAddress -= xHeapStructSize; - 800ee88: 2208 movs r2, #8 - 800ee8a: 68fb ldr r3, [r7, #12] - 800ee8c: 1a9b subs r3, r3, r2 - 800ee8e: 60fb str r3, [r7, #12] + 800ea18: 2208 movs r2, #8 + 800ea1a: 68fb ldr r3, [r7, #12] + 800ea1c: 1a9b subs r3, r3, r2 + 800ea1e: 60fb str r3, [r7, #12] uxAddress &= ~( ( size_t ) portBYTE_ALIGNMENT_MASK ); - 800ee90: 68fb ldr r3, [r7, #12] - 800ee92: f023 0307 bic.w r3, r3, #7 - 800ee96: 60fb str r3, [r7, #12] + 800ea20: 68fb ldr r3, [r7, #12] + 800ea22: f023 0307 bic.w r3, r3, #7 + 800ea26: 60fb str r3, [r7, #12] pxEnd = ( void * ) uxAddress; - 800ee98: 68fb ldr r3, [r7, #12] - 800ee9a: 4a15 ldr r2, [pc, #84] ; (800eef0 ) - 800ee9c: 6013 str r3, [r2, #0] + 800ea28: 68fb ldr r3, [r7, #12] + 800ea2a: 4a15 ldr r2, [pc, #84] ; (800ea80 ) + 800ea2c: 6013 str r3, [r2, #0] pxEnd->xBlockSize = 0; - 800ee9e: 4b14 ldr r3, [pc, #80] ; (800eef0 ) - 800eea0: 681b ldr r3, [r3, #0] - 800eea2: 2200 movs r2, #0 - 800eea4: 605a str r2, [r3, #4] + 800ea2e: 4b14 ldr r3, [pc, #80] ; (800ea80 ) + 800ea30: 681b ldr r3, [r3, #0] + 800ea32: 2200 movs r2, #0 + 800ea34: 605a str r2, [r3, #4] pxEnd->pxNextFreeBlock = NULL; - 800eea6: 4b12 ldr r3, [pc, #72] ; (800eef0 ) - 800eea8: 681b ldr r3, [r3, #0] - 800eeaa: 2200 movs r2, #0 - 800eeac: 601a str r2, [r3, #0] + 800ea36: 4b12 ldr r3, [pc, #72] ; (800ea80 ) + 800ea38: 681b ldr r3, [r3, #0] + 800ea3a: 2200 movs r2, #0 + 800ea3c: 601a str r2, [r3, #0] /* To start with there is a single free block that is sized to take up the entire heap space, minus the space taken by pxEnd. */ pxFirstFreeBlock = ( void * ) pucAlignedHeap; - 800eeae: 687b ldr r3, [r7, #4] - 800eeb0: 603b str r3, [r7, #0] + 800ea3e: 687b ldr r3, [r7, #4] + 800ea40: 603b str r3, [r7, #0] pxFirstFreeBlock->xBlockSize = uxAddress - ( size_t ) pxFirstFreeBlock; - 800eeb2: 683b ldr r3, [r7, #0] - 800eeb4: 68fa ldr r2, [r7, #12] - 800eeb6: 1ad2 subs r2, r2, r3 - 800eeb8: 683b ldr r3, [r7, #0] - 800eeba: 605a str r2, [r3, #4] + 800ea42: 683b ldr r3, [r7, #0] + 800ea44: 68fa ldr r2, [r7, #12] + 800ea46: 1ad2 subs r2, r2, r3 + 800ea48: 683b ldr r3, [r7, #0] + 800ea4a: 605a str r2, [r3, #4] pxFirstFreeBlock->pxNextFreeBlock = pxEnd; - 800eebc: 4b0c ldr r3, [pc, #48] ; (800eef0 ) - 800eebe: 681a ldr r2, [r3, #0] - 800eec0: 683b ldr r3, [r7, #0] - 800eec2: 601a str r2, [r3, #0] + 800ea4c: 4b0c ldr r3, [pc, #48] ; (800ea80 ) + 800ea4e: 681a ldr r2, [r3, #0] + 800ea50: 683b ldr r3, [r7, #0] + 800ea52: 601a str r2, [r3, #0] /* Only one block exists - and it covers the entire usable heap space. */ xMinimumEverFreeBytesRemaining = pxFirstFreeBlock->xBlockSize; - 800eec4: 683b ldr r3, [r7, #0] - 800eec6: 685b ldr r3, [r3, #4] - 800eec8: 4a0a ldr r2, [pc, #40] ; (800eef4 ) - 800eeca: 6013 str r3, [r2, #0] + 800ea54: 683b ldr r3, [r7, #0] + 800ea56: 685b ldr r3, [r3, #4] + 800ea58: 4a0a ldr r2, [pc, #40] ; (800ea84 ) + 800ea5a: 6013 str r3, [r2, #0] xFreeBytesRemaining = pxFirstFreeBlock->xBlockSize; - 800eecc: 683b ldr r3, [r7, #0] - 800eece: 685b ldr r3, [r3, #4] - 800eed0: 4a09 ldr r2, [pc, #36] ; (800eef8 ) - 800eed2: 6013 str r3, [r2, #0] + 800ea5c: 683b ldr r3, [r7, #0] + 800ea5e: 685b ldr r3, [r3, #4] + 800ea60: 4a09 ldr r2, [pc, #36] ; (800ea88 ) + 800ea62: 6013 str r3, [r2, #0] /* Work out the position of the top bit in a size_t variable. */ xBlockAllocatedBit = ( ( size_t ) 1 ) << ( ( sizeof( size_t ) * heapBITS_PER_BYTE ) - 1 ); - 800eed4: 4b09 ldr r3, [pc, #36] ; (800eefc ) - 800eed6: f04f 4200 mov.w r2, #2147483648 ; 0x80000000 - 800eeda: 601a str r2, [r3, #0] + 800ea64: 4b09 ldr r3, [pc, #36] ; (800ea8c ) + 800ea66: f04f 4200 mov.w r2, #2147483648 ; 0x80000000 + 800ea6a: 601a str r2, [r3, #0] } - 800eedc: bf00 nop - 800eede: 3714 adds r7, #20 - 800eee0: 46bd mov sp, r7 - 800eee2: f85d 7b04 ldr.w r7, [sp], #4 - 800eee6: 4770 bx lr - 800eee8: 200006c0 .word 0x200006c0 - 800eeec: 200086c0 .word 0x200086c0 - 800eef0: 200086c8 .word 0x200086c8 - 800eef4: 200086d0 .word 0x200086d0 - 800eef8: 200086cc .word 0x200086cc - 800eefc: 200086d4 .word 0x200086d4 + 800ea6c: bf00 nop + 800ea6e: 3714 adds r7, #20 + 800ea70: 46bd mov sp, r7 + 800ea72: f85d 7b04 ldr.w r7, [sp], #4 + 800ea76: 4770 bx lr + 800ea78: 200006c0 .word 0x200006c0 + 800ea7c: 200086c0 .word 0x200086c0 + 800ea80: 200086c8 .word 0x200086c8 + 800ea84: 200086d0 .word 0x200086d0 + 800ea88: 200086cc .word 0x200086cc + 800ea8c: 200086d4 .word 0x200086d4 -0800ef00 : +0800ea90 : /*-----------------------------------------------------------*/ static void prvInsertBlockIntoFreeList( BlockLink_t *pxBlockToInsert ) { - 800ef00: b480 push {r7} - 800ef02: b085 sub sp, #20 - 800ef04: af00 add r7, sp, #0 - 800ef06: 6078 str r0, [r7, #4] + 800ea90: b480 push {r7} + 800ea92: b085 sub sp, #20 + 800ea94: af00 add r7, sp, #0 + 800ea96: 6078 str r0, [r7, #4] BlockLink_t *pxIterator; uint8_t *puc; /* Iterate through the list until a block is found that has a higher address than the block being inserted. */ for( pxIterator = &xStart; pxIterator->pxNextFreeBlock < pxBlockToInsert; pxIterator = pxIterator->pxNextFreeBlock ) - 800ef08: 4b28 ldr r3, [pc, #160] ; (800efac ) - 800ef0a: 60fb str r3, [r7, #12] - 800ef0c: e002 b.n 800ef14 - 800ef0e: 68fb ldr r3, [r7, #12] - 800ef10: 681b ldr r3, [r3, #0] - 800ef12: 60fb str r3, [r7, #12] - 800ef14: 68fb ldr r3, [r7, #12] - 800ef16: 681b ldr r3, [r3, #0] - 800ef18: 687a ldr r2, [r7, #4] - 800ef1a: 429a cmp r2, r3 - 800ef1c: d8f7 bhi.n 800ef0e + 800ea98: 4b28 ldr r3, [pc, #160] ; (800eb3c ) + 800ea9a: 60fb str r3, [r7, #12] + 800ea9c: e002 b.n 800eaa4 + 800ea9e: 68fb ldr r3, [r7, #12] + 800eaa0: 681b ldr r3, [r3, #0] + 800eaa2: 60fb str r3, [r7, #12] + 800eaa4: 68fb ldr r3, [r7, #12] + 800eaa6: 681b ldr r3, [r3, #0] + 800eaa8: 687a ldr r2, [r7, #4] + 800eaaa: 429a cmp r2, r3 + 800eaac: d8f7 bhi.n 800ea9e /* Nothing to do here, just iterate to the right position. */ } /* Do the block being inserted, and the block it is being inserted after make a contiguous block of memory? */ puc = ( uint8_t * ) pxIterator; - 800ef1e: 68fb ldr r3, [r7, #12] - 800ef20: 60bb str r3, [r7, #8] + 800eaae: 68fb ldr r3, [r7, #12] + 800eab0: 60bb str r3, [r7, #8] if( ( puc + pxIterator->xBlockSize ) == ( uint8_t * ) pxBlockToInsert ) - 800ef22: 68fb ldr r3, [r7, #12] - 800ef24: 685b ldr r3, [r3, #4] - 800ef26: 68ba ldr r2, [r7, #8] - 800ef28: 4413 add r3, r2 - 800ef2a: 687a ldr r2, [r7, #4] - 800ef2c: 429a cmp r2, r3 - 800ef2e: d108 bne.n 800ef42 + 800eab2: 68fb ldr r3, [r7, #12] + 800eab4: 685b ldr r3, [r3, #4] + 800eab6: 68ba ldr r2, [r7, #8] + 800eab8: 4413 add r3, r2 + 800eaba: 687a ldr r2, [r7, #4] + 800eabc: 429a cmp r2, r3 + 800eabe: d108 bne.n 800ead2 { pxIterator->xBlockSize += pxBlockToInsert->xBlockSize; - 800ef30: 68fb ldr r3, [r7, #12] - 800ef32: 685a ldr r2, [r3, #4] - 800ef34: 687b ldr r3, [r7, #4] - 800ef36: 685b ldr r3, [r3, #4] - 800ef38: 441a add r2, r3 - 800ef3a: 68fb ldr r3, [r7, #12] - 800ef3c: 605a str r2, [r3, #4] + 800eac0: 68fb ldr r3, [r7, #12] + 800eac2: 685a ldr r2, [r3, #4] + 800eac4: 687b ldr r3, [r7, #4] + 800eac6: 685b ldr r3, [r3, #4] + 800eac8: 441a add r2, r3 + 800eaca: 68fb ldr r3, [r7, #12] + 800eacc: 605a str r2, [r3, #4] pxBlockToInsert = pxIterator; - 800ef3e: 68fb ldr r3, [r7, #12] - 800ef40: 607b str r3, [r7, #4] + 800eace: 68fb ldr r3, [r7, #12] + 800ead0: 607b str r3, [r7, #4] mtCOVERAGE_TEST_MARKER(); } /* Do the block being inserted, and the block it is being inserted before make a contiguous block of memory? */ puc = ( uint8_t * ) pxBlockToInsert; - 800ef42: 687b ldr r3, [r7, #4] - 800ef44: 60bb str r3, [r7, #8] + 800ead2: 687b ldr r3, [r7, #4] + 800ead4: 60bb str r3, [r7, #8] if( ( puc + pxBlockToInsert->xBlockSize ) == ( uint8_t * ) pxIterator->pxNextFreeBlock ) - 800ef46: 687b ldr r3, [r7, #4] - 800ef48: 685b ldr r3, [r3, #4] - 800ef4a: 68ba ldr r2, [r7, #8] - 800ef4c: 441a add r2, r3 - 800ef4e: 68fb ldr r3, [r7, #12] - 800ef50: 681b ldr r3, [r3, #0] - 800ef52: 429a cmp r2, r3 - 800ef54: d118 bne.n 800ef88 + 800ead6: 687b ldr r3, [r7, #4] + 800ead8: 685b ldr r3, [r3, #4] + 800eada: 68ba ldr r2, [r7, #8] + 800eadc: 441a add r2, r3 + 800eade: 68fb ldr r3, [r7, #12] + 800eae0: 681b ldr r3, [r3, #0] + 800eae2: 429a cmp r2, r3 + 800eae4: d118 bne.n 800eb18 { if( pxIterator->pxNextFreeBlock != pxEnd ) - 800ef56: 68fb ldr r3, [r7, #12] - 800ef58: 681a ldr r2, [r3, #0] - 800ef5a: 4b15 ldr r3, [pc, #84] ; (800efb0 ) - 800ef5c: 681b ldr r3, [r3, #0] - 800ef5e: 429a cmp r2, r3 - 800ef60: d00d beq.n 800ef7e + 800eae6: 68fb ldr r3, [r7, #12] + 800eae8: 681a ldr r2, [r3, #0] + 800eaea: 4b15 ldr r3, [pc, #84] ; (800eb40 ) + 800eaec: 681b ldr r3, [r3, #0] + 800eaee: 429a cmp r2, r3 + 800eaf0: d00d beq.n 800eb0e { /* Form one big block from the two blocks. */ pxBlockToInsert->xBlockSize += pxIterator->pxNextFreeBlock->xBlockSize; - 800ef62: 687b ldr r3, [r7, #4] - 800ef64: 685a ldr r2, [r3, #4] - 800ef66: 68fb ldr r3, [r7, #12] - 800ef68: 681b ldr r3, [r3, #0] - 800ef6a: 685b ldr r3, [r3, #4] - 800ef6c: 441a add r2, r3 - 800ef6e: 687b ldr r3, [r7, #4] - 800ef70: 605a str r2, [r3, #4] + 800eaf2: 687b ldr r3, [r7, #4] + 800eaf4: 685a ldr r2, [r3, #4] + 800eaf6: 68fb ldr r3, [r7, #12] + 800eaf8: 681b ldr r3, [r3, #0] + 800eafa: 685b ldr r3, [r3, #4] + 800eafc: 441a add r2, r3 + 800eafe: 687b ldr r3, [r7, #4] + 800eb00: 605a str r2, [r3, #4] pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock->pxNextFreeBlock; - 800ef72: 68fb ldr r3, [r7, #12] - 800ef74: 681b ldr r3, [r3, #0] - 800ef76: 681a ldr r2, [r3, #0] - 800ef78: 687b ldr r3, [r7, #4] - 800ef7a: 601a str r2, [r3, #0] - 800ef7c: e008 b.n 800ef90 + 800eb02: 68fb ldr r3, [r7, #12] + 800eb04: 681b ldr r3, [r3, #0] + 800eb06: 681a ldr r2, [r3, #0] + 800eb08: 687b ldr r3, [r7, #4] + 800eb0a: 601a str r2, [r3, #0] + 800eb0c: e008 b.n 800eb20 } else { pxBlockToInsert->pxNextFreeBlock = pxEnd; - 800ef7e: 4b0c ldr r3, [pc, #48] ; (800efb0 ) - 800ef80: 681a ldr r2, [r3, #0] - 800ef82: 687b ldr r3, [r7, #4] - 800ef84: 601a str r2, [r3, #0] - 800ef86: e003 b.n 800ef90 + 800eb0e: 4b0c ldr r3, [pc, #48] ; (800eb40 ) + 800eb10: 681a ldr r2, [r3, #0] + 800eb12: 687b ldr r3, [r7, #4] + 800eb14: 601a str r2, [r3, #0] + 800eb16: e003 b.n 800eb20 } } else { pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock; - 800ef88: 68fb ldr r3, [r7, #12] - 800ef8a: 681a ldr r2, [r3, #0] - 800ef8c: 687b ldr r3, [r7, #4] - 800ef8e: 601a str r2, [r3, #0] + 800eb18: 68fb ldr r3, [r7, #12] + 800eb1a: 681a ldr r2, [r3, #0] + 800eb1c: 687b ldr r3, [r7, #4] + 800eb1e: 601a str r2, [r3, #0] /* If the block being inserted plugged a gab, so was merged with the block before and the block after, then it's pxNextFreeBlock pointer will have already been set, and should not be set here as that would make it point to itself. */ if( pxIterator != pxBlockToInsert ) - 800ef90: 68fa ldr r2, [r7, #12] - 800ef92: 687b ldr r3, [r7, #4] - 800ef94: 429a cmp r2, r3 - 800ef96: d002 beq.n 800ef9e + 800eb20: 68fa ldr r2, [r7, #12] + 800eb22: 687b ldr r3, [r7, #4] + 800eb24: 429a cmp r2, r3 + 800eb26: d002 beq.n 800eb2e { pxIterator->pxNextFreeBlock = pxBlockToInsert; - 800ef98: 68fb ldr r3, [r7, #12] - 800ef9a: 687a ldr r2, [r7, #4] - 800ef9c: 601a str r2, [r3, #0] + 800eb28: 68fb ldr r3, [r7, #12] + 800eb2a: 687a ldr r2, [r7, #4] + 800eb2c: 601a str r2, [r3, #0] } else { mtCOVERAGE_TEST_MARKER(); } } - 800ef9e: bf00 nop - 800efa0: 3714 adds r7, #20 - 800efa2: 46bd mov sp, r7 - 800efa4: f85d 7b04 ldr.w r7, [sp], #4 - 800efa8: 4770 bx lr - 800efaa: bf00 nop - 800efac: 200086c0 .word 0x200086c0 - 800efb0: 200086c8 .word 0x200086c8 + 800eb2e: bf00 nop + 800eb30: 3714 adds r7, #20 + 800eb32: 46bd mov sp, r7 + 800eb34: f85d 7b04 ldr.w r7, [sp], #4 + 800eb38: 4770 bx lr + 800eb3a: bf00 nop + 800eb3c: 200086c0 .word 0x200086c0 + 800eb40: 200086c8 .word 0x200086c8 -0800efb4 : +0800eb44 : * @param mbox the mbox to fetch the message from * @param msg the place to store the message */ static void tcpip_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg) { - 800efb4: b580 push {r7, lr} - 800efb6: b084 sub sp, #16 - 800efb8: af00 add r7, sp, #0 - 800efba: 6078 str r0, [r7, #4] - 800efbc: 6039 str r1, [r7, #0] + 800eb44: b580 push {r7, lr} + 800eb46: b084 sub sp, #16 + 800eb48: af00 add r7, sp, #0 + 800eb4a: 6078 str r0, [r7, #4] + 800eb4c: 6039 str r1, [r7, #0] u32_t sleeptime, res; again: LWIP_ASSERT_CORE_LOCKED(); sleeptime = sys_timeouts_sleeptime(); - 800efbe: f007 fa91 bl 80164e4 - 800efc2: 60f8 str r0, [r7, #12] + 800eb4e: f007 fa91 bl 8016074 + 800eb52: 60f8 str r0, [r7, #12] if (sleeptime == SYS_TIMEOUTS_SLEEPTIME_INFINITE) { - 800efc4: 68fb ldr r3, [r7, #12] - 800efc6: f1b3 3fff cmp.w r3, #4294967295 - 800efca: d10b bne.n 800efe4 + 800eb54: 68fb ldr r3, [r7, #12] + 800eb56: f1b3 3fff cmp.w r3, #4294967295 + 800eb5a: d10b bne.n 800eb74 UNLOCK_TCPIP_CORE(); - 800efcc: 4813 ldr r0, [pc, #76] ; (800f01c ) - 800efce: f00c f9c2 bl 801b356 + 800eb5c: 4813 ldr r0, [pc, #76] ; (800ebac ) + 800eb5e: f00c f9c2 bl 801aee6 sys_arch_mbox_fetch(mbox, msg, 0); - 800efd2: 2200 movs r2, #0 - 800efd4: 6839 ldr r1, [r7, #0] - 800efd6: 6878 ldr r0, [r7, #4] - 800efd8: f00c f934 bl 801b244 + 800eb62: 2200 movs r2, #0 + 800eb64: 6839 ldr r1, [r7, #0] + 800eb66: 6878 ldr r0, [r7, #4] + 800eb68: f00c f934 bl 801add4 LOCK_TCPIP_CORE(); - 800efdc: 480f ldr r0, [pc, #60] ; (800f01c ) - 800efde: f00c f9ab bl 801b338 + 800eb6c: 480f ldr r0, [pc, #60] ; (800ebac ) + 800eb6e: f00c f9ab bl 801aec8 return; - 800efe2: e018 b.n 800f016 + 800eb72: e018 b.n 800eba6 } else if (sleeptime == 0) { - 800efe4: 68fb ldr r3, [r7, #12] - 800efe6: 2b00 cmp r3, #0 - 800efe8: d102 bne.n 800eff0 + 800eb74: 68fb ldr r3, [r7, #12] + 800eb76: 2b00 cmp r3, #0 + 800eb78: d102 bne.n 800eb80 sys_check_timeouts(); - 800efea: f007 fa41 bl 8016470 + 800eb7a: f007 fa41 bl 8016000 /* We try again to fetch a message from the mbox. */ goto again; - 800efee: e7e6 b.n 800efbe + 800eb7e: e7e6 b.n 800eb4e } UNLOCK_TCPIP_CORE(); - 800eff0: 480a ldr r0, [pc, #40] ; (800f01c ) - 800eff2: f00c f9b0 bl 801b356 + 800eb80: 480a ldr r0, [pc, #40] ; (800ebac ) + 800eb82: f00c f9b0 bl 801aee6 res = sys_arch_mbox_fetch(mbox, msg, sleeptime); - 800eff6: 68fa ldr r2, [r7, #12] - 800eff8: 6839 ldr r1, [r7, #0] - 800effa: 6878 ldr r0, [r7, #4] - 800effc: f00c f922 bl 801b244 - 800f000: 60b8 str r0, [r7, #8] + 800eb86: 68fa ldr r2, [r7, #12] + 800eb88: 6839 ldr r1, [r7, #0] + 800eb8a: 6878 ldr r0, [r7, #4] + 800eb8c: f00c f922 bl 801add4 + 800eb90: 60b8 str r0, [r7, #8] LOCK_TCPIP_CORE(); - 800f002: 4806 ldr r0, [pc, #24] ; (800f01c ) - 800f004: f00c f998 bl 801b338 + 800eb92: 4806 ldr r0, [pc, #24] ; (800ebac ) + 800eb94: f00c f998 bl 801aec8 if (res == SYS_ARCH_TIMEOUT) { - 800f008: 68bb ldr r3, [r7, #8] - 800f00a: f1b3 3fff cmp.w r3, #4294967295 - 800f00e: d102 bne.n 800f016 + 800eb98: 68bb ldr r3, [r7, #8] + 800eb9a: f1b3 3fff cmp.w r3, #4294967295 + 800eb9e: d102 bne.n 800eba6 /* If a SYS_ARCH_TIMEOUT value is returned, a timeout occurred before a message could be fetched. */ sys_check_timeouts(); - 800f010: f007 fa2e bl 8016470 + 800eba0: f007 fa2e bl 8016000 /* We try again to fetch a message from the mbox. */ goto again; - 800f014: e7d3 b.n 800efbe + 800eba4: e7d3 b.n 800eb4e } } - 800f016: 3710 adds r7, #16 - 800f018: 46bd mov sp, r7 - 800f01a: bd80 pop {r7, pc} - 800f01c: 2000be8c .word 0x2000be8c + 800eba6: 3710 adds r7, #16 + 800eba8: 46bd mov sp, r7 + 800ebaa: bd80 pop {r7, pc} + 800ebac: 2000be88 .word 0x2000be88 -0800f020 : +0800ebb0 : * * @param arg unused argument */ static void tcpip_thread(void *arg) { - 800f020: b580 push {r7, lr} - 800f022: b084 sub sp, #16 - 800f024: af00 add r7, sp, #0 - 800f026: 6078 str r0, [r7, #4] + 800ebb0: b580 push {r7, lr} + 800ebb2: b084 sub sp, #16 + 800ebb4: af00 add r7, sp, #0 + 800ebb6: 6078 str r0, [r7, #4] struct tcpip_msg *msg; LWIP_UNUSED_ARG(arg); LWIP_MARK_TCPIP_THREAD(); LOCK_TCPIP_CORE(); - 800f028: 4810 ldr r0, [pc, #64] ; (800f06c ) - 800f02a: f00c f985 bl 801b338 + 800ebb8: 4810 ldr r0, [pc, #64] ; (800ebfc ) + 800ebba: f00c f985 bl 801aec8 if (tcpip_init_done != NULL) { - 800f02e: 4b10 ldr r3, [pc, #64] ; (800f070 ) - 800f030: 681b ldr r3, [r3, #0] - 800f032: 2b00 cmp r3, #0 - 800f034: d005 beq.n 800f042 + 800ebbe: 4b10 ldr r3, [pc, #64] ; (800ec00 ) + 800ebc0: 681b ldr r3, [r3, #0] + 800ebc2: 2b00 cmp r3, #0 + 800ebc4: d005 beq.n 800ebd2 tcpip_init_done(tcpip_init_done_arg); - 800f036: 4b0e ldr r3, [pc, #56] ; (800f070 ) - 800f038: 681b ldr r3, [r3, #0] - 800f03a: 4a0e ldr r2, [pc, #56] ; (800f074 ) - 800f03c: 6812 ldr r2, [r2, #0] - 800f03e: 4610 mov r0, r2 - 800f040: 4798 blx r3 + 800ebc6: 4b0e ldr r3, [pc, #56] ; (800ec00 ) + 800ebc8: 681b ldr r3, [r3, #0] + 800ebca: 4a0e ldr r2, [pc, #56] ; (800ec04 ) + 800ebcc: 6812 ldr r2, [r2, #0] + 800ebce: 4610 mov r0, r2 + 800ebd0: 4798 blx r3 } while (1) { /* MAIN Loop */ LWIP_TCPIP_THREAD_ALIVE(); /* wait for a message, timeouts are processed while waiting */ TCPIP_MBOX_FETCH(&tcpip_mbox, (void **)&msg); - 800f042: f107 030c add.w r3, r7, #12 - 800f046: 4619 mov r1, r3 - 800f048: 480b ldr r0, [pc, #44] ; (800f078 ) - 800f04a: f7ff ffb3 bl 800efb4 + 800ebd2: f107 030c add.w r3, r7, #12 + 800ebd6: 4619 mov r1, r3 + 800ebd8: 480b ldr r0, [pc, #44] ; (800ec08 ) + 800ebda: f7ff ffb3 bl 800eb44 if (msg == NULL) { - 800f04e: 68fb ldr r3, [r7, #12] - 800f050: 2b00 cmp r3, #0 - 800f052: d106 bne.n 800f062 + 800ebde: 68fb ldr r3, [r7, #12] + 800ebe0: 2b00 cmp r3, #0 + 800ebe2: d106 bne.n 800ebf2 LWIP_DEBUGF(TCPIP_DEBUG, ("tcpip_thread: invalid message: NULL\n")); LWIP_ASSERT("tcpip_thread: invalid message", 0); - 800f054: 4b09 ldr r3, [pc, #36] ; (800f07c ) - 800f056: 2291 movs r2, #145 ; 0x91 - 800f058: 4909 ldr r1, [pc, #36] ; (800f080 ) - 800f05a: 480a ldr r0, [pc, #40] ; (800f084 ) - 800f05c: f00c fa2c bl 801b4b8 + 800ebe4: 4b09 ldr r3, [pc, #36] ; (800ec0c ) + 800ebe6: 2291 movs r2, #145 ; 0x91 + 800ebe8: 4909 ldr r1, [pc, #36] ; (800ec10 ) + 800ebea: 480a ldr r0, [pc, #40] ; (800ec14 ) + 800ebec: f00c fa12 bl 801b014 continue; - 800f060: e003 b.n 800f06a + 800ebf0: e003 b.n 800ebfa } tcpip_thread_handle_msg(msg); - 800f062: 68fb ldr r3, [r7, #12] - 800f064: 4618 mov r0, r3 - 800f066: f000 f80f bl 800f088 + 800ebf2: 68fb ldr r3, [r7, #12] + 800ebf4: 4618 mov r0, r3 + 800ebf6: f000 f80f bl 800ec18 TCPIP_MBOX_FETCH(&tcpip_mbox, (void **)&msg); - 800f06a: e7ea b.n 800f042 - 800f06c: 2000be8c .word 0x2000be8c - 800f070: 200086d8 .word 0x200086d8 - 800f074: 200086dc .word 0x200086dc - 800f078: 200086e0 .word 0x200086e0 - 800f07c: 0801c7d8 .word 0x0801c7d8 - 800f080: 0801c808 .word 0x0801c808 - 800f084: 0801c828 .word 0x0801c828 + 800ebfa: e7ea b.n 800ebd2 + 800ebfc: 2000be88 .word 0x2000be88 + 800ec00: 200086d8 .word 0x200086d8 + 800ec04: 200086dc .word 0x200086dc + 800ec08: 200086e0 .word 0x200086e0 + 800ec0c: 0801bfd4 .word 0x0801bfd4 + 800ec10: 0801c004 .word 0x0801c004 + 800ec14: 0801c024 .word 0x0801c024 -0800f088 : +0800ec18 : /* Handle a single tcpip_msg * This is in its own function for access by tests only. */ static void tcpip_thread_handle_msg(struct tcpip_msg *msg) { - 800f088: b580 push {r7, lr} - 800f08a: b082 sub sp, #8 - 800f08c: af00 add r7, sp, #0 - 800f08e: 6078 str r0, [r7, #4] + 800ec18: b580 push {r7, lr} + 800ec1a: b082 sub sp, #8 + 800ec1c: af00 add r7, sp, #0 + 800ec1e: 6078 str r0, [r7, #4] switch (msg->type) { - 800f090: 687b ldr r3, [r7, #4] - 800f092: 781b ldrb r3, [r3, #0] - 800f094: 2b01 cmp r3, #1 - 800f096: d018 beq.n 800f0ca - 800f098: 2b02 cmp r3, #2 - 800f09a: d021 beq.n 800f0e0 - 800f09c: 2b00 cmp r3, #0 - 800f09e: d126 bne.n 800f0ee + 800ec20: 687b ldr r3, [r7, #4] + 800ec22: 781b ldrb r3, [r3, #0] + 800ec24: 2b01 cmp r3, #1 + 800ec26: d018 beq.n 800ec5a + 800ec28: 2b02 cmp r3, #2 + 800ec2a: d021 beq.n 800ec70 + 800ec2c: 2b00 cmp r3, #0 + 800ec2e: d126 bne.n 800ec7e #endif /* !LWIP_TCPIP_CORE_LOCKING */ #if !LWIP_TCPIP_CORE_LOCKING_INPUT case TCPIP_MSG_INPKT: LWIP_DEBUGF(TCPIP_DEBUG, ("tcpip_thread: PACKET %p\n", (void *)msg)); if (msg->msg.inp.input_fn(msg->msg.inp.p, msg->msg.inp.netif) != ERR_OK) { - 800f0a0: 687b ldr r3, [r7, #4] - 800f0a2: 68db ldr r3, [r3, #12] - 800f0a4: 687a ldr r2, [r7, #4] - 800f0a6: 6850 ldr r0, [r2, #4] - 800f0a8: 687a ldr r2, [r7, #4] - 800f0aa: 6892 ldr r2, [r2, #8] - 800f0ac: 4611 mov r1, r2 - 800f0ae: 4798 blx r3 - 800f0b0: 4603 mov r3, r0 - 800f0b2: 2b00 cmp r3, #0 - 800f0b4: d004 beq.n 800f0c0 + 800ec30: 687b ldr r3, [r7, #4] + 800ec32: 68db ldr r3, [r3, #12] + 800ec34: 687a ldr r2, [r7, #4] + 800ec36: 6850 ldr r0, [r2, #4] + 800ec38: 687a ldr r2, [r7, #4] + 800ec3a: 6892 ldr r2, [r2, #8] + 800ec3c: 4611 mov r1, r2 + 800ec3e: 4798 blx r3 + 800ec40: 4603 mov r3, r0 + 800ec42: 2b00 cmp r3, #0 + 800ec44: d004 beq.n 800ec50 pbuf_free(msg->msg.inp.p); - 800f0b6: 687b ldr r3, [r7, #4] - 800f0b8: 685b ldr r3, [r3, #4] - 800f0ba: 4618 mov r0, r3 - 800f0bc: f001 fccc bl 8010a58 + 800ec46: 687b ldr r3, [r7, #4] + 800ec48: 685b ldr r3, [r3, #4] + 800ec4a: 4618 mov r0, r3 + 800ec4c: f001 fccc bl 80105e8 } memp_free(MEMP_TCPIP_MSG_INPKT, msg); - 800f0c0: 6879 ldr r1, [r7, #4] - 800f0c2: 2009 movs r0, #9 - 800f0c4: f000 fe1c bl 800fd00 + 800ec50: 6879 ldr r1, [r7, #4] + 800ec52: 2009 movs r0, #9 + 800ec54: f000 fe1c bl 800f890 break; - 800f0c8: e018 b.n 800f0fc + 800ec58: e018 b.n 800ec8c break; #endif /* LWIP_TCPIP_TIMEOUT && LWIP_TIMERS */ case TCPIP_MSG_CALLBACK: LWIP_DEBUGF(TCPIP_DEBUG, ("tcpip_thread: CALLBACK %p\n", (void *)msg)); msg->msg.cb.function(msg->msg.cb.ctx); - 800f0ca: 687b ldr r3, [r7, #4] - 800f0cc: 685b ldr r3, [r3, #4] - 800f0ce: 687a ldr r2, [r7, #4] - 800f0d0: 6892 ldr r2, [r2, #8] - 800f0d2: 4610 mov r0, r2 - 800f0d4: 4798 blx r3 + 800ec5a: 687b ldr r3, [r7, #4] + 800ec5c: 685b ldr r3, [r3, #4] + 800ec5e: 687a ldr r2, [r7, #4] + 800ec60: 6892 ldr r2, [r2, #8] + 800ec62: 4610 mov r0, r2 + 800ec64: 4798 blx r3 memp_free(MEMP_TCPIP_MSG_API, msg); - 800f0d6: 6879 ldr r1, [r7, #4] - 800f0d8: 2008 movs r0, #8 - 800f0da: f000 fe11 bl 800fd00 + 800ec66: 6879 ldr r1, [r7, #4] + 800ec68: 2008 movs r0, #8 + 800ec6a: f000 fe11 bl 800f890 break; - 800f0de: e00d b.n 800f0fc + 800ec6e: e00d b.n 800ec8c case TCPIP_MSG_CALLBACK_STATIC: LWIP_DEBUGF(TCPIP_DEBUG, ("tcpip_thread: CALLBACK_STATIC %p\n", (void *)msg)); msg->msg.cb.function(msg->msg.cb.ctx); - 800f0e0: 687b ldr r3, [r7, #4] - 800f0e2: 685b ldr r3, [r3, #4] - 800f0e4: 687a ldr r2, [r7, #4] - 800f0e6: 6892 ldr r2, [r2, #8] - 800f0e8: 4610 mov r0, r2 - 800f0ea: 4798 blx r3 + 800ec70: 687b ldr r3, [r7, #4] + 800ec72: 685b ldr r3, [r3, #4] + 800ec74: 687a ldr r2, [r7, #4] + 800ec76: 6892 ldr r2, [r2, #8] + 800ec78: 4610 mov r0, r2 + 800ec7a: 4798 blx r3 break; - 800f0ec: e006 b.n 800f0fc + 800ec7c: e006 b.n 800ec8c default: LWIP_DEBUGF(TCPIP_DEBUG, ("tcpip_thread: invalid message: %d\n", msg->type)); LWIP_ASSERT("tcpip_thread: invalid message", 0); - 800f0ee: 4b05 ldr r3, [pc, #20] ; (800f104 ) - 800f0f0: 22cf movs r2, #207 ; 0xcf - 800f0f2: 4905 ldr r1, [pc, #20] ; (800f108 ) - 800f0f4: 4805 ldr r0, [pc, #20] ; (800f10c ) - 800f0f6: f00c f9df bl 801b4b8 + 800ec7e: 4b05 ldr r3, [pc, #20] ; (800ec94 ) + 800ec80: 22cf movs r2, #207 ; 0xcf + 800ec82: 4905 ldr r1, [pc, #20] ; (800ec98 ) + 800ec84: 4805 ldr r0, [pc, #20] ; (800ec9c ) + 800ec86: f00c f9c5 bl 801b014 break; - 800f0fa: bf00 nop + 800ec8a: bf00 nop } } - 800f0fc: bf00 nop - 800f0fe: 3708 adds r7, #8 - 800f100: 46bd mov sp, r7 - 800f102: bd80 pop {r7, pc} - 800f104: 0801c7d8 .word 0x0801c7d8 - 800f108: 0801c808 .word 0x0801c808 - 800f10c: 0801c828 .word 0x0801c828 + 800ec8c: bf00 nop + 800ec8e: 3708 adds r7, #8 + 800ec90: 46bd mov sp, r7 + 800ec92: bd80 pop {r7, pc} + 800ec94: 0801bfd4 .word 0x0801bfd4 + 800ec98: 0801c004 .word 0x0801c004 + 800ec9c: 0801c024 .word 0x0801c024 -0800f110 : +0800eca0 : * @param inp the network interface on which the packet was received * @param input_fn input function to call */ err_t tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn) { - 800f110: b580 push {r7, lr} - 800f112: b086 sub sp, #24 - 800f114: af00 add r7, sp, #0 - 800f116: 60f8 str r0, [r7, #12] - 800f118: 60b9 str r1, [r7, #8] - 800f11a: 607a str r2, [r7, #4] + 800eca0: b580 push {r7, lr} + 800eca2: b086 sub sp, #24 + 800eca4: af00 add r7, sp, #0 + 800eca6: 60f8 str r0, [r7, #12] + 800eca8: 60b9 str r1, [r7, #8] + 800ecaa: 607a str r2, [r7, #4] UNLOCK_TCPIP_CORE(); return ret; #else /* LWIP_TCPIP_CORE_LOCKING_INPUT */ struct tcpip_msg *msg; LWIP_ASSERT("Invalid mbox", sys_mbox_valid_val(tcpip_mbox)); - 800f11c: 481a ldr r0, [pc, #104] ; (800f188 ) - 800f11e: f00c f8d0 bl 801b2c2 - 800f122: 4603 mov r3, r0 - 800f124: 2b00 cmp r3, #0 - 800f126: d105 bne.n 800f134 - 800f128: 4b18 ldr r3, [pc, #96] ; (800f18c ) - 800f12a: 22fc movs r2, #252 ; 0xfc - 800f12c: 4918 ldr r1, [pc, #96] ; (800f190 ) - 800f12e: 4819 ldr r0, [pc, #100] ; (800f194 ) - 800f130: f00c f9c2 bl 801b4b8 + 800ecac: 481a ldr r0, [pc, #104] ; (800ed18 ) + 800ecae: f00c f8d0 bl 801ae52 + 800ecb2: 4603 mov r3, r0 + 800ecb4: 2b00 cmp r3, #0 + 800ecb6: d105 bne.n 800ecc4 + 800ecb8: 4b18 ldr r3, [pc, #96] ; (800ed1c ) + 800ecba: 22fc movs r2, #252 ; 0xfc + 800ecbc: 4918 ldr r1, [pc, #96] ; (800ed20 ) + 800ecbe: 4819 ldr r0, [pc, #100] ; (800ed24 ) + 800ecc0: f00c f9a8 bl 801b014 msg = (struct tcpip_msg *)memp_malloc(MEMP_TCPIP_MSG_INPKT); - 800f134: 2009 movs r0, #9 - 800f136: f000 fd91 bl 800fc5c - 800f13a: 6178 str r0, [r7, #20] + 800ecc4: 2009 movs r0, #9 + 800ecc6: f000 fd91 bl 800f7ec + 800ecca: 6178 str r0, [r7, #20] if (msg == NULL) { - 800f13c: 697b ldr r3, [r7, #20] - 800f13e: 2b00 cmp r3, #0 - 800f140: d102 bne.n 800f148 + 800eccc: 697b ldr r3, [r7, #20] + 800ecce: 2b00 cmp r3, #0 + 800ecd0: d102 bne.n 800ecd8 return ERR_MEM; - 800f142: f04f 33ff mov.w r3, #4294967295 - 800f146: e01a b.n 800f17e + 800ecd2: f04f 33ff mov.w r3, #4294967295 + 800ecd6: e01a b.n 800ed0e } msg->type = TCPIP_MSG_INPKT; - 800f148: 697b ldr r3, [r7, #20] - 800f14a: 2200 movs r2, #0 - 800f14c: 701a strb r2, [r3, #0] + 800ecd8: 697b ldr r3, [r7, #20] + 800ecda: 2200 movs r2, #0 + 800ecdc: 701a strb r2, [r3, #0] msg->msg.inp.p = p; - 800f14e: 697b ldr r3, [r7, #20] - 800f150: 68fa ldr r2, [r7, #12] - 800f152: 605a str r2, [r3, #4] + 800ecde: 697b ldr r3, [r7, #20] + 800ece0: 68fa ldr r2, [r7, #12] + 800ece2: 605a str r2, [r3, #4] msg->msg.inp.netif = inp; - 800f154: 697b ldr r3, [r7, #20] - 800f156: 68ba ldr r2, [r7, #8] - 800f158: 609a str r2, [r3, #8] + 800ece4: 697b ldr r3, [r7, #20] + 800ece6: 68ba ldr r2, [r7, #8] + 800ece8: 609a str r2, [r3, #8] msg->msg.inp.input_fn = input_fn; - 800f15a: 697b ldr r3, [r7, #20] - 800f15c: 687a ldr r2, [r7, #4] - 800f15e: 60da str r2, [r3, #12] + 800ecea: 697b ldr r3, [r7, #20] + 800ecec: 687a ldr r2, [r7, #4] + 800ecee: 60da str r2, [r3, #12] if (sys_mbox_trypost(&tcpip_mbox, msg) != ERR_OK) { - 800f160: 6979 ldr r1, [r7, #20] - 800f162: 4809 ldr r0, [pc, #36] ; (800f188 ) - 800f164: f00c f854 bl 801b210 - 800f168: 4603 mov r3, r0 - 800f16a: 2b00 cmp r3, #0 - 800f16c: d006 beq.n 800f17c + 800ecf0: 6979 ldr r1, [r7, #20] + 800ecf2: 4809 ldr r0, [pc, #36] ; (800ed18 ) + 800ecf4: f00c f854 bl 801ada0 + 800ecf8: 4603 mov r3, r0 + 800ecfa: 2b00 cmp r3, #0 + 800ecfc: d006 beq.n 800ed0c memp_free(MEMP_TCPIP_MSG_INPKT, msg); - 800f16e: 6979 ldr r1, [r7, #20] - 800f170: 2009 movs r0, #9 - 800f172: f000 fdc5 bl 800fd00 + 800ecfe: 6979 ldr r1, [r7, #20] + 800ed00: 2009 movs r0, #9 + 800ed02: f000 fdc5 bl 800f890 return ERR_MEM; - 800f176: f04f 33ff mov.w r3, #4294967295 - 800f17a: e000 b.n 800f17e + 800ed06: f04f 33ff mov.w r3, #4294967295 + 800ed0a: e000 b.n 800ed0e } return ERR_OK; - 800f17c: 2300 movs r3, #0 + 800ed0c: 2300 movs r3, #0 #endif /* LWIP_TCPIP_CORE_LOCKING_INPUT */ } - 800f17e: 4618 mov r0, r3 - 800f180: 3718 adds r7, #24 - 800f182: 46bd mov sp, r7 - 800f184: bd80 pop {r7, pc} - 800f186: bf00 nop - 800f188: 200086e0 .word 0x200086e0 - 800f18c: 0801c7d8 .word 0x0801c7d8 - 800f190: 0801c850 .word 0x0801c850 - 800f194: 0801c828 .word 0x0801c828 + 800ed0e: 4618 mov r0, r3 + 800ed10: 3718 adds r7, #24 + 800ed12: 46bd mov sp, r7 + 800ed14: bd80 pop {r7, pc} + 800ed16: bf00 nop + 800ed18: 200086e0 .word 0x200086e0 + 800ed1c: 0801bfd4 .word 0x0801bfd4 + 800ed20: 0801c04c .word 0x0801c04c + 800ed24: 0801c024 .word 0x0801c024 -0800f198 : +0800ed28 : * NETIF_FLAG_ETHERNET flags) * @param inp the network interface on which the packet was received */ err_t tcpip_input(struct pbuf *p, struct netif *inp) { - 800f198: b580 push {r7, lr} - 800f19a: b082 sub sp, #8 - 800f19c: af00 add r7, sp, #0 - 800f19e: 6078 str r0, [r7, #4] - 800f1a0: 6039 str r1, [r7, #0] + 800ed28: b580 push {r7, lr} + 800ed2a: b082 sub sp, #8 + 800ed2c: af00 add r7, sp, #0 + 800ed2e: 6078 str r0, [r7, #4] + 800ed30: 6039 str r1, [r7, #0] #if LWIP_ETHERNET if (inp->flags & (NETIF_FLAG_ETHARP | NETIF_FLAG_ETHERNET)) { - 800f1a2: 683b ldr r3, [r7, #0] - 800f1a4: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 800f1a8: f003 0318 and.w r3, r3, #24 - 800f1ac: 2b00 cmp r3, #0 - 800f1ae: d006 beq.n 800f1be + 800ed32: 683b ldr r3, [r7, #0] + 800ed34: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800ed38: f003 0318 and.w r3, r3, #24 + 800ed3c: 2b00 cmp r3, #0 + 800ed3e: d006 beq.n 800ed4e return tcpip_inpkt(p, inp, ethernet_input); - 800f1b0: 4a08 ldr r2, [pc, #32] ; (800f1d4 ) - 800f1b2: 6839 ldr r1, [r7, #0] - 800f1b4: 6878 ldr r0, [r7, #4] - 800f1b6: f7ff ffab bl 800f110 - 800f1ba: 4603 mov r3, r0 - 800f1bc: e005 b.n 800f1ca + 800ed40: 4a08 ldr r2, [pc, #32] ; (800ed64 ) + 800ed42: 6839 ldr r1, [r7, #0] + 800ed44: 6878 ldr r0, [r7, #4] + 800ed46: f7ff ffab bl 800eca0 + 800ed4a: 4603 mov r3, r0 + 800ed4c: e005 b.n 800ed5a } else #endif /* LWIP_ETHERNET */ return tcpip_inpkt(p, inp, ip_input); - 800f1be: 4a06 ldr r2, [pc, #24] ; (800f1d8 ) - 800f1c0: 6839 ldr r1, [r7, #0] - 800f1c2: 6878 ldr r0, [r7, #4] - 800f1c4: f7ff ffa4 bl 800f110 - 800f1c8: 4603 mov r3, r0 + 800ed4e: 4a06 ldr r2, [pc, #24] ; (800ed68 ) + 800ed50: 6839 ldr r1, [r7, #0] + 800ed52: 6878 ldr r0, [r7, #4] + 800ed54: f7ff ffa4 bl 800eca0 + 800ed58: 4603 mov r3, r0 } - 800f1ca: 4618 mov r0, r3 - 800f1cc: 3708 adds r7, #8 - 800f1ce: 46bd mov sp, r7 - 800f1d0: bd80 pop {r7, pc} - 800f1d2: bf00 nop - 800f1d4: 0801b021 .word 0x0801b021 - 800f1d8: 08019f05 .word 0x08019f05 + 800ed5a: 4618 mov r0, r3 + 800ed5c: 3708 adds r7, #8 + 800ed5e: 46bd mov sp, r7 + 800ed60: bd80 pop {r7, pc} + 800ed62: bf00 nop + 800ed64: 0801abb1 .word 0x0801abb1 + 800ed68: 08019a95 .word 0x08019a95 -0800f1dc : +0800ed6c : * * @see tcpip_callback */ err_t tcpip_try_callback(tcpip_callback_fn function, void *ctx) { - 800f1dc: b580 push {r7, lr} - 800f1de: b084 sub sp, #16 - 800f1e0: af00 add r7, sp, #0 - 800f1e2: 6078 str r0, [r7, #4] - 800f1e4: 6039 str r1, [r7, #0] + 800ed6c: b580 push {r7, lr} + 800ed6e: b084 sub sp, #16 + 800ed70: af00 add r7, sp, #0 + 800ed72: 6078 str r0, [r7, #4] + 800ed74: 6039 str r1, [r7, #0] struct tcpip_msg *msg; LWIP_ASSERT("Invalid mbox", sys_mbox_valid_val(tcpip_mbox)); - 800f1e6: 4819 ldr r0, [pc, #100] ; (800f24c ) - 800f1e8: f00c f86b bl 801b2c2 - 800f1ec: 4603 mov r3, r0 - 800f1ee: 2b00 cmp r3, #0 - 800f1f0: d106 bne.n 800f200 - 800f1f2: 4b17 ldr r3, [pc, #92] ; (800f250 ) - 800f1f4: f240 125d movw r2, #349 ; 0x15d - 800f1f8: 4916 ldr r1, [pc, #88] ; (800f254 ) - 800f1fa: 4817 ldr r0, [pc, #92] ; (800f258 ) - 800f1fc: f00c f95c bl 801b4b8 + 800ed76: 4819 ldr r0, [pc, #100] ; (800eddc ) + 800ed78: f00c f86b bl 801ae52 + 800ed7c: 4603 mov r3, r0 + 800ed7e: 2b00 cmp r3, #0 + 800ed80: d106 bne.n 800ed90 + 800ed82: 4b17 ldr r3, [pc, #92] ; (800ede0 ) + 800ed84: f240 125d movw r2, #349 ; 0x15d + 800ed88: 4916 ldr r1, [pc, #88] ; (800ede4 ) + 800ed8a: 4817 ldr r0, [pc, #92] ; (800ede8 ) + 800ed8c: f00c f942 bl 801b014 msg = (struct tcpip_msg *)memp_malloc(MEMP_TCPIP_MSG_API); - 800f200: 2008 movs r0, #8 - 800f202: f000 fd2b bl 800fc5c - 800f206: 60f8 str r0, [r7, #12] + 800ed90: 2008 movs r0, #8 + 800ed92: f000 fd2b bl 800f7ec + 800ed96: 60f8 str r0, [r7, #12] if (msg == NULL) { - 800f208: 68fb ldr r3, [r7, #12] - 800f20a: 2b00 cmp r3, #0 - 800f20c: d102 bne.n 800f214 + 800ed98: 68fb ldr r3, [r7, #12] + 800ed9a: 2b00 cmp r3, #0 + 800ed9c: d102 bne.n 800eda4 return ERR_MEM; - 800f20e: f04f 33ff mov.w r3, #4294967295 - 800f212: e017 b.n 800f244 + 800ed9e: f04f 33ff mov.w r3, #4294967295 + 800eda2: e017 b.n 800edd4 } msg->type = TCPIP_MSG_CALLBACK; - 800f214: 68fb ldr r3, [r7, #12] - 800f216: 2201 movs r2, #1 - 800f218: 701a strb r2, [r3, #0] + 800eda4: 68fb ldr r3, [r7, #12] + 800eda6: 2201 movs r2, #1 + 800eda8: 701a strb r2, [r3, #0] msg->msg.cb.function = function; - 800f21a: 68fb ldr r3, [r7, #12] - 800f21c: 687a ldr r2, [r7, #4] - 800f21e: 605a str r2, [r3, #4] + 800edaa: 68fb ldr r3, [r7, #12] + 800edac: 687a ldr r2, [r7, #4] + 800edae: 605a str r2, [r3, #4] msg->msg.cb.ctx = ctx; - 800f220: 68fb ldr r3, [r7, #12] - 800f222: 683a ldr r2, [r7, #0] - 800f224: 609a str r2, [r3, #8] + 800edb0: 68fb ldr r3, [r7, #12] + 800edb2: 683a ldr r2, [r7, #0] + 800edb4: 609a str r2, [r3, #8] if (sys_mbox_trypost(&tcpip_mbox, msg) != ERR_OK) { - 800f226: 68f9 ldr r1, [r7, #12] - 800f228: 4808 ldr r0, [pc, #32] ; (800f24c ) - 800f22a: f00b fff1 bl 801b210 - 800f22e: 4603 mov r3, r0 - 800f230: 2b00 cmp r3, #0 - 800f232: d006 beq.n 800f242 + 800edb6: 68f9 ldr r1, [r7, #12] + 800edb8: 4808 ldr r0, [pc, #32] ; (800eddc ) + 800edba: f00b fff1 bl 801ada0 + 800edbe: 4603 mov r3, r0 + 800edc0: 2b00 cmp r3, #0 + 800edc2: d006 beq.n 800edd2 memp_free(MEMP_TCPIP_MSG_API, msg); - 800f234: 68f9 ldr r1, [r7, #12] - 800f236: 2008 movs r0, #8 - 800f238: f000 fd62 bl 800fd00 + 800edc4: 68f9 ldr r1, [r7, #12] + 800edc6: 2008 movs r0, #8 + 800edc8: f000 fd62 bl 800f890 return ERR_MEM; - 800f23c: f04f 33ff mov.w r3, #4294967295 - 800f240: e000 b.n 800f244 + 800edcc: f04f 33ff mov.w r3, #4294967295 + 800edd0: e000 b.n 800edd4 } return ERR_OK; - 800f242: 2300 movs r3, #0 + 800edd2: 2300 movs r3, #0 } - 800f244: 4618 mov r0, r3 - 800f246: 3710 adds r7, #16 - 800f248: 46bd mov sp, r7 - 800f24a: bd80 pop {r7, pc} - 800f24c: 200086e0 .word 0x200086e0 - 800f250: 0801c7d8 .word 0x0801c7d8 - 800f254: 0801c850 .word 0x0801c850 - 800f258: 0801c828 .word 0x0801c828 + 800edd4: 4618 mov r0, r3 + 800edd6: 3710 adds r7, #16 + 800edd8: 46bd mov sp, r7 + 800edda: bd80 pop {r7, pc} + 800eddc: 200086e0 .word 0x200086e0 + 800ede0: 0801bfd4 .word 0x0801bfd4 + 800ede4: 0801c04c .word 0x0801c04c + 800ede8: 0801c024 .word 0x0801c024 -0800f25c : +0800edec : * @param initfunc a function to call when tcpip_thread is running and finished initializing * @param arg argument to pass to initfunc */ void tcpip_init(tcpip_init_done_fn initfunc, void *arg) { - 800f25c: b580 push {r7, lr} - 800f25e: b084 sub sp, #16 - 800f260: af02 add r7, sp, #8 - 800f262: 6078 str r0, [r7, #4] - 800f264: 6039 str r1, [r7, #0] + 800edec: b580 push {r7, lr} + 800edee: b084 sub sp, #16 + 800edf0: af02 add r7, sp, #8 + 800edf2: 6078 str r0, [r7, #4] + 800edf4: 6039 str r1, [r7, #0] lwip_init(); - 800f266: f000 f871 bl 800f34c + 800edf6: f000 f871 bl 800eedc tcpip_init_done = initfunc; - 800f26a: 4a17 ldr r2, [pc, #92] ; (800f2c8 ) - 800f26c: 687b ldr r3, [r7, #4] - 800f26e: 6013 str r3, [r2, #0] + 800edfa: 4a17 ldr r2, [pc, #92] ; (800ee58 ) + 800edfc: 687b ldr r3, [r7, #4] + 800edfe: 6013 str r3, [r2, #0] tcpip_init_done_arg = arg; - 800f270: 4a16 ldr r2, [pc, #88] ; (800f2cc ) - 800f272: 683b ldr r3, [r7, #0] - 800f274: 6013 str r3, [r2, #0] + 800ee00: 4a16 ldr r2, [pc, #88] ; (800ee5c ) + 800ee02: 683b ldr r3, [r7, #0] + 800ee04: 6013 str r3, [r2, #0] if (sys_mbox_new(&tcpip_mbox, TCPIP_MBOX_SIZE) != ERR_OK) { - 800f276: 2106 movs r1, #6 - 800f278: 4815 ldr r0, [pc, #84] ; (800f2d0 ) - 800f27a: f00b ffa7 bl 801b1cc - 800f27e: 4603 mov r3, r0 - 800f280: 2b00 cmp r3, #0 - 800f282: d006 beq.n 800f292 + 800ee06: 2106 movs r1, #6 + 800ee08: 4815 ldr r0, [pc, #84] ; (800ee60 ) + 800ee0a: f00b ffa7 bl 801ad5c + 800ee0e: 4603 mov r3, r0 + 800ee10: 2b00 cmp r3, #0 + 800ee12: d006 beq.n 800ee22 LWIP_ASSERT("failed to create tcpip_thread mbox", 0); - 800f284: 4b13 ldr r3, [pc, #76] ; (800f2d4 ) - 800f286: f240 2261 movw r2, #609 ; 0x261 - 800f28a: 4913 ldr r1, [pc, #76] ; (800f2d8 ) - 800f28c: 4813 ldr r0, [pc, #76] ; (800f2dc ) - 800f28e: f00c f913 bl 801b4b8 + 800ee14: 4b13 ldr r3, [pc, #76] ; (800ee64 ) + 800ee16: f240 2261 movw r2, #609 ; 0x261 + 800ee1a: 4913 ldr r1, [pc, #76] ; (800ee68 ) + 800ee1c: 4813 ldr r0, [pc, #76] ; (800ee6c ) + 800ee1e: f00c f8f9 bl 801b014 } #if LWIP_TCPIP_CORE_LOCKING if (sys_mutex_new(&lock_tcpip_core) != ERR_OK) { - 800f292: 4813 ldr r0, [pc, #76] ; (800f2e0 ) - 800f294: f00c f834 bl 801b300 - 800f298: 4603 mov r3, r0 - 800f29a: 2b00 cmp r3, #0 - 800f29c: d006 beq.n 800f2ac + 800ee22: 4813 ldr r0, [pc, #76] ; (800ee70 ) + 800ee24: f00c f834 bl 801ae90 + 800ee28: 4603 mov r3, r0 + 800ee2a: 2b00 cmp r3, #0 + 800ee2c: d006 beq.n 800ee3c LWIP_ASSERT("failed to create lock_tcpip_core", 0); - 800f29e: 4b0d ldr r3, [pc, #52] ; (800f2d4 ) - 800f2a0: f240 2265 movw r2, #613 ; 0x265 - 800f2a4: 490f ldr r1, [pc, #60] ; (800f2e4 ) - 800f2a6: 480d ldr r0, [pc, #52] ; (800f2dc ) - 800f2a8: f00c f906 bl 801b4b8 + 800ee2e: 4b0d ldr r3, [pc, #52] ; (800ee64 ) + 800ee30: f240 2265 movw r2, #613 ; 0x265 + 800ee34: 490f ldr r1, [pc, #60] ; (800ee74 ) + 800ee36: 480d ldr r0, [pc, #52] ; (800ee6c ) + 800ee38: f00c f8ec bl 801b014 } #endif /* LWIP_TCPIP_CORE_LOCKING */ sys_thread_new(TCPIP_THREAD_NAME, tcpip_thread, NULL, TCPIP_THREAD_STACKSIZE, TCPIP_THREAD_PRIO); - 800f2ac: 2300 movs r3, #0 - 800f2ae: 9300 str r3, [sp, #0] - 800f2b0: f44f 6380 mov.w r3, #1024 ; 0x400 - 800f2b4: 2200 movs r2, #0 - 800f2b6: 490c ldr r1, [pc, #48] ; (800f2e8 ) - 800f2b8: 480c ldr r0, [pc, #48] ; (800f2ec ) - 800f2ba: f00c f859 bl 801b370 + 800ee3c: 2300 movs r3, #0 + 800ee3e: 9300 str r3, [sp, #0] + 800ee40: f44f 6380 mov.w r3, #1024 ; 0x400 + 800ee44: 2200 movs r2, #0 + 800ee46: 490c ldr r1, [pc, #48] ; (800ee78 ) + 800ee48: 480c ldr r0, [pc, #48] ; (800ee7c ) + 800ee4a: f00c f859 bl 801af00 } - 800f2be: bf00 nop - 800f2c0: 3708 adds r7, #8 - 800f2c2: 46bd mov sp, r7 - 800f2c4: bd80 pop {r7, pc} - 800f2c6: bf00 nop - 800f2c8: 200086d8 .word 0x200086d8 - 800f2cc: 200086dc .word 0x200086dc - 800f2d0: 200086e0 .word 0x200086e0 - 800f2d4: 0801c7d8 .word 0x0801c7d8 - 800f2d8: 0801c860 .word 0x0801c860 - 800f2dc: 0801c828 .word 0x0801c828 - 800f2e0: 2000be8c .word 0x2000be8c - 800f2e4: 0801c884 .word 0x0801c884 - 800f2e8: 0800f021 .word 0x0800f021 - 800f2ec: 0801c8a8 .word 0x0801c8a8 + 800ee4e: bf00 nop + 800ee50: 3708 adds r7, #8 + 800ee52: 46bd mov sp, r7 + 800ee54: bd80 pop {r7, pc} + 800ee56: bf00 nop + 800ee58: 200086d8 .word 0x200086d8 + 800ee5c: 200086dc .word 0x200086dc + 800ee60: 200086e0 .word 0x200086e0 + 800ee64: 0801bfd4 .word 0x0801bfd4 + 800ee68: 0801c05c .word 0x0801c05c + 800ee6c: 0801c024 .word 0x0801c024 + 800ee70: 2000be88 .word 0x2000be88 + 800ee74: 0801c080 .word 0x0801c080 + 800ee78: 0800ebb1 .word 0x0800ebb1 + 800ee7c: 0801c0a4 .word 0x0801c0a4 -0800f2f0 : +0800ee80 : * @param n u16_t in host byte order * @return n in network byte order */ u16_t lwip_htons(u16_t n) { - 800f2f0: b480 push {r7} - 800f2f2: b083 sub sp, #12 - 800f2f4: af00 add r7, sp, #0 - 800f2f6: 4603 mov r3, r0 - 800f2f8: 80fb strh r3, [r7, #6] + 800ee80: b480 push {r7} + 800ee82: b083 sub sp, #12 + 800ee84: af00 add r7, sp, #0 + 800ee86: 4603 mov r3, r0 + 800ee88: 80fb strh r3, [r7, #6] return PP_HTONS(n); - 800f2fa: 88fb ldrh r3, [r7, #6] - 800f2fc: 021b lsls r3, r3, #8 - 800f2fe: b21a sxth r2, r3 - 800f300: 88fb ldrh r3, [r7, #6] - 800f302: 0a1b lsrs r3, r3, #8 - 800f304: b29b uxth r3, r3 - 800f306: b21b sxth r3, r3 - 800f308: 4313 orrs r3, r2 - 800f30a: b21b sxth r3, r3 - 800f30c: b29b uxth r3, r3 + 800ee8a: 88fb ldrh r3, [r7, #6] + 800ee8c: 021b lsls r3, r3, #8 + 800ee8e: b21a sxth r2, r3 + 800ee90: 88fb ldrh r3, [r7, #6] + 800ee92: 0a1b lsrs r3, r3, #8 + 800ee94: b29b uxth r3, r3 + 800ee96: b21b sxth r3, r3 + 800ee98: 4313 orrs r3, r2 + 800ee9a: b21b sxth r3, r3 + 800ee9c: b29b uxth r3, r3 } - 800f30e: 4618 mov r0, r3 - 800f310: 370c adds r7, #12 - 800f312: 46bd mov sp, r7 - 800f314: f85d 7b04 ldr.w r7, [sp], #4 - 800f318: 4770 bx lr + 800ee9e: 4618 mov r0, r3 + 800eea0: 370c adds r7, #12 + 800eea2: 46bd mov sp, r7 + 800eea4: f85d 7b04 ldr.w r7, [sp], #4 + 800eea8: 4770 bx lr -0800f31a : +0800eeaa : * @param n u32_t in host byte order * @return n in network byte order */ u32_t lwip_htonl(u32_t n) { - 800f31a: b480 push {r7} - 800f31c: b083 sub sp, #12 - 800f31e: af00 add r7, sp, #0 - 800f320: 6078 str r0, [r7, #4] + 800eeaa: b480 push {r7} + 800eeac: b083 sub sp, #12 + 800eeae: af00 add r7, sp, #0 + 800eeb0: 6078 str r0, [r7, #4] return PP_HTONL(n); - 800f322: 687b ldr r3, [r7, #4] - 800f324: 061a lsls r2, r3, #24 - 800f326: 687b ldr r3, [r7, #4] - 800f328: 021b lsls r3, r3, #8 - 800f32a: f403 037f and.w r3, r3, #16711680 ; 0xff0000 - 800f32e: 431a orrs r2, r3 - 800f330: 687b ldr r3, [r7, #4] - 800f332: 0a1b lsrs r3, r3, #8 - 800f334: f403 437f and.w r3, r3, #65280 ; 0xff00 - 800f338: 431a orrs r2, r3 - 800f33a: 687b ldr r3, [r7, #4] - 800f33c: 0e1b lsrs r3, r3, #24 - 800f33e: 4313 orrs r3, r2 + 800eeb2: 687b ldr r3, [r7, #4] + 800eeb4: 061a lsls r2, r3, #24 + 800eeb6: 687b ldr r3, [r7, #4] + 800eeb8: 021b lsls r3, r3, #8 + 800eeba: f403 037f and.w r3, r3, #16711680 ; 0xff0000 + 800eebe: 431a orrs r2, r3 + 800eec0: 687b ldr r3, [r7, #4] + 800eec2: 0a1b lsrs r3, r3, #8 + 800eec4: f403 437f and.w r3, r3, #65280 ; 0xff00 + 800eec8: 431a orrs r2, r3 + 800eeca: 687b ldr r3, [r7, #4] + 800eecc: 0e1b lsrs r3, r3, #24 + 800eece: 4313 orrs r3, r2 } - 800f340: 4618 mov r0, r3 - 800f342: 370c adds r7, #12 - 800f344: 46bd mov sp, r7 - 800f346: f85d 7b04 ldr.w r7, [sp], #4 - 800f34a: 4770 bx lr + 800eed0: 4618 mov r0, r3 + 800eed2: 370c adds r7, #12 + 800eed4: 46bd mov sp, r7 + 800eed6: f85d 7b04 ldr.w r7, [sp], #4 + 800eeda: 4770 bx lr -0800f34c : +0800eedc : * Initialize all modules. * Use this in NO_SYS mode. Use tcpip_init() otherwise. */ void lwip_init(void) { - 800f34c: b580 push {r7, lr} - 800f34e: b082 sub sp, #8 - 800f350: af00 add r7, sp, #0 + 800eedc: b580 push {r7, lr} + 800eede: b082 sub sp, #8 + 800eee0: af00 add r7, sp, #0 #ifndef LWIP_SKIP_CONST_CHECK int a = 0; - 800f352: 2300 movs r3, #0 - 800f354: 607b str r3, [r7, #4] + 800eee2: 2300 movs r3, #0 + 800eee4: 607b str r3, [r7, #4] #endif /* Modules initialization */ stats_init(); #if !NO_SYS sys_init(); - 800f356: f00b ffc5 bl 801b2e4 + 800eee6: f00b ffc5 bl 801ae74 #endif /* !NO_SYS */ mem_init(); - 800f35a: f000 f8d5 bl 800f508 + 800eeea: f000 f8d5 bl 800f098 memp_init(); - 800f35e: f000 fc31 bl 800fbc4 + 800eeee: f000 fc31 bl 800f754 pbuf_init(); netif_init(); - 800f362: f000 fcf7 bl 800fd54 + 800eef2: f000 fcf7 bl 800f8e4 #endif /* LWIP_IPV4 */ #if LWIP_RAW raw_init(); #endif /* LWIP_RAW */ #if LWIP_UDP udp_init(); - 800f366: f007 f8f5 bl 8016554 + 800eef6: f007 f8f5 bl 80160e4 #endif /* LWIP_UDP */ #if LWIP_TCP tcp_init(); - 800f36a: f001 fe1f bl 8010fac + 800eefa: f001 fe1f bl 8010b3c #if PPP_SUPPORT ppp_init(); #endif #if LWIP_TIMERS sys_timeouts_init(); - 800f36e: f007 f839 bl 80163e4 + 800eefe: f007 f839 bl 8015f74 #endif /* LWIP_TIMERS */ } - 800f372: bf00 nop - 800f374: 3708 adds r7, #8 - 800f376: 46bd mov sp, r7 - 800f378: bd80 pop {r7, pc} + 800ef02: bf00 nop + 800ef04: 3708 adds r7, #8 + 800ef06: 46bd mov sp, r7 + 800ef08: bd80 pop {r7, pc} ... -0800f37c : +0800ef0c : #define mem_overflow_check_element(mem) #endif /* MEM_OVERFLOW_CHECK */ static struct mem * ptr_to_mem(mem_size_t ptr) { - 800f37c: b480 push {r7} - 800f37e: b083 sub sp, #12 - 800f380: af00 add r7, sp, #0 - 800f382: 4603 mov r3, r0 - 800f384: 80fb strh r3, [r7, #6] + 800ef0c: b480 push {r7} + 800ef0e: b083 sub sp, #12 + 800ef10: af00 add r7, sp, #0 + 800ef12: 4603 mov r3, r0 + 800ef14: 80fb strh r3, [r7, #6] return (struct mem *)(void *)&ram[ptr]; - 800f386: 4b05 ldr r3, [pc, #20] ; (800f39c ) - 800f388: 681a ldr r2, [r3, #0] - 800f38a: 88fb ldrh r3, [r7, #6] - 800f38c: 4413 add r3, r2 + 800ef16: 4b05 ldr r3, [pc, #20] ; (800ef2c ) + 800ef18: 681a ldr r2, [r3, #0] + 800ef1a: 88fb ldrh r3, [r7, #6] + 800ef1c: 4413 add r3, r2 } - 800f38e: 4618 mov r0, r3 - 800f390: 370c adds r7, #12 - 800f392: 46bd mov sp, r7 - 800f394: f85d 7b04 ldr.w r7, [sp], #4 - 800f398: 4770 bx lr - 800f39a: bf00 nop - 800f39c: 200086e4 .word 0x200086e4 + 800ef1e: 4618 mov r0, r3 + 800ef20: 370c adds r7, #12 + 800ef22: 46bd mov sp, r7 + 800ef24: f85d 7b04 ldr.w r7, [sp], #4 + 800ef28: 4770 bx lr + 800ef2a: bf00 nop + 800ef2c: 200086e4 .word 0x200086e4 -0800f3a0 : +0800ef30 : static mem_size_t mem_to_ptr(void *mem) { - 800f3a0: b480 push {r7} - 800f3a2: b083 sub sp, #12 - 800f3a4: af00 add r7, sp, #0 - 800f3a6: 6078 str r0, [r7, #4] + 800ef30: b480 push {r7} + 800ef32: b083 sub sp, #12 + 800ef34: af00 add r7, sp, #0 + 800ef36: 6078 str r0, [r7, #4] return (mem_size_t)((u8_t *)mem - ram); - 800f3a8: 687b ldr r3, [r7, #4] - 800f3aa: 4a05 ldr r2, [pc, #20] ; (800f3c0 ) - 800f3ac: 6812 ldr r2, [r2, #0] - 800f3ae: 1a9b subs r3, r3, r2 - 800f3b0: b29b uxth r3, r3 + 800ef38: 687b ldr r3, [r7, #4] + 800ef3a: 4a05 ldr r2, [pc, #20] ; (800ef50 ) + 800ef3c: 6812 ldr r2, [r2, #0] + 800ef3e: 1a9b subs r3, r3, r2 + 800ef40: b29b uxth r3, r3 } - 800f3b2: 4618 mov r0, r3 - 800f3b4: 370c adds r7, #12 - 800f3b6: 46bd mov sp, r7 - 800f3b8: f85d 7b04 ldr.w r7, [sp], #4 - 800f3bc: 4770 bx lr - 800f3be: bf00 nop - 800f3c0: 200086e4 .word 0x200086e4 + 800ef42: 4618 mov r0, r3 + 800ef44: 370c adds r7, #12 + 800ef46: 46bd mov sp, r7 + 800ef48: f85d 7b04 ldr.w r7, [sp], #4 + 800ef4c: 4770 bx lr + 800ef4e: bf00 nop + 800ef50: 200086e4 .word 0x200086e4 -0800f3c4 : +0800ef54 : * This assumes access to the heap is protected by the calling function * already. */ static void plug_holes(struct mem *mem) { - 800f3c4: b590 push {r4, r7, lr} - 800f3c6: b085 sub sp, #20 - 800f3c8: af00 add r7, sp, #0 - 800f3ca: 6078 str r0, [r7, #4] + 800ef54: b590 push {r4, r7, lr} + 800ef56: b085 sub sp, #20 + 800ef58: af00 add r7, sp, #0 + 800ef5a: 6078 str r0, [r7, #4] struct mem *nmem; struct mem *pmem; LWIP_ASSERT("plug_holes: mem >= ram", (u8_t *)mem >= ram); - 800f3cc: 4b45 ldr r3, [pc, #276] ; (800f4e4 ) - 800f3ce: 681b ldr r3, [r3, #0] - 800f3d0: 687a ldr r2, [r7, #4] - 800f3d2: 429a cmp r2, r3 - 800f3d4: d206 bcs.n 800f3e4 - 800f3d6: 4b44 ldr r3, [pc, #272] ; (800f4e8 ) - 800f3d8: f240 12df movw r2, #479 ; 0x1df - 800f3dc: 4943 ldr r1, [pc, #268] ; (800f4ec ) - 800f3de: 4844 ldr r0, [pc, #272] ; (800f4f0 ) - 800f3e0: f00c f86a bl 801b4b8 + 800ef5c: 4b45 ldr r3, [pc, #276] ; (800f074 ) + 800ef5e: 681b ldr r3, [r3, #0] + 800ef60: 687a ldr r2, [r7, #4] + 800ef62: 429a cmp r2, r3 + 800ef64: d206 bcs.n 800ef74 + 800ef66: 4b44 ldr r3, [pc, #272] ; (800f078 ) + 800ef68: f240 12df movw r2, #479 ; 0x1df + 800ef6c: 4943 ldr r1, [pc, #268] ; (800f07c ) + 800ef6e: 4844 ldr r0, [pc, #272] ; (800f080 ) + 800ef70: f00c f850 bl 801b014 LWIP_ASSERT("plug_holes: mem < ram_end", (u8_t *)mem < (u8_t *)ram_end); - 800f3e4: 4b43 ldr r3, [pc, #268] ; (800f4f4 ) - 800f3e6: 681b ldr r3, [r3, #0] - 800f3e8: 687a ldr r2, [r7, #4] - 800f3ea: 429a cmp r2, r3 - 800f3ec: d306 bcc.n 800f3fc - 800f3ee: 4b3e ldr r3, [pc, #248] ; (800f4e8 ) - 800f3f0: f44f 72f0 mov.w r2, #480 ; 0x1e0 - 800f3f4: 4940 ldr r1, [pc, #256] ; (800f4f8 ) - 800f3f6: 483e ldr r0, [pc, #248] ; (800f4f0 ) - 800f3f8: f00c f85e bl 801b4b8 + 800ef74: 4b43 ldr r3, [pc, #268] ; (800f084 ) + 800ef76: 681b ldr r3, [r3, #0] + 800ef78: 687a ldr r2, [r7, #4] + 800ef7a: 429a cmp r2, r3 + 800ef7c: d306 bcc.n 800ef8c + 800ef7e: 4b3e ldr r3, [pc, #248] ; (800f078 ) + 800ef80: f44f 72f0 mov.w r2, #480 ; 0x1e0 + 800ef84: 4940 ldr r1, [pc, #256] ; (800f088 ) + 800ef86: 483e ldr r0, [pc, #248] ; (800f080 ) + 800ef88: f00c f844 bl 801b014 LWIP_ASSERT("plug_holes: mem->used == 0", mem->used == 0); - 800f3fc: 687b ldr r3, [r7, #4] - 800f3fe: 791b ldrb r3, [r3, #4] - 800f400: 2b00 cmp r3, #0 - 800f402: d006 beq.n 800f412 - 800f404: 4b38 ldr r3, [pc, #224] ; (800f4e8 ) - 800f406: f240 12e1 movw r2, #481 ; 0x1e1 - 800f40a: 493c ldr r1, [pc, #240] ; (800f4fc ) - 800f40c: 4838 ldr r0, [pc, #224] ; (800f4f0 ) - 800f40e: f00c f853 bl 801b4b8 + 800ef8c: 687b ldr r3, [r7, #4] + 800ef8e: 791b ldrb r3, [r3, #4] + 800ef90: 2b00 cmp r3, #0 + 800ef92: d006 beq.n 800efa2 + 800ef94: 4b38 ldr r3, [pc, #224] ; (800f078 ) + 800ef96: f240 12e1 movw r2, #481 ; 0x1e1 + 800ef9a: 493c ldr r1, [pc, #240] ; (800f08c ) + 800ef9c: 4838 ldr r0, [pc, #224] ; (800f080 ) + 800ef9e: f00c f839 bl 801b014 /* plug hole forward */ LWIP_ASSERT("plug_holes: mem->next <= MEM_SIZE_ALIGNED", mem->next <= MEM_SIZE_ALIGNED); - 800f412: 687b ldr r3, [r7, #4] - 800f414: 881b ldrh r3, [r3, #0] - 800f416: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800f41a: d906 bls.n 800f42a - 800f41c: 4b32 ldr r3, [pc, #200] ; (800f4e8 ) - 800f41e: f44f 72f2 mov.w r2, #484 ; 0x1e4 - 800f422: 4937 ldr r1, [pc, #220] ; (800f500 ) - 800f424: 4832 ldr r0, [pc, #200] ; (800f4f0 ) - 800f426: f00c f847 bl 801b4b8 + 800efa2: 687b ldr r3, [r7, #4] + 800efa4: 881b ldrh r3, [r3, #0] + 800efa6: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 + 800efaa: d906 bls.n 800efba + 800efac: 4b32 ldr r3, [pc, #200] ; (800f078 ) + 800efae: f44f 72f2 mov.w r2, #484 ; 0x1e4 + 800efb2: 4937 ldr r1, [pc, #220] ; (800f090 ) + 800efb4: 4832 ldr r0, [pc, #200] ; (800f080 ) + 800efb6: f00c f82d bl 801b014 nmem = ptr_to_mem(mem->next); - 800f42a: 687b ldr r3, [r7, #4] - 800f42c: 881b ldrh r3, [r3, #0] - 800f42e: 4618 mov r0, r3 - 800f430: f7ff ffa4 bl 800f37c - 800f434: 60f8 str r0, [r7, #12] + 800efba: 687b ldr r3, [r7, #4] + 800efbc: 881b ldrh r3, [r3, #0] + 800efbe: 4618 mov r0, r3 + 800efc0: f7ff ffa4 bl 800ef0c + 800efc4: 60f8 str r0, [r7, #12] if (mem != nmem && nmem->used == 0 && (u8_t *)nmem != (u8_t *)ram_end) { - 800f436: 687a ldr r2, [r7, #4] - 800f438: 68fb ldr r3, [r7, #12] - 800f43a: 429a cmp r2, r3 - 800f43c: d024 beq.n 800f488 - 800f43e: 68fb ldr r3, [r7, #12] - 800f440: 791b ldrb r3, [r3, #4] - 800f442: 2b00 cmp r3, #0 - 800f444: d120 bne.n 800f488 - 800f446: 4b2b ldr r3, [pc, #172] ; (800f4f4 ) - 800f448: 681b ldr r3, [r3, #0] - 800f44a: 68fa ldr r2, [r7, #12] - 800f44c: 429a cmp r2, r3 - 800f44e: d01b beq.n 800f488 + 800efc6: 687a ldr r2, [r7, #4] + 800efc8: 68fb ldr r3, [r7, #12] + 800efca: 429a cmp r2, r3 + 800efcc: d024 beq.n 800f018 + 800efce: 68fb ldr r3, [r7, #12] + 800efd0: 791b ldrb r3, [r3, #4] + 800efd2: 2b00 cmp r3, #0 + 800efd4: d120 bne.n 800f018 + 800efd6: 4b2b ldr r3, [pc, #172] ; (800f084 ) + 800efd8: 681b ldr r3, [r3, #0] + 800efda: 68fa ldr r2, [r7, #12] + 800efdc: 429a cmp r2, r3 + 800efde: d01b beq.n 800f018 /* if mem->next is unused and not end of ram, combine mem and mem->next */ if (lfree == nmem) { - 800f450: 4b2c ldr r3, [pc, #176] ; (800f504 ) - 800f452: 681b ldr r3, [r3, #0] - 800f454: 68fa ldr r2, [r7, #12] - 800f456: 429a cmp r2, r3 - 800f458: d102 bne.n 800f460 + 800efe0: 4b2c ldr r3, [pc, #176] ; (800f094 ) + 800efe2: 681b ldr r3, [r3, #0] + 800efe4: 68fa ldr r2, [r7, #12] + 800efe6: 429a cmp r2, r3 + 800efe8: d102 bne.n 800eff0 lfree = mem; - 800f45a: 4a2a ldr r2, [pc, #168] ; (800f504 ) - 800f45c: 687b ldr r3, [r7, #4] - 800f45e: 6013 str r3, [r2, #0] + 800efea: 4a2a ldr r2, [pc, #168] ; (800f094 ) + 800efec: 687b ldr r3, [r7, #4] + 800efee: 6013 str r3, [r2, #0] } mem->next = nmem->next; - 800f460: 68fb ldr r3, [r7, #12] - 800f462: 881a ldrh r2, [r3, #0] - 800f464: 687b ldr r3, [r7, #4] - 800f466: 801a strh r2, [r3, #0] + 800eff0: 68fb ldr r3, [r7, #12] + 800eff2: 881a ldrh r2, [r3, #0] + 800eff4: 687b ldr r3, [r7, #4] + 800eff6: 801a strh r2, [r3, #0] if (nmem->next != MEM_SIZE_ALIGNED) { - 800f468: 68fb ldr r3, [r7, #12] - 800f46a: 881b ldrh r3, [r3, #0] - 800f46c: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800f470: d00a beq.n 800f488 + 800eff8: 68fb ldr r3, [r7, #12] + 800effa: 881b ldrh r3, [r3, #0] + 800effc: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 + 800f000: d00a beq.n 800f018 ptr_to_mem(nmem->next)->prev = mem_to_ptr(mem); - 800f472: 68fb ldr r3, [r7, #12] - 800f474: 881b ldrh r3, [r3, #0] - 800f476: 4618 mov r0, r3 - 800f478: f7ff ff80 bl 800f37c - 800f47c: 4604 mov r4, r0 - 800f47e: 6878 ldr r0, [r7, #4] - 800f480: f7ff ff8e bl 800f3a0 - 800f484: 4603 mov r3, r0 - 800f486: 8063 strh r3, [r4, #2] + 800f002: 68fb ldr r3, [r7, #12] + 800f004: 881b ldrh r3, [r3, #0] + 800f006: 4618 mov r0, r3 + 800f008: f7ff ff80 bl 800ef0c + 800f00c: 4604 mov r4, r0 + 800f00e: 6878 ldr r0, [r7, #4] + 800f010: f7ff ff8e bl 800ef30 + 800f014: 4603 mov r3, r0 + 800f016: 8063 strh r3, [r4, #2] } } /* plug hole backward */ pmem = ptr_to_mem(mem->prev); - 800f488: 687b ldr r3, [r7, #4] - 800f48a: 885b ldrh r3, [r3, #2] - 800f48c: 4618 mov r0, r3 - 800f48e: f7ff ff75 bl 800f37c - 800f492: 60b8 str r0, [r7, #8] + 800f018: 687b ldr r3, [r7, #4] + 800f01a: 885b ldrh r3, [r3, #2] + 800f01c: 4618 mov r0, r3 + 800f01e: f7ff ff75 bl 800ef0c + 800f022: 60b8 str r0, [r7, #8] if (pmem != mem && pmem->used == 0) { - 800f494: 68ba ldr r2, [r7, #8] - 800f496: 687b ldr r3, [r7, #4] - 800f498: 429a cmp r2, r3 - 800f49a: d01f beq.n 800f4dc - 800f49c: 68bb ldr r3, [r7, #8] - 800f49e: 791b ldrb r3, [r3, #4] - 800f4a0: 2b00 cmp r3, #0 - 800f4a2: d11b bne.n 800f4dc + 800f024: 68ba ldr r2, [r7, #8] + 800f026: 687b ldr r3, [r7, #4] + 800f028: 429a cmp r2, r3 + 800f02a: d01f beq.n 800f06c + 800f02c: 68bb ldr r3, [r7, #8] + 800f02e: 791b ldrb r3, [r3, #4] + 800f030: 2b00 cmp r3, #0 + 800f032: d11b bne.n 800f06c /* if mem->prev is unused, combine mem and mem->prev */ if (lfree == mem) { - 800f4a4: 4b17 ldr r3, [pc, #92] ; (800f504 ) - 800f4a6: 681b ldr r3, [r3, #0] - 800f4a8: 687a ldr r2, [r7, #4] - 800f4aa: 429a cmp r2, r3 - 800f4ac: d102 bne.n 800f4b4 + 800f034: 4b17 ldr r3, [pc, #92] ; (800f094 ) + 800f036: 681b ldr r3, [r3, #0] + 800f038: 687a ldr r2, [r7, #4] + 800f03a: 429a cmp r2, r3 + 800f03c: d102 bne.n 800f044 lfree = pmem; - 800f4ae: 4a15 ldr r2, [pc, #84] ; (800f504 ) - 800f4b0: 68bb ldr r3, [r7, #8] - 800f4b2: 6013 str r3, [r2, #0] + 800f03e: 4a15 ldr r2, [pc, #84] ; (800f094 ) + 800f040: 68bb ldr r3, [r7, #8] + 800f042: 6013 str r3, [r2, #0] } pmem->next = mem->next; - 800f4b4: 687b ldr r3, [r7, #4] - 800f4b6: 881a ldrh r2, [r3, #0] - 800f4b8: 68bb ldr r3, [r7, #8] - 800f4ba: 801a strh r2, [r3, #0] + 800f044: 687b ldr r3, [r7, #4] + 800f046: 881a ldrh r2, [r3, #0] + 800f048: 68bb ldr r3, [r7, #8] + 800f04a: 801a strh r2, [r3, #0] if (mem->next != MEM_SIZE_ALIGNED) { - 800f4bc: 687b ldr r3, [r7, #4] - 800f4be: 881b ldrh r3, [r3, #0] - 800f4c0: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800f4c4: d00a beq.n 800f4dc + 800f04c: 687b ldr r3, [r7, #4] + 800f04e: 881b ldrh r3, [r3, #0] + 800f050: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 + 800f054: d00a beq.n 800f06c ptr_to_mem(mem->next)->prev = mem_to_ptr(pmem); - 800f4c6: 687b ldr r3, [r7, #4] - 800f4c8: 881b ldrh r3, [r3, #0] - 800f4ca: 4618 mov r0, r3 - 800f4cc: f7ff ff56 bl 800f37c - 800f4d0: 4604 mov r4, r0 - 800f4d2: 68b8 ldr r0, [r7, #8] - 800f4d4: f7ff ff64 bl 800f3a0 - 800f4d8: 4603 mov r3, r0 - 800f4da: 8063 strh r3, [r4, #2] + 800f056: 687b ldr r3, [r7, #4] + 800f058: 881b ldrh r3, [r3, #0] + 800f05a: 4618 mov r0, r3 + 800f05c: f7ff ff56 bl 800ef0c + 800f060: 4604 mov r4, r0 + 800f062: 68b8 ldr r0, [r7, #8] + 800f064: f7ff ff64 bl 800ef30 + 800f068: 4603 mov r3, r0 + 800f06a: 8063 strh r3, [r4, #2] } } } - 800f4dc: bf00 nop - 800f4de: 3714 adds r7, #20 - 800f4e0: 46bd mov sp, r7 - 800f4e2: bd90 pop {r4, r7, pc} - 800f4e4: 200086e4 .word 0x200086e4 - 800f4e8: 0801c8b8 .word 0x0801c8b8 - 800f4ec: 0801c8e8 .word 0x0801c8e8 - 800f4f0: 0801c900 .word 0x0801c900 - 800f4f4: 200086e8 .word 0x200086e8 - 800f4f8: 0801c928 .word 0x0801c928 - 800f4fc: 0801c944 .word 0x0801c944 - 800f500: 0801c960 .word 0x0801c960 - 800f504: 200086f0 .word 0x200086f0 + 800f06c: bf00 nop + 800f06e: 3714 adds r7, #20 + 800f070: 46bd mov sp, r7 + 800f072: bd90 pop {r4, r7, pc} + 800f074: 200086e4 .word 0x200086e4 + 800f078: 0801c0b4 .word 0x0801c0b4 + 800f07c: 0801c0e4 .word 0x0801c0e4 + 800f080: 0801c0fc .word 0x0801c0fc + 800f084: 200086e8 .word 0x200086e8 + 800f088: 0801c124 .word 0x0801c124 + 800f08c: 0801c140 .word 0x0801c140 + 800f090: 0801c15c .word 0x0801c15c + 800f094: 200086f0 .word 0x200086f0 -0800f508 : +0800f098 : /** * Zero the heap and initialize start, end and lowest-free */ void mem_init(void) { - 800f508: b580 push {r7, lr} - 800f50a: b082 sub sp, #8 - 800f50c: af00 add r7, sp, #0 + 800f098: b580 push {r7, lr} + 800f09a: b082 sub sp, #8 + 800f09c: af00 add r7, sp, #0 LWIP_ASSERT("Sanity check alignment", (SIZEOF_STRUCT_MEM & (MEM_ALIGNMENT - 1)) == 0); /* align the heap */ ram = (u8_t *)LWIP_MEM_ALIGN(LWIP_RAM_HEAP_POINTER); - 800f50e: 4b1f ldr r3, [pc, #124] ; (800f58c ) - 800f510: 3303 adds r3, #3 - 800f512: f023 0303 bic.w r3, r3, #3 - 800f516: 461a mov r2, r3 - 800f518: 4b1d ldr r3, [pc, #116] ; (800f590 ) - 800f51a: 601a str r2, [r3, #0] + 800f09e: 4b1f ldr r3, [pc, #124] ; (800f11c ) + 800f0a0: 3303 adds r3, #3 + 800f0a2: f023 0303 bic.w r3, r3, #3 + 800f0a6: 461a mov r2, r3 + 800f0a8: 4b1d ldr r3, [pc, #116] ; (800f120 ) + 800f0aa: 601a str r2, [r3, #0] /* initialize the start of the heap */ mem = (struct mem *)(void *)ram; - 800f51c: 4b1c ldr r3, [pc, #112] ; (800f590 ) - 800f51e: 681b ldr r3, [r3, #0] - 800f520: 607b str r3, [r7, #4] + 800f0ac: 4b1c ldr r3, [pc, #112] ; (800f120 ) + 800f0ae: 681b ldr r3, [r3, #0] + 800f0b0: 607b str r3, [r7, #4] mem->next = MEM_SIZE_ALIGNED; - 800f522: 687b ldr r3, [r7, #4] - 800f524: f44f 62c8 mov.w r2, #1600 ; 0x640 - 800f528: 801a strh r2, [r3, #0] + 800f0b2: 687b ldr r3, [r7, #4] + 800f0b4: f44f 62c8 mov.w r2, #1600 ; 0x640 + 800f0b8: 801a strh r2, [r3, #0] mem->prev = 0; - 800f52a: 687b ldr r3, [r7, #4] - 800f52c: 2200 movs r2, #0 - 800f52e: 805a strh r2, [r3, #2] + 800f0ba: 687b ldr r3, [r7, #4] + 800f0bc: 2200 movs r2, #0 + 800f0be: 805a strh r2, [r3, #2] mem->used = 0; - 800f530: 687b ldr r3, [r7, #4] - 800f532: 2200 movs r2, #0 - 800f534: 711a strb r2, [r3, #4] + 800f0c0: 687b ldr r3, [r7, #4] + 800f0c2: 2200 movs r2, #0 + 800f0c4: 711a strb r2, [r3, #4] /* initialize the end of the heap */ ram_end = ptr_to_mem(MEM_SIZE_ALIGNED); - 800f536: f44f 60c8 mov.w r0, #1600 ; 0x640 - 800f53a: f7ff ff1f bl 800f37c - 800f53e: 4602 mov r2, r0 - 800f540: 4b14 ldr r3, [pc, #80] ; (800f594 ) - 800f542: 601a str r2, [r3, #0] + 800f0c6: f44f 60c8 mov.w r0, #1600 ; 0x640 + 800f0ca: f7ff ff1f bl 800ef0c + 800f0ce: 4602 mov r2, r0 + 800f0d0: 4b14 ldr r3, [pc, #80] ; (800f124 ) + 800f0d2: 601a str r2, [r3, #0] ram_end->used = 1; - 800f544: 4b13 ldr r3, [pc, #76] ; (800f594 ) - 800f546: 681b ldr r3, [r3, #0] - 800f548: 2201 movs r2, #1 - 800f54a: 711a strb r2, [r3, #4] + 800f0d4: 4b13 ldr r3, [pc, #76] ; (800f124 ) + 800f0d6: 681b ldr r3, [r3, #0] + 800f0d8: 2201 movs r2, #1 + 800f0da: 711a strb r2, [r3, #4] ram_end->next = MEM_SIZE_ALIGNED; - 800f54c: 4b11 ldr r3, [pc, #68] ; (800f594 ) - 800f54e: 681b ldr r3, [r3, #0] - 800f550: f44f 62c8 mov.w r2, #1600 ; 0x640 - 800f554: 801a strh r2, [r3, #0] + 800f0dc: 4b11 ldr r3, [pc, #68] ; (800f124 ) + 800f0de: 681b ldr r3, [r3, #0] + 800f0e0: f44f 62c8 mov.w r2, #1600 ; 0x640 + 800f0e4: 801a strh r2, [r3, #0] ram_end->prev = MEM_SIZE_ALIGNED; - 800f556: 4b0f ldr r3, [pc, #60] ; (800f594 ) - 800f558: 681b ldr r3, [r3, #0] - 800f55a: f44f 62c8 mov.w r2, #1600 ; 0x640 - 800f55e: 805a strh r2, [r3, #2] + 800f0e6: 4b0f ldr r3, [pc, #60] ; (800f124 ) + 800f0e8: 681b ldr r3, [r3, #0] + 800f0ea: f44f 62c8 mov.w r2, #1600 ; 0x640 + 800f0ee: 805a strh r2, [r3, #2] MEM_SANITY(); /* initialize the lowest-free pointer to the start of the heap */ lfree = (struct mem *)(void *)ram; - 800f560: 4b0b ldr r3, [pc, #44] ; (800f590 ) - 800f562: 681b ldr r3, [r3, #0] - 800f564: 4a0c ldr r2, [pc, #48] ; (800f598 ) - 800f566: 6013 str r3, [r2, #0] + 800f0f0: 4b0b ldr r3, [pc, #44] ; (800f120 ) + 800f0f2: 681b ldr r3, [r3, #0] + 800f0f4: 4a0c ldr r2, [pc, #48] ; (800f128 ) + 800f0f6: 6013 str r3, [r2, #0] MEM_STATS_AVAIL(avail, MEM_SIZE_ALIGNED); if (sys_mutex_new(&mem_mutex) != ERR_OK) { - 800f568: 480c ldr r0, [pc, #48] ; (800f59c ) - 800f56a: f00b fec9 bl 801b300 - 800f56e: 4603 mov r3, r0 - 800f570: 2b00 cmp r3, #0 - 800f572: d006 beq.n 800f582 + 800f0f8: 480c ldr r0, [pc, #48] ; (800f12c ) + 800f0fa: f00b fec9 bl 801ae90 + 800f0fe: 4603 mov r3, r0 + 800f100: 2b00 cmp r3, #0 + 800f102: d006 beq.n 800f112 LWIP_ASSERT("failed to create mem_mutex", 0); - 800f574: 4b0a ldr r3, [pc, #40] ; (800f5a0 ) - 800f576: f240 221f movw r2, #543 ; 0x21f - 800f57a: 490a ldr r1, [pc, #40] ; (800f5a4 ) - 800f57c: 480a ldr r0, [pc, #40] ; (800f5a8 ) - 800f57e: f00b ff9b bl 801b4b8 + 800f104: 4b0a ldr r3, [pc, #40] ; (800f130 ) + 800f106: f240 221f movw r2, #543 ; 0x21f + 800f10a: 490a ldr r1, [pc, #40] ; (800f134 ) + 800f10c: 480a ldr r0, [pc, #40] ; (800f138 ) + 800f10e: f00b ff81 bl 801b014 } } - 800f582: bf00 nop - 800f584: 3708 adds r7, #8 - 800f586: 46bd mov sp, r7 - 800f588: bd80 pop {r7, pc} - 800f58a: bf00 nop - 800f58c: 2000bea8 .word 0x2000bea8 - 800f590: 200086e4 .word 0x200086e4 - 800f594: 200086e8 .word 0x200086e8 - 800f598: 200086f0 .word 0x200086f0 - 800f59c: 200086ec .word 0x200086ec - 800f5a0: 0801c8b8 .word 0x0801c8b8 - 800f5a4: 0801c98c .word 0x0801c98c - 800f5a8: 0801c900 .word 0x0801c900 + 800f112: bf00 nop + 800f114: 3708 adds r7, #8 + 800f116: 46bd mov sp, r7 + 800f118: bd80 pop {r7, pc} + 800f11a: bf00 nop + 800f11c: 2000bea4 .word 0x2000bea4 + 800f120: 200086e4 .word 0x200086e4 + 800f124: 200086e8 .word 0x200086e8 + 800f128: 200086f0 .word 0x200086f0 + 800f12c: 200086ec .word 0x200086ec + 800f130: 0801c0b4 .word 0x0801c0b4 + 800f134: 0801c188 .word 0x0801c188 + 800f138: 0801c0fc .word 0x0801c0fc -0800f5ac : +0800f13c : /* Check if a struct mem is correctly linked. * If not, double-free is a possible reason. */ static int mem_link_valid(struct mem *mem) { - 800f5ac: b580 push {r7, lr} - 800f5ae: b086 sub sp, #24 - 800f5b0: af00 add r7, sp, #0 - 800f5b2: 6078 str r0, [r7, #4] + 800f13c: b580 push {r7, lr} + 800f13e: b086 sub sp, #24 + 800f140: af00 add r7, sp, #0 + 800f142: 6078 str r0, [r7, #4] struct mem *nmem, *pmem; mem_size_t rmem_idx; rmem_idx = mem_to_ptr(mem); - 800f5b4: 6878 ldr r0, [r7, #4] - 800f5b6: f7ff fef3 bl 800f3a0 - 800f5ba: 4603 mov r3, r0 - 800f5bc: 82fb strh r3, [r7, #22] + 800f144: 6878 ldr r0, [r7, #4] + 800f146: f7ff fef3 bl 800ef30 + 800f14a: 4603 mov r3, r0 + 800f14c: 82fb strh r3, [r7, #22] nmem = ptr_to_mem(mem->next); - 800f5be: 687b ldr r3, [r7, #4] - 800f5c0: 881b ldrh r3, [r3, #0] - 800f5c2: 4618 mov r0, r3 - 800f5c4: f7ff feda bl 800f37c - 800f5c8: 6138 str r0, [r7, #16] + 800f14e: 687b ldr r3, [r7, #4] + 800f150: 881b ldrh r3, [r3, #0] + 800f152: 4618 mov r0, r3 + 800f154: f7ff feda bl 800ef0c + 800f158: 6138 str r0, [r7, #16] pmem = ptr_to_mem(mem->prev); - 800f5ca: 687b ldr r3, [r7, #4] - 800f5cc: 885b ldrh r3, [r3, #2] - 800f5ce: 4618 mov r0, r3 - 800f5d0: f7ff fed4 bl 800f37c - 800f5d4: 60f8 str r0, [r7, #12] + 800f15a: 687b ldr r3, [r7, #4] + 800f15c: 885b ldrh r3, [r3, #2] + 800f15e: 4618 mov r0, r3 + 800f160: f7ff fed4 bl 800ef0c + 800f164: 60f8 str r0, [r7, #12] if ((mem->next > MEM_SIZE_ALIGNED) || (mem->prev > MEM_SIZE_ALIGNED) || - 800f5d6: 687b ldr r3, [r7, #4] - 800f5d8: 881b ldrh r3, [r3, #0] - 800f5da: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800f5de: d818 bhi.n 800f612 - 800f5e0: 687b ldr r3, [r7, #4] - 800f5e2: 885b ldrh r3, [r3, #2] - 800f5e4: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800f5e8: d813 bhi.n 800f612 + 800f166: 687b ldr r3, [r7, #4] + 800f168: 881b ldrh r3, [r3, #0] + 800f16a: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 + 800f16e: d818 bhi.n 800f1a2 + 800f170: 687b ldr r3, [r7, #4] + 800f172: 885b ldrh r3, [r3, #2] + 800f174: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 + 800f178: d813 bhi.n 800f1a2 ((mem->prev != rmem_idx) && (pmem->next != rmem_idx)) || - 800f5ea: 687b ldr r3, [r7, #4] - 800f5ec: 885b ldrh r3, [r3, #2] + 800f17a: 687b ldr r3, [r7, #4] + 800f17c: 885b ldrh r3, [r3, #2] if ((mem->next > MEM_SIZE_ALIGNED) || (mem->prev > MEM_SIZE_ALIGNED) || - 800f5ee: 8afa ldrh r2, [r7, #22] - 800f5f0: 429a cmp r2, r3 - 800f5f2: d004 beq.n 800f5fe + 800f17e: 8afa ldrh r2, [r7, #22] + 800f180: 429a cmp r2, r3 + 800f182: d004 beq.n 800f18e ((mem->prev != rmem_idx) && (pmem->next != rmem_idx)) || - 800f5f4: 68fb ldr r3, [r7, #12] - 800f5f6: 881b ldrh r3, [r3, #0] - 800f5f8: 8afa ldrh r2, [r7, #22] - 800f5fa: 429a cmp r2, r3 - 800f5fc: d109 bne.n 800f612 + 800f184: 68fb ldr r3, [r7, #12] + 800f186: 881b ldrh r3, [r3, #0] + 800f188: 8afa ldrh r2, [r7, #22] + 800f18a: 429a cmp r2, r3 + 800f18c: d109 bne.n 800f1a2 ((nmem != ram_end) && (nmem->prev != rmem_idx))) { - 800f5fe: 4b08 ldr r3, [pc, #32] ; (800f620 ) - 800f600: 681b ldr r3, [r3, #0] + 800f18e: 4b08 ldr r3, [pc, #32] ; (800f1b0 ) + 800f190: 681b ldr r3, [r3, #0] ((mem->prev != rmem_idx) && (pmem->next != rmem_idx)) || - 800f602: 693a ldr r2, [r7, #16] - 800f604: 429a cmp r2, r3 - 800f606: d006 beq.n 800f616 + 800f192: 693a ldr r2, [r7, #16] + 800f194: 429a cmp r2, r3 + 800f196: d006 beq.n 800f1a6 ((nmem != ram_end) && (nmem->prev != rmem_idx))) { - 800f608: 693b ldr r3, [r7, #16] - 800f60a: 885b ldrh r3, [r3, #2] - 800f60c: 8afa ldrh r2, [r7, #22] - 800f60e: 429a cmp r2, r3 - 800f610: d001 beq.n 800f616 + 800f198: 693b ldr r3, [r7, #16] + 800f19a: 885b ldrh r3, [r3, #2] + 800f19c: 8afa ldrh r2, [r7, #22] + 800f19e: 429a cmp r2, r3 + 800f1a0: d001 beq.n 800f1a6 return 0; - 800f612: 2300 movs r3, #0 - 800f614: e000 b.n 800f618 + 800f1a2: 2300 movs r3, #0 + 800f1a4: e000 b.n 800f1a8 } return 1; - 800f616: 2301 movs r3, #1 + 800f1a6: 2301 movs r3, #1 } - 800f618: 4618 mov r0, r3 - 800f61a: 3718 adds r7, #24 - 800f61c: 46bd mov sp, r7 - 800f61e: bd80 pop {r7, pc} - 800f620: 200086e8 .word 0x200086e8 + 800f1a8: 4618 mov r0, r3 + 800f1aa: 3718 adds r7, #24 + 800f1ac: 46bd mov sp, r7 + 800f1ae: bd80 pop {r7, pc} + 800f1b0: 200086e8 .word 0x200086e8 -0800f624 : +0800f1b4 : * @param rmem is the data portion of a struct mem as returned by a previous * call to mem_malloc() */ void mem_free(void *rmem) { - 800f624: b580 push {r7, lr} - 800f626: b088 sub sp, #32 - 800f628: af00 add r7, sp, #0 - 800f62a: 6078 str r0, [r7, #4] + 800f1b4: b580 push {r7, lr} + 800f1b6: b088 sub sp, #32 + 800f1b8: af00 add r7, sp, #0 + 800f1ba: 6078 str r0, [r7, #4] struct mem *mem; LWIP_MEM_FREE_DECL_PROTECT(); if (rmem == NULL) { - 800f62c: 687b ldr r3, [r7, #4] - 800f62e: 2b00 cmp r3, #0 - 800f630: d070 beq.n 800f714 + 800f1bc: 687b ldr r3, [r7, #4] + 800f1be: 2b00 cmp r3, #0 + 800f1c0: d070 beq.n 800f2a4 LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("mem_free(p == NULL) was called.\n")); return; } if ((((mem_ptr_t)rmem) & (MEM_ALIGNMENT - 1)) != 0) { - 800f632: 687b ldr r3, [r7, #4] - 800f634: f003 0303 and.w r3, r3, #3 - 800f638: 2b00 cmp r3, #0 - 800f63a: d00d beq.n 800f658 + 800f1c2: 687b ldr r3, [r7, #4] + 800f1c4: f003 0303 and.w r3, r3, #3 + 800f1c8: 2b00 cmp r3, #0 + 800f1ca: d00d beq.n 800f1e8 LWIP_MEM_ILLEGAL_FREE("mem_free: sanity check alignment"); - 800f63c: 4b37 ldr r3, [pc, #220] ; (800f71c ) - 800f63e: f240 2273 movw r2, #627 ; 0x273 - 800f642: 4937 ldr r1, [pc, #220] ; (800f720 ) - 800f644: 4837 ldr r0, [pc, #220] ; (800f724 ) - 800f646: f00b ff37 bl 801b4b8 + 800f1cc: 4b37 ldr r3, [pc, #220] ; (800f2ac ) + 800f1ce: f240 2273 movw r2, #627 ; 0x273 + 800f1d2: 4937 ldr r1, [pc, #220] ; (800f2b0 ) + 800f1d4: 4837 ldr r0, [pc, #220] ; (800f2b4 ) + 800f1d6: f00b ff1d bl 801b014 LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_LEVEL_SEVERE, ("mem_free: sanity check alignment\n")); /* protect mem stats from concurrent access */ MEM_STATS_INC_LOCKED(illegal); - 800f64a: f00b feb7 bl 801b3bc - 800f64e: 60f8 str r0, [r7, #12] - 800f650: 68f8 ldr r0, [r7, #12] - 800f652: f00b fec1 bl 801b3d8 + 800f1da: f00b feb7 bl 801af4c + 800f1de: 60f8 str r0, [r7, #12] + 800f1e0: 68f8 ldr r0, [r7, #12] + 800f1e2: f00b fec1 bl 801af68 return; - 800f656: e05e b.n 800f716 + 800f1e6: e05e b.n 800f2a6 } /* Get the corresponding struct mem: */ /* cast through void* to get rid of alignment warnings */ mem = (struct mem *)(void *)((u8_t *)rmem - (SIZEOF_STRUCT_MEM + MEM_SANITY_OFFSET)); - 800f658: 687b ldr r3, [r7, #4] - 800f65a: 3b08 subs r3, #8 - 800f65c: 61fb str r3, [r7, #28] + 800f1e8: 687b ldr r3, [r7, #4] + 800f1ea: 3b08 subs r3, #8 + 800f1ec: 61fb str r3, [r7, #28] if ((u8_t *)mem < ram || (u8_t *)rmem + MIN_SIZE_ALIGNED > (u8_t *)ram_end) { - 800f65e: 4b32 ldr r3, [pc, #200] ; (800f728 ) - 800f660: 681b ldr r3, [r3, #0] - 800f662: 69fa ldr r2, [r7, #28] - 800f664: 429a cmp r2, r3 - 800f666: d306 bcc.n 800f676 - 800f668: 687b ldr r3, [r7, #4] - 800f66a: f103 020c add.w r2, r3, #12 - 800f66e: 4b2f ldr r3, [pc, #188] ; (800f72c ) - 800f670: 681b ldr r3, [r3, #0] - 800f672: 429a cmp r2, r3 - 800f674: d90d bls.n 800f692 + 800f1ee: 4b32 ldr r3, [pc, #200] ; (800f2b8 ) + 800f1f0: 681b ldr r3, [r3, #0] + 800f1f2: 69fa ldr r2, [r7, #28] + 800f1f4: 429a cmp r2, r3 + 800f1f6: d306 bcc.n 800f206 + 800f1f8: 687b ldr r3, [r7, #4] + 800f1fa: f103 020c add.w r2, r3, #12 + 800f1fe: 4b2f ldr r3, [pc, #188] ; (800f2bc ) + 800f200: 681b ldr r3, [r3, #0] + 800f202: 429a cmp r2, r3 + 800f204: d90d bls.n 800f222 LWIP_MEM_ILLEGAL_FREE("mem_free: illegal memory"); - 800f676: 4b29 ldr r3, [pc, #164] ; (800f71c ) - 800f678: f240 227f movw r2, #639 ; 0x27f - 800f67c: 492c ldr r1, [pc, #176] ; (800f730 ) - 800f67e: 4829 ldr r0, [pc, #164] ; (800f724 ) - 800f680: f00b ff1a bl 801b4b8 + 800f206: 4b29 ldr r3, [pc, #164] ; (800f2ac ) + 800f208: f240 227f movw r2, #639 ; 0x27f + 800f20c: 492c ldr r1, [pc, #176] ; (800f2c0 ) + 800f20e: 4829 ldr r0, [pc, #164] ; (800f2b4 ) + 800f210: f00b ff00 bl 801b014 LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_LEVEL_SEVERE, ("mem_free: illegal memory\n")); /* protect mem stats from concurrent access */ MEM_STATS_INC_LOCKED(illegal); - 800f684: f00b fe9a bl 801b3bc - 800f688: 6138 str r0, [r7, #16] - 800f68a: 6938 ldr r0, [r7, #16] - 800f68c: f00b fea4 bl 801b3d8 + 800f214: f00b fe9a bl 801af4c + 800f218: 6138 str r0, [r7, #16] + 800f21a: 6938 ldr r0, [r7, #16] + 800f21c: f00b fea4 bl 801af68 return; - 800f690: e041 b.n 800f716 + 800f220: e041 b.n 800f2a6 } #if MEM_OVERFLOW_CHECK mem_overflow_check_element(mem); #endif /* protect the heap from concurrent access */ LWIP_MEM_FREE_PROTECT(); - 800f692: 4828 ldr r0, [pc, #160] ; (800f734 ) - 800f694: f00b fe50 bl 801b338 + 800f222: 4828 ldr r0, [pc, #160] ; (800f2c4 ) + 800f224: f00b fe50 bl 801aec8 /* mem has to be in a used state */ if (!mem->used) { - 800f698: 69fb ldr r3, [r7, #28] - 800f69a: 791b ldrb r3, [r3, #4] - 800f69c: 2b00 cmp r3, #0 - 800f69e: d110 bne.n 800f6c2 + 800f228: 69fb ldr r3, [r7, #28] + 800f22a: 791b ldrb r3, [r3, #4] + 800f22c: 2b00 cmp r3, #0 + 800f22e: d110 bne.n 800f252 LWIP_MEM_ILLEGAL_FREE("mem_free: illegal memory: double free"); - 800f6a0: 4b1e ldr r3, [pc, #120] ; (800f71c ) - 800f6a2: f44f 7223 mov.w r2, #652 ; 0x28c - 800f6a6: 4924 ldr r1, [pc, #144] ; (800f738 ) - 800f6a8: 481e ldr r0, [pc, #120] ; (800f724 ) - 800f6aa: f00b ff05 bl 801b4b8 + 800f230: 4b1e ldr r3, [pc, #120] ; (800f2ac ) + 800f232: f44f 7223 mov.w r2, #652 ; 0x28c + 800f236: 4924 ldr r1, [pc, #144] ; (800f2c8 ) + 800f238: 481e ldr r0, [pc, #120] ; (800f2b4 ) + 800f23a: f00b feeb bl 801b014 LWIP_MEM_FREE_UNPROTECT(); - 800f6ae: 4821 ldr r0, [pc, #132] ; (800f734 ) - 800f6b0: f00b fe51 bl 801b356 + 800f23e: 4821 ldr r0, [pc, #132] ; (800f2c4 ) + 800f240: f00b fe51 bl 801aee6 LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_LEVEL_SEVERE, ("mem_free: illegal memory: double free?\n")); /* protect mem stats from concurrent access */ MEM_STATS_INC_LOCKED(illegal); - 800f6b4: f00b fe82 bl 801b3bc - 800f6b8: 6178 str r0, [r7, #20] - 800f6ba: 6978 ldr r0, [r7, #20] - 800f6bc: f00b fe8c bl 801b3d8 + 800f244: f00b fe82 bl 801af4c + 800f248: 6178 str r0, [r7, #20] + 800f24a: 6978 ldr r0, [r7, #20] + 800f24c: f00b fe8c bl 801af68 return; - 800f6c0: e029 b.n 800f716 + 800f250: e029 b.n 800f2a6 } if (!mem_link_valid(mem)) { - 800f6c2: 69f8 ldr r0, [r7, #28] - 800f6c4: f7ff ff72 bl 800f5ac - 800f6c8: 4603 mov r3, r0 - 800f6ca: 2b00 cmp r3, #0 - 800f6cc: d110 bne.n 800f6f0 + 800f252: 69f8 ldr r0, [r7, #28] + 800f254: f7ff ff72 bl 800f13c + 800f258: 4603 mov r3, r0 + 800f25a: 2b00 cmp r3, #0 + 800f25c: d110 bne.n 800f280 LWIP_MEM_ILLEGAL_FREE("mem_free: illegal memory: non-linked: double free"); - 800f6ce: 4b13 ldr r3, [pc, #76] ; (800f71c ) - 800f6d0: f240 2295 movw r2, #661 ; 0x295 - 800f6d4: 4919 ldr r1, [pc, #100] ; (800f73c ) - 800f6d6: 4813 ldr r0, [pc, #76] ; (800f724 ) - 800f6d8: f00b feee bl 801b4b8 + 800f25e: 4b13 ldr r3, [pc, #76] ; (800f2ac ) + 800f260: f240 2295 movw r2, #661 ; 0x295 + 800f264: 4919 ldr r1, [pc, #100] ; (800f2cc ) + 800f266: 4813 ldr r0, [pc, #76] ; (800f2b4 ) + 800f268: f00b fed4 bl 801b014 LWIP_MEM_FREE_UNPROTECT(); - 800f6dc: 4815 ldr r0, [pc, #84] ; (800f734 ) - 800f6de: f00b fe3a bl 801b356 + 800f26c: 4815 ldr r0, [pc, #84] ; (800f2c4 ) + 800f26e: f00b fe3a bl 801aee6 LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_LEVEL_SEVERE, ("mem_free: illegal memory: non-linked: double free?\n")); /* protect mem stats from concurrent access */ MEM_STATS_INC_LOCKED(illegal); - 800f6e2: f00b fe6b bl 801b3bc - 800f6e6: 61b8 str r0, [r7, #24] - 800f6e8: 69b8 ldr r0, [r7, #24] - 800f6ea: f00b fe75 bl 801b3d8 + 800f272: f00b fe6b bl 801af4c + 800f276: 61b8 str r0, [r7, #24] + 800f278: 69b8 ldr r0, [r7, #24] + 800f27a: f00b fe75 bl 801af68 return; - 800f6ee: e012 b.n 800f716 + 800f27e: e012 b.n 800f2a6 } /* mem is now unused. */ mem->used = 0; - 800f6f0: 69fb ldr r3, [r7, #28] - 800f6f2: 2200 movs r2, #0 - 800f6f4: 711a strb r2, [r3, #4] + 800f280: 69fb ldr r3, [r7, #28] + 800f282: 2200 movs r2, #0 + 800f284: 711a strb r2, [r3, #4] if (mem < lfree) { - 800f6f6: 4b12 ldr r3, [pc, #72] ; (800f740 ) - 800f6f8: 681b ldr r3, [r3, #0] - 800f6fa: 69fa ldr r2, [r7, #28] - 800f6fc: 429a cmp r2, r3 - 800f6fe: d202 bcs.n 800f706 + 800f286: 4b12 ldr r3, [pc, #72] ; (800f2d0 ) + 800f288: 681b ldr r3, [r3, #0] + 800f28a: 69fa ldr r2, [r7, #28] + 800f28c: 429a cmp r2, r3 + 800f28e: d202 bcs.n 800f296 /* the newly freed struct is now the lowest */ lfree = mem; - 800f700: 4a0f ldr r2, [pc, #60] ; (800f740 ) - 800f702: 69fb ldr r3, [r7, #28] - 800f704: 6013 str r3, [r2, #0] + 800f290: 4a0f ldr r2, [pc, #60] ; (800f2d0 ) + 800f292: 69fb ldr r3, [r7, #28] + 800f294: 6013 str r3, [r2, #0] } MEM_STATS_DEC_USED(used, mem->next - (mem_size_t)(((u8_t *)mem - ram))); /* finally, see if prev or next are free also */ plug_holes(mem); - 800f706: 69f8 ldr r0, [r7, #28] - 800f708: f7ff fe5c bl 800f3c4 + 800f296: 69f8 ldr r0, [r7, #28] + 800f298: f7ff fe5c bl 800ef54 MEM_SANITY(); #if LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT mem_free_count = 1; #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ LWIP_MEM_FREE_UNPROTECT(); - 800f70c: 4809 ldr r0, [pc, #36] ; (800f734 ) - 800f70e: f00b fe22 bl 801b356 - 800f712: e000 b.n 800f716 + 800f29c: 4809 ldr r0, [pc, #36] ; (800f2c4 ) + 800f29e: f00b fe22 bl 801aee6 + 800f2a2: e000 b.n 800f2a6 return; - 800f714: bf00 nop + 800f2a4: bf00 nop } - 800f716: 3720 adds r7, #32 - 800f718: 46bd mov sp, r7 - 800f71a: bd80 pop {r7, pc} - 800f71c: 0801c8b8 .word 0x0801c8b8 - 800f720: 0801c9a8 .word 0x0801c9a8 - 800f724: 0801c900 .word 0x0801c900 - 800f728: 200086e4 .word 0x200086e4 - 800f72c: 200086e8 .word 0x200086e8 - 800f730: 0801c9cc .word 0x0801c9cc - 800f734: 200086ec .word 0x200086ec - 800f738: 0801c9e8 .word 0x0801c9e8 - 800f73c: 0801ca10 .word 0x0801ca10 - 800f740: 200086f0 .word 0x200086f0 + 800f2a6: 3720 adds r7, #32 + 800f2a8: 46bd mov sp, r7 + 800f2aa: bd80 pop {r7, pc} + 800f2ac: 0801c0b4 .word 0x0801c0b4 + 800f2b0: 0801c1a4 .word 0x0801c1a4 + 800f2b4: 0801c0fc .word 0x0801c0fc + 800f2b8: 200086e4 .word 0x200086e4 + 800f2bc: 200086e8 .word 0x200086e8 + 800f2c0: 0801c1c8 .word 0x0801c1c8 + 800f2c4: 200086ec .word 0x200086ec + 800f2c8: 0801c1e4 .word 0x0801c1e4 + 800f2cc: 0801c20c .word 0x0801c20c + 800f2d0: 200086f0 .word 0x200086f0 -0800f744 : +0800f2d4 : * or NULL if newsize is > old size, in which case rmem is NOT touched * or freed! */ void * mem_trim(void *rmem, mem_size_t new_size) { - 800f744: b580 push {r7, lr} - 800f746: b088 sub sp, #32 - 800f748: af00 add r7, sp, #0 - 800f74a: 6078 str r0, [r7, #4] - 800f74c: 460b mov r3, r1 - 800f74e: 807b strh r3, [r7, #2] + 800f2d4: b580 push {r7, lr} + 800f2d6: b088 sub sp, #32 + 800f2d8: af00 add r7, sp, #0 + 800f2da: 6078 str r0, [r7, #4] + 800f2dc: 460b mov r3, r1 + 800f2de: 807b strh r3, [r7, #2] /* use the FREE_PROTECT here: it protects with sem OR SYS_ARCH_PROTECT */ LWIP_MEM_FREE_DECL_PROTECT(); /* Expand the size of the allocated memory region so that we can adjust for alignment. */ newsize = (mem_size_t)LWIP_MEM_ALIGN_SIZE(new_size); - 800f750: 887b ldrh r3, [r7, #2] - 800f752: 3303 adds r3, #3 - 800f754: b29b uxth r3, r3 - 800f756: f023 0303 bic.w r3, r3, #3 - 800f75a: 83fb strh r3, [r7, #30] + 800f2e0: 887b ldrh r3, [r7, #2] + 800f2e2: 3303 adds r3, #3 + 800f2e4: b29b uxth r3, r3 + 800f2e6: f023 0303 bic.w r3, r3, #3 + 800f2ea: 83fb strh r3, [r7, #30] if (newsize < MIN_SIZE_ALIGNED) { - 800f75c: 8bfb ldrh r3, [r7, #30] - 800f75e: 2b0b cmp r3, #11 - 800f760: d801 bhi.n 800f766 + 800f2ec: 8bfb ldrh r3, [r7, #30] + 800f2ee: 2b0b cmp r3, #11 + 800f2f0: d801 bhi.n 800f2f6 /* every data block must be at least MIN_SIZE_ALIGNED long */ newsize = MIN_SIZE_ALIGNED; - 800f762: 230c movs r3, #12 - 800f764: 83fb strh r3, [r7, #30] + 800f2f2: 230c movs r3, #12 + 800f2f4: 83fb strh r3, [r7, #30] } #if MEM_OVERFLOW_CHECK newsize += MEM_SANITY_REGION_BEFORE_ALIGNED + MEM_SANITY_REGION_AFTER_ALIGNED; #endif if ((newsize > MEM_SIZE_ALIGNED) || (newsize < new_size)) { - 800f766: 8bfb ldrh r3, [r7, #30] - 800f768: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800f76c: d803 bhi.n 800f776 - 800f76e: 8bfa ldrh r2, [r7, #30] - 800f770: 887b ldrh r3, [r7, #2] - 800f772: 429a cmp r2, r3 - 800f774: d201 bcs.n 800f77a + 800f2f6: 8bfb ldrh r3, [r7, #30] + 800f2f8: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 + 800f2fc: d803 bhi.n 800f306 + 800f2fe: 8bfa ldrh r2, [r7, #30] + 800f300: 887b ldrh r3, [r7, #2] + 800f302: 429a cmp r2, r3 + 800f304: d201 bcs.n 800f30a return NULL; - 800f776: 2300 movs r3, #0 - 800f778: e0d8 b.n 800f92c + 800f306: 2300 movs r3, #0 + 800f308: e0d8 b.n 800f4bc } LWIP_ASSERT("mem_trim: legal memory", (u8_t *)rmem >= (u8_t *)ram && - 800f77a: 4b6e ldr r3, [pc, #440] ; (800f934 ) - 800f77c: 681b ldr r3, [r3, #0] - 800f77e: 687a ldr r2, [r7, #4] - 800f780: 429a cmp r2, r3 - 800f782: d304 bcc.n 800f78e - 800f784: 4b6c ldr r3, [pc, #432] ; (800f938 ) - 800f786: 681b ldr r3, [r3, #0] - 800f788: 687a ldr r2, [r7, #4] - 800f78a: 429a cmp r2, r3 - 800f78c: d306 bcc.n 800f79c - 800f78e: 4b6b ldr r3, [pc, #428] ; (800f93c ) - 800f790: f240 22d2 movw r2, #722 ; 0x2d2 - 800f794: 496a ldr r1, [pc, #424] ; (800f940 ) - 800f796: 486b ldr r0, [pc, #428] ; (800f944 ) - 800f798: f00b fe8e bl 801b4b8 + 800f30a: 4b6e ldr r3, [pc, #440] ; (800f4c4 ) + 800f30c: 681b ldr r3, [r3, #0] + 800f30e: 687a ldr r2, [r7, #4] + 800f310: 429a cmp r2, r3 + 800f312: d304 bcc.n 800f31e + 800f314: 4b6c ldr r3, [pc, #432] ; (800f4c8 ) + 800f316: 681b ldr r3, [r3, #0] + 800f318: 687a ldr r2, [r7, #4] + 800f31a: 429a cmp r2, r3 + 800f31c: d306 bcc.n 800f32c + 800f31e: 4b6b ldr r3, [pc, #428] ; (800f4cc ) + 800f320: f240 22d2 movw r2, #722 ; 0x2d2 + 800f324: 496a ldr r1, [pc, #424] ; (800f4d0 ) + 800f326: 486b ldr r0, [pc, #428] ; (800f4d4 ) + 800f328: f00b fe74 bl 801b014 (u8_t *)rmem < (u8_t *)ram_end); if ((u8_t *)rmem < (u8_t *)ram || (u8_t *)rmem >= (u8_t *)ram_end) { - 800f79c: 4b65 ldr r3, [pc, #404] ; (800f934 ) - 800f79e: 681b ldr r3, [r3, #0] - 800f7a0: 687a ldr r2, [r7, #4] - 800f7a2: 429a cmp r2, r3 - 800f7a4: d304 bcc.n 800f7b0 - 800f7a6: 4b64 ldr r3, [pc, #400] ; (800f938 ) - 800f7a8: 681b ldr r3, [r3, #0] - 800f7aa: 687a ldr r2, [r7, #4] - 800f7ac: 429a cmp r2, r3 - 800f7ae: d307 bcc.n 800f7c0 + 800f32c: 4b65 ldr r3, [pc, #404] ; (800f4c4 ) + 800f32e: 681b ldr r3, [r3, #0] + 800f330: 687a ldr r2, [r7, #4] + 800f332: 429a cmp r2, r3 + 800f334: d304 bcc.n 800f340 + 800f336: 4b64 ldr r3, [pc, #400] ; (800f4c8 ) + 800f338: 681b ldr r3, [r3, #0] + 800f33a: 687a ldr r2, [r7, #4] + 800f33c: 429a cmp r2, r3 + 800f33e: d307 bcc.n 800f350 LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_LEVEL_SEVERE, ("mem_trim: illegal memory\n")); /* protect mem stats from concurrent access */ MEM_STATS_INC_LOCKED(illegal); - 800f7b0: f00b fe04 bl 801b3bc - 800f7b4: 60b8 str r0, [r7, #8] - 800f7b6: 68b8 ldr r0, [r7, #8] - 800f7b8: f00b fe0e bl 801b3d8 + 800f340: f00b fe04 bl 801af4c + 800f344: 60b8 str r0, [r7, #8] + 800f346: 68b8 ldr r0, [r7, #8] + 800f348: f00b fe0e bl 801af68 return rmem; - 800f7bc: 687b ldr r3, [r7, #4] - 800f7be: e0b5 b.n 800f92c + 800f34c: 687b ldr r3, [r7, #4] + 800f34e: e0b5 b.n 800f4bc } /* Get the corresponding struct mem ... */ /* cast through void* to get rid of alignment warnings */ mem = (struct mem *)(void *)((u8_t *)rmem - (SIZEOF_STRUCT_MEM + MEM_SANITY_OFFSET)); - 800f7c0: 687b ldr r3, [r7, #4] - 800f7c2: 3b08 subs r3, #8 - 800f7c4: 61bb str r3, [r7, #24] + 800f350: 687b ldr r3, [r7, #4] + 800f352: 3b08 subs r3, #8 + 800f354: 61bb str r3, [r7, #24] #if MEM_OVERFLOW_CHECK mem_overflow_check_element(mem); #endif /* ... and its offset pointer */ ptr = mem_to_ptr(mem); - 800f7c6: 69b8 ldr r0, [r7, #24] - 800f7c8: f7ff fdea bl 800f3a0 - 800f7cc: 4603 mov r3, r0 - 800f7ce: 82fb strh r3, [r7, #22] + 800f356: 69b8 ldr r0, [r7, #24] + 800f358: f7ff fdea bl 800ef30 + 800f35c: 4603 mov r3, r0 + 800f35e: 82fb strh r3, [r7, #22] size = (mem_size_t)((mem_size_t)(mem->next - ptr) - (SIZEOF_STRUCT_MEM + MEM_SANITY_OVERHEAD)); - 800f7d0: 69bb ldr r3, [r7, #24] - 800f7d2: 881a ldrh r2, [r3, #0] - 800f7d4: 8afb ldrh r3, [r7, #22] - 800f7d6: 1ad3 subs r3, r2, r3 - 800f7d8: b29b uxth r3, r3 - 800f7da: 3b08 subs r3, #8 - 800f7dc: 82bb strh r3, [r7, #20] + 800f360: 69bb ldr r3, [r7, #24] + 800f362: 881a ldrh r2, [r3, #0] + 800f364: 8afb ldrh r3, [r7, #22] + 800f366: 1ad3 subs r3, r2, r3 + 800f368: b29b uxth r3, r3 + 800f36a: 3b08 subs r3, #8 + 800f36c: 82bb strh r3, [r7, #20] LWIP_ASSERT("mem_trim can only shrink memory", newsize <= size); - 800f7de: 8bfa ldrh r2, [r7, #30] - 800f7e0: 8abb ldrh r3, [r7, #20] - 800f7e2: 429a cmp r2, r3 - 800f7e4: d906 bls.n 800f7f4 - 800f7e6: 4b55 ldr r3, [pc, #340] ; (800f93c ) - 800f7e8: f44f 7239 mov.w r2, #740 ; 0x2e4 - 800f7ec: 4956 ldr r1, [pc, #344] ; (800f948 ) - 800f7ee: 4855 ldr r0, [pc, #340] ; (800f944 ) - 800f7f0: f00b fe62 bl 801b4b8 + 800f36e: 8bfa ldrh r2, [r7, #30] + 800f370: 8abb ldrh r3, [r7, #20] + 800f372: 429a cmp r2, r3 + 800f374: d906 bls.n 800f384 + 800f376: 4b55 ldr r3, [pc, #340] ; (800f4cc ) + 800f378: f44f 7239 mov.w r2, #740 ; 0x2e4 + 800f37c: 4956 ldr r1, [pc, #344] ; (800f4d8 ) + 800f37e: 4855 ldr r0, [pc, #340] ; (800f4d4 ) + 800f380: f00b fe48 bl 801b014 if (newsize > size) { - 800f7f4: 8bfa ldrh r2, [r7, #30] - 800f7f6: 8abb ldrh r3, [r7, #20] - 800f7f8: 429a cmp r2, r3 - 800f7fa: d901 bls.n 800f800 + 800f384: 8bfa ldrh r2, [r7, #30] + 800f386: 8abb ldrh r3, [r7, #20] + 800f388: 429a cmp r2, r3 + 800f38a: d901 bls.n 800f390 /* not supported */ return NULL; - 800f7fc: 2300 movs r3, #0 - 800f7fe: e095 b.n 800f92c + 800f38c: 2300 movs r3, #0 + 800f38e: e095 b.n 800f4bc } if (newsize == size) { - 800f800: 8bfa ldrh r2, [r7, #30] - 800f802: 8abb ldrh r3, [r7, #20] - 800f804: 429a cmp r2, r3 - 800f806: d101 bne.n 800f80c + 800f390: 8bfa ldrh r2, [r7, #30] + 800f392: 8abb ldrh r3, [r7, #20] + 800f394: 429a cmp r2, r3 + 800f396: d101 bne.n 800f39c /* No change in size, simply return */ return rmem; - 800f808: 687b ldr r3, [r7, #4] - 800f80a: e08f b.n 800f92c + 800f398: 687b ldr r3, [r7, #4] + 800f39a: e08f b.n 800f4bc } /* protect the heap from concurrent access */ LWIP_MEM_FREE_PROTECT(); - 800f80c: 484f ldr r0, [pc, #316] ; (800f94c ) - 800f80e: f00b fd93 bl 801b338 + 800f39c: 484f ldr r0, [pc, #316] ; (800f4dc ) + 800f39e: f00b fd93 bl 801aec8 mem2 = ptr_to_mem(mem->next); - 800f812: 69bb ldr r3, [r7, #24] - 800f814: 881b ldrh r3, [r3, #0] - 800f816: 4618 mov r0, r3 - 800f818: f7ff fdb0 bl 800f37c - 800f81c: 6138 str r0, [r7, #16] + 800f3a2: 69bb ldr r3, [r7, #24] + 800f3a4: 881b ldrh r3, [r3, #0] + 800f3a6: 4618 mov r0, r3 + 800f3a8: f7ff fdb0 bl 800ef0c + 800f3ac: 6138 str r0, [r7, #16] if (mem2->used == 0) { - 800f81e: 693b ldr r3, [r7, #16] - 800f820: 791b ldrb r3, [r3, #4] - 800f822: 2b00 cmp r3, #0 - 800f824: d13f bne.n 800f8a6 + 800f3ae: 693b ldr r3, [r7, #16] + 800f3b0: 791b ldrb r3, [r3, #4] + 800f3b2: 2b00 cmp r3, #0 + 800f3b4: d13f bne.n 800f436 /* The next struct is unused, we can simply move it at little */ mem_size_t next; LWIP_ASSERT("invalid next ptr", mem->next != MEM_SIZE_ALIGNED); - 800f826: 69bb ldr r3, [r7, #24] - 800f828: 881b ldrh r3, [r3, #0] - 800f82a: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800f82e: d106 bne.n 800f83e - 800f830: 4b42 ldr r3, [pc, #264] ; (800f93c ) - 800f832: f240 22f5 movw r2, #757 ; 0x2f5 - 800f836: 4946 ldr r1, [pc, #280] ; (800f950 ) - 800f838: 4842 ldr r0, [pc, #264] ; (800f944 ) - 800f83a: f00b fe3d bl 801b4b8 + 800f3b6: 69bb ldr r3, [r7, #24] + 800f3b8: 881b ldrh r3, [r3, #0] + 800f3ba: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 + 800f3be: d106 bne.n 800f3ce + 800f3c0: 4b42 ldr r3, [pc, #264] ; (800f4cc ) + 800f3c2: f240 22f5 movw r2, #757 ; 0x2f5 + 800f3c6: 4946 ldr r1, [pc, #280] ; (800f4e0 ) + 800f3c8: 4842 ldr r0, [pc, #264] ; (800f4d4 ) + 800f3ca: f00b fe23 bl 801b014 /* remember the old next pointer */ next = mem2->next; - 800f83e: 693b ldr r3, [r7, #16] - 800f840: 881b ldrh r3, [r3, #0] - 800f842: 81bb strh r3, [r7, #12] + 800f3ce: 693b ldr r3, [r7, #16] + 800f3d0: 881b ldrh r3, [r3, #0] + 800f3d2: 81bb strh r3, [r7, #12] /* create new struct mem which is moved directly after the shrinked mem */ ptr2 = (mem_size_t)(ptr + SIZEOF_STRUCT_MEM + newsize); - 800f844: 8afa ldrh r2, [r7, #22] - 800f846: 8bfb ldrh r3, [r7, #30] - 800f848: 4413 add r3, r2 - 800f84a: b29b uxth r3, r3 - 800f84c: 3308 adds r3, #8 - 800f84e: 81fb strh r3, [r7, #14] + 800f3d4: 8afa ldrh r2, [r7, #22] + 800f3d6: 8bfb ldrh r3, [r7, #30] + 800f3d8: 4413 add r3, r2 + 800f3da: b29b uxth r3, r3 + 800f3dc: 3308 adds r3, #8 + 800f3de: 81fb strh r3, [r7, #14] if (lfree == mem2) { - 800f850: 4b40 ldr r3, [pc, #256] ; (800f954 ) - 800f852: 681b ldr r3, [r3, #0] - 800f854: 693a ldr r2, [r7, #16] - 800f856: 429a cmp r2, r3 - 800f858: d106 bne.n 800f868 + 800f3e0: 4b40 ldr r3, [pc, #256] ; (800f4e4 ) + 800f3e2: 681b ldr r3, [r3, #0] + 800f3e4: 693a ldr r2, [r7, #16] + 800f3e6: 429a cmp r2, r3 + 800f3e8: d106 bne.n 800f3f8 lfree = ptr_to_mem(ptr2); - 800f85a: 89fb ldrh r3, [r7, #14] - 800f85c: 4618 mov r0, r3 - 800f85e: f7ff fd8d bl 800f37c - 800f862: 4602 mov r2, r0 - 800f864: 4b3b ldr r3, [pc, #236] ; (800f954 ) - 800f866: 601a str r2, [r3, #0] + 800f3ea: 89fb ldrh r3, [r7, #14] + 800f3ec: 4618 mov r0, r3 + 800f3ee: f7ff fd8d bl 800ef0c + 800f3f2: 4602 mov r2, r0 + 800f3f4: 4b3b ldr r3, [pc, #236] ; (800f4e4 ) + 800f3f6: 601a str r2, [r3, #0] } mem2 = ptr_to_mem(ptr2); - 800f868: 89fb ldrh r3, [r7, #14] - 800f86a: 4618 mov r0, r3 - 800f86c: f7ff fd86 bl 800f37c - 800f870: 6138 str r0, [r7, #16] + 800f3f8: 89fb ldrh r3, [r7, #14] + 800f3fa: 4618 mov r0, r3 + 800f3fc: f7ff fd86 bl 800ef0c + 800f400: 6138 str r0, [r7, #16] mem2->used = 0; - 800f872: 693b ldr r3, [r7, #16] - 800f874: 2200 movs r2, #0 - 800f876: 711a strb r2, [r3, #4] + 800f402: 693b ldr r3, [r7, #16] + 800f404: 2200 movs r2, #0 + 800f406: 711a strb r2, [r3, #4] /* restore the next pointer */ mem2->next = next; - 800f878: 693b ldr r3, [r7, #16] - 800f87a: 89ba ldrh r2, [r7, #12] - 800f87c: 801a strh r2, [r3, #0] + 800f408: 693b ldr r3, [r7, #16] + 800f40a: 89ba ldrh r2, [r7, #12] + 800f40c: 801a strh r2, [r3, #0] /* link it back to mem */ mem2->prev = ptr; - 800f87e: 693b ldr r3, [r7, #16] - 800f880: 8afa ldrh r2, [r7, #22] - 800f882: 805a strh r2, [r3, #2] + 800f40e: 693b ldr r3, [r7, #16] + 800f410: 8afa ldrh r2, [r7, #22] + 800f412: 805a strh r2, [r3, #2] /* link mem to it */ mem->next = ptr2; - 800f884: 69bb ldr r3, [r7, #24] - 800f886: 89fa ldrh r2, [r7, #14] - 800f888: 801a strh r2, [r3, #0] + 800f414: 69bb ldr r3, [r7, #24] + 800f416: 89fa ldrh r2, [r7, #14] + 800f418: 801a strh r2, [r3, #0] /* last thing to restore linked list: as we have moved mem2, * let 'mem2->next->prev' point to mem2 again. but only if mem2->next is not * the end of the heap */ if (mem2->next != MEM_SIZE_ALIGNED) { - 800f88a: 693b ldr r3, [r7, #16] - 800f88c: 881b ldrh r3, [r3, #0] - 800f88e: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800f892: d047 beq.n 800f924 + 800f41a: 693b ldr r3, [r7, #16] + 800f41c: 881b ldrh r3, [r3, #0] + 800f41e: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 + 800f422: d047 beq.n 800f4b4 ptr_to_mem(mem2->next)->prev = ptr2; - 800f894: 693b ldr r3, [r7, #16] - 800f896: 881b ldrh r3, [r3, #0] - 800f898: 4618 mov r0, r3 - 800f89a: f7ff fd6f bl 800f37c - 800f89e: 4602 mov r2, r0 - 800f8a0: 89fb ldrh r3, [r7, #14] - 800f8a2: 8053 strh r3, [r2, #2] - 800f8a4: e03e b.n 800f924 + 800f424: 693b ldr r3, [r7, #16] + 800f426: 881b ldrh r3, [r3, #0] + 800f428: 4618 mov r0, r3 + 800f42a: f7ff fd6f bl 800ef0c + 800f42e: 4602 mov r2, r0 + 800f430: 89fb ldrh r3, [r7, #14] + 800f432: 8053 strh r3, [r2, #2] + 800f434: e03e b.n 800f4b4 } MEM_STATS_DEC_USED(used, (size - newsize)); /* no need to plug holes, we've already done that */ } else if (newsize + SIZEOF_STRUCT_MEM + MIN_SIZE_ALIGNED <= size) { - 800f8a6: 8bfb ldrh r3, [r7, #30] - 800f8a8: f103 0214 add.w r2, r3, #20 - 800f8ac: 8abb ldrh r3, [r7, #20] - 800f8ae: 429a cmp r2, r3 - 800f8b0: d838 bhi.n 800f924 + 800f436: 8bfb ldrh r3, [r7, #30] + 800f438: f103 0214 add.w r2, r3, #20 + 800f43c: 8abb ldrh r3, [r7, #20] + 800f43e: 429a cmp r2, r3 + 800f440: d838 bhi.n 800f4b4 * Old size ('size') must be big enough to contain at least 'newsize' plus a struct mem * ('SIZEOF_STRUCT_MEM') with some data ('MIN_SIZE_ALIGNED'). * @todo we could leave out MIN_SIZE_ALIGNED. We would create an empty * region that couldn't hold data, but when mem->next gets freed, * the 2 regions would be combined, resulting in more free memory */ ptr2 = (mem_size_t)(ptr + SIZEOF_STRUCT_MEM + newsize); - 800f8b2: 8afa ldrh r2, [r7, #22] - 800f8b4: 8bfb ldrh r3, [r7, #30] - 800f8b6: 4413 add r3, r2 - 800f8b8: b29b uxth r3, r3 - 800f8ba: 3308 adds r3, #8 - 800f8bc: 81fb strh r3, [r7, #14] + 800f442: 8afa ldrh r2, [r7, #22] + 800f444: 8bfb ldrh r3, [r7, #30] + 800f446: 4413 add r3, r2 + 800f448: b29b uxth r3, r3 + 800f44a: 3308 adds r3, #8 + 800f44c: 81fb strh r3, [r7, #14] LWIP_ASSERT("invalid next ptr", mem->next != MEM_SIZE_ALIGNED); - 800f8be: 69bb ldr r3, [r7, #24] - 800f8c0: 881b ldrh r3, [r3, #0] - 800f8c2: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800f8c6: d106 bne.n 800f8d6 - 800f8c8: 4b1c ldr r3, [pc, #112] ; (800f93c ) - 800f8ca: f240 3216 movw r2, #790 ; 0x316 - 800f8ce: 4920 ldr r1, [pc, #128] ; (800f950 ) - 800f8d0: 481c ldr r0, [pc, #112] ; (800f944 ) - 800f8d2: f00b fdf1 bl 801b4b8 + 800f44e: 69bb ldr r3, [r7, #24] + 800f450: 881b ldrh r3, [r3, #0] + 800f452: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 + 800f456: d106 bne.n 800f466 + 800f458: 4b1c ldr r3, [pc, #112] ; (800f4cc ) + 800f45a: f240 3216 movw r2, #790 ; 0x316 + 800f45e: 4920 ldr r1, [pc, #128] ; (800f4e0 ) + 800f460: 481c ldr r0, [pc, #112] ; (800f4d4 ) + 800f462: f00b fdd7 bl 801b014 mem2 = ptr_to_mem(ptr2); - 800f8d6: 89fb ldrh r3, [r7, #14] - 800f8d8: 4618 mov r0, r3 - 800f8da: f7ff fd4f bl 800f37c - 800f8de: 6138 str r0, [r7, #16] + 800f466: 89fb ldrh r3, [r7, #14] + 800f468: 4618 mov r0, r3 + 800f46a: f7ff fd4f bl 800ef0c + 800f46e: 6138 str r0, [r7, #16] if (mem2 < lfree) { - 800f8e0: 4b1c ldr r3, [pc, #112] ; (800f954 ) - 800f8e2: 681b ldr r3, [r3, #0] - 800f8e4: 693a ldr r2, [r7, #16] - 800f8e6: 429a cmp r2, r3 - 800f8e8: d202 bcs.n 800f8f0 + 800f470: 4b1c ldr r3, [pc, #112] ; (800f4e4 ) + 800f472: 681b ldr r3, [r3, #0] + 800f474: 693a ldr r2, [r7, #16] + 800f476: 429a cmp r2, r3 + 800f478: d202 bcs.n 800f480 lfree = mem2; - 800f8ea: 4a1a ldr r2, [pc, #104] ; (800f954 ) - 800f8ec: 693b ldr r3, [r7, #16] - 800f8ee: 6013 str r3, [r2, #0] + 800f47a: 4a1a ldr r2, [pc, #104] ; (800f4e4 ) + 800f47c: 693b ldr r3, [r7, #16] + 800f47e: 6013 str r3, [r2, #0] } mem2->used = 0; - 800f8f0: 693b ldr r3, [r7, #16] - 800f8f2: 2200 movs r2, #0 - 800f8f4: 711a strb r2, [r3, #4] + 800f480: 693b ldr r3, [r7, #16] + 800f482: 2200 movs r2, #0 + 800f484: 711a strb r2, [r3, #4] mem2->next = mem->next; - 800f8f6: 69bb ldr r3, [r7, #24] - 800f8f8: 881a ldrh r2, [r3, #0] - 800f8fa: 693b ldr r3, [r7, #16] - 800f8fc: 801a strh r2, [r3, #0] + 800f486: 69bb ldr r3, [r7, #24] + 800f488: 881a ldrh r2, [r3, #0] + 800f48a: 693b ldr r3, [r7, #16] + 800f48c: 801a strh r2, [r3, #0] mem2->prev = ptr; - 800f8fe: 693b ldr r3, [r7, #16] - 800f900: 8afa ldrh r2, [r7, #22] - 800f902: 805a strh r2, [r3, #2] + 800f48e: 693b ldr r3, [r7, #16] + 800f490: 8afa ldrh r2, [r7, #22] + 800f492: 805a strh r2, [r3, #2] mem->next = ptr2; - 800f904: 69bb ldr r3, [r7, #24] - 800f906: 89fa ldrh r2, [r7, #14] - 800f908: 801a strh r2, [r3, #0] + 800f494: 69bb ldr r3, [r7, #24] + 800f496: 89fa ldrh r2, [r7, #14] + 800f498: 801a strh r2, [r3, #0] if (mem2->next != MEM_SIZE_ALIGNED) { - 800f90a: 693b ldr r3, [r7, #16] - 800f90c: 881b ldrh r3, [r3, #0] - 800f90e: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800f912: d007 beq.n 800f924 + 800f49a: 693b ldr r3, [r7, #16] + 800f49c: 881b ldrh r3, [r3, #0] + 800f49e: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 + 800f4a2: d007 beq.n 800f4b4 ptr_to_mem(mem2->next)->prev = ptr2; - 800f914: 693b ldr r3, [r7, #16] - 800f916: 881b ldrh r3, [r3, #0] - 800f918: 4618 mov r0, r3 - 800f91a: f7ff fd2f bl 800f37c - 800f91e: 4602 mov r2, r0 - 800f920: 89fb ldrh r3, [r7, #14] - 800f922: 8053 strh r3, [r2, #2] + 800f4a4: 693b ldr r3, [r7, #16] + 800f4a6: 881b ldrh r3, [r3, #0] + 800f4a8: 4618 mov r0, r3 + 800f4aa: f7ff fd2f bl 800ef0c + 800f4ae: 4602 mov r2, r0 + 800f4b0: 89fb ldrh r3, [r7, #14] + 800f4b2: 8053 strh r3, [r2, #2] #endif MEM_SANITY(); #if LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT mem_free_count = 1; #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ LWIP_MEM_FREE_UNPROTECT(); - 800f924: 4809 ldr r0, [pc, #36] ; (800f94c ) - 800f926: f00b fd16 bl 801b356 + 800f4b4: 4809 ldr r0, [pc, #36] ; (800f4dc ) + 800f4b6: f00b fd16 bl 801aee6 return rmem; - 800f92a: 687b ldr r3, [r7, #4] + 800f4ba: 687b ldr r3, [r7, #4] } - 800f92c: 4618 mov r0, r3 - 800f92e: 3720 adds r7, #32 - 800f930: 46bd mov sp, r7 - 800f932: bd80 pop {r7, pc} - 800f934: 200086e4 .word 0x200086e4 - 800f938: 200086e8 .word 0x200086e8 - 800f93c: 0801c8b8 .word 0x0801c8b8 - 800f940: 0801ca44 .word 0x0801ca44 - 800f944: 0801c900 .word 0x0801c900 - 800f948: 0801ca5c .word 0x0801ca5c - 800f94c: 200086ec .word 0x200086ec - 800f950: 0801ca7c .word 0x0801ca7c - 800f954: 200086f0 .word 0x200086f0 + 800f4bc: 4618 mov r0, r3 + 800f4be: 3720 adds r7, #32 + 800f4c0: 46bd mov sp, r7 + 800f4c2: bd80 pop {r7, pc} + 800f4c4: 200086e4 .word 0x200086e4 + 800f4c8: 200086e8 .word 0x200086e8 + 800f4cc: 0801c0b4 .word 0x0801c0b4 + 800f4d0: 0801c240 .word 0x0801c240 + 800f4d4: 0801c0fc .word 0x0801c0fc + 800f4d8: 0801c258 .word 0x0801c258 + 800f4dc: 200086ec .word 0x200086ec + 800f4e0: 0801c278 .word 0x0801c278 + 800f4e4: 200086f0 .word 0x200086f0 -0800f958 : +0800f4e8 : * * Note that the returned value will always be aligned (as defined by MEM_ALIGNMENT). */ void * mem_malloc(mem_size_t size_in) { - 800f958: b580 push {r7, lr} - 800f95a: b088 sub sp, #32 - 800f95c: af00 add r7, sp, #0 - 800f95e: 4603 mov r3, r0 - 800f960: 80fb strh r3, [r7, #6] + 800f4e8: b580 push {r7, lr} + 800f4ea: b088 sub sp, #32 + 800f4ec: af00 add r7, sp, #0 + 800f4ee: 4603 mov r3, r0 + 800f4f0: 80fb strh r3, [r7, #6] #if LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT u8_t local_mem_free_count = 0; #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ LWIP_MEM_ALLOC_DECL_PROTECT(); if (size_in == 0) { - 800f962: 88fb ldrh r3, [r7, #6] - 800f964: 2b00 cmp r3, #0 - 800f966: d101 bne.n 800f96c + 800f4f2: 88fb ldrh r3, [r7, #6] + 800f4f4: 2b00 cmp r3, #0 + 800f4f6: d101 bne.n 800f4fc return NULL; - 800f968: 2300 movs r3, #0 - 800f96a: e0e2 b.n 800fb32 + 800f4f8: 2300 movs r3, #0 + 800f4fa: e0e2 b.n 800f6c2 } /* Expand the size of the allocated memory region so that we can adjust for alignment. */ size = (mem_size_t)LWIP_MEM_ALIGN_SIZE(size_in); - 800f96c: 88fb ldrh r3, [r7, #6] - 800f96e: 3303 adds r3, #3 - 800f970: b29b uxth r3, r3 - 800f972: f023 0303 bic.w r3, r3, #3 - 800f976: 83bb strh r3, [r7, #28] + 800f4fc: 88fb ldrh r3, [r7, #6] + 800f4fe: 3303 adds r3, #3 + 800f500: b29b uxth r3, r3 + 800f502: f023 0303 bic.w r3, r3, #3 + 800f506: 83bb strh r3, [r7, #28] if (size < MIN_SIZE_ALIGNED) { - 800f978: 8bbb ldrh r3, [r7, #28] - 800f97a: 2b0b cmp r3, #11 - 800f97c: d801 bhi.n 800f982 + 800f508: 8bbb ldrh r3, [r7, #28] + 800f50a: 2b0b cmp r3, #11 + 800f50c: d801 bhi.n 800f512 /* every data block must be at least MIN_SIZE_ALIGNED long */ size = MIN_SIZE_ALIGNED; - 800f97e: 230c movs r3, #12 - 800f980: 83bb strh r3, [r7, #28] + 800f50e: 230c movs r3, #12 + 800f510: 83bb strh r3, [r7, #28] } #if MEM_OVERFLOW_CHECK size += MEM_SANITY_REGION_BEFORE_ALIGNED + MEM_SANITY_REGION_AFTER_ALIGNED; #endif if ((size > MEM_SIZE_ALIGNED) || (size < size_in)) { - 800f982: 8bbb ldrh r3, [r7, #28] - 800f984: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800f988: d803 bhi.n 800f992 - 800f98a: 8bba ldrh r2, [r7, #28] - 800f98c: 88fb ldrh r3, [r7, #6] - 800f98e: 429a cmp r2, r3 - 800f990: d201 bcs.n 800f996 + 800f512: 8bbb ldrh r3, [r7, #28] + 800f514: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 + 800f518: d803 bhi.n 800f522 + 800f51a: 8bba ldrh r2, [r7, #28] + 800f51c: 88fb ldrh r3, [r7, #6] + 800f51e: 429a cmp r2, r3 + 800f520: d201 bcs.n 800f526 return NULL; - 800f992: 2300 movs r3, #0 - 800f994: e0cd b.n 800fb32 + 800f522: 2300 movs r3, #0 + 800f524: e0cd b.n 800f6c2 } /* protect the heap from concurrent access */ sys_mutex_lock(&mem_mutex); - 800f996: 4869 ldr r0, [pc, #420] ; (800fb3c ) - 800f998: f00b fcce bl 801b338 + 800f526: 4869 ldr r0, [pc, #420] ; (800f6cc ) + 800f528: f00b fcce bl 801aec8 #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ /* Scan through the heap searching for a free block that is big enough, * beginning with the lowest free block. */ for (ptr = mem_to_ptr(lfree); ptr < MEM_SIZE_ALIGNED - size; - 800f99c: 4b68 ldr r3, [pc, #416] ; (800fb40 ) - 800f99e: 681b ldr r3, [r3, #0] - 800f9a0: 4618 mov r0, r3 - 800f9a2: f7ff fcfd bl 800f3a0 - 800f9a6: 4603 mov r3, r0 - 800f9a8: 83fb strh r3, [r7, #30] - 800f9aa: e0b7 b.n 800fb1c + 800f52c: 4b68 ldr r3, [pc, #416] ; (800f6d0 ) + 800f52e: 681b ldr r3, [r3, #0] + 800f530: 4618 mov r0, r3 + 800f532: f7ff fcfd bl 800ef30 + 800f536: 4603 mov r3, r0 + 800f538: 83fb strh r3, [r7, #30] + 800f53a: e0b7 b.n 800f6ac ptr = ptr_to_mem(ptr)->next) { mem = ptr_to_mem(ptr); - 800f9ac: 8bfb ldrh r3, [r7, #30] - 800f9ae: 4618 mov r0, r3 - 800f9b0: f7ff fce4 bl 800f37c - 800f9b4: 6178 str r0, [r7, #20] + 800f53c: 8bfb ldrh r3, [r7, #30] + 800f53e: 4618 mov r0, r3 + 800f540: f7ff fce4 bl 800ef0c + 800f544: 6178 str r0, [r7, #20] local_mem_free_count = 1; break; } #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ if ((!mem->used) && - 800f9b6: 697b ldr r3, [r7, #20] - 800f9b8: 791b ldrb r3, [r3, #4] - 800f9ba: 2b00 cmp r3, #0 - 800f9bc: f040 80a7 bne.w 800fb0e + 800f546: 697b ldr r3, [r7, #20] + 800f548: 791b ldrb r3, [r3, #4] + 800f54a: 2b00 cmp r3, #0 + 800f54c: f040 80a7 bne.w 800f69e (mem->next - (ptr + SIZEOF_STRUCT_MEM)) >= size) { - 800f9c0: 697b ldr r3, [r7, #20] - 800f9c2: 881b ldrh r3, [r3, #0] - 800f9c4: 461a mov r2, r3 - 800f9c6: 8bfb ldrh r3, [r7, #30] - 800f9c8: 1ad3 subs r3, r2, r3 - 800f9ca: f1a3 0208 sub.w r2, r3, #8 - 800f9ce: 8bbb ldrh r3, [r7, #28] + 800f550: 697b ldr r3, [r7, #20] + 800f552: 881b ldrh r3, [r3, #0] + 800f554: 461a mov r2, r3 + 800f556: 8bfb ldrh r3, [r7, #30] + 800f558: 1ad3 subs r3, r2, r3 + 800f55a: f1a3 0208 sub.w r2, r3, #8 + 800f55e: 8bbb ldrh r3, [r7, #28] if ((!mem->used) && - 800f9d0: 429a cmp r2, r3 - 800f9d2: f0c0 809c bcc.w 800fb0e + 800f560: 429a cmp r2, r3 + 800f562: f0c0 809c bcc.w 800f69e /* mem is not used and at least perfect fit is possible: * mem->next - (ptr + SIZEOF_STRUCT_MEM) gives us the 'user data size' of mem */ if (mem->next - (ptr + SIZEOF_STRUCT_MEM) >= (size + SIZEOF_STRUCT_MEM + MIN_SIZE_ALIGNED)) { - 800f9d6: 697b ldr r3, [r7, #20] - 800f9d8: 881b ldrh r3, [r3, #0] - 800f9da: 461a mov r2, r3 - 800f9dc: 8bfb ldrh r3, [r7, #30] - 800f9de: 1ad3 subs r3, r2, r3 - 800f9e0: f1a3 0208 sub.w r2, r3, #8 - 800f9e4: 8bbb ldrh r3, [r7, #28] - 800f9e6: 3314 adds r3, #20 - 800f9e8: 429a cmp r2, r3 - 800f9ea: d333 bcc.n 800fa54 + 800f566: 697b ldr r3, [r7, #20] + 800f568: 881b ldrh r3, [r3, #0] + 800f56a: 461a mov r2, r3 + 800f56c: 8bfb ldrh r3, [r7, #30] + 800f56e: 1ad3 subs r3, r2, r3 + 800f570: f1a3 0208 sub.w r2, r3, #8 + 800f574: 8bbb ldrh r3, [r7, #28] + 800f576: 3314 adds r3, #20 + 800f578: 429a cmp r2, r3 + 800f57a: d333 bcc.n 800f5e4 * struct mem would fit in but no data between mem2 and mem2->next * @todo we could leave out MIN_SIZE_ALIGNED. We would create an empty * region that couldn't hold data, but when mem->next gets freed, * the 2 regions would be combined, resulting in more free memory */ ptr2 = (mem_size_t)(ptr + SIZEOF_STRUCT_MEM + size); - 800f9ec: 8bfa ldrh r2, [r7, #30] - 800f9ee: 8bbb ldrh r3, [r7, #28] - 800f9f0: 4413 add r3, r2 - 800f9f2: b29b uxth r3, r3 - 800f9f4: 3308 adds r3, #8 - 800f9f6: 827b strh r3, [r7, #18] + 800f57c: 8bfa ldrh r2, [r7, #30] + 800f57e: 8bbb ldrh r3, [r7, #28] + 800f580: 4413 add r3, r2 + 800f582: b29b uxth r3, r3 + 800f584: 3308 adds r3, #8 + 800f586: 827b strh r3, [r7, #18] LWIP_ASSERT("invalid next ptr",ptr2 != MEM_SIZE_ALIGNED); - 800f9f8: 8a7b ldrh r3, [r7, #18] - 800f9fa: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800f9fe: d106 bne.n 800fa0e - 800fa00: 4b50 ldr r3, [pc, #320] ; (800fb44 ) - 800fa02: f240 3287 movw r2, #903 ; 0x387 - 800fa06: 4950 ldr r1, [pc, #320] ; (800fb48 ) - 800fa08: 4850 ldr r0, [pc, #320] ; (800fb4c ) - 800fa0a: f00b fd55 bl 801b4b8 + 800f588: 8a7b ldrh r3, [r7, #18] + 800f58a: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 + 800f58e: d106 bne.n 800f59e + 800f590: 4b50 ldr r3, [pc, #320] ; (800f6d4 ) + 800f592: f240 3287 movw r2, #903 ; 0x387 + 800f596: 4950 ldr r1, [pc, #320] ; (800f6d8 ) + 800f598: 4850 ldr r0, [pc, #320] ; (800f6dc ) + 800f59a: f00b fd3b bl 801b014 /* create mem2 struct */ mem2 = ptr_to_mem(ptr2); - 800fa0e: 8a7b ldrh r3, [r7, #18] - 800fa10: 4618 mov r0, r3 - 800fa12: f7ff fcb3 bl 800f37c - 800fa16: 60f8 str r0, [r7, #12] + 800f59e: 8a7b ldrh r3, [r7, #18] + 800f5a0: 4618 mov r0, r3 + 800f5a2: f7ff fcb3 bl 800ef0c + 800f5a6: 60f8 str r0, [r7, #12] mem2->used = 0; - 800fa18: 68fb ldr r3, [r7, #12] - 800fa1a: 2200 movs r2, #0 - 800fa1c: 711a strb r2, [r3, #4] + 800f5a8: 68fb ldr r3, [r7, #12] + 800f5aa: 2200 movs r2, #0 + 800f5ac: 711a strb r2, [r3, #4] mem2->next = mem->next; - 800fa1e: 697b ldr r3, [r7, #20] - 800fa20: 881a ldrh r2, [r3, #0] - 800fa22: 68fb ldr r3, [r7, #12] - 800fa24: 801a strh r2, [r3, #0] + 800f5ae: 697b ldr r3, [r7, #20] + 800f5b0: 881a ldrh r2, [r3, #0] + 800f5b2: 68fb ldr r3, [r7, #12] + 800f5b4: 801a strh r2, [r3, #0] mem2->prev = ptr; - 800fa26: 68fb ldr r3, [r7, #12] - 800fa28: 8bfa ldrh r2, [r7, #30] - 800fa2a: 805a strh r2, [r3, #2] + 800f5b6: 68fb ldr r3, [r7, #12] + 800f5b8: 8bfa ldrh r2, [r7, #30] + 800f5ba: 805a strh r2, [r3, #2] /* and insert it between mem and mem->next */ mem->next = ptr2; - 800fa2c: 697b ldr r3, [r7, #20] - 800fa2e: 8a7a ldrh r2, [r7, #18] - 800fa30: 801a strh r2, [r3, #0] + 800f5bc: 697b ldr r3, [r7, #20] + 800f5be: 8a7a ldrh r2, [r7, #18] + 800f5c0: 801a strh r2, [r3, #0] mem->used = 1; - 800fa32: 697b ldr r3, [r7, #20] - 800fa34: 2201 movs r2, #1 - 800fa36: 711a strb r2, [r3, #4] + 800f5c2: 697b ldr r3, [r7, #20] + 800f5c4: 2201 movs r2, #1 + 800f5c6: 711a strb r2, [r3, #4] if (mem2->next != MEM_SIZE_ALIGNED) { - 800fa38: 68fb ldr r3, [r7, #12] - 800fa3a: 881b ldrh r3, [r3, #0] - 800fa3c: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800fa40: d00b beq.n 800fa5a + 800f5c8: 68fb ldr r3, [r7, #12] + 800f5ca: 881b ldrh r3, [r3, #0] + 800f5cc: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 + 800f5d0: d00b beq.n 800f5ea ptr_to_mem(mem2->next)->prev = ptr2; - 800fa42: 68fb ldr r3, [r7, #12] - 800fa44: 881b ldrh r3, [r3, #0] - 800fa46: 4618 mov r0, r3 - 800fa48: f7ff fc98 bl 800f37c - 800fa4c: 4602 mov r2, r0 - 800fa4e: 8a7b ldrh r3, [r7, #18] - 800fa50: 8053 strh r3, [r2, #2] - 800fa52: e002 b.n 800fa5a + 800f5d2: 68fb ldr r3, [r7, #12] + 800f5d4: 881b ldrh r3, [r3, #0] + 800f5d6: 4618 mov r0, r3 + 800f5d8: f7ff fc98 bl 800ef0c + 800f5dc: 4602 mov r2, r0 + 800f5de: 8a7b ldrh r3, [r7, #18] + 800f5e0: 8053 strh r3, [r2, #2] + 800f5e2: e002 b.n 800f5ea * take care of this). * -> near fit or exact fit: do not split, no mem2 creation * also can't move mem->next directly behind mem, since mem->next * will always be used at this point! */ mem->used = 1; - 800fa54: 697b ldr r3, [r7, #20] - 800fa56: 2201 movs r2, #1 - 800fa58: 711a strb r2, [r3, #4] + 800f5e4: 697b ldr r3, [r7, #20] + 800f5e6: 2201 movs r2, #1 + 800f5e8: 711a strb r2, [r3, #4] MEM_STATS_INC_USED(used, mem->next - mem_to_ptr(mem)); } #if LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT mem_malloc_adjust_lfree: #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ if (mem == lfree) { - 800fa5a: 4b39 ldr r3, [pc, #228] ; (800fb40 ) - 800fa5c: 681b ldr r3, [r3, #0] - 800fa5e: 697a ldr r2, [r7, #20] - 800fa60: 429a cmp r2, r3 - 800fa62: d127 bne.n 800fab4 + 800f5ea: 4b39 ldr r3, [pc, #228] ; (800f6d0 ) + 800f5ec: 681b ldr r3, [r3, #0] + 800f5ee: 697a ldr r2, [r7, #20] + 800f5f0: 429a cmp r2, r3 + 800f5f2: d127 bne.n 800f644 struct mem *cur = lfree; - 800fa64: 4b36 ldr r3, [pc, #216] ; (800fb40 ) - 800fa66: 681b ldr r3, [r3, #0] - 800fa68: 61bb str r3, [r7, #24] + 800f5f4: 4b36 ldr r3, [pc, #216] ; (800f6d0 ) + 800f5f6: 681b ldr r3, [r3, #0] + 800f5f8: 61bb str r3, [r7, #24] /* Find next free block after mem and update lowest free pointer */ while (cur->used && cur != ram_end) { - 800fa6a: e005 b.n 800fa78 + 800f5fa: e005 b.n 800f608 /* If mem_free or mem_trim have run, we have to restart since they could have altered our current struct mem or lfree. */ goto mem_malloc_adjust_lfree; } #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ cur = ptr_to_mem(cur->next); - 800fa6c: 69bb ldr r3, [r7, #24] - 800fa6e: 881b ldrh r3, [r3, #0] - 800fa70: 4618 mov r0, r3 - 800fa72: f7ff fc83 bl 800f37c - 800fa76: 61b8 str r0, [r7, #24] + 800f5fc: 69bb ldr r3, [r7, #24] + 800f5fe: 881b ldrh r3, [r3, #0] + 800f600: 4618 mov r0, r3 + 800f602: f7ff fc83 bl 800ef0c + 800f606: 61b8 str r0, [r7, #24] while (cur->used && cur != ram_end) { - 800fa78: 69bb ldr r3, [r7, #24] - 800fa7a: 791b ldrb r3, [r3, #4] - 800fa7c: 2b00 cmp r3, #0 - 800fa7e: d004 beq.n 800fa8a - 800fa80: 4b33 ldr r3, [pc, #204] ; (800fb50 ) - 800fa82: 681b ldr r3, [r3, #0] - 800fa84: 69ba ldr r2, [r7, #24] - 800fa86: 429a cmp r2, r3 - 800fa88: d1f0 bne.n 800fa6c + 800f608: 69bb ldr r3, [r7, #24] + 800f60a: 791b ldrb r3, [r3, #4] + 800f60c: 2b00 cmp r3, #0 + 800f60e: d004 beq.n 800f61a + 800f610: 4b33 ldr r3, [pc, #204] ; (800f6e0 ) + 800f612: 681b ldr r3, [r3, #0] + 800f614: 69ba ldr r2, [r7, #24] + 800f616: 429a cmp r2, r3 + 800f618: d1f0 bne.n 800f5fc } lfree = cur; - 800fa8a: 4a2d ldr r2, [pc, #180] ; (800fb40 ) - 800fa8c: 69bb ldr r3, [r7, #24] - 800fa8e: 6013 str r3, [r2, #0] + 800f61a: 4a2d ldr r2, [pc, #180] ; (800f6d0 ) + 800f61c: 69bb ldr r3, [r7, #24] + 800f61e: 6013 str r3, [r2, #0] LWIP_ASSERT("mem_malloc: !lfree->used", ((lfree == ram_end) || (!lfree->used))); - 800fa90: 4b2b ldr r3, [pc, #172] ; (800fb40 ) - 800fa92: 681a ldr r2, [r3, #0] - 800fa94: 4b2e ldr r3, [pc, #184] ; (800fb50 ) - 800fa96: 681b ldr r3, [r3, #0] - 800fa98: 429a cmp r2, r3 - 800fa9a: d00b beq.n 800fab4 - 800fa9c: 4b28 ldr r3, [pc, #160] ; (800fb40 ) - 800fa9e: 681b ldr r3, [r3, #0] - 800faa0: 791b ldrb r3, [r3, #4] - 800faa2: 2b00 cmp r3, #0 - 800faa4: d006 beq.n 800fab4 - 800faa6: 4b27 ldr r3, [pc, #156] ; (800fb44 ) - 800faa8: f240 32b5 movw r2, #949 ; 0x3b5 - 800faac: 4929 ldr r1, [pc, #164] ; (800fb54 ) - 800faae: 4827 ldr r0, [pc, #156] ; (800fb4c ) - 800fab0: f00b fd02 bl 801b4b8 + 800f620: 4b2b ldr r3, [pc, #172] ; (800f6d0 ) + 800f622: 681a ldr r2, [r3, #0] + 800f624: 4b2e ldr r3, [pc, #184] ; (800f6e0 ) + 800f626: 681b ldr r3, [r3, #0] + 800f628: 429a cmp r2, r3 + 800f62a: d00b beq.n 800f644 + 800f62c: 4b28 ldr r3, [pc, #160] ; (800f6d0 ) + 800f62e: 681b ldr r3, [r3, #0] + 800f630: 791b ldrb r3, [r3, #4] + 800f632: 2b00 cmp r3, #0 + 800f634: d006 beq.n 800f644 + 800f636: 4b27 ldr r3, [pc, #156] ; (800f6d4 ) + 800f638: f240 32b5 movw r2, #949 ; 0x3b5 + 800f63c: 4929 ldr r1, [pc, #164] ; (800f6e4 ) + 800f63e: 4827 ldr r0, [pc, #156] ; (800f6dc ) + 800f640: f00b fce8 bl 801b014 } LWIP_MEM_ALLOC_UNPROTECT(); sys_mutex_unlock(&mem_mutex); - 800fab4: 4821 ldr r0, [pc, #132] ; (800fb3c ) - 800fab6: f00b fc4e bl 801b356 + 800f644: 4821 ldr r0, [pc, #132] ; (800f6cc ) + 800f646: f00b fc4e bl 801aee6 LWIP_ASSERT("mem_malloc: allocated memory not above ram_end.", - 800faba: 8bba ldrh r2, [r7, #28] - 800fabc: 697b ldr r3, [r7, #20] - 800fabe: 4413 add r3, r2 - 800fac0: 3308 adds r3, #8 - 800fac2: 4a23 ldr r2, [pc, #140] ; (800fb50 ) - 800fac4: 6812 ldr r2, [r2, #0] - 800fac6: 4293 cmp r3, r2 - 800fac8: d906 bls.n 800fad8 - 800faca: 4b1e ldr r3, [pc, #120] ; (800fb44 ) - 800facc: f240 32ba movw r2, #954 ; 0x3ba - 800fad0: 4921 ldr r1, [pc, #132] ; (800fb58 ) - 800fad2: 481e ldr r0, [pc, #120] ; (800fb4c ) - 800fad4: f00b fcf0 bl 801b4b8 + 800f64a: 8bba ldrh r2, [r7, #28] + 800f64c: 697b ldr r3, [r7, #20] + 800f64e: 4413 add r3, r2 + 800f650: 3308 adds r3, #8 + 800f652: 4a23 ldr r2, [pc, #140] ; (800f6e0 ) + 800f654: 6812 ldr r2, [r2, #0] + 800f656: 4293 cmp r3, r2 + 800f658: d906 bls.n 800f668 + 800f65a: 4b1e ldr r3, [pc, #120] ; (800f6d4 ) + 800f65c: f240 32ba movw r2, #954 ; 0x3ba + 800f660: 4921 ldr r1, [pc, #132] ; (800f6e8 ) + 800f662: 481e ldr r0, [pc, #120] ; (800f6dc ) + 800f664: f00b fcd6 bl 801b014 (mem_ptr_t)mem + SIZEOF_STRUCT_MEM + size <= (mem_ptr_t)ram_end); LWIP_ASSERT("mem_malloc: allocated memory properly aligned.", - 800fad8: 697b ldr r3, [r7, #20] - 800fada: f003 0303 and.w r3, r3, #3 - 800fade: 2b00 cmp r3, #0 - 800fae0: d006 beq.n 800faf0 - 800fae2: 4b18 ldr r3, [pc, #96] ; (800fb44 ) - 800fae4: f44f 726f mov.w r2, #956 ; 0x3bc - 800fae8: 491c ldr r1, [pc, #112] ; (800fb5c ) - 800faea: 4818 ldr r0, [pc, #96] ; (800fb4c ) - 800faec: f00b fce4 bl 801b4b8 + 800f668: 697b ldr r3, [r7, #20] + 800f66a: f003 0303 and.w r3, r3, #3 + 800f66e: 2b00 cmp r3, #0 + 800f670: d006 beq.n 800f680 + 800f672: 4b18 ldr r3, [pc, #96] ; (800f6d4 ) + 800f674: f44f 726f mov.w r2, #956 ; 0x3bc + 800f678: 491c ldr r1, [pc, #112] ; (800f6ec ) + 800f67a: 4818 ldr r0, [pc, #96] ; (800f6dc ) + 800f67c: f00b fcca bl 801b014 ((mem_ptr_t)mem + SIZEOF_STRUCT_MEM) % MEM_ALIGNMENT == 0); LWIP_ASSERT("mem_malloc: sanity check alignment", - 800faf0: 697b ldr r3, [r7, #20] - 800faf2: f003 0303 and.w r3, r3, #3 - 800faf6: 2b00 cmp r3, #0 - 800faf8: d006 beq.n 800fb08 - 800fafa: 4b12 ldr r3, [pc, #72] ; (800fb44 ) - 800fafc: f240 32be movw r2, #958 ; 0x3be - 800fb00: 4917 ldr r1, [pc, #92] ; (800fb60 ) - 800fb02: 4812 ldr r0, [pc, #72] ; (800fb4c ) - 800fb04: f00b fcd8 bl 801b4b8 + 800f680: 697b ldr r3, [r7, #20] + 800f682: f003 0303 and.w r3, r3, #3 + 800f686: 2b00 cmp r3, #0 + 800f688: d006 beq.n 800f698 + 800f68a: 4b12 ldr r3, [pc, #72] ; (800f6d4 ) + 800f68c: f240 32be movw r2, #958 ; 0x3be + 800f690: 4917 ldr r1, [pc, #92] ; (800f6f0 ) + 800f692: 4812 ldr r0, [pc, #72] ; (800f6dc ) + 800f694: f00b fcbe bl 801b014 #if MEM_OVERFLOW_CHECK mem_overflow_init_element(mem, size_in); #endif MEM_SANITY(); return (u8_t *)mem + SIZEOF_STRUCT_MEM + MEM_SANITY_OFFSET; - 800fb08: 697b ldr r3, [r7, #20] - 800fb0a: 3308 adds r3, #8 - 800fb0c: e011 b.n 800fb32 + 800f698: 697b ldr r3, [r7, #20] + 800f69a: 3308 adds r3, #8 + 800f69c: e011 b.n 800f6c2 ptr = ptr_to_mem(ptr)->next) { - 800fb0e: 8bfb ldrh r3, [r7, #30] - 800fb10: 4618 mov r0, r3 - 800fb12: f7ff fc33 bl 800f37c - 800fb16: 4603 mov r3, r0 - 800fb18: 881b ldrh r3, [r3, #0] - 800fb1a: 83fb strh r3, [r7, #30] + 800f69e: 8bfb ldrh r3, [r7, #30] + 800f6a0: 4618 mov r0, r3 + 800f6a2: f7ff fc33 bl 800ef0c + 800f6a6: 4603 mov r3, r0 + 800f6a8: 881b ldrh r3, [r3, #0] + 800f6aa: 83fb strh r3, [r7, #30] for (ptr = mem_to_ptr(lfree); ptr < MEM_SIZE_ALIGNED - size; - 800fb1c: 8bfa ldrh r2, [r7, #30] - 800fb1e: 8bbb ldrh r3, [r7, #28] - 800fb20: f5c3 63c8 rsb r3, r3, #1600 ; 0x640 - 800fb24: 429a cmp r2, r3 - 800fb26: f4ff af41 bcc.w 800f9ac + 800f6ac: 8bfa ldrh r2, [r7, #30] + 800f6ae: 8bbb ldrh r3, [r7, #28] + 800f6b0: f5c3 63c8 rsb r3, r3, #1600 ; 0x640 + 800f6b4: 429a cmp r2, r3 + 800f6b6: f4ff af41 bcc.w 800f53c /* if we got interrupted by a mem_free, try again */ } while (local_mem_free_count != 0); #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ MEM_STATS_INC(err); LWIP_MEM_ALLOC_UNPROTECT(); sys_mutex_unlock(&mem_mutex); - 800fb2a: 4804 ldr r0, [pc, #16] ; (800fb3c ) - 800fb2c: f00b fc13 bl 801b356 + 800f6ba: 4804 ldr r0, [pc, #16] ; (800f6cc ) + 800f6bc: f00b fc13 bl 801aee6 LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("mem_malloc: could not allocate %"S16_F" bytes\n", (s16_t)size)); return NULL; - 800fb30: 2300 movs r3, #0 + 800f6c0: 2300 movs r3, #0 } - 800fb32: 4618 mov r0, r3 - 800fb34: 3720 adds r7, #32 - 800fb36: 46bd mov sp, r7 - 800fb38: bd80 pop {r7, pc} - 800fb3a: bf00 nop - 800fb3c: 200086ec .word 0x200086ec - 800fb40: 200086f0 .word 0x200086f0 - 800fb44: 0801c8b8 .word 0x0801c8b8 - 800fb48: 0801ca7c .word 0x0801ca7c - 800fb4c: 0801c900 .word 0x0801c900 - 800fb50: 200086e8 .word 0x200086e8 - 800fb54: 0801ca90 .word 0x0801ca90 - 800fb58: 0801caac .word 0x0801caac - 800fb5c: 0801cadc .word 0x0801cadc - 800fb60: 0801cb0c .word 0x0801cb0c + 800f6c2: 4618 mov r0, r3 + 800f6c4: 3720 adds r7, #32 + 800f6c6: 46bd mov sp, r7 + 800f6c8: bd80 pop {r7, pc} + 800f6ca: bf00 nop + 800f6cc: 200086ec .word 0x200086ec + 800f6d0: 200086f0 .word 0x200086f0 + 800f6d4: 0801c0b4 .word 0x0801c0b4 + 800f6d8: 0801c278 .word 0x0801c278 + 800f6dc: 0801c0fc .word 0x0801c0fc + 800f6e0: 200086e8 .word 0x200086e8 + 800f6e4: 0801c28c .word 0x0801c28c + 800f6e8: 0801c2a8 .word 0x0801c2a8 + 800f6ec: 0801c2d8 .word 0x0801c2d8 + 800f6f0: 0801c308 .word 0x0801c308 -0800fb64 : +0800f6f4 : * * @param desc pool to initialize */ void memp_init_pool(const struct memp_desc *desc) { - 800fb64: b480 push {r7} - 800fb66: b085 sub sp, #20 - 800fb68: af00 add r7, sp, #0 - 800fb6a: 6078 str r0, [r7, #4] + 800f6f4: b480 push {r7} + 800f6f6: b085 sub sp, #20 + 800f6f8: af00 add r7, sp, #0 + 800f6fa: 6078 str r0, [r7, #4] LWIP_UNUSED_ARG(desc); #else int i; struct memp *memp; *desc->tab = NULL; - 800fb6c: 687b ldr r3, [r7, #4] - 800fb6e: 689b ldr r3, [r3, #8] - 800fb70: 2200 movs r2, #0 - 800fb72: 601a str r2, [r3, #0] + 800f6fc: 687b ldr r3, [r7, #4] + 800f6fe: 689b ldr r3, [r3, #8] + 800f700: 2200 movs r2, #0 + 800f702: 601a str r2, [r3, #0] memp = (struct memp *)LWIP_MEM_ALIGN(desc->base); - 800fb74: 687b ldr r3, [r7, #4] - 800fb76: 685b ldr r3, [r3, #4] - 800fb78: 3303 adds r3, #3 - 800fb7a: f023 0303 bic.w r3, r3, #3 - 800fb7e: 60bb str r3, [r7, #8] + 800f704: 687b ldr r3, [r7, #4] + 800f706: 685b ldr r3, [r3, #4] + 800f708: 3303 adds r3, #3 + 800f70a: f023 0303 bic.w r3, r3, #3 + 800f70e: 60bb str r3, [r7, #8] + MEM_SANITY_REGION_AFTER_ALIGNED #endif )); #endif /* create a linked list of memp elements */ for (i = 0; i < desc->num; ++i) { - 800fb80: 2300 movs r3, #0 - 800fb82: 60fb str r3, [r7, #12] - 800fb84: e011 b.n 800fbaa + 800f710: 2300 movs r3, #0 + 800f712: 60fb str r3, [r7, #12] + 800f714: e011 b.n 800f73a memp->next = *desc->tab; - 800fb86: 687b ldr r3, [r7, #4] - 800fb88: 689b ldr r3, [r3, #8] - 800fb8a: 681a ldr r2, [r3, #0] - 800fb8c: 68bb ldr r3, [r7, #8] - 800fb8e: 601a str r2, [r3, #0] + 800f716: 687b ldr r3, [r7, #4] + 800f718: 689b ldr r3, [r3, #8] + 800f71a: 681a ldr r2, [r3, #0] + 800f71c: 68bb ldr r3, [r7, #8] + 800f71e: 601a str r2, [r3, #0] *desc->tab = memp; - 800fb90: 687b ldr r3, [r7, #4] - 800fb92: 689b ldr r3, [r3, #8] - 800fb94: 68ba ldr r2, [r7, #8] - 800fb96: 601a str r2, [r3, #0] + 800f720: 687b ldr r3, [r7, #4] + 800f722: 689b ldr r3, [r3, #8] + 800f724: 68ba ldr r2, [r7, #8] + 800f726: 601a str r2, [r3, #0] #if MEMP_OVERFLOW_CHECK memp_overflow_init_element(memp, desc); #endif /* MEMP_OVERFLOW_CHECK */ /* cast through void* to get rid of alignment warnings */ memp = (struct memp *)(void *)((u8_t *)memp + MEMP_SIZE + desc->size - 800fb98: 687b ldr r3, [r7, #4] - 800fb9a: 881b ldrh r3, [r3, #0] - 800fb9c: 461a mov r2, r3 - 800fb9e: 68bb ldr r3, [r7, #8] - 800fba0: 4413 add r3, r2 - 800fba2: 60bb str r3, [r7, #8] + 800f728: 687b ldr r3, [r7, #4] + 800f72a: 881b ldrh r3, [r3, #0] + 800f72c: 461a mov r2, r3 + 800f72e: 68bb ldr r3, [r7, #8] + 800f730: 4413 add r3, r2 + 800f732: 60bb str r3, [r7, #8] for (i = 0; i < desc->num; ++i) { - 800fba4: 68fb ldr r3, [r7, #12] - 800fba6: 3301 adds r3, #1 - 800fba8: 60fb str r3, [r7, #12] - 800fbaa: 687b ldr r3, [r7, #4] - 800fbac: 885b ldrh r3, [r3, #2] - 800fbae: 461a mov r2, r3 - 800fbb0: 68fb ldr r3, [r7, #12] - 800fbb2: 4293 cmp r3, r2 - 800fbb4: dbe7 blt.n 800fb86 + 800f734: 68fb ldr r3, [r7, #12] + 800f736: 3301 adds r3, #1 + 800f738: 60fb str r3, [r7, #12] + 800f73a: 687b ldr r3, [r7, #4] + 800f73c: 885b ldrh r3, [r3, #2] + 800f73e: 461a mov r2, r3 + 800f740: 68fb ldr r3, [r7, #12] + 800f742: 4293 cmp r3, r2 + 800f744: dbe7 blt.n 800f716 #endif /* !MEMP_MEM_MALLOC */ #if MEMP_STATS && (defined(LWIP_DEBUG) || LWIP_STATS_DISPLAY) desc->stats->name = desc->desc; #endif /* MEMP_STATS && (defined(LWIP_DEBUG) || LWIP_STATS_DISPLAY) */ } - 800fbb6: bf00 nop - 800fbb8: 3714 adds r7, #20 - 800fbba: 46bd mov sp, r7 - 800fbbc: f85d 7b04 ldr.w r7, [sp], #4 - 800fbc0: 4770 bx lr + 800f746: bf00 nop + 800f748: 3714 adds r7, #20 + 800f74a: 46bd mov sp, r7 + 800f74c: f85d 7b04 ldr.w r7, [sp], #4 + 800f750: 4770 bx lr ... -0800fbc4 : +0800f754 : * * Carves out memp_memory into linked lists for each pool-type. */ void memp_init(void) { - 800fbc4: b580 push {r7, lr} - 800fbc6: b082 sub sp, #8 - 800fbc8: af00 add r7, sp, #0 + 800f754: b580 push {r7, lr} + 800f756: b082 sub sp, #8 + 800f758: af00 add r7, sp, #0 u16_t i; /* for every pool: */ for (i = 0; i < LWIP_ARRAYSIZE(memp_pools); i++) { - 800fbca: 2300 movs r3, #0 - 800fbcc: 80fb strh r3, [r7, #6] - 800fbce: e009 b.n 800fbe4 + 800f75a: 2300 movs r3, #0 + 800f75c: 80fb strh r3, [r7, #6] + 800f75e: e009 b.n 800f774 memp_init_pool(memp_pools[i]); - 800fbd0: 88fb ldrh r3, [r7, #6] - 800fbd2: 4a08 ldr r2, [pc, #32] ; (800fbf4 ) - 800fbd4: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 800fbd8: 4618 mov r0, r3 - 800fbda: f7ff ffc3 bl 800fb64 + 800f760: 88fb ldrh r3, [r7, #6] + 800f762: 4a08 ldr r2, [pc, #32] ; (800f784 ) + 800f764: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 800f768: 4618 mov r0, r3 + 800f76a: f7ff ffc3 bl 800f6f4 for (i = 0; i < LWIP_ARRAYSIZE(memp_pools); i++) { - 800fbde: 88fb ldrh r3, [r7, #6] - 800fbe0: 3301 adds r3, #1 - 800fbe2: 80fb strh r3, [r7, #6] - 800fbe4: 88fb ldrh r3, [r7, #6] - 800fbe6: 2b0c cmp r3, #12 - 800fbe8: d9f2 bls.n 800fbd0 + 800f76e: 88fb ldrh r3, [r7, #6] + 800f770: 3301 adds r3, #1 + 800f772: 80fb strh r3, [r7, #6] + 800f774: 88fb ldrh r3, [r7, #6] + 800f776: 2b0c cmp r3, #12 + 800f778: d9f2 bls.n 800f760 #if MEMP_OVERFLOW_CHECK >= 2 /* check everything a first time to see if it worked */ memp_overflow_check_all(); #endif /* MEMP_OVERFLOW_CHECK >= 2 */ } - 800fbea: bf00 nop - 800fbec: 3708 adds r7, #8 - 800fbee: 46bd mov sp, r7 - 800fbf0: bd80 pop {r7, pc} - 800fbf2: bf00 nop - 800fbf4: 080215e8 .word 0x080215e8 + 800f77a: bf00 nop + 800f77c: 3708 adds r7, #8 + 800f77e: 46bd mov sp, r7 + 800f780: bd80 pop {r7, pc} + 800f782: bf00 nop + 800f784: 08020de4 .word 0x08020de4 -0800fbf8 : +0800f788 : #if !MEMP_OVERFLOW_CHECK do_memp_malloc_pool(const struct memp_desc *desc) #else do_memp_malloc_pool_fn(const struct memp_desc *desc, const char *file, const int line) #endif { - 800fbf8: b580 push {r7, lr} - 800fbfa: b084 sub sp, #16 - 800fbfc: af00 add r7, sp, #0 - 800fbfe: 6078 str r0, [r7, #4] + 800f788: b580 push {r7, lr} + 800f78a: b084 sub sp, #16 + 800f78c: af00 add r7, sp, #0 + 800f78e: 6078 str r0, [r7, #4] #if MEMP_MEM_MALLOC memp = (struct memp *)mem_malloc(MEMP_SIZE + MEMP_ALIGN_SIZE(desc->size)); SYS_ARCH_PROTECT(old_level); #else /* MEMP_MEM_MALLOC */ SYS_ARCH_PROTECT(old_level); - 800fc00: f00b fbdc bl 801b3bc - 800fc04: 60f8 str r0, [r7, #12] + 800f790: f00b fbdc bl 801af4c + 800f794: 60f8 str r0, [r7, #12] memp = *desc->tab; - 800fc06: 687b ldr r3, [r7, #4] - 800fc08: 689b ldr r3, [r3, #8] - 800fc0a: 681b ldr r3, [r3, #0] - 800fc0c: 60bb str r3, [r7, #8] + 800f796: 687b ldr r3, [r7, #4] + 800f798: 689b ldr r3, [r3, #8] + 800f79a: 681b ldr r3, [r3, #0] + 800f79c: 60bb str r3, [r7, #8] #endif /* MEMP_MEM_MALLOC */ if (memp != NULL) { - 800fc0e: 68bb ldr r3, [r7, #8] - 800fc10: 2b00 cmp r3, #0 - 800fc12: d015 beq.n 800fc40 + 800f79e: 68bb ldr r3, [r7, #8] + 800f7a0: 2b00 cmp r3, #0 + 800f7a2: d015 beq.n 800f7d0 #if !MEMP_MEM_MALLOC #if MEMP_OVERFLOW_CHECK == 1 memp_overflow_check_element(memp, desc); #endif /* MEMP_OVERFLOW_CHECK */ *desc->tab = memp->next; - 800fc14: 687b ldr r3, [r7, #4] - 800fc16: 689b ldr r3, [r3, #8] - 800fc18: 68ba ldr r2, [r7, #8] - 800fc1a: 6812 ldr r2, [r2, #0] - 800fc1c: 601a str r2, [r3, #0] + 800f7a4: 687b ldr r3, [r7, #4] + 800f7a6: 689b ldr r3, [r3, #8] + 800f7a8: 68ba ldr r2, [r7, #8] + 800f7aa: 6812 ldr r2, [r2, #0] + 800f7ac: 601a str r2, [r3, #0] memp->line = line; #if MEMP_MEM_MALLOC memp_overflow_init_element(memp, desc); #endif /* MEMP_MEM_MALLOC */ #endif /* MEMP_OVERFLOW_CHECK */ LWIP_ASSERT("memp_malloc: memp properly aligned", - 800fc1e: 68bb ldr r3, [r7, #8] - 800fc20: f003 0303 and.w r3, r3, #3 - 800fc24: 2b00 cmp r3, #0 - 800fc26: d006 beq.n 800fc36 - 800fc28: 4b09 ldr r3, [pc, #36] ; (800fc50 ) - 800fc2a: f240 1219 movw r2, #281 ; 0x119 - 800fc2e: 4909 ldr r1, [pc, #36] ; (800fc54 ) - 800fc30: 4809 ldr r0, [pc, #36] ; (800fc58 ) - 800fc32: f00b fc41 bl 801b4b8 + 800f7ae: 68bb ldr r3, [r7, #8] + 800f7b0: f003 0303 and.w r3, r3, #3 + 800f7b4: 2b00 cmp r3, #0 + 800f7b6: d006 beq.n 800f7c6 + 800f7b8: 4b09 ldr r3, [pc, #36] ; (800f7e0 ) + 800f7ba: f240 1219 movw r2, #281 ; 0x119 + 800f7be: 4909 ldr r1, [pc, #36] ; (800f7e4 ) + 800f7c0: 4809 ldr r0, [pc, #36] ; (800f7e8 ) + 800f7c2: f00b fc27 bl 801b014 desc->stats->used++; if (desc->stats->used > desc->stats->max) { desc->stats->max = desc->stats->used; } #endif SYS_ARCH_UNPROTECT(old_level); - 800fc36: 68f8 ldr r0, [r7, #12] - 800fc38: f00b fbce bl 801b3d8 + 800f7c6: 68f8 ldr r0, [r7, #12] + 800f7c8: f00b fbce bl 801af68 /* cast through u8_t* to get rid of alignment warnings */ return ((u8_t *)memp + MEMP_SIZE); - 800fc3c: 68bb ldr r3, [r7, #8] - 800fc3e: e003 b.n 800fc48 + 800f7cc: 68bb ldr r3, [r7, #8] + 800f7ce: e003 b.n 800f7d8 } else { #if MEMP_STATS desc->stats->err++; #endif SYS_ARCH_UNPROTECT(old_level); - 800fc40: 68f8 ldr r0, [r7, #12] - 800fc42: f00b fbc9 bl 801b3d8 + 800f7d0: 68f8 ldr r0, [r7, #12] + 800f7d2: f00b fbc9 bl 801af68 LWIP_DEBUGF(MEMP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("memp_malloc: out of memory in pool %s\n", desc->desc)); } return NULL; - 800fc46: 2300 movs r3, #0 + 800f7d6: 2300 movs r3, #0 } - 800fc48: 4618 mov r0, r3 - 800fc4a: 3710 adds r7, #16 - 800fc4c: 46bd mov sp, r7 - 800fc4e: bd80 pop {r7, pc} - 800fc50: 0801cb30 .word 0x0801cb30 - 800fc54: 0801cb60 .word 0x0801cb60 - 800fc58: 0801cb84 .word 0x0801cb84 + 800f7d8: 4618 mov r0, r3 + 800f7da: 3710 adds r7, #16 + 800f7dc: 46bd mov sp, r7 + 800f7de: bd80 pop {r7, pc} + 800f7e0: 0801c32c .word 0x0801c32c + 800f7e4: 0801c35c .word 0x0801c35c + 800f7e8: 0801c380 .word 0x0801c380 -0800fc5c : +0800f7ec : #if !MEMP_OVERFLOW_CHECK memp_malloc(memp_t type) #else memp_malloc_fn(memp_t type, const char *file, const int line) #endif { - 800fc5c: b580 push {r7, lr} - 800fc5e: b084 sub sp, #16 - 800fc60: af00 add r7, sp, #0 - 800fc62: 4603 mov r3, r0 - 800fc64: 71fb strb r3, [r7, #7] + 800f7ec: b580 push {r7, lr} + 800f7ee: b084 sub sp, #16 + 800f7f0: af00 add r7, sp, #0 + 800f7f2: 4603 mov r3, r0 + 800f7f4: 71fb strb r3, [r7, #7] void *memp; LWIP_ERROR("memp_malloc: type < MEMP_MAX", (type < MEMP_MAX), return NULL;); - 800fc66: 79fb ldrb r3, [r7, #7] - 800fc68: 2b0c cmp r3, #12 - 800fc6a: d908 bls.n 800fc7e - 800fc6c: 4b0a ldr r3, [pc, #40] ; (800fc98 ) - 800fc6e: f240 1257 movw r2, #343 ; 0x157 - 800fc72: 490a ldr r1, [pc, #40] ; (800fc9c ) - 800fc74: 480a ldr r0, [pc, #40] ; (800fca0 ) - 800fc76: f00b fc1f bl 801b4b8 - 800fc7a: 2300 movs r3, #0 - 800fc7c: e008 b.n 800fc90 + 800f7f6: 79fb ldrb r3, [r7, #7] + 800f7f8: 2b0c cmp r3, #12 + 800f7fa: d908 bls.n 800f80e + 800f7fc: 4b0a ldr r3, [pc, #40] ; (800f828 ) + 800f7fe: f240 1257 movw r2, #343 ; 0x157 + 800f802: 490a ldr r1, [pc, #40] ; (800f82c ) + 800f804: 480a ldr r0, [pc, #40] ; (800f830 ) + 800f806: f00b fc05 bl 801b014 + 800f80a: 2300 movs r3, #0 + 800f80c: e008 b.n 800f820 #if MEMP_OVERFLOW_CHECK >= 2 memp_overflow_check_all(); #endif /* MEMP_OVERFLOW_CHECK >= 2 */ #if !MEMP_OVERFLOW_CHECK memp = do_memp_malloc_pool(memp_pools[type]); - 800fc7e: 79fb ldrb r3, [r7, #7] - 800fc80: 4a08 ldr r2, [pc, #32] ; (800fca4 ) - 800fc82: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 800fc86: 4618 mov r0, r3 - 800fc88: f7ff ffb6 bl 800fbf8 - 800fc8c: 60f8 str r0, [r7, #12] + 800f80e: 79fb ldrb r3, [r7, #7] + 800f810: 4a08 ldr r2, [pc, #32] ; (800f834 ) + 800f812: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 800f816: 4618 mov r0, r3 + 800f818: f7ff ffb6 bl 800f788 + 800f81c: 60f8 str r0, [r7, #12] #else memp = do_memp_malloc_pool_fn(memp_pools[type], file, line); #endif return memp; - 800fc8e: 68fb ldr r3, [r7, #12] + 800f81e: 68fb ldr r3, [r7, #12] } - 800fc90: 4618 mov r0, r3 - 800fc92: 3710 adds r7, #16 - 800fc94: 46bd mov sp, r7 - 800fc96: bd80 pop {r7, pc} - 800fc98: 0801cb30 .word 0x0801cb30 - 800fc9c: 0801cbc0 .word 0x0801cbc0 - 800fca0: 0801cb84 .word 0x0801cb84 - 800fca4: 080215e8 .word 0x080215e8 + 800f820: 4618 mov r0, r3 + 800f822: 3710 adds r7, #16 + 800f824: 46bd mov sp, r7 + 800f826: bd80 pop {r7, pc} + 800f828: 0801c32c .word 0x0801c32c + 800f82c: 0801c3bc .word 0x0801c3bc + 800f830: 0801c380 .word 0x0801c380 + 800f834: 08020de4 .word 0x08020de4 -0800fca8 : +0800f838 : static void do_memp_free_pool(const struct memp_desc *desc, void *mem) { - 800fca8: b580 push {r7, lr} - 800fcaa: b084 sub sp, #16 - 800fcac: af00 add r7, sp, #0 - 800fcae: 6078 str r0, [r7, #4] - 800fcb0: 6039 str r1, [r7, #0] + 800f838: b580 push {r7, lr} + 800f83a: b084 sub sp, #16 + 800f83c: af00 add r7, sp, #0 + 800f83e: 6078 str r0, [r7, #4] + 800f840: 6039 str r1, [r7, #0] struct memp *memp; SYS_ARCH_DECL_PROTECT(old_level); LWIP_ASSERT("memp_free: mem properly aligned", - 800fcb2: 683b ldr r3, [r7, #0] - 800fcb4: f003 0303 and.w r3, r3, #3 - 800fcb8: 2b00 cmp r3, #0 - 800fcba: d006 beq.n 800fcca - 800fcbc: 4b0d ldr r3, [pc, #52] ; (800fcf4 ) - 800fcbe: f240 126d movw r2, #365 ; 0x16d - 800fcc2: 490d ldr r1, [pc, #52] ; (800fcf8 ) - 800fcc4: 480d ldr r0, [pc, #52] ; (800fcfc ) - 800fcc6: f00b fbf7 bl 801b4b8 + 800f842: 683b ldr r3, [r7, #0] + 800f844: f003 0303 and.w r3, r3, #3 + 800f848: 2b00 cmp r3, #0 + 800f84a: d006 beq.n 800f85a + 800f84c: 4b0d ldr r3, [pc, #52] ; (800f884 ) + 800f84e: f240 126d movw r2, #365 ; 0x16d + 800f852: 490d ldr r1, [pc, #52] ; (800f888 ) + 800f854: 480d ldr r0, [pc, #52] ; (800f88c ) + 800f856: f00b fbdd bl 801b014 ((mem_ptr_t)mem % MEM_ALIGNMENT) == 0); /* cast through void* to get rid of alignment warnings */ memp = (struct memp *)(void *)((u8_t *)mem - MEMP_SIZE); - 800fcca: 683b ldr r3, [r7, #0] - 800fccc: 60fb str r3, [r7, #12] + 800f85a: 683b ldr r3, [r7, #0] + 800f85c: 60fb str r3, [r7, #12] SYS_ARCH_PROTECT(old_level); - 800fcce: f00b fb75 bl 801b3bc - 800fcd2: 60b8 str r0, [r7, #8] + 800f85e: f00b fb75 bl 801af4c + 800f862: 60b8 str r0, [r7, #8] #if MEMP_MEM_MALLOC LWIP_UNUSED_ARG(desc); SYS_ARCH_UNPROTECT(old_level); mem_free(memp); #else /* MEMP_MEM_MALLOC */ memp->next = *desc->tab; - 800fcd4: 687b ldr r3, [r7, #4] - 800fcd6: 689b ldr r3, [r3, #8] - 800fcd8: 681a ldr r2, [r3, #0] - 800fcda: 68fb ldr r3, [r7, #12] - 800fcdc: 601a str r2, [r3, #0] + 800f864: 687b ldr r3, [r7, #4] + 800f866: 689b ldr r3, [r3, #8] + 800f868: 681a ldr r2, [r3, #0] + 800f86a: 68fb ldr r3, [r7, #12] + 800f86c: 601a str r2, [r3, #0] *desc->tab = memp; - 800fcde: 687b ldr r3, [r7, #4] - 800fce0: 689b ldr r3, [r3, #8] - 800fce2: 68fa ldr r2, [r7, #12] - 800fce4: 601a str r2, [r3, #0] + 800f86e: 687b ldr r3, [r7, #4] + 800f870: 689b ldr r3, [r3, #8] + 800f872: 68fa ldr r2, [r7, #12] + 800f874: 601a str r2, [r3, #0] #if MEMP_SANITY_CHECK LWIP_ASSERT("memp sanity", memp_sanity(desc)); #endif /* MEMP_SANITY_CHECK */ SYS_ARCH_UNPROTECT(old_level); - 800fce6: 68b8 ldr r0, [r7, #8] - 800fce8: f00b fb76 bl 801b3d8 + 800f876: 68b8 ldr r0, [r7, #8] + 800f878: f00b fb76 bl 801af68 #endif /* !MEMP_MEM_MALLOC */ } - 800fcec: bf00 nop - 800fcee: 3710 adds r7, #16 - 800fcf0: 46bd mov sp, r7 - 800fcf2: bd80 pop {r7, pc} - 800fcf4: 0801cb30 .word 0x0801cb30 - 800fcf8: 0801cbe0 .word 0x0801cbe0 - 800fcfc: 0801cb84 .word 0x0801cb84 + 800f87c: bf00 nop + 800f87e: 3710 adds r7, #16 + 800f880: 46bd mov sp, r7 + 800f882: bd80 pop {r7, pc} + 800f884: 0801c32c .word 0x0801c32c + 800f888: 0801c3dc .word 0x0801c3dc + 800f88c: 0801c380 .word 0x0801c380 -0800fd00 : +0800f890 : * @param type the pool where to put mem * @param mem the memp element to free */ void memp_free(memp_t type, void *mem) { - 800fd00: b580 push {r7, lr} - 800fd02: b082 sub sp, #8 - 800fd04: af00 add r7, sp, #0 - 800fd06: 4603 mov r3, r0 - 800fd08: 6039 str r1, [r7, #0] - 800fd0a: 71fb strb r3, [r7, #7] + 800f890: b580 push {r7, lr} + 800f892: b082 sub sp, #8 + 800f894: af00 add r7, sp, #0 + 800f896: 4603 mov r3, r0 + 800f898: 6039 str r1, [r7, #0] + 800f89a: 71fb strb r3, [r7, #7] #ifdef LWIP_HOOK_MEMP_AVAILABLE struct memp *old_first; #endif LWIP_ERROR("memp_free: type < MEMP_MAX", (type < MEMP_MAX), return;); - 800fd0c: 79fb ldrb r3, [r7, #7] - 800fd0e: 2b0c cmp r3, #12 - 800fd10: d907 bls.n 800fd22 - 800fd12: 4b0c ldr r3, [pc, #48] ; (800fd44 ) - 800fd14: f44f 72d5 mov.w r2, #426 ; 0x1aa - 800fd18: 490b ldr r1, [pc, #44] ; (800fd48 ) - 800fd1a: 480c ldr r0, [pc, #48] ; (800fd4c ) - 800fd1c: f00b fbcc bl 801b4b8 - 800fd20: e00c b.n 800fd3c + 800f89c: 79fb ldrb r3, [r7, #7] + 800f89e: 2b0c cmp r3, #12 + 800f8a0: d907 bls.n 800f8b2 + 800f8a2: 4b0c ldr r3, [pc, #48] ; (800f8d4 ) + 800f8a4: f44f 72d5 mov.w r2, #426 ; 0x1aa + 800f8a8: 490b ldr r1, [pc, #44] ; (800f8d8 ) + 800f8aa: 480c ldr r0, [pc, #48] ; (800f8dc ) + 800f8ac: f00b fbb2 bl 801b014 + 800f8b0: e00c b.n 800f8cc if (mem == NULL) { - 800fd22: 683b ldr r3, [r7, #0] - 800fd24: 2b00 cmp r3, #0 - 800fd26: d008 beq.n 800fd3a + 800f8b2: 683b ldr r3, [r7, #0] + 800f8b4: 2b00 cmp r3, #0 + 800f8b6: d008 beq.n 800f8ca #ifdef LWIP_HOOK_MEMP_AVAILABLE old_first = *memp_pools[type]->tab; #endif do_memp_free_pool(memp_pools[type], mem); - 800fd28: 79fb ldrb r3, [r7, #7] - 800fd2a: 4a09 ldr r2, [pc, #36] ; (800fd50 ) - 800fd2c: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 800fd30: 6839 ldr r1, [r7, #0] - 800fd32: 4618 mov r0, r3 - 800fd34: f7ff ffb8 bl 800fca8 - 800fd38: e000 b.n 800fd3c + 800f8b8: 79fb ldrb r3, [r7, #7] + 800f8ba: 4a09 ldr r2, [pc, #36] ; (800f8e0 ) + 800f8bc: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 800f8c0: 6839 ldr r1, [r7, #0] + 800f8c2: 4618 mov r0, r3 + 800f8c4: f7ff ffb8 bl 800f838 + 800f8c8: e000 b.n 800f8cc return; - 800fd3a: bf00 nop + 800f8ca: bf00 nop #ifdef LWIP_HOOK_MEMP_AVAILABLE if (old_first == NULL) { LWIP_HOOK_MEMP_AVAILABLE(type); } #endif } - 800fd3c: 3708 adds r7, #8 - 800fd3e: 46bd mov sp, r7 - 800fd40: bd80 pop {r7, pc} - 800fd42: bf00 nop - 800fd44: 0801cb30 .word 0x0801cb30 - 800fd48: 0801cc00 .word 0x0801cc00 - 800fd4c: 0801cb84 .word 0x0801cb84 - 800fd50: 080215e8 .word 0x080215e8 + 800f8cc: 3708 adds r7, #8 + 800f8ce: 46bd mov sp, r7 + 800f8d0: bd80 pop {r7, pc} + 800f8d2: bf00 nop + 800f8d4: 0801c32c .word 0x0801c32c + 800f8d8: 0801c3fc .word 0x0801c3fc + 800f8dc: 0801c380 .word 0x0801c380 + 800f8e0: 08020de4 .word 0x08020de4 -0800fd54 : +0800f8e4 : } #endif /* LWIP_HAVE_LOOPIF */ void netif_init(void) { - 800fd54: b480 push {r7} - 800fd56: af00 add r7, sp, #0 + 800f8e4: b480 push {r7} + 800f8e6: af00 add r7, sp, #0 netif_set_link_up(&loop_netif); netif_set_up(&loop_netif); #endif /* LWIP_HAVE_LOOPIF */ } - 800fd58: bf00 nop - 800fd5a: 46bd mov sp, r7 - 800fd5c: f85d 7b04 ldr.w r7, [sp], #4 - 800fd60: 4770 bx lr + 800f8e8: bf00 nop + 800f8ea: 46bd mov sp, r7 + 800f8ec: f85d 7b04 ldr.w r7, [sp], #4 + 800f8f0: 4770 bx lr ... -0800fd64 : +0800f8f4 : netif_add(struct netif *netif, #if LWIP_IPV4 const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw, #endif /* LWIP_IPV4 */ void *state, netif_init_fn init, netif_input_fn input) { - 800fd64: b580 push {r7, lr} - 800fd66: b086 sub sp, #24 - 800fd68: af00 add r7, sp, #0 - 800fd6a: 60f8 str r0, [r7, #12] - 800fd6c: 60b9 str r1, [r7, #8] - 800fd6e: 607a str r2, [r7, #4] - 800fd70: 603b str r3, [r7, #0] + 800f8f4: b580 push {r7, lr} + 800f8f6: b086 sub sp, #24 + 800f8f8: af00 add r7, sp, #0 + 800f8fa: 60f8 str r0, [r7, #12] + 800f8fc: 60b9 str r1, [r7, #8] + 800f8fe: 607a str r2, [r7, #4] + 800f900: 603b str r3, [r7, #0] LWIP_ASSERT("single netif already set", 0); return NULL; } #endif LWIP_ERROR("netif_add: invalid netif", netif != NULL, return NULL); - 800fd72: 68fb ldr r3, [r7, #12] - 800fd74: 2b00 cmp r3, #0 - 800fd76: d108 bne.n 800fd8a - 800fd78: 4b5b ldr r3, [pc, #364] ; (800fee8 ) - 800fd7a: f240 1227 movw r2, #295 ; 0x127 - 800fd7e: 495b ldr r1, [pc, #364] ; (800feec ) - 800fd80: 485b ldr r0, [pc, #364] ; (800fef0 ) - 800fd82: f00b fb99 bl 801b4b8 - 800fd86: 2300 movs r3, #0 - 800fd88: e0a9 b.n 800fede + 800f902: 68fb ldr r3, [r7, #12] + 800f904: 2b00 cmp r3, #0 + 800f906: d108 bne.n 800f91a + 800f908: 4b5b ldr r3, [pc, #364] ; (800fa78 ) + 800f90a: f240 1227 movw r2, #295 ; 0x127 + 800f90e: 495b ldr r1, [pc, #364] ; (800fa7c ) + 800f910: 485b ldr r0, [pc, #364] ; (800fa80 ) + 800f912: f00b fb7f bl 801b014 + 800f916: 2300 movs r3, #0 + 800f918: e0a9 b.n 800fa6e LWIP_ERROR("netif_add: No init function given", init != NULL, return NULL); - 800fd8a: 6a7b ldr r3, [r7, #36] ; 0x24 - 800fd8c: 2b00 cmp r3, #0 - 800fd8e: d108 bne.n 800fda2 - 800fd90: 4b55 ldr r3, [pc, #340] ; (800fee8 ) - 800fd92: f44f 7294 mov.w r2, #296 ; 0x128 - 800fd96: 4957 ldr r1, [pc, #348] ; (800fef4 ) - 800fd98: 4855 ldr r0, [pc, #340] ; (800fef0 ) - 800fd9a: f00b fb8d bl 801b4b8 - 800fd9e: 2300 movs r3, #0 - 800fda0: e09d b.n 800fede + 800f91a: 6a7b ldr r3, [r7, #36] ; 0x24 + 800f91c: 2b00 cmp r3, #0 + 800f91e: d108 bne.n 800f932 + 800f920: 4b55 ldr r3, [pc, #340] ; (800fa78 ) + 800f922: f44f 7294 mov.w r2, #296 ; 0x128 + 800f926: 4957 ldr r1, [pc, #348] ; (800fa84 ) + 800f928: 4855 ldr r0, [pc, #340] ; (800fa80 ) + 800f92a: f00b fb73 bl 801b014 + 800f92e: 2300 movs r3, #0 + 800f930: e09d b.n 800fa6e #if LWIP_IPV4 if (ipaddr == NULL) { - 800fda2: 68bb ldr r3, [r7, #8] - 800fda4: 2b00 cmp r3, #0 - 800fda6: d101 bne.n 800fdac + 800f932: 68bb ldr r3, [r7, #8] + 800f934: 2b00 cmp r3, #0 + 800f936: d101 bne.n 800f93c ipaddr = ip_2_ip4(IP4_ADDR_ANY); - 800fda8: 4b53 ldr r3, [pc, #332] ; (800fef8 ) - 800fdaa: 60bb str r3, [r7, #8] + 800f938: 4b53 ldr r3, [pc, #332] ; (800fa88 ) + 800f93a: 60bb str r3, [r7, #8] } if (netmask == NULL) { - 800fdac: 687b ldr r3, [r7, #4] - 800fdae: 2b00 cmp r3, #0 - 800fdb0: d101 bne.n 800fdb6 + 800f93c: 687b ldr r3, [r7, #4] + 800f93e: 2b00 cmp r3, #0 + 800f940: d101 bne.n 800f946 netmask = ip_2_ip4(IP4_ADDR_ANY); - 800fdb2: 4b51 ldr r3, [pc, #324] ; (800fef8 ) - 800fdb4: 607b str r3, [r7, #4] + 800f942: 4b51 ldr r3, [pc, #324] ; (800fa88 ) + 800f944: 607b str r3, [r7, #4] } if (gw == NULL) { - 800fdb6: 683b ldr r3, [r7, #0] - 800fdb8: 2b00 cmp r3, #0 - 800fdba: d101 bne.n 800fdc0 + 800f946: 683b ldr r3, [r7, #0] + 800f948: 2b00 cmp r3, #0 + 800f94a: d101 bne.n 800f950 gw = ip_2_ip4(IP4_ADDR_ANY); - 800fdbc: 4b4e ldr r3, [pc, #312] ; (800fef8 ) - 800fdbe: 603b str r3, [r7, #0] + 800f94c: 4b4e ldr r3, [pc, #312] ; (800fa88 ) + 800f94e: 603b str r3, [r7, #0] } /* reset new interface configuration state */ ip_addr_set_zero_ip4(&netif->ip_addr); - 800fdc0: 68fb ldr r3, [r7, #12] - 800fdc2: 2200 movs r2, #0 - 800fdc4: 605a str r2, [r3, #4] + 800f950: 68fb ldr r3, [r7, #12] + 800f952: 2200 movs r2, #0 + 800f954: 605a str r2, [r3, #4] ip_addr_set_zero_ip4(&netif->netmask); - 800fdc6: 68fb ldr r3, [r7, #12] - 800fdc8: 2200 movs r2, #0 - 800fdca: 609a str r2, [r3, #8] + 800f956: 68fb ldr r3, [r7, #12] + 800f958: 2200 movs r2, #0 + 800f95a: 609a str r2, [r3, #8] ip_addr_set_zero_ip4(&netif->gw); - 800fdcc: 68fb ldr r3, [r7, #12] - 800fdce: 2200 movs r2, #0 - 800fdd0: 60da str r2, [r3, #12] + 800f95c: 68fb ldr r3, [r7, #12] + 800f95e: 2200 movs r2, #0 + 800f960: 60da str r2, [r3, #12] netif->output = netif_null_output_ip4; - 800fdd2: 68fb ldr r3, [r7, #12] - 800fdd4: 4a49 ldr r2, [pc, #292] ; (800fefc ) - 800fdd6: 615a str r2, [r3, #20] + 800f962: 68fb ldr r3, [r7, #12] + 800f964: 4a49 ldr r2, [pc, #292] ; (800fa8c ) + 800f966: 615a str r2, [r3, #20] #endif /* LWIP_IPV6_ADDRESS_LIFETIMES */ } netif->output_ip6 = netif_null_output_ip6; #endif /* LWIP_IPV6 */ NETIF_SET_CHECKSUM_CTRL(netif, NETIF_CHECKSUM_ENABLE_ALL); netif->mtu = 0; - 800fdd8: 68fb ldr r3, [r7, #12] - 800fdda: 2200 movs r2, #0 - 800fddc: 851a strh r2, [r3, #40] ; 0x28 + 800f968: 68fb ldr r3, [r7, #12] + 800f96a: 2200 movs r2, #0 + 800f96c: 851a strh r2, [r3, #40] ; 0x28 netif->flags = 0; - 800fdde: 68fb ldr r3, [r7, #12] - 800fde0: 2200 movs r2, #0 - 800fde2: f883 2031 strb.w r2, [r3, #49] ; 0x31 + 800f96e: 68fb ldr r3, [r7, #12] + 800f970: 2200 movs r2, #0 + 800f972: f883 2031 strb.w r2, [r3, #49] ; 0x31 #ifdef netif_get_client_data memset(netif->client_data, 0, sizeof(netif->client_data)); - 800fde6: 68fb ldr r3, [r7, #12] - 800fde8: 3324 adds r3, #36 ; 0x24 - 800fdea: 2204 movs r2, #4 - 800fdec: 2100 movs r1, #0 - 800fdee: 4618 mov r0, r3 - 800fdf0: f00b fb59 bl 801b4a6 + 800f976: 68fb ldr r3, [r7, #12] + 800f978: 3324 adds r3, #36 ; 0x24 + 800f97a: 2204 movs r2, #4 + 800f97c: 2100 movs r1, #0 + 800f97e: 4618 mov r0, r3 + 800f980: f00b fb40 bl 801b004 #endif /* LWIP_IPV6 */ #if LWIP_NETIF_STATUS_CALLBACK netif->status_callback = NULL; #endif /* LWIP_NETIF_STATUS_CALLBACK */ #if LWIP_NETIF_LINK_CALLBACK netif->link_callback = NULL; - 800fdf4: 68fb ldr r3, [r7, #12] - 800fdf6: 2200 movs r2, #0 - 800fdf8: 61da str r2, [r3, #28] + 800f984: 68fb ldr r3, [r7, #12] + 800f986: 2200 movs r2, #0 + 800f988: 61da str r2, [r3, #28] netif->loop_first = NULL; netif->loop_last = NULL; #endif /* ENABLE_LOOPBACK */ /* remember netif specific state information data */ netif->state = state; - 800fdfa: 68fb ldr r3, [r7, #12] - 800fdfc: 6a3a ldr r2, [r7, #32] - 800fdfe: 621a str r2, [r3, #32] + 800f98a: 68fb ldr r3, [r7, #12] + 800f98c: 6a3a ldr r2, [r7, #32] + 800f98e: 621a str r2, [r3, #32] netif->num = netif_num; - 800fe00: 4b3f ldr r3, [pc, #252] ; (800ff00 ) - 800fe02: 781a ldrb r2, [r3, #0] - 800fe04: 68fb ldr r3, [r7, #12] - 800fe06: f883 2034 strb.w r2, [r3, #52] ; 0x34 + 800f990: 4b3f ldr r3, [pc, #252] ; (800fa90 ) + 800f992: 781a ldrb r2, [r3, #0] + 800f994: 68fb ldr r3, [r7, #12] + 800f996: f883 2034 strb.w r2, [r3, #52] ; 0x34 netif->input = input; - 800fe0a: 68fb ldr r3, [r7, #12] - 800fe0c: 6aba ldr r2, [r7, #40] ; 0x28 - 800fe0e: 611a str r2, [r3, #16] + 800f99a: 68fb ldr r3, [r7, #12] + 800f99c: 6aba ldr r2, [r7, #40] ; 0x28 + 800f99e: 611a str r2, [r3, #16] #if ENABLE_LOOPBACK && LWIP_LOOPBACK_MAX_PBUFS netif->loop_cnt_current = 0; #endif /* ENABLE_LOOPBACK && LWIP_LOOPBACK_MAX_PBUFS */ #if LWIP_IPV4 netif_set_addr(netif, ipaddr, netmask, gw); - 800fe10: 683b ldr r3, [r7, #0] - 800fe12: 687a ldr r2, [r7, #4] - 800fe14: 68b9 ldr r1, [r7, #8] - 800fe16: 68f8 ldr r0, [r7, #12] - 800fe18: f000 f914 bl 8010044 + 800f9a0: 683b ldr r3, [r7, #0] + 800f9a2: 687a ldr r2, [r7, #4] + 800f9a4: 68b9 ldr r1, [r7, #8] + 800f9a6: 68f8 ldr r0, [r7, #12] + 800f9a8: f000 f914 bl 800fbd4 #endif /* LWIP_IPV4 */ /* call user specified initialization function for netif */ if (init(netif) != ERR_OK) { - 800fe1c: 6a7b ldr r3, [r7, #36] ; 0x24 - 800fe1e: 68f8 ldr r0, [r7, #12] - 800fe20: 4798 blx r3 - 800fe22: 4603 mov r3, r0 - 800fe24: 2b00 cmp r3, #0 - 800fe26: d001 beq.n 800fe2c + 800f9ac: 6a7b ldr r3, [r7, #36] ; 0x24 + 800f9ae: 68f8 ldr r0, [r7, #12] + 800f9b0: 4798 blx r3 + 800f9b2: 4603 mov r3, r0 + 800f9b4: 2b00 cmp r3, #0 + 800f9b6: d001 beq.n 800f9bc return NULL; - 800fe28: 2300 movs r3, #0 - 800fe2a: e058 b.n 800fede + 800f9b8: 2300 movs r3, #0 + 800f9ba: e058 b.n 800fa6e */ { struct netif *netif2; int num_netifs; do { if (netif->num == 255) { - 800fe2c: 68fb ldr r3, [r7, #12] - 800fe2e: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 - 800fe32: 2bff cmp r3, #255 ; 0xff - 800fe34: d103 bne.n 800fe3e + 800f9bc: 68fb ldr r3, [r7, #12] + 800f9be: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 + 800f9c2: 2bff cmp r3, #255 ; 0xff + 800f9c4: d103 bne.n 800f9ce netif->num = 0; - 800fe36: 68fb ldr r3, [r7, #12] - 800fe38: 2200 movs r2, #0 - 800fe3a: f883 2034 strb.w r2, [r3, #52] ; 0x34 + 800f9c6: 68fb ldr r3, [r7, #12] + 800f9c8: 2200 movs r2, #0 + 800f9ca: f883 2034 strb.w r2, [r3, #52] ; 0x34 } num_netifs = 0; - 800fe3e: 2300 movs r3, #0 - 800fe40: 613b str r3, [r7, #16] + 800f9ce: 2300 movs r3, #0 + 800f9d0: 613b str r3, [r7, #16] for (netif2 = netif_list; netif2 != NULL; netif2 = netif2->next) { - 800fe42: 4b30 ldr r3, [pc, #192] ; (800ff04 ) - 800fe44: 681b ldr r3, [r3, #0] - 800fe46: 617b str r3, [r7, #20] - 800fe48: e02b b.n 800fea2 + 800f9d2: 4b30 ldr r3, [pc, #192] ; (800fa94 ) + 800f9d4: 681b ldr r3, [r3, #0] + 800f9d6: 617b str r3, [r7, #20] + 800f9d8: e02b b.n 800fa32 LWIP_ASSERT("netif already added", netif2 != netif); - 800fe4a: 697a ldr r2, [r7, #20] - 800fe4c: 68fb ldr r3, [r7, #12] - 800fe4e: 429a cmp r2, r3 - 800fe50: d106 bne.n 800fe60 - 800fe52: 4b25 ldr r3, [pc, #148] ; (800fee8 ) - 800fe54: f240 128b movw r2, #395 ; 0x18b - 800fe58: 492b ldr r1, [pc, #172] ; (800ff08 ) - 800fe5a: 4825 ldr r0, [pc, #148] ; (800fef0 ) - 800fe5c: f00b fb2c bl 801b4b8 + 800f9da: 697a ldr r2, [r7, #20] + 800f9dc: 68fb ldr r3, [r7, #12] + 800f9de: 429a cmp r2, r3 + 800f9e0: d106 bne.n 800f9f0 + 800f9e2: 4b25 ldr r3, [pc, #148] ; (800fa78 ) + 800f9e4: f240 128b movw r2, #395 ; 0x18b + 800f9e8: 492b ldr r1, [pc, #172] ; (800fa98 ) + 800f9ea: 4825 ldr r0, [pc, #148] ; (800fa80 ) + 800f9ec: f00b fb12 bl 801b014 num_netifs++; - 800fe60: 693b ldr r3, [r7, #16] - 800fe62: 3301 adds r3, #1 - 800fe64: 613b str r3, [r7, #16] + 800f9f0: 693b ldr r3, [r7, #16] + 800f9f2: 3301 adds r3, #1 + 800f9f4: 613b str r3, [r7, #16] LWIP_ASSERT("too many netifs, max. supported number is 255", num_netifs <= 255); - 800fe66: 693b ldr r3, [r7, #16] - 800fe68: 2bff cmp r3, #255 ; 0xff - 800fe6a: dd06 ble.n 800fe7a - 800fe6c: 4b1e ldr r3, [pc, #120] ; (800fee8 ) - 800fe6e: f240 128d movw r2, #397 ; 0x18d - 800fe72: 4926 ldr r1, [pc, #152] ; (800ff0c ) - 800fe74: 481e ldr r0, [pc, #120] ; (800fef0 ) - 800fe76: f00b fb1f bl 801b4b8 + 800f9f6: 693b ldr r3, [r7, #16] + 800f9f8: 2bff cmp r3, #255 ; 0xff + 800f9fa: dd06 ble.n 800fa0a + 800f9fc: 4b1e ldr r3, [pc, #120] ; (800fa78 ) + 800f9fe: f240 128d movw r2, #397 ; 0x18d + 800fa02: 4926 ldr r1, [pc, #152] ; (800fa9c ) + 800fa04: 481e ldr r0, [pc, #120] ; (800fa80 ) + 800fa06: f00b fb05 bl 801b014 if (netif2->num == netif->num) { - 800fe7a: 697b ldr r3, [r7, #20] - 800fe7c: f893 2034 ldrb.w r2, [r3, #52] ; 0x34 - 800fe80: 68fb ldr r3, [r7, #12] - 800fe82: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 - 800fe86: 429a cmp r2, r3 - 800fe88: d108 bne.n 800fe9c + 800fa0a: 697b ldr r3, [r7, #20] + 800fa0c: f893 2034 ldrb.w r2, [r3, #52] ; 0x34 + 800fa10: 68fb ldr r3, [r7, #12] + 800fa12: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 + 800fa16: 429a cmp r2, r3 + 800fa18: d108 bne.n 800fa2c netif->num++; - 800fe8a: 68fb ldr r3, [r7, #12] - 800fe8c: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 - 800fe90: 3301 adds r3, #1 - 800fe92: b2da uxtb r2, r3 - 800fe94: 68fb ldr r3, [r7, #12] - 800fe96: f883 2034 strb.w r2, [r3, #52] ; 0x34 + 800fa1a: 68fb ldr r3, [r7, #12] + 800fa1c: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 + 800fa20: 3301 adds r3, #1 + 800fa22: b2da uxtb r2, r3 + 800fa24: 68fb ldr r3, [r7, #12] + 800fa26: f883 2034 strb.w r2, [r3, #52] ; 0x34 break; - 800fe9a: e005 b.n 800fea8 + 800fa2a: e005 b.n 800fa38 for (netif2 = netif_list; netif2 != NULL; netif2 = netif2->next) { - 800fe9c: 697b ldr r3, [r7, #20] - 800fe9e: 681b ldr r3, [r3, #0] - 800fea0: 617b str r3, [r7, #20] - 800fea2: 697b ldr r3, [r7, #20] - 800fea4: 2b00 cmp r3, #0 - 800fea6: d1d0 bne.n 800fe4a + 800fa2c: 697b ldr r3, [r7, #20] + 800fa2e: 681b ldr r3, [r3, #0] + 800fa30: 617b str r3, [r7, #20] + 800fa32: 697b ldr r3, [r7, #20] + 800fa34: 2b00 cmp r3, #0 + 800fa36: d1d0 bne.n 800f9da } } } while (netif2 != NULL); - 800fea8: 697b ldr r3, [r7, #20] - 800feaa: 2b00 cmp r3, #0 - 800feac: d1be bne.n 800fe2c + 800fa38: 697b ldr r3, [r7, #20] + 800fa3a: 2b00 cmp r3, #0 + 800fa3c: d1be bne.n 800f9bc } if (netif->num == 254) { - 800feae: 68fb ldr r3, [r7, #12] - 800feb0: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 - 800feb4: 2bfe cmp r3, #254 ; 0xfe - 800feb6: d103 bne.n 800fec0 + 800fa3e: 68fb ldr r3, [r7, #12] + 800fa40: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 + 800fa44: 2bfe cmp r3, #254 ; 0xfe + 800fa46: d103 bne.n 800fa50 netif_num = 0; - 800feb8: 4b11 ldr r3, [pc, #68] ; (800ff00 ) - 800feba: 2200 movs r2, #0 - 800febc: 701a strb r2, [r3, #0] - 800febe: e006 b.n 800fece + 800fa48: 4b11 ldr r3, [pc, #68] ; (800fa90 ) + 800fa4a: 2200 movs r2, #0 + 800fa4c: 701a strb r2, [r3, #0] + 800fa4e: e006 b.n 800fa5e } else { netif_num = (u8_t)(netif->num + 1); - 800fec0: 68fb ldr r3, [r7, #12] - 800fec2: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 - 800fec6: 3301 adds r3, #1 - 800fec8: b2da uxtb r2, r3 - 800feca: 4b0d ldr r3, [pc, #52] ; (800ff00 ) - 800fecc: 701a strb r2, [r3, #0] + 800fa50: 68fb ldr r3, [r7, #12] + 800fa52: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 + 800fa56: 3301 adds r3, #1 + 800fa58: b2da uxtb r2, r3 + 800fa5a: 4b0d ldr r3, [pc, #52] ; (800fa90 ) + 800fa5c: 701a strb r2, [r3, #0] } /* add this netif to the list */ netif->next = netif_list; - 800fece: 4b0d ldr r3, [pc, #52] ; (800ff04 ) - 800fed0: 681a ldr r2, [r3, #0] - 800fed2: 68fb ldr r3, [r7, #12] - 800fed4: 601a str r2, [r3, #0] + 800fa5e: 4b0d ldr r3, [pc, #52] ; (800fa94 ) + 800fa60: 681a ldr r2, [r3, #0] + 800fa62: 68fb ldr r3, [r7, #12] + 800fa64: 601a str r2, [r3, #0] netif_list = netif; - 800fed6: 4a0b ldr r2, [pc, #44] ; (800ff04 ) - 800fed8: 68fb ldr r3, [r7, #12] - 800feda: 6013 str r3, [r2, #0] + 800fa66: 4a0b ldr r2, [pc, #44] ; (800fa94 ) + 800fa68: 68fb ldr r3, [r7, #12] + 800fa6a: 6013 str r3, [r2, #0] #endif /* LWIP_IPV4 */ LWIP_DEBUGF(NETIF_DEBUG, ("\n")); netif_invoke_ext_callback(netif, LWIP_NSC_NETIF_ADDED, NULL); return netif; - 800fedc: 68fb ldr r3, [r7, #12] + 800fa6c: 68fb ldr r3, [r7, #12] } - 800fede: 4618 mov r0, r3 - 800fee0: 3718 adds r7, #24 - 800fee2: 46bd mov sp, r7 - 800fee4: bd80 pop {r7, pc} - 800fee6: bf00 nop - 800fee8: 0801cc1c .word 0x0801cc1c - 800feec: 0801ccb0 .word 0x0801ccb0 - 800fef0: 0801cc6c .word 0x0801cc6c - 800fef4: 0801cccc .word 0x0801cccc - 800fef8: 0802166c .word 0x0802166c - 800fefc: 08010327 .word 0x08010327 - 800ff00: 20008728 .word 0x20008728 - 800ff04: 2000f5b4 .word 0x2000f5b4 - 800ff08: 0801ccf0 .word 0x0801ccf0 - 800ff0c: 0801cd04 .word 0x0801cd04 + 800fa6e: 4618 mov r0, r3 + 800fa70: 3718 adds r7, #24 + 800fa72: 46bd mov sp, r7 + 800fa74: bd80 pop {r7, pc} + 800fa76: bf00 nop + 800fa78: 0801c418 .word 0x0801c418 + 800fa7c: 0801c4ac .word 0x0801c4ac + 800fa80: 0801c468 .word 0x0801c468 + 800fa84: 0801c4c8 .word 0x0801c4c8 + 800fa88: 08020e68 .word 0x08020e68 + 800fa8c: 0800feb7 .word 0x0800feb7 + 800fa90: 20008728 .word 0x20008728 + 800fa94: 2000f5b0 .word 0x2000f5b0 + 800fa98: 0801c4ec .word 0x0801c4ec + 800fa9c: 0801c500 .word 0x0801c500 -0800ff10 : +0800faa0 : static void netif_do_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr) { - 800ff10: b580 push {r7, lr} - 800ff12: b082 sub sp, #8 - 800ff14: af00 add r7, sp, #0 - 800ff16: 6078 str r0, [r7, #4] - 800ff18: 6039 str r1, [r7, #0] + 800faa0: b580 push {r7, lr} + 800faa2: b082 sub sp, #8 + 800faa4: af00 add r7, sp, #0 + 800faa6: 6078 str r0, [r7, #4] + 800faa8: 6039 str r1, [r7, #0] #if LWIP_TCP tcp_netif_ip_addr_changed(old_addr, new_addr); - 800ff1a: 6839 ldr r1, [r7, #0] - 800ff1c: 6878 ldr r0, [r7, #4] - 800ff1e: f002 fb81 bl 8012624 + 800faaa: 6839 ldr r1, [r7, #0] + 800faac: 6878 ldr r0, [r7, #4] + 800faae: f002 fb81 bl 80121b4 #endif /* LWIP_TCP */ #if LWIP_UDP udp_netif_ip_addr_changed(old_addr, new_addr); - 800ff22: 6839 ldr r1, [r7, #0] - 800ff24: 6878 ldr r0, [r7, #4] - 800ff26: f006 ffa1 bl 8016e6c + 800fab2: 6839 ldr r1, [r7, #0] + 800fab4: 6878 ldr r0, [r7, #4] + 800fab6: f006 ffa1 bl 80169fc #endif /* LWIP_UDP */ #if LWIP_RAW raw_netif_ip_addr_changed(old_addr, new_addr); #endif /* LWIP_RAW */ } - 800ff2a: bf00 nop - 800ff2c: 3708 adds r7, #8 - 800ff2e: 46bd mov sp, r7 - 800ff30: bd80 pop {r7, pc} + 800faba: bf00 nop + 800fabc: 3708 adds r7, #8 + 800fabe: 46bd mov sp, r7 + 800fac0: bd80 pop {r7, pc} ... -0800ff34 : +0800fac4 : #if LWIP_IPV4 static int netif_do_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr, ip_addr_t *old_addr) { - 800ff34: b580 push {r7, lr} - 800ff36: b086 sub sp, #24 - 800ff38: af00 add r7, sp, #0 - 800ff3a: 60f8 str r0, [r7, #12] - 800ff3c: 60b9 str r1, [r7, #8] - 800ff3e: 607a str r2, [r7, #4] + 800fac4: b580 push {r7, lr} + 800fac6: b086 sub sp, #24 + 800fac8: af00 add r7, sp, #0 + 800faca: 60f8 str r0, [r7, #12] + 800facc: 60b9 str r1, [r7, #8] + 800face: 607a str r2, [r7, #4] LWIP_ASSERT("invalid pointer", ipaddr != NULL); - 800ff40: 68bb ldr r3, [r7, #8] - 800ff42: 2b00 cmp r3, #0 - 800ff44: d106 bne.n 800ff54 - 800ff46: 4b1d ldr r3, [pc, #116] ; (800ffbc ) - 800ff48: f240 12cb movw r2, #459 ; 0x1cb - 800ff4c: 491c ldr r1, [pc, #112] ; (800ffc0 ) - 800ff4e: 481d ldr r0, [pc, #116] ; (800ffc4 ) - 800ff50: f00b fab2 bl 801b4b8 + 800fad0: 68bb ldr r3, [r7, #8] + 800fad2: 2b00 cmp r3, #0 + 800fad4: d106 bne.n 800fae4 + 800fad6: 4b1d ldr r3, [pc, #116] ; (800fb4c ) + 800fad8: f240 12cb movw r2, #459 ; 0x1cb + 800fadc: 491c ldr r1, [pc, #112] ; (800fb50 ) + 800fade: 481d ldr r0, [pc, #116] ; (800fb54 ) + 800fae0: f00b fa98 bl 801b014 LWIP_ASSERT("invalid pointer", old_addr != NULL); - 800ff54: 687b ldr r3, [r7, #4] - 800ff56: 2b00 cmp r3, #0 - 800ff58: d106 bne.n 800ff68 - 800ff5a: 4b18 ldr r3, [pc, #96] ; (800ffbc ) - 800ff5c: f44f 72e6 mov.w r2, #460 ; 0x1cc - 800ff60: 4917 ldr r1, [pc, #92] ; (800ffc0 ) - 800ff62: 4818 ldr r0, [pc, #96] ; (800ffc4 ) - 800ff64: f00b faa8 bl 801b4b8 + 800fae4: 687b ldr r3, [r7, #4] + 800fae6: 2b00 cmp r3, #0 + 800fae8: d106 bne.n 800faf8 + 800faea: 4b18 ldr r3, [pc, #96] ; (800fb4c ) + 800faec: f44f 72e6 mov.w r2, #460 ; 0x1cc + 800faf0: 4917 ldr r1, [pc, #92] ; (800fb50 ) + 800faf2: 4818 ldr r0, [pc, #96] ; (800fb54 ) + 800faf4: f00b fa8e bl 801b014 /* address is actually being changed? */ if (ip4_addr_cmp(ipaddr, netif_ip4_addr(netif)) == 0) { - 800ff68: 68bb ldr r3, [r7, #8] - 800ff6a: 681a ldr r2, [r3, #0] - 800ff6c: 68fb ldr r3, [r7, #12] - 800ff6e: 3304 adds r3, #4 - 800ff70: 681b ldr r3, [r3, #0] - 800ff72: 429a cmp r2, r3 - 800ff74: d01c beq.n 800ffb0 + 800faf8: 68bb ldr r3, [r7, #8] + 800fafa: 681a ldr r2, [r3, #0] + 800fafc: 68fb ldr r3, [r7, #12] + 800fafe: 3304 adds r3, #4 + 800fb00: 681b ldr r3, [r3, #0] + 800fb02: 429a cmp r2, r3 + 800fb04: d01c beq.n 800fb40 ip_addr_t new_addr; *ip_2_ip4(&new_addr) = *ipaddr; - 800ff76: 68bb ldr r3, [r7, #8] - 800ff78: 681b ldr r3, [r3, #0] - 800ff7a: 617b str r3, [r7, #20] + 800fb06: 68bb ldr r3, [r7, #8] + 800fb08: 681b ldr r3, [r3, #0] + 800fb0a: 617b str r3, [r7, #20] IP_SET_TYPE_VAL(new_addr, IPADDR_TYPE_V4); ip_addr_copy(*old_addr, *netif_ip_addr4(netif)); - 800ff7c: 68fb ldr r3, [r7, #12] - 800ff7e: 3304 adds r3, #4 - 800ff80: 681a ldr r2, [r3, #0] - 800ff82: 687b ldr r3, [r7, #4] - 800ff84: 601a str r2, [r3, #0] + 800fb0c: 68fb ldr r3, [r7, #12] + 800fb0e: 3304 adds r3, #4 + 800fb10: 681a ldr r2, [r3, #0] + 800fb12: 687b ldr r3, [r7, #4] + 800fb14: 601a str r2, [r3, #0] LWIP_DEBUGF(NETIF_DEBUG | LWIP_DBG_STATE, ("netif_set_ipaddr: netif address being changed\n")); netif_do_ip_addr_changed(old_addr, &new_addr); - 800ff86: f107 0314 add.w r3, r7, #20 - 800ff8a: 4619 mov r1, r3 - 800ff8c: 6878 ldr r0, [r7, #4] - 800ff8e: f7ff ffbf bl 800ff10 + 800fb16: f107 0314 add.w r3, r7, #20 + 800fb1a: 4619 mov r1, r3 + 800fb1c: 6878 ldr r0, [r7, #4] + 800fb1e: f7ff ffbf bl 800faa0 mib2_remove_ip4(netif); mib2_remove_route_ip4(0, netif); /* set new IP address to netif */ ip4_addr_set(ip_2_ip4(&netif->ip_addr), ipaddr); - 800ff92: 68bb ldr r3, [r7, #8] - 800ff94: 2b00 cmp r3, #0 - 800ff96: d002 beq.n 800ff9e - 800ff98: 68bb ldr r3, [r7, #8] - 800ff9a: 681b ldr r3, [r3, #0] - 800ff9c: e000 b.n 800ffa0 - 800ff9e: 2300 movs r3, #0 - 800ffa0: 68fa ldr r2, [r7, #12] - 800ffa2: 6053 str r3, [r2, #4] + 800fb22: 68bb ldr r3, [r7, #8] + 800fb24: 2b00 cmp r3, #0 + 800fb26: d002 beq.n 800fb2e + 800fb28: 68bb ldr r3, [r7, #8] + 800fb2a: 681b ldr r3, [r3, #0] + 800fb2c: e000 b.n 800fb30 + 800fb2e: 2300 movs r3, #0 + 800fb30: 68fa ldr r2, [r7, #12] + 800fb32: 6053 str r3, [r2, #4] IP_SET_TYPE_VAL(netif->ip_addr, IPADDR_TYPE_V4); mib2_add_ip4(netif); mib2_add_route_ip4(0, netif); netif_issue_reports(netif, NETIF_REPORT_TYPE_IPV4); - 800ffa4: 2101 movs r1, #1 - 800ffa6: 68f8 ldr r0, [r7, #12] - 800ffa8: f000 f8d2 bl 8010150 + 800fb34: 2101 movs r1, #1 + 800fb36: 68f8 ldr r0, [r7, #12] + 800fb38: f000 f8d2 bl 800fce0 NETIF_STATUS_CALLBACK(netif); return 1; /* address changed */ - 800ffac: 2301 movs r3, #1 - 800ffae: e000 b.n 800ffb2 + 800fb3c: 2301 movs r3, #1 + 800fb3e: e000 b.n 800fb42 } return 0; /* address unchanged */ - 800ffb0: 2300 movs r3, #0 + 800fb40: 2300 movs r3, #0 } - 800ffb2: 4618 mov r0, r3 - 800ffb4: 3718 adds r7, #24 - 800ffb6: 46bd mov sp, r7 - 800ffb8: bd80 pop {r7, pc} - 800ffba: bf00 nop - 800ffbc: 0801cc1c .word 0x0801cc1c - 800ffc0: 0801cd34 .word 0x0801cd34 - 800ffc4: 0801cc6c .word 0x0801cc6c + 800fb42: 4618 mov r0, r3 + 800fb44: 3718 adds r7, #24 + 800fb46: 46bd mov sp, r7 + 800fb48: bd80 pop {r7, pc} + 800fb4a: bf00 nop + 800fb4c: 0801c418 .word 0x0801c418 + 800fb50: 0801c530 .word 0x0801c530 + 800fb54: 0801c468 .word 0x0801c468 -0800ffc8 : +0800fb58 : } } static int netif_do_set_netmask(struct netif *netif, const ip4_addr_t *netmask, ip_addr_t *old_nm) { - 800ffc8: b480 push {r7} - 800ffca: b085 sub sp, #20 - 800ffcc: af00 add r7, sp, #0 - 800ffce: 60f8 str r0, [r7, #12] - 800ffd0: 60b9 str r1, [r7, #8] - 800ffd2: 607a str r2, [r7, #4] + 800fb58: b480 push {r7} + 800fb5a: b085 sub sp, #20 + 800fb5c: af00 add r7, sp, #0 + 800fb5e: 60f8 str r0, [r7, #12] + 800fb60: 60b9 str r1, [r7, #8] + 800fb62: 607a str r2, [r7, #4] /* address is actually being changed? */ if (ip4_addr_cmp(netmask, netif_ip4_netmask(netif)) == 0) { - 800ffd4: 68bb ldr r3, [r7, #8] - 800ffd6: 681a ldr r2, [r3, #0] - 800ffd8: 68fb ldr r3, [r7, #12] - 800ffda: 3308 adds r3, #8 - 800ffdc: 681b ldr r3, [r3, #0] - 800ffde: 429a cmp r2, r3 - 800ffe0: d00a beq.n 800fff8 + 800fb64: 68bb ldr r3, [r7, #8] + 800fb66: 681a ldr r2, [r3, #0] + 800fb68: 68fb ldr r3, [r7, #12] + 800fb6a: 3308 adds r3, #8 + 800fb6c: 681b ldr r3, [r3, #0] + 800fb6e: 429a cmp r2, r3 + 800fb70: d00a beq.n 800fb88 #else LWIP_UNUSED_ARG(old_nm); #endif mib2_remove_route_ip4(0, netif); /* set new netmask to netif */ ip4_addr_set(ip_2_ip4(&netif->netmask), netmask); - 800ffe2: 68bb ldr r3, [r7, #8] - 800ffe4: 2b00 cmp r3, #0 - 800ffe6: d002 beq.n 800ffee - 800ffe8: 68bb ldr r3, [r7, #8] - 800ffea: 681b ldr r3, [r3, #0] - 800ffec: e000 b.n 800fff0 - 800ffee: 2300 movs r3, #0 - 800fff0: 68fa ldr r2, [r7, #12] - 800fff2: 6093 str r3, [r2, #8] + 800fb72: 68bb ldr r3, [r7, #8] + 800fb74: 2b00 cmp r3, #0 + 800fb76: d002 beq.n 800fb7e + 800fb78: 68bb ldr r3, [r7, #8] + 800fb7a: 681b ldr r3, [r3, #0] + 800fb7c: e000 b.n 800fb80 + 800fb7e: 2300 movs r3, #0 + 800fb80: 68fa ldr r2, [r7, #12] + 800fb82: 6093 str r3, [r2, #8] netif->name[0], netif->name[1], ip4_addr1_16(netif_ip4_netmask(netif)), ip4_addr2_16(netif_ip4_netmask(netif)), ip4_addr3_16(netif_ip4_netmask(netif)), ip4_addr4_16(netif_ip4_netmask(netif)))); return 1; /* netmask changed */ - 800fff4: 2301 movs r3, #1 - 800fff6: e000 b.n 800fffa + 800fb84: 2301 movs r3, #1 + 800fb86: e000 b.n 800fb8a } return 0; /* netmask unchanged */ - 800fff8: 2300 movs r3, #0 + 800fb88: 2300 movs r3, #0 } - 800fffa: 4618 mov r0, r3 - 800fffc: 3714 adds r7, #20 - 800fffe: 46bd mov sp, r7 - 8010000: f85d 7b04 ldr.w r7, [sp], #4 - 8010004: 4770 bx lr + 800fb8a: 4618 mov r0, r3 + 800fb8c: 3714 adds r7, #20 + 800fb8e: 46bd mov sp, r7 + 800fb90: f85d 7b04 ldr.w r7, [sp], #4 + 800fb94: 4770 bx lr -08010006 : +0800fb96 : } } static int netif_do_set_gw(struct netif *netif, const ip4_addr_t *gw, ip_addr_t *old_gw) { - 8010006: b480 push {r7} - 8010008: b085 sub sp, #20 - 801000a: af00 add r7, sp, #0 - 801000c: 60f8 str r0, [r7, #12] - 801000e: 60b9 str r1, [r7, #8] - 8010010: 607a str r2, [r7, #4] + 800fb96: b480 push {r7} + 800fb98: b085 sub sp, #20 + 800fb9a: af00 add r7, sp, #0 + 800fb9c: 60f8 str r0, [r7, #12] + 800fb9e: 60b9 str r1, [r7, #8] + 800fba0: 607a str r2, [r7, #4] /* address is actually being changed? */ if (ip4_addr_cmp(gw, netif_ip4_gw(netif)) == 0) { - 8010012: 68bb ldr r3, [r7, #8] - 8010014: 681a ldr r2, [r3, #0] - 8010016: 68fb ldr r3, [r7, #12] - 8010018: 330c adds r3, #12 - 801001a: 681b ldr r3, [r3, #0] - 801001c: 429a cmp r2, r3 - 801001e: d00a beq.n 8010036 + 800fba2: 68bb ldr r3, [r7, #8] + 800fba4: 681a ldr r2, [r3, #0] + 800fba6: 68fb ldr r3, [r7, #12] + 800fba8: 330c adds r3, #12 + 800fbaa: 681b ldr r3, [r3, #0] + 800fbac: 429a cmp r2, r3 + 800fbae: d00a beq.n 800fbc6 ip_addr_copy(*old_gw, *netif_ip_gw4(netif)); #else LWIP_UNUSED_ARG(old_gw); #endif ip4_addr_set(ip_2_ip4(&netif->gw), gw); - 8010020: 68bb ldr r3, [r7, #8] - 8010022: 2b00 cmp r3, #0 - 8010024: d002 beq.n 801002c - 8010026: 68bb ldr r3, [r7, #8] - 8010028: 681b ldr r3, [r3, #0] - 801002a: e000 b.n 801002e - 801002c: 2300 movs r3, #0 - 801002e: 68fa ldr r2, [r7, #12] - 8010030: 60d3 str r3, [r2, #12] + 800fbb0: 68bb ldr r3, [r7, #8] + 800fbb2: 2b00 cmp r3, #0 + 800fbb4: d002 beq.n 800fbbc + 800fbb6: 68bb ldr r3, [r7, #8] + 800fbb8: 681b ldr r3, [r3, #0] + 800fbba: e000 b.n 800fbbe + 800fbbc: 2300 movs r3, #0 + 800fbbe: 68fa ldr r2, [r7, #12] + 800fbc0: 60d3 str r3, [r2, #12] netif->name[0], netif->name[1], ip4_addr1_16(netif_ip4_gw(netif)), ip4_addr2_16(netif_ip4_gw(netif)), ip4_addr3_16(netif_ip4_gw(netif)), ip4_addr4_16(netif_ip4_gw(netif)))); return 1; /* gateway changed */ - 8010032: 2301 movs r3, #1 - 8010034: e000 b.n 8010038 + 800fbc2: 2301 movs r3, #1 + 800fbc4: e000 b.n 800fbc8 } return 0; /* gateway unchanged */ - 8010036: 2300 movs r3, #0 + 800fbc6: 2300 movs r3, #0 } - 8010038: 4618 mov r0, r3 - 801003a: 3714 adds r7, #20 - 801003c: 46bd mov sp, r7 - 801003e: f85d 7b04 ldr.w r7, [sp], #4 - 8010042: 4770 bx lr + 800fbc8: 4618 mov r0, r3 + 800fbca: 3714 adds r7, #20 + 800fbcc: 46bd mov sp, r7 + 800fbce: f85d 7b04 ldr.w r7, [sp], #4 + 800fbd2: 4770 bx lr -08010044 : +0800fbd4 : * @param gw the new default gateway */ void netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw) { - 8010044: b580 push {r7, lr} - 8010046: b088 sub sp, #32 - 8010048: af00 add r7, sp, #0 - 801004a: 60f8 str r0, [r7, #12] - 801004c: 60b9 str r1, [r7, #8] - 801004e: 607a str r2, [r7, #4] - 8010050: 603b str r3, [r7, #0] + 800fbd4: b580 push {r7, lr} + 800fbd6: b088 sub sp, #32 + 800fbd8: af00 add r7, sp, #0 + 800fbda: 60f8 str r0, [r7, #12] + 800fbdc: 60b9 str r1, [r7, #8] + 800fbde: 607a str r2, [r7, #4] + 800fbe0: 603b str r3, [r7, #0] ip_addr_t old_nm_val; ip_addr_t old_gw_val; ip_addr_t *old_nm = &old_nm_val; ip_addr_t *old_gw = &old_gw_val; #else ip_addr_t *old_nm = NULL; - 8010052: 2300 movs r3, #0 - 8010054: 61fb str r3, [r7, #28] + 800fbe2: 2300 movs r3, #0 + 800fbe4: 61fb str r3, [r7, #28] ip_addr_t *old_gw = NULL; - 8010056: 2300 movs r3, #0 - 8010058: 61bb str r3, [r7, #24] + 800fbe6: 2300 movs r3, #0 + 800fbe8: 61bb str r3, [r7, #24] int remove; LWIP_ASSERT_CORE_LOCKED(); /* Don't propagate NULL pointer (IPv4 ANY) to subsequent functions */ if (ipaddr == NULL) { - 801005a: 68bb ldr r3, [r7, #8] - 801005c: 2b00 cmp r3, #0 - 801005e: d101 bne.n 8010064 + 800fbea: 68bb ldr r3, [r7, #8] + 800fbec: 2b00 cmp r3, #0 + 800fbee: d101 bne.n 800fbf4 ipaddr = IP4_ADDR_ANY4; - 8010060: 4b1c ldr r3, [pc, #112] ; (80100d4 ) - 8010062: 60bb str r3, [r7, #8] + 800fbf0: 4b1c ldr r3, [pc, #112] ; (800fc64 ) + 800fbf2: 60bb str r3, [r7, #8] } if (netmask == NULL) { - 8010064: 687b ldr r3, [r7, #4] - 8010066: 2b00 cmp r3, #0 - 8010068: d101 bne.n 801006e + 800fbf4: 687b ldr r3, [r7, #4] + 800fbf6: 2b00 cmp r3, #0 + 800fbf8: d101 bne.n 800fbfe netmask = IP4_ADDR_ANY4; - 801006a: 4b1a ldr r3, [pc, #104] ; (80100d4 ) - 801006c: 607b str r3, [r7, #4] + 800fbfa: 4b1a ldr r3, [pc, #104] ; (800fc64 ) + 800fbfc: 607b str r3, [r7, #4] } if (gw == NULL) { - 801006e: 683b ldr r3, [r7, #0] - 8010070: 2b00 cmp r3, #0 - 8010072: d101 bne.n 8010078 + 800fbfe: 683b ldr r3, [r7, #0] + 800fc00: 2b00 cmp r3, #0 + 800fc02: d101 bne.n 800fc08 gw = IP4_ADDR_ANY4; - 8010074: 4b17 ldr r3, [pc, #92] ; (80100d4 ) - 8010076: 603b str r3, [r7, #0] + 800fc04: 4b17 ldr r3, [pc, #92] ; (800fc64 ) + 800fc06: 603b str r3, [r7, #0] } remove = ip4_addr_isany(ipaddr); - 8010078: 68bb ldr r3, [r7, #8] - 801007a: 2b00 cmp r3, #0 - 801007c: d003 beq.n 8010086 - 801007e: 68bb ldr r3, [r7, #8] - 8010080: 681b ldr r3, [r3, #0] - 8010082: 2b00 cmp r3, #0 - 8010084: d101 bne.n 801008a - 8010086: 2301 movs r3, #1 - 8010088: e000 b.n 801008c - 801008a: 2300 movs r3, #0 - 801008c: 617b str r3, [r7, #20] + 800fc08: 68bb ldr r3, [r7, #8] + 800fc0a: 2b00 cmp r3, #0 + 800fc0c: d003 beq.n 800fc16 + 800fc0e: 68bb ldr r3, [r7, #8] + 800fc10: 681b ldr r3, [r3, #0] + 800fc12: 2b00 cmp r3, #0 + 800fc14: d101 bne.n 800fc1a + 800fc16: 2301 movs r3, #1 + 800fc18: e000 b.n 800fc1c + 800fc1a: 2300 movs r3, #0 + 800fc1c: 617b str r3, [r7, #20] if (remove) { - 801008e: 697b ldr r3, [r7, #20] - 8010090: 2b00 cmp r3, #0 - 8010092: d006 beq.n 80100a2 + 800fc1e: 697b ldr r3, [r7, #20] + 800fc20: 2b00 cmp r3, #0 + 800fc22: d006 beq.n 800fc32 /* when removing an address, we have to remove it *before* changing netmask/gw to ensure that tcp RST segment can be sent correctly */ if (netif_do_set_ipaddr(netif, ipaddr, &old_addr)) { - 8010094: f107 0310 add.w r3, r7, #16 - 8010098: 461a mov r2, r3 - 801009a: 68b9 ldr r1, [r7, #8] - 801009c: 68f8 ldr r0, [r7, #12] - 801009e: f7ff ff49 bl 800ff34 + 800fc24: f107 0310 add.w r3, r7, #16 + 800fc28: 461a mov r2, r3 + 800fc2a: 68b9 ldr r1, [r7, #8] + 800fc2c: 68f8 ldr r0, [r7, #12] + 800fc2e: f7ff ff49 bl 800fac4 change_reason |= LWIP_NSC_IPV4_ADDRESS_CHANGED; cb_args.ipv4_changed.old_address = &old_addr; #endif } } if (netif_do_set_netmask(netif, netmask, old_nm)) { - 80100a2: 69fa ldr r2, [r7, #28] - 80100a4: 6879 ldr r1, [r7, #4] - 80100a6: 68f8 ldr r0, [r7, #12] - 80100a8: f7ff ff8e bl 800ffc8 + 800fc32: 69fa ldr r2, [r7, #28] + 800fc34: 6879 ldr r1, [r7, #4] + 800fc36: 68f8 ldr r0, [r7, #12] + 800fc38: f7ff ff8e bl 800fb58 #if LWIP_NETIF_EXT_STATUS_CALLBACK change_reason |= LWIP_NSC_IPV4_NETMASK_CHANGED; cb_args.ipv4_changed.old_netmask = old_nm; #endif } if (netif_do_set_gw(netif, gw, old_gw)) { - 80100ac: 69ba ldr r2, [r7, #24] - 80100ae: 6839 ldr r1, [r7, #0] - 80100b0: 68f8 ldr r0, [r7, #12] - 80100b2: f7ff ffa8 bl 8010006 + 800fc3c: 69ba ldr r2, [r7, #24] + 800fc3e: 6839 ldr r1, [r7, #0] + 800fc40: 68f8 ldr r0, [r7, #12] + 800fc42: f7ff ffa8 bl 800fb96 #if LWIP_NETIF_EXT_STATUS_CALLBACK change_reason |= LWIP_NSC_IPV4_GATEWAY_CHANGED; cb_args.ipv4_changed.old_gw = old_gw; #endif } if (!remove) { - 80100b6: 697b ldr r3, [r7, #20] - 80100b8: 2b00 cmp r3, #0 - 80100ba: d106 bne.n 80100ca + 800fc46: 697b ldr r3, [r7, #20] + 800fc48: 2b00 cmp r3, #0 + 800fc4a: d106 bne.n 800fc5a /* set ipaddr last to ensure netmask/gw have been set when status callback is called */ if (netif_do_set_ipaddr(netif, ipaddr, &old_addr)) { - 80100bc: f107 0310 add.w r3, r7, #16 - 80100c0: 461a mov r2, r3 - 80100c2: 68b9 ldr r1, [r7, #8] - 80100c4: 68f8 ldr r0, [r7, #12] - 80100c6: f7ff ff35 bl 800ff34 + 800fc4c: f107 0310 add.w r3, r7, #16 + 800fc50: 461a mov r2, r3 + 800fc52: 68b9 ldr r1, [r7, #8] + 800fc54: 68f8 ldr r0, [r7, #12] + 800fc56: f7ff ff35 bl 800fac4 if (change_reason != LWIP_NSC_NONE) { change_reason |= LWIP_NSC_IPV4_SETTINGS_CHANGED; netif_invoke_ext_callback(netif, change_reason, &cb_args); } #endif } - 80100ca: bf00 nop - 80100cc: 3720 adds r7, #32 - 80100ce: 46bd mov sp, r7 - 80100d0: bd80 pop {r7, pc} - 80100d2: bf00 nop - 80100d4: 0802166c .word 0x0802166c + 800fc5a: bf00 nop + 800fc5c: 3720 adds r7, #32 + 800fc5e: 46bd mov sp, r7 + 800fc60: bd80 pop {r7, pc} + 800fc62: bf00 nop + 800fc64: 08020e68 .word 0x08020e68 -080100d8 : +0800fc68 : * * @param netif the default network interface */ void netif_set_default(struct netif *netif) { - 80100d8: b480 push {r7} - 80100da: b083 sub sp, #12 - 80100dc: af00 add r7, sp, #0 - 80100de: 6078 str r0, [r7, #4] + 800fc68: b480 push {r7} + 800fc6a: b083 sub sp, #12 + 800fc6c: af00 add r7, sp, #0 + 800fc6e: 6078 str r0, [r7, #4] mib2_remove_route_ip4(1, netif); } else { /* install default route */ mib2_add_route_ip4(1, netif); } netif_default = netif; - 80100e0: 4a04 ldr r2, [pc, #16] ; (80100f4 ) - 80100e2: 687b ldr r3, [r7, #4] - 80100e4: 6013 str r3, [r2, #0] + 800fc70: 4a04 ldr r2, [pc, #16] ; (800fc84 ) + 800fc72: 687b ldr r3, [r7, #4] + 800fc74: 6013 str r3, [r2, #0] LWIP_DEBUGF(NETIF_DEBUG, ("netif: setting default interface %c%c\n", netif ? netif->name[0] : '\'', netif ? netif->name[1] : '\'')); } - 80100e6: bf00 nop - 80100e8: 370c adds r7, #12 - 80100ea: 46bd mov sp, r7 - 80100ec: f85d 7b04 ldr.w r7, [sp], #4 - 80100f0: 4770 bx lr - 80100f2: bf00 nop - 80100f4: 2000f5b8 .word 0x2000f5b8 + 800fc76: bf00 nop + 800fc78: 370c adds r7, #12 + 800fc7a: 46bd mov sp, r7 + 800fc7c: f85d 7b04 ldr.w r7, [sp], #4 + 800fc80: 4770 bx lr + 800fc82: bf00 nop + 800fc84: 2000f5b4 .word 0x2000f5b4 -080100f8 : +0800fc88 : * Bring an interface up, available for processing * traffic. */ void netif_set_up(struct netif *netif) { - 80100f8: b580 push {r7, lr} - 80100fa: b082 sub sp, #8 - 80100fc: af00 add r7, sp, #0 - 80100fe: 6078 str r0, [r7, #4] + 800fc88: b580 push {r7, lr} + 800fc8a: b082 sub sp, #8 + 800fc8c: af00 add r7, sp, #0 + 800fc8e: 6078 str r0, [r7, #4] LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("netif_set_up: invalid netif", netif != NULL, return); - 8010100: 687b ldr r3, [r7, #4] - 8010102: 2b00 cmp r3, #0 - 8010104: d107 bne.n 8010116 - 8010106: 4b0f ldr r3, [pc, #60] ; (8010144 ) - 8010108: f44f 7254 mov.w r2, #848 ; 0x350 - 801010c: 490e ldr r1, [pc, #56] ; (8010148 ) - 801010e: 480f ldr r0, [pc, #60] ; (801014c ) - 8010110: f00b f9d2 bl 801b4b8 - 8010114: e013 b.n 801013e + 800fc90: 687b ldr r3, [r7, #4] + 800fc92: 2b00 cmp r3, #0 + 800fc94: d107 bne.n 800fca6 + 800fc96: 4b0f ldr r3, [pc, #60] ; (800fcd4 ) + 800fc98: f44f 7254 mov.w r2, #848 ; 0x350 + 800fc9c: 490e ldr r1, [pc, #56] ; (800fcd8 ) + 800fc9e: 480f ldr r0, [pc, #60] ; (800fcdc ) + 800fca0: f00b f9b8 bl 801b014 + 800fca4: e013 b.n 800fcce if (!(netif->flags & NETIF_FLAG_UP)) { - 8010116: 687b ldr r3, [r7, #4] - 8010118: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 801011c: f003 0301 and.w r3, r3, #1 - 8010120: 2b00 cmp r3, #0 - 8010122: d10c bne.n 801013e + 800fca6: 687b ldr r3, [r7, #4] + 800fca8: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800fcac: f003 0301 and.w r3, r3, #1 + 800fcb0: 2b00 cmp r3, #0 + 800fcb2: d10c bne.n 800fcce netif_set_flags(netif, NETIF_FLAG_UP); - 8010124: 687b ldr r3, [r7, #4] - 8010126: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 801012a: f043 0301 orr.w r3, r3, #1 - 801012e: b2da uxtb r2, r3 - 8010130: 687b ldr r3, [r7, #4] - 8010132: f883 2031 strb.w r2, [r3, #49] ; 0x31 + 800fcb4: 687b ldr r3, [r7, #4] + 800fcb6: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800fcba: f043 0301 orr.w r3, r3, #1 + 800fcbe: b2da uxtb r2, r3 + 800fcc0: 687b ldr r3, [r7, #4] + 800fcc2: f883 2031 strb.w r2, [r3, #49] ; 0x31 args.status_changed.state = 1; netif_invoke_ext_callback(netif, LWIP_NSC_STATUS_CHANGED, &args); } #endif netif_issue_reports(netif, NETIF_REPORT_TYPE_IPV4 | NETIF_REPORT_TYPE_IPV6); - 8010136: 2103 movs r1, #3 - 8010138: 6878 ldr r0, [r7, #4] - 801013a: f000 f809 bl 8010150 + 800fcc6: 2103 movs r1, #3 + 800fcc8: 6878 ldr r0, [r7, #4] + 800fcca: f000 f809 bl 800fce0 #if LWIP_IPV6 nd6_restart_netif(netif); #endif /* LWIP_IPV6 */ } } - 801013e: 3708 adds r7, #8 - 8010140: 46bd mov sp, r7 - 8010142: bd80 pop {r7, pc} - 8010144: 0801cc1c .word 0x0801cc1c - 8010148: 0801cda4 .word 0x0801cda4 - 801014c: 0801cc6c .word 0x0801cc6c + 800fcce: 3708 adds r7, #8 + 800fcd0: 46bd mov sp, r7 + 800fcd2: bd80 pop {r7, pc} + 800fcd4: 0801c418 .word 0x0801c418 + 800fcd8: 0801c5a0 .word 0x0801c5a0 + 800fcdc: 0801c468 .word 0x0801c468 -08010150 : +0800fce0 : /** Send ARP/IGMP/MLD/RS events, e.g. on link-up/netif-up or addr-change */ static void netif_issue_reports(struct netif *netif, u8_t report_type) { - 8010150: b580 push {r7, lr} - 8010152: b082 sub sp, #8 - 8010154: af00 add r7, sp, #0 - 8010156: 6078 str r0, [r7, #4] - 8010158: 460b mov r3, r1 - 801015a: 70fb strb r3, [r7, #3] + 800fce0: b580 push {r7, lr} + 800fce2: b082 sub sp, #8 + 800fce4: af00 add r7, sp, #0 + 800fce6: 6078 str r0, [r7, #4] + 800fce8: 460b mov r3, r1 + 800fcea: 70fb strb r3, [r7, #3] LWIP_ASSERT("netif_issue_reports: invalid netif", netif != NULL); - 801015c: 687b ldr r3, [r7, #4] - 801015e: 2b00 cmp r3, #0 - 8010160: d106 bne.n 8010170 - 8010162: 4b18 ldr r3, [pc, #96] ; (80101c4 ) - 8010164: f240 326d movw r2, #877 ; 0x36d - 8010168: 4917 ldr r1, [pc, #92] ; (80101c8 ) - 801016a: 4818 ldr r0, [pc, #96] ; (80101cc ) - 801016c: f00b f9a4 bl 801b4b8 + 800fcec: 687b ldr r3, [r7, #4] + 800fcee: 2b00 cmp r3, #0 + 800fcf0: d106 bne.n 800fd00 + 800fcf2: 4b18 ldr r3, [pc, #96] ; (800fd54 ) + 800fcf4: f240 326d movw r2, #877 ; 0x36d + 800fcf8: 4917 ldr r1, [pc, #92] ; (800fd58 ) + 800fcfa: 4818 ldr r0, [pc, #96] ; (800fd5c ) + 800fcfc: f00b f98a bl 801b014 /* Only send reports when both link and admin states are up */ if (!(netif->flags & NETIF_FLAG_LINK_UP) || - 8010170: 687b ldr r3, [r7, #4] - 8010172: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8010176: f003 0304 and.w r3, r3, #4 - 801017a: 2b00 cmp r3, #0 - 801017c: d01e beq.n 80101bc + 800fd00: 687b ldr r3, [r7, #4] + 800fd02: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800fd06: f003 0304 and.w r3, r3, #4 + 800fd0a: 2b00 cmp r3, #0 + 800fd0c: d01e beq.n 800fd4c !(netif->flags & NETIF_FLAG_UP)) { - 801017e: 687b ldr r3, [r7, #4] - 8010180: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8010184: f003 0301 and.w r3, r3, #1 + 800fd0e: 687b ldr r3, [r7, #4] + 800fd10: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800fd14: f003 0301 and.w r3, r3, #1 if (!(netif->flags & NETIF_FLAG_LINK_UP) || - 8010188: 2b00 cmp r3, #0 - 801018a: d017 beq.n 80101bc + 800fd18: 2b00 cmp r3, #0 + 800fd1a: d017 beq.n 800fd4c return; } #if LWIP_IPV4 if ((report_type & NETIF_REPORT_TYPE_IPV4) && - 801018c: 78fb ldrb r3, [r7, #3] - 801018e: f003 0301 and.w r3, r3, #1 - 8010192: 2b00 cmp r3, #0 - 8010194: d013 beq.n 80101be + 800fd1c: 78fb ldrb r3, [r7, #3] + 800fd1e: f003 0301 and.w r3, r3, #1 + 800fd22: 2b00 cmp r3, #0 + 800fd24: d013 beq.n 800fd4e !ip4_addr_isany_val(*netif_ip4_addr(netif))) { - 8010196: 687b ldr r3, [r7, #4] - 8010198: 3304 adds r3, #4 - 801019a: 681b ldr r3, [r3, #0] + 800fd26: 687b ldr r3, [r7, #4] + 800fd28: 3304 adds r3, #4 + 800fd2a: 681b ldr r3, [r3, #0] if ((report_type & NETIF_REPORT_TYPE_IPV4) && - 801019c: 2b00 cmp r3, #0 - 801019e: d00e beq.n 80101be + 800fd2c: 2b00 cmp r3, #0 + 800fd2e: d00e beq.n 800fd4e #if LWIP_ARP /* For Ethernet network interfaces, we would like to send a "gratuitous ARP" */ if (netif->flags & (NETIF_FLAG_ETHARP)) { - 80101a0: 687b ldr r3, [r7, #4] - 80101a2: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 80101a6: f003 0308 and.w r3, r3, #8 - 80101aa: 2b00 cmp r3, #0 - 80101ac: d007 beq.n 80101be + 800fd30: 687b ldr r3, [r7, #4] + 800fd32: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800fd36: f003 0308 and.w r3, r3, #8 + 800fd3a: 2b00 cmp r3, #0 + 800fd3c: d007 beq.n 800fd4e etharp_gratuitous(netif); - 80101ae: 687b ldr r3, [r7, #4] - 80101b0: 3304 adds r3, #4 - 80101b2: 4619 mov r1, r3 - 80101b4: 6878 ldr r0, [r7, #4] - 80101b6: f009 fc6b bl 8019a90 - 80101ba: e000 b.n 80101be + 800fd3e: 687b ldr r3, [r7, #4] + 800fd40: 3304 adds r3, #4 + 800fd42: 4619 mov r1, r3 + 800fd44: 6878 ldr r0, [r7, #4] + 800fd46: f009 fc6b bl 8019620 + 800fd4a: e000 b.n 800fd4e return; - 80101bc: bf00 nop + 800fd4c: bf00 nop /* send mld memberships */ mld6_report_groups(netif); #endif /* LWIP_IPV6_MLD */ } #endif /* LWIP_IPV6 */ } - 80101be: 3708 adds r7, #8 - 80101c0: 46bd mov sp, r7 - 80101c2: bd80 pop {r7, pc} - 80101c4: 0801cc1c .word 0x0801cc1c - 80101c8: 0801cdc0 .word 0x0801cdc0 - 80101cc: 0801cc6c .word 0x0801cc6c + 800fd4e: 3708 adds r7, #8 + 800fd50: 46bd mov sp, r7 + 800fd52: bd80 pop {r7, pc} + 800fd54: 0801c418 .word 0x0801c418 + 800fd58: 0801c5bc .word 0x0801c5bc + 800fd5c: 0801c468 .word 0x0801c468 -080101d0 : +0800fd60 : * @ingroup netif * Bring an interface down, disabling any traffic processing. */ void netif_set_down(struct netif *netif) { - 80101d0: b580 push {r7, lr} - 80101d2: b082 sub sp, #8 - 80101d4: af00 add r7, sp, #0 - 80101d6: 6078 str r0, [r7, #4] + 800fd60: b580 push {r7, lr} + 800fd62: b082 sub sp, #8 + 800fd64: af00 add r7, sp, #0 + 800fd66: 6078 str r0, [r7, #4] LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("netif_set_down: invalid netif", netif != NULL, return); - 80101d8: 687b ldr r3, [r7, #4] - 80101da: 2b00 cmp r3, #0 - 80101dc: d107 bne.n 80101ee - 80101de: 4b12 ldr r3, [pc, #72] ; (8010228 ) - 80101e0: f240 329b movw r2, #923 ; 0x39b - 80101e4: 4911 ldr r1, [pc, #68] ; (801022c ) - 80101e6: 4812 ldr r0, [pc, #72] ; (8010230 ) - 80101e8: f00b f966 bl 801b4b8 - 80101ec: e019 b.n 8010222 + 800fd68: 687b ldr r3, [r7, #4] + 800fd6a: 2b00 cmp r3, #0 + 800fd6c: d107 bne.n 800fd7e + 800fd6e: 4b12 ldr r3, [pc, #72] ; (800fdb8 ) + 800fd70: f240 329b movw r2, #923 ; 0x39b + 800fd74: 4911 ldr r1, [pc, #68] ; (800fdbc ) + 800fd76: 4812 ldr r0, [pc, #72] ; (800fdc0 ) + 800fd78: f00b f94c bl 801b014 + 800fd7c: e019 b.n 800fdb2 if (netif->flags & NETIF_FLAG_UP) { - 80101ee: 687b ldr r3, [r7, #4] - 80101f0: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 80101f4: f003 0301 and.w r3, r3, #1 - 80101f8: 2b00 cmp r3, #0 - 80101fa: d012 beq.n 8010222 + 800fd7e: 687b ldr r3, [r7, #4] + 800fd80: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800fd84: f003 0301 and.w r3, r3, #1 + 800fd88: 2b00 cmp r3, #0 + 800fd8a: d012 beq.n 800fdb2 args.status_changed.state = 0; netif_invoke_ext_callback(netif, LWIP_NSC_STATUS_CHANGED, &args); } #endif netif_clear_flags(netif, NETIF_FLAG_UP); - 80101fc: 687b ldr r3, [r7, #4] - 80101fe: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8010202: f023 0301 bic.w r3, r3, #1 - 8010206: b2da uxtb r2, r3 - 8010208: 687b ldr r3, [r7, #4] - 801020a: f883 2031 strb.w r2, [r3, #49] ; 0x31 + 800fd8c: 687b ldr r3, [r7, #4] + 800fd8e: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800fd92: f023 0301 bic.w r3, r3, #1 + 800fd96: b2da uxtb r2, r3 + 800fd98: 687b ldr r3, [r7, #4] + 800fd9a: f883 2031 strb.w r2, [r3, #49] ; 0x31 MIB2_COPY_SYSUPTIME_TO(&netif->ts); #if LWIP_IPV4 && LWIP_ARP if (netif->flags & NETIF_FLAG_ETHARP) { - 801020e: 687b ldr r3, [r7, #4] - 8010210: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8010214: f003 0308 and.w r3, r3, #8 - 8010218: 2b00 cmp r3, #0 - 801021a: d002 beq.n 8010222 + 800fd9e: 687b ldr r3, [r7, #4] + 800fda0: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800fda4: f003 0308 and.w r3, r3, #8 + 800fda8: 2b00 cmp r3, #0 + 800fdaa: d002 beq.n 800fdb2 etharp_cleanup_netif(netif); - 801021c: 6878 ldr r0, [r7, #4] - 801021e: f008 fff1 bl 8019204 + 800fdac: 6878 ldr r0, [r7, #4] + 800fdae: f008 fff1 bl 8018d94 nd6_cleanup_netif(netif); #endif /* LWIP_IPV6 */ NETIF_STATUS_CALLBACK(netif); } } - 8010222: 3708 adds r7, #8 - 8010224: 46bd mov sp, r7 - 8010226: bd80 pop {r7, pc} - 8010228: 0801cc1c .word 0x0801cc1c - 801022c: 0801cde4 .word 0x0801cde4 - 8010230: 0801cc6c .word 0x0801cc6c + 800fdb2: 3708 adds r7, #8 + 800fdb4: 46bd mov sp, r7 + 800fdb6: bd80 pop {r7, pc} + 800fdb8: 0801c418 .word 0x0801c418 + 800fdbc: 0801c5e0 .word 0x0801c5e0 + 800fdc0: 0801c468 .word 0x0801c468 -08010234 : +0800fdc4 : * @ingroup netif * Called by a driver when its link goes up */ void netif_set_link_up(struct netif *netif) { - 8010234: b580 push {r7, lr} - 8010236: b082 sub sp, #8 - 8010238: af00 add r7, sp, #0 - 801023a: 6078 str r0, [r7, #4] + 800fdc4: b580 push {r7, lr} + 800fdc6: b082 sub sp, #8 + 800fdc8: af00 add r7, sp, #0 + 800fdca: 6078 str r0, [r7, #4] LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("netif_set_link_up: invalid netif", netif != NULL, return); - 801023c: 687b ldr r3, [r7, #4] - 801023e: 2b00 cmp r3, #0 - 8010240: d107 bne.n 8010252 - 8010242: 4b15 ldr r3, [pc, #84] ; (8010298 ) - 8010244: f44f 7278 mov.w r2, #992 ; 0x3e0 - 8010248: 4914 ldr r1, [pc, #80] ; (801029c ) - 801024a: 4815 ldr r0, [pc, #84] ; (80102a0 ) - 801024c: f00b f934 bl 801b4b8 - 8010250: e01e b.n 8010290 + 800fdcc: 687b ldr r3, [r7, #4] + 800fdce: 2b00 cmp r3, #0 + 800fdd0: d107 bne.n 800fde2 + 800fdd2: 4b15 ldr r3, [pc, #84] ; (800fe28 ) + 800fdd4: f44f 7278 mov.w r2, #992 ; 0x3e0 + 800fdd8: 4914 ldr r1, [pc, #80] ; (800fe2c ) + 800fdda: 4815 ldr r0, [pc, #84] ; (800fe30 ) + 800fddc: f00b f91a bl 801b014 + 800fde0: e01e b.n 800fe20 if (!(netif->flags & NETIF_FLAG_LINK_UP)) { - 8010252: 687b ldr r3, [r7, #4] - 8010254: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8010258: f003 0304 and.w r3, r3, #4 - 801025c: 2b00 cmp r3, #0 - 801025e: d117 bne.n 8010290 + 800fde2: 687b ldr r3, [r7, #4] + 800fde4: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800fde8: f003 0304 and.w r3, r3, #4 + 800fdec: 2b00 cmp r3, #0 + 800fdee: d117 bne.n 800fe20 netif_set_flags(netif, NETIF_FLAG_LINK_UP); - 8010260: 687b ldr r3, [r7, #4] - 8010262: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8010266: f043 0304 orr.w r3, r3, #4 - 801026a: b2da uxtb r2, r3 - 801026c: 687b ldr r3, [r7, #4] - 801026e: f883 2031 strb.w r2, [r3, #49] ; 0x31 + 800fdf0: 687b ldr r3, [r7, #4] + 800fdf2: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800fdf6: f043 0304 orr.w r3, r3, #4 + 800fdfa: b2da uxtb r2, r3 + 800fdfc: 687b ldr r3, [r7, #4] + 800fdfe: f883 2031 strb.w r2, [r3, #49] ; 0x31 #if LWIP_DHCP dhcp_network_changed(netif); - 8010272: 6878 ldr r0, [r7, #4] - 8010274: f007 fa26 bl 80176c4 + 800fe02: 6878 ldr r0, [r7, #4] + 800fe04: f007 fa26 bl 8017254 #if LWIP_AUTOIP autoip_network_changed(netif); #endif /* LWIP_AUTOIP */ netif_issue_reports(netif, NETIF_REPORT_TYPE_IPV4 | NETIF_REPORT_TYPE_IPV6); - 8010278: 2103 movs r1, #3 - 801027a: 6878 ldr r0, [r7, #4] - 801027c: f7ff ff68 bl 8010150 + 800fe08: 2103 movs r1, #3 + 800fe0a: 6878 ldr r0, [r7, #4] + 800fe0c: f7ff ff68 bl 800fce0 #if LWIP_IPV6 nd6_restart_netif(netif); #endif /* LWIP_IPV6 */ NETIF_LINK_CALLBACK(netif); - 8010280: 687b ldr r3, [r7, #4] - 8010282: 69db ldr r3, [r3, #28] - 8010284: 2b00 cmp r3, #0 - 8010286: d003 beq.n 8010290 - 8010288: 687b ldr r3, [r7, #4] - 801028a: 69db ldr r3, [r3, #28] - 801028c: 6878 ldr r0, [r7, #4] - 801028e: 4798 blx r3 + 800fe10: 687b ldr r3, [r7, #4] + 800fe12: 69db ldr r3, [r3, #28] + 800fe14: 2b00 cmp r3, #0 + 800fe16: d003 beq.n 800fe20 + 800fe18: 687b ldr r3, [r7, #4] + 800fe1a: 69db ldr r3, [r3, #28] + 800fe1c: 6878 ldr r0, [r7, #4] + 800fe1e: 4798 blx r3 args.link_changed.state = 1; netif_invoke_ext_callback(netif, LWIP_NSC_LINK_CHANGED, &args); } #endif } } - 8010290: 3708 adds r7, #8 - 8010292: 46bd mov sp, r7 - 8010294: bd80 pop {r7, pc} - 8010296: bf00 nop - 8010298: 0801cc1c .word 0x0801cc1c - 801029c: 0801ce04 .word 0x0801ce04 - 80102a0: 0801cc6c .word 0x0801cc6c + 800fe20: 3708 adds r7, #8 + 800fe22: 46bd mov sp, r7 + 800fe24: bd80 pop {r7, pc} + 800fe26: bf00 nop + 800fe28: 0801c418 .word 0x0801c418 + 800fe2c: 0801c600 .word 0x0801c600 + 800fe30: 0801c468 .word 0x0801c468 -080102a4 : +0800fe34 : * @ingroup netif * Called by a driver when its link goes down */ void netif_set_link_down(struct netif *netif) { - 80102a4: b580 push {r7, lr} - 80102a6: b082 sub sp, #8 - 80102a8: af00 add r7, sp, #0 - 80102aa: 6078 str r0, [r7, #4] + 800fe34: b580 push {r7, lr} + 800fe36: b082 sub sp, #8 + 800fe38: af00 add r7, sp, #0 + 800fe3a: 6078 str r0, [r7, #4] LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("netif_set_link_down: invalid netif", netif != NULL, return); - 80102ac: 687b ldr r3, [r7, #4] - 80102ae: 2b00 cmp r3, #0 - 80102b0: d107 bne.n 80102c2 - 80102b2: 4b11 ldr r3, [pc, #68] ; (80102f8 ) - 80102b4: f240 4206 movw r2, #1030 ; 0x406 - 80102b8: 4910 ldr r1, [pc, #64] ; (80102fc ) - 80102ba: 4811 ldr r0, [pc, #68] ; (8010300 ) - 80102bc: f00b f8fc bl 801b4b8 - 80102c0: e017 b.n 80102f2 + 800fe3c: 687b ldr r3, [r7, #4] + 800fe3e: 2b00 cmp r3, #0 + 800fe40: d107 bne.n 800fe52 + 800fe42: 4b11 ldr r3, [pc, #68] ; (800fe88 ) + 800fe44: f240 4206 movw r2, #1030 ; 0x406 + 800fe48: 4910 ldr r1, [pc, #64] ; (800fe8c ) + 800fe4a: 4811 ldr r0, [pc, #68] ; (800fe90 ) + 800fe4c: f00b f8e2 bl 801b014 + 800fe50: e017 b.n 800fe82 if (netif->flags & NETIF_FLAG_LINK_UP) { - 80102c2: 687b ldr r3, [r7, #4] - 80102c4: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 80102c8: f003 0304 and.w r3, r3, #4 - 80102cc: 2b00 cmp r3, #0 - 80102ce: d010 beq.n 80102f2 + 800fe52: 687b ldr r3, [r7, #4] + 800fe54: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800fe58: f003 0304 and.w r3, r3, #4 + 800fe5c: 2b00 cmp r3, #0 + 800fe5e: d010 beq.n 800fe82 netif_clear_flags(netif, NETIF_FLAG_LINK_UP); - 80102d0: 687b ldr r3, [r7, #4] - 80102d2: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 80102d6: f023 0304 bic.w r3, r3, #4 - 80102da: b2da uxtb r2, r3 - 80102dc: 687b ldr r3, [r7, #4] - 80102de: f883 2031 strb.w r2, [r3, #49] ; 0x31 + 800fe60: 687b ldr r3, [r7, #4] + 800fe62: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 800fe66: f023 0304 bic.w r3, r3, #4 + 800fe6a: b2da uxtb r2, r3 + 800fe6c: 687b ldr r3, [r7, #4] + 800fe6e: f883 2031 strb.w r2, [r3, #49] ; 0x31 NETIF_LINK_CALLBACK(netif); - 80102e2: 687b ldr r3, [r7, #4] - 80102e4: 69db ldr r3, [r3, #28] - 80102e6: 2b00 cmp r3, #0 - 80102e8: d003 beq.n 80102f2 - 80102ea: 687b ldr r3, [r7, #4] - 80102ec: 69db ldr r3, [r3, #28] - 80102ee: 6878 ldr r0, [r7, #4] - 80102f0: 4798 blx r3 + 800fe72: 687b ldr r3, [r7, #4] + 800fe74: 69db ldr r3, [r3, #28] + 800fe76: 2b00 cmp r3, #0 + 800fe78: d003 beq.n 800fe82 + 800fe7a: 687b ldr r3, [r7, #4] + 800fe7c: 69db ldr r3, [r3, #28] + 800fe7e: 6878 ldr r0, [r7, #4] + 800fe80: 4798 blx r3 args.link_changed.state = 0; netif_invoke_ext_callback(netif, LWIP_NSC_LINK_CHANGED, &args); } #endif } } - 80102f2: 3708 adds r7, #8 - 80102f4: 46bd mov sp, r7 - 80102f6: bd80 pop {r7, pc} - 80102f8: 0801cc1c .word 0x0801cc1c - 80102fc: 0801ce28 .word 0x0801ce28 - 8010300: 0801cc6c .word 0x0801cc6c + 800fe82: 3708 adds r7, #8 + 800fe84: 46bd mov sp, r7 + 800fe86: bd80 pop {r7, pc} + 800fe88: 0801c418 .word 0x0801c418 + 800fe8c: 0801c624 .word 0x0801c624 + 800fe90: 0801c468 .word 0x0801c468 -08010304 : +0800fe94 : * @ingroup netif * Set callback to be called when link is brought up/down */ void netif_set_link_callback(struct netif *netif, netif_status_callback_fn link_callback) { - 8010304: b480 push {r7} - 8010306: b083 sub sp, #12 - 8010308: af00 add r7, sp, #0 - 801030a: 6078 str r0, [r7, #4] - 801030c: 6039 str r1, [r7, #0] + 800fe94: b480 push {r7} + 800fe96: b083 sub sp, #12 + 800fe98: af00 add r7, sp, #0 + 800fe9a: 6078 str r0, [r7, #4] + 800fe9c: 6039 str r1, [r7, #0] LWIP_ASSERT_CORE_LOCKED(); if (netif) { - 801030e: 687b ldr r3, [r7, #4] - 8010310: 2b00 cmp r3, #0 - 8010312: d002 beq.n 801031a + 800fe9e: 687b ldr r3, [r7, #4] + 800fea0: 2b00 cmp r3, #0 + 800fea2: d002 beq.n 800feaa netif->link_callback = link_callback; - 8010314: 687b ldr r3, [r7, #4] - 8010316: 683a ldr r2, [r7, #0] - 8010318: 61da str r2, [r3, #28] + 800fea4: 687b ldr r3, [r7, #4] + 800fea6: 683a ldr r2, [r7, #0] + 800fea8: 61da str r2, [r3, #28] } } - 801031a: bf00 nop - 801031c: 370c adds r7, #12 - 801031e: 46bd mov sp, r7 - 8010320: f85d 7b04 ldr.w r7, [sp], #4 - 8010324: 4770 bx lr + 800feaa: bf00 nop + 800feac: 370c adds r7, #12 + 800feae: 46bd mov sp, r7 + 800feb0: f85d 7b04 ldr.w r7, [sp], #4 + 800feb4: 4770 bx lr -08010326 : +0800feb6 : #if LWIP_IPV4 /** Dummy IPv4 output function for netifs not supporting IPv4 */ static err_t netif_null_output_ip4(struct netif *netif, struct pbuf *p, const ip4_addr_t *ipaddr) { - 8010326: b480 push {r7} - 8010328: b085 sub sp, #20 - 801032a: af00 add r7, sp, #0 - 801032c: 60f8 str r0, [r7, #12] - 801032e: 60b9 str r1, [r7, #8] - 8010330: 607a str r2, [r7, #4] + 800feb6: b480 push {r7} + 800feb8: b085 sub sp, #20 + 800feba: af00 add r7, sp, #0 + 800febc: 60f8 str r0, [r7, #12] + 800febe: 60b9 str r1, [r7, #8] + 800fec0: 607a str r2, [r7, #4] LWIP_UNUSED_ARG(netif); LWIP_UNUSED_ARG(p); LWIP_UNUSED_ARG(ipaddr); return ERR_IF; - 8010332: f06f 030b mvn.w r3, #11 + 800fec2: f06f 030b mvn.w r3, #11 } - 8010336: 4618 mov r0, r3 - 8010338: 3714 adds r7, #20 - 801033a: 46bd mov sp, r7 - 801033c: f85d 7b04 ldr.w r7, [sp], #4 - 8010340: 4770 bx lr + 800fec6: 4618 mov r0, r3 + 800fec8: 3714 adds r7, #20 + 800feca: 46bd mov sp, r7 + 800fecc: f85d 7b04 ldr.w r7, [sp], #4 + 800fed0: 4770 bx lr ... -08010344 : +0800fed4 : * * @param idx index of netif to find */ struct netif * netif_get_by_index(u8_t idx) { - 8010344: b480 push {r7} - 8010346: b085 sub sp, #20 - 8010348: af00 add r7, sp, #0 - 801034a: 4603 mov r3, r0 - 801034c: 71fb strb r3, [r7, #7] + 800fed4: b480 push {r7} + 800fed6: b085 sub sp, #20 + 800fed8: af00 add r7, sp, #0 + 800feda: 4603 mov r3, r0 + 800fedc: 71fb strb r3, [r7, #7] struct netif *netif; LWIP_ASSERT_CORE_LOCKED(); if (idx != NETIF_NO_INDEX) { - 801034e: 79fb ldrb r3, [r7, #7] - 8010350: 2b00 cmp r3, #0 - 8010352: d013 beq.n 801037c + 800fede: 79fb ldrb r3, [r7, #7] + 800fee0: 2b00 cmp r3, #0 + 800fee2: d013 beq.n 800ff0c NETIF_FOREACH(netif) { - 8010354: 4b0d ldr r3, [pc, #52] ; (801038c ) - 8010356: 681b ldr r3, [r3, #0] - 8010358: 60fb str r3, [r7, #12] - 801035a: e00c b.n 8010376 + 800fee4: 4b0d ldr r3, [pc, #52] ; (800ff1c ) + 800fee6: 681b ldr r3, [r3, #0] + 800fee8: 60fb str r3, [r7, #12] + 800feea: e00c b.n 800ff06 if (idx == netif_get_index(netif)) { - 801035c: 68fb ldr r3, [r7, #12] - 801035e: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 - 8010362: 3301 adds r3, #1 - 8010364: b2db uxtb r3, r3 - 8010366: 79fa ldrb r2, [r7, #7] - 8010368: 429a cmp r2, r3 - 801036a: d101 bne.n 8010370 + 800feec: 68fb ldr r3, [r7, #12] + 800feee: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 + 800fef2: 3301 adds r3, #1 + 800fef4: b2db uxtb r3, r3 + 800fef6: 79fa ldrb r2, [r7, #7] + 800fef8: 429a cmp r2, r3 + 800fefa: d101 bne.n 800ff00 return netif; /* found! */ - 801036c: 68fb ldr r3, [r7, #12] - 801036e: e006 b.n 801037e + 800fefc: 68fb ldr r3, [r7, #12] + 800fefe: e006 b.n 800ff0e NETIF_FOREACH(netif) { - 8010370: 68fb ldr r3, [r7, #12] - 8010372: 681b ldr r3, [r3, #0] - 8010374: 60fb str r3, [r7, #12] - 8010376: 68fb ldr r3, [r7, #12] - 8010378: 2b00 cmp r3, #0 - 801037a: d1ef bne.n 801035c + 800ff00: 68fb ldr r3, [r7, #12] + 800ff02: 681b ldr r3, [r3, #0] + 800ff04: 60fb str r3, [r7, #12] + 800ff06: 68fb ldr r3, [r7, #12] + 800ff08: 2b00 cmp r3, #0 + 800ff0a: d1ef bne.n 800feec } } } return NULL; - 801037c: 2300 movs r3, #0 + 800ff0c: 2300 movs r3, #0 } - 801037e: 4618 mov r0, r3 - 8010380: 3714 adds r7, #20 - 8010382: 46bd mov sp, r7 - 8010384: f85d 7b04 ldr.w r7, [sp], #4 - 8010388: 4770 bx lr - 801038a: bf00 nop - 801038c: 2000f5b4 .word 0x2000f5b4 + 800ff0e: 4618 mov r0, r3 + 800ff10: 3714 adds r7, #20 + 800ff12: 46bd mov sp, r7 + 800ff14: f85d 7b04 ldr.w r7, [sp], #4 + 800ff18: 4770 bx lr + 800ff1a: bf00 nop + 800ff1c: 2000f5b0 .word 0x2000f5b0 -08010390 : +0800ff20 : #if !NO_SYS static #endif /* !NO_SYS */ void pbuf_free_ooseq(void) { - 8010390: b580 push {r7, lr} - 8010392: b082 sub sp, #8 - 8010394: af00 add r7, sp, #0 + 800ff20: b580 push {r7, lr} + 800ff22: b082 sub sp, #8 + 800ff24: af00 add r7, sp, #0 struct tcp_pcb *pcb; SYS_ARCH_SET(pbuf_free_ooseq_pending, 0); - 8010396: f00b f811 bl 801b3bc - 801039a: 6038 str r0, [r7, #0] - 801039c: 4b0d ldr r3, [pc, #52] ; (80103d4 ) - 801039e: 2200 movs r2, #0 - 80103a0: 701a strb r2, [r3, #0] - 80103a2: 6838 ldr r0, [r7, #0] - 80103a4: f00b f818 bl 801b3d8 + 800ff26: f00b f811 bl 801af4c + 800ff2a: 6038 str r0, [r7, #0] + 800ff2c: 4b0d ldr r3, [pc, #52] ; (800ff64 ) + 800ff2e: 2200 movs r2, #0 + 800ff30: 701a strb r2, [r3, #0] + 800ff32: 6838 ldr r0, [r7, #0] + 800ff34: f00b f818 bl 801af68 for (pcb = tcp_active_pcbs; NULL != pcb; pcb = pcb->next) { - 80103a8: 4b0b ldr r3, [pc, #44] ; (80103d8 ) - 80103aa: 681b ldr r3, [r3, #0] - 80103ac: 607b str r3, [r7, #4] - 80103ae: e00a b.n 80103c6 + 800ff38: 4b0b ldr r3, [pc, #44] ; (800ff68 ) + 800ff3a: 681b ldr r3, [r3, #0] + 800ff3c: 607b str r3, [r7, #4] + 800ff3e: e00a b.n 800ff56 if (pcb->ooseq != NULL) { - 80103b0: 687b ldr r3, [r7, #4] - 80103b2: 6f5b ldr r3, [r3, #116] ; 0x74 - 80103b4: 2b00 cmp r3, #0 - 80103b6: d003 beq.n 80103c0 + 800ff40: 687b ldr r3, [r7, #4] + 800ff42: 6f5b ldr r3, [r3, #116] ; 0x74 + 800ff44: 2b00 cmp r3, #0 + 800ff46: d003 beq.n 800ff50 /** Free the ooseq pbufs of one PCB only */ LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_free_ooseq: freeing out-of-sequence pbufs\n")); tcp_free_ooseq(pcb); - 80103b8: 6878 ldr r0, [r7, #4] - 80103ba: f002 f971 bl 80126a0 + 800ff48: 6878 ldr r0, [r7, #4] + 800ff4a: f002 f971 bl 8012230 return; - 80103be: e005 b.n 80103cc + 800ff4e: e005 b.n 800ff5c for (pcb = tcp_active_pcbs; NULL != pcb; pcb = pcb->next) { - 80103c0: 687b ldr r3, [r7, #4] - 80103c2: 68db ldr r3, [r3, #12] - 80103c4: 607b str r3, [r7, #4] - 80103c6: 687b ldr r3, [r7, #4] - 80103c8: 2b00 cmp r3, #0 - 80103ca: d1f1 bne.n 80103b0 + 800ff50: 687b ldr r3, [r7, #4] + 800ff52: 68db ldr r3, [r3, #12] + 800ff54: 607b str r3, [r7, #4] + 800ff56: 687b ldr r3, [r7, #4] + 800ff58: 2b00 cmp r3, #0 + 800ff5a: d1f1 bne.n 800ff40 } } } - 80103cc: 3708 adds r7, #8 - 80103ce: 46bd mov sp, r7 - 80103d0: bd80 pop {r7, pc} - 80103d2: bf00 nop - 80103d4: 2000f5bc .word 0x2000f5bc - 80103d8: 2000f5c4 .word 0x2000f5c4 + 800ff5c: 3708 adds r7, #8 + 800ff5e: 46bd mov sp, r7 + 800ff60: bd80 pop {r7, pc} + 800ff62: bf00 nop + 800ff64: 2000f5b8 .word 0x2000f5b8 + 800ff68: 2000f5c0 .word 0x2000f5c0 -080103dc : +0800ff6c : /** * Just a callback function for tcpip_callback() that calls pbuf_free_ooseq(). */ static void pbuf_free_ooseq_callback(void *arg) { - 80103dc: b580 push {r7, lr} - 80103de: b082 sub sp, #8 - 80103e0: af00 add r7, sp, #0 - 80103e2: 6078 str r0, [r7, #4] + 800ff6c: b580 push {r7, lr} + 800ff6e: b082 sub sp, #8 + 800ff70: af00 add r7, sp, #0 + 800ff72: 6078 str r0, [r7, #4] LWIP_UNUSED_ARG(arg); pbuf_free_ooseq(); - 80103e4: f7ff ffd4 bl 8010390 + 800ff74: f7ff ffd4 bl 800ff20 } - 80103e8: bf00 nop - 80103ea: 3708 adds r7, #8 - 80103ec: 46bd mov sp, r7 - 80103ee: bd80 pop {r7, pc} + 800ff78: bf00 nop + 800ff7a: 3708 adds r7, #8 + 800ff7c: 46bd mov sp, r7 + 800ff7e: bd80 pop {r7, pc} -080103f0 : +0800ff80 : #endif /* !NO_SYS */ /** Queue a call to pbuf_free_ooseq if not already queued. */ static void pbuf_pool_is_empty(void) { - 80103f0: b580 push {r7, lr} - 80103f2: b082 sub sp, #8 - 80103f4: af00 add r7, sp, #0 + 800ff80: b580 push {r7, lr} + 800ff82: b082 sub sp, #8 + 800ff84: af00 add r7, sp, #0 #ifndef PBUF_POOL_FREE_OOSEQ_QUEUE_CALL SYS_ARCH_SET(pbuf_free_ooseq_pending, 1); #else /* PBUF_POOL_FREE_OOSEQ_QUEUE_CALL */ u8_t queued; SYS_ARCH_DECL_PROTECT(old_level); SYS_ARCH_PROTECT(old_level); - 80103f6: f00a ffe1 bl 801b3bc - 80103fa: 6078 str r0, [r7, #4] + 800ff86: f00a ffe1 bl 801af4c + 800ff8a: 6078 str r0, [r7, #4] queued = pbuf_free_ooseq_pending; - 80103fc: 4b0f ldr r3, [pc, #60] ; (801043c ) - 80103fe: 781b ldrb r3, [r3, #0] - 8010400: 70fb strb r3, [r7, #3] + 800ff8c: 4b0f ldr r3, [pc, #60] ; (800ffcc ) + 800ff8e: 781b ldrb r3, [r3, #0] + 800ff90: 70fb strb r3, [r7, #3] pbuf_free_ooseq_pending = 1; - 8010402: 4b0e ldr r3, [pc, #56] ; (801043c ) - 8010404: 2201 movs r2, #1 - 8010406: 701a strb r2, [r3, #0] + 800ff92: 4b0e ldr r3, [pc, #56] ; (800ffcc ) + 800ff94: 2201 movs r2, #1 + 800ff96: 701a strb r2, [r3, #0] SYS_ARCH_UNPROTECT(old_level); - 8010408: 6878 ldr r0, [r7, #4] - 801040a: f00a ffe5 bl 801b3d8 + 800ff98: 6878 ldr r0, [r7, #4] + 800ff9a: f00a ffe5 bl 801af68 if (!queued) { - 801040e: 78fb ldrb r3, [r7, #3] - 8010410: 2b00 cmp r3, #0 - 8010412: d10f bne.n 8010434 + 800ff9e: 78fb ldrb r3, [r7, #3] + 800ffa0: 2b00 cmp r3, #0 + 800ffa2: d10f bne.n 800ffc4 /* queue a call to pbuf_free_ooseq if not already queued */ PBUF_POOL_FREE_OOSEQ_QUEUE_CALL(); - 8010414: 2100 movs r1, #0 - 8010416: 480a ldr r0, [pc, #40] ; (8010440 ) - 8010418: f7fe fee0 bl 800f1dc - 801041c: 4603 mov r3, r0 - 801041e: 2b00 cmp r3, #0 - 8010420: d008 beq.n 8010434 - 8010422: f00a ffcb bl 801b3bc - 8010426: 6078 str r0, [r7, #4] - 8010428: 4b04 ldr r3, [pc, #16] ; (801043c ) - 801042a: 2200 movs r2, #0 - 801042c: 701a strb r2, [r3, #0] - 801042e: 6878 ldr r0, [r7, #4] - 8010430: f00a ffd2 bl 801b3d8 + 800ffa4: 2100 movs r1, #0 + 800ffa6: 480a ldr r0, [pc, #40] ; (800ffd0 ) + 800ffa8: f7fe fee0 bl 800ed6c + 800ffac: 4603 mov r3, r0 + 800ffae: 2b00 cmp r3, #0 + 800ffb0: d008 beq.n 800ffc4 + 800ffb2: f00a ffcb bl 801af4c + 800ffb6: 6078 str r0, [r7, #4] + 800ffb8: 4b04 ldr r3, [pc, #16] ; (800ffcc ) + 800ffba: 2200 movs r2, #0 + 800ffbc: 701a strb r2, [r3, #0] + 800ffbe: 6878 ldr r0, [r7, #4] + 800ffc0: f00a ffd2 bl 801af68 } #endif /* PBUF_POOL_FREE_OOSEQ_QUEUE_CALL */ } - 8010434: bf00 nop - 8010436: 3708 adds r7, #8 - 8010438: 46bd mov sp, r7 - 801043a: bd80 pop {r7, pc} - 801043c: 2000f5bc .word 0x2000f5bc - 8010440: 080103dd .word 0x080103dd + 800ffc4: bf00 nop + 800ffc6: 3708 adds r7, #8 + 800ffc8: 46bd mov sp, r7 + 800ffca: bd80 pop {r7, pc} + 800ffcc: 2000f5b8 .word 0x2000f5b8 + 800ffd0: 0800ff6d .word 0x0800ff6d -08010444 : +0800ffd4 : #endif /* !LWIP_TCP || !TCP_QUEUE_OOSEQ || !PBUF_POOL_FREE_OOSEQ */ /* Initialize members of struct pbuf after allocation */ static void pbuf_init_alloced_pbuf(struct pbuf *p, void *payload, u16_t tot_len, u16_t len, pbuf_type type, u8_t flags) { - 8010444: b480 push {r7} - 8010446: b085 sub sp, #20 - 8010448: af00 add r7, sp, #0 - 801044a: 60f8 str r0, [r7, #12] - 801044c: 60b9 str r1, [r7, #8] - 801044e: 4611 mov r1, r2 - 8010450: 461a mov r2, r3 - 8010452: 460b mov r3, r1 - 8010454: 80fb strh r3, [r7, #6] - 8010456: 4613 mov r3, r2 - 8010458: 80bb strh r3, [r7, #4] + 800ffd4: b480 push {r7} + 800ffd6: b085 sub sp, #20 + 800ffd8: af00 add r7, sp, #0 + 800ffda: 60f8 str r0, [r7, #12] + 800ffdc: 60b9 str r1, [r7, #8] + 800ffde: 4611 mov r1, r2 + 800ffe0: 461a mov r2, r3 + 800ffe2: 460b mov r3, r1 + 800ffe4: 80fb strh r3, [r7, #6] + 800ffe6: 4613 mov r3, r2 + 800ffe8: 80bb strh r3, [r7, #4] p->next = NULL; - 801045a: 68fb ldr r3, [r7, #12] - 801045c: 2200 movs r2, #0 - 801045e: 601a str r2, [r3, #0] + 800ffea: 68fb ldr r3, [r7, #12] + 800ffec: 2200 movs r2, #0 + 800ffee: 601a str r2, [r3, #0] p->payload = payload; - 8010460: 68fb ldr r3, [r7, #12] - 8010462: 68ba ldr r2, [r7, #8] - 8010464: 605a str r2, [r3, #4] + 800fff0: 68fb ldr r3, [r7, #12] + 800fff2: 68ba ldr r2, [r7, #8] + 800fff4: 605a str r2, [r3, #4] p->tot_len = tot_len; - 8010466: 68fb ldr r3, [r7, #12] - 8010468: 88fa ldrh r2, [r7, #6] - 801046a: 811a strh r2, [r3, #8] + 800fff6: 68fb ldr r3, [r7, #12] + 800fff8: 88fa ldrh r2, [r7, #6] + 800fffa: 811a strh r2, [r3, #8] p->len = len; - 801046c: 68fb ldr r3, [r7, #12] - 801046e: 88ba ldrh r2, [r7, #4] - 8010470: 815a strh r2, [r3, #10] + 800fffc: 68fb ldr r3, [r7, #12] + 800fffe: 88ba ldrh r2, [r7, #4] + 8010000: 815a strh r2, [r3, #10] p->type_internal = (u8_t)type; - 8010472: 8b3b ldrh r3, [r7, #24] - 8010474: b2da uxtb r2, r3 - 8010476: 68fb ldr r3, [r7, #12] - 8010478: 731a strb r2, [r3, #12] + 8010002: 8b3b ldrh r3, [r7, #24] + 8010004: b2da uxtb r2, r3 + 8010006: 68fb ldr r3, [r7, #12] + 8010008: 731a strb r2, [r3, #12] p->flags = flags; - 801047a: 68fb ldr r3, [r7, #12] - 801047c: 7f3a ldrb r2, [r7, #28] - 801047e: 735a strb r2, [r3, #13] + 801000a: 68fb ldr r3, [r7, #12] + 801000c: 7f3a ldrb r2, [r7, #28] + 801000e: 735a strb r2, [r3, #13] p->ref = 1; - 8010480: 68fb ldr r3, [r7, #12] - 8010482: 2201 movs r2, #1 - 8010484: 739a strb r2, [r3, #14] + 8010010: 68fb ldr r3, [r7, #12] + 8010012: 2201 movs r2, #1 + 8010014: 739a strb r2, [r3, #14] p->if_idx = NETIF_NO_INDEX; - 8010486: 68fb ldr r3, [r7, #12] - 8010488: 2200 movs r2, #0 - 801048a: 73da strb r2, [r3, #15] + 8010016: 68fb ldr r3, [r7, #12] + 8010018: 2200 movs r2, #0 + 801001a: 73da strb r2, [r3, #15] } - 801048c: bf00 nop - 801048e: 3714 adds r7, #20 - 8010490: 46bd mov sp, r7 - 8010492: f85d 7b04 ldr.w r7, [sp], #4 - 8010496: 4770 bx lr + 801001c: bf00 nop + 801001e: 3714 adds r7, #20 + 8010020: 46bd mov sp, r7 + 8010022: f85d 7b04 ldr.w r7, [sp], #4 + 8010026: 4770 bx lr -08010498 : +08010028 : * @return the allocated pbuf. If multiple pbufs where allocated, this * is the first pbuf of a pbuf chain. */ struct pbuf * pbuf_alloc(pbuf_layer layer, u16_t length, pbuf_type type) { - 8010498: b580 push {r7, lr} - 801049a: b08c sub sp, #48 ; 0x30 - 801049c: af02 add r7, sp, #8 - 801049e: 4603 mov r3, r0 - 80104a0: 71fb strb r3, [r7, #7] - 80104a2: 460b mov r3, r1 - 80104a4: 80bb strh r3, [r7, #4] - 80104a6: 4613 mov r3, r2 - 80104a8: 807b strh r3, [r7, #2] + 8010028: b580 push {r7, lr} + 801002a: b08c sub sp, #48 ; 0x30 + 801002c: af02 add r7, sp, #8 + 801002e: 4603 mov r3, r0 + 8010030: 71fb strb r3, [r7, #7] + 8010032: 460b mov r3, r1 + 8010034: 80bb strh r3, [r7, #4] + 8010036: 4613 mov r3, r2 + 8010038: 807b strh r3, [r7, #2] struct pbuf *p; u16_t offset = (u16_t)layer; - 80104aa: 79fb ldrb r3, [r7, #7] - 80104ac: 847b strh r3, [r7, #34] ; 0x22 + 801003a: 79fb ldrb r3, [r7, #7] + 801003c: 847b strh r3, [r7, #34] ; 0x22 LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_alloc(length=%"U16_F")\n", length)); switch (type) { - 80104ae: 887b ldrh r3, [r7, #2] - 80104b0: 2b41 cmp r3, #65 ; 0x41 - 80104b2: d00b beq.n 80104cc - 80104b4: 2b41 cmp r3, #65 ; 0x41 - 80104b6: dc02 bgt.n 80104be - 80104b8: 2b01 cmp r3, #1 - 80104ba: d007 beq.n 80104cc - 80104bc: e0c2 b.n 8010644 - 80104be: f5b3 7fc1 cmp.w r3, #386 ; 0x182 - 80104c2: d00b beq.n 80104dc - 80104c4: f5b3 7f20 cmp.w r3, #640 ; 0x280 - 80104c8: d070 beq.n 80105ac - 80104ca: e0bb b.n 8010644 + 801003e: 887b ldrh r3, [r7, #2] + 8010040: 2b41 cmp r3, #65 ; 0x41 + 8010042: d00b beq.n 801005c + 8010044: 2b41 cmp r3, #65 ; 0x41 + 8010046: dc02 bgt.n 801004e + 8010048: 2b01 cmp r3, #1 + 801004a: d007 beq.n 801005c + 801004c: e0c2 b.n 80101d4 + 801004e: f5b3 7fc1 cmp.w r3, #386 ; 0x182 + 8010052: d00b beq.n 801006c + 8010054: f5b3 7f20 cmp.w r3, #640 ; 0x280 + 8010058: d070 beq.n 801013c + 801005a: e0bb b.n 80101d4 case PBUF_REF: /* fall through */ case PBUF_ROM: p = pbuf_alloc_reference(NULL, length, type); - 80104cc: 887a ldrh r2, [r7, #2] - 80104ce: 88bb ldrh r3, [r7, #4] - 80104d0: 4619 mov r1, r3 - 80104d2: 2000 movs r0, #0 - 80104d4: f000 f8d2 bl 801067c - 80104d8: 6278 str r0, [r7, #36] ; 0x24 + 801005c: 887a ldrh r2, [r7, #2] + 801005e: 88bb ldrh r3, [r7, #4] + 8010060: 4619 mov r1, r3 + 8010062: 2000 movs r0, #0 + 8010064: f000 f8d2 bl 801020c + 8010068: 6278 str r0, [r7, #36] ; 0x24 break; - 80104da: e0bd b.n 8010658 + 801006a: e0bd b.n 80101e8 case PBUF_POOL: { struct pbuf *q, *last; u16_t rem_len; /* remaining length */ p = NULL; - 80104dc: 2300 movs r3, #0 - 80104de: 627b str r3, [r7, #36] ; 0x24 + 801006c: 2300 movs r3, #0 + 801006e: 627b str r3, [r7, #36] ; 0x24 last = NULL; - 80104e0: 2300 movs r3, #0 - 80104e2: 61fb str r3, [r7, #28] + 8010070: 2300 movs r3, #0 + 8010072: 61fb str r3, [r7, #28] rem_len = length; - 80104e4: 88bb ldrh r3, [r7, #4] - 80104e6: 837b strh r3, [r7, #26] + 8010074: 88bb ldrh r3, [r7, #4] + 8010076: 837b strh r3, [r7, #26] do { u16_t qlen; q = (struct pbuf *)memp_malloc(MEMP_PBUF_POOL); - 80104e8: 200c movs r0, #12 - 80104ea: f7ff fbb7 bl 800fc5c - 80104ee: 6138 str r0, [r7, #16] + 8010078: 200c movs r0, #12 + 801007a: f7ff fbb7 bl 800f7ec + 801007e: 6138 str r0, [r7, #16] if (q == NULL) { - 80104f0: 693b ldr r3, [r7, #16] - 80104f2: 2b00 cmp r3, #0 - 80104f4: d109 bne.n 801050a + 8010080: 693b ldr r3, [r7, #16] + 8010082: 2b00 cmp r3, #0 + 8010084: d109 bne.n 801009a PBUF_POOL_IS_EMPTY(); - 80104f6: f7ff ff7b bl 80103f0 + 8010086: f7ff ff7b bl 800ff80 /* free chain so far allocated */ if (p) { - 80104fa: 6a7b ldr r3, [r7, #36] ; 0x24 - 80104fc: 2b00 cmp r3, #0 - 80104fe: d002 beq.n 8010506 + 801008a: 6a7b ldr r3, [r7, #36] ; 0x24 + 801008c: 2b00 cmp r3, #0 + 801008e: d002 beq.n 8010096 pbuf_free(p); - 8010500: 6a78 ldr r0, [r7, #36] ; 0x24 - 8010502: f000 faa9 bl 8010a58 + 8010090: 6a78 ldr r0, [r7, #36] ; 0x24 + 8010092: f000 faa9 bl 80105e8 } /* bail out unsuccessfully */ return NULL; - 8010506: 2300 movs r3, #0 - 8010508: e0a7 b.n 801065a + 8010096: 2300 movs r3, #0 + 8010098: e0a7 b.n 80101ea } qlen = LWIP_MIN(rem_len, (u16_t)(PBUF_POOL_BUFSIZE_ALIGNED - LWIP_MEM_ALIGN_SIZE(offset))); - 801050a: 8c7b ldrh r3, [r7, #34] ; 0x22 - 801050c: 3303 adds r3, #3 - 801050e: b29b uxth r3, r3 - 8010510: f023 0303 bic.w r3, r3, #3 - 8010514: b29b uxth r3, r3 - 8010516: f5c3 7314 rsb r3, r3, #592 ; 0x250 - 801051a: b29b uxth r3, r3 - 801051c: 8b7a ldrh r2, [r7, #26] - 801051e: 4293 cmp r3, r2 - 8010520: bf28 it cs - 8010522: 4613 movcs r3, r2 - 8010524: 81fb strh r3, [r7, #14] + 801009a: 8c7b ldrh r3, [r7, #34] ; 0x22 + 801009c: 3303 adds r3, #3 + 801009e: b29b uxth r3, r3 + 80100a0: f023 0303 bic.w r3, r3, #3 + 80100a4: b29b uxth r3, r3 + 80100a6: f5c3 7314 rsb r3, r3, #592 ; 0x250 + 80100aa: b29b uxth r3, r3 + 80100ac: 8b7a ldrh r2, [r7, #26] + 80100ae: 4293 cmp r3, r2 + 80100b0: bf28 it cs + 80100b2: 4613 movcs r3, r2 + 80100b4: 81fb strh r3, [r7, #14] pbuf_init_alloced_pbuf(q, LWIP_MEM_ALIGN((void *)((u8_t *)q + SIZEOF_STRUCT_PBUF + offset)), - 8010526: 8c7b ldrh r3, [r7, #34] ; 0x22 - 8010528: 3310 adds r3, #16 - 801052a: 693a ldr r2, [r7, #16] - 801052c: 4413 add r3, r2 - 801052e: 3303 adds r3, #3 - 8010530: f023 0303 bic.w r3, r3, #3 - 8010534: 4618 mov r0, r3 - 8010536: 89f9 ldrh r1, [r7, #14] - 8010538: 8b7a ldrh r2, [r7, #26] - 801053a: 2300 movs r3, #0 - 801053c: 9301 str r3, [sp, #4] - 801053e: 887b ldrh r3, [r7, #2] - 8010540: 9300 str r3, [sp, #0] - 8010542: 460b mov r3, r1 - 8010544: 4601 mov r1, r0 - 8010546: 6938 ldr r0, [r7, #16] - 8010548: f7ff ff7c bl 8010444 + 80100b6: 8c7b ldrh r3, [r7, #34] ; 0x22 + 80100b8: 3310 adds r3, #16 + 80100ba: 693a ldr r2, [r7, #16] + 80100bc: 4413 add r3, r2 + 80100be: 3303 adds r3, #3 + 80100c0: f023 0303 bic.w r3, r3, #3 + 80100c4: 4618 mov r0, r3 + 80100c6: 89f9 ldrh r1, [r7, #14] + 80100c8: 8b7a ldrh r2, [r7, #26] + 80100ca: 2300 movs r3, #0 + 80100cc: 9301 str r3, [sp, #4] + 80100ce: 887b ldrh r3, [r7, #2] + 80100d0: 9300 str r3, [sp, #0] + 80100d2: 460b mov r3, r1 + 80100d4: 4601 mov r1, r0 + 80100d6: 6938 ldr r0, [r7, #16] + 80100d8: f7ff ff7c bl 800ffd4 rem_len, qlen, type, 0); LWIP_ASSERT("pbuf_alloc: pbuf q->payload properly aligned", - 801054c: 693b ldr r3, [r7, #16] - 801054e: 685b ldr r3, [r3, #4] - 8010550: f003 0303 and.w r3, r3, #3 - 8010554: 2b00 cmp r3, #0 - 8010556: d006 beq.n 8010566 - 8010558: 4b42 ldr r3, [pc, #264] ; (8010664 ) - 801055a: f240 1201 movw r2, #257 ; 0x101 - 801055e: 4942 ldr r1, [pc, #264] ; (8010668 ) - 8010560: 4842 ldr r0, [pc, #264] ; (801066c ) - 8010562: f00a ffa9 bl 801b4b8 + 80100dc: 693b ldr r3, [r7, #16] + 80100de: 685b ldr r3, [r3, #4] + 80100e0: f003 0303 and.w r3, r3, #3 + 80100e4: 2b00 cmp r3, #0 + 80100e6: d006 beq.n 80100f6 + 80100e8: 4b42 ldr r3, [pc, #264] ; (80101f4 ) + 80100ea: f240 1201 movw r2, #257 ; 0x101 + 80100ee: 4942 ldr r1, [pc, #264] ; (80101f8 ) + 80100f0: 4842 ldr r0, [pc, #264] ; (80101fc ) + 80100f2: f00a ff8f bl 801b014 ((mem_ptr_t)q->payload % MEM_ALIGNMENT) == 0); LWIP_ASSERT("PBUF_POOL_BUFSIZE must be bigger than MEM_ALIGNMENT", - 8010566: 8c7b ldrh r3, [r7, #34] ; 0x22 - 8010568: 3303 adds r3, #3 - 801056a: f023 0303 bic.w r3, r3, #3 - 801056e: f5b3 7f14 cmp.w r3, #592 ; 0x250 - 8010572: d106 bne.n 8010582 - 8010574: 4b3b ldr r3, [pc, #236] ; (8010664 ) - 8010576: f240 1203 movw r2, #259 ; 0x103 - 801057a: 493d ldr r1, [pc, #244] ; (8010670 ) - 801057c: 483b ldr r0, [pc, #236] ; (801066c ) - 801057e: f00a ff9b bl 801b4b8 + 80100f6: 8c7b ldrh r3, [r7, #34] ; 0x22 + 80100f8: 3303 adds r3, #3 + 80100fa: f023 0303 bic.w r3, r3, #3 + 80100fe: f5b3 7f14 cmp.w r3, #592 ; 0x250 + 8010102: d106 bne.n 8010112 + 8010104: 4b3b ldr r3, [pc, #236] ; (80101f4 ) + 8010106: f240 1203 movw r2, #259 ; 0x103 + 801010a: 493d ldr r1, [pc, #244] ; (8010200 ) + 801010c: 483b ldr r0, [pc, #236] ; (80101fc ) + 801010e: f00a ff81 bl 801b014 (PBUF_POOL_BUFSIZE_ALIGNED - LWIP_MEM_ALIGN_SIZE(offset)) > 0 ); if (p == NULL) { - 8010582: 6a7b ldr r3, [r7, #36] ; 0x24 - 8010584: 2b00 cmp r3, #0 - 8010586: d102 bne.n 801058e + 8010112: 6a7b ldr r3, [r7, #36] ; 0x24 + 8010114: 2b00 cmp r3, #0 + 8010116: d102 bne.n 801011e /* allocated head of pbuf chain (into p) */ p = q; - 8010588: 693b ldr r3, [r7, #16] - 801058a: 627b str r3, [r7, #36] ; 0x24 - 801058c: e002 b.n 8010594 + 8010118: 693b ldr r3, [r7, #16] + 801011a: 627b str r3, [r7, #36] ; 0x24 + 801011c: e002 b.n 8010124 } else { /* make previous pbuf point to this pbuf */ last->next = q; - 801058e: 69fb ldr r3, [r7, #28] - 8010590: 693a ldr r2, [r7, #16] - 8010592: 601a str r2, [r3, #0] + 801011e: 69fb ldr r3, [r7, #28] + 8010120: 693a ldr r2, [r7, #16] + 8010122: 601a str r2, [r3, #0] } last = q; - 8010594: 693b ldr r3, [r7, #16] - 8010596: 61fb str r3, [r7, #28] + 8010124: 693b ldr r3, [r7, #16] + 8010126: 61fb str r3, [r7, #28] rem_len = (u16_t)(rem_len - qlen); - 8010598: 8b7a ldrh r2, [r7, #26] - 801059a: 89fb ldrh r3, [r7, #14] - 801059c: 1ad3 subs r3, r2, r3 - 801059e: 837b strh r3, [r7, #26] + 8010128: 8b7a ldrh r2, [r7, #26] + 801012a: 89fb ldrh r3, [r7, #14] + 801012c: 1ad3 subs r3, r2, r3 + 801012e: 837b strh r3, [r7, #26] offset = 0; - 80105a0: 2300 movs r3, #0 - 80105a2: 847b strh r3, [r7, #34] ; 0x22 + 8010130: 2300 movs r3, #0 + 8010132: 847b strh r3, [r7, #34] ; 0x22 } while (rem_len > 0); - 80105a4: 8b7b ldrh r3, [r7, #26] - 80105a6: 2b00 cmp r3, #0 - 80105a8: d19e bne.n 80104e8 + 8010134: 8b7b ldrh r3, [r7, #26] + 8010136: 2b00 cmp r3, #0 + 8010138: d19e bne.n 8010078 break; - 80105aa: e055 b.n 8010658 + 801013a: e055 b.n 80101e8 } case PBUF_RAM: { u16_t payload_len = (u16_t)(LWIP_MEM_ALIGN_SIZE(offset) + LWIP_MEM_ALIGN_SIZE(length)); - 80105ac: 8c7b ldrh r3, [r7, #34] ; 0x22 - 80105ae: 3303 adds r3, #3 - 80105b0: b29b uxth r3, r3 - 80105b2: f023 0303 bic.w r3, r3, #3 - 80105b6: b29a uxth r2, r3 - 80105b8: 88bb ldrh r3, [r7, #4] - 80105ba: 3303 adds r3, #3 - 80105bc: b29b uxth r3, r3 - 80105be: f023 0303 bic.w r3, r3, #3 - 80105c2: b29b uxth r3, r3 - 80105c4: 4413 add r3, r2 - 80105c6: 833b strh r3, [r7, #24] + 801013c: 8c7b ldrh r3, [r7, #34] ; 0x22 + 801013e: 3303 adds r3, #3 + 8010140: b29b uxth r3, r3 + 8010142: f023 0303 bic.w r3, r3, #3 + 8010146: b29a uxth r2, r3 + 8010148: 88bb ldrh r3, [r7, #4] + 801014a: 3303 adds r3, #3 + 801014c: b29b uxth r3, r3 + 801014e: f023 0303 bic.w r3, r3, #3 + 8010152: b29b uxth r3, r3 + 8010154: 4413 add r3, r2 + 8010156: 833b strh r3, [r7, #24] mem_size_t alloc_len = (mem_size_t)(LWIP_MEM_ALIGN_SIZE(SIZEOF_STRUCT_PBUF) + payload_len); - 80105c8: 8b3b ldrh r3, [r7, #24] - 80105ca: 3310 adds r3, #16 - 80105cc: 82fb strh r3, [r7, #22] + 8010158: 8b3b ldrh r3, [r7, #24] + 801015a: 3310 adds r3, #16 + 801015c: 82fb strh r3, [r7, #22] /* bug #50040: Check for integer overflow when calculating alloc_len */ if ((payload_len < LWIP_MEM_ALIGN_SIZE(length)) || - 80105ce: 8b3a ldrh r2, [r7, #24] - 80105d0: 88bb ldrh r3, [r7, #4] - 80105d2: 3303 adds r3, #3 - 80105d4: f023 0303 bic.w r3, r3, #3 - 80105d8: 429a cmp r2, r3 - 80105da: d306 bcc.n 80105ea + 801015e: 8b3a ldrh r2, [r7, #24] + 8010160: 88bb ldrh r3, [r7, #4] + 8010162: 3303 adds r3, #3 + 8010164: f023 0303 bic.w r3, r3, #3 + 8010168: 429a cmp r2, r3 + 801016a: d306 bcc.n 801017a (alloc_len < LWIP_MEM_ALIGN_SIZE(length))) { - 80105dc: 8afa ldrh r2, [r7, #22] - 80105de: 88bb ldrh r3, [r7, #4] - 80105e0: 3303 adds r3, #3 - 80105e2: f023 0303 bic.w r3, r3, #3 + 801016c: 8afa ldrh r2, [r7, #22] + 801016e: 88bb ldrh r3, [r7, #4] + 8010170: 3303 adds r3, #3 + 8010172: f023 0303 bic.w r3, r3, #3 if ((payload_len < LWIP_MEM_ALIGN_SIZE(length)) || - 80105e6: 429a cmp r2, r3 - 80105e8: d201 bcs.n 80105ee + 8010176: 429a cmp r2, r3 + 8010178: d201 bcs.n 801017e return NULL; - 80105ea: 2300 movs r3, #0 - 80105ec: e035 b.n 801065a + 801017a: 2300 movs r3, #0 + 801017c: e035 b.n 80101ea } /* If pbuf is to be allocated in RAM, allocate memory for it. */ p = (struct pbuf *)mem_malloc(alloc_len); - 80105ee: 8afb ldrh r3, [r7, #22] - 80105f0: 4618 mov r0, r3 - 80105f2: f7ff f9b1 bl 800f958 - 80105f6: 6278 str r0, [r7, #36] ; 0x24 + 801017e: 8afb ldrh r3, [r7, #22] + 8010180: 4618 mov r0, r3 + 8010182: f7ff f9b1 bl 800f4e8 + 8010186: 6278 str r0, [r7, #36] ; 0x24 if (p == NULL) { - 80105f8: 6a7b ldr r3, [r7, #36] ; 0x24 - 80105fa: 2b00 cmp r3, #0 - 80105fc: d101 bne.n 8010602 + 8010188: 6a7b ldr r3, [r7, #36] ; 0x24 + 801018a: 2b00 cmp r3, #0 + 801018c: d101 bne.n 8010192 return NULL; - 80105fe: 2300 movs r3, #0 - 8010600: e02b b.n 801065a + 801018e: 2300 movs r3, #0 + 8010190: e02b b.n 80101ea } pbuf_init_alloced_pbuf(p, LWIP_MEM_ALIGN((void *)((u8_t *)p + SIZEOF_STRUCT_PBUF + offset)), - 8010602: 8c7b ldrh r3, [r7, #34] ; 0x22 - 8010604: 3310 adds r3, #16 - 8010606: 6a7a ldr r2, [r7, #36] ; 0x24 - 8010608: 4413 add r3, r2 - 801060a: 3303 adds r3, #3 - 801060c: f023 0303 bic.w r3, r3, #3 - 8010610: 4618 mov r0, r3 - 8010612: 88b9 ldrh r1, [r7, #4] - 8010614: 88ba ldrh r2, [r7, #4] - 8010616: 2300 movs r3, #0 - 8010618: 9301 str r3, [sp, #4] - 801061a: 887b ldrh r3, [r7, #2] - 801061c: 9300 str r3, [sp, #0] - 801061e: 460b mov r3, r1 - 8010620: 4601 mov r1, r0 - 8010622: 6a78 ldr r0, [r7, #36] ; 0x24 - 8010624: f7ff ff0e bl 8010444 + 8010192: 8c7b ldrh r3, [r7, #34] ; 0x22 + 8010194: 3310 adds r3, #16 + 8010196: 6a7a ldr r2, [r7, #36] ; 0x24 + 8010198: 4413 add r3, r2 + 801019a: 3303 adds r3, #3 + 801019c: f023 0303 bic.w r3, r3, #3 + 80101a0: 4618 mov r0, r3 + 80101a2: 88b9 ldrh r1, [r7, #4] + 80101a4: 88ba ldrh r2, [r7, #4] + 80101a6: 2300 movs r3, #0 + 80101a8: 9301 str r3, [sp, #4] + 80101aa: 887b ldrh r3, [r7, #2] + 80101ac: 9300 str r3, [sp, #0] + 80101ae: 460b mov r3, r1 + 80101b0: 4601 mov r1, r0 + 80101b2: 6a78 ldr r0, [r7, #36] ; 0x24 + 80101b4: f7ff ff0e bl 800ffd4 length, length, type, 0); LWIP_ASSERT("pbuf_alloc: pbuf->payload properly aligned", - 8010628: 6a7b ldr r3, [r7, #36] ; 0x24 - 801062a: 685b ldr r3, [r3, #4] - 801062c: f003 0303 and.w r3, r3, #3 - 8010630: 2b00 cmp r3, #0 - 8010632: d010 beq.n 8010656 - 8010634: 4b0b ldr r3, [pc, #44] ; (8010664 ) - 8010636: f240 1223 movw r2, #291 ; 0x123 - 801063a: 490e ldr r1, [pc, #56] ; (8010674 ) - 801063c: 480b ldr r0, [pc, #44] ; (801066c ) - 801063e: f00a ff3b bl 801b4b8 + 80101b8: 6a7b ldr r3, [r7, #36] ; 0x24 + 80101ba: 685b ldr r3, [r3, #4] + 80101bc: f003 0303 and.w r3, r3, #3 + 80101c0: 2b00 cmp r3, #0 + 80101c2: d010 beq.n 80101e6 + 80101c4: 4b0b ldr r3, [pc, #44] ; (80101f4 ) + 80101c6: f240 1223 movw r2, #291 ; 0x123 + 80101ca: 490e ldr r1, [pc, #56] ; (8010204 ) + 80101cc: 480b ldr r0, [pc, #44] ; (80101fc ) + 80101ce: f00a ff21 bl 801b014 ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0); break; - 8010642: e008 b.n 8010656 + 80101d2: e008 b.n 80101e6 } default: LWIP_ASSERT("pbuf_alloc: erroneous type", 0); - 8010644: 4b07 ldr r3, [pc, #28] ; (8010664 ) - 8010646: f240 1227 movw r2, #295 ; 0x127 - 801064a: 490b ldr r1, [pc, #44] ; (8010678 ) - 801064c: 4807 ldr r0, [pc, #28] ; (801066c ) - 801064e: f00a ff33 bl 801b4b8 + 80101d4: 4b07 ldr r3, [pc, #28] ; (80101f4 ) + 80101d6: f240 1227 movw r2, #295 ; 0x127 + 80101da: 490b ldr r1, [pc, #44] ; (8010208 ) + 80101dc: 4807 ldr r0, [pc, #28] ; (80101fc ) + 80101de: f00a ff19 bl 801b014 return NULL; - 8010652: 2300 movs r3, #0 - 8010654: e001 b.n 801065a + 80101e2: 2300 movs r3, #0 + 80101e4: e001 b.n 80101ea break; - 8010656: bf00 nop + 80101e6: bf00 nop } LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_alloc(length=%"U16_F") == %p\n", length, (void *)p)); return p; - 8010658: 6a7b ldr r3, [r7, #36] ; 0x24 + 80101e8: 6a7b ldr r3, [r7, #36] ; 0x24 } - 801065a: 4618 mov r0, r3 - 801065c: 3728 adds r7, #40 ; 0x28 - 801065e: 46bd mov sp, r7 - 8010660: bd80 pop {r7, pc} - 8010662: bf00 nop - 8010664: 0801ce4c .word 0x0801ce4c - 8010668: 0801ce7c .word 0x0801ce7c - 801066c: 0801ceac .word 0x0801ceac - 8010670: 0801ced4 .word 0x0801ced4 - 8010674: 0801cf08 .word 0x0801cf08 - 8010678: 0801cf34 .word 0x0801cf34 + 80101ea: 4618 mov r0, r3 + 80101ec: 3728 adds r7, #40 ; 0x28 + 80101ee: 46bd mov sp, r7 + 80101f0: bd80 pop {r7, pc} + 80101f2: bf00 nop + 80101f4: 0801c648 .word 0x0801c648 + 80101f8: 0801c678 .word 0x0801c678 + 80101fc: 0801c6a8 .word 0x0801c6a8 + 8010200: 0801c6d0 .word 0x0801c6d0 + 8010204: 0801c704 .word 0x0801c704 + 8010208: 0801c730 .word 0x0801c730 -0801067c : +0801020c : * * @return the allocated pbuf. */ struct pbuf * pbuf_alloc_reference(void *payload, u16_t length, pbuf_type type) { - 801067c: b580 push {r7, lr} - 801067e: b086 sub sp, #24 - 8010680: af02 add r7, sp, #8 - 8010682: 6078 str r0, [r7, #4] - 8010684: 460b mov r3, r1 - 8010686: 807b strh r3, [r7, #2] - 8010688: 4613 mov r3, r2 - 801068a: 803b strh r3, [r7, #0] + 801020c: b580 push {r7, lr} + 801020e: b086 sub sp, #24 + 8010210: af02 add r7, sp, #8 + 8010212: 6078 str r0, [r7, #4] + 8010214: 460b mov r3, r1 + 8010216: 807b strh r3, [r7, #2] + 8010218: 4613 mov r3, r2 + 801021a: 803b strh r3, [r7, #0] struct pbuf *p; LWIP_ASSERT("invalid pbuf_type", (type == PBUF_REF) || (type == PBUF_ROM)); - 801068c: 883b ldrh r3, [r7, #0] - 801068e: 2b41 cmp r3, #65 ; 0x41 - 8010690: d009 beq.n 80106a6 - 8010692: 883b ldrh r3, [r7, #0] - 8010694: 2b01 cmp r3, #1 - 8010696: d006 beq.n 80106a6 - 8010698: 4b0f ldr r3, [pc, #60] ; (80106d8 ) - 801069a: f44f 72a5 mov.w r2, #330 ; 0x14a - 801069e: 490f ldr r1, [pc, #60] ; (80106dc ) - 80106a0: 480f ldr r0, [pc, #60] ; (80106e0 ) - 80106a2: f00a ff09 bl 801b4b8 + 801021c: 883b ldrh r3, [r7, #0] + 801021e: 2b41 cmp r3, #65 ; 0x41 + 8010220: d009 beq.n 8010236 + 8010222: 883b ldrh r3, [r7, #0] + 8010224: 2b01 cmp r3, #1 + 8010226: d006 beq.n 8010236 + 8010228: 4b0f ldr r3, [pc, #60] ; (8010268 ) + 801022a: f44f 72a5 mov.w r2, #330 ; 0x14a + 801022e: 490f ldr r1, [pc, #60] ; (801026c ) + 8010230: 480f ldr r0, [pc, #60] ; (8010270 ) + 8010232: f00a feef bl 801b014 /* only allocate memory for the pbuf structure */ p = (struct pbuf *)memp_malloc(MEMP_PBUF); - 80106a6: 200b movs r0, #11 - 80106a8: f7ff fad8 bl 800fc5c - 80106ac: 60f8 str r0, [r7, #12] + 8010236: 200b movs r0, #11 + 8010238: f7ff fad8 bl 800f7ec + 801023c: 60f8 str r0, [r7, #12] if (p == NULL) { - 80106ae: 68fb ldr r3, [r7, #12] - 80106b0: 2b00 cmp r3, #0 - 80106b2: d101 bne.n 80106b8 + 801023e: 68fb ldr r3, [r7, #12] + 8010240: 2b00 cmp r3, #0 + 8010242: d101 bne.n 8010248 LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("pbuf_alloc_reference: Could not allocate MEMP_PBUF for PBUF_%s.\n", (type == PBUF_ROM) ? "ROM" : "REF")); return NULL; - 80106b4: 2300 movs r3, #0 - 80106b6: e00b b.n 80106d0 + 8010244: 2300 movs r3, #0 + 8010246: e00b b.n 8010260 } pbuf_init_alloced_pbuf(p, payload, length, length, type, 0); - 80106b8: 8879 ldrh r1, [r7, #2] - 80106ba: 887a ldrh r2, [r7, #2] - 80106bc: 2300 movs r3, #0 - 80106be: 9301 str r3, [sp, #4] - 80106c0: 883b ldrh r3, [r7, #0] - 80106c2: 9300 str r3, [sp, #0] - 80106c4: 460b mov r3, r1 - 80106c6: 6879 ldr r1, [r7, #4] - 80106c8: 68f8 ldr r0, [r7, #12] - 80106ca: f7ff febb bl 8010444 + 8010248: 8879 ldrh r1, [r7, #2] + 801024a: 887a ldrh r2, [r7, #2] + 801024c: 2300 movs r3, #0 + 801024e: 9301 str r3, [sp, #4] + 8010250: 883b ldrh r3, [r7, #0] + 8010252: 9300 str r3, [sp, #0] + 8010254: 460b mov r3, r1 + 8010256: 6879 ldr r1, [r7, #4] + 8010258: 68f8 ldr r0, [r7, #12] + 801025a: f7ff febb bl 800ffd4 return p; - 80106ce: 68fb ldr r3, [r7, #12] + 801025e: 68fb ldr r3, [r7, #12] } - 80106d0: 4618 mov r0, r3 - 80106d2: 3710 adds r7, #16 - 80106d4: 46bd mov sp, r7 - 80106d6: bd80 pop {r7, pc} - 80106d8: 0801ce4c .word 0x0801ce4c - 80106dc: 0801cf50 .word 0x0801cf50 - 80106e0: 0801ceac .word 0x0801ceac + 8010260: 4618 mov r0, r3 + 8010262: 3710 adds r7, #16 + 8010264: 46bd mov sp, r7 + 8010266: bd80 pop {r7, pc} + 8010268: 0801c648 .word 0x0801c648 + 801026c: 0801c74c .word 0x0801c74c + 8010270: 0801c6a8 .word 0x0801c6a8 -080106e4 : +08010274 : * big enough to hold 'length' plus the header size */ struct pbuf * pbuf_alloced_custom(pbuf_layer l, u16_t length, pbuf_type type, struct pbuf_custom *p, void *payload_mem, u16_t payload_mem_len) { - 80106e4: b580 push {r7, lr} - 80106e6: b088 sub sp, #32 - 80106e8: af02 add r7, sp, #8 - 80106ea: 607b str r3, [r7, #4] - 80106ec: 4603 mov r3, r0 - 80106ee: 73fb strb r3, [r7, #15] - 80106f0: 460b mov r3, r1 - 80106f2: 81bb strh r3, [r7, #12] - 80106f4: 4613 mov r3, r2 - 80106f6: 817b strh r3, [r7, #10] + 8010274: b580 push {r7, lr} + 8010276: b088 sub sp, #32 + 8010278: af02 add r7, sp, #8 + 801027a: 607b str r3, [r7, #4] + 801027c: 4603 mov r3, r0 + 801027e: 73fb strb r3, [r7, #15] + 8010280: 460b mov r3, r1 + 8010282: 81bb strh r3, [r7, #12] + 8010284: 4613 mov r3, r2 + 8010286: 817b strh r3, [r7, #10] u16_t offset = (u16_t)l; - 80106f8: 7bfb ldrb r3, [r7, #15] - 80106fa: 827b strh r3, [r7, #18] + 8010288: 7bfb ldrb r3, [r7, #15] + 801028a: 827b strh r3, [r7, #18] void *payload; LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_alloced_custom(length=%"U16_F")\n", length)); if (LWIP_MEM_ALIGN_SIZE(offset) + length > payload_mem_len) { - 80106fc: 8a7b ldrh r3, [r7, #18] - 80106fe: 3303 adds r3, #3 - 8010700: f023 0203 bic.w r2, r3, #3 - 8010704: 89bb ldrh r3, [r7, #12] - 8010706: 441a add r2, r3 - 8010708: 8cbb ldrh r3, [r7, #36] ; 0x24 - 801070a: 429a cmp r2, r3 - 801070c: d901 bls.n 8010712 + 801028c: 8a7b ldrh r3, [r7, #18] + 801028e: 3303 adds r3, #3 + 8010290: f023 0203 bic.w r2, r3, #3 + 8010294: 89bb ldrh r3, [r7, #12] + 8010296: 441a add r2, r3 + 8010298: 8cbb ldrh r3, [r7, #36] ; 0x24 + 801029a: 429a cmp r2, r3 + 801029c: d901 bls.n 80102a2 LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_LEVEL_WARNING, ("pbuf_alloced_custom(length=%"U16_F") buffer too short\n", length)); return NULL; - 801070e: 2300 movs r3, #0 - 8010710: e018 b.n 8010744 + 801029e: 2300 movs r3, #0 + 80102a0: e018 b.n 80102d4 } if (payload_mem != NULL) { - 8010712: 6a3b ldr r3, [r7, #32] - 8010714: 2b00 cmp r3, #0 - 8010716: d007 beq.n 8010728 + 80102a2: 6a3b ldr r3, [r7, #32] + 80102a4: 2b00 cmp r3, #0 + 80102a6: d007 beq.n 80102b8 payload = (u8_t *)payload_mem + LWIP_MEM_ALIGN_SIZE(offset); - 8010718: 8a7b ldrh r3, [r7, #18] - 801071a: 3303 adds r3, #3 - 801071c: f023 0303 bic.w r3, r3, #3 - 8010720: 6a3a ldr r2, [r7, #32] - 8010722: 4413 add r3, r2 - 8010724: 617b str r3, [r7, #20] - 8010726: e001 b.n 801072c + 80102a8: 8a7b ldrh r3, [r7, #18] + 80102aa: 3303 adds r3, #3 + 80102ac: f023 0303 bic.w r3, r3, #3 + 80102b0: 6a3a ldr r2, [r7, #32] + 80102b2: 4413 add r3, r2 + 80102b4: 617b str r3, [r7, #20] + 80102b6: e001 b.n 80102bc } else { payload = NULL; - 8010728: 2300 movs r3, #0 - 801072a: 617b str r3, [r7, #20] + 80102b8: 2300 movs r3, #0 + 80102ba: 617b str r3, [r7, #20] } pbuf_init_alloced_pbuf(&p->pbuf, payload, length, length, type, PBUF_FLAG_IS_CUSTOM); - 801072c: 6878 ldr r0, [r7, #4] - 801072e: 89b9 ldrh r1, [r7, #12] - 8010730: 89ba ldrh r2, [r7, #12] - 8010732: 2302 movs r3, #2 - 8010734: 9301 str r3, [sp, #4] - 8010736: 897b ldrh r3, [r7, #10] - 8010738: 9300 str r3, [sp, #0] - 801073a: 460b mov r3, r1 - 801073c: 6979 ldr r1, [r7, #20] - 801073e: f7ff fe81 bl 8010444 + 80102bc: 6878 ldr r0, [r7, #4] + 80102be: 89b9 ldrh r1, [r7, #12] + 80102c0: 89ba ldrh r2, [r7, #12] + 80102c2: 2302 movs r3, #2 + 80102c4: 9301 str r3, [sp, #4] + 80102c6: 897b ldrh r3, [r7, #10] + 80102c8: 9300 str r3, [sp, #0] + 80102ca: 460b mov r3, r1 + 80102cc: 6979 ldr r1, [r7, #20] + 80102ce: f7ff fe81 bl 800ffd4 return &p->pbuf; - 8010742: 687b ldr r3, [r7, #4] + 80102d2: 687b ldr r3, [r7, #4] } - 8010744: 4618 mov r0, r3 - 8010746: 3718 adds r7, #24 - 8010748: 46bd mov sp, r7 - 801074a: bd80 pop {r7, pc} + 80102d4: 4618 mov r0, r3 + 80102d6: 3718 adds r7, #24 + 80102d8: 46bd mov sp, r7 + 80102da: bd80 pop {r7, pc} -0801074c : +080102dc : * * @note Despite its name, pbuf_realloc cannot grow the size of a pbuf (chain). */ void pbuf_realloc(struct pbuf *p, u16_t new_len) { - 801074c: b580 push {r7, lr} - 801074e: b084 sub sp, #16 - 8010750: af00 add r7, sp, #0 - 8010752: 6078 str r0, [r7, #4] - 8010754: 460b mov r3, r1 - 8010756: 807b strh r3, [r7, #2] + 80102dc: b580 push {r7, lr} + 80102de: b084 sub sp, #16 + 80102e0: af00 add r7, sp, #0 + 80102e2: 6078 str r0, [r7, #4] + 80102e4: 460b mov r3, r1 + 80102e6: 807b strh r3, [r7, #2] struct pbuf *q; u16_t rem_len; /* remaining length */ u16_t shrink; LWIP_ASSERT("pbuf_realloc: p != NULL", p != NULL); - 8010758: 687b ldr r3, [r7, #4] - 801075a: 2b00 cmp r3, #0 - 801075c: d106 bne.n 801076c - 801075e: 4b3a ldr r3, [pc, #232] ; (8010848 ) - 8010760: f44f 72cc mov.w r2, #408 ; 0x198 - 8010764: 4939 ldr r1, [pc, #228] ; (801084c ) - 8010766: 483a ldr r0, [pc, #232] ; (8010850 ) - 8010768: f00a fea6 bl 801b4b8 + 80102e8: 687b ldr r3, [r7, #4] + 80102ea: 2b00 cmp r3, #0 + 80102ec: d106 bne.n 80102fc + 80102ee: 4b3a ldr r3, [pc, #232] ; (80103d8 ) + 80102f0: f44f 72cc mov.w r2, #408 ; 0x198 + 80102f4: 4939 ldr r1, [pc, #228] ; (80103dc ) + 80102f6: 483a ldr r0, [pc, #232] ; (80103e0 ) + 80102f8: f00a fe8c bl 801b014 /* desired length larger than current length? */ if (new_len >= p->tot_len) { - 801076c: 687b ldr r3, [r7, #4] - 801076e: 891b ldrh r3, [r3, #8] - 8010770: 887a ldrh r2, [r7, #2] - 8010772: 429a cmp r2, r3 - 8010774: d264 bcs.n 8010840 + 80102fc: 687b ldr r3, [r7, #4] + 80102fe: 891b ldrh r3, [r3, #8] + 8010300: 887a ldrh r2, [r7, #2] + 8010302: 429a cmp r2, r3 + 8010304: d264 bcs.n 80103d0 return; } /* the pbuf chain grows by (new_len - p->tot_len) bytes * (which may be negative in case of shrinking) */ shrink = (u16_t)(p->tot_len - new_len); - 8010776: 687b ldr r3, [r7, #4] - 8010778: 891a ldrh r2, [r3, #8] - 801077a: 887b ldrh r3, [r7, #2] - 801077c: 1ad3 subs r3, r2, r3 - 801077e: 813b strh r3, [r7, #8] + 8010306: 687b ldr r3, [r7, #4] + 8010308: 891a ldrh r2, [r3, #8] + 801030a: 887b ldrh r3, [r7, #2] + 801030c: 1ad3 subs r3, r2, r3 + 801030e: 813b strh r3, [r7, #8] /* first, step over any pbufs that should remain in the chain */ rem_len = new_len; - 8010780: 887b ldrh r3, [r7, #2] - 8010782: 817b strh r3, [r7, #10] + 8010310: 887b ldrh r3, [r7, #2] + 8010312: 817b strh r3, [r7, #10] q = p; - 8010784: 687b ldr r3, [r7, #4] - 8010786: 60fb str r3, [r7, #12] + 8010314: 687b ldr r3, [r7, #4] + 8010316: 60fb str r3, [r7, #12] /* should this pbuf be kept? */ while (rem_len > q->len) { - 8010788: e018 b.n 80107bc + 8010318: e018 b.n 801034c /* decrease remaining length by pbuf length */ rem_len = (u16_t)(rem_len - q->len); - 801078a: 68fb ldr r3, [r7, #12] - 801078c: 895b ldrh r3, [r3, #10] - 801078e: 897a ldrh r2, [r7, #10] - 8010790: 1ad3 subs r3, r2, r3 - 8010792: 817b strh r3, [r7, #10] + 801031a: 68fb ldr r3, [r7, #12] + 801031c: 895b ldrh r3, [r3, #10] + 801031e: 897a ldrh r2, [r7, #10] + 8010320: 1ad3 subs r3, r2, r3 + 8010322: 817b strh r3, [r7, #10] /* decrease total length indicator */ q->tot_len = (u16_t)(q->tot_len - shrink); - 8010794: 68fb ldr r3, [r7, #12] - 8010796: 891a ldrh r2, [r3, #8] - 8010798: 893b ldrh r3, [r7, #8] - 801079a: 1ad3 subs r3, r2, r3 - 801079c: b29a uxth r2, r3 - 801079e: 68fb ldr r3, [r7, #12] - 80107a0: 811a strh r2, [r3, #8] + 8010324: 68fb ldr r3, [r7, #12] + 8010326: 891a ldrh r2, [r3, #8] + 8010328: 893b ldrh r3, [r7, #8] + 801032a: 1ad3 subs r3, r2, r3 + 801032c: b29a uxth r2, r3 + 801032e: 68fb ldr r3, [r7, #12] + 8010330: 811a strh r2, [r3, #8] /* proceed to next pbuf in chain */ q = q->next; - 80107a2: 68fb ldr r3, [r7, #12] - 80107a4: 681b ldr r3, [r3, #0] - 80107a6: 60fb str r3, [r7, #12] + 8010332: 68fb ldr r3, [r7, #12] + 8010334: 681b ldr r3, [r3, #0] + 8010336: 60fb str r3, [r7, #12] LWIP_ASSERT("pbuf_realloc: q != NULL", q != NULL); - 80107a8: 68fb ldr r3, [r7, #12] - 80107aa: 2b00 cmp r3, #0 - 80107ac: d106 bne.n 80107bc - 80107ae: 4b26 ldr r3, [pc, #152] ; (8010848 ) - 80107b0: f240 12af movw r2, #431 ; 0x1af - 80107b4: 4927 ldr r1, [pc, #156] ; (8010854 ) - 80107b6: 4826 ldr r0, [pc, #152] ; (8010850 ) - 80107b8: f00a fe7e bl 801b4b8 + 8010338: 68fb ldr r3, [r7, #12] + 801033a: 2b00 cmp r3, #0 + 801033c: d106 bne.n 801034c + 801033e: 4b26 ldr r3, [pc, #152] ; (80103d8 ) + 8010340: f240 12af movw r2, #431 ; 0x1af + 8010344: 4927 ldr r1, [pc, #156] ; (80103e4 ) + 8010346: 4826 ldr r0, [pc, #152] ; (80103e0 ) + 8010348: f00a fe64 bl 801b014 while (rem_len > q->len) { - 80107bc: 68fb ldr r3, [r7, #12] - 80107be: 895b ldrh r3, [r3, #10] - 80107c0: 897a ldrh r2, [r7, #10] - 80107c2: 429a cmp r2, r3 - 80107c4: d8e1 bhi.n 801078a + 801034c: 68fb ldr r3, [r7, #12] + 801034e: 895b ldrh r3, [r3, #10] + 8010350: 897a ldrh r2, [r7, #10] + 8010352: 429a cmp r2, r3 + 8010354: d8e1 bhi.n 801031a /* we have now reached the new last pbuf (in q) */ /* rem_len == desired length for pbuf q */ /* shrink allocated memory for PBUF_RAM */ /* (other types merely adjust their length fields */ if (pbuf_match_allocsrc(q, PBUF_TYPE_ALLOC_SRC_MASK_STD_HEAP) && (rem_len != q->len) - 80107c6: 68fb ldr r3, [r7, #12] - 80107c8: 7b1b ldrb r3, [r3, #12] - 80107ca: f003 030f and.w r3, r3, #15 - 80107ce: 2b00 cmp r3, #0 - 80107d0: d122 bne.n 8010818 - 80107d2: 68fb ldr r3, [r7, #12] - 80107d4: 895b ldrh r3, [r3, #10] - 80107d6: 897a ldrh r2, [r7, #10] - 80107d8: 429a cmp r2, r3 - 80107da: d01d beq.n 8010818 + 8010356: 68fb ldr r3, [r7, #12] + 8010358: 7b1b ldrb r3, [r3, #12] + 801035a: f003 030f and.w r3, r3, #15 + 801035e: 2b00 cmp r3, #0 + 8010360: d122 bne.n 80103a8 + 8010362: 68fb ldr r3, [r7, #12] + 8010364: 895b ldrh r3, [r3, #10] + 8010366: 897a ldrh r2, [r7, #10] + 8010368: 429a cmp r2, r3 + 801036a: d01d beq.n 80103a8 #if LWIP_SUPPORT_CUSTOM_PBUF && ((q->flags & PBUF_FLAG_IS_CUSTOM) == 0) - 80107dc: 68fb ldr r3, [r7, #12] - 80107de: 7b5b ldrb r3, [r3, #13] - 80107e0: f003 0302 and.w r3, r3, #2 - 80107e4: 2b00 cmp r3, #0 - 80107e6: d117 bne.n 8010818 + 801036c: 68fb ldr r3, [r7, #12] + 801036e: 7b5b ldrb r3, [r3, #13] + 8010370: f003 0302 and.w r3, r3, #2 + 8010374: 2b00 cmp r3, #0 + 8010376: d117 bne.n 80103a8 #endif /* LWIP_SUPPORT_CUSTOM_PBUF */ ) { /* reallocate and adjust the length of the pbuf that will be split */ q = (struct pbuf *)mem_trim(q, (mem_size_t)(((u8_t *)q->payload - (u8_t *)q) + rem_len)); - 80107e8: 68fb ldr r3, [r7, #12] - 80107ea: 685b ldr r3, [r3, #4] - 80107ec: 461a mov r2, r3 - 80107ee: 68fb ldr r3, [r7, #12] - 80107f0: 1ad3 subs r3, r2, r3 - 80107f2: b29a uxth r2, r3 - 80107f4: 897b ldrh r3, [r7, #10] - 80107f6: 4413 add r3, r2 - 80107f8: b29b uxth r3, r3 - 80107fa: 4619 mov r1, r3 - 80107fc: 68f8 ldr r0, [r7, #12] - 80107fe: f7fe ffa1 bl 800f744 - 8010802: 60f8 str r0, [r7, #12] + 8010378: 68fb ldr r3, [r7, #12] + 801037a: 685b ldr r3, [r3, #4] + 801037c: 461a mov r2, r3 + 801037e: 68fb ldr r3, [r7, #12] + 8010380: 1ad3 subs r3, r2, r3 + 8010382: b29a uxth r2, r3 + 8010384: 897b ldrh r3, [r7, #10] + 8010386: 4413 add r3, r2 + 8010388: b29b uxth r3, r3 + 801038a: 4619 mov r1, r3 + 801038c: 68f8 ldr r0, [r7, #12] + 801038e: f7fe ffa1 bl 800f2d4 + 8010392: 60f8 str r0, [r7, #12] LWIP_ASSERT("mem_trim returned q == NULL", q != NULL); - 8010804: 68fb ldr r3, [r7, #12] - 8010806: 2b00 cmp r3, #0 - 8010808: d106 bne.n 8010818 - 801080a: 4b0f ldr r3, [pc, #60] ; (8010848 ) - 801080c: f240 12bd movw r2, #445 ; 0x1bd - 8010810: 4911 ldr r1, [pc, #68] ; (8010858 ) - 8010812: 480f ldr r0, [pc, #60] ; (8010850 ) - 8010814: f00a fe50 bl 801b4b8 + 8010394: 68fb ldr r3, [r7, #12] + 8010396: 2b00 cmp r3, #0 + 8010398: d106 bne.n 80103a8 + 801039a: 4b0f ldr r3, [pc, #60] ; (80103d8 ) + 801039c: f240 12bd movw r2, #445 ; 0x1bd + 80103a0: 4911 ldr r1, [pc, #68] ; (80103e8 ) + 80103a2: 480f ldr r0, [pc, #60] ; (80103e0 ) + 80103a4: f00a fe36 bl 801b014 } /* adjust length fields for new last pbuf */ q->len = rem_len; - 8010818: 68fb ldr r3, [r7, #12] - 801081a: 897a ldrh r2, [r7, #10] - 801081c: 815a strh r2, [r3, #10] + 80103a8: 68fb ldr r3, [r7, #12] + 80103aa: 897a ldrh r2, [r7, #10] + 80103ac: 815a strh r2, [r3, #10] q->tot_len = q->len; - 801081e: 68fb ldr r3, [r7, #12] - 8010820: 895a ldrh r2, [r3, #10] - 8010822: 68fb ldr r3, [r7, #12] - 8010824: 811a strh r2, [r3, #8] + 80103ae: 68fb ldr r3, [r7, #12] + 80103b0: 895a ldrh r2, [r3, #10] + 80103b2: 68fb ldr r3, [r7, #12] + 80103b4: 811a strh r2, [r3, #8] /* any remaining pbufs in chain? */ if (q->next != NULL) { - 8010826: 68fb ldr r3, [r7, #12] - 8010828: 681b ldr r3, [r3, #0] - 801082a: 2b00 cmp r3, #0 - 801082c: d004 beq.n 8010838 + 80103b6: 68fb ldr r3, [r7, #12] + 80103b8: 681b ldr r3, [r3, #0] + 80103ba: 2b00 cmp r3, #0 + 80103bc: d004 beq.n 80103c8 /* free remaining pbufs in chain */ pbuf_free(q->next); - 801082e: 68fb ldr r3, [r7, #12] - 8010830: 681b ldr r3, [r3, #0] - 8010832: 4618 mov r0, r3 - 8010834: f000 f910 bl 8010a58 + 80103be: 68fb ldr r3, [r7, #12] + 80103c0: 681b ldr r3, [r3, #0] + 80103c2: 4618 mov r0, r3 + 80103c4: f000 f910 bl 80105e8 } /* q is last packet in chain */ q->next = NULL; - 8010838: 68fb ldr r3, [r7, #12] - 801083a: 2200 movs r2, #0 - 801083c: 601a str r2, [r3, #0] - 801083e: e000 b.n 8010842 + 80103c8: 68fb ldr r3, [r7, #12] + 80103ca: 2200 movs r2, #0 + 80103cc: 601a str r2, [r3, #0] + 80103ce: e000 b.n 80103d2 return; - 8010840: bf00 nop + 80103d0: bf00 nop } - 8010842: 3710 adds r7, #16 - 8010844: 46bd mov sp, r7 - 8010846: bd80 pop {r7, pc} - 8010848: 0801ce4c .word 0x0801ce4c - 801084c: 0801cf64 .word 0x0801cf64 - 8010850: 0801ceac .word 0x0801ceac - 8010854: 0801cf7c .word 0x0801cf7c - 8010858: 0801cf94 .word 0x0801cf94 + 80103d2: 3710 adds r7, #16 + 80103d4: 46bd mov sp, r7 + 80103d6: bd80 pop {r7, pc} + 80103d8: 0801c648 .word 0x0801c648 + 80103dc: 0801c760 .word 0x0801c760 + 80103e0: 0801c6a8 .word 0x0801c6a8 + 80103e4: 0801c778 .word 0x0801c778 + 80103e8: 0801c790 .word 0x0801c790 -0801085c : +080103ec : * @return non-zero on failure, zero on success. * */ static u8_t pbuf_add_header_impl(struct pbuf *p, size_t header_size_increment, u8_t force) { - 801085c: b580 push {r7, lr} - 801085e: b086 sub sp, #24 - 8010860: af00 add r7, sp, #0 - 8010862: 60f8 str r0, [r7, #12] - 8010864: 60b9 str r1, [r7, #8] - 8010866: 4613 mov r3, r2 - 8010868: 71fb strb r3, [r7, #7] + 80103ec: b580 push {r7, lr} + 80103ee: b086 sub sp, #24 + 80103f0: af00 add r7, sp, #0 + 80103f2: 60f8 str r0, [r7, #12] + 80103f4: 60b9 str r1, [r7, #8] + 80103f6: 4613 mov r3, r2 + 80103f8: 71fb strb r3, [r7, #7] u16_t type_internal; void *payload; u16_t increment_magnitude; LWIP_ASSERT("p != NULL", p != NULL); - 801086a: 68fb ldr r3, [r7, #12] - 801086c: 2b00 cmp r3, #0 - 801086e: d106 bne.n 801087e - 8010870: 4b2b ldr r3, [pc, #172] ; (8010920 ) - 8010872: f240 12df movw r2, #479 ; 0x1df - 8010876: 492b ldr r1, [pc, #172] ; (8010924 ) - 8010878: 482b ldr r0, [pc, #172] ; (8010928 ) - 801087a: f00a fe1d bl 801b4b8 + 80103fa: 68fb ldr r3, [r7, #12] + 80103fc: 2b00 cmp r3, #0 + 80103fe: d106 bne.n 801040e + 8010400: 4b2b ldr r3, [pc, #172] ; (80104b0 ) + 8010402: f240 12df movw r2, #479 ; 0x1df + 8010406: 492b ldr r1, [pc, #172] ; (80104b4 ) + 8010408: 482b ldr r0, [pc, #172] ; (80104b8 ) + 801040a: f00a fe03 bl 801b014 if ((p == NULL) || (header_size_increment > 0xFFFF)) { - 801087e: 68fb ldr r3, [r7, #12] - 8010880: 2b00 cmp r3, #0 - 8010882: d003 beq.n 801088c - 8010884: 68bb ldr r3, [r7, #8] - 8010886: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 801088a: d301 bcc.n 8010890 + 801040e: 68fb ldr r3, [r7, #12] + 8010410: 2b00 cmp r3, #0 + 8010412: d003 beq.n 801041c + 8010414: 68bb ldr r3, [r7, #8] + 8010416: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 801041a: d301 bcc.n 8010420 return 1; - 801088c: 2301 movs r3, #1 - 801088e: e043 b.n 8010918 + 801041c: 2301 movs r3, #1 + 801041e: e043 b.n 80104a8 } if (header_size_increment == 0) { - 8010890: 68bb ldr r3, [r7, #8] - 8010892: 2b00 cmp r3, #0 - 8010894: d101 bne.n 801089a + 8010420: 68bb ldr r3, [r7, #8] + 8010422: 2b00 cmp r3, #0 + 8010424: d101 bne.n 801042a return 0; - 8010896: 2300 movs r3, #0 - 8010898: e03e b.n 8010918 + 8010426: 2300 movs r3, #0 + 8010428: e03e b.n 80104a8 } increment_magnitude = (u16_t)header_size_increment; - 801089a: 68bb ldr r3, [r7, #8] - 801089c: 827b strh r3, [r7, #18] + 801042a: 68bb ldr r3, [r7, #8] + 801042c: 827b strh r3, [r7, #18] /* Do not allow tot_len to wrap as a result. */ if ((u16_t)(increment_magnitude + p->tot_len) < increment_magnitude) { - 801089e: 68fb ldr r3, [r7, #12] - 80108a0: 891a ldrh r2, [r3, #8] - 80108a2: 8a7b ldrh r3, [r7, #18] - 80108a4: 4413 add r3, r2 - 80108a6: b29b uxth r3, r3 - 80108a8: 8a7a ldrh r2, [r7, #18] - 80108aa: 429a cmp r2, r3 - 80108ac: d901 bls.n 80108b2 + 801042e: 68fb ldr r3, [r7, #12] + 8010430: 891a ldrh r2, [r3, #8] + 8010432: 8a7b ldrh r3, [r7, #18] + 8010434: 4413 add r3, r2 + 8010436: b29b uxth r3, r3 + 8010438: 8a7a ldrh r2, [r7, #18] + 801043a: 429a cmp r2, r3 + 801043c: d901 bls.n 8010442 return 1; - 80108ae: 2301 movs r3, #1 - 80108b0: e032 b.n 8010918 + 801043e: 2301 movs r3, #1 + 8010440: e032 b.n 80104a8 } type_internal = p->type_internal; - 80108b2: 68fb ldr r3, [r7, #12] - 80108b4: 7b1b ldrb r3, [r3, #12] - 80108b6: 823b strh r3, [r7, #16] + 8010442: 68fb ldr r3, [r7, #12] + 8010444: 7b1b ldrb r3, [r3, #12] + 8010446: 823b strh r3, [r7, #16] /* pbuf types containing payloads? */ if (type_internal & PBUF_TYPE_FLAG_STRUCT_DATA_CONTIGUOUS) { - 80108b8: 8a3b ldrh r3, [r7, #16] - 80108ba: f003 0380 and.w r3, r3, #128 ; 0x80 - 80108be: 2b00 cmp r3, #0 - 80108c0: d00c beq.n 80108dc + 8010448: 8a3b ldrh r3, [r7, #16] + 801044a: f003 0380 and.w r3, r3, #128 ; 0x80 + 801044e: 2b00 cmp r3, #0 + 8010450: d00c beq.n 801046c /* set new payload pointer */ payload = (u8_t *)p->payload - header_size_increment; - 80108c2: 68fb ldr r3, [r7, #12] - 80108c4: 685a ldr r2, [r3, #4] - 80108c6: 68bb ldr r3, [r7, #8] - 80108c8: 425b negs r3, r3 - 80108ca: 4413 add r3, r2 - 80108cc: 617b str r3, [r7, #20] + 8010452: 68fb ldr r3, [r7, #12] + 8010454: 685a ldr r2, [r3, #4] + 8010456: 68bb ldr r3, [r7, #8] + 8010458: 425b negs r3, r3 + 801045a: 4413 add r3, r2 + 801045c: 617b str r3, [r7, #20] /* boundary check fails? */ if ((u8_t *)payload < (u8_t *)p + SIZEOF_STRUCT_PBUF) { - 80108ce: 68fb ldr r3, [r7, #12] - 80108d0: 3310 adds r3, #16 - 80108d2: 697a ldr r2, [r7, #20] - 80108d4: 429a cmp r2, r3 - 80108d6: d20d bcs.n 80108f4 + 801045e: 68fb ldr r3, [r7, #12] + 8010460: 3310 adds r3, #16 + 8010462: 697a ldr r2, [r7, #20] + 8010464: 429a cmp r2, r3 + 8010466: d20d bcs.n 8010484 LWIP_DEBUGF( PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_add_header: failed as %p < %p (not enough space for new header size)\n", (void *)payload, (void *)((u8_t *)p + SIZEOF_STRUCT_PBUF))); /* bail out unsuccessfully */ return 1; - 80108d8: 2301 movs r3, #1 - 80108da: e01d b.n 8010918 + 8010468: 2301 movs r3, #1 + 801046a: e01d b.n 80104a8 } /* pbuf types referring to external payloads? */ } else { /* hide a header in the payload? */ if (force) { - 80108dc: 79fb ldrb r3, [r7, #7] - 80108de: 2b00 cmp r3, #0 - 80108e0: d006 beq.n 80108f0 + 801046c: 79fb ldrb r3, [r7, #7] + 801046e: 2b00 cmp r3, #0 + 8010470: d006 beq.n 8010480 payload = (u8_t *)p->payload - header_size_increment; - 80108e2: 68fb ldr r3, [r7, #12] - 80108e4: 685a ldr r2, [r3, #4] - 80108e6: 68bb ldr r3, [r7, #8] - 80108e8: 425b negs r3, r3 - 80108ea: 4413 add r3, r2 - 80108ec: 617b str r3, [r7, #20] - 80108ee: e001 b.n 80108f4 + 8010472: 68fb ldr r3, [r7, #12] + 8010474: 685a ldr r2, [r3, #4] + 8010476: 68bb ldr r3, [r7, #8] + 8010478: 425b negs r3, r3 + 801047a: 4413 add r3, r2 + 801047c: 617b str r3, [r7, #20] + 801047e: e001 b.n 8010484 } else { /* cannot expand payload to front (yet!) * bail out unsuccessfully */ return 1; - 80108f0: 2301 movs r3, #1 - 80108f2: e011 b.n 8010918 + 8010480: 2301 movs r3, #1 + 8010482: e011 b.n 80104a8 } LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_add_header: old %p new %p (%"U16_F")\n", (void *)p->payload, (void *)payload, increment_magnitude)); /* modify pbuf fields */ p->payload = payload; - 80108f4: 68fb ldr r3, [r7, #12] - 80108f6: 697a ldr r2, [r7, #20] - 80108f8: 605a str r2, [r3, #4] + 8010484: 68fb ldr r3, [r7, #12] + 8010486: 697a ldr r2, [r7, #20] + 8010488: 605a str r2, [r3, #4] p->len = (u16_t)(p->len + increment_magnitude); - 80108fa: 68fb ldr r3, [r7, #12] - 80108fc: 895a ldrh r2, [r3, #10] - 80108fe: 8a7b ldrh r3, [r7, #18] - 8010900: 4413 add r3, r2 - 8010902: b29a uxth r2, r3 - 8010904: 68fb ldr r3, [r7, #12] - 8010906: 815a strh r2, [r3, #10] + 801048a: 68fb ldr r3, [r7, #12] + 801048c: 895a ldrh r2, [r3, #10] + 801048e: 8a7b ldrh r3, [r7, #18] + 8010490: 4413 add r3, r2 + 8010492: b29a uxth r2, r3 + 8010494: 68fb ldr r3, [r7, #12] + 8010496: 815a strh r2, [r3, #10] p->tot_len = (u16_t)(p->tot_len + increment_magnitude); - 8010908: 68fb ldr r3, [r7, #12] - 801090a: 891a ldrh r2, [r3, #8] - 801090c: 8a7b ldrh r3, [r7, #18] - 801090e: 4413 add r3, r2 - 8010910: b29a uxth r2, r3 - 8010912: 68fb ldr r3, [r7, #12] - 8010914: 811a strh r2, [r3, #8] + 8010498: 68fb ldr r3, [r7, #12] + 801049a: 891a ldrh r2, [r3, #8] + 801049c: 8a7b ldrh r3, [r7, #18] + 801049e: 4413 add r3, r2 + 80104a0: b29a uxth r2, r3 + 80104a2: 68fb ldr r3, [r7, #12] + 80104a4: 811a strh r2, [r3, #8] return 0; - 8010916: 2300 movs r3, #0 + 80104a6: 2300 movs r3, #0 } - 8010918: 4618 mov r0, r3 - 801091a: 3718 adds r7, #24 - 801091c: 46bd mov sp, r7 - 801091e: bd80 pop {r7, pc} - 8010920: 0801ce4c .word 0x0801ce4c - 8010924: 0801cfb0 .word 0x0801cfb0 - 8010928: 0801ceac .word 0x0801ceac + 80104a8: 4618 mov r0, r3 + 80104aa: 3718 adds r7, #24 + 80104ac: 46bd mov sp, r7 + 80104ae: bd80 pop {r7, pc} + 80104b0: 0801c648 .word 0x0801c648 + 80104b4: 0801c7ac .word 0x0801c7ac + 80104b8: 0801c6a8 .word 0x0801c6a8 -0801092c : +080104bc : * @return non-zero on failure, zero on success. * */ u8_t pbuf_add_header(struct pbuf *p, size_t header_size_increment) { - 801092c: b580 push {r7, lr} - 801092e: b082 sub sp, #8 - 8010930: af00 add r7, sp, #0 - 8010932: 6078 str r0, [r7, #4] - 8010934: 6039 str r1, [r7, #0] + 80104bc: b580 push {r7, lr} + 80104be: b082 sub sp, #8 + 80104c0: af00 add r7, sp, #0 + 80104c2: 6078 str r0, [r7, #4] + 80104c4: 6039 str r1, [r7, #0] return pbuf_add_header_impl(p, header_size_increment, 0); - 8010936: 2200 movs r2, #0 - 8010938: 6839 ldr r1, [r7, #0] - 801093a: 6878 ldr r0, [r7, #4] - 801093c: f7ff ff8e bl 801085c - 8010940: 4603 mov r3, r0 + 80104c6: 2200 movs r2, #0 + 80104c8: 6839 ldr r1, [r7, #0] + 80104ca: 6878 ldr r0, [r7, #4] + 80104cc: f7ff ff8e bl 80103ec + 80104d0: 4603 mov r3, r0 } - 8010942: 4618 mov r0, r3 - 8010944: 3708 adds r7, #8 - 8010946: 46bd mov sp, r7 - 8010948: bd80 pop {r7, pc} + 80104d2: 4618 mov r0, r3 + 80104d4: 3708 adds r7, #8 + 80104d6: 46bd mov sp, r7 + 80104d8: bd80 pop {r7, pc} ... -0801094c : +080104dc : * @return non-zero on failure, zero on success. * */ u8_t pbuf_remove_header(struct pbuf *p, size_t header_size_decrement) { - 801094c: b580 push {r7, lr} - 801094e: b084 sub sp, #16 - 8010950: af00 add r7, sp, #0 - 8010952: 6078 str r0, [r7, #4] - 8010954: 6039 str r1, [r7, #0] + 80104dc: b580 push {r7, lr} + 80104de: b084 sub sp, #16 + 80104e0: af00 add r7, sp, #0 + 80104e2: 6078 str r0, [r7, #4] + 80104e4: 6039 str r1, [r7, #0] void *payload; u16_t increment_magnitude; LWIP_ASSERT("p != NULL", p != NULL); - 8010956: 687b ldr r3, [r7, #4] - 8010958: 2b00 cmp r3, #0 - 801095a: d106 bne.n 801096a - 801095c: 4b20 ldr r3, [pc, #128] ; (80109e0 ) - 801095e: f240 224b movw r2, #587 ; 0x24b - 8010962: 4920 ldr r1, [pc, #128] ; (80109e4 ) - 8010964: 4820 ldr r0, [pc, #128] ; (80109e8 ) - 8010966: f00a fda7 bl 801b4b8 + 80104e6: 687b ldr r3, [r7, #4] + 80104e8: 2b00 cmp r3, #0 + 80104ea: d106 bne.n 80104fa + 80104ec: 4b20 ldr r3, [pc, #128] ; (8010570 ) + 80104ee: f240 224b movw r2, #587 ; 0x24b + 80104f2: 4920 ldr r1, [pc, #128] ; (8010574 ) + 80104f4: 4820 ldr r0, [pc, #128] ; (8010578 ) + 80104f6: f00a fd8d bl 801b014 if ((p == NULL) || (header_size_decrement > 0xFFFF)) { - 801096a: 687b ldr r3, [r7, #4] - 801096c: 2b00 cmp r3, #0 - 801096e: d003 beq.n 8010978 - 8010970: 683b ldr r3, [r7, #0] - 8010972: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 8010976: d301 bcc.n 801097c + 80104fa: 687b ldr r3, [r7, #4] + 80104fc: 2b00 cmp r3, #0 + 80104fe: d003 beq.n 8010508 + 8010500: 683b ldr r3, [r7, #0] + 8010502: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 8010506: d301 bcc.n 801050c return 1; - 8010978: 2301 movs r3, #1 - 801097a: e02c b.n 80109d6 + 8010508: 2301 movs r3, #1 + 801050a: e02c b.n 8010566 } if (header_size_decrement == 0) { - 801097c: 683b ldr r3, [r7, #0] - 801097e: 2b00 cmp r3, #0 - 8010980: d101 bne.n 8010986 + 801050c: 683b ldr r3, [r7, #0] + 801050e: 2b00 cmp r3, #0 + 8010510: d101 bne.n 8010516 return 0; - 8010982: 2300 movs r3, #0 - 8010984: e027 b.n 80109d6 + 8010512: 2300 movs r3, #0 + 8010514: e027 b.n 8010566 } increment_magnitude = (u16_t)header_size_decrement; - 8010986: 683b ldr r3, [r7, #0] - 8010988: 81fb strh r3, [r7, #14] + 8010516: 683b ldr r3, [r7, #0] + 8010518: 81fb strh r3, [r7, #14] /* Check that we aren't going to move off the end of the pbuf */ LWIP_ERROR("increment_magnitude <= p->len", (increment_magnitude <= p->len), return 1;); - 801098a: 687b ldr r3, [r7, #4] - 801098c: 895b ldrh r3, [r3, #10] - 801098e: 89fa ldrh r2, [r7, #14] - 8010990: 429a cmp r2, r3 - 8010992: d908 bls.n 80109a6 - 8010994: 4b12 ldr r3, [pc, #72] ; (80109e0 ) - 8010996: f240 2255 movw r2, #597 ; 0x255 - 801099a: 4914 ldr r1, [pc, #80] ; (80109ec ) - 801099c: 4812 ldr r0, [pc, #72] ; (80109e8 ) - 801099e: f00a fd8b bl 801b4b8 - 80109a2: 2301 movs r3, #1 - 80109a4: e017 b.n 80109d6 + 801051a: 687b ldr r3, [r7, #4] + 801051c: 895b ldrh r3, [r3, #10] + 801051e: 89fa ldrh r2, [r7, #14] + 8010520: 429a cmp r2, r3 + 8010522: d908 bls.n 8010536 + 8010524: 4b12 ldr r3, [pc, #72] ; (8010570 ) + 8010526: f240 2255 movw r2, #597 ; 0x255 + 801052a: 4914 ldr r1, [pc, #80] ; (801057c ) + 801052c: 4812 ldr r0, [pc, #72] ; (8010578 ) + 801052e: f00a fd71 bl 801b014 + 8010532: 2301 movs r3, #1 + 8010534: e017 b.n 8010566 /* remember current payload pointer */ payload = p->payload; - 80109a6: 687b ldr r3, [r7, #4] - 80109a8: 685b ldr r3, [r3, #4] - 80109aa: 60bb str r3, [r7, #8] + 8010536: 687b ldr r3, [r7, #4] + 8010538: 685b ldr r3, [r3, #4] + 801053a: 60bb str r3, [r7, #8] LWIP_UNUSED_ARG(payload); /* only used in LWIP_DEBUGF below */ /* increase payload pointer (guarded by length check above) */ p->payload = (u8_t *)p->payload + header_size_decrement; - 80109ac: 687b ldr r3, [r7, #4] - 80109ae: 685a ldr r2, [r3, #4] - 80109b0: 683b ldr r3, [r7, #0] - 80109b2: 441a add r2, r3 - 80109b4: 687b ldr r3, [r7, #4] - 80109b6: 605a str r2, [r3, #4] + 801053c: 687b ldr r3, [r7, #4] + 801053e: 685a ldr r2, [r3, #4] + 8010540: 683b ldr r3, [r7, #0] + 8010542: 441a add r2, r3 + 8010544: 687b ldr r3, [r7, #4] + 8010546: 605a str r2, [r3, #4] /* modify pbuf length fields */ p->len = (u16_t)(p->len - increment_magnitude); - 80109b8: 687b ldr r3, [r7, #4] - 80109ba: 895a ldrh r2, [r3, #10] - 80109bc: 89fb ldrh r3, [r7, #14] - 80109be: 1ad3 subs r3, r2, r3 - 80109c0: b29a uxth r2, r3 - 80109c2: 687b ldr r3, [r7, #4] - 80109c4: 815a strh r2, [r3, #10] + 8010548: 687b ldr r3, [r7, #4] + 801054a: 895a ldrh r2, [r3, #10] + 801054c: 89fb ldrh r3, [r7, #14] + 801054e: 1ad3 subs r3, r2, r3 + 8010550: b29a uxth r2, r3 + 8010552: 687b ldr r3, [r7, #4] + 8010554: 815a strh r2, [r3, #10] p->tot_len = (u16_t)(p->tot_len - increment_magnitude); - 80109c6: 687b ldr r3, [r7, #4] - 80109c8: 891a ldrh r2, [r3, #8] - 80109ca: 89fb ldrh r3, [r7, #14] - 80109cc: 1ad3 subs r3, r2, r3 - 80109ce: b29a uxth r2, r3 - 80109d0: 687b ldr r3, [r7, #4] - 80109d2: 811a strh r2, [r3, #8] + 8010556: 687b ldr r3, [r7, #4] + 8010558: 891a ldrh r2, [r3, #8] + 801055a: 89fb ldrh r3, [r7, #14] + 801055c: 1ad3 subs r3, r2, r3 + 801055e: b29a uxth r2, r3 + 8010560: 687b ldr r3, [r7, #4] + 8010562: 811a strh r2, [r3, #8] LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_remove_header: old %p new %p (%"U16_F")\n", (void *)payload, (void *)p->payload, increment_magnitude)); return 0; - 80109d4: 2300 movs r3, #0 + 8010564: 2300 movs r3, #0 } - 80109d6: 4618 mov r0, r3 - 80109d8: 3710 adds r7, #16 - 80109da: 46bd mov sp, r7 - 80109dc: bd80 pop {r7, pc} - 80109de: bf00 nop - 80109e0: 0801ce4c .word 0x0801ce4c - 80109e4: 0801cfb0 .word 0x0801cfb0 - 80109e8: 0801ceac .word 0x0801ceac - 80109ec: 0801cfbc .word 0x0801cfbc + 8010566: 4618 mov r0, r3 + 8010568: 3710 adds r7, #16 + 801056a: 46bd mov sp, r7 + 801056c: bd80 pop {r7, pc} + 801056e: bf00 nop + 8010570: 0801c648 .word 0x0801c648 + 8010574: 0801c7ac .word 0x0801c7ac + 8010578: 0801c6a8 .word 0x0801c6a8 + 801057c: 0801c7b8 .word 0x0801c7b8 -080109f0 : +08010580 : static u8_t pbuf_header_impl(struct pbuf *p, s16_t header_size_increment, u8_t force) { - 80109f0: b580 push {r7, lr} - 80109f2: b082 sub sp, #8 - 80109f4: af00 add r7, sp, #0 - 80109f6: 6078 str r0, [r7, #4] - 80109f8: 460b mov r3, r1 - 80109fa: 807b strh r3, [r7, #2] - 80109fc: 4613 mov r3, r2 - 80109fe: 707b strb r3, [r7, #1] + 8010580: b580 push {r7, lr} + 8010582: b082 sub sp, #8 + 8010584: af00 add r7, sp, #0 + 8010586: 6078 str r0, [r7, #4] + 8010588: 460b mov r3, r1 + 801058a: 807b strh r3, [r7, #2] + 801058c: 4613 mov r3, r2 + 801058e: 707b strb r3, [r7, #1] if (header_size_increment < 0) { - 8010a00: f9b7 3002 ldrsh.w r3, [r7, #2] - 8010a04: 2b00 cmp r3, #0 - 8010a06: da08 bge.n 8010a1a + 8010590: f9b7 3002 ldrsh.w r3, [r7, #2] + 8010594: 2b00 cmp r3, #0 + 8010596: da08 bge.n 80105aa return pbuf_remove_header(p, (size_t) - header_size_increment); - 8010a08: f9b7 3002 ldrsh.w r3, [r7, #2] - 8010a0c: 425b negs r3, r3 - 8010a0e: 4619 mov r1, r3 - 8010a10: 6878 ldr r0, [r7, #4] - 8010a12: f7ff ff9b bl 801094c - 8010a16: 4603 mov r3, r0 - 8010a18: e007 b.n 8010a2a + 8010598: f9b7 3002 ldrsh.w r3, [r7, #2] + 801059c: 425b negs r3, r3 + 801059e: 4619 mov r1, r3 + 80105a0: 6878 ldr r0, [r7, #4] + 80105a2: f7ff ff9b bl 80104dc + 80105a6: 4603 mov r3, r0 + 80105a8: e007 b.n 80105ba } else { return pbuf_add_header_impl(p, (size_t)header_size_increment, force); - 8010a1a: f9b7 3002 ldrsh.w r3, [r7, #2] - 8010a1e: 787a ldrb r2, [r7, #1] - 8010a20: 4619 mov r1, r3 - 8010a22: 6878 ldr r0, [r7, #4] - 8010a24: f7ff ff1a bl 801085c - 8010a28: 4603 mov r3, r0 + 80105aa: f9b7 3002 ldrsh.w r3, [r7, #2] + 80105ae: 787a ldrb r2, [r7, #1] + 80105b0: 4619 mov r1, r3 + 80105b2: 6878 ldr r0, [r7, #4] + 80105b4: f7ff ff1a bl 80103ec + 80105b8: 4603 mov r3, r0 } } - 8010a2a: 4618 mov r0, r3 - 8010a2c: 3708 adds r7, #8 - 8010a2e: 46bd mov sp, r7 - 8010a30: bd80 pop {r7, pc} + 80105ba: 4618 mov r0, r3 + 80105bc: 3708 adds r7, #8 + 80105be: 46bd mov sp, r7 + 80105c0: bd80 pop {r7, pc} -08010a32 : +080105c2 : * Same as pbuf_header but does not check if 'header_size > 0' is allowed. * This is used internally only, to allow PBUF_REF for RX. */ u8_t pbuf_header_force(struct pbuf *p, s16_t header_size_increment) { - 8010a32: b580 push {r7, lr} - 8010a34: b082 sub sp, #8 - 8010a36: af00 add r7, sp, #0 - 8010a38: 6078 str r0, [r7, #4] - 8010a3a: 460b mov r3, r1 - 8010a3c: 807b strh r3, [r7, #2] + 80105c2: b580 push {r7, lr} + 80105c4: b082 sub sp, #8 + 80105c6: af00 add r7, sp, #0 + 80105c8: 6078 str r0, [r7, #4] + 80105ca: 460b mov r3, r1 + 80105cc: 807b strh r3, [r7, #2] return pbuf_header_impl(p, header_size_increment, 1); - 8010a3e: f9b7 3002 ldrsh.w r3, [r7, #2] - 8010a42: 2201 movs r2, #1 - 8010a44: 4619 mov r1, r3 - 8010a46: 6878 ldr r0, [r7, #4] - 8010a48: f7ff ffd2 bl 80109f0 - 8010a4c: 4603 mov r3, r0 + 80105ce: f9b7 3002 ldrsh.w r3, [r7, #2] + 80105d2: 2201 movs r2, #1 + 80105d4: 4619 mov r1, r3 + 80105d6: 6878 ldr r0, [r7, #4] + 80105d8: f7ff ffd2 bl 8010580 + 80105dc: 4603 mov r3, r0 } - 8010a4e: 4618 mov r0, r3 - 8010a50: 3708 adds r7, #8 - 8010a52: 46bd mov sp, r7 - 8010a54: bd80 pop {r7, pc} + 80105de: 4618 mov r0, r3 + 80105e0: 3708 adds r7, #8 + 80105e2: 46bd mov sp, r7 + 80105e4: bd80 pop {r7, pc} ... -08010a58 : +080105e8 : * 1->1->1 becomes ....... * */ u8_t pbuf_free(struct pbuf *p) { - 8010a58: b580 push {r7, lr} - 8010a5a: b088 sub sp, #32 - 8010a5c: af00 add r7, sp, #0 - 8010a5e: 6078 str r0, [r7, #4] + 80105e8: b580 push {r7, lr} + 80105ea: b088 sub sp, #32 + 80105ec: af00 add r7, sp, #0 + 80105ee: 6078 str r0, [r7, #4] u8_t alloc_src; struct pbuf *q; u8_t count; if (p == NULL) { - 8010a60: 687b ldr r3, [r7, #4] - 8010a62: 2b00 cmp r3, #0 - 8010a64: d10b bne.n 8010a7e + 80105f0: 687b ldr r3, [r7, #4] + 80105f2: 2b00 cmp r3, #0 + 80105f4: d10b bne.n 801060e LWIP_ASSERT("p != NULL", p != NULL); - 8010a66: 687b ldr r3, [r7, #4] - 8010a68: 2b00 cmp r3, #0 - 8010a6a: d106 bne.n 8010a7a - 8010a6c: 4b3b ldr r3, [pc, #236] ; (8010b5c ) - 8010a6e: f44f 7237 mov.w r2, #732 ; 0x2dc - 8010a72: 493b ldr r1, [pc, #236] ; (8010b60 ) - 8010a74: 483b ldr r0, [pc, #236] ; (8010b64 ) - 8010a76: f00a fd1f bl 801b4b8 + 80105f6: 687b ldr r3, [r7, #4] + 80105f8: 2b00 cmp r3, #0 + 80105fa: d106 bne.n 801060a + 80105fc: 4b3b ldr r3, [pc, #236] ; (80106ec ) + 80105fe: f44f 7237 mov.w r2, #732 ; 0x2dc + 8010602: 493b ldr r1, [pc, #236] ; (80106f0 ) + 8010604: 483b ldr r0, [pc, #236] ; (80106f4 ) + 8010606: f00a fd05 bl 801b014 /* if assertions are disabled, proceed with debug output */ LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("pbuf_free(p == NULL) was called.\n")); return 0; - 8010a7a: 2300 movs r3, #0 - 8010a7c: e069 b.n 8010b52 + 801060a: 2300 movs r3, #0 + 801060c: e069 b.n 80106e2 } LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_free(%p)\n", (void *)p)); PERF_START; count = 0; - 8010a7e: 2300 movs r3, #0 - 8010a80: 77fb strb r3, [r7, #31] + 801060e: 2300 movs r3, #0 + 8010610: 77fb strb r3, [r7, #31] /* de-allocate all consecutive pbufs from the head of the chain that * obtain a zero reference count after decrementing*/ while (p != NULL) { - 8010a82: e062 b.n 8010b4a + 8010612: e062 b.n 80106da LWIP_PBUF_REF_T ref; SYS_ARCH_DECL_PROTECT(old_level); /* Since decrementing ref cannot be guaranteed to be a single machine operation * we must protect it. We put the new ref into a local variable to prevent * further protection. */ SYS_ARCH_PROTECT(old_level); - 8010a84: f00a fc9a bl 801b3bc - 8010a88: 61b8 str r0, [r7, #24] + 8010614: f00a fc9a bl 801af4c + 8010618: 61b8 str r0, [r7, #24] /* all pbufs in a chain are referenced at least once */ LWIP_ASSERT("pbuf_free: p->ref > 0", p->ref > 0); - 8010a8a: 687b ldr r3, [r7, #4] - 8010a8c: 7b9b ldrb r3, [r3, #14] - 8010a8e: 2b00 cmp r3, #0 - 8010a90: d106 bne.n 8010aa0 - 8010a92: 4b32 ldr r3, [pc, #200] ; (8010b5c ) - 8010a94: f240 22f1 movw r2, #753 ; 0x2f1 - 8010a98: 4933 ldr r1, [pc, #204] ; (8010b68 ) - 8010a9a: 4832 ldr r0, [pc, #200] ; (8010b64 ) - 8010a9c: f00a fd0c bl 801b4b8 + 801061a: 687b ldr r3, [r7, #4] + 801061c: 7b9b ldrb r3, [r3, #14] + 801061e: 2b00 cmp r3, #0 + 8010620: d106 bne.n 8010630 + 8010622: 4b32 ldr r3, [pc, #200] ; (80106ec ) + 8010624: f240 22f1 movw r2, #753 ; 0x2f1 + 8010628: 4933 ldr r1, [pc, #204] ; (80106f8 ) + 801062a: 4832 ldr r0, [pc, #200] ; (80106f4 ) + 801062c: f00a fcf2 bl 801b014 /* decrease reference count (number of pointers to pbuf) */ ref = --(p->ref); - 8010aa0: 687b ldr r3, [r7, #4] - 8010aa2: 7b9b ldrb r3, [r3, #14] - 8010aa4: 3b01 subs r3, #1 - 8010aa6: b2da uxtb r2, r3 - 8010aa8: 687b ldr r3, [r7, #4] - 8010aaa: 739a strb r2, [r3, #14] - 8010aac: 687b ldr r3, [r7, #4] - 8010aae: 7b9b ldrb r3, [r3, #14] - 8010ab0: 75fb strb r3, [r7, #23] + 8010630: 687b ldr r3, [r7, #4] + 8010632: 7b9b ldrb r3, [r3, #14] + 8010634: 3b01 subs r3, #1 + 8010636: b2da uxtb r2, r3 + 8010638: 687b ldr r3, [r7, #4] + 801063a: 739a strb r2, [r3, #14] + 801063c: 687b ldr r3, [r7, #4] + 801063e: 7b9b ldrb r3, [r3, #14] + 8010640: 75fb strb r3, [r7, #23] SYS_ARCH_UNPROTECT(old_level); - 8010ab2: 69b8 ldr r0, [r7, #24] - 8010ab4: f00a fc90 bl 801b3d8 + 8010642: 69b8 ldr r0, [r7, #24] + 8010644: f00a fc90 bl 801af68 /* this pbuf is no longer referenced to? */ if (ref == 0) { - 8010ab8: 7dfb ldrb r3, [r7, #23] - 8010aba: 2b00 cmp r3, #0 - 8010abc: d143 bne.n 8010b46 + 8010648: 7dfb ldrb r3, [r7, #23] + 801064a: 2b00 cmp r3, #0 + 801064c: d143 bne.n 80106d6 /* remember next pbuf in chain for next iteration */ q = p->next; - 8010abe: 687b ldr r3, [r7, #4] - 8010ac0: 681b ldr r3, [r3, #0] - 8010ac2: 613b str r3, [r7, #16] + 801064e: 687b ldr r3, [r7, #4] + 8010650: 681b ldr r3, [r3, #0] + 8010652: 613b str r3, [r7, #16] LWIP_DEBUGF( PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_free: deallocating %p\n", (void *)p)); alloc_src = pbuf_get_allocsrc(p); - 8010ac4: 687b ldr r3, [r7, #4] - 8010ac6: 7b1b ldrb r3, [r3, #12] - 8010ac8: f003 030f and.w r3, r3, #15 - 8010acc: 73fb strb r3, [r7, #15] + 8010654: 687b ldr r3, [r7, #4] + 8010656: 7b1b ldrb r3, [r3, #12] + 8010658: f003 030f and.w r3, r3, #15 + 801065c: 73fb strb r3, [r7, #15] #if LWIP_SUPPORT_CUSTOM_PBUF /* is this a custom pbuf? */ if ((p->flags & PBUF_FLAG_IS_CUSTOM) != 0) { - 8010ace: 687b ldr r3, [r7, #4] - 8010ad0: 7b5b ldrb r3, [r3, #13] - 8010ad2: f003 0302 and.w r3, r3, #2 - 8010ad6: 2b00 cmp r3, #0 - 8010ad8: d011 beq.n 8010afe + 801065e: 687b ldr r3, [r7, #4] + 8010660: 7b5b ldrb r3, [r3, #13] + 8010662: f003 0302 and.w r3, r3, #2 + 8010666: 2b00 cmp r3, #0 + 8010668: d011 beq.n 801068e struct pbuf_custom *pc = (struct pbuf_custom *)p; - 8010ada: 687b ldr r3, [r7, #4] - 8010adc: 60bb str r3, [r7, #8] + 801066a: 687b ldr r3, [r7, #4] + 801066c: 60bb str r3, [r7, #8] LWIP_ASSERT("pc->custom_free_function != NULL", pc->custom_free_function != NULL); - 8010ade: 68bb ldr r3, [r7, #8] - 8010ae0: 691b ldr r3, [r3, #16] - 8010ae2: 2b00 cmp r3, #0 - 8010ae4: d106 bne.n 8010af4 - 8010ae6: 4b1d ldr r3, [pc, #116] ; (8010b5c ) - 8010ae8: f240 22ff movw r2, #767 ; 0x2ff - 8010aec: 491f ldr r1, [pc, #124] ; (8010b6c ) - 8010aee: 481d ldr r0, [pc, #116] ; (8010b64 ) - 8010af0: f00a fce2 bl 801b4b8 + 801066e: 68bb ldr r3, [r7, #8] + 8010670: 691b ldr r3, [r3, #16] + 8010672: 2b00 cmp r3, #0 + 8010674: d106 bne.n 8010684 + 8010676: 4b1d ldr r3, [pc, #116] ; (80106ec ) + 8010678: f240 22ff movw r2, #767 ; 0x2ff + 801067c: 491f ldr r1, [pc, #124] ; (80106fc ) + 801067e: 481d ldr r0, [pc, #116] ; (80106f4 ) + 8010680: f00a fcc8 bl 801b014 pc->custom_free_function(p); - 8010af4: 68bb ldr r3, [r7, #8] - 8010af6: 691b ldr r3, [r3, #16] - 8010af8: 6878 ldr r0, [r7, #4] - 8010afa: 4798 blx r3 - 8010afc: e01d b.n 8010b3a + 8010684: 68bb ldr r3, [r7, #8] + 8010686: 691b ldr r3, [r3, #16] + 8010688: 6878 ldr r0, [r7, #4] + 801068a: 4798 blx r3 + 801068c: e01d b.n 80106ca } else #endif /* LWIP_SUPPORT_CUSTOM_PBUF */ { /* is this a pbuf from the pool? */ if (alloc_src == PBUF_TYPE_ALLOC_SRC_MASK_STD_MEMP_PBUF_POOL) { - 8010afe: 7bfb ldrb r3, [r7, #15] - 8010b00: 2b02 cmp r3, #2 - 8010b02: d104 bne.n 8010b0e + 801068e: 7bfb ldrb r3, [r7, #15] + 8010690: 2b02 cmp r3, #2 + 8010692: d104 bne.n 801069e memp_free(MEMP_PBUF_POOL, p); - 8010b04: 6879 ldr r1, [r7, #4] - 8010b06: 200c movs r0, #12 - 8010b08: f7ff f8fa bl 800fd00 - 8010b0c: e015 b.n 8010b3a + 8010694: 6879 ldr r1, [r7, #4] + 8010696: 200c movs r0, #12 + 8010698: f7ff f8fa bl 800f890 + 801069c: e015 b.n 80106ca /* is this a ROM or RAM referencing pbuf? */ } else if (alloc_src == PBUF_TYPE_ALLOC_SRC_MASK_STD_MEMP_PBUF) { - 8010b0e: 7bfb ldrb r3, [r7, #15] - 8010b10: 2b01 cmp r3, #1 - 8010b12: d104 bne.n 8010b1e + 801069e: 7bfb ldrb r3, [r7, #15] + 80106a0: 2b01 cmp r3, #1 + 80106a2: d104 bne.n 80106ae memp_free(MEMP_PBUF, p); - 8010b14: 6879 ldr r1, [r7, #4] - 8010b16: 200b movs r0, #11 - 8010b18: f7ff f8f2 bl 800fd00 - 8010b1c: e00d b.n 8010b3a + 80106a4: 6879 ldr r1, [r7, #4] + 80106a6: 200b movs r0, #11 + 80106a8: f7ff f8f2 bl 800f890 + 80106ac: e00d b.n 80106ca /* type == PBUF_RAM */ } else if (alloc_src == PBUF_TYPE_ALLOC_SRC_MASK_STD_HEAP) { - 8010b1e: 7bfb ldrb r3, [r7, #15] - 8010b20: 2b00 cmp r3, #0 - 8010b22: d103 bne.n 8010b2c + 80106ae: 7bfb ldrb r3, [r7, #15] + 80106b0: 2b00 cmp r3, #0 + 80106b2: d103 bne.n 80106bc mem_free(p); - 8010b24: 6878 ldr r0, [r7, #4] - 8010b26: f7fe fd7d bl 800f624 - 8010b2a: e006 b.n 8010b3a + 80106b4: 6878 ldr r0, [r7, #4] + 80106b6: f7fe fd7d bl 800f1b4 + 80106ba: e006 b.n 80106ca } else { /* @todo: support freeing other types */ LWIP_ASSERT("invalid pbuf type", 0); - 8010b2c: 4b0b ldr r3, [pc, #44] ; (8010b5c ) - 8010b2e: f240 320f movw r2, #783 ; 0x30f - 8010b32: 490f ldr r1, [pc, #60] ; (8010b70 ) - 8010b34: 480b ldr r0, [pc, #44] ; (8010b64 ) - 8010b36: f00a fcbf bl 801b4b8 + 80106bc: 4b0b ldr r3, [pc, #44] ; (80106ec ) + 80106be: f240 320f movw r2, #783 ; 0x30f + 80106c2: 490f ldr r1, [pc, #60] ; (8010700 ) + 80106c4: 480b ldr r0, [pc, #44] ; (80106f4 ) + 80106c6: f00a fca5 bl 801b014 } } count++; - 8010b3a: 7ffb ldrb r3, [r7, #31] - 8010b3c: 3301 adds r3, #1 - 8010b3e: 77fb strb r3, [r7, #31] + 80106ca: 7ffb ldrb r3, [r7, #31] + 80106cc: 3301 adds r3, #1 + 80106ce: 77fb strb r3, [r7, #31] /* proceed to next pbuf */ p = q; - 8010b40: 693b ldr r3, [r7, #16] - 8010b42: 607b str r3, [r7, #4] - 8010b44: e001 b.n 8010b4a + 80106d0: 693b ldr r3, [r7, #16] + 80106d2: 607b str r3, [r7, #4] + 80106d4: e001 b.n 80106da /* p->ref > 0, this pbuf is still referenced to */ /* (and so the remaining pbufs in chain as well) */ } else { LWIP_DEBUGF( PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_free: %p has ref %"U16_F", ending here.\n", (void *)p, (u16_t)ref)); /* stop walking through the chain */ p = NULL; - 8010b46: 2300 movs r3, #0 - 8010b48: 607b str r3, [r7, #4] + 80106d6: 2300 movs r3, #0 + 80106d8: 607b str r3, [r7, #4] while (p != NULL) { - 8010b4a: 687b ldr r3, [r7, #4] - 8010b4c: 2b00 cmp r3, #0 - 8010b4e: d199 bne.n 8010a84 + 80106da: 687b ldr r3, [r7, #4] + 80106dc: 2b00 cmp r3, #0 + 80106de: d199 bne.n 8010614 } } PERF_STOP("pbuf_free"); /* return number of de-allocated pbufs */ return count; - 8010b50: 7ffb ldrb r3, [r7, #31] + 80106e0: 7ffb ldrb r3, [r7, #31] } - 8010b52: 4618 mov r0, r3 - 8010b54: 3720 adds r7, #32 - 8010b56: 46bd mov sp, r7 - 8010b58: bd80 pop {r7, pc} - 8010b5a: bf00 nop - 8010b5c: 0801ce4c .word 0x0801ce4c - 8010b60: 0801cfb0 .word 0x0801cfb0 - 8010b64: 0801ceac .word 0x0801ceac - 8010b68: 0801cfdc .word 0x0801cfdc - 8010b6c: 0801cff4 .word 0x0801cff4 - 8010b70: 0801d018 .word 0x0801d018 + 80106e2: 4618 mov r0, r3 + 80106e4: 3720 adds r7, #32 + 80106e6: 46bd mov sp, r7 + 80106e8: bd80 pop {r7, pc} + 80106ea: bf00 nop + 80106ec: 0801c648 .word 0x0801c648 + 80106f0: 0801c7ac .word 0x0801c7ac + 80106f4: 0801c6a8 .word 0x0801c6a8 + 80106f8: 0801c7d8 .word 0x0801c7d8 + 80106fc: 0801c7f0 .word 0x0801c7f0 + 8010700: 0801c814 .word 0x0801c814 -08010b74 : +08010704 : * @param p first pbuf of chain * @return the number of pbufs in a chain */ u16_t pbuf_clen(const struct pbuf *p) { - 8010b74: b480 push {r7} - 8010b76: b085 sub sp, #20 - 8010b78: af00 add r7, sp, #0 - 8010b7a: 6078 str r0, [r7, #4] + 8010704: b480 push {r7} + 8010706: b085 sub sp, #20 + 8010708: af00 add r7, sp, #0 + 801070a: 6078 str r0, [r7, #4] u16_t len; len = 0; - 8010b7c: 2300 movs r3, #0 - 8010b7e: 81fb strh r3, [r7, #14] + 801070c: 2300 movs r3, #0 + 801070e: 81fb strh r3, [r7, #14] while (p != NULL) { - 8010b80: e005 b.n 8010b8e + 8010710: e005 b.n 801071e ++len; - 8010b82: 89fb ldrh r3, [r7, #14] - 8010b84: 3301 adds r3, #1 - 8010b86: 81fb strh r3, [r7, #14] + 8010712: 89fb ldrh r3, [r7, #14] + 8010714: 3301 adds r3, #1 + 8010716: 81fb strh r3, [r7, #14] p = p->next; - 8010b88: 687b ldr r3, [r7, #4] - 8010b8a: 681b ldr r3, [r3, #0] - 8010b8c: 607b str r3, [r7, #4] + 8010718: 687b ldr r3, [r7, #4] + 801071a: 681b ldr r3, [r3, #0] + 801071c: 607b str r3, [r7, #4] while (p != NULL) { - 8010b8e: 687b ldr r3, [r7, #4] - 8010b90: 2b00 cmp r3, #0 - 8010b92: d1f6 bne.n 8010b82 + 801071e: 687b ldr r3, [r7, #4] + 8010720: 2b00 cmp r3, #0 + 8010722: d1f6 bne.n 8010712 } return len; - 8010b94: 89fb ldrh r3, [r7, #14] + 8010724: 89fb ldrh r3, [r7, #14] } - 8010b96: 4618 mov r0, r3 - 8010b98: 3714 adds r7, #20 - 8010b9a: 46bd mov sp, r7 - 8010b9c: f85d 7b04 ldr.w r7, [sp], #4 - 8010ba0: 4770 bx lr + 8010726: 4618 mov r0, r3 + 8010728: 3714 adds r7, #20 + 801072a: 46bd mov sp, r7 + 801072c: f85d 7b04 ldr.w r7, [sp], #4 + 8010730: 4770 bx lr ... -08010ba4 : +08010734 : * @param p pbuf to increase reference counter of * */ void pbuf_ref(struct pbuf *p) { - 8010ba4: b580 push {r7, lr} - 8010ba6: b084 sub sp, #16 - 8010ba8: af00 add r7, sp, #0 - 8010baa: 6078 str r0, [r7, #4] + 8010734: b580 push {r7, lr} + 8010736: b084 sub sp, #16 + 8010738: af00 add r7, sp, #0 + 801073a: 6078 str r0, [r7, #4] /* pbuf given? */ if (p != NULL) { - 8010bac: 687b ldr r3, [r7, #4] - 8010bae: 2b00 cmp r3, #0 - 8010bb0: d016 beq.n 8010be0 + 801073c: 687b ldr r3, [r7, #4] + 801073e: 2b00 cmp r3, #0 + 8010740: d016 beq.n 8010770 SYS_ARCH_SET(p->ref, (LWIP_PBUF_REF_T)(p->ref + 1)); - 8010bb2: f00a fc03 bl 801b3bc - 8010bb6: 60f8 str r0, [r7, #12] - 8010bb8: 687b ldr r3, [r7, #4] - 8010bba: 7b9b ldrb r3, [r3, #14] - 8010bbc: 3301 adds r3, #1 - 8010bbe: b2da uxtb r2, r3 - 8010bc0: 687b ldr r3, [r7, #4] - 8010bc2: 739a strb r2, [r3, #14] - 8010bc4: 68f8 ldr r0, [r7, #12] - 8010bc6: f00a fc07 bl 801b3d8 + 8010742: f00a fc03 bl 801af4c + 8010746: 60f8 str r0, [r7, #12] + 8010748: 687b ldr r3, [r7, #4] + 801074a: 7b9b ldrb r3, [r3, #14] + 801074c: 3301 adds r3, #1 + 801074e: b2da uxtb r2, r3 + 8010750: 687b ldr r3, [r7, #4] + 8010752: 739a strb r2, [r3, #14] + 8010754: 68f8 ldr r0, [r7, #12] + 8010756: f00a fc07 bl 801af68 LWIP_ASSERT("pbuf ref overflow", p->ref > 0); - 8010bca: 687b ldr r3, [r7, #4] - 8010bcc: 7b9b ldrb r3, [r3, #14] - 8010bce: 2b00 cmp r3, #0 - 8010bd0: d106 bne.n 8010be0 - 8010bd2: 4b05 ldr r3, [pc, #20] ; (8010be8 ) - 8010bd4: f240 3242 movw r2, #834 ; 0x342 - 8010bd8: 4904 ldr r1, [pc, #16] ; (8010bec ) - 8010bda: 4805 ldr r0, [pc, #20] ; (8010bf0 ) - 8010bdc: f00a fc6c bl 801b4b8 + 801075a: 687b ldr r3, [r7, #4] + 801075c: 7b9b ldrb r3, [r3, #14] + 801075e: 2b00 cmp r3, #0 + 8010760: d106 bne.n 8010770 + 8010762: 4b05 ldr r3, [pc, #20] ; (8010778 ) + 8010764: f240 3242 movw r2, #834 ; 0x342 + 8010768: 4904 ldr r1, [pc, #16] ; (801077c ) + 801076a: 4805 ldr r0, [pc, #20] ; (8010780 ) + 801076c: f00a fc52 bl 801b014 } } - 8010be0: bf00 nop - 8010be2: 3710 adds r7, #16 - 8010be4: 46bd mov sp, r7 - 8010be6: bd80 pop {r7, pc} - 8010be8: 0801ce4c .word 0x0801ce4c - 8010bec: 0801d02c .word 0x0801d02c - 8010bf0: 0801ceac .word 0x0801ceac + 8010770: bf00 nop + 8010772: 3710 adds r7, #16 + 8010774: 46bd mov sp, r7 + 8010776: bd80 pop {r7, pc} + 8010778: 0801c648 .word 0x0801c648 + 801077c: 0801c828 .word 0x0801c828 + 8010780: 0801c6a8 .word 0x0801c6a8 -08010bf4 : +08010784 : * * @see pbuf_chain() */ void pbuf_cat(struct pbuf *h, struct pbuf *t) { - 8010bf4: b580 push {r7, lr} - 8010bf6: b084 sub sp, #16 - 8010bf8: af00 add r7, sp, #0 - 8010bfa: 6078 str r0, [r7, #4] - 8010bfc: 6039 str r1, [r7, #0] + 8010784: b580 push {r7, lr} + 8010786: b084 sub sp, #16 + 8010788: af00 add r7, sp, #0 + 801078a: 6078 str r0, [r7, #4] + 801078c: 6039 str r1, [r7, #0] struct pbuf *p; LWIP_ERROR("(h != NULL) && (t != NULL) (programmer violates API)", - 8010bfe: 687b ldr r3, [r7, #4] - 8010c00: 2b00 cmp r3, #0 - 8010c02: d002 beq.n 8010c0a - 8010c04: 683b ldr r3, [r7, #0] - 8010c06: 2b00 cmp r3, #0 - 8010c08: d107 bne.n 8010c1a - 8010c0a: 4b20 ldr r3, [pc, #128] ; (8010c8c ) - 8010c0c: f240 325a movw r2, #858 ; 0x35a - 8010c10: 491f ldr r1, [pc, #124] ; (8010c90 ) - 8010c12: 4820 ldr r0, [pc, #128] ; (8010c94 ) - 8010c14: f00a fc50 bl 801b4b8 - 8010c18: e034 b.n 8010c84 + 801078e: 687b ldr r3, [r7, #4] + 8010790: 2b00 cmp r3, #0 + 8010792: d002 beq.n 801079a + 8010794: 683b ldr r3, [r7, #0] + 8010796: 2b00 cmp r3, #0 + 8010798: d107 bne.n 80107aa + 801079a: 4b20 ldr r3, [pc, #128] ; (801081c ) + 801079c: f240 325a movw r2, #858 ; 0x35a + 80107a0: 491f ldr r1, [pc, #124] ; (8010820 ) + 80107a2: 4820 ldr r0, [pc, #128] ; (8010824 ) + 80107a4: f00a fc36 bl 801b014 + 80107a8: e034 b.n 8010814 ((h != NULL) && (t != NULL)), return;); /* proceed to last pbuf of chain */ for (p = h; p->next != NULL; p = p->next) { - 8010c1a: 687b ldr r3, [r7, #4] - 8010c1c: 60fb str r3, [r7, #12] - 8010c1e: e00a b.n 8010c36 + 80107aa: 687b ldr r3, [r7, #4] + 80107ac: 60fb str r3, [r7, #12] + 80107ae: e00a b.n 80107c6 /* add total length of second chain to all totals of first chain */ p->tot_len = (u16_t)(p->tot_len + t->tot_len); - 8010c20: 68fb ldr r3, [r7, #12] - 8010c22: 891a ldrh r2, [r3, #8] - 8010c24: 683b ldr r3, [r7, #0] - 8010c26: 891b ldrh r3, [r3, #8] - 8010c28: 4413 add r3, r2 - 8010c2a: b29a uxth r2, r3 - 8010c2c: 68fb ldr r3, [r7, #12] - 8010c2e: 811a strh r2, [r3, #8] + 80107b0: 68fb ldr r3, [r7, #12] + 80107b2: 891a ldrh r2, [r3, #8] + 80107b4: 683b ldr r3, [r7, #0] + 80107b6: 891b ldrh r3, [r3, #8] + 80107b8: 4413 add r3, r2 + 80107ba: b29a uxth r2, r3 + 80107bc: 68fb ldr r3, [r7, #12] + 80107be: 811a strh r2, [r3, #8] for (p = h; p->next != NULL; p = p->next) { - 8010c30: 68fb ldr r3, [r7, #12] - 8010c32: 681b ldr r3, [r3, #0] - 8010c34: 60fb str r3, [r7, #12] - 8010c36: 68fb ldr r3, [r7, #12] - 8010c38: 681b ldr r3, [r3, #0] - 8010c3a: 2b00 cmp r3, #0 - 8010c3c: d1f0 bne.n 8010c20 + 80107c0: 68fb ldr r3, [r7, #12] + 80107c2: 681b ldr r3, [r3, #0] + 80107c4: 60fb str r3, [r7, #12] + 80107c6: 68fb ldr r3, [r7, #12] + 80107c8: 681b ldr r3, [r3, #0] + 80107ca: 2b00 cmp r3, #0 + 80107cc: d1f0 bne.n 80107b0 } /* { p is last pbuf of first h chain, p->next == NULL } */ LWIP_ASSERT("p->tot_len == p->len (of last pbuf in chain)", p->tot_len == p->len); - 8010c3e: 68fb ldr r3, [r7, #12] - 8010c40: 891a ldrh r2, [r3, #8] - 8010c42: 68fb ldr r3, [r7, #12] - 8010c44: 895b ldrh r3, [r3, #10] - 8010c46: 429a cmp r2, r3 - 8010c48: d006 beq.n 8010c58 - 8010c4a: 4b10 ldr r3, [pc, #64] ; (8010c8c ) - 8010c4c: f240 3262 movw r2, #866 ; 0x362 - 8010c50: 4911 ldr r1, [pc, #68] ; (8010c98 ) - 8010c52: 4810 ldr r0, [pc, #64] ; (8010c94 ) - 8010c54: f00a fc30 bl 801b4b8 + 80107ce: 68fb ldr r3, [r7, #12] + 80107d0: 891a ldrh r2, [r3, #8] + 80107d2: 68fb ldr r3, [r7, #12] + 80107d4: 895b ldrh r3, [r3, #10] + 80107d6: 429a cmp r2, r3 + 80107d8: d006 beq.n 80107e8 + 80107da: 4b10 ldr r3, [pc, #64] ; (801081c ) + 80107dc: f240 3262 movw r2, #866 ; 0x362 + 80107e0: 4911 ldr r1, [pc, #68] ; (8010828 ) + 80107e2: 4810 ldr r0, [pc, #64] ; (8010824 ) + 80107e4: f00a fc16 bl 801b014 LWIP_ASSERT("p->next == NULL", p->next == NULL); - 8010c58: 68fb ldr r3, [r7, #12] - 8010c5a: 681b ldr r3, [r3, #0] - 8010c5c: 2b00 cmp r3, #0 - 8010c5e: d006 beq.n 8010c6e - 8010c60: 4b0a ldr r3, [pc, #40] ; (8010c8c ) - 8010c62: f240 3263 movw r2, #867 ; 0x363 - 8010c66: 490d ldr r1, [pc, #52] ; (8010c9c ) - 8010c68: 480a ldr r0, [pc, #40] ; (8010c94 ) - 8010c6a: f00a fc25 bl 801b4b8 + 80107e8: 68fb ldr r3, [r7, #12] + 80107ea: 681b ldr r3, [r3, #0] + 80107ec: 2b00 cmp r3, #0 + 80107ee: d006 beq.n 80107fe + 80107f0: 4b0a ldr r3, [pc, #40] ; (801081c ) + 80107f2: f240 3263 movw r2, #867 ; 0x363 + 80107f6: 490d ldr r1, [pc, #52] ; (801082c ) + 80107f8: 480a ldr r0, [pc, #40] ; (8010824 ) + 80107fa: f00a fc0b bl 801b014 /* add total length of second chain to last pbuf total of first chain */ p->tot_len = (u16_t)(p->tot_len + t->tot_len); - 8010c6e: 68fb ldr r3, [r7, #12] - 8010c70: 891a ldrh r2, [r3, #8] - 8010c72: 683b ldr r3, [r7, #0] - 8010c74: 891b ldrh r3, [r3, #8] - 8010c76: 4413 add r3, r2 - 8010c78: b29a uxth r2, r3 - 8010c7a: 68fb ldr r3, [r7, #12] - 8010c7c: 811a strh r2, [r3, #8] + 80107fe: 68fb ldr r3, [r7, #12] + 8010800: 891a ldrh r2, [r3, #8] + 8010802: 683b ldr r3, [r7, #0] + 8010804: 891b ldrh r3, [r3, #8] + 8010806: 4413 add r3, r2 + 8010808: b29a uxth r2, r3 + 801080a: 68fb ldr r3, [r7, #12] + 801080c: 811a strh r2, [r3, #8] /* chain last pbuf of head (p) with first of tail (t) */ p->next = t; - 8010c7e: 68fb ldr r3, [r7, #12] - 8010c80: 683a ldr r2, [r7, #0] - 8010c82: 601a str r2, [r3, #0] + 801080e: 68fb ldr r3, [r7, #12] + 8010810: 683a ldr r2, [r7, #0] + 8010812: 601a str r2, [r3, #0] /* p->next now references t, but the caller will drop its reference to t, * so netto there is no change to the reference count of t. */ } - 8010c84: 3710 adds r7, #16 - 8010c86: 46bd mov sp, r7 - 8010c88: bd80 pop {r7, pc} - 8010c8a: bf00 nop - 8010c8c: 0801ce4c .word 0x0801ce4c - 8010c90: 0801d040 .word 0x0801d040 - 8010c94: 0801ceac .word 0x0801ceac - 8010c98: 0801d078 .word 0x0801d078 - 8010c9c: 0801d0a8 .word 0x0801d0a8 + 8010814: 3710 adds r7, #16 + 8010816: 46bd mov sp, r7 + 8010818: bd80 pop {r7, pc} + 801081a: bf00 nop + 801081c: 0801c648 .word 0x0801c648 + 8010820: 0801c83c .word 0x0801c83c + 8010824: 0801c6a8 .word 0x0801c6a8 + 8010828: 0801c874 .word 0x0801c874 + 801082c: 0801c8a4 .word 0x0801c8a4 -08010ca0 : +08010830 : * The ->ref field of the first pbuf of the tail chain is adjusted. * */ void pbuf_chain(struct pbuf *h, struct pbuf *t) { - 8010ca0: b580 push {r7, lr} - 8010ca2: b082 sub sp, #8 - 8010ca4: af00 add r7, sp, #0 - 8010ca6: 6078 str r0, [r7, #4] - 8010ca8: 6039 str r1, [r7, #0] + 8010830: b580 push {r7, lr} + 8010832: b082 sub sp, #8 + 8010834: af00 add r7, sp, #0 + 8010836: 6078 str r0, [r7, #4] + 8010838: 6039 str r1, [r7, #0] pbuf_cat(h, t); - 8010caa: 6839 ldr r1, [r7, #0] - 8010cac: 6878 ldr r0, [r7, #4] - 8010cae: f7ff ffa1 bl 8010bf4 + 801083a: 6839 ldr r1, [r7, #0] + 801083c: 6878 ldr r0, [r7, #4] + 801083e: f7ff ffa1 bl 8010784 /* t is now referenced by h */ pbuf_ref(t); - 8010cb2: 6838 ldr r0, [r7, #0] - 8010cb4: f7ff ff76 bl 8010ba4 + 8010842: 6838 ldr r0, [r7, #0] + 8010844: f7ff ff76 bl 8010734 LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_chain: %p references %p\n", (void *)h, (void *)t)); } - 8010cb8: bf00 nop - 8010cba: 3708 adds r7, #8 - 8010cbc: 46bd mov sp, r7 - 8010cbe: bd80 pop {r7, pc} + 8010848: bf00 nop + 801084a: 3708 adds r7, #8 + 801084c: 46bd mov sp, r7 + 801084e: bd80 pop {r7, pc} -08010cc0 : +08010850 : * ERR_ARG if one of the pbufs is NULL or p_to is not big * enough to hold p_from */ err_t pbuf_copy(struct pbuf *p_to, const struct pbuf *p_from) { - 8010cc0: b580 push {r7, lr} - 8010cc2: b086 sub sp, #24 - 8010cc4: af00 add r7, sp, #0 - 8010cc6: 6078 str r0, [r7, #4] - 8010cc8: 6039 str r1, [r7, #0] + 8010850: b580 push {r7, lr} + 8010852: b086 sub sp, #24 + 8010854: af00 add r7, sp, #0 + 8010856: 6078 str r0, [r7, #4] + 8010858: 6039 str r1, [r7, #0] size_t offset_to = 0, offset_from = 0, len; - 8010cca: 2300 movs r3, #0 - 8010ccc: 617b str r3, [r7, #20] - 8010cce: 2300 movs r3, #0 - 8010cd0: 613b str r3, [r7, #16] + 801085a: 2300 movs r3, #0 + 801085c: 617b str r3, [r7, #20] + 801085e: 2300 movs r3, #0 + 8010860: 613b str r3, [r7, #16] LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_copy(%p, %p)\n", (const void *)p_to, (const void *)p_from)); /* is the target big enough to hold the source? */ LWIP_ERROR("pbuf_copy: target not big enough to hold source", ((p_to != NULL) && - 8010cd2: 687b ldr r3, [r7, #4] - 8010cd4: 2b00 cmp r3, #0 - 8010cd6: d008 beq.n 8010cea - 8010cd8: 683b ldr r3, [r7, #0] - 8010cda: 2b00 cmp r3, #0 - 8010cdc: d005 beq.n 8010cea - 8010cde: 687b ldr r3, [r7, #4] - 8010ce0: 891a ldrh r2, [r3, #8] - 8010ce2: 683b ldr r3, [r7, #0] - 8010ce4: 891b ldrh r3, [r3, #8] - 8010ce6: 429a cmp r2, r3 - 8010ce8: d209 bcs.n 8010cfe - 8010cea: 4b57 ldr r3, [pc, #348] ; (8010e48 ) - 8010cec: f240 32ca movw r2, #970 ; 0x3ca - 8010cf0: 4956 ldr r1, [pc, #344] ; (8010e4c ) - 8010cf2: 4857 ldr r0, [pc, #348] ; (8010e50 ) - 8010cf4: f00a fbe0 bl 801b4b8 - 8010cf8: f06f 030f mvn.w r3, #15 - 8010cfc: e09f b.n 8010e3e + 8010862: 687b ldr r3, [r7, #4] + 8010864: 2b00 cmp r3, #0 + 8010866: d008 beq.n 801087a + 8010868: 683b ldr r3, [r7, #0] + 801086a: 2b00 cmp r3, #0 + 801086c: d005 beq.n 801087a + 801086e: 687b ldr r3, [r7, #4] + 8010870: 891a ldrh r2, [r3, #8] + 8010872: 683b ldr r3, [r7, #0] + 8010874: 891b ldrh r3, [r3, #8] + 8010876: 429a cmp r2, r3 + 8010878: d209 bcs.n 801088e + 801087a: 4b57 ldr r3, [pc, #348] ; (80109d8 ) + 801087c: f240 32ca movw r2, #970 ; 0x3ca + 8010880: 4956 ldr r1, [pc, #344] ; (80109dc ) + 8010882: 4857 ldr r0, [pc, #348] ; (80109e0 ) + 8010884: f00a fbc6 bl 801b014 + 8010888: f06f 030f mvn.w r3, #15 + 801088c: e09f b.n 80109ce (p_from != NULL) && (p_to->tot_len >= p_from->tot_len)), return ERR_ARG;); /* iterate through pbuf chain */ do { /* copy one part of the original chain */ if ((p_to->len - offset_to) >= (p_from->len - offset_from)) { - 8010cfe: 687b ldr r3, [r7, #4] - 8010d00: 895b ldrh r3, [r3, #10] - 8010d02: 461a mov r2, r3 - 8010d04: 697b ldr r3, [r7, #20] - 8010d06: 1ad2 subs r2, r2, r3 - 8010d08: 683b ldr r3, [r7, #0] - 8010d0a: 895b ldrh r3, [r3, #10] - 8010d0c: 4619 mov r1, r3 - 8010d0e: 693b ldr r3, [r7, #16] - 8010d10: 1acb subs r3, r1, r3 - 8010d12: 429a cmp r2, r3 - 8010d14: d306 bcc.n 8010d24 + 801088e: 687b ldr r3, [r7, #4] + 8010890: 895b ldrh r3, [r3, #10] + 8010892: 461a mov r2, r3 + 8010894: 697b ldr r3, [r7, #20] + 8010896: 1ad2 subs r2, r2, r3 + 8010898: 683b ldr r3, [r7, #0] + 801089a: 895b ldrh r3, [r3, #10] + 801089c: 4619 mov r1, r3 + 801089e: 693b ldr r3, [r7, #16] + 80108a0: 1acb subs r3, r1, r3 + 80108a2: 429a cmp r2, r3 + 80108a4: d306 bcc.n 80108b4 /* complete current p_from fits into current p_to */ len = p_from->len - offset_from; - 8010d16: 683b ldr r3, [r7, #0] - 8010d18: 895b ldrh r3, [r3, #10] - 8010d1a: 461a mov r2, r3 - 8010d1c: 693b ldr r3, [r7, #16] - 8010d1e: 1ad3 subs r3, r2, r3 - 8010d20: 60fb str r3, [r7, #12] - 8010d22: e005 b.n 8010d30 + 80108a6: 683b ldr r3, [r7, #0] + 80108a8: 895b ldrh r3, [r3, #10] + 80108aa: 461a mov r2, r3 + 80108ac: 693b ldr r3, [r7, #16] + 80108ae: 1ad3 subs r3, r2, r3 + 80108b0: 60fb str r3, [r7, #12] + 80108b2: e005 b.n 80108c0 } else { /* current p_from does not fit into current p_to */ len = p_to->len - offset_to; - 8010d24: 687b ldr r3, [r7, #4] - 8010d26: 895b ldrh r3, [r3, #10] - 8010d28: 461a mov r2, r3 - 8010d2a: 697b ldr r3, [r7, #20] - 8010d2c: 1ad3 subs r3, r2, r3 - 8010d2e: 60fb str r3, [r7, #12] + 80108b4: 687b ldr r3, [r7, #4] + 80108b6: 895b ldrh r3, [r3, #10] + 80108b8: 461a mov r2, r3 + 80108ba: 697b ldr r3, [r7, #20] + 80108bc: 1ad3 subs r3, r2, r3 + 80108be: 60fb str r3, [r7, #12] } MEMCPY((u8_t *)p_to->payload + offset_to, (u8_t *)p_from->payload + offset_from, len); - 8010d30: 687b ldr r3, [r7, #4] - 8010d32: 685a ldr r2, [r3, #4] - 8010d34: 697b ldr r3, [r7, #20] - 8010d36: 18d0 adds r0, r2, r3 - 8010d38: 683b ldr r3, [r7, #0] - 8010d3a: 685a ldr r2, [r3, #4] - 8010d3c: 693b ldr r3, [r7, #16] - 8010d3e: 4413 add r3, r2 - 8010d40: 68fa ldr r2, [r7, #12] - 8010d42: 4619 mov r1, r3 - 8010d44: f00a fb8b bl 801b45e + 80108c0: 687b ldr r3, [r7, #4] + 80108c2: 685a ldr r2, [r3, #4] + 80108c4: 697b ldr r3, [r7, #20] + 80108c6: 18d0 adds r0, r2, r3 + 80108c8: 683b ldr r3, [r7, #0] + 80108ca: 685a ldr r2, [r3, #4] + 80108cc: 693b ldr r3, [r7, #16] + 80108ce: 4413 add r3, r2 + 80108d0: 68fa ldr r2, [r7, #12] + 80108d2: 4619 mov r1, r3 + 80108d4: f00a fb8b bl 801afee offset_to += len; - 8010d48: 697a ldr r2, [r7, #20] - 8010d4a: 68fb ldr r3, [r7, #12] - 8010d4c: 4413 add r3, r2 - 8010d4e: 617b str r3, [r7, #20] + 80108d8: 697a ldr r2, [r7, #20] + 80108da: 68fb ldr r3, [r7, #12] + 80108dc: 4413 add r3, r2 + 80108de: 617b str r3, [r7, #20] offset_from += len; - 8010d50: 693a ldr r2, [r7, #16] - 8010d52: 68fb ldr r3, [r7, #12] - 8010d54: 4413 add r3, r2 - 8010d56: 613b str r3, [r7, #16] + 80108e0: 693a ldr r2, [r7, #16] + 80108e2: 68fb ldr r3, [r7, #12] + 80108e4: 4413 add r3, r2 + 80108e6: 613b str r3, [r7, #16] LWIP_ASSERT("offset_to <= p_to->len", offset_to <= p_to->len); - 8010d58: 687b ldr r3, [r7, #4] - 8010d5a: 895b ldrh r3, [r3, #10] - 8010d5c: 461a mov r2, r3 - 8010d5e: 697b ldr r3, [r7, #20] - 8010d60: 4293 cmp r3, r2 - 8010d62: d906 bls.n 8010d72 - 8010d64: 4b38 ldr r3, [pc, #224] ; (8010e48 ) - 8010d66: f240 32d9 movw r2, #985 ; 0x3d9 - 8010d6a: 493a ldr r1, [pc, #232] ; (8010e54 ) - 8010d6c: 4838 ldr r0, [pc, #224] ; (8010e50 ) - 8010d6e: f00a fba3 bl 801b4b8 + 80108e8: 687b ldr r3, [r7, #4] + 80108ea: 895b ldrh r3, [r3, #10] + 80108ec: 461a mov r2, r3 + 80108ee: 697b ldr r3, [r7, #20] + 80108f0: 4293 cmp r3, r2 + 80108f2: d906 bls.n 8010902 + 80108f4: 4b38 ldr r3, [pc, #224] ; (80109d8 ) + 80108f6: f240 32d9 movw r2, #985 ; 0x3d9 + 80108fa: 493a ldr r1, [pc, #232] ; (80109e4 ) + 80108fc: 4838 ldr r0, [pc, #224] ; (80109e0 ) + 80108fe: f00a fb89 bl 801b014 LWIP_ASSERT("offset_from <= p_from->len", offset_from <= p_from->len); - 8010d72: 683b ldr r3, [r7, #0] - 8010d74: 895b ldrh r3, [r3, #10] - 8010d76: 461a mov r2, r3 - 8010d78: 693b ldr r3, [r7, #16] - 8010d7a: 4293 cmp r3, r2 - 8010d7c: d906 bls.n 8010d8c - 8010d7e: 4b32 ldr r3, [pc, #200] ; (8010e48 ) - 8010d80: f240 32da movw r2, #986 ; 0x3da - 8010d84: 4934 ldr r1, [pc, #208] ; (8010e58 ) - 8010d86: 4832 ldr r0, [pc, #200] ; (8010e50 ) - 8010d88: f00a fb96 bl 801b4b8 + 8010902: 683b ldr r3, [r7, #0] + 8010904: 895b ldrh r3, [r3, #10] + 8010906: 461a mov r2, r3 + 8010908: 693b ldr r3, [r7, #16] + 801090a: 4293 cmp r3, r2 + 801090c: d906 bls.n 801091c + 801090e: 4b32 ldr r3, [pc, #200] ; (80109d8 ) + 8010910: f240 32da movw r2, #986 ; 0x3da + 8010914: 4934 ldr r1, [pc, #208] ; (80109e8 ) + 8010916: 4832 ldr r0, [pc, #200] ; (80109e0 ) + 8010918: f00a fb7c bl 801b014 if (offset_from >= p_from->len) { - 8010d8c: 683b ldr r3, [r7, #0] - 8010d8e: 895b ldrh r3, [r3, #10] - 8010d90: 461a mov r2, r3 - 8010d92: 693b ldr r3, [r7, #16] - 8010d94: 4293 cmp r3, r2 - 8010d96: d304 bcc.n 8010da2 + 801091c: 683b ldr r3, [r7, #0] + 801091e: 895b ldrh r3, [r3, #10] + 8010920: 461a mov r2, r3 + 8010922: 693b ldr r3, [r7, #16] + 8010924: 4293 cmp r3, r2 + 8010926: d304 bcc.n 8010932 /* on to next p_from (if any) */ offset_from = 0; - 8010d98: 2300 movs r3, #0 - 8010d9a: 613b str r3, [r7, #16] + 8010928: 2300 movs r3, #0 + 801092a: 613b str r3, [r7, #16] p_from = p_from->next; - 8010d9c: 683b ldr r3, [r7, #0] - 8010d9e: 681b ldr r3, [r3, #0] - 8010da0: 603b str r3, [r7, #0] + 801092c: 683b ldr r3, [r7, #0] + 801092e: 681b ldr r3, [r3, #0] + 8010930: 603b str r3, [r7, #0] } if (offset_to == p_to->len) { - 8010da2: 687b ldr r3, [r7, #4] - 8010da4: 895b ldrh r3, [r3, #10] - 8010da6: 461a mov r2, r3 - 8010da8: 697b ldr r3, [r7, #20] - 8010daa: 4293 cmp r3, r2 - 8010dac: d114 bne.n 8010dd8 + 8010932: 687b ldr r3, [r7, #4] + 8010934: 895b ldrh r3, [r3, #10] + 8010936: 461a mov r2, r3 + 8010938: 697b ldr r3, [r7, #20] + 801093a: 4293 cmp r3, r2 + 801093c: d114 bne.n 8010968 /* on to next p_to (if any) */ offset_to = 0; - 8010dae: 2300 movs r3, #0 - 8010db0: 617b str r3, [r7, #20] + 801093e: 2300 movs r3, #0 + 8010940: 617b str r3, [r7, #20] p_to = p_to->next; - 8010db2: 687b ldr r3, [r7, #4] - 8010db4: 681b ldr r3, [r3, #0] - 8010db6: 607b str r3, [r7, #4] + 8010942: 687b ldr r3, [r7, #4] + 8010944: 681b ldr r3, [r3, #0] + 8010946: 607b str r3, [r7, #4] LWIP_ERROR("p_to != NULL", (p_to != NULL) || (p_from == NULL), return ERR_ARG;); - 8010db8: 687b ldr r3, [r7, #4] - 8010dba: 2b00 cmp r3, #0 - 8010dbc: d10c bne.n 8010dd8 - 8010dbe: 683b ldr r3, [r7, #0] - 8010dc0: 2b00 cmp r3, #0 - 8010dc2: d009 beq.n 8010dd8 - 8010dc4: 4b20 ldr r3, [pc, #128] ; (8010e48 ) - 8010dc6: f44f 7279 mov.w r2, #996 ; 0x3e4 - 8010dca: 4924 ldr r1, [pc, #144] ; (8010e5c ) - 8010dcc: 4820 ldr r0, [pc, #128] ; (8010e50 ) - 8010dce: f00a fb73 bl 801b4b8 - 8010dd2: f06f 030f mvn.w r3, #15 - 8010dd6: e032 b.n 8010e3e + 8010948: 687b ldr r3, [r7, #4] + 801094a: 2b00 cmp r3, #0 + 801094c: d10c bne.n 8010968 + 801094e: 683b ldr r3, [r7, #0] + 8010950: 2b00 cmp r3, #0 + 8010952: d009 beq.n 8010968 + 8010954: 4b20 ldr r3, [pc, #128] ; (80109d8 ) + 8010956: f44f 7279 mov.w r2, #996 ; 0x3e4 + 801095a: 4924 ldr r1, [pc, #144] ; (80109ec ) + 801095c: 4820 ldr r0, [pc, #128] ; (80109e0 ) + 801095e: f00a fb59 bl 801b014 + 8010962: f06f 030f mvn.w r3, #15 + 8010966: e032 b.n 80109ce } if ((p_from != NULL) && (p_from->len == p_from->tot_len)) { - 8010dd8: 683b ldr r3, [r7, #0] - 8010dda: 2b00 cmp r3, #0 - 8010ddc: d013 beq.n 8010e06 - 8010dde: 683b ldr r3, [r7, #0] - 8010de0: 895a ldrh r2, [r3, #10] - 8010de2: 683b ldr r3, [r7, #0] - 8010de4: 891b ldrh r3, [r3, #8] - 8010de6: 429a cmp r2, r3 - 8010de8: d10d bne.n 8010e06 + 8010968: 683b ldr r3, [r7, #0] + 801096a: 2b00 cmp r3, #0 + 801096c: d013 beq.n 8010996 + 801096e: 683b ldr r3, [r7, #0] + 8010970: 895a ldrh r2, [r3, #10] + 8010972: 683b ldr r3, [r7, #0] + 8010974: 891b ldrh r3, [r3, #8] + 8010976: 429a cmp r2, r3 + 8010978: d10d bne.n 8010996 /* don't copy more than one packet! */ LWIP_ERROR("pbuf_copy() does not allow packet queues!", - 8010dea: 683b ldr r3, [r7, #0] - 8010dec: 681b ldr r3, [r3, #0] - 8010dee: 2b00 cmp r3, #0 - 8010df0: d009 beq.n 8010e06 - 8010df2: 4b15 ldr r3, [pc, #84] ; (8010e48 ) - 8010df4: f240 32ea movw r2, #1002 ; 0x3ea - 8010df8: 4919 ldr r1, [pc, #100] ; (8010e60 ) - 8010dfa: 4815 ldr r0, [pc, #84] ; (8010e50 ) - 8010dfc: f00a fb5c bl 801b4b8 - 8010e00: f06f 0305 mvn.w r3, #5 - 8010e04: e01b b.n 8010e3e + 801097a: 683b ldr r3, [r7, #0] + 801097c: 681b ldr r3, [r3, #0] + 801097e: 2b00 cmp r3, #0 + 8010980: d009 beq.n 8010996 + 8010982: 4b15 ldr r3, [pc, #84] ; (80109d8 ) + 8010984: f240 32ea movw r2, #1002 ; 0x3ea + 8010988: 4919 ldr r1, [pc, #100] ; (80109f0 ) + 801098a: 4815 ldr r0, [pc, #84] ; (80109e0 ) + 801098c: f00a fb42 bl 801b014 + 8010990: f06f 0305 mvn.w r3, #5 + 8010994: e01b b.n 80109ce (p_from->next == NULL), return ERR_VAL;); } if ((p_to != NULL) && (p_to->len == p_to->tot_len)) { - 8010e06: 687b ldr r3, [r7, #4] - 8010e08: 2b00 cmp r3, #0 - 8010e0a: d013 beq.n 8010e34 - 8010e0c: 687b ldr r3, [r7, #4] - 8010e0e: 895a ldrh r2, [r3, #10] - 8010e10: 687b ldr r3, [r7, #4] - 8010e12: 891b ldrh r3, [r3, #8] - 8010e14: 429a cmp r2, r3 - 8010e16: d10d bne.n 8010e34 + 8010996: 687b ldr r3, [r7, #4] + 8010998: 2b00 cmp r3, #0 + 801099a: d013 beq.n 80109c4 + 801099c: 687b ldr r3, [r7, #4] + 801099e: 895a ldrh r2, [r3, #10] + 80109a0: 687b ldr r3, [r7, #4] + 80109a2: 891b ldrh r3, [r3, #8] + 80109a4: 429a cmp r2, r3 + 80109a6: d10d bne.n 80109c4 /* don't copy more than one packet! */ LWIP_ERROR("pbuf_copy() does not allow packet queues!", - 8010e18: 687b ldr r3, [r7, #4] - 8010e1a: 681b ldr r3, [r3, #0] - 8010e1c: 2b00 cmp r3, #0 - 8010e1e: d009 beq.n 8010e34 - 8010e20: 4b09 ldr r3, [pc, #36] ; (8010e48 ) - 8010e22: f240 32ef movw r2, #1007 ; 0x3ef - 8010e26: 490e ldr r1, [pc, #56] ; (8010e60 ) - 8010e28: 4809 ldr r0, [pc, #36] ; (8010e50 ) - 8010e2a: f00a fb45 bl 801b4b8 - 8010e2e: f06f 0305 mvn.w r3, #5 - 8010e32: e004 b.n 8010e3e + 80109a8: 687b ldr r3, [r7, #4] + 80109aa: 681b ldr r3, [r3, #0] + 80109ac: 2b00 cmp r3, #0 + 80109ae: d009 beq.n 80109c4 + 80109b0: 4b09 ldr r3, [pc, #36] ; (80109d8 ) + 80109b2: f240 32ef movw r2, #1007 ; 0x3ef + 80109b6: 490e ldr r1, [pc, #56] ; (80109f0 ) + 80109b8: 4809 ldr r0, [pc, #36] ; (80109e0 ) + 80109ba: f00a fb2b bl 801b014 + 80109be: f06f 0305 mvn.w r3, #5 + 80109c2: e004 b.n 80109ce (p_to->next == NULL), return ERR_VAL;); } } while (p_from); - 8010e34: 683b ldr r3, [r7, #0] - 8010e36: 2b00 cmp r3, #0 - 8010e38: f47f af61 bne.w 8010cfe + 80109c4: 683b ldr r3, [r7, #0] + 80109c6: 2b00 cmp r3, #0 + 80109c8: f47f af61 bne.w 801088e LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_copy: end of chain reached.\n")); return ERR_OK; - 8010e3c: 2300 movs r3, #0 + 80109cc: 2300 movs r3, #0 } - 8010e3e: 4618 mov r0, r3 - 8010e40: 3718 adds r7, #24 - 8010e42: 46bd mov sp, r7 - 8010e44: bd80 pop {r7, pc} - 8010e46: bf00 nop - 8010e48: 0801ce4c .word 0x0801ce4c - 8010e4c: 0801d0f4 .word 0x0801d0f4 - 8010e50: 0801ceac .word 0x0801ceac - 8010e54: 0801d124 .word 0x0801d124 - 8010e58: 0801d13c .word 0x0801d13c - 8010e5c: 0801d158 .word 0x0801d158 - 8010e60: 0801d168 .word 0x0801d168 + 80109ce: 4618 mov r0, r3 + 80109d0: 3718 adds r7, #24 + 80109d2: 46bd mov sp, r7 + 80109d4: bd80 pop {r7, pc} + 80109d6: bf00 nop + 80109d8: 0801c648 .word 0x0801c648 + 80109dc: 0801c8f0 .word 0x0801c8f0 + 80109e0: 0801c6a8 .word 0x0801c6a8 + 80109e4: 0801c920 .word 0x0801c920 + 80109e8: 0801c938 .word 0x0801c938 + 80109ec: 0801c954 .word 0x0801c954 + 80109f0: 0801c964 .word 0x0801c964 -08010e64 : +080109f4 : * @param offset offset into the packet buffer from where to begin copying len bytes * @return the number of bytes copied, or 0 on failure */ u16_t pbuf_copy_partial(const struct pbuf *buf, void *dataptr, u16_t len, u16_t offset) { - 8010e64: b580 push {r7, lr} - 8010e66: b088 sub sp, #32 - 8010e68: af00 add r7, sp, #0 - 8010e6a: 60f8 str r0, [r7, #12] - 8010e6c: 60b9 str r1, [r7, #8] - 8010e6e: 4611 mov r1, r2 - 8010e70: 461a mov r2, r3 - 8010e72: 460b mov r3, r1 - 8010e74: 80fb strh r3, [r7, #6] - 8010e76: 4613 mov r3, r2 - 8010e78: 80bb strh r3, [r7, #4] + 80109f4: b580 push {r7, lr} + 80109f6: b088 sub sp, #32 + 80109f8: af00 add r7, sp, #0 + 80109fa: 60f8 str r0, [r7, #12] + 80109fc: 60b9 str r1, [r7, #8] + 80109fe: 4611 mov r1, r2 + 8010a00: 461a mov r2, r3 + 8010a02: 460b mov r3, r1 + 8010a04: 80fb strh r3, [r7, #6] + 8010a06: 4613 mov r3, r2 + 8010a08: 80bb strh r3, [r7, #4] const struct pbuf *p; u16_t left = 0; - 8010e7a: 2300 movs r3, #0 - 8010e7c: 837b strh r3, [r7, #26] + 8010a0a: 2300 movs r3, #0 + 8010a0c: 837b strh r3, [r7, #26] u16_t buf_copy_len; u16_t copied_total = 0; - 8010e7e: 2300 movs r3, #0 - 8010e80: 82fb strh r3, [r7, #22] + 8010a0e: 2300 movs r3, #0 + 8010a10: 82fb strh r3, [r7, #22] LWIP_ERROR("pbuf_copy_partial: invalid buf", (buf != NULL), return 0;); - 8010e82: 68fb ldr r3, [r7, #12] - 8010e84: 2b00 cmp r3, #0 - 8010e86: d108 bne.n 8010e9a - 8010e88: 4b2b ldr r3, [pc, #172] ; (8010f38 ) - 8010e8a: f240 420a movw r2, #1034 ; 0x40a - 8010e8e: 492b ldr r1, [pc, #172] ; (8010f3c ) - 8010e90: 482b ldr r0, [pc, #172] ; (8010f40 ) - 8010e92: f00a fb11 bl 801b4b8 - 8010e96: 2300 movs r3, #0 - 8010e98: e04a b.n 8010f30 + 8010a12: 68fb ldr r3, [r7, #12] + 8010a14: 2b00 cmp r3, #0 + 8010a16: d108 bne.n 8010a2a + 8010a18: 4b2b ldr r3, [pc, #172] ; (8010ac8 ) + 8010a1a: f240 420a movw r2, #1034 ; 0x40a + 8010a1e: 492b ldr r1, [pc, #172] ; (8010acc ) + 8010a20: 482b ldr r0, [pc, #172] ; (8010ad0 ) + 8010a22: f00a faf7 bl 801b014 + 8010a26: 2300 movs r3, #0 + 8010a28: e04a b.n 8010ac0 LWIP_ERROR("pbuf_copy_partial: invalid dataptr", (dataptr != NULL), return 0;); - 8010e9a: 68bb ldr r3, [r7, #8] - 8010e9c: 2b00 cmp r3, #0 - 8010e9e: d108 bne.n 8010eb2 - 8010ea0: 4b25 ldr r3, [pc, #148] ; (8010f38 ) - 8010ea2: f240 420b movw r2, #1035 ; 0x40b - 8010ea6: 4927 ldr r1, [pc, #156] ; (8010f44 ) - 8010ea8: 4825 ldr r0, [pc, #148] ; (8010f40 ) - 8010eaa: f00a fb05 bl 801b4b8 - 8010eae: 2300 movs r3, #0 - 8010eb0: e03e b.n 8010f30 + 8010a2a: 68bb ldr r3, [r7, #8] + 8010a2c: 2b00 cmp r3, #0 + 8010a2e: d108 bne.n 8010a42 + 8010a30: 4b25 ldr r3, [pc, #148] ; (8010ac8 ) + 8010a32: f240 420b movw r2, #1035 ; 0x40b + 8010a36: 4927 ldr r1, [pc, #156] ; (8010ad4 ) + 8010a38: 4825 ldr r0, [pc, #148] ; (8010ad0 ) + 8010a3a: f00a faeb bl 801b014 + 8010a3e: 2300 movs r3, #0 + 8010a40: e03e b.n 8010ac0 /* Note some systems use byte copy if dataptr or one of the pbuf payload pointers are unaligned. */ for (p = buf; len != 0 && p != NULL; p = p->next) { - 8010eb2: 68fb ldr r3, [r7, #12] - 8010eb4: 61fb str r3, [r7, #28] - 8010eb6: e034 b.n 8010f22 + 8010a42: 68fb ldr r3, [r7, #12] + 8010a44: 61fb str r3, [r7, #28] + 8010a46: e034 b.n 8010ab2 if ((offset != 0) && (offset >= p->len)) { - 8010eb8: 88bb ldrh r3, [r7, #4] - 8010eba: 2b00 cmp r3, #0 - 8010ebc: d00a beq.n 8010ed4 - 8010ebe: 69fb ldr r3, [r7, #28] - 8010ec0: 895b ldrh r3, [r3, #10] - 8010ec2: 88ba ldrh r2, [r7, #4] - 8010ec4: 429a cmp r2, r3 - 8010ec6: d305 bcc.n 8010ed4 + 8010a48: 88bb ldrh r3, [r7, #4] + 8010a4a: 2b00 cmp r3, #0 + 8010a4c: d00a beq.n 8010a64 + 8010a4e: 69fb ldr r3, [r7, #28] + 8010a50: 895b ldrh r3, [r3, #10] + 8010a52: 88ba ldrh r2, [r7, #4] + 8010a54: 429a cmp r2, r3 + 8010a56: d305 bcc.n 8010a64 /* don't copy from this buffer -> on to the next */ offset = (u16_t)(offset - p->len); - 8010ec8: 69fb ldr r3, [r7, #28] - 8010eca: 895b ldrh r3, [r3, #10] - 8010ecc: 88ba ldrh r2, [r7, #4] - 8010ece: 1ad3 subs r3, r2, r3 - 8010ed0: 80bb strh r3, [r7, #4] - 8010ed2: e023 b.n 8010f1c + 8010a58: 69fb ldr r3, [r7, #28] + 8010a5a: 895b ldrh r3, [r3, #10] + 8010a5c: 88ba ldrh r2, [r7, #4] + 8010a5e: 1ad3 subs r3, r2, r3 + 8010a60: 80bb strh r3, [r7, #4] + 8010a62: e023 b.n 8010aac } else { /* copy from this buffer. maybe only partially. */ buf_copy_len = (u16_t)(p->len - offset); - 8010ed4: 69fb ldr r3, [r7, #28] - 8010ed6: 895a ldrh r2, [r3, #10] - 8010ed8: 88bb ldrh r3, [r7, #4] - 8010eda: 1ad3 subs r3, r2, r3 - 8010edc: 833b strh r3, [r7, #24] + 8010a64: 69fb ldr r3, [r7, #28] + 8010a66: 895a ldrh r2, [r3, #10] + 8010a68: 88bb ldrh r3, [r7, #4] + 8010a6a: 1ad3 subs r3, r2, r3 + 8010a6c: 833b strh r3, [r7, #24] if (buf_copy_len > len) { - 8010ede: 8b3a ldrh r2, [r7, #24] - 8010ee0: 88fb ldrh r3, [r7, #6] - 8010ee2: 429a cmp r2, r3 - 8010ee4: d901 bls.n 8010eea + 8010a6e: 8b3a ldrh r2, [r7, #24] + 8010a70: 88fb ldrh r3, [r7, #6] + 8010a72: 429a cmp r2, r3 + 8010a74: d901 bls.n 8010a7a buf_copy_len = len; - 8010ee6: 88fb ldrh r3, [r7, #6] - 8010ee8: 833b strh r3, [r7, #24] + 8010a76: 88fb ldrh r3, [r7, #6] + 8010a78: 833b strh r3, [r7, #24] } /* copy the necessary parts of the buffer */ MEMCPY(&((char *)dataptr)[left], &((char *)p->payload)[offset], buf_copy_len); - 8010eea: 8b7b ldrh r3, [r7, #26] - 8010eec: 68ba ldr r2, [r7, #8] - 8010eee: 18d0 adds r0, r2, r3 - 8010ef0: 69fb ldr r3, [r7, #28] - 8010ef2: 685a ldr r2, [r3, #4] - 8010ef4: 88bb ldrh r3, [r7, #4] - 8010ef6: 4413 add r3, r2 - 8010ef8: 8b3a ldrh r2, [r7, #24] - 8010efa: 4619 mov r1, r3 - 8010efc: f00a faaf bl 801b45e + 8010a7a: 8b7b ldrh r3, [r7, #26] + 8010a7c: 68ba ldr r2, [r7, #8] + 8010a7e: 18d0 adds r0, r2, r3 + 8010a80: 69fb ldr r3, [r7, #28] + 8010a82: 685a ldr r2, [r3, #4] + 8010a84: 88bb ldrh r3, [r7, #4] + 8010a86: 4413 add r3, r2 + 8010a88: 8b3a ldrh r2, [r7, #24] + 8010a8a: 4619 mov r1, r3 + 8010a8c: f00a faaf bl 801afee copied_total = (u16_t)(copied_total + buf_copy_len); - 8010f00: 8afa ldrh r2, [r7, #22] - 8010f02: 8b3b ldrh r3, [r7, #24] - 8010f04: 4413 add r3, r2 - 8010f06: 82fb strh r3, [r7, #22] + 8010a90: 8afa ldrh r2, [r7, #22] + 8010a92: 8b3b ldrh r3, [r7, #24] + 8010a94: 4413 add r3, r2 + 8010a96: 82fb strh r3, [r7, #22] left = (u16_t)(left + buf_copy_len); - 8010f08: 8b7a ldrh r2, [r7, #26] - 8010f0a: 8b3b ldrh r3, [r7, #24] - 8010f0c: 4413 add r3, r2 - 8010f0e: 837b strh r3, [r7, #26] + 8010a98: 8b7a ldrh r2, [r7, #26] + 8010a9a: 8b3b ldrh r3, [r7, #24] + 8010a9c: 4413 add r3, r2 + 8010a9e: 837b strh r3, [r7, #26] len = (u16_t)(len - buf_copy_len); - 8010f10: 88fa ldrh r2, [r7, #6] - 8010f12: 8b3b ldrh r3, [r7, #24] - 8010f14: 1ad3 subs r3, r2, r3 - 8010f16: 80fb strh r3, [r7, #6] + 8010aa0: 88fa ldrh r2, [r7, #6] + 8010aa2: 8b3b ldrh r3, [r7, #24] + 8010aa4: 1ad3 subs r3, r2, r3 + 8010aa6: 80fb strh r3, [r7, #6] offset = 0; - 8010f18: 2300 movs r3, #0 - 8010f1a: 80bb strh r3, [r7, #4] + 8010aa8: 2300 movs r3, #0 + 8010aaa: 80bb strh r3, [r7, #4] for (p = buf; len != 0 && p != NULL; p = p->next) { - 8010f1c: 69fb ldr r3, [r7, #28] - 8010f1e: 681b ldr r3, [r3, #0] - 8010f20: 61fb str r3, [r7, #28] - 8010f22: 88fb ldrh r3, [r7, #6] - 8010f24: 2b00 cmp r3, #0 - 8010f26: d002 beq.n 8010f2e - 8010f28: 69fb ldr r3, [r7, #28] - 8010f2a: 2b00 cmp r3, #0 - 8010f2c: d1c4 bne.n 8010eb8 + 8010aac: 69fb ldr r3, [r7, #28] + 8010aae: 681b ldr r3, [r3, #0] + 8010ab0: 61fb str r3, [r7, #28] + 8010ab2: 88fb ldrh r3, [r7, #6] + 8010ab4: 2b00 cmp r3, #0 + 8010ab6: d002 beq.n 8010abe + 8010ab8: 69fb ldr r3, [r7, #28] + 8010aba: 2b00 cmp r3, #0 + 8010abc: d1c4 bne.n 8010a48 } } return copied_total; - 8010f2e: 8afb ldrh r3, [r7, #22] + 8010abe: 8afb ldrh r3, [r7, #22] } - 8010f30: 4618 mov r0, r3 - 8010f32: 3720 adds r7, #32 - 8010f34: 46bd mov sp, r7 - 8010f36: bd80 pop {r7, pc} - 8010f38: 0801ce4c .word 0x0801ce4c - 8010f3c: 0801d194 .word 0x0801d194 - 8010f40: 0801ceac .word 0x0801ceac - 8010f44: 0801d1b4 .word 0x0801d1b4 + 8010ac0: 4618 mov r0, r3 + 8010ac2: 3720 adds r7, #32 + 8010ac4: 46bd mov sp, r7 + 8010ac6: bd80 pop {r7, pc} + 8010ac8: 0801c648 .word 0x0801c648 + 8010acc: 0801c990 .word 0x0801c990 + 8010ad0: 0801c6a8 .word 0x0801c6a8 + 8010ad4: 0801c9b0 .word 0x0801c9b0 -08010f48 : +08010ad8 : * * @return a new pbuf or NULL if allocation fails */ struct pbuf * pbuf_clone(pbuf_layer layer, pbuf_type type, struct pbuf *p) { - 8010f48: b580 push {r7, lr} - 8010f4a: b084 sub sp, #16 - 8010f4c: af00 add r7, sp, #0 - 8010f4e: 4603 mov r3, r0 - 8010f50: 603a str r2, [r7, #0] - 8010f52: 71fb strb r3, [r7, #7] - 8010f54: 460b mov r3, r1 - 8010f56: 80bb strh r3, [r7, #4] + 8010ad8: b580 push {r7, lr} + 8010ada: b084 sub sp, #16 + 8010adc: af00 add r7, sp, #0 + 8010ade: 4603 mov r3, r0 + 8010ae0: 603a str r2, [r7, #0] + 8010ae2: 71fb strb r3, [r7, #7] + 8010ae4: 460b mov r3, r1 + 8010ae6: 80bb strh r3, [r7, #4] struct pbuf *q; err_t err; q = pbuf_alloc(layer, p->tot_len, type); - 8010f58: 683b ldr r3, [r7, #0] - 8010f5a: 8919 ldrh r1, [r3, #8] - 8010f5c: 88ba ldrh r2, [r7, #4] - 8010f5e: 79fb ldrb r3, [r7, #7] - 8010f60: 4618 mov r0, r3 - 8010f62: f7ff fa99 bl 8010498 - 8010f66: 60f8 str r0, [r7, #12] + 8010ae8: 683b ldr r3, [r7, #0] + 8010aea: 8919 ldrh r1, [r3, #8] + 8010aec: 88ba ldrh r2, [r7, #4] + 8010aee: 79fb ldrb r3, [r7, #7] + 8010af0: 4618 mov r0, r3 + 8010af2: f7ff fa99 bl 8010028 + 8010af6: 60f8 str r0, [r7, #12] if (q == NULL) { - 8010f68: 68fb ldr r3, [r7, #12] - 8010f6a: 2b00 cmp r3, #0 - 8010f6c: d101 bne.n 8010f72 + 8010af8: 68fb ldr r3, [r7, #12] + 8010afa: 2b00 cmp r3, #0 + 8010afc: d101 bne.n 8010b02 return NULL; - 8010f6e: 2300 movs r3, #0 - 8010f70: e011 b.n 8010f96 + 8010afe: 2300 movs r3, #0 + 8010b00: e011 b.n 8010b26 } err = pbuf_copy(q, p); - 8010f72: 6839 ldr r1, [r7, #0] - 8010f74: 68f8 ldr r0, [r7, #12] - 8010f76: f7ff fea3 bl 8010cc0 - 8010f7a: 4603 mov r3, r0 - 8010f7c: 72fb strb r3, [r7, #11] + 8010b02: 6839 ldr r1, [r7, #0] + 8010b04: 68f8 ldr r0, [r7, #12] + 8010b06: f7ff fea3 bl 8010850 + 8010b0a: 4603 mov r3, r0 + 8010b0c: 72fb strb r3, [r7, #11] LWIP_UNUSED_ARG(err); /* in case of LWIP_NOASSERT */ LWIP_ASSERT("pbuf_copy failed", err == ERR_OK); - 8010f7e: f997 300b ldrsb.w r3, [r7, #11] - 8010f82: 2b00 cmp r3, #0 - 8010f84: d006 beq.n 8010f94 - 8010f86: 4b06 ldr r3, [pc, #24] ; (8010fa0 ) - 8010f88: f240 5224 movw r2, #1316 ; 0x524 - 8010f8c: 4905 ldr r1, [pc, #20] ; (8010fa4 ) - 8010f8e: 4806 ldr r0, [pc, #24] ; (8010fa8 ) - 8010f90: f00a fa92 bl 801b4b8 + 8010b0e: f997 300b ldrsb.w r3, [r7, #11] + 8010b12: 2b00 cmp r3, #0 + 8010b14: d006 beq.n 8010b24 + 8010b16: 4b06 ldr r3, [pc, #24] ; (8010b30 ) + 8010b18: f240 5224 movw r2, #1316 ; 0x524 + 8010b1c: 4905 ldr r1, [pc, #20] ; (8010b34 ) + 8010b1e: 4806 ldr r0, [pc, #24] ; (8010b38 ) + 8010b20: f00a fa78 bl 801b014 return q; - 8010f94: 68fb ldr r3, [r7, #12] + 8010b24: 68fb ldr r3, [r7, #12] } - 8010f96: 4618 mov r0, r3 - 8010f98: 3710 adds r7, #16 - 8010f9a: 46bd mov sp, r7 - 8010f9c: bd80 pop {r7, pc} - 8010f9e: bf00 nop - 8010fa0: 0801ce4c .word 0x0801ce4c - 8010fa4: 0801d2c0 .word 0x0801d2c0 - 8010fa8: 0801ceac .word 0x0801ceac + 8010b26: 4618 mov r0, r3 + 8010b28: 3710 adds r7, #16 + 8010b2a: 46bd mov sp, r7 + 8010b2c: bd80 pop {r7, pc} + 8010b2e: bf00 nop + 8010b30: 0801c648 .word 0x0801c648 + 8010b34: 0801cabc .word 0x0801cabc + 8010b38: 0801c6a8 .word 0x0801c6a8 -08010fac : +08010b3c : /** * Initialize this module. */ void tcp_init(void) { - 8010fac: b580 push {r7, lr} - 8010fae: af00 add r7, sp, #0 + 8010b3c: b580 push {r7, lr} + 8010b3e: af00 add r7, sp, #0 #ifdef LWIP_RAND tcp_port = TCP_ENSURE_LOCAL_PORT_RANGE(LWIP_RAND()); - 8010fb0: f00a fa9a bl 801b4e8 - 8010fb4: 4603 mov r3, r0 - 8010fb6: b29b uxth r3, r3 - 8010fb8: f3c3 030d ubfx r3, r3, #0, #14 - 8010fbc: b29b uxth r3, r3 - 8010fbe: f5a3 4380 sub.w r3, r3, #16384 ; 0x4000 - 8010fc2: b29a uxth r2, r3 - 8010fc4: 4b01 ldr r3, [pc, #4] ; (8010fcc ) - 8010fc6: 801a strh r2, [r3, #0] + 8010b40: f00a fa80 bl 801b044 + 8010b44: 4603 mov r3, r0 + 8010b46: b29b uxth r3, r3 + 8010b48: f3c3 030d ubfx r3, r3, #0, #14 + 8010b4c: b29b uxth r3, r3 + 8010b4e: f5a3 4380 sub.w r3, r3, #16384 ; 0x4000 + 8010b52: b29a uxth r2, r3 + 8010b54: 4b01 ldr r3, [pc, #4] ; (8010b5c ) + 8010b56: 801a strh r2, [r3, #0] #endif /* LWIP_RAND */ } - 8010fc8: bf00 nop - 8010fca: bd80 pop {r7, pc} - 8010fcc: 20000074 .word 0x20000074 + 8010b58: bf00 nop + 8010b5a: bd80 pop {r7, pc} + 8010b5c: 20000074 .word 0x20000074 -08010fd0 : +08010b60 : /** Free a tcp pcb */ void tcp_free(struct tcp_pcb *pcb) { - 8010fd0: b580 push {r7, lr} - 8010fd2: b082 sub sp, #8 - 8010fd4: af00 add r7, sp, #0 - 8010fd6: 6078 str r0, [r7, #4] + 8010b60: b580 push {r7, lr} + 8010b62: b082 sub sp, #8 + 8010b64: af00 add r7, sp, #0 + 8010b66: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_free: LISTEN", pcb->state != LISTEN); - 8010fd8: 687b ldr r3, [r7, #4] - 8010fda: 7d1b ldrb r3, [r3, #20] - 8010fdc: 2b01 cmp r3, #1 - 8010fde: d105 bne.n 8010fec - 8010fe0: 4b06 ldr r3, [pc, #24] ; (8010ffc ) - 8010fe2: 22d4 movs r2, #212 ; 0xd4 - 8010fe4: 4906 ldr r1, [pc, #24] ; (8011000 ) - 8010fe6: 4807 ldr r0, [pc, #28] ; (8011004 ) - 8010fe8: f00a fa66 bl 801b4b8 + 8010b68: 687b ldr r3, [r7, #4] + 8010b6a: 7d1b ldrb r3, [r3, #20] + 8010b6c: 2b01 cmp r3, #1 + 8010b6e: d105 bne.n 8010b7c + 8010b70: 4b06 ldr r3, [pc, #24] ; (8010b8c ) + 8010b72: 22d4 movs r2, #212 ; 0xd4 + 8010b74: 4906 ldr r1, [pc, #24] ; (8010b90 ) + 8010b76: 4807 ldr r0, [pc, #28] ; (8010b94 ) + 8010b78: f00a fa4c bl 801b014 #if LWIP_TCP_PCB_NUM_EXT_ARGS tcp_ext_arg_invoke_callbacks_destroyed(pcb->ext_args); #endif memp_free(MEMP_TCP_PCB, pcb); - 8010fec: 6879 ldr r1, [r7, #4] - 8010fee: 2001 movs r0, #1 - 8010ff0: f7fe fe86 bl 800fd00 + 8010b7c: 6879 ldr r1, [r7, #4] + 8010b7e: 2001 movs r0, #1 + 8010b80: f7fe fe86 bl 800f890 } - 8010ff4: bf00 nop - 8010ff6: 3708 adds r7, #8 - 8010ff8: 46bd mov sp, r7 - 8010ffa: bd80 pop {r7, pc} - 8010ffc: 0801d34c .word 0x0801d34c - 8011000: 0801d37c .word 0x0801d37c - 8011004: 0801d390 .word 0x0801d390 + 8010b84: bf00 nop + 8010b86: 3708 adds r7, #8 + 8010b88: 46bd mov sp, r7 + 8010b8a: bd80 pop {r7, pc} + 8010b8c: 0801cb48 .word 0x0801cb48 + 8010b90: 0801cb78 .word 0x0801cb78 + 8010b94: 0801cb8c .word 0x0801cb8c -08011008 : +08010b98 : /** Free a tcp listen pcb */ static void tcp_free_listen(struct tcp_pcb *pcb) { - 8011008: b580 push {r7, lr} - 801100a: b082 sub sp, #8 - 801100c: af00 add r7, sp, #0 - 801100e: 6078 str r0, [r7, #4] + 8010b98: b580 push {r7, lr} + 8010b9a: b082 sub sp, #8 + 8010b9c: af00 add r7, sp, #0 + 8010b9e: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_free_listen: !LISTEN", pcb->state != LISTEN); - 8011010: 687b ldr r3, [r7, #4] - 8011012: 7d1b ldrb r3, [r3, #20] - 8011014: 2b01 cmp r3, #1 - 8011016: d105 bne.n 8011024 - 8011018: 4b06 ldr r3, [pc, #24] ; (8011034 ) - 801101a: 22df movs r2, #223 ; 0xdf - 801101c: 4906 ldr r1, [pc, #24] ; (8011038 ) - 801101e: 4807 ldr r0, [pc, #28] ; (801103c ) - 8011020: f00a fa4a bl 801b4b8 + 8010ba0: 687b ldr r3, [r7, #4] + 8010ba2: 7d1b ldrb r3, [r3, #20] + 8010ba4: 2b01 cmp r3, #1 + 8010ba6: d105 bne.n 8010bb4 + 8010ba8: 4b06 ldr r3, [pc, #24] ; (8010bc4 ) + 8010baa: 22df movs r2, #223 ; 0xdf + 8010bac: 4906 ldr r1, [pc, #24] ; (8010bc8 ) + 8010bae: 4807 ldr r0, [pc, #28] ; (8010bcc ) + 8010bb0: f00a fa30 bl 801b014 #if LWIP_TCP_PCB_NUM_EXT_ARGS tcp_ext_arg_invoke_callbacks_destroyed(pcb->ext_args); #endif memp_free(MEMP_TCP_PCB_LISTEN, pcb); - 8011024: 6879 ldr r1, [r7, #4] - 8011026: 2002 movs r0, #2 - 8011028: f7fe fe6a bl 800fd00 + 8010bb4: 6879 ldr r1, [r7, #4] + 8010bb6: 2002 movs r0, #2 + 8010bb8: f7fe fe6a bl 800f890 } - 801102c: bf00 nop - 801102e: 3708 adds r7, #8 - 8011030: 46bd mov sp, r7 - 8011032: bd80 pop {r7, pc} - 8011034: 0801d34c .word 0x0801d34c - 8011038: 0801d3b8 .word 0x0801d3b8 - 801103c: 0801d390 .word 0x0801d390 + 8010bbc: bf00 nop + 8010bbe: 3708 adds r7, #8 + 8010bc0: 46bd mov sp, r7 + 8010bc2: bd80 pop {r7, pc} + 8010bc4: 0801cb48 .word 0x0801cb48 + 8010bc8: 0801cbb4 .word 0x0801cbb4 + 8010bcc: 0801cb8c .word 0x0801cb8c -08011040 : +08010bd0 : /** * Called periodically to dispatch TCP timers. */ void tcp_tmr(void) { - 8011040: b580 push {r7, lr} - 8011042: af00 add r7, sp, #0 + 8010bd0: b580 push {r7, lr} + 8010bd2: af00 add r7, sp, #0 /* Call tcp_fasttmr() every 250 ms */ tcp_fasttmr(); - 8011044: f000 fe98 bl 8011d78 + 8010bd4: f000 fe98 bl 8011908 if (++tcp_timer & 1) { - 8011048: 4b07 ldr r3, [pc, #28] ; (8011068 ) - 801104a: 781b ldrb r3, [r3, #0] - 801104c: 3301 adds r3, #1 - 801104e: b2da uxtb r2, r3 - 8011050: 4b05 ldr r3, [pc, #20] ; (8011068 ) - 8011052: 701a strb r2, [r3, #0] - 8011054: 4b04 ldr r3, [pc, #16] ; (8011068 ) - 8011056: 781b ldrb r3, [r3, #0] - 8011058: f003 0301 and.w r3, r3, #1 - 801105c: 2b00 cmp r3, #0 - 801105e: d001 beq.n 8011064 + 8010bd8: 4b07 ldr r3, [pc, #28] ; (8010bf8 ) + 8010bda: 781b ldrb r3, [r3, #0] + 8010bdc: 3301 adds r3, #1 + 8010bde: b2da uxtb r2, r3 + 8010be0: 4b05 ldr r3, [pc, #20] ; (8010bf8 ) + 8010be2: 701a strb r2, [r3, #0] + 8010be4: 4b04 ldr r3, [pc, #16] ; (8010bf8 ) + 8010be6: 781b ldrb r3, [r3, #0] + 8010be8: f003 0301 and.w r3, r3, #1 + 8010bec: 2b00 cmp r3, #0 + 8010bee: d001 beq.n 8010bf4 /* Call tcp_slowtmr() every 500 ms, i.e., every other timer tcp_tmr() is called. */ tcp_slowtmr(); - 8011060: f000 fb4c bl 80116fc + 8010bf0: f000 fb4c bl 801128c } } - 8011064: bf00 nop - 8011066: bd80 pop {r7, pc} - 8011068: 20008729 .word 0x20008729 + 8010bf4: bf00 nop + 8010bf6: bd80 pop {r7, pc} + 8010bf8: 20008729 .word 0x20008729 -0801106c : +08010bfc : /** Called when a listen pcb is closed. Iterates one pcb list and removes the * closed listener pcb from pcb->listener if matching. */ static void tcp_remove_listener(struct tcp_pcb *list, struct tcp_pcb_listen *lpcb) { - 801106c: b580 push {r7, lr} - 801106e: b084 sub sp, #16 - 8011070: af00 add r7, sp, #0 - 8011072: 6078 str r0, [r7, #4] - 8011074: 6039 str r1, [r7, #0] + 8010bfc: b580 push {r7, lr} + 8010bfe: b084 sub sp, #16 + 8010c00: af00 add r7, sp, #0 + 8010c02: 6078 str r0, [r7, #4] + 8010c04: 6039 str r1, [r7, #0] struct tcp_pcb *pcb; LWIP_ASSERT("tcp_remove_listener: invalid listener", lpcb != NULL); - 8011076: 683b ldr r3, [r7, #0] - 8011078: 2b00 cmp r3, #0 - 801107a: d105 bne.n 8011088 - 801107c: 4b0d ldr r3, [pc, #52] ; (80110b4 ) - 801107e: 22ff movs r2, #255 ; 0xff - 8011080: 490d ldr r1, [pc, #52] ; (80110b8 ) - 8011082: 480e ldr r0, [pc, #56] ; (80110bc ) - 8011084: f00a fa18 bl 801b4b8 + 8010c06: 683b ldr r3, [r7, #0] + 8010c08: 2b00 cmp r3, #0 + 8010c0a: d105 bne.n 8010c18 + 8010c0c: 4b0d ldr r3, [pc, #52] ; (8010c44 ) + 8010c0e: 22ff movs r2, #255 ; 0xff + 8010c10: 490d ldr r1, [pc, #52] ; (8010c48 ) + 8010c12: 480e ldr r0, [pc, #56] ; (8010c4c ) + 8010c14: f00a f9fe bl 801b014 for (pcb = list; pcb != NULL; pcb = pcb->next) { - 8011088: 687b ldr r3, [r7, #4] - 801108a: 60fb str r3, [r7, #12] - 801108c: e00a b.n 80110a4 + 8010c18: 687b ldr r3, [r7, #4] + 8010c1a: 60fb str r3, [r7, #12] + 8010c1c: e00a b.n 8010c34 if (pcb->listener == lpcb) { - 801108e: 68fb ldr r3, [r7, #12] - 8011090: 6fdb ldr r3, [r3, #124] ; 0x7c - 8011092: 683a ldr r2, [r7, #0] - 8011094: 429a cmp r2, r3 - 8011096: d102 bne.n 801109e + 8010c1e: 68fb ldr r3, [r7, #12] + 8010c20: 6fdb ldr r3, [r3, #124] ; 0x7c + 8010c22: 683a ldr r2, [r7, #0] + 8010c24: 429a cmp r2, r3 + 8010c26: d102 bne.n 8010c2e pcb->listener = NULL; - 8011098: 68fb ldr r3, [r7, #12] - 801109a: 2200 movs r2, #0 - 801109c: 67da str r2, [r3, #124] ; 0x7c + 8010c28: 68fb ldr r3, [r7, #12] + 8010c2a: 2200 movs r2, #0 + 8010c2c: 67da str r2, [r3, #124] ; 0x7c for (pcb = list; pcb != NULL; pcb = pcb->next) { - 801109e: 68fb ldr r3, [r7, #12] - 80110a0: 68db ldr r3, [r3, #12] - 80110a2: 60fb str r3, [r7, #12] - 80110a4: 68fb ldr r3, [r7, #12] - 80110a6: 2b00 cmp r3, #0 - 80110a8: d1f1 bne.n 801108e + 8010c2e: 68fb ldr r3, [r7, #12] + 8010c30: 68db ldr r3, [r3, #12] + 8010c32: 60fb str r3, [r7, #12] + 8010c34: 68fb ldr r3, [r7, #12] + 8010c36: 2b00 cmp r3, #0 + 8010c38: d1f1 bne.n 8010c1e } } } - 80110aa: bf00 nop - 80110ac: 3710 adds r7, #16 - 80110ae: 46bd mov sp, r7 - 80110b0: bd80 pop {r7, pc} - 80110b2: bf00 nop - 80110b4: 0801d34c .word 0x0801d34c - 80110b8: 0801d3d4 .word 0x0801d3d4 - 80110bc: 0801d390 .word 0x0801d390 + 8010c3a: bf00 nop + 8010c3c: 3710 adds r7, #16 + 8010c3e: 46bd mov sp, r7 + 8010c40: bd80 pop {r7, pc} + 8010c42: bf00 nop + 8010c44: 0801cb48 .word 0x0801cb48 + 8010c48: 0801cbd0 .word 0x0801cbd0 + 8010c4c: 0801cb8c .word 0x0801cb8c -080110c0 : +08010c50 : /** Called when a listen pcb is closed. Iterates all pcb lists and removes the * closed listener pcb from pcb->listener if matching. */ static void tcp_listen_closed(struct tcp_pcb *pcb) { - 80110c0: b580 push {r7, lr} - 80110c2: b084 sub sp, #16 - 80110c4: af00 add r7, sp, #0 - 80110c6: 6078 str r0, [r7, #4] + 8010c50: b580 push {r7, lr} + 8010c52: b084 sub sp, #16 + 8010c54: af00 add r7, sp, #0 + 8010c56: 6078 str r0, [r7, #4] #if LWIP_CALLBACK_API || TCP_LISTEN_BACKLOG size_t i; LWIP_ASSERT("pcb != NULL", pcb != NULL); - 80110c8: 687b ldr r3, [r7, #4] - 80110ca: 2b00 cmp r3, #0 - 80110cc: d106 bne.n 80110dc - 80110ce: 4b14 ldr r3, [pc, #80] ; (8011120 ) - 80110d0: f240 1211 movw r2, #273 ; 0x111 - 80110d4: 4913 ldr r1, [pc, #76] ; (8011124 ) - 80110d6: 4814 ldr r0, [pc, #80] ; (8011128 ) - 80110d8: f00a f9ee bl 801b4b8 + 8010c58: 687b ldr r3, [r7, #4] + 8010c5a: 2b00 cmp r3, #0 + 8010c5c: d106 bne.n 8010c6c + 8010c5e: 4b14 ldr r3, [pc, #80] ; (8010cb0 ) + 8010c60: f240 1211 movw r2, #273 ; 0x111 + 8010c64: 4913 ldr r1, [pc, #76] ; (8010cb4 ) + 8010c66: 4814 ldr r0, [pc, #80] ; (8010cb8 ) + 8010c68: f00a f9d4 bl 801b014 LWIP_ASSERT("pcb->state == LISTEN", pcb->state == LISTEN); - 80110dc: 687b ldr r3, [r7, #4] - 80110de: 7d1b ldrb r3, [r3, #20] - 80110e0: 2b01 cmp r3, #1 - 80110e2: d006 beq.n 80110f2 - 80110e4: 4b0e ldr r3, [pc, #56] ; (8011120 ) - 80110e6: f44f 7289 mov.w r2, #274 ; 0x112 - 80110ea: 4910 ldr r1, [pc, #64] ; (801112c ) - 80110ec: 480e ldr r0, [pc, #56] ; (8011128 ) - 80110ee: f00a f9e3 bl 801b4b8 + 8010c6c: 687b ldr r3, [r7, #4] + 8010c6e: 7d1b ldrb r3, [r3, #20] + 8010c70: 2b01 cmp r3, #1 + 8010c72: d006 beq.n 8010c82 + 8010c74: 4b0e ldr r3, [pc, #56] ; (8010cb0 ) + 8010c76: f44f 7289 mov.w r2, #274 ; 0x112 + 8010c7a: 4910 ldr r1, [pc, #64] ; (8010cbc ) + 8010c7c: 480e ldr r0, [pc, #56] ; (8010cb8 ) + 8010c7e: f00a f9c9 bl 801b014 for (i = 1; i < LWIP_ARRAYSIZE(tcp_pcb_lists); i++) { - 80110f2: 2301 movs r3, #1 - 80110f4: 60fb str r3, [r7, #12] - 80110f6: e00b b.n 8011110 + 8010c82: 2301 movs r3, #1 + 8010c84: 60fb str r3, [r7, #12] + 8010c86: e00b b.n 8010ca0 tcp_remove_listener(*tcp_pcb_lists[i], (struct tcp_pcb_listen *)pcb); - 80110f8: 4a0d ldr r2, [pc, #52] ; (8011130 ) - 80110fa: 68fb ldr r3, [r7, #12] - 80110fc: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8011100: 681b ldr r3, [r3, #0] - 8011102: 6879 ldr r1, [r7, #4] - 8011104: 4618 mov r0, r3 - 8011106: f7ff ffb1 bl 801106c + 8010c88: 4a0d ldr r2, [pc, #52] ; (8010cc0 ) + 8010c8a: 68fb ldr r3, [r7, #12] + 8010c8c: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8010c90: 681b ldr r3, [r3, #0] + 8010c92: 6879 ldr r1, [r7, #4] + 8010c94: 4618 mov r0, r3 + 8010c96: f7ff ffb1 bl 8010bfc for (i = 1; i < LWIP_ARRAYSIZE(tcp_pcb_lists); i++) { - 801110a: 68fb ldr r3, [r7, #12] - 801110c: 3301 adds r3, #1 - 801110e: 60fb str r3, [r7, #12] - 8011110: 68fb ldr r3, [r7, #12] - 8011112: 2b03 cmp r3, #3 - 8011114: d9f0 bls.n 80110f8 + 8010c9a: 68fb ldr r3, [r7, #12] + 8010c9c: 3301 adds r3, #1 + 8010c9e: 60fb str r3, [r7, #12] + 8010ca0: 68fb ldr r3, [r7, #12] + 8010ca2: 2b03 cmp r3, #3 + 8010ca4: d9f0 bls.n 8010c88 } #endif LWIP_UNUSED_ARG(pcb); } - 8011116: bf00 nop - 8011118: 3710 adds r7, #16 - 801111a: 46bd mov sp, r7 - 801111c: bd80 pop {r7, pc} - 801111e: bf00 nop - 8011120: 0801d34c .word 0x0801d34c - 8011124: 0801d3fc .word 0x0801d3fc - 8011128: 0801d390 .word 0x0801d390 - 801112c: 0801d408 .word 0x0801d408 - 8011130: 08021634 .word 0x08021634 + 8010ca6: bf00 nop + 8010ca8: 3710 adds r7, #16 + 8010caa: 46bd mov sp, r7 + 8010cac: bd80 pop {r7, pc} + 8010cae: bf00 nop + 8010cb0: 0801cb48 .word 0x0801cb48 + 8010cb4: 0801cbf8 .word 0x0801cbf8 + 8010cb8: 0801cb8c .word 0x0801cb8c + 8010cbc: 0801cc04 .word 0x0801cc04 + 8010cc0: 08020e30 .word 0x08020e30 -08011134 : +08010cc4 : * @return ERR_OK if connection has been closed * another err_t if closing failed and pcb is not freed */ static err_t tcp_close_shutdown(struct tcp_pcb *pcb, u8_t rst_on_unacked_data) { - 8011134: b5b0 push {r4, r5, r7, lr} - 8011136: b088 sub sp, #32 - 8011138: af04 add r7, sp, #16 - 801113a: 6078 str r0, [r7, #4] - 801113c: 460b mov r3, r1 - 801113e: 70fb strb r3, [r7, #3] + 8010cc4: b5b0 push {r4, r5, r7, lr} + 8010cc6: b088 sub sp, #32 + 8010cc8: af04 add r7, sp, #16 + 8010cca: 6078 str r0, [r7, #4] + 8010ccc: 460b mov r3, r1 + 8010cce: 70fb strb r3, [r7, #3] LWIP_ASSERT("tcp_close_shutdown: invalid pcb", pcb != NULL); - 8011140: 687b ldr r3, [r7, #4] - 8011142: 2b00 cmp r3, #0 - 8011144: d106 bne.n 8011154 - 8011146: 4b61 ldr r3, [pc, #388] ; (80112cc ) - 8011148: f44f 72af mov.w r2, #350 ; 0x15e - 801114c: 4960 ldr r1, [pc, #384] ; (80112d0 ) - 801114e: 4861 ldr r0, [pc, #388] ; (80112d4 ) - 8011150: f00a f9b2 bl 801b4b8 + 8010cd0: 687b ldr r3, [r7, #4] + 8010cd2: 2b00 cmp r3, #0 + 8010cd4: d106 bne.n 8010ce4 + 8010cd6: 4b61 ldr r3, [pc, #388] ; (8010e5c ) + 8010cd8: f44f 72af mov.w r2, #350 ; 0x15e + 8010cdc: 4960 ldr r1, [pc, #384] ; (8010e60 ) + 8010cde: 4861 ldr r0, [pc, #388] ; (8010e64 ) + 8010ce0: f00a f998 bl 801b014 if (rst_on_unacked_data && ((pcb->state == ESTABLISHED) || (pcb->state == CLOSE_WAIT))) { - 8011154: 78fb ldrb r3, [r7, #3] - 8011156: 2b00 cmp r3, #0 - 8011158: d066 beq.n 8011228 - 801115a: 687b ldr r3, [r7, #4] - 801115c: 7d1b ldrb r3, [r3, #20] - 801115e: 2b04 cmp r3, #4 - 8011160: d003 beq.n 801116a - 8011162: 687b ldr r3, [r7, #4] - 8011164: 7d1b ldrb r3, [r3, #20] - 8011166: 2b07 cmp r3, #7 - 8011168: d15e bne.n 8011228 + 8010ce4: 78fb ldrb r3, [r7, #3] + 8010ce6: 2b00 cmp r3, #0 + 8010ce8: d066 beq.n 8010db8 + 8010cea: 687b ldr r3, [r7, #4] + 8010cec: 7d1b ldrb r3, [r3, #20] + 8010cee: 2b04 cmp r3, #4 + 8010cf0: d003 beq.n 8010cfa + 8010cf2: 687b ldr r3, [r7, #4] + 8010cf4: 7d1b ldrb r3, [r3, #20] + 8010cf6: 2b07 cmp r3, #7 + 8010cf8: d15e bne.n 8010db8 if ((pcb->refused_data != NULL) || (pcb->rcv_wnd != TCP_WND_MAX(pcb))) { - 801116a: 687b ldr r3, [r7, #4] - 801116c: 6f9b ldr r3, [r3, #120] ; 0x78 - 801116e: 2b00 cmp r3, #0 - 8011170: d104 bne.n 801117c - 8011172: 687b ldr r3, [r7, #4] - 8011174: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8011176: f5b3 6f06 cmp.w r3, #2144 ; 0x860 - 801117a: d055 beq.n 8011228 + 8010cfa: 687b ldr r3, [r7, #4] + 8010cfc: 6f9b ldr r3, [r3, #120] ; 0x78 + 8010cfe: 2b00 cmp r3, #0 + 8010d00: d104 bne.n 8010d0c + 8010d02: 687b ldr r3, [r7, #4] + 8010d04: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8010d06: f5b3 6f06 cmp.w r3, #2144 ; 0x860 + 8010d0a: d055 beq.n 8010db8 /* Not all data received by application, send RST to tell the remote side about this. */ LWIP_ASSERT("pcb->flags & TF_RXCLOSED", pcb->flags & TF_RXCLOSED); - 801117c: 687b ldr r3, [r7, #4] - 801117e: 8b5b ldrh r3, [r3, #26] - 8011180: f003 0310 and.w r3, r3, #16 - 8011184: 2b00 cmp r3, #0 - 8011186: d106 bne.n 8011196 - 8011188: 4b50 ldr r3, [pc, #320] ; (80112cc ) - 801118a: f44f 72b2 mov.w r2, #356 ; 0x164 - 801118e: 4952 ldr r1, [pc, #328] ; (80112d8 ) - 8011190: 4850 ldr r0, [pc, #320] ; (80112d4 ) - 8011192: f00a f991 bl 801b4b8 + 8010d0c: 687b ldr r3, [r7, #4] + 8010d0e: 8b5b ldrh r3, [r3, #26] + 8010d10: f003 0310 and.w r3, r3, #16 + 8010d14: 2b00 cmp r3, #0 + 8010d16: d106 bne.n 8010d26 + 8010d18: 4b50 ldr r3, [pc, #320] ; (8010e5c ) + 8010d1a: f44f 72b2 mov.w r2, #356 ; 0x164 + 8010d1e: 4952 ldr r1, [pc, #328] ; (8010e68 ) + 8010d20: 4850 ldr r0, [pc, #320] ; (8010e64 ) + 8010d22: f00a f977 bl 801b014 /* don't call tcp_abort here: we must not deallocate the pcb since that might not be expected when calling tcp_close */ tcp_rst(pcb, pcb->snd_nxt, pcb->rcv_nxt, &pcb->local_ip, &pcb->remote_ip, - 8011196: 687b ldr r3, [r7, #4] - 8011198: 6d18 ldr r0, [r3, #80] ; 0x50 - 801119a: 687b ldr r3, [r7, #4] - 801119c: 6a5c ldr r4, [r3, #36] ; 0x24 - 801119e: 687d ldr r5, [r7, #4] - 80111a0: 687b ldr r3, [r7, #4] - 80111a2: 3304 adds r3, #4 - 80111a4: 687a ldr r2, [r7, #4] - 80111a6: 8ad2 ldrh r2, [r2, #22] - 80111a8: 6879 ldr r1, [r7, #4] - 80111aa: 8b09 ldrh r1, [r1, #24] - 80111ac: 9102 str r1, [sp, #8] - 80111ae: 9201 str r2, [sp, #4] - 80111b0: 9300 str r3, [sp, #0] - 80111b2: 462b mov r3, r5 - 80111b4: 4622 mov r2, r4 - 80111b6: 4601 mov r1, r0 - 80111b8: 6878 ldr r0, [r7, #4] - 80111ba: f004 fe91 bl 8015ee0 + 8010d26: 687b ldr r3, [r7, #4] + 8010d28: 6d18 ldr r0, [r3, #80] ; 0x50 + 8010d2a: 687b ldr r3, [r7, #4] + 8010d2c: 6a5c ldr r4, [r3, #36] ; 0x24 + 8010d2e: 687d ldr r5, [r7, #4] + 8010d30: 687b ldr r3, [r7, #4] + 8010d32: 3304 adds r3, #4 + 8010d34: 687a ldr r2, [r7, #4] + 8010d36: 8ad2 ldrh r2, [r2, #22] + 8010d38: 6879 ldr r1, [r7, #4] + 8010d3a: 8b09 ldrh r1, [r1, #24] + 8010d3c: 9102 str r1, [sp, #8] + 8010d3e: 9201 str r2, [sp, #4] + 8010d40: 9300 str r3, [sp, #0] + 8010d42: 462b mov r3, r5 + 8010d44: 4622 mov r2, r4 + 8010d46: 4601 mov r1, r0 + 8010d48: 6878 ldr r0, [r7, #4] + 8010d4a: f004 fe91 bl 8015a70 pcb->local_port, pcb->remote_port); tcp_pcb_purge(pcb); - 80111be: 6878 ldr r0, [r7, #4] - 80111c0: f001 f8ba bl 8012338 + 8010d4e: 6878 ldr r0, [r7, #4] + 8010d50: f001 f8ba bl 8011ec8 TCP_RMV_ACTIVE(pcb); - 80111c4: 4b45 ldr r3, [pc, #276] ; (80112dc ) - 80111c6: 681b ldr r3, [r3, #0] - 80111c8: 687a ldr r2, [r7, #4] - 80111ca: 429a cmp r2, r3 - 80111cc: d105 bne.n 80111da - 80111ce: 4b43 ldr r3, [pc, #268] ; (80112dc ) - 80111d0: 681b ldr r3, [r3, #0] - 80111d2: 68db ldr r3, [r3, #12] - 80111d4: 4a41 ldr r2, [pc, #260] ; (80112dc ) - 80111d6: 6013 str r3, [r2, #0] - 80111d8: e013 b.n 8011202 - 80111da: 4b40 ldr r3, [pc, #256] ; (80112dc ) - 80111dc: 681b ldr r3, [r3, #0] - 80111de: 60fb str r3, [r7, #12] - 80111e0: e00c b.n 80111fc - 80111e2: 68fb ldr r3, [r7, #12] - 80111e4: 68db ldr r3, [r3, #12] - 80111e6: 687a ldr r2, [r7, #4] - 80111e8: 429a cmp r2, r3 - 80111ea: d104 bne.n 80111f6 - 80111ec: 687b ldr r3, [r7, #4] - 80111ee: 68da ldr r2, [r3, #12] - 80111f0: 68fb ldr r3, [r7, #12] - 80111f2: 60da str r2, [r3, #12] - 80111f4: e005 b.n 8011202 - 80111f6: 68fb ldr r3, [r7, #12] - 80111f8: 68db ldr r3, [r3, #12] - 80111fa: 60fb str r3, [r7, #12] - 80111fc: 68fb ldr r3, [r7, #12] - 80111fe: 2b00 cmp r3, #0 - 8011200: d1ef bne.n 80111e2 - 8011202: 687b ldr r3, [r7, #4] - 8011204: 2200 movs r2, #0 - 8011206: 60da str r2, [r3, #12] - 8011208: 4b35 ldr r3, [pc, #212] ; (80112e0 ) - 801120a: 2201 movs r2, #1 - 801120c: 701a strb r2, [r3, #0] + 8010d54: 4b45 ldr r3, [pc, #276] ; (8010e6c ) + 8010d56: 681b ldr r3, [r3, #0] + 8010d58: 687a ldr r2, [r7, #4] + 8010d5a: 429a cmp r2, r3 + 8010d5c: d105 bne.n 8010d6a + 8010d5e: 4b43 ldr r3, [pc, #268] ; (8010e6c ) + 8010d60: 681b ldr r3, [r3, #0] + 8010d62: 68db ldr r3, [r3, #12] + 8010d64: 4a41 ldr r2, [pc, #260] ; (8010e6c ) + 8010d66: 6013 str r3, [r2, #0] + 8010d68: e013 b.n 8010d92 + 8010d6a: 4b40 ldr r3, [pc, #256] ; (8010e6c ) + 8010d6c: 681b ldr r3, [r3, #0] + 8010d6e: 60fb str r3, [r7, #12] + 8010d70: e00c b.n 8010d8c + 8010d72: 68fb ldr r3, [r7, #12] + 8010d74: 68db ldr r3, [r3, #12] + 8010d76: 687a ldr r2, [r7, #4] + 8010d78: 429a cmp r2, r3 + 8010d7a: d104 bne.n 8010d86 + 8010d7c: 687b ldr r3, [r7, #4] + 8010d7e: 68da ldr r2, [r3, #12] + 8010d80: 68fb ldr r3, [r7, #12] + 8010d82: 60da str r2, [r3, #12] + 8010d84: e005 b.n 8010d92 + 8010d86: 68fb ldr r3, [r7, #12] + 8010d88: 68db ldr r3, [r3, #12] + 8010d8a: 60fb str r3, [r7, #12] + 8010d8c: 68fb ldr r3, [r7, #12] + 8010d8e: 2b00 cmp r3, #0 + 8010d90: d1ef bne.n 8010d72 + 8010d92: 687b ldr r3, [r7, #4] + 8010d94: 2200 movs r2, #0 + 8010d96: 60da str r2, [r3, #12] + 8010d98: 4b35 ldr r3, [pc, #212] ; (8010e70 ) + 8010d9a: 2201 movs r2, #1 + 8010d9c: 701a strb r2, [r3, #0] /* Deallocate the pcb since we already sent a RST for it */ if (tcp_input_pcb == pcb) { - 801120e: 4b35 ldr r3, [pc, #212] ; (80112e4 ) - 8011210: 681b ldr r3, [r3, #0] - 8011212: 687a ldr r2, [r7, #4] - 8011214: 429a cmp r2, r3 - 8011216: d102 bne.n 801121e + 8010d9e: 4b35 ldr r3, [pc, #212] ; (8010e74 ) + 8010da0: 681b ldr r3, [r3, #0] + 8010da2: 687a ldr r2, [r7, #4] + 8010da4: 429a cmp r2, r3 + 8010da6: d102 bne.n 8010dae /* prevent using a deallocated pcb: free it from tcp_input later */ tcp_trigger_input_pcb_close(); - 8011218: f003 fd4c bl 8014cb4 - 801121c: e002 b.n 8011224 + 8010da8: f003 fd4c bl 8014844 + 8010dac: e002 b.n 8010db4 } else { tcp_free(pcb); - 801121e: 6878 ldr r0, [r7, #4] - 8011220: f7ff fed6 bl 8010fd0 + 8010dae: 6878 ldr r0, [r7, #4] + 8010db0: f7ff fed6 bl 8010b60 } return ERR_OK; - 8011224: 2300 movs r3, #0 - 8011226: e04d b.n 80112c4 + 8010db4: 2300 movs r3, #0 + 8010db6: e04d b.n 8010e54 } } /* - states which free the pcb are handled here, - states which send FIN and change state are handled in tcp_close_shutdown_fin() */ switch (pcb->state) { - 8011228: 687b ldr r3, [r7, #4] - 801122a: 7d1b ldrb r3, [r3, #20] - 801122c: 2b01 cmp r3, #1 - 801122e: d02d beq.n 801128c - 8011230: 2b02 cmp r3, #2 - 8011232: d036 beq.n 80112a2 - 8011234: 2b00 cmp r3, #0 - 8011236: d13f bne.n 80112b8 + 8010db8: 687b ldr r3, [r7, #4] + 8010dba: 7d1b ldrb r3, [r3, #20] + 8010dbc: 2b01 cmp r3, #1 + 8010dbe: d02d beq.n 8010e1c + 8010dc0: 2b02 cmp r3, #2 + 8010dc2: d036 beq.n 8010e32 + 8010dc4: 2b00 cmp r3, #0 + 8010dc6: d13f bne.n 8010e48 * and the user needs some way to free it should the need arise. * Calling tcp_close() with a pcb that has already been closed, (i.e. twice) * or for a pcb that has been used and then entered the CLOSED state * is erroneous, but this should never happen as the pcb has in those cases * been freed, and so any remaining handles are bogus. */ if (pcb->local_port != 0) { - 8011238: 687b ldr r3, [r7, #4] - 801123a: 8adb ldrh r3, [r3, #22] - 801123c: 2b00 cmp r3, #0 - 801123e: d021 beq.n 8011284 + 8010dc8: 687b ldr r3, [r7, #4] + 8010dca: 8adb ldrh r3, [r3, #22] + 8010dcc: 2b00 cmp r3, #0 + 8010dce: d021 beq.n 8010e14 TCP_RMV(&tcp_bound_pcbs, pcb); - 8011240: 4b29 ldr r3, [pc, #164] ; (80112e8 ) - 8011242: 681b ldr r3, [r3, #0] - 8011244: 687a ldr r2, [r7, #4] - 8011246: 429a cmp r2, r3 - 8011248: d105 bne.n 8011256 - 801124a: 4b27 ldr r3, [pc, #156] ; (80112e8 ) - 801124c: 681b ldr r3, [r3, #0] - 801124e: 68db ldr r3, [r3, #12] - 8011250: 4a25 ldr r2, [pc, #148] ; (80112e8 ) - 8011252: 6013 str r3, [r2, #0] - 8011254: e013 b.n 801127e - 8011256: 4b24 ldr r3, [pc, #144] ; (80112e8 ) - 8011258: 681b ldr r3, [r3, #0] - 801125a: 60bb str r3, [r7, #8] - 801125c: e00c b.n 8011278 - 801125e: 68bb ldr r3, [r7, #8] - 8011260: 68db ldr r3, [r3, #12] - 8011262: 687a ldr r2, [r7, #4] - 8011264: 429a cmp r2, r3 - 8011266: d104 bne.n 8011272 - 8011268: 687b ldr r3, [r7, #4] - 801126a: 68da ldr r2, [r3, #12] - 801126c: 68bb ldr r3, [r7, #8] - 801126e: 60da str r2, [r3, #12] - 8011270: e005 b.n 801127e - 8011272: 68bb ldr r3, [r7, #8] - 8011274: 68db ldr r3, [r3, #12] - 8011276: 60bb str r3, [r7, #8] - 8011278: 68bb ldr r3, [r7, #8] - 801127a: 2b00 cmp r3, #0 - 801127c: d1ef bne.n 801125e - 801127e: 687b ldr r3, [r7, #4] - 8011280: 2200 movs r2, #0 - 8011282: 60da str r2, [r3, #12] + 8010dd0: 4b29 ldr r3, [pc, #164] ; (8010e78 ) + 8010dd2: 681b ldr r3, [r3, #0] + 8010dd4: 687a ldr r2, [r7, #4] + 8010dd6: 429a cmp r2, r3 + 8010dd8: d105 bne.n 8010de6 + 8010dda: 4b27 ldr r3, [pc, #156] ; (8010e78 ) + 8010ddc: 681b ldr r3, [r3, #0] + 8010dde: 68db ldr r3, [r3, #12] + 8010de0: 4a25 ldr r2, [pc, #148] ; (8010e78 ) + 8010de2: 6013 str r3, [r2, #0] + 8010de4: e013 b.n 8010e0e + 8010de6: 4b24 ldr r3, [pc, #144] ; (8010e78 ) + 8010de8: 681b ldr r3, [r3, #0] + 8010dea: 60bb str r3, [r7, #8] + 8010dec: e00c b.n 8010e08 + 8010dee: 68bb ldr r3, [r7, #8] + 8010df0: 68db ldr r3, [r3, #12] + 8010df2: 687a ldr r2, [r7, #4] + 8010df4: 429a cmp r2, r3 + 8010df6: d104 bne.n 8010e02 + 8010df8: 687b ldr r3, [r7, #4] + 8010dfa: 68da ldr r2, [r3, #12] + 8010dfc: 68bb ldr r3, [r7, #8] + 8010dfe: 60da str r2, [r3, #12] + 8010e00: e005 b.n 8010e0e + 8010e02: 68bb ldr r3, [r7, #8] + 8010e04: 68db ldr r3, [r3, #12] + 8010e06: 60bb str r3, [r7, #8] + 8010e08: 68bb ldr r3, [r7, #8] + 8010e0a: 2b00 cmp r3, #0 + 8010e0c: d1ef bne.n 8010dee + 8010e0e: 687b ldr r3, [r7, #4] + 8010e10: 2200 movs r2, #0 + 8010e12: 60da str r2, [r3, #12] } tcp_free(pcb); - 8011284: 6878 ldr r0, [r7, #4] - 8011286: f7ff fea3 bl 8010fd0 + 8010e14: 6878 ldr r0, [r7, #4] + 8010e16: f7ff fea3 bl 8010b60 break; - 801128a: e01a b.n 80112c2 + 8010e1a: e01a b.n 8010e52 case LISTEN: tcp_listen_closed(pcb); - 801128c: 6878 ldr r0, [r7, #4] - 801128e: f7ff ff17 bl 80110c0 + 8010e1c: 6878 ldr r0, [r7, #4] + 8010e1e: f7ff ff17 bl 8010c50 tcp_pcb_remove(&tcp_listen_pcbs.pcbs, pcb); - 8011292: 6879 ldr r1, [r7, #4] - 8011294: 4815 ldr r0, [pc, #84] ; (80112ec ) - 8011296: f001 f89f bl 80123d8 + 8010e22: 6879 ldr r1, [r7, #4] + 8010e24: 4815 ldr r0, [pc, #84] ; (8010e7c ) + 8010e26: f001 f89f bl 8011f68 tcp_free_listen(pcb); - 801129a: 6878 ldr r0, [r7, #4] - 801129c: f7ff feb4 bl 8011008 + 8010e2a: 6878 ldr r0, [r7, #4] + 8010e2c: f7ff feb4 bl 8010b98 break; - 80112a0: e00f b.n 80112c2 + 8010e30: e00f b.n 8010e52 case SYN_SENT: TCP_PCB_REMOVE_ACTIVE(pcb); - 80112a2: 6879 ldr r1, [r7, #4] - 80112a4: 480d ldr r0, [pc, #52] ; (80112dc ) - 80112a6: f001 f897 bl 80123d8 - 80112aa: 4b0d ldr r3, [pc, #52] ; (80112e0 ) - 80112ac: 2201 movs r2, #1 - 80112ae: 701a strb r2, [r3, #0] + 8010e32: 6879 ldr r1, [r7, #4] + 8010e34: 480d ldr r0, [pc, #52] ; (8010e6c ) + 8010e36: f001 f897 bl 8011f68 + 8010e3a: 4b0d ldr r3, [pc, #52] ; (8010e70 ) + 8010e3c: 2201 movs r2, #1 + 8010e3e: 701a strb r2, [r3, #0] tcp_free(pcb); - 80112b0: 6878 ldr r0, [r7, #4] - 80112b2: f7ff fe8d bl 8010fd0 + 8010e40: 6878 ldr r0, [r7, #4] + 8010e42: f7ff fe8d bl 8010b60 MIB2_STATS_INC(mib2.tcpattemptfails); break; - 80112b6: e004 b.n 80112c2 + 8010e46: e004 b.n 8010e52 default: return tcp_close_shutdown_fin(pcb); - 80112b8: 6878 ldr r0, [r7, #4] - 80112ba: f000 f819 bl 80112f0 - 80112be: 4603 mov r3, r0 - 80112c0: e000 b.n 80112c4 + 8010e48: 6878 ldr r0, [r7, #4] + 8010e4a: f000 f819 bl 8010e80 + 8010e4e: 4603 mov r3, r0 + 8010e50: e000 b.n 8010e54 } return ERR_OK; - 80112c2: 2300 movs r3, #0 + 8010e52: 2300 movs r3, #0 } - 80112c4: 4618 mov r0, r3 - 80112c6: 3710 adds r7, #16 - 80112c8: 46bd mov sp, r7 - 80112ca: bdb0 pop {r4, r5, r7, pc} - 80112cc: 0801d34c .word 0x0801d34c - 80112d0: 0801d420 .word 0x0801d420 - 80112d4: 0801d390 .word 0x0801d390 - 80112d8: 0801d440 .word 0x0801d440 - 80112dc: 2000f5c4 .word 0x2000f5c4 - 80112e0: 2000f5c0 .word 0x2000f5c0 - 80112e4: 2000f5d8 .word 0x2000f5d8 - 80112e8: 2000f5d0 .word 0x2000f5d0 - 80112ec: 2000f5cc .word 0x2000f5cc + 8010e54: 4618 mov r0, r3 + 8010e56: 3710 adds r7, #16 + 8010e58: 46bd mov sp, r7 + 8010e5a: bdb0 pop {r4, r5, r7, pc} + 8010e5c: 0801cb48 .word 0x0801cb48 + 8010e60: 0801cc1c .word 0x0801cc1c + 8010e64: 0801cb8c .word 0x0801cb8c + 8010e68: 0801cc3c .word 0x0801cc3c + 8010e6c: 2000f5c0 .word 0x2000f5c0 + 8010e70: 2000f5bc .word 0x2000f5bc + 8010e74: 2000f5d4 .word 0x2000f5d4 + 8010e78: 2000f5cc .word 0x2000f5cc + 8010e7c: 2000f5c8 .word 0x2000f5c8 -080112f0 : +08010e80 : static err_t tcp_close_shutdown_fin(struct tcp_pcb *pcb) { - 80112f0: b580 push {r7, lr} - 80112f2: b084 sub sp, #16 - 80112f4: af00 add r7, sp, #0 - 80112f6: 6078 str r0, [r7, #4] + 8010e80: b580 push {r7, lr} + 8010e82: b084 sub sp, #16 + 8010e84: af00 add r7, sp, #0 + 8010e86: 6078 str r0, [r7, #4] err_t err; LWIP_ASSERT("pcb != NULL", pcb != NULL); - 80112f8: 687b ldr r3, [r7, #4] - 80112fa: 2b00 cmp r3, #0 - 80112fc: d106 bne.n 801130c - 80112fe: 4b2c ldr r3, [pc, #176] ; (80113b0 ) - 8011300: f44f 72ce mov.w r2, #412 ; 0x19c - 8011304: 492b ldr r1, [pc, #172] ; (80113b4 ) - 8011306: 482c ldr r0, [pc, #176] ; (80113b8 ) - 8011308: f00a f8d6 bl 801b4b8 + 8010e88: 687b ldr r3, [r7, #4] + 8010e8a: 2b00 cmp r3, #0 + 8010e8c: d106 bne.n 8010e9c + 8010e8e: 4b2c ldr r3, [pc, #176] ; (8010f40 ) + 8010e90: f44f 72ce mov.w r2, #412 ; 0x19c + 8010e94: 492b ldr r1, [pc, #172] ; (8010f44 ) + 8010e96: 482c ldr r0, [pc, #176] ; (8010f48 ) + 8010e98: f00a f8bc bl 801b014 switch (pcb->state) { - 801130c: 687b ldr r3, [r7, #4] - 801130e: 7d1b ldrb r3, [r3, #20] - 8011310: 2b04 cmp r3, #4 - 8011312: d010 beq.n 8011336 - 8011314: 2b07 cmp r3, #7 - 8011316: d01b beq.n 8011350 - 8011318: 2b03 cmp r3, #3 - 801131a: d126 bne.n 801136a + 8010e9c: 687b ldr r3, [r7, #4] + 8010e9e: 7d1b ldrb r3, [r3, #20] + 8010ea0: 2b04 cmp r3, #4 + 8010ea2: d010 beq.n 8010ec6 + 8010ea4: 2b07 cmp r3, #7 + 8010ea6: d01b beq.n 8010ee0 + 8010ea8: 2b03 cmp r3, #3 + 8010eaa: d126 bne.n 8010efa case SYN_RCVD: err = tcp_send_fin(pcb); - 801131c: 6878 ldr r0, [r7, #4] - 801131e: f003 fedb bl 80150d8 - 8011322: 4603 mov r3, r0 - 8011324: 73fb strb r3, [r7, #15] + 8010eac: 6878 ldr r0, [r7, #4] + 8010eae: f003 fedb bl 8014c68 + 8010eb2: 4603 mov r3, r0 + 8010eb4: 73fb strb r3, [r7, #15] if (err == ERR_OK) { - 8011326: f997 300f ldrsb.w r3, [r7, #15] - 801132a: 2b00 cmp r3, #0 - 801132c: d11f bne.n 801136e + 8010eb6: f997 300f ldrsb.w r3, [r7, #15] + 8010eba: 2b00 cmp r3, #0 + 8010ebc: d11f bne.n 8010efe tcp_backlog_accepted(pcb); MIB2_STATS_INC(mib2.tcpattemptfails); pcb->state = FIN_WAIT_1; - 801132e: 687b ldr r3, [r7, #4] - 8011330: 2205 movs r2, #5 - 8011332: 751a strb r2, [r3, #20] + 8010ebe: 687b ldr r3, [r7, #4] + 8010ec0: 2205 movs r2, #5 + 8010ec2: 751a strb r2, [r3, #20] } break; - 8011334: e01b b.n 801136e + 8010ec4: e01b b.n 8010efe case ESTABLISHED: err = tcp_send_fin(pcb); - 8011336: 6878 ldr r0, [r7, #4] - 8011338: f003 fece bl 80150d8 - 801133c: 4603 mov r3, r0 - 801133e: 73fb strb r3, [r7, #15] + 8010ec6: 6878 ldr r0, [r7, #4] + 8010ec8: f003 fece bl 8014c68 + 8010ecc: 4603 mov r3, r0 + 8010ece: 73fb strb r3, [r7, #15] if (err == ERR_OK) { - 8011340: f997 300f ldrsb.w r3, [r7, #15] - 8011344: 2b00 cmp r3, #0 - 8011346: d114 bne.n 8011372 + 8010ed0: f997 300f ldrsb.w r3, [r7, #15] + 8010ed4: 2b00 cmp r3, #0 + 8010ed6: d114 bne.n 8010f02 MIB2_STATS_INC(mib2.tcpestabresets); pcb->state = FIN_WAIT_1; - 8011348: 687b ldr r3, [r7, #4] - 801134a: 2205 movs r2, #5 - 801134c: 751a strb r2, [r3, #20] + 8010ed8: 687b ldr r3, [r7, #4] + 8010eda: 2205 movs r2, #5 + 8010edc: 751a strb r2, [r3, #20] } break; - 801134e: e010 b.n 8011372 + 8010ede: e010 b.n 8010f02 case CLOSE_WAIT: err = tcp_send_fin(pcb); - 8011350: 6878 ldr r0, [r7, #4] - 8011352: f003 fec1 bl 80150d8 - 8011356: 4603 mov r3, r0 - 8011358: 73fb strb r3, [r7, #15] + 8010ee0: 6878 ldr r0, [r7, #4] + 8010ee2: f003 fec1 bl 8014c68 + 8010ee6: 4603 mov r3, r0 + 8010ee8: 73fb strb r3, [r7, #15] if (err == ERR_OK) { - 801135a: f997 300f ldrsb.w r3, [r7, #15] - 801135e: 2b00 cmp r3, #0 - 8011360: d109 bne.n 8011376 + 8010eea: f997 300f ldrsb.w r3, [r7, #15] + 8010eee: 2b00 cmp r3, #0 + 8010ef0: d109 bne.n 8010f06 MIB2_STATS_INC(mib2.tcpestabresets); pcb->state = LAST_ACK; - 8011362: 687b ldr r3, [r7, #4] - 8011364: 2209 movs r2, #9 - 8011366: 751a strb r2, [r3, #20] + 8010ef2: 687b ldr r3, [r7, #4] + 8010ef4: 2209 movs r2, #9 + 8010ef6: 751a strb r2, [r3, #20] } break; - 8011368: e005 b.n 8011376 + 8010ef8: e005 b.n 8010f06 default: /* Has already been closed, do nothing. */ return ERR_OK; - 801136a: 2300 movs r3, #0 - 801136c: e01c b.n 80113a8 + 8010efa: 2300 movs r3, #0 + 8010efc: e01c b.n 8010f38 break; - 801136e: bf00 nop - 8011370: e002 b.n 8011378 + 8010efe: bf00 nop + 8010f00: e002 b.n 8010f08 break; - 8011372: bf00 nop - 8011374: e000 b.n 8011378 + 8010f02: bf00 nop + 8010f04: e000 b.n 8010f08 break; - 8011376: bf00 nop + 8010f06: bf00 nop } if (err == ERR_OK) { - 8011378: f997 300f ldrsb.w r3, [r7, #15] - 801137c: 2b00 cmp r3, #0 - 801137e: d103 bne.n 8011388 + 8010f08: f997 300f ldrsb.w r3, [r7, #15] + 8010f0c: 2b00 cmp r3, #0 + 8010f0e: d103 bne.n 8010f18 /* To ensure all data has been sent when tcp_close returns, we have to make sure tcp_output doesn't fail. Since we don't really have to ensure all data has been sent when tcp_close returns (unsent data is sent from tcp timer functions, also), we don't care for the return value of tcp_output for now. */ tcp_output(pcb); - 8011380: 6878 ldr r0, [r7, #4] - 8011382: f003 ffe7 bl 8015354 - 8011386: e00d b.n 80113a4 + 8010f10: 6878 ldr r0, [r7, #4] + 8010f12: f003 ffe7 bl 8014ee4 + 8010f16: e00d b.n 8010f34 } else if (err == ERR_MEM) { - 8011388: f997 300f ldrsb.w r3, [r7, #15] - 801138c: f1b3 3fff cmp.w r3, #4294967295 - 8011390: d108 bne.n 80113a4 + 8010f18: f997 300f ldrsb.w r3, [r7, #15] + 8010f1c: f1b3 3fff cmp.w r3, #4294967295 + 8010f20: d108 bne.n 8010f34 /* Mark this pcb for closing. Closing is retried from tcp_tmr. */ tcp_set_flags(pcb, TF_CLOSEPEND); - 8011392: 687b ldr r3, [r7, #4] - 8011394: 8b5b ldrh r3, [r3, #26] - 8011396: f043 0308 orr.w r3, r3, #8 - 801139a: b29a uxth r2, r3 - 801139c: 687b ldr r3, [r7, #4] - 801139e: 835a strh r2, [r3, #26] + 8010f22: 687b ldr r3, [r7, #4] + 8010f24: 8b5b ldrh r3, [r3, #26] + 8010f26: f043 0308 orr.w r3, r3, #8 + 8010f2a: b29a uxth r2, r3 + 8010f2c: 687b ldr r3, [r7, #4] + 8010f2e: 835a strh r2, [r3, #26] /* We have to return ERR_OK from here to indicate to the callers that this pcb should not be used any more as it will be freed soon via tcp_tmr. This is OK here since sending FIN does not guarantee a time frime for actually freeing the pcb, either (it is left in closure states for remote ACK or timeout) */ return ERR_OK; - 80113a0: 2300 movs r3, #0 - 80113a2: e001 b.n 80113a8 + 8010f30: 2300 movs r3, #0 + 8010f32: e001 b.n 8010f38 } return err; - 80113a4: f997 300f ldrsb.w r3, [r7, #15] + 8010f34: f997 300f ldrsb.w r3, [r7, #15] } - 80113a8: 4618 mov r0, r3 - 80113aa: 3710 adds r7, #16 - 80113ac: 46bd mov sp, r7 - 80113ae: bd80 pop {r7, pc} - 80113b0: 0801d34c .word 0x0801d34c - 80113b4: 0801d3fc .word 0x0801d3fc - 80113b8: 0801d390 .word 0x0801d390 + 8010f38: 4618 mov r0, r3 + 8010f3a: 3710 adds r7, #16 + 8010f3c: 46bd mov sp, r7 + 8010f3e: bd80 pop {r7, pc} + 8010f40: 0801cb48 .word 0x0801cb48 + 8010f44: 0801cbf8 .word 0x0801cbf8 + 8010f48: 0801cb8c .word 0x0801cb8c -080113bc : +08010f4c : * @return ERR_OK if connection has been closed * another err_t if closing failed and pcb is not freed */ err_t tcp_close(struct tcp_pcb *pcb) { - 80113bc: b580 push {r7, lr} - 80113be: b082 sub sp, #8 - 80113c0: af00 add r7, sp, #0 - 80113c2: 6078 str r0, [r7, #4] + 8010f4c: b580 push {r7, lr} + 8010f4e: b082 sub sp, #8 + 8010f50: af00 add r7, sp, #0 + 8010f52: 6078 str r0, [r7, #4] LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("tcp_close: invalid pcb", pcb != NULL, return ERR_ARG); - 80113c4: 687b ldr r3, [r7, #4] - 80113c6: 2b00 cmp r3, #0 - 80113c8: d109 bne.n 80113de - 80113ca: 4b0f ldr r3, [pc, #60] ; (8011408 ) - 80113cc: f44f 72f4 mov.w r2, #488 ; 0x1e8 - 80113d0: 490e ldr r1, [pc, #56] ; (801140c ) - 80113d2: 480f ldr r0, [pc, #60] ; (8011410 ) - 80113d4: f00a f870 bl 801b4b8 - 80113d8: f06f 030f mvn.w r3, #15 - 80113dc: e00f b.n 80113fe + 8010f54: 687b ldr r3, [r7, #4] + 8010f56: 2b00 cmp r3, #0 + 8010f58: d109 bne.n 8010f6e + 8010f5a: 4b0f ldr r3, [pc, #60] ; (8010f98 ) + 8010f5c: f44f 72f4 mov.w r2, #488 ; 0x1e8 + 8010f60: 490e ldr r1, [pc, #56] ; (8010f9c ) + 8010f62: 480f ldr r0, [pc, #60] ; (8010fa0 ) + 8010f64: f00a f856 bl 801b014 + 8010f68: f06f 030f mvn.w r3, #15 + 8010f6c: e00f b.n 8010f8e LWIP_DEBUGF(TCP_DEBUG, ("tcp_close: closing in ")); tcp_debug_print_state(pcb->state); if (pcb->state != LISTEN) { - 80113de: 687b ldr r3, [r7, #4] - 80113e0: 7d1b ldrb r3, [r3, #20] - 80113e2: 2b01 cmp r3, #1 - 80113e4: d006 beq.n 80113f4 + 8010f6e: 687b ldr r3, [r7, #4] + 8010f70: 7d1b ldrb r3, [r3, #20] + 8010f72: 2b01 cmp r3, #1 + 8010f74: d006 beq.n 8010f84 /* Set a flag not to receive any more data... */ tcp_set_flags(pcb, TF_RXCLOSED); - 80113e6: 687b ldr r3, [r7, #4] - 80113e8: 8b5b ldrh r3, [r3, #26] - 80113ea: f043 0310 orr.w r3, r3, #16 - 80113ee: b29a uxth r2, r3 - 80113f0: 687b ldr r3, [r7, #4] - 80113f2: 835a strh r2, [r3, #26] + 8010f76: 687b ldr r3, [r7, #4] + 8010f78: 8b5b ldrh r3, [r3, #26] + 8010f7a: f043 0310 orr.w r3, r3, #16 + 8010f7e: b29a uxth r2, r3 + 8010f80: 687b ldr r3, [r7, #4] + 8010f82: 835a strh r2, [r3, #26] } /* ... and close */ return tcp_close_shutdown(pcb, 1); - 80113f4: 2101 movs r1, #1 - 80113f6: 6878 ldr r0, [r7, #4] - 80113f8: f7ff fe9c bl 8011134 - 80113fc: 4603 mov r3, r0 + 8010f84: 2101 movs r1, #1 + 8010f86: 6878 ldr r0, [r7, #4] + 8010f88: f7ff fe9c bl 8010cc4 + 8010f8c: 4603 mov r3, r0 } - 80113fe: 4618 mov r0, r3 - 8011400: 3708 adds r7, #8 - 8011402: 46bd mov sp, r7 - 8011404: bd80 pop {r7, pc} - 8011406: bf00 nop - 8011408: 0801d34c .word 0x0801d34c - 801140c: 0801d45c .word 0x0801d45c - 8011410: 0801d390 .word 0x0801d390 + 8010f8e: 4618 mov r0, r3 + 8010f90: 3708 adds r7, #8 + 8010f92: 46bd mov sp, r7 + 8010f94: bd80 pop {r7, pc} + 8010f96: bf00 nop + 8010f98: 0801cb48 .word 0x0801cb48 + 8010f9c: 0801cc58 .word 0x0801cc58 + 8010fa0: 0801cb8c .word 0x0801cb8c -08011414 : +08010fa4 : * @param pcb the tcp_pcb to abort * @param reset boolean to indicate whether a reset should be sent */ void tcp_abandon(struct tcp_pcb *pcb, int reset) { - 8011414: b580 push {r7, lr} - 8011416: b08e sub sp, #56 ; 0x38 - 8011418: af04 add r7, sp, #16 - 801141a: 6078 str r0, [r7, #4] - 801141c: 6039 str r1, [r7, #0] + 8010fa4: b580 push {r7, lr} + 8010fa6: b08e sub sp, #56 ; 0x38 + 8010fa8: af04 add r7, sp, #16 + 8010faa: 6078 str r0, [r7, #4] + 8010fac: 6039 str r1, [r7, #0] #endif /* LWIP_CALLBACK_API */ void *errf_arg; LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("tcp_abandon: invalid pcb", pcb != NULL, return); - 801141e: 687b ldr r3, [r7, #4] - 8011420: 2b00 cmp r3, #0 - 8011422: d107 bne.n 8011434 - 8011424: 4b52 ldr r3, [pc, #328] ; (8011570 ) - 8011426: f240 223d movw r2, #573 ; 0x23d - 801142a: 4952 ldr r1, [pc, #328] ; (8011574 ) - 801142c: 4852 ldr r0, [pc, #328] ; (8011578 ) - 801142e: f00a f843 bl 801b4b8 - 8011432: e099 b.n 8011568 + 8010fae: 687b ldr r3, [r7, #4] + 8010fb0: 2b00 cmp r3, #0 + 8010fb2: d107 bne.n 8010fc4 + 8010fb4: 4b52 ldr r3, [pc, #328] ; (8011100 ) + 8010fb6: f240 223d movw r2, #573 ; 0x23d + 8010fba: 4952 ldr r1, [pc, #328] ; (8011104 ) + 8010fbc: 4852 ldr r0, [pc, #328] ; (8011108 ) + 8010fbe: f00a f829 bl 801b014 + 8010fc2: e099 b.n 80110f8 /* pcb->state LISTEN not allowed here */ LWIP_ASSERT("don't call tcp_abort/tcp_abandon for listen-pcbs", - 8011434: 687b ldr r3, [r7, #4] - 8011436: 7d1b ldrb r3, [r3, #20] - 8011438: 2b01 cmp r3, #1 - 801143a: d106 bne.n 801144a - 801143c: 4b4c ldr r3, [pc, #304] ; (8011570 ) - 801143e: f240 2241 movw r2, #577 ; 0x241 - 8011442: 494e ldr r1, [pc, #312] ; (801157c ) - 8011444: 484c ldr r0, [pc, #304] ; (8011578 ) - 8011446: f00a f837 bl 801b4b8 + 8010fc4: 687b ldr r3, [r7, #4] + 8010fc6: 7d1b ldrb r3, [r3, #20] + 8010fc8: 2b01 cmp r3, #1 + 8010fca: d106 bne.n 8010fda + 8010fcc: 4b4c ldr r3, [pc, #304] ; (8011100 ) + 8010fce: f240 2241 movw r2, #577 ; 0x241 + 8010fd2: 494e ldr r1, [pc, #312] ; (801110c ) + 8010fd4: 484c ldr r0, [pc, #304] ; (8011108 ) + 8010fd6: f00a f81d bl 801b014 pcb->state != LISTEN); /* Figure out on which TCP PCB list we are, and remove us. If we are in an active state, call the receive function associated with the PCB with a NULL argument, and send an RST to the remote end. */ if (pcb->state == TIME_WAIT) { - 801144a: 687b ldr r3, [r7, #4] - 801144c: 7d1b ldrb r3, [r3, #20] - 801144e: 2b0a cmp r3, #10 - 8011450: d107 bne.n 8011462 + 8010fda: 687b ldr r3, [r7, #4] + 8010fdc: 7d1b ldrb r3, [r3, #20] + 8010fde: 2b0a cmp r3, #10 + 8010fe0: d107 bne.n 8010ff2 tcp_pcb_remove(&tcp_tw_pcbs, pcb); - 8011452: 6879 ldr r1, [r7, #4] - 8011454: 484a ldr r0, [pc, #296] ; (8011580 ) - 8011456: f000 ffbf bl 80123d8 + 8010fe2: 6879 ldr r1, [r7, #4] + 8010fe4: 484a ldr r0, [pc, #296] ; (8011110 ) + 8010fe6: f000 ffbf bl 8011f68 tcp_free(pcb); - 801145a: 6878 ldr r0, [r7, #4] - 801145c: f7ff fdb8 bl 8010fd0 - 8011460: e082 b.n 8011568 + 8010fea: 6878 ldr r0, [r7, #4] + 8010fec: f7ff fdb8 bl 8010b60 + 8010ff0: e082 b.n 80110f8 } else { int send_rst = 0; - 8011462: 2300 movs r3, #0 - 8011464: 627b str r3, [r7, #36] ; 0x24 + 8010ff2: 2300 movs r3, #0 + 8010ff4: 627b str r3, [r7, #36] ; 0x24 u16_t local_port = 0; - 8011466: 2300 movs r3, #0 - 8011468: 847b strh r3, [r7, #34] ; 0x22 + 8010ff6: 2300 movs r3, #0 + 8010ff8: 847b strh r3, [r7, #34] ; 0x22 enum tcp_state last_state; seqno = pcb->snd_nxt; - 801146a: 687b ldr r3, [r7, #4] - 801146c: 6d1b ldr r3, [r3, #80] ; 0x50 - 801146e: 61bb str r3, [r7, #24] + 8010ffa: 687b ldr r3, [r7, #4] + 8010ffc: 6d1b ldr r3, [r3, #80] ; 0x50 + 8010ffe: 61bb str r3, [r7, #24] ackno = pcb->rcv_nxt; - 8011470: 687b ldr r3, [r7, #4] - 8011472: 6a5b ldr r3, [r3, #36] ; 0x24 - 8011474: 617b str r3, [r7, #20] + 8011000: 687b ldr r3, [r7, #4] + 8011002: 6a5b ldr r3, [r3, #36] ; 0x24 + 8011004: 617b str r3, [r7, #20] #if LWIP_CALLBACK_API errf = pcb->errf; - 8011476: 687b ldr r3, [r7, #4] - 8011478: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 801147c: 613b str r3, [r7, #16] + 8011006: 687b ldr r3, [r7, #4] + 8011008: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 801100c: 613b str r3, [r7, #16] #endif /* LWIP_CALLBACK_API */ errf_arg = pcb->callback_arg; - 801147e: 687b ldr r3, [r7, #4] - 8011480: 691b ldr r3, [r3, #16] - 8011482: 60fb str r3, [r7, #12] + 801100e: 687b ldr r3, [r7, #4] + 8011010: 691b ldr r3, [r3, #16] + 8011012: 60fb str r3, [r7, #12] if (pcb->state == CLOSED) { - 8011484: 687b ldr r3, [r7, #4] - 8011486: 7d1b ldrb r3, [r3, #20] - 8011488: 2b00 cmp r3, #0 - 801148a: d126 bne.n 80114da + 8011014: 687b ldr r3, [r7, #4] + 8011016: 7d1b ldrb r3, [r3, #20] + 8011018: 2b00 cmp r3, #0 + 801101a: d126 bne.n 801106a if (pcb->local_port != 0) { - 801148c: 687b ldr r3, [r7, #4] - 801148e: 8adb ldrh r3, [r3, #22] - 8011490: 2b00 cmp r3, #0 - 8011492: d02e beq.n 80114f2 + 801101c: 687b ldr r3, [r7, #4] + 801101e: 8adb ldrh r3, [r3, #22] + 8011020: 2b00 cmp r3, #0 + 8011022: d02e beq.n 8011082 /* bound, not yet opened */ TCP_RMV(&tcp_bound_pcbs, pcb); - 8011494: 4b3b ldr r3, [pc, #236] ; (8011584 ) - 8011496: 681b ldr r3, [r3, #0] - 8011498: 687a ldr r2, [r7, #4] - 801149a: 429a cmp r2, r3 - 801149c: d105 bne.n 80114aa - 801149e: 4b39 ldr r3, [pc, #228] ; (8011584 ) - 80114a0: 681b ldr r3, [r3, #0] - 80114a2: 68db ldr r3, [r3, #12] - 80114a4: 4a37 ldr r2, [pc, #220] ; (8011584 ) - 80114a6: 6013 str r3, [r2, #0] - 80114a8: e013 b.n 80114d2 - 80114aa: 4b36 ldr r3, [pc, #216] ; (8011584 ) - 80114ac: 681b ldr r3, [r3, #0] - 80114ae: 61fb str r3, [r7, #28] - 80114b0: e00c b.n 80114cc - 80114b2: 69fb ldr r3, [r7, #28] - 80114b4: 68db ldr r3, [r3, #12] - 80114b6: 687a ldr r2, [r7, #4] - 80114b8: 429a cmp r2, r3 - 80114ba: d104 bne.n 80114c6 - 80114bc: 687b ldr r3, [r7, #4] - 80114be: 68da ldr r2, [r3, #12] - 80114c0: 69fb ldr r3, [r7, #28] - 80114c2: 60da str r2, [r3, #12] - 80114c4: e005 b.n 80114d2 - 80114c6: 69fb ldr r3, [r7, #28] - 80114c8: 68db ldr r3, [r3, #12] - 80114ca: 61fb str r3, [r7, #28] - 80114cc: 69fb ldr r3, [r7, #28] - 80114ce: 2b00 cmp r3, #0 - 80114d0: d1ef bne.n 80114b2 - 80114d2: 687b ldr r3, [r7, #4] - 80114d4: 2200 movs r2, #0 - 80114d6: 60da str r2, [r3, #12] - 80114d8: e00b b.n 80114f2 + 8011024: 4b3b ldr r3, [pc, #236] ; (8011114 ) + 8011026: 681b ldr r3, [r3, #0] + 8011028: 687a ldr r2, [r7, #4] + 801102a: 429a cmp r2, r3 + 801102c: d105 bne.n 801103a + 801102e: 4b39 ldr r3, [pc, #228] ; (8011114 ) + 8011030: 681b ldr r3, [r3, #0] + 8011032: 68db ldr r3, [r3, #12] + 8011034: 4a37 ldr r2, [pc, #220] ; (8011114 ) + 8011036: 6013 str r3, [r2, #0] + 8011038: e013 b.n 8011062 + 801103a: 4b36 ldr r3, [pc, #216] ; (8011114 ) + 801103c: 681b ldr r3, [r3, #0] + 801103e: 61fb str r3, [r7, #28] + 8011040: e00c b.n 801105c + 8011042: 69fb ldr r3, [r7, #28] + 8011044: 68db ldr r3, [r3, #12] + 8011046: 687a ldr r2, [r7, #4] + 8011048: 429a cmp r2, r3 + 801104a: d104 bne.n 8011056 + 801104c: 687b ldr r3, [r7, #4] + 801104e: 68da ldr r2, [r3, #12] + 8011050: 69fb ldr r3, [r7, #28] + 8011052: 60da str r2, [r3, #12] + 8011054: e005 b.n 8011062 + 8011056: 69fb ldr r3, [r7, #28] + 8011058: 68db ldr r3, [r3, #12] + 801105a: 61fb str r3, [r7, #28] + 801105c: 69fb ldr r3, [r7, #28] + 801105e: 2b00 cmp r3, #0 + 8011060: d1ef bne.n 8011042 + 8011062: 687b ldr r3, [r7, #4] + 8011064: 2200 movs r2, #0 + 8011066: 60da str r2, [r3, #12] + 8011068: e00b b.n 8011082 } } else { send_rst = reset; - 80114da: 683b ldr r3, [r7, #0] - 80114dc: 627b str r3, [r7, #36] ; 0x24 + 801106a: 683b ldr r3, [r7, #0] + 801106c: 627b str r3, [r7, #36] ; 0x24 local_port = pcb->local_port; - 80114de: 687b ldr r3, [r7, #4] - 80114e0: 8adb ldrh r3, [r3, #22] - 80114e2: 847b strh r3, [r7, #34] ; 0x22 + 801106e: 687b ldr r3, [r7, #4] + 8011070: 8adb ldrh r3, [r3, #22] + 8011072: 847b strh r3, [r7, #34] ; 0x22 TCP_PCB_REMOVE_ACTIVE(pcb); - 80114e4: 6879 ldr r1, [r7, #4] - 80114e6: 4828 ldr r0, [pc, #160] ; (8011588 ) - 80114e8: f000 ff76 bl 80123d8 - 80114ec: 4b27 ldr r3, [pc, #156] ; (801158c ) - 80114ee: 2201 movs r2, #1 - 80114f0: 701a strb r2, [r3, #0] + 8011074: 6879 ldr r1, [r7, #4] + 8011076: 4828 ldr r0, [pc, #160] ; (8011118 ) + 8011078: f000 ff76 bl 8011f68 + 801107c: 4b27 ldr r3, [pc, #156] ; (801111c ) + 801107e: 2201 movs r2, #1 + 8011080: 701a strb r2, [r3, #0] } if (pcb->unacked != NULL) { - 80114f2: 687b ldr r3, [r7, #4] - 80114f4: 6f1b ldr r3, [r3, #112] ; 0x70 - 80114f6: 2b00 cmp r3, #0 - 80114f8: d004 beq.n 8011504 + 8011082: 687b ldr r3, [r7, #4] + 8011084: 6f1b ldr r3, [r3, #112] ; 0x70 + 8011086: 2b00 cmp r3, #0 + 8011088: d004 beq.n 8011094 tcp_segs_free(pcb->unacked); - 80114fa: 687b ldr r3, [r7, #4] - 80114fc: 6f1b ldr r3, [r3, #112] ; 0x70 - 80114fe: 4618 mov r0, r3 - 8011500: f000 fd1a bl 8011f38 + 801108a: 687b ldr r3, [r7, #4] + 801108c: 6f1b ldr r3, [r3, #112] ; 0x70 + 801108e: 4618 mov r0, r3 + 8011090: f000 fd1a bl 8011ac8 } if (pcb->unsent != NULL) { - 8011504: 687b ldr r3, [r7, #4] - 8011506: 6edb ldr r3, [r3, #108] ; 0x6c - 8011508: 2b00 cmp r3, #0 - 801150a: d004 beq.n 8011516 + 8011094: 687b ldr r3, [r7, #4] + 8011096: 6edb ldr r3, [r3, #108] ; 0x6c + 8011098: 2b00 cmp r3, #0 + 801109a: d004 beq.n 80110a6 tcp_segs_free(pcb->unsent); - 801150c: 687b ldr r3, [r7, #4] - 801150e: 6edb ldr r3, [r3, #108] ; 0x6c - 8011510: 4618 mov r0, r3 - 8011512: f000 fd11 bl 8011f38 + 801109c: 687b ldr r3, [r7, #4] + 801109e: 6edb ldr r3, [r3, #108] ; 0x6c + 80110a0: 4618 mov r0, r3 + 80110a2: f000 fd11 bl 8011ac8 } #if TCP_QUEUE_OOSEQ if (pcb->ooseq != NULL) { - 8011516: 687b ldr r3, [r7, #4] - 8011518: 6f5b ldr r3, [r3, #116] ; 0x74 - 801151a: 2b00 cmp r3, #0 - 801151c: d004 beq.n 8011528 + 80110a6: 687b ldr r3, [r7, #4] + 80110a8: 6f5b ldr r3, [r3, #116] ; 0x74 + 80110aa: 2b00 cmp r3, #0 + 80110ac: d004 beq.n 80110b8 tcp_segs_free(pcb->ooseq); - 801151e: 687b ldr r3, [r7, #4] - 8011520: 6f5b ldr r3, [r3, #116] ; 0x74 - 8011522: 4618 mov r0, r3 - 8011524: f000 fd08 bl 8011f38 + 80110ae: 687b ldr r3, [r7, #4] + 80110b0: 6f5b ldr r3, [r3, #116] ; 0x74 + 80110b2: 4618 mov r0, r3 + 80110b4: f000 fd08 bl 8011ac8 } #endif /* TCP_QUEUE_OOSEQ */ tcp_backlog_accepted(pcb); if (send_rst) { - 8011528: 6a7b ldr r3, [r7, #36] ; 0x24 - 801152a: 2b00 cmp r3, #0 - 801152c: d00e beq.n 801154c + 80110b8: 6a7b ldr r3, [r7, #36] ; 0x24 + 80110ba: 2b00 cmp r3, #0 + 80110bc: d00e beq.n 80110dc LWIP_DEBUGF(TCP_RST_DEBUG, ("tcp_abandon: sending RST\n")); tcp_rst(pcb, seqno, ackno, &pcb->local_ip, &pcb->remote_ip, local_port, pcb->remote_port); - 801152e: 6879 ldr r1, [r7, #4] - 8011530: 687b ldr r3, [r7, #4] - 8011532: 3304 adds r3, #4 - 8011534: 687a ldr r2, [r7, #4] - 8011536: 8b12 ldrh r2, [r2, #24] - 8011538: 9202 str r2, [sp, #8] - 801153a: 8c7a ldrh r2, [r7, #34] ; 0x22 - 801153c: 9201 str r2, [sp, #4] - 801153e: 9300 str r3, [sp, #0] - 8011540: 460b mov r3, r1 - 8011542: 697a ldr r2, [r7, #20] - 8011544: 69b9 ldr r1, [r7, #24] - 8011546: 6878 ldr r0, [r7, #4] - 8011548: f004 fcca bl 8015ee0 + 80110be: 6879 ldr r1, [r7, #4] + 80110c0: 687b ldr r3, [r7, #4] + 80110c2: 3304 adds r3, #4 + 80110c4: 687a ldr r2, [r7, #4] + 80110c6: 8b12 ldrh r2, [r2, #24] + 80110c8: 9202 str r2, [sp, #8] + 80110ca: 8c7a ldrh r2, [r7, #34] ; 0x22 + 80110cc: 9201 str r2, [sp, #4] + 80110ce: 9300 str r3, [sp, #0] + 80110d0: 460b mov r3, r1 + 80110d2: 697a ldr r2, [r7, #20] + 80110d4: 69b9 ldr r1, [r7, #24] + 80110d6: 6878 ldr r0, [r7, #4] + 80110d8: f004 fcca bl 8015a70 } last_state = pcb->state; - 801154c: 687b ldr r3, [r7, #4] - 801154e: 7d1b ldrb r3, [r3, #20] - 8011550: 72fb strb r3, [r7, #11] + 80110dc: 687b ldr r3, [r7, #4] + 80110de: 7d1b ldrb r3, [r3, #20] + 80110e0: 72fb strb r3, [r7, #11] tcp_free(pcb); - 8011552: 6878 ldr r0, [r7, #4] - 8011554: f7ff fd3c bl 8010fd0 + 80110e2: 6878 ldr r0, [r7, #4] + 80110e4: f7ff fd3c bl 8010b60 TCP_EVENT_ERR(last_state, errf, errf_arg, ERR_ABRT); - 8011558: 693b ldr r3, [r7, #16] - 801155a: 2b00 cmp r3, #0 - 801155c: d004 beq.n 8011568 - 801155e: 693b ldr r3, [r7, #16] - 8011560: f06f 010c mvn.w r1, #12 - 8011564: 68f8 ldr r0, [r7, #12] - 8011566: 4798 blx r3 + 80110e8: 693b ldr r3, [r7, #16] + 80110ea: 2b00 cmp r3, #0 + 80110ec: d004 beq.n 80110f8 + 80110ee: 693b ldr r3, [r7, #16] + 80110f0: f06f 010c mvn.w r1, #12 + 80110f4: 68f8 ldr r0, [r7, #12] + 80110f6: 4798 blx r3 } } - 8011568: 3728 adds r7, #40 ; 0x28 - 801156a: 46bd mov sp, r7 - 801156c: bd80 pop {r7, pc} - 801156e: bf00 nop - 8011570: 0801d34c .word 0x0801d34c - 8011574: 0801d490 .word 0x0801d490 - 8011578: 0801d390 .word 0x0801d390 - 801157c: 0801d4ac .word 0x0801d4ac - 8011580: 2000f5d4 .word 0x2000f5d4 - 8011584: 2000f5d0 .word 0x2000f5d0 - 8011588: 2000f5c4 .word 0x2000f5c4 - 801158c: 2000f5c0 .word 0x2000f5c0 + 80110f8: 3728 adds r7, #40 ; 0x28 + 80110fa: 46bd mov sp, r7 + 80110fc: bd80 pop {r7, pc} + 80110fe: bf00 nop + 8011100: 0801cb48 .word 0x0801cb48 + 8011104: 0801cc8c .word 0x0801cc8c + 8011108: 0801cb8c .word 0x0801cb8c + 801110c: 0801cca8 .word 0x0801cca8 + 8011110: 2000f5d0 .word 0x2000f5d0 + 8011114: 2000f5cc .word 0x2000f5cc + 8011118: 2000f5c0 .word 0x2000f5c0 + 801111c: 2000f5bc .word 0x2000f5bc -08011590 : +08011120 : * * @param pcb the tcp pcb to abort */ void tcp_abort(struct tcp_pcb *pcb) { - 8011590: b580 push {r7, lr} - 8011592: b082 sub sp, #8 - 8011594: af00 add r7, sp, #0 - 8011596: 6078 str r0, [r7, #4] + 8011120: b580 push {r7, lr} + 8011122: b082 sub sp, #8 + 8011124: af00 add r7, sp, #0 + 8011126: 6078 str r0, [r7, #4] tcp_abandon(pcb, 1); - 8011598: 2101 movs r1, #1 - 801159a: 6878 ldr r0, [r7, #4] - 801159c: f7ff ff3a bl 8011414 + 8011128: 2101 movs r1, #1 + 801112a: 6878 ldr r0, [r7, #4] + 801112c: f7ff ff3a bl 8010fa4 } - 80115a0: bf00 nop - 80115a2: 3708 adds r7, #8 - 80115a4: 46bd mov sp, r7 - 80115a6: bd80 pop {r7, pc} + 8011130: bf00 nop + 8011132: 3708 adds r7, #8 + 8011134: 46bd mov sp, r7 + 8011136: bd80 pop {r7, pc} -080115a8 : +08011138 : * Returns how much extra window would be advertised if we sent an * update now. */ u32_t tcp_update_rcv_ann_wnd(struct tcp_pcb *pcb) { - 80115a8: b580 push {r7, lr} - 80115aa: b084 sub sp, #16 - 80115ac: af00 add r7, sp, #0 - 80115ae: 6078 str r0, [r7, #4] + 8011138: b580 push {r7, lr} + 801113a: b084 sub sp, #16 + 801113c: af00 add r7, sp, #0 + 801113e: 6078 str r0, [r7, #4] u32_t new_right_edge; LWIP_ASSERT("tcp_update_rcv_ann_wnd: invalid pcb", pcb != NULL); - 80115b0: 687b ldr r3, [r7, #4] - 80115b2: 2b00 cmp r3, #0 - 80115b4: d106 bne.n 80115c4 - 80115b6: 4b25 ldr r3, [pc, #148] ; (801164c ) - 80115b8: f240 32a6 movw r2, #934 ; 0x3a6 - 80115bc: 4924 ldr r1, [pc, #144] ; (8011650 ) - 80115be: 4825 ldr r0, [pc, #148] ; (8011654 ) - 80115c0: f009 ff7a bl 801b4b8 + 8011140: 687b ldr r3, [r7, #4] + 8011142: 2b00 cmp r3, #0 + 8011144: d106 bne.n 8011154 + 8011146: 4b25 ldr r3, [pc, #148] ; (80111dc ) + 8011148: f240 32a6 movw r2, #934 ; 0x3a6 + 801114c: 4924 ldr r1, [pc, #144] ; (80111e0 ) + 801114e: 4825 ldr r0, [pc, #148] ; (80111e4 ) + 8011150: f009 ff60 bl 801b014 new_right_edge = pcb->rcv_nxt + pcb->rcv_wnd; - 80115c4: 687b ldr r3, [r7, #4] - 80115c6: 6a5b ldr r3, [r3, #36] ; 0x24 - 80115c8: 687a ldr r2, [r7, #4] - 80115ca: 8d12 ldrh r2, [r2, #40] ; 0x28 - 80115cc: 4413 add r3, r2 - 80115ce: 60fb str r3, [r7, #12] + 8011154: 687b ldr r3, [r7, #4] + 8011156: 6a5b ldr r3, [r3, #36] ; 0x24 + 8011158: 687a ldr r2, [r7, #4] + 801115a: 8d12 ldrh r2, [r2, #40] ; 0x28 + 801115c: 4413 add r3, r2 + 801115e: 60fb str r3, [r7, #12] if (TCP_SEQ_GEQ(new_right_edge, pcb->rcv_ann_right_edge + LWIP_MIN((TCP_WND / 2), pcb->mss))) { - 80115d0: 687b ldr r3, [r7, #4] - 80115d2: 6adb ldr r3, [r3, #44] ; 0x2c - 80115d4: 687a ldr r2, [r7, #4] - 80115d6: 8e52 ldrh r2, [r2, #50] ; 0x32 - 80115d8: f5b2 6f86 cmp.w r2, #1072 ; 0x430 - 80115dc: bf28 it cs - 80115de: f44f 6286 movcs.w r2, #1072 ; 0x430 - 80115e2: b292 uxth r2, r2 - 80115e4: 4413 add r3, r2 - 80115e6: 68fa ldr r2, [r7, #12] - 80115e8: 1ad3 subs r3, r2, r3 - 80115ea: 2b00 cmp r3, #0 - 80115ec: db08 blt.n 8011600 + 8011160: 687b ldr r3, [r7, #4] + 8011162: 6adb ldr r3, [r3, #44] ; 0x2c + 8011164: 687a ldr r2, [r7, #4] + 8011166: 8e52 ldrh r2, [r2, #50] ; 0x32 + 8011168: f5b2 6f86 cmp.w r2, #1072 ; 0x430 + 801116c: bf28 it cs + 801116e: f44f 6286 movcs.w r2, #1072 ; 0x430 + 8011172: b292 uxth r2, r2 + 8011174: 4413 add r3, r2 + 8011176: 68fa ldr r2, [r7, #12] + 8011178: 1ad3 subs r3, r2, r3 + 801117a: 2b00 cmp r3, #0 + 801117c: db08 blt.n 8011190 /* we can advertise more window */ pcb->rcv_ann_wnd = pcb->rcv_wnd; - 80115ee: 687b ldr r3, [r7, #4] - 80115f0: 8d1a ldrh r2, [r3, #40] ; 0x28 - 80115f2: 687b ldr r3, [r7, #4] - 80115f4: 855a strh r2, [r3, #42] ; 0x2a + 801117e: 687b ldr r3, [r7, #4] + 8011180: 8d1a ldrh r2, [r3, #40] ; 0x28 + 8011182: 687b ldr r3, [r7, #4] + 8011184: 855a strh r2, [r3, #42] ; 0x2a return new_right_edge - pcb->rcv_ann_right_edge; - 80115f6: 687b ldr r3, [r7, #4] - 80115f8: 6adb ldr r3, [r3, #44] ; 0x2c - 80115fa: 68fa ldr r2, [r7, #12] - 80115fc: 1ad3 subs r3, r2, r3 - 80115fe: e020 b.n 8011642 + 8011186: 687b ldr r3, [r7, #4] + 8011188: 6adb ldr r3, [r3, #44] ; 0x2c + 801118a: 68fa ldr r2, [r7, #12] + 801118c: 1ad3 subs r3, r2, r3 + 801118e: e020 b.n 80111d2 } else { if (TCP_SEQ_GT(pcb->rcv_nxt, pcb->rcv_ann_right_edge)) { - 8011600: 687b ldr r3, [r7, #4] - 8011602: 6a5a ldr r2, [r3, #36] ; 0x24 - 8011604: 687b ldr r3, [r7, #4] - 8011606: 6adb ldr r3, [r3, #44] ; 0x2c - 8011608: 1ad3 subs r3, r2, r3 - 801160a: 2b00 cmp r3, #0 - 801160c: dd03 ble.n 8011616 + 8011190: 687b ldr r3, [r7, #4] + 8011192: 6a5a ldr r2, [r3, #36] ; 0x24 + 8011194: 687b ldr r3, [r7, #4] + 8011196: 6adb ldr r3, [r3, #44] ; 0x2c + 8011198: 1ad3 subs r3, r2, r3 + 801119a: 2b00 cmp r3, #0 + 801119c: dd03 ble.n 80111a6 /* Can happen due to other end sending out of advertised window, * but within actual available (but not yet advertised) window */ pcb->rcv_ann_wnd = 0; - 801160e: 687b ldr r3, [r7, #4] - 8011610: 2200 movs r2, #0 - 8011612: 855a strh r2, [r3, #42] ; 0x2a - 8011614: e014 b.n 8011640 + 801119e: 687b ldr r3, [r7, #4] + 80111a0: 2200 movs r2, #0 + 80111a2: 855a strh r2, [r3, #42] ; 0x2a + 80111a4: e014 b.n 80111d0 } else { /* keep the right edge of window constant */ u32_t new_rcv_ann_wnd = pcb->rcv_ann_right_edge - pcb->rcv_nxt; - 8011616: 687b ldr r3, [r7, #4] - 8011618: 6ada ldr r2, [r3, #44] ; 0x2c - 801161a: 687b ldr r3, [r7, #4] - 801161c: 6a5b ldr r3, [r3, #36] ; 0x24 - 801161e: 1ad3 subs r3, r2, r3 - 8011620: 60bb str r3, [r7, #8] + 80111a6: 687b ldr r3, [r7, #4] + 80111a8: 6ada ldr r2, [r3, #44] ; 0x2c + 80111aa: 687b ldr r3, [r7, #4] + 80111ac: 6a5b ldr r3, [r3, #36] ; 0x24 + 80111ae: 1ad3 subs r3, r2, r3 + 80111b0: 60bb str r3, [r7, #8] #if !LWIP_WND_SCALE LWIP_ASSERT("new_rcv_ann_wnd <= 0xffff", new_rcv_ann_wnd <= 0xffff); - 8011622: 68bb ldr r3, [r7, #8] - 8011624: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 8011628: d306 bcc.n 8011638 - 801162a: 4b08 ldr r3, [pc, #32] ; (801164c ) - 801162c: f240 32b6 movw r2, #950 ; 0x3b6 - 8011630: 4909 ldr r1, [pc, #36] ; (8011658 ) - 8011632: 4808 ldr r0, [pc, #32] ; (8011654 ) - 8011634: f009 ff40 bl 801b4b8 + 80111b2: 68bb ldr r3, [r7, #8] + 80111b4: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 80111b8: d306 bcc.n 80111c8 + 80111ba: 4b08 ldr r3, [pc, #32] ; (80111dc ) + 80111bc: f240 32b6 movw r2, #950 ; 0x3b6 + 80111c0: 4909 ldr r1, [pc, #36] ; (80111e8 ) + 80111c2: 4808 ldr r0, [pc, #32] ; (80111e4 ) + 80111c4: f009 ff26 bl 801b014 #endif pcb->rcv_ann_wnd = (tcpwnd_size_t)new_rcv_ann_wnd; - 8011638: 68bb ldr r3, [r7, #8] - 801163a: b29a uxth r2, r3 - 801163c: 687b ldr r3, [r7, #4] - 801163e: 855a strh r2, [r3, #42] ; 0x2a + 80111c8: 68bb ldr r3, [r7, #8] + 80111ca: b29a uxth r2, r3 + 80111cc: 687b ldr r3, [r7, #4] + 80111ce: 855a strh r2, [r3, #42] ; 0x2a } return 0; - 8011640: 2300 movs r3, #0 + 80111d0: 2300 movs r3, #0 } } - 8011642: 4618 mov r0, r3 - 8011644: 3710 adds r7, #16 - 8011646: 46bd mov sp, r7 - 8011648: bd80 pop {r7, pc} - 801164a: bf00 nop - 801164c: 0801d34c .word 0x0801d34c - 8011650: 0801d5a8 .word 0x0801d5a8 - 8011654: 0801d390 .word 0x0801d390 - 8011658: 0801d5cc .word 0x0801d5cc + 80111d2: 4618 mov r0, r3 + 80111d4: 3710 adds r7, #16 + 80111d6: 46bd mov sp, r7 + 80111d8: bd80 pop {r7, pc} + 80111da: bf00 nop + 80111dc: 0801cb48 .word 0x0801cb48 + 80111e0: 0801cda4 .word 0x0801cda4 + 80111e4: 0801cb8c .word 0x0801cb8c + 80111e8: 0801cdc8 .word 0x0801cdc8 -0801165c : +080111ec : * @param pcb the tcp_pcb for which data is read * @param len the amount of bytes that have been read by the application */ void tcp_recved(struct tcp_pcb *pcb, u16_t len) { - 801165c: b580 push {r7, lr} - 801165e: b084 sub sp, #16 - 8011660: af00 add r7, sp, #0 - 8011662: 6078 str r0, [r7, #4] - 8011664: 460b mov r3, r1 - 8011666: 807b strh r3, [r7, #2] + 80111ec: b580 push {r7, lr} + 80111ee: b084 sub sp, #16 + 80111f0: af00 add r7, sp, #0 + 80111f2: 6078 str r0, [r7, #4] + 80111f4: 460b mov r3, r1 + 80111f6: 807b strh r3, [r7, #2] u32_t wnd_inflation; tcpwnd_size_t rcv_wnd; LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("tcp_recved: invalid pcb", pcb != NULL, return); - 8011668: 687b ldr r3, [r7, #4] - 801166a: 2b00 cmp r3, #0 - 801166c: d107 bne.n 801167e - 801166e: 4b1f ldr r3, [pc, #124] ; (80116ec ) - 8011670: f240 32cf movw r2, #975 ; 0x3cf - 8011674: 491e ldr r1, [pc, #120] ; (80116f0 ) - 8011676: 481f ldr r0, [pc, #124] ; (80116f4 ) - 8011678: f009 ff1e bl 801b4b8 - 801167c: e032 b.n 80116e4 + 80111f8: 687b ldr r3, [r7, #4] + 80111fa: 2b00 cmp r3, #0 + 80111fc: d107 bne.n 801120e + 80111fe: 4b1f ldr r3, [pc, #124] ; (801127c ) + 8011200: f240 32cf movw r2, #975 ; 0x3cf + 8011204: 491e ldr r1, [pc, #120] ; (8011280 ) + 8011206: 481f ldr r0, [pc, #124] ; (8011284 ) + 8011208: f009 ff04 bl 801b014 + 801120c: e032 b.n 8011274 /* pcb->state LISTEN not allowed here */ LWIP_ASSERT("don't call tcp_recved for listen-pcbs", - 801167e: 687b ldr r3, [r7, #4] - 8011680: 7d1b ldrb r3, [r3, #20] - 8011682: 2b01 cmp r3, #1 - 8011684: d106 bne.n 8011694 - 8011686: 4b19 ldr r3, [pc, #100] ; (80116ec ) - 8011688: f240 32d3 movw r2, #979 ; 0x3d3 - 801168c: 491a ldr r1, [pc, #104] ; (80116f8 ) - 801168e: 4819 ldr r0, [pc, #100] ; (80116f4 ) - 8011690: f009 ff12 bl 801b4b8 + 801120e: 687b ldr r3, [r7, #4] + 8011210: 7d1b ldrb r3, [r3, #20] + 8011212: 2b01 cmp r3, #1 + 8011214: d106 bne.n 8011224 + 8011216: 4b19 ldr r3, [pc, #100] ; (801127c ) + 8011218: f240 32d3 movw r2, #979 ; 0x3d3 + 801121c: 491a ldr r1, [pc, #104] ; (8011288 ) + 801121e: 4819 ldr r0, [pc, #100] ; (8011284 ) + 8011220: f009 fef8 bl 801b014 pcb->state != LISTEN); rcv_wnd = (tcpwnd_size_t)(pcb->rcv_wnd + len); - 8011694: 687b ldr r3, [r7, #4] - 8011696: 8d1a ldrh r2, [r3, #40] ; 0x28 - 8011698: 887b ldrh r3, [r7, #2] - 801169a: 4413 add r3, r2 - 801169c: 81fb strh r3, [r7, #14] + 8011224: 687b ldr r3, [r7, #4] + 8011226: 8d1a ldrh r2, [r3, #40] ; 0x28 + 8011228: 887b ldrh r3, [r7, #2] + 801122a: 4413 add r3, r2 + 801122c: 81fb strh r3, [r7, #14] if ((rcv_wnd > TCP_WND_MAX(pcb)) || (rcv_wnd < pcb->rcv_wnd)) { - 801169e: 89fb ldrh r3, [r7, #14] - 80116a0: f5b3 6f06 cmp.w r3, #2144 ; 0x860 - 80116a4: d804 bhi.n 80116b0 - 80116a6: 687b ldr r3, [r7, #4] - 80116a8: 8d1b ldrh r3, [r3, #40] ; 0x28 - 80116aa: 89fa ldrh r2, [r7, #14] - 80116ac: 429a cmp r2, r3 - 80116ae: d204 bcs.n 80116ba + 801122e: 89fb ldrh r3, [r7, #14] + 8011230: f5b3 6f06 cmp.w r3, #2144 ; 0x860 + 8011234: d804 bhi.n 8011240 + 8011236: 687b ldr r3, [r7, #4] + 8011238: 8d1b ldrh r3, [r3, #40] ; 0x28 + 801123a: 89fa ldrh r2, [r7, #14] + 801123c: 429a cmp r2, r3 + 801123e: d204 bcs.n 801124a /* window got too big or tcpwnd_size_t overflow */ LWIP_DEBUGF(TCP_DEBUG, ("tcp_recved: window got too big or tcpwnd_size_t overflow\n")); pcb->rcv_wnd = TCP_WND_MAX(pcb); - 80116b0: 687b ldr r3, [r7, #4] - 80116b2: f44f 6206 mov.w r2, #2144 ; 0x860 - 80116b6: 851a strh r2, [r3, #40] ; 0x28 - 80116b8: e002 b.n 80116c0 + 8011240: 687b ldr r3, [r7, #4] + 8011242: f44f 6206 mov.w r2, #2144 ; 0x860 + 8011246: 851a strh r2, [r3, #40] ; 0x28 + 8011248: e002 b.n 8011250 } else { pcb->rcv_wnd = rcv_wnd; - 80116ba: 687b ldr r3, [r7, #4] - 80116bc: 89fa ldrh r2, [r7, #14] - 80116be: 851a strh r2, [r3, #40] ; 0x28 + 801124a: 687b ldr r3, [r7, #4] + 801124c: 89fa ldrh r2, [r7, #14] + 801124e: 851a strh r2, [r3, #40] ; 0x28 } wnd_inflation = tcp_update_rcv_ann_wnd(pcb); - 80116c0: 6878 ldr r0, [r7, #4] - 80116c2: f7ff ff71 bl 80115a8 - 80116c6: 60b8 str r0, [r7, #8] + 8011250: 6878 ldr r0, [r7, #4] + 8011252: f7ff ff71 bl 8011138 + 8011256: 60b8 str r0, [r7, #8] /* If the change in the right edge of window is significant (default * watermark is TCP_WND/4), then send an explicit update now. * Otherwise wait for a packet to be sent in the normal course of * events (or more window to be available later) */ if (wnd_inflation >= TCP_WND_UPDATE_THRESHOLD) { - 80116c8: 68bb ldr r3, [r7, #8] - 80116ca: f5b3 7f06 cmp.w r3, #536 ; 0x218 - 80116ce: d309 bcc.n 80116e4 + 8011258: 68bb ldr r3, [r7, #8] + 801125a: f5b3 7f06 cmp.w r3, #536 ; 0x218 + 801125e: d309 bcc.n 8011274 tcp_ack_now(pcb); - 80116d0: 687b ldr r3, [r7, #4] - 80116d2: 8b5b ldrh r3, [r3, #26] - 80116d4: f043 0302 orr.w r3, r3, #2 - 80116d8: b29a uxth r2, r3 - 80116da: 687b ldr r3, [r7, #4] - 80116dc: 835a strh r2, [r3, #26] + 8011260: 687b ldr r3, [r7, #4] + 8011262: 8b5b ldrh r3, [r3, #26] + 8011264: f043 0302 orr.w r3, r3, #2 + 8011268: b29a uxth r2, r3 + 801126a: 687b ldr r3, [r7, #4] + 801126c: 835a strh r2, [r3, #26] tcp_output(pcb); - 80116de: 6878 ldr r0, [r7, #4] - 80116e0: f003 fe38 bl 8015354 + 801126e: 6878 ldr r0, [r7, #4] + 8011270: f003 fe38 bl 8014ee4 } LWIP_DEBUGF(TCP_DEBUG, ("tcp_recved: received %"U16_F" bytes, wnd %"TCPWNDSIZE_F" (%"TCPWNDSIZE_F").\n", len, pcb->rcv_wnd, (u16_t)(TCP_WND_MAX(pcb) - pcb->rcv_wnd))); } - 80116e4: 3710 adds r7, #16 - 80116e6: 46bd mov sp, r7 - 80116e8: bd80 pop {r7, pc} - 80116ea: bf00 nop - 80116ec: 0801d34c .word 0x0801d34c - 80116f0: 0801d5e8 .word 0x0801d5e8 - 80116f4: 0801d390 .word 0x0801d390 - 80116f8: 0801d600 .word 0x0801d600 + 8011274: 3710 adds r7, #16 + 8011276: 46bd mov sp, r7 + 8011278: bd80 pop {r7, pc} + 801127a: bf00 nop + 801127c: 0801cb48 .word 0x0801cb48 + 8011280: 0801cde4 .word 0x0801cde4 + 8011284: 0801cb8c .word 0x0801cb8c + 8011288: 0801cdfc .word 0x0801cdfc -080116fc : +0801128c : * * Automatically called from tcp_tmr(). */ void tcp_slowtmr(void) { - 80116fc: b5b0 push {r4, r5, r7, lr} - 80116fe: b090 sub sp, #64 ; 0x40 - 8011700: af04 add r7, sp, #16 + 801128c: b5b0 push {r4, r5, r7, lr} + 801128e: b090 sub sp, #64 ; 0x40 + 8011290: af04 add r7, sp, #16 tcpwnd_size_t eff_wnd; u8_t pcb_remove; /* flag if a PCB should be removed */ u8_t pcb_reset; /* flag if a RST should be sent when removing */ err_t err; err = ERR_OK; - 8011702: 2300 movs r3, #0 - 8011704: f887 3025 strb.w r3, [r7, #37] ; 0x25 + 8011292: 2300 movs r3, #0 + 8011294: f887 3025 strb.w r3, [r7, #37] ; 0x25 ++tcp_ticks; - 8011708: 4b94 ldr r3, [pc, #592] ; (801195c ) - 801170a: 681b ldr r3, [r3, #0] - 801170c: 3301 adds r3, #1 - 801170e: 4a93 ldr r2, [pc, #588] ; (801195c ) - 8011710: 6013 str r3, [r2, #0] + 8011298: 4b94 ldr r3, [pc, #592] ; (80114ec ) + 801129a: 681b ldr r3, [r3, #0] + 801129c: 3301 adds r3, #1 + 801129e: 4a93 ldr r2, [pc, #588] ; (80114ec ) + 80112a0: 6013 str r3, [r2, #0] ++tcp_timer_ctr; - 8011712: 4b93 ldr r3, [pc, #588] ; (8011960 ) - 8011714: 781b ldrb r3, [r3, #0] - 8011716: 3301 adds r3, #1 - 8011718: b2da uxtb r2, r3 - 801171a: 4b91 ldr r3, [pc, #580] ; (8011960 ) - 801171c: 701a strb r2, [r3, #0] + 80112a2: 4b93 ldr r3, [pc, #588] ; (80114f0 ) + 80112a4: 781b ldrb r3, [r3, #0] + 80112a6: 3301 adds r3, #1 + 80112a8: b2da uxtb r2, r3 + 80112aa: 4b91 ldr r3, [pc, #580] ; (80114f0 ) + 80112ac: 701a strb r2, [r3, #0] tcp_slowtmr_start: /* Steps through all of the active PCBs. */ prev = NULL; - 801171e: 2300 movs r3, #0 - 8011720: 62bb str r3, [r7, #40] ; 0x28 + 80112ae: 2300 movs r3, #0 + 80112b0: 62bb str r3, [r7, #40] ; 0x28 pcb = tcp_active_pcbs; - 8011722: 4b90 ldr r3, [pc, #576] ; (8011964 ) - 8011724: 681b ldr r3, [r3, #0] - 8011726: 62fb str r3, [r7, #44] ; 0x2c + 80112b2: 4b90 ldr r3, [pc, #576] ; (80114f4 ) + 80112b4: 681b ldr r3, [r3, #0] + 80112b6: 62fb str r3, [r7, #44] ; 0x2c if (pcb == NULL) { LWIP_DEBUGF(TCP_DEBUG, ("tcp_slowtmr: no active pcbs\n")); } while (pcb != NULL) { - 8011728: e29d b.n 8011c66 + 80112b8: e29d b.n 80117f6 LWIP_DEBUGF(TCP_DEBUG, ("tcp_slowtmr: processing active pcb\n")); LWIP_ASSERT("tcp_slowtmr: active pcb->state != CLOSED\n", pcb->state != CLOSED); - 801172a: 6afb ldr r3, [r7, #44] ; 0x2c - 801172c: 7d1b ldrb r3, [r3, #20] - 801172e: 2b00 cmp r3, #0 - 8011730: d106 bne.n 8011740 - 8011732: 4b8d ldr r3, [pc, #564] ; (8011968 ) - 8011734: f240 42be movw r2, #1214 ; 0x4be - 8011738: 498c ldr r1, [pc, #560] ; (801196c ) - 801173a: 488d ldr r0, [pc, #564] ; (8011970 ) - 801173c: f009 febc bl 801b4b8 + 80112ba: 6afb ldr r3, [r7, #44] ; 0x2c + 80112bc: 7d1b ldrb r3, [r3, #20] + 80112be: 2b00 cmp r3, #0 + 80112c0: d106 bne.n 80112d0 + 80112c2: 4b8d ldr r3, [pc, #564] ; (80114f8 ) + 80112c4: f240 42be movw r2, #1214 ; 0x4be + 80112c8: 498c ldr r1, [pc, #560] ; (80114fc ) + 80112ca: 488d ldr r0, [pc, #564] ; (8011500 ) + 80112cc: f009 fea2 bl 801b014 LWIP_ASSERT("tcp_slowtmr: active pcb->state != LISTEN\n", pcb->state != LISTEN); - 8011740: 6afb ldr r3, [r7, #44] ; 0x2c - 8011742: 7d1b ldrb r3, [r3, #20] - 8011744: 2b01 cmp r3, #1 - 8011746: d106 bne.n 8011756 - 8011748: 4b87 ldr r3, [pc, #540] ; (8011968 ) - 801174a: f240 42bf movw r2, #1215 ; 0x4bf - 801174e: 4989 ldr r1, [pc, #548] ; (8011974 ) - 8011750: 4887 ldr r0, [pc, #540] ; (8011970 ) - 8011752: f009 feb1 bl 801b4b8 + 80112d0: 6afb ldr r3, [r7, #44] ; 0x2c + 80112d2: 7d1b ldrb r3, [r3, #20] + 80112d4: 2b01 cmp r3, #1 + 80112d6: d106 bne.n 80112e6 + 80112d8: 4b87 ldr r3, [pc, #540] ; (80114f8 ) + 80112da: f240 42bf movw r2, #1215 ; 0x4bf + 80112de: 4989 ldr r1, [pc, #548] ; (8011504 ) + 80112e0: 4887 ldr r0, [pc, #540] ; (8011500 ) + 80112e2: f009 fe97 bl 801b014 LWIP_ASSERT("tcp_slowtmr: active pcb->state != TIME-WAIT\n", pcb->state != TIME_WAIT); - 8011756: 6afb ldr r3, [r7, #44] ; 0x2c - 8011758: 7d1b ldrb r3, [r3, #20] - 801175a: 2b0a cmp r3, #10 - 801175c: d106 bne.n 801176c - 801175e: 4b82 ldr r3, [pc, #520] ; (8011968 ) - 8011760: f44f 6298 mov.w r2, #1216 ; 0x4c0 - 8011764: 4984 ldr r1, [pc, #528] ; (8011978 ) - 8011766: 4882 ldr r0, [pc, #520] ; (8011970 ) - 8011768: f009 fea6 bl 801b4b8 + 80112e6: 6afb ldr r3, [r7, #44] ; 0x2c + 80112e8: 7d1b ldrb r3, [r3, #20] + 80112ea: 2b0a cmp r3, #10 + 80112ec: d106 bne.n 80112fc + 80112ee: 4b82 ldr r3, [pc, #520] ; (80114f8 ) + 80112f0: f44f 6298 mov.w r2, #1216 ; 0x4c0 + 80112f4: 4984 ldr r1, [pc, #528] ; (8011508 ) + 80112f6: 4882 ldr r0, [pc, #520] ; (8011500 ) + 80112f8: f009 fe8c bl 801b014 if (pcb->last_timer == tcp_timer_ctr) { - 801176c: 6afb ldr r3, [r7, #44] ; 0x2c - 801176e: 7f9a ldrb r2, [r3, #30] - 8011770: 4b7b ldr r3, [pc, #492] ; (8011960 ) - 8011772: 781b ldrb r3, [r3, #0] - 8011774: 429a cmp r2, r3 - 8011776: d105 bne.n 8011784 + 80112fc: 6afb ldr r3, [r7, #44] ; 0x2c + 80112fe: 7f9a ldrb r2, [r3, #30] + 8011300: 4b7b ldr r3, [pc, #492] ; (80114f0 ) + 8011302: 781b ldrb r3, [r3, #0] + 8011304: 429a cmp r2, r3 + 8011306: d105 bne.n 8011314 /* skip this pcb, we have already processed it */ prev = pcb; - 8011778: 6afb ldr r3, [r7, #44] ; 0x2c - 801177a: 62bb str r3, [r7, #40] ; 0x28 + 8011308: 6afb ldr r3, [r7, #44] ; 0x2c + 801130a: 62bb str r3, [r7, #40] ; 0x28 pcb = pcb->next; - 801177c: 6afb ldr r3, [r7, #44] ; 0x2c - 801177e: 68db ldr r3, [r3, #12] - 8011780: 62fb str r3, [r7, #44] ; 0x2c + 801130c: 6afb ldr r3, [r7, #44] ; 0x2c + 801130e: 68db ldr r3, [r3, #12] + 8011310: 62fb str r3, [r7, #44] ; 0x2c continue; - 8011782: e270 b.n 8011c66 + 8011312: e270 b.n 80117f6 } pcb->last_timer = tcp_timer_ctr; - 8011784: 4b76 ldr r3, [pc, #472] ; (8011960 ) - 8011786: 781a ldrb r2, [r3, #0] - 8011788: 6afb ldr r3, [r7, #44] ; 0x2c - 801178a: 779a strb r2, [r3, #30] + 8011314: 4b76 ldr r3, [pc, #472] ; (80114f0 ) + 8011316: 781a ldrb r2, [r3, #0] + 8011318: 6afb ldr r3, [r7, #44] ; 0x2c + 801131a: 779a strb r2, [r3, #30] pcb_remove = 0; - 801178c: 2300 movs r3, #0 - 801178e: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 801131c: 2300 movs r3, #0 + 801131e: f887 3027 strb.w r3, [r7, #39] ; 0x27 pcb_reset = 0; - 8011792: 2300 movs r3, #0 - 8011794: f887 3026 strb.w r3, [r7, #38] ; 0x26 + 8011322: 2300 movs r3, #0 + 8011324: f887 3026 strb.w r3, [r7, #38] ; 0x26 if (pcb->state == SYN_SENT && pcb->nrtx >= TCP_SYNMAXRTX) { - 8011798: 6afb ldr r3, [r7, #44] ; 0x2c - 801179a: 7d1b ldrb r3, [r3, #20] - 801179c: 2b02 cmp r3, #2 - 801179e: d10a bne.n 80117b6 - 80117a0: 6afb ldr r3, [r7, #44] ; 0x2c - 80117a2: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 - 80117a6: 2b05 cmp r3, #5 - 80117a8: d905 bls.n 80117b6 + 8011328: 6afb ldr r3, [r7, #44] ; 0x2c + 801132a: 7d1b ldrb r3, [r3, #20] + 801132c: 2b02 cmp r3, #2 + 801132e: d10a bne.n 8011346 + 8011330: 6afb ldr r3, [r7, #44] ; 0x2c + 8011332: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 + 8011336: 2b05 cmp r3, #5 + 8011338: d905 bls.n 8011346 ++pcb_remove; - 80117aa: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 80117ae: 3301 adds r3, #1 - 80117b0: f887 3027 strb.w r3, [r7, #39] ; 0x27 - 80117b4: e11e b.n 80119f4 + 801133a: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 801133e: 3301 adds r3, #1 + 8011340: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 8011344: e11e b.n 8011584 LWIP_DEBUGF(TCP_DEBUG, ("tcp_slowtmr: max SYN retries reached\n")); } else if (pcb->nrtx >= TCP_MAXRTX) { - 80117b6: 6afb ldr r3, [r7, #44] ; 0x2c - 80117b8: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 - 80117bc: 2b0b cmp r3, #11 - 80117be: d905 bls.n 80117cc + 8011346: 6afb ldr r3, [r7, #44] ; 0x2c + 8011348: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 + 801134c: 2b0b cmp r3, #11 + 801134e: d905 bls.n 801135c ++pcb_remove; - 80117c0: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 80117c4: 3301 adds r3, #1 - 80117c6: f887 3027 strb.w r3, [r7, #39] ; 0x27 - 80117ca: e113 b.n 80119f4 + 8011350: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 8011354: 3301 adds r3, #1 + 8011356: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 801135a: e113 b.n 8011584 LWIP_DEBUGF(TCP_DEBUG, ("tcp_slowtmr: max DATA retries reached\n")); } else { if (pcb->persist_backoff > 0) { - 80117cc: 6afb ldr r3, [r7, #44] ; 0x2c - 80117ce: f893 3099 ldrb.w r3, [r3, #153] ; 0x99 - 80117d2: 2b00 cmp r3, #0 - 80117d4: d075 beq.n 80118c2 + 801135c: 6afb ldr r3, [r7, #44] ; 0x2c + 801135e: f893 3099 ldrb.w r3, [r3, #153] ; 0x99 + 8011362: 2b00 cmp r3, #0 + 8011364: d075 beq.n 8011452 LWIP_ASSERT("tcp_slowtimr: persist ticking with in-flight data", pcb->unacked == NULL); - 80117d6: 6afb ldr r3, [r7, #44] ; 0x2c - 80117d8: 6f1b ldr r3, [r3, #112] ; 0x70 - 80117da: 2b00 cmp r3, #0 - 80117dc: d006 beq.n 80117ec - 80117de: 4b62 ldr r3, [pc, #392] ; (8011968 ) - 80117e0: f240 42d4 movw r2, #1236 ; 0x4d4 - 80117e4: 4965 ldr r1, [pc, #404] ; (801197c ) - 80117e6: 4862 ldr r0, [pc, #392] ; (8011970 ) - 80117e8: f009 fe66 bl 801b4b8 + 8011366: 6afb ldr r3, [r7, #44] ; 0x2c + 8011368: 6f1b ldr r3, [r3, #112] ; 0x70 + 801136a: 2b00 cmp r3, #0 + 801136c: d006 beq.n 801137c + 801136e: 4b62 ldr r3, [pc, #392] ; (80114f8 ) + 8011370: f240 42d4 movw r2, #1236 ; 0x4d4 + 8011374: 4965 ldr r1, [pc, #404] ; (801150c ) + 8011376: 4862 ldr r0, [pc, #392] ; (8011500 ) + 8011378: f009 fe4c bl 801b014 LWIP_ASSERT("tcp_slowtimr: persist ticking with empty send buffer", pcb->unsent != NULL); - 80117ec: 6afb ldr r3, [r7, #44] ; 0x2c - 80117ee: 6edb ldr r3, [r3, #108] ; 0x6c - 80117f0: 2b00 cmp r3, #0 - 80117f2: d106 bne.n 8011802 - 80117f4: 4b5c ldr r3, [pc, #368] ; (8011968 ) - 80117f6: f240 42d5 movw r2, #1237 ; 0x4d5 - 80117fa: 4961 ldr r1, [pc, #388] ; (8011980 ) - 80117fc: 485c ldr r0, [pc, #368] ; (8011970 ) - 80117fe: f009 fe5b bl 801b4b8 + 801137c: 6afb ldr r3, [r7, #44] ; 0x2c + 801137e: 6edb ldr r3, [r3, #108] ; 0x6c + 8011380: 2b00 cmp r3, #0 + 8011382: d106 bne.n 8011392 + 8011384: 4b5c ldr r3, [pc, #368] ; (80114f8 ) + 8011386: f240 42d5 movw r2, #1237 ; 0x4d5 + 801138a: 4961 ldr r1, [pc, #388] ; (8011510 ) + 801138c: 485c ldr r0, [pc, #368] ; (8011500 ) + 801138e: f009 fe41 bl 801b014 if (pcb->persist_probe >= TCP_MAXRTX) { - 8011802: 6afb ldr r3, [r7, #44] ; 0x2c - 8011804: f893 309a ldrb.w r3, [r3, #154] ; 0x9a - 8011808: 2b0b cmp r3, #11 - 801180a: d905 bls.n 8011818 + 8011392: 6afb ldr r3, [r7, #44] ; 0x2c + 8011394: f893 309a ldrb.w r3, [r3, #154] ; 0x9a + 8011398: 2b0b cmp r3, #11 + 801139a: d905 bls.n 80113a8 ++pcb_remove; /* max probes reached */ - 801180c: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8011810: 3301 adds r3, #1 - 8011812: f887 3027 strb.w r3, [r7, #39] ; 0x27 - 8011816: e0ed b.n 80119f4 + 801139c: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 80113a0: 3301 adds r3, #1 + 80113a2: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 80113a6: e0ed b.n 8011584 } else { u8_t backoff_cnt = tcp_persist_backoff[pcb->persist_backoff - 1]; - 8011818: 6afb ldr r3, [r7, #44] ; 0x2c - 801181a: f893 3099 ldrb.w r3, [r3, #153] ; 0x99 - 801181e: 3b01 subs r3, #1 - 8011820: 4a58 ldr r2, [pc, #352] ; (8011984 ) - 8011822: 5cd3 ldrb r3, [r2, r3] - 8011824: 747b strb r3, [r7, #17] + 80113a8: 6afb ldr r3, [r7, #44] ; 0x2c + 80113aa: f893 3099 ldrb.w r3, [r3, #153] ; 0x99 + 80113ae: 3b01 subs r3, #1 + 80113b0: 4a58 ldr r2, [pc, #352] ; (8011514 ) + 80113b2: 5cd3 ldrb r3, [r2, r3] + 80113b4: 747b strb r3, [r7, #17] if (pcb->persist_cnt < backoff_cnt) { - 8011826: 6afb ldr r3, [r7, #44] ; 0x2c - 8011828: f893 3098 ldrb.w r3, [r3, #152] ; 0x98 - 801182c: 7c7a ldrb r2, [r7, #17] - 801182e: 429a cmp r2, r3 - 8011830: d907 bls.n 8011842 + 80113b6: 6afb ldr r3, [r7, #44] ; 0x2c + 80113b8: f893 3098 ldrb.w r3, [r3, #152] ; 0x98 + 80113bc: 7c7a ldrb r2, [r7, #17] + 80113be: 429a cmp r2, r3 + 80113c0: d907 bls.n 80113d2 pcb->persist_cnt++; - 8011832: 6afb ldr r3, [r7, #44] ; 0x2c - 8011834: f893 3098 ldrb.w r3, [r3, #152] ; 0x98 - 8011838: 3301 adds r3, #1 - 801183a: b2da uxtb r2, r3 - 801183c: 6afb ldr r3, [r7, #44] ; 0x2c - 801183e: f883 2098 strb.w r2, [r3, #152] ; 0x98 + 80113c2: 6afb ldr r3, [r7, #44] ; 0x2c + 80113c4: f893 3098 ldrb.w r3, [r3, #152] ; 0x98 + 80113c8: 3301 adds r3, #1 + 80113ca: b2da uxtb r2, r3 + 80113cc: 6afb ldr r3, [r7, #44] ; 0x2c + 80113ce: f883 2098 strb.w r2, [r3, #152] ; 0x98 } if (pcb->persist_cnt >= backoff_cnt) { - 8011842: 6afb ldr r3, [r7, #44] ; 0x2c - 8011844: f893 3098 ldrb.w r3, [r3, #152] ; 0x98 - 8011848: 7c7a ldrb r2, [r7, #17] - 801184a: 429a cmp r2, r3 - 801184c: f200 80d2 bhi.w 80119f4 + 80113d2: 6afb ldr r3, [r7, #44] ; 0x2c + 80113d4: f893 3098 ldrb.w r3, [r3, #152] ; 0x98 + 80113d8: 7c7a ldrb r2, [r7, #17] + 80113da: 429a cmp r2, r3 + 80113dc: f200 80d2 bhi.w 8011584 int next_slot = 1; /* increment timer to next slot */ - 8011850: 2301 movs r3, #1 - 8011852: 623b str r3, [r7, #32] + 80113e0: 2301 movs r3, #1 + 80113e2: 623b str r3, [r7, #32] /* If snd_wnd is zero, send 1 byte probes */ if (pcb->snd_wnd == 0) { - 8011854: 6afb ldr r3, [r7, #44] ; 0x2c - 8011856: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 - 801185a: 2b00 cmp r3, #0 - 801185c: d108 bne.n 8011870 + 80113e4: 6afb ldr r3, [r7, #44] ; 0x2c + 80113e6: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 + 80113ea: 2b00 cmp r3, #0 + 80113ec: d108 bne.n 8011400 if (tcp_zero_window_probe(pcb) != ERR_OK) { - 801185e: 6af8 ldr r0, [r7, #44] ; 0x2c - 8011860: f004 fc32 bl 80160c8 - 8011864: 4603 mov r3, r0 - 8011866: 2b00 cmp r3, #0 - 8011868: d014 beq.n 8011894 + 80113ee: 6af8 ldr r0, [r7, #44] ; 0x2c + 80113f0: f004 fc32 bl 8015c58 + 80113f4: 4603 mov r3, r0 + 80113f6: 2b00 cmp r3, #0 + 80113f8: d014 beq.n 8011424 next_slot = 0; /* try probe again with current slot */ - 801186a: 2300 movs r3, #0 - 801186c: 623b str r3, [r7, #32] - 801186e: e011 b.n 8011894 + 80113fa: 2300 movs r3, #0 + 80113fc: 623b str r3, [r7, #32] + 80113fe: e011 b.n 8011424 } /* snd_wnd not fully closed, split unsent head and fill window */ } else { if (tcp_split_unsent_seg(pcb, (u16_t)pcb->snd_wnd) == ERR_OK) { - 8011870: 6afb ldr r3, [r7, #44] ; 0x2c - 8011872: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 - 8011876: 4619 mov r1, r3 - 8011878: 6af8 ldr r0, [r7, #44] ; 0x2c - 801187a: f003 fae5 bl 8014e48 - 801187e: 4603 mov r3, r0 - 8011880: 2b00 cmp r3, #0 - 8011882: d107 bne.n 8011894 + 8011400: 6afb ldr r3, [r7, #44] ; 0x2c + 8011402: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 + 8011406: 4619 mov r1, r3 + 8011408: 6af8 ldr r0, [r7, #44] ; 0x2c + 801140a: f003 fae5 bl 80149d8 + 801140e: 4603 mov r3, r0 + 8011410: 2b00 cmp r3, #0 + 8011412: d107 bne.n 8011424 if (tcp_output(pcb) == ERR_OK) { - 8011884: 6af8 ldr r0, [r7, #44] ; 0x2c - 8011886: f003 fd65 bl 8015354 - 801188a: 4603 mov r3, r0 - 801188c: 2b00 cmp r3, #0 - 801188e: d101 bne.n 8011894 + 8011414: 6af8 ldr r0, [r7, #44] ; 0x2c + 8011416: f003 fd65 bl 8014ee4 + 801141a: 4603 mov r3, r0 + 801141c: 2b00 cmp r3, #0 + 801141e: d101 bne.n 8011424 /* sending will cancel persist timer, else retry with current slot */ next_slot = 0; - 8011890: 2300 movs r3, #0 - 8011892: 623b str r3, [r7, #32] + 8011420: 2300 movs r3, #0 + 8011422: 623b str r3, [r7, #32] } } } if (next_slot) { - 8011894: 6a3b ldr r3, [r7, #32] - 8011896: 2b00 cmp r3, #0 - 8011898: f000 80ac beq.w 80119f4 + 8011424: 6a3b ldr r3, [r7, #32] + 8011426: 2b00 cmp r3, #0 + 8011428: f000 80ac beq.w 8011584 pcb->persist_cnt = 0; - 801189c: 6afb ldr r3, [r7, #44] ; 0x2c - 801189e: 2200 movs r2, #0 - 80118a0: f883 2098 strb.w r2, [r3, #152] ; 0x98 + 801142c: 6afb ldr r3, [r7, #44] ; 0x2c + 801142e: 2200 movs r2, #0 + 8011430: f883 2098 strb.w r2, [r3, #152] ; 0x98 if (pcb->persist_backoff < sizeof(tcp_persist_backoff)) { - 80118a4: 6afb ldr r3, [r7, #44] ; 0x2c - 80118a6: f893 3099 ldrb.w r3, [r3, #153] ; 0x99 - 80118aa: 2b06 cmp r3, #6 - 80118ac: f200 80a2 bhi.w 80119f4 + 8011434: 6afb ldr r3, [r7, #44] ; 0x2c + 8011436: f893 3099 ldrb.w r3, [r3, #153] ; 0x99 + 801143a: 2b06 cmp r3, #6 + 801143c: f200 80a2 bhi.w 8011584 pcb->persist_backoff++; - 80118b0: 6afb ldr r3, [r7, #44] ; 0x2c - 80118b2: f893 3099 ldrb.w r3, [r3, #153] ; 0x99 - 80118b6: 3301 adds r3, #1 - 80118b8: b2da uxtb r2, r3 - 80118ba: 6afb ldr r3, [r7, #44] ; 0x2c - 80118bc: f883 2099 strb.w r2, [r3, #153] ; 0x99 - 80118c0: e098 b.n 80119f4 + 8011440: 6afb ldr r3, [r7, #44] ; 0x2c + 8011442: f893 3099 ldrb.w r3, [r3, #153] ; 0x99 + 8011446: 3301 adds r3, #1 + 8011448: b2da uxtb r2, r3 + 801144a: 6afb ldr r3, [r7, #44] ; 0x2c + 801144c: f883 2099 strb.w r2, [r3, #153] ; 0x99 + 8011450: e098 b.n 8011584 } } } } else { /* Increase the retransmission timer if it is running */ if ((pcb->rtime >= 0) && (pcb->rtime < 0x7FFF)) { - 80118c2: 6afb ldr r3, [r7, #44] ; 0x2c - 80118c4: f9b3 3030 ldrsh.w r3, [r3, #48] ; 0x30 - 80118c8: 2b00 cmp r3, #0 - 80118ca: db0f blt.n 80118ec - 80118cc: 6afb ldr r3, [r7, #44] ; 0x2c - 80118ce: f9b3 3030 ldrsh.w r3, [r3, #48] ; 0x30 - 80118d2: f647 72ff movw r2, #32767 ; 0x7fff - 80118d6: 4293 cmp r3, r2 - 80118d8: d008 beq.n 80118ec + 8011452: 6afb ldr r3, [r7, #44] ; 0x2c + 8011454: f9b3 3030 ldrsh.w r3, [r3, #48] ; 0x30 + 8011458: 2b00 cmp r3, #0 + 801145a: db0f blt.n 801147c + 801145c: 6afb ldr r3, [r7, #44] ; 0x2c + 801145e: f9b3 3030 ldrsh.w r3, [r3, #48] ; 0x30 + 8011462: f647 72ff movw r2, #32767 ; 0x7fff + 8011466: 4293 cmp r3, r2 + 8011468: d008 beq.n 801147c ++pcb->rtime; - 80118da: 6afb ldr r3, [r7, #44] ; 0x2c - 80118dc: f9b3 3030 ldrsh.w r3, [r3, #48] ; 0x30 - 80118e0: b29b uxth r3, r3 - 80118e2: 3301 adds r3, #1 - 80118e4: b29b uxth r3, r3 - 80118e6: b21a sxth r2, r3 - 80118e8: 6afb ldr r3, [r7, #44] ; 0x2c - 80118ea: 861a strh r2, [r3, #48] ; 0x30 + 801146a: 6afb ldr r3, [r7, #44] ; 0x2c + 801146c: f9b3 3030 ldrsh.w r3, [r3, #48] ; 0x30 + 8011470: b29b uxth r3, r3 + 8011472: 3301 adds r3, #1 + 8011474: b29b uxth r3, r3 + 8011476: b21a sxth r2, r3 + 8011478: 6afb ldr r3, [r7, #44] ; 0x2c + 801147a: 861a strh r2, [r3, #48] ; 0x30 } if (pcb->rtime >= pcb->rto) { - 80118ec: 6afb ldr r3, [r7, #44] ; 0x2c - 80118ee: f9b3 2030 ldrsh.w r2, [r3, #48] ; 0x30 - 80118f2: 6afb ldr r3, [r7, #44] ; 0x2c - 80118f4: f9b3 3040 ldrsh.w r3, [r3, #64] ; 0x40 - 80118f8: 429a cmp r2, r3 - 80118fa: db7b blt.n 80119f4 + 801147c: 6afb ldr r3, [r7, #44] ; 0x2c + 801147e: f9b3 2030 ldrsh.w r2, [r3, #48] ; 0x30 + 8011482: 6afb ldr r3, [r7, #44] ; 0x2c + 8011484: f9b3 3040 ldrsh.w r3, [r3, #64] ; 0x40 + 8011488: 429a cmp r2, r3 + 801148a: db7b blt.n 8011584 " pcb->rto %"S16_F"\n", pcb->rtime, pcb->rto)); /* If prepare phase fails but we have unsent data but no unacked data, still execute the backoff calculations below, as this means we somehow failed to send segment. */ if ((tcp_rexmit_rto_prepare(pcb) == ERR_OK) || ((pcb->unacked == NULL) && (pcb->unsent != NULL))) { - 80118fc: 6af8 ldr r0, [r7, #44] ; 0x2c - 80118fe: f004 f821 bl 8015944 - 8011902: 4603 mov r3, r0 - 8011904: 2b00 cmp r3, #0 - 8011906: d007 beq.n 8011918 - 8011908: 6afb ldr r3, [r7, #44] ; 0x2c - 801190a: 6f1b ldr r3, [r3, #112] ; 0x70 - 801190c: 2b00 cmp r3, #0 - 801190e: d171 bne.n 80119f4 - 8011910: 6afb ldr r3, [r7, #44] ; 0x2c - 8011912: 6edb ldr r3, [r3, #108] ; 0x6c - 8011914: 2b00 cmp r3, #0 - 8011916: d06d beq.n 80119f4 + 801148c: 6af8 ldr r0, [r7, #44] ; 0x2c + 801148e: f004 f821 bl 80154d4 + 8011492: 4603 mov r3, r0 + 8011494: 2b00 cmp r3, #0 + 8011496: d007 beq.n 80114a8 + 8011498: 6afb ldr r3, [r7, #44] ; 0x2c + 801149a: 6f1b ldr r3, [r3, #112] ; 0x70 + 801149c: 2b00 cmp r3, #0 + 801149e: d171 bne.n 8011584 + 80114a0: 6afb ldr r3, [r7, #44] ; 0x2c + 80114a2: 6edb ldr r3, [r3, #108] ; 0x6c + 80114a4: 2b00 cmp r3, #0 + 80114a6: d06d beq.n 8011584 /* Double retransmission time-out unless we are trying to * connect to somebody (i.e., we are in SYN_SENT). */ if (pcb->state != SYN_SENT) { - 8011918: 6afb ldr r3, [r7, #44] ; 0x2c - 801191a: 7d1b ldrb r3, [r3, #20] - 801191c: 2b02 cmp r3, #2 - 801191e: d03a beq.n 8011996 + 80114a8: 6afb ldr r3, [r7, #44] ; 0x2c + 80114aa: 7d1b ldrb r3, [r3, #20] + 80114ac: 2b02 cmp r3, #2 + 80114ae: d03a beq.n 8011526 u8_t backoff_idx = LWIP_MIN(pcb->nrtx, sizeof(tcp_backoff) - 1); - 8011920: 6afb ldr r3, [r7, #44] ; 0x2c - 8011922: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 - 8011926: 2b0c cmp r3, #12 - 8011928: bf28 it cs - 801192a: 230c movcs r3, #12 - 801192c: 76fb strb r3, [r7, #27] + 80114b0: 6afb ldr r3, [r7, #44] ; 0x2c + 80114b2: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 + 80114b6: 2b0c cmp r3, #12 + 80114b8: bf28 it cs + 80114ba: 230c movcs r3, #12 + 80114bc: 76fb strb r3, [r7, #27] int calc_rto = ((pcb->sa >> 3) + pcb->sv) << tcp_backoff[backoff_idx]; - 801192e: 6afb ldr r3, [r7, #44] ; 0x2c - 8011930: f9b3 303c ldrsh.w r3, [r3, #60] ; 0x3c - 8011934: 10db asrs r3, r3, #3 - 8011936: b21b sxth r3, r3 - 8011938: 461a mov r2, r3 - 801193a: 6afb ldr r3, [r7, #44] ; 0x2c - 801193c: f9b3 303e ldrsh.w r3, [r3, #62] ; 0x3e - 8011940: 4413 add r3, r2 - 8011942: 7efa ldrb r2, [r7, #27] - 8011944: 4910 ldr r1, [pc, #64] ; (8011988 ) - 8011946: 5c8a ldrb r2, [r1, r2] - 8011948: 4093 lsls r3, r2 - 801194a: 617b str r3, [r7, #20] + 80114be: 6afb ldr r3, [r7, #44] ; 0x2c + 80114c0: f9b3 303c ldrsh.w r3, [r3, #60] ; 0x3c + 80114c4: 10db asrs r3, r3, #3 + 80114c6: b21b sxth r3, r3 + 80114c8: 461a mov r2, r3 + 80114ca: 6afb ldr r3, [r7, #44] ; 0x2c + 80114cc: f9b3 303e ldrsh.w r3, [r3, #62] ; 0x3e + 80114d0: 4413 add r3, r2 + 80114d2: 7efa ldrb r2, [r7, #27] + 80114d4: 4910 ldr r1, [pc, #64] ; (8011518 ) + 80114d6: 5c8a ldrb r2, [r1, r2] + 80114d8: 4093 lsls r3, r2 + 80114da: 617b str r3, [r7, #20] pcb->rto = (s16_t)LWIP_MIN(calc_rto, 0x7FFF); - 801194c: 697b ldr r3, [r7, #20] - 801194e: f647 72fe movw r2, #32766 ; 0x7ffe - 8011952: 4293 cmp r3, r2 - 8011954: dc1a bgt.n 801198c - 8011956: 697b ldr r3, [r7, #20] - 8011958: b21a sxth r2, r3 - 801195a: e019 b.n 8011990 - 801195c: 2000f5c8 .word 0x2000f5c8 - 8011960: 2000872a .word 0x2000872a - 8011964: 2000f5c4 .word 0x2000f5c4 - 8011968: 0801d34c .word 0x0801d34c - 801196c: 0801d690 .word 0x0801d690 - 8011970: 0801d390 .word 0x0801d390 - 8011974: 0801d6bc .word 0x0801d6bc - 8011978: 0801d6e8 .word 0x0801d6e8 - 801197c: 0801d718 .word 0x0801d718 - 8011980: 0801d74c .word 0x0801d74c - 8011984: 0802162c .word 0x0802162c - 8011988: 0802161c .word 0x0802161c - 801198c: f647 72ff movw r2, #32767 ; 0x7fff - 8011990: 6afb ldr r3, [r7, #44] ; 0x2c - 8011992: f8a3 2040 strh.w r2, [r3, #64] ; 0x40 + 80114dc: 697b ldr r3, [r7, #20] + 80114de: f647 72fe movw r2, #32766 ; 0x7ffe + 80114e2: 4293 cmp r3, r2 + 80114e4: dc1a bgt.n 801151c + 80114e6: 697b ldr r3, [r7, #20] + 80114e8: b21a sxth r2, r3 + 80114ea: e019 b.n 8011520 + 80114ec: 2000f5c4 .word 0x2000f5c4 + 80114f0: 2000872a .word 0x2000872a + 80114f4: 2000f5c0 .word 0x2000f5c0 + 80114f8: 0801cb48 .word 0x0801cb48 + 80114fc: 0801ce8c .word 0x0801ce8c + 8011500: 0801cb8c .word 0x0801cb8c + 8011504: 0801ceb8 .word 0x0801ceb8 + 8011508: 0801cee4 .word 0x0801cee4 + 801150c: 0801cf14 .word 0x0801cf14 + 8011510: 0801cf48 .word 0x0801cf48 + 8011514: 08020e28 .word 0x08020e28 + 8011518: 08020e18 .word 0x08020e18 + 801151c: f647 72ff movw r2, #32767 ; 0x7fff + 8011520: 6afb ldr r3, [r7, #44] ; 0x2c + 8011522: f8a3 2040 strh.w r2, [r3, #64] ; 0x40 } /* Reset the retransmission timer. */ pcb->rtime = 0; - 8011996: 6afb ldr r3, [r7, #44] ; 0x2c - 8011998: 2200 movs r2, #0 - 801199a: 861a strh r2, [r3, #48] ; 0x30 + 8011526: 6afb ldr r3, [r7, #44] ; 0x2c + 8011528: 2200 movs r2, #0 + 801152a: 861a strh r2, [r3, #48] ; 0x30 /* Reduce congestion window and ssthresh. */ eff_wnd = LWIP_MIN(pcb->cwnd, pcb->snd_wnd); - 801199c: 6afb ldr r3, [r7, #44] ; 0x2c - 801199e: f8b3 2060 ldrh.w r2, [r3, #96] ; 0x60 - 80119a2: 6afb ldr r3, [r7, #44] ; 0x2c - 80119a4: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 - 80119a8: 4293 cmp r3, r2 - 80119aa: bf28 it cs - 80119ac: 4613 movcs r3, r2 - 80119ae: 827b strh r3, [r7, #18] + 801152c: 6afb ldr r3, [r7, #44] ; 0x2c + 801152e: f8b3 2060 ldrh.w r2, [r3, #96] ; 0x60 + 8011532: 6afb ldr r3, [r7, #44] ; 0x2c + 8011534: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 + 8011538: 4293 cmp r3, r2 + 801153a: bf28 it cs + 801153c: 4613 movcs r3, r2 + 801153e: 827b strh r3, [r7, #18] pcb->ssthresh = eff_wnd >> 1; - 80119b0: 8a7b ldrh r3, [r7, #18] - 80119b2: 085b lsrs r3, r3, #1 - 80119b4: b29a uxth r2, r3 - 80119b6: 6afb ldr r3, [r7, #44] ; 0x2c - 80119b8: f8a3 204a strh.w r2, [r3, #74] ; 0x4a + 8011540: 8a7b ldrh r3, [r7, #18] + 8011542: 085b lsrs r3, r3, #1 + 8011544: b29a uxth r2, r3 + 8011546: 6afb ldr r3, [r7, #44] ; 0x2c + 8011548: f8a3 204a strh.w r2, [r3, #74] ; 0x4a if (pcb->ssthresh < (tcpwnd_size_t)(pcb->mss << 1)) { - 80119bc: 6afb ldr r3, [r7, #44] ; 0x2c - 80119be: f8b3 204a ldrh.w r2, [r3, #74] ; 0x4a - 80119c2: 6afb ldr r3, [r7, #44] ; 0x2c - 80119c4: 8e5b ldrh r3, [r3, #50] ; 0x32 - 80119c6: 005b lsls r3, r3, #1 - 80119c8: b29b uxth r3, r3 - 80119ca: 429a cmp r2, r3 - 80119cc: d206 bcs.n 80119dc + 801154c: 6afb ldr r3, [r7, #44] ; 0x2c + 801154e: f8b3 204a ldrh.w r2, [r3, #74] ; 0x4a + 8011552: 6afb ldr r3, [r7, #44] ; 0x2c + 8011554: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8011556: 005b lsls r3, r3, #1 + 8011558: b29b uxth r3, r3 + 801155a: 429a cmp r2, r3 + 801155c: d206 bcs.n 801156c pcb->ssthresh = (tcpwnd_size_t)(pcb->mss << 1); - 80119ce: 6afb ldr r3, [r7, #44] ; 0x2c - 80119d0: 8e5b ldrh r3, [r3, #50] ; 0x32 - 80119d2: 005b lsls r3, r3, #1 - 80119d4: b29a uxth r2, r3 - 80119d6: 6afb ldr r3, [r7, #44] ; 0x2c - 80119d8: f8a3 204a strh.w r2, [r3, #74] ; 0x4a + 801155e: 6afb ldr r3, [r7, #44] ; 0x2c + 8011560: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8011562: 005b lsls r3, r3, #1 + 8011564: b29a uxth r2, r3 + 8011566: 6afb ldr r3, [r7, #44] ; 0x2c + 8011568: f8a3 204a strh.w r2, [r3, #74] ; 0x4a } pcb->cwnd = pcb->mss; - 80119dc: 6afb ldr r3, [r7, #44] ; 0x2c - 80119de: 8e5a ldrh r2, [r3, #50] ; 0x32 - 80119e0: 6afb ldr r3, [r7, #44] ; 0x2c - 80119e2: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 + 801156c: 6afb ldr r3, [r7, #44] ; 0x2c + 801156e: 8e5a ldrh r2, [r3, #50] ; 0x32 + 8011570: 6afb ldr r3, [r7, #44] ; 0x2c + 8011572: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 LWIP_DEBUGF(TCP_CWND_DEBUG, ("tcp_slowtmr: cwnd %"TCPWNDSIZE_F " ssthresh %"TCPWNDSIZE_F"\n", pcb->cwnd, pcb->ssthresh)); pcb->bytes_acked = 0; - 80119e6: 6afb ldr r3, [r7, #44] ; 0x2c - 80119e8: 2200 movs r2, #0 - 80119ea: f8a3 206a strh.w r2, [r3, #106] ; 0x6a + 8011576: 6afb ldr r3, [r7, #44] ; 0x2c + 8011578: 2200 movs r2, #0 + 801157a: f8a3 206a strh.w r2, [r3, #106] ; 0x6a /* The following needs to be called AFTER cwnd is set to one mss - STJ */ tcp_rexmit_rto_commit(pcb); - 80119ee: 6af8 ldr r0, [r7, #44] ; 0x2c - 80119f0: f004 f818 bl 8015a24 + 801157e: 6af8 ldr r0, [r7, #44] ; 0x2c + 8011580: f004 f818 bl 80155b4 } } } } /* Check if this PCB has stayed too long in FIN-WAIT-2 */ if (pcb->state == FIN_WAIT_2) { - 80119f4: 6afb ldr r3, [r7, #44] ; 0x2c - 80119f6: 7d1b ldrb r3, [r3, #20] - 80119f8: 2b06 cmp r3, #6 - 80119fa: d111 bne.n 8011a20 + 8011584: 6afb ldr r3, [r7, #44] ; 0x2c + 8011586: 7d1b ldrb r3, [r3, #20] + 8011588: 2b06 cmp r3, #6 + 801158a: d111 bne.n 80115b0 /* If this PCB is in FIN_WAIT_2 because of SHUT_WR don't let it time out. */ if (pcb->flags & TF_RXCLOSED) { - 80119fc: 6afb ldr r3, [r7, #44] ; 0x2c - 80119fe: 8b5b ldrh r3, [r3, #26] - 8011a00: f003 0310 and.w r3, r3, #16 - 8011a04: 2b00 cmp r3, #0 - 8011a06: d00b beq.n 8011a20 + 801158c: 6afb ldr r3, [r7, #44] ; 0x2c + 801158e: 8b5b ldrh r3, [r3, #26] + 8011590: f003 0310 and.w r3, r3, #16 + 8011594: 2b00 cmp r3, #0 + 8011596: d00b beq.n 80115b0 /* PCB was fully closed (either through close() or SHUT_RDWR): normal FIN-WAIT timeout handling. */ if ((u32_t)(tcp_ticks - pcb->tmr) > - 8011a08: 4b9c ldr r3, [pc, #624] ; (8011c7c ) - 8011a0a: 681a ldr r2, [r3, #0] - 8011a0c: 6afb ldr r3, [r7, #44] ; 0x2c - 8011a0e: 6a1b ldr r3, [r3, #32] - 8011a10: 1ad3 subs r3, r2, r3 - 8011a12: 2b28 cmp r3, #40 ; 0x28 - 8011a14: d904 bls.n 8011a20 + 8011598: 4b9c ldr r3, [pc, #624] ; (801180c ) + 801159a: 681a ldr r2, [r3, #0] + 801159c: 6afb ldr r3, [r7, #44] ; 0x2c + 801159e: 6a1b ldr r3, [r3, #32] + 80115a0: 1ad3 subs r3, r2, r3 + 80115a2: 2b28 cmp r3, #40 ; 0x28 + 80115a4: d904 bls.n 80115b0 TCP_FIN_WAIT_TIMEOUT / TCP_SLOW_INTERVAL) { ++pcb_remove; - 8011a16: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8011a1a: 3301 adds r3, #1 - 8011a1c: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 80115a6: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 80115aa: 3301 adds r3, #1 + 80115ac: f887 3027 strb.w r3, [r7, #39] ; 0x27 } } } /* Check if KEEPALIVE should be sent */ if (ip_get_option(pcb, SOF_KEEPALIVE) && - 8011a20: 6afb ldr r3, [r7, #44] ; 0x2c - 8011a22: 7a5b ldrb r3, [r3, #9] - 8011a24: f003 0308 and.w r3, r3, #8 - 8011a28: 2b00 cmp r3, #0 - 8011a2a: d04a beq.n 8011ac2 + 80115b0: 6afb ldr r3, [r7, #44] ; 0x2c + 80115b2: 7a5b ldrb r3, [r3, #9] + 80115b4: f003 0308 and.w r3, r3, #8 + 80115b8: 2b00 cmp r3, #0 + 80115ba: d04a beq.n 8011652 ((pcb->state == ESTABLISHED) || - 8011a2c: 6afb ldr r3, [r7, #44] ; 0x2c - 8011a2e: 7d1b ldrb r3, [r3, #20] + 80115bc: 6afb ldr r3, [r7, #44] ; 0x2c + 80115be: 7d1b ldrb r3, [r3, #20] if (ip_get_option(pcb, SOF_KEEPALIVE) && - 8011a30: 2b04 cmp r3, #4 - 8011a32: d003 beq.n 8011a3c + 80115c0: 2b04 cmp r3, #4 + 80115c2: d003 beq.n 80115cc (pcb->state == CLOSE_WAIT))) { - 8011a34: 6afb ldr r3, [r7, #44] ; 0x2c - 8011a36: 7d1b ldrb r3, [r3, #20] + 80115c4: 6afb ldr r3, [r7, #44] ; 0x2c + 80115c6: 7d1b ldrb r3, [r3, #20] ((pcb->state == ESTABLISHED) || - 8011a38: 2b07 cmp r3, #7 - 8011a3a: d142 bne.n 8011ac2 + 80115c8: 2b07 cmp r3, #7 + 80115ca: d142 bne.n 8011652 if ((u32_t)(tcp_ticks - pcb->tmr) > - 8011a3c: 4b8f ldr r3, [pc, #572] ; (8011c7c ) - 8011a3e: 681a ldr r2, [r3, #0] - 8011a40: 6afb ldr r3, [r7, #44] ; 0x2c - 8011a42: 6a1b ldr r3, [r3, #32] - 8011a44: 1ad2 subs r2, r2, r3 + 80115cc: 4b8f ldr r3, [pc, #572] ; (801180c ) + 80115ce: 681a ldr r2, [r3, #0] + 80115d0: 6afb ldr r3, [r7, #44] ; 0x2c + 80115d2: 6a1b ldr r3, [r3, #32] + 80115d4: 1ad2 subs r2, r2, r3 (pcb->keep_idle + TCP_KEEP_DUR(pcb)) / TCP_SLOW_INTERVAL) { - 8011a46: 6afb ldr r3, [r7, #44] ; 0x2c - 8011a48: f8d3 1094 ldr.w r1, [r3, #148] ; 0x94 - 8011a4c: 4b8c ldr r3, [pc, #560] ; (8011c80 ) - 8011a4e: 440b add r3, r1 - 8011a50: 498c ldr r1, [pc, #560] ; (8011c84 ) - 8011a52: fba1 1303 umull r1, r3, r1, r3 - 8011a56: 095b lsrs r3, r3, #5 + 80115d6: 6afb ldr r3, [r7, #44] ; 0x2c + 80115d8: f8d3 1094 ldr.w r1, [r3, #148] ; 0x94 + 80115dc: 4b8c ldr r3, [pc, #560] ; (8011810 ) + 80115de: 440b add r3, r1 + 80115e0: 498c ldr r1, [pc, #560] ; (8011814 ) + 80115e2: fba1 1303 umull r1, r3, r1, r3 + 80115e6: 095b lsrs r3, r3, #5 if ((u32_t)(tcp_ticks - pcb->tmr) > - 8011a58: 429a cmp r2, r3 - 8011a5a: d90a bls.n 8011a72 + 80115e8: 429a cmp r2, r3 + 80115ea: d90a bls.n 8011602 LWIP_DEBUGF(TCP_DEBUG, ("tcp_slowtmr: KEEPALIVE timeout. Aborting connection to ")); ip_addr_debug_print_val(TCP_DEBUG, pcb->remote_ip); LWIP_DEBUGF(TCP_DEBUG, ("\n")); ++pcb_remove; - 8011a5c: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8011a60: 3301 adds r3, #1 - 8011a62: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 80115ec: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 80115f0: 3301 adds r3, #1 + 80115f2: f887 3027 strb.w r3, [r7, #39] ; 0x27 ++pcb_reset; - 8011a66: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 - 8011a6a: 3301 adds r3, #1 - 8011a6c: f887 3026 strb.w r3, [r7, #38] ; 0x26 - 8011a70: e027 b.n 8011ac2 + 80115f6: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 + 80115fa: 3301 adds r3, #1 + 80115fc: f887 3026 strb.w r3, [r7, #38] ; 0x26 + 8011600: e027 b.n 8011652 } else if ((u32_t)(tcp_ticks - pcb->tmr) > - 8011a72: 4b82 ldr r3, [pc, #520] ; (8011c7c ) - 8011a74: 681a ldr r2, [r3, #0] - 8011a76: 6afb ldr r3, [r7, #44] ; 0x2c - 8011a78: 6a1b ldr r3, [r3, #32] - 8011a7a: 1ad2 subs r2, r2, r3 + 8011602: 4b82 ldr r3, [pc, #520] ; (801180c ) + 8011604: 681a ldr r2, [r3, #0] + 8011606: 6afb ldr r3, [r7, #44] ; 0x2c + 8011608: 6a1b ldr r3, [r3, #32] + 801160a: 1ad2 subs r2, r2, r3 (pcb->keep_idle + pcb->keep_cnt_sent * TCP_KEEP_INTVL(pcb)) - 8011a7c: 6afb ldr r3, [r7, #44] ; 0x2c - 8011a7e: f8d3 1094 ldr.w r1, [r3, #148] ; 0x94 - 8011a82: 6afb ldr r3, [r7, #44] ; 0x2c - 8011a84: f893 309b ldrb.w r3, [r3, #155] ; 0x9b - 8011a88: 4618 mov r0, r3 - 8011a8a: 4b7f ldr r3, [pc, #508] ; (8011c88 ) - 8011a8c: fb03 f300 mul.w r3, r3, r0 - 8011a90: 440b add r3, r1 + 801160c: 6afb ldr r3, [r7, #44] ; 0x2c + 801160e: f8d3 1094 ldr.w r1, [r3, #148] ; 0x94 + 8011612: 6afb ldr r3, [r7, #44] ; 0x2c + 8011614: f893 309b ldrb.w r3, [r3, #155] ; 0x9b + 8011618: 4618 mov r0, r3 + 801161a: 4b7f ldr r3, [pc, #508] ; (8011818 ) + 801161c: fb03 f300 mul.w r3, r3, r0 + 8011620: 440b add r3, r1 / TCP_SLOW_INTERVAL) { - 8011a92: 497c ldr r1, [pc, #496] ; (8011c84 ) - 8011a94: fba1 1303 umull r1, r3, r1, r3 - 8011a98: 095b lsrs r3, r3, #5 + 8011622: 497c ldr r1, [pc, #496] ; (8011814 ) + 8011624: fba1 1303 umull r1, r3, r1, r3 + 8011628: 095b lsrs r3, r3, #5 } else if ((u32_t)(tcp_ticks - pcb->tmr) > - 8011a9a: 429a cmp r2, r3 - 8011a9c: d911 bls.n 8011ac2 + 801162a: 429a cmp r2, r3 + 801162c: d911 bls.n 8011652 err = tcp_keepalive(pcb); - 8011a9e: 6af8 ldr r0, [r7, #44] ; 0x2c - 8011aa0: f004 fad2 bl 8016048 - 8011aa4: 4603 mov r3, r0 - 8011aa6: f887 3025 strb.w r3, [r7, #37] ; 0x25 + 801162e: 6af8 ldr r0, [r7, #44] ; 0x2c + 8011630: f004 fad2 bl 8015bd8 + 8011634: 4603 mov r3, r0 + 8011636: f887 3025 strb.w r3, [r7, #37] ; 0x25 if (err == ERR_OK) { - 8011aaa: f997 3025 ldrsb.w r3, [r7, #37] ; 0x25 - 8011aae: 2b00 cmp r3, #0 - 8011ab0: d107 bne.n 8011ac2 + 801163a: f997 3025 ldrsb.w r3, [r7, #37] ; 0x25 + 801163e: 2b00 cmp r3, #0 + 8011640: d107 bne.n 8011652 pcb->keep_cnt_sent++; - 8011ab2: 6afb ldr r3, [r7, #44] ; 0x2c - 8011ab4: f893 309b ldrb.w r3, [r3, #155] ; 0x9b - 8011ab8: 3301 adds r3, #1 - 8011aba: b2da uxtb r2, r3 - 8011abc: 6afb ldr r3, [r7, #44] ; 0x2c - 8011abe: f883 209b strb.w r2, [r3, #155] ; 0x9b + 8011642: 6afb ldr r3, [r7, #44] ; 0x2c + 8011644: f893 309b ldrb.w r3, [r3, #155] ; 0x9b + 8011648: 3301 adds r3, #1 + 801164a: b2da uxtb r2, r3 + 801164c: 6afb ldr r3, [r7, #44] ; 0x2c + 801164e: f883 209b strb.w r2, [r3, #155] ; 0x9b /* If this PCB has queued out of sequence data, but has been inactive for too long, will drop the data (it will eventually be retransmitted). */ #if TCP_QUEUE_OOSEQ if (pcb->ooseq != NULL && - 8011ac2: 6afb ldr r3, [r7, #44] ; 0x2c - 8011ac4: 6f5b ldr r3, [r3, #116] ; 0x74 - 8011ac6: 2b00 cmp r3, #0 - 8011ac8: d011 beq.n 8011aee + 8011652: 6afb ldr r3, [r7, #44] ; 0x2c + 8011654: 6f5b ldr r3, [r3, #116] ; 0x74 + 8011656: 2b00 cmp r3, #0 + 8011658: d011 beq.n 801167e (tcp_ticks - pcb->tmr >= (u32_t)pcb->rto * TCP_OOSEQ_TIMEOUT)) { - 8011aca: 4b6c ldr r3, [pc, #432] ; (8011c7c ) - 8011acc: 681a ldr r2, [r3, #0] - 8011ace: 6afb ldr r3, [r7, #44] ; 0x2c - 8011ad0: 6a1b ldr r3, [r3, #32] - 8011ad2: 1ad2 subs r2, r2, r3 - 8011ad4: 6afb ldr r3, [r7, #44] ; 0x2c - 8011ad6: f9b3 3040 ldrsh.w r3, [r3, #64] ; 0x40 - 8011ada: 4619 mov r1, r3 - 8011adc: 460b mov r3, r1 - 8011ade: 005b lsls r3, r3, #1 - 8011ae0: 440b add r3, r1 - 8011ae2: 005b lsls r3, r3, #1 + 801165a: 4b6c ldr r3, [pc, #432] ; (801180c ) + 801165c: 681a ldr r2, [r3, #0] + 801165e: 6afb ldr r3, [r7, #44] ; 0x2c + 8011660: 6a1b ldr r3, [r3, #32] + 8011662: 1ad2 subs r2, r2, r3 + 8011664: 6afb ldr r3, [r7, #44] ; 0x2c + 8011666: f9b3 3040 ldrsh.w r3, [r3, #64] ; 0x40 + 801166a: 4619 mov r1, r3 + 801166c: 460b mov r3, r1 + 801166e: 005b lsls r3, r3, #1 + 8011670: 440b add r3, r1 + 8011672: 005b lsls r3, r3, #1 if (pcb->ooseq != NULL && - 8011ae4: 429a cmp r2, r3 - 8011ae6: d302 bcc.n 8011aee + 8011674: 429a cmp r2, r3 + 8011676: d302 bcc.n 801167e LWIP_DEBUGF(TCP_CWND_DEBUG, ("tcp_slowtmr: dropping OOSEQ queued data\n")); tcp_free_ooseq(pcb); - 8011ae8: 6af8 ldr r0, [r7, #44] ; 0x2c - 8011aea: f000 fdd9 bl 80126a0 + 8011678: 6af8 ldr r0, [r7, #44] ; 0x2c + 801167a: f000 fdd9 bl 8012230 } #endif /* TCP_QUEUE_OOSEQ */ /* Check if this PCB has stayed too long in SYN-RCVD */ if (pcb->state == SYN_RCVD) { - 8011aee: 6afb ldr r3, [r7, #44] ; 0x2c - 8011af0: 7d1b ldrb r3, [r3, #20] - 8011af2: 2b03 cmp r3, #3 - 8011af4: d10b bne.n 8011b0e + 801167e: 6afb ldr r3, [r7, #44] ; 0x2c + 8011680: 7d1b ldrb r3, [r3, #20] + 8011682: 2b03 cmp r3, #3 + 8011684: d10b bne.n 801169e if ((u32_t)(tcp_ticks - pcb->tmr) > - 8011af6: 4b61 ldr r3, [pc, #388] ; (8011c7c ) - 8011af8: 681a ldr r2, [r3, #0] - 8011afa: 6afb ldr r3, [r7, #44] ; 0x2c - 8011afc: 6a1b ldr r3, [r3, #32] - 8011afe: 1ad3 subs r3, r2, r3 - 8011b00: 2b28 cmp r3, #40 ; 0x28 - 8011b02: d904 bls.n 8011b0e + 8011686: 4b61 ldr r3, [pc, #388] ; (801180c ) + 8011688: 681a ldr r2, [r3, #0] + 801168a: 6afb ldr r3, [r7, #44] ; 0x2c + 801168c: 6a1b ldr r3, [r3, #32] + 801168e: 1ad3 subs r3, r2, r3 + 8011690: 2b28 cmp r3, #40 ; 0x28 + 8011692: d904 bls.n 801169e TCP_SYN_RCVD_TIMEOUT / TCP_SLOW_INTERVAL) { ++pcb_remove; - 8011b04: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8011b08: 3301 adds r3, #1 - 8011b0a: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 8011694: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 8011698: 3301 adds r3, #1 + 801169a: f887 3027 strb.w r3, [r7, #39] ; 0x27 LWIP_DEBUGF(TCP_DEBUG, ("tcp_slowtmr: removing pcb stuck in SYN-RCVD\n")); } } /* Check if this PCB has stayed too long in LAST-ACK */ if (pcb->state == LAST_ACK) { - 8011b0e: 6afb ldr r3, [r7, #44] ; 0x2c - 8011b10: 7d1b ldrb r3, [r3, #20] - 8011b12: 2b09 cmp r3, #9 - 8011b14: d10b bne.n 8011b2e + 801169e: 6afb ldr r3, [r7, #44] ; 0x2c + 80116a0: 7d1b ldrb r3, [r3, #20] + 80116a2: 2b09 cmp r3, #9 + 80116a4: d10b bne.n 80116be if ((u32_t)(tcp_ticks - pcb->tmr) > 2 * TCP_MSL / TCP_SLOW_INTERVAL) { - 8011b16: 4b59 ldr r3, [pc, #356] ; (8011c7c ) - 8011b18: 681a ldr r2, [r3, #0] - 8011b1a: 6afb ldr r3, [r7, #44] ; 0x2c - 8011b1c: 6a1b ldr r3, [r3, #32] - 8011b1e: 1ad3 subs r3, r2, r3 - 8011b20: 2bf0 cmp r3, #240 ; 0xf0 - 8011b22: d904 bls.n 8011b2e + 80116a6: 4b59 ldr r3, [pc, #356] ; (801180c ) + 80116a8: 681a ldr r2, [r3, #0] + 80116aa: 6afb ldr r3, [r7, #44] ; 0x2c + 80116ac: 6a1b ldr r3, [r3, #32] + 80116ae: 1ad3 subs r3, r2, r3 + 80116b0: 2bf0 cmp r3, #240 ; 0xf0 + 80116b2: d904 bls.n 80116be ++pcb_remove; - 8011b24: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8011b28: 3301 adds r3, #1 - 8011b2a: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 80116b4: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 80116b8: 3301 adds r3, #1 + 80116ba: f887 3027 strb.w r3, [r7, #39] ; 0x27 LWIP_DEBUGF(TCP_DEBUG, ("tcp_slowtmr: removing pcb stuck in LAST-ACK\n")); } } /* If the PCB should be removed, do it. */ if (pcb_remove) { - 8011b2e: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8011b32: 2b00 cmp r3, #0 - 8011b34: d060 beq.n 8011bf8 + 80116be: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 80116c2: 2b00 cmp r3, #0 + 80116c4: d060 beq.n 8011788 struct tcp_pcb *pcb2; #if LWIP_CALLBACK_API tcp_err_fn err_fn = pcb->errf; - 8011b36: 6afb ldr r3, [r7, #44] ; 0x2c - 8011b38: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8011b3c: 60fb str r3, [r7, #12] + 80116c6: 6afb ldr r3, [r7, #44] ; 0x2c + 80116c8: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 80116cc: 60fb str r3, [r7, #12] #endif /* LWIP_CALLBACK_API */ void *err_arg; enum tcp_state last_state; tcp_pcb_purge(pcb); - 8011b3e: 6af8 ldr r0, [r7, #44] ; 0x2c - 8011b40: f000 fbfa bl 8012338 + 80116ce: 6af8 ldr r0, [r7, #44] ; 0x2c + 80116d0: f000 fbfa bl 8011ec8 /* Remove PCB from tcp_active_pcbs list. */ if (prev != NULL) { - 8011b44: 6abb ldr r3, [r7, #40] ; 0x28 - 8011b46: 2b00 cmp r3, #0 - 8011b48: d010 beq.n 8011b6c + 80116d4: 6abb ldr r3, [r7, #40] ; 0x28 + 80116d6: 2b00 cmp r3, #0 + 80116d8: d010 beq.n 80116fc LWIP_ASSERT("tcp_slowtmr: middle tcp != tcp_active_pcbs", pcb != tcp_active_pcbs); - 8011b4a: 4b50 ldr r3, [pc, #320] ; (8011c8c ) - 8011b4c: 681b ldr r3, [r3, #0] - 8011b4e: 6afa ldr r2, [r7, #44] ; 0x2c - 8011b50: 429a cmp r2, r3 - 8011b52: d106 bne.n 8011b62 - 8011b54: 4b4e ldr r3, [pc, #312] ; (8011c90 ) - 8011b56: f240 526d movw r2, #1389 ; 0x56d - 8011b5a: 494e ldr r1, [pc, #312] ; (8011c94 ) - 8011b5c: 484e ldr r0, [pc, #312] ; (8011c98 ) - 8011b5e: f009 fcab bl 801b4b8 + 80116da: 4b50 ldr r3, [pc, #320] ; (801181c ) + 80116dc: 681b ldr r3, [r3, #0] + 80116de: 6afa ldr r2, [r7, #44] ; 0x2c + 80116e0: 429a cmp r2, r3 + 80116e2: d106 bne.n 80116f2 + 80116e4: 4b4e ldr r3, [pc, #312] ; (8011820 ) + 80116e6: f240 526d movw r2, #1389 ; 0x56d + 80116ea: 494e ldr r1, [pc, #312] ; (8011824 ) + 80116ec: 484e ldr r0, [pc, #312] ; (8011828 ) + 80116ee: f009 fc91 bl 801b014 prev->next = pcb->next; - 8011b62: 6afb ldr r3, [r7, #44] ; 0x2c - 8011b64: 68da ldr r2, [r3, #12] - 8011b66: 6abb ldr r3, [r7, #40] ; 0x28 - 8011b68: 60da str r2, [r3, #12] - 8011b6a: e00f b.n 8011b8c + 80116f2: 6afb ldr r3, [r7, #44] ; 0x2c + 80116f4: 68da ldr r2, [r3, #12] + 80116f6: 6abb ldr r3, [r7, #40] ; 0x28 + 80116f8: 60da str r2, [r3, #12] + 80116fa: e00f b.n 801171c } else { /* This PCB was the first. */ LWIP_ASSERT("tcp_slowtmr: first pcb == tcp_active_pcbs", tcp_active_pcbs == pcb); - 8011b6c: 4b47 ldr r3, [pc, #284] ; (8011c8c ) - 8011b6e: 681b ldr r3, [r3, #0] - 8011b70: 6afa ldr r2, [r7, #44] ; 0x2c - 8011b72: 429a cmp r2, r3 - 8011b74: d006 beq.n 8011b84 - 8011b76: 4b46 ldr r3, [pc, #280] ; (8011c90 ) - 8011b78: f240 5271 movw r2, #1393 ; 0x571 - 8011b7c: 4947 ldr r1, [pc, #284] ; (8011c9c ) - 8011b7e: 4846 ldr r0, [pc, #280] ; (8011c98 ) - 8011b80: f009 fc9a bl 801b4b8 + 80116fc: 4b47 ldr r3, [pc, #284] ; (801181c ) + 80116fe: 681b ldr r3, [r3, #0] + 8011700: 6afa ldr r2, [r7, #44] ; 0x2c + 8011702: 429a cmp r2, r3 + 8011704: d006 beq.n 8011714 + 8011706: 4b46 ldr r3, [pc, #280] ; (8011820 ) + 8011708: f240 5271 movw r2, #1393 ; 0x571 + 801170c: 4947 ldr r1, [pc, #284] ; (801182c ) + 801170e: 4846 ldr r0, [pc, #280] ; (8011828 ) + 8011710: f009 fc80 bl 801b014 tcp_active_pcbs = pcb->next; - 8011b84: 6afb ldr r3, [r7, #44] ; 0x2c - 8011b86: 68db ldr r3, [r3, #12] - 8011b88: 4a40 ldr r2, [pc, #256] ; (8011c8c ) - 8011b8a: 6013 str r3, [r2, #0] + 8011714: 6afb ldr r3, [r7, #44] ; 0x2c + 8011716: 68db ldr r3, [r3, #12] + 8011718: 4a40 ldr r2, [pc, #256] ; (801181c ) + 801171a: 6013 str r3, [r2, #0] } if (pcb_reset) { - 8011b8c: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 - 8011b90: 2b00 cmp r3, #0 - 8011b92: d013 beq.n 8011bbc + 801171c: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 + 8011720: 2b00 cmp r3, #0 + 8011722: d013 beq.n 801174c tcp_rst(pcb, pcb->snd_nxt, pcb->rcv_nxt, &pcb->local_ip, &pcb->remote_ip, - 8011b94: 6afb ldr r3, [r7, #44] ; 0x2c - 8011b96: 6d18 ldr r0, [r3, #80] ; 0x50 - 8011b98: 6afb ldr r3, [r7, #44] ; 0x2c - 8011b9a: 6a5c ldr r4, [r3, #36] ; 0x24 - 8011b9c: 6afd ldr r5, [r7, #44] ; 0x2c - 8011b9e: 6afb ldr r3, [r7, #44] ; 0x2c - 8011ba0: 3304 adds r3, #4 - 8011ba2: 6afa ldr r2, [r7, #44] ; 0x2c - 8011ba4: 8ad2 ldrh r2, [r2, #22] - 8011ba6: 6af9 ldr r1, [r7, #44] ; 0x2c - 8011ba8: 8b09 ldrh r1, [r1, #24] - 8011baa: 9102 str r1, [sp, #8] - 8011bac: 9201 str r2, [sp, #4] - 8011bae: 9300 str r3, [sp, #0] - 8011bb0: 462b mov r3, r5 - 8011bb2: 4622 mov r2, r4 - 8011bb4: 4601 mov r1, r0 - 8011bb6: 6af8 ldr r0, [r7, #44] ; 0x2c - 8011bb8: f004 f992 bl 8015ee0 + 8011724: 6afb ldr r3, [r7, #44] ; 0x2c + 8011726: 6d18 ldr r0, [r3, #80] ; 0x50 + 8011728: 6afb ldr r3, [r7, #44] ; 0x2c + 801172a: 6a5c ldr r4, [r3, #36] ; 0x24 + 801172c: 6afd ldr r5, [r7, #44] ; 0x2c + 801172e: 6afb ldr r3, [r7, #44] ; 0x2c + 8011730: 3304 adds r3, #4 + 8011732: 6afa ldr r2, [r7, #44] ; 0x2c + 8011734: 8ad2 ldrh r2, [r2, #22] + 8011736: 6af9 ldr r1, [r7, #44] ; 0x2c + 8011738: 8b09 ldrh r1, [r1, #24] + 801173a: 9102 str r1, [sp, #8] + 801173c: 9201 str r2, [sp, #4] + 801173e: 9300 str r3, [sp, #0] + 8011740: 462b mov r3, r5 + 8011742: 4622 mov r2, r4 + 8011744: 4601 mov r1, r0 + 8011746: 6af8 ldr r0, [r7, #44] ; 0x2c + 8011748: f004 f992 bl 8015a70 pcb->local_port, pcb->remote_port); } err_arg = pcb->callback_arg; - 8011bbc: 6afb ldr r3, [r7, #44] ; 0x2c - 8011bbe: 691b ldr r3, [r3, #16] - 8011bc0: 60bb str r3, [r7, #8] + 801174c: 6afb ldr r3, [r7, #44] ; 0x2c + 801174e: 691b ldr r3, [r3, #16] + 8011750: 60bb str r3, [r7, #8] last_state = pcb->state; - 8011bc2: 6afb ldr r3, [r7, #44] ; 0x2c - 8011bc4: 7d1b ldrb r3, [r3, #20] - 8011bc6: 71fb strb r3, [r7, #7] + 8011752: 6afb ldr r3, [r7, #44] ; 0x2c + 8011754: 7d1b ldrb r3, [r3, #20] + 8011756: 71fb strb r3, [r7, #7] pcb2 = pcb; - 8011bc8: 6afb ldr r3, [r7, #44] ; 0x2c - 8011bca: 603b str r3, [r7, #0] + 8011758: 6afb ldr r3, [r7, #44] ; 0x2c + 801175a: 603b str r3, [r7, #0] pcb = pcb->next; - 8011bcc: 6afb ldr r3, [r7, #44] ; 0x2c - 8011bce: 68db ldr r3, [r3, #12] - 8011bd0: 62fb str r3, [r7, #44] ; 0x2c + 801175c: 6afb ldr r3, [r7, #44] ; 0x2c + 801175e: 68db ldr r3, [r3, #12] + 8011760: 62fb str r3, [r7, #44] ; 0x2c tcp_free(pcb2); - 8011bd2: 6838 ldr r0, [r7, #0] - 8011bd4: f7ff f9fc bl 8010fd0 + 8011762: 6838 ldr r0, [r7, #0] + 8011764: f7ff f9fc bl 8010b60 tcp_active_pcbs_changed = 0; - 8011bd8: 4b31 ldr r3, [pc, #196] ; (8011ca0 ) - 8011bda: 2200 movs r2, #0 - 8011bdc: 701a strb r2, [r3, #0] + 8011768: 4b31 ldr r3, [pc, #196] ; (8011830 ) + 801176a: 2200 movs r2, #0 + 801176c: 701a strb r2, [r3, #0] TCP_EVENT_ERR(last_state, err_fn, err_arg, ERR_ABRT); - 8011bde: 68fb ldr r3, [r7, #12] - 8011be0: 2b00 cmp r3, #0 - 8011be2: d004 beq.n 8011bee - 8011be4: 68fb ldr r3, [r7, #12] - 8011be6: f06f 010c mvn.w r1, #12 - 8011bea: 68b8 ldr r0, [r7, #8] - 8011bec: 4798 blx r3 + 801176e: 68fb ldr r3, [r7, #12] + 8011770: 2b00 cmp r3, #0 + 8011772: d004 beq.n 801177e + 8011774: 68fb ldr r3, [r7, #12] + 8011776: f06f 010c mvn.w r1, #12 + 801177a: 68b8 ldr r0, [r7, #8] + 801177c: 4798 blx r3 if (tcp_active_pcbs_changed) { - 8011bee: 4b2c ldr r3, [pc, #176] ; (8011ca0 ) - 8011bf0: 781b ldrb r3, [r3, #0] - 8011bf2: 2b00 cmp r3, #0 - 8011bf4: d037 beq.n 8011c66 + 801177e: 4b2c ldr r3, [pc, #176] ; (8011830 ) + 8011780: 781b ldrb r3, [r3, #0] + 8011782: 2b00 cmp r3, #0 + 8011784: d037 beq.n 80117f6 goto tcp_slowtmr_start; - 8011bf6: e592 b.n 801171e + 8011786: e592 b.n 80112ae } } else { /* get the 'next' element now and work with 'prev' below (in case of abort) */ prev = pcb; - 8011bf8: 6afb ldr r3, [r7, #44] ; 0x2c - 8011bfa: 62bb str r3, [r7, #40] ; 0x28 + 8011788: 6afb ldr r3, [r7, #44] ; 0x2c + 801178a: 62bb str r3, [r7, #40] ; 0x28 pcb = pcb->next; - 8011bfc: 6afb ldr r3, [r7, #44] ; 0x2c - 8011bfe: 68db ldr r3, [r3, #12] - 8011c00: 62fb str r3, [r7, #44] ; 0x2c + 801178c: 6afb ldr r3, [r7, #44] ; 0x2c + 801178e: 68db ldr r3, [r3, #12] + 8011790: 62fb str r3, [r7, #44] ; 0x2c /* We check if we should poll the connection. */ ++prev->polltmr; - 8011c02: 6abb ldr r3, [r7, #40] ; 0x28 - 8011c04: 7f1b ldrb r3, [r3, #28] - 8011c06: 3301 adds r3, #1 - 8011c08: b2da uxtb r2, r3 - 8011c0a: 6abb ldr r3, [r7, #40] ; 0x28 - 8011c0c: 771a strb r2, [r3, #28] + 8011792: 6abb ldr r3, [r7, #40] ; 0x28 + 8011794: 7f1b ldrb r3, [r3, #28] + 8011796: 3301 adds r3, #1 + 8011798: b2da uxtb r2, r3 + 801179a: 6abb ldr r3, [r7, #40] ; 0x28 + 801179c: 771a strb r2, [r3, #28] if (prev->polltmr >= prev->pollinterval) { - 8011c0e: 6abb ldr r3, [r7, #40] ; 0x28 - 8011c10: 7f1a ldrb r2, [r3, #28] - 8011c12: 6abb ldr r3, [r7, #40] ; 0x28 - 8011c14: 7f5b ldrb r3, [r3, #29] - 8011c16: 429a cmp r2, r3 - 8011c18: d325 bcc.n 8011c66 + 801179e: 6abb ldr r3, [r7, #40] ; 0x28 + 80117a0: 7f1a ldrb r2, [r3, #28] + 80117a2: 6abb ldr r3, [r7, #40] ; 0x28 + 80117a4: 7f5b ldrb r3, [r3, #29] + 80117a6: 429a cmp r2, r3 + 80117a8: d325 bcc.n 80117f6 prev->polltmr = 0; - 8011c1a: 6abb ldr r3, [r7, #40] ; 0x28 - 8011c1c: 2200 movs r2, #0 - 8011c1e: 771a strb r2, [r3, #28] + 80117aa: 6abb ldr r3, [r7, #40] ; 0x28 + 80117ac: 2200 movs r2, #0 + 80117ae: 771a strb r2, [r3, #28] LWIP_DEBUGF(TCP_DEBUG, ("tcp_slowtmr: polling application\n")); tcp_active_pcbs_changed = 0; - 8011c20: 4b1f ldr r3, [pc, #124] ; (8011ca0 ) - 8011c22: 2200 movs r2, #0 - 8011c24: 701a strb r2, [r3, #0] + 80117b0: 4b1f ldr r3, [pc, #124] ; (8011830 ) + 80117b2: 2200 movs r2, #0 + 80117b4: 701a strb r2, [r3, #0] TCP_EVENT_POLL(prev, err); - 8011c26: 6abb ldr r3, [r7, #40] ; 0x28 - 8011c28: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c - 8011c2c: 2b00 cmp r3, #0 - 8011c2e: d00b beq.n 8011c48 - 8011c30: 6abb ldr r3, [r7, #40] ; 0x28 - 8011c32: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c - 8011c36: 6aba ldr r2, [r7, #40] ; 0x28 - 8011c38: 6912 ldr r2, [r2, #16] - 8011c3a: 6ab9 ldr r1, [r7, #40] ; 0x28 - 8011c3c: 4610 mov r0, r2 - 8011c3e: 4798 blx r3 - 8011c40: 4603 mov r3, r0 - 8011c42: f887 3025 strb.w r3, [r7, #37] ; 0x25 - 8011c46: e002 b.n 8011c4e - 8011c48: 2300 movs r3, #0 - 8011c4a: f887 3025 strb.w r3, [r7, #37] ; 0x25 + 80117b6: 6abb ldr r3, [r7, #40] ; 0x28 + 80117b8: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c + 80117bc: 2b00 cmp r3, #0 + 80117be: d00b beq.n 80117d8 + 80117c0: 6abb ldr r3, [r7, #40] ; 0x28 + 80117c2: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c + 80117c6: 6aba ldr r2, [r7, #40] ; 0x28 + 80117c8: 6912 ldr r2, [r2, #16] + 80117ca: 6ab9 ldr r1, [r7, #40] ; 0x28 + 80117cc: 4610 mov r0, r2 + 80117ce: 4798 blx r3 + 80117d0: 4603 mov r3, r0 + 80117d2: f887 3025 strb.w r3, [r7, #37] ; 0x25 + 80117d6: e002 b.n 80117de + 80117d8: 2300 movs r3, #0 + 80117da: f887 3025 strb.w r3, [r7, #37] ; 0x25 if (tcp_active_pcbs_changed) { - 8011c4e: 4b14 ldr r3, [pc, #80] ; (8011ca0 ) - 8011c50: 781b ldrb r3, [r3, #0] - 8011c52: 2b00 cmp r3, #0 - 8011c54: d000 beq.n 8011c58 + 80117de: 4b14 ldr r3, [pc, #80] ; (8011830 ) + 80117e0: 781b ldrb r3, [r3, #0] + 80117e2: 2b00 cmp r3, #0 + 80117e4: d000 beq.n 80117e8 goto tcp_slowtmr_start; - 8011c56: e562 b.n 801171e + 80117e6: e562 b.n 80112ae } /* if err == ERR_ABRT, 'prev' is already deallocated */ if (err == ERR_OK) { - 8011c58: f997 3025 ldrsb.w r3, [r7, #37] ; 0x25 - 8011c5c: 2b00 cmp r3, #0 - 8011c5e: d102 bne.n 8011c66 + 80117e8: f997 3025 ldrsb.w r3, [r7, #37] ; 0x25 + 80117ec: 2b00 cmp r3, #0 + 80117ee: d102 bne.n 80117f6 tcp_output(prev); - 8011c60: 6ab8 ldr r0, [r7, #40] ; 0x28 - 8011c62: f003 fb77 bl 8015354 + 80117f0: 6ab8 ldr r0, [r7, #40] ; 0x28 + 80117f2: f003 fb77 bl 8014ee4 while (pcb != NULL) { - 8011c66: 6afb ldr r3, [r7, #44] ; 0x2c - 8011c68: 2b00 cmp r3, #0 - 8011c6a: f47f ad5e bne.w 801172a + 80117f6: 6afb ldr r3, [r7, #44] ; 0x2c + 80117f8: 2b00 cmp r3, #0 + 80117fa: f47f ad5e bne.w 80112ba } } /* Steps through all of the TIME-WAIT PCBs. */ prev = NULL; - 8011c6e: 2300 movs r3, #0 - 8011c70: 62bb str r3, [r7, #40] ; 0x28 + 80117fe: 2300 movs r3, #0 + 8011800: 62bb str r3, [r7, #40] ; 0x28 pcb = tcp_tw_pcbs; - 8011c72: 4b0c ldr r3, [pc, #48] ; (8011ca4 ) - 8011c74: 681b ldr r3, [r3, #0] - 8011c76: 62fb str r3, [r7, #44] ; 0x2c + 8011802: 4b0c ldr r3, [pc, #48] ; (8011834 ) + 8011804: 681b ldr r3, [r3, #0] + 8011806: 62fb str r3, [r7, #44] ; 0x2c while (pcb != NULL) { - 8011c78: e069 b.n 8011d4e - 8011c7a: bf00 nop - 8011c7c: 2000f5c8 .word 0x2000f5c8 - 8011c80: 000a4cb8 .word 0x000a4cb8 - 8011c84: 10624dd3 .word 0x10624dd3 - 8011c88: 000124f8 .word 0x000124f8 - 8011c8c: 2000f5c4 .word 0x2000f5c4 - 8011c90: 0801d34c .word 0x0801d34c - 8011c94: 0801d784 .word 0x0801d784 - 8011c98: 0801d390 .word 0x0801d390 - 8011c9c: 0801d7b0 .word 0x0801d7b0 - 8011ca0: 2000f5c0 .word 0x2000f5c0 - 8011ca4: 2000f5d4 .word 0x2000f5d4 + 8011808: e069 b.n 80118de + 801180a: bf00 nop + 801180c: 2000f5c4 .word 0x2000f5c4 + 8011810: 000a4cb8 .word 0x000a4cb8 + 8011814: 10624dd3 .word 0x10624dd3 + 8011818: 000124f8 .word 0x000124f8 + 801181c: 2000f5c0 .word 0x2000f5c0 + 8011820: 0801cb48 .word 0x0801cb48 + 8011824: 0801cf80 .word 0x0801cf80 + 8011828: 0801cb8c .word 0x0801cb8c + 801182c: 0801cfac .word 0x0801cfac + 8011830: 2000f5bc .word 0x2000f5bc + 8011834: 2000f5d0 .word 0x2000f5d0 LWIP_ASSERT("tcp_slowtmr: TIME-WAIT pcb->state == TIME-WAIT", pcb->state == TIME_WAIT); - 8011ca8: 6afb ldr r3, [r7, #44] ; 0x2c - 8011caa: 7d1b ldrb r3, [r3, #20] - 8011cac: 2b0a cmp r3, #10 - 8011cae: d006 beq.n 8011cbe - 8011cb0: 4b2a ldr r3, [pc, #168] ; (8011d5c ) - 8011cb2: f240 52a1 movw r2, #1441 ; 0x5a1 - 8011cb6: 492a ldr r1, [pc, #168] ; (8011d60 ) - 8011cb8: 482a ldr r0, [pc, #168] ; (8011d64 ) - 8011cba: f009 fbfd bl 801b4b8 + 8011838: 6afb ldr r3, [r7, #44] ; 0x2c + 801183a: 7d1b ldrb r3, [r3, #20] + 801183c: 2b0a cmp r3, #10 + 801183e: d006 beq.n 801184e + 8011840: 4b2a ldr r3, [pc, #168] ; (80118ec ) + 8011842: f240 52a1 movw r2, #1441 ; 0x5a1 + 8011846: 492a ldr r1, [pc, #168] ; (80118f0 ) + 8011848: 482a ldr r0, [pc, #168] ; (80118f4 ) + 801184a: f009 fbe3 bl 801b014 pcb_remove = 0; - 8011cbe: 2300 movs r3, #0 - 8011cc0: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 801184e: 2300 movs r3, #0 + 8011850: f887 3027 strb.w r3, [r7, #39] ; 0x27 /* Check if this PCB has stayed long enough in TIME-WAIT */ if ((u32_t)(tcp_ticks - pcb->tmr) > 2 * TCP_MSL / TCP_SLOW_INTERVAL) { - 8011cc4: 4b28 ldr r3, [pc, #160] ; (8011d68 ) - 8011cc6: 681a ldr r2, [r3, #0] - 8011cc8: 6afb ldr r3, [r7, #44] ; 0x2c - 8011cca: 6a1b ldr r3, [r3, #32] - 8011ccc: 1ad3 subs r3, r2, r3 - 8011cce: 2bf0 cmp r3, #240 ; 0xf0 - 8011cd0: d904 bls.n 8011cdc + 8011854: 4b28 ldr r3, [pc, #160] ; (80118f8 ) + 8011856: 681a ldr r2, [r3, #0] + 8011858: 6afb ldr r3, [r7, #44] ; 0x2c + 801185a: 6a1b ldr r3, [r3, #32] + 801185c: 1ad3 subs r3, r2, r3 + 801185e: 2bf0 cmp r3, #240 ; 0xf0 + 8011860: d904 bls.n 801186c ++pcb_remove; - 8011cd2: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8011cd6: 3301 adds r3, #1 - 8011cd8: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 8011862: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 8011866: 3301 adds r3, #1 + 8011868: f887 3027 strb.w r3, [r7, #39] ; 0x27 } /* If the PCB should be removed, do it. */ if (pcb_remove) { - 8011cdc: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8011ce0: 2b00 cmp r3, #0 - 8011ce2: d02f beq.n 8011d44 + 801186c: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 8011870: 2b00 cmp r3, #0 + 8011872: d02f beq.n 80118d4 struct tcp_pcb *pcb2; tcp_pcb_purge(pcb); - 8011ce4: 6af8 ldr r0, [r7, #44] ; 0x2c - 8011ce6: f000 fb27 bl 8012338 + 8011874: 6af8 ldr r0, [r7, #44] ; 0x2c + 8011876: f000 fb27 bl 8011ec8 /* Remove PCB from tcp_tw_pcbs list. */ if (prev != NULL) { - 8011cea: 6abb ldr r3, [r7, #40] ; 0x28 - 8011cec: 2b00 cmp r3, #0 - 8011cee: d010 beq.n 8011d12 + 801187a: 6abb ldr r3, [r7, #40] ; 0x28 + 801187c: 2b00 cmp r3, #0 + 801187e: d010 beq.n 80118a2 LWIP_ASSERT("tcp_slowtmr: middle tcp != tcp_tw_pcbs", pcb != tcp_tw_pcbs); - 8011cf0: 4b1e ldr r3, [pc, #120] ; (8011d6c ) - 8011cf2: 681b ldr r3, [r3, #0] - 8011cf4: 6afa ldr r2, [r7, #44] ; 0x2c - 8011cf6: 429a cmp r2, r3 - 8011cf8: d106 bne.n 8011d08 - 8011cfa: 4b18 ldr r3, [pc, #96] ; (8011d5c ) - 8011cfc: f240 52af movw r2, #1455 ; 0x5af - 8011d00: 491b ldr r1, [pc, #108] ; (8011d70 ) - 8011d02: 4818 ldr r0, [pc, #96] ; (8011d64 ) - 8011d04: f009 fbd8 bl 801b4b8 + 8011880: 4b1e ldr r3, [pc, #120] ; (80118fc ) + 8011882: 681b ldr r3, [r3, #0] + 8011884: 6afa ldr r2, [r7, #44] ; 0x2c + 8011886: 429a cmp r2, r3 + 8011888: d106 bne.n 8011898 + 801188a: 4b18 ldr r3, [pc, #96] ; (80118ec ) + 801188c: f240 52af movw r2, #1455 ; 0x5af + 8011890: 491b ldr r1, [pc, #108] ; (8011900 ) + 8011892: 4818 ldr r0, [pc, #96] ; (80118f4 ) + 8011894: f009 fbbe bl 801b014 prev->next = pcb->next; - 8011d08: 6afb ldr r3, [r7, #44] ; 0x2c - 8011d0a: 68da ldr r2, [r3, #12] - 8011d0c: 6abb ldr r3, [r7, #40] ; 0x28 - 8011d0e: 60da str r2, [r3, #12] - 8011d10: e00f b.n 8011d32 + 8011898: 6afb ldr r3, [r7, #44] ; 0x2c + 801189a: 68da ldr r2, [r3, #12] + 801189c: 6abb ldr r3, [r7, #40] ; 0x28 + 801189e: 60da str r2, [r3, #12] + 80118a0: e00f b.n 80118c2 } else { /* This PCB was the first. */ LWIP_ASSERT("tcp_slowtmr: first pcb == tcp_tw_pcbs", tcp_tw_pcbs == pcb); - 8011d12: 4b16 ldr r3, [pc, #88] ; (8011d6c ) - 8011d14: 681b ldr r3, [r3, #0] - 8011d16: 6afa ldr r2, [r7, #44] ; 0x2c - 8011d18: 429a cmp r2, r3 - 8011d1a: d006 beq.n 8011d2a - 8011d1c: 4b0f ldr r3, [pc, #60] ; (8011d5c ) - 8011d1e: f240 52b3 movw r2, #1459 ; 0x5b3 - 8011d22: 4914 ldr r1, [pc, #80] ; (8011d74 ) - 8011d24: 480f ldr r0, [pc, #60] ; (8011d64 ) - 8011d26: f009 fbc7 bl 801b4b8 + 80118a2: 4b16 ldr r3, [pc, #88] ; (80118fc ) + 80118a4: 681b ldr r3, [r3, #0] + 80118a6: 6afa ldr r2, [r7, #44] ; 0x2c + 80118a8: 429a cmp r2, r3 + 80118aa: d006 beq.n 80118ba + 80118ac: 4b0f ldr r3, [pc, #60] ; (80118ec ) + 80118ae: f240 52b3 movw r2, #1459 ; 0x5b3 + 80118b2: 4914 ldr r1, [pc, #80] ; (8011904 ) + 80118b4: 480f ldr r0, [pc, #60] ; (80118f4 ) + 80118b6: f009 fbad bl 801b014 tcp_tw_pcbs = pcb->next; - 8011d2a: 6afb ldr r3, [r7, #44] ; 0x2c - 8011d2c: 68db ldr r3, [r3, #12] - 8011d2e: 4a0f ldr r2, [pc, #60] ; (8011d6c ) - 8011d30: 6013 str r3, [r2, #0] + 80118ba: 6afb ldr r3, [r7, #44] ; 0x2c + 80118bc: 68db ldr r3, [r3, #12] + 80118be: 4a0f ldr r2, [pc, #60] ; (80118fc ) + 80118c0: 6013 str r3, [r2, #0] } pcb2 = pcb; - 8011d32: 6afb ldr r3, [r7, #44] ; 0x2c - 8011d34: 61fb str r3, [r7, #28] + 80118c2: 6afb ldr r3, [r7, #44] ; 0x2c + 80118c4: 61fb str r3, [r7, #28] pcb = pcb->next; - 8011d36: 6afb ldr r3, [r7, #44] ; 0x2c - 8011d38: 68db ldr r3, [r3, #12] - 8011d3a: 62fb str r3, [r7, #44] ; 0x2c + 80118c6: 6afb ldr r3, [r7, #44] ; 0x2c + 80118c8: 68db ldr r3, [r3, #12] + 80118ca: 62fb str r3, [r7, #44] ; 0x2c tcp_free(pcb2); - 8011d3c: 69f8 ldr r0, [r7, #28] - 8011d3e: f7ff f947 bl 8010fd0 - 8011d42: e004 b.n 8011d4e + 80118cc: 69f8 ldr r0, [r7, #28] + 80118ce: f7ff f947 bl 8010b60 + 80118d2: e004 b.n 80118de } else { prev = pcb; - 8011d44: 6afb ldr r3, [r7, #44] ; 0x2c - 8011d46: 62bb str r3, [r7, #40] ; 0x28 + 80118d4: 6afb ldr r3, [r7, #44] ; 0x2c + 80118d6: 62bb str r3, [r7, #40] ; 0x28 pcb = pcb->next; - 8011d48: 6afb ldr r3, [r7, #44] ; 0x2c - 8011d4a: 68db ldr r3, [r3, #12] - 8011d4c: 62fb str r3, [r7, #44] ; 0x2c + 80118d8: 6afb ldr r3, [r7, #44] ; 0x2c + 80118da: 68db ldr r3, [r3, #12] + 80118dc: 62fb str r3, [r7, #44] ; 0x2c while (pcb != NULL) { - 8011d4e: 6afb ldr r3, [r7, #44] ; 0x2c - 8011d50: 2b00 cmp r3, #0 - 8011d52: d1a9 bne.n 8011ca8 + 80118de: 6afb ldr r3, [r7, #44] ; 0x2c + 80118e0: 2b00 cmp r3, #0 + 80118e2: d1a9 bne.n 8011838 } } } - 8011d54: bf00 nop - 8011d56: 3730 adds r7, #48 ; 0x30 - 8011d58: 46bd mov sp, r7 - 8011d5a: bdb0 pop {r4, r5, r7, pc} - 8011d5c: 0801d34c .word 0x0801d34c - 8011d60: 0801d7dc .word 0x0801d7dc - 8011d64: 0801d390 .word 0x0801d390 - 8011d68: 2000f5c8 .word 0x2000f5c8 - 8011d6c: 2000f5d4 .word 0x2000f5d4 - 8011d70: 0801d80c .word 0x0801d80c - 8011d74: 0801d834 .word 0x0801d834 + 80118e4: bf00 nop + 80118e6: 3730 adds r7, #48 ; 0x30 + 80118e8: 46bd mov sp, r7 + 80118ea: bdb0 pop {r4, r5, r7, pc} + 80118ec: 0801cb48 .word 0x0801cb48 + 80118f0: 0801cfd8 .word 0x0801cfd8 + 80118f4: 0801cb8c .word 0x0801cb8c + 80118f8: 2000f5c4 .word 0x2000f5c4 + 80118fc: 2000f5d0 .word 0x2000f5d0 + 8011900: 0801d008 .word 0x0801d008 + 8011904: 0801d030 .word 0x0801d030 -08011d78 : +08011908 : * * Automatically called from tcp_tmr(). */ void tcp_fasttmr(void) { - 8011d78: b580 push {r7, lr} - 8011d7a: b082 sub sp, #8 - 8011d7c: af00 add r7, sp, #0 + 8011908: b580 push {r7, lr} + 801190a: b082 sub sp, #8 + 801190c: af00 add r7, sp, #0 struct tcp_pcb *pcb; ++tcp_timer_ctr; - 8011d7e: 4b2d ldr r3, [pc, #180] ; (8011e34 ) - 8011d80: 781b ldrb r3, [r3, #0] - 8011d82: 3301 adds r3, #1 - 8011d84: b2da uxtb r2, r3 - 8011d86: 4b2b ldr r3, [pc, #172] ; (8011e34 ) - 8011d88: 701a strb r2, [r3, #0] + 801190e: 4b2d ldr r3, [pc, #180] ; (80119c4 ) + 8011910: 781b ldrb r3, [r3, #0] + 8011912: 3301 adds r3, #1 + 8011914: b2da uxtb r2, r3 + 8011916: 4b2b ldr r3, [pc, #172] ; (80119c4 ) + 8011918: 701a strb r2, [r3, #0] tcp_fasttmr_start: pcb = tcp_active_pcbs; - 8011d8a: 4b2b ldr r3, [pc, #172] ; (8011e38 ) - 8011d8c: 681b ldr r3, [r3, #0] - 8011d8e: 607b str r3, [r7, #4] + 801191a: 4b2b ldr r3, [pc, #172] ; (80119c8 ) + 801191c: 681b ldr r3, [r3, #0] + 801191e: 607b str r3, [r7, #4] while (pcb != NULL) { - 8011d90: e048 b.n 8011e24 + 8011920: e048 b.n 80119b4 if (pcb->last_timer != tcp_timer_ctr) { - 8011d92: 687b ldr r3, [r7, #4] - 8011d94: 7f9a ldrb r2, [r3, #30] - 8011d96: 4b27 ldr r3, [pc, #156] ; (8011e34 ) - 8011d98: 781b ldrb r3, [r3, #0] - 8011d9a: 429a cmp r2, r3 - 8011d9c: d03f beq.n 8011e1e + 8011922: 687b ldr r3, [r7, #4] + 8011924: 7f9a ldrb r2, [r3, #30] + 8011926: 4b27 ldr r3, [pc, #156] ; (80119c4 ) + 8011928: 781b ldrb r3, [r3, #0] + 801192a: 429a cmp r2, r3 + 801192c: d03f beq.n 80119ae struct tcp_pcb *next; pcb->last_timer = tcp_timer_ctr; - 8011d9e: 4b25 ldr r3, [pc, #148] ; (8011e34 ) - 8011da0: 781a ldrb r2, [r3, #0] - 8011da2: 687b ldr r3, [r7, #4] - 8011da4: 779a strb r2, [r3, #30] + 801192e: 4b25 ldr r3, [pc, #148] ; (80119c4 ) + 8011930: 781a ldrb r2, [r3, #0] + 8011932: 687b ldr r3, [r7, #4] + 8011934: 779a strb r2, [r3, #30] /* send delayed ACKs */ if (pcb->flags & TF_ACK_DELAY) { - 8011da6: 687b ldr r3, [r7, #4] - 8011da8: 8b5b ldrh r3, [r3, #26] - 8011daa: f003 0301 and.w r3, r3, #1 - 8011dae: 2b00 cmp r3, #0 - 8011db0: d010 beq.n 8011dd4 + 8011936: 687b ldr r3, [r7, #4] + 8011938: 8b5b ldrh r3, [r3, #26] + 801193a: f003 0301 and.w r3, r3, #1 + 801193e: 2b00 cmp r3, #0 + 8011940: d010 beq.n 8011964 LWIP_DEBUGF(TCP_DEBUG, ("tcp_fasttmr: delayed ACK\n")); tcp_ack_now(pcb); - 8011db2: 687b ldr r3, [r7, #4] - 8011db4: 8b5b ldrh r3, [r3, #26] - 8011db6: f043 0302 orr.w r3, r3, #2 - 8011dba: b29a uxth r2, r3 - 8011dbc: 687b ldr r3, [r7, #4] - 8011dbe: 835a strh r2, [r3, #26] + 8011942: 687b ldr r3, [r7, #4] + 8011944: 8b5b ldrh r3, [r3, #26] + 8011946: f043 0302 orr.w r3, r3, #2 + 801194a: b29a uxth r2, r3 + 801194c: 687b ldr r3, [r7, #4] + 801194e: 835a strh r2, [r3, #26] tcp_output(pcb); - 8011dc0: 6878 ldr r0, [r7, #4] - 8011dc2: f003 fac7 bl 8015354 + 8011950: 6878 ldr r0, [r7, #4] + 8011952: f003 fac7 bl 8014ee4 tcp_clear_flags(pcb, TF_ACK_DELAY | TF_ACK_NOW); - 8011dc6: 687b ldr r3, [r7, #4] - 8011dc8: 8b5b ldrh r3, [r3, #26] - 8011dca: f023 0303 bic.w r3, r3, #3 - 8011dce: b29a uxth r2, r3 - 8011dd0: 687b ldr r3, [r7, #4] - 8011dd2: 835a strh r2, [r3, #26] + 8011956: 687b ldr r3, [r7, #4] + 8011958: 8b5b ldrh r3, [r3, #26] + 801195a: f023 0303 bic.w r3, r3, #3 + 801195e: b29a uxth r2, r3 + 8011960: 687b ldr r3, [r7, #4] + 8011962: 835a strh r2, [r3, #26] } /* send pending FIN */ if (pcb->flags & TF_CLOSEPEND) { - 8011dd4: 687b ldr r3, [r7, #4] - 8011dd6: 8b5b ldrh r3, [r3, #26] - 8011dd8: f003 0308 and.w r3, r3, #8 - 8011ddc: 2b00 cmp r3, #0 - 8011dde: d009 beq.n 8011df4 + 8011964: 687b ldr r3, [r7, #4] + 8011966: 8b5b ldrh r3, [r3, #26] + 8011968: f003 0308 and.w r3, r3, #8 + 801196c: 2b00 cmp r3, #0 + 801196e: d009 beq.n 8011984 LWIP_DEBUGF(TCP_DEBUG, ("tcp_fasttmr: pending FIN\n")); tcp_clear_flags(pcb, TF_CLOSEPEND); - 8011de0: 687b ldr r3, [r7, #4] - 8011de2: 8b5b ldrh r3, [r3, #26] - 8011de4: f023 0308 bic.w r3, r3, #8 - 8011de8: b29a uxth r2, r3 - 8011dea: 687b ldr r3, [r7, #4] - 8011dec: 835a strh r2, [r3, #26] + 8011970: 687b ldr r3, [r7, #4] + 8011972: 8b5b ldrh r3, [r3, #26] + 8011974: f023 0308 bic.w r3, r3, #8 + 8011978: b29a uxth r2, r3 + 801197a: 687b ldr r3, [r7, #4] + 801197c: 835a strh r2, [r3, #26] tcp_close_shutdown_fin(pcb); - 8011dee: 6878 ldr r0, [r7, #4] - 8011df0: f7ff fa7e bl 80112f0 + 801197e: 6878 ldr r0, [r7, #4] + 8011980: f7ff fa7e bl 8010e80 } next = pcb->next; - 8011df4: 687b ldr r3, [r7, #4] - 8011df6: 68db ldr r3, [r3, #12] - 8011df8: 603b str r3, [r7, #0] + 8011984: 687b ldr r3, [r7, #4] + 8011986: 68db ldr r3, [r3, #12] + 8011988: 603b str r3, [r7, #0] /* If there is data which was previously "refused" by upper layer */ if (pcb->refused_data != NULL) { - 8011dfa: 687b ldr r3, [r7, #4] - 8011dfc: 6f9b ldr r3, [r3, #120] ; 0x78 - 8011dfe: 2b00 cmp r3, #0 - 8011e00: d00a beq.n 8011e18 + 801198a: 687b ldr r3, [r7, #4] + 801198c: 6f9b ldr r3, [r3, #120] ; 0x78 + 801198e: 2b00 cmp r3, #0 + 8011990: d00a beq.n 80119a8 tcp_active_pcbs_changed = 0; - 8011e02: 4b0e ldr r3, [pc, #56] ; (8011e3c ) - 8011e04: 2200 movs r2, #0 - 8011e06: 701a strb r2, [r3, #0] + 8011992: 4b0e ldr r3, [pc, #56] ; (80119cc ) + 8011994: 2200 movs r2, #0 + 8011996: 701a strb r2, [r3, #0] tcp_process_refused_data(pcb); - 8011e08: 6878 ldr r0, [r7, #4] - 8011e0a: f000 f819 bl 8011e40 + 8011998: 6878 ldr r0, [r7, #4] + 801199a: f000 f819 bl 80119d0 if (tcp_active_pcbs_changed) { - 8011e0e: 4b0b ldr r3, [pc, #44] ; (8011e3c ) - 8011e10: 781b ldrb r3, [r3, #0] - 8011e12: 2b00 cmp r3, #0 - 8011e14: d000 beq.n 8011e18 + 801199e: 4b0b ldr r3, [pc, #44] ; (80119cc ) + 80119a0: 781b ldrb r3, [r3, #0] + 80119a2: 2b00 cmp r3, #0 + 80119a4: d000 beq.n 80119a8 /* application callback has changed the pcb list: restart the loop */ goto tcp_fasttmr_start; - 8011e16: e7b8 b.n 8011d8a + 80119a6: e7b8 b.n 801191a } } pcb = next; - 8011e18: 683b ldr r3, [r7, #0] - 8011e1a: 607b str r3, [r7, #4] - 8011e1c: e002 b.n 8011e24 + 80119a8: 683b ldr r3, [r7, #0] + 80119aa: 607b str r3, [r7, #4] + 80119ac: e002 b.n 80119b4 } else { pcb = pcb->next; - 8011e1e: 687b ldr r3, [r7, #4] - 8011e20: 68db ldr r3, [r3, #12] - 8011e22: 607b str r3, [r7, #4] + 80119ae: 687b ldr r3, [r7, #4] + 80119b0: 68db ldr r3, [r3, #12] + 80119b2: 607b str r3, [r7, #4] while (pcb != NULL) { - 8011e24: 687b ldr r3, [r7, #4] - 8011e26: 2b00 cmp r3, #0 - 8011e28: d1b3 bne.n 8011d92 + 80119b4: 687b ldr r3, [r7, #4] + 80119b6: 2b00 cmp r3, #0 + 80119b8: d1b3 bne.n 8011922 } } } - 8011e2a: bf00 nop - 8011e2c: 3708 adds r7, #8 - 8011e2e: 46bd mov sp, r7 - 8011e30: bd80 pop {r7, pc} - 8011e32: bf00 nop - 8011e34: 2000872a .word 0x2000872a - 8011e38: 2000f5c4 .word 0x2000f5c4 - 8011e3c: 2000f5c0 .word 0x2000f5c0 + 80119ba: bf00 nop + 80119bc: 3708 adds r7, #8 + 80119be: 46bd mov sp, r7 + 80119c0: bd80 pop {r7, pc} + 80119c2: bf00 nop + 80119c4: 2000872a .word 0x2000872a + 80119c8: 2000f5c0 .word 0x2000f5c0 + 80119cc: 2000f5bc .word 0x2000f5bc -08011e40 : +080119d0 : } /** Pass pcb->refused_data to the recv callback */ err_t tcp_process_refused_data(struct tcp_pcb *pcb) { - 8011e40: b590 push {r4, r7, lr} - 8011e42: b085 sub sp, #20 - 8011e44: af00 add r7, sp, #0 - 8011e46: 6078 str r0, [r7, #4] + 80119d0: b590 push {r4, r7, lr} + 80119d2: b085 sub sp, #20 + 80119d4: af00 add r7, sp, #0 + 80119d6: 6078 str r0, [r7, #4] #if TCP_QUEUE_OOSEQ && LWIP_WND_SCALE struct pbuf *rest; #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ LWIP_ERROR("tcp_process_refused_data: invalid pcb", pcb != NULL, return ERR_ARG); - 8011e48: 687b ldr r3, [r7, #4] - 8011e4a: 2b00 cmp r3, #0 - 8011e4c: d109 bne.n 8011e62 - 8011e4e: 4b37 ldr r3, [pc, #220] ; (8011f2c ) - 8011e50: f240 6209 movw r2, #1545 ; 0x609 - 8011e54: 4936 ldr r1, [pc, #216] ; (8011f30 ) - 8011e56: 4837 ldr r0, [pc, #220] ; (8011f34 ) - 8011e58: f009 fb2e bl 801b4b8 - 8011e5c: f06f 030f mvn.w r3, #15 - 8011e60: e060 b.n 8011f24 + 80119d8: 687b ldr r3, [r7, #4] + 80119da: 2b00 cmp r3, #0 + 80119dc: d109 bne.n 80119f2 + 80119de: 4b37 ldr r3, [pc, #220] ; (8011abc ) + 80119e0: f240 6209 movw r2, #1545 ; 0x609 + 80119e4: 4936 ldr r1, [pc, #216] ; (8011ac0 ) + 80119e6: 4837 ldr r0, [pc, #220] ; (8011ac4 ) + 80119e8: f009 fb14 bl 801b014 + 80119ec: f06f 030f mvn.w r3, #15 + 80119f0: e060 b.n 8011ab4 #if TCP_QUEUE_OOSEQ && LWIP_WND_SCALE while (pcb->refused_data != NULL) #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ { err_t err; u8_t refused_flags = pcb->refused_data->flags; - 8011e62: 687b ldr r3, [r7, #4] - 8011e64: 6f9b ldr r3, [r3, #120] ; 0x78 - 8011e66: 7b5b ldrb r3, [r3, #13] - 8011e68: 73bb strb r3, [r7, #14] + 80119f2: 687b ldr r3, [r7, #4] + 80119f4: 6f9b ldr r3, [r3, #120] ; 0x78 + 80119f6: 7b5b ldrb r3, [r3, #13] + 80119f8: 73bb strb r3, [r7, #14] /* set pcb->refused_data to NULL in case the callback frees it and then closes the pcb */ struct pbuf *refused_data = pcb->refused_data; - 8011e6a: 687b ldr r3, [r7, #4] - 8011e6c: 6f9b ldr r3, [r3, #120] ; 0x78 - 8011e6e: 60bb str r3, [r7, #8] + 80119fa: 687b ldr r3, [r7, #4] + 80119fc: 6f9b ldr r3, [r3, #120] ; 0x78 + 80119fe: 60bb str r3, [r7, #8] #if TCP_QUEUE_OOSEQ && LWIP_WND_SCALE pbuf_split_64k(refused_data, &rest); pcb->refused_data = rest; #else /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ pcb->refused_data = NULL; - 8011e70: 687b ldr r3, [r7, #4] - 8011e72: 2200 movs r2, #0 - 8011e74: 679a str r2, [r3, #120] ; 0x78 + 8011a00: 687b ldr r3, [r7, #4] + 8011a02: 2200 movs r2, #0 + 8011a04: 679a str r2, [r3, #120] ; 0x78 #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ /* Notify again application with data previously received. */ LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_input: notify kept packet\n")); TCP_EVENT_RECV(pcb, refused_data, ERR_OK, err); - 8011e76: 687b ldr r3, [r7, #4] - 8011e78: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 - 8011e7c: 2b00 cmp r3, #0 - 8011e7e: d00b beq.n 8011e98 - 8011e80: 687b ldr r3, [r7, #4] - 8011e82: f8d3 4084 ldr.w r4, [r3, #132] ; 0x84 - 8011e86: 687b ldr r3, [r7, #4] - 8011e88: 6918 ldr r0, [r3, #16] - 8011e8a: 2300 movs r3, #0 - 8011e8c: 68ba ldr r2, [r7, #8] - 8011e8e: 6879 ldr r1, [r7, #4] - 8011e90: 47a0 blx r4 - 8011e92: 4603 mov r3, r0 - 8011e94: 73fb strb r3, [r7, #15] - 8011e96: e007 b.n 8011ea8 - 8011e98: 2300 movs r3, #0 - 8011e9a: 68ba ldr r2, [r7, #8] - 8011e9c: 6879 ldr r1, [r7, #4] - 8011e9e: 2000 movs r0, #0 - 8011ea0: f000 f8a2 bl 8011fe8 - 8011ea4: 4603 mov r3, r0 - 8011ea6: 73fb strb r3, [r7, #15] + 8011a06: 687b ldr r3, [r7, #4] + 8011a08: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 + 8011a0c: 2b00 cmp r3, #0 + 8011a0e: d00b beq.n 8011a28 + 8011a10: 687b ldr r3, [r7, #4] + 8011a12: f8d3 4084 ldr.w r4, [r3, #132] ; 0x84 + 8011a16: 687b ldr r3, [r7, #4] + 8011a18: 6918 ldr r0, [r3, #16] + 8011a1a: 2300 movs r3, #0 + 8011a1c: 68ba ldr r2, [r7, #8] + 8011a1e: 6879 ldr r1, [r7, #4] + 8011a20: 47a0 blx r4 + 8011a22: 4603 mov r3, r0 + 8011a24: 73fb strb r3, [r7, #15] + 8011a26: e007 b.n 8011a38 + 8011a28: 2300 movs r3, #0 + 8011a2a: 68ba ldr r2, [r7, #8] + 8011a2c: 6879 ldr r1, [r7, #4] + 8011a2e: 2000 movs r0, #0 + 8011a30: f000 f8a2 bl 8011b78 + 8011a34: 4603 mov r3, r0 + 8011a36: 73fb strb r3, [r7, #15] if (err == ERR_OK) { - 8011ea8: f997 300f ldrsb.w r3, [r7, #15] - 8011eac: 2b00 cmp r3, #0 - 8011eae: d12a bne.n 8011f06 + 8011a38: f997 300f ldrsb.w r3, [r7, #15] + 8011a3c: 2b00 cmp r3, #0 + 8011a3e: d12a bne.n 8011a96 /* did refused_data include a FIN? */ if ((refused_flags & PBUF_FLAG_TCP_FIN) - 8011eb0: 7bbb ldrb r3, [r7, #14] - 8011eb2: f003 0320 and.w r3, r3, #32 - 8011eb6: 2b00 cmp r3, #0 - 8011eb8: d033 beq.n 8011f22 + 8011a40: 7bbb ldrb r3, [r7, #14] + 8011a42: f003 0320 and.w r3, r3, #32 + 8011a46: 2b00 cmp r3, #0 + 8011a48: d033 beq.n 8011ab2 && (rest == NULL) #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ ) { /* correct rcv_wnd as the application won't call tcp_recved() for the FIN's seqno */ if (pcb->rcv_wnd != TCP_WND_MAX(pcb)) { - 8011eba: 687b ldr r3, [r7, #4] - 8011ebc: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8011ebe: f5b3 6f06 cmp.w r3, #2144 ; 0x860 - 8011ec2: d005 beq.n 8011ed0 + 8011a4a: 687b ldr r3, [r7, #4] + 8011a4c: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8011a4e: f5b3 6f06 cmp.w r3, #2144 ; 0x860 + 8011a52: d005 beq.n 8011a60 pcb->rcv_wnd++; - 8011ec4: 687b ldr r3, [r7, #4] - 8011ec6: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8011ec8: 3301 adds r3, #1 - 8011eca: b29a uxth r2, r3 - 8011ecc: 687b ldr r3, [r7, #4] - 8011ece: 851a strh r2, [r3, #40] ; 0x28 + 8011a54: 687b ldr r3, [r7, #4] + 8011a56: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8011a58: 3301 adds r3, #1 + 8011a5a: b29a uxth r2, r3 + 8011a5c: 687b ldr r3, [r7, #4] + 8011a5e: 851a strh r2, [r3, #40] ; 0x28 } TCP_EVENT_CLOSED(pcb, err); - 8011ed0: 687b ldr r3, [r7, #4] - 8011ed2: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 - 8011ed6: 2b00 cmp r3, #0 - 8011ed8: d00b beq.n 8011ef2 - 8011eda: 687b ldr r3, [r7, #4] - 8011edc: f8d3 4084 ldr.w r4, [r3, #132] ; 0x84 - 8011ee0: 687b ldr r3, [r7, #4] - 8011ee2: 6918 ldr r0, [r3, #16] - 8011ee4: 2300 movs r3, #0 - 8011ee6: 2200 movs r2, #0 - 8011ee8: 6879 ldr r1, [r7, #4] - 8011eea: 47a0 blx r4 - 8011eec: 4603 mov r3, r0 - 8011eee: 73fb strb r3, [r7, #15] - 8011ef0: e001 b.n 8011ef6 - 8011ef2: 2300 movs r3, #0 - 8011ef4: 73fb strb r3, [r7, #15] + 8011a60: 687b ldr r3, [r7, #4] + 8011a62: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 + 8011a66: 2b00 cmp r3, #0 + 8011a68: d00b beq.n 8011a82 + 8011a6a: 687b ldr r3, [r7, #4] + 8011a6c: f8d3 4084 ldr.w r4, [r3, #132] ; 0x84 + 8011a70: 687b ldr r3, [r7, #4] + 8011a72: 6918 ldr r0, [r3, #16] + 8011a74: 2300 movs r3, #0 + 8011a76: 2200 movs r2, #0 + 8011a78: 6879 ldr r1, [r7, #4] + 8011a7a: 47a0 blx r4 + 8011a7c: 4603 mov r3, r0 + 8011a7e: 73fb strb r3, [r7, #15] + 8011a80: e001 b.n 8011a86 + 8011a82: 2300 movs r3, #0 + 8011a84: 73fb strb r3, [r7, #15] if (err == ERR_ABRT) { - 8011ef6: f997 300f ldrsb.w r3, [r7, #15] - 8011efa: f113 0f0d cmn.w r3, #13 - 8011efe: d110 bne.n 8011f22 + 8011a86: f997 300f ldrsb.w r3, [r7, #15] + 8011a8a: f113 0f0d cmn.w r3, #13 + 8011a8e: d110 bne.n 8011ab2 return ERR_ABRT; - 8011f00: f06f 030c mvn.w r3, #12 - 8011f04: e00e b.n 8011f24 + 8011a90: f06f 030c mvn.w r3, #12 + 8011a94: e00e b.n 8011ab4 } } } else if (err == ERR_ABRT) { - 8011f06: f997 300f ldrsb.w r3, [r7, #15] - 8011f0a: f113 0f0d cmn.w r3, #13 - 8011f0e: d102 bne.n 8011f16 + 8011a96: f997 300f ldrsb.w r3, [r7, #15] + 8011a9a: f113 0f0d cmn.w r3, #13 + 8011a9e: d102 bne.n 8011aa6 /* if err == ERR_ABRT, 'pcb' is already deallocated */ /* Drop incoming packets because pcb is "full" (only if the incoming segment contains data). */ LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_input: drop incoming packets, because pcb is \"full\"\n")); return ERR_ABRT; - 8011f10: f06f 030c mvn.w r3, #12 - 8011f14: e006 b.n 8011f24 + 8011aa0: f06f 030c mvn.w r3, #12 + 8011aa4: e006 b.n 8011ab4 #if TCP_QUEUE_OOSEQ && LWIP_WND_SCALE if (rest != NULL) { pbuf_cat(refused_data, rest); } #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ pcb->refused_data = refused_data; - 8011f16: 687b ldr r3, [r7, #4] - 8011f18: 68ba ldr r2, [r7, #8] - 8011f1a: 679a str r2, [r3, #120] ; 0x78 + 8011aa6: 687b ldr r3, [r7, #4] + 8011aa8: 68ba ldr r2, [r7, #8] + 8011aaa: 679a str r2, [r3, #120] ; 0x78 return ERR_INPROGRESS; - 8011f1c: f06f 0304 mvn.w r3, #4 - 8011f20: e000 b.n 8011f24 + 8011aac: f06f 0304 mvn.w r3, #4 + 8011ab0: e000 b.n 8011ab4 } } return ERR_OK; - 8011f22: 2300 movs r3, #0 + 8011ab2: 2300 movs r3, #0 } - 8011f24: 4618 mov r0, r3 - 8011f26: 3714 adds r7, #20 - 8011f28: 46bd mov sp, r7 - 8011f2a: bd90 pop {r4, r7, pc} - 8011f2c: 0801d34c .word 0x0801d34c - 8011f30: 0801d85c .word 0x0801d85c - 8011f34: 0801d390 .word 0x0801d390 + 8011ab4: 4618 mov r0, r3 + 8011ab6: 3714 adds r7, #20 + 8011ab8: 46bd mov sp, r7 + 8011aba: bd90 pop {r4, r7, pc} + 8011abc: 0801cb48 .word 0x0801cb48 + 8011ac0: 0801d058 .word 0x0801d058 + 8011ac4: 0801cb8c .word 0x0801cb8c -08011f38 : +08011ac8 : * * @param seg tcp_seg list of TCP segments to free */ void tcp_segs_free(struct tcp_seg *seg) { - 8011f38: b580 push {r7, lr} - 8011f3a: b084 sub sp, #16 - 8011f3c: af00 add r7, sp, #0 - 8011f3e: 6078 str r0, [r7, #4] + 8011ac8: b580 push {r7, lr} + 8011aca: b084 sub sp, #16 + 8011acc: af00 add r7, sp, #0 + 8011ace: 6078 str r0, [r7, #4] while (seg != NULL) { - 8011f40: e007 b.n 8011f52 + 8011ad0: e007 b.n 8011ae2 struct tcp_seg *next = seg->next; - 8011f42: 687b ldr r3, [r7, #4] - 8011f44: 681b ldr r3, [r3, #0] - 8011f46: 60fb str r3, [r7, #12] + 8011ad2: 687b ldr r3, [r7, #4] + 8011ad4: 681b ldr r3, [r3, #0] + 8011ad6: 60fb str r3, [r7, #12] tcp_seg_free(seg); - 8011f48: 6878 ldr r0, [r7, #4] - 8011f4a: f000 f809 bl 8011f60 + 8011ad8: 6878 ldr r0, [r7, #4] + 8011ada: f000 f809 bl 8011af0 seg = next; - 8011f4e: 68fb ldr r3, [r7, #12] - 8011f50: 607b str r3, [r7, #4] + 8011ade: 68fb ldr r3, [r7, #12] + 8011ae0: 607b str r3, [r7, #4] while (seg != NULL) { - 8011f52: 687b ldr r3, [r7, #4] - 8011f54: 2b00 cmp r3, #0 - 8011f56: d1f4 bne.n 8011f42 + 8011ae2: 687b ldr r3, [r7, #4] + 8011ae4: 2b00 cmp r3, #0 + 8011ae6: d1f4 bne.n 8011ad2 } } - 8011f58: bf00 nop - 8011f5a: 3710 adds r7, #16 - 8011f5c: 46bd mov sp, r7 - 8011f5e: bd80 pop {r7, pc} + 8011ae8: bf00 nop + 8011aea: 3710 adds r7, #16 + 8011aec: 46bd mov sp, r7 + 8011aee: bd80 pop {r7, pc} -08011f60 : +08011af0 : * * @param seg single tcp_seg to free */ void tcp_seg_free(struct tcp_seg *seg) { - 8011f60: b580 push {r7, lr} - 8011f62: b082 sub sp, #8 - 8011f64: af00 add r7, sp, #0 - 8011f66: 6078 str r0, [r7, #4] + 8011af0: b580 push {r7, lr} + 8011af2: b082 sub sp, #8 + 8011af4: af00 add r7, sp, #0 + 8011af6: 6078 str r0, [r7, #4] if (seg != NULL) { - 8011f68: 687b ldr r3, [r7, #4] - 8011f6a: 2b00 cmp r3, #0 - 8011f6c: d00c beq.n 8011f88 + 8011af8: 687b ldr r3, [r7, #4] + 8011afa: 2b00 cmp r3, #0 + 8011afc: d00c beq.n 8011b18 if (seg->p != NULL) { - 8011f6e: 687b ldr r3, [r7, #4] - 8011f70: 685b ldr r3, [r3, #4] - 8011f72: 2b00 cmp r3, #0 - 8011f74: d004 beq.n 8011f80 + 8011afe: 687b ldr r3, [r7, #4] + 8011b00: 685b ldr r3, [r3, #4] + 8011b02: 2b00 cmp r3, #0 + 8011b04: d004 beq.n 8011b10 pbuf_free(seg->p); - 8011f76: 687b ldr r3, [r7, #4] - 8011f78: 685b ldr r3, [r3, #4] - 8011f7a: 4618 mov r0, r3 - 8011f7c: f7fe fd6c bl 8010a58 + 8011b06: 687b ldr r3, [r7, #4] + 8011b08: 685b ldr r3, [r3, #4] + 8011b0a: 4618 mov r0, r3 + 8011b0c: f7fe fd6c bl 80105e8 #if TCP_DEBUG seg->p = NULL; #endif /* TCP_DEBUG */ } memp_free(MEMP_TCP_SEG, seg); - 8011f80: 6879 ldr r1, [r7, #4] - 8011f82: 2003 movs r0, #3 - 8011f84: f7fd febc bl 800fd00 + 8011b10: 6879 ldr r1, [r7, #4] + 8011b12: 2003 movs r0, #3 + 8011b14: f7fd febc bl 800f890 } } - 8011f88: bf00 nop - 8011f8a: 3708 adds r7, #8 - 8011f8c: 46bd mov sp, r7 - 8011f8e: bd80 pop {r7, pc} + 8011b18: bf00 nop + 8011b1a: 3708 adds r7, #8 + 8011b1c: 46bd mov sp, r7 + 8011b1e: bd80 pop {r7, pc} -08011f90 : +08011b20 : * @param seg the old tcp_seg * @return a copy of seg */ struct tcp_seg * tcp_seg_copy(struct tcp_seg *seg) { - 8011f90: b580 push {r7, lr} - 8011f92: b084 sub sp, #16 - 8011f94: af00 add r7, sp, #0 - 8011f96: 6078 str r0, [r7, #4] + 8011b20: b580 push {r7, lr} + 8011b22: b084 sub sp, #16 + 8011b24: af00 add r7, sp, #0 + 8011b26: 6078 str r0, [r7, #4] struct tcp_seg *cseg; LWIP_ASSERT("tcp_seg_copy: invalid seg", seg != NULL); - 8011f98: 687b ldr r3, [r7, #4] - 8011f9a: 2b00 cmp r3, #0 - 8011f9c: d106 bne.n 8011fac - 8011f9e: 4b0f ldr r3, [pc, #60] ; (8011fdc ) - 8011fa0: f240 6282 movw r2, #1666 ; 0x682 - 8011fa4: 490e ldr r1, [pc, #56] ; (8011fe0 ) - 8011fa6: 480f ldr r0, [pc, #60] ; (8011fe4 ) - 8011fa8: f009 fa86 bl 801b4b8 + 8011b28: 687b ldr r3, [r7, #4] + 8011b2a: 2b00 cmp r3, #0 + 8011b2c: d106 bne.n 8011b3c + 8011b2e: 4b0f ldr r3, [pc, #60] ; (8011b6c ) + 8011b30: f240 6282 movw r2, #1666 ; 0x682 + 8011b34: 490e ldr r1, [pc, #56] ; (8011b70 ) + 8011b36: 480f ldr r0, [pc, #60] ; (8011b74 ) + 8011b38: f009 fa6c bl 801b014 cseg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG); - 8011fac: 2003 movs r0, #3 - 8011fae: f7fd fe55 bl 800fc5c - 8011fb2: 60f8 str r0, [r7, #12] + 8011b3c: 2003 movs r0, #3 + 8011b3e: f7fd fe55 bl 800f7ec + 8011b42: 60f8 str r0, [r7, #12] if (cseg == NULL) { - 8011fb4: 68fb ldr r3, [r7, #12] - 8011fb6: 2b00 cmp r3, #0 - 8011fb8: d101 bne.n 8011fbe + 8011b44: 68fb ldr r3, [r7, #12] + 8011b46: 2b00 cmp r3, #0 + 8011b48: d101 bne.n 8011b4e return NULL; - 8011fba: 2300 movs r3, #0 - 8011fbc: e00a b.n 8011fd4 + 8011b4a: 2300 movs r3, #0 + 8011b4c: e00a b.n 8011b64 } SMEMCPY((u8_t *)cseg, (const u8_t *)seg, sizeof(struct tcp_seg)); - 8011fbe: 2210 movs r2, #16 - 8011fc0: 6879 ldr r1, [r7, #4] - 8011fc2: 68f8 ldr r0, [r7, #12] - 8011fc4: f009 fa4b bl 801b45e + 8011b4e: 2210 movs r2, #16 + 8011b50: 6879 ldr r1, [r7, #4] + 8011b52: 68f8 ldr r0, [r7, #12] + 8011b54: f009 fa4b bl 801afee pbuf_ref(cseg->p); - 8011fc8: 68fb ldr r3, [r7, #12] - 8011fca: 685b ldr r3, [r3, #4] - 8011fcc: 4618 mov r0, r3 - 8011fce: f7fe fde9 bl 8010ba4 + 8011b58: 68fb ldr r3, [r7, #12] + 8011b5a: 685b ldr r3, [r3, #4] + 8011b5c: 4618 mov r0, r3 + 8011b5e: f7fe fde9 bl 8010734 return cseg; - 8011fd2: 68fb ldr r3, [r7, #12] + 8011b62: 68fb ldr r3, [r7, #12] } - 8011fd4: 4618 mov r0, r3 - 8011fd6: 3710 adds r7, #16 - 8011fd8: 46bd mov sp, r7 - 8011fda: bd80 pop {r7, pc} - 8011fdc: 0801d34c .word 0x0801d34c - 8011fe0: 0801d8a0 .word 0x0801d8a0 - 8011fe4: 0801d390 .word 0x0801d390 + 8011b64: 4618 mov r0, r3 + 8011b66: 3710 adds r7, #16 + 8011b68: 46bd mov sp, r7 + 8011b6a: bd80 pop {r7, pc} + 8011b6c: 0801cb48 .word 0x0801cb48 + 8011b70: 0801d09c .word 0x0801d09c + 8011b74: 0801cb8c .word 0x0801cb8c -08011fe8 : +08011b78 : * Default receive callback that is called if the user didn't register * a recv callback for the pcb. */ err_t tcp_recv_null(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err) { - 8011fe8: b580 push {r7, lr} - 8011fea: b084 sub sp, #16 - 8011fec: af00 add r7, sp, #0 - 8011fee: 60f8 str r0, [r7, #12] - 8011ff0: 60b9 str r1, [r7, #8] - 8011ff2: 607a str r2, [r7, #4] - 8011ff4: 70fb strb r3, [r7, #3] + 8011b78: b580 push {r7, lr} + 8011b7a: b084 sub sp, #16 + 8011b7c: af00 add r7, sp, #0 + 8011b7e: 60f8 str r0, [r7, #12] + 8011b80: 60b9 str r1, [r7, #8] + 8011b82: 607a str r2, [r7, #4] + 8011b84: 70fb strb r3, [r7, #3] LWIP_UNUSED_ARG(arg); LWIP_ERROR("tcp_recv_null: invalid pcb", pcb != NULL, return ERR_ARG); - 8011ff6: 68bb ldr r3, [r7, #8] - 8011ff8: 2b00 cmp r3, #0 - 8011ffa: d109 bne.n 8012010 - 8011ffc: 4b12 ldr r3, [pc, #72] ; (8012048 ) - 8011ffe: f44f 62d3 mov.w r2, #1688 ; 0x698 - 8012002: 4912 ldr r1, [pc, #72] ; (801204c ) - 8012004: 4812 ldr r0, [pc, #72] ; (8012050 ) - 8012006: f009 fa57 bl 801b4b8 - 801200a: f06f 030f mvn.w r3, #15 - 801200e: e016 b.n 801203e + 8011b86: 68bb ldr r3, [r7, #8] + 8011b88: 2b00 cmp r3, #0 + 8011b8a: d109 bne.n 8011ba0 + 8011b8c: 4b12 ldr r3, [pc, #72] ; (8011bd8 ) + 8011b8e: f44f 62d3 mov.w r2, #1688 ; 0x698 + 8011b92: 4912 ldr r1, [pc, #72] ; (8011bdc ) + 8011b94: 4812 ldr r0, [pc, #72] ; (8011be0 ) + 8011b96: f009 fa3d bl 801b014 + 8011b9a: f06f 030f mvn.w r3, #15 + 8011b9e: e016 b.n 8011bce if (p != NULL) { - 8012010: 687b ldr r3, [r7, #4] - 8012012: 2b00 cmp r3, #0 - 8012014: d009 beq.n 801202a + 8011ba0: 687b ldr r3, [r7, #4] + 8011ba2: 2b00 cmp r3, #0 + 8011ba4: d009 beq.n 8011bba tcp_recved(pcb, p->tot_len); - 8012016: 687b ldr r3, [r7, #4] - 8012018: 891b ldrh r3, [r3, #8] - 801201a: 4619 mov r1, r3 - 801201c: 68b8 ldr r0, [r7, #8] - 801201e: f7ff fb1d bl 801165c + 8011ba6: 687b ldr r3, [r7, #4] + 8011ba8: 891b ldrh r3, [r3, #8] + 8011baa: 4619 mov r1, r3 + 8011bac: 68b8 ldr r0, [r7, #8] + 8011bae: f7ff fb1d bl 80111ec pbuf_free(p); - 8012022: 6878 ldr r0, [r7, #4] - 8012024: f7fe fd18 bl 8010a58 - 8012028: e008 b.n 801203c + 8011bb2: 6878 ldr r0, [r7, #4] + 8011bb4: f7fe fd18 bl 80105e8 + 8011bb8: e008 b.n 8011bcc } else if (err == ERR_OK) { - 801202a: f997 3003 ldrsb.w r3, [r7, #3] - 801202e: 2b00 cmp r3, #0 - 8012030: d104 bne.n 801203c + 8011bba: f997 3003 ldrsb.w r3, [r7, #3] + 8011bbe: 2b00 cmp r3, #0 + 8011bc0: d104 bne.n 8011bcc return tcp_close(pcb); - 8012032: 68b8 ldr r0, [r7, #8] - 8012034: f7ff f9c2 bl 80113bc - 8012038: 4603 mov r3, r0 - 801203a: e000 b.n 801203e + 8011bc2: 68b8 ldr r0, [r7, #8] + 8011bc4: f7ff f9c2 bl 8010f4c + 8011bc8: 4603 mov r3, r0 + 8011bca: e000 b.n 8011bce } return ERR_OK; - 801203c: 2300 movs r3, #0 + 8011bcc: 2300 movs r3, #0 } - 801203e: 4618 mov r0, r3 - 8012040: 3710 adds r7, #16 - 8012042: 46bd mov sp, r7 - 8012044: bd80 pop {r7, pc} - 8012046: bf00 nop - 8012048: 0801d34c .word 0x0801d34c - 801204c: 0801d8bc .word 0x0801d8bc - 8012050: 0801d390 .word 0x0801d390 + 8011bce: 4618 mov r0, r3 + 8011bd0: 3710 adds r7, #16 + 8011bd2: 46bd mov sp, r7 + 8011bd4: bd80 pop {r7, pc} + 8011bd6: bf00 nop + 8011bd8: 0801cb48 .word 0x0801cb48 + 8011bdc: 0801d0b8 .word 0x0801d0b8 + 8011be0: 0801cb8c .word 0x0801cb8c -08012054 : +08011be4 : * * @param prio minimum priority */ static void tcp_kill_prio(u8_t prio) { - 8012054: b580 push {r7, lr} - 8012056: b086 sub sp, #24 - 8012058: af00 add r7, sp, #0 - 801205a: 4603 mov r3, r0 - 801205c: 71fb strb r3, [r7, #7] + 8011be4: b580 push {r7, lr} + 8011be6: b086 sub sp, #24 + 8011be8: af00 add r7, sp, #0 + 8011bea: 4603 mov r3, r0 + 8011bec: 71fb strb r3, [r7, #7] struct tcp_pcb *pcb, *inactive; u32_t inactivity; u8_t mprio; mprio = LWIP_MIN(TCP_PRIO_MAX, prio); - 801205e: f997 3007 ldrsb.w r3, [r7, #7] - 8012062: 2b00 cmp r3, #0 - 8012064: db01 blt.n 801206a - 8012066: 79fb ldrb r3, [r7, #7] - 8012068: e000 b.n 801206c - 801206a: 237f movs r3, #127 ; 0x7f - 801206c: 72fb strb r3, [r7, #11] + 8011bee: f997 3007 ldrsb.w r3, [r7, #7] + 8011bf2: 2b00 cmp r3, #0 + 8011bf4: db01 blt.n 8011bfa + 8011bf6: 79fb ldrb r3, [r7, #7] + 8011bf8: e000 b.n 8011bfc + 8011bfa: 237f movs r3, #127 ; 0x7f + 8011bfc: 72fb strb r3, [r7, #11] /* We want to kill connections with a lower prio, so bail out if * supplied prio is 0 - there can never be a lower prio */ if (mprio == 0) { - 801206e: 7afb ldrb r3, [r7, #11] - 8012070: 2b00 cmp r3, #0 - 8012072: d034 beq.n 80120de + 8011bfe: 7afb ldrb r3, [r7, #11] + 8011c00: 2b00 cmp r3, #0 + 8011c02: d034 beq.n 8011c6e /* We only want kill connections with a lower prio, so decrement prio by one * and start searching for oldest connection with same or lower priority than mprio. * We want to find the connections with the lowest possible prio, and among * these the one with the longest inactivity time. */ mprio--; - 8012074: 7afb ldrb r3, [r7, #11] - 8012076: 3b01 subs r3, #1 - 8012078: 72fb strb r3, [r7, #11] + 8011c04: 7afb ldrb r3, [r7, #11] + 8011c06: 3b01 subs r3, #1 + 8011c08: 72fb strb r3, [r7, #11] inactivity = 0; - 801207a: 2300 movs r3, #0 - 801207c: 60fb str r3, [r7, #12] + 8011c0a: 2300 movs r3, #0 + 8011c0c: 60fb str r3, [r7, #12] inactive = NULL; - 801207e: 2300 movs r3, #0 - 8012080: 613b str r3, [r7, #16] + 8011c0e: 2300 movs r3, #0 + 8011c10: 613b str r3, [r7, #16] for (pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { - 8012082: 4b19 ldr r3, [pc, #100] ; (80120e8 ) - 8012084: 681b ldr r3, [r3, #0] - 8012086: 617b str r3, [r7, #20] - 8012088: e01f b.n 80120ca + 8011c12: 4b19 ldr r3, [pc, #100] ; (8011c78 ) + 8011c14: 681b ldr r3, [r3, #0] + 8011c16: 617b str r3, [r7, #20] + 8011c18: e01f b.n 8011c5a /* lower prio is always a kill candidate */ if ((pcb->prio < mprio) || - 801208a: 697b ldr r3, [r7, #20] - 801208c: 7d5b ldrb r3, [r3, #21] - 801208e: 7afa ldrb r2, [r7, #11] - 8012090: 429a cmp r2, r3 - 8012092: d80c bhi.n 80120ae + 8011c1a: 697b ldr r3, [r7, #20] + 8011c1c: 7d5b ldrb r3, [r3, #21] + 8011c1e: 7afa ldrb r2, [r7, #11] + 8011c20: 429a cmp r2, r3 + 8011c22: d80c bhi.n 8011c3e /* longer inactivity is also a kill candidate */ ((pcb->prio == mprio) && ((u32_t)(tcp_ticks - pcb->tmr) >= inactivity))) { - 8012094: 697b ldr r3, [r7, #20] - 8012096: 7d5b ldrb r3, [r3, #21] + 8011c24: 697b ldr r3, [r7, #20] + 8011c26: 7d5b ldrb r3, [r3, #21] if ((pcb->prio < mprio) || - 8012098: 7afa ldrb r2, [r7, #11] - 801209a: 429a cmp r2, r3 - 801209c: d112 bne.n 80120c4 + 8011c28: 7afa ldrb r2, [r7, #11] + 8011c2a: 429a cmp r2, r3 + 8011c2c: d112 bne.n 8011c54 ((pcb->prio == mprio) && ((u32_t)(tcp_ticks - pcb->tmr) >= inactivity))) { - 801209e: 4b13 ldr r3, [pc, #76] ; (80120ec ) - 80120a0: 681a ldr r2, [r3, #0] - 80120a2: 697b ldr r3, [r7, #20] - 80120a4: 6a1b ldr r3, [r3, #32] - 80120a6: 1ad3 subs r3, r2, r3 - 80120a8: 68fa ldr r2, [r7, #12] - 80120aa: 429a cmp r2, r3 - 80120ac: d80a bhi.n 80120c4 + 8011c2e: 4b13 ldr r3, [pc, #76] ; (8011c7c ) + 8011c30: 681a ldr r2, [r3, #0] + 8011c32: 697b ldr r3, [r7, #20] + 8011c34: 6a1b ldr r3, [r3, #32] + 8011c36: 1ad3 subs r3, r2, r3 + 8011c38: 68fa ldr r2, [r7, #12] + 8011c3a: 429a cmp r2, r3 + 8011c3c: d80a bhi.n 8011c54 inactivity = tcp_ticks - pcb->tmr; - 80120ae: 4b0f ldr r3, [pc, #60] ; (80120ec ) - 80120b0: 681a ldr r2, [r3, #0] - 80120b2: 697b ldr r3, [r7, #20] - 80120b4: 6a1b ldr r3, [r3, #32] - 80120b6: 1ad3 subs r3, r2, r3 - 80120b8: 60fb str r3, [r7, #12] + 8011c3e: 4b0f ldr r3, [pc, #60] ; (8011c7c ) + 8011c40: 681a ldr r2, [r3, #0] + 8011c42: 697b ldr r3, [r7, #20] + 8011c44: 6a1b ldr r3, [r3, #32] + 8011c46: 1ad3 subs r3, r2, r3 + 8011c48: 60fb str r3, [r7, #12] inactive = pcb; - 80120ba: 697b ldr r3, [r7, #20] - 80120bc: 613b str r3, [r7, #16] + 8011c4a: 697b ldr r3, [r7, #20] + 8011c4c: 613b str r3, [r7, #16] mprio = pcb->prio; - 80120be: 697b ldr r3, [r7, #20] - 80120c0: 7d5b ldrb r3, [r3, #21] - 80120c2: 72fb strb r3, [r7, #11] + 8011c4e: 697b ldr r3, [r7, #20] + 8011c50: 7d5b ldrb r3, [r3, #21] + 8011c52: 72fb strb r3, [r7, #11] for (pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { - 80120c4: 697b ldr r3, [r7, #20] - 80120c6: 68db ldr r3, [r3, #12] - 80120c8: 617b str r3, [r7, #20] - 80120ca: 697b ldr r3, [r7, #20] - 80120cc: 2b00 cmp r3, #0 - 80120ce: d1dc bne.n 801208a + 8011c54: 697b ldr r3, [r7, #20] + 8011c56: 68db ldr r3, [r3, #12] + 8011c58: 617b str r3, [r7, #20] + 8011c5a: 697b ldr r3, [r7, #20] + 8011c5c: 2b00 cmp r3, #0 + 8011c5e: d1dc bne.n 8011c1a } } if (inactive != NULL) { - 80120d0: 693b ldr r3, [r7, #16] - 80120d2: 2b00 cmp r3, #0 - 80120d4: d004 beq.n 80120e0 + 8011c60: 693b ldr r3, [r7, #16] + 8011c62: 2b00 cmp r3, #0 + 8011c64: d004 beq.n 8011c70 LWIP_DEBUGF(TCP_DEBUG, ("tcp_kill_prio: killing oldest PCB %p (%"S32_F")\n", (void *)inactive, inactivity)); tcp_abort(inactive); - 80120d6: 6938 ldr r0, [r7, #16] - 80120d8: f7ff fa5a bl 8011590 - 80120dc: e000 b.n 80120e0 + 8011c66: 6938 ldr r0, [r7, #16] + 8011c68: f7ff fa5a bl 8011120 + 8011c6c: e000 b.n 8011c70 return; - 80120de: bf00 nop + 8011c6e: bf00 nop } } - 80120e0: 3718 adds r7, #24 - 80120e2: 46bd mov sp, r7 - 80120e4: bd80 pop {r7, pc} - 80120e6: bf00 nop - 80120e8: 2000f5c4 .word 0x2000f5c4 - 80120ec: 2000f5c8 .word 0x2000f5c8 + 8011c70: 3718 adds r7, #24 + 8011c72: 46bd mov sp, r7 + 8011c74: bd80 pop {r7, pc} + 8011c76: bf00 nop + 8011c78: 2000f5c0 .word 0x2000f5c0 + 8011c7c: 2000f5c4 .word 0x2000f5c4 -080120f0 : +08011c80 : * Kills the oldest connection that is in specific state. * Called from tcp_alloc() for LAST_ACK and CLOSING if no more connections are available. */ static void tcp_kill_state(enum tcp_state state) { - 80120f0: b580 push {r7, lr} - 80120f2: b086 sub sp, #24 - 80120f4: af00 add r7, sp, #0 - 80120f6: 4603 mov r3, r0 - 80120f8: 71fb strb r3, [r7, #7] + 8011c80: b580 push {r7, lr} + 8011c82: b086 sub sp, #24 + 8011c84: af00 add r7, sp, #0 + 8011c86: 4603 mov r3, r0 + 8011c88: 71fb strb r3, [r7, #7] struct tcp_pcb *pcb, *inactive; u32_t inactivity; LWIP_ASSERT("invalid state", (state == CLOSING) || (state == LAST_ACK)); - 80120fa: 79fb ldrb r3, [r7, #7] - 80120fc: 2b08 cmp r3, #8 - 80120fe: d009 beq.n 8012114 - 8012100: 79fb ldrb r3, [r7, #7] - 8012102: 2b09 cmp r3, #9 - 8012104: d006 beq.n 8012114 - 8012106: 4b1a ldr r3, [pc, #104] ; (8012170 ) - 8012108: f240 62dd movw r2, #1757 ; 0x6dd - 801210c: 4919 ldr r1, [pc, #100] ; (8012174 ) - 801210e: 481a ldr r0, [pc, #104] ; (8012178 ) - 8012110: f009 f9d2 bl 801b4b8 + 8011c8a: 79fb ldrb r3, [r7, #7] + 8011c8c: 2b08 cmp r3, #8 + 8011c8e: d009 beq.n 8011ca4 + 8011c90: 79fb ldrb r3, [r7, #7] + 8011c92: 2b09 cmp r3, #9 + 8011c94: d006 beq.n 8011ca4 + 8011c96: 4b1a ldr r3, [pc, #104] ; (8011d00 ) + 8011c98: f240 62dd movw r2, #1757 ; 0x6dd + 8011c9c: 4919 ldr r1, [pc, #100] ; (8011d04 ) + 8011c9e: 481a ldr r0, [pc, #104] ; (8011d08 ) + 8011ca0: f009 f9b8 bl 801b014 inactivity = 0; - 8012114: 2300 movs r3, #0 - 8012116: 60fb str r3, [r7, #12] + 8011ca4: 2300 movs r3, #0 + 8011ca6: 60fb str r3, [r7, #12] inactive = NULL; - 8012118: 2300 movs r3, #0 - 801211a: 613b str r3, [r7, #16] + 8011ca8: 2300 movs r3, #0 + 8011caa: 613b str r3, [r7, #16] /* Go through the list of active pcbs and get the oldest pcb that is in state CLOSING/LAST_ACK. */ for (pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { - 801211c: 4b17 ldr r3, [pc, #92] ; (801217c ) - 801211e: 681b ldr r3, [r3, #0] - 8012120: 617b str r3, [r7, #20] - 8012122: e017 b.n 8012154 + 8011cac: 4b17 ldr r3, [pc, #92] ; (8011d0c ) + 8011cae: 681b ldr r3, [r3, #0] + 8011cb0: 617b str r3, [r7, #20] + 8011cb2: e017 b.n 8011ce4 if (pcb->state == state) { - 8012124: 697b ldr r3, [r7, #20] - 8012126: 7d1b ldrb r3, [r3, #20] - 8012128: 79fa ldrb r2, [r7, #7] - 801212a: 429a cmp r2, r3 - 801212c: d10f bne.n 801214e + 8011cb4: 697b ldr r3, [r7, #20] + 8011cb6: 7d1b ldrb r3, [r3, #20] + 8011cb8: 79fa ldrb r2, [r7, #7] + 8011cba: 429a cmp r2, r3 + 8011cbc: d10f bne.n 8011cde if ((u32_t)(tcp_ticks - pcb->tmr) >= inactivity) { - 801212e: 4b14 ldr r3, [pc, #80] ; (8012180 ) - 8012130: 681a ldr r2, [r3, #0] - 8012132: 697b ldr r3, [r7, #20] - 8012134: 6a1b ldr r3, [r3, #32] - 8012136: 1ad3 subs r3, r2, r3 - 8012138: 68fa ldr r2, [r7, #12] - 801213a: 429a cmp r2, r3 - 801213c: d807 bhi.n 801214e + 8011cbe: 4b14 ldr r3, [pc, #80] ; (8011d10 ) + 8011cc0: 681a ldr r2, [r3, #0] + 8011cc2: 697b ldr r3, [r7, #20] + 8011cc4: 6a1b ldr r3, [r3, #32] + 8011cc6: 1ad3 subs r3, r2, r3 + 8011cc8: 68fa ldr r2, [r7, #12] + 8011cca: 429a cmp r2, r3 + 8011ccc: d807 bhi.n 8011cde inactivity = tcp_ticks - pcb->tmr; - 801213e: 4b10 ldr r3, [pc, #64] ; (8012180 ) - 8012140: 681a ldr r2, [r3, #0] - 8012142: 697b ldr r3, [r7, #20] - 8012144: 6a1b ldr r3, [r3, #32] - 8012146: 1ad3 subs r3, r2, r3 - 8012148: 60fb str r3, [r7, #12] + 8011cce: 4b10 ldr r3, [pc, #64] ; (8011d10 ) + 8011cd0: 681a ldr r2, [r3, #0] + 8011cd2: 697b ldr r3, [r7, #20] + 8011cd4: 6a1b ldr r3, [r3, #32] + 8011cd6: 1ad3 subs r3, r2, r3 + 8011cd8: 60fb str r3, [r7, #12] inactive = pcb; - 801214a: 697b ldr r3, [r7, #20] - 801214c: 613b str r3, [r7, #16] + 8011cda: 697b ldr r3, [r7, #20] + 8011cdc: 613b str r3, [r7, #16] for (pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { - 801214e: 697b ldr r3, [r7, #20] - 8012150: 68db ldr r3, [r3, #12] - 8012152: 617b str r3, [r7, #20] - 8012154: 697b ldr r3, [r7, #20] - 8012156: 2b00 cmp r3, #0 - 8012158: d1e4 bne.n 8012124 + 8011cde: 697b ldr r3, [r7, #20] + 8011ce0: 68db ldr r3, [r3, #12] + 8011ce2: 617b str r3, [r7, #20] + 8011ce4: 697b ldr r3, [r7, #20] + 8011ce6: 2b00 cmp r3, #0 + 8011ce8: d1e4 bne.n 8011cb4 } } } if (inactive != NULL) { - 801215a: 693b ldr r3, [r7, #16] - 801215c: 2b00 cmp r3, #0 - 801215e: d003 beq.n 8012168 + 8011cea: 693b ldr r3, [r7, #16] + 8011cec: 2b00 cmp r3, #0 + 8011cee: d003 beq.n 8011cf8 LWIP_DEBUGF(TCP_DEBUG, ("tcp_kill_closing: killing oldest %s PCB %p (%"S32_F")\n", tcp_state_str[state], (void *)inactive, inactivity)); /* Don't send a RST, since no data is lost. */ tcp_abandon(inactive, 0); - 8012160: 2100 movs r1, #0 - 8012162: 6938 ldr r0, [r7, #16] - 8012164: f7ff f956 bl 8011414 + 8011cf0: 2100 movs r1, #0 + 8011cf2: 6938 ldr r0, [r7, #16] + 8011cf4: f7ff f956 bl 8010fa4 } } - 8012168: bf00 nop - 801216a: 3718 adds r7, #24 - 801216c: 46bd mov sp, r7 - 801216e: bd80 pop {r7, pc} - 8012170: 0801d34c .word 0x0801d34c - 8012174: 0801d8d8 .word 0x0801d8d8 - 8012178: 0801d390 .word 0x0801d390 - 801217c: 2000f5c4 .word 0x2000f5c4 - 8012180: 2000f5c8 .word 0x2000f5c8 + 8011cf8: bf00 nop + 8011cfa: 3718 adds r7, #24 + 8011cfc: 46bd mov sp, r7 + 8011cfe: bd80 pop {r7, pc} + 8011d00: 0801cb48 .word 0x0801cb48 + 8011d04: 0801d0d4 .word 0x0801d0d4 + 8011d08: 0801cb8c .word 0x0801cb8c + 8011d0c: 2000f5c0 .word 0x2000f5c0 + 8011d10: 2000f5c4 .word 0x2000f5c4 -08012184 : +08011d14 : * Kills the oldest connection that is in TIME_WAIT state. * Called from tcp_alloc() if no more connections are available. */ static void tcp_kill_timewait(void) { - 8012184: b580 push {r7, lr} - 8012186: b084 sub sp, #16 - 8012188: af00 add r7, sp, #0 + 8011d14: b580 push {r7, lr} + 8011d16: b084 sub sp, #16 + 8011d18: af00 add r7, sp, #0 struct tcp_pcb *pcb, *inactive; u32_t inactivity; inactivity = 0; - 801218a: 2300 movs r3, #0 - 801218c: 607b str r3, [r7, #4] + 8011d1a: 2300 movs r3, #0 + 8011d1c: 607b str r3, [r7, #4] inactive = NULL; - 801218e: 2300 movs r3, #0 - 8012190: 60bb str r3, [r7, #8] + 8011d1e: 2300 movs r3, #0 + 8011d20: 60bb str r3, [r7, #8] /* Go through the list of TIME_WAIT pcbs and get the oldest pcb. */ for (pcb = tcp_tw_pcbs; pcb != NULL; pcb = pcb->next) { - 8012192: 4b12 ldr r3, [pc, #72] ; (80121dc ) - 8012194: 681b ldr r3, [r3, #0] - 8012196: 60fb str r3, [r7, #12] - 8012198: e012 b.n 80121c0 + 8011d22: 4b12 ldr r3, [pc, #72] ; (8011d6c ) + 8011d24: 681b ldr r3, [r3, #0] + 8011d26: 60fb str r3, [r7, #12] + 8011d28: e012 b.n 8011d50 if ((u32_t)(tcp_ticks - pcb->tmr) >= inactivity) { - 801219a: 4b11 ldr r3, [pc, #68] ; (80121e0 ) - 801219c: 681a ldr r2, [r3, #0] - 801219e: 68fb ldr r3, [r7, #12] - 80121a0: 6a1b ldr r3, [r3, #32] - 80121a2: 1ad3 subs r3, r2, r3 - 80121a4: 687a ldr r2, [r7, #4] - 80121a6: 429a cmp r2, r3 - 80121a8: d807 bhi.n 80121ba + 8011d2a: 4b11 ldr r3, [pc, #68] ; (8011d70 ) + 8011d2c: 681a ldr r2, [r3, #0] + 8011d2e: 68fb ldr r3, [r7, #12] + 8011d30: 6a1b ldr r3, [r3, #32] + 8011d32: 1ad3 subs r3, r2, r3 + 8011d34: 687a ldr r2, [r7, #4] + 8011d36: 429a cmp r2, r3 + 8011d38: d807 bhi.n 8011d4a inactivity = tcp_ticks - pcb->tmr; - 80121aa: 4b0d ldr r3, [pc, #52] ; (80121e0 ) - 80121ac: 681a ldr r2, [r3, #0] - 80121ae: 68fb ldr r3, [r7, #12] - 80121b0: 6a1b ldr r3, [r3, #32] - 80121b2: 1ad3 subs r3, r2, r3 - 80121b4: 607b str r3, [r7, #4] + 8011d3a: 4b0d ldr r3, [pc, #52] ; (8011d70 ) + 8011d3c: 681a ldr r2, [r3, #0] + 8011d3e: 68fb ldr r3, [r7, #12] + 8011d40: 6a1b ldr r3, [r3, #32] + 8011d42: 1ad3 subs r3, r2, r3 + 8011d44: 607b str r3, [r7, #4] inactive = pcb; - 80121b6: 68fb ldr r3, [r7, #12] - 80121b8: 60bb str r3, [r7, #8] + 8011d46: 68fb ldr r3, [r7, #12] + 8011d48: 60bb str r3, [r7, #8] for (pcb = tcp_tw_pcbs; pcb != NULL; pcb = pcb->next) { - 80121ba: 68fb ldr r3, [r7, #12] - 80121bc: 68db ldr r3, [r3, #12] - 80121be: 60fb str r3, [r7, #12] - 80121c0: 68fb ldr r3, [r7, #12] - 80121c2: 2b00 cmp r3, #0 - 80121c4: d1e9 bne.n 801219a + 8011d4a: 68fb ldr r3, [r7, #12] + 8011d4c: 68db ldr r3, [r3, #12] + 8011d4e: 60fb str r3, [r7, #12] + 8011d50: 68fb ldr r3, [r7, #12] + 8011d52: 2b00 cmp r3, #0 + 8011d54: d1e9 bne.n 8011d2a } } if (inactive != NULL) { - 80121c6: 68bb ldr r3, [r7, #8] - 80121c8: 2b00 cmp r3, #0 - 80121ca: d002 beq.n 80121d2 + 8011d56: 68bb ldr r3, [r7, #8] + 8011d58: 2b00 cmp r3, #0 + 8011d5a: d002 beq.n 8011d62 LWIP_DEBUGF(TCP_DEBUG, ("tcp_kill_timewait: killing oldest TIME-WAIT PCB %p (%"S32_F")\n", (void *)inactive, inactivity)); tcp_abort(inactive); - 80121cc: 68b8 ldr r0, [r7, #8] - 80121ce: f7ff f9df bl 8011590 + 8011d5c: 68b8 ldr r0, [r7, #8] + 8011d5e: f7ff f9df bl 8011120 } } - 80121d2: bf00 nop - 80121d4: 3710 adds r7, #16 - 80121d6: 46bd mov sp, r7 - 80121d8: bd80 pop {r7, pc} - 80121da: bf00 nop - 80121dc: 2000f5d4 .word 0x2000f5d4 - 80121e0: 2000f5c8 .word 0x2000f5c8 + 8011d62: bf00 nop + 8011d64: 3710 adds r7, #16 + 8011d66: 46bd mov sp, r7 + 8011d68: bd80 pop {r7, pc} + 8011d6a: bf00 nop + 8011d6c: 2000f5d0 .word 0x2000f5d0 + 8011d70: 2000f5c4 .word 0x2000f5c4 -080121e4 : +08011d74 : * now send the FIN (which failed before), the pcb might be in a state that is * OK for us to now free it. */ static void tcp_handle_closepend(void) { - 80121e4: b580 push {r7, lr} - 80121e6: b082 sub sp, #8 - 80121e8: af00 add r7, sp, #0 + 8011d74: b580 push {r7, lr} + 8011d76: b082 sub sp, #8 + 8011d78: af00 add r7, sp, #0 struct tcp_pcb *pcb = tcp_active_pcbs; - 80121ea: 4b10 ldr r3, [pc, #64] ; (801222c ) - 80121ec: 681b ldr r3, [r3, #0] - 80121ee: 607b str r3, [r7, #4] + 8011d7a: 4b10 ldr r3, [pc, #64] ; (8011dbc ) + 8011d7c: 681b ldr r3, [r3, #0] + 8011d7e: 607b str r3, [r7, #4] while (pcb != NULL) { - 80121f0: e014 b.n 801221c + 8011d80: e014 b.n 8011dac struct tcp_pcb *next = pcb->next; - 80121f2: 687b ldr r3, [r7, #4] - 80121f4: 68db ldr r3, [r3, #12] - 80121f6: 603b str r3, [r7, #0] + 8011d82: 687b ldr r3, [r7, #4] + 8011d84: 68db ldr r3, [r3, #12] + 8011d86: 603b str r3, [r7, #0] /* send pending FIN */ if (pcb->flags & TF_CLOSEPEND) { - 80121f8: 687b ldr r3, [r7, #4] - 80121fa: 8b5b ldrh r3, [r3, #26] - 80121fc: f003 0308 and.w r3, r3, #8 - 8012200: 2b00 cmp r3, #0 - 8012202: d009 beq.n 8012218 + 8011d88: 687b ldr r3, [r7, #4] + 8011d8a: 8b5b ldrh r3, [r3, #26] + 8011d8c: f003 0308 and.w r3, r3, #8 + 8011d90: 2b00 cmp r3, #0 + 8011d92: d009 beq.n 8011da8 LWIP_DEBUGF(TCP_DEBUG, ("tcp_handle_closepend: pending FIN\n")); tcp_clear_flags(pcb, TF_CLOSEPEND); - 8012204: 687b ldr r3, [r7, #4] - 8012206: 8b5b ldrh r3, [r3, #26] - 8012208: f023 0308 bic.w r3, r3, #8 - 801220c: b29a uxth r2, r3 - 801220e: 687b ldr r3, [r7, #4] - 8012210: 835a strh r2, [r3, #26] + 8011d94: 687b ldr r3, [r7, #4] + 8011d96: 8b5b ldrh r3, [r3, #26] + 8011d98: f023 0308 bic.w r3, r3, #8 + 8011d9c: b29a uxth r2, r3 + 8011d9e: 687b ldr r3, [r7, #4] + 8011da0: 835a strh r2, [r3, #26] tcp_close_shutdown_fin(pcb); - 8012212: 6878 ldr r0, [r7, #4] - 8012214: f7ff f86c bl 80112f0 + 8011da2: 6878 ldr r0, [r7, #4] + 8011da4: f7ff f86c bl 8010e80 } pcb = next; - 8012218: 683b ldr r3, [r7, #0] - 801221a: 607b str r3, [r7, #4] + 8011da8: 683b ldr r3, [r7, #0] + 8011daa: 607b str r3, [r7, #4] while (pcb != NULL) { - 801221c: 687b ldr r3, [r7, #4] - 801221e: 2b00 cmp r3, #0 - 8012220: d1e7 bne.n 80121f2 + 8011dac: 687b ldr r3, [r7, #4] + 8011dae: 2b00 cmp r3, #0 + 8011db0: d1e7 bne.n 8011d82 } } - 8012222: bf00 nop - 8012224: 3708 adds r7, #8 - 8012226: 46bd mov sp, r7 - 8012228: bd80 pop {r7, pc} - 801222a: bf00 nop - 801222c: 2000f5c4 .word 0x2000f5c4 + 8011db2: bf00 nop + 8011db4: 3708 adds r7, #8 + 8011db6: 46bd mov sp, r7 + 8011db8: bd80 pop {r7, pc} + 8011dba: bf00 nop + 8011dbc: 2000f5c0 .word 0x2000f5c0 -08012230 : +08011dc0 : * @param prio priority for the new pcb * @return a new tcp_pcb that initially is in state CLOSED */ struct tcp_pcb * tcp_alloc(u8_t prio) { - 8012230: b580 push {r7, lr} - 8012232: b084 sub sp, #16 - 8012234: af00 add r7, sp, #0 - 8012236: 4603 mov r3, r0 - 8012238: 71fb strb r3, [r7, #7] + 8011dc0: b580 push {r7, lr} + 8011dc2: b084 sub sp, #16 + 8011dc4: af00 add r7, sp, #0 + 8011dc6: 4603 mov r3, r0 + 8011dc8: 71fb strb r3, [r7, #7] struct tcp_pcb *pcb; LWIP_ASSERT_CORE_LOCKED(); pcb = (struct tcp_pcb *)memp_malloc(MEMP_TCP_PCB); - 801223a: 2001 movs r0, #1 - 801223c: f7fd fd0e bl 800fc5c - 8012240: 60f8 str r0, [r7, #12] + 8011dca: 2001 movs r0, #1 + 8011dcc: f7fd fd0e bl 800f7ec + 8011dd0: 60f8 str r0, [r7, #12] if (pcb == NULL) { - 8012242: 68fb ldr r3, [r7, #12] - 8012244: 2b00 cmp r3, #0 - 8012246: d126 bne.n 8012296 + 8011dd2: 68fb ldr r3, [r7, #12] + 8011dd4: 2b00 cmp r3, #0 + 8011dd6: d126 bne.n 8011e26 /* Try to send FIN for all pcbs stuck in TF_CLOSEPEND first */ tcp_handle_closepend(); - 8012248: f7ff ffcc bl 80121e4 + 8011dd8: f7ff ffcc bl 8011d74 /* Try killing oldest connection in TIME-WAIT. */ LWIP_DEBUGF(TCP_DEBUG, ("tcp_alloc: killing off oldest TIME-WAIT connection\n")); tcp_kill_timewait(); - 801224c: f7ff ff9a bl 8012184 + 8011ddc: f7ff ff9a bl 8011d14 /* Try to allocate a tcp_pcb again. */ pcb = (struct tcp_pcb *)memp_malloc(MEMP_TCP_PCB); - 8012250: 2001 movs r0, #1 - 8012252: f7fd fd03 bl 800fc5c - 8012256: 60f8 str r0, [r7, #12] + 8011de0: 2001 movs r0, #1 + 8011de2: f7fd fd03 bl 800f7ec + 8011de6: 60f8 str r0, [r7, #12] if (pcb == NULL) { - 8012258: 68fb ldr r3, [r7, #12] - 801225a: 2b00 cmp r3, #0 - 801225c: d11b bne.n 8012296 + 8011de8: 68fb ldr r3, [r7, #12] + 8011dea: 2b00 cmp r3, #0 + 8011dec: d11b bne.n 8011e26 /* Try killing oldest connection in LAST-ACK (these wouldn't go to TIME-WAIT). */ LWIP_DEBUGF(TCP_DEBUG, ("tcp_alloc: killing off oldest LAST-ACK connection\n")); tcp_kill_state(LAST_ACK); - 801225e: 2009 movs r0, #9 - 8012260: f7ff ff46 bl 80120f0 + 8011dee: 2009 movs r0, #9 + 8011df0: f7ff ff46 bl 8011c80 /* Try to allocate a tcp_pcb again. */ pcb = (struct tcp_pcb *)memp_malloc(MEMP_TCP_PCB); - 8012264: 2001 movs r0, #1 - 8012266: f7fd fcf9 bl 800fc5c - 801226a: 60f8 str r0, [r7, #12] + 8011df4: 2001 movs r0, #1 + 8011df6: f7fd fcf9 bl 800f7ec + 8011dfa: 60f8 str r0, [r7, #12] if (pcb == NULL) { - 801226c: 68fb ldr r3, [r7, #12] - 801226e: 2b00 cmp r3, #0 - 8012270: d111 bne.n 8012296 + 8011dfc: 68fb ldr r3, [r7, #12] + 8011dfe: 2b00 cmp r3, #0 + 8011e00: d111 bne.n 8011e26 /* Try killing oldest connection in CLOSING. */ LWIP_DEBUGF(TCP_DEBUG, ("tcp_alloc: killing off oldest CLOSING connection\n")); tcp_kill_state(CLOSING); - 8012272: 2008 movs r0, #8 - 8012274: f7ff ff3c bl 80120f0 + 8011e02: 2008 movs r0, #8 + 8011e04: f7ff ff3c bl 8011c80 /* Try to allocate a tcp_pcb again. */ pcb = (struct tcp_pcb *)memp_malloc(MEMP_TCP_PCB); - 8012278: 2001 movs r0, #1 - 801227a: f7fd fcef bl 800fc5c - 801227e: 60f8 str r0, [r7, #12] + 8011e08: 2001 movs r0, #1 + 8011e0a: f7fd fcef bl 800f7ec + 8011e0e: 60f8 str r0, [r7, #12] if (pcb == NULL) { - 8012280: 68fb ldr r3, [r7, #12] - 8012282: 2b00 cmp r3, #0 - 8012284: d107 bne.n 8012296 + 8011e10: 68fb ldr r3, [r7, #12] + 8011e12: 2b00 cmp r3, #0 + 8011e14: d107 bne.n 8011e26 /* Try killing oldest active connection with lower priority than the new one. */ LWIP_DEBUGF(TCP_DEBUG, ("tcp_alloc: killing oldest connection with prio lower than %d\n", prio)); tcp_kill_prio(prio); - 8012286: 79fb ldrb r3, [r7, #7] - 8012288: 4618 mov r0, r3 - 801228a: f7ff fee3 bl 8012054 + 8011e16: 79fb ldrb r3, [r7, #7] + 8011e18: 4618 mov r0, r3 + 8011e1a: f7ff fee3 bl 8011be4 /* Try to allocate a tcp_pcb again. */ pcb = (struct tcp_pcb *)memp_malloc(MEMP_TCP_PCB); - 801228e: 2001 movs r0, #1 - 8012290: f7fd fce4 bl 800fc5c - 8012294: 60f8 str r0, [r7, #12] + 8011e1e: 2001 movs r0, #1 + 8011e20: f7fd fce4 bl 800f7ec + 8011e24: 60f8 str r0, [r7, #12] if (pcb != NULL) { /* adjust err stats: memp_malloc failed above */ MEMP_STATS_DEC(err, MEMP_TCP_PCB); } } if (pcb != NULL) { - 8012296: 68fb ldr r3, [r7, #12] - 8012298: 2b00 cmp r3, #0 - 801229a: d03f beq.n 801231c + 8011e26: 68fb ldr r3, [r7, #12] + 8011e28: 2b00 cmp r3, #0 + 8011e2a: d03f beq.n 8011eac /* zero out the whole pcb, so there is no need to initialize members to zero */ memset(pcb, 0, sizeof(struct tcp_pcb)); - 801229c: 229c movs r2, #156 ; 0x9c - 801229e: 2100 movs r1, #0 - 80122a0: 68f8 ldr r0, [r7, #12] - 80122a2: f009 f900 bl 801b4a6 + 8011e2c: 229c movs r2, #156 ; 0x9c + 8011e2e: 2100 movs r1, #0 + 8011e30: 68f8 ldr r0, [r7, #12] + 8011e32: f009 f8e7 bl 801b004 pcb->prio = prio; - 80122a6: 68fb ldr r3, [r7, #12] - 80122a8: 79fa ldrb r2, [r7, #7] - 80122aa: 755a strb r2, [r3, #21] + 8011e36: 68fb ldr r3, [r7, #12] + 8011e38: 79fa ldrb r2, [r7, #7] + 8011e3a: 755a strb r2, [r3, #21] pcb->snd_buf = TCP_SND_BUF; - 80122ac: 68fb ldr r3, [r7, #12] - 80122ae: f44f 6286 mov.w r2, #1072 ; 0x430 - 80122b2: f8a3 2064 strh.w r2, [r3, #100] ; 0x64 + 8011e3c: 68fb ldr r3, [r7, #12] + 8011e3e: f44f 6286 mov.w r2, #1072 ; 0x430 + 8011e42: f8a3 2064 strh.w r2, [r3, #100] ; 0x64 /* Start with a window that does not need scaling. When window scaling is enabled and used, the window is enlarged when both sides agree on scaling. */ pcb->rcv_wnd = pcb->rcv_ann_wnd = TCPWND_MIN16(TCP_WND); - 80122b6: 68fb ldr r3, [r7, #12] - 80122b8: f44f 6206 mov.w r2, #2144 ; 0x860 - 80122bc: 855a strh r2, [r3, #42] ; 0x2a - 80122be: 68fb ldr r3, [r7, #12] - 80122c0: 8d5a ldrh r2, [r3, #42] ; 0x2a - 80122c2: 68fb ldr r3, [r7, #12] - 80122c4: 851a strh r2, [r3, #40] ; 0x28 + 8011e46: 68fb ldr r3, [r7, #12] + 8011e48: f44f 6206 mov.w r2, #2144 ; 0x860 + 8011e4c: 855a strh r2, [r3, #42] ; 0x2a + 8011e4e: 68fb ldr r3, [r7, #12] + 8011e50: 8d5a ldrh r2, [r3, #42] ; 0x2a + 8011e52: 68fb ldr r3, [r7, #12] + 8011e54: 851a strh r2, [r3, #40] ; 0x28 pcb->ttl = TCP_TTL; - 80122c6: 68fb ldr r3, [r7, #12] - 80122c8: 22ff movs r2, #255 ; 0xff - 80122ca: 72da strb r2, [r3, #11] + 8011e56: 68fb ldr r3, [r7, #12] + 8011e58: 22ff movs r2, #255 ; 0xff + 8011e5a: 72da strb r2, [r3, #11] /* As initial send MSS, we use TCP_MSS but limit it to 536. The send MSS is updated when an MSS option is received. */ pcb->mss = INITIAL_MSS; - 80122cc: 68fb ldr r3, [r7, #12] - 80122ce: f44f 7206 mov.w r2, #536 ; 0x218 - 80122d2: 865a strh r2, [r3, #50] ; 0x32 + 8011e5c: 68fb ldr r3, [r7, #12] + 8011e5e: f44f 7206 mov.w r2, #536 ; 0x218 + 8011e62: 865a strh r2, [r3, #50] ; 0x32 pcb->rto = 3000 / TCP_SLOW_INTERVAL; - 80122d4: 68fb ldr r3, [r7, #12] - 80122d6: 2206 movs r2, #6 - 80122d8: f8a3 2040 strh.w r2, [r3, #64] ; 0x40 + 8011e64: 68fb ldr r3, [r7, #12] + 8011e66: 2206 movs r2, #6 + 8011e68: f8a3 2040 strh.w r2, [r3, #64] ; 0x40 pcb->sv = 3000 / TCP_SLOW_INTERVAL; - 80122dc: 68fb ldr r3, [r7, #12] - 80122de: 2206 movs r2, #6 - 80122e0: 87da strh r2, [r3, #62] ; 0x3e + 8011e6c: 68fb ldr r3, [r7, #12] + 8011e6e: 2206 movs r2, #6 + 8011e70: 87da strh r2, [r3, #62] ; 0x3e pcb->rtime = -1; - 80122e2: 68fb ldr r3, [r7, #12] - 80122e4: f64f 72ff movw r2, #65535 ; 0xffff - 80122e8: 861a strh r2, [r3, #48] ; 0x30 + 8011e72: 68fb ldr r3, [r7, #12] + 8011e74: f64f 72ff movw r2, #65535 ; 0xffff + 8011e78: 861a strh r2, [r3, #48] ; 0x30 pcb->cwnd = 1; - 80122ea: 68fb ldr r3, [r7, #12] - 80122ec: 2201 movs r2, #1 - 80122ee: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 + 8011e7a: 68fb ldr r3, [r7, #12] + 8011e7c: 2201 movs r2, #1 + 8011e7e: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 pcb->tmr = tcp_ticks; - 80122f2: 4b0d ldr r3, [pc, #52] ; (8012328 ) - 80122f4: 681a ldr r2, [r3, #0] - 80122f6: 68fb ldr r3, [r7, #12] - 80122f8: 621a str r2, [r3, #32] + 8011e82: 4b0d ldr r3, [pc, #52] ; (8011eb8 ) + 8011e84: 681a ldr r2, [r3, #0] + 8011e86: 68fb ldr r3, [r7, #12] + 8011e88: 621a str r2, [r3, #32] pcb->last_timer = tcp_timer_ctr; - 80122fa: 4b0c ldr r3, [pc, #48] ; (801232c ) - 80122fc: 781a ldrb r2, [r3, #0] - 80122fe: 68fb ldr r3, [r7, #12] - 8012300: 779a strb r2, [r3, #30] + 8011e8a: 4b0c ldr r3, [pc, #48] ; (8011ebc ) + 8011e8c: 781a ldrb r2, [r3, #0] + 8011e8e: 68fb ldr r3, [r7, #12] + 8011e90: 779a strb r2, [r3, #30] of using the largest advertised receive window. We've seen complications with receiving TCPs that use window scaling and/or window auto-tuning where the initial advertised window is very small and then grows rapidly once the connection is established. To avoid these complications, we set ssthresh to the largest effective cwnd (amount of in-flight data) that the sender can have. */ pcb->ssthresh = TCP_SND_BUF; - 8012302: 68fb ldr r3, [r7, #12] - 8012304: f44f 6286 mov.w r2, #1072 ; 0x430 - 8012308: f8a3 204a strh.w r2, [r3, #74] ; 0x4a + 8011e92: 68fb ldr r3, [r7, #12] + 8011e94: f44f 6286 mov.w r2, #1072 ; 0x430 + 8011e98: f8a3 204a strh.w r2, [r3, #74] ; 0x4a #if LWIP_CALLBACK_API pcb->recv = tcp_recv_null; - 801230c: 68fb ldr r3, [r7, #12] - 801230e: 4a08 ldr r2, [pc, #32] ; (8012330 ) - 8012310: f8c3 2084 str.w r2, [r3, #132] ; 0x84 + 8011e9c: 68fb ldr r3, [r7, #12] + 8011e9e: 4a08 ldr r2, [pc, #32] ; (8011ec0 ) + 8011ea0: f8c3 2084 str.w r2, [r3, #132] ; 0x84 #endif /* LWIP_CALLBACK_API */ /* Init KEEPALIVE timer */ pcb->keep_idle = TCP_KEEPIDLE_DEFAULT; - 8012314: 68fb ldr r3, [r7, #12] - 8012316: 4a07 ldr r2, [pc, #28] ; (8012334 ) - 8012318: f8c3 2094 str.w r2, [r3, #148] ; 0x94 + 8011ea4: 68fb ldr r3, [r7, #12] + 8011ea6: 4a07 ldr r2, [pc, #28] ; (8011ec4 ) + 8011ea8: f8c3 2094 str.w r2, [r3, #148] ; 0x94 #if LWIP_TCP_KEEPALIVE pcb->keep_intvl = TCP_KEEPINTVL_DEFAULT; pcb->keep_cnt = TCP_KEEPCNT_DEFAULT; #endif /* LWIP_TCP_KEEPALIVE */ } return pcb; - 801231c: 68fb ldr r3, [r7, #12] + 8011eac: 68fb ldr r3, [r7, #12] } - 801231e: 4618 mov r0, r3 - 8012320: 3710 adds r7, #16 - 8012322: 46bd mov sp, r7 - 8012324: bd80 pop {r7, pc} - 8012326: bf00 nop - 8012328: 2000f5c8 .word 0x2000f5c8 - 801232c: 2000872a .word 0x2000872a - 8012330: 08011fe9 .word 0x08011fe9 - 8012334: 006ddd00 .word 0x006ddd00 + 8011eae: 4618 mov r0, r3 + 8011eb0: 3710 adds r7, #16 + 8011eb2: 46bd mov sp, r7 + 8011eb4: bd80 pop {r7, pc} + 8011eb6: bf00 nop + 8011eb8: 2000f5c4 .word 0x2000f5c4 + 8011ebc: 2000872a .word 0x2000872a + 8011ec0: 08011b79 .word 0x08011b79 + 8011ec4: 006ddd00 .word 0x006ddd00 -08012338 : +08011ec8 : * * @param pcb tcp_pcb to purge. The pcb itself is not deallocated! */ void tcp_pcb_purge(struct tcp_pcb *pcb) { - 8012338: b580 push {r7, lr} - 801233a: b082 sub sp, #8 - 801233c: af00 add r7, sp, #0 - 801233e: 6078 str r0, [r7, #4] + 8011ec8: b580 push {r7, lr} + 8011eca: b082 sub sp, #8 + 8011ecc: af00 add r7, sp, #0 + 8011ece: 6078 str r0, [r7, #4] LWIP_ERROR("tcp_pcb_purge: invalid pcb", pcb != NULL, return); - 8012340: 687b ldr r3, [r7, #4] - 8012342: 2b00 cmp r3, #0 - 8012344: d107 bne.n 8012356 - 8012346: 4b21 ldr r3, [pc, #132] ; (80123cc ) - 8012348: f640 0251 movw r2, #2129 ; 0x851 - 801234c: 4920 ldr r1, [pc, #128] ; (80123d0 ) - 801234e: 4821 ldr r0, [pc, #132] ; (80123d4 ) - 8012350: f009 f8b2 bl 801b4b8 - 8012354: e037 b.n 80123c6 + 8011ed0: 687b ldr r3, [r7, #4] + 8011ed2: 2b00 cmp r3, #0 + 8011ed4: d107 bne.n 8011ee6 + 8011ed6: 4b21 ldr r3, [pc, #132] ; (8011f5c ) + 8011ed8: f640 0251 movw r2, #2129 ; 0x851 + 8011edc: 4920 ldr r1, [pc, #128] ; (8011f60 ) + 8011ede: 4821 ldr r0, [pc, #132] ; (8011f64 ) + 8011ee0: f009 f898 bl 801b014 + 8011ee4: e037 b.n 8011f56 if (pcb->state != CLOSED && - 8012356: 687b ldr r3, [r7, #4] - 8012358: 7d1b ldrb r3, [r3, #20] - 801235a: 2b00 cmp r3, #0 - 801235c: d033 beq.n 80123c6 + 8011ee6: 687b ldr r3, [r7, #4] + 8011ee8: 7d1b ldrb r3, [r3, #20] + 8011eea: 2b00 cmp r3, #0 + 8011eec: d033 beq.n 8011f56 pcb->state != TIME_WAIT && - 801235e: 687b ldr r3, [r7, #4] - 8012360: 7d1b ldrb r3, [r3, #20] + 8011eee: 687b ldr r3, [r7, #4] + 8011ef0: 7d1b ldrb r3, [r3, #20] if (pcb->state != CLOSED && - 8012362: 2b0a cmp r3, #10 - 8012364: d02f beq.n 80123c6 + 8011ef2: 2b0a cmp r3, #10 + 8011ef4: d02f beq.n 8011f56 pcb->state != LISTEN) { - 8012366: 687b ldr r3, [r7, #4] - 8012368: 7d1b ldrb r3, [r3, #20] + 8011ef6: 687b ldr r3, [r7, #4] + 8011ef8: 7d1b ldrb r3, [r3, #20] pcb->state != TIME_WAIT && - 801236a: 2b01 cmp r3, #1 - 801236c: d02b beq.n 80123c6 + 8011efa: 2b01 cmp r3, #1 + 8011efc: d02b beq.n 8011f56 LWIP_DEBUGF(TCP_DEBUG, ("tcp_pcb_purge\n")); tcp_backlog_accepted(pcb); if (pcb->refused_data != NULL) { - 801236e: 687b ldr r3, [r7, #4] - 8012370: 6f9b ldr r3, [r3, #120] ; 0x78 - 8012372: 2b00 cmp r3, #0 - 8012374: d007 beq.n 8012386 + 8011efe: 687b ldr r3, [r7, #4] + 8011f00: 6f9b ldr r3, [r3, #120] ; 0x78 + 8011f02: 2b00 cmp r3, #0 + 8011f04: d007 beq.n 8011f16 LWIP_DEBUGF(TCP_DEBUG, ("tcp_pcb_purge: data left on ->refused_data\n")); pbuf_free(pcb->refused_data); - 8012376: 687b ldr r3, [r7, #4] - 8012378: 6f9b ldr r3, [r3, #120] ; 0x78 - 801237a: 4618 mov r0, r3 - 801237c: f7fe fb6c bl 8010a58 + 8011f06: 687b ldr r3, [r7, #4] + 8011f08: 6f9b ldr r3, [r3, #120] ; 0x78 + 8011f0a: 4618 mov r0, r3 + 8011f0c: f7fe fb6c bl 80105e8 pcb->refused_data = NULL; - 8012380: 687b ldr r3, [r7, #4] - 8012382: 2200 movs r2, #0 - 8012384: 679a str r2, [r3, #120] ; 0x78 + 8011f10: 687b ldr r3, [r7, #4] + 8011f12: 2200 movs r2, #0 + 8011f14: 679a str r2, [r3, #120] ; 0x78 } if (pcb->unacked != NULL) { LWIP_DEBUGF(TCP_DEBUG, ("tcp_pcb_purge: data left on ->unacked\n")); } #if TCP_QUEUE_OOSEQ if (pcb->ooseq != NULL) { - 8012386: 687b ldr r3, [r7, #4] - 8012388: 6f5b ldr r3, [r3, #116] ; 0x74 - 801238a: 2b00 cmp r3, #0 - 801238c: d002 beq.n 8012394 + 8011f16: 687b ldr r3, [r7, #4] + 8011f18: 6f5b ldr r3, [r3, #116] ; 0x74 + 8011f1a: 2b00 cmp r3, #0 + 8011f1c: d002 beq.n 8011f24 LWIP_DEBUGF(TCP_DEBUG, ("tcp_pcb_purge: data left on ->ooseq\n")); tcp_free_ooseq(pcb); - 801238e: 6878 ldr r0, [r7, #4] - 8012390: f000 f986 bl 80126a0 + 8011f1e: 6878 ldr r0, [r7, #4] + 8011f20: f000 f986 bl 8012230 } #endif /* TCP_QUEUE_OOSEQ */ /* Stop the retransmission timer as it will expect data on unacked queue if it fires */ pcb->rtime = -1; - 8012394: 687b ldr r3, [r7, #4] - 8012396: f64f 72ff movw r2, #65535 ; 0xffff - 801239a: 861a strh r2, [r3, #48] ; 0x30 + 8011f24: 687b ldr r3, [r7, #4] + 8011f26: f64f 72ff movw r2, #65535 ; 0xffff + 8011f2a: 861a strh r2, [r3, #48] ; 0x30 tcp_segs_free(pcb->unsent); - 801239c: 687b ldr r3, [r7, #4] - 801239e: 6edb ldr r3, [r3, #108] ; 0x6c - 80123a0: 4618 mov r0, r3 - 80123a2: f7ff fdc9 bl 8011f38 + 8011f2c: 687b ldr r3, [r7, #4] + 8011f2e: 6edb ldr r3, [r3, #108] ; 0x6c + 8011f30: 4618 mov r0, r3 + 8011f32: f7ff fdc9 bl 8011ac8 tcp_segs_free(pcb->unacked); - 80123a6: 687b ldr r3, [r7, #4] - 80123a8: 6f1b ldr r3, [r3, #112] ; 0x70 - 80123aa: 4618 mov r0, r3 - 80123ac: f7ff fdc4 bl 8011f38 + 8011f36: 687b ldr r3, [r7, #4] + 8011f38: 6f1b ldr r3, [r3, #112] ; 0x70 + 8011f3a: 4618 mov r0, r3 + 8011f3c: f7ff fdc4 bl 8011ac8 pcb->unacked = pcb->unsent = NULL; - 80123b0: 687b ldr r3, [r7, #4] - 80123b2: 2200 movs r2, #0 - 80123b4: 66da str r2, [r3, #108] ; 0x6c - 80123b6: 687b ldr r3, [r7, #4] - 80123b8: 6eda ldr r2, [r3, #108] ; 0x6c - 80123ba: 687b ldr r3, [r7, #4] - 80123bc: 671a str r2, [r3, #112] ; 0x70 + 8011f40: 687b ldr r3, [r7, #4] + 8011f42: 2200 movs r2, #0 + 8011f44: 66da str r2, [r3, #108] ; 0x6c + 8011f46: 687b ldr r3, [r7, #4] + 8011f48: 6eda ldr r2, [r3, #108] ; 0x6c + 8011f4a: 687b ldr r3, [r7, #4] + 8011f4c: 671a str r2, [r3, #112] ; 0x70 #if TCP_OVERSIZE pcb->unsent_oversize = 0; - 80123be: 687b ldr r3, [r7, #4] - 80123c0: 2200 movs r2, #0 - 80123c2: f8a3 2068 strh.w r2, [r3, #104] ; 0x68 + 8011f4e: 687b ldr r3, [r7, #4] + 8011f50: 2200 movs r2, #0 + 8011f52: f8a3 2068 strh.w r2, [r3, #104] ; 0x68 #endif /* TCP_OVERSIZE */ } } - 80123c6: 3708 adds r7, #8 - 80123c8: 46bd mov sp, r7 - 80123ca: bd80 pop {r7, pc} - 80123cc: 0801d34c .word 0x0801d34c - 80123d0: 0801d998 .word 0x0801d998 - 80123d4: 0801d390 .word 0x0801d390 + 8011f56: 3708 adds r7, #8 + 8011f58: 46bd mov sp, r7 + 8011f5a: bd80 pop {r7, pc} + 8011f5c: 0801cb48 .word 0x0801cb48 + 8011f60: 0801d194 .word 0x0801d194 + 8011f64: 0801cb8c .word 0x0801cb8c -080123d8 : +08011f68 : * @param pcblist PCB list to purge. * @param pcb tcp_pcb to purge. The pcb itself is NOT deallocated! */ void tcp_pcb_remove(struct tcp_pcb **pcblist, struct tcp_pcb *pcb) { - 80123d8: b580 push {r7, lr} - 80123da: b084 sub sp, #16 - 80123dc: af00 add r7, sp, #0 - 80123de: 6078 str r0, [r7, #4] - 80123e0: 6039 str r1, [r7, #0] + 8011f68: b580 push {r7, lr} + 8011f6a: b084 sub sp, #16 + 8011f6c: af00 add r7, sp, #0 + 8011f6e: 6078 str r0, [r7, #4] + 8011f70: 6039 str r1, [r7, #0] LWIP_ASSERT("tcp_pcb_remove: invalid pcb", pcb != NULL); - 80123e2: 683b ldr r3, [r7, #0] - 80123e4: 2b00 cmp r3, #0 - 80123e6: d106 bne.n 80123f6 - 80123e8: 4b3e ldr r3, [pc, #248] ; (80124e4 ) - 80123ea: f640 0283 movw r2, #2179 ; 0x883 - 80123ee: 493e ldr r1, [pc, #248] ; (80124e8 ) - 80123f0: 483e ldr r0, [pc, #248] ; (80124ec ) - 80123f2: f009 f861 bl 801b4b8 + 8011f72: 683b ldr r3, [r7, #0] + 8011f74: 2b00 cmp r3, #0 + 8011f76: d106 bne.n 8011f86 + 8011f78: 4b3e ldr r3, [pc, #248] ; (8012074 ) + 8011f7a: f640 0283 movw r2, #2179 ; 0x883 + 8011f7e: 493e ldr r1, [pc, #248] ; (8012078 ) + 8011f80: 483e ldr r0, [pc, #248] ; (801207c ) + 8011f82: f009 f847 bl 801b014 LWIP_ASSERT("tcp_pcb_remove: invalid pcblist", pcblist != NULL); - 80123f6: 687b ldr r3, [r7, #4] - 80123f8: 2b00 cmp r3, #0 - 80123fa: d106 bne.n 801240a - 80123fc: 4b39 ldr r3, [pc, #228] ; (80124e4 ) - 80123fe: f640 0284 movw r2, #2180 ; 0x884 - 8012402: 493b ldr r1, [pc, #236] ; (80124f0 ) - 8012404: 4839 ldr r0, [pc, #228] ; (80124ec ) - 8012406: f009 f857 bl 801b4b8 + 8011f86: 687b ldr r3, [r7, #4] + 8011f88: 2b00 cmp r3, #0 + 8011f8a: d106 bne.n 8011f9a + 8011f8c: 4b39 ldr r3, [pc, #228] ; (8012074 ) + 8011f8e: f640 0284 movw r2, #2180 ; 0x884 + 8011f92: 493b ldr r1, [pc, #236] ; (8012080 ) + 8011f94: 4839 ldr r0, [pc, #228] ; (801207c ) + 8011f96: f009 f83d bl 801b014 TCP_RMV(pcblist, pcb); - 801240a: 687b ldr r3, [r7, #4] - 801240c: 681b ldr r3, [r3, #0] - 801240e: 683a ldr r2, [r7, #0] - 8012410: 429a cmp r2, r3 - 8012412: d105 bne.n 8012420 - 8012414: 687b ldr r3, [r7, #4] - 8012416: 681b ldr r3, [r3, #0] - 8012418: 68da ldr r2, [r3, #12] - 801241a: 687b ldr r3, [r7, #4] - 801241c: 601a str r2, [r3, #0] - 801241e: e013 b.n 8012448 - 8012420: 687b ldr r3, [r7, #4] - 8012422: 681b ldr r3, [r3, #0] - 8012424: 60fb str r3, [r7, #12] - 8012426: e00c b.n 8012442 - 8012428: 68fb ldr r3, [r7, #12] - 801242a: 68db ldr r3, [r3, #12] - 801242c: 683a ldr r2, [r7, #0] - 801242e: 429a cmp r2, r3 - 8012430: d104 bne.n 801243c - 8012432: 683b ldr r3, [r7, #0] - 8012434: 68da ldr r2, [r3, #12] - 8012436: 68fb ldr r3, [r7, #12] - 8012438: 60da str r2, [r3, #12] - 801243a: e005 b.n 8012448 - 801243c: 68fb ldr r3, [r7, #12] - 801243e: 68db ldr r3, [r3, #12] - 8012440: 60fb str r3, [r7, #12] - 8012442: 68fb ldr r3, [r7, #12] - 8012444: 2b00 cmp r3, #0 - 8012446: d1ef bne.n 8012428 - 8012448: 683b ldr r3, [r7, #0] - 801244a: 2200 movs r2, #0 - 801244c: 60da str r2, [r3, #12] + 8011f9a: 687b ldr r3, [r7, #4] + 8011f9c: 681b ldr r3, [r3, #0] + 8011f9e: 683a ldr r2, [r7, #0] + 8011fa0: 429a cmp r2, r3 + 8011fa2: d105 bne.n 8011fb0 + 8011fa4: 687b ldr r3, [r7, #4] + 8011fa6: 681b ldr r3, [r3, #0] + 8011fa8: 68da ldr r2, [r3, #12] + 8011faa: 687b ldr r3, [r7, #4] + 8011fac: 601a str r2, [r3, #0] + 8011fae: e013 b.n 8011fd8 + 8011fb0: 687b ldr r3, [r7, #4] + 8011fb2: 681b ldr r3, [r3, #0] + 8011fb4: 60fb str r3, [r7, #12] + 8011fb6: e00c b.n 8011fd2 + 8011fb8: 68fb ldr r3, [r7, #12] + 8011fba: 68db ldr r3, [r3, #12] + 8011fbc: 683a ldr r2, [r7, #0] + 8011fbe: 429a cmp r2, r3 + 8011fc0: d104 bne.n 8011fcc + 8011fc2: 683b ldr r3, [r7, #0] + 8011fc4: 68da ldr r2, [r3, #12] + 8011fc6: 68fb ldr r3, [r7, #12] + 8011fc8: 60da str r2, [r3, #12] + 8011fca: e005 b.n 8011fd8 + 8011fcc: 68fb ldr r3, [r7, #12] + 8011fce: 68db ldr r3, [r3, #12] + 8011fd0: 60fb str r3, [r7, #12] + 8011fd2: 68fb ldr r3, [r7, #12] + 8011fd4: 2b00 cmp r3, #0 + 8011fd6: d1ef bne.n 8011fb8 + 8011fd8: 683b ldr r3, [r7, #0] + 8011fda: 2200 movs r2, #0 + 8011fdc: 60da str r2, [r3, #12] tcp_pcb_purge(pcb); - 801244e: 6838 ldr r0, [r7, #0] - 8012450: f7ff ff72 bl 8012338 + 8011fde: 6838 ldr r0, [r7, #0] + 8011fe0: f7ff ff72 bl 8011ec8 /* if there is an outstanding delayed ACKs, send it */ if ((pcb->state != TIME_WAIT) && - 8012454: 683b ldr r3, [r7, #0] - 8012456: 7d1b ldrb r3, [r3, #20] - 8012458: 2b0a cmp r3, #10 - 801245a: d013 beq.n 8012484 + 8011fe4: 683b ldr r3, [r7, #0] + 8011fe6: 7d1b ldrb r3, [r3, #20] + 8011fe8: 2b0a cmp r3, #10 + 8011fea: d013 beq.n 8012014 (pcb->state != LISTEN) && - 801245c: 683b ldr r3, [r7, #0] - 801245e: 7d1b ldrb r3, [r3, #20] + 8011fec: 683b ldr r3, [r7, #0] + 8011fee: 7d1b ldrb r3, [r3, #20] if ((pcb->state != TIME_WAIT) && - 8012460: 2b01 cmp r3, #1 - 8012462: d00f beq.n 8012484 + 8011ff0: 2b01 cmp r3, #1 + 8011ff2: d00f beq.n 8012014 (pcb->flags & TF_ACK_DELAY)) { - 8012464: 683b ldr r3, [r7, #0] - 8012466: 8b5b ldrh r3, [r3, #26] - 8012468: f003 0301 and.w r3, r3, #1 + 8011ff4: 683b ldr r3, [r7, #0] + 8011ff6: 8b5b ldrh r3, [r3, #26] + 8011ff8: f003 0301 and.w r3, r3, #1 (pcb->state != LISTEN) && - 801246c: 2b00 cmp r3, #0 - 801246e: d009 beq.n 8012484 + 8011ffc: 2b00 cmp r3, #0 + 8011ffe: d009 beq.n 8012014 tcp_ack_now(pcb); - 8012470: 683b ldr r3, [r7, #0] - 8012472: 8b5b ldrh r3, [r3, #26] - 8012474: f043 0302 orr.w r3, r3, #2 - 8012478: b29a uxth r2, r3 - 801247a: 683b ldr r3, [r7, #0] - 801247c: 835a strh r2, [r3, #26] + 8012000: 683b ldr r3, [r7, #0] + 8012002: 8b5b ldrh r3, [r3, #26] + 8012004: f043 0302 orr.w r3, r3, #2 + 8012008: b29a uxth r2, r3 + 801200a: 683b ldr r3, [r7, #0] + 801200c: 835a strh r2, [r3, #26] tcp_output(pcb); - 801247e: 6838 ldr r0, [r7, #0] - 8012480: f002 ff68 bl 8015354 + 801200e: 6838 ldr r0, [r7, #0] + 8012010: f002 ff68 bl 8014ee4 } if (pcb->state != LISTEN) { - 8012484: 683b ldr r3, [r7, #0] - 8012486: 7d1b ldrb r3, [r3, #20] - 8012488: 2b01 cmp r3, #1 - 801248a: d020 beq.n 80124ce + 8012014: 683b ldr r3, [r7, #0] + 8012016: 7d1b ldrb r3, [r3, #20] + 8012018: 2b01 cmp r3, #1 + 801201a: d020 beq.n 801205e LWIP_ASSERT("unsent segments leaking", pcb->unsent == NULL); - 801248c: 683b ldr r3, [r7, #0] - 801248e: 6edb ldr r3, [r3, #108] ; 0x6c - 8012490: 2b00 cmp r3, #0 - 8012492: d006 beq.n 80124a2 - 8012494: 4b13 ldr r3, [pc, #76] ; (80124e4 ) - 8012496: f640 0293 movw r2, #2195 ; 0x893 - 801249a: 4916 ldr r1, [pc, #88] ; (80124f4 ) - 801249c: 4813 ldr r0, [pc, #76] ; (80124ec ) - 801249e: f009 f80b bl 801b4b8 + 801201c: 683b ldr r3, [r7, #0] + 801201e: 6edb ldr r3, [r3, #108] ; 0x6c + 8012020: 2b00 cmp r3, #0 + 8012022: d006 beq.n 8012032 + 8012024: 4b13 ldr r3, [pc, #76] ; (8012074 ) + 8012026: f640 0293 movw r2, #2195 ; 0x893 + 801202a: 4916 ldr r1, [pc, #88] ; (8012084 ) + 801202c: 4813 ldr r0, [pc, #76] ; (801207c ) + 801202e: f008 fff1 bl 801b014 LWIP_ASSERT("unacked segments leaking", pcb->unacked == NULL); - 80124a2: 683b ldr r3, [r7, #0] - 80124a4: 6f1b ldr r3, [r3, #112] ; 0x70 - 80124a6: 2b00 cmp r3, #0 - 80124a8: d006 beq.n 80124b8 - 80124aa: 4b0e ldr r3, [pc, #56] ; (80124e4 ) - 80124ac: f640 0294 movw r2, #2196 ; 0x894 - 80124b0: 4911 ldr r1, [pc, #68] ; (80124f8 ) - 80124b2: 480e ldr r0, [pc, #56] ; (80124ec ) - 80124b4: f009 f800 bl 801b4b8 + 8012032: 683b ldr r3, [r7, #0] + 8012034: 6f1b ldr r3, [r3, #112] ; 0x70 + 8012036: 2b00 cmp r3, #0 + 8012038: d006 beq.n 8012048 + 801203a: 4b0e ldr r3, [pc, #56] ; (8012074 ) + 801203c: f640 0294 movw r2, #2196 ; 0x894 + 8012040: 4911 ldr r1, [pc, #68] ; (8012088 ) + 8012042: 480e ldr r0, [pc, #56] ; (801207c ) + 8012044: f008 ffe6 bl 801b014 #if TCP_QUEUE_OOSEQ LWIP_ASSERT("ooseq segments leaking", pcb->ooseq == NULL); - 80124b8: 683b ldr r3, [r7, #0] - 80124ba: 6f5b ldr r3, [r3, #116] ; 0x74 - 80124bc: 2b00 cmp r3, #0 - 80124be: d006 beq.n 80124ce - 80124c0: 4b08 ldr r3, [pc, #32] ; (80124e4 ) - 80124c2: f640 0296 movw r2, #2198 ; 0x896 - 80124c6: 490d ldr r1, [pc, #52] ; (80124fc ) - 80124c8: 4808 ldr r0, [pc, #32] ; (80124ec ) - 80124ca: f008 fff5 bl 801b4b8 + 8012048: 683b ldr r3, [r7, #0] + 801204a: 6f5b ldr r3, [r3, #116] ; 0x74 + 801204c: 2b00 cmp r3, #0 + 801204e: d006 beq.n 801205e + 8012050: 4b08 ldr r3, [pc, #32] ; (8012074 ) + 8012052: f640 0296 movw r2, #2198 ; 0x896 + 8012056: 490d ldr r1, [pc, #52] ; (801208c ) + 8012058: 4808 ldr r0, [pc, #32] ; (801207c ) + 801205a: f008 ffdb bl 801b014 #endif /* TCP_QUEUE_OOSEQ */ } pcb->state = CLOSED; - 80124ce: 683b ldr r3, [r7, #0] - 80124d0: 2200 movs r2, #0 - 80124d2: 751a strb r2, [r3, #20] + 801205e: 683b ldr r3, [r7, #0] + 8012060: 2200 movs r2, #0 + 8012062: 751a strb r2, [r3, #20] /* reset the local port to prevent the pcb from being 'bound' */ pcb->local_port = 0; - 80124d4: 683b ldr r3, [r7, #0] - 80124d6: 2200 movs r2, #0 - 80124d8: 82da strh r2, [r3, #22] + 8012064: 683b ldr r3, [r7, #0] + 8012066: 2200 movs r2, #0 + 8012068: 82da strh r2, [r3, #22] LWIP_ASSERT("tcp_pcb_remove: tcp_pcbs_sane()", tcp_pcbs_sane()); } - 80124da: bf00 nop - 80124dc: 3710 adds r7, #16 - 80124de: 46bd mov sp, r7 - 80124e0: bd80 pop {r7, pc} - 80124e2: bf00 nop - 80124e4: 0801d34c .word 0x0801d34c - 80124e8: 0801d9b4 .word 0x0801d9b4 - 80124ec: 0801d390 .word 0x0801d390 - 80124f0: 0801d9d0 .word 0x0801d9d0 - 80124f4: 0801d9f0 .word 0x0801d9f0 - 80124f8: 0801da08 .word 0x0801da08 - 80124fc: 0801da24 .word 0x0801da24 + 801206a: bf00 nop + 801206c: 3710 adds r7, #16 + 801206e: 46bd mov sp, r7 + 8012070: bd80 pop {r7, pc} + 8012072: bf00 nop + 8012074: 0801cb48 .word 0x0801cb48 + 8012078: 0801d1b0 .word 0x0801d1b0 + 801207c: 0801cb8c .word 0x0801cb8c + 8012080: 0801d1cc .word 0x0801d1cc + 8012084: 0801d1ec .word 0x0801d1ec + 8012088: 0801d204 .word 0x0801d204 + 801208c: 0801d220 .word 0x0801d220 -08012500 : +08012090 : * * @return u32_t pseudo random sequence number */ u32_t tcp_next_iss(struct tcp_pcb *pcb) { - 8012500: b580 push {r7, lr} - 8012502: b082 sub sp, #8 - 8012504: af00 add r7, sp, #0 - 8012506: 6078 str r0, [r7, #4] + 8012090: b580 push {r7, lr} + 8012092: b082 sub sp, #8 + 8012094: af00 add r7, sp, #0 + 8012096: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_next_iss: invalid pcb", pcb != NULL); return LWIP_HOOK_TCP_ISN(&pcb->local_ip, pcb->local_port, &pcb->remote_ip, pcb->remote_port); #else /* LWIP_HOOK_TCP_ISN */ static u32_t iss = 6510; LWIP_ASSERT("tcp_next_iss: invalid pcb", pcb != NULL); - 8012508: 687b ldr r3, [r7, #4] - 801250a: 2b00 cmp r3, #0 - 801250c: d106 bne.n 801251c - 801250e: 4b0a ldr r3, [pc, #40] ; (8012538 ) - 8012510: f640 02af movw r2, #2223 ; 0x8af - 8012514: 4909 ldr r1, [pc, #36] ; (801253c ) - 8012516: 480a ldr r0, [pc, #40] ; (8012540 ) - 8012518: f008 ffce bl 801b4b8 + 8012098: 687b ldr r3, [r7, #4] + 801209a: 2b00 cmp r3, #0 + 801209c: d106 bne.n 80120ac + 801209e: 4b0a ldr r3, [pc, #40] ; (80120c8 ) + 80120a0: f640 02af movw r2, #2223 ; 0x8af + 80120a4: 4909 ldr r1, [pc, #36] ; (80120cc ) + 80120a6: 480a ldr r0, [pc, #40] ; (80120d0 ) + 80120a8: f008 ffb4 bl 801b014 LWIP_UNUSED_ARG(pcb); iss += tcp_ticks; /* XXX */ - 801251c: 4b09 ldr r3, [pc, #36] ; (8012544 ) - 801251e: 681a ldr r2, [r3, #0] - 8012520: 4b09 ldr r3, [pc, #36] ; (8012548 ) - 8012522: 681b ldr r3, [r3, #0] - 8012524: 4413 add r3, r2 - 8012526: 4a07 ldr r2, [pc, #28] ; (8012544 ) - 8012528: 6013 str r3, [r2, #0] + 80120ac: 4b09 ldr r3, [pc, #36] ; (80120d4 ) + 80120ae: 681a ldr r2, [r3, #0] + 80120b0: 4b09 ldr r3, [pc, #36] ; (80120d8 ) + 80120b2: 681b ldr r3, [r3, #0] + 80120b4: 4413 add r3, r2 + 80120b6: 4a07 ldr r2, [pc, #28] ; (80120d4 ) + 80120b8: 6013 str r3, [r2, #0] return iss; - 801252a: 4b06 ldr r3, [pc, #24] ; (8012544 ) - 801252c: 681b ldr r3, [r3, #0] + 80120ba: 4b06 ldr r3, [pc, #24] ; (80120d4 ) + 80120bc: 681b ldr r3, [r3, #0] #endif /* LWIP_HOOK_TCP_ISN */ } - 801252e: 4618 mov r0, r3 - 8012530: 3708 adds r7, #8 - 8012532: 46bd mov sp, r7 - 8012534: bd80 pop {r7, pc} - 8012536: bf00 nop - 8012538: 0801d34c .word 0x0801d34c - 801253c: 0801da3c .word 0x0801da3c - 8012540: 0801d390 .word 0x0801d390 - 8012544: 20000078 .word 0x20000078 - 8012548: 2000f5c8 .word 0x2000f5c8 + 80120be: 4618 mov r0, r3 + 80120c0: 3708 adds r7, #8 + 80120c2: 46bd mov sp, r7 + 80120c4: bd80 pop {r7, pc} + 80120c6: bf00 nop + 80120c8: 0801cb48 .word 0x0801cb48 + 80120cc: 0801d238 .word 0x0801d238 + 80120d0: 0801cb8c .word 0x0801cb8c + 80120d4: 20000078 .word 0x20000078 + 80120d8: 2000f5c4 .word 0x2000f5c4 -0801254c : +080120dc : * by calculating the minimum of TCP_MSS and the mtu (if set) of the target * netif (if not NULL). */ u16_t tcp_eff_send_mss_netif(u16_t sendmss, struct netif *outif, const ip_addr_t *dest) { - 801254c: b580 push {r7, lr} - 801254e: b086 sub sp, #24 - 8012550: af00 add r7, sp, #0 - 8012552: 4603 mov r3, r0 - 8012554: 60b9 str r1, [r7, #8] - 8012556: 607a str r2, [r7, #4] - 8012558: 81fb strh r3, [r7, #14] + 80120dc: b580 push {r7, lr} + 80120de: b086 sub sp, #24 + 80120e0: af00 add r7, sp, #0 + 80120e2: 4603 mov r3, r0 + 80120e4: 60b9 str r1, [r7, #8] + 80120e6: 607a str r2, [r7, #4] + 80120e8: 81fb strh r3, [r7, #14] u16_t mss_s; u16_t mtu; LWIP_UNUSED_ARG(dest); /* in case IPv6 is disabled */ LWIP_ASSERT("tcp_eff_send_mss_netif: invalid dst_ip", dest != NULL); - 801255a: 687b ldr r3, [r7, #4] - 801255c: 2b00 cmp r3, #0 - 801255e: d106 bne.n 801256e - 8012560: 4b14 ldr r3, [pc, #80] ; (80125b4 ) - 8012562: f640 02c5 movw r2, #2245 ; 0x8c5 - 8012566: 4914 ldr r1, [pc, #80] ; (80125b8 ) - 8012568: 4814 ldr r0, [pc, #80] ; (80125bc ) - 801256a: f008 ffa5 bl 801b4b8 + 80120ea: 687b ldr r3, [r7, #4] + 80120ec: 2b00 cmp r3, #0 + 80120ee: d106 bne.n 80120fe + 80120f0: 4b14 ldr r3, [pc, #80] ; (8012144 ) + 80120f2: f640 02c5 movw r2, #2245 ; 0x8c5 + 80120f6: 4914 ldr r1, [pc, #80] ; (8012148 ) + 80120f8: 4814 ldr r0, [pc, #80] ; (801214c ) + 80120fa: f008 ff8b bl 801b014 else #endif /* LWIP_IPV4 */ #endif /* LWIP_IPV6 */ #if LWIP_IPV4 { if (outif == NULL) { - 801256e: 68bb ldr r3, [r7, #8] - 8012570: 2b00 cmp r3, #0 - 8012572: d101 bne.n 8012578 + 80120fe: 68bb ldr r3, [r7, #8] + 8012100: 2b00 cmp r3, #0 + 8012102: d101 bne.n 8012108 return sendmss; - 8012574: 89fb ldrh r3, [r7, #14] - 8012576: e019 b.n 80125ac + 8012104: 89fb ldrh r3, [r7, #14] + 8012106: e019 b.n 801213c } mtu = outif->mtu; - 8012578: 68bb ldr r3, [r7, #8] - 801257a: 8d1b ldrh r3, [r3, #40] ; 0x28 - 801257c: 82fb strh r3, [r7, #22] + 8012108: 68bb ldr r3, [r7, #8] + 801210a: 8d1b ldrh r3, [r3, #40] ; 0x28 + 801210c: 82fb strh r3, [r7, #22] } #endif /* LWIP_IPV4 */ if (mtu != 0) { - 801257e: 8afb ldrh r3, [r7, #22] - 8012580: 2b00 cmp r3, #0 - 8012582: d012 beq.n 80125aa + 801210e: 8afb ldrh r3, [r7, #22] + 8012110: 2b00 cmp r3, #0 + 8012112: d012 beq.n 801213a else #endif /* LWIP_IPV4 */ #endif /* LWIP_IPV6 */ #if LWIP_IPV4 { offset = IP_HLEN + TCP_HLEN; - 8012584: 2328 movs r3, #40 ; 0x28 - 8012586: 82bb strh r3, [r7, #20] + 8012114: 2328 movs r3, #40 ; 0x28 + 8012116: 82bb strh r3, [r7, #20] } #endif /* LWIP_IPV4 */ mss_s = (mtu > offset) ? (u16_t)(mtu - offset) : 0; - 8012588: 8afa ldrh r2, [r7, #22] - 801258a: 8abb ldrh r3, [r7, #20] - 801258c: 429a cmp r2, r3 - 801258e: d904 bls.n 801259a - 8012590: 8afa ldrh r2, [r7, #22] - 8012592: 8abb ldrh r3, [r7, #20] - 8012594: 1ad3 subs r3, r2, r3 - 8012596: b29b uxth r3, r3 - 8012598: e000 b.n 801259c - 801259a: 2300 movs r3, #0 - 801259c: 827b strh r3, [r7, #18] + 8012118: 8afa ldrh r2, [r7, #22] + 801211a: 8abb ldrh r3, [r7, #20] + 801211c: 429a cmp r2, r3 + 801211e: d904 bls.n 801212a + 8012120: 8afa ldrh r2, [r7, #22] + 8012122: 8abb ldrh r3, [r7, #20] + 8012124: 1ad3 subs r3, r2, r3 + 8012126: b29b uxth r3, r3 + 8012128: e000 b.n 801212c + 801212a: 2300 movs r3, #0 + 801212c: 827b strh r3, [r7, #18] /* RFC 1122, chap 4.2.2.6: * Eff.snd.MSS = min(SendMSS+20, MMS_S) - TCPhdrsize - IPoptionsize * We correct for TCP options in tcp_write(), and don't support IP options. */ sendmss = LWIP_MIN(sendmss, mss_s); - 801259e: 8a7a ldrh r2, [r7, #18] - 80125a0: 89fb ldrh r3, [r7, #14] - 80125a2: 4293 cmp r3, r2 - 80125a4: bf28 it cs - 80125a6: 4613 movcs r3, r2 - 80125a8: 81fb strh r3, [r7, #14] + 801212e: 8a7a ldrh r2, [r7, #18] + 8012130: 89fb ldrh r3, [r7, #14] + 8012132: 4293 cmp r3, r2 + 8012134: bf28 it cs + 8012136: 4613 movcs r3, r2 + 8012138: 81fb strh r3, [r7, #14] } return sendmss; - 80125aa: 89fb ldrh r3, [r7, #14] + 801213a: 89fb ldrh r3, [r7, #14] } - 80125ac: 4618 mov r0, r3 - 80125ae: 3718 adds r7, #24 - 80125b0: 46bd mov sp, r7 - 80125b2: bd80 pop {r7, pc} - 80125b4: 0801d34c .word 0x0801d34c - 80125b8: 0801da58 .word 0x0801da58 - 80125bc: 0801d390 .word 0x0801d390 + 801213c: 4618 mov r0, r3 + 801213e: 3718 adds r7, #24 + 8012140: 46bd mov sp, r7 + 8012142: bd80 pop {r7, pc} + 8012144: 0801cb48 .word 0x0801cb48 + 8012148: 0801d254 .word 0x0801d254 + 801214c: 0801cb8c .word 0x0801cb8c -080125c0 : +08012150 : #endif /* TCP_CALCULATE_EFF_SEND_MSS */ /** Helper function for tcp_netif_ip_addr_changed() that iterates a pcb list */ static void tcp_netif_ip_addr_changed_pcblist(const ip_addr_t *old_addr, struct tcp_pcb *pcb_list) { - 80125c0: b580 push {r7, lr} - 80125c2: b084 sub sp, #16 - 80125c4: af00 add r7, sp, #0 - 80125c6: 6078 str r0, [r7, #4] - 80125c8: 6039 str r1, [r7, #0] + 8012150: b580 push {r7, lr} + 8012152: b084 sub sp, #16 + 8012154: af00 add r7, sp, #0 + 8012156: 6078 str r0, [r7, #4] + 8012158: 6039 str r1, [r7, #0] struct tcp_pcb *pcb; pcb = pcb_list; - 80125ca: 683b ldr r3, [r7, #0] - 80125cc: 60fb str r3, [r7, #12] + 801215a: 683b ldr r3, [r7, #0] + 801215c: 60fb str r3, [r7, #12] LWIP_ASSERT("tcp_netif_ip_addr_changed_pcblist: invalid old_addr", old_addr != NULL); - 80125ce: 687b ldr r3, [r7, #4] - 80125d0: 2b00 cmp r3, #0 - 80125d2: d119 bne.n 8012608 - 80125d4: 4b10 ldr r3, [pc, #64] ; (8012618 ) - 80125d6: f44f 6210 mov.w r2, #2304 ; 0x900 - 80125da: 4910 ldr r1, [pc, #64] ; (801261c ) - 80125dc: 4810 ldr r0, [pc, #64] ; (8012620 ) - 80125de: f008 ff6b bl 801b4b8 + 801215e: 687b ldr r3, [r7, #4] + 8012160: 2b00 cmp r3, #0 + 8012162: d119 bne.n 8012198 + 8012164: 4b10 ldr r3, [pc, #64] ; (80121a8 ) + 8012166: f44f 6210 mov.w r2, #2304 ; 0x900 + 801216a: 4910 ldr r1, [pc, #64] ; (80121ac ) + 801216c: 4810 ldr r0, [pc, #64] ; (80121b0 ) + 801216e: f008 ff51 bl 801b014 while (pcb != NULL) { - 80125e2: e011 b.n 8012608 + 8012172: e011 b.n 8012198 /* PCB bound to current local interface address? */ if (ip_addr_cmp(&pcb->local_ip, old_addr) - 80125e4: 68fb ldr r3, [r7, #12] - 80125e6: 681a ldr r2, [r3, #0] - 80125e8: 687b ldr r3, [r7, #4] - 80125ea: 681b ldr r3, [r3, #0] - 80125ec: 429a cmp r2, r3 - 80125ee: d108 bne.n 8012602 + 8012174: 68fb ldr r3, [r7, #12] + 8012176: 681a ldr r2, [r3, #0] + 8012178: 687b ldr r3, [r7, #4] + 801217a: 681b ldr r3, [r3, #0] + 801217c: 429a cmp r2, r3 + 801217e: d108 bne.n 8012192 /* connections to link-local addresses must persist (RFC3927 ch. 1.9) */ && (!IP_IS_V4_VAL(pcb->local_ip) || !ip4_addr_islinklocal(ip_2_ip4(&pcb->local_ip))) #endif /* LWIP_AUTOIP */ ) { /* this connection must be aborted */ struct tcp_pcb *next = pcb->next; - 80125f0: 68fb ldr r3, [r7, #12] - 80125f2: 68db ldr r3, [r3, #12] - 80125f4: 60bb str r3, [r7, #8] + 8012180: 68fb ldr r3, [r7, #12] + 8012182: 68db ldr r3, [r3, #12] + 8012184: 60bb str r3, [r7, #8] LWIP_DEBUGF(NETIF_DEBUG | LWIP_DBG_STATE, ("netif_set_ipaddr: aborting TCP pcb %p\n", (void *)pcb)); tcp_abort(pcb); - 80125f6: 68f8 ldr r0, [r7, #12] - 80125f8: f7fe ffca bl 8011590 + 8012186: 68f8 ldr r0, [r7, #12] + 8012188: f7fe ffca bl 8011120 pcb = next; - 80125fc: 68bb ldr r3, [r7, #8] - 80125fe: 60fb str r3, [r7, #12] - 8012600: e002 b.n 8012608 + 801218c: 68bb ldr r3, [r7, #8] + 801218e: 60fb str r3, [r7, #12] + 8012190: e002 b.n 8012198 } else { pcb = pcb->next; - 8012602: 68fb ldr r3, [r7, #12] - 8012604: 68db ldr r3, [r3, #12] - 8012606: 60fb str r3, [r7, #12] + 8012192: 68fb ldr r3, [r7, #12] + 8012194: 68db ldr r3, [r3, #12] + 8012196: 60fb str r3, [r7, #12] while (pcb != NULL) { - 8012608: 68fb ldr r3, [r7, #12] - 801260a: 2b00 cmp r3, #0 - 801260c: d1ea bne.n 80125e4 + 8012198: 68fb ldr r3, [r7, #12] + 801219a: 2b00 cmp r3, #0 + 801219c: d1ea bne.n 8012174 } } } - 801260e: bf00 nop - 8012610: 3710 adds r7, #16 - 8012612: 46bd mov sp, r7 - 8012614: bd80 pop {r7, pc} - 8012616: bf00 nop - 8012618: 0801d34c .word 0x0801d34c - 801261c: 0801da80 .word 0x0801da80 - 8012620: 0801d390 .word 0x0801d390 + 801219e: bf00 nop + 80121a0: 3710 adds r7, #16 + 80121a2: 46bd mov sp, r7 + 80121a4: bd80 pop {r7, pc} + 80121a6: bf00 nop + 80121a8: 0801cb48 .word 0x0801cb48 + 80121ac: 0801d27c .word 0x0801d27c + 80121b0: 0801cb8c .word 0x0801cb8c -08012624 : +080121b4 : * @param old_addr IP address of the netif before change * @param new_addr IP address of the netif after change or NULL if netif has been removed */ void tcp_netif_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr) { - 8012624: b580 push {r7, lr} - 8012626: b084 sub sp, #16 - 8012628: af00 add r7, sp, #0 - 801262a: 6078 str r0, [r7, #4] - 801262c: 6039 str r1, [r7, #0] + 80121b4: b580 push {r7, lr} + 80121b6: b084 sub sp, #16 + 80121b8: af00 add r7, sp, #0 + 80121ba: 6078 str r0, [r7, #4] + 80121bc: 6039 str r1, [r7, #0] struct tcp_pcb_listen *lpcb; if (!ip_addr_isany(old_addr)) { - 801262e: 687b ldr r3, [r7, #4] - 8012630: 2b00 cmp r3, #0 - 8012632: d02a beq.n 801268a - 8012634: 687b ldr r3, [r7, #4] - 8012636: 681b ldr r3, [r3, #0] - 8012638: 2b00 cmp r3, #0 - 801263a: d026 beq.n 801268a + 80121be: 687b ldr r3, [r7, #4] + 80121c0: 2b00 cmp r3, #0 + 80121c2: d02a beq.n 801221a + 80121c4: 687b ldr r3, [r7, #4] + 80121c6: 681b ldr r3, [r3, #0] + 80121c8: 2b00 cmp r3, #0 + 80121ca: d026 beq.n 801221a tcp_netif_ip_addr_changed_pcblist(old_addr, tcp_active_pcbs); - 801263c: 4b15 ldr r3, [pc, #84] ; (8012694 ) - 801263e: 681b ldr r3, [r3, #0] - 8012640: 4619 mov r1, r3 - 8012642: 6878 ldr r0, [r7, #4] - 8012644: f7ff ffbc bl 80125c0 + 80121cc: 4b15 ldr r3, [pc, #84] ; (8012224 ) + 80121ce: 681b ldr r3, [r3, #0] + 80121d0: 4619 mov r1, r3 + 80121d2: 6878 ldr r0, [r7, #4] + 80121d4: f7ff ffbc bl 8012150 tcp_netif_ip_addr_changed_pcblist(old_addr, tcp_bound_pcbs); - 8012648: 4b13 ldr r3, [pc, #76] ; (8012698 ) - 801264a: 681b ldr r3, [r3, #0] - 801264c: 4619 mov r1, r3 - 801264e: 6878 ldr r0, [r7, #4] - 8012650: f7ff ffb6 bl 80125c0 + 80121d8: 4b13 ldr r3, [pc, #76] ; (8012228 ) + 80121da: 681b ldr r3, [r3, #0] + 80121dc: 4619 mov r1, r3 + 80121de: 6878 ldr r0, [r7, #4] + 80121e0: f7ff ffb6 bl 8012150 if (!ip_addr_isany(new_addr)) { - 8012654: 683b ldr r3, [r7, #0] - 8012656: 2b00 cmp r3, #0 - 8012658: d017 beq.n 801268a - 801265a: 683b ldr r3, [r7, #0] - 801265c: 681b ldr r3, [r3, #0] - 801265e: 2b00 cmp r3, #0 - 8012660: d013 beq.n 801268a + 80121e4: 683b ldr r3, [r7, #0] + 80121e6: 2b00 cmp r3, #0 + 80121e8: d017 beq.n 801221a + 80121ea: 683b ldr r3, [r7, #0] + 80121ec: 681b ldr r3, [r3, #0] + 80121ee: 2b00 cmp r3, #0 + 80121f0: d013 beq.n 801221a /* PCB bound to current local interface address? */ for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { - 8012662: 4b0e ldr r3, [pc, #56] ; (801269c ) - 8012664: 681b ldr r3, [r3, #0] - 8012666: 60fb str r3, [r7, #12] - 8012668: e00c b.n 8012684 + 80121f2: 4b0e ldr r3, [pc, #56] ; (801222c ) + 80121f4: 681b ldr r3, [r3, #0] + 80121f6: 60fb str r3, [r7, #12] + 80121f8: e00c b.n 8012214 /* PCB bound to current local interface address? */ if (ip_addr_cmp(&lpcb->local_ip, old_addr)) { - 801266a: 68fb ldr r3, [r7, #12] - 801266c: 681a ldr r2, [r3, #0] - 801266e: 687b ldr r3, [r7, #4] - 8012670: 681b ldr r3, [r3, #0] - 8012672: 429a cmp r2, r3 - 8012674: d103 bne.n 801267e + 80121fa: 68fb ldr r3, [r7, #12] + 80121fc: 681a ldr r2, [r3, #0] + 80121fe: 687b ldr r3, [r7, #4] + 8012200: 681b ldr r3, [r3, #0] + 8012202: 429a cmp r2, r3 + 8012204: d103 bne.n 801220e /* The PCB is listening to the old ipaddr and * is set to listen to the new one instead */ ip_addr_copy(lpcb->local_ip, *new_addr); - 8012676: 683b ldr r3, [r7, #0] - 8012678: 681a ldr r2, [r3, #0] - 801267a: 68fb ldr r3, [r7, #12] - 801267c: 601a str r2, [r3, #0] + 8012206: 683b ldr r3, [r7, #0] + 8012208: 681a ldr r2, [r3, #0] + 801220a: 68fb ldr r3, [r7, #12] + 801220c: 601a str r2, [r3, #0] for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { - 801267e: 68fb ldr r3, [r7, #12] - 8012680: 68db ldr r3, [r3, #12] - 8012682: 60fb str r3, [r7, #12] - 8012684: 68fb ldr r3, [r7, #12] - 8012686: 2b00 cmp r3, #0 - 8012688: d1ef bne.n 801266a + 801220e: 68fb ldr r3, [r7, #12] + 8012210: 68db ldr r3, [r3, #12] + 8012212: 60fb str r3, [r7, #12] + 8012214: 68fb ldr r3, [r7, #12] + 8012216: 2b00 cmp r3, #0 + 8012218: d1ef bne.n 80121fa } } } } } - 801268a: bf00 nop - 801268c: 3710 adds r7, #16 - 801268e: 46bd mov sp, r7 - 8012690: bd80 pop {r7, pc} - 8012692: bf00 nop - 8012694: 2000f5c4 .word 0x2000f5c4 - 8012698: 2000f5d0 .word 0x2000f5d0 - 801269c: 2000f5cc .word 0x2000f5cc + 801221a: bf00 nop + 801221c: 3710 adds r7, #16 + 801221e: 46bd mov sp, r7 + 8012220: bd80 pop {r7, pc} + 8012222: bf00 nop + 8012224: 2000f5c0 .word 0x2000f5c0 + 8012228: 2000f5cc .word 0x2000f5cc + 801222c: 2000f5c8 .word 0x2000f5c8 -080126a0 : +08012230 : #if TCP_QUEUE_OOSEQ /* Free all ooseq pbufs (and possibly reset SACK state) */ void tcp_free_ooseq(struct tcp_pcb *pcb) { - 80126a0: b580 push {r7, lr} - 80126a2: b082 sub sp, #8 - 80126a4: af00 add r7, sp, #0 - 80126a6: 6078 str r0, [r7, #4] + 8012230: b580 push {r7, lr} + 8012232: b082 sub sp, #8 + 8012234: af00 add r7, sp, #0 + 8012236: 6078 str r0, [r7, #4] if (pcb->ooseq) { - 80126a8: 687b ldr r3, [r7, #4] - 80126aa: 6f5b ldr r3, [r3, #116] ; 0x74 - 80126ac: 2b00 cmp r3, #0 - 80126ae: d007 beq.n 80126c0 + 8012238: 687b ldr r3, [r7, #4] + 801223a: 6f5b ldr r3, [r3, #116] ; 0x74 + 801223c: 2b00 cmp r3, #0 + 801223e: d007 beq.n 8012250 tcp_segs_free(pcb->ooseq); - 80126b0: 687b ldr r3, [r7, #4] - 80126b2: 6f5b ldr r3, [r3, #116] ; 0x74 - 80126b4: 4618 mov r0, r3 - 80126b6: f7ff fc3f bl 8011f38 + 8012240: 687b ldr r3, [r7, #4] + 8012242: 6f5b ldr r3, [r3, #116] ; 0x74 + 8012244: 4618 mov r0, r3 + 8012246: f7ff fc3f bl 8011ac8 pcb->ooseq = NULL; - 80126ba: 687b ldr r3, [r7, #4] - 80126bc: 2200 movs r2, #0 - 80126be: 675a str r2, [r3, #116] ; 0x74 + 801224a: 687b ldr r3, [r7, #4] + 801224c: 2200 movs r2, #0 + 801224e: 675a str r2, [r3, #116] ; 0x74 #if LWIP_TCP_SACK_OUT memset(pcb->rcv_sacks, 0, sizeof(pcb->rcv_sacks)); #endif /* LWIP_TCP_SACK_OUT */ } } - 80126c0: bf00 nop - 80126c2: 3708 adds r7, #8 - 80126c4: 46bd mov sp, r7 - 80126c6: bd80 pop {r7, pc} + 8012250: bf00 nop + 8012252: 3708 adds r7, #8 + 8012254: 46bd mov sp, r7 + 8012256: bd80 pop {r7, pc} -080126c8 : +08012258 : * @param p received TCP segment to process (p->payload pointing to the TCP header) * @param inp network interface on which this segment was received */ void tcp_input(struct pbuf *p, struct netif *inp) { - 80126c8: b590 push {r4, r7, lr} - 80126ca: b08d sub sp, #52 ; 0x34 - 80126cc: af04 add r7, sp, #16 - 80126ce: 6078 str r0, [r7, #4] - 80126d0: 6039 str r1, [r7, #0] + 8012258: b590 push {r4, r7, lr} + 801225a: b08d sub sp, #52 ; 0x34 + 801225c: af04 add r7, sp, #16 + 801225e: 6078 str r0, [r7, #4] + 8012260: 6039 str r1, [r7, #0] u8_t hdrlen_bytes; err_t err; LWIP_UNUSED_ARG(inp); LWIP_ASSERT_CORE_LOCKED(); LWIP_ASSERT("tcp_input: invalid pbuf", p != NULL); - 80126d2: 687b ldr r3, [r7, #4] - 80126d4: 2b00 cmp r3, #0 - 80126d6: d105 bne.n 80126e4 - 80126d8: 4b9b ldr r3, [pc, #620] ; (8012948 ) - 80126da: 2283 movs r2, #131 ; 0x83 - 80126dc: 499b ldr r1, [pc, #620] ; (801294c ) - 80126de: 489c ldr r0, [pc, #624] ; (8012950 ) - 80126e0: f008 feea bl 801b4b8 + 8012262: 687b ldr r3, [r7, #4] + 8012264: 2b00 cmp r3, #0 + 8012266: d105 bne.n 8012274 + 8012268: 4b9b ldr r3, [pc, #620] ; (80124d8 ) + 801226a: 2283 movs r2, #131 ; 0x83 + 801226c: 499b ldr r1, [pc, #620] ; (80124dc ) + 801226e: 489c ldr r0, [pc, #624] ; (80124e0 ) + 8012270: f008 fed0 bl 801b014 PERF_START; TCP_STATS_INC(tcp.recv); MIB2_STATS_INC(mib2.tcpinsegs); tcphdr = (struct tcp_hdr *)p->payload; - 80126e4: 687b ldr r3, [r7, #4] - 80126e6: 685b ldr r3, [r3, #4] - 80126e8: 4a9a ldr r2, [pc, #616] ; (8012954 ) - 80126ea: 6013 str r3, [r2, #0] + 8012274: 687b ldr r3, [r7, #4] + 8012276: 685b ldr r3, [r3, #4] + 8012278: 4a9a ldr r2, [pc, #616] ; (80124e4 ) + 801227a: 6013 str r3, [r2, #0] #if TCP_INPUT_DEBUG tcp_debug_print(tcphdr); #endif /* Check that TCP header fits in payload */ if (p->len < TCP_HLEN) { - 80126ec: 687b ldr r3, [r7, #4] - 80126ee: 895b ldrh r3, [r3, #10] - 80126f0: 2b13 cmp r3, #19 - 80126f2: f240 83c4 bls.w 8012e7e + 801227c: 687b ldr r3, [r7, #4] + 801227e: 895b ldrh r3, [r3, #10] + 8012280: 2b13 cmp r3, #19 + 8012282: f240 83c4 bls.w 8012a0e TCP_STATS_INC(tcp.lenerr); goto dropped; } /* Don't even process incoming broadcasts/multicasts. */ if (ip_addr_isbroadcast(ip_current_dest_addr(), ip_current_netif()) || - 80126f6: 4b98 ldr r3, [pc, #608] ; (8012958 ) - 80126f8: 695a ldr r2, [r3, #20] - 80126fa: 4b97 ldr r3, [pc, #604] ; (8012958 ) - 80126fc: 681b ldr r3, [r3, #0] - 80126fe: 4619 mov r1, r3 - 8012700: 4610 mov r0, r2 - 8012702: f007 fe17 bl 801a334 - 8012706: 4603 mov r3, r0 - 8012708: 2b00 cmp r3, #0 - 801270a: f040 83ba bne.w 8012e82 + 8012286: 4b98 ldr r3, [pc, #608] ; (80124e8 ) + 8012288: 695a ldr r2, [r3, #20] + 801228a: 4b97 ldr r3, [pc, #604] ; (80124e8 ) + 801228c: 681b ldr r3, [r3, #0] + 801228e: 4619 mov r1, r3 + 8012290: 4610 mov r0, r2 + 8012292: f007 fe17 bl 8019ec4 + 8012296: 4603 mov r3, r0 + 8012298: 2b00 cmp r3, #0 + 801229a: f040 83ba bne.w 8012a12 ip_addr_ismulticast(ip_current_dest_addr())) { - 801270e: 4b92 ldr r3, [pc, #584] ; (8012958 ) - 8012710: 695b ldr r3, [r3, #20] - 8012712: f003 03f0 and.w r3, r3, #240 ; 0xf0 + 801229e: 4b92 ldr r3, [pc, #584] ; (80124e8 ) + 80122a0: 695b ldr r3, [r3, #20] + 80122a2: f003 03f0 and.w r3, r3, #240 ; 0xf0 if (ip_addr_isbroadcast(ip_current_dest_addr(), ip_current_netif()) || - 8012716: 2be0 cmp r3, #224 ; 0xe0 - 8012718: f000 83b3 beq.w 8012e82 + 80122a6: 2be0 cmp r3, #224 ; 0xe0 + 80122a8: f000 83b3 beq.w 8012a12 } } #endif /* CHECKSUM_CHECK_TCP */ /* sanity-check header length */ hdrlen_bytes = TCPH_HDRLEN_BYTES(tcphdr); - 801271c: 4b8d ldr r3, [pc, #564] ; (8012954 ) - 801271e: 681b ldr r3, [r3, #0] - 8012720: 899b ldrh r3, [r3, #12] - 8012722: b29b uxth r3, r3 - 8012724: 4618 mov r0, r3 - 8012726: f7fc fde3 bl 800f2f0 - 801272a: 4603 mov r3, r0 - 801272c: 0b1b lsrs r3, r3, #12 - 801272e: b29b uxth r3, r3 - 8012730: b2db uxtb r3, r3 - 8012732: 009b lsls r3, r3, #2 - 8012734: 74bb strb r3, [r7, #18] + 80122ac: 4b8d ldr r3, [pc, #564] ; (80124e4 ) + 80122ae: 681b ldr r3, [r3, #0] + 80122b0: 899b ldrh r3, [r3, #12] + 80122b2: b29b uxth r3, r3 + 80122b4: 4618 mov r0, r3 + 80122b6: f7fc fde3 bl 800ee80 + 80122ba: 4603 mov r3, r0 + 80122bc: 0b1b lsrs r3, r3, #12 + 80122be: b29b uxth r3, r3 + 80122c0: b2db uxtb r3, r3 + 80122c2: 009b lsls r3, r3, #2 + 80122c4: 74bb strb r3, [r7, #18] if ((hdrlen_bytes < TCP_HLEN) || (hdrlen_bytes > p->tot_len)) { - 8012736: 7cbb ldrb r3, [r7, #18] - 8012738: 2b13 cmp r3, #19 - 801273a: f240 83a2 bls.w 8012e82 - 801273e: 7cbb ldrb r3, [r7, #18] - 8012740: b29a uxth r2, r3 - 8012742: 687b ldr r3, [r7, #4] - 8012744: 891b ldrh r3, [r3, #8] - 8012746: 429a cmp r2, r3 - 8012748: f200 839b bhi.w 8012e82 + 80122c6: 7cbb ldrb r3, [r7, #18] + 80122c8: 2b13 cmp r3, #19 + 80122ca: f240 83a2 bls.w 8012a12 + 80122ce: 7cbb ldrb r3, [r7, #18] + 80122d0: b29a uxth r2, r3 + 80122d2: 687b ldr r3, [r7, #4] + 80122d4: 891b ldrh r3, [r3, #8] + 80122d6: 429a cmp r2, r3 + 80122d8: f200 839b bhi.w 8012a12 goto dropped; } /* Move the payload pointer in the pbuf so that it points to the TCP data instead of the TCP header. */ tcphdr_optlen = (u16_t)(hdrlen_bytes - TCP_HLEN); - 801274c: 7cbb ldrb r3, [r7, #18] - 801274e: b29b uxth r3, r3 - 8012750: 3b14 subs r3, #20 - 8012752: b29a uxth r2, r3 - 8012754: 4b81 ldr r3, [pc, #516] ; (801295c ) - 8012756: 801a strh r2, [r3, #0] + 80122dc: 7cbb ldrb r3, [r7, #18] + 80122de: b29b uxth r3, r3 + 80122e0: 3b14 subs r3, #20 + 80122e2: b29a uxth r2, r3 + 80122e4: 4b81 ldr r3, [pc, #516] ; (80124ec ) + 80122e6: 801a strh r2, [r3, #0] tcphdr_opt2 = NULL; - 8012758: 4b81 ldr r3, [pc, #516] ; (8012960 ) - 801275a: 2200 movs r2, #0 - 801275c: 601a str r2, [r3, #0] + 80122e8: 4b81 ldr r3, [pc, #516] ; (80124f0 ) + 80122ea: 2200 movs r2, #0 + 80122ec: 601a str r2, [r3, #0] if (p->len >= hdrlen_bytes) { - 801275e: 687b ldr r3, [r7, #4] - 8012760: 895a ldrh r2, [r3, #10] - 8012762: 7cbb ldrb r3, [r7, #18] - 8012764: b29b uxth r3, r3 - 8012766: 429a cmp r2, r3 - 8012768: d309 bcc.n 801277e + 80122ee: 687b ldr r3, [r7, #4] + 80122f0: 895a ldrh r2, [r3, #10] + 80122f2: 7cbb ldrb r3, [r7, #18] + 80122f4: b29b uxth r3, r3 + 80122f6: 429a cmp r2, r3 + 80122f8: d309 bcc.n 801230e /* all options are in the first pbuf */ tcphdr_opt1len = tcphdr_optlen; - 801276a: 4b7c ldr r3, [pc, #496] ; (801295c ) - 801276c: 881a ldrh r2, [r3, #0] - 801276e: 4b7d ldr r3, [pc, #500] ; (8012964 ) - 8012770: 801a strh r2, [r3, #0] + 80122fa: 4b7c ldr r3, [pc, #496] ; (80124ec ) + 80122fc: 881a ldrh r2, [r3, #0] + 80122fe: 4b7d ldr r3, [pc, #500] ; (80124f4 ) + 8012300: 801a strh r2, [r3, #0] pbuf_remove_header(p, hdrlen_bytes); /* cannot fail */ - 8012772: 7cbb ldrb r3, [r7, #18] - 8012774: 4619 mov r1, r3 - 8012776: 6878 ldr r0, [r7, #4] - 8012778: f7fe f8e8 bl 801094c - 801277c: e04e b.n 801281c + 8012302: 7cbb ldrb r3, [r7, #18] + 8012304: 4619 mov r1, r3 + 8012306: 6878 ldr r0, [r7, #4] + 8012308: f7fe f8e8 bl 80104dc + 801230c: e04e b.n 80123ac } else { u16_t opt2len; /* TCP header fits into first pbuf, options don't - data is in the next pbuf */ /* there must be a next pbuf, due to hdrlen_bytes sanity check above */ LWIP_ASSERT("p->next != NULL", p->next != NULL); - 801277e: 687b ldr r3, [r7, #4] - 8012780: 681b ldr r3, [r3, #0] - 8012782: 2b00 cmp r3, #0 - 8012784: d105 bne.n 8012792 - 8012786: 4b70 ldr r3, [pc, #448] ; (8012948 ) - 8012788: 22c2 movs r2, #194 ; 0xc2 - 801278a: 4977 ldr r1, [pc, #476] ; (8012968 ) - 801278c: 4870 ldr r0, [pc, #448] ; (8012950 ) - 801278e: f008 fe93 bl 801b4b8 + 801230e: 687b ldr r3, [r7, #4] + 8012310: 681b ldr r3, [r3, #0] + 8012312: 2b00 cmp r3, #0 + 8012314: d105 bne.n 8012322 + 8012316: 4b70 ldr r3, [pc, #448] ; (80124d8 ) + 8012318: 22c2 movs r2, #194 ; 0xc2 + 801231a: 4977 ldr r1, [pc, #476] ; (80124f8 ) + 801231c: 4870 ldr r0, [pc, #448] ; (80124e0 ) + 801231e: f008 fe79 bl 801b014 /* advance over the TCP header (cannot fail) */ pbuf_remove_header(p, TCP_HLEN); - 8012792: 2114 movs r1, #20 - 8012794: 6878 ldr r0, [r7, #4] - 8012796: f7fe f8d9 bl 801094c + 8012322: 2114 movs r1, #20 + 8012324: 6878 ldr r0, [r7, #4] + 8012326: f7fe f8d9 bl 80104dc /* determine how long the first and second parts of the options are */ tcphdr_opt1len = p->len; - 801279a: 687b ldr r3, [r7, #4] - 801279c: 895a ldrh r2, [r3, #10] - 801279e: 4b71 ldr r3, [pc, #452] ; (8012964 ) - 80127a0: 801a strh r2, [r3, #0] + 801232a: 687b ldr r3, [r7, #4] + 801232c: 895a ldrh r2, [r3, #10] + 801232e: 4b71 ldr r3, [pc, #452] ; (80124f4 ) + 8012330: 801a strh r2, [r3, #0] opt2len = (u16_t)(tcphdr_optlen - tcphdr_opt1len); - 80127a2: 4b6e ldr r3, [pc, #440] ; (801295c ) - 80127a4: 881a ldrh r2, [r3, #0] - 80127a6: 4b6f ldr r3, [pc, #444] ; (8012964 ) - 80127a8: 881b ldrh r3, [r3, #0] - 80127aa: 1ad3 subs r3, r2, r3 - 80127ac: 823b strh r3, [r7, #16] + 8012332: 4b6e ldr r3, [pc, #440] ; (80124ec ) + 8012334: 881a ldrh r2, [r3, #0] + 8012336: 4b6f ldr r3, [pc, #444] ; (80124f4 ) + 8012338: 881b ldrh r3, [r3, #0] + 801233a: 1ad3 subs r3, r2, r3 + 801233c: 823b strh r3, [r7, #16] /* options continue in the next pbuf: set p to zero length and hide the options in the next pbuf (adjusting p->tot_len) */ pbuf_remove_header(p, tcphdr_opt1len); - 80127ae: 4b6d ldr r3, [pc, #436] ; (8012964 ) - 80127b0: 881b ldrh r3, [r3, #0] - 80127b2: 4619 mov r1, r3 - 80127b4: 6878 ldr r0, [r7, #4] - 80127b6: f7fe f8c9 bl 801094c + 801233e: 4b6d ldr r3, [pc, #436] ; (80124f4 ) + 8012340: 881b ldrh r3, [r3, #0] + 8012342: 4619 mov r1, r3 + 8012344: 6878 ldr r0, [r7, #4] + 8012346: f7fe f8c9 bl 80104dc /* check that the options fit in the second pbuf */ if (opt2len > p->next->len) { - 80127ba: 687b ldr r3, [r7, #4] - 80127bc: 681b ldr r3, [r3, #0] - 80127be: 895b ldrh r3, [r3, #10] - 80127c0: 8a3a ldrh r2, [r7, #16] - 80127c2: 429a cmp r2, r3 - 80127c4: f200 835f bhi.w 8012e86 + 801234a: 687b ldr r3, [r7, #4] + 801234c: 681b ldr r3, [r3, #0] + 801234e: 895b ldrh r3, [r3, #10] + 8012350: 8a3a ldrh r2, [r7, #16] + 8012352: 429a cmp r2, r3 + 8012354: f200 835f bhi.w 8012a16 TCP_STATS_INC(tcp.lenerr); goto dropped; } /* remember the pointer to the second part of the options */ tcphdr_opt2 = (u8_t *)p->next->payload; - 80127c8: 687b ldr r3, [r7, #4] - 80127ca: 681b ldr r3, [r3, #0] - 80127cc: 685b ldr r3, [r3, #4] - 80127ce: 4a64 ldr r2, [pc, #400] ; (8012960 ) - 80127d0: 6013 str r3, [r2, #0] + 8012358: 687b ldr r3, [r7, #4] + 801235a: 681b ldr r3, [r3, #0] + 801235c: 685b ldr r3, [r3, #4] + 801235e: 4a64 ldr r2, [pc, #400] ; (80124f0 ) + 8012360: 6013 str r3, [r2, #0] /* advance p->next to point after the options, and manually adjust p->tot_len to keep it consistent with the changed p->next */ pbuf_remove_header(p->next, opt2len); - 80127d2: 687b ldr r3, [r7, #4] - 80127d4: 681b ldr r3, [r3, #0] - 80127d6: 8a3a ldrh r2, [r7, #16] - 80127d8: 4611 mov r1, r2 - 80127da: 4618 mov r0, r3 - 80127dc: f7fe f8b6 bl 801094c + 8012362: 687b ldr r3, [r7, #4] + 8012364: 681b ldr r3, [r3, #0] + 8012366: 8a3a ldrh r2, [r7, #16] + 8012368: 4611 mov r1, r2 + 801236a: 4618 mov r0, r3 + 801236c: f7fe f8b6 bl 80104dc p->tot_len = (u16_t)(p->tot_len - opt2len); - 80127e0: 687b ldr r3, [r7, #4] - 80127e2: 891a ldrh r2, [r3, #8] - 80127e4: 8a3b ldrh r3, [r7, #16] - 80127e6: 1ad3 subs r3, r2, r3 - 80127e8: b29a uxth r2, r3 - 80127ea: 687b ldr r3, [r7, #4] - 80127ec: 811a strh r2, [r3, #8] + 8012370: 687b ldr r3, [r7, #4] + 8012372: 891a ldrh r2, [r3, #8] + 8012374: 8a3b ldrh r3, [r7, #16] + 8012376: 1ad3 subs r3, r2, r3 + 8012378: b29a uxth r2, r3 + 801237a: 687b ldr r3, [r7, #4] + 801237c: 811a strh r2, [r3, #8] LWIP_ASSERT("p->len == 0", p->len == 0); - 80127ee: 687b ldr r3, [r7, #4] - 80127f0: 895b ldrh r3, [r3, #10] - 80127f2: 2b00 cmp r3, #0 - 80127f4: d005 beq.n 8012802 - 80127f6: 4b54 ldr r3, [pc, #336] ; (8012948 ) - 80127f8: 22df movs r2, #223 ; 0xdf - 80127fa: 495c ldr r1, [pc, #368] ; (801296c ) - 80127fc: 4854 ldr r0, [pc, #336] ; (8012950 ) - 80127fe: f008 fe5b bl 801b4b8 + 801237e: 687b ldr r3, [r7, #4] + 8012380: 895b ldrh r3, [r3, #10] + 8012382: 2b00 cmp r3, #0 + 8012384: d005 beq.n 8012392 + 8012386: 4b54 ldr r3, [pc, #336] ; (80124d8 ) + 8012388: 22df movs r2, #223 ; 0xdf + 801238a: 495c ldr r1, [pc, #368] ; (80124fc ) + 801238c: 4854 ldr r0, [pc, #336] ; (80124e0 ) + 801238e: f008 fe41 bl 801b014 LWIP_ASSERT("p->tot_len == p->next->tot_len", p->tot_len == p->next->tot_len); - 8012802: 687b ldr r3, [r7, #4] - 8012804: 891a ldrh r2, [r3, #8] - 8012806: 687b ldr r3, [r7, #4] - 8012808: 681b ldr r3, [r3, #0] - 801280a: 891b ldrh r3, [r3, #8] - 801280c: 429a cmp r2, r3 - 801280e: d005 beq.n 801281c - 8012810: 4b4d ldr r3, [pc, #308] ; (8012948 ) - 8012812: 22e0 movs r2, #224 ; 0xe0 - 8012814: 4956 ldr r1, [pc, #344] ; (8012970 ) - 8012816: 484e ldr r0, [pc, #312] ; (8012950 ) - 8012818: f008 fe4e bl 801b4b8 + 8012392: 687b ldr r3, [r7, #4] + 8012394: 891a ldrh r2, [r3, #8] + 8012396: 687b ldr r3, [r7, #4] + 8012398: 681b ldr r3, [r3, #0] + 801239a: 891b ldrh r3, [r3, #8] + 801239c: 429a cmp r2, r3 + 801239e: d005 beq.n 80123ac + 80123a0: 4b4d ldr r3, [pc, #308] ; (80124d8 ) + 80123a2: 22e0 movs r2, #224 ; 0xe0 + 80123a4: 4956 ldr r1, [pc, #344] ; (8012500 ) + 80123a6: 484e ldr r0, [pc, #312] ; (80124e0 ) + 80123a8: f008 fe34 bl 801b014 } /* Convert fields in TCP header to host byte order. */ tcphdr->src = lwip_ntohs(tcphdr->src); - 801281c: 4b4d ldr r3, [pc, #308] ; (8012954 ) - 801281e: 681b ldr r3, [r3, #0] - 8012820: 881b ldrh r3, [r3, #0] - 8012822: b29a uxth r2, r3 - 8012824: 4b4b ldr r3, [pc, #300] ; (8012954 ) - 8012826: 681c ldr r4, [r3, #0] - 8012828: 4610 mov r0, r2 - 801282a: f7fc fd61 bl 800f2f0 - 801282e: 4603 mov r3, r0 - 8012830: 8023 strh r3, [r4, #0] + 80123ac: 4b4d ldr r3, [pc, #308] ; (80124e4 ) + 80123ae: 681b ldr r3, [r3, #0] + 80123b0: 881b ldrh r3, [r3, #0] + 80123b2: b29a uxth r2, r3 + 80123b4: 4b4b ldr r3, [pc, #300] ; (80124e4 ) + 80123b6: 681c ldr r4, [r3, #0] + 80123b8: 4610 mov r0, r2 + 80123ba: f7fc fd61 bl 800ee80 + 80123be: 4603 mov r3, r0 + 80123c0: 8023 strh r3, [r4, #0] tcphdr->dest = lwip_ntohs(tcphdr->dest); - 8012832: 4b48 ldr r3, [pc, #288] ; (8012954 ) - 8012834: 681b ldr r3, [r3, #0] - 8012836: 885b ldrh r3, [r3, #2] - 8012838: b29a uxth r2, r3 - 801283a: 4b46 ldr r3, [pc, #280] ; (8012954 ) - 801283c: 681c ldr r4, [r3, #0] - 801283e: 4610 mov r0, r2 - 8012840: f7fc fd56 bl 800f2f0 - 8012844: 4603 mov r3, r0 - 8012846: 8063 strh r3, [r4, #2] + 80123c2: 4b48 ldr r3, [pc, #288] ; (80124e4 ) + 80123c4: 681b ldr r3, [r3, #0] + 80123c6: 885b ldrh r3, [r3, #2] + 80123c8: b29a uxth r2, r3 + 80123ca: 4b46 ldr r3, [pc, #280] ; (80124e4 ) + 80123cc: 681c ldr r4, [r3, #0] + 80123ce: 4610 mov r0, r2 + 80123d0: f7fc fd56 bl 800ee80 + 80123d4: 4603 mov r3, r0 + 80123d6: 8063 strh r3, [r4, #2] seqno = tcphdr->seqno = lwip_ntohl(tcphdr->seqno); - 8012848: 4b42 ldr r3, [pc, #264] ; (8012954 ) - 801284a: 681b ldr r3, [r3, #0] - 801284c: 685a ldr r2, [r3, #4] - 801284e: 4b41 ldr r3, [pc, #260] ; (8012954 ) - 8012850: 681c ldr r4, [r3, #0] - 8012852: 4610 mov r0, r2 - 8012854: f7fc fd61 bl 800f31a - 8012858: 4603 mov r3, r0 - 801285a: 6063 str r3, [r4, #4] - 801285c: 6863 ldr r3, [r4, #4] - 801285e: 4a45 ldr r2, [pc, #276] ; (8012974 ) - 8012860: 6013 str r3, [r2, #0] + 80123d8: 4b42 ldr r3, [pc, #264] ; (80124e4 ) + 80123da: 681b ldr r3, [r3, #0] + 80123dc: 685a ldr r2, [r3, #4] + 80123de: 4b41 ldr r3, [pc, #260] ; (80124e4 ) + 80123e0: 681c ldr r4, [r3, #0] + 80123e2: 4610 mov r0, r2 + 80123e4: f7fc fd61 bl 800eeaa + 80123e8: 4603 mov r3, r0 + 80123ea: 6063 str r3, [r4, #4] + 80123ec: 6863 ldr r3, [r4, #4] + 80123ee: 4a45 ldr r2, [pc, #276] ; (8012504 ) + 80123f0: 6013 str r3, [r2, #0] ackno = tcphdr->ackno = lwip_ntohl(tcphdr->ackno); - 8012862: 4b3c ldr r3, [pc, #240] ; (8012954 ) - 8012864: 681b ldr r3, [r3, #0] - 8012866: 689a ldr r2, [r3, #8] - 8012868: 4b3a ldr r3, [pc, #232] ; (8012954 ) - 801286a: 681c ldr r4, [r3, #0] - 801286c: 4610 mov r0, r2 - 801286e: f7fc fd54 bl 800f31a - 8012872: 4603 mov r3, r0 - 8012874: 60a3 str r3, [r4, #8] - 8012876: 68a3 ldr r3, [r4, #8] - 8012878: 4a3f ldr r2, [pc, #252] ; (8012978 ) - 801287a: 6013 str r3, [r2, #0] + 80123f2: 4b3c ldr r3, [pc, #240] ; (80124e4 ) + 80123f4: 681b ldr r3, [r3, #0] + 80123f6: 689a ldr r2, [r3, #8] + 80123f8: 4b3a ldr r3, [pc, #232] ; (80124e4 ) + 80123fa: 681c ldr r4, [r3, #0] + 80123fc: 4610 mov r0, r2 + 80123fe: f7fc fd54 bl 800eeaa + 8012402: 4603 mov r3, r0 + 8012404: 60a3 str r3, [r4, #8] + 8012406: 68a3 ldr r3, [r4, #8] + 8012408: 4a3f ldr r2, [pc, #252] ; (8012508 ) + 801240a: 6013 str r3, [r2, #0] tcphdr->wnd = lwip_ntohs(tcphdr->wnd); - 801287c: 4b35 ldr r3, [pc, #212] ; (8012954 ) - 801287e: 681b ldr r3, [r3, #0] - 8012880: 89db ldrh r3, [r3, #14] - 8012882: b29a uxth r2, r3 - 8012884: 4b33 ldr r3, [pc, #204] ; (8012954 ) - 8012886: 681c ldr r4, [r3, #0] - 8012888: 4610 mov r0, r2 - 801288a: f7fc fd31 bl 800f2f0 - 801288e: 4603 mov r3, r0 - 8012890: 81e3 strh r3, [r4, #14] + 801240c: 4b35 ldr r3, [pc, #212] ; (80124e4 ) + 801240e: 681b ldr r3, [r3, #0] + 8012410: 89db ldrh r3, [r3, #14] + 8012412: b29a uxth r2, r3 + 8012414: 4b33 ldr r3, [pc, #204] ; (80124e4 ) + 8012416: 681c ldr r4, [r3, #0] + 8012418: 4610 mov r0, r2 + 801241a: f7fc fd31 bl 800ee80 + 801241e: 4603 mov r3, r0 + 8012420: 81e3 strh r3, [r4, #14] flags = TCPH_FLAGS(tcphdr); - 8012892: 4b30 ldr r3, [pc, #192] ; (8012954 ) - 8012894: 681b ldr r3, [r3, #0] - 8012896: 899b ldrh r3, [r3, #12] - 8012898: b29b uxth r3, r3 - 801289a: 4618 mov r0, r3 - 801289c: f7fc fd28 bl 800f2f0 - 80128a0: 4603 mov r3, r0 - 80128a2: b2db uxtb r3, r3 - 80128a4: f003 033f and.w r3, r3, #63 ; 0x3f - 80128a8: b2da uxtb r2, r3 - 80128aa: 4b34 ldr r3, [pc, #208] ; (801297c ) - 80128ac: 701a strb r2, [r3, #0] + 8012422: 4b30 ldr r3, [pc, #192] ; (80124e4 ) + 8012424: 681b ldr r3, [r3, #0] + 8012426: 899b ldrh r3, [r3, #12] + 8012428: b29b uxth r3, r3 + 801242a: 4618 mov r0, r3 + 801242c: f7fc fd28 bl 800ee80 + 8012430: 4603 mov r3, r0 + 8012432: b2db uxtb r3, r3 + 8012434: f003 033f and.w r3, r3, #63 ; 0x3f + 8012438: b2da uxtb r2, r3 + 801243a: 4b34 ldr r3, [pc, #208] ; (801250c ) + 801243c: 701a strb r2, [r3, #0] tcplen = p->tot_len; - 80128ae: 687b ldr r3, [r7, #4] - 80128b0: 891a ldrh r2, [r3, #8] - 80128b2: 4b33 ldr r3, [pc, #204] ; (8012980 ) - 80128b4: 801a strh r2, [r3, #0] + 801243e: 687b ldr r3, [r7, #4] + 8012440: 891a ldrh r2, [r3, #8] + 8012442: 4b33 ldr r3, [pc, #204] ; (8012510 ) + 8012444: 801a strh r2, [r3, #0] if (flags & (TCP_FIN | TCP_SYN)) { - 80128b6: 4b31 ldr r3, [pc, #196] ; (801297c ) - 80128b8: 781b ldrb r3, [r3, #0] - 80128ba: f003 0303 and.w r3, r3, #3 - 80128be: 2b00 cmp r3, #0 - 80128c0: d00c beq.n 80128dc + 8012446: 4b31 ldr r3, [pc, #196] ; (801250c ) + 8012448: 781b ldrb r3, [r3, #0] + 801244a: f003 0303 and.w r3, r3, #3 + 801244e: 2b00 cmp r3, #0 + 8012450: d00c beq.n 801246c tcplen++; - 80128c2: 4b2f ldr r3, [pc, #188] ; (8012980 ) - 80128c4: 881b ldrh r3, [r3, #0] - 80128c6: 3301 adds r3, #1 - 80128c8: b29a uxth r2, r3 - 80128ca: 4b2d ldr r3, [pc, #180] ; (8012980 ) - 80128cc: 801a strh r2, [r3, #0] + 8012452: 4b2f ldr r3, [pc, #188] ; (8012510 ) + 8012454: 881b ldrh r3, [r3, #0] + 8012456: 3301 adds r3, #1 + 8012458: b29a uxth r2, r3 + 801245a: 4b2d ldr r3, [pc, #180] ; (8012510 ) + 801245c: 801a strh r2, [r3, #0] if (tcplen < p->tot_len) { - 80128ce: 687b ldr r3, [r7, #4] - 80128d0: 891a ldrh r2, [r3, #8] - 80128d2: 4b2b ldr r3, [pc, #172] ; (8012980 ) - 80128d4: 881b ldrh r3, [r3, #0] - 80128d6: 429a cmp r2, r3 - 80128d8: f200 82d7 bhi.w 8012e8a + 801245e: 687b ldr r3, [r7, #4] + 8012460: 891a ldrh r2, [r3, #8] + 8012462: 4b2b ldr r3, [pc, #172] ; (8012510 ) + 8012464: 881b ldrh r3, [r3, #0] + 8012466: 429a cmp r2, r3 + 8012468: f200 82d7 bhi.w 8012a1a } } /* Demultiplex an incoming segment. First, we check if it is destined for an active connection. */ prev = NULL; - 80128dc: 2300 movs r3, #0 - 80128de: 61bb str r3, [r7, #24] + 801246c: 2300 movs r3, #0 + 801246e: 61bb str r3, [r7, #24] for (pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { - 80128e0: 4b28 ldr r3, [pc, #160] ; (8012984 ) - 80128e2: 681b ldr r3, [r3, #0] - 80128e4: 61fb str r3, [r7, #28] - 80128e6: e09d b.n 8012a24 + 8012470: 4b28 ldr r3, [pc, #160] ; (8012514 ) + 8012472: 681b ldr r3, [r3, #0] + 8012474: 61fb str r3, [r7, #28] + 8012476: e09d b.n 80125b4 LWIP_ASSERT("tcp_input: active pcb->state != CLOSED", pcb->state != CLOSED); - 80128e8: 69fb ldr r3, [r7, #28] - 80128ea: 7d1b ldrb r3, [r3, #20] - 80128ec: 2b00 cmp r3, #0 - 80128ee: d105 bne.n 80128fc - 80128f0: 4b15 ldr r3, [pc, #84] ; (8012948 ) - 80128f2: 22fb movs r2, #251 ; 0xfb - 80128f4: 4924 ldr r1, [pc, #144] ; (8012988 ) - 80128f6: 4816 ldr r0, [pc, #88] ; (8012950 ) - 80128f8: f008 fdde bl 801b4b8 + 8012478: 69fb ldr r3, [r7, #28] + 801247a: 7d1b ldrb r3, [r3, #20] + 801247c: 2b00 cmp r3, #0 + 801247e: d105 bne.n 801248c + 8012480: 4b15 ldr r3, [pc, #84] ; (80124d8 ) + 8012482: 22fb movs r2, #251 ; 0xfb + 8012484: 4924 ldr r1, [pc, #144] ; (8012518 ) + 8012486: 4816 ldr r0, [pc, #88] ; (80124e0 ) + 8012488: f008 fdc4 bl 801b014 LWIP_ASSERT("tcp_input: active pcb->state != TIME-WAIT", pcb->state != TIME_WAIT); - 80128fc: 69fb ldr r3, [r7, #28] - 80128fe: 7d1b ldrb r3, [r3, #20] - 8012900: 2b0a cmp r3, #10 - 8012902: d105 bne.n 8012910 - 8012904: 4b10 ldr r3, [pc, #64] ; (8012948 ) - 8012906: 22fc movs r2, #252 ; 0xfc - 8012908: 4920 ldr r1, [pc, #128] ; (801298c ) - 801290a: 4811 ldr r0, [pc, #68] ; (8012950 ) - 801290c: f008 fdd4 bl 801b4b8 + 801248c: 69fb ldr r3, [r7, #28] + 801248e: 7d1b ldrb r3, [r3, #20] + 8012490: 2b0a cmp r3, #10 + 8012492: d105 bne.n 80124a0 + 8012494: 4b10 ldr r3, [pc, #64] ; (80124d8 ) + 8012496: 22fc movs r2, #252 ; 0xfc + 8012498: 4920 ldr r1, [pc, #128] ; (801251c ) + 801249a: 4811 ldr r0, [pc, #68] ; (80124e0 ) + 801249c: f008 fdba bl 801b014 LWIP_ASSERT("tcp_input: active pcb->state != LISTEN", pcb->state != LISTEN); - 8012910: 69fb ldr r3, [r7, #28] - 8012912: 7d1b ldrb r3, [r3, #20] - 8012914: 2b01 cmp r3, #1 - 8012916: d105 bne.n 8012924 - 8012918: 4b0b ldr r3, [pc, #44] ; (8012948 ) - 801291a: 22fd movs r2, #253 ; 0xfd - 801291c: 491c ldr r1, [pc, #112] ; (8012990 ) - 801291e: 480c ldr r0, [pc, #48] ; (8012950 ) - 8012920: f008 fdca bl 801b4b8 + 80124a0: 69fb ldr r3, [r7, #28] + 80124a2: 7d1b ldrb r3, [r3, #20] + 80124a4: 2b01 cmp r3, #1 + 80124a6: d105 bne.n 80124b4 + 80124a8: 4b0b ldr r3, [pc, #44] ; (80124d8 ) + 80124aa: 22fd movs r2, #253 ; 0xfd + 80124ac: 491c ldr r1, [pc, #112] ; (8012520 ) + 80124ae: 480c ldr r0, [pc, #48] ; (80124e0 ) + 80124b0: f008 fdb0 bl 801b014 /* check if PCB is bound to specific netif */ if ((pcb->netif_idx != NETIF_NO_INDEX) && - 8012924: 69fb ldr r3, [r7, #28] - 8012926: 7a1b ldrb r3, [r3, #8] - 8012928: 2b00 cmp r3, #0 - 801292a: d033 beq.n 8012994 + 80124b4: 69fb ldr r3, [r7, #28] + 80124b6: 7a1b ldrb r3, [r3, #8] + 80124b8: 2b00 cmp r3, #0 + 80124ba: d033 beq.n 8012524 (pcb->netif_idx != netif_get_index(ip_data.current_input_netif))) { - 801292c: 69fb ldr r3, [r7, #28] - 801292e: 7a1a ldrb r2, [r3, #8] - 8012930: 4b09 ldr r3, [pc, #36] ; (8012958 ) - 8012932: 685b ldr r3, [r3, #4] - 8012934: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 - 8012938: 3301 adds r3, #1 - 801293a: b2db uxtb r3, r3 + 80124bc: 69fb ldr r3, [r7, #28] + 80124be: 7a1a ldrb r2, [r3, #8] + 80124c0: 4b09 ldr r3, [pc, #36] ; (80124e8 ) + 80124c2: 685b ldr r3, [r3, #4] + 80124c4: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 + 80124c8: 3301 adds r3, #1 + 80124ca: b2db uxtb r3, r3 if ((pcb->netif_idx != NETIF_NO_INDEX) && - 801293c: 429a cmp r2, r3 - 801293e: d029 beq.n 8012994 + 80124cc: 429a cmp r2, r3 + 80124ce: d029 beq.n 8012524 prev = pcb; - 8012940: 69fb ldr r3, [r7, #28] - 8012942: 61bb str r3, [r7, #24] + 80124d0: 69fb ldr r3, [r7, #28] + 80124d2: 61bb str r3, [r7, #24] continue; - 8012944: e06b b.n 8012a1e - 8012946: bf00 nop - 8012948: 0801dab4 .word 0x0801dab4 - 801294c: 0801dae8 .word 0x0801dae8 - 8012950: 0801db00 .word 0x0801db00 - 8012954: 2000873c .word 0x2000873c - 8012958: 2000be90 .word 0x2000be90 - 801295c: 20008740 .word 0x20008740 - 8012960: 20008744 .word 0x20008744 - 8012964: 20008742 .word 0x20008742 - 8012968: 0801db28 .word 0x0801db28 - 801296c: 0801db38 .word 0x0801db38 - 8012970: 0801db44 .word 0x0801db44 - 8012974: 2000874c .word 0x2000874c - 8012978: 20008750 .word 0x20008750 - 801297c: 20008758 .word 0x20008758 - 8012980: 20008756 .word 0x20008756 - 8012984: 2000f5c4 .word 0x2000f5c4 - 8012988: 0801db64 .word 0x0801db64 - 801298c: 0801db8c .word 0x0801db8c - 8012990: 0801dbb8 .word 0x0801dbb8 + 80124d4: e06b b.n 80125ae + 80124d6: bf00 nop + 80124d8: 0801d2b0 .word 0x0801d2b0 + 80124dc: 0801d2e4 .word 0x0801d2e4 + 80124e0: 0801d2fc .word 0x0801d2fc + 80124e4: 2000873c .word 0x2000873c + 80124e8: 2000be8c .word 0x2000be8c + 80124ec: 20008740 .word 0x20008740 + 80124f0: 20008744 .word 0x20008744 + 80124f4: 20008742 .word 0x20008742 + 80124f8: 0801d324 .word 0x0801d324 + 80124fc: 0801d334 .word 0x0801d334 + 8012500: 0801d340 .word 0x0801d340 + 8012504: 2000874c .word 0x2000874c + 8012508: 20008750 .word 0x20008750 + 801250c: 20008758 .word 0x20008758 + 8012510: 20008756 .word 0x20008756 + 8012514: 2000f5c0 .word 0x2000f5c0 + 8012518: 0801d360 .word 0x0801d360 + 801251c: 0801d388 .word 0x0801d388 + 8012520: 0801d3b4 .word 0x0801d3b4 } if (pcb->remote_port == tcphdr->src && - 8012994: 69fb ldr r3, [r7, #28] - 8012996: 8b1a ldrh r2, [r3, #24] - 8012998: 4b94 ldr r3, [pc, #592] ; (8012bec ) - 801299a: 681b ldr r3, [r3, #0] - 801299c: 881b ldrh r3, [r3, #0] - 801299e: b29b uxth r3, r3 - 80129a0: 429a cmp r2, r3 - 80129a2: d13a bne.n 8012a1a + 8012524: 69fb ldr r3, [r7, #28] + 8012526: 8b1a ldrh r2, [r3, #24] + 8012528: 4b94 ldr r3, [pc, #592] ; (801277c ) + 801252a: 681b ldr r3, [r3, #0] + 801252c: 881b ldrh r3, [r3, #0] + 801252e: b29b uxth r3, r3 + 8012530: 429a cmp r2, r3 + 8012532: d13a bne.n 80125aa pcb->local_port == tcphdr->dest && - 80129a4: 69fb ldr r3, [r7, #28] - 80129a6: 8ada ldrh r2, [r3, #22] - 80129a8: 4b90 ldr r3, [pc, #576] ; (8012bec ) - 80129aa: 681b ldr r3, [r3, #0] - 80129ac: 885b ldrh r3, [r3, #2] - 80129ae: b29b uxth r3, r3 + 8012534: 69fb ldr r3, [r7, #28] + 8012536: 8ada ldrh r2, [r3, #22] + 8012538: 4b90 ldr r3, [pc, #576] ; (801277c ) + 801253a: 681b ldr r3, [r3, #0] + 801253c: 885b ldrh r3, [r3, #2] + 801253e: b29b uxth r3, r3 if (pcb->remote_port == tcphdr->src && - 80129b0: 429a cmp r2, r3 - 80129b2: d132 bne.n 8012a1a + 8012540: 429a cmp r2, r3 + 8012542: d132 bne.n 80125aa ip_addr_cmp(&pcb->remote_ip, ip_current_src_addr()) && - 80129b4: 69fb ldr r3, [r7, #28] - 80129b6: 685a ldr r2, [r3, #4] - 80129b8: 4b8d ldr r3, [pc, #564] ; (8012bf0 ) - 80129ba: 691b ldr r3, [r3, #16] + 8012544: 69fb ldr r3, [r7, #28] + 8012546: 685a ldr r2, [r3, #4] + 8012548: 4b8d ldr r3, [pc, #564] ; (8012780 ) + 801254a: 691b ldr r3, [r3, #16] pcb->local_port == tcphdr->dest && - 80129bc: 429a cmp r2, r3 - 80129be: d12c bne.n 8012a1a + 801254c: 429a cmp r2, r3 + 801254e: d12c bne.n 80125aa ip_addr_cmp(&pcb->local_ip, ip_current_dest_addr())) { - 80129c0: 69fb ldr r3, [r7, #28] - 80129c2: 681a ldr r2, [r3, #0] - 80129c4: 4b8a ldr r3, [pc, #552] ; (8012bf0 ) - 80129c6: 695b ldr r3, [r3, #20] + 8012550: 69fb ldr r3, [r7, #28] + 8012552: 681a ldr r2, [r3, #0] + 8012554: 4b8a ldr r3, [pc, #552] ; (8012780 ) + 8012556: 695b ldr r3, [r3, #20] ip_addr_cmp(&pcb->remote_ip, ip_current_src_addr()) && - 80129c8: 429a cmp r2, r3 - 80129ca: d126 bne.n 8012a1a + 8012558: 429a cmp r2, r3 + 801255a: d126 bne.n 80125aa /* Move this PCB to the front of the list so that subsequent lookups will be faster (we exploit locality in TCP segment arrivals). */ LWIP_ASSERT("tcp_input: pcb->next != pcb (before cache)", pcb->next != pcb); - 80129cc: 69fb ldr r3, [r7, #28] - 80129ce: 68db ldr r3, [r3, #12] - 80129d0: 69fa ldr r2, [r7, #28] - 80129d2: 429a cmp r2, r3 - 80129d4: d106 bne.n 80129e4 - 80129d6: 4b87 ldr r3, [pc, #540] ; (8012bf4 ) - 80129d8: f240 120d movw r2, #269 ; 0x10d - 80129dc: 4986 ldr r1, [pc, #536] ; (8012bf8 ) - 80129de: 4887 ldr r0, [pc, #540] ; (8012bfc ) - 80129e0: f008 fd6a bl 801b4b8 + 801255c: 69fb ldr r3, [r7, #28] + 801255e: 68db ldr r3, [r3, #12] + 8012560: 69fa ldr r2, [r7, #28] + 8012562: 429a cmp r2, r3 + 8012564: d106 bne.n 8012574 + 8012566: 4b87 ldr r3, [pc, #540] ; (8012784 ) + 8012568: f240 120d movw r2, #269 ; 0x10d + 801256c: 4986 ldr r1, [pc, #536] ; (8012788 ) + 801256e: 4887 ldr r0, [pc, #540] ; (801278c ) + 8012570: f008 fd50 bl 801b014 if (prev != NULL) { - 80129e4: 69bb ldr r3, [r7, #24] - 80129e6: 2b00 cmp r3, #0 - 80129e8: d00a beq.n 8012a00 + 8012574: 69bb ldr r3, [r7, #24] + 8012576: 2b00 cmp r3, #0 + 8012578: d00a beq.n 8012590 prev->next = pcb->next; - 80129ea: 69fb ldr r3, [r7, #28] - 80129ec: 68da ldr r2, [r3, #12] - 80129ee: 69bb ldr r3, [r7, #24] - 80129f0: 60da str r2, [r3, #12] + 801257a: 69fb ldr r3, [r7, #28] + 801257c: 68da ldr r2, [r3, #12] + 801257e: 69bb ldr r3, [r7, #24] + 8012580: 60da str r2, [r3, #12] pcb->next = tcp_active_pcbs; - 80129f2: 4b83 ldr r3, [pc, #524] ; (8012c00 ) - 80129f4: 681a ldr r2, [r3, #0] - 80129f6: 69fb ldr r3, [r7, #28] - 80129f8: 60da str r2, [r3, #12] + 8012582: 4b83 ldr r3, [pc, #524] ; (8012790 ) + 8012584: 681a ldr r2, [r3, #0] + 8012586: 69fb ldr r3, [r7, #28] + 8012588: 60da str r2, [r3, #12] tcp_active_pcbs = pcb; - 80129fa: 4a81 ldr r2, [pc, #516] ; (8012c00 ) - 80129fc: 69fb ldr r3, [r7, #28] - 80129fe: 6013 str r3, [r2, #0] + 801258a: 4a81 ldr r2, [pc, #516] ; (8012790 ) + 801258c: 69fb ldr r3, [r7, #28] + 801258e: 6013 str r3, [r2, #0] } else { TCP_STATS_INC(tcp.cachehit); } LWIP_ASSERT("tcp_input: pcb->next != pcb (after cache)", pcb->next != pcb); - 8012a00: 69fb ldr r3, [r7, #28] - 8012a02: 68db ldr r3, [r3, #12] - 8012a04: 69fa ldr r2, [r7, #28] - 8012a06: 429a cmp r2, r3 - 8012a08: d111 bne.n 8012a2e - 8012a0a: 4b7a ldr r3, [pc, #488] ; (8012bf4 ) - 8012a0c: f240 1215 movw r2, #277 ; 0x115 - 8012a10: 497c ldr r1, [pc, #496] ; (8012c04 ) - 8012a12: 487a ldr r0, [pc, #488] ; (8012bfc ) - 8012a14: f008 fd50 bl 801b4b8 + 8012590: 69fb ldr r3, [r7, #28] + 8012592: 68db ldr r3, [r3, #12] + 8012594: 69fa ldr r2, [r7, #28] + 8012596: 429a cmp r2, r3 + 8012598: d111 bne.n 80125be + 801259a: 4b7a ldr r3, [pc, #488] ; (8012784 ) + 801259c: f240 1215 movw r2, #277 ; 0x115 + 80125a0: 497c ldr r1, [pc, #496] ; (8012794 ) + 80125a2: 487a ldr r0, [pc, #488] ; (801278c ) + 80125a4: f008 fd36 bl 801b014 break; - 8012a18: e009 b.n 8012a2e + 80125a8: e009 b.n 80125be } prev = pcb; - 8012a1a: 69fb ldr r3, [r7, #28] - 8012a1c: 61bb str r3, [r7, #24] + 80125aa: 69fb ldr r3, [r7, #28] + 80125ac: 61bb str r3, [r7, #24] for (pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { - 8012a1e: 69fb ldr r3, [r7, #28] - 8012a20: 68db ldr r3, [r3, #12] - 8012a22: 61fb str r3, [r7, #28] - 8012a24: 69fb ldr r3, [r7, #28] - 8012a26: 2b00 cmp r3, #0 - 8012a28: f47f af5e bne.w 80128e8 - 8012a2c: e000 b.n 8012a30 + 80125ae: 69fb ldr r3, [r7, #28] + 80125b0: 68db ldr r3, [r3, #12] + 80125b2: 61fb str r3, [r7, #28] + 80125b4: 69fb ldr r3, [r7, #28] + 80125b6: 2b00 cmp r3, #0 + 80125b8: f47f af5e bne.w 8012478 + 80125bc: e000 b.n 80125c0 break; - 8012a2e: bf00 nop + 80125be: bf00 nop } if (pcb == NULL) { - 8012a30: 69fb ldr r3, [r7, #28] - 8012a32: 2b00 cmp r3, #0 - 8012a34: f040 8095 bne.w 8012b62 + 80125c0: 69fb ldr r3, [r7, #28] + 80125c2: 2b00 cmp r3, #0 + 80125c4: f040 8095 bne.w 80126f2 /* If it did not go to an active connection, we check the connections in the TIME-WAIT state. */ for (pcb = tcp_tw_pcbs; pcb != NULL; pcb = pcb->next) { - 8012a38: 4b73 ldr r3, [pc, #460] ; (8012c08 ) - 8012a3a: 681b ldr r3, [r3, #0] - 8012a3c: 61fb str r3, [r7, #28] - 8012a3e: e03f b.n 8012ac0 + 80125c8: 4b73 ldr r3, [pc, #460] ; (8012798 ) + 80125ca: 681b ldr r3, [r3, #0] + 80125cc: 61fb str r3, [r7, #28] + 80125ce: e03f b.n 8012650 LWIP_ASSERT("tcp_input: TIME-WAIT pcb->state == TIME-WAIT", pcb->state == TIME_WAIT); - 8012a40: 69fb ldr r3, [r7, #28] - 8012a42: 7d1b ldrb r3, [r3, #20] - 8012a44: 2b0a cmp r3, #10 - 8012a46: d006 beq.n 8012a56 - 8012a48: 4b6a ldr r3, [pc, #424] ; (8012bf4 ) - 8012a4a: f240 121f movw r2, #287 ; 0x11f - 8012a4e: 496f ldr r1, [pc, #444] ; (8012c0c ) - 8012a50: 486a ldr r0, [pc, #424] ; (8012bfc ) - 8012a52: f008 fd31 bl 801b4b8 + 80125d0: 69fb ldr r3, [r7, #28] + 80125d2: 7d1b ldrb r3, [r3, #20] + 80125d4: 2b0a cmp r3, #10 + 80125d6: d006 beq.n 80125e6 + 80125d8: 4b6a ldr r3, [pc, #424] ; (8012784 ) + 80125da: f240 121f movw r2, #287 ; 0x11f + 80125de: 496f ldr r1, [pc, #444] ; (801279c ) + 80125e0: 486a ldr r0, [pc, #424] ; (801278c ) + 80125e2: f008 fd17 bl 801b014 /* check if PCB is bound to specific netif */ if ((pcb->netif_idx != NETIF_NO_INDEX) && - 8012a56: 69fb ldr r3, [r7, #28] - 8012a58: 7a1b ldrb r3, [r3, #8] - 8012a5a: 2b00 cmp r3, #0 - 8012a5c: d009 beq.n 8012a72 + 80125e6: 69fb ldr r3, [r7, #28] + 80125e8: 7a1b ldrb r3, [r3, #8] + 80125ea: 2b00 cmp r3, #0 + 80125ec: d009 beq.n 8012602 (pcb->netif_idx != netif_get_index(ip_data.current_input_netif))) { - 8012a5e: 69fb ldr r3, [r7, #28] - 8012a60: 7a1a ldrb r2, [r3, #8] - 8012a62: 4b63 ldr r3, [pc, #396] ; (8012bf0 ) - 8012a64: 685b ldr r3, [r3, #4] - 8012a66: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 - 8012a6a: 3301 adds r3, #1 - 8012a6c: b2db uxtb r3, r3 + 80125ee: 69fb ldr r3, [r7, #28] + 80125f0: 7a1a ldrb r2, [r3, #8] + 80125f2: 4b63 ldr r3, [pc, #396] ; (8012780 ) + 80125f4: 685b ldr r3, [r3, #4] + 80125f6: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 + 80125fa: 3301 adds r3, #1 + 80125fc: b2db uxtb r3, r3 if ((pcb->netif_idx != NETIF_NO_INDEX) && - 8012a6e: 429a cmp r2, r3 - 8012a70: d122 bne.n 8012ab8 + 80125fe: 429a cmp r2, r3 + 8012600: d122 bne.n 8012648 continue; } if (pcb->remote_port == tcphdr->src && - 8012a72: 69fb ldr r3, [r7, #28] - 8012a74: 8b1a ldrh r2, [r3, #24] - 8012a76: 4b5d ldr r3, [pc, #372] ; (8012bec ) - 8012a78: 681b ldr r3, [r3, #0] - 8012a7a: 881b ldrh r3, [r3, #0] - 8012a7c: b29b uxth r3, r3 - 8012a7e: 429a cmp r2, r3 - 8012a80: d11b bne.n 8012aba + 8012602: 69fb ldr r3, [r7, #28] + 8012604: 8b1a ldrh r2, [r3, #24] + 8012606: 4b5d ldr r3, [pc, #372] ; (801277c ) + 8012608: 681b ldr r3, [r3, #0] + 801260a: 881b ldrh r3, [r3, #0] + 801260c: b29b uxth r3, r3 + 801260e: 429a cmp r2, r3 + 8012610: d11b bne.n 801264a pcb->local_port == tcphdr->dest && - 8012a82: 69fb ldr r3, [r7, #28] - 8012a84: 8ada ldrh r2, [r3, #22] - 8012a86: 4b59 ldr r3, [pc, #356] ; (8012bec ) - 8012a88: 681b ldr r3, [r3, #0] - 8012a8a: 885b ldrh r3, [r3, #2] - 8012a8c: b29b uxth r3, r3 + 8012612: 69fb ldr r3, [r7, #28] + 8012614: 8ada ldrh r2, [r3, #22] + 8012616: 4b59 ldr r3, [pc, #356] ; (801277c ) + 8012618: 681b ldr r3, [r3, #0] + 801261a: 885b ldrh r3, [r3, #2] + 801261c: b29b uxth r3, r3 if (pcb->remote_port == tcphdr->src && - 8012a8e: 429a cmp r2, r3 - 8012a90: d113 bne.n 8012aba + 801261e: 429a cmp r2, r3 + 8012620: d113 bne.n 801264a ip_addr_cmp(&pcb->remote_ip, ip_current_src_addr()) && - 8012a92: 69fb ldr r3, [r7, #28] - 8012a94: 685a ldr r2, [r3, #4] - 8012a96: 4b56 ldr r3, [pc, #344] ; (8012bf0 ) - 8012a98: 691b ldr r3, [r3, #16] + 8012622: 69fb ldr r3, [r7, #28] + 8012624: 685a ldr r2, [r3, #4] + 8012626: 4b56 ldr r3, [pc, #344] ; (8012780 ) + 8012628: 691b ldr r3, [r3, #16] pcb->local_port == tcphdr->dest && - 8012a9a: 429a cmp r2, r3 - 8012a9c: d10d bne.n 8012aba + 801262a: 429a cmp r2, r3 + 801262c: d10d bne.n 801264a ip_addr_cmp(&pcb->local_ip, ip_current_dest_addr())) { - 8012a9e: 69fb ldr r3, [r7, #28] - 8012aa0: 681a ldr r2, [r3, #0] - 8012aa2: 4b53 ldr r3, [pc, #332] ; (8012bf0 ) - 8012aa4: 695b ldr r3, [r3, #20] + 801262e: 69fb ldr r3, [r7, #28] + 8012630: 681a ldr r2, [r3, #0] + 8012632: 4b53 ldr r3, [pc, #332] ; (8012780 ) + 8012634: 695b ldr r3, [r3, #20] ip_addr_cmp(&pcb->remote_ip, ip_current_src_addr()) && - 8012aa6: 429a cmp r2, r3 - 8012aa8: d107 bne.n 8012aba + 8012636: 429a cmp r2, r3 + 8012638: d107 bne.n 801264a #ifdef LWIP_HOOK_TCP_INPACKET_PCB if (LWIP_HOOK_TCP_INPACKET_PCB(pcb, tcphdr, tcphdr_optlen, tcphdr_opt1len, tcphdr_opt2, p) == ERR_OK) #endif { tcp_timewait_input(pcb); - 8012aaa: 69f8 ldr r0, [r7, #28] - 8012aac: f000 fb52 bl 8013154 + 801263a: 69f8 ldr r0, [r7, #28] + 801263c: f000 fb52 bl 8012ce4 } pbuf_free(p); - 8012ab0: 6878 ldr r0, [r7, #4] - 8012ab2: f7fd ffd1 bl 8010a58 + 8012640: 6878 ldr r0, [r7, #4] + 8012642: f7fd ffd1 bl 80105e8 return; - 8012ab6: e1ee b.n 8012e96 + 8012646: e1ee b.n 8012a26 continue; - 8012ab8: bf00 nop + 8012648: bf00 nop for (pcb = tcp_tw_pcbs; pcb != NULL; pcb = pcb->next) { - 8012aba: 69fb ldr r3, [r7, #28] - 8012abc: 68db ldr r3, [r3, #12] - 8012abe: 61fb str r3, [r7, #28] - 8012ac0: 69fb ldr r3, [r7, #28] - 8012ac2: 2b00 cmp r3, #0 - 8012ac4: d1bc bne.n 8012a40 + 801264a: 69fb ldr r3, [r7, #28] + 801264c: 68db ldr r3, [r3, #12] + 801264e: 61fb str r3, [r7, #28] + 8012650: 69fb ldr r3, [r7, #28] + 8012652: 2b00 cmp r3, #0 + 8012654: d1bc bne.n 80125d0 } } /* Finally, if we still did not get a match, we check all PCBs that are LISTENing for incoming connections. */ prev = NULL; - 8012ac6: 2300 movs r3, #0 - 8012ac8: 61bb str r3, [r7, #24] + 8012656: 2300 movs r3, #0 + 8012658: 61bb str r3, [r7, #24] for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { - 8012aca: 4b51 ldr r3, [pc, #324] ; (8012c10 ) - 8012acc: 681b ldr r3, [r3, #0] - 8012ace: 617b str r3, [r7, #20] - 8012ad0: e02a b.n 8012b28 + 801265a: 4b51 ldr r3, [pc, #324] ; (80127a0 ) + 801265c: 681b ldr r3, [r3, #0] + 801265e: 617b str r3, [r7, #20] + 8012660: e02a b.n 80126b8 /* check if PCB is bound to specific netif */ if ((lpcb->netif_idx != NETIF_NO_INDEX) && - 8012ad2: 697b ldr r3, [r7, #20] - 8012ad4: 7a1b ldrb r3, [r3, #8] - 8012ad6: 2b00 cmp r3, #0 - 8012ad8: d00c beq.n 8012af4 + 8012662: 697b ldr r3, [r7, #20] + 8012664: 7a1b ldrb r3, [r3, #8] + 8012666: 2b00 cmp r3, #0 + 8012668: d00c beq.n 8012684 (lpcb->netif_idx != netif_get_index(ip_data.current_input_netif))) { - 8012ada: 697b ldr r3, [r7, #20] - 8012adc: 7a1a ldrb r2, [r3, #8] - 8012ade: 4b44 ldr r3, [pc, #272] ; (8012bf0 ) - 8012ae0: 685b ldr r3, [r3, #4] - 8012ae2: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 - 8012ae6: 3301 adds r3, #1 - 8012ae8: b2db uxtb r3, r3 + 801266a: 697b ldr r3, [r7, #20] + 801266c: 7a1a ldrb r2, [r3, #8] + 801266e: 4b44 ldr r3, [pc, #272] ; (8012780 ) + 8012670: 685b ldr r3, [r3, #4] + 8012672: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 + 8012676: 3301 adds r3, #1 + 8012678: b2db uxtb r3, r3 if ((lpcb->netif_idx != NETIF_NO_INDEX) && - 8012aea: 429a cmp r2, r3 - 8012aec: d002 beq.n 8012af4 + 801267a: 429a cmp r2, r3 + 801267c: d002 beq.n 8012684 prev = (struct tcp_pcb *)lpcb; - 8012aee: 697b ldr r3, [r7, #20] - 8012af0: 61bb str r3, [r7, #24] + 801267e: 697b ldr r3, [r7, #20] + 8012680: 61bb str r3, [r7, #24] continue; - 8012af2: e016 b.n 8012b22 + 8012682: e016 b.n 80126b2 } if (lpcb->local_port == tcphdr->dest) { - 8012af4: 697b ldr r3, [r7, #20] - 8012af6: 8ada ldrh r2, [r3, #22] - 8012af8: 4b3c ldr r3, [pc, #240] ; (8012bec ) - 8012afa: 681b ldr r3, [r3, #0] - 8012afc: 885b ldrh r3, [r3, #2] - 8012afe: b29b uxth r3, r3 - 8012b00: 429a cmp r2, r3 - 8012b02: d10c bne.n 8012b1e + 8012684: 697b ldr r3, [r7, #20] + 8012686: 8ada ldrh r2, [r3, #22] + 8012688: 4b3c ldr r3, [pc, #240] ; (801277c ) + 801268a: 681b ldr r3, [r3, #0] + 801268c: 885b ldrh r3, [r3, #2] + 801268e: b29b uxth r3, r3 + 8012690: 429a cmp r2, r3 + 8012692: d10c bne.n 80126ae lpcb_prev = prev; #else /* SO_REUSE */ break; #endif /* SO_REUSE */ } else if (IP_ADDR_PCB_VERSION_MATCH_EXACT(lpcb, ip_current_dest_addr())) { if (ip_addr_cmp(&lpcb->local_ip, ip_current_dest_addr())) { - 8012b04: 697b ldr r3, [r7, #20] - 8012b06: 681a ldr r2, [r3, #0] - 8012b08: 4b39 ldr r3, [pc, #228] ; (8012bf0 ) - 8012b0a: 695b ldr r3, [r3, #20] - 8012b0c: 429a cmp r2, r3 - 8012b0e: d00f beq.n 8012b30 + 8012694: 697b ldr r3, [r7, #20] + 8012696: 681a ldr r2, [r3, #0] + 8012698: 4b39 ldr r3, [pc, #228] ; (8012780 ) + 801269a: 695b ldr r3, [r3, #20] + 801269c: 429a cmp r2, r3 + 801269e: d00f beq.n 80126c0 /* found an exact match */ break; } else if (ip_addr_isany(&lpcb->local_ip)) { - 8012b10: 697b ldr r3, [r7, #20] - 8012b12: 2b00 cmp r3, #0 - 8012b14: d00d beq.n 8012b32 - 8012b16: 697b ldr r3, [r7, #20] - 8012b18: 681b ldr r3, [r3, #0] - 8012b1a: 2b00 cmp r3, #0 - 8012b1c: d009 beq.n 8012b32 + 80126a0: 697b ldr r3, [r7, #20] + 80126a2: 2b00 cmp r3, #0 + 80126a4: d00d beq.n 80126c2 + 80126a6: 697b ldr r3, [r7, #20] + 80126a8: 681b ldr r3, [r3, #0] + 80126aa: 2b00 cmp r3, #0 + 80126ac: d009 beq.n 80126c2 break; #endif /* SO_REUSE */ } } } prev = (struct tcp_pcb *)lpcb; - 8012b1e: 697b ldr r3, [r7, #20] - 8012b20: 61bb str r3, [r7, #24] + 80126ae: 697b ldr r3, [r7, #20] + 80126b0: 61bb str r3, [r7, #24] for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { - 8012b22: 697b ldr r3, [r7, #20] - 8012b24: 68db ldr r3, [r3, #12] - 8012b26: 617b str r3, [r7, #20] - 8012b28: 697b ldr r3, [r7, #20] - 8012b2a: 2b00 cmp r3, #0 - 8012b2c: d1d1 bne.n 8012ad2 - 8012b2e: e000 b.n 8012b32 + 80126b2: 697b ldr r3, [r7, #20] + 80126b4: 68db ldr r3, [r3, #12] + 80126b6: 617b str r3, [r7, #20] + 80126b8: 697b ldr r3, [r7, #20] + 80126ba: 2b00 cmp r3, #0 + 80126bc: d1d1 bne.n 8012662 + 80126be: e000 b.n 80126c2 break; - 8012b30: bf00 nop + 80126c0: bf00 nop /* only pass to ANY if no specific local IP has been found */ lpcb = lpcb_any; prev = lpcb_prev; } #endif /* SO_REUSE */ if (lpcb != NULL) { - 8012b32: 697b ldr r3, [r7, #20] - 8012b34: 2b00 cmp r3, #0 - 8012b36: d014 beq.n 8012b62 + 80126c2: 697b ldr r3, [r7, #20] + 80126c4: 2b00 cmp r3, #0 + 80126c6: d014 beq.n 80126f2 /* Move this PCB to the front of the list so that subsequent lookups will be faster (we exploit locality in TCP segment arrivals). */ if (prev != NULL) { - 8012b38: 69bb ldr r3, [r7, #24] - 8012b3a: 2b00 cmp r3, #0 - 8012b3c: d00a beq.n 8012b54 + 80126c8: 69bb ldr r3, [r7, #24] + 80126ca: 2b00 cmp r3, #0 + 80126cc: d00a beq.n 80126e4 ((struct tcp_pcb_listen *)prev)->next = lpcb->next; - 8012b3e: 697b ldr r3, [r7, #20] - 8012b40: 68da ldr r2, [r3, #12] - 8012b42: 69bb ldr r3, [r7, #24] - 8012b44: 60da str r2, [r3, #12] + 80126ce: 697b ldr r3, [r7, #20] + 80126d0: 68da ldr r2, [r3, #12] + 80126d2: 69bb ldr r3, [r7, #24] + 80126d4: 60da str r2, [r3, #12] /* our successor is the remainder of the listening list */ lpcb->next = tcp_listen_pcbs.listen_pcbs; - 8012b46: 4b32 ldr r3, [pc, #200] ; (8012c10 ) - 8012b48: 681a ldr r2, [r3, #0] - 8012b4a: 697b ldr r3, [r7, #20] - 8012b4c: 60da str r2, [r3, #12] + 80126d6: 4b32 ldr r3, [pc, #200] ; (80127a0 ) + 80126d8: 681a ldr r2, [r3, #0] + 80126da: 697b ldr r3, [r7, #20] + 80126dc: 60da str r2, [r3, #12] /* put this listening pcb at the head of the listening list */ tcp_listen_pcbs.listen_pcbs = lpcb; - 8012b4e: 4a30 ldr r2, [pc, #192] ; (8012c10 ) - 8012b50: 697b ldr r3, [r7, #20] - 8012b52: 6013 str r3, [r2, #0] + 80126de: 4a30 ldr r2, [pc, #192] ; (80127a0 ) + 80126e0: 697b ldr r3, [r7, #20] + 80126e2: 6013 str r3, [r2, #0] #ifdef LWIP_HOOK_TCP_INPACKET_PCB if (LWIP_HOOK_TCP_INPACKET_PCB((struct tcp_pcb *)lpcb, tcphdr, tcphdr_optlen, tcphdr_opt1len, tcphdr_opt2, p) == ERR_OK) #endif { tcp_listen_input(lpcb); - 8012b54: 6978 ldr r0, [r7, #20] - 8012b56: f000 f9ff bl 8012f58 + 80126e4: 6978 ldr r0, [r7, #20] + 80126e6: f000 f9ff bl 8012ae8 } pbuf_free(p); - 8012b5a: 6878 ldr r0, [r7, #4] - 8012b5c: f7fd ff7c bl 8010a58 + 80126ea: 6878 ldr r0, [r7, #4] + 80126ec: f7fd ff7c bl 80105e8 return; - 8012b60: e199 b.n 8012e96 + 80126f0: e199 b.n 8012a26 tcphdr_opt1len, tcphdr_opt2, p) != ERR_OK) { pbuf_free(p); return; } #endif if (pcb != NULL) { - 8012b62: 69fb ldr r3, [r7, #28] - 8012b64: 2b00 cmp r3, #0 - 8012b66: f000 8160 beq.w 8012e2a + 80126f2: 69fb ldr r3, [r7, #28] + 80126f4: 2b00 cmp r3, #0 + 80126f6: f000 8160 beq.w 80129ba #if TCP_INPUT_DEBUG tcp_debug_print_state(pcb->state); #endif /* TCP_INPUT_DEBUG */ /* Set up a tcp_seg structure. */ inseg.next = NULL; - 8012b6a: 4b2a ldr r3, [pc, #168] ; (8012c14 ) - 8012b6c: 2200 movs r2, #0 - 8012b6e: 601a str r2, [r3, #0] + 80126fa: 4b2a ldr r3, [pc, #168] ; (80127a4 ) + 80126fc: 2200 movs r2, #0 + 80126fe: 601a str r2, [r3, #0] inseg.len = p->tot_len; - 8012b70: 687b ldr r3, [r7, #4] - 8012b72: 891a ldrh r2, [r3, #8] - 8012b74: 4b27 ldr r3, [pc, #156] ; (8012c14 ) - 8012b76: 811a strh r2, [r3, #8] + 8012700: 687b ldr r3, [r7, #4] + 8012702: 891a ldrh r2, [r3, #8] + 8012704: 4b27 ldr r3, [pc, #156] ; (80127a4 ) + 8012706: 811a strh r2, [r3, #8] inseg.p = p; - 8012b78: 4a26 ldr r2, [pc, #152] ; (8012c14 ) - 8012b7a: 687b ldr r3, [r7, #4] - 8012b7c: 6053 str r3, [r2, #4] + 8012708: 4a26 ldr r2, [pc, #152] ; (80127a4 ) + 801270a: 687b ldr r3, [r7, #4] + 801270c: 6053 str r3, [r2, #4] inseg.tcphdr = tcphdr; - 8012b7e: 4b1b ldr r3, [pc, #108] ; (8012bec ) - 8012b80: 681b ldr r3, [r3, #0] - 8012b82: 4a24 ldr r2, [pc, #144] ; (8012c14 ) - 8012b84: 60d3 str r3, [r2, #12] + 801270e: 4b1b ldr r3, [pc, #108] ; (801277c ) + 8012710: 681b ldr r3, [r3, #0] + 8012712: 4a24 ldr r2, [pc, #144] ; (80127a4 ) + 8012714: 60d3 str r3, [r2, #12] recv_data = NULL; - 8012b86: 4b24 ldr r3, [pc, #144] ; (8012c18 ) - 8012b88: 2200 movs r2, #0 - 8012b8a: 601a str r2, [r3, #0] + 8012716: 4b24 ldr r3, [pc, #144] ; (80127a8 ) + 8012718: 2200 movs r2, #0 + 801271a: 601a str r2, [r3, #0] recv_flags = 0; - 8012b8c: 4b23 ldr r3, [pc, #140] ; (8012c1c ) - 8012b8e: 2200 movs r2, #0 - 8012b90: 701a strb r2, [r3, #0] + 801271c: 4b23 ldr r3, [pc, #140] ; (80127ac ) + 801271e: 2200 movs r2, #0 + 8012720: 701a strb r2, [r3, #0] recv_acked = 0; - 8012b92: 4b23 ldr r3, [pc, #140] ; (8012c20 ) - 8012b94: 2200 movs r2, #0 - 8012b96: 801a strh r2, [r3, #0] + 8012722: 4b23 ldr r3, [pc, #140] ; (80127b0 ) + 8012724: 2200 movs r2, #0 + 8012726: 801a strh r2, [r3, #0] if (flags & TCP_PSH) { - 8012b98: 4b22 ldr r3, [pc, #136] ; (8012c24 ) - 8012b9a: 781b ldrb r3, [r3, #0] - 8012b9c: f003 0308 and.w r3, r3, #8 - 8012ba0: 2b00 cmp r3, #0 - 8012ba2: d006 beq.n 8012bb2 + 8012728: 4b22 ldr r3, [pc, #136] ; (80127b4 ) + 801272a: 781b ldrb r3, [r3, #0] + 801272c: f003 0308 and.w r3, r3, #8 + 8012730: 2b00 cmp r3, #0 + 8012732: d006 beq.n 8012742 p->flags |= PBUF_FLAG_PUSH; - 8012ba4: 687b ldr r3, [r7, #4] - 8012ba6: 7b5b ldrb r3, [r3, #13] - 8012ba8: f043 0301 orr.w r3, r3, #1 - 8012bac: b2da uxtb r2, r3 - 8012bae: 687b ldr r3, [r7, #4] - 8012bb0: 735a strb r2, [r3, #13] + 8012734: 687b ldr r3, [r7, #4] + 8012736: 7b5b ldrb r3, [r3, #13] + 8012738: f043 0301 orr.w r3, r3, #1 + 801273c: b2da uxtb r2, r3 + 801273e: 687b ldr r3, [r7, #4] + 8012740: 735a strb r2, [r3, #13] } /* If there is data which was previously "refused" by upper layer */ if (pcb->refused_data != NULL) { - 8012bb2: 69fb ldr r3, [r7, #28] - 8012bb4: 6f9b ldr r3, [r3, #120] ; 0x78 - 8012bb6: 2b00 cmp r3, #0 - 8012bb8: d038 beq.n 8012c2c + 8012742: 69fb ldr r3, [r7, #28] + 8012744: 6f9b ldr r3, [r3, #120] ; 0x78 + 8012746: 2b00 cmp r3, #0 + 8012748: d038 beq.n 80127bc if ((tcp_process_refused_data(pcb) == ERR_ABRT) || - 8012bba: 69f8 ldr r0, [r7, #28] - 8012bbc: f7ff f940 bl 8011e40 - 8012bc0: 4603 mov r3, r0 - 8012bc2: f113 0f0d cmn.w r3, #13 - 8012bc6: d007 beq.n 8012bd8 + 801274a: 69f8 ldr r0, [r7, #28] + 801274c: f7ff f940 bl 80119d0 + 8012750: 4603 mov r3, r0 + 8012752: f113 0f0d cmn.w r3, #13 + 8012756: d007 beq.n 8012768 ((pcb->refused_data != NULL) && (tcplen > 0))) { - 8012bc8: 69fb ldr r3, [r7, #28] - 8012bca: 6f9b ldr r3, [r3, #120] ; 0x78 + 8012758: 69fb ldr r3, [r7, #28] + 801275a: 6f9b ldr r3, [r3, #120] ; 0x78 if ((tcp_process_refused_data(pcb) == ERR_ABRT) || - 8012bcc: 2b00 cmp r3, #0 - 8012bce: d02d beq.n 8012c2c + 801275c: 2b00 cmp r3, #0 + 801275e: d02d beq.n 80127bc ((pcb->refused_data != NULL) && (tcplen > 0))) { - 8012bd0: 4b15 ldr r3, [pc, #84] ; (8012c28 ) - 8012bd2: 881b ldrh r3, [r3, #0] - 8012bd4: 2b00 cmp r3, #0 - 8012bd6: d029 beq.n 8012c2c + 8012760: 4b15 ldr r3, [pc, #84] ; (80127b8 ) + 8012762: 881b ldrh r3, [r3, #0] + 8012764: 2b00 cmp r3, #0 + 8012766: d029 beq.n 80127bc /* pcb has been aborted or refused data is still refused and the new segment contains data */ if (pcb->rcv_ann_wnd == 0) { - 8012bd8: 69fb ldr r3, [r7, #28] - 8012bda: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8012bdc: 2b00 cmp r3, #0 - 8012bde: f040 8104 bne.w 8012dea + 8012768: 69fb ldr r3, [r7, #28] + 801276a: 8d5b ldrh r3, [r3, #42] ; 0x2a + 801276c: 2b00 cmp r3, #0 + 801276e: f040 8104 bne.w 801297a /* this is a zero-window probe, we respond to it with current RCV.NXT and drop the data segment */ tcp_send_empty_ack(pcb); - 8012be2: 69f8 ldr r0, [r7, #28] - 8012be4: f003 f9ce bl 8015f84 + 8012772: 69f8 ldr r0, [r7, #28] + 8012774: f003 f9ce bl 8015b14 } TCP_STATS_INC(tcp.drop); MIB2_STATS_INC(mib2.tcpinerrs); goto aborted; - 8012be8: e0ff b.n 8012dea - 8012bea: bf00 nop - 8012bec: 2000873c .word 0x2000873c - 8012bf0: 2000be90 .word 0x2000be90 - 8012bf4: 0801dab4 .word 0x0801dab4 - 8012bf8: 0801dbe0 .word 0x0801dbe0 - 8012bfc: 0801db00 .word 0x0801db00 - 8012c00: 2000f5c4 .word 0x2000f5c4 - 8012c04: 0801dc0c .word 0x0801dc0c - 8012c08: 2000f5d4 .word 0x2000f5d4 - 8012c0c: 0801dc38 .word 0x0801dc38 - 8012c10: 2000f5cc .word 0x2000f5cc - 8012c14: 2000872c .word 0x2000872c - 8012c18: 2000875c .word 0x2000875c - 8012c1c: 20008759 .word 0x20008759 - 8012c20: 20008754 .word 0x20008754 - 8012c24: 20008758 .word 0x20008758 - 8012c28: 20008756 .word 0x20008756 + 8012778: e0ff b.n 801297a + 801277a: bf00 nop + 801277c: 2000873c .word 0x2000873c + 8012780: 2000be8c .word 0x2000be8c + 8012784: 0801d2b0 .word 0x0801d2b0 + 8012788: 0801d3dc .word 0x0801d3dc + 801278c: 0801d2fc .word 0x0801d2fc + 8012790: 2000f5c0 .word 0x2000f5c0 + 8012794: 0801d408 .word 0x0801d408 + 8012798: 2000f5d0 .word 0x2000f5d0 + 801279c: 0801d434 .word 0x0801d434 + 80127a0: 2000f5c8 .word 0x2000f5c8 + 80127a4: 2000872c .word 0x2000872c + 80127a8: 2000875c .word 0x2000875c + 80127ac: 20008759 .word 0x20008759 + 80127b0: 20008754 .word 0x20008754 + 80127b4: 20008758 .word 0x20008758 + 80127b8: 20008756 .word 0x20008756 } } tcp_input_pcb = pcb; - 8012c2c: 4a9b ldr r2, [pc, #620] ; (8012e9c ) - 8012c2e: 69fb ldr r3, [r7, #28] - 8012c30: 6013 str r3, [r2, #0] + 80127bc: 4a9b ldr r2, [pc, #620] ; (8012a2c ) + 80127be: 69fb ldr r3, [r7, #28] + 80127c0: 6013 str r3, [r2, #0] err = tcp_process(pcb); - 8012c32: 69f8 ldr r0, [r7, #28] - 8012c34: f000 fb0a bl 801324c - 8012c38: 4603 mov r3, r0 - 8012c3a: 74fb strb r3, [r7, #19] + 80127c2: 69f8 ldr r0, [r7, #28] + 80127c4: f000 fb0a bl 8012ddc + 80127c8: 4603 mov r3, r0 + 80127ca: 74fb strb r3, [r7, #19] /* A return value of ERR_ABRT means that tcp_abort() was called and that the pcb has been freed. If so, we don't do anything. */ if (err != ERR_ABRT) { - 8012c3c: f997 3013 ldrsb.w r3, [r7, #19] - 8012c40: f113 0f0d cmn.w r3, #13 - 8012c44: f000 80d3 beq.w 8012dee + 80127cc: f997 3013 ldrsb.w r3, [r7, #19] + 80127d0: f113 0f0d cmn.w r3, #13 + 80127d4: f000 80d3 beq.w 801297e if (recv_flags & TF_RESET) { - 8012c48: 4b95 ldr r3, [pc, #596] ; (8012ea0 ) - 8012c4a: 781b ldrb r3, [r3, #0] - 8012c4c: f003 0308 and.w r3, r3, #8 - 8012c50: 2b00 cmp r3, #0 - 8012c52: d015 beq.n 8012c80 + 80127d8: 4b95 ldr r3, [pc, #596] ; (8012a30 ) + 80127da: 781b ldrb r3, [r3, #0] + 80127dc: f003 0308 and.w r3, r3, #8 + 80127e0: 2b00 cmp r3, #0 + 80127e2: d015 beq.n 8012810 /* TF_RESET means that the connection was reset by the other end. We then call the error callback to inform the application that the connection is dead before we deallocate the PCB. */ TCP_EVENT_ERR(pcb->state, pcb->errf, pcb->callback_arg, ERR_RST); - 8012c54: 69fb ldr r3, [r7, #28] - 8012c56: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8012c5a: 2b00 cmp r3, #0 - 8012c5c: d008 beq.n 8012c70 - 8012c5e: 69fb ldr r3, [r7, #28] - 8012c60: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8012c64: 69fa ldr r2, [r7, #28] - 8012c66: 6912 ldr r2, [r2, #16] - 8012c68: f06f 010d mvn.w r1, #13 - 8012c6c: 4610 mov r0, r2 - 8012c6e: 4798 blx r3 + 80127e4: 69fb ldr r3, [r7, #28] + 80127e6: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 80127ea: 2b00 cmp r3, #0 + 80127ec: d008 beq.n 8012800 + 80127ee: 69fb ldr r3, [r7, #28] + 80127f0: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 80127f4: 69fa ldr r2, [r7, #28] + 80127f6: 6912 ldr r2, [r2, #16] + 80127f8: f06f 010d mvn.w r1, #13 + 80127fc: 4610 mov r0, r2 + 80127fe: 4798 blx r3 tcp_pcb_remove(&tcp_active_pcbs, pcb); - 8012c70: 69f9 ldr r1, [r7, #28] - 8012c72: 488c ldr r0, [pc, #560] ; (8012ea4 ) - 8012c74: f7ff fbb0 bl 80123d8 + 8012800: 69f9 ldr r1, [r7, #28] + 8012802: 488c ldr r0, [pc, #560] ; (8012a34 ) + 8012804: f7ff fbb0 bl 8011f68 tcp_free(pcb); - 8012c78: 69f8 ldr r0, [r7, #28] - 8012c7a: f7fe f9a9 bl 8010fd0 - 8012c7e: e0c1 b.n 8012e04 + 8012808: 69f8 ldr r0, [r7, #28] + 801280a: f7fe f9a9 bl 8010b60 + 801280e: e0c1 b.n 8012994 } else { err = ERR_OK; - 8012c80: 2300 movs r3, #0 - 8012c82: 74fb strb r3, [r7, #19] + 8012810: 2300 movs r3, #0 + 8012812: 74fb strb r3, [r7, #19] /* If the application has registered a "sent" function to be called when new send buffer space is available, we call it now. */ if (recv_acked > 0) { - 8012c84: 4b88 ldr r3, [pc, #544] ; (8012ea8 ) - 8012c86: 881b ldrh r3, [r3, #0] - 8012c88: 2b00 cmp r3, #0 - 8012c8a: d01d beq.n 8012cc8 + 8012814: 4b88 ldr r3, [pc, #544] ; (8012a38 ) + 8012816: 881b ldrh r3, [r3, #0] + 8012818: 2b00 cmp r3, #0 + 801281a: d01d beq.n 8012858 while (acked > 0) { acked16 = (u16_t)LWIP_MIN(acked, 0xffffu); acked -= acked16; #else { acked16 = recv_acked; - 8012c8c: 4b86 ldr r3, [pc, #536] ; (8012ea8 ) - 8012c8e: 881b ldrh r3, [r3, #0] - 8012c90: 81fb strh r3, [r7, #14] + 801281c: 4b86 ldr r3, [pc, #536] ; (8012a38 ) + 801281e: 881b ldrh r3, [r3, #0] + 8012820: 81fb strh r3, [r7, #14] #endif TCP_EVENT_SENT(pcb, (u16_t)acked16, err); - 8012c92: 69fb ldr r3, [r7, #28] - 8012c94: f8d3 3080 ldr.w r3, [r3, #128] ; 0x80 - 8012c98: 2b00 cmp r3, #0 - 8012c9a: d00a beq.n 8012cb2 - 8012c9c: 69fb ldr r3, [r7, #28] - 8012c9e: f8d3 3080 ldr.w r3, [r3, #128] ; 0x80 - 8012ca2: 69fa ldr r2, [r7, #28] - 8012ca4: 6910 ldr r0, [r2, #16] - 8012ca6: 89fa ldrh r2, [r7, #14] - 8012ca8: 69f9 ldr r1, [r7, #28] - 8012caa: 4798 blx r3 - 8012cac: 4603 mov r3, r0 - 8012cae: 74fb strb r3, [r7, #19] - 8012cb0: e001 b.n 8012cb6 - 8012cb2: 2300 movs r3, #0 - 8012cb4: 74fb strb r3, [r7, #19] + 8012822: 69fb ldr r3, [r7, #28] + 8012824: f8d3 3080 ldr.w r3, [r3, #128] ; 0x80 + 8012828: 2b00 cmp r3, #0 + 801282a: d00a beq.n 8012842 + 801282c: 69fb ldr r3, [r7, #28] + 801282e: f8d3 3080 ldr.w r3, [r3, #128] ; 0x80 + 8012832: 69fa ldr r2, [r7, #28] + 8012834: 6910 ldr r0, [r2, #16] + 8012836: 89fa ldrh r2, [r7, #14] + 8012838: 69f9 ldr r1, [r7, #28] + 801283a: 4798 blx r3 + 801283c: 4603 mov r3, r0 + 801283e: 74fb strb r3, [r7, #19] + 8012840: e001 b.n 8012846 + 8012842: 2300 movs r3, #0 + 8012844: 74fb strb r3, [r7, #19] if (err == ERR_ABRT) { - 8012cb6: f997 3013 ldrsb.w r3, [r7, #19] - 8012cba: f113 0f0d cmn.w r3, #13 - 8012cbe: f000 8098 beq.w 8012df2 + 8012846: f997 3013 ldrsb.w r3, [r7, #19] + 801284a: f113 0f0d cmn.w r3, #13 + 801284e: f000 8098 beq.w 8012982 goto aborted; } } recv_acked = 0; - 8012cc2: 4b79 ldr r3, [pc, #484] ; (8012ea8 ) - 8012cc4: 2200 movs r2, #0 - 8012cc6: 801a strh r2, [r3, #0] + 8012852: 4b79 ldr r3, [pc, #484] ; (8012a38 ) + 8012854: 2200 movs r2, #0 + 8012856: 801a strh r2, [r3, #0] } if (tcp_input_delayed_close(pcb)) { - 8012cc8: 69f8 ldr r0, [r7, #28] - 8012cca: f000 f905 bl 8012ed8 - 8012cce: 4603 mov r3, r0 - 8012cd0: 2b00 cmp r3, #0 - 8012cd2: f040 8090 bne.w 8012df6 + 8012858: 69f8 ldr r0, [r7, #28] + 801285a: f000 f905 bl 8012a68 + 801285e: 4603 mov r3, r0 + 8012860: 2b00 cmp r3, #0 + 8012862: f040 8090 bne.w 8012986 #if TCP_QUEUE_OOSEQ && LWIP_WND_SCALE while (recv_data != NULL) { struct pbuf *rest = NULL; pbuf_split_64k(recv_data, &rest); #else /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ if (recv_data != NULL) { - 8012cd6: 4b75 ldr r3, [pc, #468] ; (8012eac ) - 8012cd8: 681b ldr r3, [r3, #0] - 8012cda: 2b00 cmp r3, #0 - 8012cdc: d041 beq.n 8012d62 + 8012866: 4b75 ldr r3, [pc, #468] ; (8012a3c ) + 8012868: 681b ldr r3, [r3, #0] + 801286a: 2b00 cmp r3, #0 + 801286c: d041 beq.n 80128f2 #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ LWIP_ASSERT("pcb->refused_data == NULL", pcb->refused_data == NULL); - 8012cde: 69fb ldr r3, [r7, #28] - 8012ce0: 6f9b ldr r3, [r3, #120] ; 0x78 - 8012ce2: 2b00 cmp r3, #0 - 8012ce4: d006 beq.n 8012cf4 - 8012ce6: 4b72 ldr r3, [pc, #456] ; (8012eb0 ) - 8012ce8: f44f 72f3 mov.w r2, #486 ; 0x1e6 - 8012cec: 4971 ldr r1, [pc, #452] ; (8012eb4 ) - 8012cee: 4872 ldr r0, [pc, #456] ; (8012eb8 ) - 8012cf0: f008 fbe2 bl 801b4b8 + 801286e: 69fb ldr r3, [r7, #28] + 8012870: 6f9b ldr r3, [r3, #120] ; 0x78 + 8012872: 2b00 cmp r3, #0 + 8012874: d006 beq.n 8012884 + 8012876: 4b72 ldr r3, [pc, #456] ; (8012a40 ) + 8012878: f44f 72f3 mov.w r2, #486 ; 0x1e6 + 801287c: 4971 ldr r1, [pc, #452] ; (8012a44 ) + 801287e: 4872 ldr r0, [pc, #456] ; (8012a48 ) + 8012880: f008 fbc8 bl 801b014 if (pcb->flags & TF_RXCLOSED) { - 8012cf4: 69fb ldr r3, [r7, #28] - 8012cf6: 8b5b ldrh r3, [r3, #26] - 8012cf8: f003 0310 and.w r3, r3, #16 - 8012cfc: 2b00 cmp r3, #0 - 8012cfe: d008 beq.n 8012d12 + 8012884: 69fb ldr r3, [r7, #28] + 8012886: 8b5b ldrh r3, [r3, #26] + 8012888: f003 0310 and.w r3, r3, #16 + 801288c: 2b00 cmp r3, #0 + 801288e: d008 beq.n 80128a2 /* received data although already closed -> abort (send RST) to notify the remote host that not all data has been processed */ pbuf_free(recv_data); - 8012d00: 4b6a ldr r3, [pc, #424] ; (8012eac ) - 8012d02: 681b ldr r3, [r3, #0] - 8012d04: 4618 mov r0, r3 - 8012d06: f7fd fea7 bl 8010a58 + 8012890: 4b6a ldr r3, [pc, #424] ; (8012a3c ) + 8012892: 681b ldr r3, [r3, #0] + 8012894: 4618 mov r0, r3 + 8012896: f7fd fea7 bl 80105e8 #if TCP_QUEUE_OOSEQ && LWIP_WND_SCALE if (rest != NULL) { pbuf_free(rest); } #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ tcp_abort(pcb); - 8012d0a: 69f8 ldr r0, [r7, #28] - 8012d0c: f7fe fc40 bl 8011590 + 801289a: 69f8 ldr r0, [r7, #28] + 801289c: f7fe fc40 bl 8011120 goto aborted; - 8012d10: e078 b.n 8012e04 + 80128a0: e078 b.n 8012994 } /* Notify application that data has been received. */ TCP_EVENT_RECV(pcb, recv_data, ERR_OK, err); - 8012d12: 69fb ldr r3, [r7, #28] - 8012d14: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 - 8012d18: 2b00 cmp r3, #0 - 8012d1a: d00c beq.n 8012d36 - 8012d1c: 69fb ldr r3, [r7, #28] - 8012d1e: f8d3 4084 ldr.w r4, [r3, #132] ; 0x84 - 8012d22: 69fb ldr r3, [r7, #28] - 8012d24: 6918 ldr r0, [r3, #16] - 8012d26: 4b61 ldr r3, [pc, #388] ; (8012eac ) - 8012d28: 681a ldr r2, [r3, #0] - 8012d2a: 2300 movs r3, #0 - 8012d2c: 69f9 ldr r1, [r7, #28] - 8012d2e: 47a0 blx r4 - 8012d30: 4603 mov r3, r0 - 8012d32: 74fb strb r3, [r7, #19] - 8012d34: e008 b.n 8012d48 - 8012d36: 4b5d ldr r3, [pc, #372] ; (8012eac ) - 8012d38: 681a ldr r2, [r3, #0] - 8012d3a: 2300 movs r3, #0 - 8012d3c: 69f9 ldr r1, [r7, #28] - 8012d3e: 2000 movs r0, #0 - 8012d40: f7ff f952 bl 8011fe8 - 8012d44: 4603 mov r3, r0 - 8012d46: 74fb strb r3, [r7, #19] + 80128a2: 69fb ldr r3, [r7, #28] + 80128a4: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 + 80128a8: 2b00 cmp r3, #0 + 80128aa: d00c beq.n 80128c6 + 80128ac: 69fb ldr r3, [r7, #28] + 80128ae: f8d3 4084 ldr.w r4, [r3, #132] ; 0x84 + 80128b2: 69fb ldr r3, [r7, #28] + 80128b4: 6918 ldr r0, [r3, #16] + 80128b6: 4b61 ldr r3, [pc, #388] ; (8012a3c ) + 80128b8: 681a ldr r2, [r3, #0] + 80128ba: 2300 movs r3, #0 + 80128bc: 69f9 ldr r1, [r7, #28] + 80128be: 47a0 blx r4 + 80128c0: 4603 mov r3, r0 + 80128c2: 74fb strb r3, [r7, #19] + 80128c4: e008 b.n 80128d8 + 80128c6: 4b5d ldr r3, [pc, #372] ; (8012a3c ) + 80128c8: 681a ldr r2, [r3, #0] + 80128ca: 2300 movs r3, #0 + 80128cc: 69f9 ldr r1, [r7, #28] + 80128ce: 2000 movs r0, #0 + 80128d0: f7ff f952 bl 8011b78 + 80128d4: 4603 mov r3, r0 + 80128d6: 74fb strb r3, [r7, #19] if (err == ERR_ABRT) { - 8012d48: f997 3013 ldrsb.w r3, [r7, #19] - 8012d4c: f113 0f0d cmn.w r3, #13 - 8012d50: d053 beq.n 8012dfa + 80128d8: f997 3013 ldrsb.w r3, [r7, #19] + 80128dc: f113 0f0d cmn.w r3, #13 + 80128e0: d053 beq.n 801298a #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ goto aborted; } /* If the upper layer can't receive this data, store it */ if (err != ERR_OK) { - 8012d52: f997 3013 ldrsb.w r3, [r7, #19] - 8012d56: 2b00 cmp r3, #0 - 8012d58: d003 beq.n 8012d62 + 80128e2: f997 3013 ldrsb.w r3, [r7, #19] + 80128e6: 2b00 cmp r3, #0 + 80128e8: d003 beq.n 80128f2 #if TCP_QUEUE_OOSEQ && LWIP_WND_SCALE if (rest != NULL) { pbuf_cat(recv_data, rest); } #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ pcb->refused_data = recv_data; - 8012d5a: 4b54 ldr r3, [pc, #336] ; (8012eac ) - 8012d5c: 681a ldr r2, [r3, #0] - 8012d5e: 69fb ldr r3, [r7, #28] - 8012d60: 679a str r2, [r3, #120] ; 0x78 + 80128ea: 4b54 ldr r3, [pc, #336] ; (8012a3c ) + 80128ec: 681a ldr r2, [r3, #0] + 80128ee: 69fb ldr r3, [r7, #28] + 80128f0: 679a str r2, [r3, #120] ; 0x78 } } /* If a FIN segment was received, we call the callback function with a NULL buffer to indicate EOF. */ if (recv_flags & TF_GOT_FIN) { - 8012d62: 4b4f ldr r3, [pc, #316] ; (8012ea0 ) - 8012d64: 781b ldrb r3, [r3, #0] - 8012d66: f003 0320 and.w r3, r3, #32 - 8012d6a: 2b00 cmp r3, #0 - 8012d6c: d030 beq.n 8012dd0 + 80128f2: 4b4f ldr r3, [pc, #316] ; (8012a30 ) + 80128f4: 781b ldrb r3, [r3, #0] + 80128f6: f003 0320 and.w r3, r3, #32 + 80128fa: 2b00 cmp r3, #0 + 80128fc: d030 beq.n 8012960 if (pcb->refused_data != NULL) { - 8012d6e: 69fb ldr r3, [r7, #28] - 8012d70: 6f9b ldr r3, [r3, #120] ; 0x78 - 8012d72: 2b00 cmp r3, #0 - 8012d74: d009 beq.n 8012d8a + 80128fe: 69fb ldr r3, [r7, #28] + 8012900: 6f9b ldr r3, [r3, #120] ; 0x78 + 8012902: 2b00 cmp r3, #0 + 8012904: d009 beq.n 801291a /* Delay this if we have refused data. */ pcb->refused_data->flags |= PBUF_FLAG_TCP_FIN; - 8012d76: 69fb ldr r3, [r7, #28] - 8012d78: 6f9b ldr r3, [r3, #120] ; 0x78 - 8012d7a: 7b5a ldrb r2, [r3, #13] - 8012d7c: 69fb ldr r3, [r7, #28] - 8012d7e: 6f9b ldr r3, [r3, #120] ; 0x78 - 8012d80: f042 0220 orr.w r2, r2, #32 - 8012d84: b2d2 uxtb r2, r2 - 8012d86: 735a strb r2, [r3, #13] - 8012d88: e022 b.n 8012dd0 + 8012906: 69fb ldr r3, [r7, #28] + 8012908: 6f9b ldr r3, [r3, #120] ; 0x78 + 801290a: 7b5a ldrb r2, [r3, #13] + 801290c: 69fb ldr r3, [r7, #28] + 801290e: 6f9b ldr r3, [r3, #120] ; 0x78 + 8012910: f042 0220 orr.w r2, r2, #32 + 8012914: b2d2 uxtb r2, r2 + 8012916: 735a strb r2, [r3, #13] + 8012918: e022 b.n 8012960 } else { /* correct rcv_wnd as the application won't call tcp_recved() for the FIN's seqno */ if (pcb->rcv_wnd != TCP_WND_MAX(pcb)) { - 8012d8a: 69fb ldr r3, [r7, #28] - 8012d8c: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8012d8e: f5b3 6f06 cmp.w r3, #2144 ; 0x860 - 8012d92: d005 beq.n 8012da0 + 801291a: 69fb ldr r3, [r7, #28] + 801291c: 8d1b ldrh r3, [r3, #40] ; 0x28 + 801291e: f5b3 6f06 cmp.w r3, #2144 ; 0x860 + 8012922: d005 beq.n 8012930 pcb->rcv_wnd++; - 8012d94: 69fb ldr r3, [r7, #28] - 8012d96: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8012d98: 3301 adds r3, #1 - 8012d9a: b29a uxth r2, r3 - 8012d9c: 69fb ldr r3, [r7, #28] - 8012d9e: 851a strh r2, [r3, #40] ; 0x28 + 8012924: 69fb ldr r3, [r7, #28] + 8012926: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8012928: 3301 adds r3, #1 + 801292a: b29a uxth r2, r3 + 801292c: 69fb ldr r3, [r7, #28] + 801292e: 851a strh r2, [r3, #40] ; 0x28 } TCP_EVENT_CLOSED(pcb, err); - 8012da0: 69fb ldr r3, [r7, #28] - 8012da2: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 - 8012da6: 2b00 cmp r3, #0 - 8012da8: d00b beq.n 8012dc2 - 8012daa: 69fb ldr r3, [r7, #28] - 8012dac: f8d3 4084 ldr.w r4, [r3, #132] ; 0x84 - 8012db0: 69fb ldr r3, [r7, #28] - 8012db2: 6918 ldr r0, [r3, #16] - 8012db4: 2300 movs r3, #0 - 8012db6: 2200 movs r2, #0 - 8012db8: 69f9 ldr r1, [r7, #28] - 8012dba: 47a0 blx r4 - 8012dbc: 4603 mov r3, r0 - 8012dbe: 74fb strb r3, [r7, #19] - 8012dc0: e001 b.n 8012dc6 - 8012dc2: 2300 movs r3, #0 - 8012dc4: 74fb strb r3, [r7, #19] + 8012930: 69fb ldr r3, [r7, #28] + 8012932: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 + 8012936: 2b00 cmp r3, #0 + 8012938: d00b beq.n 8012952 + 801293a: 69fb ldr r3, [r7, #28] + 801293c: f8d3 4084 ldr.w r4, [r3, #132] ; 0x84 + 8012940: 69fb ldr r3, [r7, #28] + 8012942: 6918 ldr r0, [r3, #16] + 8012944: 2300 movs r3, #0 + 8012946: 2200 movs r2, #0 + 8012948: 69f9 ldr r1, [r7, #28] + 801294a: 47a0 blx r4 + 801294c: 4603 mov r3, r0 + 801294e: 74fb strb r3, [r7, #19] + 8012950: e001 b.n 8012956 + 8012952: 2300 movs r3, #0 + 8012954: 74fb strb r3, [r7, #19] if (err == ERR_ABRT) { - 8012dc6: f997 3013 ldrsb.w r3, [r7, #19] - 8012dca: f113 0f0d cmn.w r3, #13 - 8012dce: d016 beq.n 8012dfe + 8012956: f997 3013 ldrsb.w r3, [r7, #19] + 801295a: f113 0f0d cmn.w r3, #13 + 801295e: d016 beq.n 801298e goto aborted; } } } tcp_input_pcb = NULL; - 8012dd0: 4b32 ldr r3, [pc, #200] ; (8012e9c ) - 8012dd2: 2200 movs r2, #0 - 8012dd4: 601a str r2, [r3, #0] + 8012960: 4b32 ldr r3, [pc, #200] ; (8012a2c ) + 8012962: 2200 movs r2, #0 + 8012964: 601a str r2, [r3, #0] if (tcp_input_delayed_close(pcb)) { - 8012dd6: 69f8 ldr r0, [r7, #28] - 8012dd8: f000 f87e bl 8012ed8 - 8012ddc: 4603 mov r3, r0 - 8012dde: 2b00 cmp r3, #0 - 8012de0: d10f bne.n 8012e02 + 8012966: 69f8 ldr r0, [r7, #28] + 8012968: f000 f87e bl 8012a68 + 801296c: 4603 mov r3, r0 + 801296e: 2b00 cmp r3, #0 + 8012970: d10f bne.n 8012992 goto aborted; } /* Try to send something out. */ tcp_output(pcb); - 8012de2: 69f8 ldr r0, [r7, #28] - 8012de4: f002 fab6 bl 8015354 - 8012de8: e00c b.n 8012e04 + 8012972: 69f8 ldr r0, [r7, #28] + 8012974: f002 fab6 bl 8014ee4 + 8012978: e00c b.n 8012994 goto aborted; - 8012dea: bf00 nop - 8012dec: e00a b.n 8012e04 + 801297a: bf00 nop + 801297c: e00a b.n 8012994 #endif /* TCP_INPUT_DEBUG */ } } /* Jump target if pcb has been aborted in a callback (by calling tcp_abort()). Below this line, 'pcb' may not be dereferenced! */ aborted: - 8012dee: bf00 nop - 8012df0: e008 b.n 8012e04 + 801297e: bf00 nop + 8012980: e008 b.n 8012994 goto aborted; - 8012df2: bf00 nop - 8012df4: e006 b.n 8012e04 + 8012982: bf00 nop + 8012984: e006 b.n 8012994 goto aborted; - 8012df6: bf00 nop - 8012df8: e004 b.n 8012e04 + 8012986: bf00 nop + 8012988: e004 b.n 8012994 goto aborted; - 8012dfa: bf00 nop - 8012dfc: e002 b.n 8012e04 + 801298a: bf00 nop + 801298c: e002 b.n 8012994 goto aborted; - 8012dfe: bf00 nop - 8012e00: e000 b.n 8012e04 + 801298e: bf00 nop + 8012990: e000 b.n 8012994 goto aborted; - 8012e02: bf00 nop + 8012992: bf00 nop tcp_input_pcb = NULL; - 8012e04: 4b25 ldr r3, [pc, #148] ; (8012e9c ) - 8012e06: 2200 movs r2, #0 - 8012e08: 601a str r2, [r3, #0] + 8012994: 4b25 ldr r3, [pc, #148] ; (8012a2c ) + 8012996: 2200 movs r2, #0 + 8012998: 601a str r2, [r3, #0] recv_data = NULL; - 8012e0a: 4b28 ldr r3, [pc, #160] ; (8012eac ) - 8012e0c: 2200 movs r2, #0 - 8012e0e: 601a str r2, [r3, #0] + 801299a: 4b28 ldr r3, [pc, #160] ; (8012a3c ) + 801299c: 2200 movs r2, #0 + 801299e: 601a str r2, [r3, #0] /* give up our reference to inseg.p */ if (inseg.p != NULL) { - 8012e10: 4b2a ldr r3, [pc, #168] ; (8012ebc ) - 8012e12: 685b ldr r3, [r3, #4] - 8012e14: 2b00 cmp r3, #0 - 8012e16: d03d beq.n 8012e94 + 80129a0: 4b2a ldr r3, [pc, #168] ; (8012a4c ) + 80129a2: 685b ldr r3, [r3, #4] + 80129a4: 2b00 cmp r3, #0 + 80129a6: d03d beq.n 8012a24 pbuf_free(inseg.p); - 8012e18: 4b28 ldr r3, [pc, #160] ; (8012ebc ) - 8012e1a: 685b ldr r3, [r3, #4] - 8012e1c: 4618 mov r0, r3 - 8012e1e: f7fd fe1b bl 8010a58 + 80129a8: 4b28 ldr r3, [pc, #160] ; (8012a4c ) + 80129aa: 685b ldr r3, [r3, #4] + 80129ac: 4618 mov r0, r3 + 80129ae: f7fd fe1b bl 80105e8 inseg.p = NULL; - 8012e22: 4b26 ldr r3, [pc, #152] ; (8012ebc ) - 8012e24: 2200 movs r2, #0 - 8012e26: 605a str r2, [r3, #4] + 80129b2: 4b26 ldr r3, [pc, #152] ; (8012a4c ) + 80129b4: 2200 movs r2, #0 + 80129b6: 605a str r2, [r3, #4] pbuf_free(p); } LWIP_ASSERT("tcp_input: tcp_pcbs_sane()", tcp_pcbs_sane()); PERF_STOP("tcp_input"); return; - 8012e28: e034 b.n 8012e94 + 80129b8: e034 b.n 8012a24 if (!(TCPH_FLAGS(tcphdr) & TCP_RST)) { - 8012e2a: 4b25 ldr r3, [pc, #148] ; (8012ec0 ) - 8012e2c: 681b ldr r3, [r3, #0] - 8012e2e: 899b ldrh r3, [r3, #12] - 8012e30: b29b uxth r3, r3 - 8012e32: 4618 mov r0, r3 - 8012e34: f7fc fa5c bl 800f2f0 - 8012e38: 4603 mov r3, r0 - 8012e3a: b2db uxtb r3, r3 - 8012e3c: f003 0304 and.w r3, r3, #4 - 8012e40: 2b00 cmp r3, #0 - 8012e42: d118 bne.n 8012e76 + 80129ba: 4b25 ldr r3, [pc, #148] ; (8012a50 ) + 80129bc: 681b ldr r3, [r3, #0] + 80129be: 899b ldrh r3, [r3, #12] + 80129c0: b29b uxth r3, r3 + 80129c2: 4618 mov r0, r3 + 80129c4: f7fc fa5c bl 800ee80 + 80129c8: 4603 mov r3, r0 + 80129ca: b2db uxtb r3, r3 + 80129cc: f003 0304 and.w r3, r3, #4 + 80129d0: 2b00 cmp r3, #0 + 80129d2: d118 bne.n 8012a06 tcp_rst(NULL, ackno, seqno + tcplen, ip_current_dest_addr(), - 8012e44: 4b1f ldr r3, [pc, #124] ; (8012ec4 ) - 8012e46: 6819 ldr r1, [r3, #0] - 8012e48: 4b1f ldr r3, [pc, #124] ; (8012ec8 ) - 8012e4a: 881b ldrh r3, [r3, #0] - 8012e4c: 461a mov r2, r3 - 8012e4e: 4b1f ldr r3, [pc, #124] ; (8012ecc ) - 8012e50: 681b ldr r3, [r3, #0] - 8012e52: 18d0 adds r0, r2, r3 + 80129d4: 4b1f ldr r3, [pc, #124] ; (8012a54 ) + 80129d6: 6819 ldr r1, [r3, #0] + 80129d8: 4b1f ldr r3, [pc, #124] ; (8012a58 ) + 80129da: 881b ldrh r3, [r3, #0] + 80129dc: 461a mov r2, r3 + 80129de: 4b1f ldr r3, [pc, #124] ; (8012a5c ) + 80129e0: 681b ldr r3, [r3, #0] + 80129e2: 18d0 adds r0, r2, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 8012e54: 4b1a ldr r3, [pc, #104] ; (8012ec0 ) - 8012e56: 681b ldr r3, [r3, #0] + 80129e4: 4b1a ldr r3, [pc, #104] ; (8012a50 ) + 80129e6: 681b ldr r3, [r3, #0] tcp_rst(NULL, ackno, seqno + tcplen, ip_current_dest_addr(), - 8012e58: 885b ldrh r3, [r3, #2] - 8012e5a: b29b uxth r3, r3 + 80129e8: 885b ldrh r3, [r3, #2] + 80129ea: b29b uxth r3, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 8012e5c: 4a18 ldr r2, [pc, #96] ; (8012ec0 ) - 8012e5e: 6812 ldr r2, [r2, #0] + 80129ec: 4a18 ldr r2, [pc, #96] ; (8012a50 ) + 80129ee: 6812 ldr r2, [r2, #0] tcp_rst(NULL, ackno, seqno + tcplen, ip_current_dest_addr(), - 8012e60: 8812 ldrh r2, [r2, #0] - 8012e62: b292 uxth r2, r2 - 8012e64: 9202 str r2, [sp, #8] - 8012e66: 9301 str r3, [sp, #4] - 8012e68: 4b19 ldr r3, [pc, #100] ; (8012ed0 ) - 8012e6a: 9300 str r3, [sp, #0] - 8012e6c: 4b19 ldr r3, [pc, #100] ; (8012ed4 ) - 8012e6e: 4602 mov r2, r0 - 8012e70: 2000 movs r0, #0 - 8012e72: f003 f835 bl 8015ee0 + 80129f0: 8812 ldrh r2, [r2, #0] + 80129f2: b292 uxth r2, r2 + 80129f4: 9202 str r2, [sp, #8] + 80129f6: 9301 str r3, [sp, #4] + 80129f8: 4b19 ldr r3, [pc, #100] ; (8012a60 ) + 80129fa: 9300 str r3, [sp, #0] + 80129fc: 4b19 ldr r3, [pc, #100] ; (8012a64 ) + 80129fe: 4602 mov r2, r0 + 8012a00: 2000 movs r0, #0 + 8012a02: f003 f835 bl 8015a70 pbuf_free(p); - 8012e76: 6878 ldr r0, [r7, #4] - 8012e78: f7fd fdee bl 8010a58 + 8012a06: 6878 ldr r0, [r7, #4] + 8012a08: f7fd fdee bl 80105e8 return; - 8012e7c: e00a b.n 8012e94 + 8012a0c: e00a b.n 8012a24 goto dropped; - 8012e7e: bf00 nop - 8012e80: e004 b.n 8012e8c + 8012a0e: bf00 nop + 8012a10: e004 b.n 8012a1c dropped: - 8012e82: bf00 nop - 8012e84: e002 b.n 8012e8c + 8012a12: bf00 nop + 8012a14: e002 b.n 8012a1c goto dropped; - 8012e86: bf00 nop - 8012e88: e000 b.n 8012e8c + 8012a16: bf00 nop + 8012a18: e000 b.n 8012a1c goto dropped; - 8012e8a: bf00 nop + 8012a1a: bf00 nop TCP_STATS_INC(tcp.drop); MIB2_STATS_INC(mib2.tcpinerrs); pbuf_free(p); - 8012e8c: 6878 ldr r0, [r7, #4] - 8012e8e: f7fd fde3 bl 8010a58 - 8012e92: e000 b.n 8012e96 + 8012a1c: 6878 ldr r0, [r7, #4] + 8012a1e: f7fd fde3 bl 80105e8 + 8012a22: e000 b.n 8012a26 return; - 8012e94: bf00 nop + 8012a24: bf00 nop } - 8012e96: 3724 adds r7, #36 ; 0x24 - 8012e98: 46bd mov sp, r7 - 8012e9a: bd90 pop {r4, r7, pc} - 8012e9c: 2000f5d8 .word 0x2000f5d8 - 8012ea0: 20008759 .word 0x20008759 - 8012ea4: 2000f5c4 .word 0x2000f5c4 - 8012ea8: 20008754 .word 0x20008754 - 8012eac: 2000875c .word 0x2000875c - 8012eb0: 0801dab4 .word 0x0801dab4 - 8012eb4: 0801dc68 .word 0x0801dc68 - 8012eb8: 0801db00 .word 0x0801db00 - 8012ebc: 2000872c .word 0x2000872c - 8012ec0: 2000873c .word 0x2000873c - 8012ec4: 20008750 .word 0x20008750 - 8012ec8: 20008756 .word 0x20008756 - 8012ecc: 2000874c .word 0x2000874c - 8012ed0: 2000bea0 .word 0x2000bea0 - 8012ed4: 2000bea4 .word 0x2000bea4 + 8012a26: 3724 adds r7, #36 ; 0x24 + 8012a28: 46bd mov sp, r7 + 8012a2a: bd90 pop {r4, r7, pc} + 8012a2c: 2000f5d4 .word 0x2000f5d4 + 8012a30: 20008759 .word 0x20008759 + 8012a34: 2000f5c0 .word 0x2000f5c0 + 8012a38: 20008754 .word 0x20008754 + 8012a3c: 2000875c .word 0x2000875c + 8012a40: 0801d2b0 .word 0x0801d2b0 + 8012a44: 0801d464 .word 0x0801d464 + 8012a48: 0801d2fc .word 0x0801d2fc + 8012a4c: 2000872c .word 0x2000872c + 8012a50: 2000873c .word 0x2000873c + 8012a54: 20008750 .word 0x20008750 + 8012a58: 20008756 .word 0x20008756 + 8012a5c: 2000874c .word 0x2000874c + 8012a60: 2000be9c .word 0x2000be9c + 8012a64: 2000bea0 .word 0x2000bea0 -08012ed8 : +08012a68 : * any more. * @returns 1 if the pcb has been closed and deallocated, 0 otherwise */ static int tcp_input_delayed_close(struct tcp_pcb *pcb) { - 8012ed8: b580 push {r7, lr} - 8012eda: b082 sub sp, #8 - 8012edc: af00 add r7, sp, #0 - 8012ede: 6078 str r0, [r7, #4] + 8012a68: b580 push {r7, lr} + 8012a6a: b082 sub sp, #8 + 8012a6c: af00 add r7, sp, #0 + 8012a6e: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_input_delayed_close: invalid pcb", pcb != NULL); - 8012ee0: 687b ldr r3, [r7, #4] - 8012ee2: 2b00 cmp r3, #0 - 8012ee4: d106 bne.n 8012ef4 - 8012ee6: 4b17 ldr r3, [pc, #92] ; (8012f44 ) - 8012ee8: f240 225a movw r2, #602 ; 0x25a - 8012eec: 4916 ldr r1, [pc, #88] ; (8012f48 ) - 8012eee: 4817 ldr r0, [pc, #92] ; (8012f4c ) - 8012ef0: f008 fae2 bl 801b4b8 + 8012a70: 687b ldr r3, [r7, #4] + 8012a72: 2b00 cmp r3, #0 + 8012a74: d106 bne.n 8012a84 + 8012a76: 4b17 ldr r3, [pc, #92] ; (8012ad4 ) + 8012a78: f240 225a movw r2, #602 ; 0x25a + 8012a7c: 4916 ldr r1, [pc, #88] ; (8012ad8 ) + 8012a7e: 4817 ldr r0, [pc, #92] ; (8012adc ) + 8012a80: f008 fac8 bl 801b014 if (recv_flags & TF_CLOSED) { - 8012ef4: 4b16 ldr r3, [pc, #88] ; (8012f50 ) - 8012ef6: 781b ldrb r3, [r3, #0] - 8012ef8: f003 0310 and.w r3, r3, #16 - 8012efc: 2b00 cmp r3, #0 - 8012efe: d01c beq.n 8012f3a + 8012a84: 4b16 ldr r3, [pc, #88] ; (8012ae0 ) + 8012a86: 781b ldrb r3, [r3, #0] + 8012a88: f003 0310 and.w r3, r3, #16 + 8012a8c: 2b00 cmp r3, #0 + 8012a8e: d01c beq.n 8012aca /* The connection has been closed and we will deallocate the PCB. */ if (!(pcb->flags & TF_RXCLOSED)) { - 8012f00: 687b ldr r3, [r7, #4] - 8012f02: 8b5b ldrh r3, [r3, #26] - 8012f04: f003 0310 and.w r3, r3, #16 - 8012f08: 2b00 cmp r3, #0 - 8012f0a: d10d bne.n 8012f28 + 8012a90: 687b ldr r3, [r7, #4] + 8012a92: 8b5b ldrh r3, [r3, #26] + 8012a94: f003 0310 and.w r3, r3, #16 + 8012a98: 2b00 cmp r3, #0 + 8012a9a: d10d bne.n 8012ab8 /* Connection closed although the application has only shut down the tx side: call the PCB's err callback and indicate the closure to ensure the application doesn't continue using the PCB. */ TCP_EVENT_ERR(pcb->state, pcb->errf, pcb->callback_arg, ERR_CLSD); - 8012f0c: 687b ldr r3, [r7, #4] - 8012f0e: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8012f12: 2b00 cmp r3, #0 - 8012f14: d008 beq.n 8012f28 - 8012f16: 687b ldr r3, [r7, #4] - 8012f18: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8012f1c: 687a ldr r2, [r7, #4] - 8012f1e: 6912 ldr r2, [r2, #16] - 8012f20: f06f 010e mvn.w r1, #14 - 8012f24: 4610 mov r0, r2 - 8012f26: 4798 blx r3 + 8012a9c: 687b ldr r3, [r7, #4] + 8012a9e: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 8012aa2: 2b00 cmp r3, #0 + 8012aa4: d008 beq.n 8012ab8 + 8012aa6: 687b ldr r3, [r7, #4] + 8012aa8: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 8012aac: 687a ldr r2, [r7, #4] + 8012aae: 6912 ldr r2, [r2, #16] + 8012ab0: f06f 010e mvn.w r1, #14 + 8012ab4: 4610 mov r0, r2 + 8012ab6: 4798 blx r3 } tcp_pcb_remove(&tcp_active_pcbs, pcb); - 8012f28: 6879 ldr r1, [r7, #4] - 8012f2a: 480a ldr r0, [pc, #40] ; (8012f54 ) - 8012f2c: f7ff fa54 bl 80123d8 + 8012ab8: 6879 ldr r1, [r7, #4] + 8012aba: 480a ldr r0, [pc, #40] ; (8012ae4 ) + 8012abc: f7ff fa54 bl 8011f68 tcp_free(pcb); - 8012f30: 6878 ldr r0, [r7, #4] - 8012f32: f7fe f84d bl 8010fd0 + 8012ac0: 6878 ldr r0, [r7, #4] + 8012ac2: f7fe f84d bl 8010b60 return 1; - 8012f36: 2301 movs r3, #1 - 8012f38: e000 b.n 8012f3c + 8012ac6: 2301 movs r3, #1 + 8012ac8: e000 b.n 8012acc } return 0; - 8012f3a: 2300 movs r3, #0 + 8012aca: 2300 movs r3, #0 } - 8012f3c: 4618 mov r0, r3 - 8012f3e: 3708 adds r7, #8 - 8012f40: 46bd mov sp, r7 - 8012f42: bd80 pop {r7, pc} - 8012f44: 0801dab4 .word 0x0801dab4 - 8012f48: 0801dc84 .word 0x0801dc84 - 8012f4c: 0801db00 .word 0x0801db00 - 8012f50: 20008759 .word 0x20008759 - 8012f54: 2000f5c4 .word 0x2000f5c4 + 8012acc: 4618 mov r0, r3 + 8012ace: 3708 adds r7, #8 + 8012ad0: 46bd mov sp, r7 + 8012ad2: bd80 pop {r7, pc} + 8012ad4: 0801d2b0 .word 0x0801d2b0 + 8012ad8: 0801d480 .word 0x0801d480 + 8012adc: 0801d2fc .word 0x0801d2fc + 8012ae0: 20008759 .word 0x20008759 + 8012ae4: 2000f5c0 .word 0x2000f5c0 -08012f58 : +08012ae8 : * @note the segment which arrived is saved in global variables, therefore only the pcb * involved is passed as a parameter to this function */ static void tcp_listen_input(struct tcp_pcb_listen *pcb) { - 8012f58: b590 push {r4, r7, lr} - 8012f5a: b08b sub sp, #44 ; 0x2c - 8012f5c: af04 add r7, sp, #16 - 8012f5e: 6078 str r0, [r7, #4] + 8012ae8: b590 push {r4, r7, lr} + 8012aea: b08b sub sp, #44 ; 0x2c + 8012aec: af04 add r7, sp, #16 + 8012aee: 6078 str r0, [r7, #4] struct tcp_pcb *npcb; u32_t iss; err_t rc; if (flags & TCP_RST) { - 8012f60: 4b6f ldr r3, [pc, #444] ; (8013120 ) - 8012f62: 781b ldrb r3, [r3, #0] - 8012f64: f003 0304 and.w r3, r3, #4 - 8012f68: 2b00 cmp r3, #0 - 8012f6a: f040 80d3 bne.w 8013114 + 8012af0: 4b6f ldr r3, [pc, #444] ; (8012cb0 ) + 8012af2: 781b ldrb r3, [r3, #0] + 8012af4: f003 0304 and.w r3, r3, #4 + 8012af8: 2b00 cmp r3, #0 + 8012afa: f040 80d3 bne.w 8012ca4 /* An incoming RST should be ignored. Return. */ return; } LWIP_ASSERT("tcp_listen_input: invalid pcb", pcb != NULL); - 8012f6e: 687b ldr r3, [r7, #4] - 8012f70: 2b00 cmp r3, #0 - 8012f72: d106 bne.n 8012f82 - 8012f74: 4b6b ldr r3, [pc, #428] ; (8013124 ) - 8012f76: f240 2281 movw r2, #641 ; 0x281 - 8012f7a: 496b ldr r1, [pc, #428] ; (8013128 ) - 8012f7c: 486b ldr r0, [pc, #428] ; (801312c ) - 8012f7e: f008 fa9b bl 801b4b8 + 8012afe: 687b ldr r3, [r7, #4] + 8012b00: 2b00 cmp r3, #0 + 8012b02: d106 bne.n 8012b12 + 8012b04: 4b6b ldr r3, [pc, #428] ; (8012cb4 ) + 8012b06: f240 2281 movw r2, #641 ; 0x281 + 8012b0a: 496b ldr r1, [pc, #428] ; (8012cb8 ) + 8012b0c: 486b ldr r0, [pc, #428] ; (8012cbc ) + 8012b0e: f008 fa81 bl 801b014 /* In the LISTEN state, we check for incoming SYN segments, creates a new PCB, and responds with a SYN|ACK. */ if (flags & TCP_ACK) { - 8012f82: 4b67 ldr r3, [pc, #412] ; (8013120 ) - 8012f84: 781b ldrb r3, [r3, #0] - 8012f86: f003 0310 and.w r3, r3, #16 - 8012f8a: 2b00 cmp r3, #0 - 8012f8c: d019 beq.n 8012fc2 + 8012b12: 4b67 ldr r3, [pc, #412] ; (8012cb0 ) + 8012b14: 781b ldrb r3, [r3, #0] + 8012b16: f003 0310 and.w r3, r3, #16 + 8012b1a: 2b00 cmp r3, #0 + 8012b1c: d019 beq.n 8012b52 /* For incoming segments with the ACK flag set, respond with a RST. */ LWIP_DEBUGF(TCP_RST_DEBUG, ("tcp_listen_input: ACK in LISTEN, sending reset\n")); tcp_rst((const struct tcp_pcb *)pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 8012f8e: 4b68 ldr r3, [pc, #416] ; (8013130 ) - 8012f90: 6819 ldr r1, [r3, #0] - 8012f92: 4b68 ldr r3, [pc, #416] ; (8013134 ) - 8012f94: 881b ldrh r3, [r3, #0] - 8012f96: 461a mov r2, r3 - 8012f98: 4b67 ldr r3, [pc, #412] ; (8013138 ) - 8012f9a: 681b ldr r3, [r3, #0] - 8012f9c: 18d0 adds r0, r2, r3 + 8012b1e: 4b68 ldr r3, [pc, #416] ; (8012cc0 ) + 8012b20: 6819 ldr r1, [r3, #0] + 8012b22: 4b68 ldr r3, [pc, #416] ; (8012cc4 ) + 8012b24: 881b ldrh r3, [r3, #0] + 8012b26: 461a mov r2, r3 + 8012b28: 4b67 ldr r3, [pc, #412] ; (8012cc8 ) + 8012b2a: 681b ldr r3, [r3, #0] + 8012b2c: 18d0 adds r0, r2, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 8012f9e: 4b67 ldr r3, [pc, #412] ; (801313c ) - 8012fa0: 681b ldr r3, [r3, #0] + 8012b2e: 4b67 ldr r3, [pc, #412] ; (8012ccc ) + 8012b30: 681b ldr r3, [r3, #0] tcp_rst((const struct tcp_pcb *)pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 8012fa2: 885b ldrh r3, [r3, #2] - 8012fa4: b29b uxth r3, r3 + 8012b32: 885b ldrh r3, [r3, #2] + 8012b34: b29b uxth r3, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 8012fa6: 4a65 ldr r2, [pc, #404] ; (801313c ) - 8012fa8: 6812 ldr r2, [r2, #0] + 8012b36: 4a65 ldr r2, [pc, #404] ; (8012ccc ) + 8012b38: 6812 ldr r2, [r2, #0] tcp_rst((const struct tcp_pcb *)pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 8012faa: 8812 ldrh r2, [r2, #0] - 8012fac: b292 uxth r2, r2 - 8012fae: 9202 str r2, [sp, #8] - 8012fb0: 9301 str r3, [sp, #4] - 8012fb2: 4b63 ldr r3, [pc, #396] ; (8013140 ) - 8012fb4: 9300 str r3, [sp, #0] - 8012fb6: 4b63 ldr r3, [pc, #396] ; (8013144 ) - 8012fb8: 4602 mov r2, r0 - 8012fba: 6878 ldr r0, [r7, #4] - 8012fbc: f002 ff90 bl 8015ee0 + 8012b3a: 8812 ldrh r2, [r2, #0] + 8012b3c: b292 uxth r2, r2 + 8012b3e: 9202 str r2, [sp, #8] + 8012b40: 9301 str r3, [sp, #4] + 8012b42: 4b63 ldr r3, [pc, #396] ; (8012cd0 ) + 8012b44: 9300 str r3, [sp, #0] + 8012b46: 4b63 ldr r3, [pc, #396] ; (8012cd4 ) + 8012b48: 4602 mov r2, r0 + 8012b4a: 6878 ldr r0, [r7, #4] + 8012b4c: f002 ff90 bl 8015a70 tcp_abandon(npcb, 0); return; } tcp_output(npcb); } return; - 8012fc0: e0aa b.n 8013118 + 8012b50: e0aa b.n 8012ca8 } else if (flags & TCP_SYN) { - 8012fc2: 4b57 ldr r3, [pc, #348] ; (8013120 ) - 8012fc4: 781b ldrb r3, [r3, #0] - 8012fc6: f003 0302 and.w r3, r3, #2 - 8012fca: 2b00 cmp r3, #0 - 8012fcc: f000 80a4 beq.w 8013118 + 8012b52: 4b57 ldr r3, [pc, #348] ; (8012cb0 ) + 8012b54: 781b ldrb r3, [r3, #0] + 8012b56: f003 0302 and.w r3, r3, #2 + 8012b5a: 2b00 cmp r3, #0 + 8012b5c: f000 80a4 beq.w 8012ca8 npcb = tcp_alloc(pcb->prio); - 8012fd0: 687b ldr r3, [r7, #4] - 8012fd2: 7d5b ldrb r3, [r3, #21] - 8012fd4: 4618 mov r0, r3 - 8012fd6: f7ff f92b bl 8012230 - 8012fda: 6178 str r0, [r7, #20] + 8012b60: 687b ldr r3, [r7, #4] + 8012b62: 7d5b ldrb r3, [r3, #21] + 8012b64: 4618 mov r0, r3 + 8012b66: f7ff f92b bl 8011dc0 + 8012b6a: 6178 str r0, [r7, #20] if (npcb == NULL) { - 8012fdc: 697b ldr r3, [r7, #20] - 8012fde: 2b00 cmp r3, #0 - 8012fe0: d111 bne.n 8013006 + 8012b6c: 697b ldr r3, [r7, #20] + 8012b6e: 2b00 cmp r3, #0 + 8012b70: d111 bne.n 8012b96 TCP_EVENT_ACCEPT(pcb, NULL, pcb->callback_arg, ERR_MEM, err); - 8012fe2: 687b ldr r3, [r7, #4] - 8012fe4: 699b ldr r3, [r3, #24] - 8012fe6: 2b00 cmp r3, #0 - 8012fe8: d00a beq.n 8013000 - 8012fea: 687b ldr r3, [r7, #4] - 8012fec: 699b ldr r3, [r3, #24] - 8012fee: 687a ldr r2, [r7, #4] - 8012ff0: 6910 ldr r0, [r2, #16] - 8012ff2: f04f 32ff mov.w r2, #4294967295 - 8012ff6: 2100 movs r1, #0 - 8012ff8: 4798 blx r3 - 8012ffa: 4603 mov r3, r0 - 8012ffc: 73bb strb r3, [r7, #14] + 8012b72: 687b ldr r3, [r7, #4] + 8012b74: 699b ldr r3, [r3, #24] + 8012b76: 2b00 cmp r3, #0 + 8012b78: d00a beq.n 8012b90 + 8012b7a: 687b ldr r3, [r7, #4] + 8012b7c: 699b ldr r3, [r3, #24] + 8012b7e: 687a ldr r2, [r7, #4] + 8012b80: 6910 ldr r0, [r2, #16] + 8012b82: f04f 32ff mov.w r2, #4294967295 + 8012b86: 2100 movs r1, #0 + 8012b88: 4798 blx r3 + 8012b8a: 4603 mov r3, r0 + 8012b8c: 73bb strb r3, [r7, #14] return; - 8012ffe: e08c b.n 801311a + 8012b8e: e08c b.n 8012caa TCP_EVENT_ACCEPT(pcb, NULL, pcb->callback_arg, ERR_MEM, err); - 8013000: 23f0 movs r3, #240 ; 0xf0 - 8013002: 73bb strb r3, [r7, #14] + 8012b90: 23f0 movs r3, #240 ; 0xf0 + 8012b92: 73bb strb r3, [r7, #14] return; - 8013004: e089 b.n 801311a + 8012b94: e089 b.n 8012caa ip_addr_copy(npcb->local_ip, *ip_current_dest_addr()); - 8013006: 4b50 ldr r3, [pc, #320] ; (8013148 ) - 8013008: 695a ldr r2, [r3, #20] - 801300a: 697b ldr r3, [r7, #20] - 801300c: 601a str r2, [r3, #0] + 8012b96: 4b50 ldr r3, [pc, #320] ; (8012cd8 ) + 8012b98: 695a ldr r2, [r3, #20] + 8012b9a: 697b ldr r3, [r7, #20] + 8012b9c: 601a str r2, [r3, #0] ip_addr_copy(npcb->remote_ip, *ip_current_src_addr()); - 801300e: 4b4e ldr r3, [pc, #312] ; (8013148 ) - 8013010: 691a ldr r2, [r3, #16] - 8013012: 697b ldr r3, [r7, #20] - 8013014: 605a str r2, [r3, #4] + 8012b9e: 4b4e ldr r3, [pc, #312] ; (8012cd8 ) + 8012ba0: 691a ldr r2, [r3, #16] + 8012ba2: 697b ldr r3, [r7, #20] + 8012ba4: 605a str r2, [r3, #4] npcb->local_port = pcb->local_port; - 8013016: 687b ldr r3, [r7, #4] - 8013018: 8ada ldrh r2, [r3, #22] - 801301a: 697b ldr r3, [r7, #20] - 801301c: 82da strh r2, [r3, #22] + 8012ba6: 687b ldr r3, [r7, #4] + 8012ba8: 8ada ldrh r2, [r3, #22] + 8012baa: 697b ldr r3, [r7, #20] + 8012bac: 82da strh r2, [r3, #22] npcb->remote_port = tcphdr->src; - 801301e: 4b47 ldr r3, [pc, #284] ; (801313c ) - 8013020: 681b ldr r3, [r3, #0] - 8013022: 881b ldrh r3, [r3, #0] - 8013024: b29a uxth r2, r3 - 8013026: 697b ldr r3, [r7, #20] - 8013028: 831a strh r2, [r3, #24] + 8012bae: 4b47 ldr r3, [pc, #284] ; (8012ccc ) + 8012bb0: 681b ldr r3, [r3, #0] + 8012bb2: 881b ldrh r3, [r3, #0] + 8012bb4: b29a uxth r2, r3 + 8012bb6: 697b ldr r3, [r7, #20] + 8012bb8: 831a strh r2, [r3, #24] npcb->state = SYN_RCVD; - 801302a: 697b ldr r3, [r7, #20] - 801302c: 2203 movs r2, #3 - 801302e: 751a strb r2, [r3, #20] + 8012bba: 697b ldr r3, [r7, #20] + 8012bbc: 2203 movs r2, #3 + 8012bbe: 751a strb r2, [r3, #20] npcb->rcv_nxt = seqno + 1; - 8013030: 4b41 ldr r3, [pc, #260] ; (8013138 ) - 8013032: 681b ldr r3, [r3, #0] - 8013034: 1c5a adds r2, r3, #1 - 8013036: 697b ldr r3, [r7, #20] - 8013038: 625a str r2, [r3, #36] ; 0x24 + 8012bc0: 4b41 ldr r3, [pc, #260] ; (8012cc8 ) + 8012bc2: 681b ldr r3, [r3, #0] + 8012bc4: 1c5a adds r2, r3, #1 + 8012bc6: 697b ldr r3, [r7, #20] + 8012bc8: 625a str r2, [r3, #36] ; 0x24 npcb->rcv_ann_right_edge = npcb->rcv_nxt; - 801303a: 697b ldr r3, [r7, #20] - 801303c: 6a5a ldr r2, [r3, #36] ; 0x24 - 801303e: 697b ldr r3, [r7, #20] - 8013040: 62da str r2, [r3, #44] ; 0x2c + 8012bca: 697b ldr r3, [r7, #20] + 8012bcc: 6a5a ldr r2, [r3, #36] ; 0x24 + 8012bce: 697b ldr r3, [r7, #20] + 8012bd0: 62da str r2, [r3, #44] ; 0x2c iss = tcp_next_iss(npcb); - 8013042: 6978 ldr r0, [r7, #20] - 8013044: f7ff fa5c bl 8012500 - 8013048: 6138 str r0, [r7, #16] + 8012bd2: 6978 ldr r0, [r7, #20] + 8012bd4: f7ff fa5c bl 8012090 + 8012bd8: 6138 str r0, [r7, #16] npcb->snd_wl2 = iss; - 801304a: 697b ldr r3, [r7, #20] - 801304c: 693a ldr r2, [r7, #16] - 801304e: 659a str r2, [r3, #88] ; 0x58 + 8012bda: 697b ldr r3, [r7, #20] + 8012bdc: 693a ldr r2, [r7, #16] + 8012bde: 659a str r2, [r3, #88] ; 0x58 npcb->snd_nxt = iss; - 8013050: 697b ldr r3, [r7, #20] - 8013052: 693a ldr r2, [r7, #16] - 8013054: 651a str r2, [r3, #80] ; 0x50 + 8012be0: 697b ldr r3, [r7, #20] + 8012be2: 693a ldr r2, [r7, #16] + 8012be4: 651a str r2, [r3, #80] ; 0x50 npcb->lastack = iss; - 8013056: 697b ldr r3, [r7, #20] - 8013058: 693a ldr r2, [r7, #16] - 801305a: 645a str r2, [r3, #68] ; 0x44 + 8012be6: 697b ldr r3, [r7, #20] + 8012be8: 693a ldr r2, [r7, #16] + 8012bea: 645a str r2, [r3, #68] ; 0x44 npcb->snd_lbb = iss; - 801305c: 697b ldr r3, [r7, #20] - 801305e: 693a ldr r2, [r7, #16] - 8013060: 65da str r2, [r3, #92] ; 0x5c + 8012bec: 697b ldr r3, [r7, #20] + 8012bee: 693a ldr r2, [r7, #16] + 8012bf0: 65da str r2, [r3, #92] ; 0x5c npcb->snd_wl1 = seqno - 1;/* initialise to seqno-1 to force window update */ - 8013062: 4b35 ldr r3, [pc, #212] ; (8013138 ) - 8013064: 681b ldr r3, [r3, #0] - 8013066: 1e5a subs r2, r3, #1 - 8013068: 697b ldr r3, [r7, #20] - 801306a: 655a str r2, [r3, #84] ; 0x54 + 8012bf2: 4b35 ldr r3, [pc, #212] ; (8012cc8 ) + 8012bf4: 681b ldr r3, [r3, #0] + 8012bf6: 1e5a subs r2, r3, #1 + 8012bf8: 697b ldr r3, [r7, #20] + 8012bfa: 655a str r2, [r3, #84] ; 0x54 npcb->callback_arg = pcb->callback_arg; - 801306c: 687b ldr r3, [r7, #4] - 801306e: 691a ldr r2, [r3, #16] - 8013070: 697b ldr r3, [r7, #20] - 8013072: 611a str r2, [r3, #16] + 8012bfc: 687b ldr r3, [r7, #4] + 8012bfe: 691a ldr r2, [r3, #16] + 8012c00: 697b ldr r3, [r7, #20] + 8012c02: 611a str r2, [r3, #16] npcb->listener = pcb; - 8013074: 697b ldr r3, [r7, #20] - 8013076: 687a ldr r2, [r7, #4] - 8013078: 67da str r2, [r3, #124] ; 0x7c + 8012c04: 697b ldr r3, [r7, #20] + 8012c06: 687a ldr r2, [r7, #4] + 8012c08: 67da str r2, [r3, #124] ; 0x7c npcb->so_options = pcb->so_options & SOF_INHERITED; - 801307a: 687b ldr r3, [r7, #4] - 801307c: 7a5b ldrb r3, [r3, #9] - 801307e: f003 030c and.w r3, r3, #12 - 8013082: b2da uxtb r2, r3 - 8013084: 697b ldr r3, [r7, #20] - 8013086: 725a strb r2, [r3, #9] + 8012c0a: 687b ldr r3, [r7, #4] + 8012c0c: 7a5b ldrb r3, [r3, #9] + 8012c0e: f003 030c and.w r3, r3, #12 + 8012c12: b2da uxtb r2, r3 + 8012c14: 697b ldr r3, [r7, #20] + 8012c16: 725a strb r2, [r3, #9] npcb->netif_idx = pcb->netif_idx; - 8013088: 687b ldr r3, [r7, #4] - 801308a: 7a1a ldrb r2, [r3, #8] - 801308c: 697b ldr r3, [r7, #20] - 801308e: 721a strb r2, [r3, #8] + 8012c18: 687b ldr r3, [r7, #4] + 8012c1a: 7a1a ldrb r2, [r3, #8] + 8012c1c: 697b ldr r3, [r7, #20] + 8012c1e: 721a strb r2, [r3, #8] TCP_REG_ACTIVE(npcb); - 8013090: 4b2e ldr r3, [pc, #184] ; (801314c ) - 8013092: 681a ldr r2, [r3, #0] - 8013094: 697b ldr r3, [r7, #20] - 8013096: 60da str r2, [r3, #12] - 8013098: 4a2c ldr r2, [pc, #176] ; (801314c ) - 801309a: 697b ldr r3, [r7, #20] - 801309c: 6013 str r3, [r2, #0] - 801309e: f003 f8e1 bl 8016264 - 80130a2: 4b2b ldr r3, [pc, #172] ; (8013150 ) - 80130a4: 2201 movs r2, #1 - 80130a6: 701a strb r2, [r3, #0] + 8012c20: 4b2e ldr r3, [pc, #184] ; (8012cdc ) + 8012c22: 681a ldr r2, [r3, #0] + 8012c24: 697b ldr r3, [r7, #20] + 8012c26: 60da str r2, [r3, #12] + 8012c28: 4a2c ldr r2, [pc, #176] ; (8012cdc ) + 8012c2a: 697b ldr r3, [r7, #20] + 8012c2c: 6013 str r3, [r2, #0] + 8012c2e: f003 f8e1 bl 8015df4 + 8012c32: 4b2b ldr r3, [pc, #172] ; (8012ce0 ) + 8012c34: 2201 movs r2, #1 + 8012c36: 701a strb r2, [r3, #0] tcp_parseopt(npcb); - 80130a8: 6978 ldr r0, [r7, #20] - 80130aa: f001 fd8f bl 8014bcc + 8012c38: 6978 ldr r0, [r7, #20] + 8012c3a: f001 fd8f bl 801475c npcb->snd_wnd = tcphdr->wnd; - 80130ae: 4b23 ldr r3, [pc, #140] ; (801313c ) - 80130b0: 681b ldr r3, [r3, #0] - 80130b2: 89db ldrh r3, [r3, #14] - 80130b4: b29a uxth r2, r3 - 80130b6: 697b ldr r3, [r7, #20] - 80130b8: f8a3 2060 strh.w r2, [r3, #96] ; 0x60 + 8012c3e: 4b23 ldr r3, [pc, #140] ; (8012ccc ) + 8012c40: 681b ldr r3, [r3, #0] + 8012c42: 89db ldrh r3, [r3, #14] + 8012c44: b29a uxth r2, r3 + 8012c46: 697b ldr r3, [r7, #20] + 8012c48: f8a3 2060 strh.w r2, [r3, #96] ; 0x60 npcb->snd_wnd_max = npcb->snd_wnd; - 80130bc: 697b ldr r3, [r7, #20] - 80130be: f8b3 2060 ldrh.w r2, [r3, #96] ; 0x60 - 80130c2: 697b ldr r3, [r7, #20] - 80130c4: f8a3 2062 strh.w r2, [r3, #98] ; 0x62 + 8012c4c: 697b ldr r3, [r7, #20] + 8012c4e: f8b3 2060 ldrh.w r2, [r3, #96] ; 0x60 + 8012c52: 697b ldr r3, [r7, #20] + 8012c54: f8a3 2062 strh.w r2, [r3, #98] ; 0x62 npcb->mss = tcp_eff_send_mss(npcb->mss, &npcb->local_ip, &npcb->remote_ip); - 80130c8: 697b ldr r3, [r7, #20] - 80130ca: 8e5c ldrh r4, [r3, #50] ; 0x32 - 80130cc: 697b ldr r3, [r7, #20] - 80130ce: 3304 adds r3, #4 - 80130d0: 4618 mov r0, r3 - 80130d2: f006 fe7d bl 8019dd0 - 80130d6: 4601 mov r1, r0 - 80130d8: 697b ldr r3, [r7, #20] - 80130da: 3304 adds r3, #4 - 80130dc: 461a mov r2, r3 - 80130de: 4620 mov r0, r4 - 80130e0: f7ff fa34 bl 801254c - 80130e4: 4603 mov r3, r0 - 80130e6: 461a mov r2, r3 - 80130e8: 697b ldr r3, [r7, #20] - 80130ea: 865a strh r2, [r3, #50] ; 0x32 + 8012c58: 697b ldr r3, [r7, #20] + 8012c5a: 8e5c ldrh r4, [r3, #50] ; 0x32 + 8012c5c: 697b ldr r3, [r7, #20] + 8012c5e: 3304 adds r3, #4 + 8012c60: 4618 mov r0, r3 + 8012c62: f006 fe7d bl 8019960 + 8012c66: 4601 mov r1, r0 + 8012c68: 697b ldr r3, [r7, #20] + 8012c6a: 3304 adds r3, #4 + 8012c6c: 461a mov r2, r3 + 8012c6e: 4620 mov r0, r4 + 8012c70: f7ff fa34 bl 80120dc + 8012c74: 4603 mov r3, r0 + 8012c76: 461a mov r2, r3 + 8012c78: 697b ldr r3, [r7, #20] + 8012c7a: 865a strh r2, [r3, #50] ; 0x32 rc = tcp_enqueue_flags(npcb, TCP_SYN | TCP_ACK); - 80130ec: 2112 movs r1, #18 - 80130ee: 6978 ldr r0, [r7, #20] - 80130f0: f002 f842 bl 8015178 - 80130f4: 4603 mov r3, r0 - 80130f6: 73fb strb r3, [r7, #15] + 8012c7c: 2112 movs r1, #18 + 8012c7e: 6978 ldr r0, [r7, #20] + 8012c80: f002 f842 bl 8014d08 + 8012c84: 4603 mov r3, r0 + 8012c86: 73fb strb r3, [r7, #15] if (rc != ERR_OK) { - 80130f8: f997 300f ldrsb.w r3, [r7, #15] - 80130fc: 2b00 cmp r3, #0 - 80130fe: d004 beq.n 801310a + 8012c88: f997 300f ldrsb.w r3, [r7, #15] + 8012c8c: 2b00 cmp r3, #0 + 8012c8e: d004 beq.n 8012c9a tcp_abandon(npcb, 0); - 8013100: 2100 movs r1, #0 - 8013102: 6978 ldr r0, [r7, #20] - 8013104: f7fe f986 bl 8011414 + 8012c90: 2100 movs r1, #0 + 8012c92: 6978 ldr r0, [r7, #20] + 8012c94: f7fe f986 bl 8010fa4 return; - 8013108: e007 b.n 801311a + 8012c98: e007 b.n 8012caa tcp_output(npcb); - 801310a: 6978 ldr r0, [r7, #20] - 801310c: f002 f922 bl 8015354 + 8012c9a: 6978 ldr r0, [r7, #20] + 8012c9c: f002 f922 bl 8014ee4 return; - 8013110: bf00 nop - 8013112: e001 b.n 8013118 + 8012ca0: bf00 nop + 8012ca2: e001 b.n 8012ca8 return; - 8013114: bf00 nop - 8013116: e000 b.n 801311a + 8012ca4: bf00 nop + 8012ca6: e000 b.n 8012caa return; - 8013118: bf00 nop + 8012ca8: bf00 nop } - 801311a: 371c adds r7, #28 - 801311c: 46bd mov sp, r7 - 801311e: bd90 pop {r4, r7, pc} - 8013120: 20008758 .word 0x20008758 - 8013124: 0801dab4 .word 0x0801dab4 - 8013128: 0801dcac .word 0x0801dcac - 801312c: 0801db00 .word 0x0801db00 - 8013130: 20008750 .word 0x20008750 - 8013134: 20008756 .word 0x20008756 - 8013138: 2000874c .word 0x2000874c - 801313c: 2000873c .word 0x2000873c - 8013140: 2000bea0 .word 0x2000bea0 - 8013144: 2000bea4 .word 0x2000bea4 - 8013148: 2000be90 .word 0x2000be90 - 801314c: 2000f5c4 .word 0x2000f5c4 - 8013150: 2000f5c0 .word 0x2000f5c0 + 8012caa: 371c adds r7, #28 + 8012cac: 46bd mov sp, r7 + 8012cae: bd90 pop {r4, r7, pc} + 8012cb0: 20008758 .word 0x20008758 + 8012cb4: 0801d2b0 .word 0x0801d2b0 + 8012cb8: 0801d4a8 .word 0x0801d4a8 + 8012cbc: 0801d2fc .word 0x0801d2fc + 8012cc0: 20008750 .word 0x20008750 + 8012cc4: 20008756 .word 0x20008756 + 8012cc8: 2000874c .word 0x2000874c + 8012ccc: 2000873c .word 0x2000873c + 8012cd0: 2000be9c .word 0x2000be9c + 8012cd4: 2000bea0 .word 0x2000bea0 + 8012cd8: 2000be8c .word 0x2000be8c + 8012cdc: 2000f5c0 .word 0x2000f5c0 + 8012ce0: 2000f5bc .word 0x2000f5bc -08013154 : +08012ce4 : * @note the segment which arrived is saved in global variables, therefore only the pcb * involved is passed as a parameter to this function */ static void tcp_timewait_input(struct tcp_pcb *pcb) { - 8013154: b580 push {r7, lr} - 8013156: b086 sub sp, #24 - 8013158: af04 add r7, sp, #16 - 801315a: 6078 str r0, [r7, #4] + 8012ce4: b580 push {r7, lr} + 8012ce6: b086 sub sp, #24 + 8012ce8: af04 add r7, sp, #16 + 8012cea: 6078 str r0, [r7, #4] /* RFC 1337: in TIME_WAIT, ignore RST and ACK FINs + any 'acceptable' segments */ /* RFC 793 3.9 Event Processing - Segment Arrives: * - first check sequence number - we skip that one in TIME_WAIT (always * acceptable since we only send ACKs) * - second check the RST bit (... return) */ if (flags & TCP_RST) { - 801315c: 4b30 ldr r3, [pc, #192] ; (8013220 ) - 801315e: 781b ldrb r3, [r3, #0] - 8013160: f003 0304 and.w r3, r3, #4 - 8013164: 2b00 cmp r3, #0 - 8013166: d154 bne.n 8013212 + 8012cec: 4b30 ldr r3, [pc, #192] ; (8012db0 ) + 8012cee: 781b ldrb r3, [r3, #0] + 8012cf0: f003 0304 and.w r3, r3, #4 + 8012cf4: 2b00 cmp r3, #0 + 8012cf6: d154 bne.n 8012da2 return; } LWIP_ASSERT("tcp_timewait_input: invalid pcb", pcb != NULL); - 8013168: 687b ldr r3, [r7, #4] - 801316a: 2b00 cmp r3, #0 - 801316c: d106 bne.n 801317c - 801316e: 4b2d ldr r3, [pc, #180] ; (8013224 ) - 8013170: f240 22ee movw r2, #750 ; 0x2ee - 8013174: 492c ldr r1, [pc, #176] ; (8013228 ) - 8013176: 482d ldr r0, [pc, #180] ; (801322c ) - 8013178: f008 f99e bl 801b4b8 + 8012cf8: 687b ldr r3, [r7, #4] + 8012cfa: 2b00 cmp r3, #0 + 8012cfc: d106 bne.n 8012d0c + 8012cfe: 4b2d ldr r3, [pc, #180] ; (8012db4 ) + 8012d00: f240 22ee movw r2, #750 ; 0x2ee + 8012d04: 492c ldr r1, [pc, #176] ; (8012db8 ) + 8012d06: 482d ldr r0, [pc, #180] ; (8012dbc ) + 8012d08: f008 f984 bl 801b014 /* - fourth, check the SYN bit, */ if (flags & TCP_SYN) { - 801317c: 4b28 ldr r3, [pc, #160] ; (8013220 ) - 801317e: 781b ldrb r3, [r3, #0] - 8013180: f003 0302 and.w r3, r3, #2 - 8013184: 2b00 cmp r3, #0 - 8013186: d02a beq.n 80131de + 8012d0c: 4b28 ldr r3, [pc, #160] ; (8012db0 ) + 8012d0e: 781b ldrb r3, [r3, #0] + 8012d10: f003 0302 and.w r3, r3, #2 + 8012d14: 2b00 cmp r3, #0 + 8012d16: d02a beq.n 8012d6e /* If an incoming segment is not acceptable, an acknowledgment should be sent in reply */ if (TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, pcb->rcv_nxt + pcb->rcv_wnd)) { - 8013188: 4b29 ldr r3, [pc, #164] ; (8013230 ) - 801318a: 681a ldr r2, [r3, #0] - 801318c: 687b ldr r3, [r7, #4] - 801318e: 6a5b ldr r3, [r3, #36] ; 0x24 - 8013190: 1ad3 subs r3, r2, r3 - 8013192: 2b00 cmp r3, #0 - 8013194: db2d blt.n 80131f2 - 8013196: 4b26 ldr r3, [pc, #152] ; (8013230 ) - 8013198: 681a ldr r2, [r3, #0] - 801319a: 687b ldr r3, [r7, #4] - 801319c: 6a5b ldr r3, [r3, #36] ; 0x24 - 801319e: 6879 ldr r1, [r7, #4] - 80131a0: 8d09 ldrh r1, [r1, #40] ; 0x28 - 80131a2: 440b add r3, r1 - 80131a4: 1ad3 subs r3, r2, r3 - 80131a6: 2b00 cmp r3, #0 - 80131a8: dc23 bgt.n 80131f2 + 8012d18: 4b29 ldr r3, [pc, #164] ; (8012dc0 ) + 8012d1a: 681a ldr r2, [r3, #0] + 8012d1c: 687b ldr r3, [r7, #4] + 8012d1e: 6a5b ldr r3, [r3, #36] ; 0x24 + 8012d20: 1ad3 subs r3, r2, r3 + 8012d22: 2b00 cmp r3, #0 + 8012d24: db2d blt.n 8012d82 + 8012d26: 4b26 ldr r3, [pc, #152] ; (8012dc0 ) + 8012d28: 681a ldr r2, [r3, #0] + 8012d2a: 687b ldr r3, [r7, #4] + 8012d2c: 6a5b ldr r3, [r3, #36] ; 0x24 + 8012d2e: 6879 ldr r1, [r7, #4] + 8012d30: 8d09 ldrh r1, [r1, #40] ; 0x28 + 8012d32: 440b add r3, r1 + 8012d34: 1ad3 subs r3, r2, r3 + 8012d36: 2b00 cmp r3, #0 + 8012d38: dc23 bgt.n 8012d82 /* If the SYN is in the window it is an error, send a reset */ tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 80131aa: 4b22 ldr r3, [pc, #136] ; (8013234 ) - 80131ac: 6819 ldr r1, [r3, #0] - 80131ae: 4b22 ldr r3, [pc, #136] ; (8013238 ) - 80131b0: 881b ldrh r3, [r3, #0] - 80131b2: 461a mov r2, r3 - 80131b4: 4b1e ldr r3, [pc, #120] ; (8013230 ) - 80131b6: 681b ldr r3, [r3, #0] - 80131b8: 18d0 adds r0, r2, r3 + 8012d3a: 4b22 ldr r3, [pc, #136] ; (8012dc4 ) + 8012d3c: 6819 ldr r1, [r3, #0] + 8012d3e: 4b22 ldr r3, [pc, #136] ; (8012dc8 ) + 8012d40: 881b ldrh r3, [r3, #0] + 8012d42: 461a mov r2, r3 + 8012d44: 4b1e ldr r3, [pc, #120] ; (8012dc0 ) + 8012d46: 681b ldr r3, [r3, #0] + 8012d48: 18d0 adds r0, r2, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 80131ba: 4b20 ldr r3, [pc, #128] ; (801323c ) - 80131bc: 681b ldr r3, [r3, #0] + 8012d4a: 4b20 ldr r3, [pc, #128] ; (8012dcc ) + 8012d4c: 681b ldr r3, [r3, #0] tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 80131be: 885b ldrh r3, [r3, #2] - 80131c0: b29b uxth r3, r3 + 8012d4e: 885b ldrh r3, [r3, #2] + 8012d50: b29b uxth r3, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 80131c2: 4a1e ldr r2, [pc, #120] ; (801323c ) - 80131c4: 6812 ldr r2, [r2, #0] + 8012d52: 4a1e ldr r2, [pc, #120] ; (8012dcc ) + 8012d54: 6812 ldr r2, [r2, #0] tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 80131c6: 8812 ldrh r2, [r2, #0] - 80131c8: b292 uxth r2, r2 - 80131ca: 9202 str r2, [sp, #8] - 80131cc: 9301 str r3, [sp, #4] - 80131ce: 4b1c ldr r3, [pc, #112] ; (8013240 ) - 80131d0: 9300 str r3, [sp, #0] - 80131d2: 4b1c ldr r3, [pc, #112] ; (8013244 ) - 80131d4: 4602 mov r2, r0 - 80131d6: 6878 ldr r0, [r7, #4] - 80131d8: f002 fe82 bl 8015ee0 + 8012d56: 8812 ldrh r2, [r2, #0] + 8012d58: b292 uxth r2, r2 + 8012d5a: 9202 str r2, [sp, #8] + 8012d5c: 9301 str r3, [sp, #4] + 8012d5e: 4b1c ldr r3, [pc, #112] ; (8012dd0 ) + 8012d60: 9300 str r3, [sp, #0] + 8012d62: 4b1c ldr r3, [pc, #112] ; (8012dd4 ) + 8012d64: 4602 mov r2, r0 + 8012d66: 6878 ldr r0, [r7, #4] + 8012d68: f002 fe82 bl 8015a70 return; - 80131dc: e01c b.n 8013218 + 8012d6c: e01c b.n 8012da8 } } else if (flags & TCP_FIN) { - 80131de: 4b10 ldr r3, [pc, #64] ; (8013220 ) - 80131e0: 781b ldrb r3, [r3, #0] - 80131e2: f003 0301 and.w r3, r3, #1 - 80131e6: 2b00 cmp r3, #0 - 80131e8: d003 beq.n 80131f2 + 8012d6e: 4b10 ldr r3, [pc, #64] ; (8012db0 ) + 8012d70: 781b ldrb r3, [r3, #0] + 8012d72: f003 0301 and.w r3, r3, #1 + 8012d76: 2b00 cmp r3, #0 + 8012d78: d003 beq.n 8012d82 /* - eighth, check the FIN bit: Remain in the TIME-WAIT state. Restart the 2 MSL time-wait timeout.*/ pcb->tmr = tcp_ticks; - 80131ea: 4b17 ldr r3, [pc, #92] ; (8013248 ) - 80131ec: 681a ldr r2, [r3, #0] - 80131ee: 687b ldr r3, [r7, #4] - 80131f0: 621a str r2, [r3, #32] + 8012d7a: 4b17 ldr r3, [pc, #92] ; (8012dd8 ) + 8012d7c: 681a ldr r2, [r3, #0] + 8012d7e: 687b ldr r3, [r7, #4] + 8012d80: 621a str r2, [r3, #32] } if ((tcplen > 0)) { - 80131f2: 4b11 ldr r3, [pc, #68] ; (8013238 ) - 80131f4: 881b ldrh r3, [r3, #0] - 80131f6: 2b00 cmp r3, #0 - 80131f8: d00d beq.n 8013216 + 8012d82: 4b11 ldr r3, [pc, #68] ; (8012dc8 ) + 8012d84: 881b ldrh r3, [r3, #0] + 8012d86: 2b00 cmp r3, #0 + 8012d88: d00d beq.n 8012da6 /* Acknowledge data, FIN or out-of-window SYN */ tcp_ack_now(pcb); - 80131fa: 687b ldr r3, [r7, #4] - 80131fc: 8b5b ldrh r3, [r3, #26] - 80131fe: f043 0302 orr.w r3, r3, #2 - 8013202: b29a uxth r2, r3 - 8013204: 687b ldr r3, [r7, #4] - 8013206: 835a strh r2, [r3, #26] + 8012d8a: 687b ldr r3, [r7, #4] + 8012d8c: 8b5b ldrh r3, [r3, #26] + 8012d8e: f043 0302 orr.w r3, r3, #2 + 8012d92: b29a uxth r2, r3 + 8012d94: 687b ldr r3, [r7, #4] + 8012d96: 835a strh r2, [r3, #26] tcp_output(pcb); - 8013208: 6878 ldr r0, [r7, #4] - 801320a: f002 f8a3 bl 8015354 + 8012d98: 6878 ldr r0, [r7, #4] + 8012d9a: f002 f8a3 bl 8014ee4 } return; - 801320e: bf00 nop - 8013210: e001 b.n 8013216 + 8012d9e: bf00 nop + 8012da0: e001 b.n 8012da6 return; - 8013212: bf00 nop - 8013214: e000 b.n 8013218 + 8012da2: bf00 nop + 8012da4: e000 b.n 8012da8 return; - 8013216: bf00 nop + 8012da6: bf00 nop } - 8013218: 3708 adds r7, #8 - 801321a: 46bd mov sp, r7 - 801321c: bd80 pop {r7, pc} - 801321e: bf00 nop - 8013220: 20008758 .word 0x20008758 - 8013224: 0801dab4 .word 0x0801dab4 - 8013228: 0801dccc .word 0x0801dccc - 801322c: 0801db00 .word 0x0801db00 - 8013230: 2000874c .word 0x2000874c - 8013234: 20008750 .word 0x20008750 - 8013238: 20008756 .word 0x20008756 - 801323c: 2000873c .word 0x2000873c - 8013240: 2000bea0 .word 0x2000bea0 - 8013244: 2000bea4 .word 0x2000bea4 - 8013248: 2000f5c8 .word 0x2000f5c8 + 8012da8: 3708 adds r7, #8 + 8012daa: 46bd mov sp, r7 + 8012dac: bd80 pop {r7, pc} + 8012dae: bf00 nop + 8012db0: 20008758 .word 0x20008758 + 8012db4: 0801d2b0 .word 0x0801d2b0 + 8012db8: 0801d4c8 .word 0x0801d4c8 + 8012dbc: 0801d2fc .word 0x0801d2fc + 8012dc0: 2000874c .word 0x2000874c + 8012dc4: 20008750 .word 0x20008750 + 8012dc8: 20008756 .word 0x20008756 + 8012dcc: 2000873c .word 0x2000873c + 8012dd0: 2000be9c .word 0x2000be9c + 8012dd4: 2000bea0 .word 0x2000bea0 + 8012dd8: 2000f5c4 .word 0x2000f5c4 -0801324c : +08012ddc : * @note the segment which arrived is saved in global variables, therefore only the pcb * involved is passed as a parameter to this function */ static err_t tcp_process(struct tcp_pcb *pcb) { - 801324c: b590 push {r4, r7, lr} - 801324e: b08d sub sp, #52 ; 0x34 - 8013250: af04 add r7, sp, #16 - 8013252: 6078 str r0, [r7, #4] + 8012ddc: b590 push {r4, r7, lr} + 8012dde: b08d sub sp, #52 ; 0x34 + 8012de0: af04 add r7, sp, #16 + 8012de2: 6078 str r0, [r7, #4] struct tcp_seg *rseg; u8_t acceptable = 0; - 8013254: 2300 movs r3, #0 - 8013256: 76fb strb r3, [r7, #27] + 8012de4: 2300 movs r3, #0 + 8012de6: 76fb strb r3, [r7, #27] err_t err; err = ERR_OK; - 8013258: 2300 movs r3, #0 - 801325a: 76bb strb r3, [r7, #26] + 8012de8: 2300 movs r3, #0 + 8012dea: 76bb strb r3, [r7, #26] LWIP_ASSERT("tcp_process: invalid pcb", pcb != NULL); - 801325c: 687b ldr r3, [r7, #4] - 801325e: 2b00 cmp r3, #0 - 8013260: d106 bne.n 8013270 - 8013262: 4ba5 ldr r3, [pc, #660] ; (80134f8 ) - 8013264: f44f 7247 mov.w r2, #796 ; 0x31c - 8013268: 49a4 ldr r1, [pc, #656] ; (80134fc ) - 801326a: 48a5 ldr r0, [pc, #660] ; (8013500 ) - 801326c: f008 f924 bl 801b4b8 + 8012dec: 687b ldr r3, [r7, #4] + 8012dee: 2b00 cmp r3, #0 + 8012df0: d106 bne.n 8012e00 + 8012df2: 4ba5 ldr r3, [pc, #660] ; (8013088 ) + 8012df4: f44f 7247 mov.w r2, #796 ; 0x31c + 8012df8: 49a4 ldr r1, [pc, #656] ; (801308c ) + 8012dfa: 48a5 ldr r0, [pc, #660] ; (8013090 ) + 8012dfc: f008 f90a bl 801b014 /* Process incoming RST segments. */ if (flags & TCP_RST) { - 8013270: 4ba4 ldr r3, [pc, #656] ; (8013504 ) - 8013272: 781b ldrb r3, [r3, #0] - 8013274: f003 0304 and.w r3, r3, #4 - 8013278: 2b00 cmp r3, #0 - 801327a: d04e beq.n 801331a + 8012e00: 4ba4 ldr r3, [pc, #656] ; (8013094 ) + 8012e02: 781b ldrb r3, [r3, #0] + 8012e04: f003 0304 and.w r3, r3, #4 + 8012e08: 2b00 cmp r3, #0 + 8012e0a: d04e beq.n 8012eaa /* First, determine if the reset is acceptable. */ if (pcb->state == SYN_SENT) { - 801327c: 687b ldr r3, [r7, #4] - 801327e: 7d1b ldrb r3, [r3, #20] - 8013280: 2b02 cmp r3, #2 - 8013282: d108 bne.n 8013296 + 8012e0c: 687b ldr r3, [r7, #4] + 8012e0e: 7d1b ldrb r3, [r3, #20] + 8012e10: 2b02 cmp r3, #2 + 8012e12: d108 bne.n 8012e26 /* "In the SYN-SENT state (a RST received in response to an initial SYN), the RST is acceptable if the ACK field acknowledges the SYN." */ if (ackno == pcb->snd_nxt) { - 8013284: 687b ldr r3, [r7, #4] - 8013286: 6d1a ldr r2, [r3, #80] ; 0x50 - 8013288: 4b9f ldr r3, [pc, #636] ; (8013508 ) - 801328a: 681b ldr r3, [r3, #0] - 801328c: 429a cmp r2, r3 - 801328e: d123 bne.n 80132d8 + 8012e14: 687b ldr r3, [r7, #4] + 8012e16: 6d1a ldr r2, [r3, #80] ; 0x50 + 8012e18: 4b9f ldr r3, [pc, #636] ; (8013098 ) + 8012e1a: 681b ldr r3, [r3, #0] + 8012e1c: 429a cmp r2, r3 + 8012e1e: d123 bne.n 8012e68 acceptable = 1; - 8013290: 2301 movs r3, #1 - 8013292: 76fb strb r3, [r7, #27] - 8013294: e020 b.n 80132d8 + 8012e20: 2301 movs r3, #1 + 8012e22: 76fb strb r3, [r7, #27] + 8012e24: e020 b.n 8012e68 } } else { /* "In all states except SYN-SENT, all reset (RST) segments are validated by checking their SEQ-fields." */ if (seqno == pcb->rcv_nxt) { - 8013296: 687b ldr r3, [r7, #4] - 8013298: 6a5a ldr r2, [r3, #36] ; 0x24 - 801329a: 4b9c ldr r3, [pc, #624] ; (801350c ) - 801329c: 681b ldr r3, [r3, #0] - 801329e: 429a cmp r2, r3 - 80132a0: d102 bne.n 80132a8 + 8012e26: 687b ldr r3, [r7, #4] + 8012e28: 6a5a ldr r2, [r3, #36] ; 0x24 + 8012e2a: 4b9c ldr r3, [pc, #624] ; (801309c ) + 8012e2c: 681b ldr r3, [r3, #0] + 8012e2e: 429a cmp r2, r3 + 8012e30: d102 bne.n 8012e38 acceptable = 1; - 80132a2: 2301 movs r3, #1 - 80132a4: 76fb strb r3, [r7, #27] - 80132a6: e017 b.n 80132d8 + 8012e32: 2301 movs r3, #1 + 8012e34: 76fb strb r3, [r7, #27] + 8012e36: e017 b.n 8012e68 } else if (TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, - 80132a8: 4b98 ldr r3, [pc, #608] ; (801350c ) - 80132aa: 681a ldr r2, [r3, #0] - 80132ac: 687b ldr r3, [r7, #4] - 80132ae: 6a5b ldr r3, [r3, #36] ; 0x24 - 80132b0: 1ad3 subs r3, r2, r3 - 80132b2: 2b00 cmp r3, #0 - 80132b4: db10 blt.n 80132d8 - 80132b6: 4b95 ldr r3, [pc, #596] ; (801350c ) - 80132b8: 681a ldr r2, [r3, #0] - 80132ba: 687b ldr r3, [r7, #4] - 80132bc: 6a5b ldr r3, [r3, #36] ; 0x24 - 80132be: 6879 ldr r1, [r7, #4] - 80132c0: 8d09 ldrh r1, [r1, #40] ; 0x28 - 80132c2: 440b add r3, r1 - 80132c4: 1ad3 subs r3, r2, r3 - 80132c6: 2b00 cmp r3, #0 - 80132c8: dc06 bgt.n 80132d8 + 8012e38: 4b98 ldr r3, [pc, #608] ; (801309c ) + 8012e3a: 681a ldr r2, [r3, #0] + 8012e3c: 687b ldr r3, [r7, #4] + 8012e3e: 6a5b ldr r3, [r3, #36] ; 0x24 + 8012e40: 1ad3 subs r3, r2, r3 + 8012e42: 2b00 cmp r3, #0 + 8012e44: db10 blt.n 8012e68 + 8012e46: 4b95 ldr r3, [pc, #596] ; (801309c ) + 8012e48: 681a ldr r2, [r3, #0] + 8012e4a: 687b ldr r3, [r7, #4] + 8012e4c: 6a5b ldr r3, [r3, #36] ; 0x24 + 8012e4e: 6879 ldr r1, [r7, #4] + 8012e50: 8d09 ldrh r1, [r1, #40] ; 0x28 + 8012e52: 440b add r3, r1 + 8012e54: 1ad3 subs r3, r2, r3 + 8012e56: 2b00 cmp r3, #0 + 8012e58: dc06 bgt.n 8012e68 pcb->rcv_nxt + pcb->rcv_wnd)) { /* If the sequence number is inside the window, we send a challenge ACK and wait for a re-send with matching sequence number. This follows RFC 5961 section 3.2 and addresses CVE-2004-0230 (RST spoofing attack), which is present in RFC 793 RST handling. */ tcp_ack_now(pcb); - 80132ca: 687b ldr r3, [r7, #4] - 80132cc: 8b5b ldrh r3, [r3, #26] - 80132ce: f043 0302 orr.w r3, r3, #2 - 80132d2: b29a uxth r2, r3 - 80132d4: 687b ldr r3, [r7, #4] - 80132d6: 835a strh r2, [r3, #26] + 8012e5a: 687b ldr r3, [r7, #4] + 8012e5c: 8b5b ldrh r3, [r3, #26] + 8012e5e: f043 0302 orr.w r3, r3, #2 + 8012e62: b29a uxth r2, r3 + 8012e64: 687b ldr r3, [r7, #4] + 8012e66: 835a strh r2, [r3, #26] } } if (acceptable) { - 80132d8: 7efb ldrb r3, [r7, #27] - 80132da: 2b00 cmp r3, #0 - 80132dc: d01b beq.n 8013316 + 8012e68: 7efb ldrb r3, [r7, #27] + 8012e6a: 2b00 cmp r3, #0 + 8012e6c: d01b beq.n 8012ea6 LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_process: Connection RESET\n")); LWIP_ASSERT("tcp_input: pcb->state != CLOSED", pcb->state != CLOSED); - 80132de: 687b ldr r3, [r7, #4] - 80132e0: 7d1b ldrb r3, [r3, #20] - 80132e2: 2b00 cmp r3, #0 - 80132e4: d106 bne.n 80132f4 - 80132e6: 4b84 ldr r3, [pc, #528] ; (80134f8 ) - 80132e8: f44f 724e mov.w r2, #824 ; 0x338 - 80132ec: 4988 ldr r1, [pc, #544] ; (8013510 ) - 80132ee: 4884 ldr r0, [pc, #528] ; (8013500 ) - 80132f0: f008 f8e2 bl 801b4b8 + 8012e6e: 687b ldr r3, [r7, #4] + 8012e70: 7d1b ldrb r3, [r3, #20] + 8012e72: 2b00 cmp r3, #0 + 8012e74: d106 bne.n 8012e84 + 8012e76: 4b84 ldr r3, [pc, #528] ; (8013088 ) + 8012e78: f44f 724e mov.w r2, #824 ; 0x338 + 8012e7c: 4988 ldr r1, [pc, #544] ; (80130a0 ) + 8012e7e: 4884 ldr r0, [pc, #528] ; (8013090 ) + 8012e80: f008 f8c8 bl 801b014 recv_flags |= TF_RESET; - 80132f4: 4b87 ldr r3, [pc, #540] ; (8013514 ) - 80132f6: 781b ldrb r3, [r3, #0] - 80132f8: f043 0308 orr.w r3, r3, #8 - 80132fc: b2da uxtb r2, r3 - 80132fe: 4b85 ldr r3, [pc, #532] ; (8013514 ) - 8013300: 701a strb r2, [r3, #0] + 8012e84: 4b87 ldr r3, [pc, #540] ; (80130a4 ) + 8012e86: 781b ldrb r3, [r3, #0] + 8012e88: f043 0308 orr.w r3, r3, #8 + 8012e8c: b2da uxtb r2, r3 + 8012e8e: 4b85 ldr r3, [pc, #532] ; (80130a4 ) + 8012e90: 701a strb r2, [r3, #0] tcp_clear_flags(pcb, TF_ACK_DELAY); - 8013302: 687b ldr r3, [r7, #4] - 8013304: 8b5b ldrh r3, [r3, #26] - 8013306: f023 0301 bic.w r3, r3, #1 - 801330a: b29a uxth r2, r3 - 801330c: 687b ldr r3, [r7, #4] - 801330e: 835a strh r2, [r3, #26] + 8012e92: 687b ldr r3, [r7, #4] + 8012e94: 8b5b ldrh r3, [r3, #26] + 8012e96: f023 0301 bic.w r3, r3, #1 + 8012e9a: b29a uxth r2, r3 + 8012e9c: 687b ldr r3, [r7, #4] + 8012e9e: 835a strh r2, [r3, #26] return ERR_RST; - 8013310: f06f 030d mvn.w r3, #13 - 8013314: e37a b.n 8013a0c + 8012ea0: f06f 030d mvn.w r3, #13 + 8012ea4: e37a b.n 801359c } else { LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_process: unacceptable reset seqno %"U32_F" rcv_nxt %"U32_F"\n", seqno, pcb->rcv_nxt)); LWIP_DEBUGF(TCP_DEBUG, ("tcp_process: unacceptable reset seqno %"U32_F" rcv_nxt %"U32_F"\n", seqno, pcb->rcv_nxt)); return ERR_OK; - 8013316: 2300 movs r3, #0 - 8013318: e378 b.n 8013a0c + 8012ea6: 2300 movs r3, #0 + 8012ea8: e378 b.n 801359c } } if ((flags & TCP_SYN) && (pcb->state != SYN_SENT && pcb->state != SYN_RCVD)) { - 801331a: 4b7a ldr r3, [pc, #488] ; (8013504 ) - 801331c: 781b ldrb r3, [r3, #0] - 801331e: f003 0302 and.w r3, r3, #2 - 8013322: 2b00 cmp r3, #0 - 8013324: d010 beq.n 8013348 - 8013326: 687b ldr r3, [r7, #4] - 8013328: 7d1b ldrb r3, [r3, #20] - 801332a: 2b02 cmp r3, #2 - 801332c: d00c beq.n 8013348 - 801332e: 687b ldr r3, [r7, #4] - 8013330: 7d1b ldrb r3, [r3, #20] - 8013332: 2b03 cmp r3, #3 - 8013334: d008 beq.n 8013348 + 8012eaa: 4b7a ldr r3, [pc, #488] ; (8013094 ) + 8012eac: 781b ldrb r3, [r3, #0] + 8012eae: f003 0302 and.w r3, r3, #2 + 8012eb2: 2b00 cmp r3, #0 + 8012eb4: d010 beq.n 8012ed8 + 8012eb6: 687b ldr r3, [r7, #4] + 8012eb8: 7d1b ldrb r3, [r3, #20] + 8012eba: 2b02 cmp r3, #2 + 8012ebc: d00c beq.n 8012ed8 + 8012ebe: 687b ldr r3, [r7, #4] + 8012ec0: 7d1b ldrb r3, [r3, #20] + 8012ec2: 2b03 cmp r3, #3 + 8012ec4: d008 beq.n 8012ed8 /* Cope with new connection attempt after remote end crashed */ tcp_ack_now(pcb); - 8013336: 687b ldr r3, [r7, #4] - 8013338: 8b5b ldrh r3, [r3, #26] - 801333a: f043 0302 orr.w r3, r3, #2 - 801333e: b29a uxth r2, r3 - 8013340: 687b ldr r3, [r7, #4] - 8013342: 835a strh r2, [r3, #26] + 8012ec6: 687b ldr r3, [r7, #4] + 8012ec8: 8b5b ldrh r3, [r3, #26] + 8012eca: f043 0302 orr.w r3, r3, #2 + 8012ece: b29a uxth r2, r3 + 8012ed0: 687b ldr r3, [r7, #4] + 8012ed2: 835a strh r2, [r3, #26] return ERR_OK; - 8013344: 2300 movs r3, #0 - 8013346: e361 b.n 8013a0c + 8012ed4: 2300 movs r3, #0 + 8012ed6: e361 b.n 801359c } if ((pcb->flags & TF_RXCLOSED) == 0) { - 8013348: 687b ldr r3, [r7, #4] - 801334a: 8b5b ldrh r3, [r3, #26] - 801334c: f003 0310 and.w r3, r3, #16 - 8013350: 2b00 cmp r3, #0 - 8013352: d103 bne.n 801335c + 8012ed8: 687b ldr r3, [r7, #4] + 8012eda: 8b5b ldrh r3, [r3, #26] + 8012edc: f003 0310 and.w r3, r3, #16 + 8012ee0: 2b00 cmp r3, #0 + 8012ee2: d103 bne.n 8012eec /* Update the PCB (in)activity timer unless rx is closed (see tcp_shutdown) */ pcb->tmr = tcp_ticks; - 8013354: 4b70 ldr r3, [pc, #448] ; (8013518 ) - 8013356: 681a ldr r2, [r3, #0] - 8013358: 687b ldr r3, [r7, #4] - 801335a: 621a str r2, [r3, #32] + 8012ee4: 4b70 ldr r3, [pc, #448] ; (80130a8 ) + 8012ee6: 681a ldr r2, [r3, #0] + 8012ee8: 687b ldr r3, [r7, #4] + 8012eea: 621a str r2, [r3, #32] } pcb->keep_cnt_sent = 0; - 801335c: 687b ldr r3, [r7, #4] - 801335e: 2200 movs r2, #0 - 8013360: f883 209b strb.w r2, [r3, #155] ; 0x9b + 8012eec: 687b ldr r3, [r7, #4] + 8012eee: 2200 movs r2, #0 + 8012ef0: f883 209b strb.w r2, [r3, #155] ; 0x9b pcb->persist_probe = 0; - 8013364: 687b ldr r3, [r7, #4] - 8013366: 2200 movs r2, #0 - 8013368: f883 209a strb.w r2, [r3, #154] ; 0x9a + 8012ef4: 687b ldr r3, [r7, #4] + 8012ef6: 2200 movs r2, #0 + 8012ef8: f883 209a strb.w r2, [r3, #154] ; 0x9a tcp_parseopt(pcb); - 801336c: 6878 ldr r0, [r7, #4] - 801336e: f001 fc2d bl 8014bcc + 8012efc: 6878 ldr r0, [r7, #4] + 8012efe: f001 fc2d bl 801475c /* Do different things depending on the TCP state. */ switch (pcb->state) { - 8013372: 687b ldr r3, [r7, #4] - 8013374: 7d1b ldrb r3, [r3, #20] - 8013376: 3b02 subs r3, #2 - 8013378: 2b07 cmp r3, #7 - 801337a: f200 8337 bhi.w 80139ec - 801337e: a201 add r2, pc, #4 ; (adr r2, 8013384 ) - 8013380: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8013384: 080133a5 .word 0x080133a5 - 8013388: 080135d5 .word 0x080135d5 - 801338c: 0801374d .word 0x0801374d - 8013390: 08013777 .word 0x08013777 - 8013394: 0801389b .word 0x0801389b - 8013398: 0801374d .word 0x0801374d - 801339c: 08013927 .word 0x08013927 - 80133a0: 080139b7 .word 0x080139b7 + 8012f02: 687b ldr r3, [r7, #4] + 8012f04: 7d1b ldrb r3, [r3, #20] + 8012f06: 3b02 subs r3, #2 + 8012f08: 2b07 cmp r3, #7 + 8012f0a: f200 8337 bhi.w 801357c + 8012f0e: a201 add r2, pc, #4 ; (adr r2, 8012f14 ) + 8012f10: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8012f14: 08012f35 .word 0x08012f35 + 8012f18: 08013165 .word 0x08013165 + 8012f1c: 080132dd .word 0x080132dd + 8012f20: 08013307 .word 0x08013307 + 8012f24: 0801342b .word 0x0801342b + 8012f28: 080132dd .word 0x080132dd + 8012f2c: 080134b7 .word 0x080134b7 + 8012f30: 08013547 .word 0x08013547 case SYN_SENT: LWIP_DEBUGF(TCP_INPUT_DEBUG, ("SYN-SENT: ackno %"U32_F" pcb->snd_nxt %"U32_F" unacked %"U32_F"\n", ackno, pcb->snd_nxt, lwip_ntohl(pcb->unacked->tcphdr->seqno))); /* received SYN ACK with expected sequence number? */ if ((flags & TCP_ACK) && (flags & TCP_SYN) - 80133a4: 4b57 ldr r3, [pc, #348] ; (8013504 ) - 80133a6: 781b ldrb r3, [r3, #0] - 80133a8: f003 0310 and.w r3, r3, #16 - 80133ac: 2b00 cmp r3, #0 - 80133ae: f000 80e4 beq.w 801357a - 80133b2: 4b54 ldr r3, [pc, #336] ; (8013504 ) - 80133b4: 781b ldrb r3, [r3, #0] - 80133b6: f003 0302 and.w r3, r3, #2 - 80133ba: 2b00 cmp r3, #0 - 80133bc: f000 80dd beq.w 801357a + 8012f34: 4b57 ldr r3, [pc, #348] ; (8013094 ) + 8012f36: 781b ldrb r3, [r3, #0] + 8012f38: f003 0310 and.w r3, r3, #16 + 8012f3c: 2b00 cmp r3, #0 + 8012f3e: f000 80e4 beq.w 801310a + 8012f42: 4b54 ldr r3, [pc, #336] ; (8013094 ) + 8012f44: 781b ldrb r3, [r3, #0] + 8012f46: f003 0302 and.w r3, r3, #2 + 8012f4a: 2b00 cmp r3, #0 + 8012f4c: f000 80dd beq.w 801310a && (ackno == pcb->lastack + 1)) { - 80133c0: 687b ldr r3, [r7, #4] - 80133c2: 6c5b ldr r3, [r3, #68] ; 0x44 - 80133c4: 1c5a adds r2, r3, #1 - 80133c6: 4b50 ldr r3, [pc, #320] ; (8013508 ) - 80133c8: 681b ldr r3, [r3, #0] - 80133ca: 429a cmp r2, r3 - 80133cc: f040 80d5 bne.w 801357a + 8012f50: 687b ldr r3, [r7, #4] + 8012f52: 6c5b ldr r3, [r3, #68] ; 0x44 + 8012f54: 1c5a adds r2, r3, #1 + 8012f56: 4b50 ldr r3, [pc, #320] ; (8013098 ) + 8012f58: 681b ldr r3, [r3, #0] + 8012f5a: 429a cmp r2, r3 + 8012f5c: f040 80d5 bne.w 801310a pcb->rcv_nxt = seqno + 1; - 80133d0: 4b4e ldr r3, [pc, #312] ; (801350c ) - 80133d2: 681b ldr r3, [r3, #0] - 80133d4: 1c5a adds r2, r3, #1 - 80133d6: 687b ldr r3, [r7, #4] - 80133d8: 625a str r2, [r3, #36] ; 0x24 + 8012f60: 4b4e ldr r3, [pc, #312] ; (801309c ) + 8012f62: 681b ldr r3, [r3, #0] + 8012f64: 1c5a adds r2, r3, #1 + 8012f66: 687b ldr r3, [r7, #4] + 8012f68: 625a str r2, [r3, #36] ; 0x24 pcb->rcv_ann_right_edge = pcb->rcv_nxt; - 80133da: 687b ldr r3, [r7, #4] - 80133dc: 6a5a ldr r2, [r3, #36] ; 0x24 - 80133de: 687b ldr r3, [r7, #4] - 80133e0: 62da str r2, [r3, #44] ; 0x2c + 8012f6a: 687b ldr r3, [r7, #4] + 8012f6c: 6a5a ldr r2, [r3, #36] ; 0x24 + 8012f6e: 687b ldr r3, [r7, #4] + 8012f70: 62da str r2, [r3, #44] ; 0x2c pcb->lastack = ackno; - 80133e2: 4b49 ldr r3, [pc, #292] ; (8013508 ) - 80133e4: 681a ldr r2, [r3, #0] - 80133e6: 687b ldr r3, [r7, #4] - 80133e8: 645a str r2, [r3, #68] ; 0x44 + 8012f72: 4b49 ldr r3, [pc, #292] ; (8013098 ) + 8012f74: 681a ldr r2, [r3, #0] + 8012f76: 687b ldr r3, [r7, #4] + 8012f78: 645a str r2, [r3, #68] ; 0x44 pcb->snd_wnd = tcphdr->wnd; - 80133ea: 4b4c ldr r3, [pc, #304] ; (801351c ) - 80133ec: 681b ldr r3, [r3, #0] - 80133ee: 89db ldrh r3, [r3, #14] - 80133f0: b29a uxth r2, r3 - 80133f2: 687b ldr r3, [r7, #4] - 80133f4: f8a3 2060 strh.w r2, [r3, #96] ; 0x60 + 8012f7a: 4b4c ldr r3, [pc, #304] ; (80130ac ) + 8012f7c: 681b ldr r3, [r3, #0] + 8012f7e: 89db ldrh r3, [r3, #14] + 8012f80: b29a uxth r2, r3 + 8012f82: 687b ldr r3, [r7, #4] + 8012f84: f8a3 2060 strh.w r2, [r3, #96] ; 0x60 pcb->snd_wnd_max = pcb->snd_wnd; - 80133f8: 687b ldr r3, [r7, #4] - 80133fa: f8b3 2060 ldrh.w r2, [r3, #96] ; 0x60 - 80133fe: 687b ldr r3, [r7, #4] - 8013400: f8a3 2062 strh.w r2, [r3, #98] ; 0x62 + 8012f88: 687b ldr r3, [r7, #4] + 8012f8a: f8b3 2060 ldrh.w r2, [r3, #96] ; 0x60 + 8012f8e: 687b ldr r3, [r7, #4] + 8012f90: f8a3 2062 strh.w r2, [r3, #98] ; 0x62 pcb->snd_wl1 = seqno - 1; /* initialise to seqno - 1 to force window update */ - 8013404: 4b41 ldr r3, [pc, #260] ; (801350c ) - 8013406: 681b ldr r3, [r3, #0] - 8013408: 1e5a subs r2, r3, #1 - 801340a: 687b ldr r3, [r7, #4] - 801340c: 655a str r2, [r3, #84] ; 0x54 + 8012f94: 4b41 ldr r3, [pc, #260] ; (801309c ) + 8012f96: 681b ldr r3, [r3, #0] + 8012f98: 1e5a subs r2, r3, #1 + 8012f9a: 687b ldr r3, [r7, #4] + 8012f9c: 655a str r2, [r3, #84] ; 0x54 pcb->state = ESTABLISHED; - 801340e: 687b ldr r3, [r7, #4] - 8013410: 2204 movs r2, #4 - 8013412: 751a strb r2, [r3, #20] + 8012f9e: 687b ldr r3, [r7, #4] + 8012fa0: 2204 movs r2, #4 + 8012fa2: 751a strb r2, [r3, #20] #if TCP_CALCULATE_EFF_SEND_MSS pcb->mss = tcp_eff_send_mss(pcb->mss, &pcb->local_ip, &pcb->remote_ip); - 8013414: 687b ldr r3, [r7, #4] - 8013416: 8e5c ldrh r4, [r3, #50] ; 0x32 - 8013418: 687b ldr r3, [r7, #4] - 801341a: 3304 adds r3, #4 - 801341c: 4618 mov r0, r3 - 801341e: f006 fcd7 bl 8019dd0 - 8013422: 4601 mov r1, r0 - 8013424: 687b ldr r3, [r7, #4] - 8013426: 3304 adds r3, #4 - 8013428: 461a mov r2, r3 - 801342a: 4620 mov r0, r4 - 801342c: f7ff f88e bl 801254c - 8013430: 4603 mov r3, r0 - 8013432: 461a mov r2, r3 - 8013434: 687b ldr r3, [r7, #4] - 8013436: 865a strh r2, [r3, #50] ; 0x32 + 8012fa4: 687b ldr r3, [r7, #4] + 8012fa6: 8e5c ldrh r4, [r3, #50] ; 0x32 + 8012fa8: 687b ldr r3, [r7, #4] + 8012faa: 3304 adds r3, #4 + 8012fac: 4618 mov r0, r3 + 8012fae: f006 fcd7 bl 8019960 + 8012fb2: 4601 mov r1, r0 + 8012fb4: 687b ldr r3, [r7, #4] + 8012fb6: 3304 adds r3, #4 + 8012fb8: 461a mov r2, r3 + 8012fba: 4620 mov r0, r4 + 8012fbc: f7ff f88e bl 80120dc + 8012fc0: 4603 mov r3, r0 + 8012fc2: 461a mov r2, r3 + 8012fc4: 687b ldr r3, [r7, #4] + 8012fc6: 865a strh r2, [r3, #50] ; 0x32 #endif /* TCP_CALCULATE_EFF_SEND_MSS */ pcb->cwnd = LWIP_TCP_CALC_INITIAL_CWND(pcb->mss); - 8013438: 687b ldr r3, [r7, #4] - 801343a: 8e5b ldrh r3, [r3, #50] ; 0x32 - 801343c: 009a lsls r2, r3, #2 - 801343e: 687b ldr r3, [r7, #4] - 8013440: 8e5b ldrh r3, [r3, #50] ; 0x32 - 8013442: 005b lsls r3, r3, #1 - 8013444: f241 111c movw r1, #4380 ; 0x111c - 8013448: 428b cmp r3, r1 - 801344a: bf38 it cc - 801344c: 460b movcc r3, r1 - 801344e: 429a cmp r2, r3 - 8013450: d204 bcs.n 801345c - 8013452: 687b ldr r3, [r7, #4] - 8013454: 8e5b ldrh r3, [r3, #50] ; 0x32 - 8013456: 009b lsls r3, r3, #2 - 8013458: b29b uxth r3, r3 - 801345a: e00d b.n 8013478 - 801345c: 687b ldr r3, [r7, #4] - 801345e: 8e5b ldrh r3, [r3, #50] ; 0x32 - 8013460: 005b lsls r3, r3, #1 - 8013462: f241 121c movw r2, #4380 ; 0x111c - 8013466: 4293 cmp r3, r2 - 8013468: d904 bls.n 8013474 - 801346a: 687b ldr r3, [r7, #4] - 801346c: 8e5b ldrh r3, [r3, #50] ; 0x32 - 801346e: 005b lsls r3, r3, #1 - 8013470: b29b uxth r3, r3 - 8013472: e001 b.n 8013478 - 8013474: f241 131c movw r3, #4380 ; 0x111c - 8013478: 687a ldr r2, [r7, #4] - 801347a: f8a2 3048 strh.w r3, [r2, #72] ; 0x48 + 8012fc8: 687b ldr r3, [r7, #4] + 8012fca: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8012fcc: 009a lsls r2, r3, #2 + 8012fce: 687b ldr r3, [r7, #4] + 8012fd0: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8012fd2: 005b lsls r3, r3, #1 + 8012fd4: f241 111c movw r1, #4380 ; 0x111c + 8012fd8: 428b cmp r3, r1 + 8012fda: bf38 it cc + 8012fdc: 460b movcc r3, r1 + 8012fde: 429a cmp r2, r3 + 8012fe0: d204 bcs.n 8012fec + 8012fe2: 687b ldr r3, [r7, #4] + 8012fe4: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8012fe6: 009b lsls r3, r3, #2 + 8012fe8: b29b uxth r3, r3 + 8012fea: e00d b.n 8013008 + 8012fec: 687b ldr r3, [r7, #4] + 8012fee: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8012ff0: 005b lsls r3, r3, #1 + 8012ff2: f241 121c movw r2, #4380 ; 0x111c + 8012ff6: 4293 cmp r3, r2 + 8012ff8: d904 bls.n 8013004 + 8012ffa: 687b ldr r3, [r7, #4] + 8012ffc: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8012ffe: 005b lsls r3, r3, #1 + 8013000: b29b uxth r3, r3 + 8013002: e001 b.n 8013008 + 8013004: f241 131c movw r3, #4380 ; 0x111c + 8013008: 687a ldr r2, [r7, #4] + 801300a: f8a2 3048 strh.w r3, [r2, #72] ; 0x48 LWIP_DEBUGF(TCP_CWND_DEBUG, ("tcp_process (SENT): cwnd %"TCPWNDSIZE_F " ssthresh %"TCPWNDSIZE_F"\n", pcb->cwnd, pcb->ssthresh)); LWIP_ASSERT("pcb->snd_queuelen > 0", (pcb->snd_queuelen > 0)); - 801347e: 687b ldr r3, [r7, #4] - 8013480: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 - 8013484: 2b00 cmp r3, #0 - 8013486: d106 bne.n 8013496 - 8013488: 4b1b ldr r3, [pc, #108] ; (80134f8 ) - 801348a: f44f 725b mov.w r2, #876 ; 0x36c - 801348e: 4924 ldr r1, [pc, #144] ; (8013520 ) - 8013490: 481b ldr r0, [pc, #108] ; (8013500 ) - 8013492: f008 f811 bl 801b4b8 + 801300e: 687b ldr r3, [r7, #4] + 8013010: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 + 8013014: 2b00 cmp r3, #0 + 8013016: d106 bne.n 8013026 + 8013018: 4b1b ldr r3, [pc, #108] ; (8013088 ) + 801301a: f44f 725b mov.w r2, #876 ; 0x36c + 801301e: 4924 ldr r1, [pc, #144] ; (80130b0 ) + 8013020: 481b ldr r0, [pc, #108] ; (8013090 ) + 8013022: f007 fff7 bl 801b014 --pcb->snd_queuelen; - 8013496: 687b ldr r3, [r7, #4] - 8013498: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 - 801349c: 3b01 subs r3, #1 - 801349e: b29a uxth r2, r3 - 80134a0: 687b ldr r3, [r7, #4] - 80134a2: f8a3 2066 strh.w r2, [r3, #102] ; 0x66 + 8013026: 687b ldr r3, [r7, #4] + 8013028: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 + 801302c: 3b01 subs r3, #1 + 801302e: b29a uxth r2, r3 + 8013030: 687b ldr r3, [r7, #4] + 8013032: f8a3 2066 strh.w r2, [r3, #102] ; 0x66 LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_process: SYN-SENT --queuelen %"TCPWNDSIZE_F"\n", (tcpwnd_size_t)pcb->snd_queuelen)); rseg = pcb->unacked; - 80134a6: 687b ldr r3, [r7, #4] - 80134a8: 6f1b ldr r3, [r3, #112] ; 0x70 - 80134aa: 61fb str r3, [r7, #28] + 8013036: 687b ldr r3, [r7, #4] + 8013038: 6f1b ldr r3, [r3, #112] ; 0x70 + 801303a: 61fb str r3, [r7, #28] if (rseg == NULL) { - 80134ac: 69fb ldr r3, [r7, #28] - 80134ae: 2b00 cmp r3, #0 - 80134b0: d111 bne.n 80134d6 + 801303c: 69fb ldr r3, [r7, #28] + 801303e: 2b00 cmp r3, #0 + 8013040: d111 bne.n 8013066 /* might happen if tcp_output fails in tcp_rexmit_rto() in which case the segment is on the unsent list */ rseg = pcb->unsent; - 80134b2: 687b ldr r3, [r7, #4] - 80134b4: 6edb ldr r3, [r3, #108] ; 0x6c - 80134b6: 61fb str r3, [r7, #28] + 8013042: 687b ldr r3, [r7, #4] + 8013044: 6edb ldr r3, [r3, #108] ; 0x6c + 8013046: 61fb str r3, [r7, #28] LWIP_ASSERT("no segment to free", rseg != NULL); - 80134b8: 69fb ldr r3, [r7, #28] - 80134ba: 2b00 cmp r3, #0 - 80134bc: d106 bne.n 80134cc - 80134be: 4b0e ldr r3, [pc, #56] ; (80134f8 ) - 80134c0: f44f 725d mov.w r2, #884 ; 0x374 - 80134c4: 4917 ldr r1, [pc, #92] ; (8013524 ) - 80134c6: 480e ldr r0, [pc, #56] ; (8013500 ) - 80134c8: f007 fff6 bl 801b4b8 + 8013048: 69fb ldr r3, [r7, #28] + 801304a: 2b00 cmp r3, #0 + 801304c: d106 bne.n 801305c + 801304e: 4b0e ldr r3, [pc, #56] ; (8013088 ) + 8013050: f44f 725d mov.w r2, #884 ; 0x374 + 8013054: 4917 ldr r1, [pc, #92] ; (80130b4 ) + 8013056: 480e ldr r0, [pc, #56] ; (8013090 ) + 8013058: f007 ffdc bl 801b014 pcb->unsent = rseg->next; - 80134cc: 69fb ldr r3, [r7, #28] - 80134ce: 681a ldr r2, [r3, #0] - 80134d0: 687b ldr r3, [r7, #4] - 80134d2: 66da str r2, [r3, #108] ; 0x6c - 80134d4: e003 b.n 80134de + 801305c: 69fb ldr r3, [r7, #28] + 801305e: 681a ldr r2, [r3, #0] + 8013060: 687b ldr r3, [r7, #4] + 8013062: 66da str r2, [r3, #108] ; 0x6c + 8013064: e003 b.n 801306e } else { pcb->unacked = rseg->next; - 80134d6: 69fb ldr r3, [r7, #28] - 80134d8: 681a ldr r2, [r3, #0] - 80134da: 687b ldr r3, [r7, #4] - 80134dc: 671a str r2, [r3, #112] ; 0x70 + 8013066: 69fb ldr r3, [r7, #28] + 8013068: 681a ldr r2, [r3, #0] + 801306a: 687b ldr r3, [r7, #4] + 801306c: 671a str r2, [r3, #112] ; 0x70 } tcp_seg_free(rseg); - 80134de: 69f8 ldr r0, [r7, #28] - 80134e0: f7fe fd3e bl 8011f60 + 801306e: 69f8 ldr r0, [r7, #28] + 8013070: f7fe fd3e bl 8011af0 /* If there's nothing left to acknowledge, stop the retransmit timer, otherwise reset it to start again */ if (pcb->unacked == NULL) { - 80134e4: 687b ldr r3, [r7, #4] - 80134e6: 6f1b ldr r3, [r3, #112] ; 0x70 - 80134e8: 2b00 cmp r3, #0 - 80134ea: d11d bne.n 8013528 + 8013074: 687b ldr r3, [r7, #4] + 8013076: 6f1b ldr r3, [r3, #112] ; 0x70 + 8013078: 2b00 cmp r3, #0 + 801307a: d11d bne.n 80130b8 pcb->rtime = -1; - 80134ec: 687b ldr r3, [r7, #4] - 80134ee: f64f 72ff movw r2, #65535 ; 0xffff - 80134f2: 861a strh r2, [r3, #48] ; 0x30 - 80134f4: e01f b.n 8013536 - 80134f6: bf00 nop - 80134f8: 0801dab4 .word 0x0801dab4 - 80134fc: 0801dcec .word 0x0801dcec - 8013500: 0801db00 .word 0x0801db00 - 8013504: 20008758 .word 0x20008758 - 8013508: 20008750 .word 0x20008750 - 801350c: 2000874c .word 0x2000874c - 8013510: 0801dd08 .word 0x0801dd08 - 8013514: 20008759 .word 0x20008759 - 8013518: 2000f5c8 .word 0x2000f5c8 - 801351c: 2000873c .word 0x2000873c - 8013520: 0801dd28 .word 0x0801dd28 - 8013524: 0801dd40 .word 0x0801dd40 + 801307c: 687b ldr r3, [r7, #4] + 801307e: f64f 72ff movw r2, #65535 ; 0xffff + 8013082: 861a strh r2, [r3, #48] ; 0x30 + 8013084: e01f b.n 80130c6 + 8013086: bf00 nop + 8013088: 0801d2b0 .word 0x0801d2b0 + 801308c: 0801d4e8 .word 0x0801d4e8 + 8013090: 0801d2fc .word 0x0801d2fc + 8013094: 20008758 .word 0x20008758 + 8013098: 20008750 .word 0x20008750 + 801309c: 2000874c .word 0x2000874c + 80130a0: 0801d504 .word 0x0801d504 + 80130a4: 20008759 .word 0x20008759 + 80130a8: 2000f5c4 .word 0x2000f5c4 + 80130ac: 2000873c .word 0x2000873c + 80130b0: 0801d524 .word 0x0801d524 + 80130b4: 0801d53c .word 0x0801d53c } else { pcb->rtime = 0; - 8013528: 687b ldr r3, [r7, #4] - 801352a: 2200 movs r2, #0 - 801352c: 861a strh r2, [r3, #48] ; 0x30 + 80130b8: 687b ldr r3, [r7, #4] + 80130ba: 2200 movs r2, #0 + 80130bc: 861a strh r2, [r3, #48] ; 0x30 pcb->nrtx = 0; - 801352e: 687b ldr r3, [r7, #4] - 8013530: 2200 movs r2, #0 - 8013532: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 80130be: 687b ldr r3, [r7, #4] + 80130c0: 2200 movs r2, #0 + 80130c2: f883 2042 strb.w r2, [r3, #66] ; 0x42 } /* Call the user specified function to call when successfully * connected. */ TCP_EVENT_CONNECTED(pcb, ERR_OK, err); - 8013536: 687b ldr r3, [r7, #4] - 8013538: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 801353c: 2b00 cmp r3, #0 - 801353e: d00a beq.n 8013556 - 8013540: 687b ldr r3, [r7, #4] - 8013542: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8013546: 687a ldr r2, [r7, #4] - 8013548: 6910 ldr r0, [r2, #16] - 801354a: 2200 movs r2, #0 - 801354c: 6879 ldr r1, [r7, #4] - 801354e: 4798 blx r3 - 8013550: 4603 mov r3, r0 - 8013552: 76bb strb r3, [r7, #26] - 8013554: e001 b.n 801355a - 8013556: 2300 movs r3, #0 - 8013558: 76bb strb r3, [r7, #26] + 80130c6: 687b ldr r3, [r7, #4] + 80130c8: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 80130cc: 2b00 cmp r3, #0 + 80130ce: d00a beq.n 80130e6 + 80130d0: 687b ldr r3, [r7, #4] + 80130d2: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 80130d6: 687a ldr r2, [r7, #4] + 80130d8: 6910 ldr r0, [r2, #16] + 80130da: 2200 movs r2, #0 + 80130dc: 6879 ldr r1, [r7, #4] + 80130de: 4798 blx r3 + 80130e0: 4603 mov r3, r0 + 80130e2: 76bb strb r3, [r7, #26] + 80130e4: e001 b.n 80130ea + 80130e6: 2300 movs r3, #0 + 80130e8: 76bb strb r3, [r7, #26] if (err == ERR_ABRT) { - 801355a: f997 301a ldrsb.w r3, [r7, #26] - 801355e: f113 0f0d cmn.w r3, #13 - 8013562: d102 bne.n 801356a + 80130ea: f997 301a ldrsb.w r3, [r7, #26] + 80130ee: f113 0f0d cmn.w r3, #13 + 80130f2: d102 bne.n 80130fa return ERR_ABRT; - 8013564: f06f 030c mvn.w r3, #12 - 8013568: e250 b.n 8013a0c + 80130f4: f06f 030c mvn.w r3, #12 + 80130f8: e250 b.n 801359c } tcp_ack_now(pcb); - 801356a: 687b ldr r3, [r7, #4] - 801356c: 8b5b ldrh r3, [r3, #26] - 801356e: f043 0302 orr.w r3, r3, #2 - 8013572: b29a uxth r2, r3 - 8013574: 687b ldr r3, [r7, #4] - 8013576: 835a strh r2, [r3, #26] + 80130fa: 687b ldr r3, [r7, #4] + 80130fc: 8b5b ldrh r3, [r3, #26] + 80130fe: f043 0302 orr.w r3, r3, #2 + 8013102: b29a uxth r2, r3 + 8013104: 687b ldr r3, [r7, #4] + 8013106: 835a strh r2, [r3, #26] if (pcb->nrtx < TCP_SYNMAXRTX) { pcb->rtime = 0; tcp_rexmit_rto(pcb); } } break; - 8013578: e23a b.n 80139f0 + 8013108: e23a b.n 8013580 else if (flags & TCP_ACK) { - 801357a: 4b9d ldr r3, [pc, #628] ; (80137f0 ) - 801357c: 781b ldrb r3, [r3, #0] - 801357e: f003 0310 and.w r3, r3, #16 - 8013582: 2b00 cmp r3, #0 - 8013584: f000 8234 beq.w 80139f0 + 801310a: 4b9d ldr r3, [pc, #628] ; (8013380 ) + 801310c: 781b ldrb r3, [r3, #0] + 801310e: f003 0310 and.w r3, r3, #16 + 8013112: 2b00 cmp r3, #0 + 8013114: f000 8234 beq.w 8013580 tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 8013588: 4b9a ldr r3, [pc, #616] ; (80137f4 ) - 801358a: 6819 ldr r1, [r3, #0] - 801358c: 4b9a ldr r3, [pc, #616] ; (80137f8 ) - 801358e: 881b ldrh r3, [r3, #0] - 8013590: 461a mov r2, r3 - 8013592: 4b9a ldr r3, [pc, #616] ; (80137fc ) - 8013594: 681b ldr r3, [r3, #0] - 8013596: 18d0 adds r0, r2, r3 + 8013118: 4b9a ldr r3, [pc, #616] ; (8013384 ) + 801311a: 6819 ldr r1, [r3, #0] + 801311c: 4b9a ldr r3, [pc, #616] ; (8013388 ) + 801311e: 881b ldrh r3, [r3, #0] + 8013120: 461a mov r2, r3 + 8013122: 4b9a ldr r3, [pc, #616] ; (801338c ) + 8013124: 681b ldr r3, [r3, #0] + 8013126: 18d0 adds r0, r2, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 8013598: 4b99 ldr r3, [pc, #612] ; (8013800 ) - 801359a: 681b ldr r3, [r3, #0] + 8013128: 4b99 ldr r3, [pc, #612] ; (8013390 ) + 801312a: 681b ldr r3, [r3, #0] tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 801359c: 885b ldrh r3, [r3, #2] - 801359e: b29b uxth r3, r3 + 801312c: 885b ldrh r3, [r3, #2] + 801312e: b29b uxth r3, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 80135a0: 4a97 ldr r2, [pc, #604] ; (8013800 ) - 80135a2: 6812 ldr r2, [r2, #0] + 8013130: 4a97 ldr r2, [pc, #604] ; (8013390 ) + 8013132: 6812 ldr r2, [r2, #0] tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 80135a4: 8812 ldrh r2, [r2, #0] - 80135a6: b292 uxth r2, r2 - 80135a8: 9202 str r2, [sp, #8] - 80135aa: 9301 str r3, [sp, #4] - 80135ac: 4b95 ldr r3, [pc, #596] ; (8013804 ) - 80135ae: 9300 str r3, [sp, #0] - 80135b0: 4b95 ldr r3, [pc, #596] ; (8013808 ) - 80135b2: 4602 mov r2, r0 - 80135b4: 6878 ldr r0, [r7, #4] - 80135b6: f002 fc93 bl 8015ee0 + 8013134: 8812 ldrh r2, [r2, #0] + 8013136: b292 uxth r2, r2 + 8013138: 9202 str r2, [sp, #8] + 801313a: 9301 str r3, [sp, #4] + 801313c: 4b95 ldr r3, [pc, #596] ; (8013394 ) + 801313e: 9300 str r3, [sp, #0] + 8013140: 4b95 ldr r3, [pc, #596] ; (8013398 ) + 8013142: 4602 mov r2, r0 + 8013144: 6878 ldr r0, [r7, #4] + 8013146: f002 fc93 bl 8015a70 if (pcb->nrtx < TCP_SYNMAXRTX) { - 80135ba: 687b ldr r3, [r7, #4] - 80135bc: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 - 80135c0: 2b05 cmp r3, #5 - 80135c2: f200 8215 bhi.w 80139f0 + 801314a: 687b ldr r3, [r7, #4] + 801314c: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 + 8013150: 2b05 cmp r3, #5 + 8013152: f200 8215 bhi.w 8013580 pcb->rtime = 0; - 80135c6: 687b ldr r3, [r7, #4] - 80135c8: 2200 movs r2, #0 - 80135ca: 861a strh r2, [r3, #48] ; 0x30 + 8013156: 687b ldr r3, [r7, #4] + 8013158: 2200 movs r2, #0 + 801315a: 861a strh r2, [r3, #48] ; 0x30 tcp_rexmit_rto(pcb); - 80135cc: 6878 ldr r0, [r7, #4] - 80135ce: f002 fa51 bl 8015a74 + 801315c: 6878 ldr r0, [r7, #4] + 801315e: f002 fa51 bl 8015604 break; - 80135d2: e20d b.n 80139f0 + 8013162: e20d b.n 8013580 case SYN_RCVD: if (flags & TCP_ACK) { - 80135d4: 4b86 ldr r3, [pc, #536] ; (80137f0 ) - 80135d6: 781b ldrb r3, [r3, #0] - 80135d8: f003 0310 and.w r3, r3, #16 - 80135dc: 2b00 cmp r3, #0 - 80135de: f000 80a1 beq.w 8013724 + 8013164: 4b86 ldr r3, [pc, #536] ; (8013380 ) + 8013166: 781b ldrb r3, [r3, #0] + 8013168: f003 0310 and.w r3, r3, #16 + 801316c: 2b00 cmp r3, #0 + 801316e: f000 80a1 beq.w 80132b4 /* expected ACK number? */ if (TCP_SEQ_BETWEEN(ackno, pcb->lastack + 1, pcb->snd_nxt)) { - 80135e2: 4b84 ldr r3, [pc, #528] ; (80137f4 ) - 80135e4: 681a ldr r2, [r3, #0] - 80135e6: 687b ldr r3, [r7, #4] - 80135e8: 6c5b ldr r3, [r3, #68] ; 0x44 - 80135ea: 1ad3 subs r3, r2, r3 - 80135ec: 3b01 subs r3, #1 - 80135ee: 2b00 cmp r3, #0 - 80135f0: db7e blt.n 80136f0 - 80135f2: 4b80 ldr r3, [pc, #512] ; (80137f4 ) - 80135f4: 681a ldr r2, [r3, #0] - 80135f6: 687b ldr r3, [r7, #4] - 80135f8: 6d1b ldr r3, [r3, #80] ; 0x50 - 80135fa: 1ad3 subs r3, r2, r3 - 80135fc: 2b00 cmp r3, #0 - 80135fe: dc77 bgt.n 80136f0 + 8013172: 4b84 ldr r3, [pc, #528] ; (8013384 ) + 8013174: 681a ldr r2, [r3, #0] + 8013176: 687b ldr r3, [r7, #4] + 8013178: 6c5b ldr r3, [r3, #68] ; 0x44 + 801317a: 1ad3 subs r3, r2, r3 + 801317c: 3b01 subs r3, #1 + 801317e: 2b00 cmp r3, #0 + 8013180: db7e blt.n 8013280 + 8013182: 4b80 ldr r3, [pc, #512] ; (8013384 ) + 8013184: 681a ldr r2, [r3, #0] + 8013186: 687b ldr r3, [r7, #4] + 8013188: 6d1b ldr r3, [r3, #80] ; 0x50 + 801318a: 1ad3 subs r3, r2, r3 + 801318c: 2b00 cmp r3, #0 + 801318e: dc77 bgt.n 8013280 pcb->state = ESTABLISHED; - 8013600: 687b ldr r3, [r7, #4] - 8013602: 2204 movs r2, #4 - 8013604: 751a strb r2, [r3, #20] + 8013190: 687b ldr r3, [r7, #4] + 8013192: 2204 movs r2, #4 + 8013194: 751a strb r2, [r3, #20] LWIP_DEBUGF(TCP_DEBUG, ("TCP connection established %"U16_F" -> %"U16_F".\n", inseg.tcphdr->src, inseg.tcphdr->dest)); #if LWIP_CALLBACK_API || TCP_LISTEN_BACKLOG if (pcb->listener == NULL) { - 8013606: 687b ldr r3, [r7, #4] - 8013608: 6fdb ldr r3, [r3, #124] ; 0x7c - 801360a: 2b00 cmp r3, #0 - 801360c: d102 bne.n 8013614 + 8013196: 687b ldr r3, [r7, #4] + 8013198: 6fdb ldr r3, [r3, #124] ; 0x7c + 801319a: 2b00 cmp r3, #0 + 801319c: d102 bne.n 80131a4 /* listen pcb might be closed by now */ err = ERR_VAL; - 801360e: 23fa movs r3, #250 ; 0xfa - 8013610: 76bb strb r3, [r7, #26] - 8013612: e01d b.n 8013650 + 801319e: 23fa movs r3, #250 ; 0xfa + 80131a0: 76bb strb r3, [r7, #26] + 80131a2: e01d b.n 80131e0 } else #endif /* LWIP_CALLBACK_API || TCP_LISTEN_BACKLOG */ { #if LWIP_CALLBACK_API LWIP_ASSERT("pcb->listener->accept != NULL", pcb->listener->accept != NULL); - 8013614: 687b ldr r3, [r7, #4] - 8013616: 6fdb ldr r3, [r3, #124] ; 0x7c - 8013618: 699b ldr r3, [r3, #24] - 801361a: 2b00 cmp r3, #0 - 801361c: d106 bne.n 801362c - 801361e: 4b7b ldr r3, [pc, #492] ; (801380c ) - 8013620: f44f 726a mov.w r2, #936 ; 0x3a8 - 8013624: 497a ldr r1, [pc, #488] ; (8013810 ) - 8013626: 487b ldr r0, [pc, #492] ; (8013814 ) - 8013628: f007 ff46 bl 801b4b8 + 80131a4: 687b ldr r3, [r7, #4] + 80131a6: 6fdb ldr r3, [r3, #124] ; 0x7c + 80131a8: 699b ldr r3, [r3, #24] + 80131aa: 2b00 cmp r3, #0 + 80131ac: d106 bne.n 80131bc + 80131ae: 4b7b ldr r3, [pc, #492] ; (801339c ) + 80131b0: f44f 726a mov.w r2, #936 ; 0x3a8 + 80131b4: 497a ldr r1, [pc, #488] ; (80133a0 ) + 80131b6: 487b ldr r0, [pc, #492] ; (80133a4 ) + 80131b8: f007 ff2c bl 801b014 #endif tcp_backlog_accepted(pcb); /* Call the accept function. */ TCP_EVENT_ACCEPT(pcb->listener, pcb, pcb->callback_arg, ERR_OK, err); - 801362c: 687b ldr r3, [r7, #4] - 801362e: 6fdb ldr r3, [r3, #124] ; 0x7c - 8013630: 699b ldr r3, [r3, #24] - 8013632: 2b00 cmp r3, #0 - 8013634: d00a beq.n 801364c - 8013636: 687b ldr r3, [r7, #4] - 8013638: 6fdb ldr r3, [r3, #124] ; 0x7c - 801363a: 699b ldr r3, [r3, #24] - 801363c: 687a ldr r2, [r7, #4] - 801363e: 6910 ldr r0, [r2, #16] - 8013640: 2200 movs r2, #0 - 8013642: 6879 ldr r1, [r7, #4] - 8013644: 4798 blx r3 - 8013646: 4603 mov r3, r0 - 8013648: 76bb strb r3, [r7, #26] - 801364a: e001 b.n 8013650 - 801364c: 23f0 movs r3, #240 ; 0xf0 - 801364e: 76bb strb r3, [r7, #26] + 80131bc: 687b ldr r3, [r7, #4] + 80131be: 6fdb ldr r3, [r3, #124] ; 0x7c + 80131c0: 699b ldr r3, [r3, #24] + 80131c2: 2b00 cmp r3, #0 + 80131c4: d00a beq.n 80131dc + 80131c6: 687b ldr r3, [r7, #4] + 80131c8: 6fdb ldr r3, [r3, #124] ; 0x7c + 80131ca: 699b ldr r3, [r3, #24] + 80131cc: 687a ldr r2, [r7, #4] + 80131ce: 6910 ldr r0, [r2, #16] + 80131d0: 2200 movs r2, #0 + 80131d2: 6879 ldr r1, [r7, #4] + 80131d4: 4798 blx r3 + 80131d6: 4603 mov r3, r0 + 80131d8: 76bb strb r3, [r7, #26] + 80131da: e001 b.n 80131e0 + 80131dc: 23f0 movs r3, #240 ; 0xf0 + 80131de: 76bb strb r3, [r7, #26] } if (err != ERR_OK) { - 8013650: f997 301a ldrsb.w r3, [r7, #26] - 8013654: 2b00 cmp r3, #0 - 8013656: d00a beq.n 801366e + 80131e0: f997 301a ldrsb.w r3, [r7, #26] + 80131e4: 2b00 cmp r3, #0 + 80131e6: d00a beq.n 80131fe /* If the accept function returns with an error, we abort * the connection. */ /* Already aborted? */ if (err != ERR_ABRT) { - 8013658: f997 301a ldrsb.w r3, [r7, #26] - 801365c: f113 0f0d cmn.w r3, #13 - 8013660: d002 beq.n 8013668 + 80131e8: f997 301a ldrsb.w r3, [r7, #26] + 80131ec: f113 0f0d cmn.w r3, #13 + 80131f0: d002 beq.n 80131f8 tcp_abort(pcb); - 8013662: 6878 ldr r0, [r7, #4] - 8013664: f7fd ff94 bl 8011590 + 80131f2: 6878 ldr r0, [r7, #4] + 80131f4: f7fd ff94 bl 8011120 } return ERR_ABRT; - 8013668: f06f 030c mvn.w r3, #12 - 801366c: e1ce b.n 8013a0c + 80131f8: f06f 030c mvn.w r3, #12 + 80131fc: e1ce b.n 801359c } /* If there was any data contained within this ACK, * we'd better pass it on to the application as well. */ tcp_receive(pcb); - 801366e: 6878 ldr r0, [r7, #4] - 8013670: f000 fae0 bl 8013c34 + 80131fe: 6878 ldr r0, [r7, #4] + 8013200: f000 fae0 bl 80137c4 /* Prevent ACK for SYN to generate a sent event */ if (recv_acked != 0) { - 8013674: 4b68 ldr r3, [pc, #416] ; (8013818 ) - 8013676: 881b ldrh r3, [r3, #0] - 8013678: 2b00 cmp r3, #0 - 801367a: d005 beq.n 8013688 + 8013204: 4b68 ldr r3, [pc, #416] ; (80133a8 ) + 8013206: 881b ldrh r3, [r3, #0] + 8013208: 2b00 cmp r3, #0 + 801320a: d005 beq.n 8013218 recv_acked--; - 801367c: 4b66 ldr r3, [pc, #408] ; (8013818 ) - 801367e: 881b ldrh r3, [r3, #0] - 8013680: 3b01 subs r3, #1 - 8013682: b29a uxth r2, r3 - 8013684: 4b64 ldr r3, [pc, #400] ; (8013818 ) - 8013686: 801a strh r2, [r3, #0] + 801320c: 4b66 ldr r3, [pc, #408] ; (80133a8 ) + 801320e: 881b ldrh r3, [r3, #0] + 8013210: 3b01 subs r3, #1 + 8013212: b29a uxth r2, r3 + 8013214: 4b64 ldr r3, [pc, #400] ; (80133a8 ) + 8013216: 801a strh r2, [r3, #0] } pcb->cwnd = LWIP_TCP_CALC_INITIAL_CWND(pcb->mss); - 8013688: 687b ldr r3, [r7, #4] - 801368a: 8e5b ldrh r3, [r3, #50] ; 0x32 - 801368c: 009a lsls r2, r3, #2 - 801368e: 687b ldr r3, [r7, #4] - 8013690: 8e5b ldrh r3, [r3, #50] ; 0x32 - 8013692: 005b lsls r3, r3, #1 - 8013694: f241 111c movw r1, #4380 ; 0x111c - 8013698: 428b cmp r3, r1 - 801369a: bf38 it cc - 801369c: 460b movcc r3, r1 - 801369e: 429a cmp r2, r3 - 80136a0: d204 bcs.n 80136ac - 80136a2: 687b ldr r3, [r7, #4] - 80136a4: 8e5b ldrh r3, [r3, #50] ; 0x32 - 80136a6: 009b lsls r3, r3, #2 - 80136a8: b29b uxth r3, r3 - 80136aa: e00d b.n 80136c8 - 80136ac: 687b ldr r3, [r7, #4] - 80136ae: 8e5b ldrh r3, [r3, #50] ; 0x32 - 80136b0: 005b lsls r3, r3, #1 - 80136b2: f241 121c movw r2, #4380 ; 0x111c - 80136b6: 4293 cmp r3, r2 - 80136b8: d904 bls.n 80136c4 - 80136ba: 687b ldr r3, [r7, #4] - 80136bc: 8e5b ldrh r3, [r3, #50] ; 0x32 - 80136be: 005b lsls r3, r3, #1 - 80136c0: b29b uxth r3, r3 - 80136c2: e001 b.n 80136c8 - 80136c4: f241 131c movw r3, #4380 ; 0x111c - 80136c8: 687a ldr r2, [r7, #4] - 80136ca: f8a2 3048 strh.w r3, [r2, #72] ; 0x48 + 8013218: 687b ldr r3, [r7, #4] + 801321a: 8e5b ldrh r3, [r3, #50] ; 0x32 + 801321c: 009a lsls r2, r3, #2 + 801321e: 687b ldr r3, [r7, #4] + 8013220: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8013222: 005b lsls r3, r3, #1 + 8013224: f241 111c movw r1, #4380 ; 0x111c + 8013228: 428b cmp r3, r1 + 801322a: bf38 it cc + 801322c: 460b movcc r3, r1 + 801322e: 429a cmp r2, r3 + 8013230: d204 bcs.n 801323c + 8013232: 687b ldr r3, [r7, #4] + 8013234: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8013236: 009b lsls r3, r3, #2 + 8013238: b29b uxth r3, r3 + 801323a: e00d b.n 8013258 + 801323c: 687b ldr r3, [r7, #4] + 801323e: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8013240: 005b lsls r3, r3, #1 + 8013242: f241 121c movw r2, #4380 ; 0x111c + 8013246: 4293 cmp r3, r2 + 8013248: d904 bls.n 8013254 + 801324a: 687b ldr r3, [r7, #4] + 801324c: 8e5b ldrh r3, [r3, #50] ; 0x32 + 801324e: 005b lsls r3, r3, #1 + 8013250: b29b uxth r3, r3 + 8013252: e001 b.n 8013258 + 8013254: f241 131c movw r3, #4380 ; 0x111c + 8013258: 687a ldr r2, [r7, #4] + 801325a: f8a2 3048 strh.w r3, [r2, #72] ; 0x48 LWIP_DEBUGF(TCP_CWND_DEBUG, ("tcp_process (SYN_RCVD): cwnd %"TCPWNDSIZE_F " ssthresh %"TCPWNDSIZE_F"\n", pcb->cwnd, pcb->ssthresh)); if (recv_flags & TF_GOT_FIN) { - 80136ce: 4b53 ldr r3, [pc, #332] ; (801381c ) - 80136d0: 781b ldrb r3, [r3, #0] - 80136d2: f003 0320 and.w r3, r3, #32 - 80136d6: 2b00 cmp r3, #0 - 80136d8: d037 beq.n 801374a + 801325e: 4b53 ldr r3, [pc, #332] ; (80133ac ) + 8013260: 781b ldrb r3, [r3, #0] + 8013262: f003 0320 and.w r3, r3, #32 + 8013266: 2b00 cmp r3, #0 + 8013268: d037 beq.n 80132da tcp_ack_now(pcb); - 80136da: 687b ldr r3, [r7, #4] - 80136dc: 8b5b ldrh r3, [r3, #26] - 80136de: f043 0302 orr.w r3, r3, #2 - 80136e2: b29a uxth r2, r3 - 80136e4: 687b ldr r3, [r7, #4] - 80136e6: 835a strh r2, [r3, #26] + 801326a: 687b ldr r3, [r7, #4] + 801326c: 8b5b ldrh r3, [r3, #26] + 801326e: f043 0302 orr.w r3, r3, #2 + 8013272: b29a uxth r2, r3 + 8013274: 687b ldr r3, [r7, #4] + 8013276: 835a strh r2, [r3, #26] pcb->state = CLOSE_WAIT; - 80136e8: 687b ldr r3, [r7, #4] - 80136ea: 2207 movs r2, #7 - 80136ec: 751a strb r2, [r3, #20] + 8013278: 687b ldr r3, [r7, #4] + 801327a: 2207 movs r2, #7 + 801327c: 751a strb r2, [r3, #20] if (recv_flags & TF_GOT_FIN) { - 80136ee: e02c b.n 801374a + 801327e: e02c b.n 80132da } } else { /* incorrect ACK number, send RST */ tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 80136f0: 4b40 ldr r3, [pc, #256] ; (80137f4 ) - 80136f2: 6819 ldr r1, [r3, #0] - 80136f4: 4b40 ldr r3, [pc, #256] ; (80137f8 ) - 80136f6: 881b ldrh r3, [r3, #0] - 80136f8: 461a mov r2, r3 - 80136fa: 4b40 ldr r3, [pc, #256] ; (80137fc ) - 80136fc: 681b ldr r3, [r3, #0] - 80136fe: 18d0 adds r0, r2, r3 + 8013280: 4b40 ldr r3, [pc, #256] ; (8013384 ) + 8013282: 6819 ldr r1, [r3, #0] + 8013284: 4b40 ldr r3, [pc, #256] ; (8013388 ) + 8013286: 881b ldrh r3, [r3, #0] + 8013288: 461a mov r2, r3 + 801328a: 4b40 ldr r3, [pc, #256] ; (801338c ) + 801328c: 681b ldr r3, [r3, #0] + 801328e: 18d0 adds r0, r2, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 8013700: 4b3f ldr r3, [pc, #252] ; (8013800 ) - 8013702: 681b ldr r3, [r3, #0] + 8013290: 4b3f ldr r3, [pc, #252] ; (8013390 ) + 8013292: 681b ldr r3, [r3, #0] tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 8013704: 885b ldrh r3, [r3, #2] - 8013706: b29b uxth r3, r3 + 8013294: 885b ldrh r3, [r3, #2] + 8013296: b29b uxth r3, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 8013708: 4a3d ldr r2, [pc, #244] ; (8013800 ) - 801370a: 6812 ldr r2, [r2, #0] + 8013298: 4a3d ldr r2, [pc, #244] ; (8013390 ) + 801329a: 6812 ldr r2, [r2, #0] tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 801370c: 8812 ldrh r2, [r2, #0] - 801370e: b292 uxth r2, r2 - 8013710: 9202 str r2, [sp, #8] - 8013712: 9301 str r3, [sp, #4] - 8013714: 4b3b ldr r3, [pc, #236] ; (8013804 ) - 8013716: 9300 str r3, [sp, #0] - 8013718: 4b3b ldr r3, [pc, #236] ; (8013808 ) - 801371a: 4602 mov r2, r0 - 801371c: 6878 ldr r0, [r7, #4] - 801371e: f002 fbdf bl 8015ee0 + 801329c: 8812 ldrh r2, [r2, #0] + 801329e: b292 uxth r2, r2 + 80132a0: 9202 str r2, [sp, #8] + 80132a2: 9301 str r3, [sp, #4] + 80132a4: 4b3b ldr r3, [pc, #236] ; (8013394 ) + 80132a6: 9300 str r3, [sp, #0] + 80132a8: 4b3b ldr r3, [pc, #236] ; (8013398 ) + 80132aa: 4602 mov r2, r0 + 80132ac: 6878 ldr r0, [r7, #4] + 80132ae: f002 fbdf bl 8015a70 } } else if ((flags & TCP_SYN) && (seqno == pcb->rcv_nxt - 1)) { /* Looks like another copy of the SYN - retransmit our SYN-ACK */ tcp_rexmit(pcb); } break; - 8013722: e167 b.n 80139f4 + 80132b2: e167 b.n 8013584 } else if ((flags & TCP_SYN) && (seqno == pcb->rcv_nxt - 1)) { - 8013724: 4b32 ldr r3, [pc, #200] ; (80137f0 ) - 8013726: 781b ldrb r3, [r3, #0] - 8013728: f003 0302 and.w r3, r3, #2 - 801372c: 2b00 cmp r3, #0 - 801372e: f000 8161 beq.w 80139f4 - 8013732: 687b ldr r3, [r7, #4] - 8013734: 6a5b ldr r3, [r3, #36] ; 0x24 - 8013736: 1e5a subs r2, r3, #1 - 8013738: 4b30 ldr r3, [pc, #192] ; (80137fc ) - 801373a: 681b ldr r3, [r3, #0] - 801373c: 429a cmp r2, r3 - 801373e: f040 8159 bne.w 80139f4 + 80132b4: 4b32 ldr r3, [pc, #200] ; (8013380 ) + 80132b6: 781b ldrb r3, [r3, #0] + 80132b8: f003 0302 and.w r3, r3, #2 + 80132bc: 2b00 cmp r3, #0 + 80132be: f000 8161 beq.w 8013584 + 80132c2: 687b ldr r3, [r7, #4] + 80132c4: 6a5b ldr r3, [r3, #36] ; 0x24 + 80132c6: 1e5a subs r2, r3, #1 + 80132c8: 4b30 ldr r3, [pc, #192] ; (801338c ) + 80132ca: 681b ldr r3, [r3, #0] + 80132cc: 429a cmp r2, r3 + 80132ce: f040 8159 bne.w 8013584 tcp_rexmit(pcb); - 8013742: 6878 ldr r0, [r7, #4] - 8013744: f002 f9b8 bl 8015ab8 + 80132d2: 6878 ldr r0, [r7, #4] + 80132d4: f002 f9b8 bl 8015648 break; - 8013748: e154 b.n 80139f4 - 801374a: e153 b.n 80139f4 + 80132d8: e154 b.n 8013584 + 80132da: e153 b.n 8013584 case CLOSE_WAIT: /* FALLTHROUGH */ case ESTABLISHED: tcp_receive(pcb); - 801374c: 6878 ldr r0, [r7, #4] - 801374e: f000 fa71 bl 8013c34 + 80132dc: 6878 ldr r0, [r7, #4] + 80132de: f000 fa71 bl 80137c4 if (recv_flags & TF_GOT_FIN) { /* passive close */ - 8013752: 4b32 ldr r3, [pc, #200] ; (801381c ) - 8013754: 781b ldrb r3, [r3, #0] - 8013756: f003 0320 and.w r3, r3, #32 - 801375a: 2b00 cmp r3, #0 - 801375c: f000 814c beq.w 80139f8 + 80132e2: 4b32 ldr r3, [pc, #200] ; (80133ac ) + 80132e4: 781b ldrb r3, [r3, #0] + 80132e6: f003 0320 and.w r3, r3, #32 + 80132ea: 2b00 cmp r3, #0 + 80132ec: f000 814c beq.w 8013588 tcp_ack_now(pcb); - 8013760: 687b ldr r3, [r7, #4] - 8013762: 8b5b ldrh r3, [r3, #26] - 8013764: f043 0302 orr.w r3, r3, #2 - 8013768: b29a uxth r2, r3 - 801376a: 687b ldr r3, [r7, #4] - 801376c: 835a strh r2, [r3, #26] + 80132f0: 687b ldr r3, [r7, #4] + 80132f2: 8b5b ldrh r3, [r3, #26] + 80132f4: f043 0302 orr.w r3, r3, #2 + 80132f8: b29a uxth r2, r3 + 80132fa: 687b ldr r3, [r7, #4] + 80132fc: 835a strh r2, [r3, #26] pcb->state = CLOSE_WAIT; - 801376e: 687b ldr r3, [r7, #4] - 8013770: 2207 movs r2, #7 - 8013772: 751a strb r2, [r3, #20] + 80132fe: 687b ldr r3, [r7, #4] + 8013300: 2207 movs r2, #7 + 8013302: 751a strb r2, [r3, #20] } break; - 8013774: e140 b.n 80139f8 + 8013304: e140 b.n 8013588 case FIN_WAIT_1: tcp_receive(pcb); - 8013776: 6878 ldr r0, [r7, #4] - 8013778: f000 fa5c bl 8013c34 + 8013306: 6878 ldr r0, [r7, #4] + 8013308: f000 fa5c bl 80137c4 if (recv_flags & TF_GOT_FIN) { - 801377c: 4b27 ldr r3, [pc, #156] ; (801381c ) - 801377e: 781b ldrb r3, [r3, #0] - 8013780: f003 0320 and.w r3, r3, #32 - 8013784: 2b00 cmp r3, #0 - 8013786: d071 beq.n 801386c + 801330c: 4b27 ldr r3, [pc, #156] ; (80133ac ) + 801330e: 781b ldrb r3, [r3, #0] + 8013310: f003 0320 and.w r3, r3, #32 + 8013314: 2b00 cmp r3, #0 + 8013316: d071 beq.n 80133fc if ((flags & TCP_ACK) && (ackno == pcb->snd_nxt) && - 8013788: 4b19 ldr r3, [pc, #100] ; (80137f0 ) - 801378a: 781b ldrb r3, [r3, #0] - 801378c: f003 0310 and.w r3, r3, #16 - 8013790: 2b00 cmp r3, #0 - 8013792: d060 beq.n 8013856 - 8013794: 687b ldr r3, [r7, #4] - 8013796: 6d1a ldr r2, [r3, #80] ; 0x50 - 8013798: 4b16 ldr r3, [pc, #88] ; (80137f4 ) - 801379a: 681b ldr r3, [r3, #0] - 801379c: 429a cmp r2, r3 - 801379e: d15a bne.n 8013856 + 8013318: 4b19 ldr r3, [pc, #100] ; (8013380 ) + 801331a: 781b ldrb r3, [r3, #0] + 801331c: f003 0310 and.w r3, r3, #16 + 8013320: 2b00 cmp r3, #0 + 8013322: d060 beq.n 80133e6 + 8013324: 687b ldr r3, [r7, #4] + 8013326: 6d1a ldr r2, [r3, #80] ; 0x50 + 8013328: 4b16 ldr r3, [pc, #88] ; (8013384 ) + 801332a: 681b ldr r3, [r3, #0] + 801332c: 429a cmp r2, r3 + 801332e: d15a bne.n 80133e6 pcb->unsent == NULL) { - 80137a0: 687b ldr r3, [r7, #4] - 80137a2: 6edb ldr r3, [r3, #108] ; 0x6c + 8013330: 687b ldr r3, [r7, #4] + 8013332: 6edb ldr r3, [r3, #108] ; 0x6c if ((flags & TCP_ACK) && (ackno == pcb->snd_nxt) && - 80137a4: 2b00 cmp r3, #0 - 80137a6: d156 bne.n 8013856 + 8013334: 2b00 cmp r3, #0 + 8013336: d156 bne.n 80133e6 LWIP_DEBUGF(TCP_DEBUG, ("TCP connection closed: FIN_WAIT_1 %"U16_F" -> %"U16_F".\n", inseg.tcphdr->src, inseg.tcphdr->dest)); tcp_ack_now(pcb); - 80137a8: 687b ldr r3, [r7, #4] - 80137aa: 8b5b ldrh r3, [r3, #26] - 80137ac: f043 0302 orr.w r3, r3, #2 - 80137b0: b29a uxth r2, r3 - 80137b2: 687b ldr r3, [r7, #4] - 80137b4: 835a strh r2, [r3, #26] + 8013338: 687b ldr r3, [r7, #4] + 801333a: 8b5b ldrh r3, [r3, #26] + 801333c: f043 0302 orr.w r3, r3, #2 + 8013340: b29a uxth r2, r3 + 8013342: 687b ldr r3, [r7, #4] + 8013344: 835a strh r2, [r3, #26] tcp_pcb_purge(pcb); - 80137b6: 6878 ldr r0, [r7, #4] - 80137b8: f7fe fdbe bl 8012338 + 8013346: 6878 ldr r0, [r7, #4] + 8013348: f7fe fdbe bl 8011ec8 TCP_RMV_ACTIVE(pcb); - 80137bc: 4b18 ldr r3, [pc, #96] ; (8013820 ) - 80137be: 681b ldr r3, [r3, #0] - 80137c0: 687a ldr r2, [r7, #4] - 80137c2: 429a cmp r2, r3 - 80137c4: d105 bne.n 80137d2 - 80137c6: 4b16 ldr r3, [pc, #88] ; (8013820 ) - 80137c8: 681b ldr r3, [r3, #0] - 80137ca: 68db ldr r3, [r3, #12] - 80137cc: 4a14 ldr r2, [pc, #80] ; (8013820 ) - 80137ce: 6013 str r3, [r2, #0] - 80137d0: e02e b.n 8013830 - 80137d2: 4b13 ldr r3, [pc, #76] ; (8013820 ) - 80137d4: 681b ldr r3, [r3, #0] - 80137d6: 617b str r3, [r7, #20] - 80137d8: e027 b.n 801382a - 80137da: 697b ldr r3, [r7, #20] - 80137dc: 68db ldr r3, [r3, #12] - 80137de: 687a ldr r2, [r7, #4] - 80137e0: 429a cmp r2, r3 - 80137e2: d11f bne.n 8013824 - 80137e4: 687b ldr r3, [r7, #4] - 80137e6: 68da ldr r2, [r3, #12] - 80137e8: 697b ldr r3, [r7, #20] - 80137ea: 60da str r2, [r3, #12] - 80137ec: e020 b.n 8013830 - 80137ee: bf00 nop - 80137f0: 20008758 .word 0x20008758 - 80137f4: 20008750 .word 0x20008750 - 80137f8: 20008756 .word 0x20008756 - 80137fc: 2000874c .word 0x2000874c - 8013800: 2000873c .word 0x2000873c - 8013804: 2000bea0 .word 0x2000bea0 - 8013808: 2000bea4 .word 0x2000bea4 - 801380c: 0801dab4 .word 0x0801dab4 - 8013810: 0801dd54 .word 0x0801dd54 - 8013814: 0801db00 .word 0x0801db00 - 8013818: 20008754 .word 0x20008754 - 801381c: 20008759 .word 0x20008759 - 8013820: 2000f5c4 .word 0x2000f5c4 - 8013824: 697b ldr r3, [r7, #20] - 8013826: 68db ldr r3, [r3, #12] - 8013828: 617b str r3, [r7, #20] - 801382a: 697b ldr r3, [r7, #20] - 801382c: 2b00 cmp r3, #0 - 801382e: d1d4 bne.n 80137da - 8013830: 687b ldr r3, [r7, #4] - 8013832: 2200 movs r2, #0 - 8013834: 60da str r2, [r3, #12] - 8013836: 4b77 ldr r3, [pc, #476] ; (8013a14 ) - 8013838: 2201 movs r2, #1 - 801383a: 701a strb r2, [r3, #0] + 801334c: 4b18 ldr r3, [pc, #96] ; (80133b0 ) + 801334e: 681b ldr r3, [r3, #0] + 8013350: 687a ldr r2, [r7, #4] + 8013352: 429a cmp r2, r3 + 8013354: d105 bne.n 8013362 + 8013356: 4b16 ldr r3, [pc, #88] ; (80133b0 ) + 8013358: 681b ldr r3, [r3, #0] + 801335a: 68db ldr r3, [r3, #12] + 801335c: 4a14 ldr r2, [pc, #80] ; (80133b0 ) + 801335e: 6013 str r3, [r2, #0] + 8013360: e02e b.n 80133c0 + 8013362: 4b13 ldr r3, [pc, #76] ; (80133b0 ) + 8013364: 681b ldr r3, [r3, #0] + 8013366: 617b str r3, [r7, #20] + 8013368: e027 b.n 80133ba + 801336a: 697b ldr r3, [r7, #20] + 801336c: 68db ldr r3, [r3, #12] + 801336e: 687a ldr r2, [r7, #4] + 8013370: 429a cmp r2, r3 + 8013372: d11f bne.n 80133b4 + 8013374: 687b ldr r3, [r7, #4] + 8013376: 68da ldr r2, [r3, #12] + 8013378: 697b ldr r3, [r7, #20] + 801337a: 60da str r2, [r3, #12] + 801337c: e020 b.n 80133c0 + 801337e: bf00 nop + 8013380: 20008758 .word 0x20008758 + 8013384: 20008750 .word 0x20008750 + 8013388: 20008756 .word 0x20008756 + 801338c: 2000874c .word 0x2000874c + 8013390: 2000873c .word 0x2000873c + 8013394: 2000be9c .word 0x2000be9c + 8013398: 2000bea0 .word 0x2000bea0 + 801339c: 0801d2b0 .word 0x0801d2b0 + 80133a0: 0801d550 .word 0x0801d550 + 80133a4: 0801d2fc .word 0x0801d2fc + 80133a8: 20008754 .word 0x20008754 + 80133ac: 20008759 .word 0x20008759 + 80133b0: 2000f5c0 .word 0x2000f5c0 + 80133b4: 697b ldr r3, [r7, #20] + 80133b6: 68db ldr r3, [r3, #12] + 80133b8: 617b str r3, [r7, #20] + 80133ba: 697b ldr r3, [r7, #20] + 80133bc: 2b00 cmp r3, #0 + 80133be: d1d4 bne.n 801336a + 80133c0: 687b ldr r3, [r7, #4] + 80133c2: 2200 movs r2, #0 + 80133c4: 60da str r2, [r3, #12] + 80133c6: 4b77 ldr r3, [pc, #476] ; (80135a4 ) + 80133c8: 2201 movs r2, #1 + 80133ca: 701a strb r2, [r3, #0] pcb->state = TIME_WAIT; - 801383c: 687b ldr r3, [r7, #4] - 801383e: 220a movs r2, #10 - 8013840: 751a strb r2, [r3, #20] + 80133cc: 687b ldr r3, [r7, #4] + 80133ce: 220a movs r2, #10 + 80133d0: 751a strb r2, [r3, #20] TCP_REG(&tcp_tw_pcbs, pcb); - 8013842: 4b75 ldr r3, [pc, #468] ; (8013a18 ) - 8013844: 681a ldr r2, [r3, #0] - 8013846: 687b ldr r3, [r7, #4] - 8013848: 60da str r2, [r3, #12] - 801384a: 4a73 ldr r2, [pc, #460] ; (8013a18 ) - 801384c: 687b ldr r3, [r7, #4] - 801384e: 6013 str r3, [r2, #0] - 8013850: f002 fd08 bl 8016264 + 80133d2: 4b75 ldr r3, [pc, #468] ; (80135a8 ) + 80133d4: 681a ldr r2, [r3, #0] + 80133d6: 687b ldr r3, [r7, #4] + 80133d8: 60da str r2, [r3, #12] + 80133da: 4a73 ldr r2, [pc, #460] ; (80135a8 ) + 80133dc: 687b ldr r3, [r7, #4] + 80133de: 6013 str r3, [r2, #0] + 80133e0: f002 fd08 bl 8015df4 } } else if ((flags & TCP_ACK) && (ackno == pcb->snd_nxt) && pcb->unsent == NULL) { pcb->state = FIN_WAIT_2; } break; - 8013854: e0d2 b.n 80139fc + 80133e4: e0d2 b.n 801358c tcp_ack_now(pcb); - 8013856: 687b ldr r3, [r7, #4] - 8013858: 8b5b ldrh r3, [r3, #26] - 801385a: f043 0302 orr.w r3, r3, #2 - 801385e: b29a uxth r2, r3 - 8013860: 687b ldr r3, [r7, #4] - 8013862: 835a strh r2, [r3, #26] + 80133e6: 687b ldr r3, [r7, #4] + 80133e8: 8b5b ldrh r3, [r3, #26] + 80133ea: f043 0302 orr.w r3, r3, #2 + 80133ee: b29a uxth r2, r3 + 80133f0: 687b ldr r3, [r7, #4] + 80133f2: 835a strh r2, [r3, #26] pcb->state = CLOSING; - 8013864: 687b ldr r3, [r7, #4] - 8013866: 2208 movs r2, #8 - 8013868: 751a strb r2, [r3, #20] + 80133f4: 687b ldr r3, [r7, #4] + 80133f6: 2208 movs r2, #8 + 80133f8: 751a strb r2, [r3, #20] break; - 801386a: e0c7 b.n 80139fc + 80133fa: e0c7 b.n 801358c } else if ((flags & TCP_ACK) && (ackno == pcb->snd_nxt) && - 801386c: 4b6b ldr r3, [pc, #428] ; (8013a1c ) - 801386e: 781b ldrb r3, [r3, #0] - 8013870: f003 0310 and.w r3, r3, #16 - 8013874: 2b00 cmp r3, #0 - 8013876: f000 80c1 beq.w 80139fc - 801387a: 687b ldr r3, [r7, #4] - 801387c: 6d1a ldr r2, [r3, #80] ; 0x50 - 801387e: 4b68 ldr r3, [pc, #416] ; (8013a20 ) - 8013880: 681b ldr r3, [r3, #0] - 8013882: 429a cmp r2, r3 - 8013884: f040 80ba bne.w 80139fc + 80133fc: 4b6b ldr r3, [pc, #428] ; (80135ac ) + 80133fe: 781b ldrb r3, [r3, #0] + 8013400: f003 0310 and.w r3, r3, #16 + 8013404: 2b00 cmp r3, #0 + 8013406: f000 80c1 beq.w 801358c + 801340a: 687b ldr r3, [r7, #4] + 801340c: 6d1a ldr r2, [r3, #80] ; 0x50 + 801340e: 4b68 ldr r3, [pc, #416] ; (80135b0 ) + 8013410: 681b ldr r3, [r3, #0] + 8013412: 429a cmp r2, r3 + 8013414: f040 80ba bne.w 801358c pcb->unsent == NULL) { - 8013888: 687b ldr r3, [r7, #4] - 801388a: 6edb ldr r3, [r3, #108] ; 0x6c + 8013418: 687b ldr r3, [r7, #4] + 801341a: 6edb ldr r3, [r3, #108] ; 0x6c } else if ((flags & TCP_ACK) && (ackno == pcb->snd_nxt) && - 801388c: 2b00 cmp r3, #0 - 801388e: f040 80b5 bne.w 80139fc + 801341c: 2b00 cmp r3, #0 + 801341e: f040 80b5 bne.w 801358c pcb->state = FIN_WAIT_2; - 8013892: 687b ldr r3, [r7, #4] - 8013894: 2206 movs r2, #6 - 8013896: 751a strb r2, [r3, #20] + 8013422: 687b ldr r3, [r7, #4] + 8013424: 2206 movs r2, #6 + 8013426: 751a strb r2, [r3, #20] break; - 8013898: e0b0 b.n 80139fc + 8013428: e0b0 b.n 801358c case FIN_WAIT_2: tcp_receive(pcb); - 801389a: 6878 ldr r0, [r7, #4] - 801389c: f000 f9ca bl 8013c34 + 801342a: 6878 ldr r0, [r7, #4] + 801342c: f000 f9ca bl 80137c4 if (recv_flags & TF_GOT_FIN) { - 80138a0: 4b60 ldr r3, [pc, #384] ; (8013a24 ) - 80138a2: 781b ldrb r3, [r3, #0] - 80138a4: f003 0320 and.w r3, r3, #32 - 80138a8: 2b00 cmp r3, #0 - 80138aa: f000 80a9 beq.w 8013a00 + 8013430: 4b60 ldr r3, [pc, #384] ; (80135b4 ) + 8013432: 781b ldrb r3, [r3, #0] + 8013434: f003 0320 and.w r3, r3, #32 + 8013438: 2b00 cmp r3, #0 + 801343a: f000 80a9 beq.w 8013590 LWIP_DEBUGF(TCP_DEBUG, ("TCP connection closed: FIN_WAIT_2 %"U16_F" -> %"U16_F".\n", inseg.tcphdr->src, inseg.tcphdr->dest)); tcp_ack_now(pcb); - 80138ae: 687b ldr r3, [r7, #4] - 80138b0: 8b5b ldrh r3, [r3, #26] - 80138b2: f043 0302 orr.w r3, r3, #2 - 80138b6: b29a uxth r2, r3 - 80138b8: 687b ldr r3, [r7, #4] - 80138ba: 835a strh r2, [r3, #26] + 801343e: 687b ldr r3, [r7, #4] + 8013440: 8b5b ldrh r3, [r3, #26] + 8013442: f043 0302 orr.w r3, r3, #2 + 8013446: b29a uxth r2, r3 + 8013448: 687b ldr r3, [r7, #4] + 801344a: 835a strh r2, [r3, #26] tcp_pcb_purge(pcb); - 80138bc: 6878 ldr r0, [r7, #4] - 80138be: f7fe fd3b bl 8012338 + 801344c: 6878 ldr r0, [r7, #4] + 801344e: f7fe fd3b bl 8011ec8 TCP_RMV_ACTIVE(pcb); - 80138c2: 4b59 ldr r3, [pc, #356] ; (8013a28 ) - 80138c4: 681b ldr r3, [r3, #0] - 80138c6: 687a ldr r2, [r7, #4] - 80138c8: 429a cmp r2, r3 - 80138ca: d105 bne.n 80138d8 - 80138cc: 4b56 ldr r3, [pc, #344] ; (8013a28 ) - 80138ce: 681b ldr r3, [r3, #0] - 80138d0: 68db ldr r3, [r3, #12] - 80138d2: 4a55 ldr r2, [pc, #340] ; (8013a28 ) - 80138d4: 6013 str r3, [r2, #0] - 80138d6: e013 b.n 8013900 - 80138d8: 4b53 ldr r3, [pc, #332] ; (8013a28 ) - 80138da: 681b ldr r3, [r3, #0] - 80138dc: 613b str r3, [r7, #16] - 80138de: e00c b.n 80138fa - 80138e0: 693b ldr r3, [r7, #16] - 80138e2: 68db ldr r3, [r3, #12] - 80138e4: 687a ldr r2, [r7, #4] - 80138e6: 429a cmp r2, r3 - 80138e8: d104 bne.n 80138f4 - 80138ea: 687b ldr r3, [r7, #4] - 80138ec: 68da ldr r2, [r3, #12] - 80138ee: 693b ldr r3, [r7, #16] - 80138f0: 60da str r2, [r3, #12] - 80138f2: e005 b.n 8013900 - 80138f4: 693b ldr r3, [r7, #16] - 80138f6: 68db ldr r3, [r3, #12] - 80138f8: 613b str r3, [r7, #16] - 80138fa: 693b ldr r3, [r7, #16] - 80138fc: 2b00 cmp r3, #0 - 80138fe: d1ef bne.n 80138e0 - 8013900: 687b ldr r3, [r7, #4] - 8013902: 2200 movs r2, #0 - 8013904: 60da str r2, [r3, #12] - 8013906: 4b43 ldr r3, [pc, #268] ; (8013a14 ) - 8013908: 2201 movs r2, #1 - 801390a: 701a strb r2, [r3, #0] + 8013452: 4b59 ldr r3, [pc, #356] ; (80135b8 ) + 8013454: 681b ldr r3, [r3, #0] + 8013456: 687a ldr r2, [r7, #4] + 8013458: 429a cmp r2, r3 + 801345a: d105 bne.n 8013468 + 801345c: 4b56 ldr r3, [pc, #344] ; (80135b8 ) + 801345e: 681b ldr r3, [r3, #0] + 8013460: 68db ldr r3, [r3, #12] + 8013462: 4a55 ldr r2, [pc, #340] ; (80135b8 ) + 8013464: 6013 str r3, [r2, #0] + 8013466: e013 b.n 8013490 + 8013468: 4b53 ldr r3, [pc, #332] ; (80135b8 ) + 801346a: 681b ldr r3, [r3, #0] + 801346c: 613b str r3, [r7, #16] + 801346e: e00c b.n 801348a + 8013470: 693b ldr r3, [r7, #16] + 8013472: 68db ldr r3, [r3, #12] + 8013474: 687a ldr r2, [r7, #4] + 8013476: 429a cmp r2, r3 + 8013478: d104 bne.n 8013484 + 801347a: 687b ldr r3, [r7, #4] + 801347c: 68da ldr r2, [r3, #12] + 801347e: 693b ldr r3, [r7, #16] + 8013480: 60da str r2, [r3, #12] + 8013482: e005 b.n 8013490 + 8013484: 693b ldr r3, [r7, #16] + 8013486: 68db ldr r3, [r3, #12] + 8013488: 613b str r3, [r7, #16] + 801348a: 693b ldr r3, [r7, #16] + 801348c: 2b00 cmp r3, #0 + 801348e: d1ef bne.n 8013470 + 8013490: 687b ldr r3, [r7, #4] + 8013492: 2200 movs r2, #0 + 8013494: 60da str r2, [r3, #12] + 8013496: 4b43 ldr r3, [pc, #268] ; (80135a4 ) + 8013498: 2201 movs r2, #1 + 801349a: 701a strb r2, [r3, #0] pcb->state = TIME_WAIT; - 801390c: 687b ldr r3, [r7, #4] - 801390e: 220a movs r2, #10 - 8013910: 751a strb r2, [r3, #20] + 801349c: 687b ldr r3, [r7, #4] + 801349e: 220a movs r2, #10 + 80134a0: 751a strb r2, [r3, #20] TCP_REG(&tcp_tw_pcbs, pcb); - 8013912: 4b41 ldr r3, [pc, #260] ; (8013a18 ) - 8013914: 681a ldr r2, [r3, #0] - 8013916: 687b ldr r3, [r7, #4] - 8013918: 60da str r2, [r3, #12] - 801391a: 4a3f ldr r2, [pc, #252] ; (8013a18 ) - 801391c: 687b ldr r3, [r7, #4] - 801391e: 6013 str r3, [r2, #0] - 8013920: f002 fca0 bl 8016264 + 80134a2: 4b41 ldr r3, [pc, #260] ; (80135a8 ) + 80134a4: 681a ldr r2, [r3, #0] + 80134a6: 687b ldr r3, [r7, #4] + 80134a8: 60da str r2, [r3, #12] + 80134aa: 4a3f ldr r2, [pc, #252] ; (80135a8 ) + 80134ac: 687b ldr r3, [r7, #4] + 80134ae: 6013 str r3, [r2, #0] + 80134b0: f002 fca0 bl 8015df4 } break; - 8013924: e06c b.n 8013a00 + 80134b4: e06c b.n 8013590 case CLOSING: tcp_receive(pcb); - 8013926: 6878 ldr r0, [r7, #4] - 8013928: f000 f984 bl 8013c34 + 80134b6: 6878 ldr r0, [r7, #4] + 80134b8: f000 f984 bl 80137c4 if ((flags & TCP_ACK) && ackno == pcb->snd_nxt && pcb->unsent == NULL) { - 801392c: 4b3b ldr r3, [pc, #236] ; (8013a1c ) - 801392e: 781b ldrb r3, [r3, #0] - 8013930: f003 0310 and.w r3, r3, #16 - 8013934: 2b00 cmp r3, #0 - 8013936: d065 beq.n 8013a04 - 8013938: 687b ldr r3, [r7, #4] - 801393a: 6d1a ldr r2, [r3, #80] ; 0x50 - 801393c: 4b38 ldr r3, [pc, #224] ; (8013a20 ) - 801393e: 681b ldr r3, [r3, #0] - 8013940: 429a cmp r2, r3 - 8013942: d15f bne.n 8013a04 - 8013944: 687b ldr r3, [r7, #4] - 8013946: 6edb ldr r3, [r3, #108] ; 0x6c - 8013948: 2b00 cmp r3, #0 - 801394a: d15b bne.n 8013a04 + 80134bc: 4b3b ldr r3, [pc, #236] ; (80135ac ) + 80134be: 781b ldrb r3, [r3, #0] + 80134c0: f003 0310 and.w r3, r3, #16 + 80134c4: 2b00 cmp r3, #0 + 80134c6: d065 beq.n 8013594 + 80134c8: 687b ldr r3, [r7, #4] + 80134ca: 6d1a ldr r2, [r3, #80] ; 0x50 + 80134cc: 4b38 ldr r3, [pc, #224] ; (80135b0 ) + 80134ce: 681b ldr r3, [r3, #0] + 80134d0: 429a cmp r2, r3 + 80134d2: d15f bne.n 8013594 + 80134d4: 687b ldr r3, [r7, #4] + 80134d6: 6edb ldr r3, [r3, #108] ; 0x6c + 80134d8: 2b00 cmp r3, #0 + 80134da: d15b bne.n 8013594 LWIP_DEBUGF(TCP_DEBUG, ("TCP connection closed: CLOSING %"U16_F" -> %"U16_F".\n", inseg.tcphdr->src, inseg.tcphdr->dest)); tcp_pcb_purge(pcb); - 801394c: 6878 ldr r0, [r7, #4] - 801394e: f7fe fcf3 bl 8012338 + 80134dc: 6878 ldr r0, [r7, #4] + 80134de: f7fe fcf3 bl 8011ec8 TCP_RMV_ACTIVE(pcb); - 8013952: 4b35 ldr r3, [pc, #212] ; (8013a28 ) - 8013954: 681b ldr r3, [r3, #0] - 8013956: 687a ldr r2, [r7, #4] - 8013958: 429a cmp r2, r3 - 801395a: d105 bne.n 8013968 - 801395c: 4b32 ldr r3, [pc, #200] ; (8013a28 ) - 801395e: 681b ldr r3, [r3, #0] - 8013960: 68db ldr r3, [r3, #12] - 8013962: 4a31 ldr r2, [pc, #196] ; (8013a28 ) - 8013964: 6013 str r3, [r2, #0] - 8013966: e013 b.n 8013990 - 8013968: 4b2f ldr r3, [pc, #188] ; (8013a28 ) - 801396a: 681b ldr r3, [r3, #0] - 801396c: 60fb str r3, [r7, #12] - 801396e: e00c b.n 801398a - 8013970: 68fb ldr r3, [r7, #12] - 8013972: 68db ldr r3, [r3, #12] - 8013974: 687a ldr r2, [r7, #4] - 8013976: 429a cmp r2, r3 - 8013978: d104 bne.n 8013984 - 801397a: 687b ldr r3, [r7, #4] - 801397c: 68da ldr r2, [r3, #12] - 801397e: 68fb ldr r3, [r7, #12] - 8013980: 60da str r2, [r3, #12] - 8013982: e005 b.n 8013990 - 8013984: 68fb ldr r3, [r7, #12] - 8013986: 68db ldr r3, [r3, #12] - 8013988: 60fb str r3, [r7, #12] - 801398a: 68fb ldr r3, [r7, #12] - 801398c: 2b00 cmp r3, #0 - 801398e: d1ef bne.n 8013970 - 8013990: 687b ldr r3, [r7, #4] - 8013992: 2200 movs r2, #0 - 8013994: 60da str r2, [r3, #12] - 8013996: 4b1f ldr r3, [pc, #124] ; (8013a14 ) - 8013998: 2201 movs r2, #1 - 801399a: 701a strb r2, [r3, #0] + 80134e2: 4b35 ldr r3, [pc, #212] ; (80135b8 ) + 80134e4: 681b ldr r3, [r3, #0] + 80134e6: 687a ldr r2, [r7, #4] + 80134e8: 429a cmp r2, r3 + 80134ea: d105 bne.n 80134f8 + 80134ec: 4b32 ldr r3, [pc, #200] ; (80135b8 ) + 80134ee: 681b ldr r3, [r3, #0] + 80134f0: 68db ldr r3, [r3, #12] + 80134f2: 4a31 ldr r2, [pc, #196] ; (80135b8 ) + 80134f4: 6013 str r3, [r2, #0] + 80134f6: e013 b.n 8013520 + 80134f8: 4b2f ldr r3, [pc, #188] ; (80135b8 ) + 80134fa: 681b ldr r3, [r3, #0] + 80134fc: 60fb str r3, [r7, #12] + 80134fe: e00c b.n 801351a + 8013500: 68fb ldr r3, [r7, #12] + 8013502: 68db ldr r3, [r3, #12] + 8013504: 687a ldr r2, [r7, #4] + 8013506: 429a cmp r2, r3 + 8013508: d104 bne.n 8013514 + 801350a: 687b ldr r3, [r7, #4] + 801350c: 68da ldr r2, [r3, #12] + 801350e: 68fb ldr r3, [r7, #12] + 8013510: 60da str r2, [r3, #12] + 8013512: e005 b.n 8013520 + 8013514: 68fb ldr r3, [r7, #12] + 8013516: 68db ldr r3, [r3, #12] + 8013518: 60fb str r3, [r7, #12] + 801351a: 68fb ldr r3, [r7, #12] + 801351c: 2b00 cmp r3, #0 + 801351e: d1ef bne.n 8013500 + 8013520: 687b ldr r3, [r7, #4] + 8013522: 2200 movs r2, #0 + 8013524: 60da str r2, [r3, #12] + 8013526: 4b1f ldr r3, [pc, #124] ; (80135a4 ) + 8013528: 2201 movs r2, #1 + 801352a: 701a strb r2, [r3, #0] pcb->state = TIME_WAIT; - 801399c: 687b ldr r3, [r7, #4] - 801399e: 220a movs r2, #10 - 80139a0: 751a strb r2, [r3, #20] + 801352c: 687b ldr r3, [r7, #4] + 801352e: 220a movs r2, #10 + 8013530: 751a strb r2, [r3, #20] TCP_REG(&tcp_tw_pcbs, pcb); - 80139a2: 4b1d ldr r3, [pc, #116] ; (8013a18 ) - 80139a4: 681a ldr r2, [r3, #0] - 80139a6: 687b ldr r3, [r7, #4] - 80139a8: 60da str r2, [r3, #12] - 80139aa: 4a1b ldr r2, [pc, #108] ; (8013a18 ) - 80139ac: 687b ldr r3, [r7, #4] - 80139ae: 6013 str r3, [r2, #0] - 80139b0: f002 fc58 bl 8016264 + 8013532: 4b1d ldr r3, [pc, #116] ; (80135a8 ) + 8013534: 681a ldr r2, [r3, #0] + 8013536: 687b ldr r3, [r7, #4] + 8013538: 60da str r2, [r3, #12] + 801353a: 4a1b ldr r2, [pc, #108] ; (80135a8 ) + 801353c: 687b ldr r3, [r7, #4] + 801353e: 6013 str r3, [r2, #0] + 8013540: f002 fc58 bl 8015df4 } break; - 80139b4: e026 b.n 8013a04 + 8013544: e026 b.n 8013594 case LAST_ACK: tcp_receive(pcb); - 80139b6: 6878 ldr r0, [r7, #4] - 80139b8: f000 f93c bl 8013c34 + 8013546: 6878 ldr r0, [r7, #4] + 8013548: f000 f93c bl 80137c4 if ((flags & TCP_ACK) && ackno == pcb->snd_nxt && pcb->unsent == NULL) { - 80139bc: 4b17 ldr r3, [pc, #92] ; (8013a1c ) - 80139be: 781b ldrb r3, [r3, #0] - 80139c0: f003 0310 and.w r3, r3, #16 - 80139c4: 2b00 cmp r3, #0 - 80139c6: d01f beq.n 8013a08 - 80139c8: 687b ldr r3, [r7, #4] - 80139ca: 6d1a ldr r2, [r3, #80] ; 0x50 - 80139cc: 4b14 ldr r3, [pc, #80] ; (8013a20 ) - 80139ce: 681b ldr r3, [r3, #0] - 80139d0: 429a cmp r2, r3 - 80139d2: d119 bne.n 8013a08 - 80139d4: 687b ldr r3, [r7, #4] - 80139d6: 6edb ldr r3, [r3, #108] ; 0x6c - 80139d8: 2b00 cmp r3, #0 - 80139da: d115 bne.n 8013a08 + 801354c: 4b17 ldr r3, [pc, #92] ; (80135ac ) + 801354e: 781b ldrb r3, [r3, #0] + 8013550: f003 0310 and.w r3, r3, #16 + 8013554: 2b00 cmp r3, #0 + 8013556: d01f beq.n 8013598 + 8013558: 687b ldr r3, [r7, #4] + 801355a: 6d1a ldr r2, [r3, #80] ; 0x50 + 801355c: 4b14 ldr r3, [pc, #80] ; (80135b0 ) + 801355e: 681b ldr r3, [r3, #0] + 8013560: 429a cmp r2, r3 + 8013562: d119 bne.n 8013598 + 8013564: 687b ldr r3, [r7, #4] + 8013566: 6edb ldr r3, [r3, #108] ; 0x6c + 8013568: 2b00 cmp r3, #0 + 801356a: d115 bne.n 8013598 LWIP_DEBUGF(TCP_DEBUG, ("TCP connection closed: LAST_ACK %"U16_F" -> %"U16_F".\n", inseg.tcphdr->src, inseg.tcphdr->dest)); /* bugfix #21699: don't set pcb->state to CLOSED here or we risk leaking segments */ recv_flags |= TF_CLOSED; - 80139dc: 4b11 ldr r3, [pc, #68] ; (8013a24 ) - 80139de: 781b ldrb r3, [r3, #0] - 80139e0: f043 0310 orr.w r3, r3, #16 - 80139e4: b2da uxtb r2, r3 - 80139e6: 4b0f ldr r3, [pc, #60] ; (8013a24 ) - 80139e8: 701a strb r2, [r3, #0] + 801356c: 4b11 ldr r3, [pc, #68] ; (80135b4 ) + 801356e: 781b ldrb r3, [r3, #0] + 8013570: f043 0310 orr.w r3, r3, #16 + 8013574: b2da uxtb r2, r3 + 8013576: 4b0f ldr r3, [pc, #60] ; (80135b4 ) + 8013578: 701a strb r2, [r3, #0] } break; - 80139ea: e00d b.n 8013a08 + 801357a: e00d b.n 8013598 default: break; - 80139ec: bf00 nop - 80139ee: e00c b.n 8013a0a + 801357c: bf00 nop + 801357e: e00c b.n 801359a break; - 80139f0: bf00 nop - 80139f2: e00a b.n 8013a0a + 8013580: bf00 nop + 8013582: e00a b.n 801359a break; - 80139f4: bf00 nop - 80139f6: e008 b.n 8013a0a + 8013584: bf00 nop + 8013586: e008 b.n 801359a break; - 80139f8: bf00 nop - 80139fa: e006 b.n 8013a0a + 8013588: bf00 nop + 801358a: e006 b.n 801359a break; - 80139fc: bf00 nop - 80139fe: e004 b.n 8013a0a + 801358c: bf00 nop + 801358e: e004 b.n 801359a break; - 8013a00: bf00 nop - 8013a02: e002 b.n 8013a0a + 8013590: bf00 nop + 8013592: e002 b.n 801359a break; - 8013a04: bf00 nop - 8013a06: e000 b.n 8013a0a + 8013594: bf00 nop + 8013596: e000 b.n 801359a break; - 8013a08: bf00 nop + 8013598: bf00 nop } return ERR_OK; - 8013a0a: 2300 movs r3, #0 + 801359a: 2300 movs r3, #0 } - 8013a0c: 4618 mov r0, r3 - 8013a0e: 3724 adds r7, #36 ; 0x24 - 8013a10: 46bd mov sp, r7 - 8013a12: bd90 pop {r4, r7, pc} - 8013a14: 2000f5c0 .word 0x2000f5c0 - 8013a18: 2000f5d4 .word 0x2000f5d4 - 8013a1c: 20008758 .word 0x20008758 - 8013a20: 20008750 .word 0x20008750 - 8013a24: 20008759 .word 0x20008759 - 8013a28: 2000f5c4 .word 0x2000f5c4 + 801359c: 4618 mov r0, r3 + 801359e: 3724 adds r7, #36 ; 0x24 + 80135a0: 46bd mov sp, r7 + 80135a2: bd90 pop {r4, r7, pc} + 80135a4: 2000f5bc .word 0x2000f5bc + 80135a8: 2000f5d0 .word 0x2000f5d0 + 80135ac: 20008758 .word 0x20008758 + 80135b0: 20008750 .word 0x20008750 + 80135b4: 20008759 .word 0x20008759 + 80135b8: 2000f5c0 .word 0x2000f5c0 -08013a2c : +080135bc : * * Called from tcp_receive() */ static void tcp_oos_insert_segment(struct tcp_seg *cseg, struct tcp_seg *next) { - 8013a2c: b590 push {r4, r7, lr} - 8013a2e: b085 sub sp, #20 - 8013a30: af00 add r7, sp, #0 - 8013a32: 6078 str r0, [r7, #4] - 8013a34: 6039 str r1, [r7, #0] + 80135bc: b590 push {r4, r7, lr} + 80135be: b085 sub sp, #20 + 80135c0: af00 add r7, sp, #0 + 80135c2: 6078 str r0, [r7, #4] + 80135c4: 6039 str r1, [r7, #0] struct tcp_seg *old_seg; LWIP_ASSERT("tcp_oos_insert_segment: invalid cseg", cseg != NULL); - 8013a36: 687b ldr r3, [r7, #4] - 8013a38: 2b00 cmp r3, #0 - 8013a3a: d106 bne.n 8013a4a - 8013a3c: 4b3b ldr r3, [pc, #236] ; (8013b2c ) - 8013a3e: f240 421f movw r2, #1055 ; 0x41f - 8013a42: 493b ldr r1, [pc, #236] ; (8013b30 ) - 8013a44: 483b ldr r0, [pc, #236] ; (8013b34 ) - 8013a46: f007 fd37 bl 801b4b8 + 80135c6: 687b ldr r3, [r7, #4] + 80135c8: 2b00 cmp r3, #0 + 80135ca: d106 bne.n 80135da + 80135cc: 4b3b ldr r3, [pc, #236] ; (80136bc ) + 80135ce: f240 421f movw r2, #1055 ; 0x41f + 80135d2: 493b ldr r1, [pc, #236] ; (80136c0 ) + 80135d4: 483b ldr r0, [pc, #236] ; (80136c4 ) + 80135d6: f007 fd1d bl 801b014 if (TCPH_FLAGS(cseg->tcphdr) & TCP_FIN) { - 8013a4a: 687b ldr r3, [r7, #4] - 8013a4c: 68db ldr r3, [r3, #12] - 8013a4e: 899b ldrh r3, [r3, #12] - 8013a50: b29b uxth r3, r3 - 8013a52: 4618 mov r0, r3 - 8013a54: f7fb fc4c bl 800f2f0 - 8013a58: 4603 mov r3, r0 - 8013a5a: b2db uxtb r3, r3 - 8013a5c: f003 0301 and.w r3, r3, #1 - 8013a60: 2b00 cmp r3, #0 - 8013a62: d028 beq.n 8013ab6 + 80135da: 687b ldr r3, [r7, #4] + 80135dc: 68db ldr r3, [r3, #12] + 80135de: 899b ldrh r3, [r3, #12] + 80135e0: b29b uxth r3, r3 + 80135e2: 4618 mov r0, r3 + 80135e4: f7fb fc4c bl 800ee80 + 80135e8: 4603 mov r3, r0 + 80135ea: b2db uxtb r3, r3 + 80135ec: f003 0301 and.w r3, r3, #1 + 80135f0: 2b00 cmp r3, #0 + 80135f2: d028 beq.n 8013646 /* received segment overlaps all following segments */ tcp_segs_free(next); - 8013a64: 6838 ldr r0, [r7, #0] - 8013a66: f7fe fa67 bl 8011f38 + 80135f4: 6838 ldr r0, [r7, #0] + 80135f6: f7fe fa67 bl 8011ac8 next = NULL; - 8013a6a: 2300 movs r3, #0 - 8013a6c: 603b str r3, [r7, #0] - 8013a6e: e056 b.n 8013b1e + 80135fa: 2300 movs r3, #0 + 80135fc: 603b str r3, [r7, #0] + 80135fe: e056 b.n 80136ae oos queue may have segments with FIN flag */ while (next && TCP_SEQ_GEQ((seqno + cseg->len), (next->tcphdr->seqno + next->len))) { /* cseg with FIN already processed */ if (TCPH_FLAGS(next->tcphdr) & TCP_FIN) { - 8013a70: 683b ldr r3, [r7, #0] - 8013a72: 68db ldr r3, [r3, #12] - 8013a74: 899b ldrh r3, [r3, #12] - 8013a76: b29b uxth r3, r3 - 8013a78: 4618 mov r0, r3 - 8013a7a: f7fb fc39 bl 800f2f0 - 8013a7e: 4603 mov r3, r0 - 8013a80: b2db uxtb r3, r3 - 8013a82: f003 0301 and.w r3, r3, #1 - 8013a86: 2b00 cmp r3, #0 - 8013a88: d00d beq.n 8013aa6 + 8013600: 683b ldr r3, [r7, #0] + 8013602: 68db ldr r3, [r3, #12] + 8013604: 899b ldrh r3, [r3, #12] + 8013606: b29b uxth r3, r3 + 8013608: 4618 mov r0, r3 + 801360a: f7fb fc39 bl 800ee80 + 801360e: 4603 mov r3, r0 + 8013610: b2db uxtb r3, r3 + 8013612: f003 0301 and.w r3, r3, #1 + 8013616: 2b00 cmp r3, #0 + 8013618: d00d beq.n 8013636 TCPH_SET_FLAG(cseg->tcphdr, TCP_FIN); - 8013a8a: 687b ldr r3, [r7, #4] - 8013a8c: 68db ldr r3, [r3, #12] - 8013a8e: 899b ldrh r3, [r3, #12] - 8013a90: b29c uxth r4, r3 - 8013a92: 2001 movs r0, #1 - 8013a94: f7fb fc2c bl 800f2f0 - 8013a98: 4603 mov r3, r0 - 8013a9a: 461a mov r2, r3 - 8013a9c: 687b ldr r3, [r7, #4] - 8013a9e: 68db ldr r3, [r3, #12] - 8013aa0: 4322 orrs r2, r4 - 8013aa2: b292 uxth r2, r2 - 8013aa4: 819a strh r2, [r3, #12] + 801361a: 687b ldr r3, [r7, #4] + 801361c: 68db ldr r3, [r3, #12] + 801361e: 899b ldrh r3, [r3, #12] + 8013620: b29c uxth r4, r3 + 8013622: 2001 movs r0, #1 + 8013624: f7fb fc2c bl 800ee80 + 8013628: 4603 mov r3, r0 + 801362a: 461a mov r2, r3 + 801362c: 687b ldr r3, [r7, #4] + 801362e: 68db ldr r3, [r3, #12] + 8013630: 4322 orrs r2, r4 + 8013632: b292 uxth r2, r2 + 8013634: 819a strh r2, [r3, #12] } old_seg = next; - 8013aa6: 683b ldr r3, [r7, #0] - 8013aa8: 60fb str r3, [r7, #12] + 8013636: 683b ldr r3, [r7, #0] + 8013638: 60fb str r3, [r7, #12] next = next->next; - 8013aaa: 683b ldr r3, [r7, #0] - 8013aac: 681b ldr r3, [r3, #0] - 8013aae: 603b str r3, [r7, #0] + 801363a: 683b ldr r3, [r7, #0] + 801363c: 681b ldr r3, [r3, #0] + 801363e: 603b str r3, [r7, #0] tcp_seg_free(old_seg); - 8013ab0: 68f8 ldr r0, [r7, #12] - 8013ab2: f7fe fa55 bl 8011f60 + 8013640: 68f8 ldr r0, [r7, #12] + 8013642: f7fe fa55 bl 8011af0 while (next && - 8013ab6: 683b ldr r3, [r7, #0] - 8013ab8: 2b00 cmp r3, #0 - 8013aba: d00e beq.n 8013ada + 8013646: 683b ldr r3, [r7, #0] + 8013648: 2b00 cmp r3, #0 + 801364a: d00e beq.n 801366a TCP_SEQ_GEQ((seqno + cseg->len), - 8013abc: 687b ldr r3, [r7, #4] - 8013abe: 891b ldrh r3, [r3, #8] - 8013ac0: 461a mov r2, r3 - 8013ac2: 4b1d ldr r3, [pc, #116] ; (8013b38 ) - 8013ac4: 681b ldr r3, [r3, #0] - 8013ac6: 441a add r2, r3 - 8013ac8: 683b ldr r3, [r7, #0] - 8013aca: 68db ldr r3, [r3, #12] - 8013acc: 685b ldr r3, [r3, #4] - 8013ace: 6839 ldr r1, [r7, #0] - 8013ad0: 8909 ldrh r1, [r1, #8] - 8013ad2: 440b add r3, r1 - 8013ad4: 1ad3 subs r3, r2, r3 + 801364c: 687b ldr r3, [r7, #4] + 801364e: 891b ldrh r3, [r3, #8] + 8013650: 461a mov r2, r3 + 8013652: 4b1d ldr r3, [pc, #116] ; (80136c8 ) + 8013654: 681b ldr r3, [r3, #0] + 8013656: 441a add r2, r3 + 8013658: 683b ldr r3, [r7, #0] + 801365a: 68db ldr r3, [r3, #12] + 801365c: 685b ldr r3, [r3, #4] + 801365e: 6839 ldr r1, [r7, #0] + 8013660: 8909 ldrh r1, [r1, #8] + 8013662: 440b add r3, r1 + 8013664: 1ad3 subs r3, r2, r3 while (next && - 8013ad6: 2b00 cmp r3, #0 - 8013ad8: daca bge.n 8013a70 + 8013666: 2b00 cmp r3, #0 + 8013668: daca bge.n 8013600 } if (next && - 8013ada: 683b ldr r3, [r7, #0] - 8013adc: 2b00 cmp r3, #0 - 8013ade: d01e beq.n 8013b1e + 801366a: 683b ldr r3, [r7, #0] + 801366c: 2b00 cmp r3, #0 + 801366e: d01e beq.n 80136ae TCP_SEQ_GT(seqno + cseg->len, next->tcphdr->seqno)) { - 8013ae0: 687b ldr r3, [r7, #4] - 8013ae2: 891b ldrh r3, [r3, #8] - 8013ae4: 461a mov r2, r3 - 8013ae6: 4b14 ldr r3, [pc, #80] ; (8013b38 ) - 8013ae8: 681b ldr r3, [r3, #0] - 8013aea: 441a add r2, r3 - 8013aec: 683b ldr r3, [r7, #0] - 8013aee: 68db ldr r3, [r3, #12] - 8013af0: 685b ldr r3, [r3, #4] - 8013af2: 1ad3 subs r3, r2, r3 + 8013670: 687b ldr r3, [r7, #4] + 8013672: 891b ldrh r3, [r3, #8] + 8013674: 461a mov r2, r3 + 8013676: 4b14 ldr r3, [pc, #80] ; (80136c8 ) + 8013678: 681b ldr r3, [r3, #0] + 801367a: 441a add r2, r3 + 801367c: 683b ldr r3, [r7, #0] + 801367e: 68db ldr r3, [r3, #12] + 8013680: 685b ldr r3, [r3, #4] + 8013682: 1ad3 subs r3, r2, r3 if (next && - 8013af4: 2b00 cmp r3, #0 - 8013af6: dd12 ble.n 8013b1e + 8013684: 2b00 cmp r3, #0 + 8013686: dd12 ble.n 80136ae /* We need to trim the incoming segment. */ cseg->len = (u16_t)(next->tcphdr->seqno - seqno); - 8013af8: 683b ldr r3, [r7, #0] - 8013afa: 68db ldr r3, [r3, #12] - 8013afc: 685b ldr r3, [r3, #4] - 8013afe: b29a uxth r2, r3 - 8013b00: 4b0d ldr r3, [pc, #52] ; (8013b38 ) - 8013b02: 681b ldr r3, [r3, #0] - 8013b04: b29b uxth r3, r3 - 8013b06: 1ad3 subs r3, r2, r3 - 8013b08: b29a uxth r2, r3 - 8013b0a: 687b ldr r3, [r7, #4] - 8013b0c: 811a strh r2, [r3, #8] + 8013688: 683b ldr r3, [r7, #0] + 801368a: 68db ldr r3, [r3, #12] + 801368c: 685b ldr r3, [r3, #4] + 801368e: b29a uxth r2, r3 + 8013690: 4b0d ldr r3, [pc, #52] ; (80136c8 ) + 8013692: 681b ldr r3, [r3, #0] + 8013694: b29b uxth r3, r3 + 8013696: 1ad3 subs r3, r2, r3 + 8013698: b29a uxth r2, r3 + 801369a: 687b ldr r3, [r7, #4] + 801369c: 811a strh r2, [r3, #8] pbuf_realloc(cseg->p, cseg->len); - 8013b0e: 687b ldr r3, [r7, #4] - 8013b10: 685a ldr r2, [r3, #4] - 8013b12: 687b ldr r3, [r7, #4] - 8013b14: 891b ldrh r3, [r3, #8] - 8013b16: 4619 mov r1, r3 - 8013b18: 4610 mov r0, r2 - 8013b1a: f7fc fe17 bl 801074c + 801369e: 687b ldr r3, [r7, #4] + 80136a0: 685a ldr r2, [r3, #4] + 80136a2: 687b ldr r3, [r7, #4] + 80136a4: 891b ldrh r3, [r3, #8] + 80136a6: 4619 mov r1, r3 + 80136a8: 4610 mov r0, r2 + 80136aa: f7fc fe17 bl 80102dc } } cseg->next = next; - 8013b1e: 687b ldr r3, [r7, #4] - 8013b20: 683a ldr r2, [r7, #0] - 8013b22: 601a str r2, [r3, #0] + 80136ae: 687b ldr r3, [r7, #4] + 80136b0: 683a ldr r2, [r7, #0] + 80136b2: 601a str r2, [r3, #0] } - 8013b24: bf00 nop - 8013b26: 3714 adds r7, #20 - 8013b28: 46bd mov sp, r7 - 8013b2a: bd90 pop {r4, r7, pc} - 8013b2c: 0801dab4 .word 0x0801dab4 - 8013b30: 0801dd74 .word 0x0801dd74 - 8013b34: 0801db00 .word 0x0801db00 - 8013b38: 2000874c .word 0x2000874c + 80136b4: bf00 nop + 80136b6: 3714 adds r7, #20 + 80136b8: 46bd mov sp, r7 + 80136ba: bd90 pop {r4, r7, pc} + 80136bc: 0801d2b0 .word 0x0801d2b0 + 80136c0: 0801d570 .word 0x0801d570 + 80136c4: 0801d2fc .word 0x0801d2fc + 80136c8: 2000874c .word 0x2000874c -08013b3c : +080136cc : /** Remove segments from a list if the incoming ACK acknowledges them */ static struct tcp_seg * tcp_free_acked_segments(struct tcp_pcb *pcb, struct tcp_seg *seg_list, const char *dbg_list_name, struct tcp_seg *dbg_other_seg_list) { - 8013b3c: b5b0 push {r4, r5, r7, lr} - 8013b3e: b086 sub sp, #24 - 8013b40: af00 add r7, sp, #0 - 8013b42: 60f8 str r0, [r7, #12] - 8013b44: 60b9 str r1, [r7, #8] - 8013b46: 607a str r2, [r7, #4] - 8013b48: 603b str r3, [r7, #0] + 80136cc: b5b0 push {r4, r5, r7, lr} + 80136ce: b086 sub sp, #24 + 80136d0: af00 add r7, sp, #0 + 80136d2: 60f8 str r0, [r7, #12] + 80136d4: 60b9 str r1, [r7, #8] + 80136d6: 607a str r2, [r7, #4] + 80136d8: 603b str r3, [r7, #0] u16_t clen; LWIP_UNUSED_ARG(dbg_list_name); LWIP_UNUSED_ARG(dbg_other_seg_list); while (seg_list != NULL && - 8013b4a: e03e b.n 8013bca + 80136da: e03e b.n 801375a LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: removing %"U32_F":%"U32_F" from pcb->%s\n", lwip_ntohl(seg_list->tcphdr->seqno), lwip_ntohl(seg_list->tcphdr->seqno) + TCP_TCPLEN(seg_list), dbg_list_name)); next = seg_list; - 8013b4c: 68bb ldr r3, [r7, #8] - 8013b4e: 617b str r3, [r7, #20] + 80136dc: 68bb ldr r3, [r7, #8] + 80136de: 617b str r3, [r7, #20] seg_list = seg_list->next; - 8013b50: 68bb ldr r3, [r7, #8] - 8013b52: 681b ldr r3, [r3, #0] - 8013b54: 60bb str r3, [r7, #8] + 80136e0: 68bb ldr r3, [r7, #8] + 80136e2: 681b ldr r3, [r3, #0] + 80136e4: 60bb str r3, [r7, #8] clen = pbuf_clen(next->p); - 8013b56: 697b ldr r3, [r7, #20] - 8013b58: 685b ldr r3, [r3, #4] - 8013b5a: 4618 mov r0, r3 - 8013b5c: f7fd f80a bl 8010b74 - 8013b60: 4603 mov r3, r0 - 8013b62: 827b strh r3, [r7, #18] + 80136e6: 697b ldr r3, [r7, #20] + 80136e8: 685b ldr r3, [r3, #4] + 80136ea: 4618 mov r0, r3 + 80136ec: f7fd f80a bl 8010704 + 80136f0: 4603 mov r3, r0 + 80136f2: 827b strh r3, [r7, #18] LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_receive: queuelen %"TCPWNDSIZE_F" ... ", (tcpwnd_size_t)pcb->snd_queuelen)); LWIP_ASSERT("pcb->snd_queuelen >= pbuf_clen(next->p)", (pcb->snd_queuelen >= clen)); - 8013b64: 68fb ldr r3, [r7, #12] - 8013b66: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 - 8013b6a: 8a7a ldrh r2, [r7, #18] - 8013b6c: 429a cmp r2, r3 - 8013b6e: d906 bls.n 8013b7e - 8013b70: 4b2a ldr r3, [pc, #168] ; (8013c1c ) - 8013b72: f240 4257 movw r2, #1111 ; 0x457 - 8013b76: 492a ldr r1, [pc, #168] ; (8013c20 ) - 8013b78: 482a ldr r0, [pc, #168] ; (8013c24 ) - 8013b7a: f007 fc9d bl 801b4b8 + 80136f4: 68fb ldr r3, [r7, #12] + 80136f6: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 + 80136fa: 8a7a ldrh r2, [r7, #18] + 80136fc: 429a cmp r2, r3 + 80136fe: d906 bls.n 801370e + 8013700: 4b2a ldr r3, [pc, #168] ; (80137ac ) + 8013702: f240 4257 movw r2, #1111 ; 0x457 + 8013706: 492a ldr r1, [pc, #168] ; (80137b0 ) + 8013708: 482a ldr r0, [pc, #168] ; (80137b4 ) + 801370a: f007 fc83 bl 801b014 pcb->snd_queuelen = (u16_t)(pcb->snd_queuelen - clen); - 8013b7e: 68fb ldr r3, [r7, #12] - 8013b80: f8b3 2066 ldrh.w r2, [r3, #102] ; 0x66 - 8013b84: 8a7b ldrh r3, [r7, #18] - 8013b86: 1ad3 subs r3, r2, r3 - 8013b88: b29a uxth r2, r3 - 8013b8a: 68fb ldr r3, [r7, #12] - 8013b8c: f8a3 2066 strh.w r2, [r3, #102] ; 0x66 + 801370e: 68fb ldr r3, [r7, #12] + 8013710: f8b3 2066 ldrh.w r2, [r3, #102] ; 0x66 + 8013714: 8a7b ldrh r3, [r7, #18] + 8013716: 1ad3 subs r3, r2, r3 + 8013718: b29a uxth r2, r3 + 801371a: 68fb ldr r3, [r7, #12] + 801371c: f8a3 2066 strh.w r2, [r3, #102] ; 0x66 recv_acked = (tcpwnd_size_t)(recv_acked + next->len); - 8013b90: 697b ldr r3, [r7, #20] - 8013b92: 891a ldrh r2, [r3, #8] - 8013b94: 4b24 ldr r3, [pc, #144] ; (8013c28 ) - 8013b96: 881b ldrh r3, [r3, #0] - 8013b98: 4413 add r3, r2 - 8013b9a: b29a uxth r2, r3 - 8013b9c: 4b22 ldr r3, [pc, #136] ; (8013c28 ) - 8013b9e: 801a strh r2, [r3, #0] + 8013720: 697b ldr r3, [r7, #20] + 8013722: 891a ldrh r2, [r3, #8] + 8013724: 4b24 ldr r3, [pc, #144] ; (80137b8 ) + 8013726: 881b ldrh r3, [r3, #0] + 8013728: 4413 add r3, r2 + 801372a: b29a uxth r2, r3 + 801372c: 4b22 ldr r3, [pc, #136] ; (80137b8 ) + 801372e: 801a strh r2, [r3, #0] tcp_seg_free(next); - 8013ba0: 6978 ldr r0, [r7, #20] - 8013ba2: f7fe f9dd bl 8011f60 + 8013730: 6978 ldr r0, [r7, #20] + 8013732: f7fe f9dd bl 8011af0 LWIP_DEBUGF(TCP_QLEN_DEBUG, ("%"TCPWNDSIZE_F" (after freeing %s)\n", (tcpwnd_size_t)pcb->snd_queuelen, dbg_list_name)); if (pcb->snd_queuelen != 0) { - 8013ba6: 68fb ldr r3, [r7, #12] - 8013ba8: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 - 8013bac: 2b00 cmp r3, #0 - 8013bae: d00c beq.n 8013bca + 8013736: 68fb ldr r3, [r7, #12] + 8013738: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 + 801373c: 2b00 cmp r3, #0 + 801373e: d00c beq.n 801375a LWIP_ASSERT("tcp_receive: valid queue length", - 8013bb0: 68bb ldr r3, [r7, #8] - 8013bb2: 2b00 cmp r3, #0 - 8013bb4: d109 bne.n 8013bca - 8013bb6: 683b ldr r3, [r7, #0] - 8013bb8: 2b00 cmp r3, #0 - 8013bba: d106 bne.n 8013bca - 8013bbc: 4b17 ldr r3, [pc, #92] ; (8013c1c ) - 8013bbe: f240 4262 movw r2, #1122 ; 0x462 - 8013bc2: 491a ldr r1, [pc, #104] ; (8013c2c ) - 8013bc4: 4817 ldr r0, [pc, #92] ; (8013c24 ) - 8013bc6: f007 fc77 bl 801b4b8 + 8013740: 68bb ldr r3, [r7, #8] + 8013742: 2b00 cmp r3, #0 + 8013744: d109 bne.n 801375a + 8013746: 683b ldr r3, [r7, #0] + 8013748: 2b00 cmp r3, #0 + 801374a: d106 bne.n 801375a + 801374c: 4b17 ldr r3, [pc, #92] ; (80137ac ) + 801374e: f240 4262 movw r2, #1122 ; 0x462 + 8013752: 491a ldr r1, [pc, #104] ; (80137bc ) + 8013754: 4817 ldr r0, [pc, #92] ; (80137b4 ) + 8013756: f007 fc5d bl 801b014 while (seg_list != NULL && - 8013bca: 68bb ldr r3, [r7, #8] - 8013bcc: 2b00 cmp r3, #0 - 8013bce: d020 beq.n 8013c12 + 801375a: 68bb ldr r3, [r7, #8] + 801375c: 2b00 cmp r3, #0 + 801375e: d020 beq.n 80137a2 TCP_SEQ_LEQ(lwip_ntohl(seg_list->tcphdr->seqno) + - 8013bd0: 68bb ldr r3, [r7, #8] - 8013bd2: 68db ldr r3, [r3, #12] - 8013bd4: 685b ldr r3, [r3, #4] - 8013bd6: 4618 mov r0, r3 - 8013bd8: f7fb fb9f bl 800f31a - 8013bdc: 4604 mov r4, r0 - 8013bde: 68bb ldr r3, [r7, #8] - 8013be0: 891b ldrh r3, [r3, #8] - 8013be2: 461d mov r5, r3 - 8013be4: 68bb ldr r3, [r7, #8] - 8013be6: 68db ldr r3, [r3, #12] - 8013be8: 899b ldrh r3, [r3, #12] - 8013bea: b29b uxth r3, r3 - 8013bec: 4618 mov r0, r3 - 8013bee: f7fb fb7f bl 800f2f0 - 8013bf2: 4603 mov r3, r0 - 8013bf4: b2db uxtb r3, r3 - 8013bf6: f003 0303 and.w r3, r3, #3 - 8013bfa: 2b00 cmp r3, #0 - 8013bfc: d001 beq.n 8013c02 - 8013bfe: 2301 movs r3, #1 - 8013c00: e000 b.n 8013c04 - 8013c02: 2300 movs r3, #0 - 8013c04: 442b add r3, r5 - 8013c06: 18e2 adds r2, r4, r3 - 8013c08: 4b09 ldr r3, [pc, #36] ; (8013c30 ) - 8013c0a: 681b ldr r3, [r3, #0] - 8013c0c: 1ad3 subs r3, r2, r3 + 8013760: 68bb ldr r3, [r7, #8] + 8013762: 68db ldr r3, [r3, #12] + 8013764: 685b ldr r3, [r3, #4] + 8013766: 4618 mov r0, r3 + 8013768: f7fb fb9f bl 800eeaa + 801376c: 4604 mov r4, r0 + 801376e: 68bb ldr r3, [r7, #8] + 8013770: 891b ldrh r3, [r3, #8] + 8013772: 461d mov r5, r3 + 8013774: 68bb ldr r3, [r7, #8] + 8013776: 68db ldr r3, [r3, #12] + 8013778: 899b ldrh r3, [r3, #12] + 801377a: b29b uxth r3, r3 + 801377c: 4618 mov r0, r3 + 801377e: f7fb fb7f bl 800ee80 + 8013782: 4603 mov r3, r0 + 8013784: b2db uxtb r3, r3 + 8013786: f003 0303 and.w r3, r3, #3 + 801378a: 2b00 cmp r3, #0 + 801378c: d001 beq.n 8013792 + 801378e: 2301 movs r3, #1 + 8013790: e000 b.n 8013794 + 8013792: 2300 movs r3, #0 + 8013794: 442b add r3, r5 + 8013796: 18e2 adds r2, r4, r3 + 8013798: 4b09 ldr r3, [pc, #36] ; (80137c0 ) + 801379a: 681b ldr r3, [r3, #0] + 801379c: 1ad3 subs r3, r2, r3 while (seg_list != NULL && - 8013c0e: 2b00 cmp r3, #0 - 8013c10: dd9c ble.n 8013b4c + 801379e: 2b00 cmp r3, #0 + 80137a0: dd9c ble.n 80136dc seg_list != NULL || dbg_other_seg_list != NULL); } } return seg_list; - 8013c12: 68bb ldr r3, [r7, #8] + 80137a2: 68bb ldr r3, [r7, #8] } - 8013c14: 4618 mov r0, r3 - 8013c16: 3718 adds r7, #24 - 8013c18: 46bd mov sp, r7 - 8013c1a: bdb0 pop {r4, r5, r7, pc} - 8013c1c: 0801dab4 .word 0x0801dab4 - 8013c20: 0801dd9c .word 0x0801dd9c - 8013c24: 0801db00 .word 0x0801db00 - 8013c28: 20008754 .word 0x20008754 - 8013c2c: 0801ddc4 .word 0x0801ddc4 - 8013c30: 20008750 .word 0x20008750 + 80137a4: 4618 mov r0, r3 + 80137a6: 3718 adds r7, #24 + 80137a8: 46bd mov sp, r7 + 80137aa: bdb0 pop {r4, r5, r7, pc} + 80137ac: 0801d2b0 .word 0x0801d2b0 + 80137b0: 0801d598 .word 0x0801d598 + 80137b4: 0801d2fc .word 0x0801d2fc + 80137b8: 20008754 .word 0x20008754 + 80137bc: 0801d5c0 .word 0x0801d5c0 + 80137c0: 20008750 .word 0x20008750 -08013c34 : +080137c4 : * * Called from tcp_process(). */ static void tcp_receive(struct tcp_pcb *pcb) { - 8013c34: b5b0 push {r4, r5, r7, lr} - 8013c36: b094 sub sp, #80 ; 0x50 - 8013c38: af00 add r7, sp, #0 - 8013c3a: 6078 str r0, [r7, #4] + 80137c4: b5b0 push {r4, r5, r7, lr} + 80137c6: b094 sub sp, #80 ; 0x50 + 80137c8: af00 add r7, sp, #0 + 80137ca: 6078 str r0, [r7, #4] s16_t m; u32_t right_wnd_edge; int found_dupack = 0; - 8013c3c: 2300 movs r3, #0 - 8013c3e: 64bb str r3, [r7, #72] ; 0x48 + 80137cc: 2300 movs r3, #0 + 80137ce: 64bb str r3, [r7, #72] ; 0x48 LWIP_ASSERT("tcp_receive: invalid pcb", pcb != NULL); - 8013c40: 687b ldr r3, [r7, #4] - 8013c42: 2b00 cmp r3, #0 - 8013c44: d106 bne.n 8013c54 - 8013c46: 4ba6 ldr r3, [pc, #664] ; (8013ee0 ) - 8013c48: f240 427b movw r2, #1147 ; 0x47b - 8013c4c: 49a5 ldr r1, [pc, #660] ; (8013ee4 ) - 8013c4e: 48a6 ldr r0, [pc, #664] ; (8013ee8 ) - 8013c50: f007 fc32 bl 801b4b8 + 80137d0: 687b ldr r3, [r7, #4] + 80137d2: 2b00 cmp r3, #0 + 80137d4: d106 bne.n 80137e4 + 80137d6: 4ba6 ldr r3, [pc, #664] ; (8013a70 ) + 80137d8: f240 427b movw r2, #1147 ; 0x47b + 80137dc: 49a5 ldr r1, [pc, #660] ; (8013a74 ) + 80137de: 48a6 ldr r0, [pc, #664] ; (8013a78 ) + 80137e0: f007 fc18 bl 801b014 LWIP_ASSERT("tcp_receive: wrong state", pcb->state >= ESTABLISHED); - 8013c54: 687b ldr r3, [r7, #4] - 8013c56: 7d1b ldrb r3, [r3, #20] - 8013c58: 2b03 cmp r3, #3 - 8013c5a: d806 bhi.n 8013c6a - 8013c5c: 4ba0 ldr r3, [pc, #640] ; (8013ee0 ) - 8013c5e: f240 427c movw r2, #1148 ; 0x47c - 8013c62: 49a2 ldr r1, [pc, #648] ; (8013eec ) - 8013c64: 48a0 ldr r0, [pc, #640] ; (8013ee8 ) - 8013c66: f007 fc27 bl 801b4b8 + 80137e4: 687b ldr r3, [r7, #4] + 80137e6: 7d1b ldrb r3, [r3, #20] + 80137e8: 2b03 cmp r3, #3 + 80137ea: d806 bhi.n 80137fa + 80137ec: 4ba0 ldr r3, [pc, #640] ; (8013a70 ) + 80137ee: f240 427c movw r2, #1148 ; 0x47c + 80137f2: 49a2 ldr r1, [pc, #648] ; (8013a7c ) + 80137f4: 48a0 ldr r0, [pc, #640] ; (8013a78 ) + 80137f6: f007 fc0d bl 801b014 if (flags & TCP_ACK) { - 8013c6a: 4ba1 ldr r3, [pc, #644] ; (8013ef0 ) - 8013c6c: 781b ldrb r3, [r3, #0] - 8013c6e: f003 0310 and.w r3, r3, #16 - 8013c72: 2b00 cmp r3, #0 - 8013c74: f000 8263 beq.w 801413e + 80137fa: 4ba1 ldr r3, [pc, #644] ; (8013a80 ) + 80137fc: 781b ldrb r3, [r3, #0] + 80137fe: f003 0310 and.w r3, r3, #16 + 8013802: 2b00 cmp r3, #0 + 8013804: f000 8263 beq.w 8013cce right_wnd_edge = pcb->snd_wnd + pcb->snd_wl2; - 8013c78: 687b ldr r3, [r7, #4] - 8013c7a: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 - 8013c7e: 461a mov r2, r3 - 8013c80: 687b ldr r3, [r7, #4] - 8013c82: 6d9b ldr r3, [r3, #88] ; 0x58 - 8013c84: 4413 add r3, r2 - 8013c86: 633b str r3, [r7, #48] ; 0x30 + 8013808: 687b ldr r3, [r7, #4] + 801380a: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 + 801380e: 461a mov r2, r3 + 8013810: 687b ldr r3, [r7, #4] + 8013812: 6d9b ldr r3, [r3, #88] ; 0x58 + 8013814: 4413 add r3, r2 + 8013816: 633b str r3, [r7, #48] ; 0x30 /* Update window. */ if (TCP_SEQ_LT(pcb->snd_wl1, seqno) || - 8013c88: 687b ldr r3, [r7, #4] - 8013c8a: 6d5a ldr r2, [r3, #84] ; 0x54 - 8013c8c: 4b99 ldr r3, [pc, #612] ; (8013ef4 ) - 8013c8e: 681b ldr r3, [r3, #0] - 8013c90: 1ad3 subs r3, r2, r3 - 8013c92: 2b00 cmp r3, #0 - 8013c94: db1b blt.n 8013cce + 8013818: 687b ldr r3, [r7, #4] + 801381a: 6d5a ldr r2, [r3, #84] ; 0x54 + 801381c: 4b99 ldr r3, [pc, #612] ; (8013a84 ) + 801381e: 681b ldr r3, [r3, #0] + 8013820: 1ad3 subs r3, r2, r3 + 8013822: 2b00 cmp r3, #0 + 8013824: db1b blt.n 801385e (pcb->snd_wl1 == seqno && TCP_SEQ_LT(pcb->snd_wl2, ackno)) || - 8013c96: 687b ldr r3, [r7, #4] - 8013c98: 6d5a ldr r2, [r3, #84] ; 0x54 - 8013c9a: 4b96 ldr r3, [pc, #600] ; (8013ef4 ) - 8013c9c: 681b ldr r3, [r3, #0] + 8013826: 687b ldr r3, [r7, #4] + 8013828: 6d5a ldr r2, [r3, #84] ; 0x54 + 801382a: 4b96 ldr r3, [pc, #600] ; (8013a84 ) + 801382c: 681b ldr r3, [r3, #0] if (TCP_SEQ_LT(pcb->snd_wl1, seqno) || - 8013c9e: 429a cmp r2, r3 - 8013ca0: d106 bne.n 8013cb0 + 801382e: 429a cmp r2, r3 + 8013830: d106 bne.n 8013840 (pcb->snd_wl1 == seqno && TCP_SEQ_LT(pcb->snd_wl2, ackno)) || - 8013ca2: 687b ldr r3, [r7, #4] - 8013ca4: 6d9a ldr r2, [r3, #88] ; 0x58 - 8013ca6: 4b94 ldr r3, [pc, #592] ; (8013ef8 ) - 8013ca8: 681b ldr r3, [r3, #0] - 8013caa: 1ad3 subs r3, r2, r3 - 8013cac: 2b00 cmp r3, #0 - 8013cae: db0e blt.n 8013cce + 8013832: 687b ldr r3, [r7, #4] + 8013834: 6d9a ldr r2, [r3, #88] ; 0x58 + 8013836: 4b94 ldr r3, [pc, #592] ; (8013a88 ) + 8013838: 681b ldr r3, [r3, #0] + 801383a: 1ad3 subs r3, r2, r3 + 801383c: 2b00 cmp r3, #0 + 801383e: db0e blt.n 801385e (pcb->snd_wl2 == ackno && (u32_t)SND_WND_SCALE(pcb, tcphdr->wnd) > pcb->snd_wnd)) { - 8013cb0: 687b ldr r3, [r7, #4] - 8013cb2: 6d9a ldr r2, [r3, #88] ; 0x58 - 8013cb4: 4b90 ldr r3, [pc, #576] ; (8013ef8 ) - 8013cb6: 681b ldr r3, [r3, #0] + 8013840: 687b ldr r3, [r7, #4] + 8013842: 6d9a ldr r2, [r3, #88] ; 0x58 + 8013844: 4b90 ldr r3, [pc, #576] ; (8013a88 ) + 8013846: 681b ldr r3, [r3, #0] (pcb->snd_wl1 == seqno && TCP_SEQ_LT(pcb->snd_wl2, ackno)) || - 8013cb8: 429a cmp r2, r3 - 8013cba: d125 bne.n 8013d08 + 8013848: 429a cmp r2, r3 + 801384a: d125 bne.n 8013898 (pcb->snd_wl2 == ackno && (u32_t)SND_WND_SCALE(pcb, tcphdr->wnd) > pcb->snd_wnd)) { - 8013cbc: 4b8f ldr r3, [pc, #572] ; (8013efc ) - 8013cbe: 681b ldr r3, [r3, #0] - 8013cc0: 89db ldrh r3, [r3, #14] - 8013cc2: b29a uxth r2, r3 - 8013cc4: 687b ldr r3, [r7, #4] - 8013cc6: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 - 8013cca: 429a cmp r2, r3 - 8013ccc: d91c bls.n 8013d08 + 801384c: 4b8f ldr r3, [pc, #572] ; (8013a8c ) + 801384e: 681b ldr r3, [r3, #0] + 8013850: 89db ldrh r3, [r3, #14] + 8013852: b29a uxth r2, r3 + 8013854: 687b ldr r3, [r7, #4] + 8013856: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 + 801385a: 429a cmp r2, r3 + 801385c: d91c bls.n 8013898 pcb->snd_wnd = SND_WND_SCALE(pcb, tcphdr->wnd); - 8013cce: 4b8b ldr r3, [pc, #556] ; (8013efc ) - 8013cd0: 681b ldr r3, [r3, #0] - 8013cd2: 89db ldrh r3, [r3, #14] - 8013cd4: b29a uxth r2, r3 - 8013cd6: 687b ldr r3, [r7, #4] - 8013cd8: f8a3 2060 strh.w r2, [r3, #96] ; 0x60 + 801385e: 4b8b ldr r3, [pc, #556] ; (8013a8c ) + 8013860: 681b ldr r3, [r3, #0] + 8013862: 89db ldrh r3, [r3, #14] + 8013864: b29a uxth r2, r3 + 8013866: 687b ldr r3, [r7, #4] + 8013868: f8a3 2060 strh.w r2, [r3, #96] ; 0x60 /* keep track of the biggest window announced by the remote host to calculate the maximum segment size */ if (pcb->snd_wnd_max < pcb->snd_wnd) { - 8013cdc: 687b ldr r3, [r7, #4] - 8013cde: f8b3 2062 ldrh.w r2, [r3, #98] ; 0x62 - 8013ce2: 687b ldr r3, [r7, #4] - 8013ce4: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 - 8013ce8: 429a cmp r2, r3 - 8013cea: d205 bcs.n 8013cf8 + 801386c: 687b ldr r3, [r7, #4] + 801386e: f8b3 2062 ldrh.w r2, [r3, #98] ; 0x62 + 8013872: 687b ldr r3, [r7, #4] + 8013874: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 + 8013878: 429a cmp r2, r3 + 801387a: d205 bcs.n 8013888 pcb->snd_wnd_max = pcb->snd_wnd; - 8013cec: 687b ldr r3, [r7, #4] - 8013cee: f8b3 2060 ldrh.w r2, [r3, #96] ; 0x60 - 8013cf2: 687b ldr r3, [r7, #4] - 8013cf4: f8a3 2062 strh.w r2, [r3, #98] ; 0x62 + 801387c: 687b ldr r3, [r7, #4] + 801387e: f8b3 2060 ldrh.w r2, [r3, #96] ; 0x60 + 8013882: 687b ldr r3, [r7, #4] + 8013884: f8a3 2062 strh.w r2, [r3, #98] ; 0x62 } pcb->snd_wl1 = seqno; - 8013cf8: 4b7e ldr r3, [pc, #504] ; (8013ef4 ) - 8013cfa: 681a ldr r2, [r3, #0] - 8013cfc: 687b ldr r3, [r7, #4] - 8013cfe: 655a str r2, [r3, #84] ; 0x54 + 8013888: 4b7e ldr r3, [pc, #504] ; (8013a84 ) + 801388a: 681a ldr r2, [r3, #0] + 801388c: 687b ldr r3, [r7, #4] + 801388e: 655a str r2, [r3, #84] ; 0x54 pcb->snd_wl2 = ackno; - 8013d00: 4b7d ldr r3, [pc, #500] ; (8013ef8 ) - 8013d02: 681a ldr r2, [r3, #0] - 8013d04: 687b ldr r3, [r7, #4] - 8013d06: 659a str r2, [r3, #88] ; 0x58 + 8013890: 4b7d ldr r3, [pc, #500] ; (8013a88 ) + 8013892: 681a ldr r2, [r3, #0] + 8013894: 687b ldr r3, [r7, #4] + 8013896: 659a str r2, [r3, #88] ; 0x58 * If it only passes 1, should reset dupack counter * */ /* Clause 1 */ if (TCP_SEQ_LEQ(ackno, pcb->lastack)) { - 8013d08: 4b7b ldr r3, [pc, #492] ; (8013ef8 ) - 8013d0a: 681a ldr r2, [r3, #0] - 8013d0c: 687b ldr r3, [r7, #4] - 8013d0e: 6c5b ldr r3, [r3, #68] ; 0x44 - 8013d10: 1ad3 subs r3, r2, r3 - 8013d12: 2b00 cmp r3, #0 - 8013d14: dc58 bgt.n 8013dc8 + 8013898: 4b7b ldr r3, [pc, #492] ; (8013a88 ) + 801389a: 681a ldr r2, [r3, #0] + 801389c: 687b ldr r3, [r7, #4] + 801389e: 6c5b ldr r3, [r3, #68] ; 0x44 + 80138a0: 1ad3 subs r3, r2, r3 + 80138a2: 2b00 cmp r3, #0 + 80138a4: dc58 bgt.n 8013958 /* Clause 2 */ if (tcplen == 0) { - 8013d16: 4b7a ldr r3, [pc, #488] ; (8013f00 ) - 8013d18: 881b ldrh r3, [r3, #0] - 8013d1a: 2b00 cmp r3, #0 - 8013d1c: d14b bne.n 8013db6 + 80138a6: 4b7a ldr r3, [pc, #488] ; (8013a90 ) + 80138a8: 881b ldrh r3, [r3, #0] + 80138aa: 2b00 cmp r3, #0 + 80138ac: d14b bne.n 8013946 /* Clause 3 */ if (pcb->snd_wl2 + pcb->snd_wnd == right_wnd_edge) { - 8013d1e: 687b ldr r3, [r7, #4] - 8013d20: 6d9b ldr r3, [r3, #88] ; 0x58 - 8013d22: 687a ldr r2, [r7, #4] - 8013d24: f8b2 2060 ldrh.w r2, [r2, #96] ; 0x60 - 8013d28: 4413 add r3, r2 - 8013d2a: 6b3a ldr r2, [r7, #48] ; 0x30 - 8013d2c: 429a cmp r2, r3 - 8013d2e: d142 bne.n 8013db6 + 80138ae: 687b ldr r3, [r7, #4] + 80138b0: 6d9b ldr r3, [r3, #88] ; 0x58 + 80138b2: 687a ldr r2, [r7, #4] + 80138b4: f8b2 2060 ldrh.w r2, [r2, #96] ; 0x60 + 80138b8: 4413 add r3, r2 + 80138ba: 6b3a ldr r2, [r7, #48] ; 0x30 + 80138bc: 429a cmp r2, r3 + 80138be: d142 bne.n 8013946 /* Clause 4 */ if (pcb->rtime >= 0) { - 8013d30: 687b ldr r3, [r7, #4] - 8013d32: f9b3 3030 ldrsh.w r3, [r3, #48] ; 0x30 - 8013d36: 2b00 cmp r3, #0 - 8013d38: db3d blt.n 8013db6 + 80138c0: 687b ldr r3, [r7, #4] + 80138c2: f9b3 3030 ldrsh.w r3, [r3, #48] ; 0x30 + 80138c6: 2b00 cmp r3, #0 + 80138c8: db3d blt.n 8013946 /* Clause 5 */ if (pcb->lastack == ackno) { - 8013d3a: 687b ldr r3, [r7, #4] - 8013d3c: 6c5a ldr r2, [r3, #68] ; 0x44 - 8013d3e: 4b6e ldr r3, [pc, #440] ; (8013ef8 ) - 8013d40: 681b ldr r3, [r3, #0] - 8013d42: 429a cmp r2, r3 - 8013d44: d137 bne.n 8013db6 + 80138ca: 687b ldr r3, [r7, #4] + 80138cc: 6c5a ldr r2, [r3, #68] ; 0x44 + 80138ce: 4b6e ldr r3, [pc, #440] ; (8013a88 ) + 80138d0: 681b ldr r3, [r3, #0] + 80138d2: 429a cmp r2, r3 + 80138d4: d137 bne.n 8013946 found_dupack = 1; - 8013d46: 2301 movs r3, #1 - 8013d48: 64bb str r3, [r7, #72] ; 0x48 + 80138d6: 2301 movs r3, #1 + 80138d8: 64bb str r3, [r7, #72] ; 0x48 if ((u8_t)(pcb->dupacks + 1) > pcb->dupacks) { - 8013d4a: 687b ldr r3, [r7, #4] - 8013d4c: f893 3043 ldrb.w r3, [r3, #67] ; 0x43 - 8013d50: 2bff cmp r3, #255 ; 0xff - 8013d52: d007 beq.n 8013d64 + 80138da: 687b ldr r3, [r7, #4] + 80138dc: f893 3043 ldrb.w r3, [r3, #67] ; 0x43 + 80138e0: 2bff cmp r3, #255 ; 0xff + 80138e2: d007 beq.n 80138f4 ++pcb->dupacks; - 8013d54: 687b ldr r3, [r7, #4] - 8013d56: f893 3043 ldrb.w r3, [r3, #67] ; 0x43 - 8013d5a: 3301 adds r3, #1 - 8013d5c: b2da uxtb r2, r3 - 8013d5e: 687b ldr r3, [r7, #4] - 8013d60: f883 2043 strb.w r2, [r3, #67] ; 0x43 + 80138e4: 687b ldr r3, [r7, #4] + 80138e6: f893 3043 ldrb.w r3, [r3, #67] ; 0x43 + 80138ea: 3301 adds r3, #1 + 80138ec: b2da uxtb r2, r3 + 80138ee: 687b ldr r3, [r7, #4] + 80138f0: f883 2043 strb.w r2, [r3, #67] ; 0x43 } if (pcb->dupacks > 3) { - 8013d64: 687b ldr r3, [r7, #4] - 8013d66: f893 3043 ldrb.w r3, [r3, #67] ; 0x43 - 8013d6a: 2b03 cmp r3, #3 - 8013d6c: d91b bls.n 8013da6 + 80138f4: 687b ldr r3, [r7, #4] + 80138f6: f893 3043 ldrb.w r3, [r3, #67] ; 0x43 + 80138fa: 2b03 cmp r3, #3 + 80138fc: d91b bls.n 8013936 /* Inflate the congestion window */ TCP_WND_INC(pcb->cwnd, pcb->mss); - 8013d6e: 687b ldr r3, [r7, #4] - 8013d70: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 - 8013d74: 687b ldr r3, [r7, #4] - 8013d76: 8e5b ldrh r3, [r3, #50] ; 0x32 - 8013d78: 4413 add r3, r2 - 8013d7a: b29a uxth r2, r3 - 8013d7c: 687b ldr r3, [r7, #4] - 8013d7e: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 - 8013d82: 429a cmp r2, r3 - 8013d84: d30a bcc.n 8013d9c - 8013d86: 687b ldr r3, [r7, #4] - 8013d88: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 - 8013d8c: 687b ldr r3, [r7, #4] - 8013d8e: 8e5b ldrh r3, [r3, #50] ; 0x32 - 8013d90: 4413 add r3, r2 - 8013d92: b29a uxth r2, r3 - 8013d94: 687b ldr r3, [r7, #4] - 8013d96: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 - 8013d9a: e004 b.n 8013da6 - 8013d9c: 687b ldr r3, [r7, #4] - 8013d9e: f64f 72ff movw r2, #65535 ; 0xffff - 8013da2: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 + 80138fe: 687b ldr r3, [r7, #4] + 8013900: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 + 8013904: 687b ldr r3, [r7, #4] + 8013906: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8013908: 4413 add r3, r2 + 801390a: b29a uxth r2, r3 + 801390c: 687b ldr r3, [r7, #4] + 801390e: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 + 8013912: 429a cmp r2, r3 + 8013914: d30a bcc.n 801392c + 8013916: 687b ldr r3, [r7, #4] + 8013918: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 + 801391c: 687b ldr r3, [r7, #4] + 801391e: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8013920: 4413 add r3, r2 + 8013922: b29a uxth r2, r3 + 8013924: 687b ldr r3, [r7, #4] + 8013926: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 + 801392a: e004 b.n 8013936 + 801392c: 687b ldr r3, [r7, #4] + 801392e: f64f 72ff movw r2, #65535 ; 0xffff + 8013932: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 } if (pcb->dupacks >= 3) { - 8013da6: 687b ldr r3, [r7, #4] - 8013da8: f893 3043 ldrb.w r3, [r3, #67] ; 0x43 - 8013dac: 2b02 cmp r3, #2 - 8013dae: d902 bls.n 8013db6 + 8013936: 687b ldr r3, [r7, #4] + 8013938: f893 3043 ldrb.w r3, [r3, #67] ; 0x43 + 801393c: 2b02 cmp r3, #2 + 801393e: d902 bls.n 8013946 /* Do fast retransmit (checked via TF_INFR, not via dupacks count) */ tcp_rexmit_fast(pcb); - 8013db0: 6878 ldr r0, [r7, #4] - 8013db2: f001 feed bl 8015b90 + 8013940: 6878 ldr r0, [r7, #4] + 8013942: f001 feed bl 8015720 } } } /* If Clause (1) or more is true, but not a duplicate ack, reset * count of consecutive duplicate acks */ if (!found_dupack) { - 8013db6: 6cbb ldr r3, [r7, #72] ; 0x48 - 8013db8: 2b00 cmp r3, #0 - 8013dba: f040 8160 bne.w 801407e + 8013946: 6cbb ldr r3, [r7, #72] ; 0x48 + 8013948: 2b00 cmp r3, #0 + 801394a: f040 8160 bne.w 8013c0e pcb->dupacks = 0; - 8013dbe: 687b ldr r3, [r7, #4] - 8013dc0: 2200 movs r2, #0 - 8013dc2: f883 2043 strb.w r2, [r3, #67] ; 0x43 - 8013dc6: e15a b.n 801407e + 801394e: 687b ldr r3, [r7, #4] + 8013950: 2200 movs r2, #0 + 8013952: f883 2043 strb.w r2, [r3, #67] ; 0x43 + 8013956: e15a b.n 8013c0e } } else if (TCP_SEQ_BETWEEN(ackno, pcb->lastack + 1, pcb->snd_nxt)) { - 8013dc8: 4b4b ldr r3, [pc, #300] ; (8013ef8 ) - 8013dca: 681a ldr r2, [r3, #0] - 8013dcc: 687b ldr r3, [r7, #4] - 8013dce: 6c5b ldr r3, [r3, #68] ; 0x44 - 8013dd0: 1ad3 subs r3, r2, r3 - 8013dd2: 3b01 subs r3, #1 - 8013dd4: 2b00 cmp r3, #0 - 8013dd6: f2c0 814d blt.w 8014074 - 8013dda: 4b47 ldr r3, [pc, #284] ; (8013ef8 ) - 8013ddc: 681a ldr r2, [r3, #0] - 8013dde: 687b ldr r3, [r7, #4] - 8013de0: 6d1b ldr r3, [r3, #80] ; 0x50 - 8013de2: 1ad3 subs r3, r2, r3 - 8013de4: 2b00 cmp r3, #0 - 8013de6: f300 8145 bgt.w 8014074 + 8013958: 4b4b ldr r3, [pc, #300] ; (8013a88 ) + 801395a: 681a ldr r2, [r3, #0] + 801395c: 687b ldr r3, [r7, #4] + 801395e: 6c5b ldr r3, [r3, #68] ; 0x44 + 8013960: 1ad3 subs r3, r2, r3 + 8013962: 3b01 subs r3, #1 + 8013964: 2b00 cmp r3, #0 + 8013966: f2c0 814d blt.w 8013c04 + 801396a: 4b47 ldr r3, [pc, #284] ; (8013a88 ) + 801396c: 681a ldr r2, [r3, #0] + 801396e: 687b ldr r3, [r7, #4] + 8013970: 6d1b ldr r3, [r3, #80] ; 0x50 + 8013972: 1ad3 subs r3, r2, r3 + 8013974: 2b00 cmp r3, #0 + 8013976: f300 8145 bgt.w 8013c04 tcpwnd_size_t acked; /* Reset the "IN Fast Retransmit" flag, since we are no longer in fast retransmit. Also reset the congestion window to the slow start threshold. */ if (pcb->flags & TF_INFR) { - 8013dea: 687b ldr r3, [r7, #4] - 8013dec: 8b5b ldrh r3, [r3, #26] - 8013dee: f003 0304 and.w r3, r3, #4 - 8013df2: 2b00 cmp r3, #0 - 8013df4: d010 beq.n 8013e18 + 801397a: 687b ldr r3, [r7, #4] + 801397c: 8b5b ldrh r3, [r3, #26] + 801397e: f003 0304 and.w r3, r3, #4 + 8013982: 2b00 cmp r3, #0 + 8013984: d010 beq.n 80139a8 tcp_clear_flags(pcb, TF_INFR); - 8013df6: 687b ldr r3, [r7, #4] - 8013df8: 8b5b ldrh r3, [r3, #26] - 8013dfa: f023 0304 bic.w r3, r3, #4 - 8013dfe: b29a uxth r2, r3 - 8013e00: 687b ldr r3, [r7, #4] - 8013e02: 835a strh r2, [r3, #26] + 8013986: 687b ldr r3, [r7, #4] + 8013988: 8b5b ldrh r3, [r3, #26] + 801398a: f023 0304 bic.w r3, r3, #4 + 801398e: b29a uxth r2, r3 + 8013990: 687b ldr r3, [r7, #4] + 8013992: 835a strh r2, [r3, #26] pcb->cwnd = pcb->ssthresh; - 8013e04: 687b ldr r3, [r7, #4] - 8013e06: f8b3 204a ldrh.w r2, [r3, #74] ; 0x4a - 8013e0a: 687b ldr r3, [r7, #4] - 8013e0c: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 + 8013994: 687b ldr r3, [r7, #4] + 8013996: f8b3 204a ldrh.w r2, [r3, #74] ; 0x4a + 801399a: 687b ldr r3, [r7, #4] + 801399c: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 pcb->bytes_acked = 0; - 8013e10: 687b ldr r3, [r7, #4] - 8013e12: 2200 movs r2, #0 - 8013e14: f8a3 206a strh.w r2, [r3, #106] ; 0x6a + 80139a0: 687b ldr r3, [r7, #4] + 80139a2: 2200 movs r2, #0 + 80139a4: f8a3 206a strh.w r2, [r3, #106] ; 0x6a } /* Reset the number of retransmissions. */ pcb->nrtx = 0; - 8013e18: 687b ldr r3, [r7, #4] - 8013e1a: 2200 movs r2, #0 - 8013e1c: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 80139a8: 687b ldr r3, [r7, #4] + 80139aa: 2200 movs r2, #0 + 80139ac: f883 2042 strb.w r2, [r3, #66] ; 0x42 /* Reset the retransmission time-out. */ pcb->rto = (s16_t)((pcb->sa >> 3) + pcb->sv); - 8013e20: 687b ldr r3, [r7, #4] - 8013e22: f9b3 303c ldrsh.w r3, [r3, #60] ; 0x3c - 8013e26: 10db asrs r3, r3, #3 - 8013e28: b21b sxth r3, r3 - 8013e2a: b29a uxth r2, r3 - 8013e2c: 687b ldr r3, [r7, #4] - 8013e2e: f9b3 303e ldrsh.w r3, [r3, #62] ; 0x3e - 8013e32: b29b uxth r3, r3 - 8013e34: 4413 add r3, r2 - 8013e36: b29b uxth r3, r3 - 8013e38: b21a sxth r2, r3 - 8013e3a: 687b ldr r3, [r7, #4] - 8013e3c: f8a3 2040 strh.w r2, [r3, #64] ; 0x40 + 80139b0: 687b ldr r3, [r7, #4] + 80139b2: f9b3 303c ldrsh.w r3, [r3, #60] ; 0x3c + 80139b6: 10db asrs r3, r3, #3 + 80139b8: b21b sxth r3, r3 + 80139ba: b29a uxth r2, r3 + 80139bc: 687b ldr r3, [r7, #4] + 80139be: f9b3 303e ldrsh.w r3, [r3, #62] ; 0x3e + 80139c2: b29b uxth r3, r3 + 80139c4: 4413 add r3, r2 + 80139c6: b29b uxth r3, r3 + 80139c8: b21a sxth r2, r3 + 80139ca: 687b ldr r3, [r7, #4] + 80139cc: f8a3 2040 strh.w r2, [r3, #64] ; 0x40 /* Record how much data this ACK acks */ acked = (tcpwnd_size_t)(ackno - pcb->lastack); - 8013e40: 4b2d ldr r3, [pc, #180] ; (8013ef8 ) - 8013e42: 681b ldr r3, [r3, #0] - 8013e44: b29a uxth r2, r3 - 8013e46: 687b ldr r3, [r7, #4] - 8013e48: 6c5b ldr r3, [r3, #68] ; 0x44 - 8013e4a: b29b uxth r3, r3 - 8013e4c: 1ad3 subs r3, r2, r3 - 8013e4e: 85fb strh r3, [r7, #46] ; 0x2e + 80139d0: 4b2d ldr r3, [pc, #180] ; (8013a88 ) + 80139d2: 681b ldr r3, [r3, #0] + 80139d4: b29a uxth r2, r3 + 80139d6: 687b ldr r3, [r7, #4] + 80139d8: 6c5b ldr r3, [r3, #68] ; 0x44 + 80139da: b29b uxth r3, r3 + 80139dc: 1ad3 subs r3, r2, r3 + 80139de: 85fb strh r3, [r7, #46] ; 0x2e /* Reset the fast retransmit variables. */ pcb->dupacks = 0; - 8013e50: 687b ldr r3, [r7, #4] - 8013e52: 2200 movs r2, #0 - 8013e54: f883 2043 strb.w r2, [r3, #67] ; 0x43 + 80139e0: 687b ldr r3, [r7, #4] + 80139e2: 2200 movs r2, #0 + 80139e4: f883 2043 strb.w r2, [r3, #67] ; 0x43 pcb->lastack = ackno; - 8013e58: 4b27 ldr r3, [pc, #156] ; (8013ef8 ) - 8013e5a: 681a ldr r2, [r3, #0] - 8013e5c: 687b ldr r3, [r7, #4] - 8013e5e: 645a str r2, [r3, #68] ; 0x44 + 80139e8: 4b27 ldr r3, [pc, #156] ; (8013a88 ) + 80139ea: 681a ldr r2, [r3, #0] + 80139ec: 687b ldr r3, [r7, #4] + 80139ee: 645a str r2, [r3, #68] ; 0x44 /* Update the congestion control variables (cwnd and ssthresh). */ if (pcb->state >= ESTABLISHED) { - 8013e60: 687b ldr r3, [r7, #4] - 8013e62: 7d1b ldrb r3, [r3, #20] - 8013e64: 2b03 cmp r3, #3 - 8013e66: f240 8096 bls.w 8013f96 + 80139f0: 687b ldr r3, [r7, #4] + 80139f2: 7d1b ldrb r3, [r3, #20] + 80139f4: 2b03 cmp r3, #3 + 80139f6: f240 8096 bls.w 8013b26 if (pcb->cwnd < pcb->ssthresh) { - 8013e6a: 687b ldr r3, [r7, #4] - 8013e6c: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 - 8013e70: 687b ldr r3, [r7, #4] - 8013e72: f8b3 304a ldrh.w r3, [r3, #74] ; 0x4a - 8013e76: 429a cmp r2, r3 - 8013e78: d244 bcs.n 8013f04 + 80139fa: 687b ldr r3, [r7, #4] + 80139fc: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 + 8013a00: 687b ldr r3, [r7, #4] + 8013a02: f8b3 304a ldrh.w r3, [r3, #74] ; 0x4a + 8013a06: 429a cmp r2, r3 + 8013a08: d244 bcs.n 8013a94 tcpwnd_size_t increase; /* limit to 1 SMSS segment during period following RTO */ u8_t num_seg = (pcb->flags & TF_RTO) ? 1 : 2; - 8013e7a: 687b ldr r3, [r7, #4] - 8013e7c: 8b5b ldrh r3, [r3, #26] - 8013e7e: f403 6300 and.w r3, r3, #2048 ; 0x800 - 8013e82: 2b00 cmp r3, #0 - 8013e84: d001 beq.n 8013e8a - 8013e86: 2301 movs r3, #1 - 8013e88: e000 b.n 8013e8c - 8013e8a: 2302 movs r3, #2 - 8013e8c: f887 302d strb.w r3, [r7, #45] ; 0x2d + 8013a0a: 687b ldr r3, [r7, #4] + 8013a0c: 8b5b ldrh r3, [r3, #26] + 8013a0e: f403 6300 and.w r3, r3, #2048 ; 0x800 + 8013a12: 2b00 cmp r3, #0 + 8013a14: d001 beq.n 8013a1a + 8013a16: 2301 movs r3, #1 + 8013a18: e000 b.n 8013a1c + 8013a1a: 2302 movs r3, #2 + 8013a1c: f887 302d strb.w r3, [r7, #45] ; 0x2d /* RFC 3465, section 2.2 Slow Start */ increase = LWIP_MIN(acked, (tcpwnd_size_t)(num_seg * pcb->mss)); - 8013e90: f897 302d ldrb.w r3, [r7, #45] ; 0x2d - 8013e94: b29a uxth r2, r3 - 8013e96: 687b ldr r3, [r7, #4] - 8013e98: 8e5b ldrh r3, [r3, #50] ; 0x32 - 8013e9a: fb12 f303 smulbb r3, r2, r3 - 8013e9e: b29b uxth r3, r3 - 8013ea0: 8dfa ldrh r2, [r7, #46] ; 0x2e - 8013ea2: 4293 cmp r3, r2 - 8013ea4: bf28 it cs - 8013ea6: 4613 movcs r3, r2 - 8013ea8: 857b strh r3, [r7, #42] ; 0x2a + 8013a20: f897 302d ldrb.w r3, [r7, #45] ; 0x2d + 8013a24: b29a uxth r2, r3 + 8013a26: 687b ldr r3, [r7, #4] + 8013a28: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8013a2a: fb12 f303 smulbb r3, r2, r3 + 8013a2e: b29b uxth r3, r3 + 8013a30: 8dfa ldrh r2, [r7, #46] ; 0x2e + 8013a32: 4293 cmp r3, r2 + 8013a34: bf28 it cs + 8013a36: 4613 movcs r3, r2 + 8013a38: 857b strh r3, [r7, #42] ; 0x2a TCP_WND_INC(pcb->cwnd, increase); - 8013eaa: 687b ldr r3, [r7, #4] - 8013eac: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 - 8013eb0: 8d7b ldrh r3, [r7, #42] ; 0x2a - 8013eb2: 4413 add r3, r2 - 8013eb4: b29a uxth r2, r3 - 8013eb6: 687b ldr r3, [r7, #4] - 8013eb8: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 - 8013ebc: 429a cmp r2, r3 - 8013ebe: d309 bcc.n 8013ed4 - 8013ec0: 687b ldr r3, [r7, #4] - 8013ec2: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 - 8013ec6: 8d7b ldrh r3, [r7, #42] ; 0x2a - 8013ec8: 4413 add r3, r2 - 8013eca: b29a uxth r2, r3 - 8013ecc: 687b ldr r3, [r7, #4] - 8013ece: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 - 8013ed2: e060 b.n 8013f96 - 8013ed4: 687b ldr r3, [r7, #4] - 8013ed6: f64f 72ff movw r2, #65535 ; 0xffff - 8013eda: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 - 8013ede: e05a b.n 8013f96 - 8013ee0: 0801dab4 .word 0x0801dab4 - 8013ee4: 0801dde4 .word 0x0801dde4 - 8013ee8: 0801db00 .word 0x0801db00 - 8013eec: 0801de00 .word 0x0801de00 - 8013ef0: 20008758 .word 0x20008758 - 8013ef4: 2000874c .word 0x2000874c - 8013ef8: 20008750 .word 0x20008750 - 8013efc: 2000873c .word 0x2000873c - 8013f00: 20008756 .word 0x20008756 + 8013a3a: 687b ldr r3, [r7, #4] + 8013a3c: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 + 8013a40: 8d7b ldrh r3, [r7, #42] ; 0x2a + 8013a42: 4413 add r3, r2 + 8013a44: b29a uxth r2, r3 + 8013a46: 687b ldr r3, [r7, #4] + 8013a48: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 + 8013a4c: 429a cmp r2, r3 + 8013a4e: d309 bcc.n 8013a64 + 8013a50: 687b ldr r3, [r7, #4] + 8013a52: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 + 8013a56: 8d7b ldrh r3, [r7, #42] ; 0x2a + 8013a58: 4413 add r3, r2 + 8013a5a: b29a uxth r2, r3 + 8013a5c: 687b ldr r3, [r7, #4] + 8013a5e: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 + 8013a62: e060 b.n 8013b26 + 8013a64: 687b ldr r3, [r7, #4] + 8013a66: f64f 72ff movw r2, #65535 ; 0xffff + 8013a6a: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 + 8013a6e: e05a b.n 8013b26 + 8013a70: 0801d2b0 .word 0x0801d2b0 + 8013a74: 0801d5e0 .word 0x0801d5e0 + 8013a78: 0801d2fc .word 0x0801d2fc + 8013a7c: 0801d5fc .word 0x0801d5fc + 8013a80: 20008758 .word 0x20008758 + 8013a84: 2000874c .word 0x2000874c + 8013a88: 20008750 .word 0x20008750 + 8013a8c: 2000873c .word 0x2000873c + 8013a90: 20008756 .word 0x20008756 LWIP_DEBUGF(TCP_CWND_DEBUG, ("tcp_receive: slow start cwnd %"TCPWNDSIZE_F"\n", pcb->cwnd)); } else { /* RFC 3465, section 2.1 Congestion Avoidance */ TCP_WND_INC(pcb->bytes_acked, acked); - 8013f04: 687b ldr r3, [r7, #4] - 8013f06: f8b3 206a ldrh.w r2, [r3, #106] ; 0x6a - 8013f0a: 8dfb ldrh r3, [r7, #46] ; 0x2e - 8013f0c: 4413 add r3, r2 - 8013f0e: b29a uxth r2, r3 - 8013f10: 687b ldr r3, [r7, #4] - 8013f12: f8b3 306a ldrh.w r3, [r3, #106] ; 0x6a - 8013f16: 429a cmp r2, r3 - 8013f18: d309 bcc.n 8013f2e - 8013f1a: 687b ldr r3, [r7, #4] - 8013f1c: f8b3 206a ldrh.w r2, [r3, #106] ; 0x6a - 8013f20: 8dfb ldrh r3, [r7, #46] ; 0x2e - 8013f22: 4413 add r3, r2 - 8013f24: b29a uxth r2, r3 - 8013f26: 687b ldr r3, [r7, #4] - 8013f28: f8a3 206a strh.w r2, [r3, #106] ; 0x6a - 8013f2c: e004 b.n 8013f38 - 8013f2e: 687b ldr r3, [r7, #4] - 8013f30: f64f 72ff movw r2, #65535 ; 0xffff - 8013f34: f8a3 206a strh.w r2, [r3, #106] ; 0x6a + 8013a94: 687b ldr r3, [r7, #4] + 8013a96: f8b3 206a ldrh.w r2, [r3, #106] ; 0x6a + 8013a9a: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8013a9c: 4413 add r3, r2 + 8013a9e: b29a uxth r2, r3 + 8013aa0: 687b ldr r3, [r7, #4] + 8013aa2: f8b3 306a ldrh.w r3, [r3, #106] ; 0x6a + 8013aa6: 429a cmp r2, r3 + 8013aa8: d309 bcc.n 8013abe + 8013aaa: 687b ldr r3, [r7, #4] + 8013aac: f8b3 206a ldrh.w r2, [r3, #106] ; 0x6a + 8013ab0: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8013ab2: 4413 add r3, r2 + 8013ab4: b29a uxth r2, r3 + 8013ab6: 687b ldr r3, [r7, #4] + 8013ab8: f8a3 206a strh.w r2, [r3, #106] ; 0x6a + 8013abc: e004 b.n 8013ac8 + 8013abe: 687b ldr r3, [r7, #4] + 8013ac0: f64f 72ff movw r2, #65535 ; 0xffff + 8013ac4: f8a3 206a strh.w r2, [r3, #106] ; 0x6a if (pcb->bytes_acked >= pcb->cwnd) { - 8013f38: 687b ldr r3, [r7, #4] - 8013f3a: f8b3 206a ldrh.w r2, [r3, #106] ; 0x6a - 8013f3e: 687b ldr r3, [r7, #4] - 8013f40: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 - 8013f44: 429a cmp r2, r3 - 8013f46: d326 bcc.n 8013f96 + 8013ac8: 687b ldr r3, [r7, #4] + 8013aca: f8b3 206a ldrh.w r2, [r3, #106] ; 0x6a + 8013ace: 687b ldr r3, [r7, #4] + 8013ad0: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 + 8013ad4: 429a cmp r2, r3 + 8013ad6: d326 bcc.n 8013b26 pcb->bytes_acked = (tcpwnd_size_t)(pcb->bytes_acked - pcb->cwnd); - 8013f48: 687b ldr r3, [r7, #4] - 8013f4a: f8b3 206a ldrh.w r2, [r3, #106] ; 0x6a - 8013f4e: 687b ldr r3, [r7, #4] - 8013f50: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 - 8013f54: 1ad3 subs r3, r2, r3 - 8013f56: b29a uxth r2, r3 - 8013f58: 687b ldr r3, [r7, #4] - 8013f5a: f8a3 206a strh.w r2, [r3, #106] ; 0x6a + 8013ad8: 687b ldr r3, [r7, #4] + 8013ada: f8b3 206a ldrh.w r2, [r3, #106] ; 0x6a + 8013ade: 687b ldr r3, [r7, #4] + 8013ae0: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 + 8013ae4: 1ad3 subs r3, r2, r3 + 8013ae6: b29a uxth r2, r3 + 8013ae8: 687b ldr r3, [r7, #4] + 8013aea: f8a3 206a strh.w r2, [r3, #106] ; 0x6a TCP_WND_INC(pcb->cwnd, pcb->mss); - 8013f5e: 687b ldr r3, [r7, #4] - 8013f60: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 - 8013f64: 687b ldr r3, [r7, #4] - 8013f66: 8e5b ldrh r3, [r3, #50] ; 0x32 - 8013f68: 4413 add r3, r2 - 8013f6a: b29a uxth r2, r3 - 8013f6c: 687b ldr r3, [r7, #4] - 8013f6e: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 - 8013f72: 429a cmp r2, r3 - 8013f74: d30a bcc.n 8013f8c - 8013f76: 687b ldr r3, [r7, #4] - 8013f78: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 - 8013f7c: 687b ldr r3, [r7, #4] - 8013f7e: 8e5b ldrh r3, [r3, #50] ; 0x32 - 8013f80: 4413 add r3, r2 - 8013f82: b29a uxth r2, r3 - 8013f84: 687b ldr r3, [r7, #4] - 8013f86: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 - 8013f8a: e004 b.n 8013f96 - 8013f8c: 687b ldr r3, [r7, #4] - 8013f8e: f64f 72ff movw r2, #65535 ; 0xffff - 8013f92: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 + 8013aee: 687b ldr r3, [r7, #4] + 8013af0: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 + 8013af4: 687b ldr r3, [r7, #4] + 8013af6: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8013af8: 4413 add r3, r2 + 8013afa: b29a uxth r2, r3 + 8013afc: 687b ldr r3, [r7, #4] + 8013afe: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 + 8013b02: 429a cmp r2, r3 + 8013b04: d30a bcc.n 8013b1c + 8013b06: 687b ldr r3, [r7, #4] + 8013b08: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 + 8013b0c: 687b ldr r3, [r7, #4] + 8013b0e: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8013b10: 4413 add r3, r2 + 8013b12: b29a uxth r2, r3 + 8013b14: 687b ldr r3, [r7, #4] + 8013b16: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 + 8013b1a: e004 b.n 8013b26 + 8013b1c: 687b ldr r3, [r7, #4] + 8013b1e: f64f 72ff movw r2, #65535 ; 0xffff + 8013b22: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 pcb->unacked != NULL ? lwip_ntohl(pcb->unacked->tcphdr->seqno) + TCP_TCPLEN(pcb->unacked) : 0)); /* Remove segment from the unacknowledged list if the incoming ACK acknowledges them. */ pcb->unacked = tcp_free_acked_segments(pcb, pcb->unacked, "unacked", pcb->unsent); - 8013f96: 687b ldr r3, [r7, #4] - 8013f98: 6f19 ldr r1, [r3, #112] ; 0x70 - 8013f9a: 687b ldr r3, [r7, #4] - 8013f9c: 6edb ldr r3, [r3, #108] ; 0x6c - 8013f9e: 4a98 ldr r2, [pc, #608] ; (8014200 ) - 8013fa0: 6878 ldr r0, [r7, #4] - 8013fa2: f7ff fdcb bl 8013b3c - 8013fa6: 4602 mov r2, r0 - 8013fa8: 687b ldr r3, [r7, #4] - 8013faa: 671a str r2, [r3, #112] ; 0x70 + 8013b26: 687b ldr r3, [r7, #4] + 8013b28: 6f19 ldr r1, [r3, #112] ; 0x70 + 8013b2a: 687b ldr r3, [r7, #4] + 8013b2c: 6edb ldr r3, [r3, #108] ; 0x6c + 8013b2e: 4a98 ldr r2, [pc, #608] ; (8013d90 ) + 8013b30: 6878 ldr r0, [r7, #4] + 8013b32: f7ff fdcb bl 80136cc + 8013b36: 4602 mov r2, r0 + 8013b38: 687b ldr r3, [r7, #4] + 8013b3a: 671a str r2, [r3, #112] ; 0x70 on the list are acknowledged by the ACK. This may seem strange since an "unsent" segment shouldn't be acked. The rationale is that lwIP puts all outstanding segments on the ->unsent list after a retransmission, so these segments may in fact have been sent once. */ pcb->unsent = tcp_free_acked_segments(pcb, pcb->unsent, "unsent", pcb->unacked); - 8013fac: 687b ldr r3, [r7, #4] - 8013fae: 6ed9 ldr r1, [r3, #108] ; 0x6c - 8013fb0: 687b ldr r3, [r7, #4] - 8013fb2: 6f1b ldr r3, [r3, #112] ; 0x70 - 8013fb4: 4a93 ldr r2, [pc, #588] ; (8014204 ) - 8013fb6: 6878 ldr r0, [r7, #4] - 8013fb8: f7ff fdc0 bl 8013b3c - 8013fbc: 4602 mov r2, r0 - 8013fbe: 687b ldr r3, [r7, #4] - 8013fc0: 66da str r2, [r3, #108] ; 0x6c + 8013b3c: 687b ldr r3, [r7, #4] + 8013b3e: 6ed9 ldr r1, [r3, #108] ; 0x6c + 8013b40: 687b ldr r3, [r7, #4] + 8013b42: 6f1b ldr r3, [r3, #112] ; 0x70 + 8013b44: 4a93 ldr r2, [pc, #588] ; (8013d94 ) + 8013b46: 6878 ldr r0, [r7, #4] + 8013b48: f7ff fdc0 bl 80136cc + 8013b4c: 4602 mov r2, r0 + 8013b4e: 687b ldr r3, [r7, #4] + 8013b50: 66da str r2, [r3, #108] ; 0x6c /* If there's nothing left to acknowledge, stop the retransmit timer, otherwise reset it to start again */ if (pcb->unacked == NULL) { - 8013fc2: 687b ldr r3, [r7, #4] - 8013fc4: 6f1b ldr r3, [r3, #112] ; 0x70 - 8013fc6: 2b00 cmp r3, #0 - 8013fc8: d104 bne.n 8013fd4 + 8013b52: 687b ldr r3, [r7, #4] + 8013b54: 6f1b ldr r3, [r3, #112] ; 0x70 + 8013b56: 2b00 cmp r3, #0 + 8013b58: d104 bne.n 8013b64 pcb->rtime = -1; - 8013fca: 687b ldr r3, [r7, #4] - 8013fcc: f64f 72ff movw r2, #65535 ; 0xffff - 8013fd0: 861a strh r2, [r3, #48] ; 0x30 - 8013fd2: e002 b.n 8013fda + 8013b5a: 687b ldr r3, [r7, #4] + 8013b5c: f64f 72ff movw r2, #65535 ; 0xffff + 8013b60: 861a strh r2, [r3, #48] ; 0x30 + 8013b62: e002 b.n 8013b6a } else { pcb->rtime = 0; - 8013fd4: 687b ldr r3, [r7, #4] - 8013fd6: 2200 movs r2, #0 - 8013fd8: 861a strh r2, [r3, #48] ; 0x30 + 8013b64: 687b ldr r3, [r7, #4] + 8013b66: 2200 movs r2, #0 + 8013b68: 861a strh r2, [r3, #48] ; 0x30 } pcb->polltmr = 0; - 8013fda: 687b ldr r3, [r7, #4] - 8013fdc: 2200 movs r2, #0 - 8013fde: 771a strb r2, [r3, #28] + 8013b6a: 687b ldr r3, [r7, #4] + 8013b6c: 2200 movs r2, #0 + 8013b6e: 771a strb r2, [r3, #28] #if TCP_OVERSIZE if (pcb->unsent == NULL) { - 8013fe0: 687b ldr r3, [r7, #4] - 8013fe2: 6edb ldr r3, [r3, #108] ; 0x6c - 8013fe4: 2b00 cmp r3, #0 - 8013fe6: d103 bne.n 8013ff0 + 8013b70: 687b ldr r3, [r7, #4] + 8013b72: 6edb ldr r3, [r3, #108] ; 0x6c + 8013b74: 2b00 cmp r3, #0 + 8013b76: d103 bne.n 8013b80 pcb->unsent_oversize = 0; - 8013fe8: 687b ldr r3, [r7, #4] - 8013fea: 2200 movs r2, #0 - 8013fec: f8a3 2068 strh.w r2, [r3, #104] ; 0x68 + 8013b78: 687b ldr r3, [r7, #4] + 8013b7a: 2200 movs r2, #0 + 8013b7c: f8a3 2068 strh.w r2, [r3, #104] ; 0x68 /* Inform neighbor reachability of forward progress. */ nd6_reachability_hint(ip6_current_src_addr()); } #endif /* LWIP_IPV6 && LWIP_ND6_TCP_REACHABILITY_HINTS*/ pcb->snd_buf = (tcpwnd_size_t)(pcb->snd_buf + recv_acked); - 8013ff0: 687b ldr r3, [r7, #4] - 8013ff2: f8b3 2064 ldrh.w r2, [r3, #100] ; 0x64 - 8013ff6: 4b84 ldr r3, [pc, #528] ; (8014208 ) - 8013ff8: 881b ldrh r3, [r3, #0] - 8013ffa: 4413 add r3, r2 - 8013ffc: b29a uxth r2, r3 - 8013ffe: 687b ldr r3, [r7, #4] - 8014000: f8a3 2064 strh.w r2, [r3, #100] ; 0x64 + 8013b80: 687b ldr r3, [r7, #4] + 8013b82: f8b3 2064 ldrh.w r2, [r3, #100] ; 0x64 + 8013b86: 4b84 ldr r3, [pc, #528] ; (8013d98 ) + 8013b88: 881b ldrh r3, [r3, #0] + 8013b8a: 4413 add r3, r2 + 8013b8c: b29a uxth r2, r3 + 8013b8e: 687b ldr r3, [r7, #4] + 8013b90: f8a3 2064 strh.w r2, [r3, #100] ; 0x64 /* check if this ACK ends our retransmission of in-flight data */ if (pcb->flags & TF_RTO) { - 8014004: 687b ldr r3, [r7, #4] - 8014006: 8b5b ldrh r3, [r3, #26] - 8014008: f403 6300 and.w r3, r3, #2048 ; 0x800 - 801400c: 2b00 cmp r3, #0 - 801400e: d035 beq.n 801407c + 8013b94: 687b ldr r3, [r7, #4] + 8013b96: 8b5b ldrh r3, [r3, #26] + 8013b98: f403 6300 and.w r3, r3, #2048 ; 0x800 + 8013b9c: 2b00 cmp r3, #0 + 8013b9e: d035 beq.n 8013c0c /* RTO is done if 1) both queues are empty or 2) unacked is empty and unsent head contains data not part of RTO or 3) unacked head contains data not part of RTO */ if (pcb->unacked == NULL) { - 8014010: 687b ldr r3, [r7, #4] - 8014012: 6f1b ldr r3, [r3, #112] ; 0x70 - 8014014: 2b00 cmp r3, #0 - 8014016: d118 bne.n 801404a + 8013ba0: 687b ldr r3, [r7, #4] + 8013ba2: 6f1b ldr r3, [r3, #112] ; 0x70 + 8013ba4: 2b00 cmp r3, #0 + 8013ba6: d118 bne.n 8013bda if ((pcb->unsent == NULL) || - 8014018: 687b ldr r3, [r7, #4] - 801401a: 6edb ldr r3, [r3, #108] ; 0x6c - 801401c: 2b00 cmp r3, #0 - 801401e: d00c beq.n 801403a + 8013ba8: 687b ldr r3, [r7, #4] + 8013baa: 6edb ldr r3, [r3, #108] ; 0x6c + 8013bac: 2b00 cmp r3, #0 + 8013bae: d00c beq.n 8013bca (TCP_SEQ_LEQ(pcb->rto_end, lwip_ntohl(pcb->unsent->tcphdr->seqno)))) { - 8014020: 687b ldr r3, [r7, #4] - 8014022: 6cdc ldr r4, [r3, #76] ; 0x4c - 8014024: 687b ldr r3, [r7, #4] - 8014026: 6edb ldr r3, [r3, #108] ; 0x6c - 8014028: 68db ldr r3, [r3, #12] - 801402a: 685b ldr r3, [r3, #4] - 801402c: 4618 mov r0, r3 - 801402e: f7fb f974 bl 800f31a - 8014032: 4603 mov r3, r0 - 8014034: 1ae3 subs r3, r4, r3 + 8013bb0: 687b ldr r3, [r7, #4] + 8013bb2: 6cdc ldr r4, [r3, #76] ; 0x4c + 8013bb4: 687b ldr r3, [r7, #4] + 8013bb6: 6edb ldr r3, [r3, #108] ; 0x6c + 8013bb8: 68db ldr r3, [r3, #12] + 8013bba: 685b ldr r3, [r3, #4] + 8013bbc: 4618 mov r0, r3 + 8013bbe: f7fb f974 bl 800eeaa + 8013bc2: 4603 mov r3, r0 + 8013bc4: 1ae3 subs r3, r4, r3 if ((pcb->unsent == NULL) || - 8014036: 2b00 cmp r3, #0 - 8014038: dc20 bgt.n 801407c + 8013bc6: 2b00 cmp r3, #0 + 8013bc8: dc20 bgt.n 8013c0c tcp_clear_flags(pcb, TF_RTO); - 801403a: 687b ldr r3, [r7, #4] - 801403c: 8b5b ldrh r3, [r3, #26] - 801403e: f423 6300 bic.w r3, r3, #2048 ; 0x800 - 8014042: b29a uxth r2, r3 - 8014044: 687b ldr r3, [r7, #4] - 8014046: 835a strh r2, [r3, #26] + 8013bca: 687b ldr r3, [r7, #4] + 8013bcc: 8b5b ldrh r3, [r3, #26] + 8013bce: f423 6300 bic.w r3, r3, #2048 ; 0x800 + 8013bd2: b29a uxth r2, r3 + 8013bd4: 687b ldr r3, [r7, #4] + 8013bd6: 835a strh r2, [r3, #26] } else if (TCP_SEQ_BETWEEN(ackno, pcb->lastack + 1, pcb->snd_nxt)) { - 8014048: e018 b.n 801407c + 8013bd8: e018 b.n 8013c0c } } else if (TCP_SEQ_LEQ(pcb->rto_end, lwip_ntohl(pcb->unacked->tcphdr->seqno))) { - 801404a: 687b ldr r3, [r7, #4] - 801404c: 6cdc ldr r4, [r3, #76] ; 0x4c - 801404e: 687b ldr r3, [r7, #4] - 8014050: 6f1b ldr r3, [r3, #112] ; 0x70 - 8014052: 68db ldr r3, [r3, #12] - 8014054: 685b ldr r3, [r3, #4] - 8014056: 4618 mov r0, r3 - 8014058: f7fb f95f bl 800f31a - 801405c: 4603 mov r3, r0 - 801405e: 1ae3 subs r3, r4, r3 - 8014060: 2b00 cmp r3, #0 - 8014062: dc0b bgt.n 801407c + 8013bda: 687b ldr r3, [r7, #4] + 8013bdc: 6cdc ldr r4, [r3, #76] ; 0x4c + 8013bde: 687b ldr r3, [r7, #4] + 8013be0: 6f1b ldr r3, [r3, #112] ; 0x70 + 8013be2: 68db ldr r3, [r3, #12] + 8013be4: 685b ldr r3, [r3, #4] + 8013be6: 4618 mov r0, r3 + 8013be8: f7fb f95f bl 800eeaa + 8013bec: 4603 mov r3, r0 + 8013bee: 1ae3 subs r3, r4, r3 + 8013bf0: 2b00 cmp r3, #0 + 8013bf2: dc0b bgt.n 8013c0c tcp_clear_flags(pcb, TF_RTO); - 8014064: 687b ldr r3, [r7, #4] - 8014066: 8b5b ldrh r3, [r3, #26] - 8014068: f423 6300 bic.w r3, r3, #2048 ; 0x800 - 801406c: b29a uxth r2, r3 - 801406e: 687b ldr r3, [r7, #4] - 8014070: 835a strh r2, [r3, #26] + 8013bf4: 687b ldr r3, [r7, #4] + 8013bf6: 8b5b ldrh r3, [r3, #26] + 8013bf8: f423 6300 bic.w r3, r3, #2048 ; 0x800 + 8013bfc: b29a uxth r2, r3 + 8013bfe: 687b ldr r3, [r7, #4] + 8013c00: 835a strh r2, [r3, #26] } else if (TCP_SEQ_BETWEEN(ackno, pcb->lastack + 1, pcb->snd_nxt)) { - 8014072: e003 b.n 801407c + 8013c02: e003 b.n 8013c0c } } /* End of ACK for new data processing. */ } else { /* Out of sequence ACK, didn't really ack anything */ tcp_send_empty_ack(pcb); - 8014074: 6878 ldr r0, [r7, #4] - 8014076: f001 ff85 bl 8015f84 - 801407a: e000 b.n 801407e + 8013c04: 6878 ldr r0, [r7, #4] + 8013c06: f001 ff85 bl 8015b14 + 8013c0a: e000 b.n 8013c0e } else if (TCP_SEQ_BETWEEN(ackno, pcb->lastack + 1, pcb->snd_nxt)) { - 801407c: bf00 nop + 8013c0c: bf00 nop pcb->rttest, pcb->rtseq, ackno)); /* RTT estimation calculations. This is done by checking if the incoming segment acknowledges the segment we use to take a round-trip time measurement. */ if (pcb->rttest && TCP_SEQ_LT(pcb->rtseq, ackno)) { - 801407e: 687b ldr r3, [r7, #4] - 8014080: 6b5b ldr r3, [r3, #52] ; 0x34 - 8014082: 2b00 cmp r3, #0 - 8014084: d05b beq.n 801413e - 8014086: 687b ldr r3, [r7, #4] - 8014088: 6b9a ldr r2, [r3, #56] ; 0x38 - 801408a: 4b60 ldr r3, [pc, #384] ; (801420c ) - 801408c: 681b ldr r3, [r3, #0] - 801408e: 1ad3 subs r3, r2, r3 - 8014090: 2b00 cmp r3, #0 - 8014092: da54 bge.n 801413e + 8013c0e: 687b ldr r3, [r7, #4] + 8013c10: 6b5b ldr r3, [r3, #52] ; 0x34 + 8013c12: 2b00 cmp r3, #0 + 8013c14: d05b beq.n 8013cce + 8013c16: 687b ldr r3, [r7, #4] + 8013c18: 6b9a ldr r2, [r3, #56] ; 0x38 + 8013c1a: 4b60 ldr r3, [pc, #384] ; (8013d9c ) + 8013c1c: 681b ldr r3, [r3, #0] + 8013c1e: 1ad3 subs r3, r2, r3 + 8013c20: 2b00 cmp r3, #0 + 8013c22: da54 bge.n 8013cce /* diff between this shouldn't exceed 32K since this are tcp timer ticks and a round-trip shouldn't be that long... */ m = (s16_t)(tcp_ticks - pcb->rttest); - 8014094: 4b5e ldr r3, [pc, #376] ; (8014210 ) - 8014096: 681b ldr r3, [r3, #0] - 8014098: b29a uxth r2, r3 - 801409a: 687b ldr r3, [r7, #4] - 801409c: 6b5b ldr r3, [r3, #52] ; 0x34 - 801409e: b29b uxth r3, r3 - 80140a0: 1ad3 subs r3, r2, r3 - 80140a2: b29b uxth r3, r3 - 80140a4: f8a7 304e strh.w r3, [r7, #78] ; 0x4e + 8013c24: 4b5e ldr r3, [pc, #376] ; (8013da0 ) + 8013c26: 681b ldr r3, [r3, #0] + 8013c28: b29a uxth r2, r3 + 8013c2a: 687b ldr r3, [r7, #4] + 8013c2c: 6b5b ldr r3, [r3, #52] ; 0x34 + 8013c2e: b29b uxth r3, r3 + 8013c30: 1ad3 subs r3, r2, r3 + 8013c32: b29b uxth r3, r3 + 8013c34: f8a7 304e strh.w r3, [r7, #78] ; 0x4e LWIP_DEBUGF(TCP_RTO_DEBUG, ("tcp_receive: experienced rtt %"U16_F" ticks (%"U16_F" msec).\n", m, (u16_t)(m * TCP_SLOW_INTERVAL))); /* This is taken directly from VJs original code in his paper */ m = (s16_t)(m - (pcb->sa >> 3)); - 80140a8: f8b7 204e ldrh.w r2, [r7, #78] ; 0x4e - 80140ac: 687b ldr r3, [r7, #4] - 80140ae: f9b3 303c ldrsh.w r3, [r3, #60] ; 0x3c - 80140b2: 10db asrs r3, r3, #3 - 80140b4: b21b sxth r3, r3 - 80140b6: b29b uxth r3, r3 - 80140b8: 1ad3 subs r3, r2, r3 - 80140ba: b29b uxth r3, r3 - 80140bc: f8a7 304e strh.w r3, [r7, #78] ; 0x4e + 8013c38: f8b7 204e ldrh.w r2, [r7, #78] ; 0x4e + 8013c3c: 687b ldr r3, [r7, #4] + 8013c3e: f9b3 303c ldrsh.w r3, [r3, #60] ; 0x3c + 8013c42: 10db asrs r3, r3, #3 + 8013c44: b21b sxth r3, r3 + 8013c46: b29b uxth r3, r3 + 8013c48: 1ad3 subs r3, r2, r3 + 8013c4a: b29b uxth r3, r3 + 8013c4c: f8a7 304e strh.w r3, [r7, #78] ; 0x4e pcb->sa = (s16_t)(pcb->sa + m); - 80140c0: 687b ldr r3, [r7, #4] - 80140c2: f9b3 303c ldrsh.w r3, [r3, #60] ; 0x3c - 80140c6: b29a uxth r2, r3 - 80140c8: f8b7 304e ldrh.w r3, [r7, #78] ; 0x4e - 80140cc: 4413 add r3, r2 - 80140ce: b29b uxth r3, r3 - 80140d0: b21a sxth r2, r3 - 80140d2: 687b ldr r3, [r7, #4] - 80140d4: 879a strh r2, [r3, #60] ; 0x3c + 8013c50: 687b ldr r3, [r7, #4] + 8013c52: f9b3 303c ldrsh.w r3, [r3, #60] ; 0x3c + 8013c56: b29a uxth r2, r3 + 8013c58: f8b7 304e ldrh.w r3, [r7, #78] ; 0x4e + 8013c5c: 4413 add r3, r2 + 8013c5e: b29b uxth r3, r3 + 8013c60: b21a sxth r2, r3 + 8013c62: 687b ldr r3, [r7, #4] + 8013c64: 879a strh r2, [r3, #60] ; 0x3c if (m < 0) { - 80140d6: f9b7 304e ldrsh.w r3, [r7, #78] ; 0x4e - 80140da: 2b00 cmp r3, #0 - 80140dc: da05 bge.n 80140ea + 8013c66: f9b7 304e ldrsh.w r3, [r7, #78] ; 0x4e + 8013c6a: 2b00 cmp r3, #0 + 8013c6c: da05 bge.n 8013c7a m = (s16_t) - m; - 80140de: f8b7 304e ldrh.w r3, [r7, #78] ; 0x4e - 80140e2: 425b negs r3, r3 - 80140e4: b29b uxth r3, r3 - 80140e6: f8a7 304e strh.w r3, [r7, #78] ; 0x4e + 8013c6e: f8b7 304e ldrh.w r3, [r7, #78] ; 0x4e + 8013c72: 425b negs r3, r3 + 8013c74: b29b uxth r3, r3 + 8013c76: f8a7 304e strh.w r3, [r7, #78] ; 0x4e } m = (s16_t)(m - (pcb->sv >> 2)); - 80140ea: f8b7 204e ldrh.w r2, [r7, #78] ; 0x4e - 80140ee: 687b ldr r3, [r7, #4] - 80140f0: f9b3 303e ldrsh.w r3, [r3, #62] ; 0x3e - 80140f4: 109b asrs r3, r3, #2 - 80140f6: b21b sxth r3, r3 - 80140f8: b29b uxth r3, r3 - 80140fa: 1ad3 subs r3, r2, r3 - 80140fc: b29b uxth r3, r3 - 80140fe: f8a7 304e strh.w r3, [r7, #78] ; 0x4e + 8013c7a: f8b7 204e ldrh.w r2, [r7, #78] ; 0x4e + 8013c7e: 687b ldr r3, [r7, #4] + 8013c80: f9b3 303e ldrsh.w r3, [r3, #62] ; 0x3e + 8013c84: 109b asrs r3, r3, #2 + 8013c86: b21b sxth r3, r3 + 8013c88: b29b uxth r3, r3 + 8013c8a: 1ad3 subs r3, r2, r3 + 8013c8c: b29b uxth r3, r3 + 8013c8e: f8a7 304e strh.w r3, [r7, #78] ; 0x4e pcb->sv = (s16_t)(pcb->sv + m); - 8014102: 687b ldr r3, [r7, #4] - 8014104: f9b3 303e ldrsh.w r3, [r3, #62] ; 0x3e - 8014108: b29a uxth r2, r3 - 801410a: f8b7 304e ldrh.w r3, [r7, #78] ; 0x4e - 801410e: 4413 add r3, r2 - 8014110: b29b uxth r3, r3 - 8014112: b21a sxth r2, r3 - 8014114: 687b ldr r3, [r7, #4] - 8014116: 87da strh r2, [r3, #62] ; 0x3e + 8013c92: 687b ldr r3, [r7, #4] + 8013c94: f9b3 303e ldrsh.w r3, [r3, #62] ; 0x3e + 8013c98: b29a uxth r2, r3 + 8013c9a: f8b7 304e ldrh.w r3, [r7, #78] ; 0x4e + 8013c9e: 4413 add r3, r2 + 8013ca0: b29b uxth r3, r3 + 8013ca2: b21a sxth r2, r3 + 8013ca4: 687b ldr r3, [r7, #4] + 8013ca6: 87da strh r2, [r3, #62] ; 0x3e pcb->rto = (s16_t)((pcb->sa >> 3) + pcb->sv); - 8014118: 687b ldr r3, [r7, #4] - 801411a: f9b3 303c ldrsh.w r3, [r3, #60] ; 0x3c - 801411e: 10db asrs r3, r3, #3 - 8014120: b21b sxth r3, r3 - 8014122: b29a uxth r2, r3 - 8014124: 687b ldr r3, [r7, #4] - 8014126: f9b3 303e ldrsh.w r3, [r3, #62] ; 0x3e - 801412a: b29b uxth r3, r3 - 801412c: 4413 add r3, r2 - 801412e: b29b uxth r3, r3 - 8014130: b21a sxth r2, r3 - 8014132: 687b ldr r3, [r7, #4] - 8014134: f8a3 2040 strh.w r2, [r3, #64] ; 0x40 + 8013ca8: 687b ldr r3, [r7, #4] + 8013caa: f9b3 303c ldrsh.w r3, [r3, #60] ; 0x3c + 8013cae: 10db asrs r3, r3, #3 + 8013cb0: b21b sxth r3, r3 + 8013cb2: b29a uxth r2, r3 + 8013cb4: 687b ldr r3, [r7, #4] + 8013cb6: f9b3 303e ldrsh.w r3, [r3, #62] ; 0x3e + 8013cba: b29b uxth r3, r3 + 8013cbc: 4413 add r3, r2 + 8013cbe: b29b uxth r3, r3 + 8013cc0: b21a sxth r2, r3 + 8013cc2: 687b ldr r3, [r7, #4] + 8013cc4: f8a3 2040 strh.w r2, [r3, #64] ; 0x40 LWIP_DEBUGF(TCP_RTO_DEBUG, ("tcp_receive: RTO %"U16_F" (%"U16_F" milliseconds)\n", pcb->rto, (u16_t)(pcb->rto * TCP_SLOW_INTERVAL))); pcb->rttest = 0; - 8014138: 687b ldr r3, [r7, #4] - 801413a: 2200 movs r2, #0 - 801413c: 635a str r2, [r3, #52] ; 0x34 + 8013cc8: 687b ldr r3, [r7, #4] + 8013cca: 2200 movs r2, #0 + 8013ccc: 635a str r2, [r3, #52] ; 0x34 /* If the incoming segment contains data, we must process it further unless the pcb already received a FIN. (RFC 793, chapter 3.9, "SEGMENT ARRIVES" in states CLOSE-WAIT, CLOSING, LAST-ACK and TIME-WAIT: "Ignore the segment text.") */ if ((tcplen > 0) && (pcb->state < CLOSE_WAIT)) { - 801413e: 4b35 ldr r3, [pc, #212] ; (8014214 ) - 8014140: 881b ldrh r3, [r3, #0] - 8014142: 2b00 cmp r3, #0 - 8014144: f000 84e1 beq.w 8014b0a - 8014148: 687b ldr r3, [r7, #4] - 801414a: 7d1b ldrb r3, [r3, #20] - 801414c: 2b06 cmp r3, #6 - 801414e: f200 84dc bhi.w 8014b0a + 8013cce: 4b35 ldr r3, [pc, #212] ; (8013da4 ) + 8013cd0: 881b ldrh r3, [r3, #0] + 8013cd2: 2b00 cmp r3, #0 + 8013cd4: f000 84e1 beq.w 801469a + 8013cd8: 687b ldr r3, [r7, #4] + 8013cda: 7d1b ldrb r3, [r3, #20] + 8013cdc: 2b06 cmp r3, #6 + 8013cde: f200 84dc bhi.w 801469a this if the sequence number of the incoming segment is less than rcv_nxt, and the sequence number plus the length of the segment is larger than rcv_nxt. */ /* if (TCP_SEQ_LT(seqno, pcb->rcv_nxt)) { if (TCP_SEQ_LT(pcb->rcv_nxt, seqno + tcplen)) {*/ if (TCP_SEQ_BETWEEN(pcb->rcv_nxt, seqno + 1, seqno + tcplen - 1)) { - 8014152: 687b ldr r3, [r7, #4] - 8014154: 6a5a ldr r2, [r3, #36] ; 0x24 - 8014156: 4b30 ldr r3, [pc, #192] ; (8014218 ) - 8014158: 681b ldr r3, [r3, #0] - 801415a: 1ad3 subs r3, r2, r3 - 801415c: 3b01 subs r3, #1 - 801415e: 2b00 cmp r3, #0 - 8014160: f2c0 808e blt.w 8014280 - 8014164: 687b ldr r3, [r7, #4] - 8014166: 6a5a ldr r2, [r3, #36] ; 0x24 - 8014168: 4b2a ldr r3, [pc, #168] ; (8014214 ) - 801416a: 881b ldrh r3, [r3, #0] - 801416c: 4619 mov r1, r3 - 801416e: 4b2a ldr r3, [pc, #168] ; (8014218 ) - 8014170: 681b ldr r3, [r3, #0] - 8014172: 440b add r3, r1 - 8014174: 1ad3 subs r3, r2, r3 - 8014176: 3301 adds r3, #1 - 8014178: 2b00 cmp r3, #0 - 801417a: f300 8081 bgt.w 8014280 + 8013ce2: 687b ldr r3, [r7, #4] + 8013ce4: 6a5a ldr r2, [r3, #36] ; 0x24 + 8013ce6: 4b30 ldr r3, [pc, #192] ; (8013da8 ) + 8013ce8: 681b ldr r3, [r3, #0] + 8013cea: 1ad3 subs r3, r2, r3 + 8013cec: 3b01 subs r3, #1 + 8013cee: 2b00 cmp r3, #0 + 8013cf0: f2c0 808e blt.w 8013e10 + 8013cf4: 687b ldr r3, [r7, #4] + 8013cf6: 6a5a ldr r2, [r3, #36] ; 0x24 + 8013cf8: 4b2a ldr r3, [pc, #168] ; (8013da4 ) + 8013cfa: 881b ldrh r3, [r3, #0] + 8013cfc: 4619 mov r1, r3 + 8013cfe: 4b2a ldr r3, [pc, #168] ; (8013da8 ) + 8013d00: 681b ldr r3, [r3, #0] + 8013d02: 440b add r3, r1 + 8013d04: 1ad3 subs r3, r2, r3 + 8013d06: 3301 adds r3, #1 + 8013d08: 2b00 cmp r3, #0 + 8013d0a: f300 8081 bgt.w 8013e10 After we are done with adjusting the pbuf pointers we must adjust the ->data pointer in the seg and the segment length.*/ struct pbuf *p = inseg.p; - 801417e: 4b27 ldr r3, [pc, #156] ; (801421c ) - 8014180: 685b ldr r3, [r3, #4] - 8014182: 647b str r3, [r7, #68] ; 0x44 + 8013d0e: 4b27 ldr r3, [pc, #156] ; (8013dac ) + 8013d10: 685b ldr r3, [r3, #4] + 8013d12: 647b str r3, [r7, #68] ; 0x44 u32_t off32 = pcb->rcv_nxt - seqno; - 8014184: 687b ldr r3, [r7, #4] - 8014186: 6a5a ldr r2, [r3, #36] ; 0x24 - 8014188: 4b23 ldr r3, [pc, #140] ; (8014218 ) - 801418a: 681b ldr r3, [r3, #0] - 801418c: 1ad3 subs r3, r2, r3 - 801418e: 627b str r3, [r7, #36] ; 0x24 + 8013d14: 687b ldr r3, [r7, #4] + 8013d16: 6a5a ldr r2, [r3, #36] ; 0x24 + 8013d18: 4b23 ldr r3, [pc, #140] ; (8013da8 ) + 8013d1a: 681b ldr r3, [r3, #0] + 8013d1c: 1ad3 subs r3, r2, r3 + 8013d1e: 627b str r3, [r7, #36] ; 0x24 u16_t new_tot_len, off; LWIP_ASSERT("inseg.p != NULL", inseg.p); - 8014190: 4b22 ldr r3, [pc, #136] ; (801421c ) - 8014192: 685b ldr r3, [r3, #4] - 8014194: 2b00 cmp r3, #0 - 8014196: d106 bne.n 80141a6 - 8014198: 4b21 ldr r3, [pc, #132] ; (8014220 ) - 801419a: f240 5294 movw r2, #1428 ; 0x594 - 801419e: 4921 ldr r1, [pc, #132] ; (8014224 ) - 80141a0: 4821 ldr r0, [pc, #132] ; (8014228 ) - 80141a2: f007 f989 bl 801b4b8 + 8013d20: 4b22 ldr r3, [pc, #136] ; (8013dac ) + 8013d22: 685b ldr r3, [r3, #4] + 8013d24: 2b00 cmp r3, #0 + 8013d26: d106 bne.n 8013d36 + 8013d28: 4b21 ldr r3, [pc, #132] ; (8013db0 ) + 8013d2a: f240 5294 movw r2, #1428 ; 0x594 + 8013d2e: 4921 ldr r1, [pc, #132] ; (8013db4 ) + 8013d30: 4821 ldr r0, [pc, #132] ; (8013db8 ) + 8013d32: f007 f96f bl 801b014 LWIP_ASSERT("insane offset!", (off32 < 0xffff)); - 80141a6: 6a7b ldr r3, [r7, #36] ; 0x24 - 80141a8: f64f 72fe movw r2, #65534 ; 0xfffe - 80141ac: 4293 cmp r3, r2 - 80141ae: d906 bls.n 80141be - 80141b0: 4b1b ldr r3, [pc, #108] ; (8014220 ) - 80141b2: f240 5295 movw r2, #1429 ; 0x595 - 80141b6: 491d ldr r1, [pc, #116] ; (801422c ) - 80141b8: 481b ldr r0, [pc, #108] ; (8014228 ) - 80141ba: f007 f97d bl 801b4b8 + 8013d36: 6a7b ldr r3, [r7, #36] ; 0x24 + 8013d38: f64f 72fe movw r2, #65534 ; 0xfffe + 8013d3c: 4293 cmp r3, r2 + 8013d3e: d906 bls.n 8013d4e + 8013d40: 4b1b ldr r3, [pc, #108] ; (8013db0 ) + 8013d42: f240 5295 movw r2, #1429 ; 0x595 + 8013d46: 491d ldr r1, [pc, #116] ; (8013dbc ) + 8013d48: 481b ldr r0, [pc, #108] ; (8013db8 ) + 8013d4a: f007 f963 bl 801b014 off = (u16_t)off32; - 80141be: 6a7b ldr r3, [r7, #36] ; 0x24 - 80141c0: f8a7 3042 strh.w r3, [r7, #66] ; 0x42 + 8013d4e: 6a7b ldr r3, [r7, #36] ; 0x24 + 8013d50: f8a7 3042 strh.w r3, [r7, #66] ; 0x42 LWIP_ASSERT("pbuf too short!", (((s32_t)inseg.p->tot_len) >= off)); - 80141c4: 4b15 ldr r3, [pc, #84] ; (801421c ) - 80141c6: 685b ldr r3, [r3, #4] - 80141c8: 891b ldrh r3, [r3, #8] - 80141ca: f8b7 2042 ldrh.w r2, [r7, #66] ; 0x42 - 80141ce: 429a cmp r2, r3 - 80141d0: d906 bls.n 80141e0 - 80141d2: 4b13 ldr r3, [pc, #76] ; (8014220 ) - 80141d4: f240 5297 movw r2, #1431 ; 0x597 - 80141d8: 4915 ldr r1, [pc, #84] ; (8014230 ) - 80141da: 4813 ldr r0, [pc, #76] ; (8014228 ) - 80141dc: f007 f96c bl 801b4b8 + 8013d54: 4b15 ldr r3, [pc, #84] ; (8013dac ) + 8013d56: 685b ldr r3, [r3, #4] + 8013d58: 891b ldrh r3, [r3, #8] + 8013d5a: f8b7 2042 ldrh.w r2, [r7, #66] ; 0x42 + 8013d5e: 429a cmp r2, r3 + 8013d60: d906 bls.n 8013d70 + 8013d62: 4b13 ldr r3, [pc, #76] ; (8013db0 ) + 8013d64: f240 5297 movw r2, #1431 ; 0x597 + 8013d68: 4915 ldr r1, [pc, #84] ; (8013dc0 ) + 8013d6a: 4813 ldr r0, [pc, #76] ; (8013db8 ) + 8013d6c: f007 f952 bl 801b014 inseg.len -= off; - 80141e0: 4b0e ldr r3, [pc, #56] ; (801421c ) - 80141e2: 891a ldrh r2, [r3, #8] - 80141e4: f8b7 3042 ldrh.w r3, [r7, #66] ; 0x42 - 80141e8: 1ad3 subs r3, r2, r3 - 80141ea: b29a uxth r2, r3 - 80141ec: 4b0b ldr r3, [pc, #44] ; (801421c ) - 80141ee: 811a strh r2, [r3, #8] + 8013d70: 4b0e ldr r3, [pc, #56] ; (8013dac ) + 8013d72: 891a ldrh r2, [r3, #8] + 8013d74: f8b7 3042 ldrh.w r3, [r7, #66] ; 0x42 + 8013d78: 1ad3 subs r3, r2, r3 + 8013d7a: b29a uxth r2, r3 + 8013d7c: 4b0b ldr r3, [pc, #44] ; (8013dac ) + 8013d7e: 811a strh r2, [r3, #8] new_tot_len = (u16_t)(inseg.p->tot_len - off); - 80141f0: 4b0a ldr r3, [pc, #40] ; (801421c ) - 80141f2: 685b ldr r3, [r3, #4] - 80141f4: 891a ldrh r2, [r3, #8] - 80141f6: f8b7 3042 ldrh.w r3, [r7, #66] ; 0x42 - 80141fa: 1ad3 subs r3, r2, r3 - 80141fc: 847b strh r3, [r7, #34] ; 0x22 + 8013d80: 4b0a ldr r3, [pc, #40] ; (8013dac ) + 8013d82: 685b ldr r3, [r3, #4] + 8013d84: 891a ldrh r2, [r3, #8] + 8013d86: f8b7 3042 ldrh.w r3, [r7, #66] ; 0x42 + 8013d8a: 1ad3 subs r3, r2, r3 + 8013d8c: 847b strh r3, [r7, #34] ; 0x22 while (p->len < off) { - 80141fe: e029 b.n 8014254 - 8014200: 0801de1c .word 0x0801de1c - 8014204: 0801de24 .word 0x0801de24 - 8014208: 20008754 .word 0x20008754 - 801420c: 20008750 .word 0x20008750 - 8014210: 2000f5c8 .word 0x2000f5c8 - 8014214: 20008756 .word 0x20008756 - 8014218: 2000874c .word 0x2000874c - 801421c: 2000872c .word 0x2000872c - 8014220: 0801dab4 .word 0x0801dab4 - 8014224: 0801de2c .word 0x0801de2c - 8014228: 0801db00 .word 0x0801db00 - 801422c: 0801de3c .word 0x0801de3c - 8014230: 0801de4c .word 0x0801de4c + 8013d8e: e029 b.n 8013de4 + 8013d90: 0801d618 .word 0x0801d618 + 8013d94: 0801d620 .word 0x0801d620 + 8013d98: 20008754 .word 0x20008754 + 8013d9c: 20008750 .word 0x20008750 + 8013da0: 2000f5c4 .word 0x2000f5c4 + 8013da4: 20008756 .word 0x20008756 + 8013da8: 2000874c .word 0x2000874c + 8013dac: 2000872c .word 0x2000872c + 8013db0: 0801d2b0 .word 0x0801d2b0 + 8013db4: 0801d628 .word 0x0801d628 + 8013db8: 0801d2fc .word 0x0801d2fc + 8013dbc: 0801d638 .word 0x0801d638 + 8013dc0: 0801d648 .word 0x0801d648 off -= p->len; - 8014234: 6c7b ldr r3, [r7, #68] ; 0x44 - 8014236: 895b ldrh r3, [r3, #10] - 8014238: f8b7 2042 ldrh.w r2, [r7, #66] ; 0x42 - 801423c: 1ad3 subs r3, r2, r3 - 801423e: f8a7 3042 strh.w r3, [r7, #66] ; 0x42 + 8013dc4: 6c7b ldr r3, [r7, #68] ; 0x44 + 8013dc6: 895b ldrh r3, [r3, #10] + 8013dc8: f8b7 2042 ldrh.w r2, [r7, #66] ; 0x42 + 8013dcc: 1ad3 subs r3, r2, r3 + 8013dce: f8a7 3042 strh.w r3, [r7, #66] ; 0x42 /* all pbufs up to and including this one have len==0, so tot_len is equal */ p->tot_len = new_tot_len; - 8014242: 6c7b ldr r3, [r7, #68] ; 0x44 - 8014244: 8c7a ldrh r2, [r7, #34] ; 0x22 - 8014246: 811a strh r2, [r3, #8] + 8013dd2: 6c7b ldr r3, [r7, #68] ; 0x44 + 8013dd4: 8c7a ldrh r2, [r7, #34] ; 0x22 + 8013dd6: 811a strh r2, [r3, #8] p->len = 0; - 8014248: 6c7b ldr r3, [r7, #68] ; 0x44 - 801424a: 2200 movs r2, #0 - 801424c: 815a strh r2, [r3, #10] + 8013dd8: 6c7b ldr r3, [r7, #68] ; 0x44 + 8013dda: 2200 movs r2, #0 + 8013ddc: 815a strh r2, [r3, #10] p = p->next; - 801424e: 6c7b ldr r3, [r7, #68] ; 0x44 - 8014250: 681b ldr r3, [r3, #0] - 8014252: 647b str r3, [r7, #68] ; 0x44 + 8013dde: 6c7b ldr r3, [r7, #68] ; 0x44 + 8013de0: 681b ldr r3, [r3, #0] + 8013de2: 647b str r3, [r7, #68] ; 0x44 while (p->len < off) { - 8014254: 6c7b ldr r3, [r7, #68] ; 0x44 - 8014256: 895b ldrh r3, [r3, #10] - 8014258: f8b7 2042 ldrh.w r2, [r7, #66] ; 0x42 - 801425c: 429a cmp r2, r3 - 801425e: d8e9 bhi.n 8014234 + 8013de4: 6c7b ldr r3, [r7, #68] ; 0x44 + 8013de6: 895b ldrh r3, [r3, #10] + 8013de8: f8b7 2042 ldrh.w r2, [r7, #66] ; 0x42 + 8013dec: 429a cmp r2, r3 + 8013dee: d8e9 bhi.n 8013dc4 } /* cannot fail... */ pbuf_remove_header(p, off); - 8014260: f8b7 3042 ldrh.w r3, [r7, #66] ; 0x42 - 8014264: 4619 mov r1, r3 - 8014266: 6c78 ldr r0, [r7, #68] ; 0x44 - 8014268: f7fc fb70 bl 801094c + 8013df0: f8b7 3042 ldrh.w r3, [r7, #66] ; 0x42 + 8013df4: 4619 mov r1, r3 + 8013df6: 6c78 ldr r0, [r7, #68] ; 0x44 + 8013df8: f7fc fb70 bl 80104dc inseg.tcphdr->seqno = seqno = pcb->rcv_nxt; - 801426c: 687b ldr r3, [r7, #4] - 801426e: 6a5b ldr r3, [r3, #36] ; 0x24 - 8014270: 4a91 ldr r2, [pc, #580] ; (80144b8 ) - 8014272: 6013 str r3, [r2, #0] - 8014274: 4b91 ldr r3, [pc, #580] ; (80144bc ) - 8014276: 68db ldr r3, [r3, #12] - 8014278: 4a8f ldr r2, [pc, #572] ; (80144b8 ) - 801427a: 6812 ldr r2, [r2, #0] - 801427c: 605a str r2, [r3, #4] + 8013dfc: 687b ldr r3, [r7, #4] + 8013dfe: 6a5b ldr r3, [r3, #36] ; 0x24 + 8013e00: 4a91 ldr r2, [pc, #580] ; (8014048 ) + 8013e02: 6013 str r3, [r2, #0] + 8013e04: 4b91 ldr r3, [pc, #580] ; (801404c ) + 8013e06: 68db ldr r3, [r3, #12] + 8013e08: 4a8f ldr r2, [pc, #572] ; (8014048 ) + 8013e0a: 6812 ldr r2, [r2, #0] + 8013e0c: 605a str r2, [r3, #4] if (TCP_SEQ_BETWEEN(pcb->rcv_nxt, seqno + 1, seqno + tcplen - 1)) { - 801427e: e00d b.n 801429c + 8013e0e: e00d b.n 8013e2c } else { if (TCP_SEQ_LT(seqno, pcb->rcv_nxt)) { - 8014280: 4b8d ldr r3, [pc, #564] ; (80144b8 ) - 8014282: 681a ldr r2, [r3, #0] - 8014284: 687b ldr r3, [r7, #4] - 8014286: 6a5b ldr r3, [r3, #36] ; 0x24 - 8014288: 1ad3 subs r3, r2, r3 - 801428a: 2b00 cmp r3, #0 - 801428c: da06 bge.n 801429c + 8013e10: 4b8d ldr r3, [pc, #564] ; (8014048 ) + 8013e12: 681a ldr r2, [r3, #0] + 8013e14: 687b ldr r3, [r7, #4] + 8013e16: 6a5b ldr r3, [r3, #36] ; 0x24 + 8013e18: 1ad3 subs r3, r2, r3 + 8013e1a: 2b00 cmp r3, #0 + 8013e1c: da06 bge.n 8013e2c /* the whole segment is < rcv_nxt */ /* must be a duplicate of a packet that has already been correctly handled */ LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: duplicate seqno %"U32_F"\n", seqno)); tcp_ack_now(pcb); - 801428e: 687b ldr r3, [r7, #4] - 8014290: 8b5b ldrh r3, [r3, #26] - 8014292: f043 0302 orr.w r3, r3, #2 - 8014296: b29a uxth r2, r3 - 8014298: 687b ldr r3, [r7, #4] - 801429a: 835a strh r2, [r3, #26] + 8013e1e: 687b ldr r3, [r7, #4] + 8013e20: 8b5b ldrh r3, [r3, #26] + 8013e22: f043 0302 orr.w r3, r3, #2 + 8013e26: b29a uxth r2, r3 + 8013e28: 687b ldr r3, [r7, #4] + 8013e2a: 835a strh r2, [r3, #26] } /* The sequence number must be within the window (above rcv_nxt and below rcv_nxt + rcv_wnd) in order to be further processed. */ if (TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, - 801429c: 4b86 ldr r3, [pc, #536] ; (80144b8 ) - 801429e: 681a ldr r2, [r3, #0] - 80142a0: 687b ldr r3, [r7, #4] - 80142a2: 6a5b ldr r3, [r3, #36] ; 0x24 - 80142a4: 1ad3 subs r3, r2, r3 - 80142a6: 2b00 cmp r3, #0 - 80142a8: f2c0 842a blt.w 8014b00 - 80142ac: 4b82 ldr r3, [pc, #520] ; (80144b8 ) - 80142ae: 681a ldr r2, [r3, #0] - 80142b0: 687b ldr r3, [r7, #4] - 80142b2: 6a5b ldr r3, [r3, #36] ; 0x24 - 80142b4: 6879 ldr r1, [r7, #4] - 80142b6: 8d09 ldrh r1, [r1, #40] ; 0x28 - 80142b8: 440b add r3, r1 - 80142ba: 1ad3 subs r3, r2, r3 - 80142bc: 3301 adds r3, #1 - 80142be: 2b00 cmp r3, #0 - 80142c0: f300 841e bgt.w 8014b00 + 8013e2c: 4b86 ldr r3, [pc, #536] ; (8014048 ) + 8013e2e: 681a ldr r2, [r3, #0] + 8013e30: 687b ldr r3, [r7, #4] + 8013e32: 6a5b ldr r3, [r3, #36] ; 0x24 + 8013e34: 1ad3 subs r3, r2, r3 + 8013e36: 2b00 cmp r3, #0 + 8013e38: f2c0 842a blt.w 8014690 + 8013e3c: 4b82 ldr r3, [pc, #520] ; (8014048 ) + 8013e3e: 681a ldr r2, [r3, #0] + 8013e40: 687b ldr r3, [r7, #4] + 8013e42: 6a5b ldr r3, [r3, #36] ; 0x24 + 8013e44: 6879 ldr r1, [r7, #4] + 8013e46: 8d09 ldrh r1, [r1, #40] ; 0x28 + 8013e48: 440b add r3, r1 + 8013e4a: 1ad3 subs r3, r2, r3 + 8013e4c: 3301 adds r3, #1 + 8013e4e: 2b00 cmp r3, #0 + 8013e50: f300 841e bgt.w 8014690 pcb->rcv_nxt + pcb->rcv_wnd - 1)) { if (pcb->rcv_nxt == seqno) { - 80142c4: 687b ldr r3, [r7, #4] - 80142c6: 6a5a ldr r2, [r3, #36] ; 0x24 - 80142c8: 4b7b ldr r3, [pc, #492] ; (80144b8 ) - 80142ca: 681b ldr r3, [r3, #0] - 80142cc: 429a cmp r2, r3 - 80142ce: f040 829a bne.w 8014806 + 8013e54: 687b ldr r3, [r7, #4] + 8013e56: 6a5a ldr r2, [r3, #36] ; 0x24 + 8013e58: 4b7b ldr r3, [pc, #492] ; (8014048 ) + 8013e5a: 681b ldr r3, [r3, #0] + 8013e5c: 429a cmp r2, r3 + 8013e5e: f040 829a bne.w 8014396 /* The incoming segment is the next in sequence. We check if we have to trim the end of the segment and update rcv_nxt and pass the data to the application. */ tcplen = TCP_TCPLEN(&inseg); - 80142d2: 4b7a ldr r3, [pc, #488] ; (80144bc ) - 80142d4: 891c ldrh r4, [r3, #8] - 80142d6: 4b79 ldr r3, [pc, #484] ; (80144bc ) - 80142d8: 68db ldr r3, [r3, #12] - 80142da: 899b ldrh r3, [r3, #12] - 80142dc: b29b uxth r3, r3 - 80142de: 4618 mov r0, r3 - 80142e0: f7fb f806 bl 800f2f0 - 80142e4: 4603 mov r3, r0 - 80142e6: b2db uxtb r3, r3 - 80142e8: f003 0303 and.w r3, r3, #3 - 80142ec: 2b00 cmp r3, #0 - 80142ee: d001 beq.n 80142f4 - 80142f0: 2301 movs r3, #1 - 80142f2: e000 b.n 80142f6 - 80142f4: 2300 movs r3, #0 - 80142f6: 4423 add r3, r4 - 80142f8: b29a uxth r2, r3 - 80142fa: 4b71 ldr r3, [pc, #452] ; (80144c0 ) - 80142fc: 801a strh r2, [r3, #0] + 8013e62: 4b7a ldr r3, [pc, #488] ; (801404c ) + 8013e64: 891c ldrh r4, [r3, #8] + 8013e66: 4b79 ldr r3, [pc, #484] ; (801404c ) + 8013e68: 68db ldr r3, [r3, #12] + 8013e6a: 899b ldrh r3, [r3, #12] + 8013e6c: b29b uxth r3, r3 + 8013e6e: 4618 mov r0, r3 + 8013e70: f7fb f806 bl 800ee80 + 8013e74: 4603 mov r3, r0 + 8013e76: b2db uxtb r3, r3 + 8013e78: f003 0303 and.w r3, r3, #3 + 8013e7c: 2b00 cmp r3, #0 + 8013e7e: d001 beq.n 8013e84 + 8013e80: 2301 movs r3, #1 + 8013e82: e000 b.n 8013e86 + 8013e84: 2300 movs r3, #0 + 8013e86: 4423 add r3, r4 + 8013e88: b29a uxth r2, r3 + 8013e8a: 4b71 ldr r3, [pc, #452] ; (8014050 ) + 8013e8c: 801a strh r2, [r3, #0] if (tcplen > pcb->rcv_wnd) { - 80142fe: 687b ldr r3, [r7, #4] - 8014300: 8d1a ldrh r2, [r3, #40] ; 0x28 - 8014302: 4b6f ldr r3, [pc, #444] ; (80144c0 ) - 8014304: 881b ldrh r3, [r3, #0] - 8014306: 429a cmp r2, r3 - 8014308: d275 bcs.n 80143f6 + 8013e8e: 687b ldr r3, [r7, #4] + 8013e90: 8d1a ldrh r2, [r3, #40] ; 0x28 + 8013e92: 4b6f ldr r3, [pc, #444] ; (8014050 ) + 8013e94: 881b ldrh r3, [r3, #0] + 8013e96: 429a cmp r2, r3 + 8013e98: d275 bcs.n 8013f86 LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: other end overran receive window" "seqno %"U32_F" len %"U16_F" right edge %"U32_F"\n", seqno, tcplen, pcb->rcv_nxt + pcb->rcv_wnd)); if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) { - 801430a: 4b6c ldr r3, [pc, #432] ; (80144bc ) - 801430c: 68db ldr r3, [r3, #12] - 801430e: 899b ldrh r3, [r3, #12] - 8014310: b29b uxth r3, r3 - 8014312: 4618 mov r0, r3 - 8014314: f7fa ffec bl 800f2f0 - 8014318: 4603 mov r3, r0 - 801431a: b2db uxtb r3, r3 - 801431c: f003 0301 and.w r3, r3, #1 - 8014320: 2b00 cmp r3, #0 - 8014322: d01f beq.n 8014364 + 8013e9a: 4b6c ldr r3, [pc, #432] ; (801404c ) + 8013e9c: 68db ldr r3, [r3, #12] + 8013e9e: 899b ldrh r3, [r3, #12] + 8013ea0: b29b uxth r3, r3 + 8013ea2: 4618 mov r0, r3 + 8013ea4: f7fa ffec bl 800ee80 + 8013ea8: 4603 mov r3, r0 + 8013eaa: b2db uxtb r3, r3 + 8013eac: f003 0301 and.w r3, r3, #1 + 8013eb0: 2b00 cmp r3, #0 + 8013eb2: d01f beq.n 8013ef4 /* Must remove the FIN from the header as we're trimming * that byte of sequence-space from the packet */ TCPH_FLAGS_SET(inseg.tcphdr, TCPH_FLAGS(inseg.tcphdr) & ~(unsigned int)TCP_FIN); - 8014324: 4b65 ldr r3, [pc, #404] ; (80144bc ) - 8014326: 68db ldr r3, [r3, #12] - 8014328: 899b ldrh r3, [r3, #12] - 801432a: b29b uxth r3, r3 - 801432c: b21b sxth r3, r3 - 801432e: f423 537c bic.w r3, r3, #16128 ; 0x3f00 - 8014332: b21c sxth r4, r3 - 8014334: 4b61 ldr r3, [pc, #388] ; (80144bc ) - 8014336: 68db ldr r3, [r3, #12] - 8014338: 899b ldrh r3, [r3, #12] - 801433a: b29b uxth r3, r3 - 801433c: 4618 mov r0, r3 - 801433e: f7fa ffd7 bl 800f2f0 - 8014342: 4603 mov r3, r0 - 8014344: b2db uxtb r3, r3 - 8014346: b29b uxth r3, r3 - 8014348: f003 033e and.w r3, r3, #62 ; 0x3e - 801434c: b29b uxth r3, r3 - 801434e: 4618 mov r0, r3 - 8014350: f7fa ffce bl 800f2f0 - 8014354: 4603 mov r3, r0 - 8014356: b21b sxth r3, r3 - 8014358: 4323 orrs r3, r4 - 801435a: b21a sxth r2, r3 - 801435c: 4b57 ldr r3, [pc, #348] ; (80144bc ) - 801435e: 68db ldr r3, [r3, #12] - 8014360: b292 uxth r2, r2 - 8014362: 819a strh r2, [r3, #12] + 8013eb4: 4b65 ldr r3, [pc, #404] ; (801404c ) + 8013eb6: 68db ldr r3, [r3, #12] + 8013eb8: 899b ldrh r3, [r3, #12] + 8013eba: b29b uxth r3, r3 + 8013ebc: b21b sxth r3, r3 + 8013ebe: f423 537c bic.w r3, r3, #16128 ; 0x3f00 + 8013ec2: b21c sxth r4, r3 + 8013ec4: 4b61 ldr r3, [pc, #388] ; (801404c ) + 8013ec6: 68db ldr r3, [r3, #12] + 8013ec8: 899b ldrh r3, [r3, #12] + 8013eca: b29b uxth r3, r3 + 8013ecc: 4618 mov r0, r3 + 8013ece: f7fa ffd7 bl 800ee80 + 8013ed2: 4603 mov r3, r0 + 8013ed4: b2db uxtb r3, r3 + 8013ed6: b29b uxth r3, r3 + 8013ed8: f003 033e and.w r3, r3, #62 ; 0x3e + 8013edc: b29b uxth r3, r3 + 8013ede: 4618 mov r0, r3 + 8013ee0: f7fa ffce bl 800ee80 + 8013ee4: 4603 mov r3, r0 + 8013ee6: b21b sxth r3, r3 + 8013ee8: 4323 orrs r3, r4 + 8013eea: b21a sxth r2, r3 + 8013eec: 4b57 ldr r3, [pc, #348] ; (801404c ) + 8013eee: 68db ldr r3, [r3, #12] + 8013ef0: b292 uxth r2, r2 + 8013ef2: 819a strh r2, [r3, #12] } /* Adjust length of segment to fit in the window. */ TCPWND_CHECK16(pcb->rcv_wnd); inseg.len = (u16_t)pcb->rcv_wnd; - 8014364: 687b ldr r3, [r7, #4] - 8014366: 8d1a ldrh r2, [r3, #40] ; 0x28 - 8014368: 4b54 ldr r3, [pc, #336] ; (80144bc ) - 801436a: 811a strh r2, [r3, #8] + 8013ef4: 687b ldr r3, [r7, #4] + 8013ef6: 8d1a ldrh r2, [r3, #40] ; 0x28 + 8013ef8: 4b54 ldr r3, [pc, #336] ; (801404c ) + 8013efa: 811a strh r2, [r3, #8] if (TCPH_FLAGS(inseg.tcphdr) & TCP_SYN) { - 801436c: 4b53 ldr r3, [pc, #332] ; (80144bc ) - 801436e: 68db ldr r3, [r3, #12] - 8014370: 899b ldrh r3, [r3, #12] - 8014372: b29b uxth r3, r3 - 8014374: 4618 mov r0, r3 - 8014376: f7fa ffbb bl 800f2f0 - 801437a: 4603 mov r3, r0 - 801437c: b2db uxtb r3, r3 - 801437e: f003 0302 and.w r3, r3, #2 - 8014382: 2b00 cmp r3, #0 - 8014384: d005 beq.n 8014392 + 8013efc: 4b53 ldr r3, [pc, #332] ; (801404c ) + 8013efe: 68db ldr r3, [r3, #12] + 8013f00: 899b ldrh r3, [r3, #12] + 8013f02: b29b uxth r3, r3 + 8013f04: 4618 mov r0, r3 + 8013f06: f7fa ffbb bl 800ee80 + 8013f0a: 4603 mov r3, r0 + 8013f0c: b2db uxtb r3, r3 + 8013f0e: f003 0302 and.w r3, r3, #2 + 8013f12: 2b00 cmp r3, #0 + 8013f14: d005 beq.n 8013f22 inseg.len -= 1; - 8014386: 4b4d ldr r3, [pc, #308] ; (80144bc ) - 8014388: 891b ldrh r3, [r3, #8] - 801438a: 3b01 subs r3, #1 - 801438c: b29a uxth r2, r3 - 801438e: 4b4b ldr r3, [pc, #300] ; (80144bc ) - 8014390: 811a strh r2, [r3, #8] + 8013f16: 4b4d ldr r3, [pc, #308] ; (801404c ) + 8013f18: 891b ldrh r3, [r3, #8] + 8013f1a: 3b01 subs r3, #1 + 8013f1c: b29a uxth r2, r3 + 8013f1e: 4b4b ldr r3, [pc, #300] ; (801404c ) + 8013f20: 811a strh r2, [r3, #8] } pbuf_realloc(inseg.p, inseg.len); - 8014392: 4b4a ldr r3, [pc, #296] ; (80144bc ) - 8014394: 685a ldr r2, [r3, #4] - 8014396: 4b49 ldr r3, [pc, #292] ; (80144bc ) - 8014398: 891b ldrh r3, [r3, #8] - 801439a: 4619 mov r1, r3 - 801439c: 4610 mov r0, r2 - 801439e: f7fc f9d5 bl 801074c + 8013f22: 4b4a ldr r3, [pc, #296] ; (801404c ) + 8013f24: 685a ldr r2, [r3, #4] + 8013f26: 4b49 ldr r3, [pc, #292] ; (801404c ) + 8013f28: 891b ldrh r3, [r3, #8] + 8013f2a: 4619 mov r1, r3 + 8013f2c: 4610 mov r0, r2 + 8013f2e: f7fc f9d5 bl 80102dc tcplen = TCP_TCPLEN(&inseg); - 80143a2: 4b46 ldr r3, [pc, #280] ; (80144bc ) - 80143a4: 891c ldrh r4, [r3, #8] - 80143a6: 4b45 ldr r3, [pc, #276] ; (80144bc ) - 80143a8: 68db ldr r3, [r3, #12] - 80143aa: 899b ldrh r3, [r3, #12] - 80143ac: b29b uxth r3, r3 - 80143ae: 4618 mov r0, r3 - 80143b0: f7fa ff9e bl 800f2f0 - 80143b4: 4603 mov r3, r0 - 80143b6: b2db uxtb r3, r3 - 80143b8: f003 0303 and.w r3, r3, #3 - 80143bc: 2b00 cmp r3, #0 - 80143be: d001 beq.n 80143c4 - 80143c0: 2301 movs r3, #1 - 80143c2: e000 b.n 80143c6 - 80143c4: 2300 movs r3, #0 - 80143c6: 4423 add r3, r4 - 80143c8: b29a uxth r2, r3 - 80143ca: 4b3d ldr r3, [pc, #244] ; (80144c0 ) - 80143cc: 801a strh r2, [r3, #0] + 8013f32: 4b46 ldr r3, [pc, #280] ; (801404c ) + 8013f34: 891c ldrh r4, [r3, #8] + 8013f36: 4b45 ldr r3, [pc, #276] ; (801404c ) + 8013f38: 68db ldr r3, [r3, #12] + 8013f3a: 899b ldrh r3, [r3, #12] + 8013f3c: b29b uxth r3, r3 + 8013f3e: 4618 mov r0, r3 + 8013f40: f7fa ff9e bl 800ee80 + 8013f44: 4603 mov r3, r0 + 8013f46: b2db uxtb r3, r3 + 8013f48: f003 0303 and.w r3, r3, #3 + 8013f4c: 2b00 cmp r3, #0 + 8013f4e: d001 beq.n 8013f54 + 8013f50: 2301 movs r3, #1 + 8013f52: e000 b.n 8013f56 + 8013f54: 2300 movs r3, #0 + 8013f56: 4423 add r3, r4 + 8013f58: b29a uxth r2, r3 + 8013f5a: 4b3d ldr r3, [pc, #244] ; (8014050 ) + 8013f5c: 801a strh r2, [r3, #0] LWIP_ASSERT("tcp_receive: segment not trimmed correctly to rcv_wnd\n", - 80143ce: 4b3c ldr r3, [pc, #240] ; (80144c0 ) - 80143d0: 881b ldrh r3, [r3, #0] - 80143d2: 461a mov r2, r3 - 80143d4: 4b38 ldr r3, [pc, #224] ; (80144b8 ) - 80143d6: 681b ldr r3, [r3, #0] - 80143d8: 441a add r2, r3 - 80143da: 687b ldr r3, [r7, #4] - 80143dc: 6a5b ldr r3, [r3, #36] ; 0x24 - 80143de: 6879 ldr r1, [r7, #4] - 80143e0: 8d09 ldrh r1, [r1, #40] ; 0x28 - 80143e2: 440b add r3, r1 - 80143e4: 429a cmp r2, r3 - 80143e6: d006 beq.n 80143f6 - 80143e8: 4b36 ldr r3, [pc, #216] ; (80144c4 ) - 80143ea: f240 52cc movw r2, #1484 ; 0x5cc - 80143ee: 4936 ldr r1, [pc, #216] ; (80144c8 ) - 80143f0: 4836 ldr r0, [pc, #216] ; (80144cc ) - 80143f2: f007 f861 bl 801b4b8 + 8013f5e: 4b3c ldr r3, [pc, #240] ; (8014050 ) + 8013f60: 881b ldrh r3, [r3, #0] + 8013f62: 461a mov r2, r3 + 8013f64: 4b38 ldr r3, [pc, #224] ; (8014048 ) + 8013f66: 681b ldr r3, [r3, #0] + 8013f68: 441a add r2, r3 + 8013f6a: 687b ldr r3, [r7, #4] + 8013f6c: 6a5b ldr r3, [r3, #36] ; 0x24 + 8013f6e: 6879 ldr r1, [r7, #4] + 8013f70: 8d09 ldrh r1, [r1, #40] ; 0x28 + 8013f72: 440b add r3, r1 + 8013f74: 429a cmp r2, r3 + 8013f76: d006 beq.n 8013f86 + 8013f78: 4b36 ldr r3, [pc, #216] ; (8014054 ) + 8013f7a: f240 52cc movw r2, #1484 ; 0x5cc + 8013f7e: 4936 ldr r1, [pc, #216] ; (8014058 ) + 8013f80: 4836 ldr r0, [pc, #216] ; (801405c ) + 8013f82: f007 f847 bl 801b014 } #if TCP_QUEUE_OOSEQ /* Received in-sequence data, adjust ooseq data if: - FIN has been received or - inseq overlaps with ooseq */ if (pcb->ooseq != NULL) { - 80143f6: 687b ldr r3, [r7, #4] - 80143f8: 6f5b ldr r3, [r3, #116] ; 0x74 - 80143fa: 2b00 cmp r3, #0 - 80143fc: f000 80e7 beq.w 80145ce + 8013f86: 687b ldr r3, [r7, #4] + 8013f88: 6f5b ldr r3, [r3, #116] ; 0x74 + 8013f8a: 2b00 cmp r3, #0 + 8013f8c: f000 80e7 beq.w 801415e if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) { - 8014400: 4b2e ldr r3, [pc, #184] ; (80144bc ) - 8014402: 68db ldr r3, [r3, #12] - 8014404: 899b ldrh r3, [r3, #12] - 8014406: b29b uxth r3, r3 - 8014408: 4618 mov r0, r3 - 801440a: f7fa ff71 bl 800f2f0 - 801440e: 4603 mov r3, r0 - 8014410: b2db uxtb r3, r3 - 8014412: f003 0301 and.w r3, r3, #1 - 8014416: 2b00 cmp r3, #0 - 8014418: d010 beq.n 801443c + 8013f90: 4b2e ldr r3, [pc, #184] ; (801404c ) + 8013f92: 68db ldr r3, [r3, #12] + 8013f94: 899b ldrh r3, [r3, #12] + 8013f96: b29b uxth r3, r3 + 8013f98: 4618 mov r0, r3 + 8013f9a: f7fa ff71 bl 800ee80 + 8013f9e: 4603 mov r3, r0 + 8013fa0: b2db uxtb r3, r3 + 8013fa2: f003 0301 and.w r3, r3, #1 + 8013fa6: 2b00 cmp r3, #0 + 8013fa8: d010 beq.n 8013fcc LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: received in-order FIN, binning ooseq queue\n")); /* Received in-order FIN means anything that was received * out of order must now have been received in-order, so * bin the ooseq queue */ while (pcb->ooseq != NULL) { - 801441a: e00a b.n 8014432 + 8013faa: e00a b.n 8013fc2 struct tcp_seg *old_ooseq = pcb->ooseq; - 801441c: 687b ldr r3, [r7, #4] - 801441e: 6f5b ldr r3, [r3, #116] ; 0x74 - 8014420: 60fb str r3, [r7, #12] + 8013fac: 687b ldr r3, [r7, #4] + 8013fae: 6f5b ldr r3, [r3, #116] ; 0x74 + 8013fb0: 60fb str r3, [r7, #12] pcb->ooseq = pcb->ooseq->next; - 8014422: 687b ldr r3, [r7, #4] - 8014424: 6f5b ldr r3, [r3, #116] ; 0x74 - 8014426: 681a ldr r2, [r3, #0] - 8014428: 687b ldr r3, [r7, #4] - 801442a: 675a str r2, [r3, #116] ; 0x74 + 8013fb2: 687b ldr r3, [r7, #4] + 8013fb4: 6f5b ldr r3, [r3, #116] ; 0x74 + 8013fb6: 681a ldr r2, [r3, #0] + 8013fb8: 687b ldr r3, [r7, #4] + 8013fba: 675a str r2, [r3, #116] ; 0x74 tcp_seg_free(old_ooseq); - 801442c: 68f8 ldr r0, [r7, #12] - 801442e: f7fd fd97 bl 8011f60 + 8013fbc: 68f8 ldr r0, [r7, #12] + 8013fbe: f7fd fd97 bl 8011af0 while (pcb->ooseq != NULL) { - 8014432: 687b ldr r3, [r7, #4] - 8014434: 6f5b ldr r3, [r3, #116] ; 0x74 - 8014436: 2b00 cmp r3, #0 - 8014438: d1f0 bne.n 801441c - 801443a: e0c8 b.n 80145ce + 8013fc2: 687b ldr r3, [r7, #4] + 8013fc4: 6f5b ldr r3, [r3, #116] ; 0x74 + 8013fc6: 2b00 cmp r3, #0 + 8013fc8: d1f0 bne.n 8013fac + 8013fca: e0c8 b.n 801415e } } else { struct tcp_seg *next = pcb->ooseq; - 801443c: 687b ldr r3, [r7, #4] - 801443e: 6f5b ldr r3, [r3, #116] ; 0x74 - 8014440: 63fb str r3, [r7, #60] ; 0x3c + 8013fcc: 687b ldr r3, [r7, #4] + 8013fce: 6f5b ldr r3, [r3, #116] ; 0x74 + 8013fd0: 63fb str r3, [r7, #60] ; 0x3c /* Remove all segments on ooseq that are covered by inseg already. * FIN is copied from ooseq to inseg if present. */ while (next && - 8014442: e052 b.n 80144ea + 8013fd2: e052 b.n 801407a TCP_SEQ_GEQ(seqno + tcplen, next->tcphdr->seqno + next->len)) { struct tcp_seg *tmp; /* inseg cannot have FIN here (already processed above) */ if ((TCPH_FLAGS(next->tcphdr) & TCP_FIN) != 0 && - 8014444: 6bfb ldr r3, [r7, #60] ; 0x3c - 8014446: 68db ldr r3, [r3, #12] - 8014448: 899b ldrh r3, [r3, #12] - 801444a: b29b uxth r3, r3 - 801444c: 4618 mov r0, r3 - 801444e: f7fa ff4f bl 800f2f0 - 8014452: 4603 mov r3, r0 - 8014454: b2db uxtb r3, r3 - 8014456: f003 0301 and.w r3, r3, #1 - 801445a: 2b00 cmp r3, #0 - 801445c: d03d beq.n 80144da + 8013fd4: 6bfb ldr r3, [r7, #60] ; 0x3c + 8013fd6: 68db ldr r3, [r3, #12] + 8013fd8: 899b ldrh r3, [r3, #12] + 8013fda: b29b uxth r3, r3 + 8013fdc: 4618 mov r0, r3 + 8013fde: f7fa ff4f bl 800ee80 + 8013fe2: 4603 mov r3, r0 + 8013fe4: b2db uxtb r3, r3 + 8013fe6: f003 0301 and.w r3, r3, #1 + 8013fea: 2b00 cmp r3, #0 + 8013fec: d03d beq.n 801406a (TCPH_FLAGS(inseg.tcphdr) & TCP_SYN) == 0) { - 801445e: 4b17 ldr r3, [pc, #92] ; (80144bc ) - 8014460: 68db ldr r3, [r3, #12] - 8014462: 899b ldrh r3, [r3, #12] - 8014464: b29b uxth r3, r3 - 8014466: 4618 mov r0, r3 - 8014468: f7fa ff42 bl 800f2f0 - 801446c: 4603 mov r3, r0 - 801446e: b2db uxtb r3, r3 - 8014470: f003 0302 and.w r3, r3, #2 + 8013fee: 4b17 ldr r3, [pc, #92] ; (801404c ) + 8013ff0: 68db ldr r3, [r3, #12] + 8013ff2: 899b ldrh r3, [r3, #12] + 8013ff4: b29b uxth r3, r3 + 8013ff6: 4618 mov r0, r3 + 8013ff8: f7fa ff42 bl 800ee80 + 8013ffc: 4603 mov r3, r0 + 8013ffe: b2db uxtb r3, r3 + 8014000: f003 0302 and.w r3, r3, #2 if ((TCPH_FLAGS(next->tcphdr) & TCP_FIN) != 0 && - 8014474: 2b00 cmp r3, #0 - 8014476: d130 bne.n 80144da + 8014004: 2b00 cmp r3, #0 + 8014006: d130 bne.n 801406a TCPH_SET_FLAG(inseg.tcphdr, TCP_FIN); - 8014478: 4b10 ldr r3, [pc, #64] ; (80144bc ) - 801447a: 68db ldr r3, [r3, #12] - 801447c: 899b ldrh r3, [r3, #12] - 801447e: b29c uxth r4, r3 - 8014480: 2001 movs r0, #1 - 8014482: f7fa ff35 bl 800f2f0 - 8014486: 4603 mov r3, r0 - 8014488: 461a mov r2, r3 - 801448a: 4b0c ldr r3, [pc, #48] ; (80144bc ) - 801448c: 68db ldr r3, [r3, #12] - 801448e: 4322 orrs r2, r4 - 8014490: b292 uxth r2, r2 - 8014492: 819a strh r2, [r3, #12] + 8014008: 4b10 ldr r3, [pc, #64] ; (801404c ) + 801400a: 68db ldr r3, [r3, #12] + 801400c: 899b ldrh r3, [r3, #12] + 801400e: b29c uxth r4, r3 + 8014010: 2001 movs r0, #1 + 8014012: f7fa ff35 bl 800ee80 + 8014016: 4603 mov r3, r0 + 8014018: 461a mov r2, r3 + 801401a: 4b0c ldr r3, [pc, #48] ; (801404c ) + 801401c: 68db ldr r3, [r3, #12] + 801401e: 4322 orrs r2, r4 + 8014020: b292 uxth r2, r2 + 8014022: 819a strh r2, [r3, #12] tcplen = TCP_TCPLEN(&inseg); - 8014494: 4b09 ldr r3, [pc, #36] ; (80144bc ) - 8014496: 891c ldrh r4, [r3, #8] - 8014498: 4b08 ldr r3, [pc, #32] ; (80144bc ) - 801449a: 68db ldr r3, [r3, #12] - 801449c: 899b ldrh r3, [r3, #12] - 801449e: b29b uxth r3, r3 - 80144a0: 4618 mov r0, r3 - 80144a2: f7fa ff25 bl 800f2f0 - 80144a6: 4603 mov r3, r0 - 80144a8: b2db uxtb r3, r3 - 80144aa: f003 0303 and.w r3, r3, #3 - 80144ae: 2b00 cmp r3, #0 - 80144b0: d00e beq.n 80144d0 - 80144b2: 2301 movs r3, #1 - 80144b4: e00d b.n 80144d2 - 80144b6: bf00 nop - 80144b8: 2000874c .word 0x2000874c - 80144bc: 2000872c .word 0x2000872c - 80144c0: 20008756 .word 0x20008756 - 80144c4: 0801dab4 .word 0x0801dab4 - 80144c8: 0801de5c .word 0x0801de5c - 80144cc: 0801db00 .word 0x0801db00 - 80144d0: 2300 movs r3, #0 - 80144d2: 4423 add r3, r4 - 80144d4: b29a uxth r2, r3 - 80144d6: 4b98 ldr r3, [pc, #608] ; (8014738 ) - 80144d8: 801a strh r2, [r3, #0] + 8014024: 4b09 ldr r3, [pc, #36] ; (801404c ) + 8014026: 891c ldrh r4, [r3, #8] + 8014028: 4b08 ldr r3, [pc, #32] ; (801404c ) + 801402a: 68db ldr r3, [r3, #12] + 801402c: 899b ldrh r3, [r3, #12] + 801402e: b29b uxth r3, r3 + 8014030: 4618 mov r0, r3 + 8014032: f7fa ff25 bl 800ee80 + 8014036: 4603 mov r3, r0 + 8014038: b2db uxtb r3, r3 + 801403a: f003 0303 and.w r3, r3, #3 + 801403e: 2b00 cmp r3, #0 + 8014040: d00e beq.n 8014060 + 8014042: 2301 movs r3, #1 + 8014044: e00d b.n 8014062 + 8014046: bf00 nop + 8014048: 2000874c .word 0x2000874c + 801404c: 2000872c .word 0x2000872c + 8014050: 20008756 .word 0x20008756 + 8014054: 0801d2b0 .word 0x0801d2b0 + 8014058: 0801d658 .word 0x0801d658 + 801405c: 0801d2fc .word 0x0801d2fc + 8014060: 2300 movs r3, #0 + 8014062: 4423 add r3, r4 + 8014064: b29a uxth r2, r3 + 8014066: 4b98 ldr r3, [pc, #608] ; (80142c8 ) + 8014068: 801a strh r2, [r3, #0] } tmp = next; - 80144da: 6bfb ldr r3, [r7, #60] ; 0x3c - 80144dc: 613b str r3, [r7, #16] + 801406a: 6bfb ldr r3, [r7, #60] ; 0x3c + 801406c: 613b str r3, [r7, #16] next = next->next; - 80144de: 6bfb ldr r3, [r7, #60] ; 0x3c - 80144e0: 681b ldr r3, [r3, #0] - 80144e2: 63fb str r3, [r7, #60] ; 0x3c + 801406e: 6bfb ldr r3, [r7, #60] ; 0x3c + 8014070: 681b ldr r3, [r3, #0] + 8014072: 63fb str r3, [r7, #60] ; 0x3c tcp_seg_free(tmp); - 80144e4: 6938 ldr r0, [r7, #16] - 80144e6: f7fd fd3b bl 8011f60 + 8014074: 6938 ldr r0, [r7, #16] + 8014076: f7fd fd3b bl 8011af0 while (next && - 80144ea: 6bfb ldr r3, [r7, #60] ; 0x3c - 80144ec: 2b00 cmp r3, #0 - 80144ee: d00e beq.n 801450e + 801407a: 6bfb ldr r3, [r7, #60] ; 0x3c + 801407c: 2b00 cmp r3, #0 + 801407e: d00e beq.n 801409e TCP_SEQ_GEQ(seqno + tcplen, - 80144f0: 4b91 ldr r3, [pc, #580] ; (8014738 ) - 80144f2: 881b ldrh r3, [r3, #0] - 80144f4: 461a mov r2, r3 - 80144f6: 4b91 ldr r3, [pc, #580] ; (801473c ) - 80144f8: 681b ldr r3, [r3, #0] - 80144fa: 441a add r2, r3 - 80144fc: 6bfb ldr r3, [r7, #60] ; 0x3c - 80144fe: 68db ldr r3, [r3, #12] - 8014500: 685b ldr r3, [r3, #4] - 8014502: 6bf9 ldr r1, [r7, #60] ; 0x3c - 8014504: 8909 ldrh r1, [r1, #8] - 8014506: 440b add r3, r1 - 8014508: 1ad3 subs r3, r2, r3 + 8014080: 4b91 ldr r3, [pc, #580] ; (80142c8 ) + 8014082: 881b ldrh r3, [r3, #0] + 8014084: 461a mov r2, r3 + 8014086: 4b91 ldr r3, [pc, #580] ; (80142cc ) + 8014088: 681b ldr r3, [r3, #0] + 801408a: 441a add r2, r3 + 801408c: 6bfb ldr r3, [r7, #60] ; 0x3c + 801408e: 68db ldr r3, [r3, #12] + 8014090: 685b ldr r3, [r3, #4] + 8014092: 6bf9 ldr r1, [r7, #60] ; 0x3c + 8014094: 8909 ldrh r1, [r1, #8] + 8014096: 440b add r3, r1 + 8014098: 1ad3 subs r3, r2, r3 while (next && - 801450a: 2b00 cmp r3, #0 - 801450c: da9a bge.n 8014444 + 801409a: 2b00 cmp r3, #0 + 801409c: da9a bge.n 8013fd4 } /* Now trim right side of inseg if it overlaps with the first * segment on ooseq */ if (next && - 801450e: 6bfb ldr r3, [r7, #60] ; 0x3c - 8014510: 2b00 cmp r3, #0 - 8014512: d059 beq.n 80145c8 + 801409e: 6bfb ldr r3, [r7, #60] ; 0x3c + 80140a0: 2b00 cmp r3, #0 + 80140a2: d059 beq.n 8014158 TCP_SEQ_GT(seqno + tcplen, - 8014514: 4b88 ldr r3, [pc, #544] ; (8014738 ) - 8014516: 881b ldrh r3, [r3, #0] - 8014518: 461a mov r2, r3 - 801451a: 4b88 ldr r3, [pc, #544] ; (801473c ) - 801451c: 681b ldr r3, [r3, #0] - 801451e: 441a add r2, r3 - 8014520: 6bfb ldr r3, [r7, #60] ; 0x3c - 8014522: 68db ldr r3, [r3, #12] - 8014524: 685b ldr r3, [r3, #4] - 8014526: 1ad3 subs r3, r2, r3 + 80140a4: 4b88 ldr r3, [pc, #544] ; (80142c8 ) + 80140a6: 881b ldrh r3, [r3, #0] + 80140a8: 461a mov r2, r3 + 80140aa: 4b88 ldr r3, [pc, #544] ; (80142cc ) + 80140ac: 681b ldr r3, [r3, #0] + 80140ae: 441a add r2, r3 + 80140b0: 6bfb ldr r3, [r7, #60] ; 0x3c + 80140b2: 68db ldr r3, [r3, #12] + 80140b4: 685b ldr r3, [r3, #4] + 80140b6: 1ad3 subs r3, r2, r3 if (next && - 8014528: 2b00 cmp r3, #0 - 801452a: dd4d ble.n 80145c8 + 80140b8: 2b00 cmp r3, #0 + 80140ba: dd4d ble.n 8014158 next->tcphdr->seqno)) { /* inseg cannot have FIN here (already processed above) */ inseg.len = (u16_t)(next->tcphdr->seqno - seqno); - 801452c: 6bfb ldr r3, [r7, #60] ; 0x3c - 801452e: 68db ldr r3, [r3, #12] - 8014530: 685b ldr r3, [r3, #4] - 8014532: b29a uxth r2, r3 - 8014534: 4b81 ldr r3, [pc, #516] ; (801473c ) - 8014536: 681b ldr r3, [r3, #0] - 8014538: b29b uxth r3, r3 - 801453a: 1ad3 subs r3, r2, r3 - 801453c: b29a uxth r2, r3 - 801453e: 4b80 ldr r3, [pc, #512] ; (8014740 ) - 8014540: 811a strh r2, [r3, #8] + 80140bc: 6bfb ldr r3, [r7, #60] ; 0x3c + 80140be: 68db ldr r3, [r3, #12] + 80140c0: 685b ldr r3, [r3, #4] + 80140c2: b29a uxth r2, r3 + 80140c4: 4b81 ldr r3, [pc, #516] ; (80142cc ) + 80140c6: 681b ldr r3, [r3, #0] + 80140c8: b29b uxth r3, r3 + 80140ca: 1ad3 subs r3, r2, r3 + 80140cc: b29a uxth r2, r3 + 80140ce: 4b80 ldr r3, [pc, #512] ; (80142d0 ) + 80140d0: 811a strh r2, [r3, #8] if (TCPH_FLAGS(inseg.tcphdr) & TCP_SYN) { - 8014542: 4b7f ldr r3, [pc, #508] ; (8014740 ) - 8014544: 68db ldr r3, [r3, #12] - 8014546: 899b ldrh r3, [r3, #12] - 8014548: b29b uxth r3, r3 - 801454a: 4618 mov r0, r3 - 801454c: f7fa fed0 bl 800f2f0 - 8014550: 4603 mov r3, r0 - 8014552: b2db uxtb r3, r3 - 8014554: f003 0302 and.w r3, r3, #2 - 8014558: 2b00 cmp r3, #0 - 801455a: d005 beq.n 8014568 + 80140d2: 4b7f ldr r3, [pc, #508] ; (80142d0 ) + 80140d4: 68db ldr r3, [r3, #12] + 80140d6: 899b ldrh r3, [r3, #12] + 80140d8: b29b uxth r3, r3 + 80140da: 4618 mov r0, r3 + 80140dc: f7fa fed0 bl 800ee80 + 80140e0: 4603 mov r3, r0 + 80140e2: b2db uxtb r3, r3 + 80140e4: f003 0302 and.w r3, r3, #2 + 80140e8: 2b00 cmp r3, #0 + 80140ea: d005 beq.n 80140f8 inseg.len -= 1; - 801455c: 4b78 ldr r3, [pc, #480] ; (8014740 ) - 801455e: 891b ldrh r3, [r3, #8] - 8014560: 3b01 subs r3, #1 - 8014562: b29a uxth r2, r3 - 8014564: 4b76 ldr r3, [pc, #472] ; (8014740 ) - 8014566: 811a strh r2, [r3, #8] + 80140ec: 4b78 ldr r3, [pc, #480] ; (80142d0 ) + 80140ee: 891b ldrh r3, [r3, #8] + 80140f0: 3b01 subs r3, #1 + 80140f2: b29a uxth r2, r3 + 80140f4: 4b76 ldr r3, [pc, #472] ; (80142d0 ) + 80140f6: 811a strh r2, [r3, #8] } pbuf_realloc(inseg.p, inseg.len); - 8014568: 4b75 ldr r3, [pc, #468] ; (8014740 ) - 801456a: 685a ldr r2, [r3, #4] - 801456c: 4b74 ldr r3, [pc, #464] ; (8014740 ) - 801456e: 891b ldrh r3, [r3, #8] - 8014570: 4619 mov r1, r3 - 8014572: 4610 mov r0, r2 - 8014574: f7fc f8ea bl 801074c + 80140f8: 4b75 ldr r3, [pc, #468] ; (80142d0 ) + 80140fa: 685a ldr r2, [r3, #4] + 80140fc: 4b74 ldr r3, [pc, #464] ; (80142d0 ) + 80140fe: 891b ldrh r3, [r3, #8] + 8014100: 4619 mov r1, r3 + 8014102: 4610 mov r0, r2 + 8014104: f7fc f8ea bl 80102dc tcplen = TCP_TCPLEN(&inseg); - 8014578: 4b71 ldr r3, [pc, #452] ; (8014740 ) - 801457a: 891c ldrh r4, [r3, #8] - 801457c: 4b70 ldr r3, [pc, #448] ; (8014740 ) - 801457e: 68db ldr r3, [r3, #12] - 8014580: 899b ldrh r3, [r3, #12] - 8014582: b29b uxth r3, r3 - 8014584: 4618 mov r0, r3 - 8014586: f7fa feb3 bl 800f2f0 - 801458a: 4603 mov r3, r0 - 801458c: b2db uxtb r3, r3 - 801458e: f003 0303 and.w r3, r3, #3 - 8014592: 2b00 cmp r3, #0 - 8014594: d001 beq.n 801459a - 8014596: 2301 movs r3, #1 - 8014598: e000 b.n 801459c - 801459a: 2300 movs r3, #0 - 801459c: 4423 add r3, r4 - 801459e: b29a uxth r2, r3 - 80145a0: 4b65 ldr r3, [pc, #404] ; (8014738 ) - 80145a2: 801a strh r2, [r3, #0] + 8014108: 4b71 ldr r3, [pc, #452] ; (80142d0 ) + 801410a: 891c ldrh r4, [r3, #8] + 801410c: 4b70 ldr r3, [pc, #448] ; (80142d0 ) + 801410e: 68db ldr r3, [r3, #12] + 8014110: 899b ldrh r3, [r3, #12] + 8014112: b29b uxth r3, r3 + 8014114: 4618 mov r0, r3 + 8014116: f7fa feb3 bl 800ee80 + 801411a: 4603 mov r3, r0 + 801411c: b2db uxtb r3, r3 + 801411e: f003 0303 and.w r3, r3, #3 + 8014122: 2b00 cmp r3, #0 + 8014124: d001 beq.n 801412a + 8014126: 2301 movs r3, #1 + 8014128: e000 b.n 801412c + 801412a: 2300 movs r3, #0 + 801412c: 4423 add r3, r4 + 801412e: b29a uxth r2, r3 + 8014130: 4b65 ldr r3, [pc, #404] ; (80142c8 ) + 8014132: 801a strh r2, [r3, #0] LWIP_ASSERT("tcp_receive: segment not trimmed correctly to ooseq queue\n", - 80145a4: 4b64 ldr r3, [pc, #400] ; (8014738 ) - 80145a6: 881b ldrh r3, [r3, #0] - 80145a8: 461a mov r2, r3 - 80145aa: 4b64 ldr r3, [pc, #400] ; (801473c ) - 80145ac: 681b ldr r3, [r3, #0] - 80145ae: 441a add r2, r3 - 80145b0: 6bfb ldr r3, [r7, #60] ; 0x3c - 80145b2: 68db ldr r3, [r3, #12] - 80145b4: 685b ldr r3, [r3, #4] - 80145b6: 429a cmp r2, r3 - 80145b8: d006 beq.n 80145c8 - 80145ba: 4b62 ldr r3, [pc, #392] ; (8014744 ) - 80145bc: f240 52fd movw r2, #1533 ; 0x5fd - 80145c0: 4961 ldr r1, [pc, #388] ; (8014748 ) - 80145c2: 4862 ldr r0, [pc, #392] ; (801474c ) - 80145c4: f006 ff78 bl 801b4b8 + 8014134: 4b64 ldr r3, [pc, #400] ; (80142c8 ) + 8014136: 881b ldrh r3, [r3, #0] + 8014138: 461a mov r2, r3 + 801413a: 4b64 ldr r3, [pc, #400] ; (80142cc ) + 801413c: 681b ldr r3, [r3, #0] + 801413e: 441a add r2, r3 + 8014140: 6bfb ldr r3, [r7, #60] ; 0x3c + 8014142: 68db ldr r3, [r3, #12] + 8014144: 685b ldr r3, [r3, #4] + 8014146: 429a cmp r2, r3 + 8014148: d006 beq.n 8014158 + 801414a: 4b62 ldr r3, [pc, #392] ; (80142d4 ) + 801414c: f240 52fd movw r2, #1533 ; 0x5fd + 8014150: 4961 ldr r1, [pc, #388] ; (80142d8 ) + 8014152: 4862 ldr r0, [pc, #392] ; (80142dc ) + 8014154: f006 ff5e bl 801b014 (seqno + tcplen) == next->tcphdr->seqno); } pcb->ooseq = next; - 80145c8: 687b ldr r3, [r7, #4] - 80145ca: 6bfa ldr r2, [r7, #60] ; 0x3c - 80145cc: 675a str r2, [r3, #116] ; 0x74 + 8014158: 687b ldr r3, [r7, #4] + 801415a: 6bfa ldr r2, [r7, #60] ; 0x3c + 801415c: 675a str r2, [r3, #116] ; 0x74 } } #endif /* TCP_QUEUE_OOSEQ */ pcb->rcv_nxt = seqno + tcplen; - 80145ce: 4b5a ldr r3, [pc, #360] ; (8014738 ) - 80145d0: 881b ldrh r3, [r3, #0] - 80145d2: 461a mov r2, r3 - 80145d4: 4b59 ldr r3, [pc, #356] ; (801473c ) - 80145d6: 681b ldr r3, [r3, #0] - 80145d8: 441a add r2, r3 - 80145da: 687b ldr r3, [r7, #4] - 80145dc: 625a str r2, [r3, #36] ; 0x24 + 801415e: 4b5a ldr r3, [pc, #360] ; (80142c8 ) + 8014160: 881b ldrh r3, [r3, #0] + 8014162: 461a mov r2, r3 + 8014164: 4b59 ldr r3, [pc, #356] ; (80142cc ) + 8014166: 681b ldr r3, [r3, #0] + 8014168: 441a add r2, r3 + 801416a: 687b ldr r3, [r7, #4] + 801416c: 625a str r2, [r3, #36] ; 0x24 /* Update the receiver's (our) window. */ LWIP_ASSERT("tcp_receive: tcplen > rcv_wnd\n", pcb->rcv_wnd >= tcplen); - 80145de: 687b ldr r3, [r7, #4] - 80145e0: 8d1a ldrh r2, [r3, #40] ; 0x28 - 80145e2: 4b55 ldr r3, [pc, #340] ; (8014738 ) - 80145e4: 881b ldrh r3, [r3, #0] - 80145e6: 429a cmp r2, r3 - 80145e8: d206 bcs.n 80145f8 - 80145ea: 4b56 ldr r3, [pc, #344] ; (8014744 ) - 80145ec: f240 6207 movw r2, #1543 ; 0x607 - 80145f0: 4957 ldr r1, [pc, #348] ; (8014750 ) - 80145f2: 4856 ldr r0, [pc, #344] ; (801474c ) - 80145f4: f006 ff60 bl 801b4b8 + 801416e: 687b ldr r3, [r7, #4] + 8014170: 8d1a ldrh r2, [r3, #40] ; 0x28 + 8014172: 4b55 ldr r3, [pc, #340] ; (80142c8 ) + 8014174: 881b ldrh r3, [r3, #0] + 8014176: 429a cmp r2, r3 + 8014178: d206 bcs.n 8014188 + 801417a: 4b56 ldr r3, [pc, #344] ; (80142d4 ) + 801417c: f240 6207 movw r2, #1543 ; 0x607 + 8014180: 4957 ldr r1, [pc, #348] ; (80142e0 ) + 8014182: 4856 ldr r0, [pc, #344] ; (80142dc ) + 8014184: f006 ff46 bl 801b014 pcb->rcv_wnd -= tcplen; - 80145f8: 687b ldr r3, [r7, #4] - 80145fa: 8d1a ldrh r2, [r3, #40] ; 0x28 - 80145fc: 4b4e ldr r3, [pc, #312] ; (8014738 ) - 80145fe: 881b ldrh r3, [r3, #0] - 8014600: 1ad3 subs r3, r2, r3 - 8014602: b29a uxth r2, r3 - 8014604: 687b ldr r3, [r7, #4] - 8014606: 851a strh r2, [r3, #40] ; 0x28 + 8014188: 687b ldr r3, [r7, #4] + 801418a: 8d1a ldrh r2, [r3, #40] ; 0x28 + 801418c: 4b4e ldr r3, [pc, #312] ; (80142c8 ) + 801418e: 881b ldrh r3, [r3, #0] + 8014190: 1ad3 subs r3, r2, r3 + 8014192: b29a uxth r2, r3 + 8014194: 687b ldr r3, [r7, #4] + 8014196: 851a strh r2, [r3, #40] ; 0x28 tcp_update_rcv_ann_wnd(pcb); - 8014608: 6878 ldr r0, [r7, #4] - 801460a: f7fc ffcd bl 80115a8 + 8014198: 6878 ldr r0, [r7, #4] + 801419a: f7fc ffcd bl 8011138 chains its data on this pbuf as well. If the segment was a FIN, we set the TF_GOT_FIN flag that will be used to indicate to the application that the remote side has closed its end of the connection. */ if (inseg.p->tot_len > 0) { - 801460e: 4b4c ldr r3, [pc, #304] ; (8014740 ) - 8014610: 685b ldr r3, [r3, #4] - 8014612: 891b ldrh r3, [r3, #8] - 8014614: 2b00 cmp r3, #0 - 8014616: d006 beq.n 8014626 + 801419e: 4b4c ldr r3, [pc, #304] ; (80142d0 ) + 80141a0: 685b ldr r3, [r3, #4] + 80141a2: 891b ldrh r3, [r3, #8] + 80141a4: 2b00 cmp r3, #0 + 80141a6: d006 beq.n 80141b6 recv_data = inseg.p; - 8014618: 4b49 ldr r3, [pc, #292] ; (8014740 ) - 801461a: 685b ldr r3, [r3, #4] - 801461c: 4a4d ldr r2, [pc, #308] ; (8014754 ) - 801461e: 6013 str r3, [r2, #0] + 80141a8: 4b49 ldr r3, [pc, #292] ; (80142d0 ) + 80141aa: 685b ldr r3, [r3, #4] + 80141ac: 4a4d ldr r2, [pc, #308] ; (80142e4 ) + 80141ae: 6013 str r3, [r2, #0] /* Since this pbuf now is the responsibility of the application, we delete our reference to it so that we won't (mistakingly) deallocate it. */ inseg.p = NULL; - 8014620: 4b47 ldr r3, [pc, #284] ; (8014740 ) - 8014622: 2200 movs r2, #0 - 8014624: 605a str r2, [r3, #4] + 80141b0: 4b47 ldr r3, [pc, #284] ; (80142d0 ) + 80141b2: 2200 movs r2, #0 + 80141b4: 605a str r2, [r3, #4] } if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) { - 8014626: 4b46 ldr r3, [pc, #280] ; (8014740 ) - 8014628: 68db ldr r3, [r3, #12] - 801462a: 899b ldrh r3, [r3, #12] - 801462c: b29b uxth r3, r3 - 801462e: 4618 mov r0, r3 - 8014630: f7fa fe5e bl 800f2f0 - 8014634: 4603 mov r3, r0 - 8014636: b2db uxtb r3, r3 - 8014638: f003 0301 and.w r3, r3, #1 - 801463c: 2b00 cmp r3, #0 - 801463e: f000 80b8 beq.w 80147b2 + 80141b6: 4b46 ldr r3, [pc, #280] ; (80142d0 ) + 80141b8: 68db ldr r3, [r3, #12] + 80141ba: 899b ldrh r3, [r3, #12] + 80141bc: b29b uxth r3, r3 + 80141be: 4618 mov r0, r3 + 80141c0: f7fa fe5e bl 800ee80 + 80141c4: 4603 mov r3, r0 + 80141c6: b2db uxtb r3, r3 + 80141c8: f003 0301 and.w r3, r3, #1 + 80141cc: 2b00 cmp r3, #0 + 80141ce: f000 80b8 beq.w 8014342 LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: received FIN.\n")); recv_flags |= TF_GOT_FIN; - 8014642: 4b45 ldr r3, [pc, #276] ; (8014758 ) - 8014644: 781b ldrb r3, [r3, #0] - 8014646: f043 0320 orr.w r3, r3, #32 - 801464a: b2da uxtb r2, r3 - 801464c: 4b42 ldr r3, [pc, #264] ; (8014758 ) - 801464e: 701a strb r2, [r3, #0] + 80141d2: 4b45 ldr r3, [pc, #276] ; (80142e8 ) + 80141d4: 781b ldrb r3, [r3, #0] + 80141d6: f043 0320 orr.w r3, r3, #32 + 80141da: b2da uxtb r2, r3 + 80141dc: 4b42 ldr r3, [pc, #264] ; (80142e8 ) + 80141de: 701a strb r2, [r3, #0] } #if TCP_QUEUE_OOSEQ /* We now check if we have segments on the ->ooseq queue that are now in sequence. */ while (pcb->ooseq != NULL && - 8014650: e0af b.n 80147b2 + 80141e0: e0af b.n 8014342 pcb->ooseq->tcphdr->seqno == pcb->rcv_nxt) { struct tcp_seg *cseg = pcb->ooseq; - 8014652: 687b ldr r3, [r7, #4] - 8014654: 6f5b ldr r3, [r3, #116] ; 0x74 - 8014656: 60bb str r3, [r7, #8] + 80141e2: 687b ldr r3, [r7, #4] + 80141e4: 6f5b ldr r3, [r3, #116] ; 0x74 + 80141e6: 60bb str r3, [r7, #8] seqno = pcb->ooseq->tcphdr->seqno; - 8014658: 687b ldr r3, [r7, #4] - 801465a: 6f5b ldr r3, [r3, #116] ; 0x74 - 801465c: 68db ldr r3, [r3, #12] - 801465e: 685b ldr r3, [r3, #4] - 8014660: 4a36 ldr r2, [pc, #216] ; (801473c ) - 8014662: 6013 str r3, [r2, #0] + 80141e8: 687b ldr r3, [r7, #4] + 80141ea: 6f5b ldr r3, [r3, #116] ; 0x74 + 80141ec: 68db ldr r3, [r3, #12] + 80141ee: 685b ldr r3, [r3, #4] + 80141f0: 4a36 ldr r2, [pc, #216] ; (80142cc ) + 80141f2: 6013 str r3, [r2, #0] pcb->rcv_nxt += TCP_TCPLEN(cseg); - 8014664: 68bb ldr r3, [r7, #8] - 8014666: 891b ldrh r3, [r3, #8] - 8014668: 461c mov r4, r3 - 801466a: 68bb ldr r3, [r7, #8] - 801466c: 68db ldr r3, [r3, #12] - 801466e: 899b ldrh r3, [r3, #12] - 8014670: b29b uxth r3, r3 - 8014672: 4618 mov r0, r3 - 8014674: f7fa fe3c bl 800f2f0 - 8014678: 4603 mov r3, r0 - 801467a: b2db uxtb r3, r3 - 801467c: f003 0303 and.w r3, r3, #3 - 8014680: 2b00 cmp r3, #0 - 8014682: d001 beq.n 8014688 - 8014684: 2301 movs r3, #1 - 8014686: e000 b.n 801468a - 8014688: 2300 movs r3, #0 - 801468a: 191a adds r2, r3, r4 - 801468c: 687b ldr r3, [r7, #4] - 801468e: 6a5b ldr r3, [r3, #36] ; 0x24 - 8014690: 441a add r2, r3 - 8014692: 687b ldr r3, [r7, #4] - 8014694: 625a str r2, [r3, #36] ; 0x24 + 80141f4: 68bb ldr r3, [r7, #8] + 80141f6: 891b ldrh r3, [r3, #8] + 80141f8: 461c mov r4, r3 + 80141fa: 68bb ldr r3, [r7, #8] + 80141fc: 68db ldr r3, [r3, #12] + 80141fe: 899b ldrh r3, [r3, #12] + 8014200: b29b uxth r3, r3 + 8014202: 4618 mov r0, r3 + 8014204: f7fa fe3c bl 800ee80 + 8014208: 4603 mov r3, r0 + 801420a: b2db uxtb r3, r3 + 801420c: f003 0303 and.w r3, r3, #3 + 8014210: 2b00 cmp r3, #0 + 8014212: d001 beq.n 8014218 + 8014214: 2301 movs r3, #1 + 8014216: e000 b.n 801421a + 8014218: 2300 movs r3, #0 + 801421a: 191a adds r2, r3, r4 + 801421c: 687b ldr r3, [r7, #4] + 801421e: 6a5b ldr r3, [r3, #36] ; 0x24 + 8014220: 441a add r2, r3 + 8014222: 687b ldr r3, [r7, #4] + 8014224: 625a str r2, [r3, #36] ; 0x24 LWIP_ASSERT("tcp_receive: ooseq tcplen > rcv_wnd\n", - 8014696: 687b ldr r3, [r7, #4] - 8014698: 8d1b ldrh r3, [r3, #40] ; 0x28 - 801469a: 461c mov r4, r3 - 801469c: 68bb ldr r3, [r7, #8] - 801469e: 891b ldrh r3, [r3, #8] - 80146a0: 461d mov r5, r3 - 80146a2: 68bb ldr r3, [r7, #8] - 80146a4: 68db ldr r3, [r3, #12] - 80146a6: 899b ldrh r3, [r3, #12] - 80146a8: b29b uxth r3, r3 - 80146aa: 4618 mov r0, r3 - 80146ac: f7fa fe20 bl 800f2f0 - 80146b0: 4603 mov r3, r0 - 80146b2: b2db uxtb r3, r3 - 80146b4: f003 0303 and.w r3, r3, #3 - 80146b8: 2b00 cmp r3, #0 - 80146ba: d001 beq.n 80146c0 - 80146bc: 2301 movs r3, #1 - 80146be: e000 b.n 80146c2 - 80146c0: 2300 movs r3, #0 - 80146c2: 442b add r3, r5 - 80146c4: 429c cmp r4, r3 - 80146c6: d206 bcs.n 80146d6 - 80146c8: 4b1e ldr r3, [pc, #120] ; (8014744 ) - 80146ca: f240 622c movw r2, #1580 ; 0x62c - 80146ce: 4923 ldr r1, [pc, #140] ; (801475c ) - 80146d0: 481e ldr r0, [pc, #120] ; (801474c ) - 80146d2: f006 fef1 bl 801b4b8 + 8014226: 687b ldr r3, [r7, #4] + 8014228: 8d1b ldrh r3, [r3, #40] ; 0x28 + 801422a: 461c mov r4, r3 + 801422c: 68bb ldr r3, [r7, #8] + 801422e: 891b ldrh r3, [r3, #8] + 8014230: 461d mov r5, r3 + 8014232: 68bb ldr r3, [r7, #8] + 8014234: 68db ldr r3, [r3, #12] + 8014236: 899b ldrh r3, [r3, #12] + 8014238: b29b uxth r3, r3 + 801423a: 4618 mov r0, r3 + 801423c: f7fa fe20 bl 800ee80 + 8014240: 4603 mov r3, r0 + 8014242: b2db uxtb r3, r3 + 8014244: f003 0303 and.w r3, r3, #3 + 8014248: 2b00 cmp r3, #0 + 801424a: d001 beq.n 8014250 + 801424c: 2301 movs r3, #1 + 801424e: e000 b.n 8014252 + 8014250: 2300 movs r3, #0 + 8014252: 442b add r3, r5 + 8014254: 429c cmp r4, r3 + 8014256: d206 bcs.n 8014266 + 8014258: 4b1e ldr r3, [pc, #120] ; (80142d4 ) + 801425a: f240 622c movw r2, #1580 ; 0x62c + 801425e: 4923 ldr r1, [pc, #140] ; (80142ec ) + 8014260: 481e ldr r0, [pc, #120] ; (80142dc ) + 8014262: f006 fed7 bl 801b014 pcb->rcv_wnd >= TCP_TCPLEN(cseg)); pcb->rcv_wnd -= TCP_TCPLEN(cseg); - 80146d6: 68bb ldr r3, [r7, #8] - 80146d8: 891b ldrh r3, [r3, #8] - 80146da: 461c mov r4, r3 - 80146dc: 68bb ldr r3, [r7, #8] - 80146de: 68db ldr r3, [r3, #12] - 80146e0: 899b ldrh r3, [r3, #12] - 80146e2: b29b uxth r3, r3 - 80146e4: 4618 mov r0, r3 - 80146e6: f7fa fe03 bl 800f2f0 - 80146ea: 4603 mov r3, r0 - 80146ec: b2db uxtb r3, r3 - 80146ee: f003 0303 and.w r3, r3, #3 - 80146f2: 2b00 cmp r3, #0 - 80146f4: d001 beq.n 80146fa - 80146f6: 2301 movs r3, #1 - 80146f8: e000 b.n 80146fc - 80146fa: 2300 movs r3, #0 - 80146fc: 1919 adds r1, r3, r4 - 80146fe: 687b ldr r3, [r7, #4] - 8014700: 8d1a ldrh r2, [r3, #40] ; 0x28 - 8014702: b28b uxth r3, r1 - 8014704: 1ad3 subs r3, r2, r3 - 8014706: b29a uxth r2, r3 - 8014708: 687b ldr r3, [r7, #4] - 801470a: 851a strh r2, [r3, #40] ; 0x28 + 8014266: 68bb ldr r3, [r7, #8] + 8014268: 891b ldrh r3, [r3, #8] + 801426a: 461c mov r4, r3 + 801426c: 68bb ldr r3, [r7, #8] + 801426e: 68db ldr r3, [r3, #12] + 8014270: 899b ldrh r3, [r3, #12] + 8014272: b29b uxth r3, r3 + 8014274: 4618 mov r0, r3 + 8014276: f7fa fe03 bl 800ee80 + 801427a: 4603 mov r3, r0 + 801427c: b2db uxtb r3, r3 + 801427e: f003 0303 and.w r3, r3, #3 + 8014282: 2b00 cmp r3, #0 + 8014284: d001 beq.n 801428a + 8014286: 2301 movs r3, #1 + 8014288: e000 b.n 801428c + 801428a: 2300 movs r3, #0 + 801428c: 1919 adds r1, r3, r4 + 801428e: 687b ldr r3, [r7, #4] + 8014290: 8d1a ldrh r2, [r3, #40] ; 0x28 + 8014292: b28b uxth r3, r1 + 8014294: 1ad3 subs r3, r2, r3 + 8014296: b29a uxth r2, r3 + 8014298: 687b ldr r3, [r7, #4] + 801429a: 851a strh r2, [r3, #40] ; 0x28 tcp_update_rcv_ann_wnd(pcb); - 801470c: 6878 ldr r0, [r7, #4] - 801470e: f7fc ff4b bl 80115a8 + 801429c: 6878 ldr r0, [r7, #4] + 801429e: f7fc ff4b bl 8011138 if (cseg->p->tot_len > 0) { - 8014712: 68bb ldr r3, [r7, #8] - 8014714: 685b ldr r3, [r3, #4] - 8014716: 891b ldrh r3, [r3, #8] - 8014718: 2b00 cmp r3, #0 - 801471a: d028 beq.n 801476e + 80142a2: 68bb ldr r3, [r7, #8] + 80142a4: 685b ldr r3, [r3, #4] + 80142a6: 891b ldrh r3, [r3, #8] + 80142a8: 2b00 cmp r3, #0 + 80142aa: d028 beq.n 80142fe /* Chain this pbuf onto the pbuf that we will pass to the application. */ /* With window scaling, this can overflow recv_data->tot_len, but that's not a problem since we explicitly fix that before passing recv_data to the application. */ if (recv_data) { - 801471c: 4b0d ldr r3, [pc, #52] ; (8014754 ) - 801471e: 681b ldr r3, [r3, #0] - 8014720: 2b00 cmp r3, #0 - 8014722: d01d beq.n 8014760 + 80142ac: 4b0d ldr r3, [pc, #52] ; (80142e4 ) + 80142ae: 681b ldr r3, [r3, #0] + 80142b0: 2b00 cmp r3, #0 + 80142b2: d01d beq.n 80142f0 pbuf_cat(recv_data, cseg->p); - 8014724: 4b0b ldr r3, [pc, #44] ; (8014754 ) - 8014726: 681a ldr r2, [r3, #0] - 8014728: 68bb ldr r3, [r7, #8] - 801472a: 685b ldr r3, [r3, #4] - 801472c: 4619 mov r1, r3 - 801472e: 4610 mov r0, r2 - 8014730: f7fc fa60 bl 8010bf4 - 8014734: e018 b.n 8014768 - 8014736: bf00 nop - 8014738: 20008756 .word 0x20008756 - 801473c: 2000874c .word 0x2000874c - 8014740: 2000872c .word 0x2000872c - 8014744: 0801dab4 .word 0x0801dab4 - 8014748: 0801de94 .word 0x0801de94 - 801474c: 0801db00 .word 0x0801db00 - 8014750: 0801ded0 .word 0x0801ded0 - 8014754: 2000875c .word 0x2000875c - 8014758: 20008759 .word 0x20008759 - 801475c: 0801def0 .word 0x0801def0 + 80142b4: 4b0b ldr r3, [pc, #44] ; (80142e4 ) + 80142b6: 681a ldr r2, [r3, #0] + 80142b8: 68bb ldr r3, [r7, #8] + 80142ba: 685b ldr r3, [r3, #4] + 80142bc: 4619 mov r1, r3 + 80142be: 4610 mov r0, r2 + 80142c0: f7fc fa60 bl 8010784 + 80142c4: e018 b.n 80142f8 + 80142c6: bf00 nop + 80142c8: 20008756 .word 0x20008756 + 80142cc: 2000874c .word 0x2000874c + 80142d0: 2000872c .word 0x2000872c + 80142d4: 0801d2b0 .word 0x0801d2b0 + 80142d8: 0801d690 .word 0x0801d690 + 80142dc: 0801d2fc .word 0x0801d2fc + 80142e0: 0801d6cc .word 0x0801d6cc + 80142e4: 2000875c .word 0x2000875c + 80142e8: 20008759 .word 0x20008759 + 80142ec: 0801d6ec .word 0x0801d6ec } else { recv_data = cseg->p; - 8014760: 68bb ldr r3, [r7, #8] - 8014762: 685b ldr r3, [r3, #4] - 8014764: 4a70 ldr r2, [pc, #448] ; (8014928 ) - 8014766: 6013 str r3, [r2, #0] + 80142f0: 68bb ldr r3, [r7, #8] + 80142f2: 685b ldr r3, [r3, #4] + 80142f4: 4a70 ldr r2, [pc, #448] ; (80144b8 ) + 80142f6: 6013 str r3, [r2, #0] } cseg->p = NULL; - 8014768: 68bb ldr r3, [r7, #8] - 801476a: 2200 movs r2, #0 - 801476c: 605a str r2, [r3, #4] + 80142f8: 68bb ldr r3, [r7, #8] + 80142fa: 2200 movs r2, #0 + 80142fc: 605a str r2, [r3, #4] } if (TCPH_FLAGS(cseg->tcphdr) & TCP_FIN) { - 801476e: 68bb ldr r3, [r7, #8] - 8014770: 68db ldr r3, [r3, #12] - 8014772: 899b ldrh r3, [r3, #12] - 8014774: b29b uxth r3, r3 - 8014776: 4618 mov r0, r3 - 8014778: f7fa fdba bl 800f2f0 - 801477c: 4603 mov r3, r0 - 801477e: b2db uxtb r3, r3 - 8014780: f003 0301 and.w r3, r3, #1 - 8014784: 2b00 cmp r3, #0 - 8014786: d00d beq.n 80147a4 + 80142fe: 68bb ldr r3, [r7, #8] + 8014300: 68db ldr r3, [r3, #12] + 8014302: 899b ldrh r3, [r3, #12] + 8014304: b29b uxth r3, r3 + 8014306: 4618 mov r0, r3 + 8014308: f7fa fdba bl 800ee80 + 801430c: 4603 mov r3, r0 + 801430e: b2db uxtb r3, r3 + 8014310: f003 0301 and.w r3, r3, #1 + 8014314: 2b00 cmp r3, #0 + 8014316: d00d beq.n 8014334 LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: dequeued FIN.\n")); recv_flags |= TF_GOT_FIN; - 8014788: 4b68 ldr r3, [pc, #416] ; (801492c ) - 801478a: 781b ldrb r3, [r3, #0] - 801478c: f043 0320 orr.w r3, r3, #32 - 8014790: b2da uxtb r2, r3 - 8014792: 4b66 ldr r3, [pc, #408] ; (801492c ) - 8014794: 701a strb r2, [r3, #0] + 8014318: 4b68 ldr r3, [pc, #416] ; (80144bc ) + 801431a: 781b ldrb r3, [r3, #0] + 801431c: f043 0320 orr.w r3, r3, #32 + 8014320: b2da uxtb r2, r3 + 8014322: 4b66 ldr r3, [pc, #408] ; (80144bc ) + 8014324: 701a strb r2, [r3, #0] if (pcb->state == ESTABLISHED) { /* force passive close or we can move to active close */ - 8014796: 687b ldr r3, [r7, #4] - 8014798: 7d1b ldrb r3, [r3, #20] - 801479a: 2b04 cmp r3, #4 - 801479c: d102 bne.n 80147a4 + 8014326: 687b ldr r3, [r7, #4] + 8014328: 7d1b ldrb r3, [r3, #20] + 801432a: 2b04 cmp r3, #4 + 801432c: d102 bne.n 8014334 pcb->state = CLOSE_WAIT; - 801479e: 687b ldr r3, [r7, #4] - 80147a0: 2207 movs r2, #7 - 80147a2: 751a strb r2, [r3, #20] + 801432e: 687b ldr r3, [r7, #4] + 8014330: 2207 movs r2, #7 + 8014332: 751a strb r2, [r3, #20] } } pcb->ooseq = cseg->next; - 80147a4: 68bb ldr r3, [r7, #8] - 80147a6: 681a ldr r2, [r3, #0] - 80147a8: 687b ldr r3, [r7, #4] - 80147aa: 675a str r2, [r3, #116] ; 0x74 + 8014334: 68bb ldr r3, [r7, #8] + 8014336: 681a ldr r2, [r3, #0] + 8014338: 687b ldr r3, [r7, #4] + 801433a: 675a str r2, [r3, #116] ; 0x74 tcp_seg_free(cseg); - 80147ac: 68b8 ldr r0, [r7, #8] - 80147ae: f7fd fbd7 bl 8011f60 + 801433c: 68b8 ldr r0, [r7, #8] + 801433e: f7fd fbd7 bl 8011af0 while (pcb->ooseq != NULL && - 80147b2: 687b ldr r3, [r7, #4] - 80147b4: 6f5b ldr r3, [r3, #116] ; 0x74 - 80147b6: 2b00 cmp r3, #0 - 80147b8: d008 beq.n 80147cc + 8014342: 687b ldr r3, [r7, #4] + 8014344: 6f5b ldr r3, [r3, #116] ; 0x74 + 8014346: 2b00 cmp r3, #0 + 8014348: d008 beq.n 801435c pcb->ooseq->tcphdr->seqno == pcb->rcv_nxt) { - 80147ba: 687b ldr r3, [r7, #4] - 80147bc: 6f5b ldr r3, [r3, #116] ; 0x74 - 80147be: 68db ldr r3, [r3, #12] - 80147c0: 685a ldr r2, [r3, #4] - 80147c2: 687b ldr r3, [r7, #4] - 80147c4: 6a5b ldr r3, [r3, #36] ; 0x24 + 801434a: 687b ldr r3, [r7, #4] + 801434c: 6f5b ldr r3, [r3, #116] ; 0x74 + 801434e: 68db ldr r3, [r3, #12] + 8014350: 685a ldr r2, [r3, #4] + 8014352: 687b ldr r3, [r7, #4] + 8014354: 6a5b ldr r3, [r3, #36] ; 0x24 while (pcb->ooseq != NULL && - 80147c6: 429a cmp r2, r3 - 80147c8: f43f af43 beq.w 8014652 + 8014356: 429a cmp r2, r3 + 8014358: f43f af43 beq.w 80141e2 #endif /* LWIP_TCP_SACK_OUT */ #endif /* TCP_QUEUE_OOSEQ */ /* Acknowledge the segment(s). */ tcp_ack(pcb); - 80147cc: 687b ldr r3, [r7, #4] - 80147ce: 8b5b ldrh r3, [r3, #26] - 80147d0: f003 0301 and.w r3, r3, #1 - 80147d4: 2b00 cmp r3, #0 - 80147d6: d00e beq.n 80147f6 - 80147d8: 687b ldr r3, [r7, #4] - 80147da: 8b5b ldrh r3, [r3, #26] - 80147dc: f023 0301 bic.w r3, r3, #1 - 80147e0: b29a uxth r2, r3 - 80147e2: 687b ldr r3, [r7, #4] - 80147e4: 835a strh r2, [r3, #26] - 80147e6: 687b ldr r3, [r7, #4] - 80147e8: 8b5b ldrh r3, [r3, #26] - 80147ea: f043 0302 orr.w r3, r3, #2 - 80147ee: b29a uxth r2, r3 - 80147f0: 687b ldr r3, [r7, #4] - 80147f2: 835a strh r2, [r3, #26] + 801435c: 687b ldr r3, [r7, #4] + 801435e: 8b5b ldrh r3, [r3, #26] + 8014360: f003 0301 and.w r3, r3, #1 + 8014364: 2b00 cmp r3, #0 + 8014366: d00e beq.n 8014386 + 8014368: 687b ldr r3, [r7, #4] + 801436a: 8b5b ldrh r3, [r3, #26] + 801436c: f023 0301 bic.w r3, r3, #1 + 8014370: b29a uxth r2, r3 + 8014372: 687b ldr r3, [r7, #4] + 8014374: 835a strh r2, [r3, #26] + 8014376: 687b ldr r3, [r7, #4] + 8014378: 8b5b ldrh r3, [r3, #26] + 801437a: f043 0302 orr.w r3, r3, #2 + 801437e: b29a uxth r2, r3 + 8014380: 687b ldr r3, [r7, #4] + 8014382: 835a strh r2, [r3, #26] if (pcb->rcv_nxt == seqno) { - 80147f4: e188 b.n 8014b08 + 8014384: e188 b.n 8014698 tcp_ack(pcb); - 80147f6: 687b ldr r3, [r7, #4] - 80147f8: 8b5b ldrh r3, [r3, #26] - 80147fa: f043 0301 orr.w r3, r3, #1 - 80147fe: b29a uxth r2, r3 - 8014800: 687b ldr r3, [r7, #4] - 8014802: 835a strh r2, [r3, #26] + 8014386: 687b ldr r3, [r7, #4] + 8014388: 8b5b ldrh r3, [r3, #26] + 801438a: f043 0301 orr.w r3, r3, #1 + 801438e: b29a uxth r2, r3 + 8014390: 687b ldr r3, [r7, #4] + 8014392: 835a strh r2, [r3, #26] if (pcb->rcv_nxt == seqno) { - 8014804: e180 b.n 8014b08 + 8014394: e180 b.n 8014698 } else { /* We get here if the incoming segment is out-of-sequence. */ #if TCP_QUEUE_OOSEQ /* We queue the segment on the ->ooseq queue. */ if (pcb->ooseq == NULL) { - 8014806: 687b ldr r3, [r7, #4] - 8014808: 6f5b ldr r3, [r3, #116] ; 0x74 - 801480a: 2b00 cmp r3, #0 - 801480c: d106 bne.n 801481c + 8014396: 687b ldr r3, [r7, #4] + 8014398: 6f5b ldr r3, [r3, #116] ; 0x74 + 801439a: 2b00 cmp r3, #0 + 801439c: d106 bne.n 80143ac pcb->ooseq = tcp_seg_copy(&inseg); - 801480e: 4848 ldr r0, [pc, #288] ; (8014930 ) - 8014810: f7fd fbbe bl 8011f90 - 8014814: 4602 mov r2, r0 - 8014816: 687b ldr r3, [r7, #4] - 8014818: 675a str r2, [r3, #116] ; 0x74 - 801481a: e16d b.n 8014af8 + 801439e: 4848 ldr r0, [pc, #288] ; (80144c0 ) + 80143a0: f7fd fbbe bl 8011b20 + 80143a4: 4602 mov r2, r0 + 80143a6: 687b ldr r3, [r7, #4] + 80143a8: 675a str r2, [r3, #116] ; 0x74 + 80143aa: e16d b.n 8014688 #if LWIP_TCP_SACK_OUT /* This is the left edge of the lowest possible SACK range. It may start before the newly received segment (possibly adjusted below). */ u32_t sackbeg = TCP_SEQ_LT(seqno, pcb->ooseq->tcphdr->seqno) ? seqno : pcb->ooseq->tcphdr->seqno; #endif /* LWIP_TCP_SACK_OUT */ struct tcp_seg *next, *prev = NULL; - 801481c: 2300 movs r3, #0 - 801481e: 637b str r3, [r7, #52] ; 0x34 + 80143ac: 2300 movs r3, #0 + 80143ae: 637b str r3, [r7, #52] ; 0x34 for (next = pcb->ooseq; next != NULL; next = next->next) { - 8014820: 687b ldr r3, [r7, #4] - 8014822: 6f5b ldr r3, [r3, #116] ; 0x74 - 8014824: 63bb str r3, [r7, #56] ; 0x38 - 8014826: e157 b.n 8014ad8 + 80143b0: 687b ldr r3, [r7, #4] + 80143b2: 6f5b ldr r3, [r3, #116] ; 0x74 + 80143b4: 63bb str r3, [r7, #56] ; 0x38 + 80143b6: e157 b.n 8014668 if (seqno == next->tcphdr->seqno) { - 8014828: 6bbb ldr r3, [r7, #56] ; 0x38 - 801482a: 68db ldr r3, [r3, #12] - 801482c: 685a ldr r2, [r3, #4] - 801482e: 4b41 ldr r3, [pc, #260] ; (8014934 ) - 8014830: 681b ldr r3, [r3, #0] - 8014832: 429a cmp r2, r3 - 8014834: d11d bne.n 8014872 + 80143b8: 6bbb ldr r3, [r7, #56] ; 0x38 + 80143ba: 68db ldr r3, [r3, #12] + 80143bc: 685a ldr r2, [r3, #4] + 80143be: 4b41 ldr r3, [pc, #260] ; (80144c4 ) + 80143c0: 681b ldr r3, [r3, #0] + 80143c2: 429a cmp r2, r3 + 80143c4: d11d bne.n 8014402 /* The sequence number of the incoming segment is the same as the sequence number of the segment on ->ooseq. We check the lengths to see which one to discard. */ if (inseg.len > next->len) { - 8014836: 4b3e ldr r3, [pc, #248] ; (8014930 ) - 8014838: 891a ldrh r2, [r3, #8] - 801483a: 6bbb ldr r3, [r7, #56] ; 0x38 - 801483c: 891b ldrh r3, [r3, #8] - 801483e: 429a cmp r2, r3 - 8014840: f240 814f bls.w 8014ae2 + 80143c6: 4b3e ldr r3, [pc, #248] ; (80144c0 ) + 80143c8: 891a ldrh r2, [r3, #8] + 80143ca: 6bbb ldr r3, [r7, #56] ; 0x38 + 80143cc: 891b ldrh r3, [r3, #8] + 80143ce: 429a cmp r2, r3 + 80143d0: f240 814f bls.w 8014672 /* The incoming segment is larger than the old segment. We replace some segments with the new one. */ struct tcp_seg *cseg = tcp_seg_copy(&inseg); - 8014844: 483a ldr r0, [pc, #232] ; (8014930 ) - 8014846: f7fd fba3 bl 8011f90 - 801484a: 6178 str r0, [r7, #20] + 80143d4: 483a ldr r0, [pc, #232] ; (80144c0 ) + 80143d6: f7fd fba3 bl 8011b20 + 80143da: 6178 str r0, [r7, #20] if (cseg != NULL) { - 801484c: 697b ldr r3, [r7, #20] - 801484e: 2b00 cmp r3, #0 - 8014850: f000 8149 beq.w 8014ae6 + 80143dc: 697b ldr r3, [r7, #20] + 80143de: 2b00 cmp r3, #0 + 80143e0: f000 8149 beq.w 8014676 if (prev != NULL) { - 8014854: 6b7b ldr r3, [r7, #52] ; 0x34 - 8014856: 2b00 cmp r3, #0 - 8014858: d003 beq.n 8014862 + 80143e4: 6b7b ldr r3, [r7, #52] ; 0x34 + 80143e6: 2b00 cmp r3, #0 + 80143e8: d003 beq.n 80143f2 prev->next = cseg; - 801485a: 6b7b ldr r3, [r7, #52] ; 0x34 - 801485c: 697a ldr r2, [r7, #20] - 801485e: 601a str r2, [r3, #0] - 8014860: e002 b.n 8014868 + 80143ea: 6b7b ldr r3, [r7, #52] ; 0x34 + 80143ec: 697a ldr r2, [r7, #20] + 80143ee: 601a str r2, [r3, #0] + 80143f0: e002 b.n 80143f8 } else { pcb->ooseq = cseg; - 8014862: 687b ldr r3, [r7, #4] - 8014864: 697a ldr r2, [r7, #20] - 8014866: 675a str r2, [r3, #116] ; 0x74 + 80143f2: 687b ldr r3, [r7, #4] + 80143f4: 697a ldr r2, [r7, #20] + 80143f6: 675a str r2, [r3, #116] ; 0x74 } tcp_oos_insert_segment(cseg, next); - 8014868: 6bb9 ldr r1, [r7, #56] ; 0x38 - 801486a: 6978 ldr r0, [r7, #20] - 801486c: f7ff f8de bl 8013a2c + 80143f8: 6bb9 ldr r1, [r7, #56] ; 0x38 + 80143fa: 6978 ldr r0, [r7, #20] + 80143fc: f7ff f8de bl 80135bc } break; - 8014870: e139 b.n 8014ae6 + 8014400: e139 b.n 8014676 segment was smaller than the old one; in either case, we ditch the incoming segment. */ break; } } else { if (prev == NULL) { - 8014872: 6b7b ldr r3, [r7, #52] ; 0x34 - 8014874: 2b00 cmp r3, #0 - 8014876: d117 bne.n 80148a8 + 8014402: 6b7b ldr r3, [r7, #52] ; 0x34 + 8014404: 2b00 cmp r3, #0 + 8014406: d117 bne.n 8014438 if (TCP_SEQ_LT(seqno, next->tcphdr->seqno)) { - 8014878: 4b2e ldr r3, [pc, #184] ; (8014934 ) - 801487a: 681a ldr r2, [r3, #0] - 801487c: 6bbb ldr r3, [r7, #56] ; 0x38 - 801487e: 68db ldr r3, [r3, #12] - 8014880: 685b ldr r3, [r3, #4] - 8014882: 1ad3 subs r3, r2, r3 - 8014884: 2b00 cmp r3, #0 - 8014886: da57 bge.n 8014938 + 8014408: 4b2e ldr r3, [pc, #184] ; (80144c4 ) + 801440a: 681a ldr r2, [r3, #0] + 801440c: 6bbb ldr r3, [r7, #56] ; 0x38 + 801440e: 68db ldr r3, [r3, #12] + 8014410: 685b ldr r3, [r3, #4] + 8014412: 1ad3 subs r3, r2, r3 + 8014414: 2b00 cmp r3, #0 + 8014416: da57 bge.n 80144c8 /* The sequence number of the incoming segment is lower than the sequence number of the first segment on the queue. We put the incoming segment first on the queue. */ struct tcp_seg *cseg = tcp_seg_copy(&inseg); - 8014888: 4829 ldr r0, [pc, #164] ; (8014930 ) - 801488a: f7fd fb81 bl 8011f90 - 801488e: 61b8 str r0, [r7, #24] + 8014418: 4829 ldr r0, [pc, #164] ; (80144c0 ) + 801441a: f7fd fb81 bl 8011b20 + 801441e: 61b8 str r0, [r7, #24] if (cseg != NULL) { - 8014890: 69bb ldr r3, [r7, #24] - 8014892: 2b00 cmp r3, #0 - 8014894: f000 8129 beq.w 8014aea + 8014420: 69bb ldr r3, [r7, #24] + 8014422: 2b00 cmp r3, #0 + 8014424: f000 8129 beq.w 801467a pcb->ooseq = cseg; - 8014898: 687b ldr r3, [r7, #4] - 801489a: 69ba ldr r2, [r7, #24] - 801489c: 675a str r2, [r3, #116] ; 0x74 + 8014428: 687b ldr r3, [r7, #4] + 801442a: 69ba ldr r2, [r7, #24] + 801442c: 675a str r2, [r3, #116] ; 0x74 tcp_oos_insert_segment(cseg, next); - 801489e: 6bb9 ldr r1, [r7, #56] ; 0x38 - 80148a0: 69b8 ldr r0, [r7, #24] - 80148a2: f7ff f8c3 bl 8013a2c + 801442e: 6bb9 ldr r1, [r7, #56] ; 0x38 + 8014430: 69b8 ldr r0, [r7, #24] + 8014432: f7ff f8c3 bl 80135bc } break; - 80148a6: e120 b.n 8014aea + 8014436: e120 b.n 801467a } } else { /*if (TCP_SEQ_LT(prev->tcphdr->seqno, seqno) && TCP_SEQ_LT(seqno, next->tcphdr->seqno)) {*/ if (TCP_SEQ_BETWEEN(seqno, prev->tcphdr->seqno + 1, next->tcphdr->seqno - 1)) { - 80148a8: 4b22 ldr r3, [pc, #136] ; (8014934 ) - 80148aa: 681a ldr r2, [r3, #0] - 80148ac: 6b7b ldr r3, [r7, #52] ; 0x34 - 80148ae: 68db ldr r3, [r3, #12] - 80148b0: 685b ldr r3, [r3, #4] - 80148b2: 1ad3 subs r3, r2, r3 - 80148b4: 3b01 subs r3, #1 - 80148b6: 2b00 cmp r3, #0 - 80148b8: db3e blt.n 8014938 - 80148ba: 4b1e ldr r3, [pc, #120] ; (8014934 ) - 80148bc: 681a ldr r2, [r3, #0] - 80148be: 6bbb ldr r3, [r7, #56] ; 0x38 - 80148c0: 68db ldr r3, [r3, #12] - 80148c2: 685b ldr r3, [r3, #4] - 80148c4: 1ad3 subs r3, r2, r3 - 80148c6: 3301 adds r3, #1 - 80148c8: 2b00 cmp r3, #0 - 80148ca: dc35 bgt.n 8014938 + 8014438: 4b22 ldr r3, [pc, #136] ; (80144c4 ) + 801443a: 681a ldr r2, [r3, #0] + 801443c: 6b7b ldr r3, [r7, #52] ; 0x34 + 801443e: 68db ldr r3, [r3, #12] + 8014440: 685b ldr r3, [r3, #4] + 8014442: 1ad3 subs r3, r2, r3 + 8014444: 3b01 subs r3, #1 + 8014446: 2b00 cmp r3, #0 + 8014448: db3e blt.n 80144c8 + 801444a: 4b1e ldr r3, [pc, #120] ; (80144c4 ) + 801444c: 681a ldr r2, [r3, #0] + 801444e: 6bbb ldr r3, [r7, #56] ; 0x38 + 8014450: 68db ldr r3, [r3, #12] + 8014452: 685b ldr r3, [r3, #4] + 8014454: 1ad3 subs r3, r2, r3 + 8014456: 3301 adds r3, #1 + 8014458: 2b00 cmp r3, #0 + 801445a: dc35 bgt.n 80144c8 /* The sequence number of the incoming segment is in between the sequence numbers of the previous and the next segment on ->ooseq. We trim trim the previous segment, delete next segments that included in received segment and trim received, if needed. */ struct tcp_seg *cseg = tcp_seg_copy(&inseg); - 80148cc: 4818 ldr r0, [pc, #96] ; (8014930 ) - 80148ce: f7fd fb5f bl 8011f90 - 80148d2: 61f8 str r0, [r7, #28] + 801445c: 4818 ldr r0, [pc, #96] ; (80144c0 ) + 801445e: f7fd fb5f bl 8011b20 + 8014462: 61f8 str r0, [r7, #28] if (cseg != NULL) { - 80148d4: 69fb ldr r3, [r7, #28] - 80148d6: 2b00 cmp r3, #0 - 80148d8: f000 8109 beq.w 8014aee + 8014464: 69fb ldr r3, [r7, #28] + 8014466: 2b00 cmp r3, #0 + 8014468: f000 8109 beq.w 801467e if (TCP_SEQ_GT(prev->tcphdr->seqno + prev->len, seqno)) { - 80148dc: 6b7b ldr r3, [r7, #52] ; 0x34 - 80148de: 68db ldr r3, [r3, #12] - 80148e0: 685b ldr r3, [r3, #4] - 80148e2: 6b7a ldr r2, [r7, #52] ; 0x34 - 80148e4: 8912 ldrh r2, [r2, #8] - 80148e6: 441a add r2, r3 - 80148e8: 4b12 ldr r3, [pc, #72] ; (8014934 ) - 80148ea: 681b ldr r3, [r3, #0] - 80148ec: 1ad3 subs r3, r2, r3 - 80148ee: 2b00 cmp r3, #0 - 80148f0: dd12 ble.n 8014918 + 801446c: 6b7b ldr r3, [r7, #52] ; 0x34 + 801446e: 68db ldr r3, [r3, #12] + 8014470: 685b ldr r3, [r3, #4] + 8014472: 6b7a ldr r2, [r7, #52] ; 0x34 + 8014474: 8912 ldrh r2, [r2, #8] + 8014476: 441a add r2, r3 + 8014478: 4b12 ldr r3, [pc, #72] ; (80144c4 ) + 801447a: 681b ldr r3, [r3, #0] + 801447c: 1ad3 subs r3, r2, r3 + 801447e: 2b00 cmp r3, #0 + 8014480: dd12 ble.n 80144a8 /* We need to trim the prev segment. */ prev->len = (u16_t)(seqno - prev->tcphdr->seqno); - 80148f2: 4b10 ldr r3, [pc, #64] ; (8014934 ) - 80148f4: 681b ldr r3, [r3, #0] - 80148f6: b29a uxth r2, r3 - 80148f8: 6b7b ldr r3, [r7, #52] ; 0x34 - 80148fa: 68db ldr r3, [r3, #12] - 80148fc: 685b ldr r3, [r3, #4] - 80148fe: b29b uxth r3, r3 - 8014900: 1ad3 subs r3, r2, r3 - 8014902: b29a uxth r2, r3 - 8014904: 6b7b ldr r3, [r7, #52] ; 0x34 - 8014906: 811a strh r2, [r3, #8] + 8014482: 4b10 ldr r3, [pc, #64] ; (80144c4 ) + 8014484: 681b ldr r3, [r3, #0] + 8014486: b29a uxth r2, r3 + 8014488: 6b7b ldr r3, [r7, #52] ; 0x34 + 801448a: 68db ldr r3, [r3, #12] + 801448c: 685b ldr r3, [r3, #4] + 801448e: b29b uxth r3, r3 + 8014490: 1ad3 subs r3, r2, r3 + 8014492: b29a uxth r2, r3 + 8014494: 6b7b ldr r3, [r7, #52] ; 0x34 + 8014496: 811a strh r2, [r3, #8] pbuf_realloc(prev->p, prev->len); - 8014908: 6b7b ldr r3, [r7, #52] ; 0x34 - 801490a: 685a ldr r2, [r3, #4] - 801490c: 6b7b ldr r3, [r7, #52] ; 0x34 - 801490e: 891b ldrh r3, [r3, #8] - 8014910: 4619 mov r1, r3 - 8014912: 4610 mov r0, r2 - 8014914: f7fb ff1a bl 801074c + 8014498: 6b7b ldr r3, [r7, #52] ; 0x34 + 801449a: 685a ldr r2, [r3, #4] + 801449c: 6b7b ldr r3, [r7, #52] ; 0x34 + 801449e: 891b ldrh r3, [r3, #8] + 80144a0: 4619 mov r1, r3 + 80144a2: 4610 mov r0, r2 + 80144a4: f7fb ff1a bl 80102dc } prev->next = cseg; - 8014918: 6b7b ldr r3, [r7, #52] ; 0x34 - 801491a: 69fa ldr r2, [r7, #28] - 801491c: 601a str r2, [r3, #0] + 80144a8: 6b7b ldr r3, [r7, #52] ; 0x34 + 80144aa: 69fa ldr r2, [r7, #28] + 80144ac: 601a str r2, [r3, #0] tcp_oos_insert_segment(cseg, next); - 801491e: 6bb9 ldr r1, [r7, #56] ; 0x38 - 8014920: 69f8 ldr r0, [r7, #28] - 8014922: f7ff f883 bl 8013a2c + 80144ae: 6bb9 ldr r1, [r7, #56] ; 0x38 + 80144b0: 69f8 ldr r0, [r7, #28] + 80144b2: f7ff f883 bl 80135bc } break; - 8014926: e0e2 b.n 8014aee - 8014928: 2000875c .word 0x2000875c - 801492c: 20008759 .word 0x20008759 - 8014930: 2000872c .word 0x2000872c - 8014934: 2000874c .word 0x2000874c + 80144b6: e0e2 b.n 801467e + 80144b8: 2000875c .word 0x2000875c + 80144bc: 20008759 .word 0x20008759 + 80144c0: 2000872c .word 0x2000872c + 80144c4: 2000874c .word 0x2000874c #endif /* LWIP_TCP_SACK_OUT */ /* We don't use 'prev' below, so let's set it to current 'next'. This way even if we break the loop below, 'prev' will be pointing at the segment right in front of the newly added one. */ prev = next; - 8014938: 6bbb ldr r3, [r7, #56] ; 0x38 - 801493a: 637b str r3, [r7, #52] ; 0x34 + 80144c8: 6bbb ldr r3, [r7, #56] ; 0x38 + 80144ca: 637b str r3, [r7, #52] ; 0x34 /* If the "next" segment is the last segment on the ooseq queue, we add the incoming segment to the end of the list. */ if (next->next == NULL && - 801493c: 6bbb ldr r3, [r7, #56] ; 0x38 - 801493e: 681b ldr r3, [r3, #0] - 8014940: 2b00 cmp r3, #0 - 8014942: f040 80c6 bne.w 8014ad2 + 80144cc: 6bbb ldr r3, [r7, #56] ; 0x38 + 80144ce: 681b ldr r3, [r3, #0] + 80144d0: 2b00 cmp r3, #0 + 80144d2: f040 80c6 bne.w 8014662 TCP_SEQ_GT(seqno, next->tcphdr->seqno)) { - 8014946: 4b80 ldr r3, [pc, #512] ; (8014b48 ) - 8014948: 681a ldr r2, [r3, #0] - 801494a: 6bbb ldr r3, [r7, #56] ; 0x38 - 801494c: 68db ldr r3, [r3, #12] - 801494e: 685b ldr r3, [r3, #4] - 8014950: 1ad3 subs r3, r2, r3 + 80144d6: 4b80 ldr r3, [pc, #512] ; (80146d8 ) + 80144d8: 681a ldr r2, [r3, #0] + 80144da: 6bbb ldr r3, [r7, #56] ; 0x38 + 80144dc: 68db ldr r3, [r3, #12] + 80144de: 685b ldr r3, [r3, #4] + 80144e0: 1ad3 subs r3, r2, r3 if (next->next == NULL && - 8014952: 2b00 cmp r3, #0 - 8014954: f340 80bd ble.w 8014ad2 + 80144e2: 2b00 cmp r3, #0 + 80144e4: f340 80bd ble.w 8014662 if (TCPH_FLAGS(next->tcphdr) & TCP_FIN) { - 8014958: 6bbb ldr r3, [r7, #56] ; 0x38 - 801495a: 68db ldr r3, [r3, #12] - 801495c: 899b ldrh r3, [r3, #12] - 801495e: b29b uxth r3, r3 - 8014960: 4618 mov r0, r3 - 8014962: f7fa fcc5 bl 800f2f0 - 8014966: 4603 mov r3, r0 - 8014968: b2db uxtb r3, r3 - 801496a: f003 0301 and.w r3, r3, #1 - 801496e: 2b00 cmp r3, #0 - 8014970: f040 80bf bne.w 8014af2 + 80144e8: 6bbb ldr r3, [r7, #56] ; 0x38 + 80144ea: 68db ldr r3, [r3, #12] + 80144ec: 899b ldrh r3, [r3, #12] + 80144ee: b29b uxth r3, r3 + 80144f0: 4618 mov r0, r3 + 80144f2: f7fa fcc5 bl 800ee80 + 80144f6: 4603 mov r3, r0 + 80144f8: b2db uxtb r3, r3 + 80144fa: f003 0301 and.w r3, r3, #1 + 80144fe: 2b00 cmp r3, #0 + 8014500: f040 80bf bne.w 8014682 /* segment "next" already contains all data */ break; } next->next = tcp_seg_copy(&inseg); - 8014974: 4875 ldr r0, [pc, #468] ; (8014b4c ) - 8014976: f7fd fb0b bl 8011f90 - 801497a: 4602 mov r2, r0 - 801497c: 6bbb ldr r3, [r7, #56] ; 0x38 - 801497e: 601a str r2, [r3, #0] + 8014504: 4875 ldr r0, [pc, #468] ; (80146dc ) + 8014506: f7fd fb0b bl 8011b20 + 801450a: 4602 mov r2, r0 + 801450c: 6bbb ldr r3, [r7, #56] ; 0x38 + 801450e: 601a str r2, [r3, #0] if (next->next != NULL) { - 8014980: 6bbb ldr r3, [r7, #56] ; 0x38 - 8014982: 681b ldr r3, [r3, #0] - 8014984: 2b00 cmp r3, #0 - 8014986: f000 80b6 beq.w 8014af6 + 8014510: 6bbb ldr r3, [r7, #56] ; 0x38 + 8014512: 681b ldr r3, [r3, #0] + 8014514: 2b00 cmp r3, #0 + 8014516: f000 80b6 beq.w 8014686 if (TCP_SEQ_GT(next->tcphdr->seqno + next->len, seqno)) { - 801498a: 6bbb ldr r3, [r7, #56] ; 0x38 - 801498c: 68db ldr r3, [r3, #12] - 801498e: 685b ldr r3, [r3, #4] - 8014990: 6bba ldr r2, [r7, #56] ; 0x38 - 8014992: 8912 ldrh r2, [r2, #8] - 8014994: 441a add r2, r3 - 8014996: 4b6c ldr r3, [pc, #432] ; (8014b48 ) - 8014998: 681b ldr r3, [r3, #0] - 801499a: 1ad3 subs r3, r2, r3 - 801499c: 2b00 cmp r3, #0 - 801499e: dd12 ble.n 80149c6 + 801451a: 6bbb ldr r3, [r7, #56] ; 0x38 + 801451c: 68db ldr r3, [r3, #12] + 801451e: 685b ldr r3, [r3, #4] + 8014520: 6bba ldr r2, [r7, #56] ; 0x38 + 8014522: 8912 ldrh r2, [r2, #8] + 8014524: 441a add r2, r3 + 8014526: 4b6c ldr r3, [pc, #432] ; (80146d8 ) + 8014528: 681b ldr r3, [r3, #0] + 801452a: 1ad3 subs r3, r2, r3 + 801452c: 2b00 cmp r3, #0 + 801452e: dd12 ble.n 8014556 /* We need to trim the last segment. */ next->len = (u16_t)(seqno - next->tcphdr->seqno); - 80149a0: 4b69 ldr r3, [pc, #420] ; (8014b48 ) - 80149a2: 681b ldr r3, [r3, #0] - 80149a4: b29a uxth r2, r3 - 80149a6: 6bbb ldr r3, [r7, #56] ; 0x38 - 80149a8: 68db ldr r3, [r3, #12] - 80149aa: 685b ldr r3, [r3, #4] - 80149ac: b29b uxth r3, r3 - 80149ae: 1ad3 subs r3, r2, r3 - 80149b0: b29a uxth r2, r3 - 80149b2: 6bbb ldr r3, [r7, #56] ; 0x38 - 80149b4: 811a strh r2, [r3, #8] + 8014530: 4b69 ldr r3, [pc, #420] ; (80146d8 ) + 8014532: 681b ldr r3, [r3, #0] + 8014534: b29a uxth r2, r3 + 8014536: 6bbb ldr r3, [r7, #56] ; 0x38 + 8014538: 68db ldr r3, [r3, #12] + 801453a: 685b ldr r3, [r3, #4] + 801453c: b29b uxth r3, r3 + 801453e: 1ad3 subs r3, r2, r3 + 8014540: b29a uxth r2, r3 + 8014542: 6bbb ldr r3, [r7, #56] ; 0x38 + 8014544: 811a strh r2, [r3, #8] pbuf_realloc(next->p, next->len); - 80149b6: 6bbb ldr r3, [r7, #56] ; 0x38 - 80149b8: 685a ldr r2, [r3, #4] - 80149ba: 6bbb ldr r3, [r7, #56] ; 0x38 - 80149bc: 891b ldrh r3, [r3, #8] - 80149be: 4619 mov r1, r3 - 80149c0: 4610 mov r0, r2 - 80149c2: f7fb fec3 bl 801074c + 8014546: 6bbb ldr r3, [r7, #56] ; 0x38 + 8014548: 685a ldr r2, [r3, #4] + 801454a: 6bbb ldr r3, [r7, #56] ; 0x38 + 801454c: 891b ldrh r3, [r3, #8] + 801454e: 4619 mov r1, r3 + 8014550: 4610 mov r0, r2 + 8014552: f7fb fec3 bl 80102dc } /* check if the remote side overruns our receive window */ if (TCP_SEQ_GT((u32_t)tcplen + seqno, pcb->rcv_nxt + (u32_t)pcb->rcv_wnd)) { - 80149c6: 4b62 ldr r3, [pc, #392] ; (8014b50 ) - 80149c8: 881b ldrh r3, [r3, #0] - 80149ca: 461a mov r2, r3 - 80149cc: 4b5e ldr r3, [pc, #376] ; (8014b48 ) - 80149ce: 681b ldr r3, [r3, #0] - 80149d0: 441a add r2, r3 - 80149d2: 687b ldr r3, [r7, #4] - 80149d4: 6a5b ldr r3, [r3, #36] ; 0x24 - 80149d6: 6879 ldr r1, [r7, #4] - 80149d8: 8d09 ldrh r1, [r1, #40] ; 0x28 - 80149da: 440b add r3, r1 - 80149dc: 1ad3 subs r3, r2, r3 - 80149de: 2b00 cmp r3, #0 - 80149e0: f340 8089 ble.w 8014af6 + 8014556: 4b62 ldr r3, [pc, #392] ; (80146e0 ) + 8014558: 881b ldrh r3, [r3, #0] + 801455a: 461a mov r2, r3 + 801455c: 4b5e ldr r3, [pc, #376] ; (80146d8 ) + 801455e: 681b ldr r3, [r3, #0] + 8014560: 441a add r2, r3 + 8014562: 687b ldr r3, [r7, #4] + 8014564: 6a5b ldr r3, [r3, #36] ; 0x24 + 8014566: 6879 ldr r1, [r7, #4] + 8014568: 8d09 ldrh r1, [r1, #40] ; 0x28 + 801456a: 440b add r3, r1 + 801456c: 1ad3 subs r3, r2, r3 + 801456e: 2b00 cmp r3, #0 + 8014570: f340 8089 ble.w 8014686 LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: other end overran receive window" "seqno %"U32_F" len %"U16_F" right edge %"U32_F"\n", seqno, tcplen, pcb->rcv_nxt + pcb->rcv_wnd)); if (TCPH_FLAGS(next->next->tcphdr) & TCP_FIN) { - 80149e4: 6bbb ldr r3, [r7, #56] ; 0x38 - 80149e6: 681b ldr r3, [r3, #0] - 80149e8: 68db ldr r3, [r3, #12] - 80149ea: 899b ldrh r3, [r3, #12] - 80149ec: b29b uxth r3, r3 - 80149ee: 4618 mov r0, r3 - 80149f0: f7fa fc7e bl 800f2f0 - 80149f4: 4603 mov r3, r0 - 80149f6: b2db uxtb r3, r3 - 80149f8: f003 0301 and.w r3, r3, #1 - 80149fc: 2b00 cmp r3, #0 - 80149fe: d022 beq.n 8014a46 + 8014574: 6bbb ldr r3, [r7, #56] ; 0x38 + 8014576: 681b ldr r3, [r3, #0] + 8014578: 68db ldr r3, [r3, #12] + 801457a: 899b ldrh r3, [r3, #12] + 801457c: b29b uxth r3, r3 + 801457e: 4618 mov r0, r3 + 8014580: f7fa fc7e bl 800ee80 + 8014584: 4603 mov r3, r0 + 8014586: b2db uxtb r3, r3 + 8014588: f003 0301 and.w r3, r3, #1 + 801458c: 2b00 cmp r3, #0 + 801458e: d022 beq.n 80145d6 /* Must remove the FIN from the header as we're trimming * that byte of sequence-space from the packet */ TCPH_FLAGS_SET(next->next->tcphdr, TCPH_FLAGS(next->next->tcphdr) & ~TCP_FIN); - 8014a00: 6bbb ldr r3, [r7, #56] ; 0x38 - 8014a02: 681b ldr r3, [r3, #0] - 8014a04: 68db ldr r3, [r3, #12] - 8014a06: 899b ldrh r3, [r3, #12] - 8014a08: b29b uxth r3, r3 - 8014a0a: b21b sxth r3, r3 - 8014a0c: f423 537c bic.w r3, r3, #16128 ; 0x3f00 - 8014a10: b21c sxth r4, r3 - 8014a12: 6bbb ldr r3, [r7, #56] ; 0x38 - 8014a14: 681b ldr r3, [r3, #0] - 8014a16: 68db ldr r3, [r3, #12] - 8014a18: 899b ldrh r3, [r3, #12] - 8014a1a: b29b uxth r3, r3 - 8014a1c: 4618 mov r0, r3 - 8014a1e: f7fa fc67 bl 800f2f0 - 8014a22: 4603 mov r3, r0 - 8014a24: b2db uxtb r3, r3 - 8014a26: b29b uxth r3, r3 - 8014a28: f003 033e and.w r3, r3, #62 ; 0x3e - 8014a2c: b29b uxth r3, r3 - 8014a2e: 4618 mov r0, r3 - 8014a30: f7fa fc5e bl 800f2f0 - 8014a34: 4603 mov r3, r0 - 8014a36: b21b sxth r3, r3 - 8014a38: 4323 orrs r3, r4 - 8014a3a: b21a sxth r2, r3 - 8014a3c: 6bbb ldr r3, [r7, #56] ; 0x38 - 8014a3e: 681b ldr r3, [r3, #0] - 8014a40: 68db ldr r3, [r3, #12] - 8014a42: b292 uxth r2, r2 - 8014a44: 819a strh r2, [r3, #12] + 8014590: 6bbb ldr r3, [r7, #56] ; 0x38 + 8014592: 681b ldr r3, [r3, #0] + 8014594: 68db ldr r3, [r3, #12] + 8014596: 899b ldrh r3, [r3, #12] + 8014598: b29b uxth r3, r3 + 801459a: b21b sxth r3, r3 + 801459c: f423 537c bic.w r3, r3, #16128 ; 0x3f00 + 80145a0: b21c sxth r4, r3 + 80145a2: 6bbb ldr r3, [r7, #56] ; 0x38 + 80145a4: 681b ldr r3, [r3, #0] + 80145a6: 68db ldr r3, [r3, #12] + 80145a8: 899b ldrh r3, [r3, #12] + 80145aa: b29b uxth r3, r3 + 80145ac: 4618 mov r0, r3 + 80145ae: f7fa fc67 bl 800ee80 + 80145b2: 4603 mov r3, r0 + 80145b4: b2db uxtb r3, r3 + 80145b6: b29b uxth r3, r3 + 80145b8: f003 033e and.w r3, r3, #62 ; 0x3e + 80145bc: b29b uxth r3, r3 + 80145be: 4618 mov r0, r3 + 80145c0: f7fa fc5e bl 800ee80 + 80145c4: 4603 mov r3, r0 + 80145c6: b21b sxth r3, r3 + 80145c8: 4323 orrs r3, r4 + 80145ca: b21a sxth r2, r3 + 80145cc: 6bbb ldr r3, [r7, #56] ; 0x38 + 80145ce: 681b ldr r3, [r3, #0] + 80145d0: 68db ldr r3, [r3, #12] + 80145d2: b292 uxth r2, r2 + 80145d4: 819a strh r2, [r3, #12] } /* Adjust length of segment to fit in the window. */ next->next->len = (u16_t)(pcb->rcv_nxt + pcb->rcv_wnd - seqno); - 8014a46: 687b ldr r3, [r7, #4] - 8014a48: 6a5b ldr r3, [r3, #36] ; 0x24 - 8014a4a: b29a uxth r2, r3 - 8014a4c: 687b ldr r3, [r7, #4] - 8014a4e: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8014a50: 4413 add r3, r2 - 8014a52: b299 uxth r1, r3 - 8014a54: 4b3c ldr r3, [pc, #240] ; (8014b48 ) - 8014a56: 681b ldr r3, [r3, #0] - 8014a58: b29a uxth r2, r3 - 8014a5a: 6bbb ldr r3, [r7, #56] ; 0x38 - 8014a5c: 681b ldr r3, [r3, #0] - 8014a5e: 1a8a subs r2, r1, r2 - 8014a60: b292 uxth r2, r2 - 8014a62: 811a strh r2, [r3, #8] + 80145d6: 687b ldr r3, [r7, #4] + 80145d8: 6a5b ldr r3, [r3, #36] ; 0x24 + 80145da: b29a uxth r2, r3 + 80145dc: 687b ldr r3, [r7, #4] + 80145de: 8d1b ldrh r3, [r3, #40] ; 0x28 + 80145e0: 4413 add r3, r2 + 80145e2: b299 uxth r1, r3 + 80145e4: 4b3c ldr r3, [pc, #240] ; (80146d8 ) + 80145e6: 681b ldr r3, [r3, #0] + 80145e8: b29a uxth r2, r3 + 80145ea: 6bbb ldr r3, [r7, #56] ; 0x38 + 80145ec: 681b ldr r3, [r3, #0] + 80145ee: 1a8a subs r2, r1, r2 + 80145f0: b292 uxth r2, r2 + 80145f2: 811a strh r2, [r3, #8] pbuf_realloc(next->next->p, next->next->len); - 8014a64: 6bbb ldr r3, [r7, #56] ; 0x38 - 8014a66: 681b ldr r3, [r3, #0] - 8014a68: 685a ldr r2, [r3, #4] - 8014a6a: 6bbb ldr r3, [r7, #56] ; 0x38 - 8014a6c: 681b ldr r3, [r3, #0] - 8014a6e: 891b ldrh r3, [r3, #8] - 8014a70: 4619 mov r1, r3 - 8014a72: 4610 mov r0, r2 - 8014a74: f7fb fe6a bl 801074c + 80145f4: 6bbb ldr r3, [r7, #56] ; 0x38 + 80145f6: 681b ldr r3, [r3, #0] + 80145f8: 685a ldr r2, [r3, #4] + 80145fa: 6bbb ldr r3, [r7, #56] ; 0x38 + 80145fc: 681b ldr r3, [r3, #0] + 80145fe: 891b ldrh r3, [r3, #8] + 8014600: 4619 mov r1, r3 + 8014602: 4610 mov r0, r2 + 8014604: f7fb fe6a bl 80102dc tcplen = TCP_TCPLEN(next->next); - 8014a78: 6bbb ldr r3, [r7, #56] ; 0x38 - 8014a7a: 681b ldr r3, [r3, #0] - 8014a7c: 891c ldrh r4, [r3, #8] - 8014a7e: 6bbb ldr r3, [r7, #56] ; 0x38 - 8014a80: 681b ldr r3, [r3, #0] - 8014a82: 68db ldr r3, [r3, #12] - 8014a84: 899b ldrh r3, [r3, #12] - 8014a86: b29b uxth r3, r3 - 8014a88: 4618 mov r0, r3 - 8014a8a: f7fa fc31 bl 800f2f0 - 8014a8e: 4603 mov r3, r0 - 8014a90: b2db uxtb r3, r3 - 8014a92: f003 0303 and.w r3, r3, #3 - 8014a96: 2b00 cmp r3, #0 - 8014a98: d001 beq.n 8014a9e - 8014a9a: 2301 movs r3, #1 - 8014a9c: e000 b.n 8014aa0 - 8014a9e: 2300 movs r3, #0 - 8014aa0: 4423 add r3, r4 - 8014aa2: b29a uxth r2, r3 - 8014aa4: 4b2a ldr r3, [pc, #168] ; (8014b50 ) - 8014aa6: 801a strh r2, [r3, #0] + 8014608: 6bbb ldr r3, [r7, #56] ; 0x38 + 801460a: 681b ldr r3, [r3, #0] + 801460c: 891c ldrh r4, [r3, #8] + 801460e: 6bbb ldr r3, [r7, #56] ; 0x38 + 8014610: 681b ldr r3, [r3, #0] + 8014612: 68db ldr r3, [r3, #12] + 8014614: 899b ldrh r3, [r3, #12] + 8014616: b29b uxth r3, r3 + 8014618: 4618 mov r0, r3 + 801461a: f7fa fc31 bl 800ee80 + 801461e: 4603 mov r3, r0 + 8014620: b2db uxtb r3, r3 + 8014622: f003 0303 and.w r3, r3, #3 + 8014626: 2b00 cmp r3, #0 + 8014628: d001 beq.n 801462e + 801462a: 2301 movs r3, #1 + 801462c: e000 b.n 8014630 + 801462e: 2300 movs r3, #0 + 8014630: 4423 add r3, r4 + 8014632: b29a uxth r2, r3 + 8014634: 4b2a ldr r3, [pc, #168] ; (80146e0 ) + 8014636: 801a strh r2, [r3, #0] LWIP_ASSERT("tcp_receive: segment not trimmed correctly to rcv_wnd\n", - 8014aa8: 4b29 ldr r3, [pc, #164] ; (8014b50 ) - 8014aaa: 881b ldrh r3, [r3, #0] - 8014aac: 461a mov r2, r3 - 8014aae: 4b26 ldr r3, [pc, #152] ; (8014b48 ) - 8014ab0: 681b ldr r3, [r3, #0] - 8014ab2: 441a add r2, r3 - 8014ab4: 687b ldr r3, [r7, #4] - 8014ab6: 6a5b ldr r3, [r3, #36] ; 0x24 - 8014ab8: 6879 ldr r1, [r7, #4] - 8014aba: 8d09 ldrh r1, [r1, #40] ; 0x28 - 8014abc: 440b add r3, r1 - 8014abe: 429a cmp r2, r3 - 8014ac0: d019 beq.n 8014af6 - 8014ac2: 4b24 ldr r3, [pc, #144] ; (8014b54 ) - 8014ac4: f240 62f9 movw r2, #1785 ; 0x6f9 - 8014ac8: 4923 ldr r1, [pc, #140] ; (8014b58 ) - 8014aca: 4824 ldr r0, [pc, #144] ; (8014b5c ) - 8014acc: f006 fcf4 bl 801b4b8 + 8014638: 4b29 ldr r3, [pc, #164] ; (80146e0 ) + 801463a: 881b ldrh r3, [r3, #0] + 801463c: 461a mov r2, r3 + 801463e: 4b26 ldr r3, [pc, #152] ; (80146d8 ) + 8014640: 681b ldr r3, [r3, #0] + 8014642: 441a add r2, r3 + 8014644: 687b ldr r3, [r7, #4] + 8014646: 6a5b ldr r3, [r3, #36] ; 0x24 + 8014648: 6879 ldr r1, [r7, #4] + 801464a: 8d09 ldrh r1, [r1, #40] ; 0x28 + 801464c: 440b add r3, r1 + 801464e: 429a cmp r2, r3 + 8014650: d019 beq.n 8014686 + 8014652: 4b24 ldr r3, [pc, #144] ; (80146e4 ) + 8014654: f240 62f9 movw r2, #1785 ; 0x6f9 + 8014658: 4923 ldr r1, [pc, #140] ; (80146e8 ) + 801465a: 4824 ldr r0, [pc, #144] ; (80146ec ) + 801465c: f006 fcda bl 801b014 (seqno + tcplen) == (pcb->rcv_nxt + pcb->rcv_wnd)); } } break; - 8014ad0: e011 b.n 8014af6 + 8014660: e011 b.n 8014686 for (next = pcb->ooseq; next != NULL; next = next->next) { - 8014ad2: 6bbb ldr r3, [r7, #56] ; 0x38 - 8014ad4: 681b ldr r3, [r3, #0] - 8014ad6: 63bb str r3, [r7, #56] ; 0x38 - 8014ad8: 6bbb ldr r3, [r7, #56] ; 0x38 - 8014ada: 2b00 cmp r3, #0 - 8014adc: f47f aea4 bne.w 8014828 - 8014ae0: e00a b.n 8014af8 + 8014662: 6bbb ldr r3, [r7, #56] ; 0x38 + 8014664: 681b ldr r3, [r3, #0] + 8014666: 63bb str r3, [r7, #56] ; 0x38 + 8014668: 6bbb ldr r3, [r7, #56] ; 0x38 + 801466a: 2b00 cmp r3, #0 + 801466c: f47f aea4 bne.w 80143b8 + 8014670: e00a b.n 8014688 break; - 8014ae2: bf00 nop - 8014ae4: e008 b.n 8014af8 + 8014672: bf00 nop + 8014674: e008 b.n 8014688 break; - 8014ae6: bf00 nop - 8014ae8: e006 b.n 8014af8 + 8014676: bf00 nop + 8014678: e006 b.n 8014688 break; - 8014aea: bf00 nop - 8014aec: e004 b.n 8014af8 + 801467a: bf00 nop + 801467c: e004 b.n 8014688 break; - 8014aee: bf00 nop - 8014af0: e002 b.n 8014af8 + 801467e: bf00 nop + 8014680: e002 b.n 8014688 break; - 8014af2: bf00 nop - 8014af4: e000 b.n 8014af8 + 8014682: bf00 nop + 8014684: e000 b.n 8014688 break; - 8014af6: bf00 nop + 8014686: bf00 nop #endif /* TCP_OOSEQ_BYTES_LIMIT || TCP_OOSEQ_PBUFS_LIMIT */ #endif /* TCP_QUEUE_OOSEQ */ /* We send the ACK packet after we've (potentially) dealt with SACKs, so they can be included in the acknowledgment. */ tcp_send_empty_ack(pcb); - 8014af8: 6878 ldr r0, [r7, #4] - 8014afa: f001 fa43 bl 8015f84 + 8014688: 6878 ldr r0, [r7, #4] + 801468a: f001 fa43 bl 8015b14 if (pcb->rcv_nxt == seqno) { - 8014afe: e003 b.n 8014b08 + 801468e: e003 b.n 8014698 } } else { /* The incoming segment is not within the window. */ tcp_send_empty_ack(pcb); - 8014b00: 6878 ldr r0, [r7, #4] - 8014b02: f001 fa3f bl 8015f84 + 8014690: 6878 ldr r0, [r7, #4] + 8014692: f001 fa3f bl 8015b14 if (TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, - 8014b06: e01a b.n 8014b3e - 8014b08: e019 b.n 8014b3e + 8014696: e01a b.n 80146ce + 8014698: e019 b.n 80146ce } } else { /* Segments with length 0 is taken care of here. Segments that fall out of the window are ACKed. */ if (!TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, pcb->rcv_nxt + pcb->rcv_wnd - 1)) { - 8014b0a: 4b0f ldr r3, [pc, #60] ; (8014b48 ) - 8014b0c: 681a ldr r2, [r3, #0] - 8014b0e: 687b ldr r3, [r7, #4] - 8014b10: 6a5b ldr r3, [r3, #36] ; 0x24 - 8014b12: 1ad3 subs r3, r2, r3 - 8014b14: 2b00 cmp r3, #0 - 8014b16: db0a blt.n 8014b2e - 8014b18: 4b0b ldr r3, [pc, #44] ; (8014b48 ) - 8014b1a: 681a ldr r2, [r3, #0] - 8014b1c: 687b ldr r3, [r7, #4] - 8014b1e: 6a5b ldr r3, [r3, #36] ; 0x24 - 8014b20: 6879 ldr r1, [r7, #4] - 8014b22: 8d09 ldrh r1, [r1, #40] ; 0x28 - 8014b24: 440b add r3, r1 - 8014b26: 1ad3 subs r3, r2, r3 - 8014b28: 3301 adds r3, #1 - 8014b2a: 2b00 cmp r3, #0 - 8014b2c: dd07 ble.n 8014b3e + 801469a: 4b0f ldr r3, [pc, #60] ; (80146d8 ) + 801469c: 681a ldr r2, [r3, #0] + 801469e: 687b ldr r3, [r7, #4] + 80146a0: 6a5b ldr r3, [r3, #36] ; 0x24 + 80146a2: 1ad3 subs r3, r2, r3 + 80146a4: 2b00 cmp r3, #0 + 80146a6: db0a blt.n 80146be + 80146a8: 4b0b ldr r3, [pc, #44] ; (80146d8 ) + 80146aa: 681a ldr r2, [r3, #0] + 80146ac: 687b ldr r3, [r7, #4] + 80146ae: 6a5b ldr r3, [r3, #36] ; 0x24 + 80146b0: 6879 ldr r1, [r7, #4] + 80146b2: 8d09 ldrh r1, [r1, #40] ; 0x28 + 80146b4: 440b add r3, r1 + 80146b6: 1ad3 subs r3, r2, r3 + 80146b8: 3301 adds r3, #1 + 80146ba: 2b00 cmp r3, #0 + 80146bc: dd07 ble.n 80146ce tcp_ack_now(pcb); - 8014b2e: 687b ldr r3, [r7, #4] - 8014b30: 8b5b ldrh r3, [r3, #26] - 8014b32: f043 0302 orr.w r3, r3, #2 - 8014b36: b29a uxth r2, r3 - 8014b38: 687b ldr r3, [r7, #4] - 8014b3a: 835a strh r2, [r3, #26] + 80146be: 687b ldr r3, [r7, #4] + 80146c0: 8b5b ldrh r3, [r3, #26] + 80146c2: f043 0302 orr.w r3, r3, #2 + 80146c6: b29a uxth r2, r3 + 80146c8: 687b ldr r3, [r7, #4] + 80146ca: 835a strh r2, [r3, #26] } } } - 8014b3c: e7ff b.n 8014b3e - 8014b3e: bf00 nop - 8014b40: 3750 adds r7, #80 ; 0x50 - 8014b42: 46bd mov sp, r7 - 8014b44: bdb0 pop {r4, r5, r7, pc} - 8014b46: bf00 nop - 8014b48: 2000874c .word 0x2000874c - 8014b4c: 2000872c .word 0x2000872c - 8014b50: 20008756 .word 0x20008756 - 8014b54: 0801dab4 .word 0x0801dab4 - 8014b58: 0801de5c .word 0x0801de5c - 8014b5c: 0801db00 .word 0x0801db00 + 80146cc: e7ff b.n 80146ce + 80146ce: bf00 nop + 80146d0: 3750 adds r7, #80 ; 0x50 + 80146d2: 46bd mov sp, r7 + 80146d4: bdb0 pop {r4, r5, r7, pc} + 80146d6: bf00 nop + 80146d8: 2000874c .word 0x2000874c + 80146dc: 2000872c .word 0x2000872c + 80146e0: 20008756 .word 0x20008756 + 80146e4: 0801d2b0 .word 0x0801d2b0 + 80146e8: 0801d658 .word 0x0801d658 + 80146ec: 0801d2fc .word 0x0801d2fc -08014b60 : +080146f0 : static u8_t tcp_get_next_optbyte(void) { - 8014b60: b480 push {r7} - 8014b62: b083 sub sp, #12 - 8014b64: af00 add r7, sp, #0 + 80146f0: b480 push {r7} + 80146f2: b083 sub sp, #12 + 80146f4: af00 add r7, sp, #0 u16_t optidx = tcp_optidx++; - 8014b66: 4b15 ldr r3, [pc, #84] ; (8014bbc ) - 8014b68: 881b ldrh r3, [r3, #0] - 8014b6a: 1c5a adds r2, r3, #1 - 8014b6c: b291 uxth r1, r2 - 8014b6e: 4a13 ldr r2, [pc, #76] ; (8014bbc ) - 8014b70: 8011 strh r1, [r2, #0] - 8014b72: 80fb strh r3, [r7, #6] + 80146f6: 4b15 ldr r3, [pc, #84] ; (801474c ) + 80146f8: 881b ldrh r3, [r3, #0] + 80146fa: 1c5a adds r2, r3, #1 + 80146fc: b291 uxth r1, r2 + 80146fe: 4a13 ldr r2, [pc, #76] ; (801474c ) + 8014700: 8011 strh r1, [r2, #0] + 8014702: 80fb strh r3, [r7, #6] if ((tcphdr_opt2 == NULL) || (optidx < tcphdr_opt1len)) { - 8014b74: 4b12 ldr r3, [pc, #72] ; (8014bc0 ) - 8014b76: 681b ldr r3, [r3, #0] - 8014b78: 2b00 cmp r3, #0 - 8014b7a: d004 beq.n 8014b86 - 8014b7c: 4b11 ldr r3, [pc, #68] ; (8014bc4 ) - 8014b7e: 881b ldrh r3, [r3, #0] - 8014b80: 88fa ldrh r2, [r7, #6] - 8014b82: 429a cmp r2, r3 - 8014b84: d208 bcs.n 8014b98 + 8014704: 4b12 ldr r3, [pc, #72] ; (8014750 ) + 8014706: 681b ldr r3, [r3, #0] + 8014708: 2b00 cmp r3, #0 + 801470a: d004 beq.n 8014716 + 801470c: 4b11 ldr r3, [pc, #68] ; (8014754 ) + 801470e: 881b ldrh r3, [r3, #0] + 8014710: 88fa ldrh r2, [r7, #6] + 8014712: 429a cmp r2, r3 + 8014714: d208 bcs.n 8014728 u8_t *opts = (u8_t *)tcphdr + TCP_HLEN; - 8014b86: 4b10 ldr r3, [pc, #64] ; (8014bc8 ) - 8014b88: 681b ldr r3, [r3, #0] - 8014b8a: 3314 adds r3, #20 - 8014b8c: 603b str r3, [r7, #0] + 8014716: 4b10 ldr r3, [pc, #64] ; (8014758 ) + 8014718: 681b ldr r3, [r3, #0] + 801471a: 3314 adds r3, #20 + 801471c: 603b str r3, [r7, #0] return opts[optidx]; - 8014b8e: 88fb ldrh r3, [r7, #6] - 8014b90: 683a ldr r2, [r7, #0] - 8014b92: 4413 add r3, r2 - 8014b94: 781b ldrb r3, [r3, #0] - 8014b96: e00b b.n 8014bb0 + 801471e: 88fb ldrh r3, [r7, #6] + 8014720: 683a ldr r2, [r7, #0] + 8014722: 4413 add r3, r2 + 8014724: 781b ldrb r3, [r3, #0] + 8014726: e00b b.n 8014740 } else { u8_t idx = (u8_t)(optidx - tcphdr_opt1len); - 8014b98: 88fb ldrh r3, [r7, #6] - 8014b9a: b2da uxtb r2, r3 - 8014b9c: 4b09 ldr r3, [pc, #36] ; (8014bc4 ) - 8014b9e: 881b ldrh r3, [r3, #0] - 8014ba0: b2db uxtb r3, r3 - 8014ba2: 1ad3 subs r3, r2, r3 - 8014ba4: 717b strb r3, [r7, #5] + 8014728: 88fb ldrh r3, [r7, #6] + 801472a: b2da uxtb r2, r3 + 801472c: 4b09 ldr r3, [pc, #36] ; (8014754 ) + 801472e: 881b ldrh r3, [r3, #0] + 8014730: b2db uxtb r3, r3 + 8014732: 1ad3 subs r3, r2, r3 + 8014734: 717b strb r3, [r7, #5] return tcphdr_opt2[idx]; - 8014ba6: 4b06 ldr r3, [pc, #24] ; (8014bc0 ) - 8014ba8: 681a ldr r2, [r3, #0] - 8014baa: 797b ldrb r3, [r7, #5] - 8014bac: 4413 add r3, r2 - 8014bae: 781b ldrb r3, [r3, #0] + 8014736: 4b06 ldr r3, [pc, #24] ; (8014750 ) + 8014738: 681a ldr r2, [r3, #0] + 801473a: 797b ldrb r3, [r7, #5] + 801473c: 4413 add r3, r2 + 801473e: 781b ldrb r3, [r3, #0] } } - 8014bb0: 4618 mov r0, r3 - 8014bb2: 370c adds r7, #12 - 8014bb4: 46bd mov sp, r7 - 8014bb6: f85d 7b04 ldr.w r7, [sp], #4 - 8014bba: 4770 bx lr - 8014bbc: 20008748 .word 0x20008748 - 8014bc0: 20008744 .word 0x20008744 - 8014bc4: 20008742 .word 0x20008742 - 8014bc8: 2000873c .word 0x2000873c + 8014740: 4618 mov r0, r3 + 8014742: 370c adds r7, #12 + 8014744: 46bd mov sp, r7 + 8014746: f85d 7b04 ldr.w r7, [sp], #4 + 801474a: 4770 bx lr + 801474c: 20008748 .word 0x20008748 + 8014750: 20008744 .word 0x20008744 + 8014754: 20008742 .word 0x20008742 + 8014758: 2000873c .word 0x2000873c -08014bcc : +0801475c : * * @param pcb the tcp_pcb for which a segment arrived */ static void tcp_parseopt(struct tcp_pcb *pcb) { - 8014bcc: b580 push {r7, lr} - 8014bce: b084 sub sp, #16 - 8014bd0: af00 add r7, sp, #0 - 8014bd2: 6078 str r0, [r7, #4] + 801475c: b580 push {r7, lr} + 801475e: b084 sub sp, #16 + 8014760: af00 add r7, sp, #0 + 8014762: 6078 str r0, [r7, #4] u16_t mss; #if LWIP_TCP_TIMESTAMPS u32_t tsval; #endif LWIP_ASSERT("tcp_parseopt: invalid pcb", pcb != NULL); - 8014bd4: 687b ldr r3, [r7, #4] - 8014bd6: 2b00 cmp r3, #0 - 8014bd8: d106 bne.n 8014be8 - 8014bda: 4b31 ldr r3, [pc, #196] ; (8014ca0 ) - 8014bdc: f240 727d movw r2, #1917 ; 0x77d - 8014be0: 4930 ldr r1, [pc, #192] ; (8014ca4 ) - 8014be2: 4831 ldr r0, [pc, #196] ; (8014ca8 ) - 8014be4: f006 fc68 bl 801b4b8 + 8014764: 687b ldr r3, [r7, #4] + 8014766: 2b00 cmp r3, #0 + 8014768: d106 bne.n 8014778 + 801476a: 4b31 ldr r3, [pc, #196] ; (8014830 ) + 801476c: f240 727d movw r2, #1917 ; 0x77d + 8014770: 4930 ldr r1, [pc, #192] ; (8014834 ) + 8014772: 4831 ldr r0, [pc, #196] ; (8014838 ) + 8014774: f006 fc4e bl 801b014 /* Parse the TCP MSS option, if present. */ if (tcphdr_optlen != 0) { - 8014be8: 4b30 ldr r3, [pc, #192] ; (8014cac ) - 8014bea: 881b ldrh r3, [r3, #0] - 8014bec: 2b00 cmp r3, #0 - 8014bee: d053 beq.n 8014c98 + 8014778: 4b30 ldr r3, [pc, #192] ; (801483c ) + 801477a: 881b ldrh r3, [r3, #0] + 801477c: 2b00 cmp r3, #0 + 801477e: d053 beq.n 8014828 for (tcp_optidx = 0; tcp_optidx < tcphdr_optlen; ) { - 8014bf0: 4b2f ldr r3, [pc, #188] ; (8014cb0 ) - 8014bf2: 2200 movs r2, #0 - 8014bf4: 801a strh r2, [r3, #0] - 8014bf6: e043 b.n 8014c80 + 8014780: 4b2f ldr r3, [pc, #188] ; (8014840 ) + 8014782: 2200 movs r2, #0 + 8014784: 801a strh r2, [r3, #0] + 8014786: e043 b.n 8014810 u8_t opt = tcp_get_next_optbyte(); - 8014bf8: f7ff ffb2 bl 8014b60 - 8014bfc: 4603 mov r3, r0 - 8014bfe: 73fb strb r3, [r7, #15] + 8014788: f7ff ffb2 bl 80146f0 + 801478c: 4603 mov r3, r0 + 801478e: 73fb strb r3, [r7, #15] switch (opt) { - 8014c00: 7bfb ldrb r3, [r7, #15] - 8014c02: 2b01 cmp r3, #1 - 8014c04: d03c beq.n 8014c80 - 8014c06: 2b02 cmp r3, #2 - 8014c08: d002 beq.n 8014c10 - 8014c0a: 2b00 cmp r3, #0 - 8014c0c: d03f beq.n 8014c8e - 8014c0e: e026 b.n 8014c5e + 8014790: 7bfb ldrb r3, [r7, #15] + 8014792: 2b01 cmp r3, #1 + 8014794: d03c beq.n 8014810 + 8014796: 2b02 cmp r3, #2 + 8014798: d002 beq.n 80147a0 + 801479a: 2b00 cmp r3, #0 + 801479c: d03f beq.n 801481e + 801479e: e026 b.n 80147ee /* NOP option. */ LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_parseopt: NOP\n")); break; case LWIP_TCP_OPT_MSS: LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_parseopt: MSS\n")); if (tcp_get_next_optbyte() != LWIP_TCP_OPT_LEN_MSS || (tcp_optidx - 2 + LWIP_TCP_OPT_LEN_MSS) > tcphdr_optlen) { - 8014c10: f7ff ffa6 bl 8014b60 - 8014c14: 4603 mov r3, r0 - 8014c16: 2b04 cmp r3, #4 - 8014c18: d13b bne.n 8014c92 - 8014c1a: 4b25 ldr r3, [pc, #148] ; (8014cb0 ) - 8014c1c: 881b ldrh r3, [r3, #0] - 8014c1e: 3302 adds r3, #2 - 8014c20: 4a22 ldr r2, [pc, #136] ; (8014cac ) - 8014c22: 8812 ldrh r2, [r2, #0] - 8014c24: 4293 cmp r3, r2 - 8014c26: dc34 bgt.n 8014c92 + 80147a0: f7ff ffa6 bl 80146f0 + 80147a4: 4603 mov r3, r0 + 80147a6: 2b04 cmp r3, #4 + 80147a8: d13b bne.n 8014822 + 80147aa: 4b25 ldr r3, [pc, #148] ; (8014840 ) + 80147ac: 881b ldrh r3, [r3, #0] + 80147ae: 3302 adds r3, #2 + 80147b0: 4a22 ldr r2, [pc, #136] ; (801483c ) + 80147b2: 8812 ldrh r2, [r2, #0] + 80147b4: 4293 cmp r3, r2 + 80147b6: dc34 bgt.n 8014822 /* Bad length */ LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_parseopt: bad length\n")); return; } /* An MSS option with the right option length. */ mss = (u16_t)(tcp_get_next_optbyte() << 8); - 8014c28: f7ff ff9a bl 8014b60 - 8014c2c: 4603 mov r3, r0 - 8014c2e: b29b uxth r3, r3 - 8014c30: 021b lsls r3, r3, #8 - 8014c32: 81bb strh r3, [r7, #12] + 80147b8: f7ff ff9a bl 80146f0 + 80147bc: 4603 mov r3, r0 + 80147be: b29b uxth r3, r3 + 80147c0: 021b lsls r3, r3, #8 + 80147c2: 81bb strh r3, [r7, #12] mss |= tcp_get_next_optbyte(); - 8014c34: f7ff ff94 bl 8014b60 - 8014c38: 4603 mov r3, r0 - 8014c3a: b29a uxth r2, r3 - 8014c3c: 89bb ldrh r3, [r7, #12] - 8014c3e: 4313 orrs r3, r2 - 8014c40: 81bb strh r3, [r7, #12] + 80147c4: f7ff ff94 bl 80146f0 + 80147c8: 4603 mov r3, r0 + 80147ca: b29a uxth r2, r3 + 80147cc: 89bb ldrh r3, [r7, #12] + 80147ce: 4313 orrs r3, r2 + 80147d0: 81bb strh r3, [r7, #12] /* Limit the mss to the configured TCP_MSS and prevent division by zero */ pcb->mss = ((mss > TCP_MSS) || (mss == 0)) ? TCP_MSS : mss; - 8014c42: 89bb ldrh r3, [r7, #12] - 8014c44: f5b3 7f06 cmp.w r3, #536 ; 0x218 - 8014c48: d804 bhi.n 8014c54 - 8014c4a: 89bb ldrh r3, [r7, #12] - 8014c4c: 2b00 cmp r3, #0 - 8014c4e: d001 beq.n 8014c54 - 8014c50: 89ba ldrh r2, [r7, #12] - 8014c52: e001 b.n 8014c58 - 8014c54: f44f 7206 mov.w r2, #536 ; 0x218 - 8014c58: 687b ldr r3, [r7, #4] - 8014c5a: 865a strh r2, [r3, #50] ; 0x32 + 80147d2: 89bb ldrh r3, [r7, #12] + 80147d4: f5b3 7f06 cmp.w r3, #536 ; 0x218 + 80147d8: d804 bhi.n 80147e4 + 80147da: 89bb ldrh r3, [r7, #12] + 80147dc: 2b00 cmp r3, #0 + 80147de: d001 beq.n 80147e4 + 80147e0: 89ba ldrh r2, [r7, #12] + 80147e2: e001 b.n 80147e8 + 80147e4: f44f 7206 mov.w r2, #536 ; 0x218 + 80147e8: 687b ldr r3, [r7, #4] + 80147ea: 865a strh r2, [r3, #50] ; 0x32 break; - 8014c5c: e010 b.n 8014c80 + 80147ec: e010 b.n 8014810 } break; #endif /* LWIP_TCP_SACK_OUT */ default: LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_parseopt: other\n")); data = tcp_get_next_optbyte(); - 8014c5e: f7ff ff7f bl 8014b60 - 8014c62: 4603 mov r3, r0 - 8014c64: 72fb strb r3, [r7, #11] + 80147ee: f7ff ff7f bl 80146f0 + 80147f2: 4603 mov r3, r0 + 80147f4: 72fb strb r3, [r7, #11] if (data < 2) { - 8014c66: 7afb ldrb r3, [r7, #11] - 8014c68: 2b01 cmp r3, #1 - 8014c6a: d914 bls.n 8014c96 + 80147f6: 7afb ldrb r3, [r7, #11] + 80147f8: 2b01 cmp r3, #1 + 80147fa: d914 bls.n 8014826 and we don't process them further. */ return; } /* All other options have a length field, so that we easily can skip past them. */ tcp_optidx += data - 2; - 8014c6c: 7afb ldrb r3, [r7, #11] - 8014c6e: b29a uxth r2, r3 - 8014c70: 4b0f ldr r3, [pc, #60] ; (8014cb0 ) - 8014c72: 881b ldrh r3, [r3, #0] - 8014c74: 4413 add r3, r2 - 8014c76: b29b uxth r3, r3 - 8014c78: 3b02 subs r3, #2 - 8014c7a: b29a uxth r2, r3 - 8014c7c: 4b0c ldr r3, [pc, #48] ; (8014cb0 ) - 8014c7e: 801a strh r2, [r3, #0] + 80147fc: 7afb ldrb r3, [r7, #11] + 80147fe: b29a uxth r2, r3 + 8014800: 4b0f ldr r3, [pc, #60] ; (8014840 ) + 8014802: 881b ldrh r3, [r3, #0] + 8014804: 4413 add r3, r2 + 8014806: b29b uxth r3, r3 + 8014808: 3b02 subs r3, #2 + 801480a: b29a uxth r2, r3 + 801480c: 4b0c ldr r3, [pc, #48] ; (8014840 ) + 801480e: 801a strh r2, [r3, #0] for (tcp_optidx = 0; tcp_optidx < tcphdr_optlen; ) { - 8014c80: 4b0b ldr r3, [pc, #44] ; (8014cb0 ) - 8014c82: 881a ldrh r2, [r3, #0] - 8014c84: 4b09 ldr r3, [pc, #36] ; (8014cac ) - 8014c86: 881b ldrh r3, [r3, #0] - 8014c88: 429a cmp r2, r3 - 8014c8a: d3b5 bcc.n 8014bf8 - 8014c8c: e004 b.n 8014c98 + 8014810: 4b0b ldr r3, [pc, #44] ; (8014840 ) + 8014812: 881a ldrh r2, [r3, #0] + 8014814: 4b09 ldr r3, [pc, #36] ; (801483c ) + 8014816: 881b ldrh r3, [r3, #0] + 8014818: 429a cmp r2, r3 + 801481a: d3b5 bcc.n 8014788 + 801481c: e004 b.n 8014828 return; - 8014c8e: bf00 nop - 8014c90: e002 b.n 8014c98 + 801481e: bf00 nop + 8014820: e002 b.n 8014828 return; - 8014c92: bf00 nop - 8014c94: e000 b.n 8014c98 + 8014822: bf00 nop + 8014824: e000 b.n 8014828 return; - 8014c96: bf00 nop + 8014826: bf00 nop } } } } - 8014c98: 3710 adds r7, #16 - 8014c9a: 46bd mov sp, r7 - 8014c9c: bd80 pop {r7, pc} - 8014c9e: bf00 nop - 8014ca0: 0801dab4 .word 0x0801dab4 - 8014ca4: 0801df18 .word 0x0801df18 - 8014ca8: 0801db00 .word 0x0801db00 - 8014cac: 20008740 .word 0x20008740 - 8014cb0: 20008748 .word 0x20008748 + 8014828: 3710 adds r7, #16 + 801482a: 46bd mov sp, r7 + 801482c: bd80 pop {r7, pc} + 801482e: bf00 nop + 8014830: 0801d2b0 .word 0x0801d2b0 + 8014834: 0801d714 .word 0x0801d714 + 8014838: 0801d2fc .word 0x0801d2fc + 801483c: 20008740 .word 0x20008740 + 8014840: 20008748 .word 0x20008748 -08014cb4 : +08014844 : void tcp_trigger_input_pcb_close(void) { - 8014cb4: b480 push {r7} - 8014cb6: af00 add r7, sp, #0 + 8014844: b480 push {r7} + 8014846: af00 add r7, sp, #0 recv_flags |= TF_CLOSED; - 8014cb8: 4b05 ldr r3, [pc, #20] ; (8014cd0 ) - 8014cba: 781b ldrb r3, [r3, #0] - 8014cbc: f043 0310 orr.w r3, r3, #16 - 8014cc0: b2da uxtb r2, r3 - 8014cc2: 4b03 ldr r3, [pc, #12] ; (8014cd0 ) - 8014cc4: 701a strb r2, [r3, #0] + 8014848: 4b05 ldr r3, [pc, #20] ; (8014860 ) + 801484a: 781b ldrb r3, [r3, #0] + 801484c: f043 0310 orr.w r3, r3, #16 + 8014850: b2da uxtb r2, r3 + 8014852: 4b03 ldr r3, [pc, #12] ; (8014860 ) + 8014854: 701a strb r2, [r3, #0] } - 8014cc6: bf00 nop - 8014cc8: 46bd mov sp, r7 - 8014cca: f85d 7b04 ldr.w r7, [sp], #4 - 8014cce: 4770 bx lr - 8014cd0: 20008759 .word 0x20008759 + 8014856: bf00 nop + 8014858: 46bd mov sp, r7 + 801485a: f85d 7b04 ldr.w r7, [sp], #4 + 801485e: 4770 bx lr + 8014860: 20008759 .word 0x20008759 -08014cd4 : +08014864 : static err_t tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb, struct netif *netif); /* tcp_route: common code that returns a fixed bound netif or calls ip_route */ static struct netif * tcp_route(const struct tcp_pcb *pcb, const ip_addr_t *src, const ip_addr_t *dst) { - 8014cd4: b580 push {r7, lr} - 8014cd6: b084 sub sp, #16 - 8014cd8: af00 add r7, sp, #0 - 8014cda: 60f8 str r0, [r7, #12] - 8014cdc: 60b9 str r1, [r7, #8] - 8014cde: 607a str r2, [r7, #4] + 8014864: b580 push {r7, lr} + 8014866: b084 sub sp, #16 + 8014868: af00 add r7, sp, #0 + 801486a: 60f8 str r0, [r7, #12] + 801486c: 60b9 str r1, [r7, #8] + 801486e: 607a str r2, [r7, #4] LWIP_UNUSED_ARG(src); /* in case IPv4-only and source-based routing is disabled */ if ((pcb != NULL) && (pcb->netif_idx != NETIF_NO_INDEX)) { - 8014ce0: 68fb ldr r3, [r7, #12] - 8014ce2: 2b00 cmp r3, #0 - 8014ce4: d00a beq.n 8014cfc - 8014ce6: 68fb ldr r3, [r7, #12] - 8014ce8: 7a1b ldrb r3, [r3, #8] - 8014cea: 2b00 cmp r3, #0 - 8014cec: d006 beq.n 8014cfc + 8014870: 68fb ldr r3, [r7, #12] + 8014872: 2b00 cmp r3, #0 + 8014874: d00a beq.n 801488c + 8014876: 68fb ldr r3, [r7, #12] + 8014878: 7a1b ldrb r3, [r3, #8] + 801487a: 2b00 cmp r3, #0 + 801487c: d006 beq.n 801488c return netif_get_by_index(pcb->netif_idx); - 8014cee: 68fb ldr r3, [r7, #12] - 8014cf0: 7a1b ldrb r3, [r3, #8] - 8014cf2: 4618 mov r0, r3 - 8014cf4: f7fb fb26 bl 8010344 - 8014cf8: 4603 mov r3, r0 - 8014cfa: e003 b.n 8014d04 + 801487e: 68fb ldr r3, [r7, #12] + 8014880: 7a1b ldrb r3, [r3, #8] + 8014882: 4618 mov r0, r3 + 8014884: f7fb fb26 bl 800fed4 + 8014888: 4603 mov r3, r0 + 801488a: e003 b.n 8014894 } else { return ip_route(src, dst); - 8014cfc: 6878 ldr r0, [r7, #4] - 8014cfe: f005 f867 bl 8019dd0 - 8014d02: 4603 mov r3, r0 + 801488c: 6878 ldr r0, [r7, #4] + 801488e: f005 f867 bl 8019960 + 8014892: 4603 mov r3, r0 } } - 8014d04: 4618 mov r0, r3 - 8014d06: 3710 adds r7, #16 - 8014d08: 46bd mov sp, r7 - 8014d0a: bd80 pop {r7, pc} + 8014894: 4618 mov r0, r3 + 8014896: 3710 adds r7, #16 + 8014898: 46bd mov sp, r7 + 801489a: bd80 pop {r7, pc} -08014d0c : +0801489c : * The TCP header is filled in except ackno and wnd. * p is freed on failure. */ static struct tcp_seg * tcp_create_segment(const struct tcp_pcb *pcb, struct pbuf *p, u8_t hdrflags, u32_t seqno, u8_t optflags) { - 8014d0c: b590 push {r4, r7, lr} - 8014d0e: b087 sub sp, #28 - 8014d10: af00 add r7, sp, #0 - 8014d12: 60f8 str r0, [r7, #12] - 8014d14: 60b9 str r1, [r7, #8] - 8014d16: 603b str r3, [r7, #0] - 8014d18: 4613 mov r3, r2 - 8014d1a: 71fb strb r3, [r7, #7] + 801489c: b590 push {r4, r7, lr} + 801489e: b087 sub sp, #28 + 80148a0: af00 add r7, sp, #0 + 80148a2: 60f8 str r0, [r7, #12] + 80148a4: 60b9 str r1, [r7, #8] + 80148a6: 603b str r3, [r7, #0] + 80148a8: 4613 mov r3, r2 + 80148aa: 71fb strb r3, [r7, #7] struct tcp_seg *seg; u8_t optlen; LWIP_ASSERT("tcp_create_segment: invalid pcb", pcb != NULL); - 8014d1c: 68fb ldr r3, [r7, #12] - 8014d1e: 2b00 cmp r3, #0 - 8014d20: d105 bne.n 8014d2e - 8014d22: 4b44 ldr r3, [pc, #272] ; (8014e34 ) - 8014d24: 22a3 movs r2, #163 ; 0xa3 - 8014d26: 4944 ldr r1, [pc, #272] ; (8014e38 ) - 8014d28: 4844 ldr r0, [pc, #272] ; (8014e3c ) - 8014d2a: f006 fbc5 bl 801b4b8 + 80148ac: 68fb ldr r3, [r7, #12] + 80148ae: 2b00 cmp r3, #0 + 80148b0: d105 bne.n 80148be + 80148b2: 4b44 ldr r3, [pc, #272] ; (80149c4 ) + 80148b4: 22a3 movs r2, #163 ; 0xa3 + 80148b6: 4944 ldr r1, [pc, #272] ; (80149c8 ) + 80148b8: 4844 ldr r0, [pc, #272] ; (80149cc ) + 80148ba: f006 fbab bl 801b014 LWIP_ASSERT("tcp_create_segment: invalid pbuf", p != NULL); - 8014d2e: 68bb ldr r3, [r7, #8] - 8014d30: 2b00 cmp r3, #0 - 8014d32: d105 bne.n 8014d40 - 8014d34: 4b3f ldr r3, [pc, #252] ; (8014e34 ) - 8014d36: 22a4 movs r2, #164 ; 0xa4 - 8014d38: 4941 ldr r1, [pc, #260] ; (8014e40 ) - 8014d3a: 4840 ldr r0, [pc, #256] ; (8014e3c ) - 8014d3c: f006 fbbc bl 801b4b8 + 80148be: 68bb ldr r3, [r7, #8] + 80148c0: 2b00 cmp r3, #0 + 80148c2: d105 bne.n 80148d0 + 80148c4: 4b3f ldr r3, [pc, #252] ; (80149c4 ) + 80148c6: 22a4 movs r2, #164 ; 0xa4 + 80148c8: 4941 ldr r1, [pc, #260] ; (80149d0 ) + 80148ca: 4840 ldr r0, [pc, #256] ; (80149cc ) + 80148cc: f006 fba2 bl 801b014 optlen = LWIP_TCP_OPT_LENGTH_SEGMENT(optflags, pcb); - 8014d40: f897 3028 ldrb.w r3, [r7, #40] ; 0x28 - 8014d44: 009b lsls r3, r3, #2 - 8014d46: b2db uxtb r3, r3 - 8014d48: f003 0304 and.w r3, r3, #4 - 8014d4c: 75fb strb r3, [r7, #23] + 80148d0: f897 3028 ldrb.w r3, [r7, #40] ; 0x28 + 80148d4: 009b lsls r3, r3, #2 + 80148d6: b2db uxtb r3, r3 + 80148d8: f003 0304 and.w r3, r3, #4 + 80148dc: 75fb strb r3, [r7, #23] if ((seg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG)) == NULL) { - 8014d4e: 2003 movs r0, #3 - 8014d50: f7fa ff84 bl 800fc5c - 8014d54: 6138 str r0, [r7, #16] - 8014d56: 693b ldr r3, [r7, #16] - 8014d58: 2b00 cmp r3, #0 - 8014d5a: d104 bne.n 8014d66 + 80148de: 2003 movs r0, #3 + 80148e0: f7fa ff84 bl 800f7ec + 80148e4: 6138 str r0, [r7, #16] + 80148e6: 693b ldr r3, [r7, #16] + 80148e8: 2b00 cmp r3, #0 + 80148ea: d104 bne.n 80148f6 LWIP_DEBUGF(TCP_OUTPUT_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("tcp_create_segment: no memory.\n")); pbuf_free(p); - 8014d5c: 68b8 ldr r0, [r7, #8] - 8014d5e: f7fb fe7b bl 8010a58 + 80148ec: 68b8 ldr r0, [r7, #8] + 80148ee: f7fb fe7b bl 80105e8 return NULL; - 8014d62: 2300 movs r3, #0 - 8014d64: e061 b.n 8014e2a + 80148f2: 2300 movs r3, #0 + 80148f4: e061 b.n 80149ba } seg->flags = optflags; - 8014d66: 693b ldr r3, [r7, #16] - 8014d68: f897 2028 ldrb.w r2, [r7, #40] ; 0x28 - 8014d6c: 729a strb r2, [r3, #10] + 80148f6: 693b ldr r3, [r7, #16] + 80148f8: f897 2028 ldrb.w r2, [r7, #40] ; 0x28 + 80148fc: 729a strb r2, [r3, #10] seg->next = NULL; - 8014d6e: 693b ldr r3, [r7, #16] - 8014d70: 2200 movs r2, #0 - 8014d72: 601a str r2, [r3, #0] + 80148fe: 693b ldr r3, [r7, #16] + 8014900: 2200 movs r2, #0 + 8014902: 601a str r2, [r3, #0] seg->p = p; - 8014d74: 693b ldr r3, [r7, #16] - 8014d76: 68ba ldr r2, [r7, #8] - 8014d78: 605a str r2, [r3, #4] + 8014904: 693b ldr r3, [r7, #16] + 8014906: 68ba ldr r2, [r7, #8] + 8014908: 605a str r2, [r3, #4] LWIP_ASSERT("p->tot_len >= optlen", p->tot_len >= optlen); - 8014d7a: 68bb ldr r3, [r7, #8] - 8014d7c: 891a ldrh r2, [r3, #8] - 8014d7e: 7dfb ldrb r3, [r7, #23] - 8014d80: b29b uxth r3, r3 - 8014d82: 429a cmp r2, r3 - 8014d84: d205 bcs.n 8014d92 - 8014d86: 4b2b ldr r3, [pc, #172] ; (8014e34 ) - 8014d88: 22b0 movs r2, #176 ; 0xb0 - 8014d8a: 492e ldr r1, [pc, #184] ; (8014e44 ) - 8014d8c: 482b ldr r0, [pc, #172] ; (8014e3c ) - 8014d8e: f006 fb93 bl 801b4b8 + 801490a: 68bb ldr r3, [r7, #8] + 801490c: 891a ldrh r2, [r3, #8] + 801490e: 7dfb ldrb r3, [r7, #23] + 8014910: b29b uxth r3, r3 + 8014912: 429a cmp r2, r3 + 8014914: d205 bcs.n 8014922 + 8014916: 4b2b ldr r3, [pc, #172] ; (80149c4 ) + 8014918: 22b0 movs r2, #176 ; 0xb0 + 801491a: 492e ldr r1, [pc, #184] ; (80149d4 ) + 801491c: 482b ldr r0, [pc, #172] ; (80149cc ) + 801491e: f006 fb79 bl 801b014 seg->len = p->tot_len - optlen; - 8014d92: 68bb ldr r3, [r7, #8] - 8014d94: 891a ldrh r2, [r3, #8] - 8014d96: 7dfb ldrb r3, [r7, #23] - 8014d98: b29b uxth r3, r3 - 8014d9a: 1ad3 subs r3, r2, r3 - 8014d9c: b29a uxth r2, r3 - 8014d9e: 693b ldr r3, [r7, #16] - 8014da0: 811a strh r2, [r3, #8] + 8014922: 68bb ldr r3, [r7, #8] + 8014924: 891a ldrh r2, [r3, #8] + 8014926: 7dfb ldrb r3, [r7, #23] + 8014928: b29b uxth r3, r3 + 801492a: 1ad3 subs r3, r2, r3 + 801492c: b29a uxth r2, r3 + 801492e: 693b ldr r3, [r7, #16] + 8014930: 811a strh r2, [r3, #8] LWIP_ASSERT("invalid optflags passed: TF_SEG_DATA_CHECKSUMMED", (optflags & TF_SEG_DATA_CHECKSUMMED) == 0); #endif /* TCP_CHECKSUM_ON_COPY */ /* build TCP header */ if (pbuf_add_header(p, TCP_HLEN)) { - 8014da2: 2114 movs r1, #20 - 8014da4: 68b8 ldr r0, [r7, #8] - 8014da6: f7fb fdc1 bl 801092c - 8014daa: 4603 mov r3, r0 - 8014dac: 2b00 cmp r3, #0 - 8014dae: d004 beq.n 8014dba + 8014932: 2114 movs r1, #20 + 8014934: 68b8 ldr r0, [r7, #8] + 8014936: f7fb fdc1 bl 80104bc + 801493a: 4603 mov r3, r0 + 801493c: 2b00 cmp r3, #0 + 801493e: d004 beq.n 801494a LWIP_DEBUGF(TCP_OUTPUT_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("tcp_create_segment: no room for TCP header in pbuf.\n")); TCP_STATS_INC(tcp.err); tcp_seg_free(seg); - 8014db0: 6938 ldr r0, [r7, #16] - 8014db2: f7fd f8d5 bl 8011f60 + 8014940: 6938 ldr r0, [r7, #16] + 8014942: f7fd f8d5 bl 8011af0 return NULL; - 8014db6: 2300 movs r3, #0 - 8014db8: e037 b.n 8014e2a + 8014946: 2300 movs r3, #0 + 8014948: e037 b.n 80149ba } seg->tcphdr = (struct tcp_hdr *)seg->p->payload; - 8014dba: 693b ldr r3, [r7, #16] - 8014dbc: 685b ldr r3, [r3, #4] - 8014dbe: 685a ldr r2, [r3, #4] - 8014dc0: 693b ldr r3, [r7, #16] - 8014dc2: 60da str r2, [r3, #12] + 801494a: 693b ldr r3, [r7, #16] + 801494c: 685b ldr r3, [r3, #4] + 801494e: 685a ldr r2, [r3, #4] + 8014950: 693b ldr r3, [r7, #16] + 8014952: 60da str r2, [r3, #12] seg->tcphdr->src = lwip_htons(pcb->local_port); - 8014dc4: 68fb ldr r3, [r7, #12] - 8014dc6: 8ada ldrh r2, [r3, #22] - 8014dc8: 693b ldr r3, [r7, #16] - 8014dca: 68dc ldr r4, [r3, #12] - 8014dcc: 4610 mov r0, r2 - 8014dce: f7fa fa8f bl 800f2f0 - 8014dd2: 4603 mov r3, r0 - 8014dd4: 8023 strh r3, [r4, #0] + 8014954: 68fb ldr r3, [r7, #12] + 8014956: 8ada ldrh r2, [r3, #22] + 8014958: 693b ldr r3, [r7, #16] + 801495a: 68dc ldr r4, [r3, #12] + 801495c: 4610 mov r0, r2 + 801495e: f7fa fa8f bl 800ee80 + 8014962: 4603 mov r3, r0 + 8014964: 8023 strh r3, [r4, #0] seg->tcphdr->dest = lwip_htons(pcb->remote_port); - 8014dd6: 68fb ldr r3, [r7, #12] - 8014dd8: 8b1a ldrh r2, [r3, #24] - 8014dda: 693b ldr r3, [r7, #16] - 8014ddc: 68dc ldr r4, [r3, #12] - 8014dde: 4610 mov r0, r2 - 8014de0: f7fa fa86 bl 800f2f0 - 8014de4: 4603 mov r3, r0 - 8014de6: 8063 strh r3, [r4, #2] + 8014966: 68fb ldr r3, [r7, #12] + 8014968: 8b1a ldrh r2, [r3, #24] + 801496a: 693b ldr r3, [r7, #16] + 801496c: 68dc ldr r4, [r3, #12] + 801496e: 4610 mov r0, r2 + 8014970: f7fa fa86 bl 800ee80 + 8014974: 4603 mov r3, r0 + 8014976: 8063 strh r3, [r4, #2] seg->tcphdr->seqno = lwip_htonl(seqno); - 8014de8: 693b ldr r3, [r7, #16] - 8014dea: 68dc ldr r4, [r3, #12] - 8014dec: 6838 ldr r0, [r7, #0] - 8014dee: f7fa fa94 bl 800f31a - 8014df2: 4603 mov r3, r0 - 8014df4: 6063 str r3, [r4, #4] + 8014978: 693b ldr r3, [r7, #16] + 801497a: 68dc ldr r4, [r3, #12] + 801497c: 6838 ldr r0, [r7, #0] + 801497e: f7fa fa94 bl 800eeaa + 8014982: 4603 mov r3, r0 + 8014984: 6063 str r3, [r4, #4] /* ackno is set in tcp_output */ TCPH_HDRLEN_FLAGS_SET(seg->tcphdr, (5 + optlen / 4), hdrflags); - 8014df6: 7dfb ldrb r3, [r7, #23] - 8014df8: 089b lsrs r3, r3, #2 - 8014dfa: b2db uxtb r3, r3 - 8014dfc: b29b uxth r3, r3 - 8014dfe: 3305 adds r3, #5 - 8014e00: b29b uxth r3, r3 - 8014e02: 031b lsls r3, r3, #12 - 8014e04: b29a uxth r2, r3 - 8014e06: 79fb ldrb r3, [r7, #7] - 8014e08: b29b uxth r3, r3 - 8014e0a: 4313 orrs r3, r2 - 8014e0c: b29a uxth r2, r3 - 8014e0e: 693b ldr r3, [r7, #16] - 8014e10: 68dc ldr r4, [r3, #12] - 8014e12: 4610 mov r0, r2 - 8014e14: f7fa fa6c bl 800f2f0 - 8014e18: 4603 mov r3, r0 - 8014e1a: 81a3 strh r3, [r4, #12] + 8014986: 7dfb ldrb r3, [r7, #23] + 8014988: 089b lsrs r3, r3, #2 + 801498a: b2db uxtb r3, r3 + 801498c: b29b uxth r3, r3 + 801498e: 3305 adds r3, #5 + 8014990: b29b uxth r3, r3 + 8014992: 031b lsls r3, r3, #12 + 8014994: b29a uxth r2, r3 + 8014996: 79fb ldrb r3, [r7, #7] + 8014998: b29b uxth r3, r3 + 801499a: 4313 orrs r3, r2 + 801499c: b29a uxth r2, r3 + 801499e: 693b ldr r3, [r7, #16] + 80149a0: 68dc ldr r4, [r3, #12] + 80149a2: 4610 mov r0, r2 + 80149a4: f7fa fa6c bl 800ee80 + 80149a8: 4603 mov r3, r0 + 80149aa: 81a3 strh r3, [r4, #12] /* wnd and chksum are set in tcp_output */ seg->tcphdr->urgp = 0; - 8014e1c: 693b ldr r3, [r7, #16] - 8014e1e: 68db ldr r3, [r3, #12] - 8014e20: 2200 movs r2, #0 - 8014e22: 749a strb r2, [r3, #18] - 8014e24: 2200 movs r2, #0 - 8014e26: 74da strb r2, [r3, #19] + 80149ac: 693b ldr r3, [r7, #16] + 80149ae: 68db ldr r3, [r3, #12] + 80149b0: 2200 movs r2, #0 + 80149b2: 749a strb r2, [r3, #18] + 80149b4: 2200 movs r2, #0 + 80149b6: 74da strb r2, [r3, #19] return seg; - 8014e28: 693b ldr r3, [r7, #16] + 80149b8: 693b ldr r3, [r7, #16] } - 8014e2a: 4618 mov r0, r3 - 8014e2c: 371c adds r7, #28 - 8014e2e: 46bd mov sp, r7 - 8014e30: bd90 pop {r4, r7, pc} - 8014e32: bf00 nop - 8014e34: 0801df34 .word 0x0801df34 - 8014e38: 0801df68 .word 0x0801df68 - 8014e3c: 0801df88 .word 0x0801df88 - 8014e40: 0801dfb0 .word 0x0801dfb0 - 8014e44: 0801dfd4 .word 0x0801dfd4 + 80149ba: 4618 mov r0, r3 + 80149bc: 371c adds r7, #28 + 80149be: 46bd mov sp, r7 + 80149c0: bd90 pop {r4, r7, pc} + 80149c2: bf00 nop + 80149c4: 0801d730 .word 0x0801d730 + 80149c8: 0801d764 .word 0x0801d764 + 80149cc: 0801d784 .word 0x0801d784 + 80149d0: 0801d7ac .word 0x0801d7ac + 80149d4: 0801d7d0 .word 0x0801d7d0 -08014e48 : +080149d8 : * @param pcb the tcp_pcb for which to split the unsent head * @param split the amount of payload to remain in the head */ err_t tcp_split_unsent_seg(struct tcp_pcb *pcb, u16_t split) { - 8014e48: b590 push {r4, r7, lr} - 8014e4a: b08b sub sp, #44 ; 0x2c - 8014e4c: af02 add r7, sp, #8 - 8014e4e: 6078 str r0, [r7, #4] - 8014e50: 460b mov r3, r1 - 8014e52: 807b strh r3, [r7, #2] + 80149d8: b590 push {r4, r7, lr} + 80149da: b08b sub sp, #44 ; 0x2c + 80149dc: af02 add r7, sp, #8 + 80149de: 6078 str r0, [r7, #4] + 80149e0: 460b mov r3, r1 + 80149e2: 807b strh r3, [r7, #2] struct tcp_seg *seg = NULL, *useg = NULL; - 8014e54: 2300 movs r3, #0 - 8014e56: 61fb str r3, [r7, #28] - 8014e58: 2300 movs r3, #0 - 8014e5a: 617b str r3, [r7, #20] + 80149e4: 2300 movs r3, #0 + 80149e6: 61fb str r3, [r7, #28] + 80149e8: 2300 movs r3, #0 + 80149ea: 617b str r3, [r7, #20] struct pbuf *p = NULL; - 8014e5c: 2300 movs r3, #0 - 8014e5e: 613b str r3, [r7, #16] + 80149ec: 2300 movs r3, #0 + 80149ee: 613b str r3, [r7, #16] u16_t chksum = 0; u8_t chksum_swapped = 0; struct pbuf *q; #endif /* TCP_CHECKSUM_ON_COPY */ LWIP_ASSERT("tcp_split_unsent_seg: invalid pcb", pcb != NULL); - 8014e60: 687b ldr r3, [r7, #4] - 8014e62: 2b00 cmp r3, #0 - 8014e64: d106 bne.n 8014e74 - 8014e66: 4b95 ldr r3, [pc, #596] ; (80150bc ) - 8014e68: f240 324b movw r2, #843 ; 0x34b - 8014e6c: 4994 ldr r1, [pc, #592] ; (80150c0 ) - 8014e6e: 4895 ldr r0, [pc, #596] ; (80150c4 ) - 8014e70: f006 fb22 bl 801b4b8 + 80149f0: 687b ldr r3, [r7, #4] + 80149f2: 2b00 cmp r3, #0 + 80149f4: d106 bne.n 8014a04 + 80149f6: 4b95 ldr r3, [pc, #596] ; (8014c4c ) + 80149f8: f240 324b movw r2, #843 ; 0x34b + 80149fc: 4994 ldr r1, [pc, #592] ; (8014c50 ) + 80149fe: 4895 ldr r0, [pc, #596] ; (8014c54 ) + 8014a00: f006 fb08 bl 801b014 useg = pcb->unsent; - 8014e74: 687b ldr r3, [r7, #4] - 8014e76: 6edb ldr r3, [r3, #108] ; 0x6c - 8014e78: 617b str r3, [r7, #20] + 8014a04: 687b ldr r3, [r7, #4] + 8014a06: 6edb ldr r3, [r3, #108] ; 0x6c + 8014a08: 617b str r3, [r7, #20] if (useg == NULL) { - 8014e7a: 697b ldr r3, [r7, #20] - 8014e7c: 2b00 cmp r3, #0 - 8014e7e: d102 bne.n 8014e86 + 8014a0a: 697b ldr r3, [r7, #20] + 8014a0c: 2b00 cmp r3, #0 + 8014a0e: d102 bne.n 8014a16 return ERR_MEM; - 8014e80: f04f 33ff mov.w r3, #4294967295 - 8014e84: e116 b.n 80150b4 + 8014a10: f04f 33ff mov.w r3, #4294967295 + 8014a14: e116 b.n 8014c44 } if (split == 0) { - 8014e86: 887b ldrh r3, [r7, #2] - 8014e88: 2b00 cmp r3, #0 - 8014e8a: d109 bne.n 8014ea0 + 8014a16: 887b ldrh r3, [r7, #2] + 8014a18: 2b00 cmp r3, #0 + 8014a1a: d109 bne.n 8014a30 LWIP_ASSERT("Can't split segment into length 0", 0); - 8014e8c: 4b8b ldr r3, [pc, #556] ; (80150bc ) - 8014e8e: f240 3253 movw r2, #851 ; 0x353 - 8014e92: 498d ldr r1, [pc, #564] ; (80150c8 ) - 8014e94: 488b ldr r0, [pc, #556] ; (80150c4 ) - 8014e96: f006 fb0f bl 801b4b8 + 8014a1c: 4b8b ldr r3, [pc, #556] ; (8014c4c ) + 8014a1e: f240 3253 movw r2, #851 ; 0x353 + 8014a22: 498d ldr r1, [pc, #564] ; (8014c58 ) + 8014a24: 488b ldr r0, [pc, #556] ; (8014c54 ) + 8014a26: f006 faf5 bl 801b014 return ERR_VAL; - 8014e9a: f06f 0305 mvn.w r3, #5 - 8014e9e: e109 b.n 80150b4 + 8014a2a: f06f 0305 mvn.w r3, #5 + 8014a2e: e109 b.n 8014c44 } if (useg->len <= split) { - 8014ea0: 697b ldr r3, [r7, #20] - 8014ea2: 891b ldrh r3, [r3, #8] - 8014ea4: 887a ldrh r2, [r7, #2] - 8014ea6: 429a cmp r2, r3 - 8014ea8: d301 bcc.n 8014eae + 8014a30: 697b ldr r3, [r7, #20] + 8014a32: 891b ldrh r3, [r3, #8] + 8014a34: 887a ldrh r2, [r7, #2] + 8014a36: 429a cmp r2, r3 + 8014a38: d301 bcc.n 8014a3e return ERR_OK; - 8014eaa: 2300 movs r3, #0 - 8014eac: e102 b.n 80150b4 + 8014a3a: 2300 movs r3, #0 + 8014a3c: e102 b.n 8014c44 } LWIP_ASSERT("split <= mss", split <= pcb->mss); - 8014eae: 687b ldr r3, [r7, #4] - 8014eb0: 8e5b ldrh r3, [r3, #50] ; 0x32 - 8014eb2: 887a ldrh r2, [r7, #2] - 8014eb4: 429a cmp r2, r3 - 8014eb6: d906 bls.n 8014ec6 - 8014eb8: 4b80 ldr r3, [pc, #512] ; (80150bc ) - 8014eba: f240 325b movw r2, #859 ; 0x35b - 8014ebe: 4983 ldr r1, [pc, #524] ; (80150cc ) - 8014ec0: 4880 ldr r0, [pc, #512] ; (80150c4 ) - 8014ec2: f006 faf9 bl 801b4b8 + 8014a3e: 687b ldr r3, [r7, #4] + 8014a40: 8e5b ldrh r3, [r3, #50] ; 0x32 + 8014a42: 887a ldrh r2, [r7, #2] + 8014a44: 429a cmp r2, r3 + 8014a46: d906 bls.n 8014a56 + 8014a48: 4b80 ldr r3, [pc, #512] ; (8014c4c ) + 8014a4a: f240 325b movw r2, #859 ; 0x35b + 8014a4e: 4983 ldr r1, [pc, #524] ; (8014c5c ) + 8014a50: 4880 ldr r0, [pc, #512] ; (8014c54 ) + 8014a52: f006 fadf bl 801b014 LWIP_ASSERT("useg->len > 0", useg->len > 0); - 8014ec6: 697b ldr r3, [r7, #20] - 8014ec8: 891b ldrh r3, [r3, #8] - 8014eca: 2b00 cmp r3, #0 - 8014ecc: d106 bne.n 8014edc - 8014ece: 4b7b ldr r3, [pc, #492] ; (80150bc ) - 8014ed0: f44f 7257 mov.w r2, #860 ; 0x35c - 8014ed4: 497e ldr r1, [pc, #504] ; (80150d0 ) - 8014ed6: 487b ldr r0, [pc, #492] ; (80150c4 ) - 8014ed8: f006 faee bl 801b4b8 + 8014a56: 697b ldr r3, [r7, #20] + 8014a58: 891b ldrh r3, [r3, #8] + 8014a5a: 2b00 cmp r3, #0 + 8014a5c: d106 bne.n 8014a6c + 8014a5e: 4b7b ldr r3, [pc, #492] ; (8014c4c ) + 8014a60: f44f 7257 mov.w r2, #860 ; 0x35c + 8014a64: 497e ldr r1, [pc, #504] ; (8014c60 ) + 8014a66: 487b ldr r0, [pc, #492] ; (8014c54 ) + 8014a68: f006 fad4 bl 801b014 * to split this packet so we may actually exceed the max value by * one! */ LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_enqueue: split_unsent_seg: %u\n", (unsigned int)pcb->snd_queuelen)); optflags = useg->flags; - 8014edc: 697b ldr r3, [r7, #20] - 8014ede: 7a9b ldrb r3, [r3, #10] - 8014ee0: 73fb strb r3, [r7, #15] + 8014a6c: 697b ldr r3, [r7, #20] + 8014a6e: 7a9b ldrb r3, [r3, #10] + 8014a70: 73fb strb r3, [r7, #15] #if TCP_CHECKSUM_ON_COPY /* Remove since checksum is not stored until after tcp_create_segment() */ optflags &= ~TF_SEG_DATA_CHECKSUMMED; #endif /* TCP_CHECKSUM_ON_COPY */ optlen = LWIP_TCP_OPT_LENGTH(optflags); - 8014ee2: 7bfb ldrb r3, [r7, #15] - 8014ee4: 009b lsls r3, r3, #2 - 8014ee6: b2db uxtb r3, r3 - 8014ee8: f003 0304 and.w r3, r3, #4 - 8014eec: 73bb strb r3, [r7, #14] + 8014a72: 7bfb ldrb r3, [r7, #15] + 8014a74: 009b lsls r3, r3, #2 + 8014a76: b2db uxtb r3, r3 + 8014a78: f003 0304 and.w r3, r3, #4 + 8014a7c: 73bb strb r3, [r7, #14] remainder = useg->len - split; - 8014eee: 697b ldr r3, [r7, #20] - 8014ef0: 891a ldrh r2, [r3, #8] - 8014ef2: 887b ldrh r3, [r7, #2] - 8014ef4: 1ad3 subs r3, r2, r3 - 8014ef6: 81bb strh r3, [r7, #12] + 8014a7e: 697b ldr r3, [r7, #20] + 8014a80: 891a ldrh r2, [r3, #8] + 8014a82: 887b ldrh r3, [r7, #2] + 8014a84: 1ad3 subs r3, r2, r3 + 8014a86: 81bb strh r3, [r7, #12] /* Create new pbuf for the remainder of the split */ p = pbuf_alloc(PBUF_TRANSPORT, remainder + optlen, PBUF_RAM); - 8014ef8: 7bbb ldrb r3, [r7, #14] - 8014efa: b29a uxth r2, r3 - 8014efc: 89bb ldrh r3, [r7, #12] - 8014efe: 4413 add r3, r2 - 8014f00: b29b uxth r3, r3 - 8014f02: f44f 7220 mov.w r2, #640 ; 0x280 - 8014f06: 4619 mov r1, r3 - 8014f08: 2036 movs r0, #54 ; 0x36 - 8014f0a: f7fb fac5 bl 8010498 - 8014f0e: 6138 str r0, [r7, #16] + 8014a88: 7bbb ldrb r3, [r7, #14] + 8014a8a: b29a uxth r2, r3 + 8014a8c: 89bb ldrh r3, [r7, #12] + 8014a8e: 4413 add r3, r2 + 8014a90: b29b uxth r3, r3 + 8014a92: f44f 7220 mov.w r2, #640 ; 0x280 + 8014a96: 4619 mov r1, r3 + 8014a98: 2036 movs r0, #54 ; 0x36 + 8014a9a: f7fb fac5 bl 8010028 + 8014a9e: 6138 str r0, [r7, #16] if (p == NULL) { - 8014f10: 693b ldr r3, [r7, #16] - 8014f12: 2b00 cmp r3, #0 - 8014f14: f000 80b7 beq.w 8015086 + 8014aa0: 693b ldr r3, [r7, #16] + 8014aa2: 2b00 cmp r3, #0 + 8014aa4: f000 80b7 beq.w 8014c16 ("tcp_split_unsent_seg: could not allocate memory for pbuf remainder %u\n", remainder)); goto memerr; } /* Offset into the original pbuf is past TCP/IP headers, options, and split amount */ offset = useg->p->tot_len - useg->len + split; - 8014f18: 697b ldr r3, [r7, #20] - 8014f1a: 685b ldr r3, [r3, #4] - 8014f1c: 891a ldrh r2, [r3, #8] - 8014f1e: 697b ldr r3, [r7, #20] - 8014f20: 891b ldrh r3, [r3, #8] - 8014f22: 1ad3 subs r3, r2, r3 - 8014f24: b29a uxth r2, r3 - 8014f26: 887b ldrh r3, [r7, #2] - 8014f28: 4413 add r3, r2 - 8014f2a: 817b strh r3, [r7, #10] + 8014aa8: 697b ldr r3, [r7, #20] + 8014aaa: 685b ldr r3, [r3, #4] + 8014aac: 891a ldrh r2, [r3, #8] + 8014aae: 697b ldr r3, [r7, #20] + 8014ab0: 891b ldrh r3, [r3, #8] + 8014ab2: 1ad3 subs r3, r2, r3 + 8014ab4: b29a uxth r2, r3 + 8014ab6: 887b ldrh r3, [r7, #2] + 8014ab8: 4413 add r3, r2 + 8014aba: 817b strh r3, [r7, #10] /* Copy remainder into new pbuf, headers and options will not be filled out */ if (pbuf_copy_partial(useg->p, (u8_t *)p->payload + optlen, remainder, offset ) != remainder) { - 8014f2c: 697b ldr r3, [r7, #20] - 8014f2e: 6858 ldr r0, [r3, #4] - 8014f30: 693b ldr r3, [r7, #16] - 8014f32: 685a ldr r2, [r3, #4] - 8014f34: 7bbb ldrb r3, [r7, #14] - 8014f36: 18d1 adds r1, r2, r3 - 8014f38: 897b ldrh r3, [r7, #10] - 8014f3a: 89ba ldrh r2, [r7, #12] - 8014f3c: f7fb ff92 bl 8010e64 - 8014f40: 4603 mov r3, r0 - 8014f42: 461a mov r2, r3 - 8014f44: 89bb ldrh r3, [r7, #12] - 8014f46: 4293 cmp r3, r2 - 8014f48: f040 809f bne.w 801508a + 8014abc: 697b ldr r3, [r7, #20] + 8014abe: 6858 ldr r0, [r3, #4] + 8014ac0: 693b ldr r3, [r7, #16] + 8014ac2: 685a ldr r2, [r3, #4] + 8014ac4: 7bbb ldrb r3, [r7, #14] + 8014ac6: 18d1 adds r1, r2, r3 + 8014ac8: 897b ldrh r3, [r7, #10] + 8014aca: 89ba ldrh r2, [r7, #12] + 8014acc: f7fb ff92 bl 80109f4 + 8014ad0: 4603 mov r3, r0 + 8014ad2: 461a mov r2, r3 + 8014ad4: 89bb ldrh r3, [r7, #12] + 8014ad6: 4293 cmp r3, r2 + 8014ad8: f040 809f bne.w 8014c1a #endif /* TCP_CHECKSUM_ON_COPY */ /* Options are created when calling tcp_output() */ /* Migrate flags from original segment */ split_flags = TCPH_FLAGS(useg->tcphdr); - 8014f4c: 697b ldr r3, [r7, #20] - 8014f4e: 68db ldr r3, [r3, #12] - 8014f50: 899b ldrh r3, [r3, #12] - 8014f52: b29b uxth r3, r3 - 8014f54: 4618 mov r0, r3 - 8014f56: f7fa f9cb bl 800f2f0 - 8014f5a: 4603 mov r3, r0 - 8014f5c: b2db uxtb r3, r3 - 8014f5e: f003 033f and.w r3, r3, #63 ; 0x3f - 8014f62: 76fb strb r3, [r7, #27] + 8014adc: 697b ldr r3, [r7, #20] + 8014ade: 68db ldr r3, [r3, #12] + 8014ae0: 899b ldrh r3, [r3, #12] + 8014ae2: b29b uxth r3, r3 + 8014ae4: 4618 mov r0, r3 + 8014ae6: f7fa f9cb bl 800ee80 + 8014aea: 4603 mov r3, r0 + 8014aec: b2db uxtb r3, r3 + 8014aee: f003 033f and.w r3, r3, #63 ; 0x3f + 8014af2: 76fb strb r3, [r7, #27] remainder_flags = 0; /* ACK added in tcp_output() */ - 8014f64: 2300 movs r3, #0 - 8014f66: 76bb strb r3, [r7, #26] + 8014af4: 2300 movs r3, #0 + 8014af6: 76bb strb r3, [r7, #26] if (split_flags & TCP_PSH) { - 8014f68: 7efb ldrb r3, [r7, #27] - 8014f6a: f003 0308 and.w r3, r3, #8 - 8014f6e: 2b00 cmp r3, #0 - 8014f70: d007 beq.n 8014f82 + 8014af8: 7efb ldrb r3, [r7, #27] + 8014afa: f003 0308 and.w r3, r3, #8 + 8014afe: 2b00 cmp r3, #0 + 8014b00: d007 beq.n 8014b12 split_flags &= ~TCP_PSH; - 8014f72: 7efb ldrb r3, [r7, #27] - 8014f74: f023 0308 bic.w r3, r3, #8 - 8014f78: 76fb strb r3, [r7, #27] + 8014b02: 7efb ldrb r3, [r7, #27] + 8014b04: f023 0308 bic.w r3, r3, #8 + 8014b08: 76fb strb r3, [r7, #27] remainder_flags |= TCP_PSH; - 8014f7a: 7ebb ldrb r3, [r7, #26] - 8014f7c: f043 0308 orr.w r3, r3, #8 - 8014f80: 76bb strb r3, [r7, #26] + 8014b0a: 7ebb ldrb r3, [r7, #26] + 8014b0c: f043 0308 orr.w r3, r3, #8 + 8014b10: 76bb strb r3, [r7, #26] } if (split_flags & TCP_FIN) { - 8014f82: 7efb ldrb r3, [r7, #27] - 8014f84: f003 0301 and.w r3, r3, #1 - 8014f88: 2b00 cmp r3, #0 - 8014f8a: d007 beq.n 8014f9c + 8014b12: 7efb ldrb r3, [r7, #27] + 8014b14: f003 0301 and.w r3, r3, #1 + 8014b18: 2b00 cmp r3, #0 + 8014b1a: d007 beq.n 8014b2c split_flags &= ~TCP_FIN; - 8014f8c: 7efb ldrb r3, [r7, #27] - 8014f8e: f023 0301 bic.w r3, r3, #1 - 8014f92: 76fb strb r3, [r7, #27] + 8014b1c: 7efb ldrb r3, [r7, #27] + 8014b1e: f023 0301 bic.w r3, r3, #1 + 8014b22: 76fb strb r3, [r7, #27] remainder_flags |= TCP_FIN; - 8014f94: 7ebb ldrb r3, [r7, #26] - 8014f96: f043 0301 orr.w r3, r3, #1 - 8014f9a: 76bb strb r3, [r7, #26] + 8014b24: 7ebb ldrb r3, [r7, #26] + 8014b26: f043 0301 orr.w r3, r3, #1 + 8014b2a: 76bb strb r3, [r7, #26] } /* SYN should be left on split, RST should not be present with data */ seg = tcp_create_segment(pcb, p, remainder_flags, lwip_ntohl(useg->tcphdr->seqno) + split, optflags); - 8014f9c: 697b ldr r3, [r7, #20] - 8014f9e: 68db ldr r3, [r3, #12] - 8014fa0: 685b ldr r3, [r3, #4] - 8014fa2: 4618 mov r0, r3 - 8014fa4: f7fa f9b9 bl 800f31a - 8014fa8: 4602 mov r2, r0 - 8014faa: 887b ldrh r3, [r7, #2] - 8014fac: 18d1 adds r1, r2, r3 - 8014fae: 7eba ldrb r2, [r7, #26] - 8014fb0: 7bfb ldrb r3, [r7, #15] - 8014fb2: 9300 str r3, [sp, #0] - 8014fb4: 460b mov r3, r1 - 8014fb6: 6939 ldr r1, [r7, #16] - 8014fb8: 6878 ldr r0, [r7, #4] - 8014fba: f7ff fea7 bl 8014d0c - 8014fbe: 61f8 str r0, [r7, #28] + 8014b2c: 697b ldr r3, [r7, #20] + 8014b2e: 68db ldr r3, [r3, #12] + 8014b30: 685b ldr r3, [r3, #4] + 8014b32: 4618 mov r0, r3 + 8014b34: f7fa f9b9 bl 800eeaa + 8014b38: 4602 mov r2, r0 + 8014b3a: 887b ldrh r3, [r7, #2] + 8014b3c: 18d1 adds r1, r2, r3 + 8014b3e: 7eba ldrb r2, [r7, #26] + 8014b40: 7bfb ldrb r3, [r7, #15] + 8014b42: 9300 str r3, [sp, #0] + 8014b44: 460b mov r3, r1 + 8014b46: 6939 ldr r1, [r7, #16] + 8014b48: 6878 ldr r0, [r7, #4] + 8014b4a: f7ff fea7 bl 801489c + 8014b4e: 61f8 str r0, [r7, #28] if (seg == NULL) { - 8014fc0: 69fb ldr r3, [r7, #28] - 8014fc2: 2b00 cmp r3, #0 - 8014fc4: d063 beq.n 801508e + 8014b50: 69fb ldr r3, [r7, #28] + 8014b52: 2b00 cmp r3, #0 + 8014b54: d063 beq.n 8014c1e seg->chksum_swapped = chksum_swapped; seg->flags |= TF_SEG_DATA_CHECKSUMMED; #endif /* TCP_CHECKSUM_ON_COPY */ /* Remove this segment from the queue since trimming it may free pbufs */ pcb->snd_queuelen -= pbuf_clen(useg->p); - 8014fc6: 697b ldr r3, [r7, #20] - 8014fc8: 685b ldr r3, [r3, #4] - 8014fca: 4618 mov r0, r3 - 8014fcc: f7fb fdd2 bl 8010b74 - 8014fd0: 4603 mov r3, r0 - 8014fd2: 461a mov r2, r3 - 8014fd4: 687b ldr r3, [r7, #4] - 8014fd6: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 - 8014fda: 1a9b subs r3, r3, r2 - 8014fdc: b29a uxth r2, r3 - 8014fde: 687b ldr r3, [r7, #4] - 8014fe0: f8a3 2066 strh.w r2, [r3, #102] ; 0x66 + 8014b56: 697b ldr r3, [r7, #20] + 8014b58: 685b ldr r3, [r3, #4] + 8014b5a: 4618 mov r0, r3 + 8014b5c: f7fb fdd2 bl 8010704 + 8014b60: 4603 mov r3, r0 + 8014b62: 461a mov r2, r3 + 8014b64: 687b ldr r3, [r7, #4] + 8014b66: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 + 8014b6a: 1a9b subs r3, r3, r2 + 8014b6c: b29a uxth r2, r3 + 8014b6e: 687b ldr r3, [r7, #4] + 8014b70: f8a3 2066 strh.w r2, [r3, #102] ; 0x66 /* Trim the original pbuf into our split size. At this point our remainder segment must be setup successfully because we are modifying the original segment */ pbuf_realloc(useg->p, useg->p->tot_len - remainder); - 8014fe4: 697b ldr r3, [r7, #20] - 8014fe6: 6858 ldr r0, [r3, #4] - 8014fe8: 697b ldr r3, [r7, #20] - 8014fea: 685b ldr r3, [r3, #4] - 8014fec: 891a ldrh r2, [r3, #8] - 8014fee: 89bb ldrh r3, [r7, #12] - 8014ff0: 1ad3 subs r3, r2, r3 - 8014ff2: b29b uxth r3, r3 - 8014ff4: 4619 mov r1, r3 - 8014ff6: f7fb fba9 bl 801074c + 8014b74: 697b ldr r3, [r7, #20] + 8014b76: 6858 ldr r0, [r3, #4] + 8014b78: 697b ldr r3, [r7, #20] + 8014b7a: 685b ldr r3, [r3, #4] + 8014b7c: 891a ldrh r2, [r3, #8] + 8014b7e: 89bb ldrh r3, [r7, #12] + 8014b80: 1ad3 subs r3, r2, r3 + 8014b82: b29b uxth r3, r3 + 8014b84: 4619 mov r1, r3 + 8014b86: f7fb fba9 bl 80102dc useg->len -= remainder; - 8014ffa: 697b ldr r3, [r7, #20] - 8014ffc: 891a ldrh r2, [r3, #8] - 8014ffe: 89bb ldrh r3, [r7, #12] - 8015000: 1ad3 subs r3, r2, r3 - 8015002: b29a uxth r2, r3 - 8015004: 697b ldr r3, [r7, #20] - 8015006: 811a strh r2, [r3, #8] + 8014b8a: 697b ldr r3, [r7, #20] + 8014b8c: 891a ldrh r2, [r3, #8] + 8014b8e: 89bb ldrh r3, [r7, #12] + 8014b90: 1ad3 subs r3, r2, r3 + 8014b92: b29a uxth r2, r3 + 8014b94: 697b ldr r3, [r7, #20] + 8014b96: 811a strh r2, [r3, #8] TCPH_SET_FLAG(useg->tcphdr, split_flags); - 8015008: 697b ldr r3, [r7, #20] - 801500a: 68db ldr r3, [r3, #12] - 801500c: 899b ldrh r3, [r3, #12] - 801500e: b29c uxth r4, r3 - 8015010: 7efb ldrb r3, [r7, #27] - 8015012: b29b uxth r3, r3 - 8015014: 4618 mov r0, r3 - 8015016: f7fa f96b bl 800f2f0 - 801501a: 4603 mov r3, r0 - 801501c: 461a mov r2, r3 - 801501e: 697b ldr r3, [r7, #20] - 8015020: 68db ldr r3, [r3, #12] - 8015022: 4322 orrs r2, r4 - 8015024: b292 uxth r2, r2 - 8015026: 819a strh r2, [r3, #12] + 8014b98: 697b ldr r3, [r7, #20] + 8014b9a: 68db ldr r3, [r3, #12] + 8014b9c: 899b ldrh r3, [r3, #12] + 8014b9e: b29c uxth r4, r3 + 8014ba0: 7efb ldrb r3, [r7, #27] + 8014ba2: b29b uxth r3, r3 + 8014ba4: 4618 mov r0, r3 + 8014ba6: f7fa f96b bl 800ee80 + 8014baa: 4603 mov r3, r0 + 8014bac: 461a mov r2, r3 + 8014bae: 697b ldr r3, [r7, #20] + 8014bb0: 68db ldr r3, [r3, #12] + 8014bb2: 4322 orrs r2, r4 + 8014bb4: b292 uxth r2, r2 + 8014bb6: 819a strh r2, [r3, #12] /* By trimming, realloc may have actually shrunk the pbuf, so clear oversize_left */ useg->oversize_left = 0; #endif /* TCP_OVERSIZE_DBGCHECK */ /* Add back to the queue with new trimmed pbuf */ pcb->snd_queuelen += pbuf_clen(useg->p); - 8015028: 697b ldr r3, [r7, #20] - 801502a: 685b ldr r3, [r3, #4] - 801502c: 4618 mov r0, r3 - 801502e: f7fb fda1 bl 8010b74 - 8015032: 4603 mov r3, r0 - 8015034: 461a mov r2, r3 - 8015036: 687b ldr r3, [r7, #4] - 8015038: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 - 801503c: 4413 add r3, r2 - 801503e: b29a uxth r2, r3 - 8015040: 687b ldr r3, [r7, #4] - 8015042: f8a3 2066 strh.w r2, [r3, #102] ; 0x66 + 8014bb8: 697b ldr r3, [r7, #20] + 8014bba: 685b ldr r3, [r3, #4] + 8014bbc: 4618 mov r0, r3 + 8014bbe: f7fb fda1 bl 8010704 + 8014bc2: 4603 mov r3, r0 + 8014bc4: 461a mov r2, r3 + 8014bc6: 687b ldr r3, [r7, #4] + 8014bc8: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 + 8014bcc: 4413 add r3, r2 + 8014bce: b29a uxth r2, r3 + 8014bd0: 687b ldr r3, [r7, #4] + 8014bd2: f8a3 2066 strh.w r2, [r3, #102] ; 0x66 #endif /* TCP_CHECKSUM_ON_COPY */ /* Update number of segments on the queues. Note that length now may * exceed TCP_SND_QUEUELEN! We don't have to touch pcb->snd_buf * because the total amount of data is constant when packet is split */ pcb->snd_queuelen += pbuf_clen(seg->p); - 8015046: 69fb ldr r3, [r7, #28] - 8015048: 685b ldr r3, [r3, #4] - 801504a: 4618 mov r0, r3 - 801504c: f7fb fd92 bl 8010b74 - 8015050: 4603 mov r3, r0 - 8015052: 461a mov r2, r3 - 8015054: 687b ldr r3, [r7, #4] - 8015056: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 - 801505a: 4413 add r3, r2 - 801505c: b29a uxth r2, r3 - 801505e: 687b ldr r3, [r7, #4] - 8015060: f8a3 2066 strh.w r2, [r3, #102] ; 0x66 + 8014bd6: 69fb ldr r3, [r7, #28] + 8014bd8: 685b ldr r3, [r3, #4] + 8014bda: 4618 mov r0, r3 + 8014bdc: f7fb fd92 bl 8010704 + 8014be0: 4603 mov r3, r0 + 8014be2: 461a mov r2, r3 + 8014be4: 687b ldr r3, [r7, #4] + 8014be6: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 + 8014bea: 4413 add r3, r2 + 8014bec: b29a uxth r2, r3 + 8014bee: 687b ldr r3, [r7, #4] + 8014bf0: f8a3 2066 strh.w r2, [r3, #102] ; 0x66 /* Finally insert remainder into queue after split (which stays head) */ seg->next = useg->next; - 8015064: 697b ldr r3, [r7, #20] - 8015066: 681a ldr r2, [r3, #0] - 8015068: 69fb ldr r3, [r7, #28] - 801506a: 601a str r2, [r3, #0] + 8014bf4: 697b ldr r3, [r7, #20] + 8014bf6: 681a ldr r2, [r3, #0] + 8014bf8: 69fb ldr r3, [r7, #28] + 8014bfa: 601a str r2, [r3, #0] useg->next = seg; - 801506c: 697b ldr r3, [r7, #20] - 801506e: 69fa ldr r2, [r7, #28] - 8015070: 601a str r2, [r3, #0] + 8014bfc: 697b ldr r3, [r7, #20] + 8014bfe: 69fa ldr r2, [r7, #28] + 8014c00: 601a str r2, [r3, #0] #if TCP_OVERSIZE /* If remainder is last segment on the unsent, ensure we clear the oversize amount * because the remainder is always sized to the exact remaining amount */ if (seg->next == NULL) { - 8015072: 69fb ldr r3, [r7, #28] - 8015074: 681b ldr r3, [r3, #0] - 8015076: 2b00 cmp r3, #0 - 8015078: d103 bne.n 8015082 + 8014c02: 69fb ldr r3, [r7, #28] + 8014c04: 681b ldr r3, [r3, #0] + 8014c06: 2b00 cmp r3, #0 + 8014c08: d103 bne.n 8014c12 pcb->unsent_oversize = 0; - 801507a: 687b ldr r3, [r7, #4] - 801507c: 2200 movs r2, #0 - 801507e: f8a3 2068 strh.w r2, [r3, #104] ; 0x68 + 8014c0a: 687b ldr r3, [r7, #4] + 8014c0c: 2200 movs r2, #0 + 8014c0e: f8a3 2068 strh.w r2, [r3, #104] ; 0x68 } #endif /* TCP_OVERSIZE */ return ERR_OK; - 8015082: 2300 movs r3, #0 - 8015084: e016 b.n 80150b4 + 8014c12: 2300 movs r3, #0 + 8014c14: e016 b.n 8014c44 goto memerr; - 8015086: bf00 nop - 8015088: e002 b.n 8015090 + 8014c16: bf00 nop + 8014c18: e002 b.n 8014c20 goto memerr; - 801508a: bf00 nop - 801508c: e000 b.n 8015090 + 8014c1a: bf00 nop + 8014c1c: e000 b.n 8014c20 goto memerr; - 801508e: bf00 nop + 8014c1e: bf00 nop memerr: TCP_STATS_INC(tcp.memerr); LWIP_ASSERT("seg == NULL", seg == NULL); - 8015090: 69fb ldr r3, [r7, #28] - 8015092: 2b00 cmp r3, #0 - 8015094: d006 beq.n 80150a4 - 8015096: 4b09 ldr r3, [pc, #36] ; (80150bc ) - 8015098: f44f 7276 mov.w r2, #984 ; 0x3d8 - 801509c: 490d ldr r1, [pc, #52] ; (80150d4 ) - 801509e: 4809 ldr r0, [pc, #36] ; (80150c4 ) - 80150a0: f006 fa0a bl 801b4b8 + 8014c20: 69fb ldr r3, [r7, #28] + 8014c22: 2b00 cmp r3, #0 + 8014c24: d006 beq.n 8014c34 + 8014c26: 4b09 ldr r3, [pc, #36] ; (8014c4c ) + 8014c28: f44f 7276 mov.w r2, #984 ; 0x3d8 + 8014c2c: 490d ldr r1, [pc, #52] ; (8014c64 ) + 8014c2e: 4809 ldr r0, [pc, #36] ; (8014c54 ) + 8014c30: f006 f9f0 bl 801b014 if (p != NULL) { - 80150a4: 693b ldr r3, [r7, #16] - 80150a6: 2b00 cmp r3, #0 - 80150a8: d002 beq.n 80150b0 + 8014c34: 693b ldr r3, [r7, #16] + 8014c36: 2b00 cmp r3, #0 + 8014c38: d002 beq.n 8014c40 pbuf_free(p); - 80150aa: 6938 ldr r0, [r7, #16] - 80150ac: f7fb fcd4 bl 8010a58 + 8014c3a: 6938 ldr r0, [r7, #16] + 8014c3c: f7fb fcd4 bl 80105e8 } return ERR_MEM; - 80150b0: f04f 33ff mov.w r3, #4294967295 + 8014c40: f04f 33ff mov.w r3, #4294967295 } - 80150b4: 4618 mov r0, r3 - 80150b6: 3724 adds r7, #36 ; 0x24 - 80150b8: 46bd mov sp, r7 - 80150ba: bd90 pop {r4, r7, pc} - 80150bc: 0801df34 .word 0x0801df34 - 80150c0: 0801e2c8 .word 0x0801e2c8 - 80150c4: 0801df88 .word 0x0801df88 - 80150c8: 0801e2ec .word 0x0801e2ec - 80150cc: 0801e310 .word 0x0801e310 - 80150d0: 0801e320 .word 0x0801e320 - 80150d4: 0801e330 .word 0x0801e330 + 8014c44: 4618 mov r0, r3 + 8014c46: 3724 adds r7, #36 ; 0x24 + 8014c48: 46bd mov sp, r7 + 8014c4a: bd90 pop {r4, r7, pc} + 8014c4c: 0801d730 .word 0x0801d730 + 8014c50: 0801dac4 .word 0x0801dac4 + 8014c54: 0801d784 .word 0x0801d784 + 8014c58: 0801dae8 .word 0x0801dae8 + 8014c5c: 0801db0c .word 0x0801db0c + 8014c60: 0801db1c .word 0x0801db1c + 8014c64: 0801db2c .word 0x0801db2c -080150d8 : +08014c68 : * @param pcb the tcp_pcb over which to send a segment * @return ERR_OK if sent, another err_t otherwise */ err_t tcp_send_fin(struct tcp_pcb *pcb) { - 80150d8: b590 push {r4, r7, lr} - 80150da: b085 sub sp, #20 - 80150dc: af00 add r7, sp, #0 - 80150de: 6078 str r0, [r7, #4] + 8014c68: b590 push {r4, r7, lr} + 8014c6a: b085 sub sp, #20 + 8014c6c: af00 add r7, sp, #0 + 8014c6e: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_send_fin: invalid pcb", pcb != NULL); - 80150e0: 687b ldr r3, [r7, #4] - 80150e2: 2b00 cmp r3, #0 - 80150e4: d106 bne.n 80150f4 - 80150e6: 4b21 ldr r3, [pc, #132] ; (801516c ) - 80150e8: f240 32eb movw r2, #1003 ; 0x3eb - 80150ec: 4920 ldr r1, [pc, #128] ; (8015170 ) - 80150ee: 4821 ldr r0, [pc, #132] ; (8015174 ) - 80150f0: f006 f9e2 bl 801b4b8 + 8014c70: 687b ldr r3, [r7, #4] + 8014c72: 2b00 cmp r3, #0 + 8014c74: d106 bne.n 8014c84 + 8014c76: 4b21 ldr r3, [pc, #132] ; (8014cfc ) + 8014c78: f240 32eb movw r2, #1003 ; 0x3eb + 8014c7c: 4920 ldr r1, [pc, #128] ; (8014d00 ) + 8014c7e: 4821 ldr r0, [pc, #132] ; (8014d04 ) + 8014c80: f006 f9c8 bl 801b014 /* first, try to add the fin to the last unsent segment */ if (pcb->unsent != NULL) { - 80150f4: 687b ldr r3, [r7, #4] - 80150f6: 6edb ldr r3, [r3, #108] ; 0x6c - 80150f8: 2b00 cmp r3, #0 - 80150fa: d02e beq.n 801515a + 8014c84: 687b ldr r3, [r7, #4] + 8014c86: 6edb ldr r3, [r3, #108] ; 0x6c + 8014c88: 2b00 cmp r3, #0 + 8014c8a: d02e beq.n 8014cea struct tcp_seg *last_unsent; for (last_unsent = pcb->unsent; last_unsent->next != NULL; - 80150fc: 687b ldr r3, [r7, #4] - 80150fe: 6edb ldr r3, [r3, #108] ; 0x6c - 8015100: 60fb str r3, [r7, #12] - 8015102: e002 b.n 801510a + 8014c8c: 687b ldr r3, [r7, #4] + 8014c8e: 6edb ldr r3, [r3, #108] ; 0x6c + 8014c90: 60fb str r3, [r7, #12] + 8014c92: e002 b.n 8014c9a last_unsent = last_unsent->next); - 8015104: 68fb ldr r3, [r7, #12] - 8015106: 681b ldr r3, [r3, #0] - 8015108: 60fb str r3, [r7, #12] + 8014c94: 68fb ldr r3, [r7, #12] + 8014c96: 681b ldr r3, [r3, #0] + 8014c98: 60fb str r3, [r7, #12] for (last_unsent = pcb->unsent; last_unsent->next != NULL; - 801510a: 68fb ldr r3, [r7, #12] - 801510c: 681b ldr r3, [r3, #0] - 801510e: 2b00 cmp r3, #0 - 8015110: d1f8 bne.n 8015104 + 8014c9a: 68fb ldr r3, [r7, #12] + 8014c9c: 681b ldr r3, [r3, #0] + 8014c9e: 2b00 cmp r3, #0 + 8014ca0: d1f8 bne.n 8014c94 if ((TCPH_FLAGS(last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) { - 8015112: 68fb ldr r3, [r7, #12] - 8015114: 68db ldr r3, [r3, #12] - 8015116: 899b ldrh r3, [r3, #12] - 8015118: b29b uxth r3, r3 - 801511a: 4618 mov r0, r3 - 801511c: f7fa f8e8 bl 800f2f0 - 8015120: 4603 mov r3, r0 - 8015122: b2db uxtb r3, r3 - 8015124: f003 0307 and.w r3, r3, #7 - 8015128: 2b00 cmp r3, #0 - 801512a: d116 bne.n 801515a + 8014ca2: 68fb ldr r3, [r7, #12] + 8014ca4: 68db ldr r3, [r3, #12] + 8014ca6: 899b ldrh r3, [r3, #12] + 8014ca8: b29b uxth r3, r3 + 8014caa: 4618 mov r0, r3 + 8014cac: f7fa f8e8 bl 800ee80 + 8014cb0: 4603 mov r3, r0 + 8014cb2: b2db uxtb r3, r3 + 8014cb4: f003 0307 and.w r3, r3, #7 + 8014cb8: 2b00 cmp r3, #0 + 8014cba: d116 bne.n 8014cea /* no SYN/FIN/RST flag in the header, we can add the FIN flag */ TCPH_SET_FLAG(last_unsent->tcphdr, TCP_FIN); - 801512c: 68fb ldr r3, [r7, #12] - 801512e: 68db ldr r3, [r3, #12] - 8015130: 899b ldrh r3, [r3, #12] - 8015132: b29c uxth r4, r3 - 8015134: 2001 movs r0, #1 - 8015136: f7fa f8db bl 800f2f0 - 801513a: 4603 mov r3, r0 - 801513c: 461a mov r2, r3 - 801513e: 68fb ldr r3, [r7, #12] - 8015140: 68db ldr r3, [r3, #12] - 8015142: 4322 orrs r2, r4 - 8015144: b292 uxth r2, r2 - 8015146: 819a strh r2, [r3, #12] + 8014cbc: 68fb ldr r3, [r7, #12] + 8014cbe: 68db ldr r3, [r3, #12] + 8014cc0: 899b ldrh r3, [r3, #12] + 8014cc2: b29c uxth r4, r3 + 8014cc4: 2001 movs r0, #1 + 8014cc6: f7fa f8db bl 800ee80 + 8014cca: 4603 mov r3, r0 + 8014ccc: 461a mov r2, r3 + 8014cce: 68fb ldr r3, [r7, #12] + 8014cd0: 68db ldr r3, [r3, #12] + 8014cd2: 4322 orrs r2, r4 + 8014cd4: b292 uxth r2, r2 + 8014cd6: 819a strh r2, [r3, #12] tcp_set_flags(pcb, TF_FIN); - 8015148: 687b ldr r3, [r7, #4] - 801514a: 8b5b ldrh r3, [r3, #26] - 801514c: f043 0320 orr.w r3, r3, #32 - 8015150: b29a uxth r2, r3 - 8015152: 687b ldr r3, [r7, #4] - 8015154: 835a strh r2, [r3, #26] + 8014cd8: 687b ldr r3, [r7, #4] + 8014cda: 8b5b ldrh r3, [r3, #26] + 8014cdc: f043 0320 orr.w r3, r3, #32 + 8014ce0: b29a uxth r2, r3 + 8014ce2: 687b ldr r3, [r7, #4] + 8014ce4: 835a strh r2, [r3, #26] return ERR_OK; - 8015156: 2300 movs r3, #0 - 8015158: e004 b.n 8015164 + 8014ce6: 2300 movs r3, #0 + 8014ce8: e004 b.n 8014cf4 } } /* no data, no length, flags, copy=1, no optdata */ return tcp_enqueue_flags(pcb, TCP_FIN); - 801515a: 2101 movs r1, #1 - 801515c: 6878 ldr r0, [r7, #4] - 801515e: f000 f80b bl 8015178 - 8015162: 4603 mov r3, r0 + 8014cea: 2101 movs r1, #1 + 8014cec: 6878 ldr r0, [r7, #4] + 8014cee: f000 f80b bl 8014d08 + 8014cf2: 4603 mov r3, r0 } - 8015164: 4618 mov r0, r3 - 8015166: 3714 adds r7, #20 - 8015168: 46bd mov sp, r7 - 801516a: bd90 pop {r4, r7, pc} - 801516c: 0801df34 .word 0x0801df34 - 8015170: 0801e33c .word 0x0801e33c - 8015174: 0801df88 .word 0x0801df88 + 8014cf4: 4618 mov r0, r3 + 8014cf6: 3714 adds r7, #20 + 8014cf8: 46bd mov sp, r7 + 8014cfa: bd90 pop {r4, r7, pc} + 8014cfc: 0801d730 .word 0x0801d730 + 8014d00: 0801db38 .word 0x0801db38 + 8014d04: 0801d784 .word 0x0801d784 -08015178 : +08014d08 : * @param pcb Protocol control block for the TCP connection. * @param flags TCP header flags to set in the outgoing segment. */ err_t tcp_enqueue_flags(struct tcp_pcb *pcb, u8_t flags) { - 8015178: b580 push {r7, lr} - 801517a: b08a sub sp, #40 ; 0x28 - 801517c: af02 add r7, sp, #8 - 801517e: 6078 str r0, [r7, #4] - 8015180: 460b mov r3, r1 - 8015182: 70fb strb r3, [r7, #3] + 8014d08: b580 push {r7, lr} + 8014d0a: b08a sub sp, #40 ; 0x28 + 8014d0c: af02 add r7, sp, #8 + 8014d0e: 6078 str r0, [r7, #4] + 8014d10: 460b mov r3, r1 + 8014d12: 70fb strb r3, [r7, #3] struct pbuf *p; struct tcp_seg *seg; u8_t optflags = 0; - 8015184: 2300 movs r3, #0 - 8015186: 77fb strb r3, [r7, #31] + 8014d14: 2300 movs r3, #0 + 8014d16: 77fb strb r3, [r7, #31] u8_t optlen = 0; - 8015188: 2300 movs r3, #0 - 801518a: 75fb strb r3, [r7, #23] + 8014d18: 2300 movs r3, #0 + 8014d1a: 75fb strb r3, [r7, #23] LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_enqueue_flags: queuelen: %"U16_F"\n", (u16_t)pcb->snd_queuelen)); LWIP_ASSERT("tcp_enqueue_flags: need either TCP_SYN or TCP_FIN in flags (programmer violates API)", - 801518c: 78fb ldrb r3, [r7, #3] - 801518e: f003 0303 and.w r3, r3, #3 - 8015192: 2b00 cmp r3, #0 - 8015194: d106 bne.n 80151a4 - 8015196: 4b67 ldr r3, [pc, #412] ; (8015334 ) - 8015198: f240 4212 movw r2, #1042 ; 0x412 - 801519c: 4966 ldr r1, [pc, #408] ; (8015338 ) - 801519e: 4867 ldr r0, [pc, #412] ; (801533c ) - 80151a0: f006 f98a bl 801b4b8 + 8014d1c: 78fb ldrb r3, [r7, #3] + 8014d1e: f003 0303 and.w r3, r3, #3 + 8014d22: 2b00 cmp r3, #0 + 8014d24: d106 bne.n 8014d34 + 8014d26: 4b67 ldr r3, [pc, #412] ; (8014ec4 ) + 8014d28: f240 4212 movw r2, #1042 ; 0x412 + 8014d2c: 4966 ldr r1, [pc, #408] ; (8014ec8 ) + 8014d2e: 4867 ldr r0, [pc, #412] ; (8014ecc ) + 8014d30: f006 f970 bl 801b014 (flags & (TCP_SYN | TCP_FIN)) != 0); LWIP_ASSERT("tcp_enqueue_flags: invalid pcb", pcb != NULL); - 80151a4: 687b ldr r3, [r7, #4] - 80151a6: 2b00 cmp r3, #0 - 80151a8: d106 bne.n 80151b8 - 80151aa: 4b62 ldr r3, [pc, #392] ; (8015334 ) - 80151ac: f240 4213 movw r2, #1043 ; 0x413 - 80151b0: 4963 ldr r1, [pc, #396] ; (8015340 ) - 80151b2: 4862 ldr r0, [pc, #392] ; (801533c ) - 80151b4: f006 f980 bl 801b4b8 + 8014d34: 687b ldr r3, [r7, #4] + 8014d36: 2b00 cmp r3, #0 + 8014d38: d106 bne.n 8014d48 + 8014d3a: 4b62 ldr r3, [pc, #392] ; (8014ec4 ) + 8014d3c: f240 4213 movw r2, #1043 ; 0x413 + 8014d40: 4963 ldr r1, [pc, #396] ; (8014ed0 ) + 8014d42: 4862 ldr r0, [pc, #392] ; (8014ecc ) + 8014d44: f006 f966 bl 801b014 /* No need to check pcb->snd_queuelen if only SYN or FIN are allowed! */ /* Get options for this segment. This is a special case since this is the only place where a SYN can be sent. */ if (flags & TCP_SYN) { - 80151b8: 78fb ldrb r3, [r7, #3] - 80151ba: f003 0302 and.w r3, r3, #2 - 80151be: 2b00 cmp r3, #0 - 80151c0: d001 beq.n 80151c6 + 8014d48: 78fb ldrb r3, [r7, #3] + 8014d4a: f003 0302 and.w r3, r3, #2 + 8014d4e: 2b00 cmp r3, #0 + 8014d50: d001 beq.n 8014d56 optflags = TF_SEG_OPTS_MSS; - 80151c2: 2301 movs r3, #1 - 80151c4: 77fb strb r3, [r7, #31] + 8014d52: 2301 movs r3, #1 + 8014d54: 77fb strb r3, [r7, #31] /* Make sure the timestamp option is only included in data segments if we agreed about it with the remote host (and in active open SYN segments). */ optflags |= TF_SEG_OPTS_TS; } #endif /* LWIP_TCP_TIMESTAMPS */ optlen = LWIP_TCP_OPT_LENGTH_SEGMENT(optflags, pcb); - 80151c6: 7ffb ldrb r3, [r7, #31] - 80151c8: 009b lsls r3, r3, #2 - 80151ca: b2db uxtb r3, r3 - 80151cc: f003 0304 and.w r3, r3, #4 - 80151d0: 75fb strb r3, [r7, #23] + 8014d56: 7ffb ldrb r3, [r7, #31] + 8014d58: 009b lsls r3, r3, #2 + 8014d5a: b2db uxtb r3, r3 + 8014d5c: f003 0304 and.w r3, r3, #4 + 8014d60: 75fb strb r3, [r7, #23] /* Allocate pbuf with room for TCP header + options */ if ((p = pbuf_alloc(PBUF_TRANSPORT, optlen, PBUF_RAM)) == NULL) { - 80151d2: 7dfb ldrb r3, [r7, #23] - 80151d4: b29b uxth r3, r3 - 80151d6: f44f 7220 mov.w r2, #640 ; 0x280 - 80151da: 4619 mov r1, r3 - 80151dc: 2036 movs r0, #54 ; 0x36 - 80151de: f7fb f95b bl 8010498 - 80151e2: 6138 str r0, [r7, #16] - 80151e4: 693b ldr r3, [r7, #16] - 80151e6: 2b00 cmp r3, #0 - 80151e8: d109 bne.n 80151fe + 8014d62: 7dfb ldrb r3, [r7, #23] + 8014d64: b29b uxth r3, r3 + 8014d66: f44f 7220 mov.w r2, #640 ; 0x280 + 8014d6a: 4619 mov r1, r3 + 8014d6c: 2036 movs r0, #54 ; 0x36 + 8014d6e: f7fb f95b bl 8010028 + 8014d72: 6138 str r0, [r7, #16] + 8014d74: 693b ldr r3, [r7, #16] + 8014d76: 2b00 cmp r3, #0 + 8014d78: d109 bne.n 8014d8e tcp_set_flags(pcb, TF_NAGLEMEMERR); - 80151ea: 687b ldr r3, [r7, #4] - 80151ec: 8b5b ldrh r3, [r3, #26] - 80151ee: f043 0380 orr.w r3, r3, #128 ; 0x80 - 80151f2: b29a uxth r2, r3 - 80151f4: 687b ldr r3, [r7, #4] - 80151f6: 835a strh r2, [r3, #26] + 8014d7a: 687b ldr r3, [r7, #4] + 8014d7c: 8b5b ldrh r3, [r3, #26] + 8014d7e: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8014d82: b29a uxth r2, r3 + 8014d84: 687b ldr r3, [r7, #4] + 8014d86: 835a strh r2, [r3, #26] TCP_STATS_INC(tcp.memerr); return ERR_MEM; - 80151f8: f04f 33ff mov.w r3, #4294967295 - 80151fc: e095 b.n 801532a + 8014d88: f04f 33ff mov.w r3, #4294967295 + 8014d8c: e095 b.n 8014eba } LWIP_ASSERT("tcp_enqueue_flags: check that first pbuf can hold optlen", - 80151fe: 693b ldr r3, [r7, #16] - 8015200: 895a ldrh r2, [r3, #10] - 8015202: 7dfb ldrb r3, [r7, #23] - 8015204: b29b uxth r3, r3 - 8015206: 429a cmp r2, r3 - 8015208: d206 bcs.n 8015218 - 801520a: 4b4a ldr r3, [pc, #296] ; (8015334 ) - 801520c: f240 423a movw r2, #1082 ; 0x43a - 8015210: 494c ldr r1, [pc, #304] ; (8015344 ) - 8015212: 484a ldr r0, [pc, #296] ; (801533c ) - 8015214: f006 f950 bl 801b4b8 + 8014d8e: 693b ldr r3, [r7, #16] + 8014d90: 895a ldrh r2, [r3, #10] + 8014d92: 7dfb ldrb r3, [r7, #23] + 8014d94: b29b uxth r3, r3 + 8014d96: 429a cmp r2, r3 + 8014d98: d206 bcs.n 8014da8 + 8014d9a: 4b4a ldr r3, [pc, #296] ; (8014ec4 ) + 8014d9c: f240 423a movw r2, #1082 ; 0x43a + 8014da0: 494c ldr r1, [pc, #304] ; (8014ed4 ) + 8014da2: 484a ldr r0, [pc, #296] ; (8014ecc ) + 8014da4: f006 f936 bl 801b014 (p->len >= optlen)); /* Allocate memory for tcp_seg, and fill in fields. */ if ((seg = tcp_create_segment(pcb, p, flags, pcb->snd_lbb, optflags)) == NULL) { - 8015218: 687b ldr r3, [r7, #4] - 801521a: 6dd9 ldr r1, [r3, #92] ; 0x5c - 801521c: 78fa ldrb r2, [r7, #3] - 801521e: 7ffb ldrb r3, [r7, #31] - 8015220: 9300 str r3, [sp, #0] - 8015222: 460b mov r3, r1 - 8015224: 6939 ldr r1, [r7, #16] - 8015226: 6878 ldr r0, [r7, #4] - 8015228: f7ff fd70 bl 8014d0c - 801522c: 60f8 str r0, [r7, #12] - 801522e: 68fb ldr r3, [r7, #12] - 8015230: 2b00 cmp r3, #0 - 8015232: d109 bne.n 8015248 + 8014da8: 687b ldr r3, [r7, #4] + 8014daa: 6dd9 ldr r1, [r3, #92] ; 0x5c + 8014dac: 78fa ldrb r2, [r7, #3] + 8014dae: 7ffb ldrb r3, [r7, #31] + 8014db0: 9300 str r3, [sp, #0] + 8014db2: 460b mov r3, r1 + 8014db4: 6939 ldr r1, [r7, #16] + 8014db6: 6878 ldr r0, [r7, #4] + 8014db8: f7ff fd70 bl 801489c + 8014dbc: 60f8 str r0, [r7, #12] + 8014dbe: 68fb ldr r3, [r7, #12] + 8014dc0: 2b00 cmp r3, #0 + 8014dc2: d109 bne.n 8014dd8 tcp_set_flags(pcb, TF_NAGLEMEMERR); - 8015234: 687b ldr r3, [r7, #4] - 8015236: 8b5b ldrh r3, [r3, #26] - 8015238: f043 0380 orr.w r3, r3, #128 ; 0x80 - 801523c: b29a uxth r2, r3 - 801523e: 687b ldr r3, [r7, #4] - 8015240: 835a strh r2, [r3, #26] + 8014dc4: 687b ldr r3, [r7, #4] + 8014dc6: 8b5b ldrh r3, [r3, #26] + 8014dc8: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8014dcc: b29a uxth r2, r3 + 8014dce: 687b ldr r3, [r7, #4] + 8014dd0: 835a strh r2, [r3, #26] TCP_STATS_INC(tcp.memerr); return ERR_MEM; - 8015242: f04f 33ff mov.w r3, #4294967295 - 8015246: e070 b.n 801532a + 8014dd2: f04f 33ff mov.w r3, #4294967295 + 8014dd6: e070 b.n 8014eba } LWIP_ASSERT("seg->tcphdr not aligned", ((mem_ptr_t)seg->tcphdr % LWIP_MIN(MEM_ALIGNMENT, 4)) == 0); - 8015248: 68fb ldr r3, [r7, #12] - 801524a: 68db ldr r3, [r3, #12] - 801524c: f003 0303 and.w r3, r3, #3 - 8015250: 2b00 cmp r3, #0 - 8015252: d006 beq.n 8015262 - 8015254: 4b37 ldr r3, [pc, #220] ; (8015334 ) - 8015256: f240 4242 movw r2, #1090 ; 0x442 - 801525a: 493b ldr r1, [pc, #236] ; (8015348 ) - 801525c: 4837 ldr r0, [pc, #220] ; (801533c ) - 801525e: f006 f92b bl 801b4b8 + 8014dd8: 68fb ldr r3, [r7, #12] + 8014dda: 68db ldr r3, [r3, #12] + 8014ddc: f003 0303 and.w r3, r3, #3 + 8014de0: 2b00 cmp r3, #0 + 8014de2: d006 beq.n 8014df2 + 8014de4: 4b37 ldr r3, [pc, #220] ; (8014ec4 ) + 8014de6: f240 4242 movw r2, #1090 ; 0x442 + 8014dea: 493b ldr r1, [pc, #236] ; (8014ed8 ) + 8014dec: 4837 ldr r0, [pc, #220] ; (8014ecc ) + 8014dee: f006 f911 bl 801b014 LWIP_ASSERT("tcp_enqueue_flags: invalid segment length", seg->len == 0); - 8015262: 68fb ldr r3, [r7, #12] - 8015264: 891b ldrh r3, [r3, #8] - 8015266: 2b00 cmp r3, #0 - 8015268: d006 beq.n 8015278 - 801526a: 4b32 ldr r3, [pc, #200] ; (8015334 ) - 801526c: f240 4243 movw r2, #1091 ; 0x443 - 8015270: 4936 ldr r1, [pc, #216] ; (801534c ) - 8015272: 4832 ldr r0, [pc, #200] ; (801533c ) - 8015274: f006 f920 bl 801b4b8 + 8014df2: 68fb ldr r3, [r7, #12] + 8014df4: 891b ldrh r3, [r3, #8] + 8014df6: 2b00 cmp r3, #0 + 8014df8: d006 beq.n 8014e08 + 8014dfa: 4b32 ldr r3, [pc, #200] ; (8014ec4 ) + 8014dfc: f240 4243 movw r2, #1091 ; 0x443 + 8014e00: 4936 ldr r1, [pc, #216] ; (8014edc ) + 8014e02: 4832 ldr r0, [pc, #200] ; (8014ecc ) + 8014e04: f006 f906 bl 801b014 lwip_ntohl(seg->tcphdr->seqno), lwip_ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg), (u16_t)flags)); /* Now append seg to pcb->unsent queue */ if (pcb->unsent == NULL) { - 8015278: 687b ldr r3, [r7, #4] - 801527a: 6edb ldr r3, [r3, #108] ; 0x6c - 801527c: 2b00 cmp r3, #0 - 801527e: d103 bne.n 8015288 + 8014e08: 687b ldr r3, [r7, #4] + 8014e0a: 6edb ldr r3, [r3, #108] ; 0x6c + 8014e0c: 2b00 cmp r3, #0 + 8014e0e: d103 bne.n 8014e18 pcb->unsent = seg; - 8015280: 687b ldr r3, [r7, #4] - 8015282: 68fa ldr r2, [r7, #12] - 8015284: 66da str r2, [r3, #108] ; 0x6c - 8015286: e00d b.n 80152a4 + 8014e10: 687b ldr r3, [r7, #4] + 8014e12: 68fa ldr r2, [r7, #12] + 8014e14: 66da str r2, [r3, #108] ; 0x6c + 8014e16: e00d b.n 8014e34 } else { struct tcp_seg *useg; for (useg = pcb->unsent; useg->next != NULL; useg = useg->next); - 8015288: 687b ldr r3, [r7, #4] - 801528a: 6edb ldr r3, [r3, #108] ; 0x6c - 801528c: 61bb str r3, [r7, #24] - 801528e: e002 b.n 8015296 - 8015290: 69bb ldr r3, [r7, #24] - 8015292: 681b ldr r3, [r3, #0] - 8015294: 61bb str r3, [r7, #24] - 8015296: 69bb ldr r3, [r7, #24] - 8015298: 681b ldr r3, [r3, #0] - 801529a: 2b00 cmp r3, #0 - 801529c: d1f8 bne.n 8015290 + 8014e18: 687b ldr r3, [r7, #4] + 8014e1a: 6edb ldr r3, [r3, #108] ; 0x6c + 8014e1c: 61bb str r3, [r7, #24] + 8014e1e: e002 b.n 8014e26 + 8014e20: 69bb ldr r3, [r7, #24] + 8014e22: 681b ldr r3, [r3, #0] + 8014e24: 61bb str r3, [r7, #24] + 8014e26: 69bb ldr r3, [r7, #24] + 8014e28: 681b ldr r3, [r3, #0] + 8014e2a: 2b00 cmp r3, #0 + 8014e2c: d1f8 bne.n 8014e20 useg->next = seg; - 801529e: 69bb ldr r3, [r7, #24] - 80152a0: 68fa ldr r2, [r7, #12] - 80152a2: 601a str r2, [r3, #0] + 8014e2e: 69bb ldr r3, [r7, #24] + 8014e30: 68fa ldr r2, [r7, #12] + 8014e32: 601a str r2, [r3, #0] } #if TCP_OVERSIZE /* The new unsent tail has no space */ pcb->unsent_oversize = 0; - 80152a4: 687b ldr r3, [r7, #4] - 80152a6: 2200 movs r2, #0 - 80152a8: f8a3 2068 strh.w r2, [r3, #104] ; 0x68 + 8014e34: 687b ldr r3, [r7, #4] + 8014e36: 2200 movs r2, #0 + 8014e38: f8a3 2068 strh.w r2, [r3, #104] ; 0x68 #endif /* TCP_OVERSIZE */ /* SYN and FIN bump the sequence number */ if ((flags & TCP_SYN) || (flags & TCP_FIN)) { - 80152ac: 78fb ldrb r3, [r7, #3] - 80152ae: f003 0302 and.w r3, r3, #2 - 80152b2: 2b00 cmp r3, #0 - 80152b4: d104 bne.n 80152c0 - 80152b6: 78fb ldrb r3, [r7, #3] - 80152b8: f003 0301 and.w r3, r3, #1 - 80152bc: 2b00 cmp r3, #0 - 80152be: d004 beq.n 80152ca + 8014e3c: 78fb ldrb r3, [r7, #3] + 8014e3e: f003 0302 and.w r3, r3, #2 + 8014e42: 2b00 cmp r3, #0 + 8014e44: d104 bne.n 8014e50 + 8014e46: 78fb ldrb r3, [r7, #3] + 8014e48: f003 0301 and.w r3, r3, #1 + 8014e4c: 2b00 cmp r3, #0 + 8014e4e: d004 beq.n 8014e5a pcb->snd_lbb++; - 80152c0: 687b ldr r3, [r7, #4] - 80152c2: 6ddb ldr r3, [r3, #92] ; 0x5c - 80152c4: 1c5a adds r2, r3, #1 - 80152c6: 687b ldr r3, [r7, #4] - 80152c8: 65da str r2, [r3, #92] ; 0x5c + 8014e50: 687b ldr r3, [r7, #4] + 8014e52: 6ddb ldr r3, [r3, #92] ; 0x5c + 8014e54: 1c5a adds r2, r3, #1 + 8014e56: 687b ldr r3, [r7, #4] + 8014e58: 65da str r2, [r3, #92] ; 0x5c /* optlen does not influence snd_buf */ } if (flags & TCP_FIN) { - 80152ca: 78fb ldrb r3, [r7, #3] - 80152cc: f003 0301 and.w r3, r3, #1 - 80152d0: 2b00 cmp r3, #0 - 80152d2: d006 beq.n 80152e2 + 8014e5a: 78fb ldrb r3, [r7, #3] + 8014e5c: f003 0301 and.w r3, r3, #1 + 8014e60: 2b00 cmp r3, #0 + 8014e62: d006 beq.n 8014e72 tcp_set_flags(pcb, TF_FIN); - 80152d4: 687b ldr r3, [r7, #4] - 80152d6: 8b5b ldrh r3, [r3, #26] - 80152d8: f043 0320 orr.w r3, r3, #32 - 80152dc: b29a uxth r2, r3 - 80152de: 687b ldr r3, [r7, #4] - 80152e0: 835a strh r2, [r3, #26] + 8014e64: 687b ldr r3, [r7, #4] + 8014e66: 8b5b ldrh r3, [r3, #26] + 8014e68: f043 0320 orr.w r3, r3, #32 + 8014e6c: b29a uxth r2, r3 + 8014e6e: 687b ldr r3, [r7, #4] + 8014e70: 835a strh r2, [r3, #26] } /* update number of segments on the queues */ pcb->snd_queuelen += pbuf_clen(seg->p); - 80152e2: 68fb ldr r3, [r7, #12] - 80152e4: 685b ldr r3, [r3, #4] - 80152e6: 4618 mov r0, r3 - 80152e8: f7fb fc44 bl 8010b74 - 80152ec: 4603 mov r3, r0 - 80152ee: 461a mov r2, r3 - 80152f0: 687b ldr r3, [r7, #4] - 80152f2: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 - 80152f6: 4413 add r3, r2 - 80152f8: b29a uxth r2, r3 - 80152fa: 687b ldr r3, [r7, #4] - 80152fc: f8a3 2066 strh.w r2, [r3, #102] ; 0x66 + 8014e72: 68fb ldr r3, [r7, #12] + 8014e74: 685b ldr r3, [r3, #4] + 8014e76: 4618 mov r0, r3 + 8014e78: f7fb fc44 bl 8010704 + 8014e7c: 4603 mov r3, r0 + 8014e7e: 461a mov r2, r3 + 8014e80: 687b ldr r3, [r7, #4] + 8014e82: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 + 8014e86: 4413 add r3, r2 + 8014e88: b29a uxth r2, r3 + 8014e8a: 687b ldr r3, [r7, #4] + 8014e8c: f8a3 2066 strh.w r2, [r3, #102] ; 0x66 LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_enqueue_flags: %"S16_F" (after enqueued)\n", pcb->snd_queuelen)); if (pcb->snd_queuelen != 0) { - 8015300: 687b ldr r3, [r7, #4] - 8015302: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 - 8015306: 2b00 cmp r3, #0 - 8015308: d00e beq.n 8015328 + 8014e90: 687b ldr r3, [r7, #4] + 8014e92: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 + 8014e96: 2b00 cmp r3, #0 + 8014e98: d00e beq.n 8014eb8 LWIP_ASSERT("tcp_enqueue_flags: invalid queue length", - 801530a: 687b ldr r3, [r7, #4] - 801530c: 6f1b ldr r3, [r3, #112] ; 0x70 - 801530e: 2b00 cmp r3, #0 - 8015310: d10a bne.n 8015328 - 8015312: 687b ldr r3, [r7, #4] - 8015314: 6edb ldr r3, [r3, #108] ; 0x6c - 8015316: 2b00 cmp r3, #0 - 8015318: d106 bne.n 8015328 - 801531a: 4b06 ldr r3, [pc, #24] ; (8015334 ) - 801531c: f240 4266 movw r2, #1126 ; 0x466 - 8015320: 490b ldr r1, [pc, #44] ; (8015350 ) - 8015322: 4806 ldr r0, [pc, #24] ; (801533c ) - 8015324: f006 f8c8 bl 801b4b8 + 8014e9a: 687b ldr r3, [r7, #4] + 8014e9c: 6f1b ldr r3, [r3, #112] ; 0x70 + 8014e9e: 2b00 cmp r3, #0 + 8014ea0: d10a bne.n 8014eb8 + 8014ea2: 687b ldr r3, [r7, #4] + 8014ea4: 6edb ldr r3, [r3, #108] ; 0x6c + 8014ea6: 2b00 cmp r3, #0 + 8014ea8: d106 bne.n 8014eb8 + 8014eaa: 4b06 ldr r3, [pc, #24] ; (8014ec4 ) + 8014eac: f240 4266 movw r2, #1126 ; 0x466 + 8014eb0: 490b ldr r1, [pc, #44] ; (8014ee0 ) + 8014eb2: 4806 ldr r0, [pc, #24] ; (8014ecc ) + 8014eb4: f006 f8ae bl 801b014 pcb->unacked != NULL || pcb->unsent != NULL); } return ERR_OK; - 8015328: 2300 movs r3, #0 + 8014eb8: 2300 movs r3, #0 } - 801532a: 4618 mov r0, r3 - 801532c: 3720 adds r7, #32 - 801532e: 46bd mov sp, r7 - 8015330: bd80 pop {r7, pc} - 8015332: bf00 nop - 8015334: 0801df34 .word 0x0801df34 - 8015338: 0801e358 .word 0x0801e358 - 801533c: 0801df88 .word 0x0801df88 - 8015340: 0801e3b0 .word 0x0801e3b0 - 8015344: 0801e3d0 .word 0x0801e3d0 - 8015348: 0801e40c .word 0x0801e40c - 801534c: 0801e424 .word 0x0801e424 - 8015350: 0801e450 .word 0x0801e450 + 8014eba: 4618 mov r0, r3 + 8014ebc: 3720 adds r7, #32 + 8014ebe: 46bd mov sp, r7 + 8014ec0: bd80 pop {r7, pc} + 8014ec2: bf00 nop + 8014ec4: 0801d730 .word 0x0801d730 + 8014ec8: 0801db54 .word 0x0801db54 + 8014ecc: 0801d784 .word 0x0801d784 + 8014ed0: 0801dbac .word 0x0801dbac + 8014ed4: 0801dbcc .word 0x0801dbcc + 8014ed8: 0801dc08 .word 0x0801dc08 + 8014edc: 0801dc20 .word 0x0801dc20 + 8014ee0: 0801dc4c .word 0x0801dc4c -08015354 : +08014ee4 : * @return ERR_OK if data has been sent or nothing to send * another err_t on error */ err_t tcp_output(struct tcp_pcb *pcb) { - 8015354: b5b0 push {r4, r5, r7, lr} - 8015356: b08a sub sp, #40 ; 0x28 - 8015358: af00 add r7, sp, #0 - 801535a: 6078 str r0, [r7, #4] + 8014ee4: b5b0 push {r4, r5, r7, lr} + 8014ee6: b08a sub sp, #40 ; 0x28 + 8014ee8: af00 add r7, sp, #0 + 8014eea: 6078 str r0, [r7, #4] s16_t i = 0; #endif /* TCP_CWND_DEBUG */ LWIP_ASSERT_CORE_LOCKED(); LWIP_ASSERT("tcp_output: invalid pcb", pcb != NULL); - 801535c: 687b ldr r3, [r7, #4] - 801535e: 2b00 cmp r3, #0 - 8015360: d106 bne.n 8015370 - 8015362: 4ba0 ldr r3, [pc, #640] ; (80155e4 ) - 8015364: f240 42e1 movw r2, #1249 ; 0x4e1 - 8015368: 499f ldr r1, [pc, #636] ; (80155e8 ) - 801536a: 48a0 ldr r0, [pc, #640] ; (80155ec ) - 801536c: f006 f8a4 bl 801b4b8 + 8014eec: 687b ldr r3, [r7, #4] + 8014eee: 2b00 cmp r3, #0 + 8014ef0: d106 bne.n 8014f00 + 8014ef2: 4ba0 ldr r3, [pc, #640] ; (8015174 ) + 8014ef4: f240 42e1 movw r2, #1249 ; 0x4e1 + 8014ef8: 499f ldr r1, [pc, #636] ; (8015178 ) + 8014efa: 48a0 ldr r0, [pc, #640] ; (801517c ) + 8014efc: f006 f88a bl 801b014 /* pcb->state LISTEN not allowed here */ LWIP_ASSERT("don't call tcp_output for listen-pcbs", - 8015370: 687b ldr r3, [r7, #4] - 8015372: 7d1b ldrb r3, [r3, #20] - 8015374: 2b01 cmp r3, #1 - 8015376: d106 bne.n 8015386 - 8015378: 4b9a ldr r3, [pc, #616] ; (80155e4 ) - 801537a: f240 42e4 movw r2, #1252 ; 0x4e4 - 801537e: 499c ldr r1, [pc, #624] ; (80155f0 ) - 8015380: 489a ldr r0, [pc, #616] ; (80155ec ) - 8015382: f006 f899 bl 801b4b8 + 8014f00: 687b ldr r3, [r7, #4] + 8014f02: 7d1b ldrb r3, [r3, #20] + 8014f04: 2b01 cmp r3, #1 + 8014f06: d106 bne.n 8014f16 + 8014f08: 4b9a ldr r3, [pc, #616] ; (8015174 ) + 8014f0a: f240 42e4 movw r2, #1252 ; 0x4e4 + 8014f0e: 499c ldr r1, [pc, #624] ; (8015180 ) + 8014f10: 489a ldr r0, [pc, #616] ; (801517c ) + 8014f12: f006 f87f bl 801b014 /* First, check if we are invoked by the TCP input processing code. If so, we do not output anything. Instead, we rely on the input processing code to call us when input processing is done with. */ if (tcp_input_pcb == pcb) { - 8015386: 4b9b ldr r3, [pc, #620] ; (80155f4 ) - 8015388: 681b ldr r3, [r3, #0] - 801538a: 687a ldr r2, [r7, #4] - 801538c: 429a cmp r2, r3 - 801538e: d101 bne.n 8015394 + 8014f16: 4b9b ldr r3, [pc, #620] ; (8015184 ) + 8014f18: 681b ldr r3, [r3, #0] + 8014f1a: 687a ldr r2, [r7, #4] + 8014f1c: 429a cmp r2, r3 + 8014f1e: d101 bne.n 8014f24 return ERR_OK; - 8015390: 2300 movs r3, #0 - 8015392: e1d2 b.n 801573a + 8014f20: 2300 movs r3, #0 + 8014f22: e1d2 b.n 80152ca } wnd = LWIP_MIN(pcb->snd_wnd, pcb->cwnd); - 8015394: 687b ldr r3, [r7, #4] - 8015396: f8b3 2060 ldrh.w r2, [r3, #96] ; 0x60 - 801539a: 687b ldr r3, [r7, #4] - 801539c: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 - 80153a0: 429a cmp r2, r3 - 80153a2: d203 bcs.n 80153ac - 80153a4: 687b ldr r3, [r7, #4] - 80153a6: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 - 80153aa: e002 b.n 80153b2 - 80153ac: 687b ldr r3, [r7, #4] - 80153ae: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 - 80153b2: 61bb str r3, [r7, #24] + 8014f24: 687b ldr r3, [r7, #4] + 8014f26: f8b3 2060 ldrh.w r2, [r3, #96] ; 0x60 + 8014f2a: 687b ldr r3, [r7, #4] + 8014f2c: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 + 8014f30: 429a cmp r2, r3 + 8014f32: d203 bcs.n 8014f3c + 8014f34: 687b ldr r3, [r7, #4] + 8014f36: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 + 8014f3a: e002 b.n 8014f42 + 8014f3c: 687b ldr r3, [r7, #4] + 8014f3e: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 + 8014f42: 61bb str r3, [r7, #24] seg = pcb->unsent; - 80153b4: 687b ldr r3, [r7, #4] - 80153b6: 6edb ldr r3, [r3, #108] ; 0x6c - 80153b8: 627b str r3, [r7, #36] ; 0x24 + 8014f44: 687b ldr r3, [r7, #4] + 8014f46: 6edb ldr r3, [r3, #108] ; 0x6c + 8014f48: 627b str r3, [r7, #36] ; 0x24 if (seg == NULL) { - 80153ba: 6a7b ldr r3, [r7, #36] ; 0x24 - 80153bc: 2b00 cmp r3, #0 - 80153be: d10b bne.n 80153d8 + 8014f4a: 6a7b ldr r3, [r7, #36] ; 0x24 + 8014f4c: 2b00 cmp r3, #0 + 8014f4e: d10b bne.n 8014f68 ", seg == NULL, ack %"U32_F"\n", pcb->snd_wnd, pcb->cwnd, wnd, pcb->lastack)); /* If the TF_ACK_NOW flag is set and the ->unsent queue is empty, construct * an empty ACK segment and send it. */ if (pcb->flags & TF_ACK_NOW) { - 80153c0: 687b ldr r3, [r7, #4] - 80153c2: 8b5b ldrh r3, [r3, #26] - 80153c4: f003 0302 and.w r3, r3, #2 - 80153c8: 2b00 cmp r3, #0 - 80153ca: f000 81a9 beq.w 8015720 + 8014f50: 687b ldr r3, [r7, #4] + 8014f52: 8b5b ldrh r3, [r3, #26] + 8014f54: f003 0302 and.w r3, r3, #2 + 8014f58: 2b00 cmp r3, #0 + 8014f5a: f000 81a9 beq.w 80152b0 return tcp_send_empty_ack(pcb); - 80153ce: 6878 ldr r0, [r7, #4] - 80153d0: f000 fdd8 bl 8015f84 - 80153d4: 4603 mov r3, r0 - 80153d6: e1b0 b.n 801573a + 8014f5e: 6878 ldr r0, [r7, #4] + 8014f60: f000 fdd8 bl 8015b14 + 8014f64: 4603 mov r3, r0 + 8014f66: e1b0 b.n 80152ca pcb->snd_wnd, pcb->cwnd, wnd, lwip_ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len, lwip_ntohl(seg->tcphdr->seqno), pcb->lastack)); } netif = tcp_route(pcb, &pcb->local_ip, &pcb->remote_ip); - 80153d8: 6879 ldr r1, [r7, #4] - 80153da: 687b ldr r3, [r7, #4] - 80153dc: 3304 adds r3, #4 - 80153de: 461a mov r2, r3 - 80153e0: 6878 ldr r0, [r7, #4] - 80153e2: f7ff fc77 bl 8014cd4 - 80153e6: 6178 str r0, [r7, #20] + 8014f68: 6879 ldr r1, [r7, #4] + 8014f6a: 687b ldr r3, [r7, #4] + 8014f6c: 3304 adds r3, #4 + 8014f6e: 461a mov r2, r3 + 8014f70: 6878 ldr r0, [r7, #4] + 8014f72: f7ff fc77 bl 8014864 + 8014f76: 6178 str r0, [r7, #20] if (netif == NULL) { - 80153e8: 697b ldr r3, [r7, #20] - 80153ea: 2b00 cmp r3, #0 - 80153ec: d102 bne.n 80153f4 + 8014f78: 697b ldr r3, [r7, #20] + 8014f7a: 2b00 cmp r3, #0 + 8014f7c: d102 bne.n 8014f84 return ERR_RTE; - 80153ee: f06f 0303 mvn.w r3, #3 - 80153f2: e1a2 b.n 801573a + 8014f7e: f06f 0303 mvn.w r3, #3 + 8014f82: e1a2 b.n 80152ca } /* If we don't have a local IP address, we get one from netif */ if (ip_addr_isany(&pcb->local_ip)) { - 80153f4: 687b ldr r3, [r7, #4] - 80153f6: 2b00 cmp r3, #0 - 80153f8: d003 beq.n 8015402 - 80153fa: 687b ldr r3, [r7, #4] - 80153fc: 681b ldr r3, [r3, #0] - 80153fe: 2b00 cmp r3, #0 - 8015400: d111 bne.n 8015426 + 8014f84: 687b ldr r3, [r7, #4] + 8014f86: 2b00 cmp r3, #0 + 8014f88: d003 beq.n 8014f92 + 8014f8a: 687b ldr r3, [r7, #4] + 8014f8c: 681b ldr r3, [r3, #0] + 8014f8e: 2b00 cmp r3, #0 + 8014f90: d111 bne.n 8014fb6 const ip_addr_t *local_ip = ip_netif_get_local_ip(netif, &pcb->remote_ip); - 8015402: 697b ldr r3, [r7, #20] - 8015404: 2b00 cmp r3, #0 - 8015406: d002 beq.n 801540e - 8015408: 697b ldr r3, [r7, #20] - 801540a: 3304 adds r3, #4 - 801540c: e000 b.n 8015410 - 801540e: 2300 movs r3, #0 - 8015410: 613b str r3, [r7, #16] + 8014f92: 697b ldr r3, [r7, #20] + 8014f94: 2b00 cmp r3, #0 + 8014f96: d002 beq.n 8014f9e + 8014f98: 697b ldr r3, [r7, #20] + 8014f9a: 3304 adds r3, #4 + 8014f9c: e000 b.n 8014fa0 + 8014f9e: 2300 movs r3, #0 + 8014fa0: 613b str r3, [r7, #16] if (local_ip == NULL) { - 8015412: 693b ldr r3, [r7, #16] - 8015414: 2b00 cmp r3, #0 - 8015416: d102 bne.n 801541e + 8014fa2: 693b ldr r3, [r7, #16] + 8014fa4: 2b00 cmp r3, #0 + 8014fa6: d102 bne.n 8014fae return ERR_RTE; - 8015418: f06f 0303 mvn.w r3, #3 - 801541c: e18d b.n 801573a + 8014fa8: f06f 0303 mvn.w r3, #3 + 8014fac: e18d b.n 80152ca } ip_addr_copy(pcb->local_ip, *local_ip); - 801541e: 693b ldr r3, [r7, #16] - 8015420: 681a ldr r2, [r3, #0] - 8015422: 687b ldr r3, [r7, #4] - 8015424: 601a str r2, [r3, #0] + 8014fae: 693b ldr r3, [r7, #16] + 8014fb0: 681a ldr r2, [r3, #0] + 8014fb2: 687b ldr r3, [r7, #4] + 8014fb4: 601a str r2, [r3, #0] } /* Handle the current segment not fitting within the window */ if (lwip_ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len > wnd) { - 8015426: 6a7b ldr r3, [r7, #36] ; 0x24 - 8015428: 68db ldr r3, [r3, #12] - 801542a: 685b ldr r3, [r3, #4] - 801542c: 4618 mov r0, r3 - 801542e: f7f9 ff74 bl 800f31a - 8015432: 4602 mov r2, r0 - 8015434: 687b ldr r3, [r7, #4] - 8015436: 6c5b ldr r3, [r3, #68] ; 0x44 - 8015438: 1ad3 subs r3, r2, r3 - 801543a: 6a7a ldr r2, [r7, #36] ; 0x24 - 801543c: 8912 ldrh r2, [r2, #8] - 801543e: 4413 add r3, r2 - 8015440: 69ba ldr r2, [r7, #24] - 8015442: 429a cmp r2, r3 - 8015444: d227 bcs.n 8015496 + 8014fb6: 6a7b ldr r3, [r7, #36] ; 0x24 + 8014fb8: 68db ldr r3, [r3, #12] + 8014fba: 685b ldr r3, [r3, #4] + 8014fbc: 4618 mov r0, r3 + 8014fbe: f7f9 ff74 bl 800eeaa + 8014fc2: 4602 mov r2, r0 + 8014fc4: 687b ldr r3, [r7, #4] + 8014fc6: 6c5b ldr r3, [r3, #68] ; 0x44 + 8014fc8: 1ad3 subs r3, r2, r3 + 8014fca: 6a7a ldr r2, [r7, #36] ; 0x24 + 8014fcc: 8912 ldrh r2, [r2, #8] + 8014fce: 4413 add r3, r2 + 8014fd0: 69ba ldr r2, [r7, #24] + 8014fd2: 429a cmp r2, r3 + 8014fd4: d227 bcs.n 8015026 * within the remaining (could be 0) send window and RTO timer is not running (we * have no in-flight data). If window is still too small after persist timer fires, * then we split the segment. We don't consider the congestion window since a cwnd * smaller than 1 SMSS implies in-flight data */ if (wnd == pcb->snd_wnd && pcb->unacked == NULL && pcb->persist_backoff == 0) { - 8015446: 687b ldr r3, [r7, #4] - 8015448: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 - 801544c: 461a mov r2, r3 - 801544e: 69bb ldr r3, [r7, #24] - 8015450: 4293 cmp r3, r2 - 8015452: d114 bne.n 801547e - 8015454: 687b ldr r3, [r7, #4] - 8015456: 6f1b ldr r3, [r3, #112] ; 0x70 - 8015458: 2b00 cmp r3, #0 - 801545a: d110 bne.n 801547e - 801545c: 687b ldr r3, [r7, #4] - 801545e: f893 3099 ldrb.w r3, [r3, #153] ; 0x99 - 8015462: 2b00 cmp r3, #0 - 8015464: d10b bne.n 801547e + 8014fd6: 687b ldr r3, [r7, #4] + 8014fd8: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 + 8014fdc: 461a mov r2, r3 + 8014fde: 69bb ldr r3, [r7, #24] + 8014fe0: 4293 cmp r3, r2 + 8014fe2: d114 bne.n 801500e + 8014fe4: 687b ldr r3, [r7, #4] + 8014fe6: 6f1b ldr r3, [r3, #112] ; 0x70 + 8014fe8: 2b00 cmp r3, #0 + 8014fea: d110 bne.n 801500e + 8014fec: 687b ldr r3, [r7, #4] + 8014fee: f893 3099 ldrb.w r3, [r3, #153] ; 0x99 + 8014ff2: 2b00 cmp r3, #0 + 8014ff4: d10b bne.n 801500e pcb->persist_cnt = 0; - 8015466: 687b ldr r3, [r7, #4] - 8015468: 2200 movs r2, #0 - 801546a: f883 2098 strb.w r2, [r3, #152] ; 0x98 + 8014ff6: 687b ldr r3, [r7, #4] + 8014ff8: 2200 movs r2, #0 + 8014ffa: f883 2098 strb.w r2, [r3, #152] ; 0x98 pcb->persist_backoff = 1; - 801546e: 687b ldr r3, [r7, #4] - 8015470: 2201 movs r2, #1 - 8015472: f883 2099 strb.w r2, [r3, #153] ; 0x99 + 8014ffe: 687b ldr r3, [r7, #4] + 8015000: 2201 movs r2, #1 + 8015002: f883 2099 strb.w r2, [r3, #153] ; 0x99 pcb->persist_probe = 0; - 8015476: 687b ldr r3, [r7, #4] - 8015478: 2200 movs r2, #0 - 801547a: f883 209a strb.w r2, [r3, #154] ; 0x9a + 8015006: 687b ldr r3, [r7, #4] + 8015008: 2200 movs r2, #0 + 801500a: f883 209a strb.w r2, [r3, #154] ; 0x9a } /* We need an ACK, but can't send data now, so send an empty ACK */ if (pcb->flags & TF_ACK_NOW) { - 801547e: 687b ldr r3, [r7, #4] - 8015480: 8b5b ldrh r3, [r3, #26] - 8015482: f003 0302 and.w r3, r3, #2 - 8015486: 2b00 cmp r3, #0 - 8015488: f000 814c beq.w 8015724 + 801500e: 687b ldr r3, [r7, #4] + 8015010: 8b5b ldrh r3, [r3, #26] + 8015012: f003 0302 and.w r3, r3, #2 + 8015016: 2b00 cmp r3, #0 + 8015018: f000 814c beq.w 80152b4 return tcp_send_empty_ack(pcb); - 801548c: 6878 ldr r0, [r7, #4] - 801548e: f000 fd79 bl 8015f84 - 8015492: 4603 mov r3, r0 - 8015494: e151 b.n 801573a + 801501c: 6878 ldr r0, [r7, #4] + 801501e: f000 fd79 bl 8015b14 + 8015022: 4603 mov r3, r0 + 8015024: e151 b.n 80152ca } goto output_done; } /* Stop persist timer, above conditions are not active */ pcb->persist_backoff = 0; - 8015496: 687b ldr r3, [r7, #4] - 8015498: 2200 movs r2, #0 - 801549a: f883 2099 strb.w r2, [r3, #153] ; 0x99 + 8015026: 687b ldr r3, [r7, #4] + 8015028: 2200 movs r2, #0 + 801502a: f883 2099 strb.w r2, [r3, #153] ; 0x99 /* useg should point to last segment on unacked queue */ useg = pcb->unacked; - 801549e: 687b ldr r3, [r7, #4] - 80154a0: 6f1b ldr r3, [r3, #112] ; 0x70 - 80154a2: 623b str r3, [r7, #32] + 801502e: 687b ldr r3, [r7, #4] + 8015030: 6f1b ldr r3, [r3, #112] ; 0x70 + 8015032: 623b str r3, [r7, #32] if (useg != NULL) { - 80154a4: 6a3b ldr r3, [r7, #32] - 80154a6: 2b00 cmp r3, #0 - 80154a8: f000 811b beq.w 80156e2 + 8015034: 6a3b ldr r3, [r7, #32] + 8015036: 2b00 cmp r3, #0 + 8015038: f000 811b beq.w 8015272 for (; useg->next != NULL; useg = useg->next); - 80154ac: e002 b.n 80154b4 - 80154ae: 6a3b ldr r3, [r7, #32] - 80154b0: 681b ldr r3, [r3, #0] - 80154b2: 623b str r3, [r7, #32] - 80154b4: 6a3b ldr r3, [r7, #32] - 80154b6: 681b ldr r3, [r3, #0] - 80154b8: 2b00 cmp r3, #0 - 80154ba: d1f8 bne.n 80154ae + 801503c: e002 b.n 8015044 + 801503e: 6a3b ldr r3, [r7, #32] + 8015040: 681b ldr r3, [r3, #0] + 8015042: 623b str r3, [r7, #32] + 8015044: 6a3b ldr r3, [r7, #32] + 8015046: 681b ldr r3, [r3, #0] + 8015048: 2b00 cmp r3, #0 + 801504a: d1f8 bne.n 801503e } /* data available and window allows it to be sent? */ while (seg != NULL && - 80154bc: e111 b.n 80156e2 + 801504c: e111 b.n 8015272 lwip_ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len <= wnd) { LWIP_ASSERT("RST not expected here!", - 80154be: 6a7b ldr r3, [r7, #36] ; 0x24 - 80154c0: 68db ldr r3, [r3, #12] - 80154c2: 899b ldrh r3, [r3, #12] - 80154c4: b29b uxth r3, r3 - 80154c6: 4618 mov r0, r3 - 80154c8: f7f9 ff12 bl 800f2f0 - 80154cc: 4603 mov r3, r0 - 80154ce: b2db uxtb r3, r3 - 80154d0: f003 0304 and.w r3, r3, #4 - 80154d4: 2b00 cmp r3, #0 - 80154d6: d006 beq.n 80154e6 - 80154d8: 4b42 ldr r3, [pc, #264] ; (80155e4 ) - 80154da: f240 5237 movw r2, #1335 ; 0x537 - 80154de: 4946 ldr r1, [pc, #280] ; (80155f8 ) - 80154e0: 4842 ldr r0, [pc, #264] ; (80155ec ) - 80154e2: f005 ffe9 bl 801b4b8 + 801504e: 6a7b ldr r3, [r7, #36] ; 0x24 + 8015050: 68db ldr r3, [r3, #12] + 8015052: 899b ldrh r3, [r3, #12] + 8015054: b29b uxth r3, r3 + 8015056: 4618 mov r0, r3 + 8015058: f7f9 ff12 bl 800ee80 + 801505c: 4603 mov r3, r0 + 801505e: b2db uxtb r3, r3 + 8015060: f003 0304 and.w r3, r3, #4 + 8015064: 2b00 cmp r3, #0 + 8015066: d006 beq.n 8015076 + 8015068: 4b42 ldr r3, [pc, #264] ; (8015174 ) + 801506a: f240 5237 movw r2, #1335 ; 0x537 + 801506e: 4946 ldr r1, [pc, #280] ; (8015188 ) + 8015070: 4842 ldr r0, [pc, #264] ; (801517c ) + 8015072: f005 ffcf bl 801b014 * - if tcp_write had a memory error before (prevent delayed ACK timeout) or * - if FIN was already enqueued for this PCB (SYN is always alone in a segment - * either seg->next != NULL or pcb->unacked == NULL; * RST is no sent using tcp_write/tcp_output. */ if ((tcp_do_output_nagle(pcb) == 0) && - 80154e6: 687b ldr r3, [r7, #4] - 80154e8: 6f1b ldr r3, [r3, #112] ; 0x70 - 80154ea: 2b00 cmp r3, #0 - 80154ec: d01f beq.n 801552e - 80154ee: 687b ldr r3, [r7, #4] - 80154f0: 8b5b ldrh r3, [r3, #26] - 80154f2: f003 0344 and.w r3, r3, #68 ; 0x44 - 80154f6: 2b00 cmp r3, #0 - 80154f8: d119 bne.n 801552e - 80154fa: 687b ldr r3, [r7, #4] - 80154fc: 6edb ldr r3, [r3, #108] ; 0x6c - 80154fe: 2b00 cmp r3, #0 - 8015500: d00b beq.n 801551a - 8015502: 687b ldr r3, [r7, #4] - 8015504: 6edb ldr r3, [r3, #108] ; 0x6c - 8015506: 681b ldr r3, [r3, #0] - 8015508: 2b00 cmp r3, #0 - 801550a: d110 bne.n 801552e - 801550c: 687b ldr r3, [r7, #4] - 801550e: 6edb ldr r3, [r3, #108] ; 0x6c - 8015510: 891a ldrh r2, [r3, #8] - 8015512: 687b ldr r3, [r7, #4] - 8015514: 8e5b ldrh r3, [r3, #50] ; 0x32 - 8015516: 429a cmp r2, r3 - 8015518: d209 bcs.n 801552e - 801551a: 687b ldr r3, [r7, #4] - 801551c: f8b3 3064 ldrh.w r3, [r3, #100] ; 0x64 - 8015520: 2b00 cmp r3, #0 - 8015522: d004 beq.n 801552e - 8015524: 687b ldr r3, [r7, #4] - 8015526: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 - 801552a: 2b08 cmp r3, #8 - 801552c: d901 bls.n 8015532 - 801552e: 2301 movs r3, #1 - 8015530: e000 b.n 8015534 - 8015532: 2300 movs r3, #0 - 8015534: 2b00 cmp r3, #0 - 8015536: d106 bne.n 8015546 + 8015076: 687b ldr r3, [r7, #4] + 8015078: 6f1b ldr r3, [r3, #112] ; 0x70 + 801507a: 2b00 cmp r3, #0 + 801507c: d01f beq.n 80150be + 801507e: 687b ldr r3, [r7, #4] + 8015080: 8b5b ldrh r3, [r3, #26] + 8015082: f003 0344 and.w r3, r3, #68 ; 0x44 + 8015086: 2b00 cmp r3, #0 + 8015088: d119 bne.n 80150be + 801508a: 687b ldr r3, [r7, #4] + 801508c: 6edb ldr r3, [r3, #108] ; 0x6c + 801508e: 2b00 cmp r3, #0 + 8015090: d00b beq.n 80150aa + 8015092: 687b ldr r3, [r7, #4] + 8015094: 6edb ldr r3, [r3, #108] ; 0x6c + 8015096: 681b ldr r3, [r3, #0] + 8015098: 2b00 cmp r3, #0 + 801509a: d110 bne.n 80150be + 801509c: 687b ldr r3, [r7, #4] + 801509e: 6edb ldr r3, [r3, #108] ; 0x6c + 80150a0: 891a ldrh r2, [r3, #8] + 80150a2: 687b ldr r3, [r7, #4] + 80150a4: 8e5b ldrh r3, [r3, #50] ; 0x32 + 80150a6: 429a cmp r2, r3 + 80150a8: d209 bcs.n 80150be + 80150aa: 687b ldr r3, [r7, #4] + 80150ac: f8b3 3064 ldrh.w r3, [r3, #100] ; 0x64 + 80150b0: 2b00 cmp r3, #0 + 80150b2: d004 beq.n 80150be + 80150b4: 687b ldr r3, [r7, #4] + 80150b6: f8b3 3066 ldrh.w r3, [r3, #102] ; 0x66 + 80150ba: 2b08 cmp r3, #8 + 80150bc: d901 bls.n 80150c2 + 80150be: 2301 movs r3, #1 + 80150c0: e000 b.n 80150c4 + 80150c2: 2300 movs r3, #0 + 80150c4: 2b00 cmp r3, #0 + 80150c6: d106 bne.n 80150d6 ((pcb->flags & (TF_NAGLEMEMERR | TF_FIN)) == 0)) { - 8015538: 687b ldr r3, [r7, #4] - 801553a: 8b5b ldrh r3, [r3, #26] - 801553c: f003 03a0 and.w r3, r3, #160 ; 0xa0 + 80150c8: 687b ldr r3, [r7, #4] + 80150ca: 8b5b ldrh r3, [r3, #26] + 80150cc: f003 03a0 and.w r3, r3, #160 ; 0xa0 if ((tcp_do_output_nagle(pcb) == 0) && - 8015540: 2b00 cmp r3, #0 - 8015542: f000 80e3 beq.w 801570c + 80150d0: 2b00 cmp r3, #0 + 80150d2: f000 80e3 beq.w 801529c pcb->lastack, lwip_ntohl(seg->tcphdr->seqno), pcb->lastack, i)); ++i; #endif /* TCP_CWND_DEBUG */ if (pcb->state != SYN_SENT) { - 8015546: 687b ldr r3, [r7, #4] - 8015548: 7d1b ldrb r3, [r3, #20] - 801554a: 2b02 cmp r3, #2 - 801554c: d00d beq.n 801556a + 80150d6: 687b ldr r3, [r7, #4] + 80150d8: 7d1b ldrb r3, [r3, #20] + 80150da: 2b02 cmp r3, #2 + 80150dc: d00d beq.n 80150fa TCPH_SET_FLAG(seg->tcphdr, TCP_ACK); - 801554e: 6a7b ldr r3, [r7, #36] ; 0x24 - 8015550: 68db ldr r3, [r3, #12] - 8015552: 899b ldrh r3, [r3, #12] - 8015554: b29c uxth r4, r3 - 8015556: 2010 movs r0, #16 - 8015558: f7f9 feca bl 800f2f0 - 801555c: 4603 mov r3, r0 - 801555e: 461a mov r2, r3 - 8015560: 6a7b ldr r3, [r7, #36] ; 0x24 - 8015562: 68db ldr r3, [r3, #12] - 8015564: 4322 orrs r2, r4 - 8015566: b292 uxth r2, r2 - 8015568: 819a strh r2, [r3, #12] + 80150de: 6a7b ldr r3, [r7, #36] ; 0x24 + 80150e0: 68db ldr r3, [r3, #12] + 80150e2: 899b ldrh r3, [r3, #12] + 80150e4: b29c uxth r4, r3 + 80150e6: 2010 movs r0, #16 + 80150e8: f7f9 feca bl 800ee80 + 80150ec: 4603 mov r3, r0 + 80150ee: 461a mov r2, r3 + 80150f0: 6a7b ldr r3, [r7, #36] ; 0x24 + 80150f2: 68db ldr r3, [r3, #12] + 80150f4: 4322 orrs r2, r4 + 80150f6: b292 uxth r2, r2 + 80150f8: 819a strh r2, [r3, #12] } err = tcp_output_segment(seg, pcb, netif); - 801556a: 697a ldr r2, [r7, #20] - 801556c: 6879 ldr r1, [r7, #4] - 801556e: 6a78 ldr r0, [r7, #36] ; 0x24 - 8015570: f000 f908 bl 8015784 - 8015574: 4603 mov r3, r0 - 8015576: 73fb strb r3, [r7, #15] + 80150fa: 697a ldr r2, [r7, #20] + 80150fc: 6879 ldr r1, [r7, #4] + 80150fe: 6a78 ldr r0, [r7, #36] ; 0x24 + 8015100: f000 f908 bl 8015314 + 8015104: 4603 mov r3, r0 + 8015106: 73fb strb r3, [r7, #15] if (err != ERR_OK) { - 8015578: f997 300f ldrsb.w r3, [r7, #15] - 801557c: 2b00 cmp r3, #0 - 801557e: d009 beq.n 8015594 + 8015108: f997 300f ldrsb.w r3, [r7, #15] + 801510c: 2b00 cmp r3, #0 + 801510e: d009 beq.n 8015124 /* segment could not be sent, for whatever reason */ tcp_set_flags(pcb, TF_NAGLEMEMERR); - 8015580: 687b ldr r3, [r7, #4] - 8015582: 8b5b ldrh r3, [r3, #26] - 8015584: f043 0380 orr.w r3, r3, #128 ; 0x80 - 8015588: b29a uxth r2, r3 - 801558a: 687b ldr r3, [r7, #4] - 801558c: 835a strh r2, [r3, #26] + 8015110: 687b ldr r3, [r7, #4] + 8015112: 8b5b ldrh r3, [r3, #26] + 8015114: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8015118: b29a uxth r2, r3 + 801511a: 687b ldr r3, [r7, #4] + 801511c: 835a strh r2, [r3, #26] return err; - 801558e: f997 300f ldrsb.w r3, [r7, #15] - 8015592: e0d2 b.n 801573a + 801511e: f997 300f ldrsb.w r3, [r7, #15] + 8015122: e0d2 b.n 80152ca } #if TCP_OVERSIZE_DBGCHECK seg->oversize_left = 0; #endif /* TCP_OVERSIZE_DBGCHECK */ pcb->unsent = seg->next; - 8015594: 6a7b ldr r3, [r7, #36] ; 0x24 - 8015596: 681a ldr r2, [r3, #0] - 8015598: 687b ldr r3, [r7, #4] - 801559a: 66da str r2, [r3, #108] ; 0x6c + 8015124: 6a7b ldr r3, [r7, #36] ; 0x24 + 8015126: 681a ldr r2, [r3, #0] + 8015128: 687b ldr r3, [r7, #4] + 801512a: 66da str r2, [r3, #108] ; 0x6c if (pcb->state != SYN_SENT) { - 801559c: 687b ldr r3, [r7, #4] - 801559e: 7d1b ldrb r3, [r3, #20] - 80155a0: 2b02 cmp r3, #2 - 80155a2: d006 beq.n 80155b2 + 801512c: 687b ldr r3, [r7, #4] + 801512e: 7d1b ldrb r3, [r3, #20] + 8015130: 2b02 cmp r3, #2 + 8015132: d006 beq.n 8015142 tcp_clear_flags(pcb, TF_ACK_DELAY | TF_ACK_NOW); - 80155a4: 687b ldr r3, [r7, #4] - 80155a6: 8b5b ldrh r3, [r3, #26] - 80155a8: f023 0303 bic.w r3, r3, #3 - 80155ac: b29a uxth r2, r3 - 80155ae: 687b ldr r3, [r7, #4] - 80155b0: 835a strh r2, [r3, #26] + 8015134: 687b ldr r3, [r7, #4] + 8015136: 8b5b ldrh r3, [r3, #26] + 8015138: f023 0303 bic.w r3, r3, #3 + 801513c: b29a uxth r2, r3 + 801513e: 687b ldr r3, [r7, #4] + 8015140: 835a strh r2, [r3, #26] } snd_nxt = lwip_ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg); - 80155b2: 6a7b ldr r3, [r7, #36] ; 0x24 - 80155b4: 68db ldr r3, [r3, #12] - 80155b6: 685b ldr r3, [r3, #4] - 80155b8: 4618 mov r0, r3 - 80155ba: f7f9 feae bl 800f31a - 80155be: 4604 mov r4, r0 - 80155c0: 6a7b ldr r3, [r7, #36] ; 0x24 - 80155c2: 891b ldrh r3, [r3, #8] - 80155c4: 461d mov r5, r3 - 80155c6: 6a7b ldr r3, [r7, #36] ; 0x24 - 80155c8: 68db ldr r3, [r3, #12] - 80155ca: 899b ldrh r3, [r3, #12] - 80155cc: b29b uxth r3, r3 - 80155ce: 4618 mov r0, r3 - 80155d0: f7f9 fe8e bl 800f2f0 - 80155d4: 4603 mov r3, r0 - 80155d6: b2db uxtb r3, r3 - 80155d8: f003 0303 and.w r3, r3, #3 - 80155dc: 2b00 cmp r3, #0 - 80155de: d00d beq.n 80155fc - 80155e0: 2301 movs r3, #1 - 80155e2: e00c b.n 80155fe - 80155e4: 0801df34 .word 0x0801df34 - 80155e8: 0801e478 .word 0x0801e478 - 80155ec: 0801df88 .word 0x0801df88 - 80155f0: 0801e490 .word 0x0801e490 - 80155f4: 2000f5d8 .word 0x2000f5d8 - 80155f8: 0801e4b8 .word 0x0801e4b8 - 80155fc: 2300 movs r3, #0 - 80155fe: 442b add r3, r5 - 8015600: 4423 add r3, r4 - 8015602: 60bb str r3, [r7, #8] + 8015142: 6a7b ldr r3, [r7, #36] ; 0x24 + 8015144: 68db ldr r3, [r3, #12] + 8015146: 685b ldr r3, [r3, #4] + 8015148: 4618 mov r0, r3 + 801514a: f7f9 feae bl 800eeaa + 801514e: 4604 mov r4, r0 + 8015150: 6a7b ldr r3, [r7, #36] ; 0x24 + 8015152: 891b ldrh r3, [r3, #8] + 8015154: 461d mov r5, r3 + 8015156: 6a7b ldr r3, [r7, #36] ; 0x24 + 8015158: 68db ldr r3, [r3, #12] + 801515a: 899b ldrh r3, [r3, #12] + 801515c: b29b uxth r3, r3 + 801515e: 4618 mov r0, r3 + 8015160: f7f9 fe8e bl 800ee80 + 8015164: 4603 mov r3, r0 + 8015166: b2db uxtb r3, r3 + 8015168: f003 0303 and.w r3, r3, #3 + 801516c: 2b00 cmp r3, #0 + 801516e: d00d beq.n 801518c + 8015170: 2301 movs r3, #1 + 8015172: e00c b.n 801518e + 8015174: 0801d730 .word 0x0801d730 + 8015178: 0801dc74 .word 0x0801dc74 + 801517c: 0801d784 .word 0x0801d784 + 8015180: 0801dc8c .word 0x0801dc8c + 8015184: 2000f5d4 .word 0x2000f5d4 + 8015188: 0801dcb4 .word 0x0801dcb4 + 801518c: 2300 movs r3, #0 + 801518e: 442b add r3, r5 + 8015190: 4423 add r3, r4 + 8015192: 60bb str r3, [r7, #8] if (TCP_SEQ_LT(pcb->snd_nxt, snd_nxt)) { - 8015604: 687b ldr r3, [r7, #4] - 8015606: 6d1a ldr r2, [r3, #80] ; 0x50 - 8015608: 68bb ldr r3, [r7, #8] - 801560a: 1ad3 subs r3, r2, r3 - 801560c: 2b00 cmp r3, #0 - 801560e: da02 bge.n 8015616 + 8015194: 687b ldr r3, [r7, #4] + 8015196: 6d1a ldr r2, [r3, #80] ; 0x50 + 8015198: 68bb ldr r3, [r7, #8] + 801519a: 1ad3 subs r3, r2, r3 + 801519c: 2b00 cmp r3, #0 + 801519e: da02 bge.n 80151a6 pcb->snd_nxt = snd_nxt; - 8015610: 687b ldr r3, [r7, #4] - 8015612: 68ba ldr r2, [r7, #8] - 8015614: 651a str r2, [r3, #80] ; 0x50 + 80151a0: 687b ldr r3, [r7, #4] + 80151a2: 68ba ldr r2, [r7, #8] + 80151a4: 651a str r2, [r3, #80] ; 0x50 } /* put segment on unacknowledged list if length > 0 */ if (TCP_TCPLEN(seg) > 0) { - 8015616: 6a7b ldr r3, [r7, #36] ; 0x24 - 8015618: 891b ldrh r3, [r3, #8] - 801561a: 461c mov r4, r3 - 801561c: 6a7b ldr r3, [r7, #36] ; 0x24 - 801561e: 68db ldr r3, [r3, #12] - 8015620: 899b ldrh r3, [r3, #12] - 8015622: b29b uxth r3, r3 - 8015624: 4618 mov r0, r3 - 8015626: f7f9 fe63 bl 800f2f0 - 801562a: 4603 mov r3, r0 - 801562c: b2db uxtb r3, r3 - 801562e: f003 0303 and.w r3, r3, #3 - 8015632: 2b00 cmp r3, #0 - 8015634: d001 beq.n 801563a - 8015636: 2301 movs r3, #1 - 8015638: e000 b.n 801563c - 801563a: 2300 movs r3, #0 - 801563c: 4423 add r3, r4 - 801563e: 2b00 cmp r3, #0 - 8015640: d049 beq.n 80156d6 + 80151a6: 6a7b ldr r3, [r7, #36] ; 0x24 + 80151a8: 891b ldrh r3, [r3, #8] + 80151aa: 461c mov r4, r3 + 80151ac: 6a7b ldr r3, [r7, #36] ; 0x24 + 80151ae: 68db ldr r3, [r3, #12] + 80151b0: 899b ldrh r3, [r3, #12] + 80151b2: b29b uxth r3, r3 + 80151b4: 4618 mov r0, r3 + 80151b6: f7f9 fe63 bl 800ee80 + 80151ba: 4603 mov r3, r0 + 80151bc: b2db uxtb r3, r3 + 80151be: f003 0303 and.w r3, r3, #3 + 80151c2: 2b00 cmp r3, #0 + 80151c4: d001 beq.n 80151ca + 80151c6: 2301 movs r3, #1 + 80151c8: e000 b.n 80151cc + 80151ca: 2300 movs r3, #0 + 80151cc: 4423 add r3, r4 + 80151ce: 2b00 cmp r3, #0 + 80151d0: d049 beq.n 8015266 seg->next = NULL; - 8015642: 6a7b ldr r3, [r7, #36] ; 0x24 - 8015644: 2200 movs r2, #0 - 8015646: 601a str r2, [r3, #0] + 80151d2: 6a7b ldr r3, [r7, #36] ; 0x24 + 80151d4: 2200 movs r2, #0 + 80151d6: 601a str r2, [r3, #0] /* unacked list is empty? */ if (pcb->unacked == NULL) { - 8015648: 687b ldr r3, [r7, #4] - 801564a: 6f1b ldr r3, [r3, #112] ; 0x70 - 801564c: 2b00 cmp r3, #0 - 801564e: d105 bne.n 801565c + 80151d8: 687b ldr r3, [r7, #4] + 80151da: 6f1b ldr r3, [r3, #112] ; 0x70 + 80151dc: 2b00 cmp r3, #0 + 80151de: d105 bne.n 80151ec pcb->unacked = seg; - 8015650: 687b ldr r3, [r7, #4] - 8015652: 6a7a ldr r2, [r7, #36] ; 0x24 - 8015654: 671a str r2, [r3, #112] ; 0x70 + 80151e0: 687b ldr r3, [r7, #4] + 80151e2: 6a7a ldr r2, [r7, #36] ; 0x24 + 80151e4: 671a str r2, [r3, #112] ; 0x70 useg = seg; - 8015656: 6a7b ldr r3, [r7, #36] ; 0x24 - 8015658: 623b str r3, [r7, #32] - 801565a: e03f b.n 80156dc + 80151e6: 6a7b ldr r3, [r7, #36] ; 0x24 + 80151e8: 623b str r3, [r7, #32] + 80151ea: e03f b.n 801526c /* unacked list is not empty? */ } else { /* In the case of fast retransmit, the packet should not go to the tail * of the unacked queue, but rather somewhere before it. We need to check for * this case. -STJ Jul 27, 2004 */ if (TCP_SEQ_LT(lwip_ntohl(seg->tcphdr->seqno), lwip_ntohl(useg->tcphdr->seqno))) { - 801565c: 6a7b ldr r3, [r7, #36] ; 0x24 - 801565e: 68db ldr r3, [r3, #12] - 8015660: 685b ldr r3, [r3, #4] - 8015662: 4618 mov r0, r3 - 8015664: f7f9 fe59 bl 800f31a - 8015668: 4604 mov r4, r0 - 801566a: 6a3b ldr r3, [r7, #32] - 801566c: 68db ldr r3, [r3, #12] - 801566e: 685b ldr r3, [r3, #4] - 8015670: 4618 mov r0, r3 - 8015672: f7f9 fe52 bl 800f31a - 8015676: 4603 mov r3, r0 - 8015678: 1ae3 subs r3, r4, r3 - 801567a: 2b00 cmp r3, #0 - 801567c: da24 bge.n 80156c8 + 80151ec: 6a7b ldr r3, [r7, #36] ; 0x24 + 80151ee: 68db ldr r3, [r3, #12] + 80151f0: 685b ldr r3, [r3, #4] + 80151f2: 4618 mov r0, r3 + 80151f4: f7f9 fe59 bl 800eeaa + 80151f8: 4604 mov r4, r0 + 80151fa: 6a3b ldr r3, [r7, #32] + 80151fc: 68db ldr r3, [r3, #12] + 80151fe: 685b ldr r3, [r3, #4] + 8015200: 4618 mov r0, r3 + 8015202: f7f9 fe52 bl 800eeaa + 8015206: 4603 mov r3, r0 + 8015208: 1ae3 subs r3, r4, r3 + 801520a: 2b00 cmp r3, #0 + 801520c: da24 bge.n 8015258 /* add segment to before tail of unacked list, keeping the list sorted */ struct tcp_seg **cur_seg = &(pcb->unacked); - 801567e: 687b ldr r3, [r7, #4] - 8015680: 3370 adds r3, #112 ; 0x70 - 8015682: 61fb str r3, [r7, #28] + 801520e: 687b ldr r3, [r7, #4] + 8015210: 3370 adds r3, #112 ; 0x70 + 8015212: 61fb str r3, [r7, #28] while (*cur_seg && - 8015684: e002 b.n 801568c + 8015214: e002 b.n 801521c TCP_SEQ_LT(lwip_ntohl((*cur_seg)->tcphdr->seqno), lwip_ntohl(seg->tcphdr->seqno))) { cur_seg = &((*cur_seg)->next ); - 8015686: 69fb ldr r3, [r7, #28] - 8015688: 681b ldr r3, [r3, #0] - 801568a: 61fb str r3, [r7, #28] + 8015216: 69fb ldr r3, [r7, #28] + 8015218: 681b ldr r3, [r3, #0] + 801521a: 61fb str r3, [r7, #28] while (*cur_seg && - 801568c: 69fb ldr r3, [r7, #28] - 801568e: 681b ldr r3, [r3, #0] - 8015690: 2b00 cmp r3, #0 - 8015692: d011 beq.n 80156b8 + 801521c: 69fb ldr r3, [r7, #28] + 801521e: 681b ldr r3, [r3, #0] + 8015220: 2b00 cmp r3, #0 + 8015222: d011 beq.n 8015248 TCP_SEQ_LT(lwip_ntohl((*cur_seg)->tcphdr->seqno), lwip_ntohl(seg->tcphdr->seqno))) { - 8015694: 69fb ldr r3, [r7, #28] - 8015696: 681b ldr r3, [r3, #0] - 8015698: 68db ldr r3, [r3, #12] - 801569a: 685b ldr r3, [r3, #4] - 801569c: 4618 mov r0, r3 - 801569e: f7f9 fe3c bl 800f31a - 80156a2: 4604 mov r4, r0 - 80156a4: 6a7b ldr r3, [r7, #36] ; 0x24 - 80156a6: 68db ldr r3, [r3, #12] - 80156a8: 685b ldr r3, [r3, #4] - 80156aa: 4618 mov r0, r3 - 80156ac: f7f9 fe35 bl 800f31a - 80156b0: 4603 mov r3, r0 - 80156b2: 1ae3 subs r3, r4, r3 + 8015224: 69fb ldr r3, [r7, #28] + 8015226: 681b ldr r3, [r3, #0] + 8015228: 68db ldr r3, [r3, #12] + 801522a: 685b ldr r3, [r3, #4] + 801522c: 4618 mov r0, r3 + 801522e: f7f9 fe3c bl 800eeaa + 8015232: 4604 mov r4, r0 + 8015234: 6a7b ldr r3, [r7, #36] ; 0x24 + 8015236: 68db ldr r3, [r3, #12] + 8015238: 685b ldr r3, [r3, #4] + 801523a: 4618 mov r0, r3 + 801523c: f7f9 fe35 bl 800eeaa + 8015240: 4603 mov r3, r0 + 8015242: 1ae3 subs r3, r4, r3 while (*cur_seg && - 80156b4: 2b00 cmp r3, #0 - 80156b6: dbe6 blt.n 8015686 + 8015244: 2b00 cmp r3, #0 + 8015246: dbe6 blt.n 8015216 } seg->next = (*cur_seg); - 80156b8: 69fb ldr r3, [r7, #28] - 80156ba: 681a ldr r2, [r3, #0] - 80156bc: 6a7b ldr r3, [r7, #36] ; 0x24 - 80156be: 601a str r2, [r3, #0] + 8015248: 69fb ldr r3, [r7, #28] + 801524a: 681a ldr r2, [r3, #0] + 801524c: 6a7b ldr r3, [r7, #36] ; 0x24 + 801524e: 601a str r2, [r3, #0] (*cur_seg) = seg; - 80156c0: 69fb ldr r3, [r7, #28] - 80156c2: 6a7a ldr r2, [r7, #36] ; 0x24 - 80156c4: 601a str r2, [r3, #0] - 80156c6: e009 b.n 80156dc + 8015250: 69fb ldr r3, [r7, #28] + 8015252: 6a7a ldr r2, [r7, #36] ; 0x24 + 8015254: 601a str r2, [r3, #0] + 8015256: e009 b.n 801526c } else { /* add segment to tail of unacked list */ useg->next = seg; - 80156c8: 6a3b ldr r3, [r7, #32] - 80156ca: 6a7a ldr r2, [r7, #36] ; 0x24 - 80156cc: 601a str r2, [r3, #0] + 8015258: 6a3b ldr r3, [r7, #32] + 801525a: 6a7a ldr r2, [r7, #36] ; 0x24 + 801525c: 601a str r2, [r3, #0] useg = useg->next; - 80156ce: 6a3b ldr r3, [r7, #32] - 80156d0: 681b ldr r3, [r3, #0] - 80156d2: 623b str r3, [r7, #32] - 80156d4: e002 b.n 80156dc + 801525e: 6a3b ldr r3, [r7, #32] + 8015260: 681b ldr r3, [r3, #0] + 8015262: 623b str r3, [r7, #32] + 8015264: e002 b.n 801526c } } /* do not queue empty segments on the unacked list */ } else { tcp_seg_free(seg); - 80156d6: 6a78 ldr r0, [r7, #36] ; 0x24 - 80156d8: f7fc fc42 bl 8011f60 + 8015266: 6a78 ldr r0, [r7, #36] ; 0x24 + 8015268: f7fc fc42 bl 8011af0 } seg = pcb->unsent; - 80156dc: 687b ldr r3, [r7, #4] - 80156de: 6edb ldr r3, [r3, #108] ; 0x6c - 80156e0: 627b str r3, [r7, #36] ; 0x24 + 801526c: 687b ldr r3, [r7, #4] + 801526e: 6edb ldr r3, [r3, #108] ; 0x6c + 8015270: 627b str r3, [r7, #36] ; 0x24 while (seg != NULL && - 80156e2: 6a7b ldr r3, [r7, #36] ; 0x24 - 80156e4: 2b00 cmp r3, #0 - 80156e6: d012 beq.n 801570e + 8015272: 6a7b ldr r3, [r7, #36] ; 0x24 + 8015274: 2b00 cmp r3, #0 + 8015276: d012 beq.n 801529e lwip_ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len <= wnd) { - 80156e8: 6a7b ldr r3, [r7, #36] ; 0x24 - 80156ea: 68db ldr r3, [r3, #12] - 80156ec: 685b ldr r3, [r3, #4] - 80156ee: 4618 mov r0, r3 - 80156f0: f7f9 fe13 bl 800f31a - 80156f4: 4602 mov r2, r0 - 80156f6: 687b ldr r3, [r7, #4] - 80156f8: 6c5b ldr r3, [r3, #68] ; 0x44 - 80156fa: 1ad3 subs r3, r2, r3 - 80156fc: 6a7a ldr r2, [r7, #36] ; 0x24 - 80156fe: 8912 ldrh r2, [r2, #8] - 8015700: 4413 add r3, r2 + 8015278: 6a7b ldr r3, [r7, #36] ; 0x24 + 801527a: 68db ldr r3, [r3, #12] + 801527c: 685b ldr r3, [r3, #4] + 801527e: 4618 mov r0, r3 + 8015280: f7f9 fe13 bl 800eeaa + 8015284: 4602 mov r2, r0 + 8015286: 687b ldr r3, [r7, #4] + 8015288: 6c5b ldr r3, [r3, #68] ; 0x44 + 801528a: 1ad3 subs r3, r2, r3 + 801528c: 6a7a ldr r2, [r7, #36] ; 0x24 + 801528e: 8912 ldrh r2, [r2, #8] + 8015290: 4413 add r3, r2 while (seg != NULL && - 8015702: 69ba ldr r2, [r7, #24] - 8015704: 429a cmp r2, r3 - 8015706: f4bf aeda bcs.w 80154be - 801570a: e000 b.n 801570e + 8015292: 69ba ldr r2, [r7, #24] + 8015294: 429a cmp r2, r3 + 8015296: f4bf aeda bcs.w 801504e + 801529a: e000 b.n 801529e break; - 801570c: bf00 nop + 801529c: bf00 nop } #if TCP_OVERSIZE if (pcb->unsent == NULL) { - 801570e: 687b ldr r3, [r7, #4] - 8015710: 6edb ldr r3, [r3, #108] ; 0x6c - 8015712: 2b00 cmp r3, #0 - 8015714: d108 bne.n 8015728 + 801529e: 687b ldr r3, [r7, #4] + 80152a0: 6edb ldr r3, [r3, #108] ; 0x6c + 80152a2: 2b00 cmp r3, #0 + 80152a4: d108 bne.n 80152b8 /* last unsent has been removed, reset unsent_oversize */ pcb->unsent_oversize = 0; - 8015716: 687b ldr r3, [r7, #4] - 8015718: 2200 movs r2, #0 - 801571a: f8a3 2068 strh.w r2, [r3, #104] ; 0x68 - 801571e: e004 b.n 801572a + 80152a6: 687b ldr r3, [r7, #4] + 80152a8: 2200 movs r2, #0 + 80152aa: f8a3 2068 strh.w r2, [r3, #104] ; 0x68 + 80152ae: e004 b.n 80152ba goto output_done; - 8015720: bf00 nop - 8015722: e002 b.n 801572a + 80152b0: bf00 nop + 80152b2: e002 b.n 80152ba goto output_done; - 8015724: bf00 nop - 8015726: e000 b.n 801572a + 80152b4: bf00 nop + 80152b6: e000 b.n 80152ba } #endif /* TCP_OVERSIZE */ output_done: - 8015728: bf00 nop + 80152b8: bf00 nop tcp_clear_flags(pcb, TF_NAGLEMEMERR); - 801572a: 687b ldr r3, [r7, #4] - 801572c: 8b5b ldrh r3, [r3, #26] - 801572e: f023 0380 bic.w r3, r3, #128 ; 0x80 - 8015732: b29a uxth r2, r3 - 8015734: 687b ldr r3, [r7, #4] - 8015736: 835a strh r2, [r3, #26] + 80152ba: 687b ldr r3, [r7, #4] + 80152bc: 8b5b ldrh r3, [r3, #26] + 80152be: f023 0380 bic.w r3, r3, #128 ; 0x80 + 80152c2: b29a uxth r2, r3 + 80152c4: 687b ldr r3, [r7, #4] + 80152c6: 835a strh r2, [r3, #26] return ERR_OK; - 8015738: 2300 movs r3, #0 + 80152c8: 2300 movs r3, #0 } - 801573a: 4618 mov r0, r3 - 801573c: 3728 adds r7, #40 ; 0x28 - 801573e: 46bd mov sp, r7 - 8015740: bdb0 pop {r4, r5, r7, pc} - 8015742: bf00 nop + 80152ca: 4618 mov r0, r3 + 80152cc: 3728 adds r7, #40 ; 0x28 + 80152ce: 46bd mov sp, r7 + 80152d0: bdb0 pop {r4, r5, r7, pc} + 80152d2: bf00 nop -08015744 : +080152d4 : * @arg seg the tcp segment to check * @return 1 if ref != 1, 0 if ref == 1 */ static int tcp_output_segment_busy(const struct tcp_seg *seg) { - 8015744: b580 push {r7, lr} - 8015746: b082 sub sp, #8 - 8015748: af00 add r7, sp, #0 - 801574a: 6078 str r0, [r7, #4] + 80152d4: b580 push {r7, lr} + 80152d6: b082 sub sp, #8 + 80152d8: af00 add r7, sp, #0 + 80152da: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_output_segment_busy: invalid seg", seg != NULL); - 801574c: 687b ldr r3, [r7, #4] - 801574e: 2b00 cmp r3, #0 - 8015750: d106 bne.n 8015760 - 8015752: 4b09 ldr r3, [pc, #36] ; (8015778 ) - 8015754: f240 529a movw r2, #1434 ; 0x59a - 8015758: 4908 ldr r1, [pc, #32] ; (801577c ) - 801575a: 4809 ldr r0, [pc, #36] ; (8015780 ) - 801575c: f005 feac bl 801b4b8 + 80152dc: 687b ldr r3, [r7, #4] + 80152de: 2b00 cmp r3, #0 + 80152e0: d106 bne.n 80152f0 + 80152e2: 4b09 ldr r3, [pc, #36] ; (8015308 ) + 80152e4: f240 529a movw r2, #1434 ; 0x59a + 80152e8: 4908 ldr r1, [pc, #32] ; (801530c ) + 80152ea: 4809 ldr r0, [pc, #36] ; (8015310 ) + 80152ec: f005 fe92 bl 801b014 /* We only need to check the first pbuf here: If a pbuf is queued for transmission, a driver calls pbuf_ref(), which only changes the ref count of the first pbuf */ if (seg->p->ref != 1) { - 8015760: 687b ldr r3, [r7, #4] - 8015762: 685b ldr r3, [r3, #4] - 8015764: 7b9b ldrb r3, [r3, #14] - 8015766: 2b01 cmp r3, #1 - 8015768: d001 beq.n 801576e + 80152f0: 687b ldr r3, [r7, #4] + 80152f2: 685b ldr r3, [r3, #4] + 80152f4: 7b9b ldrb r3, [r3, #14] + 80152f6: 2b01 cmp r3, #1 + 80152f8: d001 beq.n 80152fe /* other reference found */ return 1; - 801576a: 2301 movs r3, #1 - 801576c: e000 b.n 8015770 + 80152fa: 2301 movs r3, #1 + 80152fc: e000 b.n 8015300 } /* no other references found */ return 0; - 801576e: 2300 movs r3, #0 + 80152fe: 2300 movs r3, #0 } - 8015770: 4618 mov r0, r3 - 8015772: 3708 adds r7, #8 - 8015774: 46bd mov sp, r7 - 8015776: bd80 pop {r7, pc} - 8015778: 0801df34 .word 0x0801df34 - 801577c: 0801e4d0 .word 0x0801e4d0 - 8015780: 0801df88 .word 0x0801df88 + 8015300: 4618 mov r0, r3 + 8015302: 3708 adds r7, #8 + 8015304: 46bd mov sp, r7 + 8015306: bd80 pop {r7, pc} + 8015308: 0801d730 .word 0x0801d730 + 801530c: 0801dccc .word 0x0801dccc + 8015310: 0801d784 .word 0x0801d784 -08015784 : +08015314 : * @param pcb the tcp_pcb for the TCP connection used to send the segment * @param netif the netif used to send the segment */ static err_t tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb, struct netif *netif) { - 8015784: b5b0 push {r4, r5, r7, lr} - 8015786: b08c sub sp, #48 ; 0x30 - 8015788: af04 add r7, sp, #16 - 801578a: 60f8 str r0, [r7, #12] - 801578c: 60b9 str r1, [r7, #8] - 801578e: 607a str r2, [r7, #4] + 8015314: b5b0 push {r4, r5, r7, lr} + 8015316: b08c sub sp, #48 ; 0x30 + 8015318: af04 add r7, sp, #16 + 801531a: 60f8 str r0, [r7, #12] + 801531c: 60b9 str r1, [r7, #8] + 801531e: 607a str r2, [r7, #4] u32_t *opts; #if TCP_CHECKSUM_ON_COPY int seg_chksum_was_swapped = 0; #endif LWIP_ASSERT("tcp_output_segment: invalid seg", seg != NULL); - 8015790: 68fb ldr r3, [r7, #12] - 8015792: 2b00 cmp r3, #0 - 8015794: d106 bne.n 80157a4 - 8015796: 4b64 ldr r3, [pc, #400] ; (8015928 ) - 8015798: f44f 62b7 mov.w r2, #1464 ; 0x5b8 - 801579c: 4963 ldr r1, [pc, #396] ; (801592c ) - 801579e: 4864 ldr r0, [pc, #400] ; (8015930 ) - 80157a0: f005 fe8a bl 801b4b8 + 8015320: 68fb ldr r3, [r7, #12] + 8015322: 2b00 cmp r3, #0 + 8015324: d106 bne.n 8015334 + 8015326: 4b64 ldr r3, [pc, #400] ; (80154b8 ) + 8015328: f44f 62b7 mov.w r2, #1464 ; 0x5b8 + 801532c: 4963 ldr r1, [pc, #396] ; (80154bc ) + 801532e: 4864 ldr r0, [pc, #400] ; (80154c0 ) + 8015330: f005 fe70 bl 801b014 LWIP_ASSERT("tcp_output_segment: invalid pcb", pcb != NULL); - 80157a4: 68bb ldr r3, [r7, #8] - 80157a6: 2b00 cmp r3, #0 - 80157a8: d106 bne.n 80157b8 - 80157aa: 4b5f ldr r3, [pc, #380] ; (8015928 ) - 80157ac: f240 52b9 movw r2, #1465 ; 0x5b9 - 80157b0: 4960 ldr r1, [pc, #384] ; (8015934 ) - 80157b2: 485f ldr r0, [pc, #380] ; (8015930 ) - 80157b4: f005 fe80 bl 801b4b8 + 8015334: 68bb ldr r3, [r7, #8] + 8015336: 2b00 cmp r3, #0 + 8015338: d106 bne.n 8015348 + 801533a: 4b5f ldr r3, [pc, #380] ; (80154b8 ) + 801533c: f240 52b9 movw r2, #1465 ; 0x5b9 + 8015340: 4960 ldr r1, [pc, #384] ; (80154c4 ) + 8015342: 485f ldr r0, [pc, #380] ; (80154c0 ) + 8015344: f005 fe66 bl 801b014 LWIP_ASSERT("tcp_output_segment: invalid netif", netif != NULL); - 80157b8: 687b ldr r3, [r7, #4] - 80157ba: 2b00 cmp r3, #0 - 80157bc: d106 bne.n 80157cc - 80157be: 4b5a ldr r3, [pc, #360] ; (8015928 ) - 80157c0: f240 52ba movw r2, #1466 ; 0x5ba - 80157c4: 495c ldr r1, [pc, #368] ; (8015938 ) - 80157c6: 485a ldr r0, [pc, #360] ; (8015930 ) - 80157c8: f005 fe76 bl 801b4b8 + 8015348: 687b ldr r3, [r7, #4] + 801534a: 2b00 cmp r3, #0 + 801534c: d106 bne.n 801535c + 801534e: 4b5a ldr r3, [pc, #360] ; (80154b8 ) + 8015350: f240 52ba movw r2, #1466 ; 0x5ba + 8015354: 495c ldr r1, [pc, #368] ; (80154c8 ) + 8015356: 485a ldr r0, [pc, #360] ; (80154c0 ) + 8015358: f005 fe5c bl 801b014 if (tcp_output_segment_busy(seg)) { - 80157cc: 68f8 ldr r0, [r7, #12] - 80157ce: f7ff ffb9 bl 8015744 - 80157d2: 4603 mov r3, r0 - 80157d4: 2b00 cmp r3, #0 - 80157d6: d001 beq.n 80157dc + 801535c: 68f8 ldr r0, [r7, #12] + 801535e: f7ff ffb9 bl 80152d4 + 8015362: 4603 mov r3, r0 + 8015364: 2b00 cmp r3, #0 + 8015366: d001 beq.n 801536c /* This should not happen: rexmit functions should have checked this. However, since this function modifies p->len, we must not continue in this case. */ LWIP_DEBUGF(TCP_RTO_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("tcp_output_segment: segment busy\n")); return ERR_OK; - 80157d8: 2300 movs r3, #0 - 80157da: e0a0 b.n 801591e + 8015368: 2300 movs r3, #0 + 801536a: e0a0 b.n 80154ae } /* The TCP header has already been constructed, but the ackno and wnd fields remain. */ seg->tcphdr->ackno = lwip_htonl(pcb->rcv_nxt); - 80157dc: 68bb ldr r3, [r7, #8] - 80157de: 6a5a ldr r2, [r3, #36] ; 0x24 - 80157e0: 68fb ldr r3, [r7, #12] - 80157e2: 68dc ldr r4, [r3, #12] - 80157e4: 4610 mov r0, r2 - 80157e6: f7f9 fd98 bl 800f31a - 80157ea: 4603 mov r3, r0 - 80157ec: 60a3 str r3, [r4, #8] + 801536c: 68bb ldr r3, [r7, #8] + 801536e: 6a5a ldr r2, [r3, #36] ; 0x24 + 8015370: 68fb ldr r3, [r7, #12] + 8015372: 68dc ldr r4, [r3, #12] + 8015374: 4610 mov r0, r2 + 8015376: f7f9 fd98 bl 800eeaa + 801537a: 4603 mov r3, r0 + 801537c: 60a3 str r3, [r4, #8] the window scale option) is never scaled. */ seg->tcphdr->wnd = lwip_htons(TCPWND_MIN16(pcb->rcv_ann_wnd)); } else #endif /* LWIP_WND_SCALE */ { seg->tcphdr->wnd = lwip_htons(TCPWND_MIN16(RCV_WND_SCALE(pcb, pcb->rcv_ann_wnd))); - 80157ee: 68bb ldr r3, [r7, #8] - 80157f0: 8d5a ldrh r2, [r3, #42] ; 0x2a - 80157f2: 68fb ldr r3, [r7, #12] - 80157f4: 68dc ldr r4, [r3, #12] - 80157f6: 4610 mov r0, r2 - 80157f8: f7f9 fd7a bl 800f2f0 - 80157fc: 4603 mov r3, r0 - 80157fe: 81e3 strh r3, [r4, #14] + 801537e: 68bb ldr r3, [r7, #8] + 8015380: 8d5a ldrh r2, [r3, #42] ; 0x2a + 8015382: 68fb ldr r3, [r7, #12] + 8015384: 68dc ldr r4, [r3, #12] + 8015386: 4610 mov r0, r2 + 8015388: f7f9 fd7a bl 800ee80 + 801538c: 4603 mov r3, r0 + 801538e: 81e3 strh r3, [r4, #14] } pcb->rcv_ann_right_edge = pcb->rcv_nxt + pcb->rcv_ann_wnd; - 8015800: 68bb ldr r3, [r7, #8] - 8015802: 6a5b ldr r3, [r3, #36] ; 0x24 - 8015804: 68ba ldr r2, [r7, #8] - 8015806: 8d52 ldrh r2, [r2, #42] ; 0x2a - 8015808: 441a add r2, r3 - 801580a: 68bb ldr r3, [r7, #8] - 801580c: 62da str r2, [r3, #44] ; 0x2c + 8015390: 68bb ldr r3, [r7, #8] + 8015392: 6a5b ldr r3, [r3, #36] ; 0x24 + 8015394: 68ba ldr r2, [r7, #8] + 8015396: 8d52 ldrh r2, [r2, #42] ; 0x2a + 8015398: 441a add r2, r3 + 801539a: 68bb ldr r3, [r7, #8] + 801539c: 62da str r2, [r3, #44] ; 0x2c /* Add any requested options. NB MSS option is only set on SYN packets, so ignore it here */ /* cast through void* to get rid of alignment warnings */ opts = (u32_t *)(void *)(seg->tcphdr + 1); - 801580e: 68fb ldr r3, [r7, #12] - 8015810: 68db ldr r3, [r3, #12] - 8015812: 3314 adds r3, #20 - 8015814: 61fb str r3, [r7, #28] + 801539e: 68fb ldr r3, [r7, #12] + 80153a0: 68db ldr r3, [r3, #12] + 80153a2: 3314 adds r3, #20 + 80153a4: 61fb str r3, [r7, #28] if (seg->flags & TF_SEG_OPTS_MSS) { - 8015816: 68fb ldr r3, [r7, #12] - 8015818: 7a9b ldrb r3, [r3, #10] - 801581a: f003 0301 and.w r3, r3, #1 - 801581e: 2b00 cmp r3, #0 - 8015820: d015 beq.n 801584e + 80153a6: 68fb ldr r3, [r7, #12] + 80153a8: 7a9b ldrb r3, [r3, #10] + 80153aa: f003 0301 and.w r3, r3, #1 + 80153ae: 2b00 cmp r3, #0 + 80153b0: d015 beq.n 80153de u16_t mss; #if TCP_CALCULATE_EFF_SEND_MSS mss = tcp_eff_send_mss_netif(TCP_MSS, netif, &pcb->remote_ip); - 8015822: 68bb ldr r3, [r7, #8] - 8015824: 3304 adds r3, #4 - 8015826: 461a mov r2, r3 - 8015828: 6879 ldr r1, [r7, #4] - 801582a: f44f 7006 mov.w r0, #536 ; 0x218 - 801582e: f7fc fe8d bl 801254c - 8015832: 4603 mov r3, r0 - 8015834: 837b strh r3, [r7, #26] + 80153b2: 68bb ldr r3, [r7, #8] + 80153b4: 3304 adds r3, #4 + 80153b6: 461a mov r2, r3 + 80153b8: 6879 ldr r1, [r7, #4] + 80153ba: f44f 7006 mov.w r0, #536 ; 0x218 + 80153be: f7fc fe8d bl 80120dc + 80153c2: 4603 mov r3, r0 + 80153c4: 837b strh r3, [r7, #26] #else /* TCP_CALCULATE_EFF_SEND_MSS */ mss = TCP_MSS; #endif /* TCP_CALCULATE_EFF_SEND_MSS */ *opts = TCP_BUILD_MSS_OPTION(mss); - 8015836: 8b7b ldrh r3, [r7, #26] - 8015838: f043 7301 orr.w r3, r3, #33816576 ; 0x2040000 - 801583c: 4618 mov r0, r3 - 801583e: f7f9 fd6c bl 800f31a - 8015842: 4602 mov r2, r0 - 8015844: 69fb ldr r3, [r7, #28] - 8015846: 601a str r2, [r3, #0] + 80153c6: 8b7b ldrh r3, [r7, #26] + 80153c8: f043 7301 orr.w r3, r3, #33816576 ; 0x2040000 + 80153cc: 4618 mov r0, r3 + 80153ce: f7f9 fd6c bl 800eeaa + 80153d2: 4602 mov r2, r0 + 80153d4: 69fb ldr r3, [r7, #28] + 80153d6: 601a str r2, [r3, #0] opts += 1; - 8015848: 69fb ldr r3, [r7, #28] - 801584a: 3304 adds r3, #4 - 801584c: 61fb str r3, [r7, #28] + 80153d8: 69fb ldr r3, [r7, #28] + 80153da: 3304 adds r3, #4 + 80153dc: 61fb str r3, [r7, #28] } #endif /* Set retransmission timer running if it is not currently enabled This must be set before checking the route. */ if (pcb->rtime < 0) { - 801584e: 68bb ldr r3, [r7, #8] - 8015850: f9b3 3030 ldrsh.w r3, [r3, #48] ; 0x30 - 8015854: 2b00 cmp r3, #0 - 8015856: da02 bge.n 801585e + 80153de: 68bb ldr r3, [r7, #8] + 80153e0: f9b3 3030 ldrsh.w r3, [r3, #48] ; 0x30 + 80153e4: 2b00 cmp r3, #0 + 80153e6: da02 bge.n 80153ee pcb->rtime = 0; - 8015858: 68bb ldr r3, [r7, #8] - 801585a: 2200 movs r2, #0 - 801585c: 861a strh r2, [r3, #48] ; 0x30 + 80153e8: 68bb ldr r3, [r7, #8] + 80153ea: 2200 movs r2, #0 + 80153ec: 861a strh r2, [r3, #48] ; 0x30 } if (pcb->rttest == 0) { - 801585e: 68bb ldr r3, [r7, #8] - 8015860: 6b5b ldr r3, [r3, #52] ; 0x34 - 8015862: 2b00 cmp r3, #0 - 8015864: d10c bne.n 8015880 + 80153ee: 68bb ldr r3, [r7, #8] + 80153f0: 6b5b ldr r3, [r3, #52] ; 0x34 + 80153f2: 2b00 cmp r3, #0 + 80153f4: d10c bne.n 8015410 pcb->rttest = tcp_ticks; - 8015866: 4b35 ldr r3, [pc, #212] ; (801593c ) - 8015868: 681a ldr r2, [r3, #0] - 801586a: 68bb ldr r3, [r7, #8] - 801586c: 635a str r2, [r3, #52] ; 0x34 + 80153f6: 4b35 ldr r3, [pc, #212] ; (80154cc ) + 80153f8: 681a ldr r2, [r3, #0] + 80153fa: 68bb ldr r3, [r7, #8] + 80153fc: 635a str r2, [r3, #52] ; 0x34 pcb->rtseq = lwip_ntohl(seg->tcphdr->seqno); - 801586e: 68fb ldr r3, [r7, #12] - 8015870: 68db ldr r3, [r3, #12] - 8015872: 685b ldr r3, [r3, #4] - 8015874: 4618 mov r0, r3 - 8015876: f7f9 fd50 bl 800f31a - 801587a: 4602 mov r2, r0 - 801587c: 68bb ldr r3, [r7, #8] - 801587e: 639a str r2, [r3, #56] ; 0x38 + 80153fe: 68fb ldr r3, [r7, #12] + 8015400: 68db ldr r3, [r3, #12] + 8015402: 685b ldr r3, [r3, #4] + 8015404: 4618 mov r0, r3 + 8015406: f7f9 fd50 bl 800eeaa + 801540a: 4602 mov r2, r0 + 801540c: 68bb ldr r3, [r7, #8] + 801540e: 639a str r2, [r3, #56] ; 0x38 } LWIP_DEBUGF(TCP_OUTPUT_DEBUG, ("tcp_output_segment: %"U32_F":%"U32_F"\n", lwip_htonl(seg->tcphdr->seqno), lwip_htonl(seg->tcphdr->seqno) + seg->len)); len = (u16_t)((u8_t *)seg->tcphdr - (u8_t *)seg->p->payload); - 8015880: 68fb ldr r3, [r7, #12] - 8015882: 68db ldr r3, [r3, #12] - 8015884: 461a mov r2, r3 - 8015886: 68fb ldr r3, [r7, #12] - 8015888: 685b ldr r3, [r3, #4] - 801588a: 685b ldr r3, [r3, #4] - 801588c: 1ad3 subs r3, r2, r3 - 801588e: 833b strh r3, [r7, #24] + 8015410: 68fb ldr r3, [r7, #12] + 8015412: 68db ldr r3, [r3, #12] + 8015414: 461a mov r2, r3 + 8015416: 68fb ldr r3, [r7, #12] + 8015418: 685b ldr r3, [r3, #4] + 801541a: 685b ldr r3, [r3, #4] + 801541c: 1ad3 subs r3, r2, r3 + 801541e: 833b strh r3, [r7, #24] if (len == 0) { /** Exclude retransmitted segments from this count. */ MIB2_STATS_INC(mib2.tcpoutsegs); } seg->p->len -= len; - 8015890: 68fb ldr r3, [r7, #12] - 8015892: 685b ldr r3, [r3, #4] - 8015894: 8959 ldrh r1, [r3, #10] - 8015896: 68fb ldr r3, [r7, #12] - 8015898: 685b ldr r3, [r3, #4] - 801589a: 8b3a ldrh r2, [r7, #24] - 801589c: 1a8a subs r2, r1, r2 - 801589e: b292 uxth r2, r2 - 80158a0: 815a strh r2, [r3, #10] + 8015420: 68fb ldr r3, [r7, #12] + 8015422: 685b ldr r3, [r3, #4] + 8015424: 8959 ldrh r1, [r3, #10] + 8015426: 68fb ldr r3, [r7, #12] + 8015428: 685b ldr r3, [r3, #4] + 801542a: 8b3a ldrh r2, [r7, #24] + 801542c: 1a8a subs r2, r1, r2 + 801542e: b292 uxth r2, r2 + 8015430: 815a strh r2, [r3, #10] seg->p->tot_len -= len; - 80158a2: 68fb ldr r3, [r7, #12] - 80158a4: 685b ldr r3, [r3, #4] - 80158a6: 8919 ldrh r1, [r3, #8] - 80158a8: 68fb ldr r3, [r7, #12] - 80158aa: 685b ldr r3, [r3, #4] - 80158ac: 8b3a ldrh r2, [r7, #24] - 80158ae: 1a8a subs r2, r1, r2 - 80158b0: b292 uxth r2, r2 - 80158b2: 811a strh r2, [r3, #8] + 8015432: 68fb ldr r3, [r7, #12] + 8015434: 685b ldr r3, [r3, #4] + 8015436: 8919 ldrh r1, [r3, #8] + 8015438: 68fb ldr r3, [r7, #12] + 801543a: 685b ldr r3, [r3, #4] + 801543c: 8b3a ldrh r2, [r7, #24] + 801543e: 1a8a subs r2, r1, r2 + 8015440: b292 uxth r2, r2 + 8015442: 811a strh r2, [r3, #8] seg->p->payload = seg->tcphdr; - 80158b4: 68fb ldr r3, [r7, #12] - 80158b6: 685b ldr r3, [r3, #4] - 80158b8: 68fa ldr r2, [r7, #12] - 80158ba: 68d2 ldr r2, [r2, #12] - 80158bc: 605a str r2, [r3, #4] + 8015444: 68fb ldr r3, [r7, #12] + 8015446: 685b ldr r3, [r3, #4] + 8015448: 68fa ldr r2, [r7, #12] + 801544a: 68d2 ldr r2, [r2, #12] + 801544c: 605a str r2, [r3, #4] seg->tcphdr->chksum = 0; - 80158be: 68fb ldr r3, [r7, #12] - 80158c0: 68db ldr r3, [r3, #12] - 80158c2: 2200 movs r2, #0 - 80158c4: 741a strb r2, [r3, #16] - 80158c6: 2200 movs r2, #0 - 80158c8: 745a strb r2, [r3, #17] + 801544e: 68fb ldr r3, [r7, #12] + 8015450: 68db ldr r3, [r3, #12] + 8015452: 2200 movs r2, #0 + 8015454: 741a strb r2, [r3, #16] + 8015456: 2200 movs r2, #0 + 8015458: 745a strb r2, [r3, #17] #ifdef LWIP_HOOK_TCP_OUT_ADD_TCPOPTS opts = LWIP_HOOK_TCP_OUT_ADD_TCPOPTS(seg->p, seg->tcphdr, pcb, opts); #endif LWIP_ASSERT("options not filled", (u8_t *)opts == ((u8_t *)(seg->tcphdr + 1)) + LWIP_TCP_OPT_LENGTH_SEGMENT(seg->flags, pcb)); - 80158ca: 68fb ldr r3, [r7, #12] - 80158cc: 68db ldr r3, [r3, #12] - 80158ce: f103 0214 add.w r2, r3, #20 - 80158d2: 68fb ldr r3, [r7, #12] - 80158d4: 7a9b ldrb r3, [r3, #10] - 80158d6: 009b lsls r3, r3, #2 - 80158d8: f003 0304 and.w r3, r3, #4 - 80158dc: 4413 add r3, r2 - 80158de: 69fa ldr r2, [r7, #28] - 80158e0: 429a cmp r2, r3 - 80158e2: d006 beq.n 80158f2 - 80158e4: 4b10 ldr r3, [pc, #64] ; (8015928 ) - 80158e6: f240 621c movw r2, #1564 ; 0x61c - 80158ea: 4915 ldr r1, [pc, #84] ; (8015940 ) - 80158ec: 4810 ldr r0, [pc, #64] ; (8015930 ) - 80158ee: f005 fde3 bl 801b4b8 + 801545a: 68fb ldr r3, [r7, #12] + 801545c: 68db ldr r3, [r3, #12] + 801545e: f103 0214 add.w r2, r3, #20 + 8015462: 68fb ldr r3, [r7, #12] + 8015464: 7a9b ldrb r3, [r3, #10] + 8015466: 009b lsls r3, r3, #2 + 8015468: f003 0304 and.w r3, r3, #4 + 801546c: 4413 add r3, r2 + 801546e: 69fa ldr r2, [r7, #28] + 8015470: 429a cmp r2, r3 + 8015472: d006 beq.n 8015482 + 8015474: 4b10 ldr r3, [pc, #64] ; (80154b8 ) + 8015476: f240 621c movw r2, #1564 ; 0x61c + 801547a: 4915 ldr r1, [pc, #84] ; (80154d0 ) + 801547c: 4810 ldr r0, [pc, #64] ; (80154c0 ) + 801547e: f005 fdc9 bl 801b014 } #endif /* CHECKSUM_GEN_TCP */ TCP_STATS_INC(tcp.xmit); NETIF_SET_HINTS(netif, &(pcb->netif_hints)); err = ip_output_if(seg->p, &pcb->local_ip, &pcb->remote_ip, pcb->ttl, - 80158f2: 68fb ldr r3, [r7, #12] - 80158f4: 6858 ldr r0, [r3, #4] - 80158f6: 68b9 ldr r1, [r7, #8] - 80158f8: 68bb ldr r3, [r7, #8] - 80158fa: 1d1c adds r4, r3, #4 - 80158fc: 68bb ldr r3, [r7, #8] - 80158fe: 7add ldrb r5, [r3, #11] - 8015900: 68bb ldr r3, [r7, #8] - 8015902: 7a9b ldrb r3, [r3, #10] - 8015904: 687a ldr r2, [r7, #4] - 8015906: 9202 str r2, [sp, #8] - 8015908: 2206 movs r2, #6 - 801590a: 9201 str r2, [sp, #4] - 801590c: 9300 str r3, [sp, #0] - 801590e: 462b mov r3, r5 - 8015910: 4622 mov r2, r4 - 8015912: f004 fc37 bl 801a184 - 8015916: 4603 mov r3, r0 - 8015918: 75fb strb r3, [r7, #23] + 8015482: 68fb ldr r3, [r7, #12] + 8015484: 6858 ldr r0, [r3, #4] + 8015486: 68b9 ldr r1, [r7, #8] + 8015488: 68bb ldr r3, [r7, #8] + 801548a: 1d1c adds r4, r3, #4 + 801548c: 68bb ldr r3, [r7, #8] + 801548e: 7add ldrb r5, [r3, #11] + 8015490: 68bb ldr r3, [r7, #8] + 8015492: 7a9b ldrb r3, [r3, #10] + 8015494: 687a ldr r2, [r7, #4] + 8015496: 9202 str r2, [sp, #8] + 8015498: 2206 movs r2, #6 + 801549a: 9201 str r2, [sp, #4] + 801549c: 9300 str r3, [sp, #0] + 801549e: 462b mov r3, r5 + 80154a0: 4622 mov r2, r4 + 80154a2: f004 fc37 bl 8019d14 + 80154a6: 4603 mov r3, r0 + 80154a8: 75fb strb r3, [r7, #23] seg->chksum = SWAP_BYTES_IN_WORD(seg->chksum); seg->chksum_swapped = 1; } #endif return err; - 801591a: f997 3017 ldrsb.w r3, [r7, #23] + 80154aa: f997 3017 ldrsb.w r3, [r7, #23] } - 801591e: 4618 mov r0, r3 - 8015920: 3720 adds r7, #32 - 8015922: 46bd mov sp, r7 - 8015924: bdb0 pop {r4, r5, r7, pc} - 8015926: bf00 nop - 8015928: 0801df34 .word 0x0801df34 - 801592c: 0801e4f8 .word 0x0801e4f8 - 8015930: 0801df88 .word 0x0801df88 - 8015934: 0801e518 .word 0x0801e518 - 8015938: 0801e538 .word 0x0801e538 - 801593c: 2000f5c8 .word 0x2000f5c8 - 8015940: 0801e55c .word 0x0801e55c + 80154ae: 4618 mov r0, r3 + 80154b0: 3720 adds r7, #32 + 80154b2: 46bd mov sp, r7 + 80154b4: bdb0 pop {r4, r5, r7, pc} + 80154b6: bf00 nop + 80154b8: 0801d730 .word 0x0801d730 + 80154bc: 0801dcf4 .word 0x0801dcf4 + 80154c0: 0801d784 .word 0x0801d784 + 80154c4: 0801dd14 .word 0x0801dd14 + 80154c8: 0801dd34 .word 0x0801dd34 + 80154cc: 2000f5c4 .word 0x2000f5c4 + 80154d0: 0801dd58 .word 0x0801dd58 -08015944 : +080154d4 : * * @param pcb the tcp_pcb for which to re-enqueue all unacked segments */ err_t tcp_rexmit_rto_prepare(struct tcp_pcb *pcb) { - 8015944: b5b0 push {r4, r5, r7, lr} - 8015946: b084 sub sp, #16 - 8015948: af00 add r7, sp, #0 - 801594a: 6078 str r0, [r7, #4] + 80154d4: b5b0 push {r4, r5, r7, lr} + 80154d6: b084 sub sp, #16 + 80154d8: af00 add r7, sp, #0 + 80154da: 6078 str r0, [r7, #4] struct tcp_seg *seg; LWIP_ASSERT("tcp_rexmit_rto_prepare: invalid pcb", pcb != NULL); - 801594c: 687b ldr r3, [r7, #4] - 801594e: 2b00 cmp r3, #0 - 8015950: d106 bne.n 8015960 - 8015952: 4b31 ldr r3, [pc, #196] ; (8015a18 ) - 8015954: f240 6263 movw r2, #1635 ; 0x663 - 8015958: 4930 ldr r1, [pc, #192] ; (8015a1c ) - 801595a: 4831 ldr r0, [pc, #196] ; (8015a20 ) - 801595c: f005 fdac bl 801b4b8 + 80154dc: 687b ldr r3, [r7, #4] + 80154de: 2b00 cmp r3, #0 + 80154e0: d106 bne.n 80154f0 + 80154e2: 4b31 ldr r3, [pc, #196] ; (80155a8 ) + 80154e4: f240 6263 movw r2, #1635 ; 0x663 + 80154e8: 4930 ldr r1, [pc, #192] ; (80155ac ) + 80154ea: 4831 ldr r0, [pc, #196] ; (80155b0 ) + 80154ec: f005 fd92 bl 801b014 if (pcb->unacked == NULL) { - 8015960: 687b ldr r3, [r7, #4] - 8015962: 6f1b ldr r3, [r3, #112] ; 0x70 - 8015964: 2b00 cmp r3, #0 - 8015966: d102 bne.n 801596e + 80154f0: 687b ldr r3, [r7, #4] + 80154f2: 6f1b ldr r3, [r3, #112] ; 0x70 + 80154f4: 2b00 cmp r3, #0 + 80154f6: d102 bne.n 80154fe return ERR_VAL; - 8015968: f06f 0305 mvn.w r3, #5 - 801596c: e050 b.n 8015a10 + 80154f8: f06f 0305 mvn.w r3, #5 + 80154fc: e050 b.n 80155a0 /* Move all unacked segments to the head of the unsent queue. However, give up if any of the unsent pbufs are still referenced by the netif driver due to deferred transmission. No point loading the link further if it is struggling to flush its buffered writes. */ for (seg = pcb->unacked; seg->next != NULL; seg = seg->next) { - 801596e: 687b ldr r3, [r7, #4] - 8015970: 6f1b ldr r3, [r3, #112] ; 0x70 - 8015972: 60fb str r3, [r7, #12] - 8015974: e00b b.n 801598e + 80154fe: 687b ldr r3, [r7, #4] + 8015500: 6f1b ldr r3, [r3, #112] ; 0x70 + 8015502: 60fb str r3, [r7, #12] + 8015504: e00b b.n 801551e if (tcp_output_segment_busy(seg)) { - 8015976: 68f8 ldr r0, [r7, #12] - 8015978: f7ff fee4 bl 8015744 - 801597c: 4603 mov r3, r0 - 801597e: 2b00 cmp r3, #0 - 8015980: d002 beq.n 8015988 + 8015506: 68f8 ldr r0, [r7, #12] + 8015508: f7ff fee4 bl 80152d4 + 801550c: 4603 mov r3, r0 + 801550e: 2b00 cmp r3, #0 + 8015510: d002 beq.n 8015518 LWIP_DEBUGF(TCP_RTO_DEBUG, ("tcp_rexmit_rto: segment busy\n")); return ERR_VAL; - 8015982: f06f 0305 mvn.w r3, #5 - 8015986: e043 b.n 8015a10 + 8015512: f06f 0305 mvn.w r3, #5 + 8015516: e043 b.n 80155a0 for (seg = pcb->unacked; seg->next != NULL; seg = seg->next) { - 8015988: 68fb ldr r3, [r7, #12] - 801598a: 681b ldr r3, [r3, #0] - 801598c: 60fb str r3, [r7, #12] - 801598e: 68fb ldr r3, [r7, #12] - 8015990: 681b ldr r3, [r3, #0] - 8015992: 2b00 cmp r3, #0 - 8015994: d1ef bne.n 8015976 + 8015518: 68fb ldr r3, [r7, #12] + 801551a: 681b ldr r3, [r3, #0] + 801551c: 60fb str r3, [r7, #12] + 801551e: 68fb ldr r3, [r7, #12] + 8015520: 681b ldr r3, [r3, #0] + 8015522: 2b00 cmp r3, #0 + 8015524: d1ef bne.n 8015506 } } if (tcp_output_segment_busy(seg)) { - 8015996: 68f8 ldr r0, [r7, #12] - 8015998: f7ff fed4 bl 8015744 - 801599c: 4603 mov r3, r0 - 801599e: 2b00 cmp r3, #0 - 80159a0: d002 beq.n 80159a8 + 8015526: 68f8 ldr r0, [r7, #12] + 8015528: f7ff fed4 bl 80152d4 + 801552c: 4603 mov r3, r0 + 801552e: 2b00 cmp r3, #0 + 8015530: d002 beq.n 8015538 LWIP_DEBUGF(TCP_RTO_DEBUG, ("tcp_rexmit_rto: segment busy\n")); return ERR_VAL; - 80159a2: f06f 0305 mvn.w r3, #5 - 80159a6: e033 b.n 8015a10 + 8015532: f06f 0305 mvn.w r3, #5 + 8015536: e033 b.n 80155a0 } /* concatenate unsent queue after unacked queue */ seg->next = pcb->unsent; - 80159a8: 687b ldr r3, [r7, #4] - 80159aa: 6eda ldr r2, [r3, #108] ; 0x6c - 80159ac: 68fb ldr r3, [r7, #12] - 80159ae: 601a str r2, [r3, #0] + 8015538: 687b ldr r3, [r7, #4] + 801553a: 6eda ldr r2, [r3, #108] ; 0x6c + 801553c: 68fb ldr r3, [r7, #12] + 801553e: 601a str r2, [r3, #0] if (pcb->unsent == NULL) { pcb->unsent_oversize = seg->oversize_left; } #endif /* TCP_OVERSIZE_DBGCHECK */ /* unsent queue is the concatenated queue (of unacked, unsent) */ pcb->unsent = pcb->unacked; - 80159b0: 687b ldr r3, [r7, #4] - 80159b2: 6f1a ldr r2, [r3, #112] ; 0x70 - 80159b4: 687b ldr r3, [r7, #4] - 80159b6: 66da str r2, [r3, #108] ; 0x6c + 8015540: 687b ldr r3, [r7, #4] + 8015542: 6f1a ldr r2, [r3, #112] ; 0x70 + 8015544: 687b ldr r3, [r7, #4] + 8015546: 66da str r2, [r3, #108] ; 0x6c /* unacked queue is now empty */ pcb->unacked = NULL; - 80159b8: 687b ldr r3, [r7, #4] - 80159ba: 2200 movs r2, #0 - 80159bc: 671a str r2, [r3, #112] ; 0x70 + 8015548: 687b ldr r3, [r7, #4] + 801554a: 2200 movs r2, #0 + 801554c: 671a str r2, [r3, #112] ; 0x70 /* Mark RTO in-progress */ tcp_set_flags(pcb, TF_RTO); - 80159be: 687b ldr r3, [r7, #4] - 80159c0: 8b5b ldrh r3, [r3, #26] - 80159c2: f443 6300 orr.w r3, r3, #2048 ; 0x800 - 80159c6: b29a uxth r2, r3 - 80159c8: 687b ldr r3, [r7, #4] - 80159ca: 835a strh r2, [r3, #26] + 801554e: 687b ldr r3, [r7, #4] + 8015550: 8b5b ldrh r3, [r3, #26] + 8015552: f443 6300 orr.w r3, r3, #2048 ; 0x800 + 8015556: b29a uxth r2, r3 + 8015558: 687b ldr r3, [r7, #4] + 801555a: 835a strh r2, [r3, #26] /* Record the next byte following retransmit */ pcb->rto_end = lwip_ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg); - 80159cc: 68fb ldr r3, [r7, #12] - 80159ce: 68db ldr r3, [r3, #12] - 80159d0: 685b ldr r3, [r3, #4] - 80159d2: 4618 mov r0, r3 - 80159d4: f7f9 fca1 bl 800f31a - 80159d8: 4604 mov r4, r0 - 80159da: 68fb ldr r3, [r7, #12] - 80159dc: 891b ldrh r3, [r3, #8] - 80159de: 461d mov r5, r3 - 80159e0: 68fb ldr r3, [r7, #12] - 80159e2: 68db ldr r3, [r3, #12] - 80159e4: 899b ldrh r3, [r3, #12] - 80159e6: b29b uxth r3, r3 - 80159e8: 4618 mov r0, r3 - 80159ea: f7f9 fc81 bl 800f2f0 - 80159ee: 4603 mov r3, r0 - 80159f0: b2db uxtb r3, r3 - 80159f2: f003 0303 and.w r3, r3, #3 - 80159f6: 2b00 cmp r3, #0 - 80159f8: d001 beq.n 80159fe - 80159fa: 2301 movs r3, #1 - 80159fc: e000 b.n 8015a00 - 80159fe: 2300 movs r3, #0 - 8015a00: 442b add r3, r5 - 8015a02: 18e2 adds r2, r4, r3 - 8015a04: 687b ldr r3, [r7, #4] - 8015a06: 64da str r2, [r3, #76] ; 0x4c + 801555c: 68fb ldr r3, [r7, #12] + 801555e: 68db ldr r3, [r3, #12] + 8015560: 685b ldr r3, [r3, #4] + 8015562: 4618 mov r0, r3 + 8015564: f7f9 fca1 bl 800eeaa + 8015568: 4604 mov r4, r0 + 801556a: 68fb ldr r3, [r7, #12] + 801556c: 891b ldrh r3, [r3, #8] + 801556e: 461d mov r5, r3 + 8015570: 68fb ldr r3, [r7, #12] + 8015572: 68db ldr r3, [r3, #12] + 8015574: 899b ldrh r3, [r3, #12] + 8015576: b29b uxth r3, r3 + 8015578: 4618 mov r0, r3 + 801557a: f7f9 fc81 bl 800ee80 + 801557e: 4603 mov r3, r0 + 8015580: b2db uxtb r3, r3 + 8015582: f003 0303 and.w r3, r3, #3 + 8015586: 2b00 cmp r3, #0 + 8015588: d001 beq.n 801558e + 801558a: 2301 movs r3, #1 + 801558c: e000 b.n 8015590 + 801558e: 2300 movs r3, #0 + 8015590: 442b add r3, r5 + 8015592: 18e2 adds r2, r4, r3 + 8015594: 687b ldr r3, [r7, #4] + 8015596: 64da str r2, [r3, #76] ; 0x4c /* Don't take any RTT measurements after retransmitting. */ pcb->rttest = 0; - 8015a08: 687b ldr r3, [r7, #4] - 8015a0a: 2200 movs r2, #0 - 8015a0c: 635a str r2, [r3, #52] ; 0x34 + 8015598: 687b ldr r3, [r7, #4] + 801559a: 2200 movs r2, #0 + 801559c: 635a str r2, [r3, #52] ; 0x34 return ERR_OK; - 8015a0e: 2300 movs r3, #0 + 801559e: 2300 movs r3, #0 } - 8015a10: 4618 mov r0, r3 - 8015a12: 3710 adds r7, #16 - 8015a14: 46bd mov sp, r7 - 8015a16: bdb0 pop {r4, r5, r7, pc} - 8015a18: 0801df34 .word 0x0801df34 - 8015a1c: 0801e570 .word 0x0801e570 - 8015a20: 0801df88 .word 0x0801df88 + 80155a0: 4618 mov r0, r3 + 80155a2: 3710 adds r7, #16 + 80155a4: 46bd mov sp, r7 + 80155a6: bdb0 pop {r4, r5, r7, pc} + 80155a8: 0801d730 .word 0x0801d730 + 80155ac: 0801dd6c .word 0x0801dd6c + 80155b0: 0801d784 .word 0x0801d784 -08015a24 : +080155b4 : * * @param pcb the tcp_pcb for which to re-enqueue all unacked segments */ void tcp_rexmit_rto_commit(struct tcp_pcb *pcb) { - 8015a24: b580 push {r7, lr} - 8015a26: b082 sub sp, #8 - 8015a28: af00 add r7, sp, #0 - 8015a2a: 6078 str r0, [r7, #4] + 80155b4: b580 push {r7, lr} + 80155b6: b082 sub sp, #8 + 80155b8: af00 add r7, sp, #0 + 80155ba: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_rexmit_rto_commit: invalid pcb", pcb != NULL); - 8015a2c: 687b ldr r3, [r7, #4] - 8015a2e: 2b00 cmp r3, #0 - 8015a30: d106 bne.n 8015a40 - 8015a32: 4b0d ldr r3, [pc, #52] ; (8015a68 ) - 8015a34: f44f 62d3 mov.w r2, #1688 ; 0x698 - 8015a38: 490c ldr r1, [pc, #48] ; (8015a6c ) - 8015a3a: 480d ldr r0, [pc, #52] ; (8015a70 ) - 8015a3c: f005 fd3c bl 801b4b8 + 80155bc: 687b ldr r3, [r7, #4] + 80155be: 2b00 cmp r3, #0 + 80155c0: d106 bne.n 80155d0 + 80155c2: 4b0d ldr r3, [pc, #52] ; (80155f8 ) + 80155c4: f44f 62d3 mov.w r2, #1688 ; 0x698 + 80155c8: 490c ldr r1, [pc, #48] ; (80155fc ) + 80155ca: 480d ldr r0, [pc, #52] ; (8015600 ) + 80155cc: f005 fd22 bl 801b014 /* increment number of retransmissions */ if (pcb->nrtx < 0xFF) { - 8015a40: 687b ldr r3, [r7, #4] - 8015a42: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 - 8015a46: 2bff cmp r3, #255 ; 0xff - 8015a48: d007 beq.n 8015a5a + 80155d0: 687b ldr r3, [r7, #4] + 80155d2: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 + 80155d6: 2bff cmp r3, #255 ; 0xff + 80155d8: d007 beq.n 80155ea ++pcb->nrtx; - 8015a4a: 687b ldr r3, [r7, #4] - 8015a4c: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 - 8015a50: 3301 adds r3, #1 - 8015a52: b2da uxtb r2, r3 - 8015a54: 687b ldr r3, [r7, #4] - 8015a56: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 80155da: 687b ldr r3, [r7, #4] + 80155dc: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 + 80155e0: 3301 adds r3, #1 + 80155e2: b2da uxtb r2, r3 + 80155e4: 687b ldr r3, [r7, #4] + 80155e6: f883 2042 strb.w r2, [r3, #66] ; 0x42 } /* Do the actual retransmission */ tcp_output(pcb); - 8015a5a: 6878 ldr r0, [r7, #4] - 8015a5c: f7ff fc7a bl 8015354 + 80155ea: 6878 ldr r0, [r7, #4] + 80155ec: f7ff fc7a bl 8014ee4 } - 8015a60: bf00 nop - 8015a62: 3708 adds r7, #8 - 8015a64: 46bd mov sp, r7 - 8015a66: bd80 pop {r7, pc} - 8015a68: 0801df34 .word 0x0801df34 - 8015a6c: 0801e594 .word 0x0801e594 - 8015a70: 0801df88 .word 0x0801df88 + 80155f0: bf00 nop + 80155f2: 3708 adds r7, #8 + 80155f4: 46bd mov sp, r7 + 80155f6: bd80 pop {r7, pc} + 80155f8: 0801d730 .word 0x0801d730 + 80155fc: 0801dd90 .word 0x0801dd90 + 8015600: 0801d784 .word 0x0801d784 -08015a74 : +08015604 : * * @param pcb the tcp_pcb for which to re-enqueue all unacked segments */ void tcp_rexmit_rto(struct tcp_pcb *pcb) { - 8015a74: b580 push {r7, lr} - 8015a76: b082 sub sp, #8 - 8015a78: af00 add r7, sp, #0 - 8015a7a: 6078 str r0, [r7, #4] + 8015604: b580 push {r7, lr} + 8015606: b082 sub sp, #8 + 8015608: af00 add r7, sp, #0 + 801560a: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_rexmit_rto: invalid pcb", pcb != NULL); - 8015a7c: 687b ldr r3, [r7, #4] - 8015a7e: 2b00 cmp r3, #0 - 8015a80: d106 bne.n 8015a90 - 8015a82: 4b0a ldr r3, [pc, #40] ; (8015aac ) - 8015a84: f240 62ad movw r2, #1709 ; 0x6ad - 8015a88: 4909 ldr r1, [pc, #36] ; (8015ab0 ) - 8015a8a: 480a ldr r0, [pc, #40] ; (8015ab4 ) - 8015a8c: f005 fd14 bl 801b4b8 + 801560c: 687b ldr r3, [r7, #4] + 801560e: 2b00 cmp r3, #0 + 8015610: d106 bne.n 8015620 + 8015612: 4b0a ldr r3, [pc, #40] ; (801563c ) + 8015614: f240 62ad movw r2, #1709 ; 0x6ad + 8015618: 4909 ldr r1, [pc, #36] ; (8015640 ) + 801561a: 480a ldr r0, [pc, #40] ; (8015644 ) + 801561c: f005 fcfa bl 801b014 if (tcp_rexmit_rto_prepare(pcb) == ERR_OK) { - 8015a90: 6878 ldr r0, [r7, #4] - 8015a92: f7ff ff57 bl 8015944 - 8015a96: 4603 mov r3, r0 - 8015a98: 2b00 cmp r3, #0 - 8015a9a: d102 bne.n 8015aa2 + 8015620: 6878 ldr r0, [r7, #4] + 8015622: f7ff ff57 bl 80154d4 + 8015626: 4603 mov r3, r0 + 8015628: 2b00 cmp r3, #0 + 801562a: d102 bne.n 8015632 tcp_rexmit_rto_commit(pcb); - 8015a9c: 6878 ldr r0, [r7, #4] - 8015a9e: f7ff ffc1 bl 8015a24 + 801562c: 6878 ldr r0, [r7, #4] + 801562e: f7ff ffc1 bl 80155b4 } } - 8015aa2: bf00 nop - 8015aa4: 3708 adds r7, #8 - 8015aa6: 46bd mov sp, r7 - 8015aa8: bd80 pop {r7, pc} - 8015aaa: bf00 nop - 8015aac: 0801df34 .word 0x0801df34 - 8015ab0: 0801e5b8 .word 0x0801e5b8 - 8015ab4: 0801df88 .word 0x0801df88 + 8015632: bf00 nop + 8015634: 3708 adds r7, #8 + 8015636: 46bd mov sp, r7 + 8015638: bd80 pop {r7, pc} + 801563a: bf00 nop + 801563c: 0801d730 .word 0x0801d730 + 8015640: 0801ddb4 .word 0x0801ddb4 + 8015644: 0801d784 .word 0x0801d784 -08015ab8 : +08015648 : * * @param pcb the tcp_pcb for which to retransmit the first unacked segment */ err_t tcp_rexmit(struct tcp_pcb *pcb) { - 8015ab8: b590 push {r4, r7, lr} - 8015aba: b085 sub sp, #20 - 8015abc: af00 add r7, sp, #0 - 8015abe: 6078 str r0, [r7, #4] + 8015648: b590 push {r4, r7, lr} + 801564a: b085 sub sp, #20 + 801564c: af00 add r7, sp, #0 + 801564e: 6078 str r0, [r7, #4] struct tcp_seg *seg; struct tcp_seg **cur_seg; LWIP_ASSERT("tcp_rexmit: invalid pcb", pcb != NULL); - 8015ac0: 687b ldr r3, [r7, #4] - 8015ac2: 2b00 cmp r3, #0 - 8015ac4: d106 bne.n 8015ad4 - 8015ac6: 4b2f ldr r3, [pc, #188] ; (8015b84 ) - 8015ac8: f240 62c1 movw r2, #1729 ; 0x6c1 - 8015acc: 492e ldr r1, [pc, #184] ; (8015b88 ) - 8015ace: 482f ldr r0, [pc, #188] ; (8015b8c ) - 8015ad0: f005 fcf2 bl 801b4b8 + 8015650: 687b ldr r3, [r7, #4] + 8015652: 2b00 cmp r3, #0 + 8015654: d106 bne.n 8015664 + 8015656: 4b2f ldr r3, [pc, #188] ; (8015714 ) + 8015658: f240 62c1 movw r2, #1729 ; 0x6c1 + 801565c: 492e ldr r1, [pc, #184] ; (8015718 ) + 801565e: 482f ldr r0, [pc, #188] ; (801571c ) + 8015660: f005 fcd8 bl 801b014 if (pcb->unacked == NULL) { - 8015ad4: 687b ldr r3, [r7, #4] - 8015ad6: 6f1b ldr r3, [r3, #112] ; 0x70 - 8015ad8: 2b00 cmp r3, #0 - 8015ada: d102 bne.n 8015ae2 + 8015664: 687b ldr r3, [r7, #4] + 8015666: 6f1b ldr r3, [r3, #112] ; 0x70 + 8015668: 2b00 cmp r3, #0 + 801566a: d102 bne.n 8015672 return ERR_VAL; - 8015adc: f06f 0305 mvn.w r3, #5 - 8015ae0: e04c b.n 8015b7c + 801566c: f06f 0305 mvn.w r3, #5 + 8015670: e04c b.n 801570c } seg = pcb->unacked; - 8015ae2: 687b ldr r3, [r7, #4] - 8015ae4: 6f1b ldr r3, [r3, #112] ; 0x70 - 8015ae6: 60bb str r3, [r7, #8] + 8015672: 687b ldr r3, [r7, #4] + 8015674: 6f1b ldr r3, [r3, #112] ; 0x70 + 8015676: 60bb str r3, [r7, #8] /* Give up if the segment is still referenced by the netif driver due to deferred transmission. */ if (tcp_output_segment_busy(seg)) { - 8015ae8: 68b8 ldr r0, [r7, #8] - 8015aea: f7ff fe2b bl 8015744 - 8015aee: 4603 mov r3, r0 - 8015af0: 2b00 cmp r3, #0 - 8015af2: d002 beq.n 8015afa + 8015678: 68b8 ldr r0, [r7, #8] + 801567a: f7ff fe2b bl 80152d4 + 801567e: 4603 mov r3, r0 + 8015680: 2b00 cmp r3, #0 + 8015682: d002 beq.n 801568a LWIP_DEBUGF(TCP_RTO_DEBUG, ("tcp_rexmit busy\n")); return ERR_VAL; - 8015af4: f06f 0305 mvn.w r3, #5 - 8015af8: e040 b.n 8015b7c + 8015684: f06f 0305 mvn.w r3, #5 + 8015688: e040 b.n 801570c } /* Move the first unacked segment to the unsent queue */ /* Keep the unsent queue sorted. */ pcb->unacked = seg->next; - 8015afa: 68bb ldr r3, [r7, #8] - 8015afc: 681a ldr r2, [r3, #0] - 8015afe: 687b ldr r3, [r7, #4] - 8015b00: 671a str r2, [r3, #112] ; 0x70 + 801568a: 68bb ldr r3, [r7, #8] + 801568c: 681a ldr r2, [r3, #0] + 801568e: 687b ldr r3, [r7, #4] + 8015690: 671a str r2, [r3, #112] ; 0x70 cur_seg = &(pcb->unsent); - 8015b02: 687b ldr r3, [r7, #4] - 8015b04: 336c adds r3, #108 ; 0x6c - 8015b06: 60fb str r3, [r7, #12] + 8015692: 687b ldr r3, [r7, #4] + 8015694: 336c adds r3, #108 ; 0x6c + 8015696: 60fb str r3, [r7, #12] while (*cur_seg && - 8015b08: e002 b.n 8015b10 + 8015698: e002 b.n 80156a0 TCP_SEQ_LT(lwip_ntohl((*cur_seg)->tcphdr->seqno), lwip_ntohl(seg->tcphdr->seqno))) { cur_seg = &((*cur_seg)->next ); - 8015b0a: 68fb ldr r3, [r7, #12] - 8015b0c: 681b ldr r3, [r3, #0] - 8015b0e: 60fb str r3, [r7, #12] + 801569a: 68fb ldr r3, [r7, #12] + 801569c: 681b ldr r3, [r3, #0] + 801569e: 60fb str r3, [r7, #12] while (*cur_seg && - 8015b10: 68fb ldr r3, [r7, #12] - 8015b12: 681b ldr r3, [r3, #0] - 8015b14: 2b00 cmp r3, #0 - 8015b16: d011 beq.n 8015b3c + 80156a0: 68fb ldr r3, [r7, #12] + 80156a2: 681b ldr r3, [r3, #0] + 80156a4: 2b00 cmp r3, #0 + 80156a6: d011 beq.n 80156cc TCP_SEQ_LT(lwip_ntohl((*cur_seg)->tcphdr->seqno), lwip_ntohl(seg->tcphdr->seqno))) { - 8015b18: 68fb ldr r3, [r7, #12] - 8015b1a: 681b ldr r3, [r3, #0] - 8015b1c: 68db ldr r3, [r3, #12] - 8015b1e: 685b ldr r3, [r3, #4] - 8015b20: 4618 mov r0, r3 - 8015b22: f7f9 fbfa bl 800f31a - 8015b26: 4604 mov r4, r0 - 8015b28: 68bb ldr r3, [r7, #8] - 8015b2a: 68db ldr r3, [r3, #12] - 8015b2c: 685b ldr r3, [r3, #4] - 8015b2e: 4618 mov r0, r3 - 8015b30: f7f9 fbf3 bl 800f31a - 8015b34: 4603 mov r3, r0 - 8015b36: 1ae3 subs r3, r4, r3 + 80156a8: 68fb ldr r3, [r7, #12] + 80156aa: 681b ldr r3, [r3, #0] + 80156ac: 68db ldr r3, [r3, #12] + 80156ae: 685b ldr r3, [r3, #4] + 80156b0: 4618 mov r0, r3 + 80156b2: f7f9 fbfa bl 800eeaa + 80156b6: 4604 mov r4, r0 + 80156b8: 68bb ldr r3, [r7, #8] + 80156ba: 68db ldr r3, [r3, #12] + 80156bc: 685b ldr r3, [r3, #4] + 80156be: 4618 mov r0, r3 + 80156c0: f7f9 fbf3 bl 800eeaa + 80156c4: 4603 mov r3, r0 + 80156c6: 1ae3 subs r3, r4, r3 while (*cur_seg && - 8015b38: 2b00 cmp r3, #0 - 8015b3a: dbe6 blt.n 8015b0a + 80156c8: 2b00 cmp r3, #0 + 80156ca: dbe6 blt.n 801569a } seg->next = *cur_seg; - 8015b3c: 68fb ldr r3, [r7, #12] - 8015b3e: 681a ldr r2, [r3, #0] - 8015b40: 68bb ldr r3, [r7, #8] - 8015b42: 601a str r2, [r3, #0] + 80156cc: 68fb ldr r3, [r7, #12] + 80156ce: 681a ldr r2, [r3, #0] + 80156d0: 68bb ldr r3, [r7, #8] + 80156d2: 601a str r2, [r3, #0] *cur_seg = seg; - 8015b44: 68fb ldr r3, [r7, #12] - 8015b46: 68ba ldr r2, [r7, #8] - 8015b48: 601a str r2, [r3, #0] + 80156d4: 68fb ldr r3, [r7, #12] + 80156d6: 68ba ldr r2, [r7, #8] + 80156d8: 601a str r2, [r3, #0] #if TCP_OVERSIZE if (seg->next == NULL) { - 8015b4a: 68bb ldr r3, [r7, #8] - 8015b4c: 681b ldr r3, [r3, #0] - 8015b4e: 2b00 cmp r3, #0 - 8015b50: d103 bne.n 8015b5a + 80156da: 68bb ldr r3, [r7, #8] + 80156dc: 681b ldr r3, [r3, #0] + 80156de: 2b00 cmp r3, #0 + 80156e0: d103 bne.n 80156ea /* the retransmitted segment is last in unsent, so reset unsent_oversize */ pcb->unsent_oversize = 0; - 8015b52: 687b ldr r3, [r7, #4] - 8015b54: 2200 movs r2, #0 - 8015b56: f8a3 2068 strh.w r2, [r3, #104] ; 0x68 + 80156e2: 687b ldr r3, [r7, #4] + 80156e4: 2200 movs r2, #0 + 80156e6: f8a3 2068 strh.w r2, [r3, #104] ; 0x68 } #endif /* TCP_OVERSIZE */ if (pcb->nrtx < 0xFF) { - 8015b5a: 687b ldr r3, [r7, #4] - 8015b5c: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 - 8015b60: 2bff cmp r3, #255 ; 0xff - 8015b62: d007 beq.n 8015b74 + 80156ea: 687b ldr r3, [r7, #4] + 80156ec: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 + 80156f0: 2bff cmp r3, #255 ; 0xff + 80156f2: d007 beq.n 8015704 ++pcb->nrtx; - 8015b64: 687b ldr r3, [r7, #4] - 8015b66: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 - 8015b6a: 3301 adds r3, #1 - 8015b6c: b2da uxtb r2, r3 - 8015b6e: 687b ldr r3, [r7, #4] - 8015b70: f883 2042 strb.w r2, [r3, #66] ; 0x42 + 80156f4: 687b ldr r3, [r7, #4] + 80156f6: f893 3042 ldrb.w r3, [r3, #66] ; 0x42 + 80156fa: 3301 adds r3, #1 + 80156fc: b2da uxtb r2, r3 + 80156fe: 687b ldr r3, [r7, #4] + 8015700: f883 2042 strb.w r2, [r3, #66] ; 0x42 } /* Don't take any rtt measurements after retransmitting. */ pcb->rttest = 0; - 8015b74: 687b ldr r3, [r7, #4] - 8015b76: 2200 movs r2, #0 - 8015b78: 635a str r2, [r3, #52] ; 0x34 + 8015704: 687b ldr r3, [r7, #4] + 8015706: 2200 movs r2, #0 + 8015708: 635a str r2, [r3, #52] ; 0x34 /* Do the actual retransmission. */ MIB2_STATS_INC(mib2.tcpretranssegs); /* No need to call tcp_output: we are always called from tcp_input() and thus tcp_output directly returns. */ return ERR_OK; - 8015b7a: 2300 movs r3, #0 + 801570a: 2300 movs r3, #0 } - 8015b7c: 4618 mov r0, r3 - 8015b7e: 3714 adds r7, #20 - 8015b80: 46bd mov sp, r7 - 8015b82: bd90 pop {r4, r7, pc} - 8015b84: 0801df34 .word 0x0801df34 - 8015b88: 0801e5d4 .word 0x0801e5d4 - 8015b8c: 0801df88 .word 0x0801df88 + 801570c: 4618 mov r0, r3 + 801570e: 3714 adds r7, #20 + 8015710: 46bd mov sp, r7 + 8015712: bd90 pop {r4, r7, pc} + 8015714: 0801d730 .word 0x0801d730 + 8015718: 0801ddd0 .word 0x0801ddd0 + 801571c: 0801d784 .word 0x0801d784 -08015b90 : +08015720 : * * @param pcb the tcp_pcb for which to retransmit the first unacked segment */ void tcp_rexmit_fast(struct tcp_pcb *pcb) { - 8015b90: b580 push {r7, lr} - 8015b92: b082 sub sp, #8 - 8015b94: af00 add r7, sp, #0 - 8015b96: 6078 str r0, [r7, #4] + 8015720: b580 push {r7, lr} + 8015722: b082 sub sp, #8 + 8015724: af00 add r7, sp, #0 + 8015726: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_rexmit_fast: invalid pcb", pcb != NULL); - 8015b98: 687b ldr r3, [r7, #4] - 8015b9a: 2b00 cmp r3, #0 - 8015b9c: d106 bne.n 8015bac - 8015b9e: 4b2f ldr r3, [pc, #188] ; (8015c5c ) - 8015ba0: f240 62f9 movw r2, #1785 ; 0x6f9 - 8015ba4: 492e ldr r1, [pc, #184] ; (8015c60 ) - 8015ba6: 482f ldr r0, [pc, #188] ; (8015c64 ) - 8015ba8: f005 fc86 bl 801b4b8 + 8015728: 687b ldr r3, [r7, #4] + 801572a: 2b00 cmp r3, #0 + 801572c: d106 bne.n 801573c + 801572e: 4b2f ldr r3, [pc, #188] ; (80157ec ) + 8015730: f240 62f9 movw r2, #1785 ; 0x6f9 + 8015734: 492e ldr r1, [pc, #184] ; (80157f0 ) + 8015736: 482f ldr r0, [pc, #188] ; (80157f4 ) + 8015738: f005 fc6c bl 801b014 if (pcb->unacked != NULL && !(pcb->flags & TF_INFR)) { - 8015bac: 687b ldr r3, [r7, #4] - 8015bae: 6f1b ldr r3, [r3, #112] ; 0x70 - 8015bb0: 2b00 cmp r3, #0 - 8015bb2: d04f beq.n 8015c54 - 8015bb4: 687b ldr r3, [r7, #4] - 8015bb6: 8b5b ldrh r3, [r3, #26] - 8015bb8: f003 0304 and.w r3, r3, #4 - 8015bbc: 2b00 cmp r3, #0 - 8015bbe: d149 bne.n 8015c54 + 801573c: 687b ldr r3, [r7, #4] + 801573e: 6f1b ldr r3, [r3, #112] ; 0x70 + 8015740: 2b00 cmp r3, #0 + 8015742: d04f beq.n 80157e4 + 8015744: 687b ldr r3, [r7, #4] + 8015746: 8b5b ldrh r3, [r3, #26] + 8015748: f003 0304 and.w r3, r3, #4 + 801574c: 2b00 cmp r3, #0 + 801574e: d149 bne.n 80157e4 LWIP_DEBUGF(TCP_FR_DEBUG, ("tcp_receive: dupacks %"U16_F" (%"U32_F "), fast retransmit %"U32_F"\n", (u16_t)pcb->dupacks, pcb->lastack, lwip_ntohl(pcb->unacked->tcphdr->seqno))); if (tcp_rexmit(pcb) == ERR_OK) { - 8015bc0: 6878 ldr r0, [r7, #4] - 8015bc2: f7ff ff79 bl 8015ab8 - 8015bc6: 4603 mov r3, r0 - 8015bc8: 2b00 cmp r3, #0 - 8015bca: d143 bne.n 8015c54 + 8015750: 6878 ldr r0, [r7, #4] + 8015752: f7ff ff79 bl 8015648 + 8015756: 4603 mov r3, r0 + 8015758: 2b00 cmp r3, #0 + 801575a: d143 bne.n 80157e4 /* Set ssthresh to half of the minimum of the current * cwnd and the advertised window */ pcb->ssthresh = LWIP_MIN(pcb->cwnd, pcb->snd_wnd) / 2; - 8015bcc: 687b ldr r3, [r7, #4] - 8015bce: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 - 8015bd2: 687b ldr r3, [r7, #4] - 8015bd4: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 - 8015bd8: 429a cmp r2, r3 - 8015bda: d208 bcs.n 8015bee - 8015bdc: 687b ldr r3, [r7, #4] - 8015bde: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 - 8015be2: 2b00 cmp r3, #0 - 8015be4: da00 bge.n 8015be8 - 8015be6: 3301 adds r3, #1 - 8015be8: 105b asrs r3, r3, #1 - 8015bea: b29b uxth r3, r3 - 8015bec: e007 b.n 8015bfe - 8015bee: 687b ldr r3, [r7, #4] - 8015bf0: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 - 8015bf4: 2b00 cmp r3, #0 - 8015bf6: da00 bge.n 8015bfa - 8015bf8: 3301 adds r3, #1 - 8015bfa: 105b asrs r3, r3, #1 - 8015bfc: b29b uxth r3, r3 - 8015bfe: 687a ldr r2, [r7, #4] - 8015c00: f8a2 304a strh.w r3, [r2, #74] ; 0x4a + 801575c: 687b ldr r3, [r7, #4] + 801575e: f8b3 2048 ldrh.w r2, [r3, #72] ; 0x48 + 8015762: 687b ldr r3, [r7, #4] + 8015764: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 + 8015768: 429a cmp r2, r3 + 801576a: d208 bcs.n 801577e + 801576c: 687b ldr r3, [r7, #4] + 801576e: f8b3 3048 ldrh.w r3, [r3, #72] ; 0x48 + 8015772: 2b00 cmp r3, #0 + 8015774: da00 bge.n 8015778 + 8015776: 3301 adds r3, #1 + 8015778: 105b asrs r3, r3, #1 + 801577a: b29b uxth r3, r3 + 801577c: e007 b.n 801578e + 801577e: 687b ldr r3, [r7, #4] + 8015780: f8b3 3060 ldrh.w r3, [r3, #96] ; 0x60 + 8015784: 2b00 cmp r3, #0 + 8015786: da00 bge.n 801578a + 8015788: 3301 adds r3, #1 + 801578a: 105b asrs r3, r3, #1 + 801578c: b29b uxth r3, r3 + 801578e: 687a ldr r2, [r7, #4] + 8015790: f8a2 304a strh.w r3, [r2, #74] ; 0x4a /* The minimum value for ssthresh should be 2 MSS */ if (pcb->ssthresh < (2U * pcb->mss)) { - 8015c04: 687b ldr r3, [r7, #4] - 8015c06: f8b3 304a ldrh.w r3, [r3, #74] ; 0x4a - 8015c0a: 461a mov r2, r3 - 8015c0c: 687b ldr r3, [r7, #4] - 8015c0e: 8e5b ldrh r3, [r3, #50] ; 0x32 - 8015c10: 005b lsls r3, r3, #1 - 8015c12: 429a cmp r2, r3 - 8015c14: d206 bcs.n 8015c24 + 8015794: 687b ldr r3, [r7, #4] + 8015796: f8b3 304a ldrh.w r3, [r3, #74] ; 0x4a + 801579a: 461a mov r2, r3 + 801579c: 687b ldr r3, [r7, #4] + 801579e: 8e5b ldrh r3, [r3, #50] ; 0x32 + 80157a0: 005b lsls r3, r3, #1 + 80157a2: 429a cmp r2, r3 + 80157a4: d206 bcs.n 80157b4 LWIP_DEBUGF(TCP_FR_DEBUG, ("tcp_receive: The minimum value for ssthresh %"TCPWNDSIZE_F " should be min 2 mss %"U16_F"...\n", pcb->ssthresh, (u16_t)(2 * pcb->mss))); pcb->ssthresh = 2 * pcb->mss; - 8015c16: 687b ldr r3, [r7, #4] - 8015c18: 8e5b ldrh r3, [r3, #50] ; 0x32 - 8015c1a: 005b lsls r3, r3, #1 - 8015c1c: b29a uxth r2, r3 - 8015c1e: 687b ldr r3, [r7, #4] - 8015c20: f8a3 204a strh.w r2, [r3, #74] ; 0x4a + 80157a6: 687b ldr r3, [r7, #4] + 80157a8: 8e5b ldrh r3, [r3, #50] ; 0x32 + 80157aa: 005b lsls r3, r3, #1 + 80157ac: b29a uxth r2, r3 + 80157ae: 687b ldr r3, [r7, #4] + 80157b0: f8a3 204a strh.w r2, [r3, #74] ; 0x4a } pcb->cwnd = pcb->ssthresh + 3 * pcb->mss; - 8015c24: 687b ldr r3, [r7, #4] - 8015c26: f8b3 204a ldrh.w r2, [r3, #74] ; 0x4a - 8015c2a: 687b ldr r3, [r7, #4] - 8015c2c: 8e5b ldrh r3, [r3, #50] ; 0x32 - 8015c2e: 4619 mov r1, r3 - 8015c30: 0049 lsls r1, r1, #1 - 8015c32: 440b add r3, r1 - 8015c34: b29b uxth r3, r3 - 8015c36: 4413 add r3, r2 - 8015c38: b29a uxth r2, r3 - 8015c3a: 687b ldr r3, [r7, #4] - 8015c3c: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 + 80157b4: 687b ldr r3, [r7, #4] + 80157b6: f8b3 204a ldrh.w r2, [r3, #74] ; 0x4a + 80157ba: 687b ldr r3, [r7, #4] + 80157bc: 8e5b ldrh r3, [r3, #50] ; 0x32 + 80157be: 4619 mov r1, r3 + 80157c0: 0049 lsls r1, r1, #1 + 80157c2: 440b add r3, r1 + 80157c4: b29b uxth r3, r3 + 80157c6: 4413 add r3, r2 + 80157c8: b29a uxth r2, r3 + 80157ca: 687b ldr r3, [r7, #4] + 80157cc: f8a3 2048 strh.w r2, [r3, #72] ; 0x48 tcp_set_flags(pcb, TF_INFR); - 8015c40: 687b ldr r3, [r7, #4] - 8015c42: 8b5b ldrh r3, [r3, #26] - 8015c44: f043 0304 orr.w r3, r3, #4 - 8015c48: b29a uxth r2, r3 - 8015c4a: 687b ldr r3, [r7, #4] - 8015c4c: 835a strh r2, [r3, #26] + 80157d0: 687b ldr r3, [r7, #4] + 80157d2: 8b5b ldrh r3, [r3, #26] + 80157d4: f043 0304 orr.w r3, r3, #4 + 80157d8: b29a uxth r2, r3 + 80157da: 687b ldr r3, [r7, #4] + 80157dc: 835a strh r2, [r3, #26] /* Reset the retransmission timer to prevent immediate rto retransmissions */ pcb->rtime = 0; - 8015c4e: 687b ldr r3, [r7, #4] - 8015c50: 2200 movs r2, #0 - 8015c52: 861a strh r2, [r3, #48] ; 0x30 + 80157de: 687b ldr r3, [r7, #4] + 80157e0: 2200 movs r2, #0 + 80157e2: 861a strh r2, [r3, #48] ; 0x30 } } } - 8015c54: bf00 nop - 8015c56: 3708 adds r7, #8 - 8015c58: 46bd mov sp, r7 - 8015c5a: bd80 pop {r7, pc} - 8015c5c: 0801df34 .word 0x0801df34 - 8015c60: 0801e5ec .word 0x0801e5ec - 8015c64: 0801df88 .word 0x0801df88 + 80157e4: bf00 nop + 80157e6: 3708 adds r7, #8 + 80157e8: 46bd mov sp, r7 + 80157ea: bd80 pop {r7, pc} + 80157ec: 0801d730 .word 0x0801d730 + 80157f0: 0801dde8 .word 0x0801dde8 + 80157f4: 0801d784 .word 0x0801d784 -08015c68 : +080157f8 : static struct pbuf * tcp_output_alloc_header_common(u32_t ackno, u16_t optlen, u16_t datalen, u32_t seqno_be /* already in network byte order */, u16_t src_port, u16_t dst_port, u8_t flags, u16_t wnd) { - 8015c68: b580 push {r7, lr} - 8015c6a: b086 sub sp, #24 - 8015c6c: af00 add r7, sp, #0 - 8015c6e: 60f8 str r0, [r7, #12] - 8015c70: 607b str r3, [r7, #4] - 8015c72: 460b mov r3, r1 - 8015c74: 817b strh r3, [r7, #10] - 8015c76: 4613 mov r3, r2 - 8015c78: 813b strh r3, [r7, #8] + 80157f8: b580 push {r7, lr} + 80157fa: b086 sub sp, #24 + 80157fc: af00 add r7, sp, #0 + 80157fe: 60f8 str r0, [r7, #12] + 8015800: 607b str r3, [r7, #4] + 8015802: 460b mov r3, r1 + 8015804: 817b strh r3, [r7, #10] + 8015806: 4613 mov r3, r2 + 8015808: 813b strh r3, [r7, #8] struct tcp_hdr *tcphdr; struct pbuf *p; p = pbuf_alloc(PBUF_IP, TCP_HLEN + optlen + datalen, PBUF_RAM); - 8015c7a: 897a ldrh r2, [r7, #10] - 8015c7c: 893b ldrh r3, [r7, #8] - 8015c7e: 4413 add r3, r2 - 8015c80: b29b uxth r3, r3 - 8015c82: 3314 adds r3, #20 - 8015c84: b29b uxth r3, r3 - 8015c86: f44f 7220 mov.w r2, #640 ; 0x280 - 8015c8a: 4619 mov r1, r3 - 8015c8c: 2022 movs r0, #34 ; 0x22 - 8015c8e: f7fa fc03 bl 8010498 - 8015c92: 6178 str r0, [r7, #20] + 801580a: 897a ldrh r2, [r7, #10] + 801580c: 893b ldrh r3, [r7, #8] + 801580e: 4413 add r3, r2 + 8015810: b29b uxth r3, r3 + 8015812: 3314 adds r3, #20 + 8015814: b29b uxth r3, r3 + 8015816: f44f 7220 mov.w r2, #640 ; 0x280 + 801581a: 4619 mov r1, r3 + 801581c: 2022 movs r0, #34 ; 0x22 + 801581e: f7fa fc03 bl 8010028 + 8015822: 6178 str r0, [r7, #20] if (p != NULL) { - 8015c94: 697b ldr r3, [r7, #20] - 8015c96: 2b00 cmp r3, #0 - 8015c98: d04e beq.n 8015d38 + 8015824: 697b ldr r3, [r7, #20] + 8015826: 2b00 cmp r3, #0 + 8015828: d04e beq.n 80158c8 LWIP_ASSERT("check that first pbuf can hold struct tcp_hdr", - 8015c9a: 697b ldr r3, [r7, #20] - 8015c9c: 895b ldrh r3, [r3, #10] - 8015c9e: 461a mov r2, r3 - 8015ca0: 897b ldrh r3, [r7, #10] - 8015ca2: 3314 adds r3, #20 - 8015ca4: 429a cmp r2, r3 - 8015ca6: da06 bge.n 8015cb6 - 8015ca8: 4b26 ldr r3, [pc, #152] ; (8015d44 ) - 8015caa: f240 7224 movw r2, #1828 ; 0x724 - 8015cae: 4926 ldr r1, [pc, #152] ; (8015d48 ) - 8015cb0: 4826 ldr r0, [pc, #152] ; (8015d4c ) - 8015cb2: f005 fc01 bl 801b4b8 + 801582a: 697b ldr r3, [r7, #20] + 801582c: 895b ldrh r3, [r3, #10] + 801582e: 461a mov r2, r3 + 8015830: 897b ldrh r3, [r7, #10] + 8015832: 3314 adds r3, #20 + 8015834: 429a cmp r2, r3 + 8015836: da06 bge.n 8015846 + 8015838: 4b26 ldr r3, [pc, #152] ; (80158d4 ) + 801583a: f240 7224 movw r2, #1828 ; 0x724 + 801583e: 4926 ldr r1, [pc, #152] ; (80158d8 ) + 8015840: 4826 ldr r0, [pc, #152] ; (80158dc ) + 8015842: f005 fbe7 bl 801b014 (p->len >= TCP_HLEN + optlen)); tcphdr = (struct tcp_hdr *)p->payload; - 8015cb6: 697b ldr r3, [r7, #20] - 8015cb8: 685b ldr r3, [r3, #4] - 8015cba: 613b str r3, [r7, #16] + 8015846: 697b ldr r3, [r7, #20] + 8015848: 685b ldr r3, [r3, #4] + 801584a: 613b str r3, [r7, #16] tcphdr->src = lwip_htons(src_port); - 8015cbc: 8c3b ldrh r3, [r7, #32] - 8015cbe: 4618 mov r0, r3 - 8015cc0: f7f9 fb16 bl 800f2f0 - 8015cc4: 4603 mov r3, r0 - 8015cc6: 461a mov r2, r3 - 8015cc8: 693b ldr r3, [r7, #16] - 8015cca: 801a strh r2, [r3, #0] + 801584c: 8c3b ldrh r3, [r7, #32] + 801584e: 4618 mov r0, r3 + 8015850: f7f9 fb16 bl 800ee80 + 8015854: 4603 mov r3, r0 + 8015856: 461a mov r2, r3 + 8015858: 693b ldr r3, [r7, #16] + 801585a: 801a strh r2, [r3, #0] tcphdr->dest = lwip_htons(dst_port); - 8015ccc: 8cbb ldrh r3, [r7, #36] ; 0x24 - 8015cce: 4618 mov r0, r3 - 8015cd0: f7f9 fb0e bl 800f2f0 - 8015cd4: 4603 mov r3, r0 - 8015cd6: 461a mov r2, r3 - 8015cd8: 693b ldr r3, [r7, #16] - 8015cda: 805a strh r2, [r3, #2] + 801585c: 8cbb ldrh r3, [r7, #36] ; 0x24 + 801585e: 4618 mov r0, r3 + 8015860: f7f9 fb0e bl 800ee80 + 8015864: 4603 mov r3, r0 + 8015866: 461a mov r2, r3 + 8015868: 693b ldr r3, [r7, #16] + 801586a: 805a strh r2, [r3, #2] tcphdr->seqno = seqno_be; - 8015cdc: 693b ldr r3, [r7, #16] - 8015cde: 687a ldr r2, [r7, #4] - 8015ce0: 605a str r2, [r3, #4] + 801586c: 693b ldr r3, [r7, #16] + 801586e: 687a ldr r2, [r7, #4] + 8015870: 605a str r2, [r3, #4] tcphdr->ackno = lwip_htonl(ackno); - 8015ce2: 68f8 ldr r0, [r7, #12] - 8015ce4: f7f9 fb19 bl 800f31a - 8015ce8: 4602 mov r2, r0 - 8015cea: 693b ldr r3, [r7, #16] - 8015cec: 609a str r2, [r3, #8] + 8015872: 68f8 ldr r0, [r7, #12] + 8015874: f7f9 fb19 bl 800eeaa + 8015878: 4602 mov r2, r0 + 801587a: 693b ldr r3, [r7, #16] + 801587c: 609a str r2, [r3, #8] TCPH_HDRLEN_FLAGS_SET(tcphdr, (5 + optlen / 4), flags); - 8015cee: 897b ldrh r3, [r7, #10] - 8015cf0: 089b lsrs r3, r3, #2 - 8015cf2: b29b uxth r3, r3 - 8015cf4: 3305 adds r3, #5 - 8015cf6: b29b uxth r3, r3 - 8015cf8: 031b lsls r3, r3, #12 - 8015cfa: b29a uxth r2, r3 - 8015cfc: f897 3028 ldrb.w r3, [r7, #40] ; 0x28 - 8015d00: b29b uxth r3, r3 - 8015d02: 4313 orrs r3, r2 - 8015d04: b29b uxth r3, r3 - 8015d06: 4618 mov r0, r3 - 8015d08: f7f9 faf2 bl 800f2f0 - 8015d0c: 4603 mov r3, r0 - 8015d0e: 461a mov r2, r3 - 8015d10: 693b ldr r3, [r7, #16] - 8015d12: 819a strh r2, [r3, #12] + 801587e: 897b ldrh r3, [r7, #10] + 8015880: 089b lsrs r3, r3, #2 + 8015882: b29b uxth r3, r3 + 8015884: 3305 adds r3, #5 + 8015886: b29b uxth r3, r3 + 8015888: 031b lsls r3, r3, #12 + 801588a: b29a uxth r2, r3 + 801588c: f897 3028 ldrb.w r3, [r7, #40] ; 0x28 + 8015890: b29b uxth r3, r3 + 8015892: 4313 orrs r3, r2 + 8015894: b29b uxth r3, r3 + 8015896: 4618 mov r0, r3 + 8015898: f7f9 faf2 bl 800ee80 + 801589c: 4603 mov r3, r0 + 801589e: 461a mov r2, r3 + 80158a0: 693b ldr r3, [r7, #16] + 80158a2: 819a strh r2, [r3, #12] tcphdr->wnd = lwip_htons(wnd); - 8015d14: 8dbb ldrh r3, [r7, #44] ; 0x2c - 8015d16: 4618 mov r0, r3 - 8015d18: f7f9 faea bl 800f2f0 - 8015d1c: 4603 mov r3, r0 - 8015d1e: 461a mov r2, r3 - 8015d20: 693b ldr r3, [r7, #16] - 8015d22: 81da strh r2, [r3, #14] + 80158a4: 8dbb ldrh r3, [r7, #44] ; 0x2c + 80158a6: 4618 mov r0, r3 + 80158a8: f7f9 faea bl 800ee80 + 80158ac: 4603 mov r3, r0 + 80158ae: 461a mov r2, r3 + 80158b0: 693b ldr r3, [r7, #16] + 80158b2: 81da strh r2, [r3, #14] tcphdr->chksum = 0; - 8015d24: 693b ldr r3, [r7, #16] - 8015d26: 2200 movs r2, #0 - 8015d28: 741a strb r2, [r3, #16] - 8015d2a: 2200 movs r2, #0 - 8015d2c: 745a strb r2, [r3, #17] + 80158b4: 693b ldr r3, [r7, #16] + 80158b6: 2200 movs r2, #0 + 80158b8: 741a strb r2, [r3, #16] + 80158ba: 2200 movs r2, #0 + 80158bc: 745a strb r2, [r3, #17] tcphdr->urgp = 0; - 8015d2e: 693b ldr r3, [r7, #16] - 8015d30: 2200 movs r2, #0 - 8015d32: 749a strb r2, [r3, #18] - 8015d34: 2200 movs r2, #0 - 8015d36: 74da strb r2, [r3, #19] + 80158be: 693b ldr r3, [r7, #16] + 80158c0: 2200 movs r2, #0 + 80158c2: 749a strb r2, [r3, #18] + 80158c4: 2200 movs r2, #0 + 80158c6: 74da strb r2, [r3, #19] } return p; - 8015d38: 697b ldr r3, [r7, #20] + 80158c8: 697b ldr r3, [r7, #20] } - 8015d3a: 4618 mov r0, r3 - 8015d3c: 3718 adds r7, #24 - 8015d3e: 46bd mov sp, r7 - 8015d40: bd80 pop {r7, pc} - 8015d42: bf00 nop - 8015d44: 0801df34 .word 0x0801df34 - 8015d48: 0801e60c .word 0x0801e60c - 8015d4c: 0801df88 .word 0x0801df88 + 80158ca: 4618 mov r0, r3 + 80158cc: 3718 adds r7, #24 + 80158ce: 46bd mov sp, r7 + 80158d0: bd80 pop {r7, pc} + 80158d2: bf00 nop + 80158d4: 0801d730 .word 0x0801d730 + 80158d8: 0801de08 .word 0x0801de08 + 80158dc: 0801d784 .word 0x0801d784 -08015d50 : +080158e0 : * @return pbuf with p->payload being the tcp_hdr */ static struct pbuf * tcp_output_alloc_header(struct tcp_pcb *pcb, u16_t optlen, u16_t datalen, u32_t seqno_be /* already in network byte order */) { - 8015d50: b5b0 push {r4, r5, r7, lr} - 8015d52: b08a sub sp, #40 ; 0x28 - 8015d54: af04 add r7, sp, #16 - 8015d56: 60f8 str r0, [r7, #12] - 8015d58: 607b str r3, [r7, #4] - 8015d5a: 460b mov r3, r1 - 8015d5c: 817b strh r3, [r7, #10] - 8015d5e: 4613 mov r3, r2 - 8015d60: 813b strh r3, [r7, #8] + 80158e0: b5b0 push {r4, r5, r7, lr} + 80158e2: b08a sub sp, #40 ; 0x28 + 80158e4: af04 add r7, sp, #16 + 80158e6: 60f8 str r0, [r7, #12] + 80158e8: 607b str r3, [r7, #4] + 80158ea: 460b mov r3, r1 + 80158ec: 817b strh r3, [r7, #10] + 80158ee: 4613 mov r3, r2 + 80158f0: 813b strh r3, [r7, #8] struct pbuf *p; LWIP_ASSERT("tcp_output_alloc_header: invalid pcb", pcb != NULL); - 8015d62: 68fb ldr r3, [r7, #12] - 8015d64: 2b00 cmp r3, #0 - 8015d66: d106 bne.n 8015d76 - 8015d68: 4b15 ldr r3, [pc, #84] ; (8015dc0 ) - 8015d6a: f240 7242 movw r2, #1858 ; 0x742 - 8015d6e: 4915 ldr r1, [pc, #84] ; (8015dc4 ) - 8015d70: 4815 ldr r0, [pc, #84] ; (8015dc8 ) - 8015d72: f005 fba1 bl 801b4b8 + 80158f2: 68fb ldr r3, [r7, #12] + 80158f4: 2b00 cmp r3, #0 + 80158f6: d106 bne.n 8015906 + 80158f8: 4b15 ldr r3, [pc, #84] ; (8015950 ) + 80158fa: f240 7242 movw r2, #1858 ; 0x742 + 80158fe: 4915 ldr r1, [pc, #84] ; (8015954 ) + 8015900: 4815 ldr r0, [pc, #84] ; (8015958 ) + 8015902: f005 fb87 bl 801b014 p = tcp_output_alloc_header_common(pcb->rcv_nxt, optlen, datalen, - 8015d76: 68fb ldr r3, [r7, #12] - 8015d78: 6a58 ldr r0, [r3, #36] ; 0x24 - 8015d7a: 68fb ldr r3, [r7, #12] - 8015d7c: 8adb ldrh r3, [r3, #22] - 8015d7e: 68fa ldr r2, [r7, #12] - 8015d80: 8b12 ldrh r2, [r2, #24] - 8015d82: 68f9 ldr r1, [r7, #12] - 8015d84: 8d49 ldrh r1, [r1, #42] ; 0x2a - 8015d86: 893d ldrh r5, [r7, #8] - 8015d88: 897c ldrh r4, [r7, #10] - 8015d8a: 9103 str r1, [sp, #12] - 8015d8c: 2110 movs r1, #16 - 8015d8e: 9102 str r1, [sp, #8] - 8015d90: 9201 str r2, [sp, #4] - 8015d92: 9300 str r3, [sp, #0] - 8015d94: 687b ldr r3, [r7, #4] - 8015d96: 462a mov r2, r5 - 8015d98: 4621 mov r1, r4 - 8015d9a: f7ff ff65 bl 8015c68 - 8015d9e: 6178 str r0, [r7, #20] + 8015906: 68fb ldr r3, [r7, #12] + 8015908: 6a58 ldr r0, [r3, #36] ; 0x24 + 801590a: 68fb ldr r3, [r7, #12] + 801590c: 8adb ldrh r3, [r3, #22] + 801590e: 68fa ldr r2, [r7, #12] + 8015910: 8b12 ldrh r2, [r2, #24] + 8015912: 68f9 ldr r1, [r7, #12] + 8015914: 8d49 ldrh r1, [r1, #42] ; 0x2a + 8015916: 893d ldrh r5, [r7, #8] + 8015918: 897c ldrh r4, [r7, #10] + 801591a: 9103 str r1, [sp, #12] + 801591c: 2110 movs r1, #16 + 801591e: 9102 str r1, [sp, #8] + 8015920: 9201 str r2, [sp, #4] + 8015922: 9300 str r3, [sp, #0] + 8015924: 687b ldr r3, [r7, #4] + 8015926: 462a mov r2, r5 + 8015928: 4621 mov r1, r4 + 801592a: f7ff ff65 bl 80157f8 + 801592e: 6178 str r0, [r7, #20] seqno_be, pcb->local_port, pcb->remote_port, TCP_ACK, TCPWND_MIN16(RCV_WND_SCALE(pcb, pcb->rcv_ann_wnd))); if (p != NULL) { - 8015da0: 697b ldr r3, [r7, #20] - 8015da2: 2b00 cmp r3, #0 - 8015da4: d006 beq.n 8015db4 + 8015930: 697b ldr r3, [r7, #20] + 8015932: 2b00 cmp r3, #0 + 8015934: d006 beq.n 8015944 /* If we're sending a packet, update the announced right window edge */ pcb->rcv_ann_right_edge = pcb->rcv_nxt + pcb->rcv_ann_wnd; - 8015da6: 68fb ldr r3, [r7, #12] - 8015da8: 6a5b ldr r3, [r3, #36] ; 0x24 - 8015daa: 68fa ldr r2, [r7, #12] - 8015dac: 8d52 ldrh r2, [r2, #42] ; 0x2a - 8015dae: 441a add r2, r3 - 8015db0: 68fb ldr r3, [r7, #12] - 8015db2: 62da str r2, [r3, #44] ; 0x2c + 8015936: 68fb ldr r3, [r7, #12] + 8015938: 6a5b ldr r3, [r3, #36] ; 0x24 + 801593a: 68fa ldr r2, [r7, #12] + 801593c: 8d52 ldrh r2, [r2, #42] ; 0x2a + 801593e: 441a add r2, r3 + 8015940: 68fb ldr r3, [r7, #12] + 8015942: 62da str r2, [r3, #44] ; 0x2c } return p; - 8015db4: 697b ldr r3, [r7, #20] + 8015944: 697b ldr r3, [r7, #20] } - 8015db6: 4618 mov r0, r3 - 8015db8: 3718 adds r7, #24 - 8015dba: 46bd mov sp, r7 - 8015dbc: bdb0 pop {r4, r5, r7, pc} - 8015dbe: bf00 nop - 8015dc0: 0801df34 .word 0x0801df34 - 8015dc4: 0801e63c .word 0x0801e63c - 8015dc8: 0801df88 .word 0x0801df88 + 8015946: 4618 mov r0, r3 + 8015948: 3718 adds r7, #24 + 801594a: 46bd mov sp, r7 + 801594c: bdb0 pop {r4, r5, r7, pc} + 801594e: bf00 nop + 8015950: 0801d730 .word 0x0801d730 + 8015954: 0801de38 .word 0x0801de38 + 8015958: 0801d784 .word 0x0801d784 -08015dcc : +0801595c : /* Fill in options for control segments */ static void tcp_output_fill_options(const struct tcp_pcb *pcb, struct pbuf *p, u8_t optflags, u8_t num_sacks) { - 8015dcc: b580 push {r7, lr} - 8015dce: b088 sub sp, #32 - 8015dd0: af00 add r7, sp, #0 - 8015dd2: 60f8 str r0, [r7, #12] - 8015dd4: 60b9 str r1, [r7, #8] - 8015dd6: 4611 mov r1, r2 - 8015dd8: 461a mov r2, r3 - 8015dda: 460b mov r3, r1 - 8015ddc: 71fb strb r3, [r7, #7] - 8015dde: 4613 mov r3, r2 - 8015de0: 71bb strb r3, [r7, #6] + 801595c: b580 push {r7, lr} + 801595e: b088 sub sp, #32 + 8015960: af00 add r7, sp, #0 + 8015962: 60f8 str r0, [r7, #12] + 8015964: 60b9 str r1, [r7, #8] + 8015966: 4611 mov r1, r2 + 8015968: 461a mov r2, r3 + 801596a: 460b mov r3, r1 + 801596c: 71fb strb r3, [r7, #7] + 801596e: 4613 mov r3, r2 + 8015970: 71bb strb r3, [r7, #6] struct tcp_hdr *tcphdr; u32_t *opts; u16_t sacks_len = 0; - 8015de2: 2300 movs r3, #0 - 8015de4: 83fb strh r3, [r7, #30] + 8015972: 2300 movs r3, #0 + 8015974: 83fb strh r3, [r7, #30] LWIP_ASSERT("tcp_output_fill_options: invalid pbuf", p != NULL); - 8015de6: 68bb ldr r3, [r7, #8] - 8015de8: 2b00 cmp r3, #0 - 8015dea: d106 bne.n 8015dfa - 8015dec: 4b13 ldr r3, [pc, #76] ; (8015e3c ) - 8015dee: f240 7256 movw r2, #1878 ; 0x756 - 8015df2: 4913 ldr r1, [pc, #76] ; (8015e40 ) - 8015df4: 4813 ldr r0, [pc, #76] ; (8015e44 ) - 8015df6: f005 fb5f bl 801b4b8 + 8015976: 68bb ldr r3, [r7, #8] + 8015978: 2b00 cmp r3, #0 + 801597a: d106 bne.n 801598a + 801597c: 4b13 ldr r3, [pc, #76] ; (80159cc ) + 801597e: f240 7256 movw r2, #1878 ; 0x756 + 8015982: 4913 ldr r1, [pc, #76] ; (80159d0 ) + 8015984: 4813 ldr r0, [pc, #76] ; (80159d4 ) + 8015986: f005 fb45 bl 801b014 tcphdr = (struct tcp_hdr *)p->payload; - 8015dfa: 68bb ldr r3, [r7, #8] - 8015dfc: 685b ldr r3, [r3, #4] - 8015dfe: 61bb str r3, [r7, #24] + 801598a: 68bb ldr r3, [r7, #8] + 801598c: 685b ldr r3, [r3, #4] + 801598e: 61bb str r3, [r7, #24] opts = (u32_t *)(void *)(tcphdr + 1); - 8015e00: 69bb ldr r3, [r7, #24] - 8015e02: 3314 adds r3, #20 - 8015e04: 617b str r3, [r7, #20] + 8015990: 69bb ldr r3, [r7, #24] + 8015992: 3314 adds r3, #20 + 8015994: 617b str r3, [r7, #20] opts = LWIP_HOOK_TCP_OUT_ADD_TCPOPTS(p, tcphdr, pcb, opts); #endif LWIP_UNUSED_ARG(pcb); LWIP_UNUSED_ARG(sacks_len); LWIP_ASSERT("options not filled", (u8_t *)opts == ((u8_t *)(tcphdr + 1)) + sacks_len * 4 + LWIP_TCP_OPT_LENGTH_SEGMENT(optflags, pcb)); - 8015e06: 69bb ldr r3, [r7, #24] - 8015e08: f103 0214 add.w r2, r3, #20 - 8015e0c: 8bfb ldrh r3, [r7, #30] - 8015e0e: 009b lsls r3, r3, #2 - 8015e10: 4619 mov r1, r3 - 8015e12: 79fb ldrb r3, [r7, #7] - 8015e14: 009b lsls r3, r3, #2 - 8015e16: f003 0304 and.w r3, r3, #4 - 8015e1a: 440b add r3, r1 - 8015e1c: 4413 add r3, r2 - 8015e1e: 697a ldr r2, [r7, #20] - 8015e20: 429a cmp r2, r3 - 8015e22: d006 beq.n 8015e32 - 8015e24: 4b05 ldr r3, [pc, #20] ; (8015e3c ) - 8015e26: f240 7275 movw r2, #1909 ; 0x775 - 8015e2a: 4907 ldr r1, [pc, #28] ; (8015e48 ) - 8015e2c: 4805 ldr r0, [pc, #20] ; (8015e44 ) - 8015e2e: f005 fb43 bl 801b4b8 + 8015996: 69bb ldr r3, [r7, #24] + 8015998: f103 0214 add.w r2, r3, #20 + 801599c: 8bfb ldrh r3, [r7, #30] + 801599e: 009b lsls r3, r3, #2 + 80159a0: 4619 mov r1, r3 + 80159a2: 79fb ldrb r3, [r7, #7] + 80159a4: 009b lsls r3, r3, #2 + 80159a6: f003 0304 and.w r3, r3, #4 + 80159aa: 440b add r3, r1 + 80159ac: 4413 add r3, r2 + 80159ae: 697a ldr r2, [r7, #20] + 80159b0: 429a cmp r2, r3 + 80159b2: d006 beq.n 80159c2 + 80159b4: 4b05 ldr r3, [pc, #20] ; (80159cc ) + 80159b6: f240 7275 movw r2, #1909 ; 0x775 + 80159ba: 4907 ldr r1, [pc, #28] ; (80159d8 ) + 80159bc: 4805 ldr r0, [pc, #20] ; (80159d4 ) + 80159be: f005 fb29 bl 801b014 LWIP_UNUSED_ARG(optflags); /* for LWIP_NOASSERT */ LWIP_UNUSED_ARG(opts); /* for LWIP_NOASSERT */ } - 8015e32: bf00 nop - 8015e34: 3720 adds r7, #32 - 8015e36: 46bd mov sp, r7 - 8015e38: bd80 pop {r7, pc} - 8015e3a: bf00 nop - 8015e3c: 0801df34 .word 0x0801df34 - 8015e40: 0801e664 .word 0x0801e664 - 8015e44: 0801df88 .word 0x0801df88 - 8015e48: 0801e55c .word 0x0801e55c + 80159c2: bf00 nop + 80159c4: 3720 adds r7, #32 + 80159c6: 46bd mov sp, r7 + 80159c8: bd80 pop {r7, pc} + 80159ca: bf00 nop + 80159cc: 0801d730 .word 0x0801d730 + 80159d0: 0801de60 .word 0x0801de60 + 80159d4: 0801d784 .word 0x0801d784 + 80159d8: 0801dd58 .word 0x0801dd58 -08015e4c : +080159dc : * header checksum and calling ip_output_if while handling netif hints and stats. */ static err_t tcp_output_control_segment(const struct tcp_pcb *pcb, struct pbuf *p, const ip_addr_t *src, const ip_addr_t *dst) { - 8015e4c: b580 push {r7, lr} - 8015e4e: b08a sub sp, #40 ; 0x28 - 8015e50: af04 add r7, sp, #16 - 8015e52: 60f8 str r0, [r7, #12] - 8015e54: 60b9 str r1, [r7, #8] - 8015e56: 607a str r2, [r7, #4] - 8015e58: 603b str r3, [r7, #0] + 80159dc: b580 push {r7, lr} + 80159de: b08a sub sp, #40 ; 0x28 + 80159e0: af04 add r7, sp, #16 + 80159e2: 60f8 str r0, [r7, #12] + 80159e4: 60b9 str r1, [r7, #8] + 80159e6: 607a str r2, [r7, #4] + 80159e8: 603b str r3, [r7, #0] err_t err; struct netif *netif; LWIP_ASSERT("tcp_output_control_segment: invalid pbuf", p != NULL); - 8015e5a: 68bb ldr r3, [r7, #8] - 8015e5c: 2b00 cmp r3, #0 - 8015e5e: d106 bne.n 8015e6e - 8015e60: 4b1c ldr r3, [pc, #112] ; (8015ed4 ) - 8015e62: f240 7287 movw r2, #1927 ; 0x787 - 8015e66: 491c ldr r1, [pc, #112] ; (8015ed8 ) - 8015e68: 481c ldr r0, [pc, #112] ; (8015edc ) - 8015e6a: f005 fb25 bl 801b4b8 + 80159ea: 68bb ldr r3, [r7, #8] + 80159ec: 2b00 cmp r3, #0 + 80159ee: d106 bne.n 80159fe + 80159f0: 4b1c ldr r3, [pc, #112] ; (8015a64 ) + 80159f2: f240 7287 movw r2, #1927 ; 0x787 + 80159f6: 491c ldr r1, [pc, #112] ; (8015a68 ) + 80159f8: 481c ldr r0, [pc, #112] ; (8015a6c ) + 80159fa: f005 fb0b bl 801b014 netif = tcp_route(pcb, src, dst); - 8015e6e: 683a ldr r2, [r7, #0] - 8015e70: 6879 ldr r1, [r7, #4] - 8015e72: 68f8 ldr r0, [r7, #12] - 8015e74: f7fe ff2e bl 8014cd4 - 8015e78: 6138 str r0, [r7, #16] + 80159fe: 683a ldr r2, [r7, #0] + 8015a00: 6879 ldr r1, [r7, #4] + 8015a02: 68f8 ldr r0, [r7, #12] + 8015a04: f7fe ff2e bl 8014864 + 8015a08: 6138 str r0, [r7, #16] if (netif == NULL) { - 8015e7a: 693b ldr r3, [r7, #16] - 8015e7c: 2b00 cmp r3, #0 - 8015e7e: d102 bne.n 8015e86 + 8015a0a: 693b ldr r3, [r7, #16] + 8015a0c: 2b00 cmp r3, #0 + 8015a0e: d102 bne.n 8015a16 err = ERR_RTE; - 8015e80: 23fc movs r3, #252 ; 0xfc - 8015e82: 75fb strb r3, [r7, #23] - 8015e84: e01c b.n 8015ec0 + 8015a10: 23fc movs r3, #252 ; 0xfc + 8015a12: 75fb strb r3, [r7, #23] + 8015a14: e01c b.n 8015a50 struct tcp_hdr *tcphdr = (struct tcp_hdr *)p->payload; tcphdr->chksum = ip_chksum_pseudo(p, IP_PROTO_TCP, p->tot_len, src, dst); } #endif if (pcb != NULL) { - 8015e86: 68fb ldr r3, [r7, #12] - 8015e88: 2b00 cmp r3, #0 - 8015e8a: d006 beq.n 8015e9a + 8015a16: 68fb ldr r3, [r7, #12] + 8015a18: 2b00 cmp r3, #0 + 8015a1a: d006 beq.n 8015a2a NETIF_SET_HINTS(netif, LWIP_CONST_CAST(struct netif_hint*, &(pcb->netif_hints))); ttl = pcb->ttl; - 8015e8c: 68fb ldr r3, [r7, #12] - 8015e8e: 7adb ldrb r3, [r3, #11] - 8015e90: 75bb strb r3, [r7, #22] + 8015a1c: 68fb ldr r3, [r7, #12] + 8015a1e: 7adb ldrb r3, [r3, #11] + 8015a20: 75bb strb r3, [r7, #22] tos = pcb->tos; - 8015e92: 68fb ldr r3, [r7, #12] - 8015e94: 7a9b ldrb r3, [r3, #10] - 8015e96: 757b strb r3, [r7, #21] - 8015e98: e003 b.n 8015ea2 + 8015a22: 68fb ldr r3, [r7, #12] + 8015a24: 7a9b ldrb r3, [r3, #10] + 8015a26: 757b strb r3, [r7, #21] + 8015a28: e003 b.n 8015a32 } else { /* Send output with hardcoded TTL/HL since we have no access to the pcb */ ttl = TCP_TTL; - 8015e9a: 23ff movs r3, #255 ; 0xff - 8015e9c: 75bb strb r3, [r7, #22] + 8015a2a: 23ff movs r3, #255 ; 0xff + 8015a2c: 75bb strb r3, [r7, #22] tos = 0; - 8015e9e: 2300 movs r3, #0 - 8015ea0: 757b strb r3, [r7, #21] + 8015a2e: 2300 movs r3, #0 + 8015a30: 757b strb r3, [r7, #21] } TCP_STATS_INC(tcp.xmit); err = ip_output_if(p, src, dst, ttl, tos, IP_PROTO_TCP, netif); - 8015ea2: 7dba ldrb r2, [r7, #22] - 8015ea4: 693b ldr r3, [r7, #16] - 8015ea6: 9302 str r3, [sp, #8] - 8015ea8: 2306 movs r3, #6 - 8015eaa: 9301 str r3, [sp, #4] - 8015eac: 7d7b ldrb r3, [r7, #21] - 8015eae: 9300 str r3, [sp, #0] - 8015eb0: 4613 mov r3, r2 - 8015eb2: 683a ldr r2, [r7, #0] - 8015eb4: 6879 ldr r1, [r7, #4] - 8015eb6: 68b8 ldr r0, [r7, #8] - 8015eb8: f004 f964 bl 801a184 - 8015ebc: 4603 mov r3, r0 - 8015ebe: 75fb strb r3, [r7, #23] + 8015a32: 7dba ldrb r2, [r7, #22] + 8015a34: 693b ldr r3, [r7, #16] + 8015a36: 9302 str r3, [sp, #8] + 8015a38: 2306 movs r3, #6 + 8015a3a: 9301 str r3, [sp, #4] + 8015a3c: 7d7b ldrb r3, [r7, #21] + 8015a3e: 9300 str r3, [sp, #0] + 8015a40: 4613 mov r3, r2 + 8015a42: 683a ldr r2, [r7, #0] + 8015a44: 6879 ldr r1, [r7, #4] + 8015a46: 68b8 ldr r0, [r7, #8] + 8015a48: f004 f964 bl 8019d14 + 8015a4c: 4603 mov r3, r0 + 8015a4e: 75fb strb r3, [r7, #23] NETIF_RESET_HINTS(netif); } pbuf_free(p); - 8015ec0: 68b8 ldr r0, [r7, #8] - 8015ec2: f7fa fdc9 bl 8010a58 + 8015a50: 68b8 ldr r0, [r7, #8] + 8015a52: f7fa fdc9 bl 80105e8 return err; - 8015ec6: f997 3017 ldrsb.w r3, [r7, #23] + 8015a56: f997 3017 ldrsb.w r3, [r7, #23] } - 8015eca: 4618 mov r0, r3 - 8015ecc: 3718 adds r7, #24 - 8015ece: 46bd mov sp, r7 - 8015ed0: bd80 pop {r7, pc} - 8015ed2: bf00 nop - 8015ed4: 0801df34 .word 0x0801df34 - 8015ed8: 0801e68c .word 0x0801e68c - 8015edc: 0801df88 .word 0x0801df88 + 8015a5a: 4618 mov r0, r3 + 8015a5c: 3718 adds r7, #24 + 8015a5e: 46bd mov sp, r7 + 8015a60: bd80 pop {r7, pc} + 8015a62: bf00 nop + 8015a64: 0801d730 .word 0x0801d730 + 8015a68: 0801de88 .word 0x0801de88 + 8015a6c: 0801d784 .word 0x0801d784 -08015ee0 : +08015a70 : */ void tcp_rst(const struct tcp_pcb *pcb, u32_t seqno, u32_t ackno, const ip_addr_t *local_ip, const ip_addr_t *remote_ip, u16_t local_port, u16_t remote_port) { - 8015ee0: b590 push {r4, r7, lr} - 8015ee2: b08b sub sp, #44 ; 0x2c - 8015ee4: af04 add r7, sp, #16 - 8015ee6: 60f8 str r0, [r7, #12] - 8015ee8: 60b9 str r1, [r7, #8] - 8015eea: 607a str r2, [r7, #4] - 8015eec: 603b str r3, [r7, #0] + 8015a70: b590 push {r4, r7, lr} + 8015a72: b08b sub sp, #44 ; 0x2c + 8015a74: af04 add r7, sp, #16 + 8015a76: 60f8 str r0, [r7, #12] + 8015a78: 60b9 str r1, [r7, #8] + 8015a7a: 607a str r2, [r7, #4] + 8015a7c: 603b str r3, [r7, #0] struct pbuf *p; u16_t wnd; u8_t optlen; LWIP_ASSERT("tcp_rst: invalid local_ip", local_ip != NULL); - 8015eee: 683b ldr r3, [r7, #0] - 8015ef0: 2b00 cmp r3, #0 - 8015ef2: d106 bne.n 8015f02 - 8015ef4: 4b1f ldr r3, [pc, #124] ; (8015f74 ) - 8015ef6: f240 72c4 movw r2, #1988 ; 0x7c4 - 8015efa: 491f ldr r1, [pc, #124] ; (8015f78 ) - 8015efc: 481f ldr r0, [pc, #124] ; (8015f7c ) - 8015efe: f005 fadb bl 801b4b8 + 8015a7e: 683b ldr r3, [r7, #0] + 8015a80: 2b00 cmp r3, #0 + 8015a82: d106 bne.n 8015a92 + 8015a84: 4b1f ldr r3, [pc, #124] ; (8015b04 ) + 8015a86: f240 72c4 movw r2, #1988 ; 0x7c4 + 8015a8a: 491f ldr r1, [pc, #124] ; (8015b08 ) + 8015a8c: 481f ldr r0, [pc, #124] ; (8015b0c ) + 8015a8e: f005 fac1 bl 801b014 LWIP_ASSERT("tcp_rst: invalid remote_ip", remote_ip != NULL); - 8015f02: 6abb ldr r3, [r7, #40] ; 0x28 - 8015f04: 2b00 cmp r3, #0 - 8015f06: d106 bne.n 8015f16 - 8015f08: 4b1a ldr r3, [pc, #104] ; (8015f74 ) - 8015f0a: f240 72c5 movw r2, #1989 ; 0x7c5 - 8015f0e: 491c ldr r1, [pc, #112] ; (8015f80 ) - 8015f10: 481a ldr r0, [pc, #104] ; (8015f7c ) - 8015f12: f005 fad1 bl 801b4b8 + 8015a92: 6abb ldr r3, [r7, #40] ; 0x28 + 8015a94: 2b00 cmp r3, #0 + 8015a96: d106 bne.n 8015aa6 + 8015a98: 4b1a ldr r3, [pc, #104] ; (8015b04 ) + 8015a9a: f240 72c5 movw r2, #1989 ; 0x7c5 + 8015a9e: 491c ldr r1, [pc, #112] ; (8015b10 ) + 8015aa0: 481a ldr r0, [pc, #104] ; (8015b0c ) + 8015aa2: f005 fab7 bl 801b014 optlen = LWIP_TCP_OPT_LENGTH_SEGMENT(0, pcb); - 8015f16: 2300 movs r3, #0 - 8015f18: 75fb strb r3, [r7, #23] + 8015aa6: 2300 movs r3, #0 + 8015aa8: 75fb strb r3, [r7, #23] #if LWIP_WND_SCALE wnd = PP_HTONS(((TCP_WND >> TCP_RCV_SCALE) & 0xFFFF)); #else wnd = PP_HTONS(TCP_WND); - 8015f1a: f246 0308 movw r3, #24584 ; 0x6008 - 8015f1e: 82bb strh r3, [r7, #20] + 8015aaa: f246 0308 movw r3, #24584 ; 0x6008 + 8015aae: 82bb strh r3, [r7, #20] #endif p = tcp_output_alloc_header_common(ackno, optlen, 0, lwip_htonl(seqno), local_port, - 8015f20: 7dfb ldrb r3, [r7, #23] - 8015f22: b29c uxth r4, r3 - 8015f24: 68b8 ldr r0, [r7, #8] - 8015f26: f7f9 f9f8 bl 800f31a - 8015f2a: 4602 mov r2, r0 - 8015f2c: 8abb ldrh r3, [r7, #20] - 8015f2e: 9303 str r3, [sp, #12] - 8015f30: 2314 movs r3, #20 - 8015f32: 9302 str r3, [sp, #8] - 8015f34: 8e3b ldrh r3, [r7, #48] ; 0x30 - 8015f36: 9301 str r3, [sp, #4] - 8015f38: 8dbb ldrh r3, [r7, #44] ; 0x2c - 8015f3a: 9300 str r3, [sp, #0] - 8015f3c: 4613 mov r3, r2 - 8015f3e: 2200 movs r2, #0 - 8015f40: 4621 mov r1, r4 - 8015f42: 6878 ldr r0, [r7, #4] - 8015f44: f7ff fe90 bl 8015c68 - 8015f48: 6138 str r0, [r7, #16] + 8015ab0: 7dfb ldrb r3, [r7, #23] + 8015ab2: b29c uxth r4, r3 + 8015ab4: 68b8 ldr r0, [r7, #8] + 8015ab6: f7f9 f9f8 bl 800eeaa + 8015aba: 4602 mov r2, r0 + 8015abc: 8abb ldrh r3, [r7, #20] + 8015abe: 9303 str r3, [sp, #12] + 8015ac0: 2314 movs r3, #20 + 8015ac2: 9302 str r3, [sp, #8] + 8015ac4: 8e3b ldrh r3, [r7, #48] ; 0x30 + 8015ac6: 9301 str r3, [sp, #4] + 8015ac8: 8dbb ldrh r3, [r7, #44] ; 0x2c + 8015aca: 9300 str r3, [sp, #0] + 8015acc: 4613 mov r3, r2 + 8015ace: 2200 movs r2, #0 + 8015ad0: 4621 mov r1, r4 + 8015ad2: 6878 ldr r0, [r7, #4] + 8015ad4: f7ff fe90 bl 80157f8 + 8015ad8: 6138 str r0, [r7, #16] remote_port, TCP_RST | TCP_ACK, wnd); if (p == NULL) { - 8015f4a: 693b ldr r3, [r7, #16] - 8015f4c: 2b00 cmp r3, #0 - 8015f4e: d00c beq.n 8015f6a + 8015ada: 693b ldr r3, [r7, #16] + 8015adc: 2b00 cmp r3, #0 + 8015ade: d00c beq.n 8015afa LWIP_DEBUGF(TCP_DEBUG, ("tcp_rst: could not allocate memory for pbuf\n")); return; } tcp_output_fill_options(pcb, p, 0, optlen); - 8015f50: 7dfb ldrb r3, [r7, #23] - 8015f52: 2200 movs r2, #0 - 8015f54: 6939 ldr r1, [r7, #16] - 8015f56: 68f8 ldr r0, [r7, #12] - 8015f58: f7ff ff38 bl 8015dcc + 8015ae0: 7dfb ldrb r3, [r7, #23] + 8015ae2: 2200 movs r2, #0 + 8015ae4: 6939 ldr r1, [r7, #16] + 8015ae6: 68f8 ldr r0, [r7, #12] + 8015ae8: f7ff ff38 bl 801595c MIB2_STATS_INC(mib2.tcpoutrsts); tcp_output_control_segment(pcb, p, local_ip, remote_ip); - 8015f5c: 6abb ldr r3, [r7, #40] ; 0x28 - 8015f5e: 683a ldr r2, [r7, #0] - 8015f60: 6939 ldr r1, [r7, #16] - 8015f62: 68f8 ldr r0, [r7, #12] - 8015f64: f7ff ff72 bl 8015e4c - 8015f68: e000 b.n 8015f6c + 8015aec: 6abb ldr r3, [r7, #40] ; 0x28 + 8015aee: 683a ldr r2, [r7, #0] + 8015af0: 6939 ldr r1, [r7, #16] + 8015af2: 68f8 ldr r0, [r7, #12] + 8015af4: f7ff ff72 bl 80159dc + 8015af8: e000 b.n 8015afc return; - 8015f6a: bf00 nop + 8015afa: bf00 nop LWIP_DEBUGF(TCP_RST_DEBUG, ("tcp_rst: seqno %"U32_F" ackno %"U32_F".\n", seqno, ackno)); } - 8015f6c: 371c adds r7, #28 - 8015f6e: 46bd mov sp, r7 - 8015f70: bd90 pop {r4, r7, pc} - 8015f72: bf00 nop - 8015f74: 0801df34 .word 0x0801df34 - 8015f78: 0801e6b8 .word 0x0801e6b8 - 8015f7c: 0801df88 .word 0x0801df88 - 8015f80: 0801e6d4 .word 0x0801e6d4 + 8015afc: 371c adds r7, #28 + 8015afe: 46bd mov sp, r7 + 8015b00: bd90 pop {r4, r7, pc} + 8015b02: bf00 nop + 8015b04: 0801d730 .word 0x0801d730 + 8015b08: 0801deb4 .word 0x0801deb4 + 8015b0c: 0801d784 .word 0x0801d784 + 8015b10: 0801ded0 .word 0x0801ded0 -08015f84 : +08015b14 : * * @param pcb Protocol control block for the TCP connection to send the ACK */ err_t tcp_send_empty_ack(struct tcp_pcb *pcb) { - 8015f84: b590 push {r4, r7, lr} - 8015f86: b087 sub sp, #28 - 8015f88: af00 add r7, sp, #0 - 8015f8a: 6078 str r0, [r7, #4] + 8015b14: b590 push {r4, r7, lr} + 8015b16: b087 sub sp, #28 + 8015b18: af00 add r7, sp, #0 + 8015b1a: 6078 str r0, [r7, #4] err_t err; struct pbuf *p; u8_t optlen, optflags = 0; - 8015f8c: 2300 movs r3, #0 - 8015f8e: 75fb strb r3, [r7, #23] + 8015b1c: 2300 movs r3, #0 + 8015b1e: 75fb strb r3, [r7, #23] u8_t num_sacks = 0; - 8015f90: 2300 movs r3, #0 - 8015f92: 75bb strb r3, [r7, #22] + 8015b20: 2300 movs r3, #0 + 8015b22: 75bb strb r3, [r7, #22] LWIP_ASSERT("tcp_send_empty_ack: invalid pcb", pcb != NULL); - 8015f94: 687b ldr r3, [r7, #4] - 8015f96: 2b00 cmp r3, #0 - 8015f98: d106 bne.n 8015fa8 - 8015f9a: 4b28 ldr r3, [pc, #160] ; (801603c ) - 8015f9c: f240 72ea movw r2, #2026 ; 0x7ea - 8015fa0: 4927 ldr r1, [pc, #156] ; (8016040 ) - 8015fa2: 4828 ldr r0, [pc, #160] ; (8016044 ) - 8015fa4: f005 fa88 bl 801b4b8 + 8015b24: 687b ldr r3, [r7, #4] + 8015b26: 2b00 cmp r3, #0 + 8015b28: d106 bne.n 8015b38 + 8015b2a: 4b28 ldr r3, [pc, #160] ; (8015bcc ) + 8015b2c: f240 72ea movw r2, #2026 ; 0x7ea + 8015b30: 4927 ldr r1, [pc, #156] ; (8015bd0 ) + 8015b32: 4828 ldr r0, [pc, #160] ; (8015bd4 ) + 8015b34: f005 fa6e bl 801b014 #if LWIP_TCP_TIMESTAMPS if (pcb->flags & TF_TIMESTAMP) { optflags = TF_SEG_OPTS_TS; } #endif optlen = LWIP_TCP_OPT_LENGTH_SEGMENT(optflags, pcb); - 8015fa8: 7dfb ldrb r3, [r7, #23] - 8015faa: 009b lsls r3, r3, #2 - 8015fac: b2db uxtb r3, r3 - 8015fae: f003 0304 and.w r3, r3, #4 - 8015fb2: 757b strb r3, [r7, #21] + 8015b38: 7dfb ldrb r3, [r7, #23] + 8015b3a: 009b lsls r3, r3, #2 + 8015b3c: b2db uxtb r3, r3 + 8015b3e: f003 0304 and.w r3, r3, #4 + 8015b42: 757b strb r3, [r7, #21] if ((num_sacks = tcp_get_num_sacks(pcb, optlen)) > 0) { optlen += 4 + num_sacks * 8; /* 4 bytes for header (including 2*NOP), plus 8B for each SACK */ } #endif p = tcp_output_alloc_header(pcb, optlen, 0, lwip_htonl(pcb->snd_nxt)); - 8015fb4: 7d7b ldrb r3, [r7, #21] - 8015fb6: b29c uxth r4, r3 - 8015fb8: 687b ldr r3, [r7, #4] - 8015fba: 6d1b ldr r3, [r3, #80] ; 0x50 - 8015fbc: 4618 mov r0, r3 - 8015fbe: f7f9 f9ac bl 800f31a - 8015fc2: 4603 mov r3, r0 - 8015fc4: 2200 movs r2, #0 - 8015fc6: 4621 mov r1, r4 - 8015fc8: 6878 ldr r0, [r7, #4] - 8015fca: f7ff fec1 bl 8015d50 - 8015fce: 6138 str r0, [r7, #16] + 8015b44: 7d7b ldrb r3, [r7, #21] + 8015b46: b29c uxth r4, r3 + 8015b48: 687b ldr r3, [r7, #4] + 8015b4a: 6d1b ldr r3, [r3, #80] ; 0x50 + 8015b4c: 4618 mov r0, r3 + 8015b4e: f7f9 f9ac bl 800eeaa + 8015b52: 4603 mov r3, r0 + 8015b54: 2200 movs r2, #0 + 8015b56: 4621 mov r1, r4 + 8015b58: 6878 ldr r0, [r7, #4] + 8015b5a: f7ff fec1 bl 80158e0 + 8015b5e: 6138 str r0, [r7, #16] if (p == NULL) { - 8015fd0: 693b ldr r3, [r7, #16] - 8015fd2: 2b00 cmp r3, #0 - 8015fd4: d109 bne.n 8015fea + 8015b60: 693b ldr r3, [r7, #16] + 8015b62: 2b00 cmp r3, #0 + 8015b64: d109 bne.n 8015b7a /* let tcp_fasttmr retry sending this ACK */ tcp_set_flags(pcb, TF_ACK_DELAY | TF_ACK_NOW); - 8015fd6: 687b ldr r3, [r7, #4] - 8015fd8: 8b5b ldrh r3, [r3, #26] - 8015fda: f043 0303 orr.w r3, r3, #3 - 8015fde: b29a uxth r2, r3 - 8015fe0: 687b ldr r3, [r7, #4] - 8015fe2: 835a strh r2, [r3, #26] + 8015b66: 687b ldr r3, [r7, #4] + 8015b68: 8b5b ldrh r3, [r3, #26] + 8015b6a: f043 0303 orr.w r3, r3, #3 + 8015b6e: b29a uxth r2, r3 + 8015b70: 687b ldr r3, [r7, #4] + 8015b72: 835a strh r2, [r3, #26] LWIP_DEBUGF(TCP_OUTPUT_DEBUG, ("tcp_output: (ACK) could not allocate pbuf\n")); return ERR_BUF; - 8015fe4: f06f 0301 mvn.w r3, #1 - 8015fe8: e023 b.n 8016032 + 8015b74: f06f 0301 mvn.w r3, #1 + 8015b78: e023 b.n 8015bc2 } tcp_output_fill_options(pcb, p, optflags, num_sacks); - 8015fea: 7dbb ldrb r3, [r7, #22] - 8015fec: 7dfa ldrb r2, [r7, #23] - 8015fee: 6939 ldr r1, [r7, #16] - 8015ff0: 6878 ldr r0, [r7, #4] - 8015ff2: f7ff feeb bl 8015dcc + 8015b7a: 7dbb ldrb r3, [r7, #22] + 8015b7c: 7dfa ldrb r2, [r7, #23] + 8015b7e: 6939 ldr r1, [r7, #16] + 8015b80: 6878 ldr r0, [r7, #4] + 8015b82: f7ff feeb bl 801595c pcb->ts_lastacksent = pcb->rcv_nxt; #endif LWIP_DEBUGF(TCP_OUTPUT_DEBUG, ("tcp_output: sending ACK for %"U32_F"\n", pcb->rcv_nxt)); err = tcp_output_control_segment(pcb, p, &pcb->local_ip, &pcb->remote_ip); - 8015ff6: 687a ldr r2, [r7, #4] - 8015ff8: 687b ldr r3, [r7, #4] - 8015ffa: 3304 adds r3, #4 - 8015ffc: 6939 ldr r1, [r7, #16] - 8015ffe: 6878 ldr r0, [r7, #4] - 8016000: f7ff ff24 bl 8015e4c - 8016004: 4603 mov r3, r0 - 8016006: 73fb strb r3, [r7, #15] + 8015b86: 687a ldr r2, [r7, #4] + 8015b88: 687b ldr r3, [r7, #4] + 8015b8a: 3304 adds r3, #4 + 8015b8c: 6939 ldr r1, [r7, #16] + 8015b8e: 6878 ldr r0, [r7, #4] + 8015b90: f7ff ff24 bl 80159dc + 8015b94: 4603 mov r3, r0 + 8015b96: 73fb strb r3, [r7, #15] if (err != ERR_OK) { - 8016008: f997 300f ldrsb.w r3, [r7, #15] - 801600c: 2b00 cmp r3, #0 - 801600e: d007 beq.n 8016020 + 8015b98: f997 300f ldrsb.w r3, [r7, #15] + 8015b9c: 2b00 cmp r3, #0 + 8015b9e: d007 beq.n 8015bb0 /* let tcp_fasttmr retry sending this ACK */ tcp_set_flags(pcb, TF_ACK_DELAY | TF_ACK_NOW); - 8016010: 687b ldr r3, [r7, #4] - 8016012: 8b5b ldrh r3, [r3, #26] - 8016014: f043 0303 orr.w r3, r3, #3 - 8016018: b29a uxth r2, r3 - 801601a: 687b ldr r3, [r7, #4] - 801601c: 835a strh r2, [r3, #26] - 801601e: e006 b.n 801602e + 8015ba0: 687b ldr r3, [r7, #4] + 8015ba2: 8b5b ldrh r3, [r3, #26] + 8015ba4: f043 0303 orr.w r3, r3, #3 + 8015ba8: b29a uxth r2, r3 + 8015baa: 687b ldr r3, [r7, #4] + 8015bac: 835a strh r2, [r3, #26] + 8015bae: e006 b.n 8015bbe } else { /* remove ACK flags from the PCB, as we sent an empty ACK now */ tcp_clear_flags(pcb, TF_ACK_DELAY | TF_ACK_NOW); - 8016020: 687b ldr r3, [r7, #4] - 8016022: 8b5b ldrh r3, [r3, #26] - 8016024: f023 0303 bic.w r3, r3, #3 - 8016028: b29a uxth r2, r3 - 801602a: 687b ldr r3, [r7, #4] - 801602c: 835a strh r2, [r3, #26] + 8015bb0: 687b ldr r3, [r7, #4] + 8015bb2: 8b5b ldrh r3, [r3, #26] + 8015bb4: f023 0303 bic.w r3, r3, #3 + 8015bb8: b29a uxth r2, r3 + 8015bba: 687b ldr r3, [r7, #4] + 8015bbc: 835a strh r2, [r3, #26] } return err; - 801602e: f997 300f ldrsb.w r3, [r7, #15] + 8015bbe: f997 300f ldrsb.w r3, [r7, #15] } - 8016032: 4618 mov r0, r3 - 8016034: 371c adds r7, #28 - 8016036: 46bd mov sp, r7 - 8016038: bd90 pop {r4, r7, pc} - 801603a: bf00 nop - 801603c: 0801df34 .word 0x0801df34 - 8016040: 0801e6f0 .word 0x0801e6f0 - 8016044: 0801df88 .word 0x0801df88 + 8015bc2: 4618 mov r0, r3 + 8015bc4: 371c adds r7, #28 + 8015bc6: 46bd mov sp, r7 + 8015bc8: bd90 pop {r4, r7, pc} + 8015bca: bf00 nop + 8015bcc: 0801d730 .word 0x0801d730 + 8015bd0: 0801deec .word 0x0801deec + 8015bd4: 0801d784 .word 0x0801d784 -08016048 : +08015bd8 : * * @param pcb the tcp_pcb for which to send a keepalive packet */ err_t tcp_keepalive(struct tcp_pcb *pcb) { - 8016048: b590 push {r4, r7, lr} - 801604a: b087 sub sp, #28 - 801604c: af00 add r7, sp, #0 - 801604e: 6078 str r0, [r7, #4] + 8015bd8: b590 push {r4, r7, lr} + 8015bda: b087 sub sp, #28 + 8015bdc: af00 add r7, sp, #0 + 8015bde: 6078 str r0, [r7, #4] err_t err; struct pbuf *p; u8_t optlen = LWIP_TCP_OPT_LENGTH_SEGMENT(0, pcb); - 8016050: 2300 movs r3, #0 - 8016052: 75fb strb r3, [r7, #23] + 8015be0: 2300 movs r3, #0 + 8015be2: 75fb strb r3, [r7, #23] LWIP_ASSERT("tcp_keepalive: invalid pcb", pcb != NULL); - 8016054: 687b ldr r3, [r7, #4] - 8016056: 2b00 cmp r3, #0 - 8016058: d106 bne.n 8016068 - 801605a: 4b18 ldr r3, [pc, #96] ; (80160bc ) - 801605c: f640 0224 movw r2, #2084 ; 0x824 - 8016060: 4917 ldr r1, [pc, #92] ; (80160c0 ) - 8016062: 4818 ldr r0, [pc, #96] ; (80160c4 ) - 8016064: f005 fa28 bl 801b4b8 + 8015be4: 687b ldr r3, [r7, #4] + 8015be6: 2b00 cmp r3, #0 + 8015be8: d106 bne.n 8015bf8 + 8015bea: 4b18 ldr r3, [pc, #96] ; (8015c4c ) + 8015bec: f640 0224 movw r2, #2084 ; 0x824 + 8015bf0: 4917 ldr r1, [pc, #92] ; (8015c50 ) + 8015bf2: 4818 ldr r0, [pc, #96] ; (8015c54 ) + 8015bf4: f005 fa0e bl 801b014 LWIP_DEBUGF(TCP_DEBUG, ("\n")); LWIP_DEBUGF(TCP_DEBUG, ("tcp_keepalive: tcp_ticks %"U32_F" pcb->tmr %"U32_F" pcb->keep_cnt_sent %"U16_F"\n", tcp_ticks, pcb->tmr, (u16_t)pcb->keep_cnt_sent)); p = tcp_output_alloc_header(pcb, optlen, 0, lwip_htonl(pcb->snd_nxt - 1)); - 8016068: 7dfb ldrb r3, [r7, #23] - 801606a: b29c uxth r4, r3 - 801606c: 687b ldr r3, [r7, #4] - 801606e: 6d1b ldr r3, [r3, #80] ; 0x50 - 8016070: 3b01 subs r3, #1 - 8016072: 4618 mov r0, r3 - 8016074: f7f9 f951 bl 800f31a - 8016078: 4603 mov r3, r0 - 801607a: 2200 movs r2, #0 - 801607c: 4621 mov r1, r4 - 801607e: 6878 ldr r0, [r7, #4] - 8016080: f7ff fe66 bl 8015d50 - 8016084: 6138 str r0, [r7, #16] + 8015bf8: 7dfb ldrb r3, [r7, #23] + 8015bfa: b29c uxth r4, r3 + 8015bfc: 687b ldr r3, [r7, #4] + 8015bfe: 6d1b ldr r3, [r3, #80] ; 0x50 + 8015c00: 3b01 subs r3, #1 + 8015c02: 4618 mov r0, r3 + 8015c04: f7f9 f951 bl 800eeaa + 8015c08: 4603 mov r3, r0 + 8015c0a: 2200 movs r2, #0 + 8015c0c: 4621 mov r1, r4 + 8015c0e: 6878 ldr r0, [r7, #4] + 8015c10: f7ff fe66 bl 80158e0 + 8015c14: 6138 str r0, [r7, #16] if (p == NULL) { - 8016086: 693b ldr r3, [r7, #16] - 8016088: 2b00 cmp r3, #0 - 801608a: d102 bne.n 8016092 + 8015c16: 693b ldr r3, [r7, #16] + 8015c18: 2b00 cmp r3, #0 + 8015c1a: d102 bne.n 8015c22 LWIP_DEBUGF(TCP_DEBUG, ("tcp_keepalive: could not allocate memory for pbuf\n")); return ERR_MEM; - 801608c: f04f 33ff mov.w r3, #4294967295 - 8016090: e010 b.n 80160b4 + 8015c1c: f04f 33ff mov.w r3, #4294967295 + 8015c20: e010 b.n 8015c44 } tcp_output_fill_options(pcb, p, 0, optlen); - 8016092: 7dfb ldrb r3, [r7, #23] - 8016094: 2200 movs r2, #0 - 8016096: 6939 ldr r1, [r7, #16] - 8016098: 6878 ldr r0, [r7, #4] - 801609a: f7ff fe97 bl 8015dcc + 8015c22: 7dfb ldrb r3, [r7, #23] + 8015c24: 2200 movs r2, #0 + 8015c26: 6939 ldr r1, [r7, #16] + 8015c28: 6878 ldr r0, [r7, #4] + 8015c2a: f7ff fe97 bl 801595c err = tcp_output_control_segment(pcb, p, &pcb->local_ip, &pcb->remote_ip); - 801609e: 687a ldr r2, [r7, #4] - 80160a0: 687b ldr r3, [r7, #4] - 80160a2: 3304 adds r3, #4 - 80160a4: 6939 ldr r1, [r7, #16] - 80160a6: 6878 ldr r0, [r7, #4] - 80160a8: f7ff fed0 bl 8015e4c - 80160ac: 4603 mov r3, r0 - 80160ae: 73fb strb r3, [r7, #15] + 8015c2e: 687a ldr r2, [r7, #4] + 8015c30: 687b ldr r3, [r7, #4] + 8015c32: 3304 adds r3, #4 + 8015c34: 6939 ldr r1, [r7, #16] + 8015c36: 6878 ldr r0, [r7, #4] + 8015c38: f7ff fed0 bl 80159dc + 8015c3c: 4603 mov r3, r0 + 8015c3e: 73fb strb r3, [r7, #15] LWIP_DEBUGF(TCP_DEBUG, ("tcp_keepalive: seqno %"U32_F" ackno %"U32_F" err %d.\n", pcb->snd_nxt - 1, pcb->rcv_nxt, (int)err)); return err; - 80160b0: f997 300f ldrsb.w r3, [r7, #15] + 8015c40: f997 300f ldrsb.w r3, [r7, #15] } - 80160b4: 4618 mov r0, r3 - 80160b6: 371c adds r7, #28 - 80160b8: 46bd mov sp, r7 - 80160ba: bd90 pop {r4, r7, pc} - 80160bc: 0801df34 .word 0x0801df34 - 80160c0: 0801e710 .word 0x0801e710 - 80160c4: 0801df88 .word 0x0801df88 + 8015c44: 4618 mov r0, r3 + 8015c46: 371c adds r7, #28 + 8015c48: 46bd mov sp, r7 + 8015c4a: bd90 pop {r4, r7, pc} + 8015c4c: 0801d730 .word 0x0801d730 + 8015c50: 0801df0c .word 0x0801df0c + 8015c54: 0801d784 .word 0x0801d784 -080160c8 : +08015c58 : * * @param pcb the tcp_pcb for which to send a zero-window probe packet */ err_t tcp_zero_window_probe(struct tcp_pcb *pcb) { - 80160c8: b590 push {r4, r7, lr} - 80160ca: b08b sub sp, #44 ; 0x2c - 80160cc: af00 add r7, sp, #0 - 80160ce: 6078 str r0, [r7, #4] + 8015c58: b590 push {r4, r7, lr} + 8015c5a: b08b sub sp, #44 ; 0x2c + 8015c5c: af00 add r7, sp, #0 + 8015c5e: 6078 str r0, [r7, #4] struct tcp_hdr *tcphdr; struct tcp_seg *seg; u16_t len; u8_t is_fin; u32_t snd_nxt; u8_t optlen = LWIP_TCP_OPT_LENGTH_SEGMENT(0, pcb); - 80160d0: 2300 movs r3, #0 - 80160d2: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 8015c60: 2300 movs r3, #0 + 8015c62: f887 3027 strb.w r3, [r7, #39] ; 0x27 LWIP_ASSERT("tcp_zero_window_probe: invalid pcb", pcb != NULL); - 80160d6: 687b ldr r3, [r7, #4] - 80160d8: 2b00 cmp r3, #0 - 80160da: d106 bne.n 80160ea - 80160dc: 4b4c ldr r3, [pc, #304] ; (8016210 ) - 80160de: f640 024f movw r2, #2127 ; 0x84f - 80160e2: 494c ldr r1, [pc, #304] ; (8016214 ) - 80160e4: 484c ldr r0, [pc, #304] ; (8016218 ) - 80160e6: f005 f9e7 bl 801b4b8 + 8015c66: 687b ldr r3, [r7, #4] + 8015c68: 2b00 cmp r3, #0 + 8015c6a: d106 bne.n 8015c7a + 8015c6c: 4b4c ldr r3, [pc, #304] ; (8015da0 ) + 8015c6e: f640 024f movw r2, #2127 ; 0x84f + 8015c72: 494c ldr r1, [pc, #304] ; (8015da4 ) + 8015c74: 484c ldr r0, [pc, #304] ; (8015da8 ) + 8015c76: f005 f9cd bl 801b014 ("tcp_zero_window_probe: tcp_ticks %"U32_F " pcb->tmr %"U32_F" pcb->keep_cnt_sent %"U16_F"\n", tcp_ticks, pcb->tmr, (u16_t)pcb->keep_cnt_sent)); /* Only consider unsent, persist timer should be off when there is data in-flight */ seg = pcb->unsent; - 80160ea: 687b ldr r3, [r7, #4] - 80160ec: 6edb ldr r3, [r3, #108] ; 0x6c - 80160ee: 623b str r3, [r7, #32] + 8015c7a: 687b ldr r3, [r7, #4] + 8015c7c: 6edb ldr r3, [r3, #108] ; 0x6c + 8015c7e: 623b str r3, [r7, #32] if (seg == NULL) { - 80160f0: 6a3b ldr r3, [r7, #32] - 80160f2: 2b00 cmp r3, #0 - 80160f4: d101 bne.n 80160fa + 8015c80: 6a3b ldr r3, [r7, #32] + 8015c82: 2b00 cmp r3, #0 + 8015c84: d101 bne.n 8015c8a /* Not expected, persist timer should be off when the send buffer is empty */ return ERR_OK; - 80160f6: 2300 movs r3, #0 - 80160f8: e086 b.n 8016208 + 8015c86: 2300 movs r3, #0 + 8015c88: e086 b.n 8015d98 /* increment probe count. NOTE: we record probe even if it fails to actually transmit due to an error. This ensures memory exhaustion/ routing problem doesn't leave a zero-window pcb as an indefinite zombie. RTO mechanism has similar behavior, see pcb->nrtx */ if (pcb->persist_probe < 0xFF) { - 80160fa: 687b ldr r3, [r7, #4] - 80160fc: f893 309a ldrb.w r3, [r3, #154] ; 0x9a - 8016100: 2bff cmp r3, #255 ; 0xff - 8016102: d007 beq.n 8016114 + 8015c8a: 687b ldr r3, [r7, #4] + 8015c8c: f893 309a ldrb.w r3, [r3, #154] ; 0x9a + 8015c90: 2bff cmp r3, #255 ; 0xff + 8015c92: d007 beq.n 8015ca4 ++pcb->persist_probe; - 8016104: 687b ldr r3, [r7, #4] - 8016106: f893 309a ldrb.w r3, [r3, #154] ; 0x9a - 801610a: 3301 adds r3, #1 - 801610c: b2da uxtb r2, r3 - 801610e: 687b ldr r3, [r7, #4] - 8016110: f883 209a strb.w r2, [r3, #154] ; 0x9a + 8015c94: 687b ldr r3, [r7, #4] + 8015c96: f893 309a ldrb.w r3, [r3, #154] ; 0x9a + 8015c9a: 3301 adds r3, #1 + 8015c9c: b2da uxtb r2, r3 + 8015c9e: 687b ldr r3, [r7, #4] + 8015ca0: f883 209a strb.w r2, [r3, #154] ; 0x9a } is_fin = ((TCPH_FLAGS(seg->tcphdr) & TCP_FIN) != 0) && (seg->len == 0); - 8016114: 6a3b ldr r3, [r7, #32] - 8016116: 68db ldr r3, [r3, #12] - 8016118: 899b ldrh r3, [r3, #12] - 801611a: b29b uxth r3, r3 - 801611c: 4618 mov r0, r3 - 801611e: f7f9 f8e7 bl 800f2f0 - 8016122: 4603 mov r3, r0 - 8016124: b2db uxtb r3, r3 - 8016126: f003 0301 and.w r3, r3, #1 - 801612a: 2b00 cmp r3, #0 - 801612c: d005 beq.n 801613a - 801612e: 6a3b ldr r3, [r7, #32] - 8016130: 891b ldrh r3, [r3, #8] - 8016132: 2b00 cmp r3, #0 - 8016134: d101 bne.n 801613a - 8016136: 2301 movs r3, #1 - 8016138: e000 b.n 801613c - 801613a: 2300 movs r3, #0 - 801613c: 77fb strb r3, [r7, #31] + 8015ca4: 6a3b ldr r3, [r7, #32] + 8015ca6: 68db ldr r3, [r3, #12] + 8015ca8: 899b ldrh r3, [r3, #12] + 8015caa: b29b uxth r3, r3 + 8015cac: 4618 mov r0, r3 + 8015cae: f7f9 f8e7 bl 800ee80 + 8015cb2: 4603 mov r3, r0 + 8015cb4: b2db uxtb r3, r3 + 8015cb6: f003 0301 and.w r3, r3, #1 + 8015cba: 2b00 cmp r3, #0 + 8015cbc: d005 beq.n 8015cca + 8015cbe: 6a3b ldr r3, [r7, #32] + 8015cc0: 891b ldrh r3, [r3, #8] + 8015cc2: 2b00 cmp r3, #0 + 8015cc4: d101 bne.n 8015cca + 8015cc6: 2301 movs r3, #1 + 8015cc8: e000 b.n 8015ccc + 8015cca: 2300 movs r3, #0 + 8015ccc: 77fb strb r3, [r7, #31] /* we want to send one seqno: either FIN or data (no options) */ len = is_fin ? 0 : 1; - 801613e: 7ffb ldrb r3, [r7, #31] - 8016140: 2b00 cmp r3, #0 - 8016142: bf0c ite eq - 8016144: 2301 moveq r3, #1 - 8016146: 2300 movne r3, #0 - 8016148: b2db uxtb r3, r3 - 801614a: 83bb strh r3, [r7, #28] + 8015cce: 7ffb ldrb r3, [r7, #31] + 8015cd0: 2b00 cmp r3, #0 + 8015cd2: bf0c ite eq + 8015cd4: 2301 moveq r3, #1 + 8015cd6: 2300 movne r3, #0 + 8015cd8: b2db uxtb r3, r3 + 8015cda: 83bb strh r3, [r7, #28] p = tcp_output_alloc_header(pcb, optlen, len, seg->tcphdr->seqno); - 801614c: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8016150: b299 uxth r1, r3 - 8016152: 6a3b ldr r3, [r7, #32] - 8016154: 68db ldr r3, [r3, #12] - 8016156: 685b ldr r3, [r3, #4] - 8016158: 8bba ldrh r2, [r7, #28] - 801615a: 6878 ldr r0, [r7, #4] - 801615c: f7ff fdf8 bl 8015d50 - 8016160: 61b8 str r0, [r7, #24] + 8015cdc: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 8015ce0: b299 uxth r1, r3 + 8015ce2: 6a3b ldr r3, [r7, #32] + 8015ce4: 68db ldr r3, [r3, #12] + 8015ce6: 685b ldr r3, [r3, #4] + 8015ce8: 8bba ldrh r2, [r7, #28] + 8015cea: 6878 ldr r0, [r7, #4] + 8015cec: f7ff fdf8 bl 80158e0 + 8015cf0: 61b8 str r0, [r7, #24] if (p == NULL) { - 8016162: 69bb ldr r3, [r7, #24] - 8016164: 2b00 cmp r3, #0 - 8016166: d102 bne.n 801616e + 8015cf2: 69bb ldr r3, [r7, #24] + 8015cf4: 2b00 cmp r3, #0 + 8015cf6: d102 bne.n 8015cfe LWIP_DEBUGF(TCP_DEBUG, ("tcp_zero_window_probe: no memory for pbuf\n")); return ERR_MEM; - 8016168: f04f 33ff mov.w r3, #4294967295 - 801616c: e04c b.n 8016208 + 8015cf8: f04f 33ff mov.w r3, #4294967295 + 8015cfc: e04c b.n 8015d98 } tcphdr = (struct tcp_hdr *)p->payload; - 801616e: 69bb ldr r3, [r7, #24] - 8016170: 685b ldr r3, [r3, #4] - 8016172: 617b str r3, [r7, #20] + 8015cfe: 69bb ldr r3, [r7, #24] + 8015d00: 685b ldr r3, [r3, #4] + 8015d02: 617b str r3, [r7, #20] if (is_fin) { - 8016174: 7ffb ldrb r3, [r7, #31] - 8016176: 2b00 cmp r3, #0 - 8016178: d011 beq.n 801619e + 8015d04: 7ffb ldrb r3, [r7, #31] + 8015d06: 2b00 cmp r3, #0 + 8015d08: d011 beq.n 8015d2e /* FIN segment, no data */ TCPH_FLAGS_SET(tcphdr, TCP_ACK | TCP_FIN); - 801617a: 697b ldr r3, [r7, #20] - 801617c: 899b ldrh r3, [r3, #12] - 801617e: b29b uxth r3, r3 - 8016180: b21b sxth r3, r3 - 8016182: f423 537c bic.w r3, r3, #16128 ; 0x3f00 - 8016186: b21c sxth r4, r3 - 8016188: 2011 movs r0, #17 - 801618a: f7f9 f8b1 bl 800f2f0 - 801618e: 4603 mov r3, r0 - 8016190: b21b sxth r3, r3 - 8016192: 4323 orrs r3, r4 - 8016194: b21b sxth r3, r3 - 8016196: b29a uxth r2, r3 - 8016198: 697b ldr r3, [r7, #20] - 801619a: 819a strh r2, [r3, #12] - 801619c: e010 b.n 80161c0 + 8015d0a: 697b ldr r3, [r7, #20] + 8015d0c: 899b ldrh r3, [r3, #12] + 8015d0e: b29b uxth r3, r3 + 8015d10: b21b sxth r3, r3 + 8015d12: f423 537c bic.w r3, r3, #16128 ; 0x3f00 + 8015d16: b21c sxth r4, r3 + 8015d18: 2011 movs r0, #17 + 8015d1a: f7f9 f8b1 bl 800ee80 + 8015d1e: 4603 mov r3, r0 + 8015d20: b21b sxth r3, r3 + 8015d22: 4323 orrs r3, r4 + 8015d24: b21b sxth r3, r3 + 8015d26: b29a uxth r2, r3 + 8015d28: 697b ldr r3, [r7, #20] + 8015d2a: 819a strh r2, [r3, #12] + 8015d2c: e010 b.n 8015d50 } else { /* Data segment, copy in one byte from the head of the unacked queue */ char *d = ((char *)p->payload + TCP_HLEN); - 801619e: 69bb ldr r3, [r7, #24] - 80161a0: 685b ldr r3, [r3, #4] - 80161a2: 3314 adds r3, #20 - 80161a4: 613b str r3, [r7, #16] + 8015d2e: 69bb ldr r3, [r7, #24] + 8015d30: 685b ldr r3, [r3, #4] + 8015d32: 3314 adds r3, #20 + 8015d34: 613b str r3, [r7, #16] /* Depending on whether the segment has already been sent (unacked) or not (unsent), seg->p->payload points to the IP header or TCP header. Ensure we copy the first TCP data byte: */ pbuf_copy_partial(seg->p, d, 1, seg->p->tot_len - seg->len); - 80161a6: 6a3b ldr r3, [r7, #32] - 80161a8: 6858 ldr r0, [r3, #4] - 80161aa: 6a3b ldr r3, [r7, #32] - 80161ac: 685b ldr r3, [r3, #4] - 80161ae: 891a ldrh r2, [r3, #8] - 80161b0: 6a3b ldr r3, [r7, #32] - 80161b2: 891b ldrh r3, [r3, #8] - 80161b4: 1ad3 subs r3, r2, r3 - 80161b6: b29b uxth r3, r3 - 80161b8: 2201 movs r2, #1 - 80161ba: 6939 ldr r1, [r7, #16] - 80161bc: f7fa fe52 bl 8010e64 + 8015d36: 6a3b ldr r3, [r7, #32] + 8015d38: 6858 ldr r0, [r3, #4] + 8015d3a: 6a3b ldr r3, [r7, #32] + 8015d3c: 685b ldr r3, [r3, #4] + 8015d3e: 891a ldrh r2, [r3, #8] + 8015d40: 6a3b ldr r3, [r7, #32] + 8015d42: 891b ldrh r3, [r3, #8] + 8015d44: 1ad3 subs r3, r2, r3 + 8015d46: b29b uxth r3, r3 + 8015d48: 2201 movs r2, #1 + 8015d4a: 6939 ldr r1, [r7, #16] + 8015d4c: f7fa fe52 bl 80109f4 } /* The byte may be acknowledged without the window being opened. */ snd_nxt = lwip_ntohl(seg->tcphdr->seqno) + 1; - 80161c0: 6a3b ldr r3, [r7, #32] - 80161c2: 68db ldr r3, [r3, #12] - 80161c4: 685b ldr r3, [r3, #4] - 80161c6: 4618 mov r0, r3 - 80161c8: f7f9 f8a7 bl 800f31a - 80161cc: 4603 mov r3, r0 - 80161ce: 3301 adds r3, #1 - 80161d0: 60fb str r3, [r7, #12] + 8015d50: 6a3b ldr r3, [r7, #32] + 8015d52: 68db ldr r3, [r3, #12] + 8015d54: 685b ldr r3, [r3, #4] + 8015d56: 4618 mov r0, r3 + 8015d58: f7f9 f8a7 bl 800eeaa + 8015d5c: 4603 mov r3, r0 + 8015d5e: 3301 adds r3, #1 + 8015d60: 60fb str r3, [r7, #12] if (TCP_SEQ_LT(pcb->snd_nxt, snd_nxt)) { - 80161d2: 687b ldr r3, [r7, #4] - 80161d4: 6d1a ldr r2, [r3, #80] ; 0x50 - 80161d6: 68fb ldr r3, [r7, #12] - 80161d8: 1ad3 subs r3, r2, r3 - 80161da: 2b00 cmp r3, #0 - 80161dc: da02 bge.n 80161e4 + 8015d62: 687b ldr r3, [r7, #4] + 8015d64: 6d1a ldr r2, [r3, #80] ; 0x50 + 8015d66: 68fb ldr r3, [r7, #12] + 8015d68: 1ad3 subs r3, r2, r3 + 8015d6a: 2b00 cmp r3, #0 + 8015d6c: da02 bge.n 8015d74 pcb->snd_nxt = snd_nxt; - 80161de: 687b ldr r3, [r7, #4] - 80161e0: 68fa ldr r2, [r7, #12] - 80161e2: 651a str r2, [r3, #80] ; 0x50 + 8015d6e: 687b ldr r3, [r7, #4] + 8015d70: 68fa ldr r2, [r7, #12] + 8015d72: 651a str r2, [r3, #80] ; 0x50 } tcp_output_fill_options(pcb, p, 0, optlen); - 80161e4: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 80161e8: 2200 movs r2, #0 - 80161ea: 69b9 ldr r1, [r7, #24] - 80161ec: 6878 ldr r0, [r7, #4] - 80161ee: f7ff fded bl 8015dcc + 8015d74: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 8015d78: 2200 movs r2, #0 + 8015d7a: 69b9 ldr r1, [r7, #24] + 8015d7c: 6878 ldr r0, [r7, #4] + 8015d7e: f7ff fded bl 801595c err = tcp_output_control_segment(pcb, p, &pcb->local_ip, &pcb->remote_ip); - 80161f2: 687a ldr r2, [r7, #4] - 80161f4: 687b ldr r3, [r7, #4] - 80161f6: 3304 adds r3, #4 - 80161f8: 69b9 ldr r1, [r7, #24] - 80161fa: 6878 ldr r0, [r7, #4] - 80161fc: f7ff fe26 bl 8015e4c - 8016200: 4603 mov r3, r0 - 8016202: 72fb strb r3, [r7, #11] + 8015d82: 687a ldr r2, [r7, #4] + 8015d84: 687b ldr r3, [r7, #4] + 8015d86: 3304 adds r3, #4 + 8015d88: 69b9 ldr r1, [r7, #24] + 8015d8a: 6878 ldr r0, [r7, #4] + 8015d8c: f7ff fe26 bl 80159dc + 8015d90: 4603 mov r3, r0 + 8015d92: 72fb strb r3, [r7, #11] LWIP_DEBUGF(TCP_DEBUG, ("tcp_zero_window_probe: seqno %"U32_F " ackno %"U32_F" err %d.\n", pcb->snd_nxt - 1, pcb->rcv_nxt, (int)err)); return err; - 8016204: f997 300b ldrsb.w r3, [r7, #11] + 8015d94: f997 300b ldrsb.w r3, [r7, #11] } - 8016208: 4618 mov r0, r3 - 801620a: 372c adds r7, #44 ; 0x2c - 801620c: 46bd mov sp, r7 - 801620e: bd90 pop {r4, r7, pc} - 8016210: 0801df34 .word 0x0801df34 - 8016214: 0801e72c .word 0x0801e72c - 8016218: 0801df88 .word 0x0801df88 + 8015d98: 4618 mov r0, r3 + 8015d9a: 372c adds r7, #44 ; 0x2c + 8015d9c: 46bd mov sp, r7 + 8015d9e: bd90 pop {r4, r7, pc} + 8015da0: 0801d730 .word 0x0801d730 + 8015da4: 0801df28 .word 0x0801df28 + 8015da8: 0801d784 .word 0x0801d784 -0801621c : +08015dac : * * @param arg unused argument */ static void tcpip_tcp_timer(void *arg) { - 801621c: b580 push {r7, lr} - 801621e: b082 sub sp, #8 - 8016220: af00 add r7, sp, #0 - 8016222: 6078 str r0, [r7, #4] + 8015dac: b580 push {r7, lr} + 8015dae: b082 sub sp, #8 + 8015db0: af00 add r7, sp, #0 + 8015db2: 6078 str r0, [r7, #4] LWIP_UNUSED_ARG(arg); /* call TCP timer handler */ tcp_tmr(); - 8016224: f7fa ff0c bl 8011040 + 8015db4: f7fa ff0c bl 8010bd0 /* timer still needed? */ if (tcp_active_pcbs || tcp_tw_pcbs) { - 8016228: 4b0a ldr r3, [pc, #40] ; (8016254 ) - 801622a: 681b ldr r3, [r3, #0] - 801622c: 2b00 cmp r3, #0 - 801622e: d103 bne.n 8016238 - 8016230: 4b09 ldr r3, [pc, #36] ; (8016258 ) - 8016232: 681b ldr r3, [r3, #0] - 8016234: 2b00 cmp r3, #0 - 8016236: d005 beq.n 8016244 + 8015db8: 4b0a ldr r3, [pc, #40] ; (8015de4 ) + 8015dba: 681b ldr r3, [r3, #0] + 8015dbc: 2b00 cmp r3, #0 + 8015dbe: d103 bne.n 8015dc8 + 8015dc0: 4b09 ldr r3, [pc, #36] ; (8015de8 ) + 8015dc2: 681b ldr r3, [r3, #0] + 8015dc4: 2b00 cmp r3, #0 + 8015dc6: d005 beq.n 8015dd4 /* restart timer */ sys_timeout(TCP_TMR_INTERVAL, tcpip_tcp_timer, NULL); - 8016238: 2200 movs r2, #0 - 801623a: 4908 ldr r1, [pc, #32] ; (801625c ) - 801623c: 20fa movs r0, #250 ; 0xfa - 801623e: f000 f8f1 bl 8016424 - 8016242: e002 b.n 801624a + 8015dc8: 2200 movs r2, #0 + 8015dca: 4908 ldr r1, [pc, #32] ; (8015dec ) + 8015dcc: 20fa movs r0, #250 ; 0xfa + 8015dce: f000 f8f1 bl 8015fb4 + 8015dd2: e002 b.n 8015dda } else { /* disable timer */ tcpip_tcp_timer_active = 0; - 8016244: 4b06 ldr r3, [pc, #24] ; (8016260 ) - 8016246: 2200 movs r2, #0 - 8016248: 601a str r2, [r3, #0] + 8015dd4: 4b06 ldr r3, [pc, #24] ; (8015df0 ) + 8015dd6: 2200 movs r2, #0 + 8015dd8: 601a str r2, [r3, #0] } } - 801624a: bf00 nop - 801624c: 3708 adds r7, #8 - 801624e: 46bd mov sp, r7 - 8016250: bd80 pop {r7, pc} - 8016252: bf00 nop - 8016254: 2000f5c4 .word 0x2000f5c4 - 8016258: 2000f5d4 .word 0x2000f5d4 - 801625c: 0801621d .word 0x0801621d - 8016260: 20008768 .word 0x20008768 + 8015dda: bf00 nop + 8015ddc: 3708 adds r7, #8 + 8015dde: 46bd mov sp, r7 + 8015de0: bd80 pop {r7, pc} + 8015de2: bf00 nop + 8015de4: 2000f5c0 .word 0x2000f5c0 + 8015de8: 2000f5d0 .word 0x2000f5d0 + 8015dec: 08015dad .word 0x08015dad + 8015df0: 20008768 .word 0x20008768 -08016264 : +08015df4 : * the reason is to have the TCP timer only running when * there are active (or time-wait) PCBs. */ void tcp_timer_needed(void) { - 8016264: b580 push {r7, lr} - 8016266: af00 add r7, sp, #0 + 8015df4: b580 push {r7, lr} + 8015df6: af00 add r7, sp, #0 LWIP_ASSERT_CORE_LOCKED(); /* timer is off but needed again? */ if (!tcpip_tcp_timer_active && (tcp_active_pcbs || tcp_tw_pcbs)) { - 8016268: 4b0a ldr r3, [pc, #40] ; (8016294 ) - 801626a: 681b ldr r3, [r3, #0] - 801626c: 2b00 cmp r3, #0 - 801626e: d10f bne.n 8016290 - 8016270: 4b09 ldr r3, [pc, #36] ; (8016298 ) - 8016272: 681b ldr r3, [r3, #0] - 8016274: 2b00 cmp r3, #0 - 8016276: d103 bne.n 8016280 - 8016278: 4b08 ldr r3, [pc, #32] ; (801629c ) - 801627a: 681b ldr r3, [r3, #0] - 801627c: 2b00 cmp r3, #0 - 801627e: d007 beq.n 8016290 + 8015df8: 4b0a ldr r3, [pc, #40] ; (8015e24 ) + 8015dfa: 681b ldr r3, [r3, #0] + 8015dfc: 2b00 cmp r3, #0 + 8015dfe: d10f bne.n 8015e20 + 8015e00: 4b09 ldr r3, [pc, #36] ; (8015e28 ) + 8015e02: 681b ldr r3, [r3, #0] + 8015e04: 2b00 cmp r3, #0 + 8015e06: d103 bne.n 8015e10 + 8015e08: 4b08 ldr r3, [pc, #32] ; (8015e2c ) + 8015e0a: 681b ldr r3, [r3, #0] + 8015e0c: 2b00 cmp r3, #0 + 8015e0e: d007 beq.n 8015e20 /* enable and start timer */ tcpip_tcp_timer_active = 1; - 8016280: 4b04 ldr r3, [pc, #16] ; (8016294 ) - 8016282: 2201 movs r2, #1 - 8016284: 601a str r2, [r3, #0] + 8015e10: 4b04 ldr r3, [pc, #16] ; (8015e24 ) + 8015e12: 2201 movs r2, #1 + 8015e14: 601a str r2, [r3, #0] sys_timeout(TCP_TMR_INTERVAL, tcpip_tcp_timer, NULL); - 8016286: 2200 movs r2, #0 - 8016288: 4905 ldr r1, [pc, #20] ; (80162a0 ) - 801628a: 20fa movs r0, #250 ; 0xfa - 801628c: f000 f8ca bl 8016424 + 8015e16: 2200 movs r2, #0 + 8015e18: 4905 ldr r1, [pc, #20] ; (8015e30 ) + 8015e1a: 20fa movs r0, #250 ; 0xfa + 8015e1c: f000 f8ca bl 8015fb4 } } - 8016290: bf00 nop - 8016292: bd80 pop {r7, pc} - 8016294: 20008768 .word 0x20008768 - 8016298: 2000f5c4 .word 0x2000f5c4 - 801629c: 2000f5d4 .word 0x2000f5d4 - 80162a0: 0801621d .word 0x0801621d + 8015e20: bf00 nop + 8015e22: bd80 pop {r7, pc} + 8015e24: 20008768 .word 0x20008768 + 8015e28: 2000f5c0 .word 0x2000f5c0 + 8015e2c: 2000f5d0 .word 0x2000f5d0 + 8015e30: 08015dad .word 0x08015dad -080162a4 : +08015e34 : #if LWIP_DEBUG_TIMERNAMES sys_timeout_abs(u32_t abs_time, sys_timeout_handler handler, void *arg, const char *handler_name) #else /* LWIP_DEBUG_TIMERNAMES */ sys_timeout_abs(u32_t abs_time, sys_timeout_handler handler, void *arg) #endif { - 80162a4: b580 push {r7, lr} - 80162a6: b086 sub sp, #24 - 80162a8: af00 add r7, sp, #0 - 80162aa: 60f8 str r0, [r7, #12] - 80162ac: 60b9 str r1, [r7, #8] - 80162ae: 607a str r2, [r7, #4] + 8015e34: b580 push {r7, lr} + 8015e36: b086 sub sp, #24 + 8015e38: af00 add r7, sp, #0 + 8015e3a: 60f8 str r0, [r7, #12] + 8015e3c: 60b9 str r1, [r7, #8] + 8015e3e: 607a str r2, [r7, #4] struct sys_timeo *timeout, *t; timeout = (struct sys_timeo *)memp_malloc(MEMP_SYS_TIMEOUT); - 80162b0: 200a movs r0, #10 - 80162b2: f7f9 fcd3 bl 800fc5c - 80162b6: 6138 str r0, [r7, #16] + 8015e40: 200a movs r0, #10 + 8015e42: f7f9 fcd3 bl 800f7ec + 8015e46: 6138 str r0, [r7, #16] if (timeout == NULL) { - 80162b8: 693b ldr r3, [r7, #16] - 80162ba: 2b00 cmp r3, #0 - 80162bc: d109 bne.n 80162d2 + 8015e48: 693b ldr r3, [r7, #16] + 8015e4a: 2b00 cmp r3, #0 + 8015e4c: d109 bne.n 8015e62 LWIP_ASSERT("sys_timeout: timeout != NULL, pool MEMP_SYS_TIMEOUT is empty", timeout != NULL); - 80162be: 693b ldr r3, [r7, #16] - 80162c0: 2b00 cmp r3, #0 - 80162c2: d151 bne.n 8016368 - 80162c4: 4b2a ldr r3, [pc, #168] ; (8016370 ) - 80162c6: 22be movs r2, #190 ; 0xbe - 80162c8: 492a ldr r1, [pc, #168] ; (8016374 ) - 80162ca: 482b ldr r0, [pc, #172] ; (8016378 ) - 80162cc: f005 f8f4 bl 801b4b8 + 8015e4e: 693b ldr r3, [r7, #16] + 8015e50: 2b00 cmp r3, #0 + 8015e52: d151 bne.n 8015ef8 + 8015e54: 4b2a ldr r3, [pc, #168] ; (8015f00 ) + 8015e56: 22be movs r2, #190 ; 0xbe + 8015e58: 492a ldr r1, [pc, #168] ; (8015f04 ) + 8015e5a: 482b ldr r0, [pc, #172] ; (8015f08 ) + 8015e5c: f005 f8da bl 801b014 return; - 80162d0: e04a b.n 8016368 + 8015e60: e04a b.n 8015ef8 } timeout->next = NULL; - 80162d2: 693b ldr r3, [r7, #16] - 80162d4: 2200 movs r2, #0 - 80162d6: 601a str r2, [r3, #0] + 8015e62: 693b ldr r3, [r7, #16] + 8015e64: 2200 movs r2, #0 + 8015e66: 601a str r2, [r3, #0] timeout->h = handler; - 80162d8: 693b ldr r3, [r7, #16] - 80162da: 68ba ldr r2, [r7, #8] - 80162dc: 609a str r2, [r3, #8] + 8015e68: 693b ldr r3, [r7, #16] + 8015e6a: 68ba ldr r2, [r7, #8] + 8015e6c: 609a str r2, [r3, #8] timeout->arg = arg; - 80162de: 693b ldr r3, [r7, #16] - 80162e0: 687a ldr r2, [r7, #4] - 80162e2: 60da str r2, [r3, #12] + 8015e6e: 693b ldr r3, [r7, #16] + 8015e70: 687a ldr r2, [r7, #4] + 8015e72: 60da str r2, [r3, #12] timeout->time = abs_time; - 80162e4: 693b ldr r3, [r7, #16] - 80162e6: 68fa ldr r2, [r7, #12] - 80162e8: 605a str r2, [r3, #4] + 8015e74: 693b ldr r3, [r7, #16] + 8015e76: 68fa ldr r2, [r7, #12] + 8015e78: 605a str r2, [r3, #4] timeout->handler_name = handler_name; LWIP_DEBUGF(TIMERS_DEBUG, ("sys_timeout: %p abs_time=%"U32_F" handler=%s arg=%p\n", (void *)timeout, abs_time, handler_name, (void *)arg)); #endif /* LWIP_DEBUG_TIMERNAMES */ if (next_timeout == NULL) { - 80162ea: 4b24 ldr r3, [pc, #144] ; (801637c ) - 80162ec: 681b ldr r3, [r3, #0] - 80162ee: 2b00 cmp r3, #0 - 80162f0: d103 bne.n 80162fa + 8015e7a: 4b24 ldr r3, [pc, #144] ; (8015f0c ) + 8015e7c: 681b ldr r3, [r3, #0] + 8015e7e: 2b00 cmp r3, #0 + 8015e80: d103 bne.n 8015e8a next_timeout = timeout; - 80162f2: 4a22 ldr r2, [pc, #136] ; (801637c ) - 80162f4: 693b ldr r3, [r7, #16] - 80162f6: 6013 str r3, [r2, #0] + 8015e82: 4a22 ldr r2, [pc, #136] ; (8015f0c ) + 8015e84: 693b ldr r3, [r7, #16] + 8015e86: 6013 str r3, [r2, #0] return; - 80162f8: e037 b.n 801636a + 8015e88: e037 b.n 8015efa } if (TIME_LESS_THAN(timeout->time, next_timeout->time)) { - 80162fa: 693b ldr r3, [r7, #16] - 80162fc: 685a ldr r2, [r3, #4] - 80162fe: 4b1f ldr r3, [pc, #124] ; (801637c ) - 8016300: 681b ldr r3, [r3, #0] - 8016302: 685b ldr r3, [r3, #4] - 8016304: 1ad3 subs r3, r2, r3 - 8016306: 0fdb lsrs r3, r3, #31 - 8016308: f003 0301 and.w r3, r3, #1 - 801630c: b2db uxtb r3, r3 - 801630e: 2b00 cmp r3, #0 - 8016310: d007 beq.n 8016322 + 8015e8a: 693b ldr r3, [r7, #16] + 8015e8c: 685a ldr r2, [r3, #4] + 8015e8e: 4b1f ldr r3, [pc, #124] ; (8015f0c ) + 8015e90: 681b ldr r3, [r3, #0] + 8015e92: 685b ldr r3, [r3, #4] + 8015e94: 1ad3 subs r3, r2, r3 + 8015e96: 0fdb lsrs r3, r3, #31 + 8015e98: f003 0301 and.w r3, r3, #1 + 8015e9c: b2db uxtb r3, r3 + 8015e9e: 2b00 cmp r3, #0 + 8015ea0: d007 beq.n 8015eb2 timeout->next = next_timeout; - 8016312: 4b1a ldr r3, [pc, #104] ; (801637c ) - 8016314: 681a ldr r2, [r3, #0] - 8016316: 693b ldr r3, [r7, #16] - 8016318: 601a str r2, [r3, #0] + 8015ea2: 4b1a ldr r3, [pc, #104] ; (8015f0c ) + 8015ea4: 681a ldr r2, [r3, #0] + 8015ea6: 693b ldr r3, [r7, #16] + 8015ea8: 601a str r2, [r3, #0] next_timeout = timeout; - 801631a: 4a18 ldr r2, [pc, #96] ; (801637c ) - 801631c: 693b ldr r3, [r7, #16] - 801631e: 6013 str r3, [r2, #0] - 8016320: e023 b.n 801636a + 8015eaa: 4a18 ldr r2, [pc, #96] ; (8015f0c ) + 8015eac: 693b ldr r3, [r7, #16] + 8015eae: 6013 str r3, [r2, #0] + 8015eb0: e023 b.n 8015efa } else { for (t = next_timeout; t != NULL; t = t->next) { - 8016322: 4b16 ldr r3, [pc, #88] ; (801637c ) - 8016324: 681b ldr r3, [r3, #0] - 8016326: 617b str r3, [r7, #20] - 8016328: e01a b.n 8016360 + 8015eb2: 4b16 ldr r3, [pc, #88] ; (8015f0c ) + 8015eb4: 681b ldr r3, [r3, #0] + 8015eb6: 617b str r3, [r7, #20] + 8015eb8: e01a b.n 8015ef0 if ((t->next == NULL) || TIME_LESS_THAN(timeout->time, t->next->time)) { - 801632a: 697b ldr r3, [r7, #20] - 801632c: 681b ldr r3, [r3, #0] - 801632e: 2b00 cmp r3, #0 - 8016330: d00b beq.n 801634a - 8016332: 693b ldr r3, [r7, #16] - 8016334: 685a ldr r2, [r3, #4] - 8016336: 697b ldr r3, [r7, #20] - 8016338: 681b ldr r3, [r3, #0] - 801633a: 685b ldr r3, [r3, #4] - 801633c: 1ad3 subs r3, r2, r3 - 801633e: 0fdb lsrs r3, r3, #31 - 8016340: f003 0301 and.w r3, r3, #1 - 8016344: b2db uxtb r3, r3 - 8016346: 2b00 cmp r3, #0 - 8016348: d007 beq.n 801635a + 8015eba: 697b ldr r3, [r7, #20] + 8015ebc: 681b ldr r3, [r3, #0] + 8015ebe: 2b00 cmp r3, #0 + 8015ec0: d00b beq.n 8015eda + 8015ec2: 693b ldr r3, [r7, #16] + 8015ec4: 685a ldr r2, [r3, #4] + 8015ec6: 697b ldr r3, [r7, #20] + 8015ec8: 681b ldr r3, [r3, #0] + 8015eca: 685b ldr r3, [r3, #4] + 8015ecc: 1ad3 subs r3, r2, r3 + 8015ece: 0fdb lsrs r3, r3, #31 + 8015ed0: f003 0301 and.w r3, r3, #1 + 8015ed4: b2db uxtb r3, r3 + 8015ed6: 2b00 cmp r3, #0 + 8015ed8: d007 beq.n 8015eea timeout->next = t->next; - 801634a: 697b ldr r3, [r7, #20] - 801634c: 681a ldr r2, [r3, #0] - 801634e: 693b ldr r3, [r7, #16] - 8016350: 601a str r2, [r3, #0] + 8015eda: 697b ldr r3, [r7, #20] + 8015edc: 681a ldr r2, [r3, #0] + 8015ede: 693b ldr r3, [r7, #16] + 8015ee0: 601a str r2, [r3, #0] t->next = timeout; - 8016352: 697b ldr r3, [r7, #20] - 8016354: 693a ldr r2, [r7, #16] - 8016356: 601a str r2, [r3, #0] + 8015ee2: 697b ldr r3, [r7, #20] + 8015ee4: 693a ldr r2, [r7, #16] + 8015ee6: 601a str r2, [r3, #0] break; - 8016358: e007 b.n 801636a + 8015ee8: e007 b.n 8015efa for (t = next_timeout; t != NULL; t = t->next) { - 801635a: 697b ldr r3, [r7, #20] - 801635c: 681b ldr r3, [r3, #0] - 801635e: 617b str r3, [r7, #20] - 8016360: 697b ldr r3, [r7, #20] - 8016362: 2b00 cmp r3, #0 - 8016364: d1e1 bne.n 801632a - 8016366: e000 b.n 801636a + 8015eea: 697b ldr r3, [r7, #20] + 8015eec: 681b ldr r3, [r3, #0] + 8015eee: 617b str r3, [r7, #20] + 8015ef0: 697b ldr r3, [r7, #20] + 8015ef2: 2b00 cmp r3, #0 + 8015ef4: d1e1 bne.n 8015eba + 8015ef6: e000 b.n 8015efa return; - 8016368: bf00 nop + 8015ef8: bf00 nop } } } } - 801636a: 3718 adds r7, #24 - 801636c: 46bd mov sp, r7 - 801636e: bd80 pop {r7, pc} - 8016370: 0801e750 .word 0x0801e750 - 8016374: 0801e784 .word 0x0801e784 - 8016378: 0801e7c4 .word 0x0801e7c4 - 801637c: 20008760 .word 0x20008760 + 8015efa: 3718 adds r7, #24 + 8015efc: 46bd mov sp, r7 + 8015efe: bd80 pop {r7, pc} + 8015f00: 0801df4c .word 0x0801df4c + 8015f04: 0801df80 .word 0x0801df80 + 8015f08: 0801dfc0 .word 0x0801dfc0 + 8015f0c: 20008760 .word 0x20008760 -08016380 : +08015f10 : #if !LWIP_TESTMODE static #endif void lwip_cyclic_timer(void *arg) { - 8016380: b580 push {r7, lr} - 8016382: b086 sub sp, #24 - 8016384: af00 add r7, sp, #0 - 8016386: 6078 str r0, [r7, #4] + 8015f10: b580 push {r7, lr} + 8015f12: b086 sub sp, #24 + 8015f14: af00 add r7, sp, #0 + 8015f16: 6078 str r0, [r7, #4] u32_t now; u32_t next_timeout_time; const struct lwip_cyclic_timer *cyclic = (const struct lwip_cyclic_timer *)arg; - 8016388: 687b ldr r3, [r7, #4] - 801638a: 617b str r3, [r7, #20] + 8015f18: 687b ldr r3, [r7, #4] + 8015f1a: 617b str r3, [r7, #20] #if LWIP_DEBUG_TIMERNAMES LWIP_DEBUGF(TIMERS_DEBUG, ("tcpip: %s()\n", cyclic->handler_name)); #endif cyclic->handler(); - 801638c: 697b ldr r3, [r7, #20] - 801638e: 685b ldr r3, [r3, #4] - 8016390: 4798 blx r3 + 8015f1c: 697b ldr r3, [r7, #20] + 8015f1e: 685b ldr r3, [r3, #4] + 8015f20: 4798 blx r3 now = sys_now(); - 8016392: f7f5 fc59 bl 800bc48 - 8016396: 6138 str r0, [r7, #16] + 8015f22: f7f5 fc5f bl 800b7e4 + 8015f26: 6138 str r0, [r7, #16] next_timeout_time = (u32_t)(current_timeout_due_time + cyclic->interval_ms); /* overflow handled by TIME_LESS_THAN macro */ - 8016398: 697b ldr r3, [r7, #20] - 801639a: 681a ldr r2, [r3, #0] - 801639c: 4b0f ldr r3, [pc, #60] ; (80163dc ) - 801639e: 681b ldr r3, [r3, #0] - 80163a0: 4413 add r3, r2 - 80163a2: 60fb str r3, [r7, #12] + 8015f28: 697b ldr r3, [r7, #20] + 8015f2a: 681a ldr r2, [r3, #0] + 8015f2c: 4b0f ldr r3, [pc, #60] ; (8015f6c ) + 8015f2e: 681b ldr r3, [r3, #0] + 8015f30: 4413 add r3, r2 + 8015f32: 60fb str r3, [r7, #12] if (TIME_LESS_THAN(next_timeout_time, now)) { - 80163a4: 68fa ldr r2, [r7, #12] - 80163a6: 693b ldr r3, [r7, #16] - 80163a8: 1ad3 subs r3, r2, r3 - 80163aa: 0fdb lsrs r3, r3, #31 - 80163ac: f003 0301 and.w r3, r3, #1 - 80163b0: b2db uxtb r3, r3 - 80163b2: 2b00 cmp r3, #0 - 80163b4: d009 beq.n 80163ca + 8015f34: 68fa ldr r2, [r7, #12] + 8015f36: 693b ldr r3, [r7, #16] + 8015f38: 1ad3 subs r3, r2, r3 + 8015f3a: 0fdb lsrs r3, r3, #31 + 8015f3c: f003 0301 and.w r3, r3, #1 + 8015f40: b2db uxtb r3, r3 + 8015f42: 2b00 cmp r3, #0 + 8015f44: d009 beq.n 8015f5a /* timer would immediately expire again -> "overload" -> restart without any correction */ #if LWIP_DEBUG_TIMERNAMES sys_timeout_abs((u32_t)(now + cyclic->interval_ms), lwip_cyclic_timer, arg, cyclic->handler_name); #else sys_timeout_abs((u32_t)(now + cyclic->interval_ms), lwip_cyclic_timer, arg); - 80163b6: 697b ldr r3, [r7, #20] - 80163b8: 681a ldr r2, [r3, #0] - 80163ba: 693b ldr r3, [r7, #16] - 80163bc: 4413 add r3, r2 - 80163be: 687a ldr r2, [r7, #4] - 80163c0: 4907 ldr r1, [pc, #28] ; (80163e0 ) - 80163c2: 4618 mov r0, r3 - 80163c4: f7ff ff6e bl 80162a4 + 8015f46: 697b ldr r3, [r7, #20] + 8015f48: 681a ldr r2, [r3, #0] + 8015f4a: 693b ldr r3, [r7, #16] + 8015f4c: 4413 add r3, r2 + 8015f4e: 687a ldr r2, [r7, #4] + 8015f50: 4907 ldr r1, [pc, #28] ; (8015f70 ) + 8015f52: 4618 mov r0, r3 + 8015f54: f7ff ff6e bl 8015e34 sys_timeout_abs(next_timeout_time, lwip_cyclic_timer, arg, cyclic->handler_name); #else sys_timeout_abs(next_timeout_time, lwip_cyclic_timer, arg); #endif } } - 80163c8: e004 b.n 80163d4 + 8015f58: e004 b.n 8015f64 sys_timeout_abs(next_timeout_time, lwip_cyclic_timer, arg); - 80163ca: 687a ldr r2, [r7, #4] - 80163cc: 4904 ldr r1, [pc, #16] ; (80163e0 ) - 80163ce: 68f8 ldr r0, [r7, #12] - 80163d0: f7ff ff68 bl 80162a4 + 8015f5a: 687a ldr r2, [r7, #4] + 8015f5c: 4904 ldr r1, [pc, #16] ; (8015f70 ) + 8015f5e: 68f8 ldr r0, [r7, #12] + 8015f60: f7ff ff68 bl 8015e34 } - 80163d4: bf00 nop - 80163d6: 3718 adds r7, #24 - 80163d8: 46bd mov sp, r7 - 80163da: bd80 pop {r7, pc} - 80163dc: 20008764 .word 0x20008764 - 80163e0: 08016381 .word 0x08016381 + 8015f64: bf00 nop + 8015f66: 3718 adds r7, #24 + 8015f68: 46bd mov sp, r7 + 8015f6a: bd80 pop {r7, pc} + 8015f6c: 20008764 .word 0x20008764 + 8015f70: 08015f11 .word 0x08015f11 -080163e4 : +08015f74 : /** Initialize this module */ void sys_timeouts_init(void) { - 80163e4: b580 push {r7, lr} - 80163e6: b082 sub sp, #8 - 80163e8: af00 add r7, sp, #0 + 8015f74: b580 push {r7, lr} + 8015f76: b082 sub sp, #8 + 8015f78: af00 add r7, sp, #0 size_t i; /* tcp_tmr() at index 0 is started on demand */ for (i = (LWIP_TCP ? 1 : 0); i < LWIP_ARRAYSIZE(lwip_cyclic_timers); i++) { - 80163ea: 2301 movs r3, #1 - 80163ec: 607b str r3, [r7, #4] - 80163ee: e00e b.n 801640e + 8015f7a: 2301 movs r3, #1 + 8015f7c: 607b str r3, [r7, #4] + 8015f7e: e00e b.n 8015f9e /* we have to cast via size_t to get rid of const warning (this is OK as cyclic_timer() casts back to const* */ sys_timeout(lwip_cyclic_timers[i].interval_ms, lwip_cyclic_timer, LWIP_CONST_CAST(void *, &lwip_cyclic_timers[i])); - 80163f0: 4a0a ldr r2, [pc, #40] ; (801641c ) - 80163f2: 687b ldr r3, [r7, #4] - 80163f4: f852 0033 ldr.w r0, [r2, r3, lsl #3] - 80163f8: 687b ldr r3, [r7, #4] - 80163fa: 00db lsls r3, r3, #3 - 80163fc: 4a07 ldr r2, [pc, #28] ; (801641c ) - 80163fe: 4413 add r3, r2 - 8016400: 461a mov r2, r3 - 8016402: 4907 ldr r1, [pc, #28] ; (8016420 ) - 8016404: f000 f80e bl 8016424 + 8015f80: 4a0a ldr r2, [pc, #40] ; (8015fac ) + 8015f82: 687b ldr r3, [r7, #4] + 8015f84: f852 0033 ldr.w r0, [r2, r3, lsl #3] + 8015f88: 687b ldr r3, [r7, #4] + 8015f8a: 00db lsls r3, r3, #3 + 8015f8c: 4a07 ldr r2, [pc, #28] ; (8015fac ) + 8015f8e: 4413 add r3, r2 + 8015f90: 461a mov r2, r3 + 8015f92: 4907 ldr r1, [pc, #28] ; (8015fb0 ) + 8015f94: f000 f80e bl 8015fb4 for (i = (LWIP_TCP ? 1 : 0); i < LWIP_ARRAYSIZE(lwip_cyclic_timers); i++) { - 8016408: 687b ldr r3, [r7, #4] - 801640a: 3301 adds r3, #1 - 801640c: 607b str r3, [r7, #4] - 801640e: 687b ldr r3, [r7, #4] - 8016410: 2b04 cmp r3, #4 - 8016412: d9ed bls.n 80163f0 + 8015f98: 687b ldr r3, [r7, #4] + 8015f9a: 3301 adds r3, #1 + 8015f9c: 607b str r3, [r7, #4] + 8015f9e: 687b ldr r3, [r7, #4] + 8015fa0: 2b04 cmp r3, #4 + 8015fa2: d9ed bls.n 8015f80 } } - 8016414: bf00 nop - 8016416: 3708 adds r7, #8 - 8016418: 46bd mov sp, r7 - 801641a: bd80 pop {r7, pc} - 801641c: 08021644 .word 0x08021644 - 8016420: 08016381 .word 0x08016381 + 8015fa4: bf00 nop + 8015fa6: 3708 adds r7, #8 + 8015fa8: 46bd mov sp, r7 + 8015faa: bd80 pop {r7, pc} + 8015fac: 08020e40 .word 0x08020e40 + 8015fb0: 08015f11 .word 0x08015f11 -08016424 : +08015fb4 : sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char *handler_name) #else /* LWIP_DEBUG_TIMERNAMES */ void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg) #endif /* LWIP_DEBUG_TIMERNAMES */ { - 8016424: b580 push {r7, lr} - 8016426: b086 sub sp, #24 - 8016428: af00 add r7, sp, #0 - 801642a: 60f8 str r0, [r7, #12] - 801642c: 60b9 str r1, [r7, #8] - 801642e: 607a str r2, [r7, #4] + 8015fb4: b580 push {r7, lr} + 8015fb6: b086 sub sp, #24 + 8015fb8: af00 add r7, sp, #0 + 8015fba: 60f8 str r0, [r7, #12] + 8015fbc: 60b9 str r1, [r7, #8] + 8015fbe: 607a str r2, [r7, #4] u32_t next_timeout_time; LWIP_ASSERT_CORE_LOCKED(); LWIP_ASSERT("Timeout time too long, max is LWIP_UINT32_MAX/4 msecs", msecs <= (LWIP_UINT32_MAX / 4)); - 8016430: 68fb ldr r3, [r7, #12] - 8016432: f1b3 4f80 cmp.w r3, #1073741824 ; 0x40000000 - 8016436: d306 bcc.n 8016446 - 8016438: 4b0a ldr r3, [pc, #40] ; (8016464 ) - 801643a: f240 1229 movw r2, #297 ; 0x129 - 801643e: 490a ldr r1, [pc, #40] ; (8016468 ) - 8016440: 480a ldr r0, [pc, #40] ; (801646c ) - 8016442: f005 f839 bl 801b4b8 + 8015fc0: 68fb ldr r3, [r7, #12] + 8015fc2: f1b3 4f80 cmp.w r3, #1073741824 ; 0x40000000 + 8015fc6: d306 bcc.n 8015fd6 + 8015fc8: 4b0a ldr r3, [pc, #40] ; (8015ff4 ) + 8015fca: f240 1229 movw r2, #297 ; 0x129 + 8015fce: 490a ldr r1, [pc, #40] ; (8015ff8 ) + 8015fd0: 480a ldr r0, [pc, #40] ; (8015ffc ) + 8015fd2: f005 f81f bl 801b014 next_timeout_time = (u32_t)(sys_now() + msecs); /* overflow handled by TIME_LESS_THAN macro */ - 8016446: f7f5 fbff bl 800bc48 - 801644a: 4602 mov r2, r0 - 801644c: 68fb ldr r3, [r7, #12] - 801644e: 4413 add r3, r2 - 8016450: 617b str r3, [r7, #20] + 8015fd6: f7f5 fc05 bl 800b7e4 + 8015fda: 4602 mov r2, r0 + 8015fdc: 68fb ldr r3, [r7, #12] + 8015fde: 4413 add r3, r2 + 8015fe0: 617b str r3, [r7, #20] #if LWIP_DEBUG_TIMERNAMES sys_timeout_abs(next_timeout_time, handler, arg, handler_name); #else sys_timeout_abs(next_timeout_time, handler, arg); - 8016452: 687a ldr r2, [r7, #4] - 8016454: 68b9 ldr r1, [r7, #8] - 8016456: 6978 ldr r0, [r7, #20] - 8016458: f7ff ff24 bl 80162a4 + 8015fe2: 687a ldr r2, [r7, #4] + 8015fe4: 68b9 ldr r1, [r7, #8] + 8015fe6: 6978 ldr r0, [r7, #20] + 8015fe8: f7ff ff24 bl 8015e34 #endif } - 801645c: bf00 nop - 801645e: 3718 adds r7, #24 - 8016460: 46bd mov sp, r7 - 8016462: bd80 pop {r7, pc} - 8016464: 0801e750 .word 0x0801e750 - 8016468: 0801e7ec .word 0x0801e7ec - 801646c: 0801e7c4 .word 0x0801e7c4 + 8015fec: bf00 nop + 8015fee: 3718 adds r7, #24 + 8015ff0: 46bd mov sp, r7 + 8015ff2: bd80 pop {r7, pc} + 8015ff4: 0801df4c .word 0x0801df4c + 8015ff8: 0801dfe8 .word 0x0801dfe8 + 8015ffc: 0801dfc0 .word 0x0801dfc0 -08016470 : +08016000 : * * Must be called periodically from your main loop. */ void sys_check_timeouts(void) { - 8016470: b580 push {r7, lr} - 8016472: b084 sub sp, #16 - 8016474: af00 add r7, sp, #0 + 8016000: b580 push {r7, lr} + 8016002: b084 sub sp, #16 + 8016004: af00 add r7, sp, #0 u32_t now; LWIP_ASSERT_CORE_LOCKED(); /* Process only timers expired at the start of the function. */ now = sys_now(); - 8016476: f7f5 fbe7 bl 800bc48 - 801647a: 60f8 str r0, [r7, #12] + 8016006: f7f5 fbed bl 800b7e4 + 801600a: 60f8 str r0, [r7, #12] sys_timeout_handler handler; void *arg; PBUF_CHECK_FREE_OOSEQ(); tmptimeout = next_timeout; - 801647c: 4b17 ldr r3, [pc, #92] ; (80164dc ) - 801647e: 681b ldr r3, [r3, #0] - 8016480: 60bb str r3, [r7, #8] + 801600c: 4b17 ldr r3, [pc, #92] ; (801606c ) + 801600e: 681b ldr r3, [r3, #0] + 8016010: 60bb str r3, [r7, #8] if (tmptimeout == NULL) { - 8016482: 68bb ldr r3, [r7, #8] - 8016484: 2b00 cmp r3, #0 - 8016486: d022 beq.n 80164ce + 8016012: 68bb ldr r3, [r7, #8] + 8016014: 2b00 cmp r3, #0 + 8016016: d022 beq.n 801605e return; } if (TIME_LESS_THAN(now, tmptimeout->time)) { - 8016488: 68bb ldr r3, [r7, #8] - 801648a: 685b ldr r3, [r3, #4] - 801648c: 68fa ldr r2, [r7, #12] - 801648e: 1ad3 subs r3, r2, r3 - 8016490: 0fdb lsrs r3, r3, #31 - 8016492: f003 0301 and.w r3, r3, #1 - 8016496: b2db uxtb r3, r3 - 8016498: 2b00 cmp r3, #0 - 801649a: d11a bne.n 80164d2 + 8016018: 68bb ldr r3, [r7, #8] + 801601a: 685b ldr r3, [r3, #4] + 801601c: 68fa ldr r2, [r7, #12] + 801601e: 1ad3 subs r3, r2, r3 + 8016020: 0fdb lsrs r3, r3, #31 + 8016022: f003 0301 and.w r3, r3, #1 + 8016026: b2db uxtb r3, r3 + 8016028: 2b00 cmp r3, #0 + 801602a: d11a bne.n 8016062 return; } /* Timeout has expired */ next_timeout = tmptimeout->next; - 801649c: 68bb ldr r3, [r7, #8] - 801649e: 681b ldr r3, [r3, #0] - 80164a0: 4a0e ldr r2, [pc, #56] ; (80164dc ) - 80164a2: 6013 str r3, [r2, #0] + 801602c: 68bb ldr r3, [r7, #8] + 801602e: 681b ldr r3, [r3, #0] + 8016030: 4a0e ldr r2, [pc, #56] ; (801606c ) + 8016032: 6013 str r3, [r2, #0] handler = tmptimeout->h; - 80164a4: 68bb ldr r3, [r7, #8] - 80164a6: 689b ldr r3, [r3, #8] - 80164a8: 607b str r3, [r7, #4] + 8016034: 68bb ldr r3, [r7, #8] + 8016036: 689b ldr r3, [r3, #8] + 8016038: 607b str r3, [r7, #4] arg = tmptimeout->arg; - 80164aa: 68bb ldr r3, [r7, #8] - 80164ac: 68db ldr r3, [r3, #12] - 80164ae: 603b str r3, [r7, #0] + 801603a: 68bb ldr r3, [r7, #8] + 801603c: 68db ldr r3, [r3, #12] + 801603e: 603b str r3, [r7, #0] current_timeout_due_time = tmptimeout->time; - 80164b0: 68bb ldr r3, [r7, #8] - 80164b2: 685b ldr r3, [r3, #4] - 80164b4: 4a0a ldr r2, [pc, #40] ; (80164e0 ) - 80164b6: 6013 str r3, [r2, #0] + 8016040: 68bb ldr r3, [r7, #8] + 8016042: 685b ldr r3, [r3, #4] + 8016044: 4a0a ldr r2, [pc, #40] ; (8016070 ) + 8016046: 6013 str r3, [r2, #0] if (handler != NULL) { LWIP_DEBUGF(TIMERS_DEBUG, ("sct calling h=%s t=%"U32_F" arg=%p\n", tmptimeout->handler_name, sys_now() - tmptimeout->time, arg)); } #endif /* LWIP_DEBUG_TIMERNAMES */ memp_free(MEMP_SYS_TIMEOUT, tmptimeout); - 80164b8: 68b9 ldr r1, [r7, #8] - 80164ba: 200a movs r0, #10 - 80164bc: f7f9 fc20 bl 800fd00 + 8016048: 68b9 ldr r1, [r7, #8] + 801604a: 200a movs r0, #10 + 801604c: f7f9 fc20 bl 800f890 if (handler != NULL) { - 80164c0: 687b ldr r3, [r7, #4] - 80164c2: 2b00 cmp r3, #0 - 80164c4: d0da beq.n 801647c + 8016050: 687b ldr r3, [r7, #4] + 8016052: 2b00 cmp r3, #0 + 8016054: d0da beq.n 801600c handler(arg); - 80164c6: 687b ldr r3, [r7, #4] - 80164c8: 6838 ldr r0, [r7, #0] - 80164ca: 4798 blx r3 + 8016056: 687b ldr r3, [r7, #4] + 8016058: 6838 ldr r0, [r7, #0] + 801605a: 4798 blx r3 do { - 80164cc: e7d6 b.n 801647c + 801605c: e7d6 b.n 801600c return; - 80164ce: bf00 nop - 80164d0: e000 b.n 80164d4 + 801605e: bf00 nop + 8016060: e000 b.n 8016064 return; - 80164d2: bf00 nop + 8016062: bf00 nop } LWIP_TCPIP_THREAD_ALIVE(); /* Repeat until all expired timers have been called */ } while (1); } - 80164d4: 3710 adds r7, #16 - 80164d6: 46bd mov sp, r7 - 80164d8: bd80 pop {r7, pc} - 80164da: bf00 nop - 80164dc: 20008760 .word 0x20008760 - 80164e0: 20008764 .word 0x20008764 + 8016064: 3710 adds r7, #16 + 8016066: 46bd mov sp, r7 + 8016068: bd80 pop {r7, pc} + 801606a: bf00 nop + 801606c: 20008760 .word 0x20008760 + 8016070: 20008764 .word 0x20008764 -080164e4 : +08016074 : /** Return the time left before the next timeout is due. If no timeouts are * enqueued, returns 0xffffffff */ u32_t sys_timeouts_sleeptime(void) { - 80164e4: b580 push {r7, lr} - 80164e6: b082 sub sp, #8 - 80164e8: af00 add r7, sp, #0 + 8016074: b580 push {r7, lr} + 8016076: b082 sub sp, #8 + 8016078: af00 add r7, sp, #0 u32_t now; LWIP_ASSERT_CORE_LOCKED(); if (next_timeout == NULL) { - 80164ea: 4b16 ldr r3, [pc, #88] ; (8016544 ) - 80164ec: 681b ldr r3, [r3, #0] - 80164ee: 2b00 cmp r3, #0 - 80164f0: d102 bne.n 80164f8 + 801607a: 4b16 ldr r3, [pc, #88] ; (80160d4 ) + 801607c: 681b ldr r3, [r3, #0] + 801607e: 2b00 cmp r3, #0 + 8016080: d102 bne.n 8016088 return SYS_TIMEOUTS_SLEEPTIME_INFINITE; - 80164f2: f04f 33ff mov.w r3, #4294967295 - 80164f6: e020 b.n 801653a + 8016082: f04f 33ff mov.w r3, #4294967295 + 8016086: e020 b.n 80160ca } now = sys_now(); - 80164f8: f7f5 fba6 bl 800bc48 - 80164fc: 6078 str r0, [r7, #4] + 8016088: f7f5 fbac bl 800b7e4 + 801608c: 6078 str r0, [r7, #4] if (TIME_LESS_THAN(next_timeout->time, now)) { - 80164fe: 4b11 ldr r3, [pc, #68] ; (8016544 ) - 8016500: 681b ldr r3, [r3, #0] - 8016502: 685a ldr r2, [r3, #4] - 8016504: 687b ldr r3, [r7, #4] - 8016506: 1ad3 subs r3, r2, r3 - 8016508: 0fdb lsrs r3, r3, #31 - 801650a: f003 0301 and.w r3, r3, #1 - 801650e: b2db uxtb r3, r3 - 8016510: 2b00 cmp r3, #0 - 8016512: d001 beq.n 8016518 + 801608e: 4b11 ldr r3, [pc, #68] ; (80160d4 ) + 8016090: 681b ldr r3, [r3, #0] + 8016092: 685a ldr r2, [r3, #4] + 8016094: 687b ldr r3, [r7, #4] + 8016096: 1ad3 subs r3, r2, r3 + 8016098: 0fdb lsrs r3, r3, #31 + 801609a: f003 0301 and.w r3, r3, #1 + 801609e: b2db uxtb r3, r3 + 80160a0: 2b00 cmp r3, #0 + 80160a2: d001 beq.n 80160a8 return 0; - 8016514: 2300 movs r3, #0 - 8016516: e010 b.n 801653a + 80160a4: 2300 movs r3, #0 + 80160a6: e010 b.n 80160ca } else { u32_t ret = (u32_t)(next_timeout->time - now); - 8016518: 4b0a ldr r3, [pc, #40] ; (8016544 ) - 801651a: 681b ldr r3, [r3, #0] - 801651c: 685a ldr r2, [r3, #4] - 801651e: 687b ldr r3, [r7, #4] - 8016520: 1ad3 subs r3, r2, r3 - 8016522: 603b str r3, [r7, #0] + 80160a8: 4b0a ldr r3, [pc, #40] ; (80160d4 ) + 80160aa: 681b ldr r3, [r3, #0] + 80160ac: 685a ldr r2, [r3, #4] + 80160ae: 687b ldr r3, [r7, #4] + 80160b0: 1ad3 subs r3, r2, r3 + 80160b2: 603b str r3, [r7, #0] LWIP_ASSERT("invalid sleeptime", ret <= LWIP_MAX_TIMEOUT); - 8016524: 683b ldr r3, [r7, #0] - 8016526: 2b00 cmp r3, #0 - 8016528: da06 bge.n 8016538 - 801652a: 4b07 ldr r3, [pc, #28] ; (8016548 ) - 801652c: f44f 72dc mov.w r2, #440 ; 0x1b8 - 8016530: 4906 ldr r1, [pc, #24] ; (801654c ) - 8016532: 4807 ldr r0, [pc, #28] ; (8016550 ) - 8016534: f004 ffc0 bl 801b4b8 + 80160b4: 683b ldr r3, [r7, #0] + 80160b6: 2b00 cmp r3, #0 + 80160b8: da06 bge.n 80160c8 + 80160ba: 4b07 ldr r3, [pc, #28] ; (80160d8 ) + 80160bc: f44f 72dc mov.w r2, #440 ; 0x1b8 + 80160c0: 4906 ldr r1, [pc, #24] ; (80160dc ) + 80160c2: 4807 ldr r0, [pc, #28] ; (80160e0 ) + 80160c4: f004 ffa6 bl 801b014 return ret; - 8016538: 683b ldr r3, [r7, #0] + 80160c8: 683b ldr r3, [r7, #0] } } - 801653a: 4618 mov r0, r3 - 801653c: 3708 adds r7, #8 - 801653e: 46bd mov sp, r7 - 8016540: bd80 pop {r7, pc} - 8016542: bf00 nop - 8016544: 20008760 .word 0x20008760 - 8016548: 0801e750 .word 0x0801e750 - 801654c: 0801e824 .word 0x0801e824 - 8016550: 0801e7c4 .word 0x0801e7c4 + 80160ca: 4618 mov r0, r3 + 80160cc: 3708 adds r7, #8 + 80160ce: 46bd mov sp, r7 + 80160d0: bd80 pop {r7, pc} + 80160d2: bf00 nop + 80160d4: 20008760 .word 0x20008760 + 80160d8: 0801df4c .word 0x0801df4c + 80160dc: 0801e020 .word 0x0801e020 + 80160e0: 0801dfc0 .word 0x0801dfc0 -08016554 : +080160e4 : /** * Initialize this module. */ void udp_init(void) { - 8016554: b580 push {r7, lr} - 8016556: af00 add r7, sp, #0 + 80160e4: b580 push {r7, lr} + 80160e6: af00 add r7, sp, #0 #ifdef LWIP_RAND udp_port = UDP_ENSURE_LOCAL_PORT_RANGE(LWIP_RAND()); - 8016558: f004 ffc6 bl 801b4e8 - 801655c: 4603 mov r3, r0 - 801655e: b29b uxth r3, r3 - 8016560: f3c3 030d ubfx r3, r3, #0, #14 - 8016564: b29b uxth r3, r3 - 8016566: f5a3 4380 sub.w r3, r3, #16384 ; 0x4000 - 801656a: b29a uxth r2, r3 - 801656c: 4b01 ldr r3, [pc, #4] ; (8016574 ) - 801656e: 801a strh r2, [r3, #0] + 80160e8: f004 ffac bl 801b044 + 80160ec: 4603 mov r3, r0 + 80160ee: b29b uxth r3, r3 + 80160f0: f3c3 030d ubfx r3, r3, #0, #14 + 80160f4: b29b uxth r3, r3 + 80160f6: f5a3 4380 sub.w r3, r3, #16384 ; 0x4000 + 80160fa: b29a uxth r2, r3 + 80160fc: 4b01 ldr r3, [pc, #4] ; (8016104 ) + 80160fe: 801a strh r2, [r3, #0] #endif /* LWIP_RAND */ } - 8016570: bf00 nop - 8016572: bd80 pop {r7, pc} - 8016574: 2000007c .word 0x2000007c + 8016100: bf00 nop + 8016102: bd80 pop {r7, pc} + 8016104: 2000007c .word 0x2000007c -08016578 : +08016108 : * * @return a new (free) local UDP port number */ static u16_t udp_new_port(void) { - 8016578: b480 push {r7} - 801657a: b083 sub sp, #12 - 801657c: af00 add r7, sp, #0 + 8016108: b480 push {r7} + 801610a: b083 sub sp, #12 + 801610c: af00 add r7, sp, #0 u16_t n = 0; - 801657e: 2300 movs r3, #0 - 8016580: 80fb strh r3, [r7, #6] + 801610e: 2300 movs r3, #0 + 8016110: 80fb strh r3, [r7, #6] struct udp_pcb *pcb; again: if (udp_port++ == UDP_LOCAL_PORT_RANGE_END) { - 8016582: 4b17 ldr r3, [pc, #92] ; (80165e0 ) - 8016584: 881b ldrh r3, [r3, #0] - 8016586: 1c5a adds r2, r3, #1 - 8016588: b291 uxth r1, r2 - 801658a: 4a15 ldr r2, [pc, #84] ; (80165e0 ) - 801658c: 8011 strh r1, [r2, #0] - 801658e: f64f 72ff movw r2, #65535 ; 0xffff - 8016592: 4293 cmp r3, r2 - 8016594: d103 bne.n 801659e + 8016112: 4b17 ldr r3, [pc, #92] ; (8016170 ) + 8016114: 881b ldrh r3, [r3, #0] + 8016116: 1c5a adds r2, r3, #1 + 8016118: b291 uxth r1, r2 + 801611a: 4a15 ldr r2, [pc, #84] ; (8016170 ) + 801611c: 8011 strh r1, [r2, #0] + 801611e: f64f 72ff movw r2, #65535 ; 0xffff + 8016122: 4293 cmp r3, r2 + 8016124: d103 bne.n 801612e udp_port = UDP_LOCAL_PORT_RANGE_START; - 8016596: 4b12 ldr r3, [pc, #72] ; (80165e0 ) - 8016598: f44f 4240 mov.w r2, #49152 ; 0xc000 - 801659c: 801a strh r2, [r3, #0] + 8016126: 4b12 ldr r3, [pc, #72] ; (8016170 ) + 8016128: f44f 4240 mov.w r2, #49152 ; 0xc000 + 801612c: 801a strh r2, [r3, #0] } /* Check all PCBs. */ for (pcb = udp_pcbs; pcb != NULL; pcb = pcb->next) { - 801659e: 4b11 ldr r3, [pc, #68] ; (80165e4 ) - 80165a0: 681b ldr r3, [r3, #0] - 80165a2: 603b str r3, [r7, #0] - 80165a4: e011 b.n 80165ca + 801612e: 4b11 ldr r3, [pc, #68] ; (8016174 ) + 8016130: 681b ldr r3, [r3, #0] + 8016132: 603b str r3, [r7, #0] + 8016134: e011 b.n 801615a if (pcb->local_port == udp_port) { - 80165a6: 683b ldr r3, [r7, #0] - 80165a8: 8a5a ldrh r2, [r3, #18] - 80165aa: 4b0d ldr r3, [pc, #52] ; (80165e0 ) - 80165ac: 881b ldrh r3, [r3, #0] - 80165ae: 429a cmp r2, r3 - 80165b0: d108 bne.n 80165c4 + 8016136: 683b ldr r3, [r7, #0] + 8016138: 8a5a ldrh r2, [r3, #18] + 801613a: 4b0d ldr r3, [pc, #52] ; (8016170 ) + 801613c: 881b ldrh r3, [r3, #0] + 801613e: 429a cmp r2, r3 + 8016140: d108 bne.n 8016154 if (++n > (UDP_LOCAL_PORT_RANGE_END - UDP_LOCAL_PORT_RANGE_START)) { - 80165b2: 88fb ldrh r3, [r7, #6] - 80165b4: 3301 adds r3, #1 - 80165b6: 80fb strh r3, [r7, #6] - 80165b8: 88fb ldrh r3, [r7, #6] - 80165ba: f5b3 4f80 cmp.w r3, #16384 ; 0x4000 - 80165be: d3e0 bcc.n 8016582 + 8016142: 88fb ldrh r3, [r7, #6] + 8016144: 3301 adds r3, #1 + 8016146: 80fb strh r3, [r7, #6] + 8016148: 88fb ldrh r3, [r7, #6] + 801614a: f5b3 4f80 cmp.w r3, #16384 ; 0x4000 + 801614e: d3e0 bcc.n 8016112 return 0; - 80165c0: 2300 movs r3, #0 - 80165c2: e007 b.n 80165d4 + 8016150: 2300 movs r3, #0 + 8016152: e007 b.n 8016164 for (pcb = udp_pcbs; pcb != NULL; pcb = pcb->next) { - 80165c4: 683b ldr r3, [r7, #0] - 80165c6: 68db ldr r3, [r3, #12] - 80165c8: 603b str r3, [r7, #0] - 80165ca: 683b ldr r3, [r7, #0] - 80165cc: 2b00 cmp r3, #0 - 80165ce: d1ea bne.n 80165a6 + 8016154: 683b ldr r3, [r7, #0] + 8016156: 68db ldr r3, [r3, #12] + 8016158: 603b str r3, [r7, #0] + 801615a: 683b ldr r3, [r7, #0] + 801615c: 2b00 cmp r3, #0 + 801615e: d1ea bne.n 8016136 } goto again; } } return udp_port; - 80165d0: 4b03 ldr r3, [pc, #12] ; (80165e0 ) - 80165d2: 881b ldrh r3, [r3, #0] + 8016160: 4b03 ldr r3, [pc, #12] ; (8016170 ) + 8016162: 881b ldrh r3, [r3, #0] } - 80165d4: 4618 mov r0, r3 - 80165d6: 370c adds r7, #12 - 80165d8: 46bd mov sp, r7 - 80165da: f85d 7b04 ldr.w r7, [sp], #4 - 80165de: 4770 bx lr - 80165e0: 2000007c .word 0x2000007c - 80165e4: 2000f5dc .word 0x2000f5dc + 8016164: 4618 mov r0, r3 + 8016166: 370c adds r7, #12 + 8016168: 46bd mov sp, r7 + 801616a: f85d 7b04 ldr.w r7, [sp], #4 + 801616e: 4770 bx lr + 8016170: 2000007c .word 0x2000007c + 8016174: 2000f5d8 .word 0x2000f5d8 -080165e8 : +08016178 : * @param broadcast 1 if his is an IPv4 broadcast (global or subnet-only), 0 otherwise (only used for IPv4) * @return 1 on match, 0 otherwise */ static u8_t udp_input_local_match(struct udp_pcb *pcb, struct netif *inp, u8_t broadcast) { - 80165e8: b580 push {r7, lr} - 80165ea: b084 sub sp, #16 - 80165ec: af00 add r7, sp, #0 - 80165ee: 60f8 str r0, [r7, #12] - 80165f0: 60b9 str r1, [r7, #8] - 80165f2: 4613 mov r3, r2 - 80165f4: 71fb strb r3, [r7, #7] + 8016178: b580 push {r7, lr} + 801617a: b084 sub sp, #16 + 801617c: af00 add r7, sp, #0 + 801617e: 60f8 str r0, [r7, #12] + 8016180: 60b9 str r1, [r7, #8] + 8016182: 4613 mov r3, r2 + 8016184: 71fb strb r3, [r7, #7] LWIP_UNUSED_ARG(inp); /* in IPv6 only case */ LWIP_UNUSED_ARG(broadcast); /* in IPv6 only case */ LWIP_ASSERT("udp_input_local_match: invalid pcb", pcb != NULL); - 80165f6: 68fb ldr r3, [r7, #12] - 80165f8: 2b00 cmp r3, #0 - 80165fa: d105 bne.n 8016608 - 80165fc: 4b27 ldr r3, [pc, #156] ; (801669c ) - 80165fe: 2287 movs r2, #135 ; 0x87 - 8016600: 4927 ldr r1, [pc, #156] ; (80166a0 ) - 8016602: 4828 ldr r0, [pc, #160] ; (80166a4 ) - 8016604: f004 ff58 bl 801b4b8 + 8016186: 68fb ldr r3, [r7, #12] + 8016188: 2b00 cmp r3, #0 + 801618a: d105 bne.n 8016198 + 801618c: 4b27 ldr r3, [pc, #156] ; (801622c ) + 801618e: 2287 movs r2, #135 ; 0x87 + 8016190: 4927 ldr r1, [pc, #156] ; (8016230 ) + 8016192: 4828 ldr r0, [pc, #160] ; (8016234 ) + 8016194: f004 ff3e bl 801b014 LWIP_ASSERT("udp_input_local_match: invalid netif", inp != NULL); - 8016608: 68bb ldr r3, [r7, #8] - 801660a: 2b00 cmp r3, #0 - 801660c: d105 bne.n 801661a - 801660e: 4b23 ldr r3, [pc, #140] ; (801669c ) - 8016610: 2288 movs r2, #136 ; 0x88 - 8016612: 4925 ldr r1, [pc, #148] ; (80166a8 ) - 8016614: 4823 ldr r0, [pc, #140] ; (80166a4 ) - 8016616: f004 ff4f bl 801b4b8 + 8016198: 68bb ldr r3, [r7, #8] + 801619a: 2b00 cmp r3, #0 + 801619c: d105 bne.n 80161aa + 801619e: 4b23 ldr r3, [pc, #140] ; (801622c ) + 80161a0: 2288 movs r2, #136 ; 0x88 + 80161a2: 4925 ldr r1, [pc, #148] ; (8016238 ) + 80161a4: 4823 ldr r0, [pc, #140] ; (8016234 ) + 80161a6: f004 ff35 bl 801b014 /* check if PCB is bound to specific netif */ if ((pcb->netif_idx != NETIF_NO_INDEX) && - 801661a: 68fb ldr r3, [r7, #12] - 801661c: 7a1b ldrb r3, [r3, #8] - 801661e: 2b00 cmp r3, #0 - 8016620: d00b beq.n 801663a + 80161aa: 68fb ldr r3, [r7, #12] + 80161ac: 7a1b ldrb r3, [r3, #8] + 80161ae: 2b00 cmp r3, #0 + 80161b0: d00b beq.n 80161ca (pcb->netif_idx != netif_get_index(ip_data.current_input_netif))) { - 8016622: 68fb ldr r3, [r7, #12] - 8016624: 7a1a ldrb r2, [r3, #8] - 8016626: 4b21 ldr r3, [pc, #132] ; (80166ac ) - 8016628: 685b ldr r3, [r3, #4] - 801662a: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 - 801662e: 3301 adds r3, #1 - 8016630: b2db uxtb r3, r3 + 80161b2: 68fb ldr r3, [r7, #12] + 80161b4: 7a1a ldrb r2, [r3, #8] + 80161b6: 4b21 ldr r3, [pc, #132] ; (801623c ) + 80161b8: 685b ldr r3, [r3, #4] + 80161ba: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 + 80161be: 3301 adds r3, #1 + 80161c0: b2db uxtb r3, r3 if ((pcb->netif_idx != NETIF_NO_INDEX) && - 8016632: 429a cmp r2, r3 - 8016634: d001 beq.n 801663a + 80161c2: 429a cmp r2, r3 + 80161c4: d001 beq.n 80161ca return 0; - 8016636: 2300 movs r3, #0 - 8016638: e02b b.n 8016692 + 80161c6: 2300 movs r3, #0 + 80161c8: e02b b.n 8016222 /* Only need to check PCB if incoming IP version matches PCB IP version */ if (IP_ADDR_PCB_VERSION_MATCH_EXACT(pcb, ip_current_dest_addr())) { #if LWIP_IPV4 /* Special case: IPv4 broadcast: all or broadcasts in my subnet * Note: broadcast variable can only be 1 if it is an IPv4 broadcast */ if (broadcast != 0) { - 801663a: 79fb ldrb r3, [r7, #7] - 801663c: 2b00 cmp r3, #0 - 801663e: d018 beq.n 8016672 + 80161ca: 79fb ldrb r3, [r7, #7] + 80161cc: 2b00 cmp r3, #0 + 80161ce: d018 beq.n 8016202 #if IP_SOF_BROADCAST_RECV if (ip_get_option(pcb, SOF_BROADCAST)) #endif /* IP_SOF_BROADCAST_RECV */ { if (ip4_addr_isany(ip_2_ip4(&pcb->local_ip)) || - 8016640: 68fb ldr r3, [r7, #12] - 8016642: 2b00 cmp r3, #0 - 8016644: d013 beq.n 801666e - 8016646: 68fb ldr r3, [r7, #12] - 8016648: 681b ldr r3, [r3, #0] - 801664a: 2b00 cmp r3, #0 - 801664c: d00f beq.n 801666e + 80161d0: 68fb ldr r3, [r7, #12] + 80161d2: 2b00 cmp r3, #0 + 80161d4: d013 beq.n 80161fe + 80161d6: 68fb ldr r3, [r7, #12] + 80161d8: 681b ldr r3, [r3, #0] + 80161da: 2b00 cmp r3, #0 + 80161dc: d00f beq.n 80161fe ((ip4_current_dest_addr()->addr == IPADDR_BROADCAST)) || - 801664e: 4b17 ldr r3, [pc, #92] ; (80166ac ) - 8016650: 695b ldr r3, [r3, #20] + 80161de: 4b17 ldr r3, [pc, #92] ; (801623c ) + 80161e0: 695b ldr r3, [r3, #20] if (ip4_addr_isany(ip_2_ip4(&pcb->local_ip)) || - 8016652: f1b3 3fff cmp.w r3, #4294967295 - 8016656: d00a beq.n 801666e + 80161e2: f1b3 3fff cmp.w r3, #4294967295 + 80161e6: d00a beq.n 80161fe ip4_addr_netcmp(ip_2_ip4(&pcb->local_ip), ip4_current_dest_addr(), netif_ip4_netmask(inp))) { - 8016658: 68fb ldr r3, [r7, #12] - 801665a: 681a ldr r2, [r3, #0] - 801665c: 4b13 ldr r3, [pc, #76] ; (80166ac ) - 801665e: 695b ldr r3, [r3, #20] - 8016660: 405a eors r2, r3 - 8016662: 68bb ldr r3, [r7, #8] - 8016664: 3308 adds r3, #8 - 8016666: 681b ldr r3, [r3, #0] - 8016668: 4013 ands r3, r2 + 80161e8: 68fb ldr r3, [r7, #12] + 80161ea: 681a ldr r2, [r3, #0] + 80161ec: 4b13 ldr r3, [pc, #76] ; (801623c ) + 80161ee: 695b ldr r3, [r3, #20] + 80161f0: 405a eors r2, r3 + 80161f2: 68bb ldr r3, [r7, #8] + 80161f4: 3308 adds r3, #8 + 80161f6: 681b ldr r3, [r3, #0] + 80161f8: 4013 ands r3, r2 ((ip4_current_dest_addr()->addr == IPADDR_BROADCAST)) || - 801666a: 2b00 cmp r3, #0 - 801666c: d110 bne.n 8016690 + 80161fa: 2b00 cmp r3, #0 + 80161fc: d110 bne.n 8016220 return 1; - 801666e: 2301 movs r3, #1 - 8016670: e00f b.n 8016692 + 80161fe: 2301 movs r3, #1 + 8016200: e00f b.n 8016222 } } } else #endif /* LWIP_IPV4 */ /* Handle IPv4 and IPv6: all or exact match */ if (ip_addr_isany(&pcb->local_ip) || ip_addr_cmp(&pcb->local_ip, ip_current_dest_addr())) { - 8016672: 68fb ldr r3, [r7, #12] - 8016674: 2b00 cmp r3, #0 - 8016676: d009 beq.n 801668c - 8016678: 68fb ldr r3, [r7, #12] - 801667a: 681b ldr r3, [r3, #0] - 801667c: 2b00 cmp r3, #0 - 801667e: d005 beq.n 801668c - 8016680: 68fb ldr r3, [r7, #12] - 8016682: 681a ldr r2, [r3, #0] - 8016684: 4b09 ldr r3, [pc, #36] ; (80166ac ) - 8016686: 695b ldr r3, [r3, #20] - 8016688: 429a cmp r2, r3 - 801668a: d101 bne.n 8016690 + 8016202: 68fb ldr r3, [r7, #12] + 8016204: 2b00 cmp r3, #0 + 8016206: d009 beq.n 801621c + 8016208: 68fb ldr r3, [r7, #12] + 801620a: 681b ldr r3, [r3, #0] + 801620c: 2b00 cmp r3, #0 + 801620e: d005 beq.n 801621c + 8016210: 68fb ldr r3, [r7, #12] + 8016212: 681a ldr r2, [r3, #0] + 8016214: 4b09 ldr r3, [pc, #36] ; (801623c ) + 8016216: 695b ldr r3, [r3, #20] + 8016218: 429a cmp r2, r3 + 801621a: d101 bne.n 8016220 return 1; - 801668c: 2301 movs r3, #1 - 801668e: e000 b.n 8016692 + 801621c: 2301 movs r3, #1 + 801621e: e000 b.n 8016222 } } return 0; - 8016690: 2300 movs r3, #0 + 8016220: 2300 movs r3, #0 } - 8016692: 4618 mov r0, r3 - 8016694: 3710 adds r7, #16 - 8016696: 46bd mov sp, r7 - 8016698: bd80 pop {r7, pc} - 801669a: bf00 nop - 801669c: 0801e838 .word 0x0801e838 - 80166a0: 0801e868 .word 0x0801e868 - 80166a4: 0801e88c .word 0x0801e88c - 80166a8: 0801e8b4 .word 0x0801e8b4 - 80166ac: 2000be90 .word 0x2000be90 + 8016222: 4618 mov r0, r3 + 8016224: 3710 adds r7, #16 + 8016226: 46bd mov sp, r7 + 8016228: bd80 pop {r7, pc} + 801622a: bf00 nop + 801622c: 0801e034 .word 0x0801e034 + 8016230: 0801e064 .word 0x0801e064 + 8016234: 0801e088 .word 0x0801e088 + 8016238: 0801e0b0 .word 0x0801e0b0 + 801623c: 2000be8c .word 0x2000be8c -080166b0 : +08016240 : * @param inp network interface on which the datagram was received. * */ void udp_input(struct pbuf *p, struct netif *inp) { - 80166b0: b590 push {r4, r7, lr} - 80166b2: b08d sub sp, #52 ; 0x34 - 80166b4: af02 add r7, sp, #8 - 80166b6: 6078 str r0, [r7, #4] - 80166b8: 6039 str r1, [r7, #0] + 8016240: b590 push {r4, r7, lr} + 8016242: b08d sub sp, #52 ; 0x34 + 8016244: af02 add r7, sp, #8 + 8016246: 6078 str r0, [r7, #4] + 8016248: 6039 str r1, [r7, #0] struct udp_hdr *udphdr; struct udp_pcb *pcb, *prev; struct udp_pcb *uncon_pcb; u16_t src, dest; u8_t broadcast; u8_t for_us = 0; - 80166ba: 2300 movs r3, #0 - 80166bc: 76fb strb r3, [r7, #27] + 801624a: 2300 movs r3, #0 + 801624c: 76fb strb r3, [r7, #27] LWIP_UNUSED_ARG(inp); LWIP_ASSERT_CORE_LOCKED(); LWIP_ASSERT("udp_input: invalid pbuf", p != NULL); - 80166be: 687b ldr r3, [r7, #4] - 80166c0: 2b00 cmp r3, #0 - 80166c2: d105 bne.n 80166d0 - 80166c4: 4b7c ldr r3, [pc, #496] ; (80168b8 ) - 80166c6: 22cf movs r2, #207 ; 0xcf - 80166c8: 497c ldr r1, [pc, #496] ; (80168bc ) - 80166ca: 487d ldr r0, [pc, #500] ; (80168c0 ) - 80166cc: f004 fef4 bl 801b4b8 + 801624e: 687b ldr r3, [r7, #4] + 8016250: 2b00 cmp r3, #0 + 8016252: d105 bne.n 8016260 + 8016254: 4b7c ldr r3, [pc, #496] ; (8016448 ) + 8016256: 22cf movs r2, #207 ; 0xcf + 8016258: 497c ldr r1, [pc, #496] ; (801644c ) + 801625a: 487d ldr r0, [pc, #500] ; (8016450 ) + 801625c: f004 feda bl 801b014 LWIP_ASSERT("udp_input: invalid netif", inp != NULL); - 80166d0: 683b ldr r3, [r7, #0] - 80166d2: 2b00 cmp r3, #0 - 80166d4: d105 bne.n 80166e2 - 80166d6: 4b78 ldr r3, [pc, #480] ; (80168b8 ) - 80166d8: 22d0 movs r2, #208 ; 0xd0 - 80166da: 497a ldr r1, [pc, #488] ; (80168c4 ) - 80166dc: 4878 ldr r0, [pc, #480] ; (80168c0 ) - 80166de: f004 feeb bl 801b4b8 + 8016260: 683b ldr r3, [r7, #0] + 8016262: 2b00 cmp r3, #0 + 8016264: d105 bne.n 8016272 + 8016266: 4b78 ldr r3, [pc, #480] ; (8016448 ) + 8016268: 22d0 movs r2, #208 ; 0xd0 + 801626a: 497a ldr r1, [pc, #488] ; (8016454 ) + 801626c: 4878 ldr r0, [pc, #480] ; (8016450 ) + 801626e: f004 fed1 bl 801b014 PERF_START; UDP_STATS_INC(udp.recv); /* Check minimum length (UDP header) */ if (p->len < UDP_HLEN) { - 80166e2: 687b ldr r3, [r7, #4] - 80166e4: 895b ldrh r3, [r3, #10] - 80166e6: 2b07 cmp r3, #7 - 80166e8: d803 bhi.n 80166f2 + 8016272: 687b ldr r3, [r7, #4] + 8016274: 895b ldrh r3, [r3, #10] + 8016276: 2b07 cmp r3, #7 + 8016278: d803 bhi.n 8016282 LWIP_DEBUGF(UDP_DEBUG, ("udp_input: short UDP datagram (%"U16_F" bytes) discarded\n", p->tot_len)); UDP_STATS_INC(udp.lenerr); UDP_STATS_INC(udp.drop); MIB2_STATS_INC(mib2.udpinerrors); pbuf_free(p); - 80166ea: 6878 ldr r0, [r7, #4] - 80166ec: f7fa f9b4 bl 8010a58 + 801627a: 6878 ldr r0, [r7, #4] + 801627c: f7fa f9b4 bl 80105e8 goto end; - 80166f0: e0de b.n 80168b0 + 8016280: e0de b.n 8016440 } udphdr = (struct udp_hdr *)p->payload; - 80166f2: 687b ldr r3, [r7, #4] - 80166f4: 685b ldr r3, [r3, #4] - 80166f6: 617b str r3, [r7, #20] + 8016282: 687b ldr r3, [r7, #4] + 8016284: 685b ldr r3, [r3, #4] + 8016286: 617b str r3, [r7, #20] /* is broadcast packet ? */ broadcast = ip_addr_isbroadcast(ip_current_dest_addr(), ip_current_netif()); - 80166f8: 4b73 ldr r3, [pc, #460] ; (80168c8 ) - 80166fa: 695a ldr r2, [r3, #20] - 80166fc: 4b72 ldr r3, [pc, #456] ; (80168c8 ) - 80166fe: 681b ldr r3, [r3, #0] - 8016700: 4619 mov r1, r3 - 8016702: 4610 mov r0, r2 - 8016704: f003 fe16 bl 801a334 - 8016708: 4603 mov r3, r0 - 801670a: 74fb strb r3, [r7, #19] + 8016288: 4b73 ldr r3, [pc, #460] ; (8016458 ) + 801628a: 695a ldr r2, [r3, #20] + 801628c: 4b72 ldr r3, [pc, #456] ; (8016458 ) + 801628e: 681b ldr r3, [r3, #0] + 8016290: 4619 mov r1, r3 + 8016292: 4610 mov r0, r2 + 8016294: f003 fe16 bl 8019ec4 + 8016298: 4603 mov r3, r0 + 801629a: 74fb strb r3, [r7, #19] LWIP_DEBUGF(UDP_DEBUG, ("udp_input: received datagram of length %"U16_F"\n", p->tot_len)); /* convert src and dest ports to host byte order */ src = lwip_ntohs(udphdr->src); - 801670c: 697b ldr r3, [r7, #20] - 801670e: 881b ldrh r3, [r3, #0] - 8016710: b29b uxth r3, r3 - 8016712: 4618 mov r0, r3 - 8016714: f7f8 fdec bl 800f2f0 - 8016718: 4603 mov r3, r0 - 801671a: 823b strh r3, [r7, #16] + 801629c: 697b ldr r3, [r7, #20] + 801629e: 881b ldrh r3, [r3, #0] + 80162a0: b29b uxth r3, r3 + 80162a2: 4618 mov r0, r3 + 80162a4: f7f8 fdec bl 800ee80 + 80162a8: 4603 mov r3, r0 + 80162aa: 823b strh r3, [r7, #16] dest = lwip_ntohs(udphdr->dest); - 801671c: 697b ldr r3, [r7, #20] - 801671e: 885b ldrh r3, [r3, #2] - 8016720: b29b uxth r3, r3 - 8016722: 4618 mov r0, r3 - 8016724: f7f8 fde4 bl 800f2f0 - 8016728: 4603 mov r3, r0 - 801672a: 81fb strh r3, [r7, #14] + 80162ac: 697b ldr r3, [r7, #20] + 80162ae: 885b ldrh r3, [r3, #2] + 80162b0: b29b uxth r3, r3 + 80162b2: 4618 mov r0, r3 + 80162b4: f7f8 fde4 bl 800ee80 + 80162b8: 4603 mov r3, r0 + 80162ba: 81fb strh r3, [r7, #14] ip_addr_debug_print_val(UDP_DEBUG, *ip_current_dest_addr()); LWIP_DEBUGF(UDP_DEBUG, (", %"U16_F") <-- (", lwip_ntohs(udphdr->dest))); ip_addr_debug_print_val(UDP_DEBUG, *ip_current_src_addr()); LWIP_DEBUGF(UDP_DEBUG, (", %"U16_F")\n", lwip_ntohs(udphdr->src))); pcb = NULL; - 801672c: 2300 movs r3, #0 - 801672e: 627b str r3, [r7, #36] ; 0x24 + 80162bc: 2300 movs r3, #0 + 80162be: 627b str r3, [r7, #36] ; 0x24 prev = NULL; - 8016730: 2300 movs r3, #0 - 8016732: 623b str r3, [r7, #32] + 80162c0: 2300 movs r3, #0 + 80162c2: 623b str r3, [r7, #32] uncon_pcb = NULL; - 8016734: 2300 movs r3, #0 - 8016736: 61fb str r3, [r7, #28] + 80162c4: 2300 movs r3, #0 + 80162c6: 61fb str r3, [r7, #28] /* Iterate through the UDP pcb list for a matching pcb. * 'Perfect match' pcbs (connected to the remote port & ip address) are * preferred. If no perfect match is found, the first unconnected pcb that * matches the local port and ip address gets the datagram. */ for (pcb = udp_pcbs; pcb != NULL; pcb = pcb->next) { - 8016738: 4b64 ldr r3, [pc, #400] ; (80168cc ) - 801673a: 681b ldr r3, [r3, #0] - 801673c: 627b str r3, [r7, #36] ; 0x24 - 801673e: e054 b.n 80167ea + 80162c8: 4b64 ldr r3, [pc, #400] ; (801645c ) + 80162ca: 681b ldr r3, [r3, #0] + 80162cc: 627b str r3, [r7, #36] ; 0x24 + 80162ce: e054 b.n 801637a LWIP_DEBUGF(UDP_DEBUG, (", %"U16_F") <-- (", pcb->local_port)); ip_addr_debug_print_val(UDP_DEBUG, pcb->remote_ip); LWIP_DEBUGF(UDP_DEBUG, (", %"U16_F")\n", pcb->remote_port)); /* compare PCB local addr+port to UDP destination addr+port */ if ((pcb->local_port == dest) && - 8016740: 6a7b ldr r3, [r7, #36] ; 0x24 - 8016742: 8a5b ldrh r3, [r3, #18] - 8016744: 89fa ldrh r2, [r7, #14] - 8016746: 429a cmp r2, r3 - 8016748: d14a bne.n 80167e0 + 80162d0: 6a7b ldr r3, [r7, #36] ; 0x24 + 80162d2: 8a5b ldrh r3, [r3, #18] + 80162d4: 89fa ldrh r2, [r7, #14] + 80162d6: 429a cmp r2, r3 + 80162d8: d14a bne.n 8016370 (udp_input_local_match(pcb, inp, broadcast) != 0)) { - 801674a: 7cfb ldrb r3, [r7, #19] - 801674c: 461a mov r2, r3 - 801674e: 6839 ldr r1, [r7, #0] - 8016750: 6a78 ldr r0, [r7, #36] ; 0x24 - 8016752: f7ff ff49 bl 80165e8 - 8016756: 4603 mov r3, r0 + 80162da: 7cfb ldrb r3, [r7, #19] + 80162dc: 461a mov r2, r3 + 80162de: 6839 ldr r1, [r7, #0] + 80162e0: 6a78 ldr r0, [r7, #36] ; 0x24 + 80162e2: f7ff ff49 bl 8016178 + 80162e6: 4603 mov r3, r0 if ((pcb->local_port == dest) && - 8016758: 2b00 cmp r3, #0 - 801675a: d041 beq.n 80167e0 + 80162e8: 2b00 cmp r3, #0 + 80162ea: d041 beq.n 8016370 if ((pcb->flags & UDP_FLAGS_CONNECTED) == 0) { - 801675c: 6a7b ldr r3, [r7, #36] ; 0x24 - 801675e: 7c1b ldrb r3, [r3, #16] - 8016760: f003 0304 and.w r3, r3, #4 - 8016764: 2b00 cmp r3, #0 - 8016766: d11d bne.n 80167a4 + 80162ec: 6a7b ldr r3, [r7, #36] ; 0x24 + 80162ee: 7c1b ldrb r3, [r3, #16] + 80162f0: f003 0304 and.w r3, r3, #4 + 80162f4: 2b00 cmp r3, #0 + 80162f6: d11d bne.n 8016334 if (uncon_pcb == NULL) { - 8016768: 69fb ldr r3, [r7, #28] - 801676a: 2b00 cmp r3, #0 - 801676c: d102 bne.n 8016774 + 80162f8: 69fb ldr r3, [r7, #28] + 80162fa: 2b00 cmp r3, #0 + 80162fc: d102 bne.n 8016304 /* the first unconnected matching PCB */ uncon_pcb = pcb; - 801676e: 6a7b ldr r3, [r7, #36] ; 0x24 - 8016770: 61fb str r3, [r7, #28] - 8016772: e017 b.n 80167a4 + 80162fe: 6a7b ldr r3, [r7, #36] ; 0x24 + 8016300: 61fb str r3, [r7, #28] + 8016302: e017 b.n 8016334 #if LWIP_IPV4 } else if (broadcast && ip4_current_dest_addr()->addr == IPADDR_BROADCAST) { - 8016774: 7cfb ldrb r3, [r7, #19] - 8016776: 2b00 cmp r3, #0 - 8016778: d014 beq.n 80167a4 - 801677a: 4b53 ldr r3, [pc, #332] ; (80168c8 ) - 801677c: 695b ldr r3, [r3, #20] - 801677e: f1b3 3fff cmp.w r3, #4294967295 - 8016782: d10f bne.n 80167a4 + 8016304: 7cfb ldrb r3, [r7, #19] + 8016306: 2b00 cmp r3, #0 + 8016308: d014 beq.n 8016334 + 801630a: 4b53 ldr r3, [pc, #332] ; (8016458 ) + 801630c: 695b ldr r3, [r3, #20] + 801630e: f1b3 3fff cmp.w r3, #4294967295 + 8016312: d10f bne.n 8016334 /* global broadcast address (only valid for IPv4; match was checked before) */ if (!IP_IS_V4_VAL(uncon_pcb->local_ip) || !ip4_addr_cmp(ip_2_ip4(&uncon_pcb->local_ip), netif_ip4_addr(inp))) { - 8016784: 69fb ldr r3, [r7, #28] - 8016786: 681a ldr r2, [r3, #0] - 8016788: 683b ldr r3, [r7, #0] - 801678a: 3304 adds r3, #4 - 801678c: 681b ldr r3, [r3, #0] - 801678e: 429a cmp r2, r3 - 8016790: d008 beq.n 80167a4 + 8016314: 69fb ldr r3, [r7, #28] + 8016316: 681a ldr r2, [r3, #0] + 8016318: 683b ldr r3, [r7, #0] + 801631a: 3304 adds r3, #4 + 801631c: 681b ldr r3, [r3, #0] + 801631e: 429a cmp r2, r3 + 8016320: d008 beq.n 8016334 /* uncon_pcb does not match the input netif, check this pcb */ if (IP_IS_V4_VAL(pcb->local_ip) && ip4_addr_cmp(ip_2_ip4(&pcb->local_ip), netif_ip4_addr(inp))) { - 8016792: 6a7b ldr r3, [r7, #36] ; 0x24 - 8016794: 681a ldr r2, [r3, #0] - 8016796: 683b ldr r3, [r7, #0] - 8016798: 3304 adds r3, #4 - 801679a: 681b ldr r3, [r3, #0] - 801679c: 429a cmp r2, r3 - 801679e: d101 bne.n 80167a4 + 8016322: 6a7b ldr r3, [r7, #36] ; 0x24 + 8016324: 681a ldr r2, [r3, #0] + 8016326: 683b ldr r3, [r7, #0] + 8016328: 3304 adds r3, #4 + 801632a: 681b ldr r3, [r3, #0] + 801632c: 429a cmp r2, r3 + 801632e: d101 bne.n 8016334 /* better match */ uncon_pcb = pcb; - 80167a0: 6a7b ldr r3, [r7, #36] ; 0x24 - 80167a2: 61fb str r3, [r7, #28] + 8016330: 6a7b ldr r3, [r7, #36] ; 0x24 + 8016332: 61fb str r3, [r7, #28] } #endif /* SO_REUSE */ } /* compare PCB remote addr+port to UDP source addr+port */ if ((pcb->remote_port == src) && - 80167a4: 6a7b ldr r3, [r7, #36] ; 0x24 - 80167a6: 8a9b ldrh r3, [r3, #20] - 80167a8: 8a3a ldrh r2, [r7, #16] - 80167aa: 429a cmp r2, r3 - 80167ac: d118 bne.n 80167e0 + 8016334: 6a7b ldr r3, [r7, #36] ; 0x24 + 8016336: 8a9b ldrh r3, [r3, #20] + 8016338: 8a3a ldrh r2, [r7, #16] + 801633a: 429a cmp r2, r3 + 801633c: d118 bne.n 8016370 (ip_addr_isany_val(pcb->remote_ip) || - 80167ae: 6a7b ldr r3, [r7, #36] ; 0x24 - 80167b0: 685b ldr r3, [r3, #4] + 801633e: 6a7b ldr r3, [r7, #36] ; 0x24 + 8016340: 685b ldr r3, [r3, #4] if ((pcb->remote_port == src) && - 80167b2: 2b00 cmp r3, #0 - 80167b4: d005 beq.n 80167c2 + 8016342: 2b00 cmp r3, #0 + 8016344: d005 beq.n 8016352 ip_addr_cmp(&pcb->remote_ip, ip_current_src_addr()))) { - 80167b6: 6a7b ldr r3, [r7, #36] ; 0x24 - 80167b8: 685a ldr r2, [r3, #4] - 80167ba: 4b43 ldr r3, [pc, #268] ; (80168c8 ) - 80167bc: 691b ldr r3, [r3, #16] + 8016346: 6a7b ldr r3, [r7, #36] ; 0x24 + 8016348: 685a ldr r2, [r3, #4] + 801634a: 4b43 ldr r3, [pc, #268] ; (8016458 ) + 801634c: 691b ldr r3, [r3, #16] (ip_addr_isany_val(pcb->remote_ip) || - 80167be: 429a cmp r2, r3 - 80167c0: d10e bne.n 80167e0 + 801634e: 429a cmp r2, r3 + 8016350: d10e bne.n 8016370 /* the first fully matching PCB */ if (prev != NULL) { - 80167c2: 6a3b ldr r3, [r7, #32] - 80167c4: 2b00 cmp r3, #0 - 80167c6: d014 beq.n 80167f2 + 8016352: 6a3b ldr r3, [r7, #32] + 8016354: 2b00 cmp r3, #0 + 8016356: d014 beq.n 8016382 /* move the pcb to the front of udp_pcbs so that is found faster next time */ prev->next = pcb->next; - 80167c8: 6a7b ldr r3, [r7, #36] ; 0x24 - 80167ca: 68da ldr r2, [r3, #12] - 80167cc: 6a3b ldr r3, [r7, #32] - 80167ce: 60da str r2, [r3, #12] + 8016358: 6a7b ldr r3, [r7, #36] ; 0x24 + 801635a: 68da ldr r2, [r3, #12] + 801635c: 6a3b ldr r3, [r7, #32] + 801635e: 60da str r2, [r3, #12] pcb->next = udp_pcbs; - 80167d0: 4b3e ldr r3, [pc, #248] ; (80168cc ) - 80167d2: 681a ldr r2, [r3, #0] - 80167d4: 6a7b ldr r3, [r7, #36] ; 0x24 - 80167d6: 60da str r2, [r3, #12] + 8016360: 4b3e ldr r3, [pc, #248] ; (801645c ) + 8016362: 681a ldr r2, [r3, #0] + 8016364: 6a7b ldr r3, [r7, #36] ; 0x24 + 8016366: 60da str r2, [r3, #12] udp_pcbs = pcb; - 80167d8: 4a3c ldr r2, [pc, #240] ; (80168cc ) - 80167da: 6a7b ldr r3, [r7, #36] ; 0x24 - 80167dc: 6013 str r3, [r2, #0] + 8016368: 4a3c ldr r2, [pc, #240] ; (801645c ) + 801636a: 6a7b ldr r3, [r7, #36] ; 0x24 + 801636c: 6013 str r3, [r2, #0] } else { UDP_STATS_INC(udp.cachehit); } break; - 80167de: e008 b.n 80167f2 + 801636e: e008 b.n 8016382 } } prev = pcb; - 80167e0: 6a7b ldr r3, [r7, #36] ; 0x24 - 80167e2: 623b str r3, [r7, #32] + 8016370: 6a7b ldr r3, [r7, #36] ; 0x24 + 8016372: 623b str r3, [r7, #32] for (pcb = udp_pcbs; pcb != NULL; pcb = pcb->next) { - 80167e4: 6a7b ldr r3, [r7, #36] ; 0x24 - 80167e6: 68db ldr r3, [r3, #12] - 80167e8: 627b str r3, [r7, #36] ; 0x24 - 80167ea: 6a7b ldr r3, [r7, #36] ; 0x24 - 80167ec: 2b00 cmp r3, #0 - 80167ee: d1a7 bne.n 8016740 - 80167f0: e000 b.n 80167f4 + 8016374: 6a7b ldr r3, [r7, #36] ; 0x24 + 8016376: 68db ldr r3, [r3, #12] + 8016378: 627b str r3, [r7, #36] ; 0x24 + 801637a: 6a7b ldr r3, [r7, #36] ; 0x24 + 801637c: 2b00 cmp r3, #0 + 801637e: d1a7 bne.n 80162d0 + 8016380: e000 b.n 8016384 break; - 80167f2: bf00 nop + 8016382: bf00 nop } /* no fully matching pcb found? then look for an unconnected pcb */ if (pcb == NULL) { - 80167f4: 6a7b ldr r3, [r7, #36] ; 0x24 - 80167f6: 2b00 cmp r3, #0 - 80167f8: d101 bne.n 80167fe + 8016384: 6a7b ldr r3, [r7, #36] ; 0x24 + 8016386: 2b00 cmp r3, #0 + 8016388: d101 bne.n 801638e pcb = uncon_pcb; - 80167fa: 69fb ldr r3, [r7, #28] - 80167fc: 627b str r3, [r7, #36] ; 0x24 + 801638a: 69fb ldr r3, [r7, #28] + 801638c: 627b str r3, [r7, #36] ; 0x24 } /* Check checksum if this is a match or if it was directed at us. */ if (pcb != NULL) { - 80167fe: 6a7b ldr r3, [r7, #36] ; 0x24 - 8016800: 2b00 cmp r3, #0 - 8016802: d002 beq.n 801680a + 801638e: 6a7b ldr r3, [r7, #36] ; 0x24 + 8016390: 2b00 cmp r3, #0 + 8016392: d002 beq.n 801639a for_us = 1; - 8016804: 2301 movs r3, #1 - 8016806: 76fb strb r3, [r7, #27] - 8016808: e00a b.n 8016820 + 8016394: 2301 movs r3, #1 + 8016396: 76fb strb r3, [r7, #27] + 8016398: e00a b.n 80163b0 for_us = netif_get_ip6_addr_match(inp, ip6_current_dest_addr()) >= 0; } #endif /* LWIP_IPV6 */ #if LWIP_IPV4 if (!ip_current_is_v6()) { for_us = ip4_addr_cmp(netif_ip4_addr(inp), ip4_current_dest_addr()); - 801680a: 683b ldr r3, [r7, #0] - 801680c: 3304 adds r3, #4 - 801680e: 681a ldr r2, [r3, #0] - 8016810: 4b2d ldr r3, [pc, #180] ; (80168c8 ) - 8016812: 695b ldr r3, [r3, #20] - 8016814: 429a cmp r2, r3 - 8016816: bf0c ite eq - 8016818: 2301 moveq r3, #1 - 801681a: 2300 movne r3, #0 - 801681c: b2db uxtb r3, r3 - 801681e: 76fb strb r3, [r7, #27] + 801639a: 683b ldr r3, [r7, #0] + 801639c: 3304 adds r3, #4 + 801639e: 681a ldr r2, [r3, #0] + 80163a0: 4b2d ldr r3, [pc, #180] ; (8016458 ) + 80163a2: 695b ldr r3, [r3, #20] + 80163a4: 429a cmp r2, r3 + 80163a6: bf0c ite eq + 80163a8: 2301 moveq r3, #1 + 80163aa: 2300 movne r3, #0 + 80163ac: b2db uxtb r3, r3 + 80163ae: 76fb strb r3, [r7, #27] } #endif /* LWIP_IPV4 */ } if (for_us) { - 8016820: 7efb ldrb r3, [r7, #27] - 8016822: 2b00 cmp r3, #0 - 8016824: d041 beq.n 80168aa + 80163b0: 7efb ldrb r3, [r7, #27] + 80163b2: 2b00 cmp r3, #0 + 80163b4: d041 beq.n 801643a } } } } #endif /* CHECKSUM_CHECK_UDP */ if (pbuf_remove_header(p, UDP_HLEN)) { - 8016826: 2108 movs r1, #8 - 8016828: 6878 ldr r0, [r7, #4] - 801682a: f7fa f88f bl 801094c - 801682e: 4603 mov r3, r0 - 8016830: 2b00 cmp r3, #0 - 8016832: d00a beq.n 801684a + 80163b6: 2108 movs r1, #8 + 80163b8: 6878 ldr r0, [r7, #4] + 80163ba: f7fa f88f bl 80104dc + 80163be: 4603 mov r3, r0 + 80163c0: 2b00 cmp r3, #0 + 80163c2: d00a beq.n 80163da /* Can we cope with this failing? Just assert for now */ LWIP_ASSERT("pbuf_remove_header failed\n", 0); - 8016834: 4b20 ldr r3, [pc, #128] ; (80168b8 ) - 8016836: f44f 72b8 mov.w r2, #368 ; 0x170 - 801683a: 4925 ldr r1, [pc, #148] ; (80168d0 ) - 801683c: 4820 ldr r0, [pc, #128] ; (80168c0 ) - 801683e: f004 fe3b bl 801b4b8 + 80163c4: 4b20 ldr r3, [pc, #128] ; (8016448 ) + 80163c6: f44f 72b8 mov.w r2, #368 ; 0x170 + 80163ca: 4925 ldr r1, [pc, #148] ; (8016460 ) + 80163cc: 4820 ldr r0, [pc, #128] ; (8016450 ) + 80163ce: f004 fe21 bl 801b014 UDP_STATS_INC(udp.drop); MIB2_STATS_INC(mib2.udpinerrors); pbuf_free(p); - 8016842: 6878 ldr r0, [r7, #4] - 8016844: f7fa f908 bl 8010a58 + 80163d2: 6878 ldr r0, [r7, #4] + 80163d4: f7fa f908 bl 80105e8 goto end; - 8016848: e032 b.n 80168b0 + 80163d8: e032 b.n 8016440 } if (pcb != NULL) { - 801684a: 6a7b ldr r3, [r7, #36] ; 0x24 - 801684c: 2b00 cmp r3, #0 - 801684e: d012 beq.n 8016876 + 80163da: 6a7b ldr r3, [r7, #36] ; 0x24 + 80163dc: 2b00 cmp r3, #0 + 80163de: d012 beq.n 8016406 } } } #endif /* SO_REUSE && SO_REUSE_RXTOALL */ /* callback */ if (pcb->recv != NULL) { - 8016850: 6a7b ldr r3, [r7, #36] ; 0x24 - 8016852: 699b ldr r3, [r3, #24] - 8016854: 2b00 cmp r3, #0 - 8016856: d00a beq.n 801686e + 80163e0: 6a7b ldr r3, [r7, #36] ; 0x24 + 80163e2: 699b ldr r3, [r3, #24] + 80163e4: 2b00 cmp r3, #0 + 80163e6: d00a beq.n 80163fe /* now the recv function is responsible for freeing p */ pcb->recv(pcb->recv_arg, pcb, p, ip_current_src_addr(), src); - 8016858: 6a7b ldr r3, [r7, #36] ; 0x24 - 801685a: 699c ldr r4, [r3, #24] - 801685c: 6a7b ldr r3, [r7, #36] ; 0x24 - 801685e: 69d8 ldr r0, [r3, #28] - 8016860: 8a3b ldrh r3, [r7, #16] - 8016862: 9300 str r3, [sp, #0] - 8016864: 4b1b ldr r3, [pc, #108] ; (80168d4 ) - 8016866: 687a ldr r2, [r7, #4] - 8016868: 6a79 ldr r1, [r7, #36] ; 0x24 - 801686a: 47a0 blx r4 + 80163e8: 6a7b ldr r3, [r7, #36] ; 0x24 + 80163ea: 699c ldr r4, [r3, #24] + 80163ec: 6a7b ldr r3, [r7, #36] ; 0x24 + 80163ee: 69d8 ldr r0, [r3, #28] + 80163f0: 8a3b ldrh r3, [r7, #16] + 80163f2: 9300 str r3, [sp, #0] + 80163f4: 4b1b ldr r3, [pc, #108] ; (8016464 ) + 80163f6: 687a ldr r2, [r7, #4] + 80163f8: 6a79 ldr r1, [r7, #36] ; 0x24 + 80163fa: 47a0 blx r4 } else { pbuf_free(p); } end: PERF_STOP("udp_input"); return; - 801686c: e021 b.n 80168b2 + 80163fc: e021 b.n 8016442 pbuf_free(p); - 801686e: 6878 ldr r0, [r7, #4] - 8016870: f7fa f8f2 bl 8010a58 + 80163fe: 6878 ldr r0, [r7, #4] + 8016400: f7fa f8f2 bl 80105e8 goto end; - 8016874: e01c b.n 80168b0 + 8016404: e01c b.n 8016440 if (!broadcast && !ip_addr_ismulticast(ip_current_dest_addr())) { - 8016876: 7cfb ldrb r3, [r7, #19] - 8016878: 2b00 cmp r3, #0 - 801687a: d112 bne.n 80168a2 - 801687c: 4b12 ldr r3, [pc, #72] ; (80168c8 ) - 801687e: 695b ldr r3, [r3, #20] - 8016880: f003 03f0 and.w r3, r3, #240 ; 0xf0 - 8016884: 2be0 cmp r3, #224 ; 0xe0 - 8016886: d00c beq.n 80168a2 + 8016406: 7cfb ldrb r3, [r7, #19] + 8016408: 2b00 cmp r3, #0 + 801640a: d112 bne.n 8016432 + 801640c: 4b12 ldr r3, [pc, #72] ; (8016458 ) + 801640e: 695b ldr r3, [r3, #20] + 8016410: f003 03f0 and.w r3, r3, #240 ; 0xf0 + 8016414: 2be0 cmp r3, #224 ; 0xe0 + 8016416: d00c beq.n 8016432 pbuf_header_force(p, (s16_t)(ip_current_header_tot_len() + UDP_HLEN)); - 8016888: 4b0f ldr r3, [pc, #60] ; (80168c8 ) - 801688a: 899b ldrh r3, [r3, #12] - 801688c: 3308 adds r3, #8 - 801688e: b29b uxth r3, r3 - 8016890: b21b sxth r3, r3 - 8016892: 4619 mov r1, r3 - 8016894: 6878 ldr r0, [r7, #4] - 8016896: f7fa f8cc bl 8010a32 + 8016418: 4b0f ldr r3, [pc, #60] ; (8016458 ) + 801641a: 899b ldrh r3, [r3, #12] + 801641c: 3308 adds r3, #8 + 801641e: b29b uxth r3, r3 + 8016420: b21b sxth r3, r3 + 8016422: 4619 mov r1, r3 + 8016424: 6878 ldr r0, [r7, #4] + 8016426: f7fa f8cc bl 80105c2 icmp_port_unreach(ip_current_is_v6(), p); - 801689a: 2103 movs r1, #3 - 801689c: 6878 ldr r0, [r7, #4] - 801689e: f003 fa0d bl 8019cbc + 801642a: 2103 movs r1, #3 + 801642c: 6878 ldr r0, [r7, #4] + 801642e: f003 fa0d bl 801984c pbuf_free(p); - 80168a2: 6878 ldr r0, [r7, #4] - 80168a4: f7fa f8d8 bl 8010a58 + 8016432: 6878 ldr r0, [r7, #4] + 8016434: f7fa f8d8 bl 80105e8 return; - 80168a8: e003 b.n 80168b2 + 8016438: e003 b.n 8016442 pbuf_free(p); - 80168aa: 6878 ldr r0, [r7, #4] - 80168ac: f7fa f8d4 bl 8010a58 + 801643a: 6878 ldr r0, [r7, #4] + 801643c: f7fa f8d4 bl 80105e8 return; - 80168b0: bf00 nop + 8016440: bf00 nop UDP_STATS_INC(udp.drop); MIB2_STATS_INC(mib2.udpinerrors); pbuf_free(p); PERF_STOP("udp_input"); #endif /* CHECKSUM_CHECK_UDP */ } - 80168b2: 372c adds r7, #44 ; 0x2c - 80168b4: 46bd mov sp, r7 - 80168b6: bd90 pop {r4, r7, pc} - 80168b8: 0801e838 .word 0x0801e838 - 80168bc: 0801e8dc .word 0x0801e8dc - 80168c0: 0801e88c .word 0x0801e88c - 80168c4: 0801e8f4 .word 0x0801e8f4 - 80168c8: 2000be90 .word 0x2000be90 - 80168cc: 2000f5dc .word 0x2000f5dc - 80168d0: 0801e910 .word 0x0801e910 - 80168d4: 2000bea0 .word 0x2000bea0 + 8016442: 372c adds r7, #44 ; 0x2c + 8016444: 46bd mov sp, r7 + 8016446: bd90 pop {r4, r7, pc} + 8016448: 0801e034 .word 0x0801e034 + 801644c: 0801e0d8 .word 0x0801e0d8 + 8016450: 0801e088 .word 0x0801e088 + 8016454: 0801e0f0 .word 0x0801e0f0 + 8016458: 2000be8c .word 0x2000be8c + 801645c: 2000f5d8 .word 0x2000f5d8 + 8016460: 0801e10c .word 0x0801e10c + 8016464: 2000be9c .word 0x2000be9c -080168d8 : +08016468 : * @see udp_disconnect() udp_send() */ err_t udp_sendto_if(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif) { - 80168d8: b580 push {r7, lr} - 80168da: b088 sub sp, #32 - 80168dc: af02 add r7, sp, #8 - 80168de: 60f8 str r0, [r7, #12] - 80168e0: 60b9 str r1, [r7, #8] - 80168e2: 607a str r2, [r7, #4] - 80168e4: 807b strh r3, [r7, #2] + 8016468: b580 push {r7, lr} + 801646a: b088 sub sp, #32 + 801646c: af02 add r7, sp, #8 + 801646e: 60f8 str r0, [r7, #12] + 8016470: 60b9 str r1, [r7, #8] + 8016472: 607a str r2, [r7, #4] + 8016474: 807b strh r3, [r7, #2] u16_t chksum) { #endif /* LWIP_CHECKSUM_ON_COPY && CHECKSUM_GEN_UDP */ const ip_addr_t *src_ip; LWIP_ERROR("udp_sendto_if: invalid pcb", pcb != NULL, return ERR_ARG); - 80168e6: 68fb ldr r3, [r7, #12] - 80168e8: 2b00 cmp r3, #0 - 80168ea: d109 bne.n 8016900 - 80168ec: 4b2e ldr r3, [pc, #184] ; (80169a8 ) - 80168ee: f44f 7220 mov.w r2, #640 ; 0x280 - 80168f2: 492e ldr r1, [pc, #184] ; (80169ac ) - 80168f4: 482e ldr r0, [pc, #184] ; (80169b0 ) - 80168f6: f004 fddf bl 801b4b8 - 80168fa: f06f 030f mvn.w r3, #15 - 80168fe: e04f b.n 80169a0 + 8016476: 68fb ldr r3, [r7, #12] + 8016478: 2b00 cmp r3, #0 + 801647a: d109 bne.n 8016490 + 801647c: 4b2e ldr r3, [pc, #184] ; (8016538 ) + 801647e: f44f 7220 mov.w r2, #640 ; 0x280 + 8016482: 492e ldr r1, [pc, #184] ; (801653c ) + 8016484: 482e ldr r0, [pc, #184] ; (8016540 ) + 8016486: f004 fdc5 bl 801b014 + 801648a: f06f 030f mvn.w r3, #15 + 801648e: e04f b.n 8016530 LWIP_ERROR("udp_sendto_if: invalid pbuf", p != NULL, return ERR_ARG); - 8016900: 68bb ldr r3, [r7, #8] - 8016902: 2b00 cmp r3, #0 - 8016904: d109 bne.n 801691a - 8016906: 4b28 ldr r3, [pc, #160] ; (80169a8 ) - 8016908: f240 2281 movw r2, #641 ; 0x281 - 801690c: 4929 ldr r1, [pc, #164] ; (80169b4 ) - 801690e: 4828 ldr r0, [pc, #160] ; (80169b0 ) - 8016910: f004 fdd2 bl 801b4b8 - 8016914: f06f 030f mvn.w r3, #15 - 8016918: e042 b.n 80169a0 + 8016490: 68bb ldr r3, [r7, #8] + 8016492: 2b00 cmp r3, #0 + 8016494: d109 bne.n 80164aa + 8016496: 4b28 ldr r3, [pc, #160] ; (8016538 ) + 8016498: f240 2281 movw r2, #641 ; 0x281 + 801649c: 4929 ldr r1, [pc, #164] ; (8016544 ) + 801649e: 4828 ldr r0, [pc, #160] ; (8016540 ) + 80164a0: f004 fdb8 bl 801b014 + 80164a4: f06f 030f mvn.w r3, #15 + 80164a8: e042 b.n 8016530 LWIP_ERROR("udp_sendto_if: invalid dst_ip", dst_ip != NULL, return ERR_ARG); - 801691a: 687b ldr r3, [r7, #4] - 801691c: 2b00 cmp r3, #0 - 801691e: d109 bne.n 8016934 - 8016920: 4b21 ldr r3, [pc, #132] ; (80169a8 ) - 8016922: f240 2282 movw r2, #642 ; 0x282 - 8016926: 4924 ldr r1, [pc, #144] ; (80169b8 ) - 8016928: 4821 ldr r0, [pc, #132] ; (80169b0 ) - 801692a: f004 fdc5 bl 801b4b8 - 801692e: f06f 030f mvn.w r3, #15 - 8016932: e035 b.n 80169a0 + 80164aa: 687b ldr r3, [r7, #4] + 80164ac: 2b00 cmp r3, #0 + 80164ae: d109 bne.n 80164c4 + 80164b0: 4b21 ldr r3, [pc, #132] ; (8016538 ) + 80164b2: f240 2282 movw r2, #642 ; 0x282 + 80164b6: 4924 ldr r1, [pc, #144] ; (8016548 ) + 80164b8: 4821 ldr r0, [pc, #132] ; (8016540 ) + 80164ba: f004 fdab bl 801b014 + 80164be: f06f 030f mvn.w r3, #15 + 80164c2: e035 b.n 8016530 LWIP_ERROR("udp_sendto_if: invalid netif", netif != NULL, return ERR_ARG); - 8016934: 6a3b ldr r3, [r7, #32] - 8016936: 2b00 cmp r3, #0 - 8016938: d109 bne.n 801694e - 801693a: 4b1b ldr r3, [pc, #108] ; (80169a8 ) - 801693c: f240 2283 movw r2, #643 ; 0x283 - 8016940: 491e ldr r1, [pc, #120] ; (80169bc ) - 8016942: 481b ldr r0, [pc, #108] ; (80169b0 ) - 8016944: f004 fdb8 bl 801b4b8 - 8016948: f06f 030f mvn.w r3, #15 - 801694c: e028 b.n 80169a0 + 80164c4: 6a3b ldr r3, [r7, #32] + 80164c6: 2b00 cmp r3, #0 + 80164c8: d109 bne.n 80164de + 80164ca: 4b1b ldr r3, [pc, #108] ; (8016538 ) + 80164cc: f240 2283 movw r2, #643 ; 0x283 + 80164d0: 491e ldr r1, [pc, #120] ; (801654c ) + 80164d2: 481b ldr r0, [pc, #108] ; (8016540 ) + 80164d4: f004 fd9e bl 801b014 + 80164d8: f06f 030f mvn.w r3, #15 + 80164dc: e028 b.n 8016530 #endif /* LWIP_IPV6 */ #if LWIP_IPV4 && LWIP_IPV6 else #endif /* LWIP_IPV4 && LWIP_IPV6 */ #if LWIP_IPV4 if (ip4_addr_isany(ip_2_ip4(&pcb->local_ip)) || - 801694e: 68fb ldr r3, [r7, #12] - 8016950: 2b00 cmp r3, #0 - 8016952: d009 beq.n 8016968 - 8016954: 68fb ldr r3, [r7, #12] - 8016956: 681b ldr r3, [r3, #0] - 8016958: 2b00 cmp r3, #0 - 801695a: d005 beq.n 8016968 + 80164de: 68fb ldr r3, [r7, #12] + 80164e0: 2b00 cmp r3, #0 + 80164e2: d009 beq.n 80164f8 + 80164e4: 68fb ldr r3, [r7, #12] + 80164e6: 681b ldr r3, [r3, #0] + 80164e8: 2b00 cmp r3, #0 + 80164ea: d005 beq.n 80164f8 ip4_addr_ismulticast(ip_2_ip4(&pcb->local_ip))) { - 801695c: 68fb ldr r3, [r7, #12] - 801695e: 681b ldr r3, [r3, #0] - 8016960: f003 03f0 and.w r3, r3, #240 ; 0xf0 + 80164ec: 68fb ldr r3, [r7, #12] + 80164ee: 681b ldr r3, [r3, #0] + 80164f0: f003 03f0 and.w r3, r3, #240 ; 0xf0 if (ip4_addr_isany(ip_2_ip4(&pcb->local_ip)) || - 8016964: 2be0 cmp r3, #224 ; 0xe0 - 8016966: d103 bne.n 8016970 + 80164f4: 2be0 cmp r3, #224 ; 0xe0 + 80164f6: d103 bne.n 8016500 /* if the local_ip is any or multicast * use the outgoing network interface IP address as source address */ src_ip = netif_ip_addr4(netif); - 8016968: 6a3b ldr r3, [r7, #32] - 801696a: 3304 adds r3, #4 - 801696c: 617b str r3, [r7, #20] - 801696e: e00b b.n 8016988 + 80164f8: 6a3b ldr r3, [r7, #32] + 80164fa: 3304 adds r3, #4 + 80164fc: 617b str r3, [r7, #20] + 80164fe: e00b b.n 8016518 } else { /* check if UDP PCB local IP address is correct * this could be an old address if netif->ip_addr has changed */ if (!ip4_addr_cmp(ip_2_ip4(&(pcb->local_ip)), netif_ip4_addr(netif))) { - 8016970: 68fb ldr r3, [r7, #12] - 8016972: 681a ldr r2, [r3, #0] - 8016974: 6a3b ldr r3, [r7, #32] - 8016976: 3304 adds r3, #4 - 8016978: 681b ldr r3, [r3, #0] - 801697a: 429a cmp r2, r3 - 801697c: d002 beq.n 8016984 + 8016500: 68fb ldr r3, [r7, #12] + 8016502: 681a ldr r2, [r3, #0] + 8016504: 6a3b ldr r3, [r7, #32] + 8016506: 3304 adds r3, #4 + 8016508: 681b ldr r3, [r3, #0] + 801650a: 429a cmp r2, r3 + 801650c: d002 beq.n 8016514 /* local_ip doesn't match, drop the packet */ return ERR_RTE; - 801697e: f06f 0303 mvn.w r3, #3 - 8016982: e00d b.n 80169a0 + 801650e: f06f 0303 mvn.w r3, #3 + 8016512: e00d b.n 8016530 } /* use UDP PCB local IP address as source address */ src_ip = &pcb->local_ip; - 8016984: 68fb ldr r3, [r7, #12] - 8016986: 617b str r3, [r7, #20] + 8016514: 68fb ldr r3, [r7, #12] + 8016516: 617b str r3, [r7, #20] } #endif /* LWIP_IPV4 */ #if LWIP_CHECKSUM_ON_COPY && CHECKSUM_GEN_UDP return udp_sendto_if_src_chksum(pcb, p, dst_ip, dst_port, netif, have_chksum, chksum, src_ip); #else /* LWIP_CHECKSUM_ON_COPY && CHECKSUM_GEN_UDP */ return udp_sendto_if_src(pcb, p, dst_ip, dst_port, netif, src_ip); - 8016988: 887a ldrh r2, [r7, #2] - 801698a: 697b ldr r3, [r7, #20] - 801698c: 9301 str r3, [sp, #4] - 801698e: 6a3b ldr r3, [r7, #32] - 8016990: 9300 str r3, [sp, #0] - 8016992: 4613 mov r3, r2 - 8016994: 687a ldr r2, [r7, #4] - 8016996: 68b9 ldr r1, [r7, #8] - 8016998: 68f8 ldr r0, [r7, #12] - 801699a: f000 f811 bl 80169c0 - 801699e: 4603 mov r3, r0 + 8016518: 887a ldrh r2, [r7, #2] + 801651a: 697b ldr r3, [r7, #20] + 801651c: 9301 str r3, [sp, #4] + 801651e: 6a3b ldr r3, [r7, #32] + 8016520: 9300 str r3, [sp, #0] + 8016522: 4613 mov r3, r2 + 8016524: 687a ldr r2, [r7, #4] + 8016526: 68b9 ldr r1, [r7, #8] + 8016528: 68f8 ldr r0, [r7, #12] + 801652a: f000 f811 bl 8016550 + 801652e: 4603 mov r3, r0 #endif /* LWIP_CHECKSUM_ON_COPY && CHECKSUM_GEN_UDP */ } - 80169a0: 4618 mov r0, r3 - 80169a2: 3718 adds r7, #24 - 80169a4: 46bd mov sp, r7 - 80169a6: bd80 pop {r7, pc} - 80169a8: 0801e838 .word 0x0801e838 - 80169ac: 0801e9ac .word 0x0801e9ac - 80169b0: 0801e88c .word 0x0801e88c - 80169b4: 0801e9c8 .word 0x0801e9c8 - 80169b8: 0801e9e4 .word 0x0801e9e4 - 80169bc: 0801ea04 .word 0x0801ea04 + 8016530: 4618 mov r0, r3 + 8016532: 3718 adds r7, #24 + 8016534: 46bd mov sp, r7 + 8016536: bd80 pop {r7, pc} + 8016538: 0801e034 .word 0x0801e034 + 801653c: 0801e1a8 .word 0x0801e1a8 + 8016540: 0801e088 .word 0x0801e088 + 8016544: 0801e1c4 .word 0x0801e1c4 + 8016548: 0801e1e0 .word 0x0801e1e0 + 801654c: 0801e200 .word 0x0801e200 -080169c0 : +08016550 : /** @ingroup udp_raw * Same as @ref udp_sendto_if, but with source address */ err_t udp_sendto_if_src(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif, const ip_addr_t *src_ip) { - 80169c0: b580 push {r7, lr} - 80169c2: b08c sub sp, #48 ; 0x30 - 80169c4: af04 add r7, sp, #16 - 80169c6: 60f8 str r0, [r7, #12] - 80169c8: 60b9 str r1, [r7, #8] - 80169ca: 607a str r2, [r7, #4] - 80169cc: 807b strh r3, [r7, #2] + 8016550: b580 push {r7, lr} + 8016552: b08c sub sp, #48 ; 0x30 + 8016554: af04 add r7, sp, #16 + 8016556: 60f8 str r0, [r7, #12] + 8016558: 60b9 str r1, [r7, #8] + 801655a: 607a str r2, [r7, #4] + 801655c: 807b strh r3, [r7, #2] u8_t ip_proto; u8_t ttl; LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("udp_sendto_if_src: invalid pcb", pcb != NULL, return ERR_ARG); - 80169ce: 68fb ldr r3, [r7, #12] - 80169d0: 2b00 cmp r3, #0 - 80169d2: d109 bne.n 80169e8 - 80169d4: 4b65 ldr r3, [pc, #404] ; (8016b6c ) - 80169d6: f240 22d1 movw r2, #721 ; 0x2d1 - 80169da: 4965 ldr r1, [pc, #404] ; (8016b70 ) - 80169dc: 4865 ldr r0, [pc, #404] ; (8016b74 ) - 80169de: f004 fd6b bl 801b4b8 - 80169e2: f06f 030f mvn.w r3, #15 - 80169e6: e0bc b.n 8016b62 + 801655e: 68fb ldr r3, [r7, #12] + 8016560: 2b00 cmp r3, #0 + 8016562: d109 bne.n 8016578 + 8016564: 4b65 ldr r3, [pc, #404] ; (80166fc ) + 8016566: f240 22d1 movw r2, #721 ; 0x2d1 + 801656a: 4965 ldr r1, [pc, #404] ; (8016700 ) + 801656c: 4865 ldr r0, [pc, #404] ; (8016704 ) + 801656e: f004 fd51 bl 801b014 + 8016572: f06f 030f mvn.w r3, #15 + 8016576: e0bc b.n 80166f2 LWIP_ERROR("udp_sendto_if_src: invalid pbuf", p != NULL, return ERR_ARG); - 80169e8: 68bb ldr r3, [r7, #8] - 80169ea: 2b00 cmp r3, #0 - 80169ec: d109 bne.n 8016a02 - 80169ee: 4b5f ldr r3, [pc, #380] ; (8016b6c ) - 80169f0: f240 22d2 movw r2, #722 ; 0x2d2 - 80169f4: 4960 ldr r1, [pc, #384] ; (8016b78 ) - 80169f6: 485f ldr r0, [pc, #380] ; (8016b74 ) - 80169f8: f004 fd5e bl 801b4b8 - 80169fc: f06f 030f mvn.w r3, #15 - 8016a00: e0af b.n 8016b62 + 8016578: 68bb ldr r3, [r7, #8] + 801657a: 2b00 cmp r3, #0 + 801657c: d109 bne.n 8016592 + 801657e: 4b5f ldr r3, [pc, #380] ; (80166fc ) + 8016580: f240 22d2 movw r2, #722 ; 0x2d2 + 8016584: 4960 ldr r1, [pc, #384] ; (8016708 ) + 8016586: 485f ldr r0, [pc, #380] ; (8016704 ) + 8016588: f004 fd44 bl 801b014 + 801658c: f06f 030f mvn.w r3, #15 + 8016590: e0af b.n 80166f2 LWIP_ERROR("udp_sendto_if_src: invalid dst_ip", dst_ip != NULL, return ERR_ARG); - 8016a02: 687b ldr r3, [r7, #4] - 8016a04: 2b00 cmp r3, #0 - 8016a06: d109 bne.n 8016a1c - 8016a08: 4b58 ldr r3, [pc, #352] ; (8016b6c ) - 8016a0a: f240 22d3 movw r2, #723 ; 0x2d3 - 8016a0e: 495b ldr r1, [pc, #364] ; (8016b7c ) - 8016a10: 4858 ldr r0, [pc, #352] ; (8016b74 ) - 8016a12: f004 fd51 bl 801b4b8 - 8016a16: f06f 030f mvn.w r3, #15 - 8016a1a: e0a2 b.n 8016b62 + 8016592: 687b ldr r3, [r7, #4] + 8016594: 2b00 cmp r3, #0 + 8016596: d109 bne.n 80165ac + 8016598: 4b58 ldr r3, [pc, #352] ; (80166fc ) + 801659a: f240 22d3 movw r2, #723 ; 0x2d3 + 801659e: 495b ldr r1, [pc, #364] ; (801670c ) + 80165a0: 4858 ldr r0, [pc, #352] ; (8016704 ) + 80165a2: f004 fd37 bl 801b014 + 80165a6: f06f 030f mvn.w r3, #15 + 80165aa: e0a2 b.n 80166f2 LWIP_ERROR("udp_sendto_if_src: invalid src_ip", src_ip != NULL, return ERR_ARG); - 8016a1c: 6afb ldr r3, [r7, #44] ; 0x2c - 8016a1e: 2b00 cmp r3, #0 - 8016a20: d109 bne.n 8016a36 - 8016a22: 4b52 ldr r3, [pc, #328] ; (8016b6c ) - 8016a24: f44f 7235 mov.w r2, #724 ; 0x2d4 - 8016a28: 4955 ldr r1, [pc, #340] ; (8016b80 ) - 8016a2a: 4852 ldr r0, [pc, #328] ; (8016b74 ) - 8016a2c: f004 fd44 bl 801b4b8 - 8016a30: f06f 030f mvn.w r3, #15 - 8016a34: e095 b.n 8016b62 + 80165ac: 6afb ldr r3, [r7, #44] ; 0x2c + 80165ae: 2b00 cmp r3, #0 + 80165b0: d109 bne.n 80165c6 + 80165b2: 4b52 ldr r3, [pc, #328] ; (80166fc ) + 80165b4: f44f 7235 mov.w r2, #724 ; 0x2d4 + 80165b8: 4955 ldr r1, [pc, #340] ; (8016710 ) + 80165ba: 4852 ldr r0, [pc, #328] ; (8016704 ) + 80165bc: f004 fd2a bl 801b014 + 80165c0: f06f 030f mvn.w r3, #15 + 80165c4: e095 b.n 80166f2 LWIP_ERROR("udp_sendto_if_src: invalid netif", netif != NULL, return ERR_ARG); - 8016a36: 6abb ldr r3, [r7, #40] ; 0x28 - 8016a38: 2b00 cmp r3, #0 - 8016a3a: d109 bne.n 8016a50 - 8016a3c: 4b4b ldr r3, [pc, #300] ; (8016b6c ) - 8016a3e: f240 22d5 movw r2, #725 ; 0x2d5 - 8016a42: 4950 ldr r1, [pc, #320] ; (8016b84 ) - 8016a44: 484b ldr r0, [pc, #300] ; (8016b74 ) - 8016a46: f004 fd37 bl 801b4b8 - 8016a4a: f06f 030f mvn.w r3, #15 - 8016a4e: e088 b.n 8016b62 + 80165c6: 6abb ldr r3, [r7, #40] ; 0x28 + 80165c8: 2b00 cmp r3, #0 + 80165ca: d109 bne.n 80165e0 + 80165cc: 4b4b ldr r3, [pc, #300] ; (80166fc ) + 80165ce: f240 22d5 movw r2, #725 ; 0x2d5 + 80165d2: 4950 ldr r1, [pc, #320] ; (8016714 ) + 80165d4: 484b ldr r0, [pc, #300] ; (8016704 ) + 80165d6: f004 fd1d bl 801b014 + 80165da: f06f 030f mvn.w r3, #15 + 80165de: e088 b.n 80166f2 return ERR_VAL; } #endif /* LWIP_IPV4 && IP_SOF_BROADCAST */ /* if the PCB is not yet bound to a port, bind it here */ if (pcb->local_port == 0) { - 8016a50: 68fb ldr r3, [r7, #12] - 8016a52: 8a5b ldrh r3, [r3, #18] - 8016a54: 2b00 cmp r3, #0 - 8016a56: d10f bne.n 8016a78 + 80165e0: 68fb ldr r3, [r7, #12] + 80165e2: 8a5b ldrh r3, [r3, #18] + 80165e4: 2b00 cmp r3, #0 + 80165e6: d10f bne.n 8016608 LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE, ("udp_send: not yet bound to a port, binding now\n")); err = udp_bind(pcb, &pcb->local_ip, pcb->local_port); - 8016a58: 68f9 ldr r1, [r7, #12] - 8016a5a: 68fb ldr r3, [r7, #12] - 8016a5c: 8a5b ldrh r3, [r3, #18] - 8016a5e: 461a mov r2, r3 - 8016a60: 68f8 ldr r0, [r7, #12] - 8016a62: f000 f893 bl 8016b8c - 8016a66: 4603 mov r3, r0 - 8016a68: 76fb strb r3, [r7, #27] + 80165e8: 68f9 ldr r1, [r7, #12] + 80165ea: 68fb ldr r3, [r7, #12] + 80165ec: 8a5b ldrh r3, [r3, #18] + 80165ee: 461a mov r2, r3 + 80165f0: 68f8 ldr r0, [r7, #12] + 80165f2: f000 f893 bl 801671c + 80165f6: 4603 mov r3, r0 + 80165f8: 76fb strb r3, [r7, #27] if (err != ERR_OK) { - 8016a6a: f997 301b ldrsb.w r3, [r7, #27] - 8016a6e: 2b00 cmp r3, #0 - 8016a70: d002 beq.n 8016a78 + 80165fa: f997 301b ldrsb.w r3, [r7, #27] + 80165fe: 2b00 cmp r3, #0 + 8016600: d002 beq.n 8016608 LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("udp_send: forced port bind failed\n")); return err; - 8016a72: f997 301b ldrsb.w r3, [r7, #27] - 8016a76: e074 b.n 8016b62 + 8016602: f997 301b ldrsb.w r3, [r7, #27] + 8016606: e074 b.n 80166f2 } } /* packet too large to add a UDP header without causing an overflow? */ if ((u16_t)(p->tot_len + UDP_HLEN) < p->tot_len) { - 8016a78: 68bb ldr r3, [r7, #8] - 8016a7a: 891b ldrh r3, [r3, #8] - 8016a7c: f64f 72f7 movw r2, #65527 ; 0xfff7 - 8016a80: 4293 cmp r3, r2 - 8016a82: d902 bls.n 8016a8a + 8016608: 68bb ldr r3, [r7, #8] + 801660a: 891b ldrh r3, [r3, #8] + 801660c: f64f 72f7 movw r2, #65527 ; 0xfff7 + 8016610: 4293 cmp r3, r2 + 8016612: d902 bls.n 801661a return ERR_MEM; - 8016a84: f04f 33ff mov.w r3, #4294967295 - 8016a88: e06b b.n 8016b62 + 8016614: f04f 33ff mov.w r3, #4294967295 + 8016618: e06b b.n 80166f2 } /* not enough space to add an UDP header to first pbuf in given p chain? */ if (pbuf_add_header(p, UDP_HLEN)) { - 8016a8a: 2108 movs r1, #8 - 8016a8c: 68b8 ldr r0, [r7, #8] - 8016a8e: f7f9 ff4d bl 801092c - 8016a92: 4603 mov r3, r0 - 8016a94: 2b00 cmp r3, #0 - 8016a96: d015 beq.n 8016ac4 + 801661a: 2108 movs r1, #8 + 801661c: 68b8 ldr r0, [r7, #8] + 801661e: f7f9 ff4d bl 80104bc + 8016622: 4603 mov r3, r0 + 8016624: 2b00 cmp r3, #0 + 8016626: d015 beq.n 8016654 /* allocate header in a separate new pbuf */ q = pbuf_alloc(PBUF_IP, UDP_HLEN, PBUF_RAM); - 8016a98: f44f 7220 mov.w r2, #640 ; 0x280 - 8016a9c: 2108 movs r1, #8 - 8016a9e: 2022 movs r0, #34 ; 0x22 - 8016aa0: f7f9 fcfa bl 8010498 - 8016aa4: 61f8 str r0, [r7, #28] + 8016628: f44f 7220 mov.w r2, #640 ; 0x280 + 801662c: 2108 movs r1, #8 + 801662e: 2022 movs r0, #34 ; 0x22 + 8016630: f7f9 fcfa bl 8010028 + 8016634: 61f8 str r0, [r7, #28] /* new header pbuf could not be allocated? */ if (q == NULL) { - 8016aa6: 69fb ldr r3, [r7, #28] - 8016aa8: 2b00 cmp r3, #0 - 8016aaa: d102 bne.n 8016ab2 + 8016636: 69fb ldr r3, [r7, #28] + 8016638: 2b00 cmp r3, #0 + 801663a: d102 bne.n 8016642 LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("udp_send: could not allocate header\n")); return ERR_MEM; - 8016aac: f04f 33ff mov.w r3, #4294967295 - 8016ab0: e057 b.n 8016b62 + 801663c: f04f 33ff mov.w r3, #4294967295 + 8016640: e057 b.n 80166f2 } if (p->tot_len != 0) { - 8016ab2: 68bb ldr r3, [r7, #8] - 8016ab4: 891b ldrh r3, [r3, #8] - 8016ab6: 2b00 cmp r3, #0 - 8016ab8: d006 beq.n 8016ac8 + 8016642: 68bb ldr r3, [r7, #8] + 8016644: 891b ldrh r3, [r3, #8] + 8016646: 2b00 cmp r3, #0 + 8016648: d006 beq.n 8016658 /* chain header q in front of given pbuf p (only if p contains data) */ pbuf_chain(q, p); - 8016aba: 68b9 ldr r1, [r7, #8] - 8016abc: 69f8 ldr r0, [r7, #28] - 8016abe: f7fa f8ef bl 8010ca0 - 8016ac2: e001 b.n 8016ac8 + 801664a: 68b9 ldr r1, [r7, #8] + 801664c: 69f8 ldr r0, [r7, #28] + 801664e: f7fa f8ef bl 8010830 + 8016652: e001 b.n 8016658 LWIP_DEBUGF(UDP_DEBUG, ("udp_send: added header pbuf %p before given pbuf %p\n", (void *)q, (void *)p)); } else { /* adding space for header within p succeeded */ /* first pbuf q equals given pbuf */ q = p; - 8016ac4: 68bb ldr r3, [r7, #8] - 8016ac6: 61fb str r3, [r7, #28] + 8016654: 68bb ldr r3, [r7, #8] + 8016656: 61fb str r3, [r7, #28] LWIP_DEBUGF(UDP_DEBUG, ("udp_send: added header in given pbuf %p\n", (void *)p)); } LWIP_ASSERT("check that first pbuf can hold struct udp_hdr", - 8016ac8: 69fb ldr r3, [r7, #28] - 8016aca: 895b ldrh r3, [r3, #10] - 8016acc: 2b07 cmp r3, #7 - 8016ace: d806 bhi.n 8016ade - 8016ad0: 4b26 ldr r3, [pc, #152] ; (8016b6c ) - 8016ad2: f240 320e movw r2, #782 ; 0x30e - 8016ad6: 492c ldr r1, [pc, #176] ; (8016b88 ) - 8016ad8: 4826 ldr r0, [pc, #152] ; (8016b74 ) - 8016ada: f004 fced bl 801b4b8 + 8016658: 69fb ldr r3, [r7, #28] + 801665a: 895b ldrh r3, [r3, #10] + 801665c: 2b07 cmp r3, #7 + 801665e: d806 bhi.n 801666e + 8016660: 4b26 ldr r3, [pc, #152] ; (80166fc ) + 8016662: f240 320e movw r2, #782 ; 0x30e + 8016666: 492c ldr r1, [pc, #176] ; (8016718 ) + 8016668: 4826 ldr r0, [pc, #152] ; (8016704 ) + 801666a: f004 fcd3 bl 801b014 (q->len >= sizeof(struct udp_hdr))); /* q now represents the packet to be sent */ udphdr = (struct udp_hdr *)q->payload; - 8016ade: 69fb ldr r3, [r7, #28] - 8016ae0: 685b ldr r3, [r3, #4] - 8016ae2: 617b str r3, [r7, #20] + 801666e: 69fb ldr r3, [r7, #28] + 8016670: 685b ldr r3, [r3, #4] + 8016672: 617b str r3, [r7, #20] udphdr->src = lwip_htons(pcb->local_port); - 8016ae4: 68fb ldr r3, [r7, #12] - 8016ae6: 8a5b ldrh r3, [r3, #18] - 8016ae8: 4618 mov r0, r3 - 8016aea: f7f8 fc01 bl 800f2f0 - 8016aee: 4603 mov r3, r0 - 8016af0: 461a mov r2, r3 - 8016af2: 697b ldr r3, [r7, #20] - 8016af4: 801a strh r2, [r3, #0] + 8016674: 68fb ldr r3, [r7, #12] + 8016676: 8a5b ldrh r3, [r3, #18] + 8016678: 4618 mov r0, r3 + 801667a: f7f8 fc01 bl 800ee80 + 801667e: 4603 mov r3, r0 + 8016680: 461a mov r2, r3 + 8016682: 697b ldr r3, [r7, #20] + 8016684: 801a strh r2, [r3, #0] udphdr->dest = lwip_htons(dst_port); - 8016af6: 887b ldrh r3, [r7, #2] - 8016af8: 4618 mov r0, r3 - 8016afa: f7f8 fbf9 bl 800f2f0 - 8016afe: 4603 mov r3, r0 - 8016b00: 461a mov r2, r3 - 8016b02: 697b ldr r3, [r7, #20] - 8016b04: 805a strh r2, [r3, #2] + 8016686: 887b ldrh r3, [r7, #2] + 8016688: 4618 mov r0, r3 + 801668a: f7f8 fbf9 bl 800ee80 + 801668e: 4603 mov r3, r0 + 8016690: 461a mov r2, r3 + 8016692: 697b ldr r3, [r7, #20] + 8016694: 805a strh r2, [r3, #2] /* in UDP, 0 checksum means 'no checksum' */ udphdr->chksum = 0x0000; - 8016b06: 697b ldr r3, [r7, #20] - 8016b08: 2200 movs r2, #0 - 8016b0a: 719a strb r2, [r3, #6] - 8016b0c: 2200 movs r2, #0 - 8016b0e: 71da strb r2, [r3, #7] + 8016696: 697b ldr r3, [r7, #20] + 8016698: 2200 movs r2, #0 + 801669a: 719a strb r2, [r3, #6] + 801669c: 2200 movs r2, #0 + 801669e: 71da strb r2, [r3, #7] ip_proto = IP_PROTO_UDPLITE; } else #endif /* LWIP_UDPLITE */ { /* UDP */ LWIP_DEBUGF(UDP_DEBUG, ("udp_send: UDP packet length %"U16_F"\n", q->tot_len)); udphdr->len = lwip_htons(q->tot_len); - 8016b10: 69fb ldr r3, [r7, #28] - 8016b12: 891b ldrh r3, [r3, #8] - 8016b14: 4618 mov r0, r3 - 8016b16: f7f8 fbeb bl 800f2f0 - 8016b1a: 4603 mov r3, r0 - 8016b1c: 461a mov r2, r3 - 8016b1e: 697b ldr r3, [r7, #20] - 8016b20: 809a strh r2, [r3, #4] + 80166a0: 69fb ldr r3, [r7, #28] + 80166a2: 891b ldrh r3, [r3, #8] + 80166a4: 4618 mov r0, r3 + 80166a6: f7f8 fbeb bl 800ee80 + 80166aa: 4603 mov r3, r0 + 80166ac: 461a mov r2, r3 + 80166ae: 697b ldr r3, [r7, #20] + 80166b0: 809a strh r2, [r3, #4] } udphdr->chksum = udpchksum; } } #endif /* CHECKSUM_GEN_UDP */ ip_proto = IP_PROTO_UDP; - 8016b22: 2311 movs r3, #17 - 8016b24: 74fb strb r3, [r7, #19] + 80166b2: 2311 movs r3, #17 + 80166b4: 74fb strb r3, [r7, #19] /* Determine TTL to use */ #if LWIP_MULTICAST_TX_OPTIONS ttl = (ip_addr_ismulticast(dst_ip) ? udp_get_multicast_ttl(pcb) : pcb->ttl); #else /* LWIP_MULTICAST_TX_OPTIONS */ ttl = pcb->ttl; - 8016b26: 68fb ldr r3, [r7, #12] - 8016b28: 7adb ldrb r3, [r3, #11] - 8016b2a: 74bb strb r3, [r7, #18] + 80166b6: 68fb ldr r3, [r7, #12] + 80166b8: 7adb ldrb r3, [r3, #11] + 80166ba: 74bb strb r3, [r7, #18] LWIP_DEBUGF(UDP_DEBUG, ("udp_send: UDP checksum 0x%04"X16_F"\n", udphdr->chksum)); LWIP_DEBUGF(UDP_DEBUG, ("udp_send: ip_output_if (,,,,0x%02"X16_F",)\n", (u16_t)ip_proto)); /* output to IP */ NETIF_SET_HINTS(netif, &(pcb->netif_hints)); err = ip_output_if_src(q, src_ip, dst_ip, ttl, pcb->tos, ip_proto, netif); - 8016b2c: 68fb ldr r3, [r7, #12] - 8016b2e: 7a9b ldrb r3, [r3, #10] - 8016b30: 7cb9 ldrb r1, [r7, #18] - 8016b32: 6aba ldr r2, [r7, #40] ; 0x28 - 8016b34: 9202 str r2, [sp, #8] - 8016b36: 7cfa ldrb r2, [r7, #19] - 8016b38: 9201 str r2, [sp, #4] - 8016b3a: 9300 str r3, [sp, #0] - 8016b3c: 460b mov r3, r1 - 8016b3e: 687a ldr r2, [r7, #4] - 8016b40: 6af9 ldr r1, [r7, #44] ; 0x2c - 8016b42: 69f8 ldr r0, [r7, #28] - 8016b44: f003 fb48 bl 801a1d8 - 8016b48: 4603 mov r3, r0 - 8016b4a: 76fb strb r3, [r7, #27] + 80166bc: 68fb ldr r3, [r7, #12] + 80166be: 7a9b ldrb r3, [r3, #10] + 80166c0: 7cb9 ldrb r1, [r7, #18] + 80166c2: 6aba ldr r2, [r7, #40] ; 0x28 + 80166c4: 9202 str r2, [sp, #8] + 80166c6: 7cfa ldrb r2, [r7, #19] + 80166c8: 9201 str r2, [sp, #4] + 80166ca: 9300 str r3, [sp, #0] + 80166cc: 460b mov r3, r1 + 80166ce: 687a ldr r2, [r7, #4] + 80166d0: 6af9 ldr r1, [r7, #44] ; 0x2c + 80166d2: 69f8 ldr r0, [r7, #28] + 80166d4: f003 fb48 bl 8019d68 + 80166d8: 4603 mov r3, r0 + 80166da: 76fb strb r3, [r7, #27] /* @todo: must this be increased even if error occurred? */ MIB2_STATS_INC(mib2.udpoutdatagrams); /* did we chain a separate header pbuf earlier? */ if (q != p) { - 8016b4c: 69fa ldr r2, [r7, #28] - 8016b4e: 68bb ldr r3, [r7, #8] - 8016b50: 429a cmp r2, r3 - 8016b52: d004 beq.n 8016b5e + 80166dc: 69fa ldr r2, [r7, #28] + 80166de: 68bb ldr r3, [r7, #8] + 80166e0: 429a cmp r2, r3 + 80166e2: d004 beq.n 80166ee /* free the header pbuf */ pbuf_free(q); - 8016b54: 69f8 ldr r0, [r7, #28] - 8016b56: f7f9 ff7f bl 8010a58 + 80166e4: 69f8 ldr r0, [r7, #28] + 80166e6: f7f9 ff7f bl 80105e8 q = NULL; - 8016b5a: 2300 movs r3, #0 - 8016b5c: 61fb str r3, [r7, #28] + 80166ea: 2300 movs r3, #0 + 80166ec: 61fb str r3, [r7, #28] /* p is still referenced by the caller, and will live on */ } UDP_STATS_INC(udp.xmit); return err; - 8016b5e: f997 301b ldrsb.w r3, [r7, #27] + 80166ee: f997 301b ldrsb.w r3, [r7, #27] } - 8016b62: 4618 mov r0, r3 - 8016b64: 3720 adds r7, #32 - 8016b66: 46bd mov sp, r7 - 8016b68: bd80 pop {r7, pc} - 8016b6a: bf00 nop - 8016b6c: 0801e838 .word 0x0801e838 - 8016b70: 0801ea24 .word 0x0801ea24 - 8016b74: 0801e88c .word 0x0801e88c - 8016b78: 0801ea44 .word 0x0801ea44 - 8016b7c: 0801ea64 .word 0x0801ea64 - 8016b80: 0801ea88 .word 0x0801ea88 - 8016b84: 0801eaac .word 0x0801eaac - 8016b88: 0801ead0 .word 0x0801ead0 + 80166f2: 4618 mov r0, r3 + 80166f4: 3720 adds r7, #32 + 80166f6: 46bd mov sp, r7 + 80166f8: bd80 pop {r7, pc} + 80166fa: bf00 nop + 80166fc: 0801e034 .word 0x0801e034 + 8016700: 0801e220 .word 0x0801e220 + 8016704: 0801e088 .word 0x0801e088 + 8016708: 0801e240 .word 0x0801e240 + 801670c: 0801e260 .word 0x0801e260 + 8016710: 0801e284 .word 0x0801e284 + 8016714: 0801e2a8 .word 0x0801e2a8 + 8016718: 0801e2cc .word 0x0801e2cc -08016b8c : +0801671c : * * @see udp_disconnect() */ err_t udp_bind(struct udp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port) { - 8016b8c: b580 push {r7, lr} - 8016b8e: b086 sub sp, #24 - 8016b90: af00 add r7, sp, #0 - 8016b92: 60f8 str r0, [r7, #12] - 8016b94: 60b9 str r1, [r7, #8] - 8016b96: 4613 mov r3, r2 - 8016b98: 80fb strh r3, [r7, #6] + 801671c: b580 push {r7, lr} + 801671e: b086 sub sp, #24 + 8016720: af00 add r7, sp, #0 + 8016722: 60f8 str r0, [r7, #12] + 8016724: 60b9 str r1, [r7, #8] + 8016726: 4613 mov r3, r2 + 8016728: 80fb strh r3, [r7, #6] LWIP_ASSERT_CORE_LOCKED(); #if LWIP_IPV4 /* Don't propagate NULL pointer (IPv4 ANY) to subsequent functions */ if (ipaddr == NULL) { - 8016b9a: 68bb ldr r3, [r7, #8] - 8016b9c: 2b00 cmp r3, #0 - 8016b9e: d101 bne.n 8016ba4 + 801672a: 68bb ldr r3, [r7, #8] + 801672c: 2b00 cmp r3, #0 + 801672e: d101 bne.n 8016734 ipaddr = IP4_ADDR_ANY; - 8016ba0: 4b39 ldr r3, [pc, #228] ; (8016c88 ) - 8016ba2: 60bb str r3, [r7, #8] + 8016730: 4b39 ldr r3, [pc, #228] ; (8016818 ) + 8016732: 60bb str r3, [r7, #8] } #else /* LWIP_IPV4 */ LWIP_ERROR("udp_bind: invalid ipaddr", ipaddr != NULL, return ERR_ARG); #endif /* LWIP_IPV4 */ LWIP_ERROR("udp_bind: invalid pcb", pcb != NULL, return ERR_ARG); - 8016ba4: 68fb ldr r3, [r7, #12] - 8016ba6: 2b00 cmp r3, #0 - 8016ba8: d109 bne.n 8016bbe - 8016baa: 4b38 ldr r3, [pc, #224] ; (8016c8c ) - 8016bac: f240 32b7 movw r2, #951 ; 0x3b7 - 8016bb0: 4937 ldr r1, [pc, #220] ; (8016c90 ) - 8016bb2: 4838 ldr r0, [pc, #224] ; (8016c94 ) - 8016bb4: f004 fc80 bl 801b4b8 - 8016bb8: f06f 030f mvn.w r3, #15 - 8016bbc: e060 b.n 8016c80 + 8016734: 68fb ldr r3, [r7, #12] + 8016736: 2b00 cmp r3, #0 + 8016738: d109 bne.n 801674e + 801673a: 4b38 ldr r3, [pc, #224] ; (801681c ) + 801673c: f240 32b7 movw r2, #951 ; 0x3b7 + 8016740: 4937 ldr r1, [pc, #220] ; (8016820 ) + 8016742: 4838 ldr r0, [pc, #224] ; (8016824 ) + 8016744: f004 fc66 bl 801b014 + 8016748: f06f 030f mvn.w r3, #15 + 801674c: e060 b.n 8016810 LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE, ("udp_bind(ipaddr = ")); ip_addr_debug_print(UDP_DEBUG | LWIP_DBG_TRACE, ipaddr); LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE, (", port = %"U16_F")\n", port)); rebind = 0; - 8016bbe: 2300 movs r3, #0 - 8016bc0: 74fb strb r3, [r7, #19] + 801674e: 2300 movs r3, #0 + 8016750: 74fb strb r3, [r7, #19] /* Check for double bind and rebind of the same pcb */ for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) { - 8016bc2: 4b35 ldr r3, [pc, #212] ; (8016c98 ) - 8016bc4: 681b ldr r3, [r3, #0] - 8016bc6: 617b str r3, [r7, #20] - 8016bc8: e009 b.n 8016bde + 8016752: 4b35 ldr r3, [pc, #212] ; (8016828 ) + 8016754: 681b ldr r3, [r3, #0] + 8016756: 617b str r3, [r7, #20] + 8016758: e009 b.n 801676e /* is this UDP PCB already on active list? */ if (pcb == ipcb) { - 8016bca: 68fa ldr r2, [r7, #12] - 8016bcc: 697b ldr r3, [r7, #20] - 8016bce: 429a cmp r2, r3 - 8016bd0: d102 bne.n 8016bd8 + 801675a: 68fa ldr r2, [r7, #12] + 801675c: 697b ldr r3, [r7, #20] + 801675e: 429a cmp r2, r3 + 8016760: d102 bne.n 8016768 rebind = 1; - 8016bd2: 2301 movs r3, #1 - 8016bd4: 74fb strb r3, [r7, #19] + 8016762: 2301 movs r3, #1 + 8016764: 74fb strb r3, [r7, #19] break; - 8016bd6: e005 b.n 8016be4 + 8016766: e005 b.n 8016774 for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) { - 8016bd8: 697b ldr r3, [r7, #20] - 8016bda: 68db ldr r3, [r3, #12] - 8016bdc: 617b str r3, [r7, #20] - 8016bde: 697b ldr r3, [r7, #20] - 8016be0: 2b00 cmp r3, #0 - 8016be2: d1f2 bne.n 8016bca + 8016768: 697b ldr r3, [r7, #20] + 801676a: 68db ldr r3, [r3, #12] + 801676c: 617b str r3, [r7, #20] + 801676e: 697b ldr r3, [r7, #20] + 8016770: 2b00 cmp r3, #0 + 8016772: d1f2 bne.n 801675a ipaddr = &zoned_ipaddr; } #endif /* LWIP_IPV6 && LWIP_IPV6_SCOPES */ /* no port specified? */ if (port == 0) { - 8016be4: 88fb ldrh r3, [r7, #6] - 8016be6: 2b00 cmp r3, #0 - 8016be8: d109 bne.n 8016bfe + 8016774: 88fb ldrh r3, [r7, #6] + 8016776: 2b00 cmp r3, #0 + 8016778: d109 bne.n 801678e port = udp_new_port(); - 8016bea: f7ff fcc5 bl 8016578 - 8016bee: 4603 mov r3, r0 - 8016bf0: 80fb strh r3, [r7, #6] + 801677a: f7ff fcc5 bl 8016108 + 801677e: 4603 mov r3, r0 + 8016780: 80fb strh r3, [r7, #6] if (port == 0) { - 8016bf2: 88fb ldrh r3, [r7, #6] - 8016bf4: 2b00 cmp r3, #0 - 8016bf6: d12c bne.n 8016c52 + 8016782: 88fb ldrh r3, [r7, #6] + 8016784: 2b00 cmp r3, #0 + 8016786: d12c bne.n 80167e2 /* no more ports available in local range */ LWIP_DEBUGF(UDP_DEBUG, ("udp_bind: out of free UDP ports\n")); return ERR_USE; - 8016bf8: f06f 0307 mvn.w r3, #7 - 8016bfc: e040 b.n 8016c80 + 8016788: f06f 0307 mvn.w r3, #7 + 801678c: e040 b.n 8016810 } } else { for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) { - 8016bfe: 4b26 ldr r3, [pc, #152] ; (8016c98 ) - 8016c00: 681b ldr r3, [r3, #0] - 8016c02: 617b str r3, [r7, #20] - 8016c04: e022 b.n 8016c4c + 801678e: 4b26 ldr r3, [pc, #152] ; (8016828 ) + 8016790: 681b ldr r3, [r3, #0] + 8016792: 617b str r3, [r7, #20] + 8016794: e022 b.n 80167dc if (pcb != ipcb) { - 8016c06: 68fa ldr r2, [r7, #12] - 8016c08: 697b ldr r3, [r7, #20] - 8016c0a: 429a cmp r2, r3 - 8016c0c: d01b beq.n 8016c46 + 8016796: 68fa ldr r2, [r7, #12] + 8016798: 697b ldr r3, [r7, #20] + 801679a: 429a cmp r2, r3 + 801679c: d01b beq.n 80167d6 if (!ip_get_option(pcb, SOF_REUSEADDR) || !ip_get_option(ipcb, SOF_REUSEADDR)) #endif /* SO_REUSE */ { /* port matches that of PCB in list and REUSEADDR not set -> reject */ if ((ipcb->local_port == port) && - 8016c0e: 697b ldr r3, [r7, #20] - 8016c10: 8a5b ldrh r3, [r3, #18] - 8016c12: 88fa ldrh r2, [r7, #6] - 8016c14: 429a cmp r2, r3 - 8016c16: d116 bne.n 8016c46 + 801679e: 697b ldr r3, [r7, #20] + 80167a0: 8a5b ldrh r3, [r3, #18] + 80167a2: 88fa ldrh r2, [r7, #6] + 80167a4: 429a cmp r2, r3 + 80167a6: d116 bne.n 80167d6 /* IP address matches or any IP used? */ (ip_addr_cmp(&ipcb->local_ip, ipaddr) || ip_addr_isany(ipaddr) || - 8016c18: 697b ldr r3, [r7, #20] - 8016c1a: 681a ldr r2, [r3, #0] - 8016c1c: 68bb ldr r3, [r7, #8] - 8016c1e: 681b ldr r3, [r3, #0] + 80167a8: 697b ldr r3, [r7, #20] + 80167aa: 681a ldr r2, [r3, #0] + 80167ac: 68bb ldr r3, [r7, #8] + 80167ae: 681b ldr r3, [r3, #0] if ((ipcb->local_port == port) && - 8016c20: 429a cmp r2, r3 - 8016c22: d00d beq.n 8016c40 + 80167b0: 429a cmp r2, r3 + 80167b2: d00d beq.n 80167d0 (ip_addr_cmp(&ipcb->local_ip, ipaddr) || ip_addr_isany(ipaddr) || - 8016c24: 68bb ldr r3, [r7, #8] - 8016c26: 2b00 cmp r3, #0 - 8016c28: d00a beq.n 8016c40 - 8016c2a: 68bb ldr r3, [r7, #8] - 8016c2c: 681b ldr r3, [r3, #0] - 8016c2e: 2b00 cmp r3, #0 - 8016c30: d006 beq.n 8016c40 + 80167b4: 68bb ldr r3, [r7, #8] + 80167b6: 2b00 cmp r3, #0 + 80167b8: d00a beq.n 80167d0 + 80167ba: 68bb ldr r3, [r7, #8] + 80167bc: 681b ldr r3, [r3, #0] + 80167be: 2b00 cmp r3, #0 + 80167c0: d006 beq.n 80167d0 ip_addr_isany(&ipcb->local_ip))) { - 8016c32: 697b ldr r3, [r7, #20] + 80167c2: 697b ldr r3, [r7, #20] (ip_addr_cmp(&ipcb->local_ip, ipaddr) || ip_addr_isany(ipaddr) || - 8016c34: 2b00 cmp r3, #0 - 8016c36: d003 beq.n 8016c40 + 80167c4: 2b00 cmp r3, #0 + 80167c6: d003 beq.n 80167d0 ip_addr_isany(&ipcb->local_ip))) { - 8016c38: 697b ldr r3, [r7, #20] - 8016c3a: 681b ldr r3, [r3, #0] - 8016c3c: 2b00 cmp r3, #0 - 8016c3e: d102 bne.n 8016c46 + 80167c8: 697b ldr r3, [r7, #20] + 80167ca: 681b ldr r3, [r3, #0] + 80167cc: 2b00 cmp r3, #0 + 80167ce: d102 bne.n 80167d6 /* other PCB already binds to this local IP and port */ LWIP_DEBUGF(UDP_DEBUG, ("udp_bind: local port %"U16_F" already bound by another pcb\n", port)); return ERR_USE; - 8016c40: f06f 0307 mvn.w r3, #7 - 8016c44: e01c b.n 8016c80 + 80167d0: f06f 0307 mvn.w r3, #7 + 80167d4: e01c b.n 8016810 for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) { - 8016c46: 697b ldr r3, [r7, #20] - 8016c48: 68db ldr r3, [r3, #12] - 8016c4a: 617b str r3, [r7, #20] - 8016c4c: 697b ldr r3, [r7, #20] - 8016c4e: 2b00 cmp r3, #0 - 8016c50: d1d9 bne.n 8016c06 + 80167d6: 697b ldr r3, [r7, #20] + 80167d8: 68db ldr r3, [r3, #12] + 80167da: 617b str r3, [r7, #20] + 80167dc: 697b ldr r3, [r7, #20] + 80167de: 2b00 cmp r3, #0 + 80167e0: d1d9 bne.n 8016796 } } } } ip_addr_set_ipaddr(&pcb->local_ip, ipaddr); - 8016c52: 68bb ldr r3, [r7, #8] - 8016c54: 2b00 cmp r3, #0 - 8016c56: d002 beq.n 8016c5e - 8016c58: 68bb ldr r3, [r7, #8] - 8016c5a: 681b ldr r3, [r3, #0] - 8016c5c: e000 b.n 8016c60 - 8016c5e: 2300 movs r3, #0 - 8016c60: 68fa ldr r2, [r7, #12] - 8016c62: 6013 str r3, [r2, #0] + 80167e2: 68bb ldr r3, [r7, #8] + 80167e4: 2b00 cmp r3, #0 + 80167e6: d002 beq.n 80167ee + 80167e8: 68bb ldr r3, [r7, #8] + 80167ea: 681b ldr r3, [r3, #0] + 80167ec: e000 b.n 80167f0 + 80167ee: 2300 movs r3, #0 + 80167f0: 68fa ldr r2, [r7, #12] + 80167f2: 6013 str r3, [r2, #0] pcb->local_port = port; - 8016c64: 68fb ldr r3, [r7, #12] - 8016c66: 88fa ldrh r2, [r7, #6] - 8016c68: 825a strh r2, [r3, #18] + 80167f4: 68fb ldr r3, [r7, #12] + 80167f6: 88fa ldrh r2, [r7, #6] + 80167f8: 825a strh r2, [r3, #18] mib2_udp_bind(pcb); /* pcb not active yet? */ if (rebind == 0) { - 8016c6a: 7cfb ldrb r3, [r7, #19] - 8016c6c: 2b00 cmp r3, #0 - 8016c6e: d106 bne.n 8016c7e + 80167fa: 7cfb ldrb r3, [r7, #19] + 80167fc: 2b00 cmp r3, #0 + 80167fe: d106 bne.n 801680e /* place the PCB on the active list if not already there */ pcb->next = udp_pcbs; - 8016c70: 4b09 ldr r3, [pc, #36] ; (8016c98 ) - 8016c72: 681a ldr r2, [r3, #0] - 8016c74: 68fb ldr r3, [r7, #12] - 8016c76: 60da str r2, [r3, #12] + 8016800: 4b09 ldr r3, [pc, #36] ; (8016828 ) + 8016802: 681a ldr r2, [r3, #0] + 8016804: 68fb ldr r3, [r7, #12] + 8016806: 60da str r2, [r3, #12] udp_pcbs = pcb; - 8016c78: 4a07 ldr r2, [pc, #28] ; (8016c98 ) - 8016c7a: 68fb ldr r3, [r7, #12] - 8016c7c: 6013 str r3, [r2, #0] + 8016808: 4a07 ldr r2, [pc, #28] ; (8016828 ) + 801680a: 68fb ldr r3, [r7, #12] + 801680c: 6013 str r3, [r2, #0] } LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("udp_bind: bound to ")); ip_addr_debug_print_val(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, pcb->local_ip); LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, (", port %"U16_F")\n", pcb->local_port)); return ERR_OK; - 8016c7e: 2300 movs r3, #0 + 801680e: 2300 movs r3, #0 } - 8016c80: 4618 mov r0, r3 - 8016c82: 3718 adds r7, #24 - 8016c84: 46bd mov sp, r7 - 8016c86: bd80 pop {r7, pc} - 8016c88: 0802166c .word 0x0802166c - 8016c8c: 0801e838 .word 0x0801e838 - 8016c90: 0801eb00 .word 0x0801eb00 - 8016c94: 0801e88c .word 0x0801e88c - 8016c98: 2000f5dc .word 0x2000f5dc + 8016810: 4618 mov r0, r3 + 8016812: 3718 adds r7, #24 + 8016814: 46bd mov sp, r7 + 8016816: bd80 pop {r7, pc} + 8016818: 08020e68 .word 0x08020e68 + 801681c: 0801e034 .word 0x0801e034 + 8016820: 0801e2fc .word 0x0801e2fc + 8016824: 0801e088 .word 0x0801e088 + 8016828: 2000f5d8 .word 0x2000f5d8 -08016c9c : +0801682c : * * @see udp_disconnect() */ err_t udp_connect(struct udp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port) { - 8016c9c: b580 push {r7, lr} - 8016c9e: b086 sub sp, #24 - 8016ca0: af00 add r7, sp, #0 - 8016ca2: 60f8 str r0, [r7, #12] - 8016ca4: 60b9 str r1, [r7, #8] - 8016ca6: 4613 mov r3, r2 - 8016ca8: 80fb strh r3, [r7, #6] + 801682c: b580 push {r7, lr} + 801682e: b086 sub sp, #24 + 8016830: af00 add r7, sp, #0 + 8016832: 60f8 str r0, [r7, #12] + 8016834: 60b9 str r1, [r7, #8] + 8016836: 4613 mov r3, r2 + 8016838: 80fb strh r3, [r7, #6] struct udp_pcb *ipcb; LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("udp_connect: invalid pcb", pcb != NULL, return ERR_ARG); - 8016caa: 68fb ldr r3, [r7, #12] - 8016cac: 2b00 cmp r3, #0 - 8016cae: d109 bne.n 8016cc4 - 8016cb0: 4b2c ldr r3, [pc, #176] ; (8016d64 ) - 8016cb2: f240 4235 movw r2, #1077 ; 0x435 - 8016cb6: 492c ldr r1, [pc, #176] ; (8016d68 ) - 8016cb8: 482c ldr r0, [pc, #176] ; (8016d6c ) - 8016cba: f004 fbfd bl 801b4b8 - 8016cbe: f06f 030f mvn.w r3, #15 - 8016cc2: e04b b.n 8016d5c + 801683a: 68fb ldr r3, [r7, #12] + 801683c: 2b00 cmp r3, #0 + 801683e: d109 bne.n 8016854 + 8016840: 4b2c ldr r3, [pc, #176] ; (80168f4 ) + 8016842: f240 4235 movw r2, #1077 ; 0x435 + 8016846: 492c ldr r1, [pc, #176] ; (80168f8 ) + 8016848: 482c ldr r0, [pc, #176] ; (80168fc ) + 801684a: f004 fbe3 bl 801b014 + 801684e: f06f 030f mvn.w r3, #15 + 8016852: e04b b.n 80168ec LWIP_ERROR("udp_connect: invalid ipaddr", ipaddr != NULL, return ERR_ARG); - 8016cc4: 68bb ldr r3, [r7, #8] - 8016cc6: 2b00 cmp r3, #0 - 8016cc8: d109 bne.n 8016cde - 8016cca: 4b26 ldr r3, [pc, #152] ; (8016d64 ) - 8016ccc: f240 4236 movw r2, #1078 ; 0x436 - 8016cd0: 4927 ldr r1, [pc, #156] ; (8016d70 ) - 8016cd2: 4826 ldr r0, [pc, #152] ; (8016d6c ) - 8016cd4: f004 fbf0 bl 801b4b8 - 8016cd8: f06f 030f mvn.w r3, #15 - 8016cdc: e03e b.n 8016d5c + 8016854: 68bb ldr r3, [r7, #8] + 8016856: 2b00 cmp r3, #0 + 8016858: d109 bne.n 801686e + 801685a: 4b26 ldr r3, [pc, #152] ; (80168f4 ) + 801685c: f240 4236 movw r2, #1078 ; 0x436 + 8016860: 4927 ldr r1, [pc, #156] ; (8016900 ) + 8016862: 4826 ldr r0, [pc, #152] ; (80168fc ) + 8016864: f004 fbd6 bl 801b014 + 8016868: f06f 030f mvn.w r3, #15 + 801686c: e03e b.n 80168ec if (pcb->local_port == 0) { - 8016cde: 68fb ldr r3, [r7, #12] - 8016ce0: 8a5b ldrh r3, [r3, #18] - 8016ce2: 2b00 cmp r3, #0 - 8016ce4: d10f bne.n 8016d06 + 801686e: 68fb ldr r3, [r7, #12] + 8016870: 8a5b ldrh r3, [r3, #18] + 8016872: 2b00 cmp r3, #0 + 8016874: d10f bne.n 8016896 err_t err = udp_bind(pcb, &pcb->local_ip, pcb->local_port); - 8016ce6: 68f9 ldr r1, [r7, #12] - 8016ce8: 68fb ldr r3, [r7, #12] - 8016cea: 8a5b ldrh r3, [r3, #18] - 8016cec: 461a mov r2, r3 - 8016cee: 68f8 ldr r0, [r7, #12] - 8016cf0: f7ff ff4c bl 8016b8c - 8016cf4: 4603 mov r3, r0 - 8016cf6: 74fb strb r3, [r7, #19] + 8016876: 68f9 ldr r1, [r7, #12] + 8016878: 68fb ldr r3, [r7, #12] + 801687a: 8a5b ldrh r3, [r3, #18] + 801687c: 461a mov r2, r3 + 801687e: 68f8 ldr r0, [r7, #12] + 8016880: f7ff ff4c bl 801671c + 8016884: 4603 mov r3, r0 + 8016886: 74fb strb r3, [r7, #19] if (err != ERR_OK) { - 8016cf8: f997 3013 ldrsb.w r3, [r7, #19] - 8016cfc: 2b00 cmp r3, #0 - 8016cfe: d002 beq.n 8016d06 + 8016888: f997 3013 ldrsb.w r3, [r7, #19] + 801688c: 2b00 cmp r3, #0 + 801688e: d002 beq.n 8016896 return err; - 8016d00: f997 3013 ldrsb.w r3, [r7, #19] - 8016d04: e02a b.n 8016d5c + 8016890: f997 3013 ldrsb.w r3, [r7, #19] + 8016894: e02a b.n 80168ec } } ip_addr_set_ipaddr(&pcb->remote_ip, ipaddr); - 8016d06: 68bb ldr r3, [r7, #8] - 8016d08: 2b00 cmp r3, #0 - 8016d0a: d002 beq.n 8016d12 - 8016d0c: 68bb ldr r3, [r7, #8] - 8016d0e: 681b ldr r3, [r3, #0] - 8016d10: e000 b.n 8016d14 - 8016d12: 2300 movs r3, #0 - 8016d14: 68fa ldr r2, [r7, #12] - 8016d16: 6053 str r3, [r2, #4] + 8016896: 68bb ldr r3, [r7, #8] + 8016898: 2b00 cmp r3, #0 + 801689a: d002 beq.n 80168a2 + 801689c: 68bb ldr r3, [r7, #8] + 801689e: 681b ldr r3, [r3, #0] + 80168a0: e000 b.n 80168a4 + 80168a2: 2300 movs r3, #0 + 80168a4: 68fa ldr r2, [r7, #12] + 80168a6: 6053 str r3, [r2, #4] ip6_addr_lacks_zone(ip_2_ip6(&pcb->remote_ip), IP6_UNKNOWN)) { ip6_addr_select_zone(ip_2_ip6(&pcb->remote_ip), ip_2_ip6(&pcb->local_ip)); } #endif /* LWIP_IPV6 && LWIP_IPV6_SCOPES */ pcb->remote_port = port; - 8016d18: 68fb ldr r3, [r7, #12] - 8016d1a: 88fa ldrh r2, [r7, #6] - 8016d1c: 829a strh r2, [r3, #20] + 80168a8: 68fb ldr r3, [r7, #12] + 80168aa: 88fa ldrh r2, [r7, #6] + 80168ac: 829a strh r2, [r3, #20] pcb->flags |= UDP_FLAGS_CONNECTED; - 8016d1e: 68fb ldr r3, [r7, #12] - 8016d20: 7c1b ldrb r3, [r3, #16] - 8016d22: f043 0304 orr.w r3, r3, #4 - 8016d26: b2da uxtb r2, r3 - 8016d28: 68fb ldr r3, [r7, #12] - 8016d2a: 741a strb r2, [r3, #16] + 80168ae: 68fb ldr r3, [r7, #12] + 80168b0: 7c1b ldrb r3, [r3, #16] + 80168b2: f043 0304 orr.w r3, r3, #4 + 80168b6: b2da uxtb r2, r3 + 80168b8: 68fb ldr r3, [r7, #12] + 80168ba: 741a strb r2, [r3, #16] ip_addr_debug_print_val(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, pcb->remote_ip); LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, (", port %"U16_F")\n", pcb->remote_port)); /* Insert UDP PCB into the list of active UDP PCBs. */ for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) { - 8016d2c: 4b11 ldr r3, [pc, #68] ; (8016d74 ) - 8016d2e: 681b ldr r3, [r3, #0] - 8016d30: 617b str r3, [r7, #20] - 8016d32: e008 b.n 8016d46 + 80168bc: 4b11 ldr r3, [pc, #68] ; (8016904 ) + 80168be: 681b ldr r3, [r3, #0] + 80168c0: 617b str r3, [r7, #20] + 80168c2: e008 b.n 80168d6 if (pcb == ipcb) { - 8016d34: 68fa ldr r2, [r7, #12] - 8016d36: 697b ldr r3, [r7, #20] - 8016d38: 429a cmp r2, r3 - 8016d3a: d101 bne.n 8016d40 + 80168c4: 68fa ldr r2, [r7, #12] + 80168c6: 697b ldr r3, [r7, #20] + 80168c8: 429a cmp r2, r3 + 80168ca: d101 bne.n 80168d0 /* already on the list, just return */ return ERR_OK; - 8016d3c: 2300 movs r3, #0 - 8016d3e: e00d b.n 8016d5c + 80168cc: 2300 movs r3, #0 + 80168ce: e00d b.n 80168ec for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) { - 8016d40: 697b ldr r3, [r7, #20] - 8016d42: 68db ldr r3, [r3, #12] - 8016d44: 617b str r3, [r7, #20] - 8016d46: 697b ldr r3, [r7, #20] - 8016d48: 2b00 cmp r3, #0 - 8016d4a: d1f3 bne.n 8016d34 + 80168d0: 697b ldr r3, [r7, #20] + 80168d2: 68db ldr r3, [r3, #12] + 80168d4: 617b str r3, [r7, #20] + 80168d6: 697b ldr r3, [r7, #20] + 80168d8: 2b00 cmp r3, #0 + 80168da: d1f3 bne.n 80168c4 } } /* PCB not yet on the list, add PCB now */ pcb->next = udp_pcbs; - 8016d4c: 4b09 ldr r3, [pc, #36] ; (8016d74 ) - 8016d4e: 681a ldr r2, [r3, #0] - 8016d50: 68fb ldr r3, [r7, #12] - 8016d52: 60da str r2, [r3, #12] + 80168dc: 4b09 ldr r3, [pc, #36] ; (8016904 ) + 80168de: 681a ldr r2, [r3, #0] + 80168e0: 68fb ldr r3, [r7, #12] + 80168e2: 60da str r2, [r3, #12] udp_pcbs = pcb; - 8016d54: 4a07 ldr r2, [pc, #28] ; (8016d74 ) - 8016d56: 68fb ldr r3, [r7, #12] - 8016d58: 6013 str r3, [r2, #0] + 80168e4: 4a07 ldr r2, [pc, #28] ; (8016904 ) + 80168e6: 68fb ldr r3, [r7, #12] + 80168e8: 6013 str r3, [r2, #0] return ERR_OK; - 8016d5a: 2300 movs r3, #0 + 80168ea: 2300 movs r3, #0 } - 8016d5c: 4618 mov r0, r3 - 8016d5e: 3718 adds r7, #24 - 8016d60: 46bd mov sp, r7 - 8016d62: bd80 pop {r7, pc} - 8016d64: 0801e838 .word 0x0801e838 - 8016d68: 0801eb18 .word 0x0801eb18 - 8016d6c: 0801e88c .word 0x0801e88c - 8016d70: 0801eb34 .word 0x0801eb34 - 8016d74: 2000f5dc .word 0x2000f5dc + 80168ec: 4618 mov r0, r3 + 80168ee: 3718 adds r7, #24 + 80168f0: 46bd mov sp, r7 + 80168f2: bd80 pop {r7, pc} + 80168f4: 0801e034 .word 0x0801e034 + 80168f8: 0801e314 .word 0x0801e314 + 80168fc: 0801e088 .word 0x0801e088 + 8016900: 0801e330 .word 0x0801e330 + 8016904: 2000f5d8 .word 0x2000f5d8 -08016d78 : +08016908 : * @param recv function pointer of the callback function * @param recv_arg additional argument to pass to the callback function */ void udp_recv(struct udp_pcb *pcb, udp_recv_fn recv, void *recv_arg) { - 8016d78: b580 push {r7, lr} - 8016d7a: b084 sub sp, #16 - 8016d7c: af00 add r7, sp, #0 - 8016d7e: 60f8 str r0, [r7, #12] - 8016d80: 60b9 str r1, [r7, #8] - 8016d82: 607a str r2, [r7, #4] + 8016908: b580 push {r7, lr} + 801690a: b084 sub sp, #16 + 801690c: af00 add r7, sp, #0 + 801690e: 60f8 str r0, [r7, #12] + 8016910: 60b9 str r1, [r7, #8] + 8016912: 607a str r2, [r7, #4] LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("udp_recv: invalid pcb", pcb != NULL, return); - 8016d84: 68fb ldr r3, [r7, #12] - 8016d86: 2b00 cmp r3, #0 - 8016d88: d107 bne.n 8016d9a - 8016d8a: 4b08 ldr r3, [pc, #32] ; (8016dac ) - 8016d8c: f240 428a movw r2, #1162 ; 0x48a - 8016d90: 4907 ldr r1, [pc, #28] ; (8016db0 ) - 8016d92: 4808 ldr r0, [pc, #32] ; (8016db4 ) - 8016d94: f004 fb90 bl 801b4b8 - 8016d98: e005 b.n 8016da6 + 8016914: 68fb ldr r3, [r7, #12] + 8016916: 2b00 cmp r3, #0 + 8016918: d107 bne.n 801692a + 801691a: 4b08 ldr r3, [pc, #32] ; (801693c ) + 801691c: f240 428a movw r2, #1162 ; 0x48a + 8016920: 4907 ldr r1, [pc, #28] ; (8016940 ) + 8016922: 4808 ldr r0, [pc, #32] ; (8016944 ) + 8016924: f004 fb76 bl 801b014 + 8016928: e005 b.n 8016936 /* remember recv() callback and user data */ pcb->recv = recv; - 8016d9a: 68fb ldr r3, [r7, #12] - 8016d9c: 68ba ldr r2, [r7, #8] - 8016d9e: 619a str r2, [r3, #24] + 801692a: 68fb ldr r3, [r7, #12] + 801692c: 68ba ldr r2, [r7, #8] + 801692e: 619a str r2, [r3, #24] pcb->recv_arg = recv_arg; - 8016da0: 68fb ldr r3, [r7, #12] - 8016da2: 687a ldr r2, [r7, #4] - 8016da4: 61da str r2, [r3, #28] + 8016930: 68fb ldr r3, [r7, #12] + 8016932: 687a ldr r2, [r7, #4] + 8016934: 61da str r2, [r3, #28] } - 8016da6: 3710 adds r7, #16 - 8016da8: 46bd mov sp, r7 - 8016daa: bd80 pop {r7, pc} - 8016dac: 0801e838 .word 0x0801e838 - 8016db0: 0801eb6c .word 0x0801eb6c - 8016db4: 0801e88c .word 0x0801e88c + 8016936: 3710 adds r7, #16 + 8016938: 46bd mov sp, r7 + 801693a: bd80 pop {r7, pc} + 801693c: 0801e034 .word 0x0801e034 + 8016940: 0801e368 .word 0x0801e368 + 8016944: 0801e088 .word 0x0801e088 -08016db8 : +08016948 : * * @see udp_new() */ void udp_remove(struct udp_pcb *pcb) { - 8016db8: b580 push {r7, lr} - 8016dba: b084 sub sp, #16 - 8016dbc: af00 add r7, sp, #0 - 8016dbe: 6078 str r0, [r7, #4] + 8016948: b580 push {r7, lr} + 801694a: b084 sub sp, #16 + 801694c: af00 add r7, sp, #0 + 801694e: 6078 str r0, [r7, #4] struct udp_pcb *pcb2; LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("udp_remove: invalid pcb", pcb != NULL, return); - 8016dc0: 687b ldr r3, [r7, #4] - 8016dc2: 2b00 cmp r3, #0 - 8016dc4: d107 bne.n 8016dd6 - 8016dc6: 4b19 ldr r3, [pc, #100] ; (8016e2c ) - 8016dc8: f240 42a1 movw r2, #1185 ; 0x4a1 - 8016dcc: 4918 ldr r1, [pc, #96] ; (8016e30 ) - 8016dce: 4819 ldr r0, [pc, #100] ; (8016e34 ) - 8016dd0: f004 fb72 bl 801b4b8 - 8016dd4: e026 b.n 8016e24 + 8016950: 687b ldr r3, [r7, #4] + 8016952: 2b00 cmp r3, #0 + 8016954: d107 bne.n 8016966 + 8016956: 4b19 ldr r3, [pc, #100] ; (80169bc ) + 8016958: f240 42a1 movw r2, #1185 ; 0x4a1 + 801695c: 4918 ldr r1, [pc, #96] ; (80169c0 ) + 801695e: 4819 ldr r0, [pc, #100] ; (80169c4 ) + 8016960: f004 fb58 bl 801b014 + 8016964: e026 b.n 80169b4 mib2_udp_unbind(pcb); /* pcb to be removed is first in list? */ if (udp_pcbs == pcb) { - 8016dd6: 4b18 ldr r3, [pc, #96] ; (8016e38 ) - 8016dd8: 681b ldr r3, [r3, #0] - 8016dda: 687a ldr r2, [r7, #4] - 8016ddc: 429a cmp r2, r3 - 8016dde: d105 bne.n 8016dec + 8016966: 4b18 ldr r3, [pc, #96] ; (80169c8 ) + 8016968: 681b ldr r3, [r3, #0] + 801696a: 687a ldr r2, [r7, #4] + 801696c: 429a cmp r2, r3 + 801696e: d105 bne.n 801697c /* make list start at 2nd pcb */ udp_pcbs = udp_pcbs->next; - 8016de0: 4b15 ldr r3, [pc, #84] ; (8016e38 ) - 8016de2: 681b ldr r3, [r3, #0] - 8016de4: 68db ldr r3, [r3, #12] - 8016de6: 4a14 ldr r2, [pc, #80] ; (8016e38 ) - 8016de8: 6013 str r3, [r2, #0] - 8016dea: e017 b.n 8016e1c + 8016970: 4b15 ldr r3, [pc, #84] ; (80169c8 ) + 8016972: 681b ldr r3, [r3, #0] + 8016974: 68db ldr r3, [r3, #12] + 8016976: 4a14 ldr r2, [pc, #80] ; (80169c8 ) + 8016978: 6013 str r3, [r2, #0] + 801697a: e017 b.n 80169ac /* pcb not 1st in list */ } else { for (pcb2 = udp_pcbs; pcb2 != NULL; pcb2 = pcb2->next) { - 8016dec: 4b12 ldr r3, [pc, #72] ; (8016e38 ) - 8016dee: 681b ldr r3, [r3, #0] - 8016df0: 60fb str r3, [r7, #12] - 8016df2: e010 b.n 8016e16 + 801697c: 4b12 ldr r3, [pc, #72] ; (80169c8 ) + 801697e: 681b ldr r3, [r3, #0] + 8016980: 60fb str r3, [r7, #12] + 8016982: e010 b.n 80169a6 /* find pcb in udp_pcbs list */ if (pcb2->next != NULL && pcb2->next == pcb) { - 8016df4: 68fb ldr r3, [r7, #12] - 8016df6: 68db ldr r3, [r3, #12] - 8016df8: 2b00 cmp r3, #0 - 8016dfa: d009 beq.n 8016e10 - 8016dfc: 68fb ldr r3, [r7, #12] - 8016dfe: 68db ldr r3, [r3, #12] - 8016e00: 687a ldr r2, [r7, #4] - 8016e02: 429a cmp r2, r3 - 8016e04: d104 bne.n 8016e10 + 8016984: 68fb ldr r3, [r7, #12] + 8016986: 68db ldr r3, [r3, #12] + 8016988: 2b00 cmp r3, #0 + 801698a: d009 beq.n 80169a0 + 801698c: 68fb ldr r3, [r7, #12] + 801698e: 68db ldr r3, [r3, #12] + 8016990: 687a ldr r2, [r7, #4] + 8016992: 429a cmp r2, r3 + 8016994: d104 bne.n 80169a0 /* remove pcb from list */ pcb2->next = pcb->next; - 8016e06: 687b ldr r3, [r7, #4] - 8016e08: 68da ldr r2, [r3, #12] - 8016e0a: 68fb ldr r3, [r7, #12] - 8016e0c: 60da str r2, [r3, #12] + 8016996: 687b ldr r3, [r7, #4] + 8016998: 68da ldr r2, [r3, #12] + 801699a: 68fb ldr r3, [r7, #12] + 801699c: 60da str r2, [r3, #12] break; - 8016e0e: e005 b.n 8016e1c + 801699e: e005 b.n 80169ac for (pcb2 = udp_pcbs; pcb2 != NULL; pcb2 = pcb2->next) { - 8016e10: 68fb ldr r3, [r7, #12] - 8016e12: 68db ldr r3, [r3, #12] - 8016e14: 60fb str r3, [r7, #12] - 8016e16: 68fb ldr r3, [r7, #12] - 8016e18: 2b00 cmp r3, #0 - 8016e1a: d1eb bne.n 8016df4 + 80169a0: 68fb ldr r3, [r7, #12] + 80169a2: 68db ldr r3, [r3, #12] + 80169a4: 60fb str r3, [r7, #12] + 80169a6: 68fb ldr r3, [r7, #12] + 80169a8: 2b00 cmp r3, #0 + 80169aa: d1eb bne.n 8016984 } } } memp_free(MEMP_UDP_PCB, pcb); - 8016e1c: 6879 ldr r1, [r7, #4] - 8016e1e: 2000 movs r0, #0 - 8016e20: f7f8 ff6e bl 800fd00 + 80169ac: 6879 ldr r1, [r7, #4] + 80169ae: 2000 movs r0, #0 + 80169b0: f7f8 ff6e bl 800f890 } - 8016e24: 3710 adds r7, #16 - 8016e26: 46bd mov sp, r7 - 8016e28: bd80 pop {r7, pc} - 8016e2a: bf00 nop - 8016e2c: 0801e838 .word 0x0801e838 - 8016e30: 0801eb84 .word 0x0801eb84 - 8016e34: 0801e88c .word 0x0801e88c - 8016e38: 2000f5dc .word 0x2000f5dc + 80169b4: 3710 adds r7, #16 + 80169b6: 46bd mov sp, r7 + 80169b8: bd80 pop {r7, pc} + 80169ba: bf00 nop + 80169bc: 0801e034 .word 0x0801e034 + 80169c0: 0801e380 .word 0x0801e380 + 80169c4: 0801e088 .word 0x0801e088 + 80169c8: 2000f5d8 .word 0x2000f5d8 -08016e3c : +080169cc : * * @see udp_remove() */ struct udp_pcb * udp_new(void) { - 8016e3c: b580 push {r7, lr} - 8016e3e: b082 sub sp, #8 - 8016e40: af00 add r7, sp, #0 + 80169cc: b580 push {r7, lr} + 80169ce: b082 sub sp, #8 + 80169d0: af00 add r7, sp, #0 struct udp_pcb *pcb; LWIP_ASSERT_CORE_LOCKED(); pcb = (struct udp_pcb *)memp_malloc(MEMP_UDP_PCB); - 8016e42: 2000 movs r0, #0 - 8016e44: f7f8 ff0a bl 800fc5c - 8016e48: 6078 str r0, [r7, #4] + 80169d2: 2000 movs r0, #0 + 80169d4: f7f8 ff0a bl 800f7ec + 80169d8: 6078 str r0, [r7, #4] /* could allocate UDP PCB? */ if (pcb != NULL) { - 8016e4a: 687b ldr r3, [r7, #4] - 8016e4c: 2b00 cmp r3, #0 - 8016e4e: d007 beq.n 8016e60 + 80169da: 687b ldr r3, [r7, #4] + 80169dc: 2b00 cmp r3, #0 + 80169de: d007 beq.n 80169f0 /* UDP Lite: by initializing to all zeroes, chksum_len is set to 0 * which means checksum is generated over the whole datagram per default * (recommended as default by RFC 3828). */ /* initialize PCB to all zeroes */ memset(pcb, 0, sizeof(struct udp_pcb)); - 8016e50: 2220 movs r2, #32 - 8016e52: 2100 movs r1, #0 - 8016e54: 6878 ldr r0, [r7, #4] - 8016e56: f004 fb26 bl 801b4a6 + 80169e0: 2220 movs r2, #32 + 80169e2: 2100 movs r1, #0 + 80169e4: 6878 ldr r0, [r7, #4] + 80169e6: f004 fb0d bl 801b004 pcb->ttl = UDP_TTL; - 8016e5a: 687b ldr r3, [r7, #4] - 8016e5c: 22ff movs r2, #255 ; 0xff - 8016e5e: 72da strb r2, [r3, #11] + 80169ea: 687b ldr r3, [r7, #4] + 80169ec: 22ff movs r2, #255 ; 0xff + 80169ee: 72da strb r2, [r3, #11] #if LWIP_MULTICAST_TX_OPTIONS udp_set_multicast_ttl(pcb, UDP_TTL); #endif /* LWIP_MULTICAST_TX_OPTIONS */ } return pcb; - 8016e60: 687b ldr r3, [r7, #4] + 80169f0: 687b ldr r3, [r7, #4] } - 8016e62: 4618 mov r0, r3 - 8016e64: 3708 adds r7, #8 - 8016e66: 46bd mov sp, r7 - 8016e68: bd80 pop {r7, pc} + 80169f2: 4618 mov r0, r3 + 80169f4: 3708 adds r7, #8 + 80169f6: 46bd mov sp, r7 + 80169f8: bd80 pop {r7, pc} ... -08016e6c : +080169fc : * * @param old_addr IP address of the netif before change * @param new_addr IP address of the netif after change */ void udp_netif_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr) { - 8016e6c: b480 push {r7} - 8016e6e: b085 sub sp, #20 - 8016e70: af00 add r7, sp, #0 - 8016e72: 6078 str r0, [r7, #4] - 8016e74: 6039 str r1, [r7, #0] + 80169fc: b480 push {r7} + 80169fe: b085 sub sp, #20 + 8016a00: af00 add r7, sp, #0 + 8016a02: 6078 str r0, [r7, #4] + 8016a04: 6039 str r1, [r7, #0] struct udp_pcb *upcb; if (!ip_addr_isany(old_addr) && !ip_addr_isany(new_addr)) { - 8016e76: 687b ldr r3, [r7, #4] - 8016e78: 2b00 cmp r3, #0 - 8016e7a: d01e beq.n 8016eba - 8016e7c: 687b ldr r3, [r7, #4] - 8016e7e: 681b ldr r3, [r3, #0] - 8016e80: 2b00 cmp r3, #0 - 8016e82: d01a beq.n 8016eba - 8016e84: 683b ldr r3, [r7, #0] - 8016e86: 2b00 cmp r3, #0 - 8016e88: d017 beq.n 8016eba - 8016e8a: 683b ldr r3, [r7, #0] - 8016e8c: 681b ldr r3, [r3, #0] - 8016e8e: 2b00 cmp r3, #0 - 8016e90: d013 beq.n 8016eba + 8016a06: 687b ldr r3, [r7, #4] + 8016a08: 2b00 cmp r3, #0 + 8016a0a: d01e beq.n 8016a4a + 8016a0c: 687b ldr r3, [r7, #4] + 8016a0e: 681b ldr r3, [r3, #0] + 8016a10: 2b00 cmp r3, #0 + 8016a12: d01a beq.n 8016a4a + 8016a14: 683b ldr r3, [r7, #0] + 8016a16: 2b00 cmp r3, #0 + 8016a18: d017 beq.n 8016a4a + 8016a1a: 683b ldr r3, [r7, #0] + 8016a1c: 681b ldr r3, [r3, #0] + 8016a1e: 2b00 cmp r3, #0 + 8016a20: d013 beq.n 8016a4a for (upcb = udp_pcbs; upcb != NULL; upcb = upcb->next) { - 8016e92: 4b0d ldr r3, [pc, #52] ; (8016ec8 ) - 8016e94: 681b ldr r3, [r3, #0] - 8016e96: 60fb str r3, [r7, #12] - 8016e98: e00c b.n 8016eb4 + 8016a22: 4b0d ldr r3, [pc, #52] ; (8016a58 ) + 8016a24: 681b ldr r3, [r3, #0] + 8016a26: 60fb str r3, [r7, #12] + 8016a28: e00c b.n 8016a44 /* PCB bound to current local interface address? */ if (ip_addr_cmp(&upcb->local_ip, old_addr)) { - 8016e9a: 68fb ldr r3, [r7, #12] - 8016e9c: 681a ldr r2, [r3, #0] - 8016e9e: 687b ldr r3, [r7, #4] - 8016ea0: 681b ldr r3, [r3, #0] - 8016ea2: 429a cmp r2, r3 - 8016ea4: d103 bne.n 8016eae + 8016a2a: 68fb ldr r3, [r7, #12] + 8016a2c: 681a ldr r2, [r3, #0] + 8016a2e: 687b ldr r3, [r7, #4] + 8016a30: 681b ldr r3, [r3, #0] + 8016a32: 429a cmp r2, r3 + 8016a34: d103 bne.n 8016a3e /* The PCB is bound to the old ipaddr and * is set to bound to the new one instead */ ip_addr_copy(upcb->local_ip, *new_addr); - 8016ea6: 683b ldr r3, [r7, #0] - 8016ea8: 681a ldr r2, [r3, #0] - 8016eaa: 68fb ldr r3, [r7, #12] - 8016eac: 601a str r2, [r3, #0] + 8016a36: 683b ldr r3, [r7, #0] + 8016a38: 681a ldr r2, [r3, #0] + 8016a3a: 68fb ldr r3, [r7, #12] + 8016a3c: 601a str r2, [r3, #0] for (upcb = udp_pcbs; upcb != NULL; upcb = upcb->next) { - 8016eae: 68fb ldr r3, [r7, #12] - 8016eb0: 68db ldr r3, [r3, #12] - 8016eb2: 60fb str r3, [r7, #12] - 8016eb4: 68fb ldr r3, [r7, #12] - 8016eb6: 2b00 cmp r3, #0 - 8016eb8: d1ef bne.n 8016e9a + 8016a3e: 68fb ldr r3, [r7, #12] + 8016a40: 68db ldr r3, [r3, #12] + 8016a42: 60fb str r3, [r7, #12] + 8016a44: 68fb ldr r3, [r7, #12] + 8016a46: 2b00 cmp r3, #0 + 8016a48: d1ef bne.n 8016a2a } } } } - 8016eba: bf00 nop - 8016ebc: 3714 adds r7, #20 - 8016ebe: 46bd mov sp, r7 - 8016ec0: f85d 7b04 ldr.w r7, [sp], #4 - 8016ec4: 4770 bx lr - 8016ec6: bf00 nop - 8016ec8: 2000f5dc .word 0x2000f5dc + 8016a4a: bf00 nop + 8016a4c: 3714 adds r7, #20 + 8016a4e: 46bd mov sp, r7 + 8016a50: f85d 7b04 ldr.w r7, [sp], #4 + 8016a54: 4770 bx lr + 8016a56: bf00 nop + 8016a58: 2000f5d8 .word 0x2000f5d8 -08016ecc : +08016a5c : static void dhcp_option_trailer(u16_t options_out_len, u8_t *options, struct pbuf *p_out); /** Ensure DHCP PCB is allocated and bound */ static err_t dhcp_inc_pcb_refcount(void) { - 8016ecc: b580 push {r7, lr} - 8016ece: af00 add r7, sp, #0 + 8016a5c: b580 push {r7, lr} + 8016a5e: af00 add r7, sp, #0 if (dhcp_pcb_refcount == 0) { - 8016ed0: 4b20 ldr r3, [pc, #128] ; (8016f54 ) - 8016ed2: 781b ldrb r3, [r3, #0] - 8016ed4: 2b00 cmp r3, #0 - 8016ed6: d133 bne.n 8016f40 + 8016a60: 4b20 ldr r3, [pc, #128] ; (8016ae4 ) + 8016a62: 781b ldrb r3, [r3, #0] + 8016a64: 2b00 cmp r3, #0 + 8016a66: d133 bne.n 8016ad0 LWIP_ASSERT("dhcp_inc_pcb_refcount(): memory leak", dhcp_pcb == NULL); - 8016ed8: 4b1f ldr r3, [pc, #124] ; (8016f58 ) - 8016eda: 681b ldr r3, [r3, #0] - 8016edc: 2b00 cmp r3, #0 - 8016ede: d005 beq.n 8016eec - 8016ee0: 4b1e ldr r3, [pc, #120] ; (8016f5c ) - 8016ee2: 22e5 movs r2, #229 ; 0xe5 - 8016ee4: 491e ldr r1, [pc, #120] ; (8016f60 ) - 8016ee6: 481f ldr r0, [pc, #124] ; (8016f64 ) - 8016ee8: f004 fae6 bl 801b4b8 + 8016a68: 4b1f ldr r3, [pc, #124] ; (8016ae8 ) + 8016a6a: 681b ldr r3, [r3, #0] + 8016a6c: 2b00 cmp r3, #0 + 8016a6e: d005 beq.n 8016a7c + 8016a70: 4b1e ldr r3, [pc, #120] ; (8016aec ) + 8016a72: 22e5 movs r2, #229 ; 0xe5 + 8016a74: 491e ldr r1, [pc, #120] ; (8016af0 ) + 8016a76: 481f ldr r0, [pc, #124] ; (8016af4 ) + 8016a78: f004 facc bl 801b014 /* allocate UDP PCB */ dhcp_pcb = udp_new(); - 8016eec: f7ff ffa6 bl 8016e3c - 8016ef0: 4602 mov r2, r0 - 8016ef2: 4b19 ldr r3, [pc, #100] ; (8016f58 ) - 8016ef4: 601a str r2, [r3, #0] + 8016a7c: f7ff ffa6 bl 80169cc + 8016a80: 4602 mov r2, r0 + 8016a82: 4b19 ldr r3, [pc, #100] ; (8016ae8 ) + 8016a84: 601a str r2, [r3, #0] if (dhcp_pcb == NULL) { - 8016ef6: 4b18 ldr r3, [pc, #96] ; (8016f58 ) - 8016ef8: 681b ldr r3, [r3, #0] - 8016efa: 2b00 cmp r3, #0 - 8016efc: d102 bne.n 8016f04 + 8016a86: 4b18 ldr r3, [pc, #96] ; (8016ae8 ) + 8016a88: 681b ldr r3, [r3, #0] + 8016a8a: 2b00 cmp r3, #0 + 8016a8c: d102 bne.n 8016a94 return ERR_MEM; - 8016efe: f04f 33ff mov.w r3, #4294967295 - 8016f02: e024 b.n 8016f4e + 8016a8e: f04f 33ff mov.w r3, #4294967295 + 8016a92: e024 b.n 8016ade } ip_set_option(dhcp_pcb, SOF_BROADCAST); - 8016f04: 4b14 ldr r3, [pc, #80] ; (8016f58 ) - 8016f06: 681b ldr r3, [r3, #0] - 8016f08: 7a5a ldrb r2, [r3, #9] - 8016f0a: 4b13 ldr r3, [pc, #76] ; (8016f58 ) - 8016f0c: 681b ldr r3, [r3, #0] - 8016f0e: f042 0220 orr.w r2, r2, #32 - 8016f12: b2d2 uxtb r2, r2 - 8016f14: 725a strb r2, [r3, #9] + 8016a94: 4b14 ldr r3, [pc, #80] ; (8016ae8 ) + 8016a96: 681b ldr r3, [r3, #0] + 8016a98: 7a5a ldrb r2, [r3, #9] + 8016a9a: 4b13 ldr r3, [pc, #76] ; (8016ae8 ) + 8016a9c: 681b ldr r3, [r3, #0] + 8016a9e: f042 0220 orr.w r2, r2, #32 + 8016aa2: b2d2 uxtb r2, r2 + 8016aa4: 725a strb r2, [r3, #9] /* set up local and remote port for the pcb -> listen on all interfaces on all src/dest IPs */ udp_bind(dhcp_pcb, IP4_ADDR_ANY, LWIP_IANA_PORT_DHCP_CLIENT); - 8016f16: 4b10 ldr r3, [pc, #64] ; (8016f58 ) - 8016f18: 681b ldr r3, [r3, #0] - 8016f1a: 2244 movs r2, #68 ; 0x44 - 8016f1c: 4912 ldr r1, [pc, #72] ; (8016f68 ) - 8016f1e: 4618 mov r0, r3 - 8016f20: f7ff fe34 bl 8016b8c + 8016aa6: 4b10 ldr r3, [pc, #64] ; (8016ae8 ) + 8016aa8: 681b ldr r3, [r3, #0] + 8016aaa: 2244 movs r2, #68 ; 0x44 + 8016aac: 4912 ldr r1, [pc, #72] ; (8016af8 ) + 8016aae: 4618 mov r0, r3 + 8016ab0: f7ff fe34 bl 801671c udp_connect(dhcp_pcb, IP4_ADDR_ANY, LWIP_IANA_PORT_DHCP_SERVER); - 8016f24: 4b0c ldr r3, [pc, #48] ; (8016f58 ) - 8016f26: 681b ldr r3, [r3, #0] - 8016f28: 2243 movs r2, #67 ; 0x43 - 8016f2a: 490f ldr r1, [pc, #60] ; (8016f68 ) - 8016f2c: 4618 mov r0, r3 - 8016f2e: f7ff feb5 bl 8016c9c + 8016ab4: 4b0c ldr r3, [pc, #48] ; (8016ae8 ) + 8016ab6: 681b ldr r3, [r3, #0] + 8016ab8: 2243 movs r2, #67 ; 0x43 + 8016aba: 490f ldr r1, [pc, #60] ; (8016af8 ) + 8016abc: 4618 mov r0, r3 + 8016abe: f7ff feb5 bl 801682c udp_recv(dhcp_pcb, dhcp_recv, NULL); - 8016f32: 4b09 ldr r3, [pc, #36] ; (8016f58 ) - 8016f34: 681b ldr r3, [r3, #0] - 8016f36: 2200 movs r2, #0 - 8016f38: 490c ldr r1, [pc, #48] ; (8016f6c ) - 8016f3a: 4618 mov r0, r3 - 8016f3c: f7ff ff1c bl 8016d78 + 8016ac2: 4b09 ldr r3, [pc, #36] ; (8016ae8 ) + 8016ac4: 681b ldr r3, [r3, #0] + 8016ac6: 2200 movs r2, #0 + 8016ac8: 490c ldr r1, [pc, #48] ; (8016afc ) + 8016aca: 4618 mov r0, r3 + 8016acc: f7ff ff1c bl 8016908 } dhcp_pcb_refcount++; - 8016f40: 4b04 ldr r3, [pc, #16] ; (8016f54 ) - 8016f42: 781b ldrb r3, [r3, #0] - 8016f44: 3301 adds r3, #1 - 8016f46: b2da uxtb r2, r3 - 8016f48: 4b02 ldr r3, [pc, #8] ; (8016f54 ) - 8016f4a: 701a strb r2, [r3, #0] + 8016ad0: 4b04 ldr r3, [pc, #16] ; (8016ae4 ) + 8016ad2: 781b ldrb r3, [r3, #0] + 8016ad4: 3301 adds r3, #1 + 8016ad6: b2da uxtb r2, r3 + 8016ad8: 4b02 ldr r3, [pc, #8] ; (8016ae4 ) + 8016ada: 701a strb r2, [r3, #0] return ERR_OK; - 8016f4c: 2300 movs r3, #0 + 8016adc: 2300 movs r3, #0 } - 8016f4e: 4618 mov r0, r3 - 8016f50: bd80 pop {r7, pc} - 8016f52: bf00 nop - 8016f54: 20008770 .word 0x20008770 - 8016f58: 2000876c .word 0x2000876c - 8016f5c: 0801eb9c .word 0x0801eb9c - 8016f60: 0801ebd4 .word 0x0801ebd4 - 8016f64: 0801ebfc .word 0x0801ebfc - 8016f68: 0802166c .word 0x0802166c - 8016f6c: 08018829 .word 0x08018829 + 8016ade: 4618 mov r0, r3 + 8016ae0: bd80 pop {r7, pc} + 8016ae2: bf00 nop + 8016ae4: 20008770 .word 0x20008770 + 8016ae8: 2000876c .word 0x2000876c + 8016aec: 0801e398 .word 0x0801e398 + 8016af0: 0801e3d0 .word 0x0801e3d0 + 8016af4: 0801e3f8 .word 0x0801e3f8 + 8016af8: 08020e68 .word 0x08020e68 + 8016afc: 080183b9 .word 0x080183b9 -08016f70 : +08016b00 : /** Free DHCP PCB if the last netif stops using it */ static void dhcp_dec_pcb_refcount(void) { - 8016f70: b580 push {r7, lr} - 8016f72: af00 add r7, sp, #0 + 8016b00: b580 push {r7, lr} + 8016b02: af00 add r7, sp, #0 LWIP_ASSERT("dhcp_pcb_refcount(): refcount error", (dhcp_pcb_refcount > 0)); - 8016f74: 4b0e ldr r3, [pc, #56] ; (8016fb0 ) - 8016f76: 781b ldrb r3, [r3, #0] - 8016f78: 2b00 cmp r3, #0 - 8016f7a: d105 bne.n 8016f88 - 8016f7c: 4b0d ldr r3, [pc, #52] ; (8016fb4 ) - 8016f7e: 22ff movs r2, #255 ; 0xff - 8016f80: 490d ldr r1, [pc, #52] ; (8016fb8 ) - 8016f82: 480e ldr r0, [pc, #56] ; (8016fbc ) - 8016f84: f004 fa98 bl 801b4b8 + 8016b04: 4b0e ldr r3, [pc, #56] ; (8016b40 ) + 8016b06: 781b ldrb r3, [r3, #0] + 8016b08: 2b00 cmp r3, #0 + 8016b0a: d105 bne.n 8016b18 + 8016b0c: 4b0d ldr r3, [pc, #52] ; (8016b44 ) + 8016b0e: 22ff movs r2, #255 ; 0xff + 8016b10: 490d ldr r1, [pc, #52] ; (8016b48 ) + 8016b12: 480e ldr r0, [pc, #56] ; (8016b4c ) + 8016b14: f004 fa7e bl 801b014 dhcp_pcb_refcount--; - 8016f88: 4b09 ldr r3, [pc, #36] ; (8016fb0 ) - 8016f8a: 781b ldrb r3, [r3, #0] - 8016f8c: 3b01 subs r3, #1 - 8016f8e: b2da uxtb r2, r3 - 8016f90: 4b07 ldr r3, [pc, #28] ; (8016fb0 ) - 8016f92: 701a strb r2, [r3, #0] + 8016b18: 4b09 ldr r3, [pc, #36] ; (8016b40 ) + 8016b1a: 781b ldrb r3, [r3, #0] + 8016b1c: 3b01 subs r3, #1 + 8016b1e: b2da uxtb r2, r3 + 8016b20: 4b07 ldr r3, [pc, #28] ; (8016b40 ) + 8016b22: 701a strb r2, [r3, #0] if (dhcp_pcb_refcount == 0) { - 8016f94: 4b06 ldr r3, [pc, #24] ; (8016fb0 ) - 8016f96: 781b ldrb r3, [r3, #0] - 8016f98: 2b00 cmp r3, #0 - 8016f9a: d107 bne.n 8016fac + 8016b24: 4b06 ldr r3, [pc, #24] ; (8016b40 ) + 8016b26: 781b ldrb r3, [r3, #0] + 8016b28: 2b00 cmp r3, #0 + 8016b2a: d107 bne.n 8016b3c udp_remove(dhcp_pcb); - 8016f9c: 4b08 ldr r3, [pc, #32] ; (8016fc0 ) - 8016f9e: 681b ldr r3, [r3, #0] - 8016fa0: 4618 mov r0, r3 - 8016fa2: f7ff ff09 bl 8016db8 + 8016b2c: 4b08 ldr r3, [pc, #32] ; (8016b50 ) + 8016b2e: 681b ldr r3, [r3, #0] + 8016b30: 4618 mov r0, r3 + 8016b32: f7ff ff09 bl 8016948 dhcp_pcb = NULL; - 8016fa6: 4b06 ldr r3, [pc, #24] ; (8016fc0 ) - 8016fa8: 2200 movs r2, #0 - 8016faa: 601a str r2, [r3, #0] + 8016b36: 4b06 ldr r3, [pc, #24] ; (8016b50 ) + 8016b38: 2200 movs r2, #0 + 8016b3a: 601a str r2, [r3, #0] } } - 8016fac: bf00 nop - 8016fae: bd80 pop {r7, pc} - 8016fb0: 20008770 .word 0x20008770 - 8016fb4: 0801eb9c .word 0x0801eb9c - 8016fb8: 0801ec24 .word 0x0801ec24 - 8016fbc: 0801ebfc .word 0x0801ebfc - 8016fc0: 2000876c .word 0x2000876c + 8016b3c: bf00 nop + 8016b3e: bd80 pop {r7, pc} + 8016b40: 20008770 .word 0x20008770 + 8016b44: 0801e398 .word 0x0801e398 + 8016b48: 0801e420 .word 0x0801e420 + 8016b4c: 0801e3f8 .word 0x0801e3f8 + 8016b50: 2000876c .word 0x2000876c -08016fc4 : +08016b54 : * * @param netif the netif under DHCP control */ static void dhcp_handle_nak(struct netif *netif) { - 8016fc4: b580 push {r7, lr} - 8016fc6: b084 sub sp, #16 - 8016fc8: af00 add r7, sp, #0 - 8016fca: 6078 str r0, [r7, #4] + 8016b54: b580 push {r7, lr} + 8016b56: b084 sub sp, #16 + 8016b58: af00 add r7, sp, #0 + 8016b5a: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 8016fcc: 687b ldr r3, [r7, #4] - 8016fce: 6a5b ldr r3, [r3, #36] ; 0x24 - 8016fd0: 60fb str r3, [r7, #12] + 8016b5c: 687b ldr r3, [r7, #4] + 8016b5e: 6a5b ldr r3, [r3, #36] ; 0x24 + 8016b60: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_handle_nak(netif=%p) %c%c%"U16_F"\n", (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); /* Change to a defined state - set this before assigning the address to ensure the callback can use dhcp_supplied_address() */ dhcp_set_state(dhcp, DHCP_STATE_BACKING_OFF); - 8016fd2: 210c movs r1, #12 - 8016fd4: 68f8 ldr r0, [r7, #12] - 8016fd6: f001 f869 bl 80180ac + 8016b62: 210c movs r1, #12 + 8016b64: 68f8 ldr r0, [r7, #12] + 8016b66: f001 f869 bl 8017c3c /* remove IP address from interface (must no longer be used, as per RFC2131) */ netif_set_addr(netif, IP4_ADDR_ANY4, IP4_ADDR_ANY4, IP4_ADDR_ANY4); - 8016fda: 4b06 ldr r3, [pc, #24] ; (8016ff4 ) - 8016fdc: 4a05 ldr r2, [pc, #20] ; (8016ff4 ) - 8016fde: 4905 ldr r1, [pc, #20] ; (8016ff4 ) - 8016fe0: 6878 ldr r0, [r7, #4] - 8016fe2: f7f9 f82f bl 8010044 + 8016b6a: 4b06 ldr r3, [pc, #24] ; (8016b84 ) + 8016b6c: 4a05 ldr r2, [pc, #20] ; (8016b84 ) + 8016b6e: 4905 ldr r1, [pc, #20] ; (8016b84 ) + 8016b70: 6878 ldr r0, [r7, #4] + 8016b72: f7f9 f82f bl 800fbd4 /* We can immediately restart discovery */ dhcp_discover(netif); - 8016fe6: 6878 ldr r0, [r7, #4] - 8016fe8: f000 fc5c bl 80178a4 + 8016b76: 6878 ldr r0, [r7, #4] + 8016b78: f000 fc5c bl 8017434 } - 8016fec: bf00 nop - 8016fee: 3710 adds r7, #16 - 8016ff0: 46bd mov sp, r7 - 8016ff2: bd80 pop {r7, pc} - 8016ff4: 0802166c .word 0x0802166c + 8016b7c: bf00 nop + 8016b7e: 3710 adds r7, #16 + 8016b80: 46bd mov sp, r7 + 8016b82: bd80 pop {r7, pc} + 8016b84: 08020e68 .word 0x08020e68 -08016ff8 : +08016b88 : * * @param netif the netif under DHCP control */ static void dhcp_check(struct netif *netif) { - 8016ff8: b580 push {r7, lr} - 8016ffa: b084 sub sp, #16 - 8016ffc: af00 add r7, sp, #0 - 8016ffe: 6078 str r0, [r7, #4] + 8016b88: b580 push {r7, lr} + 8016b8a: b084 sub sp, #16 + 8016b8c: af00 add r7, sp, #0 + 8016b8e: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 8017000: 687b ldr r3, [r7, #4] - 8017002: 6a5b ldr r3, [r3, #36] ; 0x24 - 8017004: 60fb str r3, [r7, #12] + 8016b90: 687b ldr r3, [r7, #4] + 8016b92: 6a5b ldr r3, [r3, #36] ; 0x24 + 8016b94: 60fb str r3, [r7, #12] err_t result; u16_t msecs; LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_check(netif=%p) %c%c\n", (void *)netif, (s16_t)netif->name[0], (s16_t)netif->name[1])); dhcp_set_state(dhcp, DHCP_STATE_CHECKING); - 8017006: 2108 movs r1, #8 - 8017008: 68f8 ldr r0, [r7, #12] - 801700a: f001 f84f bl 80180ac + 8016b96: 2108 movs r1, #8 + 8016b98: 68f8 ldr r0, [r7, #12] + 8016b9a: f001 f84f bl 8017c3c /* create an ARP query for the offered IP address, expecting that no host responds, as the IP address should not be in use. */ result = etharp_query(netif, &dhcp->offered_ip_addr, NULL); - 801700e: 68fb ldr r3, [r7, #12] - 8017010: 331c adds r3, #28 - 8017012: 2200 movs r2, #0 - 8017014: 4619 mov r1, r3 - 8017016: 6878 ldr r0, [r7, #4] - 8017018: f002 fb4e bl 80196b8 - 801701c: 4603 mov r3, r0 - 801701e: 72fb strb r3, [r7, #11] + 8016b9e: 68fb ldr r3, [r7, #12] + 8016ba0: 331c adds r3, #28 + 8016ba2: 2200 movs r2, #0 + 8016ba4: 4619 mov r1, r3 + 8016ba6: 6878 ldr r0, [r7, #4] + 8016ba8: f002 fb4e bl 8019248 + 8016bac: 4603 mov r3, r0 + 8016bae: 72fb strb r3, [r7, #11] if (result != ERR_OK) { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("dhcp_check: could not perform ARP query\n")); } if (dhcp->tries < 255) { - 8017020: 68fb ldr r3, [r7, #12] - 8017022: 799b ldrb r3, [r3, #6] - 8017024: 2bff cmp r3, #255 ; 0xff - 8017026: d005 beq.n 8017034 + 8016bb0: 68fb ldr r3, [r7, #12] + 8016bb2: 799b ldrb r3, [r3, #6] + 8016bb4: 2bff cmp r3, #255 ; 0xff + 8016bb6: d005 beq.n 8016bc4 dhcp->tries++; - 8017028: 68fb ldr r3, [r7, #12] - 801702a: 799b ldrb r3, [r3, #6] - 801702c: 3301 adds r3, #1 - 801702e: b2da uxtb r2, r3 - 8017030: 68fb ldr r3, [r7, #12] - 8017032: 719a strb r2, [r3, #6] + 8016bb8: 68fb ldr r3, [r7, #12] + 8016bba: 799b ldrb r3, [r3, #6] + 8016bbc: 3301 adds r3, #1 + 8016bbe: b2da uxtb r2, r3 + 8016bc0: 68fb ldr r3, [r7, #12] + 8016bc2: 719a strb r2, [r3, #6] } msecs = 500; - 8017034: f44f 73fa mov.w r3, #500 ; 0x1f4 - 8017038: 813b strh r3, [r7, #8] + 8016bc4: f44f 73fa mov.w r3, #500 ; 0x1f4 + 8016bc8: 813b strh r3, [r7, #8] dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); - 801703a: 893b ldrh r3, [r7, #8] - 801703c: f203 13f3 addw r3, r3, #499 ; 0x1f3 - 8017040: 4a06 ldr r2, [pc, #24] ; (801705c ) - 8017042: fb82 1203 smull r1, r2, r2, r3 - 8017046: 1152 asrs r2, r2, #5 - 8017048: 17db asrs r3, r3, #31 - 801704a: 1ad3 subs r3, r2, r3 - 801704c: b29a uxth r2, r3 - 801704e: 68fb ldr r3, [r7, #12] - 8017050: 811a strh r2, [r3, #8] + 8016bca: 893b ldrh r3, [r7, #8] + 8016bcc: f203 13f3 addw r3, r3, #499 ; 0x1f3 + 8016bd0: 4a06 ldr r2, [pc, #24] ; (8016bec ) + 8016bd2: fb82 1203 smull r1, r2, r2, r3 + 8016bd6: 1152 asrs r2, r2, #5 + 8016bd8: 17db asrs r3, r3, #31 + 8016bda: 1ad3 subs r3, r2, r3 + 8016bdc: b29a uxth r2, r3 + 8016bde: 68fb ldr r3, [r7, #12] + 8016be0: 811a strh r2, [r3, #8] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_check(): set request timeout %"U16_F" msecs\n", msecs)); } - 8017052: bf00 nop - 8017054: 3710 adds r7, #16 - 8017056: 46bd mov sp, r7 - 8017058: bd80 pop {r7, pc} - 801705a: bf00 nop - 801705c: 10624dd3 .word 0x10624dd3 + 8016be2: bf00 nop + 8016be4: 3710 adds r7, #16 + 8016be6: 46bd mov sp, r7 + 8016be8: bd80 pop {r7, pc} + 8016bea: bf00 nop + 8016bec: 10624dd3 .word 0x10624dd3 -08017060 : +08016bf0 : * * @param netif the netif under DHCP control */ static void dhcp_handle_offer(struct netif *netif, struct dhcp_msg *msg_in) { - 8017060: b580 push {r7, lr} - 8017062: b084 sub sp, #16 - 8017064: af00 add r7, sp, #0 - 8017066: 6078 str r0, [r7, #4] - 8017068: 6039 str r1, [r7, #0] + 8016bf0: b580 push {r7, lr} + 8016bf2: b084 sub sp, #16 + 8016bf4: af00 add r7, sp, #0 + 8016bf6: 6078 str r0, [r7, #4] + 8016bf8: 6039 str r1, [r7, #0] struct dhcp *dhcp = netif_dhcp_data(netif); - 801706a: 687b ldr r3, [r7, #4] - 801706c: 6a5b ldr r3, [r3, #36] ; 0x24 - 801706e: 60fb str r3, [r7, #12] + 8016bfa: 687b ldr r3, [r7, #4] + 8016bfc: 6a5b ldr r3, [r3, #36] ; 0x24 + 8016bfe: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_handle_offer(netif=%p) %c%c%"U16_F"\n", (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); /* obtain the server address */ if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_SERVER_ID)) { - 8017070: 4b0c ldr r3, [pc, #48] ; (80170a4 ) - 8017072: 789b ldrb r3, [r3, #2] - 8017074: 2b00 cmp r3, #0 - 8017076: d011 beq.n 801709c + 8016c00: 4b0c ldr r3, [pc, #48] ; (8016c34 ) + 8016c02: 789b ldrb r3, [r3, #2] + 8016c04: 2b00 cmp r3, #0 + 8016c06: d011 beq.n 8016c2c dhcp->request_timeout = 0; /* stop timer */ - 8017078: 68fb ldr r3, [r7, #12] - 801707a: 2200 movs r2, #0 - 801707c: 811a strh r2, [r3, #8] + 8016c08: 68fb ldr r3, [r7, #12] + 8016c0a: 2200 movs r2, #0 + 8016c0c: 811a strh r2, [r3, #8] ip_addr_set_ip4_u32(&dhcp->server_ip_addr, lwip_htonl(dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_SERVER_ID))); - 801707e: 4b0a ldr r3, [pc, #40] ; (80170a8 ) - 8017080: 689b ldr r3, [r3, #8] - 8017082: 4618 mov r0, r3 - 8017084: f7f8 f949 bl 800f31a - 8017088: 4602 mov r2, r0 - 801708a: 68fb ldr r3, [r7, #12] - 801708c: 619a str r2, [r3, #24] + 8016c0e: 4b0a ldr r3, [pc, #40] ; (8016c38 ) + 8016c10: 689b ldr r3, [r3, #8] + 8016c12: 4618 mov r0, r3 + 8016c14: f7f8 f949 bl 800eeaa + 8016c18: 4602 mov r2, r0 + 8016c1a: 68fb ldr r3, [r7, #12] + 8016c1c: 619a str r2, [r3, #24] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_STATE, ("dhcp_handle_offer(): server 0x%08"X32_F"\n", ip4_addr_get_u32(ip_2_ip4(&dhcp->server_ip_addr)))); /* remember offered address */ ip4_addr_copy(dhcp->offered_ip_addr, msg_in->yiaddr); - 801708e: 683b ldr r3, [r7, #0] - 8017090: 691a ldr r2, [r3, #16] - 8017092: 68fb ldr r3, [r7, #12] - 8017094: 61da str r2, [r3, #28] + 8016c1e: 683b ldr r3, [r7, #0] + 8016c20: 691a ldr r2, [r3, #16] + 8016c22: 68fb ldr r3, [r7, #12] + 8016c24: 61da str r2, [r3, #28] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_STATE, ("dhcp_handle_offer(): offer for 0x%08"X32_F"\n", ip4_addr_get_u32(&dhcp->offered_ip_addr))); dhcp_select(netif); - 8017096: 6878 ldr r0, [r7, #4] - 8017098: f000 f808 bl 80170ac + 8016c26: 6878 ldr r0, [r7, #4] + 8016c28: f000 f808 bl 8016c3c } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_handle_offer(netif=%p) did not get server ID!\n", (void *)netif)); } } - 801709c: bf00 nop - 801709e: 3710 adds r7, #16 - 80170a0: 46bd mov sp, r7 - 80170a2: bd80 pop {r7, pc} - 80170a4: 2000f5e0 .word 0x2000f5e0 - 80170a8: 2000f5e8 .word 0x2000f5e8 + 8016c2c: bf00 nop + 8016c2e: 3710 adds r7, #16 + 8016c30: 46bd mov sp, r7 + 8016c32: bd80 pop {r7, pc} + 8016c34: 2000f5dc .word 0x2000f5dc + 8016c38: 2000f5e4 .word 0x2000f5e4 -080170ac : +08016c3c : * @param netif the netif under DHCP control * @return lwIP specific error (see error.h) */ static err_t dhcp_select(struct netif *netif) { - 80170ac: b5b0 push {r4, r5, r7, lr} - 80170ae: b08a sub sp, #40 ; 0x28 - 80170b0: af02 add r7, sp, #8 - 80170b2: 6078 str r0, [r7, #4] + 8016c3c: b5b0 push {r4, r5, r7, lr} + 8016c3e: b08a sub sp, #40 ; 0x28 + 8016c40: af02 add r7, sp, #8 + 8016c42: 6078 str r0, [r7, #4] u16_t msecs; u8_t i; struct pbuf *p_out; u16_t options_out_len; LWIP_ERROR("dhcp_select: netif != NULL", (netif != NULL), return ERR_ARG;); - 80170b4: 687b ldr r3, [r7, #4] - 80170b6: 2b00 cmp r3, #0 - 80170b8: d109 bne.n 80170ce - 80170ba: 4b71 ldr r3, [pc, #452] ; (8017280 ) - 80170bc: f240 1277 movw r2, #375 ; 0x177 - 80170c0: 4970 ldr r1, [pc, #448] ; (8017284 ) - 80170c2: 4871 ldr r0, [pc, #452] ; (8017288 ) - 80170c4: f004 f9f8 bl 801b4b8 - 80170c8: f06f 030f mvn.w r3, #15 - 80170cc: e0d3 b.n 8017276 + 8016c44: 687b ldr r3, [r7, #4] + 8016c46: 2b00 cmp r3, #0 + 8016c48: d109 bne.n 8016c5e + 8016c4a: 4b71 ldr r3, [pc, #452] ; (8016e10 ) + 8016c4c: f240 1277 movw r2, #375 ; 0x177 + 8016c50: 4970 ldr r1, [pc, #448] ; (8016e14 ) + 8016c52: 4871 ldr r0, [pc, #452] ; (8016e18 ) + 8016c54: f004 f9de bl 801b014 + 8016c58: f06f 030f mvn.w r3, #15 + 8016c5c: e0d3 b.n 8016e06 dhcp = netif_dhcp_data(netif); - 80170ce: 687b ldr r3, [r7, #4] - 80170d0: 6a5b ldr r3, [r3, #36] ; 0x24 - 80170d2: 61bb str r3, [r7, #24] + 8016c5e: 687b ldr r3, [r7, #4] + 8016c60: 6a5b ldr r3, [r3, #36] ; 0x24 + 8016c62: 61bb str r3, [r7, #24] LWIP_ERROR("dhcp_select: dhcp != NULL", (dhcp != NULL), return ERR_VAL;); - 80170d4: 69bb ldr r3, [r7, #24] - 80170d6: 2b00 cmp r3, #0 - 80170d8: d109 bne.n 80170ee - 80170da: 4b69 ldr r3, [pc, #420] ; (8017280 ) - 80170dc: f240 1279 movw r2, #377 ; 0x179 - 80170e0: 496a ldr r1, [pc, #424] ; (801728c ) - 80170e2: 4869 ldr r0, [pc, #420] ; (8017288 ) - 80170e4: f004 f9e8 bl 801b4b8 - 80170e8: f06f 0305 mvn.w r3, #5 - 80170ec: e0c3 b.n 8017276 + 8016c64: 69bb ldr r3, [r7, #24] + 8016c66: 2b00 cmp r3, #0 + 8016c68: d109 bne.n 8016c7e + 8016c6a: 4b69 ldr r3, [pc, #420] ; (8016e10 ) + 8016c6c: f240 1279 movw r2, #377 ; 0x179 + 8016c70: 496a ldr r1, [pc, #424] ; (8016e1c ) + 8016c72: 4869 ldr r0, [pc, #420] ; (8016e18 ) + 8016c74: f004 f9ce bl 801b014 + 8016c78: f06f 0305 mvn.w r3, #5 + 8016c7c: e0c3 b.n 8016e06 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_select(netif=%p) %c%c%"U16_F"\n", (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); dhcp_set_state(dhcp, DHCP_STATE_REQUESTING); - 80170ee: 2101 movs r1, #1 - 80170f0: 69b8 ldr r0, [r7, #24] - 80170f2: f000 ffdb bl 80180ac + 8016c7e: 2101 movs r1, #1 + 8016c80: 69b8 ldr r0, [r7, #24] + 8016c82: f000 ffdb bl 8017c3c /* create and initialize the DHCP message header */ p_out = dhcp_create_msg(netif, dhcp, DHCP_REQUEST, &options_out_len); - 80170f6: f107 030c add.w r3, r7, #12 - 80170fa: 2203 movs r2, #3 - 80170fc: 69b9 ldr r1, [r7, #24] - 80170fe: 6878 ldr r0, [r7, #4] - 8017100: f001 fc5e bl 80189c0 - 8017104: 6178 str r0, [r7, #20] + 8016c86: f107 030c add.w r3, r7, #12 + 8016c8a: 2203 movs r2, #3 + 8016c8c: 69b9 ldr r1, [r7, #24] + 8016c8e: 6878 ldr r0, [r7, #4] + 8016c90: f001 fc5e bl 8018550 + 8016c94: 6178 str r0, [r7, #20] if (p_out != NULL) { - 8017106: 697b ldr r3, [r7, #20] - 8017108: 2b00 cmp r3, #0 - 801710a: f000 8085 beq.w 8017218 + 8016c96: 697b ldr r3, [r7, #20] + 8016c98: 2b00 cmp r3, #0 + 8016c9a: f000 8085 beq.w 8016da8 struct dhcp_msg *msg_out = (struct dhcp_msg *)p_out->payload; - 801710e: 697b ldr r3, [r7, #20] - 8017110: 685b ldr r3, [r3, #4] - 8017112: 613b str r3, [r7, #16] + 8016c9e: 697b ldr r3, [r7, #20] + 8016ca0: 685b ldr r3, [r3, #4] + 8016ca2: 613b str r3, [r7, #16] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_MAX_MSG_SIZE, DHCP_OPTION_MAX_MSG_SIZE_LEN); - 8017114: 89b8 ldrh r0, [r7, #12] - 8017116: 693b ldr r3, [r7, #16] - 8017118: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 801711c: 2302 movs r3, #2 - 801711e: 2239 movs r2, #57 ; 0x39 - 8017120: f000 ffde bl 80180e0 - 8017124: 4603 mov r3, r0 - 8017126: 81bb strh r3, [r7, #12] + 8016ca4: 89b8 ldrh r0, [r7, #12] + 8016ca6: 693b ldr r3, [r7, #16] + 8016ca8: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 8016cac: 2302 movs r3, #2 + 8016cae: 2239 movs r2, #57 ; 0x39 + 8016cb0: f000 ffde bl 8017c70 + 8016cb4: 4603 mov r3, r0 + 8016cb6: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_short(options_out_len, msg_out->options, DHCP_MAX_MSG_LEN(netif)); - 8017128: 89b8 ldrh r0, [r7, #12] - 801712a: 693b ldr r3, [r7, #16] - 801712c: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017130: 687b ldr r3, [r7, #4] - 8017132: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8017134: 461a mov r2, r3 - 8017136: f001 f82d bl 8018194 - 801713a: 4603 mov r3, r0 - 801713c: 81bb strh r3, [r7, #12] + 8016cb8: 89b8 ldrh r0, [r7, #12] + 8016cba: 693b ldr r3, [r7, #16] + 8016cbc: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 8016cc0: 687b ldr r3, [r7, #4] + 8016cc2: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8016cc4: 461a mov r2, r3 + 8016cc6: f001 f82d bl 8017d24 + 8016cca: 4603 mov r3, r0 + 8016ccc: 81bb strh r3, [r7, #12] /* MUST request the offered IP address */ options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_REQUESTED_IP, 4); - 801713e: 89b8 ldrh r0, [r7, #12] - 8017140: 693b ldr r3, [r7, #16] - 8017142: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017146: 2304 movs r3, #4 - 8017148: 2232 movs r2, #50 ; 0x32 - 801714a: f000 ffc9 bl 80180e0 - 801714e: 4603 mov r3, r0 - 8017150: 81bb strh r3, [r7, #12] + 8016cce: 89b8 ldrh r0, [r7, #12] + 8016cd0: 693b ldr r3, [r7, #16] + 8016cd2: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 8016cd6: 2304 movs r3, #4 + 8016cd8: 2232 movs r2, #50 ; 0x32 + 8016cda: f000 ffc9 bl 8017c70 + 8016cde: 4603 mov r3, r0 + 8016ce0: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offered_ip_addr))); - 8017152: 89bc ldrh r4, [r7, #12] - 8017154: 693b ldr r3, [r7, #16] - 8017156: f103 05f0 add.w r5, r3, #240 ; 0xf0 - 801715a: 69bb ldr r3, [r7, #24] - 801715c: 69db ldr r3, [r3, #28] - 801715e: 4618 mov r0, r3 - 8017160: f7f8 f8db bl 800f31a - 8017164: 4603 mov r3, r0 - 8017166: 461a mov r2, r3 - 8017168: 4629 mov r1, r5 - 801716a: 4620 mov r0, r4 - 801716c: f001 f844 bl 80181f8 - 8017170: 4603 mov r3, r0 - 8017172: 81bb strh r3, [r7, #12] + 8016ce2: 89bc ldrh r4, [r7, #12] + 8016ce4: 693b ldr r3, [r7, #16] + 8016ce6: f103 05f0 add.w r5, r3, #240 ; 0xf0 + 8016cea: 69bb ldr r3, [r7, #24] + 8016cec: 69db ldr r3, [r3, #28] + 8016cee: 4618 mov r0, r3 + 8016cf0: f7f8 f8db bl 800eeaa + 8016cf4: 4603 mov r3, r0 + 8016cf6: 461a mov r2, r3 + 8016cf8: 4629 mov r1, r5 + 8016cfa: 4620 mov r0, r4 + 8016cfc: f001 f844 bl 8017d88 + 8016d00: 4603 mov r3, r0 + 8016d02: 81bb strh r3, [r7, #12] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_SERVER_ID, 4); - 8017174: 89b8 ldrh r0, [r7, #12] - 8017176: 693b ldr r3, [r7, #16] - 8017178: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 801717c: 2304 movs r3, #4 - 801717e: 2236 movs r2, #54 ; 0x36 - 8017180: f000 ffae bl 80180e0 - 8017184: 4603 mov r3, r0 - 8017186: 81bb strh r3, [r7, #12] + 8016d04: 89b8 ldrh r0, [r7, #12] + 8016d06: 693b ldr r3, [r7, #16] + 8016d08: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 8016d0c: 2304 movs r3, #4 + 8016d0e: 2236 movs r2, #54 ; 0x36 + 8016d10: f000 ffae bl 8017c70 + 8016d14: 4603 mov r3, r0 + 8016d16: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(ip_2_ip4(&dhcp->server_ip_addr)))); - 8017188: 89bc ldrh r4, [r7, #12] - 801718a: 693b ldr r3, [r7, #16] - 801718c: f103 05f0 add.w r5, r3, #240 ; 0xf0 - 8017190: 69bb ldr r3, [r7, #24] - 8017192: 699b ldr r3, [r3, #24] - 8017194: 4618 mov r0, r3 - 8017196: f7f8 f8c0 bl 800f31a - 801719a: 4603 mov r3, r0 - 801719c: 461a mov r2, r3 - 801719e: 4629 mov r1, r5 - 80171a0: 4620 mov r0, r4 - 80171a2: f001 f829 bl 80181f8 - 80171a6: 4603 mov r3, r0 - 80171a8: 81bb strh r3, [r7, #12] + 8016d18: 89bc ldrh r4, [r7, #12] + 8016d1a: 693b ldr r3, [r7, #16] + 8016d1c: f103 05f0 add.w r5, r3, #240 ; 0xf0 + 8016d20: 69bb ldr r3, [r7, #24] + 8016d22: 699b ldr r3, [r3, #24] + 8016d24: 4618 mov r0, r3 + 8016d26: f7f8 f8c0 bl 800eeaa + 8016d2a: 4603 mov r3, r0 + 8016d2c: 461a mov r2, r3 + 8016d2e: 4629 mov r1, r5 + 8016d30: 4620 mov r0, r4 + 8016d32: f001 f829 bl 8017d88 + 8016d36: 4603 mov r3, r0 + 8016d38: 81bb strh r3, [r7, #12] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_request_options)); - 80171aa: 89b8 ldrh r0, [r7, #12] - 80171ac: 693b ldr r3, [r7, #16] - 80171ae: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 80171b2: 2303 movs r3, #3 - 80171b4: 2237 movs r2, #55 ; 0x37 - 80171b6: f000 ff93 bl 80180e0 - 80171ba: 4603 mov r3, r0 - 80171bc: 81bb strh r3, [r7, #12] + 8016d3a: 89b8 ldrh r0, [r7, #12] + 8016d3c: 693b ldr r3, [r7, #16] + 8016d3e: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 8016d42: 2303 movs r3, #3 + 8016d44: 2237 movs r2, #55 ; 0x37 + 8016d46: f000 ff93 bl 8017c70 + 8016d4a: 4603 mov r3, r0 + 8016d4c: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 80171be: 2300 movs r3, #0 - 80171c0: 77bb strb r3, [r7, #30] - 80171c2: e00e b.n 80171e2 + 8016d4e: 2300 movs r3, #0 + 8016d50: 77bb strb r3, [r7, #30] + 8016d52: e00e b.n 8016d72 options_out_len = dhcp_option_byte(options_out_len, msg_out->options, dhcp_discover_request_options[i]); - 80171c4: 89b8 ldrh r0, [r7, #12] - 80171c6: 693b ldr r3, [r7, #16] - 80171c8: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 80171cc: 7fbb ldrb r3, [r7, #30] - 80171ce: 4a30 ldr r2, [pc, #192] ; (8017290 ) - 80171d0: 5cd3 ldrb r3, [r2, r3] - 80171d2: 461a mov r2, r3 - 80171d4: f000 ffb8 bl 8018148 - 80171d8: 4603 mov r3, r0 - 80171da: 81bb strh r3, [r7, #12] + 8016d54: 89b8 ldrh r0, [r7, #12] + 8016d56: 693b ldr r3, [r7, #16] + 8016d58: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 8016d5c: 7fbb ldrb r3, [r7, #30] + 8016d5e: 4a30 ldr r2, [pc, #192] ; (8016e20 ) + 8016d60: 5cd3 ldrb r3, [r2, r3] + 8016d62: 461a mov r2, r3 + 8016d64: f000 ffb8 bl 8017cd8 + 8016d68: 4603 mov r3, r0 + 8016d6a: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 80171dc: 7fbb ldrb r3, [r7, #30] - 80171de: 3301 adds r3, #1 - 80171e0: 77bb strb r3, [r7, #30] - 80171e2: 7fbb ldrb r3, [r7, #30] - 80171e4: 2b02 cmp r3, #2 - 80171e6: d9ed bls.n 80171c4 + 8016d6c: 7fbb ldrb r3, [r7, #30] + 8016d6e: 3301 adds r3, #1 + 8016d70: 77bb strb r3, [r7, #30] + 8016d72: 7fbb ldrb r3, [r7, #30] + 8016d74: 2b02 cmp r3, #2 + 8016d76: d9ed bls.n 8016d54 #if LWIP_NETIF_HOSTNAME options_out_len = dhcp_option_hostname(options_out_len, msg_out->options, netif); #endif /* LWIP_NETIF_HOSTNAME */ LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, DHCP_STATE_REQUESTING, msg_out, DHCP_REQUEST, &options_out_len); dhcp_option_trailer(options_out_len, msg_out->options, p_out); - 80171e8: 89b8 ldrh r0, [r7, #12] - 80171ea: 693b ldr r3, [r7, #16] - 80171ec: 33f0 adds r3, #240 ; 0xf0 - 80171ee: 697a ldr r2, [r7, #20] - 80171f0: 4619 mov r1, r3 - 80171f2: f001 fcbb bl 8018b6c + 8016d78: 89b8 ldrh r0, [r7, #12] + 8016d7a: 693b ldr r3, [r7, #16] + 8016d7c: 33f0 adds r3, #240 ; 0xf0 + 8016d7e: 697a ldr r2, [r7, #20] + 8016d80: 4619 mov r1, r3 + 8016d82: f001 fcbb bl 80186fc /* send broadcast to any DHCP server */ result = udp_sendto_if_src(dhcp_pcb, p_out, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER, netif, IP4_ADDR_ANY); - 80171f6: 4b27 ldr r3, [pc, #156] ; (8017294 ) - 80171f8: 6818 ldr r0, [r3, #0] - 80171fa: 4b27 ldr r3, [pc, #156] ; (8017298 ) - 80171fc: 9301 str r3, [sp, #4] - 80171fe: 687b ldr r3, [r7, #4] - 8017200: 9300 str r3, [sp, #0] - 8017202: 2343 movs r3, #67 ; 0x43 - 8017204: 4a25 ldr r2, [pc, #148] ; (801729c ) - 8017206: 6979 ldr r1, [r7, #20] - 8017208: f7ff fbda bl 80169c0 - 801720c: 4603 mov r3, r0 - 801720e: 77fb strb r3, [r7, #31] + 8016d86: 4b27 ldr r3, [pc, #156] ; (8016e24 ) + 8016d88: 6818 ldr r0, [r3, #0] + 8016d8a: 4b27 ldr r3, [pc, #156] ; (8016e28 ) + 8016d8c: 9301 str r3, [sp, #4] + 8016d8e: 687b ldr r3, [r7, #4] + 8016d90: 9300 str r3, [sp, #0] + 8016d92: 2343 movs r3, #67 ; 0x43 + 8016d94: 4a25 ldr r2, [pc, #148] ; (8016e2c ) + 8016d96: 6979 ldr r1, [r7, #20] + 8016d98: f7ff fbda bl 8016550 + 8016d9c: 4603 mov r3, r0 + 8016d9e: 77fb strb r3, [r7, #31] pbuf_free(p_out); - 8017210: 6978 ldr r0, [r7, #20] - 8017212: f7f9 fc21 bl 8010a58 - 8017216: e001 b.n 801721c + 8016da0: 6978 ldr r0, [r7, #20] + 8016da2: f7f9 fc21 bl 80105e8 + 8016da6: e001 b.n 8016dac LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_select: REQUESTING\n")); } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("dhcp_select: could not allocate DHCP request\n")); result = ERR_MEM; - 8017218: 23ff movs r3, #255 ; 0xff - 801721a: 77fb strb r3, [r7, #31] + 8016da8: 23ff movs r3, #255 ; 0xff + 8016daa: 77fb strb r3, [r7, #31] } if (dhcp->tries < 255) { - 801721c: 69bb ldr r3, [r7, #24] - 801721e: 799b ldrb r3, [r3, #6] - 8017220: 2bff cmp r3, #255 ; 0xff - 8017222: d005 beq.n 8017230 + 8016dac: 69bb ldr r3, [r7, #24] + 8016dae: 799b ldrb r3, [r3, #6] + 8016db0: 2bff cmp r3, #255 ; 0xff + 8016db2: d005 beq.n 8016dc0 dhcp->tries++; - 8017224: 69bb ldr r3, [r7, #24] - 8017226: 799b ldrb r3, [r3, #6] - 8017228: 3301 adds r3, #1 - 801722a: b2da uxtb r2, r3 - 801722c: 69bb ldr r3, [r7, #24] - 801722e: 719a strb r2, [r3, #6] + 8016db4: 69bb ldr r3, [r7, #24] + 8016db6: 799b ldrb r3, [r3, #6] + 8016db8: 3301 adds r3, #1 + 8016dba: b2da uxtb r2, r3 + 8016dbc: 69bb ldr r3, [r7, #24] + 8016dbe: 719a strb r2, [r3, #6] } msecs = (u16_t)((dhcp->tries < 6 ? 1 << dhcp->tries : 60) * 1000); - 8017230: 69bb ldr r3, [r7, #24] - 8017232: 799b ldrb r3, [r3, #6] - 8017234: 2b05 cmp r3, #5 - 8017236: d80d bhi.n 8017254 - 8017238: 69bb ldr r3, [r7, #24] - 801723a: 799b ldrb r3, [r3, #6] - 801723c: 461a mov r2, r3 - 801723e: 2301 movs r3, #1 - 8017240: 4093 lsls r3, r2 - 8017242: b29b uxth r3, r3 - 8017244: 461a mov r2, r3 - 8017246: 0152 lsls r2, r2, #5 - 8017248: 1ad2 subs r2, r2, r3 - 801724a: 0092 lsls r2, r2, #2 - 801724c: 4413 add r3, r2 - 801724e: 00db lsls r3, r3, #3 - 8017250: b29b uxth r3, r3 - 8017252: e001 b.n 8017258 - 8017254: f64e 2360 movw r3, #60000 ; 0xea60 - 8017258: 81fb strh r3, [r7, #14] + 8016dc0: 69bb ldr r3, [r7, #24] + 8016dc2: 799b ldrb r3, [r3, #6] + 8016dc4: 2b05 cmp r3, #5 + 8016dc6: d80d bhi.n 8016de4 + 8016dc8: 69bb ldr r3, [r7, #24] + 8016dca: 799b ldrb r3, [r3, #6] + 8016dcc: 461a mov r2, r3 + 8016dce: 2301 movs r3, #1 + 8016dd0: 4093 lsls r3, r2 + 8016dd2: b29b uxth r3, r3 + 8016dd4: 461a mov r2, r3 + 8016dd6: 0152 lsls r2, r2, #5 + 8016dd8: 1ad2 subs r2, r2, r3 + 8016dda: 0092 lsls r2, r2, #2 + 8016ddc: 4413 add r3, r2 + 8016dde: 00db lsls r3, r3, #3 + 8016de0: b29b uxth r3, r3 + 8016de2: e001 b.n 8016de8 + 8016de4: f64e 2360 movw r3, #60000 ; 0xea60 + 8016de8: 81fb strh r3, [r7, #14] dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); - 801725a: 89fb ldrh r3, [r7, #14] - 801725c: f203 13f3 addw r3, r3, #499 ; 0x1f3 - 8017260: 4a0f ldr r2, [pc, #60] ; (80172a0 ) - 8017262: fb82 1203 smull r1, r2, r2, r3 - 8017266: 1152 asrs r2, r2, #5 - 8017268: 17db asrs r3, r3, #31 - 801726a: 1ad3 subs r3, r2, r3 - 801726c: b29a uxth r2, r3 - 801726e: 69bb ldr r3, [r7, #24] - 8017270: 811a strh r2, [r3, #8] + 8016dea: 89fb ldrh r3, [r7, #14] + 8016dec: f203 13f3 addw r3, r3, #499 ; 0x1f3 + 8016df0: 4a0f ldr r2, [pc, #60] ; (8016e30 ) + 8016df2: fb82 1203 smull r1, r2, r2, r3 + 8016df6: 1152 asrs r2, r2, #5 + 8016df8: 17db asrs r3, r3, #31 + 8016dfa: 1ad3 subs r3, r2, r3 + 8016dfc: b29a uxth r2, r3 + 8016dfe: 69bb ldr r3, [r7, #24] + 8016e00: 811a strh r2, [r3, #8] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_STATE, ("dhcp_select(): set request timeout %"U16_F" msecs\n", msecs)); return result; - 8017272: f997 301f ldrsb.w r3, [r7, #31] + 8016e02: f997 301f ldrsb.w r3, [r7, #31] } - 8017276: 4618 mov r0, r3 - 8017278: 3720 adds r7, #32 - 801727a: 46bd mov sp, r7 - 801727c: bdb0 pop {r4, r5, r7, pc} - 801727e: bf00 nop - 8017280: 0801eb9c .word 0x0801eb9c - 8017284: 0801ec48 .word 0x0801ec48 - 8017288: 0801ebfc .word 0x0801ebfc - 801728c: 0801ec64 .word 0x0801ec64 - 8017290: 20000080 .word 0x20000080 - 8017294: 2000876c .word 0x2000876c - 8017298: 0802166c .word 0x0802166c - 801729c: 08021670 .word 0x08021670 - 80172a0: 10624dd3 .word 0x10624dd3 + 8016e06: 4618 mov r0, r3 + 8016e08: 3720 adds r7, #32 + 8016e0a: 46bd mov sp, r7 + 8016e0c: bdb0 pop {r4, r5, r7, pc} + 8016e0e: bf00 nop + 8016e10: 0801e398 .word 0x0801e398 + 8016e14: 0801e444 .word 0x0801e444 + 8016e18: 0801e3f8 .word 0x0801e3f8 + 8016e1c: 0801e460 .word 0x0801e460 + 8016e20: 20000080 .word 0x20000080 + 8016e24: 2000876c .word 0x2000876c + 8016e28: 08020e68 .word 0x08020e68 + 8016e2c: 08020e6c .word 0x08020e6c + 8016e30: 10624dd3 .word 0x10624dd3 -080172a4 : +08016e34 : * The DHCP timer that checks for lease renewal/rebind timeouts. * Must be called once a minute (see @ref DHCP_COARSE_TIMER_SECS). */ void dhcp_coarse_tmr(void) { - 80172a4: b580 push {r7, lr} - 80172a6: b082 sub sp, #8 - 80172a8: af00 add r7, sp, #0 + 8016e34: b580 push {r7, lr} + 8016e36: b082 sub sp, #8 + 8016e38: af00 add r7, sp, #0 struct netif *netif; LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_coarse_tmr()\n")); /* iterate through all network interfaces */ NETIF_FOREACH(netif) { - 80172aa: 4b27 ldr r3, [pc, #156] ; (8017348 ) - 80172ac: 681b ldr r3, [r3, #0] - 80172ae: 607b str r3, [r7, #4] - 80172b0: e042 b.n 8017338 + 8016e3a: 4b27 ldr r3, [pc, #156] ; (8016ed8 ) + 8016e3c: 681b ldr r3, [r3, #0] + 8016e3e: 607b str r3, [r7, #4] + 8016e40: e042 b.n 8016ec8 /* only act on DHCP configured interfaces */ struct dhcp *dhcp = netif_dhcp_data(netif); - 80172b2: 687b ldr r3, [r7, #4] - 80172b4: 6a5b ldr r3, [r3, #36] ; 0x24 - 80172b6: 603b str r3, [r7, #0] + 8016e42: 687b ldr r3, [r7, #4] + 8016e44: 6a5b ldr r3, [r3, #36] ; 0x24 + 8016e46: 603b str r3, [r7, #0] if ((dhcp != NULL) && (dhcp->state != DHCP_STATE_OFF)) { - 80172b8: 683b ldr r3, [r7, #0] - 80172ba: 2b00 cmp r3, #0 - 80172bc: d039 beq.n 8017332 - 80172be: 683b ldr r3, [r7, #0] - 80172c0: 795b ldrb r3, [r3, #5] - 80172c2: 2b00 cmp r3, #0 - 80172c4: d035 beq.n 8017332 + 8016e48: 683b ldr r3, [r7, #0] + 8016e4a: 2b00 cmp r3, #0 + 8016e4c: d039 beq.n 8016ec2 + 8016e4e: 683b ldr r3, [r7, #0] + 8016e50: 795b ldrb r3, [r3, #5] + 8016e52: 2b00 cmp r3, #0 + 8016e54: d035 beq.n 8016ec2 /* compare lease time to expire timeout */ if (dhcp->t0_timeout && (++dhcp->lease_used == dhcp->t0_timeout)) { - 80172c6: 683b ldr r3, [r7, #0] - 80172c8: 8a9b ldrh r3, [r3, #20] - 80172ca: 2b00 cmp r3, #0 - 80172cc: d012 beq.n 80172f4 - 80172ce: 683b ldr r3, [r7, #0] - 80172d0: 8a5b ldrh r3, [r3, #18] - 80172d2: 3301 adds r3, #1 - 80172d4: b29a uxth r2, r3 - 80172d6: 683b ldr r3, [r7, #0] - 80172d8: 825a strh r2, [r3, #18] - 80172da: 683b ldr r3, [r7, #0] - 80172dc: 8a5a ldrh r2, [r3, #18] - 80172de: 683b ldr r3, [r7, #0] - 80172e0: 8a9b ldrh r3, [r3, #20] - 80172e2: 429a cmp r2, r3 - 80172e4: d106 bne.n 80172f4 + 8016e56: 683b ldr r3, [r7, #0] + 8016e58: 8a9b ldrh r3, [r3, #20] + 8016e5a: 2b00 cmp r3, #0 + 8016e5c: d012 beq.n 8016e84 + 8016e5e: 683b ldr r3, [r7, #0] + 8016e60: 8a5b ldrh r3, [r3, #18] + 8016e62: 3301 adds r3, #1 + 8016e64: b29a uxth r2, r3 + 8016e66: 683b ldr r3, [r7, #0] + 8016e68: 825a strh r2, [r3, #18] + 8016e6a: 683b ldr r3, [r7, #0] + 8016e6c: 8a5a ldrh r2, [r3, #18] + 8016e6e: 683b ldr r3, [r7, #0] + 8016e70: 8a9b ldrh r3, [r3, #20] + 8016e72: 429a cmp r2, r3 + 8016e74: d106 bne.n 8016e84 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_coarse_tmr(): t0 timeout\n")); /* this clients' lease time has expired */ dhcp_release_and_stop(netif); - 80172e6: 6878 ldr r0, [r7, #4] - 80172e8: f000 fe46 bl 8017f78 + 8016e76: 6878 ldr r0, [r7, #4] + 8016e78: f000 fe46 bl 8017b08 dhcp_start(netif); - 80172ec: 6878 ldr r0, [r7, #4] - 80172ee: f000 f96b bl 80175c8 - 80172f2: e01e b.n 8017332 + 8016e7c: 6878 ldr r0, [r7, #4] + 8016e7e: f000 f96b bl 8017158 + 8016e82: e01e b.n 8016ec2 /* timer is active (non zero), and triggers (zeroes) now? */ } else if (dhcp->t2_rebind_time && (dhcp->t2_rebind_time-- == 1)) { - 80172f4: 683b ldr r3, [r7, #0] - 80172f6: 8a1b ldrh r3, [r3, #16] - 80172f8: 2b00 cmp r3, #0 - 80172fa: d00b beq.n 8017314 - 80172fc: 683b ldr r3, [r7, #0] - 80172fe: 8a1b ldrh r3, [r3, #16] - 8017300: 1e5a subs r2, r3, #1 - 8017302: b291 uxth r1, r2 - 8017304: 683a ldr r2, [r7, #0] - 8017306: 8211 strh r1, [r2, #16] - 8017308: 2b01 cmp r3, #1 - 801730a: d103 bne.n 8017314 + 8016e84: 683b ldr r3, [r7, #0] + 8016e86: 8a1b ldrh r3, [r3, #16] + 8016e88: 2b00 cmp r3, #0 + 8016e8a: d00b beq.n 8016ea4 + 8016e8c: 683b ldr r3, [r7, #0] + 8016e8e: 8a1b ldrh r3, [r3, #16] + 8016e90: 1e5a subs r2, r3, #1 + 8016e92: b291 uxth r1, r2 + 8016e94: 683a ldr r2, [r7, #0] + 8016e96: 8211 strh r1, [r2, #16] + 8016e98: 2b01 cmp r3, #1 + 8016e9a: d103 bne.n 8016ea4 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_coarse_tmr(): t2 timeout\n")); /* this clients' rebind timeout triggered */ dhcp_t2_timeout(netif); - 801730c: 6878 ldr r0, [r7, #4] - 801730e: f000 f8c7 bl 80174a0 - 8017312: e00e b.n 8017332 + 8016e9c: 6878 ldr r0, [r7, #4] + 8016e9e: f000 f8c7 bl 8017030 + 8016ea2: e00e b.n 8016ec2 /* timer is active (non zero), and triggers (zeroes) now */ } else if (dhcp->t1_renew_time && (dhcp->t1_renew_time-- == 1)) { - 8017314: 683b ldr r3, [r7, #0] - 8017316: 89db ldrh r3, [r3, #14] - 8017318: 2b00 cmp r3, #0 - 801731a: d00a beq.n 8017332 - 801731c: 683b ldr r3, [r7, #0] - 801731e: 89db ldrh r3, [r3, #14] - 8017320: 1e5a subs r2, r3, #1 - 8017322: b291 uxth r1, r2 - 8017324: 683a ldr r2, [r7, #0] - 8017326: 81d1 strh r1, [r2, #14] - 8017328: 2b01 cmp r3, #1 - 801732a: d102 bne.n 8017332 + 8016ea4: 683b ldr r3, [r7, #0] + 8016ea6: 89db ldrh r3, [r3, #14] + 8016ea8: 2b00 cmp r3, #0 + 8016eaa: d00a beq.n 8016ec2 + 8016eac: 683b ldr r3, [r7, #0] + 8016eae: 89db ldrh r3, [r3, #14] + 8016eb0: 1e5a subs r2, r3, #1 + 8016eb2: b291 uxth r1, r2 + 8016eb4: 683a ldr r2, [r7, #0] + 8016eb6: 81d1 strh r1, [r2, #14] + 8016eb8: 2b01 cmp r3, #1 + 8016eba: d102 bne.n 8016ec2 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_coarse_tmr(): t1 timeout\n")); /* this clients' renewal timeout triggered */ dhcp_t1_timeout(netif); - 801732c: 6878 ldr r0, [r7, #4] - 801732e: f000 f888 bl 8017442 + 8016ebc: 6878 ldr r0, [r7, #4] + 8016ebe: f000 f888 bl 8016fd2 NETIF_FOREACH(netif) { - 8017332: 687b ldr r3, [r7, #4] - 8017334: 681b ldr r3, [r3, #0] - 8017336: 607b str r3, [r7, #4] - 8017338: 687b ldr r3, [r7, #4] - 801733a: 2b00 cmp r3, #0 - 801733c: d1b9 bne.n 80172b2 + 8016ec2: 687b ldr r3, [r7, #4] + 8016ec4: 681b ldr r3, [r3, #0] + 8016ec6: 607b str r3, [r7, #4] + 8016ec8: 687b ldr r3, [r7, #4] + 8016eca: 2b00 cmp r3, #0 + 8016ecc: d1b9 bne.n 8016e42 } } } } - 801733e: bf00 nop - 8017340: 3708 adds r7, #8 - 8017342: 46bd mov sp, r7 - 8017344: bd80 pop {r7, pc} - 8017346: bf00 nop - 8017348: 2000f5b4 .word 0x2000f5b4 + 8016ece: bf00 nop + 8016ed0: 3708 adds r7, #8 + 8016ed2: 46bd mov sp, r7 + 8016ed4: bd80 pop {r7, pc} + 8016ed6: bf00 nop + 8016ed8: 2000f5b0 .word 0x2000f5b0 -0801734c : +08016edc : * A DHCP server is expected to respond within a short period of time. * This timer checks whether an outstanding DHCP request is timed out. */ void dhcp_fine_tmr(void) { - 801734c: b580 push {r7, lr} - 801734e: b082 sub sp, #8 - 8017350: af00 add r7, sp, #0 + 8016edc: b580 push {r7, lr} + 8016ede: b082 sub sp, #8 + 8016ee0: af00 add r7, sp, #0 struct netif *netif; /* loop through netif's */ NETIF_FOREACH(netif) { - 8017352: 4b16 ldr r3, [pc, #88] ; (80173ac ) - 8017354: 681b ldr r3, [r3, #0] - 8017356: 607b str r3, [r7, #4] - 8017358: e020 b.n 801739c + 8016ee2: 4b16 ldr r3, [pc, #88] ; (8016f3c ) + 8016ee4: 681b ldr r3, [r3, #0] + 8016ee6: 607b str r3, [r7, #4] + 8016ee8: e020 b.n 8016f2c struct dhcp *dhcp = netif_dhcp_data(netif); - 801735a: 687b ldr r3, [r7, #4] - 801735c: 6a5b ldr r3, [r3, #36] ; 0x24 - 801735e: 603b str r3, [r7, #0] + 8016eea: 687b ldr r3, [r7, #4] + 8016eec: 6a5b ldr r3, [r3, #36] ; 0x24 + 8016eee: 603b str r3, [r7, #0] /* only act on DHCP configured interfaces */ if (dhcp != NULL) { - 8017360: 683b ldr r3, [r7, #0] - 8017362: 2b00 cmp r3, #0 - 8017364: d017 beq.n 8017396 + 8016ef0: 683b ldr r3, [r7, #0] + 8016ef2: 2b00 cmp r3, #0 + 8016ef4: d017 beq.n 8016f26 /* timer is active (non zero), and is about to trigger now */ if (dhcp->request_timeout > 1) { - 8017366: 683b ldr r3, [r7, #0] - 8017368: 891b ldrh r3, [r3, #8] - 801736a: 2b01 cmp r3, #1 - 801736c: d906 bls.n 801737c + 8016ef6: 683b ldr r3, [r7, #0] + 8016ef8: 891b ldrh r3, [r3, #8] + 8016efa: 2b01 cmp r3, #1 + 8016efc: d906 bls.n 8016f0c dhcp->request_timeout--; - 801736e: 683b ldr r3, [r7, #0] - 8017370: 891b ldrh r3, [r3, #8] - 8017372: 3b01 subs r3, #1 - 8017374: b29a uxth r2, r3 - 8017376: 683b ldr r3, [r7, #0] - 8017378: 811a strh r2, [r3, #8] - 801737a: e00c b.n 8017396 + 8016efe: 683b ldr r3, [r7, #0] + 8016f00: 891b ldrh r3, [r3, #8] + 8016f02: 3b01 subs r3, #1 + 8016f04: b29a uxth r2, r3 + 8016f06: 683b ldr r3, [r7, #0] + 8016f08: 811a strh r2, [r3, #8] + 8016f0a: e00c b.n 8016f26 } else if (dhcp->request_timeout == 1) { - 801737c: 683b ldr r3, [r7, #0] - 801737e: 891b ldrh r3, [r3, #8] - 8017380: 2b01 cmp r3, #1 - 8017382: d108 bne.n 8017396 + 8016f0c: 683b ldr r3, [r7, #0] + 8016f0e: 891b ldrh r3, [r3, #8] + 8016f10: 2b01 cmp r3, #1 + 8016f12: d108 bne.n 8016f26 dhcp->request_timeout--; - 8017384: 683b ldr r3, [r7, #0] - 8017386: 891b ldrh r3, [r3, #8] - 8017388: 3b01 subs r3, #1 - 801738a: b29a uxth r2, r3 - 801738c: 683b ldr r3, [r7, #0] - 801738e: 811a strh r2, [r3, #8] + 8016f14: 683b ldr r3, [r7, #0] + 8016f16: 891b ldrh r3, [r3, #8] + 8016f18: 3b01 subs r3, #1 + 8016f1a: b29a uxth r2, r3 + 8016f1c: 683b ldr r3, [r7, #0] + 8016f1e: 811a strh r2, [r3, #8] /* { dhcp->request_timeout == 0 } */ LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_fine_tmr(): request timeout\n")); /* this client's request timeout triggered */ dhcp_timeout(netif); - 8017390: 6878 ldr r0, [r7, #4] - 8017392: f000 f80d bl 80173b0 + 8016f20: 6878 ldr r0, [r7, #4] + 8016f22: f000 f80d bl 8016f40 NETIF_FOREACH(netif) { - 8017396: 687b ldr r3, [r7, #4] - 8017398: 681b ldr r3, [r3, #0] - 801739a: 607b str r3, [r7, #4] - 801739c: 687b ldr r3, [r7, #4] - 801739e: 2b00 cmp r3, #0 - 80173a0: d1db bne.n 801735a + 8016f26: 687b ldr r3, [r7, #4] + 8016f28: 681b ldr r3, [r3, #0] + 8016f2a: 607b str r3, [r7, #4] + 8016f2c: 687b ldr r3, [r7, #4] + 8016f2e: 2b00 cmp r3, #0 + 8016f30: d1db bne.n 8016eea } } } } - 80173a2: bf00 nop - 80173a4: 3708 adds r7, #8 - 80173a6: 46bd mov sp, r7 - 80173a8: bd80 pop {r7, pc} - 80173aa: bf00 nop - 80173ac: 2000f5b4 .word 0x2000f5b4 + 8016f32: bf00 nop + 8016f34: 3708 adds r7, #8 + 8016f36: 46bd mov sp, r7 + 8016f38: bd80 pop {r7, pc} + 8016f3a: bf00 nop + 8016f3c: 2000f5b0 .word 0x2000f5b0 -080173b0 : +08016f40 : * * @param netif the netif under DHCP control */ static void dhcp_timeout(struct netif *netif) { - 80173b0: b580 push {r7, lr} - 80173b2: b084 sub sp, #16 - 80173b4: af00 add r7, sp, #0 - 80173b6: 6078 str r0, [r7, #4] + 8016f40: b580 push {r7, lr} + 8016f42: b084 sub sp, #16 + 8016f44: af00 add r7, sp, #0 + 8016f46: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 80173b8: 687b ldr r3, [r7, #4] - 80173ba: 6a5b ldr r3, [r3, #36] ; 0x24 - 80173bc: 60fb str r3, [r7, #12] + 8016f48: 687b ldr r3, [r7, #4] + 8016f4a: 6a5b ldr r3, [r3, #36] ; 0x24 + 8016f4c: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_timeout()\n")); /* back-off period has passed, or server selection timed out */ if ((dhcp->state == DHCP_STATE_BACKING_OFF) || (dhcp->state == DHCP_STATE_SELECTING)) { - 80173be: 68fb ldr r3, [r7, #12] - 80173c0: 795b ldrb r3, [r3, #5] - 80173c2: 2b0c cmp r3, #12 - 80173c4: d003 beq.n 80173ce - 80173c6: 68fb ldr r3, [r7, #12] - 80173c8: 795b ldrb r3, [r3, #5] - 80173ca: 2b06 cmp r3, #6 - 80173cc: d103 bne.n 80173d6 + 8016f4e: 68fb ldr r3, [r7, #12] + 8016f50: 795b ldrb r3, [r3, #5] + 8016f52: 2b0c cmp r3, #12 + 8016f54: d003 beq.n 8016f5e + 8016f56: 68fb ldr r3, [r7, #12] + 8016f58: 795b ldrb r3, [r3, #5] + 8016f5a: 2b06 cmp r3, #6 + 8016f5c: d103 bne.n 8016f66 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_timeout(): restarting discovery\n")); dhcp_discover(netif); - 80173ce: 6878 ldr r0, [r7, #4] - 80173d0: f000 fa68 bl 80178a4 + 8016f5e: 6878 ldr r0, [r7, #4] + 8016f60: f000 fa68 bl 8017434 dhcp_reboot(netif); } else { dhcp_discover(netif); } } } - 80173d4: e031 b.n 801743a + 8016f64: e031 b.n 8016fca } else if (dhcp->state == DHCP_STATE_REQUESTING) { - 80173d6: 68fb ldr r3, [r7, #12] - 80173d8: 795b ldrb r3, [r3, #5] - 80173da: 2b01 cmp r3, #1 - 80173dc: d10e bne.n 80173fc + 8016f66: 68fb ldr r3, [r7, #12] + 8016f68: 795b ldrb r3, [r3, #5] + 8016f6a: 2b01 cmp r3, #1 + 8016f6c: d10e bne.n 8016f8c if (dhcp->tries <= 5) { - 80173de: 68fb ldr r3, [r7, #12] - 80173e0: 799b ldrb r3, [r3, #6] - 80173e2: 2b05 cmp r3, #5 - 80173e4: d803 bhi.n 80173ee + 8016f6e: 68fb ldr r3, [r7, #12] + 8016f70: 799b ldrb r3, [r3, #6] + 8016f72: 2b05 cmp r3, #5 + 8016f74: d803 bhi.n 8016f7e dhcp_select(netif); - 80173e6: 6878 ldr r0, [r7, #4] - 80173e8: f7ff fe60 bl 80170ac + 8016f76: 6878 ldr r0, [r7, #4] + 8016f78: f7ff fe60 bl 8016c3c } - 80173ec: e025 b.n 801743a + 8016f7c: e025 b.n 8016fca dhcp_release_and_stop(netif); - 80173ee: 6878 ldr r0, [r7, #4] - 80173f0: f000 fdc2 bl 8017f78 + 8016f7e: 6878 ldr r0, [r7, #4] + 8016f80: f000 fdc2 bl 8017b08 dhcp_start(netif); - 80173f4: 6878 ldr r0, [r7, #4] - 80173f6: f000 f8e7 bl 80175c8 + 8016f84: 6878 ldr r0, [r7, #4] + 8016f86: f000 f8e7 bl 8017158 } - 80173fa: e01e b.n 801743a + 8016f8a: e01e b.n 8016fca } else if (dhcp->state == DHCP_STATE_CHECKING) { - 80173fc: 68fb ldr r3, [r7, #12] - 80173fe: 795b ldrb r3, [r3, #5] - 8017400: 2b08 cmp r3, #8 - 8017402: d10b bne.n 801741c + 8016f8c: 68fb ldr r3, [r7, #12] + 8016f8e: 795b ldrb r3, [r3, #5] + 8016f90: 2b08 cmp r3, #8 + 8016f92: d10b bne.n 8016fac if (dhcp->tries <= 1) { - 8017404: 68fb ldr r3, [r7, #12] - 8017406: 799b ldrb r3, [r3, #6] - 8017408: 2b01 cmp r3, #1 - 801740a: d803 bhi.n 8017414 + 8016f94: 68fb ldr r3, [r7, #12] + 8016f96: 799b ldrb r3, [r3, #6] + 8016f98: 2b01 cmp r3, #1 + 8016f9a: d803 bhi.n 8016fa4 dhcp_check(netif); - 801740c: 6878 ldr r0, [r7, #4] - 801740e: f7ff fdf3 bl 8016ff8 + 8016f9c: 6878 ldr r0, [r7, #4] + 8016f9e: f7ff fdf3 bl 8016b88 } - 8017412: e012 b.n 801743a + 8016fa2: e012 b.n 8016fca dhcp_bind(netif); - 8017414: 6878 ldr r0, [r7, #4] - 8017416: f000 fae7 bl 80179e8 + 8016fa4: 6878 ldr r0, [r7, #4] + 8016fa6: f000 fae7 bl 8017578 } - 801741a: e00e b.n 801743a + 8016faa: e00e b.n 8016fca } else if (dhcp->state == DHCP_STATE_REBOOTING) { - 801741c: 68fb ldr r3, [r7, #12] - 801741e: 795b ldrb r3, [r3, #5] - 8017420: 2b03 cmp r3, #3 - 8017422: d10a bne.n 801743a + 8016fac: 68fb ldr r3, [r7, #12] + 8016fae: 795b ldrb r3, [r3, #5] + 8016fb0: 2b03 cmp r3, #3 + 8016fb2: d10a bne.n 8016fca if (dhcp->tries < REBOOT_TRIES) { - 8017424: 68fb ldr r3, [r7, #12] - 8017426: 799b ldrb r3, [r3, #6] - 8017428: 2b01 cmp r3, #1 - 801742a: d803 bhi.n 8017434 + 8016fb4: 68fb ldr r3, [r7, #12] + 8016fb6: 799b ldrb r3, [r3, #6] + 8016fb8: 2b01 cmp r3, #1 + 8016fba: d803 bhi.n 8016fc4 dhcp_reboot(netif); - 801742c: 6878 ldr r0, [r7, #4] - 801742e: f000 fced bl 8017e0c + 8016fbc: 6878 ldr r0, [r7, #4] + 8016fbe: f000 fced bl 801799c } - 8017432: e002 b.n 801743a + 8016fc2: e002 b.n 8016fca dhcp_discover(netif); - 8017434: 6878 ldr r0, [r7, #4] - 8017436: f000 fa35 bl 80178a4 + 8016fc4: 6878 ldr r0, [r7, #4] + 8016fc6: f000 fa35 bl 8017434 } - 801743a: bf00 nop - 801743c: 3710 adds r7, #16 - 801743e: 46bd mov sp, r7 - 8017440: bd80 pop {r7, pc} + 8016fca: bf00 nop + 8016fcc: 3710 adds r7, #16 + 8016fce: 46bd mov sp, r7 + 8016fd0: bd80 pop {r7, pc} -08017442 : +08016fd2 : * * @param netif the netif under DHCP control */ static void dhcp_t1_timeout(struct netif *netif) { - 8017442: b580 push {r7, lr} - 8017444: b084 sub sp, #16 - 8017446: af00 add r7, sp, #0 - 8017448: 6078 str r0, [r7, #4] + 8016fd2: b580 push {r7, lr} + 8016fd4: b084 sub sp, #16 + 8016fd6: af00 add r7, sp, #0 + 8016fd8: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 801744a: 687b ldr r3, [r7, #4] - 801744c: 6a5b ldr r3, [r3, #36] ; 0x24 - 801744e: 60fb str r3, [r7, #12] + 8016fda: 687b ldr r3, [r7, #4] + 8016fdc: 6a5b ldr r3, [r3, #36] ; 0x24 + 8016fde: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_STATE, ("dhcp_t1_timeout()\n")); if ((dhcp->state == DHCP_STATE_REQUESTING) || (dhcp->state == DHCP_STATE_BOUND) || - 8017450: 68fb ldr r3, [r7, #12] - 8017452: 795b ldrb r3, [r3, #5] - 8017454: 2b01 cmp r3, #1 - 8017456: d007 beq.n 8017468 - 8017458: 68fb ldr r3, [r7, #12] - 801745a: 795b ldrb r3, [r3, #5] - 801745c: 2b0a cmp r3, #10 - 801745e: d003 beq.n 8017468 + 8016fe0: 68fb ldr r3, [r7, #12] + 8016fe2: 795b ldrb r3, [r3, #5] + 8016fe4: 2b01 cmp r3, #1 + 8016fe6: d007 beq.n 8016ff8 + 8016fe8: 68fb ldr r3, [r7, #12] + 8016fea: 795b ldrb r3, [r3, #5] + 8016fec: 2b0a cmp r3, #10 + 8016fee: d003 beq.n 8016ff8 (dhcp->state == DHCP_STATE_RENEWING)) { - 8017460: 68fb ldr r3, [r7, #12] - 8017462: 795b ldrb r3, [r3, #5] + 8016ff0: 68fb ldr r3, [r7, #12] + 8016ff2: 795b ldrb r3, [r3, #5] if ((dhcp->state == DHCP_STATE_REQUESTING) || (dhcp->state == DHCP_STATE_BOUND) || - 8017464: 2b05 cmp r3, #5 - 8017466: d117 bne.n 8017498 + 8016ff4: 2b05 cmp r3, #5 + 8016ff6: d117 bne.n 8017028 * eventually time-out if renew tries fail. */ LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_t1_timeout(): must renew\n")); /* This slightly different to RFC2131: DHCPREQUEST will be sent from state DHCP_STATE_RENEWING, not DHCP_STATE_BOUND */ dhcp_renew(netif); - 8017468: 6878 ldr r0, [r7, #4] - 801746a: f000 fb97 bl 8017b9c + 8016ff8: 6878 ldr r0, [r7, #4] + 8016ffa: f000 fb97 bl 801772c /* Calculate next timeout */ if (((dhcp->t2_timeout - dhcp->lease_used) / 2) >= ((60 + DHCP_COARSE_TIMER_SECS / 2) / DHCP_COARSE_TIMER_SECS)) { - 801746e: 68fb ldr r3, [r7, #12] - 8017470: 899b ldrh r3, [r3, #12] - 8017472: 461a mov r2, r3 - 8017474: 68fb ldr r3, [r7, #12] - 8017476: 8a5b ldrh r3, [r3, #18] - 8017478: 1ad3 subs r3, r2, r3 - 801747a: 2b01 cmp r3, #1 - 801747c: dd0c ble.n 8017498 + 8016ffe: 68fb ldr r3, [r7, #12] + 8017000: 899b ldrh r3, [r3, #12] + 8017002: 461a mov r2, r3 + 8017004: 68fb ldr r3, [r7, #12] + 8017006: 8a5b ldrh r3, [r3, #18] + 8017008: 1ad3 subs r3, r2, r3 + 801700a: 2b01 cmp r3, #1 + 801700c: dd0c ble.n 8017028 dhcp->t1_renew_time = (u16_t)((dhcp->t2_timeout - dhcp->lease_used) / 2); - 801747e: 68fb ldr r3, [r7, #12] - 8017480: 899b ldrh r3, [r3, #12] - 8017482: 461a mov r2, r3 - 8017484: 68fb ldr r3, [r7, #12] - 8017486: 8a5b ldrh r3, [r3, #18] - 8017488: 1ad3 subs r3, r2, r3 - 801748a: 2b00 cmp r3, #0 - 801748c: da00 bge.n 8017490 - 801748e: 3301 adds r3, #1 - 8017490: 105b asrs r3, r3, #1 - 8017492: b29a uxth r2, r3 - 8017494: 68fb ldr r3, [r7, #12] - 8017496: 81da strh r2, [r3, #14] + 801700e: 68fb ldr r3, [r7, #12] + 8017010: 899b ldrh r3, [r3, #12] + 8017012: 461a mov r2, r3 + 8017014: 68fb ldr r3, [r7, #12] + 8017016: 8a5b ldrh r3, [r3, #18] + 8017018: 1ad3 subs r3, r2, r3 + 801701a: 2b00 cmp r3, #0 + 801701c: da00 bge.n 8017020 + 801701e: 3301 adds r3, #1 + 8017020: 105b asrs r3, r3, #1 + 8017022: b29a uxth r2, r3 + 8017024: 68fb ldr r3, [r7, #12] + 8017026: 81da strh r2, [r3, #14] } } } - 8017498: bf00 nop - 801749a: 3710 adds r7, #16 - 801749c: 46bd mov sp, r7 - 801749e: bd80 pop {r7, pc} + 8017028: bf00 nop + 801702a: 3710 adds r7, #16 + 801702c: 46bd mov sp, r7 + 801702e: bd80 pop {r7, pc} -080174a0 : +08017030 : * * @param netif the netif under DHCP control */ static void dhcp_t2_timeout(struct netif *netif) { - 80174a0: b580 push {r7, lr} - 80174a2: b084 sub sp, #16 - 80174a4: af00 add r7, sp, #0 - 80174a6: 6078 str r0, [r7, #4] + 8017030: b580 push {r7, lr} + 8017032: b084 sub sp, #16 + 8017034: af00 add r7, sp, #0 + 8017036: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 80174a8: 687b ldr r3, [r7, #4] - 80174aa: 6a5b ldr r3, [r3, #36] ; 0x24 - 80174ac: 60fb str r3, [r7, #12] + 8017038: 687b ldr r3, [r7, #4] + 801703a: 6a5b ldr r3, [r3, #36] ; 0x24 + 801703c: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_t2_timeout()\n")); if ((dhcp->state == DHCP_STATE_REQUESTING) || (dhcp->state == DHCP_STATE_BOUND) || - 80174ae: 68fb ldr r3, [r7, #12] - 80174b0: 795b ldrb r3, [r3, #5] - 80174b2: 2b01 cmp r3, #1 - 80174b4: d00b beq.n 80174ce - 80174b6: 68fb ldr r3, [r7, #12] - 80174b8: 795b ldrb r3, [r3, #5] - 80174ba: 2b0a cmp r3, #10 - 80174bc: d007 beq.n 80174ce + 801703e: 68fb ldr r3, [r7, #12] + 8017040: 795b ldrb r3, [r3, #5] + 8017042: 2b01 cmp r3, #1 + 8017044: d00b beq.n 801705e + 8017046: 68fb ldr r3, [r7, #12] + 8017048: 795b ldrb r3, [r3, #5] + 801704a: 2b0a cmp r3, #10 + 801704c: d007 beq.n 801705e (dhcp->state == DHCP_STATE_RENEWING) || (dhcp->state == DHCP_STATE_REBINDING)) { - 80174be: 68fb ldr r3, [r7, #12] - 80174c0: 795b ldrb r3, [r3, #5] + 801704e: 68fb ldr r3, [r7, #12] + 8017050: 795b ldrb r3, [r3, #5] if ((dhcp->state == DHCP_STATE_REQUESTING) || (dhcp->state == DHCP_STATE_BOUND) || - 80174c2: 2b05 cmp r3, #5 - 80174c4: d003 beq.n 80174ce + 8017052: 2b05 cmp r3, #5 + 8017054: d003 beq.n 801705e (dhcp->state == DHCP_STATE_RENEWING) || (dhcp->state == DHCP_STATE_REBINDING)) { - 80174c6: 68fb ldr r3, [r7, #12] - 80174c8: 795b ldrb r3, [r3, #5] - 80174ca: 2b04 cmp r3, #4 - 80174cc: d117 bne.n 80174fe + 8017056: 68fb ldr r3, [r7, #12] + 8017058: 795b ldrb r3, [r3, #5] + 801705a: 2b04 cmp r3, #4 + 801705c: d117 bne.n 801708e /* just retry to rebind */ LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_t2_timeout(): must rebind\n")); /* This slightly different to RFC2131: DHCPREQUEST will be sent from state DHCP_STATE_REBINDING, not DHCP_STATE_BOUND */ dhcp_rebind(netif); - 80174ce: 6878 ldr r0, [r7, #4] - 80174d0: f000 fc00 bl 8017cd4 + 801705e: 6878 ldr r0, [r7, #4] + 8017060: f000 fc00 bl 8017864 /* Calculate next timeout */ if (((dhcp->t0_timeout - dhcp->lease_used) / 2) >= ((60 + DHCP_COARSE_TIMER_SECS / 2) / DHCP_COARSE_TIMER_SECS)) { - 80174d4: 68fb ldr r3, [r7, #12] - 80174d6: 8a9b ldrh r3, [r3, #20] - 80174d8: 461a mov r2, r3 - 80174da: 68fb ldr r3, [r7, #12] - 80174dc: 8a5b ldrh r3, [r3, #18] - 80174de: 1ad3 subs r3, r2, r3 - 80174e0: 2b01 cmp r3, #1 - 80174e2: dd0c ble.n 80174fe + 8017064: 68fb ldr r3, [r7, #12] + 8017066: 8a9b ldrh r3, [r3, #20] + 8017068: 461a mov r2, r3 + 801706a: 68fb ldr r3, [r7, #12] + 801706c: 8a5b ldrh r3, [r3, #18] + 801706e: 1ad3 subs r3, r2, r3 + 8017070: 2b01 cmp r3, #1 + 8017072: dd0c ble.n 801708e dhcp->t2_rebind_time = (u16_t)((dhcp->t0_timeout - dhcp->lease_used) / 2); - 80174e4: 68fb ldr r3, [r7, #12] - 80174e6: 8a9b ldrh r3, [r3, #20] - 80174e8: 461a mov r2, r3 - 80174ea: 68fb ldr r3, [r7, #12] - 80174ec: 8a5b ldrh r3, [r3, #18] - 80174ee: 1ad3 subs r3, r2, r3 - 80174f0: 2b00 cmp r3, #0 - 80174f2: da00 bge.n 80174f6 - 80174f4: 3301 adds r3, #1 - 80174f6: 105b asrs r3, r3, #1 - 80174f8: b29a uxth r2, r3 - 80174fa: 68fb ldr r3, [r7, #12] - 80174fc: 821a strh r2, [r3, #16] + 8017074: 68fb ldr r3, [r7, #12] + 8017076: 8a9b ldrh r3, [r3, #20] + 8017078: 461a mov r2, r3 + 801707a: 68fb ldr r3, [r7, #12] + 801707c: 8a5b ldrh r3, [r3, #18] + 801707e: 1ad3 subs r3, r2, r3 + 8017080: 2b00 cmp r3, #0 + 8017082: da00 bge.n 8017086 + 8017084: 3301 adds r3, #1 + 8017086: 105b asrs r3, r3, #1 + 8017088: b29a uxth r2, r3 + 801708a: 68fb ldr r3, [r7, #12] + 801708c: 821a strh r2, [r3, #16] } } } - 80174fe: bf00 nop - 8017500: 3710 adds r7, #16 - 8017502: 46bd mov sp, r7 - 8017504: bd80 pop {r7, pc} + 801708e: bf00 nop + 8017090: 3710 adds r7, #16 + 8017092: 46bd mov sp, r7 + 8017094: bd80 pop {r7, pc} ... -08017508 : +08017098 : * * @param netif the netif under DHCP control */ static void dhcp_handle_ack(struct netif *netif, struct dhcp_msg *msg_in) { - 8017508: b580 push {r7, lr} - 801750a: b084 sub sp, #16 - 801750c: af00 add r7, sp, #0 - 801750e: 6078 str r0, [r7, #4] - 8017510: 6039 str r1, [r7, #0] + 8017098: b580 push {r7, lr} + 801709a: b084 sub sp, #16 + 801709c: af00 add r7, sp, #0 + 801709e: 6078 str r0, [r7, #4] + 80170a0: 6039 str r1, [r7, #0] struct dhcp *dhcp = netif_dhcp_data(netif); - 8017512: 687b ldr r3, [r7, #4] - 8017514: 6a5b ldr r3, [r3, #36] ; 0x24 - 8017516: 60fb str r3, [r7, #12] + 80170a2: 687b ldr r3, [r7, #4] + 80170a4: 6a5b ldr r3, [r3, #36] ; 0x24 + 80170a6: 60fb str r3, [r7, #12] #if LWIP_DHCP_GET_NTP_SRV ip4_addr_t ntp_server_addrs[LWIP_DHCP_MAX_NTP_SERVERS]; #endif /* clear options we might not get from the ACK */ ip4_addr_set_zero(&dhcp->offered_sn_mask); - 8017518: 68fb ldr r3, [r7, #12] - 801751a: 2200 movs r2, #0 - 801751c: 621a str r2, [r3, #32] + 80170a8: 68fb ldr r3, [r7, #12] + 80170aa: 2200 movs r2, #0 + 80170ac: 621a str r2, [r3, #32] ip4_addr_set_zero(&dhcp->offered_gw_addr); - 801751e: 68fb ldr r3, [r7, #12] - 8017520: 2200 movs r2, #0 - 8017522: 625a str r2, [r3, #36] ; 0x24 + 80170ae: 68fb ldr r3, [r7, #12] + 80170b0: 2200 movs r2, #0 + 80170b2: 625a str r2, [r3, #36] ; 0x24 #if LWIP_DHCP_BOOTP_FILE ip4_addr_set_zero(&dhcp->offered_si_addr); #endif /* LWIP_DHCP_BOOTP_FILE */ /* lease time given? */ if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_LEASE_TIME)) { - 8017524: 4b26 ldr r3, [pc, #152] ; (80175c0 ) - 8017526: 78db ldrb r3, [r3, #3] - 8017528: 2b00 cmp r3, #0 - 801752a: d003 beq.n 8017534 + 80170b4: 4b26 ldr r3, [pc, #152] ; (8017150 ) + 80170b6: 78db ldrb r3, [r3, #3] + 80170b8: 2b00 cmp r3, #0 + 80170ba: d003 beq.n 80170c4 /* remember offered lease time */ dhcp->offered_t0_lease = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_LEASE_TIME); - 801752c: 4b25 ldr r3, [pc, #148] ; (80175c4 ) - 801752e: 68da ldr r2, [r3, #12] - 8017530: 68fb ldr r3, [r7, #12] - 8017532: 629a str r2, [r3, #40] ; 0x28 + 80170bc: 4b25 ldr r3, [pc, #148] ; (8017154 ) + 80170be: 68da ldr r2, [r3, #12] + 80170c0: 68fb ldr r3, [r7, #12] + 80170c2: 629a str r2, [r3, #40] ; 0x28 } /* renewal period given? */ if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_T1)) { - 8017534: 4b22 ldr r3, [pc, #136] ; (80175c0 ) - 8017536: 791b ldrb r3, [r3, #4] - 8017538: 2b00 cmp r3, #0 - 801753a: d004 beq.n 8017546 + 80170c4: 4b22 ldr r3, [pc, #136] ; (8017150 ) + 80170c6: 791b ldrb r3, [r3, #4] + 80170c8: 2b00 cmp r3, #0 + 80170ca: d004 beq.n 80170d6 /* remember given renewal period */ dhcp->offered_t1_renew = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_T1); - 801753c: 4b21 ldr r3, [pc, #132] ; (80175c4 ) - 801753e: 691a ldr r2, [r3, #16] - 8017540: 68fb ldr r3, [r7, #12] - 8017542: 62da str r2, [r3, #44] ; 0x2c - 8017544: e004 b.n 8017550 + 80170cc: 4b21 ldr r3, [pc, #132] ; (8017154 ) + 80170ce: 691a ldr r2, [r3, #16] + 80170d0: 68fb ldr r3, [r7, #12] + 80170d2: 62da str r2, [r3, #44] ; 0x2c + 80170d4: e004 b.n 80170e0 } else { /* calculate safe periods for renewal */ dhcp->offered_t1_renew = dhcp->offered_t0_lease / 2; - 8017546: 68fb ldr r3, [r7, #12] - 8017548: 6a9b ldr r3, [r3, #40] ; 0x28 - 801754a: 085a lsrs r2, r3, #1 - 801754c: 68fb ldr r3, [r7, #12] - 801754e: 62da str r2, [r3, #44] ; 0x2c + 80170d6: 68fb ldr r3, [r7, #12] + 80170d8: 6a9b ldr r3, [r3, #40] ; 0x28 + 80170da: 085a lsrs r2, r3, #1 + 80170dc: 68fb ldr r3, [r7, #12] + 80170de: 62da str r2, [r3, #44] ; 0x2c } /* renewal period given? */ if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_T2)) { - 8017550: 4b1b ldr r3, [pc, #108] ; (80175c0 ) - 8017552: 795b ldrb r3, [r3, #5] - 8017554: 2b00 cmp r3, #0 - 8017556: d004 beq.n 8017562 + 80170e0: 4b1b ldr r3, [pc, #108] ; (8017150 ) + 80170e2: 795b ldrb r3, [r3, #5] + 80170e4: 2b00 cmp r3, #0 + 80170e6: d004 beq.n 80170f2 /* remember given rebind period */ dhcp->offered_t2_rebind = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_T2); - 8017558: 4b1a ldr r3, [pc, #104] ; (80175c4 ) - 801755a: 695a ldr r2, [r3, #20] - 801755c: 68fb ldr r3, [r7, #12] - 801755e: 631a str r2, [r3, #48] ; 0x30 - 8017560: e007 b.n 8017572 + 80170e8: 4b1a ldr r3, [pc, #104] ; (8017154 ) + 80170ea: 695a ldr r2, [r3, #20] + 80170ec: 68fb ldr r3, [r7, #12] + 80170ee: 631a str r2, [r3, #48] ; 0x30 + 80170f0: e007 b.n 8017102 } else { /* calculate safe periods for rebinding (offered_t0_lease * 0.875 -> 87.5%)*/ dhcp->offered_t2_rebind = (dhcp->offered_t0_lease * 7U) / 8U; - 8017562: 68fb ldr r3, [r7, #12] - 8017564: 6a9a ldr r2, [r3, #40] ; 0x28 - 8017566: 4613 mov r3, r2 - 8017568: 00db lsls r3, r3, #3 - 801756a: 1a9b subs r3, r3, r2 - 801756c: 08da lsrs r2, r3, #3 - 801756e: 68fb ldr r3, [r7, #12] - 8017570: 631a str r2, [r3, #48] ; 0x30 + 80170f2: 68fb ldr r3, [r7, #12] + 80170f4: 6a9a ldr r2, [r3, #40] ; 0x28 + 80170f6: 4613 mov r3, r2 + 80170f8: 00db lsls r3, r3, #3 + 80170fa: 1a9b subs r3, r3, r2 + 80170fc: 08da lsrs r2, r3, #3 + 80170fe: 68fb ldr r3, [r7, #12] + 8017100: 631a str r2, [r3, #48] ; 0x30 } /* (y)our internet address */ ip4_addr_copy(dhcp->offered_ip_addr, msg_in->yiaddr); - 8017572: 683b ldr r3, [r7, #0] - 8017574: 691a ldr r2, [r3, #16] - 8017576: 68fb ldr r3, [r7, #12] - 8017578: 61da str r2, [r3, #28] + 8017102: 683b ldr r3, [r7, #0] + 8017104: 691a ldr r2, [r3, #16] + 8017106: 68fb ldr r3, [r7, #12] + 8017108: 61da str r2, [r3, #28] boot file name copied in dhcp_parse_reply if not overloaded */ ip4_addr_copy(dhcp->offered_si_addr, msg_in->siaddr); #endif /* LWIP_DHCP_BOOTP_FILE */ /* subnet mask given? */ if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_SUBNET_MASK)) { - 801757a: 4b11 ldr r3, [pc, #68] ; (80175c0 ) - 801757c: 799b ldrb r3, [r3, #6] - 801757e: 2b00 cmp r3, #0 - 8017580: d00b beq.n 801759a + 801710a: 4b11 ldr r3, [pc, #68] ; (8017150 ) + 801710c: 799b ldrb r3, [r3, #6] + 801710e: 2b00 cmp r3, #0 + 8017110: d00b beq.n 801712a /* remember given subnet mask */ ip4_addr_set_u32(&dhcp->offered_sn_mask, lwip_htonl(dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_SUBNET_MASK))); - 8017582: 4b10 ldr r3, [pc, #64] ; (80175c4 ) - 8017584: 699b ldr r3, [r3, #24] - 8017586: 4618 mov r0, r3 - 8017588: f7f7 fec7 bl 800f31a - 801758c: 4602 mov r2, r0 - 801758e: 68fb ldr r3, [r7, #12] - 8017590: 621a str r2, [r3, #32] + 8017112: 4b10 ldr r3, [pc, #64] ; (8017154 ) + 8017114: 699b ldr r3, [r3, #24] + 8017116: 4618 mov r0, r3 + 8017118: f7f7 fec7 bl 800eeaa + 801711c: 4602 mov r2, r0 + 801711e: 68fb ldr r3, [r7, #12] + 8017120: 621a str r2, [r3, #32] dhcp->subnet_mask_given = 1; - 8017592: 68fb ldr r3, [r7, #12] - 8017594: 2201 movs r2, #1 - 8017596: 71da strb r2, [r3, #7] - 8017598: e002 b.n 80175a0 + 8017122: 68fb ldr r3, [r7, #12] + 8017124: 2201 movs r2, #1 + 8017126: 71da strb r2, [r3, #7] + 8017128: e002 b.n 8017130 } else { dhcp->subnet_mask_given = 0; - 801759a: 68fb ldr r3, [r7, #12] - 801759c: 2200 movs r2, #0 - 801759e: 71da strb r2, [r3, #7] + 801712a: 68fb ldr r3, [r7, #12] + 801712c: 2200 movs r2, #0 + 801712e: 71da strb r2, [r3, #7] } /* gateway router */ if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_ROUTER)) { - 80175a0: 4b07 ldr r3, [pc, #28] ; (80175c0 ) - 80175a2: 79db ldrb r3, [r3, #7] - 80175a4: 2b00 cmp r3, #0 - 80175a6: d007 beq.n 80175b8 + 8017130: 4b07 ldr r3, [pc, #28] ; (8017150 ) + 8017132: 79db ldrb r3, [r3, #7] + 8017134: 2b00 cmp r3, #0 + 8017136: d007 beq.n 8017148 ip4_addr_set_u32(&dhcp->offered_gw_addr, lwip_htonl(dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_ROUTER))); - 80175a8: 4b06 ldr r3, [pc, #24] ; (80175c4 ) - 80175aa: 69db ldr r3, [r3, #28] - 80175ac: 4618 mov r0, r3 - 80175ae: f7f7 feb4 bl 800f31a - 80175b2: 4602 mov r2, r0 - 80175b4: 68fb ldr r3, [r7, #12] - 80175b6: 625a str r2, [r3, #36] ; 0x24 + 8017138: 4b06 ldr r3, [pc, #24] ; (8017154 ) + 801713a: 69db ldr r3, [r3, #28] + 801713c: 4618 mov r0, r3 + 801713e: f7f7 feb4 bl 800eeaa + 8017142: 4602 mov r2, r0 + 8017144: 68fb ldr r3, [r7, #12] + 8017146: 625a str r2, [r3, #36] ; 0x24 ip_addr_t dns_addr; ip_addr_set_ip4_u32_val(dns_addr, lwip_htonl(dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_DNS_SERVER + n))); dns_setserver(n, &dns_addr); } #endif /* LWIP_DHCP_PROVIDE_DNS_SERVERS */ } - 80175b8: bf00 nop - 80175ba: 3710 adds r7, #16 - 80175bc: 46bd mov sp, r7 - 80175be: bd80 pop {r7, pc} - 80175c0: 2000f5e0 .word 0x2000f5e0 - 80175c4: 2000f5e8 .word 0x2000f5e8 + 8017148: bf00 nop + 801714a: 3710 adds r7, #16 + 801714c: 46bd mov sp, r7 + 801714e: bd80 pop {r7, pc} + 8017150: 2000f5dc .word 0x2000f5dc + 8017154: 2000f5e4 .word 0x2000f5e4 -080175c8 : +08017158 : * - ERR_OK - No error * - ERR_MEM - Out of memory */ err_t dhcp_start(struct netif *netif) { - 80175c8: b580 push {r7, lr} - 80175ca: b084 sub sp, #16 - 80175cc: af00 add r7, sp, #0 - 80175ce: 6078 str r0, [r7, #4] + 8017158: b580 push {r7, lr} + 801715a: b084 sub sp, #16 + 801715c: af00 add r7, sp, #0 + 801715e: 6078 str r0, [r7, #4] struct dhcp *dhcp; err_t result; LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("netif != NULL", (netif != NULL), return ERR_ARG;); - 80175d0: 687b ldr r3, [r7, #4] - 80175d2: 2b00 cmp r3, #0 - 80175d4: d109 bne.n 80175ea - 80175d6: 4b37 ldr r3, [pc, #220] ; (80176b4 ) - 80175d8: f240 22e7 movw r2, #743 ; 0x2e7 - 80175dc: 4936 ldr r1, [pc, #216] ; (80176b8 ) - 80175de: 4837 ldr r0, [pc, #220] ; (80176bc ) - 80175e0: f003 ff6a bl 801b4b8 - 80175e4: f06f 030f mvn.w r3, #15 - 80175e8: e060 b.n 80176ac + 8017160: 687b ldr r3, [r7, #4] + 8017162: 2b00 cmp r3, #0 + 8017164: d109 bne.n 801717a + 8017166: 4b37 ldr r3, [pc, #220] ; (8017244 ) + 8017168: f240 22e7 movw r2, #743 ; 0x2e7 + 801716c: 4936 ldr r1, [pc, #216] ; (8017248 ) + 801716e: 4837 ldr r0, [pc, #220] ; (801724c ) + 8017170: f003 ff50 bl 801b014 + 8017174: f06f 030f mvn.w r3, #15 + 8017178: e060 b.n 801723c LWIP_ERROR("netif is not up, old style port?", netif_is_up(netif), return ERR_ARG;); - 80175ea: 687b ldr r3, [r7, #4] - 80175ec: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 80175f0: f003 0301 and.w r3, r3, #1 - 80175f4: 2b00 cmp r3, #0 - 80175f6: d109 bne.n 801760c - 80175f8: 4b2e ldr r3, [pc, #184] ; (80176b4 ) - 80175fa: f44f 723a mov.w r2, #744 ; 0x2e8 - 80175fe: 4930 ldr r1, [pc, #192] ; (80176c0 ) - 8017600: 482e ldr r0, [pc, #184] ; (80176bc ) - 8017602: f003 ff59 bl 801b4b8 - 8017606: f06f 030f mvn.w r3, #15 - 801760a: e04f b.n 80176ac + 801717a: 687b ldr r3, [r7, #4] + 801717c: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 8017180: f003 0301 and.w r3, r3, #1 + 8017184: 2b00 cmp r3, #0 + 8017186: d109 bne.n 801719c + 8017188: 4b2e ldr r3, [pc, #184] ; (8017244 ) + 801718a: f44f 723a mov.w r2, #744 ; 0x2e8 + 801718e: 4930 ldr r1, [pc, #192] ; (8017250 ) + 8017190: 482e ldr r0, [pc, #184] ; (801724c ) + 8017192: f003 ff3f bl 801b014 + 8017196: f06f 030f mvn.w r3, #15 + 801719a: e04f b.n 801723c dhcp = netif_dhcp_data(netif); - 801760c: 687b ldr r3, [r7, #4] - 801760e: 6a5b ldr r3, [r3, #36] ; 0x24 - 8017610: 60fb str r3, [r7, #12] + 801719c: 687b ldr r3, [r7, #4] + 801719e: 6a5b ldr r3, [r3, #36] ; 0x24 + 80171a0: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_start(netif=%p) %c%c%"U16_F"\n", (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); /* check MTU of the netif */ if (netif->mtu < DHCP_MAX_MSG_LEN_MIN_REQUIRED) { - 8017612: 687b ldr r3, [r7, #4] - 8017614: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8017616: f5b3 7f10 cmp.w r3, #576 ; 0x240 - 801761a: d202 bcs.n 8017622 + 80171a2: 687b ldr r3, [r7, #4] + 80171a4: 8d1b ldrh r3, [r3, #40] ; 0x28 + 80171a6: f5b3 7f10 cmp.w r3, #576 ; 0x240 + 80171aa: d202 bcs.n 80171b2 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_start(): Cannot use this netif with DHCP: MTU is too small\n")); return ERR_MEM; - 801761c: f04f 33ff mov.w r3, #4294967295 - 8017620: e044 b.n 80176ac + 80171ac: f04f 33ff mov.w r3, #4294967295 + 80171b0: e044 b.n 801723c } /* no DHCP client attached yet? */ if (dhcp == NULL) { - 8017622: 68fb ldr r3, [r7, #12] - 8017624: 2b00 cmp r3, #0 - 8017626: d10d bne.n 8017644 + 80171b2: 68fb ldr r3, [r7, #12] + 80171b4: 2b00 cmp r3, #0 + 80171b6: d10d bne.n 80171d4 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_start(): mallocing new DHCP client\n")); dhcp = (struct dhcp *)mem_malloc(sizeof(struct dhcp)); - 8017628: 2034 movs r0, #52 ; 0x34 - 801762a: f7f8 f995 bl 800f958 - 801762e: 60f8 str r0, [r7, #12] + 80171b8: 2034 movs r0, #52 ; 0x34 + 80171ba: f7f8 f995 bl 800f4e8 + 80171be: 60f8 str r0, [r7, #12] if (dhcp == NULL) { - 8017630: 68fb ldr r3, [r7, #12] - 8017632: 2b00 cmp r3, #0 - 8017634: d102 bne.n 801763c + 80171c0: 68fb ldr r3, [r7, #12] + 80171c2: 2b00 cmp r3, #0 + 80171c4: d102 bne.n 80171cc LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_start(): could not allocate dhcp\n")); return ERR_MEM; - 8017636: f04f 33ff mov.w r3, #4294967295 - 801763a: e037 b.n 80176ac + 80171c6: f04f 33ff mov.w r3, #4294967295 + 80171ca: e037 b.n 801723c } /* store this dhcp client in the netif */ netif_set_client_data(netif, LWIP_NETIF_CLIENT_DATA_INDEX_DHCP, dhcp); - 801763c: 687b ldr r3, [r7, #4] - 801763e: 68fa ldr r2, [r7, #12] - 8017640: 625a str r2, [r3, #36] ; 0x24 - 8017642: e005 b.n 8017650 + 80171cc: 687b ldr r3, [r7, #4] + 80171ce: 68fa ldr r2, [r7, #12] + 80171d0: 625a str r2, [r3, #36] ; 0x24 + 80171d2: e005 b.n 80171e0 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_start(): allocated dhcp")); /* already has DHCP client attached */ } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_start(): restarting DHCP configuration\n")); if (dhcp->pcb_allocated != 0) { - 8017644: 68fb ldr r3, [r7, #12] - 8017646: 791b ldrb r3, [r3, #4] - 8017648: 2b00 cmp r3, #0 - 801764a: d001 beq.n 8017650 + 80171d4: 68fb ldr r3, [r7, #12] + 80171d6: 791b ldrb r3, [r3, #4] + 80171d8: 2b00 cmp r3, #0 + 80171da: d001 beq.n 80171e0 dhcp_dec_pcb_refcount(); /* free DHCP PCB if not needed any more */ - 801764c: f7ff fc90 bl 8016f70 + 80171dc: f7ff fc90 bl 8016b00 } /* dhcp is cleared below, no need to reset flag*/ } /* clear data structure */ memset(dhcp, 0, sizeof(struct dhcp)); - 8017650: 2234 movs r2, #52 ; 0x34 - 8017652: 2100 movs r1, #0 - 8017654: 68f8 ldr r0, [r7, #12] - 8017656: f003 ff26 bl 801b4a6 + 80171e0: 2234 movs r2, #52 ; 0x34 + 80171e2: 2100 movs r1, #0 + 80171e4: 68f8 ldr r0, [r7, #12] + 80171e6: f003 ff0d bl 801b004 /* dhcp_set_state(&dhcp, DHCP_STATE_OFF); */ LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_start(): starting DHCP configuration\n")); if (dhcp_inc_pcb_refcount() != ERR_OK) { /* ensure DHCP PCB is allocated */ - 801765a: f7ff fc37 bl 8016ecc - 801765e: 4603 mov r3, r0 - 8017660: 2b00 cmp r3, #0 - 8017662: d002 beq.n 801766a + 80171ea: f7ff fc37 bl 8016a5c + 80171ee: 4603 mov r3, r0 + 80171f0: 2b00 cmp r3, #0 + 80171f2: d002 beq.n 80171fa return ERR_MEM; - 8017664: f04f 33ff mov.w r3, #4294967295 - 8017668: e020 b.n 80176ac + 80171f4: f04f 33ff mov.w r3, #4294967295 + 80171f8: e020 b.n 801723c } dhcp->pcb_allocated = 1; - 801766a: 68fb ldr r3, [r7, #12] - 801766c: 2201 movs r2, #1 - 801766e: 711a strb r2, [r3, #4] + 80171fa: 68fb ldr r3, [r7, #12] + 80171fc: 2201 movs r2, #1 + 80171fe: 711a strb r2, [r3, #4] if (!netif_is_link_up(netif)) { - 8017670: 687b ldr r3, [r7, #4] - 8017672: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8017676: f003 0304 and.w r3, r3, #4 - 801767a: 2b00 cmp r3, #0 - 801767c: d105 bne.n 801768a + 8017200: 687b ldr r3, [r7, #4] + 8017202: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 8017206: f003 0304 and.w r3, r3, #4 + 801720a: 2b00 cmp r3, #0 + 801720c: d105 bne.n 801721a /* set state INIT and wait for dhcp_network_changed() to call dhcp_discover() */ dhcp_set_state(dhcp, DHCP_STATE_INIT); - 801767e: 2102 movs r1, #2 - 8017680: 68f8 ldr r0, [r7, #12] - 8017682: f000 fd13 bl 80180ac + 801720e: 2102 movs r1, #2 + 8017210: 68f8 ldr r0, [r7, #12] + 8017212: f000 fd13 bl 8017c3c return ERR_OK; - 8017686: 2300 movs r3, #0 - 8017688: e010 b.n 80176ac + 8017216: 2300 movs r3, #0 + 8017218: e010 b.n 801723c } /* (re)start the DHCP negotiation */ result = dhcp_discover(netif); - 801768a: 6878 ldr r0, [r7, #4] - 801768c: f000 f90a bl 80178a4 - 8017690: 4603 mov r3, r0 - 8017692: 72fb strb r3, [r7, #11] + 801721a: 6878 ldr r0, [r7, #4] + 801721c: f000 f90a bl 8017434 + 8017220: 4603 mov r3, r0 + 8017222: 72fb strb r3, [r7, #11] if (result != ERR_OK) { - 8017694: f997 300b ldrsb.w r3, [r7, #11] - 8017698: 2b00 cmp r3, #0 - 801769a: d005 beq.n 80176a8 + 8017224: f997 300b ldrsb.w r3, [r7, #11] + 8017228: 2b00 cmp r3, #0 + 801722a: d005 beq.n 8017238 /* free resources allocated above */ dhcp_release_and_stop(netif); - 801769c: 6878 ldr r0, [r7, #4] - 801769e: f000 fc6b bl 8017f78 + 801722c: 6878 ldr r0, [r7, #4] + 801722e: f000 fc6b bl 8017b08 return ERR_MEM; - 80176a2: f04f 33ff mov.w r3, #4294967295 - 80176a6: e001 b.n 80176ac + 8017232: f04f 33ff mov.w r3, #4294967295 + 8017236: e001 b.n 801723c } return result; - 80176a8: f997 300b ldrsb.w r3, [r7, #11] + 8017238: f997 300b ldrsb.w r3, [r7, #11] } - 80176ac: 4618 mov r0, r3 - 80176ae: 3710 adds r7, #16 - 80176b0: 46bd mov sp, r7 - 80176b2: bd80 pop {r7, pc} - 80176b4: 0801eb9c .word 0x0801eb9c - 80176b8: 0801ec80 .word 0x0801ec80 - 80176bc: 0801ebfc .word 0x0801ebfc - 80176c0: 0801ecc4 .word 0x0801ecc4 + 801723c: 4618 mov r0, r3 + 801723e: 3710 adds r7, #16 + 8017240: 46bd mov sp, r7 + 8017242: bd80 pop {r7, pc} + 8017244: 0801e398 .word 0x0801e398 + 8017248: 0801e47c .word 0x0801e47c + 801724c: 0801e3f8 .word 0x0801e3f8 + 8017250: 0801e4c0 .word 0x0801e4c0 -080176c4 : +08017254 : * This enters the REBOOTING state to verify that the currently bound * address is still valid. */ void dhcp_network_changed(struct netif *netif) { - 80176c4: b580 push {r7, lr} - 80176c6: b084 sub sp, #16 - 80176c8: af00 add r7, sp, #0 - 80176ca: 6078 str r0, [r7, #4] + 8017254: b580 push {r7, lr} + 8017256: b084 sub sp, #16 + 8017258: af00 add r7, sp, #0 + 801725a: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 80176cc: 687b ldr r3, [r7, #4] - 80176ce: 6a5b ldr r3, [r3, #36] ; 0x24 - 80176d0: 60fb str r3, [r7, #12] + 801725c: 687b ldr r3, [r7, #4] + 801725e: 6a5b ldr r3, [r3, #36] ; 0x24 + 8017260: 60fb str r3, [r7, #12] if (!dhcp) { - 80176d2: 68fb ldr r3, [r7, #12] - 80176d4: 2b00 cmp r3, #0 - 80176d6: d037 beq.n 8017748 + 8017262: 68fb ldr r3, [r7, #12] + 8017264: 2b00 cmp r3, #0 + 8017266: d037 beq.n 80172d8 return; } switch (dhcp->state) { - 80176d8: 68fb ldr r3, [r7, #12] - 80176da: 795b ldrb r3, [r3, #5] - 80176dc: 2b0a cmp r3, #10 - 80176de: d820 bhi.n 8017722 - 80176e0: a201 add r2, pc, #4 ; (adr r2, 80176e8 ) - 80176e2: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 80176e6: bf00 nop - 80176e8: 0801774d .word 0x0801774d - 80176ec: 08017723 .word 0x08017723 - 80176f0: 08017723 .word 0x08017723 - 80176f4: 08017715 .word 0x08017715 - 80176f8: 08017715 .word 0x08017715 - 80176fc: 08017715 .word 0x08017715 - 8017700: 08017723 .word 0x08017723 - 8017704: 08017723 .word 0x08017723 - 8017708: 08017723 .word 0x08017723 - 801770c: 08017723 .word 0x08017723 - 8017710: 08017715 .word 0x08017715 + 8017268: 68fb ldr r3, [r7, #12] + 801726a: 795b ldrb r3, [r3, #5] + 801726c: 2b0a cmp r3, #10 + 801726e: d820 bhi.n 80172b2 + 8017270: a201 add r2, pc, #4 ; (adr r2, 8017278 ) + 8017272: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8017276: bf00 nop + 8017278: 080172dd .word 0x080172dd + 801727c: 080172b3 .word 0x080172b3 + 8017280: 080172b3 .word 0x080172b3 + 8017284: 080172a5 .word 0x080172a5 + 8017288: 080172a5 .word 0x080172a5 + 801728c: 080172a5 .word 0x080172a5 + 8017290: 080172b3 .word 0x080172b3 + 8017294: 080172b3 .word 0x080172b3 + 8017298: 080172b3 .word 0x080172b3 + 801729c: 080172b3 .word 0x080172b3 + 80172a0: 080172a5 .word 0x080172a5 case DHCP_STATE_REBINDING: case DHCP_STATE_RENEWING: case DHCP_STATE_BOUND: case DHCP_STATE_REBOOTING: dhcp->tries = 0; - 8017714: 68fb ldr r3, [r7, #12] - 8017716: 2200 movs r2, #0 - 8017718: 719a strb r2, [r3, #6] + 80172a4: 68fb ldr r3, [r7, #12] + 80172a6: 2200 movs r2, #0 + 80172a8: 719a strb r2, [r3, #6] dhcp_reboot(netif); - 801771a: 6878 ldr r0, [r7, #4] - 801771c: f000 fb76 bl 8017e0c + 80172aa: 6878 ldr r0, [r7, #4] + 80172ac: f000 fb76 bl 801799c break; - 8017720: e015 b.n 801774e + 80172b0: e015 b.n 80172de case DHCP_STATE_OFF: /* stay off */ break; default: LWIP_ASSERT("invalid dhcp->state", dhcp->state <= DHCP_STATE_BACKING_OFF); - 8017722: 68fb ldr r3, [r7, #12] - 8017724: 795b ldrb r3, [r3, #5] - 8017726: 2b0c cmp r3, #12 - 8017728: d906 bls.n 8017738 - 801772a: 4b0a ldr r3, [pc, #40] ; (8017754 ) - 801772c: f240 326d movw r2, #877 ; 0x36d - 8017730: 4909 ldr r1, [pc, #36] ; (8017758 ) - 8017732: 480a ldr r0, [pc, #40] ; (801775c ) - 8017734: f003 fec0 bl 801b4b8 + 80172b2: 68fb ldr r3, [r7, #12] + 80172b4: 795b ldrb r3, [r3, #5] + 80172b6: 2b0c cmp r3, #12 + 80172b8: d906 bls.n 80172c8 + 80172ba: 4b0a ldr r3, [pc, #40] ; (80172e4 ) + 80172bc: f240 326d movw r2, #877 ; 0x36d + 80172c0: 4909 ldr r1, [pc, #36] ; (80172e8 ) + 80172c2: 480a ldr r0, [pc, #40] ; (80172ec ) + 80172c4: f003 fea6 bl 801b014 autoip_stop(netif); dhcp->autoip_coop_state = DHCP_AUTOIP_COOP_STATE_OFF; } #endif /* LWIP_DHCP_AUTOIP_COOP */ /* ensure we start with short timeouts, even if already discovering */ dhcp->tries = 0; - 8017738: 68fb ldr r3, [r7, #12] - 801773a: 2200 movs r2, #0 - 801773c: 719a strb r2, [r3, #6] + 80172c8: 68fb ldr r3, [r7, #12] + 80172ca: 2200 movs r2, #0 + 80172cc: 719a strb r2, [r3, #6] dhcp_discover(netif); - 801773e: 6878 ldr r0, [r7, #4] - 8017740: f000 f8b0 bl 80178a4 + 80172ce: 6878 ldr r0, [r7, #4] + 80172d0: f000 f8b0 bl 8017434 break; - 8017744: bf00 nop - 8017746: e002 b.n 801774e + 80172d4: bf00 nop + 80172d6: e002 b.n 80172de return; - 8017748: bf00 nop - 801774a: e000 b.n 801774e + 80172d8: bf00 nop + 80172da: e000 b.n 80172de break; - 801774c: bf00 nop + 80172dc: bf00 nop } } - 801774e: 3710 adds r7, #16 - 8017750: 46bd mov sp, r7 - 8017752: bd80 pop {r7, pc} - 8017754: 0801eb9c .word 0x0801eb9c - 8017758: 0801ece8 .word 0x0801ece8 - 801775c: 0801ebfc .word 0x0801ebfc + 80172de: 3710 adds r7, #16 + 80172e0: 46bd mov sp, r7 + 80172e2: bd80 pop {r7, pc} + 80172e4: 0801e398 .word 0x0801e398 + 80172e8: 0801e4e4 .word 0x0801e4e4 + 80172ec: 0801e3f8 .word 0x0801e3f8 -08017760 : +080172f0 : * @param netif the network interface on which the reply was received * @param addr The IP address we received a reply from */ void dhcp_arp_reply(struct netif *netif, const ip4_addr_t *addr) { - 8017760: b580 push {r7, lr} - 8017762: b084 sub sp, #16 - 8017764: af00 add r7, sp, #0 - 8017766: 6078 str r0, [r7, #4] - 8017768: 6039 str r1, [r7, #0] + 80172f0: b580 push {r7, lr} + 80172f2: b084 sub sp, #16 + 80172f4: af00 add r7, sp, #0 + 80172f6: 6078 str r0, [r7, #4] + 80172f8: 6039 str r1, [r7, #0] struct dhcp *dhcp; LWIP_ERROR("netif != NULL", (netif != NULL), return;); - 801776a: 687b ldr r3, [r7, #4] - 801776c: 2b00 cmp r3, #0 - 801776e: d107 bne.n 8017780 - 8017770: 4b0e ldr r3, [pc, #56] ; (80177ac ) - 8017772: f240 328b movw r2, #907 ; 0x38b - 8017776: 490e ldr r1, [pc, #56] ; (80177b0 ) - 8017778: 480e ldr r0, [pc, #56] ; (80177b4 ) - 801777a: f003 fe9d bl 801b4b8 - 801777e: e012 b.n 80177a6 + 80172fa: 687b ldr r3, [r7, #4] + 80172fc: 2b00 cmp r3, #0 + 80172fe: d107 bne.n 8017310 + 8017300: 4b0e ldr r3, [pc, #56] ; (801733c ) + 8017302: f240 328b movw r2, #907 ; 0x38b + 8017306: 490e ldr r1, [pc, #56] ; (8017340 ) + 8017308: 480e ldr r0, [pc, #56] ; (8017344 ) + 801730a: f003 fe83 bl 801b014 + 801730e: e012 b.n 8017336 dhcp = netif_dhcp_data(netif); - 8017780: 687b ldr r3, [r7, #4] - 8017782: 6a5b ldr r3, [r3, #36] ; 0x24 - 8017784: 60fb str r3, [r7, #12] + 8017310: 687b ldr r3, [r7, #4] + 8017312: 6a5b ldr r3, [r3, #36] ; 0x24 + 8017314: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_arp_reply()\n")); /* is a DHCP client doing an ARP check? */ if ((dhcp != NULL) && (dhcp->state == DHCP_STATE_CHECKING)) { - 8017786: 68fb ldr r3, [r7, #12] - 8017788: 2b00 cmp r3, #0 - 801778a: d00c beq.n 80177a6 - 801778c: 68fb ldr r3, [r7, #12] - 801778e: 795b ldrb r3, [r3, #5] - 8017790: 2b08 cmp r3, #8 - 8017792: d108 bne.n 80177a6 + 8017316: 68fb ldr r3, [r7, #12] + 8017318: 2b00 cmp r3, #0 + 801731a: d00c beq.n 8017336 + 801731c: 68fb ldr r3, [r7, #12] + 801731e: 795b ldrb r3, [r3, #5] + 8017320: 2b08 cmp r3, #8 + 8017322: d108 bne.n 8017336 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_arp_reply(): CHECKING, arp reply for 0x%08"X32_F"\n", ip4_addr_get_u32(addr))); /* did a host respond with the address we were offered by the DHCP server? */ if (ip4_addr_cmp(addr, &dhcp->offered_ip_addr)) { - 8017794: 683b ldr r3, [r7, #0] - 8017796: 681a ldr r2, [r3, #0] - 8017798: 68fb ldr r3, [r7, #12] - 801779a: 69db ldr r3, [r3, #28] - 801779c: 429a cmp r2, r3 - 801779e: d102 bne.n 80177a6 + 8017324: 683b ldr r3, [r7, #0] + 8017326: 681a ldr r2, [r3, #0] + 8017328: 68fb ldr r3, [r7, #12] + 801732a: 69db ldr r3, [r3, #28] + 801732c: 429a cmp r2, r3 + 801732e: d102 bne.n 8017336 /* we will not accept the offered address */ LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE | LWIP_DBG_LEVEL_WARNING, ("dhcp_arp_reply(): arp reply matched with offered address, declining\n")); dhcp_decline(netif); - 80177a0: 6878 ldr r0, [r7, #4] - 80177a2: f000 f809 bl 80177b8 + 8017330: 6878 ldr r0, [r7, #4] + 8017332: f000 f809 bl 8017348 } } } - 80177a6: 3710 adds r7, #16 - 80177a8: 46bd mov sp, r7 - 80177aa: bd80 pop {r7, pc} - 80177ac: 0801eb9c .word 0x0801eb9c - 80177b0: 0801ec80 .word 0x0801ec80 - 80177b4: 0801ebfc .word 0x0801ebfc + 8017336: 3710 adds r7, #16 + 8017338: 46bd mov sp, r7 + 801733a: bd80 pop {r7, pc} + 801733c: 0801e398 .word 0x0801e398 + 8017340: 0801e47c .word 0x0801e47c + 8017344: 0801e3f8 .word 0x0801e3f8 -080177b8 : +08017348 : * * @param netif the netif under DHCP control */ static err_t dhcp_decline(struct netif *netif) { - 80177b8: b5b0 push {r4, r5, r7, lr} - 80177ba: b08a sub sp, #40 ; 0x28 - 80177bc: af02 add r7, sp, #8 - 80177be: 6078 str r0, [r7, #4] + 8017348: b5b0 push {r4, r5, r7, lr} + 801734a: b08a sub sp, #40 ; 0x28 + 801734c: af02 add r7, sp, #8 + 801734e: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 80177c0: 687b ldr r3, [r7, #4] - 80177c2: 6a5b ldr r3, [r3, #36] ; 0x24 - 80177c4: 61bb str r3, [r7, #24] + 8017350: 687b ldr r3, [r7, #4] + 8017352: 6a5b ldr r3, [r3, #36] ; 0x24 + 8017354: 61bb str r3, [r7, #24] u16_t msecs; struct pbuf *p_out; u16_t options_out_len; LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_decline()\n")); dhcp_set_state(dhcp, DHCP_STATE_BACKING_OFF); - 80177c6: 210c movs r1, #12 - 80177c8: 69b8 ldr r0, [r7, #24] - 80177ca: f000 fc6f bl 80180ac + 8017356: 210c movs r1, #12 + 8017358: 69b8 ldr r0, [r7, #24] + 801735a: f000 fc6f bl 8017c3c /* create and initialize the DHCP message header */ p_out = dhcp_create_msg(netif, dhcp, DHCP_DECLINE, &options_out_len); - 80177ce: f107 030c add.w r3, r7, #12 - 80177d2: 2204 movs r2, #4 - 80177d4: 69b9 ldr r1, [r7, #24] - 80177d6: 6878 ldr r0, [r7, #4] - 80177d8: f001 f8f2 bl 80189c0 - 80177dc: 6178 str r0, [r7, #20] + 801735e: f107 030c add.w r3, r7, #12 + 8017362: 2204 movs r2, #4 + 8017364: 69b9 ldr r1, [r7, #24] + 8017366: 6878 ldr r0, [r7, #4] + 8017368: f001 f8f2 bl 8018550 + 801736c: 6178 str r0, [r7, #20] if (p_out != NULL) { - 80177de: 697b ldr r3, [r7, #20] - 80177e0: 2b00 cmp r3, #0 - 80177e2: d035 beq.n 8017850 + 801736e: 697b ldr r3, [r7, #20] + 8017370: 2b00 cmp r3, #0 + 8017372: d035 beq.n 80173e0 struct dhcp_msg *msg_out = (struct dhcp_msg *)p_out->payload; - 80177e4: 697b ldr r3, [r7, #20] - 80177e6: 685b ldr r3, [r3, #4] - 80177e8: 613b str r3, [r7, #16] + 8017374: 697b ldr r3, [r7, #20] + 8017376: 685b ldr r3, [r3, #4] + 8017378: 613b str r3, [r7, #16] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_REQUESTED_IP, 4); - 80177ea: 89b8 ldrh r0, [r7, #12] - 80177ec: 693b ldr r3, [r7, #16] - 80177ee: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 80177f2: 2304 movs r3, #4 - 80177f4: 2232 movs r2, #50 ; 0x32 - 80177f6: f000 fc73 bl 80180e0 - 80177fa: 4603 mov r3, r0 - 80177fc: 81bb strh r3, [r7, #12] + 801737a: 89b8 ldrh r0, [r7, #12] + 801737c: 693b ldr r3, [r7, #16] + 801737e: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 8017382: 2304 movs r3, #4 + 8017384: 2232 movs r2, #50 ; 0x32 + 8017386: f000 fc73 bl 8017c70 + 801738a: 4603 mov r3, r0 + 801738c: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offered_ip_addr))); - 80177fe: 89bc ldrh r4, [r7, #12] - 8017800: 693b ldr r3, [r7, #16] - 8017802: f103 05f0 add.w r5, r3, #240 ; 0xf0 - 8017806: 69bb ldr r3, [r7, #24] - 8017808: 69db ldr r3, [r3, #28] - 801780a: 4618 mov r0, r3 - 801780c: f7f7 fd85 bl 800f31a - 8017810: 4603 mov r3, r0 - 8017812: 461a mov r2, r3 - 8017814: 4629 mov r1, r5 - 8017816: 4620 mov r0, r4 - 8017818: f000 fcee bl 80181f8 - 801781c: 4603 mov r3, r0 - 801781e: 81bb strh r3, [r7, #12] + 801738e: 89bc ldrh r4, [r7, #12] + 8017390: 693b ldr r3, [r7, #16] + 8017392: f103 05f0 add.w r5, r3, #240 ; 0xf0 + 8017396: 69bb ldr r3, [r7, #24] + 8017398: 69db ldr r3, [r3, #28] + 801739a: 4618 mov r0, r3 + 801739c: f7f7 fd85 bl 800eeaa + 80173a0: 4603 mov r3, r0 + 80173a2: 461a mov r2, r3 + 80173a4: 4629 mov r1, r5 + 80173a6: 4620 mov r0, r4 + 80173a8: f000 fcee bl 8017d88 + 80173ac: 4603 mov r3, r0 + 80173ae: 81bb strh r3, [r7, #12] LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, DHCP_STATE_BACKING_OFF, msg_out, DHCP_DECLINE, &options_out_len); dhcp_option_trailer(options_out_len, msg_out->options, p_out); - 8017820: 89b8 ldrh r0, [r7, #12] - 8017822: 693b ldr r3, [r7, #16] - 8017824: 33f0 adds r3, #240 ; 0xf0 - 8017826: 697a ldr r2, [r7, #20] - 8017828: 4619 mov r1, r3 - 801782a: f001 f99f bl 8018b6c + 80173b0: 89b8 ldrh r0, [r7, #12] + 80173b2: 693b ldr r3, [r7, #16] + 80173b4: 33f0 adds r3, #240 ; 0xf0 + 80173b6: 697a ldr r2, [r7, #20] + 80173b8: 4619 mov r1, r3 + 80173ba: f001 f99f bl 80186fc /* per section 4.4.4, broadcast DECLINE messages */ result = udp_sendto_if_src(dhcp_pcb, p_out, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER, netif, IP4_ADDR_ANY); - 801782e: 4b19 ldr r3, [pc, #100] ; (8017894 ) - 8017830: 6818 ldr r0, [r3, #0] - 8017832: 4b19 ldr r3, [pc, #100] ; (8017898 ) - 8017834: 9301 str r3, [sp, #4] - 8017836: 687b ldr r3, [r7, #4] - 8017838: 9300 str r3, [sp, #0] - 801783a: 2343 movs r3, #67 ; 0x43 - 801783c: 4a17 ldr r2, [pc, #92] ; (801789c ) - 801783e: 6979 ldr r1, [r7, #20] - 8017840: f7ff f8be bl 80169c0 - 8017844: 4603 mov r3, r0 - 8017846: 77fb strb r3, [r7, #31] + 80173be: 4b19 ldr r3, [pc, #100] ; (8017424 ) + 80173c0: 6818 ldr r0, [r3, #0] + 80173c2: 4b19 ldr r3, [pc, #100] ; (8017428 ) + 80173c4: 9301 str r3, [sp, #4] + 80173c6: 687b ldr r3, [r7, #4] + 80173c8: 9300 str r3, [sp, #0] + 80173ca: 2343 movs r3, #67 ; 0x43 + 80173cc: 4a17 ldr r2, [pc, #92] ; (801742c ) + 80173ce: 6979 ldr r1, [r7, #20] + 80173d0: f7ff f8be bl 8016550 + 80173d4: 4603 mov r3, r0 + 80173d6: 77fb strb r3, [r7, #31] pbuf_free(p_out); - 8017848: 6978 ldr r0, [r7, #20] - 801784a: f7f9 f905 bl 8010a58 - 801784e: e001 b.n 8017854 + 80173d8: 6978 ldr r0, [r7, #20] + 80173da: f7f9 f905 bl 80105e8 + 80173de: e001 b.n 80173e4 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_decline: BACKING OFF\n")); } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_decline: could not allocate DHCP request\n")); result = ERR_MEM; - 8017850: 23ff movs r3, #255 ; 0xff - 8017852: 77fb strb r3, [r7, #31] + 80173e0: 23ff movs r3, #255 ; 0xff + 80173e2: 77fb strb r3, [r7, #31] } if (dhcp->tries < 255) { - 8017854: 69bb ldr r3, [r7, #24] - 8017856: 799b ldrb r3, [r3, #6] - 8017858: 2bff cmp r3, #255 ; 0xff - 801785a: d005 beq.n 8017868 + 80173e4: 69bb ldr r3, [r7, #24] + 80173e6: 799b ldrb r3, [r3, #6] + 80173e8: 2bff cmp r3, #255 ; 0xff + 80173ea: d005 beq.n 80173f8 dhcp->tries++; - 801785c: 69bb ldr r3, [r7, #24] - 801785e: 799b ldrb r3, [r3, #6] - 8017860: 3301 adds r3, #1 - 8017862: b2da uxtb r2, r3 - 8017864: 69bb ldr r3, [r7, #24] - 8017866: 719a strb r2, [r3, #6] + 80173ec: 69bb ldr r3, [r7, #24] + 80173ee: 799b ldrb r3, [r3, #6] + 80173f0: 3301 adds r3, #1 + 80173f2: b2da uxtb r2, r3 + 80173f4: 69bb ldr r3, [r7, #24] + 80173f6: 719a strb r2, [r3, #6] } msecs = 10 * 1000; - 8017868: f242 7310 movw r3, #10000 ; 0x2710 - 801786c: 81fb strh r3, [r7, #14] + 80173f8: f242 7310 movw r3, #10000 ; 0x2710 + 80173fc: 81fb strh r3, [r7, #14] dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); - 801786e: 89fb ldrh r3, [r7, #14] - 8017870: f203 13f3 addw r3, r3, #499 ; 0x1f3 - 8017874: 4a0a ldr r2, [pc, #40] ; (80178a0 ) - 8017876: fb82 1203 smull r1, r2, r2, r3 - 801787a: 1152 asrs r2, r2, #5 - 801787c: 17db asrs r3, r3, #31 - 801787e: 1ad3 subs r3, r2, r3 - 8017880: b29a uxth r2, r3 - 8017882: 69bb ldr r3, [r7, #24] - 8017884: 811a strh r2, [r3, #8] + 80173fe: 89fb ldrh r3, [r7, #14] + 8017400: f203 13f3 addw r3, r3, #499 ; 0x1f3 + 8017404: 4a0a ldr r2, [pc, #40] ; (8017430 ) + 8017406: fb82 1203 smull r1, r2, r2, r3 + 801740a: 1152 asrs r2, r2, #5 + 801740c: 17db asrs r3, r3, #31 + 801740e: 1ad3 subs r3, r2, r3 + 8017410: b29a uxth r2, r3 + 8017412: 69bb ldr r3, [r7, #24] + 8017414: 811a strh r2, [r3, #8] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_decline(): set request timeout %"U16_F" msecs\n", msecs)); return result; - 8017886: f997 301f ldrsb.w r3, [r7, #31] + 8017416: f997 301f ldrsb.w r3, [r7, #31] } - 801788a: 4618 mov r0, r3 - 801788c: 3720 adds r7, #32 - 801788e: 46bd mov sp, r7 - 8017890: bdb0 pop {r4, r5, r7, pc} - 8017892: bf00 nop - 8017894: 2000876c .word 0x2000876c - 8017898: 0802166c .word 0x0802166c - 801789c: 08021670 .word 0x08021670 - 80178a0: 10624dd3 .word 0x10624dd3 + 801741a: 4618 mov r0, r3 + 801741c: 3720 adds r7, #32 + 801741e: 46bd mov sp, r7 + 8017420: bdb0 pop {r4, r5, r7, pc} + 8017422: bf00 nop + 8017424: 2000876c .word 0x2000876c + 8017428: 08020e68 .word 0x08020e68 + 801742c: 08020e6c .word 0x08020e6c + 8017430: 10624dd3 .word 0x10624dd3 -080178a4 : +08017434 : * * @param netif the netif under DHCP control */ static err_t dhcp_discover(struct netif *netif) { - 80178a4: b580 push {r7, lr} - 80178a6: b08a sub sp, #40 ; 0x28 - 80178a8: af02 add r7, sp, #8 - 80178aa: 6078 str r0, [r7, #4] + 8017434: b580 push {r7, lr} + 8017436: b08a sub sp, #40 ; 0x28 + 8017438: af02 add r7, sp, #8 + 801743a: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 80178ac: 687b ldr r3, [r7, #4] - 80178ae: 6a5b ldr r3, [r3, #36] ; 0x24 - 80178b0: 61bb str r3, [r7, #24] + 801743c: 687b ldr r3, [r7, #4] + 801743e: 6a5b ldr r3, [r3, #36] ; 0x24 + 8017440: 61bb str r3, [r7, #24] err_t result = ERR_OK; - 80178b2: 2300 movs r3, #0 - 80178b4: 75fb strb r3, [r7, #23] + 8017442: 2300 movs r3, #0 + 8017444: 75fb strb r3, [r7, #23] struct pbuf *p_out; u16_t options_out_len; LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_discover()\n")); ip4_addr_set_any(&dhcp->offered_ip_addr); - 80178b6: 69bb ldr r3, [r7, #24] - 80178b8: 2200 movs r2, #0 - 80178ba: 61da str r2, [r3, #28] + 8017446: 69bb ldr r3, [r7, #24] + 8017448: 2200 movs r2, #0 + 801744a: 61da str r2, [r3, #28] dhcp_set_state(dhcp, DHCP_STATE_SELECTING); - 80178bc: 2106 movs r1, #6 - 80178be: 69b8 ldr r0, [r7, #24] - 80178c0: f000 fbf4 bl 80180ac + 801744c: 2106 movs r1, #6 + 801744e: 69b8 ldr r0, [r7, #24] + 8017450: f000 fbf4 bl 8017c3c /* create and initialize the DHCP message header */ p_out = dhcp_create_msg(netif, dhcp, DHCP_DISCOVER, &options_out_len); - 80178c4: f107 0308 add.w r3, r7, #8 - 80178c8: 2201 movs r2, #1 - 80178ca: 69b9 ldr r1, [r7, #24] - 80178cc: 6878 ldr r0, [r7, #4] - 80178ce: f001 f877 bl 80189c0 - 80178d2: 6138 str r0, [r7, #16] + 8017454: f107 0308 add.w r3, r7, #8 + 8017458: 2201 movs r2, #1 + 801745a: 69b9 ldr r1, [r7, #24] + 801745c: 6878 ldr r0, [r7, #4] + 801745e: f001 f877 bl 8018550 + 8017462: 6138 str r0, [r7, #16] if (p_out != NULL) { - 80178d4: 693b ldr r3, [r7, #16] - 80178d6: 2b00 cmp r3, #0 - 80178d8: d04b beq.n 8017972 + 8017464: 693b ldr r3, [r7, #16] + 8017466: 2b00 cmp r3, #0 + 8017468: d04b beq.n 8017502 struct dhcp_msg *msg_out = (struct dhcp_msg *)p_out->payload; - 80178da: 693b ldr r3, [r7, #16] - 80178dc: 685b ldr r3, [r3, #4] - 80178de: 60fb str r3, [r7, #12] + 801746a: 693b ldr r3, [r7, #16] + 801746c: 685b ldr r3, [r3, #4] + 801746e: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_discover: making request\n")); options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_MAX_MSG_SIZE, DHCP_OPTION_MAX_MSG_SIZE_LEN); - 80178e0: 8938 ldrh r0, [r7, #8] - 80178e2: 68fb ldr r3, [r7, #12] - 80178e4: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 80178e8: 2302 movs r3, #2 - 80178ea: 2239 movs r2, #57 ; 0x39 - 80178ec: f000 fbf8 bl 80180e0 - 80178f0: 4603 mov r3, r0 - 80178f2: 813b strh r3, [r7, #8] + 8017470: 8938 ldrh r0, [r7, #8] + 8017472: 68fb ldr r3, [r7, #12] + 8017474: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 8017478: 2302 movs r3, #2 + 801747a: 2239 movs r2, #57 ; 0x39 + 801747c: f000 fbf8 bl 8017c70 + 8017480: 4603 mov r3, r0 + 8017482: 813b strh r3, [r7, #8] options_out_len = dhcp_option_short(options_out_len, msg_out->options, DHCP_MAX_MSG_LEN(netif)); - 80178f4: 8938 ldrh r0, [r7, #8] - 80178f6: 68fb ldr r3, [r7, #12] - 80178f8: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 80178fc: 687b ldr r3, [r7, #4] - 80178fe: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8017900: 461a mov r2, r3 - 8017902: f000 fc47 bl 8018194 - 8017906: 4603 mov r3, r0 - 8017908: 813b strh r3, [r7, #8] + 8017484: 8938 ldrh r0, [r7, #8] + 8017486: 68fb ldr r3, [r7, #12] + 8017488: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 801748c: 687b ldr r3, [r7, #4] + 801748e: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8017490: 461a mov r2, r3 + 8017492: f000 fc47 bl 8017d24 + 8017496: 4603 mov r3, r0 + 8017498: 813b strh r3, [r7, #8] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_request_options)); - 801790a: 8938 ldrh r0, [r7, #8] - 801790c: 68fb ldr r3, [r7, #12] - 801790e: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017912: 2303 movs r3, #3 - 8017914: 2237 movs r2, #55 ; 0x37 - 8017916: f000 fbe3 bl 80180e0 - 801791a: 4603 mov r3, r0 - 801791c: 813b strh r3, [r7, #8] + 801749a: 8938 ldrh r0, [r7, #8] + 801749c: 68fb ldr r3, [r7, #12] + 801749e: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 80174a2: 2303 movs r3, #3 + 80174a4: 2237 movs r2, #55 ; 0x37 + 80174a6: f000 fbe3 bl 8017c70 + 80174aa: 4603 mov r3, r0 + 80174ac: 813b strh r3, [r7, #8] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 801791e: 2300 movs r3, #0 - 8017920: 77fb strb r3, [r7, #31] - 8017922: e00e b.n 8017942 + 80174ae: 2300 movs r3, #0 + 80174b0: 77fb strb r3, [r7, #31] + 80174b2: e00e b.n 80174d2 options_out_len = dhcp_option_byte(options_out_len, msg_out->options, dhcp_discover_request_options[i]); - 8017924: 8938 ldrh r0, [r7, #8] - 8017926: 68fb ldr r3, [r7, #12] - 8017928: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 801792c: 7ffb ldrb r3, [r7, #31] - 801792e: 4a29 ldr r2, [pc, #164] ; (80179d4 ) - 8017930: 5cd3 ldrb r3, [r2, r3] - 8017932: 461a mov r2, r3 - 8017934: f000 fc08 bl 8018148 - 8017938: 4603 mov r3, r0 - 801793a: 813b strh r3, [r7, #8] + 80174b4: 8938 ldrh r0, [r7, #8] + 80174b6: 68fb ldr r3, [r7, #12] + 80174b8: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 80174bc: 7ffb ldrb r3, [r7, #31] + 80174be: 4a29 ldr r2, [pc, #164] ; (8017564 ) + 80174c0: 5cd3 ldrb r3, [r2, r3] + 80174c2: 461a mov r2, r3 + 80174c4: f000 fc08 bl 8017cd8 + 80174c8: 4603 mov r3, r0 + 80174ca: 813b strh r3, [r7, #8] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 801793c: 7ffb ldrb r3, [r7, #31] - 801793e: 3301 adds r3, #1 - 8017940: 77fb strb r3, [r7, #31] - 8017942: 7ffb ldrb r3, [r7, #31] - 8017944: 2b02 cmp r3, #2 - 8017946: d9ed bls.n 8017924 + 80174cc: 7ffb ldrb r3, [r7, #31] + 80174ce: 3301 adds r3, #1 + 80174d0: 77fb strb r3, [r7, #31] + 80174d2: 7ffb ldrb r3, [r7, #31] + 80174d4: 2b02 cmp r3, #2 + 80174d6: d9ed bls.n 80174b4 } LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, DHCP_STATE_SELECTING, msg_out, DHCP_DISCOVER, &options_out_len); dhcp_option_trailer(options_out_len, msg_out->options, p_out); - 8017948: 8938 ldrh r0, [r7, #8] - 801794a: 68fb ldr r3, [r7, #12] - 801794c: 33f0 adds r3, #240 ; 0xf0 - 801794e: 693a ldr r2, [r7, #16] - 8017950: 4619 mov r1, r3 - 8017952: f001 f90b bl 8018b6c + 80174d8: 8938 ldrh r0, [r7, #8] + 80174da: 68fb ldr r3, [r7, #12] + 80174dc: 33f0 adds r3, #240 ; 0xf0 + 80174de: 693a ldr r2, [r7, #16] + 80174e0: 4619 mov r1, r3 + 80174e2: f001 f90b bl 80186fc LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_discover: sendto(DISCOVER, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER)\n")); udp_sendto_if_src(dhcp_pcb, p_out, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER, netif, IP4_ADDR_ANY); - 8017956: 4b20 ldr r3, [pc, #128] ; (80179d8 ) - 8017958: 6818 ldr r0, [r3, #0] - 801795a: 4b20 ldr r3, [pc, #128] ; (80179dc ) - 801795c: 9301 str r3, [sp, #4] - 801795e: 687b ldr r3, [r7, #4] - 8017960: 9300 str r3, [sp, #0] - 8017962: 2343 movs r3, #67 ; 0x43 - 8017964: 4a1e ldr r2, [pc, #120] ; (80179e0 ) - 8017966: 6939 ldr r1, [r7, #16] - 8017968: f7ff f82a bl 80169c0 + 80174e6: 4b20 ldr r3, [pc, #128] ; (8017568 ) + 80174e8: 6818 ldr r0, [r3, #0] + 80174ea: 4b20 ldr r3, [pc, #128] ; (801756c ) + 80174ec: 9301 str r3, [sp, #4] + 80174ee: 687b ldr r3, [r7, #4] + 80174f0: 9300 str r3, [sp, #0] + 80174f2: 2343 movs r3, #67 ; 0x43 + 80174f4: 4a1e ldr r2, [pc, #120] ; (8017570 ) + 80174f6: 6939 ldr r1, [r7, #16] + 80174f8: f7ff f82a bl 8016550 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_discover: deleting()ing\n")); pbuf_free(p_out); - 801796c: 6938 ldr r0, [r7, #16] - 801796e: f7f9 f873 bl 8010a58 + 80174fc: 6938 ldr r0, [r7, #16] + 80174fe: f7f9 f873 bl 80105e8 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_discover: SELECTING\n")); } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_discover: could not allocate DHCP request\n")); } if (dhcp->tries < 255) { - 8017972: 69bb ldr r3, [r7, #24] - 8017974: 799b ldrb r3, [r3, #6] - 8017976: 2bff cmp r3, #255 ; 0xff - 8017978: d005 beq.n 8017986 + 8017502: 69bb ldr r3, [r7, #24] + 8017504: 799b ldrb r3, [r3, #6] + 8017506: 2bff cmp r3, #255 ; 0xff + 8017508: d005 beq.n 8017516 dhcp->tries++; - 801797a: 69bb ldr r3, [r7, #24] - 801797c: 799b ldrb r3, [r3, #6] - 801797e: 3301 adds r3, #1 - 8017980: b2da uxtb r2, r3 - 8017982: 69bb ldr r3, [r7, #24] - 8017984: 719a strb r2, [r3, #6] + 801750a: 69bb ldr r3, [r7, #24] + 801750c: 799b ldrb r3, [r3, #6] + 801750e: 3301 adds r3, #1 + 8017510: b2da uxtb r2, r3 + 8017512: 69bb ldr r3, [r7, #24] + 8017514: 719a strb r2, [r3, #6] if (dhcp->tries >= LWIP_DHCP_AUTOIP_COOP_TRIES && dhcp->autoip_coop_state == DHCP_AUTOIP_COOP_STATE_OFF) { dhcp->autoip_coop_state = DHCP_AUTOIP_COOP_STATE_ON; autoip_start(netif); } #endif /* LWIP_DHCP_AUTOIP_COOP */ msecs = (u16_t)((dhcp->tries < 6 ? 1 << dhcp->tries : 60) * 1000); - 8017986: 69bb ldr r3, [r7, #24] - 8017988: 799b ldrb r3, [r3, #6] - 801798a: 2b05 cmp r3, #5 - 801798c: d80d bhi.n 80179aa - 801798e: 69bb ldr r3, [r7, #24] - 8017990: 799b ldrb r3, [r3, #6] - 8017992: 461a mov r2, r3 - 8017994: 2301 movs r3, #1 - 8017996: 4093 lsls r3, r2 - 8017998: b29b uxth r3, r3 - 801799a: 461a mov r2, r3 - 801799c: 0152 lsls r2, r2, #5 - 801799e: 1ad2 subs r2, r2, r3 - 80179a0: 0092 lsls r2, r2, #2 - 80179a2: 4413 add r3, r2 - 80179a4: 00db lsls r3, r3, #3 - 80179a6: b29b uxth r3, r3 - 80179a8: e001 b.n 80179ae - 80179aa: f64e 2360 movw r3, #60000 ; 0xea60 - 80179ae: 817b strh r3, [r7, #10] + 8017516: 69bb ldr r3, [r7, #24] + 8017518: 799b ldrb r3, [r3, #6] + 801751a: 2b05 cmp r3, #5 + 801751c: d80d bhi.n 801753a + 801751e: 69bb ldr r3, [r7, #24] + 8017520: 799b ldrb r3, [r3, #6] + 8017522: 461a mov r2, r3 + 8017524: 2301 movs r3, #1 + 8017526: 4093 lsls r3, r2 + 8017528: b29b uxth r3, r3 + 801752a: 461a mov r2, r3 + 801752c: 0152 lsls r2, r2, #5 + 801752e: 1ad2 subs r2, r2, r3 + 8017530: 0092 lsls r2, r2, #2 + 8017532: 4413 add r3, r2 + 8017534: 00db lsls r3, r3, #3 + 8017536: b29b uxth r3, r3 + 8017538: e001 b.n 801753e + 801753a: f64e 2360 movw r3, #60000 ; 0xea60 + 801753e: 817b strh r3, [r7, #10] dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); - 80179b0: 897b ldrh r3, [r7, #10] - 80179b2: f203 13f3 addw r3, r3, #499 ; 0x1f3 - 80179b6: 4a0b ldr r2, [pc, #44] ; (80179e4 ) - 80179b8: fb82 1203 smull r1, r2, r2, r3 - 80179bc: 1152 asrs r2, r2, #5 - 80179be: 17db asrs r3, r3, #31 - 80179c0: 1ad3 subs r3, r2, r3 - 80179c2: b29a uxth r2, r3 - 80179c4: 69bb ldr r3, [r7, #24] - 80179c6: 811a strh r2, [r3, #8] + 8017540: 897b ldrh r3, [r7, #10] + 8017542: f203 13f3 addw r3, r3, #499 ; 0x1f3 + 8017546: 4a0b ldr r2, [pc, #44] ; (8017574 ) + 8017548: fb82 1203 smull r1, r2, r2, r3 + 801754c: 1152 asrs r2, r2, #5 + 801754e: 17db asrs r3, r3, #31 + 8017550: 1ad3 subs r3, r2, r3 + 8017552: b29a uxth r2, r3 + 8017554: 69bb ldr r3, [r7, #24] + 8017556: 811a strh r2, [r3, #8] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_discover(): set request timeout %"U16_F" msecs\n", msecs)); return result; - 80179c8: f997 3017 ldrsb.w r3, [r7, #23] + 8017558: f997 3017 ldrsb.w r3, [r7, #23] } - 80179cc: 4618 mov r0, r3 - 80179ce: 3720 adds r7, #32 - 80179d0: 46bd mov sp, r7 - 80179d2: bd80 pop {r7, pc} - 80179d4: 20000080 .word 0x20000080 - 80179d8: 2000876c .word 0x2000876c - 80179dc: 0802166c .word 0x0802166c - 80179e0: 08021670 .word 0x08021670 - 80179e4: 10624dd3 .word 0x10624dd3 + 801755c: 4618 mov r0, r3 + 801755e: 3720 adds r7, #32 + 8017560: 46bd mov sp, r7 + 8017562: bd80 pop {r7, pc} + 8017564: 20000080 .word 0x20000080 + 8017568: 2000876c .word 0x2000876c + 801756c: 08020e68 .word 0x08020e68 + 8017570: 08020e6c .word 0x08020e6c + 8017574: 10624dd3 .word 0x10624dd3 -080179e8 : +08017578 : * * @param netif network interface to bind to the offered address */ static void dhcp_bind(struct netif *netif) { - 80179e8: b580 push {r7, lr} - 80179ea: b088 sub sp, #32 - 80179ec: af00 add r7, sp, #0 - 80179ee: 6078 str r0, [r7, #4] + 8017578: b580 push {r7, lr} + 801757a: b088 sub sp, #32 + 801757c: af00 add r7, sp, #0 + 801757e: 6078 str r0, [r7, #4] u32_t timeout; struct dhcp *dhcp; ip4_addr_t sn_mask, gw_addr; LWIP_ERROR("dhcp_bind: netif != NULL", (netif != NULL), return;); - 80179f0: 687b ldr r3, [r7, #4] - 80179f2: 2b00 cmp r3, #0 - 80179f4: d107 bne.n 8017a06 - 80179f6: 4b64 ldr r3, [pc, #400] ; (8017b88 ) - 80179f8: f240 4215 movw r2, #1045 ; 0x415 - 80179fc: 4963 ldr r1, [pc, #396] ; (8017b8c ) - 80179fe: 4864 ldr r0, [pc, #400] ; (8017b90 ) - 8017a00: f003 fd5a bl 801b4b8 - 8017a04: e0bc b.n 8017b80 + 8017580: 687b ldr r3, [r7, #4] + 8017582: 2b00 cmp r3, #0 + 8017584: d107 bne.n 8017596 + 8017586: 4b64 ldr r3, [pc, #400] ; (8017718 ) + 8017588: f240 4215 movw r2, #1045 ; 0x415 + 801758c: 4963 ldr r1, [pc, #396] ; (801771c ) + 801758e: 4864 ldr r0, [pc, #400] ; (8017720 ) + 8017590: f003 fd40 bl 801b014 + 8017594: e0bc b.n 8017710 dhcp = netif_dhcp_data(netif); - 8017a06: 687b ldr r3, [r7, #4] - 8017a08: 6a5b ldr r3, [r3, #36] ; 0x24 - 8017a0a: 61bb str r3, [r7, #24] + 8017596: 687b ldr r3, [r7, #4] + 8017598: 6a5b ldr r3, [r3, #36] ; 0x24 + 801759a: 61bb str r3, [r7, #24] LWIP_ERROR("dhcp_bind: dhcp != NULL", (dhcp != NULL), return;); - 8017a0c: 69bb ldr r3, [r7, #24] - 8017a0e: 2b00 cmp r3, #0 - 8017a10: d107 bne.n 8017a22 - 8017a12: 4b5d ldr r3, [pc, #372] ; (8017b88 ) - 8017a14: f240 4217 movw r2, #1047 ; 0x417 - 8017a18: 495e ldr r1, [pc, #376] ; (8017b94 ) - 8017a1a: 485d ldr r0, [pc, #372] ; (8017b90 ) - 8017a1c: f003 fd4c bl 801b4b8 - 8017a20: e0ae b.n 8017b80 + 801759c: 69bb ldr r3, [r7, #24] + 801759e: 2b00 cmp r3, #0 + 80175a0: d107 bne.n 80175b2 + 80175a2: 4b5d ldr r3, [pc, #372] ; (8017718 ) + 80175a4: f240 4217 movw r2, #1047 ; 0x417 + 80175a8: 495e ldr r1, [pc, #376] ; (8017724 ) + 80175aa: 485d ldr r0, [pc, #372] ; (8017720 ) + 80175ac: f003 fd32 bl 801b014 + 80175b0: e0ae b.n 8017710 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_bind(netif=%p) %c%c%"U16_F"\n", (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); /* reset time used of lease */ dhcp->lease_used = 0; - 8017a22: 69bb ldr r3, [r7, #24] - 8017a24: 2200 movs r2, #0 - 8017a26: 825a strh r2, [r3, #18] + 80175b2: 69bb ldr r3, [r7, #24] + 80175b4: 2200 movs r2, #0 + 80175b6: 825a strh r2, [r3, #18] if (dhcp->offered_t0_lease != 0xffffffffUL) { - 8017a28: 69bb ldr r3, [r7, #24] - 8017a2a: 6a9b ldr r3, [r3, #40] ; 0x28 - 8017a2c: f1b3 3fff cmp.w r3, #4294967295 - 8017a30: d019 beq.n 8017a66 + 80175b8: 69bb ldr r3, [r7, #24] + 80175ba: 6a9b ldr r3, [r3, #40] ; 0x28 + 80175bc: f1b3 3fff cmp.w r3, #4294967295 + 80175c0: d019 beq.n 80175f6 /* set renewal period timer */ LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_bind(): t0 renewal timer %"U32_F" secs\n", dhcp->offered_t0_lease)); timeout = (dhcp->offered_t0_lease + DHCP_COARSE_TIMER_SECS / 2) / DHCP_COARSE_TIMER_SECS; - 8017a32: 69bb ldr r3, [r7, #24] - 8017a34: 6a9b ldr r3, [r3, #40] ; 0x28 - 8017a36: 331e adds r3, #30 - 8017a38: 4a57 ldr r2, [pc, #348] ; (8017b98 ) - 8017a3a: fba2 2303 umull r2, r3, r2, r3 - 8017a3e: 095b lsrs r3, r3, #5 - 8017a40: 61fb str r3, [r7, #28] + 80175c2: 69bb ldr r3, [r7, #24] + 80175c4: 6a9b ldr r3, [r3, #40] ; 0x28 + 80175c6: 331e adds r3, #30 + 80175c8: 4a57 ldr r2, [pc, #348] ; (8017728 ) + 80175ca: fba2 2303 umull r2, r3, r2, r3 + 80175ce: 095b lsrs r3, r3, #5 + 80175d0: 61fb str r3, [r7, #28] if (timeout > 0xffff) { - 8017a42: 69fb ldr r3, [r7, #28] - 8017a44: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 8017a48: d302 bcc.n 8017a50 + 80175d2: 69fb ldr r3, [r7, #28] + 80175d4: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 80175d8: d302 bcc.n 80175e0 timeout = 0xffff; - 8017a4a: f64f 73ff movw r3, #65535 ; 0xffff - 8017a4e: 61fb str r3, [r7, #28] + 80175da: f64f 73ff movw r3, #65535 ; 0xffff + 80175de: 61fb str r3, [r7, #28] } dhcp->t0_timeout = (u16_t)timeout; - 8017a50: 69fb ldr r3, [r7, #28] - 8017a52: b29a uxth r2, r3 - 8017a54: 69bb ldr r3, [r7, #24] - 8017a56: 829a strh r2, [r3, #20] + 80175e0: 69fb ldr r3, [r7, #28] + 80175e2: b29a uxth r2, r3 + 80175e4: 69bb ldr r3, [r7, #24] + 80175e6: 829a strh r2, [r3, #20] if (dhcp->t0_timeout == 0) { - 8017a58: 69bb ldr r3, [r7, #24] - 8017a5a: 8a9b ldrh r3, [r3, #20] - 8017a5c: 2b00 cmp r3, #0 - 8017a5e: d102 bne.n 8017a66 + 80175e8: 69bb ldr r3, [r7, #24] + 80175ea: 8a9b ldrh r3, [r3, #20] + 80175ec: 2b00 cmp r3, #0 + 80175ee: d102 bne.n 80175f6 dhcp->t0_timeout = 1; - 8017a60: 69bb ldr r3, [r7, #24] - 8017a62: 2201 movs r2, #1 - 8017a64: 829a strh r2, [r3, #20] + 80175f0: 69bb ldr r3, [r7, #24] + 80175f2: 2201 movs r2, #1 + 80175f4: 829a strh r2, [r3, #20] } LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_bind(): set request timeout %"U32_F" msecs\n", dhcp->offered_t0_lease * 1000)); } /* temporary DHCP lease? */ if (dhcp->offered_t1_renew != 0xffffffffUL) { - 8017a66: 69bb ldr r3, [r7, #24] - 8017a68: 6adb ldr r3, [r3, #44] ; 0x2c - 8017a6a: f1b3 3fff cmp.w r3, #4294967295 - 8017a6e: d01d beq.n 8017aac + 80175f6: 69bb ldr r3, [r7, #24] + 80175f8: 6adb ldr r3, [r3, #44] ; 0x2c + 80175fa: f1b3 3fff cmp.w r3, #4294967295 + 80175fe: d01d beq.n 801763c /* set renewal period timer */ LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_bind(): t1 renewal timer %"U32_F" secs\n", dhcp->offered_t1_renew)); timeout = (dhcp->offered_t1_renew + DHCP_COARSE_TIMER_SECS / 2) / DHCP_COARSE_TIMER_SECS; - 8017a70: 69bb ldr r3, [r7, #24] - 8017a72: 6adb ldr r3, [r3, #44] ; 0x2c - 8017a74: 331e adds r3, #30 - 8017a76: 4a48 ldr r2, [pc, #288] ; (8017b98 ) - 8017a78: fba2 2303 umull r2, r3, r2, r3 - 8017a7c: 095b lsrs r3, r3, #5 - 8017a7e: 61fb str r3, [r7, #28] + 8017600: 69bb ldr r3, [r7, #24] + 8017602: 6adb ldr r3, [r3, #44] ; 0x2c + 8017604: 331e adds r3, #30 + 8017606: 4a48 ldr r2, [pc, #288] ; (8017728 ) + 8017608: fba2 2303 umull r2, r3, r2, r3 + 801760c: 095b lsrs r3, r3, #5 + 801760e: 61fb str r3, [r7, #28] if (timeout > 0xffff) { - 8017a80: 69fb ldr r3, [r7, #28] - 8017a82: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 8017a86: d302 bcc.n 8017a8e + 8017610: 69fb ldr r3, [r7, #28] + 8017612: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 8017616: d302 bcc.n 801761e timeout = 0xffff; - 8017a88: f64f 73ff movw r3, #65535 ; 0xffff - 8017a8c: 61fb str r3, [r7, #28] + 8017618: f64f 73ff movw r3, #65535 ; 0xffff + 801761c: 61fb str r3, [r7, #28] } dhcp->t1_timeout = (u16_t)timeout; - 8017a8e: 69fb ldr r3, [r7, #28] - 8017a90: b29a uxth r2, r3 - 8017a92: 69bb ldr r3, [r7, #24] - 8017a94: 815a strh r2, [r3, #10] + 801761e: 69fb ldr r3, [r7, #28] + 8017620: b29a uxth r2, r3 + 8017622: 69bb ldr r3, [r7, #24] + 8017624: 815a strh r2, [r3, #10] if (dhcp->t1_timeout == 0) { - 8017a96: 69bb ldr r3, [r7, #24] - 8017a98: 895b ldrh r3, [r3, #10] - 8017a9a: 2b00 cmp r3, #0 - 8017a9c: d102 bne.n 8017aa4 + 8017626: 69bb ldr r3, [r7, #24] + 8017628: 895b ldrh r3, [r3, #10] + 801762a: 2b00 cmp r3, #0 + 801762c: d102 bne.n 8017634 dhcp->t1_timeout = 1; - 8017a9e: 69bb ldr r3, [r7, #24] - 8017aa0: 2201 movs r2, #1 - 8017aa2: 815a strh r2, [r3, #10] + 801762e: 69bb ldr r3, [r7, #24] + 8017630: 2201 movs r2, #1 + 8017632: 815a strh r2, [r3, #10] } LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_bind(): set request timeout %"U32_F" msecs\n", dhcp->offered_t1_renew * 1000)); dhcp->t1_renew_time = dhcp->t1_timeout; - 8017aa4: 69bb ldr r3, [r7, #24] - 8017aa6: 895a ldrh r2, [r3, #10] - 8017aa8: 69bb ldr r3, [r7, #24] - 8017aaa: 81da strh r2, [r3, #14] + 8017634: 69bb ldr r3, [r7, #24] + 8017636: 895a ldrh r2, [r3, #10] + 8017638: 69bb ldr r3, [r7, #24] + 801763a: 81da strh r2, [r3, #14] } /* set renewal period timer */ if (dhcp->offered_t2_rebind != 0xffffffffUL) { - 8017aac: 69bb ldr r3, [r7, #24] - 8017aae: 6b1b ldr r3, [r3, #48] ; 0x30 - 8017ab0: f1b3 3fff cmp.w r3, #4294967295 - 8017ab4: d01d beq.n 8017af2 + 801763c: 69bb ldr r3, [r7, #24] + 801763e: 6b1b ldr r3, [r3, #48] ; 0x30 + 8017640: f1b3 3fff cmp.w r3, #4294967295 + 8017644: d01d beq.n 8017682 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_bind(): t2 rebind timer %"U32_F" secs\n", dhcp->offered_t2_rebind)); timeout = (dhcp->offered_t2_rebind + DHCP_COARSE_TIMER_SECS / 2) / DHCP_COARSE_TIMER_SECS; - 8017ab6: 69bb ldr r3, [r7, #24] - 8017ab8: 6b1b ldr r3, [r3, #48] ; 0x30 - 8017aba: 331e adds r3, #30 - 8017abc: 4a36 ldr r2, [pc, #216] ; (8017b98 ) - 8017abe: fba2 2303 umull r2, r3, r2, r3 - 8017ac2: 095b lsrs r3, r3, #5 - 8017ac4: 61fb str r3, [r7, #28] + 8017646: 69bb ldr r3, [r7, #24] + 8017648: 6b1b ldr r3, [r3, #48] ; 0x30 + 801764a: 331e adds r3, #30 + 801764c: 4a36 ldr r2, [pc, #216] ; (8017728 ) + 801764e: fba2 2303 umull r2, r3, r2, r3 + 8017652: 095b lsrs r3, r3, #5 + 8017654: 61fb str r3, [r7, #28] if (timeout > 0xffff) { - 8017ac6: 69fb ldr r3, [r7, #28] - 8017ac8: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 8017acc: d302 bcc.n 8017ad4 + 8017656: 69fb ldr r3, [r7, #28] + 8017658: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 801765c: d302 bcc.n 8017664 timeout = 0xffff; - 8017ace: f64f 73ff movw r3, #65535 ; 0xffff - 8017ad2: 61fb str r3, [r7, #28] + 801765e: f64f 73ff movw r3, #65535 ; 0xffff + 8017662: 61fb str r3, [r7, #28] } dhcp->t2_timeout = (u16_t)timeout; - 8017ad4: 69fb ldr r3, [r7, #28] - 8017ad6: b29a uxth r2, r3 - 8017ad8: 69bb ldr r3, [r7, #24] - 8017ada: 819a strh r2, [r3, #12] + 8017664: 69fb ldr r3, [r7, #28] + 8017666: b29a uxth r2, r3 + 8017668: 69bb ldr r3, [r7, #24] + 801766a: 819a strh r2, [r3, #12] if (dhcp->t2_timeout == 0) { - 8017adc: 69bb ldr r3, [r7, #24] - 8017ade: 899b ldrh r3, [r3, #12] - 8017ae0: 2b00 cmp r3, #0 - 8017ae2: d102 bne.n 8017aea + 801766c: 69bb ldr r3, [r7, #24] + 801766e: 899b ldrh r3, [r3, #12] + 8017670: 2b00 cmp r3, #0 + 8017672: d102 bne.n 801767a dhcp->t2_timeout = 1; - 8017ae4: 69bb ldr r3, [r7, #24] - 8017ae6: 2201 movs r2, #1 - 8017ae8: 819a strh r2, [r3, #12] + 8017674: 69bb ldr r3, [r7, #24] + 8017676: 2201 movs r2, #1 + 8017678: 819a strh r2, [r3, #12] } LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_bind(): set request timeout %"U32_F" msecs\n", dhcp->offered_t2_rebind * 1000)); dhcp->t2_rebind_time = dhcp->t2_timeout; - 8017aea: 69bb ldr r3, [r7, #24] - 8017aec: 899a ldrh r2, [r3, #12] - 8017aee: 69bb ldr r3, [r7, #24] - 8017af0: 821a strh r2, [r3, #16] + 801767a: 69bb ldr r3, [r7, #24] + 801767c: 899a ldrh r2, [r3, #12] + 801767e: 69bb ldr r3, [r7, #24] + 8017680: 821a strh r2, [r3, #16] } /* If we have sub 1 minute lease, t2 and t1 will kick in at the same time. */ if ((dhcp->t1_timeout >= dhcp->t2_timeout) && (dhcp->t2_timeout > 0)) { - 8017af2: 69bb ldr r3, [r7, #24] - 8017af4: 895a ldrh r2, [r3, #10] - 8017af6: 69bb ldr r3, [r7, #24] - 8017af8: 899b ldrh r3, [r3, #12] - 8017afa: 429a cmp r2, r3 - 8017afc: d306 bcc.n 8017b0c - 8017afe: 69bb ldr r3, [r7, #24] - 8017b00: 899b ldrh r3, [r3, #12] - 8017b02: 2b00 cmp r3, #0 - 8017b04: d002 beq.n 8017b0c + 8017682: 69bb ldr r3, [r7, #24] + 8017684: 895a ldrh r2, [r3, #10] + 8017686: 69bb ldr r3, [r7, #24] + 8017688: 899b ldrh r3, [r3, #12] + 801768a: 429a cmp r2, r3 + 801768c: d306 bcc.n 801769c + 801768e: 69bb ldr r3, [r7, #24] + 8017690: 899b ldrh r3, [r3, #12] + 8017692: 2b00 cmp r3, #0 + 8017694: d002 beq.n 801769c dhcp->t1_timeout = 0; - 8017b06: 69bb ldr r3, [r7, #24] - 8017b08: 2200 movs r2, #0 - 8017b0a: 815a strh r2, [r3, #10] + 8017696: 69bb ldr r3, [r7, #24] + 8017698: 2200 movs r2, #0 + 801769a: 815a strh r2, [r3, #10] } if (dhcp->subnet_mask_given) { - 8017b0c: 69bb ldr r3, [r7, #24] - 8017b0e: 79db ldrb r3, [r3, #7] - 8017b10: 2b00 cmp r3, #0 - 8017b12: d003 beq.n 8017b1c + 801769c: 69bb ldr r3, [r7, #24] + 801769e: 79db ldrb r3, [r3, #7] + 80176a0: 2b00 cmp r3, #0 + 80176a2: d003 beq.n 80176ac /* copy offered network mask */ ip4_addr_copy(sn_mask, dhcp->offered_sn_mask); - 8017b14: 69bb ldr r3, [r7, #24] - 8017b16: 6a1b ldr r3, [r3, #32] - 8017b18: 613b str r3, [r7, #16] - 8017b1a: e014 b.n 8017b46 + 80176a4: 69bb ldr r3, [r7, #24] + 80176a6: 6a1b ldr r3, [r3, #32] + 80176a8: 613b str r3, [r7, #16] + 80176aa: e014 b.n 80176d6 } else { /* subnet mask not given, choose a safe subnet mask given the network class */ u8_t first_octet = ip4_addr1(&dhcp->offered_ip_addr); - 8017b1c: 69bb ldr r3, [r7, #24] - 8017b1e: 331c adds r3, #28 - 8017b20: 781b ldrb r3, [r3, #0] - 8017b22: 75fb strb r3, [r7, #23] + 80176ac: 69bb ldr r3, [r7, #24] + 80176ae: 331c adds r3, #28 + 80176b0: 781b ldrb r3, [r3, #0] + 80176b2: 75fb strb r3, [r7, #23] if (first_octet <= 127) { - 8017b24: f997 3017 ldrsb.w r3, [r7, #23] - 8017b28: 2b00 cmp r3, #0 - 8017b2a: db02 blt.n 8017b32 + 80176b4: f997 3017 ldrsb.w r3, [r7, #23] + 80176b8: 2b00 cmp r3, #0 + 80176ba: db02 blt.n 80176c2 ip4_addr_set_u32(&sn_mask, PP_HTONL(0xff000000UL)); - 8017b2c: 23ff movs r3, #255 ; 0xff - 8017b2e: 613b str r3, [r7, #16] - 8017b30: e009 b.n 8017b46 + 80176bc: 23ff movs r3, #255 ; 0xff + 80176be: 613b str r3, [r7, #16] + 80176c0: e009 b.n 80176d6 } else if (first_octet >= 192) { - 8017b32: 7dfb ldrb r3, [r7, #23] - 8017b34: 2bbf cmp r3, #191 ; 0xbf - 8017b36: d903 bls.n 8017b40 + 80176c2: 7dfb ldrb r3, [r7, #23] + 80176c4: 2bbf cmp r3, #191 ; 0xbf + 80176c6: d903 bls.n 80176d0 ip4_addr_set_u32(&sn_mask, PP_HTONL(0xffffff00UL)); - 8017b38: f06f 437f mvn.w r3, #4278190080 ; 0xff000000 - 8017b3c: 613b str r3, [r7, #16] - 8017b3e: e002 b.n 8017b46 + 80176c8: f06f 437f mvn.w r3, #4278190080 ; 0xff000000 + 80176cc: 613b str r3, [r7, #16] + 80176ce: e002 b.n 80176d6 } else { ip4_addr_set_u32(&sn_mask, PP_HTONL(0xffff0000UL)); - 8017b40: f64f 73ff movw r3, #65535 ; 0xffff - 8017b44: 613b str r3, [r7, #16] + 80176d0: f64f 73ff movw r3, #65535 ; 0xffff + 80176d4: 613b str r3, [r7, #16] } } ip4_addr_copy(gw_addr, dhcp->offered_gw_addr); - 8017b46: 69bb ldr r3, [r7, #24] - 8017b48: 6a5b ldr r3, [r3, #36] ; 0x24 - 8017b4a: 60fb str r3, [r7, #12] + 80176d6: 69bb ldr r3, [r7, #24] + 80176d8: 6a5b ldr r3, [r3, #36] ; 0x24 + 80176da: 60fb str r3, [r7, #12] /* gateway address not given? */ if (ip4_addr_isany_val(gw_addr)) { - 8017b4c: 68fb ldr r3, [r7, #12] - 8017b4e: 2b00 cmp r3, #0 - 8017b50: d108 bne.n 8017b64 + 80176dc: 68fb ldr r3, [r7, #12] + 80176de: 2b00 cmp r3, #0 + 80176e0: d108 bne.n 80176f4 /* copy network address */ ip4_addr_get_network(&gw_addr, &dhcp->offered_ip_addr, &sn_mask); - 8017b52: 69bb ldr r3, [r7, #24] - 8017b54: 69da ldr r2, [r3, #28] - 8017b56: 693b ldr r3, [r7, #16] - 8017b58: 4013 ands r3, r2 - 8017b5a: 60fb str r3, [r7, #12] + 80176e2: 69bb ldr r3, [r7, #24] + 80176e4: 69da ldr r2, [r3, #28] + 80176e6: 693b ldr r3, [r7, #16] + 80176e8: 4013 ands r3, r2 + 80176ea: 60fb str r3, [r7, #12] /* use first host address on network as gateway */ ip4_addr_set_u32(&gw_addr, ip4_addr_get_u32(&gw_addr) | PP_HTONL(0x00000001UL)); - 8017b5c: 68fb ldr r3, [r7, #12] - 8017b5e: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 - 8017b62: 60fb str r3, [r7, #12] + 80176ec: 68fb ldr r3, [r7, #12] + 80176ee: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 + 80176f2: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_STATE, ("dhcp_bind(): IP: 0x%08"X32_F" SN: 0x%08"X32_F" GW: 0x%08"X32_F"\n", ip4_addr_get_u32(&dhcp->offered_ip_addr), ip4_addr_get_u32(&sn_mask), ip4_addr_get_u32(&gw_addr))); /* netif is now bound to DHCP leased address - set this before assigning the address to ensure the callback can use dhcp_supplied_address() */ dhcp_set_state(dhcp, DHCP_STATE_BOUND); - 8017b64: 210a movs r1, #10 - 8017b66: 69b8 ldr r0, [r7, #24] - 8017b68: f000 faa0 bl 80180ac + 80176f4: 210a movs r1, #10 + 80176f6: 69b8 ldr r0, [r7, #24] + 80176f8: f000 faa0 bl 8017c3c netif_set_addr(netif, &dhcp->offered_ip_addr, &sn_mask, &gw_addr); - 8017b6c: 69bb ldr r3, [r7, #24] - 8017b6e: f103 011c add.w r1, r3, #28 - 8017b72: f107 030c add.w r3, r7, #12 - 8017b76: f107 0210 add.w r2, r7, #16 - 8017b7a: 6878 ldr r0, [r7, #4] - 8017b7c: f7f8 fa62 bl 8010044 + 80176fc: 69bb ldr r3, [r7, #24] + 80176fe: f103 011c add.w r1, r3, #28 + 8017702: f107 030c add.w r3, r7, #12 + 8017706: f107 0210 add.w r2, r7, #16 + 801770a: 6878 ldr r0, [r7, #4] + 801770c: f7f8 fa62 bl 800fbd4 /* interface is used by routing now that an address is set */ } - 8017b80: 3720 adds r7, #32 - 8017b82: 46bd mov sp, r7 - 8017b84: bd80 pop {r7, pc} - 8017b86: bf00 nop - 8017b88: 0801eb9c .word 0x0801eb9c - 8017b8c: 0801ecfc .word 0x0801ecfc - 8017b90: 0801ebfc .word 0x0801ebfc - 8017b94: 0801ed18 .word 0x0801ed18 - 8017b98: 88888889 .word 0x88888889 + 8017710: 3720 adds r7, #32 + 8017712: 46bd mov sp, r7 + 8017714: bd80 pop {r7, pc} + 8017716: bf00 nop + 8017718: 0801e398 .word 0x0801e398 + 801771c: 0801e4f8 .word 0x0801e4f8 + 8017720: 0801e3f8 .word 0x0801e3f8 + 8017724: 0801e514 .word 0x0801e514 + 8017728: 88888889 .word 0x88888889 -08017b9c : +0801772c : * * @param netif network interface which must renew its lease */ err_t dhcp_renew(struct netif *netif) { - 8017b9c: b580 push {r7, lr} - 8017b9e: b08a sub sp, #40 ; 0x28 - 8017ba0: af02 add r7, sp, #8 - 8017ba2: 6078 str r0, [r7, #4] + 801772c: b580 push {r7, lr} + 801772e: b08a sub sp, #40 ; 0x28 + 8017730: af02 add r7, sp, #8 + 8017732: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 8017ba4: 687b ldr r3, [r7, #4] - 8017ba6: 6a5b ldr r3, [r3, #36] ; 0x24 - 8017ba8: 61bb str r3, [r7, #24] + 8017734: 687b ldr r3, [r7, #4] + 8017736: 6a5b ldr r3, [r3, #36] ; 0x24 + 8017738: 61bb str r3, [r7, #24] struct pbuf *p_out; u16_t options_out_len; LWIP_ASSERT_CORE_LOCKED(); LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_renew()\n")); dhcp_set_state(dhcp, DHCP_STATE_RENEWING); - 8017baa: 2105 movs r1, #5 - 8017bac: 69b8 ldr r0, [r7, #24] - 8017bae: f000 fa7d bl 80180ac + 801773a: 2105 movs r1, #5 + 801773c: 69b8 ldr r0, [r7, #24] + 801773e: f000 fa7d bl 8017c3c /* create and initialize the DHCP message header */ p_out = dhcp_create_msg(netif, dhcp, DHCP_REQUEST, &options_out_len); - 8017bb2: f107 030c add.w r3, r7, #12 - 8017bb6: 2203 movs r2, #3 - 8017bb8: 69b9 ldr r1, [r7, #24] - 8017bba: 6878 ldr r0, [r7, #4] - 8017bbc: f000 ff00 bl 80189c0 - 8017bc0: 6178 str r0, [r7, #20] + 8017742: f107 030c add.w r3, r7, #12 + 8017746: 2203 movs r2, #3 + 8017748: 69b9 ldr r1, [r7, #24] + 801774a: 6878 ldr r0, [r7, #4] + 801774c: f000 ff00 bl 8018550 + 8017750: 6178 str r0, [r7, #20] if (p_out != NULL) { - 8017bc2: 697b ldr r3, [r7, #20] - 8017bc4: 2b00 cmp r3, #0 - 8017bc6: d04e beq.n 8017c66 + 8017752: 697b ldr r3, [r7, #20] + 8017754: 2b00 cmp r3, #0 + 8017756: d04e beq.n 80177f6 struct dhcp_msg *msg_out = (struct dhcp_msg *)p_out->payload; - 8017bc8: 697b ldr r3, [r7, #20] - 8017bca: 685b ldr r3, [r3, #4] - 8017bcc: 613b str r3, [r7, #16] + 8017758: 697b ldr r3, [r7, #20] + 801775a: 685b ldr r3, [r3, #4] + 801775c: 613b str r3, [r7, #16] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_MAX_MSG_SIZE, DHCP_OPTION_MAX_MSG_SIZE_LEN); - 8017bce: 89b8 ldrh r0, [r7, #12] - 8017bd0: 693b ldr r3, [r7, #16] - 8017bd2: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017bd6: 2302 movs r3, #2 - 8017bd8: 2239 movs r2, #57 ; 0x39 - 8017bda: f000 fa81 bl 80180e0 - 8017bde: 4603 mov r3, r0 - 8017be0: 81bb strh r3, [r7, #12] + 801775e: 89b8 ldrh r0, [r7, #12] + 8017760: 693b ldr r3, [r7, #16] + 8017762: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 8017766: 2302 movs r3, #2 + 8017768: 2239 movs r2, #57 ; 0x39 + 801776a: f000 fa81 bl 8017c70 + 801776e: 4603 mov r3, r0 + 8017770: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_short(options_out_len, msg_out->options, DHCP_MAX_MSG_LEN(netif)); - 8017be2: 89b8 ldrh r0, [r7, #12] - 8017be4: 693b ldr r3, [r7, #16] - 8017be6: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017bea: 687b ldr r3, [r7, #4] - 8017bec: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8017bee: 461a mov r2, r3 - 8017bf0: f000 fad0 bl 8018194 - 8017bf4: 4603 mov r3, r0 - 8017bf6: 81bb strh r3, [r7, #12] + 8017772: 89b8 ldrh r0, [r7, #12] + 8017774: 693b ldr r3, [r7, #16] + 8017776: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 801777a: 687b ldr r3, [r7, #4] + 801777c: 8d1b ldrh r3, [r3, #40] ; 0x28 + 801777e: 461a mov r2, r3 + 8017780: f000 fad0 bl 8017d24 + 8017784: 4603 mov r3, r0 + 8017786: 81bb strh r3, [r7, #12] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_request_options)); - 8017bf8: 89b8 ldrh r0, [r7, #12] - 8017bfa: 693b ldr r3, [r7, #16] - 8017bfc: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017c00: 2303 movs r3, #3 - 8017c02: 2237 movs r2, #55 ; 0x37 - 8017c04: f000 fa6c bl 80180e0 - 8017c08: 4603 mov r3, r0 - 8017c0a: 81bb strh r3, [r7, #12] + 8017788: 89b8 ldrh r0, [r7, #12] + 801778a: 693b ldr r3, [r7, #16] + 801778c: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 8017790: 2303 movs r3, #3 + 8017792: 2237 movs r2, #55 ; 0x37 + 8017794: f000 fa6c bl 8017c70 + 8017798: 4603 mov r3, r0 + 801779a: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 8017c0c: 2300 movs r3, #0 - 8017c0e: 77bb strb r3, [r7, #30] - 8017c10: e00e b.n 8017c30 + 801779c: 2300 movs r3, #0 + 801779e: 77bb strb r3, [r7, #30] + 80177a0: e00e b.n 80177c0 options_out_len = dhcp_option_byte(options_out_len, msg_out->options, dhcp_discover_request_options[i]); - 8017c12: 89b8 ldrh r0, [r7, #12] - 8017c14: 693b ldr r3, [r7, #16] - 8017c16: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017c1a: 7fbb ldrb r3, [r7, #30] - 8017c1c: 4a2a ldr r2, [pc, #168] ; (8017cc8 ) - 8017c1e: 5cd3 ldrb r3, [r2, r3] - 8017c20: 461a mov r2, r3 - 8017c22: f000 fa91 bl 8018148 - 8017c26: 4603 mov r3, r0 - 8017c28: 81bb strh r3, [r7, #12] + 80177a2: 89b8 ldrh r0, [r7, #12] + 80177a4: 693b ldr r3, [r7, #16] + 80177a6: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 80177aa: 7fbb ldrb r3, [r7, #30] + 80177ac: 4a2a ldr r2, [pc, #168] ; (8017858 ) + 80177ae: 5cd3 ldrb r3, [r2, r3] + 80177b0: 461a mov r2, r3 + 80177b2: f000 fa91 bl 8017cd8 + 80177b6: 4603 mov r3, r0 + 80177b8: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 8017c2a: 7fbb ldrb r3, [r7, #30] - 8017c2c: 3301 adds r3, #1 - 8017c2e: 77bb strb r3, [r7, #30] - 8017c30: 7fbb ldrb r3, [r7, #30] - 8017c32: 2b02 cmp r3, #2 - 8017c34: d9ed bls.n 8017c12 + 80177ba: 7fbb ldrb r3, [r7, #30] + 80177bc: 3301 adds r3, #1 + 80177be: 77bb strb r3, [r7, #30] + 80177c0: 7fbb ldrb r3, [r7, #30] + 80177c2: 2b02 cmp r3, #2 + 80177c4: d9ed bls.n 80177a2 #if LWIP_NETIF_HOSTNAME options_out_len = dhcp_option_hostname(options_out_len, msg_out->options, netif); #endif /* LWIP_NETIF_HOSTNAME */ LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, DHCP_STATE_RENEWING, msg_out, DHCP_REQUEST, &options_out_len); dhcp_option_trailer(options_out_len, msg_out->options, p_out); - 8017c36: 89b8 ldrh r0, [r7, #12] - 8017c38: 693b ldr r3, [r7, #16] - 8017c3a: 33f0 adds r3, #240 ; 0xf0 - 8017c3c: 697a ldr r2, [r7, #20] - 8017c3e: 4619 mov r1, r3 - 8017c40: f000 ff94 bl 8018b6c + 80177c6: 89b8 ldrh r0, [r7, #12] + 80177c8: 693b ldr r3, [r7, #16] + 80177ca: 33f0 adds r3, #240 ; 0xf0 + 80177cc: 697a ldr r2, [r7, #20] + 80177ce: 4619 mov r1, r3 + 80177d0: f000 ff94 bl 80186fc result = udp_sendto_if(dhcp_pcb, p_out, &dhcp->server_ip_addr, LWIP_IANA_PORT_DHCP_SERVER, netif); - 8017c44: 4b21 ldr r3, [pc, #132] ; (8017ccc ) - 8017c46: 6818 ldr r0, [r3, #0] - 8017c48: 69bb ldr r3, [r7, #24] - 8017c4a: f103 0218 add.w r2, r3, #24 - 8017c4e: 687b ldr r3, [r7, #4] - 8017c50: 9300 str r3, [sp, #0] - 8017c52: 2343 movs r3, #67 ; 0x43 - 8017c54: 6979 ldr r1, [r7, #20] - 8017c56: f7fe fe3f bl 80168d8 - 8017c5a: 4603 mov r3, r0 - 8017c5c: 77fb strb r3, [r7, #31] + 80177d4: 4b21 ldr r3, [pc, #132] ; (801785c ) + 80177d6: 6818 ldr r0, [r3, #0] + 80177d8: 69bb ldr r3, [r7, #24] + 80177da: f103 0218 add.w r2, r3, #24 + 80177de: 687b ldr r3, [r7, #4] + 80177e0: 9300 str r3, [sp, #0] + 80177e2: 2343 movs r3, #67 ; 0x43 + 80177e4: 6979 ldr r1, [r7, #20] + 80177e6: f7fe fe3f bl 8016468 + 80177ea: 4603 mov r3, r0 + 80177ec: 77fb strb r3, [r7, #31] pbuf_free(p_out); - 8017c5e: 6978 ldr r0, [r7, #20] - 8017c60: f7f8 fefa bl 8010a58 - 8017c64: e001 b.n 8017c6a + 80177ee: 6978 ldr r0, [r7, #20] + 80177f0: f7f8 fefa bl 80105e8 + 80177f4: e001 b.n 80177fa LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_renew: RENEWING\n")); } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_renew: could not allocate DHCP request\n")); result = ERR_MEM; - 8017c66: 23ff movs r3, #255 ; 0xff - 8017c68: 77fb strb r3, [r7, #31] + 80177f6: 23ff movs r3, #255 ; 0xff + 80177f8: 77fb strb r3, [r7, #31] } if (dhcp->tries < 255) { - 8017c6a: 69bb ldr r3, [r7, #24] - 8017c6c: 799b ldrb r3, [r3, #6] - 8017c6e: 2bff cmp r3, #255 ; 0xff - 8017c70: d005 beq.n 8017c7e + 80177fa: 69bb ldr r3, [r7, #24] + 80177fc: 799b ldrb r3, [r3, #6] + 80177fe: 2bff cmp r3, #255 ; 0xff + 8017800: d005 beq.n 801780e dhcp->tries++; - 8017c72: 69bb ldr r3, [r7, #24] - 8017c74: 799b ldrb r3, [r3, #6] - 8017c76: 3301 adds r3, #1 - 8017c78: b2da uxtb r2, r3 - 8017c7a: 69bb ldr r3, [r7, #24] - 8017c7c: 719a strb r2, [r3, #6] + 8017802: 69bb ldr r3, [r7, #24] + 8017804: 799b ldrb r3, [r3, #6] + 8017806: 3301 adds r3, #1 + 8017808: b2da uxtb r2, r3 + 801780a: 69bb ldr r3, [r7, #24] + 801780c: 719a strb r2, [r3, #6] } /* back-off on retries, but to a maximum of 20 seconds */ msecs = (u16_t)(dhcp->tries < 10 ? dhcp->tries * 2000 : 20 * 1000); - 8017c7e: 69bb ldr r3, [r7, #24] - 8017c80: 799b ldrb r3, [r3, #6] - 8017c82: 2b09 cmp r3, #9 - 8017c84: d80a bhi.n 8017c9c - 8017c86: 69bb ldr r3, [r7, #24] - 8017c88: 799b ldrb r3, [r3, #6] - 8017c8a: b29b uxth r3, r3 - 8017c8c: 461a mov r2, r3 - 8017c8e: 0152 lsls r2, r2, #5 - 8017c90: 1ad2 subs r2, r2, r3 - 8017c92: 0092 lsls r2, r2, #2 - 8017c94: 4413 add r3, r2 - 8017c96: 011b lsls r3, r3, #4 - 8017c98: b29b uxth r3, r3 - 8017c9a: e001 b.n 8017ca0 - 8017c9c: f644 6320 movw r3, #20000 ; 0x4e20 - 8017ca0: 81fb strh r3, [r7, #14] + 801780e: 69bb ldr r3, [r7, #24] + 8017810: 799b ldrb r3, [r3, #6] + 8017812: 2b09 cmp r3, #9 + 8017814: d80a bhi.n 801782c + 8017816: 69bb ldr r3, [r7, #24] + 8017818: 799b ldrb r3, [r3, #6] + 801781a: b29b uxth r3, r3 + 801781c: 461a mov r2, r3 + 801781e: 0152 lsls r2, r2, #5 + 8017820: 1ad2 subs r2, r2, r3 + 8017822: 0092 lsls r2, r2, #2 + 8017824: 4413 add r3, r2 + 8017826: 011b lsls r3, r3, #4 + 8017828: b29b uxth r3, r3 + 801782a: e001 b.n 8017830 + 801782c: f644 6320 movw r3, #20000 ; 0x4e20 + 8017830: 81fb strh r3, [r7, #14] dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); - 8017ca2: 89fb ldrh r3, [r7, #14] - 8017ca4: f203 13f3 addw r3, r3, #499 ; 0x1f3 - 8017ca8: 4a09 ldr r2, [pc, #36] ; (8017cd0 ) - 8017caa: fb82 1203 smull r1, r2, r2, r3 - 8017cae: 1152 asrs r2, r2, #5 - 8017cb0: 17db asrs r3, r3, #31 - 8017cb2: 1ad3 subs r3, r2, r3 - 8017cb4: b29a uxth r2, r3 - 8017cb6: 69bb ldr r3, [r7, #24] - 8017cb8: 811a strh r2, [r3, #8] + 8017832: 89fb ldrh r3, [r7, #14] + 8017834: f203 13f3 addw r3, r3, #499 ; 0x1f3 + 8017838: 4a09 ldr r2, [pc, #36] ; (8017860 ) + 801783a: fb82 1203 smull r1, r2, r2, r3 + 801783e: 1152 asrs r2, r2, #5 + 8017840: 17db asrs r3, r3, #31 + 8017842: 1ad3 subs r3, r2, r3 + 8017844: b29a uxth r2, r3 + 8017846: 69bb ldr r3, [r7, #24] + 8017848: 811a strh r2, [r3, #8] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_renew(): set request timeout %"U16_F" msecs\n", msecs)); return result; - 8017cba: f997 301f ldrsb.w r3, [r7, #31] + 801784a: f997 301f ldrsb.w r3, [r7, #31] } - 8017cbe: 4618 mov r0, r3 - 8017cc0: 3720 adds r7, #32 - 8017cc2: 46bd mov sp, r7 - 8017cc4: bd80 pop {r7, pc} - 8017cc6: bf00 nop - 8017cc8: 20000080 .word 0x20000080 - 8017ccc: 2000876c .word 0x2000876c - 8017cd0: 10624dd3 .word 0x10624dd3 + 801784e: 4618 mov r0, r3 + 8017850: 3720 adds r7, #32 + 8017852: 46bd mov sp, r7 + 8017854: bd80 pop {r7, pc} + 8017856: bf00 nop + 8017858: 20000080 .word 0x20000080 + 801785c: 2000876c .word 0x2000876c + 8017860: 10624dd3 .word 0x10624dd3 -08017cd4 : +08017864 : * * @param netif network interface which must rebind with a DHCP server */ static err_t dhcp_rebind(struct netif *netif) { - 8017cd4: b580 push {r7, lr} - 8017cd6: b08a sub sp, #40 ; 0x28 - 8017cd8: af02 add r7, sp, #8 - 8017cda: 6078 str r0, [r7, #4] + 8017864: b580 push {r7, lr} + 8017866: b08a sub sp, #40 ; 0x28 + 8017868: af02 add r7, sp, #8 + 801786a: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 8017cdc: 687b ldr r3, [r7, #4] - 8017cde: 6a5b ldr r3, [r3, #36] ; 0x24 - 8017ce0: 61bb str r3, [r7, #24] + 801786c: 687b ldr r3, [r7, #4] + 801786e: 6a5b ldr r3, [r3, #36] ; 0x24 + 8017870: 61bb str r3, [r7, #24] u8_t i; struct pbuf *p_out; u16_t options_out_len; LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_rebind()\n")); dhcp_set_state(dhcp, DHCP_STATE_REBINDING); - 8017ce2: 2104 movs r1, #4 - 8017ce4: 69b8 ldr r0, [r7, #24] - 8017ce6: f000 f9e1 bl 80180ac + 8017872: 2104 movs r1, #4 + 8017874: 69b8 ldr r0, [r7, #24] + 8017876: f000 f9e1 bl 8017c3c /* create and initialize the DHCP message header */ p_out = dhcp_create_msg(netif, dhcp, DHCP_REQUEST, &options_out_len); - 8017cea: f107 030c add.w r3, r7, #12 - 8017cee: 2203 movs r2, #3 - 8017cf0: 69b9 ldr r1, [r7, #24] - 8017cf2: 6878 ldr r0, [r7, #4] - 8017cf4: f000 fe64 bl 80189c0 - 8017cf8: 6178 str r0, [r7, #20] + 801787a: f107 030c add.w r3, r7, #12 + 801787e: 2203 movs r2, #3 + 8017880: 69b9 ldr r1, [r7, #24] + 8017882: 6878 ldr r0, [r7, #4] + 8017884: f000 fe64 bl 8018550 + 8017888: 6178 str r0, [r7, #20] if (p_out != NULL) { - 8017cfa: 697b ldr r3, [r7, #20] - 8017cfc: 2b00 cmp r3, #0 - 8017cfe: d04c beq.n 8017d9a + 801788a: 697b ldr r3, [r7, #20] + 801788c: 2b00 cmp r3, #0 + 801788e: d04c beq.n 801792a struct dhcp_msg *msg_out = (struct dhcp_msg *)p_out->payload; - 8017d00: 697b ldr r3, [r7, #20] - 8017d02: 685b ldr r3, [r3, #4] - 8017d04: 613b str r3, [r7, #16] + 8017890: 697b ldr r3, [r7, #20] + 8017892: 685b ldr r3, [r3, #4] + 8017894: 613b str r3, [r7, #16] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_MAX_MSG_SIZE, DHCP_OPTION_MAX_MSG_SIZE_LEN); - 8017d06: 89b8 ldrh r0, [r7, #12] - 8017d08: 693b ldr r3, [r7, #16] - 8017d0a: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017d0e: 2302 movs r3, #2 - 8017d10: 2239 movs r2, #57 ; 0x39 - 8017d12: f000 f9e5 bl 80180e0 - 8017d16: 4603 mov r3, r0 - 8017d18: 81bb strh r3, [r7, #12] + 8017896: 89b8 ldrh r0, [r7, #12] + 8017898: 693b ldr r3, [r7, #16] + 801789a: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 801789e: 2302 movs r3, #2 + 80178a0: 2239 movs r2, #57 ; 0x39 + 80178a2: f000 f9e5 bl 8017c70 + 80178a6: 4603 mov r3, r0 + 80178a8: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_short(options_out_len, msg_out->options, DHCP_MAX_MSG_LEN(netif)); - 8017d1a: 89b8 ldrh r0, [r7, #12] - 8017d1c: 693b ldr r3, [r7, #16] - 8017d1e: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017d22: 687b ldr r3, [r7, #4] - 8017d24: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8017d26: 461a mov r2, r3 - 8017d28: f000 fa34 bl 8018194 - 8017d2c: 4603 mov r3, r0 - 8017d2e: 81bb strh r3, [r7, #12] + 80178aa: 89b8 ldrh r0, [r7, #12] + 80178ac: 693b ldr r3, [r7, #16] + 80178ae: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 80178b2: 687b ldr r3, [r7, #4] + 80178b4: 8d1b ldrh r3, [r3, #40] ; 0x28 + 80178b6: 461a mov r2, r3 + 80178b8: f000 fa34 bl 8017d24 + 80178bc: 4603 mov r3, r0 + 80178be: 81bb strh r3, [r7, #12] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_request_options)); - 8017d30: 89b8 ldrh r0, [r7, #12] - 8017d32: 693b ldr r3, [r7, #16] - 8017d34: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017d38: 2303 movs r3, #3 - 8017d3a: 2237 movs r2, #55 ; 0x37 - 8017d3c: f000 f9d0 bl 80180e0 - 8017d40: 4603 mov r3, r0 - 8017d42: 81bb strh r3, [r7, #12] + 80178c0: 89b8 ldrh r0, [r7, #12] + 80178c2: 693b ldr r3, [r7, #16] + 80178c4: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 80178c8: 2303 movs r3, #3 + 80178ca: 2237 movs r2, #55 ; 0x37 + 80178cc: f000 f9d0 bl 8017c70 + 80178d0: 4603 mov r3, r0 + 80178d2: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 8017d44: 2300 movs r3, #0 - 8017d46: 77bb strb r3, [r7, #30] - 8017d48: e00e b.n 8017d68 + 80178d4: 2300 movs r3, #0 + 80178d6: 77bb strb r3, [r7, #30] + 80178d8: e00e b.n 80178f8 options_out_len = dhcp_option_byte(options_out_len, msg_out->options, dhcp_discover_request_options[i]); - 8017d4a: 89b8 ldrh r0, [r7, #12] - 8017d4c: 693b ldr r3, [r7, #16] - 8017d4e: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017d52: 7fbb ldrb r3, [r7, #30] - 8017d54: 4a29 ldr r2, [pc, #164] ; (8017dfc ) - 8017d56: 5cd3 ldrb r3, [r2, r3] - 8017d58: 461a mov r2, r3 - 8017d5a: f000 f9f5 bl 8018148 - 8017d5e: 4603 mov r3, r0 - 8017d60: 81bb strh r3, [r7, #12] + 80178da: 89b8 ldrh r0, [r7, #12] + 80178dc: 693b ldr r3, [r7, #16] + 80178de: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 80178e2: 7fbb ldrb r3, [r7, #30] + 80178e4: 4a29 ldr r2, [pc, #164] ; (801798c ) + 80178e6: 5cd3 ldrb r3, [r2, r3] + 80178e8: 461a mov r2, r3 + 80178ea: f000 f9f5 bl 8017cd8 + 80178ee: 4603 mov r3, r0 + 80178f0: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 8017d62: 7fbb ldrb r3, [r7, #30] - 8017d64: 3301 adds r3, #1 - 8017d66: 77bb strb r3, [r7, #30] - 8017d68: 7fbb ldrb r3, [r7, #30] - 8017d6a: 2b02 cmp r3, #2 - 8017d6c: d9ed bls.n 8017d4a + 80178f2: 7fbb ldrb r3, [r7, #30] + 80178f4: 3301 adds r3, #1 + 80178f6: 77bb strb r3, [r7, #30] + 80178f8: 7fbb ldrb r3, [r7, #30] + 80178fa: 2b02 cmp r3, #2 + 80178fc: d9ed bls.n 80178da #if LWIP_NETIF_HOSTNAME options_out_len = dhcp_option_hostname(options_out_len, msg_out->options, netif); #endif /* LWIP_NETIF_HOSTNAME */ LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, DHCP_STATE_REBINDING, msg_out, DHCP_DISCOVER, &options_out_len); dhcp_option_trailer(options_out_len, msg_out->options, p_out); - 8017d6e: 89b8 ldrh r0, [r7, #12] - 8017d70: 693b ldr r3, [r7, #16] - 8017d72: 33f0 adds r3, #240 ; 0xf0 - 8017d74: 697a ldr r2, [r7, #20] - 8017d76: 4619 mov r1, r3 - 8017d78: f000 fef8 bl 8018b6c + 80178fe: 89b8 ldrh r0, [r7, #12] + 8017900: 693b ldr r3, [r7, #16] + 8017902: 33f0 adds r3, #240 ; 0xf0 + 8017904: 697a ldr r2, [r7, #20] + 8017906: 4619 mov r1, r3 + 8017908: f000 fef8 bl 80186fc /* broadcast to server */ result = udp_sendto_if(dhcp_pcb, p_out, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER, netif); - 8017d7c: 4b20 ldr r3, [pc, #128] ; (8017e00 ) - 8017d7e: 6818 ldr r0, [r3, #0] - 8017d80: 687b ldr r3, [r7, #4] - 8017d82: 9300 str r3, [sp, #0] - 8017d84: 2343 movs r3, #67 ; 0x43 - 8017d86: 4a1f ldr r2, [pc, #124] ; (8017e04 ) - 8017d88: 6979 ldr r1, [r7, #20] - 8017d8a: f7fe fda5 bl 80168d8 - 8017d8e: 4603 mov r3, r0 - 8017d90: 77fb strb r3, [r7, #31] + 801790c: 4b20 ldr r3, [pc, #128] ; (8017990 ) + 801790e: 6818 ldr r0, [r3, #0] + 8017910: 687b ldr r3, [r7, #4] + 8017912: 9300 str r3, [sp, #0] + 8017914: 2343 movs r3, #67 ; 0x43 + 8017916: 4a1f ldr r2, [pc, #124] ; (8017994 ) + 8017918: 6979 ldr r1, [r7, #20] + 801791a: f7fe fda5 bl 8016468 + 801791e: 4603 mov r3, r0 + 8017920: 77fb strb r3, [r7, #31] pbuf_free(p_out); - 8017d92: 6978 ldr r0, [r7, #20] - 8017d94: f7f8 fe60 bl 8010a58 - 8017d98: e001 b.n 8017d9e + 8017922: 6978 ldr r0, [r7, #20] + 8017924: f7f8 fe60 bl 80105e8 + 8017928: e001 b.n 801792e LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_rebind: REBINDING\n")); } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_rebind: could not allocate DHCP request\n")); result = ERR_MEM; - 8017d9a: 23ff movs r3, #255 ; 0xff - 8017d9c: 77fb strb r3, [r7, #31] + 801792a: 23ff movs r3, #255 ; 0xff + 801792c: 77fb strb r3, [r7, #31] } if (dhcp->tries < 255) { - 8017d9e: 69bb ldr r3, [r7, #24] - 8017da0: 799b ldrb r3, [r3, #6] - 8017da2: 2bff cmp r3, #255 ; 0xff - 8017da4: d005 beq.n 8017db2 + 801792e: 69bb ldr r3, [r7, #24] + 8017930: 799b ldrb r3, [r3, #6] + 8017932: 2bff cmp r3, #255 ; 0xff + 8017934: d005 beq.n 8017942 dhcp->tries++; - 8017da6: 69bb ldr r3, [r7, #24] - 8017da8: 799b ldrb r3, [r3, #6] - 8017daa: 3301 adds r3, #1 - 8017dac: b2da uxtb r2, r3 - 8017dae: 69bb ldr r3, [r7, #24] - 8017db0: 719a strb r2, [r3, #6] + 8017936: 69bb ldr r3, [r7, #24] + 8017938: 799b ldrb r3, [r3, #6] + 801793a: 3301 adds r3, #1 + 801793c: b2da uxtb r2, r3 + 801793e: 69bb ldr r3, [r7, #24] + 8017940: 719a strb r2, [r3, #6] } msecs = (u16_t)(dhcp->tries < 10 ? dhcp->tries * 1000 : 10 * 1000); - 8017db2: 69bb ldr r3, [r7, #24] - 8017db4: 799b ldrb r3, [r3, #6] - 8017db6: 2b09 cmp r3, #9 - 8017db8: d80a bhi.n 8017dd0 - 8017dba: 69bb ldr r3, [r7, #24] - 8017dbc: 799b ldrb r3, [r3, #6] - 8017dbe: b29b uxth r3, r3 - 8017dc0: 461a mov r2, r3 - 8017dc2: 0152 lsls r2, r2, #5 - 8017dc4: 1ad2 subs r2, r2, r3 - 8017dc6: 0092 lsls r2, r2, #2 - 8017dc8: 4413 add r3, r2 - 8017dca: 00db lsls r3, r3, #3 - 8017dcc: b29b uxth r3, r3 - 8017dce: e001 b.n 8017dd4 - 8017dd0: f242 7310 movw r3, #10000 ; 0x2710 - 8017dd4: 81fb strh r3, [r7, #14] + 8017942: 69bb ldr r3, [r7, #24] + 8017944: 799b ldrb r3, [r3, #6] + 8017946: 2b09 cmp r3, #9 + 8017948: d80a bhi.n 8017960 + 801794a: 69bb ldr r3, [r7, #24] + 801794c: 799b ldrb r3, [r3, #6] + 801794e: b29b uxth r3, r3 + 8017950: 461a mov r2, r3 + 8017952: 0152 lsls r2, r2, #5 + 8017954: 1ad2 subs r2, r2, r3 + 8017956: 0092 lsls r2, r2, #2 + 8017958: 4413 add r3, r2 + 801795a: 00db lsls r3, r3, #3 + 801795c: b29b uxth r3, r3 + 801795e: e001 b.n 8017964 + 8017960: f242 7310 movw r3, #10000 ; 0x2710 + 8017964: 81fb strh r3, [r7, #14] dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); - 8017dd6: 89fb ldrh r3, [r7, #14] - 8017dd8: f203 13f3 addw r3, r3, #499 ; 0x1f3 - 8017ddc: 4a0a ldr r2, [pc, #40] ; (8017e08 ) - 8017dde: fb82 1203 smull r1, r2, r2, r3 - 8017de2: 1152 asrs r2, r2, #5 - 8017de4: 17db asrs r3, r3, #31 - 8017de6: 1ad3 subs r3, r2, r3 - 8017de8: b29a uxth r2, r3 - 8017dea: 69bb ldr r3, [r7, #24] - 8017dec: 811a strh r2, [r3, #8] + 8017966: 89fb ldrh r3, [r7, #14] + 8017968: f203 13f3 addw r3, r3, #499 ; 0x1f3 + 801796c: 4a0a ldr r2, [pc, #40] ; (8017998 ) + 801796e: fb82 1203 smull r1, r2, r2, r3 + 8017972: 1152 asrs r2, r2, #5 + 8017974: 17db asrs r3, r3, #31 + 8017976: 1ad3 subs r3, r2, r3 + 8017978: b29a uxth r2, r3 + 801797a: 69bb ldr r3, [r7, #24] + 801797c: 811a strh r2, [r3, #8] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_rebind(): set request timeout %"U16_F" msecs\n", msecs)); return result; - 8017dee: f997 301f ldrsb.w r3, [r7, #31] + 801797e: f997 301f ldrsb.w r3, [r7, #31] } - 8017df2: 4618 mov r0, r3 - 8017df4: 3720 adds r7, #32 - 8017df6: 46bd mov sp, r7 - 8017df8: bd80 pop {r7, pc} - 8017dfa: bf00 nop - 8017dfc: 20000080 .word 0x20000080 - 8017e00: 2000876c .word 0x2000876c - 8017e04: 08021670 .word 0x08021670 - 8017e08: 10624dd3 .word 0x10624dd3 + 8017982: 4618 mov r0, r3 + 8017984: 3720 adds r7, #32 + 8017986: 46bd mov sp, r7 + 8017988: bd80 pop {r7, pc} + 801798a: bf00 nop + 801798c: 20000080 .word 0x20000080 + 8017990: 2000876c .word 0x2000876c + 8017994: 08020e6c .word 0x08020e6c + 8017998: 10624dd3 .word 0x10624dd3 -08017e0c : +0801799c : * * @param netif network interface which must reboot */ static err_t dhcp_reboot(struct netif *netif) { - 8017e0c: b5b0 push {r4, r5, r7, lr} - 8017e0e: b08a sub sp, #40 ; 0x28 - 8017e10: af02 add r7, sp, #8 - 8017e12: 6078 str r0, [r7, #4] + 801799c: b5b0 push {r4, r5, r7, lr} + 801799e: b08a sub sp, #40 ; 0x28 + 80179a0: af02 add r7, sp, #8 + 80179a2: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 8017e14: 687b ldr r3, [r7, #4] - 8017e16: 6a5b ldr r3, [r3, #36] ; 0x24 - 8017e18: 61bb str r3, [r7, #24] + 80179a4: 687b ldr r3, [r7, #4] + 80179a6: 6a5b ldr r3, [r3, #36] ; 0x24 + 80179a8: 61bb str r3, [r7, #24] u8_t i; struct pbuf *p_out; u16_t options_out_len; LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_reboot()\n")); dhcp_set_state(dhcp, DHCP_STATE_REBOOTING); - 8017e1a: 2103 movs r1, #3 - 8017e1c: 69b8 ldr r0, [r7, #24] - 8017e1e: f000 f945 bl 80180ac + 80179aa: 2103 movs r1, #3 + 80179ac: 69b8 ldr r0, [r7, #24] + 80179ae: f000 f945 bl 8017c3c /* create and initialize the DHCP message header */ p_out = dhcp_create_msg(netif, dhcp, DHCP_REQUEST, &options_out_len); - 8017e22: f107 030c add.w r3, r7, #12 - 8017e26: 2203 movs r2, #3 - 8017e28: 69b9 ldr r1, [r7, #24] - 8017e2a: 6878 ldr r0, [r7, #4] - 8017e2c: f000 fdc8 bl 80189c0 - 8017e30: 6178 str r0, [r7, #20] + 80179b2: f107 030c add.w r3, r7, #12 + 80179b6: 2203 movs r2, #3 + 80179b8: 69b9 ldr r1, [r7, #24] + 80179ba: 6878 ldr r0, [r7, #4] + 80179bc: f000 fdc8 bl 8018550 + 80179c0: 6178 str r0, [r7, #20] if (p_out != NULL) { - 8017e32: 697b ldr r3, [r7, #20] - 8017e34: 2b00 cmp r3, #0 - 8017e36: d066 beq.n 8017f06 + 80179c2: 697b ldr r3, [r7, #20] + 80179c4: 2b00 cmp r3, #0 + 80179c6: d066 beq.n 8017a96 struct dhcp_msg *msg_out = (struct dhcp_msg *)p_out->payload; - 8017e38: 697b ldr r3, [r7, #20] - 8017e3a: 685b ldr r3, [r3, #4] - 8017e3c: 613b str r3, [r7, #16] + 80179c8: 697b ldr r3, [r7, #20] + 80179ca: 685b ldr r3, [r3, #4] + 80179cc: 613b str r3, [r7, #16] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_MAX_MSG_SIZE, DHCP_OPTION_MAX_MSG_SIZE_LEN); - 8017e3e: 89b8 ldrh r0, [r7, #12] - 8017e40: 693b ldr r3, [r7, #16] - 8017e42: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017e46: 2302 movs r3, #2 - 8017e48: 2239 movs r2, #57 ; 0x39 - 8017e4a: f000 f949 bl 80180e0 - 8017e4e: 4603 mov r3, r0 - 8017e50: 81bb strh r3, [r7, #12] + 80179ce: 89b8 ldrh r0, [r7, #12] + 80179d0: 693b ldr r3, [r7, #16] + 80179d2: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 80179d6: 2302 movs r3, #2 + 80179d8: 2239 movs r2, #57 ; 0x39 + 80179da: f000 f949 bl 8017c70 + 80179de: 4603 mov r3, r0 + 80179e0: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_short(options_out_len, msg_out->options, DHCP_MAX_MSG_LEN_MIN_REQUIRED); - 8017e52: 89b8 ldrh r0, [r7, #12] - 8017e54: 693b ldr r3, [r7, #16] - 8017e56: 33f0 adds r3, #240 ; 0xf0 - 8017e58: f44f 7210 mov.w r2, #576 ; 0x240 - 8017e5c: 4619 mov r1, r3 - 8017e5e: f000 f999 bl 8018194 - 8017e62: 4603 mov r3, r0 - 8017e64: 81bb strh r3, [r7, #12] + 80179e2: 89b8 ldrh r0, [r7, #12] + 80179e4: 693b ldr r3, [r7, #16] + 80179e6: 33f0 adds r3, #240 ; 0xf0 + 80179e8: f44f 7210 mov.w r2, #576 ; 0x240 + 80179ec: 4619 mov r1, r3 + 80179ee: f000 f999 bl 8017d24 + 80179f2: 4603 mov r3, r0 + 80179f4: 81bb strh r3, [r7, #12] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_REQUESTED_IP, 4); - 8017e66: 89b8 ldrh r0, [r7, #12] - 8017e68: 693b ldr r3, [r7, #16] - 8017e6a: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017e6e: 2304 movs r3, #4 - 8017e70: 2232 movs r2, #50 ; 0x32 - 8017e72: f000 f935 bl 80180e0 - 8017e76: 4603 mov r3, r0 - 8017e78: 81bb strh r3, [r7, #12] + 80179f6: 89b8 ldrh r0, [r7, #12] + 80179f8: 693b ldr r3, [r7, #16] + 80179fa: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 80179fe: 2304 movs r3, #4 + 8017a00: 2232 movs r2, #50 ; 0x32 + 8017a02: f000 f935 bl 8017c70 + 8017a06: 4603 mov r3, r0 + 8017a08: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offered_ip_addr))); - 8017e7a: 89bc ldrh r4, [r7, #12] - 8017e7c: 693b ldr r3, [r7, #16] - 8017e7e: f103 05f0 add.w r5, r3, #240 ; 0xf0 - 8017e82: 69bb ldr r3, [r7, #24] - 8017e84: 69db ldr r3, [r3, #28] - 8017e86: 4618 mov r0, r3 - 8017e88: f7f7 fa47 bl 800f31a - 8017e8c: 4603 mov r3, r0 - 8017e8e: 461a mov r2, r3 - 8017e90: 4629 mov r1, r5 - 8017e92: 4620 mov r0, r4 - 8017e94: f000 f9b0 bl 80181f8 - 8017e98: 4603 mov r3, r0 - 8017e9a: 81bb strh r3, [r7, #12] + 8017a0a: 89bc ldrh r4, [r7, #12] + 8017a0c: 693b ldr r3, [r7, #16] + 8017a0e: f103 05f0 add.w r5, r3, #240 ; 0xf0 + 8017a12: 69bb ldr r3, [r7, #24] + 8017a14: 69db ldr r3, [r3, #28] + 8017a16: 4618 mov r0, r3 + 8017a18: f7f7 fa47 bl 800eeaa + 8017a1c: 4603 mov r3, r0 + 8017a1e: 461a mov r2, r3 + 8017a20: 4629 mov r1, r5 + 8017a22: 4620 mov r0, r4 + 8017a24: f000 f9b0 bl 8017d88 + 8017a28: 4603 mov r3, r0 + 8017a2a: 81bb strh r3, [r7, #12] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_request_options)); - 8017e9c: 89b8 ldrh r0, [r7, #12] - 8017e9e: 693b ldr r3, [r7, #16] - 8017ea0: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017ea4: 2303 movs r3, #3 - 8017ea6: 2237 movs r2, #55 ; 0x37 - 8017ea8: f000 f91a bl 80180e0 - 8017eac: 4603 mov r3, r0 - 8017eae: 81bb strh r3, [r7, #12] + 8017a2c: 89b8 ldrh r0, [r7, #12] + 8017a2e: 693b ldr r3, [r7, #16] + 8017a30: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 8017a34: 2303 movs r3, #3 + 8017a36: 2237 movs r2, #55 ; 0x37 + 8017a38: f000 f91a bl 8017c70 + 8017a3c: 4603 mov r3, r0 + 8017a3e: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 8017eb0: 2300 movs r3, #0 - 8017eb2: 77bb strb r3, [r7, #30] - 8017eb4: e00e b.n 8017ed4 + 8017a40: 2300 movs r3, #0 + 8017a42: 77bb strb r3, [r7, #30] + 8017a44: e00e b.n 8017a64 options_out_len = dhcp_option_byte(options_out_len, msg_out->options, dhcp_discover_request_options[i]); - 8017eb6: 89b8 ldrh r0, [r7, #12] - 8017eb8: 693b ldr r3, [r7, #16] - 8017eba: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8017ebe: 7fbb ldrb r3, [r7, #30] - 8017ec0: 4a29 ldr r2, [pc, #164] ; (8017f68 ) - 8017ec2: 5cd3 ldrb r3, [r2, r3] - 8017ec4: 461a mov r2, r3 - 8017ec6: f000 f93f bl 8018148 - 8017eca: 4603 mov r3, r0 - 8017ecc: 81bb strh r3, [r7, #12] + 8017a46: 89b8 ldrh r0, [r7, #12] + 8017a48: 693b ldr r3, [r7, #16] + 8017a4a: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 8017a4e: 7fbb ldrb r3, [r7, #30] + 8017a50: 4a29 ldr r2, [pc, #164] ; (8017af8 ) + 8017a52: 5cd3 ldrb r3, [r2, r3] + 8017a54: 461a mov r2, r3 + 8017a56: f000 f93f bl 8017cd8 + 8017a5a: 4603 mov r3, r0 + 8017a5c: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 8017ece: 7fbb ldrb r3, [r7, #30] - 8017ed0: 3301 adds r3, #1 - 8017ed2: 77bb strb r3, [r7, #30] - 8017ed4: 7fbb ldrb r3, [r7, #30] - 8017ed6: 2b02 cmp r3, #2 - 8017ed8: d9ed bls.n 8017eb6 + 8017a5e: 7fbb ldrb r3, [r7, #30] + 8017a60: 3301 adds r3, #1 + 8017a62: 77bb strb r3, [r7, #30] + 8017a64: 7fbb ldrb r3, [r7, #30] + 8017a66: 2b02 cmp r3, #2 + 8017a68: d9ed bls.n 8017a46 #if LWIP_NETIF_HOSTNAME options_out_len = dhcp_option_hostname(options_out_len, msg_out->options, netif); #endif /* LWIP_NETIF_HOSTNAME */ LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, DHCP_STATE_REBOOTING, msg_out, DHCP_REQUEST, &options_out_len); dhcp_option_trailer(options_out_len, msg_out->options, p_out); - 8017eda: 89b8 ldrh r0, [r7, #12] - 8017edc: 693b ldr r3, [r7, #16] - 8017ede: 33f0 adds r3, #240 ; 0xf0 - 8017ee0: 697a ldr r2, [r7, #20] - 8017ee2: 4619 mov r1, r3 - 8017ee4: f000 fe42 bl 8018b6c + 8017a6a: 89b8 ldrh r0, [r7, #12] + 8017a6c: 693b ldr r3, [r7, #16] + 8017a6e: 33f0 adds r3, #240 ; 0xf0 + 8017a70: 697a ldr r2, [r7, #20] + 8017a72: 4619 mov r1, r3 + 8017a74: f000 fe42 bl 80186fc /* broadcast to server */ result = udp_sendto_if(dhcp_pcb, p_out, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER, netif); - 8017ee8: 4b20 ldr r3, [pc, #128] ; (8017f6c ) - 8017eea: 6818 ldr r0, [r3, #0] - 8017eec: 687b ldr r3, [r7, #4] - 8017eee: 9300 str r3, [sp, #0] - 8017ef0: 2343 movs r3, #67 ; 0x43 - 8017ef2: 4a1f ldr r2, [pc, #124] ; (8017f70 ) - 8017ef4: 6979 ldr r1, [r7, #20] - 8017ef6: f7fe fcef bl 80168d8 - 8017efa: 4603 mov r3, r0 - 8017efc: 77fb strb r3, [r7, #31] + 8017a78: 4b20 ldr r3, [pc, #128] ; (8017afc ) + 8017a7a: 6818 ldr r0, [r3, #0] + 8017a7c: 687b ldr r3, [r7, #4] + 8017a7e: 9300 str r3, [sp, #0] + 8017a80: 2343 movs r3, #67 ; 0x43 + 8017a82: 4a1f ldr r2, [pc, #124] ; (8017b00 ) + 8017a84: 6979 ldr r1, [r7, #20] + 8017a86: f7fe fcef bl 8016468 + 8017a8a: 4603 mov r3, r0 + 8017a8c: 77fb strb r3, [r7, #31] pbuf_free(p_out); - 8017efe: 6978 ldr r0, [r7, #20] - 8017f00: f7f8 fdaa bl 8010a58 - 8017f04: e001 b.n 8017f0a + 8017a8e: 6978 ldr r0, [r7, #20] + 8017a90: f7f8 fdaa bl 80105e8 + 8017a94: e001 b.n 8017a9a LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_reboot: REBOOTING\n")); } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_reboot: could not allocate DHCP request\n")); result = ERR_MEM; - 8017f06: 23ff movs r3, #255 ; 0xff - 8017f08: 77fb strb r3, [r7, #31] + 8017a96: 23ff movs r3, #255 ; 0xff + 8017a98: 77fb strb r3, [r7, #31] } if (dhcp->tries < 255) { - 8017f0a: 69bb ldr r3, [r7, #24] - 8017f0c: 799b ldrb r3, [r3, #6] - 8017f0e: 2bff cmp r3, #255 ; 0xff - 8017f10: d005 beq.n 8017f1e + 8017a9a: 69bb ldr r3, [r7, #24] + 8017a9c: 799b ldrb r3, [r3, #6] + 8017a9e: 2bff cmp r3, #255 ; 0xff + 8017aa0: d005 beq.n 8017aae dhcp->tries++; - 8017f12: 69bb ldr r3, [r7, #24] - 8017f14: 799b ldrb r3, [r3, #6] - 8017f16: 3301 adds r3, #1 - 8017f18: b2da uxtb r2, r3 - 8017f1a: 69bb ldr r3, [r7, #24] - 8017f1c: 719a strb r2, [r3, #6] + 8017aa2: 69bb ldr r3, [r7, #24] + 8017aa4: 799b ldrb r3, [r3, #6] + 8017aa6: 3301 adds r3, #1 + 8017aa8: b2da uxtb r2, r3 + 8017aaa: 69bb ldr r3, [r7, #24] + 8017aac: 719a strb r2, [r3, #6] } msecs = (u16_t)(dhcp->tries < 10 ? dhcp->tries * 1000 : 10 * 1000); - 8017f1e: 69bb ldr r3, [r7, #24] - 8017f20: 799b ldrb r3, [r3, #6] - 8017f22: 2b09 cmp r3, #9 - 8017f24: d80a bhi.n 8017f3c - 8017f26: 69bb ldr r3, [r7, #24] - 8017f28: 799b ldrb r3, [r3, #6] - 8017f2a: b29b uxth r3, r3 - 8017f2c: 461a mov r2, r3 - 8017f2e: 0152 lsls r2, r2, #5 - 8017f30: 1ad2 subs r2, r2, r3 - 8017f32: 0092 lsls r2, r2, #2 - 8017f34: 4413 add r3, r2 - 8017f36: 00db lsls r3, r3, #3 - 8017f38: b29b uxth r3, r3 - 8017f3a: e001 b.n 8017f40 - 8017f3c: f242 7310 movw r3, #10000 ; 0x2710 - 8017f40: 81fb strh r3, [r7, #14] + 8017aae: 69bb ldr r3, [r7, #24] + 8017ab0: 799b ldrb r3, [r3, #6] + 8017ab2: 2b09 cmp r3, #9 + 8017ab4: d80a bhi.n 8017acc + 8017ab6: 69bb ldr r3, [r7, #24] + 8017ab8: 799b ldrb r3, [r3, #6] + 8017aba: b29b uxth r3, r3 + 8017abc: 461a mov r2, r3 + 8017abe: 0152 lsls r2, r2, #5 + 8017ac0: 1ad2 subs r2, r2, r3 + 8017ac2: 0092 lsls r2, r2, #2 + 8017ac4: 4413 add r3, r2 + 8017ac6: 00db lsls r3, r3, #3 + 8017ac8: b29b uxth r3, r3 + 8017aca: e001 b.n 8017ad0 + 8017acc: f242 7310 movw r3, #10000 ; 0x2710 + 8017ad0: 81fb strh r3, [r7, #14] dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); - 8017f42: 89fb ldrh r3, [r7, #14] - 8017f44: f203 13f3 addw r3, r3, #499 ; 0x1f3 - 8017f48: 4a0a ldr r2, [pc, #40] ; (8017f74 ) - 8017f4a: fb82 1203 smull r1, r2, r2, r3 - 8017f4e: 1152 asrs r2, r2, #5 - 8017f50: 17db asrs r3, r3, #31 - 8017f52: 1ad3 subs r3, r2, r3 - 8017f54: b29a uxth r2, r3 - 8017f56: 69bb ldr r3, [r7, #24] - 8017f58: 811a strh r2, [r3, #8] + 8017ad2: 89fb ldrh r3, [r7, #14] + 8017ad4: f203 13f3 addw r3, r3, #499 ; 0x1f3 + 8017ad8: 4a0a ldr r2, [pc, #40] ; (8017b04 ) + 8017ada: fb82 1203 smull r1, r2, r2, r3 + 8017ade: 1152 asrs r2, r2, #5 + 8017ae0: 17db asrs r3, r3, #31 + 8017ae2: 1ad3 subs r3, r2, r3 + 8017ae4: b29a uxth r2, r3 + 8017ae6: 69bb ldr r3, [r7, #24] + 8017ae8: 811a strh r2, [r3, #8] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_reboot(): set request timeout %"U16_F" msecs\n", msecs)); return result; - 8017f5a: f997 301f ldrsb.w r3, [r7, #31] + 8017aea: f997 301f ldrsb.w r3, [r7, #31] } - 8017f5e: 4618 mov r0, r3 - 8017f60: 3720 adds r7, #32 - 8017f62: 46bd mov sp, r7 - 8017f64: bdb0 pop {r4, r5, r7, pc} - 8017f66: bf00 nop - 8017f68: 20000080 .word 0x20000080 - 8017f6c: 2000876c .word 0x2000876c - 8017f70: 08021670 .word 0x08021670 - 8017f74: 10624dd3 .word 0x10624dd3 + 8017aee: 4618 mov r0, r3 + 8017af0: 3720 adds r7, #32 + 8017af2: 46bd mov sp, r7 + 8017af4: bdb0 pop {r4, r5, r7, pc} + 8017af6: bf00 nop + 8017af8: 20000080 .word 0x20000080 + 8017afc: 2000876c .word 0x2000876c + 8017b00: 08020e6c .word 0x08020e6c + 8017b04: 10624dd3 .word 0x10624dd3 -08017f78 : +08017b08 : * * @param netif network interface */ void dhcp_release_and_stop(struct netif *netif) { - 8017f78: b5b0 push {r4, r5, r7, lr} - 8017f7a: b08a sub sp, #40 ; 0x28 - 8017f7c: af02 add r7, sp, #8 - 8017f7e: 6078 str r0, [r7, #4] + 8017b08: b5b0 push {r4, r5, r7, lr} + 8017b0a: b08a sub sp, #40 ; 0x28 + 8017b0c: af02 add r7, sp, #8 + 8017b0e: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 8017f80: 687b ldr r3, [r7, #4] - 8017f82: 6a5b ldr r3, [r3, #36] ; 0x24 - 8017f84: 61fb str r3, [r7, #28] + 8017b10: 687b ldr r3, [r7, #4] + 8017b12: 6a5b ldr r3, [r3, #36] ; 0x24 + 8017b14: 61fb str r3, [r7, #28] ip_addr_t server_ip_addr; LWIP_ASSERT_CORE_LOCKED(); LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_release_and_stop()\n")); if (dhcp == NULL) { - 8017f86: 69fb ldr r3, [r7, #28] - 8017f88: 2b00 cmp r3, #0 - 8017f8a: f000 8084 beq.w 8018096 + 8017b16: 69fb ldr r3, [r7, #28] + 8017b18: 2b00 cmp r3, #0 + 8017b1a: f000 8084 beq.w 8017c26 return; } /* already off? -> nothing to do */ if (dhcp->state == DHCP_STATE_OFF) { - 8017f8e: 69fb ldr r3, [r7, #28] - 8017f90: 795b ldrb r3, [r3, #5] - 8017f92: 2b00 cmp r3, #0 - 8017f94: f000 8081 beq.w 801809a + 8017b1e: 69fb ldr r3, [r7, #28] + 8017b20: 795b ldrb r3, [r3, #5] + 8017b22: 2b00 cmp r3, #0 + 8017b24: f000 8081 beq.w 8017c2a return; } ip_addr_copy(server_ip_addr, dhcp->server_ip_addr); - 8017f98: 69fb ldr r3, [r7, #28] - 8017f9a: 699b ldr r3, [r3, #24] - 8017f9c: 613b str r3, [r7, #16] + 8017b28: 69fb ldr r3, [r7, #28] + 8017b2a: 699b ldr r3, [r3, #24] + 8017b2c: 613b str r3, [r7, #16] /* clean old DHCP offer */ ip_addr_set_zero_ip4(&dhcp->server_ip_addr); - 8017f9e: 69fb ldr r3, [r7, #28] - 8017fa0: 2200 movs r2, #0 - 8017fa2: 619a str r2, [r3, #24] + 8017b2e: 69fb ldr r3, [r7, #28] + 8017b30: 2200 movs r2, #0 + 8017b32: 619a str r2, [r3, #24] ip4_addr_set_zero(&dhcp->offered_ip_addr); - 8017fa4: 69fb ldr r3, [r7, #28] - 8017fa6: 2200 movs r2, #0 - 8017fa8: 61da str r2, [r3, #28] + 8017b34: 69fb ldr r3, [r7, #28] + 8017b36: 2200 movs r2, #0 + 8017b38: 61da str r2, [r3, #28] ip4_addr_set_zero(&dhcp->offered_sn_mask); - 8017faa: 69fb ldr r3, [r7, #28] - 8017fac: 2200 movs r2, #0 - 8017fae: 621a str r2, [r3, #32] + 8017b3a: 69fb ldr r3, [r7, #28] + 8017b3c: 2200 movs r2, #0 + 8017b3e: 621a str r2, [r3, #32] ip4_addr_set_zero(&dhcp->offered_gw_addr); - 8017fb0: 69fb ldr r3, [r7, #28] - 8017fb2: 2200 movs r2, #0 - 8017fb4: 625a str r2, [r3, #36] ; 0x24 + 8017b40: 69fb ldr r3, [r7, #28] + 8017b42: 2200 movs r2, #0 + 8017b44: 625a str r2, [r3, #36] ; 0x24 #if LWIP_DHCP_BOOTP_FILE ip4_addr_set_zero(&dhcp->offered_si_addr); #endif /* LWIP_DHCP_BOOTP_FILE */ dhcp->offered_t0_lease = dhcp->offered_t1_renew = dhcp->offered_t2_rebind = 0; - 8017fb6: 69fb ldr r3, [r7, #28] - 8017fb8: 2200 movs r2, #0 - 8017fba: 631a str r2, [r3, #48] ; 0x30 - 8017fbc: 69fb ldr r3, [r7, #28] - 8017fbe: 6b1a ldr r2, [r3, #48] ; 0x30 - 8017fc0: 69fb ldr r3, [r7, #28] - 8017fc2: 62da str r2, [r3, #44] ; 0x2c - 8017fc4: 69fb ldr r3, [r7, #28] - 8017fc6: 6ada ldr r2, [r3, #44] ; 0x2c - 8017fc8: 69fb ldr r3, [r7, #28] - 8017fca: 629a str r2, [r3, #40] ; 0x28 + 8017b46: 69fb ldr r3, [r7, #28] + 8017b48: 2200 movs r2, #0 + 8017b4a: 631a str r2, [r3, #48] ; 0x30 + 8017b4c: 69fb ldr r3, [r7, #28] + 8017b4e: 6b1a ldr r2, [r3, #48] ; 0x30 + 8017b50: 69fb ldr r3, [r7, #28] + 8017b52: 62da str r2, [r3, #44] ; 0x2c + 8017b54: 69fb ldr r3, [r7, #28] + 8017b56: 6ada ldr r2, [r3, #44] ; 0x2c + 8017b58: 69fb ldr r3, [r7, #28] + 8017b5a: 629a str r2, [r3, #40] ; 0x28 dhcp->t1_renew_time = dhcp->t2_rebind_time = dhcp->lease_used = dhcp->t0_timeout = 0; - 8017fcc: 69fb ldr r3, [r7, #28] - 8017fce: 2200 movs r2, #0 - 8017fd0: 829a strh r2, [r3, #20] - 8017fd2: 69fb ldr r3, [r7, #28] - 8017fd4: 8a9a ldrh r2, [r3, #20] - 8017fd6: 69fb ldr r3, [r7, #28] - 8017fd8: 825a strh r2, [r3, #18] - 8017fda: 69fb ldr r3, [r7, #28] - 8017fdc: 8a5a ldrh r2, [r3, #18] - 8017fde: 69fb ldr r3, [r7, #28] - 8017fe0: 821a strh r2, [r3, #16] - 8017fe2: 69fb ldr r3, [r7, #28] - 8017fe4: 8a1a ldrh r2, [r3, #16] - 8017fe6: 69fb ldr r3, [r7, #28] - 8017fe8: 81da strh r2, [r3, #14] + 8017b5c: 69fb ldr r3, [r7, #28] + 8017b5e: 2200 movs r2, #0 + 8017b60: 829a strh r2, [r3, #20] + 8017b62: 69fb ldr r3, [r7, #28] + 8017b64: 8a9a ldrh r2, [r3, #20] + 8017b66: 69fb ldr r3, [r7, #28] + 8017b68: 825a strh r2, [r3, #18] + 8017b6a: 69fb ldr r3, [r7, #28] + 8017b6c: 8a5a ldrh r2, [r3, #18] + 8017b6e: 69fb ldr r3, [r7, #28] + 8017b70: 821a strh r2, [r3, #16] + 8017b72: 69fb ldr r3, [r7, #28] + 8017b74: 8a1a ldrh r2, [r3, #16] + 8017b76: 69fb ldr r3, [r7, #28] + 8017b78: 81da strh r2, [r3, #14] /* send release message when current IP was assigned via DHCP */ if (dhcp_supplied_address(netif)) { - 8017fea: 6878 ldr r0, [r7, #4] - 8017fec: f000 fdec bl 8018bc8 - 8017ff0: 4603 mov r3, r0 - 8017ff2: 2b00 cmp r3, #0 - 8017ff4: d03b beq.n 801806e + 8017b7a: 6878 ldr r0, [r7, #4] + 8017b7c: f000 fdec bl 8018758 + 8017b80: 4603 mov r3, r0 + 8017b82: 2b00 cmp r3, #0 + 8017b84: d03b beq.n 8017bfe /* create and initialize the DHCP message header */ struct pbuf *p_out; u16_t options_out_len; p_out = dhcp_create_msg(netif, dhcp, DHCP_RELEASE, &options_out_len); - 8017ff6: f107 030e add.w r3, r7, #14 - 8017ffa: 2207 movs r2, #7 - 8017ffc: 69f9 ldr r1, [r7, #28] - 8017ffe: 6878 ldr r0, [r7, #4] - 8018000: f000 fcde bl 80189c0 - 8018004: 61b8 str r0, [r7, #24] + 8017b86: f107 030e add.w r3, r7, #14 + 8017b8a: 2207 movs r2, #7 + 8017b8c: 69f9 ldr r1, [r7, #28] + 8017b8e: 6878 ldr r0, [r7, #4] + 8017b90: f000 fcde bl 8018550 + 8017b94: 61b8 str r0, [r7, #24] if (p_out != NULL) { - 8018006: 69bb ldr r3, [r7, #24] - 8018008: 2b00 cmp r3, #0 - 801800a: d030 beq.n 801806e + 8017b96: 69bb ldr r3, [r7, #24] + 8017b98: 2b00 cmp r3, #0 + 8017b9a: d030 beq.n 8017bfe struct dhcp_msg *msg_out = (struct dhcp_msg *)p_out->payload; - 801800c: 69bb ldr r3, [r7, #24] - 801800e: 685b ldr r3, [r3, #4] - 8018010: 617b str r3, [r7, #20] + 8017b9c: 69bb ldr r3, [r7, #24] + 8017b9e: 685b ldr r3, [r3, #4] + 8017ba0: 617b str r3, [r7, #20] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_SERVER_ID, 4); - 8018012: 89f8 ldrh r0, [r7, #14] - 8018014: 697b ldr r3, [r7, #20] - 8018016: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 801801a: 2304 movs r3, #4 - 801801c: 2236 movs r2, #54 ; 0x36 - 801801e: f000 f85f bl 80180e0 - 8018022: 4603 mov r3, r0 - 8018024: 81fb strh r3, [r7, #14] + 8017ba2: 89f8 ldrh r0, [r7, #14] + 8017ba4: 697b ldr r3, [r7, #20] + 8017ba6: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 8017baa: 2304 movs r3, #4 + 8017bac: 2236 movs r2, #54 ; 0x36 + 8017bae: f000 f85f bl 8017c70 + 8017bb2: 4603 mov r3, r0 + 8017bb4: 81fb strh r3, [r7, #14] options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(ip_2_ip4(&server_ip_addr)))); - 8018026: 89fc ldrh r4, [r7, #14] - 8018028: 697b ldr r3, [r7, #20] - 801802a: f103 05f0 add.w r5, r3, #240 ; 0xf0 - 801802e: 693b ldr r3, [r7, #16] - 8018030: 4618 mov r0, r3 - 8018032: f7f7 f972 bl 800f31a - 8018036: 4603 mov r3, r0 - 8018038: 461a mov r2, r3 - 801803a: 4629 mov r1, r5 - 801803c: 4620 mov r0, r4 - 801803e: f000 f8db bl 80181f8 - 8018042: 4603 mov r3, r0 - 8018044: 81fb strh r3, [r7, #14] + 8017bb6: 89fc ldrh r4, [r7, #14] + 8017bb8: 697b ldr r3, [r7, #20] + 8017bba: f103 05f0 add.w r5, r3, #240 ; 0xf0 + 8017bbe: 693b ldr r3, [r7, #16] + 8017bc0: 4618 mov r0, r3 + 8017bc2: f7f7 f972 bl 800eeaa + 8017bc6: 4603 mov r3, r0 + 8017bc8: 461a mov r2, r3 + 8017bca: 4629 mov r1, r5 + 8017bcc: 4620 mov r0, r4 + 8017bce: f000 f8db bl 8017d88 + 8017bd2: 4603 mov r3, r0 + 8017bd4: 81fb strh r3, [r7, #14] LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, dhcp->state, msg_out, DHCP_RELEASE, &options_out_len); dhcp_option_trailer(options_out_len, msg_out->options, p_out); - 8018046: 89f8 ldrh r0, [r7, #14] - 8018048: 697b ldr r3, [r7, #20] - 801804a: 33f0 adds r3, #240 ; 0xf0 - 801804c: 69ba ldr r2, [r7, #24] - 801804e: 4619 mov r1, r3 - 8018050: f000 fd8c bl 8018b6c + 8017bd6: 89f8 ldrh r0, [r7, #14] + 8017bd8: 697b ldr r3, [r7, #20] + 8017bda: 33f0 adds r3, #240 ; 0xf0 + 8017bdc: 69ba ldr r2, [r7, #24] + 8017bde: 4619 mov r1, r3 + 8017be0: f000 fd8c bl 80186fc udp_sendto_if(dhcp_pcb, p_out, &server_ip_addr, LWIP_IANA_PORT_DHCP_SERVER, netif); - 8018054: 4b13 ldr r3, [pc, #76] ; (80180a4 ) - 8018056: 6818 ldr r0, [r3, #0] - 8018058: f107 0210 add.w r2, r7, #16 - 801805c: 687b ldr r3, [r7, #4] - 801805e: 9300 str r3, [sp, #0] - 8018060: 2343 movs r3, #67 ; 0x43 - 8018062: 69b9 ldr r1, [r7, #24] - 8018064: f7fe fc38 bl 80168d8 + 8017be4: 4b13 ldr r3, [pc, #76] ; (8017c34 ) + 8017be6: 6818 ldr r0, [r3, #0] + 8017be8: f107 0210 add.w r2, r7, #16 + 8017bec: 687b ldr r3, [r7, #4] + 8017bee: 9300 str r3, [sp, #0] + 8017bf0: 2343 movs r3, #67 ; 0x43 + 8017bf2: 69b9 ldr r1, [r7, #24] + 8017bf4: f7fe fc38 bl 8016468 pbuf_free(p_out); - 8018068: 69b8 ldr r0, [r7, #24] - 801806a: f7f8 fcf5 bl 8010a58 + 8017bf8: 69b8 ldr r0, [r7, #24] + 8017bfa: f7f8 fcf5 bl 80105e8 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_release: could not allocate DHCP request\n")); } } /* remove IP address from interface (prevents routing from selecting this interface) */ netif_set_addr(netif, IP4_ADDR_ANY4, IP4_ADDR_ANY4, IP4_ADDR_ANY4); - 801806e: 4b0e ldr r3, [pc, #56] ; (80180a8 ) - 8018070: 4a0d ldr r2, [pc, #52] ; (80180a8 ) - 8018072: 490d ldr r1, [pc, #52] ; (80180a8 ) - 8018074: 6878 ldr r0, [r7, #4] - 8018076: f7f7 ffe5 bl 8010044 + 8017bfe: 4b0e ldr r3, [pc, #56] ; (8017c38 ) + 8017c00: 4a0d ldr r2, [pc, #52] ; (8017c38 ) + 8017c02: 490d ldr r1, [pc, #52] ; (8017c38 ) + 8017c04: 6878 ldr r0, [r7, #4] + 8017c06: f7f7 ffe5 bl 800fbd4 autoip_stop(netif); dhcp->autoip_coop_state = DHCP_AUTOIP_COOP_STATE_OFF; } #endif /* LWIP_DHCP_AUTOIP_COOP */ dhcp_set_state(dhcp, DHCP_STATE_OFF); - 801807a: 2100 movs r1, #0 - 801807c: 69f8 ldr r0, [r7, #28] - 801807e: f000 f815 bl 80180ac + 8017c0a: 2100 movs r1, #0 + 8017c0c: 69f8 ldr r0, [r7, #28] + 8017c0e: f000 f815 bl 8017c3c if (dhcp->pcb_allocated != 0) { - 8018082: 69fb ldr r3, [r7, #28] - 8018084: 791b ldrb r3, [r3, #4] - 8018086: 2b00 cmp r3, #0 - 8018088: d008 beq.n 801809c + 8017c12: 69fb ldr r3, [r7, #28] + 8017c14: 791b ldrb r3, [r3, #4] + 8017c16: 2b00 cmp r3, #0 + 8017c18: d008 beq.n 8017c2c dhcp_dec_pcb_refcount(); /* free DHCP PCB if not needed any more */ - 801808a: f7fe ff71 bl 8016f70 + 8017c1a: f7fe ff71 bl 8016b00 dhcp->pcb_allocated = 0; - 801808e: 69fb ldr r3, [r7, #28] - 8018090: 2200 movs r2, #0 - 8018092: 711a strb r2, [r3, #4] - 8018094: e002 b.n 801809c + 8017c1e: 69fb ldr r3, [r7, #28] + 8017c20: 2200 movs r2, #0 + 8017c22: 711a strb r2, [r3, #4] + 8017c24: e002 b.n 8017c2c return; - 8018096: bf00 nop - 8018098: e000 b.n 801809c + 8017c26: bf00 nop + 8017c28: e000 b.n 8017c2c return; - 801809a: bf00 nop + 8017c2a: bf00 nop } } - 801809c: 3720 adds r7, #32 - 801809e: 46bd mov sp, r7 - 80180a0: bdb0 pop {r4, r5, r7, pc} - 80180a2: bf00 nop - 80180a4: 2000876c .word 0x2000876c - 80180a8: 0802166c .word 0x0802166c + 8017c2c: 3720 adds r7, #32 + 8017c2e: 46bd mov sp, r7 + 8017c30: bdb0 pop {r4, r5, r7, pc} + 8017c32: bf00 nop + 8017c34: 2000876c .word 0x2000876c + 8017c38: 08020e68 .word 0x08020e68 -080180ac : +08017c3c : * * If the state changed, reset the number of tries. */ static void dhcp_set_state(struct dhcp *dhcp, u8_t new_state) { - 80180ac: b480 push {r7} - 80180ae: b083 sub sp, #12 - 80180b0: af00 add r7, sp, #0 - 80180b2: 6078 str r0, [r7, #4] - 80180b4: 460b mov r3, r1 - 80180b6: 70fb strb r3, [r7, #3] + 8017c3c: b480 push {r7} + 8017c3e: b083 sub sp, #12 + 8017c40: af00 add r7, sp, #0 + 8017c42: 6078 str r0, [r7, #4] + 8017c44: 460b mov r3, r1 + 8017c46: 70fb strb r3, [r7, #3] if (new_state != dhcp->state) { - 80180b8: 687b ldr r3, [r7, #4] - 80180ba: 795b ldrb r3, [r3, #5] - 80180bc: 78fa ldrb r2, [r7, #3] - 80180be: 429a cmp r2, r3 - 80180c0: d008 beq.n 80180d4 + 8017c48: 687b ldr r3, [r7, #4] + 8017c4a: 795b ldrb r3, [r3, #5] + 8017c4c: 78fa ldrb r2, [r7, #3] + 8017c4e: 429a cmp r2, r3 + 8017c50: d008 beq.n 8017c64 dhcp->state = new_state; - 80180c2: 687b ldr r3, [r7, #4] - 80180c4: 78fa ldrb r2, [r7, #3] - 80180c6: 715a strb r2, [r3, #5] + 8017c52: 687b ldr r3, [r7, #4] + 8017c54: 78fa ldrb r2, [r7, #3] + 8017c56: 715a strb r2, [r3, #5] dhcp->tries = 0; - 80180c8: 687b ldr r3, [r7, #4] - 80180ca: 2200 movs r2, #0 - 80180cc: 719a strb r2, [r3, #6] + 8017c58: 687b ldr r3, [r7, #4] + 8017c5a: 2200 movs r2, #0 + 8017c5c: 719a strb r2, [r3, #6] dhcp->request_timeout = 0; - 80180ce: 687b ldr r3, [r7, #4] - 80180d0: 2200 movs r2, #0 - 80180d2: 811a strh r2, [r3, #8] + 8017c5e: 687b ldr r3, [r7, #4] + 8017c60: 2200 movs r2, #0 + 8017c62: 811a strh r2, [r3, #8] } } - 80180d4: bf00 nop - 80180d6: 370c adds r7, #12 - 80180d8: 46bd mov sp, r7 - 80180da: f85d 7b04 ldr.w r7, [sp], #4 - 80180de: 4770 bx lr + 8017c64: bf00 nop + 8017c66: 370c adds r7, #12 + 8017c68: 46bd mov sp, r7 + 8017c6a: f85d 7b04 ldr.w r7, [sp], #4 + 8017c6e: 4770 bx lr -080180e0 : +08017c70 : * DHCP message. * */ static u16_t dhcp_option(u16_t options_out_len, u8_t *options, u8_t option_type, u8_t option_len) { - 80180e0: b580 push {r7, lr} - 80180e2: b082 sub sp, #8 - 80180e4: af00 add r7, sp, #0 - 80180e6: 6039 str r1, [r7, #0] - 80180e8: 4611 mov r1, r2 - 80180ea: 461a mov r2, r3 - 80180ec: 4603 mov r3, r0 - 80180ee: 80fb strh r3, [r7, #6] - 80180f0: 460b mov r3, r1 - 80180f2: 717b strb r3, [r7, #5] - 80180f4: 4613 mov r3, r2 - 80180f6: 713b strb r3, [r7, #4] + 8017c70: b580 push {r7, lr} + 8017c72: b082 sub sp, #8 + 8017c74: af00 add r7, sp, #0 + 8017c76: 6039 str r1, [r7, #0] + 8017c78: 4611 mov r1, r2 + 8017c7a: 461a mov r2, r3 + 8017c7c: 4603 mov r3, r0 + 8017c7e: 80fb strh r3, [r7, #6] + 8017c80: 460b mov r3, r1 + 8017c82: 717b strb r3, [r7, #5] + 8017c84: 4613 mov r3, r2 + 8017c86: 713b strb r3, [r7, #4] LWIP_ASSERT("dhcp_option: options_out_len + 2 + option_len <= DHCP_OPTIONS_LEN", options_out_len + 2U + option_len <= DHCP_OPTIONS_LEN); - 80180f8: 88fa ldrh r2, [r7, #6] - 80180fa: 793b ldrb r3, [r7, #4] - 80180fc: 4413 add r3, r2 - 80180fe: 3302 adds r3, #2 - 8018100: 2b44 cmp r3, #68 ; 0x44 - 8018102: d906 bls.n 8018112 - 8018104: 4b0d ldr r3, [pc, #52] ; (801813c ) - 8018106: f240 529a movw r2, #1434 ; 0x59a - 801810a: 490d ldr r1, [pc, #52] ; (8018140 ) - 801810c: 480d ldr r0, [pc, #52] ; (8018144 ) - 801810e: f003 f9d3 bl 801b4b8 + 8017c88: 88fa ldrh r2, [r7, #6] + 8017c8a: 793b ldrb r3, [r7, #4] + 8017c8c: 4413 add r3, r2 + 8017c8e: 3302 adds r3, #2 + 8017c90: 2b44 cmp r3, #68 ; 0x44 + 8017c92: d906 bls.n 8017ca2 + 8017c94: 4b0d ldr r3, [pc, #52] ; (8017ccc ) + 8017c96: f240 529a movw r2, #1434 ; 0x59a + 8017c9a: 490d ldr r1, [pc, #52] ; (8017cd0 ) + 8017c9c: 480d ldr r0, [pc, #52] ; (8017cd4 ) + 8017c9e: f003 f9b9 bl 801b014 options[options_out_len++] = option_type; - 8018112: 88fb ldrh r3, [r7, #6] - 8018114: 1c5a adds r2, r3, #1 - 8018116: 80fa strh r2, [r7, #6] - 8018118: 461a mov r2, r3 - 801811a: 683b ldr r3, [r7, #0] - 801811c: 4413 add r3, r2 - 801811e: 797a ldrb r2, [r7, #5] - 8018120: 701a strb r2, [r3, #0] + 8017ca2: 88fb ldrh r3, [r7, #6] + 8017ca4: 1c5a adds r2, r3, #1 + 8017ca6: 80fa strh r2, [r7, #6] + 8017ca8: 461a mov r2, r3 + 8017caa: 683b ldr r3, [r7, #0] + 8017cac: 4413 add r3, r2 + 8017cae: 797a ldrb r2, [r7, #5] + 8017cb0: 701a strb r2, [r3, #0] options[options_out_len++] = option_len; - 8018122: 88fb ldrh r3, [r7, #6] - 8018124: 1c5a adds r2, r3, #1 - 8018126: 80fa strh r2, [r7, #6] - 8018128: 461a mov r2, r3 - 801812a: 683b ldr r3, [r7, #0] - 801812c: 4413 add r3, r2 - 801812e: 793a ldrb r2, [r7, #4] - 8018130: 701a strb r2, [r3, #0] + 8017cb2: 88fb ldrh r3, [r7, #6] + 8017cb4: 1c5a adds r2, r3, #1 + 8017cb6: 80fa strh r2, [r7, #6] + 8017cb8: 461a mov r2, r3 + 8017cba: 683b ldr r3, [r7, #0] + 8017cbc: 4413 add r3, r2 + 8017cbe: 793a ldrb r2, [r7, #4] + 8017cc0: 701a strb r2, [r3, #0] return options_out_len; - 8018132: 88fb ldrh r3, [r7, #6] + 8017cc2: 88fb ldrh r3, [r7, #6] } - 8018134: 4618 mov r0, r3 - 8018136: 3708 adds r7, #8 - 8018138: 46bd mov sp, r7 - 801813a: bd80 pop {r7, pc} - 801813c: 0801eb9c .word 0x0801eb9c - 8018140: 0801ed30 .word 0x0801ed30 - 8018144: 0801ebfc .word 0x0801ebfc + 8017cc4: 4618 mov r0, r3 + 8017cc6: 3708 adds r7, #8 + 8017cc8: 46bd mov sp, r7 + 8017cca: bd80 pop {r7, pc} + 8017ccc: 0801e398 .word 0x0801e398 + 8017cd0: 0801e52c .word 0x0801e52c + 8017cd4: 0801e3f8 .word 0x0801e3f8 -08018148 : +08017cd8 : * Concatenate a single byte to the outgoing DHCP message. * */ static u16_t dhcp_option_byte(u16_t options_out_len, u8_t *options, u8_t value) { - 8018148: b580 push {r7, lr} - 801814a: b082 sub sp, #8 - 801814c: af00 add r7, sp, #0 - 801814e: 4603 mov r3, r0 - 8018150: 6039 str r1, [r7, #0] - 8018152: 80fb strh r3, [r7, #6] - 8018154: 4613 mov r3, r2 - 8018156: 717b strb r3, [r7, #5] + 8017cd8: b580 push {r7, lr} + 8017cda: b082 sub sp, #8 + 8017cdc: af00 add r7, sp, #0 + 8017cde: 4603 mov r3, r0 + 8017ce0: 6039 str r1, [r7, #0] + 8017ce2: 80fb strh r3, [r7, #6] + 8017ce4: 4613 mov r3, r2 + 8017ce6: 717b strb r3, [r7, #5] LWIP_ASSERT("dhcp_option_byte: options_out_len < DHCP_OPTIONS_LEN", options_out_len < DHCP_OPTIONS_LEN); - 8018158: 88fb ldrh r3, [r7, #6] - 801815a: 2b43 cmp r3, #67 ; 0x43 - 801815c: d906 bls.n 801816c - 801815e: 4b0a ldr r3, [pc, #40] ; (8018188 ) - 8018160: f240 52a6 movw r2, #1446 ; 0x5a6 - 8018164: 4909 ldr r1, [pc, #36] ; (801818c ) - 8018166: 480a ldr r0, [pc, #40] ; (8018190 ) - 8018168: f003 f9a6 bl 801b4b8 + 8017ce8: 88fb ldrh r3, [r7, #6] + 8017cea: 2b43 cmp r3, #67 ; 0x43 + 8017cec: d906 bls.n 8017cfc + 8017cee: 4b0a ldr r3, [pc, #40] ; (8017d18 ) + 8017cf0: f240 52a6 movw r2, #1446 ; 0x5a6 + 8017cf4: 4909 ldr r1, [pc, #36] ; (8017d1c ) + 8017cf6: 480a ldr r0, [pc, #40] ; (8017d20 ) + 8017cf8: f003 f98c bl 801b014 options[options_out_len++] = value; - 801816c: 88fb ldrh r3, [r7, #6] - 801816e: 1c5a adds r2, r3, #1 - 8018170: 80fa strh r2, [r7, #6] - 8018172: 461a mov r2, r3 - 8018174: 683b ldr r3, [r7, #0] - 8018176: 4413 add r3, r2 - 8018178: 797a ldrb r2, [r7, #5] - 801817a: 701a strb r2, [r3, #0] + 8017cfc: 88fb ldrh r3, [r7, #6] + 8017cfe: 1c5a adds r2, r3, #1 + 8017d00: 80fa strh r2, [r7, #6] + 8017d02: 461a mov r2, r3 + 8017d04: 683b ldr r3, [r7, #0] + 8017d06: 4413 add r3, r2 + 8017d08: 797a ldrb r2, [r7, #5] + 8017d0a: 701a strb r2, [r3, #0] return options_out_len; - 801817c: 88fb ldrh r3, [r7, #6] + 8017d0c: 88fb ldrh r3, [r7, #6] } - 801817e: 4618 mov r0, r3 - 8018180: 3708 adds r7, #8 - 8018182: 46bd mov sp, r7 - 8018184: bd80 pop {r7, pc} - 8018186: bf00 nop - 8018188: 0801eb9c .word 0x0801eb9c - 801818c: 0801ed74 .word 0x0801ed74 - 8018190: 0801ebfc .word 0x0801ebfc + 8017d0e: 4618 mov r0, r3 + 8017d10: 3708 adds r7, #8 + 8017d12: 46bd mov sp, r7 + 8017d14: bd80 pop {r7, pc} + 8017d16: bf00 nop + 8017d18: 0801e398 .word 0x0801e398 + 8017d1c: 0801e570 .word 0x0801e570 + 8017d20: 0801e3f8 .word 0x0801e3f8 -08018194 : +08017d24 : static u16_t dhcp_option_short(u16_t options_out_len, u8_t *options, u16_t value) { - 8018194: b580 push {r7, lr} - 8018196: b082 sub sp, #8 - 8018198: af00 add r7, sp, #0 - 801819a: 4603 mov r3, r0 - 801819c: 6039 str r1, [r7, #0] - 801819e: 80fb strh r3, [r7, #6] - 80181a0: 4613 mov r3, r2 - 80181a2: 80bb strh r3, [r7, #4] + 8017d24: b580 push {r7, lr} + 8017d26: b082 sub sp, #8 + 8017d28: af00 add r7, sp, #0 + 8017d2a: 4603 mov r3, r0 + 8017d2c: 6039 str r1, [r7, #0] + 8017d2e: 80fb strh r3, [r7, #6] + 8017d30: 4613 mov r3, r2 + 8017d32: 80bb strh r3, [r7, #4] LWIP_ASSERT("dhcp_option_short: options_out_len + 2 <= DHCP_OPTIONS_LEN", options_out_len + 2U <= DHCP_OPTIONS_LEN); - 80181a4: 88fb ldrh r3, [r7, #6] - 80181a6: 3302 adds r3, #2 - 80181a8: 2b44 cmp r3, #68 ; 0x44 - 80181aa: d906 bls.n 80181ba - 80181ac: 4b0f ldr r3, [pc, #60] ; (80181ec ) - 80181ae: f240 52ae movw r2, #1454 ; 0x5ae - 80181b2: 490f ldr r1, [pc, #60] ; (80181f0 ) - 80181b4: 480f ldr r0, [pc, #60] ; (80181f4 ) - 80181b6: f003 f97f bl 801b4b8 + 8017d34: 88fb ldrh r3, [r7, #6] + 8017d36: 3302 adds r3, #2 + 8017d38: 2b44 cmp r3, #68 ; 0x44 + 8017d3a: d906 bls.n 8017d4a + 8017d3c: 4b0f ldr r3, [pc, #60] ; (8017d7c ) + 8017d3e: f240 52ae movw r2, #1454 ; 0x5ae + 8017d42: 490f ldr r1, [pc, #60] ; (8017d80 ) + 8017d44: 480f ldr r0, [pc, #60] ; (8017d84 ) + 8017d46: f003 f965 bl 801b014 options[options_out_len++] = (u8_t)((value & 0xff00U) >> 8); - 80181ba: 88bb ldrh r3, [r7, #4] - 80181bc: 0a1b lsrs r3, r3, #8 - 80181be: b29a uxth r2, r3 - 80181c0: 88fb ldrh r3, [r7, #6] - 80181c2: 1c59 adds r1, r3, #1 - 80181c4: 80f9 strh r1, [r7, #6] - 80181c6: 4619 mov r1, r3 - 80181c8: 683b ldr r3, [r7, #0] - 80181ca: 440b add r3, r1 - 80181cc: b2d2 uxtb r2, r2 - 80181ce: 701a strb r2, [r3, #0] + 8017d4a: 88bb ldrh r3, [r7, #4] + 8017d4c: 0a1b lsrs r3, r3, #8 + 8017d4e: b29a uxth r2, r3 + 8017d50: 88fb ldrh r3, [r7, #6] + 8017d52: 1c59 adds r1, r3, #1 + 8017d54: 80f9 strh r1, [r7, #6] + 8017d56: 4619 mov r1, r3 + 8017d58: 683b ldr r3, [r7, #0] + 8017d5a: 440b add r3, r1 + 8017d5c: b2d2 uxtb r2, r2 + 8017d5e: 701a strb r2, [r3, #0] options[options_out_len++] = (u8_t) (value & 0x00ffU); - 80181d0: 88fb ldrh r3, [r7, #6] - 80181d2: 1c5a adds r2, r3, #1 - 80181d4: 80fa strh r2, [r7, #6] - 80181d6: 461a mov r2, r3 - 80181d8: 683b ldr r3, [r7, #0] - 80181da: 4413 add r3, r2 - 80181dc: 88ba ldrh r2, [r7, #4] - 80181de: b2d2 uxtb r2, r2 - 80181e0: 701a strb r2, [r3, #0] + 8017d60: 88fb ldrh r3, [r7, #6] + 8017d62: 1c5a adds r2, r3, #1 + 8017d64: 80fa strh r2, [r7, #6] + 8017d66: 461a mov r2, r3 + 8017d68: 683b ldr r3, [r7, #0] + 8017d6a: 4413 add r3, r2 + 8017d6c: 88ba ldrh r2, [r7, #4] + 8017d6e: b2d2 uxtb r2, r2 + 8017d70: 701a strb r2, [r3, #0] return options_out_len; - 80181e2: 88fb ldrh r3, [r7, #6] + 8017d72: 88fb ldrh r3, [r7, #6] } - 80181e4: 4618 mov r0, r3 - 80181e6: 3708 adds r7, #8 - 80181e8: 46bd mov sp, r7 - 80181ea: bd80 pop {r7, pc} - 80181ec: 0801eb9c .word 0x0801eb9c - 80181f0: 0801edac .word 0x0801edac - 80181f4: 0801ebfc .word 0x0801ebfc + 8017d74: 4618 mov r0, r3 + 8017d76: 3708 adds r7, #8 + 8017d78: 46bd mov sp, r7 + 8017d7a: bd80 pop {r7, pc} + 8017d7c: 0801e398 .word 0x0801e398 + 8017d80: 0801e5a8 .word 0x0801e5a8 + 8017d84: 0801e3f8 .word 0x0801e3f8 -080181f8 : +08017d88 : static u16_t dhcp_option_long(u16_t options_out_len, u8_t *options, u32_t value) { - 80181f8: b580 push {r7, lr} - 80181fa: b084 sub sp, #16 - 80181fc: af00 add r7, sp, #0 - 80181fe: 4603 mov r3, r0 - 8018200: 60b9 str r1, [r7, #8] - 8018202: 607a str r2, [r7, #4] - 8018204: 81fb strh r3, [r7, #14] + 8017d88: b580 push {r7, lr} + 8017d8a: b084 sub sp, #16 + 8017d8c: af00 add r7, sp, #0 + 8017d8e: 4603 mov r3, r0 + 8017d90: 60b9 str r1, [r7, #8] + 8017d92: 607a str r2, [r7, #4] + 8017d94: 81fb strh r3, [r7, #14] LWIP_ASSERT("dhcp_option_long: options_out_len + 4 <= DHCP_OPTIONS_LEN", options_out_len + 4U <= DHCP_OPTIONS_LEN); - 8018206: 89fb ldrh r3, [r7, #14] - 8018208: 3304 adds r3, #4 - 801820a: 2b44 cmp r3, #68 ; 0x44 - 801820c: d906 bls.n 801821c - 801820e: 4b19 ldr r3, [pc, #100] ; (8018274 ) - 8018210: f240 52b7 movw r2, #1463 ; 0x5b7 - 8018214: 4918 ldr r1, [pc, #96] ; (8018278 ) - 8018216: 4819 ldr r0, [pc, #100] ; (801827c ) - 8018218: f003 f94e bl 801b4b8 + 8017d96: 89fb ldrh r3, [r7, #14] + 8017d98: 3304 adds r3, #4 + 8017d9a: 2b44 cmp r3, #68 ; 0x44 + 8017d9c: d906 bls.n 8017dac + 8017d9e: 4b19 ldr r3, [pc, #100] ; (8017e04 ) + 8017da0: f240 52b7 movw r2, #1463 ; 0x5b7 + 8017da4: 4918 ldr r1, [pc, #96] ; (8017e08 ) + 8017da6: 4819 ldr r0, [pc, #100] ; (8017e0c ) + 8017da8: f003 f934 bl 801b014 options[options_out_len++] = (u8_t)((value & 0xff000000UL) >> 24); - 801821c: 687b ldr r3, [r7, #4] - 801821e: 0e1a lsrs r2, r3, #24 - 8018220: 89fb ldrh r3, [r7, #14] - 8018222: 1c59 adds r1, r3, #1 - 8018224: 81f9 strh r1, [r7, #14] - 8018226: 4619 mov r1, r3 - 8018228: 68bb ldr r3, [r7, #8] - 801822a: 440b add r3, r1 - 801822c: b2d2 uxtb r2, r2 - 801822e: 701a strb r2, [r3, #0] + 8017dac: 687b ldr r3, [r7, #4] + 8017dae: 0e1a lsrs r2, r3, #24 + 8017db0: 89fb ldrh r3, [r7, #14] + 8017db2: 1c59 adds r1, r3, #1 + 8017db4: 81f9 strh r1, [r7, #14] + 8017db6: 4619 mov r1, r3 + 8017db8: 68bb ldr r3, [r7, #8] + 8017dba: 440b add r3, r1 + 8017dbc: b2d2 uxtb r2, r2 + 8017dbe: 701a strb r2, [r3, #0] options[options_out_len++] = (u8_t)((value & 0x00ff0000UL) >> 16); - 8018230: 687b ldr r3, [r7, #4] - 8018232: 0c1a lsrs r2, r3, #16 - 8018234: 89fb ldrh r3, [r7, #14] - 8018236: 1c59 adds r1, r3, #1 - 8018238: 81f9 strh r1, [r7, #14] - 801823a: 4619 mov r1, r3 - 801823c: 68bb ldr r3, [r7, #8] - 801823e: 440b add r3, r1 - 8018240: b2d2 uxtb r2, r2 - 8018242: 701a strb r2, [r3, #0] + 8017dc0: 687b ldr r3, [r7, #4] + 8017dc2: 0c1a lsrs r2, r3, #16 + 8017dc4: 89fb ldrh r3, [r7, #14] + 8017dc6: 1c59 adds r1, r3, #1 + 8017dc8: 81f9 strh r1, [r7, #14] + 8017dca: 4619 mov r1, r3 + 8017dcc: 68bb ldr r3, [r7, #8] + 8017dce: 440b add r3, r1 + 8017dd0: b2d2 uxtb r2, r2 + 8017dd2: 701a strb r2, [r3, #0] options[options_out_len++] = (u8_t)((value & 0x0000ff00UL) >> 8); - 8018244: 687b ldr r3, [r7, #4] - 8018246: 0a1a lsrs r2, r3, #8 - 8018248: 89fb ldrh r3, [r7, #14] - 801824a: 1c59 adds r1, r3, #1 - 801824c: 81f9 strh r1, [r7, #14] - 801824e: 4619 mov r1, r3 - 8018250: 68bb ldr r3, [r7, #8] - 8018252: 440b add r3, r1 - 8018254: b2d2 uxtb r2, r2 - 8018256: 701a strb r2, [r3, #0] + 8017dd4: 687b ldr r3, [r7, #4] + 8017dd6: 0a1a lsrs r2, r3, #8 + 8017dd8: 89fb ldrh r3, [r7, #14] + 8017dda: 1c59 adds r1, r3, #1 + 8017ddc: 81f9 strh r1, [r7, #14] + 8017dde: 4619 mov r1, r3 + 8017de0: 68bb ldr r3, [r7, #8] + 8017de2: 440b add r3, r1 + 8017de4: b2d2 uxtb r2, r2 + 8017de6: 701a strb r2, [r3, #0] options[options_out_len++] = (u8_t)((value & 0x000000ffUL)); - 8018258: 89fb ldrh r3, [r7, #14] - 801825a: 1c5a adds r2, r3, #1 - 801825c: 81fa strh r2, [r7, #14] - 801825e: 461a mov r2, r3 - 8018260: 68bb ldr r3, [r7, #8] - 8018262: 4413 add r3, r2 - 8018264: 687a ldr r2, [r7, #4] - 8018266: b2d2 uxtb r2, r2 - 8018268: 701a strb r2, [r3, #0] + 8017de8: 89fb ldrh r3, [r7, #14] + 8017dea: 1c5a adds r2, r3, #1 + 8017dec: 81fa strh r2, [r7, #14] + 8017dee: 461a mov r2, r3 + 8017df0: 68bb ldr r3, [r7, #8] + 8017df2: 4413 add r3, r2 + 8017df4: 687a ldr r2, [r7, #4] + 8017df6: b2d2 uxtb r2, r2 + 8017df8: 701a strb r2, [r3, #0] return options_out_len; - 801826a: 89fb ldrh r3, [r7, #14] + 8017dfa: 89fb ldrh r3, [r7, #14] } - 801826c: 4618 mov r0, r3 - 801826e: 3710 adds r7, #16 - 8018270: 46bd mov sp, r7 - 8018272: bd80 pop {r7, pc} - 8018274: 0801eb9c .word 0x0801eb9c - 8018278: 0801ede8 .word 0x0801ede8 - 801827c: 0801ebfc .word 0x0801ebfc + 8017dfc: 4618 mov r0, r3 + 8017dfe: 3710 adds r7, #16 + 8017e00: 46bd mov sp, r7 + 8017e02: bd80 pop {r7, pc} + 8017e04: 0801e398 .word 0x0801e398 + 8017e08: 0801e5e4 .word 0x0801e5e4 + 8017e0c: 0801e3f8 .word 0x0801e3f8 -08018280 : +08017e10 : * use that further on. * */ static err_t dhcp_parse_reply(struct pbuf *p, struct dhcp *dhcp) { - 8018280: b580 push {r7, lr} - 8018282: b090 sub sp, #64 ; 0x40 - 8018284: af00 add r7, sp, #0 - 8018286: 6078 str r0, [r7, #4] - 8018288: 6039 str r1, [r7, #0] + 8017e10: b580 push {r7, lr} + 8017e12: b090 sub sp, #64 ; 0x40 + 8017e14: af00 add r7, sp, #0 + 8017e16: 6078 str r0, [r7, #4] + 8017e18: 6039 str r1, [r7, #0] u16_t offset; u16_t offset_max; u16_t options_idx; u16_t options_idx_max; struct pbuf *q; int parse_file_as_options = 0; - 801828a: 2300 movs r3, #0 - 801828c: 62fb str r3, [r7, #44] ; 0x2c + 8017e1a: 2300 movs r3, #0 + 8017e1c: 62fb str r3, [r7, #44] ; 0x2c int parse_sname_as_options = 0; - 801828e: 2300 movs r3, #0 - 8018290: 62bb str r3, [r7, #40] ; 0x28 + 8017e1e: 2300 movs r3, #0 + 8017e20: 62bb str r3, [r7, #40] ; 0x28 #endif LWIP_UNUSED_ARG(dhcp); /* clear received options */ dhcp_clear_all_options(dhcp); - 8018292: 2208 movs r2, #8 - 8018294: 2100 movs r1, #0 - 8018296: 48be ldr r0, [pc, #760] ; (8018590 ) - 8018298: f003 f905 bl 801b4a6 + 8017e22: 2208 movs r2, #8 + 8017e24: 2100 movs r1, #0 + 8017e26: 48be ldr r0, [pc, #760] ; (8018120 ) + 8017e28: f003 f8ec bl 801b004 /* check that beginning of dhcp_msg (up to and including chaddr) is in first pbuf */ if (p->len < DHCP_SNAME_OFS) { - 801829c: 687b ldr r3, [r7, #4] - 801829e: 895b ldrh r3, [r3, #10] - 80182a0: 2b2b cmp r3, #43 ; 0x2b - 80182a2: d802 bhi.n 80182aa + 8017e2c: 687b ldr r3, [r7, #4] + 8017e2e: 895b ldrh r3, [r3, #10] + 8017e30: 2b2b cmp r3, #43 ; 0x2b + 8017e32: d802 bhi.n 8017e3a return ERR_BUF; - 80182a4: f06f 0301 mvn.w r3, #1 - 80182a8: e2a8 b.n 80187fc + 8017e34: f06f 0301 mvn.w r3, #1 + 8017e38: e2a8 b.n 801838c } msg_in = (struct dhcp_msg *)p->payload; - 80182aa: 687b ldr r3, [r7, #4] - 80182ac: 685b ldr r3, [r3, #4] - 80182ae: 61bb str r3, [r7, #24] + 8017e3a: 687b ldr r3, [r7, #4] + 8017e3c: 685b ldr r3, [r3, #4] + 8017e3e: 61bb str r3, [r7, #24] #endif /* LWIP_DHCP_BOOTP_FILE */ /* parse options */ /* start with options field */ options_idx = DHCP_OPTIONS_OFS; - 80182b0: 23f0 movs r3, #240 ; 0xf0 - 80182b2: 86fb strh r3, [r7, #54] ; 0x36 + 8017e40: 23f0 movs r3, #240 ; 0xf0 + 8017e42: 86fb strh r3, [r7, #54] ; 0x36 /* parse options to the end of the received packet */ options_idx_max = p->tot_len; - 80182b4: 687b ldr r3, [r7, #4] - 80182b6: 891b ldrh r3, [r3, #8] - 80182b8: 86bb strh r3, [r7, #52] ; 0x34 + 8017e44: 687b ldr r3, [r7, #4] + 8017e46: 891b ldrh r3, [r3, #8] + 8017e48: 86bb strh r3, [r7, #52] ; 0x34 again: q = p; - 80182ba: 687b ldr r3, [r7, #4] - 80182bc: 633b str r3, [r7, #48] ; 0x30 + 8017e4a: 687b ldr r3, [r7, #4] + 8017e4c: 633b str r3, [r7, #48] ; 0x30 while ((q != NULL) && (options_idx >= q->len)) { - 80182be: e00c b.n 80182da + 8017e4e: e00c b.n 8017e6a options_idx = (u16_t)(options_idx - q->len); - 80182c0: 6b3b ldr r3, [r7, #48] ; 0x30 - 80182c2: 895b ldrh r3, [r3, #10] - 80182c4: 8efa ldrh r2, [r7, #54] ; 0x36 - 80182c6: 1ad3 subs r3, r2, r3 - 80182c8: 86fb strh r3, [r7, #54] ; 0x36 + 8017e50: 6b3b ldr r3, [r7, #48] ; 0x30 + 8017e52: 895b ldrh r3, [r3, #10] + 8017e54: 8efa ldrh r2, [r7, #54] ; 0x36 + 8017e56: 1ad3 subs r3, r2, r3 + 8017e58: 86fb strh r3, [r7, #54] ; 0x36 options_idx_max = (u16_t)(options_idx_max - q->len); - 80182ca: 6b3b ldr r3, [r7, #48] ; 0x30 - 80182cc: 895b ldrh r3, [r3, #10] - 80182ce: 8eba ldrh r2, [r7, #52] ; 0x34 - 80182d0: 1ad3 subs r3, r2, r3 - 80182d2: 86bb strh r3, [r7, #52] ; 0x34 + 8017e5a: 6b3b ldr r3, [r7, #48] ; 0x30 + 8017e5c: 895b ldrh r3, [r3, #10] + 8017e5e: 8eba ldrh r2, [r7, #52] ; 0x34 + 8017e60: 1ad3 subs r3, r2, r3 + 8017e62: 86bb strh r3, [r7, #52] ; 0x34 q = q->next; - 80182d4: 6b3b ldr r3, [r7, #48] ; 0x30 - 80182d6: 681b ldr r3, [r3, #0] - 80182d8: 633b str r3, [r7, #48] ; 0x30 + 8017e64: 6b3b ldr r3, [r7, #48] ; 0x30 + 8017e66: 681b ldr r3, [r3, #0] + 8017e68: 633b str r3, [r7, #48] ; 0x30 while ((q != NULL) && (options_idx >= q->len)) { - 80182da: 6b3b ldr r3, [r7, #48] ; 0x30 - 80182dc: 2b00 cmp r3, #0 - 80182de: d004 beq.n 80182ea - 80182e0: 6b3b ldr r3, [r7, #48] ; 0x30 - 80182e2: 895b ldrh r3, [r3, #10] - 80182e4: 8efa ldrh r2, [r7, #54] ; 0x36 - 80182e6: 429a cmp r2, r3 - 80182e8: d2ea bcs.n 80182c0 + 8017e6a: 6b3b ldr r3, [r7, #48] ; 0x30 + 8017e6c: 2b00 cmp r3, #0 + 8017e6e: d004 beq.n 8017e7a + 8017e70: 6b3b ldr r3, [r7, #48] ; 0x30 + 8017e72: 895b ldrh r3, [r3, #10] + 8017e74: 8efa ldrh r2, [r7, #54] ; 0x36 + 8017e76: 429a cmp r2, r3 + 8017e78: d2ea bcs.n 8017e50 } if (q == NULL) { - 80182ea: 6b3b ldr r3, [r7, #48] ; 0x30 - 80182ec: 2b00 cmp r3, #0 - 80182ee: d102 bne.n 80182f6 + 8017e7a: 6b3b ldr r3, [r7, #48] ; 0x30 + 8017e7c: 2b00 cmp r3, #0 + 8017e7e: d102 bne.n 8017e86 return ERR_BUF; - 80182f0: f06f 0301 mvn.w r3, #1 - 80182f4: e282 b.n 80187fc + 8017e80: f06f 0301 mvn.w r3, #1 + 8017e84: e282 b.n 801838c } offset = options_idx; - 80182f6: 8efb ldrh r3, [r7, #54] ; 0x36 - 80182f8: 877b strh r3, [r7, #58] ; 0x3a + 8017e86: 8efb ldrh r3, [r7, #54] ; 0x36 + 8017e88: 877b strh r3, [r7, #58] ; 0x3a offset_max = options_idx_max; - 80182fa: 8ebb ldrh r3, [r7, #52] ; 0x34 - 80182fc: 873b strh r3, [r7, #56] ; 0x38 + 8017e8a: 8ebb ldrh r3, [r7, #52] ; 0x34 + 8017e8c: 873b strh r3, [r7, #56] ; 0x38 options = (u8_t *)q->payload; - 80182fe: 6b3b ldr r3, [r7, #48] ; 0x30 - 8018300: 685b ldr r3, [r3, #4] - 8018302: 63fb str r3, [r7, #60] ; 0x3c + 8017e8e: 6b3b ldr r3, [r7, #48] ; 0x30 + 8017e90: 685b ldr r3, [r3, #4] + 8017e92: 63fb str r3, [r7, #60] ; 0x3c /* at least 1 byte to read and no end marker, then at least 3 bytes to read? */ while ((q != NULL) && (offset < offset_max) && (options[offset] != DHCP_OPTION_END)) { - 8018304: e23a b.n 801877c + 8017e94: e23a b.n 801830c u8_t op = options[offset]; - 8018306: 8f7b ldrh r3, [r7, #58] ; 0x3a - 8018308: 6bfa ldr r2, [r7, #60] ; 0x3c - 801830a: 4413 add r3, r2 - 801830c: 781b ldrb r3, [r3, #0] - 801830e: 75fb strb r3, [r7, #23] + 8017e96: 8f7b ldrh r3, [r7, #58] ; 0x3a + 8017e98: 6bfa ldr r2, [r7, #60] ; 0x3c + 8017e9a: 4413 add r3, r2 + 8017e9c: 781b ldrb r3, [r3, #0] + 8017e9e: 75fb strb r3, [r7, #23] u8_t len; u8_t decode_len = 0; - 8018310: 2300 movs r3, #0 - 8018312: f887 3026 strb.w r3, [r7, #38] ; 0x26 + 8017ea0: 2300 movs r3, #0 + 8017ea2: f887 3026 strb.w r3, [r7, #38] ; 0x26 int decode_idx = -1; - 8018316: f04f 33ff mov.w r3, #4294967295 - 801831a: 623b str r3, [r7, #32] + 8017ea6: f04f 33ff mov.w r3, #4294967295 + 8017eaa: 623b str r3, [r7, #32] u16_t val_offset = (u16_t)(offset + 2); - 801831c: 8f7b ldrh r3, [r7, #58] ; 0x3a - 801831e: 3302 adds r3, #2 - 8018320: 83fb strh r3, [r7, #30] + 8017eac: 8f7b ldrh r3, [r7, #58] ; 0x3a + 8017eae: 3302 adds r3, #2 + 8017eb0: 83fb strh r3, [r7, #30] if (val_offset < offset) { - 8018322: 8bfa ldrh r2, [r7, #30] - 8018324: 8f7b ldrh r3, [r7, #58] ; 0x3a - 8018326: 429a cmp r2, r3 - 8018328: d202 bcs.n 8018330 + 8017eb2: 8bfa ldrh r2, [r7, #30] + 8017eb4: 8f7b ldrh r3, [r7, #58] ; 0x3a + 8017eb6: 429a cmp r2, r3 + 8017eb8: d202 bcs.n 8017ec0 /* overflow */ return ERR_BUF; - 801832a: f06f 0301 mvn.w r3, #1 - 801832e: e265 b.n 80187fc + 8017eba: f06f 0301 mvn.w r3, #1 + 8017ebe: e265 b.n 801838c } /* len byte might be in the next pbuf */ if ((offset + 1) < q->len) { - 8018330: 8f7b ldrh r3, [r7, #58] ; 0x3a - 8018332: 3301 adds r3, #1 - 8018334: 6b3a ldr r2, [r7, #48] ; 0x30 - 8018336: 8952 ldrh r2, [r2, #10] - 8018338: 4293 cmp r3, r2 - 801833a: da07 bge.n 801834c + 8017ec0: 8f7b ldrh r3, [r7, #58] ; 0x3a + 8017ec2: 3301 adds r3, #1 + 8017ec4: 6b3a ldr r2, [r7, #48] ; 0x30 + 8017ec6: 8952 ldrh r2, [r2, #10] + 8017ec8: 4293 cmp r3, r2 + 8017eca: da07 bge.n 8017edc len = options[offset + 1]; - 801833c: 8f7b ldrh r3, [r7, #58] ; 0x3a - 801833e: 3301 adds r3, #1 - 8018340: 6bfa ldr r2, [r7, #60] ; 0x3c - 8018342: 4413 add r3, r2 - 8018344: 781b ldrb r3, [r3, #0] - 8018346: f887 3027 strb.w r3, [r7, #39] ; 0x27 - 801834a: e00b b.n 8018364 + 8017ecc: 8f7b ldrh r3, [r7, #58] ; 0x3a + 8017ece: 3301 adds r3, #1 + 8017ed0: 6bfa ldr r2, [r7, #60] ; 0x3c + 8017ed2: 4413 add r3, r2 + 8017ed4: 781b ldrb r3, [r3, #0] + 8017ed6: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 8017eda: e00b b.n 8017ef4 } else { len = (q->next != NULL ? ((u8_t *)q->next->payload)[0] : 0); - 801834c: 6b3b ldr r3, [r7, #48] ; 0x30 - 801834e: 681b ldr r3, [r3, #0] - 8018350: 2b00 cmp r3, #0 - 8018352: d004 beq.n 801835e - 8018354: 6b3b ldr r3, [r7, #48] ; 0x30 - 8018356: 681b ldr r3, [r3, #0] - 8018358: 685b ldr r3, [r3, #4] - 801835a: 781b ldrb r3, [r3, #0] - 801835c: e000 b.n 8018360 - 801835e: 2300 movs r3, #0 - 8018360: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 8017edc: 6b3b ldr r3, [r7, #48] ; 0x30 + 8017ede: 681b ldr r3, [r3, #0] + 8017ee0: 2b00 cmp r3, #0 + 8017ee2: d004 beq.n 8017eee + 8017ee4: 6b3b ldr r3, [r7, #48] ; 0x30 + 8017ee6: 681b ldr r3, [r3, #0] + 8017ee8: 685b ldr r3, [r3, #4] + 8017eea: 781b ldrb r3, [r3, #0] + 8017eec: e000 b.n 8017ef0 + 8017eee: 2300 movs r3, #0 + 8017ef0: f887 3027 strb.w r3, [r7, #39] ; 0x27 } /* LWIP_DEBUGF(DHCP_DEBUG, ("msg_offset=%"U16_F", q->len=%"U16_F, msg_offset, q->len)); */ decode_len = len; - 8018364: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8018368: f887 3026 strb.w r3, [r7, #38] ; 0x26 + 8017ef4: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 8017ef8: f887 3026 strb.w r3, [r7, #38] ; 0x26 switch (op) { - 801836c: 7dfb ldrb r3, [r7, #23] - 801836e: 2b3b cmp r3, #59 ; 0x3b - 8018370: f200 812d bhi.w 80185ce - 8018374: a201 add r2, pc, #4 ; (adr r2, 801837c ) - 8018376: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 801837a: bf00 nop - 801837c: 0801846d .word 0x0801846d - 8018380: 0801847d .word 0x0801847d - 8018384: 080185cf .word 0x080185cf - 8018388: 0801849f .word 0x0801849f - 801838c: 080185cf .word 0x080185cf - 8018390: 080185cf .word 0x080185cf - 8018394: 080185cf .word 0x080185cf - 8018398: 080185cf .word 0x080185cf - 801839c: 080185cf .word 0x080185cf - 80183a0: 080185cf .word 0x080185cf - 80183a4: 080185cf .word 0x080185cf - 80183a8: 080185cf .word 0x080185cf - 80183ac: 080185cf .word 0x080185cf - 80183b0: 080185cf .word 0x080185cf - 80183b4: 080185cf .word 0x080185cf - 80183b8: 080185cf .word 0x080185cf - 80183bc: 080185cf .word 0x080185cf - 80183c0: 080185cf .word 0x080185cf - 80183c4: 080185cf .word 0x080185cf - 80183c8: 080185cf .word 0x080185cf - 80183cc: 080185cf .word 0x080185cf - 80183d0: 080185cf .word 0x080185cf - 80183d4: 080185cf .word 0x080185cf - 80183d8: 080185cf .word 0x080185cf - 80183dc: 080185cf .word 0x080185cf - 80183e0: 080185cf .word 0x080185cf - 80183e4: 080185cf .word 0x080185cf - 80183e8: 080185cf .word 0x080185cf - 80183ec: 080185cf .word 0x080185cf - 80183f0: 080185cf .word 0x080185cf - 80183f4: 080185cf .word 0x080185cf - 80183f8: 080185cf .word 0x080185cf - 80183fc: 080185cf .word 0x080185cf - 8018400: 080185cf .word 0x080185cf - 8018404: 080185cf .word 0x080185cf - 8018408: 080185cf .word 0x080185cf - 801840c: 080185cf .word 0x080185cf - 8018410: 080185cf .word 0x080185cf - 8018414: 080185cf .word 0x080185cf - 8018418: 080185cf .word 0x080185cf - 801841c: 080185cf .word 0x080185cf - 8018420: 080185cf .word 0x080185cf - 8018424: 080185cf .word 0x080185cf - 8018428: 080185cf .word 0x080185cf - 801842c: 080185cf .word 0x080185cf - 8018430: 080185cf .word 0x080185cf - 8018434: 080185cf .word 0x080185cf - 8018438: 080185cf .word 0x080185cf - 801843c: 080185cf .word 0x080185cf - 8018440: 080185cf .word 0x080185cf - 8018444: 080185cf .word 0x080185cf - 8018448: 080184cb .word 0x080184cb - 801844c: 080184ed .word 0x080184ed - 8018450: 08018529 .word 0x08018529 - 8018454: 0801854b .word 0x0801854b - 8018458: 080185cf .word 0x080185cf - 801845c: 080185cf .word 0x080185cf - 8018460: 080185cf .word 0x080185cf - 8018464: 0801856d .word 0x0801856d - 8018468: 080185ad .word 0x080185ad + 8017efc: 7dfb ldrb r3, [r7, #23] + 8017efe: 2b3b cmp r3, #59 ; 0x3b + 8017f00: f200 812d bhi.w 801815e + 8017f04: a201 add r2, pc, #4 ; (adr r2, 8017f0c ) + 8017f06: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8017f0a: bf00 nop + 8017f0c: 08017ffd .word 0x08017ffd + 8017f10: 0801800d .word 0x0801800d + 8017f14: 0801815f .word 0x0801815f + 8017f18: 0801802f .word 0x0801802f + 8017f1c: 0801815f .word 0x0801815f + 8017f20: 0801815f .word 0x0801815f + 8017f24: 0801815f .word 0x0801815f + 8017f28: 0801815f .word 0x0801815f + 8017f2c: 0801815f .word 0x0801815f + 8017f30: 0801815f .word 0x0801815f + 8017f34: 0801815f .word 0x0801815f + 8017f38: 0801815f .word 0x0801815f + 8017f3c: 0801815f .word 0x0801815f + 8017f40: 0801815f .word 0x0801815f + 8017f44: 0801815f .word 0x0801815f + 8017f48: 0801815f .word 0x0801815f + 8017f4c: 0801815f .word 0x0801815f + 8017f50: 0801815f .word 0x0801815f + 8017f54: 0801815f .word 0x0801815f + 8017f58: 0801815f .word 0x0801815f + 8017f5c: 0801815f .word 0x0801815f + 8017f60: 0801815f .word 0x0801815f + 8017f64: 0801815f .word 0x0801815f + 8017f68: 0801815f .word 0x0801815f + 8017f6c: 0801815f .word 0x0801815f + 8017f70: 0801815f .word 0x0801815f + 8017f74: 0801815f .word 0x0801815f + 8017f78: 0801815f .word 0x0801815f + 8017f7c: 0801815f .word 0x0801815f + 8017f80: 0801815f .word 0x0801815f + 8017f84: 0801815f .word 0x0801815f + 8017f88: 0801815f .word 0x0801815f + 8017f8c: 0801815f .word 0x0801815f + 8017f90: 0801815f .word 0x0801815f + 8017f94: 0801815f .word 0x0801815f + 8017f98: 0801815f .word 0x0801815f + 8017f9c: 0801815f .word 0x0801815f + 8017fa0: 0801815f .word 0x0801815f + 8017fa4: 0801815f .word 0x0801815f + 8017fa8: 0801815f .word 0x0801815f + 8017fac: 0801815f .word 0x0801815f + 8017fb0: 0801815f .word 0x0801815f + 8017fb4: 0801815f .word 0x0801815f + 8017fb8: 0801815f .word 0x0801815f + 8017fbc: 0801815f .word 0x0801815f + 8017fc0: 0801815f .word 0x0801815f + 8017fc4: 0801815f .word 0x0801815f + 8017fc8: 0801815f .word 0x0801815f + 8017fcc: 0801815f .word 0x0801815f + 8017fd0: 0801815f .word 0x0801815f + 8017fd4: 0801815f .word 0x0801815f + 8017fd8: 0801805b .word 0x0801805b + 8017fdc: 0801807d .word 0x0801807d + 8017fe0: 080180b9 .word 0x080180b9 + 8017fe4: 080180db .word 0x080180db + 8017fe8: 0801815f .word 0x0801815f + 8017fec: 0801815f .word 0x0801815f + 8017ff0: 0801815f .word 0x0801815f + 8017ff4: 080180fd .word 0x080180fd + 8017ff8: 0801813d .word 0x0801813d /* case(DHCP_OPTION_END): handled above */ case (DHCP_OPTION_PAD): /* special option: no len encoded */ decode_len = len = 0; - 801846c: 2300 movs r3, #0 - 801846e: f887 3027 strb.w r3, [r7, #39] ; 0x27 - 8018472: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8018476: f887 3026 strb.w r3, [r7, #38] ; 0x26 + 8017ffc: 2300 movs r3, #0 + 8017ffe: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 8018002: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 8018006: f887 3026 strb.w r3, [r7, #38] ; 0x26 /* will be increased below */ break; - 801847a: e0ac b.n 80185d6 + 801800a: e0ac b.n 8018166 case (DHCP_OPTION_SUBNET_MASK): LWIP_ERROR("len == 4", len == 4, return ERR_VAL;); - 801847c: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8018480: 2b04 cmp r3, #4 - 8018482: d009 beq.n 8018498 - 8018484: 4b43 ldr r3, [pc, #268] ; (8018594 ) - 8018486: f240 622e movw r2, #1582 ; 0x62e - 801848a: 4943 ldr r1, [pc, #268] ; (8018598 ) - 801848c: 4843 ldr r0, [pc, #268] ; (801859c ) - 801848e: f003 f813 bl 801b4b8 - 8018492: f06f 0305 mvn.w r3, #5 - 8018496: e1b1 b.n 80187fc + 801800c: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 8018010: 2b04 cmp r3, #4 + 8018012: d009 beq.n 8018028 + 8018014: 4b43 ldr r3, [pc, #268] ; (8018124 ) + 8018016: f240 622e movw r2, #1582 ; 0x62e + 801801a: 4943 ldr r1, [pc, #268] ; (8018128 ) + 801801c: 4843 ldr r0, [pc, #268] ; (801812c ) + 801801e: f002 fff9 bl 801b014 + 8018022: f06f 0305 mvn.w r3, #5 + 8018026: e1b1 b.n 801838c decode_idx = DHCP_OPTION_IDX_SUBNET_MASK; - 8018498: 2306 movs r3, #6 - 801849a: 623b str r3, [r7, #32] + 8018028: 2306 movs r3, #6 + 801802a: 623b str r3, [r7, #32] break; - 801849c: e09b b.n 80185d6 + 801802c: e09b b.n 8018166 case (DHCP_OPTION_ROUTER): decode_len = 4; /* only copy the first given router */ - 801849e: 2304 movs r3, #4 - 80184a0: f887 3026 strb.w r3, [r7, #38] ; 0x26 + 801802e: 2304 movs r3, #4 + 8018030: f887 3026 strb.w r3, [r7, #38] ; 0x26 LWIP_ERROR("len >= decode_len", len >= decode_len, return ERR_VAL;); - 80184a4: f897 2027 ldrb.w r2, [r7, #39] ; 0x27 - 80184a8: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 - 80184ac: 429a cmp r2, r3 - 80184ae: d209 bcs.n 80184c4 - 80184b0: 4b38 ldr r3, [pc, #224] ; (8018594 ) - 80184b2: f240 6233 movw r2, #1587 ; 0x633 - 80184b6: 493a ldr r1, [pc, #232] ; (80185a0 ) - 80184b8: 4838 ldr r0, [pc, #224] ; (801859c ) - 80184ba: f002 fffd bl 801b4b8 - 80184be: f06f 0305 mvn.w r3, #5 - 80184c2: e19b b.n 80187fc + 8018034: f897 2027 ldrb.w r2, [r7, #39] ; 0x27 + 8018038: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 + 801803c: 429a cmp r2, r3 + 801803e: d209 bcs.n 8018054 + 8018040: 4b38 ldr r3, [pc, #224] ; (8018124 ) + 8018042: f240 6233 movw r2, #1587 ; 0x633 + 8018046: 493a ldr r1, [pc, #232] ; (8018130 ) + 8018048: 4838 ldr r0, [pc, #224] ; (801812c ) + 801804a: f002 ffe3 bl 801b014 + 801804e: f06f 0305 mvn.w r3, #5 + 8018052: e19b b.n 801838c decode_idx = DHCP_OPTION_IDX_ROUTER; - 80184c4: 2307 movs r3, #7 - 80184c6: 623b str r3, [r7, #32] + 8018054: 2307 movs r3, #7 + 8018056: 623b str r3, [r7, #32] break; - 80184c8: e085 b.n 80185d6 + 8018058: e085 b.n 8018166 LWIP_ERROR("len >= decode_len", len >= decode_len, return ERR_VAL;); decode_idx = DHCP_OPTION_IDX_DNS_SERVER; break; #endif /* LWIP_DHCP_PROVIDE_DNS_SERVERS */ case (DHCP_OPTION_LEASE_TIME): LWIP_ERROR("len == 4", len == 4, return ERR_VAL;); - 80184ca: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 80184ce: 2b04 cmp r3, #4 - 80184d0: d009 beq.n 80184e6 - 80184d2: 4b30 ldr r3, [pc, #192] ; (8018594 ) - 80184d4: f240 6241 movw r2, #1601 ; 0x641 - 80184d8: 492f ldr r1, [pc, #188] ; (8018598 ) - 80184da: 4830 ldr r0, [pc, #192] ; (801859c ) - 80184dc: f002 ffec bl 801b4b8 - 80184e0: f06f 0305 mvn.w r3, #5 - 80184e4: e18a b.n 80187fc + 801805a: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 801805e: 2b04 cmp r3, #4 + 8018060: d009 beq.n 8018076 + 8018062: 4b30 ldr r3, [pc, #192] ; (8018124 ) + 8018064: f240 6241 movw r2, #1601 ; 0x641 + 8018068: 492f ldr r1, [pc, #188] ; (8018128 ) + 801806a: 4830 ldr r0, [pc, #192] ; (801812c ) + 801806c: f002 ffd2 bl 801b014 + 8018070: f06f 0305 mvn.w r3, #5 + 8018074: e18a b.n 801838c decode_idx = DHCP_OPTION_IDX_LEASE_TIME; - 80184e6: 2303 movs r3, #3 - 80184e8: 623b str r3, [r7, #32] + 8018076: 2303 movs r3, #3 + 8018078: 623b str r3, [r7, #32] break; - 80184ea: e074 b.n 80185d6 + 801807a: e074 b.n 8018166 LWIP_ERROR("len >= decode_len", len >= decode_len, return ERR_VAL;); decode_idx = DHCP_OPTION_IDX_NTP_SERVER; break; #endif /* LWIP_DHCP_GET_NTP_SRV*/ case (DHCP_OPTION_OVERLOAD): LWIP_ERROR("len == 1", len == 1, return ERR_VAL;); - 80184ec: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 80184f0: 2b01 cmp r3, #1 - 80184f2: d009 beq.n 8018508 - 80184f4: 4b27 ldr r3, [pc, #156] ; (8018594 ) - 80184f6: f240 624f movw r2, #1615 ; 0x64f - 80184fa: 492a ldr r1, [pc, #168] ; (80185a4 ) - 80184fc: 4827 ldr r0, [pc, #156] ; (801859c ) - 80184fe: f002 ffdb bl 801b4b8 - 8018502: f06f 0305 mvn.w r3, #5 - 8018506: e179 b.n 80187fc + 801807c: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 8018080: 2b01 cmp r3, #1 + 8018082: d009 beq.n 8018098 + 8018084: 4b27 ldr r3, [pc, #156] ; (8018124 ) + 8018086: f240 624f movw r2, #1615 ; 0x64f + 801808a: 492a ldr r1, [pc, #168] ; (8018134 ) + 801808c: 4827 ldr r0, [pc, #156] ; (801812c ) + 801808e: f002 ffc1 bl 801b014 + 8018092: f06f 0305 mvn.w r3, #5 + 8018096: e179 b.n 801838c /* decode overload only in options, not in file/sname: invalid packet */ LWIP_ERROR("overload in file/sname", options_idx == DHCP_OPTIONS_OFS, return ERR_VAL;); - 8018508: 8efb ldrh r3, [r7, #54] ; 0x36 - 801850a: 2bf0 cmp r3, #240 ; 0xf0 - 801850c: d009 beq.n 8018522 - 801850e: 4b21 ldr r3, [pc, #132] ; (8018594 ) - 8018510: f240 6251 movw r2, #1617 ; 0x651 - 8018514: 4924 ldr r1, [pc, #144] ; (80185a8 ) - 8018516: 4821 ldr r0, [pc, #132] ; (801859c ) - 8018518: f002 ffce bl 801b4b8 - 801851c: f06f 0305 mvn.w r3, #5 - 8018520: e16c b.n 80187fc + 8018098: 8efb ldrh r3, [r7, #54] ; 0x36 + 801809a: 2bf0 cmp r3, #240 ; 0xf0 + 801809c: d009 beq.n 80180b2 + 801809e: 4b21 ldr r3, [pc, #132] ; (8018124 ) + 80180a0: f240 6251 movw r2, #1617 ; 0x651 + 80180a4: 4924 ldr r1, [pc, #144] ; (8018138 ) + 80180a6: 4821 ldr r0, [pc, #132] ; (801812c ) + 80180a8: f002 ffb4 bl 801b014 + 80180ac: f06f 0305 mvn.w r3, #5 + 80180b0: e16c b.n 801838c decode_idx = DHCP_OPTION_IDX_OVERLOAD; - 8018522: 2300 movs r3, #0 - 8018524: 623b str r3, [r7, #32] + 80180b2: 2300 movs r3, #0 + 80180b4: 623b str r3, [r7, #32] break; - 8018526: e056 b.n 80185d6 + 80180b6: e056 b.n 8018166 case (DHCP_OPTION_MESSAGE_TYPE): LWIP_ERROR("len == 1", len == 1, return ERR_VAL;); - 8018528: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 801852c: 2b01 cmp r3, #1 - 801852e: d009 beq.n 8018544 - 8018530: 4b18 ldr r3, [pc, #96] ; (8018594 ) - 8018532: f240 6255 movw r2, #1621 ; 0x655 - 8018536: 491b ldr r1, [pc, #108] ; (80185a4 ) - 8018538: 4818 ldr r0, [pc, #96] ; (801859c ) - 801853a: f002 ffbd bl 801b4b8 - 801853e: f06f 0305 mvn.w r3, #5 - 8018542: e15b b.n 80187fc + 80180b8: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 80180bc: 2b01 cmp r3, #1 + 80180be: d009 beq.n 80180d4 + 80180c0: 4b18 ldr r3, [pc, #96] ; (8018124 ) + 80180c2: f240 6255 movw r2, #1621 ; 0x655 + 80180c6: 491b ldr r1, [pc, #108] ; (8018134 ) + 80180c8: 4818 ldr r0, [pc, #96] ; (801812c ) + 80180ca: f002 ffa3 bl 801b014 + 80180ce: f06f 0305 mvn.w r3, #5 + 80180d2: e15b b.n 801838c decode_idx = DHCP_OPTION_IDX_MSG_TYPE; - 8018544: 2301 movs r3, #1 - 8018546: 623b str r3, [r7, #32] + 80180d4: 2301 movs r3, #1 + 80180d6: 623b str r3, [r7, #32] break; - 8018548: e045 b.n 80185d6 + 80180d8: e045 b.n 8018166 case (DHCP_OPTION_SERVER_ID): LWIP_ERROR("len == 4", len == 4, return ERR_VAL;); - 801854a: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 801854e: 2b04 cmp r3, #4 - 8018550: d009 beq.n 8018566 - 8018552: 4b10 ldr r3, [pc, #64] ; (8018594 ) - 8018554: f240 6259 movw r2, #1625 ; 0x659 - 8018558: 490f ldr r1, [pc, #60] ; (8018598 ) - 801855a: 4810 ldr r0, [pc, #64] ; (801859c ) - 801855c: f002 ffac bl 801b4b8 - 8018560: f06f 0305 mvn.w r3, #5 - 8018564: e14a b.n 80187fc + 80180da: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 80180de: 2b04 cmp r3, #4 + 80180e0: d009 beq.n 80180f6 + 80180e2: 4b10 ldr r3, [pc, #64] ; (8018124 ) + 80180e4: f240 6259 movw r2, #1625 ; 0x659 + 80180e8: 490f ldr r1, [pc, #60] ; (8018128 ) + 80180ea: 4810 ldr r0, [pc, #64] ; (801812c ) + 80180ec: f002 ff92 bl 801b014 + 80180f0: f06f 0305 mvn.w r3, #5 + 80180f4: e14a b.n 801838c decode_idx = DHCP_OPTION_IDX_SERVER_ID; - 8018566: 2302 movs r3, #2 - 8018568: 623b str r3, [r7, #32] + 80180f6: 2302 movs r3, #2 + 80180f8: 623b str r3, [r7, #32] break; - 801856a: e034 b.n 80185d6 + 80180fa: e034 b.n 8018166 case (DHCP_OPTION_T1): LWIP_ERROR("len == 4", len == 4, return ERR_VAL;); - 801856c: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8018570: 2b04 cmp r3, #4 - 8018572: d009 beq.n 8018588 - 8018574: 4b07 ldr r3, [pc, #28] ; (8018594 ) - 8018576: f240 625d movw r2, #1629 ; 0x65d - 801857a: 4907 ldr r1, [pc, #28] ; (8018598 ) - 801857c: 4807 ldr r0, [pc, #28] ; (801859c ) - 801857e: f002 ff9b bl 801b4b8 - 8018582: f06f 0305 mvn.w r3, #5 - 8018586: e139 b.n 80187fc + 80180fc: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 8018100: 2b04 cmp r3, #4 + 8018102: d009 beq.n 8018118 + 8018104: 4b07 ldr r3, [pc, #28] ; (8018124 ) + 8018106: f240 625d movw r2, #1629 ; 0x65d + 801810a: 4907 ldr r1, [pc, #28] ; (8018128 ) + 801810c: 4807 ldr r0, [pc, #28] ; (801812c ) + 801810e: f002 ff81 bl 801b014 + 8018112: f06f 0305 mvn.w r3, #5 + 8018116: e139 b.n 801838c decode_idx = DHCP_OPTION_IDX_T1; - 8018588: 2304 movs r3, #4 - 801858a: 623b str r3, [r7, #32] + 8018118: 2304 movs r3, #4 + 801811a: 623b str r3, [r7, #32] break; - 801858c: e023 b.n 80185d6 - 801858e: bf00 nop - 8018590: 2000f5e0 .word 0x2000f5e0 - 8018594: 0801eb9c .word 0x0801eb9c - 8018598: 0801ee24 .word 0x0801ee24 - 801859c: 0801ebfc .word 0x0801ebfc - 80185a0: 0801ee30 .word 0x0801ee30 - 80185a4: 0801ee44 .word 0x0801ee44 - 80185a8: 0801ee50 .word 0x0801ee50 + 801811c: e023 b.n 8018166 + 801811e: bf00 nop + 8018120: 2000f5dc .word 0x2000f5dc + 8018124: 0801e398 .word 0x0801e398 + 8018128: 0801e620 .word 0x0801e620 + 801812c: 0801e3f8 .word 0x0801e3f8 + 8018130: 0801e62c .word 0x0801e62c + 8018134: 0801e640 .word 0x0801e640 + 8018138: 0801e64c .word 0x0801e64c case (DHCP_OPTION_T2): LWIP_ERROR("len == 4", len == 4, return ERR_VAL;); - 80185ac: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 80185b0: 2b04 cmp r3, #4 - 80185b2: d009 beq.n 80185c8 - 80185b4: 4b93 ldr r3, [pc, #588] ; (8018804 ) - 80185b6: f240 6261 movw r2, #1633 ; 0x661 - 80185ba: 4993 ldr r1, [pc, #588] ; (8018808 ) - 80185bc: 4893 ldr r0, [pc, #588] ; (801880c ) - 80185be: f002 ff7b bl 801b4b8 - 80185c2: f06f 0305 mvn.w r3, #5 - 80185c6: e119 b.n 80187fc + 801813c: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 8018140: 2b04 cmp r3, #4 + 8018142: d009 beq.n 8018158 + 8018144: 4b93 ldr r3, [pc, #588] ; (8018394 ) + 8018146: f240 6261 movw r2, #1633 ; 0x661 + 801814a: 4993 ldr r1, [pc, #588] ; (8018398 ) + 801814c: 4893 ldr r0, [pc, #588] ; (801839c ) + 801814e: f002 ff61 bl 801b014 + 8018152: f06f 0305 mvn.w r3, #5 + 8018156: e119 b.n 801838c decode_idx = DHCP_OPTION_IDX_T2; - 80185c8: 2305 movs r3, #5 - 80185ca: 623b str r3, [r7, #32] + 8018158: 2305 movs r3, #5 + 801815a: 623b str r3, [r7, #32] break; - 80185cc: e003 b.n 80185d6 + 801815c: e003 b.n 8018166 default: decode_len = 0; - 80185ce: 2300 movs r3, #0 - 80185d0: f887 3026 strb.w r3, [r7, #38] ; 0x26 + 801815e: 2300 movs r3, #0 + 8018160: f887 3026 strb.w r3, [r7, #38] ; 0x26 LWIP_DEBUGF(DHCP_DEBUG, ("skipping option %"U16_F" in options\n", (u16_t)op)); LWIP_HOOK_DHCP_PARSE_OPTION(ip_current_netif(), dhcp, dhcp->state, msg_in, dhcp_option_given(dhcp, DHCP_OPTION_IDX_MSG_TYPE) ? (u8_t)dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_MSG_TYPE) : 0, op, len, q, val_offset); break; - 80185d4: bf00 nop + 8018164: bf00 nop } if (op == DHCP_OPTION_PAD) { - 80185d6: 7dfb ldrb r3, [r7, #23] - 80185d8: 2b00 cmp r3, #0 - 80185da: d103 bne.n 80185e4 + 8018166: 7dfb ldrb r3, [r7, #23] + 8018168: 2b00 cmp r3, #0 + 801816a: d103 bne.n 8018174 offset++; - 80185dc: 8f7b ldrh r3, [r7, #58] ; 0x3a - 80185de: 3301 adds r3, #1 - 80185e0: 877b strh r3, [r7, #58] ; 0x3a - 80185e2: e0a1 b.n 8018728 + 801816c: 8f7b ldrh r3, [r7, #58] ; 0x3a + 801816e: 3301 adds r3, #1 + 8018170: 877b strh r3, [r7, #58] ; 0x3a + 8018172: e0a1 b.n 80182b8 } else { if (offset + len + 2 > 0xFFFF) { - 80185e4: 8f7a ldrh r2, [r7, #58] ; 0x3a - 80185e6: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 80185ea: 4413 add r3, r2 - 80185ec: 3302 adds r3, #2 - 80185ee: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 80185f2: db02 blt.n 80185fa + 8018174: 8f7a ldrh r2, [r7, #58] ; 0x3a + 8018176: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 801817a: 4413 add r3, r2 + 801817c: 3302 adds r3, #2 + 801817e: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 8018182: db02 blt.n 801818a /* overflow */ return ERR_BUF; - 80185f4: f06f 0301 mvn.w r3, #1 - 80185f8: e100 b.n 80187fc + 8018184: f06f 0301 mvn.w r3, #1 + 8018188: e100 b.n 801838c } offset = (u16_t)(offset + len + 2); - 80185fa: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 80185fe: b29a uxth r2, r3 - 8018600: 8f7b ldrh r3, [r7, #58] ; 0x3a - 8018602: 4413 add r3, r2 - 8018604: b29b uxth r3, r3 - 8018606: 3302 adds r3, #2 - 8018608: 877b strh r3, [r7, #58] ; 0x3a + 801818a: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 801818e: b29a uxth r2, r3 + 8018190: 8f7b ldrh r3, [r7, #58] ; 0x3a + 8018192: 4413 add r3, r2 + 8018194: b29b uxth r3, r3 + 8018196: 3302 adds r3, #2 + 8018198: 877b strh r3, [r7, #58] ; 0x3a if (decode_len > 0) { - 801860a: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 - 801860e: 2b00 cmp r3, #0 - 8018610: f000 808a beq.w 8018728 + 801819a: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 + 801819e: 2b00 cmp r3, #0 + 80181a0: f000 808a beq.w 80182b8 u32_t value = 0; - 8018614: 2300 movs r3, #0 - 8018616: 60bb str r3, [r7, #8] + 80181a4: 2300 movs r3, #0 + 80181a6: 60bb str r3, [r7, #8] u16_t copy_len; decode_next: LWIP_ASSERT("check decode_idx", decode_idx >= 0 && decode_idx < DHCP_OPTION_IDX_MAX); - 8018618: 6a3b ldr r3, [r7, #32] - 801861a: 2b00 cmp r3, #0 - 801861c: db02 blt.n 8018624 - 801861e: 6a3b ldr r3, [r7, #32] - 8018620: 2b07 cmp r3, #7 - 8018622: dd06 ble.n 8018632 - 8018624: 4b77 ldr r3, [pc, #476] ; (8018804 ) - 8018626: f44f 62cf mov.w r2, #1656 ; 0x678 - 801862a: 4979 ldr r1, [pc, #484] ; (8018810 ) - 801862c: 4877 ldr r0, [pc, #476] ; (801880c ) - 801862e: f002 ff43 bl 801b4b8 + 80181a8: 6a3b ldr r3, [r7, #32] + 80181aa: 2b00 cmp r3, #0 + 80181ac: db02 blt.n 80181b4 + 80181ae: 6a3b ldr r3, [r7, #32] + 80181b0: 2b07 cmp r3, #7 + 80181b2: dd06 ble.n 80181c2 + 80181b4: 4b77 ldr r3, [pc, #476] ; (8018394 ) + 80181b6: f44f 62cf mov.w r2, #1656 ; 0x678 + 80181ba: 4979 ldr r1, [pc, #484] ; (80183a0 ) + 80181bc: 4877 ldr r0, [pc, #476] ; (801839c ) + 80181be: f002 ff29 bl 801b014 if (!dhcp_option_given(dhcp, decode_idx)) { - 8018632: 4a78 ldr r2, [pc, #480] ; (8018814 ) - 8018634: 6a3b ldr r3, [r7, #32] - 8018636: 4413 add r3, r2 - 8018638: 781b ldrb r3, [r3, #0] - 801863a: 2b00 cmp r3, #0 - 801863c: d174 bne.n 8018728 + 80181c2: 4a78 ldr r2, [pc, #480] ; (80183a4 ) + 80181c4: 6a3b ldr r3, [r7, #32] + 80181c6: 4413 add r3, r2 + 80181c8: 781b ldrb r3, [r3, #0] + 80181ca: 2b00 cmp r3, #0 + 80181cc: d174 bne.n 80182b8 copy_len = LWIP_MIN(decode_len, 4); - 801863e: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 - 8018642: 2b04 cmp r3, #4 - 8018644: bf28 it cs - 8018646: 2304 movcs r3, #4 - 8018648: b2db uxtb r3, r3 - 801864a: 82bb strh r3, [r7, #20] + 80181ce: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 + 80181d2: 2b04 cmp r3, #4 + 80181d4: bf28 it cs + 80181d6: 2304 movcs r3, #4 + 80181d8: b2db uxtb r3, r3 + 80181da: 82bb strh r3, [r7, #20] if (pbuf_copy_partial(q, &value, copy_len, val_offset) != copy_len) { - 801864c: 8bfb ldrh r3, [r7, #30] - 801864e: 8aba ldrh r2, [r7, #20] - 8018650: f107 0108 add.w r1, r7, #8 - 8018654: 6b38 ldr r0, [r7, #48] ; 0x30 - 8018656: f7f8 fc05 bl 8010e64 - 801865a: 4603 mov r3, r0 - 801865c: 461a mov r2, r3 - 801865e: 8abb ldrh r3, [r7, #20] - 8018660: 4293 cmp r3, r2 - 8018662: d002 beq.n 801866a + 80181dc: 8bfb ldrh r3, [r7, #30] + 80181de: 8aba ldrh r2, [r7, #20] + 80181e0: f107 0108 add.w r1, r7, #8 + 80181e4: 6b38 ldr r0, [r7, #48] ; 0x30 + 80181e6: f7f8 fc05 bl 80109f4 + 80181ea: 4603 mov r3, r0 + 80181ec: 461a mov r2, r3 + 80181ee: 8abb ldrh r3, [r7, #20] + 80181f0: 4293 cmp r3, r2 + 80181f2: d002 beq.n 80181fa return ERR_BUF; - 8018664: f06f 0301 mvn.w r3, #1 - 8018668: e0c8 b.n 80187fc + 80181f4: f06f 0301 mvn.w r3, #1 + 80181f8: e0c8 b.n 801838c } if (decode_len > 4) { - 801866a: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 - 801866e: 2b04 cmp r3, #4 - 8018670: d933 bls.n 80186da + 80181fa: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 + 80181fe: 2b04 cmp r3, #4 + 8018200: d933 bls.n 801826a /* decode more than one u32_t */ u16_t next_val_offset; LWIP_ERROR("decode_len %% 4 == 0", decode_len % 4 == 0, return ERR_VAL;); - 8018672: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 - 8018676: f003 0303 and.w r3, r3, #3 - 801867a: b2db uxtb r3, r3 - 801867c: 2b00 cmp r3, #0 - 801867e: d009 beq.n 8018694 - 8018680: 4b60 ldr r3, [pc, #384] ; (8018804 ) - 8018682: f240 6281 movw r2, #1665 ; 0x681 - 8018686: 4964 ldr r1, [pc, #400] ; (8018818 ) - 8018688: 4860 ldr r0, [pc, #384] ; (801880c ) - 801868a: f002 ff15 bl 801b4b8 - 801868e: f06f 0305 mvn.w r3, #5 - 8018692: e0b3 b.n 80187fc + 8018202: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 + 8018206: f003 0303 and.w r3, r3, #3 + 801820a: b2db uxtb r3, r3 + 801820c: 2b00 cmp r3, #0 + 801820e: d009 beq.n 8018224 + 8018210: 4b60 ldr r3, [pc, #384] ; (8018394 ) + 8018212: f240 6281 movw r2, #1665 ; 0x681 + 8018216: 4964 ldr r1, [pc, #400] ; (80183a8 ) + 8018218: 4860 ldr r0, [pc, #384] ; (801839c ) + 801821a: f002 fefb bl 801b014 + 801821e: f06f 0305 mvn.w r3, #5 + 8018222: e0b3 b.n 801838c dhcp_got_option(dhcp, decode_idx); - 8018694: 4a5f ldr r2, [pc, #380] ; (8018814 ) - 8018696: 6a3b ldr r3, [r7, #32] - 8018698: 4413 add r3, r2 - 801869a: 2201 movs r2, #1 - 801869c: 701a strb r2, [r3, #0] + 8018224: 4a5f ldr r2, [pc, #380] ; (80183a4 ) + 8018226: 6a3b ldr r3, [r7, #32] + 8018228: 4413 add r3, r2 + 801822a: 2201 movs r2, #1 + 801822c: 701a strb r2, [r3, #0] dhcp_set_option_value(dhcp, decode_idx, lwip_htonl(value)); - 801869e: 68bb ldr r3, [r7, #8] - 80186a0: 4618 mov r0, r3 - 80186a2: f7f6 fe3a bl 800f31a - 80186a6: 4601 mov r1, r0 - 80186a8: 4a5c ldr r2, [pc, #368] ; (801881c ) - 80186aa: 6a3b ldr r3, [r7, #32] - 80186ac: f842 1023 str.w r1, [r2, r3, lsl #2] + 801822e: 68bb ldr r3, [r7, #8] + 8018230: 4618 mov r0, r3 + 8018232: f7f6 fe3a bl 800eeaa + 8018236: 4601 mov r1, r0 + 8018238: 4a5c ldr r2, [pc, #368] ; (80183ac ) + 801823a: 6a3b ldr r3, [r7, #32] + 801823c: f842 1023 str.w r1, [r2, r3, lsl #2] decode_len = (u8_t)(decode_len - 4); - 80186b0: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 - 80186b4: 3b04 subs r3, #4 - 80186b6: f887 3026 strb.w r3, [r7, #38] ; 0x26 + 8018240: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 + 8018244: 3b04 subs r3, #4 + 8018246: f887 3026 strb.w r3, [r7, #38] ; 0x26 next_val_offset = (u16_t)(val_offset + 4); - 80186ba: 8bfb ldrh r3, [r7, #30] - 80186bc: 3304 adds r3, #4 - 80186be: 827b strh r3, [r7, #18] + 801824a: 8bfb ldrh r3, [r7, #30] + 801824c: 3304 adds r3, #4 + 801824e: 827b strh r3, [r7, #18] if (next_val_offset < val_offset) { - 80186c0: 8a7a ldrh r2, [r7, #18] - 80186c2: 8bfb ldrh r3, [r7, #30] - 80186c4: 429a cmp r2, r3 - 80186c6: d202 bcs.n 80186ce + 8018250: 8a7a ldrh r2, [r7, #18] + 8018252: 8bfb ldrh r3, [r7, #30] + 8018254: 429a cmp r2, r3 + 8018256: d202 bcs.n 801825e /* overflow */ return ERR_BUF; - 80186c8: f06f 0301 mvn.w r3, #1 - 80186cc: e096 b.n 80187fc + 8018258: f06f 0301 mvn.w r3, #1 + 801825c: e096 b.n 801838c } val_offset = next_val_offset; - 80186ce: 8a7b ldrh r3, [r7, #18] - 80186d0: 83fb strh r3, [r7, #30] + 801825e: 8a7b ldrh r3, [r7, #18] + 8018260: 83fb strh r3, [r7, #30] decode_idx++; - 80186d2: 6a3b ldr r3, [r7, #32] - 80186d4: 3301 adds r3, #1 - 80186d6: 623b str r3, [r7, #32] + 8018262: 6a3b ldr r3, [r7, #32] + 8018264: 3301 adds r3, #1 + 8018266: 623b str r3, [r7, #32] goto decode_next; - 80186d8: e79e b.n 8018618 + 8018268: e79e b.n 80181a8 } else if (decode_len == 4) { - 80186da: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 - 80186de: 2b04 cmp r3, #4 - 80186e0: d106 bne.n 80186f0 + 801826a: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 + 801826e: 2b04 cmp r3, #4 + 8018270: d106 bne.n 8018280 value = lwip_ntohl(value); - 80186e2: 68bb ldr r3, [r7, #8] - 80186e4: 4618 mov r0, r3 - 80186e6: f7f6 fe18 bl 800f31a - 80186ea: 4603 mov r3, r0 - 80186ec: 60bb str r3, [r7, #8] - 80186ee: e011 b.n 8018714 + 8018272: 68bb ldr r3, [r7, #8] + 8018274: 4618 mov r0, r3 + 8018276: f7f6 fe18 bl 800eeaa + 801827a: 4603 mov r3, r0 + 801827c: 60bb str r3, [r7, #8] + 801827e: e011 b.n 80182a4 } else { LWIP_ERROR("invalid decode_len", decode_len == 1, return ERR_VAL;); - 80186f0: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 - 80186f4: 2b01 cmp r3, #1 - 80186f6: d009 beq.n 801870c - 80186f8: 4b42 ldr r3, [pc, #264] ; (8018804 ) - 80186fa: f44f 62d2 mov.w r2, #1680 ; 0x690 - 80186fe: 4948 ldr r1, [pc, #288] ; (8018820 ) - 8018700: 4842 ldr r0, [pc, #264] ; (801880c ) - 8018702: f002 fed9 bl 801b4b8 - 8018706: f06f 0305 mvn.w r3, #5 - 801870a: e077 b.n 80187fc + 8018280: f897 3026 ldrb.w r3, [r7, #38] ; 0x26 + 8018284: 2b01 cmp r3, #1 + 8018286: d009 beq.n 801829c + 8018288: 4b42 ldr r3, [pc, #264] ; (8018394 ) + 801828a: f44f 62d2 mov.w r2, #1680 ; 0x690 + 801828e: 4948 ldr r1, [pc, #288] ; (80183b0 ) + 8018290: 4842 ldr r0, [pc, #264] ; (801839c ) + 8018292: f002 febf bl 801b014 + 8018296: f06f 0305 mvn.w r3, #5 + 801829a: e077 b.n 801838c value = ((u8_t *)&value)[0]; - 801870c: f107 0308 add.w r3, r7, #8 - 8018710: 781b ldrb r3, [r3, #0] - 8018712: 60bb str r3, [r7, #8] + 801829c: f107 0308 add.w r3, r7, #8 + 80182a0: 781b ldrb r3, [r3, #0] + 80182a2: 60bb str r3, [r7, #8] } dhcp_got_option(dhcp, decode_idx); - 8018714: 4a3f ldr r2, [pc, #252] ; (8018814 ) - 8018716: 6a3b ldr r3, [r7, #32] - 8018718: 4413 add r3, r2 - 801871a: 2201 movs r2, #1 - 801871c: 701a strb r2, [r3, #0] + 80182a4: 4a3f ldr r2, [pc, #252] ; (80183a4 ) + 80182a6: 6a3b ldr r3, [r7, #32] + 80182a8: 4413 add r3, r2 + 80182aa: 2201 movs r2, #1 + 80182ac: 701a strb r2, [r3, #0] dhcp_set_option_value(dhcp, decode_idx, value); - 801871e: 68ba ldr r2, [r7, #8] - 8018720: 493e ldr r1, [pc, #248] ; (801881c ) - 8018722: 6a3b ldr r3, [r7, #32] - 8018724: f841 2023 str.w r2, [r1, r3, lsl #2] + 80182ae: 68ba ldr r2, [r7, #8] + 80182b0: 493e ldr r1, [pc, #248] ; (80183ac ) + 80182b2: 6a3b ldr r3, [r7, #32] + 80182b4: f841 2023 str.w r2, [r1, r3, lsl #2] } } } if (offset >= q->len) { - 8018728: 6b3b ldr r3, [r7, #48] ; 0x30 - 801872a: 895b ldrh r3, [r3, #10] - 801872c: 8f7a ldrh r2, [r7, #58] ; 0x3a - 801872e: 429a cmp r2, r3 - 8018730: d324 bcc.n 801877c + 80182b8: 6b3b ldr r3, [r7, #48] ; 0x30 + 80182ba: 895b ldrh r3, [r3, #10] + 80182bc: 8f7a ldrh r2, [r7, #58] ; 0x3a + 80182be: 429a cmp r2, r3 + 80182c0: d324 bcc.n 801830c offset = (u16_t)(offset - q->len); - 8018732: 6b3b ldr r3, [r7, #48] ; 0x30 - 8018734: 895b ldrh r3, [r3, #10] - 8018736: 8f7a ldrh r2, [r7, #58] ; 0x3a - 8018738: 1ad3 subs r3, r2, r3 - 801873a: 877b strh r3, [r7, #58] ; 0x3a + 80182c2: 6b3b ldr r3, [r7, #48] ; 0x30 + 80182c4: 895b ldrh r3, [r3, #10] + 80182c6: 8f7a ldrh r2, [r7, #58] ; 0x3a + 80182c8: 1ad3 subs r3, r2, r3 + 80182ca: 877b strh r3, [r7, #58] ; 0x3a offset_max = (u16_t)(offset_max - q->len); - 801873c: 6b3b ldr r3, [r7, #48] ; 0x30 - 801873e: 895b ldrh r3, [r3, #10] - 8018740: 8f3a ldrh r2, [r7, #56] ; 0x38 - 8018742: 1ad3 subs r3, r2, r3 - 8018744: 873b strh r3, [r7, #56] ; 0x38 + 80182cc: 6b3b ldr r3, [r7, #48] ; 0x30 + 80182ce: 895b ldrh r3, [r3, #10] + 80182d0: 8f3a ldrh r2, [r7, #56] ; 0x38 + 80182d2: 1ad3 subs r3, r2, r3 + 80182d4: 873b strh r3, [r7, #56] ; 0x38 if (offset < offset_max) { - 8018746: 8f7a ldrh r2, [r7, #58] ; 0x3a - 8018748: 8f3b ldrh r3, [r7, #56] ; 0x38 - 801874a: 429a cmp r2, r3 - 801874c: d213 bcs.n 8018776 + 80182d6: 8f7a ldrh r2, [r7, #58] ; 0x3a + 80182d8: 8f3b ldrh r3, [r7, #56] ; 0x38 + 80182da: 429a cmp r2, r3 + 80182dc: d213 bcs.n 8018306 q = q->next; - 801874e: 6b3b ldr r3, [r7, #48] ; 0x30 - 8018750: 681b ldr r3, [r3, #0] - 8018752: 633b str r3, [r7, #48] ; 0x30 + 80182de: 6b3b ldr r3, [r7, #48] ; 0x30 + 80182e0: 681b ldr r3, [r3, #0] + 80182e2: 633b str r3, [r7, #48] ; 0x30 LWIP_ERROR("next pbuf was null", q != NULL, return ERR_VAL;); - 8018754: 6b3b ldr r3, [r7, #48] ; 0x30 - 8018756: 2b00 cmp r3, #0 - 8018758: d109 bne.n 801876e - 801875a: 4b2a ldr r3, [pc, #168] ; (8018804 ) - 801875c: f240 629d movw r2, #1693 ; 0x69d - 8018760: 4930 ldr r1, [pc, #192] ; (8018824 ) - 8018762: 482a ldr r0, [pc, #168] ; (801880c ) - 8018764: f002 fea8 bl 801b4b8 - 8018768: f06f 0305 mvn.w r3, #5 - 801876c: e046 b.n 80187fc + 80182e4: 6b3b ldr r3, [r7, #48] ; 0x30 + 80182e6: 2b00 cmp r3, #0 + 80182e8: d109 bne.n 80182fe + 80182ea: 4b2a ldr r3, [pc, #168] ; (8018394 ) + 80182ec: f240 629d movw r2, #1693 ; 0x69d + 80182f0: 4930 ldr r1, [pc, #192] ; (80183b4 ) + 80182f2: 482a ldr r0, [pc, #168] ; (801839c ) + 80182f4: f002 fe8e bl 801b014 + 80182f8: f06f 0305 mvn.w r3, #5 + 80182fc: e046 b.n 801838c options = (u8_t *)q->payload; - 801876e: 6b3b ldr r3, [r7, #48] ; 0x30 - 8018770: 685b ldr r3, [r3, #4] - 8018772: 63fb str r3, [r7, #60] ; 0x3c - 8018774: e002 b.n 801877c + 80182fe: 6b3b ldr r3, [r7, #48] ; 0x30 + 8018300: 685b ldr r3, [r3, #4] + 8018302: 63fb str r3, [r7, #60] ; 0x3c + 8018304: e002 b.n 801830c } else { /* We've run out of bytes, probably no end marker. Don't proceed. */ return ERR_BUF; - 8018776: f06f 0301 mvn.w r3, #1 - 801877a: e03f b.n 80187fc + 8018306: f06f 0301 mvn.w r3, #1 + 801830a: e03f b.n 801838c while ((q != NULL) && (offset < offset_max) && (options[offset] != DHCP_OPTION_END)) { - 801877c: 6b3b ldr r3, [r7, #48] ; 0x30 - 801877e: 2b00 cmp r3, #0 - 8018780: d00a beq.n 8018798 - 8018782: 8f7a ldrh r2, [r7, #58] ; 0x3a - 8018784: 8f3b ldrh r3, [r7, #56] ; 0x38 - 8018786: 429a cmp r2, r3 - 8018788: d206 bcs.n 8018798 - 801878a: 8f7b ldrh r3, [r7, #58] ; 0x3a - 801878c: 6bfa ldr r2, [r7, #60] ; 0x3c - 801878e: 4413 add r3, r2 - 8018790: 781b ldrb r3, [r3, #0] - 8018792: 2bff cmp r3, #255 ; 0xff - 8018794: f47f adb7 bne.w 8018306 + 801830c: 6b3b ldr r3, [r7, #48] ; 0x30 + 801830e: 2b00 cmp r3, #0 + 8018310: d00a beq.n 8018328 + 8018312: 8f7a ldrh r2, [r7, #58] ; 0x3a + 8018314: 8f3b ldrh r3, [r7, #56] ; 0x38 + 8018316: 429a cmp r2, r3 + 8018318: d206 bcs.n 8018328 + 801831a: 8f7b ldrh r3, [r7, #58] ; 0x3a + 801831c: 6bfa ldr r2, [r7, #60] ; 0x3c + 801831e: 4413 add r3, r2 + 8018320: 781b ldrb r3, [r3, #0] + 8018322: 2bff cmp r3, #255 ; 0xff + 8018324: f47f adb7 bne.w 8017e96 } } } /* is this an overloaded message? */ if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_OVERLOAD)) { - 8018798: 4b1e ldr r3, [pc, #120] ; (8018814 ) - 801879a: 781b ldrb r3, [r3, #0] - 801879c: 2b00 cmp r3, #0 - 801879e: d018 beq.n 80187d2 + 8018328: 4b1e ldr r3, [pc, #120] ; (80183a4 ) + 801832a: 781b ldrb r3, [r3, #0] + 801832c: 2b00 cmp r3, #0 + 801832e: d018 beq.n 8018362 u32_t overload = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_OVERLOAD); - 80187a0: 4b1e ldr r3, [pc, #120] ; (801881c ) - 80187a2: 681b ldr r3, [r3, #0] - 80187a4: 60fb str r3, [r7, #12] + 8018330: 4b1e ldr r3, [pc, #120] ; (80183ac ) + 8018332: 681b ldr r3, [r3, #0] + 8018334: 60fb str r3, [r7, #12] dhcp_clear_option(dhcp, DHCP_OPTION_IDX_OVERLOAD); - 80187a6: 4b1b ldr r3, [pc, #108] ; (8018814 ) - 80187a8: 2200 movs r2, #0 - 80187aa: 701a strb r2, [r3, #0] + 8018336: 4b1b ldr r3, [pc, #108] ; (80183a4 ) + 8018338: 2200 movs r2, #0 + 801833a: 701a strb r2, [r3, #0] if (overload == DHCP_OVERLOAD_FILE) { - 80187ac: 68fb ldr r3, [r7, #12] - 80187ae: 2b01 cmp r3, #1 - 80187b0: d102 bne.n 80187b8 + 801833c: 68fb ldr r3, [r7, #12] + 801833e: 2b01 cmp r3, #1 + 8018340: d102 bne.n 8018348 parse_file_as_options = 1; - 80187b2: 2301 movs r3, #1 - 80187b4: 62fb str r3, [r7, #44] ; 0x2c - 80187b6: e00c b.n 80187d2 + 8018342: 2301 movs r3, #1 + 8018344: 62fb str r3, [r7, #44] ; 0x2c + 8018346: e00c b.n 8018362 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("overloaded file field\n")); } else if (overload == DHCP_OVERLOAD_SNAME) { - 80187b8: 68fb ldr r3, [r7, #12] - 80187ba: 2b02 cmp r3, #2 - 80187bc: d102 bne.n 80187c4 + 8018348: 68fb ldr r3, [r7, #12] + 801834a: 2b02 cmp r3, #2 + 801834c: d102 bne.n 8018354 parse_sname_as_options = 1; - 80187be: 2301 movs r3, #1 - 80187c0: 62bb str r3, [r7, #40] ; 0x28 - 80187c2: e006 b.n 80187d2 + 801834e: 2301 movs r3, #1 + 8018350: 62bb str r3, [r7, #40] ; 0x28 + 8018352: e006 b.n 8018362 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("overloaded sname field\n")); } else if (overload == DHCP_OVERLOAD_SNAME_FILE) { - 80187c4: 68fb ldr r3, [r7, #12] - 80187c6: 2b03 cmp r3, #3 - 80187c8: d103 bne.n 80187d2 + 8018354: 68fb ldr r3, [r7, #12] + 8018356: 2b03 cmp r3, #3 + 8018358: d103 bne.n 8018362 parse_sname_as_options = 1; - 80187ca: 2301 movs r3, #1 - 80187cc: 62bb str r3, [r7, #40] ; 0x28 + 801835a: 2301 movs r3, #1 + 801835c: 62bb str r3, [r7, #40] ; 0x28 parse_file_as_options = 1; - 80187ce: 2301 movs r3, #1 - 80187d0: 62fb str r3, [r7, #44] ; 0x2c + 801835e: 2301 movs r3, #1 + 8018360: 62fb str r3, [r7, #44] ; 0x2c LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("overloaded sname and file field\n")); } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("invalid overload option: %d\n", (int)overload)); } } if (parse_file_as_options) { - 80187d2: 6afb ldr r3, [r7, #44] ; 0x2c - 80187d4: 2b00 cmp r3, #0 - 80187d6: d006 beq.n 80187e6 + 8018362: 6afb ldr r3, [r7, #44] ; 0x2c + 8018364: 2b00 cmp r3, #0 + 8018366: d006 beq.n 8018376 /* if both are overloaded, parse file first and then sname (RFC 2131 ch. 4.1) */ parse_file_as_options = 0; - 80187d8: 2300 movs r3, #0 - 80187da: 62fb str r3, [r7, #44] ; 0x2c + 8018368: 2300 movs r3, #0 + 801836a: 62fb str r3, [r7, #44] ; 0x2c options_idx = DHCP_FILE_OFS; - 80187dc: 236c movs r3, #108 ; 0x6c - 80187de: 86fb strh r3, [r7, #54] ; 0x36 + 801836c: 236c movs r3, #108 ; 0x6c + 801836e: 86fb strh r3, [r7, #54] ; 0x36 options_idx_max = DHCP_FILE_OFS + DHCP_FILE_LEN; - 80187e0: 23ec movs r3, #236 ; 0xec - 80187e2: 86bb strh r3, [r7, #52] ; 0x34 + 8018370: 23ec movs r3, #236 ; 0xec + 8018372: 86bb strh r3, [r7, #52] ; 0x34 #if LWIP_DHCP_BOOTP_FILE file_overloaded = 1; #endif goto again; - 80187e4: e569 b.n 80182ba + 8018374: e569 b.n 8017e4a } else if (parse_sname_as_options) { - 80187e6: 6abb ldr r3, [r7, #40] ; 0x28 - 80187e8: 2b00 cmp r3, #0 - 80187ea: d006 beq.n 80187fa + 8018376: 6abb ldr r3, [r7, #40] ; 0x28 + 8018378: 2b00 cmp r3, #0 + 801837a: d006 beq.n 801838a parse_sname_as_options = 0; - 80187ec: 2300 movs r3, #0 - 80187ee: 62bb str r3, [r7, #40] ; 0x28 + 801837c: 2300 movs r3, #0 + 801837e: 62bb str r3, [r7, #40] ; 0x28 options_idx = DHCP_SNAME_OFS; - 80187f0: 232c movs r3, #44 ; 0x2c - 80187f2: 86fb strh r3, [r7, #54] ; 0x36 + 8018380: 232c movs r3, #44 ; 0x2c + 8018382: 86fb strh r3, [r7, #54] ; 0x36 options_idx_max = DHCP_SNAME_OFS + DHCP_SNAME_LEN; - 80187f4: 236c movs r3, #108 ; 0x6c - 80187f6: 86bb strh r3, [r7, #52] ; 0x34 + 8018384: 236c movs r3, #108 ; 0x6c + 8018386: 86bb strh r3, [r7, #52] ; 0x34 goto again; - 80187f8: e55f b.n 80182ba + 8018388: e55f b.n 8017e4a } /* make sure the string is really NULL-terminated */ dhcp->boot_file_name[DHCP_FILE_LEN-1] = 0; } #endif /* LWIP_DHCP_BOOTP_FILE */ return ERR_OK; - 80187fa: 2300 movs r3, #0 + 801838a: 2300 movs r3, #0 } - 80187fc: 4618 mov r0, r3 - 80187fe: 3740 adds r7, #64 ; 0x40 - 8018800: 46bd mov sp, r7 - 8018802: bd80 pop {r7, pc} - 8018804: 0801eb9c .word 0x0801eb9c - 8018808: 0801ee24 .word 0x0801ee24 - 801880c: 0801ebfc .word 0x0801ebfc - 8018810: 0801ee68 .word 0x0801ee68 - 8018814: 2000f5e0 .word 0x2000f5e0 - 8018818: 0801ee7c .word 0x0801ee7c - 801881c: 2000f5e8 .word 0x2000f5e8 - 8018820: 0801ee94 .word 0x0801ee94 - 8018824: 0801eea8 .word 0x0801eea8 + 801838c: 4618 mov r0, r3 + 801838e: 3740 adds r7, #64 ; 0x40 + 8018390: 46bd mov sp, r7 + 8018392: bd80 pop {r7, pc} + 8018394: 0801e398 .word 0x0801e398 + 8018398: 0801e620 .word 0x0801e620 + 801839c: 0801e3f8 .word 0x0801e3f8 + 80183a0: 0801e664 .word 0x0801e664 + 80183a4: 2000f5dc .word 0x2000f5dc + 80183a8: 0801e678 .word 0x0801e678 + 80183ac: 2000f5e4 .word 0x2000f5e4 + 80183b0: 0801e690 .word 0x0801e690 + 80183b4: 0801e6a4 .word 0x0801e6a4 -08018828 : +080183b8 : /** * If an incoming DHCP message is in response to us, then trigger the state machine */ static void dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) { - 8018828: b580 push {r7, lr} - 801882a: b08a sub sp, #40 ; 0x28 - 801882c: af00 add r7, sp, #0 - 801882e: 60f8 str r0, [r7, #12] - 8018830: 60b9 str r1, [r7, #8] - 8018832: 607a str r2, [r7, #4] - 8018834: 603b str r3, [r7, #0] + 80183b8: b580 push {r7, lr} + 80183ba: b08a sub sp, #40 ; 0x28 + 80183bc: af00 add r7, sp, #0 + 80183be: 60f8 str r0, [r7, #12] + 80183c0: 60b9 str r1, [r7, #8] + 80183c2: 607a str r2, [r7, #4] + 80183c4: 603b str r3, [r7, #0] struct netif *netif = ip_current_input_netif(); - 8018836: 4b5f ldr r3, [pc, #380] ; (80189b4 ) - 8018838: 685b ldr r3, [r3, #4] - 801883a: 623b str r3, [r7, #32] + 80183c6: 4b5f ldr r3, [pc, #380] ; (8018544 ) + 80183c8: 685b ldr r3, [r3, #4] + 80183ca: 623b str r3, [r7, #32] struct dhcp *dhcp = netif_dhcp_data(netif); - 801883c: 6a3b ldr r3, [r7, #32] - 801883e: 6a5b ldr r3, [r3, #36] ; 0x24 - 8018840: 61fb str r3, [r7, #28] + 80183cc: 6a3b ldr r3, [r7, #32] + 80183ce: 6a5b ldr r3, [r3, #36] ; 0x24 + 80183d0: 61fb str r3, [r7, #28] struct dhcp_msg *reply_msg = (struct dhcp_msg *)p->payload; - 8018842: 687b ldr r3, [r7, #4] - 8018844: 685b ldr r3, [r3, #4] - 8018846: 61bb str r3, [r7, #24] + 80183d2: 687b ldr r3, [r7, #4] + 80183d4: 685b ldr r3, [r3, #4] + 80183d6: 61bb str r3, [r7, #24] struct dhcp_msg *msg_in; LWIP_UNUSED_ARG(arg); /* Caught DHCP message from netif that does not have DHCP enabled? -> not interested */ if ((dhcp == NULL) || (dhcp->pcb_allocated == 0)) { - 8018848: 69fb ldr r3, [r7, #28] - 801884a: 2b00 cmp r3, #0 - 801884c: f000 809d beq.w 801898a - 8018850: 69fb ldr r3, [r7, #28] - 8018852: 791b ldrb r3, [r3, #4] - 8018854: 2b00 cmp r3, #0 - 8018856: f000 8098 beq.w 801898a + 80183d8: 69fb ldr r3, [r7, #28] + 80183da: 2b00 cmp r3, #0 + 80183dc: f000 809d beq.w 801851a + 80183e0: 69fb ldr r3, [r7, #28] + 80183e2: 791b ldrb r3, [r3, #4] + 80183e4: 2b00 cmp r3, #0 + 80183e6: f000 8098 beq.w 801851a /* prevent warnings about unused arguments */ LWIP_UNUSED_ARG(pcb); LWIP_UNUSED_ARG(addr); LWIP_UNUSED_ARG(port); if (p->len < DHCP_MIN_REPLY_LEN) { - 801885a: 687b ldr r3, [r7, #4] - 801885c: 895b ldrh r3, [r3, #10] - 801885e: 2b2b cmp r3, #43 ; 0x2b - 8018860: f240 8095 bls.w 801898e + 80183ea: 687b ldr r3, [r7, #4] + 80183ec: 895b ldrh r3, [r3, #10] + 80183ee: 2b2b cmp r3, #43 ; 0x2b + 80183f0: f240 8095 bls.w 801851e LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("DHCP reply message or pbuf too short\n")); goto free_pbuf_and_return; } if (reply_msg->op != DHCP_BOOTREPLY) { - 8018864: 69bb ldr r3, [r7, #24] - 8018866: 781b ldrb r3, [r3, #0] - 8018868: 2b02 cmp r3, #2 - 801886a: f040 8092 bne.w 8018992 + 80183f4: 69bb ldr r3, [r7, #24] + 80183f6: 781b ldrb r3, [r3, #0] + 80183f8: 2b02 cmp r3, #2 + 80183fa: f040 8092 bne.w 8018522 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("not a DHCP reply message, but type %"U16_F"\n", (u16_t)reply_msg->op)); goto free_pbuf_and_return; } /* iterate through hardware address and match against DHCP message */ for (i = 0; i < netif->hwaddr_len && i < LWIP_MIN(DHCP_CHADDR_LEN, NETIF_MAX_HWADDR_LEN); i++) { - 801886e: 2300 movs r3, #0 - 8018870: f887 3027 strb.w r3, [r7, #39] ; 0x27 - 8018874: e012 b.n 801889c + 80183fe: 2300 movs r3, #0 + 8018400: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 8018404: e012 b.n 801842c if (netif->hwaddr[i] != reply_msg->chaddr[i]) { - 8018876: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 801887a: 6a3a ldr r2, [r7, #32] - 801887c: 4413 add r3, r2 - 801887e: f893 202a ldrb.w r2, [r3, #42] ; 0x2a - 8018882: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8018886: 69b9 ldr r1, [r7, #24] - 8018888: 440b add r3, r1 - 801888a: 7f1b ldrb r3, [r3, #28] - 801888c: 429a cmp r2, r3 - 801888e: f040 8082 bne.w 8018996 + 8018406: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 801840a: 6a3a ldr r2, [r7, #32] + 801840c: 4413 add r3, r2 + 801840e: f893 202a ldrb.w r2, [r3, #42] ; 0x2a + 8018412: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 8018416: 69b9 ldr r1, [r7, #24] + 8018418: 440b add r3, r1 + 801841a: 7f1b ldrb r3, [r3, #28] + 801841c: 429a cmp r2, r3 + 801841e: f040 8082 bne.w 8018526 for (i = 0; i < netif->hwaddr_len && i < LWIP_MIN(DHCP_CHADDR_LEN, NETIF_MAX_HWADDR_LEN); i++) { - 8018892: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 8018896: 3301 adds r3, #1 - 8018898: f887 3027 strb.w r3, [r7, #39] ; 0x27 - 801889c: 6a3b ldr r3, [r7, #32] - 801889e: f893 3030 ldrb.w r3, [r3, #48] ; 0x30 - 80188a2: f897 2027 ldrb.w r2, [r7, #39] ; 0x27 - 80188a6: 429a cmp r2, r3 - 80188a8: d203 bcs.n 80188b2 - 80188aa: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 - 80188ae: 2b05 cmp r3, #5 - 80188b0: d9e1 bls.n 8018876 + 8018422: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 8018426: 3301 adds r3, #1 + 8018428: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 801842c: 6a3b ldr r3, [r7, #32] + 801842e: f893 3030 ldrb.w r3, [r3, #48] ; 0x30 + 8018432: f897 2027 ldrb.w r2, [r7, #39] ; 0x27 + 8018436: 429a cmp r2, r3 + 8018438: d203 bcs.n 8018442 + 801843a: f897 3027 ldrb.w r3, [r7, #39] ; 0x27 + 801843e: 2b05 cmp r3, #5 + 8018440: d9e1 bls.n 8018406 (u16_t)i, (u16_t)netif->hwaddr[i], (u16_t)i, (u16_t)reply_msg->chaddr[i])); goto free_pbuf_and_return; } } /* match transaction ID against what we expected */ if (lwip_ntohl(reply_msg->xid) != dhcp->xid) { - 80188b2: 69bb ldr r3, [r7, #24] - 80188b4: 685b ldr r3, [r3, #4] - 80188b6: 4618 mov r0, r3 - 80188b8: f7f6 fd2f bl 800f31a - 80188bc: 4602 mov r2, r0 - 80188be: 69fb ldr r3, [r7, #28] - 80188c0: 681b ldr r3, [r3, #0] - 80188c2: 429a cmp r2, r3 - 80188c4: d169 bne.n 801899a + 8018442: 69bb ldr r3, [r7, #24] + 8018444: 685b ldr r3, [r3, #4] + 8018446: 4618 mov r0, r3 + 8018448: f7f6 fd2f bl 800eeaa + 801844c: 4602 mov r2, r0 + 801844e: 69fb ldr r3, [r7, #28] + 8018450: 681b ldr r3, [r3, #0] + 8018452: 429a cmp r2, r3 + 8018454: d169 bne.n 801852a LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("transaction id mismatch reply_msg->xid(%"X32_F")!=dhcp->xid(%"X32_F")\n", lwip_ntohl(reply_msg->xid), dhcp->xid)); goto free_pbuf_and_return; } /* option fields could be unfold? */ if (dhcp_parse_reply(p, dhcp) != ERR_OK) { - 80188c6: 69f9 ldr r1, [r7, #28] - 80188c8: 6878 ldr r0, [r7, #4] - 80188ca: f7ff fcd9 bl 8018280 - 80188ce: 4603 mov r3, r0 - 80188d0: 2b00 cmp r3, #0 - 80188d2: d164 bne.n 801899e + 8018456: 69f9 ldr r1, [r7, #28] + 8018458: 6878 ldr r0, [r7, #4] + 801845a: f7ff fcd9 bl 8017e10 + 801845e: 4603 mov r3, r0 + 8018460: 2b00 cmp r3, #0 + 8018462: d164 bne.n 801852e goto free_pbuf_and_return; } LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("searching DHCP_OPTION_MESSAGE_TYPE\n")); /* obtain pointer to DHCP message type */ if (!dhcp_option_given(dhcp, DHCP_OPTION_IDX_MSG_TYPE)) { - 80188d4: 4b38 ldr r3, [pc, #224] ; (80189b8 ) - 80188d6: 785b ldrb r3, [r3, #1] - 80188d8: 2b00 cmp r3, #0 - 80188da: d062 beq.n 80189a2 + 8018464: 4b38 ldr r3, [pc, #224] ; (8018548 ) + 8018466: 785b ldrb r3, [r3, #1] + 8018468: 2b00 cmp r3, #0 + 801846a: d062 beq.n 8018532 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("DHCP_OPTION_MESSAGE_TYPE option not found\n")); goto free_pbuf_and_return; } msg_in = (struct dhcp_msg *)p->payload; - 80188dc: 687b ldr r3, [r7, #4] - 80188de: 685b ldr r3, [r3, #4] - 80188e0: 617b str r3, [r7, #20] + 801846c: 687b ldr r3, [r7, #4] + 801846e: 685b ldr r3, [r3, #4] + 8018470: 617b str r3, [r7, #20] /* read DHCP message type */ msg_type = (u8_t)dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_MSG_TYPE); - 80188e2: 4b36 ldr r3, [pc, #216] ; (80189bc ) - 80188e4: 685b ldr r3, [r3, #4] - 80188e6: 74fb strb r3, [r7, #19] + 8018472: 4b36 ldr r3, [pc, #216] ; (801854c ) + 8018474: 685b ldr r3, [r3, #4] + 8018476: 74fb strb r3, [r7, #19] /* message type is DHCP ACK? */ if (msg_type == DHCP_ACK) { - 80188e8: 7cfb ldrb r3, [r7, #19] - 80188ea: 2b05 cmp r3, #5 - 80188ec: d12a bne.n 8018944 + 8018478: 7cfb ldrb r3, [r7, #19] + 801847a: 2b05 cmp r3, #5 + 801847c: d12a bne.n 80184d4 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("DHCP_ACK received\n")); /* in requesting state? */ if (dhcp->state == DHCP_STATE_REQUESTING) { - 80188ee: 69fb ldr r3, [r7, #28] - 80188f0: 795b ldrb r3, [r3, #5] - 80188f2: 2b01 cmp r3, #1 - 80188f4: d112 bne.n 801891c + 801847e: 69fb ldr r3, [r7, #28] + 8018480: 795b ldrb r3, [r3, #5] + 8018482: 2b01 cmp r3, #1 + 8018484: d112 bne.n 80184ac dhcp_handle_ack(netif, msg_in); - 80188f6: 6979 ldr r1, [r7, #20] - 80188f8: 6a38 ldr r0, [r7, #32] - 80188fa: f7fe fe05 bl 8017508 + 8018486: 6979 ldr r1, [r7, #20] + 8018488: 6a38 ldr r0, [r7, #32] + 801848a: f7fe fe05 bl 8017098 #if DHCP_DOES_ARP_CHECK if ((netif->flags & NETIF_FLAG_ETHARP) != 0) { - 80188fe: 6a3b ldr r3, [r7, #32] - 8018900: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8018904: f003 0308 and.w r3, r3, #8 - 8018908: 2b00 cmp r3, #0 - 801890a: d003 beq.n 8018914 + 801848e: 6a3b ldr r3, [r7, #32] + 8018490: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 8018494: f003 0308 and.w r3, r3, #8 + 8018498: 2b00 cmp r3, #0 + 801849a: d003 beq.n 80184a4 /* check if the acknowledged lease address is already in use */ dhcp_check(netif); - 801890c: 6a38 ldr r0, [r7, #32] - 801890e: f7fe fb73 bl 8016ff8 - 8018912: e047 b.n 80189a4 + 801849c: 6a38 ldr r0, [r7, #32] + 801849e: f7fe fb73 bl 8016b88 + 80184a2: e047 b.n 8018534 } else { /* bind interface to the acknowledged lease address */ dhcp_bind(netif); - 8018914: 6a38 ldr r0, [r7, #32] - 8018916: f7ff f867 bl 80179e8 - 801891a: e043 b.n 80189a4 + 80184a4: 6a38 ldr r0, [r7, #32] + 80184a6: f7ff f867 bl 8017578 + 80184aa: e043 b.n 8018534 /* bind interface to the acknowledged lease address */ dhcp_bind(netif); #endif } /* already bound to the given lease address? */ else if ((dhcp->state == DHCP_STATE_REBOOTING) || (dhcp->state == DHCP_STATE_REBINDING) || - 801891c: 69fb ldr r3, [r7, #28] - 801891e: 795b ldrb r3, [r3, #5] - 8018920: 2b03 cmp r3, #3 - 8018922: d007 beq.n 8018934 - 8018924: 69fb ldr r3, [r7, #28] - 8018926: 795b ldrb r3, [r3, #5] - 8018928: 2b04 cmp r3, #4 - 801892a: d003 beq.n 8018934 + 80184ac: 69fb ldr r3, [r7, #28] + 80184ae: 795b ldrb r3, [r3, #5] + 80184b0: 2b03 cmp r3, #3 + 80184b2: d007 beq.n 80184c4 + 80184b4: 69fb ldr r3, [r7, #28] + 80184b6: 795b ldrb r3, [r3, #5] + 80184b8: 2b04 cmp r3, #4 + 80184ba: d003 beq.n 80184c4 (dhcp->state == DHCP_STATE_RENEWING)) { - 801892c: 69fb ldr r3, [r7, #28] - 801892e: 795b ldrb r3, [r3, #5] + 80184bc: 69fb ldr r3, [r7, #28] + 80184be: 795b ldrb r3, [r3, #5] else if ((dhcp->state == DHCP_STATE_REBOOTING) || (dhcp->state == DHCP_STATE_REBINDING) || - 8018930: 2b05 cmp r3, #5 - 8018932: d137 bne.n 80189a4 + 80184c0: 2b05 cmp r3, #5 + 80184c2: d137 bne.n 8018534 dhcp_handle_ack(netif, msg_in); - 8018934: 6979 ldr r1, [r7, #20] - 8018936: 6a38 ldr r0, [r7, #32] - 8018938: f7fe fde6 bl 8017508 + 80184c4: 6979 ldr r1, [r7, #20] + 80184c6: 6a38 ldr r0, [r7, #32] + 80184c8: f7fe fde6 bl 8017098 dhcp_bind(netif); - 801893c: 6a38 ldr r0, [r7, #32] - 801893e: f7ff f853 bl 80179e8 - 8018942: e02f b.n 80189a4 + 80184cc: 6a38 ldr r0, [r7, #32] + 80184ce: f7ff f853 bl 8017578 + 80184d2: e02f b.n 8018534 } } /* received a DHCP_NAK in appropriate state? */ else if ((msg_type == DHCP_NAK) && - 8018944: 7cfb ldrb r3, [r7, #19] - 8018946: 2b06 cmp r3, #6 - 8018948: d113 bne.n 8018972 + 80184d4: 7cfb ldrb r3, [r7, #19] + 80184d6: 2b06 cmp r3, #6 + 80184d8: d113 bne.n 8018502 ((dhcp->state == DHCP_STATE_REBOOTING) || (dhcp->state == DHCP_STATE_REQUESTING) || - 801894a: 69fb ldr r3, [r7, #28] - 801894c: 795b ldrb r3, [r3, #5] + 80184da: 69fb ldr r3, [r7, #28] + 80184dc: 795b ldrb r3, [r3, #5] else if ((msg_type == DHCP_NAK) && - 801894e: 2b03 cmp r3, #3 - 8018950: d00b beq.n 801896a + 80184de: 2b03 cmp r3, #3 + 80184e0: d00b beq.n 80184fa ((dhcp->state == DHCP_STATE_REBOOTING) || (dhcp->state == DHCP_STATE_REQUESTING) || - 8018952: 69fb ldr r3, [r7, #28] - 8018954: 795b ldrb r3, [r3, #5] - 8018956: 2b01 cmp r3, #1 - 8018958: d007 beq.n 801896a + 80184e2: 69fb ldr r3, [r7, #28] + 80184e4: 795b ldrb r3, [r3, #5] + 80184e6: 2b01 cmp r3, #1 + 80184e8: d007 beq.n 80184fa (dhcp->state == DHCP_STATE_REBINDING) || (dhcp->state == DHCP_STATE_RENEWING ))) { - 801895a: 69fb ldr r3, [r7, #28] - 801895c: 795b ldrb r3, [r3, #5] + 80184ea: 69fb ldr r3, [r7, #28] + 80184ec: 795b ldrb r3, [r3, #5] ((dhcp->state == DHCP_STATE_REBOOTING) || (dhcp->state == DHCP_STATE_REQUESTING) || - 801895e: 2b04 cmp r3, #4 - 8018960: d003 beq.n 801896a + 80184ee: 2b04 cmp r3, #4 + 80184f0: d003 beq.n 80184fa (dhcp->state == DHCP_STATE_REBINDING) || (dhcp->state == DHCP_STATE_RENEWING ))) { - 8018962: 69fb ldr r3, [r7, #28] - 8018964: 795b ldrb r3, [r3, #5] - 8018966: 2b05 cmp r3, #5 - 8018968: d103 bne.n 8018972 + 80184f2: 69fb ldr r3, [r7, #28] + 80184f4: 795b ldrb r3, [r3, #5] + 80184f6: 2b05 cmp r3, #5 + 80184f8: d103 bne.n 8018502 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("DHCP_NAK received\n")); dhcp_handle_nak(netif); - 801896a: 6a38 ldr r0, [r7, #32] - 801896c: f7fe fb2a bl 8016fc4 - 8018970: e018 b.n 80189a4 + 80184fa: 6a38 ldr r0, [r7, #32] + 80184fc: f7fe fb2a bl 8016b54 + 8018500: e018 b.n 8018534 } /* received a DHCP_OFFER in DHCP_STATE_SELECTING state? */ else if ((msg_type == DHCP_OFFER) && (dhcp->state == DHCP_STATE_SELECTING)) { - 8018972: 7cfb ldrb r3, [r7, #19] - 8018974: 2b02 cmp r3, #2 - 8018976: d108 bne.n 801898a - 8018978: 69fb ldr r3, [r7, #28] - 801897a: 795b ldrb r3, [r3, #5] - 801897c: 2b06 cmp r3, #6 - 801897e: d104 bne.n 801898a + 8018502: 7cfb ldrb r3, [r7, #19] + 8018504: 2b02 cmp r3, #2 + 8018506: d108 bne.n 801851a + 8018508: 69fb ldr r3, [r7, #28] + 801850a: 795b ldrb r3, [r3, #5] + 801850c: 2b06 cmp r3, #6 + 801850e: d104 bne.n 801851a LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("DHCP_OFFER received in DHCP_STATE_SELECTING state\n")); /* remember offered lease */ dhcp_handle_offer(netif, msg_in); - 8018980: 6979 ldr r1, [r7, #20] - 8018982: 6a38 ldr r0, [r7, #32] - 8018984: f7fe fb6c bl 8017060 - 8018988: e00c b.n 80189a4 + 8018510: 6979 ldr r1, [r7, #20] + 8018512: 6a38 ldr r0, [r7, #32] + 8018514: f7fe fb6c bl 8016bf0 + 8018518: e00c b.n 8018534 } free_pbuf_and_return: - 801898a: bf00 nop - 801898c: e00a b.n 80189a4 + 801851a: bf00 nop + 801851c: e00a b.n 8018534 goto free_pbuf_and_return; - 801898e: bf00 nop - 8018990: e008 b.n 80189a4 + 801851e: bf00 nop + 8018520: e008 b.n 8018534 goto free_pbuf_and_return; - 8018992: bf00 nop - 8018994: e006 b.n 80189a4 + 8018522: bf00 nop + 8018524: e006 b.n 8018534 goto free_pbuf_and_return; - 8018996: bf00 nop - 8018998: e004 b.n 80189a4 + 8018526: bf00 nop + 8018528: e004 b.n 8018534 goto free_pbuf_and_return; - 801899a: bf00 nop - 801899c: e002 b.n 80189a4 + 801852a: bf00 nop + 801852c: e002 b.n 8018534 goto free_pbuf_and_return; - 801899e: bf00 nop - 80189a0: e000 b.n 80189a4 + 801852e: bf00 nop + 8018530: e000 b.n 8018534 goto free_pbuf_and_return; - 80189a2: bf00 nop + 8018532: bf00 nop pbuf_free(p); - 80189a4: 6878 ldr r0, [r7, #4] - 80189a6: f7f8 f857 bl 8010a58 + 8018534: 6878 ldr r0, [r7, #4] + 8018536: f7f8 f857 bl 80105e8 } - 80189aa: bf00 nop - 80189ac: 3728 adds r7, #40 ; 0x28 - 80189ae: 46bd mov sp, r7 - 80189b0: bd80 pop {r7, pc} - 80189b2: bf00 nop - 80189b4: 2000be90 .word 0x2000be90 - 80189b8: 2000f5e0 .word 0x2000f5e0 - 80189bc: 2000f5e8 .word 0x2000f5e8 + 801853a: bf00 nop + 801853c: 3728 adds r7, #40 ; 0x28 + 801853e: 46bd mov sp, r7 + 8018540: bd80 pop {r7, pc} + 8018542: bf00 nop + 8018544: 2000be8c .word 0x2000be8c + 8018548: 2000f5dc .word 0x2000f5dc + 801854c: 2000f5e4 .word 0x2000f5e4 -080189c0 : +08018550 : * @param dhcp dhcp control struct * @param message_type message type of the request */ static struct pbuf * dhcp_create_msg(struct netif *netif, struct dhcp *dhcp, u8_t message_type, u16_t *options_out_len) { - 80189c0: b580 push {r7, lr} - 80189c2: b088 sub sp, #32 - 80189c4: af00 add r7, sp, #0 - 80189c6: 60f8 str r0, [r7, #12] - 80189c8: 60b9 str r1, [r7, #8] - 80189ca: 603b str r3, [r7, #0] - 80189cc: 4613 mov r3, r2 - 80189ce: 71fb strb r3, [r7, #7] + 8018550: b580 push {r7, lr} + 8018552: b088 sub sp, #32 + 8018554: af00 add r7, sp, #0 + 8018556: 60f8 str r0, [r7, #12] + 8018558: 60b9 str r1, [r7, #8] + 801855a: 603b str r3, [r7, #0] + 801855c: 4613 mov r3, r2 + 801855e: 71fb strb r3, [r7, #7] if (!xid_initialised) { xid = DHCP_GLOBAL_XID; xid_initialised = !xid_initialised; } #endif LWIP_ERROR("dhcp_create_msg: netif != NULL", (netif != NULL), return NULL;); - 80189d0: 68fb ldr r3, [r7, #12] - 80189d2: 2b00 cmp r3, #0 - 80189d4: d108 bne.n 80189e8 - 80189d6: 4b5f ldr r3, [pc, #380] ; (8018b54 ) - 80189d8: f240 7269 movw r2, #1897 ; 0x769 - 80189dc: 495e ldr r1, [pc, #376] ; (8018b58 ) - 80189de: 485f ldr r0, [pc, #380] ; (8018b5c ) - 80189e0: f002 fd6a bl 801b4b8 - 80189e4: 2300 movs r3, #0 - 80189e6: e0b1 b.n 8018b4c + 8018560: 68fb ldr r3, [r7, #12] + 8018562: 2b00 cmp r3, #0 + 8018564: d108 bne.n 8018578 + 8018566: 4b5f ldr r3, [pc, #380] ; (80186e4 ) + 8018568: f240 7269 movw r2, #1897 ; 0x769 + 801856c: 495e ldr r1, [pc, #376] ; (80186e8 ) + 801856e: 485f ldr r0, [pc, #380] ; (80186ec ) + 8018570: f002 fd50 bl 801b014 + 8018574: 2300 movs r3, #0 + 8018576: e0b1 b.n 80186dc LWIP_ERROR("dhcp_create_msg: dhcp != NULL", (dhcp != NULL), return NULL;); - 80189e8: 68bb ldr r3, [r7, #8] - 80189ea: 2b00 cmp r3, #0 - 80189ec: d108 bne.n 8018a00 - 80189ee: 4b59 ldr r3, [pc, #356] ; (8018b54 ) - 80189f0: f240 726a movw r2, #1898 ; 0x76a - 80189f4: 495a ldr r1, [pc, #360] ; (8018b60 ) - 80189f6: 4859 ldr r0, [pc, #356] ; (8018b5c ) - 80189f8: f002 fd5e bl 801b4b8 - 80189fc: 2300 movs r3, #0 - 80189fe: e0a5 b.n 8018b4c + 8018578: 68bb ldr r3, [r7, #8] + 801857a: 2b00 cmp r3, #0 + 801857c: d108 bne.n 8018590 + 801857e: 4b59 ldr r3, [pc, #356] ; (80186e4 ) + 8018580: f240 726a movw r2, #1898 ; 0x76a + 8018584: 495a ldr r1, [pc, #360] ; (80186f0 ) + 8018586: 4859 ldr r0, [pc, #356] ; (80186ec ) + 8018588: f002 fd44 bl 801b014 + 801858c: 2300 movs r3, #0 + 801858e: e0a5 b.n 80186dc p_out = pbuf_alloc(PBUF_TRANSPORT, sizeof(struct dhcp_msg), PBUF_RAM); - 8018a00: f44f 7220 mov.w r2, #640 ; 0x280 - 8018a04: f44f 719a mov.w r1, #308 ; 0x134 - 8018a08: 2036 movs r0, #54 ; 0x36 - 8018a0a: f7f7 fd45 bl 8010498 - 8018a0e: 61b8 str r0, [r7, #24] + 8018590: f44f 7220 mov.w r2, #640 ; 0x280 + 8018594: f44f 719a mov.w r1, #308 ; 0x134 + 8018598: 2036 movs r0, #54 ; 0x36 + 801859a: f7f7 fd45 bl 8010028 + 801859e: 61b8 str r0, [r7, #24] if (p_out == NULL) { - 8018a10: 69bb ldr r3, [r7, #24] - 8018a12: 2b00 cmp r3, #0 - 8018a14: d101 bne.n 8018a1a + 80185a0: 69bb ldr r3, [r7, #24] + 80185a2: 2b00 cmp r3, #0 + 80185a4: d101 bne.n 80185aa LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_create_msg(): could not allocate pbuf\n")); return NULL; - 8018a16: 2300 movs r3, #0 - 8018a18: e098 b.n 8018b4c + 80185a6: 2300 movs r3, #0 + 80185a8: e098 b.n 80186dc } LWIP_ASSERT("dhcp_create_msg: check that first pbuf can hold struct dhcp_msg", - 8018a1a: 69bb ldr r3, [r7, #24] - 8018a1c: 895b ldrh r3, [r3, #10] - 8018a1e: f5b3 7f9a cmp.w r3, #308 ; 0x134 - 8018a22: d206 bcs.n 8018a32 - 8018a24: 4b4b ldr r3, [pc, #300] ; (8018b54 ) - 8018a26: f240 7272 movw r2, #1906 ; 0x772 - 8018a2a: 494e ldr r1, [pc, #312] ; (8018b64 ) - 8018a2c: 484b ldr r0, [pc, #300] ; (8018b5c ) - 8018a2e: f002 fd43 bl 801b4b8 + 80185aa: 69bb ldr r3, [r7, #24] + 80185ac: 895b ldrh r3, [r3, #10] + 80185ae: f5b3 7f9a cmp.w r3, #308 ; 0x134 + 80185b2: d206 bcs.n 80185c2 + 80185b4: 4b4b ldr r3, [pc, #300] ; (80186e4 ) + 80185b6: f240 7272 movw r2, #1906 ; 0x772 + 80185ba: 494e ldr r1, [pc, #312] ; (80186f4 ) + 80185bc: 484b ldr r0, [pc, #300] ; (80186ec ) + 80185be: f002 fd29 bl 801b014 (p_out->len >= sizeof(struct dhcp_msg))); /* DHCP_REQUEST should reuse 'xid' from DHCPOFFER */ if ((message_type != DHCP_REQUEST) || (dhcp->state == DHCP_STATE_REBOOTING)) { - 8018a32: 79fb ldrb r3, [r7, #7] - 8018a34: 2b03 cmp r3, #3 - 8018a36: d103 bne.n 8018a40 - 8018a38: 68bb ldr r3, [r7, #8] - 8018a3a: 795b ldrb r3, [r3, #5] - 8018a3c: 2b03 cmp r3, #3 - 8018a3e: d10d bne.n 8018a5c + 80185c2: 79fb ldrb r3, [r7, #7] + 80185c4: 2b03 cmp r3, #3 + 80185c6: d103 bne.n 80185d0 + 80185c8: 68bb ldr r3, [r7, #8] + 80185ca: 795b ldrb r3, [r3, #5] + 80185cc: 2b03 cmp r3, #3 + 80185ce: d10d bne.n 80185ec /* reuse transaction identifier in retransmissions */ if (dhcp->tries == 0) { - 8018a40: 68bb ldr r3, [r7, #8] - 8018a42: 799b ldrb r3, [r3, #6] - 8018a44: 2b00 cmp r3, #0 - 8018a46: d105 bne.n 8018a54 + 80185d0: 68bb ldr r3, [r7, #8] + 80185d2: 799b ldrb r3, [r3, #6] + 80185d4: 2b00 cmp r3, #0 + 80185d6: d105 bne.n 80185e4 #if DHCP_CREATE_RAND_XID && defined(LWIP_RAND) xid = LWIP_RAND(); - 8018a48: f002 fd4e bl 801b4e8 - 8018a4c: 4603 mov r3, r0 - 8018a4e: 461a mov r2, r3 - 8018a50: 4b45 ldr r3, [pc, #276] ; (8018b68 ) - 8018a52: 601a str r2, [r3, #0] + 80185d8: f002 fd34 bl 801b044 + 80185dc: 4603 mov r3, r0 + 80185de: 461a mov r2, r3 + 80185e0: 4b45 ldr r3, [pc, #276] ; (80186f8 ) + 80185e2: 601a str r2, [r3, #0] #else /* DHCP_CREATE_RAND_XID && defined(LWIP_RAND) */ xid++; #endif /* DHCP_CREATE_RAND_XID && defined(LWIP_RAND) */ } dhcp->xid = xid; - 8018a54: 4b44 ldr r3, [pc, #272] ; (8018b68 ) - 8018a56: 681a ldr r2, [r3, #0] - 8018a58: 68bb ldr r3, [r7, #8] - 8018a5a: 601a str r2, [r3, #0] + 80185e4: 4b44 ldr r3, [pc, #272] ; (80186f8 ) + 80185e6: 681a ldr r2, [r3, #0] + 80185e8: 68bb ldr r3, [r7, #8] + 80185ea: 601a str r2, [r3, #0] } LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("transaction id xid(%"X32_F")\n", xid)); msg_out = (struct dhcp_msg *)p_out->payload; - 8018a5c: 69bb ldr r3, [r7, #24] - 8018a5e: 685b ldr r3, [r3, #4] - 8018a60: 617b str r3, [r7, #20] + 80185ec: 69bb ldr r3, [r7, #24] + 80185ee: 685b ldr r3, [r3, #4] + 80185f0: 617b str r3, [r7, #20] memset(msg_out, 0, sizeof(struct dhcp_msg)); - 8018a62: f44f 729a mov.w r2, #308 ; 0x134 - 8018a66: 2100 movs r1, #0 - 8018a68: 6978 ldr r0, [r7, #20] - 8018a6a: f002 fd1c bl 801b4a6 + 80185f2: f44f 729a mov.w r2, #308 ; 0x134 + 80185f6: 2100 movs r1, #0 + 80185f8: 6978 ldr r0, [r7, #20] + 80185fa: f002 fd03 bl 801b004 msg_out->op = DHCP_BOOTREQUEST; - 8018a6e: 697b ldr r3, [r7, #20] - 8018a70: 2201 movs r2, #1 - 8018a72: 701a strb r2, [r3, #0] + 80185fe: 697b ldr r3, [r7, #20] + 8018600: 2201 movs r2, #1 + 8018602: 701a strb r2, [r3, #0] /* @todo: make link layer independent */ msg_out->htype = LWIP_IANA_HWTYPE_ETHERNET; - 8018a74: 697b ldr r3, [r7, #20] - 8018a76: 2201 movs r2, #1 - 8018a78: 705a strb r2, [r3, #1] + 8018604: 697b ldr r3, [r7, #20] + 8018606: 2201 movs r2, #1 + 8018608: 705a strb r2, [r3, #1] msg_out->hlen = netif->hwaddr_len; - 8018a7a: 68fb ldr r3, [r7, #12] - 8018a7c: f893 2030 ldrb.w r2, [r3, #48] ; 0x30 - 8018a80: 697b ldr r3, [r7, #20] - 8018a82: 709a strb r2, [r3, #2] + 801860a: 68fb ldr r3, [r7, #12] + 801860c: f893 2030 ldrb.w r2, [r3, #48] ; 0x30 + 8018610: 697b ldr r3, [r7, #20] + 8018612: 709a strb r2, [r3, #2] msg_out->xid = lwip_htonl(dhcp->xid); - 8018a84: 68bb ldr r3, [r7, #8] - 8018a86: 681b ldr r3, [r3, #0] - 8018a88: 4618 mov r0, r3 - 8018a8a: f7f6 fc46 bl 800f31a - 8018a8e: 4602 mov r2, r0 - 8018a90: 697b ldr r3, [r7, #20] - 8018a92: 605a str r2, [r3, #4] + 8018614: 68bb ldr r3, [r7, #8] + 8018616: 681b ldr r3, [r3, #0] + 8018618: 4618 mov r0, r3 + 801861a: f7f6 fc46 bl 800eeaa + 801861e: 4602 mov r2, r0 + 8018620: 697b ldr r3, [r7, #20] + 8018622: 605a str r2, [r3, #4] /* we don't need the broadcast flag since we can receive unicast traffic before being fully configured! */ /* set ciaddr to netif->ip_addr based on message_type and state */ if ((message_type == DHCP_INFORM) || (message_type == DHCP_DECLINE) || (message_type == DHCP_RELEASE) || - 8018a94: 79fb ldrb r3, [r7, #7] - 8018a96: 2b08 cmp r3, #8 - 8018a98: d010 beq.n 8018abc - 8018a9a: 79fb ldrb r3, [r7, #7] - 8018a9c: 2b04 cmp r3, #4 - 8018a9e: d00d beq.n 8018abc - 8018aa0: 79fb ldrb r3, [r7, #7] - 8018aa2: 2b07 cmp r3, #7 - 8018aa4: d00a beq.n 8018abc - 8018aa6: 79fb ldrb r3, [r7, #7] - 8018aa8: 2b03 cmp r3, #3 - 8018aaa: d10c bne.n 8018ac6 + 8018624: 79fb ldrb r3, [r7, #7] + 8018626: 2b08 cmp r3, #8 + 8018628: d010 beq.n 801864c + 801862a: 79fb ldrb r3, [r7, #7] + 801862c: 2b04 cmp r3, #4 + 801862e: d00d beq.n 801864c + 8018630: 79fb ldrb r3, [r7, #7] + 8018632: 2b07 cmp r3, #7 + 8018634: d00a beq.n 801864c + 8018636: 79fb ldrb r3, [r7, #7] + 8018638: 2b03 cmp r3, #3 + 801863a: d10c bne.n 8018656 ((message_type == DHCP_REQUEST) && /* DHCP_STATE_BOUND not used for sending! */ ((dhcp->state == DHCP_STATE_RENEWING) || dhcp->state == DHCP_STATE_REBINDING))) { - 8018aac: 68bb ldr r3, [r7, #8] - 8018aae: 795b ldrb r3, [r3, #5] + 801863c: 68bb ldr r3, [r7, #8] + 801863e: 795b ldrb r3, [r3, #5] ((message_type == DHCP_REQUEST) && /* DHCP_STATE_BOUND not used for sending! */ - 8018ab0: 2b05 cmp r3, #5 - 8018ab2: d003 beq.n 8018abc + 8018640: 2b05 cmp r3, #5 + 8018642: d003 beq.n 801864c ((dhcp->state == DHCP_STATE_RENEWING) || dhcp->state == DHCP_STATE_REBINDING))) { - 8018ab4: 68bb ldr r3, [r7, #8] - 8018ab6: 795b ldrb r3, [r3, #5] - 8018ab8: 2b04 cmp r3, #4 - 8018aba: d104 bne.n 8018ac6 + 8018644: 68bb ldr r3, [r7, #8] + 8018646: 795b ldrb r3, [r3, #5] + 8018648: 2b04 cmp r3, #4 + 801864a: d104 bne.n 8018656 ip4_addr_copy(msg_out->ciaddr, *netif_ip4_addr(netif)); - 8018abc: 68fb ldr r3, [r7, #12] - 8018abe: 3304 adds r3, #4 - 8018ac0: 681a ldr r2, [r3, #0] - 8018ac2: 697b ldr r3, [r7, #20] - 8018ac4: 60da str r2, [r3, #12] + 801864c: 68fb ldr r3, [r7, #12] + 801864e: 3304 adds r3, #4 + 8018650: 681a ldr r2, [r3, #0] + 8018652: 697b ldr r3, [r7, #20] + 8018654: 60da str r2, [r3, #12] } for (i = 0; i < LWIP_MIN(DHCP_CHADDR_LEN, NETIF_MAX_HWADDR_LEN); i++) { - 8018ac6: 2300 movs r3, #0 - 8018ac8: 83fb strh r3, [r7, #30] - 8018aca: e00c b.n 8018ae6 + 8018656: 2300 movs r3, #0 + 8018658: 83fb strh r3, [r7, #30] + 801865a: e00c b.n 8018676 /* copy netif hardware address (padded with zeroes through memset already) */ msg_out->chaddr[i] = netif->hwaddr[i]; - 8018acc: 8bfa ldrh r2, [r7, #30] - 8018ace: 8bfb ldrh r3, [r7, #30] - 8018ad0: 68f9 ldr r1, [r7, #12] - 8018ad2: 440a add r2, r1 - 8018ad4: f892 102a ldrb.w r1, [r2, #42] ; 0x2a - 8018ad8: 697a ldr r2, [r7, #20] - 8018ada: 4413 add r3, r2 - 8018adc: 460a mov r2, r1 - 8018ade: 771a strb r2, [r3, #28] + 801865c: 8bfa ldrh r2, [r7, #30] + 801865e: 8bfb ldrh r3, [r7, #30] + 8018660: 68f9 ldr r1, [r7, #12] + 8018662: 440a add r2, r1 + 8018664: f892 102a ldrb.w r1, [r2, #42] ; 0x2a + 8018668: 697a ldr r2, [r7, #20] + 801866a: 4413 add r3, r2 + 801866c: 460a mov r2, r1 + 801866e: 771a strb r2, [r3, #28] for (i = 0; i < LWIP_MIN(DHCP_CHADDR_LEN, NETIF_MAX_HWADDR_LEN); i++) { - 8018ae0: 8bfb ldrh r3, [r7, #30] - 8018ae2: 3301 adds r3, #1 - 8018ae4: 83fb strh r3, [r7, #30] - 8018ae6: 8bfb ldrh r3, [r7, #30] - 8018ae8: 2b05 cmp r3, #5 - 8018aea: d9ef bls.n 8018acc + 8018670: 8bfb ldrh r3, [r7, #30] + 8018672: 3301 adds r3, #1 + 8018674: 83fb strh r3, [r7, #30] + 8018676: 8bfb ldrh r3, [r7, #30] + 8018678: 2b05 cmp r3, #5 + 801867a: d9ef bls.n 801865c } msg_out->cookie = PP_HTONL(DHCP_MAGIC_COOKIE); - 8018aec: 697b ldr r3, [r7, #20] - 8018aee: 2200 movs r2, #0 - 8018af0: f042 0263 orr.w r2, r2, #99 ; 0x63 - 8018af4: f883 20ec strb.w r2, [r3, #236] ; 0xec - 8018af8: 2200 movs r2, #0 - 8018afa: f062 027d orn r2, r2, #125 ; 0x7d - 8018afe: f883 20ed strb.w r2, [r3, #237] ; 0xed - 8018b02: 2200 movs r2, #0 - 8018b04: f042 0253 orr.w r2, r2, #83 ; 0x53 - 8018b08: f883 20ee strb.w r2, [r3, #238] ; 0xee - 8018b0c: 2200 movs r2, #0 - 8018b0e: f042 0263 orr.w r2, r2, #99 ; 0x63 - 8018b12: f883 20ef strb.w r2, [r3, #239] ; 0xef + 801867c: 697b ldr r3, [r7, #20] + 801867e: 2200 movs r2, #0 + 8018680: f042 0263 orr.w r2, r2, #99 ; 0x63 + 8018684: f883 20ec strb.w r2, [r3, #236] ; 0xec + 8018688: 2200 movs r2, #0 + 801868a: f062 027d orn r2, r2, #125 ; 0x7d + 801868e: f883 20ed strb.w r2, [r3, #237] ; 0xed + 8018692: 2200 movs r2, #0 + 8018694: f042 0253 orr.w r2, r2, #83 ; 0x53 + 8018698: f883 20ee strb.w r2, [r3, #238] ; 0xee + 801869c: 2200 movs r2, #0 + 801869e: f042 0263 orr.w r2, r2, #99 ; 0x63 + 80186a2: f883 20ef strb.w r2, [r3, #239] ; 0xef /* Add option MESSAGE_TYPE */ options_out_len_loc = dhcp_option(0, msg_out->options, DHCP_OPTION_MESSAGE_TYPE, DHCP_OPTION_MESSAGE_TYPE_LEN); - 8018b16: 697b ldr r3, [r7, #20] - 8018b18: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8018b1c: 2301 movs r3, #1 - 8018b1e: 2235 movs r2, #53 ; 0x35 - 8018b20: 2000 movs r0, #0 - 8018b22: f7ff fadd bl 80180e0 - 8018b26: 4603 mov r3, r0 - 8018b28: 827b strh r3, [r7, #18] + 80186a6: 697b ldr r3, [r7, #20] + 80186a8: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 80186ac: 2301 movs r3, #1 + 80186ae: 2235 movs r2, #53 ; 0x35 + 80186b0: 2000 movs r0, #0 + 80186b2: f7ff fadd bl 8017c70 + 80186b6: 4603 mov r3, r0 + 80186b8: 827b strh r3, [r7, #18] options_out_len_loc = dhcp_option_byte(options_out_len_loc, msg_out->options, message_type); - 8018b2a: 697b ldr r3, [r7, #20] - 8018b2c: f103 01f0 add.w r1, r3, #240 ; 0xf0 - 8018b30: 79fa ldrb r2, [r7, #7] - 8018b32: 8a7b ldrh r3, [r7, #18] - 8018b34: 4618 mov r0, r3 - 8018b36: f7ff fb07 bl 8018148 - 8018b3a: 4603 mov r3, r0 - 8018b3c: 827b strh r3, [r7, #18] + 80186ba: 697b ldr r3, [r7, #20] + 80186bc: f103 01f0 add.w r1, r3, #240 ; 0xf0 + 80186c0: 79fa ldrb r2, [r7, #7] + 80186c2: 8a7b ldrh r3, [r7, #18] + 80186c4: 4618 mov r0, r3 + 80186c6: f7ff fb07 bl 8017cd8 + 80186ca: 4603 mov r3, r0 + 80186cc: 827b strh r3, [r7, #18] if (options_out_len) { - 8018b3e: 683b ldr r3, [r7, #0] - 8018b40: 2b00 cmp r3, #0 - 8018b42: d002 beq.n 8018b4a + 80186ce: 683b ldr r3, [r7, #0] + 80186d0: 2b00 cmp r3, #0 + 80186d2: d002 beq.n 80186da *options_out_len = options_out_len_loc; - 8018b44: 683b ldr r3, [r7, #0] - 8018b46: 8a7a ldrh r2, [r7, #18] - 8018b48: 801a strh r2, [r3, #0] + 80186d4: 683b ldr r3, [r7, #0] + 80186d6: 8a7a ldrh r2, [r7, #18] + 80186d8: 801a strh r2, [r3, #0] } return p_out; - 8018b4a: 69bb ldr r3, [r7, #24] + 80186da: 69bb ldr r3, [r7, #24] } - 8018b4c: 4618 mov r0, r3 - 8018b4e: 3720 adds r7, #32 - 8018b50: 46bd mov sp, r7 - 8018b52: bd80 pop {r7, pc} - 8018b54: 0801eb9c .word 0x0801eb9c - 8018b58: 0801eebc .word 0x0801eebc - 8018b5c: 0801ebfc .word 0x0801ebfc - 8018b60: 0801eedc .word 0x0801eedc - 8018b64: 0801eefc .word 0x0801eefc - 8018b68: 20008774 .word 0x20008774 + 80186dc: 4618 mov r0, r3 + 80186de: 3720 adds r7, #32 + 80186e0: 46bd mov sp, r7 + 80186e2: bd80 pop {r7, pc} + 80186e4: 0801e398 .word 0x0801e398 + 80186e8: 0801e6b8 .word 0x0801e6b8 + 80186ec: 0801e3f8 .word 0x0801e3f8 + 80186f0: 0801e6d8 .word 0x0801e6d8 + 80186f4: 0801e6f8 .word 0x0801e6f8 + 80186f8: 20008774 .word 0x20008774 -08018b6c : +080186fc : * Adds the END option to the DHCP message, and if * necessary, up to three padding bytes. */ static void dhcp_option_trailer(u16_t options_out_len, u8_t *options, struct pbuf *p_out) { - 8018b6c: b580 push {r7, lr} - 8018b6e: b084 sub sp, #16 - 8018b70: af00 add r7, sp, #0 - 8018b72: 4603 mov r3, r0 - 8018b74: 60b9 str r1, [r7, #8] - 8018b76: 607a str r2, [r7, #4] - 8018b78: 81fb strh r3, [r7, #14] + 80186fc: b580 push {r7, lr} + 80186fe: b084 sub sp, #16 + 8018700: af00 add r7, sp, #0 + 8018702: 4603 mov r3, r0 + 8018704: 60b9 str r1, [r7, #8] + 8018706: 607a str r2, [r7, #4] + 8018708: 81fb strh r3, [r7, #14] options[options_out_len++] = DHCP_OPTION_END; - 8018b7a: 89fb ldrh r3, [r7, #14] - 8018b7c: 1c5a adds r2, r3, #1 - 8018b7e: 81fa strh r2, [r7, #14] - 8018b80: 461a mov r2, r3 - 8018b82: 68bb ldr r3, [r7, #8] - 8018b84: 4413 add r3, r2 - 8018b86: 22ff movs r2, #255 ; 0xff - 8018b88: 701a strb r2, [r3, #0] + 801870a: 89fb ldrh r3, [r7, #14] + 801870c: 1c5a adds r2, r3, #1 + 801870e: 81fa strh r2, [r7, #14] + 8018710: 461a mov r2, r3 + 8018712: 68bb ldr r3, [r7, #8] + 8018714: 4413 add r3, r2 + 8018716: 22ff movs r2, #255 ; 0xff + 8018718: 701a strb r2, [r3, #0] /* packet is too small, or not 4 byte aligned? */ while (((options_out_len < DHCP_MIN_OPTIONS_LEN) || (options_out_len & 3)) && - 8018b8a: e007 b.n 8018b9c + 801871a: e007 b.n 801872c (options_out_len < DHCP_OPTIONS_LEN)) { /* add a fill/padding byte */ options[options_out_len++] = 0; - 8018b8c: 89fb ldrh r3, [r7, #14] - 8018b8e: 1c5a adds r2, r3, #1 - 8018b90: 81fa strh r2, [r7, #14] - 8018b92: 461a mov r2, r3 - 8018b94: 68bb ldr r3, [r7, #8] - 8018b96: 4413 add r3, r2 - 8018b98: 2200 movs r2, #0 - 8018b9a: 701a strb r2, [r3, #0] + 801871c: 89fb ldrh r3, [r7, #14] + 801871e: 1c5a adds r2, r3, #1 + 8018720: 81fa strh r2, [r7, #14] + 8018722: 461a mov r2, r3 + 8018724: 68bb ldr r3, [r7, #8] + 8018726: 4413 add r3, r2 + 8018728: 2200 movs r2, #0 + 801872a: 701a strb r2, [r3, #0] while (((options_out_len < DHCP_MIN_OPTIONS_LEN) || (options_out_len & 3)) && - 8018b9c: 89fb ldrh r3, [r7, #14] - 8018b9e: 2b43 cmp r3, #67 ; 0x43 - 8018ba0: d904 bls.n 8018bac - 8018ba2: 89fb ldrh r3, [r7, #14] - 8018ba4: f003 0303 and.w r3, r3, #3 - 8018ba8: 2b00 cmp r3, #0 - 8018baa: d002 beq.n 8018bb2 - 8018bac: 89fb ldrh r3, [r7, #14] - 8018bae: 2b43 cmp r3, #67 ; 0x43 - 8018bb0: d9ec bls.n 8018b8c + 801872c: 89fb ldrh r3, [r7, #14] + 801872e: 2b43 cmp r3, #67 ; 0x43 + 8018730: d904 bls.n 801873c + 8018732: 89fb ldrh r3, [r7, #14] + 8018734: f003 0303 and.w r3, r3, #3 + 8018738: 2b00 cmp r3, #0 + 801873a: d002 beq.n 8018742 + 801873c: 89fb ldrh r3, [r7, #14] + 801873e: 2b43 cmp r3, #67 ; 0x43 + 8018740: d9ec bls.n 801871c } /* shrink the pbuf to the actual content length */ pbuf_realloc(p_out, (u16_t)(sizeof(struct dhcp_msg) - DHCP_OPTIONS_LEN + options_out_len)); - 8018bb2: 89fb ldrh r3, [r7, #14] - 8018bb4: 33f0 adds r3, #240 ; 0xf0 - 8018bb6: b29b uxth r3, r3 - 8018bb8: 4619 mov r1, r3 - 8018bba: 6878 ldr r0, [r7, #4] - 8018bbc: f7f7 fdc6 bl 801074c + 8018742: 89fb ldrh r3, [r7, #14] + 8018744: 33f0 adds r3, #240 ; 0xf0 + 8018746: b29b uxth r3, r3 + 8018748: 4619 mov r1, r3 + 801874a: 6878 ldr r0, [r7, #4] + 801874c: f7f7 fdc6 bl 80102dc } - 8018bc0: bf00 nop - 8018bc2: 3710 adds r7, #16 - 8018bc4: 46bd mov sp, r7 - 8018bc6: bd80 pop {r7, pc} + 8018750: bf00 nop + 8018752: 3710 adds r7, #16 + 8018754: 46bd mov sp, r7 + 8018756: bd80 pop {r7, pc} -08018bc8 : +08018758 : * @return 1 if DHCP supplied netif->ip_addr (states BOUND or RENEWING), * 0 otherwise */ u8_t dhcp_supplied_address(const struct netif *netif) { - 8018bc8: b480 push {r7} - 8018bca: b085 sub sp, #20 - 8018bcc: af00 add r7, sp, #0 - 8018bce: 6078 str r0, [r7, #4] + 8018758: b480 push {r7} + 801875a: b085 sub sp, #20 + 801875c: af00 add r7, sp, #0 + 801875e: 6078 str r0, [r7, #4] if ((netif != NULL) && (netif_dhcp_data(netif) != NULL)) { - 8018bd0: 687b ldr r3, [r7, #4] - 8018bd2: 2b00 cmp r3, #0 - 8018bd4: d017 beq.n 8018c06 - 8018bd6: 687b ldr r3, [r7, #4] - 8018bd8: 6a5b ldr r3, [r3, #36] ; 0x24 - 8018bda: 2b00 cmp r3, #0 - 8018bdc: d013 beq.n 8018c06 + 8018760: 687b ldr r3, [r7, #4] + 8018762: 2b00 cmp r3, #0 + 8018764: d017 beq.n 8018796 + 8018766: 687b ldr r3, [r7, #4] + 8018768: 6a5b ldr r3, [r3, #36] ; 0x24 + 801876a: 2b00 cmp r3, #0 + 801876c: d013 beq.n 8018796 struct dhcp *dhcp = netif_dhcp_data(netif); - 8018bde: 687b ldr r3, [r7, #4] - 8018be0: 6a5b ldr r3, [r3, #36] ; 0x24 - 8018be2: 60fb str r3, [r7, #12] + 801876e: 687b ldr r3, [r7, #4] + 8018770: 6a5b ldr r3, [r3, #36] ; 0x24 + 8018772: 60fb str r3, [r7, #12] return (dhcp->state == DHCP_STATE_BOUND) || (dhcp->state == DHCP_STATE_RENEWING) || - 8018be4: 68fb ldr r3, [r7, #12] - 8018be6: 795b ldrb r3, [r3, #5] - 8018be8: 2b0a cmp r3, #10 - 8018bea: d007 beq.n 8018bfc - 8018bec: 68fb ldr r3, [r7, #12] - 8018bee: 795b ldrb r3, [r3, #5] - 8018bf0: 2b05 cmp r3, #5 - 8018bf2: d003 beq.n 8018bfc + 8018774: 68fb ldr r3, [r7, #12] + 8018776: 795b ldrb r3, [r3, #5] + 8018778: 2b0a cmp r3, #10 + 801877a: d007 beq.n 801878c + 801877c: 68fb ldr r3, [r7, #12] + 801877e: 795b ldrb r3, [r3, #5] + 8018780: 2b05 cmp r3, #5 + 8018782: d003 beq.n 801878c (dhcp->state == DHCP_STATE_REBINDING); - 8018bf4: 68fb ldr r3, [r7, #12] - 8018bf6: 795b ldrb r3, [r3, #5] + 8018784: 68fb ldr r3, [r7, #12] + 8018786: 795b ldrb r3, [r3, #5] return (dhcp->state == DHCP_STATE_BOUND) || (dhcp->state == DHCP_STATE_RENEWING) || - 8018bf8: 2b04 cmp r3, #4 - 8018bfa: d101 bne.n 8018c00 - 8018bfc: 2301 movs r3, #1 - 8018bfe: e000 b.n 8018c02 - 8018c00: 2300 movs r3, #0 - 8018c02: b2db uxtb r3, r3 - 8018c04: e000 b.n 8018c08 + 8018788: 2b04 cmp r3, #4 + 801878a: d101 bne.n 8018790 + 801878c: 2301 movs r3, #1 + 801878e: e000 b.n 8018792 + 8018790: 2300 movs r3, #0 + 8018792: b2db uxtb r3, r3 + 8018794: e000 b.n 8018798 } return 0; - 8018c06: 2300 movs r3, #0 + 8018796: 2300 movs r3, #0 } - 8018c08: 4618 mov r0, r3 - 8018c0a: 3714 adds r7, #20 - 8018c0c: 46bd mov sp, r7 - 8018c0e: f85d 7b04 ldr.w r7, [sp], #4 - 8018c12: 4770 bx lr + 8018798: 4618 mov r0, r3 + 801879a: 3714 adds r7, #20 + 801879c: 46bd mov sp, r7 + 801879e: f85d 7b04 ldr.w r7, [sp], #4 + 80187a2: 4770 bx lr -08018c14 : +080187a4 : #endif /* ARP_QUEUEING */ /** Clean up ARP table entries */ static void etharp_free_entry(int i) { - 8018c14: b580 push {r7, lr} - 8018c16: b082 sub sp, #8 - 8018c18: af00 add r7, sp, #0 - 8018c1a: 6078 str r0, [r7, #4] + 80187a4: b580 push {r7, lr} + 80187a6: b082 sub sp, #8 + 80187a8: af00 add r7, sp, #0 + 80187aa: 6078 str r0, [r7, #4] /* remove from SNMP ARP index tree */ mib2_remove_arp_entry(arp_table[i].netif, &arp_table[i].ipaddr); /* and empty packet queue */ if (arp_table[i].q != NULL) { - 8018c1c: 4915 ldr r1, [pc, #84] ; (8018c74 ) - 8018c1e: 687a ldr r2, [r7, #4] - 8018c20: 4613 mov r3, r2 - 8018c22: 005b lsls r3, r3, #1 - 8018c24: 4413 add r3, r2 - 8018c26: 00db lsls r3, r3, #3 - 8018c28: 440b add r3, r1 - 8018c2a: 681b ldr r3, [r3, #0] - 8018c2c: 2b00 cmp r3, #0 - 8018c2e: d013 beq.n 8018c58 + 80187ac: 4915 ldr r1, [pc, #84] ; (8018804 ) + 80187ae: 687a ldr r2, [r7, #4] + 80187b0: 4613 mov r3, r2 + 80187b2: 005b lsls r3, r3, #1 + 80187b4: 4413 add r3, r2 + 80187b6: 00db lsls r3, r3, #3 + 80187b8: 440b add r3, r1 + 80187ba: 681b ldr r3, [r3, #0] + 80187bc: 2b00 cmp r3, #0 + 80187be: d013 beq.n 80187e8 /* remove all queued packets */ LWIP_DEBUGF(ETHARP_DEBUG, ("etharp_free_entry: freeing entry %"U16_F", packet queue %p.\n", (u16_t)i, (void *)(arp_table[i].q))); free_etharp_q(arp_table[i].q); - 8018c30: 4910 ldr r1, [pc, #64] ; (8018c74 ) - 8018c32: 687a ldr r2, [r7, #4] - 8018c34: 4613 mov r3, r2 - 8018c36: 005b lsls r3, r3, #1 - 8018c38: 4413 add r3, r2 - 8018c3a: 00db lsls r3, r3, #3 - 8018c3c: 440b add r3, r1 - 8018c3e: 681b ldr r3, [r3, #0] - 8018c40: 4618 mov r0, r3 - 8018c42: f7f7 ff09 bl 8010a58 + 80187c0: 4910 ldr r1, [pc, #64] ; (8018804 ) + 80187c2: 687a ldr r2, [r7, #4] + 80187c4: 4613 mov r3, r2 + 80187c6: 005b lsls r3, r3, #1 + 80187c8: 4413 add r3, r2 + 80187ca: 00db lsls r3, r3, #3 + 80187cc: 440b add r3, r1 + 80187ce: 681b ldr r3, [r3, #0] + 80187d0: 4618 mov r0, r3 + 80187d2: f7f7 ff09 bl 80105e8 arp_table[i].q = NULL; - 8018c46: 490b ldr r1, [pc, #44] ; (8018c74 ) - 8018c48: 687a ldr r2, [r7, #4] - 8018c4a: 4613 mov r3, r2 - 8018c4c: 005b lsls r3, r3, #1 - 8018c4e: 4413 add r3, r2 - 8018c50: 00db lsls r3, r3, #3 - 8018c52: 440b add r3, r1 - 8018c54: 2200 movs r2, #0 - 8018c56: 601a str r2, [r3, #0] + 80187d6: 490b ldr r1, [pc, #44] ; (8018804 ) + 80187d8: 687a ldr r2, [r7, #4] + 80187da: 4613 mov r3, r2 + 80187dc: 005b lsls r3, r3, #1 + 80187de: 4413 add r3, r2 + 80187e0: 00db lsls r3, r3, #3 + 80187e2: 440b add r3, r1 + 80187e4: 2200 movs r2, #0 + 80187e6: 601a str r2, [r3, #0] } /* recycle entry for re-use */ arp_table[i].state = ETHARP_STATE_EMPTY; - 8018c58: 4906 ldr r1, [pc, #24] ; (8018c74 ) - 8018c5a: 687a ldr r2, [r7, #4] - 8018c5c: 4613 mov r3, r2 - 8018c5e: 005b lsls r3, r3, #1 - 8018c60: 4413 add r3, r2 - 8018c62: 00db lsls r3, r3, #3 - 8018c64: 440b add r3, r1 - 8018c66: 3314 adds r3, #20 - 8018c68: 2200 movs r2, #0 - 8018c6a: 701a strb r2, [r3, #0] + 80187e8: 4906 ldr r1, [pc, #24] ; (8018804 ) + 80187ea: 687a ldr r2, [r7, #4] + 80187ec: 4613 mov r3, r2 + 80187ee: 005b lsls r3, r3, #1 + 80187f0: 4413 add r3, r2 + 80187f2: 00db lsls r3, r3, #3 + 80187f4: 440b add r3, r1 + 80187f6: 3314 adds r3, #20 + 80187f8: 2200 movs r2, #0 + 80187fa: 701a strb r2, [r3, #0] arp_table[i].ctime = 0; arp_table[i].netif = NULL; ip4_addr_set_zero(&arp_table[i].ipaddr); arp_table[i].ethaddr = ethzero; #endif /* LWIP_DEBUG */ } - 8018c6c: bf00 nop - 8018c6e: 3708 adds r7, #8 - 8018c70: 46bd mov sp, r7 - 8018c72: bd80 pop {r7, pc} - 8018c74: 20008778 .word 0x20008778 + 80187fc: bf00 nop + 80187fe: 3708 adds r7, #8 + 8018800: 46bd mov sp, r7 + 8018802: bd80 pop {r7, pc} + 8018804: 20008778 .word 0x20008778 -08018c78 : +08018808 : * This function should be called every ARP_TMR_INTERVAL milliseconds (1 second), * in order to expire entries in the ARP table. */ void etharp_tmr(void) { - 8018c78: b580 push {r7, lr} - 8018c7a: b082 sub sp, #8 - 8018c7c: af00 add r7, sp, #0 + 8018808: b580 push {r7, lr} + 801880a: b082 sub sp, #8 + 801880c: af00 add r7, sp, #0 int i; LWIP_DEBUGF(ETHARP_DEBUG, ("etharp_timer\n")); /* remove expired entries from the ARP table */ for (i = 0; i < ARP_TABLE_SIZE; ++i) { - 8018c7e: 2300 movs r3, #0 - 8018c80: 607b str r3, [r7, #4] - 8018c82: e096 b.n 8018db2 + 801880e: 2300 movs r3, #0 + 8018810: 607b str r3, [r7, #4] + 8018812: e096 b.n 8018942 u8_t state = arp_table[i].state; - 8018c84: 494f ldr r1, [pc, #316] ; (8018dc4 ) - 8018c86: 687a ldr r2, [r7, #4] - 8018c88: 4613 mov r3, r2 - 8018c8a: 005b lsls r3, r3, #1 - 8018c8c: 4413 add r3, r2 - 8018c8e: 00db lsls r3, r3, #3 - 8018c90: 440b add r3, r1 - 8018c92: 3314 adds r3, #20 - 8018c94: 781b ldrb r3, [r3, #0] - 8018c96: 70fb strb r3, [r7, #3] + 8018814: 494f ldr r1, [pc, #316] ; (8018954 ) + 8018816: 687a ldr r2, [r7, #4] + 8018818: 4613 mov r3, r2 + 801881a: 005b lsls r3, r3, #1 + 801881c: 4413 add r3, r2 + 801881e: 00db lsls r3, r3, #3 + 8018820: 440b add r3, r1 + 8018822: 3314 adds r3, #20 + 8018824: 781b ldrb r3, [r3, #0] + 8018826: 70fb strb r3, [r7, #3] if (state != ETHARP_STATE_EMPTY - 8018c98: 78fb ldrb r3, [r7, #3] - 8018c9a: 2b00 cmp r3, #0 - 8018c9c: f000 8086 beq.w 8018dac + 8018828: 78fb ldrb r3, [r7, #3] + 801882a: 2b00 cmp r3, #0 + 801882c: f000 8086 beq.w 801893c #if ETHARP_SUPPORT_STATIC_ENTRIES && (state != ETHARP_STATE_STATIC) #endif /* ETHARP_SUPPORT_STATIC_ENTRIES */ ) { arp_table[i].ctime++; - 8018ca0: 4948 ldr r1, [pc, #288] ; (8018dc4 ) - 8018ca2: 687a ldr r2, [r7, #4] - 8018ca4: 4613 mov r3, r2 - 8018ca6: 005b lsls r3, r3, #1 - 8018ca8: 4413 add r3, r2 - 8018caa: 00db lsls r3, r3, #3 - 8018cac: 440b add r3, r1 - 8018cae: 3312 adds r3, #18 - 8018cb0: 881b ldrh r3, [r3, #0] - 8018cb2: 3301 adds r3, #1 - 8018cb4: b298 uxth r0, r3 - 8018cb6: 4943 ldr r1, [pc, #268] ; (8018dc4 ) - 8018cb8: 687a ldr r2, [r7, #4] - 8018cba: 4613 mov r3, r2 - 8018cbc: 005b lsls r3, r3, #1 - 8018cbe: 4413 add r3, r2 - 8018cc0: 00db lsls r3, r3, #3 - 8018cc2: 440b add r3, r1 - 8018cc4: 3312 adds r3, #18 - 8018cc6: 4602 mov r2, r0 - 8018cc8: 801a strh r2, [r3, #0] + 8018830: 4948 ldr r1, [pc, #288] ; (8018954 ) + 8018832: 687a ldr r2, [r7, #4] + 8018834: 4613 mov r3, r2 + 8018836: 005b lsls r3, r3, #1 + 8018838: 4413 add r3, r2 + 801883a: 00db lsls r3, r3, #3 + 801883c: 440b add r3, r1 + 801883e: 3312 adds r3, #18 + 8018840: 881b ldrh r3, [r3, #0] + 8018842: 3301 adds r3, #1 + 8018844: b298 uxth r0, r3 + 8018846: 4943 ldr r1, [pc, #268] ; (8018954 ) + 8018848: 687a ldr r2, [r7, #4] + 801884a: 4613 mov r3, r2 + 801884c: 005b lsls r3, r3, #1 + 801884e: 4413 add r3, r2 + 8018850: 00db lsls r3, r3, #3 + 8018852: 440b add r3, r1 + 8018854: 3312 adds r3, #18 + 8018856: 4602 mov r2, r0 + 8018858: 801a strh r2, [r3, #0] if ((arp_table[i].ctime >= ARP_MAXAGE) || - 8018cca: 493e ldr r1, [pc, #248] ; (8018dc4 ) - 8018ccc: 687a ldr r2, [r7, #4] - 8018cce: 4613 mov r3, r2 - 8018cd0: 005b lsls r3, r3, #1 - 8018cd2: 4413 add r3, r2 - 8018cd4: 00db lsls r3, r3, #3 - 8018cd6: 440b add r3, r1 - 8018cd8: 3312 adds r3, #18 - 8018cda: 881b ldrh r3, [r3, #0] - 8018cdc: f5b3 7f96 cmp.w r3, #300 ; 0x12c - 8018ce0: d215 bcs.n 8018d0e + 801885a: 493e ldr r1, [pc, #248] ; (8018954 ) + 801885c: 687a ldr r2, [r7, #4] + 801885e: 4613 mov r3, r2 + 8018860: 005b lsls r3, r3, #1 + 8018862: 4413 add r3, r2 + 8018864: 00db lsls r3, r3, #3 + 8018866: 440b add r3, r1 + 8018868: 3312 adds r3, #18 + 801886a: 881b ldrh r3, [r3, #0] + 801886c: f5b3 7f96 cmp.w r3, #300 ; 0x12c + 8018870: d215 bcs.n 801889e ((arp_table[i].state == ETHARP_STATE_PENDING) && - 8018ce2: 4938 ldr r1, [pc, #224] ; (8018dc4 ) - 8018ce4: 687a ldr r2, [r7, #4] - 8018ce6: 4613 mov r3, r2 - 8018ce8: 005b lsls r3, r3, #1 - 8018cea: 4413 add r3, r2 - 8018cec: 00db lsls r3, r3, #3 - 8018cee: 440b add r3, r1 - 8018cf0: 3314 adds r3, #20 - 8018cf2: 781b ldrb r3, [r3, #0] + 8018872: 4938 ldr r1, [pc, #224] ; (8018954 ) + 8018874: 687a ldr r2, [r7, #4] + 8018876: 4613 mov r3, r2 + 8018878: 005b lsls r3, r3, #1 + 801887a: 4413 add r3, r2 + 801887c: 00db lsls r3, r3, #3 + 801887e: 440b add r3, r1 + 8018880: 3314 adds r3, #20 + 8018882: 781b ldrb r3, [r3, #0] if ((arp_table[i].ctime >= ARP_MAXAGE) || - 8018cf4: 2b01 cmp r3, #1 - 8018cf6: d10e bne.n 8018d16 + 8018884: 2b01 cmp r3, #1 + 8018886: d10e bne.n 80188a6 (arp_table[i].ctime >= ARP_MAXPENDING))) { - 8018cf8: 4932 ldr r1, [pc, #200] ; (8018dc4 ) - 8018cfa: 687a ldr r2, [r7, #4] - 8018cfc: 4613 mov r3, r2 - 8018cfe: 005b lsls r3, r3, #1 - 8018d00: 4413 add r3, r2 - 8018d02: 00db lsls r3, r3, #3 - 8018d04: 440b add r3, r1 - 8018d06: 3312 adds r3, #18 - 8018d08: 881b ldrh r3, [r3, #0] + 8018888: 4932 ldr r1, [pc, #200] ; (8018954 ) + 801888a: 687a ldr r2, [r7, #4] + 801888c: 4613 mov r3, r2 + 801888e: 005b lsls r3, r3, #1 + 8018890: 4413 add r3, r2 + 8018892: 00db lsls r3, r3, #3 + 8018894: 440b add r3, r1 + 8018896: 3312 adds r3, #18 + 8018898: 881b ldrh r3, [r3, #0] ((arp_table[i].state == ETHARP_STATE_PENDING) && - 8018d0a: 2b04 cmp r3, #4 - 8018d0c: d903 bls.n 8018d16 + 801889a: 2b04 cmp r3, #4 + 801889c: d903 bls.n 80188a6 /* pending or stable entry has become old! */ LWIP_DEBUGF(ETHARP_DEBUG, ("etharp_timer: expired %s entry %d.\n", arp_table[i].state >= ETHARP_STATE_STABLE ? "stable" : "pending", i)); /* clean up entries that have just been expired */ etharp_free_entry(i); - 8018d0e: 6878 ldr r0, [r7, #4] - 8018d10: f7ff ff80 bl 8018c14 - 8018d14: e04a b.n 8018dac + 801889e: 6878 ldr r0, [r7, #4] + 80188a0: f7ff ff80 bl 80187a4 + 80188a4: e04a b.n 801893c } else if (arp_table[i].state == ETHARP_STATE_STABLE_REREQUESTING_1) { - 8018d16: 492b ldr r1, [pc, #172] ; (8018dc4 ) - 8018d18: 687a ldr r2, [r7, #4] - 8018d1a: 4613 mov r3, r2 - 8018d1c: 005b lsls r3, r3, #1 - 8018d1e: 4413 add r3, r2 - 8018d20: 00db lsls r3, r3, #3 - 8018d22: 440b add r3, r1 - 8018d24: 3314 adds r3, #20 - 8018d26: 781b ldrb r3, [r3, #0] - 8018d28: 2b03 cmp r3, #3 - 8018d2a: d10a bne.n 8018d42 + 80188a6: 492b ldr r1, [pc, #172] ; (8018954 ) + 80188a8: 687a ldr r2, [r7, #4] + 80188aa: 4613 mov r3, r2 + 80188ac: 005b lsls r3, r3, #1 + 80188ae: 4413 add r3, r2 + 80188b0: 00db lsls r3, r3, #3 + 80188b2: 440b add r3, r1 + 80188b4: 3314 adds r3, #20 + 80188b6: 781b ldrb r3, [r3, #0] + 80188b8: 2b03 cmp r3, #3 + 80188ba: d10a bne.n 80188d2 /* Don't send more than one request every 2 seconds. */ arp_table[i].state = ETHARP_STATE_STABLE_REREQUESTING_2; - 8018d2c: 4925 ldr r1, [pc, #148] ; (8018dc4 ) - 8018d2e: 687a ldr r2, [r7, #4] - 8018d30: 4613 mov r3, r2 - 8018d32: 005b lsls r3, r3, #1 - 8018d34: 4413 add r3, r2 - 8018d36: 00db lsls r3, r3, #3 - 8018d38: 440b add r3, r1 - 8018d3a: 3314 adds r3, #20 - 8018d3c: 2204 movs r2, #4 - 8018d3e: 701a strb r2, [r3, #0] - 8018d40: e034 b.n 8018dac + 80188bc: 4925 ldr r1, [pc, #148] ; (8018954 ) + 80188be: 687a ldr r2, [r7, #4] + 80188c0: 4613 mov r3, r2 + 80188c2: 005b lsls r3, r3, #1 + 80188c4: 4413 add r3, r2 + 80188c6: 00db lsls r3, r3, #3 + 80188c8: 440b add r3, r1 + 80188ca: 3314 adds r3, #20 + 80188cc: 2204 movs r2, #4 + 80188ce: 701a strb r2, [r3, #0] + 80188d0: e034 b.n 801893c } else if (arp_table[i].state == ETHARP_STATE_STABLE_REREQUESTING_2) { - 8018d42: 4920 ldr r1, [pc, #128] ; (8018dc4 ) - 8018d44: 687a ldr r2, [r7, #4] - 8018d46: 4613 mov r3, r2 - 8018d48: 005b lsls r3, r3, #1 - 8018d4a: 4413 add r3, r2 - 8018d4c: 00db lsls r3, r3, #3 - 8018d4e: 440b add r3, r1 - 8018d50: 3314 adds r3, #20 - 8018d52: 781b ldrb r3, [r3, #0] - 8018d54: 2b04 cmp r3, #4 - 8018d56: d10a bne.n 8018d6e + 80188d2: 4920 ldr r1, [pc, #128] ; (8018954 ) + 80188d4: 687a ldr r2, [r7, #4] + 80188d6: 4613 mov r3, r2 + 80188d8: 005b lsls r3, r3, #1 + 80188da: 4413 add r3, r2 + 80188dc: 00db lsls r3, r3, #3 + 80188de: 440b add r3, r1 + 80188e0: 3314 adds r3, #20 + 80188e2: 781b ldrb r3, [r3, #0] + 80188e4: 2b04 cmp r3, #4 + 80188e6: d10a bne.n 80188fe /* Reset state to stable, so that the next transmitted packet will re-send an ARP request. */ arp_table[i].state = ETHARP_STATE_STABLE; - 8018d58: 491a ldr r1, [pc, #104] ; (8018dc4 ) - 8018d5a: 687a ldr r2, [r7, #4] - 8018d5c: 4613 mov r3, r2 - 8018d5e: 005b lsls r3, r3, #1 - 8018d60: 4413 add r3, r2 - 8018d62: 00db lsls r3, r3, #3 - 8018d64: 440b add r3, r1 - 8018d66: 3314 adds r3, #20 - 8018d68: 2202 movs r2, #2 - 8018d6a: 701a strb r2, [r3, #0] - 8018d6c: e01e b.n 8018dac + 80188e8: 491a ldr r1, [pc, #104] ; (8018954 ) + 80188ea: 687a ldr r2, [r7, #4] + 80188ec: 4613 mov r3, r2 + 80188ee: 005b lsls r3, r3, #1 + 80188f0: 4413 add r3, r2 + 80188f2: 00db lsls r3, r3, #3 + 80188f4: 440b add r3, r1 + 80188f6: 3314 adds r3, #20 + 80188f8: 2202 movs r2, #2 + 80188fa: 701a strb r2, [r3, #0] + 80188fc: e01e b.n 801893c } else if (arp_table[i].state == ETHARP_STATE_PENDING) { - 8018d6e: 4915 ldr r1, [pc, #84] ; (8018dc4 ) - 8018d70: 687a ldr r2, [r7, #4] - 8018d72: 4613 mov r3, r2 - 8018d74: 005b lsls r3, r3, #1 - 8018d76: 4413 add r3, r2 - 8018d78: 00db lsls r3, r3, #3 - 8018d7a: 440b add r3, r1 - 8018d7c: 3314 adds r3, #20 - 8018d7e: 781b ldrb r3, [r3, #0] - 8018d80: 2b01 cmp r3, #1 - 8018d82: d113 bne.n 8018dac + 80188fe: 4915 ldr r1, [pc, #84] ; (8018954 ) + 8018900: 687a ldr r2, [r7, #4] + 8018902: 4613 mov r3, r2 + 8018904: 005b lsls r3, r3, #1 + 8018906: 4413 add r3, r2 + 8018908: 00db lsls r3, r3, #3 + 801890a: 440b add r3, r1 + 801890c: 3314 adds r3, #20 + 801890e: 781b ldrb r3, [r3, #0] + 8018910: 2b01 cmp r3, #1 + 8018912: d113 bne.n 801893c /* still pending, resend an ARP query */ etharp_request(arp_table[i].netif, &arp_table[i].ipaddr); - 8018d84: 490f ldr r1, [pc, #60] ; (8018dc4 ) - 8018d86: 687a ldr r2, [r7, #4] - 8018d88: 4613 mov r3, r2 - 8018d8a: 005b lsls r3, r3, #1 - 8018d8c: 4413 add r3, r2 - 8018d8e: 00db lsls r3, r3, #3 - 8018d90: 440b add r3, r1 - 8018d92: 3308 adds r3, #8 - 8018d94: 6818 ldr r0, [r3, #0] - 8018d96: 687a ldr r2, [r7, #4] - 8018d98: 4613 mov r3, r2 - 8018d9a: 005b lsls r3, r3, #1 - 8018d9c: 4413 add r3, r2 - 8018d9e: 00db lsls r3, r3, #3 - 8018da0: 4a08 ldr r2, [pc, #32] ; (8018dc4 ) - 8018da2: 4413 add r3, r2 - 8018da4: 3304 adds r3, #4 - 8018da6: 4619 mov r1, r3 - 8018da8: f000 fe72 bl 8019a90 + 8018914: 490f ldr r1, [pc, #60] ; (8018954 ) + 8018916: 687a ldr r2, [r7, #4] + 8018918: 4613 mov r3, r2 + 801891a: 005b lsls r3, r3, #1 + 801891c: 4413 add r3, r2 + 801891e: 00db lsls r3, r3, #3 + 8018920: 440b add r3, r1 + 8018922: 3308 adds r3, #8 + 8018924: 6818 ldr r0, [r3, #0] + 8018926: 687a ldr r2, [r7, #4] + 8018928: 4613 mov r3, r2 + 801892a: 005b lsls r3, r3, #1 + 801892c: 4413 add r3, r2 + 801892e: 00db lsls r3, r3, #3 + 8018930: 4a08 ldr r2, [pc, #32] ; (8018954 ) + 8018932: 4413 add r3, r2 + 8018934: 3304 adds r3, #4 + 8018936: 4619 mov r1, r3 + 8018938: f000 fe72 bl 8019620 for (i = 0; i < ARP_TABLE_SIZE; ++i) { - 8018dac: 687b ldr r3, [r7, #4] - 8018dae: 3301 adds r3, #1 - 8018db0: 607b str r3, [r7, #4] - 8018db2: 687b ldr r3, [r7, #4] - 8018db4: 2b09 cmp r3, #9 - 8018db6: f77f af65 ble.w 8018c84 + 801893c: 687b ldr r3, [r7, #4] + 801893e: 3301 adds r3, #1 + 8018940: 607b str r3, [r7, #4] + 8018942: 687b ldr r3, [r7, #4] + 8018944: 2b09 cmp r3, #9 + 8018946: f77f af65 ble.w 8018814 } } } } - 8018dba: bf00 nop - 8018dbc: 3708 adds r7, #8 - 8018dbe: 46bd mov sp, r7 - 8018dc0: bd80 pop {r7, pc} - 8018dc2: bf00 nop - 8018dc4: 20008778 .word 0x20008778 + 801894a: bf00 nop + 801894c: 3708 adds r7, #8 + 801894e: 46bd mov sp, r7 + 8018950: bd80 pop {r7, pc} + 8018952: bf00 nop + 8018954: 20008778 .word 0x20008778 -08018dc8 : +08018958 : * @return The ARP entry index that matched or is created, ERR_MEM if no * entry is found or could be recycled. */ static s16_t etharp_find_entry(const ip4_addr_t *ipaddr, u8_t flags, struct netif *netif) { - 8018dc8: b580 push {r7, lr} - 8018dca: b08a sub sp, #40 ; 0x28 - 8018dcc: af00 add r7, sp, #0 - 8018dce: 60f8 str r0, [r7, #12] - 8018dd0: 460b mov r3, r1 - 8018dd2: 607a str r2, [r7, #4] - 8018dd4: 72fb strb r3, [r7, #11] + 8018958: b580 push {r7, lr} + 801895a: b08a sub sp, #40 ; 0x28 + 801895c: af00 add r7, sp, #0 + 801895e: 60f8 str r0, [r7, #12] + 8018960: 460b mov r3, r1 + 8018962: 607a str r2, [r7, #4] + 8018964: 72fb strb r3, [r7, #11] s16_t old_pending = ARP_TABLE_SIZE, old_stable = ARP_TABLE_SIZE; - 8018dd6: 230a movs r3, #10 - 8018dd8: 84fb strh r3, [r7, #38] ; 0x26 - 8018dda: 230a movs r3, #10 - 8018ddc: 84bb strh r3, [r7, #36] ; 0x24 + 8018966: 230a movs r3, #10 + 8018968: 84fb strh r3, [r7, #38] ; 0x26 + 801896a: 230a movs r3, #10 + 801896c: 84bb strh r3, [r7, #36] ; 0x24 s16_t empty = ARP_TABLE_SIZE; - 8018dde: 230a movs r3, #10 - 8018de0: 847b strh r3, [r7, #34] ; 0x22 + 801896e: 230a movs r3, #10 + 8018970: 847b strh r3, [r7, #34] ; 0x22 s16_t i = 0; - 8018de2: 2300 movs r3, #0 - 8018de4: 843b strh r3, [r7, #32] + 8018972: 2300 movs r3, #0 + 8018974: 843b strh r3, [r7, #32] /* oldest entry with packets on queue */ s16_t old_queue = ARP_TABLE_SIZE; - 8018de6: 230a movs r3, #10 - 8018de8: 83fb strh r3, [r7, #30] + 8018976: 230a movs r3, #10 + 8018978: 83fb strh r3, [r7, #30] /* its age */ u16_t age_queue = 0, age_pending = 0, age_stable = 0; - 8018dea: 2300 movs r3, #0 - 8018dec: 83bb strh r3, [r7, #28] - 8018dee: 2300 movs r3, #0 - 8018df0: 837b strh r3, [r7, #26] - 8018df2: 2300 movs r3, #0 - 8018df4: 833b strh r3, [r7, #24] + 801897a: 2300 movs r3, #0 + 801897c: 83bb strh r3, [r7, #28] + 801897e: 2300 movs r3, #0 + 8018980: 837b strh r3, [r7, #26] + 8018982: 2300 movs r3, #0 + 8018984: 833b strh r3, [r7, #24] * 4) remember the oldest pending entry with queued packets (if any) * 5) search for a matching IP entry, either pending or stable * until 5 matches, or all entries are searched for. */ for (i = 0; i < ARP_TABLE_SIZE; ++i) { - 8018df6: 2300 movs r3, #0 - 8018df8: 843b strh r3, [r7, #32] - 8018dfa: e0ae b.n 8018f5a + 8018986: 2300 movs r3, #0 + 8018988: 843b strh r3, [r7, #32] + 801898a: e0ae b.n 8018aea u8_t state = arp_table[i].state; - 8018dfc: f9b7 2020 ldrsh.w r2, [r7, #32] - 8018e00: 49a6 ldr r1, [pc, #664] ; (801909c ) - 8018e02: 4613 mov r3, r2 - 8018e04: 005b lsls r3, r3, #1 - 8018e06: 4413 add r3, r2 - 8018e08: 00db lsls r3, r3, #3 - 8018e0a: 440b add r3, r1 - 8018e0c: 3314 adds r3, #20 - 8018e0e: 781b ldrb r3, [r3, #0] - 8018e10: 75fb strb r3, [r7, #23] + 801898c: f9b7 2020 ldrsh.w r2, [r7, #32] + 8018990: 49a6 ldr r1, [pc, #664] ; (8018c2c ) + 8018992: 4613 mov r3, r2 + 8018994: 005b lsls r3, r3, #1 + 8018996: 4413 add r3, r2 + 8018998: 00db lsls r3, r3, #3 + 801899a: 440b add r3, r1 + 801899c: 3314 adds r3, #20 + 801899e: 781b ldrb r3, [r3, #0] + 80189a0: 75fb strb r3, [r7, #23] /* no empty entry found yet and now we do find one? */ if ((empty == ARP_TABLE_SIZE) && (state == ETHARP_STATE_EMPTY)) { - 8018e12: f9b7 3022 ldrsh.w r3, [r7, #34] ; 0x22 - 8018e16: 2b0a cmp r3, #10 - 8018e18: d105 bne.n 8018e26 - 8018e1a: 7dfb ldrb r3, [r7, #23] - 8018e1c: 2b00 cmp r3, #0 - 8018e1e: d102 bne.n 8018e26 + 80189a2: f9b7 3022 ldrsh.w r3, [r7, #34] ; 0x22 + 80189a6: 2b0a cmp r3, #10 + 80189a8: d105 bne.n 80189b6 + 80189aa: 7dfb ldrb r3, [r7, #23] + 80189ac: 2b00 cmp r3, #0 + 80189ae: d102 bne.n 80189b6 LWIP_DEBUGF(ETHARP_DEBUG, ("etharp_find_entry: found empty entry %d\n", (int)i)); /* remember first empty entry */ empty = i; - 8018e20: 8c3b ldrh r3, [r7, #32] - 8018e22: 847b strh r3, [r7, #34] ; 0x22 - 8018e24: e095 b.n 8018f52 + 80189b0: 8c3b ldrh r3, [r7, #32] + 80189b2: 847b strh r3, [r7, #34] ; 0x22 + 80189b4: e095 b.n 8018ae2 } else if (state != ETHARP_STATE_EMPTY) { - 8018e26: 7dfb ldrb r3, [r7, #23] - 8018e28: 2b00 cmp r3, #0 - 8018e2a: f000 8092 beq.w 8018f52 + 80189b6: 7dfb ldrb r3, [r7, #23] + 80189b8: 2b00 cmp r3, #0 + 80189ba: f000 8092 beq.w 8018ae2 LWIP_ASSERT("state == ETHARP_STATE_PENDING || state >= ETHARP_STATE_STABLE", - 8018e2e: 7dfb ldrb r3, [r7, #23] - 8018e30: 2b01 cmp r3, #1 - 8018e32: d009 beq.n 8018e48 - 8018e34: 7dfb ldrb r3, [r7, #23] - 8018e36: 2b01 cmp r3, #1 - 8018e38: d806 bhi.n 8018e48 - 8018e3a: 4b99 ldr r3, [pc, #612] ; (80190a0 ) - 8018e3c: f44f 7292 mov.w r2, #292 ; 0x124 - 8018e40: 4998 ldr r1, [pc, #608] ; (80190a4 ) - 8018e42: 4899 ldr r0, [pc, #612] ; (80190a8 ) - 8018e44: f002 fb38 bl 801b4b8 + 80189be: 7dfb ldrb r3, [r7, #23] + 80189c0: 2b01 cmp r3, #1 + 80189c2: d009 beq.n 80189d8 + 80189c4: 7dfb ldrb r3, [r7, #23] + 80189c6: 2b01 cmp r3, #1 + 80189c8: d806 bhi.n 80189d8 + 80189ca: 4b99 ldr r3, [pc, #612] ; (8018c30 ) + 80189cc: f44f 7292 mov.w r2, #292 ; 0x124 + 80189d0: 4998 ldr r1, [pc, #608] ; (8018c34 ) + 80189d2: 4899 ldr r0, [pc, #612] ; (8018c38 ) + 80189d4: f002 fb1e bl 801b014 state == ETHARP_STATE_PENDING || state >= ETHARP_STATE_STABLE); /* if given, does IP address match IP address in ARP entry? */ if (ipaddr && ip4_addr_cmp(ipaddr, &arp_table[i].ipaddr) - 8018e48: 68fb ldr r3, [r7, #12] - 8018e4a: 2b00 cmp r3, #0 - 8018e4c: d020 beq.n 8018e90 - 8018e4e: 68fb ldr r3, [r7, #12] - 8018e50: 6819 ldr r1, [r3, #0] - 8018e52: f9b7 2020 ldrsh.w r2, [r7, #32] - 8018e56: 4891 ldr r0, [pc, #580] ; (801909c ) - 8018e58: 4613 mov r3, r2 - 8018e5a: 005b lsls r3, r3, #1 - 8018e5c: 4413 add r3, r2 - 8018e5e: 00db lsls r3, r3, #3 - 8018e60: 4403 add r3, r0 - 8018e62: 3304 adds r3, #4 - 8018e64: 681b ldr r3, [r3, #0] - 8018e66: 4299 cmp r1, r3 - 8018e68: d112 bne.n 8018e90 + 80189d8: 68fb ldr r3, [r7, #12] + 80189da: 2b00 cmp r3, #0 + 80189dc: d020 beq.n 8018a20 + 80189de: 68fb ldr r3, [r7, #12] + 80189e0: 6819 ldr r1, [r3, #0] + 80189e2: f9b7 2020 ldrsh.w r2, [r7, #32] + 80189e6: 4891 ldr r0, [pc, #580] ; (8018c2c ) + 80189e8: 4613 mov r3, r2 + 80189ea: 005b lsls r3, r3, #1 + 80189ec: 4413 add r3, r2 + 80189ee: 00db lsls r3, r3, #3 + 80189f0: 4403 add r3, r0 + 80189f2: 3304 adds r3, #4 + 80189f4: 681b ldr r3, [r3, #0] + 80189f6: 4299 cmp r1, r3 + 80189f8: d112 bne.n 8018a20 #if ETHARP_TABLE_MATCH_NETIF && ((netif == NULL) || (netif == arp_table[i].netif)) - 8018e6a: 687b ldr r3, [r7, #4] - 8018e6c: 2b00 cmp r3, #0 - 8018e6e: d00c beq.n 8018e8a - 8018e70: f9b7 2020 ldrsh.w r2, [r7, #32] - 8018e74: 4989 ldr r1, [pc, #548] ; (801909c ) - 8018e76: 4613 mov r3, r2 - 8018e78: 005b lsls r3, r3, #1 - 8018e7a: 4413 add r3, r2 - 8018e7c: 00db lsls r3, r3, #3 - 8018e7e: 440b add r3, r1 - 8018e80: 3308 adds r3, #8 - 8018e82: 681b ldr r3, [r3, #0] - 8018e84: 687a ldr r2, [r7, #4] - 8018e86: 429a cmp r2, r3 - 8018e88: d102 bne.n 8018e90 + 80189fa: 687b ldr r3, [r7, #4] + 80189fc: 2b00 cmp r3, #0 + 80189fe: d00c beq.n 8018a1a + 8018a00: f9b7 2020 ldrsh.w r2, [r7, #32] + 8018a04: 4989 ldr r1, [pc, #548] ; (8018c2c ) + 8018a06: 4613 mov r3, r2 + 8018a08: 005b lsls r3, r3, #1 + 8018a0a: 4413 add r3, r2 + 8018a0c: 00db lsls r3, r3, #3 + 8018a0e: 440b add r3, r1 + 8018a10: 3308 adds r3, #8 + 8018a12: 681b ldr r3, [r3, #0] + 8018a14: 687a ldr r2, [r7, #4] + 8018a16: 429a cmp r2, r3 + 8018a18: d102 bne.n 8018a20 #endif /* ETHARP_TABLE_MATCH_NETIF */ ) { LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_find_entry: found matching entry %d\n", (int)i)); /* found exact IP address match, simply bail out */ return i; - 8018e8a: f9b7 3020 ldrsh.w r3, [r7, #32] - 8018e8e: e100 b.n 8019092 + 8018a1a: f9b7 3020 ldrsh.w r3, [r7, #32] + 8018a1e: e100 b.n 8018c22 } /* pending entry? */ if (state == ETHARP_STATE_PENDING) { - 8018e90: 7dfb ldrb r3, [r7, #23] - 8018e92: 2b01 cmp r3, #1 - 8018e94: d140 bne.n 8018f18 + 8018a20: 7dfb ldrb r3, [r7, #23] + 8018a22: 2b01 cmp r3, #1 + 8018a24: d140 bne.n 8018aa8 /* pending with queued packets? */ if (arp_table[i].q != NULL) { - 8018e96: f9b7 2020 ldrsh.w r2, [r7, #32] - 8018e9a: 4980 ldr r1, [pc, #512] ; (801909c ) - 8018e9c: 4613 mov r3, r2 - 8018e9e: 005b lsls r3, r3, #1 - 8018ea0: 4413 add r3, r2 - 8018ea2: 00db lsls r3, r3, #3 - 8018ea4: 440b add r3, r1 - 8018ea6: 681b ldr r3, [r3, #0] - 8018ea8: 2b00 cmp r3, #0 - 8018eaa: d01a beq.n 8018ee2 + 8018a26: f9b7 2020 ldrsh.w r2, [r7, #32] + 8018a2a: 4980 ldr r1, [pc, #512] ; (8018c2c ) + 8018a2c: 4613 mov r3, r2 + 8018a2e: 005b lsls r3, r3, #1 + 8018a30: 4413 add r3, r2 + 8018a32: 00db lsls r3, r3, #3 + 8018a34: 440b add r3, r1 + 8018a36: 681b ldr r3, [r3, #0] + 8018a38: 2b00 cmp r3, #0 + 8018a3a: d01a beq.n 8018a72 if (arp_table[i].ctime >= age_queue) { - 8018eac: f9b7 2020 ldrsh.w r2, [r7, #32] - 8018eb0: 497a ldr r1, [pc, #488] ; (801909c ) - 8018eb2: 4613 mov r3, r2 - 8018eb4: 005b lsls r3, r3, #1 - 8018eb6: 4413 add r3, r2 - 8018eb8: 00db lsls r3, r3, #3 - 8018eba: 440b add r3, r1 - 8018ebc: 3312 adds r3, #18 - 8018ebe: 881b ldrh r3, [r3, #0] - 8018ec0: 8bba ldrh r2, [r7, #28] - 8018ec2: 429a cmp r2, r3 - 8018ec4: d845 bhi.n 8018f52 + 8018a3c: f9b7 2020 ldrsh.w r2, [r7, #32] + 8018a40: 497a ldr r1, [pc, #488] ; (8018c2c ) + 8018a42: 4613 mov r3, r2 + 8018a44: 005b lsls r3, r3, #1 + 8018a46: 4413 add r3, r2 + 8018a48: 00db lsls r3, r3, #3 + 8018a4a: 440b add r3, r1 + 8018a4c: 3312 adds r3, #18 + 8018a4e: 881b ldrh r3, [r3, #0] + 8018a50: 8bba ldrh r2, [r7, #28] + 8018a52: 429a cmp r2, r3 + 8018a54: d845 bhi.n 8018ae2 old_queue = i; - 8018ec6: 8c3b ldrh r3, [r7, #32] - 8018ec8: 83fb strh r3, [r7, #30] + 8018a56: 8c3b ldrh r3, [r7, #32] + 8018a58: 83fb strh r3, [r7, #30] age_queue = arp_table[i].ctime; - 8018eca: f9b7 2020 ldrsh.w r2, [r7, #32] - 8018ece: 4973 ldr r1, [pc, #460] ; (801909c ) - 8018ed0: 4613 mov r3, r2 - 8018ed2: 005b lsls r3, r3, #1 - 8018ed4: 4413 add r3, r2 - 8018ed6: 00db lsls r3, r3, #3 - 8018ed8: 440b add r3, r1 - 8018eda: 3312 adds r3, #18 - 8018edc: 881b ldrh r3, [r3, #0] - 8018ede: 83bb strh r3, [r7, #28] - 8018ee0: e037 b.n 8018f52 + 8018a5a: f9b7 2020 ldrsh.w r2, [r7, #32] + 8018a5e: 4973 ldr r1, [pc, #460] ; (8018c2c ) + 8018a60: 4613 mov r3, r2 + 8018a62: 005b lsls r3, r3, #1 + 8018a64: 4413 add r3, r2 + 8018a66: 00db lsls r3, r3, #3 + 8018a68: 440b add r3, r1 + 8018a6a: 3312 adds r3, #18 + 8018a6c: 881b ldrh r3, [r3, #0] + 8018a6e: 83bb strh r3, [r7, #28] + 8018a70: e037 b.n 8018ae2 } } else /* pending without queued packets? */ { if (arp_table[i].ctime >= age_pending) { - 8018ee2: f9b7 2020 ldrsh.w r2, [r7, #32] - 8018ee6: 496d ldr r1, [pc, #436] ; (801909c ) - 8018ee8: 4613 mov r3, r2 - 8018eea: 005b lsls r3, r3, #1 - 8018eec: 4413 add r3, r2 - 8018eee: 00db lsls r3, r3, #3 - 8018ef0: 440b add r3, r1 - 8018ef2: 3312 adds r3, #18 - 8018ef4: 881b ldrh r3, [r3, #0] - 8018ef6: 8b7a ldrh r2, [r7, #26] - 8018ef8: 429a cmp r2, r3 - 8018efa: d82a bhi.n 8018f52 + 8018a72: f9b7 2020 ldrsh.w r2, [r7, #32] + 8018a76: 496d ldr r1, [pc, #436] ; (8018c2c ) + 8018a78: 4613 mov r3, r2 + 8018a7a: 005b lsls r3, r3, #1 + 8018a7c: 4413 add r3, r2 + 8018a7e: 00db lsls r3, r3, #3 + 8018a80: 440b add r3, r1 + 8018a82: 3312 adds r3, #18 + 8018a84: 881b ldrh r3, [r3, #0] + 8018a86: 8b7a ldrh r2, [r7, #26] + 8018a88: 429a cmp r2, r3 + 8018a8a: d82a bhi.n 8018ae2 old_pending = i; - 8018efc: 8c3b ldrh r3, [r7, #32] - 8018efe: 84fb strh r3, [r7, #38] ; 0x26 + 8018a8c: 8c3b ldrh r3, [r7, #32] + 8018a8e: 84fb strh r3, [r7, #38] ; 0x26 age_pending = arp_table[i].ctime; - 8018f00: f9b7 2020 ldrsh.w r2, [r7, #32] - 8018f04: 4965 ldr r1, [pc, #404] ; (801909c ) - 8018f06: 4613 mov r3, r2 - 8018f08: 005b lsls r3, r3, #1 - 8018f0a: 4413 add r3, r2 - 8018f0c: 00db lsls r3, r3, #3 - 8018f0e: 440b add r3, r1 - 8018f10: 3312 adds r3, #18 - 8018f12: 881b ldrh r3, [r3, #0] - 8018f14: 837b strh r3, [r7, #26] - 8018f16: e01c b.n 8018f52 + 8018a90: f9b7 2020 ldrsh.w r2, [r7, #32] + 8018a94: 4965 ldr r1, [pc, #404] ; (8018c2c ) + 8018a96: 4613 mov r3, r2 + 8018a98: 005b lsls r3, r3, #1 + 8018a9a: 4413 add r3, r2 + 8018a9c: 00db lsls r3, r3, #3 + 8018a9e: 440b add r3, r1 + 8018aa0: 3312 adds r3, #18 + 8018aa2: 881b ldrh r3, [r3, #0] + 8018aa4: 837b strh r3, [r7, #26] + 8018aa6: e01c b.n 8018ae2 } } /* stable entry? */ } else if (state >= ETHARP_STATE_STABLE) { - 8018f18: 7dfb ldrb r3, [r7, #23] - 8018f1a: 2b01 cmp r3, #1 - 8018f1c: d919 bls.n 8018f52 + 8018aa8: 7dfb ldrb r3, [r7, #23] + 8018aaa: 2b01 cmp r3, #1 + 8018aac: d919 bls.n 8018ae2 /* don't record old_stable for static entries since they never expire */ if (state < ETHARP_STATE_STATIC) #endif /* ETHARP_SUPPORT_STATIC_ENTRIES */ { /* remember entry with oldest stable entry in oldest, its age in maxtime */ if (arp_table[i].ctime >= age_stable) { - 8018f1e: f9b7 2020 ldrsh.w r2, [r7, #32] - 8018f22: 495e ldr r1, [pc, #376] ; (801909c ) - 8018f24: 4613 mov r3, r2 - 8018f26: 005b lsls r3, r3, #1 - 8018f28: 4413 add r3, r2 - 8018f2a: 00db lsls r3, r3, #3 - 8018f2c: 440b add r3, r1 - 8018f2e: 3312 adds r3, #18 - 8018f30: 881b ldrh r3, [r3, #0] - 8018f32: 8b3a ldrh r2, [r7, #24] - 8018f34: 429a cmp r2, r3 - 8018f36: d80c bhi.n 8018f52 + 8018aae: f9b7 2020 ldrsh.w r2, [r7, #32] + 8018ab2: 495e ldr r1, [pc, #376] ; (8018c2c ) + 8018ab4: 4613 mov r3, r2 + 8018ab6: 005b lsls r3, r3, #1 + 8018ab8: 4413 add r3, r2 + 8018aba: 00db lsls r3, r3, #3 + 8018abc: 440b add r3, r1 + 8018abe: 3312 adds r3, #18 + 8018ac0: 881b ldrh r3, [r3, #0] + 8018ac2: 8b3a ldrh r2, [r7, #24] + 8018ac4: 429a cmp r2, r3 + 8018ac6: d80c bhi.n 8018ae2 old_stable = i; - 8018f38: 8c3b ldrh r3, [r7, #32] - 8018f3a: 84bb strh r3, [r7, #36] ; 0x24 + 8018ac8: 8c3b ldrh r3, [r7, #32] + 8018aca: 84bb strh r3, [r7, #36] ; 0x24 age_stable = arp_table[i].ctime; - 8018f3c: f9b7 2020 ldrsh.w r2, [r7, #32] - 8018f40: 4956 ldr r1, [pc, #344] ; (801909c ) - 8018f42: 4613 mov r3, r2 - 8018f44: 005b lsls r3, r3, #1 - 8018f46: 4413 add r3, r2 - 8018f48: 00db lsls r3, r3, #3 - 8018f4a: 440b add r3, r1 - 8018f4c: 3312 adds r3, #18 - 8018f4e: 881b ldrh r3, [r3, #0] - 8018f50: 833b strh r3, [r7, #24] + 8018acc: f9b7 2020 ldrsh.w r2, [r7, #32] + 8018ad0: 4956 ldr r1, [pc, #344] ; (8018c2c ) + 8018ad2: 4613 mov r3, r2 + 8018ad4: 005b lsls r3, r3, #1 + 8018ad6: 4413 add r3, r2 + 8018ad8: 00db lsls r3, r3, #3 + 8018ada: 440b add r3, r1 + 8018adc: 3312 adds r3, #18 + 8018ade: 881b ldrh r3, [r3, #0] + 8018ae0: 833b strh r3, [r7, #24] for (i = 0; i < ARP_TABLE_SIZE; ++i) { - 8018f52: 8c3b ldrh r3, [r7, #32] - 8018f54: 3301 adds r3, #1 - 8018f56: b29b uxth r3, r3 - 8018f58: 843b strh r3, [r7, #32] - 8018f5a: f9b7 3020 ldrsh.w r3, [r7, #32] - 8018f5e: 2b09 cmp r3, #9 - 8018f60: f77f af4c ble.w 8018dfc + 8018ae2: 8c3b ldrh r3, [r7, #32] + 8018ae4: 3301 adds r3, #1 + 8018ae6: b29b uxth r3, r3 + 8018ae8: 843b strh r3, [r7, #32] + 8018aea: f9b7 3020 ldrsh.w r3, [r7, #32] + 8018aee: 2b09 cmp r3, #9 + 8018af0: f77f af4c ble.w 801898c } } /* { we have no match } => try to create a new entry */ /* don't create new entry, only search? */ if (((flags & ETHARP_FLAG_FIND_ONLY) != 0) || - 8018f64: 7afb ldrb r3, [r7, #11] - 8018f66: f003 0302 and.w r3, r3, #2 - 8018f6a: 2b00 cmp r3, #0 - 8018f6c: d108 bne.n 8018f80 - 8018f6e: f9b7 3022 ldrsh.w r3, [r7, #34] ; 0x22 - 8018f72: 2b0a cmp r3, #10 - 8018f74: d107 bne.n 8018f86 + 8018af4: 7afb ldrb r3, [r7, #11] + 8018af6: f003 0302 and.w r3, r3, #2 + 8018afa: 2b00 cmp r3, #0 + 8018afc: d108 bne.n 8018b10 + 8018afe: f9b7 3022 ldrsh.w r3, [r7, #34] ; 0x22 + 8018b02: 2b0a cmp r3, #10 + 8018b04: d107 bne.n 8018b16 /* or no empty entry found and not allowed to recycle? */ ((empty == ARP_TABLE_SIZE) && ((flags & ETHARP_FLAG_TRY_HARD) == 0))) { - 8018f76: 7afb ldrb r3, [r7, #11] - 8018f78: f003 0301 and.w r3, r3, #1 - 8018f7c: 2b00 cmp r3, #0 - 8018f7e: d102 bne.n 8018f86 + 8018b06: 7afb ldrb r3, [r7, #11] + 8018b08: f003 0301 and.w r3, r3, #1 + 8018b0c: 2b00 cmp r3, #0 + 8018b0e: d102 bne.n 8018b16 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_find_entry: no empty entry found and not allowed to recycle\n")); return (s16_t)ERR_MEM; - 8018f80: f04f 33ff mov.w r3, #4294967295 - 8018f84: e085 b.n 8019092 + 8018b10: f04f 33ff mov.w r3, #4294967295 + 8018b14: e085 b.n 8018c22 * * { ETHARP_FLAG_TRY_HARD is set at this point } */ /* 1) empty entry available? */ if (empty < ARP_TABLE_SIZE) { - 8018f86: f9b7 3022 ldrsh.w r3, [r7, #34] ; 0x22 - 8018f8a: 2b09 cmp r3, #9 - 8018f8c: dc02 bgt.n 8018f94 + 8018b16: f9b7 3022 ldrsh.w r3, [r7, #34] ; 0x22 + 8018b1a: 2b09 cmp r3, #9 + 8018b1c: dc02 bgt.n 8018b24 i = empty; - 8018f8e: 8c7b ldrh r3, [r7, #34] ; 0x22 - 8018f90: 843b strh r3, [r7, #32] - 8018f92: e039 b.n 8019008 + 8018b1e: 8c7b ldrh r3, [r7, #34] ; 0x22 + 8018b20: 843b strh r3, [r7, #32] + 8018b22: e039 b.n 8018b98 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_find_entry: selecting empty entry %d\n", (int)i)); } else { /* 2) found recyclable stable entry? */ if (old_stable < ARP_TABLE_SIZE) { - 8018f94: f9b7 3024 ldrsh.w r3, [r7, #36] ; 0x24 - 8018f98: 2b09 cmp r3, #9 - 8018f9a: dc14 bgt.n 8018fc6 + 8018b24: f9b7 3024 ldrsh.w r3, [r7, #36] ; 0x24 + 8018b28: 2b09 cmp r3, #9 + 8018b2a: dc14 bgt.n 8018b56 /* recycle oldest stable*/ i = old_stable; - 8018f9c: 8cbb ldrh r3, [r7, #36] ; 0x24 - 8018f9e: 843b strh r3, [r7, #32] + 8018b2c: 8cbb ldrh r3, [r7, #36] ; 0x24 + 8018b2e: 843b strh r3, [r7, #32] LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_find_entry: selecting oldest stable entry %d\n", (int)i)); /* no queued packets should exist on stable entries */ LWIP_ASSERT("arp_table[i].q == NULL", arp_table[i].q == NULL); - 8018fa0: f9b7 2020 ldrsh.w r2, [r7, #32] - 8018fa4: 493d ldr r1, [pc, #244] ; (801909c ) - 8018fa6: 4613 mov r3, r2 - 8018fa8: 005b lsls r3, r3, #1 - 8018faa: 4413 add r3, r2 - 8018fac: 00db lsls r3, r3, #3 - 8018fae: 440b add r3, r1 - 8018fb0: 681b ldr r3, [r3, #0] - 8018fb2: 2b00 cmp r3, #0 - 8018fb4: d018 beq.n 8018fe8 - 8018fb6: 4b3a ldr r3, [pc, #232] ; (80190a0 ) - 8018fb8: f240 126d movw r2, #365 ; 0x16d - 8018fbc: 493b ldr r1, [pc, #236] ; (80190ac ) - 8018fbe: 483a ldr r0, [pc, #232] ; (80190a8 ) - 8018fc0: f002 fa7a bl 801b4b8 - 8018fc4: e010 b.n 8018fe8 + 8018b30: f9b7 2020 ldrsh.w r2, [r7, #32] + 8018b34: 493d ldr r1, [pc, #244] ; (8018c2c ) + 8018b36: 4613 mov r3, r2 + 8018b38: 005b lsls r3, r3, #1 + 8018b3a: 4413 add r3, r2 + 8018b3c: 00db lsls r3, r3, #3 + 8018b3e: 440b add r3, r1 + 8018b40: 681b ldr r3, [r3, #0] + 8018b42: 2b00 cmp r3, #0 + 8018b44: d018 beq.n 8018b78 + 8018b46: 4b3a ldr r3, [pc, #232] ; (8018c30 ) + 8018b48: f240 126d movw r2, #365 ; 0x16d + 8018b4c: 493b ldr r1, [pc, #236] ; (8018c3c ) + 8018b4e: 483a ldr r0, [pc, #232] ; (8018c38 ) + 8018b50: f002 fa60 bl 801b014 + 8018b54: e010 b.n 8018b78 /* 3) found recyclable pending entry without queued packets? */ } else if (old_pending < ARP_TABLE_SIZE) { - 8018fc6: f9b7 3026 ldrsh.w r3, [r7, #38] ; 0x26 - 8018fca: 2b09 cmp r3, #9 - 8018fcc: dc02 bgt.n 8018fd4 + 8018b56: f9b7 3026 ldrsh.w r3, [r7, #38] ; 0x26 + 8018b5a: 2b09 cmp r3, #9 + 8018b5c: dc02 bgt.n 8018b64 /* recycle oldest pending */ i = old_pending; - 8018fce: 8cfb ldrh r3, [r7, #38] ; 0x26 - 8018fd0: 843b strh r3, [r7, #32] - 8018fd2: e009 b.n 8018fe8 + 8018b5e: 8cfb ldrh r3, [r7, #38] ; 0x26 + 8018b60: 843b strh r3, [r7, #32] + 8018b62: e009 b.n 8018b78 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_find_entry: selecting oldest pending entry %d (without queue)\n", (int)i)); /* 4) found recyclable pending entry with queued packets? */ } else if (old_queue < ARP_TABLE_SIZE) { - 8018fd4: f9b7 301e ldrsh.w r3, [r7, #30] - 8018fd8: 2b09 cmp r3, #9 - 8018fda: dc02 bgt.n 8018fe2 + 8018b64: f9b7 301e ldrsh.w r3, [r7, #30] + 8018b68: 2b09 cmp r3, #9 + 8018b6a: dc02 bgt.n 8018b72 /* recycle oldest pending (queued packets are free in etharp_free_entry) */ i = old_queue; - 8018fdc: 8bfb ldrh r3, [r7, #30] - 8018fde: 843b strh r3, [r7, #32] - 8018fe0: e002 b.n 8018fe8 + 8018b6c: 8bfb ldrh r3, [r7, #30] + 8018b6e: 843b strh r3, [r7, #32] + 8018b70: e002 b.n 8018b78 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_find_entry: selecting oldest pending entry %d, freeing packet queue %p\n", (int)i, (void *)(arp_table[i].q))); /* no empty or recyclable entries found */ } else { LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_find_entry: no empty or recyclable entries found\n")); return (s16_t)ERR_MEM; - 8018fe2: f04f 33ff mov.w r3, #4294967295 - 8018fe6: e054 b.n 8019092 + 8018b72: f04f 33ff mov.w r3, #4294967295 + 8018b76: e054 b.n 8018c22 } /* { empty or recyclable entry found } */ LWIP_ASSERT("i < ARP_TABLE_SIZE", i < ARP_TABLE_SIZE); - 8018fe8: f9b7 3020 ldrsh.w r3, [r7, #32] - 8018fec: 2b09 cmp r3, #9 - 8018fee: dd06 ble.n 8018ffe - 8018ff0: 4b2b ldr r3, [pc, #172] ; (80190a0 ) - 8018ff2: f240 127f movw r2, #383 ; 0x17f - 8018ff6: 492e ldr r1, [pc, #184] ; (80190b0 ) - 8018ff8: 482b ldr r0, [pc, #172] ; (80190a8 ) - 8018ffa: f002 fa5d bl 801b4b8 + 8018b78: f9b7 3020 ldrsh.w r3, [r7, #32] + 8018b7c: 2b09 cmp r3, #9 + 8018b7e: dd06 ble.n 8018b8e + 8018b80: 4b2b ldr r3, [pc, #172] ; (8018c30 ) + 8018b82: f240 127f movw r2, #383 ; 0x17f + 8018b86: 492e ldr r1, [pc, #184] ; (8018c40 ) + 8018b88: 482b ldr r0, [pc, #172] ; (8018c38 ) + 8018b8a: f002 fa43 bl 801b014 etharp_free_entry(i); - 8018ffe: f9b7 3020 ldrsh.w r3, [r7, #32] - 8019002: 4618 mov r0, r3 - 8019004: f7ff fe06 bl 8018c14 + 8018b8e: f9b7 3020 ldrsh.w r3, [r7, #32] + 8018b92: 4618 mov r0, r3 + 8018b94: f7ff fe06 bl 80187a4 } LWIP_ASSERT("i < ARP_TABLE_SIZE", i < ARP_TABLE_SIZE); - 8019008: f9b7 3020 ldrsh.w r3, [r7, #32] - 801900c: 2b09 cmp r3, #9 - 801900e: dd06 ble.n 801901e - 8019010: 4b23 ldr r3, [pc, #140] ; (80190a0 ) - 8019012: f240 1283 movw r2, #387 ; 0x183 - 8019016: 4926 ldr r1, [pc, #152] ; (80190b0 ) - 8019018: 4823 ldr r0, [pc, #140] ; (80190a8 ) - 801901a: f002 fa4d bl 801b4b8 + 8018b98: f9b7 3020 ldrsh.w r3, [r7, #32] + 8018b9c: 2b09 cmp r3, #9 + 8018b9e: dd06 ble.n 8018bae + 8018ba0: 4b23 ldr r3, [pc, #140] ; (8018c30 ) + 8018ba2: f240 1283 movw r2, #387 ; 0x183 + 8018ba6: 4926 ldr r1, [pc, #152] ; (8018c40 ) + 8018ba8: 4823 ldr r0, [pc, #140] ; (8018c38 ) + 8018baa: f002 fa33 bl 801b014 LWIP_ASSERT("arp_table[i].state == ETHARP_STATE_EMPTY", - 801901e: f9b7 2020 ldrsh.w r2, [r7, #32] - 8019022: 491e ldr r1, [pc, #120] ; (801909c ) - 8019024: 4613 mov r3, r2 - 8019026: 005b lsls r3, r3, #1 - 8019028: 4413 add r3, r2 - 801902a: 00db lsls r3, r3, #3 - 801902c: 440b add r3, r1 - 801902e: 3314 adds r3, #20 - 8019030: 781b ldrb r3, [r3, #0] - 8019032: 2b00 cmp r3, #0 - 8019034: d006 beq.n 8019044 - 8019036: 4b1a ldr r3, [pc, #104] ; (80190a0 ) - 8019038: f240 1285 movw r2, #389 ; 0x185 - 801903c: 491d ldr r1, [pc, #116] ; (80190b4 ) - 801903e: 481a ldr r0, [pc, #104] ; (80190a8 ) - 8019040: f002 fa3a bl 801b4b8 + 8018bae: f9b7 2020 ldrsh.w r2, [r7, #32] + 8018bb2: 491e ldr r1, [pc, #120] ; (8018c2c ) + 8018bb4: 4613 mov r3, r2 + 8018bb6: 005b lsls r3, r3, #1 + 8018bb8: 4413 add r3, r2 + 8018bba: 00db lsls r3, r3, #3 + 8018bbc: 440b add r3, r1 + 8018bbe: 3314 adds r3, #20 + 8018bc0: 781b ldrb r3, [r3, #0] + 8018bc2: 2b00 cmp r3, #0 + 8018bc4: d006 beq.n 8018bd4 + 8018bc6: 4b1a ldr r3, [pc, #104] ; (8018c30 ) + 8018bc8: f240 1285 movw r2, #389 ; 0x185 + 8018bcc: 491d ldr r1, [pc, #116] ; (8018c44 ) + 8018bce: 481a ldr r0, [pc, #104] ; (8018c38 ) + 8018bd0: f002 fa20 bl 801b014 arp_table[i].state == ETHARP_STATE_EMPTY); /* IP address given? */ if (ipaddr != NULL) { - 8019044: 68fb ldr r3, [r7, #12] - 8019046: 2b00 cmp r3, #0 - 8019048: d00b beq.n 8019062 + 8018bd4: 68fb ldr r3, [r7, #12] + 8018bd6: 2b00 cmp r3, #0 + 8018bd8: d00b beq.n 8018bf2 /* set IP address */ ip4_addr_copy(arp_table[i].ipaddr, *ipaddr); - 801904a: f9b7 2020 ldrsh.w r2, [r7, #32] - 801904e: 68fb ldr r3, [r7, #12] - 8019050: 6819 ldr r1, [r3, #0] - 8019052: 4812 ldr r0, [pc, #72] ; (801909c ) - 8019054: 4613 mov r3, r2 - 8019056: 005b lsls r3, r3, #1 - 8019058: 4413 add r3, r2 - 801905a: 00db lsls r3, r3, #3 - 801905c: 4403 add r3, r0 - 801905e: 3304 adds r3, #4 - 8019060: 6019 str r1, [r3, #0] + 8018bda: f9b7 2020 ldrsh.w r2, [r7, #32] + 8018bde: 68fb ldr r3, [r7, #12] + 8018be0: 6819 ldr r1, [r3, #0] + 8018be2: 4812 ldr r0, [pc, #72] ; (8018c2c ) + 8018be4: 4613 mov r3, r2 + 8018be6: 005b lsls r3, r3, #1 + 8018be8: 4413 add r3, r2 + 8018bea: 00db lsls r3, r3, #3 + 8018bec: 4403 add r3, r0 + 8018bee: 3304 adds r3, #4 + 8018bf0: 6019 str r1, [r3, #0] } arp_table[i].ctime = 0; - 8019062: f9b7 2020 ldrsh.w r2, [r7, #32] - 8019066: 490d ldr r1, [pc, #52] ; (801909c ) - 8019068: 4613 mov r3, r2 - 801906a: 005b lsls r3, r3, #1 - 801906c: 4413 add r3, r2 - 801906e: 00db lsls r3, r3, #3 - 8019070: 440b add r3, r1 - 8019072: 3312 adds r3, #18 - 8019074: 2200 movs r2, #0 - 8019076: 801a strh r2, [r3, #0] + 8018bf2: f9b7 2020 ldrsh.w r2, [r7, #32] + 8018bf6: 490d ldr r1, [pc, #52] ; (8018c2c ) + 8018bf8: 4613 mov r3, r2 + 8018bfa: 005b lsls r3, r3, #1 + 8018bfc: 4413 add r3, r2 + 8018bfe: 00db lsls r3, r3, #3 + 8018c00: 440b add r3, r1 + 8018c02: 3312 adds r3, #18 + 8018c04: 2200 movs r2, #0 + 8018c06: 801a strh r2, [r3, #0] #if ETHARP_TABLE_MATCH_NETIF arp_table[i].netif = netif; - 8019078: f9b7 2020 ldrsh.w r2, [r7, #32] - 801907c: 4907 ldr r1, [pc, #28] ; (801909c ) - 801907e: 4613 mov r3, r2 - 8019080: 005b lsls r3, r3, #1 - 8019082: 4413 add r3, r2 - 8019084: 00db lsls r3, r3, #3 - 8019086: 440b add r3, r1 - 8019088: 3308 adds r3, #8 - 801908a: 687a ldr r2, [r7, #4] - 801908c: 601a str r2, [r3, #0] + 8018c08: f9b7 2020 ldrsh.w r2, [r7, #32] + 8018c0c: 4907 ldr r1, [pc, #28] ; (8018c2c ) + 8018c0e: 4613 mov r3, r2 + 8018c10: 005b lsls r3, r3, #1 + 8018c12: 4413 add r3, r2 + 8018c14: 00db lsls r3, r3, #3 + 8018c16: 440b add r3, r1 + 8018c18: 3308 adds r3, #8 + 8018c1a: 687a ldr r2, [r7, #4] + 8018c1c: 601a str r2, [r3, #0] #endif /* ETHARP_TABLE_MATCH_NETIF */ return (s16_t)i; - 801908e: f9b7 3020 ldrsh.w r3, [r7, #32] + 8018c1e: f9b7 3020 ldrsh.w r3, [r7, #32] } - 8019092: 4618 mov r0, r3 - 8019094: 3728 adds r7, #40 ; 0x28 - 8019096: 46bd mov sp, r7 - 8019098: bd80 pop {r7, pc} - 801909a: bf00 nop - 801909c: 20008778 .word 0x20008778 - 80190a0: 0801ef3c .word 0x0801ef3c - 80190a4: 0801ef74 .word 0x0801ef74 - 80190a8: 0801efb4 .word 0x0801efb4 - 80190ac: 0801efdc .word 0x0801efdc - 80190b0: 0801eff4 .word 0x0801eff4 - 80190b4: 0801f008 .word 0x0801f008 + 8018c22: 4618 mov r0, r3 + 8018c24: 3728 adds r7, #40 ; 0x28 + 8018c26: 46bd mov sp, r7 + 8018c28: bd80 pop {r7, pc} + 8018c2a: bf00 nop + 8018c2c: 20008778 .word 0x20008778 + 8018c30: 0801e738 .word 0x0801e738 + 8018c34: 0801e770 .word 0x0801e770 + 8018c38: 0801e7b0 .word 0x0801e7b0 + 8018c3c: 0801e7d8 .word 0x0801e7d8 + 8018c40: 0801e7f0 .word 0x0801e7f0 + 8018c44: 0801e804 .word 0x0801e804 -080190b8 : +08018c48 : * * @see pbuf_free() */ static err_t etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, u8_t flags) { - 80190b8: b580 push {r7, lr} - 80190ba: b088 sub sp, #32 - 80190bc: af02 add r7, sp, #8 - 80190be: 60f8 str r0, [r7, #12] - 80190c0: 60b9 str r1, [r7, #8] - 80190c2: 607a str r2, [r7, #4] - 80190c4: 70fb strb r3, [r7, #3] + 8018c48: b580 push {r7, lr} + 8018c4a: b088 sub sp, #32 + 8018c4c: af02 add r7, sp, #8 + 8018c4e: 60f8 str r0, [r7, #12] + 8018c50: 60b9 str r1, [r7, #8] + 8018c52: 607a str r2, [r7, #4] + 8018c54: 70fb strb r3, [r7, #3] s16_t i; LWIP_ASSERT("netif->hwaddr_len == ETH_HWADDR_LEN", netif->hwaddr_len == ETH_HWADDR_LEN); - 80190c6: 68fb ldr r3, [r7, #12] - 80190c8: f893 3030 ldrb.w r3, [r3, #48] ; 0x30 - 80190cc: 2b06 cmp r3, #6 - 80190ce: d006 beq.n 80190de - 80190d0: 4b48 ldr r3, [pc, #288] ; (80191f4 ) - 80190d2: f240 12a9 movw r2, #425 ; 0x1a9 - 80190d6: 4948 ldr r1, [pc, #288] ; (80191f8 ) - 80190d8: 4848 ldr r0, [pc, #288] ; (80191fc ) - 80190da: f002 f9ed bl 801b4b8 + 8018c56: 68fb ldr r3, [r7, #12] + 8018c58: f893 3030 ldrb.w r3, [r3, #48] ; 0x30 + 8018c5c: 2b06 cmp r3, #6 + 8018c5e: d006 beq.n 8018c6e + 8018c60: 4b48 ldr r3, [pc, #288] ; (8018d84 ) + 8018c62: f240 12a9 movw r2, #425 ; 0x1a9 + 8018c66: 4948 ldr r1, [pc, #288] ; (8018d88 ) + 8018c68: 4848 ldr r0, [pc, #288] ; (8018d8c ) + 8018c6a: f002 f9d3 bl 801b014 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_update_arp_entry: %"U16_F".%"U16_F".%"U16_F".%"U16_F" - %02"X16_F":%02"X16_F":%02"X16_F":%02"X16_F":%02"X16_F":%02"X16_F"\n", ip4_addr1_16(ipaddr), ip4_addr2_16(ipaddr), ip4_addr3_16(ipaddr), ip4_addr4_16(ipaddr), (u16_t)ethaddr->addr[0], (u16_t)ethaddr->addr[1], (u16_t)ethaddr->addr[2], (u16_t)ethaddr->addr[3], (u16_t)ethaddr->addr[4], (u16_t)ethaddr->addr[5])); /* non-unicast address? */ if (ip4_addr_isany(ipaddr) || - 80190de: 68bb ldr r3, [r7, #8] - 80190e0: 2b00 cmp r3, #0 - 80190e2: d012 beq.n 801910a - 80190e4: 68bb ldr r3, [r7, #8] - 80190e6: 681b ldr r3, [r3, #0] - 80190e8: 2b00 cmp r3, #0 - 80190ea: d00e beq.n 801910a + 8018c6e: 68bb ldr r3, [r7, #8] + 8018c70: 2b00 cmp r3, #0 + 8018c72: d012 beq.n 8018c9a + 8018c74: 68bb ldr r3, [r7, #8] + 8018c76: 681b ldr r3, [r3, #0] + 8018c78: 2b00 cmp r3, #0 + 8018c7a: d00e beq.n 8018c9a ip4_addr_isbroadcast(ipaddr, netif) || - 80190ec: 68bb ldr r3, [r7, #8] - 80190ee: 681b ldr r3, [r3, #0] - 80190f0: 68f9 ldr r1, [r7, #12] - 80190f2: 4618 mov r0, r3 - 80190f4: f001 f91e bl 801a334 - 80190f8: 4603 mov r3, r0 + 8018c7c: 68bb ldr r3, [r7, #8] + 8018c7e: 681b ldr r3, [r3, #0] + 8018c80: 68f9 ldr r1, [r7, #12] + 8018c82: 4618 mov r0, r3 + 8018c84: f001 f91e bl 8019ec4 + 8018c88: 4603 mov r3, r0 if (ip4_addr_isany(ipaddr) || - 80190fa: 2b00 cmp r3, #0 - 80190fc: d105 bne.n 801910a + 8018c8a: 2b00 cmp r3, #0 + 8018c8c: d105 bne.n 8018c9a ip4_addr_ismulticast(ipaddr)) { - 80190fe: 68bb ldr r3, [r7, #8] - 8019100: 681b ldr r3, [r3, #0] - 8019102: f003 03f0 and.w r3, r3, #240 ; 0xf0 + 8018c8e: 68bb ldr r3, [r7, #8] + 8018c90: 681b ldr r3, [r3, #0] + 8018c92: f003 03f0 and.w r3, r3, #240 ; 0xf0 ip4_addr_isbroadcast(ipaddr, netif) || - 8019106: 2be0 cmp r3, #224 ; 0xe0 - 8019108: d102 bne.n 8019110 + 8018c96: 2be0 cmp r3, #224 ; 0xe0 + 8018c98: d102 bne.n 8018ca0 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_update_arp_entry: will not add non-unicast IP address to ARP cache\n")); return ERR_ARG; - 801910a: f06f 030f mvn.w r3, #15 - 801910e: e06c b.n 80191ea + 8018c9a: f06f 030f mvn.w r3, #15 + 8018c9e: e06c b.n 8018d7a } /* find or create ARP entry */ i = etharp_find_entry(ipaddr, flags, netif); - 8019110: 78fb ldrb r3, [r7, #3] - 8019112: 68fa ldr r2, [r7, #12] - 8019114: 4619 mov r1, r3 - 8019116: 68b8 ldr r0, [r7, #8] - 8019118: f7ff fe56 bl 8018dc8 - 801911c: 4603 mov r3, r0 - 801911e: 82fb strh r3, [r7, #22] + 8018ca0: 78fb ldrb r3, [r7, #3] + 8018ca2: 68fa ldr r2, [r7, #12] + 8018ca4: 4619 mov r1, r3 + 8018ca6: 68b8 ldr r0, [r7, #8] + 8018ca8: f7ff fe56 bl 8018958 + 8018cac: 4603 mov r3, r0 + 8018cae: 82fb strh r3, [r7, #22] /* bail out if no entry could be found */ if (i < 0) { - 8019120: f9b7 3016 ldrsh.w r3, [r7, #22] - 8019124: 2b00 cmp r3, #0 - 8019126: da02 bge.n 801912e + 8018cb0: f9b7 3016 ldrsh.w r3, [r7, #22] + 8018cb4: 2b00 cmp r3, #0 + 8018cb6: da02 bge.n 8018cbe return (err_t)i; - 8019128: 8afb ldrh r3, [r7, #22] - 801912a: b25b sxtb r3, r3 - 801912c: e05d b.n 80191ea + 8018cb8: 8afb ldrh r3, [r7, #22] + 8018cba: b25b sxtb r3, r3 + 8018cbc: e05d b.n 8018d7a return ERR_VAL; } else #endif /* ETHARP_SUPPORT_STATIC_ENTRIES */ { /* mark it stable */ arp_table[i].state = ETHARP_STATE_STABLE; - 801912e: f9b7 2016 ldrsh.w r2, [r7, #22] - 8019132: 4933 ldr r1, [pc, #204] ; (8019200 ) - 8019134: 4613 mov r3, r2 - 8019136: 005b lsls r3, r3, #1 - 8019138: 4413 add r3, r2 - 801913a: 00db lsls r3, r3, #3 - 801913c: 440b add r3, r1 - 801913e: 3314 adds r3, #20 - 8019140: 2202 movs r2, #2 - 8019142: 701a strb r2, [r3, #0] + 8018cbe: f9b7 2016 ldrsh.w r2, [r7, #22] + 8018cc2: 4933 ldr r1, [pc, #204] ; (8018d90 ) + 8018cc4: 4613 mov r3, r2 + 8018cc6: 005b lsls r3, r3, #1 + 8018cc8: 4413 add r3, r2 + 8018cca: 00db lsls r3, r3, #3 + 8018ccc: 440b add r3, r1 + 8018cce: 3314 adds r3, #20 + 8018cd0: 2202 movs r2, #2 + 8018cd2: 701a strb r2, [r3, #0] } /* record network interface */ arp_table[i].netif = netif; - 8019144: f9b7 2016 ldrsh.w r2, [r7, #22] - 8019148: 492d ldr r1, [pc, #180] ; (8019200 ) - 801914a: 4613 mov r3, r2 - 801914c: 005b lsls r3, r3, #1 - 801914e: 4413 add r3, r2 - 8019150: 00db lsls r3, r3, #3 - 8019152: 440b add r3, r1 - 8019154: 3308 adds r3, #8 - 8019156: 68fa ldr r2, [r7, #12] - 8019158: 601a str r2, [r3, #0] + 8018cd4: f9b7 2016 ldrsh.w r2, [r7, #22] + 8018cd8: 492d ldr r1, [pc, #180] ; (8018d90 ) + 8018cda: 4613 mov r3, r2 + 8018cdc: 005b lsls r3, r3, #1 + 8018cde: 4413 add r3, r2 + 8018ce0: 00db lsls r3, r3, #3 + 8018ce2: 440b add r3, r1 + 8018ce4: 3308 adds r3, #8 + 8018ce6: 68fa ldr r2, [r7, #12] + 8018ce8: 601a str r2, [r3, #0] /* insert in SNMP ARP index tree */ mib2_add_arp_entry(netif, &arp_table[i].ipaddr); LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_update_arp_entry: updating stable entry %"S16_F"\n", i)); /* update address */ SMEMCPY(&arp_table[i].ethaddr, ethaddr, ETH_HWADDR_LEN); - 801915a: f9b7 2016 ldrsh.w r2, [r7, #22] - 801915e: 4613 mov r3, r2 - 8019160: 005b lsls r3, r3, #1 - 8019162: 4413 add r3, r2 - 8019164: 00db lsls r3, r3, #3 - 8019166: 3308 adds r3, #8 - 8019168: 4a25 ldr r2, [pc, #148] ; (8019200 ) - 801916a: 4413 add r3, r2 - 801916c: 3304 adds r3, #4 - 801916e: 2206 movs r2, #6 - 8019170: 6879 ldr r1, [r7, #4] - 8019172: 4618 mov r0, r3 - 8019174: f002 f973 bl 801b45e + 8018cea: f9b7 2016 ldrsh.w r2, [r7, #22] + 8018cee: 4613 mov r3, r2 + 8018cf0: 005b lsls r3, r3, #1 + 8018cf2: 4413 add r3, r2 + 8018cf4: 00db lsls r3, r3, #3 + 8018cf6: 3308 adds r3, #8 + 8018cf8: 4a25 ldr r2, [pc, #148] ; (8018d90 ) + 8018cfa: 4413 add r3, r2 + 8018cfc: 3304 adds r3, #4 + 8018cfe: 2206 movs r2, #6 + 8018d00: 6879 ldr r1, [r7, #4] + 8018d02: 4618 mov r0, r3 + 8018d04: f002 f973 bl 801afee /* reset time stamp */ arp_table[i].ctime = 0; - 8019178: f9b7 2016 ldrsh.w r2, [r7, #22] - 801917c: 4920 ldr r1, [pc, #128] ; (8019200 ) - 801917e: 4613 mov r3, r2 - 8019180: 005b lsls r3, r3, #1 - 8019182: 4413 add r3, r2 - 8019184: 00db lsls r3, r3, #3 - 8019186: 440b add r3, r1 - 8019188: 3312 adds r3, #18 - 801918a: 2200 movs r2, #0 - 801918c: 801a strh r2, [r3, #0] + 8018d08: f9b7 2016 ldrsh.w r2, [r7, #22] + 8018d0c: 4920 ldr r1, [pc, #128] ; (8018d90 ) + 8018d0e: 4613 mov r3, r2 + 8018d10: 005b lsls r3, r3, #1 + 8018d12: 4413 add r3, r2 + 8018d14: 00db lsls r3, r3, #3 + 8018d16: 440b add r3, r1 + 8018d18: 3312 adds r3, #18 + 8018d1a: 2200 movs r2, #0 + 8018d1c: 801a strh r2, [r3, #0] /* get the packet pointer */ p = q->p; /* now queue entry can be freed */ memp_free(MEMP_ARP_QUEUE, q); #else /* ARP_QUEUEING */ if (arp_table[i].q != NULL) { - 801918e: f9b7 2016 ldrsh.w r2, [r7, #22] - 8019192: 491b ldr r1, [pc, #108] ; (8019200 ) - 8019194: 4613 mov r3, r2 - 8019196: 005b lsls r3, r3, #1 - 8019198: 4413 add r3, r2 - 801919a: 00db lsls r3, r3, #3 - 801919c: 440b add r3, r1 - 801919e: 681b ldr r3, [r3, #0] - 80191a0: 2b00 cmp r3, #0 - 80191a2: d021 beq.n 80191e8 + 8018d1e: f9b7 2016 ldrsh.w r2, [r7, #22] + 8018d22: 491b ldr r1, [pc, #108] ; (8018d90 ) + 8018d24: 4613 mov r3, r2 + 8018d26: 005b lsls r3, r3, #1 + 8018d28: 4413 add r3, r2 + 8018d2a: 00db lsls r3, r3, #3 + 8018d2c: 440b add r3, r1 + 8018d2e: 681b ldr r3, [r3, #0] + 8018d30: 2b00 cmp r3, #0 + 8018d32: d021 beq.n 8018d78 struct pbuf *p = arp_table[i].q; - 80191a4: f9b7 2016 ldrsh.w r2, [r7, #22] - 80191a8: 4915 ldr r1, [pc, #84] ; (8019200 ) - 80191aa: 4613 mov r3, r2 - 80191ac: 005b lsls r3, r3, #1 - 80191ae: 4413 add r3, r2 - 80191b0: 00db lsls r3, r3, #3 - 80191b2: 440b add r3, r1 - 80191b4: 681b ldr r3, [r3, #0] - 80191b6: 613b str r3, [r7, #16] + 8018d34: f9b7 2016 ldrsh.w r2, [r7, #22] + 8018d38: 4915 ldr r1, [pc, #84] ; (8018d90 ) + 8018d3a: 4613 mov r3, r2 + 8018d3c: 005b lsls r3, r3, #1 + 8018d3e: 4413 add r3, r2 + 8018d40: 00db lsls r3, r3, #3 + 8018d42: 440b add r3, r1 + 8018d44: 681b ldr r3, [r3, #0] + 8018d46: 613b str r3, [r7, #16] arp_table[i].q = NULL; - 80191b8: f9b7 2016 ldrsh.w r2, [r7, #22] - 80191bc: 4910 ldr r1, [pc, #64] ; (8019200 ) - 80191be: 4613 mov r3, r2 - 80191c0: 005b lsls r3, r3, #1 - 80191c2: 4413 add r3, r2 - 80191c4: 00db lsls r3, r3, #3 - 80191c6: 440b add r3, r1 - 80191c8: 2200 movs r2, #0 - 80191ca: 601a str r2, [r3, #0] + 8018d48: f9b7 2016 ldrsh.w r2, [r7, #22] + 8018d4c: 4910 ldr r1, [pc, #64] ; (8018d90 ) + 8018d4e: 4613 mov r3, r2 + 8018d50: 005b lsls r3, r3, #1 + 8018d52: 4413 add r3, r2 + 8018d54: 00db lsls r3, r3, #3 + 8018d56: 440b add r3, r1 + 8018d58: 2200 movs r2, #0 + 8018d5a: 601a str r2, [r3, #0] #endif /* ARP_QUEUEING */ /* send the queued IP packet */ ethernet_output(netif, p, (struct eth_addr *)(netif->hwaddr), ethaddr, ETHTYPE_IP); - 80191cc: 68fb ldr r3, [r7, #12] - 80191ce: f103 022a add.w r2, r3, #42 ; 0x2a - 80191d2: f44f 6300 mov.w r3, #2048 ; 0x800 - 80191d6: 9300 str r3, [sp, #0] - 80191d8: 687b ldr r3, [r7, #4] - 80191da: 6939 ldr r1, [r7, #16] - 80191dc: 68f8 ldr r0, [r7, #12] - 80191de: f001 ffad bl 801b13c + 8018d5c: 68fb ldr r3, [r7, #12] + 8018d5e: f103 022a add.w r2, r3, #42 ; 0x2a + 8018d62: f44f 6300 mov.w r3, #2048 ; 0x800 + 8018d66: 9300 str r3, [sp, #0] + 8018d68: 687b ldr r3, [r7, #4] + 8018d6a: 6939 ldr r1, [r7, #16] + 8018d6c: 68f8 ldr r0, [r7, #12] + 8018d6e: f001 ffad bl 801accc /* free the queued IP packet */ pbuf_free(p); - 80191e2: 6938 ldr r0, [r7, #16] - 80191e4: f7f7 fc38 bl 8010a58 + 8018d72: 6938 ldr r0, [r7, #16] + 8018d74: f7f7 fc38 bl 80105e8 } return ERR_OK; - 80191e8: 2300 movs r3, #0 + 8018d78: 2300 movs r3, #0 } - 80191ea: 4618 mov r0, r3 - 80191ec: 3718 adds r7, #24 - 80191ee: 46bd mov sp, r7 - 80191f0: bd80 pop {r7, pc} - 80191f2: bf00 nop - 80191f4: 0801ef3c .word 0x0801ef3c - 80191f8: 0801f034 .word 0x0801f034 - 80191fc: 0801efb4 .word 0x0801efb4 - 8019200: 20008778 .word 0x20008778 + 8018d7a: 4618 mov r0, r3 + 8018d7c: 3718 adds r7, #24 + 8018d7e: 46bd mov sp, r7 + 8018d80: bd80 pop {r7, pc} + 8018d82: bf00 nop + 8018d84: 0801e738 .word 0x0801e738 + 8018d88: 0801e830 .word 0x0801e830 + 8018d8c: 0801e7b0 .word 0x0801e7b0 + 8018d90: 20008778 .word 0x20008778 -08019204 : +08018d94 : * * @param netif points to a network interface */ void etharp_cleanup_netif(struct netif *netif) { - 8019204: b580 push {r7, lr} - 8019206: b084 sub sp, #16 - 8019208: af00 add r7, sp, #0 - 801920a: 6078 str r0, [r7, #4] + 8018d94: b580 push {r7, lr} + 8018d96: b084 sub sp, #16 + 8018d98: af00 add r7, sp, #0 + 8018d9a: 6078 str r0, [r7, #4] int i; for (i = 0; i < ARP_TABLE_SIZE; ++i) { - 801920c: 2300 movs r3, #0 - 801920e: 60fb str r3, [r7, #12] - 8019210: e01e b.n 8019250 + 8018d9c: 2300 movs r3, #0 + 8018d9e: 60fb str r3, [r7, #12] + 8018da0: e01e b.n 8018de0 u8_t state = arp_table[i].state; - 8019212: 4913 ldr r1, [pc, #76] ; (8019260 ) - 8019214: 68fa ldr r2, [r7, #12] - 8019216: 4613 mov r3, r2 - 8019218: 005b lsls r3, r3, #1 - 801921a: 4413 add r3, r2 - 801921c: 00db lsls r3, r3, #3 - 801921e: 440b add r3, r1 - 8019220: 3314 adds r3, #20 - 8019222: 781b ldrb r3, [r3, #0] - 8019224: 72fb strb r3, [r7, #11] + 8018da2: 4913 ldr r1, [pc, #76] ; (8018df0 ) + 8018da4: 68fa ldr r2, [r7, #12] + 8018da6: 4613 mov r3, r2 + 8018da8: 005b lsls r3, r3, #1 + 8018daa: 4413 add r3, r2 + 8018dac: 00db lsls r3, r3, #3 + 8018dae: 440b add r3, r1 + 8018db0: 3314 adds r3, #20 + 8018db2: 781b ldrb r3, [r3, #0] + 8018db4: 72fb strb r3, [r7, #11] if ((state != ETHARP_STATE_EMPTY) && (arp_table[i].netif == netif)) { - 8019226: 7afb ldrb r3, [r7, #11] - 8019228: 2b00 cmp r3, #0 - 801922a: d00e beq.n 801924a - 801922c: 490c ldr r1, [pc, #48] ; (8019260 ) - 801922e: 68fa ldr r2, [r7, #12] - 8019230: 4613 mov r3, r2 - 8019232: 005b lsls r3, r3, #1 - 8019234: 4413 add r3, r2 - 8019236: 00db lsls r3, r3, #3 - 8019238: 440b add r3, r1 - 801923a: 3308 adds r3, #8 - 801923c: 681b ldr r3, [r3, #0] - 801923e: 687a ldr r2, [r7, #4] - 8019240: 429a cmp r2, r3 - 8019242: d102 bne.n 801924a + 8018db6: 7afb ldrb r3, [r7, #11] + 8018db8: 2b00 cmp r3, #0 + 8018dba: d00e beq.n 8018dda + 8018dbc: 490c ldr r1, [pc, #48] ; (8018df0 ) + 8018dbe: 68fa ldr r2, [r7, #12] + 8018dc0: 4613 mov r3, r2 + 8018dc2: 005b lsls r3, r3, #1 + 8018dc4: 4413 add r3, r2 + 8018dc6: 00db lsls r3, r3, #3 + 8018dc8: 440b add r3, r1 + 8018dca: 3308 adds r3, #8 + 8018dcc: 681b ldr r3, [r3, #0] + 8018dce: 687a ldr r2, [r7, #4] + 8018dd0: 429a cmp r2, r3 + 8018dd2: d102 bne.n 8018dda etharp_free_entry(i); - 8019244: 68f8 ldr r0, [r7, #12] - 8019246: f7ff fce5 bl 8018c14 + 8018dd4: 68f8 ldr r0, [r7, #12] + 8018dd6: f7ff fce5 bl 80187a4 for (i = 0; i < ARP_TABLE_SIZE; ++i) { - 801924a: 68fb ldr r3, [r7, #12] - 801924c: 3301 adds r3, #1 - 801924e: 60fb str r3, [r7, #12] - 8019250: 68fb ldr r3, [r7, #12] - 8019252: 2b09 cmp r3, #9 - 8019254: dddd ble.n 8019212 + 8018dda: 68fb ldr r3, [r7, #12] + 8018ddc: 3301 adds r3, #1 + 8018dde: 60fb str r3, [r7, #12] + 8018de0: 68fb ldr r3, [r7, #12] + 8018de2: 2b09 cmp r3, #9 + 8018de4: dddd ble.n 8018da2 } } } - 8019256: bf00 nop - 8019258: 3710 adds r7, #16 - 801925a: 46bd mov sp, r7 - 801925c: bd80 pop {r7, pc} - 801925e: bf00 nop - 8019260: 20008778 .word 0x20008778 + 8018de6: bf00 nop + 8018de8: 3710 adds r7, #16 + 8018dea: 46bd mov sp, r7 + 8018dec: bd80 pop {r7, pc} + 8018dee: bf00 nop + 8018df0: 20008778 .word 0x20008778 -08019264 : +08018df4 : * * @see pbuf_free() */ void etharp_input(struct pbuf *p, struct netif *netif) { - 8019264: b5b0 push {r4, r5, r7, lr} - 8019266: b08a sub sp, #40 ; 0x28 - 8019268: af04 add r7, sp, #16 - 801926a: 6078 str r0, [r7, #4] - 801926c: 6039 str r1, [r7, #0] + 8018df4: b5b0 push {r4, r5, r7, lr} + 8018df6: b08a sub sp, #40 ; 0x28 + 8018df8: af04 add r7, sp, #16 + 8018dfa: 6078 str r0, [r7, #4] + 8018dfc: 6039 str r1, [r7, #0] ip4_addr_t sipaddr, dipaddr; u8_t for_us; LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("netif != NULL", (netif != NULL), return;); - 801926e: 683b ldr r3, [r7, #0] - 8019270: 2b00 cmp r3, #0 - 8019272: d107 bne.n 8019284 - 8019274: 4b3f ldr r3, [pc, #252] ; (8019374 ) - 8019276: f240 228a movw r2, #650 ; 0x28a - 801927a: 493f ldr r1, [pc, #252] ; (8019378 ) - 801927c: 483f ldr r0, [pc, #252] ; (801937c ) - 801927e: f002 f91b bl 801b4b8 - 8019282: e074 b.n 801936e + 8018dfe: 683b ldr r3, [r7, #0] + 8018e00: 2b00 cmp r3, #0 + 8018e02: d107 bne.n 8018e14 + 8018e04: 4b3f ldr r3, [pc, #252] ; (8018f04 ) + 8018e06: f240 228a movw r2, #650 ; 0x28a + 8018e0a: 493f ldr r1, [pc, #252] ; (8018f08 ) + 8018e0c: 483f ldr r0, [pc, #252] ; (8018f0c ) + 8018e0e: f002 f901 bl 801b014 + 8018e12: e074 b.n 8018efe hdr = (struct etharp_hdr *)p->payload; - 8019284: 687b ldr r3, [r7, #4] - 8019286: 685b ldr r3, [r3, #4] - 8019288: 613b str r3, [r7, #16] + 8018e14: 687b ldr r3, [r7, #4] + 8018e16: 685b ldr r3, [r3, #4] + 8018e18: 613b str r3, [r7, #16] /* RFC 826 "Packet Reception": */ if ((hdr->hwtype != PP_HTONS(LWIP_IANA_HWTYPE_ETHERNET)) || - 801928a: 693b ldr r3, [r7, #16] - 801928c: 881b ldrh r3, [r3, #0] - 801928e: b29b uxth r3, r3 - 8019290: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 8019294: d10c bne.n 80192b0 + 8018e1a: 693b ldr r3, [r7, #16] + 8018e1c: 881b ldrh r3, [r3, #0] + 8018e1e: b29b uxth r3, r3 + 8018e20: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 8018e24: d10c bne.n 8018e40 (hdr->hwlen != ETH_HWADDR_LEN) || - 8019296: 693b ldr r3, [r7, #16] - 8019298: 791b ldrb r3, [r3, #4] + 8018e26: 693b ldr r3, [r7, #16] + 8018e28: 791b ldrb r3, [r3, #4] if ((hdr->hwtype != PP_HTONS(LWIP_IANA_HWTYPE_ETHERNET)) || - 801929a: 2b06 cmp r3, #6 - 801929c: d108 bne.n 80192b0 + 8018e2a: 2b06 cmp r3, #6 + 8018e2c: d108 bne.n 8018e40 (hdr->protolen != sizeof(ip4_addr_t)) || - 801929e: 693b ldr r3, [r7, #16] - 80192a0: 795b ldrb r3, [r3, #5] + 8018e2e: 693b ldr r3, [r7, #16] + 8018e30: 795b ldrb r3, [r3, #5] (hdr->hwlen != ETH_HWADDR_LEN) || - 80192a2: 2b04 cmp r3, #4 - 80192a4: d104 bne.n 80192b0 + 8018e32: 2b04 cmp r3, #4 + 8018e34: d104 bne.n 8018e40 (hdr->proto != PP_HTONS(ETHTYPE_IP))) { - 80192a6: 693b ldr r3, [r7, #16] - 80192a8: 885b ldrh r3, [r3, #2] - 80192aa: b29b uxth r3, r3 + 8018e36: 693b ldr r3, [r7, #16] + 8018e38: 885b ldrh r3, [r3, #2] + 8018e3a: b29b uxth r3, r3 (hdr->protolen != sizeof(ip4_addr_t)) || - 80192ac: 2b08 cmp r3, #8 - 80192ae: d003 beq.n 80192b8 + 8018e3c: 2b08 cmp r3, #8 + 8018e3e: d003 beq.n 8018e48 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("etharp_input: packet dropped, wrong hw type, hwlen, proto, protolen or ethernet type (%"U16_F"/%"U16_F"/%"U16_F"/%"U16_F")\n", hdr->hwtype, (u16_t)hdr->hwlen, hdr->proto, (u16_t)hdr->protolen)); ETHARP_STATS_INC(etharp.proterr); ETHARP_STATS_INC(etharp.drop); pbuf_free(p); - 80192b0: 6878 ldr r0, [r7, #4] - 80192b2: f7f7 fbd1 bl 8010a58 + 8018e40: 6878 ldr r0, [r7, #4] + 8018e42: f7f7 fbd1 bl 80105e8 return; - 80192b6: e05a b.n 801936e + 8018e46: e05a b.n 8018efe autoip_arp_reply(netif, hdr); #endif /* LWIP_AUTOIP */ /* Copy struct ip4_addr_wordaligned to aligned ip4_addr, to support compilers without * structure packing (not using structure copy which breaks strict-aliasing rules). */ IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T(&sipaddr, &hdr->sipaddr); - 80192b8: 693b ldr r3, [r7, #16] - 80192ba: 330e adds r3, #14 - 80192bc: 681b ldr r3, [r3, #0] - 80192be: 60fb str r3, [r7, #12] + 8018e48: 693b ldr r3, [r7, #16] + 8018e4a: 330e adds r3, #14 + 8018e4c: 681b ldr r3, [r3, #0] + 8018e4e: 60fb str r3, [r7, #12] IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T(&dipaddr, &hdr->dipaddr); - 80192c0: 693b ldr r3, [r7, #16] - 80192c2: 3318 adds r3, #24 - 80192c4: 681b ldr r3, [r3, #0] - 80192c6: 60bb str r3, [r7, #8] + 8018e50: 693b ldr r3, [r7, #16] + 8018e52: 3318 adds r3, #24 + 8018e54: 681b ldr r3, [r3, #0] + 8018e56: 60bb str r3, [r7, #8] /* this interface is not configured? */ if (ip4_addr_isany_val(*netif_ip4_addr(netif))) { - 80192c8: 683b ldr r3, [r7, #0] - 80192ca: 3304 adds r3, #4 - 80192cc: 681b ldr r3, [r3, #0] - 80192ce: 2b00 cmp r3, #0 - 80192d0: d102 bne.n 80192d8 + 8018e58: 683b ldr r3, [r7, #0] + 8018e5a: 3304 adds r3, #4 + 8018e5c: 681b ldr r3, [r3, #0] + 8018e5e: 2b00 cmp r3, #0 + 8018e60: d102 bne.n 8018e68 for_us = 0; - 80192d2: 2300 movs r3, #0 - 80192d4: 75fb strb r3, [r7, #23] - 80192d6: e009 b.n 80192ec + 8018e62: 2300 movs r3, #0 + 8018e64: 75fb strb r3, [r7, #23] + 8018e66: e009 b.n 8018e7c } else { /* ARP packet directed to us? */ for_us = (u8_t)ip4_addr_cmp(&dipaddr, netif_ip4_addr(netif)); - 80192d8: 68ba ldr r2, [r7, #8] - 80192da: 683b ldr r3, [r7, #0] - 80192dc: 3304 adds r3, #4 - 80192de: 681b ldr r3, [r3, #0] - 80192e0: 429a cmp r2, r3 - 80192e2: bf0c ite eq - 80192e4: 2301 moveq r3, #1 - 80192e6: 2300 movne r3, #0 - 80192e8: b2db uxtb r3, r3 - 80192ea: 75fb strb r3, [r7, #23] + 8018e68: 68ba ldr r2, [r7, #8] + 8018e6a: 683b ldr r3, [r7, #0] + 8018e6c: 3304 adds r3, #4 + 8018e6e: 681b ldr r3, [r3, #0] + 8018e70: 429a cmp r2, r3 + 8018e72: bf0c ite eq + 8018e74: 2301 moveq r3, #1 + 8018e76: 2300 movne r3, #0 + 8018e78: b2db uxtb r3, r3 + 8018e7a: 75fb strb r3, [r7, #23] /* ARP message directed to us? -> add IP address in ARP cache; assume requester wants to talk to us, can result in directly sending the queued packets for this host. ARP message not directed to us? -> update the source IP address in the cache, if present */ etharp_update_arp_entry(netif, &sipaddr, &(hdr->shwaddr), - 80192ec: 693b ldr r3, [r7, #16] - 80192ee: f103 0208 add.w r2, r3, #8 - 80192f2: 7dfb ldrb r3, [r7, #23] - 80192f4: 2b00 cmp r3, #0 - 80192f6: d001 beq.n 80192fc - 80192f8: 2301 movs r3, #1 - 80192fa: e000 b.n 80192fe - 80192fc: 2302 movs r3, #2 - 80192fe: f107 010c add.w r1, r7, #12 - 8019302: 6838 ldr r0, [r7, #0] - 8019304: f7ff fed8 bl 80190b8 + 8018e7c: 693b ldr r3, [r7, #16] + 8018e7e: f103 0208 add.w r2, r3, #8 + 8018e82: 7dfb ldrb r3, [r7, #23] + 8018e84: 2b00 cmp r3, #0 + 8018e86: d001 beq.n 8018e8c + 8018e88: 2301 movs r3, #1 + 8018e8a: e000 b.n 8018e8e + 8018e8c: 2302 movs r3, #2 + 8018e8e: f107 010c add.w r1, r7, #12 + 8018e92: 6838 ldr r0, [r7, #0] + 8018e94: f7ff fed8 bl 8018c48 for_us ? ETHARP_FLAG_TRY_HARD : ETHARP_FLAG_FIND_ONLY); /* now act on the message itself */ switch (hdr->opcode) { - 8019308: 693b ldr r3, [r7, #16] - 801930a: 88db ldrh r3, [r3, #6] - 801930c: b29b uxth r3, r3 - 801930e: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 8019312: d003 beq.n 801931c - 8019314: f5b3 7f00 cmp.w r3, #512 ; 0x200 - 8019318: d01e beq.n 8019358 + 8018e98: 693b ldr r3, [r7, #16] + 8018e9a: 88db ldrh r3, [r3, #6] + 8018e9c: b29b uxth r3, r3 + 8018e9e: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 8018ea2: d003 beq.n 8018eac + 8018ea4: f5b3 7f00 cmp.w r3, #512 ; 0x200 + 8018ea8: d01e beq.n 8018ee8 #endif /* (LWIP_DHCP && DHCP_DOES_ARP_CHECK) */ break; default: LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_input: ARP unknown opcode type %"S16_F"\n", lwip_htons(hdr->opcode))); ETHARP_STATS_INC(etharp.err); break; - 801931a: e025 b.n 8019368 + 8018eaa: e025 b.n 8018ef8 if (for_us) { - 801931c: 7dfb ldrb r3, [r7, #23] - 801931e: 2b00 cmp r3, #0 - 8019320: d021 beq.n 8019366 + 8018eac: 7dfb ldrb r3, [r7, #23] + 8018eae: 2b00 cmp r3, #0 + 8018eb0: d021 beq.n 8018ef6 (struct eth_addr *)netif->hwaddr, &hdr->shwaddr, - 8019322: 683b ldr r3, [r7, #0] - 8019324: f103 002a add.w r0, r3, #42 ; 0x2a - 8019328: 693b ldr r3, [r7, #16] - 801932a: f103 0408 add.w r4, r3, #8 + 8018eb2: 683b ldr r3, [r7, #0] + 8018eb4: f103 002a add.w r0, r3, #42 ; 0x2a + 8018eb8: 693b ldr r3, [r7, #16] + 8018eba: f103 0408 add.w r4, r3, #8 (struct eth_addr *)netif->hwaddr, netif_ip4_addr(netif), - 801932e: 683b ldr r3, [r7, #0] - 8019330: f103 052a add.w r5, r3, #42 ; 0x2a - 8019334: 683b ldr r3, [r7, #0] - 8019336: 3304 adds r3, #4 + 8018ebe: 683b ldr r3, [r7, #0] + 8018ec0: f103 052a add.w r5, r3, #42 ; 0x2a + 8018ec4: 683b ldr r3, [r7, #0] + 8018ec6: 3304 adds r3, #4 &hdr->shwaddr, &sipaddr, - 8019338: 693a ldr r2, [r7, #16] - 801933a: 3208 adds r2, #8 + 8018ec8: 693a ldr r2, [r7, #16] + 8018eca: 3208 adds r2, #8 etharp_raw(netif, - 801933c: 2102 movs r1, #2 - 801933e: 9103 str r1, [sp, #12] - 8019340: f107 010c add.w r1, r7, #12 - 8019344: 9102 str r1, [sp, #8] - 8019346: 9201 str r2, [sp, #4] - 8019348: 9300 str r3, [sp, #0] - 801934a: 462b mov r3, r5 - 801934c: 4622 mov r2, r4 - 801934e: 4601 mov r1, r0 - 8019350: 6838 ldr r0, [r7, #0] - 8019352: f000 faef bl 8019934 + 8018ecc: 2102 movs r1, #2 + 8018ece: 9103 str r1, [sp, #12] + 8018ed0: f107 010c add.w r1, r7, #12 + 8018ed4: 9102 str r1, [sp, #8] + 8018ed6: 9201 str r2, [sp, #4] + 8018ed8: 9300 str r3, [sp, #0] + 8018eda: 462b mov r3, r5 + 8018edc: 4622 mov r2, r4 + 8018ede: 4601 mov r1, r0 + 8018ee0: 6838 ldr r0, [r7, #0] + 8018ee2: f000 faef bl 80194c4 break; - 8019356: e006 b.n 8019366 + 8018ee6: e006 b.n 8018ef6 dhcp_arp_reply(netif, &sipaddr); - 8019358: f107 030c add.w r3, r7, #12 - 801935c: 4619 mov r1, r3 - 801935e: 6838 ldr r0, [r7, #0] - 8019360: f7fe f9fe bl 8017760 + 8018ee8: f107 030c add.w r3, r7, #12 + 8018eec: 4619 mov r1, r3 + 8018eee: 6838 ldr r0, [r7, #0] + 8018ef0: f7fe f9fe bl 80172f0 break; - 8019364: e000 b.n 8019368 + 8018ef4: e000 b.n 8018ef8 break; - 8019366: bf00 nop + 8018ef6: bf00 nop } /* free ARP packet */ pbuf_free(p); - 8019368: 6878 ldr r0, [r7, #4] - 801936a: f7f7 fb75 bl 8010a58 + 8018ef8: 6878 ldr r0, [r7, #4] + 8018efa: f7f7 fb75 bl 80105e8 } - 801936e: 3718 adds r7, #24 - 8019370: 46bd mov sp, r7 - 8019372: bdb0 pop {r4, r5, r7, pc} - 8019374: 0801ef3c .word 0x0801ef3c - 8019378: 0801f08c .word 0x0801f08c - 801937c: 0801efb4 .word 0x0801efb4 + 8018efe: 3718 adds r7, #24 + 8018f00: 46bd mov sp, r7 + 8018f02: bdb0 pop {r4, r5, r7, pc} + 8018f04: 0801e738 .word 0x0801e738 + 8018f08: 0801e888 .word 0x0801e888 + 8018f0c: 0801e7b0 .word 0x0801e7b0 -08019380 : +08018f10 : /** Just a small helper function that sends a pbuf to an ethernet address * in the arp_table specified by the index 'arp_idx'. */ static err_t etharp_output_to_arp_index(struct netif *netif, struct pbuf *q, netif_addr_idx_t arp_idx) { - 8019380: b580 push {r7, lr} - 8019382: b086 sub sp, #24 - 8019384: af02 add r7, sp, #8 - 8019386: 60f8 str r0, [r7, #12] - 8019388: 60b9 str r1, [r7, #8] - 801938a: 4613 mov r3, r2 - 801938c: 71fb strb r3, [r7, #7] + 8018f10: b580 push {r7, lr} + 8018f12: b086 sub sp, #24 + 8018f14: af02 add r7, sp, #8 + 8018f16: 60f8 str r0, [r7, #12] + 8018f18: 60b9 str r1, [r7, #8] + 8018f1a: 4613 mov r3, r2 + 8018f1c: 71fb strb r3, [r7, #7] LWIP_ASSERT("arp_table[arp_idx].state >= ETHARP_STATE_STABLE", - 801938e: 79fa ldrb r2, [r7, #7] - 8019390: 4944 ldr r1, [pc, #272] ; (80194a4 ) - 8019392: 4613 mov r3, r2 - 8019394: 005b lsls r3, r3, #1 - 8019396: 4413 add r3, r2 - 8019398: 00db lsls r3, r3, #3 - 801939a: 440b add r3, r1 - 801939c: 3314 adds r3, #20 - 801939e: 781b ldrb r3, [r3, #0] - 80193a0: 2b01 cmp r3, #1 - 80193a2: d806 bhi.n 80193b2 - 80193a4: 4b40 ldr r3, [pc, #256] ; (80194a8 ) - 80193a6: f240 22ef movw r2, #751 ; 0x2ef - 80193aa: 4940 ldr r1, [pc, #256] ; (80194ac ) - 80193ac: 4840 ldr r0, [pc, #256] ; (80194b0 ) - 80193ae: f002 f883 bl 801b4b8 + 8018f1e: 79fa ldrb r2, [r7, #7] + 8018f20: 4944 ldr r1, [pc, #272] ; (8019034 ) + 8018f22: 4613 mov r3, r2 + 8018f24: 005b lsls r3, r3, #1 + 8018f26: 4413 add r3, r2 + 8018f28: 00db lsls r3, r3, #3 + 8018f2a: 440b add r3, r1 + 8018f2c: 3314 adds r3, #20 + 8018f2e: 781b ldrb r3, [r3, #0] + 8018f30: 2b01 cmp r3, #1 + 8018f32: d806 bhi.n 8018f42 + 8018f34: 4b40 ldr r3, [pc, #256] ; (8019038 ) + 8018f36: f240 22ef movw r2, #751 ; 0x2ef + 8018f3a: 4940 ldr r1, [pc, #256] ; (801903c ) + 8018f3c: 4840 ldr r0, [pc, #256] ; (8019040 ) + 8018f3e: f002 f869 bl 801b014 arp_table[arp_idx].state >= ETHARP_STATE_STABLE); /* if arp table entry is about to expire: re-request it, but only if its state is ETHARP_STATE_STABLE to prevent flooding the network with ARP requests if this address is used frequently. */ if (arp_table[arp_idx].state == ETHARP_STATE_STABLE) { - 80193b2: 79fa ldrb r2, [r7, #7] - 80193b4: 493b ldr r1, [pc, #236] ; (80194a4 ) - 80193b6: 4613 mov r3, r2 - 80193b8: 005b lsls r3, r3, #1 - 80193ba: 4413 add r3, r2 - 80193bc: 00db lsls r3, r3, #3 - 80193be: 440b add r3, r1 - 80193c0: 3314 adds r3, #20 - 80193c2: 781b ldrb r3, [r3, #0] - 80193c4: 2b02 cmp r3, #2 - 80193c6: d153 bne.n 8019470 + 8018f42: 79fa ldrb r2, [r7, #7] + 8018f44: 493b ldr r1, [pc, #236] ; (8019034 ) + 8018f46: 4613 mov r3, r2 + 8018f48: 005b lsls r3, r3, #1 + 8018f4a: 4413 add r3, r2 + 8018f4c: 00db lsls r3, r3, #3 + 8018f4e: 440b add r3, r1 + 8018f50: 3314 adds r3, #20 + 8018f52: 781b ldrb r3, [r3, #0] + 8018f54: 2b02 cmp r3, #2 + 8018f56: d153 bne.n 8019000 if (arp_table[arp_idx].ctime >= ARP_AGE_REREQUEST_USED_BROADCAST) { - 80193c8: 79fa ldrb r2, [r7, #7] - 80193ca: 4936 ldr r1, [pc, #216] ; (80194a4 ) - 80193cc: 4613 mov r3, r2 - 80193ce: 005b lsls r3, r3, #1 - 80193d0: 4413 add r3, r2 - 80193d2: 00db lsls r3, r3, #3 - 80193d4: 440b add r3, r1 - 80193d6: 3312 adds r3, #18 - 80193d8: 881b ldrh r3, [r3, #0] - 80193da: f5b3 7f8e cmp.w r3, #284 ; 0x11c - 80193de: d919 bls.n 8019414 + 8018f58: 79fa ldrb r2, [r7, #7] + 8018f5a: 4936 ldr r1, [pc, #216] ; (8019034 ) + 8018f5c: 4613 mov r3, r2 + 8018f5e: 005b lsls r3, r3, #1 + 8018f60: 4413 add r3, r2 + 8018f62: 00db lsls r3, r3, #3 + 8018f64: 440b add r3, r1 + 8018f66: 3312 adds r3, #18 + 8018f68: 881b ldrh r3, [r3, #0] + 8018f6a: f5b3 7f8e cmp.w r3, #284 ; 0x11c + 8018f6e: d919 bls.n 8018fa4 /* issue a standard request using broadcast */ if (etharp_request(netif, &arp_table[arp_idx].ipaddr) == ERR_OK) { - 80193e0: 79fa ldrb r2, [r7, #7] - 80193e2: 4613 mov r3, r2 - 80193e4: 005b lsls r3, r3, #1 - 80193e6: 4413 add r3, r2 - 80193e8: 00db lsls r3, r3, #3 - 80193ea: 4a2e ldr r2, [pc, #184] ; (80194a4 ) - 80193ec: 4413 add r3, r2 - 80193ee: 3304 adds r3, #4 - 80193f0: 4619 mov r1, r3 - 80193f2: 68f8 ldr r0, [r7, #12] - 80193f4: f000 fb4c bl 8019a90 - 80193f8: 4603 mov r3, r0 - 80193fa: 2b00 cmp r3, #0 - 80193fc: d138 bne.n 8019470 + 8018f70: 79fa ldrb r2, [r7, #7] + 8018f72: 4613 mov r3, r2 + 8018f74: 005b lsls r3, r3, #1 + 8018f76: 4413 add r3, r2 + 8018f78: 00db lsls r3, r3, #3 + 8018f7a: 4a2e ldr r2, [pc, #184] ; (8019034 ) + 8018f7c: 4413 add r3, r2 + 8018f7e: 3304 adds r3, #4 + 8018f80: 4619 mov r1, r3 + 8018f82: 68f8 ldr r0, [r7, #12] + 8018f84: f000 fb4c bl 8019620 + 8018f88: 4603 mov r3, r0 + 8018f8a: 2b00 cmp r3, #0 + 8018f8c: d138 bne.n 8019000 arp_table[arp_idx].state = ETHARP_STATE_STABLE_REREQUESTING_1; - 80193fe: 79fa ldrb r2, [r7, #7] - 8019400: 4928 ldr r1, [pc, #160] ; (80194a4 ) - 8019402: 4613 mov r3, r2 - 8019404: 005b lsls r3, r3, #1 - 8019406: 4413 add r3, r2 - 8019408: 00db lsls r3, r3, #3 - 801940a: 440b add r3, r1 - 801940c: 3314 adds r3, #20 - 801940e: 2203 movs r2, #3 - 8019410: 701a strb r2, [r3, #0] - 8019412: e02d b.n 8019470 + 8018f8e: 79fa ldrb r2, [r7, #7] + 8018f90: 4928 ldr r1, [pc, #160] ; (8019034 ) + 8018f92: 4613 mov r3, r2 + 8018f94: 005b lsls r3, r3, #1 + 8018f96: 4413 add r3, r2 + 8018f98: 00db lsls r3, r3, #3 + 8018f9a: 440b add r3, r1 + 8018f9c: 3314 adds r3, #20 + 8018f9e: 2203 movs r2, #3 + 8018fa0: 701a strb r2, [r3, #0] + 8018fa2: e02d b.n 8019000 } } else if (arp_table[arp_idx].ctime >= ARP_AGE_REREQUEST_USED_UNICAST) { - 8019414: 79fa ldrb r2, [r7, #7] - 8019416: 4923 ldr r1, [pc, #140] ; (80194a4 ) - 8019418: 4613 mov r3, r2 - 801941a: 005b lsls r3, r3, #1 - 801941c: 4413 add r3, r2 - 801941e: 00db lsls r3, r3, #3 - 8019420: 440b add r3, r1 - 8019422: 3312 adds r3, #18 - 8019424: 881b ldrh r3, [r3, #0] - 8019426: f5b3 7f87 cmp.w r3, #270 ; 0x10e - 801942a: d321 bcc.n 8019470 + 8018fa4: 79fa ldrb r2, [r7, #7] + 8018fa6: 4923 ldr r1, [pc, #140] ; (8019034 ) + 8018fa8: 4613 mov r3, r2 + 8018faa: 005b lsls r3, r3, #1 + 8018fac: 4413 add r3, r2 + 8018fae: 00db lsls r3, r3, #3 + 8018fb0: 440b add r3, r1 + 8018fb2: 3312 adds r3, #18 + 8018fb4: 881b ldrh r3, [r3, #0] + 8018fb6: f5b3 7f87 cmp.w r3, #270 ; 0x10e + 8018fba: d321 bcc.n 8019000 /* issue a unicast request (for 15 seconds) to prevent unnecessary broadcast */ if (etharp_request_dst(netif, &arp_table[arp_idx].ipaddr, &arp_table[arp_idx].ethaddr) == ERR_OK) { - 801942c: 79fa ldrb r2, [r7, #7] - 801942e: 4613 mov r3, r2 - 8019430: 005b lsls r3, r3, #1 - 8019432: 4413 add r3, r2 - 8019434: 00db lsls r3, r3, #3 - 8019436: 4a1b ldr r2, [pc, #108] ; (80194a4 ) - 8019438: 4413 add r3, r2 - 801943a: 1d19 adds r1, r3, #4 - 801943c: 79fa ldrb r2, [r7, #7] - 801943e: 4613 mov r3, r2 - 8019440: 005b lsls r3, r3, #1 - 8019442: 4413 add r3, r2 - 8019444: 00db lsls r3, r3, #3 - 8019446: 3308 adds r3, #8 - 8019448: 4a16 ldr r2, [pc, #88] ; (80194a4 ) - 801944a: 4413 add r3, r2 - 801944c: 3304 adds r3, #4 - 801944e: 461a mov r2, r3 - 8019450: 68f8 ldr r0, [r7, #12] - 8019452: f000 fafb bl 8019a4c - 8019456: 4603 mov r3, r0 - 8019458: 2b00 cmp r3, #0 - 801945a: d109 bne.n 8019470 + 8018fbc: 79fa ldrb r2, [r7, #7] + 8018fbe: 4613 mov r3, r2 + 8018fc0: 005b lsls r3, r3, #1 + 8018fc2: 4413 add r3, r2 + 8018fc4: 00db lsls r3, r3, #3 + 8018fc6: 4a1b ldr r2, [pc, #108] ; (8019034 ) + 8018fc8: 4413 add r3, r2 + 8018fca: 1d19 adds r1, r3, #4 + 8018fcc: 79fa ldrb r2, [r7, #7] + 8018fce: 4613 mov r3, r2 + 8018fd0: 005b lsls r3, r3, #1 + 8018fd2: 4413 add r3, r2 + 8018fd4: 00db lsls r3, r3, #3 + 8018fd6: 3308 adds r3, #8 + 8018fd8: 4a16 ldr r2, [pc, #88] ; (8019034 ) + 8018fda: 4413 add r3, r2 + 8018fdc: 3304 adds r3, #4 + 8018fde: 461a mov r2, r3 + 8018fe0: 68f8 ldr r0, [r7, #12] + 8018fe2: f000 fafb bl 80195dc + 8018fe6: 4603 mov r3, r0 + 8018fe8: 2b00 cmp r3, #0 + 8018fea: d109 bne.n 8019000 arp_table[arp_idx].state = ETHARP_STATE_STABLE_REREQUESTING_1; - 801945c: 79fa ldrb r2, [r7, #7] - 801945e: 4911 ldr r1, [pc, #68] ; (80194a4 ) - 8019460: 4613 mov r3, r2 - 8019462: 005b lsls r3, r3, #1 - 8019464: 4413 add r3, r2 - 8019466: 00db lsls r3, r3, #3 - 8019468: 440b add r3, r1 - 801946a: 3314 adds r3, #20 - 801946c: 2203 movs r2, #3 - 801946e: 701a strb r2, [r3, #0] + 8018fec: 79fa ldrb r2, [r7, #7] + 8018fee: 4911 ldr r1, [pc, #68] ; (8019034 ) + 8018ff0: 4613 mov r3, r2 + 8018ff2: 005b lsls r3, r3, #1 + 8018ff4: 4413 add r3, r2 + 8018ff6: 00db lsls r3, r3, #3 + 8018ff8: 440b add r3, r1 + 8018ffa: 3314 adds r3, #20 + 8018ffc: 2203 movs r2, #3 + 8018ffe: 701a strb r2, [r3, #0] } } } return ethernet_output(netif, q, (struct eth_addr *)(netif->hwaddr), &arp_table[arp_idx].ethaddr, ETHTYPE_IP); - 8019470: 68fb ldr r3, [r7, #12] - 8019472: f103 012a add.w r1, r3, #42 ; 0x2a - 8019476: 79fa ldrb r2, [r7, #7] - 8019478: 4613 mov r3, r2 - 801947a: 005b lsls r3, r3, #1 - 801947c: 4413 add r3, r2 - 801947e: 00db lsls r3, r3, #3 - 8019480: 3308 adds r3, #8 - 8019482: 4a08 ldr r2, [pc, #32] ; (80194a4 ) - 8019484: 4413 add r3, r2 - 8019486: 1d1a adds r2, r3, #4 - 8019488: f44f 6300 mov.w r3, #2048 ; 0x800 - 801948c: 9300 str r3, [sp, #0] - 801948e: 4613 mov r3, r2 - 8019490: 460a mov r2, r1 - 8019492: 68b9 ldr r1, [r7, #8] - 8019494: 68f8 ldr r0, [r7, #12] - 8019496: f001 fe51 bl 801b13c - 801949a: 4603 mov r3, r0 + 8019000: 68fb ldr r3, [r7, #12] + 8019002: f103 012a add.w r1, r3, #42 ; 0x2a + 8019006: 79fa ldrb r2, [r7, #7] + 8019008: 4613 mov r3, r2 + 801900a: 005b lsls r3, r3, #1 + 801900c: 4413 add r3, r2 + 801900e: 00db lsls r3, r3, #3 + 8019010: 3308 adds r3, #8 + 8019012: 4a08 ldr r2, [pc, #32] ; (8019034 ) + 8019014: 4413 add r3, r2 + 8019016: 1d1a adds r2, r3, #4 + 8019018: f44f 6300 mov.w r3, #2048 ; 0x800 + 801901c: 9300 str r3, [sp, #0] + 801901e: 4613 mov r3, r2 + 8019020: 460a mov r2, r1 + 8019022: 68b9 ldr r1, [r7, #8] + 8019024: 68f8 ldr r0, [r7, #12] + 8019026: f001 fe51 bl 801accc + 801902a: 4603 mov r3, r0 } - 801949c: 4618 mov r0, r3 - 801949e: 3710 adds r7, #16 - 80194a0: 46bd mov sp, r7 - 80194a2: bd80 pop {r7, pc} - 80194a4: 20008778 .word 0x20008778 - 80194a8: 0801ef3c .word 0x0801ef3c - 80194ac: 0801f0ac .word 0x0801f0ac - 80194b0: 0801efb4 .word 0x0801efb4 + 801902c: 4618 mov r0, r3 + 801902e: 3710 adds r7, #16 + 8019030: 46bd mov sp, r7 + 8019032: bd80 pop {r7, pc} + 8019034: 20008778 .word 0x20008778 + 8019038: 0801e738 .word 0x0801e738 + 801903c: 0801e8a8 .word 0x0801e8a8 + 8019040: 0801e7b0 .word 0x0801e7b0 -080194b4 : +08019044 : * - ERR_RTE No route to destination (no gateway to external networks), * or the return type of either etharp_query() or ethernet_output(). */ err_t etharp_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr) { - 80194b4: b580 push {r7, lr} - 80194b6: b08a sub sp, #40 ; 0x28 - 80194b8: af02 add r7, sp, #8 - 80194ba: 60f8 str r0, [r7, #12] - 80194bc: 60b9 str r1, [r7, #8] - 80194be: 607a str r2, [r7, #4] + 8019044: b580 push {r7, lr} + 8019046: b08a sub sp, #40 ; 0x28 + 8019048: af02 add r7, sp, #8 + 801904a: 60f8 str r0, [r7, #12] + 801904c: 60b9 str r1, [r7, #8] + 801904e: 607a str r2, [r7, #4] const struct eth_addr *dest; struct eth_addr mcastaddr; const ip4_addr_t *dst_addr = ipaddr; - 80194c0: 687b ldr r3, [r7, #4] - 80194c2: 61bb str r3, [r7, #24] + 8019050: 687b ldr r3, [r7, #4] + 8019052: 61bb str r3, [r7, #24] LWIP_ASSERT_CORE_LOCKED(); LWIP_ASSERT("netif != NULL", netif != NULL); - 80194c4: 68fb ldr r3, [r7, #12] - 80194c6: 2b00 cmp r3, #0 - 80194c8: d106 bne.n 80194d8 - 80194ca: 4b73 ldr r3, [pc, #460] ; (8019698 ) - 80194cc: f240 321e movw r2, #798 ; 0x31e - 80194d0: 4972 ldr r1, [pc, #456] ; (801969c ) - 80194d2: 4873 ldr r0, [pc, #460] ; (80196a0 ) - 80194d4: f001 fff0 bl 801b4b8 + 8019054: 68fb ldr r3, [r7, #12] + 8019056: 2b00 cmp r3, #0 + 8019058: d106 bne.n 8019068 + 801905a: 4b73 ldr r3, [pc, #460] ; (8019228 ) + 801905c: f240 321e movw r2, #798 ; 0x31e + 8019060: 4972 ldr r1, [pc, #456] ; (801922c ) + 8019062: 4873 ldr r0, [pc, #460] ; (8019230 ) + 8019064: f001 ffd6 bl 801b014 LWIP_ASSERT("q != NULL", q != NULL); - 80194d8: 68bb ldr r3, [r7, #8] - 80194da: 2b00 cmp r3, #0 - 80194dc: d106 bne.n 80194ec - 80194de: 4b6e ldr r3, [pc, #440] ; (8019698 ) - 80194e0: f240 321f movw r2, #799 ; 0x31f - 80194e4: 496f ldr r1, [pc, #444] ; (80196a4 ) - 80194e6: 486e ldr r0, [pc, #440] ; (80196a0 ) - 80194e8: f001 ffe6 bl 801b4b8 + 8019068: 68bb ldr r3, [r7, #8] + 801906a: 2b00 cmp r3, #0 + 801906c: d106 bne.n 801907c + 801906e: 4b6e ldr r3, [pc, #440] ; (8019228 ) + 8019070: f240 321f movw r2, #799 ; 0x31f + 8019074: 496f ldr r1, [pc, #444] ; (8019234 ) + 8019076: 486e ldr r0, [pc, #440] ; (8019230 ) + 8019078: f001 ffcc bl 801b014 LWIP_ASSERT("ipaddr != NULL", ipaddr != NULL); - 80194ec: 687b ldr r3, [r7, #4] - 80194ee: 2b00 cmp r3, #0 - 80194f0: d106 bne.n 8019500 - 80194f2: 4b69 ldr r3, [pc, #420] ; (8019698 ) - 80194f4: f44f 7248 mov.w r2, #800 ; 0x320 - 80194f8: 496b ldr r1, [pc, #428] ; (80196a8 ) - 80194fa: 4869 ldr r0, [pc, #420] ; (80196a0 ) - 80194fc: f001 ffdc bl 801b4b8 + 801907c: 687b ldr r3, [r7, #4] + 801907e: 2b00 cmp r3, #0 + 8019080: d106 bne.n 8019090 + 8019082: 4b69 ldr r3, [pc, #420] ; (8019228 ) + 8019084: f44f 7248 mov.w r2, #800 ; 0x320 + 8019088: 496b ldr r1, [pc, #428] ; (8019238 ) + 801908a: 4869 ldr r0, [pc, #420] ; (8019230 ) + 801908c: f001 ffc2 bl 801b014 /* Determine on destination hardware address. Broadcasts and multicasts * are special, other IP addresses are looked up in the ARP table. */ /* broadcast destination IP address? */ if (ip4_addr_isbroadcast(ipaddr, netif)) { - 8019500: 687b ldr r3, [r7, #4] - 8019502: 681b ldr r3, [r3, #0] - 8019504: 68f9 ldr r1, [r7, #12] - 8019506: 4618 mov r0, r3 - 8019508: f000 ff14 bl 801a334 - 801950c: 4603 mov r3, r0 - 801950e: 2b00 cmp r3, #0 - 8019510: d002 beq.n 8019518 + 8019090: 687b ldr r3, [r7, #4] + 8019092: 681b ldr r3, [r3, #0] + 8019094: 68f9 ldr r1, [r7, #12] + 8019096: 4618 mov r0, r3 + 8019098: f000 ff14 bl 8019ec4 + 801909c: 4603 mov r3, r0 + 801909e: 2b00 cmp r3, #0 + 80190a0: d002 beq.n 80190a8 /* broadcast on Ethernet also */ dest = (const struct eth_addr *)ðbroadcast; - 8019512: 4b66 ldr r3, [pc, #408] ; (80196ac ) - 8019514: 61fb str r3, [r7, #28] - 8019516: e0af b.n 8019678 + 80190a2: 4b66 ldr r3, [pc, #408] ; (801923c ) + 80190a4: 61fb str r3, [r7, #28] + 80190a6: e0af b.n 8019208 /* multicast destination IP address? */ } else if (ip4_addr_ismulticast(ipaddr)) { - 8019518: 687b ldr r3, [r7, #4] - 801951a: 681b ldr r3, [r3, #0] - 801951c: f003 03f0 and.w r3, r3, #240 ; 0xf0 - 8019520: 2be0 cmp r3, #224 ; 0xe0 - 8019522: d118 bne.n 8019556 + 80190a8: 687b ldr r3, [r7, #4] + 80190aa: 681b ldr r3, [r3, #0] + 80190ac: f003 03f0 and.w r3, r3, #240 ; 0xf0 + 80190b0: 2be0 cmp r3, #224 ; 0xe0 + 80190b2: d118 bne.n 80190e6 /* Hash IP multicast address to MAC address.*/ mcastaddr.addr[0] = LL_IP4_MULTICAST_ADDR_0; - 8019524: 2301 movs r3, #1 - 8019526: 743b strb r3, [r7, #16] + 80190b4: 2301 movs r3, #1 + 80190b6: 743b strb r3, [r7, #16] mcastaddr.addr[1] = LL_IP4_MULTICAST_ADDR_1; - 8019528: 2300 movs r3, #0 - 801952a: 747b strb r3, [r7, #17] + 80190b8: 2300 movs r3, #0 + 80190ba: 747b strb r3, [r7, #17] mcastaddr.addr[2] = LL_IP4_MULTICAST_ADDR_2; - 801952c: 235e movs r3, #94 ; 0x5e - 801952e: 74bb strb r3, [r7, #18] + 80190bc: 235e movs r3, #94 ; 0x5e + 80190be: 74bb strb r3, [r7, #18] mcastaddr.addr[3] = ip4_addr2(ipaddr) & 0x7f; - 8019530: 687b ldr r3, [r7, #4] - 8019532: 3301 adds r3, #1 - 8019534: 781b ldrb r3, [r3, #0] - 8019536: f003 037f and.w r3, r3, #127 ; 0x7f - 801953a: b2db uxtb r3, r3 - 801953c: 74fb strb r3, [r7, #19] + 80190c0: 687b ldr r3, [r7, #4] + 80190c2: 3301 adds r3, #1 + 80190c4: 781b ldrb r3, [r3, #0] + 80190c6: f003 037f and.w r3, r3, #127 ; 0x7f + 80190ca: b2db uxtb r3, r3 + 80190cc: 74fb strb r3, [r7, #19] mcastaddr.addr[4] = ip4_addr3(ipaddr); - 801953e: 687b ldr r3, [r7, #4] - 8019540: 3302 adds r3, #2 - 8019542: 781b ldrb r3, [r3, #0] - 8019544: 753b strb r3, [r7, #20] + 80190ce: 687b ldr r3, [r7, #4] + 80190d0: 3302 adds r3, #2 + 80190d2: 781b ldrb r3, [r3, #0] + 80190d4: 753b strb r3, [r7, #20] mcastaddr.addr[5] = ip4_addr4(ipaddr); - 8019546: 687b ldr r3, [r7, #4] - 8019548: 3303 adds r3, #3 - 801954a: 781b ldrb r3, [r3, #0] - 801954c: 757b strb r3, [r7, #21] + 80190d6: 687b ldr r3, [r7, #4] + 80190d8: 3303 adds r3, #3 + 80190da: 781b ldrb r3, [r3, #0] + 80190dc: 757b strb r3, [r7, #21] /* destination Ethernet address is multicast */ dest = &mcastaddr; - 801954e: f107 0310 add.w r3, r7, #16 - 8019552: 61fb str r3, [r7, #28] - 8019554: e090 b.n 8019678 + 80190de: f107 0310 add.w r3, r7, #16 + 80190e2: 61fb str r3, [r7, #28] + 80190e4: e090 b.n 8019208 /* unicast destination IP address? */ } else { netif_addr_idx_t i; /* outside local network? if so, this can neither be a global broadcast nor a subnet broadcast. */ if (!ip4_addr_netcmp(ipaddr, netif_ip4_addr(netif), netif_ip4_netmask(netif)) && - 8019556: 687b ldr r3, [r7, #4] - 8019558: 681a ldr r2, [r3, #0] - 801955a: 68fb ldr r3, [r7, #12] - 801955c: 3304 adds r3, #4 - 801955e: 681b ldr r3, [r3, #0] - 8019560: 405a eors r2, r3 - 8019562: 68fb ldr r3, [r7, #12] - 8019564: 3308 adds r3, #8 - 8019566: 681b ldr r3, [r3, #0] - 8019568: 4013 ands r3, r2 - 801956a: 2b00 cmp r3, #0 - 801956c: d012 beq.n 8019594 + 80190e6: 687b ldr r3, [r7, #4] + 80190e8: 681a ldr r2, [r3, #0] + 80190ea: 68fb ldr r3, [r7, #12] + 80190ec: 3304 adds r3, #4 + 80190ee: 681b ldr r3, [r3, #0] + 80190f0: 405a eors r2, r3 + 80190f2: 68fb ldr r3, [r7, #12] + 80190f4: 3308 adds r3, #8 + 80190f6: 681b ldr r3, [r3, #0] + 80190f8: 4013 ands r3, r2 + 80190fa: 2b00 cmp r3, #0 + 80190fc: d012 beq.n 8019124 !ip4_addr_islinklocal(ipaddr)) { - 801956e: 687b ldr r3, [r7, #4] - 8019570: 681b ldr r3, [r3, #0] - 8019572: b29b uxth r3, r3 + 80190fe: 687b ldr r3, [r7, #4] + 8019100: 681b ldr r3, [r3, #0] + 8019102: b29b uxth r3, r3 if (!ip4_addr_netcmp(ipaddr, netif_ip4_addr(netif), netif_ip4_netmask(netif)) && - 8019574: f64f 62a9 movw r2, #65193 ; 0xfea9 - 8019578: 4293 cmp r3, r2 - 801957a: d00b beq.n 8019594 + 8019104: f64f 62a9 movw r2, #65193 ; 0xfea9 + 8019108: 4293 cmp r3, r2 + 801910a: d00b beq.n 8019124 dst_addr = LWIP_HOOK_ETHARP_GET_GW(netif, ipaddr); if (dst_addr == NULL) #endif /* LWIP_HOOK_ETHARP_GET_GW */ { /* interface has default gateway? */ if (!ip4_addr_isany_val(*netif_ip4_gw(netif))) { - 801957c: 68fb ldr r3, [r7, #12] - 801957e: 330c adds r3, #12 - 8019580: 681b ldr r3, [r3, #0] - 8019582: 2b00 cmp r3, #0 - 8019584: d003 beq.n 801958e + 801910c: 68fb ldr r3, [r7, #12] + 801910e: 330c adds r3, #12 + 8019110: 681b ldr r3, [r3, #0] + 8019112: 2b00 cmp r3, #0 + 8019114: d003 beq.n 801911e /* send to hardware address of default gateway IP address */ dst_addr = netif_ip4_gw(netif); - 8019586: 68fb ldr r3, [r7, #12] - 8019588: 330c adds r3, #12 - 801958a: 61bb str r3, [r7, #24] - 801958c: e002 b.n 8019594 + 8019116: 68fb ldr r3, [r7, #12] + 8019118: 330c adds r3, #12 + 801911a: 61bb str r3, [r7, #24] + 801911c: e002 b.n 8019124 /* no default gateway available */ } else { /* no route to destination error (default gateway missing) */ return ERR_RTE; - 801958e: f06f 0303 mvn.w r3, #3 - 8019592: e07d b.n 8019690 + 801911e: f06f 0303 mvn.w r3, #3 + 8019122: e07d b.n 8019220 if (netif->hints != NULL) { /* per-pcb cached entry was given */ netif_addr_idx_t etharp_cached_entry = netif->hints->addr_hint; if (etharp_cached_entry < ARP_TABLE_SIZE) { #endif /* LWIP_NETIF_HWADDRHINT */ if ((arp_table[etharp_cached_entry].state >= ETHARP_STATE_STABLE) && - 8019594: 4b46 ldr r3, [pc, #280] ; (80196b0 ) - 8019596: 781b ldrb r3, [r3, #0] - 8019598: 4619 mov r1, r3 - 801959a: 4a46 ldr r2, [pc, #280] ; (80196b4 ) - 801959c: 460b mov r3, r1 - 801959e: 005b lsls r3, r3, #1 - 80195a0: 440b add r3, r1 - 80195a2: 00db lsls r3, r3, #3 - 80195a4: 4413 add r3, r2 - 80195a6: 3314 adds r3, #20 - 80195a8: 781b ldrb r3, [r3, #0] - 80195aa: 2b01 cmp r3, #1 - 80195ac: d925 bls.n 80195fa + 8019124: 4b46 ldr r3, [pc, #280] ; (8019240 ) + 8019126: 781b ldrb r3, [r3, #0] + 8019128: 4619 mov r1, r3 + 801912a: 4a46 ldr r2, [pc, #280] ; (8019244 ) + 801912c: 460b mov r3, r1 + 801912e: 005b lsls r3, r3, #1 + 8019130: 440b add r3, r1 + 8019132: 00db lsls r3, r3, #3 + 8019134: 4413 add r3, r2 + 8019136: 3314 adds r3, #20 + 8019138: 781b ldrb r3, [r3, #0] + 801913a: 2b01 cmp r3, #1 + 801913c: d925 bls.n 801918a #if ETHARP_TABLE_MATCH_NETIF (arp_table[etharp_cached_entry].netif == netif) && - 80195ae: 4b40 ldr r3, [pc, #256] ; (80196b0 ) - 80195b0: 781b ldrb r3, [r3, #0] - 80195b2: 4619 mov r1, r3 - 80195b4: 4a3f ldr r2, [pc, #252] ; (80196b4 ) - 80195b6: 460b mov r3, r1 - 80195b8: 005b lsls r3, r3, #1 - 80195ba: 440b add r3, r1 - 80195bc: 00db lsls r3, r3, #3 - 80195be: 4413 add r3, r2 - 80195c0: 3308 adds r3, #8 - 80195c2: 681b ldr r3, [r3, #0] + 801913e: 4b40 ldr r3, [pc, #256] ; (8019240 ) + 8019140: 781b ldrb r3, [r3, #0] + 8019142: 4619 mov r1, r3 + 8019144: 4a3f ldr r2, [pc, #252] ; (8019244 ) + 8019146: 460b mov r3, r1 + 8019148: 005b lsls r3, r3, #1 + 801914a: 440b add r3, r1 + 801914c: 00db lsls r3, r3, #3 + 801914e: 4413 add r3, r2 + 8019150: 3308 adds r3, #8 + 8019152: 681b ldr r3, [r3, #0] if ((arp_table[etharp_cached_entry].state >= ETHARP_STATE_STABLE) && - 80195c4: 68fa ldr r2, [r7, #12] - 80195c6: 429a cmp r2, r3 - 80195c8: d117 bne.n 80195fa + 8019154: 68fa ldr r2, [r7, #12] + 8019156: 429a cmp r2, r3 + 8019158: d117 bne.n 801918a #endif (ip4_addr_cmp(dst_addr, &arp_table[etharp_cached_entry].ipaddr))) { - 80195ca: 69bb ldr r3, [r7, #24] - 80195cc: 681a ldr r2, [r3, #0] - 80195ce: 4b38 ldr r3, [pc, #224] ; (80196b0 ) - 80195d0: 781b ldrb r3, [r3, #0] - 80195d2: 4618 mov r0, r3 - 80195d4: 4937 ldr r1, [pc, #220] ; (80196b4 ) - 80195d6: 4603 mov r3, r0 - 80195d8: 005b lsls r3, r3, #1 - 80195da: 4403 add r3, r0 - 80195dc: 00db lsls r3, r3, #3 - 80195de: 440b add r3, r1 - 80195e0: 3304 adds r3, #4 - 80195e2: 681b ldr r3, [r3, #0] + 801915a: 69bb ldr r3, [r7, #24] + 801915c: 681a ldr r2, [r3, #0] + 801915e: 4b38 ldr r3, [pc, #224] ; (8019240 ) + 8019160: 781b ldrb r3, [r3, #0] + 8019162: 4618 mov r0, r3 + 8019164: 4937 ldr r1, [pc, #220] ; (8019244 ) + 8019166: 4603 mov r3, r0 + 8019168: 005b lsls r3, r3, #1 + 801916a: 4403 add r3, r0 + 801916c: 00db lsls r3, r3, #3 + 801916e: 440b add r3, r1 + 8019170: 3304 adds r3, #4 + 8019172: 681b ldr r3, [r3, #0] (arp_table[etharp_cached_entry].netif == netif) && - 80195e4: 429a cmp r2, r3 - 80195e6: d108 bne.n 80195fa + 8019174: 429a cmp r2, r3 + 8019176: d108 bne.n 801918a /* the per-pcb-cached entry is stable and the right one! */ ETHARP_STATS_INC(etharp.cachehit); return etharp_output_to_arp_index(netif, q, etharp_cached_entry); - 80195e8: 4b31 ldr r3, [pc, #196] ; (80196b0 ) - 80195ea: 781b ldrb r3, [r3, #0] - 80195ec: 461a mov r2, r3 - 80195ee: 68b9 ldr r1, [r7, #8] - 80195f0: 68f8 ldr r0, [r7, #12] - 80195f2: f7ff fec5 bl 8019380 - 80195f6: 4603 mov r3, r0 - 80195f8: e04a b.n 8019690 + 8019178: 4b31 ldr r3, [pc, #196] ; (8019240 ) + 801917a: 781b ldrb r3, [r3, #0] + 801917c: 461a mov r2, r3 + 801917e: 68b9 ldr r1, [r7, #8] + 8019180: 68f8 ldr r0, [r7, #12] + 8019182: f7ff fec5 bl 8018f10 + 8019186: 4603 mov r3, r0 + 8019188: e04a b.n 8019220 } #endif /* LWIP_NETIF_HWADDRHINT */ /* find stable entry: do this here since this is a critical path for throughput and etharp_find_entry() is kind of slow */ for (i = 0; i < ARP_TABLE_SIZE; i++) { - 80195fa: 2300 movs r3, #0 - 80195fc: 75fb strb r3, [r7, #23] - 80195fe: e031 b.n 8019664 + 801918a: 2300 movs r3, #0 + 801918c: 75fb strb r3, [r7, #23] + 801918e: e031 b.n 80191f4 if ((arp_table[i].state >= ETHARP_STATE_STABLE) && - 8019600: 7dfa ldrb r2, [r7, #23] - 8019602: 492c ldr r1, [pc, #176] ; (80196b4 ) - 8019604: 4613 mov r3, r2 - 8019606: 005b lsls r3, r3, #1 - 8019608: 4413 add r3, r2 - 801960a: 00db lsls r3, r3, #3 - 801960c: 440b add r3, r1 - 801960e: 3314 adds r3, #20 - 8019610: 781b ldrb r3, [r3, #0] - 8019612: 2b01 cmp r3, #1 - 8019614: d923 bls.n 801965e + 8019190: 7dfa ldrb r2, [r7, #23] + 8019192: 492c ldr r1, [pc, #176] ; (8019244 ) + 8019194: 4613 mov r3, r2 + 8019196: 005b lsls r3, r3, #1 + 8019198: 4413 add r3, r2 + 801919a: 00db lsls r3, r3, #3 + 801919c: 440b add r3, r1 + 801919e: 3314 adds r3, #20 + 80191a0: 781b ldrb r3, [r3, #0] + 80191a2: 2b01 cmp r3, #1 + 80191a4: d923 bls.n 80191ee #if ETHARP_TABLE_MATCH_NETIF (arp_table[i].netif == netif) && - 8019616: 7dfa ldrb r2, [r7, #23] - 8019618: 4926 ldr r1, [pc, #152] ; (80196b4 ) - 801961a: 4613 mov r3, r2 - 801961c: 005b lsls r3, r3, #1 - 801961e: 4413 add r3, r2 - 8019620: 00db lsls r3, r3, #3 - 8019622: 440b add r3, r1 - 8019624: 3308 adds r3, #8 - 8019626: 681b ldr r3, [r3, #0] + 80191a6: 7dfa ldrb r2, [r7, #23] + 80191a8: 4926 ldr r1, [pc, #152] ; (8019244 ) + 80191aa: 4613 mov r3, r2 + 80191ac: 005b lsls r3, r3, #1 + 80191ae: 4413 add r3, r2 + 80191b0: 00db lsls r3, r3, #3 + 80191b2: 440b add r3, r1 + 80191b4: 3308 adds r3, #8 + 80191b6: 681b ldr r3, [r3, #0] if ((arp_table[i].state >= ETHARP_STATE_STABLE) && - 8019628: 68fa ldr r2, [r7, #12] - 801962a: 429a cmp r2, r3 - 801962c: d117 bne.n 801965e + 80191b8: 68fa ldr r2, [r7, #12] + 80191ba: 429a cmp r2, r3 + 80191bc: d117 bne.n 80191ee #endif (ip4_addr_cmp(dst_addr, &arp_table[i].ipaddr))) { - 801962e: 69bb ldr r3, [r7, #24] - 8019630: 6819 ldr r1, [r3, #0] - 8019632: 7dfa ldrb r2, [r7, #23] - 8019634: 481f ldr r0, [pc, #124] ; (80196b4 ) - 8019636: 4613 mov r3, r2 - 8019638: 005b lsls r3, r3, #1 - 801963a: 4413 add r3, r2 - 801963c: 00db lsls r3, r3, #3 - 801963e: 4403 add r3, r0 - 8019640: 3304 adds r3, #4 - 8019642: 681b ldr r3, [r3, #0] + 80191be: 69bb ldr r3, [r7, #24] + 80191c0: 6819 ldr r1, [r3, #0] + 80191c2: 7dfa ldrb r2, [r7, #23] + 80191c4: 481f ldr r0, [pc, #124] ; (8019244 ) + 80191c6: 4613 mov r3, r2 + 80191c8: 005b lsls r3, r3, #1 + 80191ca: 4413 add r3, r2 + 80191cc: 00db lsls r3, r3, #3 + 80191ce: 4403 add r3, r0 + 80191d0: 3304 adds r3, #4 + 80191d2: 681b ldr r3, [r3, #0] (arp_table[i].netif == netif) && - 8019644: 4299 cmp r1, r3 - 8019646: d10a bne.n 801965e + 80191d4: 4299 cmp r1, r3 + 80191d6: d10a bne.n 80191ee /* found an existing, stable entry */ ETHARP_SET_ADDRHINT(netif, i); - 8019648: 4a19 ldr r2, [pc, #100] ; (80196b0 ) - 801964a: 7dfb ldrb r3, [r7, #23] - 801964c: 7013 strb r3, [r2, #0] + 80191d8: 4a19 ldr r2, [pc, #100] ; (8019240 ) + 80191da: 7dfb ldrb r3, [r7, #23] + 80191dc: 7013 strb r3, [r2, #0] return etharp_output_to_arp_index(netif, q, i); - 801964e: 7dfb ldrb r3, [r7, #23] - 8019650: 461a mov r2, r3 - 8019652: 68b9 ldr r1, [r7, #8] - 8019654: 68f8 ldr r0, [r7, #12] - 8019656: f7ff fe93 bl 8019380 - 801965a: 4603 mov r3, r0 - 801965c: e018 b.n 8019690 + 80191de: 7dfb ldrb r3, [r7, #23] + 80191e0: 461a mov r2, r3 + 80191e2: 68b9 ldr r1, [r7, #8] + 80191e4: 68f8 ldr r0, [r7, #12] + 80191e6: f7ff fe93 bl 8018f10 + 80191ea: 4603 mov r3, r0 + 80191ec: e018 b.n 8019220 for (i = 0; i < ARP_TABLE_SIZE; i++) { - 801965e: 7dfb ldrb r3, [r7, #23] - 8019660: 3301 adds r3, #1 - 8019662: 75fb strb r3, [r7, #23] - 8019664: 7dfb ldrb r3, [r7, #23] - 8019666: 2b09 cmp r3, #9 - 8019668: d9ca bls.n 8019600 + 80191ee: 7dfb ldrb r3, [r7, #23] + 80191f0: 3301 adds r3, #1 + 80191f2: 75fb strb r3, [r7, #23] + 80191f4: 7dfb ldrb r3, [r7, #23] + 80191f6: 2b09 cmp r3, #9 + 80191f8: d9ca bls.n 8019190 } } /* no stable entry found, use the (slower) query function: queue on destination Ethernet address belonging to ipaddr */ return etharp_query(netif, dst_addr, q); - 801966a: 68ba ldr r2, [r7, #8] - 801966c: 69b9 ldr r1, [r7, #24] - 801966e: 68f8 ldr r0, [r7, #12] - 8019670: f000 f822 bl 80196b8 - 8019674: 4603 mov r3, r0 - 8019676: e00b b.n 8019690 + 80191fa: 68ba ldr r2, [r7, #8] + 80191fc: 69b9 ldr r1, [r7, #24] + 80191fe: 68f8 ldr r0, [r7, #12] + 8019200: f000 f822 bl 8019248 + 8019204: 4603 mov r3, r0 + 8019206: e00b b.n 8019220 } /* continuation for multicast/broadcast destinations */ /* obtain source Ethernet address of the given interface */ /* send packet directly on the link */ return ethernet_output(netif, q, (struct eth_addr *)(netif->hwaddr), dest, ETHTYPE_IP); - 8019678: 68fb ldr r3, [r7, #12] - 801967a: f103 022a add.w r2, r3, #42 ; 0x2a - 801967e: f44f 6300 mov.w r3, #2048 ; 0x800 - 8019682: 9300 str r3, [sp, #0] - 8019684: 69fb ldr r3, [r7, #28] - 8019686: 68b9 ldr r1, [r7, #8] - 8019688: 68f8 ldr r0, [r7, #12] - 801968a: f001 fd57 bl 801b13c - 801968e: 4603 mov r3, r0 + 8019208: 68fb ldr r3, [r7, #12] + 801920a: f103 022a add.w r2, r3, #42 ; 0x2a + 801920e: f44f 6300 mov.w r3, #2048 ; 0x800 + 8019212: 9300 str r3, [sp, #0] + 8019214: 69fb ldr r3, [r7, #28] + 8019216: 68b9 ldr r1, [r7, #8] + 8019218: 68f8 ldr r0, [r7, #12] + 801921a: f001 fd57 bl 801accc + 801921e: 4603 mov r3, r0 } - 8019690: 4618 mov r0, r3 - 8019692: 3720 adds r7, #32 - 8019694: 46bd mov sp, r7 - 8019696: bd80 pop {r7, pc} - 8019698: 0801ef3c .word 0x0801ef3c - 801969c: 0801f08c .word 0x0801f08c - 80196a0: 0801efb4 .word 0x0801efb4 - 80196a4: 0801f0dc .word 0x0801f0dc - 80196a8: 0801f07c .word 0x0801f07c - 80196ac: 08021674 .word 0x08021674 - 80196b0: 20008868 .word 0x20008868 - 80196b4: 20008778 .word 0x20008778 + 8019220: 4618 mov r0, r3 + 8019222: 3720 adds r7, #32 + 8019224: 46bd mov sp, r7 + 8019226: bd80 pop {r7, pc} + 8019228: 0801e738 .word 0x0801e738 + 801922c: 0801e888 .word 0x0801e888 + 8019230: 0801e7b0 .word 0x0801e7b0 + 8019234: 0801e8d8 .word 0x0801e8d8 + 8019238: 0801e878 .word 0x0801e878 + 801923c: 08020e70 .word 0x08020e70 + 8019240: 20008868 .word 0x20008868 + 8019244: 20008778 .word 0x20008778 -080196b8 : +08019248 : * - ERR_ARG Non-unicast address given, those will not appear in ARP cache. * */ err_t etharp_query(struct netif *netif, const ip4_addr_t *ipaddr, struct pbuf *q) { - 80196b8: b580 push {r7, lr} - 80196ba: b08c sub sp, #48 ; 0x30 - 80196bc: af02 add r7, sp, #8 - 80196be: 60f8 str r0, [r7, #12] - 80196c0: 60b9 str r1, [r7, #8] - 80196c2: 607a str r2, [r7, #4] + 8019248: b580 push {r7, lr} + 801924a: b08c sub sp, #48 ; 0x30 + 801924c: af02 add r7, sp, #8 + 801924e: 60f8 str r0, [r7, #12] + 8019250: 60b9 str r1, [r7, #8] + 8019252: 607a str r2, [r7, #4] struct eth_addr *srcaddr = (struct eth_addr *)netif->hwaddr; - 80196c4: 68fb ldr r3, [r7, #12] - 80196c6: 332a adds r3, #42 ; 0x2a - 80196c8: 617b str r3, [r7, #20] + 8019254: 68fb ldr r3, [r7, #12] + 8019256: 332a adds r3, #42 ; 0x2a + 8019258: 617b str r3, [r7, #20] err_t result = ERR_MEM; - 80196ca: 23ff movs r3, #255 ; 0xff - 80196cc: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 801925a: 23ff movs r3, #255 ; 0xff + 801925c: f887 3027 strb.w r3, [r7, #39] ; 0x27 int is_new_entry = 0; - 80196d0: 2300 movs r3, #0 - 80196d2: 623b str r3, [r7, #32] + 8019260: 2300 movs r3, #0 + 8019262: 623b str r3, [r7, #32] s16_t i_err; netif_addr_idx_t i; /* non-unicast address? */ if (ip4_addr_isbroadcast(ipaddr, netif) || - 80196d4: 68bb ldr r3, [r7, #8] - 80196d6: 681b ldr r3, [r3, #0] - 80196d8: 68f9 ldr r1, [r7, #12] - 80196da: 4618 mov r0, r3 - 80196dc: f000 fe2a bl 801a334 - 80196e0: 4603 mov r3, r0 - 80196e2: 2b00 cmp r3, #0 - 80196e4: d10c bne.n 8019700 + 8019264: 68bb ldr r3, [r7, #8] + 8019266: 681b ldr r3, [r3, #0] + 8019268: 68f9 ldr r1, [r7, #12] + 801926a: 4618 mov r0, r3 + 801926c: f000 fe2a bl 8019ec4 + 8019270: 4603 mov r3, r0 + 8019272: 2b00 cmp r3, #0 + 8019274: d10c bne.n 8019290 ip4_addr_ismulticast(ipaddr) || - 80196e6: 68bb ldr r3, [r7, #8] - 80196e8: 681b ldr r3, [r3, #0] - 80196ea: f003 03f0 and.w r3, r3, #240 ; 0xf0 + 8019276: 68bb ldr r3, [r7, #8] + 8019278: 681b ldr r3, [r3, #0] + 801927a: f003 03f0 and.w r3, r3, #240 ; 0xf0 if (ip4_addr_isbroadcast(ipaddr, netif) || - 80196ee: 2be0 cmp r3, #224 ; 0xe0 - 80196f0: d006 beq.n 8019700 + 801927e: 2be0 cmp r3, #224 ; 0xe0 + 8019280: d006 beq.n 8019290 ip4_addr_ismulticast(ipaddr) || - 80196f2: 68bb ldr r3, [r7, #8] - 80196f4: 2b00 cmp r3, #0 - 80196f6: d003 beq.n 8019700 + 8019282: 68bb ldr r3, [r7, #8] + 8019284: 2b00 cmp r3, #0 + 8019286: d003 beq.n 8019290 ip4_addr_isany(ipaddr)) { - 80196f8: 68bb ldr r3, [r7, #8] - 80196fa: 681b ldr r3, [r3, #0] - 80196fc: 2b00 cmp r3, #0 - 80196fe: d102 bne.n 8019706 + 8019288: 68bb ldr r3, [r7, #8] + 801928a: 681b ldr r3, [r3, #0] + 801928c: 2b00 cmp r3, #0 + 801928e: d102 bne.n 8019296 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: will not add non-unicast IP address to ARP cache\n")); return ERR_ARG; - 8019700: f06f 030f mvn.w r3, #15 - 8019704: e102 b.n 801990c + 8019290: f06f 030f mvn.w r3, #15 + 8019294: e102 b.n 801949c } /* find entry in ARP cache, ask to create entry if queueing packet */ i_err = etharp_find_entry(ipaddr, ETHARP_FLAG_TRY_HARD, netif); - 8019706: 68fa ldr r2, [r7, #12] - 8019708: 2101 movs r1, #1 - 801970a: 68b8 ldr r0, [r7, #8] - 801970c: f7ff fb5c bl 8018dc8 - 8019710: 4603 mov r3, r0 - 8019712: 827b strh r3, [r7, #18] + 8019296: 68fa ldr r2, [r7, #12] + 8019298: 2101 movs r1, #1 + 801929a: 68b8 ldr r0, [r7, #8] + 801929c: f7ff fb5c bl 8018958 + 80192a0: 4603 mov r3, r0 + 80192a2: 827b strh r3, [r7, #18] /* could not find or create entry? */ if (i_err < 0) { - 8019714: f9b7 3012 ldrsh.w r3, [r7, #18] - 8019718: 2b00 cmp r3, #0 - 801971a: da02 bge.n 8019722 + 80192a4: f9b7 3012 ldrsh.w r3, [r7, #18] + 80192a8: 2b00 cmp r3, #0 + 80192aa: da02 bge.n 80192b2 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: could not create ARP entry\n")); if (q) { LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: packet dropped\n")); ETHARP_STATS_INC(etharp.memerr); } return (err_t)i_err; - 801971c: 8a7b ldrh r3, [r7, #18] - 801971e: b25b sxtb r3, r3 - 8019720: e0f4 b.n 801990c + 80192ac: 8a7b ldrh r3, [r7, #18] + 80192ae: b25b sxtb r3, r3 + 80192b0: e0f4 b.n 801949c } LWIP_ASSERT("type overflow", (size_t)i_err < NETIF_ADDR_IDX_MAX); - 8019722: 8a7b ldrh r3, [r7, #18] - 8019724: 2b7e cmp r3, #126 ; 0x7e - 8019726: d906 bls.n 8019736 - 8019728: 4b7a ldr r3, [pc, #488] ; (8019914 ) - 801972a: f240 32c1 movw r2, #961 ; 0x3c1 - 801972e: 497a ldr r1, [pc, #488] ; (8019918 ) - 8019730: 487a ldr r0, [pc, #488] ; (801991c ) - 8019732: f001 fec1 bl 801b4b8 + 80192b2: 8a7b ldrh r3, [r7, #18] + 80192b4: 2b7e cmp r3, #126 ; 0x7e + 80192b6: d906 bls.n 80192c6 + 80192b8: 4b7a ldr r3, [pc, #488] ; (80194a4 ) + 80192ba: f240 32c1 movw r2, #961 ; 0x3c1 + 80192be: 497a ldr r1, [pc, #488] ; (80194a8 ) + 80192c0: 487a ldr r0, [pc, #488] ; (80194ac ) + 80192c2: f001 fea7 bl 801b014 i = (netif_addr_idx_t)i_err; - 8019736: 8a7b ldrh r3, [r7, #18] - 8019738: 747b strb r3, [r7, #17] + 80192c6: 8a7b ldrh r3, [r7, #18] + 80192c8: 747b strb r3, [r7, #17] /* mark a fresh entry as pending (we just sent a request) */ if (arp_table[i].state == ETHARP_STATE_EMPTY) { - 801973a: 7c7a ldrb r2, [r7, #17] - 801973c: 4978 ldr r1, [pc, #480] ; (8019920 ) - 801973e: 4613 mov r3, r2 - 8019740: 005b lsls r3, r3, #1 - 8019742: 4413 add r3, r2 - 8019744: 00db lsls r3, r3, #3 - 8019746: 440b add r3, r1 - 8019748: 3314 adds r3, #20 - 801974a: 781b ldrb r3, [r3, #0] - 801974c: 2b00 cmp r3, #0 - 801974e: d115 bne.n 801977c + 80192ca: 7c7a ldrb r2, [r7, #17] + 80192cc: 4978 ldr r1, [pc, #480] ; (80194b0 ) + 80192ce: 4613 mov r3, r2 + 80192d0: 005b lsls r3, r3, #1 + 80192d2: 4413 add r3, r2 + 80192d4: 00db lsls r3, r3, #3 + 80192d6: 440b add r3, r1 + 80192d8: 3314 adds r3, #20 + 80192da: 781b ldrb r3, [r3, #0] + 80192dc: 2b00 cmp r3, #0 + 80192de: d115 bne.n 801930c is_new_entry = 1; - 8019750: 2301 movs r3, #1 - 8019752: 623b str r3, [r7, #32] + 80192e0: 2301 movs r3, #1 + 80192e2: 623b str r3, [r7, #32] arp_table[i].state = ETHARP_STATE_PENDING; - 8019754: 7c7a ldrb r2, [r7, #17] - 8019756: 4972 ldr r1, [pc, #456] ; (8019920 ) - 8019758: 4613 mov r3, r2 - 801975a: 005b lsls r3, r3, #1 - 801975c: 4413 add r3, r2 - 801975e: 00db lsls r3, r3, #3 - 8019760: 440b add r3, r1 - 8019762: 3314 adds r3, #20 - 8019764: 2201 movs r2, #1 - 8019766: 701a strb r2, [r3, #0] + 80192e4: 7c7a ldrb r2, [r7, #17] + 80192e6: 4972 ldr r1, [pc, #456] ; (80194b0 ) + 80192e8: 4613 mov r3, r2 + 80192ea: 005b lsls r3, r3, #1 + 80192ec: 4413 add r3, r2 + 80192ee: 00db lsls r3, r3, #3 + 80192f0: 440b add r3, r1 + 80192f2: 3314 adds r3, #20 + 80192f4: 2201 movs r2, #1 + 80192f6: 701a strb r2, [r3, #0] /* record network interface for re-sending arp request in etharp_tmr */ arp_table[i].netif = netif; - 8019768: 7c7a ldrb r2, [r7, #17] - 801976a: 496d ldr r1, [pc, #436] ; (8019920 ) - 801976c: 4613 mov r3, r2 - 801976e: 005b lsls r3, r3, #1 - 8019770: 4413 add r3, r2 - 8019772: 00db lsls r3, r3, #3 - 8019774: 440b add r3, r1 - 8019776: 3308 adds r3, #8 - 8019778: 68fa ldr r2, [r7, #12] - 801977a: 601a str r2, [r3, #0] + 80192f8: 7c7a ldrb r2, [r7, #17] + 80192fa: 496d ldr r1, [pc, #436] ; (80194b0 ) + 80192fc: 4613 mov r3, r2 + 80192fe: 005b lsls r3, r3, #1 + 8019300: 4413 add r3, r2 + 8019302: 00db lsls r3, r3, #3 + 8019304: 440b add r3, r1 + 8019306: 3308 adds r3, #8 + 8019308: 68fa ldr r2, [r7, #12] + 801930a: 601a str r2, [r3, #0] } /* { i is either a STABLE or (new or existing) PENDING entry } */ LWIP_ASSERT("arp_table[i].state == PENDING or STABLE", - 801977c: 7c7a ldrb r2, [r7, #17] - 801977e: 4968 ldr r1, [pc, #416] ; (8019920 ) - 8019780: 4613 mov r3, r2 - 8019782: 005b lsls r3, r3, #1 - 8019784: 4413 add r3, r2 - 8019786: 00db lsls r3, r3, #3 - 8019788: 440b add r3, r1 - 801978a: 3314 adds r3, #20 - 801978c: 781b ldrb r3, [r3, #0] - 801978e: 2b01 cmp r3, #1 - 8019790: d011 beq.n 80197b6 - 8019792: 7c7a ldrb r2, [r7, #17] - 8019794: 4962 ldr r1, [pc, #392] ; (8019920 ) - 8019796: 4613 mov r3, r2 - 8019798: 005b lsls r3, r3, #1 - 801979a: 4413 add r3, r2 - 801979c: 00db lsls r3, r3, #3 - 801979e: 440b add r3, r1 - 80197a0: 3314 adds r3, #20 - 80197a2: 781b ldrb r3, [r3, #0] - 80197a4: 2b01 cmp r3, #1 - 80197a6: d806 bhi.n 80197b6 - 80197a8: 4b5a ldr r3, [pc, #360] ; (8019914 ) - 80197aa: f240 32cf movw r2, #975 ; 0x3cf - 80197ae: 495d ldr r1, [pc, #372] ; (8019924 ) - 80197b0: 485a ldr r0, [pc, #360] ; (801991c ) - 80197b2: f001 fe81 bl 801b4b8 + 801930c: 7c7a ldrb r2, [r7, #17] + 801930e: 4968 ldr r1, [pc, #416] ; (80194b0 ) + 8019310: 4613 mov r3, r2 + 8019312: 005b lsls r3, r3, #1 + 8019314: 4413 add r3, r2 + 8019316: 00db lsls r3, r3, #3 + 8019318: 440b add r3, r1 + 801931a: 3314 adds r3, #20 + 801931c: 781b ldrb r3, [r3, #0] + 801931e: 2b01 cmp r3, #1 + 8019320: d011 beq.n 8019346 + 8019322: 7c7a ldrb r2, [r7, #17] + 8019324: 4962 ldr r1, [pc, #392] ; (80194b0 ) + 8019326: 4613 mov r3, r2 + 8019328: 005b lsls r3, r3, #1 + 801932a: 4413 add r3, r2 + 801932c: 00db lsls r3, r3, #3 + 801932e: 440b add r3, r1 + 8019330: 3314 adds r3, #20 + 8019332: 781b ldrb r3, [r3, #0] + 8019334: 2b01 cmp r3, #1 + 8019336: d806 bhi.n 8019346 + 8019338: 4b5a ldr r3, [pc, #360] ; (80194a4 ) + 801933a: f240 32cf movw r2, #975 ; 0x3cf + 801933e: 495d ldr r1, [pc, #372] ; (80194b4 ) + 8019340: 485a ldr r0, [pc, #360] ; (80194ac ) + 8019342: f001 fe67 bl 801b014 ((arp_table[i].state == ETHARP_STATE_PENDING) || (arp_table[i].state >= ETHARP_STATE_STABLE))); /* do we have a new entry? or an implicit query request? */ if (is_new_entry || (q == NULL)) { - 80197b6: 6a3b ldr r3, [r7, #32] - 80197b8: 2b00 cmp r3, #0 - 80197ba: d102 bne.n 80197c2 - 80197bc: 687b ldr r3, [r7, #4] - 80197be: 2b00 cmp r3, #0 - 80197c0: d10c bne.n 80197dc + 8019346: 6a3b ldr r3, [r7, #32] + 8019348: 2b00 cmp r3, #0 + 801934a: d102 bne.n 8019352 + 801934c: 687b ldr r3, [r7, #4] + 801934e: 2b00 cmp r3, #0 + 8019350: d10c bne.n 801936c /* try to resolve it; send out ARP request */ result = etharp_request(netif, ipaddr); - 80197c2: 68b9 ldr r1, [r7, #8] - 80197c4: 68f8 ldr r0, [r7, #12] - 80197c6: f000 f963 bl 8019a90 - 80197ca: 4603 mov r3, r0 - 80197cc: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 8019352: 68b9 ldr r1, [r7, #8] + 8019354: 68f8 ldr r0, [r7, #12] + 8019356: f000 f963 bl 8019620 + 801935a: 4603 mov r3, r0 + 801935c: f887 3027 strb.w r3, [r7, #39] ; 0x27 /* ARP request couldn't be sent */ /* We don't re-send arp request in etharp_tmr, but we still queue packets, since this failure could be temporary, and the next packet calling etharp_query again could lead to sending the queued packets. */ } if (q == NULL) { - 80197d0: 687b ldr r3, [r7, #4] - 80197d2: 2b00 cmp r3, #0 - 80197d4: d102 bne.n 80197dc + 8019360: 687b ldr r3, [r7, #4] + 8019362: 2b00 cmp r3, #0 + 8019364: d102 bne.n 801936c return result; - 80197d6: f997 3027 ldrsb.w r3, [r7, #39] ; 0x27 - 80197da: e097 b.n 801990c + 8019366: f997 3027 ldrsb.w r3, [r7, #39] ; 0x27 + 801936a: e097 b.n 801949c } } /* packet given? */ LWIP_ASSERT("q != NULL", q != NULL); - 80197dc: 687b ldr r3, [r7, #4] - 80197de: 2b00 cmp r3, #0 - 80197e0: d106 bne.n 80197f0 - 80197e2: 4b4c ldr r3, [pc, #304] ; (8019914 ) - 80197e4: f240 32e1 movw r2, #993 ; 0x3e1 - 80197e8: 494f ldr r1, [pc, #316] ; (8019928 ) - 80197ea: 484c ldr r0, [pc, #304] ; (801991c ) - 80197ec: f001 fe64 bl 801b4b8 + 801936c: 687b ldr r3, [r7, #4] + 801936e: 2b00 cmp r3, #0 + 8019370: d106 bne.n 8019380 + 8019372: 4b4c ldr r3, [pc, #304] ; (80194a4 ) + 8019374: f240 32e1 movw r2, #993 ; 0x3e1 + 8019378: 494f ldr r1, [pc, #316] ; (80194b8 ) + 801937a: 484c ldr r0, [pc, #304] ; (80194ac ) + 801937c: f001 fe4a bl 801b014 /* stable entry? */ if (arp_table[i].state >= ETHARP_STATE_STABLE) { - 80197f0: 7c7a ldrb r2, [r7, #17] - 80197f2: 494b ldr r1, [pc, #300] ; (8019920 ) - 80197f4: 4613 mov r3, r2 - 80197f6: 005b lsls r3, r3, #1 - 80197f8: 4413 add r3, r2 - 80197fa: 00db lsls r3, r3, #3 - 80197fc: 440b add r3, r1 - 80197fe: 3314 adds r3, #20 - 8019800: 781b ldrb r3, [r3, #0] - 8019802: 2b01 cmp r3, #1 - 8019804: d918 bls.n 8019838 + 8019380: 7c7a ldrb r2, [r7, #17] + 8019382: 494b ldr r1, [pc, #300] ; (80194b0 ) + 8019384: 4613 mov r3, r2 + 8019386: 005b lsls r3, r3, #1 + 8019388: 4413 add r3, r2 + 801938a: 00db lsls r3, r3, #3 + 801938c: 440b add r3, r1 + 801938e: 3314 adds r3, #20 + 8019390: 781b ldrb r3, [r3, #0] + 8019392: 2b01 cmp r3, #1 + 8019394: d918 bls.n 80193c8 /* we have a valid IP->Ethernet address mapping */ ETHARP_SET_ADDRHINT(netif, i); - 8019806: 4a49 ldr r2, [pc, #292] ; (801992c ) - 8019808: 7c7b ldrb r3, [r7, #17] - 801980a: 7013 strb r3, [r2, #0] + 8019396: 4a49 ldr r2, [pc, #292] ; (80194bc ) + 8019398: 7c7b ldrb r3, [r7, #17] + 801939a: 7013 strb r3, [r2, #0] /* send the packet */ result = ethernet_output(netif, q, srcaddr, &(arp_table[i].ethaddr), ETHTYPE_IP); - 801980c: 7c7a ldrb r2, [r7, #17] - 801980e: 4613 mov r3, r2 - 8019810: 005b lsls r3, r3, #1 - 8019812: 4413 add r3, r2 - 8019814: 00db lsls r3, r3, #3 - 8019816: 3308 adds r3, #8 - 8019818: 4a41 ldr r2, [pc, #260] ; (8019920 ) - 801981a: 4413 add r3, r2 - 801981c: 1d1a adds r2, r3, #4 - 801981e: f44f 6300 mov.w r3, #2048 ; 0x800 - 8019822: 9300 str r3, [sp, #0] - 8019824: 4613 mov r3, r2 - 8019826: 697a ldr r2, [r7, #20] - 8019828: 6879 ldr r1, [r7, #4] - 801982a: 68f8 ldr r0, [r7, #12] - 801982c: f001 fc86 bl 801b13c - 8019830: 4603 mov r3, r0 - 8019832: f887 3027 strb.w r3, [r7, #39] ; 0x27 - 8019836: e067 b.n 8019908 + 801939c: 7c7a ldrb r2, [r7, #17] + 801939e: 4613 mov r3, r2 + 80193a0: 005b lsls r3, r3, #1 + 80193a2: 4413 add r3, r2 + 80193a4: 00db lsls r3, r3, #3 + 80193a6: 3308 adds r3, #8 + 80193a8: 4a41 ldr r2, [pc, #260] ; (80194b0 ) + 80193aa: 4413 add r3, r2 + 80193ac: 1d1a adds r2, r3, #4 + 80193ae: f44f 6300 mov.w r3, #2048 ; 0x800 + 80193b2: 9300 str r3, [sp, #0] + 80193b4: 4613 mov r3, r2 + 80193b6: 697a ldr r2, [r7, #20] + 80193b8: 6879 ldr r1, [r7, #4] + 80193ba: 68f8 ldr r0, [r7, #12] + 80193bc: f001 fc86 bl 801accc + 80193c0: 4603 mov r3, r0 + 80193c2: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 80193c6: e067 b.n 8019498 /* pending entry? (either just created or already pending */ } else if (arp_table[i].state == ETHARP_STATE_PENDING) { - 8019838: 7c7a ldrb r2, [r7, #17] - 801983a: 4939 ldr r1, [pc, #228] ; (8019920 ) - 801983c: 4613 mov r3, r2 - 801983e: 005b lsls r3, r3, #1 - 8019840: 4413 add r3, r2 - 8019842: 00db lsls r3, r3, #3 - 8019844: 440b add r3, r1 - 8019846: 3314 adds r3, #20 - 8019848: 781b ldrb r3, [r3, #0] - 801984a: 2b01 cmp r3, #1 - 801984c: d15c bne.n 8019908 + 80193c8: 7c7a ldrb r2, [r7, #17] + 80193ca: 4939 ldr r1, [pc, #228] ; (80194b0 ) + 80193cc: 4613 mov r3, r2 + 80193ce: 005b lsls r3, r3, #1 + 80193d0: 4413 add r3, r2 + 80193d2: 00db lsls r3, r3, #3 + 80193d4: 440b add r3, r1 + 80193d6: 3314 adds r3, #20 + 80193d8: 781b ldrb r3, [r3, #0] + 80193da: 2b01 cmp r3, #1 + 80193dc: d15c bne.n 8019498 /* entry is still pending, queue the given packet 'q' */ struct pbuf *p; int copy_needed = 0; - 801984e: 2300 movs r3, #0 - 8019850: 61bb str r3, [r7, #24] + 80193de: 2300 movs r3, #0 + 80193e0: 61bb str r3, [r7, #24] /* IF q includes a pbuf that must be copied, copy the whole chain into a * new PBUF_RAM. See the definition of PBUF_NEEDS_COPY for details. */ p = q; - 8019852: 687b ldr r3, [r7, #4] - 8019854: 61fb str r3, [r7, #28] + 80193e2: 687b ldr r3, [r7, #4] + 80193e4: 61fb str r3, [r7, #28] while (p) { - 8019856: e01c b.n 8019892 + 80193e6: e01c b.n 8019422 LWIP_ASSERT("no packet queues allowed!", (p->len != p->tot_len) || (p->next == 0)); - 8019858: 69fb ldr r3, [r7, #28] - 801985a: 895a ldrh r2, [r3, #10] - 801985c: 69fb ldr r3, [r7, #28] - 801985e: 891b ldrh r3, [r3, #8] - 8019860: 429a cmp r2, r3 - 8019862: d10a bne.n 801987a - 8019864: 69fb ldr r3, [r7, #28] - 8019866: 681b ldr r3, [r3, #0] - 8019868: 2b00 cmp r3, #0 - 801986a: d006 beq.n 801987a - 801986c: 4b29 ldr r3, [pc, #164] ; (8019914 ) - 801986e: f240 32f1 movw r2, #1009 ; 0x3f1 - 8019872: 492f ldr r1, [pc, #188] ; (8019930 ) - 8019874: 4829 ldr r0, [pc, #164] ; (801991c ) - 8019876: f001 fe1f bl 801b4b8 + 80193e8: 69fb ldr r3, [r7, #28] + 80193ea: 895a ldrh r2, [r3, #10] + 80193ec: 69fb ldr r3, [r7, #28] + 80193ee: 891b ldrh r3, [r3, #8] + 80193f0: 429a cmp r2, r3 + 80193f2: d10a bne.n 801940a + 80193f4: 69fb ldr r3, [r7, #28] + 80193f6: 681b ldr r3, [r3, #0] + 80193f8: 2b00 cmp r3, #0 + 80193fa: d006 beq.n 801940a + 80193fc: 4b29 ldr r3, [pc, #164] ; (80194a4 ) + 80193fe: f240 32f1 movw r2, #1009 ; 0x3f1 + 8019402: 492f ldr r1, [pc, #188] ; (80194c0 ) + 8019404: 4829 ldr r0, [pc, #164] ; (80194ac ) + 8019406: f001 fe05 bl 801b014 if (PBUF_NEEDS_COPY(p)) { - 801987a: 69fb ldr r3, [r7, #28] - 801987c: 7b1b ldrb r3, [r3, #12] - 801987e: f003 0340 and.w r3, r3, #64 ; 0x40 - 8019882: 2b00 cmp r3, #0 - 8019884: d002 beq.n 801988c + 801940a: 69fb ldr r3, [r7, #28] + 801940c: 7b1b ldrb r3, [r3, #12] + 801940e: f003 0340 and.w r3, r3, #64 ; 0x40 + 8019412: 2b00 cmp r3, #0 + 8019414: d002 beq.n 801941c copy_needed = 1; - 8019886: 2301 movs r3, #1 - 8019888: 61bb str r3, [r7, #24] + 8019416: 2301 movs r3, #1 + 8019418: 61bb str r3, [r7, #24] break; - 801988a: e005 b.n 8019898 + 801941a: e005 b.n 8019428 } p = p->next; - 801988c: 69fb ldr r3, [r7, #28] - 801988e: 681b ldr r3, [r3, #0] - 8019890: 61fb str r3, [r7, #28] + 801941c: 69fb ldr r3, [r7, #28] + 801941e: 681b ldr r3, [r3, #0] + 8019420: 61fb str r3, [r7, #28] while (p) { - 8019892: 69fb ldr r3, [r7, #28] - 8019894: 2b00 cmp r3, #0 - 8019896: d1df bne.n 8019858 + 8019422: 69fb ldr r3, [r7, #28] + 8019424: 2b00 cmp r3, #0 + 8019426: d1df bne.n 80193e8 } if (copy_needed) { - 8019898: 69bb ldr r3, [r7, #24] - 801989a: 2b00 cmp r3, #0 - 801989c: d007 beq.n 80198ae + 8019428: 69bb ldr r3, [r7, #24] + 801942a: 2b00 cmp r3, #0 + 801942c: d007 beq.n 801943e /* copy the whole packet into new pbufs */ p = pbuf_clone(PBUF_LINK, PBUF_RAM, q); - 801989e: 687a ldr r2, [r7, #4] - 80198a0: f44f 7120 mov.w r1, #640 ; 0x280 - 80198a4: 200e movs r0, #14 - 80198a6: f7f7 fb4f bl 8010f48 - 80198aa: 61f8 str r0, [r7, #28] - 80198ac: e004 b.n 80198b8 + 801942e: 687a ldr r2, [r7, #4] + 8019430: f44f 7120 mov.w r1, #640 ; 0x280 + 8019434: 200e movs r0, #14 + 8019436: f7f7 fb4f bl 8010ad8 + 801943a: 61f8 str r0, [r7, #28] + 801943c: e004 b.n 8019448 } else { /* referencing the old pbuf is enough */ p = q; - 80198ae: 687b ldr r3, [r7, #4] - 80198b0: 61fb str r3, [r7, #28] + 801943e: 687b ldr r3, [r7, #4] + 8019440: 61fb str r3, [r7, #28] pbuf_ref(p); - 80198b2: 69f8 ldr r0, [r7, #28] - 80198b4: f7f7 f976 bl 8010ba4 + 8019442: 69f8 ldr r0, [r7, #28] + 8019444: f7f7 f976 bl 8010734 } /* packet could be taken over? */ if (p != NULL) { - 80198b8: 69fb ldr r3, [r7, #28] - 80198ba: 2b00 cmp r3, #0 - 80198bc: d021 beq.n 8019902 + 8019448: 69fb ldr r3, [r7, #28] + 801944a: 2b00 cmp r3, #0 + 801944c: d021 beq.n 8019492 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: could not queue a copy of PBUF_REF packet %p (out of memory)\n", (void *)q)); result = ERR_MEM; } #else /* ARP_QUEUEING */ /* always queue one packet per ARP request only, freeing a previously queued packet */ if (arp_table[i].q != NULL) { - 80198be: 7c7a ldrb r2, [r7, #17] - 80198c0: 4917 ldr r1, [pc, #92] ; (8019920 ) - 80198c2: 4613 mov r3, r2 - 80198c4: 005b lsls r3, r3, #1 - 80198c6: 4413 add r3, r2 - 80198c8: 00db lsls r3, r3, #3 - 80198ca: 440b add r3, r1 - 80198cc: 681b ldr r3, [r3, #0] - 80198ce: 2b00 cmp r3, #0 - 80198d0: d00a beq.n 80198e8 + 801944e: 7c7a ldrb r2, [r7, #17] + 8019450: 4917 ldr r1, [pc, #92] ; (80194b0 ) + 8019452: 4613 mov r3, r2 + 8019454: 005b lsls r3, r3, #1 + 8019456: 4413 add r3, r2 + 8019458: 00db lsls r3, r3, #3 + 801945a: 440b add r3, r1 + 801945c: 681b ldr r3, [r3, #0] + 801945e: 2b00 cmp r3, #0 + 8019460: d00a beq.n 8019478 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: dropped previously queued packet %p for ARP entry %"U16_F"\n", (void *)q, (u16_t)i)); pbuf_free(arp_table[i].q); - 80198d2: 7c7a ldrb r2, [r7, #17] - 80198d4: 4912 ldr r1, [pc, #72] ; (8019920 ) - 80198d6: 4613 mov r3, r2 - 80198d8: 005b lsls r3, r3, #1 - 80198da: 4413 add r3, r2 - 80198dc: 00db lsls r3, r3, #3 - 80198de: 440b add r3, r1 - 80198e0: 681b ldr r3, [r3, #0] - 80198e2: 4618 mov r0, r3 - 80198e4: f7f7 f8b8 bl 8010a58 + 8019462: 7c7a ldrb r2, [r7, #17] + 8019464: 4912 ldr r1, [pc, #72] ; (80194b0 ) + 8019466: 4613 mov r3, r2 + 8019468: 005b lsls r3, r3, #1 + 801946a: 4413 add r3, r2 + 801946c: 00db lsls r3, r3, #3 + 801946e: 440b add r3, r1 + 8019470: 681b ldr r3, [r3, #0] + 8019472: 4618 mov r0, r3 + 8019474: f7f7 f8b8 bl 80105e8 } arp_table[i].q = p; - 80198e8: 7c7a ldrb r2, [r7, #17] - 80198ea: 490d ldr r1, [pc, #52] ; (8019920 ) - 80198ec: 4613 mov r3, r2 - 80198ee: 005b lsls r3, r3, #1 - 80198f0: 4413 add r3, r2 - 80198f2: 00db lsls r3, r3, #3 - 80198f4: 440b add r3, r1 - 80198f6: 69fa ldr r2, [r7, #28] - 80198f8: 601a str r2, [r3, #0] + 8019478: 7c7a ldrb r2, [r7, #17] + 801947a: 490d ldr r1, [pc, #52] ; (80194b0 ) + 801947c: 4613 mov r3, r2 + 801947e: 005b lsls r3, r3, #1 + 8019480: 4413 add r3, r2 + 8019482: 00db lsls r3, r3, #3 + 8019484: 440b add r3, r1 + 8019486: 69fa ldr r2, [r7, #28] + 8019488: 601a str r2, [r3, #0] result = ERR_OK; - 80198fa: 2300 movs r3, #0 - 80198fc: f887 3027 strb.w r3, [r7, #39] ; 0x27 - 8019900: e002 b.n 8019908 + 801948a: 2300 movs r3, #0 + 801948c: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 8019490: e002 b.n 8019498 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: queued packet %p on ARP entry %"U16_F"\n", (void *)q, (u16_t)i)); #endif /* ARP_QUEUEING */ } else { ETHARP_STATS_INC(etharp.memerr); LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: could not queue a copy of PBUF_REF packet %p (out of memory)\n", (void *)q)); result = ERR_MEM; - 8019902: 23ff movs r3, #255 ; 0xff - 8019904: f887 3027 strb.w r3, [r7, #39] ; 0x27 + 8019492: 23ff movs r3, #255 ; 0xff + 8019494: f887 3027 strb.w r3, [r7, #39] ; 0x27 } } return result; - 8019908: f997 3027 ldrsb.w r3, [r7, #39] ; 0x27 + 8019498: f997 3027 ldrsb.w r3, [r7, #39] ; 0x27 } - 801990c: 4618 mov r0, r3 - 801990e: 3728 adds r7, #40 ; 0x28 - 8019910: 46bd mov sp, r7 - 8019912: bd80 pop {r7, pc} - 8019914: 0801ef3c .word 0x0801ef3c - 8019918: 0801f0e8 .word 0x0801f0e8 - 801991c: 0801efb4 .word 0x0801efb4 - 8019920: 20008778 .word 0x20008778 - 8019924: 0801f0f8 .word 0x0801f0f8 - 8019928: 0801f0dc .word 0x0801f0dc - 801992c: 20008868 .word 0x20008868 - 8019930: 0801f120 .word 0x0801f120 + 801949c: 4618 mov r0, r3 + 801949e: 3728 adds r7, #40 ; 0x28 + 80194a0: 46bd mov sp, r7 + 80194a2: bd80 pop {r7, pc} + 80194a4: 0801e738 .word 0x0801e738 + 80194a8: 0801e8e4 .word 0x0801e8e4 + 80194ac: 0801e7b0 .word 0x0801e7b0 + 80194b0: 20008778 .word 0x20008778 + 80194b4: 0801e8f4 .word 0x0801e8f4 + 80194b8: 0801e8d8 .word 0x0801e8d8 + 80194bc: 20008868 .word 0x20008868 + 80194c0: 0801e91c .word 0x0801e91c -08019934 : +080194c4 : etharp_raw(struct netif *netif, const struct eth_addr *ethsrc_addr, const struct eth_addr *ethdst_addr, const struct eth_addr *hwsrc_addr, const ip4_addr_t *ipsrc_addr, const struct eth_addr *hwdst_addr, const ip4_addr_t *ipdst_addr, const u16_t opcode) { - 8019934: b580 push {r7, lr} - 8019936: b08a sub sp, #40 ; 0x28 - 8019938: af02 add r7, sp, #8 - 801993a: 60f8 str r0, [r7, #12] - 801993c: 60b9 str r1, [r7, #8] - 801993e: 607a str r2, [r7, #4] - 8019940: 603b str r3, [r7, #0] + 80194c4: b580 push {r7, lr} + 80194c6: b08a sub sp, #40 ; 0x28 + 80194c8: af02 add r7, sp, #8 + 80194ca: 60f8 str r0, [r7, #12] + 80194cc: 60b9 str r1, [r7, #8] + 80194ce: 607a str r2, [r7, #4] + 80194d0: 603b str r3, [r7, #0] struct pbuf *p; err_t result = ERR_OK; - 8019942: 2300 movs r3, #0 - 8019944: 77fb strb r3, [r7, #31] + 80194d2: 2300 movs r3, #0 + 80194d4: 77fb strb r3, [r7, #31] struct etharp_hdr *hdr; LWIP_ASSERT("netif != NULL", netif != NULL); - 8019946: 68fb ldr r3, [r7, #12] - 8019948: 2b00 cmp r3, #0 - 801994a: d106 bne.n 801995a - 801994c: 4b3a ldr r3, [pc, #232] ; (8019a38 ) - 801994e: f240 4257 movw r2, #1111 ; 0x457 - 8019952: 493a ldr r1, [pc, #232] ; (8019a3c ) - 8019954: 483a ldr r0, [pc, #232] ; (8019a40 ) - 8019956: f001 fdaf bl 801b4b8 + 80194d6: 68fb ldr r3, [r7, #12] + 80194d8: 2b00 cmp r3, #0 + 80194da: d106 bne.n 80194ea + 80194dc: 4b3a ldr r3, [pc, #232] ; (80195c8 ) + 80194de: f240 4257 movw r2, #1111 ; 0x457 + 80194e2: 493a ldr r1, [pc, #232] ; (80195cc ) + 80194e4: 483a ldr r0, [pc, #232] ; (80195d0 ) + 80194e6: f001 fd95 bl 801b014 /* allocate a pbuf for the outgoing ARP request packet */ p = pbuf_alloc(PBUF_LINK, SIZEOF_ETHARP_HDR, PBUF_RAM); - 801995a: f44f 7220 mov.w r2, #640 ; 0x280 - 801995e: 211c movs r1, #28 - 8019960: 200e movs r0, #14 - 8019962: f7f6 fd99 bl 8010498 - 8019966: 61b8 str r0, [r7, #24] + 80194ea: f44f 7220 mov.w r2, #640 ; 0x280 + 80194ee: 211c movs r1, #28 + 80194f0: 200e movs r0, #14 + 80194f2: f7f6 fd99 bl 8010028 + 80194f6: 61b8 str r0, [r7, #24] /* could allocate a pbuf for an ARP request? */ if (p == NULL) { - 8019968: 69bb ldr r3, [r7, #24] - 801996a: 2b00 cmp r3, #0 - 801996c: d102 bne.n 8019974 + 80194f8: 69bb ldr r3, [r7, #24] + 80194fa: 2b00 cmp r3, #0 + 80194fc: d102 bne.n 8019504 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("etharp_raw: could not allocate pbuf for ARP request.\n")); ETHARP_STATS_INC(etharp.memerr); return ERR_MEM; - 801996e: f04f 33ff mov.w r3, #4294967295 - 8019972: e05d b.n 8019a30 + 80194fe: f04f 33ff mov.w r3, #4294967295 + 8019502: e05d b.n 80195c0 } LWIP_ASSERT("check that first pbuf can hold struct etharp_hdr", - 8019974: 69bb ldr r3, [r7, #24] - 8019976: 895b ldrh r3, [r3, #10] - 8019978: 2b1b cmp r3, #27 - 801997a: d806 bhi.n 801998a - 801997c: 4b2e ldr r3, [pc, #184] ; (8019a38 ) - 801997e: f240 4263 movw r2, #1123 ; 0x463 - 8019982: 4930 ldr r1, [pc, #192] ; (8019a44 ) - 8019984: 482e ldr r0, [pc, #184] ; (8019a40 ) - 8019986: f001 fd97 bl 801b4b8 + 8019504: 69bb ldr r3, [r7, #24] + 8019506: 895b ldrh r3, [r3, #10] + 8019508: 2b1b cmp r3, #27 + 801950a: d806 bhi.n 801951a + 801950c: 4b2e ldr r3, [pc, #184] ; (80195c8 ) + 801950e: f240 4263 movw r2, #1123 ; 0x463 + 8019512: 4930 ldr r1, [pc, #192] ; (80195d4 ) + 8019514: 482e ldr r0, [pc, #184] ; (80195d0 ) + 8019516: f001 fd7d bl 801b014 (p->len >= SIZEOF_ETHARP_HDR)); hdr = (struct etharp_hdr *)p->payload; - 801998a: 69bb ldr r3, [r7, #24] - 801998c: 685b ldr r3, [r3, #4] - 801998e: 617b str r3, [r7, #20] + 801951a: 69bb ldr r3, [r7, #24] + 801951c: 685b ldr r3, [r3, #4] + 801951e: 617b str r3, [r7, #20] LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_raw: sending raw ARP packet.\n")); hdr->opcode = lwip_htons(opcode); - 8019990: 8ebb ldrh r3, [r7, #52] ; 0x34 - 8019992: 4618 mov r0, r3 - 8019994: f7f5 fcac bl 800f2f0 - 8019998: 4603 mov r3, r0 - 801999a: 461a mov r2, r3 - 801999c: 697b ldr r3, [r7, #20] - 801999e: 80da strh r2, [r3, #6] + 8019520: 8ebb ldrh r3, [r7, #52] ; 0x34 + 8019522: 4618 mov r0, r3 + 8019524: f7f5 fcac bl 800ee80 + 8019528: 4603 mov r3, r0 + 801952a: 461a mov r2, r3 + 801952c: 697b ldr r3, [r7, #20] + 801952e: 80da strh r2, [r3, #6] LWIP_ASSERT("netif->hwaddr_len must be the same as ETH_HWADDR_LEN for etharp!", - 80199a0: 68fb ldr r3, [r7, #12] - 80199a2: f893 3030 ldrb.w r3, [r3, #48] ; 0x30 - 80199a6: 2b06 cmp r3, #6 - 80199a8: d006 beq.n 80199b8 - 80199aa: 4b23 ldr r3, [pc, #140] ; (8019a38 ) - 80199ac: f240 426a movw r2, #1130 ; 0x46a - 80199b0: 4925 ldr r1, [pc, #148] ; (8019a48 ) - 80199b2: 4823 ldr r0, [pc, #140] ; (8019a40 ) - 80199b4: f001 fd80 bl 801b4b8 + 8019530: 68fb ldr r3, [r7, #12] + 8019532: f893 3030 ldrb.w r3, [r3, #48] ; 0x30 + 8019536: 2b06 cmp r3, #6 + 8019538: d006 beq.n 8019548 + 801953a: 4b23 ldr r3, [pc, #140] ; (80195c8 ) + 801953c: f240 426a movw r2, #1130 ; 0x46a + 8019540: 4925 ldr r1, [pc, #148] ; (80195d8 ) + 8019542: 4823 ldr r0, [pc, #140] ; (80195d0 ) + 8019544: f001 fd66 bl 801b014 (netif->hwaddr_len == ETH_HWADDR_LEN)); /* Write the ARP MAC-Addresses */ SMEMCPY(&hdr->shwaddr, hwsrc_addr, ETH_HWADDR_LEN); - 80199b8: 697b ldr r3, [r7, #20] - 80199ba: 3308 adds r3, #8 - 80199bc: 2206 movs r2, #6 - 80199be: 6839 ldr r1, [r7, #0] - 80199c0: 4618 mov r0, r3 - 80199c2: f001 fd4c bl 801b45e + 8019548: 697b ldr r3, [r7, #20] + 801954a: 3308 adds r3, #8 + 801954c: 2206 movs r2, #6 + 801954e: 6839 ldr r1, [r7, #0] + 8019550: 4618 mov r0, r3 + 8019552: f001 fd4c bl 801afee SMEMCPY(&hdr->dhwaddr, hwdst_addr, ETH_HWADDR_LEN); - 80199c6: 697b ldr r3, [r7, #20] - 80199c8: 3312 adds r3, #18 - 80199ca: 2206 movs r2, #6 - 80199cc: 6af9 ldr r1, [r7, #44] ; 0x2c - 80199ce: 4618 mov r0, r3 - 80199d0: f001 fd45 bl 801b45e + 8019556: 697b ldr r3, [r7, #20] + 8019558: 3312 adds r3, #18 + 801955a: 2206 movs r2, #6 + 801955c: 6af9 ldr r1, [r7, #44] ; 0x2c + 801955e: 4618 mov r0, r3 + 8019560: f001 fd45 bl 801afee /* Copy struct ip4_addr_wordaligned to aligned ip4_addr, to support compilers without * structure packing. */ IPADDR_WORDALIGNED_COPY_FROM_IP4_ADDR_T(&hdr->sipaddr, ipsrc_addr); - 80199d4: 697b ldr r3, [r7, #20] - 80199d6: 330e adds r3, #14 - 80199d8: 6aba ldr r2, [r7, #40] ; 0x28 - 80199da: 6812 ldr r2, [r2, #0] - 80199dc: 601a str r2, [r3, #0] + 8019564: 697b ldr r3, [r7, #20] + 8019566: 330e adds r3, #14 + 8019568: 6aba ldr r2, [r7, #40] ; 0x28 + 801956a: 6812 ldr r2, [r2, #0] + 801956c: 601a str r2, [r3, #0] IPADDR_WORDALIGNED_COPY_FROM_IP4_ADDR_T(&hdr->dipaddr, ipdst_addr); - 80199de: 697b ldr r3, [r7, #20] - 80199e0: 3318 adds r3, #24 - 80199e2: 6b3a ldr r2, [r7, #48] ; 0x30 - 80199e4: 6812 ldr r2, [r2, #0] - 80199e6: 601a str r2, [r3, #0] + 801956e: 697b ldr r3, [r7, #20] + 8019570: 3318 adds r3, #24 + 8019572: 6b3a ldr r2, [r7, #48] ; 0x30 + 8019574: 6812 ldr r2, [r2, #0] + 8019576: 601a str r2, [r3, #0] hdr->hwtype = PP_HTONS(LWIP_IANA_HWTYPE_ETHERNET); - 80199e8: 697b ldr r3, [r7, #20] - 80199ea: 2200 movs r2, #0 - 80199ec: 701a strb r2, [r3, #0] - 80199ee: 2200 movs r2, #0 - 80199f0: f042 0201 orr.w r2, r2, #1 - 80199f4: 705a strb r2, [r3, #1] + 8019578: 697b ldr r3, [r7, #20] + 801957a: 2200 movs r2, #0 + 801957c: 701a strb r2, [r3, #0] + 801957e: 2200 movs r2, #0 + 8019580: f042 0201 orr.w r2, r2, #1 + 8019584: 705a strb r2, [r3, #1] hdr->proto = PP_HTONS(ETHTYPE_IP); - 80199f6: 697b ldr r3, [r7, #20] - 80199f8: 2200 movs r2, #0 - 80199fa: f042 0208 orr.w r2, r2, #8 - 80199fe: 709a strb r2, [r3, #2] - 8019a00: 2200 movs r2, #0 - 8019a02: 70da strb r2, [r3, #3] + 8019586: 697b ldr r3, [r7, #20] + 8019588: 2200 movs r2, #0 + 801958a: f042 0208 orr.w r2, r2, #8 + 801958e: 709a strb r2, [r3, #2] + 8019590: 2200 movs r2, #0 + 8019592: 70da strb r2, [r3, #3] /* set hwlen and protolen */ hdr->hwlen = ETH_HWADDR_LEN; - 8019a04: 697b ldr r3, [r7, #20] - 8019a06: 2206 movs r2, #6 - 8019a08: 711a strb r2, [r3, #4] + 8019594: 697b ldr r3, [r7, #20] + 8019596: 2206 movs r2, #6 + 8019598: 711a strb r2, [r3, #4] hdr->protolen = sizeof(ip4_addr_t); - 8019a0a: 697b ldr r3, [r7, #20] - 8019a0c: 2204 movs r2, #4 - 8019a0e: 715a strb r2, [r3, #5] + 801959a: 697b ldr r3, [r7, #20] + 801959c: 2204 movs r2, #4 + 801959e: 715a strb r2, [r3, #5] if (ip4_addr_islinklocal(ipsrc_addr)) { ethernet_output(netif, p, ethsrc_addr, ðbroadcast, ETHTYPE_ARP); } else #endif /* LWIP_AUTOIP */ { ethernet_output(netif, p, ethsrc_addr, ethdst_addr, ETHTYPE_ARP); - 8019a10: f640 0306 movw r3, #2054 ; 0x806 - 8019a14: 9300 str r3, [sp, #0] - 8019a16: 687b ldr r3, [r7, #4] - 8019a18: 68ba ldr r2, [r7, #8] - 8019a1a: 69b9 ldr r1, [r7, #24] - 8019a1c: 68f8 ldr r0, [r7, #12] - 8019a1e: f001 fb8d bl 801b13c + 80195a0: f640 0306 movw r3, #2054 ; 0x806 + 80195a4: 9300 str r3, [sp, #0] + 80195a6: 687b ldr r3, [r7, #4] + 80195a8: 68ba ldr r2, [r7, #8] + 80195aa: 69b9 ldr r1, [r7, #24] + 80195ac: 68f8 ldr r0, [r7, #12] + 80195ae: f001 fb8d bl 801accc } ETHARP_STATS_INC(etharp.xmit); /* free ARP query packet */ pbuf_free(p); - 8019a22: 69b8 ldr r0, [r7, #24] - 8019a24: f7f7 f818 bl 8010a58 + 80195b2: 69b8 ldr r0, [r7, #24] + 80195b4: f7f7 f818 bl 80105e8 p = NULL; - 8019a28: 2300 movs r3, #0 - 8019a2a: 61bb str r3, [r7, #24] + 80195b8: 2300 movs r3, #0 + 80195ba: 61bb str r3, [r7, #24] /* could not allocate pbuf for ARP request */ return result; - 8019a2c: f997 301f ldrsb.w r3, [r7, #31] + 80195bc: f997 301f ldrsb.w r3, [r7, #31] } - 8019a30: 4618 mov r0, r3 - 8019a32: 3720 adds r7, #32 - 8019a34: 46bd mov sp, r7 - 8019a36: bd80 pop {r7, pc} - 8019a38: 0801ef3c .word 0x0801ef3c - 8019a3c: 0801f08c .word 0x0801f08c - 8019a40: 0801efb4 .word 0x0801efb4 - 8019a44: 0801f13c .word 0x0801f13c - 8019a48: 0801f170 .word 0x0801f170 + 80195c0: 4618 mov r0, r3 + 80195c2: 3720 adds r7, #32 + 80195c4: 46bd mov sp, r7 + 80195c6: bd80 pop {r7, pc} + 80195c8: 0801e738 .word 0x0801e738 + 80195cc: 0801e888 .word 0x0801e888 + 80195d0: 0801e7b0 .word 0x0801e7b0 + 80195d4: 0801e938 .word 0x0801e938 + 80195d8: 0801e96c .word 0x0801e96c -08019a4c : +080195dc : * ERR_MEM if the ARP packet couldn't be allocated * any other err_t on failure */ static err_t etharp_request_dst(struct netif *netif, const ip4_addr_t *ipaddr, const struct eth_addr *hw_dst_addr) { - 8019a4c: b580 push {r7, lr} - 8019a4e: b088 sub sp, #32 - 8019a50: af04 add r7, sp, #16 - 8019a52: 60f8 str r0, [r7, #12] - 8019a54: 60b9 str r1, [r7, #8] - 8019a56: 607a str r2, [r7, #4] + 80195dc: b580 push {r7, lr} + 80195de: b088 sub sp, #32 + 80195e0: af04 add r7, sp, #16 + 80195e2: 60f8 str r0, [r7, #12] + 80195e4: 60b9 str r1, [r7, #8] + 80195e6: 607a str r2, [r7, #4] return etharp_raw(netif, (struct eth_addr *)netif->hwaddr, hw_dst_addr, - 8019a58: 68fb ldr r3, [r7, #12] - 8019a5a: f103 012a add.w r1, r3, #42 ; 0x2a + 80195e8: 68fb ldr r3, [r7, #12] + 80195ea: f103 012a add.w r1, r3, #42 ; 0x2a (struct eth_addr *)netif->hwaddr, netif_ip4_addr(netif), ðzero, - 8019a5e: 68fb ldr r3, [r7, #12] - 8019a60: f103 002a add.w r0, r3, #42 ; 0x2a - 8019a64: 68fb ldr r3, [r7, #12] - 8019a66: 3304 adds r3, #4 + 80195ee: 68fb ldr r3, [r7, #12] + 80195f0: f103 002a add.w r0, r3, #42 ; 0x2a + 80195f4: 68fb ldr r3, [r7, #12] + 80195f6: 3304 adds r3, #4 return etharp_raw(netif, (struct eth_addr *)netif->hwaddr, hw_dst_addr, - 8019a68: 2201 movs r2, #1 - 8019a6a: 9203 str r2, [sp, #12] - 8019a6c: 68ba ldr r2, [r7, #8] - 8019a6e: 9202 str r2, [sp, #8] - 8019a70: 4a06 ldr r2, [pc, #24] ; (8019a8c ) - 8019a72: 9201 str r2, [sp, #4] - 8019a74: 9300 str r3, [sp, #0] - 8019a76: 4603 mov r3, r0 - 8019a78: 687a ldr r2, [r7, #4] - 8019a7a: 68f8 ldr r0, [r7, #12] - 8019a7c: f7ff ff5a bl 8019934 - 8019a80: 4603 mov r3, r0 + 80195f8: 2201 movs r2, #1 + 80195fa: 9203 str r2, [sp, #12] + 80195fc: 68ba ldr r2, [r7, #8] + 80195fe: 9202 str r2, [sp, #8] + 8019600: 4a06 ldr r2, [pc, #24] ; (801961c ) + 8019602: 9201 str r2, [sp, #4] + 8019604: 9300 str r3, [sp, #0] + 8019606: 4603 mov r3, r0 + 8019608: 687a ldr r2, [r7, #4] + 801960a: 68f8 ldr r0, [r7, #12] + 801960c: f7ff ff5a bl 80194c4 + 8019610: 4603 mov r3, r0 ipaddr, ARP_REQUEST); } - 8019a82: 4618 mov r0, r3 - 8019a84: 3710 adds r7, #16 - 8019a86: 46bd mov sp, r7 - 8019a88: bd80 pop {r7, pc} - 8019a8a: bf00 nop - 8019a8c: 0802167c .word 0x0802167c + 8019612: 4618 mov r0, r3 + 8019614: 3710 adds r7, #16 + 8019616: 46bd mov sp, r7 + 8019618: bd80 pop {r7, pc} + 801961a: bf00 nop + 801961c: 08020e78 .word 0x08020e78 -08019a90 : +08019620 : * ERR_MEM if the ARP packet couldn't be allocated * any other err_t on failure */ err_t etharp_request(struct netif *netif, const ip4_addr_t *ipaddr) { - 8019a90: b580 push {r7, lr} - 8019a92: b082 sub sp, #8 - 8019a94: af00 add r7, sp, #0 - 8019a96: 6078 str r0, [r7, #4] - 8019a98: 6039 str r1, [r7, #0] + 8019620: b580 push {r7, lr} + 8019622: b082 sub sp, #8 + 8019624: af00 add r7, sp, #0 + 8019626: 6078 str r0, [r7, #4] + 8019628: 6039 str r1, [r7, #0] LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_request: sending ARP request.\n")); return etharp_request_dst(netif, ipaddr, ðbroadcast); - 8019a9a: 4a05 ldr r2, [pc, #20] ; (8019ab0 ) - 8019a9c: 6839 ldr r1, [r7, #0] - 8019a9e: 6878 ldr r0, [r7, #4] - 8019aa0: f7ff ffd4 bl 8019a4c - 8019aa4: 4603 mov r3, r0 + 801962a: 4a05 ldr r2, [pc, #20] ; (8019640 ) + 801962c: 6839 ldr r1, [r7, #0] + 801962e: 6878 ldr r0, [r7, #4] + 8019630: f7ff ffd4 bl 80195dc + 8019634: 4603 mov r3, r0 } - 8019aa6: 4618 mov r0, r3 - 8019aa8: 3708 adds r7, #8 - 8019aaa: 46bd mov sp, r7 - 8019aac: bd80 pop {r7, pc} - 8019aae: bf00 nop - 8019ab0: 08021674 .word 0x08021674 + 8019636: 4618 mov r0, r3 + 8019638: 3708 adds r7, #8 + 801963a: 46bd mov sp, r7 + 801963c: bd80 pop {r7, pc} + 801963e: bf00 nop + 8019640: 08020e70 .word 0x08020e70 -08019ab4 : +08019644 : * @param p the icmp echo request packet, p->payload pointing to the icmp header * @param inp the netif on which this packet was received */ void icmp_input(struct pbuf *p, struct netif *inp) { - 8019ab4: b580 push {r7, lr} - 8019ab6: b08e sub sp, #56 ; 0x38 - 8019ab8: af04 add r7, sp, #16 - 8019aba: 6078 str r0, [r7, #4] - 8019abc: 6039 str r1, [r7, #0] + 8019644: b580 push {r7, lr} + 8019646: b08e sub sp, #56 ; 0x38 + 8019648: af04 add r7, sp, #16 + 801964a: 6078 str r0, [r7, #4] + 801964c: 6039 str r1, [r7, #0] const ip4_addr_t *src; ICMP_STATS_INC(icmp.recv); MIB2_STATS_INC(mib2.icmpinmsgs); iphdr_in = ip4_current_header(); - 8019abe: 4b79 ldr r3, [pc, #484] ; (8019ca4 ) - 8019ac0: 689b ldr r3, [r3, #8] - 8019ac2: 627b str r3, [r7, #36] ; 0x24 + 801964e: 4b79 ldr r3, [pc, #484] ; (8019834 ) + 8019650: 689b ldr r3, [r3, #8] + 8019652: 627b str r3, [r7, #36] ; 0x24 hlen = IPH_HL_BYTES(iphdr_in); - 8019ac4: 6a7b ldr r3, [r7, #36] ; 0x24 - 8019ac6: 781b ldrb r3, [r3, #0] - 8019ac8: f003 030f and.w r3, r3, #15 - 8019acc: b2db uxtb r3, r3 - 8019ace: 009b lsls r3, r3, #2 - 8019ad0: b2db uxtb r3, r3 - 8019ad2: 847b strh r3, [r7, #34] ; 0x22 + 8019654: 6a7b ldr r3, [r7, #36] ; 0x24 + 8019656: 781b ldrb r3, [r3, #0] + 8019658: f003 030f and.w r3, r3, #15 + 801965c: b2db uxtb r3, r3 + 801965e: 009b lsls r3, r3, #2 + 8019660: b2db uxtb r3, r3 + 8019662: 847b strh r3, [r7, #34] ; 0x22 if (hlen < IP_HLEN) { - 8019ad4: 8c7b ldrh r3, [r7, #34] ; 0x22 - 8019ad6: 2b13 cmp r3, #19 - 8019ad8: f240 80cd bls.w 8019c76 + 8019664: 8c7b ldrh r3, [r7, #34] ; 0x22 + 8019666: 2b13 cmp r3, #19 + 8019668: f240 80cd bls.w 8019806 LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: short IP header (%"S16_F" bytes) received\n", hlen)); goto lenerr; } if (p->len < sizeof(u16_t) * 2) { - 8019adc: 687b ldr r3, [r7, #4] - 8019ade: 895b ldrh r3, [r3, #10] - 8019ae0: 2b03 cmp r3, #3 - 8019ae2: f240 80ca bls.w 8019c7a + 801966c: 687b ldr r3, [r7, #4] + 801966e: 895b ldrh r3, [r3, #10] + 8019670: 2b03 cmp r3, #3 + 8019672: f240 80ca bls.w 801980a LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: short ICMP (%"U16_F" bytes) received\n", p->tot_len)); goto lenerr; } type = *((u8_t *)p->payload); - 8019ae6: 687b ldr r3, [r7, #4] - 8019ae8: 685b ldr r3, [r3, #4] - 8019aea: 781b ldrb r3, [r3, #0] - 8019aec: f887 3021 strb.w r3, [r7, #33] ; 0x21 + 8019676: 687b ldr r3, [r7, #4] + 8019678: 685b ldr r3, [r3, #4] + 801967a: 781b ldrb r3, [r3, #0] + 801967c: f887 3021 strb.w r3, [r7, #33] ; 0x21 #ifdef LWIP_DEBUG code = *(((u8_t *)p->payload) + 1); /* if debug is enabled but debug statement below is somehow disabled: */ LWIP_UNUSED_ARG(code); #endif /* LWIP_DEBUG */ switch (type) { - 8019af0: f897 3021 ldrb.w r3, [r7, #33] ; 0x21 - 8019af4: 2b00 cmp r3, #0 - 8019af6: f000 80b7 beq.w 8019c68 - 8019afa: 2b08 cmp r3, #8 - 8019afc: f040 80b7 bne.w 8019c6e + 8019680: f897 3021 ldrb.w r3, [r7, #33] ; 0x21 + 8019684: 2b00 cmp r3, #0 + 8019686: f000 80b7 beq.w 80197f8 + 801968a: 2b08 cmp r3, #8 + 801968c: f040 80b7 bne.w 80197fe (as obviously, an echo request has been sent, too). */ MIB2_STATS_INC(mib2.icmpinechoreps); break; case ICMP_ECHO: MIB2_STATS_INC(mib2.icmpinechos); src = ip4_current_dest_addr(); - 8019b00: 4b69 ldr r3, [pc, #420] ; (8019ca8 ) - 8019b02: 61fb str r3, [r7, #28] + 8019690: 4b69 ldr r3, [pc, #420] ; (8019838 ) + 8019692: 61fb str r3, [r7, #28] /* multicast destination address? */ if (ip4_addr_ismulticast(ip4_current_dest_addr())) { - 8019b04: 4b67 ldr r3, [pc, #412] ; (8019ca4 ) - 8019b06: 695b ldr r3, [r3, #20] - 8019b08: f003 03f0 and.w r3, r3, #240 ; 0xf0 - 8019b0c: 2be0 cmp r3, #224 ; 0xe0 - 8019b0e: f000 80bb beq.w 8019c88 + 8019694: 4b67 ldr r3, [pc, #412] ; (8019834 ) + 8019696: 695b ldr r3, [r3, #20] + 8019698: f003 03f0 and.w r3, r3, #240 ; 0xf0 + 801969c: 2be0 cmp r3, #224 ; 0xe0 + 801969e: f000 80bb beq.w 8019818 LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: Not echoing to multicast pings\n")); goto icmperr; #endif /* LWIP_MULTICAST_PING */ } /* broadcast destination address? */ if (ip4_addr_isbroadcast(ip4_current_dest_addr(), ip_current_netif())) { - 8019b12: 4b64 ldr r3, [pc, #400] ; (8019ca4 ) - 8019b14: 695a ldr r2, [r3, #20] - 8019b16: 4b63 ldr r3, [pc, #396] ; (8019ca4 ) - 8019b18: 681b ldr r3, [r3, #0] - 8019b1a: 4619 mov r1, r3 - 8019b1c: 4610 mov r0, r2 - 8019b1e: f000 fc09 bl 801a334 - 8019b22: 4603 mov r3, r0 - 8019b24: 2b00 cmp r3, #0 - 8019b26: f040 80b1 bne.w 8019c8c + 80196a2: 4b64 ldr r3, [pc, #400] ; (8019834 ) + 80196a4: 695a ldr r2, [r3, #20] + 80196a6: 4b63 ldr r3, [pc, #396] ; (8019834 ) + 80196a8: 681b ldr r3, [r3, #0] + 80196aa: 4619 mov r1, r3 + 80196ac: 4610 mov r0, r2 + 80196ae: f000 fc09 bl 8019ec4 + 80196b2: 4603 mov r3, r0 + 80196b4: 2b00 cmp r3, #0 + 80196b6: f040 80b1 bne.w 801981c LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: Not echoing to broadcast pings\n")); goto icmperr; #endif /* LWIP_BROADCAST_PING */ } LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: ping\n")); if (p->tot_len < sizeof(struct icmp_echo_hdr)) { - 8019b2a: 687b ldr r3, [r7, #4] - 8019b2c: 891b ldrh r3, [r3, #8] - 8019b2e: 2b07 cmp r3, #7 - 8019b30: f240 80a5 bls.w 8019c7e + 80196ba: 687b ldr r3, [r7, #4] + 80196bc: 891b ldrh r3, [r3, #8] + 80196be: 2b07 cmp r3, #7 + 80196c0: f240 80a5 bls.w 801980e return; } } #endif #if LWIP_ICMP_ECHO_CHECK_INPUT_PBUF_LEN if (pbuf_add_header(p, hlen + PBUF_LINK_HLEN + PBUF_LINK_ENCAPSULATION_HLEN)) { - 8019b34: 8c7b ldrh r3, [r7, #34] ; 0x22 - 8019b36: 330e adds r3, #14 - 8019b38: 4619 mov r1, r3 - 8019b3a: 6878 ldr r0, [r7, #4] - 8019b3c: f7f6 fef6 bl 801092c - 8019b40: 4603 mov r3, r0 - 8019b42: 2b00 cmp r3, #0 - 8019b44: d04b beq.n 8019bde + 80196c4: 8c7b ldrh r3, [r7, #34] ; 0x22 + 80196c6: 330e adds r3, #14 + 80196c8: 4619 mov r1, r3 + 80196ca: 6878 ldr r0, [r7, #4] + 80196cc: f7f6 fef6 bl 80104bc + 80196d0: 4603 mov r3, r0 + 80196d2: 2b00 cmp r3, #0 + 80196d4: d04b beq.n 801976e /* p is not big enough to contain link headers * allocate a new one and copy p into it */ struct pbuf *r; u16_t alloc_len = (u16_t)(p->tot_len + hlen); - 8019b46: 687b ldr r3, [r7, #4] - 8019b48: 891a ldrh r2, [r3, #8] - 8019b4a: 8c7b ldrh r3, [r7, #34] ; 0x22 - 8019b4c: 4413 add r3, r2 - 8019b4e: 837b strh r3, [r7, #26] + 80196d6: 687b ldr r3, [r7, #4] + 80196d8: 891a ldrh r2, [r3, #8] + 80196da: 8c7b ldrh r3, [r7, #34] ; 0x22 + 80196dc: 4413 add r3, r2 + 80196de: 837b strh r3, [r7, #26] if (alloc_len < p->tot_len) { - 8019b50: 687b ldr r3, [r7, #4] - 8019b52: 891b ldrh r3, [r3, #8] - 8019b54: 8b7a ldrh r2, [r7, #26] - 8019b56: 429a cmp r2, r3 - 8019b58: f0c0 809a bcc.w 8019c90 + 80196e0: 687b ldr r3, [r7, #4] + 80196e2: 891b ldrh r3, [r3, #8] + 80196e4: 8b7a ldrh r2, [r7, #26] + 80196e6: 429a cmp r2, r3 + 80196e8: f0c0 809a bcc.w 8019820 LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: allocating new pbuf failed (tot_len overflow)\n")); goto icmperr; } /* allocate new packet buffer with space for link headers */ r = pbuf_alloc(PBUF_LINK, alloc_len, PBUF_RAM); - 8019b5c: 8b7b ldrh r3, [r7, #26] - 8019b5e: f44f 7220 mov.w r2, #640 ; 0x280 - 8019b62: 4619 mov r1, r3 - 8019b64: 200e movs r0, #14 - 8019b66: f7f6 fc97 bl 8010498 - 8019b6a: 6178 str r0, [r7, #20] + 80196ec: 8b7b ldrh r3, [r7, #26] + 80196ee: f44f 7220 mov.w r2, #640 ; 0x280 + 80196f2: 4619 mov r1, r3 + 80196f4: 200e movs r0, #14 + 80196f6: f7f6 fc97 bl 8010028 + 80196fa: 6178 str r0, [r7, #20] if (r == NULL) { - 8019b6c: 697b ldr r3, [r7, #20] - 8019b6e: 2b00 cmp r3, #0 - 8019b70: f000 8090 beq.w 8019c94 + 80196fc: 697b ldr r3, [r7, #20] + 80196fe: 2b00 cmp r3, #0 + 8019700: f000 8090 beq.w 8019824 LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: allocating new pbuf failed\n")); goto icmperr; } if (r->len < hlen + sizeof(struct icmp_echo_hdr)) { - 8019b74: 697b ldr r3, [r7, #20] - 8019b76: 895b ldrh r3, [r3, #10] - 8019b78: 461a mov r2, r3 - 8019b7a: 8c7b ldrh r3, [r7, #34] ; 0x22 - 8019b7c: 3308 adds r3, #8 - 8019b7e: 429a cmp r2, r3 - 8019b80: d203 bcs.n 8019b8a + 8019704: 697b ldr r3, [r7, #20] + 8019706: 895b ldrh r3, [r3, #10] + 8019708: 461a mov r2, r3 + 801970a: 8c7b ldrh r3, [r7, #34] ; 0x22 + 801970c: 3308 adds r3, #8 + 801970e: 429a cmp r2, r3 + 8019710: d203 bcs.n 801971a LWIP_DEBUGF(ICMP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("first pbuf cannot hold the ICMP header")); pbuf_free(r); - 8019b82: 6978 ldr r0, [r7, #20] - 8019b84: f7f6 ff68 bl 8010a58 + 8019712: 6978 ldr r0, [r7, #20] + 8019714: f7f6 ff68 bl 80105e8 goto icmperr; - 8019b88: e085 b.n 8019c96 + 8019718: e085 b.n 8019826 } /* copy the ip header */ MEMCPY(r->payload, iphdr_in, hlen); - 8019b8a: 697b ldr r3, [r7, #20] - 8019b8c: 685b ldr r3, [r3, #4] - 8019b8e: 8c7a ldrh r2, [r7, #34] ; 0x22 - 8019b90: 6a79 ldr r1, [r7, #36] ; 0x24 - 8019b92: 4618 mov r0, r3 - 8019b94: f001 fc63 bl 801b45e + 801971a: 697b ldr r3, [r7, #20] + 801971c: 685b ldr r3, [r3, #4] + 801971e: 8c7a ldrh r2, [r7, #34] ; 0x22 + 8019720: 6a79 ldr r1, [r7, #36] ; 0x24 + 8019722: 4618 mov r0, r3 + 8019724: f001 fc63 bl 801afee /* switch r->payload back to icmp header (cannot fail) */ if (pbuf_remove_header(r, hlen)) { - 8019b98: 8c7b ldrh r3, [r7, #34] ; 0x22 - 8019b9a: 4619 mov r1, r3 - 8019b9c: 6978 ldr r0, [r7, #20] - 8019b9e: f7f6 fed5 bl 801094c - 8019ba2: 4603 mov r3, r0 - 8019ba4: 2b00 cmp r3, #0 - 8019ba6: d009 beq.n 8019bbc + 8019728: 8c7b ldrh r3, [r7, #34] ; 0x22 + 801972a: 4619 mov r1, r3 + 801972c: 6978 ldr r0, [r7, #20] + 801972e: f7f6 fed5 bl 80104dc + 8019732: 4603 mov r3, r0 + 8019734: 2b00 cmp r3, #0 + 8019736: d009 beq.n 801974c LWIP_ASSERT("icmp_input: moving r->payload to icmp header failed\n", 0); - 8019ba8: 4b40 ldr r3, [pc, #256] ; (8019cac ) - 8019baa: 22b6 movs r2, #182 ; 0xb6 - 8019bac: 4940 ldr r1, [pc, #256] ; (8019cb0 ) - 8019bae: 4841 ldr r0, [pc, #260] ; (8019cb4 ) - 8019bb0: f001 fc82 bl 801b4b8 + 8019738: 4b40 ldr r3, [pc, #256] ; (801983c ) + 801973a: 22b6 movs r2, #182 ; 0xb6 + 801973c: 4940 ldr r1, [pc, #256] ; (8019840 ) + 801973e: 4841 ldr r0, [pc, #260] ; (8019844 ) + 8019740: f001 fc68 bl 801b014 pbuf_free(r); - 8019bb4: 6978 ldr r0, [r7, #20] - 8019bb6: f7f6 ff4f bl 8010a58 + 8019744: 6978 ldr r0, [r7, #20] + 8019746: f7f6 ff4f bl 80105e8 goto icmperr; - 8019bba: e06c b.n 8019c96 + 801974a: e06c b.n 8019826 } /* copy the rest of the packet without ip header */ if (pbuf_copy(r, p) != ERR_OK) { - 8019bbc: 6879 ldr r1, [r7, #4] - 8019bbe: 6978 ldr r0, [r7, #20] - 8019bc0: f7f7 f87e bl 8010cc0 - 8019bc4: 4603 mov r3, r0 - 8019bc6: 2b00 cmp r3, #0 - 8019bc8: d003 beq.n 8019bd2 + 801974c: 6879 ldr r1, [r7, #4] + 801974e: 6978 ldr r0, [r7, #20] + 8019750: f7f7 f87e bl 8010850 + 8019754: 4603 mov r3, r0 + 8019756: 2b00 cmp r3, #0 + 8019758: d003 beq.n 8019762 LWIP_DEBUGF(ICMP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("icmp_input: copying to new pbuf failed")); pbuf_free(r); - 8019bca: 6978 ldr r0, [r7, #20] - 8019bcc: f7f6 ff44 bl 8010a58 + 801975a: 6978 ldr r0, [r7, #20] + 801975c: f7f6 ff44 bl 80105e8 goto icmperr; - 8019bd0: e061 b.n 8019c96 + 8019760: e061 b.n 8019826 } /* free the original p */ pbuf_free(p); - 8019bd2: 6878 ldr r0, [r7, #4] - 8019bd4: f7f6 ff40 bl 8010a58 + 8019762: 6878 ldr r0, [r7, #4] + 8019764: f7f6 ff40 bl 80105e8 /* we now have an identical copy of p that has room for link headers */ p = r; - 8019bd8: 697b ldr r3, [r7, #20] - 8019bda: 607b str r3, [r7, #4] - 8019bdc: e00f b.n 8019bfe + 8019768: 697b ldr r3, [r7, #20] + 801976a: 607b str r3, [r7, #4] + 801976c: e00f b.n 801978e } else { /* restore p->payload to point to icmp header (cannot fail) */ if (pbuf_remove_header(p, hlen + PBUF_LINK_HLEN + PBUF_LINK_ENCAPSULATION_HLEN)) { - 8019bde: 8c7b ldrh r3, [r7, #34] ; 0x22 - 8019be0: 330e adds r3, #14 - 8019be2: 4619 mov r1, r3 - 8019be4: 6878 ldr r0, [r7, #4] - 8019be6: f7f6 feb1 bl 801094c - 8019bea: 4603 mov r3, r0 - 8019bec: 2b00 cmp r3, #0 - 8019bee: d006 beq.n 8019bfe + 801976e: 8c7b ldrh r3, [r7, #34] ; 0x22 + 8019770: 330e adds r3, #14 + 8019772: 4619 mov r1, r3 + 8019774: 6878 ldr r0, [r7, #4] + 8019776: f7f6 feb1 bl 80104dc + 801977a: 4603 mov r3, r0 + 801977c: 2b00 cmp r3, #0 + 801977e: d006 beq.n 801978e LWIP_ASSERT("icmp_input: restoring original p->payload failed\n", 0); - 8019bf0: 4b2e ldr r3, [pc, #184] ; (8019cac ) - 8019bf2: 22c7 movs r2, #199 ; 0xc7 - 8019bf4: 4930 ldr r1, [pc, #192] ; (8019cb8 ) - 8019bf6: 482f ldr r0, [pc, #188] ; (8019cb4 ) - 8019bf8: f001 fc5e bl 801b4b8 + 8019780: 4b2e ldr r3, [pc, #184] ; (801983c ) + 8019782: 22c7 movs r2, #199 ; 0xc7 + 8019784: 4930 ldr r1, [pc, #192] ; (8019848 ) + 8019786: 482f ldr r0, [pc, #188] ; (8019844 ) + 8019788: f001 fc44 bl 801b014 goto icmperr; - 8019bfc: e04b b.n 8019c96 + 801978c: e04b b.n 8019826 } #endif /* LWIP_ICMP_ECHO_CHECK_INPUT_PBUF_LEN */ /* At this point, all checks are OK. */ /* We generate an answer by switching the dest and src ip addresses, * setting the icmp type to ECHO_RESPONSE and updating the checksum. */ iecho = (struct icmp_echo_hdr *)p->payload; - 8019bfe: 687b ldr r3, [r7, #4] - 8019c00: 685b ldr r3, [r3, #4] - 8019c02: 613b str r3, [r7, #16] + 801978e: 687b ldr r3, [r7, #4] + 8019790: 685b ldr r3, [r3, #4] + 8019792: 613b str r3, [r7, #16] if (pbuf_add_header(p, hlen)) { - 8019c04: 8c7b ldrh r3, [r7, #34] ; 0x22 - 8019c06: 4619 mov r1, r3 - 8019c08: 6878 ldr r0, [r7, #4] - 8019c0a: f7f6 fe8f bl 801092c - 8019c0e: 4603 mov r3, r0 - 8019c10: 2b00 cmp r3, #0 - 8019c12: d12b bne.n 8019c6c + 8019794: 8c7b ldrh r3, [r7, #34] ; 0x22 + 8019796: 4619 mov r1, r3 + 8019798: 6878 ldr r0, [r7, #4] + 801979a: f7f6 fe8f bl 80104bc + 801979e: 4603 mov r3, r0 + 80197a0: 2b00 cmp r3, #0 + 80197a2: d12b bne.n 80197fc LWIP_DEBUGF(ICMP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("Can't move over header in packet")); } else { err_t ret; struct ip_hdr *iphdr = (struct ip_hdr *)p->payload; - 8019c14: 687b ldr r3, [r7, #4] - 8019c16: 685b ldr r3, [r3, #4] - 8019c18: 60fb str r3, [r7, #12] + 80197a4: 687b ldr r3, [r7, #4] + 80197a6: 685b ldr r3, [r3, #4] + 80197a8: 60fb str r3, [r7, #12] ip4_addr_copy(iphdr->src, *src); - 8019c1a: 69fb ldr r3, [r7, #28] - 8019c1c: 681a ldr r2, [r3, #0] - 8019c1e: 68fb ldr r3, [r7, #12] - 8019c20: 60da str r2, [r3, #12] + 80197aa: 69fb ldr r3, [r7, #28] + 80197ac: 681a ldr r2, [r3, #0] + 80197ae: 68fb ldr r3, [r7, #12] + 80197b0: 60da str r2, [r3, #12] ip4_addr_copy(iphdr->dest, *ip4_current_src_addr()); - 8019c22: 4b20 ldr r3, [pc, #128] ; (8019ca4 ) - 8019c24: 691a ldr r2, [r3, #16] - 8019c26: 68fb ldr r3, [r7, #12] - 8019c28: 611a str r2, [r3, #16] + 80197b2: 4b20 ldr r3, [pc, #128] ; (8019834 ) + 80197b4: 691a ldr r2, [r3, #16] + 80197b6: 68fb ldr r3, [r7, #12] + 80197b8: 611a str r2, [r3, #16] ICMPH_TYPE_SET(iecho, ICMP_ER); - 8019c2a: 693b ldr r3, [r7, #16] - 8019c2c: 2200 movs r2, #0 - 8019c2e: 701a strb r2, [r3, #0] + 80197ba: 693b ldr r3, [r7, #16] + 80197bc: 2200 movs r2, #0 + 80197be: 701a strb r2, [r3, #0] else { iecho->chksum = 0; } #endif /* LWIP_CHECKSUM_CTRL_PER_NETIF */ #else /* CHECKSUM_GEN_ICMP */ iecho->chksum = 0; - 8019c30: 693b ldr r3, [r7, #16] - 8019c32: 2200 movs r2, #0 - 8019c34: 709a strb r2, [r3, #2] - 8019c36: 2200 movs r2, #0 - 8019c38: 70da strb r2, [r3, #3] + 80197c0: 693b ldr r3, [r7, #16] + 80197c2: 2200 movs r2, #0 + 80197c4: 709a strb r2, [r3, #2] + 80197c6: 2200 movs r2, #0 + 80197c8: 70da strb r2, [r3, #3] #endif /* CHECKSUM_GEN_ICMP */ /* Set the correct TTL and recalculate the header checksum. */ IPH_TTL_SET(iphdr, ICMP_TTL); - 8019c3a: 68fb ldr r3, [r7, #12] - 8019c3c: 22ff movs r2, #255 ; 0xff - 8019c3e: 721a strb r2, [r3, #8] + 80197ca: 68fb ldr r3, [r7, #12] + 80197cc: 22ff movs r2, #255 ; 0xff + 80197ce: 721a strb r2, [r3, #8] IPH_CHKSUM_SET(iphdr, 0); - 8019c40: 68fb ldr r3, [r7, #12] - 8019c42: 2200 movs r2, #0 - 8019c44: 729a strb r2, [r3, #10] - 8019c46: 2200 movs r2, #0 - 8019c48: 72da strb r2, [r3, #11] + 80197d0: 68fb ldr r3, [r7, #12] + 80197d2: 2200 movs r2, #0 + 80197d4: 729a strb r2, [r3, #10] + 80197d6: 2200 movs r2, #0 + 80197d8: 72da strb r2, [r3, #11] MIB2_STATS_INC(mib2.icmpoutmsgs); /* increase number of echo replies attempted to send */ MIB2_STATS_INC(mib2.icmpoutechoreps); /* send an ICMP packet */ ret = ip4_output_if(p, src, LWIP_IP_HDRINCL, - 8019c4a: 683b ldr r3, [r7, #0] - 8019c4c: 9302 str r3, [sp, #8] - 8019c4e: 2301 movs r3, #1 - 8019c50: 9301 str r3, [sp, #4] - 8019c52: 2300 movs r3, #0 - 8019c54: 9300 str r3, [sp, #0] - 8019c56: 23ff movs r3, #255 ; 0xff - 8019c58: 2200 movs r2, #0 - 8019c5a: 69f9 ldr r1, [r7, #28] - 8019c5c: 6878 ldr r0, [r7, #4] - 8019c5e: f000 fa91 bl 801a184 - 8019c62: 4603 mov r3, r0 - 8019c64: 72fb strb r3, [r7, #11] + 80197da: 683b ldr r3, [r7, #0] + 80197dc: 9302 str r3, [sp, #8] + 80197de: 2301 movs r3, #1 + 80197e0: 9301 str r3, [sp, #4] + 80197e2: 2300 movs r3, #0 + 80197e4: 9300 str r3, [sp, #0] + 80197e6: 23ff movs r3, #255 ; 0xff + 80197e8: 2200 movs r2, #0 + 80197ea: 69f9 ldr r1, [r7, #28] + 80197ec: 6878 ldr r0, [r7, #4] + 80197ee: f000 fa91 bl 8019d14 + 80197f2: 4603 mov r3, r0 + 80197f4: 72fb strb r3, [r7, #11] ICMP_TTL, 0, IP_PROTO_ICMP, inp); if (ret != ERR_OK) { LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: ip_output_if returned an error: %s\n", lwip_strerr(ret))); } } break; - 8019c66: e001 b.n 8019c6c + 80197f6: e001 b.n 80197fc break; - 8019c68: bf00 nop - 8019c6a: e000 b.n 8019c6e + 80197f8: bf00 nop + 80197fa: e000 b.n 80197fe break; - 8019c6c: bf00 nop + 80197fc: bf00 nop LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: ICMP type %"S16_F" code %"S16_F" not supported.\n", (s16_t)type, (s16_t)code)); ICMP_STATS_INC(icmp.proterr); ICMP_STATS_INC(icmp.drop); } pbuf_free(p); - 8019c6e: 6878 ldr r0, [r7, #4] - 8019c70: f7f6 fef2 bl 8010a58 + 80197fe: 6878 ldr r0, [r7, #4] + 8019800: f7f6 fef2 bl 80105e8 return; - 8019c74: e013 b.n 8019c9e + 8019804: e013 b.n 801982e goto lenerr; - 8019c76: bf00 nop - 8019c78: e002 b.n 8019c80 + 8019806: bf00 nop + 8019808: e002 b.n 8019810 goto lenerr; - 8019c7a: bf00 nop - 8019c7c: e000 b.n 8019c80 + 801980a: bf00 nop + 801980c: e000 b.n 8019810 goto lenerr; - 8019c7e: bf00 nop + 801980e: bf00 nop lenerr: pbuf_free(p); - 8019c80: 6878 ldr r0, [r7, #4] - 8019c82: f7f6 fee9 bl 8010a58 + 8019810: 6878 ldr r0, [r7, #4] + 8019812: f7f6 fee9 bl 80105e8 ICMP_STATS_INC(icmp.lenerr); MIB2_STATS_INC(mib2.icmpinerrors); return; - 8019c86: e00a b.n 8019c9e + 8019816: e00a b.n 801982e goto icmperr; - 8019c88: bf00 nop - 8019c8a: e004 b.n 8019c96 + 8019818: bf00 nop + 801981a: e004 b.n 8019826 goto icmperr; - 8019c8c: bf00 nop - 8019c8e: e002 b.n 8019c96 + 801981c: bf00 nop + 801981e: e002 b.n 8019826 goto icmperr; - 8019c90: bf00 nop - 8019c92: e000 b.n 8019c96 + 8019820: bf00 nop + 8019822: e000 b.n 8019826 goto icmperr; - 8019c94: bf00 nop + 8019824: bf00 nop #if LWIP_ICMP_ECHO_CHECK_INPUT_PBUF_LEN || !LWIP_MULTICAST_PING || !LWIP_BROADCAST_PING icmperr: pbuf_free(p); - 8019c96: 6878 ldr r0, [r7, #4] - 8019c98: f7f6 fede bl 8010a58 + 8019826: 6878 ldr r0, [r7, #4] + 8019828: f7f6 fede bl 80105e8 ICMP_STATS_INC(icmp.err); MIB2_STATS_INC(mib2.icmpinerrors); return; - 8019c9c: bf00 nop + 801982c: bf00 nop #endif /* LWIP_ICMP_ECHO_CHECK_INPUT_PBUF_LEN || !LWIP_MULTICAST_PING || !LWIP_BROADCAST_PING */ } - 8019c9e: 3728 adds r7, #40 ; 0x28 - 8019ca0: 46bd mov sp, r7 - 8019ca2: bd80 pop {r7, pc} - 8019ca4: 2000be90 .word 0x2000be90 - 8019ca8: 2000bea4 .word 0x2000bea4 - 8019cac: 0801f1b4 .word 0x0801f1b4 - 8019cb0: 0801f1ec .word 0x0801f1ec - 8019cb4: 0801f224 .word 0x0801f224 - 8019cb8: 0801f24c .word 0x0801f24c + 801982e: 3728 adds r7, #40 ; 0x28 + 8019830: 46bd mov sp, r7 + 8019832: bd80 pop {r7, pc} + 8019834: 2000be8c .word 0x2000be8c + 8019838: 2000bea0 .word 0x2000bea0 + 801983c: 0801e9b0 .word 0x0801e9b0 + 8019840: 0801e9e8 .word 0x0801e9e8 + 8019844: 0801ea20 .word 0x0801ea20 + 8019848: 0801ea48 .word 0x0801ea48 -08019cbc : +0801984c : * p->payload pointing to the IP header * @param t type of the 'unreachable' packet */ void icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t) { - 8019cbc: b580 push {r7, lr} - 8019cbe: b082 sub sp, #8 - 8019cc0: af00 add r7, sp, #0 - 8019cc2: 6078 str r0, [r7, #4] - 8019cc4: 460b mov r3, r1 - 8019cc6: 70fb strb r3, [r7, #3] + 801984c: b580 push {r7, lr} + 801984e: b082 sub sp, #8 + 8019850: af00 add r7, sp, #0 + 8019852: 6078 str r0, [r7, #4] + 8019854: 460b mov r3, r1 + 8019856: 70fb strb r3, [r7, #3] MIB2_STATS_INC(mib2.icmpoutdestunreachs); icmp_send_response(p, ICMP_DUR, t); - 8019cc8: 78fb ldrb r3, [r7, #3] - 8019cca: 461a mov r2, r3 - 8019ccc: 2103 movs r1, #3 - 8019cce: 6878 ldr r0, [r7, #4] - 8019cd0: f000 f814 bl 8019cfc + 8019858: 78fb ldrb r3, [r7, #3] + 801985a: 461a mov r2, r3 + 801985c: 2103 movs r1, #3 + 801985e: 6878 ldr r0, [r7, #4] + 8019860: f000 f814 bl 801988c } - 8019cd4: bf00 nop - 8019cd6: 3708 adds r7, #8 - 8019cd8: 46bd mov sp, r7 - 8019cda: bd80 pop {r7, pc} + 8019864: bf00 nop + 8019866: 3708 adds r7, #8 + 8019868: 46bd mov sp, r7 + 801986a: bd80 pop {r7, pc} -08019cdc : +0801986c : * p->payload pointing to the IP header * @param t type of the 'time exceeded' packet */ void icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t) { - 8019cdc: b580 push {r7, lr} - 8019cde: b082 sub sp, #8 - 8019ce0: af00 add r7, sp, #0 - 8019ce2: 6078 str r0, [r7, #4] - 8019ce4: 460b mov r3, r1 - 8019ce6: 70fb strb r3, [r7, #3] + 801986c: b580 push {r7, lr} + 801986e: b082 sub sp, #8 + 8019870: af00 add r7, sp, #0 + 8019872: 6078 str r0, [r7, #4] + 8019874: 460b mov r3, r1 + 8019876: 70fb strb r3, [r7, #3] MIB2_STATS_INC(mib2.icmpouttimeexcds); icmp_send_response(p, ICMP_TE, t); - 8019ce8: 78fb ldrb r3, [r7, #3] - 8019cea: 461a mov r2, r3 - 8019cec: 210b movs r1, #11 - 8019cee: 6878 ldr r0, [r7, #4] - 8019cf0: f000 f804 bl 8019cfc + 8019878: 78fb ldrb r3, [r7, #3] + 801987a: 461a mov r2, r3 + 801987c: 210b movs r1, #11 + 801987e: 6878 ldr r0, [r7, #4] + 8019880: f000 f804 bl 801988c } - 8019cf4: bf00 nop - 8019cf6: 3708 adds r7, #8 - 8019cf8: 46bd mov sp, r7 - 8019cfa: bd80 pop {r7, pc} + 8019884: bf00 nop + 8019886: 3708 adds r7, #8 + 8019888: 46bd mov sp, r7 + 801988a: bd80 pop {r7, pc} -08019cfc : +0801988c : * @param type Type of the ICMP header * @param code Code of the ICMP header */ static void icmp_send_response(struct pbuf *p, u8_t type, u8_t code) { - 8019cfc: b580 push {r7, lr} - 8019cfe: b08c sub sp, #48 ; 0x30 - 8019d00: af04 add r7, sp, #16 - 8019d02: 6078 str r0, [r7, #4] - 8019d04: 460b mov r3, r1 - 8019d06: 70fb strb r3, [r7, #3] - 8019d08: 4613 mov r3, r2 - 8019d0a: 70bb strb r3, [r7, #2] + 801988c: b580 push {r7, lr} + 801988e: b08c sub sp, #48 ; 0x30 + 8019890: af04 add r7, sp, #16 + 8019892: 6078 str r0, [r7, #4] + 8019894: 460b mov r3, r1 + 8019896: 70fb strb r3, [r7, #3] + 8019898: 4613 mov r3, r2 + 801989a: 70bb strb r3, [r7, #2] /* increase number of messages attempted to send */ MIB2_STATS_INC(mib2.icmpoutmsgs); /* ICMP header + IP header + 8 bytes of data */ q = pbuf_alloc(PBUF_IP, sizeof(struct icmp_echo_hdr) + IP_HLEN + ICMP_DEST_UNREACH_DATASIZE, - 8019d0c: f44f 7220 mov.w r2, #640 ; 0x280 - 8019d10: 2124 movs r1, #36 ; 0x24 - 8019d12: 2022 movs r0, #34 ; 0x22 - 8019d14: f7f6 fbc0 bl 8010498 - 8019d18: 61f8 str r0, [r7, #28] + 801989c: f44f 7220 mov.w r2, #640 ; 0x280 + 80198a0: 2124 movs r1, #36 ; 0x24 + 80198a2: 2022 movs r0, #34 ; 0x22 + 80198a4: f7f6 fbc0 bl 8010028 + 80198a8: 61f8 str r0, [r7, #28] PBUF_RAM); if (q == NULL) { - 8019d1a: 69fb ldr r3, [r7, #28] - 8019d1c: 2b00 cmp r3, #0 - 8019d1e: d04c beq.n 8019dba + 80198aa: 69fb ldr r3, [r7, #28] + 80198ac: 2b00 cmp r3, #0 + 80198ae: d04c beq.n 801994a LWIP_DEBUGF(ICMP_DEBUG, ("icmp_time_exceeded: failed to allocate pbuf for ICMP packet.\n")); MIB2_STATS_INC(mib2.icmpouterrors); return; } LWIP_ASSERT("check that first pbuf can hold icmp message", - 8019d20: 69fb ldr r3, [r7, #28] - 8019d22: 895b ldrh r3, [r3, #10] - 8019d24: 2b23 cmp r3, #35 ; 0x23 - 8019d26: d806 bhi.n 8019d36 - 8019d28: 4b26 ldr r3, [pc, #152] ; (8019dc4 ) - 8019d2a: f240 1269 movw r2, #361 ; 0x169 - 8019d2e: 4926 ldr r1, [pc, #152] ; (8019dc8 ) - 8019d30: 4826 ldr r0, [pc, #152] ; (8019dcc ) - 8019d32: f001 fbc1 bl 801b4b8 + 80198b0: 69fb ldr r3, [r7, #28] + 80198b2: 895b ldrh r3, [r3, #10] + 80198b4: 2b23 cmp r3, #35 ; 0x23 + 80198b6: d806 bhi.n 80198c6 + 80198b8: 4b26 ldr r3, [pc, #152] ; (8019954 ) + 80198ba: f240 1269 movw r2, #361 ; 0x169 + 80198be: 4926 ldr r1, [pc, #152] ; (8019958 ) + 80198c0: 4826 ldr r0, [pc, #152] ; (801995c ) + 80198c2: f001 fba7 bl 801b014 (q->len >= (sizeof(struct icmp_echo_hdr) + IP_HLEN + ICMP_DEST_UNREACH_DATASIZE))); iphdr = (struct ip_hdr *)p->payload; - 8019d36: 687b ldr r3, [r7, #4] - 8019d38: 685b ldr r3, [r3, #4] - 8019d3a: 61bb str r3, [r7, #24] + 80198c6: 687b ldr r3, [r7, #4] + 80198c8: 685b ldr r3, [r3, #4] + 80198ca: 61bb str r3, [r7, #24] ip4_addr_debug_print_val(ICMP_DEBUG, iphdr->src); LWIP_DEBUGF(ICMP_DEBUG, (" to ")); ip4_addr_debug_print_val(ICMP_DEBUG, iphdr->dest); LWIP_DEBUGF(ICMP_DEBUG, ("\n")); icmphdr = (struct icmp_echo_hdr *)q->payload; - 8019d3c: 69fb ldr r3, [r7, #28] - 8019d3e: 685b ldr r3, [r3, #4] - 8019d40: 617b str r3, [r7, #20] + 80198cc: 69fb ldr r3, [r7, #28] + 80198ce: 685b ldr r3, [r3, #4] + 80198d0: 617b str r3, [r7, #20] icmphdr->type = type; - 8019d42: 697b ldr r3, [r7, #20] - 8019d44: 78fa ldrb r2, [r7, #3] - 8019d46: 701a strb r2, [r3, #0] + 80198d2: 697b ldr r3, [r7, #20] + 80198d4: 78fa ldrb r2, [r7, #3] + 80198d6: 701a strb r2, [r3, #0] icmphdr->code = code; - 8019d48: 697b ldr r3, [r7, #20] - 8019d4a: 78ba ldrb r2, [r7, #2] - 8019d4c: 705a strb r2, [r3, #1] + 80198d8: 697b ldr r3, [r7, #20] + 80198da: 78ba ldrb r2, [r7, #2] + 80198dc: 705a strb r2, [r3, #1] icmphdr->id = 0; - 8019d4e: 697b ldr r3, [r7, #20] - 8019d50: 2200 movs r2, #0 - 8019d52: 711a strb r2, [r3, #4] - 8019d54: 2200 movs r2, #0 - 8019d56: 715a strb r2, [r3, #5] + 80198de: 697b ldr r3, [r7, #20] + 80198e0: 2200 movs r2, #0 + 80198e2: 711a strb r2, [r3, #4] + 80198e4: 2200 movs r2, #0 + 80198e6: 715a strb r2, [r3, #5] icmphdr->seqno = 0; - 8019d58: 697b ldr r3, [r7, #20] - 8019d5a: 2200 movs r2, #0 - 8019d5c: 719a strb r2, [r3, #6] - 8019d5e: 2200 movs r2, #0 - 8019d60: 71da strb r2, [r3, #7] + 80198e8: 697b ldr r3, [r7, #20] + 80198ea: 2200 movs r2, #0 + 80198ec: 719a strb r2, [r3, #6] + 80198ee: 2200 movs r2, #0 + 80198f0: 71da strb r2, [r3, #7] /* copy fields from original packet */ SMEMCPY((u8_t *)q->payload + sizeof(struct icmp_echo_hdr), (u8_t *)p->payload, - 8019d62: 69fb ldr r3, [r7, #28] - 8019d64: 685b ldr r3, [r3, #4] - 8019d66: f103 0008 add.w r0, r3, #8 - 8019d6a: 687b ldr r3, [r7, #4] - 8019d6c: 685b ldr r3, [r3, #4] - 8019d6e: 221c movs r2, #28 - 8019d70: 4619 mov r1, r3 - 8019d72: f001 fb74 bl 801b45e + 80198f2: 69fb ldr r3, [r7, #28] + 80198f4: 685b ldr r3, [r3, #4] + 80198f6: f103 0008 add.w r0, r3, #8 + 80198fa: 687b ldr r3, [r7, #4] + 80198fc: 685b ldr r3, [r3, #4] + 80198fe: 221c movs r2, #28 + 8019900: 4619 mov r1, r3 + 8019902: f001 fb74 bl 801afee IP_HLEN + ICMP_DEST_UNREACH_DATASIZE); ip4_addr_copy(iphdr_src, iphdr->src); - 8019d76: 69bb ldr r3, [r7, #24] - 8019d78: 68db ldr r3, [r3, #12] - 8019d7a: 60fb str r3, [r7, #12] + 8019906: 69bb ldr r3, [r7, #24] + 8019908: 68db ldr r3, [r3, #12] + 801990a: 60fb str r3, [r7, #12] ip4_addr_t iphdr_dst; ip4_addr_copy(iphdr_dst, iphdr->dest); netif = ip4_route_src(&iphdr_dst, &iphdr_src); } #else netif = ip4_route(&iphdr_src); - 8019d7c: f107 030c add.w r3, r7, #12 - 8019d80: 4618 mov r0, r3 - 8019d82: f000 f825 bl 8019dd0 - 8019d86: 6138 str r0, [r7, #16] + 801990c: f107 030c add.w r3, r7, #12 + 8019910: 4618 mov r0, r3 + 8019912: f000 f825 bl 8019960 + 8019916: 6138 str r0, [r7, #16] #endif if (netif != NULL) { - 8019d88: 693b ldr r3, [r7, #16] - 8019d8a: 2b00 cmp r3, #0 - 8019d8c: d011 beq.n 8019db2 + 8019918: 693b ldr r3, [r7, #16] + 801991a: 2b00 cmp r3, #0 + 801991c: d011 beq.n 8019942 /* calculate checksum */ icmphdr->chksum = 0; - 8019d8e: 697b ldr r3, [r7, #20] - 8019d90: 2200 movs r2, #0 - 8019d92: 709a strb r2, [r3, #2] - 8019d94: 2200 movs r2, #0 - 8019d96: 70da strb r2, [r3, #3] + 801991e: 697b ldr r3, [r7, #20] + 8019920: 2200 movs r2, #0 + 8019922: 709a strb r2, [r3, #2] + 8019924: 2200 movs r2, #0 + 8019926: 70da strb r2, [r3, #3] IF__NETIF_CHECKSUM_ENABLED(netif, NETIF_CHECKSUM_GEN_ICMP) { icmphdr->chksum = inet_chksum(icmphdr, q->len); } #endif ICMP_STATS_INC(icmp.xmit); ip4_output_if(q, NULL, &iphdr_src, ICMP_TTL, 0, IP_PROTO_ICMP, netif); - 8019d98: f107 020c add.w r2, r7, #12 - 8019d9c: 693b ldr r3, [r7, #16] - 8019d9e: 9302 str r3, [sp, #8] - 8019da0: 2301 movs r3, #1 - 8019da2: 9301 str r3, [sp, #4] - 8019da4: 2300 movs r3, #0 - 8019da6: 9300 str r3, [sp, #0] - 8019da8: 23ff movs r3, #255 ; 0xff - 8019daa: 2100 movs r1, #0 - 8019dac: 69f8 ldr r0, [r7, #28] - 8019dae: f000 f9e9 bl 801a184 + 8019928: f107 020c add.w r2, r7, #12 + 801992c: 693b ldr r3, [r7, #16] + 801992e: 9302 str r3, [sp, #8] + 8019930: 2301 movs r3, #1 + 8019932: 9301 str r3, [sp, #4] + 8019934: 2300 movs r3, #0 + 8019936: 9300 str r3, [sp, #0] + 8019938: 23ff movs r3, #255 ; 0xff + 801993a: 2100 movs r1, #0 + 801993c: 69f8 ldr r0, [r7, #28] + 801993e: f000 f9e9 bl 8019d14 } pbuf_free(q); - 8019db2: 69f8 ldr r0, [r7, #28] - 8019db4: f7f6 fe50 bl 8010a58 - 8019db8: e000 b.n 8019dbc + 8019942: 69f8 ldr r0, [r7, #28] + 8019944: f7f6 fe50 bl 80105e8 + 8019948: e000 b.n 801994c return; - 8019dba: bf00 nop + 801994a: bf00 nop } - 8019dbc: 3720 adds r7, #32 - 8019dbe: 46bd mov sp, r7 - 8019dc0: bd80 pop {r7, pc} - 8019dc2: bf00 nop - 8019dc4: 0801f1b4 .word 0x0801f1b4 - 8019dc8: 0801f280 .word 0x0801f280 - 8019dcc: 0801f224 .word 0x0801f224 + 801994c: 3720 adds r7, #32 + 801994e: 46bd mov sp, r7 + 8019950: bd80 pop {r7, pc} + 8019952: bf00 nop + 8019954: 0801e9b0 .word 0x0801e9b0 + 8019958: 0801ea7c .word 0x0801ea7c + 801995c: 0801ea20 .word 0x0801ea20 -08019dd0 : +08019960 : * @param dest the destination IP address for which to find the route * @return the netif on which to send to reach dest */ struct netif * ip4_route(const ip4_addr_t *dest) { - 8019dd0: b480 push {r7} - 8019dd2: b085 sub sp, #20 - 8019dd4: af00 add r7, sp, #0 - 8019dd6: 6078 str r0, [r7, #4] + 8019960: b480 push {r7} + 8019962: b085 sub sp, #20 + 8019964: af00 add r7, sp, #0 + 8019966: 6078 str r0, [r7, #4] /* bug #54569: in case LWIP_SINGLE_NETIF=1 and LWIP_DEBUGF() disabled, the following loop is optimized away */ LWIP_UNUSED_ARG(dest); /* iterate through netifs */ NETIF_FOREACH(netif) { - 8019dd8: 4b33 ldr r3, [pc, #204] ; (8019ea8 ) - 8019dda: 681b ldr r3, [r3, #0] - 8019ddc: 60fb str r3, [r7, #12] - 8019dde: e036 b.n 8019e4e + 8019968: 4b33 ldr r3, [pc, #204] ; (8019a38 ) + 801996a: 681b ldr r3, [r3, #0] + 801996c: 60fb str r3, [r7, #12] + 801996e: e036 b.n 80199de /* is the netif up, does it have a link and a valid address? */ if (netif_is_up(netif) && netif_is_link_up(netif) && !ip4_addr_isany_val(*netif_ip4_addr(netif))) { - 8019de0: 68fb ldr r3, [r7, #12] - 8019de2: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8019de6: f003 0301 and.w r3, r3, #1 - 8019dea: b2db uxtb r3, r3 - 8019dec: 2b00 cmp r3, #0 - 8019dee: d02b beq.n 8019e48 - 8019df0: 68fb ldr r3, [r7, #12] - 8019df2: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8019df6: 089b lsrs r3, r3, #2 - 8019df8: f003 0301 and.w r3, r3, #1 - 8019dfc: b2db uxtb r3, r3 - 8019dfe: 2b00 cmp r3, #0 - 8019e00: d022 beq.n 8019e48 - 8019e02: 68fb ldr r3, [r7, #12] - 8019e04: 3304 adds r3, #4 - 8019e06: 681b ldr r3, [r3, #0] - 8019e08: 2b00 cmp r3, #0 - 8019e0a: d01d beq.n 8019e48 + 8019970: 68fb ldr r3, [r7, #12] + 8019972: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 8019976: f003 0301 and.w r3, r3, #1 + 801997a: b2db uxtb r3, r3 + 801997c: 2b00 cmp r3, #0 + 801997e: d02b beq.n 80199d8 + 8019980: 68fb ldr r3, [r7, #12] + 8019982: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 8019986: 089b lsrs r3, r3, #2 + 8019988: f003 0301 and.w r3, r3, #1 + 801998c: b2db uxtb r3, r3 + 801998e: 2b00 cmp r3, #0 + 8019990: d022 beq.n 80199d8 + 8019992: 68fb ldr r3, [r7, #12] + 8019994: 3304 adds r3, #4 + 8019996: 681b ldr r3, [r3, #0] + 8019998: 2b00 cmp r3, #0 + 801999a: d01d beq.n 80199d8 /* network mask matches? */ if (ip4_addr_netcmp(dest, netif_ip4_addr(netif), netif_ip4_netmask(netif))) { - 8019e0c: 687b ldr r3, [r7, #4] - 8019e0e: 681a ldr r2, [r3, #0] - 8019e10: 68fb ldr r3, [r7, #12] - 8019e12: 3304 adds r3, #4 - 8019e14: 681b ldr r3, [r3, #0] - 8019e16: 405a eors r2, r3 - 8019e18: 68fb ldr r3, [r7, #12] - 8019e1a: 3308 adds r3, #8 - 8019e1c: 681b ldr r3, [r3, #0] - 8019e1e: 4013 ands r3, r2 - 8019e20: 2b00 cmp r3, #0 - 8019e22: d101 bne.n 8019e28 + 801999c: 687b ldr r3, [r7, #4] + 801999e: 681a ldr r2, [r3, #0] + 80199a0: 68fb ldr r3, [r7, #12] + 80199a2: 3304 adds r3, #4 + 80199a4: 681b ldr r3, [r3, #0] + 80199a6: 405a eors r2, r3 + 80199a8: 68fb ldr r3, [r7, #12] + 80199aa: 3308 adds r3, #8 + 80199ac: 681b ldr r3, [r3, #0] + 80199ae: 4013 ands r3, r2 + 80199b0: 2b00 cmp r3, #0 + 80199b2: d101 bne.n 80199b8 /* return netif on which to forward IP packet */ return netif; - 8019e24: 68fb ldr r3, [r7, #12] - 8019e26: e038 b.n 8019e9a + 80199b4: 68fb ldr r3, [r7, #12] + 80199b6: e038 b.n 8019a2a } /* gateway matches on a non broadcast interface? (i.e. peer in a point to point interface) */ if (((netif->flags & NETIF_FLAG_BROADCAST) == 0) && ip4_addr_cmp(dest, netif_ip4_gw(netif))) { - 8019e28: 68fb ldr r3, [r7, #12] - 8019e2a: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8019e2e: f003 0302 and.w r3, r3, #2 - 8019e32: 2b00 cmp r3, #0 - 8019e34: d108 bne.n 8019e48 - 8019e36: 687b ldr r3, [r7, #4] - 8019e38: 681a ldr r2, [r3, #0] - 8019e3a: 68fb ldr r3, [r7, #12] - 8019e3c: 330c adds r3, #12 - 8019e3e: 681b ldr r3, [r3, #0] - 8019e40: 429a cmp r2, r3 - 8019e42: d101 bne.n 8019e48 + 80199b8: 68fb ldr r3, [r7, #12] + 80199ba: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 80199be: f003 0302 and.w r3, r3, #2 + 80199c2: 2b00 cmp r3, #0 + 80199c4: d108 bne.n 80199d8 + 80199c6: 687b ldr r3, [r7, #4] + 80199c8: 681a ldr r2, [r3, #0] + 80199ca: 68fb ldr r3, [r7, #12] + 80199cc: 330c adds r3, #12 + 80199ce: 681b ldr r3, [r3, #0] + 80199d0: 429a cmp r2, r3 + 80199d2: d101 bne.n 80199d8 /* return netif on which to forward IP packet */ return netif; - 8019e44: 68fb ldr r3, [r7, #12] - 8019e46: e028 b.n 8019e9a + 80199d4: 68fb ldr r3, [r7, #12] + 80199d6: e028 b.n 8019a2a NETIF_FOREACH(netif) { - 8019e48: 68fb ldr r3, [r7, #12] - 8019e4a: 681b ldr r3, [r3, #0] - 8019e4c: 60fb str r3, [r7, #12] - 8019e4e: 68fb ldr r3, [r7, #12] - 8019e50: 2b00 cmp r3, #0 - 8019e52: d1c5 bne.n 8019de0 + 80199d8: 68fb ldr r3, [r7, #12] + 80199da: 681b ldr r3, [r3, #0] + 80199dc: 60fb str r3, [r7, #12] + 80199de: 68fb ldr r3, [r7, #12] + 80199e0: 2b00 cmp r3, #0 + 80199e2: d1c5 bne.n 8019970 return netif; } #endif #endif /* !LWIP_SINGLE_NETIF */ if ((netif_default == NULL) || !netif_is_up(netif_default) || !netif_is_link_up(netif_default) || - 8019e54: 4b15 ldr r3, [pc, #84] ; (8019eac ) - 8019e56: 681b ldr r3, [r3, #0] - 8019e58: 2b00 cmp r3, #0 - 8019e5a: d01a beq.n 8019e92 - 8019e5c: 4b13 ldr r3, [pc, #76] ; (8019eac ) - 8019e5e: 681b ldr r3, [r3, #0] - 8019e60: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8019e64: f003 0301 and.w r3, r3, #1 - 8019e68: 2b00 cmp r3, #0 - 8019e6a: d012 beq.n 8019e92 - 8019e6c: 4b0f ldr r3, [pc, #60] ; (8019eac ) - 8019e6e: 681b ldr r3, [r3, #0] - 8019e70: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8019e74: f003 0304 and.w r3, r3, #4 - 8019e78: 2b00 cmp r3, #0 - 8019e7a: d00a beq.n 8019e92 + 80199e4: 4b15 ldr r3, [pc, #84] ; (8019a3c ) + 80199e6: 681b ldr r3, [r3, #0] + 80199e8: 2b00 cmp r3, #0 + 80199ea: d01a beq.n 8019a22 + 80199ec: 4b13 ldr r3, [pc, #76] ; (8019a3c ) + 80199ee: 681b ldr r3, [r3, #0] + 80199f0: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 80199f4: f003 0301 and.w r3, r3, #1 + 80199f8: 2b00 cmp r3, #0 + 80199fa: d012 beq.n 8019a22 + 80199fc: 4b0f ldr r3, [pc, #60] ; (8019a3c ) + 80199fe: 681b ldr r3, [r3, #0] + 8019a00: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 8019a04: f003 0304 and.w r3, r3, #4 + 8019a08: 2b00 cmp r3, #0 + 8019a0a: d00a beq.n 8019a22 ip4_addr_isany_val(*netif_ip4_addr(netif_default)) || ip4_addr_isloopback(dest)) { - 8019e7c: 4b0b ldr r3, [pc, #44] ; (8019eac ) - 8019e7e: 681b ldr r3, [r3, #0] - 8019e80: 3304 adds r3, #4 - 8019e82: 681b ldr r3, [r3, #0] + 8019a0c: 4b0b ldr r3, [pc, #44] ; (8019a3c ) + 8019a0e: 681b ldr r3, [r3, #0] + 8019a10: 3304 adds r3, #4 + 8019a12: 681b ldr r3, [r3, #0] if ((netif_default == NULL) || !netif_is_up(netif_default) || !netif_is_link_up(netif_default) || - 8019e84: 2b00 cmp r3, #0 - 8019e86: d004 beq.n 8019e92 + 8019a14: 2b00 cmp r3, #0 + 8019a16: d004 beq.n 8019a22 ip4_addr_isany_val(*netif_ip4_addr(netif_default)) || ip4_addr_isloopback(dest)) { - 8019e88: 687b ldr r3, [r7, #4] - 8019e8a: 681b ldr r3, [r3, #0] - 8019e8c: b2db uxtb r3, r3 - 8019e8e: 2b7f cmp r3, #127 ; 0x7f - 8019e90: d101 bne.n 8019e96 + 8019a18: 687b ldr r3, [r7, #4] + 8019a1a: 681b ldr r3, [r3, #0] + 8019a1c: b2db uxtb r3, r3 + 8019a1e: 2b7f cmp r3, #127 ; 0x7f + 8019a20: d101 bne.n 8019a26 If this is not good enough for you, use LWIP_HOOK_IP4_ROUTE() */ LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("ip4_route: No route to %"U16_F".%"U16_F".%"U16_F".%"U16_F"\n", ip4_addr1_16(dest), ip4_addr2_16(dest), ip4_addr3_16(dest), ip4_addr4_16(dest))); IP_STATS_INC(ip.rterr); MIB2_STATS_INC(mib2.ipoutnoroutes); return NULL; - 8019e92: 2300 movs r3, #0 - 8019e94: e001 b.n 8019e9a + 8019a22: 2300 movs r3, #0 + 8019a24: e001 b.n 8019a2a } return netif_default; - 8019e96: 4b05 ldr r3, [pc, #20] ; (8019eac ) - 8019e98: 681b ldr r3, [r3, #0] + 8019a26: 4b05 ldr r3, [pc, #20] ; (8019a3c ) + 8019a28: 681b ldr r3, [r3, #0] } - 8019e9a: 4618 mov r0, r3 - 8019e9c: 3714 adds r7, #20 - 8019e9e: 46bd mov sp, r7 - 8019ea0: f85d 7b04 ldr.w r7, [sp], #4 - 8019ea4: 4770 bx lr - 8019ea6: bf00 nop - 8019ea8: 2000f5b4 .word 0x2000f5b4 - 8019eac: 2000f5b8 .word 0x2000f5b8 + 8019a2a: 4618 mov r0, r3 + 8019a2c: 3714 adds r7, #20 + 8019a2e: 46bd mov sp, r7 + 8019a30: f85d 7b04 ldr.w r7, [sp], #4 + 8019a34: 4770 bx lr + 8019a36: bf00 nop + 8019a38: 2000f5b0 .word 0x2000f5b0 + 8019a3c: 2000f5b4 .word 0x2000f5b4 -08019eb0 : +08019a40 : #endif /* IP_FORWARD */ /** Return true if the current input packet should be accepted on this netif */ static int ip4_input_accept(struct netif *netif) { - 8019eb0: b580 push {r7, lr} - 8019eb2: b082 sub sp, #8 - 8019eb4: af00 add r7, sp, #0 - 8019eb6: 6078 str r0, [r7, #4] + 8019a40: b580 push {r7, lr} + 8019a42: b082 sub sp, #8 + 8019a44: af00 add r7, sp, #0 + 8019a46: 6078 str r0, [r7, #4] ip4_addr_get_u32(ip4_current_dest_addr()) & ip4_addr_get_u32(netif_ip4_netmask(netif)), ip4_addr_get_u32(netif_ip4_addr(netif)) & ip4_addr_get_u32(netif_ip4_netmask(netif)), ip4_addr_get_u32(ip4_current_dest_addr()) & ~ip4_addr_get_u32(netif_ip4_netmask(netif)))); /* interface is up and configured? */ if ((netif_is_up(netif)) && (!ip4_addr_isany_val(*netif_ip4_addr(netif)))) { - 8019eb8: 687b ldr r3, [r7, #4] - 8019eba: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8019ebe: f003 0301 and.w r3, r3, #1 - 8019ec2: b2db uxtb r3, r3 - 8019ec4: 2b00 cmp r3, #0 - 8019ec6: d016 beq.n 8019ef6 - 8019ec8: 687b ldr r3, [r7, #4] - 8019eca: 3304 adds r3, #4 - 8019ecc: 681b ldr r3, [r3, #0] - 8019ece: 2b00 cmp r3, #0 - 8019ed0: d011 beq.n 8019ef6 + 8019a48: 687b ldr r3, [r7, #4] + 8019a4a: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 8019a4e: f003 0301 and.w r3, r3, #1 + 8019a52: b2db uxtb r3, r3 + 8019a54: 2b00 cmp r3, #0 + 8019a56: d016 beq.n 8019a86 + 8019a58: 687b ldr r3, [r7, #4] + 8019a5a: 3304 adds r3, #4 + 8019a5c: 681b ldr r3, [r3, #0] + 8019a5e: 2b00 cmp r3, #0 + 8019a60: d011 beq.n 8019a86 /* unicast to this interface address? */ if (ip4_addr_cmp(ip4_current_dest_addr(), netif_ip4_addr(netif)) || - 8019ed2: 4b0b ldr r3, [pc, #44] ; (8019f00 ) - 8019ed4: 695a ldr r2, [r3, #20] - 8019ed6: 687b ldr r3, [r7, #4] - 8019ed8: 3304 adds r3, #4 - 8019eda: 681b ldr r3, [r3, #0] - 8019edc: 429a cmp r2, r3 - 8019ede: d008 beq.n 8019ef2 + 8019a62: 4b0b ldr r3, [pc, #44] ; (8019a90 ) + 8019a64: 695a ldr r2, [r3, #20] + 8019a66: 687b ldr r3, [r7, #4] + 8019a68: 3304 adds r3, #4 + 8019a6a: 681b ldr r3, [r3, #0] + 8019a6c: 429a cmp r2, r3 + 8019a6e: d008 beq.n 8019a82 /* or broadcast on this interface network address? */ ip4_addr_isbroadcast(ip4_current_dest_addr(), netif) - 8019ee0: 4b07 ldr r3, [pc, #28] ; (8019f00 ) - 8019ee2: 695b ldr r3, [r3, #20] - 8019ee4: 6879 ldr r1, [r7, #4] - 8019ee6: 4618 mov r0, r3 - 8019ee8: f000 fa24 bl 801a334 - 8019eec: 4603 mov r3, r0 + 8019a70: 4b07 ldr r3, [pc, #28] ; (8019a90 ) + 8019a72: 695b ldr r3, [r3, #20] + 8019a74: 6879 ldr r1, [r7, #4] + 8019a76: 4618 mov r0, r3 + 8019a78: f000 fa24 bl 8019ec4 + 8019a7c: 4603 mov r3, r0 if (ip4_addr_cmp(ip4_current_dest_addr(), netif_ip4_addr(netif)) || - 8019eee: 2b00 cmp r3, #0 - 8019ef0: d001 beq.n 8019ef6 + 8019a7e: 2b00 cmp r3, #0 + 8019a80: d001 beq.n 8019a86 #endif /* LWIP_NETIF_LOOPBACK && !LWIP_HAVE_LOOPIF */ ) { LWIP_DEBUGF(IP_DEBUG, ("ip4_input: packet accepted on interface %c%c\n", netif->name[0], netif->name[1])); /* accept on this netif */ return 1; - 8019ef2: 2301 movs r3, #1 - 8019ef4: e000 b.n 8019ef8 + 8019a82: 2301 movs r3, #1 + 8019a84: e000 b.n 8019a88 /* accept on this netif */ return 1; } #endif /* LWIP_AUTOIP */ } return 0; - 8019ef6: 2300 movs r3, #0 + 8019a86: 2300 movs r3, #0 } - 8019ef8: 4618 mov r0, r3 - 8019efa: 3708 adds r7, #8 - 8019efc: 46bd mov sp, r7 - 8019efe: bd80 pop {r7, pc} - 8019f00: 2000be90 .word 0x2000be90 + 8019a88: 4618 mov r0, r3 + 8019a8a: 3708 adds r7, #8 + 8019a8c: 46bd mov sp, r7 + 8019a8e: bd80 pop {r7, pc} + 8019a90: 2000be8c .word 0x2000be8c -08019f04 : +08019a94 : * @return ERR_OK if the packet was processed (could return ERR_* if it wasn't * processed, but currently always returns ERR_OK) */ err_t ip4_input(struct pbuf *p, struct netif *inp) { - 8019f04: b580 push {r7, lr} - 8019f06: b088 sub sp, #32 - 8019f08: af00 add r7, sp, #0 - 8019f0a: 6078 str r0, [r7, #4] - 8019f0c: 6039 str r1, [r7, #0] + 8019a94: b580 push {r7, lr} + 8019a96: b088 sub sp, #32 + 8019a98: af00 add r7, sp, #0 + 8019a9a: 6078 str r0, [r7, #4] + 8019a9c: 6039 str r1, [r7, #0] const struct ip_hdr *iphdr; struct netif *netif; u16_t iphdr_hlen; u16_t iphdr_len; #if IP_ACCEPT_LINK_LAYER_ADDRESSING || LWIP_IGMP int check_ip_src = 1; - 8019f0e: 2301 movs r3, #1 - 8019f10: 617b str r3, [r7, #20] + 8019a9e: 2301 movs r3, #1 + 8019aa0: 617b str r3, [r7, #20] IP_STATS_INC(ip.recv); MIB2_STATS_INC(mib2.ipinreceives); /* identify the IP header */ iphdr = (struct ip_hdr *)p->payload; - 8019f12: 687b ldr r3, [r7, #4] - 8019f14: 685b ldr r3, [r3, #4] - 8019f16: 61fb str r3, [r7, #28] + 8019aa2: 687b ldr r3, [r7, #4] + 8019aa4: 685b ldr r3, [r3, #4] + 8019aa6: 61fb str r3, [r7, #28] if (IPH_V(iphdr) != 4) { - 8019f18: 69fb ldr r3, [r7, #28] - 8019f1a: 781b ldrb r3, [r3, #0] - 8019f1c: 091b lsrs r3, r3, #4 - 8019f1e: b2db uxtb r3, r3 - 8019f20: 2b04 cmp r3, #4 - 8019f22: d004 beq.n 8019f2e + 8019aa8: 69fb ldr r3, [r7, #28] + 8019aaa: 781b ldrb r3, [r3, #0] + 8019aac: 091b lsrs r3, r3, #4 + 8019aae: b2db uxtb r3, r3 + 8019ab0: 2b04 cmp r3, #4 + 8019ab2: d004 beq.n 8019abe LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_LEVEL_WARNING, ("IP packet dropped due to bad version number %"U16_F"\n", (u16_t)IPH_V(iphdr))); ip4_debug_print(p); pbuf_free(p); - 8019f24: 6878 ldr r0, [r7, #4] - 8019f26: f7f6 fd97 bl 8010a58 + 8019ab4: 6878 ldr r0, [r7, #4] + 8019ab6: f7f6 fd97 bl 80105e8 IP_STATS_INC(ip.err); IP_STATS_INC(ip.drop); MIB2_STATS_INC(mib2.ipinhdrerrors); return ERR_OK; - 8019f2a: 2300 movs r3, #0 - 8019f2c: e121 b.n 801a172 + 8019aba: 2300 movs r3, #0 + 8019abc: e121 b.n 8019d02 return ERR_OK; } #endif /* obtain IP header length in bytes */ iphdr_hlen = IPH_HL_BYTES(iphdr); - 8019f2e: 69fb ldr r3, [r7, #28] - 8019f30: 781b ldrb r3, [r3, #0] - 8019f32: f003 030f and.w r3, r3, #15 - 8019f36: b2db uxtb r3, r3 - 8019f38: 009b lsls r3, r3, #2 - 8019f3a: b2db uxtb r3, r3 - 8019f3c: 827b strh r3, [r7, #18] + 8019abe: 69fb ldr r3, [r7, #28] + 8019ac0: 781b ldrb r3, [r3, #0] + 8019ac2: f003 030f and.w r3, r3, #15 + 8019ac6: b2db uxtb r3, r3 + 8019ac8: 009b lsls r3, r3, #2 + 8019aca: b2db uxtb r3, r3 + 8019acc: 827b strh r3, [r7, #18] /* obtain ip length in bytes */ iphdr_len = lwip_ntohs(IPH_LEN(iphdr)); - 8019f3e: 69fb ldr r3, [r7, #28] - 8019f40: 885b ldrh r3, [r3, #2] - 8019f42: b29b uxth r3, r3 - 8019f44: 4618 mov r0, r3 - 8019f46: f7f5 f9d3 bl 800f2f0 - 8019f4a: 4603 mov r3, r0 - 8019f4c: 823b strh r3, [r7, #16] + 8019ace: 69fb ldr r3, [r7, #28] + 8019ad0: 885b ldrh r3, [r3, #2] + 8019ad2: b29b uxth r3, r3 + 8019ad4: 4618 mov r0, r3 + 8019ad6: f7f5 f9d3 bl 800ee80 + 8019ada: 4603 mov r3, r0 + 8019adc: 823b strh r3, [r7, #16] /* Trim pbuf. This is especially required for packets < 60 bytes. */ if (iphdr_len < p->tot_len) { - 8019f4e: 687b ldr r3, [r7, #4] - 8019f50: 891b ldrh r3, [r3, #8] - 8019f52: 8a3a ldrh r2, [r7, #16] - 8019f54: 429a cmp r2, r3 - 8019f56: d204 bcs.n 8019f62 + 8019ade: 687b ldr r3, [r7, #4] + 8019ae0: 891b ldrh r3, [r3, #8] + 8019ae2: 8a3a ldrh r2, [r7, #16] + 8019ae4: 429a cmp r2, r3 + 8019ae6: d204 bcs.n 8019af2 pbuf_realloc(p, iphdr_len); - 8019f58: 8a3b ldrh r3, [r7, #16] - 8019f5a: 4619 mov r1, r3 - 8019f5c: 6878 ldr r0, [r7, #4] - 8019f5e: f7f6 fbf5 bl 801074c + 8019ae8: 8a3b ldrh r3, [r7, #16] + 8019aea: 4619 mov r1, r3 + 8019aec: 6878 ldr r0, [r7, #4] + 8019aee: f7f6 fbf5 bl 80102dc } /* header length exceeds first pbuf length, or ip length exceeds total pbuf length? */ if ((iphdr_hlen > p->len) || (iphdr_len > p->tot_len) || (iphdr_hlen < IP_HLEN)) { - 8019f62: 687b ldr r3, [r7, #4] - 8019f64: 895b ldrh r3, [r3, #10] - 8019f66: 8a7a ldrh r2, [r7, #18] - 8019f68: 429a cmp r2, r3 - 8019f6a: d807 bhi.n 8019f7c - 8019f6c: 687b ldr r3, [r7, #4] - 8019f6e: 891b ldrh r3, [r3, #8] - 8019f70: 8a3a ldrh r2, [r7, #16] - 8019f72: 429a cmp r2, r3 - 8019f74: d802 bhi.n 8019f7c - 8019f76: 8a7b ldrh r3, [r7, #18] - 8019f78: 2b13 cmp r3, #19 - 8019f7a: d804 bhi.n 8019f86 + 8019af2: 687b ldr r3, [r7, #4] + 8019af4: 895b ldrh r3, [r3, #10] + 8019af6: 8a7a ldrh r2, [r7, #18] + 8019af8: 429a cmp r2, r3 + 8019afa: d807 bhi.n 8019b0c + 8019afc: 687b ldr r3, [r7, #4] + 8019afe: 891b ldrh r3, [r3, #8] + 8019b00: 8a3a ldrh r2, [r7, #16] + 8019b02: 429a cmp r2, r3 + 8019b04: d802 bhi.n 8019b0c + 8019b06: 8a7b ldrh r3, [r7, #18] + 8019b08: 2b13 cmp r3, #19 + 8019b0a: d804 bhi.n 8019b16 LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("IP (len %"U16_F") is longer than pbuf (len %"U16_F"), IP packet dropped.\n", iphdr_len, p->tot_len)); } /* free (drop) packet pbufs */ pbuf_free(p); - 8019f7c: 6878 ldr r0, [r7, #4] - 8019f7e: f7f6 fd6b bl 8010a58 + 8019b0c: 6878 ldr r0, [r7, #4] + 8019b0e: f7f6 fd6b bl 80105e8 IP_STATS_INC(ip.lenerr); IP_STATS_INC(ip.drop); MIB2_STATS_INC(mib2.ipindiscards); return ERR_OK; - 8019f82: 2300 movs r3, #0 - 8019f84: e0f5 b.n 801a172 + 8019b12: 2300 movs r3, #0 + 8019b14: e0f5 b.n 8019d02 } } #endif /* copy IP addresses to aligned ip_addr_t */ ip_addr_copy_from_ip4(ip_data.current_iphdr_dest, iphdr->dest); - 8019f86: 69fb ldr r3, [r7, #28] - 8019f88: 691b ldr r3, [r3, #16] - 8019f8a: 4a7c ldr r2, [pc, #496] ; (801a17c ) - 8019f8c: 6153 str r3, [r2, #20] + 8019b16: 69fb ldr r3, [r7, #28] + 8019b18: 691b ldr r3, [r3, #16] + 8019b1a: 4a7c ldr r2, [pc, #496] ; (8019d0c ) + 8019b1c: 6153 str r3, [r2, #20] ip_addr_copy_from_ip4(ip_data.current_iphdr_src, iphdr->src); - 8019f8e: 69fb ldr r3, [r7, #28] - 8019f90: 68db ldr r3, [r3, #12] - 8019f92: 4a7a ldr r2, [pc, #488] ; (801a17c ) - 8019f94: 6113 str r3, [r2, #16] + 8019b1e: 69fb ldr r3, [r7, #28] + 8019b20: 68db ldr r3, [r3, #12] + 8019b22: 4a7a ldr r2, [pc, #488] ; (8019d0c ) + 8019b24: 6113 str r3, [r2, #16] /* match packet against an interface, i.e. is this packet for us? */ if (ip4_addr_ismulticast(ip4_current_dest_addr())) { - 8019f96: 4b79 ldr r3, [pc, #484] ; (801a17c ) - 8019f98: 695b ldr r3, [r3, #20] - 8019f9a: f003 03f0 and.w r3, r3, #240 ; 0xf0 - 8019f9e: 2be0 cmp r3, #224 ; 0xe0 - 8019fa0: d112 bne.n 8019fc8 + 8019b26: 4b79 ldr r3, [pc, #484] ; (8019d0c ) + 8019b28: 695b ldr r3, [r3, #20] + 8019b2a: f003 03f0 and.w r3, r3, #240 ; 0xf0 + 8019b2e: 2be0 cmp r3, #224 ; 0xe0 + 8019b30: d112 bne.n 8019b58 netif = inp; } else { netif = NULL; } #else /* LWIP_IGMP */ if ((netif_is_up(inp)) && (!ip4_addr_isany_val(*netif_ip4_addr(inp)))) { - 8019fa2: 683b ldr r3, [r7, #0] - 8019fa4: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 8019fa8: f003 0301 and.w r3, r3, #1 - 8019fac: b2db uxtb r3, r3 - 8019fae: 2b00 cmp r3, #0 - 8019fb0: d007 beq.n 8019fc2 - 8019fb2: 683b ldr r3, [r7, #0] - 8019fb4: 3304 adds r3, #4 - 8019fb6: 681b ldr r3, [r3, #0] - 8019fb8: 2b00 cmp r3, #0 - 8019fba: d002 beq.n 8019fc2 + 8019b32: 683b ldr r3, [r7, #0] + 8019b34: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 8019b38: f003 0301 and.w r3, r3, #1 + 8019b3c: b2db uxtb r3, r3 + 8019b3e: 2b00 cmp r3, #0 + 8019b40: d007 beq.n 8019b52 + 8019b42: 683b ldr r3, [r7, #0] + 8019b44: 3304 adds r3, #4 + 8019b46: 681b ldr r3, [r3, #0] + 8019b48: 2b00 cmp r3, #0 + 8019b4a: d002 beq.n 8019b52 netif = inp; - 8019fbc: 683b ldr r3, [r7, #0] - 8019fbe: 61bb str r3, [r7, #24] - 8019fc0: e02a b.n 801a018 + 8019b4c: 683b ldr r3, [r7, #0] + 8019b4e: 61bb str r3, [r7, #24] + 8019b50: e02a b.n 8019ba8 } else { netif = NULL; - 8019fc2: 2300 movs r3, #0 - 8019fc4: 61bb str r3, [r7, #24] - 8019fc6: e027 b.n 801a018 + 8019b52: 2300 movs r3, #0 + 8019b54: 61bb str r3, [r7, #24] + 8019b56: e027 b.n 8019ba8 } #endif /* LWIP_IGMP */ } else { /* start trying with inp. if that's not acceptable, start walking the list of configured netifs. */ if (ip4_input_accept(inp)) { - 8019fc8: 6838 ldr r0, [r7, #0] - 8019fca: f7ff ff71 bl 8019eb0 - 8019fce: 4603 mov r3, r0 - 8019fd0: 2b00 cmp r3, #0 - 8019fd2: d002 beq.n 8019fda + 8019b58: 6838 ldr r0, [r7, #0] + 8019b5a: f7ff ff71 bl 8019a40 + 8019b5e: 4603 mov r3, r0 + 8019b60: 2b00 cmp r3, #0 + 8019b62: d002 beq.n 8019b6a netif = inp; - 8019fd4: 683b ldr r3, [r7, #0] - 8019fd6: 61bb str r3, [r7, #24] - 8019fd8: e01e b.n 801a018 + 8019b64: 683b ldr r3, [r7, #0] + 8019b66: 61bb str r3, [r7, #24] + 8019b68: e01e b.n 8019ba8 } else { netif = NULL; - 8019fda: 2300 movs r3, #0 - 8019fdc: 61bb str r3, [r7, #24] + 8019b6a: 2300 movs r3, #0 + 8019b6c: 61bb str r3, [r7, #24] #if !LWIP_NETIF_LOOPBACK || LWIP_HAVE_LOOPIF /* Packets sent to the loopback address must not be accepted on an * interface that does not have the loopback address assigned to it, * unless a non-loopback interface is used for loopback traffic. */ if (!ip4_addr_isloopback(ip4_current_dest_addr())) - 8019fde: 4b67 ldr r3, [pc, #412] ; (801a17c ) - 8019fe0: 695b ldr r3, [r3, #20] - 8019fe2: b2db uxtb r3, r3 - 8019fe4: 2b7f cmp r3, #127 ; 0x7f - 8019fe6: d017 beq.n 801a018 + 8019b6e: 4b67 ldr r3, [pc, #412] ; (8019d0c ) + 8019b70: 695b ldr r3, [r3, #20] + 8019b72: b2db uxtb r3, r3 + 8019b74: 2b7f cmp r3, #127 ; 0x7f + 8019b76: d017 beq.n 8019ba8 #endif /* !LWIP_NETIF_LOOPBACK || LWIP_HAVE_LOOPIF */ { #if !LWIP_SINGLE_NETIF NETIF_FOREACH(netif) { - 8019fe8: 4b65 ldr r3, [pc, #404] ; (801a180 ) - 8019fea: 681b ldr r3, [r3, #0] - 8019fec: 61bb str r3, [r7, #24] - 8019fee: e00e b.n 801a00e + 8019b78: 4b65 ldr r3, [pc, #404] ; (8019d10 ) + 8019b7a: 681b ldr r3, [r3, #0] + 8019b7c: 61bb str r3, [r7, #24] + 8019b7e: e00e b.n 8019b9e if (netif == inp) { - 8019ff0: 69ba ldr r2, [r7, #24] - 8019ff2: 683b ldr r3, [r7, #0] - 8019ff4: 429a cmp r2, r3 - 8019ff6: d006 beq.n 801a006 + 8019b80: 69ba ldr r2, [r7, #24] + 8019b82: 683b ldr r3, [r7, #0] + 8019b84: 429a cmp r2, r3 + 8019b86: d006 beq.n 8019b96 /* we checked that before already */ continue; } if (ip4_input_accept(netif)) { - 8019ff8: 69b8 ldr r0, [r7, #24] - 8019ffa: f7ff ff59 bl 8019eb0 - 8019ffe: 4603 mov r3, r0 - 801a000: 2b00 cmp r3, #0 - 801a002: d108 bne.n 801a016 - 801a004: e000 b.n 801a008 + 8019b88: 69b8 ldr r0, [r7, #24] + 8019b8a: f7ff ff59 bl 8019a40 + 8019b8e: 4603 mov r3, r0 + 8019b90: 2b00 cmp r3, #0 + 8019b92: d108 bne.n 8019ba6 + 8019b94: e000 b.n 8019b98 continue; - 801a006: bf00 nop + 8019b96: bf00 nop NETIF_FOREACH(netif) { - 801a008: 69bb ldr r3, [r7, #24] - 801a00a: 681b ldr r3, [r3, #0] - 801a00c: 61bb str r3, [r7, #24] - 801a00e: 69bb ldr r3, [r7, #24] - 801a010: 2b00 cmp r3, #0 - 801a012: d1ed bne.n 8019ff0 - 801a014: e000 b.n 801a018 + 8019b98: 69bb ldr r3, [r7, #24] + 8019b9a: 681b ldr r3, [r3, #0] + 8019b9c: 61bb str r3, [r7, #24] + 8019b9e: 69bb ldr r3, [r7, #24] + 8019ba0: 2b00 cmp r3, #0 + 8019ba2: d1ed bne.n 8019b80 + 8019ba4: e000 b.n 8019ba8 break; - 801a016: bf00 nop + 8019ba6: bf00 nop * If you want to accept private broadcast communication while a netif is down, * define LWIP_IP_ACCEPT_UDP_PORT(dst_port), e.g.: * * #define LWIP_IP_ACCEPT_UDP_PORT(dst_port) ((dst_port) == PP_NTOHS(12345)) */ if (netif == NULL) { - 801a018: 69bb ldr r3, [r7, #24] - 801a01a: 2b00 cmp r3, #0 - 801a01c: d111 bne.n 801a042 + 8019ba8: 69bb ldr r3, [r7, #24] + 8019baa: 2b00 cmp r3, #0 + 8019bac: d111 bne.n 8019bd2 /* remote port is DHCP server? */ if (IPH_PROTO(iphdr) == IP_PROTO_UDP) { - 801a01e: 69fb ldr r3, [r7, #28] - 801a020: 7a5b ldrb r3, [r3, #9] - 801a022: 2b11 cmp r3, #17 - 801a024: d10d bne.n 801a042 + 8019bae: 69fb ldr r3, [r7, #28] + 8019bb0: 7a5b ldrb r3, [r3, #9] + 8019bb2: 2b11 cmp r3, #17 + 8019bb4: d10d bne.n 8019bd2 const struct udp_hdr *udphdr = (const struct udp_hdr *)((const u8_t *)iphdr + iphdr_hlen); - 801a026: 8a7b ldrh r3, [r7, #18] - 801a028: 69fa ldr r2, [r7, #28] - 801a02a: 4413 add r3, r2 - 801a02c: 60fb str r3, [r7, #12] + 8019bb6: 8a7b ldrh r3, [r7, #18] + 8019bb8: 69fa ldr r2, [r7, #28] + 8019bba: 4413 add r3, r2 + 8019bbc: 60fb str r3, [r7, #12] LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_TRACE, ("ip4_input: UDP packet to DHCP client port %"U16_F"\n", lwip_ntohs(udphdr->dest))); if (IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(udphdr->dest)) { - 801a02e: 68fb ldr r3, [r7, #12] - 801a030: 885b ldrh r3, [r3, #2] - 801a032: b29b uxth r3, r3 - 801a034: f5b3 4f88 cmp.w r3, #17408 ; 0x4400 - 801a038: d103 bne.n 801a042 + 8019bbe: 68fb ldr r3, [r7, #12] + 8019bc0: 885b ldrh r3, [r3, #2] + 8019bc2: b29b uxth r3, r3 + 8019bc4: f5b3 4f88 cmp.w r3, #17408 ; 0x4400 + 8019bc8: d103 bne.n 8019bd2 LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_TRACE, ("ip4_input: DHCP packet accepted.\n")); netif = inp; - 801a03a: 683b ldr r3, [r7, #0] - 801a03c: 61bb str r3, [r7, #24] + 8019bca: 683b ldr r3, [r7, #0] + 8019bcc: 61bb str r3, [r7, #24] check_ip_src = 0; - 801a03e: 2300 movs r3, #0 - 801a040: 617b str r3, [r7, #20] + 8019bce: 2300 movs r3, #0 + 8019bd0: 617b str r3, [r7, #20] } #endif /* IP_ACCEPT_LINK_LAYER_ADDRESSING */ /* broadcast or multicast packet source address? Compliant with RFC 1122: 3.2.1.3 */ #if LWIP_IGMP || IP_ACCEPT_LINK_LAYER_ADDRESSING if (check_ip_src - 801a042: 697b ldr r3, [r7, #20] - 801a044: 2b00 cmp r3, #0 - 801a046: d017 beq.n 801a078 + 8019bd2: 697b ldr r3, [r7, #20] + 8019bd4: 2b00 cmp r3, #0 + 8019bd6: d017 beq.n 8019c08 #if IP_ACCEPT_LINK_LAYER_ADDRESSING /* DHCP servers need 0.0.0.0 to be allowed as source address (RFC 1.1.2.2: 3.2.1.3/a) */ && !ip4_addr_isany_val(*ip4_current_src_addr()) - 801a048: 4b4c ldr r3, [pc, #304] ; (801a17c ) - 801a04a: 691b ldr r3, [r3, #16] - 801a04c: 2b00 cmp r3, #0 - 801a04e: d013 beq.n 801a078 + 8019bd8: 4b4c ldr r3, [pc, #304] ; (8019d0c ) + 8019bda: 691b ldr r3, [r3, #16] + 8019bdc: 2b00 cmp r3, #0 + 8019bde: d013 beq.n 8019c08 #endif /* IP_ACCEPT_LINK_LAYER_ADDRESSING */ ) #endif /* LWIP_IGMP || IP_ACCEPT_LINK_LAYER_ADDRESSING */ { if ((ip4_addr_isbroadcast(ip4_current_src_addr(), inp)) || - 801a050: 4b4a ldr r3, [pc, #296] ; (801a17c ) - 801a052: 691b ldr r3, [r3, #16] - 801a054: 6839 ldr r1, [r7, #0] - 801a056: 4618 mov r0, r3 - 801a058: f000 f96c bl 801a334 - 801a05c: 4603 mov r3, r0 - 801a05e: 2b00 cmp r3, #0 - 801a060: d105 bne.n 801a06e + 8019be0: 4b4a ldr r3, [pc, #296] ; (8019d0c ) + 8019be2: 691b ldr r3, [r3, #16] + 8019be4: 6839 ldr r1, [r7, #0] + 8019be6: 4618 mov r0, r3 + 8019be8: f000 f96c bl 8019ec4 + 8019bec: 4603 mov r3, r0 + 8019bee: 2b00 cmp r3, #0 + 8019bf0: d105 bne.n 8019bfe (ip4_addr_ismulticast(ip4_current_src_addr()))) { - 801a062: 4b46 ldr r3, [pc, #280] ; (801a17c ) - 801a064: 691b ldr r3, [r3, #16] - 801a066: f003 03f0 and.w r3, r3, #240 ; 0xf0 + 8019bf2: 4b46 ldr r3, [pc, #280] ; (8019d0c ) + 8019bf4: 691b ldr r3, [r3, #16] + 8019bf6: f003 03f0 and.w r3, r3, #240 ; 0xf0 if ((ip4_addr_isbroadcast(ip4_current_src_addr(), inp)) || - 801a06a: 2be0 cmp r3, #224 ; 0xe0 - 801a06c: d104 bne.n 801a078 + 8019bfa: 2be0 cmp r3, #224 ; 0xe0 + 8019bfc: d104 bne.n 8019c08 /* packet source is not valid */ LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("ip4_input: packet source is not valid.\n")); /* free (drop) packet pbufs */ pbuf_free(p); - 801a06e: 6878 ldr r0, [r7, #4] - 801a070: f7f6 fcf2 bl 8010a58 + 8019bfe: 6878 ldr r0, [r7, #4] + 8019c00: f7f6 fcf2 bl 80105e8 IP_STATS_INC(ip.drop); MIB2_STATS_INC(mib2.ipinaddrerrors); MIB2_STATS_INC(mib2.ipindiscards); return ERR_OK; - 801a074: 2300 movs r3, #0 - 801a076: e07c b.n 801a172 + 8019c04: 2300 movs r3, #0 + 8019c06: e07c b.n 8019d02 } } /* packet not for us? */ if (netif == NULL) { - 801a078: 69bb ldr r3, [r7, #24] - 801a07a: 2b00 cmp r3, #0 - 801a07c: d104 bne.n 801a088 + 8019c08: 69bb ldr r3, [r7, #24] + 8019c0a: 2b00 cmp r3, #0 + 8019c0c: d104 bne.n 8019c18 { IP_STATS_INC(ip.drop); MIB2_STATS_INC(mib2.ipinaddrerrors); MIB2_STATS_INC(mib2.ipindiscards); } pbuf_free(p); - 801a07e: 6878 ldr r0, [r7, #4] - 801a080: f7f6 fcea bl 8010a58 + 8019c0e: 6878 ldr r0, [r7, #4] + 8019c10: f7f6 fcea bl 80105e8 return ERR_OK; - 801a084: 2300 movs r3, #0 - 801a086: e074 b.n 801a172 + 8019c14: 2300 movs r3, #0 + 8019c16: e074 b.n 8019d02 } /* packet consists of multiple fragments? */ if ((IPH_OFFSET(iphdr) & PP_HTONS(IP_OFFMASK | IP_MF)) != 0) { - 801a088: 69fb ldr r3, [r7, #28] - 801a08a: 88db ldrh r3, [r3, #6] - 801a08c: b29b uxth r3, r3 - 801a08e: 461a mov r2, r3 - 801a090: f64f 733f movw r3, #65343 ; 0xff3f - 801a094: 4013 ands r3, r2 - 801a096: 2b00 cmp r3, #0 - 801a098: d00b beq.n 801a0b2 + 8019c18: 69fb ldr r3, [r7, #28] + 8019c1a: 88db ldrh r3, [r3, #6] + 8019c1c: b29b uxth r3, r3 + 8019c1e: 461a mov r2, r3 + 8019c20: f64f 733f movw r3, #65343 ; 0xff3f + 8019c24: 4013 ands r3, r2 + 8019c26: 2b00 cmp r3, #0 + 8019c28: d00b beq.n 8019c42 #if IP_REASSEMBLY /* packet fragment reassembly code present? */ LWIP_DEBUGF(IP_DEBUG, ("IP packet is a fragment (id=0x%04"X16_F" tot_len=%"U16_F" len=%"U16_F" MF=%"U16_F" offset=%"U16_F"), calling ip4_reass()\n", lwip_ntohs(IPH_ID(iphdr)), p->tot_len, lwip_ntohs(IPH_LEN(iphdr)), (u16_t)!!(IPH_OFFSET(iphdr) & PP_HTONS(IP_MF)), (u16_t)((lwip_ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK) * 8))); /* reassemble the packet*/ p = ip4_reass(p); - 801a09a: 6878 ldr r0, [r7, #4] - 801a09c: f000 fc90 bl 801a9c0 - 801a0a0: 6078 str r0, [r7, #4] + 8019c2a: 6878 ldr r0, [r7, #4] + 8019c2c: f000 fc90 bl 801a550 + 8019c30: 6078 str r0, [r7, #4] /* packet not fully reassembled yet? */ if (p == NULL) { - 801a0a2: 687b ldr r3, [r7, #4] - 801a0a4: 2b00 cmp r3, #0 - 801a0a6: d101 bne.n 801a0ac + 8019c32: 687b ldr r3, [r7, #4] + 8019c34: 2b00 cmp r3, #0 + 8019c36: d101 bne.n 8019c3c return ERR_OK; - 801a0a8: 2300 movs r3, #0 - 801a0aa: e062 b.n 801a172 + 8019c38: 2300 movs r3, #0 + 8019c3a: e062 b.n 8019d02 } iphdr = (const struct ip_hdr *)p->payload; - 801a0ac: 687b ldr r3, [r7, #4] - 801a0ae: 685b ldr r3, [r3, #4] - 801a0b0: 61fb str r3, [r7, #28] + 8019c3c: 687b ldr r3, [r7, #4] + 8019c3e: 685b ldr r3, [r3, #4] + 8019c40: 61fb str r3, [r7, #28] /* send to upper layers */ LWIP_DEBUGF(IP_DEBUG, ("ip4_input: \n")); ip4_debug_print(p); LWIP_DEBUGF(IP_DEBUG, ("ip4_input: p->len %"U16_F" p->tot_len %"U16_F"\n", p->len, p->tot_len)); ip_data.current_netif = netif; - 801a0b2: 4a32 ldr r2, [pc, #200] ; (801a17c ) - 801a0b4: 69bb ldr r3, [r7, #24] - 801a0b6: 6013 str r3, [r2, #0] + 8019c42: 4a32 ldr r2, [pc, #200] ; (8019d0c ) + 8019c44: 69bb ldr r3, [r7, #24] + 8019c46: 6013 str r3, [r2, #0] ip_data.current_input_netif = inp; - 801a0b8: 4a30 ldr r2, [pc, #192] ; (801a17c ) - 801a0ba: 683b ldr r3, [r7, #0] - 801a0bc: 6053 str r3, [r2, #4] + 8019c48: 4a30 ldr r2, [pc, #192] ; (8019d0c ) + 8019c4a: 683b ldr r3, [r7, #0] + 8019c4c: 6053 str r3, [r2, #4] ip_data.current_ip4_header = iphdr; - 801a0be: 4a2f ldr r2, [pc, #188] ; (801a17c ) - 801a0c0: 69fb ldr r3, [r7, #28] - 801a0c2: 6093 str r3, [r2, #8] + 8019c4e: 4a2f ldr r2, [pc, #188] ; (8019d0c ) + 8019c50: 69fb ldr r3, [r7, #28] + 8019c52: 6093 str r3, [r2, #8] ip_data.current_ip_header_tot_len = IPH_HL_BYTES(iphdr); - 801a0c4: 69fb ldr r3, [r7, #28] - 801a0c6: 781b ldrb r3, [r3, #0] - 801a0c8: f003 030f and.w r3, r3, #15 - 801a0cc: b2db uxtb r3, r3 - 801a0ce: 009b lsls r3, r3, #2 - 801a0d0: b2db uxtb r3, r3 - 801a0d2: b29a uxth r2, r3 - 801a0d4: 4b29 ldr r3, [pc, #164] ; (801a17c ) - 801a0d6: 819a strh r2, [r3, #12] + 8019c54: 69fb ldr r3, [r7, #28] + 8019c56: 781b ldrb r3, [r3, #0] + 8019c58: f003 030f and.w r3, r3, #15 + 8019c5c: b2db uxtb r3, r3 + 8019c5e: 009b lsls r3, r3, #2 + 8019c60: b2db uxtb r3, r3 + 8019c62: b29a uxth r2, r3 + 8019c64: 4b29 ldr r3, [pc, #164] ; (8019d0c ) + 8019c66: 819a strh r2, [r3, #12] /* raw input did not eat the packet? */ raw_status = raw_input(p, inp); if (raw_status != RAW_INPUT_EATEN) #endif /* LWIP_RAW */ { pbuf_remove_header(p, iphdr_hlen); /* Move to payload, no check necessary. */ - 801a0d8: 8a7b ldrh r3, [r7, #18] - 801a0da: 4619 mov r1, r3 - 801a0dc: 6878 ldr r0, [r7, #4] - 801a0de: f7f6 fc35 bl 801094c + 8019c68: 8a7b ldrh r3, [r7, #18] + 8019c6a: 4619 mov r1, r3 + 8019c6c: 6878 ldr r0, [r7, #4] + 8019c6e: f7f6 fc35 bl 80104dc switch (IPH_PROTO(iphdr)) { - 801a0e2: 69fb ldr r3, [r7, #28] - 801a0e4: 7a5b ldrb r3, [r3, #9] - 801a0e6: 2b06 cmp r3, #6 - 801a0e8: d009 beq.n 801a0fe - 801a0ea: 2b11 cmp r3, #17 - 801a0ec: d002 beq.n 801a0f4 - 801a0ee: 2b01 cmp r3, #1 - 801a0f0: d00a beq.n 801a108 - 801a0f2: e00e b.n 801a112 + 8019c72: 69fb ldr r3, [r7, #28] + 8019c74: 7a5b ldrb r3, [r3, #9] + 8019c76: 2b06 cmp r3, #6 + 8019c78: d009 beq.n 8019c8e + 8019c7a: 2b11 cmp r3, #17 + 8019c7c: d002 beq.n 8019c84 + 8019c7e: 2b01 cmp r3, #1 + 8019c80: d00a beq.n 8019c98 + 8019c82: e00e b.n 8019ca2 case IP_PROTO_UDP: #if LWIP_UDPLITE case IP_PROTO_UDPLITE: #endif /* LWIP_UDPLITE */ MIB2_STATS_INC(mib2.ipindelivers); udp_input(p, inp); - 801a0f4: 6839 ldr r1, [r7, #0] - 801a0f6: 6878 ldr r0, [r7, #4] - 801a0f8: f7fc fada bl 80166b0 + 8019c84: 6839 ldr r1, [r7, #0] + 8019c86: 6878 ldr r0, [r7, #4] + 8019c88: f7fc fada bl 8016240 break; - 801a0fc: e026 b.n 801a14c + 8019c8c: e026 b.n 8019cdc #endif /* LWIP_UDP */ #if LWIP_TCP case IP_PROTO_TCP: MIB2_STATS_INC(mib2.ipindelivers); tcp_input(p, inp); - 801a0fe: 6839 ldr r1, [r7, #0] - 801a100: 6878 ldr r0, [r7, #4] - 801a102: f7f8 fae1 bl 80126c8 + 8019c8e: 6839 ldr r1, [r7, #0] + 8019c90: 6878 ldr r0, [r7, #4] + 8019c92: f7f8 fae1 bl 8012258 break; - 801a106: e021 b.n 801a14c + 8019c96: e021 b.n 8019cdc #endif /* LWIP_TCP */ #if LWIP_ICMP case IP_PROTO_ICMP: MIB2_STATS_INC(mib2.ipindelivers); icmp_input(p, inp); - 801a108: 6839 ldr r1, [r7, #0] - 801a10a: 6878 ldr r0, [r7, #4] - 801a10c: f7ff fcd2 bl 8019ab4 + 8019c98: 6839 ldr r1, [r7, #0] + 8019c9a: 6878 ldr r0, [r7, #4] + 8019c9c: f7ff fcd2 bl 8019644 break; - 801a110: e01c b.n 801a14c + 8019ca0: e01c b.n 8019cdc } else #endif /* LWIP_RAW */ { #if LWIP_ICMP /* send ICMP destination protocol unreachable unless is was a broadcast */ if (!ip4_addr_isbroadcast(ip4_current_dest_addr(), netif) && - 801a112: 4b1a ldr r3, [pc, #104] ; (801a17c ) - 801a114: 695b ldr r3, [r3, #20] - 801a116: 69b9 ldr r1, [r7, #24] - 801a118: 4618 mov r0, r3 - 801a11a: f000 f90b bl 801a334 - 801a11e: 4603 mov r3, r0 - 801a120: 2b00 cmp r3, #0 - 801a122: d10f bne.n 801a144 + 8019ca2: 4b1a ldr r3, [pc, #104] ; (8019d0c ) + 8019ca4: 695b ldr r3, [r3, #20] + 8019ca6: 69b9 ldr r1, [r7, #24] + 8019ca8: 4618 mov r0, r3 + 8019caa: f000 f90b bl 8019ec4 + 8019cae: 4603 mov r3, r0 + 8019cb0: 2b00 cmp r3, #0 + 8019cb2: d10f bne.n 8019cd4 !ip4_addr_ismulticast(ip4_current_dest_addr())) { - 801a124: 4b15 ldr r3, [pc, #84] ; (801a17c ) - 801a126: 695b ldr r3, [r3, #20] - 801a128: f003 03f0 and.w r3, r3, #240 ; 0xf0 + 8019cb4: 4b15 ldr r3, [pc, #84] ; (8019d0c ) + 8019cb6: 695b ldr r3, [r3, #20] + 8019cb8: f003 03f0 and.w r3, r3, #240 ; 0xf0 if (!ip4_addr_isbroadcast(ip4_current_dest_addr(), netif) && - 801a12c: 2be0 cmp r3, #224 ; 0xe0 - 801a12e: d009 beq.n 801a144 + 8019cbc: 2be0 cmp r3, #224 ; 0xe0 + 8019cbe: d009 beq.n 8019cd4 pbuf_header_force(p, (s16_t)iphdr_hlen); /* Move to ip header, no check necessary. */ - 801a130: f9b7 3012 ldrsh.w r3, [r7, #18] - 801a134: 4619 mov r1, r3 - 801a136: 6878 ldr r0, [r7, #4] - 801a138: f7f6 fc7b bl 8010a32 + 8019cc0: f9b7 3012 ldrsh.w r3, [r7, #18] + 8019cc4: 4619 mov r1, r3 + 8019cc6: 6878 ldr r0, [r7, #4] + 8019cc8: f7f6 fc7b bl 80105c2 icmp_dest_unreach(p, ICMP_DUR_PROTO); - 801a13c: 2102 movs r1, #2 - 801a13e: 6878 ldr r0, [r7, #4] - 801a140: f7ff fdbc bl 8019cbc + 8019ccc: 2102 movs r1, #2 + 8019cce: 6878 ldr r0, [r7, #4] + 8019cd0: f7ff fdbc bl 801984c IP_STATS_INC(ip.proterr); IP_STATS_INC(ip.drop); MIB2_STATS_INC(mib2.ipinunknownprotos); } pbuf_free(p); - 801a144: 6878 ldr r0, [r7, #4] - 801a146: f7f6 fc87 bl 8010a58 + 8019cd4: 6878 ldr r0, [r7, #4] + 8019cd6: f7f6 fc87 bl 80105e8 break; - 801a14a: bf00 nop + 8019cda: bf00 nop } } /* @todo: this is not really necessary... */ ip_data.current_netif = NULL; - 801a14c: 4b0b ldr r3, [pc, #44] ; (801a17c ) - 801a14e: 2200 movs r2, #0 - 801a150: 601a str r2, [r3, #0] + 8019cdc: 4b0b ldr r3, [pc, #44] ; (8019d0c ) + 8019cde: 2200 movs r2, #0 + 8019ce0: 601a str r2, [r3, #0] ip_data.current_input_netif = NULL; - 801a152: 4b0a ldr r3, [pc, #40] ; (801a17c ) - 801a154: 2200 movs r2, #0 - 801a156: 605a str r2, [r3, #4] + 8019ce2: 4b0a ldr r3, [pc, #40] ; (8019d0c ) + 8019ce4: 2200 movs r2, #0 + 8019ce6: 605a str r2, [r3, #4] ip_data.current_ip4_header = NULL; - 801a158: 4b08 ldr r3, [pc, #32] ; (801a17c ) - 801a15a: 2200 movs r2, #0 - 801a15c: 609a str r2, [r3, #8] + 8019ce8: 4b08 ldr r3, [pc, #32] ; (8019d0c ) + 8019cea: 2200 movs r2, #0 + 8019cec: 609a str r2, [r3, #8] ip_data.current_ip_header_tot_len = 0; - 801a15e: 4b07 ldr r3, [pc, #28] ; (801a17c ) - 801a160: 2200 movs r2, #0 - 801a162: 819a strh r2, [r3, #12] + 8019cee: 4b07 ldr r3, [pc, #28] ; (8019d0c ) + 8019cf0: 2200 movs r2, #0 + 8019cf2: 819a strh r2, [r3, #12] ip4_addr_set_any(ip4_current_src_addr()); - 801a164: 4b05 ldr r3, [pc, #20] ; (801a17c ) - 801a166: 2200 movs r2, #0 - 801a168: 611a str r2, [r3, #16] + 8019cf4: 4b05 ldr r3, [pc, #20] ; (8019d0c ) + 8019cf6: 2200 movs r2, #0 + 8019cf8: 611a str r2, [r3, #16] ip4_addr_set_any(ip4_current_dest_addr()); - 801a16a: 4b04 ldr r3, [pc, #16] ; (801a17c ) - 801a16c: 2200 movs r2, #0 - 801a16e: 615a str r2, [r3, #20] + 8019cfa: 4b04 ldr r3, [pc, #16] ; (8019d0c ) + 8019cfc: 2200 movs r2, #0 + 8019cfe: 615a str r2, [r3, #20] return ERR_OK; - 801a170: 2300 movs r3, #0 + 8019d00: 2300 movs r3, #0 } - 801a172: 4618 mov r0, r3 - 801a174: 3720 adds r7, #32 - 801a176: 46bd mov sp, r7 - 801a178: bd80 pop {r7, pc} - 801a17a: bf00 nop - 801a17c: 2000be90 .word 0x2000be90 - 801a180: 2000f5b4 .word 0x2000f5b4 + 8019d02: 4618 mov r0, r3 + 8019d04: 3720 adds r7, #32 + 8019d06: 46bd mov sp, r7 + 8019d08: bd80 pop {r7, pc} + 8019d0a: bf00 nop + 8019d0c: 2000be8c .word 0x2000be8c + 8019d10: 2000f5b0 .word 0x2000f5b0 -0801a184 : +08019d14 : */ err_t ip4_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) { - 801a184: b580 push {r7, lr} - 801a186: b08a sub sp, #40 ; 0x28 - 801a188: af04 add r7, sp, #16 - 801a18a: 60f8 str r0, [r7, #12] - 801a18c: 60b9 str r1, [r7, #8] - 801a18e: 607a str r2, [r7, #4] - 801a190: 70fb strb r3, [r7, #3] + 8019d14: b580 push {r7, lr} + 8019d16: b08a sub sp, #40 ; 0x28 + 8019d18: af04 add r7, sp, #16 + 8019d1a: 60f8 str r0, [r7, #12] + 8019d1c: 60b9 str r1, [r7, #8] + 8019d1e: 607a str r2, [r7, #4] + 8019d20: 70fb strb r3, [r7, #3] ip4_output_if_opt(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, u16_t optlen) { #endif /* IP_OPTIONS_SEND */ const ip4_addr_t *src_used = src; - 801a192: 68bb ldr r3, [r7, #8] - 801a194: 617b str r3, [r7, #20] + 8019d22: 68bb ldr r3, [r7, #8] + 8019d24: 617b str r3, [r7, #20] if (dest != LWIP_IP_HDRINCL) { - 801a196: 687b ldr r3, [r7, #4] - 801a198: 2b00 cmp r3, #0 - 801a19a: d009 beq.n 801a1b0 + 8019d26: 687b ldr r3, [r7, #4] + 8019d28: 2b00 cmp r3, #0 + 8019d2a: d009 beq.n 8019d40 if (ip4_addr_isany(src)) { - 801a19c: 68bb ldr r3, [r7, #8] - 801a19e: 2b00 cmp r3, #0 - 801a1a0: d003 beq.n 801a1aa - 801a1a2: 68bb ldr r3, [r7, #8] - 801a1a4: 681b ldr r3, [r3, #0] - 801a1a6: 2b00 cmp r3, #0 - 801a1a8: d102 bne.n 801a1b0 + 8019d2c: 68bb ldr r3, [r7, #8] + 8019d2e: 2b00 cmp r3, #0 + 8019d30: d003 beq.n 8019d3a + 8019d32: 68bb ldr r3, [r7, #8] + 8019d34: 681b ldr r3, [r3, #0] + 8019d36: 2b00 cmp r3, #0 + 8019d38: d102 bne.n 8019d40 src_used = netif_ip4_addr(netif); - 801a1aa: 6abb ldr r3, [r7, #40] ; 0x28 - 801a1ac: 3304 adds r3, #4 - 801a1ae: 617b str r3, [r7, #20] + 8019d3a: 6abb ldr r3, [r7, #40] ; 0x28 + 8019d3c: 3304 adds r3, #4 + 8019d3e: 617b str r3, [r7, #20] #if IP_OPTIONS_SEND return ip4_output_if_opt_src(p, src_used, dest, ttl, tos, proto, netif, ip_options, optlen); #else /* IP_OPTIONS_SEND */ return ip4_output_if_src(p, src_used, dest, ttl, tos, proto, netif); - 801a1b0: 78fa ldrb r2, [r7, #3] - 801a1b2: 6abb ldr r3, [r7, #40] ; 0x28 - 801a1b4: 9302 str r3, [sp, #8] - 801a1b6: f897 3024 ldrb.w r3, [r7, #36] ; 0x24 - 801a1ba: 9301 str r3, [sp, #4] - 801a1bc: f897 3020 ldrb.w r3, [r7, #32] - 801a1c0: 9300 str r3, [sp, #0] - 801a1c2: 4613 mov r3, r2 - 801a1c4: 687a ldr r2, [r7, #4] - 801a1c6: 6979 ldr r1, [r7, #20] - 801a1c8: 68f8 ldr r0, [r7, #12] - 801a1ca: f000 f805 bl 801a1d8 - 801a1ce: 4603 mov r3, r0 + 8019d40: 78fa ldrb r2, [r7, #3] + 8019d42: 6abb ldr r3, [r7, #40] ; 0x28 + 8019d44: 9302 str r3, [sp, #8] + 8019d46: f897 3024 ldrb.w r3, [r7, #36] ; 0x24 + 8019d4a: 9301 str r3, [sp, #4] + 8019d4c: f897 3020 ldrb.w r3, [r7, #32] + 8019d50: 9300 str r3, [sp, #0] + 8019d52: 4613 mov r3, r2 + 8019d54: 687a ldr r2, [r7, #4] + 8019d56: 6979 ldr r1, [r7, #20] + 8019d58: 68f8 ldr r0, [r7, #12] + 8019d5a: f000 f805 bl 8019d68 + 8019d5e: 4603 mov r3, r0 #endif /* IP_OPTIONS_SEND */ } - 801a1d0: 4618 mov r0, r3 - 801a1d2: 3718 adds r7, #24 - 801a1d4: 46bd mov sp, r7 - 801a1d6: bd80 pop {r7, pc} + 8019d60: 4618 mov r0, r3 + 8019d62: 3718 adds r7, #24 + 8019d64: 46bd mov sp, r7 + 8019d66: bd80 pop {r7, pc} -0801a1d8 : +08019d68 : */ err_t ip4_output_if_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) { - 801a1d8: b580 push {r7, lr} - 801a1da: b088 sub sp, #32 - 801a1dc: af00 add r7, sp, #0 - 801a1de: 60f8 str r0, [r7, #12] - 801a1e0: 60b9 str r1, [r7, #8] - 801a1e2: 607a str r2, [r7, #4] - 801a1e4: 70fb strb r3, [r7, #3] + 8019d68: b580 push {r7, lr} + 8019d6a: b088 sub sp, #32 + 8019d6c: af00 add r7, sp, #0 + 8019d6e: 60f8 str r0, [r7, #12] + 8019d70: 60b9 str r1, [r7, #8] + 8019d72: 607a str r2, [r7, #4] + 8019d74: 70fb strb r3, [r7, #3] #if CHECKSUM_GEN_IP_INLINE u32_t chk_sum = 0; #endif /* CHECKSUM_GEN_IP_INLINE */ LWIP_ASSERT_CORE_LOCKED(); LWIP_IP_CHECK_PBUF_REF_COUNT_FOR_TX(p); - 801a1e6: 68fb ldr r3, [r7, #12] - 801a1e8: 7b9b ldrb r3, [r3, #14] - 801a1ea: 2b01 cmp r3, #1 - 801a1ec: d006 beq.n 801a1fc - 801a1ee: 4b4b ldr r3, [pc, #300] ; (801a31c ) - 801a1f0: f44f 7255 mov.w r2, #852 ; 0x354 - 801a1f4: 494a ldr r1, [pc, #296] ; (801a320 ) - 801a1f6: 484b ldr r0, [pc, #300] ; (801a324 ) - 801a1f8: f001 f95e bl 801b4b8 + 8019d76: 68fb ldr r3, [r7, #12] + 8019d78: 7b9b ldrb r3, [r3, #14] + 8019d7a: 2b01 cmp r3, #1 + 8019d7c: d006 beq.n 8019d8c + 8019d7e: 4b4b ldr r3, [pc, #300] ; (8019eac ) + 8019d80: f44f 7255 mov.w r2, #852 ; 0x354 + 8019d84: 494a ldr r1, [pc, #296] ; (8019eb0 ) + 8019d86: 484b ldr r0, [pc, #300] ; (8019eb4 ) + 8019d88: f001 f944 bl 801b014 MIB2_STATS_INC(mib2.ipoutrequests); /* Should the IP header be generated or is it already included in p? */ if (dest != LWIP_IP_HDRINCL) { - 801a1fc: 687b ldr r3, [r7, #4] - 801a1fe: 2b00 cmp r3, #0 - 801a200: d060 beq.n 801a2c4 + 8019d8c: 687b ldr r3, [r7, #4] + 8019d8e: 2b00 cmp r3, #0 + 8019d90: d060 beq.n 8019e54 u16_t ip_hlen = IP_HLEN; - 801a202: 2314 movs r3, #20 - 801a204: 837b strh r3, [r7, #26] + 8019d92: 2314 movs r3, #20 + 8019d94: 837b strh r3, [r7, #26] } #endif /* CHECKSUM_GEN_IP_INLINE */ } #endif /* IP_OPTIONS_SEND */ /* generate IP header */ if (pbuf_add_header(p, IP_HLEN)) { - 801a206: 2114 movs r1, #20 - 801a208: 68f8 ldr r0, [r7, #12] - 801a20a: f7f6 fb8f bl 801092c - 801a20e: 4603 mov r3, r0 - 801a210: 2b00 cmp r3, #0 - 801a212: d002 beq.n 801a21a + 8019d96: 2114 movs r1, #20 + 8019d98: 68f8 ldr r0, [r7, #12] + 8019d9a: f7f6 fb8f bl 80104bc + 8019d9e: 4603 mov r3, r0 + 8019da0: 2b00 cmp r3, #0 + 8019da2: d002 beq.n 8019daa LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("ip4_output: not enough room for IP header in pbuf\n")); IP_STATS_INC(ip.err); MIB2_STATS_INC(mib2.ipoutdiscards); return ERR_BUF; - 801a214: f06f 0301 mvn.w r3, #1 - 801a218: e07c b.n 801a314 + 8019da4: f06f 0301 mvn.w r3, #1 + 8019da8: e07c b.n 8019ea4 } iphdr = (struct ip_hdr *)p->payload; - 801a21a: 68fb ldr r3, [r7, #12] - 801a21c: 685b ldr r3, [r3, #4] - 801a21e: 61fb str r3, [r7, #28] + 8019daa: 68fb ldr r3, [r7, #12] + 8019dac: 685b ldr r3, [r3, #4] + 8019dae: 61fb str r3, [r7, #28] LWIP_ASSERT("check that first pbuf can hold struct ip_hdr", - 801a220: 68fb ldr r3, [r7, #12] - 801a222: 895b ldrh r3, [r3, #10] - 801a224: 2b13 cmp r3, #19 - 801a226: d806 bhi.n 801a236 - 801a228: 4b3c ldr r3, [pc, #240] ; (801a31c ) - 801a22a: f240 3289 movw r2, #905 ; 0x389 - 801a22e: 493e ldr r1, [pc, #248] ; (801a328 ) - 801a230: 483c ldr r0, [pc, #240] ; (801a324 ) - 801a232: f001 f941 bl 801b4b8 + 8019db0: 68fb ldr r3, [r7, #12] + 8019db2: 895b ldrh r3, [r3, #10] + 8019db4: 2b13 cmp r3, #19 + 8019db6: d806 bhi.n 8019dc6 + 8019db8: 4b3c ldr r3, [pc, #240] ; (8019eac ) + 8019dba: f240 3289 movw r2, #905 ; 0x389 + 8019dbe: 493e ldr r1, [pc, #248] ; (8019eb8 ) + 8019dc0: 483c ldr r0, [pc, #240] ; (8019eb4 ) + 8019dc2: f001 f927 bl 801b014 (p->len >= sizeof(struct ip_hdr))); IPH_TTL_SET(iphdr, ttl); - 801a236: 69fb ldr r3, [r7, #28] - 801a238: 78fa ldrb r2, [r7, #3] - 801a23a: 721a strb r2, [r3, #8] + 8019dc6: 69fb ldr r3, [r7, #28] + 8019dc8: 78fa ldrb r2, [r7, #3] + 8019dca: 721a strb r2, [r3, #8] IPH_PROTO_SET(iphdr, proto); - 801a23c: 69fb ldr r3, [r7, #28] - 801a23e: f897 202c ldrb.w r2, [r7, #44] ; 0x2c - 801a242: 725a strb r2, [r3, #9] + 8019dcc: 69fb ldr r3, [r7, #28] + 8019dce: f897 202c ldrb.w r2, [r7, #44] ; 0x2c + 8019dd2: 725a strb r2, [r3, #9] #if CHECKSUM_GEN_IP_INLINE chk_sum += PP_NTOHS(proto | (ttl << 8)); #endif /* CHECKSUM_GEN_IP_INLINE */ /* dest cannot be NULL here */ ip4_addr_copy(iphdr->dest, *dest); - 801a244: 687b ldr r3, [r7, #4] - 801a246: 681a ldr r2, [r3, #0] - 801a248: 69fb ldr r3, [r7, #28] - 801a24a: 611a str r2, [r3, #16] + 8019dd4: 687b ldr r3, [r7, #4] + 8019dd6: 681a ldr r2, [r3, #0] + 8019dd8: 69fb ldr r3, [r7, #28] + 8019dda: 611a str r2, [r3, #16] #if CHECKSUM_GEN_IP_INLINE chk_sum += ip4_addr_get_u32(&iphdr->dest) & 0xFFFF; chk_sum += ip4_addr_get_u32(&iphdr->dest) >> 16; #endif /* CHECKSUM_GEN_IP_INLINE */ IPH_VHL_SET(iphdr, 4, ip_hlen / 4); - 801a24c: 8b7b ldrh r3, [r7, #26] - 801a24e: 089b lsrs r3, r3, #2 - 801a250: b29b uxth r3, r3 - 801a252: b2db uxtb r3, r3 - 801a254: f043 0340 orr.w r3, r3, #64 ; 0x40 - 801a258: b2da uxtb r2, r3 - 801a25a: 69fb ldr r3, [r7, #28] - 801a25c: 701a strb r2, [r3, #0] + 8019ddc: 8b7b ldrh r3, [r7, #26] + 8019dde: 089b lsrs r3, r3, #2 + 8019de0: b29b uxth r3, r3 + 8019de2: b2db uxtb r3, r3 + 8019de4: f043 0340 orr.w r3, r3, #64 ; 0x40 + 8019de8: b2da uxtb r2, r3 + 8019dea: 69fb ldr r3, [r7, #28] + 8019dec: 701a strb r2, [r3, #0] IPH_TOS_SET(iphdr, tos); - 801a25e: 69fb ldr r3, [r7, #28] - 801a260: f897 2028 ldrb.w r2, [r7, #40] ; 0x28 - 801a264: 705a strb r2, [r3, #1] + 8019dee: 69fb ldr r3, [r7, #28] + 8019df0: f897 2028 ldrb.w r2, [r7, #40] ; 0x28 + 8019df4: 705a strb r2, [r3, #1] #if CHECKSUM_GEN_IP_INLINE chk_sum += PP_NTOHS(tos | (iphdr->_v_hl << 8)); #endif /* CHECKSUM_GEN_IP_INLINE */ IPH_LEN_SET(iphdr, lwip_htons(p->tot_len)); - 801a266: 68fb ldr r3, [r7, #12] - 801a268: 891b ldrh r3, [r3, #8] - 801a26a: 4618 mov r0, r3 - 801a26c: f7f5 f840 bl 800f2f0 - 801a270: 4603 mov r3, r0 - 801a272: 461a mov r2, r3 - 801a274: 69fb ldr r3, [r7, #28] - 801a276: 805a strh r2, [r3, #2] + 8019df6: 68fb ldr r3, [r7, #12] + 8019df8: 891b ldrh r3, [r3, #8] + 8019dfa: 4618 mov r0, r3 + 8019dfc: f7f5 f840 bl 800ee80 + 8019e00: 4603 mov r3, r0 + 8019e02: 461a mov r2, r3 + 8019e04: 69fb ldr r3, [r7, #28] + 8019e06: 805a strh r2, [r3, #2] #if CHECKSUM_GEN_IP_INLINE chk_sum += iphdr->_len; #endif /* CHECKSUM_GEN_IP_INLINE */ IPH_OFFSET_SET(iphdr, 0); - 801a278: 69fb ldr r3, [r7, #28] - 801a27a: 2200 movs r2, #0 - 801a27c: 719a strb r2, [r3, #6] - 801a27e: 2200 movs r2, #0 - 801a280: 71da strb r2, [r3, #7] + 8019e08: 69fb ldr r3, [r7, #28] + 8019e0a: 2200 movs r2, #0 + 8019e0c: 719a strb r2, [r3, #6] + 8019e0e: 2200 movs r2, #0 + 8019e10: 71da strb r2, [r3, #7] IPH_ID_SET(iphdr, lwip_htons(ip_id)); - 801a282: 4b2a ldr r3, [pc, #168] ; (801a32c ) - 801a284: 881b ldrh r3, [r3, #0] - 801a286: 4618 mov r0, r3 - 801a288: f7f5 f832 bl 800f2f0 - 801a28c: 4603 mov r3, r0 - 801a28e: 461a mov r2, r3 - 801a290: 69fb ldr r3, [r7, #28] - 801a292: 809a strh r2, [r3, #4] + 8019e12: 4b2a ldr r3, [pc, #168] ; (8019ebc ) + 8019e14: 881b ldrh r3, [r3, #0] + 8019e16: 4618 mov r0, r3 + 8019e18: f7f5 f832 bl 800ee80 + 8019e1c: 4603 mov r3, r0 + 8019e1e: 461a mov r2, r3 + 8019e20: 69fb ldr r3, [r7, #28] + 8019e22: 809a strh r2, [r3, #4] #if CHECKSUM_GEN_IP_INLINE chk_sum += iphdr->_id; #endif /* CHECKSUM_GEN_IP_INLINE */ ++ip_id; - 801a294: 4b25 ldr r3, [pc, #148] ; (801a32c ) - 801a296: 881b ldrh r3, [r3, #0] - 801a298: 3301 adds r3, #1 - 801a29a: b29a uxth r2, r3 - 801a29c: 4b23 ldr r3, [pc, #140] ; (801a32c ) - 801a29e: 801a strh r2, [r3, #0] + 8019e24: 4b25 ldr r3, [pc, #148] ; (8019ebc ) + 8019e26: 881b ldrh r3, [r3, #0] + 8019e28: 3301 adds r3, #1 + 8019e2a: b29a uxth r2, r3 + 8019e2c: 4b23 ldr r3, [pc, #140] ; (8019ebc ) + 8019e2e: 801a strh r2, [r3, #0] if (src == NULL) { - 801a2a0: 68bb ldr r3, [r7, #8] - 801a2a2: 2b00 cmp r3, #0 - 801a2a4: d104 bne.n 801a2b0 + 8019e30: 68bb ldr r3, [r7, #8] + 8019e32: 2b00 cmp r3, #0 + 8019e34: d104 bne.n 8019e40 ip4_addr_copy(iphdr->src, *IP4_ADDR_ANY4); - 801a2a6: 4b22 ldr r3, [pc, #136] ; (801a330 ) - 801a2a8: 681a ldr r2, [r3, #0] - 801a2aa: 69fb ldr r3, [r7, #28] - 801a2ac: 60da str r2, [r3, #12] - 801a2ae: e003 b.n 801a2b8 + 8019e36: 4b22 ldr r3, [pc, #136] ; (8019ec0 ) + 8019e38: 681a ldr r2, [r3, #0] + 8019e3a: 69fb ldr r3, [r7, #28] + 8019e3c: 60da str r2, [r3, #12] + 8019e3e: e003 b.n 8019e48 } else { /* src cannot be NULL here */ ip4_addr_copy(iphdr->src, *src); - 801a2b0: 68bb ldr r3, [r7, #8] - 801a2b2: 681a ldr r2, [r3, #0] - 801a2b4: 69fb ldr r3, [r7, #28] - 801a2b6: 60da str r2, [r3, #12] + 8019e40: 68bb ldr r3, [r7, #8] + 8019e42: 681a ldr r2, [r3, #0] + 8019e44: 69fb ldr r3, [r7, #28] + 8019e46: 60da str r2, [r3, #12] else { IPH_CHKSUM_SET(iphdr, 0); } #endif /* LWIP_CHECKSUM_CTRL_PER_NETIF*/ #else /* CHECKSUM_GEN_IP_INLINE */ IPH_CHKSUM_SET(iphdr, 0); - 801a2b8: 69fb ldr r3, [r7, #28] - 801a2ba: 2200 movs r2, #0 - 801a2bc: 729a strb r2, [r3, #10] - 801a2be: 2200 movs r2, #0 - 801a2c0: 72da strb r2, [r3, #11] - 801a2c2: e00f b.n 801a2e4 + 8019e48: 69fb ldr r3, [r7, #28] + 8019e4a: 2200 movs r2, #0 + 8019e4c: 729a strb r2, [r3, #10] + 8019e4e: 2200 movs r2, #0 + 8019e50: 72da strb r2, [r3, #11] + 8019e52: e00f b.n 8019e74 } #endif /* CHECKSUM_GEN_IP */ #endif /* CHECKSUM_GEN_IP_INLINE */ } else { /* IP header already included in p */ if (p->len < IP_HLEN) { - 801a2c4: 68fb ldr r3, [r7, #12] - 801a2c6: 895b ldrh r3, [r3, #10] - 801a2c8: 2b13 cmp r3, #19 - 801a2ca: d802 bhi.n 801a2d2 + 8019e54: 68fb ldr r3, [r7, #12] + 8019e56: 895b ldrh r3, [r3, #10] + 8019e58: 2b13 cmp r3, #19 + 8019e5a: d802 bhi.n 8019e62 LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("ip4_output: LWIP_IP_HDRINCL but pbuf is too short\n")); IP_STATS_INC(ip.err); MIB2_STATS_INC(mib2.ipoutdiscards); return ERR_BUF; - 801a2cc: f06f 0301 mvn.w r3, #1 - 801a2d0: e020 b.n 801a314 + 8019e5c: f06f 0301 mvn.w r3, #1 + 8019e60: e020 b.n 8019ea4 } iphdr = (struct ip_hdr *)p->payload; - 801a2d2: 68fb ldr r3, [r7, #12] - 801a2d4: 685b ldr r3, [r3, #4] - 801a2d6: 61fb str r3, [r7, #28] + 8019e62: 68fb ldr r3, [r7, #12] + 8019e64: 685b ldr r3, [r3, #4] + 8019e66: 61fb str r3, [r7, #28] ip4_addr_copy(dest_addr, iphdr->dest); - 801a2d8: 69fb ldr r3, [r7, #28] - 801a2da: 691b ldr r3, [r3, #16] - 801a2dc: 617b str r3, [r7, #20] + 8019e68: 69fb ldr r3, [r7, #28] + 8019e6a: 691b ldr r3, [r3, #16] + 8019e6c: 617b str r3, [r7, #20] dest = &dest_addr; - 801a2de: f107 0314 add.w r3, r7, #20 - 801a2e2: 607b str r3, [r7, #4] + 8019e6e: f107 0314 add.w r3, r7, #20 + 8019e72: 607b str r3, [r7, #4] } #endif /* LWIP_MULTICAST_TX_OPTIONS */ #endif /* ENABLE_LOOPBACK */ #if IP_FRAG /* don't fragment if interface has mtu set to 0 [loopif] */ if (netif->mtu && (p->tot_len > netif->mtu)) { - 801a2e4: 6b3b ldr r3, [r7, #48] ; 0x30 - 801a2e6: 8d1b ldrh r3, [r3, #40] ; 0x28 - 801a2e8: 2b00 cmp r3, #0 - 801a2ea: d00c beq.n 801a306 - 801a2ec: 68fb ldr r3, [r7, #12] - 801a2ee: 891a ldrh r2, [r3, #8] - 801a2f0: 6b3b ldr r3, [r7, #48] ; 0x30 - 801a2f2: 8d1b ldrh r3, [r3, #40] ; 0x28 - 801a2f4: 429a cmp r2, r3 - 801a2f6: d906 bls.n 801a306 + 8019e74: 6b3b ldr r3, [r7, #48] ; 0x30 + 8019e76: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8019e78: 2b00 cmp r3, #0 + 8019e7a: d00c beq.n 8019e96 + 8019e7c: 68fb ldr r3, [r7, #12] + 8019e7e: 891a ldrh r2, [r3, #8] + 8019e80: 6b3b ldr r3, [r7, #48] ; 0x30 + 8019e82: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8019e84: 429a cmp r2, r3 + 8019e86: d906 bls.n 8019e96 return ip4_frag(p, netif, dest); - 801a2f8: 687a ldr r2, [r7, #4] - 801a2fa: 6b39 ldr r1, [r7, #48] ; 0x30 - 801a2fc: 68f8 ldr r0, [r7, #12] - 801a2fe: f000 fd4b bl 801ad98 - 801a302: 4603 mov r3, r0 - 801a304: e006 b.n 801a314 + 8019e88: 687a ldr r2, [r7, #4] + 8019e8a: 6b39 ldr r1, [r7, #48] ; 0x30 + 8019e8c: 68f8 ldr r0, [r7, #12] + 8019e8e: f000 fd4b bl 801a928 + 8019e92: 4603 mov r3, r0 + 8019e94: e006 b.n 8019ea4 } #endif /* IP_FRAG */ LWIP_DEBUGF(IP_DEBUG, ("ip4_output_if: call netif->output()\n")); return netif->output(netif, p, dest); - 801a306: 6b3b ldr r3, [r7, #48] ; 0x30 - 801a308: 695b ldr r3, [r3, #20] - 801a30a: 687a ldr r2, [r7, #4] - 801a30c: 68f9 ldr r1, [r7, #12] - 801a30e: 6b38 ldr r0, [r7, #48] ; 0x30 - 801a310: 4798 blx r3 - 801a312: 4603 mov r3, r0 + 8019e96: 6b3b ldr r3, [r7, #48] ; 0x30 + 8019e98: 695b ldr r3, [r3, #20] + 8019e9a: 687a ldr r2, [r7, #4] + 8019e9c: 68f9 ldr r1, [r7, #12] + 8019e9e: 6b38 ldr r0, [r7, #48] ; 0x30 + 8019ea0: 4798 blx r3 + 8019ea2: 4603 mov r3, r0 } - 801a314: 4618 mov r0, r3 - 801a316: 3720 adds r7, #32 - 801a318: 46bd mov sp, r7 - 801a31a: bd80 pop {r7, pc} - 801a31c: 0801f2ac .word 0x0801f2ac - 801a320: 0801f2e0 .word 0x0801f2e0 - 801a324: 0801f2ec .word 0x0801f2ec - 801a328: 0801f314 .word 0x0801f314 - 801a32c: 2000886a .word 0x2000886a - 801a330: 0802166c .word 0x0802166c + 8019ea4: 4618 mov r0, r3 + 8019ea6: 3720 adds r7, #32 + 8019ea8: 46bd mov sp, r7 + 8019eaa: bd80 pop {r7, pc} + 8019eac: 0801eaa8 .word 0x0801eaa8 + 8019eb0: 0801eadc .word 0x0801eadc + 8019eb4: 0801eae8 .word 0x0801eae8 + 8019eb8: 0801eb10 .word 0x0801eb10 + 8019ebc: 2000886a .word 0x2000886a + 8019ec0: 08020e68 .word 0x08020e68 -0801a334 : +08019ec4 : * @param netif the network interface against which the address is checked * @return returns non-zero if the address is a broadcast address */ u8_t ip4_addr_isbroadcast_u32(u32_t addr, const struct netif *netif) { - 801a334: b480 push {r7} - 801a336: b085 sub sp, #20 - 801a338: af00 add r7, sp, #0 - 801a33a: 6078 str r0, [r7, #4] - 801a33c: 6039 str r1, [r7, #0] + 8019ec4: b480 push {r7} + 8019ec6: b085 sub sp, #20 + 8019ec8: af00 add r7, sp, #0 + 8019eca: 6078 str r0, [r7, #4] + 8019ecc: 6039 str r1, [r7, #0] ip4_addr_t ipaddr; ip4_addr_set_u32(&ipaddr, addr); - 801a33e: 687b ldr r3, [r7, #4] - 801a340: 60fb str r3, [r7, #12] + 8019ece: 687b ldr r3, [r7, #4] + 8019ed0: 60fb str r3, [r7, #12] /* all ones (broadcast) or all zeroes (old skool broadcast) */ if ((~addr == IPADDR_ANY) || - 801a342: 687b ldr r3, [r7, #4] - 801a344: f1b3 3fff cmp.w r3, #4294967295 - 801a348: d002 beq.n 801a350 - 801a34a: 687b ldr r3, [r7, #4] - 801a34c: 2b00 cmp r3, #0 - 801a34e: d101 bne.n 801a354 + 8019ed2: 687b ldr r3, [r7, #4] + 8019ed4: f1b3 3fff cmp.w r3, #4294967295 + 8019ed8: d002 beq.n 8019ee0 + 8019eda: 687b ldr r3, [r7, #4] + 8019edc: 2b00 cmp r3, #0 + 8019ede: d101 bne.n 8019ee4 (addr == IPADDR_ANY)) { return 1; - 801a350: 2301 movs r3, #1 - 801a352: e02a b.n 801a3aa + 8019ee0: 2301 movs r3, #1 + 8019ee2: e02a b.n 8019f3a /* no broadcast support on this network interface? */ } else if ((netif->flags & NETIF_FLAG_BROADCAST) == 0) { - 801a354: 683b ldr r3, [r7, #0] - 801a356: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 801a35a: f003 0302 and.w r3, r3, #2 - 801a35e: 2b00 cmp r3, #0 - 801a360: d101 bne.n 801a366 + 8019ee4: 683b ldr r3, [r7, #0] + 8019ee6: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 8019eea: f003 0302 and.w r3, r3, #2 + 8019eee: 2b00 cmp r3, #0 + 8019ef0: d101 bne.n 8019ef6 /* the given address cannot be a broadcast address * nor can we check against any broadcast addresses */ return 0; - 801a362: 2300 movs r3, #0 - 801a364: e021 b.n 801a3aa + 8019ef2: 2300 movs r3, #0 + 8019ef4: e021 b.n 8019f3a /* address matches network interface address exactly? => no broadcast */ } else if (addr == ip4_addr_get_u32(netif_ip4_addr(netif))) { - 801a366: 683b ldr r3, [r7, #0] - 801a368: 3304 adds r3, #4 - 801a36a: 681b ldr r3, [r3, #0] - 801a36c: 687a ldr r2, [r7, #4] - 801a36e: 429a cmp r2, r3 - 801a370: d101 bne.n 801a376 + 8019ef6: 683b ldr r3, [r7, #0] + 8019ef8: 3304 adds r3, #4 + 8019efa: 681b ldr r3, [r3, #0] + 8019efc: 687a ldr r2, [r7, #4] + 8019efe: 429a cmp r2, r3 + 8019f00: d101 bne.n 8019f06 return 0; - 801a372: 2300 movs r3, #0 - 801a374: e019 b.n 801a3aa + 8019f02: 2300 movs r3, #0 + 8019f04: e019 b.n 8019f3a /* on the same (sub) network... */ } else if (ip4_addr_netcmp(&ipaddr, netif_ip4_addr(netif), netif_ip4_netmask(netif)) - 801a376: 68fa ldr r2, [r7, #12] - 801a378: 683b ldr r3, [r7, #0] - 801a37a: 3304 adds r3, #4 - 801a37c: 681b ldr r3, [r3, #0] - 801a37e: 405a eors r2, r3 - 801a380: 683b ldr r3, [r7, #0] - 801a382: 3308 adds r3, #8 - 801a384: 681b ldr r3, [r3, #0] - 801a386: 4013 ands r3, r2 - 801a388: 2b00 cmp r3, #0 - 801a38a: d10d bne.n 801a3a8 + 8019f06: 68fa ldr r2, [r7, #12] + 8019f08: 683b ldr r3, [r7, #0] + 8019f0a: 3304 adds r3, #4 + 8019f0c: 681b ldr r3, [r3, #0] + 8019f0e: 405a eors r2, r3 + 8019f10: 683b ldr r3, [r7, #0] + 8019f12: 3308 adds r3, #8 + 8019f14: 681b ldr r3, [r3, #0] + 8019f16: 4013 ands r3, r2 + 8019f18: 2b00 cmp r3, #0 + 8019f1a: d10d bne.n 8019f38 /* ...and host identifier bits are all ones? =>... */ && ((addr & ~ip4_addr_get_u32(netif_ip4_netmask(netif))) == - 801a38c: 683b ldr r3, [r7, #0] - 801a38e: 3308 adds r3, #8 - 801a390: 681b ldr r3, [r3, #0] - 801a392: 43da mvns r2, r3 - 801a394: 687b ldr r3, [r7, #4] - 801a396: 401a ands r2, r3 + 8019f1c: 683b ldr r3, [r7, #0] + 8019f1e: 3308 adds r3, #8 + 8019f20: 681b ldr r3, [r3, #0] + 8019f22: 43da mvns r2, r3 + 8019f24: 687b ldr r3, [r7, #4] + 8019f26: 401a ands r2, r3 (IPADDR_BROADCAST & ~ip4_addr_get_u32(netif_ip4_netmask(netif))))) { - 801a398: 683b ldr r3, [r7, #0] - 801a39a: 3308 adds r3, #8 - 801a39c: 681b ldr r3, [r3, #0] - 801a39e: 43db mvns r3, r3 + 8019f28: 683b ldr r3, [r7, #0] + 8019f2a: 3308 adds r3, #8 + 8019f2c: 681b ldr r3, [r3, #0] + 8019f2e: 43db mvns r3, r3 && ((addr & ~ip4_addr_get_u32(netif_ip4_netmask(netif))) == - 801a3a0: 429a cmp r2, r3 - 801a3a2: d101 bne.n 801a3a8 + 8019f30: 429a cmp r2, r3 + 8019f32: d101 bne.n 8019f38 /* => network broadcast address */ return 1; - 801a3a4: 2301 movs r3, #1 - 801a3a6: e000 b.n 801a3aa + 8019f34: 2301 movs r3, #1 + 8019f36: e000 b.n 8019f3a } else { return 0; - 801a3a8: 2300 movs r3, #0 + 8019f38: 2300 movs r3, #0 } } - 801a3aa: 4618 mov r0, r3 - 801a3ac: 3714 adds r7, #20 - 801a3ae: 46bd mov sp, r7 - 801a3b0: f85d 7b04 ldr.w r7, [sp], #4 - 801a3b4: 4770 bx lr + 8019f3a: 4618 mov r0, r3 + 8019f3c: 3714 adds r7, #20 + 8019f3e: 46bd mov sp, r7 + 8019f40: f85d 7b04 ldr.w r7, [sp], #4 + 8019f44: 4770 bx lr ... -0801a3b8 : +08019f48 : * * Should be called every 1000 msec (defined by IP_TMR_INTERVAL). */ void ip_reass_tmr(void) { - 801a3b8: b580 push {r7, lr} - 801a3ba: b084 sub sp, #16 - 801a3bc: af00 add r7, sp, #0 + 8019f48: b580 push {r7, lr} + 8019f4a: b084 sub sp, #16 + 8019f4c: af00 add r7, sp, #0 struct ip_reassdata *r, *prev = NULL; - 801a3be: 2300 movs r3, #0 - 801a3c0: 60bb str r3, [r7, #8] + 8019f4e: 2300 movs r3, #0 + 8019f50: 60bb str r3, [r7, #8] r = reassdatagrams; - 801a3c2: 4b12 ldr r3, [pc, #72] ; (801a40c ) - 801a3c4: 681b ldr r3, [r3, #0] - 801a3c6: 60fb str r3, [r7, #12] + 8019f52: 4b12 ldr r3, [pc, #72] ; (8019f9c ) + 8019f54: 681b ldr r3, [r3, #0] + 8019f56: 60fb str r3, [r7, #12] while (r != NULL) { - 801a3c8: e018 b.n 801a3fc + 8019f58: e018 b.n 8019f8c /* Decrement the timer. Once it reaches 0, * clean up the incomplete fragment assembly */ if (r->timer > 0) { - 801a3ca: 68fb ldr r3, [r7, #12] - 801a3cc: 7fdb ldrb r3, [r3, #31] - 801a3ce: 2b00 cmp r3, #0 - 801a3d0: d00b beq.n 801a3ea + 8019f5a: 68fb ldr r3, [r7, #12] + 8019f5c: 7fdb ldrb r3, [r3, #31] + 8019f5e: 2b00 cmp r3, #0 + 8019f60: d00b beq.n 8019f7a r->timer--; - 801a3d2: 68fb ldr r3, [r7, #12] - 801a3d4: 7fdb ldrb r3, [r3, #31] - 801a3d6: 3b01 subs r3, #1 - 801a3d8: b2da uxtb r2, r3 - 801a3da: 68fb ldr r3, [r7, #12] - 801a3dc: 77da strb r2, [r3, #31] + 8019f62: 68fb ldr r3, [r7, #12] + 8019f64: 7fdb ldrb r3, [r3, #31] + 8019f66: 3b01 subs r3, #1 + 8019f68: b2da uxtb r2, r3 + 8019f6a: 68fb ldr r3, [r7, #12] + 8019f6c: 77da strb r2, [r3, #31] LWIP_DEBUGF(IP_REASS_DEBUG, ("ip_reass_tmr: timer dec %"U16_F"\n", (u16_t)r->timer)); prev = r; - 801a3de: 68fb ldr r3, [r7, #12] - 801a3e0: 60bb str r3, [r7, #8] + 8019f6e: 68fb ldr r3, [r7, #12] + 8019f70: 60bb str r3, [r7, #8] r = r->next; - 801a3e2: 68fb ldr r3, [r7, #12] - 801a3e4: 681b ldr r3, [r3, #0] - 801a3e6: 60fb str r3, [r7, #12] - 801a3e8: e008 b.n 801a3fc + 8019f72: 68fb ldr r3, [r7, #12] + 8019f74: 681b ldr r3, [r3, #0] + 8019f76: 60fb str r3, [r7, #12] + 8019f78: e008 b.n 8019f8c } else { /* reassembly timed out */ struct ip_reassdata *tmp; LWIP_DEBUGF(IP_REASS_DEBUG, ("ip_reass_tmr: timer timed out\n")); tmp = r; - 801a3ea: 68fb ldr r3, [r7, #12] - 801a3ec: 607b str r3, [r7, #4] + 8019f7a: 68fb ldr r3, [r7, #12] + 8019f7c: 607b str r3, [r7, #4] /* get the next pointer before freeing */ r = r->next; - 801a3ee: 68fb ldr r3, [r7, #12] - 801a3f0: 681b ldr r3, [r3, #0] - 801a3f2: 60fb str r3, [r7, #12] + 8019f7e: 68fb ldr r3, [r7, #12] + 8019f80: 681b ldr r3, [r3, #0] + 8019f82: 60fb str r3, [r7, #12] /* free the helper struct and all enqueued pbufs */ ip_reass_free_complete_datagram(tmp, prev); - 801a3f4: 68b9 ldr r1, [r7, #8] - 801a3f6: 6878 ldr r0, [r7, #4] - 801a3f8: f000 f80a bl 801a410 + 8019f84: 68b9 ldr r1, [r7, #8] + 8019f86: 6878 ldr r0, [r7, #4] + 8019f88: f000 f80a bl 8019fa0 while (r != NULL) { - 801a3fc: 68fb ldr r3, [r7, #12] - 801a3fe: 2b00 cmp r3, #0 - 801a400: d1e3 bne.n 801a3ca + 8019f8c: 68fb ldr r3, [r7, #12] + 8019f8e: 2b00 cmp r3, #0 + 8019f90: d1e3 bne.n 8019f5a } } } - 801a402: bf00 nop - 801a404: 3710 adds r7, #16 - 801a406: 46bd mov sp, r7 - 801a408: bd80 pop {r7, pc} - 801a40a: bf00 nop - 801a40c: 2000886c .word 0x2000886c + 8019f92: bf00 nop + 8019f94: 3710 adds r7, #16 + 8019f96: 46bd mov sp, r7 + 8019f98: bd80 pop {r7, pc} + 8019f9a: bf00 nop + 8019f9c: 2000886c .word 0x2000886c -0801a410 : +08019fa0 : * @param prev the previous datagram in the linked list * @return the number of pbufs freed */ static int ip_reass_free_complete_datagram(struct ip_reassdata *ipr, struct ip_reassdata *prev) { - 801a410: b580 push {r7, lr} - 801a412: b088 sub sp, #32 - 801a414: af00 add r7, sp, #0 - 801a416: 6078 str r0, [r7, #4] - 801a418: 6039 str r1, [r7, #0] + 8019fa0: b580 push {r7, lr} + 8019fa2: b088 sub sp, #32 + 8019fa4: af00 add r7, sp, #0 + 8019fa6: 6078 str r0, [r7, #4] + 8019fa8: 6039 str r1, [r7, #0] u16_t pbufs_freed = 0; - 801a41a: 2300 movs r3, #0 - 801a41c: 83fb strh r3, [r7, #30] + 8019faa: 2300 movs r3, #0 + 8019fac: 83fb strh r3, [r7, #30] u16_t clen; struct pbuf *p; struct ip_reass_helper *iprh; LWIP_ASSERT("prev != ipr", prev != ipr); - 801a41e: 683a ldr r2, [r7, #0] - 801a420: 687b ldr r3, [r7, #4] - 801a422: 429a cmp r2, r3 - 801a424: d105 bne.n 801a432 - 801a426: 4b45 ldr r3, [pc, #276] ; (801a53c ) - 801a428: 22ab movs r2, #171 ; 0xab - 801a42a: 4945 ldr r1, [pc, #276] ; (801a540 ) - 801a42c: 4845 ldr r0, [pc, #276] ; (801a544 ) - 801a42e: f001 f843 bl 801b4b8 + 8019fae: 683a ldr r2, [r7, #0] + 8019fb0: 687b ldr r3, [r7, #4] + 8019fb2: 429a cmp r2, r3 + 8019fb4: d105 bne.n 8019fc2 + 8019fb6: 4b45 ldr r3, [pc, #276] ; (801a0cc ) + 8019fb8: 22ab movs r2, #171 ; 0xab + 8019fba: 4945 ldr r1, [pc, #276] ; (801a0d0 ) + 8019fbc: 4845 ldr r0, [pc, #276] ; (801a0d4 ) + 8019fbe: f001 f829 bl 801b014 if (prev != NULL) { - 801a432: 683b ldr r3, [r7, #0] - 801a434: 2b00 cmp r3, #0 - 801a436: d00a beq.n 801a44e + 8019fc2: 683b ldr r3, [r7, #0] + 8019fc4: 2b00 cmp r3, #0 + 8019fc6: d00a beq.n 8019fde LWIP_ASSERT("prev->next == ipr", prev->next == ipr); - 801a438: 683b ldr r3, [r7, #0] - 801a43a: 681b ldr r3, [r3, #0] - 801a43c: 687a ldr r2, [r7, #4] - 801a43e: 429a cmp r2, r3 - 801a440: d005 beq.n 801a44e - 801a442: 4b3e ldr r3, [pc, #248] ; (801a53c ) - 801a444: 22ad movs r2, #173 ; 0xad - 801a446: 4940 ldr r1, [pc, #256] ; (801a548 ) - 801a448: 483e ldr r0, [pc, #248] ; (801a544 ) - 801a44a: f001 f835 bl 801b4b8 + 8019fc8: 683b ldr r3, [r7, #0] + 8019fca: 681b ldr r3, [r3, #0] + 8019fcc: 687a ldr r2, [r7, #4] + 8019fce: 429a cmp r2, r3 + 8019fd0: d005 beq.n 8019fde + 8019fd2: 4b3e ldr r3, [pc, #248] ; (801a0cc ) + 8019fd4: 22ad movs r2, #173 ; 0xad + 8019fd6: 4940 ldr r1, [pc, #256] ; (801a0d8 ) + 8019fd8: 483e ldr r0, [pc, #248] ; (801a0d4 ) + 8019fda: f001 f81b bl 801b014 } MIB2_STATS_INC(mib2.ipreasmfails); #if LWIP_ICMP iprh = (struct ip_reass_helper *)ipr->p->payload; - 801a44e: 687b ldr r3, [r7, #4] - 801a450: 685b ldr r3, [r3, #4] - 801a452: 685b ldr r3, [r3, #4] - 801a454: 617b str r3, [r7, #20] + 8019fde: 687b ldr r3, [r7, #4] + 8019fe0: 685b ldr r3, [r3, #4] + 8019fe2: 685b ldr r3, [r3, #4] + 8019fe4: 617b str r3, [r7, #20] if (iprh->start == 0) { - 801a456: 697b ldr r3, [r7, #20] - 801a458: 889b ldrh r3, [r3, #4] - 801a45a: b29b uxth r3, r3 - 801a45c: 2b00 cmp r3, #0 - 801a45e: d12a bne.n 801a4b6 + 8019fe6: 697b ldr r3, [r7, #20] + 8019fe8: 889b ldrh r3, [r3, #4] + 8019fea: b29b uxth r3, r3 + 8019fec: 2b00 cmp r3, #0 + 8019fee: d12a bne.n 801a046 /* The first fragment was received, send ICMP time exceeded. */ /* First, de-queue the first pbuf from r->p. */ p = ipr->p; - 801a460: 687b ldr r3, [r7, #4] - 801a462: 685b ldr r3, [r3, #4] - 801a464: 61bb str r3, [r7, #24] + 8019ff0: 687b ldr r3, [r7, #4] + 8019ff2: 685b ldr r3, [r3, #4] + 8019ff4: 61bb str r3, [r7, #24] ipr->p = iprh->next_pbuf; - 801a466: 697b ldr r3, [r7, #20] - 801a468: 681a ldr r2, [r3, #0] - 801a46a: 687b ldr r3, [r7, #4] - 801a46c: 605a str r2, [r3, #4] + 8019ff6: 697b ldr r3, [r7, #20] + 8019ff8: 681a ldr r2, [r3, #0] + 8019ffa: 687b ldr r3, [r7, #4] + 8019ffc: 605a str r2, [r3, #4] /* Then, copy the original header into it. */ SMEMCPY(p->payload, &ipr->iphdr, IP_HLEN); - 801a46e: 69bb ldr r3, [r7, #24] - 801a470: 6858 ldr r0, [r3, #4] - 801a472: 687b ldr r3, [r7, #4] - 801a474: 3308 adds r3, #8 - 801a476: 2214 movs r2, #20 - 801a478: 4619 mov r1, r3 - 801a47a: f000 fff0 bl 801b45e + 8019ffe: 69bb ldr r3, [r7, #24] + 801a000: 6858 ldr r0, [r3, #4] + 801a002: 687b ldr r3, [r7, #4] + 801a004: 3308 adds r3, #8 + 801a006: 2214 movs r2, #20 + 801a008: 4619 mov r1, r3 + 801a00a: f000 fff0 bl 801afee icmp_time_exceeded(p, ICMP_TE_FRAG); - 801a47e: 2101 movs r1, #1 - 801a480: 69b8 ldr r0, [r7, #24] - 801a482: f7ff fc2b bl 8019cdc + 801a00e: 2101 movs r1, #1 + 801a010: 69b8 ldr r0, [r7, #24] + 801a012: f7ff fc2b bl 801986c clen = pbuf_clen(p); - 801a486: 69b8 ldr r0, [r7, #24] - 801a488: f7f6 fb74 bl 8010b74 - 801a48c: 4603 mov r3, r0 - 801a48e: 827b strh r3, [r7, #18] + 801a016: 69b8 ldr r0, [r7, #24] + 801a018: f7f6 fb74 bl 8010704 + 801a01c: 4603 mov r3, r0 + 801a01e: 827b strh r3, [r7, #18] LWIP_ASSERT("pbufs_freed + clen <= 0xffff", pbufs_freed + clen <= 0xffff); - 801a490: 8bfa ldrh r2, [r7, #30] - 801a492: 8a7b ldrh r3, [r7, #18] - 801a494: 4413 add r3, r2 - 801a496: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 801a49a: db05 blt.n 801a4a8 - 801a49c: 4b27 ldr r3, [pc, #156] ; (801a53c ) - 801a49e: 22bc movs r2, #188 ; 0xbc - 801a4a0: 492a ldr r1, [pc, #168] ; (801a54c ) - 801a4a2: 4828 ldr r0, [pc, #160] ; (801a544 ) - 801a4a4: f001 f808 bl 801b4b8 + 801a020: 8bfa ldrh r2, [r7, #30] + 801a022: 8a7b ldrh r3, [r7, #18] + 801a024: 4413 add r3, r2 + 801a026: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 801a02a: db05 blt.n 801a038 + 801a02c: 4b27 ldr r3, [pc, #156] ; (801a0cc ) + 801a02e: 22bc movs r2, #188 ; 0xbc + 801a030: 492a ldr r1, [pc, #168] ; (801a0dc ) + 801a032: 4828 ldr r0, [pc, #160] ; (801a0d4 ) + 801a034: f000 ffee bl 801b014 pbufs_freed = (u16_t)(pbufs_freed + clen); - 801a4a8: 8bfa ldrh r2, [r7, #30] - 801a4aa: 8a7b ldrh r3, [r7, #18] - 801a4ac: 4413 add r3, r2 - 801a4ae: 83fb strh r3, [r7, #30] + 801a038: 8bfa ldrh r2, [r7, #30] + 801a03a: 8a7b ldrh r3, [r7, #18] + 801a03c: 4413 add r3, r2 + 801a03e: 83fb strh r3, [r7, #30] pbuf_free(p); - 801a4b0: 69b8 ldr r0, [r7, #24] - 801a4b2: f7f6 fad1 bl 8010a58 + 801a040: 69b8 ldr r0, [r7, #24] + 801a042: f7f6 fad1 bl 80105e8 } #endif /* LWIP_ICMP */ /* First, free all received pbufs. The individual pbufs need to be released separately as they have not yet been chained */ p = ipr->p; - 801a4b6: 687b ldr r3, [r7, #4] - 801a4b8: 685b ldr r3, [r3, #4] - 801a4ba: 61bb str r3, [r7, #24] + 801a046: 687b ldr r3, [r7, #4] + 801a048: 685b ldr r3, [r3, #4] + 801a04a: 61bb str r3, [r7, #24] while (p != NULL) { - 801a4bc: e01f b.n 801a4fe + 801a04c: e01f b.n 801a08e struct pbuf *pcur; iprh = (struct ip_reass_helper *)p->payload; - 801a4be: 69bb ldr r3, [r7, #24] - 801a4c0: 685b ldr r3, [r3, #4] - 801a4c2: 617b str r3, [r7, #20] + 801a04e: 69bb ldr r3, [r7, #24] + 801a050: 685b ldr r3, [r3, #4] + 801a052: 617b str r3, [r7, #20] pcur = p; - 801a4c4: 69bb ldr r3, [r7, #24] - 801a4c6: 60fb str r3, [r7, #12] + 801a054: 69bb ldr r3, [r7, #24] + 801a056: 60fb str r3, [r7, #12] /* get the next pointer before freeing */ p = iprh->next_pbuf; - 801a4c8: 697b ldr r3, [r7, #20] - 801a4ca: 681b ldr r3, [r3, #0] - 801a4cc: 61bb str r3, [r7, #24] + 801a058: 697b ldr r3, [r7, #20] + 801a05a: 681b ldr r3, [r3, #0] + 801a05c: 61bb str r3, [r7, #24] clen = pbuf_clen(pcur); - 801a4ce: 68f8 ldr r0, [r7, #12] - 801a4d0: f7f6 fb50 bl 8010b74 - 801a4d4: 4603 mov r3, r0 - 801a4d6: 827b strh r3, [r7, #18] + 801a05e: 68f8 ldr r0, [r7, #12] + 801a060: f7f6 fb50 bl 8010704 + 801a064: 4603 mov r3, r0 + 801a066: 827b strh r3, [r7, #18] LWIP_ASSERT("pbufs_freed + clen <= 0xffff", pbufs_freed + clen <= 0xffff); - 801a4d8: 8bfa ldrh r2, [r7, #30] - 801a4da: 8a7b ldrh r3, [r7, #18] - 801a4dc: 4413 add r3, r2 - 801a4de: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 801a4e2: db05 blt.n 801a4f0 - 801a4e4: 4b15 ldr r3, [pc, #84] ; (801a53c ) - 801a4e6: 22cc movs r2, #204 ; 0xcc - 801a4e8: 4918 ldr r1, [pc, #96] ; (801a54c ) - 801a4ea: 4816 ldr r0, [pc, #88] ; (801a544 ) - 801a4ec: f000 ffe4 bl 801b4b8 + 801a068: 8bfa ldrh r2, [r7, #30] + 801a06a: 8a7b ldrh r3, [r7, #18] + 801a06c: 4413 add r3, r2 + 801a06e: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 801a072: db05 blt.n 801a080 + 801a074: 4b15 ldr r3, [pc, #84] ; (801a0cc ) + 801a076: 22cc movs r2, #204 ; 0xcc + 801a078: 4918 ldr r1, [pc, #96] ; (801a0dc ) + 801a07a: 4816 ldr r0, [pc, #88] ; (801a0d4 ) + 801a07c: f000 ffca bl 801b014 pbufs_freed = (u16_t)(pbufs_freed + clen); - 801a4f0: 8bfa ldrh r2, [r7, #30] - 801a4f2: 8a7b ldrh r3, [r7, #18] - 801a4f4: 4413 add r3, r2 - 801a4f6: 83fb strh r3, [r7, #30] + 801a080: 8bfa ldrh r2, [r7, #30] + 801a082: 8a7b ldrh r3, [r7, #18] + 801a084: 4413 add r3, r2 + 801a086: 83fb strh r3, [r7, #30] pbuf_free(pcur); - 801a4f8: 68f8 ldr r0, [r7, #12] - 801a4fa: f7f6 faad bl 8010a58 + 801a088: 68f8 ldr r0, [r7, #12] + 801a08a: f7f6 faad bl 80105e8 while (p != NULL) { - 801a4fe: 69bb ldr r3, [r7, #24] - 801a500: 2b00 cmp r3, #0 - 801a502: d1dc bne.n 801a4be + 801a08e: 69bb ldr r3, [r7, #24] + 801a090: 2b00 cmp r3, #0 + 801a092: d1dc bne.n 801a04e } /* Then, unchain the struct ip_reassdata from the list and free it. */ ip_reass_dequeue_datagram(ipr, prev); - 801a504: 6839 ldr r1, [r7, #0] - 801a506: 6878 ldr r0, [r7, #4] - 801a508: f000 f8c2 bl 801a690 + 801a094: 6839 ldr r1, [r7, #0] + 801a096: 6878 ldr r0, [r7, #4] + 801a098: f000 f8c2 bl 801a220 LWIP_ASSERT("ip_reass_pbufcount >= pbufs_freed", ip_reass_pbufcount >= pbufs_freed); - 801a50c: 4b10 ldr r3, [pc, #64] ; (801a550 ) - 801a50e: 881b ldrh r3, [r3, #0] - 801a510: 8bfa ldrh r2, [r7, #30] - 801a512: 429a cmp r2, r3 - 801a514: d905 bls.n 801a522 - 801a516: 4b09 ldr r3, [pc, #36] ; (801a53c ) - 801a518: 22d2 movs r2, #210 ; 0xd2 - 801a51a: 490e ldr r1, [pc, #56] ; (801a554 ) - 801a51c: 4809 ldr r0, [pc, #36] ; (801a544 ) - 801a51e: f000 ffcb bl 801b4b8 + 801a09c: 4b10 ldr r3, [pc, #64] ; (801a0e0 ) + 801a09e: 881b ldrh r3, [r3, #0] + 801a0a0: 8bfa ldrh r2, [r7, #30] + 801a0a2: 429a cmp r2, r3 + 801a0a4: d905 bls.n 801a0b2 + 801a0a6: 4b09 ldr r3, [pc, #36] ; (801a0cc ) + 801a0a8: 22d2 movs r2, #210 ; 0xd2 + 801a0aa: 490e ldr r1, [pc, #56] ; (801a0e4 ) + 801a0ac: 4809 ldr r0, [pc, #36] ; (801a0d4 ) + 801a0ae: f000 ffb1 bl 801b014 ip_reass_pbufcount = (u16_t)(ip_reass_pbufcount - pbufs_freed); - 801a522: 4b0b ldr r3, [pc, #44] ; (801a550 ) - 801a524: 881a ldrh r2, [r3, #0] - 801a526: 8bfb ldrh r3, [r7, #30] - 801a528: 1ad3 subs r3, r2, r3 - 801a52a: b29a uxth r2, r3 - 801a52c: 4b08 ldr r3, [pc, #32] ; (801a550 ) - 801a52e: 801a strh r2, [r3, #0] + 801a0b2: 4b0b ldr r3, [pc, #44] ; (801a0e0 ) + 801a0b4: 881a ldrh r2, [r3, #0] + 801a0b6: 8bfb ldrh r3, [r7, #30] + 801a0b8: 1ad3 subs r3, r2, r3 + 801a0ba: b29a uxth r2, r3 + 801a0bc: 4b08 ldr r3, [pc, #32] ; (801a0e0 ) + 801a0be: 801a strh r2, [r3, #0] return pbufs_freed; - 801a530: 8bfb ldrh r3, [r7, #30] + 801a0c0: 8bfb ldrh r3, [r7, #30] } - 801a532: 4618 mov r0, r3 - 801a534: 3720 adds r7, #32 - 801a536: 46bd mov sp, r7 - 801a538: bd80 pop {r7, pc} - 801a53a: bf00 nop - 801a53c: 0801f344 .word 0x0801f344 - 801a540: 0801f380 .word 0x0801f380 - 801a544: 0801f38c .word 0x0801f38c - 801a548: 0801f3b4 .word 0x0801f3b4 - 801a54c: 0801f3c8 .word 0x0801f3c8 - 801a550: 20008870 .word 0x20008870 - 801a554: 0801f3e8 .word 0x0801f3e8 + 801a0c2: 4618 mov r0, r3 + 801a0c4: 3720 adds r7, #32 + 801a0c6: 46bd mov sp, r7 + 801a0c8: bd80 pop {r7, pc} + 801a0ca: bf00 nop + 801a0cc: 0801eb40 .word 0x0801eb40 + 801a0d0: 0801eb7c .word 0x0801eb7c + 801a0d4: 0801eb88 .word 0x0801eb88 + 801a0d8: 0801ebb0 .word 0x0801ebb0 + 801a0dc: 0801ebc4 .word 0x0801ebc4 + 801a0e0: 20008870 .word 0x20008870 + 801a0e4: 0801ebe4 .word 0x0801ebe4 -0801a558 : +0801a0e8 : * (used for freeing other datagrams if not enough space) * @return the number of pbufs freed */ static int ip_reass_remove_oldest_datagram(struct ip_hdr *fraghdr, int pbufs_needed) { - 801a558: b580 push {r7, lr} - 801a55a: b08a sub sp, #40 ; 0x28 - 801a55c: af00 add r7, sp, #0 - 801a55e: 6078 str r0, [r7, #4] - 801a560: 6039 str r1, [r7, #0] + 801a0e8: b580 push {r7, lr} + 801a0ea: b08a sub sp, #40 ; 0x28 + 801a0ec: af00 add r7, sp, #0 + 801a0ee: 6078 str r0, [r7, #4] + 801a0f0: 6039 str r1, [r7, #0] /* @todo Can't we simply remove the last datagram in the * linked list behind reassdatagrams? */ struct ip_reassdata *r, *oldest, *prev, *oldest_prev; int pbufs_freed = 0, pbufs_freed_current; - 801a562: 2300 movs r3, #0 - 801a564: 617b str r3, [r7, #20] + 801a0f2: 2300 movs r3, #0 + 801a0f4: 617b str r3, [r7, #20] int other_datagrams; /* Free datagrams until being allowed to enqueue 'pbufs_needed' pbufs, * but don't free the datagram that 'fraghdr' belongs to! */ do { oldest = NULL; - 801a566: 2300 movs r3, #0 - 801a568: 623b str r3, [r7, #32] + 801a0f6: 2300 movs r3, #0 + 801a0f8: 623b str r3, [r7, #32] prev = NULL; - 801a56a: 2300 movs r3, #0 - 801a56c: 61fb str r3, [r7, #28] + 801a0fa: 2300 movs r3, #0 + 801a0fc: 61fb str r3, [r7, #28] oldest_prev = NULL; - 801a56e: 2300 movs r3, #0 - 801a570: 61bb str r3, [r7, #24] + 801a0fe: 2300 movs r3, #0 + 801a100: 61bb str r3, [r7, #24] other_datagrams = 0; - 801a572: 2300 movs r3, #0 - 801a574: 613b str r3, [r7, #16] + 801a102: 2300 movs r3, #0 + 801a104: 613b str r3, [r7, #16] r = reassdatagrams; - 801a576: 4b28 ldr r3, [pc, #160] ; (801a618 ) - 801a578: 681b ldr r3, [r3, #0] - 801a57a: 627b str r3, [r7, #36] ; 0x24 + 801a106: 4b28 ldr r3, [pc, #160] ; (801a1a8 ) + 801a108: 681b ldr r3, [r3, #0] + 801a10a: 627b str r3, [r7, #36] ; 0x24 while (r != NULL) { - 801a57c: e030 b.n 801a5e0 + 801a10c: e030 b.n 801a170 if (!IP_ADDRESSES_AND_ID_MATCH(&r->iphdr, fraghdr)) { - 801a57e: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a580: 695a ldr r2, [r3, #20] - 801a582: 687b ldr r3, [r7, #4] - 801a584: 68db ldr r3, [r3, #12] - 801a586: 429a cmp r2, r3 - 801a588: d10c bne.n 801a5a4 - 801a58a: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a58c: 699a ldr r2, [r3, #24] - 801a58e: 687b ldr r3, [r7, #4] - 801a590: 691b ldr r3, [r3, #16] - 801a592: 429a cmp r2, r3 - 801a594: d106 bne.n 801a5a4 - 801a596: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a598: 899a ldrh r2, [r3, #12] - 801a59a: 687b ldr r3, [r7, #4] - 801a59c: 889b ldrh r3, [r3, #4] - 801a59e: b29b uxth r3, r3 - 801a5a0: 429a cmp r2, r3 - 801a5a2: d014 beq.n 801a5ce + 801a10e: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a110: 695a ldr r2, [r3, #20] + 801a112: 687b ldr r3, [r7, #4] + 801a114: 68db ldr r3, [r3, #12] + 801a116: 429a cmp r2, r3 + 801a118: d10c bne.n 801a134 + 801a11a: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a11c: 699a ldr r2, [r3, #24] + 801a11e: 687b ldr r3, [r7, #4] + 801a120: 691b ldr r3, [r3, #16] + 801a122: 429a cmp r2, r3 + 801a124: d106 bne.n 801a134 + 801a126: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a128: 899a ldrh r2, [r3, #12] + 801a12a: 687b ldr r3, [r7, #4] + 801a12c: 889b ldrh r3, [r3, #4] + 801a12e: b29b uxth r3, r3 + 801a130: 429a cmp r2, r3 + 801a132: d014 beq.n 801a15e /* Not the same datagram as fraghdr */ other_datagrams++; - 801a5a4: 693b ldr r3, [r7, #16] - 801a5a6: 3301 adds r3, #1 - 801a5a8: 613b str r3, [r7, #16] + 801a134: 693b ldr r3, [r7, #16] + 801a136: 3301 adds r3, #1 + 801a138: 613b str r3, [r7, #16] if (oldest == NULL) { - 801a5aa: 6a3b ldr r3, [r7, #32] - 801a5ac: 2b00 cmp r3, #0 - 801a5ae: d104 bne.n 801a5ba + 801a13a: 6a3b ldr r3, [r7, #32] + 801a13c: 2b00 cmp r3, #0 + 801a13e: d104 bne.n 801a14a oldest = r; - 801a5b0: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a5b2: 623b str r3, [r7, #32] + 801a140: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a142: 623b str r3, [r7, #32] oldest_prev = prev; - 801a5b4: 69fb ldr r3, [r7, #28] - 801a5b6: 61bb str r3, [r7, #24] - 801a5b8: e009 b.n 801a5ce + 801a144: 69fb ldr r3, [r7, #28] + 801a146: 61bb str r3, [r7, #24] + 801a148: e009 b.n 801a15e } else if (r->timer <= oldest->timer) { - 801a5ba: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a5bc: 7fda ldrb r2, [r3, #31] - 801a5be: 6a3b ldr r3, [r7, #32] - 801a5c0: 7fdb ldrb r3, [r3, #31] - 801a5c2: 429a cmp r2, r3 - 801a5c4: d803 bhi.n 801a5ce + 801a14a: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a14c: 7fda ldrb r2, [r3, #31] + 801a14e: 6a3b ldr r3, [r7, #32] + 801a150: 7fdb ldrb r3, [r3, #31] + 801a152: 429a cmp r2, r3 + 801a154: d803 bhi.n 801a15e /* older than the previous oldest */ oldest = r; - 801a5c6: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a5c8: 623b str r3, [r7, #32] + 801a156: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a158: 623b str r3, [r7, #32] oldest_prev = prev; - 801a5ca: 69fb ldr r3, [r7, #28] - 801a5cc: 61bb str r3, [r7, #24] + 801a15a: 69fb ldr r3, [r7, #28] + 801a15c: 61bb str r3, [r7, #24] } } if (r->next != NULL) { - 801a5ce: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a5d0: 681b ldr r3, [r3, #0] - 801a5d2: 2b00 cmp r3, #0 - 801a5d4: d001 beq.n 801a5da + 801a15e: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a160: 681b ldr r3, [r3, #0] + 801a162: 2b00 cmp r3, #0 + 801a164: d001 beq.n 801a16a prev = r; - 801a5d6: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a5d8: 61fb str r3, [r7, #28] + 801a166: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a168: 61fb str r3, [r7, #28] } r = r->next; - 801a5da: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a5dc: 681b ldr r3, [r3, #0] - 801a5de: 627b str r3, [r7, #36] ; 0x24 + 801a16a: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a16c: 681b ldr r3, [r3, #0] + 801a16e: 627b str r3, [r7, #36] ; 0x24 while (r != NULL) { - 801a5e0: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a5e2: 2b00 cmp r3, #0 - 801a5e4: d1cb bne.n 801a57e + 801a170: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a172: 2b00 cmp r3, #0 + 801a174: d1cb bne.n 801a10e } if (oldest != NULL) { - 801a5e6: 6a3b ldr r3, [r7, #32] - 801a5e8: 2b00 cmp r3, #0 - 801a5ea: d008 beq.n 801a5fe + 801a176: 6a3b ldr r3, [r7, #32] + 801a178: 2b00 cmp r3, #0 + 801a17a: d008 beq.n 801a18e pbufs_freed_current = ip_reass_free_complete_datagram(oldest, oldest_prev); - 801a5ec: 69b9 ldr r1, [r7, #24] - 801a5ee: 6a38 ldr r0, [r7, #32] - 801a5f0: f7ff ff0e bl 801a410 - 801a5f4: 60f8 str r0, [r7, #12] + 801a17c: 69b9 ldr r1, [r7, #24] + 801a17e: 6a38 ldr r0, [r7, #32] + 801a180: f7ff ff0e bl 8019fa0 + 801a184: 60f8 str r0, [r7, #12] pbufs_freed += pbufs_freed_current; - 801a5f6: 697a ldr r2, [r7, #20] - 801a5f8: 68fb ldr r3, [r7, #12] - 801a5fa: 4413 add r3, r2 - 801a5fc: 617b str r3, [r7, #20] + 801a186: 697a ldr r2, [r7, #20] + 801a188: 68fb ldr r3, [r7, #12] + 801a18a: 4413 add r3, r2 + 801a18c: 617b str r3, [r7, #20] } } while ((pbufs_freed < pbufs_needed) && (other_datagrams > 1)); - 801a5fe: 697a ldr r2, [r7, #20] - 801a600: 683b ldr r3, [r7, #0] - 801a602: 429a cmp r2, r3 - 801a604: da02 bge.n 801a60c - 801a606: 693b ldr r3, [r7, #16] - 801a608: 2b01 cmp r3, #1 - 801a60a: dcac bgt.n 801a566 + 801a18e: 697a ldr r2, [r7, #20] + 801a190: 683b ldr r3, [r7, #0] + 801a192: 429a cmp r2, r3 + 801a194: da02 bge.n 801a19c + 801a196: 693b ldr r3, [r7, #16] + 801a198: 2b01 cmp r3, #1 + 801a19a: dcac bgt.n 801a0f6 return pbufs_freed; - 801a60c: 697b ldr r3, [r7, #20] + 801a19c: 697b ldr r3, [r7, #20] } - 801a60e: 4618 mov r0, r3 - 801a610: 3728 adds r7, #40 ; 0x28 - 801a612: 46bd mov sp, r7 - 801a614: bd80 pop {r7, pc} - 801a616: bf00 nop - 801a618: 2000886c .word 0x2000886c + 801a19e: 4618 mov r0, r3 + 801a1a0: 3728 adds r7, #40 ; 0x28 + 801a1a2: 46bd mov sp, r7 + 801a1a4: bd80 pop {r7, pc} + 801a1a6: bf00 nop + 801a1a8: 2000886c .word 0x2000886c -0801a61c : +0801a1ac : * @param clen number of pbufs needed to enqueue (used for freeing other datagrams if not enough space) * @return A pointer to the queue location into which the fragment was enqueued */ static struct ip_reassdata * ip_reass_enqueue_new_datagram(struct ip_hdr *fraghdr, int clen) { - 801a61c: b580 push {r7, lr} - 801a61e: b084 sub sp, #16 - 801a620: af00 add r7, sp, #0 - 801a622: 6078 str r0, [r7, #4] - 801a624: 6039 str r1, [r7, #0] + 801a1ac: b580 push {r7, lr} + 801a1ae: b084 sub sp, #16 + 801a1b0: af00 add r7, sp, #0 + 801a1b2: 6078 str r0, [r7, #4] + 801a1b4: 6039 str r1, [r7, #0] #if ! IP_REASS_FREE_OLDEST LWIP_UNUSED_ARG(clen); #endif /* No matching previous fragment found, allocate a new reassdata struct */ ipr = (struct ip_reassdata *)memp_malloc(MEMP_REASSDATA); - 801a626: 2004 movs r0, #4 - 801a628: f7f5 fb18 bl 800fc5c - 801a62c: 60f8 str r0, [r7, #12] + 801a1b6: 2004 movs r0, #4 + 801a1b8: f7f5 fb18 bl 800f7ec + 801a1bc: 60f8 str r0, [r7, #12] if (ipr == NULL) { - 801a62e: 68fb ldr r3, [r7, #12] - 801a630: 2b00 cmp r3, #0 - 801a632: d110 bne.n 801a656 + 801a1be: 68fb ldr r3, [r7, #12] + 801a1c0: 2b00 cmp r3, #0 + 801a1c2: d110 bne.n 801a1e6 #if IP_REASS_FREE_OLDEST if (ip_reass_remove_oldest_datagram(fraghdr, clen) >= clen) { - 801a634: 6839 ldr r1, [r7, #0] - 801a636: 6878 ldr r0, [r7, #4] - 801a638: f7ff ff8e bl 801a558 - 801a63c: 4602 mov r2, r0 - 801a63e: 683b ldr r3, [r7, #0] - 801a640: 4293 cmp r3, r2 - 801a642: dc03 bgt.n 801a64c + 801a1c4: 6839 ldr r1, [r7, #0] + 801a1c6: 6878 ldr r0, [r7, #4] + 801a1c8: f7ff ff8e bl 801a0e8 + 801a1cc: 4602 mov r2, r0 + 801a1ce: 683b ldr r3, [r7, #0] + 801a1d0: 4293 cmp r3, r2 + 801a1d2: dc03 bgt.n 801a1dc ipr = (struct ip_reassdata *)memp_malloc(MEMP_REASSDATA); - 801a644: 2004 movs r0, #4 - 801a646: f7f5 fb09 bl 800fc5c - 801a64a: 60f8 str r0, [r7, #12] + 801a1d4: 2004 movs r0, #4 + 801a1d6: f7f5 fb09 bl 800f7ec + 801a1da: 60f8 str r0, [r7, #12] } if (ipr == NULL) - 801a64c: 68fb ldr r3, [r7, #12] - 801a64e: 2b00 cmp r3, #0 - 801a650: d101 bne.n 801a656 + 801a1dc: 68fb ldr r3, [r7, #12] + 801a1de: 2b00 cmp r3, #0 + 801a1e0: d101 bne.n 801a1e6 #endif /* IP_REASS_FREE_OLDEST */ { IPFRAG_STATS_INC(ip_frag.memerr); LWIP_DEBUGF(IP_REASS_DEBUG, ("Failed to alloc reassdata struct\n")); return NULL; - 801a652: 2300 movs r3, #0 - 801a654: e016 b.n 801a684 + 801a1e2: 2300 movs r3, #0 + 801a1e4: e016 b.n 801a214 } } memset(ipr, 0, sizeof(struct ip_reassdata)); - 801a656: 2220 movs r2, #32 - 801a658: 2100 movs r1, #0 - 801a65a: 68f8 ldr r0, [r7, #12] - 801a65c: f000 ff23 bl 801b4a6 + 801a1e6: 2220 movs r2, #32 + 801a1e8: 2100 movs r1, #0 + 801a1ea: 68f8 ldr r0, [r7, #12] + 801a1ec: f000 ff0a bl 801b004 ipr->timer = IP_REASS_MAXAGE; - 801a660: 68fb ldr r3, [r7, #12] - 801a662: 220f movs r2, #15 - 801a664: 77da strb r2, [r3, #31] + 801a1f0: 68fb ldr r3, [r7, #12] + 801a1f2: 220f movs r2, #15 + 801a1f4: 77da strb r2, [r3, #31] /* enqueue the new structure to the front of the list */ ipr->next = reassdatagrams; - 801a666: 4b09 ldr r3, [pc, #36] ; (801a68c ) - 801a668: 681a ldr r2, [r3, #0] - 801a66a: 68fb ldr r3, [r7, #12] - 801a66c: 601a str r2, [r3, #0] + 801a1f6: 4b09 ldr r3, [pc, #36] ; (801a21c ) + 801a1f8: 681a ldr r2, [r3, #0] + 801a1fa: 68fb ldr r3, [r7, #12] + 801a1fc: 601a str r2, [r3, #0] reassdatagrams = ipr; - 801a66e: 4a07 ldr r2, [pc, #28] ; (801a68c ) - 801a670: 68fb ldr r3, [r7, #12] - 801a672: 6013 str r3, [r2, #0] + 801a1fe: 4a07 ldr r2, [pc, #28] ; (801a21c ) + 801a200: 68fb ldr r3, [r7, #12] + 801a202: 6013 str r3, [r2, #0] /* copy the ip header for later tests and input */ /* @todo: no ip options supported? */ SMEMCPY(&(ipr->iphdr), fraghdr, IP_HLEN); - 801a674: 68fb ldr r3, [r7, #12] - 801a676: 3308 adds r3, #8 - 801a678: 2214 movs r2, #20 - 801a67a: 6879 ldr r1, [r7, #4] - 801a67c: 4618 mov r0, r3 - 801a67e: f000 feee bl 801b45e + 801a204: 68fb ldr r3, [r7, #12] + 801a206: 3308 adds r3, #8 + 801a208: 2214 movs r2, #20 + 801a20a: 6879 ldr r1, [r7, #4] + 801a20c: 4618 mov r0, r3 + 801a20e: f000 feee bl 801afee return ipr; - 801a682: 68fb ldr r3, [r7, #12] + 801a212: 68fb ldr r3, [r7, #12] } - 801a684: 4618 mov r0, r3 - 801a686: 3710 adds r7, #16 - 801a688: 46bd mov sp, r7 - 801a68a: bd80 pop {r7, pc} - 801a68c: 2000886c .word 0x2000886c + 801a214: 4618 mov r0, r3 + 801a216: 3710 adds r7, #16 + 801a218: 46bd mov sp, r7 + 801a21a: bd80 pop {r7, pc} + 801a21c: 2000886c .word 0x2000886c -0801a690 : +0801a220 : * Dequeues a datagram from the datagram queue. Doesn't deallocate the pbufs. * @param ipr points to the queue entry to dequeue */ static void ip_reass_dequeue_datagram(struct ip_reassdata *ipr, struct ip_reassdata *prev) { - 801a690: b580 push {r7, lr} - 801a692: b082 sub sp, #8 - 801a694: af00 add r7, sp, #0 - 801a696: 6078 str r0, [r7, #4] - 801a698: 6039 str r1, [r7, #0] + 801a220: b580 push {r7, lr} + 801a222: b082 sub sp, #8 + 801a224: af00 add r7, sp, #0 + 801a226: 6078 str r0, [r7, #4] + 801a228: 6039 str r1, [r7, #0] /* dequeue the reass struct */ if (reassdatagrams == ipr) { - 801a69a: 4b10 ldr r3, [pc, #64] ; (801a6dc ) - 801a69c: 681b ldr r3, [r3, #0] - 801a69e: 687a ldr r2, [r7, #4] - 801a6a0: 429a cmp r2, r3 - 801a6a2: d104 bne.n 801a6ae + 801a22a: 4b10 ldr r3, [pc, #64] ; (801a26c ) + 801a22c: 681b ldr r3, [r3, #0] + 801a22e: 687a ldr r2, [r7, #4] + 801a230: 429a cmp r2, r3 + 801a232: d104 bne.n 801a23e /* it was the first in the list */ reassdatagrams = ipr->next; - 801a6a4: 687b ldr r3, [r7, #4] - 801a6a6: 681b ldr r3, [r3, #0] - 801a6a8: 4a0c ldr r2, [pc, #48] ; (801a6dc ) - 801a6aa: 6013 str r3, [r2, #0] - 801a6ac: e00d b.n 801a6ca + 801a234: 687b ldr r3, [r7, #4] + 801a236: 681b ldr r3, [r3, #0] + 801a238: 4a0c ldr r2, [pc, #48] ; (801a26c ) + 801a23a: 6013 str r3, [r2, #0] + 801a23c: e00d b.n 801a25a } else { /* it wasn't the first, so it must have a valid 'prev' */ LWIP_ASSERT("sanity check linked list", prev != NULL); - 801a6ae: 683b ldr r3, [r7, #0] - 801a6b0: 2b00 cmp r3, #0 - 801a6b2: d106 bne.n 801a6c2 - 801a6b4: 4b0a ldr r3, [pc, #40] ; (801a6e0 ) - 801a6b6: f240 1245 movw r2, #325 ; 0x145 - 801a6ba: 490a ldr r1, [pc, #40] ; (801a6e4 ) - 801a6bc: 480a ldr r0, [pc, #40] ; (801a6e8 ) - 801a6be: f000 fefb bl 801b4b8 + 801a23e: 683b ldr r3, [r7, #0] + 801a240: 2b00 cmp r3, #0 + 801a242: d106 bne.n 801a252 + 801a244: 4b0a ldr r3, [pc, #40] ; (801a270 ) + 801a246: f240 1245 movw r2, #325 ; 0x145 + 801a24a: 490a ldr r1, [pc, #40] ; (801a274 ) + 801a24c: 480a ldr r0, [pc, #40] ; (801a278 ) + 801a24e: f000 fee1 bl 801b014 prev->next = ipr->next; - 801a6c2: 687b ldr r3, [r7, #4] - 801a6c4: 681a ldr r2, [r3, #0] - 801a6c6: 683b ldr r3, [r7, #0] - 801a6c8: 601a str r2, [r3, #0] + 801a252: 687b ldr r3, [r7, #4] + 801a254: 681a ldr r2, [r3, #0] + 801a256: 683b ldr r3, [r7, #0] + 801a258: 601a str r2, [r3, #0] } /* now we can free the ip_reassdata struct */ memp_free(MEMP_REASSDATA, ipr); - 801a6ca: 6879 ldr r1, [r7, #4] - 801a6cc: 2004 movs r0, #4 - 801a6ce: f7f5 fb17 bl 800fd00 + 801a25a: 6879 ldr r1, [r7, #4] + 801a25c: 2004 movs r0, #4 + 801a25e: f7f5 fb17 bl 800f890 } - 801a6d2: bf00 nop - 801a6d4: 3708 adds r7, #8 - 801a6d6: 46bd mov sp, r7 - 801a6d8: bd80 pop {r7, pc} - 801a6da: bf00 nop - 801a6dc: 2000886c .word 0x2000886c - 801a6e0: 0801f344 .word 0x0801f344 - 801a6e4: 0801f40c .word 0x0801f40c - 801a6e8: 0801f38c .word 0x0801f38c + 801a262: bf00 nop + 801a264: 3708 adds r7, #8 + 801a266: 46bd mov sp, r7 + 801a268: bd80 pop {r7, pc} + 801a26a: bf00 nop + 801a26c: 2000886c .word 0x2000886c + 801a270: 0801eb40 .word 0x0801eb40 + 801a274: 0801ec08 .word 0x0801ec08 + 801a278: 0801eb88 .word 0x0801eb88 -0801a6ec : +0801a27c : * @param is_last is 1 if this pbuf has MF==0 (ipr->flags not updated yet) * @return see IP_REASS_VALIDATE_* defines */ static int ip_reass_chain_frag_into_datagram_and_validate(struct ip_reassdata *ipr, struct pbuf *new_p, int is_last) { - 801a6ec: b580 push {r7, lr} - 801a6ee: b08c sub sp, #48 ; 0x30 - 801a6f0: af00 add r7, sp, #0 - 801a6f2: 60f8 str r0, [r7, #12] - 801a6f4: 60b9 str r1, [r7, #8] - 801a6f6: 607a str r2, [r7, #4] + 801a27c: b580 push {r7, lr} + 801a27e: b08c sub sp, #48 ; 0x30 + 801a280: af00 add r7, sp, #0 + 801a282: 60f8 str r0, [r7, #12] + 801a284: 60b9 str r1, [r7, #8] + 801a286: 607a str r2, [r7, #4] struct ip_reass_helper *iprh, *iprh_tmp, *iprh_prev = NULL; - 801a6f8: 2300 movs r3, #0 - 801a6fa: 62bb str r3, [r7, #40] ; 0x28 + 801a288: 2300 movs r3, #0 + 801a28a: 62bb str r3, [r7, #40] ; 0x28 struct pbuf *q; u16_t offset, len; u8_t hlen; struct ip_hdr *fraghdr; int valid = 1; - 801a6fc: 2301 movs r3, #1 - 801a6fe: 623b str r3, [r7, #32] + 801a28c: 2301 movs r3, #1 + 801a28e: 623b str r3, [r7, #32] /* Extract length and fragment offset from current fragment */ fraghdr = (struct ip_hdr *)new_p->payload; - 801a700: 68bb ldr r3, [r7, #8] - 801a702: 685b ldr r3, [r3, #4] - 801a704: 61fb str r3, [r7, #28] + 801a290: 68bb ldr r3, [r7, #8] + 801a292: 685b ldr r3, [r3, #4] + 801a294: 61fb str r3, [r7, #28] len = lwip_ntohs(IPH_LEN(fraghdr)); - 801a706: 69fb ldr r3, [r7, #28] - 801a708: 885b ldrh r3, [r3, #2] - 801a70a: b29b uxth r3, r3 - 801a70c: 4618 mov r0, r3 - 801a70e: f7f4 fdef bl 800f2f0 - 801a712: 4603 mov r3, r0 - 801a714: 837b strh r3, [r7, #26] + 801a296: 69fb ldr r3, [r7, #28] + 801a298: 885b ldrh r3, [r3, #2] + 801a29a: b29b uxth r3, r3 + 801a29c: 4618 mov r0, r3 + 801a29e: f7f4 fdef bl 800ee80 + 801a2a2: 4603 mov r3, r0 + 801a2a4: 837b strh r3, [r7, #26] hlen = IPH_HL_BYTES(fraghdr); - 801a716: 69fb ldr r3, [r7, #28] - 801a718: 781b ldrb r3, [r3, #0] - 801a71a: f003 030f and.w r3, r3, #15 - 801a71e: b2db uxtb r3, r3 - 801a720: 009b lsls r3, r3, #2 - 801a722: 767b strb r3, [r7, #25] + 801a2a6: 69fb ldr r3, [r7, #28] + 801a2a8: 781b ldrb r3, [r3, #0] + 801a2aa: f003 030f and.w r3, r3, #15 + 801a2ae: b2db uxtb r3, r3 + 801a2b0: 009b lsls r3, r3, #2 + 801a2b2: 767b strb r3, [r7, #25] if (hlen > len) { - 801a724: 7e7b ldrb r3, [r7, #25] - 801a726: b29b uxth r3, r3 - 801a728: 8b7a ldrh r2, [r7, #26] - 801a72a: 429a cmp r2, r3 - 801a72c: d202 bcs.n 801a734 + 801a2b4: 7e7b ldrb r3, [r7, #25] + 801a2b6: b29b uxth r3, r3 + 801a2b8: 8b7a ldrh r2, [r7, #26] + 801a2ba: 429a cmp r2, r3 + 801a2bc: d202 bcs.n 801a2c4 /* invalid datagram */ return IP_REASS_VALIDATE_PBUF_DROPPED; - 801a72e: f04f 33ff mov.w r3, #4294967295 - 801a732: e135 b.n 801a9a0 + 801a2be: f04f 33ff mov.w r3, #4294967295 + 801a2c2: e135 b.n 801a530 } len = (u16_t)(len - hlen); - 801a734: 7e7b ldrb r3, [r7, #25] - 801a736: b29b uxth r3, r3 - 801a738: 8b7a ldrh r2, [r7, #26] - 801a73a: 1ad3 subs r3, r2, r3 - 801a73c: 837b strh r3, [r7, #26] + 801a2c4: 7e7b ldrb r3, [r7, #25] + 801a2c6: b29b uxth r3, r3 + 801a2c8: 8b7a ldrh r2, [r7, #26] + 801a2ca: 1ad3 subs r3, r2, r3 + 801a2cc: 837b strh r3, [r7, #26] offset = IPH_OFFSET_BYTES(fraghdr); - 801a73e: 69fb ldr r3, [r7, #28] - 801a740: 88db ldrh r3, [r3, #6] - 801a742: b29b uxth r3, r3 - 801a744: 4618 mov r0, r3 - 801a746: f7f4 fdd3 bl 800f2f0 - 801a74a: 4603 mov r3, r0 - 801a74c: f3c3 030c ubfx r3, r3, #0, #13 - 801a750: b29b uxth r3, r3 - 801a752: 00db lsls r3, r3, #3 - 801a754: 82fb strh r3, [r7, #22] + 801a2ce: 69fb ldr r3, [r7, #28] + 801a2d0: 88db ldrh r3, [r3, #6] + 801a2d2: b29b uxth r3, r3 + 801a2d4: 4618 mov r0, r3 + 801a2d6: f7f4 fdd3 bl 800ee80 + 801a2da: 4603 mov r3, r0 + 801a2dc: f3c3 030c ubfx r3, r3, #0, #13 + 801a2e0: b29b uxth r3, r3 + 801a2e2: 00db lsls r3, r3, #3 + 801a2e4: 82fb strh r3, [r7, #22] /* overwrite the fragment's ip header from the pbuf with our helper struct, * and setup the embedded helper structure. */ /* make sure the struct ip_reass_helper fits into the IP header */ LWIP_ASSERT("sizeof(struct ip_reass_helper) <= IP_HLEN", sizeof(struct ip_reass_helper) <= IP_HLEN); iprh = (struct ip_reass_helper *)new_p->payload; - 801a756: 68bb ldr r3, [r7, #8] - 801a758: 685b ldr r3, [r3, #4] - 801a75a: 62fb str r3, [r7, #44] ; 0x2c + 801a2e6: 68bb ldr r3, [r7, #8] + 801a2e8: 685b ldr r3, [r3, #4] + 801a2ea: 62fb str r3, [r7, #44] ; 0x2c iprh->next_pbuf = NULL; - 801a75c: 6afb ldr r3, [r7, #44] ; 0x2c - 801a75e: 2200 movs r2, #0 - 801a760: 701a strb r2, [r3, #0] - 801a762: 2200 movs r2, #0 - 801a764: 705a strb r2, [r3, #1] - 801a766: 2200 movs r2, #0 - 801a768: 709a strb r2, [r3, #2] - 801a76a: 2200 movs r2, #0 - 801a76c: 70da strb r2, [r3, #3] + 801a2ec: 6afb ldr r3, [r7, #44] ; 0x2c + 801a2ee: 2200 movs r2, #0 + 801a2f0: 701a strb r2, [r3, #0] + 801a2f2: 2200 movs r2, #0 + 801a2f4: 705a strb r2, [r3, #1] + 801a2f6: 2200 movs r2, #0 + 801a2f8: 709a strb r2, [r3, #2] + 801a2fa: 2200 movs r2, #0 + 801a2fc: 70da strb r2, [r3, #3] iprh->start = offset; - 801a76e: 6afb ldr r3, [r7, #44] ; 0x2c - 801a770: 8afa ldrh r2, [r7, #22] - 801a772: 809a strh r2, [r3, #4] + 801a2fe: 6afb ldr r3, [r7, #44] ; 0x2c + 801a300: 8afa ldrh r2, [r7, #22] + 801a302: 809a strh r2, [r3, #4] iprh->end = (u16_t)(offset + len); - 801a774: 8afa ldrh r2, [r7, #22] - 801a776: 8b7b ldrh r3, [r7, #26] - 801a778: 4413 add r3, r2 - 801a77a: b29a uxth r2, r3 - 801a77c: 6afb ldr r3, [r7, #44] ; 0x2c - 801a77e: 80da strh r2, [r3, #6] + 801a304: 8afa ldrh r2, [r7, #22] + 801a306: 8b7b ldrh r3, [r7, #26] + 801a308: 4413 add r3, r2 + 801a30a: b29a uxth r2, r3 + 801a30c: 6afb ldr r3, [r7, #44] ; 0x2c + 801a30e: 80da strh r2, [r3, #6] if (iprh->end < offset) { - 801a780: 6afb ldr r3, [r7, #44] ; 0x2c - 801a782: 88db ldrh r3, [r3, #6] - 801a784: b29b uxth r3, r3 - 801a786: 8afa ldrh r2, [r7, #22] - 801a788: 429a cmp r2, r3 - 801a78a: d902 bls.n 801a792 + 801a310: 6afb ldr r3, [r7, #44] ; 0x2c + 801a312: 88db ldrh r3, [r3, #6] + 801a314: b29b uxth r3, r3 + 801a316: 8afa ldrh r2, [r7, #22] + 801a318: 429a cmp r2, r3 + 801a31a: d902 bls.n 801a322 /* u16_t overflow, cannot handle this */ return IP_REASS_VALIDATE_PBUF_DROPPED; - 801a78c: f04f 33ff mov.w r3, #4294967295 - 801a790: e106 b.n 801a9a0 + 801a31c: f04f 33ff mov.w r3, #4294967295 + 801a320: e106 b.n 801a530 } /* Iterate through until we either get to the end of the list (append), * or we find one with a larger offset (insert). */ for (q = ipr->p; q != NULL;) { - 801a792: 68fb ldr r3, [r7, #12] - 801a794: 685b ldr r3, [r3, #4] - 801a796: 627b str r3, [r7, #36] ; 0x24 - 801a798: e068 b.n 801a86c + 801a322: 68fb ldr r3, [r7, #12] + 801a324: 685b ldr r3, [r3, #4] + 801a326: 627b str r3, [r7, #36] ; 0x24 + 801a328: e068 b.n 801a3fc iprh_tmp = (struct ip_reass_helper *)q->payload; - 801a79a: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a79c: 685b ldr r3, [r3, #4] - 801a79e: 613b str r3, [r7, #16] + 801a32a: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a32c: 685b ldr r3, [r3, #4] + 801a32e: 613b str r3, [r7, #16] if (iprh->start < iprh_tmp->start) { - 801a7a0: 6afb ldr r3, [r7, #44] ; 0x2c - 801a7a2: 889b ldrh r3, [r3, #4] - 801a7a4: b29a uxth r2, r3 - 801a7a6: 693b ldr r3, [r7, #16] - 801a7a8: 889b ldrh r3, [r3, #4] - 801a7aa: b29b uxth r3, r3 - 801a7ac: 429a cmp r2, r3 - 801a7ae: d235 bcs.n 801a81c + 801a330: 6afb ldr r3, [r7, #44] ; 0x2c + 801a332: 889b ldrh r3, [r3, #4] + 801a334: b29a uxth r2, r3 + 801a336: 693b ldr r3, [r7, #16] + 801a338: 889b ldrh r3, [r3, #4] + 801a33a: b29b uxth r3, r3 + 801a33c: 429a cmp r2, r3 + 801a33e: d235 bcs.n 801a3ac /* the new pbuf should be inserted before this */ iprh->next_pbuf = q; - 801a7b0: 6afb ldr r3, [r7, #44] ; 0x2c - 801a7b2: 6a7a ldr r2, [r7, #36] ; 0x24 - 801a7b4: 601a str r2, [r3, #0] + 801a340: 6afb ldr r3, [r7, #44] ; 0x2c + 801a342: 6a7a ldr r2, [r7, #36] ; 0x24 + 801a344: 601a str r2, [r3, #0] if (iprh_prev != NULL) { - 801a7b6: 6abb ldr r3, [r7, #40] ; 0x28 - 801a7b8: 2b00 cmp r3, #0 - 801a7ba: d020 beq.n 801a7fe + 801a346: 6abb ldr r3, [r7, #40] ; 0x28 + 801a348: 2b00 cmp r3, #0 + 801a34a: d020 beq.n 801a38e /* not the fragment with the lowest offset */ #if IP_REASS_CHECK_OVERLAP if ((iprh->start < iprh_prev->end) || (iprh->end > iprh_tmp->start)) { - 801a7bc: 6afb ldr r3, [r7, #44] ; 0x2c - 801a7be: 889b ldrh r3, [r3, #4] - 801a7c0: b29a uxth r2, r3 - 801a7c2: 6abb ldr r3, [r7, #40] ; 0x28 - 801a7c4: 88db ldrh r3, [r3, #6] - 801a7c6: b29b uxth r3, r3 - 801a7c8: 429a cmp r2, r3 - 801a7ca: d307 bcc.n 801a7dc - 801a7cc: 6afb ldr r3, [r7, #44] ; 0x2c - 801a7ce: 88db ldrh r3, [r3, #6] - 801a7d0: b29a uxth r2, r3 - 801a7d2: 693b ldr r3, [r7, #16] - 801a7d4: 889b ldrh r3, [r3, #4] - 801a7d6: b29b uxth r3, r3 - 801a7d8: 429a cmp r2, r3 - 801a7da: d902 bls.n 801a7e2 + 801a34c: 6afb ldr r3, [r7, #44] ; 0x2c + 801a34e: 889b ldrh r3, [r3, #4] + 801a350: b29a uxth r2, r3 + 801a352: 6abb ldr r3, [r7, #40] ; 0x28 + 801a354: 88db ldrh r3, [r3, #6] + 801a356: b29b uxth r3, r3 + 801a358: 429a cmp r2, r3 + 801a35a: d307 bcc.n 801a36c + 801a35c: 6afb ldr r3, [r7, #44] ; 0x2c + 801a35e: 88db ldrh r3, [r3, #6] + 801a360: b29a uxth r2, r3 + 801a362: 693b ldr r3, [r7, #16] + 801a364: 889b ldrh r3, [r3, #4] + 801a366: b29b uxth r3, r3 + 801a368: 429a cmp r2, r3 + 801a36a: d902 bls.n 801a372 /* fragment overlaps with previous or following, throw away */ return IP_REASS_VALIDATE_PBUF_DROPPED; - 801a7dc: f04f 33ff mov.w r3, #4294967295 - 801a7e0: e0de b.n 801a9a0 + 801a36c: f04f 33ff mov.w r3, #4294967295 + 801a370: e0de b.n 801a530 } #endif /* IP_REASS_CHECK_OVERLAP */ iprh_prev->next_pbuf = new_p; - 801a7e2: 6abb ldr r3, [r7, #40] ; 0x28 - 801a7e4: 68ba ldr r2, [r7, #8] - 801a7e6: 601a str r2, [r3, #0] + 801a372: 6abb ldr r3, [r7, #40] ; 0x28 + 801a374: 68ba ldr r2, [r7, #8] + 801a376: 601a str r2, [r3, #0] if (iprh_prev->end != iprh->start) { - 801a7e8: 6abb ldr r3, [r7, #40] ; 0x28 - 801a7ea: 88db ldrh r3, [r3, #6] - 801a7ec: b29a uxth r2, r3 - 801a7ee: 6afb ldr r3, [r7, #44] ; 0x2c - 801a7f0: 889b ldrh r3, [r3, #4] - 801a7f2: b29b uxth r3, r3 - 801a7f4: 429a cmp r2, r3 - 801a7f6: d03d beq.n 801a874 + 801a378: 6abb ldr r3, [r7, #40] ; 0x28 + 801a37a: 88db ldrh r3, [r3, #6] + 801a37c: b29a uxth r2, r3 + 801a37e: 6afb ldr r3, [r7, #44] ; 0x2c + 801a380: 889b ldrh r3, [r3, #4] + 801a382: b29b uxth r3, r3 + 801a384: 429a cmp r2, r3 + 801a386: d03d beq.n 801a404 /* There is a fragment missing between the current * and the previous fragment */ valid = 0; - 801a7f8: 2300 movs r3, #0 - 801a7fa: 623b str r3, [r7, #32] + 801a388: 2300 movs r3, #0 + 801a38a: 623b str r3, [r7, #32] } #endif /* IP_REASS_CHECK_OVERLAP */ /* fragment with the lowest offset */ ipr->p = new_p; } break; - 801a7fc: e03a b.n 801a874 + 801a38c: e03a b.n 801a404 if (iprh->end > iprh_tmp->start) { - 801a7fe: 6afb ldr r3, [r7, #44] ; 0x2c - 801a800: 88db ldrh r3, [r3, #6] - 801a802: b29a uxth r2, r3 - 801a804: 693b ldr r3, [r7, #16] - 801a806: 889b ldrh r3, [r3, #4] - 801a808: b29b uxth r3, r3 - 801a80a: 429a cmp r2, r3 - 801a80c: d902 bls.n 801a814 + 801a38e: 6afb ldr r3, [r7, #44] ; 0x2c + 801a390: 88db ldrh r3, [r3, #6] + 801a392: b29a uxth r2, r3 + 801a394: 693b ldr r3, [r7, #16] + 801a396: 889b ldrh r3, [r3, #4] + 801a398: b29b uxth r3, r3 + 801a39a: 429a cmp r2, r3 + 801a39c: d902 bls.n 801a3a4 return IP_REASS_VALIDATE_PBUF_DROPPED; - 801a80e: f04f 33ff mov.w r3, #4294967295 - 801a812: e0c5 b.n 801a9a0 + 801a39e: f04f 33ff mov.w r3, #4294967295 + 801a3a2: e0c5 b.n 801a530 ipr->p = new_p; - 801a814: 68fb ldr r3, [r7, #12] - 801a816: 68ba ldr r2, [r7, #8] - 801a818: 605a str r2, [r3, #4] + 801a3a4: 68fb ldr r3, [r7, #12] + 801a3a6: 68ba ldr r2, [r7, #8] + 801a3a8: 605a str r2, [r3, #4] break; - 801a81a: e02b b.n 801a874 + 801a3aa: e02b b.n 801a404 } else if (iprh->start == iprh_tmp->start) { - 801a81c: 6afb ldr r3, [r7, #44] ; 0x2c - 801a81e: 889b ldrh r3, [r3, #4] - 801a820: b29a uxth r2, r3 - 801a822: 693b ldr r3, [r7, #16] - 801a824: 889b ldrh r3, [r3, #4] - 801a826: b29b uxth r3, r3 - 801a828: 429a cmp r2, r3 - 801a82a: d102 bne.n 801a832 + 801a3ac: 6afb ldr r3, [r7, #44] ; 0x2c + 801a3ae: 889b ldrh r3, [r3, #4] + 801a3b0: b29a uxth r2, r3 + 801a3b2: 693b ldr r3, [r7, #16] + 801a3b4: 889b ldrh r3, [r3, #4] + 801a3b6: b29b uxth r3, r3 + 801a3b8: 429a cmp r2, r3 + 801a3ba: d102 bne.n 801a3c2 /* received the same datagram twice: no need to keep the datagram */ return IP_REASS_VALIDATE_PBUF_DROPPED; - 801a82c: f04f 33ff mov.w r3, #4294967295 - 801a830: e0b6 b.n 801a9a0 + 801a3bc: f04f 33ff mov.w r3, #4294967295 + 801a3c0: e0b6 b.n 801a530 #if IP_REASS_CHECK_OVERLAP } else if (iprh->start < iprh_tmp->end) { - 801a832: 6afb ldr r3, [r7, #44] ; 0x2c - 801a834: 889b ldrh r3, [r3, #4] - 801a836: b29a uxth r2, r3 - 801a838: 693b ldr r3, [r7, #16] - 801a83a: 88db ldrh r3, [r3, #6] - 801a83c: b29b uxth r3, r3 - 801a83e: 429a cmp r2, r3 - 801a840: d202 bcs.n 801a848 + 801a3c2: 6afb ldr r3, [r7, #44] ; 0x2c + 801a3c4: 889b ldrh r3, [r3, #4] + 801a3c6: b29a uxth r2, r3 + 801a3c8: 693b ldr r3, [r7, #16] + 801a3ca: 88db ldrh r3, [r3, #6] + 801a3cc: b29b uxth r3, r3 + 801a3ce: 429a cmp r2, r3 + 801a3d0: d202 bcs.n 801a3d8 /* overlap: no need to keep the new datagram */ return IP_REASS_VALIDATE_PBUF_DROPPED; - 801a842: f04f 33ff mov.w r3, #4294967295 - 801a846: e0ab b.n 801a9a0 + 801a3d2: f04f 33ff mov.w r3, #4294967295 + 801a3d6: e0ab b.n 801a530 #endif /* IP_REASS_CHECK_OVERLAP */ } else { /* Check if the fragments received so far have no holes. */ if (iprh_prev != NULL) { - 801a848: 6abb ldr r3, [r7, #40] ; 0x28 - 801a84a: 2b00 cmp r3, #0 - 801a84c: d009 beq.n 801a862 + 801a3d8: 6abb ldr r3, [r7, #40] ; 0x28 + 801a3da: 2b00 cmp r3, #0 + 801a3dc: d009 beq.n 801a3f2 if (iprh_prev->end != iprh_tmp->start) { - 801a84e: 6abb ldr r3, [r7, #40] ; 0x28 - 801a850: 88db ldrh r3, [r3, #6] - 801a852: b29a uxth r2, r3 - 801a854: 693b ldr r3, [r7, #16] - 801a856: 889b ldrh r3, [r3, #4] - 801a858: b29b uxth r3, r3 - 801a85a: 429a cmp r2, r3 - 801a85c: d001 beq.n 801a862 + 801a3de: 6abb ldr r3, [r7, #40] ; 0x28 + 801a3e0: 88db ldrh r3, [r3, #6] + 801a3e2: b29a uxth r2, r3 + 801a3e4: 693b ldr r3, [r7, #16] + 801a3e6: 889b ldrh r3, [r3, #4] + 801a3e8: b29b uxth r3, r3 + 801a3ea: 429a cmp r2, r3 + 801a3ec: d001 beq.n 801a3f2 /* There is a fragment missing between the current * and the previous fragment */ valid = 0; - 801a85e: 2300 movs r3, #0 - 801a860: 623b str r3, [r7, #32] + 801a3ee: 2300 movs r3, #0 + 801a3f0: 623b str r3, [r7, #32] } } } q = iprh_tmp->next_pbuf; - 801a862: 693b ldr r3, [r7, #16] - 801a864: 681b ldr r3, [r3, #0] - 801a866: 627b str r3, [r7, #36] ; 0x24 + 801a3f2: 693b ldr r3, [r7, #16] + 801a3f4: 681b ldr r3, [r3, #0] + 801a3f6: 627b str r3, [r7, #36] ; 0x24 iprh_prev = iprh_tmp; - 801a868: 693b ldr r3, [r7, #16] - 801a86a: 62bb str r3, [r7, #40] ; 0x28 + 801a3f8: 693b ldr r3, [r7, #16] + 801a3fa: 62bb str r3, [r7, #40] ; 0x28 for (q = ipr->p; q != NULL;) { - 801a86c: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a86e: 2b00 cmp r3, #0 - 801a870: d193 bne.n 801a79a - 801a872: e000 b.n 801a876 + 801a3fc: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a3fe: 2b00 cmp r3, #0 + 801a400: d193 bne.n 801a32a + 801a402: e000 b.n 801a406 break; - 801a874: bf00 nop + 801a404: bf00 nop } /* If q is NULL, then we made it to the end of the list. Determine what to do now */ if (q == NULL) { - 801a876: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a878: 2b00 cmp r3, #0 - 801a87a: d12d bne.n 801a8d8 + 801a406: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a408: 2b00 cmp r3, #0 + 801a40a: d12d bne.n 801a468 if (iprh_prev != NULL) { - 801a87c: 6abb ldr r3, [r7, #40] ; 0x28 - 801a87e: 2b00 cmp r3, #0 - 801a880: d01c beq.n 801a8bc + 801a40c: 6abb ldr r3, [r7, #40] ; 0x28 + 801a40e: 2b00 cmp r3, #0 + 801a410: d01c beq.n 801a44c /* this is (for now), the fragment with the highest offset: * chain it to the last fragment */ #if IP_REASS_CHECK_OVERLAP LWIP_ASSERT("check fragments don't overlap", iprh_prev->end <= iprh->start); - 801a882: 6abb ldr r3, [r7, #40] ; 0x28 - 801a884: 88db ldrh r3, [r3, #6] - 801a886: b29a uxth r2, r3 - 801a888: 6afb ldr r3, [r7, #44] ; 0x2c - 801a88a: 889b ldrh r3, [r3, #4] - 801a88c: b29b uxth r3, r3 - 801a88e: 429a cmp r2, r3 - 801a890: d906 bls.n 801a8a0 - 801a892: 4b45 ldr r3, [pc, #276] ; (801a9a8 ) - 801a894: f44f 72db mov.w r2, #438 ; 0x1b6 - 801a898: 4944 ldr r1, [pc, #272] ; (801a9ac ) - 801a89a: 4845 ldr r0, [pc, #276] ; (801a9b0 ) - 801a89c: f000 fe0c bl 801b4b8 + 801a412: 6abb ldr r3, [r7, #40] ; 0x28 + 801a414: 88db ldrh r3, [r3, #6] + 801a416: b29a uxth r2, r3 + 801a418: 6afb ldr r3, [r7, #44] ; 0x2c + 801a41a: 889b ldrh r3, [r3, #4] + 801a41c: b29b uxth r3, r3 + 801a41e: 429a cmp r2, r3 + 801a420: d906 bls.n 801a430 + 801a422: 4b45 ldr r3, [pc, #276] ; (801a538 ) + 801a424: f44f 72db mov.w r2, #438 ; 0x1b6 + 801a428: 4944 ldr r1, [pc, #272] ; (801a53c ) + 801a42a: 4845 ldr r0, [pc, #276] ; (801a540 ) + 801a42c: f000 fdf2 bl 801b014 #endif /* IP_REASS_CHECK_OVERLAP */ iprh_prev->next_pbuf = new_p; - 801a8a0: 6abb ldr r3, [r7, #40] ; 0x28 - 801a8a2: 68ba ldr r2, [r7, #8] - 801a8a4: 601a str r2, [r3, #0] + 801a430: 6abb ldr r3, [r7, #40] ; 0x28 + 801a432: 68ba ldr r2, [r7, #8] + 801a434: 601a str r2, [r3, #0] if (iprh_prev->end != iprh->start) { - 801a8a6: 6abb ldr r3, [r7, #40] ; 0x28 - 801a8a8: 88db ldrh r3, [r3, #6] - 801a8aa: b29a uxth r2, r3 - 801a8ac: 6afb ldr r3, [r7, #44] ; 0x2c - 801a8ae: 889b ldrh r3, [r3, #4] - 801a8b0: b29b uxth r3, r3 - 801a8b2: 429a cmp r2, r3 - 801a8b4: d010 beq.n 801a8d8 + 801a436: 6abb ldr r3, [r7, #40] ; 0x28 + 801a438: 88db ldrh r3, [r3, #6] + 801a43a: b29a uxth r2, r3 + 801a43c: 6afb ldr r3, [r7, #44] ; 0x2c + 801a43e: 889b ldrh r3, [r3, #4] + 801a440: b29b uxth r3, r3 + 801a442: 429a cmp r2, r3 + 801a444: d010 beq.n 801a468 valid = 0; - 801a8b6: 2300 movs r3, #0 - 801a8b8: 623b str r3, [r7, #32] - 801a8ba: e00d b.n 801a8d8 + 801a446: 2300 movs r3, #0 + 801a448: 623b str r3, [r7, #32] + 801a44a: e00d b.n 801a468 } } else { #if IP_REASS_CHECK_OVERLAP LWIP_ASSERT("no previous fragment, this must be the first fragment!", - 801a8bc: 68fb ldr r3, [r7, #12] - 801a8be: 685b ldr r3, [r3, #4] - 801a8c0: 2b00 cmp r3, #0 - 801a8c2: d006 beq.n 801a8d2 - 801a8c4: 4b38 ldr r3, [pc, #224] ; (801a9a8 ) - 801a8c6: f240 12bf movw r2, #447 ; 0x1bf - 801a8ca: 493a ldr r1, [pc, #232] ; (801a9b4 ) - 801a8cc: 4838 ldr r0, [pc, #224] ; (801a9b0 ) - 801a8ce: f000 fdf3 bl 801b4b8 + 801a44c: 68fb ldr r3, [r7, #12] + 801a44e: 685b ldr r3, [r3, #4] + 801a450: 2b00 cmp r3, #0 + 801a452: d006 beq.n 801a462 + 801a454: 4b38 ldr r3, [pc, #224] ; (801a538 ) + 801a456: f240 12bf movw r2, #447 ; 0x1bf + 801a45a: 493a ldr r1, [pc, #232] ; (801a544 ) + 801a45c: 4838 ldr r0, [pc, #224] ; (801a540 ) + 801a45e: f000 fdd9 bl 801b014 ipr->p == NULL); #endif /* IP_REASS_CHECK_OVERLAP */ /* this is the first fragment we ever received for this ip datagram */ ipr->p = new_p; - 801a8d2: 68fb ldr r3, [r7, #12] - 801a8d4: 68ba ldr r2, [r7, #8] - 801a8d6: 605a str r2, [r3, #4] + 801a462: 68fb ldr r3, [r7, #12] + 801a464: 68ba ldr r2, [r7, #8] + 801a466: 605a str r2, [r3, #4] } } /* At this point, the validation part begins: */ /* If we already received the last fragment */ if (is_last || ((ipr->flags & IP_REASS_FLAG_LASTFRAG) != 0)) { - 801a8d8: 687b ldr r3, [r7, #4] - 801a8da: 2b00 cmp r3, #0 - 801a8dc: d105 bne.n 801a8ea - 801a8de: 68fb ldr r3, [r7, #12] - 801a8e0: 7f9b ldrb r3, [r3, #30] - 801a8e2: f003 0301 and.w r3, r3, #1 - 801a8e6: 2b00 cmp r3, #0 - 801a8e8: d059 beq.n 801a99e + 801a468: 687b ldr r3, [r7, #4] + 801a46a: 2b00 cmp r3, #0 + 801a46c: d105 bne.n 801a47a + 801a46e: 68fb ldr r3, [r7, #12] + 801a470: 7f9b ldrb r3, [r3, #30] + 801a472: f003 0301 and.w r3, r3, #1 + 801a476: 2b00 cmp r3, #0 + 801a478: d059 beq.n 801a52e /* and had no holes so far */ if (valid) { - 801a8ea: 6a3b ldr r3, [r7, #32] - 801a8ec: 2b00 cmp r3, #0 - 801a8ee: d04f beq.n 801a990 + 801a47a: 6a3b ldr r3, [r7, #32] + 801a47c: 2b00 cmp r3, #0 + 801a47e: d04f beq.n 801a520 /* then check if the rest of the fragments is here */ /* Check if the queue starts with the first datagram */ if ((ipr->p == NULL) || (((struct ip_reass_helper *)ipr->p->payload)->start != 0)) { - 801a8f0: 68fb ldr r3, [r7, #12] - 801a8f2: 685b ldr r3, [r3, #4] - 801a8f4: 2b00 cmp r3, #0 - 801a8f6: d006 beq.n 801a906 - 801a8f8: 68fb ldr r3, [r7, #12] - 801a8fa: 685b ldr r3, [r3, #4] - 801a8fc: 685b ldr r3, [r3, #4] - 801a8fe: 889b ldrh r3, [r3, #4] - 801a900: b29b uxth r3, r3 - 801a902: 2b00 cmp r3, #0 - 801a904: d002 beq.n 801a90c + 801a480: 68fb ldr r3, [r7, #12] + 801a482: 685b ldr r3, [r3, #4] + 801a484: 2b00 cmp r3, #0 + 801a486: d006 beq.n 801a496 + 801a488: 68fb ldr r3, [r7, #12] + 801a48a: 685b ldr r3, [r3, #4] + 801a48c: 685b ldr r3, [r3, #4] + 801a48e: 889b ldrh r3, [r3, #4] + 801a490: b29b uxth r3, r3 + 801a492: 2b00 cmp r3, #0 + 801a494: d002 beq.n 801a49c valid = 0; - 801a906: 2300 movs r3, #0 - 801a908: 623b str r3, [r7, #32] - 801a90a: e041 b.n 801a990 + 801a496: 2300 movs r3, #0 + 801a498: 623b str r3, [r7, #32] + 801a49a: e041 b.n 801a520 } else { /* and check that there are no holes after this datagram */ iprh_prev = iprh; - 801a90c: 6afb ldr r3, [r7, #44] ; 0x2c - 801a90e: 62bb str r3, [r7, #40] ; 0x28 + 801a49c: 6afb ldr r3, [r7, #44] ; 0x2c + 801a49e: 62bb str r3, [r7, #40] ; 0x28 q = iprh->next_pbuf; - 801a910: 6afb ldr r3, [r7, #44] ; 0x2c - 801a912: 681b ldr r3, [r3, #0] - 801a914: 627b str r3, [r7, #36] ; 0x24 + 801a4a0: 6afb ldr r3, [r7, #44] ; 0x2c + 801a4a2: 681b ldr r3, [r3, #0] + 801a4a4: 627b str r3, [r7, #36] ; 0x24 while (q != NULL) { - 801a916: e012 b.n 801a93e + 801a4a6: e012 b.n 801a4ce iprh = (struct ip_reass_helper *)q->payload; - 801a918: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a91a: 685b ldr r3, [r3, #4] - 801a91c: 62fb str r3, [r7, #44] ; 0x2c + 801a4a8: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a4aa: 685b ldr r3, [r3, #4] + 801a4ac: 62fb str r3, [r7, #44] ; 0x2c if (iprh_prev->end != iprh->start) { - 801a91e: 6abb ldr r3, [r7, #40] ; 0x28 - 801a920: 88db ldrh r3, [r3, #6] - 801a922: b29a uxth r2, r3 - 801a924: 6afb ldr r3, [r7, #44] ; 0x2c - 801a926: 889b ldrh r3, [r3, #4] - 801a928: b29b uxth r3, r3 - 801a92a: 429a cmp r2, r3 - 801a92c: d002 beq.n 801a934 + 801a4ae: 6abb ldr r3, [r7, #40] ; 0x28 + 801a4b0: 88db ldrh r3, [r3, #6] + 801a4b2: b29a uxth r2, r3 + 801a4b4: 6afb ldr r3, [r7, #44] ; 0x2c + 801a4b6: 889b ldrh r3, [r3, #4] + 801a4b8: b29b uxth r3, r3 + 801a4ba: 429a cmp r2, r3 + 801a4bc: d002 beq.n 801a4c4 valid = 0; - 801a92e: 2300 movs r3, #0 - 801a930: 623b str r3, [r7, #32] + 801a4be: 2300 movs r3, #0 + 801a4c0: 623b str r3, [r7, #32] break; - 801a932: e007 b.n 801a944 + 801a4c2: e007 b.n 801a4d4 } iprh_prev = iprh; - 801a934: 6afb ldr r3, [r7, #44] ; 0x2c - 801a936: 62bb str r3, [r7, #40] ; 0x28 + 801a4c4: 6afb ldr r3, [r7, #44] ; 0x2c + 801a4c6: 62bb str r3, [r7, #40] ; 0x28 q = iprh->next_pbuf; - 801a938: 6afb ldr r3, [r7, #44] ; 0x2c - 801a93a: 681b ldr r3, [r3, #0] - 801a93c: 627b str r3, [r7, #36] ; 0x24 + 801a4c8: 6afb ldr r3, [r7, #44] ; 0x2c + 801a4ca: 681b ldr r3, [r3, #0] + 801a4cc: 627b str r3, [r7, #36] ; 0x24 while (q != NULL) { - 801a93e: 6a7b ldr r3, [r7, #36] ; 0x24 - 801a940: 2b00 cmp r3, #0 - 801a942: d1e9 bne.n 801a918 + 801a4ce: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a4d0: 2b00 cmp r3, #0 + 801a4d2: d1e9 bne.n 801a4a8 } /* if still valid, all fragments are received * (because to the MF==0 already arrived */ if (valid) { - 801a944: 6a3b ldr r3, [r7, #32] - 801a946: 2b00 cmp r3, #0 - 801a948: d022 beq.n 801a990 + 801a4d4: 6a3b ldr r3, [r7, #32] + 801a4d6: 2b00 cmp r3, #0 + 801a4d8: d022 beq.n 801a520 LWIP_ASSERT("sanity check", ipr->p != NULL); - 801a94a: 68fb ldr r3, [r7, #12] - 801a94c: 685b ldr r3, [r3, #4] - 801a94e: 2b00 cmp r3, #0 - 801a950: d106 bne.n 801a960 - 801a952: 4b15 ldr r3, [pc, #84] ; (801a9a8 ) - 801a954: f240 12df movw r2, #479 ; 0x1df - 801a958: 4917 ldr r1, [pc, #92] ; (801a9b8 ) - 801a95a: 4815 ldr r0, [pc, #84] ; (801a9b0 ) - 801a95c: f000 fdac bl 801b4b8 + 801a4da: 68fb ldr r3, [r7, #12] + 801a4dc: 685b ldr r3, [r3, #4] + 801a4de: 2b00 cmp r3, #0 + 801a4e0: d106 bne.n 801a4f0 + 801a4e2: 4b15 ldr r3, [pc, #84] ; (801a538 ) + 801a4e4: f240 12df movw r2, #479 ; 0x1df + 801a4e8: 4917 ldr r1, [pc, #92] ; (801a548 ) + 801a4ea: 4815 ldr r0, [pc, #84] ; (801a540 ) + 801a4ec: f000 fd92 bl 801b014 LWIP_ASSERT("sanity check", - 801a960: 68fb ldr r3, [r7, #12] - 801a962: 685b ldr r3, [r3, #4] - 801a964: 685b ldr r3, [r3, #4] - 801a966: 6afa ldr r2, [r7, #44] ; 0x2c - 801a968: 429a cmp r2, r3 - 801a96a: d106 bne.n 801a97a - 801a96c: 4b0e ldr r3, [pc, #56] ; (801a9a8 ) - 801a96e: f240 12e1 movw r2, #481 ; 0x1e1 - 801a972: 4911 ldr r1, [pc, #68] ; (801a9b8 ) - 801a974: 480e ldr r0, [pc, #56] ; (801a9b0 ) - 801a976: f000 fd9f bl 801b4b8 + 801a4f0: 68fb ldr r3, [r7, #12] + 801a4f2: 685b ldr r3, [r3, #4] + 801a4f4: 685b ldr r3, [r3, #4] + 801a4f6: 6afa ldr r2, [r7, #44] ; 0x2c + 801a4f8: 429a cmp r2, r3 + 801a4fa: d106 bne.n 801a50a + 801a4fc: 4b0e ldr r3, [pc, #56] ; (801a538 ) + 801a4fe: f240 12e1 movw r2, #481 ; 0x1e1 + 801a502: 4911 ldr r1, [pc, #68] ; (801a548 ) + 801a504: 480e ldr r0, [pc, #56] ; (801a540 ) + 801a506: f000 fd85 bl 801b014 ((struct ip_reass_helper *)ipr->p->payload) != iprh); LWIP_ASSERT("validate_datagram:next_pbuf!=NULL", - 801a97a: 6afb ldr r3, [r7, #44] ; 0x2c - 801a97c: 681b ldr r3, [r3, #0] - 801a97e: 2b00 cmp r3, #0 - 801a980: d006 beq.n 801a990 - 801a982: 4b09 ldr r3, [pc, #36] ; (801a9a8 ) - 801a984: f240 12e3 movw r2, #483 ; 0x1e3 - 801a988: 490c ldr r1, [pc, #48] ; (801a9bc ) - 801a98a: 4809 ldr r0, [pc, #36] ; (801a9b0 ) - 801a98c: f000 fd94 bl 801b4b8 + 801a50a: 6afb ldr r3, [r7, #44] ; 0x2c + 801a50c: 681b ldr r3, [r3, #0] + 801a50e: 2b00 cmp r3, #0 + 801a510: d006 beq.n 801a520 + 801a512: 4b09 ldr r3, [pc, #36] ; (801a538 ) + 801a514: f240 12e3 movw r2, #483 ; 0x1e3 + 801a518: 490c ldr r1, [pc, #48] ; (801a54c ) + 801a51a: 4809 ldr r0, [pc, #36] ; (801a540 ) + 801a51c: f000 fd7a bl 801b014 } } /* If valid is 0 here, there are some fragments missing in the middle * (since MF == 0 has already arrived). Such datagrams simply time out if * no more fragments are received... */ return valid ? IP_REASS_VALIDATE_TELEGRAM_FINISHED : IP_REASS_VALIDATE_PBUF_QUEUED; - 801a990: 6a3b ldr r3, [r7, #32] - 801a992: 2b00 cmp r3, #0 - 801a994: bf14 ite ne - 801a996: 2301 movne r3, #1 - 801a998: 2300 moveq r3, #0 - 801a99a: b2db uxtb r3, r3 - 801a99c: e000 b.n 801a9a0 + 801a520: 6a3b ldr r3, [r7, #32] + 801a522: 2b00 cmp r3, #0 + 801a524: bf14 ite ne + 801a526: 2301 movne r3, #1 + 801a528: 2300 moveq r3, #0 + 801a52a: b2db uxtb r3, r3 + 801a52c: e000 b.n 801a530 } /* If we come here, not all fragments were received, yet! */ return IP_REASS_VALIDATE_PBUF_QUEUED; /* not yet valid! */ - 801a99e: 2300 movs r3, #0 + 801a52e: 2300 movs r3, #0 } - 801a9a0: 4618 mov r0, r3 - 801a9a2: 3730 adds r7, #48 ; 0x30 - 801a9a4: 46bd mov sp, r7 - 801a9a6: bd80 pop {r7, pc} - 801a9a8: 0801f344 .word 0x0801f344 - 801a9ac: 0801f428 .word 0x0801f428 - 801a9b0: 0801f38c .word 0x0801f38c - 801a9b4: 0801f448 .word 0x0801f448 - 801a9b8: 0801f480 .word 0x0801f480 - 801a9bc: 0801f490 .word 0x0801f490 + 801a530: 4618 mov r0, r3 + 801a532: 3730 adds r7, #48 ; 0x30 + 801a534: 46bd mov sp, r7 + 801a536: bd80 pop {r7, pc} + 801a538: 0801eb40 .word 0x0801eb40 + 801a53c: 0801ec24 .word 0x0801ec24 + 801a540: 0801eb88 .word 0x0801eb88 + 801a544: 0801ec44 .word 0x0801ec44 + 801a548: 0801ec7c .word 0x0801ec7c + 801a54c: 0801ec8c .word 0x0801ec8c -0801a9c0 : +0801a550 : * @param p points to a pbuf chain of the fragment * @return NULL if reassembly is incomplete, ? otherwise */ struct pbuf * ip4_reass(struct pbuf *p) { - 801a9c0: b580 push {r7, lr} - 801a9c2: b08e sub sp, #56 ; 0x38 - 801a9c4: af00 add r7, sp, #0 - 801a9c6: 6078 str r0, [r7, #4] + 801a550: b580 push {r7, lr} + 801a552: b08e sub sp, #56 ; 0x38 + 801a554: af00 add r7, sp, #0 + 801a556: 6078 str r0, [r7, #4] int is_last; IPFRAG_STATS_INC(ip_frag.recv); MIB2_STATS_INC(mib2.ipreasmreqds); fraghdr = (struct ip_hdr *)p->payload; - 801a9c8: 687b ldr r3, [r7, #4] - 801a9ca: 685b ldr r3, [r3, #4] - 801a9cc: 62bb str r3, [r7, #40] ; 0x28 + 801a558: 687b ldr r3, [r7, #4] + 801a55a: 685b ldr r3, [r3, #4] + 801a55c: 62bb str r3, [r7, #40] ; 0x28 if (IPH_HL_BYTES(fraghdr) != IP_HLEN) { - 801a9ce: 6abb ldr r3, [r7, #40] ; 0x28 - 801a9d0: 781b ldrb r3, [r3, #0] - 801a9d2: f003 030f and.w r3, r3, #15 - 801a9d6: b2db uxtb r3, r3 - 801a9d8: 009b lsls r3, r3, #2 - 801a9da: b2db uxtb r3, r3 - 801a9dc: 2b14 cmp r3, #20 - 801a9de: f040 8167 bne.w 801acb0 + 801a55e: 6abb ldr r3, [r7, #40] ; 0x28 + 801a560: 781b ldrb r3, [r3, #0] + 801a562: f003 030f and.w r3, r3, #15 + 801a566: b2db uxtb r3, r3 + 801a568: 009b lsls r3, r3, #2 + 801a56a: b2db uxtb r3, r3 + 801a56c: 2b14 cmp r3, #20 + 801a56e: f040 8167 bne.w 801a840 LWIP_DEBUGF(IP_REASS_DEBUG, ("ip4_reass: IP options currently not supported!\n")); IPFRAG_STATS_INC(ip_frag.err); goto nullreturn; } offset = IPH_OFFSET_BYTES(fraghdr); - 801a9e2: 6abb ldr r3, [r7, #40] ; 0x28 - 801a9e4: 88db ldrh r3, [r3, #6] - 801a9e6: b29b uxth r3, r3 - 801a9e8: 4618 mov r0, r3 - 801a9ea: f7f4 fc81 bl 800f2f0 - 801a9ee: 4603 mov r3, r0 - 801a9f0: f3c3 030c ubfx r3, r3, #0, #13 - 801a9f4: b29b uxth r3, r3 - 801a9f6: 00db lsls r3, r3, #3 - 801a9f8: 84fb strh r3, [r7, #38] ; 0x26 + 801a572: 6abb ldr r3, [r7, #40] ; 0x28 + 801a574: 88db ldrh r3, [r3, #6] + 801a576: b29b uxth r3, r3 + 801a578: 4618 mov r0, r3 + 801a57a: f7f4 fc81 bl 800ee80 + 801a57e: 4603 mov r3, r0 + 801a580: f3c3 030c ubfx r3, r3, #0, #13 + 801a584: b29b uxth r3, r3 + 801a586: 00db lsls r3, r3, #3 + 801a588: 84fb strh r3, [r7, #38] ; 0x26 len = lwip_ntohs(IPH_LEN(fraghdr)); - 801a9fa: 6abb ldr r3, [r7, #40] ; 0x28 - 801a9fc: 885b ldrh r3, [r3, #2] - 801a9fe: b29b uxth r3, r3 - 801aa00: 4618 mov r0, r3 - 801aa02: f7f4 fc75 bl 800f2f0 - 801aa06: 4603 mov r3, r0 - 801aa08: 84bb strh r3, [r7, #36] ; 0x24 + 801a58a: 6abb ldr r3, [r7, #40] ; 0x28 + 801a58c: 885b ldrh r3, [r3, #2] + 801a58e: b29b uxth r3, r3 + 801a590: 4618 mov r0, r3 + 801a592: f7f4 fc75 bl 800ee80 + 801a596: 4603 mov r3, r0 + 801a598: 84bb strh r3, [r7, #36] ; 0x24 hlen = IPH_HL_BYTES(fraghdr); - 801aa0a: 6abb ldr r3, [r7, #40] ; 0x28 - 801aa0c: 781b ldrb r3, [r3, #0] - 801aa0e: f003 030f and.w r3, r3, #15 - 801aa12: b2db uxtb r3, r3 - 801aa14: 009b lsls r3, r3, #2 - 801aa16: f887 3023 strb.w r3, [r7, #35] ; 0x23 + 801a59a: 6abb ldr r3, [r7, #40] ; 0x28 + 801a59c: 781b ldrb r3, [r3, #0] + 801a59e: f003 030f and.w r3, r3, #15 + 801a5a2: b2db uxtb r3, r3 + 801a5a4: 009b lsls r3, r3, #2 + 801a5a6: f887 3023 strb.w r3, [r7, #35] ; 0x23 if (hlen > len) { - 801aa1a: f897 3023 ldrb.w r3, [r7, #35] ; 0x23 - 801aa1e: b29b uxth r3, r3 - 801aa20: 8cba ldrh r2, [r7, #36] ; 0x24 - 801aa22: 429a cmp r2, r3 - 801aa24: f0c0 8146 bcc.w 801acb4 + 801a5aa: f897 3023 ldrb.w r3, [r7, #35] ; 0x23 + 801a5ae: b29b uxth r3, r3 + 801a5b0: 8cba ldrh r2, [r7, #36] ; 0x24 + 801a5b2: 429a cmp r2, r3 + 801a5b4: f0c0 8146 bcc.w 801a844 /* invalid datagram */ goto nullreturn; } len = (u16_t)(len - hlen); - 801aa28: f897 3023 ldrb.w r3, [r7, #35] ; 0x23 - 801aa2c: b29b uxth r3, r3 - 801aa2e: 8cba ldrh r2, [r7, #36] ; 0x24 - 801aa30: 1ad3 subs r3, r2, r3 - 801aa32: 84bb strh r3, [r7, #36] ; 0x24 + 801a5b8: f897 3023 ldrb.w r3, [r7, #35] ; 0x23 + 801a5bc: b29b uxth r3, r3 + 801a5be: 8cba ldrh r2, [r7, #36] ; 0x24 + 801a5c0: 1ad3 subs r3, r2, r3 + 801a5c2: 84bb strh r3, [r7, #36] ; 0x24 /* Check if we are allowed to enqueue more datagrams. */ clen = pbuf_clen(p); - 801aa34: 6878 ldr r0, [r7, #4] - 801aa36: f7f6 f89d bl 8010b74 - 801aa3a: 4603 mov r3, r0 - 801aa3c: 843b strh r3, [r7, #32] + 801a5c4: 6878 ldr r0, [r7, #4] + 801a5c6: f7f6 f89d bl 8010704 + 801a5ca: 4603 mov r3, r0 + 801a5cc: 843b strh r3, [r7, #32] if ((ip_reass_pbufcount + clen) > IP_REASS_MAX_PBUFS) { - 801aa3e: 4ba3 ldr r3, [pc, #652] ; (801accc ) - 801aa40: 881b ldrh r3, [r3, #0] - 801aa42: 461a mov r2, r3 - 801aa44: 8c3b ldrh r3, [r7, #32] - 801aa46: 4413 add r3, r2 - 801aa48: 2b0a cmp r3, #10 - 801aa4a: dd10 ble.n 801aa6e + 801a5ce: 4ba3 ldr r3, [pc, #652] ; (801a85c ) + 801a5d0: 881b ldrh r3, [r3, #0] + 801a5d2: 461a mov r2, r3 + 801a5d4: 8c3b ldrh r3, [r7, #32] + 801a5d6: 4413 add r3, r2 + 801a5d8: 2b0a cmp r3, #10 + 801a5da: dd10 ble.n 801a5fe #if IP_REASS_FREE_OLDEST if (!ip_reass_remove_oldest_datagram(fraghdr, clen) || - 801aa4c: 8c3b ldrh r3, [r7, #32] - 801aa4e: 4619 mov r1, r3 - 801aa50: 6ab8 ldr r0, [r7, #40] ; 0x28 - 801aa52: f7ff fd81 bl 801a558 - 801aa56: 4603 mov r3, r0 - 801aa58: 2b00 cmp r3, #0 - 801aa5a: f000 812d beq.w 801acb8 + 801a5dc: 8c3b ldrh r3, [r7, #32] + 801a5de: 4619 mov r1, r3 + 801a5e0: 6ab8 ldr r0, [r7, #40] ; 0x28 + 801a5e2: f7ff fd81 bl 801a0e8 + 801a5e6: 4603 mov r3, r0 + 801a5e8: 2b00 cmp r3, #0 + 801a5ea: f000 812d beq.w 801a848 ((ip_reass_pbufcount + clen) > IP_REASS_MAX_PBUFS)) - 801aa5e: 4b9b ldr r3, [pc, #620] ; (801accc ) - 801aa60: 881b ldrh r3, [r3, #0] - 801aa62: 461a mov r2, r3 - 801aa64: 8c3b ldrh r3, [r7, #32] - 801aa66: 4413 add r3, r2 + 801a5ee: 4b9b ldr r3, [pc, #620] ; (801a85c ) + 801a5f0: 881b ldrh r3, [r3, #0] + 801a5f2: 461a mov r2, r3 + 801a5f4: 8c3b ldrh r3, [r7, #32] + 801a5f6: 4413 add r3, r2 if (!ip_reass_remove_oldest_datagram(fraghdr, clen) || - 801aa68: 2b0a cmp r3, #10 - 801aa6a: f300 8125 bgt.w 801acb8 + 801a5f8: 2b0a cmp r3, #10 + 801a5fa: f300 8125 bgt.w 801a848 } } /* Look for the datagram the fragment belongs to in the current datagram queue, * remembering the previous in the queue for later dequeueing. */ for (ipr = reassdatagrams; ipr != NULL; ipr = ipr->next) { - 801aa6e: 4b98 ldr r3, [pc, #608] ; (801acd0 ) - 801aa70: 681b ldr r3, [r3, #0] - 801aa72: 633b str r3, [r7, #48] ; 0x30 - 801aa74: e015 b.n 801aaa2 + 801a5fe: 4b98 ldr r3, [pc, #608] ; (801a860 ) + 801a600: 681b ldr r3, [r3, #0] + 801a602: 633b str r3, [r7, #48] ; 0x30 + 801a604: e015 b.n 801a632 /* Check if the incoming fragment matches the one currently present in the reassembly buffer. If so, we proceed with copying the fragment into the buffer. */ if (IP_ADDRESSES_AND_ID_MATCH(&ipr->iphdr, fraghdr)) { - 801aa76: 6b3b ldr r3, [r7, #48] ; 0x30 - 801aa78: 695a ldr r2, [r3, #20] - 801aa7a: 6abb ldr r3, [r7, #40] ; 0x28 - 801aa7c: 68db ldr r3, [r3, #12] - 801aa7e: 429a cmp r2, r3 - 801aa80: d10c bne.n 801aa9c - 801aa82: 6b3b ldr r3, [r7, #48] ; 0x30 - 801aa84: 699a ldr r2, [r3, #24] - 801aa86: 6abb ldr r3, [r7, #40] ; 0x28 - 801aa88: 691b ldr r3, [r3, #16] - 801aa8a: 429a cmp r2, r3 - 801aa8c: d106 bne.n 801aa9c - 801aa8e: 6b3b ldr r3, [r7, #48] ; 0x30 - 801aa90: 899a ldrh r2, [r3, #12] - 801aa92: 6abb ldr r3, [r7, #40] ; 0x28 - 801aa94: 889b ldrh r3, [r3, #4] - 801aa96: b29b uxth r3, r3 - 801aa98: 429a cmp r2, r3 - 801aa9a: d006 beq.n 801aaaa + 801a606: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a608: 695a ldr r2, [r3, #20] + 801a60a: 6abb ldr r3, [r7, #40] ; 0x28 + 801a60c: 68db ldr r3, [r3, #12] + 801a60e: 429a cmp r2, r3 + 801a610: d10c bne.n 801a62c + 801a612: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a614: 699a ldr r2, [r3, #24] + 801a616: 6abb ldr r3, [r7, #40] ; 0x28 + 801a618: 691b ldr r3, [r3, #16] + 801a61a: 429a cmp r2, r3 + 801a61c: d106 bne.n 801a62c + 801a61e: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a620: 899a ldrh r2, [r3, #12] + 801a622: 6abb ldr r3, [r7, #40] ; 0x28 + 801a624: 889b ldrh r3, [r3, #4] + 801a626: b29b uxth r3, r3 + 801a628: 429a cmp r2, r3 + 801a62a: d006 beq.n 801a63a for (ipr = reassdatagrams; ipr != NULL; ipr = ipr->next) { - 801aa9c: 6b3b ldr r3, [r7, #48] ; 0x30 - 801aa9e: 681b ldr r3, [r3, #0] - 801aaa0: 633b str r3, [r7, #48] ; 0x30 - 801aaa2: 6b3b ldr r3, [r7, #48] ; 0x30 - 801aaa4: 2b00 cmp r3, #0 - 801aaa6: d1e6 bne.n 801aa76 - 801aaa8: e000 b.n 801aaac + 801a62c: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a62e: 681b ldr r3, [r3, #0] + 801a630: 633b str r3, [r7, #48] ; 0x30 + 801a632: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a634: 2b00 cmp r3, #0 + 801a636: d1e6 bne.n 801a606 + 801a638: e000 b.n 801a63c LWIP_DEBUGF(IP_REASS_DEBUG, ("ip4_reass: matching previous fragment ID=%"X16_F"\n", lwip_ntohs(IPH_ID(fraghdr)))); IPFRAG_STATS_INC(ip_frag.cachehit); break; - 801aaaa: bf00 nop + 801a63a: bf00 nop } } if (ipr == NULL) { - 801aaac: 6b3b ldr r3, [r7, #48] ; 0x30 - 801aaae: 2b00 cmp r3, #0 - 801aab0: d109 bne.n 801aac6 + 801a63c: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a63e: 2b00 cmp r3, #0 + 801a640: d109 bne.n 801a656 /* Enqueue a new datagram into the datagram queue */ ipr = ip_reass_enqueue_new_datagram(fraghdr, clen); - 801aab2: 8c3b ldrh r3, [r7, #32] - 801aab4: 4619 mov r1, r3 - 801aab6: 6ab8 ldr r0, [r7, #40] ; 0x28 - 801aab8: f7ff fdb0 bl 801a61c - 801aabc: 6338 str r0, [r7, #48] ; 0x30 + 801a642: 8c3b ldrh r3, [r7, #32] + 801a644: 4619 mov r1, r3 + 801a646: 6ab8 ldr r0, [r7, #40] ; 0x28 + 801a648: f7ff fdb0 bl 801a1ac + 801a64c: 6338 str r0, [r7, #48] ; 0x30 /* Bail if unable to enqueue */ if (ipr == NULL) { - 801aabe: 6b3b ldr r3, [r7, #48] ; 0x30 - 801aac0: 2b00 cmp r3, #0 - 801aac2: d11c bne.n 801aafe + 801a64e: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a650: 2b00 cmp r3, #0 + 801a652: d11c bne.n 801a68e goto nullreturn; - 801aac4: e0f9 b.n 801acba + 801a654: e0f9 b.n 801a84a } } else { if (((lwip_ntohs(IPH_OFFSET(fraghdr)) & IP_OFFMASK) == 0) && - 801aac6: 6abb ldr r3, [r7, #40] ; 0x28 - 801aac8: 88db ldrh r3, [r3, #6] - 801aaca: b29b uxth r3, r3 - 801aacc: 4618 mov r0, r3 - 801aace: f7f4 fc0f bl 800f2f0 - 801aad2: 4603 mov r3, r0 - 801aad4: f3c3 030c ubfx r3, r3, #0, #13 - 801aad8: 2b00 cmp r3, #0 - 801aada: d110 bne.n 801aafe + 801a656: 6abb ldr r3, [r7, #40] ; 0x28 + 801a658: 88db ldrh r3, [r3, #6] + 801a65a: b29b uxth r3, r3 + 801a65c: 4618 mov r0, r3 + 801a65e: f7f4 fc0f bl 800ee80 + 801a662: 4603 mov r3, r0 + 801a664: f3c3 030c ubfx r3, r3, #0, #13 + 801a668: 2b00 cmp r3, #0 + 801a66a: d110 bne.n 801a68e ((lwip_ntohs(IPH_OFFSET(&ipr->iphdr)) & IP_OFFMASK) != 0)) { - 801aadc: 6b3b ldr r3, [r7, #48] ; 0x30 - 801aade: 89db ldrh r3, [r3, #14] - 801aae0: 4618 mov r0, r3 - 801aae2: f7f4 fc05 bl 800f2f0 - 801aae6: 4603 mov r3, r0 - 801aae8: f3c3 030c ubfx r3, r3, #0, #13 + 801a66c: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a66e: 89db ldrh r3, [r3, #14] + 801a670: 4618 mov r0, r3 + 801a672: f7f4 fc05 bl 800ee80 + 801a676: 4603 mov r3, r0 + 801a678: f3c3 030c ubfx r3, r3, #0, #13 if (((lwip_ntohs(IPH_OFFSET(fraghdr)) & IP_OFFMASK) == 0) && - 801aaec: 2b00 cmp r3, #0 - 801aaee: d006 beq.n 801aafe + 801a67c: 2b00 cmp r3, #0 + 801a67e: d006 beq.n 801a68e /* ipr->iphdr is not the header from the first fragment, but fraghdr is * -> copy fraghdr into ipr->iphdr since we want to have the header * of the first fragment (for ICMP time exceeded and later, for copying * all options, if supported)*/ SMEMCPY(&ipr->iphdr, fraghdr, IP_HLEN); - 801aaf0: 6b3b ldr r3, [r7, #48] ; 0x30 - 801aaf2: 3308 adds r3, #8 - 801aaf4: 2214 movs r2, #20 - 801aaf6: 6ab9 ldr r1, [r7, #40] ; 0x28 - 801aaf8: 4618 mov r0, r3 - 801aafa: f000 fcb0 bl 801b45e + 801a680: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a682: 3308 adds r3, #8 + 801a684: 2214 movs r2, #20 + 801a686: 6ab9 ldr r1, [r7, #40] ; 0x28 + 801a688: 4618 mov r0, r3 + 801a68a: f000 fcb0 bl 801afee /* At this point, we have either created a new entry or pointing * to an existing one */ /* check for 'no more fragments', and update queue entry*/ is_last = (IPH_OFFSET(fraghdr) & PP_NTOHS(IP_MF)) == 0; - 801aafe: 6abb ldr r3, [r7, #40] ; 0x28 - 801ab00: 88db ldrh r3, [r3, #6] - 801ab02: b29b uxth r3, r3 - 801ab04: f003 0320 and.w r3, r3, #32 - 801ab08: 2b00 cmp r3, #0 - 801ab0a: bf0c ite eq - 801ab0c: 2301 moveq r3, #1 - 801ab0e: 2300 movne r3, #0 - 801ab10: b2db uxtb r3, r3 - 801ab12: 61fb str r3, [r7, #28] + 801a68e: 6abb ldr r3, [r7, #40] ; 0x28 + 801a690: 88db ldrh r3, [r3, #6] + 801a692: b29b uxth r3, r3 + 801a694: f003 0320 and.w r3, r3, #32 + 801a698: 2b00 cmp r3, #0 + 801a69a: bf0c ite eq + 801a69c: 2301 moveq r3, #1 + 801a69e: 2300 movne r3, #0 + 801a6a0: b2db uxtb r3, r3 + 801a6a2: 61fb str r3, [r7, #28] if (is_last) { - 801ab14: 69fb ldr r3, [r7, #28] - 801ab16: 2b00 cmp r3, #0 - 801ab18: d00e beq.n 801ab38 + 801a6a4: 69fb ldr r3, [r7, #28] + 801a6a6: 2b00 cmp r3, #0 + 801a6a8: d00e beq.n 801a6c8 u16_t datagram_len = (u16_t)(offset + len); - 801ab1a: 8cfa ldrh r2, [r7, #38] ; 0x26 - 801ab1c: 8cbb ldrh r3, [r7, #36] ; 0x24 - 801ab1e: 4413 add r3, r2 - 801ab20: 837b strh r3, [r7, #26] + 801a6aa: 8cfa ldrh r2, [r7, #38] ; 0x26 + 801a6ac: 8cbb ldrh r3, [r7, #36] ; 0x24 + 801a6ae: 4413 add r3, r2 + 801a6b0: 837b strh r3, [r7, #26] if ((datagram_len < offset) || (datagram_len > (0xFFFF - IP_HLEN))) { - 801ab22: 8b7a ldrh r2, [r7, #26] - 801ab24: 8cfb ldrh r3, [r7, #38] ; 0x26 - 801ab26: 429a cmp r2, r3 - 801ab28: f0c0 80a0 bcc.w 801ac6c - 801ab2c: 8b7b ldrh r3, [r7, #26] - 801ab2e: f64f 72eb movw r2, #65515 ; 0xffeb - 801ab32: 4293 cmp r3, r2 - 801ab34: f200 809a bhi.w 801ac6c + 801a6b2: 8b7a ldrh r2, [r7, #26] + 801a6b4: 8cfb ldrh r3, [r7, #38] ; 0x26 + 801a6b6: 429a cmp r2, r3 + 801a6b8: f0c0 80a0 bcc.w 801a7fc + 801a6bc: 8b7b ldrh r3, [r7, #26] + 801a6be: f64f 72eb movw r2, #65515 ; 0xffeb + 801a6c2: 4293 cmp r3, r2 + 801a6c4: f200 809a bhi.w 801a7fc goto nullreturn_ipr; } } /* find the right place to insert this pbuf */ /* @todo: trim pbufs if fragments are overlapping */ valid = ip_reass_chain_frag_into_datagram_and_validate(ipr, p, is_last); - 801ab38: 69fa ldr r2, [r7, #28] - 801ab3a: 6879 ldr r1, [r7, #4] - 801ab3c: 6b38 ldr r0, [r7, #48] ; 0x30 - 801ab3e: f7ff fdd5 bl 801a6ec - 801ab42: 6178 str r0, [r7, #20] + 801a6c8: 69fa ldr r2, [r7, #28] + 801a6ca: 6879 ldr r1, [r7, #4] + 801a6cc: 6b38 ldr r0, [r7, #48] ; 0x30 + 801a6ce: f7ff fdd5 bl 801a27c + 801a6d2: 6178 str r0, [r7, #20] if (valid == IP_REASS_VALIDATE_PBUF_DROPPED) { - 801ab44: 697b ldr r3, [r7, #20] - 801ab46: f1b3 3fff cmp.w r3, #4294967295 - 801ab4a: f000 8091 beq.w 801ac70 + 801a6d4: 697b ldr r3, [r7, #20] + 801a6d6: f1b3 3fff cmp.w r3, #4294967295 + 801a6da: f000 8091 beq.w 801a800 /* if we come here, the pbuf has been enqueued */ /* Track the current number of pbufs current 'in-flight', in order to limit the number of fragments that may be enqueued at any one time (overflow checked by testing against IP_REASS_MAX_PBUFS) */ ip_reass_pbufcount = (u16_t)(ip_reass_pbufcount + clen); - 801ab4e: 4b5f ldr r3, [pc, #380] ; (801accc ) - 801ab50: 881a ldrh r2, [r3, #0] - 801ab52: 8c3b ldrh r3, [r7, #32] - 801ab54: 4413 add r3, r2 - 801ab56: b29a uxth r2, r3 - 801ab58: 4b5c ldr r3, [pc, #368] ; (801accc ) - 801ab5a: 801a strh r2, [r3, #0] + 801a6de: 4b5f ldr r3, [pc, #380] ; (801a85c ) + 801a6e0: 881a ldrh r2, [r3, #0] + 801a6e2: 8c3b ldrh r3, [r7, #32] + 801a6e4: 4413 add r3, r2 + 801a6e6: b29a uxth r2, r3 + 801a6e8: 4b5c ldr r3, [pc, #368] ; (801a85c ) + 801a6ea: 801a strh r2, [r3, #0] if (is_last) { - 801ab5c: 69fb ldr r3, [r7, #28] - 801ab5e: 2b00 cmp r3, #0 - 801ab60: d00d beq.n 801ab7e + 801a6ec: 69fb ldr r3, [r7, #28] + 801a6ee: 2b00 cmp r3, #0 + 801a6f0: d00d beq.n 801a70e u16_t datagram_len = (u16_t)(offset + len); - 801ab62: 8cfa ldrh r2, [r7, #38] ; 0x26 - 801ab64: 8cbb ldrh r3, [r7, #36] ; 0x24 - 801ab66: 4413 add r3, r2 - 801ab68: 827b strh r3, [r7, #18] + 801a6f2: 8cfa ldrh r2, [r7, #38] ; 0x26 + 801a6f4: 8cbb ldrh r3, [r7, #36] ; 0x24 + 801a6f6: 4413 add r3, r2 + 801a6f8: 827b strh r3, [r7, #18] ipr->datagram_len = datagram_len; - 801ab6a: 6b3b ldr r3, [r7, #48] ; 0x30 - 801ab6c: 8a7a ldrh r2, [r7, #18] - 801ab6e: 839a strh r2, [r3, #28] + 801a6fa: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a6fc: 8a7a ldrh r2, [r7, #18] + 801a6fe: 839a strh r2, [r3, #28] ipr->flags |= IP_REASS_FLAG_LASTFRAG; - 801ab70: 6b3b ldr r3, [r7, #48] ; 0x30 - 801ab72: 7f9b ldrb r3, [r3, #30] - 801ab74: f043 0301 orr.w r3, r3, #1 - 801ab78: b2da uxtb r2, r3 - 801ab7a: 6b3b ldr r3, [r7, #48] ; 0x30 - 801ab7c: 779a strb r2, [r3, #30] + 801a700: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a702: 7f9b ldrb r3, [r3, #30] + 801a704: f043 0301 orr.w r3, r3, #1 + 801a708: b2da uxtb r2, r3 + 801a70a: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a70c: 779a strb r2, [r3, #30] LWIP_DEBUGF(IP_REASS_DEBUG, ("ip4_reass: last fragment seen, total len %"S16_F"\n", ipr->datagram_len)); } if (valid == IP_REASS_VALIDATE_TELEGRAM_FINISHED) { - 801ab7e: 697b ldr r3, [r7, #20] - 801ab80: 2b01 cmp r3, #1 - 801ab82: d171 bne.n 801ac68 + 801a70e: 697b ldr r3, [r7, #20] + 801a710: 2b01 cmp r3, #1 + 801a712: d171 bne.n 801a7f8 struct ip_reassdata *ipr_prev; /* the totally last fragment (flag more fragments = 0) was received at least * once AND all fragments are received */ u16_t datagram_len = (u16_t)(ipr->datagram_len + IP_HLEN); - 801ab84: 6b3b ldr r3, [r7, #48] ; 0x30 - 801ab86: 8b9b ldrh r3, [r3, #28] - 801ab88: 3314 adds r3, #20 - 801ab8a: 823b strh r3, [r7, #16] + 801a714: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a716: 8b9b ldrh r3, [r3, #28] + 801a718: 3314 adds r3, #20 + 801a71a: 823b strh r3, [r7, #16] /* save the second pbuf before copying the header over the pointer */ r = ((struct ip_reass_helper *)ipr->p->payload)->next_pbuf; - 801ab8c: 6b3b ldr r3, [r7, #48] ; 0x30 - 801ab8e: 685b ldr r3, [r3, #4] - 801ab90: 685b ldr r3, [r3, #4] - 801ab92: 681b ldr r3, [r3, #0] - 801ab94: 637b str r3, [r7, #52] ; 0x34 + 801a71c: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a71e: 685b ldr r3, [r3, #4] + 801a720: 685b ldr r3, [r3, #4] + 801a722: 681b ldr r3, [r3, #0] + 801a724: 637b str r3, [r7, #52] ; 0x34 /* copy the original ip header back to the first pbuf */ fraghdr = (struct ip_hdr *)(ipr->p->payload); - 801ab96: 6b3b ldr r3, [r7, #48] ; 0x30 - 801ab98: 685b ldr r3, [r3, #4] - 801ab9a: 685b ldr r3, [r3, #4] - 801ab9c: 62bb str r3, [r7, #40] ; 0x28 + 801a726: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a728: 685b ldr r3, [r3, #4] + 801a72a: 685b ldr r3, [r3, #4] + 801a72c: 62bb str r3, [r7, #40] ; 0x28 SMEMCPY(fraghdr, &ipr->iphdr, IP_HLEN); - 801ab9e: 6b3b ldr r3, [r7, #48] ; 0x30 - 801aba0: 3308 adds r3, #8 - 801aba2: 2214 movs r2, #20 - 801aba4: 4619 mov r1, r3 - 801aba6: 6ab8 ldr r0, [r7, #40] ; 0x28 - 801aba8: f000 fc59 bl 801b45e + 801a72e: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a730: 3308 adds r3, #8 + 801a732: 2214 movs r2, #20 + 801a734: 4619 mov r1, r3 + 801a736: 6ab8 ldr r0, [r7, #40] ; 0x28 + 801a738: f000 fc59 bl 801afee IPH_LEN_SET(fraghdr, lwip_htons(datagram_len)); - 801abac: 8a3b ldrh r3, [r7, #16] - 801abae: 4618 mov r0, r3 - 801abb0: f7f4 fb9e bl 800f2f0 - 801abb4: 4603 mov r3, r0 - 801abb6: 461a mov r2, r3 - 801abb8: 6abb ldr r3, [r7, #40] ; 0x28 - 801abba: 805a strh r2, [r3, #2] + 801a73c: 8a3b ldrh r3, [r7, #16] + 801a73e: 4618 mov r0, r3 + 801a740: f7f4 fb9e bl 800ee80 + 801a744: 4603 mov r3, r0 + 801a746: 461a mov r2, r3 + 801a748: 6abb ldr r3, [r7, #40] ; 0x28 + 801a74a: 805a strh r2, [r3, #2] IPH_OFFSET_SET(fraghdr, 0); - 801abbc: 6abb ldr r3, [r7, #40] ; 0x28 - 801abbe: 2200 movs r2, #0 - 801abc0: 719a strb r2, [r3, #6] - 801abc2: 2200 movs r2, #0 - 801abc4: 71da strb r2, [r3, #7] + 801a74c: 6abb ldr r3, [r7, #40] ; 0x28 + 801a74e: 2200 movs r2, #0 + 801a750: 719a strb r2, [r3, #6] + 801a752: 2200 movs r2, #0 + 801a754: 71da strb r2, [r3, #7] IPH_CHKSUM_SET(fraghdr, 0); - 801abc6: 6abb ldr r3, [r7, #40] ; 0x28 - 801abc8: 2200 movs r2, #0 - 801abca: 729a strb r2, [r3, #10] - 801abcc: 2200 movs r2, #0 - 801abce: 72da strb r2, [r3, #11] + 801a756: 6abb ldr r3, [r7, #40] ; 0x28 + 801a758: 2200 movs r2, #0 + 801a75a: 729a strb r2, [r3, #10] + 801a75c: 2200 movs r2, #0 + 801a75e: 72da strb r2, [r3, #11] IF__NETIF_CHECKSUM_ENABLED(ip_current_input_netif(), NETIF_CHECKSUM_GEN_IP) { IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); } #endif /* CHECKSUM_GEN_IP */ p = ipr->p; - 801abd0: 6b3b ldr r3, [r7, #48] ; 0x30 - 801abd2: 685b ldr r3, [r3, #4] - 801abd4: 607b str r3, [r7, #4] + 801a760: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a762: 685b ldr r3, [r3, #4] + 801a764: 607b str r3, [r7, #4] /* chain together the pbufs contained within the reass_data list. */ while (r != NULL) { - 801abd6: e00d b.n 801abf4 + 801a766: e00d b.n 801a784 iprh = (struct ip_reass_helper *)r->payload; - 801abd8: 6b7b ldr r3, [r7, #52] ; 0x34 - 801abda: 685b ldr r3, [r3, #4] - 801abdc: 60fb str r3, [r7, #12] + 801a768: 6b7b ldr r3, [r7, #52] ; 0x34 + 801a76a: 685b ldr r3, [r3, #4] + 801a76c: 60fb str r3, [r7, #12] /* hide the ip header for every succeeding fragment */ pbuf_remove_header(r, IP_HLEN); - 801abde: 2114 movs r1, #20 - 801abe0: 6b78 ldr r0, [r7, #52] ; 0x34 - 801abe2: f7f5 feb3 bl 801094c + 801a76e: 2114 movs r1, #20 + 801a770: 6b78 ldr r0, [r7, #52] ; 0x34 + 801a772: f7f5 feb3 bl 80104dc pbuf_cat(p, r); - 801abe6: 6b79 ldr r1, [r7, #52] ; 0x34 - 801abe8: 6878 ldr r0, [r7, #4] - 801abea: f7f6 f803 bl 8010bf4 + 801a776: 6b79 ldr r1, [r7, #52] ; 0x34 + 801a778: 6878 ldr r0, [r7, #4] + 801a77a: f7f6 f803 bl 8010784 r = iprh->next_pbuf; - 801abee: 68fb ldr r3, [r7, #12] - 801abf0: 681b ldr r3, [r3, #0] - 801abf2: 637b str r3, [r7, #52] ; 0x34 + 801a77e: 68fb ldr r3, [r7, #12] + 801a780: 681b ldr r3, [r3, #0] + 801a782: 637b str r3, [r7, #52] ; 0x34 while (r != NULL) { - 801abf4: 6b7b ldr r3, [r7, #52] ; 0x34 - 801abf6: 2b00 cmp r3, #0 - 801abf8: d1ee bne.n 801abd8 + 801a784: 6b7b ldr r3, [r7, #52] ; 0x34 + 801a786: 2b00 cmp r3, #0 + 801a788: d1ee bne.n 801a768 } /* find the previous entry in the linked list */ if (ipr == reassdatagrams) { - 801abfa: 4b35 ldr r3, [pc, #212] ; (801acd0 ) - 801abfc: 681b ldr r3, [r3, #0] - 801abfe: 6b3a ldr r2, [r7, #48] ; 0x30 - 801ac00: 429a cmp r2, r3 - 801ac02: d102 bne.n 801ac0a + 801a78a: 4b35 ldr r3, [pc, #212] ; (801a860 ) + 801a78c: 681b ldr r3, [r3, #0] + 801a78e: 6b3a ldr r2, [r7, #48] ; 0x30 + 801a790: 429a cmp r2, r3 + 801a792: d102 bne.n 801a79a ipr_prev = NULL; - 801ac04: 2300 movs r3, #0 - 801ac06: 62fb str r3, [r7, #44] ; 0x2c - 801ac08: e010 b.n 801ac2c + 801a794: 2300 movs r3, #0 + 801a796: 62fb str r3, [r7, #44] ; 0x2c + 801a798: e010 b.n 801a7bc } else { for (ipr_prev = reassdatagrams; ipr_prev != NULL; ipr_prev = ipr_prev->next) { - 801ac0a: 4b31 ldr r3, [pc, #196] ; (801acd0 ) - 801ac0c: 681b ldr r3, [r3, #0] - 801ac0e: 62fb str r3, [r7, #44] ; 0x2c - 801ac10: e007 b.n 801ac22 + 801a79a: 4b31 ldr r3, [pc, #196] ; (801a860 ) + 801a79c: 681b ldr r3, [r3, #0] + 801a79e: 62fb str r3, [r7, #44] ; 0x2c + 801a7a0: e007 b.n 801a7b2 if (ipr_prev->next == ipr) { - 801ac12: 6afb ldr r3, [r7, #44] ; 0x2c - 801ac14: 681b ldr r3, [r3, #0] - 801ac16: 6b3a ldr r2, [r7, #48] ; 0x30 - 801ac18: 429a cmp r2, r3 - 801ac1a: d006 beq.n 801ac2a + 801a7a2: 6afb ldr r3, [r7, #44] ; 0x2c + 801a7a4: 681b ldr r3, [r3, #0] + 801a7a6: 6b3a ldr r2, [r7, #48] ; 0x30 + 801a7a8: 429a cmp r2, r3 + 801a7aa: d006 beq.n 801a7ba for (ipr_prev = reassdatagrams; ipr_prev != NULL; ipr_prev = ipr_prev->next) { - 801ac1c: 6afb ldr r3, [r7, #44] ; 0x2c - 801ac1e: 681b ldr r3, [r3, #0] - 801ac20: 62fb str r3, [r7, #44] ; 0x2c - 801ac22: 6afb ldr r3, [r7, #44] ; 0x2c - 801ac24: 2b00 cmp r3, #0 - 801ac26: d1f4 bne.n 801ac12 - 801ac28: e000 b.n 801ac2c + 801a7ac: 6afb ldr r3, [r7, #44] ; 0x2c + 801a7ae: 681b ldr r3, [r3, #0] + 801a7b0: 62fb str r3, [r7, #44] ; 0x2c + 801a7b2: 6afb ldr r3, [r7, #44] ; 0x2c + 801a7b4: 2b00 cmp r3, #0 + 801a7b6: d1f4 bne.n 801a7a2 + 801a7b8: e000 b.n 801a7bc break; - 801ac2a: bf00 nop + 801a7ba: bf00 nop } } } /* release the sources allocate for the fragment queue entry */ ip_reass_dequeue_datagram(ipr, ipr_prev); - 801ac2c: 6af9 ldr r1, [r7, #44] ; 0x2c - 801ac2e: 6b38 ldr r0, [r7, #48] ; 0x30 - 801ac30: f7ff fd2e bl 801a690 + 801a7bc: 6af9 ldr r1, [r7, #44] ; 0x2c + 801a7be: 6b38 ldr r0, [r7, #48] ; 0x30 + 801a7c0: f7ff fd2e bl 801a220 /* and adjust the number of pbufs currently queued for reassembly. */ clen = pbuf_clen(p); - 801ac34: 6878 ldr r0, [r7, #4] - 801ac36: f7f5 ff9d bl 8010b74 - 801ac3a: 4603 mov r3, r0 - 801ac3c: 843b strh r3, [r7, #32] + 801a7c4: 6878 ldr r0, [r7, #4] + 801a7c6: f7f5 ff9d bl 8010704 + 801a7ca: 4603 mov r3, r0 + 801a7cc: 843b strh r3, [r7, #32] LWIP_ASSERT("ip_reass_pbufcount >= clen", ip_reass_pbufcount >= clen); - 801ac3e: 4b23 ldr r3, [pc, #140] ; (801accc ) - 801ac40: 881b ldrh r3, [r3, #0] - 801ac42: 8c3a ldrh r2, [r7, #32] - 801ac44: 429a cmp r2, r3 - 801ac46: d906 bls.n 801ac56 - 801ac48: 4b22 ldr r3, [pc, #136] ; (801acd4 ) - 801ac4a: f240 229b movw r2, #667 ; 0x29b - 801ac4e: 4922 ldr r1, [pc, #136] ; (801acd8 ) - 801ac50: 4822 ldr r0, [pc, #136] ; (801acdc ) - 801ac52: f000 fc31 bl 801b4b8 + 801a7ce: 4b23 ldr r3, [pc, #140] ; (801a85c ) + 801a7d0: 881b ldrh r3, [r3, #0] + 801a7d2: 8c3a ldrh r2, [r7, #32] + 801a7d4: 429a cmp r2, r3 + 801a7d6: d906 bls.n 801a7e6 + 801a7d8: 4b22 ldr r3, [pc, #136] ; (801a864 ) + 801a7da: f240 229b movw r2, #667 ; 0x29b + 801a7de: 4922 ldr r1, [pc, #136] ; (801a868 ) + 801a7e0: 4822 ldr r0, [pc, #136] ; (801a86c ) + 801a7e2: f000 fc17 bl 801b014 ip_reass_pbufcount = (u16_t)(ip_reass_pbufcount - clen); - 801ac56: 4b1d ldr r3, [pc, #116] ; (801accc ) - 801ac58: 881a ldrh r2, [r3, #0] - 801ac5a: 8c3b ldrh r3, [r7, #32] - 801ac5c: 1ad3 subs r3, r2, r3 - 801ac5e: b29a uxth r2, r3 - 801ac60: 4b1a ldr r3, [pc, #104] ; (801accc ) - 801ac62: 801a strh r2, [r3, #0] + 801a7e6: 4b1d ldr r3, [pc, #116] ; (801a85c ) + 801a7e8: 881a ldrh r2, [r3, #0] + 801a7ea: 8c3b ldrh r3, [r7, #32] + 801a7ec: 1ad3 subs r3, r2, r3 + 801a7ee: b29a uxth r2, r3 + 801a7f0: 4b1a ldr r3, [pc, #104] ; (801a85c ) + 801a7f2: 801a strh r2, [r3, #0] MIB2_STATS_INC(mib2.ipreasmoks); /* Return the pbuf chain */ return p; - 801ac64: 687b ldr r3, [r7, #4] - 801ac66: e02c b.n 801acc2 + 801a7f4: 687b ldr r3, [r7, #4] + 801a7f6: e02c b.n 801a852 } /* the datagram is not (yet?) reassembled completely */ LWIP_DEBUGF(IP_REASS_DEBUG, ("ip_reass_pbufcount: %d out\n", ip_reass_pbufcount)); return NULL; - 801ac68: 2300 movs r3, #0 - 801ac6a: e02a b.n 801acc2 + 801a7f8: 2300 movs r3, #0 + 801a7fa: e02a b.n 801a852 nullreturn_ipr: - 801ac6c: bf00 nop - 801ac6e: e000 b.n 801ac72 + 801a7fc: bf00 nop + 801a7fe: e000 b.n 801a802 goto nullreturn_ipr; - 801ac70: bf00 nop + 801a800: bf00 nop LWIP_ASSERT("ipr != NULL", ipr != NULL); - 801ac72: 6b3b ldr r3, [r7, #48] ; 0x30 - 801ac74: 2b00 cmp r3, #0 - 801ac76: d106 bne.n 801ac86 - 801ac78: 4b16 ldr r3, [pc, #88] ; (801acd4 ) - 801ac7a: f44f 722a mov.w r2, #680 ; 0x2a8 - 801ac7e: 4918 ldr r1, [pc, #96] ; (801ace0 ) - 801ac80: 4816 ldr r0, [pc, #88] ; (801acdc ) - 801ac82: f000 fc19 bl 801b4b8 + 801a802: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a804: 2b00 cmp r3, #0 + 801a806: d106 bne.n 801a816 + 801a808: 4b16 ldr r3, [pc, #88] ; (801a864 ) + 801a80a: f44f 722a mov.w r2, #680 ; 0x2a8 + 801a80e: 4918 ldr r1, [pc, #96] ; (801a870 ) + 801a810: 4816 ldr r0, [pc, #88] ; (801a86c ) + 801a812: f000 fbff bl 801b014 if (ipr->p == NULL) { - 801ac86: 6b3b ldr r3, [r7, #48] ; 0x30 - 801ac88: 685b ldr r3, [r3, #4] - 801ac8a: 2b00 cmp r3, #0 - 801ac8c: d114 bne.n 801acb8 + 801a816: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a818: 685b ldr r3, [r3, #4] + 801a81a: 2b00 cmp r3, #0 + 801a81c: d114 bne.n 801a848 /* dropped pbuf after creating a new datagram entry: remove the entry, too */ LWIP_ASSERT("not firstalthough just enqueued", ipr == reassdatagrams); - 801ac8e: 4b10 ldr r3, [pc, #64] ; (801acd0 ) - 801ac90: 681b ldr r3, [r3, #0] - 801ac92: 6b3a ldr r2, [r7, #48] ; 0x30 - 801ac94: 429a cmp r2, r3 - 801ac96: d006 beq.n 801aca6 - 801ac98: 4b0e ldr r3, [pc, #56] ; (801acd4 ) - 801ac9a: f240 22ab movw r2, #683 ; 0x2ab - 801ac9e: 4911 ldr r1, [pc, #68] ; (801ace4 ) - 801aca0: 480e ldr r0, [pc, #56] ; (801acdc ) - 801aca2: f000 fc09 bl 801b4b8 + 801a81e: 4b10 ldr r3, [pc, #64] ; (801a860 ) + 801a820: 681b ldr r3, [r3, #0] + 801a822: 6b3a ldr r2, [r7, #48] ; 0x30 + 801a824: 429a cmp r2, r3 + 801a826: d006 beq.n 801a836 + 801a828: 4b0e ldr r3, [pc, #56] ; (801a864 ) + 801a82a: f240 22ab movw r2, #683 ; 0x2ab + 801a82e: 4911 ldr r1, [pc, #68] ; (801a874 ) + 801a830: 480e ldr r0, [pc, #56] ; (801a86c ) + 801a832: f000 fbef bl 801b014 ip_reass_dequeue_datagram(ipr, NULL); - 801aca6: 2100 movs r1, #0 - 801aca8: 6b38 ldr r0, [r7, #48] ; 0x30 - 801acaa: f7ff fcf1 bl 801a690 - 801acae: e004 b.n 801acba + 801a836: 2100 movs r1, #0 + 801a838: 6b38 ldr r0, [r7, #48] ; 0x30 + 801a83a: f7ff fcf1 bl 801a220 + 801a83e: e004 b.n 801a84a goto nullreturn; - 801acb0: bf00 nop - 801acb2: e002 b.n 801acba + 801a840: bf00 nop + 801a842: e002 b.n 801a84a goto nullreturn; - 801acb4: bf00 nop - 801acb6: e000 b.n 801acba + 801a844: bf00 nop + 801a846: e000 b.n 801a84a } nullreturn: - 801acb8: bf00 nop + 801a848: bf00 nop LWIP_DEBUGF(IP_REASS_DEBUG, ("ip4_reass: nullreturn\n")); IPFRAG_STATS_INC(ip_frag.drop); pbuf_free(p); - 801acba: 6878 ldr r0, [r7, #4] - 801acbc: f7f5 fecc bl 8010a58 + 801a84a: 6878 ldr r0, [r7, #4] + 801a84c: f7f5 fecc bl 80105e8 return NULL; - 801acc0: 2300 movs r3, #0 + 801a850: 2300 movs r3, #0 } - 801acc2: 4618 mov r0, r3 - 801acc4: 3738 adds r7, #56 ; 0x38 - 801acc6: 46bd mov sp, r7 - 801acc8: bd80 pop {r7, pc} - 801acca: bf00 nop - 801accc: 20008870 .word 0x20008870 - 801acd0: 2000886c .word 0x2000886c - 801acd4: 0801f344 .word 0x0801f344 - 801acd8: 0801f4b4 .word 0x0801f4b4 - 801acdc: 0801f38c .word 0x0801f38c - 801ace0: 0801f4d0 .word 0x0801f4d0 - 801ace4: 0801f4dc .word 0x0801f4dc + 801a852: 4618 mov r0, r3 + 801a854: 3738 adds r7, #56 ; 0x38 + 801a856: 46bd mov sp, r7 + 801a858: bd80 pop {r7, pc} + 801a85a: bf00 nop + 801a85c: 20008870 .word 0x20008870 + 801a860: 2000886c .word 0x2000886c + 801a864: 0801eb40 .word 0x0801eb40 + 801a868: 0801ecb0 .word 0x0801ecb0 + 801a86c: 0801eb88 .word 0x0801eb88 + 801a870: 0801eccc .word 0x0801eccc + 801a874: 0801ecd8 .word 0x0801ecd8 -0801ace8 : +0801a878 : #if IP_FRAG #if !LWIP_NETIF_TX_SINGLE_PBUF /** Allocate a new struct pbuf_custom_ref */ static struct pbuf_custom_ref * ip_frag_alloc_pbuf_custom_ref(void) { - 801ace8: b580 push {r7, lr} - 801acea: af00 add r7, sp, #0 + 801a878: b580 push {r7, lr} + 801a87a: af00 add r7, sp, #0 return (struct pbuf_custom_ref *)memp_malloc(MEMP_FRAG_PBUF); - 801acec: 2005 movs r0, #5 - 801acee: f7f4 ffb5 bl 800fc5c - 801acf2: 4603 mov r3, r0 + 801a87c: 2005 movs r0, #5 + 801a87e: f7f4 ffb5 bl 800f7ec + 801a882: 4603 mov r3, r0 } - 801acf4: 4618 mov r0, r3 - 801acf6: bd80 pop {r7, pc} + 801a884: 4618 mov r0, r3 + 801a886: bd80 pop {r7, pc} -0801acf8 : +0801a888 : /** Free a struct pbuf_custom_ref */ static void ip_frag_free_pbuf_custom_ref(struct pbuf_custom_ref *p) { - 801acf8: b580 push {r7, lr} - 801acfa: b082 sub sp, #8 - 801acfc: af00 add r7, sp, #0 - 801acfe: 6078 str r0, [r7, #4] + 801a888: b580 push {r7, lr} + 801a88a: b082 sub sp, #8 + 801a88c: af00 add r7, sp, #0 + 801a88e: 6078 str r0, [r7, #4] LWIP_ASSERT("p != NULL", p != NULL); - 801ad00: 687b ldr r3, [r7, #4] - 801ad02: 2b00 cmp r3, #0 - 801ad04: d106 bne.n 801ad14 - 801ad06: 4b07 ldr r3, [pc, #28] ; (801ad24 ) - 801ad08: f44f 7231 mov.w r2, #708 ; 0x2c4 - 801ad0c: 4906 ldr r1, [pc, #24] ; (801ad28 ) - 801ad0e: 4807 ldr r0, [pc, #28] ; (801ad2c ) - 801ad10: f000 fbd2 bl 801b4b8 + 801a890: 687b ldr r3, [r7, #4] + 801a892: 2b00 cmp r3, #0 + 801a894: d106 bne.n 801a8a4 + 801a896: 4b07 ldr r3, [pc, #28] ; (801a8b4 ) + 801a898: f44f 7231 mov.w r2, #708 ; 0x2c4 + 801a89c: 4906 ldr r1, [pc, #24] ; (801a8b8 ) + 801a89e: 4807 ldr r0, [pc, #28] ; (801a8bc ) + 801a8a0: f000 fbb8 bl 801b014 memp_free(MEMP_FRAG_PBUF, p); - 801ad14: 6879 ldr r1, [r7, #4] - 801ad16: 2005 movs r0, #5 - 801ad18: f7f4 fff2 bl 800fd00 + 801a8a4: 6879 ldr r1, [r7, #4] + 801a8a6: 2005 movs r0, #5 + 801a8a8: f7f4 fff2 bl 800f890 } - 801ad1c: bf00 nop - 801ad1e: 3708 adds r7, #8 - 801ad20: 46bd mov sp, r7 - 801ad22: bd80 pop {r7, pc} - 801ad24: 0801f344 .word 0x0801f344 - 801ad28: 0801f4fc .word 0x0801f4fc - 801ad2c: 0801f38c .word 0x0801f38c + 801a8ac: bf00 nop + 801a8ae: 3708 adds r7, #8 + 801a8b0: 46bd mov sp, r7 + 801a8b2: bd80 pop {r7, pc} + 801a8b4: 0801eb40 .word 0x0801eb40 + 801a8b8: 0801ecf8 .word 0x0801ecf8 + 801a8bc: 0801eb88 .word 0x0801eb88 -0801ad30 : +0801a8c0 : /** Free-callback function to free a 'struct pbuf_custom_ref', called by * pbuf_free. */ static void ipfrag_free_pbuf_custom(struct pbuf *p) { - 801ad30: b580 push {r7, lr} - 801ad32: b084 sub sp, #16 - 801ad34: af00 add r7, sp, #0 - 801ad36: 6078 str r0, [r7, #4] + 801a8c0: b580 push {r7, lr} + 801a8c2: b084 sub sp, #16 + 801a8c4: af00 add r7, sp, #0 + 801a8c6: 6078 str r0, [r7, #4] struct pbuf_custom_ref *pcr = (struct pbuf_custom_ref *)p; - 801ad38: 687b ldr r3, [r7, #4] - 801ad3a: 60fb str r3, [r7, #12] + 801a8c8: 687b ldr r3, [r7, #4] + 801a8ca: 60fb str r3, [r7, #12] LWIP_ASSERT("pcr != NULL", pcr != NULL); - 801ad3c: 68fb ldr r3, [r7, #12] - 801ad3e: 2b00 cmp r3, #0 - 801ad40: d106 bne.n 801ad50 - 801ad42: 4b11 ldr r3, [pc, #68] ; (801ad88 ) - 801ad44: f240 22ce movw r2, #718 ; 0x2ce - 801ad48: 4910 ldr r1, [pc, #64] ; (801ad8c ) - 801ad4a: 4811 ldr r0, [pc, #68] ; (801ad90 ) - 801ad4c: f000 fbb4 bl 801b4b8 + 801a8cc: 68fb ldr r3, [r7, #12] + 801a8ce: 2b00 cmp r3, #0 + 801a8d0: d106 bne.n 801a8e0 + 801a8d2: 4b11 ldr r3, [pc, #68] ; (801a918 ) + 801a8d4: f240 22ce movw r2, #718 ; 0x2ce + 801a8d8: 4910 ldr r1, [pc, #64] ; (801a91c ) + 801a8da: 4811 ldr r0, [pc, #68] ; (801a920 ) + 801a8dc: f000 fb9a bl 801b014 LWIP_ASSERT("pcr == p", (void *)pcr == (void *)p); - 801ad50: 68fa ldr r2, [r7, #12] - 801ad52: 687b ldr r3, [r7, #4] - 801ad54: 429a cmp r2, r3 - 801ad56: d006 beq.n 801ad66 - 801ad58: 4b0b ldr r3, [pc, #44] ; (801ad88 ) - 801ad5a: f240 22cf movw r2, #719 ; 0x2cf - 801ad5e: 490d ldr r1, [pc, #52] ; (801ad94 ) - 801ad60: 480b ldr r0, [pc, #44] ; (801ad90 ) - 801ad62: f000 fba9 bl 801b4b8 + 801a8e0: 68fa ldr r2, [r7, #12] + 801a8e2: 687b ldr r3, [r7, #4] + 801a8e4: 429a cmp r2, r3 + 801a8e6: d006 beq.n 801a8f6 + 801a8e8: 4b0b ldr r3, [pc, #44] ; (801a918 ) + 801a8ea: f240 22cf movw r2, #719 ; 0x2cf + 801a8ee: 490d ldr r1, [pc, #52] ; (801a924 ) + 801a8f0: 480b ldr r0, [pc, #44] ; (801a920 ) + 801a8f2: f000 fb8f bl 801b014 if (pcr->original != NULL) { - 801ad66: 68fb ldr r3, [r7, #12] - 801ad68: 695b ldr r3, [r3, #20] - 801ad6a: 2b00 cmp r3, #0 - 801ad6c: d004 beq.n 801ad78 + 801a8f6: 68fb ldr r3, [r7, #12] + 801a8f8: 695b ldr r3, [r3, #20] + 801a8fa: 2b00 cmp r3, #0 + 801a8fc: d004 beq.n 801a908 pbuf_free(pcr->original); - 801ad6e: 68fb ldr r3, [r7, #12] - 801ad70: 695b ldr r3, [r3, #20] - 801ad72: 4618 mov r0, r3 - 801ad74: f7f5 fe70 bl 8010a58 + 801a8fe: 68fb ldr r3, [r7, #12] + 801a900: 695b ldr r3, [r3, #20] + 801a902: 4618 mov r0, r3 + 801a904: f7f5 fe70 bl 80105e8 } ip_frag_free_pbuf_custom_ref(pcr); - 801ad78: 68f8 ldr r0, [r7, #12] - 801ad7a: f7ff ffbd bl 801acf8 + 801a908: 68f8 ldr r0, [r7, #12] + 801a90a: f7ff ffbd bl 801a888 } - 801ad7e: bf00 nop - 801ad80: 3710 adds r7, #16 - 801ad82: 46bd mov sp, r7 - 801ad84: bd80 pop {r7, pc} - 801ad86: bf00 nop - 801ad88: 0801f344 .word 0x0801f344 - 801ad8c: 0801f508 .word 0x0801f508 - 801ad90: 0801f38c .word 0x0801f38c - 801ad94: 0801f514 .word 0x0801f514 + 801a90e: bf00 nop + 801a910: 3710 adds r7, #16 + 801a912: 46bd mov sp, r7 + 801a914: bd80 pop {r7, pc} + 801a916: bf00 nop + 801a918: 0801eb40 .word 0x0801eb40 + 801a91c: 0801ed04 .word 0x0801ed04 + 801a920: 0801eb88 .word 0x0801eb88 + 801a924: 0801ed10 .word 0x0801ed10 -0801ad98 : +0801a928 : * * @return ERR_OK if sent successfully, err_t otherwise */ err_t ip4_frag(struct pbuf *p, struct netif *netif, const ip4_addr_t *dest) { - 801ad98: b580 push {r7, lr} - 801ad9a: b094 sub sp, #80 ; 0x50 - 801ad9c: af02 add r7, sp, #8 - 801ad9e: 60f8 str r0, [r7, #12] - 801ada0: 60b9 str r1, [r7, #8] - 801ada2: 607a str r2, [r7, #4] + 801a928: b580 push {r7, lr} + 801a92a: b094 sub sp, #80 ; 0x50 + 801a92c: af02 add r7, sp, #8 + 801a92e: 60f8 str r0, [r7, #12] + 801a930: 60b9 str r1, [r7, #8] + 801a932: 607a str r2, [r7, #4] struct pbuf *rambuf; #if !LWIP_NETIF_TX_SINGLE_PBUF struct pbuf *newpbuf; u16_t newpbuflen = 0; - 801ada4: 2300 movs r3, #0 - 801ada6: f8a7 3046 strh.w r3, [r7, #70] ; 0x46 + 801a934: 2300 movs r3, #0 + 801a936: f8a7 3046 strh.w r3, [r7, #70] ; 0x46 u16_t left_to_copy; #endif struct ip_hdr *original_iphdr; struct ip_hdr *iphdr; const u16_t nfb = (u16_t)((netif->mtu - IP_HLEN) / 8); - 801adaa: 68bb ldr r3, [r7, #8] - 801adac: 8d1b ldrh r3, [r3, #40] ; 0x28 - 801adae: 3b14 subs r3, #20 - 801adb0: 2b00 cmp r3, #0 - 801adb2: da00 bge.n 801adb6 - 801adb4: 3307 adds r3, #7 - 801adb6: 10db asrs r3, r3, #3 - 801adb8: 877b strh r3, [r7, #58] ; 0x3a + 801a93a: 68bb ldr r3, [r7, #8] + 801a93c: 8d1b ldrh r3, [r3, #40] ; 0x28 + 801a93e: 3b14 subs r3, #20 + 801a940: 2b00 cmp r3, #0 + 801a942: da00 bge.n 801a946 + 801a944: 3307 adds r3, #7 + 801a946: 10db asrs r3, r3, #3 + 801a948: 877b strh r3, [r7, #58] ; 0x3a u16_t left, fragsize; u16_t ofo; int last; u16_t poff = IP_HLEN; - 801adba: 2314 movs r3, #20 - 801adbc: 87fb strh r3, [r7, #62] ; 0x3e + 801a94a: 2314 movs r3, #20 + 801a94c: 87fb strh r3, [r7, #62] ; 0x3e u16_t tmp; int mf_set; original_iphdr = (struct ip_hdr *)p->payload; - 801adbe: 68fb ldr r3, [r7, #12] - 801adc0: 685b ldr r3, [r3, #4] - 801adc2: 637b str r3, [r7, #52] ; 0x34 + 801a94e: 68fb ldr r3, [r7, #12] + 801a950: 685b ldr r3, [r3, #4] + 801a952: 637b str r3, [r7, #52] ; 0x34 iphdr = original_iphdr; - 801adc4: 6b7b ldr r3, [r7, #52] ; 0x34 - 801adc6: 633b str r3, [r7, #48] ; 0x30 + 801a954: 6b7b ldr r3, [r7, #52] ; 0x34 + 801a956: 633b str r3, [r7, #48] ; 0x30 if (IPH_HL_BYTES(iphdr) != IP_HLEN) { - 801adc8: 6b3b ldr r3, [r7, #48] ; 0x30 - 801adca: 781b ldrb r3, [r3, #0] - 801adcc: f003 030f and.w r3, r3, #15 - 801add0: b2db uxtb r3, r3 - 801add2: 009b lsls r3, r3, #2 - 801add4: b2db uxtb r3, r3 - 801add6: 2b14 cmp r3, #20 - 801add8: d002 beq.n 801ade0 + 801a958: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a95a: 781b ldrb r3, [r3, #0] + 801a95c: f003 030f and.w r3, r3, #15 + 801a960: b2db uxtb r3, r3 + 801a962: 009b lsls r3, r3, #2 + 801a964: b2db uxtb r3, r3 + 801a966: 2b14 cmp r3, #20 + 801a968: d002 beq.n 801a970 /* ip4_frag() does not support IP options */ return ERR_VAL; - 801adda: f06f 0305 mvn.w r3, #5 - 801adde: e10f b.n 801b000 + 801a96a: f06f 0305 mvn.w r3, #5 + 801a96e: e10f b.n 801ab90 } LWIP_ERROR("ip4_frag(): pbuf too short", p->len >= IP_HLEN, return ERR_VAL); - 801ade0: 68fb ldr r3, [r7, #12] - 801ade2: 895b ldrh r3, [r3, #10] - 801ade4: 2b13 cmp r3, #19 - 801ade6: d809 bhi.n 801adfc - 801ade8: 4b87 ldr r3, [pc, #540] ; (801b008 ) - 801adea: f44f 723f mov.w r2, #764 ; 0x2fc - 801adee: 4987 ldr r1, [pc, #540] ; (801b00c ) - 801adf0: 4887 ldr r0, [pc, #540] ; (801b010 ) - 801adf2: f000 fb61 bl 801b4b8 - 801adf6: f06f 0305 mvn.w r3, #5 - 801adfa: e101 b.n 801b000 + 801a970: 68fb ldr r3, [r7, #12] + 801a972: 895b ldrh r3, [r3, #10] + 801a974: 2b13 cmp r3, #19 + 801a976: d809 bhi.n 801a98c + 801a978: 4b87 ldr r3, [pc, #540] ; (801ab98 ) + 801a97a: f44f 723f mov.w r2, #764 ; 0x2fc + 801a97e: 4987 ldr r1, [pc, #540] ; (801ab9c ) + 801a980: 4887 ldr r0, [pc, #540] ; (801aba0 ) + 801a982: f000 fb47 bl 801b014 + 801a986: f06f 0305 mvn.w r3, #5 + 801a98a: e101 b.n 801ab90 /* Save original offset */ tmp = lwip_ntohs(IPH_OFFSET(iphdr)); - 801adfc: 6b3b ldr r3, [r7, #48] ; 0x30 - 801adfe: 88db ldrh r3, [r3, #6] - 801ae00: b29b uxth r3, r3 - 801ae02: 4618 mov r0, r3 - 801ae04: f7f4 fa74 bl 800f2f0 - 801ae08: 4603 mov r3, r0 - 801ae0a: 87bb strh r3, [r7, #60] ; 0x3c + 801a98c: 6b3b ldr r3, [r7, #48] ; 0x30 + 801a98e: 88db ldrh r3, [r3, #6] + 801a990: b29b uxth r3, r3 + 801a992: 4618 mov r0, r3 + 801a994: f7f4 fa74 bl 800ee80 + 801a998: 4603 mov r3, r0 + 801a99a: 87bb strh r3, [r7, #60] ; 0x3c ofo = tmp & IP_OFFMASK; - 801ae0c: 8fbb ldrh r3, [r7, #60] ; 0x3c - 801ae0e: f3c3 030c ubfx r3, r3, #0, #13 - 801ae12: f8a7 3040 strh.w r3, [r7, #64] ; 0x40 + 801a99c: 8fbb ldrh r3, [r7, #60] ; 0x3c + 801a99e: f3c3 030c ubfx r3, r3, #0, #13 + 801a9a2: f8a7 3040 strh.w r3, [r7, #64] ; 0x40 /* already fragmented? if so, the last fragment we create must have MF, too */ mf_set = tmp & IP_MF; - 801ae16: 8fbb ldrh r3, [r7, #60] ; 0x3c - 801ae18: f403 5300 and.w r3, r3, #8192 ; 0x2000 - 801ae1c: 62fb str r3, [r7, #44] ; 0x2c + 801a9a6: 8fbb ldrh r3, [r7, #60] ; 0x3c + 801a9a8: f403 5300 and.w r3, r3, #8192 ; 0x2000 + 801a9ac: 62fb str r3, [r7, #44] ; 0x2c left = (u16_t)(p->tot_len - IP_HLEN); - 801ae1e: 68fb ldr r3, [r7, #12] - 801ae20: 891b ldrh r3, [r3, #8] - 801ae22: 3b14 subs r3, #20 - 801ae24: f8a7 3042 strh.w r3, [r7, #66] ; 0x42 + 801a9ae: 68fb ldr r3, [r7, #12] + 801a9b0: 891b ldrh r3, [r3, #8] + 801a9b2: 3b14 subs r3, #20 + 801a9b4: f8a7 3042 strh.w r3, [r7, #66] ; 0x42 while (left) { - 801ae28: e0e0 b.n 801afec + 801a9b8: e0e0 b.n 801ab7c /* Fill this fragment */ fragsize = LWIP_MIN(left, (u16_t)(nfb * 8)); - 801ae2a: 8f7b ldrh r3, [r7, #58] ; 0x3a - 801ae2c: 00db lsls r3, r3, #3 - 801ae2e: b29b uxth r3, r3 - 801ae30: f8b7 2042 ldrh.w r2, [r7, #66] ; 0x42 - 801ae34: 4293 cmp r3, r2 - 801ae36: bf28 it cs - 801ae38: 4613 movcs r3, r2 - 801ae3a: 857b strh r3, [r7, #42] ; 0x2a + 801a9ba: 8f7b ldrh r3, [r7, #58] ; 0x3a + 801a9bc: 00db lsls r3, r3, #3 + 801a9be: b29b uxth r3, r3 + 801a9c0: f8b7 2042 ldrh.w r2, [r7, #66] ; 0x42 + 801a9c4: 4293 cmp r3, r2 + 801a9c6: bf28 it cs + 801a9c8: 4613 movcs r3, r2 + 801a9ca: 857b strh r3, [r7, #42] ; 0x2a /* When not using a static buffer, create a chain of pbufs. * The first will be a PBUF_RAM holding the link and IP header. * The rest will be PBUF_REFs mirroring the pbuf chain to be fragged, * but limited to the size of an mtu. */ rambuf = pbuf_alloc(PBUF_LINK, IP_HLEN, PBUF_RAM); - 801ae3c: f44f 7220 mov.w r2, #640 ; 0x280 - 801ae40: 2114 movs r1, #20 - 801ae42: 200e movs r0, #14 - 801ae44: f7f5 fb28 bl 8010498 - 801ae48: 6278 str r0, [r7, #36] ; 0x24 + 801a9cc: f44f 7220 mov.w r2, #640 ; 0x280 + 801a9d0: 2114 movs r1, #20 + 801a9d2: 200e movs r0, #14 + 801a9d4: f7f5 fb28 bl 8010028 + 801a9d8: 6278 str r0, [r7, #36] ; 0x24 if (rambuf == NULL) { - 801ae4a: 6a7b ldr r3, [r7, #36] ; 0x24 - 801ae4c: 2b00 cmp r3, #0 - 801ae4e: f000 80d4 beq.w 801affa + 801a9da: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a9dc: 2b00 cmp r3, #0 + 801a9de: f000 80d4 beq.w 801ab8a goto memerr; } LWIP_ASSERT("this needs a pbuf in one piece!", - 801ae52: 6a7b ldr r3, [r7, #36] ; 0x24 - 801ae54: 895b ldrh r3, [r3, #10] - 801ae56: 2b13 cmp r3, #19 - 801ae58: d806 bhi.n 801ae68 - 801ae5a: 4b6b ldr r3, [pc, #428] ; (801b008 ) - 801ae5c: f240 3225 movw r2, #805 ; 0x325 - 801ae60: 496c ldr r1, [pc, #432] ; (801b014 ) - 801ae62: 486b ldr r0, [pc, #428] ; (801b010 ) - 801ae64: f000 fb28 bl 801b4b8 + 801a9e2: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a9e4: 895b ldrh r3, [r3, #10] + 801a9e6: 2b13 cmp r3, #19 + 801a9e8: d806 bhi.n 801a9f8 + 801a9ea: 4b6b ldr r3, [pc, #428] ; (801ab98 ) + 801a9ec: f240 3225 movw r2, #805 ; 0x325 + 801a9f0: 496c ldr r1, [pc, #432] ; (801aba4 ) + 801a9f2: 486b ldr r0, [pc, #428] ; (801aba0 ) + 801a9f4: f000 fb0e bl 801b014 (rambuf->len >= (IP_HLEN))); SMEMCPY(rambuf->payload, original_iphdr, IP_HLEN); - 801ae68: 6a7b ldr r3, [r7, #36] ; 0x24 - 801ae6a: 685b ldr r3, [r3, #4] - 801ae6c: 2214 movs r2, #20 - 801ae6e: 6b79 ldr r1, [r7, #52] ; 0x34 - 801ae70: 4618 mov r0, r3 - 801ae72: f000 faf4 bl 801b45e + 801a9f8: 6a7b ldr r3, [r7, #36] ; 0x24 + 801a9fa: 685b ldr r3, [r3, #4] + 801a9fc: 2214 movs r2, #20 + 801a9fe: 6b79 ldr r1, [r7, #52] ; 0x34 + 801aa00: 4618 mov r0, r3 + 801aa02: f000 faf4 bl 801afee iphdr = (struct ip_hdr *)rambuf->payload; - 801ae76: 6a7b ldr r3, [r7, #36] ; 0x24 - 801ae78: 685b ldr r3, [r3, #4] - 801ae7a: 633b str r3, [r7, #48] ; 0x30 + 801aa06: 6a7b ldr r3, [r7, #36] ; 0x24 + 801aa08: 685b ldr r3, [r3, #4] + 801aa0a: 633b str r3, [r7, #48] ; 0x30 left_to_copy = fragsize; - 801ae7c: 8d7b ldrh r3, [r7, #42] ; 0x2a - 801ae7e: f8a7 3044 strh.w r3, [r7, #68] ; 0x44 + 801aa0c: 8d7b ldrh r3, [r7, #42] ; 0x2a + 801aa0e: f8a7 3044 strh.w r3, [r7, #68] ; 0x44 while (left_to_copy) { - 801ae82: e064 b.n 801af4e + 801aa12: e064 b.n 801aade struct pbuf_custom_ref *pcr; u16_t plen = (u16_t)(p->len - poff); - 801ae84: 68fb ldr r3, [r7, #12] - 801ae86: 895a ldrh r2, [r3, #10] - 801ae88: 8ffb ldrh r3, [r7, #62] ; 0x3e - 801ae8a: 1ad3 subs r3, r2, r3 - 801ae8c: 83fb strh r3, [r7, #30] + 801aa14: 68fb ldr r3, [r7, #12] + 801aa16: 895a ldrh r2, [r3, #10] + 801aa18: 8ffb ldrh r3, [r7, #62] ; 0x3e + 801aa1a: 1ad3 subs r3, r2, r3 + 801aa1c: 83fb strh r3, [r7, #30] LWIP_ASSERT("p->len >= poff", p->len >= poff); - 801ae8e: 68fb ldr r3, [r7, #12] - 801ae90: 895b ldrh r3, [r3, #10] - 801ae92: 8ffa ldrh r2, [r7, #62] ; 0x3e - 801ae94: 429a cmp r2, r3 - 801ae96: d906 bls.n 801aea6 - 801ae98: 4b5b ldr r3, [pc, #364] ; (801b008 ) - 801ae9a: f240 322d movw r2, #813 ; 0x32d - 801ae9e: 495e ldr r1, [pc, #376] ; (801b018 ) - 801aea0: 485b ldr r0, [pc, #364] ; (801b010 ) - 801aea2: f000 fb09 bl 801b4b8 + 801aa1e: 68fb ldr r3, [r7, #12] + 801aa20: 895b ldrh r3, [r3, #10] + 801aa22: 8ffa ldrh r2, [r7, #62] ; 0x3e + 801aa24: 429a cmp r2, r3 + 801aa26: d906 bls.n 801aa36 + 801aa28: 4b5b ldr r3, [pc, #364] ; (801ab98 ) + 801aa2a: f240 322d movw r2, #813 ; 0x32d + 801aa2e: 495e ldr r1, [pc, #376] ; (801aba8 ) + 801aa30: 485b ldr r0, [pc, #364] ; (801aba0 ) + 801aa32: f000 faef bl 801b014 newpbuflen = LWIP_MIN(left_to_copy, plen); - 801aea6: 8bfa ldrh r2, [r7, #30] - 801aea8: f8b7 3044 ldrh.w r3, [r7, #68] ; 0x44 - 801aeac: 4293 cmp r3, r2 - 801aeae: bf28 it cs - 801aeb0: 4613 movcs r3, r2 - 801aeb2: f8a7 3046 strh.w r3, [r7, #70] ; 0x46 + 801aa36: 8bfa ldrh r2, [r7, #30] + 801aa38: f8b7 3044 ldrh.w r3, [r7, #68] ; 0x44 + 801aa3c: 4293 cmp r3, r2 + 801aa3e: bf28 it cs + 801aa40: 4613 movcs r3, r2 + 801aa42: f8a7 3046 strh.w r3, [r7, #70] ; 0x46 /* Is this pbuf already empty? */ if (!newpbuflen) { - 801aeb6: f8b7 3046 ldrh.w r3, [r7, #70] ; 0x46 - 801aeba: 2b00 cmp r3, #0 - 801aebc: d105 bne.n 801aeca + 801aa46: f8b7 3046 ldrh.w r3, [r7, #70] ; 0x46 + 801aa4a: 2b00 cmp r3, #0 + 801aa4c: d105 bne.n 801aa5a poff = 0; - 801aebe: 2300 movs r3, #0 - 801aec0: 87fb strh r3, [r7, #62] ; 0x3e + 801aa4e: 2300 movs r3, #0 + 801aa50: 87fb strh r3, [r7, #62] ; 0x3e p = p->next; - 801aec2: 68fb ldr r3, [r7, #12] - 801aec4: 681b ldr r3, [r3, #0] - 801aec6: 60fb str r3, [r7, #12] + 801aa52: 68fb ldr r3, [r7, #12] + 801aa54: 681b ldr r3, [r3, #0] + 801aa56: 60fb str r3, [r7, #12] continue; - 801aec8: e041 b.n 801af4e + 801aa58: e041 b.n 801aade } pcr = ip_frag_alloc_pbuf_custom_ref(); - 801aeca: f7ff ff0d bl 801ace8 - 801aece: 61b8 str r0, [r7, #24] + 801aa5a: f7ff ff0d bl 801a878 + 801aa5e: 61b8 str r0, [r7, #24] if (pcr == NULL) { - 801aed0: 69bb ldr r3, [r7, #24] - 801aed2: 2b00 cmp r3, #0 - 801aed4: d103 bne.n 801aede + 801aa60: 69bb ldr r3, [r7, #24] + 801aa62: 2b00 cmp r3, #0 + 801aa64: d103 bne.n 801aa6e pbuf_free(rambuf); - 801aed6: 6a78 ldr r0, [r7, #36] ; 0x24 - 801aed8: f7f5 fdbe bl 8010a58 + 801aa66: 6a78 ldr r0, [r7, #36] ; 0x24 + 801aa68: f7f5 fdbe bl 80105e8 goto memerr; - 801aedc: e08e b.n 801affc + 801aa6c: e08e b.n 801ab8c } /* Mirror this pbuf, although we might not need all of it. */ newpbuf = pbuf_alloced_custom(PBUF_RAW, newpbuflen, PBUF_REF, &pcr->pc, - 801aede: 69b8 ldr r0, [r7, #24] + 801aa6e: 69b8 ldr r0, [r7, #24] (u8_t *)p->payload + poff, newpbuflen); - 801aee0: 68fb ldr r3, [r7, #12] - 801aee2: 685a ldr r2, [r3, #4] + 801aa70: 68fb ldr r3, [r7, #12] + 801aa72: 685a ldr r2, [r3, #4] newpbuf = pbuf_alloced_custom(PBUF_RAW, newpbuflen, PBUF_REF, &pcr->pc, - 801aee4: 8ffb ldrh r3, [r7, #62] ; 0x3e - 801aee6: 4413 add r3, r2 - 801aee8: f8b7 1046 ldrh.w r1, [r7, #70] ; 0x46 - 801aeec: f8b7 2046 ldrh.w r2, [r7, #70] ; 0x46 - 801aef0: 9201 str r2, [sp, #4] - 801aef2: 9300 str r3, [sp, #0] - 801aef4: 4603 mov r3, r0 - 801aef6: 2241 movs r2, #65 ; 0x41 - 801aef8: 2000 movs r0, #0 - 801aefa: f7f5 fbf3 bl 80106e4 - 801aefe: 6178 str r0, [r7, #20] + 801aa74: 8ffb ldrh r3, [r7, #62] ; 0x3e + 801aa76: 4413 add r3, r2 + 801aa78: f8b7 1046 ldrh.w r1, [r7, #70] ; 0x46 + 801aa7c: f8b7 2046 ldrh.w r2, [r7, #70] ; 0x46 + 801aa80: 9201 str r2, [sp, #4] + 801aa82: 9300 str r3, [sp, #0] + 801aa84: 4603 mov r3, r0 + 801aa86: 2241 movs r2, #65 ; 0x41 + 801aa88: 2000 movs r0, #0 + 801aa8a: f7f5 fbf3 bl 8010274 + 801aa8e: 6178 str r0, [r7, #20] if (newpbuf == NULL) { - 801af00: 697b ldr r3, [r7, #20] - 801af02: 2b00 cmp r3, #0 - 801af04: d106 bne.n 801af14 + 801aa90: 697b ldr r3, [r7, #20] + 801aa92: 2b00 cmp r3, #0 + 801aa94: d106 bne.n 801aaa4 ip_frag_free_pbuf_custom_ref(pcr); - 801af06: 69b8 ldr r0, [r7, #24] - 801af08: f7ff fef6 bl 801acf8 + 801aa96: 69b8 ldr r0, [r7, #24] + 801aa98: f7ff fef6 bl 801a888 pbuf_free(rambuf); - 801af0c: 6a78 ldr r0, [r7, #36] ; 0x24 - 801af0e: f7f5 fda3 bl 8010a58 + 801aa9c: 6a78 ldr r0, [r7, #36] ; 0x24 + 801aa9e: f7f5 fda3 bl 80105e8 goto memerr; - 801af12: e073 b.n 801affc + 801aaa2: e073 b.n 801ab8c } pbuf_ref(p); - 801af14: 68f8 ldr r0, [r7, #12] - 801af16: f7f5 fe45 bl 8010ba4 + 801aaa4: 68f8 ldr r0, [r7, #12] + 801aaa6: f7f5 fe45 bl 8010734 pcr->original = p; - 801af1a: 69bb ldr r3, [r7, #24] - 801af1c: 68fa ldr r2, [r7, #12] - 801af1e: 615a str r2, [r3, #20] + 801aaaa: 69bb ldr r3, [r7, #24] + 801aaac: 68fa ldr r2, [r7, #12] + 801aaae: 615a str r2, [r3, #20] pcr->pc.custom_free_function = ipfrag_free_pbuf_custom; - 801af20: 69bb ldr r3, [r7, #24] - 801af22: 4a3e ldr r2, [pc, #248] ; (801b01c ) - 801af24: 611a str r2, [r3, #16] + 801aab0: 69bb ldr r3, [r7, #24] + 801aab2: 4a3e ldr r2, [pc, #248] ; (801abac ) + 801aab4: 611a str r2, [r3, #16] /* Add it to end of rambuf's chain, but using pbuf_cat, not pbuf_chain * so that it is removed when pbuf_dechain is later called on rambuf. */ pbuf_cat(rambuf, newpbuf); - 801af26: 6979 ldr r1, [r7, #20] - 801af28: 6a78 ldr r0, [r7, #36] ; 0x24 - 801af2a: f7f5 fe63 bl 8010bf4 + 801aab6: 6979 ldr r1, [r7, #20] + 801aab8: 6a78 ldr r0, [r7, #36] ; 0x24 + 801aaba: f7f5 fe63 bl 8010784 left_to_copy = (u16_t)(left_to_copy - newpbuflen); - 801af2e: f8b7 2044 ldrh.w r2, [r7, #68] ; 0x44 - 801af32: f8b7 3046 ldrh.w r3, [r7, #70] ; 0x46 - 801af36: 1ad3 subs r3, r2, r3 - 801af38: f8a7 3044 strh.w r3, [r7, #68] ; 0x44 + 801aabe: f8b7 2044 ldrh.w r2, [r7, #68] ; 0x44 + 801aac2: f8b7 3046 ldrh.w r3, [r7, #70] ; 0x46 + 801aac6: 1ad3 subs r3, r2, r3 + 801aac8: f8a7 3044 strh.w r3, [r7, #68] ; 0x44 if (left_to_copy) { - 801af3c: f8b7 3044 ldrh.w r3, [r7, #68] ; 0x44 - 801af40: 2b00 cmp r3, #0 - 801af42: d004 beq.n 801af4e + 801aacc: f8b7 3044 ldrh.w r3, [r7, #68] ; 0x44 + 801aad0: 2b00 cmp r3, #0 + 801aad2: d004 beq.n 801aade poff = 0; - 801af44: 2300 movs r3, #0 - 801af46: 87fb strh r3, [r7, #62] ; 0x3e + 801aad4: 2300 movs r3, #0 + 801aad6: 87fb strh r3, [r7, #62] ; 0x3e p = p->next; - 801af48: 68fb ldr r3, [r7, #12] - 801af4a: 681b ldr r3, [r3, #0] - 801af4c: 60fb str r3, [r7, #12] + 801aad8: 68fb ldr r3, [r7, #12] + 801aada: 681b ldr r3, [r3, #0] + 801aadc: 60fb str r3, [r7, #12] while (left_to_copy) { - 801af4e: f8b7 3044 ldrh.w r3, [r7, #68] ; 0x44 - 801af52: 2b00 cmp r3, #0 - 801af54: d196 bne.n 801ae84 + 801aade: f8b7 3044 ldrh.w r3, [r7, #68] ; 0x44 + 801aae2: 2b00 cmp r3, #0 + 801aae4: d196 bne.n 801aa14 } } poff = (u16_t)(poff + newpbuflen); - 801af56: 8ffa ldrh r2, [r7, #62] ; 0x3e - 801af58: f8b7 3046 ldrh.w r3, [r7, #70] ; 0x46 - 801af5c: 4413 add r3, r2 - 801af5e: 87fb strh r3, [r7, #62] ; 0x3e + 801aae6: 8ffa ldrh r2, [r7, #62] ; 0x3e + 801aae8: f8b7 3046 ldrh.w r3, [r7, #70] ; 0x46 + 801aaec: 4413 add r3, r2 + 801aaee: 87fb strh r3, [r7, #62] ; 0x3e #endif /* LWIP_NETIF_TX_SINGLE_PBUF */ /* Correct header */ last = (left <= netif->mtu - IP_HLEN); - 801af60: f8b7 2042 ldrh.w r2, [r7, #66] ; 0x42 - 801af64: 68bb ldr r3, [r7, #8] - 801af66: 8d1b ldrh r3, [r3, #40] ; 0x28 - 801af68: 3b14 subs r3, #20 - 801af6a: 429a cmp r2, r3 - 801af6c: bfd4 ite le - 801af6e: 2301 movle r3, #1 - 801af70: 2300 movgt r3, #0 - 801af72: b2db uxtb r3, r3 - 801af74: 623b str r3, [r7, #32] + 801aaf0: f8b7 2042 ldrh.w r2, [r7, #66] ; 0x42 + 801aaf4: 68bb ldr r3, [r7, #8] + 801aaf6: 8d1b ldrh r3, [r3, #40] ; 0x28 + 801aaf8: 3b14 subs r3, #20 + 801aafa: 429a cmp r2, r3 + 801aafc: bfd4 ite le + 801aafe: 2301 movle r3, #1 + 801ab00: 2300 movgt r3, #0 + 801ab02: b2db uxtb r3, r3 + 801ab04: 623b str r3, [r7, #32] /* Set new offset and MF flag */ tmp = (IP_OFFMASK & (ofo)); - 801af76: f8b7 3040 ldrh.w r3, [r7, #64] ; 0x40 - 801af7a: f3c3 030c ubfx r3, r3, #0, #13 - 801af7e: 87bb strh r3, [r7, #60] ; 0x3c + 801ab06: f8b7 3040 ldrh.w r3, [r7, #64] ; 0x40 + 801ab0a: f3c3 030c ubfx r3, r3, #0, #13 + 801ab0e: 87bb strh r3, [r7, #60] ; 0x3c if (!last || mf_set) { - 801af80: 6a3b ldr r3, [r7, #32] - 801af82: 2b00 cmp r3, #0 - 801af84: d002 beq.n 801af8c - 801af86: 6afb ldr r3, [r7, #44] ; 0x2c - 801af88: 2b00 cmp r3, #0 - 801af8a: d003 beq.n 801af94 + 801ab10: 6a3b ldr r3, [r7, #32] + 801ab12: 2b00 cmp r3, #0 + 801ab14: d002 beq.n 801ab1c + 801ab16: 6afb ldr r3, [r7, #44] ; 0x2c + 801ab18: 2b00 cmp r3, #0 + 801ab1a: d003 beq.n 801ab24 /* the last fragment has MF set if the input frame had it */ tmp = tmp | IP_MF; - 801af8c: 8fbb ldrh r3, [r7, #60] ; 0x3c - 801af8e: f443 5300 orr.w r3, r3, #8192 ; 0x2000 - 801af92: 87bb strh r3, [r7, #60] ; 0x3c + 801ab1c: 8fbb ldrh r3, [r7, #60] ; 0x3c + 801ab1e: f443 5300 orr.w r3, r3, #8192 ; 0x2000 + 801ab22: 87bb strh r3, [r7, #60] ; 0x3c } IPH_OFFSET_SET(iphdr, lwip_htons(tmp)); - 801af94: 8fbb ldrh r3, [r7, #60] ; 0x3c - 801af96: 4618 mov r0, r3 - 801af98: f7f4 f9aa bl 800f2f0 - 801af9c: 4603 mov r3, r0 - 801af9e: 461a mov r2, r3 - 801afa0: 6b3b ldr r3, [r7, #48] ; 0x30 - 801afa2: 80da strh r2, [r3, #6] + 801ab24: 8fbb ldrh r3, [r7, #60] ; 0x3c + 801ab26: 4618 mov r0, r3 + 801ab28: f7f4 f9aa bl 800ee80 + 801ab2c: 4603 mov r3, r0 + 801ab2e: 461a mov r2, r3 + 801ab30: 6b3b ldr r3, [r7, #48] ; 0x30 + 801ab32: 80da strh r2, [r3, #6] IPH_LEN_SET(iphdr, lwip_htons((u16_t)(fragsize + IP_HLEN))); - 801afa4: 8d7b ldrh r3, [r7, #42] ; 0x2a - 801afa6: 3314 adds r3, #20 - 801afa8: b29b uxth r3, r3 - 801afaa: 4618 mov r0, r3 - 801afac: f7f4 f9a0 bl 800f2f0 - 801afb0: 4603 mov r3, r0 - 801afb2: 461a mov r2, r3 - 801afb4: 6b3b ldr r3, [r7, #48] ; 0x30 - 801afb6: 805a strh r2, [r3, #2] + 801ab34: 8d7b ldrh r3, [r7, #42] ; 0x2a + 801ab36: 3314 adds r3, #20 + 801ab38: b29b uxth r3, r3 + 801ab3a: 4618 mov r0, r3 + 801ab3c: f7f4 f9a0 bl 800ee80 + 801ab40: 4603 mov r3, r0 + 801ab42: 461a mov r2, r3 + 801ab44: 6b3b ldr r3, [r7, #48] ; 0x30 + 801ab46: 805a strh r2, [r3, #2] IPH_CHKSUM_SET(iphdr, 0); - 801afb8: 6b3b ldr r3, [r7, #48] ; 0x30 - 801afba: 2200 movs r2, #0 - 801afbc: 729a strb r2, [r3, #10] - 801afbe: 2200 movs r2, #0 - 801afc0: 72da strb r2, [r3, #11] + 801ab48: 6b3b ldr r3, [r7, #48] ; 0x30 + 801ab4a: 2200 movs r2, #0 + 801ab4c: 729a strb r2, [r3, #10] + 801ab4e: 2200 movs r2, #0 + 801ab50: 72da strb r2, [r3, #11] #endif /* CHECKSUM_GEN_IP */ /* No need for separate header pbuf - we allowed room for it in rambuf * when allocated. */ netif->output(netif, rambuf, dest); - 801afc2: 68bb ldr r3, [r7, #8] - 801afc4: 695b ldr r3, [r3, #20] - 801afc6: 687a ldr r2, [r7, #4] - 801afc8: 6a79 ldr r1, [r7, #36] ; 0x24 - 801afca: 68b8 ldr r0, [r7, #8] - 801afcc: 4798 blx r3 + 801ab52: 68bb ldr r3, [r7, #8] + 801ab54: 695b ldr r3, [r3, #20] + 801ab56: 687a ldr r2, [r7, #4] + 801ab58: 6a79 ldr r1, [r7, #36] ; 0x24 + 801ab5a: 68b8 ldr r0, [r7, #8] + 801ab5c: 4798 blx r3 * recreate it next time round the loop. If we're lucky the hardware * will have already sent the packet, the free will really free, and * there will be zero memory penalty. */ pbuf_free(rambuf); - 801afce: 6a78 ldr r0, [r7, #36] ; 0x24 - 801afd0: f7f5 fd42 bl 8010a58 + 801ab5e: 6a78 ldr r0, [r7, #36] ; 0x24 + 801ab60: f7f5 fd42 bl 80105e8 left = (u16_t)(left - fragsize); - 801afd4: f8b7 2042 ldrh.w r2, [r7, #66] ; 0x42 - 801afd8: 8d7b ldrh r3, [r7, #42] ; 0x2a - 801afda: 1ad3 subs r3, r2, r3 - 801afdc: f8a7 3042 strh.w r3, [r7, #66] ; 0x42 + 801ab64: f8b7 2042 ldrh.w r2, [r7, #66] ; 0x42 + 801ab68: 8d7b ldrh r3, [r7, #42] ; 0x2a + 801ab6a: 1ad3 subs r3, r2, r3 + 801ab6c: f8a7 3042 strh.w r3, [r7, #66] ; 0x42 ofo = (u16_t)(ofo + nfb); - 801afe0: f8b7 2040 ldrh.w r2, [r7, #64] ; 0x40 - 801afe4: 8f7b ldrh r3, [r7, #58] ; 0x3a - 801afe6: 4413 add r3, r2 - 801afe8: f8a7 3040 strh.w r3, [r7, #64] ; 0x40 + 801ab70: f8b7 2040 ldrh.w r2, [r7, #64] ; 0x40 + 801ab74: 8f7b ldrh r3, [r7, #58] ; 0x3a + 801ab76: 4413 add r3, r2 + 801ab78: f8a7 3040 strh.w r3, [r7, #64] ; 0x40 while (left) { - 801afec: f8b7 3042 ldrh.w r3, [r7, #66] ; 0x42 - 801aff0: 2b00 cmp r3, #0 - 801aff2: f47f af1a bne.w 801ae2a + 801ab7c: f8b7 3042 ldrh.w r3, [r7, #66] ; 0x42 + 801ab80: 2b00 cmp r3, #0 + 801ab82: f47f af1a bne.w 801a9ba } MIB2_STATS_INC(mib2.ipfragoks); return ERR_OK; - 801aff6: 2300 movs r3, #0 - 801aff8: e002 b.n 801b000 + 801ab86: 2300 movs r3, #0 + 801ab88: e002 b.n 801ab90 goto memerr; - 801affa: bf00 nop + 801ab8a: bf00 nop memerr: MIB2_STATS_INC(mib2.ipfragfails); return ERR_MEM; - 801affc: f04f 33ff mov.w r3, #4294967295 + 801ab8c: f04f 33ff mov.w r3, #4294967295 } - 801b000: 4618 mov r0, r3 - 801b002: 3748 adds r7, #72 ; 0x48 - 801b004: 46bd mov sp, r7 - 801b006: bd80 pop {r7, pc} - 801b008: 0801f344 .word 0x0801f344 - 801b00c: 0801f520 .word 0x0801f520 - 801b010: 0801f38c .word 0x0801f38c - 801b014: 0801f53c .word 0x0801f53c - 801b018: 0801f55c .word 0x0801f55c - 801b01c: 0801ad31 .word 0x0801ad31 + 801ab90: 4618 mov r0, r3 + 801ab92: 3748 adds r7, #72 ; 0x48 + 801ab94: 46bd mov sp, r7 + 801ab96: bd80 pop {r7, pc} + 801ab98: 0801eb40 .word 0x0801eb40 + 801ab9c: 0801ed1c .word 0x0801ed1c + 801aba0: 0801eb88 .word 0x0801eb88 + 801aba4: 0801ed38 .word 0x0801ed38 + 801aba8: 0801ed58 .word 0x0801ed58 + 801abac: 0801a8c1 .word 0x0801a8c1 -0801b020 : +0801abb0 : * @see ETHARP_SUPPORT_VLAN * @see LWIP_HOOK_VLAN_CHECK */ err_t ethernet_input(struct pbuf *p, struct netif *netif) { - 801b020: b580 push {r7, lr} - 801b022: b086 sub sp, #24 - 801b024: af00 add r7, sp, #0 - 801b026: 6078 str r0, [r7, #4] - 801b028: 6039 str r1, [r7, #0] + 801abb0: b580 push {r7, lr} + 801abb2: b086 sub sp, #24 + 801abb4: af00 add r7, sp, #0 + 801abb6: 6078 str r0, [r7, #4] + 801abb8: 6039 str r1, [r7, #0] struct eth_hdr *ethhdr; u16_t type; #if LWIP_ARP || ETHARP_SUPPORT_VLAN || LWIP_IPV6 u16_t next_hdr_offset = SIZEOF_ETH_HDR; - 801b02a: 230e movs r3, #14 - 801b02c: 82fb strh r3, [r7, #22] + 801abba: 230e movs r3, #14 + 801abbc: 82fb strh r3, [r7, #22] #endif /* LWIP_ARP || ETHARP_SUPPORT_VLAN */ LWIP_ASSERT_CORE_LOCKED(); if (p->len <= SIZEOF_ETH_HDR) { - 801b02e: 687b ldr r3, [r7, #4] - 801b030: 895b ldrh r3, [r3, #10] - 801b032: 2b0e cmp r3, #14 - 801b034: d96e bls.n 801b114 + 801abbe: 687b ldr r3, [r7, #4] + 801abc0: 895b ldrh r3, [r3, #10] + 801abc2: 2b0e cmp r3, #14 + 801abc4: d96e bls.n 801aca4 ETHARP_STATS_INC(etharp.drop); MIB2_STATS_NETIF_INC(netif, ifinerrors); goto free_and_return; } if (p->if_idx == NETIF_NO_INDEX) { - 801b036: 687b ldr r3, [r7, #4] - 801b038: 7bdb ldrb r3, [r3, #15] - 801b03a: 2b00 cmp r3, #0 - 801b03c: d106 bne.n 801b04c + 801abc6: 687b ldr r3, [r7, #4] + 801abc8: 7bdb ldrb r3, [r3, #15] + 801abca: 2b00 cmp r3, #0 + 801abcc: d106 bne.n 801abdc p->if_idx = netif_get_index(netif); - 801b03e: 683b ldr r3, [r7, #0] - 801b040: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 - 801b044: 3301 adds r3, #1 - 801b046: b2da uxtb r2, r3 - 801b048: 687b ldr r3, [r7, #4] - 801b04a: 73da strb r2, [r3, #15] + 801abce: 683b ldr r3, [r7, #0] + 801abd0: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 + 801abd4: 3301 adds r3, #1 + 801abd6: b2da uxtb r2, r3 + 801abd8: 687b ldr r3, [r7, #4] + 801abda: 73da strb r2, [r3, #15] } /* points to packet payload, which starts with an Ethernet header */ ethhdr = (struct eth_hdr *)p->payload; - 801b04c: 687b ldr r3, [r7, #4] - 801b04e: 685b ldr r3, [r3, #4] - 801b050: 613b str r3, [r7, #16] + 801abdc: 687b ldr r3, [r7, #4] + 801abde: 685b ldr r3, [r3, #4] + 801abe0: 613b str r3, [r7, #16] (unsigned char)ethhdr->dest.addr[3], (unsigned char)ethhdr->dest.addr[4], (unsigned char)ethhdr->dest.addr[5], (unsigned char)ethhdr->src.addr[0], (unsigned char)ethhdr->src.addr[1], (unsigned char)ethhdr->src.addr[2], (unsigned char)ethhdr->src.addr[3], (unsigned char)ethhdr->src.addr[4], (unsigned char)ethhdr->src.addr[5], lwip_htons(ethhdr->type))); type = ethhdr->type; - 801b052: 693b ldr r3, [r7, #16] - 801b054: 7b1a ldrb r2, [r3, #12] - 801b056: 7b5b ldrb r3, [r3, #13] - 801b058: 021b lsls r3, r3, #8 - 801b05a: 4313 orrs r3, r2 - 801b05c: 81fb strh r3, [r7, #14] + 801abe2: 693b ldr r3, [r7, #16] + 801abe4: 7b1a ldrb r2, [r3, #12] + 801abe6: 7b5b ldrb r3, [r3, #13] + 801abe8: 021b lsls r3, r3, #8 + 801abea: 4313 orrs r3, r2 + 801abec: 81fb strh r3, [r7, #14] #if LWIP_ARP_FILTER_NETIF netif = LWIP_ARP_FILTER_NETIF_FN(p, netif, lwip_htons(type)); #endif /* LWIP_ARP_FILTER_NETIF*/ if (ethhdr->dest.addr[0] & 1) { - 801b05e: 693b ldr r3, [r7, #16] - 801b060: 781b ldrb r3, [r3, #0] - 801b062: f003 0301 and.w r3, r3, #1 - 801b066: 2b00 cmp r3, #0 - 801b068: d023 beq.n 801b0b2 + 801abee: 693b ldr r3, [r7, #16] + 801abf0: 781b ldrb r3, [r3, #0] + 801abf2: f003 0301 and.w r3, r3, #1 + 801abf6: 2b00 cmp r3, #0 + 801abf8: d023 beq.n 801ac42 /* this might be a multicast or broadcast packet */ if (ethhdr->dest.addr[0] == LL_IP4_MULTICAST_ADDR_0) { - 801b06a: 693b ldr r3, [r7, #16] - 801b06c: 781b ldrb r3, [r3, #0] - 801b06e: 2b01 cmp r3, #1 - 801b070: d10f bne.n 801b092 + 801abfa: 693b ldr r3, [r7, #16] + 801abfc: 781b ldrb r3, [r3, #0] + 801abfe: 2b01 cmp r3, #1 + 801ac00: d10f bne.n 801ac22 #if LWIP_IPV4 if ((ethhdr->dest.addr[1] == LL_IP4_MULTICAST_ADDR_1) && - 801b072: 693b ldr r3, [r7, #16] - 801b074: 785b ldrb r3, [r3, #1] - 801b076: 2b00 cmp r3, #0 - 801b078: d11b bne.n 801b0b2 + 801ac02: 693b ldr r3, [r7, #16] + 801ac04: 785b ldrb r3, [r3, #1] + 801ac06: 2b00 cmp r3, #0 + 801ac08: d11b bne.n 801ac42 (ethhdr->dest.addr[2] == LL_IP4_MULTICAST_ADDR_2)) { - 801b07a: 693b ldr r3, [r7, #16] - 801b07c: 789b ldrb r3, [r3, #2] + 801ac0a: 693b ldr r3, [r7, #16] + 801ac0c: 789b ldrb r3, [r3, #2] if ((ethhdr->dest.addr[1] == LL_IP4_MULTICAST_ADDR_1) && - 801b07e: 2b5e cmp r3, #94 ; 0x5e - 801b080: d117 bne.n 801b0b2 + 801ac0e: 2b5e cmp r3, #94 ; 0x5e + 801ac10: d117 bne.n 801ac42 /* mark the pbuf as link-layer multicast */ p->flags |= PBUF_FLAG_LLMCAST; - 801b082: 687b ldr r3, [r7, #4] - 801b084: 7b5b ldrb r3, [r3, #13] - 801b086: f043 0310 orr.w r3, r3, #16 - 801b08a: b2da uxtb r2, r3 - 801b08c: 687b ldr r3, [r7, #4] - 801b08e: 735a strb r2, [r3, #13] - 801b090: e00f b.n 801b0b2 + 801ac12: 687b ldr r3, [r7, #4] + 801ac14: 7b5b ldrb r3, [r3, #13] + 801ac16: f043 0310 orr.w r3, r3, #16 + 801ac1a: b2da uxtb r2, r3 + 801ac1c: 687b ldr r3, [r7, #4] + 801ac1e: 735a strb r2, [r3, #13] + 801ac20: e00f b.n 801ac42 (ethhdr->dest.addr[1] == LL_IP6_MULTICAST_ADDR_1)) { /* mark the pbuf as link-layer multicast */ p->flags |= PBUF_FLAG_LLMCAST; } #endif /* LWIP_IPV6 */ else if (eth_addr_cmp(ðhdr->dest, ðbroadcast)) { - 801b092: 693b ldr r3, [r7, #16] - 801b094: 2206 movs r2, #6 - 801b096: 4928 ldr r1, [pc, #160] ; (801b138 ) - 801b098: 4618 mov r0, r3 - 801b09a: f000 f9d1 bl 801b440 - 801b09e: 4603 mov r3, r0 - 801b0a0: 2b00 cmp r3, #0 - 801b0a2: d106 bne.n 801b0b2 + 801ac22: 693b ldr r3, [r7, #16] + 801ac24: 2206 movs r2, #6 + 801ac26: 4928 ldr r1, [pc, #160] ; (801acc8 ) + 801ac28: 4618 mov r0, r3 + 801ac2a: f000 f9d1 bl 801afd0 + 801ac2e: 4603 mov r3, r0 + 801ac30: 2b00 cmp r3, #0 + 801ac32: d106 bne.n 801ac42 /* mark the pbuf as link-layer broadcast */ p->flags |= PBUF_FLAG_LLBCAST; - 801b0a4: 687b ldr r3, [r7, #4] - 801b0a6: 7b5b ldrb r3, [r3, #13] - 801b0a8: f043 0308 orr.w r3, r3, #8 - 801b0ac: b2da uxtb r2, r3 - 801b0ae: 687b ldr r3, [r7, #4] - 801b0b0: 735a strb r2, [r3, #13] + 801ac34: 687b ldr r3, [r7, #4] + 801ac36: 7b5b ldrb r3, [r3, #13] + 801ac38: f043 0308 orr.w r3, r3, #8 + 801ac3c: b2da uxtb r2, r3 + 801ac3e: 687b ldr r3, [r7, #4] + 801ac40: 735a strb r2, [r3, #13] } } switch (type) { - 801b0b2: 89fb ldrh r3, [r7, #14] - 801b0b4: 2b08 cmp r3, #8 - 801b0b6: d003 beq.n 801b0c0 - 801b0b8: f5b3 6fc1 cmp.w r3, #1544 ; 0x608 - 801b0bc: d014 beq.n 801b0e8 + 801ac42: 89fb ldrh r3, [r7, #14] + 801ac44: 2b08 cmp r3, #8 + 801ac46: d003 beq.n 801ac50 + 801ac48: f5b3 6fc1 cmp.w r3, #1544 ; 0x608 + 801ac4c: d014 beq.n 801ac78 } #endif ETHARP_STATS_INC(etharp.proterr); ETHARP_STATS_INC(etharp.drop); MIB2_STATS_NETIF_INC(netif, ifinunknownprotos); goto free_and_return; - 801b0be: e032 b.n 801b126 + 801ac4e: e032 b.n 801acb6 if (!(netif->flags & NETIF_FLAG_ETHARP)) { - 801b0c0: 683b ldr r3, [r7, #0] - 801b0c2: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 801b0c6: f003 0308 and.w r3, r3, #8 - 801b0ca: 2b00 cmp r3, #0 - 801b0cc: d024 beq.n 801b118 + 801ac50: 683b ldr r3, [r7, #0] + 801ac52: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 801ac56: f003 0308 and.w r3, r3, #8 + 801ac5a: 2b00 cmp r3, #0 + 801ac5c: d024 beq.n 801aca8 if (pbuf_remove_header(p, next_hdr_offset)) { - 801b0ce: 8afb ldrh r3, [r7, #22] - 801b0d0: 4619 mov r1, r3 - 801b0d2: 6878 ldr r0, [r7, #4] - 801b0d4: f7f5 fc3a bl 801094c - 801b0d8: 4603 mov r3, r0 - 801b0da: 2b00 cmp r3, #0 - 801b0dc: d11e bne.n 801b11c + 801ac5e: 8afb ldrh r3, [r7, #22] + 801ac60: 4619 mov r1, r3 + 801ac62: 6878 ldr r0, [r7, #4] + 801ac64: f7f5 fc3a bl 80104dc + 801ac68: 4603 mov r3, r0 + 801ac6a: 2b00 cmp r3, #0 + 801ac6c: d11e bne.n 801acac ip4_input(p, netif); - 801b0de: 6839 ldr r1, [r7, #0] - 801b0e0: 6878 ldr r0, [r7, #4] - 801b0e2: f7fe ff0f bl 8019f04 + 801ac6e: 6839 ldr r1, [r7, #0] + 801ac70: 6878 ldr r0, [r7, #4] + 801ac72: f7fe ff0f bl 8019a94 break; - 801b0e6: e013 b.n 801b110 + 801ac76: e013 b.n 801aca0 if (!(netif->flags & NETIF_FLAG_ETHARP)) { - 801b0e8: 683b ldr r3, [r7, #0] - 801b0ea: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 - 801b0ee: f003 0308 and.w r3, r3, #8 - 801b0f2: 2b00 cmp r3, #0 - 801b0f4: d014 beq.n 801b120 + 801ac78: 683b ldr r3, [r7, #0] + 801ac7a: f893 3031 ldrb.w r3, [r3, #49] ; 0x31 + 801ac7e: f003 0308 and.w r3, r3, #8 + 801ac82: 2b00 cmp r3, #0 + 801ac84: d014 beq.n 801acb0 if (pbuf_remove_header(p, next_hdr_offset)) { - 801b0f6: 8afb ldrh r3, [r7, #22] - 801b0f8: 4619 mov r1, r3 - 801b0fa: 6878 ldr r0, [r7, #4] - 801b0fc: f7f5 fc26 bl 801094c - 801b100: 4603 mov r3, r0 - 801b102: 2b00 cmp r3, #0 - 801b104: d10e bne.n 801b124 + 801ac86: 8afb ldrh r3, [r7, #22] + 801ac88: 4619 mov r1, r3 + 801ac8a: 6878 ldr r0, [r7, #4] + 801ac8c: f7f5 fc26 bl 80104dc + 801ac90: 4603 mov r3, r0 + 801ac92: 2b00 cmp r3, #0 + 801ac94: d10e bne.n 801acb4 etharp_input(p, netif); - 801b106: 6839 ldr r1, [r7, #0] - 801b108: 6878 ldr r0, [r7, #4] - 801b10a: f7fe f8ab bl 8019264 + 801ac96: 6839 ldr r1, [r7, #0] + 801ac98: 6878 ldr r0, [r7, #4] + 801ac9a: f7fe f8ab bl 8018df4 break; - 801b10e: bf00 nop + 801ac9e: bf00 nop } /* This means the pbuf is freed or consumed, so the caller doesn't have to free it again */ return ERR_OK; - 801b110: 2300 movs r3, #0 - 801b112: e00c b.n 801b12e + 801aca0: 2300 movs r3, #0 + 801aca2: e00c b.n 801acbe goto free_and_return; - 801b114: bf00 nop - 801b116: e006 b.n 801b126 + 801aca4: bf00 nop + 801aca6: e006 b.n 801acb6 goto free_and_return; - 801b118: bf00 nop - 801b11a: e004 b.n 801b126 + 801aca8: bf00 nop + 801acaa: e004 b.n 801acb6 goto free_and_return; - 801b11c: bf00 nop - 801b11e: e002 b.n 801b126 + 801acac: bf00 nop + 801acae: e002 b.n 801acb6 goto free_and_return; - 801b120: bf00 nop - 801b122: e000 b.n 801b126 + 801acb0: bf00 nop + 801acb2: e000 b.n 801acb6 goto free_and_return; - 801b124: bf00 nop + 801acb4: bf00 nop free_and_return: pbuf_free(p); - 801b126: 6878 ldr r0, [r7, #4] - 801b128: f7f5 fc96 bl 8010a58 + 801acb6: 6878 ldr r0, [r7, #4] + 801acb8: f7f5 fc96 bl 80105e8 return ERR_OK; - 801b12c: 2300 movs r3, #0 + 801acbc: 2300 movs r3, #0 } - 801b12e: 4618 mov r0, r3 - 801b130: 3718 adds r7, #24 - 801b132: 46bd mov sp, r7 - 801b134: bd80 pop {r7, pc} - 801b136: bf00 nop - 801b138: 08021674 .word 0x08021674 + 801acbe: 4618 mov r0, r3 + 801acc0: 3718 adds r7, #24 + 801acc2: 46bd mov sp, r7 + 801acc4: bd80 pop {r7, pc} + 801acc6: bf00 nop + 801acc8: 08020e70 .word 0x08020e70 -0801b13c : +0801accc : * @return ERR_OK if the packet was sent, any other err_t on failure */ err_t ethernet_output(struct netif * netif, struct pbuf * p, const struct eth_addr * src, const struct eth_addr * dst, u16_t eth_type) { - 801b13c: b580 push {r7, lr} - 801b13e: b086 sub sp, #24 - 801b140: af00 add r7, sp, #0 - 801b142: 60f8 str r0, [r7, #12] - 801b144: 60b9 str r1, [r7, #8] - 801b146: 607a str r2, [r7, #4] - 801b148: 603b str r3, [r7, #0] + 801accc: b580 push {r7, lr} + 801acce: b086 sub sp, #24 + 801acd0: af00 add r7, sp, #0 + 801acd2: 60f8 str r0, [r7, #12] + 801acd4: 60b9 str r1, [r7, #8] + 801acd6: 607a str r2, [r7, #4] + 801acd8: 603b str r3, [r7, #0] struct eth_hdr *ethhdr; u16_t eth_type_be = lwip_htons(eth_type); - 801b14a: 8c3b ldrh r3, [r7, #32] - 801b14c: 4618 mov r0, r3 - 801b14e: f7f4 f8cf bl 800f2f0 - 801b152: 4603 mov r3, r0 - 801b154: 82fb strh r3, [r7, #22] + 801acda: 8c3b ldrh r3, [r7, #32] + 801acdc: 4618 mov r0, r3 + 801acde: f7f4 f8cf bl 800ee80 + 801ace2: 4603 mov r3, r0 + 801ace4: 82fb strh r3, [r7, #22] eth_type_be = PP_HTONS(ETHTYPE_VLAN); } else #endif /* ETHARP_SUPPORT_VLAN && defined(LWIP_HOOK_VLAN_SET) */ { if (pbuf_add_header(p, SIZEOF_ETH_HDR) != 0) { - 801b156: 210e movs r1, #14 - 801b158: 68b8 ldr r0, [r7, #8] - 801b15a: f7f5 fbe7 bl 801092c - 801b15e: 4603 mov r3, r0 - 801b160: 2b00 cmp r3, #0 - 801b162: d125 bne.n 801b1b0 + 801ace6: 210e movs r1, #14 + 801ace8: 68b8 ldr r0, [r7, #8] + 801acea: f7f5 fbe7 bl 80104bc + 801acee: 4603 mov r3, r0 + 801acf0: 2b00 cmp r3, #0 + 801acf2: d125 bne.n 801ad40 } } LWIP_ASSERT_CORE_LOCKED(); ethhdr = (struct eth_hdr *)p->payload; - 801b164: 68bb ldr r3, [r7, #8] - 801b166: 685b ldr r3, [r3, #4] - 801b168: 613b str r3, [r7, #16] + 801acf4: 68bb ldr r3, [r7, #8] + 801acf6: 685b ldr r3, [r3, #4] + 801acf8: 613b str r3, [r7, #16] ethhdr->type = eth_type_be; - 801b16a: 693b ldr r3, [r7, #16] - 801b16c: 8afa ldrh r2, [r7, #22] - 801b16e: 819a strh r2, [r3, #12] + 801acfa: 693b ldr r3, [r7, #16] + 801acfc: 8afa ldrh r2, [r7, #22] + 801acfe: 819a strh r2, [r3, #12] SMEMCPY(ðhdr->dest, dst, ETH_HWADDR_LEN); - 801b170: 693b ldr r3, [r7, #16] - 801b172: 2206 movs r2, #6 - 801b174: 6839 ldr r1, [r7, #0] - 801b176: 4618 mov r0, r3 - 801b178: f000 f971 bl 801b45e + 801ad00: 693b ldr r3, [r7, #16] + 801ad02: 2206 movs r2, #6 + 801ad04: 6839 ldr r1, [r7, #0] + 801ad06: 4618 mov r0, r3 + 801ad08: f000 f971 bl 801afee SMEMCPY(ðhdr->src, src, ETH_HWADDR_LEN); - 801b17c: 693b ldr r3, [r7, #16] - 801b17e: 3306 adds r3, #6 - 801b180: 2206 movs r2, #6 - 801b182: 6879 ldr r1, [r7, #4] - 801b184: 4618 mov r0, r3 - 801b186: f000 f96a bl 801b45e + 801ad0c: 693b ldr r3, [r7, #16] + 801ad0e: 3306 adds r3, #6 + 801ad10: 2206 movs r2, #6 + 801ad12: 6879 ldr r1, [r7, #4] + 801ad14: 4618 mov r0, r3 + 801ad16: f000 f96a bl 801afee LWIP_ASSERT("netif->hwaddr_len must be 6 for ethernet_output!", - 801b18a: 68fb ldr r3, [r7, #12] - 801b18c: f893 3030 ldrb.w r3, [r3, #48] ; 0x30 - 801b190: 2b06 cmp r3, #6 - 801b192: d006 beq.n 801b1a2 - 801b194: 4b0a ldr r3, [pc, #40] ; (801b1c0 ) - 801b196: f240 1233 movw r2, #307 ; 0x133 - 801b19a: 490a ldr r1, [pc, #40] ; (801b1c4 ) - 801b19c: 480a ldr r0, [pc, #40] ; (801b1c8 ) - 801b19e: f000 f98b bl 801b4b8 + 801ad1a: 68fb ldr r3, [r7, #12] + 801ad1c: f893 3030 ldrb.w r3, [r3, #48] ; 0x30 + 801ad20: 2b06 cmp r3, #6 + 801ad22: d006 beq.n 801ad32 + 801ad24: 4b0a ldr r3, [pc, #40] ; (801ad50 ) + 801ad26: f240 1233 movw r2, #307 ; 0x133 + 801ad2a: 490a ldr r1, [pc, #40] ; (801ad54 ) + 801ad2c: 480a ldr r0, [pc, #40] ; (801ad58 ) + 801ad2e: f000 f971 bl 801b014 (netif->hwaddr_len == ETH_HWADDR_LEN)); LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("ethernet_output: sending packet %p\n", (void *)p)); /* send the packet */ return netif->linkoutput(netif, p); - 801b1a2: 68fb ldr r3, [r7, #12] - 801b1a4: 699b ldr r3, [r3, #24] - 801b1a6: 68b9 ldr r1, [r7, #8] - 801b1a8: 68f8 ldr r0, [r7, #12] - 801b1aa: 4798 blx r3 - 801b1ac: 4603 mov r3, r0 - 801b1ae: e002 b.n 801b1b6 + 801ad32: 68fb ldr r3, [r7, #12] + 801ad34: 699b ldr r3, [r3, #24] + 801ad36: 68b9 ldr r1, [r7, #8] + 801ad38: 68f8 ldr r0, [r7, #12] + 801ad3a: 4798 blx r3 + 801ad3c: 4603 mov r3, r0 + 801ad3e: e002 b.n 801ad46 goto pbuf_header_failed; - 801b1b0: bf00 nop + 801ad40: bf00 nop pbuf_header_failed: LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("ethernet_output: could not allocate room for header.\n")); LINK_STATS_INC(link.lenerr); return ERR_BUF; - 801b1b2: f06f 0301 mvn.w r3, #1 + 801ad42: f06f 0301 mvn.w r3, #1 } - 801b1b6: 4618 mov r0, r3 - 801b1b8: 3718 adds r7, #24 - 801b1ba: 46bd mov sp, r7 - 801b1bc: bd80 pop {r7, pc} - 801b1be: bf00 nop - 801b1c0: 0801f56c .word 0x0801f56c - 801b1c4: 0801f5a4 .word 0x0801f5a4 - 801b1c8: 0801f5d8 .word 0x0801f5d8 + 801ad46: 4618 mov r0, r3 + 801ad48: 3718 adds r7, #24 + 801ad4a: 46bd mov sp, r7 + 801ad4c: bd80 pop {r7, pc} + 801ad4e: bf00 nop + 801ad50: 0801ed68 .word 0x0801ed68 + 801ad54: 0801eda0 .word 0x0801eda0 + 801ad58: 0801edd4 .word 0x0801edd4 -0801b1cc : +0801ad5c : #endif /*-----------------------------------------------------------------------------------*/ // Creates an empty mailbox. err_t sys_mbox_new(sys_mbox_t *mbox, int size) { - 801b1cc: b580 push {r7, lr} - 801b1ce: b086 sub sp, #24 - 801b1d0: af00 add r7, sp, #0 - 801b1d2: 6078 str r0, [r7, #4] - 801b1d4: 6039 str r1, [r7, #0] + 801ad5c: b580 push {r7, lr} + 801ad5e: b086 sub sp, #24 + 801ad60: af00 add r7, sp, #0 + 801ad62: 6078 str r0, [r7, #4] + 801ad64: 6039 str r1, [r7, #0] #if (osCMSIS < 0x20000U) osMessageQDef(QUEUE, size, void *); - 801b1d6: 683b ldr r3, [r7, #0] - 801b1d8: 60bb str r3, [r7, #8] - 801b1da: 2304 movs r3, #4 - 801b1dc: 60fb str r3, [r7, #12] - 801b1de: 2300 movs r3, #0 - 801b1e0: 613b str r3, [r7, #16] - 801b1e2: 2300 movs r3, #0 - 801b1e4: 617b str r3, [r7, #20] + 801ad66: 683b ldr r3, [r7, #0] + 801ad68: 60bb str r3, [r7, #8] + 801ad6a: 2304 movs r3, #4 + 801ad6c: 60fb str r3, [r7, #12] + 801ad6e: 2300 movs r3, #0 + 801ad70: 613b str r3, [r7, #16] + 801ad72: 2300 movs r3, #0 + 801ad74: 617b str r3, [r7, #20] *mbox = osMessageCreate(osMessageQ(QUEUE), NULL); - 801b1e6: f107 0308 add.w r3, r7, #8 - 801b1ea: 2100 movs r1, #0 - 801b1ec: 4618 mov r0, r3 - 801b1ee: f7f0 fff7 bl 800c1e0 - 801b1f2: 4602 mov r2, r0 - 801b1f4: 687b ldr r3, [r7, #4] - 801b1f6: 601a str r2, [r3, #0] + 801ad76: f107 0308 add.w r3, r7, #8 + 801ad7a: 2100 movs r1, #0 + 801ad7c: 4618 mov r0, r3 + 801ad7e: f7f0 fffd bl 800bd7c + 801ad82: 4602 mov r2, r0 + 801ad84: 687b ldr r3, [r7, #4] + 801ad86: 601a str r2, [r3, #0] if(lwip_stats.sys.mbox.max < lwip_stats.sys.mbox.used) { lwip_stats.sys.mbox.max = lwip_stats.sys.mbox.used; } #endif /* SYS_STATS */ if(*mbox == NULL) - 801b1f8: 687b ldr r3, [r7, #4] - 801b1fa: 681b ldr r3, [r3, #0] - 801b1fc: 2b00 cmp r3, #0 - 801b1fe: d102 bne.n 801b206 + 801ad88: 687b ldr r3, [r7, #4] + 801ad8a: 681b ldr r3, [r3, #0] + 801ad8c: 2b00 cmp r3, #0 + 801ad8e: d102 bne.n 801ad96 return ERR_MEM; - 801b200: f04f 33ff mov.w r3, #4294967295 - 801b204: e000 b.n 801b208 + 801ad90: f04f 33ff mov.w r3, #4294967295 + 801ad94: e000 b.n 801ad98 return ERR_OK; - 801b206: 2300 movs r3, #0 + 801ad96: 2300 movs r3, #0 } - 801b208: 4618 mov r0, r3 - 801b20a: 3718 adds r7, #24 - 801b20c: 46bd mov sp, r7 - 801b20e: bd80 pop {r7, pc} + 801ad98: 4618 mov r0, r3 + 801ad9a: 3718 adds r7, #24 + 801ad9c: 46bd mov sp, r7 + 801ad9e: bd80 pop {r7, pc} -0801b210 : +0801ada0 : /*-----------------------------------------------------------------------------------*/ // Try to post the "msg" to the mailbox. err_t sys_mbox_trypost(sys_mbox_t *mbox, void *msg) { - 801b210: b580 push {r7, lr} - 801b212: b084 sub sp, #16 - 801b214: af00 add r7, sp, #0 - 801b216: 6078 str r0, [r7, #4] - 801b218: 6039 str r1, [r7, #0] + 801ada0: b580 push {r7, lr} + 801ada2: b084 sub sp, #16 + 801ada4: af00 add r7, sp, #0 + 801ada6: 6078 str r0, [r7, #4] + 801ada8: 6039 str r1, [r7, #0] err_t result; #if (osCMSIS < 0x20000U) if(osMessagePut(*mbox, (uint32_t)msg, 0) == osOK) - 801b21a: 687b ldr r3, [r7, #4] - 801b21c: 681b ldr r3, [r3, #0] - 801b21e: 6839 ldr r1, [r7, #0] - 801b220: 2200 movs r2, #0 - 801b222: 4618 mov r0, r3 - 801b224: f7f1 f806 bl 800c234 - 801b228: 4603 mov r3, r0 - 801b22a: 2b00 cmp r3, #0 - 801b22c: d102 bne.n 801b234 + 801adaa: 687b ldr r3, [r7, #4] + 801adac: 681b ldr r3, [r3, #0] + 801adae: 6839 ldr r1, [r7, #0] + 801adb0: 2200 movs r2, #0 + 801adb2: 4618 mov r0, r3 + 801adb4: f7f1 f80c bl 800bdd0 + 801adb8: 4603 mov r3, r0 + 801adba: 2b00 cmp r3, #0 + 801adbc: d102 bne.n 801adc4 #else if(osMessageQueuePut(*mbox, &msg, 0, 0) == osOK) #endif { result = ERR_OK; - 801b22e: 2300 movs r3, #0 - 801b230: 73fb strb r3, [r7, #15] - 801b232: e001 b.n 801b238 + 801adbe: 2300 movs r3, #0 + 801adc0: 73fb strb r3, [r7, #15] + 801adc2: e001 b.n 801adc8 } else { // could not post, queue must be full result = ERR_MEM; - 801b234: 23ff movs r3, #255 ; 0xff - 801b236: 73fb strb r3, [r7, #15] + 801adc4: 23ff movs r3, #255 ; 0xff + 801adc6: 73fb strb r3, [r7, #15] #if SYS_STATS lwip_stats.sys.mbox.err++; #endif /* SYS_STATS */ } return result; - 801b238: f997 300f ldrsb.w r3, [r7, #15] + 801adc8: f997 300f ldrsb.w r3, [r7, #15] } - 801b23c: 4618 mov r0, r3 - 801b23e: 3710 adds r7, #16 - 801b240: 46bd mov sp, r7 - 801b242: bd80 pop {r7, pc} + 801adcc: 4618 mov r0, r3 + 801adce: 3710 adds r7, #16 + 801add0: 46bd mov sp, r7 + 801add2: bd80 pop {r7, pc} -0801b244 : +0801add4 : Note that a function with a similar name, sys_mbox_fetch(), is implemented by lwIP. */ u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout) { - 801b244: b580 push {r7, lr} - 801b246: b08c sub sp, #48 ; 0x30 - 801b248: af00 add r7, sp, #0 - 801b24a: 61f8 str r0, [r7, #28] - 801b24c: 61b9 str r1, [r7, #24] - 801b24e: 617a str r2, [r7, #20] + 801add4: b580 push {r7, lr} + 801add6: b08c sub sp, #48 ; 0x30 + 801add8: af00 add r7, sp, #0 + 801adda: 61f8 str r0, [r7, #28] + 801addc: 61b9 str r1, [r7, #24] + 801adde: 617a str r2, [r7, #20] #if (osCMSIS < 0x20000U) osEvent event; uint32_t starttime = osKernelSysTick(); - 801b250: f7f0 fdf5 bl 800be3e - 801b254: 62f8 str r0, [r7, #44] ; 0x2c + 801ade0: f7f0 fdfb bl 800b9da + 801ade4: 62f8 str r0, [r7, #44] ; 0x2c #else osStatus_t status; uint32_t starttime = osKernelGetTickCount(); #endif if(timeout != 0) - 801b256: 697b ldr r3, [r7, #20] - 801b258: 2b00 cmp r3, #0 - 801b25a: d017 beq.n 801b28c + 801ade6: 697b ldr r3, [r7, #20] + 801ade8: 2b00 cmp r3, #0 + 801adea: d017 beq.n 801ae1c { #if (osCMSIS < 0x20000U) event = osMessageGet (*mbox, timeout); - 801b25c: 69fb ldr r3, [r7, #28] - 801b25e: 6819 ldr r1, [r3, #0] - 801b260: f107 0320 add.w r3, r7, #32 - 801b264: 697a ldr r2, [r7, #20] - 801b266: 4618 mov r0, r3 - 801b268: f7f1 f824 bl 800c2b4 + 801adec: 69fb ldr r3, [r7, #28] + 801adee: 6819 ldr r1, [r3, #0] + 801adf0: f107 0320 add.w r3, r7, #32 + 801adf4: 697a ldr r2, [r7, #20] + 801adf6: 4618 mov r0, r3 + 801adf8: f7f1 f82a bl 800be50 if(event.status == osEventMessage) - 801b26c: 6a3b ldr r3, [r7, #32] - 801b26e: 2b10 cmp r3, #16 - 801b270: d109 bne.n 801b286 + 801adfc: 6a3b ldr r3, [r7, #32] + 801adfe: 2b10 cmp r3, #16 + 801ae00: d109 bne.n 801ae16 { *msg = (void *)event.value.v; - 801b272: 6a7b ldr r3, [r7, #36] ; 0x24 - 801b274: 461a mov r2, r3 - 801b276: 69bb ldr r3, [r7, #24] - 801b278: 601a str r2, [r3, #0] + 801ae02: 6a7b ldr r3, [r7, #36] ; 0x24 + 801ae04: 461a mov r2, r3 + 801ae06: 69bb ldr r3, [r7, #24] + 801ae08: 601a str r2, [r3, #0] return (osKernelSysTick() - starttime); - 801b27a: f7f0 fde0 bl 800be3e - 801b27e: 4602 mov r2, r0 - 801b280: 6afb ldr r3, [r7, #44] ; 0x2c - 801b282: 1ad3 subs r3, r2, r3 - 801b284: e019 b.n 801b2ba + 801ae0a: f7f0 fde6 bl 800b9da + 801ae0e: 4602 mov r2, r0 + 801ae10: 6afb ldr r3, [r7, #44] ; 0x2c + 801ae12: 1ad3 subs r3, r2, r3 + 801ae14: e019 b.n 801ae4a return (osKernelGetTickCount() - starttime); } #endif else { return SYS_ARCH_TIMEOUT; - 801b286: f04f 33ff mov.w r3, #4294967295 - 801b28a: e016 b.n 801b2ba + 801ae16: f04f 33ff mov.w r3, #4294967295 + 801ae1a: e016 b.n 801ae4a } } else { #if (osCMSIS < 0x20000U) event = osMessageGet (*mbox, osWaitForever); - 801b28c: 69fb ldr r3, [r7, #28] - 801b28e: 6819 ldr r1, [r3, #0] - 801b290: 463b mov r3, r7 - 801b292: f04f 32ff mov.w r2, #4294967295 - 801b296: 4618 mov r0, r3 - 801b298: f7f1 f80c bl 800c2b4 - 801b29c: f107 0320 add.w r3, r7, #32 - 801b2a0: 463a mov r2, r7 - 801b2a2: ca07 ldmia r2, {r0, r1, r2} - 801b2a4: e883 0007 stmia.w r3, {r0, r1, r2} + 801ae1c: 69fb ldr r3, [r7, #28] + 801ae1e: 6819 ldr r1, [r3, #0] + 801ae20: 463b mov r3, r7 + 801ae22: f04f 32ff mov.w r2, #4294967295 + 801ae26: 4618 mov r0, r3 + 801ae28: f7f1 f812 bl 800be50 + 801ae2c: f107 0320 add.w r3, r7, #32 + 801ae30: 463a mov r2, r7 + 801ae32: ca07 ldmia r2, {r0, r1, r2} + 801ae34: e883 0007 stmia.w r3, {r0, r1, r2} *msg = (void *)event.value.v; - 801b2a8: 6a7b ldr r3, [r7, #36] ; 0x24 - 801b2aa: 461a mov r2, r3 - 801b2ac: 69bb ldr r3, [r7, #24] - 801b2ae: 601a str r2, [r3, #0] + 801ae38: 6a7b ldr r3, [r7, #36] ; 0x24 + 801ae3a: 461a mov r2, r3 + 801ae3c: 69bb ldr r3, [r7, #24] + 801ae3e: 601a str r2, [r3, #0] return (osKernelSysTick() - starttime); - 801b2b0: f7f0 fdc5 bl 800be3e - 801b2b4: 4602 mov r2, r0 - 801b2b6: 6afb ldr r3, [r7, #44] ; 0x2c - 801b2b8: 1ad3 subs r3, r2, r3 + 801ae40: f7f0 fdcb bl 800b9da + 801ae44: 4602 mov r2, r0 + 801ae46: 6afb ldr r3, [r7, #44] ; 0x2c + 801ae48: 1ad3 subs r3, r2, r3 #else osMessageQueueGet(*mbox, msg, 0, osWaitForever ); return (osKernelGetTickCount() - starttime); #endif } } - 801b2ba: 4618 mov r0, r3 - 801b2bc: 3730 adds r7, #48 ; 0x30 - 801b2be: 46bd mov sp, r7 - 801b2c0: bd80 pop {r7, pc} + 801ae4a: 4618 mov r0, r3 + 801ae4c: 3730 adds r7, #48 ; 0x30 + 801ae4e: 46bd mov sp, r7 + 801ae50: bd80 pop {r7, pc} -0801b2c2 : +0801ae52 : return SYS_MBOX_EMPTY; } } /*----------------------------------------------------------------------------------*/ int sys_mbox_valid(sys_mbox_t *mbox) { - 801b2c2: b480 push {r7} - 801b2c4: b083 sub sp, #12 - 801b2c6: af00 add r7, sp, #0 - 801b2c8: 6078 str r0, [r7, #4] + 801ae52: b480 push {r7} + 801ae54: b083 sub sp, #12 + 801ae56: af00 add r7, sp, #0 + 801ae58: 6078 str r0, [r7, #4] if (*mbox == SYS_MBOX_NULL) - 801b2ca: 687b ldr r3, [r7, #4] - 801b2cc: 681b ldr r3, [r3, #0] - 801b2ce: 2b00 cmp r3, #0 - 801b2d0: d101 bne.n 801b2d6 + 801ae5a: 687b ldr r3, [r7, #4] + 801ae5c: 681b ldr r3, [r3, #0] + 801ae5e: 2b00 cmp r3, #0 + 801ae60: d101 bne.n 801ae66 return 0; - 801b2d2: 2300 movs r3, #0 - 801b2d4: e000 b.n 801b2d8 + 801ae62: 2300 movs r3, #0 + 801ae64: e000 b.n 801ae68 else return 1; - 801b2d6: 2301 movs r3, #1 + 801ae66: 2301 movs r3, #1 } - 801b2d8: 4618 mov r0, r3 - 801b2da: 370c adds r7, #12 - 801b2dc: 46bd mov sp, r7 - 801b2de: f85d 7b04 ldr.w r7, [sp], #4 - 801b2e2: 4770 bx lr + 801ae68: 4618 mov r0, r3 + 801ae6a: 370c adds r7, #12 + 801ae6c: 46bd mov sp, r7 + 801ae6e: f85d 7b04 ldr.w r7, [sp], #4 + 801ae72: 4770 bx lr -0801b2e4 : +0801ae74 : #else osMutexId_t lwip_sys_mutex; #endif // Initialize sys arch void sys_init(void) { - 801b2e4: b580 push {r7, lr} - 801b2e6: af00 add r7, sp, #0 + 801ae74: b580 push {r7, lr} + 801ae76: af00 add r7, sp, #0 #if (osCMSIS < 0x20000U) lwip_sys_mutex = osMutexCreate(osMutex(lwip_sys_mutex)); - 801b2e8: 4803 ldr r0, [pc, #12] ; (801b2f8 ) - 801b2ea: f7f0 fe18 bl 800bf1e - 801b2ee: 4602 mov r2, r0 - 801b2f0: 4b02 ldr r3, [pc, #8] ; (801b2fc ) - 801b2f2: 601a str r2, [r3, #0] + 801ae78: 4803 ldr r0, [pc, #12] ; (801ae88 ) + 801ae7a: f7f0 fe1e bl 800baba + 801ae7e: 4602 mov r2, r0 + 801ae80: 4b02 ldr r3, [pc, #8] ; (801ae8c ) + 801ae82: 601a str r2, [r3, #0] #else lwip_sys_mutex = osMutexNew(NULL); #endif } - 801b2f4: bf00 nop - 801b2f6: bd80 pop {r7, pc} - 801b2f8: 08021684 .word 0x08021684 - 801b2fc: 2000f60c .word 0x2000f60c + 801ae84: bf00 nop + 801ae86: bd80 pop {r7, pc} + 801ae88: 08020e80 .word 0x08020e80 + 801ae8c: 2000f608 .word 0x2000f608 -0801b300 : +0801ae90 : /* Mutexes*/ /*-----------------------------------------------------------------------------------*/ /*-----------------------------------------------------------------------------------*/ #if LWIP_COMPAT_MUTEX == 0 /* Create a new mutex*/ err_t sys_mutex_new(sys_mutex_t *mutex) { - 801b300: b580 push {r7, lr} - 801b302: b084 sub sp, #16 - 801b304: af00 add r7, sp, #0 - 801b306: 6078 str r0, [r7, #4] + 801ae90: b580 push {r7, lr} + 801ae92: b084 sub sp, #16 + 801ae94: af00 add r7, sp, #0 + 801ae96: 6078 str r0, [r7, #4] #if (osCMSIS < 0x20000U) osMutexDef(MUTEX); - 801b308: 2300 movs r3, #0 - 801b30a: 60bb str r3, [r7, #8] - 801b30c: 2300 movs r3, #0 - 801b30e: 60fb str r3, [r7, #12] + 801ae98: 2300 movs r3, #0 + 801ae9a: 60bb str r3, [r7, #8] + 801ae9c: 2300 movs r3, #0 + 801ae9e: 60fb str r3, [r7, #12] *mutex = osMutexCreate(osMutex(MUTEX)); - 801b310: f107 0308 add.w r3, r7, #8 - 801b314: 4618 mov r0, r3 - 801b316: f7f0 fe02 bl 800bf1e - 801b31a: 4602 mov r2, r0 - 801b31c: 687b ldr r3, [r7, #4] - 801b31e: 601a str r2, [r3, #0] + 801aea0: f107 0308 add.w r3, r7, #8 + 801aea4: 4618 mov r0, r3 + 801aea6: f7f0 fe08 bl 800baba + 801aeaa: 4602 mov r2, r0 + 801aeac: 687b ldr r3, [r7, #4] + 801aeae: 601a str r2, [r3, #0] #else *mutex = osMutexNew(NULL); #endif if(*mutex == NULL) - 801b320: 687b ldr r3, [r7, #4] - 801b322: 681b ldr r3, [r3, #0] - 801b324: 2b00 cmp r3, #0 - 801b326: d102 bne.n 801b32e + 801aeb0: 687b ldr r3, [r7, #4] + 801aeb2: 681b ldr r3, [r3, #0] + 801aeb4: 2b00 cmp r3, #0 + 801aeb6: d102 bne.n 801aebe { #if SYS_STATS ++lwip_stats.sys.mutex.err; #endif /* SYS_STATS */ return ERR_MEM; - 801b328: f04f 33ff mov.w r3, #4294967295 - 801b32c: e000 b.n 801b330 + 801aeb8: f04f 33ff mov.w r3, #4294967295 + 801aebc: e000 b.n 801aec0 ++lwip_stats.sys.mutex.used; if (lwip_stats.sys.mutex.max < lwip_stats.sys.mutex.used) { lwip_stats.sys.mutex.max = lwip_stats.sys.mutex.used; } #endif /* SYS_STATS */ return ERR_OK; - 801b32e: 2300 movs r3, #0 + 801aebe: 2300 movs r3, #0 } - 801b330: 4618 mov r0, r3 - 801b332: 3710 adds r7, #16 - 801b334: 46bd mov sp, r7 - 801b336: bd80 pop {r7, pc} + 801aec0: 4618 mov r0, r3 + 801aec2: 3710 adds r7, #16 + 801aec4: 46bd mov sp, r7 + 801aec6: bd80 pop {r7, pc} -0801b338 : +0801aec8 : osMutexDelete(*mutex); } /*-----------------------------------------------------------------------------------*/ /* Lock a mutex*/ void sys_mutex_lock(sys_mutex_t *mutex) { - 801b338: b580 push {r7, lr} - 801b33a: b082 sub sp, #8 - 801b33c: af00 add r7, sp, #0 - 801b33e: 6078 str r0, [r7, #4] + 801aec8: b580 push {r7, lr} + 801aeca: b082 sub sp, #8 + 801aecc: af00 add r7, sp, #0 + 801aece: 6078 str r0, [r7, #4] #if (osCMSIS < 0x20000U) osMutexWait(*mutex, osWaitForever); - 801b340: 687b ldr r3, [r7, #4] - 801b342: 681b ldr r3, [r3, #0] - 801b344: f04f 31ff mov.w r1, #4294967295 - 801b348: 4618 mov r0, r3 - 801b34a: f7f0 fe01 bl 800bf50 + 801aed0: 687b ldr r3, [r7, #4] + 801aed2: 681b ldr r3, [r3, #0] + 801aed4: f04f 31ff mov.w r1, #4294967295 + 801aed8: 4618 mov r0, r3 + 801aeda: f7f0 fe07 bl 800baec #else osMutexAcquire(*mutex, osWaitForever); #endif } - 801b34e: bf00 nop - 801b350: 3708 adds r7, #8 - 801b352: 46bd mov sp, r7 - 801b354: bd80 pop {r7, pc} + 801aede: bf00 nop + 801aee0: 3708 adds r7, #8 + 801aee2: 46bd mov sp, r7 + 801aee4: bd80 pop {r7, pc} -0801b356 : +0801aee6 : /*-----------------------------------------------------------------------------------*/ /* Unlock a mutex*/ void sys_mutex_unlock(sys_mutex_t *mutex) { - 801b356: b580 push {r7, lr} - 801b358: b082 sub sp, #8 - 801b35a: af00 add r7, sp, #0 - 801b35c: 6078 str r0, [r7, #4] + 801aee6: b580 push {r7, lr} + 801aee8: b082 sub sp, #8 + 801aeea: af00 add r7, sp, #0 + 801aeec: 6078 str r0, [r7, #4] osMutexRelease(*mutex); - 801b35e: 687b ldr r3, [r7, #4] - 801b360: 681b ldr r3, [r3, #0] - 801b362: 4618 mov r0, r3 - 801b364: f7f0 fe42 bl 800bfec + 801aeee: 687b ldr r3, [r7, #4] + 801aef0: 681b ldr r3, [r3, #0] + 801aef2: 4618 mov r0, r3 + 801aef4: f7f0 fe48 bl 800bb88 } - 801b368: bf00 nop - 801b36a: 3708 adds r7, #8 - 801b36c: 46bd mov sp, r7 - 801b36e: bd80 pop {r7, pc} + 801aef8: bf00 nop + 801aefa: 3708 adds r7, #8 + 801aefc: 46bd mov sp, r7 + 801aefe: bd80 pop {r7, pc} -0801b370 : +0801af00 : function "thread()". The "arg" argument will be passed as an argument to the thread() function. The id of the new thread is returned. Both the id and the priority are system dependent. */ sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread , void *arg, int stacksize, int prio) { - 801b370: b580 push {r7, lr} - 801b372: b08c sub sp, #48 ; 0x30 - 801b374: af00 add r7, sp, #0 - 801b376: 60f8 str r0, [r7, #12] - 801b378: 60b9 str r1, [r7, #8] - 801b37a: 607a str r2, [r7, #4] - 801b37c: 603b str r3, [r7, #0] + 801af00: b580 push {r7, lr} + 801af02: b08c sub sp, #48 ; 0x30 + 801af04: af00 add r7, sp, #0 + 801af06: 60f8 str r0, [r7, #12] + 801af08: 60b9 str r1, [r7, #8] + 801af0a: 607a str r2, [r7, #4] + 801af0c: 603b str r3, [r7, #0] #if (osCMSIS < 0x20000U) const osThreadDef_t os_thread_def = { (char *)name, (os_pthread)thread, (osPriority)prio, 0, stacksize}; - 801b37e: f107 0314 add.w r3, r7, #20 - 801b382: 2200 movs r2, #0 - 801b384: 601a str r2, [r3, #0] - 801b386: 605a str r2, [r3, #4] - 801b388: 609a str r2, [r3, #8] - 801b38a: 60da str r2, [r3, #12] - 801b38c: 611a str r2, [r3, #16] - 801b38e: 615a str r2, [r3, #20] - 801b390: 619a str r2, [r3, #24] - 801b392: 68fb ldr r3, [r7, #12] - 801b394: 617b str r3, [r7, #20] - 801b396: 68bb ldr r3, [r7, #8] - 801b398: 61bb str r3, [r7, #24] - 801b39a: 6bbb ldr r3, [r7, #56] ; 0x38 - 801b39c: b21b sxth r3, r3 - 801b39e: 83bb strh r3, [r7, #28] - 801b3a0: 683b ldr r3, [r7, #0] - 801b3a2: 627b str r3, [r7, #36] ; 0x24 + 801af0e: f107 0314 add.w r3, r7, #20 + 801af12: 2200 movs r2, #0 + 801af14: 601a str r2, [r3, #0] + 801af16: 605a str r2, [r3, #4] + 801af18: 609a str r2, [r3, #8] + 801af1a: 60da str r2, [r3, #12] + 801af1c: 611a str r2, [r3, #16] + 801af1e: 615a str r2, [r3, #20] + 801af20: 619a str r2, [r3, #24] + 801af22: 68fb ldr r3, [r7, #12] + 801af24: 617b str r3, [r7, #20] + 801af26: 68bb ldr r3, [r7, #8] + 801af28: 61bb str r3, [r7, #24] + 801af2a: 6bbb ldr r3, [r7, #56] ; 0x38 + 801af2c: b21b sxth r3, r3 + 801af2e: 83bb strh r3, [r7, #28] + 801af30: 683b ldr r3, [r7, #0] + 801af32: 627b str r3, [r7, #36] ; 0x24 return osThreadCreate(&os_thread_def, arg); - 801b3a4: f107 0314 add.w r3, r7, #20 - 801b3a8: 6879 ldr r1, [r7, #4] - 801b3aa: 4618 mov r0, r3 - 801b3ac: f7f0 fd57 bl 800be5e - 801b3b0: 4603 mov r3, r0 + 801af34: f107 0314 add.w r3, r7, #20 + 801af38: 6879 ldr r1, [r7, #4] + 801af3a: 4618 mov r0, r3 + 801af3c: f7f0 fd5d bl 800b9fa + 801af40: 4603 mov r3, r0 .stack_size = stacksize, .priority = (osPriority_t)prio, }; return osThreadNew(thread, arg, &attributes); #endif } - 801b3b2: 4618 mov r0, r3 - 801b3b4: 3730 adds r7, #48 ; 0x30 - 801b3b6: 46bd mov sp, r7 - 801b3b8: bd80 pop {r7, pc} + 801af42: 4618 mov r0, r3 + 801af44: 3730 adds r7, #48 ; 0x30 + 801af46: 46bd mov sp, r7 + 801af48: bd80 pop {r7, pc} ... -0801b3bc : +0801af4c : Note: This function is based on FreeRTOS API, because no equivalent CMSIS-RTOS API is available */ sys_prot_t sys_arch_protect(void) { - 801b3bc: b580 push {r7, lr} - 801b3be: af00 add r7, sp, #0 + 801af4c: b580 push {r7, lr} + 801af4e: af00 add r7, sp, #0 #if (osCMSIS < 0x20000U) osMutexWait(lwip_sys_mutex, osWaitForever); - 801b3c0: 4b04 ldr r3, [pc, #16] ; (801b3d4 ) - 801b3c2: 681b ldr r3, [r3, #0] - 801b3c4: f04f 31ff mov.w r1, #4294967295 - 801b3c8: 4618 mov r0, r3 - 801b3ca: f7f0 fdc1 bl 800bf50 + 801af50: 4b04 ldr r3, [pc, #16] ; (801af64 ) + 801af52: 681b ldr r3, [r3, #0] + 801af54: f04f 31ff mov.w r1, #4294967295 + 801af58: 4618 mov r0, r3 + 801af5a: f7f0 fdc7 bl 800baec #else osMutexAcquire(lwip_sys_mutex, osWaitForever); #endif return (sys_prot_t)1; - 801b3ce: 2301 movs r3, #1 + 801af5e: 2301 movs r3, #1 } - 801b3d0: 4618 mov r0, r3 - 801b3d2: bd80 pop {r7, pc} - 801b3d4: 2000f60c .word 0x2000f60c + 801af60: 4618 mov r0, r3 + 801af62: bd80 pop {r7, pc} + 801af64: 2000f608 .word 0x2000f608 -0801b3d8 : +0801af68 : Note: This function is based on FreeRTOS API, because no equivalent CMSIS-RTOS API is available */ void sys_arch_unprotect(sys_prot_t pval) { - 801b3d8: b580 push {r7, lr} - 801b3da: b082 sub sp, #8 - 801b3dc: af00 add r7, sp, #0 - 801b3de: 6078 str r0, [r7, #4] + 801af68: b580 push {r7, lr} + 801af6a: b082 sub sp, #8 + 801af6c: af00 add r7, sp, #0 + 801af6e: 6078 str r0, [r7, #4] ( void ) pval; osMutexRelease(lwip_sys_mutex); - 801b3e0: 4b04 ldr r3, [pc, #16] ; (801b3f4 ) - 801b3e2: 681b ldr r3, [r3, #0] - 801b3e4: 4618 mov r0, r3 - 801b3e6: f7f0 fe01 bl 800bfec + 801af70: 4b04 ldr r3, [pc, #16] ; (801af84 ) + 801af72: 681b ldr r3, [r3, #0] + 801af74: 4618 mov r0, r3 + 801af76: f7f0 fe07 bl 800bb88 } - 801b3ea: bf00 nop - 801b3ec: 3708 adds r7, #8 - 801b3ee: 46bd mov sp, r7 - 801b3f0: bd80 pop {r7, pc} - 801b3f2: bf00 nop - 801b3f4: 2000f60c .word 0x2000f60c + 801af7a: bf00 nop + 801af7c: 3708 adds r7, #8 + 801af7e: 46bd mov sp, r7 + 801af80: bd80 pop {r7, pc} + 801af82: bf00 nop + 801af84: 2000f608 .word 0x2000f608 -0801b3f8 <__libc_init_array>: - 801b3f8: b570 push {r4, r5, r6, lr} - 801b3fa: 4e0d ldr r6, [pc, #52] ; (801b430 <__libc_init_array+0x38>) - 801b3fc: 4c0d ldr r4, [pc, #52] ; (801b434 <__libc_init_array+0x3c>) - 801b3fe: 1ba4 subs r4, r4, r6 - 801b400: 10a4 asrs r4, r4, #2 - 801b402: 2500 movs r5, #0 - 801b404: 42a5 cmp r5, r4 - 801b406: d109 bne.n 801b41c <__libc_init_array+0x24> - 801b408: 4e0b ldr r6, [pc, #44] ; (801b438 <__libc_init_array+0x40>) - 801b40a: 4c0c ldr r4, [pc, #48] ; (801b43c <__libc_init_array+0x44>) - 801b40c: f001 f914 bl 801c638 <_init> - 801b410: 1ba4 subs r4, r4, r6 - 801b412: 10a4 asrs r4, r4, #2 - 801b414: 2500 movs r5, #0 - 801b416: 42a5 cmp r5, r4 - 801b418: d105 bne.n 801b426 <__libc_init_array+0x2e> - 801b41a: bd70 pop {r4, r5, r6, pc} - 801b41c: f856 3025 ldr.w r3, [r6, r5, lsl #2] - 801b420: 4798 blx r3 - 801b422: 3501 adds r5, #1 - 801b424: e7ee b.n 801b404 <__libc_init_array+0xc> - 801b426: f856 3025 ldr.w r3, [r6, r5, lsl #2] - 801b42a: 4798 blx r3 - 801b42c: 3501 adds r5, #1 - 801b42e: e7f2 b.n 801b416 <__libc_init_array+0x1e> - 801b430: 0802172c .word 0x0802172c - 801b434: 0802172c .word 0x0802172c - 801b438: 0802172c .word 0x0802172c - 801b43c: 08021730 .word 0x08021730 +0801af88 <__libc_init_array>: + 801af88: b570 push {r4, r5, r6, lr} + 801af8a: 4e0d ldr r6, [pc, #52] ; (801afc0 <__libc_init_array+0x38>) + 801af8c: 4c0d ldr r4, [pc, #52] ; (801afc4 <__libc_init_array+0x3c>) + 801af8e: 1ba4 subs r4, r4, r6 + 801af90: 10a4 asrs r4, r4, #2 + 801af92: 2500 movs r5, #0 + 801af94: 42a5 cmp r5, r4 + 801af96: d109 bne.n 801afac <__libc_init_array+0x24> + 801af98: 4e0b ldr r6, [pc, #44] ; (801afc8 <__libc_init_array+0x40>) + 801af9a: 4c0c ldr r4, [pc, #48] ; (801afcc <__libc_init_array+0x44>) + 801af9c: f000 ff5a bl 801be54 <_init> + 801afa0: 1ba4 subs r4, r4, r6 + 801afa2: 10a4 asrs r4, r4, #2 + 801afa4: 2500 movs r5, #0 + 801afa6: 42a5 cmp r5, r4 + 801afa8: d105 bne.n 801afb6 <__libc_init_array+0x2e> + 801afaa: bd70 pop {r4, r5, r6, pc} + 801afac: f856 3025 ldr.w r3, [r6, r5, lsl #2] + 801afb0: 4798 blx r3 + 801afb2: 3501 adds r5, #1 + 801afb4: e7ee b.n 801af94 <__libc_init_array+0xc> + 801afb6: f856 3025 ldr.w r3, [r6, r5, lsl #2] + 801afba: 4798 blx r3 + 801afbc: 3501 adds r5, #1 + 801afbe: e7f2 b.n 801afa6 <__libc_init_array+0x1e> + 801afc0: 08020f28 .word 0x08020f28 + 801afc4: 08020f28 .word 0x08020f28 + 801afc8: 08020f28 .word 0x08020f28 + 801afcc: 08020f2c .word 0x08020f2c -0801b440 : - 801b440: b530 push {r4, r5, lr} - 801b442: 2400 movs r4, #0 - 801b444: 42a2 cmp r2, r4 - 801b446: d101 bne.n 801b44c - 801b448: 2000 movs r0, #0 - 801b44a: e007 b.n 801b45c - 801b44c: 5d03 ldrb r3, [r0, r4] - 801b44e: 3401 adds r4, #1 - 801b450: 190d adds r5, r1, r4 - 801b452: f815 5c01 ldrb.w r5, [r5, #-1] - 801b456: 42ab cmp r3, r5 - 801b458: d0f4 beq.n 801b444 - 801b45a: 1b58 subs r0, r3, r5 - 801b45c: bd30 pop {r4, r5, pc} +0801afd0 : + 801afd0: b530 push {r4, r5, lr} + 801afd2: 2400 movs r4, #0 + 801afd4: 42a2 cmp r2, r4 + 801afd6: d101 bne.n 801afdc + 801afd8: 2000 movs r0, #0 + 801afda: e007 b.n 801afec + 801afdc: 5d03 ldrb r3, [r0, r4] + 801afde: 3401 adds r4, #1 + 801afe0: 190d adds r5, r1, r4 + 801afe2: f815 5c01 ldrb.w r5, [r5, #-1] + 801afe6: 42ab cmp r3, r5 + 801afe8: d0f4 beq.n 801afd4 + 801afea: 1b58 subs r0, r3, r5 + 801afec: bd30 pop {r4, r5, pc} -0801b45e : - 801b45e: b510 push {r4, lr} - 801b460: 1e43 subs r3, r0, #1 - 801b462: 440a add r2, r1 - 801b464: 4291 cmp r1, r2 - 801b466: d100 bne.n 801b46a - 801b468: bd10 pop {r4, pc} - 801b46a: f811 4b01 ldrb.w r4, [r1], #1 - 801b46e: f803 4f01 strb.w r4, [r3, #1]! - 801b472: e7f7 b.n 801b464 +0801afee : + 801afee: b510 push {r4, lr} + 801aff0: 1e43 subs r3, r0, #1 + 801aff2: 440a add r2, r1 + 801aff4: 4291 cmp r1, r2 + 801aff6: d100 bne.n 801affa + 801aff8: bd10 pop {r4, pc} + 801affa: f811 4b01 ldrb.w r4, [r1], #1 + 801affe: f803 4f01 strb.w r4, [r3, #1]! + 801b002: e7f7 b.n 801aff4 -0801b474 : - 801b474: 4288 cmp r0, r1 - 801b476: b510 push {r4, lr} - 801b478: eb01 0302 add.w r3, r1, r2 - 801b47c: d807 bhi.n 801b48e - 801b47e: 1e42 subs r2, r0, #1 - 801b480: 4299 cmp r1, r3 - 801b482: d00a beq.n 801b49a - 801b484: f811 4b01 ldrb.w r4, [r1], #1 - 801b488: f802 4f01 strb.w r4, [r2, #1]! - 801b48c: e7f8 b.n 801b480 - 801b48e: 4283 cmp r3, r0 - 801b490: d9f5 bls.n 801b47e - 801b492: 1881 adds r1, r0, r2 - 801b494: 1ad2 subs r2, r2, r3 - 801b496: 42d3 cmn r3, r2 - 801b498: d100 bne.n 801b49c - 801b49a: bd10 pop {r4, pc} - 801b49c: f813 4d01 ldrb.w r4, [r3, #-1]! - 801b4a0: f801 4d01 strb.w r4, [r1, #-1]! - 801b4a4: e7f7 b.n 801b496 +0801b004 : + 801b004: 4402 add r2, r0 + 801b006: 4603 mov r3, r0 + 801b008: 4293 cmp r3, r2 + 801b00a: d100 bne.n 801b00e + 801b00c: 4770 bx lr + 801b00e: f803 1b01 strb.w r1, [r3], #1 + 801b012: e7f9 b.n 801b008 -0801b4a6 : - 801b4a6: 4402 add r2, r0 - 801b4a8: 4603 mov r3, r0 - 801b4aa: 4293 cmp r3, r2 - 801b4ac: d100 bne.n 801b4b0 - 801b4ae: 4770 bx lr - 801b4b0: f803 1b01 strb.w r1, [r3], #1 - 801b4b4: e7f9 b.n 801b4aa +0801b014 : + 801b014: b40f push {r0, r1, r2, r3} + 801b016: 4b0a ldr r3, [pc, #40] ; (801b040 ) + 801b018: b513 push {r0, r1, r4, lr} + 801b01a: 681c ldr r4, [r3, #0] + 801b01c: b124 cbz r4, 801b028 + 801b01e: 69a3 ldr r3, [r4, #24] + 801b020: b913 cbnz r3, 801b028 + 801b022: 4620 mov r0, r4 + 801b024: f000 f882 bl 801b12c <__sinit> + 801b028: ab05 add r3, sp, #20 + 801b02a: 9a04 ldr r2, [sp, #16] + 801b02c: 68a1 ldr r1, [r4, #8] + 801b02e: 9301 str r3, [sp, #4] + 801b030: 4620 mov r0, r4 + 801b032: f000 f9df bl 801b3f4 <_vfiprintf_r> + 801b036: b002 add sp, #8 + 801b038: e8bd 4010 ldmia.w sp!, {r4, lr} + 801b03c: b004 add sp, #16 + 801b03e: 4770 bx lr + 801b040: 20000084 .word 0x20000084 + +0801b044 : + 801b044: b538 push {r3, r4, r5, lr} + 801b046: 4b13 ldr r3, [pc, #76] ; (801b094 ) + 801b048: 681c ldr r4, [r3, #0] + 801b04a: 6ba3 ldr r3, [r4, #56] ; 0x38 + 801b04c: b97b cbnz r3, 801b06e + 801b04e: 2018 movs r0, #24 + 801b050: f000 f8f6 bl 801b240 + 801b054: 4a10 ldr r2, [pc, #64] ; (801b098 ) + 801b056: 4b11 ldr r3, [pc, #68] ; (801b09c ) + 801b058: 63a0 str r0, [r4, #56] ; 0x38 + 801b05a: e9c0 2300 strd r2, r3, [r0] + 801b05e: 4b10 ldr r3, [pc, #64] ; (801b0a0 ) + 801b060: 6083 str r3, [r0, #8] + 801b062: 230b movs r3, #11 + 801b064: 8183 strh r3, [r0, #12] + 801b066: 2201 movs r2, #1 + 801b068: 2300 movs r3, #0 + 801b06a: e9c0 2304 strd r2, r3, [r0, #16] + 801b06e: 6ba1 ldr r1, [r4, #56] ; 0x38 + 801b070: 480c ldr r0, [pc, #48] ; (801b0a4 ) + 801b072: 690a ldr r2, [r1, #16] + 801b074: 694b ldr r3, [r1, #20] + 801b076: 4c0c ldr r4, [pc, #48] ; (801b0a8 ) + 801b078: 4350 muls r0, r2 + 801b07a: fb04 0003 mla r0, r4, r3, r0 + 801b07e: fba2 2304 umull r2, r3, r2, r4 + 801b082: 4403 add r3, r0 + 801b084: 1c54 adds r4, r2, #1 + 801b086: f143 0500 adc.w r5, r3, #0 + 801b08a: e9c1 4504 strd r4, r5, [r1, #16] + 801b08e: f025 4000 bic.w r0, r5, #2147483648 ; 0x80000000 + 801b092: bd38 pop {r3, r4, r5, pc} + 801b094: 20000084 .word 0x20000084 + 801b098: abcd330e .word 0xabcd330e + 801b09c: e66d1234 .word 0xe66d1234 + 801b0a0: 0005deec .word 0x0005deec + 801b0a4: 5851f42d .word 0x5851f42d + 801b0a8: 4c957f2d .word 0x4c957f2d + +0801b0ac : + 801b0ac: 2300 movs r3, #0 + 801b0ae: b510 push {r4, lr} + 801b0b0: 4604 mov r4, r0 + 801b0b2: e9c0 3300 strd r3, r3, [r0] + 801b0b6: 6083 str r3, [r0, #8] + 801b0b8: 8181 strh r1, [r0, #12] + 801b0ba: 6643 str r3, [r0, #100] ; 0x64 + 801b0bc: 81c2 strh r2, [r0, #14] + 801b0be: e9c0 3304 strd r3, r3, [r0, #16] + 801b0c2: 6183 str r3, [r0, #24] + 801b0c4: 4619 mov r1, r3 + 801b0c6: 2208 movs r2, #8 + 801b0c8: 305c adds r0, #92 ; 0x5c + 801b0ca: f7ff ff9b bl 801b004 + 801b0ce: 4b05 ldr r3, [pc, #20] ; (801b0e4 ) + 801b0d0: 6263 str r3, [r4, #36] ; 0x24 + 801b0d2: 4b05 ldr r3, [pc, #20] ; (801b0e8 ) + 801b0d4: 62a3 str r3, [r4, #40] ; 0x28 + 801b0d6: 4b05 ldr r3, [pc, #20] ; (801b0ec ) + 801b0d8: 62e3 str r3, [r4, #44] ; 0x2c + 801b0da: 4b05 ldr r3, [pc, #20] ; (801b0f0 ) + 801b0dc: 6224 str r4, [r4, #32] + 801b0de: 6323 str r3, [r4, #48] ; 0x30 + 801b0e0: bd10 pop {r4, pc} + 801b0e2: bf00 nop + 801b0e4: 0801b951 .word 0x0801b951 + 801b0e8: 0801b973 .word 0x0801b973 + 801b0ec: 0801b9ab .word 0x0801b9ab + 801b0f0: 0801b9cf .word 0x0801b9cf + +0801b0f4 <_cleanup_r>: + 801b0f4: 4901 ldr r1, [pc, #4] ; (801b0fc <_cleanup_r+0x8>) + 801b0f6: f000 b885 b.w 801b204 <_fwalk_reent> + 801b0fa: bf00 nop + 801b0fc: 0801bca9 .word 0x0801bca9 + +0801b100 <__sfmoreglue>: + 801b100: b570 push {r4, r5, r6, lr} + 801b102: 1e4a subs r2, r1, #1 + 801b104: 2568 movs r5, #104 ; 0x68 + 801b106: 4355 muls r5, r2 + 801b108: 460e mov r6, r1 + 801b10a: f105 0174 add.w r1, r5, #116 ; 0x74 + 801b10e: f000 f8ed bl 801b2ec <_malloc_r> + 801b112: 4604 mov r4, r0 + 801b114: b140 cbz r0, 801b128 <__sfmoreglue+0x28> + 801b116: 2100 movs r1, #0 + 801b118: e9c0 1600 strd r1, r6, [r0] + 801b11c: 300c adds r0, #12 + 801b11e: 60a0 str r0, [r4, #8] + 801b120: f105 0268 add.w r2, r5, #104 ; 0x68 + 801b124: f7ff ff6e bl 801b004 + 801b128: 4620 mov r0, r4 + 801b12a: bd70 pop {r4, r5, r6, pc} + +0801b12c <__sinit>: + 801b12c: 6983 ldr r3, [r0, #24] + 801b12e: b510 push {r4, lr} + 801b130: 4604 mov r4, r0 + 801b132: bb33 cbnz r3, 801b182 <__sinit+0x56> + 801b134: e9c0 3312 strd r3, r3, [r0, #72] ; 0x48 + 801b138: 6503 str r3, [r0, #80] ; 0x50 + 801b13a: 4b12 ldr r3, [pc, #72] ; (801b184 <__sinit+0x58>) + 801b13c: 4a12 ldr r2, [pc, #72] ; (801b188 <__sinit+0x5c>) + 801b13e: 681b ldr r3, [r3, #0] + 801b140: 6282 str r2, [r0, #40] ; 0x28 + 801b142: 4298 cmp r0, r3 + 801b144: bf04 itt eq + 801b146: 2301 moveq r3, #1 + 801b148: 6183 streq r3, [r0, #24] + 801b14a: f000 f81f bl 801b18c <__sfp> + 801b14e: 6060 str r0, [r4, #4] + 801b150: 4620 mov r0, r4 + 801b152: f000 f81b bl 801b18c <__sfp> + 801b156: 60a0 str r0, [r4, #8] + 801b158: 4620 mov r0, r4 + 801b15a: f000 f817 bl 801b18c <__sfp> + 801b15e: 2200 movs r2, #0 + 801b160: 60e0 str r0, [r4, #12] + 801b162: 2104 movs r1, #4 + 801b164: 6860 ldr r0, [r4, #4] + 801b166: f7ff ffa1 bl 801b0ac + 801b16a: 2201 movs r2, #1 + 801b16c: 2109 movs r1, #9 + 801b16e: 68a0 ldr r0, [r4, #8] + 801b170: f7ff ff9c bl 801b0ac + 801b174: 2202 movs r2, #2 + 801b176: 2112 movs r1, #18 + 801b178: 68e0 ldr r0, [r4, #12] + 801b17a: f7ff ff97 bl 801b0ac + 801b17e: 2301 movs r3, #1 + 801b180: 61a3 str r3, [r4, #24] + 801b182: bd10 pop {r4, pc} + 801b184: 08020e88 .word 0x08020e88 + 801b188: 0801b0f5 .word 0x0801b0f5 + +0801b18c <__sfp>: + 801b18c: b5f8 push {r3, r4, r5, r6, r7, lr} + 801b18e: 4b1b ldr r3, [pc, #108] ; (801b1fc <__sfp+0x70>) + 801b190: 681e ldr r6, [r3, #0] + 801b192: 69b3 ldr r3, [r6, #24] + 801b194: 4607 mov r7, r0 + 801b196: b913 cbnz r3, 801b19e <__sfp+0x12> + 801b198: 4630 mov r0, r6 + 801b19a: f7ff ffc7 bl 801b12c <__sinit> + 801b19e: 3648 adds r6, #72 ; 0x48 + 801b1a0: e9d6 3401 ldrd r3, r4, [r6, #4] + 801b1a4: 3b01 subs r3, #1 + 801b1a6: d503 bpl.n 801b1b0 <__sfp+0x24> + 801b1a8: 6833 ldr r3, [r6, #0] + 801b1aa: b133 cbz r3, 801b1ba <__sfp+0x2e> + 801b1ac: 6836 ldr r6, [r6, #0] + 801b1ae: e7f7 b.n 801b1a0 <__sfp+0x14> + 801b1b0: f9b4 500c ldrsh.w r5, [r4, #12] + 801b1b4: b16d cbz r5, 801b1d2 <__sfp+0x46> + 801b1b6: 3468 adds r4, #104 ; 0x68 + 801b1b8: e7f4 b.n 801b1a4 <__sfp+0x18> + 801b1ba: 2104 movs r1, #4 + 801b1bc: 4638 mov r0, r7 + 801b1be: f7ff ff9f bl 801b100 <__sfmoreglue> + 801b1c2: 6030 str r0, [r6, #0] + 801b1c4: 2800 cmp r0, #0 + 801b1c6: d1f1 bne.n 801b1ac <__sfp+0x20> + 801b1c8: 230c movs r3, #12 + 801b1ca: 603b str r3, [r7, #0] + 801b1cc: 4604 mov r4, r0 + 801b1ce: 4620 mov r0, r4 + 801b1d0: bdf8 pop {r3, r4, r5, r6, r7, pc} + 801b1d2: 4b0b ldr r3, [pc, #44] ; (801b200 <__sfp+0x74>) + 801b1d4: 6665 str r5, [r4, #100] ; 0x64 + 801b1d6: e9c4 5500 strd r5, r5, [r4] + 801b1da: 60a5 str r5, [r4, #8] + 801b1dc: e9c4 3503 strd r3, r5, [r4, #12] + 801b1e0: e9c4 5505 strd r5, r5, [r4, #20] + 801b1e4: 2208 movs r2, #8 + 801b1e6: 4629 mov r1, r5 + 801b1e8: f104 005c add.w r0, r4, #92 ; 0x5c + 801b1ec: f7ff ff0a bl 801b004 + 801b1f0: e9c4 550d strd r5, r5, [r4, #52] ; 0x34 + 801b1f4: e9c4 5512 strd r5, r5, [r4, #72] ; 0x48 + 801b1f8: e7e9 b.n 801b1ce <__sfp+0x42> + 801b1fa: bf00 nop + 801b1fc: 08020e88 .word 0x08020e88 + 801b200: ffff0001 .word 0xffff0001 + +0801b204 <_fwalk_reent>: + 801b204: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 801b208: 4680 mov r8, r0 + 801b20a: 4689 mov r9, r1 + 801b20c: f100 0448 add.w r4, r0, #72 ; 0x48 + 801b210: 2600 movs r6, #0 + 801b212: b914 cbnz r4, 801b21a <_fwalk_reent+0x16> + 801b214: 4630 mov r0, r6 + 801b216: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 801b21a: e9d4 7501 ldrd r7, r5, [r4, #4] + 801b21e: 3f01 subs r7, #1 + 801b220: d501 bpl.n 801b226 <_fwalk_reent+0x22> + 801b222: 6824 ldr r4, [r4, #0] + 801b224: e7f5 b.n 801b212 <_fwalk_reent+0xe> + 801b226: 89ab ldrh r3, [r5, #12] + 801b228: 2b01 cmp r3, #1 + 801b22a: d907 bls.n 801b23c <_fwalk_reent+0x38> + 801b22c: f9b5 300e ldrsh.w r3, [r5, #14] + 801b230: 3301 adds r3, #1 + 801b232: d003 beq.n 801b23c <_fwalk_reent+0x38> + 801b234: 4629 mov r1, r5 + 801b236: 4640 mov r0, r8 + 801b238: 47c8 blx r9 + 801b23a: 4306 orrs r6, r0 + 801b23c: 3568 adds r5, #104 ; 0x68 + 801b23e: e7ee b.n 801b21e <_fwalk_reent+0x1a> + +0801b240 : + 801b240: 4b02 ldr r3, [pc, #8] ; (801b24c ) + 801b242: 4601 mov r1, r0 + 801b244: 6818 ldr r0, [r3, #0] + 801b246: f000 b851 b.w 801b2ec <_malloc_r> + 801b24a: bf00 nop + 801b24c: 20000084 .word 0x20000084 + +0801b250 <_free_r>: + 801b250: b538 push {r3, r4, r5, lr} + 801b252: 4605 mov r5, r0 + 801b254: 2900 cmp r1, #0 + 801b256: d045 beq.n 801b2e4 <_free_r+0x94> + 801b258: f851 3c04 ldr.w r3, [r1, #-4] + 801b25c: 1f0c subs r4, r1, #4 + 801b25e: 2b00 cmp r3, #0 + 801b260: bfb8 it lt + 801b262: 18e4 addlt r4, r4, r3 + 801b264: f000 fdc0 bl 801bde8 <__malloc_lock> + 801b268: 4a1f ldr r2, [pc, #124] ; (801b2e8 <_free_r+0x98>) + 801b26a: 6813 ldr r3, [r2, #0] + 801b26c: 4610 mov r0, r2 + 801b26e: b933 cbnz r3, 801b27e <_free_r+0x2e> + 801b270: 6063 str r3, [r4, #4] + 801b272: 6014 str r4, [r2, #0] + 801b274: 4628 mov r0, r5 + 801b276: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 801b27a: f000 bdb6 b.w 801bdea <__malloc_unlock> + 801b27e: 42a3 cmp r3, r4 + 801b280: d90c bls.n 801b29c <_free_r+0x4c> + 801b282: 6821 ldr r1, [r4, #0] + 801b284: 1862 adds r2, r4, r1 + 801b286: 4293 cmp r3, r2 + 801b288: bf04 itt eq + 801b28a: 681a ldreq r2, [r3, #0] + 801b28c: 685b ldreq r3, [r3, #4] + 801b28e: 6063 str r3, [r4, #4] + 801b290: bf04 itt eq + 801b292: 1852 addeq r2, r2, r1 + 801b294: 6022 streq r2, [r4, #0] + 801b296: 6004 str r4, [r0, #0] + 801b298: e7ec b.n 801b274 <_free_r+0x24> + 801b29a: 4613 mov r3, r2 + 801b29c: 685a ldr r2, [r3, #4] + 801b29e: b10a cbz r2, 801b2a4 <_free_r+0x54> + 801b2a0: 42a2 cmp r2, r4 + 801b2a2: d9fa bls.n 801b29a <_free_r+0x4a> + 801b2a4: 6819 ldr r1, [r3, #0] + 801b2a6: 1858 adds r0, r3, r1 + 801b2a8: 42a0 cmp r0, r4 + 801b2aa: d10b bne.n 801b2c4 <_free_r+0x74> + 801b2ac: 6820 ldr r0, [r4, #0] + 801b2ae: 4401 add r1, r0 + 801b2b0: 1858 adds r0, r3, r1 + 801b2b2: 4282 cmp r2, r0 + 801b2b4: 6019 str r1, [r3, #0] + 801b2b6: d1dd bne.n 801b274 <_free_r+0x24> + 801b2b8: 6810 ldr r0, [r2, #0] + 801b2ba: 6852 ldr r2, [r2, #4] + 801b2bc: 605a str r2, [r3, #4] + 801b2be: 4401 add r1, r0 + 801b2c0: 6019 str r1, [r3, #0] + 801b2c2: e7d7 b.n 801b274 <_free_r+0x24> + 801b2c4: d902 bls.n 801b2cc <_free_r+0x7c> + 801b2c6: 230c movs r3, #12 + 801b2c8: 602b str r3, [r5, #0] + 801b2ca: e7d3 b.n 801b274 <_free_r+0x24> + 801b2cc: 6820 ldr r0, [r4, #0] + 801b2ce: 1821 adds r1, r4, r0 + 801b2d0: 428a cmp r2, r1 + 801b2d2: bf04 itt eq + 801b2d4: 6811 ldreq r1, [r2, #0] + 801b2d6: 6852 ldreq r2, [r2, #4] + 801b2d8: 6062 str r2, [r4, #4] + 801b2da: bf04 itt eq + 801b2dc: 1809 addeq r1, r1, r0 + 801b2de: 6021 streq r1, [r4, #0] + 801b2e0: 605c str r4, [r3, #4] + 801b2e2: e7c7 b.n 801b274 <_free_r+0x24> + 801b2e4: bd38 pop {r3, r4, r5, pc} + 801b2e6: bf00 nop + 801b2e8: 20008874 .word 0x20008874 + +0801b2ec <_malloc_r>: + 801b2ec: b570 push {r4, r5, r6, lr} + 801b2ee: 1ccd adds r5, r1, #3 + 801b2f0: f025 0503 bic.w r5, r5, #3 + 801b2f4: 3508 adds r5, #8 + 801b2f6: 2d0c cmp r5, #12 + 801b2f8: bf38 it cc + 801b2fa: 250c movcc r5, #12 + 801b2fc: 2d00 cmp r5, #0 + 801b2fe: 4606 mov r6, r0 + 801b300: db01 blt.n 801b306 <_malloc_r+0x1a> + 801b302: 42a9 cmp r1, r5 + 801b304: d903 bls.n 801b30e <_malloc_r+0x22> + 801b306: 230c movs r3, #12 + 801b308: 6033 str r3, [r6, #0] + 801b30a: 2000 movs r0, #0 + 801b30c: bd70 pop {r4, r5, r6, pc} + 801b30e: f000 fd6b bl 801bde8 <__malloc_lock> + 801b312: 4a21 ldr r2, [pc, #132] ; (801b398 <_malloc_r+0xac>) + 801b314: 6814 ldr r4, [r2, #0] + 801b316: 4621 mov r1, r4 + 801b318: b991 cbnz r1, 801b340 <_malloc_r+0x54> + 801b31a: 4c20 ldr r4, [pc, #128] ; (801b39c <_malloc_r+0xb0>) + 801b31c: 6823 ldr r3, [r4, #0] + 801b31e: b91b cbnz r3, 801b328 <_malloc_r+0x3c> + 801b320: 4630 mov r0, r6 + 801b322: f000 fb05 bl 801b930 <_sbrk_r> + 801b326: 6020 str r0, [r4, #0] + 801b328: 4629 mov r1, r5 + 801b32a: 4630 mov r0, r6 + 801b32c: f000 fb00 bl 801b930 <_sbrk_r> + 801b330: 1c43 adds r3, r0, #1 + 801b332: d124 bne.n 801b37e <_malloc_r+0x92> + 801b334: 230c movs r3, #12 + 801b336: 6033 str r3, [r6, #0] + 801b338: 4630 mov r0, r6 + 801b33a: f000 fd56 bl 801bdea <__malloc_unlock> + 801b33e: e7e4 b.n 801b30a <_malloc_r+0x1e> + 801b340: 680b ldr r3, [r1, #0] + 801b342: 1b5b subs r3, r3, r5 + 801b344: d418 bmi.n 801b378 <_malloc_r+0x8c> + 801b346: 2b0b cmp r3, #11 + 801b348: d90f bls.n 801b36a <_malloc_r+0x7e> + 801b34a: 600b str r3, [r1, #0] + 801b34c: 50cd str r5, [r1, r3] + 801b34e: 18cc adds r4, r1, r3 + 801b350: 4630 mov r0, r6 + 801b352: f000 fd4a bl 801bdea <__malloc_unlock> + 801b356: f104 000b add.w r0, r4, #11 + 801b35a: 1d23 adds r3, r4, #4 + 801b35c: f020 0007 bic.w r0, r0, #7 + 801b360: 1ac3 subs r3, r0, r3 + 801b362: d0d3 beq.n 801b30c <_malloc_r+0x20> + 801b364: 425a negs r2, r3 + 801b366: 50e2 str r2, [r4, r3] + 801b368: e7d0 b.n 801b30c <_malloc_r+0x20> + 801b36a: 428c cmp r4, r1 + 801b36c: 684b ldr r3, [r1, #4] + 801b36e: bf16 itet ne + 801b370: 6063 strne r3, [r4, #4] + 801b372: 6013 streq r3, [r2, #0] + 801b374: 460c movne r4, r1 + 801b376: e7eb b.n 801b350 <_malloc_r+0x64> + 801b378: 460c mov r4, r1 + 801b37a: 6849 ldr r1, [r1, #4] + 801b37c: e7cc b.n 801b318 <_malloc_r+0x2c> + 801b37e: 1cc4 adds r4, r0, #3 + 801b380: f024 0403 bic.w r4, r4, #3 + 801b384: 42a0 cmp r0, r4 + 801b386: d005 beq.n 801b394 <_malloc_r+0xa8> + 801b388: 1a21 subs r1, r4, r0 + 801b38a: 4630 mov r0, r6 + 801b38c: f000 fad0 bl 801b930 <_sbrk_r> + 801b390: 3001 adds r0, #1 + 801b392: d0cf beq.n 801b334 <_malloc_r+0x48> + 801b394: 6025 str r5, [r4, #0] + 801b396: e7db b.n 801b350 <_malloc_r+0x64> + 801b398: 20008874 .word 0x20008874 + 801b39c: 20008878 .word 0x20008878 + +0801b3a0 <__sfputc_r>: + 801b3a0: 6893 ldr r3, [r2, #8] + 801b3a2: 3b01 subs r3, #1 + 801b3a4: 2b00 cmp r3, #0 + 801b3a6: b410 push {r4} + 801b3a8: 6093 str r3, [r2, #8] + 801b3aa: da08 bge.n 801b3be <__sfputc_r+0x1e> + 801b3ac: 6994 ldr r4, [r2, #24] + 801b3ae: 42a3 cmp r3, r4 + 801b3b0: db01 blt.n 801b3b6 <__sfputc_r+0x16> + 801b3b2: 290a cmp r1, #10 + 801b3b4: d103 bne.n 801b3be <__sfputc_r+0x1e> + 801b3b6: f85d 4b04 ldr.w r4, [sp], #4 + 801b3ba: f000 bb0d b.w 801b9d8 <__swbuf_r> + 801b3be: 6813 ldr r3, [r2, #0] + 801b3c0: 1c58 adds r0, r3, #1 + 801b3c2: 6010 str r0, [r2, #0] + 801b3c4: 7019 strb r1, [r3, #0] + 801b3c6: 4608 mov r0, r1 + 801b3c8: f85d 4b04 ldr.w r4, [sp], #4 + 801b3cc: 4770 bx lr + +0801b3ce <__sfputs_r>: + 801b3ce: b5f8 push {r3, r4, r5, r6, r7, lr} + 801b3d0: 4606 mov r6, r0 + 801b3d2: 460f mov r7, r1 + 801b3d4: 4614 mov r4, r2 + 801b3d6: 18d5 adds r5, r2, r3 + 801b3d8: 42ac cmp r4, r5 + 801b3da: d101 bne.n 801b3e0 <__sfputs_r+0x12> + 801b3dc: 2000 movs r0, #0 + 801b3de: e007 b.n 801b3f0 <__sfputs_r+0x22> + 801b3e0: 463a mov r2, r7 + 801b3e2: f814 1b01 ldrb.w r1, [r4], #1 + 801b3e6: 4630 mov r0, r6 + 801b3e8: f7ff ffda bl 801b3a0 <__sfputc_r> + 801b3ec: 1c43 adds r3, r0, #1 + 801b3ee: d1f3 bne.n 801b3d8 <__sfputs_r+0xa> + 801b3f0: bdf8 pop {r3, r4, r5, r6, r7, pc} ... -0801b4b8 : - 801b4b8: b40f push {r0, r1, r2, r3} - 801b4ba: 4b0a ldr r3, [pc, #40] ; (801b4e4 ) - 801b4bc: b513 push {r0, r1, r4, lr} - 801b4be: 681c ldr r4, [r3, #0] - 801b4c0: b124 cbz r4, 801b4cc - 801b4c2: 69a3 ldr r3, [r4, #24] - 801b4c4: b913 cbnz r3, 801b4cc - 801b4c6: 4620 mov r0, r4 - 801b4c8: f000 f8a2 bl 801b610 <__sinit> - 801b4cc: ab05 add r3, sp, #20 - 801b4ce: 9a04 ldr r2, [sp, #16] - 801b4d0: 68a1 ldr r1, [r4, #8] - 801b4d2: 9301 str r3, [sp, #4] - 801b4d4: 4620 mov r0, r4 - 801b4d6: f000 fb51 bl 801bb7c <_vfiprintf_r> - 801b4da: b002 add sp, #8 - 801b4dc: e8bd 4010 ldmia.w sp!, {r4, lr} - 801b4e0: b004 add sp, #16 - 801b4e2: 4770 bx lr - 801b4e4: 20000084 .word 0x20000084 +0801b3f4 <_vfiprintf_r>: + 801b3f4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 801b3f8: 460c mov r4, r1 + 801b3fa: b09d sub sp, #116 ; 0x74 + 801b3fc: 4617 mov r7, r2 + 801b3fe: 461d mov r5, r3 + 801b400: 4606 mov r6, r0 + 801b402: b118 cbz r0, 801b40c <_vfiprintf_r+0x18> + 801b404: 6983 ldr r3, [r0, #24] + 801b406: b90b cbnz r3, 801b40c <_vfiprintf_r+0x18> + 801b408: f7ff fe90 bl 801b12c <__sinit> + 801b40c: 4b7c ldr r3, [pc, #496] ; (801b600 <_vfiprintf_r+0x20c>) + 801b40e: 429c cmp r4, r3 + 801b410: d158 bne.n 801b4c4 <_vfiprintf_r+0xd0> + 801b412: 6874 ldr r4, [r6, #4] + 801b414: 89a3 ldrh r3, [r4, #12] + 801b416: 0718 lsls r0, r3, #28 + 801b418: d55e bpl.n 801b4d8 <_vfiprintf_r+0xe4> + 801b41a: 6923 ldr r3, [r4, #16] + 801b41c: 2b00 cmp r3, #0 + 801b41e: d05b beq.n 801b4d8 <_vfiprintf_r+0xe4> + 801b420: 2300 movs r3, #0 + 801b422: 9309 str r3, [sp, #36] ; 0x24 + 801b424: 2320 movs r3, #32 + 801b426: f88d 3029 strb.w r3, [sp, #41] ; 0x29 + 801b42a: 2330 movs r3, #48 ; 0x30 + 801b42c: f88d 302a strb.w r3, [sp, #42] ; 0x2a + 801b430: 9503 str r5, [sp, #12] + 801b432: f04f 0b01 mov.w fp, #1 + 801b436: 46b8 mov r8, r7 + 801b438: 4645 mov r5, r8 + 801b43a: f815 3b01 ldrb.w r3, [r5], #1 + 801b43e: b10b cbz r3, 801b444 <_vfiprintf_r+0x50> + 801b440: 2b25 cmp r3, #37 ; 0x25 + 801b442: d154 bne.n 801b4ee <_vfiprintf_r+0xfa> + 801b444: ebb8 0a07 subs.w sl, r8, r7 + 801b448: d00b beq.n 801b462 <_vfiprintf_r+0x6e> + 801b44a: 4653 mov r3, sl + 801b44c: 463a mov r2, r7 + 801b44e: 4621 mov r1, r4 + 801b450: 4630 mov r0, r6 + 801b452: f7ff ffbc bl 801b3ce <__sfputs_r> + 801b456: 3001 adds r0, #1 + 801b458: f000 80c2 beq.w 801b5e0 <_vfiprintf_r+0x1ec> + 801b45c: 9b09 ldr r3, [sp, #36] ; 0x24 + 801b45e: 4453 add r3, sl + 801b460: 9309 str r3, [sp, #36] ; 0x24 + 801b462: f898 3000 ldrb.w r3, [r8] + 801b466: 2b00 cmp r3, #0 + 801b468: f000 80ba beq.w 801b5e0 <_vfiprintf_r+0x1ec> + 801b46c: 2300 movs r3, #0 + 801b46e: f04f 32ff mov.w r2, #4294967295 + 801b472: e9cd 2305 strd r2, r3, [sp, #20] + 801b476: 9304 str r3, [sp, #16] + 801b478: 9307 str r3, [sp, #28] + 801b47a: f88d 3053 strb.w r3, [sp, #83] ; 0x53 + 801b47e: 931a str r3, [sp, #104] ; 0x68 + 801b480: 46a8 mov r8, r5 + 801b482: 2205 movs r2, #5 + 801b484: f818 1b01 ldrb.w r1, [r8], #1 + 801b488: 485e ldr r0, [pc, #376] ; (801b604 <_vfiprintf_r+0x210>) + 801b48a: f7e4 fec1 bl 8000210 + 801b48e: 9b04 ldr r3, [sp, #16] + 801b490: bb78 cbnz r0, 801b4f2 <_vfiprintf_r+0xfe> + 801b492: 06d9 lsls r1, r3, #27 + 801b494: bf44 itt mi + 801b496: 2220 movmi r2, #32 + 801b498: f88d 2053 strbmi.w r2, [sp, #83] ; 0x53 + 801b49c: 071a lsls r2, r3, #28 + 801b49e: bf44 itt mi + 801b4a0: 222b movmi r2, #43 ; 0x2b + 801b4a2: f88d 2053 strbmi.w r2, [sp, #83] ; 0x53 + 801b4a6: 782a ldrb r2, [r5, #0] + 801b4a8: 2a2a cmp r2, #42 ; 0x2a + 801b4aa: d02a beq.n 801b502 <_vfiprintf_r+0x10e> + 801b4ac: 9a07 ldr r2, [sp, #28] + 801b4ae: 46a8 mov r8, r5 + 801b4b0: 2000 movs r0, #0 + 801b4b2: 250a movs r5, #10 + 801b4b4: 4641 mov r1, r8 + 801b4b6: f811 3b01 ldrb.w r3, [r1], #1 + 801b4ba: 3b30 subs r3, #48 ; 0x30 + 801b4bc: 2b09 cmp r3, #9 + 801b4be: d969 bls.n 801b594 <_vfiprintf_r+0x1a0> + 801b4c0: b360 cbz r0, 801b51c <_vfiprintf_r+0x128> + 801b4c2: e024 b.n 801b50e <_vfiprintf_r+0x11a> + 801b4c4: 4b50 ldr r3, [pc, #320] ; (801b608 <_vfiprintf_r+0x214>) + 801b4c6: 429c cmp r4, r3 + 801b4c8: d101 bne.n 801b4ce <_vfiprintf_r+0xda> + 801b4ca: 68b4 ldr r4, [r6, #8] + 801b4cc: e7a2 b.n 801b414 <_vfiprintf_r+0x20> + 801b4ce: 4b4f ldr r3, [pc, #316] ; (801b60c <_vfiprintf_r+0x218>) + 801b4d0: 429c cmp r4, r3 + 801b4d2: bf08 it eq + 801b4d4: 68f4 ldreq r4, [r6, #12] + 801b4d6: e79d b.n 801b414 <_vfiprintf_r+0x20> + 801b4d8: 4621 mov r1, r4 + 801b4da: 4630 mov r0, r6 + 801b4dc: f000 fae0 bl 801baa0 <__swsetup_r> + 801b4e0: 2800 cmp r0, #0 + 801b4e2: d09d beq.n 801b420 <_vfiprintf_r+0x2c> + 801b4e4: f04f 30ff mov.w r0, #4294967295 + 801b4e8: b01d add sp, #116 ; 0x74 + 801b4ea: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 801b4ee: 46a8 mov r8, r5 + 801b4f0: e7a2 b.n 801b438 <_vfiprintf_r+0x44> + 801b4f2: 4a44 ldr r2, [pc, #272] ; (801b604 <_vfiprintf_r+0x210>) + 801b4f4: 1a80 subs r0, r0, r2 + 801b4f6: fa0b f000 lsl.w r0, fp, r0 + 801b4fa: 4318 orrs r0, r3 + 801b4fc: 9004 str r0, [sp, #16] + 801b4fe: 4645 mov r5, r8 + 801b500: e7be b.n 801b480 <_vfiprintf_r+0x8c> + 801b502: 9a03 ldr r2, [sp, #12] + 801b504: 1d11 adds r1, r2, #4 + 801b506: 6812 ldr r2, [r2, #0] + 801b508: 9103 str r1, [sp, #12] + 801b50a: 2a00 cmp r2, #0 + 801b50c: db01 blt.n 801b512 <_vfiprintf_r+0x11e> + 801b50e: 9207 str r2, [sp, #28] + 801b510: e004 b.n 801b51c <_vfiprintf_r+0x128> + 801b512: 4252 negs r2, r2 + 801b514: f043 0302 orr.w r3, r3, #2 + 801b518: 9207 str r2, [sp, #28] + 801b51a: 9304 str r3, [sp, #16] + 801b51c: f898 3000 ldrb.w r3, [r8] + 801b520: 2b2e cmp r3, #46 ; 0x2e + 801b522: d10e bne.n 801b542 <_vfiprintf_r+0x14e> + 801b524: f898 3001 ldrb.w r3, [r8, #1] + 801b528: 2b2a cmp r3, #42 ; 0x2a + 801b52a: d138 bne.n 801b59e <_vfiprintf_r+0x1aa> + 801b52c: 9b03 ldr r3, [sp, #12] + 801b52e: 1d1a adds r2, r3, #4 + 801b530: 681b ldr r3, [r3, #0] + 801b532: 9203 str r2, [sp, #12] + 801b534: 2b00 cmp r3, #0 + 801b536: bfb8 it lt + 801b538: f04f 33ff movlt.w r3, #4294967295 + 801b53c: f108 0802 add.w r8, r8, #2 + 801b540: 9305 str r3, [sp, #20] + 801b542: 4d33 ldr r5, [pc, #204] ; (801b610 <_vfiprintf_r+0x21c>) + 801b544: f898 1000 ldrb.w r1, [r8] + 801b548: 2203 movs r2, #3 + 801b54a: 4628 mov r0, r5 + 801b54c: f7e4 fe60 bl 8000210 + 801b550: b140 cbz r0, 801b564 <_vfiprintf_r+0x170> + 801b552: 2340 movs r3, #64 ; 0x40 + 801b554: 1b40 subs r0, r0, r5 + 801b556: fa03 f000 lsl.w r0, r3, r0 + 801b55a: 9b04 ldr r3, [sp, #16] + 801b55c: 4303 orrs r3, r0 + 801b55e: f108 0801 add.w r8, r8, #1 + 801b562: 9304 str r3, [sp, #16] + 801b564: f898 1000 ldrb.w r1, [r8] + 801b568: 482a ldr r0, [pc, #168] ; (801b614 <_vfiprintf_r+0x220>) + 801b56a: f88d 1028 strb.w r1, [sp, #40] ; 0x28 + 801b56e: 2206 movs r2, #6 + 801b570: f108 0701 add.w r7, r8, #1 + 801b574: f7e4 fe4c bl 8000210 + 801b578: 2800 cmp r0, #0 + 801b57a: d037 beq.n 801b5ec <_vfiprintf_r+0x1f8> + 801b57c: 4b26 ldr r3, [pc, #152] ; (801b618 <_vfiprintf_r+0x224>) + 801b57e: bb1b cbnz r3, 801b5c8 <_vfiprintf_r+0x1d4> + 801b580: 9b03 ldr r3, [sp, #12] + 801b582: 3307 adds r3, #7 + 801b584: f023 0307 bic.w r3, r3, #7 + 801b588: 3308 adds r3, #8 + 801b58a: 9303 str r3, [sp, #12] + 801b58c: 9b09 ldr r3, [sp, #36] ; 0x24 + 801b58e: 444b add r3, r9 + 801b590: 9309 str r3, [sp, #36] ; 0x24 + 801b592: e750 b.n 801b436 <_vfiprintf_r+0x42> + 801b594: fb05 3202 mla r2, r5, r2, r3 + 801b598: 2001 movs r0, #1 + 801b59a: 4688 mov r8, r1 + 801b59c: e78a b.n 801b4b4 <_vfiprintf_r+0xc0> + 801b59e: 2300 movs r3, #0 + 801b5a0: f108 0801 add.w r8, r8, #1 + 801b5a4: 9305 str r3, [sp, #20] + 801b5a6: 4619 mov r1, r3 + 801b5a8: 250a movs r5, #10 + 801b5aa: 4640 mov r0, r8 + 801b5ac: f810 2b01 ldrb.w r2, [r0], #1 + 801b5b0: 3a30 subs r2, #48 ; 0x30 + 801b5b2: 2a09 cmp r2, #9 + 801b5b4: d903 bls.n 801b5be <_vfiprintf_r+0x1ca> + 801b5b6: 2b00 cmp r3, #0 + 801b5b8: d0c3 beq.n 801b542 <_vfiprintf_r+0x14e> + 801b5ba: 9105 str r1, [sp, #20] + 801b5bc: e7c1 b.n 801b542 <_vfiprintf_r+0x14e> + 801b5be: fb05 2101 mla r1, r5, r1, r2 + 801b5c2: 2301 movs r3, #1 + 801b5c4: 4680 mov r8, r0 + 801b5c6: e7f0 b.n 801b5aa <_vfiprintf_r+0x1b6> + 801b5c8: ab03 add r3, sp, #12 + 801b5ca: 9300 str r3, [sp, #0] + 801b5cc: 4622 mov r2, r4 + 801b5ce: 4b13 ldr r3, [pc, #76] ; (801b61c <_vfiprintf_r+0x228>) + 801b5d0: a904 add r1, sp, #16 + 801b5d2: 4630 mov r0, r6 + 801b5d4: f3af 8000 nop.w + 801b5d8: f1b0 3fff cmp.w r0, #4294967295 + 801b5dc: 4681 mov r9, r0 + 801b5de: d1d5 bne.n 801b58c <_vfiprintf_r+0x198> + 801b5e0: 89a3 ldrh r3, [r4, #12] + 801b5e2: 065b lsls r3, r3, #25 + 801b5e4: f53f af7e bmi.w 801b4e4 <_vfiprintf_r+0xf0> + 801b5e8: 9809 ldr r0, [sp, #36] ; 0x24 + 801b5ea: e77d b.n 801b4e8 <_vfiprintf_r+0xf4> + 801b5ec: ab03 add r3, sp, #12 + 801b5ee: 9300 str r3, [sp, #0] + 801b5f0: 4622 mov r2, r4 + 801b5f2: 4b0a ldr r3, [pc, #40] ; (801b61c <_vfiprintf_r+0x228>) + 801b5f4: a904 add r1, sp, #16 + 801b5f6: 4630 mov r0, r6 + 801b5f8: f000 f888 bl 801b70c <_printf_i> + 801b5fc: e7ec b.n 801b5d8 <_vfiprintf_r+0x1e4> + 801b5fe: bf00 nop + 801b600: 08020eac .word 0x08020eac + 801b604: 08020eec .word 0x08020eec + 801b608: 08020ecc .word 0x08020ecc + 801b60c: 08020e8c .word 0x08020e8c + 801b610: 08020ef2 .word 0x08020ef2 + 801b614: 08020ef6 .word 0x08020ef6 + 801b618: 00000000 .word 0x00000000 + 801b61c: 0801b3cf .word 0x0801b3cf -0801b4e8 : - 801b4e8: b538 push {r3, r4, r5, lr} - 801b4ea: 4b13 ldr r3, [pc, #76] ; (801b538 ) - 801b4ec: 681c ldr r4, [r3, #0] - 801b4ee: 6ba3 ldr r3, [r4, #56] ; 0x38 - 801b4f0: b97b cbnz r3, 801b512 - 801b4f2: 2018 movs r0, #24 - 801b4f4: f000 f916 bl 801b724 - 801b4f8: 4a10 ldr r2, [pc, #64] ; (801b53c ) - 801b4fa: 4b11 ldr r3, [pc, #68] ; (801b540 ) - 801b4fc: 63a0 str r0, [r4, #56] ; 0x38 - 801b4fe: e9c0 2300 strd r2, r3, [r0] - 801b502: 4b10 ldr r3, [pc, #64] ; (801b544 ) - 801b504: 6083 str r3, [r0, #8] - 801b506: 230b movs r3, #11 - 801b508: 8183 strh r3, [r0, #12] - 801b50a: 2201 movs r2, #1 - 801b50c: 2300 movs r3, #0 - 801b50e: e9c0 2304 strd r2, r3, [r0, #16] - 801b512: 6ba1 ldr r1, [r4, #56] ; 0x38 - 801b514: 480c ldr r0, [pc, #48] ; (801b548 ) - 801b516: 690a ldr r2, [r1, #16] - 801b518: 694b ldr r3, [r1, #20] - 801b51a: 4c0c ldr r4, [pc, #48] ; (801b54c ) - 801b51c: 4350 muls r0, r2 - 801b51e: fb04 0003 mla r0, r4, r3, r0 - 801b522: fba2 2304 umull r2, r3, r2, r4 - 801b526: 4403 add r3, r0 - 801b528: 1c54 adds r4, r2, #1 - 801b52a: f143 0500 adc.w r5, r3, #0 - 801b52e: e9c1 4504 strd r4, r5, [r1, #16] - 801b532: f025 4000 bic.w r0, r5, #2147483648 ; 0x80000000 - 801b536: bd38 pop {r3, r4, r5, pc} - 801b538: 20000084 .word 0x20000084 - 801b53c: abcd330e .word 0xabcd330e - 801b540: e66d1234 .word 0xe66d1234 - 801b544: 0005deec .word 0x0005deec - 801b548: 5851f42d .word 0x5851f42d - 801b54c: 4c957f2d .word 0x4c957f2d - -0801b550 : - 801b550: b40e push {r1, r2, r3} - 801b552: b500 push {lr} - 801b554: b09c sub sp, #112 ; 0x70 - 801b556: ab1d add r3, sp, #116 ; 0x74 - 801b558: 9002 str r0, [sp, #8] - 801b55a: 9006 str r0, [sp, #24] - 801b55c: f06f 4100 mvn.w r1, #2147483648 ; 0x80000000 - 801b560: 4809 ldr r0, [pc, #36] ; (801b588 ) - 801b562: 9107 str r1, [sp, #28] - 801b564: 9104 str r1, [sp, #16] - 801b566: 4909 ldr r1, [pc, #36] ; (801b58c ) - 801b568: f853 2b04 ldr.w r2, [r3], #4 - 801b56c: 9105 str r1, [sp, #20] - 801b56e: 6800 ldr r0, [r0, #0] - 801b570: 9301 str r3, [sp, #4] - 801b572: a902 add r1, sp, #8 - 801b574: f000 f9e0 bl 801b938 <_svfiprintf_r> - 801b578: 9b02 ldr r3, [sp, #8] - 801b57a: 2200 movs r2, #0 - 801b57c: 701a strb r2, [r3, #0] - 801b57e: b01c add sp, #112 ; 0x70 - 801b580: f85d eb04 ldr.w lr, [sp], #4 - 801b584: b003 add sp, #12 - 801b586: 4770 bx lr - 801b588: 20000084 .word 0x20000084 - 801b58c: ffff0208 .word 0xffff0208 - -0801b590 : - 801b590: 2300 movs r3, #0 - 801b592: b510 push {r4, lr} - 801b594: 4604 mov r4, r0 - 801b596: e9c0 3300 strd r3, r3, [r0] - 801b59a: 6083 str r3, [r0, #8] - 801b59c: 8181 strh r1, [r0, #12] - 801b59e: 6643 str r3, [r0, #100] ; 0x64 - 801b5a0: 81c2 strh r2, [r0, #14] - 801b5a2: e9c0 3304 strd r3, r3, [r0, #16] - 801b5a6: 6183 str r3, [r0, #24] - 801b5a8: 4619 mov r1, r3 - 801b5aa: 2208 movs r2, #8 - 801b5ac: 305c adds r0, #92 ; 0x5c - 801b5ae: f7ff ff7a bl 801b4a6 - 801b5b2: 4b05 ldr r3, [pc, #20] ; (801b5c8 ) - 801b5b4: 6263 str r3, [r4, #36] ; 0x24 - 801b5b6: 4b05 ldr r3, [pc, #20] ; (801b5cc ) - 801b5b8: 62a3 str r3, [r4, #40] ; 0x28 - 801b5ba: 4b05 ldr r3, [pc, #20] ; (801b5d0 ) - 801b5bc: 62e3 str r3, [r4, #44] ; 0x2c - 801b5be: 4b05 ldr r3, [pc, #20] ; (801b5d4 ) - 801b5c0: 6224 str r4, [r4, #32] - 801b5c2: 6323 str r3, [r4, #48] ; 0x30 - 801b5c4: bd10 pop {r4, pc} - 801b5c6: bf00 nop - 801b5c8: 0801c0d9 .word 0x0801c0d9 - 801b5cc: 0801c0fb .word 0x0801c0fb - 801b5d0: 0801c133 .word 0x0801c133 - 801b5d4: 0801c157 .word 0x0801c157 - -0801b5d8 <_cleanup_r>: - 801b5d8: 4901 ldr r1, [pc, #4] ; (801b5e0 <_cleanup_r+0x8>) - 801b5da: f000 b885 b.w 801b6e8 <_fwalk_reent> - 801b5de: bf00 nop - 801b5e0: 0801c431 .word 0x0801c431 - -0801b5e4 <__sfmoreglue>: - 801b5e4: b570 push {r4, r5, r6, lr} - 801b5e6: 1e4a subs r2, r1, #1 - 801b5e8: 2568 movs r5, #104 ; 0x68 - 801b5ea: 4355 muls r5, r2 - 801b5ec: 460e mov r6, r1 - 801b5ee: f105 0174 add.w r1, r5, #116 ; 0x74 - 801b5f2: f000 f8ed bl 801b7d0 <_malloc_r> - 801b5f6: 4604 mov r4, r0 - 801b5f8: b140 cbz r0, 801b60c <__sfmoreglue+0x28> - 801b5fa: 2100 movs r1, #0 - 801b5fc: e9c0 1600 strd r1, r6, [r0] - 801b600: 300c adds r0, #12 - 801b602: 60a0 str r0, [r4, #8] - 801b604: f105 0268 add.w r2, r5, #104 ; 0x68 - 801b608: f7ff ff4d bl 801b4a6 - 801b60c: 4620 mov r0, r4 - 801b60e: bd70 pop {r4, r5, r6, pc} - -0801b610 <__sinit>: - 801b610: 6983 ldr r3, [r0, #24] - 801b612: b510 push {r4, lr} - 801b614: 4604 mov r4, r0 - 801b616: bb33 cbnz r3, 801b666 <__sinit+0x56> - 801b618: e9c0 3312 strd r3, r3, [r0, #72] ; 0x48 - 801b61c: 6503 str r3, [r0, #80] ; 0x50 - 801b61e: 4b12 ldr r3, [pc, #72] ; (801b668 <__sinit+0x58>) - 801b620: 4a12 ldr r2, [pc, #72] ; (801b66c <__sinit+0x5c>) - 801b622: 681b ldr r3, [r3, #0] - 801b624: 6282 str r2, [r0, #40] ; 0x28 - 801b626: 4298 cmp r0, r3 - 801b628: bf04 itt eq - 801b62a: 2301 moveq r3, #1 - 801b62c: 6183 streq r3, [r0, #24] - 801b62e: f000 f81f bl 801b670 <__sfp> - 801b632: 6060 str r0, [r4, #4] - 801b634: 4620 mov r0, r4 - 801b636: f000 f81b bl 801b670 <__sfp> - 801b63a: 60a0 str r0, [r4, #8] - 801b63c: 4620 mov r0, r4 - 801b63e: f000 f817 bl 801b670 <__sfp> - 801b642: 2200 movs r2, #0 - 801b644: 60e0 str r0, [r4, #12] - 801b646: 2104 movs r1, #4 - 801b648: 6860 ldr r0, [r4, #4] - 801b64a: f7ff ffa1 bl 801b590 - 801b64e: 2201 movs r2, #1 - 801b650: 2109 movs r1, #9 - 801b652: 68a0 ldr r0, [r4, #8] - 801b654: f7ff ff9c bl 801b590 - 801b658: 2202 movs r2, #2 - 801b65a: 2112 movs r1, #18 - 801b65c: 68e0 ldr r0, [r4, #12] - 801b65e: f7ff ff97 bl 801b590 - 801b662: 2301 movs r3, #1 - 801b664: 61a3 str r3, [r4, #24] - 801b666: bd10 pop {r4, pc} - 801b668: 0802168c .word 0x0802168c - 801b66c: 0801b5d9 .word 0x0801b5d9 - -0801b670 <__sfp>: - 801b670: b5f8 push {r3, r4, r5, r6, r7, lr} - 801b672: 4b1b ldr r3, [pc, #108] ; (801b6e0 <__sfp+0x70>) - 801b674: 681e ldr r6, [r3, #0] - 801b676: 69b3 ldr r3, [r6, #24] - 801b678: 4607 mov r7, r0 - 801b67a: b913 cbnz r3, 801b682 <__sfp+0x12> - 801b67c: 4630 mov r0, r6 - 801b67e: f7ff ffc7 bl 801b610 <__sinit> - 801b682: 3648 adds r6, #72 ; 0x48 - 801b684: e9d6 3401 ldrd r3, r4, [r6, #4] - 801b688: 3b01 subs r3, #1 - 801b68a: d503 bpl.n 801b694 <__sfp+0x24> - 801b68c: 6833 ldr r3, [r6, #0] - 801b68e: b133 cbz r3, 801b69e <__sfp+0x2e> - 801b690: 6836 ldr r6, [r6, #0] - 801b692: e7f7 b.n 801b684 <__sfp+0x14> - 801b694: f9b4 500c ldrsh.w r5, [r4, #12] - 801b698: b16d cbz r5, 801b6b6 <__sfp+0x46> - 801b69a: 3468 adds r4, #104 ; 0x68 - 801b69c: e7f4 b.n 801b688 <__sfp+0x18> - 801b69e: 2104 movs r1, #4 - 801b6a0: 4638 mov r0, r7 - 801b6a2: f7ff ff9f bl 801b5e4 <__sfmoreglue> - 801b6a6: 6030 str r0, [r6, #0] - 801b6a8: 2800 cmp r0, #0 - 801b6aa: d1f1 bne.n 801b690 <__sfp+0x20> - 801b6ac: 230c movs r3, #12 - 801b6ae: 603b str r3, [r7, #0] - 801b6b0: 4604 mov r4, r0 - 801b6b2: 4620 mov r0, r4 - 801b6b4: bdf8 pop {r3, r4, r5, r6, r7, pc} - 801b6b6: 4b0b ldr r3, [pc, #44] ; (801b6e4 <__sfp+0x74>) - 801b6b8: 6665 str r5, [r4, #100] ; 0x64 - 801b6ba: e9c4 5500 strd r5, r5, [r4] - 801b6be: 60a5 str r5, [r4, #8] - 801b6c0: e9c4 3503 strd r3, r5, [r4, #12] - 801b6c4: e9c4 5505 strd r5, r5, [r4, #20] - 801b6c8: 2208 movs r2, #8 - 801b6ca: 4629 mov r1, r5 - 801b6cc: f104 005c add.w r0, r4, #92 ; 0x5c - 801b6d0: f7ff fee9 bl 801b4a6 - 801b6d4: e9c4 550d strd r5, r5, [r4, #52] ; 0x34 - 801b6d8: e9c4 5512 strd r5, r5, [r4, #72] ; 0x48 - 801b6dc: e7e9 b.n 801b6b2 <__sfp+0x42> - 801b6de: bf00 nop - 801b6e0: 0802168c .word 0x0802168c - 801b6e4: ffff0001 .word 0xffff0001 - -0801b6e8 <_fwalk_reent>: - 801b6e8: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 801b6ec: 4680 mov r8, r0 - 801b6ee: 4689 mov r9, r1 - 801b6f0: f100 0448 add.w r4, r0, #72 ; 0x48 - 801b6f4: 2600 movs r6, #0 - 801b6f6: b914 cbnz r4, 801b6fe <_fwalk_reent+0x16> - 801b6f8: 4630 mov r0, r6 - 801b6fa: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 801b6fe: e9d4 7501 ldrd r7, r5, [r4, #4] - 801b702: 3f01 subs r7, #1 - 801b704: d501 bpl.n 801b70a <_fwalk_reent+0x22> - 801b706: 6824 ldr r4, [r4, #0] - 801b708: e7f5 b.n 801b6f6 <_fwalk_reent+0xe> - 801b70a: 89ab ldrh r3, [r5, #12] - 801b70c: 2b01 cmp r3, #1 - 801b70e: d907 bls.n 801b720 <_fwalk_reent+0x38> - 801b710: f9b5 300e ldrsh.w r3, [r5, #14] - 801b714: 3301 adds r3, #1 - 801b716: d003 beq.n 801b720 <_fwalk_reent+0x38> - 801b718: 4629 mov r1, r5 - 801b71a: 4640 mov r0, r8 - 801b71c: 47c8 blx r9 - 801b71e: 4306 orrs r6, r0 - 801b720: 3568 adds r5, #104 ; 0x68 - 801b722: e7ee b.n 801b702 <_fwalk_reent+0x1a> - -0801b724 : - 801b724: 4b02 ldr r3, [pc, #8] ; (801b730 ) - 801b726: 4601 mov r1, r0 - 801b728: 6818 ldr r0, [r3, #0] - 801b72a: f000 b851 b.w 801b7d0 <_malloc_r> - 801b72e: bf00 nop - 801b730: 20000084 .word 0x20000084 - -0801b734 <_free_r>: - 801b734: b538 push {r3, r4, r5, lr} - 801b736: 4605 mov r5, r0 - 801b738: 2900 cmp r1, #0 - 801b73a: d045 beq.n 801b7c8 <_free_r+0x94> - 801b73c: f851 3c04 ldr.w r3, [r1, #-4] - 801b740: 1f0c subs r4, r1, #4 - 801b742: 2b00 cmp r3, #0 - 801b744: bfb8 it lt - 801b746: 18e4 addlt r4, r4, r3 - 801b748: f000 ff12 bl 801c570 <__malloc_lock> - 801b74c: 4a1f ldr r2, [pc, #124] ; (801b7cc <_free_r+0x98>) - 801b74e: 6813 ldr r3, [r2, #0] - 801b750: 4610 mov r0, r2 - 801b752: b933 cbnz r3, 801b762 <_free_r+0x2e> - 801b754: 6063 str r3, [r4, #4] - 801b756: 6014 str r4, [r2, #0] - 801b758: 4628 mov r0, r5 - 801b75a: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 801b75e: f000 bf08 b.w 801c572 <__malloc_unlock> - 801b762: 42a3 cmp r3, r4 - 801b764: d90c bls.n 801b780 <_free_r+0x4c> - 801b766: 6821 ldr r1, [r4, #0] - 801b768: 1862 adds r2, r4, r1 - 801b76a: 4293 cmp r3, r2 - 801b76c: bf04 itt eq - 801b76e: 681a ldreq r2, [r3, #0] - 801b770: 685b ldreq r3, [r3, #4] - 801b772: 6063 str r3, [r4, #4] - 801b774: bf04 itt eq - 801b776: 1852 addeq r2, r2, r1 - 801b778: 6022 streq r2, [r4, #0] - 801b77a: 6004 str r4, [r0, #0] - 801b77c: e7ec b.n 801b758 <_free_r+0x24> - 801b77e: 4613 mov r3, r2 - 801b780: 685a ldr r2, [r3, #4] - 801b782: b10a cbz r2, 801b788 <_free_r+0x54> - 801b784: 42a2 cmp r2, r4 - 801b786: d9fa bls.n 801b77e <_free_r+0x4a> - 801b788: 6819 ldr r1, [r3, #0] - 801b78a: 1858 adds r0, r3, r1 - 801b78c: 42a0 cmp r0, r4 - 801b78e: d10b bne.n 801b7a8 <_free_r+0x74> - 801b790: 6820 ldr r0, [r4, #0] - 801b792: 4401 add r1, r0 - 801b794: 1858 adds r0, r3, r1 - 801b796: 4282 cmp r2, r0 - 801b798: 6019 str r1, [r3, #0] - 801b79a: d1dd bne.n 801b758 <_free_r+0x24> - 801b79c: 6810 ldr r0, [r2, #0] - 801b79e: 6852 ldr r2, [r2, #4] - 801b7a0: 605a str r2, [r3, #4] - 801b7a2: 4401 add r1, r0 - 801b7a4: 6019 str r1, [r3, #0] - 801b7a6: e7d7 b.n 801b758 <_free_r+0x24> - 801b7a8: d902 bls.n 801b7b0 <_free_r+0x7c> - 801b7aa: 230c movs r3, #12 - 801b7ac: 602b str r3, [r5, #0] - 801b7ae: e7d3 b.n 801b758 <_free_r+0x24> - 801b7b0: 6820 ldr r0, [r4, #0] - 801b7b2: 1821 adds r1, r4, r0 - 801b7b4: 428a cmp r2, r1 - 801b7b6: bf04 itt eq - 801b7b8: 6811 ldreq r1, [r2, #0] - 801b7ba: 6852 ldreq r2, [r2, #4] - 801b7bc: 6062 str r2, [r4, #4] - 801b7be: bf04 itt eq - 801b7c0: 1809 addeq r1, r1, r0 - 801b7c2: 6021 streq r1, [r4, #0] - 801b7c4: 605c str r4, [r3, #4] - 801b7c6: e7c7 b.n 801b758 <_free_r+0x24> - 801b7c8: bd38 pop {r3, r4, r5, pc} - 801b7ca: bf00 nop - 801b7cc: 20008874 .word 0x20008874 - -0801b7d0 <_malloc_r>: - 801b7d0: b570 push {r4, r5, r6, lr} - 801b7d2: 1ccd adds r5, r1, #3 - 801b7d4: f025 0503 bic.w r5, r5, #3 - 801b7d8: 3508 adds r5, #8 - 801b7da: 2d0c cmp r5, #12 - 801b7dc: bf38 it cc - 801b7de: 250c movcc r5, #12 - 801b7e0: 2d00 cmp r5, #0 - 801b7e2: 4606 mov r6, r0 - 801b7e4: db01 blt.n 801b7ea <_malloc_r+0x1a> - 801b7e6: 42a9 cmp r1, r5 - 801b7e8: d903 bls.n 801b7f2 <_malloc_r+0x22> - 801b7ea: 230c movs r3, #12 - 801b7ec: 6033 str r3, [r6, #0] - 801b7ee: 2000 movs r0, #0 - 801b7f0: bd70 pop {r4, r5, r6, pc} - 801b7f2: f000 febd bl 801c570 <__malloc_lock> - 801b7f6: 4a21 ldr r2, [pc, #132] ; (801b87c <_malloc_r+0xac>) - 801b7f8: 6814 ldr r4, [r2, #0] - 801b7fa: 4621 mov r1, r4 - 801b7fc: b991 cbnz r1, 801b824 <_malloc_r+0x54> - 801b7fe: 4c20 ldr r4, [pc, #128] ; (801b880 <_malloc_r+0xb0>) - 801b800: 6823 ldr r3, [r4, #0] - 801b802: b91b cbnz r3, 801b80c <_malloc_r+0x3c> - 801b804: 4630 mov r0, r6 - 801b806: f000 fc57 bl 801c0b8 <_sbrk_r> - 801b80a: 6020 str r0, [r4, #0] - 801b80c: 4629 mov r1, r5 - 801b80e: 4630 mov r0, r6 - 801b810: f000 fc52 bl 801c0b8 <_sbrk_r> - 801b814: 1c43 adds r3, r0, #1 - 801b816: d124 bne.n 801b862 <_malloc_r+0x92> - 801b818: 230c movs r3, #12 - 801b81a: 6033 str r3, [r6, #0] - 801b81c: 4630 mov r0, r6 - 801b81e: f000 fea8 bl 801c572 <__malloc_unlock> - 801b822: e7e4 b.n 801b7ee <_malloc_r+0x1e> - 801b824: 680b ldr r3, [r1, #0] - 801b826: 1b5b subs r3, r3, r5 - 801b828: d418 bmi.n 801b85c <_malloc_r+0x8c> - 801b82a: 2b0b cmp r3, #11 - 801b82c: d90f bls.n 801b84e <_malloc_r+0x7e> - 801b82e: 600b str r3, [r1, #0] - 801b830: 50cd str r5, [r1, r3] - 801b832: 18cc adds r4, r1, r3 - 801b834: 4630 mov r0, r6 - 801b836: f000 fe9c bl 801c572 <__malloc_unlock> - 801b83a: f104 000b add.w r0, r4, #11 - 801b83e: 1d23 adds r3, r4, #4 - 801b840: f020 0007 bic.w r0, r0, #7 - 801b844: 1ac3 subs r3, r0, r3 - 801b846: d0d3 beq.n 801b7f0 <_malloc_r+0x20> - 801b848: 425a negs r2, r3 - 801b84a: 50e2 str r2, [r4, r3] - 801b84c: e7d0 b.n 801b7f0 <_malloc_r+0x20> - 801b84e: 428c cmp r4, r1 - 801b850: 684b ldr r3, [r1, #4] - 801b852: bf16 itet ne - 801b854: 6063 strne r3, [r4, #4] - 801b856: 6013 streq r3, [r2, #0] - 801b858: 460c movne r4, r1 - 801b85a: e7eb b.n 801b834 <_malloc_r+0x64> - 801b85c: 460c mov r4, r1 - 801b85e: 6849 ldr r1, [r1, #4] - 801b860: e7cc b.n 801b7fc <_malloc_r+0x2c> - 801b862: 1cc4 adds r4, r0, #3 - 801b864: f024 0403 bic.w r4, r4, #3 - 801b868: 42a0 cmp r0, r4 - 801b86a: d005 beq.n 801b878 <_malloc_r+0xa8> - 801b86c: 1a21 subs r1, r4, r0 - 801b86e: 4630 mov r0, r6 - 801b870: f000 fc22 bl 801c0b8 <_sbrk_r> - 801b874: 3001 adds r0, #1 - 801b876: d0cf beq.n 801b818 <_malloc_r+0x48> - 801b878: 6025 str r5, [r4, #0] - 801b87a: e7db b.n 801b834 <_malloc_r+0x64> - 801b87c: 20008874 .word 0x20008874 - 801b880: 20008878 .word 0x20008878 - -0801b884 <__ssputs_r>: - 801b884: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 801b888: 688e ldr r6, [r1, #8] - 801b88a: 429e cmp r6, r3 - 801b88c: 4682 mov sl, r0 - 801b88e: 460c mov r4, r1 - 801b890: 4690 mov r8, r2 - 801b892: 4699 mov r9, r3 - 801b894: d837 bhi.n 801b906 <__ssputs_r+0x82> - 801b896: 898a ldrh r2, [r1, #12] - 801b898: f412 6f90 tst.w r2, #1152 ; 0x480 - 801b89c: d031 beq.n 801b902 <__ssputs_r+0x7e> - 801b89e: 6825 ldr r5, [r4, #0] - 801b8a0: 6909 ldr r1, [r1, #16] - 801b8a2: 1a6f subs r7, r5, r1 - 801b8a4: 6965 ldr r5, [r4, #20] - 801b8a6: 2302 movs r3, #2 - 801b8a8: eb05 0545 add.w r5, r5, r5, lsl #1 - 801b8ac: fb95 f5f3 sdiv r5, r5, r3 - 801b8b0: f109 0301 add.w r3, r9, #1 - 801b8b4: 443b add r3, r7 - 801b8b6: 429d cmp r5, r3 - 801b8b8: bf38 it cc - 801b8ba: 461d movcc r5, r3 - 801b8bc: 0553 lsls r3, r2, #21 - 801b8be: d530 bpl.n 801b922 <__ssputs_r+0x9e> - 801b8c0: 4629 mov r1, r5 - 801b8c2: f7ff ff85 bl 801b7d0 <_malloc_r> - 801b8c6: 4606 mov r6, r0 - 801b8c8: b950 cbnz r0, 801b8e0 <__ssputs_r+0x5c> - 801b8ca: 230c movs r3, #12 - 801b8cc: f8ca 3000 str.w r3, [sl] - 801b8d0: 89a3 ldrh r3, [r4, #12] - 801b8d2: f043 0340 orr.w r3, r3, #64 ; 0x40 - 801b8d6: 81a3 strh r3, [r4, #12] - 801b8d8: f04f 30ff mov.w r0, #4294967295 - 801b8dc: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 801b8e0: 463a mov r2, r7 - 801b8e2: 6921 ldr r1, [r4, #16] - 801b8e4: f7ff fdbb bl 801b45e - 801b8e8: 89a3 ldrh r3, [r4, #12] - 801b8ea: f423 6390 bic.w r3, r3, #1152 ; 0x480 - 801b8ee: f043 0380 orr.w r3, r3, #128 ; 0x80 - 801b8f2: 81a3 strh r3, [r4, #12] - 801b8f4: 6126 str r6, [r4, #16] - 801b8f6: 6165 str r5, [r4, #20] - 801b8f8: 443e add r6, r7 - 801b8fa: 1bed subs r5, r5, r7 - 801b8fc: 6026 str r6, [r4, #0] - 801b8fe: 60a5 str r5, [r4, #8] - 801b900: 464e mov r6, r9 - 801b902: 454e cmp r6, r9 - 801b904: d900 bls.n 801b908 <__ssputs_r+0x84> - 801b906: 464e mov r6, r9 - 801b908: 4632 mov r2, r6 - 801b90a: 4641 mov r1, r8 - 801b90c: 6820 ldr r0, [r4, #0] - 801b90e: f7ff fdb1 bl 801b474 - 801b912: 68a3 ldr r3, [r4, #8] - 801b914: 1b9b subs r3, r3, r6 - 801b916: 60a3 str r3, [r4, #8] - 801b918: 6823 ldr r3, [r4, #0] - 801b91a: 441e add r6, r3 - 801b91c: 6026 str r6, [r4, #0] - 801b91e: 2000 movs r0, #0 - 801b920: e7dc b.n 801b8dc <__ssputs_r+0x58> - 801b922: 462a mov r2, r5 - 801b924: f000 fe26 bl 801c574 <_realloc_r> - 801b928: 4606 mov r6, r0 - 801b92a: 2800 cmp r0, #0 - 801b92c: d1e2 bne.n 801b8f4 <__ssputs_r+0x70> - 801b92e: 6921 ldr r1, [r4, #16] - 801b930: 4650 mov r0, sl - 801b932: f7ff feff bl 801b734 <_free_r> - 801b936: e7c8 b.n 801b8ca <__ssputs_r+0x46> - -0801b938 <_svfiprintf_r>: - 801b938: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 801b93c: 461d mov r5, r3 - 801b93e: 898b ldrh r3, [r1, #12] - 801b940: 061f lsls r7, r3, #24 - 801b942: b09d sub sp, #116 ; 0x74 - 801b944: 4680 mov r8, r0 - 801b946: 460c mov r4, r1 - 801b948: 4616 mov r6, r2 - 801b94a: d50f bpl.n 801b96c <_svfiprintf_r+0x34> - 801b94c: 690b ldr r3, [r1, #16] - 801b94e: b96b cbnz r3, 801b96c <_svfiprintf_r+0x34> - 801b950: 2140 movs r1, #64 ; 0x40 - 801b952: f7ff ff3d bl 801b7d0 <_malloc_r> - 801b956: 6020 str r0, [r4, #0] - 801b958: 6120 str r0, [r4, #16] - 801b95a: b928 cbnz r0, 801b968 <_svfiprintf_r+0x30> - 801b95c: 230c movs r3, #12 - 801b95e: f8c8 3000 str.w r3, [r8] - 801b962: f04f 30ff mov.w r0, #4294967295 - 801b966: e0c8 b.n 801bafa <_svfiprintf_r+0x1c2> - 801b968: 2340 movs r3, #64 ; 0x40 - 801b96a: 6163 str r3, [r4, #20] - 801b96c: 2300 movs r3, #0 - 801b96e: 9309 str r3, [sp, #36] ; 0x24 - 801b970: 2320 movs r3, #32 - 801b972: f88d 3029 strb.w r3, [sp, #41] ; 0x29 - 801b976: 2330 movs r3, #48 ; 0x30 - 801b978: f88d 302a strb.w r3, [sp, #42] ; 0x2a - 801b97c: 9503 str r5, [sp, #12] - 801b97e: f04f 0b01 mov.w fp, #1 - 801b982: 4637 mov r7, r6 - 801b984: 463d mov r5, r7 - 801b986: f815 3b01 ldrb.w r3, [r5], #1 - 801b98a: b10b cbz r3, 801b990 <_svfiprintf_r+0x58> - 801b98c: 2b25 cmp r3, #37 ; 0x25 - 801b98e: d13e bne.n 801ba0e <_svfiprintf_r+0xd6> - 801b990: ebb7 0a06 subs.w sl, r7, r6 - 801b994: d00b beq.n 801b9ae <_svfiprintf_r+0x76> - 801b996: 4653 mov r3, sl - 801b998: 4632 mov r2, r6 - 801b99a: 4621 mov r1, r4 - 801b99c: 4640 mov r0, r8 - 801b99e: f7ff ff71 bl 801b884 <__ssputs_r> - 801b9a2: 3001 adds r0, #1 - 801b9a4: f000 80a4 beq.w 801baf0 <_svfiprintf_r+0x1b8> - 801b9a8: 9b09 ldr r3, [sp, #36] ; 0x24 - 801b9aa: 4453 add r3, sl - 801b9ac: 9309 str r3, [sp, #36] ; 0x24 - 801b9ae: 783b ldrb r3, [r7, #0] - 801b9b0: 2b00 cmp r3, #0 - 801b9b2: f000 809d beq.w 801baf0 <_svfiprintf_r+0x1b8> - 801b9b6: 2300 movs r3, #0 - 801b9b8: f04f 32ff mov.w r2, #4294967295 - 801b9bc: e9cd 2305 strd r2, r3, [sp, #20] - 801b9c0: 9304 str r3, [sp, #16] - 801b9c2: 9307 str r3, [sp, #28] - 801b9c4: f88d 3053 strb.w r3, [sp, #83] ; 0x53 - 801b9c8: 931a str r3, [sp, #104] ; 0x68 - 801b9ca: 462f mov r7, r5 - 801b9cc: 2205 movs r2, #5 - 801b9ce: f817 1b01 ldrb.w r1, [r7], #1 - 801b9d2: 4850 ldr r0, [pc, #320] ; (801bb14 <_svfiprintf_r+0x1dc>) - 801b9d4: f7e4 fc1c bl 8000210 - 801b9d8: 9b04 ldr r3, [sp, #16] - 801b9da: b9d0 cbnz r0, 801ba12 <_svfiprintf_r+0xda> - 801b9dc: 06d9 lsls r1, r3, #27 - 801b9de: bf44 itt mi - 801b9e0: 2220 movmi r2, #32 - 801b9e2: f88d 2053 strbmi.w r2, [sp, #83] ; 0x53 - 801b9e6: 071a lsls r2, r3, #28 - 801b9e8: bf44 itt mi - 801b9ea: 222b movmi r2, #43 ; 0x2b - 801b9ec: f88d 2053 strbmi.w r2, [sp, #83] ; 0x53 - 801b9f0: 782a ldrb r2, [r5, #0] - 801b9f2: 2a2a cmp r2, #42 ; 0x2a - 801b9f4: d015 beq.n 801ba22 <_svfiprintf_r+0xea> - 801b9f6: 9a07 ldr r2, [sp, #28] - 801b9f8: 462f mov r7, r5 - 801b9fa: 2000 movs r0, #0 - 801b9fc: 250a movs r5, #10 - 801b9fe: 4639 mov r1, r7 - 801ba00: f811 3b01 ldrb.w r3, [r1], #1 - 801ba04: 3b30 subs r3, #48 ; 0x30 - 801ba06: 2b09 cmp r3, #9 - 801ba08: d94d bls.n 801baa6 <_svfiprintf_r+0x16e> - 801ba0a: b1b8 cbz r0, 801ba3c <_svfiprintf_r+0x104> - 801ba0c: e00f b.n 801ba2e <_svfiprintf_r+0xf6> - 801ba0e: 462f mov r7, r5 - 801ba10: e7b8 b.n 801b984 <_svfiprintf_r+0x4c> - 801ba12: 4a40 ldr r2, [pc, #256] ; (801bb14 <_svfiprintf_r+0x1dc>) - 801ba14: 1a80 subs r0, r0, r2 - 801ba16: fa0b f000 lsl.w r0, fp, r0 - 801ba1a: 4318 orrs r0, r3 - 801ba1c: 9004 str r0, [sp, #16] - 801ba1e: 463d mov r5, r7 - 801ba20: e7d3 b.n 801b9ca <_svfiprintf_r+0x92> - 801ba22: 9a03 ldr r2, [sp, #12] - 801ba24: 1d11 adds r1, r2, #4 - 801ba26: 6812 ldr r2, [r2, #0] - 801ba28: 9103 str r1, [sp, #12] - 801ba2a: 2a00 cmp r2, #0 - 801ba2c: db01 blt.n 801ba32 <_svfiprintf_r+0xfa> - 801ba2e: 9207 str r2, [sp, #28] - 801ba30: e004 b.n 801ba3c <_svfiprintf_r+0x104> - 801ba32: 4252 negs r2, r2 - 801ba34: f043 0302 orr.w r3, r3, #2 - 801ba38: 9207 str r2, [sp, #28] - 801ba3a: 9304 str r3, [sp, #16] - 801ba3c: 783b ldrb r3, [r7, #0] - 801ba3e: 2b2e cmp r3, #46 ; 0x2e - 801ba40: d10c bne.n 801ba5c <_svfiprintf_r+0x124> - 801ba42: 787b ldrb r3, [r7, #1] - 801ba44: 2b2a cmp r3, #42 ; 0x2a - 801ba46: d133 bne.n 801bab0 <_svfiprintf_r+0x178> - 801ba48: 9b03 ldr r3, [sp, #12] - 801ba4a: 1d1a adds r2, r3, #4 - 801ba4c: 681b ldr r3, [r3, #0] - 801ba4e: 9203 str r2, [sp, #12] - 801ba50: 2b00 cmp r3, #0 - 801ba52: bfb8 it lt - 801ba54: f04f 33ff movlt.w r3, #4294967295 - 801ba58: 3702 adds r7, #2 - 801ba5a: 9305 str r3, [sp, #20] - 801ba5c: 4d2e ldr r5, [pc, #184] ; (801bb18 <_svfiprintf_r+0x1e0>) - 801ba5e: 7839 ldrb r1, [r7, #0] - 801ba60: 2203 movs r2, #3 - 801ba62: 4628 mov r0, r5 - 801ba64: f7e4 fbd4 bl 8000210 - 801ba68: b138 cbz r0, 801ba7a <_svfiprintf_r+0x142> - 801ba6a: 2340 movs r3, #64 ; 0x40 - 801ba6c: 1b40 subs r0, r0, r5 - 801ba6e: fa03 f000 lsl.w r0, r3, r0 - 801ba72: 9b04 ldr r3, [sp, #16] - 801ba74: 4303 orrs r3, r0 - 801ba76: 3701 adds r7, #1 - 801ba78: 9304 str r3, [sp, #16] - 801ba7a: 7839 ldrb r1, [r7, #0] - 801ba7c: 4827 ldr r0, [pc, #156] ; (801bb1c <_svfiprintf_r+0x1e4>) - 801ba7e: f88d 1028 strb.w r1, [sp, #40] ; 0x28 - 801ba82: 2206 movs r2, #6 - 801ba84: 1c7e adds r6, r7, #1 - 801ba86: f7e4 fbc3 bl 8000210 - 801ba8a: 2800 cmp r0, #0 - 801ba8c: d038 beq.n 801bb00 <_svfiprintf_r+0x1c8> - 801ba8e: 4b24 ldr r3, [pc, #144] ; (801bb20 <_svfiprintf_r+0x1e8>) - 801ba90: bb13 cbnz r3, 801bad8 <_svfiprintf_r+0x1a0> - 801ba92: 9b03 ldr r3, [sp, #12] - 801ba94: 3307 adds r3, #7 - 801ba96: f023 0307 bic.w r3, r3, #7 - 801ba9a: 3308 adds r3, #8 - 801ba9c: 9303 str r3, [sp, #12] - 801ba9e: 9b09 ldr r3, [sp, #36] ; 0x24 - 801baa0: 444b add r3, r9 - 801baa2: 9309 str r3, [sp, #36] ; 0x24 - 801baa4: e76d b.n 801b982 <_svfiprintf_r+0x4a> - 801baa6: fb05 3202 mla r2, r5, r2, r3 - 801baaa: 2001 movs r0, #1 - 801baac: 460f mov r7, r1 - 801baae: e7a6 b.n 801b9fe <_svfiprintf_r+0xc6> - 801bab0: 2300 movs r3, #0 - 801bab2: 3701 adds r7, #1 - 801bab4: 9305 str r3, [sp, #20] - 801bab6: 4619 mov r1, r3 - 801bab8: 250a movs r5, #10 - 801baba: 4638 mov r0, r7 - 801babc: f810 2b01 ldrb.w r2, [r0], #1 - 801bac0: 3a30 subs r2, #48 ; 0x30 - 801bac2: 2a09 cmp r2, #9 - 801bac4: d903 bls.n 801bace <_svfiprintf_r+0x196> - 801bac6: 2b00 cmp r3, #0 - 801bac8: d0c8 beq.n 801ba5c <_svfiprintf_r+0x124> - 801baca: 9105 str r1, [sp, #20] - 801bacc: e7c6 b.n 801ba5c <_svfiprintf_r+0x124> - 801bace: fb05 2101 mla r1, r5, r1, r2 - 801bad2: 2301 movs r3, #1 - 801bad4: 4607 mov r7, r0 - 801bad6: e7f0 b.n 801baba <_svfiprintf_r+0x182> - 801bad8: ab03 add r3, sp, #12 - 801bada: 9300 str r3, [sp, #0] - 801badc: 4622 mov r2, r4 - 801bade: 4b11 ldr r3, [pc, #68] ; (801bb24 <_svfiprintf_r+0x1ec>) - 801bae0: a904 add r1, sp, #16 - 801bae2: 4640 mov r0, r8 - 801bae4: f3af 8000 nop.w - 801bae8: f1b0 3fff cmp.w r0, #4294967295 - 801baec: 4681 mov r9, r0 - 801baee: d1d6 bne.n 801ba9e <_svfiprintf_r+0x166> - 801baf0: 89a3 ldrh r3, [r4, #12] - 801baf2: 065b lsls r3, r3, #25 - 801baf4: f53f af35 bmi.w 801b962 <_svfiprintf_r+0x2a> - 801baf8: 9809 ldr r0, [sp, #36] ; 0x24 - 801bafa: b01d add sp, #116 ; 0x74 - 801bafc: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 801bb00: ab03 add r3, sp, #12 - 801bb02: 9300 str r3, [sp, #0] - 801bb04: 4622 mov r2, r4 - 801bb06: 4b07 ldr r3, [pc, #28] ; (801bb24 <_svfiprintf_r+0x1ec>) - 801bb08: a904 add r1, sp, #16 - 801bb0a: 4640 mov r0, r8 - 801bb0c: f000 f9c2 bl 801be94 <_printf_i> - 801bb10: e7ea b.n 801bae8 <_svfiprintf_r+0x1b0> - 801bb12: bf00 nop - 801bb14: 080216f0 .word 0x080216f0 - 801bb18: 080216f6 .word 0x080216f6 - 801bb1c: 080216fa .word 0x080216fa - 801bb20: 00000000 .word 0x00000000 - 801bb24: 0801b885 .word 0x0801b885 - -0801bb28 <__sfputc_r>: - 801bb28: 6893 ldr r3, [r2, #8] - 801bb2a: 3b01 subs r3, #1 - 801bb2c: 2b00 cmp r3, #0 - 801bb2e: b410 push {r4} - 801bb30: 6093 str r3, [r2, #8] - 801bb32: da08 bge.n 801bb46 <__sfputc_r+0x1e> - 801bb34: 6994 ldr r4, [r2, #24] - 801bb36: 42a3 cmp r3, r4 - 801bb38: db01 blt.n 801bb3e <__sfputc_r+0x16> - 801bb3a: 290a cmp r1, #10 - 801bb3c: d103 bne.n 801bb46 <__sfputc_r+0x1e> - 801bb3e: f85d 4b04 ldr.w r4, [sp], #4 - 801bb42: f000 bb0d b.w 801c160 <__swbuf_r> - 801bb46: 6813 ldr r3, [r2, #0] - 801bb48: 1c58 adds r0, r3, #1 - 801bb4a: 6010 str r0, [r2, #0] - 801bb4c: 7019 strb r1, [r3, #0] - 801bb4e: 4608 mov r0, r1 - 801bb50: f85d 4b04 ldr.w r4, [sp], #4 - 801bb54: 4770 bx lr - -0801bb56 <__sfputs_r>: - 801bb56: b5f8 push {r3, r4, r5, r6, r7, lr} - 801bb58: 4606 mov r6, r0 - 801bb5a: 460f mov r7, r1 - 801bb5c: 4614 mov r4, r2 - 801bb5e: 18d5 adds r5, r2, r3 - 801bb60: 42ac cmp r4, r5 - 801bb62: d101 bne.n 801bb68 <__sfputs_r+0x12> - 801bb64: 2000 movs r0, #0 - 801bb66: e007 b.n 801bb78 <__sfputs_r+0x22> - 801bb68: 463a mov r2, r7 - 801bb6a: f814 1b01 ldrb.w r1, [r4], #1 - 801bb6e: 4630 mov r0, r6 - 801bb70: f7ff ffda bl 801bb28 <__sfputc_r> - 801bb74: 1c43 adds r3, r0, #1 - 801bb76: d1f3 bne.n 801bb60 <__sfputs_r+0xa> - 801bb78: bdf8 pop {r3, r4, r5, r6, r7, pc} +0801b620 <_printf_common>: + 801b620: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 801b624: 4691 mov r9, r2 + 801b626: 461f mov r7, r3 + 801b628: 688a ldr r2, [r1, #8] + 801b62a: 690b ldr r3, [r1, #16] + 801b62c: f8dd 8020 ldr.w r8, [sp, #32] + 801b630: 4293 cmp r3, r2 + 801b632: bfb8 it lt + 801b634: 4613 movlt r3, r2 + 801b636: f8c9 3000 str.w r3, [r9] + 801b63a: f891 2043 ldrb.w r2, [r1, #67] ; 0x43 + 801b63e: 4606 mov r6, r0 + 801b640: 460c mov r4, r1 + 801b642: b112 cbz r2, 801b64a <_printf_common+0x2a> + 801b644: 3301 adds r3, #1 + 801b646: f8c9 3000 str.w r3, [r9] + 801b64a: 6823 ldr r3, [r4, #0] + 801b64c: 0699 lsls r1, r3, #26 + 801b64e: bf42 ittt mi + 801b650: f8d9 3000 ldrmi.w r3, [r9] + 801b654: 3302 addmi r3, #2 + 801b656: f8c9 3000 strmi.w r3, [r9] + 801b65a: 6825 ldr r5, [r4, #0] + 801b65c: f015 0506 ands.w r5, r5, #6 + 801b660: d107 bne.n 801b672 <_printf_common+0x52> + 801b662: f104 0a19 add.w sl, r4, #25 + 801b666: 68e3 ldr r3, [r4, #12] + 801b668: f8d9 2000 ldr.w r2, [r9] + 801b66c: 1a9b subs r3, r3, r2 + 801b66e: 42ab cmp r3, r5 + 801b670: dc28 bgt.n 801b6c4 <_printf_common+0xa4> + 801b672: f894 3043 ldrb.w r3, [r4, #67] ; 0x43 + 801b676: 6822 ldr r2, [r4, #0] + 801b678: 3300 adds r3, #0 + 801b67a: bf18 it ne + 801b67c: 2301 movne r3, #1 + 801b67e: 0692 lsls r2, r2, #26 + 801b680: d42d bmi.n 801b6de <_printf_common+0xbe> + 801b682: f104 0243 add.w r2, r4, #67 ; 0x43 + 801b686: 4639 mov r1, r7 + 801b688: 4630 mov r0, r6 + 801b68a: 47c0 blx r8 + 801b68c: 3001 adds r0, #1 + 801b68e: d020 beq.n 801b6d2 <_printf_common+0xb2> + 801b690: 6823 ldr r3, [r4, #0] + 801b692: 68e5 ldr r5, [r4, #12] + 801b694: f8d9 2000 ldr.w r2, [r9] + 801b698: f003 0306 and.w r3, r3, #6 + 801b69c: 2b04 cmp r3, #4 + 801b69e: bf08 it eq + 801b6a0: 1aad subeq r5, r5, r2 + 801b6a2: 68a3 ldr r3, [r4, #8] + 801b6a4: 6922 ldr r2, [r4, #16] + 801b6a6: bf0c ite eq + 801b6a8: ea25 75e5 biceq.w r5, r5, r5, asr #31 + 801b6ac: 2500 movne r5, #0 + 801b6ae: 4293 cmp r3, r2 + 801b6b0: bfc4 itt gt + 801b6b2: 1a9b subgt r3, r3, r2 + 801b6b4: 18ed addgt r5, r5, r3 + 801b6b6: f04f 0900 mov.w r9, #0 + 801b6ba: 341a adds r4, #26 + 801b6bc: 454d cmp r5, r9 + 801b6be: d11a bne.n 801b6f6 <_printf_common+0xd6> + 801b6c0: 2000 movs r0, #0 + 801b6c2: e008 b.n 801b6d6 <_printf_common+0xb6> + 801b6c4: 2301 movs r3, #1 + 801b6c6: 4652 mov r2, sl + 801b6c8: 4639 mov r1, r7 + 801b6ca: 4630 mov r0, r6 + 801b6cc: 47c0 blx r8 + 801b6ce: 3001 adds r0, #1 + 801b6d0: d103 bne.n 801b6da <_printf_common+0xba> + 801b6d2: f04f 30ff mov.w r0, #4294967295 + 801b6d6: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 801b6da: 3501 adds r5, #1 + 801b6dc: e7c3 b.n 801b666 <_printf_common+0x46> + 801b6de: 18e1 adds r1, r4, r3 + 801b6e0: 1c5a adds r2, r3, #1 + 801b6e2: 2030 movs r0, #48 ; 0x30 + 801b6e4: f881 0043 strb.w r0, [r1, #67] ; 0x43 + 801b6e8: 4422 add r2, r4 + 801b6ea: f894 1045 ldrb.w r1, [r4, #69] ; 0x45 + 801b6ee: f882 1043 strb.w r1, [r2, #67] ; 0x43 + 801b6f2: 3302 adds r3, #2 + 801b6f4: e7c5 b.n 801b682 <_printf_common+0x62> + 801b6f6: 2301 movs r3, #1 + 801b6f8: 4622 mov r2, r4 + 801b6fa: 4639 mov r1, r7 + 801b6fc: 4630 mov r0, r6 + 801b6fe: 47c0 blx r8 + 801b700: 3001 adds r0, #1 + 801b702: d0e6 beq.n 801b6d2 <_printf_common+0xb2> + 801b704: f109 0901 add.w r9, r9, #1 + 801b708: e7d8 b.n 801b6bc <_printf_common+0x9c> ... -0801bb7c <_vfiprintf_r>: - 801bb7c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 801bb80: 460c mov r4, r1 - 801bb82: b09d sub sp, #116 ; 0x74 - 801bb84: 4617 mov r7, r2 - 801bb86: 461d mov r5, r3 - 801bb88: 4606 mov r6, r0 - 801bb8a: b118 cbz r0, 801bb94 <_vfiprintf_r+0x18> - 801bb8c: 6983 ldr r3, [r0, #24] - 801bb8e: b90b cbnz r3, 801bb94 <_vfiprintf_r+0x18> - 801bb90: f7ff fd3e bl 801b610 <__sinit> - 801bb94: 4b7c ldr r3, [pc, #496] ; (801bd88 <_vfiprintf_r+0x20c>) - 801bb96: 429c cmp r4, r3 - 801bb98: d158 bne.n 801bc4c <_vfiprintf_r+0xd0> - 801bb9a: 6874 ldr r4, [r6, #4] - 801bb9c: 89a3 ldrh r3, [r4, #12] - 801bb9e: 0718 lsls r0, r3, #28 - 801bba0: d55e bpl.n 801bc60 <_vfiprintf_r+0xe4> - 801bba2: 6923 ldr r3, [r4, #16] - 801bba4: 2b00 cmp r3, #0 - 801bba6: d05b beq.n 801bc60 <_vfiprintf_r+0xe4> - 801bba8: 2300 movs r3, #0 - 801bbaa: 9309 str r3, [sp, #36] ; 0x24 - 801bbac: 2320 movs r3, #32 - 801bbae: f88d 3029 strb.w r3, [sp, #41] ; 0x29 - 801bbb2: 2330 movs r3, #48 ; 0x30 - 801bbb4: f88d 302a strb.w r3, [sp, #42] ; 0x2a - 801bbb8: 9503 str r5, [sp, #12] - 801bbba: f04f 0b01 mov.w fp, #1 - 801bbbe: 46b8 mov r8, r7 - 801bbc0: 4645 mov r5, r8 - 801bbc2: f815 3b01 ldrb.w r3, [r5], #1 - 801bbc6: b10b cbz r3, 801bbcc <_vfiprintf_r+0x50> - 801bbc8: 2b25 cmp r3, #37 ; 0x25 - 801bbca: d154 bne.n 801bc76 <_vfiprintf_r+0xfa> - 801bbcc: ebb8 0a07 subs.w sl, r8, r7 - 801bbd0: d00b beq.n 801bbea <_vfiprintf_r+0x6e> - 801bbd2: 4653 mov r3, sl - 801bbd4: 463a mov r2, r7 - 801bbd6: 4621 mov r1, r4 - 801bbd8: 4630 mov r0, r6 - 801bbda: f7ff ffbc bl 801bb56 <__sfputs_r> - 801bbde: 3001 adds r0, #1 - 801bbe0: f000 80c2 beq.w 801bd68 <_vfiprintf_r+0x1ec> - 801bbe4: 9b09 ldr r3, [sp, #36] ; 0x24 - 801bbe6: 4453 add r3, sl - 801bbe8: 9309 str r3, [sp, #36] ; 0x24 - 801bbea: f898 3000 ldrb.w r3, [r8] - 801bbee: 2b00 cmp r3, #0 - 801bbf0: f000 80ba beq.w 801bd68 <_vfiprintf_r+0x1ec> - 801bbf4: 2300 movs r3, #0 - 801bbf6: f04f 32ff mov.w r2, #4294967295 - 801bbfa: e9cd 2305 strd r2, r3, [sp, #20] - 801bbfe: 9304 str r3, [sp, #16] - 801bc00: 9307 str r3, [sp, #28] - 801bc02: f88d 3053 strb.w r3, [sp, #83] ; 0x53 - 801bc06: 931a str r3, [sp, #104] ; 0x68 - 801bc08: 46a8 mov r8, r5 - 801bc0a: 2205 movs r2, #5 - 801bc0c: f818 1b01 ldrb.w r1, [r8], #1 - 801bc10: 485e ldr r0, [pc, #376] ; (801bd8c <_vfiprintf_r+0x210>) - 801bc12: f7e4 fafd bl 8000210 - 801bc16: 9b04 ldr r3, [sp, #16] - 801bc18: bb78 cbnz r0, 801bc7a <_vfiprintf_r+0xfe> - 801bc1a: 06d9 lsls r1, r3, #27 - 801bc1c: bf44 itt mi - 801bc1e: 2220 movmi r2, #32 - 801bc20: f88d 2053 strbmi.w r2, [sp, #83] ; 0x53 - 801bc24: 071a lsls r2, r3, #28 - 801bc26: bf44 itt mi - 801bc28: 222b movmi r2, #43 ; 0x2b - 801bc2a: f88d 2053 strbmi.w r2, [sp, #83] ; 0x53 - 801bc2e: 782a ldrb r2, [r5, #0] - 801bc30: 2a2a cmp r2, #42 ; 0x2a - 801bc32: d02a beq.n 801bc8a <_vfiprintf_r+0x10e> - 801bc34: 9a07 ldr r2, [sp, #28] - 801bc36: 46a8 mov r8, r5 - 801bc38: 2000 movs r0, #0 - 801bc3a: 250a movs r5, #10 - 801bc3c: 4641 mov r1, r8 - 801bc3e: f811 3b01 ldrb.w r3, [r1], #1 - 801bc42: 3b30 subs r3, #48 ; 0x30 - 801bc44: 2b09 cmp r3, #9 - 801bc46: d969 bls.n 801bd1c <_vfiprintf_r+0x1a0> - 801bc48: b360 cbz r0, 801bca4 <_vfiprintf_r+0x128> - 801bc4a: e024 b.n 801bc96 <_vfiprintf_r+0x11a> - 801bc4c: 4b50 ldr r3, [pc, #320] ; (801bd90 <_vfiprintf_r+0x214>) - 801bc4e: 429c cmp r4, r3 - 801bc50: d101 bne.n 801bc56 <_vfiprintf_r+0xda> - 801bc52: 68b4 ldr r4, [r6, #8] - 801bc54: e7a2 b.n 801bb9c <_vfiprintf_r+0x20> - 801bc56: 4b4f ldr r3, [pc, #316] ; (801bd94 <_vfiprintf_r+0x218>) - 801bc58: 429c cmp r4, r3 - 801bc5a: bf08 it eq - 801bc5c: 68f4 ldreq r4, [r6, #12] - 801bc5e: e79d b.n 801bb9c <_vfiprintf_r+0x20> - 801bc60: 4621 mov r1, r4 - 801bc62: 4630 mov r0, r6 - 801bc64: f000 fae0 bl 801c228 <__swsetup_r> - 801bc68: 2800 cmp r0, #0 - 801bc6a: d09d beq.n 801bba8 <_vfiprintf_r+0x2c> - 801bc6c: f04f 30ff mov.w r0, #4294967295 - 801bc70: b01d add sp, #116 ; 0x74 - 801bc72: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 801bc76: 46a8 mov r8, r5 - 801bc78: e7a2 b.n 801bbc0 <_vfiprintf_r+0x44> - 801bc7a: 4a44 ldr r2, [pc, #272] ; (801bd8c <_vfiprintf_r+0x210>) - 801bc7c: 1a80 subs r0, r0, r2 - 801bc7e: fa0b f000 lsl.w r0, fp, r0 - 801bc82: 4318 orrs r0, r3 - 801bc84: 9004 str r0, [sp, #16] - 801bc86: 4645 mov r5, r8 - 801bc88: e7be b.n 801bc08 <_vfiprintf_r+0x8c> - 801bc8a: 9a03 ldr r2, [sp, #12] - 801bc8c: 1d11 adds r1, r2, #4 - 801bc8e: 6812 ldr r2, [r2, #0] - 801bc90: 9103 str r1, [sp, #12] - 801bc92: 2a00 cmp r2, #0 - 801bc94: db01 blt.n 801bc9a <_vfiprintf_r+0x11e> - 801bc96: 9207 str r2, [sp, #28] - 801bc98: e004 b.n 801bca4 <_vfiprintf_r+0x128> - 801bc9a: 4252 negs r2, r2 - 801bc9c: f043 0302 orr.w r3, r3, #2 - 801bca0: 9207 str r2, [sp, #28] - 801bca2: 9304 str r3, [sp, #16] - 801bca4: f898 3000 ldrb.w r3, [r8] - 801bca8: 2b2e cmp r3, #46 ; 0x2e - 801bcaa: d10e bne.n 801bcca <_vfiprintf_r+0x14e> - 801bcac: f898 3001 ldrb.w r3, [r8, #1] - 801bcb0: 2b2a cmp r3, #42 ; 0x2a - 801bcb2: d138 bne.n 801bd26 <_vfiprintf_r+0x1aa> - 801bcb4: 9b03 ldr r3, [sp, #12] - 801bcb6: 1d1a adds r2, r3, #4 - 801bcb8: 681b ldr r3, [r3, #0] - 801bcba: 9203 str r2, [sp, #12] - 801bcbc: 2b00 cmp r3, #0 - 801bcbe: bfb8 it lt - 801bcc0: f04f 33ff movlt.w r3, #4294967295 - 801bcc4: f108 0802 add.w r8, r8, #2 - 801bcc8: 9305 str r3, [sp, #20] - 801bcca: 4d33 ldr r5, [pc, #204] ; (801bd98 <_vfiprintf_r+0x21c>) - 801bccc: f898 1000 ldrb.w r1, [r8] - 801bcd0: 2203 movs r2, #3 - 801bcd2: 4628 mov r0, r5 - 801bcd4: f7e4 fa9c bl 8000210 - 801bcd8: b140 cbz r0, 801bcec <_vfiprintf_r+0x170> - 801bcda: 2340 movs r3, #64 ; 0x40 - 801bcdc: 1b40 subs r0, r0, r5 - 801bcde: fa03 f000 lsl.w r0, r3, r0 - 801bce2: 9b04 ldr r3, [sp, #16] - 801bce4: 4303 orrs r3, r0 - 801bce6: f108 0801 add.w r8, r8, #1 - 801bcea: 9304 str r3, [sp, #16] - 801bcec: f898 1000 ldrb.w r1, [r8] - 801bcf0: 482a ldr r0, [pc, #168] ; (801bd9c <_vfiprintf_r+0x220>) - 801bcf2: f88d 1028 strb.w r1, [sp, #40] ; 0x28 - 801bcf6: 2206 movs r2, #6 - 801bcf8: f108 0701 add.w r7, r8, #1 - 801bcfc: f7e4 fa88 bl 8000210 - 801bd00: 2800 cmp r0, #0 - 801bd02: d037 beq.n 801bd74 <_vfiprintf_r+0x1f8> - 801bd04: 4b26 ldr r3, [pc, #152] ; (801bda0 <_vfiprintf_r+0x224>) - 801bd06: bb1b cbnz r3, 801bd50 <_vfiprintf_r+0x1d4> - 801bd08: 9b03 ldr r3, [sp, #12] - 801bd0a: 3307 adds r3, #7 - 801bd0c: f023 0307 bic.w r3, r3, #7 - 801bd10: 3308 adds r3, #8 - 801bd12: 9303 str r3, [sp, #12] - 801bd14: 9b09 ldr r3, [sp, #36] ; 0x24 - 801bd16: 444b add r3, r9 - 801bd18: 9309 str r3, [sp, #36] ; 0x24 - 801bd1a: e750 b.n 801bbbe <_vfiprintf_r+0x42> - 801bd1c: fb05 3202 mla r2, r5, r2, r3 - 801bd20: 2001 movs r0, #1 - 801bd22: 4688 mov r8, r1 - 801bd24: e78a b.n 801bc3c <_vfiprintf_r+0xc0> - 801bd26: 2300 movs r3, #0 - 801bd28: f108 0801 add.w r8, r8, #1 - 801bd2c: 9305 str r3, [sp, #20] - 801bd2e: 4619 mov r1, r3 - 801bd30: 250a movs r5, #10 - 801bd32: 4640 mov r0, r8 - 801bd34: f810 2b01 ldrb.w r2, [r0], #1 - 801bd38: 3a30 subs r2, #48 ; 0x30 - 801bd3a: 2a09 cmp r2, #9 - 801bd3c: d903 bls.n 801bd46 <_vfiprintf_r+0x1ca> - 801bd3e: 2b00 cmp r3, #0 - 801bd40: d0c3 beq.n 801bcca <_vfiprintf_r+0x14e> - 801bd42: 9105 str r1, [sp, #20] - 801bd44: e7c1 b.n 801bcca <_vfiprintf_r+0x14e> - 801bd46: fb05 2101 mla r1, r5, r1, r2 - 801bd4a: 2301 movs r3, #1 - 801bd4c: 4680 mov r8, r0 - 801bd4e: e7f0 b.n 801bd32 <_vfiprintf_r+0x1b6> - 801bd50: ab03 add r3, sp, #12 - 801bd52: 9300 str r3, [sp, #0] - 801bd54: 4622 mov r2, r4 - 801bd56: 4b13 ldr r3, [pc, #76] ; (801bda4 <_vfiprintf_r+0x228>) - 801bd58: a904 add r1, sp, #16 - 801bd5a: 4630 mov r0, r6 - 801bd5c: f3af 8000 nop.w - 801bd60: f1b0 3fff cmp.w r0, #4294967295 - 801bd64: 4681 mov r9, r0 - 801bd66: d1d5 bne.n 801bd14 <_vfiprintf_r+0x198> - 801bd68: 89a3 ldrh r3, [r4, #12] - 801bd6a: 065b lsls r3, r3, #25 - 801bd6c: f53f af7e bmi.w 801bc6c <_vfiprintf_r+0xf0> - 801bd70: 9809 ldr r0, [sp, #36] ; 0x24 - 801bd72: e77d b.n 801bc70 <_vfiprintf_r+0xf4> - 801bd74: ab03 add r3, sp, #12 - 801bd76: 9300 str r3, [sp, #0] - 801bd78: 4622 mov r2, r4 - 801bd7a: 4b0a ldr r3, [pc, #40] ; (801bda4 <_vfiprintf_r+0x228>) - 801bd7c: a904 add r1, sp, #16 - 801bd7e: 4630 mov r0, r6 - 801bd80: f000 f888 bl 801be94 <_printf_i> - 801bd84: e7ec b.n 801bd60 <_vfiprintf_r+0x1e4> - 801bd86: bf00 nop - 801bd88: 080216b0 .word 0x080216b0 - 801bd8c: 080216f0 .word 0x080216f0 - 801bd90: 080216d0 .word 0x080216d0 - 801bd94: 08021690 .word 0x08021690 - 801bd98: 080216f6 .word 0x080216f6 - 801bd9c: 080216fa .word 0x080216fa - 801bda0: 00000000 .word 0x00000000 - 801bda4: 0801bb57 .word 0x0801bb57 +0801b70c <_printf_i>: + 801b70c: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 801b710: f101 0c43 add.w ip, r1, #67 ; 0x43 + 801b714: 460c mov r4, r1 + 801b716: 7e09 ldrb r1, [r1, #24] + 801b718: b085 sub sp, #20 + 801b71a: 296e cmp r1, #110 ; 0x6e + 801b71c: 4617 mov r7, r2 + 801b71e: 4606 mov r6, r0 + 801b720: 4698 mov r8, r3 + 801b722: 9a0c ldr r2, [sp, #48] ; 0x30 + 801b724: f000 80b3 beq.w 801b88e <_printf_i+0x182> + 801b728: d822 bhi.n 801b770 <_printf_i+0x64> + 801b72a: 2963 cmp r1, #99 ; 0x63 + 801b72c: d036 beq.n 801b79c <_printf_i+0x90> + 801b72e: d80a bhi.n 801b746 <_printf_i+0x3a> + 801b730: 2900 cmp r1, #0 + 801b732: f000 80b9 beq.w 801b8a8 <_printf_i+0x19c> + 801b736: 2958 cmp r1, #88 ; 0x58 + 801b738: f000 8083 beq.w 801b842 <_printf_i+0x136> + 801b73c: f104 0542 add.w r5, r4, #66 ; 0x42 + 801b740: f884 1042 strb.w r1, [r4, #66] ; 0x42 + 801b744: e032 b.n 801b7ac <_printf_i+0xa0> + 801b746: 2964 cmp r1, #100 ; 0x64 + 801b748: d001 beq.n 801b74e <_printf_i+0x42> + 801b74a: 2969 cmp r1, #105 ; 0x69 + 801b74c: d1f6 bne.n 801b73c <_printf_i+0x30> + 801b74e: 6820 ldr r0, [r4, #0] + 801b750: 6813 ldr r3, [r2, #0] + 801b752: 0605 lsls r5, r0, #24 + 801b754: f103 0104 add.w r1, r3, #4 + 801b758: d52a bpl.n 801b7b0 <_printf_i+0xa4> + 801b75a: 681b ldr r3, [r3, #0] + 801b75c: 6011 str r1, [r2, #0] + 801b75e: 2b00 cmp r3, #0 + 801b760: da03 bge.n 801b76a <_printf_i+0x5e> + 801b762: 222d movs r2, #45 ; 0x2d + 801b764: 425b negs r3, r3 + 801b766: f884 2043 strb.w r2, [r4, #67] ; 0x43 + 801b76a: 486f ldr r0, [pc, #444] ; (801b928 <_printf_i+0x21c>) + 801b76c: 220a movs r2, #10 + 801b76e: e039 b.n 801b7e4 <_printf_i+0xd8> + 801b770: 2973 cmp r1, #115 ; 0x73 + 801b772: f000 809d beq.w 801b8b0 <_printf_i+0x1a4> + 801b776: d808 bhi.n 801b78a <_printf_i+0x7e> + 801b778: 296f cmp r1, #111 ; 0x6f + 801b77a: d020 beq.n 801b7be <_printf_i+0xb2> + 801b77c: 2970 cmp r1, #112 ; 0x70 + 801b77e: d1dd bne.n 801b73c <_printf_i+0x30> + 801b780: 6823 ldr r3, [r4, #0] + 801b782: f043 0320 orr.w r3, r3, #32 + 801b786: 6023 str r3, [r4, #0] + 801b788: e003 b.n 801b792 <_printf_i+0x86> + 801b78a: 2975 cmp r1, #117 ; 0x75 + 801b78c: d017 beq.n 801b7be <_printf_i+0xb2> + 801b78e: 2978 cmp r1, #120 ; 0x78 + 801b790: d1d4 bne.n 801b73c <_printf_i+0x30> + 801b792: 2378 movs r3, #120 ; 0x78 + 801b794: f884 3045 strb.w r3, [r4, #69] ; 0x45 + 801b798: 4864 ldr r0, [pc, #400] ; (801b92c <_printf_i+0x220>) + 801b79a: e055 b.n 801b848 <_printf_i+0x13c> + 801b79c: 6813 ldr r3, [r2, #0] + 801b79e: 1d19 adds r1, r3, #4 + 801b7a0: 681b ldr r3, [r3, #0] + 801b7a2: 6011 str r1, [r2, #0] + 801b7a4: f104 0542 add.w r5, r4, #66 ; 0x42 + 801b7a8: f884 3042 strb.w r3, [r4, #66] ; 0x42 + 801b7ac: 2301 movs r3, #1 + 801b7ae: e08c b.n 801b8ca <_printf_i+0x1be> + 801b7b0: 681b ldr r3, [r3, #0] + 801b7b2: 6011 str r1, [r2, #0] + 801b7b4: f010 0f40 tst.w r0, #64 ; 0x40 + 801b7b8: bf18 it ne + 801b7ba: b21b sxthne r3, r3 + 801b7bc: e7cf b.n 801b75e <_printf_i+0x52> + 801b7be: 6813 ldr r3, [r2, #0] + 801b7c0: 6825 ldr r5, [r4, #0] + 801b7c2: 1d18 adds r0, r3, #4 + 801b7c4: 6010 str r0, [r2, #0] + 801b7c6: 0628 lsls r0, r5, #24 + 801b7c8: d501 bpl.n 801b7ce <_printf_i+0xc2> + 801b7ca: 681b ldr r3, [r3, #0] + 801b7cc: e002 b.n 801b7d4 <_printf_i+0xc8> + 801b7ce: 0668 lsls r0, r5, #25 + 801b7d0: d5fb bpl.n 801b7ca <_printf_i+0xbe> + 801b7d2: 881b ldrh r3, [r3, #0] + 801b7d4: 4854 ldr r0, [pc, #336] ; (801b928 <_printf_i+0x21c>) + 801b7d6: 296f cmp r1, #111 ; 0x6f + 801b7d8: bf14 ite ne + 801b7da: 220a movne r2, #10 + 801b7dc: 2208 moveq r2, #8 + 801b7de: 2100 movs r1, #0 + 801b7e0: f884 1043 strb.w r1, [r4, #67] ; 0x43 + 801b7e4: 6865 ldr r5, [r4, #4] + 801b7e6: 60a5 str r5, [r4, #8] + 801b7e8: 2d00 cmp r5, #0 + 801b7ea: f2c0 8095 blt.w 801b918 <_printf_i+0x20c> + 801b7ee: 6821 ldr r1, [r4, #0] + 801b7f0: f021 0104 bic.w r1, r1, #4 + 801b7f4: 6021 str r1, [r4, #0] + 801b7f6: 2b00 cmp r3, #0 + 801b7f8: d13d bne.n 801b876 <_printf_i+0x16a> + 801b7fa: 2d00 cmp r5, #0 + 801b7fc: f040 808e bne.w 801b91c <_printf_i+0x210> + 801b800: 4665 mov r5, ip + 801b802: 2a08 cmp r2, #8 + 801b804: d10b bne.n 801b81e <_printf_i+0x112> + 801b806: 6823 ldr r3, [r4, #0] + 801b808: 07db lsls r3, r3, #31 + 801b80a: d508 bpl.n 801b81e <_printf_i+0x112> + 801b80c: 6923 ldr r3, [r4, #16] + 801b80e: 6862 ldr r2, [r4, #4] + 801b810: 429a cmp r2, r3 + 801b812: bfde ittt le + 801b814: 2330 movle r3, #48 ; 0x30 + 801b816: f805 3c01 strble.w r3, [r5, #-1] + 801b81a: f105 35ff addle.w r5, r5, #4294967295 + 801b81e: ebac 0305 sub.w r3, ip, r5 + 801b822: 6123 str r3, [r4, #16] + 801b824: f8cd 8000 str.w r8, [sp] + 801b828: 463b mov r3, r7 + 801b82a: aa03 add r2, sp, #12 + 801b82c: 4621 mov r1, r4 + 801b82e: 4630 mov r0, r6 + 801b830: f7ff fef6 bl 801b620 <_printf_common> + 801b834: 3001 adds r0, #1 + 801b836: d14d bne.n 801b8d4 <_printf_i+0x1c8> + 801b838: f04f 30ff mov.w r0, #4294967295 + 801b83c: b005 add sp, #20 + 801b83e: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 801b842: 4839 ldr r0, [pc, #228] ; (801b928 <_printf_i+0x21c>) + 801b844: f884 1045 strb.w r1, [r4, #69] ; 0x45 + 801b848: 6813 ldr r3, [r2, #0] + 801b84a: 6821 ldr r1, [r4, #0] + 801b84c: 1d1d adds r5, r3, #4 + 801b84e: 681b ldr r3, [r3, #0] + 801b850: 6015 str r5, [r2, #0] + 801b852: 060a lsls r2, r1, #24 + 801b854: d50b bpl.n 801b86e <_printf_i+0x162> + 801b856: 07ca lsls r2, r1, #31 + 801b858: bf44 itt mi + 801b85a: f041 0120 orrmi.w r1, r1, #32 + 801b85e: 6021 strmi r1, [r4, #0] + 801b860: b91b cbnz r3, 801b86a <_printf_i+0x15e> + 801b862: 6822 ldr r2, [r4, #0] + 801b864: f022 0220 bic.w r2, r2, #32 + 801b868: 6022 str r2, [r4, #0] + 801b86a: 2210 movs r2, #16 + 801b86c: e7b7 b.n 801b7de <_printf_i+0xd2> + 801b86e: 064d lsls r5, r1, #25 + 801b870: bf48 it mi + 801b872: b29b uxthmi r3, r3 + 801b874: e7ef b.n 801b856 <_printf_i+0x14a> + 801b876: 4665 mov r5, ip + 801b878: fbb3 f1f2 udiv r1, r3, r2 + 801b87c: fb02 3311 mls r3, r2, r1, r3 + 801b880: 5cc3 ldrb r3, [r0, r3] + 801b882: f805 3d01 strb.w r3, [r5, #-1]! + 801b886: 460b mov r3, r1 + 801b888: 2900 cmp r1, #0 + 801b88a: d1f5 bne.n 801b878 <_printf_i+0x16c> + 801b88c: e7b9 b.n 801b802 <_printf_i+0xf6> + 801b88e: 6813 ldr r3, [r2, #0] + 801b890: 6825 ldr r5, [r4, #0] + 801b892: 6961 ldr r1, [r4, #20] + 801b894: 1d18 adds r0, r3, #4 + 801b896: 6010 str r0, [r2, #0] + 801b898: 0628 lsls r0, r5, #24 + 801b89a: 681b ldr r3, [r3, #0] + 801b89c: d501 bpl.n 801b8a2 <_printf_i+0x196> + 801b89e: 6019 str r1, [r3, #0] + 801b8a0: e002 b.n 801b8a8 <_printf_i+0x19c> + 801b8a2: 066a lsls r2, r5, #25 + 801b8a4: d5fb bpl.n 801b89e <_printf_i+0x192> + 801b8a6: 8019 strh r1, [r3, #0] + 801b8a8: 2300 movs r3, #0 + 801b8aa: 6123 str r3, [r4, #16] + 801b8ac: 4665 mov r5, ip + 801b8ae: e7b9 b.n 801b824 <_printf_i+0x118> + 801b8b0: 6813 ldr r3, [r2, #0] + 801b8b2: 1d19 adds r1, r3, #4 + 801b8b4: 6011 str r1, [r2, #0] + 801b8b6: 681d ldr r5, [r3, #0] + 801b8b8: 6862 ldr r2, [r4, #4] + 801b8ba: 2100 movs r1, #0 + 801b8bc: 4628 mov r0, r5 + 801b8be: f7e4 fca7 bl 8000210 + 801b8c2: b108 cbz r0, 801b8c8 <_printf_i+0x1bc> + 801b8c4: 1b40 subs r0, r0, r5 + 801b8c6: 6060 str r0, [r4, #4] + 801b8c8: 6863 ldr r3, [r4, #4] + 801b8ca: 6123 str r3, [r4, #16] + 801b8cc: 2300 movs r3, #0 + 801b8ce: f884 3043 strb.w r3, [r4, #67] ; 0x43 + 801b8d2: e7a7 b.n 801b824 <_printf_i+0x118> + 801b8d4: 6923 ldr r3, [r4, #16] + 801b8d6: 462a mov r2, r5 + 801b8d8: 4639 mov r1, r7 + 801b8da: 4630 mov r0, r6 + 801b8dc: 47c0 blx r8 + 801b8de: 3001 adds r0, #1 + 801b8e0: d0aa beq.n 801b838 <_printf_i+0x12c> + 801b8e2: 6823 ldr r3, [r4, #0] + 801b8e4: 079b lsls r3, r3, #30 + 801b8e6: d413 bmi.n 801b910 <_printf_i+0x204> + 801b8e8: 68e0 ldr r0, [r4, #12] + 801b8ea: 9b03 ldr r3, [sp, #12] + 801b8ec: 4298 cmp r0, r3 + 801b8ee: bfb8 it lt + 801b8f0: 4618 movlt r0, r3 + 801b8f2: e7a3 b.n 801b83c <_printf_i+0x130> + 801b8f4: 2301 movs r3, #1 + 801b8f6: 464a mov r2, r9 + 801b8f8: 4639 mov r1, r7 + 801b8fa: 4630 mov r0, r6 + 801b8fc: 47c0 blx r8 + 801b8fe: 3001 adds r0, #1 + 801b900: d09a beq.n 801b838 <_printf_i+0x12c> + 801b902: 3501 adds r5, #1 + 801b904: 68e3 ldr r3, [r4, #12] + 801b906: 9a03 ldr r2, [sp, #12] + 801b908: 1a9b subs r3, r3, r2 + 801b90a: 42ab cmp r3, r5 + 801b90c: dcf2 bgt.n 801b8f4 <_printf_i+0x1e8> + 801b90e: e7eb b.n 801b8e8 <_printf_i+0x1dc> + 801b910: 2500 movs r5, #0 + 801b912: f104 0919 add.w r9, r4, #25 + 801b916: e7f5 b.n 801b904 <_printf_i+0x1f8> + 801b918: 2b00 cmp r3, #0 + 801b91a: d1ac bne.n 801b876 <_printf_i+0x16a> + 801b91c: 7803 ldrb r3, [r0, #0] + 801b91e: f884 3042 strb.w r3, [r4, #66] ; 0x42 + 801b922: f104 0542 add.w r5, r4, #66 ; 0x42 + 801b926: e76c b.n 801b802 <_printf_i+0xf6> + 801b928: 08020efd .word 0x08020efd + 801b92c: 08020f0e .word 0x08020f0e -0801bda8 <_printf_common>: - 801bda8: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 801bdac: 4691 mov r9, r2 - 801bdae: 461f mov r7, r3 - 801bdb0: 688a ldr r2, [r1, #8] - 801bdb2: 690b ldr r3, [r1, #16] - 801bdb4: f8dd 8020 ldr.w r8, [sp, #32] - 801bdb8: 4293 cmp r3, r2 - 801bdba: bfb8 it lt - 801bdbc: 4613 movlt r3, r2 - 801bdbe: f8c9 3000 str.w r3, [r9] - 801bdc2: f891 2043 ldrb.w r2, [r1, #67] ; 0x43 - 801bdc6: 4606 mov r6, r0 - 801bdc8: 460c mov r4, r1 - 801bdca: b112 cbz r2, 801bdd2 <_printf_common+0x2a> - 801bdcc: 3301 adds r3, #1 - 801bdce: f8c9 3000 str.w r3, [r9] - 801bdd2: 6823 ldr r3, [r4, #0] - 801bdd4: 0699 lsls r1, r3, #26 - 801bdd6: bf42 ittt mi - 801bdd8: f8d9 3000 ldrmi.w r3, [r9] - 801bddc: 3302 addmi r3, #2 - 801bdde: f8c9 3000 strmi.w r3, [r9] - 801bde2: 6825 ldr r5, [r4, #0] - 801bde4: f015 0506 ands.w r5, r5, #6 - 801bde8: d107 bne.n 801bdfa <_printf_common+0x52> - 801bdea: f104 0a19 add.w sl, r4, #25 - 801bdee: 68e3 ldr r3, [r4, #12] - 801bdf0: f8d9 2000 ldr.w r2, [r9] - 801bdf4: 1a9b subs r3, r3, r2 - 801bdf6: 42ab cmp r3, r5 - 801bdf8: dc28 bgt.n 801be4c <_printf_common+0xa4> - 801bdfa: f894 3043 ldrb.w r3, [r4, #67] ; 0x43 - 801bdfe: 6822 ldr r2, [r4, #0] - 801be00: 3300 adds r3, #0 - 801be02: bf18 it ne - 801be04: 2301 movne r3, #1 - 801be06: 0692 lsls r2, r2, #26 - 801be08: d42d bmi.n 801be66 <_printf_common+0xbe> - 801be0a: f104 0243 add.w r2, r4, #67 ; 0x43 - 801be0e: 4639 mov r1, r7 - 801be10: 4630 mov r0, r6 - 801be12: 47c0 blx r8 - 801be14: 3001 adds r0, #1 - 801be16: d020 beq.n 801be5a <_printf_common+0xb2> - 801be18: 6823 ldr r3, [r4, #0] - 801be1a: 68e5 ldr r5, [r4, #12] - 801be1c: f8d9 2000 ldr.w r2, [r9] - 801be20: f003 0306 and.w r3, r3, #6 - 801be24: 2b04 cmp r3, #4 - 801be26: bf08 it eq - 801be28: 1aad subeq r5, r5, r2 - 801be2a: 68a3 ldr r3, [r4, #8] - 801be2c: 6922 ldr r2, [r4, #16] - 801be2e: bf0c ite eq - 801be30: ea25 75e5 biceq.w r5, r5, r5, asr #31 - 801be34: 2500 movne r5, #0 - 801be36: 4293 cmp r3, r2 - 801be38: bfc4 itt gt - 801be3a: 1a9b subgt r3, r3, r2 - 801be3c: 18ed addgt r5, r5, r3 - 801be3e: f04f 0900 mov.w r9, #0 - 801be42: 341a adds r4, #26 - 801be44: 454d cmp r5, r9 - 801be46: d11a bne.n 801be7e <_printf_common+0xd6> - 801be48: 2000 movs r0, #0 - 801be4a: e008 b.n 801be5e <_printf_common+0xb6> - 801be4c: 2301 movs r3, #1 - 801be4e: 4652 mov r2, sl - 801be50: 4639 mov r1, r7 - 801be52: 4630 mov r0, r6 - 801be54: 47c0 blx r8 - 801be56: 3001 adds r0, #1 - 801be58: d103 bne.n 801be62 <_printf_common+0xba> - 801be5a: f04f 30ff mov.w r0, #4294967295 - 801be5e: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 801be62: 3501 adds r5, #1 - 801be64: e7c3 b.n 801bdee <_printf_common+0x46> - 801be66: 18e1 adds r1, r4, r3 - 801be68: 1c5a adds r2, r3, #1 - 801be6a: 2030 movs r0, #48 ; 0x30 - 801be6c: f881 0043 strb.w r0, [r1, #67] ; 0x43 - 801be70: 4422 add r2, r4 - 801be72: f894 1045 ldrb.w r1, [r4, #69] ; 0x45 - 801be76: f882 1043 strb.w r1, [r2, #67] ; 0x43 - 801be7a: 3302 adds r3, #2 - 801be7c: e7c5 b.n 801be0a <_printf_common+0x62> - 801be7e: 2301 movs r3, #1 - 801be80: 4622 mov r2, r4 - 801be82: 4639 mov r1, r7 - 801be84: 4630 mov r0, r6 - 801be86: 47c0 blx r8 - 801be88: 3001 adds r0, #1 - 801be8a: d0e6 beq.n 801be5a <_printf_common+0xb2> - 801be8c: f109 0901 add.w r9, r9, #1 - 801be90: e7d8 b.n 801be44 <_printf_common+0x9c> +0801b930 <_sbrk_r>: + 801b930: b538 push {r3, r4, r5, lr} + 801b932: 4c06 ldr r4, [pc, #24] ; (801b94c <_sbrk_r+0x1c>) + 801b934: 2300 movs r3, #0 + 801b936: 4605 mov r5, r0 + 801b938: 4608 mov r0, r1 + 801b93a: 6023 str r3, [r4, #0] + 801b93c: f7e8 ff94 bl 8004868 <_sbrk> + 801b940: 1c43 adds r3, r0, #1 + 801b942: d102 bne.n 801b94a <_sbrk_r+0x1a> + 801b944: 6823 ldr r3, [r4, #0] + 801b946: b103 cbz r3, 801b94a <_sbrk_r+0x1a> + 801b948: 602b str r3, [r5, #0] + 801b94a: bd38 pop {r3, r4, r5, pc} + 801b94c: 2000f604 .word 0x2000f604 + +0801b950 <__sread>: + 801b950: b510 push {r4, lr} + 801b952: 460c mov r4, r1 + 801b954: f9b1 100e ldrsh.w r1, [r1, #14] + 801b958: f000 fa48 bl 801bdec <_read_r> + 801b95c: 2800 cmp r0, #0 + 801b95e: bfab itete ge + 801b960: 6d63 ldrge r3, [r4, #84] ; 0x54 + 801b962: 89a3 ldrhlt r3, [r4, #12] + 801b964: 181b addge r3, r3, r0 + 801b966: f423 5380 biclt.w r3, r3, #4096 ; 0x1000 + 801b96a: bfac ite ge + 801b96c: 6563 strge r3, [r4, #84] ; 0x54 + 801b96e: 81a3 strhlt r3, [r4, #12] + 801b970: bd10 pop {r4, pc} + +0801b972 <__swrite>: + 801b972: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 801b976: 461f mov r7, r3 + 801b978: 898b ldrh r3, [r1, #12] + 801b97a: 05db lsls r3, r3, #23 + 801b97c: 4605 mov r5, r0 + 801b97e: 460c mov r4, r1 + 801b980: 4616 mov r6, r2 + 801b982: d505 bpl.n 801b990 <__swrite+0x1e> + 801b984: 2302 movs r3, #2 + 801b986: 2200 movs r2, #0 + 801b988: f9b1 100e ldrsh.w r1, [r1, #14] + 801b98c: f000 f9b6 bl 801bcfc <_lseek_r> + 801b990: 89a3 ldrh r3, [r4, #12] + 801b992: f9b4 100e ldrsh.w r1, [r4, #14] + 801b996: f423 5380 bic.w r3, r3, #4096 ; 0x1000 + 801b99a: 81a3 strh r3, [r4, #12] + 801b99c: 4632 mov r2, r6 + 801b99e: 463b mov r3, r7 + 801b9a0: 4628 mov r0, r5 + 801b9a2: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 801b9a6: f000 b869 b.w 801ba7c <_write_r> + +0801b9aa <__sseek>: + 801b9aa: b510 push {r4, lr} + 801b9ac: 460c mov r4, r1 + 801b9ae: f9b1 100e ldrsh.w r1, [r1, #14] + 801b9b2: f000 f9a3 bl 801bcfc <_lseek_r> + 801b9b6: 1c43 adds r3, r0, #1 + 801b9b8: 89a3 ldrh r3, [r4, #12] + 801b9ba: bf15 itete ne + 801b9bc: 6560 strne r0, [r4, #84] ; 0x54 + 801b9be: f423 5380 biceq.w r3, r3, #4096 ; 0x1000 + 801b9c2: f443 5380 orrne.w r3, r3, #4096 ; 0x1000 + 801b9c6: 81a3 strheq r3, [r4, #12] + 801b9c8: bf18 it ne + 801b9ca: 81a3 strhne r3, [r4, #12] + 801b9cc: bd10 pop {r4, pc} + +0801b9ce <__sclose>: + 801b9ce: f9b1 100e ldrsh.w r1, [r1, #14] + 801b9d2: f000 b8d3 b.w 801bb7c <_close_r> ... -0801be94 <_printf_i>: - 801be94: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 801be98: f101 0c43 add.w ip, r1, #67 ; 0x43 - 801be9c: 460c mov r4, r1 - 801be9e: 7e09 ldrb r1, [r1, #24] - 801bea0: b085 sub sp, #20 - 801bea2: 296e cmp r1, #110 ; 0x6e - 801bea4: 4617 mov r7, r2 - 801bea6: 4606 mov r6, r0 - 801bea8: 4698 mov r8, r3 - 801beaa: 9a0c ldr r2, [sp, #48] ; 0x30 - 801beac: f000 80b3 beq.w 801c016 <_printf_i+0x182> - 801beb0: d822 bhi.n 801bef8 <_printf_i+0x64> - 801beb2: 2963 cmp r1, #99 ; 0x63 - 801beb4: d036 beq.n 801bf24 <_printf_i+0x90> - 801beb6: d80a bhi.n 801bece <_printf_i+0x3a> - 801beb8: 2900 cmp r1, #0 - 801beba: f000 80b9 beq.w 801c030 <_printf_i+0x19c> - 801bebe: 2958 cmp r1, #88 ; 0x58 - 801bec0: f000 8083 beq.w 801bfca <_printf_i+0x136> - 801bec4: f104 0542 add.w r5, r4, #66 ; 0x42 - 801bec8: f884 1042 strb.w r1, [r4, #66] ; 0x42 - 801becc: e032 b.n 801bf34 <_printf_i+0xa0> - 801bece: 2964 cmp r1, #100 ; 0x64 - 801bed0: d001 beq.n 801bed6 <_printf_i+0x42> - 801bed2: 2969 cmp r1, #105 ; 0x69 - 801bed4: d1f6 bne.n 801bec4 <_printf_i+0x30> - 801bed6: 6820 ldr r0, [r4, #0] - 801bed8: 6813 ldr r3, [r2, #0] - 801beda: 0605 lsls r5, r0, #24 - 801bedc: f103 0104 add.w r1, r3, #4 - 801bee0: d52a bpl.n 801bf38 <_printf_i+0xa4> - 801bee2: 681b ldr r3, [r3, #0] - 801bee4: 6011 str r1, [r2, #0] - 801bee6: 2b00 cmp r3, #0 - 801bee8: da03 bge.n 801bef2 <_printf_i+0x5e> - 801beea: 222d movs r2, #45 ; 0x2d - 801beec: 425b negs r3, r3 - 801beee: f884 2043 strb.w r2, [r4, #67] ; 0x43 - 801bef2: 486f ldr r0, [pc, #444] ; (801c0b0 <_printf_i+0x21c>) - 801bef4: 220a movs r2, #10 - 801bef6: e039 b.n 801bf6c <_printf_i+0xd8> - 801bef8: 2973 cmp r1, #115 ; 0x73 - 801befa: f000 809d beq.w 801c038 <_printf_i+0x1a4> - 801befe: d808 bhi.n 801bf12 <_printf_i+0x7e> - 801bf00: 296f cmp r1, #111 ; 0x6f - 801bf02: d020 beq.n 801bf46 <_printf_i+0xb2> - 801bf04: 2970 cmp r1, #112 ; 0x70 - 801bf06: d1dd bne.n 801bec4 <_printf_i+0x30> - 801bf08: 6823 ldr r3, [r4, #0] - 801bf0a: f043 0320 orr.w r3, r3, #32 - 801bf0e: 6023 str r3, [r4, #0] - 801bf10: e003 b.n 801bf1a <_printf_i+0x86> - 801bf12: 2975 cmp r1, #117 ; 0x75 - 801bf14: d017 beq.n 801bf46 <_printf_i+0xb2> - 801bf16: 2978 cmp r1, #120 ; 0x78 - 801bf18: d1d4 bne.n 801bec4 <_printf_i+0x30> - 801bf1a: 2378 movs r3, #120 ; 0x78 - 801bf1c: f884 3045 strb.w r3, [r4, #69] ; 0x45 - 801bf20: 4864 ldr r0, [pc, #400] ; (801c0b4 <_printf_i+0x220>) - 801bf22: e055 b.n 801bfd0 <_printf_i+0x13c> - 801bf24: 6813 ldr r3, [r2, #0] - 801bf26: 1d19 adds r1, r3, #4 - 801bf28: 681b ldr r3, [r3, #0] - 801bf2a: 6011 str r1, [r2, #0] - 801bf2c: f104 0542 add.w r5, r4, #66 ; 0x42 - 801bf30: f884 3042 strb.w r3, [r4, #66] ; 0x42 - 801bf34: 2301 movs r3, #1 - 801bf36: e08c b.n 801c052 <_printf_i+0x1be> - 801bf38: 681b ldr r3, [r3, #0] - 801bf3a: 6011 str r1, [r2, #0] - 801bf3c: f010 0f40 tst.w r0, #64 ; 0x40 - 801bf40: bf18 it ne - 801bf42: b21b sxthne r3, r3 - 801bf44: e7cf b.n 801bee6 <_printf_i+0x52> - 801bf46: 6813 ldr r3, [r2, #0] - 801bf48: 6825 ldr r5, [r4, #0] - 801bf4a: 1d18 adds r0, r3, #4 - 801bf4c: 6010 str r0, [r2, #0] - 801bf4e: 0628 lsls r0, r5, #24 - 801bf50: d501 bpl.n 801bf56 <_printf_i+0xc2> - 801bf52: 681b ldr r3, [r3, #0] - 801bf54: e002 b.n 801bf5c <_printf_i+0xc8> - 801bf56: 0668 lsls r0, r5, #25 - 801bf58: d5fb bpl.n 801bf52 <_printf_i+0xbe> - 801bf5a: 881b ldrh r3, [r3, #0] - 801bf5c: 4854 ldr r0, [pc, #336] ; (801c0b0 <_printf_i+0x21c>) - 801bf5e: 296f cmp r1, #111 ; 0x6f - 801bf60: bf14 ite ne - 801bf62: 220a movne r2, #10 - 801bf64: 2208 moveq r2, #8 - 801bf66: 2100 movs r1, #0 - 801bf68: f884 1043 strb.w r1, [r4, #67] ; 0x43 - 801bf6c: 6865 ldr r5, [r4, #4] - 801bf6e: 60a5 str r5, [r4, #8] - 801bf70: 2d00 cmp r5, #0 - 801bf72: f2c0 8095 blt.w 801c0a0 <_printf_i+0x20c> - 801bf76: 6821 ldr r1, [r4, #0] - 801bf78: f021 0104 bic.w r1, r1, #4 - 801bf7c: 6021 str r1, [r4, #0] - 801bf7e: 2b00 cmp r3, #0 - 801bf80: d13d bne.n 801bffe <_printf_i+0x16a> - 801bf82: 2d00 cmp r5, #0 - 801bf84: f040 808e bne.w 801c0a4 <_printf_i+0x210> - 801bf88: 4665 mov r5, ip - 801bf8a: 2a08 cmp r2, #8 - 801bf8c: d10b bne.n 801bfa6 <_printf_i+0x112> - 801bf8e: 6823 ldr r3, [r4, #0] - 801bf90: 07db lsls r3, r3, #31 - 801bf92: d508 bpl.n 801bfa6 <_printf_i+0x112> - 801bf94: 6923 ldr r3, [r4, #16] - 801bf96: 6862 ldr r2, [r4, #4] - 801bf98: 429a cmp r2, r3 - 801bf9a: bfde ittt le - 801bf9c: 2330 movle r3, #48 ; 0x30 - 801bf9e: f805 3c01 strble.w r3, [r5, #-1] - 801bfa2: f105 35ff addle.w r5, r5, #4294967295 - 801bfa6: ebac 0305 sub.w r3, ip, r5 - 801bfaa: 6123 str r3, [r4, #16] - 801bfac: f8cd 8000 str.w r8, [sp] - 801bfb0: 463b mov r3, r7 - 801bfb2: aa03 add r2, sp, #12 - 801bfb4: 4621 mov r1, r4 - 801bfb6: 4630 mov r0, r6 - 801bfb8: f7ff fef6 bl 801bda8 <_printf_common> - 801bfbc: 3001 adds r0, #1 - 801bfbe: d14d bne.n 801c05c <_printf_i+0x1c8> - 801bfc0: f04f 30ff mov.w r0, #4294967295 - 801bfc4: b005 add sp, #20 - 801bfc6: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 801bfca: 4839 ldr r0, [pc, #228] ; (801c0b0 <_printf_i+0x21c>) - 801bfcc: f884 1045 strb.w r1, [r4, #69] ; 0x45 - 801bfd0: 6813 ldr r3, [r2, #0] - 801bfd2: 6821 ldr r1, [r4, #0] - 801bfd4: 1d1d adds r5, r3, #4 - 801bfd6: 681b ldr r3, [r3, #0] - 801bfd8: 6015 str r5, [r2, #0] - 801bfda: 060a lsls r2, r1, #24 - 801bfdc: d50b bpl.n 801bff6 <_printf_i+0x162> - 801bfde: 07ca lsls r2, r1, #31 - 801bfe0: bf44 itt mi - 801bfe2: f041 0120 orrmi.w r1, r1, #32 - 801bfe6: 6021 strmi r1, [r4, #0] - 801bfe8: b91b cbnz r3, 801bff2 <_printf_i+0x15e> - 801bfea: 6822 ldr r2, [r4, #0] - 801bfec: f022 0220 bic.w r2, r2, #32 - 801bff0: 6022 str r2, [r4, #0] - 801bff2: 2210 movs r2, #16 - 801bff4: e7b7 b.n 801bf66 <_printf_i+0xd2> - 801bff6: 064d lsls r5, r1, #25 - 801bff8: bf48 it mi - 801bffa: b29b uxthmi r3, r3 - 801bffc: e7ef b.n 801bfde <_printf_i+0x14a> - 801bffe: 4665 mov r5, ip - 801c000: fbb3 f1f2 udiv r1, r3, r2 - 801c004: fb02 3311 mls r3, r2, r1, r3 - 801c008: 5cc3 ldrb r3, [r0, r3] - 801c00a: f805 3d01 strb.w r3, [r5, #-1]! - 801c00e: 460b mov r3, r1 - 801c010: 2900 cmp r1, #0 - 801c012: d1f5 bne.n 801c000 <_printf_i+0x16c> - 801c014: e7b9 b.n 801bf8a <_printf_i+0xf6> - 801c016: 6813 ldr r3, [r2, #0] - 801c018: 6825 ldr r5, [r4, #0] - 801c01a: 6961 ldr r1, [r4, #20] - 801c01c: 1d18 adds r0, r3, #4 - 801c01e: 6010 str r0, [r2, #0] - 801c020: 0628 lsls r0, r5, #24 - 801c022: 681b ldr r3, [r3, #0] - 801c024: d501 bpl.n 801c02a <_printf_i+0x196> - 801c026: 6019 str r1, [r3, #0] - 801c028: e002 b.n 801c030 <_printf_i+0x19c> - 801c02a: 066a lsls r2, r5, #25 - 801c02c: d5fb bpl.n 801c026 <_printf_i+0x192> - 801c02e: 8019 strh r1, [r3, #0] - 801c030: 2300 movs r3, #0 - 801c032: 6123 str r3, [r4, #16] - 801c034: 4665 mov r5, ip - 801c036: e7b9 b.n 801bfac <_printf_i+0x118> - 801c038: 6813 ldr r3, [r2, #0] - 801c03a: 1d19 adds r1, r3, #4 - 801c03c: 6011 str r1, [r2, #0] - 801c03e: 681d ldr r5, [r3, #0] - 801c040: 6862 ldr r2, [r4, #4] - 801c042: 2100 movs r1, #0 - 801c044: 4628 mov r0, r5 - 801c046: f7e4 f8e3 bl 8000210 - 801c04a: b108 cbz r0, 801c050 <_printf_i+0x1bc> - 801c04c: 1b40 subs r0, r0, r5 - 801c04e: 6060 str r0, [r4, #4] - 801c050: 6863 ldr r3, [r4, #4] - 801c052: 6123 str r3, [r4, #16] - 801c054: 2300 movs r3, #0 - 801c056: f884 3043 strb.w r3, [r4, #67] ; 0x43 - 801c05a: e7a7 b.n 801bfac <_printf_i+0x118> - 801c05c: 6923 ldr r3, [r4, #16] - 801c05e: 462a mov r2, r5 - 801c060: 4639 mov r1, r7 - 801c062: 4630 mov r0, r6 - 801c064: 47c0 blx r8 - 801c066: 3001 adds r0, #1 - 801c068: d0aa beq.n 801bfc0 <_printf_i+0x12c> - 801c06a: 6823 ldr r3, [r4, #0] - 801c06c: 079b lsls r3, r3, #30 - 801c06e: d413 bmi.n 801c098 <_printf_i+0x204> - 801c070: 68e0 ldr r0, [r4, #12] - 801c072: 9b03 ldr r3, [sp, #12] - 801c074: 4298 cmp r0, r3 - 801c076: bfb8 it lt - 801c078: 4618 movlt r0, r3 - 801c07a: e7a3 b.n 801bfc4 <_printf_i+0x130> - 801c07c: 2301 movs r3, #1 - 801c07e: 464a mov r2, r9 - 801c080: 4639 mov r1, r7 - 801c082: 4630 mov r0, r6 - 801c084: 47c0 blx r8 - 801c086: 3001 adds r0, #1 - 801c088: d09a beq.n 801bfc0 <_printf_i+0x12c> - 801c08a: 3501 adds r5, #1 - 801c08c: 68e3 ldr r3, [r4, #12] - 801c08e: 9a03 ldr r2, [sp, #12] - 801c090: 1a9b subs r3, r3, r2 - 801c092: 42ab cmp r3, r5 - 801c094: dcf2 bgt.n 801c07c <_printf_i+0x1e8> - 801c096: e7eb b.n 801c070 <_printf_i+0x1dc> - 801c098: 2500 movs r5, #0 - 801c09a: f104 0919 add.w r9, r4, #25 - 801c09e: e7f5 b.n 801c08c <_printf_i+0x1f8> - 801c0a0: 2b00 cmp r3, #0 - 801c0a2: d1ac bne.n 801bffe <_printf_i+0x16a> - 801c0a4: 7803 ldrb r3, [r0, #0] - 801c0a6: f884 3042 strb.w r3, [r4, #66] ; 0x42 - 801c0aa: f104 0542 add.w r5, r4, #66 ; 0x42 - 801c0ae: e76c b.n 801bf8a <_printf_i+0xf6> - 801c0b0: 08021701 .word 0x08021701 - 801c0b4: 08021712 .word 0x08021712 +0801b9d8 <__swbuf_r>: + 801b9d8: b5f8 push {r3, r4, r5, r6, r7, lr} + 801b9da: 460e mov r6, r1 + 801b9dc: 4614 mov r4, r2 + 801b9de: 4605 mov r5, r0 + 801b9e0: b118 cbz r0, 801b9ea <__swbuf_r+0x12> + 801b9e2: 6983 ldr r3, [r0, #24] + 801b9e4: b90b cbnz r3, 801b9ea <__swbuf_r+0x12> + 801b9e6: f7ff fba1 bl 801b12c <__sinit> + 801b9ea: 4b21 ldr r3, [pc, #132] ; (801ba70 <__swbuf_r+0x98>) + 801b9ec: 429c cmp r4, r3 + 801b9ee: d12a bne.n 801ba46 <__swbuf_r+0x6e> + 801b9f0: 686c ldr r4, [r5, #4] + 801b9f2: 69a3 ldr r3, [r4, #24] + 801b9f4: 60a3 str r3, [r4, #8] + 801b9f6: 89a3 ldrh r3, [r4, #12] + 801b9f8: 071a lsls r2, r3, #28 + 801b9fa: d52e bpl.n 801ba5a <__swbuf_r+0x82> + 801b9fc: 6923 ldr r3, [r4, #16] + 801b9fe: b363 cbz r3, 801ba5a <__swbuf_r+0x82> + 801ba00: 6923 ldr r3, [r4, #16] + 801ba02: 6820 ldr r0, [r4, #0] + 801ba04: 1ac0 subs r0, r0, r3 + 801ba06: 6963 ldr r3, [r4, #20] + 801ba08: b2f6 uxtb r6, r6 + 801ba0a: 4283 cmp r3, r0 + 801ba0c: 4637 mov r7, r6 + 801ba0e: dc04 bgt.n 801ba1a <__swbuf_r+0x42> + 801ba10: 4621 mov r1, r4 + 801ba12: 4628 mov r0, r5 + 801ba14: f000 f948 bl 801bca8 <_fflush_r> + 801ba18: bb28 cbnz r0, 801ba66 <__swbuf_r+0x8e> + 801ba1a: 68a3 ldr r3, [r4, #8] + 801ba1c: 3b01 subs r3, #1 + 801ba1e: 60a3 str r3, [r4, #8] + 801ba20: 6823 ldr r3, [r4, #0] + 801ba22: 1c5a adds r2, r3, #1 + 801ba24: 6022 str r2, [r4, #0] + 801ba26: 701e strb r6, [r3, #0] + 801ba28: 6963 ldr r3, [r4, #20] + 801ba2a: 3001 adds r0, #1 + 801ba2c: 4283 cmp r3, r0 + 801ba2e: d004 beq.n 801ba3a <__swbuf_r+0x62> + 801ba30: 89a3 ldrh r3, [r4, #12] + 801ba32: 07db lsls r3, r3, #31 + 801ba34: d519 bpl.n 801ba6a <__swbuf_r+0x92> + 801ba36: 2e0a cmp r6, #10 + 801ba38: d117 bne.n 801ba6a <__swbuf_r+0x92> + 801ba3a: 4621 mov r1, r4 + 801ba3c: 4628 mov r0, r5 + 801ba3e: f000 f933 bl 801bca8 <_fflush_r> + 801ba42: b190 cbz r0, 801ba6a <__swbuf_r+0x92> + 801ba44: e00f b.n 801ba66 <__swbuf_r+0x8e> + 801ba46: 4b0b ldr r3, [pc, #44] ; (801ba74 <__swbuf_r+0x9c>) + 801ba48: 429c cmp r4, r3 + 801ba4a: d101 bne.n 801ba50 <__swbuf_r+0x78> + 801ba4c: 68ac ldr r4, [r5, #8] + 801ba4e: e7d0 b.n 801b9f2 <__swbuf_r+0x1a> + 801ba50: 4b09 ldr r3, [pc, #36] ; (801ba78 <__swbuf_r+0xa0>) + 801ba52: 429c cmp r4, r3 + 801ba54: bf08 it eq + 801ba56: 68ec ldreq r4, [r5, #12] + 801ba58: e7cb b.n 801b9f2 <__swbuf_r+0x1a> + 801ba5a: 4621 mov r1, r4 + 801ba5c: 4628 mov r0, r5 + 801ba5e: f000 f81f bl 801baa0 <__swsetup_r> + 801ba62: 2800 cmp r0, #0 + 801ba64: d0cc beq.n 801ba00 <__swbuf_r+0x28> + 801ba66: f04f 37ff mov.w r7, #4294967295 + 801ba6a: 4638 mov r0, r7 + 801ba6c: bdf8 pop {r3, r4, r5, r6, r7, pc} + 801ba6e: bf00 nop + 801ba70: 08020eac .word 0x08020eac + 801ba74: 08020ecc .word 0x08020ecc + 801ba78: 08020e8c .word 0x08020e8c -0801c0b8 <_sbrk_r>: - 801c0b8: b538 push {r3, r4, r5, lr} - 801c0ba: 4c06 ldr r4, [pc, #24] ; (801c0d4 <_sbrk_r+0x1c>) - 801c0bc: 2300 movs r3, #0 - 801c0be: 4605 mov r5, r0 - 801c0c0: 4608 mov r0, r1 - 801c0c2: 6023 str r3, [r4, #0] - 801c0c4: f7e8 fe1c bl 8004d00 <_sbrk> - 801c0c8: 1c43 adds r3, r0, #1 - 801c0ca: d102 bne.n 801c0d2 <_sbrk_r+0x1a> - 801c0cc: 6823 ldr r3, [r4, #0] - 801c0ce: b103 cbz r3, 801c0d2 <_sbrk_r+0x1a> - 801c0d0: 602b str r3, [r5, #0] - 801c0d2: bd38 pop {r3, r4, r5, pc} - 801c0d4: 2000f608 .word 0x2000f608 +0801ba7c <_write_r>: + 801ba7c: b538 push {r3, r4, r5, lr} + 801ba7e: 4c07 ldr r4, [pc, #28] ; (801ba9c <_write_r+0x20>) + 801ba80: 4605 mov r5, r0 + 801ba82: 4608 mov r0, r1 + 801ba84: 4611 mov r1, r2 + 801ba86: 2200 movs r2, #0 + 801ba88: 6022 str r2, [r4, #0] + 801ba8a: 461a mov r2, r3 + 801ba8c: f7e8 fe9b bl 80047c6 <_write> + 801ba90: 1c43 adds r3, r0, #1 + 801ba92: d102 bne.n 801ba9a <_write_r+0x1e> + 801ba94: 6823 ldr r3, [r4, #0] + 801ba96: b103 cbz r3, 801ba9a <_write_r+0x1e> + 801ba98: 602b str r3, [r5, #0] + 801ba9a: bd38 pop {r3, r4, r5, pc} + 801ba9c: 2000f604 .word 0x2000f604 -0801c0d8 <__sread>: - 801c0d8: b510 push {r4, lr} - 801c0da: 460c mov r4, r1 - 801c0dc: f9b1 100e ldrsh.w r1, [r1, #14] - 801c0e0: f000 fa6e bl 801c5c0 <_read_r> - 801c0e4: 2800 cmp r0, #0 - 801c0e6: bfab itete ge - 801c0e8: 6d63 ldrge r3, [r4, #84] ; 0x54 - 801c0ea: 89a3 ldrhlt r3, [r4, #12] - 801c0ec: 181b addge r3, r3, r0 - 801c0ee: f423 5380 biclt.w r3, r3, #4096 ; 0x1000 - 801c0f2: bfac ite ge - 801c0f4: 6563 strge r3, [r4, #84] ; 0x54 - 801c0f6: 81a3 strhlt r3, [r4, #12] - 801c0f8: bd10 pop {r4, pc} +0801baa0 <__swsetup_r>: + 801baa0: 4b32 ldr r3, [pc, #200] ; (801bb6c <__swsetup_r+0xcc>) + 801baa2: b570 push {r4, r5, r6, lr} + 801baa4: 681d ldr r5, [r3, #0] + 801baa6: 4606 mov r6, r0 + 801baa8: 460c mov r4, r1 + 801baaa: b125 cbz r5, 801bab6 <__swsetup_r+0x16> + 801baac: 69ab ldr r3, [r5, #24] + 801baae: b913 cbnz r3, 801bab6 <__swsetup_r+0x16> + 801bab0: 4628 mov r0, r5 + 801bab2: f7ff fb3b bl 801b12c <__sinit> + 801bab6: 4b2e ldr r3, [pc, #184] ; (801bb70 <__swsetup_r+0xd0>) + 801bab8: 429c cmp r4, r3 + 801baba: d10f bne.n 801badc <__swsetup_r+0x3c> + 801babc: 686c ldr r4, [r5, #4] + 801babe: f9b4 300c ldrsh.w r3, [r4, #12] + 801bac2: b29a uxth r2, r3 + 801bac4: 0715 lsls r5, r2, #28 + 801bac6: d42c bmi.n 801bb22 <__swsetup_r+0x82> + 801bac8: 06d0 lsls r0, r2, #27 + 801baca: d411 bmi.n 801baf0 <__swsetup_r+0x50> + 801bacc: 2209 movs r2, #9 + 801bace: 6032 str r2, [r6, #0] + 801bad0: f043 0340 orr.w r3, r3, #64 ; 0x40 + 801bad4: 81a3 strh r3, [r4, #12] + 801bad6: f04f 30ff mov.w r0, #4294967295 + 801bada: e03e b.n 801bb5a <__swsetup_r+0xba> + 801badc: 4b25 ldr r3, [pc, #148] ; (801bb74 <__swsetup_r+0xd4>) + 801bade: 429c cmp r4, r3 + 801bae0: d101 bne.n 801bae6 <__swsetup_r+0x46> + 801bae2: 68ac ldr r4, [r5, #8] + 801bae4: e7eb b.n 801babe <__swsetup_r+0x1e> + 801bae6: 4b24 ldr r3, [pc, #144] ; (801bb78 <__swsetup_r+0xd8>) + 801bae8: 429c cmp r4, r3 + 801baea: bf08 it eq + 801baec: 68ec ldreq r4, [r5, #12] + 801baee: e7e6 b.n 801babe <__swsetup_r+0x1e> + 801baf0: 0751 lsls r1, r2, #29 + 801baf2: d512 bpl.n 801bb1a <__swsetup_r+0x7a> + 801baf4: 6b61 ldr r1, [r4, #52] ; 0x34 + 801baf6: b141 cbz r1, 801bb0a <__swsetup_r+0x6a> + 801baf8: f104 0344 add.w r3, r4, #68 ; 0x44 + 801bafc: 4299 cmp r1, r3 + 801bafe: d002 beq.n 801bb06 <__swsetup_r+0x66> + 801bb00: 4630 mov r0, r6 + 801bb02: f7ff fba5 bl 801b250 <_free_r> + 801bb06: 2300 movs r3, #0 + 801bb08: 6363 str r3, [r4, #52] ; 0x34 + 801bb0a: 89a3 ldrh r3, [r4, #12] + 801bb0c: f023 0324 bic.w r3, r3, #36 ; 0x24 + 801bb10: 81a3 strh r3, [r4, #12] + 801bb12: 2300 movs r3, #0 + 801bb14: 6063 str r3, [r4, #4] + 801bb16: 6923 ldr r3, [r4, #16] + 801bb18: 6023 str r3, [r4, #0] + 801bb1a: 89a3 ldrh r3, [r4, #12] + 801bb1c: f043 0308 orr.w r3, r3, #8 + 801bb20: 81a3 strh r3, [r4, #12] + 801bb22: 6923 ldr r3, [r4, #16] + 801bb24: b94b cbnz r3, 801bb3a <__swsetup_r+0x9a> + 801bb26: 89a3 ldrh r3, [r4, #12] + 801bb28: f403 7320 and.w r3, r3, #640 ; 0x280 + 801bb2c: f5b3 7f00 cmp.w r3, #512 ; 0x200 + 801bb30: d003 beq.n 801bb3a <__swsetup_r+0x9a> + 801bb32: 4621 mov r1, r4 + 801bb34: 4630 mov r0, r6 + 801bb36: f000 f917 bl 801bd68 <__smakebuf_r> + 801bb3a: 89a2 ldrh r2, [r4, #12] + 801bb3c: f012 0301 ands.w r3, r2, #1 + 801bb40: d00c beq.n 801bb5c <__swsetup_r+0xbc> + 801bb42: 2300 movs r3, #0 + 801bb44: 60a3 str r3, [r4, #8] + 801bb46: 6963 ldr r3, [r4, #20] + 801bb48: 425b negs r3, r3 + 801bb4a: 61a3 str r3, [r4, #24] + 801bb4c: 6923 ldr r3, [r4, #16] + 801bb4e: b953 cbnz r3, 801bb66 <__swsetup_r+0xc6> + 801bb50: f9b4 300c ldrsh.w r3, [r4, #12] + 801bb54: f013 0080 ands.w r0, r3, #128 ; 0x80 + 801bb58: d1ba bne.n 801bad0 <__swsetup_r+0x30> + 801bb5a: bd70 pop {r4, r5, r6, pc} + 801bb5c: 0792 lsls r2, r2, #30 + 801bb5e: bf58 it pl + 801bb60: 6963 ldrpl r3, [r4, #20] + 801bb62: 60a3 str r3, [r4, #8] + 801bb64: e7f2 b.n 801bb4c <__swsetup_r+0xac> + 801bb66: 2000 movs r0, #0 + 801bb68: e7f7 b.n 801bb5a <__swsetup_r+0xba> + 801bb6a: bf00 nop + 801bb6c: 20000084 .word 0x20000084 + 801bb70: 08020eac .word 0x08020eac + 801bb74: 08020ecc .word 0x08020ecc + 801bb78: 08020e8c .word 0x08020e8c -0801c0fa <__swrite>: - 801c0fa: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 801c0fe: 461f mov r7, r3 - 801c100: 898b ldrh r3, [r1, #12] - 801c102: 05db lsls r3, r3, #23 - 801c104: 4605 mov r5, r0 - 801c106: 460c mov r4, r1 - 801c108: 4616 mov r6, r2 - 801c10a: d505 bpl.n 801c118 <__swrite+0x1e> - 801c10c: 2302 movs r3, #2 - 801c10e: 2200 movs r2, #0 - 801c110: f9b1 100e ldrsh.w r1, [r1, #14] - 801c114: f000 f9b6 bl 801c484 <_lseek_r> - 801c118: 89a3 ldrh r3, [r4, #12] - 801c11a: f9b4 100e ldrsh.w r1, [r4, #14] - 801c11e: f423 5380 bic.w r3, r3, #4096 ; 0x1000 - 801c122: 81a3 strh r3, [r4, #12] - 801c124: 4632 mov r2, r6 - 801c126: 463b mov r3, r7 - 801c128: 4628 mov r0, r5 - 801c12a: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 801c12e: f000 b869 b.w 801c204 <_write_r> +0801bb7c <_close_r>: + 801bb7c: b538 push {r3, r4, r5, lr} + 801bb7e: 4c06 ldr r4, [pc, #24] ; (801bb98 <_close_r+0x1c>) + 801bb80: 2300 movs r3, #0 + 801bb82: 4605 mov r5, r0 + 801bb84: 4608 mov r0, r1 + 801bb86: 6023 str r3, [r4, #0] + 801bb88: f7e8 fe39 bl 80047fe <_close> + 801bb8c: 1c43 adds r3, r0, #1 + 801bb8e: d102 bne.n 801bb96 <_close_r+0x1a> + 801bb90: 6823 ldr r3, [r4, #0] + 801bb92: b103 cbz r3, 801bb96 <_close_r+0x1a> + 801bb94: 602b str r3, [r5, #0] + 801bb96: bd38 pop {r3, r4, r5, pc} + 801bb98: 2000f604 .word 0x2000f604 -0801c132 <__sseek>: - 801c132: b510 push {r4, lr} - 801c134: 460c mov r4, r1 - 801c136: f9b1 100e ldrsh.w r1, [r1, #14] - 801c13a: f000 f9a3 bl 801c484 <_lseek_r> - 801c13e: 1c43 adds r3, r0, #1 - 801c140: 89a3 ldrh r3, [r4, #12] - 801c142: bf15 itete ne - 801c144: 6560 strne r0, [r4, #84] ; 0x54 - 801c146: f423 5380 biceq.w r3, r3, #4096 ; 0x1000 - 801c14a: f443 5380 orrne.w r3, r3, #4096 ; 0x1000 - 801c14e: 81a3 strheq r3, [r4, #12] - 801c150: bf18 it ne - 801c152: 81a3 strhne r3, [r4, #12] - 801c154: bd10 pop {r4, pc} +0801bb9c <__sflush_r>: + 801bb9c: 898a ldrh r2, [r1, #12] + 801bb9e: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 801bba2: 4605 mov r5, r0 + 801bba4: 0710 lsls r0, r2, #28 + 801bba6: 460c mov r4, r1 + 801bba8: d458 bmi.n 801bc5c <__sflush_r+0xc0> + 801bbaa: 684b ldr r3, [r1, #4] + 801bbac: 2b00 cmp r3, #0 + 801bbae: dc05 bgt.n 801bbbc <__sflush_r+0x20> + 801bbb0: 6c0b ldr r3, [r1, #64] ; 0x40 + 801bbb2: 2b00 cmp r3, #0 + 801bbb4: dc02 bgt.n 801bbbc <__sflush_r+0x20> + 801bbb6: 2000 movs r0, #0 + 801bbb8: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 801bbbc: 6ae6 ldr r6, [r4, #44] ; 0x2c + 801bbbe: 2e00 cmp r6, #0 + 801bbc0: d0f9 beq.n 801bbb6 <__sflush_r+0x1a> + 801bbc2: 2300 movs r3, #0 + 801bbc4: f412 5280 ands.w r2, r2, #4096 ; 0x1000 + 801bbc8: 682f ldr r7, [r5, #0] + 801bbca: 6a21 ldr r1, [r4, #32] + 801bbcc: 602b str r3, [r5, #0] + 801bbce: d032 beq.n 801bc36 <__sflush_r+0x9a> + 801bbd0: 6d60 ldr r0, [r4, #84] ; 0x54 + 801bbd2: 89a3 ldrh r3, [r4, #12] + 801bbd4: 075a lsls r2, r3, #29 + 801bbd6: d505 bpl.n 801bbe4 <__sflush_r+0x48> + 801bbd8: 6863 ldr r3, [r4, #4] + 801bbda: 1ac0 subs r0, r0, r3 + 801bbdc: 6b63 ldr r3, [r4, #52] ; 0x34 + 801bbde: b10b cbz r3, 801bbe4 <__sflush_r+0x48> + 801bbe0: 6c23 ldr r3, [r4, #64] ; 0x40 + 801bbe2: 1ac0 subs r0, r0, r3 + 801bbe4: 2300 movs r3, #0 + 801bbe6: 4602 mov r2, r0 + 801bbe8: 6ae6 ldr r6, [r4, #44] ; 0x2c + 801bbea: 6a21 ldr r1, [r4, #32] + 801bbec: 4628 mov r0, r5 + 801bbee: 47b0 blx r6 + 801bbf0: 1c43 adds r3, r0, #1 + 801bbf2: 89a3 ldrh r3, [r4, #12] + 801bbf4: d106 bne.n 801bc04 <__sflush_r+0x68> + 801bbf6: 6829 ldr r1, [r5, #0] + 801bbf8: 291d cmp r1, #29 + 801bbfa: d848 bhi.n 801bc8e <__sflush_r+0xf2> + 801bbfc: 4a29 ldr r2, [pc, #164] ; (801bca4 <__sflush_r+0x108>) + 801bbfe: 40ca lsrs r2, r1 + 801bc00: 07d6 lsls r6, r2, #31 + 801bc02: d544 bpl.n 801bc8e <__sflush_r+0xf2> + 801bc04: 2200 movs r2, #0 + 801bc06: 6062 str r2, [r4, #4] + 801bc08: 04d9 lsls r1, r3, #19 + 801bc0a: 6922 ldr r2, [r4, #16] + 801bc0c: 6022 str r2, [r4, #0] + 801bc0e: d504 bpl.n 801bc1a <__sflush_r+0x7e> + 801bc10: 1c42 adds r2, r0, #1 + 801bc12: d101 bne.n 801bc18 <__sflush_r+0x7c> + 801bc14: 682b ldr r3, [r5, #0] + 801bc16: b903 cbnz r3, 801bc1a <__sflush_r+0x7e> + 801bc18: 6560 str r0, [r4, #84] ; 0x54 + 801bc1a: 6b61 ldr r1, [r4, #52] ; 0x34 + 801bc1c: 602f str r7, [r5, #0] + 801bc1e: 2900 cmp r1, #0 + 801bc20: d0c9 beq.n 801bbb6 <__sflush_r+0x1a> + 801bc22: f104 0344 add.w r3, r4, #68 ; 0x44 + 801bc26: 4299 cmp r1, r3 + 801bc28: d002 beq.n 801bc30 <__sflush_r+0x94> + 801bc2a: 4628 mov r0, r5 + 801bc2c: f7ff fb10 bl 801b250 <_free_r> + 801bc30: 2000 movs r0, #0 + 801bc32: 6360 str r0, [r4, #52] ; 0x34 + 801bc34: e7c0 b.n 801bbb8 <__sflush_r+0x1c> + 801bc36: 2301 movs r3, #1 + 801bc38: 4628 mov r0, r5 + 801bc3a: 47b0 blx r6 + 801bc3c: 1c41 adds r1, r0, #1 + 801bc3e: d1c8 bne.n 801bbd2 <__sflush_r+0x36> + 801bc40: 682b ldr r3, [r5, #0] + 801bc42: 2b00 cmp r3, #0 + 801bc44: d0c5 beq.n 801bbd2 <__sflush_r+0x36> + 801bc46: 2b1d cmp r3, #29 + 801bc48: d001 beq.n 801bc4e <__sflush_r+0xb2> + 801bc4a: 2b16 cmp r3, #22 + 801bc4c: d101 bne.n 801bc52 <__sflush_r+0xb6> + 801bc4e: 602f str r7, [r5, #0] + 801bc50: e7b1 b.n 801bbb6 <__sflush_r+0x1a> + 801bc52: 89a3 ldrh r3, [r4, #12] + 801bc54: f043 0340 orr.w r3, r3, #64 ; 0x40 + 801bc58: 81a3 strh r3, [r4, #12] + 801bc5a: e7ad b.n 801bbb8 <__sflush_r+0x1c> + 801bc5c: 690f ldr r7, [r1, #16] + 801bc5e: 2f00 cmp r7, #0 + 801bc60: d0a9 beq.n 801bbb6 <__sflush_r+0x1a> + 801bc62: 0793 lsls r3, r2, #30 + 801bc64: 680e ldr r6, [r1, #0] + 801bc66: bf08 it eq + 801bc68: 694b ldreq r3, [r1, #20] + 801bc6a: 600f str r7, [r1, #0] + 801bc6c: bf18 it ne + 801bc6e: 2300 movne r3, #0 + 801bc70: eba6 0807 sub.w r8, r6, r7 + 801bc74: 608b str r3, [r1, #8] + 801bc76: f1b8 0f00 cmp.w r8, #0 + 801bc7a: dd9c ble.n 801bbb6 <__sflush_r+0x1a> + 801bc7c: 4643 mov r3, r8 + 801bc7e: 463a mov r2, r7 + 801bc80: 6a21 ldr r1, [r4, #32] + 801bc82: 6aa6 ldr r6, [r4, #40] ; 0x28 + 801bc84: 4628 mov r0, r5 + 801bc86: 47b0 blx r6 + 801bc88: 2800 cmp r0, #0 + 801bc8a: dc06 bgt.n 801bc9a <__sflush_r+0xfe> + 801bc8c: 89a3 ldrh r3, [r4, #12] + 801bc8e: f043 0340 orr.w r3, r3, #64 ; 0x40 + 801bc92: 81a3 strh r3, [r4, #12] + 801bc94: f04f 30ff mov.w r0, #4294967295 + 801bc98: e78e b.n 801bbb8 <__sflush_r+0x1c> + 801bc9a: 4407 add r7, r0 + 801bc9c: eba8 0800 sub.w r8, r8, r0 + 801bca0: e7e9 b.n 801bc76 <__sflush_r+0xda> + 801bca2: bf00 nop + 801bca4: 20400001 .word 0x20400001 -0801c156 <__sclose>: - 801c156: f9b1 100e ldrsh.w r1, [r1, #14] - 801c15a: f000 b8d3 b.w 801c304 <_close_r> - ... +0801bca8 <_fflush_r>: + 801bca8: b538 push {r3, r4, r5, lr} + 801bcaa: 690b ldr r3, [r1, #16] + 801bcac: 4605 mov r5, r0 + 801bcae: 460c mov r4, r1 + 801bcb0: b1db cbz r3, 801bcea <_fflush_r+0x42> + 801bcb2: b118 cbz r0, 801bcbc <_fflush_r+0x14> + 801bcb4: 6983 ldr r3, [r0, #24] + 801bcb6: b90b cbnz r3, 801bcbc <_fflush_r+0x14> + 801bcb8: f7ff fa38 bl 801b12c <__sinit> + 801bcbc: 4b0c ldr r3, [pc, #48] ; (801bcf0 <_fflush_r+0x48>) + 801bcbe: 429c cmp r4, r3 + 801bcc0: d109 bne.n 801bcd6 <_fflush_r+0x2e> + 801bcc2: 686c ldr r4, [r5, #4] + 801bcc4: f9b4 300c ldrsh.w r3, [r4, #12] + 801bcc8: b17b cbz r3, 801bcea <_fflush_r+0x42> + 801bcca: 4621 mov r1, r4 + 801bccc: 4628 mov r0, r5 + 801bcce: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 801bcd2: f7ff bf63 b.w 801bb9c <__sflush_r> + 801bcd6: 4b07 ldr r3, [pc, #28] ; (801bcf4 <_fflush_r+0x4c>) + 801bcd8: 429c cmp r4, r3 + 801bcda: d101 bne.n 801bce0 <_fflush_r+0x38> + 801bcdc: 68ac ldr r4, [r5, #8] + 801bcde: e7f1 b.n 801bcc4 <_fflush_r+0x1c> + 801bce0: 4b05 ldr r3, [pc, #20] ; (801bcf8 <_fflush_r+0x50>) + 801bce2: 429c cmp r4, r3 + 801bce4: bf08 it eq + 801bce6: 68ec ldreq r4, [r5, #12] + 801bce8: e7ec b.n 801bcc4 <_fflush_r+0x1c> + 801bcea: 2000 movs r0, #0 + 801bcec: bd38 pop {r3, r4, r5, pc} + 801bcee: bf00 nop + 801bcf0: 08020eac .word 0x08020eac + 801bcf4: 08020ecc .word 0x08020ecc + 801bcf8: 08020e8c .word 0x08020e8c -0801c160 <__swbuf_r>: - 801c160: b5f8 push {r3, r4, r5, r6, r7, lr} - 801c162: 460e mov r6, r1 - 801c164: 4614 mov r4, r2 - 801c166: 4605 mov r5, r0 - 801c168: b118 cbz r0, 801c172 <__swbuf_r+0x12> - 801c16a: 6983 ldr r3, [r0, #24] - 801c16c: b90b cbnz r3, 801c172 <__swbuf_r+0x12> - 801c16e: f7ff fa4f bl 801b610 <__sinit> - 801c172: 4b21 ldr r3, [pc, #132] ; (801c1f8 <__swbuf_r+0x98>) - 801c174: 429c cmp r4, r3 - 801c176: d12a bne.n 801c1ce <__swbuf_r+0x6e> - 801c178: 686c ldr r4, [r5, #4] - 801c17a: 69a3 ldr r3, [r4, #24] - 801c17c: 60a3 str r3, [r4, #8] - 801c17e: 89a3 ldrh r3, [r4, #12] - 801c180: 071a lsls r2, r3, #28 - 801c182: d52e bpl.n 801c1e2 <__swbuf_r+0x82> - 801c184: 6923 ldr r3, [r4, #16] - 801c186: b363 cbz r3, 801c1e2 <__swbuf_r+0x82> - 801c188: 6923 ldr r3, [r4, #16] - 801c18a: 6820 ldr r0, [r4, #0] - 801c18c: 1ac0 subs r0, r0, r3 - 801c18e: 6963 ldr r3, [r4, #20] - 801c190: b2f6 uxtb r6, r6 - 801c192: 4283 cmp r3, r0 - 801c194: 4637 mov r7, r6 - 801c196: dc04 bgt.n 801c1a2 <__swbuf_r+0x42> - 801c198: 4621 mov r1, r4 - 801c19a: 4628 mov r0, r5 - 801c19c: f000 f948 bl 801c430 <_fflush_r> - 801c1a0: bb28 cbnz r0, 801c1ee <__swbuf_r+0x8e> - 801c1a2: 68a3 ldr r3, [r4, #8] - 801c1a4: 3b01 subs r3, #1 - 801c1a6: 60a3 str r3, [r4, #8] - 801c1a8: 6823 ldr r3, [r4, #0] - 801c1aa: 1c5a adds r2, r3, #1 - 801c1ac: 6022 str r2, [r4, #0] - 801c1ae: 701e strb r6, [r3, #0] - 801c1b0: 6963 ldr r3, [r4, #20] - 801c1b2: 3001 adds r0, #1 - 801c1b4: 4283 cmp r3, r0 - 801c1b6: d004 beq.n 801c1c2 <__swbuf_r+0x62> - 801c1b8: 89a3 ldrh r3, [r4, #12] - 801c1ba: 07db lsls r3, r3, #31 - 801c1bc: d519 bpl.n 801c1f2 <__swbuf_r+0x92> - 801c1be: 2e0a cmp r6, #10 - 801c1c0: d117 bne.n 801c1f2 <__swbuf_r+0x92> - 801c1c2: 4621 mov r1, r4 - 801c1c4: 4628 mov r0, r5 - 801c1c6: f000 f933 bl 801c430 <_fflush_r> - 801c1ca: b190 cbz r0, 801c1f2 <__swbuf_r+0x92> - 801c1cc: e00f b.n 801c1ee <__swbuf_r+0x8e> - 801c1ce: 4b0b ldr r3, [pc, #44] ; (801c1fc <__swbuf_r+0x9c>) - 801c1d0: 429c cmp r4, r3 - 801c1d2: d101 bne.n 801c1d8 <__swbuf_r+0x78> - 801c1d4: 68ac ldr r4, [r5, #8] - 801c1d6: e7d0 b.n 801c17a <__swbuf_r+0x1a> - 801c1d8: 4b09 ldr r3, [pc, #36] ; (801c200 <__swbuf_r+0xa0>) - 801c1da: 429c cmp r4, r3 - 801c1dc: bf08 it eq - 801c1de: 68ec ldreq r4, [r5, #12] - 801c1e0: e7cb b.n 801c17a <__swbuf_r+0x1a> - 801c1e2: 4621 mov r1, r4 - 801c1e4: 4628 mov r0, r5 - 801c1e6: f000 f81f bl 801c228 <__swsetup_r> - 801c1ea: 2800 cmp r0, #0 - 801c1ec: d0cc beq.n 801c188 <__swbuf_r+0x28> - 801c1ee: f04f 37ff mov.w r7, #4294967295 - 801c1f2: 4638 mov r0, r7 - 801c1f4: bdf8 pop {r3, r4, r5, r6, r7, pc} - 801c1f6: bf00 nop - 801c1f8: 080216b0 .word 0x080216b0 - 801c1fc: 080216d0 .word 0x080216d0 - 801c200: 08021690 .word 0x08021690 +0801bcfc <_lseek_r>: + 801bcfc: b538 push {r3, r4, r5, lr} + 801bcfe: 4c07 ldr r4, [pc, #28] ; (801bd1c <_lseek_r+0x20>) + 801bd00: 4605 mov r5, r0 + 801bd02: 4608 mov r0, r1 + 801bd04: 4611 mov r1, r2 + 801bd06: 2200 movs r2, #0 + 801bd08: 6022 str r2, [r4, #0] + 801bd0a: 461a mov r2, r3 + 801bd0c: f7e8 fd9e bl 800484c <_lseek> + 801bd10: 1c43 adds r3, r0, #1 + 801bd12: d102 bne.n 801bd1a <_lseek_r+0x1e> + 801bd14: 6823 ldr r3, [r4, #0] + 801bd16: b103 cbz r3, 801bd1a <_lseek_r+0x1e> + 801bd18: 602b str r3, [r5, #0] + 801bd1a: bd38 pop {r3, r4, r5, pc} + 801bd1c: 2000f604 .word 0x2000f604 -0801c204 <_write_r>: - 801c204: b538 push {r3, r4, r5, lr} - 801c206: 4c07 ldr r4, [pc, #28] ; (801c224 <_write_r+0x20>) - 801c208: 4605 mov r5, r0 - 801c20a: 4608 mov r0, r1 - 801c20c: 4611 mov r1, r2 - 801c20e: 2200 movs r2, #0 - 801c210: 6022 str r2, [r4, #0] - 801c212: 461a mov r2, r3 - 801c214: f7e8 fd23 bl 8004c5e <_write> - 801c218: 1c43 adds r3, r0, #1 - 801c21a: d102 bne.n 801c222 <_write_r+0x1e> - 801c21c: 6823 ldr r3, [r4, #0] - 801c21e: b103 cbz r3, 801c222 <_write_r+0x1e> - 801c220: 602b str r3, [r5, #0] - 801c222: bd38 pop {r3, r4, r5, pc} - 801c224: 2000f608 .word 0x2000f608 +0801bd20 <__swhatbuf_r>: + 801bd20: b570 push {r4, r5, r6, lr} + 801bd22: 460e mov r6, r1 + 801bd24: f9b1 100e ldrsh.w r1, [r1, #14] + 801bd28: 2900 cmp r1, #0 + 801bd2a: b096 sub sp, #88 ; 0x58 + 801bd2c: 4614 mov r4, r2 + 801bd2e: 461d mov r5, r3 + 801bd30: da07 bge.n 801bd42 <__swhatbuf_r+0x22> + 801bd32: 2300 movs r3, #0 + 801bd34: 602b str r3, [r5, #0] + 801bd36: 89b3 ldrh r3, [r6, #12] + 801bd38: 061a lsls r2, r3, #24 + 801bd3a: d410 bmi.n 801bd5e <__swhatbuf_r+0x3e> + 801bd3c: f44f 6380 mov.w r3, #1024 ; 0x400 + 801bd40: e00e b.n 801bd60 <__swhatbuf_r+0x40> + 801bd42: 466a mov r2, sp + 801bd44: f000 f864 bl 801be10 <_fstat_r> + 801bd48: 2800 cmp r0, #0 + 801bd4a: dbf2 blt.n 801bd32 <__swhatbuf_r+0x12> + 801bd4c: 9a01 ldr r2, [sp, #4] + 801bd4e: f402 4270 and.w r2, r2, #61440 ; 0xf000 + 801bd52: f5a2 5300 sub.w r3, r2, #8192 ; 0x2000 + 801bd56: 425a negs r2, r3 + 801bd58: 415a adcs r2, r3 + 801bd5a: 602a str r2, [r5, #0] + 801bd5c: e7ee b.n 801bd3c <__swhatbuf_r+0x1c> + 801bd5e: 2340 movs r3, #64 ; 0x40 + 801bd60: 2000 movs r0, #0 + 801bd62: 6023 str r3, [r4, #0] + 801bd64: b016 add sp, #88 ; 0x58 + 801bd66: bd70 pop {r4, r5, r6, pc} -0801c228 <__swsetup_r>: - 801c228: 4b32 ldr r3, [pc, #200] ; (801c2f4 <__swsetup_r+0xcc>) - 801c22a: b570 push {r4, r5, r6, lr} - 801c22c: 681d ldr r5, [r3, #0] - 801c22e: 4606 mov r6, r0 - 801c230: 460c mov r4, r1 - 801c232: b125 cbz r5, 801c23e <__swsetup_r+0x16> - 801c234: 69ab ldr r3, [r5, #24] - 801c236: b913 cbnz r3, 801c23e <__swsetup_r+0x16> - 801c238: 4628 mov r0, r5 - 801c23a: f7ff f9e9 bl 801b610 <__sinit> - 801c23e: 4b2e ldr r3, [pc, #184] ; (801c2f8 <__swsetup_r+0xd0>) - 801c240: 429c cmp r4, r3 - 801c242: d10f bne.n 801c264 <__swsetup_r+0x3c> - 801c244: 686c ldr r4, [r5, #4] - 801c246: f9b4 300c ldrsh.w r3, [r4, #12] - 801c24a: b29a uxth r2, r3 - 801c24c: 0715 lsls r5, r2, #28 - 801c24e: d42c bmi.n 801c2aa <__swsetup_r+0x82> - 801c250: 06d0 lsls r0, r2, #27 - 801c252: d411 bmi.n 801c278 <__swsetup_r+0x50> - 801c254: 2209 movs r2, #9 - 801c256: 6032 str r2, [r6, #0] - 801c258: f043 0340 orr.w r3, r3, #64 ; 0x40 - 801c25c: 81a3 strh r3, [r4, #12] - 801c25e: f04f 30ff mov.w r0, #4294967295 - 801c262: e03e b.n 801c2e2 <__swsetup_r+0xba> - 801c264: 4b25 ldr r3, [pc, #148] ; (801c2fc <__swsetup_r+0xd4>) - 801c266: 429c cmp r4, r3 - 801c268: d101 bne.n 801c26e <__swsetup_r+0x46> - 801c26a: 68ac ldr r4, [r5, #8] - 801c26c: e7eb b.n 801c246 <__swsetup_r+0x1e> - 801c26e: 4b24 ldr r3, [pc, #144] ; (801c300 <__swsetup_r+0xd8>) - 801c270: 429c cmp r4, r3 - 801c272: bf08 it eq - 801c274: 68ec ldreq r4, [r5, #12] - 801c276: e7e6 b.n 801c246 <__swsetup_r+0x1e> - 801c278: 0751 lsls r1, r2, #29 - 801c27a: d512 bpl.n 801c2a2 <__swsetup_r+0x7a> - 801c27c: 6b61 ldr r1, [r4, #52] ; 0x34 - 801c27e: b141 cbz r1, 801c292 <__swsetup_r+0x6a> - 801c280: f104 0344 add.w r3, r4, #68 ; 0x44 - 801c284: 4299 cmp r1, r3 - 801c286: d002 beq.n 801c28e <__swsetup_r+0x66> - 801c288: 4630 mov r0, r6 - 801c28a: f7ff fa53 bl 801b734 <_free_r> - 801c28e: 2300 movs r3, #0 - 801c290: 6363 str r3, [r4, #52] ; 0x34 - 801c292: 89a3 ldrh r3, [r4, #12] - 801c294: f023 0324 bic.w r3, r3, #36 ; 0x24 - 801c298: 81a3 strh r3, [r4, #12] - 801c29a: 2300 movs r3, #0 - 801c29c: 6063 str r3, [r4, #4] - 801c29e: 6923 ldr r3, [r4, #16] - 801c2a0: 6023 str r3, [r4, #0] - 801c2a2: 89a3 ldrh r3, [r4, #12] - 801c2a4: f043 0308 orr.w r3, r3, #8 - 801c2a8: 81a3 strh r3, [r4, #12] - 801c2aa: 6923 ldr r3, [r4, #16] - 801c2ac: b94b cbnz r3, 801c2c2 <__swsetup_r+0x9a> - 801c2ae: 89a3 ldrh r3, [r4, #12] - 801c2b0: f403 7320 and.w r3, r3, #640 ; 0x280 - 801c2b4: f5b3 7f00 cmp.w r3, #512 ; 0x200 - 801c2b8: d003 beq.n 801c2c2 <__swsetup_r+0x9a> - 801c2ba: 4621 mov r1, r4 - 801c2bc: 4630 mov r0, r6 - 801c2be: f000 f917 bl 801c4f0 <__smakebuf_r> - 801c2c2: 89a2 ldrh r2, [r4, #12] - 801c2c4: f012 0301 ands.w r3, r2, #1 - 801c2c8: d00c beq.n 801c2e4 <__swsetup_r+0xbc> - 801c2ca: 2300 movs r3, #0 - 801c2cc: 60a3 str r3, [r4, #8] - 801c2ce: 6963 ldr r3, [r4, #20] - 801c2d0: 425b negs r3, r3 - 801c2d2: 61a3 str r3, [r4, #24] - 801c2d4: 6923 ldr r3, [r4, #16] - 801c2d6: b953 cbnz r3, 801c2ee <__swsetup_r+0xc6> - 801c2d8: f9b4 300c ldrsh.w r3, [r4, #12] - 801c2dc: f013 0080 ands.w r0, r3, #128 ; 0x80 - 801c2e0: d1ba bne.n 801c258 <__swsetup_r+0x30> - 801c2e2: bd70 pop {r4, r5, r6, pc} - 801c2e4: 0792 lsls r2, r2, #30 - 801c2e6: bf58 it pl - 801c2e8: 6963 ldrpl r3, [r4, #20] - 801c2ea: 60a3 str r3, [r4, #8] - 801c2ec: e7f2 b.n 801c2d4 <__swsetup_r+0xac> - 801c2ee: 2000 movs r0, #0 - 801c2f0: e7f7 b.n 801c2e2 <__swsetup_r+0xba> - 801c2f2: bf00 nop - 801c2f4: 20000084 .word 0x20000084 - 801c2f8: 080216b0 .word 0x080216b0 - 801c2fc: 080216d0 .word 0x080216d0 - 801c300: 08021690 .word 0x08021690 +0801bd68 <__smakebuf_r>: + 801bd68: 898b ldrh r3, [r1, #12] + 801bd6a: b573 push {r0, r1, r4, r5, r6, lr} + 801bd6c: 079d lsls r5, r3, #30 + 801bd6e: 4606 mov r6, r0 + 801bd70: 460c mov r4, r1 + 801bd72: d507 bpl.n 801bd84 <__smakebuf_r+0x1c> + 801bd74: f104 0347 add.w r3, r4, #71 ; 0x47 + 801bd78: 6023 str r3, [r4, #0] + 801bd7a: 6123 str r3, [r4, #16] + 801bd7c: 2301 movs r3, #1 + 801bd7e: 6163 str r3, [r4, #20] + 801bd80: b002 add sp, #8 + 801bd82: bd70 pop {r4, r5, r6, pc} + 801bd84: ab01 add r3, sp, #4 + 801bd86: 466a mov r2, sp + 801bd88: f7ff ffca bl 801bd20 <__swhatbuf_r> + 801bd8c: 9900 ldr r1, [sp, #0] + 801bd8e: 4605 mov r5, r0 + 801bd90: 4630 mov r0, r6 + 801bd92: f7ff faab bl 801b2ec <_malloc_r> + 801bd96: b948 cbnz r0, 801bdac <__smakebuf_r+0x44> + 801bd98: f9b4 300c ldrsh.w r3, [r4, #12] + 801bd9c: 059a lsls r2, r3, #22 + 801bd9e: d4ef bmi.n 801bd80 <__smakebuf_r+0x18> + 801bda0: f023 0303 bic.w r3, r3, #3 + 801bda4: f043 0302 orr.w r3, r3, #2 + 801bda8: 81a3 strh r3, [r4, #12] + 801bdaa: e7e3 b.n 801bd74 <__smakebuf_r+0xc> + 801bdac: 4b0d ldr r3, [pc, #52] ; (801bde4 <__smakebuf_r+0x7c>) + 801bdae: 62b3 str r3, [r6, #40] ; 0x28 + 801bdb0: 89a3 ldrh r3, [r4, #12] + 801bdb2: 6020 str r0, [r4, #0] + 801bdb4: f043 0380 orr.w r3, r3, #128 ; 0x80 + 801bdb8: 81a3 strh r3, [r4, #12] + 801bdba: 9b00 ldr r3, [sp, #0] + 801bdbc: 6163 str r3, [r4, #20] + 801bdbe: 9b01 ldr r3, [sp, #4] + 801bdc0: 6120 str r0, [r4, #16] + 801bdc2: b15b cbz r3, 801bddc <__smakebuf_r+0x74> + 801bdc4: f9b4 100e ldrsh.w r1, [r4, #14] + 801bdc8: 4630 mov r0, r6 + 801bdca: f000 f833 bl 801be34 <_isatty_r> + 801bdce: b128 cbz r0, 801bddc <__smakebuf_r+0x74> + 801bdd0: 89a3 ldrh r3, [r4, #12] + 801bdd2: f023 0303 bic.w r3, r3, #3 + 801bdd6: f043 0301 orr.w r3, r3, #1 + 801bdda: 81a3 strh r3, [r4, #12] + 801bddc: 89a3 ldrh r3, [r4, #12] + 801bdde: 431d orrs r5, r3 + 801bde0: 81a5 strh r5, [r4, #12] + 801bde2: e7cd b.n 801bd80 <__smakebuf_r+0x18> + 801bde4: 0801b0f5 .word 0x0801b0f5 -0801c304 <_close_r>: - 801c304: b538 push {r3, r4, r5, lr} - 801c306: 4c06 ldr r4, [pc, #24] ; (801c320 <_close_r+0x1c>) - 801c308: 2300 movs r3, #0 - 801c30a: 4605 mov r5, r0 - 801c30c: 4608 mov r0, r1 - 801c30e: 6023 str r3, [r4, #0] - 801c310: f7e8 fcc1 bl 8004c96 <_close> - 801c314: 1c43 adds r3, r0, #1 - 801c316: d102 bne.n 801c31e <_close_r+0x1a> - 801c318: 6823 ldr r3, [r4, #0] - 801c31a: b103 cbz r3, 801c31e <_close_r+0x1a> - 801c31c: 602b str r3, [r5, #0] - 801c31e: bd38 pop {r3, r4, r5, pc} - 801c320: 2000f608 .word 0x2000f608 +0801bde8 <__malloc_lock>: + 801bde8: 4770 bx lr -0801c324 <__sflush_r>: - 801c324: 898a ldrh r2, [r1, #12] - 801c326: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 801c32a: 4605 mov r5, r0 - 801c32c: 0710 lsls r0, r2, #28 - 801c32e: 460c mov r4, r1 - 801c330: d458 bmi.n 801c3e4 <__sflush_r+0xc0> - 801c332: 684b ldr r3, [r1, #4] - 801c334: 2b00 cmp r3, #0 - 801c336: dc05 bgt.n 801c344 <__sflush_r+0x20> - 801c338: 6c0b ldr r3, [r1, #64] ; 0x40 - 801c33a: 2b00 cmp r3, #0 - 801c33c: dc02 bgt.n 801c344 <__sflush_r+0x20> - 801c33e: 2000 movs r0, #0 - 801c340: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 801c344: 6ae6 ldr r6, [r4, #44] ; 0x2c - 801c346: 2e00 cmp r6, #0 - 801c348: d0f9 beq.n 801c33e <__sflush_r+0x1a> - 801c34a: 2300 movs r3, #0 - 801c34c: f412 5280 ands.w r2, r2, #4096 ; 0x1000 - 801c350: 682f ldr r7, [r5, #0] - 801c352: 6a21 ldr r1, [r4, #32] - 801c354: 602b str r3, [r5, #0] - 801c356: d032 beq.n 801c3be <__sflush_r+0x9a> - 801c358: 6d60 ldr r0, [r4, #84] ; 0x54 - 801c35a: 89a3 ldrh r3, [r4, #12] - 801c35c: 075a lsls r2, r3, #29 - 801c35e: d505 bpl.n 801c36c <__sflush_r+0x48> - 801c360: 6863 ldr r3, [r4, #4] - 801c362: 1ac0 subs r0, r0, r3 - 801c364: 6b63 ldr r3, [r4, #52] ; 0x34 - 801c366: b10b cbz r3, 801c36c <__sflush_r+0x48> - 801c368: 6c23 ldr r3, [r4, #64] ; 0x40 - 801c36a: 1ac0 subs r0, r0, r3 - 801c36c: 2300 movs r3, #0 - 801c36e: 4602 mov r2, r0 - 801c370: 6ae6 ldr r6, [r4, #44] ; 0x2c - 801c372: 6a21 ldr r1, [r4, #32] - 801c374: 4628 mov r0, r5 - 801c376: 47b0 blx r6 - 801c378: 1c43 adds r3, r0, #1 - 801c37a: 89a3 ldrh r3, [r4, #12] - 801c37c: d106 bne.n 801c38c <__sflush_r+0x68> - 801c37e: 6829 ldr r1, [r5, #0] - 801c380: 291d cmp r1, #29 - 801c382: d848 bhi.n 801c416 <__sflush_r+0xf2> - 801c384: 4a29 ldr r2, [pc, #164] ; (801c42c <__sflush_r+0x108>) - 801c386: 40ca lsrs r2, r1 - 801c388: 07d6 lsls r6, r2, #31 - 801c38a: d544 bpl.n 801c416 <__sflush_r+0xf2> - 801c38c: 2200 movs r2, #0 - 801c38e: 6062 str r2, [r4, #4] - 801c390: 04d9 lsls r1, r3, #19 - 801c392: 6922 ldr r2, [r4, #16] - 801c394: 6022 str r2, [r4, #0] - 801c396: d504 bpl.n 801c3a2 <__sflush_r+0x7e> - 801c398: 1c42 adds r2, r0, #1 - 801c39a: d101 bne.n 801c3a0 <__sflush_r+0x7c> - 801c39c: 682b ldr r3, [r5, #0] - 801c39e: b903 cbnz r3, 801c3a2 <__sflush_r+0x7e> - 801c3a0: 6560 str r0, [r4, #84] ; 0x54 - 801c3a2: 6b61 ldr r1, [r4, #52] ; 0x34 - 801c3a4: 602f str r7, [r5, #0] - 801c3a6: 2900 cmp r1, #0 - 801c3a8: d0c9 beq.n 801c33e <__sflush_r+0x1a> - 801c3aa: f104 0344 add.w r3, r4, #68 ; 0x44 - 801c3ae: 4299 cmp r1, r3 - 801c3b0: d002 beq.n 801c3b8 <__sflush_r+0x94> - 801c3b2: 4628 mov r0, r5 - 801c3b4: f7ff f9be bl 801b734 <_free_r> - 801c3b8: 2000 movs r0, #0 - 801c3ba: 6360 str r0, [r4, #52] ; 0x34 - 801c3bc: e7c0 b.n 801c340 <__sflush_r+0x1c> - 801c3be: 2301 movs r3, #1 - 801c3c0: 4628 mov r0, r5 - 801c3c2: 47b0 blx r6 - 801c3c4: 1c41 adds r1, r0, #1 - 801c3c6: d1c8 bne.n 801c35a <__sflush_r+0x36> - 801c3c8: 682b ldr r3, [r5, #0] - 801c3ca: 2b00 cmp r3, #0 - 801c3cc: d0c5 beq.n 801c35a <__sflush_r+0x36> - 801c3ce: 2b1d cmp r3, #29 - 801c3d0: d001 beq.n 801c3d6 <__sflush_r+0xb2> - 801c3d2: 2b16 cmp r3, #22 - 801c3d4: d101 bne.n 801c3da <__sflush_r+0xb6> - 801c3d6: 602f str r7, [r5, #0] - 801c3d8: e7b1 b.n 801c33e <__sflush_r+0x1a> - 801c3da: 89a3 ldrh r3, [r4, #12] - 801c3dc: f043 0340 orr.w r3, r3, #64 ; 0x40 - 801c3e0: 81a3 strh r3, [r4, #12] - 801c3e2: e7ad b.n 801c340 <__sflush_r+0x1c> - 801c3e4: 690f ldr r7, [r1, #16] - 801c3e6: 2f00 cmp r7, #0 - 801c3e8: d0a9 beq.n 801c33e <__sflush_r+0x1a> - 801c3ea: 0793 lsls r3, r2, #30 - 801c3ec: 680e ldr r6, [r1, #0] - 801c3ee: bf08 it eq - 801c3f0: 694b ldreq r3, [r1, #20] - 801c3f2: 600f str r7, [r1, #0] - 801c3f4: bf18 it ne - 801c3f6: 2300 movne r3, #0 - 801c3f8: eba6 0807 sub.w r8, r6, r7 - 801c3fc: 608b str r3, [r1, #8] - 801c3fe: f1b8 0f00 cmp.w r8, #0 - 801c402: dd9c ble.n 801c33e <__sflush_r+0x1a> - 801c404: 4643 mov r3, r8 - 801c406: 463a mov r2, r7 - 801c408: 6a21 ldr r1, [r4, #32] - 801c40a: 6aa6 ldr r6, [r4, #40] ; 0x28 - 801c40c: 4628 mov r0, r5 - 801c40e: 47b0 blx r6 - 801c410: 2800 cmp r0, #0 - 801c412: dc06 bgt.n 801c422 <__sflush_r+0xfe> - 801c414: 89a3 ldrh r3, [r4, #12] - 801c416: f043 0340 orr.w r3, r3, #64 ; 0x40 - 801c41a: 81a3 strh r3, [r4, #12] - 801c41c: f04f 30ff mov.w r0, #4294967295 - 801c420: e78e b.n 801c340 <__sflush_r+0x1c> - 801c422: 4407 add r7, r0 - 801c424: eba8 0800 sub.w r8, r8, r0 - 801c428: e7e9 b.n 801c3fe <__sflush_r+0xda> - 801c42a: bf00 nop - 801c42c: 20400001 .word 0x20400001 +0801bdea <__malloc_unlock>: + 801bdea: 4770 bx lr -0801c430 <_fflush_r>: - 801c430: b538 push {r3, r4, r5, lr} - 801c432: 690b ldr r3, [r1, #16] - 801c434: 4605 mov r5, r0 - 801c436: 460c mov r4, r1 - 801c438: b1db cbz r3, 801c472 <_fflush_r+0x42> - 801c43a: b118 cbz r0, 801c444 <_fflush_r+0x14> - 801c43c: 6983 ldr r3, [r0, #24] - 801c43e: b90b cbnz r3, 801c444 <_fflush_r+0x14> - 801c440: f7ff f8e6 bl 801b610 <__sinit> - 801c444: 4b0c ldr r3, [pc, #48] ; (801c478 <_fflush_r+0x48>) - 801c446: 429c cmp r4, r3 - 801c448: d109 bne.n 801c45e <_fflush_r+0x2e> - 801c44a: 686c ldr r4, [r5, #4] - 801c44c: f9b4 300c ldrsh.w r3, [r4, #12] - 801c450: b17b cbz r3, 801c472 <_fflush_r+0x42> - 801c452: 4621 mov r1, r4 - 801c454: 4628 mov r0, r5 - 801c456: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 801c45a: f7ff bf63 b.w 801c324 <__sflush_r> - 801c45e: 4b07 ldr r3, [pc, #28] ; (801c47c <_fflush_r+0x4c>) - 801c460: 429c cmp r4, r3 - 801c462: d101 bne.n 801c468 <_fflush_r+0x38> - 801c464: 68ac ldr r4, [r5, #8] - 801c466: e7f1 b.n 801c44c <_fflush_r+0x1c> - 801c468: 4b05 ldr r3, [pc, #20] ; (801c480 <_fflush_r+0x50>) - 801c46a: 429c cmp r4, r3 - 801c46c: bf08 it eq - 801c46e: 68ec ldreq r4, [r5, #12] - 801c470: e7ec b.n 801c44c <_fflush_r+0x1c> - 801c472: 2000 movs r0, #0 - 801c474: bd38 pop {r3, r4, r5, pc} - 801c476: bf00 nop - 801c478: 080216b0 .word 0x080216b0 - 801c47c: 080216d0 .word 0x080216d0 - 801c480: 08021690 .word 0x08021690 +0801bdec <_read_r>: + 801bdec: b538 push {r3, r4, r5, lr} + 801bdee: 4c07 ldr r4, [pc, #28] ; (801be0c <_read_r+0x20>) + 801bdf0: 4605 mov r5, r0 + 801bdf2: 4608 mov r0, r1 + 801bdf4: 4611 mov r1, r2 + 801bdf6: 2200 movs r2, #0 + 801bdf8: 6022 str r2, [r4, #0] + 801bdfa: 461a mov r2, r3 + 801bdfc: f7e8 fcc6 bl 800478c <_read> + 801be00: 1c43 adds r3, r0, #1 + 801be02: d102 bne.n 801be0a <_read_r+0x1e> + 801be04: 6823 ldr r3, [r4, #0] + 801be06: b103 cbz r3, 801be0a <_read_r+0x1e> + 801be08: 602b str r3, [r5, #0] + 801be0a: bd38 pop {r3, r4, r5, pc} + 801be0c: 2000f604 .word 0x2000f604 -0801c484 <_lseek_r>: - 801c484: b538 push {r3, r4, r5, lr} - 801c486: 4c07 ldr r4, [pc, #28] ; (801c4a4 <_lseek_r+0x20>) - 801c488: 4605 mov r5, r0 - 801c48a: 4608 mov r0, r1 - 801c48c: 4611 mov r1, r2 - 801c48e: 2200 movs r2, #0 - 801c490: 6022 str r2, [r4, #0] - 801c492: 461a mov r2, r3 - 801c494: f7e8 fc26 bl 8004ce4 <_lseek> - 801c498: 1c43 adds r3, r0, #1 - 801c49a: d102 bne.n 801c4a2 <_lseek_r+0x1e> - 801c49c: 6823 ldr r3, [r4, #0] - 801c49e: b103 cbz r3, 801c4a2 <_lseek_r+0x1e> - 801c4a0: 602b str r3, [r5, #0] - 801c4a2: bd38 pop {r3, r4, r5, pc} - 801c4a4: 2000f608 .word 0x2000f608 +0801be10 <_fstat_r>: + 801be10: b538 push {r3, r4, r5, lr} + 801be12: 4c07 ldr r4, [pc, #28] ; (801be30 <_fstat_r+0x20>) + 801be14: 2300 movs r3, #0 + 801be16: 4605 mov r5, r0 + 801be18: 4608 mov r0, r1 + 801be1a: 4611 mov r1, r2 + 801be1c: 6023 str r3, [r4, #0] + 801be1e: f7e8 fcfa bl 8004816 <_fstat> + 801be22: 1c43 adds r3, r0, #1 + 801be24: d102 bne.n 801be2c <_fstat_r+0x1c> + 801be26: 6823 ldr r3, [r4, #0] + 801be28: b103 cbz r3, 801be2c <_fstat_r+0x1c> + 801be2a: 602b str r3, [r5, #0] + 801be2c: bd38 pop {r3, r4, r5, pc} + 801be2e: bf00 nop + 801be30: 2000f604 .word 0x2000f604 -0801c4a8 <__swhatbuf_r>: - 801c4a8: b570 push {r4, r5, r6, lr} - 801c4aa: 460e mov r6, r1 - 801c4ac: f9b1 100e ldrsh.w r1, [r1, #14] - 801c4b0: 2900 cmp r1, #0 - 801c4b2: b096 sub sp, #88 ; 0x58 - 801c4b4: 4614 mov r4, r2 - 801c4b6: 461d mov r5, r3 - 801c4b8: da07 bge.n 801c4ca <__swhatbuf_r+0x22> - 801c4ba: 2300 movs r3, #0 - 801c4bc: 602b str r3, [r5, #0] - 801c4be: 89b3 ldrh r3, [r6, #12] - 801c4c0: 061a lsls r2, r3, #24 - 801c4c2: d410 bmi.n 801c4e6 <__swhatbuf_r+0x3e> - 801c4c4: f44f 6380 mov.w r3, #1024 ; 0x400 - 801c4c8: e00e b.n 801c4e8 <__swhatbuf_r+0x40> - 801c4ca: 466a mov r2, sp - 801c4cc: f000 f88a bl 801c5e4 <_fstat_r> - 801c4d0: 2800 cmp r0, #0 - 801c4d2: dbf2 blt.n 801c4ba <__swhatbuf_r+0x12> - 801c4d4: 9a01 ldr r2, [sp, #4] - 801c4d6: f402 4270 and.w r2, r2, #61440 ; 0xf000 - 801c4da: f5a2 5300 sub.w r3, r2, #8192 ; 0x2000 - 801c4de: 425a negs r2, r3 - 801c4e0: 415a adcs r2, r3 - 801c4e2: 602a str r2, [r5, #0] - 801c4e4: e7ee b.n 801c4c4 <__swhatbuf_r+0x1c> - 801c4e6: 2340 movs r3, #64 ; 0x40 - 801c4e8: 2000 movs r0, #0 - 801c4ea: 6023 str r3, [r4, #0] - 801c4ec: b016 add sp, #88 ; 0x58 - 801c4ee: bd70 pop {r4, r5, r6, pc} +0801be34 <_isatty_r>: + 801be34: b538 push {r3, r4, r5, lr} + 801be36: 4c06 ldr r4, [pc, #24] ; (801be50 <_isatty_r+0x1c>) + 801be38: 2300 movs r3, #0 + 801be3a: 4605 mov r5, r0 + 801be3c: 4608 mov r0, r1 + 801be3e: 6023 str r3, [r4, #0] + 801be40: f7e8 fcf9 bl 8004836 <_isatty> + 801be44: 1c43 adds r3, r0, #1 + 801be46: d102 bne.n 801be4e <_isatty_r+0x1a> + 801be48: 6823 ldr r3, [r4, #0] + 801be4a: b103 cbz r3, 801be4e <_isatty_r+0x1a> + 801be4c: 602b str r3, [r5, #0] + 801be4e: bd38 pop {r3, r4, r5, pc} + 801be50: 2000f604 .word 0x2000f604 -0801c4f0 <__smakebuf_r>: - 801c4f0: 898b ldrh r3, [r1, #12] - 801c4f2: b573 push {r0, r1, r4, r5, r6, lr} - 801c4f4: 079d lsls r5, r3, #30 - 801c4f6: 4606 mov r6, r0 - 801c4f8: 460c mov r4, r1 - 801c4fa: d507 bpl.n 801c50c <__smakebuf_r+0x1c> - 801c4fc: f104 0347 add.w r3, r4, #71 ; 0x47 - 801c500: 6023 str r3, [r4, #0] - 801c502: 6123 str r3, [r4, #16] - 801c504: 2301 movs r3, #1 - 801c506: 6163 str r3, [r4, #20] - 801c508: b002 add sp, #8 - 801c50a: bd70 pop {r4, r5, r6, pc} - 801c50c: ab01 add r3, sp, #4 - 801c50e: 466a mov r2, sp - 801c510: f7ff ffca bl 801c4a8 <__swhatbuf_r> - 801c514: 9900 ldr r1, [sp, #0] - 801c516: 4605 mov r5, r0 - 801c518: 4630 mov r0, r6 - 801c51a: f7ff f959 bl 801b7d0 <_malloc_r> - 801c51e: b948 cbnz r0, 801c534 <__smakebuf_r+0x44> - 801c520: f9b4 300c ldrsh.w r3, [r4, #12] - 801c524: 059a lsls r2, r3, #22 - 801c526: d4ef bmi.n 801c508 <__smakebuf_r+0x18> - 801c528: f023 0303 bic.w r3, r3, #3 - 801c52c: f043 0302 orr.w r3, r3, #2 - 801c530: 81a3 strh r3, [r4, #12] - 801c532: e7e3 b.n 801c4fc <__smakebuf_r+0xc> - 801c534: 4b0d ldr r3, [pc, #52] ; (801c56c <__smakebuf_r+0x7c>) - 801c536: 62b3 str r3, [r6, #40] ; 0x28 - 801c538: 89a3 ldrh r3, [r4, #12] - 801c53a: 6020 str r0, [r4, #0] - 801c53c: f043 0380 orr.w r3, r3, #128 ; 0x80 - 801c540: 81a3 strh r3, [r4, #12] - 801c542: 9b00 ldr r3, [sp, #0] - 801c544: 6163 str r3, [r4, #20] - 801c546: 9b01 ldr r3, [sp, #4] - 801c548: 6120 str r0, [r4, #16] - 801c54a: b15b cbz r3, 801c564 <__smakebuf_r+0x74> - 801c54c: f9b4 100e ldrsh.w r1, [r4, #14] - 801c550: 4630 mov r0, r6 - 801c552: f000 f859 bl 801c608 <_isatty_r> - 801c556: b128 cbz r0, 801c564 <__smakebuf_r+0x74> - 801c558: 89a3 ldrh r3, [r4, #12] - 801c55a: f023 0303 bic.w r3, r3, #3 - 801c55e: f043 0301 orr.w r3, r3, #1 - 801c562: 81a3 strh r3, [r4, #12] - 801c564: 89a3 ldrh r3, [r4, #12] - 801c566: 431d orrs r5, r3 - 801c568: 81a5 strh r5, [r4, #12] - 801c56a: e7cd b.n 801c508 <__smakebuf_r+0x18> - 801c56c: 0801b5d9 .word 0x0801b5d9 +0801be54 <_init>: + 801be54: b5f8 push {r3, r4, r5, r6, r7, lr} + 801be56: bf00 nop + 801be58: bcf8 pop {r3, r4, r5, r6, r7} + 801be5a: bc08 pop {r3} + 801be5c: 469e mov lr, r3 + 801be5e: 4770 bx lr -0801c570 <__malloc_lock>: - 801c570: 4770 bx lr - -0801c572 <__malloc_unlock>: - 801c572: 4770 bx lr - -0801c574 <_realloc_r>: - 801c574: b5f8 push {r3, r4, r5, r6, r7, lr} - 801c576: 4607 mov r7, r0 - 801c578: 4614 mov r4, r2 - 801c57a: 460e mov r6, r1 - 801c57c: b921 cbnz r1, 801c588 <_realloc_r+0x14> - 801c57e: 4611 mov r1, r2 - 801c580: e8bd 40f8 ldmia.w sp!, {r3, r4, r5, r6, r7, lr} - 801c584: f7ff b924 b.w 801b7d0 <_malloc_r> - 801c588: b922 cbnz r2, 801c594 <_realloc_r+0x20> - 801c58a: f7ff f8d3 bl 801b734 <_free_r> - 801c58e: 4625 mov r5, r4 - 801c590: 4628 mov r0, r5 - 801c592: bdf8 pop {r3, r4, r5, r6, r7, pc} - 801c594: f000 f848 bl 801c628 <_malloc_usable_size_r> - 801c598: 42a0 cmp r0, r4 - 801c59a: d20f bcs.n 801c5bc <_realloc_r+0x48> - 801c59c: 4621 mov r1, r4 - 801c59e: 4638 mov r0, r7 - 801c5a0: f7ff f916 bl 801b7d0 <_malloc_r> - 801c5a4: 4605 mov r5, r0 - 801c5a6: 2800 cmp r0, #0 - 801c5a8: d0f2 beq.n 801c590 <_realloc_r+0x1c> - 801c5aa: 4631 mov r1, r6 - 801c5ac: 4622 mov r2, r4 - 801c5ae: f7fe ff56 bl 801b45e - 801c5b2: 4631 mov r1, r6 - 801c5b4: 4638 mov r0, r7 - 801c5b6: f7ff f8bd bl 801b734 <_free_r> - 801c5ba: e7e9 b.n 801c590 <_realloc_r+0x1c> - 801c5bc: 4635 mov r5, r6 - 801c5be: e7e7 b.n 801c590 <_realloc_r+0x1c> - -0801c5c0 <_read_r>: - 801c5c0: b538 push {r3, r4, r5, lr} - 801c5c2: 4c07 ldr r4, [pc, #28] ; (801c5e0 <_read_r+0x20>) - 801c5c4: 4605 mov r5, r0 - 801c5c6: 4608 mov r0, r1 - 801c5c8: 4611 mov r1, r2 - 801c5ca: 2200 movs r2, #0 - 801c5cc: 6022 str r2, [r4, #0] - 801c5ce: 461a mov r2, r3 - 801c5d0: f7e8 fb28 bl 8004c24 <_read> - 801c5d4: 1c43 adds r3, r0, #1 - 801c5d6: d102 bne.n 801c5de <_read_r+0x1e> - 801c5d8: 6823 ldr r3, [r4, #0] - 801c5da: b103 cbz r3, 801c5de <_read_r+0x1e> - 801c5dc: 602b str r3, [r5, #0] - 801c5de: bd38 pop {r3, r4, r5, pc} - 801c5e0: 2000f608 .word 0x2000f608 - -0801c5e4 <_fstat_r>: - 801c5e4: b538 push {r3, r4, r5, lr} - 801c5e6: 4c07 ldr r4, [pc, #28] ; (801c604 <_fstat_r+0x20>) - 801c5e8: 2300 movs r3, #0 - 801c5ea: 4605 mov r5, r0 - 801c5ec: 4608 mov r0, r1 - 801c5ee: 4611 mov r1, r2 - 801c5f0: 6023 str r3, [r4, #0] - 801c5f2: f7e8 fb5c bl 8004cae <_fstat> - 801c5f6: 1c43 adds r3, r0, #1 - 801c5f8: d102 bne.n 801c600 <_fstat_r+0x1c> - 801c5fa: 6823 ldr r3, [r4, #0] - 801c5fc: b103 cbz r3, 801c600 <_fstat_r+0x1c> - 801c5fe: 602b str r3, [r5, #0] - 801c600: bd38 pop {r3, r4, r5, pc} - 801c602: bf00 nop - 801c604: 2000f608 .word 0x2000f608 - -0801c608 <_isatty_r>: - 801c608: b538 push {r3, r4, r5, lr} - 801c60a: 4c06 ldr r4, [pc, #24] ; (801c624 <_isatty_r+0x1c>) - 801c60c: 2300 movs r3, #0 - 801c60e: 4605 mov r5, r0 - 801c610: 4608 mov r0, r1 - 801c612: 6023 str r3, [r4, #0] - 801c614: f7e8 fb5b bl 8004cce <_isatty> - 801c618: 1c43 adds r3, r0, #1 - 801c61a: d102 bne.n 801c622 <_isatty_r+0x1a> - 801c61c: 6823 ldr r3, [r4, #0] - 801c61e: b103 cbz r3, 801c622 <_isatty_r+0x1a> - 801c620: 602b str r3, [r5, #0] - 801c622: bd38 pop {r3, r4, r5, pc} - 801c624: 2000f608 .word 0x2000f608 - -0801c628 <_malloc_usable_size_r>: - 801c628: f851 3c04 ldr.w r3, [r1, #-4] - 801c62c: 1f18 subs r0, r3, #4 - 801c62e: 2b00 cmp r3, #0 - 801c630: bfbc itt lt - 801c632: 580b ldrlt r3, [r1, r0] - 801c634: 18c0 addlt r0, r0, r3 - 801c636: 4770 bx lr - -0801c638 <_init>: - 801c638: b5f8 push {r3, r4, r5, r6, r7, lr} - 801c63a: bf00 nop - 801c63c: bcf8 pop {r3, r4, r5, r6, r7} - 801c63e: bc08 pop {r3} - 801c640: 469e mov lr, r3 - 801c642: 4770 bx lr - -0801c644 <_fini>: - 801c644: b5f8 push {r3, r4, r5, r6, r7, lr} - 801c646: bf00 nop - 801c648: bcf8 pop {r3, r4, r5, r6, r7} - 801c64a: bc08 pop {r3} - 801c64c: 469e mov lr, r3 - 801c64e: 4770 bx lr +0801be60 <_fini>: + 801be60: b5f8 push {r3, r4, r5, r6, r7, lr} + 801be62: bf00 nop + 801be64: bcf8 pop {r3, r4, r5, r6, r7} + 801be66: bc08 pop {r3} + 801be68: 469e mov lr, r3 + 801be6a: 4770 bx lr diff --git a/Debug/Space_Invaders.map b/Debug/Space_Invaders.map index 6e9ab96..c328dea 100644 --- a/Debug/Space_Invaders.map +++ b/Debug/Space_Invaders.map @@ -24,8 +24,6 @@ c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externalt LWIP/Target/ethernetif.o (printf) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-rand.o) Middlewares/Third_Party/LwIP/src/core/tcp.o (rand) -c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sprintf.o) - Core/Src/main.o (sprintf) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-strcmp.o) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-locale.o) (strcmp) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-strlen.o) @@ -48,12 +46,10 @@ c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externalt c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-malloc.o) (_free_r) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-mallocr.o) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) (_malloc_r) -c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-svfprintf.o) - c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sprintf.o) (_svfprintf_r) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-printf.o) (_vfprintf_r) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf_i.o) - c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-svfprintf.o) (_printf_i) + c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) (_printf_i) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sbrkr.o) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-mallocr.o) (_sbrk_r) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-stdio.o) @@ -75,11 +71,11 @@ c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externalt c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-makebuf.o) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-wsetup.o) (__smakebuf_r) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memchr.o) - c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-svfprintf.o) (memchr) + c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) (memchr) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-mlock.o) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-freer.o) (__malloc_lock) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-reallocr.o) - c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-svfprintf.o) (_realloc_r) + c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fvwrite.o) (_realloc_r) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-readr.o) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-stdio.o) (_read_r) c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fstatr.o) @@ -110,7 +106,6 @@ memp_memory_NETBUF_base 0x23 Middlewares/Third_Party/LwIP/src/core/memp.o tcp_active_pcbs_changed 0x1 Middlewares/Third_Party/LwIP/src/core/tcp.o -IRQ_BPHandle 0x4 Core/Src/main.o tcp_active_pcbs 0x4 Middlewares/Third_Party/LwIP/src/core/tcp.o udp_pcbs 0x4 Middlewares/Third_Party/LwIP/src/core/udp.o errno 0x4 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o @@ -508,7 +503,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Core/Src/main.o .debug_macro 0x0000000000000000 0x59 Core/Src/main.o .debug_macro 0x0000000000000000 0x14e Core/Src/main.o - .debug_macro 0x0000000000000000 0x3f9 Core/Src/main.o + .debug_macro 0x0000000000000000 0x415 Core/Src/main.o .debug_macro 0x0000000000000000 0x15a Core/Src/main.o .debug_macro 0x0000000000000000 0xde Core/Src/main.o .debug_macro 0x0000000000000000 0x1c Core/Src/main.o @@ -821,10 +816,18 @@ Discarded input sections 0x0000000000000000 0x28 Core/Src/stm32746g_discovery_lcd.o .text.BSP_LCD_GetBackColor 0x0000000000000000 0x2c Core/Src/stm32746g_discovery_lcd.o + .text.BSP_LCD_GetFont + 0x0000000000000000 0x2c Core/Src/stm32746g_discovery_lcd.o .text.BSP_LCD_ReadPixel 0x0000000000000000 0x14c Core/Src/stm32746g_discovery_lcd.o .text.BSP_LCD_ClearStringLine 0x0000000000000000 0xc8 Core/Src/stm32746g_discovery_lcd.o + .text.BSP_LCD_DisplayChar + 0x0000000000000000 0x88 Core/Src/stm32746g_discovery_lcd.o + .text.BSP_LCD_DisplayStringAt + 0x0000000000000000 0x188 Core/Src/stm32746g_discovery_lcd.o + .text.BSP_LCD_DisplayStringAtLine + 0x0000000000000000 0x2e Core/Src/stm32746g_discovery_lcd.o .text.BSP_LCD_DrawVLine 0x0000000000000000 0xc4 Core/Src/stm32746g_discovery_lcd.o .text.BSP_LCD_DrawLine @@ -843,6 +846,8 @@ Discarded input sections 0x0000000000000000 0x3c Core/Src/stm32746g_discovery_lcd.o .text.BSP_LCD_MspDeInit 0x0000000000000000 0x94 Core/Src/stm32746g_discovery_lcd.o + .text.DrawChar + 0x0000000000000000 0x170 Core/Src/stm32746g_discovery_lcd.o .text.FillTriangle 0x0000000000000000 0x17e Core/Src/stm32746g_discovery_lcd.o .debug_macro 0x0000000000000000 0xa5a Core/Src/stm32746g_discovery_lcd.o @@ -1325,7 +1330,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Core/Src/stm32f7xx_hal_msp.o .debug_macro 0x0000000000000000 0x59 Core/Src/stm32f7xx_hal_msp.o .debug_macro 0x0000000000000000 0x14e Core/Src/stm32f7xx_hal_msp.o - .debug_macro 0x0000000000000000 0x3f9 Core/Src/stm32f7xx_hal_msp.o + .debug_macro 0x0000000000000000 0x415 Core/Src/stm32f7xx_hal_msp.o .group 0x0000000000000000 0xc Core/Src/stm32f7xx_hal_timebase_tim.o .group 0x0000000000000000 0xc Core/Src/stm32f7xx_hal_timebase_tim.o .group 0x0000000000000000 0xc Core/Src/stm32f7xx_hal_timebase_tim.o @@ -1569,7 +1574,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Core/Src/stm32f7xx_it.o .debug_macro 0x0000000000000000 0x59 Core/Src/stm32f7xx_it.o .debug_macro 0x0000000000000000 0x14e Core/Src/stm32f7xx_it.o - .debug_macro 0x0000000000000000 0x3f9 Core/Src/stm32f7xx_it.o + .debug_macro 0x0000000000000000 0x415 Core/Src/stm32f7xx_it.o .group 0x0000000000000000 0xc Core/Src/syscalls.o .group 0x0000000000000000 0xc Core/Src/syscalls.o .group 0x0000000000000000 0xc Core/Src/syscalls.o @@ -1777,7 +1782,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Core/Src/syscalls.o .debug_macro 0x0000000000000000 0x59 Core/Src/syscalls.o .debug_macro 0x0000000000000000 0x14e Core/Src/syscalls.o - .debug_macro 0x0000000000000000 0x3f9 Core/Src/syscalls.o + .debug_macro 0x0000000000000000 0x415 Core/Src/syscalls.o .debug_macro 0x0000000000000000 0x1c Core/Src/syscalls.o .debug_macro 0x0000000000000000 0x10 Core/Src/syscalls.o .debug_macro 0x0000000000000000 0x16 Core/Src/syscalls.o @@ -1967,7 +1972,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Core/Src/sysmem.o .debug_macro 0x0000000000000000 0x59 Core/Src/sysmem.o .debug_macro 0x0000000000000000 0x14e Core/Src/sysmem.o - .debug_macro 0x0000000000000000 0x3f9 Core/Src/sysmem.o + .debug_macro 0x0000000000000000 0x415 Core/Src/sysmem.o .debug_macro 0x0000000000000000 0xd0 Core/Src/sysmem.o .debug_macro 0x0000000000000000 0x16 Core/Src/sysmem.o .debug_macro 0x0000000000000000 0x10 Core/Src/sysmem.o @@ -4602,12 +4607,10 @@ Discarded input sections .bss 0x0000000000000000 0x0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o .text.HAL_GPIO_DeInit 0x0000000000000000 0x214 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o - .text.HAL_GPIO_TogglePin - 0x0000000000000000 0x34 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o + .text.HAL_GPIO_ReadPin + 0x0000000000000000 0x30 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o .text.HAL_GPIO_LockPin 0x0000000000000000 0x50 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o - .text.HAL_GPIO_EXTI_IRQHandler - 0x0000000000000000 0x30 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o .text.HAL_GPIO_EXTI_Callback 0x0000000000000000 0x16 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o .debug_macro 0x0000000000000000 0xa5a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o @@ -7447,7 +7450,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f LWIP/App/lwip.o .debug_macro 0x0000000000000000 0x59 LWIP/App/lwip.o .debug_macro 0x0000000000000000 0x14e LWIP/App/lwip.o - .debug_macro 0x0000000000000000 0x3f9 LWIP/App/lwip.o + .debug_macro 0x0000000000000000 0x415 LWIP/App/lwip.o .debug_macro 0x0000000000000000 0xd0 LWIP/App/lwip.o .debug_macro 0x0000000000000000 0x16 LWIP/App/lwip.o .debug_macro 0x0000000000000000 0x10 LWIP/App/lwip.o @@ -7750,7 +7753,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f LWIP/Target/ethernetif.o .debug_macro 0x0000000000000000 0x59 LWIP/Target/ethernetif.o .debug_macro 0x0000000000000000 0x14e LWIP/Target/ethernetif.o - .debug_macro 0x0000000000000000 0x3f9 LWIP/Target/ethernetif.o + .debug_macro 0x0000000000000000 0x415 LWIP/Target/ethernetif.o .debug_macro 0x0000000000000000 0xd6 LWIP/Target/ethernetif.o .debug_macro 0x0000000000000000 0x16 LWIP/Target/ethernetif.o .debug_macro 0x0000000000000000 0x10 LWIP/Target/ethernetif.o @@ -9000,7 +9003,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/api/api_lib.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/api/api_lib.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/api/api_lib.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/api/api_lib.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/api/api_lib.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/api/api_lib.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/api/api_lib.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/api/api_lib.o @@ -9098,7 +9101,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/api/api_lib.o .debug_macro 0x0000000000000000 0x20 Middlewares/Third_Party/LwIP/src/api/api_lib.o .debug_line 0x0000000000000000 0x1463 Middlewares/Third_Party/LwIP/src/api/api_lib.o - .debug_str 0x0000000000000000 0x110d5d Middlewares/Third_Party/LwIP/src/api/api_lib.o + .debug_str 0x0000000000000000 0x110dd2 Middlewares/Third_Party/LwIP/src/api/api_lib.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/api/api_lib.o .debug_frame 0x0000000000000000 0x400 Middlewares/Third_Party/LwIP/src/api/api_lib.o .ARM.attributes @@ -9385,7 +9388,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/api/api_msg.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/api/api_msg.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/api/api_msg.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/api/api_msg.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/api/api_msg.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/api/api_msg.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/api/api_msg.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/api/api_msg.o @@ -9482,7 +9485,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/api/api_msg.o .debug_macro 0x0000000000000000 0x20 Middlewares/Third_Party/LwIP/src/api/api_msg.o .debug_line 0x0000000000000000 0x17a4 Middlewares/Third_Party/LwIP/src/api/api_msg.o - .debug_str 0x0000000000000000 0x10f85b Middlewares/Third_Party/LwIP/src/api/api_msg.o + .debug_str 0x0000000000000000 0x10f8d0 Middlewares/Third_Party/LwIP/src/api/api_msg.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/api/api_msg.o .debug_frame 0x0000000000000000 0x410 Middlewares/Third_Party/LwIP/src/api/api_msg.o .ARM.attributes @@ -9684,7 +9687,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/api/err.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/api/err.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/api/err.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/api/err.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/api/err.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/api/err.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/api/err.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/api/err.o @@ -9753,7 +9756,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x73 Middlewares/Third_Party/LwIP/src/api/err.o .debug_macro 0x0000000000000000 0x320 Middlewares/Third_Party/LwIP/src/api/err.o .debug_line 0x0000000000000000 0xdcb Middlewares/Third_Party/LwIP/src/api/err.o - .debug_str 0x0000000000000000 0x109a83 Middlewares/Third_Party/LwIP/src/api/err.o + .debug_str 0x0000000000000000 0x109af8 Middlewares/Third_Party/LwIP/src/api/err.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/api/err.o .debug_frame 0x0000000000000000 0x38 Middlewares/Third_Party/LwIP/src/api/err.o .ARM.attributes @@ -9973,7 +9976,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/api/if_api.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/api/if_api.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/api/if_api.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/api/if_api.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/api/if_api.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/api/if_api.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/api/if_api.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/api/if_api.o @@ -10060,7 +10063,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x73 Middlewares/Third_Party/LwIP/src/api/if_api.o .debug_macro 0x0000000000000000 0x24 Middlewares/Third_Party/LwIP/src/api/if_api.o .debug_line 0x0000000000000000 0xf00 Middlewares/Third_Party/LwIP/src/api/if_api.o - .debug_str 0x0000000000000000 0x10e5e3 Middlewares/Third_Party/LwIP/src/api/if_api.o + .debug_str 0x0000000000000000 0x10e658 Middlewares/Third_Party/LwIP/src/api/if_api.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/api/if_api.o .debug_frame 0x0000000000000000 0x60 Middlewares/Third_Party/LwIP/src/api/if_api.o .ARM.attributes @@ -10273,7 +10276,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/api/netbuf.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/api/netbuf.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/api/netbuf.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/api/netbuf.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/api/netbuf.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/api/netbuf.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/api/netbuf.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/api/netbuf.o @@ -10338,7 +10341,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/api/netbuf.o .debug_macro 0x0000000000000000 0x20 Middlewares/Third_Party/LwIP/src/api/netbuf.o .debug_line 0x0000000000000000 0xe10 Middlewares/Third_Party/LwIP/src/api/netbuf.o - .debug_str 0x0000000000000000 0x105be2 Middlewares/Third_Party/LwIP/src/api/netbuf.o + .debug_str 0x0000000000000000 0x105c57 Middlewares/Third_Party/LwIP/src/api/netbuf.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/api/netbuf.o .debug_frame 0x0000000000000000 0x154 Middlewares/Third_Party/LwIP/src/api/netbuf.o .ARM.attributes @@ -10517,7 +10520,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/api/netdb.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/api/netdb.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/api/netdb.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/api/netdb.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/api/netdb.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/api/netdb.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/api/netdb.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/api/netdb.o @@ -10568,7 +10571,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/api/netdb.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/api/netdb.o .debug_line 0x0000000000000000 0xc09 Middlewares/Third_Party/LwIP/src/api/netdb.o - .debug_str 0x0000000000000000 0x102bc1 Middlewares/Third_Party/LwIP/src/api/netdb.o + .debug_str 0x0000000000000000 0x102c36 Middlewares/Third_Party/LwIP/src/api/netdb.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/api/netdb.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/api/netdb.o @@ -10746,7 +10749,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/api/netifapi.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/api/netifapi.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/api/netifapi.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/api/netifapi.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/api/netifapi.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/api/netifapi.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/api/netifapi.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/api/netifapi.o @@ -10797,7 +10800,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/api/netifapi.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/api/netifapi.o .debug_line 0x0000000000000000 0xc01 Middlewares/Third_Party/LwIP/src/api/netifapi.o - .debug_str 0x0000000000000000 0x102bb2 Middlewares/Third_Party/LwIP/src/api/netifapi.o + .debug_str 0x0000000000000000 0x102c27 Middlewares/Third_Party/LwIP/src/api/netifapi.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/api/netifapi.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/api/netifapi.o @@ -11137,7 +11140,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/api/sockets.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/api/sockets.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/api/sockets.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/api/sockets.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/api/sockets.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/api/sockets.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/api/sockets.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/api/sockets.o @@ -11237,7 +11240,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/api/sockets.o .debug_macro 0x0000000000000000 0x4c Middlewares/Third_Party/LwIP/src/api/sockets.o .debug_line 0x0000000000000000 0x1f7e Middlewares/Third_Party/LwIP/src/api/sockets.o - .debug_str 0x0000000000000000 0x1127a7 Middlewares/Third_Party/LwIP/src/api/sockets.o + .debug_str 0x0000000000000000 0x11281c Middlewares/Third_Party/LwIP/src/api/sockets.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/api/sockets.o .debug_frame 0x0000000000000000 0x7e4 Middlewares/Third_Party/LwIP/src/api/sockets.o .ARM.attributes @@ -11472,7 +11475,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/api/tcpip.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/api/tcpip.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/api/tcpip.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/api/tcpip.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/api/tcpip.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/api/tcpip.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/api/tcpip.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/api/tcpip.o @@ -11857,7 +11860,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o @@ -11950,7 +11953,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o .debug_macro 0x0000000000000000 0x20 Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o .debug_line 0x0000000000000000 0x1766 Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o - .debug_str 0x0000000000000000 0x10f458 Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o + .debug_str 0x0000000000000000 0x10f4cd Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o .debug_frame 0x0000000000000000 0x590 Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o .ARM.attributes @@ -12129,7 +12132,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/altcp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/altcp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/altcp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/altcp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/altcp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/altcp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/altcp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/altcp.o @@ -12180,7 +12183,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/altcp.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/altcp.o .debug_line 0x0000000000000000 0xbff Middlewares/Third_Party/LwIP/src/core/altcp.o - .debug_str 0x0000000000000000 0x102bb0 Middlewares/Third_Party/LwIP/src/core/altcp.o + .debug_str 0x0000000000000000 0x102c25 Middlewares/Third_Party/LwIP/src/core/altcp.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/altcp.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/altcp.o @@ -12358,7 +12361,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o @@ -12409,7 +12412,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o .debug_line 0x0000000000000000 0xc05 Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o - .debug_str 0x0000000000000000 0x102bb6 Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o + .debug_str 0x0000000000000000 0x102c2b Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o @@ -12587,7 +12590,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o @@ -12638,7 +12641,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o .debug_line 0x0000000000000000 0xc03 Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o - .debug_str 0x0000000000000000 0x102bb4 Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o + .debug_str 0x0000000000000000 0x102c29 Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o @@ -12822,7 +12825,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/def.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/def.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/def.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/def.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/def.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/def.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/def.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/def.o @@ -13049,7 +13052,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/dns.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/dns.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/dns.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/dns.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/dns.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/dns.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/dns.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/dns.o @@ -13100,7 +13103,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/dns.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/dns.o .debug_line 0x0000000000000000 0xbfd Middlewares/Third_Party/LwIP/src/core/dns.o - .debug_str 0x0000000000000000 0x102bae Middlewares/Third_Party/LwIP/src/core/dns.o + .debug_str 0x0000000000000000 0x102c23 Middlewares/Third_Party/LwIP/src/core/dns.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/dns.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/dns.o @@ -13306,7 +13309,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/inet_chksum.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/inet_chksum.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/inet_chksum.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/inet_chksum.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/inet_chksum.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/inet_chksum.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/inet_chksum.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/inet_chksum.o @@ -13365,7 +13368,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/inet_chksum.o .debug_macro 0x0000000000000000 0x20 Middlewares/Third_Party/LwIP/src/core/inet_chksum.o .debug_line 0x0000000000000000 0xdb3 Middlewares/Third_Party/LwIP/src/core/inet_chksum.o - .debug_str 0x0000000000000000 0x104f5f Middlewares/Third_Party/LwIP/src/core/inet_chksum.o + .debug_str 0x0000000000000000 0x104fd4 Middlewares/Third_Party/LwIP/src/core/inet_chksum.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/inet_chksum.o .debug_frame 0x0000000000000000 0x158 Middlewares/Third_Party/LwIP/src/core/inet_chksum.o .ARM.attributes @@ -13592,7 +13595,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/init.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/init.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/init.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/init.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/init.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/init.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/init.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/init.o @@ -13880,7 +13883,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ip.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ip.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ip.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ip.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ip.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ip.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ip.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ip.o @@ -14144,7 +14147,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/mem.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/mem.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/mem.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/mem.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/mem.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/mem.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/mem.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/mem.o @@ -14451,7 +14454,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/memp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/memp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/memp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/memp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/memp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/memp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/memp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/memp.o @@ -14791,7 +14794,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/netif.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/netif.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/netif.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/netif.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/netif.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/netif.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/netif.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/netif.o @@ -15130,7 +15133,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/pbuf.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/pbuf.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/pbuf.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/pbuf.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/pbuf.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/pbuf.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/pbuf.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/pbuf.o @@ -15396,7 +15399,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/raw.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/raw.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/raw.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/raw.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/raw.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/raw.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/raw.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/raw.o @@ -15447,7 +15450,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/raw.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/raw.o .debug_line 0x0000000000000000 0xbfd Middlewares/Third_Party/LwIP/src/core/raw.o - .debug_str 0x0000000000000000 0x102bae Middlewares/Third_Party/LwIP/src/core/raw.o + .debug_str 0x0000000000000000 0x102c23 Middlewares/Third_Party/LwIP/src/core/raw.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/raw.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/raw.o @@ -15625,7 +15628,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/stats.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/stats.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/stats.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/stats.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/stats.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/stats.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/stats.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/stats.o @@ -15676,7 +15679,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/stats.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/stats.o .debug_line 0x0000000000000000 0xbff Middlewares/Third_Party/LwIP/src/core/stats.o - .debug_str 0x0000000000000000 0x102bb0 Middlewares/Third_Party/LwIP/src/core/stats.o + .debug_str 0x0000000000000000 0x102c25 Middlewares/Third_Party/LwIP/src/core/stats.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/stats.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/stats.o @@ -15874,7 +15877,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/sys.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/sys.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/sys.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/sys.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/sys.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/sys.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/sys.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/sys.o @@ -15942,7 +15945,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/sys.o .debug_macro 0x0000000000000000 0x73 Middlewares/Third_Party/LwIP/src/core/sys.o .debug_line 0x0000000000000000 0xdb3 Middlewares/Third_Party/LwIP/src/core/sys.o - .debug_str 0x0000000000000000 0x1092d6 Middlewares/Third_Party/LwIP/src/core/sys.o + .debug_str 0x0000000000000000 0x10934b Middlewares/Third_Party/LwIP/src/core/sys.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/sys.o .debug_frame 0x0000000000000000 0x34 Middlewares/Third_Party/LwIP/src/core/sys.o .ARM.attributes @@ -16178,7 +16181,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/tcp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/tcp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/tcp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/tcp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/tcp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/tcp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/tcp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/tcp.o @@ -16445,7 +16448,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/tcp_in.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/tcp_in.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/tcp_in.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/tcp_in.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/tcp_in.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/tcp_in.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/tcp_in.o @@ -16719,7 +16722,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/tcp_out.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/tcp_out.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/tcp_out.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/tcp_out.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/tcp_out.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/tcp_out.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/tcp_out.o @@ -17017,7 +17020,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/timeouts.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/timeouts.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/timeouts.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/timeouts.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/timeouts.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/timeouts.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/timeouts.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/timeouts.o @@ -17319,7 +17322,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/udp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/udp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/udp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/udp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/udp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/udp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/udp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/udp.o @@ -17568,7 +17571,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o @@ -17619,7 +17622,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o .debug_line 0x0000000000000000 0xc05 Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o - .debug_str 0x0000000000000000 0x102bb6 Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o + .debug_str 0x0000000000000000 0x102c2b Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o @@ -17828,7 +17831,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o @@ -18103,7 +18106,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o @@ -18370,7 +18373,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o @@ -18615,7 +18618,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o @@ -18666,7 +18669,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o .debug_line 0x0000000000000000 0xc03 Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o - .debug_str 0x0000000000000000 0x102bb4 Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o + .debug_str 0x0000000000000000 0x102c29 Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o @@ -18869,7 +18872,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o @@ -19142,7 +19145,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o @@ -19396,7 +19399,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o @@ -19641,7 +19644,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o @@ -19692,7 +19695,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o .debug_line 0x0000000000000000 0xc04 Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o - .debug_str 0x0000000000000000 0x102bb5 Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o + .debug_str 0x0000000000000000 0x102c2a Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o @@ -19870,7 +19873,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o @@ -19921,7 +19924,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o .debug_line 0x0000000000000000 0xc05 Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o - .debug_str 0x0000000000000000 0x102bb6 Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o + .debug_str 0x0000000000000000 0x102c2b Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o @@ -20099,7 +20102,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o @@ -20150,7 +20153,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o .debug_line 0x0000000000000000 0xc04 Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o - .debug_str 0x0000000000000000 0x102bb5 Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o + .debug_str 0x0000000000000000 0x102c2a Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o @@ -20328,7 +20331,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o @@ -20379,7 +20382,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o .debug_line 0x0000000000000000 0xc04 Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o - .debug_str 0x0000000000000000 0x102bb5 Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o + .debug_str 0x0000000000000000 0x102c2a Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o @@ -20557,7 +20560,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o @@ -20608,7 +20611,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o .debug_line 0x0000000000000000 0xc02 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o - .debug_str 0x0000000000000000 0x102bb3 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o + .debug_str 0x0000000000000000 0x102c28 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o @@ -20786,7 +20789,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o @@ -20837,7 +20840,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o .debug_line 0x0000000000000000 0xc07 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o - .debug_str 0x0000000000000000 0x102bb8 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o + .debug_str 0x0000000000000000 0x102c2d Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o @@ -21034,7 +21037,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o @@ -21104,7 +21107,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o .debug_macro 0x0000000000000000 0x20 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o .debug_line 0x0000000000000000 0xd89 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o - .debug_str 0x0000000000000000 0x106ea2 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o + .debug_str 0x0000000000000000 0x106f17 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o @@ -21282,7 +21285,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o @@ -21333,7 +21336,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o .debug_line 0x0000000000000000 0xc03 Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o - .debug_str 0x0000000000000000 0x102bb4 Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o + .debug_str 0x0000000000000000 0x102c29 Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o @@ -21511,7 +21514,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o @@ -21562,7 +21565,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o .debug_line 0x0000000000000000 0xc02 Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o - .debug_str 0x0000000000000000 0x102bb3 Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o + .debug_str 0x0000000000000000 0x102c28 Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o @@ -21782,7 +21785,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/bridgeif.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/bridgeif.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/bridgeif.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/bridgeif.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/bridgeif.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/bridgeif.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/bridgeif.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/bridgeif.o @@ -21875,7 +21878,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/bridgeif.o .debug_macro 0x0000000000000000 0x20 Middlewares/Third_Party/LwIP/src/netif/bridgeif.o .debug_line 0x0000000000000000 0xf88 Middlewares/Third_Party/LwIP/src/netif/bridgeif.o - .debug_str 0x0000000000000000 0x10d801 Middlewares/Third_Party/LwIP/src/netif/bridgeif.o + .debug_str 0x0000000000000000 0x10d876 Middlewares/Third_Party/LwIP/src/netif/bridgeif.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/bridgeif.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/bridgeif.o @@ -22102,7 +22105,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o @@ -22190,7 +22193,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o .debug_macro 0x0000000000000000 0x20 Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o .debug_line 0x0000000000000000 0x1047 Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o - .debug_str 0x0000000000000000 0x10ceed Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o + .debug_str 0x0000000000000000 0x10cf62 Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o .debug_frame 0x0000000000000000 0xc8 Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o .ARM.attributes @@ -22388,7 +22391,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ethernet.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ethernet.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ethernet.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ethernet.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ethernet.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ethernet.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ethernet.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ethernet.o @@ -22637,7 +22640,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/lowpan6.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/lowpan6.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/lowpan6.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/lowpan6.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/lowpan6.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/lowpan6.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/lowpan6.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/lowpan6.o @@ -22689,7 +22692,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/lowpan6.o .debug_macro 0x0000000000000000 0x46 Middlewares/Third_Party/LwIP/src/netif/lowpan6.o .debug_line 0x0000000000000000 0xc53 Middlewares/Third_Party/LwIP/src/netif/lowpan6.o - .debug_str 0x0000000000000000 0x102d8d Middlewares/Third_Party/LwIP/src/netif/lowpan6.o + .debug_str 0x0000000000000000 0x102e02 Middlewares/Third_Party/LwIP/src/netif/lowpan6.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/lowpan6.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/lowpan6.o @@ -22868,7 +22871,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o @@ -22920,7 +22923,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o .debug_macro 0x0000000000000000 0x46 Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o .debug_line 0x0000000000000000 0xc5b Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o - .debug_str 0x0000000000000000 0x102d95 Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o + .debug_str 0x0000000000000000 0x102e0a Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o @@ -23099,7 +23102,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o @@ -23151,7 +23154,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o .debug_macro 0x0000000000000000 0x46 Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o .debug_line 0x0000000000000000 0xc61 Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o - .debug_str 0x0000000000000000 0x102d9b Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o + .debug_str 0x0000000000000000 0x102e10 Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o @@ -23376,7 +23379,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/slipif.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/slipif.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/slipif.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/slipif.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/slipif.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/slipif.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/slipif.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/slipif.o @@ -23458,7 +23461,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/slipif.o .debug_macro 0x0000000000000000 0x73 Middlewares/Third_Party/LwIP/src/netif/slipif.o .debug_line 0x0000000000000000 0xffc Middlewares/Third_Party/LwIP/src/netif/slipif.o - .debug_str 0x0000000000000000 0x10cd8b Middlewares/Third_Party/LwIP/src/netif/slipif.o + .debug_str 0x0000000000000000 0x10ce00 Middlewares/Third_Party/LwIP/src/netif/slipif.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/slipif.o .debug_frame 0x0000000000000000 0x10c Middlewares/Third_Party/LwIP/src/netif/slipif.o .ARM.attributes @@ -23638,7 +23641,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/zepif.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/zepif.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/zepif.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/zepif.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/zepif.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/zepif.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/zepif.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/zepif.o @@ -23690,7 +23693,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/zepif.o .debug_macro 0x0000000000000000 0x4c Middlewares/Third_Party/LwIP/src/netif/zepif.o .debug_line 0x0000000000000000 0xc5c Middlewares/Third_Party/LwIP/src/netif/zepif.o - .debug_str 0x0000000000000000 0x102d9d Middlewares/Third_Party/LwIP/src/netif/zepif.o + .debug_str 0x0000000000000000 0x102e12 Middlewares/Third_Party/LwIP/src/netif/zepif.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/zepif.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/zepif.o @@ -23869,7 +23872,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o @@ -23921,7 +23924,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o .debug_line 0x0000000000000000 0xc47 Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o - .debug_str 0x0000000000000000 0x102c76 Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o + .debug_str 0x0000000000000000 0x102ceb Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o @@ -24100,7 +24103,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o @@ -24152,7 +24155,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o .debug_line 0x0000000000000000 0xc46 Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o - .debug_str 0x0000000000000000 0x102c75 Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o + .debug_str 0x0000000000000000 0x102cea Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o @@ -24331,7 +24334,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o @@ -24383,7 +24386,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o .debug_line 0x0000000000000000 0xc4b Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o - .debug_str 0x0000000000000000 0x102c7a Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o + .debug_str 0x0000000000000000 0x102cef Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o @@ -24562,7 +24565,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o @@ -24614,7 +24617,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o .debug_line 0x0000000000000000 0xc4b Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o - .debug_str 0x0000000000000000 0x102c7a Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o + .debug_str 0x0000000000000000 0x102cef Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o @@ -24793,7 +24796,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o @@ -24845,7 +24848,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o .debug_line 0x0000000000000000 0xc4a Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o - .debug_str 0x0000000000000000 0x102c79 Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o + .debug_str 0x0000000000000000 0x102cee Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o @@ -25024,7 +25027,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o @@ -25076,7 +25079,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o .debug_line 0x0000000000000000 0xc49 Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o - .debug_str 0x0000000000000000 0x102c78 Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o + .debug_str 0x0000000000000000 0x102ced Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o @@ -25255,7 +25258,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o @@ -25307,7 +25310,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o .debug_line 0x0000000000000000 0xc46 Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o - .debug_str 0x0000000000000000 0x102c75 Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o + .debug_str 0x0000000000000000 0x102cea Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o @@ -25486,7 +25489,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o @@ -25538,7 +25541,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o .debug_line 0x0000000000000000 0xc46 Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o - .debug_str 0x0000000000000000 0x102c75 Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o + .debug_str 0x0000000000000000 0x102cea Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o @@ -25717,7 +25720,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o @@ -25769,7 +25772,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o .debug_line 0x0000000000000000 0xc48 Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o - .debug_str 0x0000000000000000 0x102c77 Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o + .debug_str 0x0000000000000000 0x102cec Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o @@ -25948,7 +25951,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o @@ -26000,7 +26003,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o .debug_line 0x0000000000000000 0xc46 Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o - .debug_str 0x0000000000000000 0x102c75 Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o + .debug_str 0x0000000000000000 0x102cea Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o @@ -26179,7 +26182,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o @@ -26231,7 +26234,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o .debug_line 0x0000000000000000 0xc47 Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o - .debug_str 0x0000000000000000 0x102c76 Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o + .debug_str 0x0000000000000000 0x102ceb Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o @@ -26410,7 +26413,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o @@ -26462,7 +26465,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o .debug_line 0x0000000000000000 0xc49 Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o - .debug_str 0x0000000000000000 0x102c78 Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o + .debug_str 0x0000000000000000 0x102ced Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o @@ -26641,7 +26644,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o @@ -26693,7 +26696,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o .debug_line 0x0000000000000000 0xc46 Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o - .debug_str 0x0000000000000000 0x102c75 Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o + .debug_str 0x0000000000000000 0x102cea Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o @@ -26872,7 +26875,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o @@ -26924,7 +26927,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o .debug_line 0x0000000000000000 0xc48 Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o - .debug_str 0x0000000000000000 0x102c77 Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o + .debug_str 0x0000000000000000 0x102cec Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o @@ -27103,7 +27106,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o @@ -27155,7 +27158,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o .debug_line 0x0000000000000000 0xc47 Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o - .debug_str 0x0000000000000000 0x102c76 Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o + .debug_str 0x0000000000000000 0x102ceb Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o @@ -27334,7 +27337,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o @@ -27386,7 +27389,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o .debug_line 0x0000000000000000 0xc4c Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o - .debug_str 0x0000000000000000 0x102c7b Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o + .debug_str 0x0000000000000000 0x102cf0 Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o @@ -27565,7 +27568,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o @@ -27617,7 +27620,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o .debug_line 0x0000000000000000 0xc46 Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o - .debug_str 0x0000000000000000 0x102c75 Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o + .debug_str 0x0000000000000000 0x102cea Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o @@ -27796,7 +27799,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o @@ -27848,7 +27851,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o .debug_line 0x0000000000000000 0xc49 Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o - .debug_str 0x0000000000000000 0x102c78 Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o + .debug_str 0x0000000000000000 0x102ced Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o @@ -28027,7 +28030,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o @@ -28079,7 +28082,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o .debug_line 0x0000000000000000 0xc4b Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o - .debug_str 0x0000000000000000 0x102c7a Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o + .debug_str 0x0000000000000000 0x102cef Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o @@ -28258,7 +28261,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o @@ -28310,7 +28313,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o .debug_line 0x0000000000000000 0xc48 Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o - .debug_str 0x0000000000000000 0x102c77 Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o + .debug_str 0x0000000000000000 0x102cec Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o @@ -28489,7 +28492,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o @@ -28541,7 +28544,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o .debug_line 0x0000000000000000 0xc4b Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o - .debug_str 0x0000000000000000 0x102c7a Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o + .debug_str 0x0000000000000000 0x102cef Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o @@ -28720,7 +28723,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o @@ -28772,7 +28775,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o .debug_line 0x0000000000000000 0xc48 Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o - .debug_str 0x0000000000000000 0x102c77 Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o + .debug_str 0x0000000000000000 0x102cec Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o @@ -28951,7 +28954,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o @@ -29003,7 +29006,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o .debug_line 0x0000000000000000 0xc47 Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o - .debug_str 0x0000000000000000 0x102c76 Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o + .debug_str 0x0000000000000000 0x102ceb Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o @@ -29182,7 +29185,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o @@ -29234,7 +29237,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o .debug_line 0x0000000000000000 0xc48 Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o - .debug_str 0x0000000000000000 0x102c77 Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o + .debug_str 0x0000000000000000 0x102cec Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o @@ -29413,7 +29416,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o .debug_macro 0x0000000000000000 0x16 Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o .debug_macro 0x0000000000000000 0x10 Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o @@ -29465,7 +29468,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o .debug_macro 0x0000000000000000 0x2f Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o .debug_line 0x0000000000000000 0xc45 Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o - .debug_str 0x0000000000000000 0x102c74 Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o + .debug_str 0x0000000000000000 0x102ce9 Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o .comment 0x0000000000000000 0x7c Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o .ARM.attributes 0x0000000000000000 0x39 Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o @@ -29733,7 +29736,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa2f Middlewares/Third_Party/LwIP/system/OS/sys_arch.o .debug_macro 0x0000000000000000 0x59 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o .debug_macro 0x0000000000000000 0x14e Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - .debug_macro 0x0000000000000000 0x3f9 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + .debug_macro 0x0000000000000000 0x415 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o .debug_macro 0x0000000000000000 0xd0 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o .debug_macro 0x0000000000000000 0x739 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o .debug_macro 0x0000000000000000 0x66 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o @@ -29825,6 +29828,10 @@ Discarded input sections .text 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memmove.o) .data 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memmove.o) .bss 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memmove.o) + .text.memmove 0x0000000000000000 0x32 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memmove.o) + .debug_frame 0x0000000000000000 0x28 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memmove.o) + .ARM.attributes + 0x0000000000000000 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memmove.o) .text 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memset.o) .data 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memset.o) .bss 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memset.o) @@ -29837,11 +29844,6 @@ Discarded input sections .data 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-rand.o) .bss 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-rand.o) .text.srand 0x0000000000000000 0x48 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-rand.o) - .text 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sprintf.o) - .data 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sprintf.o) - .bss 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sprintf.o) - .text._sprintf_r - 0x0000000000000000 0x38 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sprintf.o) .text 0x0000000000000000 0x14 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-strcmp.o) .data 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-strcmp.o) .bss 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-strcmp.o) @@ -29925,11 +29927,6 @@ Discarded input sections .text 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-mallocr.o) .data 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-mallocr.o) .bss 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-mallocr.o) - .text 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-svfprintf.o) - .data 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-svfprintf.o) - .bss 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-svfprintf.o) - .text.__ssprint_r - 0x0000000000000000 0xf0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-svfprintf.o) .text 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) .data 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) .bss 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) @@ -29987,6 +29984,11 @@ Discarded input sections .text 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-reallocr.o) .data 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-reallocr.o) .bss 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-reallocr.o) + .text._realloc_r + 0x0000000000000000 0x4c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-reallocr.o) + .debug_frame 0x0000000000000000 0x3c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-reallocr.o) + .ARM.attributes + 0x0000000000000000 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-reallocr.o) .text 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-readr.o) .data 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-readr.o) .bss 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-readr.o) @@ -29999,6 +30001,11 @@ Discarded input sections .text 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-msizer.o) .data 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-msizer.o) .bss 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-msizer.o) + .text._malloc_usable_size_r + 0x0000000000000000 0x10 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-msizer.o) + .debug_frame 0x0000000000000000 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-msizer.o) + .ARM.attributes + 0x0000000000000000 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-msizer.o) .data 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_aeabi_uldivmod.o) .bss 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_aeabi_uldivmod.o) .data 0x0000000000000000 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_udivmoddi4.o) @@ -30198,7 +30205,7 @@ LOAD c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.exte 0x0000000008000000 g_pfnVectors 0x00000000080001c8 . = ALIGN (0x4) -.text 0x00000000080001d0 0x1c480 +.text 0x00000000080001d0 0x1bc9c 0x00000000080001d0 . = ALIGN (0x4) *(.text) .text 0x00000000080001d0 0x40 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o @@ -30267,1916 +30274,1884 @@ LOAD c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.exte 0x0000000008000b20 0x20 Core/Src/ft5336.o .text.ft5336_TS_Configure 0x0000000008000b40 0x1c Core/Src/ft5336.o - .text.main 0x0000000008000b5c 0x338 Core/Src/main.o + .text.main 0x0000000008000b5c 0x298 Core/Src/main.o 0x0000000008000b5c main .text.SystemClock_Config - 0x0000000008000e94 0x148 Core/Src/main.o - 0x0000000008000e94 SystemClock_Config + 0x0000000008000df4 0x148 Core/Src/main.o + 0x0000000008000df4 SystemClock_Config .text.MX_ADC1_Init - 0x0000000008000fdc 0xa4 Core/Src/main.o + 0x0000000008000f3c 0xa4 Core/Src/main.o .text.MX_ADC3_Init - 0x0000000008001080 0xa4 Core/Src/main.o + 0x0000000008000fe0 0xa4 Core/Src/main.o .text.MX_CRC_Init - 0x0000000008001124 0x44 Core/Src/main.o + 0x0000000008001084 0x44 Core/Src/main.o .text.MX_DAC_Init - 0x0000000008001168 0x54 Core/Src/main.o + 0x00000000080010c8 0x54 Core/Src/main.o .text.MX_DMA2D_Init - 0x00000000080011bc 0x64 Core/Src/main.o + 0x000000000800111c 0x64 Core/Src/main.o .text.MX_LTDC_Init - 0x0000000008001220 0x104 Core/Src/main.o + 0x0000000008001180 0x104 Core/Src/main.o .text.MX_RNG_Init - 0x0000000008001324 0x28 Core/Src/main.o + 0x0000000008001284 0x28 Core/Src/main.o .text.MX_SPI2_Init - 0x000000000800134c 0x7c Core/Src/main.o + 0x00000000080012ac 0x7c Core/Src/main.o .text.MX_TIM1_Init - 0x00000000080013c8 0xa8 Core/Src/main.o + 0x0000000008001328 0xa8 Core/Src/main.o .text.MX_TIM2_Init - 0x0000000008001470 0x9c Core/Src/main.o + 0x00000000080013d0 0x9c Core/Src/main.o .text.MX_TIM3_Init - 0x000000000800150c 0x11c Core/Src/main.o + 0x000000000800146c 0x11c Core/Src/main.o .text.MX_TIM5_Init - 0x0000000008001628 0x9c Core/Src/main.o + 0x0000000008001588 0x9c Core/Src/main.o .text.MX_TIM8_Init - 0x00000000080016c4 0x154 Core/Src/main.o + 0x0000000008001624 0x154 Core/Src/main.o .text.MX_FMC_Init - 0x0000000008001818 0x9c Core/Src/main.o + 0x0000000008001778 0x9c Core/Src/main.o .text.MX_GPIO_Init - 0x00000000080018b4 0x4a4 Core/Src/main.o + 0x0000000008001814 0x4ec Core/Src/main.o + .text.HAL_GPIO_EXTI_Callback + 0x0000000008001d00 0x6c Core/Src/main.o + 0x0000000008001d00 HAL_GPIO_EXTI_Callback .text.f_GameMaster - 0x0000000008001d58 0x98 Core/Src/main.o - 0x0000000008001d58 f_GameMaster + 0x0000000008001d6c 0x98 Core/Src/main.o + 0x0000000008001d6c f_GameMaster .text.f_Joueur_1 - 0x0000000008001df0 0x224 Core/Src/main.o - 0x0000000008001df0 f_Joueur_1 + 0x0000000008001e04 0x224 Core/Src/main.o + 0x0000000008001e04 f_Joueur_1 .text.f_block_enemie - 0x0000000008002014 0x188 Core/Src/main.o - 0x0000000008002014 f_block_enemie + 0x0000000008002028 0x188 Core/Src/main.o + 0x0000000008002028 f_block_enemie .text.f_projectile - 0x000000000800219c 0x450 Core/Src/main.o - 0x000000000800219c f_projectile - .text.f_IRQ_BP - 0x00000000080025ec 0xe0 Core/Src/main.o - 0x00000000080025ec f_IRQ_BP + 0x00000000080021b0 0x450 Core/Src/main.o + 0x00000000080021b0 f_projectile .text.HAL_TIM_PeriodElapsedCallback - 0x00000000080026cc 0x24 Core/Src/main.o - 0x00000000080026cc HAL_TIM_PeriodElapsedCallback + 0x0000000008002600 0x24 Core/Src/main.o + 0x0000000008002600 HAL_TIM_PeriodElapsedCallback .text.Error_Handler - 0x00000000080026f0 0x8 Core/Src/main.o - 0x00000000080026f0 Error_Handler + 0x0000000008002624 0x8 Core/Src/main.o + 0x0000000008002624 Error_Handler .text.I2Cx_MspInit - 0x00000000080026f8 0x160 Core/Src/stm32746g_discovery.o + 0x000000000800262c 0x160 Core/Src/stm32746g_discovery.o .text.I2Cx_Init - 0x0000000008002858 0x78 Core/Src/stm32746g_discovery.o + 0x000000000800278c 0x78 Core/Src/stm32746g_discovery.o .text.I2Cx_ReadMultiple - 0x00000000080028d0 0x5a Core/Src/stm32746g_discovery.o + 0x0000000008002804 0x5a Core/Src/stm32746g_discovery.o .text.I2Cx_WriteMultiple - 0x000000000800292a 0x5a Core/Src/stm32746g_discovery.o + 0x000000000800285e 0x5a Core/Src/stm32746g_discovery.o .text.I2Cx_Error - 0x0000000008002984 0x20 Core/Src/stm32746g_discovery.o + 0x00000000080028b8 0x20 Core/Src/stm32746g_discovery.o .text.TS_IO_Init - 0x00000000080029a4 0x14 Core/Src/stm32746g_discovery.o - 0x00000000080029a4 TS_IO_Init + 0x00000000080028d8 0x14 Core/Src/stm32746g_discovery.o + 0x00000000080028d8 TS_IO_Init .text.TS_IO_Write - 0x00000000080029b8 0x34 Core/Src/stm32746g_discovery.o - 0x00000000080029b8 TS_IO_Write + 0x00000000080028ec 0x34 Core/Src/stm32746g_discovery.o + 0x00000000080028ec TS_IO_Write .text.TS_IO_Read - 0x00000000080029ec 0x3c Core/Src/stm32746g_discovery.o - 0x00000000080029ec TS_IO_Read + 0x0000000008002920 0x3c Core/Src/stm32746g_discovery.o + 0x0000000008002920 TS_IO_Read .text.TS_IO_Delay - 0x0000000008002a28 0x16 Core/Src/stm32746g_discovery.o - 0x0000000008002a28 TS_IO_Delay - *fill* 0x0000000008002a3e 0x2 + 0x000000000800295c 0x16 Core/Src/stm32746g_discovery.o + 0x000000000800295c TS_IO_Delay + *fill* 0x0000000008002972 0x2 .text.BSP_LCD_Init - 0x0000000008002a40 0xe0 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008002a40 BSP_LCD_Init + 0x0000000008002974 0xe0 Core/Src/stm32746g_discovery_lcd.o + 0x0000000008002974 BSP_LCD_Init .text.BSP_LCD_GetXSize - 0x0000000008002b20 0x28 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008002b20 BSP_LCD_GetXSize + 0x0000000008002a54 0x28 Core/Src/stm32746g_discovery_lcd.o + 0x0000000008002a54 BSP_LCD_GetXSize .text.BSP_LCD_GetYSize - 0x0000000008002b48 0x28 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008002b48 BSP_LCD_GetYSize + 0x0000000008002a7c 0x28 Core/Src/stm32746g_discovery_lcd.o + 0x0000000008002a7c BSP_LCD_GetYSize .text.BSP_LCD_LayerDefaultInit - 0x0000000008002b70 0xc0 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008002b70 BSP_LCD_LayerDefaultInit + 0x0000000008002aa4 0xc0 Core/Src/stm32746g_discovery_lcd.o + 0x0000000008002aa4 BSP_LCD_LayerDefaultInit .text.BSP_LCD_SelectLayer - 0x0000000008002c30 0x20 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008002c30 BSP_LCD_SelectLayer + 0x0000000008002b64 0x20 Core/Src/stm32746g_discovery_lcd.o + 0x0000000008002b64 BSP_LCD_SelectLayer .text.BSP_LCD_SetTextColor - 0x0000000008002c50 0x30 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008002c50 BSP_LCD_SetTextColor + 0x0000000008002b84 0x30 Core/Src/stm32746g_discovery_lcd.o + 0x0000000008002b84 BSP_LCD_SetTextColor .text.BSP_LCD_SetBackColor - 0x0000000008002c80 0x34 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008002c80 BSP_LCD_SetBackColor + 0x0000000008002bb4 0x34 Core/Src/stm32746g_discovery_lcd.o + 0x0000000008002bb4 BSP_LCD_SetBackColor .text.BSP_LCD_SetFont - 0x0000000008002cb4 0x34 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008002cb4 BSP_LCD_SetFont - .text.BSP_LCD_GetFont - 0x0000000008002ce8 0x2c Core/Src/stm32746g_discovery_lcd.o - 0x0000000008002ce8 BSP_LCD_GetFont + 0x0000000008002be8 0x34 Core/Src/stm32746g_discovery_lcd.o + 0x0000000008002be8 BSP_LCD_SetFont .text.BSP_LCD_Clear - 0x0000000008002d14 0x50 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008002d14 BSP_LCD_Clear - .text.BSP_LCD_DisplayChar - 0x0000000008002d64 0x88 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008002d64 BSP_LCD_DisplayChar - .text.BSP_LCD_DisplayStringAt - 0x0000000008002dec 0x188 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008002dec BSP_LCD_DisplayStringAt - .text.BSP_LCD_DisplayStringAtLine - 0x0000000008002f74 0x2e Core/Src/stm32746g_discovery_lcd.o - 0x0000000008002f74 BSP_LCD_DisplayStringAtLine - *fill* 0x0000000008002fa2 0x2 + 0x0000000008002c1c 0x50 Core/Src/stm32746g_discovery_lcd.o + 0x0000000008002c1c BSP_LCD_Clear .text.BSP_LCD_DrawHLine - 0x0000000008002fa4 0xbc Core/Src/stm32746g_discovery_lcd.o - 0x0000000008002fa4 BSP_LCD_DrawHLine + 0x0000000008002c6c 0xbc Core/Src/stm32746g_discovery_lcd.o + 0x0000000008002c6c BSP_LCD_DrawHLine .text.BSP_LCD_DrawCircle - 0x0000000008003060 0x1e0 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008003060 BSP_LCD_DrawCircle + 0x0000000008002d28 0x1e0 Core/Src/stm32746g_discovery_lcd.o + 0x0000000008002d28 BSP_LCD_DrawCircle .text.BSP_LCD_DrawPixel - 0x0000000008003240 0x90 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008003240 BSP_LCD_DrawPixel + 0x0000000008002f08 0x90 Core/Src/stm32746g_discovery_lcd.o + 0x0000000008002f08 BSP_LCD_DrawPixel .text.BSP_LCD_DrawBitmap - 0x00000000080032d0 0x160 Core/Src/stm32746g_discovery_lcd.o - 0x00000000080032d0 BSP_LCD_DrawBitmap + 0x0000000008002f98 0x160 Core/Src/stm32746g_discovery_lcd.o + 0x0000000008002f98 BSP_LCD_DrawBitmap .text.BSP_LCD_FillRect - 0x0000000008003430 0xf4 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008003430 BSP_LCD_FillRect + 0x00000000080030f8 0xf4 Core/Src/stm32746g_discovery_lcd.o + 0x00000000080030f8 BSP_LCD_FillRect .text.BSP_LCD_FillCircle - 0x0000000008003524 0x140 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008003524 BSP_LCD_FillCircle + 0x00000000080031ec 0x140 Core/Src/stm32746g_discovery_lcd.o + 0x00000000080031ec BSP_LCD_FillCircle .text.BSP_LCD_DisplayOn - 0x0000000008003664 0x3c Core/Src/stm32746g_discovery_lcd.o - 0x0000000008003664 BSP_LCD_DisplayOn + 0x000000000800332c 0x3c Core/Src/stm32746g_discovery_lcd.o + 0x000000000800332c BSP_LCD_DisplayOn .text.BSP_LCD_MspInit - 0x00000000080036a0 0x1b4 Core/Src/stm32746g_discovery_lcd.o - 0x00000000080036a0 BSP_LCD_MspInit + 0x0000000008003368 0x1b4 Core/Src/stm32746g_discovery_lcd.o + 0x0000000008003368 BSP_LCD_MspInit .text.BSP_LCD_ClockConfig - 0x0000000008003854 0x38 Core/Src/stm32746g_discovery_lcd.o - 0x0000000008003854 BSP_LCD_ClockConfig - .text.DrawChar - 0x000000000800388c 0x170 Core/Src/stm32746g_discovery_lcd.o + 0x000000000800351c 0x38 Core/Src/stm32746g_discovery_lcd.o + 0x000000000800351c BSP_LCD_ClockConfig .text.LL_FillBuffer - 0x00000000080039fc 0x98 Core/Src/stm32746g_discovery_lcd.o + 0x0000000008003554 0x98 Core/Src/stm32746g_discovery_lcd.o .text.LL_ConvertLineToARGB8888 - 0x0000000008003a94 0x88 Core/Src/stm32746g_discovery_lcd.o + 0x00000000080035ec 0x88 Core/Src/stm32746g_discovery_lcd.o .text.BSP_SDRAM_Init - 0x0000000008003b1c 0xbc Core/Src/stm32746g_discovery_sdram.o - 0x0000000008003b1c BSP_SDRAM_Init + 0x0000000008003674 0xbc Core/Src/stm32746g_discovery_sdram.o + 0x0000000008003674 BSP_SDRAM_Init .text.BSP_SDRAM_Initialization_sequence - 0x0000000008003bd8 0xc0 Core/Src/stm32746g_discovery_sdram.o - 0x0000000008003bd8 BSP_SDRAM_Initialization_sequence + 0x0000000008003730 0xc0 Core/Src/stm32746g_discovery_sdram.o + 0x0000000008003730 BSP_SDRAM_Initialization_sequence .text.BSP_SDRAM_MspInit - 0x0000000008003c98 0x1f0 Core/Src/stm32746g_discovery_sdram.o - 0x0000000008003c98 BSP_SDRAM_MspInit + 0x00000000080037f0 0x1f0 Core/Src/stm32746g_discovery_sdram.o + 0x00000000080037f0 BSP_SDRAM_MspInit .text.BSP_TS_Init - 0x0000000008003e88 0x80 Core/Src/stm32746g_discovery_ts.o - 0x0000000008003e88 BSP_TS_Init + 0x00000000080039e0 0x80 Core/Src/stm32746g_discovery_ts.o + 0x00000000080039e0 BSP_TS_Init .text.BSP_TS_GetState - 0x0000000008003f08 0x3ac Core/Src/stm32746g_discovery_ts.o - 0x0000000008003f08 BSP_TS_GetState + 0x0000000008003a60 0x3ac Core/Src/stm32746g_discovery_ts.o + 0x0000000008003a60 BSP_TS_GetState .text.BSP_TS_Get_GestureId - 0x00000000080042b4 0x94 Core/Src/stm32746g_discovery_ts.o - 0x00000000080042b4 BSP_TS_Get_GestureId + 0x0000000008003e0c 0x94 Core/Src/stm32746g_discovery_ts.o + 0x0000000008003e0c BSP_TS_Get_GestureId .text.HAL_MspInit - 0x0000000008004348 0x50 Core/Src/stm32f7xx_hal_msp.o - 0x0000000008004348 HAL_MspInit + 0x0000000008003ea0 0x50 Core/Src/stm32f7xx_hal_msp.o + 0x0000000008003ea0 HAL_MspInit .text.HAL_ADC_MspInit - 0x0000000008004398 0xdc Core/Src/stm32f7xx_hal_msp.o - 0x0000000008004398 HAL_ADC_MspInit + 0x0000000008003ef0 0xdc Core/Src/stm32f7xx_hal_msp.o + 0x0000000008003ef0 HAL_ADC_MspInit .text.HAL_CRC_MspInit - 0x0000000008004474 0x40 Core/Src/stm32f7xx_hal_msp.o - 0x0000000008004474 HAL_CRC_MspInit + 0x0000000008003fcc 0x40 Core/Src/stm32f7xx_hal_msp.o + 0x0000000008003fcc HAL_CRC_MspInit .text.HAL_DAC_MspInit - 0x00000000080044b4 0x90 Core/Src/stm32f7xx_hal_msp.o - 0x00000000080044b4 HAL_DAC_MspInit + 0x000000000800400c 0x90 Core/Src/stm32f7xx_hal_msp.o + 0x000000000800400c HAL_DAC_MspInit .text.HAL_DMA2D_MspInit - 0x0000000008004544 0x40 Core/Src/stm32f7xx_hal_msp.o - 0x0000000008004544 HAL_DMA2D_MspInit + 0x000000000800409c 0x40 Core/Src/stm32f7xx_hal_msp.o + 0x000000000800409c HAL_DMA2D_MspInit .text.HAL_LTDC_MspInit - 0x0000000008004584 0x190 Core/Src/stm32f7xx_hal_msp.o - 0x0000000008004584 HAL_LTDC_MspInit + 0x00000000080040dc 0x190 Core/Src/stm32f7xx_hal_msp.o + 0x00000000080040dc HAL_LTDC_MspInit .text.HAL_RNG_MspInit - 0x0000000008004714 0x40 Core/Src/stm32f7xx_hal_msp.o - 0x0000000008004714 HAL_RNG_MspInit + 0x000000000800426c 0x40 Core/Src/stm32f7xx_hal_msp.o + 0x000000000800426c HAL_RNG_MspInit .text.HAL_SPI_MspInit - 0x0000000008004754 0xe4 Core/Src/stm32f7xx_hal_msp.o - 0x0000000008004754 HAL_SPI_MspInit + 0x00000000080042ac 0xe4 Core/Src/stm32f7xx_hal_msp.o + 0x00000000080042ac HAL_SPI_MspInit .text.HAL_TIM_Base_MspInit - 0x0000000008004838 0xdc Core/Src/stm32f7xx_hal_msp.o - 0x0000000008004838 HAL_TIM_Base_MspInit + 0x0000000008004390 0xdc Core/Src/stm32f7xx_hal_msp.o + 0x0000000008004390 HAL_TIM_Base_MspInit .text.HAL_TIM_MspPostInit - 0x0000000008004914 0xbc Core/Src/stm32f7xx_hal_msp.o - 0x0000000008004914 HAL_TIM_MspPostInit + 0x000000000800446c 0xbc Core/Src/stm32f7xx_hal_msp.o + 0x000000000800446c HAL_TIM_MspPostInit .text.HAL_FMC_MspInit - 0x00000000080049d0 0x120 Core/Src/stm32f7xx_hal_msp.o + 0x0000000008004528 0x120 Core/Src/stm32f7xx_hal_msp.o .text.HAL_SDRAM_MspInit - 0x0000000008004af0 0x14 Core/Src/stm32f7xx_hal_msp.o - 0x0000000008004af0 HAL_SDRAM_MspInit + 0x0000000008004648 0x14 Core/Src/stm32f7xx_hal_msp.o + 0x0000000008004648 HAL_SDRAM_MspInit .text.HAL_InitTick - 0x0000000008004b04 0xb0 Core/Src/stm32f7xx_hal_timebase_tim.o - 0x0000000008004b04 HAL_InitTick + 0x000000000800465c 0xb0 Core/Src/stm32f7xx_hal_timebase_tim.o + 0x000000000800465c HAL_InitTick .text.NMI_Handler - 0x0000000008004bb4 0x6 Core/Src/stm32f7xx_it.o - 0x0000000008004bb4 NMI_Handler + 0x000000000800470c 0x6 Core/Src/stm32f7xx_it.o + 0x000000000800470c NMI_Handler .text.HardFault_Handler - 0x0000000008004bba 0x6 Core/Src/stm32f7xx_it.o - 0x0000000008004bba HardFault_Handler + 0x0000000008004712 0x6 Core/Src/stm32f7xx_it.o + 0x0000000008004712 HardFault_Handler .text.MemManage_Handler - 0x0000000008004bc0 0x6 Core/Src/stm32f7xx_it.o - 0x0000000008004bc0 MemManage_Handler + 0x0000000008004718 0x6 Core/Src/stm32f7xx_it.o + 0x0000000008004718 MemManage_Handler .text.BusFault_Handler - 0x0000000008004bc6 0x6 Core/Src/stm32f7xx_it.o - 0x0000000008004bc6 BusFault_Handler + 0x000000000800471e 0x6 Core/Src/stm32f7xx_it.o + 0x000000000800471e BusFault_Handler .text.UsageFault_Handler - 0x0000000008004bcc 0x6 Core/Src/stm32f7xx_it.o - 0x0000000008004bcc UsageFault_Handler + 0x0000000008004724 0x6 Core/Src/stm32f7xx_it.o + 0x0000000008004724 UsageFault_Handler .text.DebugMon_Handler - 0x0000000008004bd2 0xe Core/Src/stm32f7xx_it.o - 0x0000000008004bd2 DebugMon_Handler + 0x000000000800472a 0xe Core/Src/stm32f7xx_it.o + 0x000000000800472a DebugMon_Handler + .text.EXTI9_5_IRQHandler + 0x0000000008004738 0x10 Core/Src/stm32f7xx_it.o + 0x0000000008004738 EXTI9_5_IRQHandler .text.TIM6_DAC_IRQHandler - 0x0000000008004be0 0x1c Core/Src/stm32f7xx_it.o - 0x0000000008004be0 TIM6_DAC_IRQHandler + 0x0000000008004748 0x1c Core/Src/stm32f7xx_it.o + 0x0000000008004748 TIM6_DAC_IRQHandler .text.ETH_IRQHandler - 0x0000000008004bfc 0x14 Core/Src/stm32f7xx_it.o - 0x0000000008004bfc ETH_IRQHandler + 0x0000000008004764 0x14 Core/Src/stm32f7xx_it.o + 0x0000000008004764 ETH_IRQHandler .text.LTDC_IRQHandler - 0x0000000008004c10 0x14 Core/Src/stm32f7xx_it.o - 0x0000000008004c10 LTDC_IRQHandler - .text._read 0x0000000008004c24 0x3a Core/Src/syscalls.o - 0x0000000008004c24 _read - .text._write 0x0000000008004c5e 0x38 Core/Src/syscalls.o - 0x0000000008004c5e _write - .text._close 0x0000000008004c96 0x18 Core/Src/syscalls.o - 0x0000000008004c96 _close - .text._fstat 0x0000000008004cae 0x20 Core/Src/syscalls.o - 0x0000000008004cae _fstat - .text._isatty 0x0000000008004cce 0x16 Core/Src/syscalls.o - 0x0000000008004cce _isatty - .text._lseek 0x0000000008004ce4 0x1a Core/Src/syscalls.o - 0x0000000008004ce4 _lseek - *fill* 0x0000000008004cfe 0x2 - .text._sbrk 0x0000000008004d00 0x70 Core/Src/sysmem.o - 0x0000000008004d00 _sbrk + 0x0000000008004778 0x14 Core/Src/stm32f7xx_it.o + 0x0000000008004778 LTDC_IRQHandler + .text._read 0x000000000800478c 0x3a Core/Src/syscalls.o + 0x000000000800478c _read + .text._write 0x00000000080047c6 0x38 Core/Src/syscalls.o + 0x00000000080047c6 _write + .text._close 0x00000000080047fe 0x18 Core/Src/syscalls.o + 0x00000000080047fe _close + .text._fstat 0x0000000008004816 0x20 Core/Src/syscalls.o + 0x0000000008004816 _fstat + .text._isatty 0x0000000008004836 0x16 Core/Src/syscalls.o + 0x0000000008004836 _isatty + .text._lseek 0x000000000800484c 0x1a Core/Src/syscalls.o + 0x000000000800484c _lseek + *fill* 0x0000000008004866 0x2 + .text._sbrk 0x0000000008004868 0x70 Core/Src/sysmem.o + 0x0000000008004868 _sbrk .text.SystemInit - 0x0000000008004d70 0x2c Core/Src/system_stm32f7xx.o - 0x0000000008004d70 SystemInit + 0x00000000080048d8 0x2c Core/Src/system_stm32f7xx.o + 0x00000000080048d8 SystemInit .text.Reset_Handler - 0x0000000008004d9c 0x50 Core/Startup/startup_stm32f746nghx.o - 0x0000000008004d9c Reset_Handler + 0x0000000008004904 0x50 Core/Startup/startup_stm32f746nghx.o + 0x0000000008004904 Reset_Handler .text.Default_Handler - 0x0000000008004dec 0x2 Core/Startup/startup_stm32f746nghx.o - 0x0000000008004dec RTC_Alarm_IRQHandler - 0x0000000008004dec EXTI2_IRQHandler - 0x0000000008004dec TIM8_CC_IRQHandler - 0x0000000008004dec UART8_IRQHandler - 0x0000000008004dec SPI4_IRQHandler - 0x0000000008004dec TIM1_CC_IRQHandler - 0x0000000008004dec DMA2_Stream5_IRQHandler - 0x0000000008004dec DMA1_Stream5_IRQHandler - 0x0000000008004dec PVD_IRQHandler - 0x0000000008004dec TAMP_STAMP_IRQHandler - 0x0000000008004dec CAN2_RX1_IRQHandler - 0x0000000008004dec EXTI3_IRQHandler - 0x0000000008004dec TIM8_TRG_COM_TIM14_IRQHandler - 0x0000000008004dec TIM1_UP_TIM10_IRQHandler - 0x0000000008004dec TIM8_UP_TIM13_IRQHandler - 0x0000000008004dec I2C3_ER_IRQHandler - 0x0000000008004dec EXTI0_IRQHandler - 0x0000000008004dec I2C2_EV_IRQHandler - 0x0000000008004dec DMA1_Stream2_IRQHandler - 0x0000000008004dec CAN1_RX0_IRQHandler - 0x0000000008004dec FPU_IRQHandler - 0x0000000008004dec OTG_HS_WKUP_IRQHandler - 0x0000000008004dec LTDC_ER_IRQHandler - 0x0000000008004dec CAN2_SCE_IRQHandler - 0x0000000008004dec DMA2_Stream2_IRQHandler - 0x0000000008004dec SPI1_IRQHandler - 0x0000000008004dec TIM1_BRK_TIM9_IRQHandler - 0x0000000008004dec DCMI_IRQHandler - 0x0000000008004dec CAN2_RX0_IRQHandler - 0x0000000008004dec DMA2_Stream3_IRQHandler - 0x0000000008004dec SAI2_IRQHandler - 0x0000000008004dec USART6_IRQHandler - 0x0000000008004dec USART3_IRQHandler - 0x0000000008004dec CAN1_RX1_IRQHandler - 0x0000000008004dec UART5_IRQHandler - 0x0000000008004dec DMA2_Stream0_IRQHandler - 0x0000000008004dec TIM4_IRQHandler - 0x0000000008004dec QUADSPI_IRQHandler - 0x0000000008004dec I2C1_EV_IRQHandler - 0x0000000008004dec DMA1_Stream6_IRQHandler - 0x0000000008004dec DMA1_Stream1_IRQHandler - 0x0000000008004dec UART4_IRQHandler - 0x0000000008004dec TIM3_IRQHandler - 0x0000000008004dec RCC_IRQHandler - 0x0000000008004dec TIM8_BRK_TIM12_IRQHandler - 0x0000000008004dec Default_Handler - 0x0000000008004dec CEC_IRQHandler - 0x0000000008004dec EXTI15_10_IRQHandler - 0x0000000008004dec ADC_IRQHandler - 0x0000000008004dec DMA1_Stream7_IRQHandler - 0x0000000008004dec SPI5_IRQHandler - 0x0000000008004dec TIM7_IRQHandler - 0x0000000008004dec SDMMC1_IRQHandler - 0x0000000008004dec CAN2_TX_IRQHandler - 0x0000000008004dec TIM5_IRQHandler - 0x0000000008004dec DMA2_Stream7_IRQHandler - 0x0000000008004dec I2C3_EV_IRQHandler - 0x0000000008004dec EXTI9_5_IRQHandler - 0x0000000008004dec RTC_WKUP_IRQHandler - 0x0000000008004dec ETH_WKUP_IRQHandler - 0x0000000008004dec SPDIF_RX_IRQHandler - 0x0000000008004dec SPI2_IRQHandler - 0x0000000008004dec OTG_HS_EP1_IN_IRQHandler - 0x0000000008004dec DMA1_Stream0_IRQHandler - 0x0000000008004dec CAN1_TX_IRQHandler - 0x0000000008004dec EXTI4_IRQHandler - 0x0000000008004dec RNG_IRQHandler - 0x0000000008004dec OTG_HS_EP1_OUT_IRQHandler - 0x0000000008004dec WWDG_IRQHandler - 0x0000000008004dec SPI6_IRQHandler - 0x0000000008004dec I2C4_EV_IRQHandler - 0x0000000008004dec TIM2_IRQHandler - 0x0000000008004dec OTG_FS_WKUP_IRQHandler - 0x0000000008004dec TIM1_TRG_COM_TIM11_IRQHandler - 0x0000000008004dec OTG_HS_IRQHandler - 0x0000000008004dec DMA2D_IRQHandler - 0x0000000008004dec EXTI1_IRQHandler - 0x0000000008004dec UART7_IRQHandler - 0x0000000008004dec USART2_IRQHandler - 0x0000000008004dec I2C2_ER_IRQHandler - 0x0000000008004dec DMA2_Stream1_IRQHandler - 0x0000000008004dec CAN1_SCE_IRQHandler - 0x0000000008004dec FLASH_IRQHandler - 0x0000000008004dec DMA2_Stream4_IRQHandler - 0x0000000008004dec USART1_IRQHandler - 0x0000000008004dec OTG_FS_IRQHandler - 0x0000000008004dec SPI3_IRQHandler - 0x0000000008004dec DMA1_Stream4_IRQHandler - 0x0000000008004dec I2C1_ER_IRQHandler - 0x0000000008004dec FMC_IRQHandler - 0x0000000008004dec LPTIM1_IRQHandler - 0x0000000008004dec I2C4_ER_IRQHandler - 0x0000000008004dec DMA2_Stream6_IRQHandler - 0x0000000008004dec SAI1_IRQHandler - 0x0000000008004dec DMA1_Stream3_IRQHandler + 0x0000000008004954 0x2 Core/Startup/startup_stm32f746nghx.o + 0x0000000008004954 RTC_Alarm_IRQHandler + 0x0000000008004954 EXTI2_IRQHandler + 0x0000000008004954 TIM8_CC_IRQHandler + 0x0000000008004954 UART8_IRQHandler + 0x0000000008004954 SPI4_IRQHandler + 0x0000000008004954 TIM1_CC_IRQHandler + 0x0000000008004954 DMA2_Stream5_IRQHandler + 0x0000000008004954 DMA1_Stream5_IRQHandler + 0x0000000008004954 PVD_IRQHandler + 0x0000000008004954 TAMP_STAMP_IRQHandler + 0x0000000008004954 CAN2_RX1_IRQHandler + 0x0000000008004954 EXTI3_IRQHandler + 0x0000000008004954 TIM8_TRG_COM_TIM14_IRQHandler + 0x0000000008004954 TIM1_UP_TIM10_IRQHandler + 0x0000000008004954 TIM8_UP_TIM13_IRQHandler + 0x0000000008004954 I2C3_ER_IRQHandler + 0x0000000008004954 EXTI0_IRQHandler + 0x0000000008004954 I2C2_EV_IRQHandler + 0x0000000008004954 DMA1_Stream2_IRQHandler + 0x0000000008004954 CAN1_RX0_IRQHandler + 0x0000000008004954 FPU_IRQHandler + 0x0000000008004954 OTG_HS_WKUP_IRQHandler + 0x0000000008004954 LTDC_ER_IRQHandler + 0x0000000008004954 CAN2_SCE_IRQHandler + 0x0000000008004954 DMA2_Stream2_IRQHandler + 0x0000000008004954 SPI1_IRQHandler + 0x0000000008004954 TIM1_BRK_TIM9_IRQHandler + 0x0000000008004954 DCMI_IRQHandler + 0x0000000008004954 CAN2_RX0_IRQHandler + 0x0000000008004954 DMA2_Stream3_IRQHandler + 0x0000000008004954 SAI2_IRQHandler + 0x0000000008004954 USART6_IRQHandler + 0x0000000008004954 USART3_IRQHandler + 0x0000000008004954 CAN1_RX1_IRQHandler + 0x0000000008004954 UART5_IRQHandler + 0x0000000008004954 DMA2_Stream0_IRQHandler + 0x0000000008004954 TIM4_IRQHandler + 0x0000000008004954 QUADSPI_IRQHandler + 0x0000000008004954 I2C1_EV_IRQHandler + 0x0000000008004954 DMA1_Stream6_IRQHandler + 0x0000000008004954 DMA1_Stream1_IRQHandler + 0x0000000008004954 UART4_IRQHandler + 0x0000000008004954 TIM3_IRQHandler + 0x0000000008004954 RCC_IRQHandler + 0x0000000008004954 TIM8_BRK_TIM12_IRQHandler + 0x0000000008004954 Default_Handler + 0x0000000008004954 CEC_IRQHandler + 0x0000000008004954 EXTI15_10_IRQHandler + 0x0000000008004954 ADC_IRQHandler + 0x0000000008004954 DMA1_Stream7_IRQHandler + 0x0000000008004954 SPI5_IRQHandler + 0x0000000008004954 TIM7_IRQHandler + 0x0000000008004954 SDMMC1_IRQHandler + 0x0000000008004954 CAN2_TX_IRQHandler + 0x0000000008004954 TIM5_IRQHandler + 0x0000000008004954 DMA2_Stream7_IRQHandler + 0x0000000008004954 I2C3_EV_IRQHandler + 0x0000000008004954 RTC_WKUP_IRQHandler + 0x0000000008004954 ETH_WKUP_IRQHandler + 0x0000000008004954 SPDIF_RX_IRQHandler + 0x0000000008004954 SPI2_IRQHandler + 0x0000000008004954 OTG_HS_EP1_IN_IRQHandler + 0x0000000008004954 DMA1_Stream0_IRQHandler + 0x0000000008004954 CAN1_TX_IRQHandler + 0x0000000008004954 EXTI4_IRQHandler + 0x0000000008004954 RNG_IRQHandler + 0x0000000008004954 OTG_HS_EP1_OUT_IRQHandler + 0x0000000008004954 WWDG_IRQHandler + 0x0000000008004954 SPI6_IRQHandler + 0x0000000008004954 I2C4_EV_IRQHandler + 0x0000000008004954 TIM2_IRQHandler + 0x0000000008004954 OTG_FS_WKUP_IRQHandler + 0x0000000008004954 TIM1_TRG_COM_TIM11_IRQHandler + 0x0000000008004954 OTG_HS_IRQHandler + 0x0000000008004954 DMA2D_IRQHandler + 0x0000000008004954 EXTI1_IRQHandler + 0x0000000008004954 UART7_IRQHandler + 0x0000000008004954 USART2_IRQHandler + 0x0000000008004954 I2C2_ER_IRQHandler + 0x0000000008004954 DMA2_Stream1_IRQHandler + 0x0000000008004954 CAN1_SCE_IRQHandler + 0x0000000008004954 FLASH_IRQHandler + 0x0000000008004954 DMA2_Stream4_IRQHandler + 0x0000000008004954 USART1_IRQHandler + 0x0000000008004954 OTG_FS_IRQHandler + 0x0000000008004954 SPI3_IRQHandler + 0x0000000008004954 DMA1_Stream4_IRQHandler + 0x0000000008004954 I2C1_ER_IRQHandler + 0x0000000008004954 FMC_IRQHandler + 0x0000000008004954 LPTIM1_IRQHandler + 0x0000000008004954 I2C4_ER_IRQHandler + 0x0000000008004954 DMA2_Stream6_IRQHandler + 0x0000000008004954 SAI1_IRQHandler + 0x0000000008004954 DMA1_Stream3_IRQHandler .text.HAL_Init - 0x0000000008004dee 0x1a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o - 0x0000000008004dee HAL_Init + 0x0000000008004956 0x1a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o + 0x0000000008004956 HAL_Init .text.HAL_IncTick - 0x0000000008004e08 0x28 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o - 0x0000000008004e08 HAL_IncTick + 0x0000000008004970 0x28 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o + 0x0000000008004970 HAL_IncTick .text.HAL_GetTick - 0x0000000008004e30 0x18 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o - 0x0000000008004e30 HAL_GetTick + 0x0000000008004998 0x18 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o + 0x0000000008004998 HAL_GetTick .text.HAL_Delay - 0x0000000008004e48 0x44 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o - 0x0000000008004e48 HAL_Delay + 0x00000000080049b0 0x44 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o + 0x00000000080049b0 HAL_Delay .text.HAL_ADC_Init - 0x0000000008004e8c 0x88 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o - 0x0000000008004e8c HAL_ADC_Init + 0x00000000080049f4 0x88 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o + 0x00000000080049f4 HAL_ADC_Init .text.HAL_ADC_Start - 0x0000000008004f14 0x180 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o - 0x0000000008004f14 HAL_ADC_Start + 0x0000000008004a7c 0x180 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o + 0x0000000008004a7c HAL_ADC_Start .text.HAL_ADC_PollForConversion - 0x0000000008005094 0x108 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o - 0x0000000008005094 HAL_ADC_PollForConversion + 0x0000000008004bfc 0x108 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o + 0x0000000008004bfc HAL_ADC_PollForConversion .text.HAL_ADC_GetValue - 0x000000000800519c 0x1a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o - 0x000000000800519c HAL_ADC_GetValue - *fill* 0x00000000080051b6 0x2 + 0x0000000008004d04 0x1a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o + 0x0000000008004d04 HAL_ADC_GetValue + *fill* 0x0000000008004d1e 0x2 .text.HAL_ADC_ConfigChannel - 0x00000000080051b8 0x294 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o - 0x00000000080051b8 HAL_ADC_ConfigChannel + 0x0000000008004d20 0x294 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o + 0x0000000008004d20 HAL_ADC_ConfigChannel .text.ADC_Init - 0x000000000800544c 0x1f4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o + 0x0000000008004fb4 0x1f4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o .text.__NVIC_SetPriorityGrouping - 0x0000000008005640 0x48 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + 0x00000000080051a8 0x48 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o .text.__NVIC_GetPriorityGrouping - 0x0000000008005688 0x1c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + 0x00000000080051f0 0x1c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o .text.__NVIC_EnableIRQ - 0x00000000080056a4 0x3c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + 0x000000000800520c 0x3c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o .text.__NVIC_SetPriority - 0x00000000080056e0 0x54 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + 0x0000000008005248 0x54 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o .text.NVIC_EncodePriority - 0x0000000008005734 0x66 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + 0x000000000800529c 0x66 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o .text.HAL_NVIC_SetPriorityGrouping - 0x000000000800579a 0x16 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o - 0x000000000800579a HAL_NVIC_SetPriorityGrouping + 0x0000000008005302 0x16 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + 0x0000000008005302 HAL_NVIC_SetPriorityGrouping .text.HAL_NVIC_SetPriority - 0x00000000080057b0 0x38 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o - 0x00000000080057b0 HAL_NVIC_SetPriority + 0x0000000008005318 0x38 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + 0x0000000008005318 HAL_NVIC_SetPriority .text.HAL_NVIC_EnableIRQ - 0x00000000080057e8 0x1c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o - 0x00000000080057e8 HAL_NVIC_EnableIRQ + 0x0000000008005350 0x1c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + 0x0000000008005350 HAL_NVIC_EnableIRQ .text.HAL_CRC_Init - 0x0000000008005804 0xc8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o - 0x0000000008005804 HAL_CRC_Init + 0x000000000800536c 0xc8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o + 0x000000000800536c HAL_CRC_Init .text.HAL_CRCEx_Polynomial_Set - 0x00000000080058cc 0x10c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o - 0x00000000080058cc HAL_CRCEx_Polynomial_Set + 0x0000000008005434 0x10c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o + 0x0000000008005434 HAL_CRCEx_Polynomial_Set .text.HAL_DAC_Init - 0x00000000080059d8 0x44 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o - 0x00000000080059d8 HAL_DAC_Init + 0x0000000008005540 0x44 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o + 0x0000000008005540 HAL_DAC_Init .text.HAL_DAC_IRQHandler - 0x0000000008005a1c 0x94 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o - 0x0000000008005a1c HAL_DAC_IRQHandler + 0x0000000008005584 0x94 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o + 0x0000000008005584 HAL_DAC_IRQHandler .text.HAL_DAC_DMAUnderrunCallbackCh1 - 0x0000000008005ab0 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o - 0x0000000008005ab0 HAL_DAC_DMAUnderrunCallbackCh1 + 0x0000000008005618 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o + 0x0000000008005618 HAL_DAC_DMAUnderrunCallbackCh1 .text.HAL_DAC_ConfigChannel - 0x0000000008005ac4 0x9a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o - 0x0000000008005ac4 HAL_DAC_ConfigChannel + 0x000000000800562c 0x9a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o + 0x000000000800562c HAL_DAC_ConfigChannel .text.HAL_DACEx_DMAUnderrunCallbackCh2 - 0x0000000008005b5e 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o - 0x0000000008005b5e HAL_DACEx_DMAUnderrunCallbackCh2 - *fill* 0x0000000008005b72 0x2 + 0x00000000080056c6 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o + 0x00000000080056c6 HAL_DACEx_DMAUnderrunCallbackCh2 + *fill* 0x00000000080056da 0x2 .text.HAL_DMA_Init - 0x0000000008005b74 0x15c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o - 0x0000000008005b74 HAL_DMA_Init + 0x00000000080056dc 0x15c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o + 0x00000000080056dc HAL_DMA_Init .text.HAL_DMA_DeInit - 0x0000000008005cd0 0xbc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o - 0x0000000008005cd0 HAL_DMA_DeInit + 0x0000000008005838 0xbc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o + 0x0000000008005838 HAL_DMA_DeInit .text.DMA_CalcBaseAndBitshift - 0x0000000008005d8c 0x6c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o + 0x00000000080058f4 0x6c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o .text.DMA_CheckFifoParam - 0x0000000008005df8 0xf4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o + 0x0000000008005960 0xf4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o .text.HAL_DMA2D_Init - 0x0000000008005eec 0x94 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o - 0x0000000008005eec HAL_DMA2D_Init + 0x0000000008005a54 0x94 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o + 0x0000000008005a54 HAL_DMA2D_Init .text.HAL_DMA2D_Start - 0x0000000008005f80 0x56 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o - 0x0000000008005f80 HAL_DMA2D_Start + 0x0000000008005ae8 0x56 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o + 0x0000000008005ae8 HAL_DMA2D_Start .text.HAL_DMA2D_PollForTransfer - 0x0000000008005fd6 0x1d2 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o - 0x0000000008005fd6 HAL_DMA2D_PollForTransfer + 0x0000000008005b3e 0x1d2 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o + 0x0000000008005b3e HAL_DMA2D_PollForTransfer .text.HAL_DMA2D_ConfigLayer - 0x00000000080061a8 0x124 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o - 0x00000000080061a8 HAL_DMA2D_ConfigLayer + 0x0000000008005d10 0x124 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o + 0x0000000008005d10 HAL_DMA2D_ConfigLayer .text.DMA2D_SetConfig - 0x00000000080062cc 0x138 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o + 0x0000000008005e34 0x138 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o .text.HAL_ETH_Init - 0x0000000008006404 0x338 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - 0x0000000008006404 HAL_ETH_Init + 0x0000000008005f6c 0x338 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x0000000008005f6c HAL_ETH_Init .text.HAL_ETH_DMATxDescListInit - 0x000000000800673c 0xd2 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - 0x000000000800673c HAL_ETH_DMATxDescListInit + 0x00000000080062a4 0xd2 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x00000000080062a4 HAL_ETH_DMATxDescListInit .text.HAL_ETH_DMARxDescListInit - 0x000000000800680e 0xda Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - 0x000000000800680e HAL_ETH_DMARxDescListInit + 0x0000000008006376 0xda Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x0000000008006376 HAL_ETH_DMARxDescListInit .text.HAL_ETH_TransmitFrame - 0x00000000080068e8 0x1d4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - 0x00000000080068e8 HAL_ETH_TransmitFrame + 0x0000000008006450 0x1d4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x0000000008006450 HAL_ETH_TransmitFrame .text.HAL_ETH_GetReceivedFrame_IT - 0x0000000008006abc 0x110 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - 0x0000000008006abc HAL_ETH_GetReceivedFrame_IT + 0x0000000008006624 0x110 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x0000000008006624 HAL_ETH_GetReceivedFrame_IT .text.HAL_ETH_IRQHandler - 0x0000000008006bcc 0xce Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - 0x0000000008006bcc HAL_ETH_IRQHandler + 0x0000000008006734 0xce Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x0000000008006734 HAL_ETH_IRQHandler .text.HAL_ETH_TxCpltCallback - 0x0000000008006c9a 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - 0x0000000008006c9a HAL_ETH_TxCpltCallback + 0x0000000008006802 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x0000000008006802 HAL_ETH_TxCpltCallback .text.HAL_ETH_ErrorCallback - 0x0000000008006cae 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - 0x0000000008006cae HAL_ETH_ErrorCallback + 0x0000000008006816 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x0000000008006816 HAL_ETH_ErrorCallback .text.HAL_ETH_ReadPHYRegister - 0x0000000008006cc2 0xd0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - 0x0000000008006cc2 HAL_ETH_ReadPHYRegister + 0x000000000800682a 0xd0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x000000000800682a HAL_ETH_ReadPHYRegister .text.HAL_ETH_WritePHYRegister - 0x0000000008006d92 0xcc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - 0x0000000008006d92 HAL_ETH_WritePHYRegister + 0x00000000080068fa 0xcc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x00000000080068fa HAL_ETH_WritePHYRegister .text.HAL_ETH_Start - 0x0000000008006e5e 0x5e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - 0x0000000008006e5e HAL_ETH_Start + 0x00000000080069c6 0x5e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x00000000080069c6 HAL_ETH_Start .text.HAL_ETH_Stop - 0x0000000008006ebc 0x5e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - 0x0000000008006ebc HAL_ETH_Stop - *fill* 0x0000000008006f1a 0x2 + 0x0000000008006a24 0x5e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x0000000008006a24 HAL_ETH_Stop + *fill* 0x0000000008006a82 0x2 .text.HAL_ETH_ConfigMAC - 0x0000000008006f1c 0x1f4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - 0x0000000008006f1c HAL_ETH_ConfigMAC + 0x0000000008006a84 0x1f4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x0000000008006a84 HAL_ETH_ConfigMAC .text.ETH_MACDMAConfig - 0x0000000008007110 0x394 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x0000000008006c78 0x394 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o .text.ETH_MACAddressConfig - 0x00000000080074a4 0x70 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x000000000800700c 0x70 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o .text.ETH_MACTransmissionEnable - 0x0000000008007514 0x3a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x000000000800707c 0x3a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o .text.ETH_MACTransmissionDisable - 0x000000000800754e 0x3a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x00000000080070b6 0x3a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o .text.ETH_MACReceptionEnable - 0x0000000008007588 0x3a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x00000000080070f0 0x3a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o .text.ETH_MACReceptionDisable - 0x00000000080075c2 0x3a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x000000000800712a 0x3a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o .text.ETH_DMATransmissionEnable - 0x00000000080075fc 0x30 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x0000000008007164 0x30 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o .text.ETH_DMATransmissionDisable - 0x000000000800762c 0x30 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x0000000008007194 0x30 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o .text.ETH_DMAReceptionEnable - 0x000000000800765c 0x30 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x00000000080071c4 0x30 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o .text.ETH_DMAReceptionDisable - 0x000000000800768c 0x30 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x00000000080071f4 0x30 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o .text.ETH_FlushTransmitFIFO - 0x00000000080076bc 0x52 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - *fill* 0x000000000800770e 0x2 + 0x0000000008007224 0x52 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + *fill* 0x0000000008007276 0x2 .text.HAL_GPIO_Init - 0x0000000008007710 0x354 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o - 0x0000000008007710 HAL_GPIO_Init - .text.HAL_GPIO_ReadPin - 0x0000000008007a64 0x30 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o - 0x0000000008007a64 HAL_GPIO_ReadPin + 0x0000000008007278 0x354 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o + 0x0000000008007278 HAL_GPIO_Init .text.HAL_GPIO_WritePin - 0x0000000008007a94 0x32 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o - 0x0000000008007a94 HAL_GPIO_WritePin - *fill* 0x0000000008007ac6 0x2 + 0x00000000080075cc 0x32 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o + 0x00000000080075cc HAL_GPIO_WritePin + .text.HAL_GPIO_TogglePin + 0x00000000080075fe 0x34 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o + 0x00000000080075fe HAL_GPIO_TogglePin + *fill* 0x0000000008007632 0x2 + .text.HAL_GPIO_EXTI_IRQHandler + 0x0000000008007634 0x30 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o + 0x0000000008007634 HAL_GPIO_EXTI_IRQHandler .text.HAL_I2C_Init - 0x0000000008007ac8 0x120 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o - 0x0000000008007ac8 HAL_I2C_Init + 0x0000000008007664 0x120 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x0000000008007664 HAL_I2C_Init .text.HAL_I2C_DeInit - 0x0000000008007be8 0x5e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o - 0x0000000008007be8 HAL_I2C_DeInit + 0x0000000008007784 0x5e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x0000000008007784 HAL_I2C_DeInit .text.HAL_I2C_MspInit - 0x0000000008007c46 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o - 0x0000000008007c46 HAL_I2C_MspInit + 0x00000000080077e2 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x00000000080077e2 HAL_I2C_MspInit .text.HAL_I2C_MspDeInit - 0x0000000008007c5a 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o - 0x0000000008007c5a HAL_I2C_MspDeInit - *fill* 0x0000000008007c6e 0x2 + 0x00000000080077f6 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x00000000080077f6 HAL_I2C_MspDeInit + *fill* 0x000000000800780a 0x2 .text.HAL_I2C_Mem_Write - 0x0000000008007c70 0x228 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o - 0x0000000008007c70 HAL_I2C_Mem_Write + 0x000000000800780c 0x228 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x000000000800780c HAL_I2C_Mem_Write .text.HAL_I2C_Mem_Read - 0x0000000008007e98 0x234 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o - 0x0000000008007e98 HAL_I2C_Mem_Read + 0x0000000008007a34 0x234 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x0000000008007a34 HAL_I2C_Mem_Read .text.HAL_I2C_GetState - 0x00000000080080cc 0x1c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o - 0x00000000080080cc HAL_I2C_GetState + 0x0000000008007c68 0x1c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x0000000008007c68 HAL_I2C_GetState .text.I2C_RequestMemoryWrite - 0x00000000080080e8 0xa8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x0000000008007c84 0xa8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o .text.I2C_RequestMemoryRead - 0x0000000008008190 0xa8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x0000000008007d2c 0xa8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o .text.I2C_Flush_TXDR - 0x0000000008008238 0x48 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x0000000008007dd4 0x48 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o .text.I2C_WaitOnFlagUntilTimeout - 0x0000000008008280 0x80 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x0000000008007e1c 0x80 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o .text.I2C_WaitOnTXISFlagUntilTimeout - 0x0000000008008300 0x80 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x0000000008007e9c 0x80 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o .text.I2C_WaitOnSTOPFlagUntilTimeout - 0x0000000008008380 0x78 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x0000000008007f1c 0x78 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o .text.I2C_IsAcknowledgeFailed - 0x00000000080083f8 0xcc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x0000000008007f94 0xcc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o .text.I2C_TransferConfig - 0x00000000080084c4 0x5c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x0000000008008060 0x5c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o .text.HAL_LTDC_Init - 0x0000000008008520 0x1a0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o - 0x0000000008008520 HAL_LTDC_Init + 0x00000000080080bc 0x1a0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + 0x00000000080080bc HAL_LTDC_Init .text.HAL_LTDC_IRQHandler - 0x00000000080086c0 0x148 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o - 0x00000000080086c0 HAL_LTDC_IRQHandler + 0x000000000800825c 0x148 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + 0x000000000800825c HAL_LTDC_IRQHandler .text.HAL_LTDC_ErrorCallback - 0x0000000008008808 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o - 0x0000000008008808 HAL_LTDC_ErrorCallback + 0x00000000080083a4 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + 0x00000000080083a4 HAL_LTDC_ErrorCallback .text.HAL_LTDC_LineEventCallback - 0x000000000800881c 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o - 0x000000000800881c HAL_LTDC_LineEventCallback + 0x00000000080083b8 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + 0x00000000080083b8 HAL_LTDC_LineEventCallback .text.HAL_LTDC_ReloadEventCallback - 0x0000000008008830 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o - 0x0000000008008830 HAL_LTDC_ReloadEventCallback + 0x00000000080083cc 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + 0x00000000080083cc HAL_LTDC_ReloadEventCallback .text.HAL_LTDC_ConfigLayer - 0x0000000008008844 0x7c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o - 0x0000000008008844 HAL_LTDC_ConfigLayer + 0x00000000080083e0 0x7c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + 0x00000000080083e0 HAL_LTDC_ConfigLayer .text.HAL_LTDC_GetState - 0x00000000080088c0 0x1c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o - 0x00000000080088c0 HAL_LTDC_GetState + 0x000000000800845c 0x1c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + 0x000000000800845c HAL_LTDC_GetState .text.LTDC_SetConfig - 0x00000000080088dc 0x334 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + 0x0000000008008478 0x334 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o .text.HAL_PWR_EnableBkUpAccess - 0x0000000008008c10 0x20 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o - 0x0000000008008c10 HAL_PWR_EnableBkUpAccess + 0x00000000080087ac 0x20 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o + 0x00000000080087ac HAL_PWR_EnableBkUpAccess .text.HAL_PWREx_EnableOverDrive - 0x0000000008008c30 0xa0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o - 0x0000000008008c30 HAL_PWREx_EnableOverDrive + 0x00000000080087cc 0xa0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o + 0x00000000080087cc HAL_PWREx_EnableOverDrive .text.HAL_RCC_OscConfig - 0x0000000008008cd0 0x548 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o - 0x0000000008008cd0 HAL_RCC_OscConfig + 0x000000000800886c 0x548 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o + 0x000000000800886c HAL_RCC_OscConfig .text.HAL_RCC_ClockConfig - 0x0000000008009218 0x1d8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o - 0x0000000008009218 HAL_RCC_ClockConfig + 0x0000000008008db4 0x1d8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o + 0x0000000008008db4 HAL_RCC_ClockConfig .text.HAL_RCC_GetSysClockFreq - 0x00000000080093f0 0x164 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o - 0x00000000080093f0 HAL_RCC_GetSysClockFreq + 0x0000000008008f8c 0x164 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o + 0x0000000008008f8c HAL_RCC_GetSysClockFreq .text.HAL_RCC_GetHCLKFreq - 0x0000000008009554 0x18 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o - 0x0000000008009554 HAL_RCC_GetHCLKFreq + 0x00000000080090f0 0x18 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o + 0x00000000080090f0 HAL_RCC_GetHCLKFreq .text.HAL_RCC_GetPCLK1Freq - 0x000000000800956c 0x28 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o - 0x000000000800956c HAL_RCC_GetPCLK1Freq + 0x0000000008009108 0x28 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o + 0x0000000008009108 HAL_RCC_GetPCLK1Freq .text.HAL_RCC_GetClockConfig - 0x0000000008009594 0x64 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o - 0x0000000008009594 HAL_RCC_GetClockConfig + 0x0000000008009130 0x64 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o + 0x0000000008009130 HAL_RCC_GetClockConfig .text.HAL_RCCEx_PeriphCLKConfig - 0x00000000080095f8 0x7dc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o - 0x00000000080095f8 HAL_RCCEx_PeriphCLKConfig + 0x0000000008009194 0x7dc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o + 0x0000000008009194 HAL_RCCEx_PeriphCLKConfig .text.HAL_RNG_Init - 0x0000000008009dd4 0x54 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o - 0x0000000008009dd4 HAL_RNG_Init + 0x0000000008009970 0x54 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o + 0x0000000008009970 HAL_RNG_Init .text.HAL_SDRAM_Init - 0x0000000008009e28 0x68 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o - 0x0000000008009e28 HAL_SDRAM_Init + 0x00000000080099c4 0x68 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o + 0x00000000080099c4 HAL_SDRAM_Init .text.HAL_SDRAM_SendCommand - 0x0000000008009e90 0x56 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o - 0x0000000008009e90 HAL_SDRAM_SendCommand + 0x0000000008009a2c 0x56 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o + 0x0000000008009a2c HAL_SDRAM_SendCommand .text.HAL_SDRAM_ProgramRefreshRate - 0x0000000008009ee6 0x40 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o - 0x0000000008009ee6 HAL_SDRAM_ProgramRefreshRate + 0x0000000008009a82 0x40 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o + 0x0000000008009a82 HAL_SDRAM_ProgramRefreshRate .text.HAL_SPI_Init - 0x0000000008009f26 0x124 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o - 0x0000000008009f26 HAL_SPI_Init + 0x0000000008009ac2 0x124 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o + 0x0000000008009ac2 HAL_SPI_Init .text.HAL_TIM_Base_Init - 0x000000000800a04a 0x56 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800a04a HAL_TIM_Base_Init + 0x0000000008009be6 0x56 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x0000000008009be6 HAL_TIM_Base_Init .text.HAL_TIM_Base_Start_IT - 0x000000000800a0a0 0x54 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800a0a0 HAL_TIM_Base_Start_IT + 0x0000000008009c3c 0x54 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x0000000008009c3c HAL_TIM_Base_Start_IT .text.HAL_TIM_PWM_Init - 0x000000000800a0f4 0x56 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800a0f4 HAL_TIM_PWM_Init + 0x0000000008009c90 0x56 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x0000000008009c90 HAL_TIM_PWM_Init .text.HAL_TIM_PWM_MspInit - 0x000000000800a14a 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800a14a HAL_TIM_PWM_MspInit + 0x0000000008009ce6 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x0000000008009ce6 HAL_TIM_PWM_MspInit .text.HAL_TIM_IRQHandler - 0x000000000800a15e 0x23e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800a15e HAL_TIM_IRQHandler + 0x0000000008009cfa 0x23e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x0000000008009cfa HAL_TIM_IRQHandler .text.HAL_TIM_PWM_ConfigChannel - 0x000000000800a39c 0x230 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800a39c HAL_TIM_PWM_ConfigChannel + 0x0000000008009f38 0x230 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x0000000008009f38 HAL_TIM_PWM_ConfigChannel .text.HAL_TIM_ConfigClockSource - 0x000000000800a5cc 0x174 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800a5cc HAL_TIM_ConfigClockSource + 0x000000000800a168 0x174 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800a168 HAL_TIM_ConfigClockSource .text.HAL_TIM_SlaveConfigSynchro - 0x000000000800a740 0x84 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800a740 HAL_TIM_SlaveConfigSynchro + 0x000000000800a2dc 0x84 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800a2dc HAL_TIM_SlaveConfigSynchro .text.HAL_TIM_OC_DelayElapsedCallback - 0x000000000800a7c4 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800a7c4 HAL_TIM_OC_DelayElapsedCallback + 0x000000000800a360 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800a360 HAL_TIM_OC_DelayElapsedCallback .text.HAL_TIM_IC_CaptureCallback - 0x000000000800a7d8 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800a7d8 HAL_TIM_IC_CaptureCallback + 0x000000000800a374 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800a374 HAL_TIM_IC_CaptureCallback .text.HAL_TIM_PWM_PulseFinishedCallback - 0x000000000800a7ec 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800a7ec HAL_TIM_PWM_PulseFinishedCallback + 0x000000000800a388 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800a388 HAL_TIM_PWM_PulseFinishedCallback .text.HAL_TIM_TriggerCallback - 0x000000000800a800 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800a800 HAL_TIM_TriggerCallback + 0x000000000800a39c 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800a39c HAL_TIM_TriggerCallback .text.TIM_Base_SetConfig - 0x000000000800a814 0x140 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800a814 TIM_Base_SetConfig + 0x000000000800a3b0 0x140 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800a3b0 TIM_Base_SetConfig .text.TIM_OC1_SetConfig - 0x000000000800a954 0xe4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800a4f0 0xe4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o .text.TIM_OC2_SetConfig - 0x000000000800aa38 0xf0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800aa38 TIM_OC2_SetConfig + 0x000000000800a5d4 0xf0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800a5d4 TIM_OC2_SetConfig .text.TIM_OC3_SetConfig - 0x000000000800ab28 0xec Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800a6c4 0xec Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o .text.TIM_OC4_SetConfig - 0x000000000800ac14 0xb0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800a7b0 0xb0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o .text.TIM_OC5_SetConfig - 0x000000000800acc4 0xa4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800a860 0xa4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o .text.TIM_OC6_SetConfig - 0x000000000800ad68 0xa8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800a904 0xa8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o .text.TIM_SlaveTimer_SetConfig - 0x000000000800ae10 0x110 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800a9ac 0x110 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o .text.TIM_TI1_ConfigInputStage - 0x000000000800af20 0x5e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800aabc 0x5e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o .text.TIM_TI2_ConfigInputStage - 0x000000000800af7e 0x60 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800ab1a 0x60 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o .text.TIM_ITRx_SetConfig - 0x000000000800afde 0x36 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800ab7a 0x36 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o .text.TIM_ETR_SetConfig - 0x000000000800b014 0x40 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - 0x000000000800b014 TIM_ETR_SetConfig + 0x000000000800abb0 0x40 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x000000000800abb0 TIM_ETR_SetConfig .text.HAL_TIMEx_MasterConfigSynchronization - 0x000000000800b054 0x11c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o - 0x000000000800b054 HAL_TIMEx_MasterConfigSynchronization + 0x000000000800abf0 0x11c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o + 0x000000000800abf0 HAL_TIMEx_MasterConfigSynchronization .text.HAL_TIMEx_ConfigBreakDeadTime - 0x000000000800b170 0xfc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o - 0x000000000800b170 HAL_TIMEx_ConfigBreakDeadTime + 0x000000000800ad0c 0xfc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o + 0x000000000800ad0c HAL_TIMEx_ConfigBreakDeadTime .text.HAL_TIMEx_CommutCallback - 0x000000000800b26c 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o - 0x000000000800b26c HAL_TIMEx_CommutCallback + 0x000000000800ae08 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o + 0x000000000800ae08 HAL_TIMEx_CommutCallback .text.HAL_TIMEx_BreakCallback - 0x000000000800b280 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o - 0x000000000800b280 HAL_TIMEx_BreakCallback + 0x000000000800ae1c 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o + 0x000000000800ae1c HAL_TIMEx_BreakCallback .text.HAL_TIMEx_Break2Callback - 0x000000000800b294 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o - 0x000000000800b294 HAL_TIMEx_Break2Callback + 0x000000000800ae30 0x14 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o + 0x000000000800ae30 HAL_TIMEx_Break2Callback .text.FMC_SDRAM_Init - 0x000000000800b2a8 0xe4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o - 0x000000000800b2a8 FMC_SDRAM_Init + 0x000000000800ae44 0xe4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o + 0x000000000800ae44 FMC_SDRAM_Init .text.FMC_SDRAM_Timing_Init - 0x000000000800b38c 0x100 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o - 0x000000000800b38c FMC_SDRAM_Timing_Init + 0x000000000800af28 0x100 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o + 0x000000000800af28 FMC_SDRAM_Timing_Init .text.FMC_SDRAM_SendCommand - 0x000000000800b48c 0x42 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o - 0x000000000800b48c FMC_SDRAM_SendCommand + 0x000000000800b028 0x42 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o + 0x000000000800b028 FMC_SDRAM_SendCommand .text.FMC_SDRAM_ProgramRefreshRate - 0x000000000800b4ce 0x26 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o - 0x000000000800b4ce FMC_SDRAM_ProgramRefreshRate + 0x000000000800b06a 0x26 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o + 0x000000000800b06a FMC_SDRAM_ProgramRefreshRate .text.MX_LWIP_Init - 0x000000000800b4f4 0xe0 LWIP/App/lwip.o - 0x000000000800b4f4 MX_LWIP_Init + 0x000000000800b090 0xe0 LWIP/App/lwip.o + 0x000000000800b090 MX_LWIP_Init .text.HAL_ETH_MspInit - 0x000000000800b5d4 0x144 LWIP/Target/ethernetif.o - 0x000000000800b5d4 HAL_ETH_MspInit + 0x000000000800b170 0x144 LWIP/Target/ethernetif.o + 0x000000000800b170 HAL_ETH_MspInit .text.HAL_ETH_RxCpltCallback - 0x000000000800b718 0x20 LWIP/Target/ethernetif.o - 0x000000000800b718 HAL_ETH_RxCpltCallback + 0x000000000800b2b4 0x20 LWIP/Target/ethernetif.o + 0x000000000800b2b4 HAL_ETH_RxCpltCallback .text.low_level_init - 0x000000000800b738 0x1b0 LWIP/Target/ethernetif.o + 0x000000000800b2d4 0x1b0 LWIP/Target/ethernetif.o .text.low_level_output - 0x000000000800b8e8 0x13c LWIP/Target/ethernetif.o + 0x000000000800b484 0x13c LWIP/Target/ethernetif.o .text.low_level_input - 0x000000000800ba24 0x168 LWIP/Target/ethernetif.o + 0x000000000800b5c0 0x168 LWIP/Target/ethernetif.o .text.ethernetif_input - 0x000000000800bb8c 0x60 LWIP/Target/ethernetif.o - 0x000000000800bb8c ethernetif_input + 0x000000000800b728 0x60 LWIP/Target/ethernetif.o + 0x000000000800b728 ethernetif_input .text.ethernetif_init - 0x000000000800bbec 0x5c LWIP/Target/ethernetif.o - 0x000000000800bbec ethernetif_init - .text.sys_now 0x000000000800bc48 0xe LWIP/Target/ethernetif.o - 0x000000000800bc48 sys_now - *fill* 0x000000000800bc56 0x2 + 0x000000000800b788 0x5c LWIP/Target/ethernetif.o + 0x000000000800b788 ethernetif_init + .text.sys_now 0x000000000800b7e4 0xe LWIP/Target/ethernetif.o + 0x000000000800b7e4 sys_now + *fill* 0x000000000800b7f2 0x2 .text.ethernetif_set_link - 0x000000000800bc58 0x78 LWIP/Target/ethernetif.o - 0x000000000800bc58 ethernetif_set_link + 0x000000000800b7f4 0x78 LWIP/Target/ethernetif.o + 0x000000000800b7f4 ethernetif_set_link .text.ethernetif_update_config - 0x000000000800bcd0 0xf8 LWIP/Target/ethernetif.o - 0x000000000800bcd0 ethernetif_update_config + 0x000000000800b86c 0xf8 LWIP/Target/ethernetif.o + 0x000000000800b86c ethernetif_update_config .text.ethernetif_notify_conn_changed - 0x000000000800bdc8 0x14 LWIP/Target/ethernetif.o - 0x000000000800bdc8 ethernetif_notify_conn_changed + 0x000000000800b964 0x14 LWIP/Target/ethernetif.o + 0x000000000800b964 ethernetif_notify_conn_changed .text.makeFreeRtosPriority - 0x000000000800bddc 0x30 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800b978 0x30 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o .text.inHandlerMode - 0x000000000800be0c 0x24 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800b9a8 0x24 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o .text.osKernelStart - 0x000000000800be30 0xe Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - 0x000000000800be30 osKernelStart + 0x000000000800b9cc 0xe Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800b9cc osKernelStart .text.osKernelSysTick - 0x000000000800be3e 0x20 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - 0x000000000800be3e osKernelSysTick + 0x000000000800b9da 0x20 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800b9da osKernelSysTick .text.osThreadCreate - 0x000000000800be5e 0x98 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - 0x000000000800be5e osThreadCreate - .text.osDelay 0x000000000800bef6 0x28 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - 0x000000000800bef6 osDelay + 0x000000000800b9fa 0x98 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800b9fa osThreadCreate + .text.osDelay 0x000000000800ba92 0x28 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800ba92 osDelay .text.osMutexCreate - 0x000000000800bf1e 0x30 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - 0x000000000800bf1e osMutexCreate - *fill* 0x000000000800bf4e 0x2 + 0x000000000800baba 0x30 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800baba osMutexCreate + *fill* 0x000000000800baea 0x2 .text.osMutexWait - 0x000000000800bf50 0x9c Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - 0x000000000800bf50 osMutexWait + 0x000000000800baec 0x9c Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800baec osMutexWait .text.osMutexRelease - 0x000000000800bfec 0x6c Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - 0x000000000800bfec osMutexRelease + 0x000000000800bb88 0x6c Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800bb88 osMutexRelease .text.osSemaphoreCreate - 0x000000000800c058 0x80 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - 0x000000000800c058 osSemaphoreCreate + 0x000000000800bbf4 0x80 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800bbf4 osSemaphoreCreate .text.osSemaphoreWait - 0x000000000800c0d8 0x9c Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - 0x000000000800c0d8 osSemaphoreWait + 0x000000000800bc74 0x9c Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800bc74 osSemaphoreWait .text.osSemaphoreRelease - 0x000000000800c174 0x6c Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - 0x000000000800c174 osSemaphoreRelease + 0x000000000800bd10 0x6c Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800bd10 osSemaphoreRelease .text.osMessageCreate - 0x000000000800c1e0 0x52 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - 0x000000000800c1e0 osMessageCreate - *fill* 0x000000000800c232 0x2 + 0x000000000800bd7c 0x52 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800bd7c osMessageCreate + *fill* 0x000000000800bdce 0x2 .text.osMessagePut - 0x000000000800c234 0x80 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - 0x000000000800c234 osMessagePut + 0x000000000800bdd0 0x80 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800bdd0 osMessagePut .text.osMessageGet - 0x000000000800c2b4 0xe8 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - 0x000000000800c2b4 osMessageGet + 0x000000000800be50 0xe8 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x000000000800be50 osMessageGet .text.vListInitialise - 0x000000000800c39c 0x40 Middlewares/Third_Party/FreeRTOS/Source/list.o - 0x000000000800c39c vListInitialise + 0x000000000800bf38 0x40 Middlewares/Third_Party/FreeRTOS/Source/list.o + 0x000000000800bf38 vListInitialise .text.vListInitialiseItem - 0x000000000800c3dc 0x1a Middlewares/Third_Party/FreeRTOS/Source/list.o - 0x000000000800c3dc vListInitialiseItem + 0x000000000800bf78 0x1a Middlewares/Third_Party/FreeRTOS/Source/list.o + 0x000000000800bf78 vListInitialiseItem .text.vListInsertEnd - 0x000000000800c3f6 0x48 Middlewares/Third_Party/FreeRTOS/Source/list.o - 0x000000000800c3f6 vListInsertEnd + 0x000000000800bf92 0x48 Middlewares/Third_Party/FreeRTOS/Source/list.o + 0x000000000800bf92 vListInsertEnd .text.vListInsert - 0x000000000800c43e 0x72 Middlewares/Third_Party/FreeRTOS/Source/list.o - 0x000000000800c43e vListInsert + 0x000000000800bfda 0x72 Middlewares/Third_Party/FreeRTOS/Source/list.o + 0x000000000800bfda vListInsert .text.uxListRemove - 0x000000000800c4b0 0x54 Middlewares/Third_Party/FreeRTOS/Source/list.o - 0x000000000800c4b0 uxListRemove + 0x000000000800c04c 0x54 Middlewares/Third_Party/FreeRTOS/Source/list.o + 0x000000000800c04c uxListRemove .text.xQueueGenericReset - 0x000000000800c504 0xd4 Middlewares/Third_Party/FreeRTOS/Source/queue.o - 0x000000000800c504 xQueueGenericReset + 0x000000000800c0a0 0xd4 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800c0a0 xQueueGenericReset .text.xQueueGenericCreateStatic - 0x000000000800c5d8 0xfa Middlewares/Third_Party/FreeRTOS/Source/queue.o - 0x000000000800c5d8 xQueueGenericCreateStatic + 0x000000000800c174 0xfa Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800c174 xQueueGenericCreateStatic .text.xQueueGenericCreate - 0x000000000800c6d2 0x82 Middlewares/Third_Party/FreeRTOS/Source/queue.o - 0x000000000800c6d2 xQueueGenericCreate + 0x000000000800c26e 0x82 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800c26e xQueueGenericCreate .text.prvInitialiseNewQueue - 0x000000000800c754 0x3e Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800c2f0 0x3e Middlewares/Third_Party/FreeRTOS/Source/queue.o .text.prvInitialiseMutex - 0x000000000800c792 0x34 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800c32e 0x34 Middlewares/Third_Party/FreeRTOS/Source/queue.o .text.xQueueCreateMutex - 0x000000000800c7c6 0x30 Middlewares/Third_Party/FreeRTOS/Source/queue.o - 0x000000000800c7c6 xQueueCreateMutex + 0x000000000800c362 0x30 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800c362 xQueueCreateMutex .text.xQueueCreateMutexStatic - 0x000000000800c7f6 0x36 Middlewares/Third_Party/FreeRTOS/Source/queue.o - 0x000000000800c7f6 xQueueCreateMutexStatic + 0x000000000800c392 0x36 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800c392 xQueueCreateMutexStatic .text.xQueueCreateCountingSemaphoreStatic - 0x000000000800c82c 0x72 Middlewares/Third_Party/FreeRTOS/Source/queue.o - 0x000000000800c82c xQueueCreateCountingSemaphoreStatic + 0x000000000800c3c8 0x72 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800c3c8 xQueueCreateCountingSemaphoreStatic .text.xQueueCreateCountingSemaphore - 0x000000000800c89e 0x6a Middlewares/Third_Party/FreeRTOS/Source/queue.o - 0x000000000800c89e xQueueCreateCountingSemaphore + 0x000000000800c43a 0x6a Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800c43a xQueueCreateCountingSemaphore .text.xQueueGenericSend - 0x000000000800c908 0x204 Middlewares/Third_Party/FreeRTOS/Source/queue.o - 0x000000000800c908 xQueueGenericSend + 0x000000000800c4a4 0x204 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800c4a4 xQueueGenericSend .text.xQueueGenericSendFromISR - 0x000000000800cb0c 0x138 Middlewares/Third_Party/FreeRTOS/Source/queue.o - 0x000000000800cb0c xQueueGenericSendFromISR + 0x000000000800c6a8 0x138 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800c6a8 xQueueGenericSendFromISR .text.xQueueGiveFromISR - 0x000000000800cc44 0x122 Middlewares/Third_Party/FreeRTOS/Source/queue.o - 0x000000000800cc44 xQueueGiveFromISR - *fill* 0x000000000800cd66 0x2 + 0x000000000800c7e0 0x122 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800c7e0 xQueueGiveFromISR + *fill* 0x000000000800c902 0x2 .text.xQueueReceive - 0x000000000800cd68 0x1c4 Middlewares/Third_Party/FreeRTOS/Source/queue.o - 0x000000000800cd68 xQueueReceive + 0x000000000800c904 0x1c4 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800c904 xQueueReceive .text.xQueueSemaphoreTake - 0x000000000800cf2c 0x220 Middlewares/Third_Party/FreeRTOS/Source/queue.o - 0x000000000800cf2c xQueueSemaphoreTake + 0x000000000800cac8 0x220 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800cac8 xQueueSemaphoreTake .text.xQueueReceiveFromISR - 0x000000000800d14c 0x106 Middlewares/Third_Party/FreeRTOS/Source/queue.o - 0x000000000800d14c xQueueReceiveFromISR + 0x000000000800cce8 0x106 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800cce8 xQueueReceiveFromISR .text.prvGetDisinheritPriorityAfterTimeout - 0x000000000800d252 0x30 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800cdee 0x30 Middlewares/Third_Party/FreeRTOS/Source/queue.o .text.prvCopyDataToQueue - 0x000000000800d282 0xd4 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800ce1e 0xd4 Middlewares/Third_Party/FreeRTOS/Source/queue.o .text.prvCopyDataFromQueue - 0x000000000800d356 0x4c Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800cef2 0x4c Middlewares/Third_Party/FreeRTOS/Source/queue.o .text.prvUnlockQueue - 0x000000000800d3a2 0xa4 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800cf3e 0xa4 Middlewares/Third_Party/FreeRTOS/Source/queue.o .text.prvIsQueueEmpty - 0x000000000800d446 0x2c Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800cfe2 0x2c Middlewares/Third_Party/FreeRTOS/Source/queue.o .text.prvIsQueueFull - 0x000000000800d472 0x30 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x000000000800d00e 0x30 Middlewares/Third_Party/FreeRTOS/Source/queue.o .text.xTaskCreateStatic - 0x000000000800d4a2 0xc0 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800d4a2 xTaskCreateStatic + 0x000000000800d03e 0xc0 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800d03e xTaskCreateStatic .text.xTaskCreate - 0x000000000800d562 0x8a Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800d562 xTaskCreate + 0x000000000800d0fe 0x8a Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800d0fe xTaskCreate .text.prvInitialiseNewTask - 0x000000000800d5ec 0x126 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - *fill* 0x000000000800d712 0x2 + 0x000000000800d188 0x126 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + *fill* 0x000000000800d2ae 0x2 .text.prvAddNewTaskToReadyList - 0x000000000800d714 0xd4 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800d2b0 0xd4 Middlewares/Third_Party/FreeRTOS/Source/tasks.o .text.vTaskDelete - 0x000000000800d7e8 0x120 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800d7e8 vTaskDelete + 0x000000000800d384 0x120 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800d384 vTaskDelete .text.vTaskDelayUntil - 0x000000000800d908 0x100 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800d908 vTaskDelayUntil + 0x000000000800d4a4 0x100 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800d4a4 vTaskDelayUntil .text.vTaskDelay - 0x000000000800da08 0x6c Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800da08 vTaskDelay + 0x000000000800d5a4 0x6c Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800d5a4 vTaskDelay .text.vTaskStartScheduler - 0x000000000800da74 0xc4 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800da74 vTaskStartScheduler + 0x000000000800d610 0xc4 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800d610 vTaskStartScheduler .text.vTaskSuspendAll - 0x000000000800db38 0x1c Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800db38 vTaskSuspendAll + 0x000000000800d6d4 0x1c Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800d6d4 vTaskSuspendAll .text.xTaskResumeAll - 0x000000000800db54 0x13c Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800db54 xTaskResumeAll + 0x000000000800d6f0 0x13c Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800d6f0 xTaskResumeAll .text.xTaskGetTickCount - 0x000000000800dc90 0x20 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800dc90 xTaskGetTickCount + 0x000000000800d82c 0x20 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800d82c xTaskGetTickCount .text.xTaskGetTickCountFromISR - 0x000000000800dcb0 0x24 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800dcb0 xTaskGetTickCountFromISR + 0x000000000800d84c 0x24 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800d84c xTaskGetTickCountFromISR .text.xTaskIncrementTick - 0x000000000800dcd4 0x174 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800dcd4 xTaskIncrementTick + 0x000000000800d870 0x174 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800d870 xTaskIncrementTick .text.vTaskSwitchContext - 0x000000000800de48 0x104 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800de48 vTaskSwitchContext + 0x000000000800d9e4 0x104 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800d9e4 vTaskSwitchContext .text.vTaskPlaceOnEventList - 0x000000000800df4c 0x4c Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800df4c vTaskPlaceOnEventList + 0x000000000800dae8 0x4c Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800dae8 vTaskPlaceOnEventList .text.xTaskRemoveFromEventList - 0x000000000800df98 0xc8 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800df98 xTaskRemoveFromEventList + 0x000000000800db34 0xc8 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800db34 xTaskRemoveFromEventList .text.vTaskInternalSetTimeOutState - 0x000000000800e060 0x2c Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800e060 vTaskInternalSetTimeOutState + 0x000000000800dbfc 0x2c Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800dbfc vTaskInternalSetTimeOutState .text.xTaskCheckForTimeOut - 0x000000000800e08c 0xc8 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800e08c xTaskCheckForTimeOut + 0x000000000800dc28 0xc8 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800dc28 xTaskCheckForTimeOut .text.vTaskMissedYield - 0x000000000800e154 0x18 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800e154 vTaskMissedYield + 0x000000000800dcf0 0x18 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800dcf0 vTaskMissedYield .text.prvIdleTask - 0x000000000800e16c 0x34 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800dd08 0x34 Middlewares/Third_Party/FreeRTOS/Source/tasks.o .text.prvInitialiseTaskLists - 0x000000000800e1a0 0x80 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800dd3c 0x80 Middlewares/Third_Party/FreeRTOS/Source/tasks.o .text.prvCheckTasksWaitingTermination - 0x000000000800e220 0x58 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800ddbc 0x58 Middlewares/Third_Party/FreeRTOS/Source/tasks.o .text.prvDeleteTCB - 0x000000000800e278 0x60 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800de14 0x60 Middlewares/Third_Party/FreeRTOS/Source/tasks.o .text.prvResetNextTaskUnblockTime - 0x000000000800e2d8 0x40 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800de74 0x40 Middlewares/Third_Party/FreeRTOS/Source/tasks.o .text.xTaskGetSchedulerState - 0x000000000800e318 0x3c Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800e318 xTaskGetSchedulerState + 0x000000000800deb4 0x3c Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800deb4 xTaskGetSchedulerState .text.xTaskPriorityInherit - 0x000000000800e354 0x100 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800e354 xTaskPriorityInherit + 0x000000000800def0 0x100 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800def0 xTaskPriorityInherit .text.xTaskPriorityDisinherit - 0x000000000800e454 0x110 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800e454 xTaskPriorityDisinherit + 0x000000000800dff0 0x110 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800dff0 xTaskPriorityDisinherit .text.vTaskPriorityDisinheritAfterTimeout - 0x000000000800e564 0x138 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800e564 vTaskPriorityDisinheritAfterTimeout + 0x000000000800e100 0x138 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800e100 vTaskPriorityDisinheritAfterTimeout .text.pvTaskIncrementMutexHeldCount - 0x000000000800e69c 0x28 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - 0x000000000800e69c pvTaskIncrementMutexHeldCount + 0x000000000800e238 0x28 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800e238 pvTaskIncrementMutexHeldCount .text.prvAddCurrentTaskToDelayedList - 0x000000000800e6c4 0xcc Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x000000000800e260 0xcc Middlewares/Third_Party/FreeRTOS/Source/tasks.o .text.pxPortInitialiseStack - 0x000000000800e790 0x68 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - 0x000000000800e790 pxPortInitialiseStack + 0x000000000800e32c 0x68 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + 0x000000000800e32c pxPortInitialiseStack .text.prvTaskExitError - 0x000000000800e7f8 0x5c Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - *fill* 0x000000000800e854 0xc + 0x000000000800e394 0x5c Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o .text.SVC_Handler - 0x000000000800e860 0x28 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - 0x000000000800e860 SVC_Handler + 0x000000000800e3f0 0x28 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + 0x000000000800e3f0 SVC_Handler .text.prvPortStartFirstTask - 0x000000000800e888 0x28 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + 0x000000000800e418 0x28 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o .text.xPortStartScheduler - 0x000000000800e8b0 0xf8 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - 0x000000000800e8b0 xPortStartScheduler + 0x000000000800e440 0xf8 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + 0x000000000800e440 xPortStartScheduler .text.vPortEnterCritical - 0x000000000800e9a8 0x64 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - 0x000000000800e9a8 vPortEnterCritical + 0x000000000800e538 0x64 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + 0x000000000800e538 vPortEnterCritical .text.vPortExitCritical - 0x000000000800ea0c 0x54 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - 0x000000000800ea0c vPortExitCritical + 0x000000000800e59c 0x54 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + 0x000000000800e59c vPortExitCritical .text.PendSV_Handler - 0x000000000800ea60 0x68 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - 0x000000000800ea60 PendSV_Handler + 0x000000000800e5f0 0x68 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + 0x000000000800e5f0 PendSV_Handler .text.SysTick_Handler - 0x000000000800eac8 0x44 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - 0x000000000800eac8 SysTick_Handler + 0x000000000800e658 0x44 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + 0x000000000800e658 SysTick_Handler .text.vPortSetupTimerInterrupt - 0x000000000800eb0c 0x48 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - 0x000000000800eb0c vPortSetupTimerInterrupt + 0x000000000800e69c 0x48 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + 0x000000000800e69c vPortSetupTimerInterrupt .text.vPortEnableVFP - 0x000000000800eb54 0x14 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + 0x000000000800e6e4 0x14 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o .text.vPortValidateInterruptPriority - 0x000000000800eb68 0x84 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - 0x000000000800eb68 vPortValidateInterruptPriority + 0x000000000800e6f8 0x84 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + 0x000000000800e6f8 vPortValidateInterruptPriority .text.pvPortMalloc - 0x000000000800ebec 0x198 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o - 0x000000000800ebec pvPortMalloc + 0x000000000800e77c 0x198 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o + 0x000000000800e77c pvPortMalloc .text.vPortFree - 0x000000000800ed84 0xb8 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o - 0x000000000800ed84 vPortFree + 0x000000000800e914 0xb8 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o + 0x000000000800e914 vPortFree .text.prvHeapInit - 0x000000000800ee3c 0xc4 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o + 0x000000000800e9cc 0xc4 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o .text.prvInsertBlockIntoFreeList - 0x000000000800ef00 0xb4 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o + 0x000000000800ea90 0xb4 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o .text.tcpip_timeouts_mbox_fetch - 0x000000000800efb4 0x6c Middlewares/Third_Party/LwIP/src/api/tcpip.o + 0x000000000800eb44 0x6c Middlewares/Third_Party/LwIP/src/api/tcpip.o .text.tcpip_thread - 0x000000000800f020 0x68 Middlewares/Third_Party/LwIP/src/api/tcpip.o + 0x000000000800ebb0 0x68 Middlewares/Third_Party/LwIP/src/api/tcpip.o .text.tcpip_thread_handle_msg - 0x000000000800f088 0x88 Middlewares/Third_Party/LwIP/src/api/tcpip.o + 0x000000000800ec18 0x88 Middlewares/Third_Party/LwIP/src/api/tcpip.o .text.tcpip_inpkt - 0x000000000800f110 0x88 Middlewares/Third_Party/LwIP/src/api/tcpip.o - 0x000000000800f110 tcpip_inpkt + 0x000000000800eca0 0x88 Middlewares/Third_Party/LwIP/src/api/tcpip.o + 0x000000000800eca0 tcpip_inpkt .text.tcpip_input - 0x000000000800f198 0x44 Middlewares/Third_Party/LwIP/src/api/tcpip.o - 0x000000000800f198 tcpip_input + 0x000000000800ed28 0x44 Middlewares/Third_Party/LwIP/src/api/tcpip.o + 0x000000000800ed28 tcpip_input .text.tcpip_try_callback - 0x000000000800f1dc 0x80 Middlewares/Third_Party/LwIP/src/api/tcpip.o - 0x000000000800f1dc tcpip_try_callback + 0x000000000800ed6c 0x80 Middlewares/Third_Party/LwIP/src/api/tcpip.o + 0x000000000800ed6c tcpip_try_callback .text.tcpip_init - 0x000000000800f25c 0x94 Middlewares/Third_Party/LwIP/src/api/tcpip.o - 0x000000000800f25c tcpip_init + 0x000000000800edec 0x94 Middlewares/Third_Party/LwIP/src/api/tcpip.o + 0x000000000800edec tcpip_init .text.lwip_htons - 0x000000000800f2f0 0x2a Middlewares/Third_Party/LwIP/src/core/def.o - 0x000000000800f2f0 lwip_htons + 0x000000000800ee80 0x2a Middlewares/Third_Party/LwIP/src/core/def.o + 0x000000000800ee80 lwip_htons .text.lwip_htonl - 0x000000000800f31a 0x32 Middlewares/Third_Party/LwIP/src/core/def.o - 0x000000000800f31a lwip_htonl + 0x000000000800eeaa 0x32 Middlewares/Third_Party/LwIP/src/core/def.o + 0x000000000800eeaa lwip_htonl .text.lwip_init - 0x000000000800f34c 0x2e Middlewares/Third_Party/LwIP/src/core/init.o - 0x000000000800f34c lwip_init - *fill* 0x000000000800f37a 0x2 + 0x000000000800eedc 0x2e Middlewares/Third_Party/LwIP/src/core/init.o + 0x000000000800eedc lwip_init + *fill* 0x000000000800ef0a 0x2 .text.ptr_to_mem - 0x000000000800f37c 0x24 Middlewares/Third_Party/LwIP/src/core/mem.o + 0x000000000800ef0c 0x24 Middlewares/Third_Party/LwIP/src/core/mem.o .text.mem_to_ptr - 0x000000000800f3a0 0x24 Middlewares/Third_Party/LwIP/src/core/mem.o + 0x000000000800ef30 0x24 Middlewares/Third_Party/LwIP/src/core/mem.o .text.plug_holes - 0x000000000800f3c4 0x144 Middlewares/Third_Party/LwIP/src/core/mem.o + 0x000000000800ef54 0x144 Middlewares/Third_Party/LwIP/src/core/mem.o .text.mem_init - 0x000000000800f508 0xa4 Middlewares/Third_Party/LwIP/src/core/mem.o - 0x000000000800f508 mem_init + 0x000000000800f098 0xa4 Middlewares/Third_Party/LwIP/src/core/mem.o + 0x000000000800f098 mem_init .text.mem_link_valid - 0x000000000800f5ac 0x78 Middlewares/Third_Party/LwIP/src/core/mem.o + 0x000000000800f13c 0x78 Middlewares/Third_Party/LwIP/src/core/mem.o .text.mem_free - 0x000000000800f624 0x120 Middlewares/Third_Party/LwIP/src/core/mem.o - 0x000000000800f624 mem_free + 0x000000000800f1b4 0x120 Middlewares/Third_Party/LwIP/src/core/mem.o + 0x000000000800f1b4 mem_free .text.mem_trim - 0x000000000800f744 0x214 Middlewares/Third_Party/LwIP/src/core/mem.o - 0x000000000800f744 mem_trim + 0x000000000800f2d4 0x214 Middlewares/Third_Party/LwIP/src/core/mem.o + 0x000000000800f2d4 mem_trim .text.mem_malloc - 0x000000000800f958 0x20c Middlewares/Third_Party/LwIP/src/core/mem.o - 0x000000000800f958 mem_malloc + 0x000000000800f4e8 0x20c Middlewares/Third_Party/LwIP/src/core/mem.o + 0x000000000800f4e8 mem_malloc .text.memp_init_pool - 0x000000000800fb64 0x5e Middlewares/Third_Party/LwIP/src/core/memp.o - 0x000000000800fb64 memp_init_pool - *fill* 0x000000000800fbc2 0x2 + 0x000000000800f6f4 0x5e Middlewares/Third_Party/LwIP/src/core/memp.o + 0x000000000800f6f4 memp_init_pool + *fill* 0x000000000800f752 0x2 .text.memp_init - 0x000000000800fbc4 0x34 Middlewares/Third_Party/LwIP/src/core/memp.o - 0x000000000800fbc4 memp_init + 0x000000000800f754 0x34 Middlewares/Third_Party/LwIP/src/core/memp.o + 0x000000000800f754 memp_init .text.do_memp_malloc_pool - 0x000000000800fbf8 0x64 Middlewares/Third_Party/LwIP/src/core/memp.o + 0x000000000800f788 0x64 Middlewares/Third_Party/LwIP/src/core/memp.o .text.memp_malloc - 0x000000000800fc5c 0x4c Middlewares/Third_Party/LwIP/src/core/memp.o - 0x000000000800fc5c memp_malloc + 0x000000000800f7ec 0x4c Middlewares/Third_Party/LwIP/src/core/memp.o + 0x000000000800f7ec memp_malloc .text.do_memp_free_pool - 0x000000000800fca8 0x58 Middlewares/Third_Party/LwIP/src/core/memp.o + 0x000000000800f838 0x58 Middlewares/Third_Party/LwIP/src/core/memp.o .text.memp_free - 0x000000000800fd00 0x54 Middlewares/Third_Party/LwIP/src/core/memp.o - 0x000000000800fd00 memp_free + 0x000000000800f890 0x54 Middlewares/Third_Party/LwIP/src/core/memp.o + 0x000000000800f890 memp_free .text.netif_init - 0x000000000800fd54 0xe Middlewares/Third_Party/LwIP/src/core/netif.o - 0x000000000800fd54 netif_init - *fill* 0x000000000800fd62 0x2 + 0x000000000800f8e4 0xe Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000000800f8e4 netif_init + *fill* 0x000000000800f8f2 0x2 .text.netif_add - 0x000000000800fd64 0x1ac Middlewares/Third_Party/LwIP/src/core/netif.o - 0x000000000800fd64 netif_add + 0x000000000800f8f4 0x1ac Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000000800f8f4 netif_add .text.netif_do_ip_addr_changed - 0x000000000800ff10 0x22 Middlewares/Third_Party/LwIP/src/core/netif.o - *fill* 0x000000000800ff32 0x2 + 0x000000000800faa0 0x22 Middlewares/Third_Party/LwIP/src/core/netif.o + *fill* 0x000000000800fac2 0x2 .text.netif_do_set_ipaddr - 0x000000000800ff34 0x94 Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000000800fac4 0x94 Middlewares/Third_Party/LwIP/src/core/netif.o .text.netif_do_set_netmask - 0x000000000800ffc8 0x3e Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000000800fb58 0x3e Middlewares/Third_Party/LwIP/src/core/netif.o .text.netif_do_set_gw - 0x0000000008010006 0x3e Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000000800fb96 0x3e Middlewares/Third_Party/LwIP/src/core/netif.o .text.netif_set_addr - 0x0000000008010044 0x94 Middlewares/Third_Party/LwIP/src/core/netif.o - 0x0000000008010044 netif_set_addr + 0x000000000800fbd4 0x94 Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000000800fbd4 netif_set_addr .text.netif_set_default - 0x00000000080100d8 0x20 Middlewares/Third_Party/LwIP/src/core/netif.o - 0x00000000080100d8 netif_set_default + 0x000000000800fc68 0x20 Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000000800fc68 netif_set_default .text.netif_set_up - 0x00000000080100f8 0x58 Middlewares/Third_Party/LwIP/src/core/netif.o - 0x00000000080100f8 netif_set_up + 0x000000000800fc88 0x58 Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000000800fc88 netif_set_up .text.netif_issue_reports - 0x0000000008010150 0x80 Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000000800fce0 0x80 Middlewares/Third_Party/LwIP/src/core/netif.o .text.netif_set_down - 0x00000000080101d0 0x64 Middlewares/Third_Party/LwIP/src/core/netif.o - 0x00000000080101d0 netif_set_down + 0x000000000800fd60 0x64 Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000000800fd60 netif_set_down .text.netif_set_link_up - 0x0000000008010234 0x70 Middlewares/Third_Party/LwIP/src/core/netif.o - 0x0000000008010234 netif_set_link_up + 0x000000000800fdc4 0x70 Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000000800fdc4 netif_set_link_up .text.netif_set_link_down - 0x00000000080102a4 0x60 Middlewares/Third_Party/LwIP/src/core/netif.o - 0x00000000080102a4 netif_set_link_down + 0x000000000800fe34 0x60 Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000000800fe34 netif_set_link_down .text.netif_set_link_callback - 0x0000000008010304 0x22 Middlewares/Third_Party/LwIP/src/core/netif.o - 0x0000000008010304 netif_set_link_callback + 0x000000000800fe94 0x22 Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000000800fe94 netif_set_link_callback .text.netif_null_output_ip4 - 0x0000000008010326 0x1c Middlewares/Third_Party/LwIP/src/core/netif.o - *fill* 0x0000000008010342 0x2 + 0x000000000800feb6 0x1c Middlewares/Third_Party/LwIP/src/core/netif.o + *fill* 0x000000000800fed2 0x2 .text.netif_get_by_index - 0x0000000008010344 0x4c Middlewares/Third_Party/LwIP/src/core/netif.o - 0x0000000008010344 netif_get_by_index + 0x000000000800fed4 0x4c Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000000800fed4 netif_get_by_index .text.pbuf_free_ooseq - 0x0000000008010390 0x4c Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x000000000800ff20 0x4c Middlewares/Third_Party/LwIP/src/core/pbuf.o .text.pbuf_free_ooseq_callback - 0x00000000080103dc 0x14 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x000000000800ff6c 0x14 Middlewares/Third_Party/LwIP/src/core/pbuf.o .text.pbuf_pool_is_empty - 0x00000000080103f0 0x54 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x000000000800ff80 0x54 Middlewares/Third_Party/LwIP/src/core/pbuf.o .text.pbuf_init_alloced_pbuf - 0x0000000008010444 0x54 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x000000000800ffd4 0x54 Middlewares/Third_Party/LwIP/src/core/pbuf.o .text.pbuf_alloc - 0x0000000008010498 0x1e4 Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x0000000008010498 pbuf_alloc + 0x0000000008010028 0x1e4 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x0000000008010028 pbuf_alloc .text.pbuf_alloc_reference - 0x000000000801067c 0x68 Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x000000000801067c pbuf_alloc_reference + 0x000000000801020c 0x68 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x000000000801020c pbuf_alloc_reference .text.pbuf_alloced_custom - 0x00000000080106e4 0x68 Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x00000000080106e4 pbuf_alloced_custom + 0x0000000008010274 0x68 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x0000000008010274 pbuf_alloced_custom .text.pbuf_realloc - 0x000000000801074c 0x110 Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x000000000801074c pbuf_realloc + 0x00000000080102dc 0x110 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x00000000080102dc pbuf_realloc .text.pbuf_add_header_impl - 0x000000000801085c 0xd0 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x00000000080103ec 0xd0 Middlewares/Third_Party/LwIP/src/core/pbuf.o .text.pbuf_add_header - 0x000000000801092c 0x1e Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x000000000801092c pbuf_add_header - *fill* 0x000000000801094a 0x2 + 0x00000000080104bc 0x1e Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x00000000080104bc pbuf_add_header + *fill* 0x00000000080104da 0x2 .text.pbuf_remove_header - 0x000000000801094c 0xa4 Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x000000000801094c pbuf_remove_header + 0x00000000080104dc 0xa4 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x00000000080104dc pbuf_remove_header .text.pbuf_header_impl - 0x00000000080109f0 0x42 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x0000000008010580 0x42 Middlewares/Third_Party/LwIP/src/core/pbuf.o .text.pbuf_header_force - 0x0000000008010a32 0x24 Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x0000000008010a32 pbuf_header_force - *fill* 0x0000000008010a56 0x2 + 0x00000000080105c2 0x24 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x00000000080105c2 pbuf_header_force + *fill* 0x00000000080105e6 0x2 .text.pbuf_free - 0x0000000008010a58 0x11c Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x0000000008010a58 pbuf_free + 0x00000000080105e8 0x11c Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x00000000080105e8 pbuf_free .text.pbuf_clen - 0x0000000008010b74 0x2e Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x0000000008010b74 pbuf_clen - *fill* 0x0000000008010ba2 0x2 + 0x0000000008010704 0x2e Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x0000000008010704 pbuf_clen + *fill* 0x0000000008010732 0x2 .text.pbuf_ref - 0x0000000008010ba4 0x50 Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x0000000008010ba4 pbuf_ref + 0x0000000008010734 0x50 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x0000000008010734 pbuf_ref .text.pbuf_cat - 0x0000000008010bf4 0xac Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x0000000008010bf4 pbuf_cat + 0x0000000008010784 0xac Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x0000000008010784 pbuf_cat .text.pbuf_chain - 0x0000000008010ca0 0x20 Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x0000000008010ca0 pbuf_chain + 0x0000000008010830 0x20 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x0000000008010830 pbuf_chain .text.pbuf_copy - 0x0000000008010cc0 0x1a4 Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x0000000008010cc0 pbuf_copy + 0x0000000008010850 0x1a4 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x0000000008010850 pbuf_copy .text.pbuf_copy_partial - 0x0000000008010e64 0xe4 Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x0000000008010e64 pbuf_copy_partial + 0x00000000080109f4 0xe4 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x00000000080109f4 pbuf_copy_partial .text.pbuf_clone - 0x0000000008010f48 0x64 Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x0000000008010f48 pbuf_clone + 0x0000000008010ad8 0x64 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x0000000008010ad8 pbuf_clone .text.tcp_init - 0x0000000008010fac 0x24 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008010fac tcp_init + 0x0000000008010b3c 0x24 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008010b3c tcp_init .text.tcp_free - 0x0000000008010fd0 0x38 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008010fd0 tcp_free + 0x0000000008010b60 0x38 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008010b60 tcp_free .text.tcp_free_listen - 0x0000000008011008 0x38 Middlewares/Third_Party/LwIP/src/core/tcp.o - .text.tcp_tmr 0x0000000008011040 0x2c Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008011040 tcp_tmr + 0x0000000008010b98 0x38 Middlewares/Third_Party/LwIP/src/core/tcp.o + .text.tcp_tmr 0x0000000008010bd0 0x2c Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008010bd0 tcp_tmr .text.tcp_remove_listener - 0x000000000801106c 0x54 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008010bfc 0x54 Middlewares/Third_Party/LwIP/src/core/tcp.o .text.tcp_listen_closed - 0x00000000080110c0 0x74 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008010c50 0x74 Middlewares/Third_Party/LwIP/src/core/tcp.o .text.tcp_close_shutdown - 0x0000000008011134 0x1bc Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008010cc4 0x1bc Middlewares/Third_Party/LwIP/src/core/tcp.o .text.tcp_close_shutdown_fin - 0x00000000080112f0 0xcc Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008010e80 0xcc Middlewares/Third_Party/LwIP/src/core/tcp.o .text.tcp_close - 0x00000000080113bc 0x58 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x00000000080113bc tcp_close + 0x0000000008010f4c 0x58 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008010f4c tcp_close .text.tcp_abandon - 0x0000000008011414 0x17c Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008011414 tcp_abandon + 0x0000000008010fa4 0x17c Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008010fa4 tcp_abandon .text.tcp_abort - 0x0000000008011590 0x18 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008011590 tcp_abort + 0x0000000008011120 0x18 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008011120 tcp_abort .text.tcp_update_rcv_ann_wnd - 0x00000000080115a8 0xb4 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x00000000080115a8 tcp_update_rcv_ann_wnd + 0x0000000008011138 0xb4 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008011138 tcp_update_rcv_ann_wnd .text.tcp_recved - 0x000000000801165c 0xa0 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x000000000801165c tcp_recved + 0x00000000080111ec 0xa0 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x00000000080111ec tcp_recved .text.tcp_slowtmr - 0x00000000080116fc 0x67c Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x00000000080116fc tcp_slowtmr + 0x000000000801128c 0x67c Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x000000000801128c tcp_slowtmr .text.tcp_fasttmr - 0x0000000008011d78 0xc8 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008011d78 tcp_fasttmr + 0x0000000008011908 0xc8 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008011908 tcp_fasttmr .text.tcp_process_refused_data - 0x0000000008011e40 0xf8 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008011e40 tcp_process_refused_data + 0x00000000080119d0 0xf8 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x00000000080119d0 tcp_process_refused_data .text.tcp_segs_free - 0x0000000008011f38 0x28 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008011f38 tcp_segs_free + 0x0000000008011ac8 0x28 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008011ac8 tcp_segs_free .text.tcp_seg_free - 0x0000000008011f60 0x30 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008011f60 tcp_seg_free + 0x0000000008011af0 0x30 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008011af0 tcp_seg_free .text.tcp_seg_copy - 0x0000000008011f90 0x58 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008011f90 tcp_seg_copy + 0x0000000008011b20 0x58 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008011b20 tcp_seg_copy .text.tcp_recv_null - 0x0000000008011fe8 0x6c Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008011fe8 tcp_recv_null + 0x0000000008011b78 0x6c Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008011b78 tcp_recv_null .text.tcp_kill_prio - 0x0000000008012054 0x9c Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008011be4 0x9c Middlewares/Third_Party/LwIP/src/core/tcp.o .text.tcp_kill_state - 0x00000000080120f0 0x94 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008011c80 0x94 Middlewares/Third_Party/LwIP/src/core/tcp.o .text.tcp_kill_timewait - 0x0000000008012184 0x60 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008011d14 0x60 Middlewares/Third_Party/LwIP/src/core/tcp.o .text.tcp_handle_closepend - 0x00000000080121e4 0x4c Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008011d74 0x4c Middlewares/Third_Party/LwIP/src/core/tcp.o .text.tcp_alloc - 0x0000000008012230 0x108 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008012230 tcp_alloc + 0x0000000008011dc0 0x108 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008011dc0 tcp_alloc .text.tcp_pcb_purge - 0x0000000008012338 0xa0 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008012338 tcp_pcb_purge + 0x0000000008011ec8 0xa0 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008011ec8 tcp_pcb_purge .text.tcp_pcb_remove - 0x00000000080123d8 0x128 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x00000000080123d8 tcp_pcb_remove + 0x0000000008011f68 0x128 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008011f68 tcp_pcb_remove .text.tcp_next_iss - 0x0000000008012500 0x4c Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008012500 tcp_next_iss + 0x0000000008012090 0x4c Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008012090 tcp_next_iss .text.tcp_eff_send_mss_netif - 0x000000000801254c 0x74 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x000000000801254c tcp_eff_send_mss_netif + 0x00000000080120dc 0x74 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x00000000080120dc tcp_eff_send_mss_netif .text.tcp_netif_ip_addr_changed_pcblist - 0x00000000080125c0 0x64 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008012150 0x64 Middlewares/Third_Party/LwIP/src/core/tcp.o .text.tcp_netif_ip_addr_changed - 0x0000000008012624 0x7c Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008012624 tcp_netif_ip_addr_changed + 0x00000000080121b4 0x7c Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x00000000080121b4 tcp_netif_ip_addr_changed .text.tcp_free_ooseq - 0x00000000080126a0 0x28 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x00000000080126a0 tcp_free_ooseq + 0x0000000008012230 0x28 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008012230 tcp_free_ooseq .text.tcp_input - 0x00000000080126c8 0x810 Middlewares/Third_Party/LwIP/src/core/tcp_in.o - 0x00000000080126c8 tcp_input + 0x0000000008012258 0x810 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + 0x0000000008012258 tcp_input .text.tcp_input_delayed_close - 0x0000000008012ed8 0x80 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + 0x0000000008012a68 0x80 Middlewares/Third_Party/LwIP/src/core/tcp_in.o .text.tcp_listen_input - 0x0000000008012f58 0x1fc Middlewares/Third_Party/LwIP/src/core/tcp_in.o + 0x0000000008012ae8 0x1fc Middlewares/Third_Party/LwIP/src/core/tcp_in.o .text.tcp_timewait_input - 0x0000000008013154 0xf8 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + 0x0000000008012ce4 0xf8 Middlewares/Third_Party/LwIP/src/core/tcp_in.o .text.tcp_process - 0x000000000801324c 0x7e0 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + 0x0000000008012ddc 0x7e0 Middlewares/Third_Party/LwIP/src/core/tcp_in.o .text.tcp_oos_insert_segment - 0x0000000008013a2c 0x110 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + 0x00000000080135bc 0x110 Middlewares/Third_Party/LwIP/src/core/tcp_in.o .text.tcp_free_acked_segments - 0x0000000008013b3c 0xf8 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + 0x00000000080136cc 0xf8 Middlewares/Third_Party/LwIP/src/core/tcp_in.o .text.tcp_receive - 0x0000000008013c34 0xf2c Middlewares/Third_Party/LwIP/src/core/tcp_in.o + 0x00000000080137c4 0xf2c Middlewares/Third_Party/LwIP/src/core/tcp_in.o .text.tcp_get_next_optbyte - 0x0000000008014b60 0x6c Middlewares/Third_Party/LwIP/src/core/tcp_in.o + 0x00000000080146f0 0x6c Middlewares/Third_Party/LwIP/src/core/tcp_in.o .text.tcp_parseopt - 0x0000000008014bcc 0xe8 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + 0x000000000801475c 0xe8 Middlewares/Third_Party/LwIP/src/core/tcp_in.o .text.tcp_trigger_input_pcb_close - 0x0000000008014cb4 0x20 Middlewares/Third_Party/LwIP/src/core/tcp_in.o - 0x0000000008014cb4 tcp_trigger_input_pcb_close + 0x0000000008014844 0x20 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + 0x0000000008014844 tcp_trigger_input_pcb_close .text.tcp_route - 0x0000000008014cd4 0x38 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x0000000008014864 0x38 Middlewares/Third_Party/LwIP/src/core/tcp_out.o .text.tcp_create_segment - 0x0000000008014d0c 0x13c Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x000000000801489c 0x13c Middlewares/Third_Party/LwIP/src/core/tcp_out.o .text.tcp_split_unsent_seg - 0x0000000008014e48 0x290 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - 0x0000000008014e48 tcp_split_unsent_seg + 0x00000000080149d8 0x290 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x00000000080149d8 tcp_split_unsent_seg .text.tcp_send_fin - 0x00000000080150d8 0xa0 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - 0x00000000080150d8 tcp_send_fin + 0x0000000008014c68 0xa0 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x0000000008014c68 tcp_send_fin .text.tcp_enqueue_flags - 0x0000000008015178 0x1dc Middlewares/Third_Party/LwIP/src/core/tcp_out.o - 0x0000000008015178 tcp_enqueue_flags + 0x0000000008014d08 0x1dc Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x0000000008014d08 tcp_enqueue_flags .text.tcp_output - 0x0000000008015354 0x3f0 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - 0x0000000008015354 tcp_output + 0x0000000008014ee4 0x3f0 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x0000000008014ee4 tcp_output .text.tcp_output_segment_busy - 0x0000000008015744 0x40 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x00000000080152d4 0x40 Middlewares/Third_Party/LwIP/src/core/tcp_out.o .text.tcp_output_segment - 0x0000000008015784 0x1c0 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x0000000008015314 0x1c0 Middlewares/Third_Party/LwIP/src/core/tcp_out.o .text.tcp_rexmit_rto_prepare - 0x0000000008015944 0xe0 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - 0x0000000008015944 tcp_rexmit_rto_prepare + 0x00000000080154d4 0xe0 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x00000000080154d4 tcp_rexmit_rto_prepare .text.tcp_rexmit_rto_commit - 0x0000000008015a24 0x50 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - 0x0000000008015a24 tcp_rexmit_rto_commit + 0x00000000080155b4 0x50 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x00000000080155b4 tcp_rexmit_rto_commit .text.tcp_rexmit_rto - 0x0000000008015a74 0x44 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - 0x0000000008015a74 tcp_rexmit_rto + 0x0000000008015604 0x44 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x0000000008015604 tcp_rexmit_rto .text.tcp_rexmit - 0x0000000008015ab8 0xd8 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - 0x0000000008015ab8 tcp_rexmit + 0x0000000008015648 0xd8 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x0000000008015648 tcp_rexmit .text.tcp_rexmit_fast - 0x0000000008015b90 0xd8 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - 0x0000000008015b90 tcp_rexmit_fast + 0x0000000008015720 0xd8 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x0000000008015720 tcp_rexmit_fast .text.tcp_output_alloc_header_common - 0x0000000008015c68 0xe8 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x00000000080157f8 0xe8 Middlewares/Third_Party/LwIP/src/core/tcp_out.o .text.tcp_output_alloc_header - 0x0000000008015d50 0x7c Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x00000000080158e0 0x7c Middlewares/Third_Party/LwIP/src/core/tcp_out.o .text.tcp_output_fill_options - 0x0000000008015dcc 0x80 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x000000000801595c 0x80 Middlewares/Third_Party/LwIP/src/core/tcp_out.o .text.tcp_output_control_segment - 0x0000000008015e4c 0x94 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - .text.tcp_rst 0x0000000008015ee0 0xa4 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - 0x0000000008015ee0 tcp_rst + 0x00000000080159dc 0x94 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + .text.tcp_rst 0x0000000008015a70 0xa4 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x0000000008015a70 tcp_rst .text.tcp_send_empty_ack - 0x0000000008015f84 0xc4 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - 0x0000000008015f84 tcp_send_empty_ack + 0x0000000008015b14 0xc4 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x0000000008015b14 tcp_send_empty_ack .text.tcp_keepalive - 0x0000000008016048 0x80 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - 0x0000000008016048 tcp_keepalive + 0x0000000008015bd8 0x80 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x0000000008015bd8 tcp_keepalive .text.tcp_zero_window_probe - 0x00000000080160c8 0x154 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - 0x00000000080160c8 tcp_zero_window_probe + 0x0000000008015c58 0x154 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x0000000008015c58 tcp_zero_window_probe .text.tcpip_tcp_timer - 0x000000000801621c 0x48 Middlewares/Third_Party/LwIP/src/core/timeouts.o + 0x0000000008015dac 0x48 Middlewares/Third_Party/LwIP/src/core/timeouts.o .text.tcp_timer_needed - 0x0000000008016264 0x40 Middlewares/Third_Party/LwIP/src/core/timeouts.o - 0x0000000008016264 tcp_timer_needed + 0x0000000008015df4 0x40 Middlewares/Third_Party/LwIP/src/core/timeouts.o + 0x0000000008015df4 tcp_timer_needed .text.sys_timeout_abs - 0x00000000080162a4 0xdc Middlewares/Third_Party/LwIP/src/core/timeouts.o + 0x0000000008015e34 0xdc Middlewares/Third_Party/LwIP/src/core/timeouts.o .text.lwip_cyclic_timer - 0x0000000008016380 0x64 Middlewares/Third_Party/LwIP/src/core/timeouts.o + 0x0000000008015f10 0x64 Middlewares/Third_Party/LwIP/src/core/timeouts.o .text.sys_timeouts_init - 0x00000000080163e4 0x40 Middlewares/Third_Party/LwIP/src/core/timeouts.o - 0x00000000080163e4 sys_timeouts_init + 0x0000000008015f74 0x40 Middlewares/Third_Party/LwIP/src/core/timeouts.o + 0x0000000008015f74 sys_timeouts_init .text.sys_timeout - 0x0000000008016424 0x4c Middlewares/Third_Party/LwIP/src/core/timeouts.o - 0x0000000008016424 sys_timeout + 0x0000000008015fb4 0x4c Middlewares/Third_Party/LwIP/src/core/timeouts.o + 0x0000000008015fb4 sys_timeout .text.sys_check_timeouts - 0x0000000008016470 0x74 Middlewares/Third_Party/LwIP/src/core/timeouts.o - 0x0000000008016470 sys_check_timeouts + 0x0000000008016000 0x74 Middlewares/Third_Party/LwIP/src/core/timeouts.o + 0x0000000008016000 sys_check_timeouts .text.sys_timeouts_sleeptime - 0x00000000080164e4 0x70 Middlewares/Third_Party/LwIP/src/core/timeouts.o - 0x00000000080164e4 sys_timeouts_sleeptime + 0x0000000008016074 0x70 Middlewares/Third_Party/LwIP/src/core/timeouts.o + 0x0000000008016074 sys_timeouts_sleeptime .text.udp_init - 0x0000000008016554 0x24 Middlewares/Third_Party/LwIP/src/core/udp.o - 0x0000000008016554 udp_init + 0x00000000080160e4 0x24 Middlewares/Third_Party/LwIP/src/core/udp.o + 0x00000000080160e4 udp_init .text.udp_new_port - 0x0000000008016578 0x70 Middlewares/Third_Party/LwIP/src/core/udp.o + 0x0000000008016108 0x70 Middlewares/Third_Party/LwIP/src/core/udp.o .text.udp_input_local_match - 0x00000000080165e8 0xc8 Middlewares/Third_Party/LwIP/src/core/udp.o + 0x0000000008016178 0xc8 Middlewares/Third_Party/LwIP/src/core/udp.o .text.udp_input - 0x00000000080166b0 0x228 Middlewares/Third_Party/LwIP/src/core/udp.o - 0x00000000080166b0 udp_input + 0x0000000008016240 0x228 Middlewares/Third_Party/LwIP/src/core/udp.o + 0x0000000008016240 udp_input .text.udp_sendto_if - 0x00000000080168d8 0xe8 Middlewares/Third_Party/LwIP/src/core/udp.o - 0x00000000080168d8 udp_sendto_if + 0x0000000008016468 0xe8 Middlewares/Third_Party/LwIP/src/core/udp.o + 0x0000000008016468 udp_sendto_if .text.udp_sendto_if_src - 0x00000000080169c0 0x1cc Middlewares/Third_Party/LwIP/src/core/udp.o - 0x00000000080169c0 udp_sendto_if_src + 0x0000000008016550 0x1cc Middlewares/Third_Party/LwIP/src/core/udp.o + 0x0000000008016550 udp_sendto_if_src .text.udp_bind - 0x0000000008016b8c 0x110 Middlewares/Third_Party/LwIP/src/core/udp.o - 0x0000000008016b8c udp_bind + 0x000000000801671c 0x110 Middlewares/Third_Party/LwIP/src/core/udp.o + 0x000000000801671c udp_bind .text.udp_connect - 0x0000000008016c9c 0xdc Middlewares/Third_Party/LwIP/src/core/udp.o - 0x0000000008016c9c udp_connect + 0x000000000801682c 0xdc Middlewares/Third_Party/LwIP/src/core/udp.o + 0x000000000801682c udp_connect .text.udp_recv - 0x0000000008016d78 0x40 Middlewares/Third_Party/LwIP/src/core/udp.o - 0x0000000008016d78 udp_recv + 0x0000000008016908 0x40 Middlewares/Third_Party/LwIP/src/core/udp.o + 0x0000000008016908 udp_recv .text.udp_remove - 0x0000000008016db8 0x84 Middlewares/Third_Party/LwIP/src/core/udp.o - 0x0000000008016db8 udp_remove - .text.udp_new 0x0000000008016e3c 0x2e Middlewares/Third_Party/LwIP/src/core/udp.o - 0x0000000008016e3c udp_new - *fill* 0x0000000008016e6a 0x2 + 0x0000000008016948 0x84 Middlewares/Third_Party/LwIP/src/core/udp.o + 0x0000000008016948 udp_remove + .text.udp_new 0x00000000080169cc 0x2e Middlewares/Third_Party/LwIP/src/core/udp.o + 0x00000000080169cc udp_new + *fill* 0x00000000080169fa 0x2 .text.udp_netif_ip_addr_changed - 0x0000000008016e6c 0x60 Middlewares/Third_Party/LwIP/src/core/udp.o - 0x0000000008016e6c udp_netif_ip_addr_changed + 0x00000000080169fc 0x60 Middlewares/Third_Party/LwIP/src/core/udp.o + 0x00000000080169fc udp_netif_ip_addr_changed .text.dhcp_inc_pcb_refcount - 0x0000000008016ecc 0xa4 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008016a5c 0xa4 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_dec_pcb_refcount - 0x0000000008016f70 0x54 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008016b00 0x54 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_handle_nak - 0x0000000008016fc4 0x34 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008016b54 0x34 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_check - 0x0000000008016ff8 0x68 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008016b88 0x68 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_handle_offer - 0x0000000008017060 0x4c Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008016bf0 0x4c Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_select - 0x00000000080170ac 0x1f8 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008016c3c 0x1f8 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_coarse_tmr - 0x00000000080172a4 0xa8 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - 0x00000000080172a4 dhcp_coarse_tmr + 0x0000000008016e34 0xa8 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008016e34 dhcp_coarse_tmr .text.dhcp_fine_tmr - 0x000000000801734c 0x64 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - 0x000000000801734c dhcp_fine_tmr + 0x0000000008016edc 0x64 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008016edc dhcp_fine_tmr .text.dhcp_timeout - 0x00000000080173b0 0x92 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008016f40 0x92 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_t1_timeout - 0x0000000008017442 0x5e Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008016fd2 0x5e Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_t2_timeout - 0x00000000080174a0 0x66 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - *fill* 0x0000000008017506 0x2 + 0x0000000008017030 0x66 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + *fill* 0x0000000008017096 0x2 .text.dhcp_handle_ack - 0x0000000008017508 0xc0 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008017098 0xc0 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_start - 0x00000000080175c8 0xfc Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - 0x00000000080175c8 dhcp_start + 0x0000000008017158 0xfc Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008017158 dhcp_start .text.dhcp_network_changed - 0x00000000080176c4 0x9c Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - 0x00000000080176c4 dhcp_network_changed + 0x0000000008017254 0x9c Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008017254 dhcp_network_changed .text.dhcp_arp_reply - 0x0000000008017760 0x58 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - 0x0000000008017760 dhcp_arp_reply + 0x00000000080172f0 0x58 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x00000000080172f0 dhcp_arp_reply .text.dhcp_decline - 0x00000000080177b8 0xec Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008017348 0xec Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_discover - 0x00000000080178a4 0x144 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008017434 0x144 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_bind - 0x00000000080179e8 0x1b4 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008017578 0x1b4 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_renew - 0x0000000008017b9c 0x138 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - 0x0000000008017b9c dhcp_renew + 0x000000000801772c 0x138 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x000000000801772c dhcp_renew .text.dhcp_rebind - 0x0000000008017cd4 0x138 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008017864 0x138 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_reboot - 0x0000000008017e0c 0x16c Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x000000000801799c 0x16c Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_release_and_stop - 0x0000000008017f78 0x134 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - 0x0000000008017f78 dhcp_release_and_stop + 0x0000000008017b08 0x134 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008017b08 dhcp_release_and_stop .text.dhcp_set_state - 0x00000000080180ac 0x34 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008017c3c 0x34 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_option - 0x00000000080180e0 0x68 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008017c70 0x68 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_option_byte - 0x0000000008018148 0x4c Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008017cd8 0x4c Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_option_short - 0x0000000008018194 0x64 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008017d24 0x64 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_option_long - 0x00000000080181f8 0x88 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008017d88 0x88 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_parse_reply - 0x0000000008018280 0x5a8 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008017e10 0x5a8 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_recv - 0x0000000008018828 0x198 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x00000000080183b8 0x198 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_create_msg - 0x00000000080189c0 0x1ac Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008018550 0x1ac Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_option_trailer - 0x0000000008018b6c 0x5c Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x00000000080186fc 0x5c Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .text.dhcp_supplied_address - 0x0000000008018bc8 0x4c Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - 0x0000000008018bc8 dhcp_supplied_address + 0x0000000008018758 0x4c Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000008018758 dhcp_supplied_address .text.etharp_free_entry - 0x0000000008018c14 0x64 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + 0x00000000080187a4 0x64 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o .text.etharp_tmr - 0x0000000008018c78 0x150 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o - 0x0000000008018c78 etharp_tmr + 0x0000000008018808 0x150 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + 0x0000000008018808 etharp_tmr .text.etharp_find_entry - 0x0000000008018dc8 0x2f0 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + 0x0000000008018958 0x2f0 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o .text.etharp_update_arp_entry - 0x00000000080190b8 0x14c Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + 0x0000000008018c48 0x14c Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o .text.etharp_cleanup_netif - 0x0000000008019204 0x60 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o - 0x0000000008019204 etharp_cleanup_netif + 0x0000000008018d94 0x60 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + 0x0000000008018d94 etharp_cleanup_netif .text.etharp_input - 0x0000000008019264 0x11c Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o - 0x0000000008019264 etharp_input + 0x0000000008018df4 0x11c Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + 0x0000000008018df4 etharp_input .text.etharp_output_to_arp_index - 0x0000000008019380 0x134 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + 0x0000000008018f10 0x134 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o .text.etharp_output - 0x00000000080194b4 0x204 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o - 0x00000000080194b4 etharp_output + 0x0000000008019044 0x204 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + 0x0000000008019044 etharp_output .text.etharp_query - 0x00000000080196b8 0x27c Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o - 0x00000000080196b8 etharp_query + 0x0000000008019248 0x27c Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + 0x0000000008019248 etharp_query .text.etharp_raw - 0x0000000008019934 0x118 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + 0x00000000080194c4 0x118 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o .text.etharp_request_dst - 0x0000000008019a4c 0x44 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + 0x00000000080195dc 0x44 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o .text.etharp_request - 0x0000000008019a90 0x24 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o - 0x0000000008019a90 etharp_request + 0x0000000008019620 0x24 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + 0x0000000008019620 etharp_request .text.icmp_input - 0x0000000008019ab4 0x208 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o - 0x0000000008019ab4 icmp_input + 0x0000000008019644 0x208 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o + 0x0000000008019644 icmp_input .text.icmp_dest_unreach - 0x0000000008019cbc 0x20 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o - 0x0000000008019cbc icmp_dest_unreach + 0x000000000801984c 0x20 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o + 0x000000000801984c icmp_dest_unreach .text.icmp_time_exceeded - 0x0000000008019cdc 0x20 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o - 0x0000000008019cdc icmp_time_exceeded + 0x000000000801986c 0x20 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o + 0x000000000801986c icmp_time_exceeded .text.icmp_send_response - 0x0000000008019cfc 0xd4 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o + 0x000000000801988c 0xd4 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o .text.ip4_route - 0x0000000008019dd0 0xe0 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o - 0x0000000008019dd0 ip4_route + 0x0000000008019960 0xe0 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o + 0x0000000008019960 ip4_route .text.ip4_input_accept - 0x0000000008019eb0 0x54 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o + 0x0000000008019a40 0x54 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o .text.ip4_input - 0x0000000008019f04 0x280 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o - 0x0000000008019f04 ip4_input + 0x0000000008019a94 0x280 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o + 0x0000000008019a94 ip4_input .text.ip4_output_if - 0x000000000801a184 0x54 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o - 0x000000000801a184 ip4_output_if + 0x0000000008019d14 0x54 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o + 0x0000000008019d14 ip4_output_if .text.ip4_output_if_src - 0x000000000801a1d8 0x15c Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o - 0x000000000801a1d8 ip4_output_if_src + 0x0000000008019d68 0x15c Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o + 0x0000000008019d68 ip4_output_if_src .text.ip4_addr_isbroadcast_u32 - 0x000000000801a334 0x82 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o - 0x000000000801a334 ip4_addr_isbroadcast_u32 - *fill* 0x000000000801a3b6 0x2 + 0x0000000008019ec4 0x82 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o + 0x0000000008019ec4 ip4_addr_isbroadcast_u32 + *fill* 0x0000000008019f46 0x2 .text.ip_reass_tmr - 0x000000000801a3b8 0x58 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o - 0x000000000801a3b8 ip_reass_tmr + 0x0000000008019f48 0x58 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + 0x0000000008019f48 ip_reass_tmr .text.ip_reass_free_complete_datagram - 0x000000000801a410 0x148 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + 0x0000000008019fa0 0x148 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o .text.ip_reass_remove_oldest_datagram - 0x000000000801a558 0xc4 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + 0x000000000801a0e8 0xc4 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o .text.ip_reass_enqueue_new_datagram - 0x000000000801a61c 0x74 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + 0x000000000801a1ac 0x74 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o .text.ip_reass_dequeue_datagram - 0x000000000801a690 0x5c Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + 0x000000000801a220 0x5c Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o .text.ip_reass_chain_frag_into_datagram_and_validate - 0x000000000801a6ec 0x2d4 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + 0x000000000801a27c 0x2d4 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o .text.ip4_reass - 0x000000000801a9c0 0x328 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o - 0x000000000801a9c0 ip4_reass + 0x000000000801a550 0x328 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + 0x000000000801a550 ip4_reass .text.ip_frag_alloc_pbuf_custom_ref - 0x000000000801ace8 0x10 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + 0x000000000801a878 0x10 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o .text.ip_frag_free_pbuf_custom_ref - 0x000000000801acf8 0x38 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + 0x000000000801a888 0x38 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o .text.ipfrag_free_pbuf_custom - 0x000000000801ad30 0x68 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + 0x000000000801a8c0 0x68 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o .text.ip4_frag - 0x000000000801ad98 0x288 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o - 0x000000000801ad98 ip4_frag + 0x000000000801a928 0x288 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + 0x000000000801a928 ip4_frag .text.ethernet_input - 0x000000000801b020 0x11c Middlewares/Third_Party/LwIP/src/netif/ethernet.o - 0x000000000801b020 ethernet_input + 0x000000000801abb0 0x11c Middlewares/Third_Party/LwIP/src/netif/ethernet.o + 0x000000000801abb0 ethernet_input .text.ethernet_output - 0x000000000801b13c 0x90 Middlewares/Third_Party/LwIP/src/netif/ethernet.o - 0x000000000801b13c ethernet_output + 0x000000000801accc 0x90 Middlewares/Third_Party/LwIP/src/netif/ethernet.o + 0x000000000801accc ethernet_output .text.sys_mbox_new - 0x000000000801b1cc 0x44 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - 0x000000000801b1cc sys_mbox_new + 0x000000000801ad5c 0x44 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x000000000801ad5c sys_mbox_new .text.sys_mbox_trypost - 0x000000000801b210 0x34 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - 0x000000000801b210 sys_mbox_trypost + 0x000000000801ada0 0x34 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x000000000801ada0 sys_mbox_trypost .text.sys_arch_mbox_fetch - 0x000000000801b244 0x7e Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - 0x000000000801b244 sys_arch_mbox_fetch + 0x000000000801add4 0x7e Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x000000000801add4 sys_arch_mbox_fetch .text.sys_mbox_valid - 0x000000000801b2c2 0x22 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - 0x000000000801b2c2 sys_mbox_valid + 0x000000000801ae52 0x22 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x000000000801ae52 sys_mbox_valid .text.sys_init - 0x000000000801b2e4 0x1c Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - 0x000000000801b2e4 sys_init + 0x000000000801ae74 0x1c Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x000000000801ae74 sys_init .text.sys_mutex_new - 0x000000000801b300 0x38 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - 0x000000000801b300 sys_mutex_new + 0x000000000801ae90 0x38 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x000000000801ae90 sys_mutex_new .text.sys_mutex_lock - 0x000000000801b338 0x1e Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - 0x000000000801b338 sys_mutex_lock + 0x000000000801aec8 0x1e Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x000000000801aec8 sys_mutex_lock .text.sys_mutex_unlock - 0x000000000801b356 0x1a Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - 0x000000000801b356 sys_mutex_unlock + 0x000000000801aee6 0x1a Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x000000000801aee6 sys_mutex_unlock .text.sys_thread_new - 0x000000000801b370 0x4a Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - 0x000000000801b370 sys_thread_new - *fill* 0x000000000801b3ba 0x2 + 0x000000000801af00 0x4a Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x000000000801af00 sys_thread_new + *fill* 0x000000000801af4a 0x2 .text.sys_arch_protect - 0x000000000801b3bc 0x1c Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - 0x000000000801b3bc sys_arch_protect + 0x000000000801af4c 0x1c Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x000000000801af4c sys_arch_protect .text.sys_arch_unprotect - 0x000000000801b3d8 0x20 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - 0x000000000801b3d8 sys_arch_unprotect + 0x000000000801af68 0x20 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x000000000801af68 sys_arch_unprotect .text.__libc_init_array - 0x000000000801b3f8 0x48 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-init.o) - 0x000000000801b3f8 __libc_init_array - .text.memcmp 0x000000000801b440 0x1e c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memcmp.o) - 0x000000000801b440 memcmp - .text.memcpy 0x000000000801b45e 0x16 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memcpy-stub.o) - 0x000000000801b45e memcpy - .text.memmove 0x000000000801b474 0x32 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memmove.o) - 0x000000000801b474 memmove - .text.memset 0x000000000801b4a6 0x10 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memset.o) - 0x000000000801b4a6 memset - *fill* 0x000000000801b4b6 0x2 - .text.printf 0x000000000801b4b8 0x30 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-printf.o) - 0x000000000801b4b8 iprintf - 0x000000000801b4b8 printf - .text.rand 0x000000000801b4e8 0x68 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-rand.o) - 0x000000000801b4e8 rand - .text.sprintf 0x000000000801b550 0x40 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sprintf.o) - 0x000000000801b550 siprintf - 0x000000000801b550 sprintf - .text.std 0x000000000801b590 0x48 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) + 0x000000000801af88 0x48 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-init.o) + 0x000000000801af88 __libc_init_array + .text.memcmp 0x000000000801afd0 0x1e c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memcmp.o) + 0x000000000801afd0 memcmp + .text.memcpy 0x000000000801afee 0x16 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memcpy-stub.o) + 0x000000000801afee memcpy + .text.memset 0x000000000801b004 0x10 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memset.o) + 0x000000000801b004 memset + .text.printf 0x000000000801b014 0x30 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-printf.o) + 0x000000000801b014 iprintf + 0x000000000801b014 printf + .text.rand 0x000000000801b044 0x68 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-rand.o) + 0x000000000801b044 rand + .text.std 0x000000000801b0ac 0x48 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) .text._cleanup_r - 0x000000000801b5d8 0xc c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) - 0x000000000801b5d8 _cleanup_r + 0x000000000801b0f4 0xc c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) + 0x000000000801b0f4 _cleanup_r .text.__sfmoreglue - 0x000000000801b5e4 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) - 0x000000000801b5e4 __sfmoreglue - .text.__sinit 0x000000000801b610 0x60 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) - 0x000000000801b610 __sinit - .text.__sfp 0x000000000801b670 0x78 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) - 0x000000000801b670 __sfp + 0x000000000801b100 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) + 0x000000000801b100 __sfmoreglue + .text.__sinit 0x000000000801b12c 0x60 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) + 0x000000000801b12c __sinit + .text.__sfp 0x000000000801b18c 0x78 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) + 0x000000000801b18c __sfp .text._fwalk_reent - 0x000000000801b6e8 0x3c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fwalk.o) - 0x000000000801b6e8 _fwalk_reent - .text.malloc 0x000000000801b724 0x10 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-malloc.o) - 0x000000000801b724 malloc - .text._free_r 0x000000000801b734 0x9c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-freer.o) - 0x000000000801b734 _free_r + 0x000000000801b204 0x3c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fwalk.o) + 0x000000000801b204 _fwalk_reent + .text.malloc 0x000000000801b240 0x10 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-malloc.o) + 0x000000000801b240 malloc + .text._free_r 0x000000000801b250 0x9c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-freer.o) + 0x000000000801b250 _free_r .text._malloc_r - 0x000000000801b7d0 0xb4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-mallocr.o) - 0x000000000801b7d0 _malloc_r - .text.__ssputs_r - 0x000000000801b884 0xb4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-svfprintf.o) - 0x000000000801b884 __ssputs_r - .text._svfprintf_r - 0x000000000801b938 0x1f0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-svfprintf.o) - 0x000000000801b938 _svfiprintf_r - 0x000000000801b938 _svfprintf_r + 0x000000000801b2ec 0xb4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-mallocr.o) + 0x000000000801b2ec _malloc_r .text.__sfputc_r - 0x000000000801bb28 0x2e c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) + 0x000000000801b3a0 0x2e c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) .text.__sfputs_r - 0x000000000801bb56 0x24 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) - 0x000000000801bb56 __sfputs_r - *fill* 0x000000000801bb7a 0x2 + 0x000000000801b3ce 0x24 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) + 0x000000000801b3ce __sfputs_r + *fill* 0x000000000801b3f2 0x2 .text._vfprintf_r - 0x000000000801bb7c 0x22c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) - 0x000000000801bb7c _vfprintf_r - 0x000000000801bb7c _vfiprintf_r + 0x000000000801b3f4 0x22c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) + 0x000000000801b3f4 _vfprintf_r + 0x000000000801b3f4 _vfiprintf_r .text._printf_common - 0x000000000801bda8 0xea c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf_i.o) - 0x000000000801bda8 _printf_common - *fill* 0x000000000801be92 0x2 + 0x000000000801b620 0xea c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf_i.o) + 0x000000000801b620 _printf_common + *fill* 0x000000000801b70a 0x2 .text._printf_i - 0x000000000801be94 0x224 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf_i.o) - 0x000000000801be94 _printf_i - .text._sbrk_r 0x000000000801c0b8 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sbrkr.o) - 0x000000000801c0b8 _sbrk_r - .text.__sread 0x000000000801c0d8 0x22 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-stdio.o) - 0x000000000801c0d8 __sread + 0x000000000801b70c 0x224 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf_i.o) + 0x000000000801b70c _printf_i + .text._sbrk_r 0x000000000801b930 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sbrkr.o) + 0x000000000801b930 _sbrk_r + .text.__sread 0x000000000801b950 0x22 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-stdio.o) + 0x000000000801b950 __sread .text.__swrite - 0x000000000801c0fa 0x38 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-stdio.o) - 0x000000000801c0fa __swrite - .text.__sseek 0x000000000801c132 0x24 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-stdio.o) - 0x000000000801c132 __sseek + 0x000000000801b972 0x38 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-stdio.o) + 0x000000000801b972 __swrite + .text.__sseek 0x000000000801b9aa 0x24 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-stdio.o) + 0x000000000801b9aa __sseek .text.__sclose - 0x000000000801c156 0x8 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-stdio.o) - 0x000000000801c156 __sclose - *fill* 0x000000000801c15e 0x2 + 0x000000000801b9ce 0x8 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-stdio.o) + 0x000000000801b9ce __sclose + *fill* 0x000000000801b9d6 0x2 .text.__swbuf_r - 0x000000000801c160 0xa4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-wbuf.o) - 0x000000000801c160 __swbuf_r + 0x000000000801b9d8 0xa4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-wbuf.o) + 0x000000000801b9d8 __swbuf_r .text._write_r - 0x000000000801c204 0x24 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-writer.o) - 0x000000000801c204 _write_r + 0x000000000801ba7c 0x24 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-writer.o) + 0x000000000801ba7c _write_r .text.__swsetup_r - 0x000000000801c228 0xdc c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-wsetup.o) - 0x000000000801c228 __swsetup_r + 0x000000000801baa0 0xdc c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-wsetup.o) + 0x000000000801baa0 __swsetup_r .text._close_r - 0x000000000801c304 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-closer.o) - 0x000000000801c304 _close_r + 0x000000000801bb7c 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-closer.o) + 0x000000000801bb7c _close_r .text.__sflush_r - 0x000000000801c324 0x10c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fflush.o) - 0x000000000801c324 __sflush_r + 0x000000000801bb9c 0x10c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fflush.o) + 0x000000000801bb9c __sflush_r .text._fflush_r - 0x000000000801c430 0x54 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fflush.o) - 0x000000000801c430 _fflush_r + 0x000000000801bca8 0x54 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fflush.o) + 0x000000000801bca8 _fflush_r .text._lseek_r - 0x000000000801c484 0x24 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-lseekr.o) - 0x000000000801c484 _lseek_r + 0x000000000801bcfc 0x24 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-lseekr.o) + 0x000000000801bcfc _lseek_r .text.__swhatbuf_r - 0x000000000801c4a8 0x48 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-makebuf.o) - 0x000000000801c4a8 __swhatbuf_r + 0x000000000801bd20 0x48 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-makebuf.o) + 0x000000000801bd20 __swhatbuf_r .text.__smakebuf_r - 0x000000000801c4f0 0x80 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-makebuf.o) - 0x000000000801c4f0 __smakebuf_r + 0x000000000801bd68 0x80 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-makebuf.o) + 0x000000000801bd68 __smakebuf_r .text.__malloc_lock - 0x000000000801c570 0x2 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-mlock.o) - 0x000000000801c570 __malloc_lock + 0x000000000801bde8 0x2 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-mlock.o) + 0x000000000801bde8 __malloc_lock .text.__malloc_unlock - 0x000000000801c572 0x2 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-mlock.o) - 0x000000000801c572 __malloc_unlock - .text._realloc_r - 0x000000000801c574 0x4c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-reallocr.o) - 0x000000000801c574 _realloc_r - .text._read_r 0x000000000801c5c0 0x24 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-readr.o) - 0x000000000801c5c0 _read_r + 0x000000000801bdea 0x2 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-mlock.o) + 0x000000000801bdea __malloc_unlock + .text._read_r 0x000000000801bdec 0x24 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-readr.o) + 0x000000000801bdec _read_r .text._fstat_r - 0x000000000801c5e4 0x24 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fstatr.o) - 0x000000000801c5e4 _fstat_r + 0x000000000801be10 0x24 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fstatr.o) + 0x000000000801be10 _fstat_r .text._isatty_r - 0x000000000801c608 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-isattyr.o) - 0x000000000801c608 _isatty_r - .text._malloc_usable_size_r - 0x000000000801c628 0x10 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-msizer.o) - 0x000000000801c628 _malloc_usable_size_r + 0x000000000801be34 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-isattyr.o) + 0x000000000801be34 _isatty_r *(.glue_7) - .glue_7 0x000000000801c638 0x0 linker stubs + .glue_7 0x000000000801be54 0x0 linker stubs *(.glue_7t) - .glue_7t 0x000000000801c638 0x0 linker stubs + .glue_7t 0x000000000801be54 0x0 linker stubs *(.eh_frame) - .eh_frame 0x000000000801c638 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o + .eh_frame 0x000000000801be54 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o *(.init) - .init 0x000000000801c638 0x4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crti.o - 0x000000000801c638 _init - .init 0x000000000801c63c 0x8 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtn.o + .init 0x000000000801be54 0x4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crti.o + 0x000000000801be54 _init + .init 0x000000000801be58 0x8 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtn.o *(.fini) - .fini 0x000000000801c644 0x4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crti.o - 0x000000000801c644 _fini - .fini 0x000000000801c648 0x8 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtn.o - 0x000000000801c650 . = ALIGN (0x4) - 0x000000000801c650 _etext = . + .fini 0x000000000801be60 0x4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crti.o + 0x000000000801be60 _fini + .fini 0x000000000801be64 0x8 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtn.o + 0x000000000801be6c . = ALIGN (0x4) + 0x000000000801be6c _etext = . -.vfp11_veneer 0x000000000801c650 0x0 - .vfp11_veneer 0x000000000801c650 0x0 linker stubs +.vfp11_veneer 0x000000000801be6c 0x0 + .vfp11_veneer 0x000000000801be6c 0x0 linker stubs -.v4_bx 0x000000000801c650 0x0 - .v4_bx 0x000000000801c650 0x0 linker stubs +.v4_bx 0x000000000801be6c 0x0 + .v4_bx 0x000000000801be6c 0x0 linker stubs -.iplt 0x000000000801c650 0x0 - .iplt 0x000000000801c650 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o +.iplt 0x000000000801be6c 0x0 + .iplt 0x000000000801be6c 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o -.rodata 0x000000000801c650 0x50d4 - 0x000000000801c650 . = ALIGN (0x4) +.rodata 0x000000000801be6c 0x50b4 + 0x000000000801be6c . = ALIGN (0x4) *(.rodata) - .rodata 0x000000000801c650 0xe4 Core/Src/main.o - .rodata 0x000000000801c734 0x24 LWIP/App/lwip.o - .rodata 0x000000000801c758 0x78 LWIP/Target/ethernetif.o - .rodata 0x000000000801c7d0 0x5 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - *fill* 0x000000000801c7d5 0x3 - .rodata 0x000000000801c7d8 0xdd Middlewares/Third_Party/LwIP/src/api/tcpip.o - *fill* 0x000000000801c8b5 0x3 - .rodata 0x000000000801c8b8 0x277 Middlewares/Third_Party/LwIP/src/core/mem.o - *fill* 0x000000000801cb2f 0x1 - .rodata 0x000000000801cb30 0xeb Middlewares/Third_Party/LwIP/src/core/memp.o - *fill* 0x000000000801cc1b 0x1 - .rodata 0x000000000801cc1c 0x22f Middlewares/Third_Party/LwIP/src/core/netif.o - *fill* 0x000000000801ce4b 0x1 - .rodata 0x000000000801ce4c 0x485 Middlewares/Third_Party/LwIP/src/core/pbuf.o - *fill* 0x000000000801d2d1 0x3 - .rodata 0x000000000801d2d4 0x7e0 Middlewares/Third_Party/LwIP/src/core/tcp.o - .rodata 0x000000000801dab4 0x47e Middlewares/Third_Party/LwIP/src/core/tcp_in.o - *fill* 0x000000000801df32 0x2 - .rodata 0x000000000801df34 0x81b Middlewares/Third_Party/LwIP/src/core/tcp_out.o - *fill* 0x000000000801e74f 0x1 - .rodata 0x000000000801e750 0xe6 Middlewares/Third_Party/LwIP/src/core/timeouts.o - *fill* 0x000000000801e836 0x2 - .rodata 0x000000000801e838 0x364 Middlewares/Third_Party/LwIP/src/core/udp.o - .rodata 0x000000000801eb9c 0x3a0 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - .rodata 0x000000000801ef3c 0x275 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o - *fill* 0x000000000801f1b1 0x3 - .rodata 0x000000000801f1b4 0xf8 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o - .rodata 0x000000000801f2ac 0x95 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o - *fill* 0x000000000801f341 0x3 - .rodata 0x000000000801f344 0x227 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o - *fill* 0x000000000801f56b 0x1 - .rodata 0x000000000801f56c 0x94 Middlewares/Third_Party/LwIP/src/netif/ethernet.o + .rodata 0x000000000801be6c 0xc4 Core/Src/main.o + .rodata 0x000000000801bf30 0x24 LWIP/App/lwip.o + .rodata 0x000000000801bf54 0x78 LWIP/Target/ethernetif.o + .rodata 0x000000000801bfcc 0x5 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + *fill* 0x000000000801bfd1 0x3 + .rodata 0x000000000801bfd4 0xdd Middlewares/Third_Party/LwIP/src/api/tcpip.o + *fill* 0x000000000801c0b1 0x3 + .rodata 0x000000000801c0b4 0x277 Middlewares/Third_Party/LwIP/src/core/mem.o + *fill* 0x000000000801c32b 0x1 + .rodata 0x000000000801c32c 0xeb Middlewares/Third_Party/LwIP/src/core/memp.o + *fill* 0x000000000801c417 0x1 + .rodata 0x000000000801c418 0x22f Middlewares/Third_Party/LwIP/src/core/netif.o + *fill* 0x000000000801c647 0x1 + .rodata 0x000000000801c648 0x485 Middlewares/Third_Party/LwIP/src/core/pbuf.o + *fill* 0x000000000801cacd 0x3 + .rodata 0x000000000801cad0 0x7e0 Middlewares/Third_Party/LwIP/src/core/tcp.o + .rodata 0x000000000801d2b0 0x47e Middlewares/Third_Party/LwIP/src/core/tcp_in.o + *fill* 0x000000000801d72e 0x2 + .rodata 0x000000000801d730 0x81b Middlewares/Third_Party/LwIP/src/core/tcp_out.o + *fill* 0x000000000801df4b 0x1 + .rodata 0x000000000801df4c 0xe6 Middlewares/Third_Party/LwIP/src/core/timeouts.o + *fill* 0x000000000801e032 0x2 + .rodata 0x000000000801e034 0x364 Middlewares/Third_Party/LwIP/src/core/udp.o + .rodata 0x000000000801e398 0x3a0 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + .rodata 0x000000000801e738 0x275 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + *fill* 0x000000000801e9ad 0x3 + .rodata 0x000000000801e9b0 0xf8 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o + .rodata 0x000000000801eaa8 0x95 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o + *fill* 0x000000000801eb3d 0x3 + .rodata 0x000000000801eb40 0x227 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + *fill* 0x000000000801ed67 0x1 + .rodata 0x000000000801ed68 0x94 Middlewares/Third_Party/LwIP/src/netif/ethernet.o *(.rodata*) .rodata.Font24_Table - 0x000000000801f600 0x1ab8 Core/Src/stm32746g_discovery_lcd.o - 0x000000000801f600 Font24_Table + 0x000000000801edfc 0x1ab8 Core/Src/stm32746g_discovery_lcd.o + 0x000000000801edfc Font24_Table .rodata.Font12_Table - 0x00000000080210b8 0x474 Core/Src/stm32746g_discovery_lcd.o - 0x00000000080210b8 Font12_Table + 0x00000000080208b4 0x474 Core/Src/stm32746g_discovery_lcd.o + 0x00000000080208b4 Font12_Table .rodata.AHBPrescTable - 0x000000000802152c 0x10 Core/Src/system_stm32f7xx.o - 0x000000000802152c AHBPrescTable + 0x0000000008020d28 0x10 Core/Src/system_stm32f7xx.o + 0x0000000008020d28 AHBPrescTable .rodata.APBPrescTable - 0x000000000802153c 0x8 Core/Src/system_stm32f7xx.o - 0x000000000802153c APBPrescTable + 0x0000000008020d38 0x8 Core/Src/system_stm32f7xx.o + 0x0000000008020d38 APBPrescTable .rodata.flagBitshiftOffset.9730 - 0x0000000008021544 0x8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o + 0x0000000008020d40 0x8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o .rodata.memp_UDP_PCB - 0x000000000802154c 0xc Middlewares/Third_Party/LwIP/src/core/memp.o - 0x000000000802154c memp_UDP_PCB + 0x0000000008020d48 0xc Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000008020d48 memp_UDP_PCB .rodata.memp_TCP_PCB - 0x0000000008021558 0xc Middlewares/Third_Party/LwIP/src/core/memp.o - 0x0000000008021558 memp_TCP_PCB + 0x0000000008020d54 0xc Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000008020d54 memp_TCP_PCB .rodata.memp_TCP_PCB_LISTEN - 0x0000000008021564 0xc Middlewares/Third_Party/LwIP/src/core/memp.o - 0x0000000008021564 memp_TCP_PCB_LISTEN + 0x0000000008020d60 0xc Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000008020d60 memp_TCP_PCB_LISTEN .rodata.memp_TCP_SEG - 0x0000000008021570 0xc Middlewares/Third_Party/LwIP/src/core/memp.o - 0x0000000008021570 memp_TCP_SEG + 0x0000000008020d6c 0xc Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000008020d6c memp_TCP_SEG .rodata.memp_REASSDATA - 0x000000000802157c 0xc Middlewares/Third_Party/LwIP/src/core/memp.o - 0x000000000802157c memp_REASSDATA + 0x0000000008020d78 0xc Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000008020d78 memp_REASSDATA .rodata.memp_FRAG_PBUF - 0x0000000008021588 0xc Middlewares/Third_Party/LwIP/src/core/memp.o - 0x0000000008021588 memp_FRAG_PBUF + 0x0000000008020d84 0xc Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000008020d84 memp_FRAG_PBUF .rodata.memp_NETBUF - 0x0000000008021594 0xc Middlewares/Third_Party/LwIP/src/core/memp.o - 0x0000000008021594 memp_NETBUF + 0x0000000008020d90 0xc Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000008020d90 memp_NETBUF .rodata.memp_NETCONN - 0x00000000080215a0 0xc Middlewares/Third_Party/LwIP/src/core/memp.o - 0x00000000080215a0 memp_NETCONN + 0x0000000008020d9c 0xc Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000008020d9c memp_NETCONN .rodata.memp_TCPIP_MSG_API - 0x00000000080215ac 0xc Middlewares/Third_Party/LwIP/src/core/memp.o - 0x00000000080215ac memp_TCPIP_MSG_API + 0x0000000008020da8 0xc Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000008020da8 memp_TCPIP_MSG_API .rodata.memp_TCPIP_MSG_INPKT - 0x00000000080215b8 0xc Middlewares/Third_Party/LwIP/src/core/memp.o - 0x00000000080215b8 memp_TCPIP_MSG_INPKT + 0x0000000008020db4 0xc Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000008020db4 memp_TCPIP_MSG_INPKT .rodata.memp_SYS_TIMEOUT - 0x00000000080215c4 0xc Middlewares/Third_Party/LwIP/src/core/memp.o - 0x00000000080215c4 memp_SYS_TIMEOUT + 0x0000000008020dc0 0xc Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000008020dc0 memp_SYS_TIMEOUT .rodata.memp_PBUF - 0x00000000080215d0 0xc Middlewares/Third_Party/LwIP/src/core/memp.o - 0x00000000080215d0 memp_PBUF + 0x0000000008020dcc 0xc Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000008020dcc memp_PBUF .rodata.memp_PBUF_POOL - 0x00000000080215dc 0xc Middlewares/Third_Party/LwIP/src/core/memp.o - 0x00000000080215dc memp_PBUF_POOL + 0x0000000008020dd8 0xc Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000008020dd8 memp_PBUF_POOL .rodata.memp_pools - 0x00000000080215e8 0x34 Middlewares/Third_Party/LwIP/src/core/memp.o - 0x00000000080215e8 memp_pools + 0x0000000008020de4 0x34 Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000008020de4 memp_pools .rodata.tcp_backoff - 0x000000000802161c 0xd Middlewares/Third_Party/LwIP/src/core/tcp.o - *fill* 0x0000000008021629 0x3 + 0x0000000008020e18 0xd Middlewares/Third_Party/LwIP/src/core/tcp.o + *fill* 0x0000000008020e25 0x3 .rodata.tcp_persist_backoff - 0x000000000802162c 0x7 Middlewares/Third_Party/LwIP/src/core/tcp.o - *fill* 0x0000000008021633 0x1 + 0x0000000008020e28 0x7 Middlewares/Third_Party/LwIP/src/core/tcp.o + *fill* 0x0000000008020e2f 0x1 .rodata.tcp_pcb_lists - 0x0000000008021634 0x10 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x0000000008021634 tcp_pcb_lists + 0x0000000008020e30 0x10 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x0000000008020e30 tcp_pcb_lists .rodata.lwip_cyclic_timers - 0x0000000008021644 0x28 Middlewares/Third_Party/LwIP/src/core/timeouts.o - 0x0000000008021644 lwip_cyclic_timers + 0x0000000008020e40 0x28 Middlewares/Third_Party/LwIP/src/core/timeouts.o + 0x0000000008020e40 lwip_cyclic_timers .rodata.ip_addr_any - 0x000000000802166c 0x4 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o - 0x000000000802166c ip_addr_any + 0x0000000008020e68 0x4 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o + 0x0000000008020e68 ip_addr_any .rodata.ip_addr_broadcast - 0x0000000008021670 0x4 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o - 0x0000000008021670 ip_addr_broadcast + 0x0000000008020e6c 0x4 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o + 0x0000000008020e6c ip_addr_broadcast .rodata.ethbroadcast - 0x0000000008021674 0x6 Middlewares/Third_Party/LwIP/src/netif/ethernet.o - 0x0000000008021674 ethbroadcast - *fill* 0x000000000802167a 0x2 + 0x0000000008020e70 0x6 Middlewares/Third_Party/LwIP/src/netif/ethernet.o + 0x0000000008020e70 ethbroadcast + *fill* 0x0000000008020e76 0x2 .rodata.ethzero - 0x000000000802167c 0x6 Middlewares/Third_Party/LwIP/src/netif/ethernet.o - 0x000000000802167c ethzero - *fill* 0x0000000008021682 0x2 + 0x0000000008020e78 0x6 Middlewares/Third_Party/LwIP/src/netif/ethernet.o + 0x0000000008020e78 ethzero + *fill* 0x0000000008020e7e 0x2 .rodata.os_mutex_def_lwip_sys_mutex - 0x0000000008021684 0x8 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - 0x0000000008021684 os_mutex_def_lwip_sys_mutex + 0x0000000008020e80 0x8 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x0000000008020e80 os_mutex_def_lwip_sys_mutex .rodata._global_impure_ptr - 0x000000000802168c 0x4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-impure.o) - 0x000000000802168c _global_impure_ptr + 0x0000000008020e88 0x4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-impure.o) + 0x0000000008020e88 _global_impure_ptr .rodata.__sf_fake_stderr - 0x0000000008021690 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) - 0x0000000008021690 __sf_fake_stderr + 0x0000000008020e8c 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) + 0x0000000008020e8c __sf_fake_stderr .rodata.__sf_fake_stdin - 0x00000000080216b0 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) - 0x00000000080216b0 __sf_fake_stdin + 0x0000000008020eac 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) + 0x0000000008020eac __sf_fake_stdin .rodata.__sf_fake_stdout - 0x00000000080216d0 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) - 0x00000000080216d0 __sf_fake_stdout - .rodata._svfprintf_r.str1.1 - 0x00000000080216f0 0x11 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-svfprintf.o) + 0x0000000008020ecc 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) + 0x0000000008020ecc __sf_fake_stdout .rodata._vfprintf_r.str1.1 - 0x0000000008021701 0x11 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) + 0x0000000008020eec 0x11 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) .rodata._printf_i.str1.1 - 0x0000000008021701 0x22 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf_i.o) - 0x0000000008021724 . = ALIGN (0x4) - *fill* 0x0000000008021723 0x1 + 0x0000000008020efd 0x22 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf_i.o) + 0x0000000008020f20 . = ALIGN (0x4) + *fill* 0x0000000008020f1f 0x1 -.ARM.extab 0x0000000008021724 0x0 - 0x0000000008021724 . = ALIGN (0x4) +.ARM.extab 0x0000000008020f20 0x0 + 0x0000000008020f20 . = ALIGN (0x4) *(.ARM.extab* .gnu.linkonce.armextab.*) - 0x0000000008021724 . = ALIGN (0x4) + 0x0000000008020f20 . = ALIGN (0x4) -.ARM 0x0000000008021724 0x8 - 0x0000000008021724 . = ALIGN (0x4) - 0x0000000008021724 __exidx_start = . +.ARM 0x0000000008020f20 0x8 + 0x0000000008020f20 . = ALIGN (0x4) + 0x0000000008020f20 __exidx_start = . *(.ARM.exidx*) - .ARM.exidx 0x0000000008021724 0x8 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_udivmoddi4.o) - 0x000000000802172c __exidx_end = . - 0x000000000802172c . = ALIGN (0x4) + .ARM.exidx 0x0000000008020f20 0x8 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_udivmoddi4.o) + 0x0000000008020f28 __exidx_end = . + 0x0000000008020f28 . = ALIGN (0x4) -.rel.dyn 0x000000000802172c 0x0 - .rel.iplt 0x000000000802172c 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o +.rel.dyn 0x0000000008020f28 0x0 + .rel.iplt 0x0000000008020f28 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o -.preinit_array 0x000000000802172c 0x0 - 0x000000000802172c . = ALIGN (0x4) - 0x000000000802172c PROVIDE (__preinit_array_start = .) +.preinit_array 0x0000000008020f28 0x0 + 0x0000000008020f28 . = ALIGN (0x4) + 0x0000000008020f28 PROVIDE (__preinit_array_start = .) *(.preinit_array*) - 0x000000000802172c PROVIDE (__preinit_array_end = .) - 0x000000000802172c . = ALIGN (0x4) + 0x0000000008020f28 PROVIDE (__preinit_array_end = .) + 0x0000000008020f28 . = ALIGN (0x4) -.init_array 0x000000000802172c 0x4 - 0x000000000802172c . = ALIGN (0x4) - 0x000000000802172c PROVIDE (__init_array_start = .) +.init_array 0x0000000008020f28 0x4 + 0x0000000008020f28 . = ALIGN (0x4) + 0x0000000008020f28 PROVIDE (__init_array_start = .) *(SORT_BY_NAME(.init_array.*)) *(.init_array*) - .init_array 0x000000000802172c 0x4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o - 0x0000000008021730 PROVIDE (__init_array_end = .) - 0x0000000008021730 . = ALIGN (0x4) + .init_array 0x0000000008020f28 0x4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o + 0x0000000008020f2c PROVIDE (__init_array_end = .) + 0x0000000008020f2c . = ALIGN (0x4) -.fini_array 0x0000000008021730 0x4 - 0x0000000008021730 . = ALIGN (0x4) +.fini_array 0x0000000008020f2c 0x4 + 0x0000000008020f2c . = ALIGN (0x4) [!provide] PROVIDE (__fini_array_start = .) *(SORT_BY_NAME(.fini_array.*)) *(.fini_array*) - .fini_array 0x0000000008021730 0x4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o + .fini_array 0x0000000008020f2c 0x4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o [!provide] PROVIDE (__fini_array_end = .) - 0x0000000008021734 . = ALIGN (0x4) - 0x0000000008021734 _sidata = LOADADDR (.data) + 0x0000000008020f30 . = ALIGN (0x4) + 0x0000000008020f30 _sidata = LOADADDR (.data) -.data 0x0000000020000000 0xe8 load address 0x0000000008021734 +.data 0x0000000020000000 0xe8 load address 0x0000000008020f30 0x0000000020000000 . = ALIGN (0x4) 0x0000000020000000 _sdata = . *(.data) @@ -32236,11 +32211,11 @@ LOAD c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.exte 0x00000000200000e8 . = ALIGN (0x4) 0x00000000200000e8 _edata = . -.igot.plt 0x00000000200000e8 0x0 load address 0x000000000802181c +.igot.plt 0x00000000200000e8 0x0 load address 0x0000000008021018 .igot.plt 0x00000000200000e8 0x0 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o 0x00000000200000e8 . = ALIGN (0x4) -.bss 0x00000000200000e8 0xf528 load address 0x000000000802181c +.bss 0x00000000200000e8 0xf524 load address 0x0000000008021018 0x00000000200000e8 _sbss = . 0x00000000200000e8 __bss_start__ = _sbss *(.bss) @@ -32256,7 +32231,7 @@ LOAD c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.exte .bss.coord.5529 0x0000000020000360 0x2 Core/Src/ft5336.o *fill* 0x0000000020000362 0x2 - .bss.TS_State.13457 + .bss.TS_State.13453 0x0000000020000364 0x2c Core/Src/main.o .bss.hI2cAudioHandler 0x0000000020000390 0x4c Core/Src/stm32746g_discovery.o @@ -32446,102 +32421,102 @@ LOAD c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.exte 0x0000000020008878 0x4 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-mallocr.o) 0x0000000020008878 __malloc_sbrk_start *(COMMON) - COMMON 0x000000002000887c 0x3bc Core/Src/main.o + COMMON 0x000000002000887c 0x3b8 Core/Src/main.o 0x000000002000887c hspi2 0x00000000200088e0 htim8 0x0000000020008920 Queue_JHandle - 0x0000000020008924 IRQ_BPHandle - 0x0000000020008928 hcrc - 0x000000002000894c Joueur_1Handle - 0x0000000020008950 htim5 - 0x0000000020008990 htim3 - 0x00000000200089d0 hltdc - 0x0000000020008a78 hadc1 - 0x0000000020008ac0 hadc3 - 0x0000000020008b08 Queue_NHandle - 0x0000000020008b0c Queue_FHandle - 0x0000000020008b10 hdac - 0x0000000020008b24 ProjectileHandle - 0x0000000020008b28 htim1 - 0x0000000020008b68 hrng - 0x0000000020008b78 GameMasterHandle - 0x0000000020008b7c hdma2d - 0x0000000020008bbc htim2 - 0x0000000020008bfc Queue_EHandle - 0x0000000020008c00 hsdram1 - 0x0000000020008c34 Block_EnemieHandle - COMMON 0x0000000020008c38 0xa8 Core/Src/stm32746g_discovery_lcd.o - 0x0000000020008c38 hLtdcHandler - COMMON 0x0000000020008ce0 0x34 Core/Src/stm32746g_discovery_sdram.o - 0x0000000020008ce0 sdramHandle - COMMON 0x0000000020008d14 0x40 Core/Src/stm32f7xx_hal_timebase_tim.o - 0x0000000020008d14 htim6 - COMMON 0x0000000020008d54 0x4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o - 0x0000000020008d54 uwTick - COMMON 0x0000000020008d58 0x4c LWIP/App/lwip.o - 0x0000000020008d58 link_arg - 0x0000000020008d60 gnetif - 0x0000000020008d98 ipaddr - 0x0000000020008d9c netmask - 0x0000000020008da0 gw - COMMON 0x0000000020008da4 0x30e8 LWIP/Target/ethernetif.o - 0x0000000020008da4 DMATxDscrTab - 0x0000000020008e24 Rx_Buff - 0x000000002000a5f4 DMARxDscrTab - 0x000000002000a674 heth - 0x000000002000a6bc Tx_Buff - COMMON 0x000000002000be8c 0x4 Middlewares/Third_Party/LwIP/src/api/tcpip.o - 0x000000002000be8c lock_tcpip_core - COMMON 0x000000002000be90 0x18 Middlewares/Third_Party/LwIP/src/core/ip.o - 0x000000002000be90 ip_data - COMMON 0x000000002000bea8 0x653 Middlewares/Third_Party/LwIP/src/core/mem.o - 0x000000002000bea8 ram_heap - *fill* 0x000000002000c4fb 0x1 - COMMON 0x000000002000c4fc 0x30b7 Middlewares/Third_Party/LwIP/src/core/memp.o - 0x000000002000c4fc memp_memory_NETBUF_base - 0x000000002000c520 memp_memory_TCPIP_MSG_INPKT_base - 0x000000002000c5a4 memp_memory_TCP_SEG_base - 0x000000002000c6a8 memp_memory_PBUF_POOL_base - 0x000000002000ecac memp_memory_FRAG_PBUF_base - 0x000000002000ee18 memp_memory_TCPIP_MSG_API_base - 0x000000002000ee9c memp_memory_PBUF_base - 0x000000002000efa0 memp_memory_TCP_PCB_LISTEN_base - 0x000000002000f084 memp_memory_REASSDATA_base - 0x000000002000f128 memp_memory_UDP_PCB_base - 0x000000002000f1ac memp_memory_NETCONN_base - 0x000000002000f250 memp_memory_TCP_PCB_base - 0x000000002000f560 memp_memory_SYS_TIMEOUT_base - *fill* 0x000000002000f5b3 0x1 - COMMON 0x000000002000f5b4 0x8 Middlewares/Third_Party/LwIP/src/core/netif.o - 0x000000002000f5b4 netif_list - 0x000000002000f5b8 netif_default - COMMON 0x000000002000f5bc 0x1 Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x000000002000f5bc pbuf_free_ooseq_pending - *fill* 0x000000002000f5bd 0x3 - COMMON 0x000000002000f5c0 0x18 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x000000002000f5c0 tcp_active_pcbs_changed - 0x000000002000f5c4 tcp_active_pcbs - 0x000000002000f5c8 tcp_ticks - 0x000000002000f5cc tcp_listen_pcbs - 0x000000002000f5d0 tcp_bound_pcbs - 0x000000002000f5d4 tcp_tw_pcbs - COMMON 0x000000002000f5d8 0x4 Middlewares/Third_Party/LwIP/src/core/tcp_in.o - 0x000000002000f5d8 tcp_input_pcb - COMMON 0x000000002000f5dc 0x4 Middlewares/Third_Party/LwIP/src/core/udp.o - 0x000000002000f5dc udp_pcbs - COMMON 0x000000002000f5e0 0x28 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - 0x000000002000f5e0 dhcp_rx_options_given - 0x000000002000f5e8 dhcp_rx_options_val - COMMON 0x000000002000f608 0x8 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - 0x000000002000f608 errno - 0x000000002000f60c lwip_sys_mutex - 0x000000002000f610 . = ALIGN (0x4) - 0x000000002000f610 _ebss = . - 0x000000002000f610 __bss_end__ = _ebss + 0x0000000020008924 hcrc + 0x0000000020008948 Joueur_1Handle + 0x000000002000894c htim5 + 0x000000002000898c htim3 + 0x00000000200089cc hltdc + 0x0000000020008a74 hadc1 + 0x0000000020008abc hadc3 + 0x0000000020008b04 Queue_NHandle + 0x0000000020008b08 Queue_FHandle + 0x0000000020008b0c hdac + 0x0000000020008b20 ProjectileHandle + 0x0000000020008b24 htim1 + 0x0000000020008b64 hrng + 0x0000000020008b74 GameMasterHandle + 0x0000000020008b78 hdma2d + 0x0000000020008bb8 htim2 + 0x0000000020008bf8 Queue_EHandle + 0x0000000020008bfc hsdram1 + 0x0000000020008c30 Block_EnemieHandle + COMMON 0x0000000020008c34 0xa8 Core/Src/stm32746g_discovery_lcd.o + 0x0000000020008c34 hLtdcHandler + COMMON 0x0000000020008cdc 0x34 Core/Src/stm32746g_discovery_sdram.o + 0x0000000020008cdc sdramHandle + COMMON 0x0000000020008d10 0x40 Core/Src/stm32f7xx_hal_timebase_tim.o + 0x0000000020008d10 htim6 + COMMON 0x0000000020008d50 0x4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o + 0x0000000020008d50 uwTick + COMMON 0x0000000020008d54 0x4c LWIP/App/lwip.o + 0x0000000020008d54 link_arg + 0x0000000020008d5c gnetif + 0x0000000020008d94 ipaddr + 0x0000000020008d98 netmask + 0x0000000020008d9c gw + COMMON 0x0000000020008da0 0x30e8 LWIP/Target/ethernetif.o + 0x0000000020008da0 DMATxDscrTab + 0x0000000020008e20 Rx_Buff + 0x000000002000a5f0 DMARxDscrTab + 0x000000002000a670 heth + 0x000000002000a6b8 Tx_Buff + COMMON 0x000000002000be88 0x4 Middlewares/Third_Party/LwIP/src/api/tcpip.o + 0x000000002000be88 lock_tcpip_core + COMMON 0x000000002000be8c 0x18 Middlewares/Third_Party/LwIP/src/core/ip.o + 0x000000002000be8c ip_data + COMMON 0x000000002000bea4 0x653 Middlewares/Third_Party/LwIP/src/core/mem.o + 0x000000002000bea4 ram_heap + *fill* 0x000000002000c4f7 0x1 + COMMON 0x000000002000c4f8 0x30b7 Middlewares/Third_Party/LwIP/src/core/memp.o + 0x000000002000c4f8 memp_memory_NETBUF_base + 0x000000002000c51c memp_memory_TCPIP_MSG_INPKT_base + 0x000000002000c5a0 memp_memory_TCP_SEG_base + 0x000000002000c6a4 memp_memory_PBUF_POOL_base + 0x000000002000eca8 memp_memory_FRAG_PBUF_base + 0x000000002000ee14 memp_memory_TCPIP_MSG_API_base + 0x000000002000ee98 memp_memory_PBUF_base + 0x000000002000ef9c memp_memory_TCP_PCB_LISTEN_base + 0x000000002000f080 memp_memory_REASSDATA_base + 0x000000002000f124 memp_memory_UDP_PCB_base + 0x000000002000f1a8 memp_memory_NETCONN_base + 0x000000002000f24c memp_memory_TCP_PCB_base + 0x000000002000f55c memp_memory_SYS_TIMEOUT_base + *fill* 0x000000002000f5af 0x1 + COMMON 0x000000002000f5b0 0x8 Middlewares/Third_Party/LwIP/src/core/netif.o + 0x000000002000f5b0 netif_list + 0x000000002000f5b4 netif_default + COMMON 0x000000002000f5b8 0x1 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x000000002000f5b8 pbuf_free_ooseq_pending + *fill* 0x000000002000f5b9 0x3 + COMMON 0x000000002000f5bc 0x18 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x000000002000f5bc tcp_active_pcbs_changed + 0x000000002000f5c0 tcp_active_pcbs + 0x000000002000f5c4 tcp_ticks + 0x000000002000f5c8 tcp_listen_pcbs + 0x000000002000f5cc tcp_bound_pcbs + 0x000000002000f5d0 tcp_tw_pcbs + COMMON 0x000000002000f5d4 0x4 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + 0x000000002000f5d4 tcp_input_pcb + COMMON 0x000000002000f5d8 0x4 Middlewares/Third_Party/LwIP/src/core/udp.o + 0x000000002000f5d8 udp_pcbs + COMMON 0x000000002000f5dc 0x28 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x000000002000f5dc dhcp_rx_options_given + 0x000000002000f5e4 dhcp_rx_options_val + COMMON 0x000000002000f604 0x8 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x000000002000f604 errno + 0x000000002000f608 lwip_sys_mutex + 0x000000002000f60c . = ALIGN (0x4) + 0x000000002000f60c _ebss = . + 0x000000002000f60c __bss_end__ = _ebss ._user_heap_stack - 0x000000002000f610 0x600 load address 0x000000000802181c + 0x000000002000f60c 0x604 load address 0x0000000008021018 0x000000002000f610 . = ALIGN (0x8) + *fill* 0x000000002000f60c 0x4 [!provide] PROVIDE (end = .) 0x000000002000f610 PROVIDE (_end = .) 0x000000002000f810 . = (. + _Min_Heap_Size) @@ -32703,140 +32678,130 @@ LOAD c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.exte .ARM.attributes 0x0000000000000f8c 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memcpy-stub.o) .ARM.attributes - 0x0000000000000fc0 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memmove.o) + 0x0000000000000fc0 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memset.o) .ARM.attributes - 0x0000000000000ff4 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memset.o) + 0x0000000000000ff4 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-printf.o) .ARM.attributes - 0x0000000000001028 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-printf.o) + 0x0000000000001028 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-rand.o) .ARM.attributes - 0x000000000000105c 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-rand.o) + 0x000000000000105c 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) .ARM.attributes - 0x0000000000001090 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sprintf.o) + 0x0000000000001090 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fwalk.o) .ARM.attributes - 0x00000000000010c4 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) + 0x00000000000010c4 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-malloc.o) .ARM.attributes - 0x00000000000010f8 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fwalk.o) + 0x00000000000010f8 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-freer.o) .ARM.attributes - 0x000000000000112c 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-malloc.o) + 0x000000000000112c 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-mallocr.o) .ARM.attributes - 0x0000000000001160 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-freer.o) + 0x0000000000001160 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) .ARM.attributes - 0x0000000000001194 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-mallocr.o) + 0x0000000000001194 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf_i.o) .ARM.attributes - 0x00000000000011c8 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-svfprintf.o) + 0x00000000000011c8 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sbrkr.o) .ARM.attributes - 0x00000000000011fc 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) + 0x00000000000011fc 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-stdio.o) .ARM.attributes - 0x0000000000001230 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf_i.o) + 0x0000000000001230 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-wbuf.o) .ARM.attributes - 0x0000000000001264 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sbrkr.o) + 0x0000000000001264 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-writer.o) .ARM.attributes - 0x0000000000001298 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-stdio.o) + 0x0000000000001298 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-wsetup.o) .ARM.attributes - 0x00000000000012cc 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-wbuf.o) + 0x00000000000012cc 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-closer.o) .ARM.attributes - 0x0000000000001300 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-writer.o) + 0x0000000000001300 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fflush.o) .ARM.attributes - 0x0000000000001334 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-wsetup.o) + 0x0000000000001334 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-lseekr.o) .ARM.attributes - 0x0000000000001368 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-closer.o) + 0x0000000000001368 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-makebuf.o) .ARM.attributes - 0x000000000000139c 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fflush.o) + 0x000000000000139c 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memchr.o) .ARM.attributes - 0x00000000000013d0 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-lseekr.o) + 0x00000000000013bc 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-mlock.o) .ARM.attributes - 0x0000000000001404 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-makebuf.o) + 0x00000000000013f0 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-readr.o) .ARM.attributes - 0x0000000000001438 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memchr.o) + 0x0000000000001424 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fstatr.o) .ARM.attributes - 0x0000000000001458 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-mlock.o) + 0x0000000000001458 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-isattyr.o) .ARM.attributes - 0x000000000000148c 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-reallocr.o) + 0x000000000000148c 0x22 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_aeabi_uldivmod.o) .ARM.attributes - 0x00000000000014c0 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-readr.o) + 0x00000000000014ae 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_udivmoddi4.o) .ARM.attributes - 0x00000000000014f4 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fstatr.o) + 0x00000000000014e2 0x22 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_dvmd_tls.o) .ARM.attributes - 0x0000000000001528 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-isattyr.o) - .ARM.attributes - 0x000000000000155c 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-msizer.o) - .ARM.attributes - 0x0000000000001590 0x22 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_aeabi_uldivmod.o) - .ARM.attributes - 0x00000000000015b2 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_udivmoddi4.o) - .ARM.attributes - 0x00000000000015e6 0x22 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_dvmd_tls.o) - .ARM.attributes - 0x0000000000001608 0x22 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtn.o + 0x0000000000001504 0x22 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtn.o OUTPUT(Space_Invaders.elf elf32-littlearm) -.debug_info 0x0000000000000000 0x508c2 +.debug_info 0x0000000000000000 0x50ade .debug_info 0x0000000000000000 0x3c1 Core/Src/freertos.o .debug_info 0x00000000000003c1 0x591 Core/Src/ft5336.o - .debug_info 0x0000000000000952 0x4736 Core/Src/main.o - .debug_info 0x0000000000005088 0x16ad Core/Src/stm32746g_discovery.o - .debug_info 0x0000000000006735 0x2264 Core/Src/stm32746g_discovery_lcd.o - .debug_info 0x0000000000008999 0xf1e Core/Src/stm32746g_discovery_sdram.o - .debug_info 0x00000000000098b7 0x9dd Core/Src/stm32746g_discovery_ts.o - .debug_info 0x000000000000a294 0x2287 Core/Src/stm32f7xx_hal_msp.o - .debug_info 0x000000000000c51b 0xbe7 Core/Src/stm32f7xx_hal_timebase_tim.o - .debug_info 0x000000000000d102 0x126b Core/Src/stm32f7xx_it.o - .debug_info 0x000000000000e36d 0xfa7 Core/Src/syscalls.o - .debug_info 0x000000000000f314 0xa85 Core/Src/sysmem.o - .debug_info 0x000000000000fd99 0x73d Core/Src/system_stm32f7xx.o - .debug_info 0x00000000000104d6 0x22 Core/Startup/startup_stm32f746nghx.o - .debug_info 0x00000000000104f8 0x9d3 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o - .debug_info 0x0000000000010ecb 0xc9d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o - .debug_info 0x0000000000011b68 0x104a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o - .debug_info 0x0000000000012bb2 0x5dc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o - .debug_info 0x000000000001318e 0x426 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o - .debug_info 0x00000000000135b4 0xa3a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o - .debug_info 0x0000000000013fee 0x7c0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o - .debug_info 0x00000000000147ae 0x968 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o - .debug_info 0x0000000000015116 0xee9 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o - .debug_info 0x0000000000015fff 0x149c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - .debug_info 0x000000000001749b 0x7dc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o - .debug_info 0x0000000000017c77 0x1fb9 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o - .debug_info 0x0000000000019c30 0x1104 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o - .debug_info 0x000000000001ad34 0x9b4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o - .debug_info 0x000000000001b6e8 0x96b Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o - .debug_info 0x000000000001c053 0x935 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o - .debug_info 0x000000000001c988 0x7ad Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o - .debug_info 0x000000000001d135 0x552 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o - .debug_info 0x000000000001d687 0xca1 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o - .debug_info 0x000000000001e328 0x166a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o - .debug_info 0x000000000001f992 0x25a2 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - .debug_info 0x0000000000021f34 0x121c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o - .debug_info 0x0000000000023150 0xccd Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o - .debug_info 0x0000000000023e1d 0x1bd0 LWIP/App/lwip.o - .debug_info 0x00000000000259ed 0x2673 LWIP/Target/ethernetif.o - .debug_info 0x0000000000028060 0x1eb8 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - .debug_info 0x0000000000029f18 0xacb Middlewares/Third_Party/FreeRTOS/Source/list.o - .debug_info 0x000000000002a9e3 0x21ea Middlewares/Third_Party/FreeRTOS/Source/queue.o - .debug_info 0x000000000002cbcd 0x2789 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - .debug_info 0x000000000002f356 0x4e4 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - .debug_info 0x000000000002f83a 0xbff Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o - .debug_info 0x0000000000030439 0x15ee Middlewares/Third_Party/LwIP/src/api/tcpip.o - .debug_info 0x0000000000031a27 0xc4e Middlewares/Third_Party/LwIP/src/core/def.o - .debug_info 0x0000000000032675 0x16cb Middlewares/Third_Party/LwIP/src/core/init.o - .debug_info 0x0000000000033d40 0xf01 Middlewares/Third_Party/LwIP/src/core/ip.o - .debug_info 0x0000000000034c41 0xff5 Middlewares/Third_Party/LwIP/src/core/mem.o - .debug_info 0x0000000000035c36 0x1c91 Middlewares/Third_Party/LwIP/src/core/memp.o - .debug_info 0x00000000000378c7 0x1db6 Middlewares/Third_Party/LwIP/src/core/netif.o - .debug_info 0x000000000003967d 0x2535 Middlewares/Third_Party/LwIP/src/core/pbuf.o - .debug_info 0x000000000003bbb2 0x2648 Middlewares/Third_Party/LwIP/src/core/tcp.o - .debug_info 0x000000000003e1fa 0x1c33 Middlewares/Third_Party/LwIP/src/core/tcp_in.o - .debug_info 0x000000000003fe2d 0x22ac Middlewares/Third_Party/LwIP/src/core/tcp_out.o - .debug_info 0x00000000000420d9 0x1a35 Middlewares/Third_Party/LwIP/src/core/timeouts.o - .debug_info 0x0000000000043b0e 0x16c6 Middlewares/Third_Party/LwIP/src/core/udp.o - .debug_info 0x00000000000451d4 0x220c Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - .debug_info 0x00000000000473e0 0x194f Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o - .debug_info 0x0000000000048d2f 0x11ad Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o - .debug_info 0x0000000000049edc 0x1a85 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o - .debug_info 0x000000000004b961 0x1074 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o - .debug_info 0x000000000004c9d5 0x16a4 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o - .debug_info 0x000000000004e079 0x1170 Middlewares/Third_Party/LwIP/src/netif/ethernet.o - .debug_info 0x000000000004f1e9 0x16d9 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + .debug_info 0x0000000000000952 0x4941 Core/Src/main.o + .debug_info 0x0000000000005293 0x16ad Core/Src/stm32746g_discovery.o + .debug_info 0x0000000000006940 0x2264 Core/Src/stm32746g_discovery_lcd.o + .debug_info 0x0000000000008ba4 0xf1e Core/Src/stm32746g_discovery_sdram.o + .debug_info 0x0000000000009ac2 0x9dd Core/Src/stm32746g_discovery_ts.o + .debug_info 0x000000000000a49f 0x2287 Core/Src/stm32f7xx_hal_msp.o + .debug_info 0x000000000000c726 0xbe7 Core/Src/stm32f7xx_hal_timebase_tim.o + .debug_info 0x000000000000d30d 0x127c Core/Src/stm32f7xx_it.o + .debug_info 0x000000000000e589 0xfa7 Core/Src/syscalls.o + .debug_info 0x000000000000f530 0xa85 Core/Src/sysmem.o + .debug_info 0x000000000000ffb5 0x73d Core/Src/system_stm32f7xx.o + .debug_info 0x00000000000106f2 0x22 Core/Startup/startup_stm32f746nghx.o + .debug_info 0x0000000000010714 0x9d3 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o + .debug_info 0x00000000000110e7 0xc9d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o + .debug_info 0x0000000000011d84 0x104a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + .debug_info 0x0000000000012dce 0x5dc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o + .debug_info 0x00000000000133aa 0x426 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o + .debug_info 0x00000000000137d0 0xa3a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o + .debug_info 0x000000000001420a 0x7c0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o + .debug_info 0x00000000000149ca 0x968 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o + .debug_info 0x0000000000015332 0xee9 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o + .debug_info 0x000000000001621b 0x149c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + .debug_info 0x00000000000176b7 0x7dc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o + .debug_info 0x0000000000017e93 0x1fb9 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + .debug_info 0x0000000000019e4c 0x1104 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + .debug_info 0x000000000001af50 0x9b4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o + .debug_info 0x000000000001b904 0x96b Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o + .debug_info 0x000000000001c26f 0x935 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o + .debug_info 0x000000000001cba4 0x7ad Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o + .debug_info 0x000000000001d351 0x552 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o + .debug_info 0x000000000001d8a3 0xca1 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o + .debug_info 0x000000000001e544 0x166a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o + .debug_info 0x000000000001fbae 0x25a2 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + .debug_info 0x0000000000022150 0x121c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o + .debug_info 0x000000000002336c 0xccd Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o + .debug_info 0x0000000000024039 0x1bd0 LWIP/App/lwip.o + .debug_info 0x0000000000025c09 0x2673 LWIP/Target/ethernetif.o + .debug_info 0x000000000002827c 0x1eb8 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + .debug_info 0x000000000002a134 0xacb Middlewares/Third_Party/FreeRTOS/Source/list.o + .debug_info 0x000000000002abff 0x21ea Middlewares/Third_Party/FreeRTOS/Source/queue.o + .debug_info 0x000000000002cde9 0x2789 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + .debug_info 0x000000000002f572 0x4e4 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + .debug_info 0x000000000002fa56 0xbff Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o + .debug_info 0x0000000000030655 0x15ee Middlewares/Third_Party/LwIP/src/api/tcpip.o + .debug_info 0x0000000000031c43 0xc4e Middlewares/Third_Party/LwIP/src/core/def.o + .debug_info 0x0000000000032891 0x16cb Middlewares/Third_Party/LwIP/src/core/init.o + .debug_info 0x0000000000033f5c 0xf01 Middlewares/Third_Party/LwIP/src/core/ip.o + .debug_info 0x0000000000034e5d 0xff5 Middlewares/Third_Party/LwIP/src/core/mem.o + .debug_info 0x0000000000035e52 0x1c91 Middlewares/Third_Party/LwIP/src/core/memp.o + .debug_info 0x0000000000037ae3 0x1db6 Middlewares/Third_Party/LwIP/src/core/netif.o + .debug_info 0x0000000000039899 0x2535 Middlewares/Third_Party/LwIP/src/core/pbuf.o + .debug_info 0x000000000003bdce 0x2648 Middlewares/Third_Party/LwIP/src/core/tcp.o + .debug_info 0x000000000003e416 0x1c33 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + .debug_info 0x0000000000040049 0x22ac Middlewares/Third_Party/LwIP/src/core/tcp_out.o + .debug_info 0x00000000000422f5 0x1a35 Middlewares/Third_Party/LwIP/src/core/timeouts.o + .debug_info 0x0000000000043d2a 0x16c6 Middlewares/Third_Party/LwIP/src/core/udp.o + .debug_info 0x00000000000453f0 0x220c Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + .debug_info 0x00000000000475fc 0x194f Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + .debug_info 0x0000000000048f4b 0x11ad Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o + .debug_info 0x000000000004a0f8 0x1a85 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o + .debug_info 0x000000000004bb7d 0x1074 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o + .debug_info 0x000000000004cbf1 0x16a4 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + .debug_info 0x000000000004e295 0x1170 Middlewares/Third_Party/LwIP/src/netif/ethernet.o + .debug_info 0x000000000004f405 0x16d9 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o .debug_abbrev 0x0000000000000000 0x96fb .debug_abbrev 0x0000000000000000 0x12a Core/Src/freertos.o @@ -32906,7 +32871,7 @@ OUTPUT(Space_Invaders.elf elf32-littlearm) .debug_abbrev 0x0000000000009130 0x25e Middlewares/Third_Party/LwIP/src/netif/ethernet.o .debug_abbrev 0x000000000000938e 0x36d Middlewares/Third_Party/LwIP/system/OS/sys_arch.o -.debug_aranges 0x0000000000000000 0x30e0 +.debug_aranges 0x0000000000000000 0x30e8 .debug_aranges 0x0000000000000000 0x38 Core/Src/freertos.o .debug_aranges @@ -32926,121 +32891,121 @@ OUTPUT(Space_Invaders.elf elf32-littlearm) .debug_aranges 0x0000000000000618 0x30 Core/Src/stm32f7xx_hal_timebase_tim.o .debug_aranges - 0x0000000000000648 0x60 Core/Src/stm32f7xx_it.o + 0x0000000000000648 0x68 Core/Src/stm32f7xx_it.o .debug_aranges - 0x00000000000006a8 0xa8 Core/Src/syscalls.o + 0x00000000000006b0 0xa8 Core/Src/syscalls.o .debug_aranges - 0x0000000000000750 0x20 Core/Src/sysmem.o + 0x0000000000000758 0x20 Core/Src/sysmem.o .debug_aranges - 0x0000000000000770 0x28 Core/Src/system_stm32f7xx.o + 0x0000000000000778 0x28 Core/Src/system_stm32f7xx.o .debug_aranges - 0x0000000000000798 0x28 Core/Startup/startup_stm32f746nghx.o + 0x00000000000007a0 0x28 Core/Startup/startup_stm32f746nghx.o .debug_aranges - 0x00000000000007c0 0x100 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o + 0x00000000000007c8 0x100 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o .debug_aranges - 0x00000000000008c0 0xe8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o + 0x00000000000008c8 0xe8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o .debug_aranges - 0x00000000000009a8 0x118 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + 0x00000000000009b0 0x118 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o .debug_aranges - 0x0000000000000ac0 0x60 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o + 0x0000000000000ac8 0x60 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o .debug_aranges - 0x0000000000000b20 0x30 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o + 0x0000000000000b28 0x30 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o .debug_aranges - 0x0000000000000b50 0xc0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o + 0x0000000000000b58 0xc0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o .debug_aranges - 0x0000000000000c10 0x70 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o + 0x0000000000000c18 0x70 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o .debug_aranges - 0x0000000000000c80 0x90 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o + 0x0000000000000c88 0x90 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o .debug_aranges - 0x0000000000000d10 0x108 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o + 0x0000000000000d18 0x108 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o .debug_aranges - 0x0000000000000e18 0x110 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + 0x0000000000000e20 0x110 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o .debug_aranges - 0x0000000000000f28 0x58 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o + 0x0000000000000f30 0x58 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o .debug_aranges - 0x0000000000000f80 0x288 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + 0x0000000000000f88 0x288 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o .debug_aranges - 0x0000000000001208 0x158 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + 0x0000000000001210 0x158 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o .debug_aranges - 0x0000000000001360 0xa0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o + 0x0000000000001368 0xa0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o .debug_aranges - 0x0000000000001400 0x80 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o + 0x0000000000001408 0x80 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o .debug_aranges - 0x0000000000001480 0x88 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o + 0x0000000000001488 0x88 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o .debug_aranges - 0x0000000000001508 0x50 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o + 0x0000000000001510 0x50 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o .debug_aranges - 0x0000000000001558 0x88 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o + 0x0000000000001560 0x88 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o .debug_aranges - 0x00000000000015e0 0xd0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o + 0x00000000000015e8 0xd0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o .debug_aranges - 0x00000000000016b0 0x1d8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o + 0x00000000000016b8 0x1d8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o .debug_aranges - 0x0000000000001888 0x3b8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + 0x0000000000001890 0x3b8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o .debug_aranges - 0x0000000000001c40 0x160 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o + 0x0000000000001c48 0x160 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o .debug_aranges - 0x0000000000001da0 0xc8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o + 0x0000000000001da8 0xc8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o .debug_aranges - 0x0000000000001e68 0x20 LWIP/App/lwip.o + 0x0000000000001e70 0x20 LWIP/App/lwip.o .debug_aranges - 0x0000000000001e88 0x80 LWIP/Target/ethernetif.o + 0x0000000000001e90 0x80 LWIP/Target/ethernetif.o .debug_aranges - 0x0000000000001f08 0x1d8 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + 0x0000000000001f10 0x1d8 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o .debug_aranges - 0x00000000000020e0 0x40 Middlewares/Third_Party/FreeRTOS/Source/list.o + 0x00000000000020e8 0x40 Middlewares/Third_Party/FreeRTOS/Source/list.o .debug_aranges - 0x0000000000002120 0x128 Middlewares/Third_Party/FreeRTOS/Source/queue.o + 0x0000000000002128 0x128 Middlewares/Third_Party/FreeRTOS/Source/queue.o .debug_aranges - 0x0000000000002248 0x1d0 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + 0x0000000000002250 0x1d0 Middlewares/Third_Party/FreeRTOS/Source/tasks.o .debug_aranges - 0x0000000000002418 0x80 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + 0x0000000000002420 0x80 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o .debug_aranges - 0x0000000000002498 0x50 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o + 0x00000000000024a0 0x50 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o .debug_aranges - 0x00000000000024e8 0xa0 Middlewares/Third_Party/LwIP/src/api/tcpip.o + 0x00000000000024f0 0xa0 Middlewares/Third_Party/LwIP/src/api/tcpip.o .debug_aranges - 0x0000000000002588 0x48 Middlewares/Third_Party/LwIP/src/core/def.o + 0x0000000000002590 0x48 Middlewares/Third_Party/LwIP/src/core/def.o .debug_aranges - 0x00000000000025d0 0x20 Middlewares/Third_Party/LwIP/src/core/init.o + 0x00000000000025d8 0x20 Middlewares/Third_Party/LwIP/src/core/init.o .debug_aranges - 0x00000000000025f0 0x18 Middlewares/Third_Party/LwIP/src/core/ip.o + 0x00000000000025f8 0x18 Middlewares/Third_Party/LwIP/src/core/ip.o .debug_aranges - 0x0000000000002608 0x60 Middlewares/Third_Party/LwIP/src/core/mem.o + 0x0000000000002610 0x60 Middlewares/Third_Party/LwIP/src/core/mem.o .debug_aranges - 0x0000000000002668 0x58 Middlewares/Third_Party/LwIP/src/core/memp.o + 0x0000000000002670 0x58 Middlewares/Third_Party/LwIP/src/core/memp.o .debug_aranges - 0x00000000000026c0 0xe0 Middlewares/Third_Party/LwIP/src/core/netif.o + 0x00000000000026c8 0xe0 Middlewares/Third_Party/LwIP/src/core/netif.o .debug_aranges - 0x00000000000027a0 0x140 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x00000000000027a8 0x140 Middlewares/Third_Party/LwIP/src/core/pbuf.o .debug_aranges - 0x00000000000028e0 0x1b8 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x00000000000028e8 0x1b8 Middlewares/Third_Party/LwIP/src/core/tcp.o .debug_aranges - 0x0000000000002a98 0x70 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + 0x0000000000002aa0 0x70 Middlewares/Third_Party/LwIP/src/core/tcp_in.o .debug_aranges - 0x0000000000002b08 0xd8 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x0000000000002b10 0xd8 Middlewares/Third_Party/LwIP/src/core/tcp_out.o .debug_aranges - 0x0000000000002be0 0x68 Middlewares/Third_Party/LwIP/src/core/timeouts.o + 0x0000000000002be8 0x68 Middlewares/Third_Party/LwIP/src/core/timeouts.o .debug_aranges - 0x0000000000002c48 0xa0 Middlewares/Third_Party/LwIP/src/core/udp.o + 0x0000000000002c50 0xa0 Middlewares/Third_Party/LwIP/src/core/udp.o .debug_aranges - 0x0000000000002ce8 0x140 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x0000000000002cf0 0x140 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o .debug_aranges - 0x0000000000002e28 0x88 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + 0x0000000000002e30 0x88 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o .debug_aranges - 0x0000000000002eb0 0x38 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o + 0x0000000000002eb8 0x38 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o .debug_aranges - 0x0000000000002ee8 0x48 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o + 0x0000000000002ef0 0x48 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o .debug_aranges - 0x0000000000002f30 0x48 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o + 0x0000000000002f38 0x48 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o .debug_aranges - 0x0000000000002f78 0x70 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + 0x0000000000002f80 0x70 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o .debug_aranges - 0x0000000000002fe8 0x28 Middlewares/Third_Party/LwIP/src/netif/ethernet.o + 0x0000000000002ff0 0x28 Middlewares/Third_Party/LwIP/src/netif/ethernet.o .debug_aranges - 0x0000000000003010 0xd0 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x0000000000003018 0xd0 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o -.debug_ranges 0x0000000000000000 0x2e28 +.debug_ranges 0x0000000000000000 0x2e30 .debug_ranges 0x0000000000000000 0x28 Core/Src/freertos.o .debug_ranges 0x0000000000000028 0x80 Core/Src/ft5336.o .debug_ranges 0x00000000000000a8 0xc8 Core/Src/main.o @@ -33050,64 +33015,64 @@ OUTPUT(Space_Invaders.elf elf32-littlearm) .debug_ranges 0x0000000000000498 0x48 Core/Src/stm32746g_discovery_ts.o .debug_ranges 0x00000000000004e0 0xb8 Core/Src/stm32f7xx_hal_msp.o .debug_ranges 0x0000000000000598 0x20 Core/Src/stm32f7xx_hal_timebase_tim.o - .debug_ranges 0x00000000000005b8 0x50 Core/Src/stm32f7xx_it.o - .debug_ranges 0x0000000000000608 0x98 Core/Src/syscalls.o - .debug_ranges 0x00000000000006a0 0x10 Core/Src/sysmem.o - .debug_ranges 0x00000000000006b0 0x18 Core/Src/system_stm32f7xx.o - .debug_ranges 0x00000000000006c8 0x20 Core/Startup/startup_stm32f746nghx.o - .debug_ranges 0x00000000000006e8 0xf0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o - .debug_ranges 0x00000000000007d8 0xd8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o - .debug_ranges 0x00000000000008b0 0x108 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o - .debug_ranges 0x00000000000009b8 0x50 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o - .debug_ranges 0x0000000000000a08 0x20 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o - .debug_ranges 0x0000000000000a28 0xb0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o - .debug_ranges 0x0000000000000ad8 0x60 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o - .debug_ranges 0x0000000000000b38 0x80 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o - .debug_ranges 0x0000000000000bb8 0xf8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o - .debug_ranges 0x0000000000000cb0 0x100 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - .debug_ranges 0x0000000000000db0 0x48 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o - .debug_ranges 0x0000000000000df8 0x278 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o - .debug_ranges 0x0000000000001070 0x148 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o - .debug_ranges 0x00000000000011b8 0x90 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o - .debug_ranges 0x0000000000001248 0x70 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o - .debug_ranges 0x00000000000012b8 0x78 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o - .debug_ranges 0x0000000000001330 0x40 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o - .debug_ranges 0x0000000000001370 0x78 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o - .debug_ranges 0x00000000000013e8 0xc0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o - .debug_ranges 0x00000000000014a8 0x1c8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o - .debug_ranges 0x0000000000001670 0x3a8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - .debug_ranges 0x0000000000001a18 0x150 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o - .debug_ranges 0x0000000000001b68 0xb8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o - .debug_ranges 0x0000000000001c20 0x10 LWIP/App/lwip.o - .debug_ranges 0x0000000000001c30 0x70 LWIP/Target/ethernetif.o - .debug_ranges 0x0000000000001ca0 0x1c8 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - .debug_ranges 0x0000000000001e68 0x30 Middlewares/Third_Party/FreeRTOS/Source/list.o - .debug_ranges 0x0000000000001e98 0x118 Middlewares/Third_Party/FreeRTOS/Source/queue.o - .debug_ranges 0x0000000000001fb0 0x1c0 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - .debug_ranges 0x0000000000002170 0x70 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - .debug_ranges 0x00000000000021e0 0x40 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o - .debug_ranges 0x0000000000002220 0x90 Middlewares/Third_Party/LwIP/src/api/tcpip.o - .debug_ranges 0x00000000000022b0 0x38 Middlewares/Third_Party/LwIP/src/core/def.o - .debug_ranges 0x00000000000022e8 0x10 Middlewares/Third_Party/LwIP/src/core/init.o - .debug_ranges 0x00000000000022f8 0x50 Middlewares/Third_Party/LwIP/src/core/mem.o - .debug_ranges 0x0000000000002348 0x48 Middlewares/Third_Party/LwIP/src/core/memp.o - .debug_ranges 0x0000000000002390 0xd0 Middlewares/Third_Party/LwIP/src/core/netif.o - .debug_ranges 0x0000000000002460 0x148 Middlewares/Third_Party/LwIP/src/core/pbuf.o - .debug_ranges 0x00000000000025a8 0x1a8 Middlewares/Third_Party/LwIP/src/core/tcp.o - .debug_ranges 0x0000000000002750 0x108 Middlewares/Third_Party/LwIP/src/core/tcp_in.o - .debug_ranges 0x0000000000002858 0x140 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - .debug_ranges 0x0000000000002998 0x70 Middlewares/Third_Party/LwIP/src/core/timeouts.o - .debug_ranges 0x0000000000002a08 0x90 Middlewares/Third_Party/LwIP/src/core/udp.o - .debug_ranges 0x0000000000002a98 0x130 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - .debug_ranges 0x0000000000002bc8 0x78 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o - .debug_ranges 0x0000000000002c40 0x40 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o - .debug_ranges 0x0000000000002c80 0x38 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o - .debug_ranges 0x0000000000002cb8 0x38 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o - .debug_ranges 0x0000000000002cf0 0x60 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o - .debug_ranges 0x0000000000002d50 0x18 Middlewares/Third_Party/LwIP/src/netif/ethernet.o - .debug_ranges 0x0000000000002d68 0xc0 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + .debug_ranges 0x00000000000005b8 0x58 Core/Src/stm32f7xx_it.o + .debug_ranges 0x0000000000000610 0x98 Core/Src/syscalls.o + .debug_ranges 0x00000000000006a8 0x10 Core/Src/sysmem.o + .debug_ranges 0x00000000000006b8 0x18 Core/Src/system_stm32f7xx.o + .debug_ranges 0x00000000000006d0 0x20 Core/Startup/startup_stm32f746nghx.o + .debug_ranges 0x00000000000006f0 0xf0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o + .debug_ranges 0x00000000000007e0 0xd8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o + .debug_ranges 0x00000000000008b8 0x108 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + .debug_ranges 0x00000000000009c0 0x50 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o + .debug_ranges 0x0000000000000a10 0x20 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o + .debug_ranges 0x0000000000000a30 0xb0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o + .debug_ranges 0x0000000000000ae0 0x60 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o + .debug_ranges 0x0000000000000b40 0x80 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o + .debug_ranges 0x0000000000000bc0 0xf8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o + .debug_ranges 0x0000000000000cb8 0x100 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + .debug_ranges 0x0000000000000db8 0x48 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o + .debug_ranges 0x0000000000000e00 0x278 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + .debug_ranges 0x0000000000001078 0x148 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + .debug_ranges 0x00000000000011c0 0x90 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o + .debug_ranges 0x0000000000001250 0x70 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o + .debug_ranges 0x00000000000012c0 0x78 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o + .debug_ranges 0x0000000000001338 0x40 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o + .debug_ranges 0x0000000000001378 0x78 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o + .debug_ranges 0x00000000000013f0 0xc0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o + .debug_ranges 0x00000000000014b0 0x1c8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o + .debug_ranges 0x0000000000001678 0x3a8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + .debug_ranges 0x0000000000001a20 0x150 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o + .debug_ranges 0x0000000000001b70 0xb8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o + .debug_ranges 0x0000000000001c28 0x10 LWIP/App/lwip.o + .debug_ranges 0x0000000000001c38 0x70 LWIP/Target/ethernetif.o + .debug_ranges 0x0000000000001ca8 0x1c8 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + .debug_ranges 0x0000000000001e70 0x30 Middlewares/Third_Party/FreeRTOS/Source/list.o + .debug_ranges 0x0000000000001ea0 0x118 Middlewares/Third_Party/FreeRTOS/Source/queue.o + .debug_ranges 0x0000000000001fb8 0x1c0 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + .debug_ranges 0x0000000000002178 0x70 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + .debug_ranges 0x00000000000021e8 0x40 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o + .debug_ranges 0x0000000000002228 0x90 Middlewares/Third_Party/LwIP/src/api/tcpip.o + .debug_ranges 0x00000000000022b8 0x38 Middlewares/Third_Party/LwIP/src/core/def.o + .debug_ranges 0x00000000000022f0 0x10 Middlewares/Third_Party/LwIP/src/core/init.o + .debug_ranges 0x0000000000002300 0x50 Middlewares/Third_Party/LwIP/src/core/mem.o + .debug_ranges 0x0000000000002350 0x48 Middlewares/Third_Party/LwIP/src/core/memp.o + .debug_ranges 0x0000000000002398 0xd0 Middlewares/Third_Party/LwIP/src/core/netif.o + .debug_ranges 0x0000000000002468 0x148 Middlewares/Third_Party/LwIP/src/core/pbuf.o + .debug_ranges 0x00000000000025b0 0x1a8 Middlewares/Third_Party/LwIP/src/core/tcp.o + .debug_ranges 0x0000000000002758 0x108 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + .debug_ranges 0x0000000000002860 0x140 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + .debug_ranges 0x00000000000029a0 0x70 Middlewares/Third_Party/LwIP/src/core/timeouts.o + .debug_ranges 0x0000000000002a10 0x90 Middlewares/Third_Party/LwIP/src/core/udp.o + .debug_ranges 0x0000000000002aa0 0x130 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + .debug_ranges 0x0000000000002bd0 0x78 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + .debug_ranges 0x0000000000002c48 0x40 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o + .debug_ranges 0x0000000000002c88 0x38 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o + .debug_ranges 0x0000000000002cc0 0x38 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o + .debug_ranges 0x0000000000002cf8 0x60 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + .debug_ranges 0x0000000000002d58 0x18 Middlewares/Third_Party/LwIP/src/netif/ethernet.o + .debug_ranges 0x0000000000002d70 0xc0 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o -.debug_macro 0x0000000000000000 0x3bc1d +.debug_macro 0x0000000000000000 0x3bc39 .debug_macro 0x0000000000000000 0x2f4 Core/Src/freertos.o .debug_macro 0x00000000000002f4 0xa5a Core/Src/freertos.o .debug_macro 0x0000000000000d4e 0x174 Core/Src/freertos.o @@ -33175,399 +33140,399 @@ OUTPUT(Space_Invaders.elf elf32-littlearm) .debug_macro 0x0000000000025342 0xa2f Core/Src/freertos.o .debug_macro 0x0000000000025d71 0x59 Core/Src/freertos.o .debug_macro 0x0000000000025dca 0x14e Core/Src/freertos.o - .debug_macro 0x0000000000025f18 0x3f9 Core/Src/freertos.o - .debug_macro 0x0000000000026311 0x7b Core/Src/ft5336.o - .debug_macro 0x000000000002638c 0x10 Core/Src/ft5336.o - .debug_macro 0x000000000002639c 0x39f Core/Src/ft5336.o - .debug_macro 0x000000000002673b 0x7d8 Core/Src/main.o - .debug_macro 0x0000000000026f13 0x109 Core/Src/main.o - .debug_macro 0x000000000002701c 0x91 Core/Src/main.o - .debug_macro 0x00000000000270ad 0x8d Core/Src/main.o - .debug_macro 0x000000000002713a 0x9a Core/Src/main.o - .debug_macro 0x00000000000271d4 0x19 Core/Src/main.o - .debug_macro 0x00000000000271ed 0xf2 Core/Src/main.o - .debug_macro 0x00000000000272df 0xd6 Core/Src/main.o - .debug_macro 0x00000000000273b5 0x16 Core/Src/main.o - .debug_macro 0x00000000000273cb 0x10 Core/Src/main.o - .debug_macro 0x00000000000273db 0x18 Core/Src/main.o - .debug_macro 0x00000000000273f3 0x46 Core/Src/main.o - .debug_macro 0x0000000000027439 0x3c Core/Src/main.o - .debug_macro 0x0000000000027475 0x34 Core/Src/main.o - .debug_macro 0x00000000000274a9 0x16 Core/Src/main.o - .debug_macro 0x00000000000274bf 0x35 Core/Src/main.o - .debug_macro 0x00000000000274f4 0x52 Core/Src/main.o - .debug_macro 0x0000000000027546 0x1f Core/Src/main.o - .debug_macro 0x0000000000027565 0x43 Core/Src/main.o - .debug_macro 0x00000000000275a8 0x20 Core/Src/main.o - .debug_macro 0x00000000000275c8 0x1a3 Core/Src/main.o - .debug_macro 0x000000000002776b 0x32a Core/Src/main.o - .debug_macro 0x0000000000027a95 0x16 Core/Src/main.o - .debug_macro 0x0000000000027aab 0x29 Core/Src/main.o - .debug_macro 0x0000000000027ad4 0x1c Core/Src/main.o - .debug_macro 0x0000000000027af0 0x10 Core/Src/main.o - .debug_macro 0x0000000000027b00 0x10 Core/Src/main.o - .debug_macro 0x0000000000027b10 0x1c Core/Src/main.o - .debug_macro 0x0000000000027b2c 0x52 Core/Src/main.o - .debug_macro 0x0000000000027b7e 0x40 Core/Src/main.o - .debug_macro 0x0000000000027bbe 0x10 Core/Src/main.o - .debug_macro 0x0000000000027bce 0x40 Core/Src/main.o - .debug_macro 0x0000000000027c0e 0xd7 Core/Src/main.o - .debug_macro 0x0000000000027ce5 0x1c Core/Src/main.o - .debug_macro 0x0000000000027d01 0x3d Core/Src/main.o - .debug_macro 0x0000000000027d3e 0x16 Core/Src/main.o - .debug_macro 0x0000000000027d54 0x145 Core/Src/main.o - .debug_macro 0x0000000000027e99 0x10 Core/Src/main.o - .debug_macro 0x0000000000027ea9 0x88 Core/Src/main.o - .debug_macro 0x0000000000027f31 0x16 Core/Src/main.o - .debug_macro 0x0000000000027f47 0x10 Core/Src/main.o - .debug_macro 0x0000000000027f57 0x10 Core/Src/main.o - .debug_macro 0x0000000000027f67 0x35 Core/Src/main.o - .debug_macro 0x0000000000027f9c 0x28 Core/Src/main.o - .debug_macro 0x0000000000027fc4 0x10 Core/Src/main.o - .debug_macro 0x0000000000027fd4 0x17 Core/Src/main.o - .debug_macro 0x0000000000027feb 0x10 Core/Src/main.o - .debug_macro 0x0000000000027ffb 0x460 Core/Src/main.o - .debug_macro 0x000000000002845b 0x43 Core/Src/main.o - .debug_macro 0x000000000002849e 0x2b Core/Src/main.o - .debug_macro 0x00000000000284c9 0x118 Core/Src/main.o - .debug_macro 0x00000000000285e1 0x19 Core/Src/main.o - .debug_macro 0x00000000000285fa 0x111 Core/Src/main.o - .debug_macro 0x000000000002870b 0x82 Core/Src/main.o - .debug_macro 0x000000000002878d 0x66 Core/Src/main.o - .debug_macro 0x00000000000287f3 0x739 Core/Src/main.o - .debug_macro 0x0000000000028f2c 0x10 Core/Src/main.o - .debug_macro 0x0000000000028f3c 0x10 Core/Src/main.o - .debug_macro 0x0000000000028f4c 0x3f Core/Src/main.o - .debug_macro 0x0000000000028f8b 0x25 Core/Src/main.o - .debug_macro 0x0000000000028fb0 0x15b Core/Src/main.o - .debug_macro 0x000000000002910b 0x22 Core/Src/main.o - .debug_macro 0x000000000002912d 0x10 Core/Src/main.o - .debug_macro 0x000000000002913d 0xb3 Core/Src/main.o - .debug_macro 0x00000000000291f0 0x6a Core/Src/main.o - .debug_macro 0x000000000002925a 0x1bd Core/Src/main.o - .debug_macro 0x0000000000029417 0x10 Core/Src/main.o - .debug_macro 0x0000000000029427 0x169 Core/Src/main.o - .debug_macro 0x0000000000029590 0x13d Core/Src/main.o - .debug_macro 0x00000000000296cd 0xa0 Core/Src/main.o - .debug_macro 0x000000000002976d 0x28 Core/Src/main.o - .debug_macro 0x0000000000029795 0x46 Core/Src/main.o - .debug_macro 0x00000000000297db 0x22 Core/Src/main.o - .debug_macro 0x00000000000297fd 0x16 Core/Src/main.o - .debug_macro 0x0000000000029813 0x10 Core/Src/main.o - .debug_macro 0x0000000000029823 0x2e Core/Src/main.o - .debug_macro 0x0000000000029851 0xea Core/Src/main.o - .debug_macro 0x000000000002993b 0x10 Core/Src/main.o - .debug_macro 0x000000000002994b 0x4d Core/Src/main.o - .debug_macro 0x0000000000029998 0x29 Core/Src/main.o - .debug_macro 0x00000000000299c1 0x16 Core/Src/main.o - .debug_macro 0x00000000000299d7 0x10 Core/Src/main.o - .debug_macro 0x00000000000299e7 0x73 Core/Src/main.o - .debug_macro 0x0000000000029a5a 0x10 Core/Src/main.o - .debug_macro 0x0000000000029a6a 0x1c Core/Src/main.o - .debug_macro 0x0000000000029a86 0x40 Core/Src/main.o - .debug_macro 0x0000000000029ac6 0xa0 Core/Src/main.o - .debug_macro 0x0000000000029b66 0x268 Core/Src/main.o - .debug_macro 0x0000000000029dce 0x10 Core/Src/main.o - .debug_macro 0x0000000000029dde 0x12a Core/Src/main.o - .debug_macro 0x0000000000029f08 0x2e Core/Src/main.o - .debug_macro 0x0000000000029f36 0x2aa Core/Src/stm32746g_discovery.o - .debug_macro 0x000000000002a1e0 0x262 Core/Src/stm32746g_discovery.o - .debug_macro 0x000000000002a442 0x2e4 Core/Src/stm32746g_discovery_lcd.o - .debug_macro 0x000000000002a726 0x9a Core/Src/stm32746g_discovery_lcd.o - .debug_macro 0x000000000002a7c0 0x28c Core/Src/stm32746g_discovery_sdram.o - .debug_macro 0x000000000002aa4c 0x2b3 Core/Src/stm32746g_discovery_ts.o - .debug_macro 0x000000000002acff 0x28c Core/Src/stm32f7xx_hal_msp.o - .debug_macro 0x000000000002af8b 0x27d Core/Src/stm32f7xx_hal_timebase_tim.o - .debug_macro 0x000000000002b208 0x296 Core/Src/stm32f7xx_it.o - .debug_macro 0x000000000002b49e 0x54c Core/Src/syscalls.o - .debug_macro 0x000000000002b9ea 0x40 Core/Src/syscalls.o - .debug_macro 0x000000000002ba2a 0x94 Core/Src/syscalls.o - .debug_macro 0x000000000002babe 0x57 Core/Src/syscalls.o - .debug_macro 0x000000000002bb15 0x330 Core/Src/syscalls.o - .debug_macro 0x000000000002be45 0x10 Core/Src/syscalls.o - .debug_macro 0x000000000002be55 0x122 Core/Src/syscalls.o - .debug_macro 0x000000000002bf77 0xd9 Core/Src/syscalls.o - .debug_macro 0x000000000002c050 0x5b Core/Src/syscalls.o - .debug_macro 0x000000000002c0ab 0xd0 Core/Src/syscalls.o - .debug_macro 0x000000000002c17b 0x10 Core/Src/syscalls.o - .debug_macro 0x000000000002c18b 0x31a Core/Src/syscalls.o - .debug_macro 0x000000000002c4a5 0x189 Core/Src/syscalls.o - .debug_macro 0x000000000002c62e 0x16 Core/Src/syscalls.o - .debug_macro 0x000000000002c644 0x521 Core/Src/sysmem.o - .debug_macro 0x000000000002cb65 0x283 Core/Src/system_stm32f7xx.o - .debug_macro 0x000000000002cde8 0x2a1 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o - .debug_macro 0x000000000002d089 0x27e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o - .debug_macro 0x000000000002d307 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o - .debug_macro 0x000000000002d584 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o - .debug_macro 0x000000000002d801 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o - .debug_macro 0x000000000002da7e 0x27e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o - .debug_macro 0x000000000002dcfc 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o - .debug_macro 0x000000000002df79 0x283 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o - .debug_macro 0x000000000002e1fc 0x28c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o - .debug_macro 0x000000000002e488 0x293 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - .debug_macro 0x000000000002e71b 0x2b3 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o - .debug_macro 0x000000000002e9ce 0x342 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o - .debug_macro 0x000000000002ed10 0x27e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o - .debug_macro 0x000000000002ef8e 0x29b Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o - .debug_macro 0x000000000002f229 0x295 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o - .debug_macro 0x000000000002f4be 0x2a1 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o - .debug_macro 0x000000000002f75f 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o - .debug_macro 0x000000000002f9dc 0x283 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o - .debug_macro 0x000000000002fc5f 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o - .debug_macro 0x000000000002fedc 0x285 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o - .debug_macro 0x0000000000030161 0x27e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - .debug_macro 0x00000000000303df 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o - .debug_macro 0x000000000003065c 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o - .debug_macro 0x00000000000308d9 0x782 LWIP/App/lwip.o - .debug_macro 0x000000000003105b 0x5e LWIP/App/lwip.o - .debug_macro 0x00000000000310b9 0x762 LWIP/Target/ethernetif.o - .debug_macro 0x000000000003181b 0xb9 LWIP/Target/ethernetif.o - .debug_macro 0x00000000000318d4 0x1c3 LWIP/Target/ethernetif.o - .debug_macro 0x0000000000031a97 0x16 LWIP/Target/ethernetif.o - .debug_macro 0x0000000000031aad 0x20 LWIP/Target/ethernetif.o - .debug_macro 0x0000000000031acd 0x1f1 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - .debug_macro 0x0000000000031cbe 0x10 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - .debug_macro 0x0000000000031cce 0xc7 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - .debug_macro 0x0000000000031d95 0x17a Middlewares/Third_Party/FreeRTOS/Source/list.o - .debug_macro 0x0000000000031f0f 0x209 Middlewares/Third_Party/FreeRTOS/Source/queue.o - .debug_macro 0x0000000000032118 0x87 Middlewares/Third_Party/FreeRTOS/Source/queue.o - .debug_macro 0x000000000003219f 0x26c Middlewares/Third_Party/FreeRTOS/Source/tasks.o - .debug_macro 0x000000000003240b 0x10 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - .debug_macro 0x000000000003241b 0x184 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - .debug_macro 0x000000000003259f 0x1a1 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o - .debug_macro 0x0000000000032740 0x761 Middlewares/Third_Party/LwIP/src/api/tcpip.o - .debug_macro 0x0000000000032ea1 0x541 Middlewares/Third_Party/LwIP/src/core/def.o - .debug_macro 0x00000000000333e2 0x845 Middlewares/Third_Party/LwIP/src/core/init.o - .debug_macro 0x0000000000033c27 0x35 Middlewares/Third_Party/LwIP/src/core/init.o - .debug_macro 0x0000000000033c5c 0x5fc Middlewares/Third_Party/LwIP/src/core/ip.o - .debug_macro 0x0000000000034258 0x702 Middlewares/Third_Party/LwIP/src/core/mem.o - .debug_macro 0x000000000003495a 0x89d Middlewares/Third_Party/LwIP/src/core/memp.o - .debug_macro 0x00000000000351f7 0x11b Middlewares/Third_Party/LwIP/src/core/memp.o - .debug_macro 0x0000000000035312 0x16 Middlewares/Third_Party/LwIP/src/core/memp.o - .debug_macro 0x0000000000035328 0xe0 Middlewares/Third_Party/LwIP/src/core/memp.o - .debug_macro 0x0000000000035408 0x7e4 Middlewares/Third_Party/LwIP/src/core/netif.o - .debug_macro 0x0000000000035bec 0xc0 Middlewares/Third_Party/LwIP/src/core/netif.o - .debug_macro 0x0000000000035cac 0x2f Middlewares/Third_Party/LwIP/src/core/netif.o - .debug_macro 0x0000000000035cdb 0x77a Middlewares/Third_Party/LwIP/src/core/pbuf.o - .debug_macro 0x0000000000036455 0x697 Middlewares/Third_Party/LwIP/src/core/tcp.o - .debug_macro 0x0000000000036aec 0x684 Middlewares/Third_Party/LwIP/src/core/tcp_in.o - .debug_macro 0x0000000000037170 0x1c Middlewares/Third_Party/LwIP/src/core/tcp_in.o - .debug_macro 0x000000000003718c 0x692 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - .debug_macro 0x000000000003781e 0x80c Middlewares/Third_Party/LwIP/src/core/timeouts.o - .debug_macro 0x000000000003802a 0x694 Middlewares/Third_Party/LwIP/src/core/udp.o - .debug_macro 0x00000000000386be 0x6f5 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - .debug_macro 0x0000000000038db3 0x155 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - .debug_macro 0x0000000000038f08 0x6d1 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o - .debug_macro 0x00000000000395d9 0x650 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o - .debug_macro 0x0000000000039c29 0x6d8 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o - .debug_macro 0x000000000003a301 0x5bc Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o - .debug_macro 0x000000000003a8bd 0x677 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o - .debug_macro 0x000000000003af34 0x10 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o - .debug_macro 0x000000000003af44 0x675 Middlewares/Third_Party/LwIP/src/netif/ethernet.o - .debug_macro 0x000000000003b5b9 0x653 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - .debug_macro 0x000000000003bc0c 0x11 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + .debug_macro 0x0000000000025f18 0x415 Core/Src/freertos.o + .debug_macro 0x000000000002632d 0x7b Core/Src/ft5336.o + .debug_macro 0x00000000000263a8 0x10 Core/Src/ft5336.o + .debug_macro 0x00000000000263b8 0x39f Core/Src/ft5336.o + .debug_macro 0x0000000000026757 0x7d8 Core/Src/main.o + .debug_macro 0x0000000000026f2f 0x109 Core/Src/main.o + .debug_macro 0x0000000000027038 0x91 Core/Src/main.o + .debug_macro 0x00000000000270c9 0x8d Core/Src/main.o + .debug_macro 0x0000000000027156 0x9a Core/Src/main.o + .debug_macro 0x00000000000271f0 0x19 Core/Src/main.o + .debug_macro 0x0000000000027209 0xf2 Core/Src/main.o + .debug_macro 0x00000000000272fb 0xd6 Core/Src/main.o + .debug_macro 0x00000000000273d1 0x16 Core/Src/main.o + .debug_macro 0x00000000000273e7 0x10 Core/Src/main.o + .debug_macro 0x00000000000273f7 0x18 Core/Src/main.o + .debug_macro 0x000000000002740f 0x46 Core/Src/main.o + .debug_macro 0x0000000000027455 0x3c Core/Src/main.o + .debug_macro 0x0000000000027491 0x34 Core/Src/main.o + .debug_macro 0x00000000000274c5 0x16 Core/Src/main.o + .debug_macro 0x00000000000274db 0x35 Core/Src/main.o + .debug_macro 0x0000000000027510 0x52 Core/Src/main.o + .debug_macro 0x0000000000027562 0x1f Core/Src/main.o + .debug_macro 0x0000000000027581 0x43 Core/Src/main.o + .debug_macro 0x00000000000275c4 0x20 Core/Src/main.o + .debug_macro 0x00000000000275e4 0x1a3 Core/Src/main.o + .debug_macro 0x0000000000027787 0x32a Core/Src/main.o + .debug_macro 0x0000000000027ab1 0x16 Core/Src/main.o + .debug_macro 0x0000000000027ac7 0x29 Core/Src/main.o + .debug_macro 0x0000000000027af0 0x1c Core/Src/main.o + .debug_macro 0x0000000000027b0c 0x10 Core/Src/main.o + .debug_macro 0x0000000000027b1c 0x10 Core/Src/main.o + .debug_macro 0x0000000000027b2c 0x1c Core/Src/main.o + .debug_macro 0x0000000000027b48 0x52 Core/Src/main.o + .debug_macro 0x0000000000027b9a 0x40 Core/Src/main.o + .debug_macro 0x0000000000027bda 0x10 Core/Src/main.o + .debug_macro 0x0000000000027bea 0x40 Core/Src/main.o + .debug_macro 0x0000000000027c2a 0xd7 Core/Src/main.o + .debug_macro 0x0000000000027d01 0x1c Core/Src/main.o + .debug_macro 0x0000000000027d1d 0x3d Core/Src/main.o + .debug_macro 0x0000000000027d5a 0x16 Core/Src/main.o + .debug_macro 0x0000000000027d70 0x145 Core/Src/main.o + .debug_macro 0x0000000000027eb5 0x10 Core/Src/main.o + .debug_macro 0x0000000000027ec5 0x88 Core/Src/main.o + .debug_macro 0x0000000000027f4d 0x16 Core/Src/main.o + .debug_macro 0x0000000000027f63 0x10 Core/Src/main.o + .debug_macro 0x0000000000027f73 0x10 Core/Src/main.o + .debug_macro 0x0000000000027f83 0x35 Core/Src/main.o + .debug_macro 0x0000000000027fb8 0x28 Core/Src/main.o + .debug_macro 0x0000000000027fe0 0x10 Core/Src/main.o + .debug_macro 0x0000000000027ff0 0x17 Core/Src/main.o + .debug_macro 0x0000000000028007 0x10 Core/Src/main.o + .debug_macro 0x0000000000028017 0x460 Core/Src/main.o + .debug_macro 0x0000000000028477 0x43 Core/Src/main.o + .debug_macro 0x00000000000284ba 0x2b Core/Src/main.o + .debug_macro 0x00000000000284e5 0x118 Core/Src/main.o + .debug_macro 0x00000000000285fd 0x19 Core/Src/main.o + .debug_macro 0x0000000000028616 0x111 Core/Src/main.o + .debug_macro 0x0000000000028727 0x82 Core/Src/main.o + .debug_macro 0x00000000000287a9 0x66 Core/Src/main.o + .debug_macro 0x000000000002880f 0x739 Core/Src/main.o + .debug_macro 0x0000000000028f48 0x10 Core/Src/main.o + .debug_macro 0x0000000000028f58 0x10 Core/Src/main.o + .debug_macro 0x0000000000028f68 0x3f Core/Src/main.o + .debug_macro 0x0000000000028fa7 0x25 Core/Src/main.o + .debug_macro 0x0000000000028fcc 0x15b Core/Src/main.o + .debug_macro 0x0000000000029127 0x22 Core/Src/main.o + .debug_macro 0x0000000000029149 0x10 Core/Src/main.o + .debug_macro 0x0000000000029159 0xb3 Core/Src/main.o + .debug_macro 0x000000000002920c 0x6a Core/Src/main.o + .debug_macro 0x0000000000029276 0x1bd Core/Src/main.o + .debug_macro 0x0000000000029433 0x10 Core/Src/main.o + .debug_macro 0x0000000000029443 0x169 Core/Src/main.o + .debug_macro 0x00000000000295ac 0x13d Core/Src/main.o + .debug_macro 0x00000000000296e9 0xa0 Core/Src/main.o + .debug_macro 0x0000000000029789 0x28 Core/Src/main.o + .debug_macro 0x00000000000297b1 0x46 Core/Src/main.o + .debug_macro 0x00000000000297f7 0x22 Core/Src/main.o + .debug_macro 0x0000000000029819 0x16 Core/Src/main.o + .debug_macro 0x000000000002982f 0x10 Core/Src/main.o + .debug_macro 0x000000000002983f 0x2e Core/Src/main.o + .debug_macro 0x000000000002986d 0xea Core/Src/main.o + .debug_macro 0x0000000000029957 0x10 Core/Src/main.o + .debug_macro 0x0000000000029967 0x4d Core/Src/main.o + .debug_macro 0x00000000000299b4 0x29 Core/Src/main.o + .debug_macro 0x00000000000299dd 0x16 Core/Src/main.o + .debug_macro 0x00000000000299f3 0x10 Core/Src/main.o + .debug_macro 0x0000000000029a03 0x73 Core/Src/main.o + .debug_macro 0x0000000000029a76 0x10 Core/Src/main.o + .debug_macro 0x0000000000029a86 0x1c Core/Src/main.o + .debug_macro 0x0000000000029aa2 0x40 Core/Src/main.o + .debug_macro 0x0000000000029ae2 0xa0 Core/Src/main.o + .debug_macro 0x0000000000029b82 0x268 Core/Src/main.o + .debug_macro 0x0000000000029dea 0x10 Core/Src/main.o + .debug_macro 0x0000000000029dfa 0x12a Core/Src/main.o + .debug_macro 0x0000000000029f24 0x2e Core/Src/main.o + .debug_macro 0x0000000000029f52 0x2aa Core/Src/stm32746g_discovery.o + .debug_macro 0x000000000002a1fc 0x262 Core/Src/stm32746g_discovery.o + .debug_macro 0x000000000002a45e 0x2e4 Core/Src/stm32746g_discovery_lcd.o + .debug_macro 0x000000000002a742 0x9a Core/Src/stm32746g_discovery_lcd.o + .debug_macro 0x000000000002a7dc 0x28c Core/Src/stm32746g_discovery_sdram.o + .debug_macro 0x000000000002aa68 0x2b3 Core/Src/stm32746g_discovery_ts.o + .debug_macro 0x000000000002ad1b 0x28c Core/Src/stm32f7xx_hal_msp.o + .debug_macro 0x000000000002afa7 0x27d Core/Src/stm32f7xx_hal_timebase_tim.o + .debug_macro 0x000000000002b224 0x296 Core/Src/stm32f7xx_it.o + .debug_macro 0x000000000002b4ba 0x54c Core/Src/syscalls.o + .debug_macro 0x000000000002ba06 0x40 Core/Src/syscalls.o + .debug_macro 0x000000000002ba46 0x94 Core/Src/syscalls.o + .debug_macro 0x000000000002bada 0x57 Core/Src/syscalls.o + .debug_macro 0x000000000002bb31 0x330 Core/Src/syscalls.o + .debug_macro 0x000000000002be61 0x10 Core/Src/syscalls.o + .debug_macro 0x000000000002be71 0x122 Core/Src/syscalls.o + .debug_macro 0x000000000002bf93 0xd9 Core/Src/syscalls.o + .debug_macro 0x000000000002c06c 0x5b Core/Src/syscalls.o + .debug_macro 0x000000000002c0c7 0xd0 Core/Src/syscalls.o + .debug_macro 0x000000000002c197 0x10 Core/Src/syscalls.o + .debug_macro 0x000000000002c1a7 0x31a Core/Src/syscalls.o + .debug_macro 0x000000000002c4c1 0x189 Core/Src/syscalls.o + .debug_macro 0x000000000002c64a 0x16 Core/Src/syscalls.o + .debug_macro 0x000000000002c660 0x521 Core/Src/sysmem.o + .debug_macro 0x000000000002cb81 0x283 Core/Src/system_stm32f7xx.o + .debug_macro 0x000000000002ce04 0x2a1 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o + .debug_macro 0x000000000002d0a5 0x27e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o + .debug_macro 0x000000000002d323 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + .debug_macro 0x000000000002d5a0 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o + .debug_macro 0x000000000002d81d 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o + .debug_macro 0x000000000002da9a 0x27e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o + .debug_macro 0x000000000002dd18 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o + .debug_macro 0x000000000002df95 0x283 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o + .debug_macro 0x000000000002e218 0x28c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o + .debug_macro 0x000000000002e4a4 0x293 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + .debug_macro 0x000000000002e737 0x2b3 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o + .debug_macro 0x000000000002e9ea 0x342 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + .debug_macro 0x000000000002ed2c 0x27e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + .debug_macro 0x000000000002efaa 0x29b Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o + .debug_macro 0x000000000002f245 0x295 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o + .debug_macro 0x000000000002f4da 0x2a1 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o + .debug_macro 0x000000000002f77b 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o + .debug_macro 0x000000000002f9f8 0x283 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o + .debug_macro 0x000000000002fc7b 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o + .debug_macro 0x000000000002fef8 0x285 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o + .debug_macro 0x000000000003017d 0x27e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + .debug_macro 0x00000000000303fb 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o + .debug_macro 0x0000000000030678 0x27d Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o + .debug_macro 0x00000000000308f5 0x782 LWIP/App/lwip.o + .debug_macro 0x0000000000031077 0x5e LWIP/App/lwip.o + .debug_macro 0x00000000000310d5 0x762 LWIP/Target/ethernetif.o + .debug_macro 0x0000000000031837 0xb9 LWIP/Target/ethernetif.o + .debug_macro 0x00000000000318f0 0x1c3 LWIP/Target/ethernetif.o + .debug_macro 0x0000000000031ab3 0x16 LWIP/Target/ethernetif.o + .debug_macro 0x0000000000031ac9 0x20 LWIP/Target/ethernetif.o + .debug_macro 0x0000000000031ae9 0x1f1 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + .debug_macro 0x0000000000031cda 0x10 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + .debug_macro 0x0000000000031cea 0xc7 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + .debug_macro 0x0000000000031db1 0x17a Middlewares/Third_Party/FreeRTOS/Source/list.o + .debug_macro 0x0000000000031f2b 0x209 Middlewares/Third_Party/FreeRTOS/Source/queue.o + .debug_macro 0x0000000000032134 0x87 Middlewares/Third_Party/FreeRTOS/Source/queue.o + .debug_macro 0x00000000000321bb 0x26c Middlewares/Third_Party/FreeRTOS/Source/tasks.o + .debug_macro 0x0000000000032427 0x10 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + .debug_macro 0x0000000000032437 0x184 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + .debug_macro 0x00000000000325bb 0x1a1 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o + .debug_macro 0x000000000003275c 0x761 Middlewares/Third_Party/LwIP/src/api/tcpip.o + .debug_macro 0x0000000000032ebd 0x541 Middlewares/Third_Party/LwIP/src/core/def.o + .debug_macro 0x00000000000333fe 0x845 Middlewares/Third_Party/LwIP/src/core/init.o + .debug_macro 0x0000000000033c43 0x35 Middlewares/Third_Party/LwIP/src/core/init.o + .debug_macro 0x0000000000033c78 0x5fc Middlewares/Third_Party/LwIP/src/core/ip.o + .debug_macro 0x0000000000034274 0x702 Middlewares/Third_Party/LwIP/src/core/mem.o + .debug_macro 0x0000000000034976 0x89d Middlewares/Third_Party/LwIP/src/core/memp.o + .debug_macro 0x0000000000035213 0x11b Middlewares/Third_Party/LwIP/src/core/memp.o + .debug_macro 0x000000000003532e 0x16 Middlewares/Third_Party/LwIP/src/core/memp.o + .debug_macro 0x0000000000035344 0xe0 Middlewares/Third_Party/LwIP/src/core/memp.o + .debug_macro 0x0000000000035424 0x7e4 Middlewares/Third_Party/LwIP/src/core/netif.o + .debug_macro 0x0000000000035c08 0xc0 Middlewares/Third_Party/LwIP/src/core/netif.o + .debug_macro 0x0000000000035cc8 0x2f Middlewares/Third_Party/LwIP/src/core/netif.o + .debug_macro 0x0000000000035cf7 0x77a Middlewares/Third_Party/LwIP/src/core/pbuf.o + .debug_macro 0x0000000000036471 0x697 Middlewares/Third_Party/LwIP/src/core/tcp.o + .debug_macro 0x0000000000036b08 0x684 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + .debug_macro 0x000000000003718c 0x1c Middlewares/Third_Party/LwIP/src/core/tcp_in.o + .debug_macro 0x00000000000371a8 0x692 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + .debug_macro 0x000000000003783a 0x80c Middlewares/Third_Party/LwIP/src/core/timeouts.o + .debug_macro 0x0000000000038046 0x694 Middlewares/Third_Party/LwIP/src/core/udp.o + .debug_macro 0x00000000000386da 0x6f5 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + .debug_macro 0x0000000000038dcf 0x155 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + .debug_macro 0x0000000000038f24 0x6d1 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + .debug_macro 0x00000000000395f5 0x650 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o + .debug_macro 0x0000000000039c45 0x6d8 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o + .debug_macro 0x000000000003a31d 0x5bc Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o + .debug_macro 0x000000000003a8d9 0x677 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + .debug_macro 0x000000000003af50 0x10 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + .debug_macro 0x000000000003af60 0x675 Middlewares/Third_Party/LwIP/src/netif/ethernet.o + .debug_macro 0x000000000003b5d5 0x653 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + .debug_macro 0x000000000003bc28 0x11 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o -.debug_line 0x0000000000000000 0x390ff +.debug_line 0x0000000000000000 0x3910d .debug_line 0x0000000000000000 0x95c Core/Src/freertos.o .debug_line 0x000000000000095c 0x549 Core/Src/ft5336.o - .debug_line 0x0000000000000ea5 0x151a Core/Src/main.o - .debug_line 0x00000000000023bf 0xae5 Core/Src/stm32746g_discovery.o - .debug_line 0x0000000000002ea4 0xf9d Core/Src/stm32746g_discovery_lcd.o - .debug_line 0x0000000000003e41 0x94c Core/Src/stm32746g_discovery_sdram.o - .debug_line 0x000000000000478d 0x9ac Core/Src/stm32746g_discovery_ts.o - .debug_line 0x0000000000005139 0xaa7 Core/Src/stm32f7xx_hal_msp.o - .debug_line 0x0000000000005be0 0x85a Core/Src/stm32f7xx_hal_timebase_tim.o - .debug_line 0x000000000000643a 0x8d1 Core/Src/stm32f7xx_it.o - .debug_line 0x0000000000006d0b 0xd8c Core/Src/syscalls.o - .debug_line 0x0000000000007a97 0xc08 Core/Src/sysmem.o - .debug_line 0x000000000000869f 0x83f Core/Src/system_stm32f7xx.o - .debug_line 0x0000000000008ede 0x85 Core/Startup/startup_stm32f746nghx.o - .debug_line 0x0000000000008f63 0xa4e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o - .debug_line 0x00000000000099b1 0xc77 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o - .debug_line 0x000000000000a628 0xb4f Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o - .debug_line 0x000000000000b177 0x97c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o - .debug_line 0x000000000000baf3 0x88a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o - .debug_line 0x000000000000c37d 0xa7f Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o - .debug_line 0x000000000000cdfc 0x942 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o - .debug_line 0x000000000000d73e 0xafa Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o - .debug_line 0x000000000000e238 0xd87 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o - .debug_line 0x000000000000efbf 0xefc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - .debug_line 0x000000000000febb 0xa33 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o - .debug_line 0x00000000000108ee 0x1baa Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o - .debug_line 0x0000000000012498 0x10fd Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o - .debug_line 0x0000000000013595 0x993 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o - .debug_line 0x0000000000013f28 0x96f Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o - .debug_line 0x0000000000014897 0xac4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o - .debug_line 0x000000000001535b 0xa36 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o - .debug_line 0x0000000000015d91 0x9a0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o - .debug_line 0x0000000000016731 0xb82 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o - .debug_line 0x00000000000172b3 0x12a1 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o - .debug_line 0x0000000000018554 0x1b6b Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - .debug_line 0x000000000001a0bf 0xed6 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o - .debug_line 0x000000000001af95 0xad6 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o - .debug_line 0x000000000001ba6b 0xf9e LWIP/App/lwip.o - .debug_line 0x000000000001ca09 0x117a LWIP/Target/ethernetif.o - .debug_line 0x000000000001db83 0xce9 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - .debug_line 0x000000000001e86c 0x670 Middlewares/Third_Party/FreeRTOS/Source/list.o - .debug_line 0x000000000001eedc 0x105a Middlewares/Third_Party/FreeRTOS/Source/queue.o - .debug_line 0x000000000001ff36 0x128f Middlewares/Third_Party/FreeRTOS/Source/tasks.o - .debug_line 0x00000000000211c5 0x67d Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - .debug_line 0x0000000000021842 0x758 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o - .debug_line 0x0000000000021f9a 0x1136 Middlewares/Third_Party/LwIP/src/api/tcpip.o - .debug_line 0x00000000000230d0 0xd0c Middlewares/Third_Party/LwIP/src/core/def.o - .debug_line 0x0000000000023ddc 0x105c Middlewares/Third_Party/LwIP/src/core/init.o - .debug_line 0x0000000000024e38 0xd2c Middlewares/Third_Party/LwIP/src/core/ip.o - .debug_line 0x0000000000025b64 0x109e Middlewares/Third_Party/LwIP/src/core/mem.o - .debug_line 0x0000000000026c02 0x11af Middlewares/Third_Party/LwIP/src/core/memp.o - .debug_line 0x0000000000027db1 0x1386 Middlewares/Third_Party/LwIP/src/core/netif.o - .debug_line 0x0000000000029137 0x157c Middlewares/Third_Party/LwIP/src/core/pbuf.o - .debug_line 0x000000000002a6b3 0x17e9 Middlewares/Third_Party/LwIP/src/core/tcp.o - .debug_line 0x000000000002be9c 0x16cf Middlewares/Third_Party/LwIP/src/core/tcp_in.o - .debug_line 0x000000000002d56b 0x155f Middlewares/Third_Party/LwIP/src/core/tcp_out.o - .debug_line 0x000000000002eaca 0x1160 Middlewares/Third_Party/LwIP/src/core/timeouts.o - .debug_line 0x000000000002fc2a 0x11ab Middlewares/Third_Party/LwIP/src/core/udp.o - .debug_line 0x0000000000030dd5 0x15ef Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - .debug_line 0x00000000000323c4 0x119c Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o - .debug_line 0x0000000000033560 0xe54 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o - .debug_line 0x00000000000343b4 0xfa0 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o - .debug_line 0x0000000000035354 0xe47 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o - .debug_line 0x000000000003619b 0x10ad Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o - .debug_line 0x0000000000037248 0xe93 Middlewares/Third_Party/LwIP/src/netif/ethernet.o - .debug_line 0x00000000000380db 0x1024 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + .debug_line 0x0000000000000ea5 0x1516 Core/Src/main.o + .debug_line 0x00000000000023bb 0xae5 Core/Src/stm32746g_discovery.o + .debug_line 0x0000000000002ea0 0xf9d Core/Src/stm32746g_discovery_lcd.o + .debug_line 0x0000000000003e3d 0x94c Core/Src/stm32746g_discovery_sdram.o + .debug_line 0x0000000000004789 0x9ac Core/Src/stm32746g_discovery_ts.o + .debug_line 0x0000000000005135 0xaa7 Core/Src/stm32f7xx_hal_msp.o + .debug_line 0x0000000000005bdc 0x85a Core/Src/stm32f7xx_hal_timebase_tim.o + .debug_line 0x0000000000006436 0x8e3 Core/Src/stm32f7xx_it.o + .debug_line 0x0000000000006d19 0xd8c Core/Src/syscalls.o + .debug_line 0x0000000000007aa5 0xc08 Core/Src/sysmem.o + .debug_line 0x00000000000086ad 0x83f Core/Src/system_stm32f7xx.o + .debug_line 0x0000000000008eec 0x85 Core/Startup/startup_stm32f746nghx.o + .debug_line 0x0000000000008f71 0xa4e Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o + .debug_line 0x00000000000099bf 0xc77 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o + .debug_line 0x000000000000a636 0xb4f Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + .debug_line 0x000000000000b185 0x97c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o + .debug_line 0x000000000000bb01 0x88a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o + .debug_line 0x000000000000c38b 0xa7f Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o + .debug_line 0x000000000000ce0a 0x942 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o + .debug_line 0x000000000000d74c 0xafa Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o + .debug_line 0x000000000000e246 0xd87 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o + .debug_line 0x000000000000efcd 0xefc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + .debug_line 0x000000000000fec9 0xa33 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o + .debug_line 0x00000000000108fc 0x1baa Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + .debug_line 0x00000000000124a6 0x10fd Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + .debug_line 0x00000000000135a3 0x993 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o + .debug_line 0x0000000000013f36 0x96f Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o + .debug_line 0x00000000000148a5 0xac4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o + .debug_line 0x0000000000015369 0xa36 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o + .debug_line 0x0000000000015d9f 0x9a0 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o + .debug_line 0x000000000001673f 0xb82 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o + .debug_line 0x00000000000172c1 0x12a1 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o + .debug_line 0x0000000000018562 0x1b6b Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + .debug_line 0x000000000001a0cd 0xed6 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o + .debug_line 0x000000000001afa3 0xad6 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o + .debug_line 0x000000000001ba79 0xf9e LWIP/App/lwip.o + .debug_line 0x000000000001ca17 0x117a LWIP/Target/ethernetif.o + .debug_line 0x000000000001db91 0xce9 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + .debug_line 0x000000000001e87a 0x670 Middlewares/Third_Party/FreeRTOS/Source/list.o + .debug_line 0x000000000001eeea 0x105a Middlewares/Third_Party/FreeRTOS/Source/queue.o + .debug_line 0x000000000001ff44 0x128f Middlewares/Third_Party/FreeRTOS/Source/tasks.o + .debug_line 0x00000000000211d3 0x67d Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + .debug_line 0x0000000000021850 0x758 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o + .debug_line 0x0000000000021fa8 0x1136 Middlewares/Third_Party/LwIP/src/api/tcpip.o + .debug_line 0x00000000000230de 0xd0c Middlewares/Third_Party/LwIP/src/core/def.o + .debug_line 0x0000000000023dea 0x105c Middlewares/Third_Party/LwIP/src/core/init.o + .debug_line 0x0000000000024e46 0xd2c Middlewares/Third_Party/LwIP/src/core/ip.o + .debug_line 0x0000000000025b72 0x109e Middlewares/Third_Party/LwIP/src/core/mem.o + .debug_line 0x0000000000026c10 0x11af Middlewares/Third_Party/LwIP/src/core/memp.o + .debug_line 0x0000000000027dbf 0x1386 Middlewares/Third_Party/LwIP/src/core/netif.o + .debug_line 0x0000000000029145 0x157c Middlewares/Third_Party/LwIP/src/core/pbuf.o + .debug_line 0x000000000002a6c1 0x17e9 Middlewares/Third_Party/LwIP/src/core/tcp.o + .debug_line 0x000000000002beaa 0x16cf Middlewares/Third_Party/LwIP/src/core/tcp_in.o + .debug_line 0x000000000002d579 0x155f Middlewares/Third_Party/LwIP/src/core/tcp_out.o + .debug_line 0x000000000002ead8 0x1160 Middlewares/Third_Party/LwIP/src/core/timeouts.o + .debug_line 0x000000000002fc38 0x11ab Middlewares/Third_Party/LwIP/src/core/udp.o + .debug_line 0x0000000000030de3 0x15ef Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + .debug_line 0x00000000000323d2 0x119c Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + .debug_line 0x000000000003356e 0xe54 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o + .debug_line 0x00000000000343c2 0xfa0 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o + .debug_line 0x0000000000035362 0xe47 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o + .debug_line 0x00000000000361a9 0x10ad Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + .debug_line 0x0000000000037256 0xe93 Middlewares/Third_Party/LwIP/src/netif/ethernet.o + .debug_line 0x00000000000380e9 0x1024 Middlewares/Third_Party/LwIP/system/OS/sys_arch.o -.debug_str 0x0000000000000000 0x1279e1 - .debug_str 0x0000000000000000 0xfdcd9 Core/Src/freertos.o - 0xfe3f4 (size before relaxing) - .debug_str 0x00000000000fdcd9 0x169c Core/Src/ft5336.o +.debug_str 0x0000000000000000 0x127a3a + .debug_str 0x0000000000000000 0xfdd4e Core/Src/freertos.o + 0xfe469 (size before relaxing) + .debug_str 0x00000000000fdd4e 0x169c Core/Src/ft5336.o 0x530e (size before relaxing) - .debug_str 0x00000000000ff375 0x13c13 Core/Src/main.o - 0x1138bd (size before relaxing) - .debug_str 0x0000000000112f88 0xc6c Core/Src/stm32746g_discovery.o + .debug_str 0x00000000000ff3ea 0x1414b Core/Src/main.o + 0x113edf (size before relaxing) + .debug_str 0x0000000000113535 0x73f Core/Src/stm32746g_discovery.o 0xfb99e (size before relaxing) - .debug_str 0x0000000000113bf4 0x83f Core/Src/stm32746g_discovery_lcd.o + .debug_str 0x0000000000113c74 0x83f Core/Src/stm32746g_discovery_lcd.o 0xfc6b2 (size before relaxing) - .debug_str 0x0000000000114433 0x1a9 Core/Src/stm32746g_discovery_sdram.o + .debug_str 0x00000000001144b3 0x1a9 Core/Src/stm32746g_discovery_sdram.o 0xfa85e (size before relaxing) - .debug_str 0x00000000001145dc 0x160 Core/Src/stm32746g_discovery_ts.o + .debug_str 0x000000000011465c 0x160 Core/Src/stm32746g_discovery_ts.o 0xfc67f (size before relaxing) - .debug_str 0x000000000011473c 0x1de Core/Src/stm32f7xx_hal_msp.o - 0xfbe62 (size before relaxing) - .debug_str 0x000000000011491a 0x98 Core/Src/stm32f7xx_hal_timebase_tim.o + .debug_str 0x00000000001147bc 0x1de Core/Src/stm32f7xx_hal_msp.o + 0xfbed7 (size before relaxing) + .debug_str 0x000000000011499a 0x98 Core/Src/stm32f7xx_hal_timebase_tim.o 0xfa2ae (size before relaxing) - .debug_str 0x00000000001149b2 0xa6 Core/Src/stm32f7xx_it.o - 0xfb204 (size before relaxing) - .debug_str 0x0000000000114a58 0xe87 Core/Src/syscalls.o - 0x103afe (size before relaxing) - .debug_str 0x00000000001158df 0x6b Core/Src/sysmem.o - 0x1031a4 (size before relaxing) - .debug_str 0x000000000011594a 0x174 Core/Src/system_stm32f7xx.o + .debug_str 0x0000000000114a32 0xb9 Core/Src/stm32f7xx_it.o + 0xfb28c (size before relaxing) + .debug_str 0x0000000000114aeb 0xe87 Core/Src/syscalls.o + 0x103b73 (size before relaxing) + .debug_str 0x0000000000115972 0x6b Core/Src/sysmem.o + 0x103219 (size before relaxing) + .debug_str 0x00000000001159dd 0x174 Core/Src/system_stm32f7xx.o 0xf990a (size before relaxing) - .debug_str 0x0000000000115abe 0x36 Core/Startup/startup_stm32f746nghx.o + .debug_str 0x0000000000115b51 0x36 Core/Startup/startup_stm32f746nghx.o 0x80 (size before relaxing) - .debug_str 0x0000000000115af4 0x33c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o + .debug_str 0x0000000000115b87 0x33c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o 0xfa1bc (size before relaxing) - .debug_str 0x0000000000115e30 0x274 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o + .debug_str 0x0000000000115ec3 0x274 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o 0xf9dad (size before relaxing) - .debug_str 0x00000000001160a4 0x36a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + .debug_str 0x0000000000116137 0x36a Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o 0xfa263 (size before relaxing) - .debug_str 0x000000000011640e 0xb7 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o + .debug_str 0x00000000001164a1 0xb7 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o 0xf9943 (size before relaxing) - .debug_str 0x00000000001164c5 0x82 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o + .debug_str 0x0000000000116558 0x82 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o 0xf9916 (size before relaxing) - .debug_str 0x0000000000116547 0x1bd Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o + .debug_str 0x00000000001165da 0x1bd Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o 0xf9c48 (size before relaxing) - .debug_str 0x0000000000116704 0x164 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o + .debug_str 0x0000000000116797 0x164 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o 0xf9b78 (size before relaxing) - .debug_str 0x0000000000116868 0x31b Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o + .debug_str 0x00000000001168fb 0x31b Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o 0xf9c44 (size before relaxing) - .debug_str 0x0000000000116b83 0x360 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o + .debug_str 0x0000000000116c16 0x360 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o 0xf9df5 (size before relaxing) - .debug_str 0x0000000000116ee3 0x762 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + .debug_str 0x0000000000116f76 0x762 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o 0xfa416 (size before relaxing) - .debug_str 0x0000000000117645 0x244 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o + .debug_str 0x00000000001176d8 0x224 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o 0xf9ae0 (size before relaxing) - .debug_str 0x0000000000117889 0xd00 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + .debug_str 0x00000000001178fc 0xd00 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o 0xfa9f8 (size before relaxing) - .debug_str 0x0000000000118589 0x406 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + .debug_str 0x00000000001185fc 0x406 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o 0xf9e78 (size before relaxing) - .debug_str 0x000000000011898f 0x2c5 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o + .debug_str 0x0000000000118a02 0x2c5 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o 0xf9bc2 (size before relaxing) - .debug_str 0x0000000000118c54 0x1b5 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o + .debug_str 0x0000000000118cc7 0x1b5 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o 0xf9b84 (size before relaxing) - .debug_str 0x0000000000118e09 0x263 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o + .debug_str 0x0000000000118e7c 0x263 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o 0xf9c25 (size before relaxing) - .debug_str 0x000000000011906c 0x159 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o + .debug_str 0x00000000001190df 0x159 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o 0xf9baf (size before relaxing) - .debug_str 0x00000000001191c5 0x175 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o + .debug_str 0x0000000000119238 0x175 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o 0xf993a (size before relaxing) - .debug_str 0x000000000011933a 0x254 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o + .debug_str 0x00000000001193ad 0x254 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o 0xf9e18 (size before relaxing) - .debug_str 0x000000000011958e 0x557 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o + .debug_str 0x0000000000119601 0x557 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o 0xfa0c4 (size before relaxing) - .debug_str 0x0000000000119ae5 0xc3f Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + .debug_str 0x0000000000119b58 0xc3f Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o 0xfa996 (size before relaxing) - .debug_str 0x000000000011a724 0x448 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o + .debug_str 0x000000000011a797 0x448 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o 0xfa1e9 (size before relaxing) - .debug_str 0x000000000011ab6c 0x477 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o + .debug_str 0x000000000011abdf 0x477 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o 0xf9d68 (size before relaxing) - .debug_str 0x000000000011afe3 0x3c2 LWIP/App/lwip.o - 0x10e9b2 (size before relaxing) - .debug_str 0x000000000011b3a5 0x44c LWIP/Target/ethernetif.o - 0x10e6e2 (size before relaxing) - .debug_str 0x000000000011b7f1 0x642 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + .debug_str 0x000000000011b056 0x3c2 LWIP/App/lwip.o + 0x10ea27 (size before relaxing) + .debug_str 0x000000000011b418 0x44c LWIP/Target/ethernetif.o + 0x10e757 (size before relaxing) + .debug_str 0x000000000011b864 0x642 Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o 0xe2d7 (size before relaxing) - .debug_str 0x000000000011be33 0x12d Middlewares/Third_Party/FreeRTOS/Source/list.o + .debug_str 0x000000000011bea6 0x12d Middlewares/Third_Party/FreeRTOS/Source/list.o 0xa77a (size before relaxing) - .debug_str 0x000000000011bf60 0x87e Middlewares/Third_Party/FreeRTOS/Source/queue.o + .debug_str 0x000000000011bfd3 0x864 Middlewares/Third_Party/FreeRTOS/Source/queue.o 0xc003 (size before relaxing) - .debug_str 0x000000000011c7de 0x136f Middlewares/Third_Party/FreeRTOS/Source/tasks.o + .debug_str 0x000000000011c837 0x136f Middlewares/Third_Party/FreeRTOS/Source/tasks.o 0xcc38 (size before relaxing) - .debug_str 0x000000000011db4d 0x782 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + .debug_str 0x000000000011dba6 0x782 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o 0x84c2 (size before relaxing) - .debug_str 0x000000000011e2cf 0x25a Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o + .debug_str 0x000000000011e328 0x25a Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o 0xaf8a (size before relaxing) - .debug_str 0x000000000011e529 0x563 Middlewares/Third_Party/LwIP/src/api/tcpip.o - 0x10e45f (size before relaxing) - .debug_str 0x000000000011ea8c 0xa6 Middlewares/Third_Party/LwIP/src/core/def.o - 0x102fbb (size before relaxing) - .debug_str 0x000000000011eb32 0x419f Middlewares/Third_Party/LwIP/src/core/init.o - 0x1125d7 (size before relaxing) - .debug_str 0x0000000000122cd1 0x2e Middlewares/Third_Party/LwIP/src/core/ip.o - 0x106f16 (size before relaxing) - .debug_str 0x0000000000122cff 0x456 Middlewares/Third_Party/LwIP/src/core/mem.o - 0x10a561 (size before relaxing) - .debug_str 0x0000000000123155 0xadd Middlewares/Third_Party/LwIP/src/core/memp.o - 0x11318a (size before relaxing) - .debug_str 0x0000000000123c32 0x7a4 Middlewares/Third_Party/LwIP/src/core/netif.o - 0x1105b8 (size before relaxing) - .debug_str 0x00000000001243d6 0x5b7 Middlewares/Third_Party/LwIP/src/core/pbuf.o - 0x10ff54 (size before relaxing) - .debug_str 0x000000000012498d 0x520 Middlewares/Third_Party/LwIP/src/core/tcp.o - 0x109728 (size before relaxing) - .debug_str 0x0000000000124ead 0x330 Middlewares/Third_Party/LwIP/src/core/tcp_in.o - 0x109416 (size before relaxing) - .debug_str 0x00000000001251dd 0x416 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - 0x1095d8 (size before relaxing) - .debug_str 0x00000000001255f3 0x211 Middlewares/Third_Party/LwIP/src/core/timeouts.o - 0x110306 (size before relaxing) - .debug_str 0x0000000000125804 0x29f Middlewares/Third_Party/LwIP/src/core/udp.o - 0x107e2d (size before relaxing) - .debug_str 0x0000000000125aa3 0xff0 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - 0x10883f (size before relaxing) - .debug_str 0x0000000000126a93 0x54b Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o - 0x10828d (size before relaxing) - .debug_str 0x0000000000126fde 0x115 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o - 0x107302 (size before relaxing) - .debug_str 0x00000000001270f3 0x16b Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o - 0x109774 (size before relaxing) - .debug_str 0x000000000012725e 0xb8 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o - 0x106228 (size before relaxing) - .debug_str 0x0000000000127316 0x40d Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o - 0x107791 (size before relaxing) - .debug_str 0x0000000000127723 0xa2 Middlewares/Third_Party/LwIP/src/netif/ethernet.o - 0x107a93 (size before relaxing) - .debug_str 0x00000000001277c5 0x21c Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - 0x10a7dc (size before relaxing) + .debug_str 0x000000000011e582 0x563 Middlewares/Third_Party/LwIP/src/api/tcpip.o + 0x10e4d4 (size before relaxing) + .debug_str 0x000000000011eae5 0xa6 Middlewares/Third_Party/LwIP/src/core/def.o + 0x103030 (size before relaxing) + .debug_str 0x000000000011eb8b 0x419f Middlewares/Third_Party/LwIP/src/core/init.o + 0x11264c (size before relaxing) + .debug_str 0x0000000000122d2a 0x2e Middlewares/Third_Party/LwIP/src/core/ip.o + 0x106f8b (size before relaxing) + .debug_str 0x0000000000122d58 0x456 Middlewares/Third_Party/LwIP/src/core/mem.o + 0x10a5d6 (size before relaxing) + .debug_str 0x00000000001231ae 0xadd Middlewares/Third_Party/LwIP/src/core/memp.o + 0x1131ff (size before relaxing) + .debug_str 0x0000000000123c8b 0x7a4 Middlewares/Third_Party/LwIP/src/core/netif.o + 0x11062d (size before relaxing) + .debug_str 0x000000000012442f 0x5b7 Middlewares/Third_Party/LwIP/src/core/pbuf.o + 0x10ffc9 (size before relaxing) + .debug_str 0x00000000001249e6 0x520 Middlewares/Third_Party/LwIP/src/core/tcp.o + 0x10979d (size before relaxing) + .debug_str 0x0000000000124f06 0x330 Middlewares/Third_Party/LwIP/src/core/tcp_in.o + 0x10948b (size before relaxing) + .debug_str 0x0000000000125236 0x416 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + 0x10964d (size before relaxing) + .debug_str 0x000000000012564c 0x211 Middlewares/Third_Party/LwIP/src/core/timeouts.o + 0x11037b (size before relaxing) + .debug_str 0x000000000012585d 0x29f Middlewares/Third_Party/LwIP/src/core/udp.o + 0x107ea2 (size before relaxing) + .debug_str 0x0000000000125afc 0xff0 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + 0x1088b4 (size before relaxing) + .debug_str 0x0000000000126aec 0x54b Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + 0x108302 (size before relaxing) + .debug_str 0x0000000000127037 0x115 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o + 0x107377 (size before relaxing) + .debug_str 0x000000000012714c 0x16b Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o + 0x1097e9 (size before relaxing) + .debug_str 0x00000000001272b7 0xb8 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o + 0x10629d (size before relaxing) + .debug_str 0x000000000012736f 0x40d Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + 0x107806 (size before relaxing) + .debug_str 0x000000000012777c 0xa2 Middlewares/Third_Party/LwIP/src/netif/ethernet.o + 0x107b08 (size before relaxing) + .debug_str 0x000000000012781e 0x21c Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + 0x10a851 (size before relaxing) .comment 0x0000000000000000 0x7b .comment 0x0000000000000000 0x7b Core/Src/freertos.o @@ -33637,101 +33602,96 @@ OUTPUT(Space_Invaders.elf elf32-littlearm) .comment 0x000000000000007b 0x7c Middlewares/Third_Party/LwIP/src/netif/ethernet.o .comment 0x000000000000007b 0x7c Middlewares/Third_Party/LwIP/system/OS/sys_arch.o -.debug_frame 0x0000000000000000 0xd280 +.debug_frame 0x0000000000000000 0xd120 .debug_frame 0x0000000000000000 0xa0 Core/Src/freertos.o .debug_frame 0x00000000000000a0 0x230 Core/Src/ft5336.o - .debug_frame 0x00000000000002d0 0x338 Core/Src/main.o - .debug_frame 0x0000000000000608 0x468 Core/Src/stm32746g_discovery.o - .debug_frame 0x0000000000000a70 0x840 Core/Src/stm32746g_discovery_lcd.o - .debug_frame 0x00000000000012b0 0x168 Core/Src/stm32746g_discovery_sdram.o - .debug_frame 0x0000000000001418 0x124 Core/Src/stm32746g_discovery_ts.o - .debug_frame 0x000000000000153c 0x340 Core/Src/stm32f7xx_hal_msp.o - .debug_frame 0x000000000000187c 0x74 Core/Src/stm32f7xx_hal_timebase_tim.o - .debug_frame 0x00000000000018f0 0xfc Core/Src/stm32f7xx_it.o - .debug_frame 0x00000000000019ec 0x2c4 Core/Src/syscalls.o - .debug_frame 0x0000000000001cb0 0x38 Core/Src/sysmem.o - .debug_frame 0x0000000000001ce8 0x58 Core/Src/system_stm32f7xx.o - .debug_frame 0x0000000000001d40 0x3b4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o - .debug_frame 0x00000000000020f4 0x3fc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o - .debug_frame 0x00000000000024f0 0x498 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o - .debug_frame 0x0000000000002988 0x168 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o - .debug_frame 0x0000000000002af0 0x88 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o - .debug_frame 0x0000000000002b78 0x338 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o - .debug_frame 0x0000000000002eb0 0x1bc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o - .debug_frame 0x000000000000306c 0x250 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o - .debug_frame 0x00000000000032bc 0x490 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o - .debug_frame 0x000000000000374c 0x4b4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o - .debug_frame 0x0000000000003c00 0x14c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o - .debug_frame 0x0000000000003d4c 0xbbc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o - .debug_frame 0x0000000000004908 0x61c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o - .debug_frame 0x0000000000004f24 0x254 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o - .debug_frame 0x0000000000005178 0x1c8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o - .debug_frame 0x0000000000005340 0x1f4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o - .debug_frame 0x0000000000005534 0x118 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o - .debug_frame 0x000000000000564c 0x22c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o - .debug_frame 0x0000000000005878 0x37c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o - .debug_frame 0x0000000000005bf4 0x860 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o - .debug_frame 0x0000000000006454 0x1144 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o - .debug_frame 0x0000000000007598 0x610 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o - .debug_frame 0x0000000000007ba8 0x37c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o - .debug_frame 0x0000000000007f24 0x3c LWIP/App/lwip.o - .debug_frame 0x0000000000007f60 0x1d4 LWIP/Target/ethernetif.o - .debug_frame 0x0000000000008134 0x7fc Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o - .debug_frame 0x0000000000008930 0xd8 Middlewares/Third_Party/FreeRTOS/Source/list.o - .debug_frame 0x0000000000008a08 0x504 Middlewares/Third_Party/FreeRTOS/Source/queue.o - .debug_frame 0x0000000000008f0c 0x7e8 Middlewares/Third_Party/FreeRTOS/Source/tasks.o - .debug_frame 0x00000000000096f4 0x1a8 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o - .debug_frame 0x000000000000989c 0x108 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o - .debug_frame 0x00000000000099a4 0x270 Middlewares/Third_Party/LwIP/src/api/tcpip.o - .debug_frame 0x0000000000009c14 0xf8 Middlewares/Third_Party/LwIP/src/core/def.o - .debug_frame 0x0000000000009d0c 0x34 Middlewares/Third_Party/LwIP/src/core/init.o - .debug_frame 0x0000000000009d40 0x160 Middlewares/Third_Party/LwIP/src/core/mem.o - .debug_frame 0x0000000000009ea0 0x134 Middlewares/Third_Party/LwIP/src/core/memp.o - .debug_frame 0x0000000000009fd4 0x3a8 Middlewares/Third_Party/LwIP/src/core/netif.o - .debug_frame 0x000000000000a37c 0x554 Middlewares/Third_Party/LwIP/src/core/pbuf.o - .debug_frame 0x000000000000a8d0 0x77c Middlewares/Third_Party/LwIP/src/core/tcp.o - .debug_frame 0x000000000000b04c 0x1bc Middlewares/Third_Party/LwIP/src/core/tcp_in.o - .debug_frame 0x000000000000b208 0x3b0 Middlewares/Third_Party/LwIP/src/core/tcp_out.o - .debug_frame 0x000000000000b5b8 0x170 Middlewares/Third_Party/LwIP/src/core/timeouts.o - .debug_frame 0x000000000000b728 0x288 Middlewares/Third_Party/LwIP/src/core/udp.o - .debug_frame 0x000000000000b9b0 0x570 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o - .debug_frame 0x000000000000bf20 0x228 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o - .debug_frame 0x000000000000c148 0xa8 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o - .debug_frame 0x000000000000c1f0 0xf0 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o - .debug_frame 0x000000000000c2e0 0xf8 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o - .debug_frame 0x000000000000c3d8 0x1a0 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o - .debug_frame 0x000000000000c578 0x58 Middlewares/Third_Party/LwIP/src/netif/ethernet.o - .debug_frame 0x000000000000c5d0 0x34c Middlewares/Third_Party/LwIP/system/OS/sys_arch.o - .debug_frame 0x000000000000c91c 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-init.o) - .debug_frame 0x000000000000c948 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memcmp.o) - .debug_frame 0x000000000000c974 0x28 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memcpy-stub.o) - .debug_frame 0x000000000000c99c 0x28 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memmove.o) - .debug_frame 0x000000000000c9c4 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memset.o) - .debug_frame 0x000000000000c9e4 0x74 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-printf.o) - .debug_frame 0x000000000000ca58 0x48 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-rand.o) - .debug_frame 0x000000000000caa0 0x6c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sprintf.o) - .debug_frame 0x000000000000cb0c 0x11c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) - .debug_frame 0x000000000000cc28 0x54 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fwalk.o) - .debug_frame 0x000000000000cc7c 0x30 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-malloc.o) - .debug_frame 0x000000000000ccac 0x38 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-freer.o) - .debug_frame 0x000000000000cce4 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-mallocr.o) - .debug_frame 0x000000000000cd10 0x90 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-svfprintf.o) - .debug_frame 0x000000000000cda0 0xac c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) - .debug_frame 0x000000000000ce4c 0x60 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf_i.o) - .debug_frame 0x000000000000ceac 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sbrkr.o) - .debug_frame 0x000000000000ced8 0x88 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-stdio.o) - .debug_frame 0x000000000000cf60 0x40 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-wbuf.o) - .debug_frame 0x000000000000cfa0 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-writer.o) - .debug_frame 0x000000000000cfcc 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-wsetup.o) - .debug_frame 0x000000000000cff8 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-closer.o) - .debug_frame 0x000000000000d024 0x68 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fflush.o) - .debug_frame 0x000000000000d08c 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-lseekr.o) - .debug_frame 0x000000000000d0b8 0x58 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-makebuf.o) - .debug_frame 0x000000000000d110 0x30 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-mlock.o) - .debug_frame 0x000000000000d140 0x3c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-reallocr.o) - .debug_frame 0x000000000000d17c 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-readr.o) - .debug_frame 0x000000000000d1a8 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fstatr.o) - .debug_frame 0x000000000000d1d4 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-isattyr.o) - .debug_frame 0x000000000000d200 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-msizer.o) - .debug_frame 0x000000000000d220 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_aeabi_uldivmod.o) - .debug_frame 0x000000000000d24c 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_udivmoddi4.o) + .debug_frame 0x00000000000002d0 0x33c Core/Src/main.o + .debug_frame 0x000000000000060c 0x468 Core/Src/stm32746g_discovery.o + .debug_frame 0x0000000000000a74 0x840 Core/Src/stm32746g_discovery_lcd.o + .debug_frame 0x00000000000012b4 0x168 Core/Src/stm32746g_discovery_sdram.o + .debug_frame 0x000000000000141c 0x124 Core/Src/stm32746g_discovery_ts.o + .debug_frame 0x0000000000001540 0x340 Core/Src/stm32f7xx_hal_msp.o + .debug_frame 0x0000000000001880 0x74 Core/Src/stm32f7xx_hal_timebase_tim.o + .debug_frame 0x00000000000018f4 0x118 Core/Src/stm32f7xx_it.o + .debug_frame 0x0000000000001a0c 0x2c4 Core/Src/syscalls.o + .debug_frame 0x0000000000001cd0 0x38 Core/Src/sysmem.o + .debug_frame 0x0000000000001d08 0x58 Core/Src/system_stm32f7xx.o + .debug_frame 0x0000000000001d60 0x3b4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.o + .debug_frame 0x0000000000002114 0x3fc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.o + .debug_frame 0x0000000000002510 0x498 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.o + .debug_frame 0x00000000000029a8 0x168 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.o + .debug_frame 0x0000000000002b10 0x88 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.o + .debug_frame 0x0000000000002b98 0x338 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac.o + .debug_frame 0x0000000000002ed0 0x1bc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dac_ex.o + .debug_frame 0x000000000000308c 0x250 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.o + .debug_frame 0x00000000000032dc 0x490 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.o + .debug_frame 0x000000000000376c 0x4b4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_eth.o + .debug_frame 0x0000000000003c20 0x14c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.o + .debug_frame 0x0000000000003d6c 0xbbc Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.o + .debug_frame 0x0000000000004928 0x61c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.o + .debug_frame 0x0000000000004f44 0x254 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.o + .debug_frame 0x0000000000005198 0x1c8 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.o + .debug_frame 0x0000000000005360 0x1f4 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.o + .debug_frame 0x0000000000005554 0x118 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.o + .debug_frame 0x000000000000566c 0x22c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.o + .debug_frame 0x0000000000005898 0x37c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sdram.o + .debug_frame 0x0000000000005c14 0x860 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi.o + .debug_frame 0x0000000000006474 0x1144 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.o + .debug_frame 0x00000000000075b8 0x610 Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.o + .debug_frame 0x0000000000007bc8 0x37c Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_fmc.o + .debug_frame 0x0000000000007f44 0x3c LWIP/App/lwip.o + .debug_frame 0x0000000000007f80 0x1d4 LWIP/Target/ethernetif.o + .debug_frame 0x0000000000008154 0x7fc Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o + .debug_frame 0x0000000000008950 0xd8 Middlewares/Third_Party/FreeRTOS/Source/list.o + .debug_frame 0x0000000000008a28 0x504 Middlewares/Third_Party/FreeRTOS/Source/queue.o + .debug_frame 0x0000000000008f2c 0x7e8 Middlewares/Third_Party/FreeRTOS/Source/tasks.o + .debug_frame 0x0000000000009714 0x1a8 Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o + .debug_frame 0x00000000000098bc 0x108 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o + .debug_frame 0x00000000000099c4 0x270 Middlewares/Third_Party/LwIP/src/api/tcpip.o + .debug_frame 0x0000000000009c34 0xf8 Middlewares/Third_Party/LwIP/src/core/def.o + .debug_frame 0x0000000000009d2c 0x34 Middlewares/Third_Party/LwIP/src/core/init.o + .debug_frame 0x0000000000009d60 0x160 Middlewares/Third_Party/LwIP/src/core/mem.o + .debug_frame 0x0000000000009ec0 0x134 Middlewares/Third_Party/LwIP/src/core/memp.o + .debug_frame 0x0000000000009ff4 0x3a8 Middlewares/Third_Party/LwIP/src/core/netif.o + .debug_frame 0x000000000000a39c 0x554 Middlewares/Third_Party/LwIP/src/core/pbuf.o + .debug_frame 0x000000000000a8f0 0x77c Middlewares/Third_Party/LwIP/src/core/tcp.o + .debug_frame 0x000000000000b06c 0x1bc Middlewares/Third_Party/LwIP/src/core/tcp_in.o + .debug_frame 0x000000000000b228 0x3b0 Middlewares/Third_Party/LwIP/src/core/tcp_out.o + .debug_frame 0x000000000000b5d8 0x170 Middlewares/Third_Party/LwIP/src/core/timeouts.o + .debug_frame 0x000000000000b748 0x288 Middlewares/Third_Party/LwIP/src/core/udp.o + .debug_frame 0x000000000000b9d0 0x570 Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o + .debug_frame 0x000000000000bf40 0x228 Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o + .debug_frame 0x000000000000c168 0xa8 Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o + .debug_frame 0x000000000000c210 0xf0 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o + .debug_frame 0x000000000000c300 0xf8 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o + .debug_frame 0x000000000000c3f8 0x1a0 Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o + .debug_frame 0x000000000000c598 0x58 Middlewares/Third_Party/LwIP/src/netif/ethernet.o + .debug_frame 0x000000000000c5f0 0x34c Middlewares/Third_Party/LwIP/system/OS/sys_arch.o + .debug_frame 0x000000000000c93c 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-init.o) + .debug_frame 0x000000000000c968 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memcmp.o) + .debug_frame 0x000000000000c994 0x28 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memcpy-stub.o) + .debug_frame 0x000000000000c9bc 0x20 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-memset.o) + .debug_frame 0x000000000000c9dc 0x74 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-printf.o) + .debug_frame 0x000000000000ca50 0x48 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-rand.o) + .debug_frame 0x000000000000ca98 0x11c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-findfp.o) + .debug_frame 0x000000000000cbb4 0x54 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fwalk.o) + .debug_frame 0x000000000000cc08 0x30 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-malloc.o) + .debug_frame 0x000000000000cc38 0x38 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-freer.o) + .debug_frame 0x000000000000cc70 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-mallocr.o) + .debug_frame 0x000000000000cc9c 0xac c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf.o) + .debug_frame 0x000000000000cd48 0x60 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-nano-vfprintf_i.o) + .debug_frame 0x000000000000cda8 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-sbrkr.o) + .debug_frame 0x000000000000cdd4 0x88 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-stdio.o) + .debug_frame 0x000000000000ce5c 0x40 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-wbuf.o) + .debug_frame 0x000000000000ce9c 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-writer.o) + .debug_frame 0x000000000000cec8 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-wsetup.o) + .debug_frame 0x000000000000cef4 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-closer.o) + .debug_frame 0x000000000000cf20 0x68 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fflush.o) + .debug_frame 0x000000000000cf88 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-lseekr.o) + .debug_frame 0x000000000000cfb4 0x58 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-makebuf.o) + .debug_frame 0x000000000000d00c 0x30 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-mlock.o) + .debug_frame 0x000000000000d03c 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-readr.o) + .debug_frame 0x000000000000d068 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-fstatr.o) + .debug_frame 0x000000000000d094 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-isattyr.o) + .debug_frame 0x000000000000d0c0 0x2c c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_aeabi_uldivmod.o) + .debug_frame 0x000000000000d0ec 0x34 c:/st/stm32cubeide_1.5.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard\libgcc.a(_udivmoddi4.o)