gateway/obj/CH32V303.lst

7923 lines
364 KiB
Plaintext

CH32V303.elf: file format elf32-littleriscv
CH32V303.elf
architecture: riscv:rv32, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x00000000
Program Header:
LOAD off 0x00001000 vaddr 0x00000000 paddr 0x00000000 align 2**12
filesz 0x00005be8 memsz 0x00005be8 flags r-x
LOAD off 0x00007000 vaddr 0x20000000 paddr 0x00005be8 align 2**12
filesz 0x00000168 memsz 0x00001824 flags rw-
LOAD off 0x00007800 vaddr 0x2000f800 paddr 0x2000f800 align 2**12
filesz 0x00000000 memsz 0x00000800 flags rw-
Sections:
Idx Name Size VMA LMA File off Algn
0 .init 00000004 00000000 00000000 00001000 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .vector 000001bc 00000004 00000004 00001004 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
2 .text 00005a28 000001c0 000001c0 000011c0 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
3 .fini 00000000 00005be8 00005be8 00007168 2**0
CONTENTS, ALLOC, LOAD, CODE
4 .dalign 00000000 20000000 20000000 00007168 2**0
CONTENTS
5 .dlalign 00000000 00005be8 00005be8 00007168 2**0
CONTENTS
6 .data 00000168 20000000 00005be8 00007000 2**2
CONTENTS, ALLOC, LOAD, DATA
7 .bss 000016bc 20000168 00005d50 00007168 2**2
ALLOC
8 .stack 00000800 2000f800 2000f800 00007800 2**0
ALLOC
9 .debug_info 0002691e 00000000 00000000 00007168 2**0
CONTENTS, READONLY, DEBUGGING
10 .debug_abbrev 00007302 00000000 00000000 0002da86 2**0
CONTENTS, READONLY, DEBUGGING
11 .debug_loc 00009e1f 00000000 00000000 00034d88 2**0
CONTENTS, READONLY, DEBUGGING
12 .debug_aranges 000010d8 00000000 00000000 0003eba8 2**3
CONTENTS, READONLY, DEBUGGING
13 .debug_ranges 00001710 00000000 00000000 0003fc80 2**3
CONTENTS, READONLY, DEBUGGING
14 .debug_line 00018636 00000000 00000000 00041390 2**0
CONTENTS, READONLY, DEBUGGING
15 .debug_str 00004e15 00000000 00000000 000599c6 2**0
CONTENTS, READONLY, DEBUGGING
16 .comment 00000033 00000000 00000000 0005e7db 2**0
CONTENTS, READONLY
17 .debug_frame 00002dac 00000000 00000000 0005e810 2**2
CONTENTS, READONLY, DEBUGGING
SYMBOL TABLE:
00000000 l d .init 00000000 .init
00000004 l d .vector 00000000 .vector
000001c0 l d .text 00000000 .text
00005be8 l d .fini 00000000 .fini
20000000 l d .dalign 00000000 .dalign
00005be8 l d .dlalign 00000000 .dlalign
20000000 l d .data 00000000 .data
20000168 l d .bss 00000000 .bss
2000f800 l d .stack 00000000 .stack
00000000 l d .debug_info 00000000 .debug_info
00000000 l d .debug_abbrev 00000000 .debug_abbrev
00000000 l d .debug_loc 00000000 .debug_loc
00000000 l d .debug_aranges 00000000 .debug_aranges
00000000 l d .debug_ranges 00000000 .debug_ranges
00000000 l d .debug_line 00000000 .debug_line
00000000 l d .debug_str 00000000 .debug_str
00000000 l d .comment 00000000 .comment
00000000 l d .debug_frame 00000000 .debug_frame
00000000 l df *ABS* 00000000 ./Startup/startup_ch32v30x_D8C.o
00000004 l .vector 00000000 _vector_base
00000000 l df *ABS* 00000000 clock.c
20000168 l O .bss 00000004 rt_tick
00000000 l df *ABS* 00000000 components.c
000004d0 l F .text 00000004 rti_start
000004d4 l F .text 00000004 rti_end
000004d8 l F .text 00000004 rti_board_start
000004dc l F .text 00000004 rti_board_end
00000000 l df *ABS* 00000000 device.c
00000000 l df *ABS* 00000000 idle.c
00000762 l F .text 0000001c rt_thread_idle_entry
20000218 l O .bss 00000080 idle
20000298 l O .bss 00000010 idle_hook_list
200002a8 l O .bss 00000200 rt_thread_stack
00000000 l df *ABS* 00000000 ipc.c
000007b4 l F .text 0000005a rt_ipc_list_suspend
00000000 l df *ABS* 00000000 irq.c
2000016c l O .bss 00000004 rt_interrupt_enter_hook
20000170 l O .bss 00000004 rt_interrupt_leave_hook
00000000 l df *ABS* 00000000 kservice.c
00000954 l F .text 0000017e print_number
200004a8 l O .bss 00000080 rt_log_buf.2693
000046d0 l O .text 00000011 large_digits.2583
00004774 l O .text 00000011 small_digits.2582
20000178 l O .bss 00000004 __rt_errno
2000017c l O .bss 00000004 _console_device
00000000 l df *ABS* 00000000 mem.c
000010a2 l F .text 00000058 plug_holes
20000528 l O .bss 00000020 heap_sem
20000180 l O .bss 00000004 heap_end
20000184 l O .bss 00000004 heap_ptr
20000188 l O .bss 00000004 lfree
2000018c l O .bss 00000004 max_mem
20000190 l O .bss 00000004 mem_size_aligned
20000194 l O .bss 00000004 rt_free_hook
20000198 l O .bss 00000004 rt_malloc_hook
2000019c l O .bss 00000004 used_mem
00000000 l df *ABS* 00000000 object.c
20000000 l O .data 00000080 rt_object_container
200001a0 l O .bss 00000004 rt_object_attach_hook
200001a4 l O .bss 00000004 rt_object_detach_hook
00000000 l df *ABS* 00000000 scheduler.c
200001bc l O .bss 00000004 rt_scheduler_hook
200001c0 l O .bss 00000002 rt_scheduler_lock_nest
00000000 l df *ABS* 00000000 thread.c
000016ca l F .text 0000008e _rt_thread_init.isra.0
200001d0 l O .bss 00000004 rt_thread_inited_hook
200001d4 l O .bss 00000004 rt_thread_resume_hook
200001d8 l O .bss 00000004 rt_thread_suspend_hook
00000000 l df *ABS* 00000000 timer.c
00001958 l F .text 00000012 _rt_timer_remove.part.1
200001dc l O .bss 00000004 random_nr.2483
200001e0 l O .bss 00000004 rt_timer_enter_hook
200001e4 l O .bss 00000004 rt_timer_exit_hook
200001e8 l O .bss 00000008 rt_timer_list
00000000 l df *ABS* 00000000 cpuport.c
00000000 l df *ABS* 00000000 cmd.c
00001bb6 l F .text 00000012 rt_list_len
00001bf0 l F .text 00000020 object_split
00001c10 l F .text 00000036 show_wait_queue
00001c46 l F .text 0000003e object_name_maxlen
00000000 l df *ABS* 00000000 msh.c
00000000 l df *ABS* 00000000 msh_cmd.c
00000000 l df *ABS* 00000000 shell.c
000024fa l F .text 00000012 finsh_rx_ind
000025e0 l F .text 0000002e shell_handle_history
200005c8 l O .bss 00000081 finsh_prompt.4315
00000000 l df *ABS* 00000000 serial.c
00002a9c l F .text 00000020 rt_serial_init
00002abc l F .text 00000042 rt_serial_write
00002afe l F .text 0000009e rt_serial_open
00002b9c l F .text 0000006e rt_serial_control
00002c0a l F .text 0000009e rt_serial_read
00002ca8 l F .text 00000040 rt_serial_close
00000000 l df *ABS* 00000000 pin.c
00002dec l F .text 0000001c _pin_control
00002e54 l F .text 0000002e _pin_read
00002e82 l F .text 0000002c _pin_write
2000064c l O .bss 00000048 _hw_pin
00000000 l df *ABS* 00000000 board.c
20000694 l O .bss 00001000 rt_heap
00000000 l df *ABS* 00000000 drv_gpio.c
00002fac l F .text 0000001c bit2bitno
00002fc8 l F .text 00000012 GPIOD_CLK_ENABLE
00002fda l F .text 00000010 GPIOB_CLK_ENABLE
00002fea l F .text 00000010 GPIOA_CLK_ENABLE
00002ffa l F .text 00000010 GPIOC_CLK_ENABLE
0000300a l F .text 00000012 GPIOE_CLK_ENABLE
000052fc l O .text 00000018 _ch32_pin_ops
00005314 l O .text 00000080 pin_irq_map
00005394 l O .text 00000650 pins
00000000 l df *ABS* 00000000 drv_usart.c
00003546 l F .text 000000ca ch32_configure
000036d0 l F .text 00000022 ch32_getc
000036f2 l F .text 00000022 ch32_putc
00003714 l F .text 0000005c ch32_control
000059e8 l O .text 00000014 ch32_uart_ops
00000000 l df *ABS* 00000000 ch32v30x_it.c
00000000 l df *ABS* 00000000 main.c
00000000 l df *ABS* 00000000 start.c
00000000 l df *ABS* 00000000 system_ch32v30x.c
00000000 l df *ABS* 00000000 Rs485.c
00003b22 l F .text 0000001e Rs485_thread_entry
00000000 l df *ABS* 00000000 communication_protocol.c
00000000 l df *ABS* 00000000 ch32v30x_dbgmcu.c
00000000 l df *ABS* 00000000 ch32v30x_exti.c
00000000 l df *ABS* 00000000 ch32v30x_gpio.c
00000000 l df *ABS* 00000000 ch32v30x_misc.c
00000000 l df *ABS* 00000000 ch32v30x_rcc.c
20000150 l O .data 00000010 APBAHBPrescTable
20000164 l O .data 00000004 ADCPrescTable
00000000 l df *ABS* 00000000 ch32v30x_usart.c
00000000 l df *ABS* 00000000 Android.c
00000000 l df *ABS* 00000000 J5-0_USART3.c
00000000 l df *ABS* 00000000 UART.c
00000000 l df *ABS* 00000000 memcmp.c
00000000 l df *ABS* 00000000 memcpy.c
00000000 l df *ABS* 00000000 strcat.c
00000000 l df *ABS* 00000000 strcpy.c
00000000 l df *ABS* 00000000 strlen.c
00000000 l df *ABS* 00000000 strncmp.c
00000000 l df *ABS* 00000000 symbol.c
000033d2 g F .text 00000028 EXTI2_IRQHandler
00003a8e w .text 00000000 TIM8_TRG_COM_IRQHandler
000012d4 g F .text 00000024 rt_calloc
00003a8e w .text 00000000 TIM8_CC_IRQHandler
00005b48 g O .text 0000000c __fsym_list_thread
00000578 g F .text 0000000a entry
000044ee g F .text 00000010 strcpy
00001c84 g F .text 000000e2 list_thread
0000268c g F .text 00000410 finsh_thread_entry
000014e0 g F .text 00000008 rt_object_is_systemobject
00000bbe g F .text 0000002c rt_strncpy
00001b2e g F .text 00000036 rt_hw_stack_init
000018d2 g F .text 0000000e rt_thread_mdelay
00003a8e w .text 00000000 UART8_IRQHandler
00002292 g F .text 000001aa msh_exec
00004e3c g O .text 0000000d __fsym_list_mailbox_name
00001458 g F .text 00000056 rt_object_allocate
00005ba8 g O .text 0000000c __fsym_pinRead
000045d0 g O .text 00000100 __lowest_bit_bitmap
000041a6 g F .text 00000012 J9_PWR_Close
20000960 g .data 00000000 __global_pointer$
00001516 g F .text 0000002c rt_system_scheduler_start
0000037a g F .text 00000028 .hidden __riscv_save_8
00003a8e w .text 00000000 TIM1_CC_IRQHandler
200001f4 g O .bss 00000004 rt_interrupt_to_thread
000037da g F .text 00000020 HardFault_Handler
00004f34 g O .text 00000009 __fsym_list_sem_name
000003c6 g F .text 0000000c .hidden __riscv_restore_3
00003a8e w .text 00000000 TIM6_IRQHandler
000006e8 g F .text 00000006 rt_device_set_rx_indicate
00002f8c g F .text 00000020 SysTick_Handler
000012f8 g F .text 000000aa rt_free
200001f0 g O .bss 00000004 rt_interrupt_from_thread
00003d46 g F .text 0000004e NVIC_Init
0000112c g F .text 0000007c rt_system_heap_init
00003a8e w .text 00000000 PVD_IRQHandler
0000051c g F .text 0000000c main_thread_entry
00003a8e w .text 00000000 SDIO_IRQHandler
00003a8e w .text 00000000 TIM9_BRK_IRQHandler
000040a8 g F .text 00000010 android_PowerCtrl_Open
00004fec g O .text 00000007 __fsym_reboot_name
00001aaa g F .text 00000078 rt_timer_check
000003b2 g F .text 00000020 .hidden __riscv_restore_10
000015ac g F .text 00000048 rt_schedule_insert_thread
00001d66 g F .text 000000b6 list_sem
000005fe g F .text 0000007a rt_device_open
00003a8e w .text 00000000 DMA2_Channel8_IRQHandler
000037ba g F .text 00000020 NMI_Handler
00003a8e w .text 00000000 CAN2_RX1_IRQHandler
000033fa g F .text 00000028 EXTI3_IRQHandler
0000037a g F .text 00000028 .hidden __riscv_save_11
00003baa g F .text 0000000a DBGMCU_GetCHIPID
000021ec g F .text 0000004a list
000047f0 g O .text 00000009 __fsym_list_mem_name
20000208 g O .bss 00000004 _sysvar_table_begin
00004e64 g O .text 00000011 __fsym___cmd_list_mutex_name
00005be8 g .text 00000000 __rtmsymtab_start
20001704 g O .bss 00000020 protocol
00003a8e w .text 00000000 USBHS_IRQHandler
00004032 g F .text 0000000a USART_GetFlagStatus
00003a8e w .text 00000000 DMA2_Channel9_IRQHandler
000006ee g F .text 00000074 rt_thread_idle_excute
00001848 g F .text 0000004a rt_thread_suspend
00003858 g F .text 0000000e app_star
00000fae g F .text 00000068 rt_kprintf
00003a8e w .text 00000000 TIM10_CC_IRQHandler
0000094e g F .text 00000006 rt_interrupt_get_nest
20000168 g .bss 00000000 _sbss
00000800 g *ABS* 00000000 __stack_size
00001758 g F .text 00000020 rt_thread_timeout
00004f8c g O .text 0000000c __fsym___cmd_clear_name
000024ec g F .text 0000000e cmd_free
00003a8e w .text 00000000 USBFS_IRQHandler
00004ec8 g O .text 00000015 __fsym_list_event_desc
00005ad0 g O .text 0000000c __fsym_list_msgqueue
00005bcc g .text 00000000 __rt_init_start
00001f4a g F .text 000000be list_mailbox
000003c6 g F .text 0000000c .hidden __riscv_restore_2
000052d4 g O .text 00000016 __fsym_pinMode_desc
00005bcc g .text 00000000 __fsymtab_end
00002e22 g F .text 0000001a rt_pin_write
00004f78 g O .text 00000014 __fsym___cmd_clear_desc
000006b0 g F .text 0000001c rt_device_read
200001fc g O .bss 00000004 shell
0000441e g F .text 000000b2 memcpy
0000250c g F .text 00000098 finsh_system_init
000004fe g F .text 0000001e rt_components_init
00003382 g F .text 00000028 EXTI0_IRQHandler
00003a8e w .text 00000000 I2C2_EV_IRQHandler
00003a8e w .text 00000000 TIM10_TRG_COM_IRQHandler
0000196a g F .text 0000003a rt_timer_init
00005be8 g .text 00000000 __rt_init_end
0000077e g F .text 00000036 rt_thread_idle_init
20000160 g O .data 00000004 SystemCoreClock
00005b00 g O .text 0000000c __fsym_list_mutex
0000402a g F .text 00000008 USART_ReceiveData
20000204 g O .bss 00000004 _syscall_table_end
200016ec g O .bss 00000018 uart1
000014e8 g F .text 0000002e rt_system_scheduler_init
00000582 g F .text 00000048 rt_device_find
000001c0 g .text 00000000 rt_hw_context_switch_to
00005bd4 g O .text 00000004 __rt_init_rt_hw_pin_init
00000004 g .init 00000000 _einit
200001f8 g O .bss 00000004 rt_thread_switch_interrupt_flag
00003f0a g F .text 0000001e RCC_APB2PeriphClockCmd
00000372 g F .text 00000030 .hidden __riscv_save_12
00003a8e w .text 00000000 CAN2_SCE_IRQHandler
00003a8e w .text 00000000 ADC1_2_IRQHandler
00005be4 g O .text 00000004 __rt_init_rti_end
00004170 g F .text 00000012 J6_PWR_Close
00003c46 g F .text 000000c0 GPIO_Init
00004f08 g O .text 0000000f __fsym___cmd_list_sem_name
00003a8e w .text 00000000 Break_Point_Handler
00005ac4 g O .text 0000000c __fsym___cmd_list_msgqueue
00004cd0 g O .text 0000001a __fsym_list_desc
000003b2 g F .text 00000020 .hidden __riscv_restore_11
20000210 g O .bss 00000004 NVIC_Priority_Group
00003a8e w .text 00000000 SPI1_IRQHandler
00002ce8 g F .text 0000005a rt_hw_serial_register
00003fd6 g F .text 00000016 USART_Cmd
00004cec g O .text 00000005 __fsym_list_name
00001b94 g F .text 00000022 rt_hw_context_switch_interrupt
00004fc8 g O .text 0000000d __fsym___cmd_reboot_name
00003a8e w .text 00000000 TAMPER_IRQHandler
000003a2 g F .text 0000000c .hidden __riscv_save_1
000003c6 g F .text 0000000c .hidden __riscv_restore_0
00004f40 g O .text 0000000c __fsym___cmd_list_thread_desc
00004fac g O .text 00000006 __fsym_clear_name
000017b0 g F .text 00000046 rt_thread_create
00000388 g F .text 0000001a .hidden __riscv_save_7
00005be8 g .text 00000000 __rtmsymtab_end
00004d88 g O .text 0000000b __fsym_list_timer_name
00004084 g F .text 00000014 USART_ClearITPendingBit
00003a8e w .text 00000000 CAN2_RX0_IRQHandler
000017f6 g F .text 00000052 rt_thread_yield
00003a8e w .text 00000000 TIM8_UP_IRQHandler
00000528 g F .text 00000028 rt_application_init
00003f28 g F .text 0000001e RCC_APB1PeriphClockCmd
00003a8e w .text 00000000 Ecall_M_Mode_Handler
000011a8 g F .text 0000012c rt_malloc
2000f800 g .stack 00000000 _heap_end
000008b6 g F .text 00000040 rt_sem_release
00005b30 g O .text 0000000c __fsym_list_sem
000003bc g F .text 00000016 .hidden __riscv_restore_5
00002f02 w F .text 0000000a rt_heap_begin_get
00003a8e w .text 00000000 DMA2_Channel2_IRQHandler
00005a88 g O .text 0000000c __fsym_list
00003a8e w .text 00000000 DMA1_Channel4_IRQHandler
00001b64 g F .text 00000010 sw_setpend
20000080 g O .data 000000c0 pin_irq_hdr_tab
00004f4c g O .text 00000012 __fsym___cmd_list_thread_name
000052ec g O .text 00000008 __fsym_pinMode_name
00005b6c g O .text 0000000c __fsym___cmd_reboot
00004e24 g O .text 00000018 __fsym_list_mailbox_desc
000019a4 g F .text 0000001e rt_timer_detach
00003a8e w .text 00000000 TIM9_UP_IRQHandler
0000228e g F .text 00000004 msh_is_used
000003bc g F .text 00000016 .hidden __riscv_restore_6
000040b8 g F .text 000000a6 USART3_IRQHandler
00003c3c g F .text 0000000a EXTI_ClearITPendingBit
000004e0 g F .text 0000001e rt_components_board_init
00003a8e w .text 00000000 RTC_IRQHandler
00004fd8 g O .text 00000011 __fsym_reboot_desc
00001016 g F .text 0000003e rt_show_version
20001824 g .bss 00000000 _ebss
00004048 g F .text 0000003c USART_GetITStatus
00005bcc g O .text 00000004 __rt_init_rti_start
00003a8e w .text 00000000 DMA1_Channel7_IRQHandler
00002f16 g F .text 00000076 rt_hw_board_init
00002eae g F .text 00000054 rt_device_pin_register
00005b54 g O .text 0000000c __fsym___cmd_clear
00003a8e w .text 00000000 CAN1_RX1_IRQHandler
000018e0 g F .text 0000004c rt_thread_resume
00000550 g F .text 00000028 rtthread_startup
000031a8 g F .text 0000005a ch32_pin_dettach_irq
00003a8e w .text 00000000 DVP_IRQHandler
00003a8e w .text 00000000 UART5_IRQHandler
000041b8 g F .text 0000003a USART_CONNET_J0
0000415e g F .text 00000012 J5_PWR_Close
00004de8 g O .text 0000000e __fsym_list_msgqueue_name
00001a72 g F .text 00000038 rt_timer_control
000013a2 g F .text 0000002a rt_object_get_information
20000548 g O .bss 00000080 rt_thread_priority_table
20001694 g O .bss 00000058 serial1
00003a8e w .text 00000000 TIM4_IRQHandler
00005284 g O .text 0000001e __fsym_pinRead_desc
00001bda g F .text 00000016 clear
200001a8 g O .bss 00000004 rt_object_put_hook
0000037a g F .text 00000028 .hidden __riscv_save_9
00003d10 g F .text 0000000a GPIO_WriteBit
000044d0 g F .text 0000001e strcat
0000167a g F .text 00000050 rt_thread_exit
00003a8e w .text 00000000 DMA2_Channel1_IRQHandler
00004e9c g O .text 00000015 __fsym___cmd_list_event_desc
000005ca g F .text 00000034 rt_device_register
00000b76 g F .text 00000048 rt_memmove
00000388 g F .text 0000001a .hidden __riscv_save_4
0000335e g F .text 00000024 HAL_GPIO_EXTI_Callback
00001bc8 g F .text 00000012 reboot
00003a8e w .text 00000000 I2C1_EV_IRQHandler
00005adc g O .text 0000000c __fsym___cmd_list_mailbox
00003d94 g F .text 00000176 RCC_GetClocksFreq
000052c8 g O .text 00000009 __fsym_pinWrite_name
00003a8e w .text 00000000 DMA1_Channel6_IRQHandler
00002008 g F .text 000000b6 list_msgqueue
00003a8e w .text 00000000 UART4_IRQHandler
00003a8e w .text 00000000 DMA2_Channel4_IRQHandler
00003f46 g F .text 00000090 USART_Init
00003a8e w .text 00000000 TIM3_IRQHandler
00003a8e w .text 00000000 RCC_IRQHandler
00000c14 g F .text 00000012 rt_strlen
000003a2 g F .text 0000000c .hidden __riscv_save_3
00003a8e w .text 00000000 TIM1_TRG_COM_IRQHandler
00005b78 g O .text 0000000c __fsym_reboot
00005b84 g O .text 0000000c __fsym___cmd_help
00003a8e w .text 00000000 DMA1_Channel1_IRQHandler
200001b4 g O .bss 00000001 rt_current_priority
00003098 g F .text 0000007e ch32_pin_mode
00005aac g O .text 0000000c __fsym___cmd_list_timer
00000000 g .init 00000000 _start
00004df8 g O .text 00000018 __fsym___cmd_list_mailbox_desc
00003a8e w .text 00000000 DMA2_Channel7_IRQHandler
20000140 g O .data 00000010 AHBPrescTable
00001e1c g F .text 000000ac list_event
000034c2 g F .text 00000080 EXTI15_10_IRQHandler
00004510 g F .text 00000028 strncmp
00002e08 g F .text 0000001a rt_pin_mode
00003fec g F .text 00000036 USART_ITConfig
00005bc0 g O .text 0000000c __fsym_pinMode
00004cf4 g O .text 00000016 __fsym___cmd_list_device_desc
00003bb4 g F .text 0000006a EXTI_Init
00005aa0 g O .text 0000000c __fsym_list_device
00005af4 g O .text 0000000c __fsym___cmd_list_mutex
00003b6c g F .text 0000003e broadcast_Scan_Fun
00002e3c g F .text 00000018 rt_pin_read
000051a0 g O .text 0000000b __fsym___cmd_help_name
00000480 g F .text 00000028 rt_tick_increase
000010fa g F .text 00000032 list_mem
000051dc g O .text 0000001b __fsym___cmd_ps_desc
00003a8e w .text 00000000 TIM7_IRQHandler
00004e78 g O .text 00000015 __fsym_list_mutex_desc
00001a42 g F .text 00000030 rt_timer_stop
00003a8e w .text 00000000 CAN2_TX_IRQHandler
000051ac g O .text 00000024 __fsym___cmd_free_desc
20000000 g .dalign 00000000 _data_vma
00000c26 g F .text 00000352 rt_vsnprintf
00005b3c g O .text 0000000c __fsym___cmd_list_thread
00003a8e w .text 00000000 TIM5_IRQHandler
000043fa g F .text 00000024 memcmp
00003058 g F .text 00000022 ch32_pin_write
0000344a g F .text 00000078 EXTI9_5_IRQHandler
00004f98 g O .text 00000014 __fsym_clear_desc
00001b74 g F .text 0000000e sw_clearpend
000004a8 g F .text 00000028 rt_tick_from_millisecond
20000200 g O .bss 00000004 _syscall_table_begin
00002f0c w F .text 0000000a rt_heap_end_get
00003d1a g F .text 0000002c GPIO_EXTILineConfig
0000037a g F .text 00000028 .hidden __riscv_save_10
00003542 g F .text 00000004 ch32dma_transmit
000025a4 g F .text 0000003c finsh_get_prompt
00003a8e w .text 00000000 ETH_WKUP_IRQHandler
000003bc g F .text 00000016 .hidden __riscv_restore_4
000003b2 g F .text 00000020 .hidden __riscv_restore_8
00001054 g F .text 0000004e __rt_ffs
00000388 g F .text 0000001a .hidden __riscv_save_6
00003c1e g F .text 0000001e EXTI_GetITStatus
00003a8e w .text 00000000 SPI2_IRQHandler
0000243c g F .text 000000a2 msh_auto_complete
2000020c g O .bss 00000004 _sysvar_table_end
00001636 g F .text 00000016 rt_enter_critical
00001892 g F .text 00000040 rt_thread_sleep
000003d2 g F .text 000000a8 memset
000003b2 g F .text 00000020 .hidden __riscv_restore_9
000041f2 g F .text 00000114 J5_0_485_Init
000003bc g F .text 00000016 .hidden __riscv_restore_7
000037fa g F .text 0000004a main
00005188 g O .text 00000015 __fsym___cmd_help_desc
00003a8e w .text 00000000 TIM10_BRK_IRQHandler
00000922 g F .text 0000002c rt_interrupt_leave
00003a8e w .text 00000000 TIM9_CC_IRQHandler
00004d5c g O .text 00000011 __fsym___cmd_list_timer_name
00003a8e w .text 00000000 DMA2_Channel5_IRQHandler
00001b2c g F .text 00000002 rt_system_timer_thread_init
00001778 g F .text 00000032 rt_thread_init
00004d44 g O .text 00000015 __fsym___cmd_list_timer_desc
00005bcc g .text 00000000 __vsymtab_start
00003b40 g F .text 0000002c Rs485_thread_Init
00003a8e w .text 00000000 DMA1_Channel5_IRQHandler
00003422 g F .text 00000028 EXTI4_IRQHandler
00004eec g O .text 00000019 __fsym___cmd_list_sem_desc
20000174 g O .bss 00000001 rt_interrupt_nest
00003a8e w .text 00000000 USB_LP_CAN1_RX0_IRQHandler
00004fb4 g O .text 00000011 __fsym___cmd_reboot_desc
00004e4c g O .text 00000015 __fsym___cmd_list_mutex_desc
00000fac w F .text 00000002 rt_hw_console_output
00004306 g F .text 0000001a USARTx_SendByte_str
20001724 g O .bss 00000100 USART_Rbuffer
200001ac g O .bss 00000004 rt_object_take_hook
0000403c g F .text 0000000c USART_ClearFlag
00002152 g F .text 0000009a list_timer
00004d94 g O .text 0000001d __fsym___cmd_list_msgqueue_desc
00003866 g F .text 000000fa SystemInit
00003a8e w .text 00000000 RNG_IRQHandler
000051d0 g O .text 0000000b __fsym___cmd_free_name
00001b82 g F .text 0000000c rt_hw_interrupt_disable
0000192c g F .text 0000002c rt_thread_startup
200001b8 g O .bss 00000004 rt_current_thread
00000f78 g F .text 00000006 rt_console_get_device
00004320 g F .text 000000da USARTx_SendStr_Len
00003a8e w .text 00000000 USB_HP_CAN1_TX_IRQHandler
00000000 g .init 00000000 _sinit
00004e90 g O .text 0000000b __fsym_list_mutex_name
00003a8e w .text 00000000 DMA1_Channel3_IRQHandler
200001cc g O .bss 00000004 rt_thread_ready_priority_group
00003a8e w .text 00000000 ETH_IRQHandler
00005b90 g O .text 0000000c __fsym___cmd_free
00003a8e w .text 00000000 TIM1_UP_IRQHandler
00004e10 g O .text 00000013 __fsym___cmd_list_mailbox_name
00004d0c g O .text 00000012 __fsym___cmd_list_device_name
200001c4 g O .bss 00000008 rt_thread_defunct
00005bdc g O .text 00000004 __rt_init_rti_board_end
00003a8e w .text 00000000 WWDG_IRQHandler
00005bb4 g O .text 0000000c __fsym_pinWrite
0000080e g F .text 00000028 rt_sem_init
00000236 g .text 00000000 rt_hw_context_switch_exit
00003a8e w .text 00000000 USBHSWakeup_IRQHandler
00000aee g F .text 00000088 rt_memset
00003a8e w .text 00000000 DMA2_Channel11_IRQHandler
000020be g F .text 00000094 list_device
00003a8e w .text 00000000 Ecall_U_Mode_Handler
00005ae8 g O .text 0000000c __fsym_list_mailbox
00000bea g F .text 0000002a rt_strncmp
00005b0c g O .text 0000000c __fsym___cmd_list_event
00003a8e w .text 00000000 DMA2_Channel6_IRQHandler
00005bcc g .text 00000000 __vsymtab_end
000052a4 g O .text 00000008 __fsym_pinRead_name
000051f8 g O .text 00000009 __fsym___cmd_ps_name
00005ab8 g O .text 0000000c __fsym_list_timer
00003a8e w .text 00000000 TIM2_IRQHandler
20010000 g .stack 00000000 _eusrstack
0000142a g F .text 0000002e rt_object_detach
000003a2 g F .text 0000000c .hidden __riscv_save_2
00000290 g .text 00000000 SW_Handler
00005bd8 g O .text 00000004 __rt_init_rt_hw_usart_init
00000ad2 g F .text 0000001c rt_set_errno
00001b22 g F .text 0000000a rt_system_timer_init
00003a8e w .text 00000000 TIM1_BRK_IRQHandler
000015f4 g F .text 00000042 rt_schedule_remove_thread
00004022 g F .text 00000008 USART_SendData
000008f6 g F .text 0000002c rt_interrupt_enter
00003a8e w .text 00000000 DMA2_Channel10_IRQHandler
000033aa g F .text 00000028 EXTI1_IRQHandler
00001b8e g F .text 00000006 rt_hw_interrupt_enable
00000388 g F .text 0000001a .hidden __riscv_save_5
20000214 g O .bss 00000001 USART_Rbuffer_Num
00005a7c g O .text 0000000c __fsym_list_mem
20000168 g .data 00000000 _edata
00003844 g F .text 00000014 hareware_init
00005a94 g O .text 0000000c __fsym___cmd_list_device
20001824 g .bss 00000000 _end
00004db4 g O .text 00000014 __fsym___cmd_list_msgqueue_name
0000164c g F .text 0000002e rt_exit_critical
00003a8e w .text 00000000 RTCAlarm_IRQHandler
00001ec8 g F .text 00000082 list_mutex
000024de g F .text 0000000e cmd_ps
00004194 g F .text 00000012 J8_PWR_Close
00005be8 g .dlalign 00000000 _data_lma
0000260e g F .text 0000007e finsh_set_device
00003a8e w .text 00000000 TIM10_UP_IRQHandler
00003a8e w .text 00000000 TIM9_TRG_COM_IRQHandler
00003a8e w .text 00000000 UART7_IRQHandler
00003038 g F .text 00000020 get_pin
00003a8e w .text 00000000 USART2_IRQHandler
00003a8e w .text 00000000 UART6_IRQHandler
00004182 g F .text 00000012 J7_PWR_Close
00000678 g F .text 00000038 rt_device_close
000017aa g F .text 00000006 rt_thread_self
00005be0 g O .text 00000004 __rt_init_finsh_system_init
00004d20 g O .text 00000016 __fsym_list_device_desc
00003960 g F .text 0000012e SystemCoreClockUpdate
00004f60 g O .text 0000000c __fsym_list_thread_desc
00003a8e w .text 00000000 I2C2_ER_IRQHandler
00003a8e w .text 00000000 DMA1_Channel2_IRQHandler
000014ae g F .text 00000032 rt_object_delete
00003610 g F .text 000000c0 rt_hw_usart_init
0000047a g F .text 00000006 rt_tick_get
000003ae g F .text 00000024 .hidden __riscv_restore_12
00003a8e w .text 00000000 TIM8_BRK_IRQHandler
00004ee0 g O .text 0000000b __fsym_list_event_name
00003a90 w .text 00000000 handle_reset
00003a8e w .text 00000000 CAN1_SCE_IRQHandler
00005b18 g O .text 0000000c __fsym_list_event
200001b0 g O .bss 00000004 rt_object_trytake_hook
00003a8e w .text 00000000 FLASH_IRQHandler
000003a2 g F .text 0000000c .hidden __riscv_save_0
00004eb4 g O .text 00000011 __fsym___cmd_list_event_name
000047d0 g O .text 0000001e __fsym_list_mem_desc
00000836 g F .text 00000080 rt_sem_take
00003770 g F .text 0000004a USART1_IRQHandler
00005b24 g O .text 0000000c __fsym___cmd_list_sem
000044fe g F .text 00000012 strlen
00003a8e w .text 00000000 SPI3_IRQHandler
00004d70 g O .text 00000015 __fsym_list_timer_desc
00000f7e g F .text 0000002e rt_console_set_device
00003116 g F .text 00000092 ch32_pin_attach_irq
00003a8e w .text 00000000 I2C1_ER_IRQHandler
00005bd0 g O .text 00000004 __rt_init_rti_board_start
000006cc g F .text 0000001c rt_device_write
00004f6c g O .text 0000000c __fsym_list_thread_name
00005a7c g .text 00000000 __fsymtab_start
000003c6 g F .text 0000000c .hidden __riscv_restore_1
0000301c g F .text 0000001c rt_hw_pin_init
00005b60 g O .text 0000000c __fsym_clear
00001542 g F .text 0000006a rt_schedule
000013cc g F .text 0000005e rt_object_init
0000307a g F .text 0000001e ch32_pin_read
00005b9c g O .text 0000000c __fsym___cmd_ps
00003d06 g F .text 0000000a GPIO_ReadInputDataBit
000052ac g O .text 0000001c __fsym_pinWrite_desc
000019c2 g F .text 00000080 rt_timer_start
00004098 g F .text 00000010 android_PowerCtrl_Init
00002236 g F .text 00000058 msh_help
00002d42 g F .text 000000aa rt_hw_serial_isr
00003a8e w .text 00000000 USBWakeUp_IRQHandler
000001dc g .text 00000000 rt_hw_context_switch
00003a8e w .text 00000000 DMA2_Channel3_IRQHandler
00003202 g F .text 0000015c ch32_pin_irq_enable
00004d38 g O .text 0000000c __fsym_list_device_name
00004dc8 g O .text 0000001d __fsym_list_msgqueue_desc
00004f18 g O .text 00000019 __fsym_list_sem_desc
Disassembly of section .init:
00000000 <_sinit>:
0: 2910306f j 3a90 <handle_reset>
Disassembly of section .vector:
00000004 <_vector_base>:
...
c: 37ba lhu a4,42(a5)
e: 0000 unimp
10: 37da lhu a4,44(a5)
12: 0000 unimp
14: 0000 unimp
16: 0000 unimp
18: 3a8e lhu a1,48(a3)
...
22: 0000 unimp
24: 3a8e lhu a1,48(a3)
26: 0000 unimp
28: 3a8e lhu a1,48(a3)
...
32: 0000 unimp
34: 2f8c lbu a1,24(a5)
36: 0000 unimp
38: 0000 unimp
3a: 0000 unimp
3c: 0290 addi a2,sp,320
3e: 0000 unimp
40: 0000 unimp
42: 0000 unimp
44: 3a8e lhu a1,48(a3)
46: 0000 unimp
48: 3a8e lhu a1,48(a3)
4a: 0000 unimp
4c: 3a8e lhu a1,48(a3)
4e: 0000 unimp
50: 3a8e lhu a1,48(a3)
52: 0000 unimp
54: 3a8e lhu a1,48(a3)
56: 0000 unimp
58: 3a8e lhu a1,48(a3)
5a: 0000 unimp
5c: 3382 lhu s0,32(a5)
5e: 0000 unimp
60: 33aa lhu a0,34(a5)
62: 0000 unimp
64: 33d2 lhu a2,36(a5)
66: 0000 unimp
68: 33fa lhu a4,38(a5)
6a: 0000 unimp
6c: 3422 lhu s0,42(s0)
6e: 0000 unimp
70: 3a8e lhu a1,48(a3)
72: 0000 unimp
74: 3a8e lhu a1,48(a3)
76: 0000 unimp
78: 3a8e lhu a1,48(a3)
7a: 0000 unimp
7c: 3a8e lhu a1,48(a3)
7e: 0000 unimp
80: 3a8e lhu a1,48(a3)
82: 0000 unimp
84: 3a8e lhu a1,48(a3)
86: 0000 unimp
88: 3a8e lhu a1,48(a3)
8a: 0000 unimp
8c: 3a8e lhu a1,48(a3)
8e: 0000 unimp
90: 3a8e lhu a1,48(a3)
92: 0000 unimp
94: 3a8e lhu a1,48(a3)
96: 0000 unimp
98: 3a8e lhu a1,48(a3)
9a: 0000 unimp
9c: 3a8e lhu a1,48(a3)
9e: 0000 unimp
a0: 344a lhu a0,44(s0)
a2: 0000 unimp
a4: 3a8e lhu a1,48(a3)
a6: 0000 unimp
a8: 3a8e lhu a1,48(a3)
aa: 0000 unimp
ac: 3a8e lhu a1,48(a3)
ae: 0000 unimp
b0: 3a8e lhu a1,48(a3)
b2: 0000 unimp
b4: 3a8e lhu a1,48(a3)
b6: 0000 unimp
b8: 3a8e lhu a1,48(a3)
ba: 0000 unimp
bc: 3a8e lhu a1,48(a3)
be: 0000 unimp
c0: 3a8e lhu a1,48(a3)
c2: 0000 unimp
c4: 3a8e lhu a1,48(a3)
c6: 0000 unimp
c8: 3a8e lhu a1,48(a3)
ca: 0000 unimp
cc: 3a8e lhu a1,48(a3)
ce: 0000 unimp
d0: 3a8e lhu a1,48(a3)
d2: 0000 unimp
d4: 3a8e lhu a1,48(a3)
d6: 0000 unimp
d8: 3770 lbu a2,15(a4)
da: 0000 unimp
dc: 3a8e lhu a1,48(a3)
de: 0000 unimp
e0: 40b8 lw a4,64(s1)
e2: 0000 unimp
e4: 34c2 lhu s0,44(s1)
e6: 0000 unimp
e8: 3a8e lhu a1,48(a3)
ea: 0000 unimp
ec: 3a8e lhu a1,48(a3)
ee: 0000 unimp
f0: 3a8e lhu a1,48(a3)
f2: 0000 unimp
f4: 3a8e lhu a1,48(a3)
f6: 0000 unimp
f8: 3a8e lhu a1,48(a3)
fa: 0000 unimp
fc: 3a8e lhu a1,48(a3)
fe: 0000 unimp
100: 3a8e lhu a1,48(a3)
102: 0000 unimp
104: 0000 unimp
106: 0000 unimp
108: 3a8e lhu a1,48(a3)
10a: 0000 unimp
10c: 3a8e lhu a1,48(a3)
10e: 0000 unimp
110: 3a8e lhu a1,48(a3)
112: 0000 unimp
114: 3a8e lhu a1,48(a3)
116: 0000 unimp
118: 3a8e lhu a1,48(a3)
11a: 0000 unimp
11c: 3a8e lhu a1,48(a3)
11e: 0000 unimp
120: 3a8e lhu a1,48(a3)
122: 0000 unimp
124: 3a8e lhu a1,48(a3)
126: 0000 unimp
128: 3a8e lhu a1,48(a3)
12a: 0000 unimp
12c: 3a8e lhu a1,48(a3)
12e: 0000 unimp
130: 3a8e lhu a1,48(a3)
132: 0000 unimp
134: 3a8e lhu a1,48(a3)
136: 0000 unimp
138: 3a8e lhu a1,48(a3)
13a: 0000 unimp
13c: 3a8e lhu a1,48(a3)
13e: 0000 unimp
140: 3a8e lhu a1,48(a3)
142: 0000 unimp
144: 3a8e lhu a1,48(a3)
146: 0000 unimp
148: 3a8e lhu a1,48(a3)
14a: 0000 unimp
14c: 3a8e lhu a1,48(a3)
14e: 0000 unimp
150: 3a8e lhu a1,48(a3)
152: 0000 unimp
154: 3a8e lhu a1,48(a3)
156: 0000 unimp
158: 3a8e lhu a1,48(a3)
15a: 0000 unimp
15c: 3a8e lhu a1,48(a3)
15e: 0000 unimp
160: 3a8e lhu a1,48(a3)
162: 0000 unimp
164: 3a8e lhu a1,48(a3)
166: 0000 unimp
168: 3a8e lhu a1,48(a3)
16a: 0000 unimp
16c: 3a8e lhu a1,48(a3)
16e: 0000 unimp
170: 3a8e lhu a1,48(a3)
172: 0000 unimp
174: 3a8e lhu a1,48(a3)
176: 0000 unimp
178: 3a8e lhu a1,48(a3)
17a: 0000 unimp
17c: 3a8e lhu a1,48(a3)
17e: 0000 unimp
180: 3a8e lhu a1,48(a3)
182: 0000 unimp
184: 3a8e lhu a1,48(a3)
186: 0000 unimp
188: 3a8e lhu a1,48(a3)
18a: 0000 unimp
18c: 3a8e lhu a1,48(a3)
18e: 0000 unimp
190: 3a8e lhu a1,48(a3)
192: 0000 unimp
194: 3a8e lhu a1,48(a3)
196: 0000 unimp
198: 3a8e lhu a1,48(a3)
19a: 0000 unimp
19c: 3a8e lhu a1,48(a3)
19e: 0000 unimp
1a0: 3a8e lhu a1,48(a3)
...
Disassembly of section .text:
000001c0 <rt_hw_context_switch_to>:
1c0: 20010297 auipc t0,0x20010
1c4: e4028293 addi t0,t0,-448 # 20010000 <_eusrstack>
1c8: e0028293 addi t0,t0,-512
1cc: 34029073 csrw mscratch,t0
1d0: 00052103 lw sp,0(a0)
1d4: 4522 lw a0,8(sp)
1d6: 30051073 csrw mstatus,a0
1da: a8b1 j 236 <rt_hw_context_switch_exit>
000001dc <rt_hw_context_switch>:
1dc: 7119 addi sp,sp,-128
1de: 00252023 sw sp,0(a0)
1e2: c006 sw ra,0(sp)
1e4: c206 sw ra,4(sp)
1e6: ca16 sw t0,20(sp)
1e8: 300022f3 csrr t0,mstatus
1ec: 0082f293 andi t0,t0,8
1f0: 00028463 beqz t0,1f8 <rt_hw_context_switch+0x1c>
1f4: 08000293 li t0,128
1f8: c416 sw t0,8(sp)
1fa: c812 sw tp,16(sp)
1fc: cc1a sw t1,24(sp)
1fe: ce1e sw t2,28(sp)
200: d022 sw s0,32(sp)
202: d226 sw s1,36(sp)
204: d42a sw a0,40(sp)
206: d62e sw a1,44(sp)
208: d832 sw a2,48(sp)
20a: da36 sw a3,52(sp)
20c: dc3a sw a4,56(sp)
20e: de3e sw a5,60(sp)
210: c0c2 sw a6,64(sp)
212: c2c6 sw a7,68(sp)
214: c4ca sw s2,72(sp)
216: c6ce sw s3,76(sp)
218: c8d2 sw s4,80(sp)
21a: cad6 sw s5,84(sp)
21c: ccda sw s6,88(sp)
21e: cede sw s7,92(sp)
220: d0e2 sw s8,96(sp)
222: d2e6 sw s9,100(sp)
224: d4ea sw s10,104(sp)
226: d6ee sw s11,108(sp)
228: d8f2 sw t3,112(sp)
22a: daf6 sw t4,116(sp)
22c: dcfa sw t5,120(sp)
22e: defe sw t6,124(sp)
230: 0005a103 lw sp,0(a1)
234: a009 j 236 <rt_hw_context_switch_exit>
00000236 <rt_hw_context_switch_exit>:
236: 4502 lw a0,0(sp)
238: 34151073 csrw mepc,a0
23c: 4092 lw ra,4(sp)
23e: 00008537 lui a0,0x8
242: 80050513 addi a0,a0,-2048 # 7800 <__rt_init_end+0x1c18>
246: 30052073 csrs mstatus,a0
24a: 4522 lw a0,8(sp)
24c: 30052073 csrs mstatus,a0
250: 4242 lw tp,16(sp)
252: 42d2 lw t0,20(sp)
254: 4362 lw t1,24(sp)
256: 43f2 lw t2,28(sp)
258: 5402 lw s0,32(sp)
25a: 5492 lw s1,36(sp)
25c: 5522 lw a0,40(sp)
25e: 55b2 lw a1,44(sp)
260: 5642 lw a2,48(sp)
262: 56d2 lw a3,52(sp)
264: 5762 lw a4,56(sp)
266: 57f2 lw a5,60(sp)
268: 4806 lw a6,64(sp)
26a: 4896 lw a7,68(sp)
26c: 4926 lw s2,72(sp)
26e: 49b6 lw s3,76(sp)
270: 4a46 lw s4,80(sp)
272: 4ad6 lw s5,84(sp)
274: 4b66 lw s6,88(sp)
276: 4bf6 lw s7,92(sp)
278: 5c06 lw s8,96(sp)
27a: 5c96 lw s9,100(sp)
27c: 5d26 lw s10,104(sp)
27e: 5db6 lw s11,108(sp)
280: 5e46 lw t3,112(sp)
282: 5ed6 lw t4,116(sp)
284: 5f66 lw t5,120(sp)
286: 5ff6 lw t6,124(sp)
288: 6109 addi sp,sp,128
28a: 30200073 mret
...
00000290 <SW_Handler>:
290: 7119 addi sp,sp,-128
292: ca16 sw t0,20(sp)
294: 08000293 li t0,128
298: c416 sw t0,8(sp)
29a: 02000293 li t0,32
29e: 8042a073 csrs 0x804,t0
2a2: c206 sw ra,4(sp)
2a4: c812 sw tp,16(sp)
2a6: cc1a sw t1,24(sp)
2a8: ce1e sw t2,28(sp)
2aa: d022 sw s0,32(sp)
2ac: d226 sw s1,36(sp)
2ae: d42a sw a0,40(sp)
2b0: d62e sw a1,44(sp)
2b2: d832 sw a2,48(sp)
2b4: da36 sw a3,52(sp)
2b6: dc3a sw a4,56(sp)
2b8: de3e sw a5,60(sp)
2ba: c0c2 sw a6,64(sp)
2bc: c2c6 sw a7,68(sp)
2be: c4ca sw s2,72(sp)
2c0: c6ce sw s3,76(sp)
2c2: c8d2 sw s4,80(sp)
2c4: cad6 sw s5,84(sp)
2c6: ccda sw s6,88(sp)
2c8: cede sw s7,92(sp)
2ca: d0e2 sw s8,96(sp)
2cc: d2e6 sw s9,100(sp)
2ce: d4ea sw s10,104(sp)
2d0: d6ee sw s11,108(sp)
2d2: d8f2 sw t3,112(sp)
2d4: daf6 sw t4,116(sp)
2d6: dcfa sw t5,120(sp)
2d8: defe sw t6,124(sp)
2da: 34011173 csrrw sp,mscratch,sp
2de: 618000ef jal ra,8f6 <rt_interrupt_enter>
2e2: 093010ef jal ra,1b74 <sw_clearpend>
2e6: 63c000ef jal ra,922 <rt_interrupt_leave>
2ea: 34011173 csrrw sp,mscratch,sp
2ee: 89818413 addi s0,gp,-1896 # 200001f8 <rt_thread_switch_interrupt_flag>
2f2: 00042903 lw s2,0(s0)
2f6: 02090463 beqz s2,31e <SW_Handler+0x8e>
2fa: 00042023 sw zero,0(s0)
2fe: 34102573 csrr a0,mepc
302: c02a sw a0,0(sp)
304: 89018413 addi s0,gp,-1904 # 200001f0 <rt_interrupt_from_thread>
308: 4004 lw s1,0(s0)
30a: 0024a023 sw sp,0(s1)
30e: 89418413 addi s0,gp,-1900 # 200001f4 <rt_interrupt_to_thread>
312: 4004 lw s1,0(s0)
314: 0004a103 lw sp,0(s1)
318: 4502 lw a0,0(sp)
31a: 34151073 csrw mepc,a0
31e: 4092 lw ra,4(sp)
320: 000082b7 lui t0,0x8
324: 80028293 addi t0,t0,-2048 # 7800 <__rt_init_end+0x1c18>
328: 3002a073 csrs mstatus,t0
32c: 42a2 lw t0,8(sp)
32e: 3002a073 csrs mstatus,t0
332: 4242 lw tp,16(sp)
334: 42d2 lw t0,20(sp)
336: 4362 lw t1,24(sp)
338: 43f2 lw t2,28(sp)
33a: 5402 lw s0,32(sp)
33c: 5492 lw s1,36(sp)
33e: 5522 lw a0,40(sp)
340: 55b2 lw a1,44(sp)
342: 5642 lw a2,48(sp)
344: 56d2 lw a3,52(sp)
346: 5762 lw a4,56(sp)
348: 57f2 lw a5,60(sp)
34a: 4806 lw a6,64(sp)
34c: 4896 lw a7,68(sp)
34e: 4926 lw s2,72(sp)
350: 49b6 lw s3,76(sp)
352: 4a46 lw s4,80(sp)
354: 4ad6 lw s5,84(sp)
356: 4b66 lw s6,88(sp)
358: 4bf6 lw s7,92(sp)
35a: 5c06 lw s8,96(sp)
35c: 5c96 lw s9,100(sp)
35e: 5d26 lw s10,104(sp)
360: 5db6 lw s11,108(sp)
362: 5e46 lw t3,112(sp)
364: 5ed6 lw t4,116(sp)
366: 5f66 lw t5,120(sp)
368: 5ff6 lw t6,124(sp)
36a: 6109 addi sp,sp,128
36c: 30200073 mret
...
00000372 <__riscv_save_12>:
372: 7139 addi sp,sp,-64
374: 4301 li t1,0
376: c66e sw s11,12(sp)
378: a019 j 37e <__riscv_save_10+0x4>
0000037a <__riscv_save_10>:
37a: 7139 addi sp,sp,-64
37c: 5341 li t1,-16
37e: c86a sw s10,16(sp)
380: ca66 sw s9,20(sp)
382: cc62 sw s8,24(sp)
384: ce5e sw s7,28(sp)
386: a019 j 38c <__riscv_save_4+0x4>
00000388 <__riscv_save_4>:
388: 7139 addi sp,sp,-64
38a: 5301 li t1,-32
38c: d05a sw s6,32(sp)
38e: d256 sw s5,36(sp)
390: d452 sw s4,40(sp)
392: d64e sw s3,44(sp)
394: d84a sw s2,48(sp)
396: da26 sw s1,52(sp)
398: dc22 sw s0,56(sp)
39a: de06 sw ra,60(sp)
39c: 40610133 sub sp,sp,t1
3a0: 8282 jr t0
000003a2 <__riscv_save_0>:
3a2: 1141 addi sp,sp,-16
3a4: c04a sw s2,0(sp)
3a6: c226 sw s1,4(sp)
3a8: c422 sw s0,8(sp)
3aa: c606 sw ra,12(sp)
3ac: 8282 jr t0
000003ae <__riscv_restore_12>:
3ae: 4db2 lw s11,12(sp)
3b0: 0141 addi sp,sp,16
000003b2 <__riscv_restore_10>:
3b2: 4d02 lw s10,0(sp)
3b4: 4c92 lw s9,4(sp)
3b6: 4c22 lw s8,8(sp)
3b8: 4bb2 lw s7,12(sp)
3ba: 0141 addi sp,sp,16
000003bc <__riscv_restore_4>:
3bc: 4b02 lw s6,0(sp)
3be: 4a92 lw s5,4(sp)
3c0: 4a22 lw s4,8(sp)
3c2: 49b2 lw s3,12(sp)
3c4: 0141 addi sp,sp,16
000003c6 <__riscv_restore_0>:
3c6: 4902 lw s2,0(sp)
3c8: 4492 lw s1,4(sp)
3ca: 4422 lw s0,8(sp)
3cc: 40b2 lw ra,12(sp)
3ce: 0141 addi sp,sp,16
3d0: 8082 ret
000003d2 <memset>:
3d2: 433d li t1,15
3d4: 872a mv a4,a0
3d6: 02c37363 bgeu t1,a2,3fc <memset+0x2a>
3da: 00f77793 andi a5,a4,15
3de: efbd bnez a5,45c <memset+0x8a>
3e0: e5ad bnez a1,44a <memset+0x78>
3e2: ff067693 andi a3,a2,-16
3e6: 8a3d andi a2,a2,15
3e8: 96ba add a3,a3,a4
3ea: c30c sw a1,0(a4)
3ec: c34c sw a1,4(a4)
3ee: c70c sw a1,8(a4)
3f0: c74c sw a1,12(a4)
3f2: 0741 addi a4,a4,16
3f4: fed76be3 bltu a4,a3,3ea <memset+0x18>
3f8: e211 bnez a2,3fc <memset+0x2a>
3fa: 8082 ret
3fc: 40c306b3 sub a3,t1,a2
400: 068a slli a3,a3,0x2
402: 00000297 auipc t0,0x0
406: 9696 add a3,a3,t0
408: 00a68067 jr 10(a3)
40c: 00b70723 sb a1,14(a4)
410: 00b706a3 sb a1,13(a4)
414: 00b70623 sb a1,12(a4)
418: 00b705a3 sb a1,11(a4)
41c: 00b70523 sb a1,10(a4)
420: 00b704a3 sb a1,9(a4)
424: 00b70423 sb a1,8(a4)
428: 00b703a3 sb a1,7(a4)
42c: 00b70323 sb a1,6(a4)
430: 00b702a3 sb a1,5(a4)
434: 00b70223 sb a1,4(a4)
438: 00b701a3 sb a1,3(a4)
43c: 00b70123 sb a1,2(a4)
440: 00b700a3 sb a1,1(a4)
444: 00b70023 sb a1,0(a4)
448: 8082 ret
44a: 0ff5f593 andi a1,a1,255
44e: 00859693 slli a3,a1,0x8
452: 8dd5 or a1,a1,a3
454: 01059693 slli a3,a1,0x10
458: 8dd5 or a1,a1,a3
45a: b761 j 3e2 <memset+0x10>
45c: 00279693 slli a3,a5,0x2
460: 00000297 auipc t0,0x0
464: 9696 add a3,a3,t0
466: 8286 mv t0,ra
468: fa8680e7 jalr -88(a3)
46c: 8096 mv ra,t0
46e: 17c1 addi a5,a5,-16
470: 8f1d sub a4,a4,a5
472: 963e add a2,a2,a5
474: f8c374e3 bgeu t1,a2,3fc <memset+0x2a>
478: b7a5 j 3e0 <memset+0xe>
0000047a <rt_tick_get>:
47a: 8081a503 lw a0,-2040(gp) # 20000168 <_edata>
47e: 8082 ret
00000480 <rt_tick_increase>:
480: f23ff2ef jal t0,3a2 <__riscv_save_0>
484: 80818793 addi a5,gp,-2040 # 20000168 <_edata>
488: 4398 lw a4,0(a5)
48a: 0705 addi a4,a4,1
48c: c398 sw a4,0(a5)
48e: 31c010ef jal ra,17aa <rt_thread_self>
492: 453c lw a5,72(a0)
494: 17fd addi a5,a5,-1
496: c53c sw a5,72(a0)
498: e789 bnez a5,4a2 <rt_tick_increase+0x22>
49a: 417c lw a5,68(a0)
49c: c53c sw a5,72(a0)
49e: 358010ef jal ra,17f6 <rt_thread_yield>
4a2: 608010ef jal ra,1aaa <rt_timer_check>
4a6: b705 j 3c6 <__riscv_restore_0>
000004a8 <rt_tick_from_millisecond>:
4a8: 02054263 bltz a0,4cc <rt_tick_from_millisecond+0x24>
4ac: 3e800793 li a5,1000
4b0: 02f54733 div a4,a0,a5
4b4: 02f56533 rem a0,a0,a5
4b8: 02f50533 mul a0,a0,a5
4bc: 3e750513 addi a0,a0,999
4c0: 02f54533 div a0,a0,a5
4c4: 02f70733 mul a4,a4,a5
4c8: 953a add a0,a0,a4
4ca: 8082 ret
4cc: 557d li a0,-1
4ce: 8082 ret
000004d0 <rti_start>:
4d0: 4501 li a0,0
4d2: 8082 ret
000004d4 <rti_end>:
4d4: 4501 li a0,0
4d6: 8082 ret
000004d8 <rti_board_start>:
4d8: 4501 li a0,0
4da: 8082 ret
000004dc <rti_board_end>:
4dc: 4501 li a0,0
4de: 8082 ret
000004e0 <rt_components_board_init>:
4e0: ec3ff2ef jal t0,3a2 <__riscv_save_0>
4e4: 6419 lui s0,0x6
4e6: 6499 lui s1,0x6
4e8: bd040413 addi s0,s0,-1072 # 5bd0 <__rt_init_rti_board_start>
4ec: bdc48493 addi s1,s1,-1060 # 5bdc <__rt_init_rti_board_end>
4f0: 00946363 bltu s0,s1,4f6 <rt_components_board_init+0x16>
4f4: bdc9 j 3c6 <__riscv_restore_0>
4f6: 401c lw a5,0(s0)
4f8: 0411 addi s0,s0,4
4fa: 9782 jalr a5
4fc: bfd5 j 4f0 <rt_components_board_init+0x10>
000004fe <rt_components_init>:
4fe: ea5ff2ef jal t0,3a2 <__riscv_save_0>
502: 6419 lui s0,0x6
504: 6499 lui s1,0x6
506: bdc40413 addi s0,s0,-1060 # 5bdc <__rt_init_rti_board_end>
50a: be448493 addi s1,s1,-1052 # 5be4 <__rt_init_rti_end>
50e: 00946363 bltu s0,s1,514 <rt_components_init+0x16>
512: bd55 j 3c6 <__riscv_restore_0>
514: 401c lw a5,0(s0)
516: 0411 addi s0,s0,4
518: 9782 jalr a5
51a: bfd5 j 50e <rt_components_init+0x10>
0000051c <main_thread_entry>:
51c: e87ff2ef jal t0,3a2 <__riscv_save_0>
520: 3ff9 jal 4fe <rt_components_init>
522: 2d8030ef jal ra,37fa <main>
526: b545 j 3c6 <__riscv_restore_0>
00000528 <rt_application_init>:
528: e7bff2ef jal t0,3a2 <__riscv_save_0>
52c: 000005b7 lui a1,0x0
530: 00004537 lui a0,0x4
534: 47d1 li a5,20
536: 4715 li a4,5
538: 20000693 li a3,512
53c: 4601 li a2,0
53e: 51c58593 addi a1,a1,1308 # 51c <main_thread_entry>
542: 58850513 addi a0,a0,1416 # 4588 <strncmp+0x78>
546: 26a010ef jal ra,17b0 <rt_thread_create>
54a: 3e2010ef jal ra,192c <rt_thread_startup>
54e: bda5 j 3c6 <__riscv_restore_0>
00000550 <rtthread_startup>:
550: e53ff2ef jal t0,3a2 <__riscv_save_0>
554: 62e010ef jal ra,1b82 <rt_hw_interrupt_disable>
558: 1bf020ef jal ra,2f16 <rt_hw_board_init>
55c: 2bb000ef jal ra,1016 <rt_show_version>
560: 5c2010ef jal ra,1b22 <rt_system_timer_init>
564: 785000ef jal ra,14e8 <rt_system_scheduler_init>
568: 37c1 jal 528 <rt_application_init>
56a: 5c2010ef jal ra,1b2c <rt_system_timer_thread_init>
56e: 2c01 jal 77e <rt_thread_idle_init>
570: 7a7000ef jal ra,1516 <rt_system_scheduler_start>
574: 4501 li a0,0
576: bd81 j 3c6 <__riscv_restore_0>
00000578 <entry>:
578: e2bff2ef jal t0,3a2 <__riscv_save_0>
57c: 3fd1 jal 550 <rtthread_startup>
57e: 4501 li a0,0
580: b599 j 3c6 <__riscv_restore_0>
00000582 <rt_device_find>:
582: e07ff2ef jal t0,388 <__riscv_save_4>
586: 89aa mv s3,a0
588: 222010ef jal ra,17aa <rt_thread_self>
58c: c119 beqz a0,592 <rt_device_find+0x10>
58e: 0a8010ef jal ra,1636 <rt_enter_critical>
592: 4525 li a0,9
594: 60f000ef jal ra,13a2 <rt_object_get_information>
598: 4144 lw s1,4(a0)
59a: 00450413 addi s0,a0,4
59e: 00849663 bne s1,s0,5aa <rt_device_find+0x28>
5a2: 208010ef jal ra,17aa <rt_thread_self>
5a6: 4901 li s2,0
5a8: a811 j 5bc <rt_device_find+0x3a>
5aa: ff448913 addi s2,s1,-12
5ae: 4621 li a2,8
5b0: 85ce mv a1,s3
5b2: 854a mv a0,s2
5b4: 2d1d jal bea <rt_strncmp>
5b6: e901 bnez a0,5c6 <rt_device_find+0x44>
5b8: 1f2010ef jal ra,17aa <rt_thread_self>
5bc: c119 beqz a0,5c2 <rt_device_find+0x40>
5be: 08e010ef jal ra,164c <rt_exit_critical>
5c2: 854a mv a0,s2
5c4: bbe5 j 3bc <__riscv_restore_4>
5c6: 4084 lw s1,0(s1)
5c8: bfd9 j 59e <rt_device_find+0x1c>
000005ca <rt_device_register>:
5ca: e509 bnez a0,5d4 <rt_device_register+0xa>
5cc: 557d li a0,-1
5ce: 8082 ret
5d0: 557d li a0,-1
5d2: bbd5 j 3c6 <__riscv_restore_0>
5d4: dcfff2ef jal t0,3a2 <__riscv_save_0>
5d8: 842a mv s0,a0
5da: 852e mv a0,a1
5dc: 8932 mv s2,a2
5de: 84ae mv s1,a1
5e0: 374d jal 582 <rt_device_find>
5e2: f57d bnez a0,5d0 <rt_device_register+0x6>
5e4: 8522 mv a0,s0
5e6: 8626 mv a2,s1
5e8: 45a5 li a1,9
5ea: 5e3000ef jal ra,13cc <rt_object_init>
5ee: 4501 li a0,0
5f0: 01241c23 sh s2,24(s0)
5f4: 00040e23 sb zero,28(s0)
5f8: 00041d23 sh zero,26(s0)
5fc: bfd9 j 5d2 <rt_device_register+0x8>
000005fe <rt_device_open>:
5fe: da5ff2ef jal t0,3a2 <__riscv_save_0>
602: 2d1e lhu a5,24(a0)
604: 1141 addi sp,sp,-16
606: 842a mv s0,a0
608: 8bc1 andi a5,a5,16
60a: e79d bnez a5,638 <rt_device_open+0x3a>
60c: 551c lw a5,40(a0)
60e: c38d beqz a5,630 <rt_device_open+0x32>
610: c62e sw a1,12(sp)
612: 9782 jalr a5
614: 84aa mv s1,a0
616: 45b2 lw a1,12(sp)
618: cd01 beqz a0,630 <rt_device_open+0x32>
61a: 862a mv a2,a0
61c: 00004537 lui a0,0x4
620: 85a2 mv a1,s0
622: 59050513 addi a0,a0,1424 # 4590 <strncmp+0x80>
626: 189000ef jal ra,fae <rt_kprintf>
62a: 8526 mv a0,s1
62c: 0141 addi sp,sp,16
62e: bb61 j 3c6 <__riscv_restore_0>
630: 2c1e lhu a5,24(s0)
632: 0107e793 ori a5,a5,16
636: ac1e sh a5,24(s0)
638: 2c1e lhu a5,24(s0)
63a: 8ba1 andi a5,a5,8
63c: c789 beqz a5,646 <rt_device_open+0x48>
63e: 2c3e lhu a5,26(s0)
640: 54e5 li s1,-7
642: 8ba1 andi a5,a5,8
644: f3fd bnez a5,62a <rt_device_open+0x2c>
646: 545c lw a5,44(s0)
648: cf89 beqz a5,662 <rt_device_open+0x64>
64a: 8522 mv a0,s0
64c: 9782 jalr a5
64e: 84aa mv s1,a0
650: e105 bnez a0,670 <rt_device_open+0x72>
652: 2c3e lhu a5,26(s0)
654: 0087e793 ori a5,a5,8
658: ac3e sh a5,26(s0)
65a: 2c5c lbu a5,28(s0)
65c: 0785 addi a5,a5,1
65e: ac5c sb a5,28(s0)
660: b7e9 j 62a <rt_device_open+0x2c>
662: 6785 lui a5,0x1
664: f0f78793 addi a5,a5,-241 # f0f <rt_vsnprintf+0x2e9>
668: 8dfd and a1,a1,a5
66a: ac2e sh a1,26(s0)
66c: 4481 li s1,0
66e: b7d5 j 652 <rt_device_open+0x54>
670: 57e9 li a5,-6
672: faf51ce3 bne a0,a5,62a <rt_device_open+0x2c>
676: bff1 j 652 <rt_device_open+0x54>
00000678 <rt_device_close>:
678: 2d5c lbu a5,28(a0)
67a: cb85 beqz a5,6aa <rt_device_close+0x32>
67c: d27ff2ef jal t0,3a2 <__riscv_save_0>
680: 17fd addi a5,a5,-1
682: 0ff7f793 andi a5,a5,255
686: ad5c sb a5,28(a0)
688: 842a mv s0,a0
68a: 4701 li a4,0
68c: ef89 bnez a5,6a6 <rt_device_close+0x2e>
68e: 591c lw a5,48(a0)
690: e789 bnez a5,69a <rt_device_close+0x22>
692: 4701 li a4,0
694: 00041d23 sh zero,26(s0)
698: a039 j 6a6 <rt_device_close+0x2e>
69a: 9782 jalr a5
69c: 872a mv a4,a0
69e: d975 beqz a0,692 <rt_device_close+0x1a>
6a0: 57e9 li a5,-6
6a2: fef509e3 beq a0,a5,694 <rt_device_close+0x1c>
6a6: 853a mv a0,a4
6a8: bb39 j 3c6 <__riscv_restore_0>
6aa: 577d li a4,-1
6ac: 853a mv a0,a4
6ae: 8082 ret
000006b0 <rt_device_read>:
6b0: cf3ff2ef jal t0,3a2 <__riscv_save_0>
6b4: 2d58 lbu a4,28(a0)
6b6: e709 bnez a4,6c0 <rt_device_read+0x10>
6b8: 557d li a0,-1
6ba: 2921 jal ad2 <rt_set_errno>
6bc: 4501 li a0,0
6be: a021 j 6c6 <rt_device_read+0x16>
6c0: 595c lw a5,52(a0)
6c2: c399 beqz a5,6c8 <rt_device_read+0x18>
6c4: 9782 jalr a5
6c6: b301 j 3c6 <__riscv_restore_0>
6c8: 5569 li a0,-6
6ca: bfc5 j 6ba <rt_device_read+0xa>
000006cc <rt_device_write>:
6cc: cd7ff2ef jal t0,3a2 <__riscv_save_0>
6d0: 2d58 lbu a4,28(a0)
6d2: e709 bnez a4,6dc <rt_device_write+0x10>
6d4: 557d li a0,-1
6d6: 2ef5 jal ad2 <rt_set_errno>
6d8: 4501 li a0,0
6da: a021 j 6e2 <rt_device_write+0x16>
6dc: 5d1c lw a5,56(a0)
6de: c399 beqz a5,6e4 <rt_device_write+0x18>
6e0: 9782 jalr a5
6e2: b1d5 j 3c6 <__riscv_restore_0>
6e4: 5569 li a0,-6
6e6: bfc5 j 6d6 <rt_device_write+0xa>
000006e8 <rt_device_set_rx_indicate>:
6e8: d10c sw a1,32(a0)
6ea: 4501 li a0,0
6ec: 8082 ret
000006ee <rt_thread_idle_excute>:
6ee: c9bff2ef jal t0,388 <__riscv_save_4>
6f2: 86418993 addi s3,gp,-1948 # 200001c4 <rt_thread_defunct>
6f6: 4a85 li s5,1
6f8: 8641a783 lw a5,-1948(gp) # 200001c4 <rt_thread_defunct>
6fc: 05378663 beq a5,s3,748 <rt_thread_idle_excute+0x5a>
700: 482010ef jal ra,1b82 <rt_hw_interrupt_disable>
704: 8641a783 lw a5,-1948(gp) # 200001c4 <rt_thread_defunct>
708: 8a2a mv s4,a0
70a: 03378d63 beq a5,s3,744 <rt_thread_idle_excute+0x56>
70e: 8641a403 lw s0,-1948(gp) # 200001c4 <rt_thread_defunct>
712: 405c lw a5,4(s0)
714: 4018 lw a4,0(s0)
716: fec40913 addi s2,s0,-20
71a: c35c sw a5,4(a4)
71c: c398 sw a4,0(a5)
71e: c040 sw s0,4(s0)
720: c000 sw s0,0(s0)
722: 715000ef jal ra,1636 <rt_enter_critical>
726: 507c lw a5,100(s0)
728: c399 beqz a5,72e <rt_thread_idle_excute+0x40>
72a: 854a mv a0,s2
72c: 9782 jalr a5
72e: 854a mv a0,s2
730: 5b1000ef jal ra,14e0 <rt_object_is_systemobject>
734: 01551b63 bne a0,s5,74a <rt_thread_idle_excute+0x5c>
738: 854a mv a0,s2
73a: 4f1000ef jal ra,142a <rt_object_detach>
73e: 70f000ef jal ra,164c <rt_exit_critical>
742: 8552 mv a0,s4
744: 44a010ef jal ra,1b8e <rt_hw_interrupt_enable>
748: b995 j 3bc <__riscv_restore_4>
74a: 703000ef jal ra,164c <rt_exit_critical>
74e: 8552 mv a0,s4
750: 43e010ef jal ra,1b8e <rt_hw_interrupt_enable>
754: 4848 lw a0,20(s0)
756: 3a3000ef jal ra,12f8 <rt_free>
75a: 854a mv a0,s2
75c: 553000ef jal ra,14ae <rt_object_delete>
760: bf61 j 6f8 <rt_thread_idle_excute+0xa>
00000762 <rt_thread_idle_entry>:
762: c41ff2ef jal t0,3a2 <__riscv_save_0>
766: 93818413 addi s0,gp,-1736 # 20000298 <idle_hook_list>
76a: 01040913 addi s2,s0,16
76e: 401c lw a5,0(s0)
770: c391 beqz a5,774 <rt_thread_idle_entry+0x12>
772: 9782 jalr a5
774: 0411 addi s0,s0,4
776: ff241ce3 bne s0,s2,76e <rt_thread_idle_entry+0xc>
77a: 3f95 jal 6ee <rt_thread_idle_excute>
77c: b7ed j 766 <rt_thread_idle_entry+0x4>
0000077e <rt_thread_idle_init>:
77e: c25ff2ef jal t0,3a2 <__riscv_save_0>
782: 00000637 lui a2,0x0
786: 000045b7 lui a1,0x4
78a: 02000893 li a7,32
78e: 483d li a6,15
790: 20000793 li a5,512
794: 94818713 addi a4,gp,-1720 # 200002a8 <rt_thread_stack>
798: 4681 li a3,0
79a: 76260613 addi a2,a2,1890 # 762 <rt_thread_idle_entry>
79e: 5c858593 addi a1,a1,1480 # 45c8 <strncmp+0xb8>
7a2: 8b818513 addi a0,gp,-1864 # 20000218 <idle>
7a6: 7d3000ef jal ra,1778 <rt_thread_init>
7aa: 8b818513 addi a0,gp,-1864 # 20000218 <idle>
7ae: 17e010ef jal ra,192c <rt_thread_startup>
7b2: b911 j 3c6 <__riscv_restore_0>
000007b4 <rt_ipc_list_suspend>:
7b4: befff2ef jal t0,3a2 <__riscv_save_0>
7b8: 1141 addi sp,sp,-16
7ba: 842a mv s0,a0
7bc: 852e mv a0,a1
7be: c632 sw a2,12(sp)
7c0: c42e sw a1,8(sp)
7c2: 086010ef jal ra,1848 <rt_thread_suspend>
7c6: 4632 lw a2,12(sp)
7c8: 45a2 lw a1,8(sp)
7ca: c619 beqz a2,7d8 <rt_ipc_list_suspend+0x24>
7cc: 4785 li a5,1
7ce: 00f60d63 beq a2,a5,7e8 <rt_ipc_list_suspend+0x34>
7d2: 4501 li a0,0
7d4: 0141 addi sp,sp,16
7d6: bec5 j 3c6 <__riscv_restore_0>
7d8: 4058 lw a4,4(s0)
7da: 01458793 addi a5,a1,20
7de: c31c sw a5,0(a4)
7e0: cd98 sw a4,24(a1)
7e2: c05c sw a5,4(s0)
7e4: c9c0 sw s0,20(a1)
7e6: b7f5 j 7d2 <rt_ipc_list_suspend+0x1e>
7e8: 401c lw a5,0(s0)
7ea: 00878863 beq a5,s0,7fa <rt_ipc_list_suspend+0x46>
7ee: 0355c683 lbu a3,53(a1)
7f2: 0217c703 lbu a4,33(a5)
7f6: 00e6fa63 bgeu a3,a4,80a <__stack_size+0xa>
7fa: 43d4 lw a3,4(a5)
7fc: 01458713 addi a4,a1,20
800: c298 sw a4,0(a3)
802: cd94 sw a3,24(a1)
804: c3d8 sw a4,4(a5)
806: c9dc sw a5,20(a1)
808: b7e9 j 7d2 <rt_ipc_list_suspend+0x1e>
80a: 439c lw a5,0(a5)
80c: bff9 j 7ea <rt_ipc_list_suspend+0x36>
0000080e <rt_sem_init>:
80e: b95ff2ef jal t0,3a2 <__riscv_save_0>
812: 1141 addi sp,sp,-16
814: 84b2 mv s1,a2
816: 862e mv a2,a1
818: 4589 li a1,2
81a: 842a mv s0,a0
81c: c636 sw a3,12(sp)
81e: 3af000ef jal ra,13cc <rt_object_init>
822: 46b2 lw a3,12(sp)
824: 01440793 addi a5,s0,20
828: cc1c sw a5,24(s0)
82a: c85c sw a5,20(s0)
82c: ac46 sh s1,28(s0)
82e: b414 sb a3,9(s0)
830: 4501 li a0,0
832: 0141 addi sp,sp,16
834: be49 j 3c6 <__riscv_restore_0>
00000836 <rt_sem_take>:
836: b53ff2ef jal t0,388 <__riscv_save_4>
83a: 8501a783 lw a5,-1968(gp) # 200001b0 <rt_object_trytake_hook>
83e: 1141 addi sp,sp,-16
840: c62e sw a1,12(sp)
842: 842a mv s0,a0
844: c391 beqz a5,848 <rt_sem_take+0x12>
846: 9782 jalr a5
848: 33a010ef jal ra,1b82 <rt_hw_interrupt_disable>
84c: 2c5e lhu a5,28(s0)
84e: 89aa mv s3,a0
850: cf89 beqz a5,86a <rt_sem_take+0x34>
852: 17fd addi a5,a5,-1
854: ac5e sh a5,28(s0)
856: 338010ef jal ra,1b8e <rt_hw_interrupt_enable>
85a: 84c1a783 lw a5,-1972(gp) # 200001ac <rt_object_take_hook>
85e: 4501 li a0,0
860: cb91 beqz a5,874 <rt_sem_take+0x3e>
862: 8522 mv a0,s0
864: 9782 jalr a5
866: 4501 li a0,0
868: a031 j 874 <rt_sem_take+0x3e>
86a: 47b2 lw a5,12(sp)
86c: e791 bnez a5,878 <rt_sem_take+0x42>
86e: 320010ef jal ra,1b8e <rt_hw_interrupt_enable>
872: 5579 li a0,-2
874: 0141 addi sp,sp,16
876: b699 j 3bc <__riscv_restore_4>
878: 733000ef jal ra,17aa <rt_thread_self>
87c: 02052823 sw zero,48(a0)
880: 3410 lbu a2,9(s0)
882: 85aa mv a1,a0
884: 84aa mv s1,a0
886: 01440513 addi a0,s0,20
88a: 372d jal 7b4 <rt_ipc_list_suspend>
88c: 47b2 lw a5,12(sp)
88e: 00f05c63 blez a5,8a6 <rt_sem_take+0x70>
892: 04c48913 addi s2,s1,76
896: 0070 addi a2,sp,12
898: 4581 li a1,0
89a: 854a mv a0,s2
89c: 1d6010ef jal ra,1a72 <rt_timer_control>
8a0: 854a mv a0,s2
8a2: 120010ef jal ra,19c2 <rt_timer_start>
8a6: 854e mv a0,s3
8a8: 2e6010ef jal ra,1b8e <rt_hw_interrupt_enable>
8ac: 497000ef jal ra,1542 <rt_schedule>
8b0: 5888 lw a0,48(s1)
8b2: d545 beqz a0,85a <rt_sem_take+0x24>
8b4: b7c1 j 874 <rt_sem_take+0x3e>
000008b6 <rt_sem_release>:
8b6: aedff2ef jal t0,3a2 <__riscv_save_0>
8ba: 8481a783 lw a5,-1976(gp) # 200001a8 <rt_object_put_hook>
8be: 842a mv s0,a0
8c0: c391 beqz a5,8c4 <rt_sem_release+0xe>
8c2: 9782 jalr a5
8c4: 2be010ef jal ra,1b82 <rt_hw_interrupt_disable>
8c8: 84aa mv s1,a0
8ca: 4848 lw a0,20(s0)
8cc: 01440793 addi a5,s0,20
8d0: 00f50e63 beq a0,a5,8ec <rt_sem_release+0x36>
8d4: 1531 addi a0,a0,-20
8d6: 00a010ef jal ra,18e0 <rt_thread_resume>
8da: 4405 li s0,1
8dc: 8526 mv a0,s1
8de: 2b0010ef jal ra,1b8e <rt_hw_interrupt_enable>
8e2: c019 beqz s0,8e8 <rt_sem_release+0x32>
8e4: 45f000ef jal ra,1542 <rt_schedule>
8e8: 4501 li a0,0
8ea: bcf1 j 3c6 <__riscv_restore_0>
8ec: 2c5e lhu a5,28(s0)
8ee: 0785 addi a5,a5,1
8f0: ac5e sh a5,28(s0)
8f2: 4401 li s0,0
8f4: b7e5 j 8dc <rt_sem_release+0x26>
000008f6 <rt_interrupt_enter>:
8f6: aadff2ef jal t0,3a2 <__riscv_save_0>
8fa: 1141 addi sp,sp,-16
8fc: 286010ef jal ra,1b82 <rt_hw_interrupt_disable>
900: 81418713 addi a4,gp,-2028 # 20000174 <rt_interrupt_nest>
904: 231c lbu a5,0(a4)
906: 0785 addi a5,a5,1
908: 0ff7f793 andi a5,a5,255
90c: a31c sb a5,0(a4)
90e: 80c1a783 lw a5,-2036(gp) # 2000016c <rt_interrupt_enter_hook>
912: c781 beqz a5,91a <rt_interrupt_enter+0x24>
914: c62a sw a0,12(sp)
916: 9782 jalr a5
918: 4532 lw a0,12(sp)
91a: 274010ef jal ra,1b8e <rt_hw_interrupt_enable>
91e: 0141 addi sp,sp,16
920: b45d j 3c6 <__riscv_restore_0>
00000922 <rt_interrupt_leave>:
922: a81ff2ef jal t0,3a2 <__riscv_save_0>
926: 1141 addi sp,sp,-16
928: 25a010ef jal ra,1b82 <rt_hw_interrupt_disable>
92c: 81418713 addi a4,gp,-2028 # 20000174 <rt_interrupt_nest>
930: 231c lbu a5,0(a4)
932: 17fd addi a5,a5,-1
934: 0ff7f793 andi a5,a5,255
938: a31c sb a5,0(a4)
93a: 8101a783 lw a5,-2032(gp) # 20000170 <rt_interrupt_leave_hook>
93e: c781 beqz a5,946 <rt_interrupt_leave+0x24>
940: c62a sw a0,12(sp)
942: 9782 jalr a5
944: 4532 lw a0,12(sp)
946: 248010ef jal ra,1b8e <rt_hw_interrupt_enable>
94a: 0141 addi sp,sp,16
94c: bcad j 3c6 <__riscv_restore_0>
0000094e <rt_interrupt_get_nest>:
94e: 8141c503 lbu a0,-2028(gp) # 20000174 <rt_interrupt_nest>
952: 8082 ret
00000954 <print_number>:
954: 04087893 andi a7,a6,64
958: 1141 addi sp,sp,-16
95a: 00089e63 bnez a7,976 <print_number+0x22>
95e: 6891 lui a7,0x4
960: 77488893 addi a7,a7,1908 # 4774 <small_digits.2582>
964: 01087393 andi t2,a6,16
968: 00038b63 beqz t2,97e <print_number+0x2a>
96c: ffe87813 andi a6,a6,-2
970: 02000e93 li t4,32
974: a819 j 98a <print_number+0x36>
976: 6891 lui a7,0x4
978: 6d088893 addi a7,a7,1744 # 46d0 <large_digits.2583>
97c: b7e5 j 964 <print_number+0x10>
97e: 00187313 andi t1,a6,1
982: 03000e93 li t4,48
986: fe0305e3 beqz t1,970 <print_number+0x1c>
98a: 00287313 andi t1,a6,2
98e: 06030e63 beqz t1,a0a <print_number+0xb6>
992: 02065863 bgez a2,9c2 <print_number+0x6e>
996: 40c00633 neg a2,a2
99a: 02d00293 li t0,45
99e: 8e0a mv t3,sp
9a0: 4f81 li t6,0
9a2: 4f29 li t5,10
9a4: 07e69563 bne a3,t5,a0e <print_number+0xba>
9a8: 02d67333 remu t1,a2,a3
9ac: 02d65633 divu a2,a2,a3
9b0: 9346 add t1,t1,a7
9b2: 00034303 lbu t1,0(t1)
9b6: 0f85 addi t6,t6,1
9b8: 0e05 addi t3,t3,1
9ba: fe6e0fa3 sb t1,-1(t3)
9be: f27d bnez a2,9a4 <print_number+0x50>
9c0: a00d j 9e2 <print_number+0x8e>
9c2: 00487313 andi t1,a6,4
9c6: 02b00293 li t0,43
9ca: 00031763 bnez t1,9d8 <print_number+0x84>
9ce: 00887293 andi t0,a6,8
9d2: 005032b3 snez t0,t0
9d6: 0296 slli t0,t0,0x5
9d8: f279 bnez a2,99e <print_number+0x4a>
9da: 03000693 li a3,48
9de: 8054 sb a3,0(sp)
9e0: 4f85 li t6,1
9e2: 86fe mv a3,t6
9e4: 00ffd363 bge t6,a5,9ea <print_number+0x96>
9e8: 86be mv a3,a5
9ea: 01187813 andi a6,a6,17
9ee: 8f15 sub a4,a4,a3
9f0: 04081363 bnez a6,a36 <print_number+0xe2>
9f4: 00028563 beqz t0,9fe <print_number+0xaa>
9f8: 00e05363 blez a4,9fe <print_number+0xaa>
9fc: 177d addi a4,a4,-1
9fe: 862a mv a2,a0
a00: 00e508b3 add a7,a0,a4
a04: 02000313 li t1,32
a08: a821 j a20 <print_number+0xcc>
a0a: 4281 li t0,0
a0c: b7f1 j 9d8 <print_number+0x84>
a0e: 00f67313 andi t1,a2,15
a12: 8211 srli a2,a2,0x4
a14: bf71 j 9b0 <print_number+0x5c>
a16: 00b67463 bgeu a2,a1,a1e <print_number+0xca>
a1a: 00660023 sb t1,0(a2)
a1e: 0605 addi a2,a2,1
a20: 40c88833 sub a6,a7,a2
a24: ff0049e3 bgtz a6,a16 <print_number+0xc2>
a28: 863a mv a2,a4
a2a: 00075363 bgez a4,a30 <print_number+0xdc>
a2e: 4601 li a2,0
a30: 177d addi a4,a4,-1
a32: 9532 add a0,a0,a2
a34: 8f11 sub a4,a4,a2
a36: 00028863 beqz t0,a46 <print_number+0xf2>
a3a: 00b57463 bgeu a0,a1,a42 <print_number+0xee>
a3e: 00550023 sb t0,0(a0)
a42: 177d addi a4,a4,-1
a44: 0505 addi a0,a0,1
a46: 02038763 beqz t2,a74 <print_number+0x120>
a4a: 96aa add a3,a3,a0
a4c: 03000813 li a6,48
a50: a81d j a86 <print_number+0x132>
a52: 00b67463 bgeu a2,a1,a5a <print_number+0x106>
a56: 01d60023 sb t4,0(a2)
a5a: 0605 addi a2,a2,1
a5c: 40c88833 sub a6,a7,a2
a60: ff0049e3 bgtz a6,a52 <print_number+0xfe>
a64: 863a mv a2,a4
a66: 00075363 bgez a4,a6c <print_number+0x118>
a6a: 4601 li a2,0
a6c: 177d addi a4,a4,-1
a6e: 9532 add a0,a0,a2
a70: 8f11 sub a4,a4,a2
a72: bfe1 j a4a <print_number+0xf6>
a74: 862a mv a2,a0
a76: 00e508b3 add a7,a0,a4
a7a: b7cd j a5c <print_number+0x108>
a7c: 00b57463 bgeu a0,a1,a84 <print_number+0x130>
a80: 01050023 sb a6,0(a0)
a84: 0505 addi a0,a0,1
a86: 40a68633 sub a2,a3,a0
a8a: fecfc9e3 blt t6,a2,a7c <print_number+0x128>
a8e: 56fd li a3,-1
a90: 1ffd addi t6,t6,-1
a92: 00df8363 beq t6,a3,a98 <print_number+0x144>
a96: e799 bnez a5,aa4 <print_number+0x150>
a98: 87aa mv a5,a0
a9a: 00e50633 add a2,a0,a4
a9e: 02000813 li a6,32
aa2: a831 j abe <print_number+0x16a>
aa4: 00b57663 bgeu a0,a1,ab0 <print_number+0x15c>
aa8: 01f10633 add a2,sp,t6
aac: 2210 lbu a2,0(a2)
aae: a110 sb a2,0(a0)
ab0: 0505 addi a0,a0,1
ab2: bff9 j a90 <print_number+0x13c>
ab4: 00b7f463 bgeu a5,a1,abc <print_number+0x168>
ab8: 01078023 sb a6,0(a5)
abc: 0785 addi a5,a5,1
abe: 40f606b3 sub a3,a2,a5
ac2: fed049e3 bgtz a3,ab4 <print_number+0x160>
ac6: 00075363 bgez a4,acc <print_number+0x178>
aca: 4701 li a4,0
acc: 953a add a0,a0,a4
ace: 0141 addi sp,sp,16
ad0: 8082 ret
00000ad2 <rt_set_errno>:
ad2: 8d1ff2ef jal t0,3a2 <__riscv_save_0>
ad6: 842a mv s0,a0
ad8: 3d9d jal 94e <rt_interrupt_get_nest>
ada: c509 beqz a0,ae4 <rt_set_errno+0x12>
adc: 8081ac23 sw s0,-2024(gp) # 20000178 <__rt_errno>
ae0: 8e7ff06f j 3c6 <__riscv_restore_0>
ae4: 4c7000ef jal ra,17aa <rt_thread_self>
ae8: d975 beqz a0,adc <rt_set_errno+0xa>
aea: d900 sw s0,48(a0)
aec: bfd5 j ae0 <rt_set_errno+0xe>
00000aee <rt_memset>:
aee: 470d li a4,3
af0: 87aa mv a5,a0
af2: 00c77663 bgeu a4,a2,afe <rt_memset+0x10>
af6: 00357793 andi a5,a0,3
afa: c791 beqz a5,b06 <rt_memset+0x18>
afc: 87aa mv a5,a0
afe: 963e add a2,a2,a5
b00: 06c79763 bne a5,a2,b6e <rt_memset+0x80>
b04: 8082 ret
b06: 0ff5f793 andi a5,a1,255
b0a: 00879713 slli a4,a5,0x8
b0e: 8fd9 or a5,a5,a4
b10: 01079713 slli a4,a5,0x10
b14: 8f5d or a4,a4,a5
b16: 00c508b3 add a7,a0,a2
b1a: 87aa mv a5,a0
b1c: 46bd li a3,15
b1e: 40f88833 sub a6,a7,a5
b22: 0306eb63 bltu a3,a6,b58 <rt_memset+0x6a>
b26: 00465793 srli a5,a2,0x4
b2a: 56c1 li a3,-16
b2c: 02d786b3 mul a3,a5,a3
b30: 0792 slli a5,a5,0x4
b32: 97aa add a5,a5,a0
b34: 480d li a6,3
b36: 9636 add a2,a2,a3
b38: 00c78333 add t1,a5,a2
b3c: 86be mv a3,a5
b3e: 40d308b3 sub a7,t1,a3
b42: 03186263 bltu a6,a7,b66 <rt_memset+0x78>
b46: 00265713 srli a4,a2,0x2
b4a: 56f1 li a3,-4
b4c: 02d706b3 mul a3,a4,a3
b50: 070a slli a4,a4,0x2
b52: 97ba add a5,a5,a4
b54: 9636 add a2,a2,a3
b56: b765 j afe <rt_memset+0x10>
b58: c398 sw a4,0(a5)
b5a: c3d8 sw a4,4(a5)
b5c: c798 sw a4,8(a5)
b5e: 07c1 addi a5,a5,16
b60: fee7ae23 sw a4,-4(a5)
b64: bf6d j b1e <rt_memset+0x30>
b66: 0691 addi a3,a3,4
b68: fee6ae23 sw a4,-4(a3)
b6c: bfc9 j b3e <rt_memset+0x50>
b6e: 0785 addi a5,a5,1
b70: feb78fa3 sb a1,-1(a5)
b74: b771 j b00 <rt_memset+0x12>
00000b76 <rt_memmove>:
b76: 04a5f263 bgeu a1,a0,bba <rt_memmove+0x44>
b7a: 00c586b3 add a3,a1,a2
b7e: 02d57e63 bgeu a0,a3,bba <rt_memmove+0x44>
b82: fff64593 not a1,a2
b86: 4781 li a5,0
b88: 17fd addi a5,a5,-1
b8a: 00f59363 bne a1,a5,b90 <rt_memmove+0x1a>
b8e: 8082 ret
b90: 00f68733 add a4,a3,a5
b94: 00070803 lb a6,0(a4)
b98: 00c78733 add a4,a5,a2
b9c: 972a add a4,a4,a0
b9e: 01070023 sb a6,0(a4)
ba2: b7dd j b88 <rt_memmove+0x12>
ba4: 00f58733 add a4,a1,a5
ba8: 00070683 lb a3,0(a4)
bac: 00f50733 add a4,a0,a5
bb0: 0785 addi a5,a5,1
bb2: a314 sb a3,0(a4)
bb4: fef618e3 bne a2,a5,ba4 <rt_memmove+0x2e>
bb8: 8082 ret
bba: 4781 li a5,0
bbc: bfe5 j bb4 <rt_memmove+0x3e>
00000bbe <rt_strncpy>:
bbe: c60d beqz a2,be8 <rt_strncpy+0x2a>
bc0: 87aa mv a5,a0
bc2: 0585 addi a1,a1,1
bc4: fff58703 lb a4,-1(a1)
bc8: 0785 addi a5,a5,1
bca: fff60693 addi a3,a2,-1
bce: fee78fa3 sb a4,-1(a5)
bd2: eb09 bnez a4,be4 <rt_strncpy+0x26>
bd4: 963e add a2,a2,a5
bd6: 0785 addi a5,a5,1
bd8: 00c79363 bne a5,a2,bde <rt_strncpy+0x20>
bdc: 8082 ret
bde: fe078fa3 sb zero,-1(a5)
be2: bfd5 j bd6 <rt_strncpy+0x18>
be4: 8636 mv a2,a3
be6: fef1 bnez a3,bc2 <rt_strncpy+0x4>
be8: 8082 ret
00000bea <rt_strncmp>:
bea: 4701 li a4,0
bec: 00e61463 bne a2,a4,bf4 <rt_strncmp+0xa>
bf0: 4781 li a5,0
bf2: a839 j c10 <rt_strncmp+0x26>
bf4: 00e507b3 add a5,a0,a4
bf8: 00078683 lb a3,0(a5)
bfc: 00e587b3 add a5,a1,a4
c00: 239c lbu a5,0(a5)
c02: 40f687b3 sub a5,a3,a5
c06: 07e2 slli a5,a5,0x18
c08: 87e1 srai a5,a5,0x18
c0a: e399 bnez a5,c10 <rt_strncmp+0x26>
c0c: 0705 addi a4,a4,1
c0e: fef9 bnez a3,bec <rt_strncmp+0x2>
c10: 853e mv a0,a5
c12: 8082 ret
00000c14 <rt_strlen>:
c14: 87aa mv a5,a0
c16: 00078703 lb a4,0(a5)
c1a: e701 bnez a4,c22 <rt_strlen+0xe>
c1c: 40a78533 sub a0,a5,a0
c20: 8082 ret
c22: 0785 addi a5,a5,1
c24: bfcd j c16 <rt_strlen+0x2>
00000c26 <rt_vsnprintf>:
c26: f54ff2ef jal t0,37a <__riscv_save_10>
c2a: 892e mv s2,a1
c2c: 01250bb3 add s7,a0,s2
c30: 1141 addi sp,sp,-16
c32: 8c2a mv s8,a0
c34: 85b6 mv a1,a3
c36: 00abf563 bgeu s7,a0,c40 <rt_vsnprintf+0x1a>
c3a: fff54913 not s2,a0
c3e: 5bfd li s7,-1
c40: 69c1 lui s3,0x10
c42: 00004a37 lui s4,0x4
c46: 8462 mv s0,s8
c48: 02b00a93 li s5,43
c4c: 02000b13 li s6,32
c50: 19fd addi s3,s3,-1
c52: 76ca0a13 addi s4,s4,1900 # 476c <large_digits.2583+0x9c>
c56: a831 j c72 <rt_vsnprintf+0x4c>
c58: 02500713 li a4,37
c5c: 02e78963 beq a5,a4,c8e <rt_vsnprintf+0x68>
c60: 01747363 bgeu s0,s7,c66 <rt_vsnprintf+0x40>
c64: a01c sb a5,0(s0)
c66: 00140513 addi a0,s0,1
c6a: 84b2 mv s1,a2
c6c: 00148613 addi a2,s1,1
c70: 842a mv s0,a0
c72: 00060783 lb a5,0(a2)
c76: f3ed bnez a5,c58 <rt_vsnprintf+0x32>
c78: 00090663 beqz s2,c84 <rt_vsnprintf+0x5e>
c7c: 2f747b63 bgeu s0,s7,f72 <rt_vsnprintf+0x34c>
c80: 00040023 sb zero,0(s0)
c84: 41840533 sub a0,s0,s8
c88: 0141 addi sp,sp,16
c8a: f28ff06f j 3b2 <__riscv_restore_10>
c8e: 4801 li a6,0
c90: 02d00713 li a4,45
c94: 02300693 li a3,35
c98: 03000513 li a0,48
c9c: a031 j ca8 <rt_vsnprintf+0x82>
c9e: 01579e63 bne a5,s5,cba <rt_vsnprintf+0x94>
ca2: 00486813 ori a6,a6,4
ca6: 8626 mv a2,s1
ca8: 00160783 lb a5,1(a2)
cac: 00160493 addi s1,a2,1
cb0: fee797e3 bne a5,a4,c9e <rt_vsnprintf+0x78>
cb4: 01086813 ori a6,a6,16
cb8: b7fd j ca6 <rt_vsnprintf+0x80>
cba: 01679563 bne a5,s6,cc4 <rt_vsnprintf+0x9e>
cbe: 00886813 ori a6,a6,8
cc2: b7d5 j ca6 <rt_vsnprintf+0x80>
cc4: 00d79563 bne a5,a3,cce <rt_vsnprintf+0xa8>
cc8: 02086813 ori a6,a6,32
ccc: bfe9 j ca6 <rt_vsnprintf+0x80>
cce: 00a79563 bne a5,a0,cd8 <rt_vsnprintf+0xb2>
cd2: 00186813 ori a6,a6,1
cd6: bfc1 j ca6 <rt_vsnprintf+0x80>
cd8: fd078713 addi a4,a5,-48
cdc: 46a5 li a3,9
cde: 04e6e663 bltu a3,a4,d2a <rt_vsnprintf+0x104>
ce2: 4701 li a4,0
ce4: 46a5 li a3,9
ce6: 4529 li a0,10
ce8: a039 j cf6 <rt_vsnprintf+0xd0>
cea: 02a70733 mul a4,a4,a0
cee: 0485 addi s1,s1,1
cf0: 973e add a4,a4,a5
cf2: fd070713 addi a4,a4,-48
cf6: 00048783 lb a5,0(s1)
cfa: fd078613 addi a2,a5,-48
cfe: fec6f6e3 bgeu a3,a2,cea <rt_vsnprintf+0xc4>
d02: 00048603 lb a2,0(s1)
d06: 02e00693 li a3,46
d0a: 57fd li a5,-1
d0c: 04d61f63 bne a2,a3,d6a <rt_vsnprintf+0x144>
d10: 00148783 lb a5,1(s1)
d14: 4625 li a2,9
d16: 00148693 addi a3,s1,1
d1a: fd078513 addi a0,a5,-48
d1e: 0aa66563 bltu a2,a0,dc8 <rt_vsnprintf+0x1a2>
d22: 4781 li a5,0
d24: 4525 li a0,9
d26: 4329 li t1,10
d28: a03d j d56 <rt_vsnprintf+0x130>
d2a: 02a00693 li a3,42
d2e: 577d li a4,-1
d30: fcd799e3 bne a5,a3,d02 <rt_vsnprintf+0xdc>
d34: 4198 lw a4,0(a1)
d36: 00260493 addi s1,a2,2
d3a: 0591 addi a1,a1,4
d3c: fc0753e3 bgez a4,d02 <rt_vsnprintf+0xdc>
d40: 40e00733 neg a4,a4
d44: 01086813 ori a6,a6,16
d48: bf6d j d02 <rt_vsnprintf+0xdc>
d4a: 026787b3 mul a5,a5,t1
d4e: 0685 addi a3,a3,1
d50: 97b2 add a5,a5,a2
d52: fd078793 addi a5,a5,-48
d56: 00068603 lb a2,0(a3)
d5a: fd060893 addi a7,a2,-48
d5e: ff1576e3 bgeu a0,a7,d4a <rt_vsnprintf+0x124>
d62: 0007d363 bgez a5,d68 <rt_vsnprintf+0x142>
d66: 4781 li a5,0
d68: 84b6 mv s1,a3
d6a: 00048683 lb a3,0(s1)
d6e: 06800613 li a2,104
d72: 4501 li a0,0
d74: ffb6f893 andi a7,a3,-5
d78: 00c89563 bne a7,a2,d82 <rt_vsnprintf+0x15c>
d7c: 0ff6f513 andi a0,a3,255
d80: 0485 addi s1,s1,1
d82: 00048603 lb a2,0(s1)
d86: 06900693 li a3,105
d8a: 06d60363 beq a2,a3,df0 <rt_vsnprintf+0x1ca>
d8e: 06c6c563 blt a3,a2,df8 <rt_vsnprintf+0x1d2>
d92: 05800693 li a3,88
d96: 1cd60363 beq a2,a3,f5c <rt_vsnprintf+0x336>
d9a: 04c6c363 blt a3,a2,de0 <rt_vsnprintf+0x1ba>
d9e: 02500793 li a5,37
da2: 1af60763 beq a2,a5,f50 <rt_vsnprintf+0x32a>
da6: 01747563 bgeu s0,s7,db0 <rt_vsnprintf+0x18a>
daa: 02500793 li a5,37
dae: a01c sb a5,0(s0)
db0: 00048783 lb a5,0(s1)
db4: 00140513 addi a0,s0,1
db8: 1a078663 beqz a5,f64 <rt_vsnprintf+0x33e>
dbc: 01757363 bgeu a0,s7,dc2 <rt_vsnprintf+0x19c>
dc0: b01c sb a5,1(s0)
dc2: 00240513 addi a0,s0,2
dc6: b55d j c6c <rt_vsnprintf+0x46>
dc8: 02a00613 li a2,42
dcc: 00c79763 bne a5,a2,dda <rt_vsnprintf+0x1b4>
dd0: 419c lw a5,0(a1)
dd2: 00248693 addi a3,s1,2
dd6: 0591 addi a1,a1,4
dd8: b769 j d62 <rt_vsnprintf+0x13c>
dda: 84b6 mv s1,a3
ddc: 4781 li a5,0
dde: b771 j d6a <rt_vsnprintf+0x144>
de0: 06300693 li a3,99
de4: 08d60263 beq a2,a3,e68 <rt_vsnprintf+0x242>
de8: 06400693 li a3,100
dec: fad61de3 bne a2,a3,da6 <rt_vsnprintf+0x180>
df0: 00286813 ori a6,a6,2
df4: 46a9 li a3,10
df6: a099 j e3c <rt_vsnprintf+0x216>
df8: 07300693 li a3,115
dfc: 0cd60363 beq a2,a3,ec2 <rt_vsnprintf+0x29c>
e00: 02c6c563 blt a3,a2,e2a <rt_vsnprintf+0x204>
e04: 06f00693 li a3,111
e08: 16d60063 beq a2,a3,f68 <rt_vsnprintf+0x342>
e0c: 07000693 li a3,112
e10: f8d61be3 bne a2,a3,da6 <rt_vsnprintf+0x180>
e14: 56fd li a3,-1
e16: 00d71563 bne a4,a3,e20 <rt_vsnprintf+0x1fa>
e1a: 00186813 ori a6,a6,1
e1e: 4721 li a4,8
e20: 00458c93 addi s9,a1,4
e24: 46c1 li a3,16
e26: 4190 lw a2,0(a1)
e28: a81d j e5e <rt_vsnprintf+0x238>
e2a: 07500693 li a3,117
e2e: fcd603e3 beq a2,a3,df4 <rt_vsnprintf+0x1ce>
e32: 07800893 li a7,120
e36: 46c1 li a3,16
e38: f71617e3 bne a2,a7,da6 <rt_vsnprintf+0x180>
e3c: 06c00613 li a2,108
e40: 00458c93 addi s9,a1,4
e44: fec501e3 beq a0,a2,e26 <rt_vsnprintf+0x200>
e48: 06800613 li a2,104
e4c: fcc51de3 bne a0,a2,e26 <rt_vsnprintf+0x200>
e50: 4190 lw a2,0(a1)
e52: 00287593 andi a1,a6,2
e56: 10059b63 bnez a1,f6c <rt_vsnprintf+0x346>
e5a: 01367633 and a2,a2,s3
e5e: 85de mv a1,s7
e60: 8522 mv a0,s0
e62: 3ccd jal 954 <print_number>
e64: 85e6 mv a1,s9
e66: b519 j c6c <rt_vsnprintf+0x46>
e68: 01087813 andi a6,a6,16
e6c: 02081563 bnez a6,e96 <rt_vsnprintf+0x270>
e70: 87ba mv a5,a4
e72: 02000693 li a3,32
e76: a029 j e80 <rt_vsnprintf+0x25a>
e78: 01747363 bgeu s0,s7,e7e <rt_vsnprintf+0x258>
e7c: a014 sb a3,0(s0)
e7e: 0405 addi s0,s0,1
e80: 17fd addi a5,a5,-1
e82: fef04be3 bgtz a5,e78 <rt_vsnprintf+0x252>
e86: fff70793 addi a5,a4,-1
e8a: 00e04363 bgtz a4,e90 <rt_vsnprintf+0x26a>
e8e: 4705 li a4,1
e90: 40e78733 sub a4,a5,a4
e94: 0705 addi a4,a4,1
e96: 00458793 addi a5,a1,4
e9a: 01747463 bgeu s0,s7,ea2 <rt_vsnprintf+0x27c>
e9e: 4194 lw a3,0(a1)
ea0: a014 sb a3,0(s0)
ea2: 00140513 addi a0,s0,1
ea6: 9722 add a4,a4,s0
ea8: 02000613 li a2,32
eac: 40a706b3 sub a3,a4,a0
eb0: 00d04463 bgtz a3,eb8 <rt_vsnprintf+0x292>
eb4: 85be mv a1,a5
eb6: bb5d j c6c <rt_vsnprintf+0x46>
eb8: 01757363 bgeu a0,s7,ebe <rt_vsnprintf+0x298>
ebc: a110 sb a2,0(a0)
ebe: 0505 addi a0,a0,1
ec0: b7f5 j eac <rt_vsnprintf+0x286>
ec2: 0005ac83 lw s9,0(a1)
ec6: 00458d13 addi s10,a1,4
eca: 000c9363 bnez s9,ed0 <rt_vsnprintf+0x2aa>
ece: 8cd2 mv s9,s4
ed0: 8566 mv a0,s9
ed2: c63e sw a5,12(sp)
ed4: c43a sw a4,8(sp)
ed6: c242 sw a6,4(sp)
ed8: 3b35 jal c14 <rt_strlen>
eda: 47b2 lw a5,12(sp)
edc: 86aa mv a3,a0
ede: 4812 lw a6,4(sp)
ee0: 4722 lw a4,8(sp)
ee2: 00f05563 blez a5,eec <rt_vsnprintf+0x2c6>
ee6: 00a7d363 bge a5,a0,eec <rt_vsnprintf+0x2c6>
eea: 86be mv a3,a5
eec: 01087813 andi a6,a6,16
ef0: 00081e63 bnez a6,f0c <rt_vsnprintf+0x2e6>
ef4: 87ba mv a5,a4
ef6: 02000613 li a2,32
efa: a031 j f06 <rt_vsnprintf+0x2e0>
efc: 01747363 bgeu s0,s7,f02 <rt_vsnprintf+0x2dc>
f00: a010 sb a2,0(s0)
f02: 0405 addi s0,s0,1
f04: 87ba mv a5,a4
f06: 177d addi a4,a4,-1
f08: fef6cae3 blt a3,a5,efc <rt_vsnprintf+0x2d6>
f0c: 4781 li a5,0
f0e: 02d7c163 blt a5,a3,f30 <rt_vsnprintf+0x30a>
f12: 87b6 mv a5,a3
f14: 0006d363 bgez a3,f1a <rt_vsnprintf+0x2f4>
f18: 4781 li a5,0
f1a: 00f40533 add a0,s0,a5
f1e: 972a add a4,a4,a0
f20: 02000613 li a2,32
f24: 40a707b3 sub a5,a4,a0
f28: 00f6cf63 blt a3,a5,f46 <rt_vsnprintf+0x320>
f2c: 85ea mv a1,s10
f2e: bb3d j c6c <rt_vsnprintf+0x46>
f30: 00f40633 add a2,s0,a5
f34: 01767763 bgeu a2,s7,f42 <rt_vsnprintf+0x31c>
f38: 00fc85b3 add a1,s9,a5
f3c: 00058583 lb a1,0(a1)
f40: a20c sb a1,0(a2)
f42: 0785 addi a5,a5,1
f44: b7e9 j f0e <rt_vsnprintf+0x2e8>
f46: 01757363 bgeu a0,s7,f4c <rt_vsnprintf+0x326>
f4a: a110 sb a2,0(a0)
f4c: 0505 addi a0,a0,1
f4e: bfd9 j f24 <rt_vsnprintf+0x2fe>
f50: 01747363 bgeu s0,s7,f56 <rt_vsnprintf+0x330>
f54: a010 sb a2,0(s0)
f56: 00140513 addi a0,s0,1
f5a: bb09 j c6c <rt_vsnprintf+0x46>
f5c: 04086813 ori a6,a6,64
f60: 46c1 li a3,16
f62: bde9 j e3c <rt_vsnprintf+0x216>
f64: 14fd addi s1,s1,-1
f66: b319 j c6c <rt_vsnprintf+0x46>
f68: 46a1 li a3,8
f6a: bdc9 j e3c <rt_vsnprintf+0x216>
f6c: 0642 slli a2,a2,0x10
f6e: 8641 srai a2,a2,0x10
f70: b5fd j e5e <rt_vsnprintf+0x238>
f72: fe0b8fa3 sb zero,-1(s7)
f76: b339 j c84 <rt_vsnprintf+0x5e>
00000f78 <rt_console_get_device>:
f78: 81c1a503 lw a0,-2020(gp) # 2000017c <_console_device>
f7c: 8082 ret
00000f7e <rt_console_set_device>:
f7e: c24ff2ef jal t0,3a2 <__riscv_save_0>
f82: 81c1a903 lw s2,-2020(gp) # 2000017c <_console_device>
f86: dfcff0ef jal ra,582 <rt_device_find>
f8a: cd11 beqz a0,fa6 <rt_console_set_device+0x28>
f8c: 81c18413 addi s0,gp,-2020 # 2000017c <_console_device>
f90: 84aa mv s1,a0
f92: 4008 lw a0,0(s0)
f94: c119 beqz a0,f9a <rt_console_set_device+0x1c>
f96: ee2ff0ef jal ra,678 <rt_device_close>
f9a: 04300593 li a1,67
f9e: 8526 mv a0,s1
fa0: e5eff0ef jal ra,5fe <rt_device_open>
fa4: c004 sw s1,0(s0)
fa6: 854a mv a0,s2
fa8: c1eff06f j 3c6 <__riscv_restore_0>
00000fac <rt_hw_console_output>:
fac: 8082 ret
00000fae <rt_kprintf>:
fae: 7139 addi sp,sp,-64
fb0: ca26 sw s1,20(sp)
fb2: d22e sw a1,36(sp)
fb4: d432 sw a2,40(sp)
fb6: d636 sw a3,44(sp)
fb8: 862a mv a2,a0
fba: 1054 addi a3,sp,36
fbc: 07f00593 li a1,127
fc0: b4818513 addi a0,gp,-1208 # 200004a8 <rt_log_buf.2693>
fc4: da3e sw a5,52(sp)
fc6: c636 sw a3,12(sp)
fc8: ce06 sw ra,28(sp)
fca: cc22 sw s0,24(sp)
fcc: d83a sw a4,48(sp)
fce: dc42 sw a6,56(sp)
fd0: de46 sw a7,60(sp)
fd2: 3991 jal c26 <rt_vsnprintf>
fd4: 86aa mv a3,a0
fd6: 81c1a503 lw a0,-2020(gp) # 2000017c <_console_device>
fda: e909 bnez a0,fec <rt_kprintf+0x3e>
fdc: b4818513 addi a0,gp,-1208 # 200004a8 <rt_log_buf.2693>
fe0: 37f1 jal fac <rt_hw_console_output>
fe2: 40f2 lw ra,28(sp)
fe4: 4462 lw s0,24(sp)
fe6: 44d2 lw s1,20(sp)
fe8: 6121 addi sp,sp,64
fea: 8082 ret
fec: 8626 mv a2,s1
fee: 2d26 lhu s1,26(a0)
ff0: 81c18413 addi s0,gp,-2020 # 2000017c <_console_device>
ff4: 0404e793 ori a5,s1,64
ff8: ad3e sh a5,26(a0)
ffa: 07f00793 li a5,127
ffe: 00d7f463 bgeu a5,a3,1006 <rt_kprintf+0x58>
1002: 07f00693 li a3,127
1006: b4818613 addi a2,gp,-1208 # 200004a8 <rt_log_buf.2693>
100a: 4581 li a1,0
100c: ec0ff0ef jal ra,6cc <rt_device_write>
1010: 401c lw a5,0(s0)
1012: afa6 sh s1,26(a5)
1014: b7f9 j fe2 <rt_kprintf+0x34>
00001016 <rt_show_version>:
1016: b8cff2ef jal t0,3a2 <__riscv_save_0>
101a: 00004537 lui a0,0x4
101e: 6e450513 addi a0,a0,1764 # 46e4 <large_digits.2583+0x14>
1022: 3771 jal fae <rt_kprintf>
1024: 00004537 lui a0,0x4
1028: 6f050513 addi a0,a0,1776 # 46f0 <large_digits.2583+0x20>
102c: 3749 jal fae <rt_kprintf>
102e: 00004737 lui a4,0x4
1032: 00004537 lui a0,0x4
1036: 71470713 addi a4,a4,1812 # 4714 <large_digits.2583+0x44>
103a: 468d li a3,3
103c: 4605 li a2,1
103e: 458d li a1,3
1040: 72050513 addi a0,a0,1824 # 4720 <large_digits.2583+0x50>
1044: 37ad jal fae <rt_kprintf>
1046: 00004537 lui a0,0x4
104a: 74050513 addi a0,a0,1856 # 4740 <large_digits.2583+0x70>
104e: 3785 jal fae <rt_kprintf>
1050: b76ff06f j 3c6 <__riscv_restore_0>
00001054 <__rt_ffs>:
1054: c531 beqz a0,10a0 <__rt_ffs+0x4c>
1056: 6691 lui a3,0x4
1058: 0ff57713 andi a4,a0,255
105c: 5d068693 addi a3,a3,1488 # 45d0 <__lowest_bit_bitmap>
1060: c709 beqz a4,106a <__rt_ffs+0x16>
1062: 96ba add a3,a3,a4
1064: 2288 lbu a0,0(a3)
1066: 0505 addi a0,a0,1
1068: 8082 ret
106a: 67c1 lui a5,0x10
106c: f0078793 addi a5,a5,-256 # ff00 <__rt_init_end+0xa318>
1070: 8fe9 and a5,a5,a0
1072: cb81 beqz a5,1082 <__rt_ffs+0x2e>
1074: 8521 srai a0,a0,0x8
1076: 0ff57713 andi a4,a0,255
107a: 9736 add a4,a4,a3
107c: 2308 lbu a0,0(a4)
107e: 0525 addi a0,a0,9
1080: 8082 ret
1082: 00ff07b7 lui a5,0xff0
1086: 8fe9 and a5,a5,a0
1088: cb81 beqz a5,1098 <__rt_ffs+0x44>
108a: 8541 srai a0,a0,0x10
108c: 0ff57793 andi a5,a0,255
1090: 97b6 add a5,a5,a3
1092: 2388 lbu a0,0(a5)
1094: 0545 addi a0,a0,17
1096: 8082 ret
1098: 8161 srli a0,a0,0x18
109a: 9536 add a0,a0,a3
109c: 2108 lbu a0,0(a0)
109e: 0565 addi a0,a0,25
10a0: 8082 ret
000010a2 <plug_holes>:
10a2: 8241a703 lw a4,-2012(gp) # 20000184 <heap_ptr>
10a6: 415c lw a5,4(a0)
10a8: 97ba add a5,a5,a4
10aa: 02f50563 beq a0,a5,10d4 <plug_holes+0x32>
10ae: 23b6 lhu a3,2(a5)
10b0: e295 bnez a3,10d4 <plug_holes+0x32>
10b2: 8201a683 lw a3,-2016(gp) # 20000180 <heap_end>
10b6: 00f68f63 beq a3,a5,10d4 <plug_holes+0x32>
10ba: 82818693 addi a3,gp,-2008 # 20000188 <lfree>
10be: 4290 lw a2,0(a3)
10c0: 00f61363 bne a2,a5,10c6 <plug_holes+0x24>
10c4: c288 sw a0,0(a3)
10c6: 43d4 lw a3,4(a5)
10c8: c154 sw a3,4(a0)
10ca: 43dc lw a5,4(a5)
10cc: 40e506b3 sub a3,a0,a4
10d0: 97ba add a5,a5,a4
10d2: c794 sw a3,8(a5)
10d4: 4510 lw a2,8(a0)
10d6: 00c707b3 add a5,a4,a2
10da: 00f50f63 beq a0,a5,10f8 <plug_holes+0x56>
10de: 23b6 lhu a3,2(a5)
10e0: ee81 bnez a3,10f8 <plug_holes+0x56>
10e2: 82818693 addi a3,gp,-2008 # 20000188 <lfree>
10e6: 428c lw a1,0(a3)
10e8: 00a59363 bne a1,a0,10ee <plug_holes+0x4c>
10ec: c29c sw a5,0(a3)
10ee: 4154 lw a3,4(a0)
10f0: c3d4 sw a3,4(a5)
10f2: 415c lw a5,4(a0)
10f4: 973e add a4,a4,a5
10f6: c710 sw a2,8(a4)
10f8: 8082 ret
000010fa <list_mem>:
10fa: aa8ff2ef jal t0,3a2 <__riscv_save_0>
10fe: 8301a583 lw a1,-2000(gp) # 20000190 <mem_size_aligned>
1102: 00004537 lui a0,0x4
1106: 78850513 addi a0,a0,1928 # 4788 <small_digits.2582+0x14>
110a: 3555 jal fae <rt_kprintf>
110c: 83c1a583 lw a1,-1988(gp) # 2000019c <used_mem>
1110: 00004537 lui a0,0x4
1114: 79c50513 addi a0,a0,1948 # 479c <small_digits.2582+0x28>
1118: 3d59 jal fae <rt_kprintf>
111a: 82c1a583 lw a1,-2004(gp) # 2000018c <max_mem>
111e: 00004537 lui a0,0x4
1122: 7b050513 addi a0,a0,1968 # 47b0 <small_digits.2582+0x3c>
1126: 3561 jal fae <rt_kprintf>
1128: a9eff06f j 3c6 <__riscv_restore_0>
0000112c <rt_system_heap_init>:
112c: a76ff2ef jal t0,3a2 <__riscv_save_0>
1130: ffc5f713 andi a4,a1,-4
1134: 46e1 li a3,24
1136: 862e mv a2,a1
1138: 06e6f163 bgeu a3,a4,119a <rt_system_heap_init+0x6e>
113c: 00350793 addi a5,a0,3
1140: 9bf1 andi a5,a5,-4
1142: fe870693 addi a3,a4,-24
1146: 04f6ea63 bltu a3,a5,119a <rt_system_heap_init+0x6e>
114a: 8f1d sub a4,a4,a5
114c: fe870613 addi a2,a4,-24
1150: 82c1a823 sw a2,-2000(gp) # 20000190 <mem_size_aligned>
1154: 6689 lui a3,0x2
1156: 1751 addi a4,a4,-12
1158: 82418413 addi s0,gp,-2012 # 20000184 <heap_ptr>
115c: ea068693 addi a3,a3,-352 # 1ea0 <list_event+0x84>
1160: c3d8 sw a4,4(a5)
1162: c394 sw a3,0(a5)
1164: 0007a423 sw zero,8(a5) # ff0008 <__rt_init_end+0xfea420>
1168: c01c sw a5,0(s0)
116a: 97ba add a5,a5,a4
116c: 82f1a023 sw a5,-2016(gp) # 20000180 <heap_end>
1170: 66c9 lui a3,0x12
1172: ea068693 addi a3,a3,-352 # 11ea0 <__rt_init_end+0xc2b8>
1176: 000055b7 lui a1,0x5
117a: c394 sw a3,0(a5)
117c: c3d8 sw a4,4(a5)
117e: c798 sw a4,8(a5)
1180: 4681 li a3,0
1182: 4605 li a2,1
1184: 84858593 addi a1,a1,-1976 # 4848 <__fsym_list_mem_name+0x58>
1188: bc818513 addi a0,gp,-1080 # 20000528 <heap_sem>
118c: e82ff0ef jal ra,80e <rt_sem_init>
1190: 4018 lw a4,0(s0)
1192: 82e1a423 sw a4,-2008(gp) # 20000188 <lfree>
1196: a30ff06f j 3c6 <__riscv_restore_0>
119a: 85aa mv a1,a0
119c: 00005537 lui a0,0x5
11a0: 85050513 addi a0,a0,-1968 # 4850 <__fsym_list_mem_name+0x60>
11a4: 3529 jal fae <rt_kprintf>
11a6: bfc5 j 1196 <rt_system_heap_init+0x6a>
000011a8 <rt_malloc>:
11a8: 9faff2ef jal t0,3a2 <__riscv_save_0>
11ac: c539 beqz a0,11fa <rt_malloc+0x52>
11ae: 8301a703 lw a4,-2000(gp) # 20000190 <mem_size_aligned>
11b2: 00350413 addi s0,a0,3
11b6: 9871 andi s0,s0,-4
11b8: 83018913 addi s2,gp,-2000 # 20000190 <mem_size_aligned>
11bc: 4481 li s1,0
11be: 0e876663 bltu a4,s0,12aa <rt_malloc+0x102>
11c2: 47b1 li a5,12
11c4: 00f47363 bgeu s0,a5,11ca <rt_malloc+0x22>
11c8: 4431 li s0,12
11ca: 55fd li a1,-1
11cc: bc818513 addi a0,gp,-1080 # 20000528 <heap_sem>
11d0: e66ff0ef jal ra,836 <rt_sem_take>
11d4: 8281a783 lw a5,-2008(gp) # 20000188 <lfree>
11d8: 8241a583 lw a1,-2012(gp) # 20000184 <heap_ptr>
11dc: 00092883 lw a7,0(s2)
11e0: 8526 mv a0,s1
11e2: 40b78633 sub a2,a5,a1
11e6: 408886b3 sub a3,a7,s0
11ea: 82818813 addi a6,gp,-2008 # 20000188 <lfree>
11ee: 00d66863 bltu a2,a3,11fe <rt_malloc+0x56>
11f2: bc818513 addi a0,gp,-1080 # 20000528 <heap_sem>
11f6: ec0ff0ef jal ra,8b6 <rt_sem_release>
11fa: 4481 li s1,0
11fc: a07d j 12aa <rt_malloc+0x102>
11fe: 00c584b3 add s1,a1,a2
1202: 20ba lhu a4,2(s1)
1204: 0044ae03 lw t3,4(s1)
1208: e761 bnez a4,12d0 <rt_malloc+0x128>
120a: 40ce0733 sub a4,t3,a2
120e: ff470f93 addi t6,a4,-12
1212: 0a8fef63 bltu t6,s0,12d0 <rt_malloc+0x128>
1216: 83c18f13 addi t5,gp,-1988 # 2000019c <used_mem>
121a: 82c18e93 addi t4,gp,-2004 # 2000018c <max_mem>
121e: 01840313 addi t1,s0,24
1222: 000f2683 lw a3,0(t5)
1226: 000ea383 lw t2,0(t4)
122a: 83c18913 addi s2,gp,-1988 # 2000019c <used_mem>
122e: 82c18293 addi t0,gp,-2004 # 2000018c <max_mem>
1232: 066fef63 bltu t6,t1,12b0 <rt_malloc+0x108>
1236: 00c40713 addi a4,s0,12
123a: 9732 add a4,a4,a2
123c: 6e89 lui t4,0x2
123e: 00e58333 add t1,a1,a4
1242: ea0e8e93 addi t4,t4,-352 # 1ea0 <list_event+0x84>
1246: 01c32223 sw t3,4(t1)
124a: 00c32423 sw a2,8(t1)
124e: 01d32023 sw t4,0(t1)
1252: 4605 li a2,1
1254: c0d8 sw a4,4(s1)
1256: a0b2 sh a2,2(s1)
1258: 00432603 lw a2,4(t1)
125c: 08b1 addi a7,a7,12
125e: 01160463 beq a2,a7,1266 <rt_malloc+0xbe>
1262: 962e add a2,a2,a1
1264: c618 sw a4,8(a2)
1266: 00c68713 addi a4,a3,12
126a: 9722 add a4,a4,s0
126c: 00e92023 sw a4,0(s2)
1270: 00e3f463 bgeu t2,a4,1278 <rt_malloc+0xd0>
1274: 00e2a023 sw a4,0(t0) # 460 <memset+0x8e>
1278: 6709 lui a4,0x2
127a: ea070713 addi a4,a4,-352 # 1ea0 <list_event+0x84>
127e: a09a sh a4,0(s1)
1280: 00979a63 bne a5,s1,1294 <rt_malloc+0xec>
1284: 8201a683 lw a3,-2016(gp) # 20000180 <heap_end>
1288: 4701 li a4,0
128a: 23b2 lhu a2,2(a5)
128c: ee05 bnez a2,12c4 <rt_malloc+0x11c>
128e: c319 beqz a4,1294 <rt_malloc+0xec>
1290: 00f82023 sw a5,0(a6)
1294: bc818513 addi a0,gp,-1080 # 20000528 <heap_sem>
1298: e1eff0ef jal ra,8b6 <rt_sem_release>
129c: 8381a783 lw a5,-1992(gp) # 20000198 <rt_malloc_hook>
12a0: 04b1 addi s1,s1,12
12a2: c781 beqz a5,12aa <rt_malloc+0x102>
12a4: 85a2 mv a1,s0
12a6: 8526 mv a0,s1
12a8: 9782 jalr a5
12aa: 8526 mv a0,s1
12ac: 91aff06f j 3c6 <__riscv_restore_0>
12b0: 4605 li a2,1
12b2: 9736 add a4,a4,a3
12b4: a0b2 sh a2,2(s1)
12b6: 00ef2023 sw a4,0(t5)
12ba: fae3ffe3 bgeu t2,a4,1278 <rt_malloc+0xd0>
12be: 00eea023 sw a4,0(t4)
12c2: bf5d j 1278 <rt_malloc+0xd0>
12c4: fcd785e3 beq a5,a3,128e <rt_malloc+0xe6>
12c8: 43dc lw a5,4(a5)
12ca: 4705 li a4,1
12cc: 97ae add a5,a5,a1
12ce: bf75 j 128a <rt_malloc+0xe2>
12d0: 8672 mv a2,t3
12d2: bf31 j 11ee <rt_malloc+0x46>
000012d4 <rt_calloc>:
12d4: 8ceff2ef jal t0,3a2 <__riscv_save_0>
12d8: 02b50633 mul a2,a0,a1
12dc: 1141 addi sp,sp,-16
12de: 8532 mv a0,a2
12e0: c632 sw a2,12(sp)
12e2: 35d9 jal 11a8 <rt_malloc>
12e4: 842a mv s0,a0
12e6: c509 beqz a0,12f0 <rt_calloc+0x1c>
12e8: 4632 lw a2,12(sp)
12ea: 4581 li a1,0
12ec: 803ff0ef jal ra,aee <rt_memset>
12f0: 8522 mv a0,s0
12f2: 0141 addi sp,sp,16
12f4: 8d2ff06f j 3c6 <__riscv_restore_0>
000012f8 <rt_free>:
12f8: c545 beqz a0,13a0 <rt_free+0xa8>
12fa: 88eff2ef jal t0,388 <__riscv_save_4>
12fe: 8341a783 lw a5,-1996(gp) # 20000194 <rt_free_hook>
1302: 842a mv s0,a0
1304: c391 beqz a5,1308 <rt_free+0x10>
1306: 9782 jalr a5
1308: 8241a783 lw a5,-2012(gp) # 20000184 <heap_ptr>
130c: 82418913 addi s2,gp,-2012 # 20000184 <heap_ptr>
1310: 08f46663 bltu s0,a5,139c <rt_free+0xa4>
1314: 8201a783 lw a5,-2016(gp) # 20000180 <heap_end>
1318: 08f47263 bgeu s0,a5,139c <rt_free+0xa4>
131c: 55fd li a1,-1
131e: bc818513 addi a0,gp,-1080 # 20000528 <heap_sem>
1322: d14ff0ef jal ra,836 <rt_sem_take>
1326: ff645783 lhu a5,-10(s0)
132a: ff440993 addi s3,s0,-12
132e: cb81 beqz a5,133e <rt_free+0x46>
1330: ff445703 lhu a4,-12(s0)
1334: 6789 lui a5,0x2
1336: ea078793 addi a5,a5,-352 # 1ea0 <list_event+0x84>
133a: 02f70163 beq a4,a5,135c <rt_free+0x64>
133e: 00004537 lui a0,0x4
1342: 7fc50513 addi a0,a0,2044 # 47fc <__fsym_list_mem_name+0xc>
1346: 31a5 jal fae <rt_kprintf>
1348: ff445683 lhu a3,-12(s0)
134c: ff645603 lhu a2,-10(s0)
1350: 00005537 lui a0,0x5
1354: 85ce mv a1,s3
1356: 81850513 addi a0,a0,-2024 # 4818 <__fsym_list_mem_name+0x28>
135a: 3991 jal fae <rt_kprintf>
135c: 6789 lui a5,0x2
135e: ea078793 addi a5,a5,-352 # 1ea0 <list_event+0x84>
1362: fef41a23 sh a5,-12(s0)
1366: 82818793 addi a5,gp,-2008 # 20000188 <lfree>
136a: 4398 lw a4,0(a5)
136c: fe041b23 sh zero,-10(s0)
1370: 00e9f463 bgeu s3,a4,1378 <rt_free+0x80>
1374: 0137a023 sw s3,0(a5)
1378: 83c18713 addi a4,gp,-1988 # 2000019c <used_mem>
137c: 431c lw a5,0(a4)
137e: ff842683 lw a3,-8(s0)
1382: 854e mv a0,s3
1384: 8f95 sub a5,a5,a3
1386: 00092683 lw a3,0(s2)
138a: 40d986b3 sub a3,s3,a3
138e: 97b6 add a5,a5,a3
1390: c31c sw a5,0(a4)
1392: 3b01 jal 10a2 <plug_holes>
1394: bc818513 addi a0,gp,-1080 # 20000528 <heap_sem>
1398: d1eff0ef jal ra,8b6 <rt_sem_release>
139c: 820ff06f j 3bc <__riscv_restore_4>
13a0: 8082 ret
000013a2 <rt_object_get_information>:
13a2: 200007b7 lui a5,0x20000
13a6: 00078693 mv a3,a5
13aa: 4701 li a4,0
13ac: 00078793 mv a5,a5
13b0: 4621 li a2,8
13b2: 428c lw a1,0(a3)
13b4: 00a59663 bne a1,a0,13c0 <rt_object_get_information+0x1e>
13b8: 00471513 slli a0,a4,0x4
13bc: 953e add a0,a0,a5
13be: 8082 ret
13c0: 0705 addi a4,a4,1
13c2: 06c1 addi a3,a3,16
13c4: fec717e3 bne a4,a2,13b2 <rt_object_get_information+0x10>
13c8: 4501 li a0,0
13ca: 8082 ret
000013cc <rt_object_init>:
13cc: fbdfe2ef jal t0,388 <__riscv_save_4>
13d0: 842a mv s0,a0
13d2: 852e mv a0,a1
13d4: 89ae mv s3,a1
13d6: 8a32 mv s4,a2
13d8: 37e9 jal 13a2 <rt_object_get_information>
13da: 892a mv s2,a0
13dc: 2ca9 jal 1636 <rt_enter_critical>
13de: 00492483 lw s1,4(s2)
13e2: 00490793 addi a5,s2,4
13e6: 04f49063 bne s1,a5,1426 <rt_object_init+0x5a>
13ea: 248d jal 164c <rt_exit_critical>
13ec: f809e993 ori s3,s3,-128
13f0: 01340423 sb s3,8(s0)
13f4: 4621 li a2,8
13f6: 85d2 mv a1,s4
13f8: 8522 mv a0,s0
13fa: fc4ff0ef jal ra,bbe <rt_strncpy>
13fe: 8401a783 lw a5,-1984(gp) # 200001a0 <rt_object_attach_hook>
1402: c399 beqz a5,1408 <rt_object_init+0x3c>
1404: 8522 mv a0,s0
1406: 9782 jalr a5
1408: 77a000ef jal ra,1b82 <rt_hw_interrupt_disable>
140c: 00492703 lw a4,4(s2)
1410: 00c40793 addi a5,s0,12
1414: c35c sw a5,4(a4)
1416: c458 sw a4,12(s0)
1418: 00f92223 sw a5,4(s2)
141c: c804 sw s1,16(s0)
141e: 770000ef jal ra,1b8e <rt_hw_interrupt_enable>
1422: f9bfe06f j 3bc <__riscv_restore_4>
1426: 4084 lw s1,0(s1)
1428: bf7d j 13e6 <rt_object_init+0x1a>
0000142a <rt_object_detach>:
142a: f79fe2ef jal t0,3a2 <__riscv_save_0>
142e: 8441a783 lw a5,-1980(gp) # 200001a4 <rt_object_detach_hook>
1432: 842a mv s0,a0
1434: c391 beqz a5,1438 <rt_object_detach+0xe>
1436: 9782 jalr a5
1438: 00040423 sb zero,8(s0)
143c: 746000ef jal ra,1b82 <rt_hw_interrupt_disable>
1440: 4454 lw a3,12(s0)
1442: 4818 lw a4,16(s0)
1444: 00c40793 addi a5,s0,12
1448: c2d8 sw a4,4(a3)
144a: c314 sw a3,0(a4)
144c: c81c sw a5,16(s0)
144e: c45c sw a5,12(s0)
1450: 73e000ef jal ra,1b8e <rt_hw_interrupt_enable>
1454: f73fe06f j 3c6 <__riscv_restore_0>
00001458 <rt_object_allocate>:
1458: f31fe2ef jal t0,388 <__riscv_save_4>
145c: 892e mv s2,a1
145e: 89aa mv s3,a0
1460: 3789 jal 13a2 <rt_object_get_information>
1462: 84aa mv s1,a0
1464: 4548 lw a0,12(a0)
1466: 3389 jal 11a8 <rt_malloc>
1468: 842a mv s0,a0
146a: cd1d beqz a0,14a8 <rt_object_allocate+0x50>
146c: 44d0 lw a2,12(s1)
146e: 4581 li a1,0
1470: e7eff0ef jal ra,aee <rt_memset>
1474: 4621 li a2,8
1476: 01340423 sb s3,8(s0)
147a: 000404a3 sb zero,9(s0)
147e: 85ca mv a1,s2
1480: 8522 mv a0,s0
1482: f3cff0ef jal ra,bbe <rt_strncpy>
1486: 8401a783 lw a5,-1984(gp) # 200001a0 <rt_object_attach_hook>
148a: c399 beqz a5,1490 <rt_object_allocate+0x38>
148c: 8522 mv a0,s0
148e: 9782 jalr a5
1490: 6f2000ef jal ra,1b82 <rt_hw_interrupt_disable>
1494: 40d8 lw a4,4(s1)
1496: 00c40793 addi a5,s0,12
149a: 0491 addi s1,s1,4
149c: c35c sw a5,4(a4)
149e: c458 sw a4,12(s0)
14a0: c09c sw a5,0(s1)
14a2: c804 sw s1,16(s0)
14a4: 6ea000ef jal ra,1b8e <rt_hw_interrupt_enable>
14a8: 8522 mv a0,s0
14aa: f13fe06f j 3bc <__riscv_restore_4>
000014ae <rt_object_delete>:
14ae: ef5fe2ef jal t0,3a2 <__riscv_save_0>
14b2: 8441a783 lw a5,-1980(gp) # 200001a4 <rt_object_detach_hook>
14b6: 842a mv s0,a0
14b8: c391 beqz a5,14bc <rt_object_delete+0xe>
14ba: 9782 jalr a5
14bc: 00040423 sb zero,8(s0)
14c0: 6c2000ef jal ra,1b82 <rt_hw_interrupt_disable>
14c4: 4454 lw a3,12(s0)
14c6: 4818 lw a4,16(s0)
14c8: 00c40793 addi a5,s0,12
14cc: c2d8 sw a4,4(a3)
14ce: c314 sw a3,0(a4)
14d0: c81c sw a5,16(s0)
14d2: c45c sw a5,12(s0)
14d4: 6ba000ef jal ra,1b8e <rt_hw_interrupt_enable>
14d8: 8522 mv a0,s0
14da: 3d39 jal 12f8 <rt_free>
14dc: eebfe06f j 3c6 <__riscv_restore_0>
000014e0 <rt_object_is_systemobject>:
14e0: 00850503 lb a0,8(a0)
14e4: 817d srli a0,a0,0x1f
14e6: 8082 ret
000014e8 <rt_system_scheduler_init>:
14e8: 86019023 sh zero,-1952(gp) # 200001c0 <rt_scheduler_lock_nest>
14ec: be818793 addi a5,gp,-1048 # 20000548 <rt_thread_priority_table>
14f0: 08078713 addi a4,a5,128 # 20000080 <pin_irq_hdr_tab>
14f4: c3dc sw a5,4(a5)
14f6: c39c sw a5,0(a5)
14f8: 07a1 addi a5,a5,8
14fa: fee79de3 bne a5,a4,14f4 <rt_system_scheduler_init+0xc>
14fe: 473d li a4,15
1500: 84e18a23 sb a4,-1964(gp) # 200001b4 <rt_current_priority>
1504: 8401ac23 sw zero,-1960(gp) # 200001b8 <rt_current_thread>
1508: 8601a623 sw zero,-1940(gp) # 200001cc <rt_thread_ready_priority_group>
150c: 86418793 addi a5,gp,-1948 # 200001c4 <rt_thread_defunct>
1510: c3dc sw a5,4(a5)
1512: c39c sw a5,0(a5)
1514: 8082 ret
00001516 <rt_system_scheduler_start>:
1516: e8dfe2ef jal t0,3a2 <__riscv_save_0>
151a: 86c1a503 lw a0,-1940(gp) # 200001cc <rt_thread_ready_priority_group>
151e: b37ff0ef jal ra,1054 <__rt_ffs>
1522: 157d addi a0,a0,-1
1524: 00351793 slli a5,a0,0x3
1528: be818513 addi a0,gp,-1048 # 20000548 <rt_thread_priority_table>
152c: 953e add a0,a0,a5
152e: 4108 lw a0,0(a0)
1530: fec50713 addi a4,a0,-20
1534: 0521 addi a0,a0,8
1536: 84e1ac23 sw a4,-1960(gp) # 200001b8 <rt_current_thread>
153a: c87fe0ef jal ra,1c0 <rt_hw_context_switch_to>
153e: e89fe06f j 3c6 <__riscv_restore_0>
00001542 <rt_schedule>:
1542: e61fe2ef jal t0,3a2 <__riscv_save_0>
1546: 63c000ef jal ra,1b82 <rt_hw_interrupt_disable>
154a: 86019783 lh a5,-1952(gp) # 200001c0 <rt_scheduler_lock_nest>
154e: 892a mv s2,a0
1550: e7b1 bnez a5,159c <rt_schedule+0x5a>
1552: 86c1a503 lw a0,-1940(gp) # 200001cc <rt_thread_ready_priority_group>
1556: affff0ef jal ra,1054 <__rt_ffs>
155a: 157d addi a0,a0,-1
155c: 00351713 slli a4,a0,0x3
1560: be818793 addi a5,gp,-1048 # 20000548 <rt_thread_priority_table>
1564: 97ba add a5,a5,a4
1566: 4384 lw s1,0(a5)
1568: 85818793 addi a5,gp,-1960 # 200001b8 <rt_current_thread>
156c: 4380 lw s0,0(a5)
156e: fec48593 addi a1,s1,-20
1572: 02b40563 beq s0,a1,159c <rt_schedule+0x5a>
1576: c38c sw a1,0(a5)
1578: 85c1a783 lw a5,-1956(gp) # 200001bc <rt_scheduler_hook>
157c: 84a18a23 sb a0,-1964(gp) # 200001b4 <rt_current_priority>
1580: c399 beqz a5,1586 <rt_schedule+0x44>
1582: 8522 mv a0,s0
1584: 9782 jalr a5
1586: 8141c783 lbu a5,-2028(gp) # 20000174 <rt_interrupt_nest>
158a: 01c40513 addi a0,s0,28
158e: 00848593 addi a1,s1,8
1592: 0ff7f793 andi a5,a5,255
1596: eb81 bnez a5,15a6 <rt_schedule+0x64>
1598: c45fe0ef jal ra,1dc <rt_hw_context_switch>
159c: 854a mv a0,s2
159e: 5f0000ef jal ra,1b8e <rt_hw_interrupt_enable>
15a2: e25fe06f j 3c6 <__riscv_restore_0>
15a6: 5ee000ef jal ra,1b94 <rt_hw_context_switch_interrupt>
15aa: bfcd j 159c <rt_schedule+0x5a>
000015ac <rt_schedule_insert_thread>:
15ac: df7fe2ef jal t0,3a2 <__riscv_save_0>
15b0: 842a mv s0,a0
15b2: 5d0000ef jal ra,1b82 <rt_hw_interrupt_disable>
15b6: 03444783 lbu a5,52(s0)
15ba: 01440693 addi a3,s0,20
15be: 9bc1 andi a5,a5,-16
15c0: 0017e793 ori a5,a5,1
15c4: 02f40a23 sb a5,52(s0)
15c8: 03544783 lbu a5,53(s0)
15cc: 00379713 slli a4,a5,0x3
15d0: be818793 addi a5,gp,-1048 # 20000548 <rt_thread_priority_table>
15d4: 97ba add a5,a5,a4
15d6: 43d8 lw a4,4(a5)
15d8: c314 sw a3,0(a4)
15da: cc18 sw a4,24(s0)
15dc: c3d4 sw a3,4(a5)
15de: c85c sw a5,20(s0)
15e0: 86c18793 addi a5,gp,-1940 # 200001cc <rt_thread_ready_priority_group>
15e4: 4394 lw a3,0(a5)
15e6: 5c18 lw a4,56(s0)
15e8: 8f55 or a4,a4,a3
15ea: c398 sw a4,0(a5)
15ec: 5a2000ef jal ra,1b8e <rt_hw_interrupt_enable>
15f0: dd7fe06f j 3c6 <__riscv_restore_0>
000015f4 <rt_schedule_remove_thread>:
15f4: daffe2ef jal t0,3a2 <__riscv_save_0>
15f8: 842a mv s0,a0
15fa: 2361 jal 1b82 <rt_hw_interrupt_disable>
15fc: 4c18 lw a4,24(s0)
15fe: 4854 lw a3,20(s0)
1600: 01440793 addi a5,s0,20
1604: c2d8 sw a4,4(a3)
1606: c314 sw a3,0(a4)
1608: c85c sw a5,20(s0)
160a: cc1c sw a5,24(s0)
160c: 03544783 lbu a5,53(s0)
1610: 00379713 slli a4,a5,0x3
1614: be818793 addi a5,gp,-1048 # 20000548 <rt_thread_priority_table>
1618: 97ba add a5,a5,a4
161a: 4398 lw a4,0(a5)
161c: 00f71a63 bne a4,a5,1630 <rt_schedule_remove_thread+0x3c>
1620: 86c18713 addi a4,gp,-1940 # 200001cc <rt_thread_ready_priority_group>
1624: 5c1c lw a5,56(s0)
1626: 4314 lw a3,0(a4)
1628: fff7c793 not a5,a5
162c: 8ff5 and a5,a5,a3
162e: c31c sw a5,0(a4)
1630: 2bb9 jal 1b8e <rt_hw_interrupt_enable>
1632: d95fe06f j 3c6 <__riscv_restore_0>
00001636 <rt_enter_critical>:
1636: d6dfe2ef jal t0,3a2 <__riscv_save_0>
163a: 23a1 jal 1b82 <rt_hw_interrupt_disable>
163c: 86018793 addi a5,gp,-1952 # 200001c0 <rt_scheduler_lock_nest>
1640: 239a lhu a4,0(a5)
1642: 0705 addi a4,a4,1
1644: a39a sh a4,0(a5)
1646: 23a1 jal 1b8e <rt_hw_interrupt_enable>
1648: d7ffe06f j 3c6 <__riscv_restore_0>
0000164c <rt_exit_critical>:
164c: d57fe2ef jal t0,3a2 <__riscv_save_0>
1650: 2b0d jal 1b82 <rt_hw_interrupt_disable>
1652: 86018713 addi a4,gp,-1952 # 200001c0 <rt_scheduler_lock_nest>
1656: 231e lhu a5,0(a4)
1658: 17fd addi a5,a5,-1
165a: 07c2 slli a5,a5,0x10
165c: 87c1 srai a5,a5,0x10
165e: a31e sh a5,0(a4)
1660: 00f04b63 bgtz a5,1676 <rt_exit_critical+0x2a>
1664: 00071023 sh zero,0(a4)
1668: 231d jal 1b8e <rt_hw_interrupt_enable>
166a: 8581a783 lw a5,-1960(gp) # 200001b8 <rt_current_thread>
166e: c391 beqz a5,1672 <rt_exit_critical+0x26>
1670: 3dc9 jal 1542 <rt_schedule>
1672: d55fe06f j 3c6 <__riscv_restore_0>
1676: 2b21 jal 1b8e <rt_hw_interrupt_enable>
1678: bfed j 1672 <rt_exit_critical+0x26>
0000167a <rt_thread_exit>:
167a: d29fe2ef jal t0,3a2 <__riscv_save_0>
167e: 8581a403 lw s0,-1960(gp) # 200001b8 <rt_current_thread>
1682: 2301 jal 1b82 <rt_hw_interrupt_disable>
1684: 84aa mv s1,a0
1686: 8522 mv a0,s0
1688: 37b5 jal 15f4 <rt_schedule_remove_thread>
168a: 4791 li a5,4
168c: 02f40a23 sb a5,52(s0)
1690: 04c40513 addi a0,s0,76
1694: 2e01 jal 19a4 <rt_timer_detach>
1696: 8522 mv a0,s0
1698: 35a1 jal 14e0 <rt_object_is_systemobject>
169a: 4785 li a5,1
169c: 00f51b63 bne a0,a5,16b2 <rt_thread_exit+0x38>
16a0: 5c3c lw a5,120(s0)
16a2: eb81 bnez a5,16b2 <rt_thread_exit+0x38>
16a4: 8522 mv a0,s0
16a6: 3351 jal 142a <rt_object_detach>
16a8: 8526 mv a0,s1
16aa: 21d5 jal 1b8e <rt_hw_interrupt_enable>
16ac: 3d59 jal 1542 <rt_schedule>
16ae: d19fe06f j 3c6 <__riscv_restore_0>
16b2: 8641a683 lw a3,-1948(gp) # 200001c4 <rt_thread_defunct>
16b6: 01440713 addi a4,s0,20
16ba: 86e1a223 sw a4,-1948(gp) # 200001c4 <rt_thread_defunct>
16be: c2d8 sw a4,4(a3)
16c0: 86418793 addi a5,gp,-1948 # 200001c4 <rt_thread_defunct>
16c4: c854 sw a3,20(s0)
16c6: cc1c sw a5,24(s0)
16c8: b7c5 j 16a8 <rt_thread_exit+0x2e>
000016ca <_rt_thread_init.isra.0>:
16ca: cd9fe2ef jal t0,3a2 <__riscv_save_0>
16ce: 842a mv s0,a0
16d0: 0551 addi a0,a0,20
16d2: 1141 addi sp,sp,-16
16d4: cc08 sw a0,24(s0)
16d6: c848 sw a0,20(s0)
16d8: d00c sw a1,32(s0)
16da: d050 sw a2,36(s0)
16dc: d414 sw a3,40(s0)
16de: 863a mv a2,a4
16e0: d458 sw a4,44(s0)
16e2: 02300593 li a1,35
16e6: 8536 mv a0,a3
16e8: c63e sw a5,12(sp)
16ea: c442 sw a6,8(sp)
16ec: c02ff0ef jal ra,aee <rt_memset>
16f0: 5458 lw a4,44(s0)
16f2: 5410 lw a2,40(s0)
16f4: 504c lw a1,36(s0)
16f6: 5008 lw a0,32(s0)
16f8: 1771 addi a4,a4,-4
16fa: 000016b7 lui a3,0x1
16fe: 963a add a2,a2,a4
1700: 67a68693 addi a3,a3,1658 # 167a <rt_thread_exit>
1704: 212d jal 1b2e <rt_hw_stack_init>
1706: 47b2 lw a5,12(sp)
1708: 4822 lw a6,8(sp)
170a: 00001637 lui a2,0x1
170e: cc48 sw a0,28(s0)
1710: 02f40b23 sb a5,54(s0)
1714: 02f40aa3 sb a5,53(s0)
1718: 02042c23 sw zero,56(s0)
171c: 4781 li a5,0
171e: 05042223 sw a6,68(s0)
1722: 05042423 sw a6,72(s0)
1726: 02042823 sw zero,48(s0)
172a: 02040a23 sb zero,52(s0)
172e: 06042c23 sw zero,120(s0)
1732: 06042e23 sw zero,124(s0)
1736: 4701 li a4,0
1738: 86a2 mv a3,s0
173a: 75860613 addi a2,a2,1880 # 1758 <rt_thread_timeout>
173e: 85a2 mv a1,s0
1740: 04c40513 addi a0,s0,76
1744: 241d jal 196a <rt_timer_init>
1746: 8701a783 lw a5,-1936(gp) # 200001d0 <rt_thread_inited_hook>
174a: c399 beqz a5,1750 <_rt_thread_init.isra.0+0x86>
174c: 8522 mv a0,s0
174e: 9782 jalr a5
1750: 4501 li a0,0
1752: 0141 addi sp,sp,16
1754: c73fe06f j 3c6 <__riscv_restore_0>
00001758 <rt_thread_timeout>:
1758: c4bfe2ef jal t0,3a2 <__riscv_save_0>
175c: 4950 lw a2,20(a0)
175e: 4d14 lw a3,24(a0)
1760: 5779 li a4,-2
1762: d918 sw a4,48(a0)
1764: c254 sw a3,4(a2)
1766: 01450713 addi a4,a0,20
176a: c290 sw a2,0(a3)
176c: cd18 sw a4,24(a0)
176e: c958 sw a4,20(a0)
1770: 3d35 jal 15ac <rt_schedule_insert_thread>
1772: 3bc1 jal 1542 <rt_schedule>
1774: c53fe06f j 3c6 <__riscv_restore_0>
00001778 <rt_thread_init>:
1778: c2bfe2ef jal t0,3a2 <__riscv_save_0>
177c: 1141 addi sp,sp,-16
177e: 84b2 mv s1,a2
1780: 862e mv a2,a1
1782: 4585 li a1,1
1784: 842a mv s0,a0
1786: 8936 mv s2,a3
1788: c046 sw a7,0(sp)
178a: c63a sw a4,12(sp)
178c: c43e sw a5,8(sp)
178e: c242 sw a6,4(sp)
1790: c3dff0ef jal ra,13cc <rt_object_init>
1794: 4802 lw a6,0(sp)
1796: 4792 lw a5,4(sp)
1798: 4722 lw a4,8(sp)
179a: 46b2 lw a3,12(sp)
179c: 864a mv a2,s2
179e: 85a6 mv a1,s1
17a0: 8522 mv a0,s0
17a2: 3725 jal 16ca <_rt_thread_init.isra.0>
17a4: 0141 addi sp,sp,16
17a6: c21fe06f j 3c6 <__riscv_restore_0>
000017aa <rt_thread_self>:
17aa: 8581a503 lw a0,-1960(gp) # 200001b8 <rt_current_thread>
17ae: 8082 ret
000017b0 <rt_thread_create>:
17b0: bd9fe2ef jal t0,388 <__riscv_save_4>
17b4: 1141 addi sp,sp,-16
17b6: 892e mv s2,a1
17b8: 85aa mv a1,a0
17ba: 4505 li a0,1
17bc: c632 sw a2,12(sp)
17be: 84b6 mv s1,a3
17c0: 89ba mv s3,a4
17c2: 8a3e mv s4,a5
17c4: c95ff0ef jal ra,1458 <rt_object_allocate>
17c8: 842a mv s0,a0
17ca: c911 beqz a0,17de <rt_thread_create+0x2e>
17cc: 8526 mv a0,s1
17ce: 9dbff0ef jal ra,11a8 <rt_malloc>
17d2: 4632 lw a2,12(sp)
17d4: e909 bnez a0,17e6 <rt_thread_create+0x36>
17d6: 8522 mv a0,s0
17d8: cd7ff0ef jal ra,14ae <rt_object_delete>
17dc: 4401 li s0,0
17de: 8522 mv a0,s0
17e0: 0141 addi sp,sp,16
17e2: bdbfe06f j 3bc <__riscv_restore_4>
17e6: 86aa mv a3,a0
17e8: 8852 mv a6,s4
17ea: 87ce mv a5,s3
17ec: 8726 mv a4,s1
17ee: 85ca mv a1,s2
17f0: 8522 mv a0,s0
17f2: 3de1 jal 16ca <_rt_thread_init.isra.0>
17f4: b7ed j 17de <rt_thread_create+0x2e>
000017f6 <rt_thread_yield>:
17f6: badfe2ef jal t0,3a2 <__riscv_save_0>
17fa: 2661 jal 1b82 <rt_hw_interrupt_disable>
17fc: 8581a783 lw a5,-1960(gp) # 200001b8 <rt_current_thread>
1800: 4605 li a2,1
1802: 86aa mv a3,a0
1804: 0347c703 lbu a4,52(a5)
1808: 8b3d andi a4,a4,15
180a: 02c71c63 bne a4,a2,1842 <rt_thread_yield+0x4c>
180e: 4bd0 lw a2,20(a5)
1810: 4f98 lw a4,24(a5)
1812: 02e60863 beq a2,a4,1842 <rt_thread_yield+0x4c>
1816: c258 sw a4,4(a2)
1818: c310 sw a2,0(a4)
181a: 0357c603 lbu a2,53(a5)
181e: 01478693 addi a3,a5,20
1822: 060e slli a2,a2,0x3
1824: be818713 addi a4,gp,-1048 # 20000548 <rt_thread_priority_table>
1828: cf94 sw a3,24(a5)
182a: 9732 add a4,a4,a2
182c: 4350 lw a2,4(a4)
182e: c214 sw a3,0(a2)
1830: cf90 sw a2,24(a5)
1832: c354 sw a3,4(a4)
1834: cbd8 sw a4,20(a5)
1836: 2ea1 jal 1b8e <rt_hw_interrupt_enable>
1838: d0bff0ef jal ra,1542 <rt_schedule>
183c: 4501 li a0,0
183e: b89fe06f j 3c6 <__riscv_restore_0>
1842: 8536 mv a0,a3
1844: 26a9 jal 1b8e <rt_hw_interrupt_enable>
1846: bfdd j 183c <rt_thread_yield+0x46>
00001848 <rt_thread_suspend>:
1848: 03454783 lbu a5,52(a0)
184c: 4705 li a4,1
184e: 8bbd andi a5,a5,15
1850: 02e79f63 bne a5,a4,188e <rt_thread_suspend+0x46>
1854: b4ffe2ef jal t0,3a2 <__riscv_save_0>
1858: 842a mv s0,a0
185a: 2625 jal 1b82 <rt_hw_interrupt_disable>
185c: 03444783 lbu a5,52(s0)
1860: 84aa mv s1,a0
1862: 8522 mv a0,s0
1864: 9bc1 andi a5,a5,-16
1866: 0027e793 ori a5,a5,2
186a: 02f40a23 sb a5,52(s0)
186e: d87ff0ef jal ra,15f4 <rt_schedule_remove_thread>
1872: 04c40513 addi a0,s0,76
1876: 22f1 jal 1a42 <rt_timer_stop>
1878: 8526 mv a0,s1
187a: 2e11 jal 1b8e <rt_hw_interrupt_enable>
187c: 8781a783 lw a5,-1928(gp) # 200001d8 <rt_thread_suspend_hook>
1880: 4501 li a0,0
1882: c781 beqz a5,188a <rt_thread_suspend+0x42>
1884: 8522 mv a0,s0
1886: 9782 jalr a5
1888: 4501 li a0,0
188a: b3dfe06f j 3c6 <__riscv_restore_0>
188e: 557d li a0,-1
1890: 8082 ret
00001892 <rt_thread_sleep>:
1892: b11fe2ef jal t0,3a2 <__riscv_save_0>
1896: 1141 addi sp,sp,-16
1898: c62a sw a0,12(sp)
189a: 24e5 jal 1b82 <rt_hw_interrupt_disable>
189c: 8581a403 lw s0,-1960(gp) # 200001b8 <rt_current_thread>
18a0: 892a mv s2,a0
18a2: 8522 mv a0,s0
18a4: 3755 jal 1848 <rt_thread_suspend>
18a6: 04c40493 addi s1,s0,76
18aa: 0070 addi a2,sp,12
18ac: 4581 li a1,0
18ae: 8526 mv a0,s1
18b0: 22c9 jal 1a72 <rt_timer_control>
18b2: 8526 mv a0,s1
18b4: 2239 jal 19c2 <rt_timer_start>
18b6: 854a mv a0,s2
18b8: 2cd9 jal 1b8e <rt_hw_interrupt_enable>
18ba: c89ff0ef jal ra,1542 <rt_schedule>
18be: 5818 lw a4,48(s0)
18c0: 57f9 li a5,-2
18c2: 00f71463 bne a4,a5,18ca <rt_thread_sleep+0x38>
18c6: 02042823 sw zero,48(s0)
18ca: 4501 li a0,0
18cc: 0141 addi sp,sp,16
18ce: af9fe06f j 3c6 <__riscv_restore_0>
000018d2 <rt_thread_mdelay>:
18d2: ad1fe2ef jal t0,3a2 <__riscv_save_0>
18d6: bd3fe0ef jal ra,4a8 <rt_tick_from_millisecond>
18da: 3f65 jal 1892 <rt_thread_sleep>
18dc: aebfe06f j 3c6 <__riscv_restore_0>
000018e0 <rt_thread_resume>:
18e0: 03454783 lbu a5,52(a0)
18e4: 4709 li a4,2
18e6: 8bbd andi a5,a5,15
18e8: 04e79063 bne a5,a4,1928 <rt_thread_resume+0x48>
18ec: ab7fe2ef jal t0,3a2 <__riscv_save_0>
18f0: 842a mv s0,a0
18f2: 2c41 jal 1b82 <rt_hw_interrupt_disable>
18f4: 4854 lw a3,20(s0)
18f6: 4c18 lw a4,24(s0)
18f8: 01440793 addi a5,s0,20
18fc: 84aa mv s1,a0
18fe: c2d8 sw a4,4(a3)
1900: c314 sw a3,0(a4)
1902: cc1c sw a5,24(s0)
1904: c85c sw a5,20(s0)
1906: 04c40513 addi a0,s0,76
190a: 2a25 jal 1a42 <rt_timer_stop>
190c: 8526 mv a0,s1
190e: 2441 jal 1b8e <rt_hw_interrupt_enable>
1910: 8522 mv a0,s0
1912: c9bff0ef jal ra,15ac <rt_schedule_insert_thread>
1916: 8741a783 lw a5,-1932(gp) # 200001d4 <rt_thread_resume_hook>
191a: 4501 li a0,0
191c: c781 beqz a5,1924 <rt_thread_resume+0x44>
191e: 8522 mv a0,s0
1920: 9782 jalr a5
1922: 4501 li a0,0
1924: aa3fe06f j 3c6 <__riscv_restore_0>
1928: 557d li a0,-1
192a: 8082 ret
0000192c <rt_thread_startup>:
192c: a77fe2ef jal t0,3a2 <__riscv_save_0>
1930: 03654683 lbu a3,54(a0)
1934: 4705 li a4,1
1936: 00d71733 sll a4,a4,a3
193a: dd18 sw a4,56(a0)
193c: 4709 li a4,2
193e: 02d50aa3 sb a3,53(a0)
1942: 02e50a23 sb a4,52(a0)
1946: 3f69 jal 18e0 <rt_thread_resume>
1948: 8581a783 lw a5,-1960(gp) # 200001b8 <rt_current_thread>
194c: c399 beqz a5,1952 <rt_thread_startup+0x26>
194e: bf5ff0ef jal ra,1542 <rt_schedule>
1952: 4501 li a0,0
1954: a73fe06f j 3c6 <__riscv_restore_0>
00001958 <_rt_timer_remove.part.1>:
1958: 4954 lw a3,20(a0)
195a: 4d18 lw a4,24(a0)
195c: 01450793 addi a5,a0,20
1960: c2d8 sw a4,4(a3)
1962: c314 sw a3,0(a4)
1964: cd1c sw a5,24(a0)
1966: c95c sw a5,20(a0)
1968: 8082 ret
0000196a <rt_timer_init>:
196a: a39fe2ef jal t0,3a2 <__riscv_save_0>
196e: 1141 addi sp,sp,-16
1970: 84b2 mv s1,a2
1972: 862e mv a2,a1
1974: 45a9 li a1,10
1976: 842a mv s0,a0
1978: c636 sw a3,12(sp)
197a: c43a sw a4,8(sp)
197c: c23e sw a5,4(sp)
197e: a4fff0ef jal ra,13cc <rt_object_init>
1982: 4792 lw a5,4(sp)
1984: 46b2 lw a3,12(sp)
1986: 4722 lw a4,8(sp)
1988: 9bf9 andi a5,a5,-2
198a: b41c sb a5,9(s0)
198c: 01440793 addi a5,s0,20
1990: cc44 sw s1,28(s0)
1992: d014 sw a3,32(s0)
1994: 02042423 sw zero,40(s0)
1998: d058 sw a4,36(s0)
199a: cc1c sw a5,24(s0)
199c: c85c sw a5,20(s0)
199e: 0141 addi sp,sp,16
19a0: a27fe06f j 3c6 <__riscv_restore_0>
000019a4 <rt_timer_detach>:
19a4: 9fffe2ef jal t0,3a2 <__riscv_save_0>
19a8: 842a mv s0,a0
19aa: 2ae1 jal 1b82 <rt_hw_interrupt_disable>
19ac: 84aa mv s1,a0
19ae: 8522 mv a0,s0
19b0: 3765 jal 1958 <_rt_timer_remove.part.1>
19b2: 8526 mv a0,s1
19b4: 2ae9 jal 1b8e <rt_hw_interrupt_enable>
19b6: 8522 mv a0,s0
19b8: a73ff0ef jal ra,142a <rt_object_detach>
19bc: 4501 li a0,0
19be: a09fe06f j 3c6 <__riscv_restore_0>
000019c2 <rt_timer_start>:
19c2: 9e1fe2ef jal t0,3a2 <__riscv_save_0>
19c6: 842a mv s0,a0
19c8: 2a6d jal 1b82 <rt_hw_interrupt_disable>
19ca: 84aa mv s1,a0
19cc: 8522 mv a0,s0
19ce: 3769 jal 1958 <_rt_timer_remove.part.1>
19d0: 341c lbu a5,9(s0)
19d2: 8526 mv a0,s1
19d4: 9bf9 andi a5,a5,-2
19d6: b41c sb a5,9(s0)
19d8: 2a5d jal 1b8e <rt_hw_interrupt_enable>
19da: 84c1a783 lw a5,-1972(gp) # 200001ac <rt_object_take_hook>
19de: c399 beqz a5,19e4 <rt_timer_start+0x22>
19e0: 8522 mv a0,s0
19e2: 9782 jalr a5
19e4: a97fe0ef jal ra,47a <rt_tick_get>
19e8: 505c lw a5,36(s0)
19ea: 953e add a0,a0,a5
19ec: d408 sw a0,40(s0)
19ee: 2a51 jal 1b82 <rt_hw_interrupt_disable>
19f0: 88818713 addi a4,gp,-1912 # 200001e8 <rt_timer_list>
19f4: 00472803 lw a6,4(a4)
19f8: 80000637 lui a2,0x80000
19fc: 88818793 addi a5,gp,-1912 # 200001e8 <rt_timer_list>
1a00: ffe64613 xori a2,a2,-2
1a04: 4398 lw a4,0(a5)
1a06: 02f81563 bne a6,a5,1a30 <rt_timer_start+0x6e>
1a0a: 87c18693 addi a3,gp,-1924 # 200001dc <random_nr.2483>
1a0e: 4290 lw a2,0(a3)
1a10: 0605 addi a2,a2,1
1a12: c290 sw a2,0(a3)
1a14: 01440693 addi a3,s0,20
1a18: c354 sw a3,4(a4)
1a1a: c858 sw a4,20(s0)
1a1c: c394 sw a3,0(a5)
1a1e: cc1c sw a5,24(s0)
1a20: 341c lbu a5,9(s0)
1a22: 0017e793 ori a5,a5,1
1a26: b41c sb a5,9(s0)
1a28: 229d jal 1b8e <rt_hw_interrupt_enable>
1a2a: 4501 li a0,0
1a2c: 99bfe06f j 3c6 <__riscv_restore_0>
1a30: 4b54 lw a3,20(a4)
1a32: 540c lw a1,40(s0)
1a34: 00b68563 beq a3,a1,1a3e <rt_timer_start+0x7c>
1a38: 8e8d sub a3,a3,a1
1a3a: fcd678e3 bgeu a2,a3,1a0a <rt_timer_start+0x48>
1a3e: 87ba mv a5,a4
1a40: b7d1 j 1a04 <rt_timer_start+0x42>
00001a42 <rt_timer_stop>:
1a42: 351c lbu a5,9(a0)
1a44: 8b85 andi a5,a5,1
1a46: c785 beqz a5,1a6e <rt_timer_stop+0x2c>
1a48: 95bfe2ef jal t0,3a2 <__riscv_save_0>
1a4c: 8481a783 lw a5,-1976(gp) # 200001a8 <rt_object_put_hook>
1a50: 842a mv s0,a0
1a52: c391 beqz a5,1a56 <rt_timer_stop+0x14>
1a54: 9782 jalr a5
1a56: 2235 jal 1b82 <rt_hw_interrupt_disable>
1a58: 84aa mv s1,a0
1a5a: 8522 mv a0,s0
1a5c: 3df5 jal 1958 <_rt_timer_remove.part.1>
1a5e: 8526 mv a0,s1
1a60: 223d jal 1b8e <rt_hw_interrupt_enable>
1a62: 341c lbu a5,9(s0)
1a64: 4501 li a0,0
1a66: 9bf9 andi a5,a5,-2
1a68: b41c sb a5,9(s0)
1a6a: 95dfe06f j 3c6 <__riscv_restore_0>
1a6e: 557d li a0,-1
1a70: 8082 ret
00001a72 <rt_timer_control>:
1a72: 4785 li a5,1
1a74: 02f58163 beq a1,a5,1a96 <rt_timer_control+0x24>
1a78: 00b7c563 blt a5,a1,1a82 <rt_timer_control+0x10>
1a7c: c185 beqz a1,1a9c <rt_timer_control+0x2a>
1a7e: 4501 li a0,0
1a80: 8082 ret
1a82: 4789 li a5,2
1a84: 00f58f63 beq a1,a5,1aa2 <rt_timer_control+0x30>
1a88: 478d li a5,3
1a8a: fef59ae3 bne a1,a5,1a7e <rt_timer_control+0xc>
1a8e: 351c lbu a5,9(a0)
1a90: 0027e793 ori a5,a5,2
1a94: a809 j 1aa6 <rt_timer_control+0x34>
1a96: 515c lw a5,36(a0)
1a98: c21c sw a5,0(a2)
1a9a: b7d5 j 1a7e <rt_timer_control+0xc>
1a9c: 421c lw a5,0(a2)
1a9e: d15c sw a5,36(a0)
1aa0: bff9 j 1a7e <rt_timer_control+0xc>
1aa2: 351c lbu a5,9(a0)
1aa4: 9bf5 andi a5,a5,-3
1aa6: b51c sb a5,9(a0)
1aa8: bfd9 j 1a7e <rt_timer_control+0xc>
00001aaa <rt_timer_check>:
1aaa: 8d1fe2ef jal t0,37a <__riscv_save_10>
1aae: 9cdfe0ef jal ra,47a <rt_tick_get>
1ab2: 8c2a mv s8,a0
1ab4: 20f9 jal 1b82 <rt_hw_interrupt_disable>
1ab6: 800009b7 lui s3,0x80000
1aba: 8a2a mv s4,a0
1abc: 88818493 addi s1,gp,-1912 # 200001e8 <rt_timer_list>
1ac0: ffe9c993 xori s3,s3,-2
1ac4: 4b8d li s7,3
1ac6: 4080 lw s0,0(s1)
1ac8: 00941663 bne s0,s1,1ad4 <rt_timer_check+0x2a>
1acc: 8552 mv a0,s4
1ace: 20c1 jal 1b8e <rt_hw_interrupt_enable>
1ad0: 8e3fe06f j 3b2 <__riscv_restore_10>
1ad4: 4848 lw a0,20(s0)
1ad6: fec40913 addi s2,s0,-20
1ada: 40ac0533 sub a0,s8,a0
1ade: fea9e7e3 bltu s3,a0,1acc <rt_timer_check+0x22>
1ae2: 8801a783 lw a5,-1920(gp) # 200001e0 <rt_timer_enter_hook>
1ae6: c399 beqz a5,1aec <rt_timer_check+0x42>
1ae8: 854a mv a0,s2
1aea: 9782 jalr a5
1aec: 854a mv a0,s2
1aee: e6bff0ef jal ra,1958 <_rt_timer_remove.part.1>
1af2: 441c lw a5,8(s0)
1af4: 4448 lw a0,12(s0)
1af6: 9782 jalr a5
1af8: 983fe0ef jal ra,47a <rt_tick_get>
1afc: 8841a783 lw a5,-1916(gp) # 200001e4 <rt_timer_exit_hook>
1b00: 8c2a mv s8,a0
1b02: c399 beqz a5,1b08 <rt_timer_check+0x5e>
1b04: 854a mv a0,s2
1b06: 9782 jalr a5
1b08: ff544783 lbu a5,-11(s0)
1b0c: 0fe7f713 andi a4,a5,254
1b10: fee40aa3 sb a4,-11(s0)
1b14: 8b8d andi a5,a5,3
1b16: fb7798e3 bne a5,s7,1ac6 <rt_timer_check+0x1c>
1b1a: 854a mv a0,s2
1b1c: ea7ff0ef jal ra,19c2 <rt_timer_start>
1b20: b75d j 1ac6 <rt_timer_check+0x1c>
00001b22 <rt_system_timer_init>:
1b22: 88818793 addi a5,gp,-1912 # 200001e8 <rt_timer_list>
1b26: c3dc sw a5,4(a5)
1b28: c39c sw a5,0(a5)
1b2a: 8082 ret
00001b2c <rt_system_timer_thread_init>:
1b2c: 8082 ret
00001b2e <rt_hw_stack_init>:
1b2e: 0611 addi a2,a2,4
1b30: 9a71 andi a2,a2,-4
1b32: 882a mv a6,a0
1b34: deadc737 lui a4,0xdeadc
1b38: f8060513 addi a0,a2,-128 # 7fffff80 <_eusrstack+0x5ffeff80>
1b3c: 87aa mv a5,a0
1b3e: eef70713 addi a4,a4,-273 # deadbeef <_eusrstack+0xbeacbeef>
1b42: 00f61e63 bne a2,a5,1b5e <rt_hw_stack_init+0x30>
1b46: 67a1 lui a5,0x8
1b48: 88078793 addi a5,a5,-1920 # 7880 <__rt_init_end+0x1c98>
1b4c: f8d62223 sw a3,-124(a2)
1b50: fab62423 sw a1,-88(a2)
1b54: f9062023 sw a6,-128(a2)
1b58: f8f62423 sw a5,-120(a2)
1b5c: 8082 ret
1b5e: c398 sw a4,0(a5)
1b60: 0791 addi a5,a5,4
1b62: b7c5 j 1b42 <rt_hw_stack_init+0x14>
00001b64 <sw_setpend>:
1b64: e000f737 lui a4,0xe000f
1b68: 431c lw a5,0(a4)
1b6a: 800006b7 lui a3,0x80000
1b6e: 8fd5 or a5,a5,a3
1b70: c31c sw a5,0(a4)
1b72: 8082 ret
00001b74 <sw_clearpend>:
1b74: e000f737 lui a4,0xe000f
1b78: 431c lw a5,0(a4)
1b7a: 0786 slli a5,a5,0x1
1b7c: 8385 srli a5,a5,0x1
1b7e: c31c sw a5,0(a4)
1b80: 8082 ret
00001b82 <rt_hw_interrupt_disable>:
1b82: 6521 lui a0,0x8
1b84: 80050513 addi a0,a0,-2048 # 7800 <__rt_init_end+0x1c18>
1b88: 30051573 csrrw a0,mstatus,a0
1b8c: 8082 ret
00001b8e <rt_hw_interrupt_enable>:
1b8e: 30051073 csrw mstatus,a0
1b92: 8082 ret
00001b94 <rt_hw_context_switch_interrupt>:
1b94: 80ffe2ef jal t0,3a2 <__riscv_save_0>
1b98: 89818713 addi a4,gp,-1896 # 200001f8 <rt_thread_switch_interrupt_flag>
1b9c: 4318 lw a4,0(a4)
1b9e: 89818793 addi a5,gp,-1896 # 200001f8 <rt_thread_switch_interrupt_flag>
1ba2: e319 bnez a4,1ba8 <rt_hw_context_switch_interrupt+0x14>
1ba4: 88a1a823 sw a0,-1904(gp) # 200001f0 <rt_interrupt_from_thread>
1ba8: 88b1aa23 sw a1,-1900(gp) # 200001f4 <rt_interrupt_to_thread>
1bac: 4705 li a4,1
1bae: c398 sw a4,0(a5)
1bb0: 3f55 jal 1b64 <sw_setpend>
1bb2: 815fe06f j 3c6 <__riscv_restore_0>
00001bb6 <rt_list_len>:
1bb6: 872a mv a4,a0
1bb8: 4781 li a5,0
1bba: 4318 lw a4,0(a4)
1bbc: 00a71463 bne a4,a0,1bc4 <rt_list_len+0xe>
1bc0: 853e mv a0,a5
1bc2: 8082 ret
1bc4: 0785 addi a5,a5,1
1bc6: bfd5 j 1bba <rt_list_len+0x4>
00001bc8 <reboot>:
1bc8: beef07b7 lui a5,0xbeef0
1bcc: e000e737 lui a4,0xe000e
1bd0: 08078793 addi a5,a5,128 # beef0080 <_eusrstack+0x9eee0080>
1bd4: c73c sw a5,72(a4)
1bd6: 4501 li a0,0
1bd8: 8082 ret
00001bda <clear>:
1bda: fc8fe2ef jal t0,3a2 <__riscv_save_0>
1bde: 00005537 lui a0,0x5
1be2: 88c50513 addi a0,a0,-1908 # 488c <__fsym_list_mem_name+0x9c>
1be6: bc8ff0ef jal ra,fae <rt_kprintf>
1bea: 4501 li a0,0
1bec: fdafe06f j 3c6 <__riscv_restore_0>
00001bf0 <object_split>:
1bf0: fb2fe2ef jal t0,3a2 <__riscv_save_0>
1bf4: 842a mv s0,a0
1bf6: 54fd li s1,-1
1bf8: 00005937 lui s2,0x5
1bfc: 147d addi s0,s0,-1
1bfe: 00941463 bne s0,s1,1c06 <object_split+0x16>
1c02: fc4fe06f j 3c6 <__riscv_restore_0>
1c06: ff490513 addi a0,s2,-12 # 4ff4 <__fsym_reboot_name+0x8>
1c0a: ba4ff0ef jal ra,fae <rt_kprintf>
1c0e: b7fd j 1bfc <object_split+0xc>
00001c10 <show_wait_queue>:
1c10: f78fe2ef jal t0,388 <__riscv_save_4>
1c14: 4100 lw s0,0(a0)
1c16: 84aa mv s1,a0
1c18: 00005937 lui s2,0x5
1c1c: 000059b7 lui s3,0x5
1c20: 00941463 bne s0,s1,1c28 <show_wait_queue+0x18>
1c24: f98fe06f j 3bc <__riscv_restore_4>
1c28: fec40593 addi a1,s0,-20
1c2c: ff890513 addi a0,s2,-8 # 4ff8 <__fsym_reboot_name+0xc>
1c30: b7eff0ef jal ra,fae <rt_kprintf>
1c34: 401c lw a5,0(s0)
1c36: 00978663 beq a5,s1,1c42 <show_wait_queue+0x32>
1c3a: ffc98513 addi a0,s3,-4 # 4ffc <__fsym_reboot_name+0x10>
1c3e: b70ff0ef jal ra,fae <rt_kprintf>
1c42: 4000 lw s0,0(s0)
1c44: bff1 j 1c20 <show_wait_queue+0x10>
00001c46 <object_name_maxlen>:
1c46: f5cfe2ef jal t0,3a2 <__riscv_save_0>
1c4a: 892e mv s2,a1
1c4c: fc9fe0ef jal ra,c14 <rt_strlen>
1c50: 842a mv s0,a0
1c52: 9e5ff0ef jal ra,1636 <rt_enter_critical>
1c56: 00092483 lw s1,0(s2)
1c5a: 01249c63 bne s1,s2,1c72 <object_name_maxlen+0x2c>
1c5e: 9efff0ef jal ra,164c <rt_exit_critical>
1c62: 47a1 li a5,8
1c64: 0087c363 blt a5,s0,1c6a <object_name_maxlen+0x24>
1c68: e011 bnez s0,1c6c <object_name_maxlen+0x26>
1c6a: 4421 li s0,8
1c6c: 8522 mv a0,s0
1c6e: f58fe06f j 3c6 <__riscv_restore_0>
1c72: ff448513 addi a0,s1,-12
1c76: f9ffe0ef jal ra,c14 <rt_strlen>
1c7a: 00a45363 bge s0,a0,1c80 <object_name_maxlen+0x3a>
1c7e: 842a mv s0,a0
1c80: 4084 lw s1,0(s1)
1c82: bfe1 j 1c5a <object_name_maxlen+0x14>
00001c84 <list_thread>:
1c84: ef6fe2ef jal t0,37a <__riscv_save_10>
1c88: 4505 li a0,1
1c8a: f18ff0ef jal ra,13a2 <rt_object_get_information>
1c8e: 000059b7 lui s3,0x5
1c92: 00450913 addi s2,a0,4
1c96: 842a mv s0,a0
1c98: 85ca mv a1,s2
1c9a: b4098513 addi a0,s3,-1216 # 4b40 <__fsym_list_mem_name+0x350>
1c9e: 3765 jal 1c46 <object_name_maxlen>
1ca0: 85aa mv a1,a0
1ca2: 84aa mv s1,a0
1ca4: 00005537 lui a0,0x5
1ca8: b4098613 addi a2,s3,-1216
1cac: b4850513 addi a0,a0,-1208 # 4b48 <__fsym_list_mem_name+0x358>
1cb0: afeff0ef jal ra,fae <rt_kprintf>
1cb4: 8526 mv a0,s1
1cb6: f3bff0ef jal ra,1bf0 <object_split>
1cba: 00005537 lui a0,0x5
1cbe: b8c50513 addi a0,a0,-1140 # 4b8c <__fsym_list_mem_name+0x39c>
1cc2: aecff0ef jal ra,fae <rt_kprintf>
1cc6: 4040 lw s0,4(s0)
1cc8: 000059b7 lui s3,0x5
1ccc: 4a05 li s4,1
1cce: 4a89 li s5,2
1cd0: 00005b37 lui s6,0x5
1cd4: 00005bb7 lui s7,0x5
1cd8: 00005c37 lui s8,0x5
1cdc: 00005cb7 lui s9,0x5
1ce0: 00005d37 lui s10,0x5
1ce4: 00891563 bne s2,s0,1cee <list_thread+0x6a>
1ce8: 4501 li a0,0
1cea: ec8fe06f j 3b2 <__riscv_restore_10>
1cee: 02944703 lbu a4,41(s0)
1cf2: bcc98513 addi a0,s3,-1076 # 4bcc <__fsym_list_mem_name+0x3dc>
1cf6: ff440693 addi a3,s0,-12
1cfa: 4621 li a2,8
1cfc: 85a6 mv a1,s1
1cfe: ab0ff0ef jal ra,fae <rt_kprintf>
1d02: 02844783 lbu a5,40(s0)
1d06: bd8c8513 addi a0,s9,-1064 # 4bd8 <__fsym_list_mem_name+0x3e8>
1d0a: 8bbd andi a5,a5,15
1d0c: 01478e63 beq a5,s4,1d28 <list_thread+0xa4>
1d10: be4c0513 addi a0,s8,-1052 # 4be4 <__fsym_list_mem_name+0x3f4>
1d14: 01578a63 beq a5,s5,1d28 <list_thread+0xa4>
1d18: bf0b8513 addi a0,s7,-1040 # 4bf0 <__fsym_list_mem_name+0x400>
1d1c: c791 beqz a5,1d28 <list_thread+0xa4>
1d1e: 4711 li a4,4
1d20: 00e79663 bne a5,a4,1d2c <list_thread+0xa8>
1d24: bfcb0513 addi a0,s6,-1028 # 4bfc <__fsym_list_mem_name+0x40c>
1d28: a86ff0ef jal ra,fae <rt_kprintf>
1d2c: 4c4c lw a1,28(s0)
1d2e: 02300793 li a5,35
1d32: 86ae mv a3,a1
1d34: 2298 lbu a4,0(a3)
1d36: 02f70663 beq a4,a5,1d62 <list_thread+0xde>
1d3a: 5010 lw a2,32(s0)
1d3c: 06400793 li a5,100
1d40: 4808 lw a0,16(s0)
1d42: 95b2 add a1,a1,a2
1d44: 40d586b3 sub a3,a1,a3
1d48: 02f686b3 mul a3,a3,a5
1d4c: 5c58 lw a4,60(s0)
1d4e: 505c lw a5,36(s0)
1d50: 8d89 sub a1,a1,a0
1d52: c08d0513 addi a0,s10,-1016 # 4c08 <__fsym_list_mem_name+0x418>
1d56: 02c6d6b3 divu a3,a3,a2
1d5a: a54ff0ef jal ra,fae <rt_kprintf>
1d5e: 4000 lw s0,0(s0)
1d60: b751 j 1ce4 <list_thread+0x60>
1d62: 0685 addi a3,a3,1
1d64: bfc1 j 1d34 <list_thread+0xb0>
00001d66 <list_sem>:
1d66: e22fe2ef jal t0,388 <__riscv_save_4>
1d6a: 1141 addi sp,sp,-16
1d6c: 4509 li a0,2
1d6e: e34ff0ef jal ra,13a2 <rt_object_get_information>
1d72: 00450993 addi s3,a0,4
1d76: 00005937 lui s2,0x5
1d7a: 842a mv s0,a0
1d7c: 85ce mv a1,s3
1d7e: ae090513 addi a0,s2,-1312 # 4ae0 <__fsym_list_mem_name+0x2f0>
1d82: ec5ff0ef jal ra,1c46 <object_name_maxlen>
1d86: 85aa mv a1,a0
1d88: 84aa mv s1,a0
1d8a: 00005537 lui a0,0x5
1d8e: ae090613 addi a2,s2,-1312
1d92: aec50513 addi a0,a0,-1300 # 4aec <__fsym_list_mem_name+0x2fc>
1d96: a18ff0ef jal ra,fae <rt_kprintf>
1d9a: 8526 mv a0,s1
1d9c: e55ff0ef jal ra,1bf0 <object_split>
1da0: 00005537 lui a0,0x5
1da4: b0850513 addi a0,a0,-1272 # 4b08 <__fsym_list_mem_name+0x318>
1da8: a06ff0ef jal ra,fae <rt_kprintf>
1dac: 4040 lw s0,4(s0)
1dae: 00005a37 lui s4,0x5
1db2: 00005ab7 lui s5,0x5
1db6: 00006b37 lui s6,0x6
1dba: 00899663 bne s3,s0,1dc6 <list_sem+0x60>
1dbe: 4501 li a0,0
1dc0: 0141 addi sp,sp,16
1dc2: dfafe06f j 3bc <__riscv_restore_4>
1dc6: 281a lhu a4,16(s0)
1dc8: 441c lw a5,8(s0)
1dca: ff440693 addi a3,s0,-12
1dce: 00840913 addi s2,s0,8
1dd2: c636 sw a3,12(sp)
1dd4: c43a sw a4,8(sp)
1dd6: 854a mv a0,s2
1dd8: 02f90663 beq s2,a5,1e04 <list_sem+0x9e>
1ddc: ddbff0ef jal ra,1bb6 <rt_list_len>
1de0: 4722 lw a4,8(sp)
1de2: 46b2 lw a3,12(sp)
1de4: 87aa mv a5,a0
1de6: 4621 li a2,8
1de8: 85a6 mv a1,s1
1dea: b20a8513 addi a0,s5,-1248 # 4b20 <__fsym_list_mem_name+0x330>
1dee: 9c0ff0ef jal ra,fae <rt_kprintf>
1df2: 854a mv a0,s2
1df4: e1dff0ef jal ra,1c10 <show_wait_queue>
1df8: a58b0513 addi a0,s6,-1448 # 5a58 <ch32_uart_ops+0x70>
1dfc: 9b2ff0ef jal ra,fae <rt_kprintf>
1e00: 4000 lw s0,0(s0)
1e02: bf65 j 1dba <list_sem+0x54>
1e04: db3ff0ef jal ra,1bb6 <rt_list_len>
1e08: 4722 lw a4,8(sp)
1e0a: 46b2 lw a3,12(sp)
1e0c: 87aa mv a5,a0
1e0e: 4621 li a2,8
1e10: 85a6 mv a1,s1
1e12: b30a0513 addi a0,s4,-1232 # 4b30 <__fsym_list_mem_name+0x340>
1e16: 998ff0ef jal ra,fae <rt_kprintf>
1e1a: b7dd j 1e00 <list_sem+0x9a>
00001e1c <list_event>:
1e1c: d6cfe2ef jal t0,388 <__riscv_save_4>
1e20: 1141 addi sp,sp,-16
1e22: 4511 li a0,4
1e24: d7eff0ef jal ra,13a2 <rt_object_get_information>
1e28: 00450993 addi s3,a0,4
1e2c: 00005937 lui s2,0x5
1e30: 842a mv s0,a0
1e32: 85ce mv a1,s3
1e34: 92490513 addi a0,s2,-1756 # 4924 <__fsym_list_mem_name+0x134>
1e38: e0fff0ef jal ra,1c46 <object_name_maxlen>
1e3c: 85aa mv a1,a0
1e3e: 84aa mv s1,a0
1e40: 00005537 lui a0,0x5
1e44: 92490613 addi a2,s2,-1756
1e48: 92c50513 addi a0,a0,-1748 # 492c <__fsym_list_mem_name+0x13c>
1e4c: 962ff0ef jal ra,fae <rt_kprintf>
1e50: 8526 mv a0,s1
1e52: d9fff0ef jal ra,1bf0 <object_split>
1e56: 00005537 lui a0,0x5
1e5a: 95050513 addi a0,a0,-1712 # 4950 <__fsym_list_mem_name+0x160>
1e5e: 950ff0ef jal ra,fae <rt_kprintf>
1e62: 4040 lw s0,4(s0)
1e64: 00005a37 lui s4,0x5
1e68: 00005ab7 lui s5,0x5
1e6c: 00006b37 lui s6,0x6
1e70: 00899663 bne s3,s0,1e7c <list_event+0x60>
1e74: 4501 li a0,0
1e76: 0141 addi sp,sp,16
1e78: d44fe06f j 3bc <__riscv_restore_4>
1e7c: 441c lw a5,8(s0)
1e7e: 00840913 addi s2,s0,8
1e82: ff440693 addi a3,s0,-12
1e86: 4818 lw a4,16(s0)
1e88: 02f90963 beq s2,a5,1eba <list_event+0x9e>
1e8c: 854a mv a0,s2
1e8e: c636 sw a3,12(sp)
1e90: c43a sw a4,8(sp)
1e92: d25ff0ef jal ra,1bb6 <rt_list_len>
1e96: 4722 lw a4,8(sp)
1e98: 46b2 lw a3,12(sp)
1e9a: 87aa mv a5,a0
1e9c: 4621 li a2,8
1e9e: 85a6 mv a1,s1
1ea0: 970a8513 addi a0,s5,-1680 # 4970 <__fsym_list_mem_name+0x180>
1ea4: 90aff0ef jal ra,fae <rt_kprintf>
1ea8: 854a mv a0,s2
1eaa: d67ff0ef jal ra,1c10 <show_wait_queue>
1eae: a58b0513 addi a0,s6,-1448 # 5a58 <ch32_uart_ops+0x70>
1eb2: 8fcff0ef jal ra,fae <rt_kprintf>
1eb6: 4000 lw s0,0(s0)
1eb8: bf65 j 1e70 <list_event+0x54>
1eba: 4621 li a2,8
1ebc: 85a6 mv a1,s1
1ebe: 988a0513 addi a0,s4,-1656 # 4988 <__fsym_list_mem_name+0x198>
1ec2: 8ecff0ef jal ra,fae <rt_kprintf>
1ec6: bfc5 j 1eb6 <list_event+0x9a>
00001ec8 <list_mutex>:
1ec8: cc0fe2ef jal t0,388 <__riscv_save_4>
1ecc: 1141 addi sp,sp,-16
1ece: 450d li a0,3
1ed0: cd2ff0ef jal ra,13a2 <rt_object_get_information>
1ed4: 000059b7 lui s3,0x5
1ed8: 00450913 addi s2,a0,4
1edc: 842a mv s0,a0
1ede: 85ca mv a1,s2
1ee0: a7c98513 addi a0,s3,-1412 # 4a7c <__fsym_list_mem_name+0x28c>
1ee4: d63ff0ef jal ra,1c46 <object_name_maxlen>
1ee8: 85aa mv a1,a0
1eea: 84aa mv s1,a0
1eec: 00005537 lui a0,0x5
1ef0: a7c98613 addi a2,s3,-1412
1ef4: a8450513 addi a0,a0,-1404 # 4a84 <__fsym_list_mem_name+0x294>
1ef8: 8b6ff0ef jal ra,fae <rt_kprintf>
1efc: 8526 mv a0,s1
1efe: cf3ff0ef jal ra,1bf0 <object_split>
1f02: 00005537 lui a0,0x5
1f06: aa850513 addi a0,a0,-1368 # 4aa8 <__fsym_list_mem_name+0x2b8>
1f0a: 8a4ff0ef jal ra,fae <rt_kprintf>
1f0e: 4040 lw s0,4(s0)
1f10: 000059b7 lui s3,0x5
1f14: 00891663 bne s2,s0,1f20 <list_mutex+0x58>
1f18: 4501 li a0,0
1f1a: 0141 addi sp,sp,16
1f1c: ca0fe06f j 3bc <__riscv_restore_4>
1f20: ff440693 addi a3,s0,-12
1f24: 00840513 addi a0,s0,8
1f28: c636 sw a3,12(sp)
1f2a: c8dff0ef jal ra,1bb6 <rt_list_len>
1f2e: 01344803 lbu a6,19(s0)
1f32: 485c lw a5,20(s0)
1f34: 46b2 lw a3,12(sp)
1f36: 88aa mv a7,a0
1f38: 4721 li a4,8
1f3a: 4621 li a2,8
1f3c: 85a6 mv a1,s1
1f3e: ac898513 addi a0,s3,-1336 # 4ac8 <__fsym_list_mem_name+0x2d8>
1f42: 86cff0ef jal ra,fae <rt_kprintf>
1f46: 4000 lw s0,0(s0)
1f48: b7f1 j 1f14 <list_mutex+0x4c>
00001f4a <list_mailbox>:
1f4a: c3efe2ef jal t0,388 <__riscv_save_4>
1f4e: 1141 addi sp,sp,-16
1f50: 4515 li a0,5
1f52: c50ff0ef jal ra,13a2 <rt_object_get_information>
1f56: 00450993 addi s3,a0,4
1f5a: 00005937 lui s2,0x5
1f5e: 842a mv s0,a0
1f60: 85ce mv a1,s3
1f62: 99c90513 addi a0,s2,-1636 # 499c <__fsym_list_mem_name+0x1ac>
1f66: ce1ff0ef jal ra,1c46 <object_name_maxlen>
1f6a: 85aa mv a1,a0
1f6c: 84aa mv s1,a0
1f6e: 00005537 lui a0,0x5
1f72: 99c90613 addi a2,s2,-1636
1f76: 9a450513 addi a0,a0,-1628 # 49a4 <__fsym_list_mem_name+0x1b4>
1f7a: 834ff0ef jal ra,fae <rt_kprintf>
1f7e: 8526 mv a0,s1
1f80: c71ff0ef jal ra,1bf0 <object_split>
1f84: 00005537 lui a0,0x5
1f88: 9c850513 addi a0,a0,-1592 # 49c8 <__fsym_list_mem_name+0x1d8>
1f8c: 822ff0ef jal ra,fae <rt_kprintf>
1f90: 4040 lw s0,4(s0)
1f92: 00005a37 lui s4,0x5
1f96: 00005ab7 lui s5,0x5
1f9a: 00006b37 lui s6,0x6
1f9e: 00899663 bne s3,s0,1faa <list_mailbox+0x60>
1fa2: 4501 li a0,0
1fa4: 0141 addi sp,sp,16
1fa6: c16fe06f j 3bc <__riscv_restore_4>
1faa: 287a lhu a4,22(s0)
1fac: 285e lhu a5,20(s0)
1fae: 4410 lw a2,8(s0)
1fb0: ff440693 addi a3,s0,-12
1fb4: 00840913 addi s2,s0,8
1fb8: c636 sw a3,12(sp)
1fba: c43a sw a4,8(sp)
1fbc: c23e sw a5,4(sp)
1fbe: 854a mv a0,s2
1fc0: 02c90763 beq s2,a2,1fee <list_mailbox+0xa4>
1fc4: bf3ff0ef jal ra,1bb6 <rt_list_len>
1fc8: 4792 lw a5,4(sp)
1fca: 4722 lw a4,8(sp)
1fcc: 46b2 lw a3,12(sp)
1fce: 882a mv a6,a0
1fd0: 4621 li a2,8
1fd2: 85a6 mv a1,s1
1fd4: 9e4a8513 addi a0,s5,-1564 # 49e4 <__fsym_list_mem_name+0x1f4>
1fd8: fd7fe0ef jal ra,fae <rt_kprintf>
1fdc: 854a mv a0,s2
1fde: c33ff0ef jal ra,1c10 <show_wait_queue>
1fe2: a58b0513 addi a0,s6,-1448 # 5a58 <ch32_uart_ops+0x70>
1fe6: fc9fe0ef jal ra,fae <rt_kprintf>
1fea: 4000 lw s0,0(s0)
1fec: bf4d j 1f9e <list_mailbox+0x54>
1fee: bc9ff0ef jal ra,1bb6 <rt_list_len>
1ff2: 4792 lw a5,4(sp)
1ff4: 4722 lw a4,8(sp)
1ff6: 46b2 lw a3,12(sp)
1ff8: 882a mv a6,a0
1ffa: 4621 li a2,8
1ffc: 85a6 mv a1,s1
1ffe: 9fca0513 addi a0,s4,-1540 # 49fc <__fsym_list_mem_name+0x20c>
2002: fadfe0ef jal ra,fae <rt_kprintf>
2006: b7d5 j 1fea <list_mailbox+0xa0>
00002008 <list_msgqueue>:
2008: b80fe2ef jal t0,388 <__riscv_save_4>
200c: 1141 addi sp,sp,-16
200e: 4519 li a0,6
2010: b92ff0ef jal ra,13a2 <rt_object_get_information>
2014: 00450993 addi s3,a0,4
2018: 00005937 lui s2,0x5
201c: 842a mv s0,a0
201e: 85ce mv a1,s3
2020: a1490513 addi a0,s2,-1516 # 4a14 <__fsym_list_mem_name+0x224>
2024: c23ff0ef jal ra,1c46 <object_name_maxlen>
2028: 85aa mv a1,a0
202a: 84aa mv s1,a0
202c: 00005537 lui a0,0x5
2030: a1490613 addi a2,s2,-1516
2034: a2050513 addi a0,a0,-1504 # 4a20 <__fsym_list_mem_name+0x230>
2038: f77fe0ef jal ra,fae <rt_kprintf>
203c: 8526 mv a0,s1
203e: bb3ff0ef jal ra,1bf0 <object_split>
2042: 00005537 lui a0,0x5
2046: a3c50513 addi a0,a0,-1476 # 4a3c <__fsym_list_mem_name+0x24c>
204a: f65fe0ef jal ra,fae <rt_kprintf>
204e: 4040 lw s0,4(s0)
2050: 00005a37 lui s4,0x5
2054: 00005ab7 lui s5,0x5
2058: 00006b37 lui s6,0x6
205c: 00899663 bne s3,s0,2068 <list_msgqueue+0x60>
2060: 4501 li a0,0
2062: 0141 addi sp,sp,16
2064: b58fe06f j 3bc <__riscv_restore_4>
2068: 2c1a lhu a4,24(s0)
206a: 441c lw a5,8(s0)
206c: ff440693 addi a3,s0,-12
2070: 00840913 addi s2,s0,8
2074: c636 sw a3,12(sp)
2076: c43a sw a4,8(sp)
2078: 854a mv a0,s2
207a: 02f90663 beq s2,a5,20a6 <list_msgqueue+0x9e>
207e: b39ff0ef jal ra,1bb6 <rt_list_len>
2082: 4722 lw a4,8(sp)
2084: 46b2 lw a3,12(sp)
2086: 87aa mv a5,a0
2088: 4621 li a2,8
208a: 85a6 mv a1,s1
208c: a54a8513 addi a0,s5,-1452 # 4a54 <__fsym_list_mem_name+0x264>
2090: f1ffe0ef jal ra,fae <rt_kprintf>
2094: 854a mv a0,s2
2096: b7bff0ef jal ra,1c10 <show_wait_queue>
209a: a58b0513 addi a0,s6,-1448 # 5a58 <ch32_uart_ops+0x70>
209e: f11fe0ef jal ra,fae <rt_kprintf>
20a2: 4000 lw s0,0(s0)
20a4: bf65 j 205c <list_msgqueue+0x54>
20a6: b11ff0ef jal ra,1bb6 <rt_list_len>
20aa: 4722 lw a4,8(sp)
20ac: 46b2 lw a3,12(sp)
20ae: 87aa mv a5,a0
20b0: 4621 li a2,8
20b2: 85a6 mv a1,s1
20b4: a68a0513 addi a0,s4,-1432 # 4a68 <__fsym_list_mem_name+0x278>
20b8: ef7fe0ef jal ra,fae <rt_kprintf>
20bc: b7dd j 20a2 <list_msgqueue+0x9a>
000020be <list_device>:
20be: acafe2ef jal t0,388 <__riscv_save_4>
20c2: 715d addi sp,sp,-80
20c4: 4525 li a0,9
20c6: adcff0ef jal ra,13a2 <rt_object_get_information>
20ca: 6591 lui a1,0x4
20cc: 05000613 li a2,80
20d0: 842a mv s0,a0
20d2: 00450913 addi s2,a0,4
20d6: 53858593 addi a1,a1,1336 # 4538 <strncmp+0x28>
20da: 850a mv a0,sp
20dc: 342020ef jal ra,441e <memcpy>
20e0: 000059b7 lui s3,0x5
20e4: 85ca mv a1,s2
20e6: 8bc98513 addi a0,s3,-1860 # 48bc <__fsym_list_mem_name+0xcc>
20ea: b5dff0ef jal ra,1c46 <object_name_maxlen>
20ee: 85aa mv a1,a0
20f0: 84aa mv s1,a0
20f2: 00005537 lui a0,0x5
20f6: 8bc98613 addi a2,s3,-1860
20fa: 8c450513 addi a0,a0,-1852 # 48c4 <__fsym_list_mem_name+0xd4>
20fe: eb1fe0ef jal ra,fae <rt_kprintf>
2102: 8526 mv a0,s1
2104: aedff0ef jal ra,1bf0 <object_split>
2108: 00005537 lui a0,0x5
210c: 8ec50513 addi a0,a0,-1812 # 48ec <__fsym_list_mem_name+0xfc>
2110: e9ffe0ef jal ra,fae <rt_kprintf>
2114: 4040 lw s0,4(s0)
2116: 49d1 li s3,20
2118: 00005a37 lui s4,0x5
211c: 00891663 bne s2,s0,2128 <list_device+0x6a>
2120: 4501 li a0,0
2122: 6161 addi sp,sp,80
2124: a98fe06f j 3bc <__riscv_restore_4>
2128: 441c lw a5,8(s0)
212a: ff440693 addi a3,s0,-12
212e: 02f9e063 bltu s3,a5,214e <list_device+0x90>
2132: 0898 addi a4,sp,80
2134: 078a slli a5,a5,0x2
2136: 97ba add a5,a5,a4
2138: fb07a703 lw a4,-80(a5)
213c: 281c lbu a5,16(s0)
213e: 4621 li a2,8
2140: 85a6 mv a1,s1
2142: 910a0513 addi a0,s4,-1776 # 4910 <__fsym_list_mem_name+0x120>
2146: e69fe0ef jal ra,fae <rt_kprintf>
214a: 4000 lw s0,0(s0)
214c: bfc1 j 211c <list_device+0x5e>
214e: 4746 lw a4,80(sp)
2150: b7f5 j 213c <list_device+0x7e>
00002152 <list_timer>:
2152: a36fe2ef jal t0,388 <__riscv_save_4>
2156: 4529 li a0,10
2158: a4aff0ef jal ra,13a2 <rt_object_get_information>
215c: 000059b7 lui s3,0x5
2160: 00450913 addi s2,a0,4
2164: 842a mv s0,a0
2166: 85ca mv a1,s2
2168: c3098513 addi a0,s3,-976 # 4c30 <__fsym_list_mem_name+0x440>
216c: adbff0ef jal ra,1c46 <object_name_maxlen>
2170: 85aa mv a1,a0
2172: 84aa mv s1,a0
2174: 00005537 lui a0,0x5
2178: c3098613 addi a2,s3,-976
217c: c3850513 addi a0,a0,-968 # 4c38 <__fsym_list_mem_name+0x448>
2180: e2ffe0ef jal ra,fae <rt_kprintf>
2184: 8526 mv a0,s1
2186: a6bff0ef jal ra,1bf0 <object_split>
218a: 00005537 lui a0,0x5
218e: c6050513 addi a0,a0,-928 # 4c60 <__fsym_list_mem_name+0x470>
2192: e1dfe0ef jal ra,fae <rt_kprintf>
2196: 4040 lw s0,4(s0)
2198: 000059b7 lui s3,0x5
219c: 00005a37 lui s4,0x5
21a0: 00005ab7 lui s5,0x5
21a4: 00891e63 bne s2,s0,21c0 <list_timer+0x6e>
21a8: ad2fe0ef jal ra,47a <rt_tick_get>
21ac: 85aa mv a1,a0
21ae: 00005537 lui a0,0x5
21b2: cb850513 addi a0,a0,-840 # 4cb8 <__fsym_list_mem_name+0x4c8>
21b6: df9fe0ef jal ra,fae <rt_kprintf>
21ba: 4501 li a0,0
21bc: a00fe06f j 3bc <__riscv_restore_4>
21c0: 4c5c lw a5,28(s0)
21c2: 4c18 lw a4,24(s0)
21c4: c8498513 addi a0,s3,-892 # 4c84 <__fsym_list_mem_name+0x494>
21c8: ff440693 addi a3,s0,-12
21cc: 4621 li a2,8
21ce: 85a6 mv a1,s1
21d0: ddffe0ef jal ra,fae <rt_kprintf>
21d4: ffd44783 lbu a5,-3(s0)
21d8: c9ca8513 addi a0,s5,-868 # 4c9c <__fsym_list_mem_name+0x4ac>
21dc: 8b85 andi a5,a5,1
21de: e399 bnez a5,21e4 <list_timer+0x92>
21e0: ca8a0513 addi a0,s4,-856 # 4ca8 <__fsym_list_mem_name+0x4b8>
21e4: dcbfe0ef jal ra,fae <rt_kprintf>
21e8: 4000 lw s0,0(s0)
21ea: bf6d j 21a4 <list_timer+0x52>
000021ec <list>:
21ec: 99cfe2ef jal t0,388 <__riscv_save_4>
21f0: 00005537 lui a0,0x5
21f4: 89450513 addi a0,a0,-1900 # 4894 <__fsym_list_mem_name+0xa4>
21f8: db7fe0ef jal ra,fae <rt_kprintf>
21fc: 8a01a403 lw s0,-1888(gp) # 20000200 <_syscall_table_begin>
2200: 000059b7 lui s3,0x5
2204: 00005a37 lui s4,0x5
2208: 8a41a783 lw a5,-1884(gp) # 20000204 <_syscall_table_end>
220c: 00f46563 bltu s0,a5,2216 <list+0x2a>
2210: 4501 li a0,0
2212: 9aafe06f j 3bc <__riscv_restore_4>
2216: 4004 lw s1,0(s0)
2218: 4609 li a2,2
221a: 8a898593 addi a1,s3,-1880 # 48a8 <__fsym_list_mem_name+0xb8>
221e: 8526 mv a0,s1
2220: 2f0020ef jal ra,4510 <strncmp>
2224: c519 beqz a0,2232 <list+0x46>
2226: 4050 lw a2,4(s0)
2228: 85a6 mv a1,s1
222a: 8aca0513 addi a0,s4,-1876 # 48ac <__fsym_list_mem_name+0xbc>
222e: d81fe0ef jal ra,fae <rt_kprintf>
2232: 0431 addi s0,s0,12
2234: bfd1 j 2208 <list+0x1c>
00002236 <msh_help>:
2236: 952fe2ef jal t0,388 <__riscv_save_4>
223a: 00005537 lui a0,0x5
223e: 15850513 addi a0,a0,344 # 5158 <__fsym_reboot_name+0x16c>
2242: d6dfe0ef jal ra,fae <rt_kprintf>
2246: 8a01a403 lw s0,-1888(gp) # 20000200 <_syscall_table_begin>
224a: 000059b7 lui s3,0x5
224e: 00005a37 lui s4,0x5
2252: 8a41a783 lw a5,-1884(gp) # 20000204 <_syscall_table_end>
2256: 00f46b63 bltu s0,a5,226c <msh_help+0x36>
225a: 00006537 lui a0,0x6
225e: a5850513 addi a0,a0,-1448 # 5a58 <ch32_uart_ops+0x70>
2262: d4dfe0ef jal ra,fae <rt_kprintf>
2266: 4501 li a0,0
2268: 954fe06f j 3bc <__riscv_restore_4>
226c: 4004 lw s1,0(s0)
226e: 4619 li a2,6
2270: 17498593 addi a1,s3,372 # 5174 <__fsym_reboot_name+0x188>
2274: 8526 mv a0,s1
2276: 29a020ef jal ra,4510 <strncmp>
227a: e901 bnez a0,228a <msh_help+0x54>
227c: 4050 lw a2,4(s0)
227e: 00648593 addi a1,s1,6
2282: 17ca0513 addi a0,s4,380 # 517c <__fsym_reboot_name+0x190>
2286: d29fe0ef jal ra,fae <rt_kprintf>
228a: 0431 addi s0,s0,12
228c: b7d9 j 2252 <msh_help+0x1c>
0000228e <msh_is_used>:
228e: 4505 li a0,1
2290: 8082 ret
00002292 <msh_exec>:
2292: 8f6fe2ef jal t0,388 <__riscv_save_4>
2296: 7179 addi sp,sp,-48
2298: 842a mv s0,a0
229a: 95aa add a1,a1,a0
229c: 02000693 li a3,32
22a0: 4725 li a4,9
22a2: 00040783 lb a5,0(s0)
22a6: 408584b3 sub s1,a1,s0
22aa: 0ad78563 beq a5,a3,2354 <msh_exec+0xc2>
22ae: 0ae78363 beq a5,a4,2354 <msh_exec+0xc2>
22b2: 4501 li a0,0
22b4: 10048b63 beqz s1,23ca <msh_exec+0x138>
22b8: 4901 li s2,0
22ba: 02000713 li a4,32
22be: 46a5 li a3,9
22c0: 012407b3 add a5,s0,s2
22c4: 00078783 lb a5,0(a5)
22c8: 08e78a63 beq a5,a4,235c <msh_exec+0xca>
22cc: 08d78863 beq a5,a3,235c <msh_exec+0xca>
22d0: 08991463 bne s2,s1,2358 <msh_exec+0xc6>
22d4: 8a01a983 lw s3,-1888(gp) # 20000200 <_syscall_table_begin>
22d8: 8a41aa83 lw s5,-1884(gp) # 20000204 <_syscall_table_end>
22dc: 00005b37 lui s6,0x5
22e0: 0959f063 bgeu s3,s5,2360 <msh_exec+0xce>
22e4: 0009aa03 lw s4,0(s3)
22e8: 4619 li a2,6
22ea: 174b0593 addi a1,s6,372 # 5174 <__fsym_reboot_name+0x188>
22ee: 8552 mv a0,s4
22f0: 220020ef jal ra,4510 <strncmp>
22f4: e559 bnez a0,2382 <msh_exec+0xf0>
22f6: 864a mv a2,s2
22f8: 85a2 mv a1,s0
22fa: 006a0513 addi a0,s4,6
22fe: 212020ef jal ra,4510 <strncmp>
2302: e141 bnez a0,2382 <msh_exec+0xf0>
2304: 9a4a add s4,s4,s2
2306: 006a0783 lb a5,6(s4)
230a: efa5 bnez a5,2382 <msh_exec+0xf0>
230c: 0089a983 lw s3,8(s3)
2310: 04098863 beqz s3,2360 <msh_exec+0xce>
2314: 02800613 li a2,40
2318: 4581 li a1,0
231a: 0028 addi a0,sp,8
231c: 8b6fe0ef jal ra,3d2 <memset>
2320: 00810913 addi s2,sp,8
2324: 86ca mv a3,s2
2326: 87a2 mv a5,s0
2328: 4501 li a0,0
232a: 4701 li a4,0
232c: 02000813 li a6,32
2330: 48a5 li a7,9
2332: 4329 li t1,10
2334: 02200613 li a2,34
2338: 05c00e13 li t3,92
233c: 00078583 lb a1,0(a5)
2340: 01058463 beq a1,a6,2348 <msh_exec+0xb6>
2344: 05159663 bne a1,a7,2390 <msh_exec+0xfe>
2348: 02971f63 bne a4,s1,2386 <msh_exec+0xf4>
234c: 47a9 li a5,10
234e: 04f50363 beq a0,a5,2394 <msh_exec+0x102>
2352: a869 j 23ec <msh_exec+0x15a>
2354: 0405 addi s0,s0,1
2356: b7b1 j 22a2 <msh_exec+0x10>
2358: 0905 addi s2,s2,1
235a: b79d j 22c0 <msh_exec+0x2e>
235c: f6091ce3 bnez s2,22d4 <msh_exec+0x42>
2360: 87a2 mv a5,s0
2362: 00078703 lb a4,0(a5)
2366: fdf77713 andi a4,a4,-33
236a: e779 bnez a4,2438 <msh_exec+0x1a6>
236c: 00005537 lui a0,0x5
2370: 14050513 addi a0,a0,320 # 5140 <__fsym_reboot_name+0x154>
2374: 00078023 sb zero,0(a5)
2378: 85a2 mv a1,s0
237a: c35fe0ef jal ra,fae <rt_kprintf>
237e: 557d li a0,-1
2380: a0a9 j 23ca <msh_exec+0x138>
2382: 09b1 addi s3,s3,12
2384: bfb1 j 22e0 <msh_exec+0x4e>
2386: 00078023 sb zero,0(a5)
238a: 0705 addi a4,a4,1
238c: 0785 addi a5,a5,1
238e: b77d j 233c <msh_exec+0xaa>
2390: 04651063 bne a0,t1,23d0 <msh_exec+0x13e>
2394: 00005537 lui a0,0x5
2398: 11c50513 addi a0,a0,284 # 511c <__fsym_reboot_name+0x130>
239c: c13fe0ef jal ra,fae <rt_kprintf>
23a0: 1800 addi s0,sp,48
23a2: 000054b7 lui s1,0x5
23a6: 00092583 lw a1,0(s2)
23aa: 13c48513 addi a0,s1,316 # 513c <__fsym_reboot_name+0x150>
23ae: 0911 addi s2,s2,4
23b0: bfffe0ef jal ra,fae <rt_kprintf>
23b4: fe8919e3 bne s2,s0,23a6 <msh_exec+0x114>
23b8: 00006537 lui a0,0x6
23bc: a5850513 addi a0,a0,-1448 # 5a58 <ch32_uart_ops+0x70>
23c0: beffe0ef jal ra,fae <rt_kprintf>
23c4: 4529 li a0,10
23c6: 002c addi a1,sp,8
23c8: 9982 jalr s3
23ca: 6145 addi sp,sp,48
23cc: ff1fd06f j 3bc <__riscv_restore_4>
23d0: 00977e63 bgeu a4,s1,23ec <msh_exec+0x15a>
23d4: 0505 addi a0,a0,1
23d6: 04c59263 bne a1,a2,241a <msh_exec+0x188>
23da: 0785 addi a5,a5,1
23dc: 0705 addi a4,a4,1
23de: c29c sw a5,0(a3)
23e0: 00078583 lb a1,0(a5)
23e4: 02c58163 beq a1,a2,2406 <msh_exec+0x174>
23e8: 00976463 bltu a4,s1,23f0 <msh_exec+0x15e>
23ec: fd69 bnez a0,23c6 <msh_exec+0x134>
23ee: bf8d j 2360 <msh_exec+0xce>
23f0: 00178e83 lb t4,1(a5)
23f4: 01c59663 bne a1,t3,2400 <msh_exec+0x16e>
23f8: 00ce9463 bne t4,a2,2400 <msh_exec+0x16e>
23fc: 0785 addi a5,a5,1
23fe: 0705 addi a4,a4,1
2400: 0785 addi a5,a5,1
2402: 0705 addi a4,a4,1
2404: bff1 j 23e0 <msh_exec+0x14e>
2406: fe9773e3 bgeu a4,s1,23ec <msh_exec+0x15a>
240a: 00078023 sb zero,0(a5)
240e: 0705 addi a4,a4,1
2410: 0785 addi a5,a5,1
2412: 0691 addi a3,a3,4
2414: f29764e3 bltu a4,s1,233c <msh_exec+0xaa>
2418: bfd1 j 23ec <msh_exec+0x15a>
241a: c29c sw a5,0(a3)
241c: 00078583 lb a1,0(a5)
2420: 01058963 beq a1,a6,2432 <msh_exec+0x1a0>
2424: 01158763 beq a1,a7,2432 <msh_exec+0x1a0>
2428: fc9702e3 beq a4,s1,23ec <msh_exec+0x15a>
242c: 0785 addi a5,a5,1
242e: 0705 addi a4,a4,1
2430: b7f5 j 241c <msh_exec+0x18a>
2432: fe9760e3 bltu a4,s1,2412 <msh_exec+0x180>
2436: bf5d j 23ec <msh_exec+0x15a>
2438: 0785 addi a5,a5,1
243a: b725 j 2362 <msh_exec+0xd0>
0000243c <msh_auto_complete>:
243c: f3ffd2ef jal t0,37a <__riscv_save_10>
2440: 00050783 lb a5,0(a0)
2444: e799 bnez a5,2452 <msh_auto_complete+0x16>
2446: 4581 li a1,0
2448: 4501 li a0,0
244a: dedff0ef jal ra,2236 <msh_help>
244e: f65fd06f j 3b2 <__riscv_restore_10>
2452: 8a01aa03 lw s4,-1888(gp) # 20000200 <_syscall_table_begin>
2456: 89aa mv s3,a0
2458: 4481 li s1,0
245a: 4901 li s2,0
245c: 00005b37 lui s6,0x5
2460: 00005bb7 lui s7,0x5
2464: 8a41a783 lw a5,-1884(gp) # 20000204 <_syscall_table_end>
2468: 00fa6963 bltu s4,a5,247a <msh_auto_complete+0x3e>
246c: d0ed beqz s1,244e <msh_auto_complete+0x12>
246e: 864a mv a2,s2
2470: 85a6 mv a1,s1
2472: 854e mv a0,s3
2474: f4afe0ef jal ra,bbe <rt_strncpy>
2478: bfd9 j 244e <msh_auto_complete+0x12>
247a: 000a2403 lw s0,0(s4)
247e: 4619 li a2,6
2480: 174b0593 addi a1,s6,372 # 5174 <__fsym_reboot_name+0x188>
2484: 8522 mv a0,s0
2486: 08a020ef jal ra,4510 <strncmp>
248a: e121 bnez a0,24ca <msh_auto_complete+0x8e>
248c: 854e mv a0,s3
248e: 070020ef jal ra,44fe <strlen>
2492: 0419 addi s0,s0,6
2494: 862a mv a2,a0
2496: 85a2 mv a1,s0
2498: 854e mv a0,s3
249a: 076020ef jal ra,4510 <strncmp>
249e: e515 bnez a0,24ca <msh_auto_complete+0x8e>
24a0: 00091763 bnez s2,24ae <msh_auto_complete+0x72>
24a4: 8522 mv a0,s0
24a6: 058020ef jal ra,44fe <strlen>
24aa: 892a mv s2,a0
24ac: 84a2 mv s1,s0
24ae: 87a6 mv a5,s1
24b0: 8722 mv a4,s0
24b2: 00078603 lb a2,0(a5)
24b6: ee01 bnez a2,24ce <msh_auto_complete+0x92>
24b8: 8f85 sub a5,a5,s1
24ba: 0127d363 bge a5,s2,24c0 <msh_auto_complete+0x84>
24be: 893e mv s2,a5
24c0: 85a2 mv a1,s0
24c2: 184b8513 addi a0,s7,388 # 5184 <__fsym_reboot_name+0x198>
24c6: ae9fe0ef jal ra,fae <rt_kprintf>
24ca: 0a31 addi s4,s4,12
24cc: bf61 j 2464 <msh_auto_complete+0x28>
24ce: 00070683 lb a3,0(a4) # e000e000 <_eusrstack+0xbfffe000>
24d2: d2fd beqz a3,24b8 <msh_auto_complete+0x7c>
24d4: fed612e3 bne a2,a3,24b8 <msh_auto_complete+0x7c>
24d8: 0785 addi a5,a5,1
24da: 0705 addi a4,a4,1
24dc: bfd9 j 24b2 <msh_auto_complete+0x76>
000024de <cmd_ps>:
24de: ec5fd2ef jal t0,3a2 <__riscv_save_0>
24e2: fa2ff0ef jal ra,1c84 <list_thread>
24e6: 4501 li a0,0
24e8: edffd06f j 3c6 <__riscv_restore_0>
000024ec <cmd_free>:
24ec: eb7fd2ef jal t0,3a2 <__riscv_save_0>
24f0: c0bfe0ef jal ra,10fa <list_mem>
24f4: 4501 li a0,0
24f6: ed1fd06f j 3c6 <__riscv_restore_0>
000024fa <finsh_rx_ind>:
24fa: ea9fd2ef jal t0,3a2 <__riscv_save_0>
24fe: 89c1a503 lw a0,-1892(gp) # 200001fc <shell>
2502: bb4fe0ef jal ra,8b6 <rt_sem_release>
2506: 4501 li a0,0
2508: ebffd06f j 3c6 <__riscv_restore_0>
0000250c <finsh_system_init>:
250c: e97fd2ef jal t0,3a2 <__riscv_save_0>
2510: 000067b7 lui a5,0x6
2514: a7c78793 addi a5,a5,-1412 # 5a7c <__fsym_list_mem>
2518: 8af1a023 sw a5,-1888(gp) # 20000200 <_syscall_table_begin>
251c: 000067b7 lui a5,0x6
2520: bcc78793 addi a5,a5,-1076 # 5bcc <__rt_init_rti_start>
2524: 8af1a223 sw a5,-1884(gp) # 20000204 <_syscall_table_end>
2528: 000067b7 lui a5,0x6
252c: bcc78793 addi a5,a5,-1076 # 5bcc <__rt_init_rti_start>
2530: 8af1a423 sw a5,-1880(gp) # 20000208 <_sysvar_table_begin>
2534: 000067b7 lui a5,0x6
2538: bcc78793 addi a5,a5,-1076 # 5bcc <__rt_init_rti_start>
253c: 21000593 li a1,528
2540: 4505 li a0,1
2542: 8af1a623 sw a5,-1876(gp) # 2000020c <_sysvar_table_end>
2546: 89c18413 addi s0,gp,-1892 # 200001fc <shell>
254a: d8bfe0ef jal ra,12d4 <rt_calloc>
254e: c008 sw a0,0(s0)
2550: e919 bnez a0,2566 <finsh_system_init+0x5a>
2552: 00005537 lui a0,0x5
2556: 23850513 addi a0,a0,568 # 5238 <__fsym___cmd_ps_name+0x40>
255a: a55fe0ef jal ra,fae <rt_kprintf>
255e: 547d li s0,-1
2560: 8522 mv a0,s0
2562: e65fd06f j 3c6 <__riscv_restore_0>
2566: 000025b7 lui a1,0x2
256a: 00005537 lui a0,0x5
256e: 47a9 li a5,10
2570: 472d li a4,11
2572: 40000693 li a3,1024
2576: 4601 li a2,0
2578: 68c58593 addi a1,a1,1676 # 268c <finsh_thread_entry>
257c: 25050513 addi a0,a0,592 # 5250 <__fsym___cmd_ps_name+0x58>
2580: a30ff0ef jal ra,17b0 <rt_thread_create>
2584: 84aa mv s1,a0
2586: 4008 lw a0,0(s0)
2588: 000055b7 lui a1,0x5
258c: 4681 li a3,0
258e: 4601 li a2,0
2590: 25858593 addi a1,a1,600 # 5258 <__fsym___cmd_ps_name+0x60>
2594: a7afe0ef jal ra,80e <rt_sem_init>
2598: 4401 li s0,0
259a: d0f9 beqz s1,2560 <finsh_system_init+0x54>
259c: 8526 mv a0,s1
259e: b8eff0ef jal ra,192c <rt_thread_startup>
25a2: bf7d j 2560 <finsh_system_init+0x54>
000025a4 <finsh_get_prompt>:
25a4: dfffd2ef jal t0,3a2 <__riscv_save_0>
25a8: ce7ff0ef jal ra,228e <msh_is_used>
25ac: c50d beqz a0,25d6 <finsh_get_prompt+0x32>
25ae: 000055b7 lui a1,0x5
25b2: 20458593 addi a1,a1,516 # 5204 <__fsym___cmd_ps_name+0xc>
25b6: c6818513 addi a0,gp,-920 # 200005c8 <finsh_prompt.4315>
25ba: 735010ef jal ra,44ee <strcpy>
25be: 000055b7 lui a1,0x5
25c2: 21458593 addi a1,a1,532 # 5214 <__fsym___cmd_ps_name+0x1c>
25c6: c6818513 addi a0,gp,-920 # 200005c8 <finsh_prompt.4315>
25ca: 707010ef jal ra,44d0 <strcat>
25ce: c6818513 addi a0,gp,-920 # 200005c8 <finsh_prompt.4315>
25d2: df5fd06f j 3c6 <__riscv_restore_0>
25d6: 000055b7 lui a1,0x5
25da: 20c58593 addi a1,a1,524 # 520c <__fsym___cmd_ps_name+0x14>
25de: bfe1 j 25b6 <finsh_get_prompt+0x12>
000025e0 <shell_handle_history>:
25e0: dc3fd2ef jal t0,3a2 <__riscv_save_0>
25e4: 842a mv s0,a0
25e6: 00005537 lui a0,0x5
25ea: 27450513 addi a0,a0,628 # 5274 <__fsym___cmd_ps_name+0x7c>
25ee: 9c1fe0ef jal ra,fae <rt_kprintf>
25f2: fb3ff0ef jal ra,25a4 <finsh_get_prompt>
25f6: 85aa mv a1,a0
25f8: 00005537 lui a0,0x5
25fc: 1ba40613 addi a2,s0,442
2600: 27c50513 addi a0,a0,636 # 527c <__fsym___cmd_ps_name+0x84>
2604: 9abfe0ef jal ra,fae <rt_kprintf>
2608: 4501 li a0,0
260a: dbdfd06f j 3c6 <__riscv_restore_0>
0000260e <finsh_set_device>:
260e: d95fd2ef jal t0,3a2 <__riscv_save_0>
2612: 1141 addi sp,sp,-16
2614: c62a sw a0,12(sp)
2616: f6dfd0ef jal ra,582 <rt_device_find>
261a: 45b2 lw a1,12(sp)
261c: e911 bnez a0,2630 <finsh_set_device+0x22>
261e: 00005537 lui a0,0x5
2622: 21850513 addi a0,a0,536 # 5218 <__fsym___cmd_ps_name+0x20>
2626: 989fe0ef jal ra,fae <rt_kprintf>
262a: 0141 addi sp,sp,16
262c: d9bfd06f j 3c6 <__riscv_restore_0>
2630: 89c1a783 lw a5,-1892(gp) # 200001fc <shell>
2634: 84aa mv s1,a0
2636: 89c18413 addi s0,gp,-1892 # 200001fc <shell>
263a: 20c7a783 lw a5,524(a5)
263e: fea786e3 beq a5,a0,262a <finsh_set_device+0x1c>
2642: 14300593 li a1,323
2646: fb9fd0ef jal ra,5fe <rt_device_open>
264a: f165 bnez a0,262a <finsh_set_device+0x1c>
264c: 401c lw a5,0(s0)
264e: 20c7a503 lw a0,524(a5)
2652: c909 beqz a0,2664 <finsh_set_device+0x56>
2654: 824fe0ef jal ra,678 <rt_device_close>
2658: 401c lw a5,0(s0)
265a: 4581 li a1,0
265c: 20c7a503 lw a0,524(a5)
2660: 888fe0ef jal ra,6e8 <rt_device_set_rx_indicate>
2664: 4000 lw s0,0(s0)
2666: 05000613 li a2,80
266a: 4581 li a1,0
266c: 1ba40513 addi a0,s0,442
2670: d63fd0ef jal ra,3d2 <memset>
2674: 000025b7 lui a1,0x2
2678: 20041523 sh zero,522(s0)
267c: 20942623 sw s1,524(s0)
2680: 4fa58593 addi a1,a1,1274 # 24fa <finsh_rx_ind>
2684: 8526 mv a0,s1
2686: 862fe0ef jal ra,6e8 <rt_device_set_rx_indicate>
268a: b745 j 262a <finsh_set_device+0x1c>
0000268c <finsh_thread_entry>:
268c: ce7fd2ef jal t0,372 <__riscv_save_12>
2690: 89c1a783 lw a5,-1892(gp) # 200001fc <shell>
2694: 1141 addi sp,sp,-16
2696: 89c18493 addi s1,gp,-1892 # 200001fc <shell>
269a: 0247c703 lbu a4,36(a5)
269e: 00176713 ori a4,a4,1
26a2: 02e78223 sb a4,36(a5)
26a6: 20c7a783 lw a5,524(a5)
26aa: e791 bnez a5,26b6 <finsh_thread_entry+0x2a>
26ac: 8cdfe0ef jal ra,f78 <rt_console_get_device>
26b0: c119 beqz a0,26b6 <finsh_thread_entry+0x2a>
26b2: f5dff0ef jal ra,260e <finsh_set_device>
26b6: eefff0ef jal ra,25a4 <finsh_get_prompt>
26ba: 8f5fe0ef jal ra,fae <rt_kprintf>
26be: 00005b37 lui s6,0x5
26c2: 00005bb7 lui s7,0x5
26c6: 000059b7 lui s3,0x5
26ca: 00006a37 lui s4,0x6
26ce: 00005ab7 lui s5,0x5
26d2: 00005c37 lui s8,0x5
26d6: 00005cb7 lui s9,0x5
26da: 409c lw a5,0(s1)
26dc: 4685 li a3,1
26de: 00f10613 addi a2,sp,15
26e2: 20c7a503 lw a0,524(a5)
26e6: 55fd li a1,-1
26e8: fc9fd0ef jal ra,6b0 <rt_device_read>
26ec: 4785 li a5,1
26ee: 00f51a63 bne a0,a5,2702 <finsh_thread_entry+0x76>
26f2: 00f10903 lb s2,15(sp)
26f6: 47ed li a5,27
26f8: 4080 lw s0,0(s1)
26fa: 00f91963 bne s2,a5,270c <finsh_thread_entry+0x80>
26fe: d008 sw a0,32(s0)
2700: bfe9 j 26da <finsh_thread_entry+0x4e>
2702: 4088 lw a0,0(s1)
2704: 55fd li a1,-1
2706: 930fe0ef jal ra,836 <rt_sem_take>
270a: bfc1 j 26da <finsh_thread_entry+0x4e>
270c: 501c lw a5,32(s0)
270e: 02a79263 bne a5,a0,2732 <finsh_thread_entry+0xa6>
2712: 05b00793 li a5,91
2716: 00f91563 bne s2,a5,2720 <finsh_thread_entry+0x94>
271a: 4789 li a5,2
271c: d01c sw a5,32(s0)
271e: bf75 j 26da <finsh_thread_entry+0x4e>
2720: 02042023 sw zero,32(s0)
2724: fa090be3 beqz s2,26da <finsh_thread_entry+0x4e>
2728: 47a5 li a5,9
272a: 12f91463 bne s2,a5,2852 <finsh_thread_entry+0x1c6>
272e: 4901 li s2,0
2730: a8d1 j 2804 <finsh_thread_entry+0x178>
2732: 4709 li a4,2
2734: fee798e3 bne a5,a4,2724 <finsh_thread_entry+0x98>
2738: 02042023 sw zero,32(s0)
273c: 04100793 li a5,65
2740: 04f91263 bne s2,a5,2784 <finsh_thread_entry+0xf8>
2744: 306e lhu a1,38(s0)
2746: d9d1 beqz a1,26da <finsh_thread_entry+0x4e>
2748: 15fd addi a1,a1,-1
274a: 05c2 slli a1,a1,0x10
274c: 81c1 srli a1,a1,0x10
274e: b06e sh a1,38(s0)
2750: 1ba40793 addi a5,s0,442
2754: 05000713 li a4,80
2758: 02e585b3 mul a1,a1,a4
275c: 05000613 li a2,80
2760: 853e mv a0,a5
2762: 02a58593 addi a1,a1,42
2766: 95a2 add a1,a1,s0
2768: 4b7010ef jal ra,441e <memcpy>
276c: 593010ef jal ra,44fe <strlen>
2770: 0ff57513 andi a0,a0,255
2774: 20a40523 sb a0,522(s0)
2778: 20a405a3 sb a0,523(s0)
277c: 8522 mv a0,s0
277e: e63ff0ef jal ra,25e0 <shell_handle_history>
2782: bfa1 j 26da <finsh_thread_entry+0x4e>
2784: 04200793 li a5,66
2788: 02f91163 bne s2,a5,27aa <finsh_thread_entry+0x11e>
278c: 3416 lhu a3,40(s0)
278e: 307e lhu a5,38(s0)
2790: fff68713 addi a4,a3,-1 # 7fffffff <_eusrstack+0x5ffeffff>
2794: 00e7d863 bge a5,a4,27a4 <finsh_thread_entry+0x118>
2798: 0785 addi a5,a5,1
279a: b07e sh a5,38(s0)
279c: 1ba40793 addi a5,s0,442
27a0: 306e lhu a1,38(s0)
27a2: bf4d j 2754 <finsh_thread_entry+0xc8>
27a4: da9d beqz a3,26da <finsh_thread_entry+0x4e>
27a6: b07a sh a4,38(s0)
27a8: bfd5 j 279c <finsh_thread_entry+0x110>
27aa: 04400793 li a5,68
27ae: 02f91063 bne s2,a5,27ce <finsh_thread_entry+0x142>
27b2: 20b44783 lbu a5,523(s0)
27b6: d395 beqz a5,26da <finsh_thread_entry+0x4e>
27b8: 26098513 addi a0,s3,608 # 5260 <__fsym___cmd_ps_name+0x68>
27bc: ff2fe0ef jal ra,fae <rt_kprintf>
27c0: 4098 lw a4,0(s1)
27c2: 20b74783 lbu a5,523(a4)
27c6: 17fd addi a5,a5,-1
27c8: 20f705a3 sb a5,523(a4)
27cc: b739 j 26da <finsh_thread_entry+0x4e>
27ce: 04300793 li a5,67
27d2: f4f919e3 bne s2,a5,2724 <finsh_thread_entry+0x98>
27d6: 20b44783 lbu a5,523(s0)
27da: 20a44703 lbu a4,522(s0)
27de: eee7fee3 bgeu a5,a4,26da <finsh_thread_entry+0x4e>
27e2: 943e add s0,s0,a5
27e4: 1ba40583 lb a1,442(s0)
27e8: 264a8513 addi a0,s5,612 # 5264 <__fsym___cmd_ps_name+0x6c>
27ec: fc2fe0ef jal ra,fae <rt_kprintf>
27f0: 4098 lw a4,0(s1)
27f2: 20b74783 lbu a5,523(a4)
27f6: 0785 addi a5,a5,1
27f8: bfc1 j 27c8 <finsh_thread_entry+0x13c>
27fa: 26098513 addi a0,s3,608
27fe: fb0fe0ef jal ra,fae <rt_kprintf>
2802: 0905 addi s2,s2,1
2804: 4080 lw s0,0(s1)
2806: 20b44783 lbu a5,523(s0)
280a: fef948e3 blt s2,a5,27fa <finsh_thread_entry+0x16e>
280e: a58a0513 addi a0,s4,-1448 # 5a58 <ch32_uart_ops+0x70>
2812: f9cfe0ef jal ra,fae <rt_kprintf>
2816: a79ff0ef jal ra,228e <msh_is_used>
281a: 4785 li a5,1
281c: 1ba40413 addi s0,s0,442
2820: 00f51563 bne a0,a5,282a <finsh_thread_entry+0x19e>
2824: 8522 mv a0,s0
2826: c17ff0ef jal ra,243c <msh_auto_complete>
282a: d7bff0ef jal ra,25a4 <finsh_get_prompt>
282e: 8622 mv a2,s0
2830: 85aa mv a1,a0
2832: 27cc8513 addi a0,s9,636 # 527c <__fsym___cmd_ps_name+0x84>
2836: f78fe0ef jal ra,fae <rt_kprintf>
283a: 4080 lw s0,0(s1)
283c: 1ba40513 addi a0,s0,442
2840: 4bf010ef jal ra,44fe <strlen>
2844: 0ff57513 andi a0,a0,255
2848: 20a40523 sb a0,522(s0)
284c: 20a405a3 sb a0,523(s0)
2850: b569 j 26da <finsh_thread_entry+0x4e>
2852: 07f00793 li a5,127
2856: 00f90563 beq s2,a5,2860 <finsh_thread_entry+0x1d4>
285a: 47a1 li a5,8
285c: 08f91563 bne s2,a5,28e6 <finsh_thread_entry+0x25a>
2860: 20b44783 lbu a5,523(s0)
2864: e6078be3 beqz a5,26da <finsh_thread_entry+0x4e>
2868: 20a44603 lbu a2,522(s0)
286c: 17fd addi a5,a5,-1
286e: 0ff7f793 andi a5,a5,255
2872: 167d addi a2,a2,-1
2874: 0ff67613 andi a2,a2,255
2878: 20c40523 sb a2,522(s0)
287c: 20f405a3 sb a5,523(s0)
2880: 04c7f863 bgeu a5,a2,28d0 <finsh_thread_entry+0x244>
2884: 1bb78593 addi a1,a5,443
2888: 1ba78513 addi a0,a5,442
288c: 8e1d sub a2,a2,a5
288e: 95a2 add a1,a1,s0
2890: 9522 add a0,a0,s0
2892: ae4fe0ef jal ra,b76 <rt_memmove>
2896: 409c lw a5,0(s1)
2898: 268b8513 addi a0,s7,616 # 5268 <__fsym___cmd_ps_name+0x70>
289c: 20a7c703 lbu a4,522(a5)
28a0: 973e add a4,a4,a5
28a2: 1a070d23 sb zero,442(a4)
28a6: 20b7c583 lbu a1,523(a5)
28aa: 1ba58593 addi a1,a1,442
28ae: 95be add a1,a1,a5
28b0: efefe0ef jal ra,fae <rt_kprintf>
28b4: 409c lw a5,0(s1)
28b6: 20b7c403 lbu s0,523(a5)
28ba: 409c lw a5,0(s1)
28bc: 20a7c783 lbu a5,522(a5)
28c0: e087cde3 blt a5,s0,26da <finsh_thread_entry+0x4e>
28c4: 26098513 addi a0,s3,608
28c8: ee6fe0ef jal ra,fae <rt_kprintf>
28cc: 0405 addi s0,s0,1
28ce: b7f5 j 28ba <finsh_thread_entry+0x22e>
28d0: 270b0513 addi a0,s6,624 # 5270 <__fsym___cmd_ps_name+0x78>
28d4: edafe0ef jal ra,fae <rt_kprintf>
28d8: 409c lw a5,0(s1)
28da: 20a7c703 lbu a4,522(a5)
28de: 97ba add a5,a5,a4
28e0: 1a078d23 sb zero,442(a5)
28e4: bbdd j 26da <finsh_thread_entry+0x4e>
28e6: 4735 li a4,13
28e8: 20a44783 lbu a5,522(s0)
28ec: 00e90563 beq s2,a4,28f6 <finsh_thread_entry+0x26a>
28f0: 4729 li a4,10
28f2: 0ee91e63 bne s2,a4,29ee <finsh_thread_entry+0x362>
28f6: cbb9 beqz a5,294c <finsh_thread_entry+0x2c0>
28f8: 02845903 lhu s2,40(s0)
28fc: 4791 li a5,4
28fe: 1ba40d13 addi s10,s0,442
2902: 0927fb63 bgeu a5,s2,2998 <finsh_thread_entry+0x30c>
2906: 16a40d93 addi s11,s0,362
290a: 05000613 li a2,80
290e: 85ea mv a1,s10
2910: 856e mv a0,s11
2912: 2e9010ef jal ra,43fa <memcmp>
2916: c91d beqz a0,294c <finsh_thread_entry+0x2c0>
2918: 02a40913 addi s2,s0,42
291c: 854a mv a0,s2
291e: 05090913 addi s2,s2,80
2922: 05000613 li a2,80
2926: 85ca mv a1,s2
2928: 2f7010ef jal ra,441e <memcpy>
292c: ff2d98e3 bne s11,s2,291c <finsh_thread_entry+0x290>
2930: 05000613 li a2,80
2934: 4581 li a1,0
2936: 856e mv a0,s11
2938: a9bfd0ef jal ra,3d2 <memset>
293c: 20a44603 lbu a2,522(s0)
2940: 85ea mv a1,s10
2942: 856e mv a0,s11
2944: 2db010ef jal ra,441e <memcpy>
2948: 4795 li a5,5
294a: b41e sh a5,40(s0)
294c: 341e lhu a5,40(s0)
294e: b07e sh a5,38(s0)
2950: 93fff0ef jal ra,228e <msh_is_used>
2954: 4785 li a5,1
2956: 02f51263 bne a0,a5,297a <finsh_thread_entry+0x2ee>
295a: 409c lw a5,0(s1)
295c: 0247c783 lbu a5,36(a5)
2960: 8b85 andi a5,a5,1
2962: c789 beqz a5,296c <finsh_thread_entry+0x2e0>
2964: a58a0513 addi a0,s4,-1448
2968: e46fe0ef jal ra,fae <rt_kprintf>
296c: 4088 lw a0,0(s1)
296e: 20a54583 lbu a1,522(a0)
2972: 1ba50513 addi a0,a0,442
2976: 91dff0ef jal ra,2292 <msh_exec>
297a: c2bff0ef jal ra,25a4 <finsh_get_prompt>
297e: e30fe0ef jal ra,fae <rt_kprintf>
2982: 4080 lw s0,0(s1)
2984: 05000613 li a2,80
2988: 4581 li a1,0
298a: 1ba40513 addi a0,s0,442
298e: a45fd0ef jal ra,3d2 <memset>
2992: 20041523 sh zero,522(s0)
2996: b391 j 26da <finsh_thread_entry+0x4e>
2998: 02090163 beqz s2,29ba <finsh_thread_entry+0x32e>
299c: fff90513 addi a0,s2,-1
29a0: 05000793 li a5,80
29a4: 02f50533 mul a0,a0,a5
29a8: 05000613 li a2,80
29ac: 85ea mv a1,s10
29ae: 02a50513 addi a0,a0,42
29b2: 9522 add a0,a0,s0
29b4: 247010ef jal ra,43fa <memcmp>
29b8: d951 beqz a0,294c <finsh_thread_entry+0x2c0>
29ba: 05000d93 li s11,80
29be: 03b90533 mul a0,s2,s11
29c2: 05000613 li a2,80
29c6: 4581 li a1,0
29c8: 02a50513 addi a0,a0,42
29cc: 9522 add a0,a0,s0
29ce: a05fd0ef jal ra,3d2 <memset>
29d2: 340a lhu a0,40(s0)
29d4: 20a44603 lbu a2,522(s0)
29d8: 85ea mv a1,s10
29da: 03b50533 mul a0,a0,s11
29de: 02a50513 addi a0,a0,42
29e2: 9522 add a0,a0,s0
29e4: 23b010ef jal ra,441e <memcpy>
29e8: 341e lhu a5,40(s0)
29ea: 0785 addi a5,a5,1
29ec: bfb9 j 294a <finsh_thread_entry+0x2be>
29ee: 04f00713 li a4,79
29f2: 00f77463 bgeu a4,a5,29fa <finsh_thread_entry+0x36e>
29f6: 20040523 sb zero,522(s0)
29fa: 20b44603 lbu a2,523(s0)
29fe: 20a44783 lbu a5,522(s0)
2a02: 08f67063 bgeu a2,a5,2a82 <finsh_thread_entry+0x3f6>
2a06: 1ba60593 addi a1,a2,442
2a0a: 1bb60513 addi a0,a2,443
2a0e: 95a2 add a1,a1,s0
2a10: 40c78633 sub a2,a5,a2
2a14: 9522 add a0,a0,s0
2a16: 960fe0ef jal ra,b76 <rt_memmove>
2a1a: 408c lw a1,0(s1)
2a1c: 20b5c783 lbu a5,523(a1)
2a20: 00f58733 add a4,a1,a5
2a24: 1b270d23 sb s2,442(a4)
2a28: 0245c703 lbu a4,36(a1)
2a2c: 8b05 andi a4,a4,1
2a2e: cb01 beqz a4,2a3e <finsh_thread_entry+0x3b2>
2a30: 1ba78793 addi a5,a5,442
2a34: 95be add a1,a1,a5
2a36: ff8c0513 addi a0,s8,-8 # 4ff8 <__fsym_reboot_name+0xc>
2a3a: d74fe0ef jal ra,fae <rt_kprintf>
2a3e: 409c lw a5,0(s1)
2a40: 20b7c403 lbu s0,523(a5)
2a44: 409c lw a5,0(s1)
2a46: 20a7c783 lbu a5,522(a5)
2a4a: 02f44663 blt s0,a5,2a76 <finsh_thread_entry+0x3ea>
2a4e: 4098 lw a4,0(s1)
2a50: 20a74783 lbu a5,522(a4)
2a54: 20b74683 lbu a3,523(a4)
2a58: 0785 addi a5,a5,1
2a5a: 0685 addi a3,a3,1
2a5c: 0ff7f793 andi a5,a5,255
2a60: 20d705a3 sb a3,523(a4)
2a64: 20f70523 sb a5,522(a4)
2a68: 04f00693 li a3,79
2a6c: c6f6f7e3 bgeu a3,a5,26da <finsh_thread_entry+0x4e>
2a70: 20071523 sh zero,522(a4)
2a74: b19d j 26da <finsh_thread_entry+0x4e>
2a76: 26098513 addi a0,s3,608
2a7a: d34fe0ef jal ra,fae <rt_kprintf>
2a7e: 0405 addi s0,s0,1
2a80: b7d1 j 2a44 <finsh_thread_entry+0x3b8>
2a82: 97a2 add a5,a5,s0
2a84: 1b278d23 sb s2,442(a5)
2a88: 02444783 lbu a5,36(s0)
2a8c: 8b85 andi a5,a5,1
2a8e: d3e1 beqz a5,2a4e <finsh_thread_entry+0x3c2>
2a90: 85ca mv a1,s2
2a92: 264a8513 addi a0,s5,612
2a96: d18fe0ef jal ra,fae <rt_kprintf>
2a9a: bf55 j 2a4e <finsh_thread_entry+0x3c2>
00002a9c <rt_serial_init>:
2a9c: 417c lw a5,68(a0)
2a9e: 04052823 sw zero,80(a0)
2aa2: 04052a23 sw zero,84(a0)
2aa6: 439c lw a5,0(a5)
2aa8: cb81 beqz a5,2ab8 <rt_serial_init+0x1c>
2aaa: 8f9fd2ef jal t0,3a2 <__riscv_save_0>
2aae: 04850593 addi a1,a0,72
2ab2: 9782 jalr a5
2ab4: 913fd06f j 3c6 <__riscv_restore_0>
2ab8: 4501 li a0,0
2aba: 8082 ret
00002abc <rt_serial_write>:
2abc: 8cdfd2ef jal t0,388 <__riscv_save_4>
2ac0: 8936 mv s2,a3
2ac2: ca9d beqz a3,2af8 <rt_serial_write+0x3c>
2ac4: 84aa mv s1,a0
2ac6: 8432 mv s0,a2
2ac8: 00d609b3 add s3,a2,a3
2acc: 4a29 li s4,10
2ace: 201c lbu a5,0(s0)
2ad0: 01479b63 bne a5,s4,2ae6 <rt_serial_write+0x2a>
2ad4: 2cbe lhu a5,26(s1)
2ad6: 0407f793 andi a5,a5,64
2ada: c791 beqz a5,2ae6 <rt_serial_write+0x2a>
2adc: 40fc lw a5,68(s1)
2ade: 45b5 li a1,13
2ae0: 8526 mv a0,s1
2ae2: 479c lw a5,8(a5)
2ae4: 9782 jalr a5
2ae6: 40fc lw a5,68(s1)
2ae8: 00040583 lb a1,0(s0)
2aec: 8526 mv a0,s1
2aee: 479c lw a5,8(a5)
2af0: 0405 addi s0,s0,1
2af2: 9782 jalr a5
2af4: fd341de3 bne s0,s3,2ace <rt_serial_write+0x12>
2af8: 854a mv a0,s2
2afa: 8c3fd06f j 3bc <__riscv_restore_4>
00002afe <rt_serial_open>:
2afe: 8a5fd2ef jal t0,3a2 <__riscv_save_0>
2b02: 1005f793 andi a5,a1,256
2b06: 842a mv s0,a0
2b08: c791 beqz a5,2b14 <rt_serial_open+0x16>
2b0a: 2d1a lhu a4,24(a0)
2b0c: 5561 li a0,-8
2b0e: 10077713 andi a4,a4,256
2b12: cf35 beqz a4,2b8e <rt_serial_open+0x90>
2b14: 4005f713 andi a4,a1,1024
2b18: c711 beqz a4,2b24 <rt_serial_open+0x26>
2b1a: 2c1a lhu a4,24(s0)
2b1c: 5561 li a0,-8
2b1e: 40077713 andi a4,a4,1024
2b22: c735 beqz a4,2b8e <rt_serial_open+0x90>
2b24: 0405f713 andi a4,a1,64
2b28: 04000493 li s1,64
2b2c: e701 bnez a4,2b34 <rt_serial_open+0x36>
2b2e: 2c26 lhu s1,26(s0)
2b30: 0404f493 andi s1,s1,64
2b34: 4838 lw a4,80(s0)
2b36: 0ff5f593 andi a1,a1,255
2b3a: ac2e sh a1,26(s0)
2b3c: eb39 bnez a4,2b92 <rt_serial_open+0x94>
2b3e: c7a1 beqz a5,2b86 <rt_serial_open+0x88>
2b40: 4468 lw a0,76(s0)
2b42: 8129 srli a0,a0,0xa
2b44: 0542 slli a0,a0,0x10
2b46: 8141 srli a0,a0,0x10
2b48: 0531 addi a0,a0,12
2b4a: e5efe0ef jal ra,11a8 <rt_malloc>
2b4e: 4470 lw a2,76(s0)
2b50: 892a mv s2,a0
2b52: 0531 addi a0,a0,12
2b54: 8229 srli a2,a2,0xa
2b56: 0642 slli a2,a2,0x10
2b58: 8241 srli a2,a2,0x10
2b5a: 4581 li a1,0
2b5c: 00a92023 sw a0,0(s2)
2b60: f8ffd0ef jal ra,aee <rt_memset>
2b64: 00092223 sw zero,4(s2)
2b68: 2c3e lhu a5,26(s0)
2b6a: 00092423 sw zero,8(s2)
2b6e: 05242823 sw s2,80(s0)
2b72: 1007e793 ori a5,a5,256
2b76: ac3e sh a5,26(s0)
2b78: 407c lw a5,68(s0)
2b7a: 10000613 li a2,256
2b7e: 45c1 li a1,16
2b80: 43dc lw a5,4(a5)
2b82: 8522 mv a0,s0
2b84: 9782 jalr a5
2b86: 2c3e lhu a5,26(s0)
2b88: 4501 li a0,0
2b8a: 8cdd or s1,s1,a5
2b8c: ac26 sh s1,26(s0)
2b8e: 839fd06f j 3c6 <__riscv_restore_0>
2b92: dbf5 beqz a5,2b86 <rt_serial_open+0x88>
2b94: 1005e593 ori a1,a1,256
2b98: ac2e sh a1,26(s0)
2b9a: b7f5 j 2b86 <rt_serial_open+0x88>
00002b9c <rt_serial_control>:
2b9c: 4809 li a6,2
2b9e: 87aa mv a5,a0
2ba0: 03058163 beq a1,a6,2bc2 <rt_serial_control+0x26>
2ba4: ffefd2ef jal t0,3a2 <__riscv_save_0>
2ba8: 480d li a6,3
2baa: 03058263 beq a1,a6,2bce <rt_serial_control+0x32>
2bae: 4705 li a4,1
2bb0: 04e59963 bne a1,a4,2c02 <rt_serial_control+0x66>
2bb4: 2d1a lhu a4,24(a0)
2bb6: fdf77713 andi a4,a4,-33
2bba: ad1a sh a4,24(a0)
2bbc: 4501 li a0,0
2bbe: 809fd06f j 3c6 <__riscv_restore_0>
2bc2: 2d1a lhu a4,24(a0)
2bc4: 02076713 ori a4,a4,32
2bc8: ad1a sh a4,24(a0)
2bca: 4501 li a0,0
2bcc: 8082 ret
2bce: 8732 mv a4,a2
2bd0: d675 beqz a2,2bbc <rt_serial_control+0x20>
2bd2: 4250 lw a2,4(a2)
2bd4: 4574 lw a3,76(a0)
2bd6: 2d4c lbu a1,28(a0)
2bd8: 8229 srli a2,a2,0xa
2bda: 82a9 srli a3,a3,0xa
2bdc: 0642 slli a2,a2,0x10
2bde: 06c2 slli a3,a3,0x10
2be0: 8241 srli a2,a2,0x10
2be2: 82c1 srli a3,a3,0x10
2be4: 00d60463 beq a2,a3,2bec <rt_serial_control+0x50>
2be8: 451d li a0,7
2bea: f9f1 bnez a1,2bbe <rt_serial_control+0x22>
2bec: 4314 lw a3,0(a4)
2bee: c7b4 sw a3,72(a5)
2bf0: 4354 lw a3,4(a4)
2bf2: c7f4 sw a3,76(a5)
2bf4: d5e1 beqz a1,2bbc <rt_serial_control+0x20>
2bf6: 43f4 lw a3,68(a5)
2bf8: 85ba mv a1,a4
2bfa: 853e mv a0,a5
2bfc: 4294 lw a3,0(a3)
2bfe: 9682 jalr a3
2c00: bf75 j 2bbc <rt_serial_control+0x20>
2c02: 417c lw a5,68(a0)
2c04: 43dc lw a5,4(a5)
2c06: 9782 jalr a5
2c08: bf5d j 2bbe <rt_serial_control+0x22>
00002c0a <rt_serial_read>:
2c0a: f7efd2ef jal t0,388 <__riscv_save_4>
2c0e: 8436 mv s0,a3
2c10: cab1 beqz a3,2c64 <rt_serial_read+0x5a>
2c12: 2d3e lhu a5,26(a0)
2c14: 89aa mv s3,a0
2c16: 8932 mv s2,a2
2c18: 1007f793 andi a5,a5,256
2c1c: 84b6 mv s1,a3
2c1e: e39d bnez a5,2c44 <rt_serial_read+0x3a>
2c20: 5a7d li s4,-1
2c22: 4aa9 li s5,10
2c24: 0449a783 lw a5,68(s3)
2c28: 854e mv a0,s3
2c2a: 47dc lw a5,12(a5)
2c2c: 9782 jalr a5
2c2e: 01450963 beq a0,s4,2c40 <rt_serial_read+0x36>
2c32: 00a90023 sb a0,0(s2)
2c36: 14fd addi s1,s1,-1
2c38: 0905 addi s2,s2,1
2c3a: 01550363 beq a0,s5,2c40 <rt_serial_read+0x36>
2c3e: f0fd bnez s1,2c24 <rt_serial_read+0x1a>
2c40: 8c05 sub s0,s0,s1
2c42: a00d j 2c64 <rt_serial_read+0x5a>
2c44: 4924 lw s1,80(a0)
2c46: 8a36 mv s4,a3
2c48: 4a85 li s5,1
2c4a: f39fe0ef jal ra,1b82 <rt_hw_interrupt_disable>
2c4e: 20fe lhu a5,6(s1)
2c50: 20da lhu a4,4(s1)
2c52: 862a mv a2,a0
2c54: 4494 lw a3,8(s1)
2c56: 00f71a63 bne a4,a5,2c6a <rt_serial_read+0x60>
2c5a: ea81 bnez a3,2c6a <rt_serial_read+0x60>
2c5c: f33fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
2c60: 41440433 sub s0,s0,s4
2c64: 8522 mv a0,s0
2c66: f56fd06f j 3bc <__riscv_restore_4>
2c6a: 4098 lw a4,0(s1)
2c6c: 973e add a4,a4,a5
2c6e: 00074b03 lbu s6,0(a4)
2c72: 04c9a703 lw a4,76(s3)
2c76: 0785 addi a5,a5,1
2c78: 07c2 slli a5,a5,0x10
2c7a: 8329 srli a4,a4,0xa
2c7c: 83c1 srli a5,a5,0x10
2c7e: 0742 slli a4,a4,0x10
2c80: a0fe sh a5,6(s1)
2c82: 8341 srli a4,a4,0x10
2c84: 00e7e463 bltu a5,a4,2c8c <rt_serial_read+0x82>
2c88: 00049323 sh zero,6(s1)
2c8c: 01569463 bne a3,s5,2c94 <rt_serial_read+0x8a>
2c90: 0004a423 sw zero,8(s1)
2c94: 8532 mv a0,a2
2c96: ef9fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
2c9a: 1a7d addi s4,s4,-1
2c9c: 01690023 sb s6,0(s2)
2ca0: 0905 addi s2,s2,1
2ca2: fa0a14e3 bnez s4,2c4a <rt_serial_read+0x40>
2ca6: bf6d j 2c60 <rt_serial_read+0x56>
00002ca8 <rt_serial_close>:
2ca8: 2d58 lbu a4,28(a0)
2caa: 4785 li a5,1
2cac: 02e7ec63 bltu a5,a4,2ce4 <rt_serial_close+0x3c>
2cb0: 2d3e lhu a5,26(a0)
2cb2: 1007f793 andi a5,a5,256
2cb6: c79d beqz a5,2ce4 <rt_serial_close+0x3c>
2cb8: eeafd2ef jal t0,3a2 <__riscv_save_0>
2cbc: 842a mv s0,a0
2cbe: 4928 lw a0,80(a0)
2cc0: e38fe0ef jal ra,12f8 <rt_free>
2cc4: 2c3e lhu a5,26(s0)
2cc6: 04042823 sw zero,80(s0)
2cca: 10000613 li a2,256
2cce: eff7f793 andi a5,a5,-257
2cd2: ac3e sh a5,26(s0)
2cd4: 407c lw a5,68(s0)
2cd6: 45c5 li a1,17
2cd8: 8522 mv a0,s0
2cda: 43dc lw a5,4(a5)
2cdc: 9782 jalr a5
2cde: 4501 li a0,0
2ce0: ee6fd06f j 3c6 <__riscv_restore_0>
2ce4: 4501 li a0,0
2ce6: 8082 ret
00002ce8 <rt_hw_serial_register>:
2ce8: ebafd2ef jal t0,3a2 <__riscv_save_0>
2cec: 00003737 lui a4,0x3
2cf0: a9c70713 addi a4,a4,-1380 # 2a9c <rt_serial_init>
2cf4: d518 sw a4,40(a0)
2cf6: 00003737 lui a4,0x3
2cfa: afe70713 addi a4,a4,-1282 # 2afe <rt_serial_open>
2cfe: d558 sw a4,44(a0)
2d00: 00003737 lui a4,0x3
2d04: ca870713 addi a4,a4,-856 # 2ca8 <rt_serial_close>
2d08: d918 sw a4,48(a0)
2d0a: 00003737 lui a4,0x3
2d0e: c0a70713 addi a4,a4,-1014 # 2c0a <rt_serial_read>
2d12: d958 sw a4,52(a0)
2d14: 00003737 lui a4,0x3
2d18: abc70713 addi a4,a4,-1348 # 2abc <rt_serial_write>
2d1c: dd18 sw a4,56(a0)
2d1e: 00003737 lui a4,0x3
2d22: b9c70713 addi a4,a4,-1124 # 2b9c <rt_serial_control>
2d26: 0642 slli a2,a2,0x10
2d28: dd58 sw a4,60(a0)
2d2a: c134 sw a3,64(a0)
2d2c: 8241 srli a2,a2,0x10
2d2e: 00052a23 sw zero,20(a0)
2d32: 02052023 sw zero,32(a0)
2d36: 02052223 sw zero,36(a0)
2d3a: 891fd0ef jal ra,5ca <rt_device_register>
2d3e: e88fd06f j 3c6 <__riscv_restore_0>
00002d42 <rt_hw_serial_isr>:
2d42: 0ff5f593 andi a1,a1,255
2d46: 4785 li a5,1
2d48: 0af59163 bne a1,a5,2dea <rt_hw_serial_isr+0xa8>
2d4c: e3cfd2ef jal t0,388 <__riscv_save_4>
2d50: 4920 lw s0,80(a0)
2d52: 1141 addi sp,sp,-16
2d54: 84aa mv s1,a0
2d56: 597d li s2,-1
2d58: 4985 li s3,1
2d5a: 40fc lw a5,68(s1)
2d5c: 8526 mv a0,s1
2d5e: 47dc lw a5,12(a5)
2d60: 9782 jalr a5
2d62: 8a2a mv s4,a0
2d64: 05250763 beq a0,s2,2db2 <rt_hw_serial_isr+0x70>
2d68: e1bfe0ef jal ra,1b82 <rt_hw_interrupt_disable>
2d6c: 205a lhu a4,4(s0)
2d6e: 401c lw a5,0(s0)
2d70: 97ba add a5,a5,a4
2d72: 01478023 sb s4,0(a5)
2d76: 205e lhu a5,4(s0)
2d78: 44f8 lw a4,76(s1)
2d7a: 0785 addi a5,a5,1
2d7c: 07c2 slli a5,a5,0x10
2d7e: 8329 srli a4,a4,0xa
2d80: 83c1 srli a5,a5,0x10
2d82: 0742 slli a4,a4,0x10
2d84: a05e sh a5,4(s0)
2d86: 8341 srli a4,a4,0x10
2d88: 00e7e463 bltu a5,a4,2d90 <rt_hw_serial_isr+0x4e>
2d8c: 00041223 sh zero,4(s0)
2d90: 2076 lhu a3,6(s0)
2d92: 205e lhu a5,4(s0)
2d94: 00d79c63 bne a5,a3,2dac <rt_hw_serial_isr+0x6a>
2d98: 0785 addi a5,a5,1
2d9a: 07c2 slli a5,a5,0x10
2d9c: 83c1 srli a5,a5,0x10
2d9e: a07e sh a5,6(s0)
2da0: 01342423 sw s3,8(s0)
2da4: 00e7e463 bltu a5,a4,2dac <rt_hw_serial_isr+0x6a>
2da8: 00041323 sh zero,6(s0)
2dac: de3fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
2db0: b76d j 2d5a <rt_hw_serial_isr+0x18>
2db2: 509c lw a5,32(s1)
2db4: c385 beqz a5,2dd4 <rt_hw_serial_isr+0x92>
2db6: dcdfe0ef jal ra,1b82 <rt_hw_interrupt_disable>
2dba: 205a lhu a4,4(s0)
2dbc: 206e lhu a1,6(s0)
2dbe: 00b76e63 bltu a4,a1,2dda <rt_hw_serial_isr+0x98>
2dc2: 40b705b3 sub a1,a4,a1
2dc6: c62e sw a1,12(sp)
2dc8: dc7fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
2dcc: 509c lw a5,32(s1)
2dce: 45b2 lw a1,12(sp)
2dd0: 8526 mv a0,s1
2dd2: 9782 jalr a5
2dd4: 0141 addi sp,sp,16
2dd6: de6fd06f j 3bc <__riscv_restore_4>
2dda: 44fc lw a5,76(s1)
2ddc: 8d99 sub a1,a1,a4
2dde: 83a9 srli a5,a5,0xa
2de0: 07c2 slli a5,a5,0x10
2de2: 83c1 srli a5,a5,0x10
2de4: 40b785b3 sub a1,a5,a1
2de8: bff9 j 2dc6 <rt_hw_serial_isr+0x84>
2dea: 8082 ret
00002dec <_pin_control>:
2dec: ce01 beqz a2,2e04 <_pin_control+0x18>
2dee: db4fd2ef jal t0,3a2 <__riscv_save_0>
2df2: 4178 lw a4,68(a0)
2df4: 87b2 mv a5,a2
2df6: 238e lhu a1,0(a5)
2df8: 4318 lw a4,0(a4)
2dfa: 2232 lhu a2,2(a2)
2dfc: 9702 jalr a4
2dfe: 4501 li a0,0
2e00: dc6fd06f j 3c6 <__riscv_restore_0>
2e04: 557d li a0,-1
2e06: 8082 ret
00002e08 <rt_pin_mode>:
2e08: d9afd2ef jal t0,3a2 <__riscv_save_0>
2e0c: cec18713 addi a4,gp,-788 # 2000064c <_hw_pin>
2e10: 4378 lw a4,68(a4)
2e12: 862e mv a2,a1
2e14: 85aa mv a1,a0
2e16: 4318 lw a4,0(a4)
2e18: cec18513 addi a0,gp,-788 # 2000064c <_hw_pin>
2e1c: 9702 jalr a4
2e1e: da8fd06f j 3c6 <__riscv_restore_0>
00002e22 <rt_pin_write>:
2e22: d80fd2ef jal t0,3a2 <__riscv_save_0>
2e26: cec18713 addi a4,gp,-788 # 2000064c <_hw_pin>
2e2a: 4378 lw a4,68(a4)
2e2c: 862e mv a2,a1
2e2e: 85aa mv a1,a0
2e30: 4358 lw a4,4(a4)
2e32: cec18513 addi a0,gp,-788 # 2000064c <_hw_pin>
2e36: 9702 jalr a4
2e38: d8efd06f j 3c6 <__riscv_restore_0>
00002e3c <rt_pin_read>:
2e3c: d66fd2ef jal t0,3a2 <__riscv_save_0>
2e40: cec18713 addi a4,gp,-788 # 2000064c <_hw_pin>
2e44: 4378 lw a4,68(a4)
2e46: 85aa mv a1,a0
2e48: cec18513 addi a0,gp,-788 # 2000064c <_hw_pin>
2e4c: 4718 lw a4,8(a4)
2e4e: 9702 jalr a4
2e50: d76fd06f j 3c6 <__riscv_restore_0>
00002e54 <_pin_read>:
2e54: c605 beqz a2,2e7c <_pin_read+0x28>
2e56: 4711 li a4,4
2e58: 02e69263 bne a3,a4,2e7c <_pin_read+0x28>
2e5c: d46fd2ef jal t0,3a2 <__riscv_save_0>
2e60: 417c lw a5,68(a0)
2e62: 220e lhu a1,0(a2)
2e64: 1141 addi sp,sp,-16
2e66: 479c lw a5,8(a5)
2e68: c636 sw a3,12(sp)
2e6a: c432 sw a2,8(sp)
2e6c: 9782 jalr a5
2e6e: 4622 lw a2,8(sp)
2e70: 46b2 lw a3,12(sp)
2e72: a22a sh a0,2(a2)
2e74: 8536 mv a0,a3
2e76: 0141 addi sp,sp,16
2e78: d4efd06f j 3c6 <__riscv_restore_0>
2e7c: 4681 li a3,0
2e7e: 8536 mv a0,a3
2e80: 8082 ret
00002e82 <_pin_write>:
2e82: c21d beqz a2,2ea8 <_pin_write+0x26>
2e84: 87b2 mv a5,a2
2e86: 4611 li a2,4
2e88: 02c69063 bne a3,a2,2ea8 <_pin_write+0x26>
2e8c: d16fd2ef jal t0,3a2 <__riscv_save_0>
2e90: 4178 lw a4,68(a0)
2e92: 23b2 lhu a2,2(a5)
2e94: 238e lhu a1,0(a5)
2e96: 4358 lw a4,4(a4)
2e98: 1141 addi sp,sp,-16
2e9a: c636 sw a3,12(sp)
2e9c: 9702 jalr a4
2e9e: 46b2 lw a3,12(sp)
2ea0: 0141 addi sp,sp,16
2ea2: 8536 mv a0,a3
2ea4: d22fd06f j 3c6 <__riscv_restore_0>
2ea8: 4681 li a3,0
2eaa: 8536 mv a0,a3
2eac: 8082 ret
00002eae <rt_device_pin_register>:
2eae: cf4fd2ef jal t0,3a2 <__riscv_save_0>
2eb2: cec18793 addi a5,gp,-788 # 2000064c <_hw_pin>
2eb6: 4749 li a4,18
2eb8: cbd8 sw a4,20(a5)
2eba: 00003737 lui a4,0x3
2ebe: e5470713 addi a4,a4,-428 # 2e54 <_pin_read>
2ec2: dbd8 sw a4,52(a5)
2ec4: 00003737 lui a4,0x3
2ec8: e8270713 addi a4,a4,-382 # 2e82 <_pin_write>
2ecc: df98 sw a4,56(a5)
2ece: 00003737 lui a4,0x3
2ed2: dec70713 addi a4,a4,-532 # 2dec <_pin_control>
2ed6: c3ec sw a1,68(a5)
2ed8: c3b0 sw a2,64(a5)
2eda: 85aa mv a1,a0
2edc: 460d li a2,3
2ede: cec18513 addi a0,gp,-788 # 2000064c <_hw_pin>
2ee2: 0207a023 sw zero,32(a5)
2ee6: 0207a223 sw zero,36(a5)
2eea: 0207a423 sw zero,40(a5)
2eee: 0207a623 sw zero,44(a5)
2ef2: 0207a823 sw zero,48(a5)
2ef6: dfd8 sw a4,60(a5)
2ef8: ed2fd0ef jal ra,5ca <rt_device_register>
2efc: 4501 li a0,0
2efe: cc8fd06f j 3c6 <__riscv_restore_0>
00002f02 <rt_heap_begin_get>:
2f02: 20000537 lui a0,0x20000
2f06: 69450513 addi a0,a0,1684 # 20000694 <rt_heap>
2f0a: 8082 ret
00002f0c <rt_heap_end_get>:
2f0c: 20001537 lui a0,0x20001
2f10: 69450513 addi a0,a0,1684 # 20001694 <serial1>
2f14: 8082 ret
00002f16 <rt_hw_board_init>:
2f16: c8cfd2ef jal t0,3a2 <__riscv_save_0>
2f1a: 200007b7 lui a5,0x20000
2f1e: 1607a703 lw a4,352(a5) # 20000160 <SystemCoreClock>
2f22: 3e800793 li a5,1000
2f26: 56c1 li a3,-16
2f28: 02f75733 divu a4,a4,a5
2f2c: e000e7b7 lui a5,0xe000e
2f30: 40d78623 sb a3,1036(a5) # e000e40c <_eusrstack+0xbfffe40c>
2f34: 40d78723 sb a3,1038(a5)
2f38: 6685 lui a3,0x1
2f3a: 10d7a023 sw a3,256(a5)
2f3e: 6691 lui a3,0x4
2f40: 10d7a023 sw a3,256(a5)
2f44: e000f7b7 lui a5,0xe000f
2f48: 0007a023 sw zero,0(a5) # e000f000 <_eusrstack+0xbffff000>
2f4c: 0007a223 sw zero,4(a5)
2f50: 4601 li a2,0
2f52: c790 sw a2,8(a5)
2f54: 4681 li a3,0
2f56: c7d4 sw a3,12(a5)
2f58: 4681 li a3,0
2f5a: fff70613 addi a2,a4,-1
2f5e: cb90 sw a2,16(a5)
2f60: cbd4 sw a3,20(a5)
2f62: 473d li a4,15
2f64: c398 sw a4,0(a5)
2f66: d7afd0ef jal ra,4e0 <rt_components_board_init>
2f6a: f99ff0ef jal ra,2f02 <rt_heap_begin_get>
2f6e: 842a mv s0,a0
2f70: f9dff0ef jal ra,2f0c <rt_heap_end_get>
2f74: 85aa mv a1,a0
2f76: 8522 mv a0,s0
2f78: 9b4fe0ef jal ra,112c <rt_system_heap_init>
2f7c: 00005537 lui a0,0x5
2f80: 2f450513 addi a0,a0,756 # 52f4 <__fsym_pinMode_name+0x8>
2f84: ffbfd0ef jal ra,f7e <rt_console_set_device>
2f88: c3efd06f j 3c6 <__riscv_restore_0>
00002f8c <SysTick_Handler>:
2f8c: 34011173 csrrw sp,mscratch,sp
2f90: 967fd0ef jal ra,8f6 <rt_interrupt_enter>
2f94: e000f7b7 lui a5,0xe000f
2f98: 0007a223 sw zero,4(a5) # e000f004 <_eusrstack+0xbffff004>
2f9c: ce4fd0ef jal ra,480 <rt_tick_increase>
2fa0: 983fd0ef jal ra,922 <rt_interrupt_leave>
2fa4: 34011173 csrrw sp,mscratch,sp
2fa8: 30200073 mret
00002fac <bit2bitno>:
2fac: 4781 li a5,0
2fae: 4685 li a3,1
2fb0: 02000713 li a4,32
2fb4: 00f69633 sll a2,a3,a5
2fb8: 00a60663 beq a2,a0,2fc4 <bit2bitno+0x18>
2fbc: 0785 addi a5,a5,1
2fbe: fee79be3 bne a5,a4,2fb4 <bit2bitno+0x8>
2fc2: 57fd li a5,-1
2fc4: 853e mv a0,a5
2fc6: 8082 ret
00002fc8 <GPIOD_CLK_ENABLE>:
2fc8: bdafd2ef jal t0,3a2 <__riscv_save_0>
2fcc: 4585 li a1,1
2fce: 02000513 li a0,32
2fd2: 739000ef jal ra,3f0a <RCC_APB2PeriphClockCmd>
2fd6: bf0fd06f j 3c6 <__riscv_restore_0>
00002fda <GPIOB_CLK_ENABLE>:
2fda: bc8fd2ef jal t0,3a2 <__riscv_save_0>
2fde: 4585 li a1,1
2fe0: 4521 li a0,8
2fe2: 729000ef jal ra,3f0a <RCC_APB2PeriphClockCmd>
2fe6: be0fd06f j 3c6 <__riscv_restore_0>
00002fea <GPIOA_CLK_ENABLE>:
2fea: bb8fd2ef jal t0,3a2 <__riscv_save_0>
2fee: 4585 li a1,1
2ff0: 4511 li a0,4
2ff2: 719000ef jal ra,3f0a <RCC_APB2PeriphClockCmd>
2ff6: bd0fd06f j 3c6 <__riscv_restore_0>
00002ffa <GPIOC_CLK_ENABLE>:
2ffa: ba8fd2ef jal t0,3a2 <__riscv_save_0>
2ffe: 4585 li a1,1
3000: 4541 li a0,16
3002: 709000ef jal ra,3f0a <RCC_APB2PeriphClockCmd>
3006: bc0fd06f j 3c6 <__riscv_restore_0>
0000300a <GPIOE_CLK_ENABLE>:
300a: b98fd2ef jal t0,3a2 <__riscv_save_0>
300e: 4585 li a1,1
3010: 04000513 li a0,64
3014: 6f7000ef jal ra,3f0a <RCC_APB2PeriphClockCmd>
3018: baefd06f j 3c6 <__riscv_restore_0>
0000301c <rt_hw_pin_init>:
301c: b86fd2ef jal t0,3a2 <__riscv_save_0>
3020: 6595 lui a1,0x5
3022: 00006537 lui a0,0x6
3026: 4601 li a2,0
3028: 2fc58593 addi a1,a1,764 # 52fc <_ch32_pin_ops>
302c: 9e450513 addi a0,a0,-1564 # 59e4 <pins+0x650>
3030: e7fff0ef jal ra,2eae <rt_device_pin_register>
3034: b92fd06f j 3c6 <__riscv_restore_0>
00003038 <get_pin>:
3038: 06400793 li a5,100
303c: 00a7ec63 bltu a5,a0,3054 <get_pin+0x1c>
3040: 00451793 slli a5,a0,0x4
3044: 6515 lui a0,0x5
3046: 39450513 addi a0,a0,916 # 5394 <pins>
304a: 953e add a0,a0,a5
304c: 4118 lw a4,0(a0)
304e: 57fd li a5,-1
3050: 00f71363 bne a4,a5,3056 <get_pin+0x1e>
3054: 4501 li a0,0
3056: 8082 ret
00003058 <ch32_pin_write>:
3058: b4afd2ef jal t0,3a2 <__riscv_save_0>
305c: 1141 addi sp,sp,-16
305e: 0ff5f513 andi a0,a1,255
3062: c632 sw a2,12(sp)
3064: fd5ff0ef jal ra,3038 <get_pin>
3068: c511 beqz a0,3074 <ch32_pin_write+0x1c>
306a: 254e lhu a1,12(a0)
306c: 4632 lw a2,12(sp)
306e: 4508 lw a0,8(a0)
3070: 4a1000ef jal ra,3d10 <GPIO_WriteBit>
3074: 0141 addi sp,sp,16
3076: b50fd06f j 3c6 <__riscv_restore_0>
0000307a <ch32_pin_read>:
307a: b28fd2ef jal t0,3a2 <__riscv_save_0>
307e: 0ff5f513 andi a0,a1,255
3082: fb7ff0ef jal ra,3038 <get_pin>
3086: 87aa mv a5,a0
3088: 4501 li a0,0
308a: c789 beqz a5,3094 <ch32_pin_read+0x1a>
308c: 27ce lhu a1,12(a5)
308e: 4788 lw a0,8(a5)
3090: 477000ef jal ra,3d06 <GPIO_ReadInputDataBit>
3094: b32fd06f j 3c6 <__riscv_restore_0>
00003098 <ch32_pin_mode>:
3098: b0afd2ef jal t0,3a2 <__riscv_save_0>
309c: 1101 addi sp,sp,-32
309e: 0ff5f513 andi a0,a1,255
30a2: 8432 mv s0,a2
30a4: f95ff0ef jal ra,3038 <get_pin>
30a8: c505 beqz a0,30d0 <ch32_pin_mode+0x38>
30aa: 415c lw a5,4(a0)
30ac: c62a sw a0,12(sp)
30ae: 9782 jalr a5
30b0: 4532 lw a0,12(sp)
30b2: 455c lw a5,12(a0)
30b4: 82fc sh a5,20(sp)
30b6: 47c1 li a5,16
30b8: ce3e sw a5,28(sp)
30ba: 478d li a5,3
30bc: cc3e sw a5,24(sp)
30be: c409 beqz s0,30c8 <ch32_pin_mode+0x30>
30c0: 4715 li a4,5
30c2: 00e41a63 bne s0,a4,30d6 <ch32_pin_mode+0x3e>
30c6: ce02 sw zero,28(sp)
30c8: 4508 lw a0,8(a0)
30ca: 084c addi a1,sp,20
30cc: 37b000ef jal ra,3c46 <GPIO_Init>
30d0: 6105 addi sp,sp,32
30d2: af4fd06f j 3c6 <__riscv_restore_0>
30d6: 4705 li a4,1
30d8: 00e41563 bne s0,a4,30e2 <ch32_pin_mode+0x4a>
30dc: 4791 li a5,4
30de: ce3e sw a5,28(sp)
30e0: b7e5 j 30c8 <ch32_pin_mode+0x30>
30e2: 00f41563 bne s0,a5,30ec <ch32_pin_mode+0x54>
30e6: 02800793 li a5,40
30ea: bfd5 j 30de <ch32_pin_mode+0x46>
30ec: 4789 li a5,2
30ee: 00f41563 bne s0,a5,30f8 <ch32_pin_mode+0x60>
30f2: 04800793 li a5,72
30f6: b7e5 j 30de <ch32_pin_mode+0x46>
30f8: 4791 li a5,4
30fa: 00f41463 bne s0,a5,3102 <ch32_pin_mode+0x6a>
30fe: 47d1 li a5,20
3100: bff9 j 30de <ch32_pin_mode+0x46>
3102: 4799 li a5,6
3104: 00f41463 bne s0,a5,310c <ch32_pin_mode+0x74>
3108: 47f1 li a5,28
310a: bfd1 j 30de <ch32_pin_mode+0x46>
310c: 479d li a5,7
310e: faf41de3 bne s0,a5,30c8 <ch32_pin_mode+0x30>
3112: 47e1 li a5,24
3114: b7e9 j 30de <ch32_pin_mode+0x46>
00003116 <ch32_pin_attach_irq>:
3116: a72fd2ef jal t0,388 <__riscv_save_4>
311a: 0ff5f513 andi a0,a1,255
311e: 84ae mv s1,a1
3120: 89b2 mv s3,a2
3122: 8a36 mv s4,a3
3124: 893a mv s2,a4
3126: f13ff0ef jal ra,3038 <get_pin>
312a: 4799 li a5,6
312c: cd31 beqz a0,3188 <ch32_pin_attach_irq+0x72>
312e: 4548 lw a0,12(a0)
3130: e7dff0ef jal ra,2fac <bit2bitno>
3134: 473d li a4,15
3136: 842a mv s0,a0
3138: 4799 li a5,6
313a: 04a76763 bltu a4,a0,3188 <ch32_pin_attach_irq+0x72>
313e: a45fe0ef jal ra,1b82 <rt_hw_interrupt_disable>
3142: 46b1 li a3,12
3144: 02d406b3 mul a3,s0,a3
3148: 200007b7 lui a5,0x20000
314c: 08078713 addi a4,a5,128 # 20000080 <pin_irq_hdr_tab>
3150: 862a mv a2,a0
3152: 08078793 addi a5,a5,128
3156: 9736 add a4,a4,a3
3158: 00071683 lh a3,0(a4)
315c: 00969f63 bne a3,s1,317a <ch32_pin_attach_irq+0x64>
3160: 434c lw a1,4(a4)
3162: 01459c63 bne a1,s4,317a <ch32_pin_attach_irq+0x64>
3166: 232e lhu a1,2(a4)
3168: 01359963 bne a1,s3,317a <ch32_pin_attach_irq+0x64>
316c: 4718 lw a4,8(a4)
316e: 01271663 bne a4,s2,317a <ch32_pin_attach_irq+0x64>
3172: a1dfe0ef jal ra,1b8e <rt_hw_interrupt_enable>
3176: 4781 li a5,0
3178: a801 j 3188 <ch32_pin_attach_irq+0x72>
317a: 577d li a4,-1
317c: 00e68963 beq a3,a4,318e <ch32_pin_attach_irq+0x78>
3180: 8532 mv a0,a2
3182: a0dfe0ef jal ra,1b8e <rt_hw_interrupt_enable>
3186: 479d li a5,7
3188: 853e mv a0,a5
318a: a32fd06f j 3bc <__riscv_restore_4>
318e: 4531 li a0,12
3190: 02a40533 mul a0,s0,a0
3194: 953e add a0,a0,a5
3196: a106 sh s1,0(a0)
3198: 01452223 sw s4,4(a0)
319c: 01351123 sh s3,2(a0)
31a0: 01252423 sw s2,8(a0)
31a4: 8532 mv a0,a2
31a6: b7f1 j 3172 <ch32_pin_attach_irq+0x5c>
000031a8 <ch32_pin_dettach_irq>:
31a8: 9fafd2ef jal t0,3a2 <__riscv_save_0>
31ac: 0ff5f513 andi a0,a1,255
31b0: e89ff0ef jal ra,3038 <get_pin>
31b4: 4719 li a4,6
31b6: c91d beqz a0,31ec <ch32_pin_dettach_irq+0x44>
31b8: 4548 lw a0,12(a0)
31ba: df3ff0ef jal ra,2fac <bit2bitno>
31be: 47bd li a5,15
31c0: 842a mv s0,a0
31c2: 4719 li a4,6
31c4: 02a7e463 bltu a5,a0,31ec <ch32_pin_dettach_irq+0x44>
31c8: 9bbfe0ef jal ra,1b82 <rt_hw_interrupt_disable>
31cc: 47b1 li a5,12
31ce: 02f40433 mul s0,s0,a5
31d2: 200007b7 lui a5,0x20000
31d6: 08078793 addi a5,a5,128 # 20000080 <pin_irq_hdr_tab>
31da: 577d li a4,-1
31dc: 97a2 add a5,a5,s0
31de: 00079683 lh a3,0(a5)
31e2: 00e69863 bne a3,a4,31f2 <ch32_pin_dettach_irq+0x4a>
31e6: 9a9fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
31ea: 4701 li a4,0
31ec: 853a mv a0,a4
31ee: 9d8fd06f j 3c6 <__riscv_restore_0>
31f2: 6741 lui a4,0x10
31f4: 177d addi a4,a4,-1
31f6: c398 sw a4,0(a5)
31f8: 0007a223 sw zero,4(a5)
31fc: 0007a423 sw zero,8(a5)
3200: b7dd j 31e6 <ch32_pin_dettach_irq+0x3e>
00003202 <ch32_pin_irq_enable>:
3202: 986fd2ef jal t0,388 <__riscv_save_4>
3206: 1101 addi sp,sp,-32
3208: 0ff5f513 andi a0,a1,255
320c: 8a32 mv s4,a2
320e: e2bff0ef jal ra,3038 <get_pin>
3212: 4799 li a5,6
3214: c121 beqz a0,3254 <ch32_pin_irq_enable+0x52>
3216: 4485 li s1,1
3218: 842a mv s0,a0
321a: 109a1563 bne s4,s1,3324 <ch32_pin_irq_enable+0x122>
321e: 4548 lw a0,12(a0)
3220: d8dff0ef jal ra,2fac <bit2bitno>
3224: 473d li a4,15
3226: 84aa mv s1,a0
3228: 4799 li a5,6
322a: 02a76563 bltu a4,a0,3254 <ch32_pin_irq_enable+0x52>
322e: 955fe0ef jal ra,1b82 <rt_hw_interrupt_disable>
3232: 4ab1 li s5,12
3234: 035487b3 mul a5,s1,s5
3238: 20000937 lui s2,0x20000
323c: 08090913 addi s2,s2,128 # 20000080 <pin_irq_hdr_tab>
3240: 89aa mv s3,a0
3242: 993e add s2,s2,a5
3244: 00091703 lh a4,0(s2)
3248: 57fd li a5,-1
324a: 00f71963 bne a4,a5,325c <ch32_pin_irq_enable+0x5a>
324e: 941fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
3252: 4799 li a5,6
3254: 853e mv a0,a5
3256: 6105 addi sp,sp,32
3258: 964fd06f j 3bc <__riscv_restore_4>
325c: 405c lw a5,4(s0)
325e: 9782 jalr a5
3260: 4585 li a1,1
3262: 4505 li a0,1
3264: 4a7000ef jal ra,3f0a <RCC_APB2PeriphClockCmd>
3268: 445c lw a5,12(s0)
326a: 470d li a4,3
326c: c43a sw a4,8(sp)
326e: 827c sh a5,4(sp)
3270: c83e sw a5,16(sp)
3272: 00295783 lhu a5,2(s2)
3276: ca02 sw zero,20(sp)
3278: ce52 sw s4,28(sp)
327a: 09478c63 beq a5,s4,3312 <ch32_pin_irq_enable+0x110>
327e: c7c1 beqz a5,3306 <ch32_pin_irq_enable+0x104>
3280: 4709 li a4,2
3282: 08e78d63 beq a5,a4,331c <ch32_pin_irq_enable+0x11a>
3286: 4408 lw a0,8(s0)
3288: 004c addi a1,sp,4
328a: 1bd000ef jal ra,3c46 <GPIO_Init>
328e: 4418 lw a4,8(s0)
3290: 400117b7 lui a5,0x40011
3294: c0078693 addi a3,a5,-1024 # 40010c00 <_eusrstack+0x20000c00>
3298: 4505 li a0,1
329a: 02d70263 beq a4,a3,32be <ch32_pin_irq_enable+0xbc>
329e: 4509 li a0,2
32a0: 00f70f63 beq a4,a5,32be <ch32_pin_irq_enable+0xbc>
32a4: 40078793 addi a5,a5,1024
32a8: 450d li a0,3
32aa: 00f70a63 beq a4,a5,32be <ch32_pin_irq_enable+0xbc>
32ae: 400127b7 lui a5,0x40012
32b2: 80078793 addi a5,a5,-2048 # 40011800 <_eusrstack+0x20001800>
32b6: 4501 li a0,0
32b8: 00f71363 bne a4,a5,32be <ch32_pin_irq_enable+0xbc>
32bc: 4511 li a0,4
32be: 0ff4f593 andi a1,s1,255
32c2: 259000ef jal ra,3d1a <GPIO_EXTILineConfig>
32c6: 0808 addi a0,sp,16
32c8: 0ed000ef jal ra,3bb4 <EXTI_Init>
32cc: 6795 lui a5,0x5
32ce: 31478793 addi a5,a5,788 # 5314 <pin_irq_map>
32d2: 048e slli s1,s1,0x3
32d4: 94be add s1,s1,a5
32d6: 40d0 lw a2,4(s1)
32d8: e000e737 lui a4,0xe000e
32dc: 05000693 li a3,80
32e0: 00c707b3 add a5,a4,a2
32e4: 40d78023 sb a3,1024(a5)
32e8: 00565793 srli a5,a2,0x5
32ec: 04078793 addi a5,a5,64
32f0: 4685 li a3,1
32f2: 078a slli a5,a5,0x2
32f4: 00c696b3 sll a3,a3,a2
32f8: 97ba add a5,a5,a4
32fa: c394 sw a3,0(a5)
32fc: 854e mv a0,s3
32fe: 891fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
3302: 4781 li a5,0
3304: bf81 j 3254 <ch32_pin_irq_enable+0x52>
3306: 02800793 li a5,40
330a: c63e sw a5,12(sp)
330c: 47a1 li a5,8
330e: cc3e sw a5,24(sp)
3310: bf9d j 3286 <ch32_pin_irq_enable+0x84>
3312: 04800793 li a5,72
3316: c63e sw a5,12(sp)
3318: cc56 sw s5,24(sp)
331a: b7b5 j 3286 <ch32_pin_irq_enable+0x84>
331c: 4791 li a5,4
331e: c63e sw a5,12(sp)
3320: 47c1 li a5,16
3322: b7f5 j 330e <ch32_pin_irq_enable+0x10c>
3324: 4799 li a5,6
3326: f20a17e3 bnez s4,3254 <ch32_pin_irq_enable+0x52>
332a: 4548 lw a0,12(a0)
332c: c81ff0ef jal ra,2fac <bit2bitno>
3330: 473d li a4,15
3332: 4799 li a5,6
3334: f2a760e3 bltu a4,a0,3254 <ch32_pin_irq_enable+0x52>
3338: 00351793 slli a5,a0,0x3
333c: 6515 lui a0,0x5
333e: 31450513 addi a0,a0,788 # 5314 <pin_irq_map>
3342: 953e add a0,a0,a5
3344: 4158 lw a4,4(a0)
3346: 00575793 srli a5,a4,0x5
334a: 06078793 addi a5,a5,96
334e: 00e494b3 sll s1,s1,a4
3352: 078a slli a5,a5,0x2
3354: e000e737 lui a4,0xe000e
3358: 97ba add a5,a5,a4
335a: c384 sw s1,0(a5)
335c: b75d j 3302 <ch32_pin_irq_enable+0x100>
0000335e <HAL_GPIO_EXTI_Callback>:
335e: 844fd2ef jal t0,3a2 <__riscv_save_0>
3362: c4bff0ef jal ra,2fac <bit2bitno>
3366: 47b1 li a5,12
3368: 02f50533 mul a0,a0,a5
336c: 200007b7 lui a5,0x20000
3370: 08078793 addi a5,a5,128 # 20000080 <pin_irq_hdr_tab>
3374: 953e add a0,a0,a5
3376: 415c lw a5,4(a0)
3378: c399 beqz a5,337e <HAL_GPIO_EXTI_Callback+0x20>
337a: 4508 lw a0,8(a0)
337c: 9782 jalr a5
337e: 848fd06f j 3c6 <__riscv_restore_0>
00003382 <EXTI0_IRQHandler>:
3382: 34011173 csrrw sp,mscratch,sp
3386: d70fd0ef jal ra,8f6 <rt_interrupt_enter>
338a: 4505 li a0,1
338c: 093000ef jal ra,3c1e <EXTI_GetITStatus>
3390: c519 beqz a0,339e <EXTI0_IRQHandler+0x1c>
3392: 4505 li a0,1
3394: fcbff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
3398: 4505 li a0,1
339a: 0a3000ef jal ra,3c3c <EXTI_ClearITPendingBit>
339e: d84fd0ef jal ra,922 <rt_interrupt_leave>
33a2: 34011173 csrrw sp,mscratch,sp
33a6: 30200073 mret
000033aa <EXTI1_IRQHandler>:
33aa: 34011173 csrrw sp,mscratch,sp
33ae: d48fd0ef jal ra,8f6 <rt_interrupt_enter>
33b2: 4509 li a0,2
33b4: 06b000ef jal ra,3c1e <EXTI_GetITStatus>
33b8: c519 beqz a0,33c6 <EXTI1_IRQHandler+0x1c>
33ba: 4509 li a0,2
33bc: fa3ff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
33c0: 4509 li a0,2
33c2: 07b000ef jal ra,3c3c <EXTI_ClearITPendingBit>
33c6: d5cfd0ef jal ra,922 <rt_interrupt_leave>
33ca: 34011173 csrrw sp,mscratch,sp
33ce: 30200073 mret
000033d2 <EXTI2_IRQHandler>:
33d2: 34011173 csrrw sp,mscratch,sp
33d6: d20fd0ef jal ra,8f6 <rt_interrupt_enter>
33da: 4511 li a0,4
33dc: 043000ef jal ra,3c1e <EXTI_GetITStatus>
33e0: c519 beqz a0,33ee <EXTI2_IRQHandler+0x1c>
33e2: 4511 li a0,4
33e4: f7bff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
33e8: 4511 li a0,4
33ea: 053000ef jal ra,3c3c <EXTI_ClearITPendingBit>
33ee: d34fd0ef jal ra,922 <rt_interrupt_leave>
33f2: 34011173 csrrw sp,mscratch,sp
33f6: 30200073 mret
000033fa <EXTI3_IRQHandler>:
33fa: 34011173 csrrw sp,mscratch,sp
33fe: cf8fd0ef jal ra,8f6 <rt_interrupt_enter>
3402: 4521 li a0,8
3404: 01b000ef jal ra,3c1e <EXTI_GetITStatus>
3408: c519 beqz a0,3416 <EXTI3_IRQHandler+0x1c>
340a: 4521 li a0,8
340c: f53ff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
3410: 4521 li a0,8
3412: 02b000ef jal ra,3c3c <EXTI_ClearITPendingBit>
3416: d0cfd0ef jal ra,922 <rt_interrupt_leave>
341a: 34011173 csrrw sp,mscratch,sp
341e: 30200073 mret
00003422 <EXTI4_IRQHandler>:
3422: 34011173 csrrw sp,mscratch,sp
3426: cd0fd0ef jal ra,8f6 <rt_interrupt_enter>
342a: 4541 li a0,16
342c: 7f2000ef jal ra,3c1e <EXTI_GetITStatus>
3430: c519 beqz a0,343e <EXTI4_IRQHandler+0x1c>
3432: 4541 li a0,16
3434: f2bff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
3438: 4541 li a0,16
343a: 003000ef jal ra,3c3c <EXTI_ClearITPendingBit>
343e: ce4fd0ef jal ra,922 <rt_interrupt_leave>
3442: 34011173 csrrw sp,mscratch,sp
3446: 30200073 mret
0000344a <EXTI9_5_IRQHandler>:
344a: 34011173 csrrw sp,mscratch,sp
344e: ca8fd0ef jal ra,8f6 <rt_interrupt_enter>
3452: 02000513 li a0,32
3456: 7c8000ef jal ra,3c1e <EXTI_GetITStatus>
345a: cd1d beqz a0,3498 <EXTI9_5_IRQHandler+0x4e>
345c: 02000513 li a0,32
3460: effff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
3464: 04000513 li a0,64
3468: ef7ff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
346c: 08000513 li a0,128
3470: eefff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
3474: 10000513 li a0,256
3478: ee7ff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
347c: 20000513 li a0,512
3480: edfff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
3484: 3e000513 li a0,992
3488: 7b4000ef jal ra,3c3c <EXTI_ClearITPendingBit>
348c: c96fd0ef jal ra,922 <rt_interrupt_leave>
3490: 34011173 csrrw sp,mscratch,sp
3494: 30200073 mret
3498: 04000513 li a0,64
349c: 782000ef jal ra,3c1e <EXTI_GetITStatus>
34a0: fd55 bnez a0,345c <EXTI9_5_IRQHandler+0x12>
34a2: 08000513 li a0,128
34a6: 778000ef jal ra,3c1e <EXTI_GetITStatus>
34aa: f94d bnez a0,345c <EXTI9_5_IRQHandler+0x12>
34ac: 10000513 li a0,256
34b0: 76e000ef jal ra,3c1e <EXTI_GetITStatus>
34b4: f545 bnez a0,345c <EXTI9_5_IRQHandler+0x12>
34b6: 20000513 li a0,512
34ba: 764000ef jal ra,3c1e <EXTI_GetITStatus>
34be: fd59 bnez a0,345c <EXTI9_5_IRQHandler+0x12>
34c0: b7f1 j 348c <EXTI9_5_IRQHandler+0x42>
000034c2 <EXTI15_10_IRQHandler>:
34c2: 34011173 csrrw sp,mscratch,sp
34c6: c30fd0ef jal ra,8f6 <rt_interrupt_enter>
34ca: 40000513 li a0,1024
34ce: 750000ef jal ra,3c1e <EXTI_GetITStatus>
34d2: c129 beqz a0,3514 <EXTI15_10_IRQHandler+0x52>
34d4: 40000513 li a0,1024
34d8: e87ff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
34dc: 6505 lui a0,0x1
34de: 80050513 addi a0,a0,-2048 # 800 <__stack_size>
34e2: e7dff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
34e6: 6505 lui a0,0x1
34e8: e77ff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
34ec: 6509 lui a0,0x2
34ee: e71ff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
34f2: 6511 lui a0,0x4
34f4: e6bff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
34f8: 6521 lui a0,0x8
34fa: e65ff0ef jal ra,335e <HAL_GPIO_EXTI_Callback>
34fe: 6541 lui a0,0x10
3500: c0050513 addi a0,a0,-1024 # fc00 <__rt_init_end+0xa018>
3504: 738000ef jal ra,3c3c <EXTI_ClearITPendingBit>
3508: c1afd0ef jal ra,922 <rt_interrupt_leave>
350c: 34011173 csrrw sp,mscratch,sp
3510: 30200073 mret
3514: 6505 lui a0,0x1
3516: 80050513 addi a0,a0,-2048 # 800 <__stack_size>
351a: 704000ef jal ra,3c1e <EXTI_GetITStatus>
351e: f95d bnez a0,34d4 <EXTI15_10_IRQHandler+0x12>
3520: 6505 lui a0,0x1
3522: 6fc000ef jal ra,3c1e <EXTI_GetITStatus>
3526: f55d bnez a0,34d4 <EXTI15_10_IRQHandler+0x12>
3528: 6509 lui a0,0x2
352a: 6f4000ef jal ra,3c1e <EXTI_GetITStatus>
352e: f15d bnez a0,34d4 <EXTI15_10_IRQHandler+0x12>
3530: 6511 lui a0,0x4
3532: 6ec000ef jal ra,3c1e <EXTI_GetITStatus>
3536: fd59 bnez a0,34d4 <EXTI15_10_IRQHandler+0x12>
3538: 6521 lui a0,0x8
353a: 6e4000ef jal ra,3c1e <EXTI_GetITStatus>
353e: f959 bnez a0,34d4 <EXTI15_10_IRQHandler+0x12>
3540: b7e1 j 3508 <EXTI15_10_IRQHandler+0x46>
00003542 <ch32dma_transmit>:
3542: 4501 li a0,0
3544: 8082 ret
00003546 <ch32_configure>:
3546: e5dfc2ef jal t0,3a2 <__riscv_save_0>
354a: 419c lw a5,0(a1)
354c: 4120 lw s0,64(a0)
354e: 46a1 li a3,8
3550: 1141 addi sp,sp,-16
3552: c01c sw a5,0(s0)
3554: 47b1 li a5,12
3556: a43e sh a5,10(s0)
3558: 41dc lw a5,4(a1)
355a: 00041623 sh zero,12(s0)
355e: 00f7f713 andi a4,a5,15
3562: 02d70163 beq a4,a3,3584 <ch32_configure+0x3e>
3566: 46a5 li a3,9
3568: 00d71e63 bne a4,a3,3584 <ch32_configure+0x3e>
356c: 6705 lui a4,0x1
356e: a05a sh a4,4(s0)
3570: 0047d713 srli a4,a5,0x4
3574: 8b0d andi a4,a4,3
3576: c701 beqz a4,357e <ch32_configure+0x38>
3578: 4685 li a3,1
357a: 00d70863 beq a4,a3,358a <ch32_configure+0x44>
357e: 00041323 sh zero,6(s0)
3582: a031 j 358e <ch32_configure+0x48>
3584: 00041223 sh zero,4(s0)
3588: b7e5 j 3570 <ch32_configure+0x2a>
358a: 6709 lui a4,0x2
358c: a07a sh a4,6(s0)
358e: 8399 srli a5,a5,0x6
3590: 8b8d andi a5,a5,3
3592: 4705 li a4,1
3594: 00e78963 beq a5,a4,35a6 <ch32_configure+0x60>
3598: c781 beqz a5,35a0 <ch32_configure+0x5a>
359a: 4709 li a4,2
359c: 06e78763 beq a5,a4,360a <ch32_configure+0xc4>
35a0: 00041423 sh zero,8(s0)
35a4: a021 j 35ac <ch32_configure+0x66>
35a6: 60000793 li a5,1536
35aa: a41e sh a5,8(s0)
35ac: 4818 lw a4,16(s0)
35ae: 400147b7 lui a5,0x40014
35b2: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
35b6: 04f71663 bne a4,a5,3602 <ch32_configure+0xbc>
35ba: 6511 lui a0,0x4
35bc: 4585 li a1,1
35be: 0511 addi a0,a0,4
35c0: 14b000ef jal ra,3f0a <RCC_APB2PeriphClockCmd>
35c4: 20000793 li a5,512
35c8: 400114b7 lui s1,0x40011
35cc: 827c sh a5,4(sp)
35ce: 490d li s2,3
35d0: 47e1 li a5,24
35d2: 004c addi a1,sp,4
35d4: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x20000800>
35d8: c63e sw a5,12(sp)
35da: c44a sw s2,8(sp)
35dc: 25ad jal 3c46 <GPIO_Init>
35de: 40000793 li a5,1024
35e2: 827c sh a5,4(sp)
35e4: 004c addi a1,sp,4
35e6: 4791 li a5,4
35e8: 80048513 addi a0,s1,-2048
35ec: c63e sw a5,12(sp)
35ee: c44a sw s2,8(sp)
35f0: 2d99 jal 3c46 <GPIO_Init>
35f2: 4808 lw a0,16(s0)
35f4: 85a2 mv a1,s0
35f6: 151000ef jal ra,3f46 <USART_Init>
35fa: 4808 lw a0,16(s0)
35fc: 4585 li a1,1
35fe: 1d9000ef jal ra,3fd6 <USART_Cmd>
3602: 4501 li a0,0
3604: 0141 addi sp,sp,16
3606: dc1fc06f j 3c6 <__riscv_restore_0>
360a: 40000793 li a5,1024
360e: bf71 j 35aa <ch32_configure+0x64>
00003610 <rt_hw_usart_init>:
3610: d79fc2ef jal t0,388 <__riscv_save_4>
3614: 200014b7 lui s1,0x20001
3618: 6ec48413 addi s0,s1,1772 # 200016ec <uart1>
361c: 03500793 li a5,53
3620: c85c sw a5,20(s0)
3622: 20001937 lui s2,0x20001
3626: 400147b7 lui a5,0x40014
362a: 69490613 addi a2,s2,1684 # 20001694 <serial1>
362e: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
3632: 4674 lw a3,76(a2)
3634: c81c sw a5,16(s0)
3636: 6799 lui a5,0x6
3638: 9e878793 addi a5,a5,-1560 # 59e8 <ch32_uart_ops>
363c: c27c sw a5,68(a2)
363e: c00007b7 lui a5,0xc0000
3642: 8ff5 and a5,a5,a3
3644: 66c1 lui a3,0x10
3646: 06a1 addi a3,a3,8
3648: 6771 lui a4,0x1c
364a: 20070713 addi a4,a4,512 # 1c200 <__rt_init_end+0x16618>
364e: 8fd5 or a5,a5,a3
3650: 6511 lui a0,0x4
3652: 1141 addi sp,sp,-16
3654: c638 sw a4,72(a2)
3656: c67c sw a5,76(a2)
3658: 4585 li a1,1
365a: 000c07b7 lui a5,0xc0
365e: 0511 addi a0,a0,4
3660: c018 sw a4,0(s0)
3662: c41c sw a5,8(s0)
3664: 00042223 sw zero,4(s0)
3668: 00041623 sh zero,12(s0)
366c: 09f000ef jal ra,3f0a <RCC_APB2PeriphClockCmd>
3670: 400119b7 lui s3,0x40011
3674: 20000793 li a5,512
3678: 827c sh a5,4(sp)
367a: 4a0d li s4,3
367c: 47e1 li a5,24
367e: 004c addi a1,sp,4
3680: 80098513 addi a0,s3,-2048 # 40010800 <_eusrstack+0x20000800>
3684: c452 sw s4,8(sp)
3686: c63e sw a5,12(sp)
3688: 2b7d jal 3c46 <GPIO_Init>
368a: 40000793 li a5,1024
368e: 827c sh a5,4(sp)
3690: 004c addi a1,sp,4
3692: 4791 li a5,4
3694: 80098513 addi a0,s3,-2048
3698: c63e sw a5,12(sp)
369a: c452 sw s4,8(sp)
369c: 236d jal 3c46 <GPIO_Init>
369e: 4808 lw a0,16(s0)
36a0: 6ec48593 addi a1,s1,1772
36a4: 0a3000ef jal ra,3f46 <USART_Init>
36a8: 4808 lw a0,16(s0)
36aa: 4585 li a1,1
36ac: 12b000ef jal ra,3fd6 <USART_Cmd>
36b0: 000055b7 lui a1,0x5
36b4: 6ec48693 addi a3,s1,1772
36b8: 10300613 li a2,259
36bc: 2f458593 addi a1,a1,756 # 52f4 <__fsym_pinMode_name+0x8>
36c0: 69490513 addi a0,s2,1684
36c4: e24ff0ef jal ra,2ce8 <rt_hw_serial_register>
36c8: 4501 li a0,0
36ca: 0141 addi sp,sp,16
36cc: cf1fc06f j 3bc <__riscv_restore_4>
000036d0 <ch32_getc>:
36d0: cd3fc2ef jal t0,3a2 <__riscv_save_0>
36d4: 4120 lw s0,64(a0)
36d6: 02000593 li a1,32
36da: 4808 lw a0,16(s0)
36dc: 157000ef jal ra,4032 <USART_GetFlagStatus>
36e0: c519 beqz a0,36ee <ch32_getc+0x1e>
36e2: 481c lw a5,16(s0)
36e4: 23ca lhu a0,4(a5)
36e6: 0ff57513 andi a0,a0,255
36ea: cddfc06f j 3c6 <__riscv_restore_0>
36ee: 557d li a0,-1
36f0: bfed j 36ea <ch32_getc+0x1a>
000036f2 <ch32_putc>:
36f2: cb1fc2ef jal t0,3a2 <__riscv_save_0>
36f6: 4124 lw s1,64(a0)
36f8: 842e mv s0,a1
36fa: 4888 lw a0,16(s1)
36fc: 04000593 li a1,64
3700: 133000ef jal ra,4032 <USART_GetFlagStatus>
3704: d97d beqz a0,36fa <ch32_putc+0x8>
3706: 489c lw a5,16(s1)
3708: 0442 slli s0,s0,0x10
370a: 8041 srli s0,s0,0x10
370c: a3c2 sh s0,4(a5)
370e: 4505 li a0,1
3710: cb7fc06f j 3c6 <__riscv_restore_0>
00003714 <ch32_control>:
3714: c8ffc2ef jal t0,3a2 <__riscv_save_0>
3718: 47c1 li a5,16
371a: 4138 lw a4,64(a0)
371c: 02f58b63 beq a1,a5,3752 <ch32_control+0x3e>
3720: 47c5 li a5,17
3722: 02f59563 bne a1,a5,374c <ch32_control+0x38>
3726: 4b54 lw a3,20(a4)
3728: 4605 li a2,1
372a: 0056d793 srli a5,a3,0x5
372e: 06078793 addi a5,a5,96 # c0060 <__rt_init_end+0xba478>
3732: 00d61633 sll a2,a2,a3
3736: 078a slli a5,a5,0x2
3738: e000e6b7 lui a3,0xe000e
373c: 97b6 add a5,a5,a3
373e: c390 sw a2,0(a5)
3740: 4601 li a2,0
3742: 4b08 lw a0,16(a4)
3744: 52500593 li a1,1317
3748: 0a5000ef jal ra,3fec <USART_ITConfig>
374c: 4501 li a0,0
374e: c79fc06f j 3c6 <__riscv_restore_0>
3752: 4b54 lw a3,20(a4)
3754: 4605 li a2,1
3756: 0056d793 srli a5,a3,0x5
375a: 04078793 addi a5,a5,64
375e: 00d61633 sll a2,a2,a3
3762: 078a slli a5,a5,0x2
3764: e000e6b7 lui a3,0xe000e
3768: 97b6 add a5,a5,a3
376a: c390 sw a2,0(a5)
376c: 4605 li a2,1
376e: bfd1 j 3742 <ch32_control+0x2e>
00003770 <USART1_IRQHandler>:
3770: 1141 addi sp,sp,-16
3772: c622 sw s0,12(sp)
3774: c426 sw s1,8(sp)
3776: 34011173 csrrw sp,mscratch,sp
377a: 200014b7 lui s1,0x20001
377e: 978fd0ef jal ra,8f6 <rt_interrupt_enter>
3782: 69448793 addi a5,s1,1684 # 20001694 <serial1>
3786: 43a0 lw s0,64(a5)
3788: 52500593 li a1,1317
378c: 4808 lw a0,16(s0)
378e: 0bb000ef jal ra,4048 <USART_GetITStatus>
3792: c919 beqz a0,37a8 <USART1_IRQHandler+0x38>
3794: 4585 li a1,1
3796: 69448513 addi a0,s1,1684
379a: da8ff0ef jal ra,2d42 <rt_hw_serial_isr>
379e: 4808 lw a0,16(s0)
37a0: 52500593 li a1,1317
37a4: 0e1000ef jal ra,4084 <USART_ClearITPendingBit>
37a8: 97afd0ef jal ra,922 <rt_interrupt_leave>
37ac: 34011173 csrrw sp,mscratch,sp
37b0: 4432 lw s0,12(sp)
37b2: 44a2 lw s1,8(sp)
37b4: 0141 addi sp,sp,16
37b6: 30200073 mret
000037ba <NMI_Handler>:
37ba: 34011173 csrrw sp,mscratch,sp
37be: 938fd0ef jal ra,8f6 <rt_interrupt_enter>
37c2: 00006537 lui a0,0x6
37c6: a0850513 addi a0,a0,-1528 # 5a08 <ch32_uart_ops+0x20>
37ca: fe4fd0ef jal ra,fae <rt_kprintf>
37ce: 954fd0ef jal ra,922 <rt_interrupt_leave>
37d2: 34011173 csrrw sp,mscratch,sp
37d6: 30200073 mret
000037da <HardFault_Handler>:
37da: 34011173 csrrw sp,mscratch,sp
37de: 918fd0ef jal ra,8f6 <rt_interrupt_enter>
37e2: 00006537 lui a0,0x6
37e6: 9fc50513 addi a0,a0,-1540 # 59fc <ch32_uart_ops+0x14>
37ea: fc4fd0ef jal ra,fae <rt_kprintf>
37ee: 934fd0ef jal ra,922 <rt_interrupt_leave>
37f2: 34011173 csrrw sp,mscratch,sp
37f6: 30200073 mret
000037fa <main>:
37fa: ba9fc2ef jal t0,3a2 <__riscv_save_0>
37fe: 00006537 lui a0,0x6
3802: a1850513 addi a0,a0,-1512 # 5a18 <ch32_uart_ops+0x30>
3806: fa8fd0ef jal ra,fae <rt_kprintf>
380a: 2a99 jal 3960 <SystemCoreClockUpdate>
380c: 200007b7 lui a5,0x20000
3810: 1607a583 lw a1,352(a5) # 20000160 <SystemCoreClock>
3814: 00006537 lui a0,0x6
3818: a2c50513 addi a0,a0,-1492 # 5a2c <ch32_uart_ops+0x44>
381c: f92fd0ef jal ra,fae <rt_kprintf>
3820: 2669 jal 3baa <DBGMCU_GetCHIPID>
3822: 85aa mv a1,a0
3824: 00006537 lui a0,0x6
3828: a3c50513 addi a0,a0,-1476 # 5a3c <ch32_uart_ops+0x54>
382c: f82fd0ef jal ra,fae <rt_kprintf>
3830: 00006537 lui a0,0x6
3834: a4c50513 addi a0,a0,-1460 # 5a4c <ch32_uart_ops+0x64>
3838: f76fd0ef jal ra,fae <rt_kprintf>
383c: 2831 jal 3858 <app_star>
383e: 4501 li a0,0
3840: b87fc06f j 3c6 <__riscv_restore_0>
00003844 <hareware_init>:
3844: b5ffc2ef jal t0,3a2 <__riscv_save_0>
3848: 051000ef jal ra,4098 <android_PowerCtrl_Init>
384c: 05d000ef jal ra,40a8 <android_PowerCtrl_Open>
3850: 1a3000ef jal ra,41f2 <J5_0_485_Init>
3854: b73fc06f j 3c6 <__riscv_restore_0>
00003858 <app_star>:
3858: b4bfc2ef jal t0,3a2 <__riscv_save_0>
385c: fe9ff0ef jal ra,3844 <hareware_init>
3860: 24c5 jal 3b40 <Rs485_thread_Init>
3862: b65fc06f j 3c6 <__riscv_restore_0>
00003866 <SystemInit>:
3866: 400217b7 lui a5,0x40021
386a: 4398 lw a4,0(a5)
386c: f0ff06b7 lui a3,0xf0ff0
3870: 1141 addi sp,sp,-16
3872: 00176713 ori a4,a4,1
3876: c398 sw a4,0(a5)
3878: 43d8 lw a4,4(a5)
387a: 00020637 lui a2,0x20
387e: 8f75 and a4,a4,a3
3880: c3d8 sw a4,4(a5)
3882: 4398 lw a4,0(a5)
3884: fef706b7 lui a3,0xfef70
3888: 16fd addi a3,a3,-1
388a: 8f75 and a4,a4,a3
388c: c398 sw a4,0(a5)
388e: 4398 lw a4,0(a5)
3890: fffc06b7 lui a3,0xfffc0
3894: 16fd addi a3,a3,-1
3896: 8f75 and a4,a4,a3
3898: c398 sw a4,0(a5)
389a: 43d8 lw a4,4(a5)
389c: ff0106b7 lui a3,0xff010
38a0: 16fd addi a3,a3,-1
38a2: 8f75 and a4,a4,a3
38a4: c3d8 sw a4,4(a5)
38a6: 4398 lw a4,0(a5)
38a8: ec0006b7 lui a3,0xec000
38ac: 16fd addi a3,a3,-1
38ae: 8f75 and a4,a4,a3
38b0: c398 sw a4,0(a5)
38b2: 00ff0737 lui a4,0xff0
38b6: c798 sw a4,8(a5)
38b8: 0207a623 sw zero,44(a5) # 4002102c <_eusrstack+0x2001102c>
38bc: c402 sw zero,8(sp)
38be: c602 sw zero,12(sp)
38c0: 4398 lw a4,0(a5)
38c2: 66c1 lui a3,0x10
38c4: 8f55 or a4,a4,a3
38c6: c398 sw a4,0(a5)
38c8: 400216b7 lui a3,0x40021
38cc: 6705 lui a4,0x1
38ce: 429c lw a5,0(a3)
38d0: 8ff1 and a5,a5,a2
38d2: c63e sw a5,12(sp)
38d4: 47a2 lw a5,8(sp)
38d6: 0785 addi a5,a5,1
38d8: c43e sw a5,8(sp)
38da: 47b2 lw a5,12(sp)
38dc: e781 bnez a5,38e4 <SystemInit+0x7e>
38de: 47a2 lw a5,8(sp)
38e0: fee797e3 bne a5,a4,38ce <SystemInit+0x68>
38e4: 400217b7 lui a5,0x40021
38e8: 439c lw a5,0(a5)
38ea: 00e79713 slli a4,a5,0xe
38ee: 06075763 bgez a4,395c <SystemInit+0xf6>
38f2: 4785 li a5,1
38f4: c63e sw a5,12(sp)
38f6: 4732 lw a4,12(sp)
38f8: 4785 li a5,1
38fa: 04f71f63 bne a4,a5,3958 <SystemInit+0xf2>
38fe: 400217b7 lui a5,0x40021
3902: 43d8 lw a4,4(a5)
3904: ffc106b7 lui a3,0xffc10
3908: 16fd addi a3,a3,-1
390a: c3d8 sw a4,4(a5)
390c: 43d8 lw a4,4(a5)
390e: c3d8 sw a4,4(a5)
3910: 43d8 lw a4,4(a5)
3912: 40076713 ori a4,a4,1024
3916: c3d8 sw a4,4(a5)
3918: 43d8 lw a4,4(a5)
391a: 8f75 and a4,a4,a3
391c: c3d8 sw a4,4(a5)
391e: 43d8 lw a4,4(a5)
3920: 002906b7 lui a3,0x290
3924: 8f55 or a4,a4,a3
3926: c3d8 sw a4,4(a5)
3928: 4398 lw a4,0(a5)
392a: 010006b7 lui a3,0x1000
392e: 8f55 or a4,a4,a3
3930: c398 sw a4,0(a5)
3932: 4398 lw a4,0(a5)
3934: 00671693 slli a3,a4,0x6
3938: fe06dde3 bgez a3,3932 <SystemInit+0xcc>
393c: 43d8 lw a4,4(a5)
393e: 400216b7 lui a3,0x40021
3942: 9b71 andi a4,a4,-4
3944: c3d8 sw a4,4(a5)
3946: 43d8 lw a4,4(a5)
3948: 00276713 ori a4,a4,2
394c: c3d8 sw a4,4(a5)
394e: 4721 li a4,8
3950: 42dc lw a5,4(a3)
3952: 8bb1 andi a5,a5,12
3954: fee79ee3 bne a5,a4,3950 <SystemInit+0xea>
3958: 0141 addi sp,sp,16
395a: 8082 ret
395c: c602 sw zero,12(sp)
395e: bf61 j 38f6 <SystemInit+0x90>
00003960 <SystemCoreClockUpdate>:
3960: 400216b7 lui a3,0x40021
3964: 42d8 lw a4,4(a3)
3966: 200007b7 lui a5,0x20000
396a: 4611 li a2,4
396c: 8b31 andi a4,a4,12
396e: 16078793 addi a5,a5,352 # 20000160 <SystemCoreClock>
3972: 00c70563 beq a4,a2,397c <SystemCoreClockUpdate+0x1c>
3976: 4621 li a2,8
3978: 02c70863 beq a4,a2,39a8 <SystemCoreClockUpdate+0x48>
397c: 007a1737 lui a4,0x7a1
3980: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79b618>
3984: c398 sw a4,0(a5)
3986: 40021737 lui a4,0x40021
398a: 4358 lw a4,4(a4)
398c: 8311 srli a4,a4,0x4
398e: 00f77693 andi a3,a4,15
3992: 20000737 lui a4,0x20000
3996: 14070713 addi a4,a4,320 # 20000140 <AHBPrescTable>
399a: 9736 add a4,a4,a3
399c: 2314 lbu a3,0(a4)
399e: 4398 lw a4,0(a5)
39a0: 00d75733 srl a4,a4,a3
39a4: c398 sw a4,0(a5)
39a6: 8082 ret
39a8: 42d8 lw a4,4(a3)
39aa: 42d4 lw a3,4(a3)
39ac: 6641 lui a2,0x10
39ae: 8349 srli a4,a4,0x12
39b0: 8b3d andi a4,a4,15
39b2: 8ef1 and a3,a3,a2
39b4: 00270613 addi a2,a4,2
39b8: cf15 beqz a4,39f4 <SystemCoreClockUpdate+0x94>
39ba: 473d li a4,15
39bc: 02e60f63 beq a2,a4,39fa <SystemCoreClockUpdate+0x9a>
39c0: 4741 li a4,16
39c2: 02e60f63 beq a2,a4,3a00 <SystemCoreClockUpdate+0xa0>
39c6: 4745 li a4,17
39c8: 4581 li a1,0
39ca: 00e61363 bne a2,a4,39d0 <SystemCoreClockUpdate+0x70>
39ce: 4641 li a2,16
39d0: e2a1 bnez a3,3a10 <SystemCoreClockUpdate+0xb0>
39d2: 40024737 lui a4,0x40024
39d6: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x20013800>
39da: 8b41 andi a4,a4,16
39dc: c70d beqz a4,3a06 <SystemCoreClockUpdate+0xa6>
39de: 007a1737 lui a4,0x7a1
39e2: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79b618>
39e6: 02c70633 mul a2,a4,a2
39ea: c390 sw a2,0(a5)
39ec: ddc9 beqz a1,3986 <SystemCoreClockUpdate+0x26>
39ee: 4398 lw a4,0(a5)
39f0: 8305 srli a4,a4,0x1
39f2: bf49 j 3984 <SystemCoreClockUpdate+0x24>
39f4: 4581 li a1,0
39f6: 4649 li a2,18
39f8: bfe1 j 39d0 <SystemCoreClockUpdate+0x70>
39fa: 4585 li a1,1
39fc: 4635 li a2,13
39fe: bfc9 j 39d0 <SystemCoreClockUpdate+0x70>
3a00: 4581 li a1,0
3a02: 463d li a2,15
3a04: b7f1 j 39d0 <SystemCoreClockUpdate+0x70>
3a06: 003d1737 lui a4,0x3d1
3a0a: 90070713 addi a4,a4,-1792 # 3d0900 <__rt_init_end+0x3cad18>
3a0e: bfe1 j 39e6 <SystemCoreClockUpdate+0x86>
3a10: 40021537 lui a0,0x40021
3a14: 5558 lw a4,44(a0)
3a16: 00f71693 slli a3,a4,0xf
3a1a: 5558 lw a4,44(a0)
3a1c: 0406df63 bgez a3,3a7a <SystemCoreClockUpdate+0x11a>
3a20: 8311 srli a4,a4,0x4
3a22: 8b3d andi a4,a4,15
3a24: 00170693 addi a3,a4,1
3a28: 007a1737 lui a4,0x7a1
3a2c: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79b618>
3a30: 02d75733 divu a4,a4,a3
3a34: c398 sw a4,0(a5)
3a36: 5554 lw a3,44(a0)
3a38: 82a1 srli a3,a3,0x8
3a3a: 8abd andi a3,a3,15
3a3c: e28d bnez a3,3a5e <SystemCoreClockUpdate+0xfe>
3a3e: 4695 li a3,5
3a40: 02d70733 mul a4,a4,a3
3a44: 8305 srli a4,a4,0x1
3a46: c398 sw a4,0(a5)
3a48: 40021737 lui a4,0x40021
3a4c: 5758 lw a4,44(a4)
3a4e: 4394 lw a3,0(a5)
3a50: 8b3d andi a4,a4,15
3a52: 0705 addi a4,a4,1
3a54: 02e6d733 divu a4,a3,a4
3a58: c398 sw a4,0(a5)
3a5a: 4398 lw a4,0(a5)
3a5c: b769 j 39e6 <SystemCoreClockUpdate+0x86>
3a5e: 4505 li a0,1
3a60: 00a69463 bne a3,a0,3a68 <SystemCoreClockUpdate+0x108>
3a64: 46e5 li a3,25
3a66: bfe9 j 3a40 <SystemCoreClockUpdate+0xe0>
3a68: 453d li a0,15
3a6a: 00a69663 bne a3,a0,3a76 <SystemCoreClockUpdate+0x116>
3a6e: 46d1 li a3,20
3a70: 02e68733 mul a4,a3,a4
3a74: bfc9 j 3a46 <SystemCoreClockUpdate+0xe6>
3a76: 0689 addi a3,a3,2
3a78: bfe5 j 3a70 <SystemCoreClockUpdate+0x110>
3a7a: 8b3d andi a4,a4,15
3a7c: 00170693 addi a3,a4,1 # 40021001 <_eusrstack+0x20011001>
3a80: 007a1737 lui a4,0x7a1
3a84: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79b618>
3a88: 02d75733 divu a4,a4,a3
3a8c: b7f1 j 3a58 <SystemCoreClockUpdate+0xf8>
00003a8e <ADC1_2_IRQHandler>:
3a8e: a001 j 3a8e <ADC1_2_IRQHandler>
00003a90 <handle_reset>:
3a90: 34129073 csrw mepc,t0
3a94: 1fffd197 auipc gp,0x1fffd
3a98: ecc18193 addi gp,gp,-308 # 20000960 <__global_pointer$>
3a9c: 2000c117 auipc sp,0x2000c
3aa0: 56410113 addi sp,sp,1380 # 20010000 <_eusrstack>
3aa4: 00002517 auipc a0,0x2
3aa8: 14450513 addi a0,a0,324 # 5be8 <__rt_init_end>
3aac: 1fffc597 auipc a1,0x1fffc
3ab0: 55458593 addi a1,a1,1364 # 20000000 <_data_vma>
3ab4: 80818613 addi a2,gp,-2040 # 20000168 <_edata>
3ab8: 00c5fa63 bgeu a1,a2,3acc <handle_reset+0x3c>
3abc: 00052283 lw t0,0(a0)
3ac0: 0055a023 sw t0,0(a1)
3ac4: 0511 addi a0,a0,4
3ac6: 0591 addi a1,a1,4
3ac8: fec5eae3 bltu a1,a2,3abc <handle_reset+0x2c>
3acc: 80818513 addi a0,gp,-2040 # 20000168 <_edata>
3ad0: 1fffe597 auipc a1,0x1fffe
3ad4: d5458593 addi a1,a1,-684 # 20001824 <_ebss>
3ad8: 00b57763 bgeu a0,a1,3ae6 <handle_reset+0x56>
3adc: 00052023 sw zero,0(a0)
3ae0: 0511 addi a0,a0,4
3ae2: feb56de3 bltu a0,a1,3adc <handle_reset+0x4c>
3ae6: 42fd li t0,31
3ae8: bc029073 csrw 0xbc0,t0
3aec: 42fd li t0,31
3aee: 80429073 csrw 0x804,t0
3af2: 000082b7 lui t0,0x8
3af6: 80028293 addi t0,t0,-2048 # 7800 <__rt_init_end+0x1c18>
3afa: 30029073 csrw mstatus,t0
3afe: ffffc297 auipc t0,0xffffc
3b02: 50628293 addi t0,t0,1286 # 4 <_einit>
3b06: 0032e293 ori t0,t0,3
3b0a: 30529073 csrw mtvec,t0
3b0e: d59ff0ef jal ra,3866 <SystemInit>
3b12: ffffd297 auipc t0,0xffffd
3b16: a6628293 addi t0,t0,-1434 # 578 <entry>
3b1a: 34129073 csrw mepc,t0
3b1e: 30200073 mret
00003b22 <Rs485_thread_entry>:
3b22: 881fc2ef jal t0,3a2 <__riscv_save_0>
3b26: 400054b7 lui s1,0x40005
3b2a: 6405 lui s0,0x1
3b2c: 80048493 addi s1,s1,-2048 # 40004800 <_eusrstack+0x1fff4800>
3b30: bb840413 addi s0,s0,-1096 # bb8 <rt_memmove+0x42>
3b34: 8526 mv a0,s1
3b36: 281d jal 3b6c <broadcast_Scan_Fun>
3b38: 8522 mv a0,s0
3b3a: d99fd0ef jal ra,18d2 <rt_thread_mdelay>
3b3e: bfdd j 3b34 <Rs485_thread_entry+0x12>
00003b40 <Rs485_thread_Init>:
3b40: 863fc2ef jal t0,3a2 <__riscv_save_0>
3b44: 000045b7 lui a1,0x4
3b48: 00006537 lui a0,0x6
3b4c: 47d1 li a5,20
3b4e: 4729 li a4,10
3b50: 20000693 li a3,512
3b54: 4601 li a2,0
3b56: b2258593 addi a1,a1,-1246 # 3b22 <Rs485_thread_entry>
3b5a: a5c50513 addi a0,a0,-1444 # 5a5c <ch32_uart_ops+0x74>
3b5e: c53fd0ef jal ra,17b0 <rt_thread_create>
3b62: c119 beqz a0,3b68 <Rs485_thread_Init+0x28>
3b64: dc9fd0ef jal ra,192c <rt_thread_startup>
3b68: 85ffc06f j 3c6 <__riscv_restore_0>
00003b6c <broadcast_Scan_Fun>:
3b6c: 837fc2ef jal t0,3a2 <__riscv_save_0>
3b70: 200015b7 lui a1,0x20001
3b74: 6715 lui a4,0x5
3b76: 70458793 addi a5,a1,1796 # 20001704 <protocol>
3b7a: c5370713 addi a4,a4,-941 # 4c53 <__fsym_list_mem_name+0x463>
3b7e: a39a sh a4,0(a5)
3b80: 577d li a4,-1
3b82: a3ba sh a4,2(a5)
3b84: 577d li a4,-1
3b86: c3d8 sw a4,4(a5)
3b88: 7775 lui a4,0xffffd
3b8a: ea070713 addi a4,a4,-352 # ffffcea0 <_eusrstack+0xdffecea0>
3b8e: 40005537 lui a0,0x40005
3b92: a79a sh a4,8(a5)
3b94: 462d li a2,11
3b96: 4759 li a4,22
3b98: 70458593 addi a1,a1,1796
3b9c: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1fff4800>
3ba0: a7b8 sb a4,10(a5)
3ba2: 77e000ef jal ra,4320 <USARTx_SendStr_Len>
3ba6: 821fc06f j 3c6 <__riscv_restore_0>
00003baa <DBGMCU_GetCHIPID>:
3baa: 1ffff7b7 lui a5,0x1ffff
3bae: 7047a503 lw a0,1796(a5) # 1ffff704 <__rt_init_end+0x1fff9b1c>
3bb2: 8082 ret
00003bb4 <EXTI_Init>:
3bb4: 4158 lw a4,4(a0)
3bb6: 00052803 lw a6,0(a0)
3bba: 454c lw a1,12(a0)
3bbc: 40010637 lui a2,0x40010
3bc0: 40060793 addi a5,a2,1024 # 40010400 <_eusrstack+0x20000400>
3bc4: 973e add a4,a4,a5
3bc6: fff84693 not a3,a6
3bca: c5b1 beqz a1,3c16 <EXTI_Init+0x62>
3bcc: 40062583 lw a1,1024(a2)
3bd0: 8df5 and a1,a1,a3
3bd2: 40b62023 sw a1,1024(a2)
3bd6: 43d0 lw a2,4(a5)
3bd8: 8ef1 and a3,a3,a2
3bda: c3d4 sw a3,4(a5)
3bdc: 4314 lw a3,0(a4)
3bde: 0106e6b3 or a3,a3,a6
3be2: c314 sw a3,0(a4)
3be4: 4118 lw a4,0(a0)
3be6: 4790 lw a2,8(a5)
3be8: fff74693 not a3,a4
3bec: 8e75 and a2,a2,a3
3bee: c790 sw a2,8(a5)
3bf0: 47d0 lw a2,12(a5)
3bf2: 8ef1 and a3,a3,a2
3bf4: c7d4 sw a3,12(a5)
3bf6: 4514 lw a3,8(a0)
3bf8: 4641 li a2,16
3bfa: 00c69963 bne a3,a2,3c0c <EXTI_Init+0x58>
3bfe: 4794 lw a3,8(a5)
3c00: 8ed9 or a3,a3,a4
3c02: c794 sw a3,8(a5)
3c04: 47d4 lw a3,12(a5)
3c06: 8f55 or a4,a4,a3
3c08: c7d8 sw a4,12(a5)
3c0a: 8082 ret
3c0c: 97b6 add a5,a5,a3
3c0e: 4394 lw a3,0(a5)
3c10: 8f55 or a4,a4,a3
3c12: c398 sw a4,0(a5)
3c14: 8082 ret
3c16: 431c lw a5,0(a4)
3c18: 8ff5 and a5,a5,a3
3c1a: c31c sw a5,0(a4)
3c1c: 8082 ret
00003c1e <EXTI_GetITStatus>:
3c1e: 400107b7 lui a5,0x40010
3c22: 40078713 addi a4,a5,1024 # 40010400 <_eusrstack+0x20000400>
3c26: 4007a783 lw a5,1024(a5)
3c2a: 4b58 lw a4,20(a4)
3c2c: 8f69 and a4,a4,a0
3c2e: c709 beqz a4,3c38 <EXTI_GetITStatus+0x1a>
3c30: 8d7d and a0,a0,a5
3c32: 00a03533 snez a0,a0
3c36: 8082 ret
3c38: 4501 li a0,0
3c3a: 8082 ret
00003c3c <EXTI_ClearITPendingBit>:
3c3c: 400107b7 lui a5,0x40010
3c40: 40a7aa23 sw a0,1044(a5) # 40010414 <_eusrstack+0x20000414>
3c44: 8082 ret
00003c46 <GPIO_Init>:
3c46: 459c lw a5,8(a1)
3c48: 0107f713 andi a4,a5,16
3c4c: 00f7f813 andi a6,a5,15
3c50: c701 beqz a4,3c58 <GPIO_Init+0x12>
3c52: 41d8 lw a4,4(a1)
3c54: 00e86833 or a6,a6,a4
3c58: 218e lhu a1,0(a1)
3c5a: 0ff5f713 andi a4,a1,255
3c5e: c339 beqz a4,3ca4 <GPIO_Init+0x5e>
3c60: 4118 lw a4,0(a0)
3c62: 4681 li a3,0
3c64: 4e85 li t4,1
3c66: 4f3d li t5,15
3c68: 02800f93 li t6,40
3c6c: 04800293 li t0,72
3c70: 4e21 li t3,8
3c72: 00de9633 sll a2,t4,a3
3c76: 00c5f8b3 and a7,a1,a2
3c7a: 03161163 bne a2,a7,3c9c <GPIO_Init+0x56>
3c7e: 00269893 slli a7,a3,0x2
3c82: 011f1333 sll t1,t5,a7
3c86: fff34313 not t1,t1
3c8a: 00e37733 and a4,t1,a4
3c8e: 011818b3 sll a7,a6,a7
3c92: 00e8e733 or a4,a7,a4
3c96: 05f79f63 bne a5,t6,3cf4 <GPIO_Init+0xae>
3c9a: c950 sw a2,20(a0)
3c9c: 0685 addi a3,a3,1
3c9e: fdc69ae3 bne a3,t3,3c72 <GPIO_Init+0x2c>
3ca2: c118 sw a4,0(a0)
3ca4: 0ff00713 li a4,255
3ca8: 04b77563 bgeu a4,a1,3cf2 <GPIO_Init+0xac>
3cac: 4154 lw a3,4(a0)
3cae: 4621 li a2,8
3cb0: 4e85 li t4,1
3cb2: 4f3d li t5,15
3cb4: 02800f93 li t6,40
3cb8: 04800293 li t0,72
3cbc: 4e41 li t3,16
3cbe: 00ce98b3 sll a7,t4,a2
3cc2: 0115f733 and a4,a1,a7
3cc6: 02e89263 bne a7,a4,3cea <GPIO_Init+0xa4>
3cca: 00261713 slli a4,a2,0x2
3cce: 1701 addi a4,a4,-32
3cd0: 00ef1333 sll t1,t5,a4
3cd4: fff34313 not t1,t1
3cd8: 00d376b3 and a3,t1,a3
3cdc: 00e81733 sll a4,a6,a4
3ce0: 8ed9 or a3,a3,a4
3ce2: 01f79d63 bne a5,t6,3cfc <GPIO_Init+0xb6>
3ce6: 01152a23 sw a7,20(a0)
3cea: 0605 addi a2,a2,1
3cec: fdc619e3 bne a2,t3,3cbe <GPIO_Init+0x78>
3cf0: c154 sw a3,4(a0)
3cf2: 8082 ret
3cf4: fa5794e3 bne a5,t0,3c9c <GPIO_Init+0x56>
3cf8: c910 sw a2,16(a0)
3cfa: b74d j 3c9c <GPIO_Init+0x56>
3cfc: fe5797e3 bne a5,t0,3cea <GPIO_Init+0xa4>
3d00: 01152823 sw a7,16(a0)
3d04: b7dd j 3cea <GPIO_Init+0xa4>
00003d06 <GPIO_ReadInputDataBit>:
3d06: 4508 lw a0,8(a0)
3d08: 8d6d and a0,a0,a1
3d0a: 00a03533 snez a0,a0
3d0e: 8082 ret
00003d10 <GPIO_WriteBit>:
3d10: c219 beqz a2,3d16 <GPIO_WriteBit+0x6>
3d12: c90c sw a1,16(a0)
3d14: 8082 ret
3d16: c94c sw a1,20(a0)
3d18: 8082 ret
00003d1a <GPIO_EXTILineConfig>:
3d1a: 0fc5f713 andi a4,a1,252
3d1e: 0035f793 andi a5,a1,3
3d22: 400105b7 lui a1,0x40010
3d26: 95ba add a1,a1,a4
3d28: 4594 lw a3,8(a1)
3d2a: 078a slli a5,a5,0x2
3d2c: 473d li a4,15
3d2e: 00f71733 sll a4,a4,a5
3d32: fff74713 not a4,a4
3d36: 8f75 and a4,a4,a3
3d38: c598 sw a4,8(a1)
3d3a: 4598 lw a4,8(a1)
3d3c: 00f51533 sll a0,a0,a5
3d40: 8d59 or a0,a0,a4
3d42: c588 sw a0,8(a1)
3d44: 8082 ret
00003d46 <NVIC_Init>:
3d46: 8b01a703 lw a4,-1872(gp) # 20000210 <NVIC_Priority_Group>
3d4a: 4789 li a5,2
3d4c: 2110 lbu a2,0(a0)
3d4e: 02f71163 bne a4,a5,3d70 <NVIC_Init+0x2a>
3d52: 3114 lbu a3,1(a0)
3d54: 478d li a5,3
3d56: 00d7ed63 bltu a5,a3,3d70 <NVIC_Init+0x2a>
3d5a: 213c lbu a5,2(a0)
3d5c: 069a slli a3,a3,0x6
3d5e: e000e737 lui a4,0xe000e
3d62: 0796 slli a5,a5,0x5
3d64: 8fd5 or a5,a5,a3
3d66: 0ff7f793 andi a5,a5,255
3d6a: 9732 add a4,a4,a2
3d6c: 40f70023 sb a5,1024(a4) # e000e400 <_eusrstack+0xbfffe400>
3d70: 4154 lw a3,4(a0)
3d72: 4705 li a4,1
3d74: 00565793 srli a5,a2,0x5
3d78: 00c71733 sll a4,a4,a2
3d7c: ca89 beqz a3,3d8e <NVIC_Init+0x48>
3d7e: 04078793 addi a5,a5,64
3d82: 078a slli a5,a5,0x2
3d84: e000e6b7 lui a3,0xe000e
3d88: 97b6 add a5,a5,a3
3d8a: c398 sw a4,0(a5)
3d8c: 8082 ret
3d8e: 06078793 addi a5,a5,96
3d92: bfc5 j 3d82 <NVIC_Init+0x3c>
00003d94 <RCC_GetClocksFreq>:
3d94: 40021737 lui a4,0x40021
3d98: 435c lw a5,4(a4)
3d9a: 4691 li a3,4
3d9c: 8bb1 andi a5,a5,12
3d9e: 00d78563 beq a5,a3,3da8 <RCC_GetClocksFreq+0x14>
3da2: 46a1 li a3,8
3da4: 06d78263 beq a5,a3,3e08 <RCC_GetClocksFreq+0x74>
3da8: 007a17b7 lui a5,0x7a1
3dac: 20078793 addi a5,a5,512 # 7a1200 <__rt_init_end+0x79b618>
3db0: c11c sw a5,0(a0)
3db2: 40021637 lui a2,0x40021
3db6: 425c lw a5,4(a2)
3db8: 20000737 lui a4,0x20000
3dbc: 15070713 addi a4,a4,336 # 20000150 <APBAHBPrescTable>
3dc0: 8391 srli a5,a5,0x4
3dc2: 8bbd andi a5,a5,15
3dc4: 97ba add a5,a5,a4
3dc6: 2394 lbu a3,0(a5)
3dc8: 411c lw a5,0(a0)
3dca: 00d7d7b3 srl a5,a5,a3
3dce: c15c sw a5,4(a0)
3dd0: 4254 lw a3,4(a2)
3dd2: 82a1 srli a3,a3,0x8
3dd4: 8a9d andi a3,a3,7
3dd6: 96ba add a3,a3,a4
3dd8: 2294 lbu a3,0(a3)
3dda: 00d7d6b3 srl a3,a5,a3
3dde: c514 sw a3,8(a0)
3de0: 4254 lw a3,4(a2)
3de2: 82ad srli a3,a3,0xb
3de4: 8a9d andi a3,a3,7
3de6: 9736 add a4,a4,a3
3de8: 2318 lbu a4,0(a4)
3dea: 00e7d7b3 srl a5,a5,a4
3dee: c55c sw a5,12(a0)
3df0: 4258 lw a4,4(a2)
3df2: 8339 srli a4,a4,0xe
3df4: 00377693 andi a3,a4,3
3df8: 80418713 addi a4,gp,-2044 # 20000164 <ADCPrescTable>
3dfc: 9736 add a4,a4,a3
3dfe: 2318 lbu a4,0(a4)
3e00: 02e7d7b3 divu a5,a5,a4
3e04: c91c sw a5,16(a0)
3e06: 8082 ret
3e08: 435c lw a5,4(a4)
3e0a: 4358 lw a4,4(a4)
3e0c: 66c1 lui a3,0x10
3e0e: 83c9 srli a5,a5,0x12
3e10: 8f75 and a4,a4,a3
3e12: 1ffff6b7 lui a3,0x1ffff
3e16: 70c6a683 lw a3,1804(a3) # 1ffff70c <__rt_init_end+0x1fff9b24>
3e1a: 8bbd andi a5,a5,15
3e1c: 0789 addi a5,a5,2
3e1e: 01169613 slli a2,a3,0x11
3e22: 00064863 bltz a2,3e32 <RCC_GetClocksFreq+0x9e>
3e26: 46c5 li a3,17
3e28: 4601 li a2,0
3e2a: 02d79263 bne a5,a3,3e4e <RCC_GetClocksFreq+0xba>
3e2e: 47c9 li a5,18
3e30: a839 j 3e4e <RCC_GetClocksFreq+0xba>
3e32: 4689 li a3,2
3e34: 02d78f63 beq a5,a3,3e72 <RCC_GetClocksFreq+0xde>
3e38: 46bd li a3,15
3e3a: 02d78e63 beq a5,a3,3e76 <RCC_GetClocksFreq+0xe2>
3e3e: 46c1 li a3,16
3e40: 02d78e63 beq a5,a3,3e7c <RCC_GetClocksFreq+0xe8>
3e44: 46c5 li a3,17
3e46: 4601 li a2,0
3e48: 00d79363 bne a5,a3,3e4e <RCC_GetClocksFreq+0xba>
3e4c: 47c1 li a5,16
3e4e: ef1d bnez a4,3e8c <RCC_GetClocksFreq+0xf8>
3e50: 40024737 lui a4,0x40024
3e54: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x20013800>
3e58: 8b41 andi a4,a4,16
3e5a: c705 beqz a4,3e82 <RCC_GetClocksFreq+0xee>
3e5c: 007a1737 lui a4,0x7a1
3e60: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79b618>
3e64: 02f707b3 mul a5,a4,a5
3e68: c11c sw a5,0(a0)
3e6a: d621 beqz a2,3db2 <RCC_GetClocksFreq+0x1e>
3e6c: 411c lw a5,0(a0)
3e6e: 8385 srli a5,a5,0x1
3e70: b781 j 3db0 <RCC_GetClocksFreq+0x1c>
3e72: 4601 li a2,0
3e74: bf6d j 3e2e <RCC_GetClocksFreq+0x9a>
3e76: 4605 li a2,1
3e78: 47b5 li a5,13
3e7a: bfd1 j 3e4e <RCC_GetClocksFreq+0xba>
3e7c: 4601 li a2,0
3e7e: 47bd li a5,15
3e80: b7f9 j 3e4e <RCC_GetClocksFreq+0xba>
3e82: 003d1737 lui a4,0x3d1
3e86: 90070713 addi a4,a4,-1792 # 3d0900 <__rt_init_end+0x3cad18>
3e8a: bfe9 j 3e64 <RCC_GetClocksFreq+0xd0>
3e8c: 400215b7 lui a1,0x40021
3e90: 55d8 lw a4,44(a1)
3e92: 00f71693 slli a3,a4,0xf
3e96: 55d8 lw a4,44(a1)
3e98: 0406df63 bgez a3,3ef6 <RCC_GetClocksFreq+0x162>
3e9c: 8311 srli a4,a4,0x4
3e9e: 8b3d andi a4,a4,15
3ea0: 00170693 addi a3,a4,1
3ea4: 007a1737 lui a4,0x7a1
3ea8: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79b618>
3eac: 02d75733 divu a4,a4,a3
3eb0: c118 sw a4,0(a0)
3eb2: 55d4 lw a3,44(a1)
3eb4: 82a1 srli a3,a3,0x8
3eb6: 8abd andi a3,a3,15
3eb8: e28d bnez a3,3eda <RCC_GetClocksFreq+0x146>
3eba: 4695 li a3,5
3ebc: 02d70733 mul a4,a4,a3
3ec0: 8305 srli a4,a4,0x1
3ec2: c118 sw a4,0(a0)
3ec4: 40021737 lui a4,0x40021
3ec8: 5758 lw a4,44(a4)
3eca: 4114 lw a3,0(a0)
3ecc: 8b3d andi a4,a4,15
3ece: 0705 addi a4,a4,1
3ed0: 02e6d733 divu a4,a3,a4
3ed4: c118 sw a4,0(a0)
3ed6: 4118 lw a4,0(a0)
3ed8: b771 j 3e64 <RCC_GetClocksFreq+0xd0>
3eda: 4585 li a1,1
3edc: 00b69463 bne a3,a1,3ee4 <RCC_GetClocksFreq+0x150>
3ee0: 46e5 li a3,25
3ee2: bfe9 j 3ebc <RCC_GetClocksFreq+0x128>
3ee4: 45bd li a1,15
3ee6: 00b69663 bne a3,a1,3ef2 <RCC_GetClocksFreq+0x15e>
3eea: 46d1 li a3,20
3eec: 02e68733 mul a4,a3,a4
3ef0: bfc9 j 3ec2 <RCC_GetClocksFreq+0x12e>
3ef2: 0689 addi a3,a3,2
3ef4: bfe5 j 3eec <RCC_GetClocksFreq+0x158>
3ef6: 8b3d andi a4,a4,15
3ef8: 00170693 addi a3,a4,1 # 40021001 <_eusrstack+0x20011001>
3efc: 007a1737 lui a4,0x7a1
3f00: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79b618>
3f04: 02d75733 divu a4,a4,a3
3f08: b7f1 j 3ed4 <RCC_GetClocksFreq+0x140>
00003f0a <RCC_APB2PeriphClockCmd>:
3f0a: c599 beqz a1,3f18 <RCC_APB2PeriphClockCmd+0xe>
3f0c: 40021737 lui a4,0x40021
3f10: 4f1c lw a5,24(a4)
3f12: 8d5d or a0,a0,a5
3f14: cf08 sw a0,24(a4)
3f16: 8082 ret
3f18: 400217b7 lui a5,0x40021
3f1c: 4f98 lw a4,24(a5)
3f1e: fff54513 not a0,a0
3f22: 8d79 and a0,a0,a4
3f24: cf88 sw a0,24(a5)
3f26: 8082 ret
00003f28 <RCC_APB1PeriphClockCmd>:
3f28: c599 beqz a1,3f36 <RCC_APB1PeriphClockCmd+0xe>
3f2a: 40021737 lui a4,0x40021
3f2e: 4f5c lw a5,28(a4)
3f30: 8d5d or a0,a0,a5
3f32: cf48 sw a0,28(a4)
3f34: 8082 ret
3f36: 400217b7 lui a5,0x40021
3f3a: 4fd8 lw a4,28(a5)
3f3c: fff54513 not a0,a0
3f40: 8d79 and a0,a0,a4
3f42: cfc8 sw a0,28(a5)
3f44: 8082 ret
00003f46 <USART_Init>:
3f46: c5cfc2ef jal t0,3a2 <__riscv_save_0>
3f4a: 2916 lhu a3,16(a0)
3f4c: 77f5 lui a5,0xffffd
3f4e: 17fd addi a5,a5,-1
3f50: 8ff5 and a5,a5,a3
3f52: 21f6 lhu a3,6(a1)
3f54: 25da lhu a4,12(a1)
3f56: 7179 addi sp,sp,-48
3f58: 8fd5 or a5,a5,a3
3f5a: a91e sh a5,16(a0)
3f5c: 2556 lhu a3,12(a0)
3f5e: 77fd lui a5,0xfffff
3f60: 9f378793 addi a5,a5,-1549 # ffffe9f3 <_eusrstack+0xdffee9f3>
3f64: 8ff5 and a5,a5,a3
3f66: 21d6 lhu a3,4(a1)
3f68: 842a mv s0,a0
3f6a: c62e sw a1,12(sp)
3f6c: 8fd5 or a5,a5,a3
3f6e: 2596 lhu a3,8(a1)
3f70: 8fd5 or a5,a5,a3
3f72: 25b6 lhu a3,10(a1)
3f74: 8fd5 or a5,a5,a3
3f76: a55e sh a5,12(a0)
3f78: 295e lhu a5,20(a0)
3f7a: 07c2 slli a5,a5,0x10
3f7c: 83c1 srli a5,a5,0x10
3f7e: cff7f793 andi a5,a5,-769
3f82: 8fd9 or a5,a5,a4
3f84: a95e sh a5,20(a0)
3f86: 0868 addi a0,sp,28
3f88: e0dff0ef jal ra,3d94 <RCC_GetClocksFreq>
3f8c: 400147b7 lui a5,0x40014
3f90: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
3f94: 45b2 lw a1,12(sp)
3f96: 02f41e63 bne s0,a5,3fd2 <USART_Init+0x8c>
3f9a: 57a2 lw a5,40(sp)
3f9c: 4765 li a4,25
3f9e: 02e787b3 mul a5,a5,a4
3fa2: 4198 lw a4,0(a1)
3fa4: 06400693 li a3,100
3fa8: 070a slli a4,a4,0x2
3faa: 02e7d7b3 divu a5,a5,a4
3fae: 02d7d733 divu a4,a5,a3
3fb2: 02d7f7b3 remu a5,a5,a3
3fb6: 0712 slli a4,a4,0x4
3fb8: 0792 slli a5,a5,0x4
3fba: 03278793 addi a5,a5,50
3fbe: 02d7d7b3 divu a5,a5,a3
3fc2: 8bbd andi a5,a5,15
3fc4: 8fd9 or a5,a5,a4
3fc6: 07c2 slli a5,a5,0x10
3fc8: 83c1 srli a5,a5,0x10
3fca: a41e sh a5,8(s0)
3fcc: 6145 addi sp,sp,48
3fce: bf8fc06f j 3c6 <__riscv_restore_0>
3fd2: 5792 lw a5,36(sp)
3fd4: b7e1 j 3f9c <USART_Init+0x56>
00003fd6 <USART_Cmd>:
3fd6: c591 beqz a1,3fe2 <USART_Cmd+0xc>
3fd8: 255e lhu a5,12(a0)
3fda: 6709 lui a4,0x2
3fdc: 8fd9 or a5,a5,a4
3fde: a55e sh a5,12(a0)
3fe0: 8082 ret
3fe2: 255a lhu a4,12(a0)
3fe4: 77f9 lui a5,0xffffe
3fe6: 17fd addi a5,a5,-1
3fe8: 8ff9 and a5,a5,a4
3fea: bfd5 j 3fde <USART_Cmd+0x8>
00003fec <USART_ITConfig>:
3fec: 0ff5f713 andi a4,a1,255
3ff0: 4785 li a5,1
3ff2: 8315 srli a4,a4,0x5
3ff4: 00b795b3 sll a1,a5,a1
3ff8: 00f71963 bne a4,a5,400a <USART_ITConfig+0x1e>
3ffc: 00c50793 addi a5,a0,12
4000: 4398 lw a4,0(a5)
4002: ce01 beqz a2,401a <USART_ITConfig+0x2e>
4004: 8dd9 or a1,a1,a4
4006: c38c sw a1,0(a5)
4008: 8082 ret
400a: 4689 li a3,2
400c: 01450793 addi a5,a0,20
4010: fed718e3 bne a4,a3,4000 <USART_ITConfig+0x14>
4014: 01050793 addi a5,a0,16
4018: b7e5 j 4000 <USART_ITConfig+0x14>
401a: fff5c593 not a1,a1
401e: 8df9 and a1,a1,a4
4020: b7dd j 4006 <USART_ITConfig+0x1a>
00004022 <USART_SendData>:
4022: 1ff5f593 andi a1,a1,511
4026: a14e sh a1,4(a0)
4028: 8082 ret
0000402a <USART_ReceiveData>:
402a: 214a lhu a0,4(a0)
402c: 1ff57513 andi a0,a0,511
4030: 8082 ret
00004032 <USART_GetFlagStatus>:
4032: 210a lhu a0,0(a0)
4034: 8d6d and a0,a0,a1
4036: 00a03533 snez a0,a0
403a: 8082 ret
0000403c <USART_ClearFlag>:
403c: fff5c593 not a1,a1
4040: 05c2 slli a1,a1,0x10
4042: 81c1 srli a1,a1,0x10
4044: a10e sh a1,0(a0)
4046: 8082 ret
00004048 <USART_GetITStatus>:
4048: 0ff5f713 andi a4,a1,255
404c: 4685 li a3,1
404e: 8315 srli a4,a4,0x5
4050: 00b697b3 sll a5,a3,a1
4054: 02d71163 bne a4,a3,4076 <USART_GetITStatus+0x2e>
4058: 255a lhu a4,12(a0)
405a: 8ff9 and a5,a5,a4
405c: 211a lhu a4,0(a0)
405e: 4501 li a0,0
4060: 0742 slli a4,a4,0x10
4062: 8341 srli a4,a4,0x10
4064: cb81 beqz a5,4074 <USART_GetITStatus+0x2c>
4066: 4505 li a0,1
4068: 81a1 srli a1,a1,0x8
406a: 00b515b3 sll a1,a0,a1
406e: 8f6d and a4,a4,a1
4070: 00e03533 snez a0,a4
4074: 8082 ret
4076: 4689 li a3,2
4078: 00d71463 bne a4,a3,4080 <USART_GetITStatus+0x38>
407c: 291a lhu a4,16(a0)
407e: bff1 j 405a <USART_GetITStatus+0x12>
4080: 295a lhu a4,20(a0)
4082: bfe1 j 405a <USART_GetITStatus+0x12>
00004084 <USART_ClearITPendingBit>:
4084: 81a1 srli a1,a1,0x8
4086: 4785 li a5,1
4088: 00b797b3 sll a5,a5,a1
408c: fff7c793 not a5,a5
4090: 07c2 slli a5,a5,0x10
4092: 83c1 srli a5,a5,0x10
4094: a11e sh a5,0(a0)
4096: 8082 ret
00004098 <android_PowerCtrl_Init>:
4098: b0afc2ef jal t0,3a2 <__riscv_save_0>
409c: 4581 li a1,0
409e: 4509 li a0,2
40a0: d69fe0ef jal ra,2e08 <rt_pin_mode>
40a4: b22fc06f j 3c6 <__riscv_restore_0>
000040a8 <android_PowerCtrl_Open>:
40a8: afafc2ef jal t0,3a2 <__riscv_save_0>
40ac: 4585 li a1,1
40ae: 4509 li a0,2
40b0: d73fe0ef jal ra,2e22 <rt_pin_write>
40b4: b12fc06f j 3c6 <__riscv_restore_0>
000040b8 <USART3_IRQHandler>:
40b8: 1141 addi sp,sp,-16
40ba: c622 sw s0,12(sp)
40bc: 40005437 lui s0,0x40005
40c0: 52500593 li a1,1317
40c4: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1fff4800>
40c8: c426 sw s1,8(sp)
40ca: f7fff0ef jal ra,4048 <USART_GetITStatus>
40ce: c105 beqz a0,40ee <USART3_IRQHandler+0x36>
40d0: 80040513 addi a0,s0,-2048
40d4: f57ff0ef jal ra,402a <USART_ReceiveData>
40d8: 8b418713 addi a4,gp,-1868 # 20000214 <USART_Rbuffer_Num>
40dc: 2314 lbu a3,0(a4)
40de: 200017b7 lui a5,0x20001
40e2: 72478793 addi a5,a5,1828 # 20001724 <USART_Rbuffer>
40e6: 97b6 add a5,a5,a3
40e8: 0685 addi a3,a3,1
40ea: a388 sb a0,0(a5)
40ec: a314 sb a3,0(a4)
40ee: 400054b7 lui s1,0x40005
40f2: 42400593 li a1,1060
40f6: 80048513 addi a0,s1,-2048 # 40004800 <_eusrstack+0x1fff4800>
40fa: f4fff0ef jal ra,4048 <USART_GetITStatus>
40fe: c905 beqz a0,412e <USART3_IRQHandler+0x76>
4100: 8b418413 addi s0,gp,-1868 # 20000214 <USART_Rbuffer_Num>
4104: 2010 lbu a2,0(s0)
4106: 200015b7 lui a1,0x20001
410a: 72458593 addi a1,a1,1828 # 20001724 <USART_Rbuffer>
410e: 80048513 addi a0,s1,-2048
4112: 2439 jal 4320 <USARTx_SendStr_Len>
4114: 200c lbu a1,0(s0)
4116: 00006537 lui a0,0x6
411a: a6050513 addi a0,a0,-1440 # 5a60 <ch32_uart_ops+0x78>
411e: e91fc0ef jal ra,fae <rt_kprintf>
4122: 80048513 addi a0,s1,-2048
4126: 00040023 sb zero,0(s0)
412a: f01ff0ef jal ra,402a <USART_ReceiveData>
412e: 40005437 lui s0,0x40005
4132: 45a1 li a1,8
4134: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1fff4800>
4138: efbff0ef jal ra,4032 <USART_GetFlagStatus>
413c: 4785 li a5,1
413e: 00f51b63 bne a0,a5,4154 <USART3_IRQHandler+0x9c>
4142: 80040513 addi a0,s0,-2048
4146: 45a1 li a1,8
4148: ef5ff0ef jal ra,403c <USART_ClearFlag>
414c: 80040513 addi a0,s0,-2048
4150: edbff0ef jal ra,402a <USART_ReceiveData>
4154: 4432 lw s0,12(sp)
4156: 44a2 lw s1,8(sp)
4158: 0141 addi sp,sp,16
415a: 30200073 mret
0000415e <J5_PWR_Close>:
415e: a44fc2ef jal t0,3a2 <__riscv_save_0>
4162: 4581 li a1,0
4164: 02a00513 li a0,42
4168: cbbfe0ef jal ra,2e22 <rt_pin_write>
416c: a5afc06f j 3c6 <__riscv_restore_0>
00004170 <J6_PWR_Close>:
4170: a32fc2ef jal t0,3a2 <__riscv_save_0>
4174: 4581 li a1,0
4176: 02b00513 li a0,43
417a: ca9fe0ef jal ra,2e22 <rt_pin_write>
417e: a48fc06f j 3c6 <__riscv_restore_0>
00004182 <J7_PWR_Close>:
4182: a20fc2ef jal t0,3a2 <__riscv_save_0>
4186: 4581 li a1,0
4188: 02c00513 li a0,44
418c: c97fe0ef jal ra,2e22 <rt_pin_write>
4190: a36fc06f j 3c6 <__riscv_restore_0>
00004194 <J8_PWR_Close>:
4194: a0efc2ef jal t0,3a2 <__riscv_save_0>
4198: 4581 li a1,0
419a: 02d00513 li a0,45
419e: c85fe0ef jal ra,2e22 <rt_pin_write>
41a2: a24fc06f j 3c6 <__riscv_restore_0>
000041a6 <J9_PWR_Close>:
41a6: 9fcfc2ef jal t0,3a2 <__riscv_save_0>
41aa: 4581 li a1,0
41ac: 02e00513 li a0,46
41b0: c73fe0ef jal ra,2e22 <rt_pin_write>
41b4: a12fc06f j 3c6 <__riscv_restore_0>
000041b8 <USART_CONNET_J0>:
41b8: 9eafc2ef jal t0,3a2 <__riscv_save_0>
41bc: fa3ff0ef jal ra,415e <J5_PWR_Close>
41c0: fb1ff0ef jal ra,4170 <J6_PWR_Close>
41c4: fbfff0ef jal ra,4182 <J7_PWR_Close>
41c8: fcdff0ef jal ra,4194 <J8_PWR_Close>
41cc: fdbff0ef jal ra,41a6 <J9_PWR_Close>
41d0: 4581 li a1,0
41d2: 03800513 li a0,56
41d6: c4dfe0ef jal ra,2e22 <rt_pin_write>
41da: 4581 li a1,0
41dc: 03900513 li a0,57
41e0: c43fe0ef jal ra,2e22 <rt_pin_write>
41e4: 4581 li a1,0
41e6: 03a00513 li a0,58
41ea: c39fe0ef jal ra,2e22 <rt_pin_write>
41ee: 9d8fc06f j 3c6 <__riscv_restore_0>
000041f2 <J5_0_485_Init>:
41f2: 9b0fc2ef jal t0,3a2 <__riscv_save_0>
41f6: 7179 addi sp,sp,-48
41f8: 4581 li a1,0
41fa: 02a00513 li a0,42
41fe: c0bfe0ef jal ra,2e08 <rt_pin_mode>
4202: 4581 li a1,0
4204: 02b00513 li a0,43
4208: c01fe0ef jal ra,2e08 <rt_pin_mode>
420c: 4581 li a1,0
420e: 02c00513 li a0,44
4212: bf7fe0ef jal ra,2e08 <rt_pin_mode>
4216: 4581 li a1,0
4218: 02d00513 li a0,45
421c: bedfe0ef jal ra,2e08 <rt_pin_mode>
4220: 4581 li a1,0
4222: 02e00513 li a0,46
4226: be3fe0ef jal ra,2e08 <rt_pin_mode>
422a: 4581 li a1,0
422c: 03700513 li a0,55
4230: bd9fe0ef jal ra,2e08 <rt_pin_mode>
4234: 4581 li a1,0
4236: 03700513 li a0,55
423a: be9fe0ef jal ra,2e22 <rt_pin_write>
423e: 4581 li a1,0
4240: 03800513 li a0,56
4244: bc5fe0ef jal ra,2e08 <rt_pin_mode>
4248: 4581 li a1,0
424a: 03900513 li a0,57
424e: bbbfe0ef jal ra,2e08 <rt_pin_mode>
4252: 4581 li a1,0
4254: 03a00513 li a0,58
4258: bb1fe0ef jal ra,2e08 <rt_pin_mode>
425c: f5dff0ef jal ra,41b8 <USART_CONNET_J0>
4260: 4585 li a1,1
4262: 4521 li a0,8
4264: ca7ff0ef jal ra,3f0a <RCC_APB2PeriphClockCmd>
4268: 4585 li a1,1
426a: 00040537 lui a0,0x40
426e: cbbff0ef jal ra,3f28 <RCC_APB1PeriphClockCmd>
4272: 40000793 li a5,1024
4276: 82fc sh a5,20(sp)
4278: 40011437 lui s0,0x40011
427c: 478d li a5,3
427e: cc3e sw a5,24(sp)
4280: 084c addi a1,sp,20
4282: 47e1 li a5,24
4284: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x20000c00>
4288: ce3e sw a5,28(sp)
428a: 9bdff0ef jal ra,3c46 <GPIO_Init>
428e: 6785 lui a5,0x1
4290: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
4294: 82fc sh a5,20(sp)
4296: 084c addi a1,sp,20
4298: 4791 li a5,4
429a: c0040513 addi a0,s0,-1024
429e: ce3e sw a5,28(sp)
42a0: 9a7ff0ef jal ra,3c46 <GPIO_Init>
42a4: 67f1 lui a5,0x1c
42a6: 40005437 lui s0,0x40005
42aa: 20078793 addi a5,a5,512 # 1c200 <__rt_init_end+0x16618>
42ae: 100c addi a1,sp,32
42b0: d03e sw a5,32(sp)
42b2: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1fff4800>
42b6: 000c07b7 lui a5,0xc0
42ba: d43e sw a5,40(sp)
42bc: d202 sw zero,36(sp)
42be: 02011623 sh zero,44(sp)
42c2: c85ff0ef jal ra,3f46 <USART_Init>
42c6: 13700793 li a5,311
42ca: 867c sh a5,12(sp)
42cc: 4785 li a5,1
42ce: 875c sb a5,14(sp)
42d0: 0068 addi a0,sp,12
42d2: 4785 li a5,1
42d4: c83e sw a5,16(sp)
42d6: a71ff0ef jal ra,3d46 <NVIC_Init>
42da: 80040513 addi a0,s0,-2048
42de: 4605 li a2,1
42e0: 52500593 li a1,1317
42e4: d09ff0ef jal ra,3fec <USART_ITConfig>
42e8: 4605 li a2,1
42ea: 80040513 addi a0,s0,-2048
42ee: 42400593 li a1,1060
42f2: cfbff0ef jal ra,3fec <USART_ITConfig>
42f6: 4585 li a1,1
42f8: 80040513 addi a0,s0,-2048
42fc: cdbff0ef jal ra,3fd6 <USART_Cmd>
4300: 6145 addi sp,sp,48
4302: 8c4fc06f j 3c6 <__riscv_restore_0>
00004306 <USARTx_SendByte_str>:
4306: 89cfc2ef jal t0,3a2 <__riscv_save_0>
430a: 842a mv s0,a0
430c: d17ff0ef jal ra,4022 <USART_SendData>
4310: 08000593 li a1,128
4314: 8522 mv a0,s0
4316: d1dff0ef jal ra,4032 <USART_GetFlagStatus>
431a: d97d beqz a0,4310 <USARTx_SendByte_str+0xa>
431c: 8aafc06f j 3c6 <__riscv_restore_0>
00004320 <USARTx_SendStr_Len>:
4320: 868fc2ef jal t0,388 <__riscv_save_4>
4324: 400057b7 lui a5,0x40005
4328: 80078793 addi a5,a5,-2048 # 40004800 <_eusrstack+0x1fff4800>
432c: 842a mv s0,a0
432e: 89ae mv s3,a1
4330: 8932 mv s2,a2
4332: 04f51663 bne a0,a5,437e <USARTx_SendStr_Len+0x5e>
4336: 4585 li a1,1
4338: 03700513 li a0,55
433c: ae7fe0ef jal ra,2e22 <rt_pin_write>
4340: 84ca mv s1,s2
4342: 409907b3 sub a5,s2,s1
4346: 0ff7f793 andi a5,a5,255
434a: 97ce add a5,a5,s3
434c: 238c lbu a1,0(a5)
434e: 8522 mv a0,s0
4350: 14fd addi s1,s1,-1
4352: fb5ff0ef jal ra,4306 <USARTx_SendByte_str>
4356: f4f5 bnez s1,4342 <USARTx_SendStr_Len+0x22>
4358: 04000593 li a1,64
435c: 8522 mv a0,s0
435e: cd5ff0ef jal ra,4032 <USART_GetFlagStatus>
4362: d97d beqz a0,4358 <USARTx_SendStr_Len+0x38>
4364: 400057b7 lui a5,0x40005
4368: 80078793 addi a5,a5,-2048 # 40004800 <_eusrstack+0x1fff4800>
436c: 04f41863 bne s0,a5,43bc <USARTx_SendStr_Len+0x9c>
4370: 4581 li a1,0
4372: 03700513 li a0,55
4376: aadfe0ef jal ra,2e22 <rt_pin_write>
437a: 842fc06f j 3bc <__riscv_restore_4>
437e: 400027b7 lui a5,0x40002
4382: 80078713 addi a4,a5,-2048 # 40001800 <_eusrstack+0x1fff1800>
4386: 00e51563 bne a0,a4,4390 <USARTx_SendStr_Len+0x70>
438a: 4585 li a1,1
438c: 4511 li a0,4
438e: b77d j 433c <USARTx_SendStr_Len+0x1c>
4390: c0078713 addi a4,a5,-1024
4394: 00e51563 bne a0,a4,439e <USARTx_SendStr_Len+0x7e>
4398: 4585 li a1,1
439a: 4515 li a0,5
439c: b745 j 433c <USARTx_SendStr_Len+0x1c>
439e: 40004737 lui a4,0x40004
43a2: 40070713 addi a4,a4,1024 # 40004400 <_eusrstack+0x1fff4400>
43a6: 00e51563 bne a0,a4,43b0 <USARTx_SendStr_Len+0x90>
43aa: 4585 li a1,1
43ac: 4561 li a0,24
43ae: b779 j 433c <USARTx_SendStr_Len+0x1c>
43b0: fcf515e3 bne a0,a5,437a <USARTx_SendStr_Len+0x5a>
43b4: 4585 li a1,1
43b6: 02300513 li a0,35
43ba: b749 j 433c <USARTx_SendStr_Len+0x1c>
43bc: 400027b7 lui a5,0x40002
43c0: 80078713 addi a4,a5,-2048 # 40001800 <_eusrstack+0x1fff1800>
43c4: 00e41563 bne s0,a4,43ce <USARTx_SendStr_Len+0xae>
43c8: 4581 li a1,0
43ca: 4511 li a0,4
43cc: b76d j 4376 <USARTx_SendStr_Len+0x56>
43ce: c0078713 addi a4,a5,-1024
43d2: 00e41563 bne s0,a4,43dc <USARTx_SendStr_Len+0xbc>
43d6: 4581 li a1,0
43d8: 4515 li a0,5
43da: bf71 j 4376 <USARTx_SendStr_Len+0x56>
43dc: 40004737 lui a4,0x40004
43e0: 40070713 addi a4,a4,1024 # 40004400 <_eusrstack+0x1fff4400>
43e4: 00e41563 bne s0,a4,43ee <USARTx_SendStr_Len+0xce>
43e8: 4581 li a1,0
43ea: 4561 li a0,24
43ec: b769 j 4376 <USARTx_SendStr_Len+0x56>
43ee: f8f416e3 bne s0,a5,437a <USARTx_SendStr_Len+0x5a>
43f2: 4581 li a1,0
43f4: 02300513 li a0,35
43f8: bfbd j 4376 <USARTx_SendStr_Len+0x56>
000043fa <memcmp>:
43fa: 4701 li a4,0
43fc: 00e61463 bne a2,a4,4404 <memcmp+0xa>
4400: 4501 li a0,0
4402: 8082 ret
4404: 00e507b3 add a5,a0,a4
4408: 0705 addi a4,a4,1
440a: 00e586b3 add a3,a1,a4
440e: 239c lbu a5,0(a5)
4410: fff6c683 lbu a3,-1(a3)
4414: fed784e3 beq a5,a3,43fc <memcmp+0x2>
4418: 40d78533 sub a0,a5,a3
441c: 8082 ret
0000441e <memcpy>:
441e: 00a5c7b3 xor a5,a1,a0
4422: 8b8d andi a5,a5,3
4424: 00c50733 add a4,a0,a2
4428: e781 bnez a5,4430 <memcpy+0x12>
442a: 478d li a5,3
442c: 00c7ed63 bltu a5,a2,4446 <memcpy+0x28>
4430: 87aa mv a5,a0
4432: 08e57e63 bgeu a0,a4,44ce <memcpy+0xb0>
4436: 2194 lbu a3,0(a1)
4438: 0785 addi a5,a5,1
443a: 0585 addi a1,a1,1
443c: fed78fa3 sb a3,-1(a5)
4440: fee7ebe3 bltu a5,a4,4436 <memcpy+0x18>
4444: 8082 ret
4446: 00357693 andi a3,a0,3
444a: 87aa mv a5,a0
444c: ca89 beqz a3,445e <memcpy+0x40>
444e: 2194 lbu a3,0(a1)
4450: 0785 addi a5,a5,1
4452: 0585 addi a1,a1,1
4454: fed78fa3 sb a3,-1(a5)
4458: 0037f693 andi a3,a5,3
445c: bfc5 j 444c <memcpy+0x2e>
445e: ffc77693 andi a3,a4,-4
4462: fe068613 addi a2,a3,-32
4466: 06c7f063 bgeu a5,a2,44c6 <memcpy+0xa8>
446a: 0005a383 lw t2,0(a1)
446e: 0045a283 lw t0,4(a1)
4472: 0085af83 lw t6,8(a1)
4476: 00c5af03 lw t5,12(a1)
447a: 0105ae83 lw t4,16(a1)
447e: 0145ae03 lw t3,20(a1)
4482: 0185a303 lw t1,24(a1)
4486: 01c5a883 lw a7,28(a1)
448a: 02458593 addi a1,a1,36
448e: 0077a023 sw t2,0(a5)
4492: ffc5a803 lw a6,-4(a1)
4496: 0057a223 sw t0,4(a5)
449a: 01f7a423 sw t6,8(a5)
449e: 01e7a623 sw t5,12(a5)
44a2: 01d7a823 sw t4,16(a5)
44a6: 01c7aa23 sw t3,20(a5)
44aa: 0067ac23 sw t1,24(a5)
44ae: 0117ae23 sw a7,28(a5)
44b2: 02478793 addi a5,a5,36
44b6: ff07ae23 sw a6,-4(a5)
44ba: b775 j 4466 <memcpy+0x48>
44bc: 4190 lw a2,0(a1)
44be: 0791 addi a5,a5,4
44c0: 0591 addi a1,a1,4
44c2: fec7ae23 sw a2,-4(a5)
44c6: fed7ebe3 bltu a5,a3,44bc <memcpy+0x9e>
44ca: f6e7e6e3 bltu a5,a4,4436 <memcpy+0x18>
44ce: 8082 ret
000044d0 <strcat>:
44d0: 87aa mv a5,a0
44d2: 2398 lbu a4,0(a5)
44d4: 00178693 addi a3,a5,1
44d8: eb09 bnez a4,44ea <strcat+0x1a>
44da: 0585 addi a1,a1,1
44dc: fff5c703 lbu a4,-1(a1)
44e0: 0785 addi a5,a5,1
44e2: fee78fa3 sb a4,-1(a5)
44e6: fb75 bnez a4,44da <strcat+0xa>
44e8: 8082 ret
44ea: 87b6 mv a5,a3
44ec: b7dd j 44d2 <strcat+0x2>
000044ee <strcpy>:
44ee: 87aa mv a5,a0
44f0: 2198 lbu a4,0(a1)
44f2: 0785 addi a5,a5,1
44f4: 0585 addi a1,a1,1
44f6: fee78fa3 sb a4,-1(a5)
44fa: fb7d bnez a4,44f0 <strcpy+0x2>
44fc: 8082 ret
000044fe <strlen>:
44fe: 87aa mv a5,a0
4500: 0785 addi a5,a5,1
4502: fff7c703 lbu a4,-1(a5)
4506: ff6d bnez a4,4500 <strlen+0x2>
4508: 40a78533 sub a0,a5,a0
450c: 157d addi a0,a0,-1
450e: 8082 ret
00004510 <strncmp>:
4510: c215 beqz a2,4534 <strncmp+0x24>
4512: 167d addi a2,a2,-1
4514: 4701 li a4,0
4516: 00e507b3 add a5,a0,a4
451a: 00e586b3 add a3,a1,a4
451e: 239c lbu a5,0(a5)
4520: 2294 lbu a3,0(a3)
4522: 00d79663 bne a5,a3,452e <strncmp+0x1e>
4526: 00c70463 beq a4,a2,452e <strncmp+0x1e>
452a: 0705 addi a4,a4,1
452c: f7ed bnez a5,4516 <strncmp+0x6>
452e: 40d78533 sub a0,a5,a3
4532: 8082 ret
4534: 4501 li a0,0
4536: 8082 ret
4538: 5000 lw s0,32(s0)
453a: 0000 unimp
453c: 5014 lw a3,32(s0)
453e: 0000 unimp
4540: 5024 lw s1,96(s0)
4542: 0000 unimp
4544: 5038 lw a4,96(s0)
4546: 0000 unimp
4548: 5044 lw s1,36(s0)
454a: 0000 unimp
454c: 5050 lw a2,36(s0)
454e: 0000 unimp
4550: 5054 lw a3,36(s0)
4552: 0000 unimp
4554: 5064 lw s1,100(s0)
4556: 0000 unimp
4558: 5074 lw a3,100(s0)
455a: 0000 unimp
455c: 507c lw a5,100(s0)
455e: 0000 unimp
4560: 5090 lw a2,32(s1)
4562: 0000 unimp
4564: 50a0 lw s0,96(s1)
4566: 0000 unimp
4568: 50a8 lw a0,96(s1)
456a: 0000 unimp
456c: 50b4 lw a3,96(s1)
456e: 0000 unimp
4570: 50c0 lw s0,36(s1)
4572: 0000 unimp
4574: 50d4 lw a3,36(s1)
4576: 0000 unimp
4578: 50dc lw a5,36(s1)
457a: 0000 unimp
457c: 50ec lw a1,100(s1)
457e: 0000 unimp
4580: 50fc lw a5,100(s1)
4582: 0000 unimp
4584: 5114 lw a3,32(a0)
4586: 0000 unimp
4588: 616d addi sp,sp,240
458a: 6e69 lui t3,0x1a
458c: 0000 unimp
458e: 0000 unimp
4590: 6f54 flw fa3,28(a4)
4592: 6920 flw fs0,80(a0)
4594: 696e flw fs2,216(sp)
4596: 6974 flw fa3,84(a0)
4598: 6c61 lui s8,0x18
459a: 7a69 lui s4,0xffffa
459c: 2065 jal 4644 <__lowest_bit_bitmap+0x74>
459e: 6564 flw fs1,76(a0)
45a0: 6976 flw fs2,92(sp)
45a2: 253a6563 bltu s4,s3,47ec <__fsym_list_mem_desc+0x1c>
45a6: 61662073 csrs 0x616,a2
45aa: 6c69 lui s8,0x1a
45ac: 6465 lui s0,0x19
45ae: 202e lhu a1,2(s0)
45b0: 6854 flw fa3,20(s0)
45b2: 2065 jal 465a <__lowest_bit_bitmap+0x8a>
45b4: 7265 lui tp,0xffff9
45b6: 6f72 flw ft10,28(sp)
45b8: 2072 lhu a2,6(s0)
45ba: 65646f63 bltu s0,s6,4c18 <__fsym_list_mem_name+0x428>
45be: 6920 flw fs0,80(a0)
45c0: 64252073 csrs 0x642,a0
45c4: 000a c.slli zero,0x2
45c6: 0000 unimp
45c8: 6974 flw fa3,84(a0)
45ca: 6c64 flw fs1,92(s0)
45cc: 0065 c.nop 25
...
000045d0 <__lowest_bit_bitmap>:
45d0: 0000 0001 0002 0001 0003 0001 0002 0001 ................
45e0: 0004 0001 0002 0001 0003 0001 0002 0001 ................
45f0: 0005 0001 0002 0001 0003 0001 0002 0001 ................
4600: 0004 0001 0002 0001 0003 0001 0002 0001 ................
4610: 0006 0001 0002 0001 0003 0001 0002 0001 ................
4620: 0004 0001 0002 0001 0003 0001 0002 0001 ................
4630: 0005 0001 0002 0001 0003 0001 0002 0001 ................
4640: 0004 0001 0002 0001 0003 0001 0002 0001 ................
4650: 0007 0001 0002 0001 0003 0001 0002 0001 ................
4660: 0004 0001 0002 0001 0003 0001 0002 0001 ................
4670: 0005 0001 0002 0001 0003 0001 0002 0001 ................
4680: 0004 0001 0002 0001 0003 0001 0002 0001 ................
4690: 0006 0001 0002 0001 0003 0001 0002 0001 ................
46a0: 0004 0001 0002 0001 0003 0001 0002 0001 ................
46b0: 0005 0001 0002 0001 0003 0001 0002 0001 ................
46c0: 0004 0001 0002 0001 0003 0001 0002 0001 ................
000046d0 <large_digits.2583>:
46d0: 3130 3332 3534 3736 3938 4241 4443 4645 0123456789ABCDEF
46e0: 0000 0000 200a 205c 207c 0a2f 0000 0000 ..... \ | /.....
46f0: 202d 5452 2d20 2020 2020 5420 7268 6165 - RT - Threa
4700: 2064 704f 7265 7461 6e69 2067 7953 7473 d Operating Syst
4710: 6d65 000a 754a 206e 3331 3220 3230 0034 em..Jun 13 2024.
4720: 2f20 7c20 5c20 2020 2020 2520 2e64 6425 / | \ %d.%d
4730: 252e 2064 7562 6c69 2064 7325 000a 0000 .%d build %s....
4740: 3220 3030 2036 202d 3032 3931 4320 706f 2006 - 2019 Cop
4750: 7279 6769 7468 6220 2079 7472 742d 7268 yright by rt-thr
4760: 6165 2064 6574 6d61 000a 0000 4e28 4c55 ead team....(NUL
4770: 294c 0000 L)..
00004774 <small_digits.2582>:
4774: 3130 3332 3534 3736 3938 6261 6463 6665 0123456789abcdef
4784: 0000 0000 6f74 6174 206c 656d 6f6d 7972 ....total memory
4794: 203a 6425 000a 0000 7375 6465 6d20 6d65 : %d....used mem
47a4: 726f 2079 203a 6425 000a 0000 616d 6978 ory : %d....maxi
47b4: 756d 206d 6c61 6f6c 6163 6574 2064 656d mum allocated me
47c4: 6f6d 7972 203a 6425 000a 0000 mory: %d....
000047d0 <__fsym_list_mem_desc>:
47d0: 696c 7473 6d20 6d65 726f 2079 7375 6761 list memory usag
47e0: 2065 6e69 6f66 6d72 7461 6f69 006e 0000 e information...
000047f0 <__fsym_list_mem_name>:
47f0: 696c 7473 6d5f 6d65 0000 0000 6f74 6620 list_mem....to f
4800: 6572 2065 2061 6162 2064 6164 6174 6220 ree a bad data b
4810: 6f6c 6b63 0a3a 0000 656d 3a6d 3020 2578 lock:...mem: 0x%
4820: 3830 2c78 7520 6573 2064 6c66 6761 203a 08x, used flag:
4830: 6425 202c 616d 6967 2063 6f63 6564 203a %d, magic code:
4840: 7830 3025 7834 000a 6568 7061 0000 0000 0x%04x..heap....
4850: 656d 206d 6e69 7469 202c 7265 6f72 2072 mem init, error
4860: 6562 6967 206e 6461 7264 7365 2073 7830 begin address 0x
4870: 7825 202c 6e61 2064 6e65 2064 6461 7264 %x, and end addr
4880: 7365 2073 7830 7825 000a 0000 5b1b 4a32 ess 0x%x.....[2J
4890: 5b1b 0048 2d2d 7546 636e 6974 6e6f 4c20 .[H.--Function L
48a0: 7369 3a74 000a 0000 5f5f 0000 2d25 3631 ist:....__..%-16
48b0: 2073 2d2d 2520 0a73 0000 0000 6564 6976 s -- %s.....devi
48c0: 6563 0000 2d25 2e2a 2073 2020 2020 2020 ce..%-*.s
48d0: 2020 7974 6570 2020 2020 2020 2020 7220 type r
48e0: 6665 6320 756f 746e 000a 0000 2d20 2d2d ef count.... ---
48f0: 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d ----------------
4900: 202d 2d2d 2d2d 2d2d 2d2d 2d2d 000a 0000 - ----------....
4910: 2d25 2e2a 732a 2520 322d 7330 2520 382d %-*.*s %-20s %-8
4920: 0a64 0000 7665 6e65 0074 0000 2d25 2e2a d...event...%-*.
4930: 2073 2020 2020 7320 7465 2020 2020 7573 s set su
4940: 7073 6e65 2064 6874 6572 6461 000a 0000 spend thread....
4950: 2020 2d2d 2d2d 2d2d 2d2d 2d2d 2d20 2d2d ---------- ---
4960: 2d2d 2d2d 2d2d 2d2d 2d2d 0a2d 0000 0000 -----------.....
4970: 2d25 2e2a 732a 2020 7830 3025 7838 2520 %-*.*s 0x%08x %
4980: 3330 3a64 0000 0000 2d25 2e2a 732a 2020 03d:....%-*.*s
4990: 7830 3025 7838 3020 000a 0000 616d 6c69 0x%08x 0....mail
49a0: 6f62 0078 2d25 2e2a 2073 6e65 7274 2079 box.%-*.s entry
49b0: 6973 657a 7320 7375 6570 646e 7420 7268 size suspend thr
49c0: 6165 0a64 0000 0000 2d20 2d2d 202d 2d20 ead..... ---- -
49d0: 2d2d 202d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d --- ------------
49e0: 2d2d 000a 2d25 2e2a 732a 2520 3430 2064 --..%-*.*s %04d
49f0: 2520 3430 2064 6425 003a 0000 2d25 2e2a %04d %d:...%-*.
4a00: 732a 2520 3430 2064 2520 3430 2064 6425 *s %04d %04d %d
4a10: 000a 0000 736d 7167 6575 6575 0000 0000 ....msgqueue....
4a20: 2d25 2e2a 2073 6e65 7274 2079 7573 7073 %-*.s entry susp
4a30: 6e65 2064 6874 6572 6461 000a 2d20 2d2d end thread.. ---
4a40: 202d 2d20 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d - -------------
4a50: 0a2d 0000 2d25 2e2a 732a 2520 3430 2064 -...%-*.*s %04d
4a60: 2520 3a64 0000 0000 2d25 2e2a 732a 2520 %d:....%-*.*s %
4a70: 3430 2064 2520 0a64 0000 0000 756d 6574 04d %d.....mute
4a80: 0078 0000 2d25 2e2a 2073 2020 776f 656e x...%-*.s owne
4a90: 2072 6820 6c6f 2064 7573 7073 6e65 2064 r hold suspend
4aa0: 6874 6572 6461 000a 2d20 2d2d 2d2d 2d2d thread.. -------
4ab0: 202d 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d - ---- ---------
4ac0: 2d2d 2d2d 0a2d 0000 2d25 2e2a 732a 2520 -----...%-*.*s %
4ad0: 382d 2a2e 2073 3025 6434 2520 0a64 0000 -8.*s %04d %d...
4ae0: 6573 616d 6870 726f 0065 0000 2d25 2e2a semaphore...%-*.
4af0: 2073 2076 2020 7573 7073 6e65 2064 6874 s v suspend th
4b00: 6572 6461 000a 0000 2d20 2d2d 2d20 2d2d read.... --- ---
4b10: 2d2d 2d2d 2d2d 2d2d 2d2d 0a2d 0000 0000 -----------.....
4b20: 2d25 2e2a 732a 2520 3330 2064 6425 003a %-*.*s %03d %d:.
4b30: 2d25 2e2a 732a 2520 3330 2064 6425 000a %-*.*s %03d %d..
4b40: 6874 6572 6461 0000 2d25 2e2a 2073 7270 thread..%-*.s pr
4b50: 2069 7320 6174 7574 2073 2020 2020 7320 i status s
4b60: 2070 2020 2020 7473 6361 206b 6973 657a p stack size
4b70: 6d20 7861 7520 6573 2064 656c 7466 7420 max used left t
4b80: 6369 206b 6520 7272 726f 000a 2d20 2d2d ick error.. ---
4b90: 2020 2d2d 2d2d 2d2d 202d 2d2d 2d2d 2d2d ------- ------
4ba0: 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d 202d ---- ----------
4bb0: 2d20 2d2d 2d2d 202d 2d20 2d2d 2d2d 2d2d ------ -------
4bc0: 2d2d 202d 2d2d 0a2d 0000 0000 2d25 2e2a --- ---.....%-*.
4bd0: 732a 2520 6433 0020 7220 6165 7964 2020 *s %3d . ready
4be0: 0000 0000 7320 7375 6570 646e 0000 0000 .... suspend....
4bf0: 6920 696e 2074 2020 0000 0000 6320 6f6c init .... clo
4c00: 6573 2020 0000 0000 3020 2578 3830 2078 se .... 0x%08x
4c10: 7830 3025 7838 2020 2020 3025 6432 2525 0x%08x %02d%%
4c20: 2020 3020 2578 3830 2078 3025 6433 000a 0x%08x %03d..
4c30: 6974 656d 0072 0000 2d25 2e2a 2073 7020 timer...%-*.s p
4c40: 7265 6f69 6964 2063 2020 6974 656d 756f eriodic timeou
4c50: 2074 2020 2020 2020 6c66 6761 000a 0000 t flag....
4c60: 2d20 2d2d 2d2d 2d2d 2d2d 202d 2d2d 2d2d ---------- ----
4c70: 2d2d 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d ------ ---------
4c80: 2d2d 000a 2d25 2e2a 732a 3020 2578 3830 --..%-*.*s 0x%08
4c90: 2078 7830 3025 7838 0020 0000 6361 6974 x 0x%08x ...acti
4ca0: 6176 6574 0a64 0000 6564 6361 6974 6176 vated...deactiva
4cb0: 6574 0a64 0000 0000 7563 7272 6e65 2074 ted.....current
4cc0: 6974 6b63 303a 2578 3830 0a78 0000 0000 tick:0x%08x.....
00004cd0 <__fsym_list_desc>:
4cd0: 696c 7473 6120 6c6c 7320 6d79 6f62 206c list all symbol
4ce0: 6e69 7320 7379 6574 006d 0000 in system...
00004cec <__fsym_list_name>:
4cec: 696c 7473 0000 0000 list....
00004cf4 <__fsym___cmd_list_device_desc>:
4cf4: 696c 7473 6420 7665 6369 2065 6e69 7320 list device in s
4d04: 7379 6574 006d 0000 ystem...
00004d0c <__fsym___cmd_list_device_name>:
4d0c: 5f5f 6d63 5f64 696c 7473 645f 7665 6369 __cmd_list_devic
4d1c: 0065 0000 e...
00004d20 <__fsym_list_device_desc>:
4d20: 696c 7473 6420 7665 6369 2065 6e69 7320 list device in s
4d30: 7379 6574 006d 0000 ystem...
00004d38 <__fsym_list_device_name>:
4d38: 696c 7473 645f 7665 6369 0065 list_device.
00004d44 <__fsym___cmd_list_timer_desc>:
4d44: 696c 7473 7420 6d69 7265 6920 206e 7973 list timer in sy
4d54: 7473 6d65 0000 0000 stem....
00004d5c <__fsym___cmd_list_timer_name>:
4d5c: 5f5f 6d63 5f64 696c 7473 745f 6d69 7265 __cmd_list_timer
4d6c: 0000 0000 ....
00004d70 <__fsym_list_timer_desc>:
4d70: 696c 7473 7420 6d69 7265 6920 206e 7973 list timer in sy
4d80: 7473 6d65 0000 0000 stem....
00004d88 <__fsym_list_timer_name>:
4d88: 696c 7473 745f 6d69 7265 0000 list_timer..
00004d94 <__fsym___cmd_list_msgqueue_desc>:
4d94: 696c 7473 6d20 7365 6173 6567 7120 6575 list message que
4da4: 6575 6920 206e 7973 7473 6d65 0000 0000 ue in system....
00004db4 <__fsym___cmd_list_msgqueue_name>:
4db4: 5f5f 6d63 5f64 696c 7473 6d5f 6773 7571 __cmd_list_msgqu
4dc4: 7565 0065 eue.
00004dc8 <__fsym_list_msgqueue_desc>:
4dc8: 696c 7473 6d20 7365 6173 6567 7120 6575 list message que
4dd8: 6575 6920 206e 7973 7473 6d65 0000 0000 ue in system....
00004de8 <__fsym_list_msgqueue_name>:
4de8: 696c 7473 6d5f 6773 7571 7565 0065 0000 list_msgqueue...
00004df8 <__fsym___cmd_list_mailbox_desc>:
4df8: 696c 7473 6d20 6961 206c 6f62 2078 6e69 list mail box in
4e08: 7320 7379 6574 006d system.
00004e10 <__fsym___cmd_list_mailbox_name>:
4e10: 5f5f 6d63 5f64 696c 7473 6d5f 6961 626c __cmd_list_mailb
4e20: 786f 0000 ox..
00004e24 <__fsym_list_mailbox_desc>:
4e24: 696c 7473 6d20 6961 206c 6f62 2078 6e69 list mail box in
4e34: 7320 7379 6574 006d system.
00004e3c <__fsym_list_mailbox_name>:
4e3c: 696c 7473 6d5f 6961 626c 786f 0000 0000 list_mailbox....
00004e4c <__fsym___cmd_list_mutex_desc>:
4e4c: 696c 7473 6d20 7475 7865 6920 206e 7973 list mutex in sy
4e5c: 7473 6d65 0000 0000 stem....
00004e64 <__fsym___cmd_list_mutex_name>:
4e64: 5f5f 6d63 5f64 696c 7473 6d5f 7475 7865 __cmd_list_mutex
4e74: 0000 0000 ....
00004e78 <__fsym_list_mutex_desc>:
4e78: 696c 7473 6d20 7475 7865 6920 206e 7973 list mutex in sy
4e88: 7473 6d65 0000 0000 stem....
00004e90 <__fsym_list_mutex_name>:
4e90: 696c 7473 6d5f 7475 7865 0000 list_mutex..
00004e9c <__fsym___cmd_list_event_desc>:
4e9c: 696c 7473 6520 6576 746e 6920 206e 7973 list event in sy
4eac: 7473 6d65 0000 0000 stem....
00004eb4 <__fsym___cmd_list_event_name>:
4eb4: 5f5f 6d63 5f64 696c 7473 655f 6576 746e __cmd_list_event
4ec4: 0000 0000 ....
00004ec8 <__fsym_list_event_desc>:
4ec8: 696c 7473 6520 6576 746e 6920 206e 7973 list event in sy
4ed8: 7473 6d65 0000 0000 stem....
00004ee0 <__fsym_list_event_name>:
4ee0: 696c 7473 655f 6576 746e 0000 list_event..
00004eec <__fsym___cmd_list_sem_desc>:
4eec: 696c 7473 7320 6d65 7061 6f68 6572 6920 list semaphore i
4efc: 206e 7973 7473 6d65 0000 0000 n system....
00004f08 <__fsym___cmd_list_sem_name>:
4f08: 5f5f 6d63 5f64 696c 7473 735f 6d65 0000 __cmd_list_sem..
00004f18 <__fsym_list_sem_desc>:
4f18: 696c 7473 7320 6d65 7061 6f68 656e 6920 list semaphone i
4f28: 206e 7973 7473 6d65 0000 0000 n system....
00004f34 <__fsym_list_sem_name>:
4f34: 696c 7473 735f 6d65 0000 0000 list_sem....
00004f40 <__fsym___cmd_list_thread_desc>:
4f40: 696c 7473 7420 7268 6165 0064 list thread.
00004f4c <__fsym___cmd_list_thread_name>:
4f4c: 5f5f 6d63 5f64 696c 7473 745f 7268 6165 __cmd_list_threa
4f5c: 0064 0000 d...
00004f60 <__fsym_list_thread_desc>:
4f60: 696c 7473 7420 7268 6165 0064 list thread.
00004f6c <__fsym_list_thread_name>:
4f6c: 696c 7473 745f 7268 6165 0064 list_thread.
00004f78 <__fsym___cmd_clear_desc>:
4f78: 6874 2065 6574 6d72 6e69 6c61 7320 7263 the terminal scr
4f88: 6565 006e een.
00004f8c <__fsym___cmd_clear_name>:
4f8c: 5f5f 6d63 5f64 6c63 6165 0072 __cmd_clear.
00004f98 <__fsym_clear_desc>:
4f98: 6874 2065 6574 6d72 6e69 6c61 7320 7263 the terminal scr
4fa8: 6565 006e een.
00004fac <__fsym_clear_name>:
4fac: 6c63 6165 0072 0000 clear...
00004fb4 <__fsym___cmd_reboot_desc>:
4fb4: 6572 6f62 746f 7420 6568 6220 616f 6472 reboot the board
4fc4: 0000 0000 ....
00004fc8 <__fsym___cmd_reboot_name>:
4fc8: 5f5f 6d63 5f64 6572 6f62 746f 0000 0000 __cmd_reboot....
00004fd8 <__fsym_reboot_desc>:
4fd8: 6572 6f62 746f 7420 6568 6220 616f 6472 reboot the board
4fe8: 0000 0000 ....
00004fec <__fsym_reboot_name>:
4fec: 6572 6f62 746f 0000 002d 0000 7325 0000 reboot..-...%s..
4ffc: 002f 0000 6843 7261 6361 6574 2072 6544 /...Character De
500c: 6976 6563 0000 0000 6c42 636f 206b 6544 vice....Block De
501c: 6976 6563 0000 0000 654e 7774 726f 206b vice....Network
502c: 6e49 6574 6672 6361 0065 0000 544d 2044 Interface...MTD
503c: 6544 6976 6563 0000 4143 204e 6544 6976 Device..CAN Devi
504c: 6563 0000 5452 0043 6f53 6e75 2064 6544 ce..RTC.Sound De
505c: 6976 6563 0000 0000 7247 7061 6968 2063 vice....Graphic
506c: 6544 6976 6563 0000 3249 2043 7542 0073 Device..I2C Bus.
507c: 5355 2042 6c53 7661 2065 6544 6976 6563 USB Slave Device
508c: 0000 0000 5355 2042 6f48 7473 4220 7375 ....USB Host Bus
509c: 0000 0000 5053 2049 7542 0073 5053 2049 ....SPI Bus.SPI
50ac: 6544 6976 6563 0000 4453 4f49 4220 7375 Device..SDIO Bus
50bc: 0000 0000 4d50 5020 6573 6475 206f 6544 ....PM Pseudo De
50cc: 6976 6563 0000 0000 6950 6570 0000 0000 vice....Pipe....
50dc: 6f50 7472 6c61 4420 7665 6369 0065 0000 Portal Device...
50ec: 6954 656d 2072 6544 6976 6563 0000 0000 Timer Device....
50fc: 694d 6373 6c65 616c 656e 756f 2073 6544 Miscellaneous De
510c: 6976 6563 0000 0000 6e55 6e6b 776f 006e vice....Unknown.
511c: 6f54 206f 616d 796e 6120 6772 2073 2021 Too many args !
512c: 6557 6f20 6c6e 2079 7355 3a65 000a 0000 We only Use:....
513c: 7325 0020 7325 203a 6f63 6d6d 6e61 2064 %s .%s: command
514c: 6f6e 2074 6f66 6e75 2e64 000a 5452 542d not found...RT-T
515c: 7268 6165 2064 6873 6c65 206c 6f63 6d6d hread shell comm
516c: 6e61 7364 0a3a 0000 5f5f 6d63 5f64 0000 ands:...__cmd_..
517c: 2d25 3631 2073 202d 7325 000a %-16s - %s..
00005188 <__fsym___cmd_help_desc>:
5188: 5452 542d 7268 6165 2064 6873 6c65 206c RT-Thread shell
5198: 6568 706c 0000 0000 help....
000051a0 <__fsym___cmd_help_name>:
51a0: 5f5f 6d63 5f64 6568 706c 0000 __cmd_help..
000051ac <__fsym___cmd_free_desc>:
51ac: 6853 776f 7420 6568 6d20 6d65 726f 2079 Show the memory
51bc: 7375 6761 2065 6e69 7420 6568 7320 7379 usage in the sys
51cc: 6574 006d tem.
000051d0 <__fsym___cmd_free_name>:
51d0: 5f5f 6d63 5f64 7266 6565 0000 __cmd_free..
000051dc <__fsym___cmd_ps_desc>:
51dc: 694c 7473 7420 7268 6165 7364 6920 206e List threads in
51ec: 6874 2065 7973 7473 6d65 0000 the system..
000051f8 <__fsym___cmd_ps_name>:
51f8: 5f5f 6d63 5f64 7370 0000 0000 736d 2068 __cmd_ps....msh
5208: 0000 0000 6966 736e 2068 0000 003e 0000 ....finsh ..>...
5218: 6966 736e 3a68 6320 6e61 6e20 746f 6620 finsh: can not f
5228: 6e69 2064 6564 6976 6563 203a 7325 000a ind device: %s..
5238: 6f6e 6d20 6d65 726f 2079 6f66 2072 6873 no memory for sh
5248: 6c65 0a6c 0000 0000 7374 6568 6c6c 0000 ell.....tshell..
5258: 6873 7872 0000 0000 0008 0000 6325 0000 shrx........%c..
5268: 2508 2073 0820 0000 2008 0008 5b1b 4b32 .%s .... ...[2K
5278: 000d 0000 7325 7325 0000 0000 ....%s%s....
00005284 <__fsym_pinRead_desc>:
5284: 6572 6461 7320 6174 7574 2073 7266 6d6f read status from
5294: 6820 7261 7764 7261 2065 6970 006e 0000 hardware pin...
000052a4 <__fsym_pinRead_name>:
52a4: 6970 526e 6165 0064 pinRead.
000052ac <__fsym_pinWrite_desc>:
52ac: 7277 7469 2065 6176 756c 2065 6f74 6820 write value to h
52bc: 7261 7764 7261 2065 6970 006e ardware pin.
000052c8 <__fsym_pinWrite_name>:
52c8: 6970 576e 6972 6574 0000 0000 pinWrite....
000052d4 <__fsym_pinMode_desc>:
52d4: 6573 2074 6168 6472 6177 6572 7020 6e69 set hardware pin
52e4: 6d20 646f 0065 0000 mode...
000052ec <__fsym_pinMode_name>:
52ec: 6970 4d6e 646f 0065 6175 7472 0031 0000 pinMode.uart1...
000052fc <_ch32_pin_ops>:
52fc: 3098 0000 3058 0000 307a 0000 3116 0000 .0..X0..z0...1..
530c: 31a8 0000 3202 0000 .1...2..
00005314 <pin_irq_map>:
5314: 0001 0000 0016 0000 0002 0000 0017 0000 ................
5324: 0004 0000 0018 0000 0008 0000 0019 0000 ................
5334: 0010 0000 001a 0000 0020 0000 0027 0000 ........ ...'...
5344: 0040 0000 0027 0000 0080 0000 0027 0000 @...'.......'...
5354: 0100 0000 0027 0000 0200 0000 0027 0000 ....'.......'...
5364: 0400 0000 0038 0000 0800 0000 0038 0000 ....8.......8...
5374: 1000 0000 0038 0000 2000 0000 0038 0000 ....8.... ..8...
5384: 4000 0000 0038 0000 8000 0000 0038 0000 .@..8.......8...
00005394 <pins>:
5394: ffff ffff 0000 0000 0000 0000 0000 0000 ................
53a4: 0001 0000 300a 0000 1800 4001 0004 0000 .....0.....@....
53b4: 0002 0000 300a 0000 1800 4001 0008 0000 .....0.....@....
53c4: 0003 0000 300a 0000 1800 4001 0010 0000 .....0.....@....
53d4: 0004 0000 300a 0000 1800 4001 0020 0000 .....0.....@ ...
53e4: 0005 0000 300a 0000 1800 4001 0040 0000 .....0.....@@...
53f4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5404: 0007 0000 2ffa 0000 1000 4001 2000 0000 ...../.....@. ..
5414: 0008 0000 2ffa 0000 1000 4001 4000 0000 ...../.....@.@..
5424: 0009 0000 2ffa 0000 1000 4001 8000 0000 ...../.....@....
5434: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5444: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5454: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5464: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5474: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5484: 000f 0000 2ffa 0000 1000 4001 0001 0000 ...../.....@....
5494: 0010 0000 2ffa 0000 1000 4001 0002 0000 ...../.....@....
54a4: 0011 0000 2ffa 0000 1000 4001 0004 0000 ...../.....@....
54b4: 0012 0000 2ffa 0000 1000 4001 0008 0000 ...../.....@....
54c4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
54d4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
54e4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
54f4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5504: 0017 0000 2fea 0000 0800 4001 0001 0000 ...../.....@....
5514: 0018 0000 2fea 0000 0800 4001 0002 0000 ...../.....@....
5524: 0019 0000 2fea 0000 0800 4001 0004 0000 ...../.....@....
5534: 001a 0000 2fea 0000 0800 4001 0008 0000 ...../.....@....
5544: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5554: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5564: 001d 0000 2fea 0000 0800 4001 0010 0000 ...../.....@....
5574: 001e 0000 2fea 0000 0800 4001 0020 0000 ...../.....@ ...
5584: 001f 0000 2fea 0000 0800 4001 0040 0000 ...../.....@@...
5594: 0020 0000 2fea 0000 0800 4001 0080 0000 ..../.....@....
55a4: 0021 0000 2ffa 0000 1000 4001 0010 0000 !..../.....@....
55b4: 0022 0000 2ffa 0000 1000 4001 0020 0000 "..../.....@ ...
55c4: 0023 0000 2fda 0000 0c00 4001 0001 0000 #..../.....@....
55d4: 0024 0000 2fda 0000 0c00 4001 0002 0000 $..../.....@....
55e4: 0025 0000 2fda 0000 0c00 4001 0004 0000 %..../.....@....
55f4: 0026 0000 300a 0000 1800 4001 0080 0000 &....0.....@....
5604: 0027 0000 300a 0000 1800 4001 0100 0000 '....0.....@....
5614: 0028 0000 300a 0000 1800 4001 0200 0000 (....0.....@....
5624: 0029 0000 300a 0000 1800 4001 0400 0000 )....0.....@....
5634: 002a 0000 300a 0000 1800 4001 0800 0000 *....0.....@....
5644: 002b 0000 300a 0000 1800 4001 1000 0000 +....0.....@....
5654: 002c 0000 300a 0000 1800 4001 2000 0000 ,....0.....@. ..
5664: 002d 0000 300a 0000 1800 4001 4000 0000 -....0.....@.@..
5674: 002e 0000 300a 0000 1800 4001 8000 0000 .....0.....@....
5684: 002f 0000 2fda 0000 0c00 4001 0400 0000 /..../.....@....
5694: 0030 0000 2fda 0000 0c00 4001 0800 0000 0..../.....@....
56a4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
56b4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
56c4: 0033 0000 2fda 0000 0c00 4001 1000 0000 3..../.....@....
56d4: 0034 0000 2fda 0000 0c00 4001 2000 0000 4..../.....@. ..
56e4: 0035 0000 2fda 0000 0c00 4001 4000 0000 5..../.....@.@..
56f4: 0036 0000 2fda 0000 0c00 4001 8000 0000 6..../.....@....
5704: 0037 0000 2fc8 0000 1400 4001 0100 0000 7..../.....@....
5714: 0038 0000 2fc8 0000 1400 4001 0200 0000 8..../.....@....
5724: 0039 0000 2fc8 0000 1400 4001 0400 0000 9..../.....@....
5734: 003a 0000 2fc8 0000 1400 4001 0800 0000 :..../.....@....
5744: 003b 0000 2fc8 0000 1400 4001 1000 0000 ;..../.....@....
5754: 003c 0000 2fc8 0000 1400 4001 2000 0000 <..../.....@. ..
5764: 003d 0000 2fc8 0000 1400 4001 4000 0000 =..../.....@.@..
5774: 003e 0000 2fc8 0000 1400 4001 8000 0000 >..../.....@....
5784: 003f 0000 2ffa 0000 1000 4001 0040 0000 ?..../.....@@...
5794: 0040 0000 2ffa 0000 1000 4001 0080 0000 @..../.....@....
57a4: 0041 0000 2ffa 0000 1000 4001 0100 0000 A..../.....@....
57b4: 0042 0000 2ffa 0000 1000 4001 0200 0000 B..../.....@....
57c4: 0043 0000 2fea 0000 0800 4001 0100 0000 C..../.....@....
57d4: 0044 0000 2fea 0000 0800 4001 0200 0000 D..../.....@....
57e4: 0045 0000 2fea 0000 0800 4001 0400 0000 E..../.....@....
57f4: 0046 0000 2fea 0000 0800 4001 0800 0000 F..../.....@....
5804: 0047 0000 2fea 0000 0800 4001 1000 0000 G..../.....@....
5814: 0048 0000 2fea 0000 0800 4001 2000 0000 H..../.....@. ..
5824: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5834: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5844: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5854: 004c 0000 2fea 0000 0800 4001 4000 0000 L..../.....@.@..
5864: 004d 0000 2fea 0000 0800 4001 8000 0000 M..../.....@....
5874: 004e 0000 2ffa 0000 1000 4001 0400 0000 N..../.....@....
5884: 004f 0000 2ffa 0000 1000 4001 0800 0000 O..../.....@....
5894: 0050 0000 2ffa 0000 1000 4001 1000 0000 P..../.....@....
58a4: 0051 0000 2fc8 0000 1400 4001 0001 0000 Q..../.....@....
58b4: 0052 0000 2fc8 0000 1400 4001 0002 0000 R..../.....@....
58c4: 0053 0000 2fc8 0000 1400 4001 0004 0000 S..../.....@....
58d4: 0054 0000 2fc8 0000 1400 4001 0008 0000 T..../.....@....
58e4: 0055 0000 2fc8 0000 1400 4001 0010 0000 U..../.....@....
58f4: 0056 0000 2fc8 0000 1400 4001 0020 0000 V..../.....@ ...
5904: 0057 0000 2fc8 0000 1400 4001 0040 0000 W..../.....@@...
5914: 0058 0000 2fc8 0000 1400 4001 0080 0000 X..../.....@....
5924: 0059 0000 2fda 0000 0c00 4001 0008 0000 Y..../.....@....
5934: 005a 0000 2fda 0000 0c00 4001 0010 0000 Z..../.....@....
5944: 005b 0000 2fda 0000 0c00 4001 0020 0000 [..../.....@ ...
5954: 005c 0000 2fda 0000 0c00 4001 0040 0000 \..../.....@@...
5964: 005d 0000 2fda 0000 0c00 4001 0080 0000 ]..../.....@....
5974: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5984: 005f 0000 2fda 0000 0c00 4001 0100 0000 _..../.....@....
5994: 0060 0000 2fda 0000 0c00 4001 0200 0000 `..../.....@....
59a4: 0061 0000 300a 0000 1800 4001 0001 0000 a....0.....@....
59b4: 0062 0000 300a 0000 1800 4001 0002 0000 b....0.....@....
59c4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
59d4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
59e4: 6970 006e pin.
000059e8 <ch32_uart_ops>:
59e8: 3546 0000 3714 0000 36f2 0000 36d0 0000 F5...7...6...6..
59f8: 3542 0000 6820 7261 6664 6c75 0d74 000a B5.. hardfult...
5a08: 4e20 494d 4820 6e61 6c64 7265 0a0d 0000 NMI Handler....
5a18: 0a0d 4d20 5543 203a 4843 3233 3356 3330 .. MCU: CH32V303
5a28: 0a0d 0000 5320 7379 6c43 3a6b 2520 4864 .... SysClk: %dH
5a38: 0d7a 000a 4320 6968 4970 3a44 2520 3830 z... ChipID: %08
5a48: 0d78 000a 7720 7777 772e 6863 632e 0d6e x... www.wch.cn.
5a58: 000a 0000 656c 0064 5355 5241 5f54 6252 ....led.USART_Rb
5a68: 6675 6566 5f72 754e 206d 203d 6425 0a20 uffer_Num = %d .
5a78: 0000 0000 ....
00005a7c <__fsym_list_mem>:
5a7c: 47f0 0000 47d0 0000 10fa 0000 .G...G......
00005a88 <__fsym_list>:
5a88: 4cec 0000 4cd0 0000 21ec 0000 .L...L...!..
00005a94 <__fsym___cmd_list_device>:
5a94: 4d0c 0000 4cf4 0000 20be 0000 .M...L... ..
00005aa0 <__fsym_list_device>:
5aa0: 4d38 0000 4d20 0000 20be 0000 8M.. M... ..
00005aac <__fsym___cmd_list_timer>:
5aac: 4d5c 0000 4d44 0000 2152 0000 \M..DM..R!..
00005ab8 <__fsym_list_timer>:
5ab8: 4d88 0000 4d70 0000 2152 0000 .M..pM..R!..
00005ac4 <__fsym___cmd_list_msgqueue>:
5ac4: 4db4 0000 4d94 0000 2008 0000 .M...M... ..
00005ad0 <__fsym_list_msgqueue>:
5ad0: 4de8 0000 4dc8 0000 2008 0000 .M...M... ..
00005adc <__fsym___cmd_list_mailbox>:
5adc: 4e10 0000 4df8 0000 1f4a 0000 .N...M..J...
00005ae8 <__fsym_list_mailbox>:
5ae8: 4e3c 0000 4e24 0000 1f4a 0000 <N..$N..J...
00005af4 <__fsym___cmd_list_mutex>:
5af4: 4e64 0000 4e4c 0000 1ec8 0000 dN..LN......
00005b00 <__fsym_list_mutex>:
5b00: 4e90 0000 4e78 0000 1ec8 0000 .N..xN......
00005b0c <__fsym___cmd_list_event>:
5b0c: 4eb4 0000 4e9c 0000 1e1c 0000 .N...N......
00005b18 <__fsym_list_event>:
5b18: 4ee0 0000 4ec8 0000 1e1c 0000 .N...N......
00005b24 <__fsym___cmd_list_sem>:
5b24: 4f08 0000 4eec 0000 1d66 0000 .O...N..f...
00005b30 <__fsym_list_sem>:
5b30: 4f34 0000 4f18 0000 1d66 0000 4O...O..f...
00005b3c <__fsym___cmd_list_thread>:
5b3c: 4f4c 0000 4f40 0000 1c84 0000 LO..@O......
00005b48 <__fsym_list_thread>:
5b48: 4f6c 0000 4f60 0000 1c84 0000 lO..`O......
00005b54 <__fsym___cmd_clear>:
5b54: 4f8c 0000 4f78 0000 1bda 0000 .O..xO......
00005b60 <__fsym_clear>:
5b60: 4fac 0000 4f98 0000 1bda 0000 .O...O......
00005b6c <__fsym___cmd_reboot>:
5b6c: 4fc8 0000 4fb4 0000 1bc8 0000 .O...O......
00005b78 <__fsym_reboot>:
5b78: 4fec 0000 4fd8 0000 1bc8 0000 .O...O......
00005b84 <__fsym___cmd_help>:
5b84: 51a0 0000 5188 0000 2236 0000 .Q...Q..6"..
00005b90 <__fsym___cmd_free>:
5b90: 51d0 0000 51ac 0000 24ec 0000 .Q...Q...$..
00005b9c <__fsym___cmd_ps>:
5b9c: 51f8 0000 51dc 0000 24de 0000 .Q...Q...$..
00005ba8 <__fsym_pinRead>:
5ba8: 52a4 0000 5284 0000 2e3c 0000 .R...R..<...
00005bb4 <__fsym_pinWrite>:
5bb4: 52c8 0000 52ac 0000 2e22 0000 .R...R.."...
00005bc0 <__fsym_pinMode>:
5bc0: 52ec 0000 52d4 0000 2e08 0000 .R...R......
00005bcc <__rt_init_rti_start>:
5bcc: 04d0 0000 ....
00005bd0 <__rt_init_rti_board_start>:
5bd0: 04d8 0000 ....
00005bd4 <__rt_init_rt_hw_pin_init>:
5bd4: 301c 0000 .0..
00005bd8 <__rt_init_rt_hw_usart_init>:
5bd8: 3610 0000 .6..
00005bdc <__rt_init_rti_board_end>:
5bdc: 04dc 0000 ....
00005be0 <__rt_init_finsh_system_init>:
5be0: 250c 0000 .%..
00005be4 <__rt_init_rti_end>:
5be4: 04d4 0000 ....