gateway/obj/CH32V303_V0.1.lst

9046 lines
416 KiB
Plaintext

CH32V303_V0.1.elf: file format elf32-littleriscv
CH32V303_V0.1.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 0x00006774 memsz 0x00006774 flags r-x
LOAD off 0x00008000 vaddr 0x20000000 paddr 0x00006774 align 2**12
filesz 0x00000250 memsz 0x00001b60 flags rw-
LOAD off 0x00008800 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 000065b4 000001c0 000001c0 000011c0 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
3 .fini 00000000 00006774 00006774 00008250 2**0
CONTENTS, ALLOC, LOAD, CODE
4 .dalign 00000000 20000000 20000000 00008250 2**0
CONTENTS
5 .dlalign 00000000 00006774 00006774 00008250 2**0
CONTENTS
6 .data 00000250 20000000 00006774 00008000 2**2
CONTENTS, ALLOC, LOAD, DATA
7 .bss 00001910 20000250 000069c4 00008250 2**2
ALLOC
8 .stack 00000800 2000f800 2000f800 00008800 2**0
ALLOC
9 .debug_info 0002de95 00000000 00000000 00008250 2**0
CONTENTS, READONLY, DEBUGGING
10 .debug_abbrev 000088d0 00000000 00000000 000360e5 2**0
CONTENTS, READONLY, DEBUGGING
11 .debug_loc 0000ab6b 00000000 00000000 0003e9b5 2**0
CONTENTS, READONLY, DEBUGGING
12 .debug_aranges 00001318 00000000 00000000 00049520 2**3
CONTENTS, READONLY, DEBUGGING
13 .debug_ranges 000019b8 00000000 00000000 0004a838 2**3
CONTENTS, READONLY, DEBUGGING
14 .debug_line 0001b133 00000000 00000000 0004c1f0 2**0
CONTENTS, READONLY, DEBUGGING
15 .debug_str 00005795 00000000 00000000 00067323 2**0
CONTENTS, READONLY, DEBUGGING
16 .comment 00000033 00000000 00000000 0006cab8 2**0
CONTENTS, READONLY
17 .debug_frame 000033a0 00000000 00000000 0006caec 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
00006774 l d .fini 00000000 .fini
20000000 l d .dalign 00000000 .dalign
00006774 l d .dlalign 00000000 .dlalign
20000000 l d .data 00000000 .data
20000250 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
20000250 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
00000768 l F .text 0000001c rt_thread_idle_entry
20000324 l O .bss 00000080 idle
200003a4 l O .bss 00000010 idle_hook_list
200003b4 l O .bss 00000200 rt_thread_stack
00000000 l df *ABS* 00000000 ipc.c
000007ba l F .text 0000002a rt_ipc_list_resume_all
000007e4 l F .text 0000005a rt_ipc_list_suspend
00000000 l df *ABS* 00000000 irq.c
20000254 l O .bss 00000004 rt_interrupt_enter_hook
20000258 l O .bss 00000004 rt_interrupt_leave_hook
00000000 l df *ABS* 00000000 kservice.c
00000bae l F .text 0000017e print_number
200005b4 l O .bss 00000080 rt_log_buf.2693
0000522c l O .text 00000011 large_digits.2583
000052d0 l O .text 00000011 small_digits.2582
20000260 l O .bss 00000004 __rt_errno
20000264 l O .bss 00000004 _console_device
00000000 l df *ABS* 00000000 mem.c
000013b0 l F .text 00000058 plug_holes
20000634 l O .bss 00000020 heap_sem
20000268 l O .bss 00000004 heap_end
2000026c l O .bss 00000004 heap_ptr
20000270 l O .bss 00000004 lfree
20000274 l O .bss 00000004 max_mem
20000278 l O .bss 00000004 mem_size_aligned
2000027c l O .bss 00000004 rt_free_hook
20000280 l O .bss 00000004 rt_malloc_hook
20000284 l O .bss 00000004 used_mem
00000000 l df *ABS* 00000000 object.c
20000000 l O .data 00000080 rt_object_container
20000288 l O .bss 00000004 rt_object_attach_hook
2000028c l O .bss 00000004 rt_object_detach_hook
00000000 l df *ABS* 00000000 scheduler.c
200002a4 l O .bss 00000004 rt_scheduler_hook
200002a8 l O .bss 00000002 rt_scheduler_lock_nest
00000000 l df *ABS* 00000000 thread.c
000019da l F .text 0000008e _rt_thread_init.isra.0
200002b8 l O .bss 00000004 rt_thread_inited_hook
200002bc l O .bss 00000004 rt_thread_resume_hook
200002c0 l O .bss 00000004 rt_thread_suspend_hook
00000000 l df *ABS* 00000000 timer.c
00001c6a l F .text 00000012 _rt_timer_remove.part.1
200002c4 l O .bss 00000004 random_nr.2483
200002c8 l O .bss 00000004 rt_timer_enter_hook
200002cc l O .bss 00000004 rt_timer_exit_hook
200002d0 l O .bss 00000008 rt_timer_list
00000000 l df *ABS* 00000000 cpuport.c
00000000 l df *ABS* 00000000 cmd.c
00001eca l F .text 00000012 rt_list_len
00001f04 l F .text 00000020 object_split
00001f24 l F .text 00000036 show_wait_queue
00001f5a 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
00002810 l F .text 00000012 finsh_rx_ind
000028f6 l F .text 0000002e shell_handle_history
200006d4 l O .bss 00000081 finsh_prompt.4315
00000000 l df *ABS* 00000000 serial.c
00002db2 l F .text 00000020 rt_serial_init
00002dd2 l F .text 00000042 rt_serial_write
00002e14 l F .text 0000009e rt_serial_open
00002eb2 l F .text 0000006e rt_serial_control
00002f20 l F .text 0000009e rt_serial_read
00002fbe l F .text 00000040 rt_serial_close
00000000 l df *ABS* 00000000 pin.c
00003102 l F .text 0000001c _pin_control
0000316a l F .text 0000002e _pin_read
00003198 l F .text 0000002c _pin_write
20000758 l O .bss 00000048 _hw_pin
00000000 l df *ABS* 00000000 board.c
200007a0 l O .bss 00001000 rt_heap
00000000 l df *ABS* 00000000 ring_queue.c
00000000 l df *ABS* 00000000 drv_gpio.c
00003334 l F .text 0000001c bit2bitno
00003350 l F .text 00000012 GPIOD_CLK_ENABLE
00003362 l F .text 00000010 GPIOB_CLK_ENABLE
00003372 l F .text 00000010 GPIOA_CLK_ENABLE
00003382 l F .text 00000010 GPIOC_CLK_ENABLE
00003392 l F .text 00000012 GPIOE_CLK_ENABLE
00005e58 l O .text 00000018 _ch32_pin_ops
00005e70 l O .text 00000080 pin_irq_map
00005ef0 l O .text 00000650 pins
00000000 l df *ABS* 00000000 drv_usart.c
000038ce l F .text 000000ce ch32_configure
00003a60 l F .text 00000022 ch32_getc
00003a82 l F .text 00000022 ch32_putc
00003aa4 l F .text 0000005c ch32_control
00006544 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 communication_protocol.c
00003eb8 l F .text 0000006a SL_MsgProcFunc_Registration_request
00003f22 l F .text 00000066 SL_MsgProcFunc_Read_Register
20001810 l O .bss 00000032 uart_buff
00000000 l df *ABS* 00000000 thread.c
000041a2 l F .text 00000022 Recv_thread_entry
000041c4 l F .text 00000036 Send_thread_entry
200002f8 l O .bss 00000004 Recv_thread
200002fc l O .bss 00000004 Send_thread
00000000 l df *ABS* 00000000 thread_communication.c
00000000 l df *ABS* 00000000 uart_dev.c
0000429a l F .text 00000022 uart_putchar
000042bc l F .text 000000a4 uart_init.constprop.0
20001860 l O .bss 00000080 J1RS485_in_buff
200018e0 l O .bss 00000080 J2RS485_in_buff
20001960 l O .bss 00000080 J3RS485_in_buff
200019e0 l O .bss 00000080 J4RS485_in_buff
20001a60 l O .bss 00000080 J50RS485_in_buff
20001ae0 l O .bss 00000080 LORA_in_buff
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
20000238 l O .data 00000010 APBAHBPrescTable
2000024c 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 J1_UART6.c
00000000 l df *ABS* 00000000 J2_UART7.c
00000000 l df *ABS* 00000000 J3_USART2.c
00000000 l df *ABS* 00000000 J4_UART8.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 inflash.c
00000000 l df *ABS* 00000000 symbol.c
0000375a g F .text 00000028 EXTI2_IRQHandler
00003e24 w .text 00000000 TIM8_TRG_COM_IRQHandler
000015e2 g F .text 00000024 rt_calloc
00003e24 w .text 00000000 TIM8_CC_IRQHandler
000066d4 g O .text 0000000c __fsym_list_thread
00000578 g F .text 0000000a entry
0000504a g F .text 00000010 strcpy
00001f98 g F .text 000000e4 list_thread
000029a2 g F .text 00000410 finsh_thread_entry
000017ee g F .text 00000008 rt_object_is_systemobject
00004c96 g F .text 00000012 J8_PWR_Open
00000eca g F .text 0000002c rt_strncpy
00001e42 g F .text 00000036 rt_hw_stack_init
00001be4 g F .text 0000000e rt_thread_mdelay
20000160 g O .data 00000016 g_slConfigInfo
00003e24 w .text 00000000 UART8_IRQHandler
000025a8 g F .text 000001aa msh_exec
00004360 g F .text 000000f4 uart_dev_init
00005998 g O .text 0000000d __fsym_list_mailbox_name
00001766 g F .text 00000056 rt_object_allocate
000009c0 g F .text 00000082 rt_mq_send
00006734 g O .text 0000000c __fsym_pinRead
0000512c g O .text 00000100 __lowest_bit_bitmap
00004d06 g F .text 00000012 J9_PWR_Close
20000a48 g .data 00000000 __global_pointer$
00001824 g F .text 0000002c rt_system_scheduler_start
0000037a g F .text 00000028 .hidden __riscv_save_8
00003e24 w .text 00000000 TIM1_CC_IRQHandler
200002dc g O .bss 00000004 rt_interrupt_to_thread
00003b6a g F .text 00000020 HardFault_Handler
00005a90 g O .text 00000009 __fsym_list_sem_name
000032d2 g F .text 0000002c InRingQueue
000003c6 g F .text 0000000c .hidden __riscv_restore_3
00003e24 w .text 00000000 TIM6_IRQHandler
00003fc6 g F .text 00000036 FRT_MsgHandler
000006ee g F .text 00000006 rt_device_set_rx_indicate
000032a2 g F .text 00000020 SysTick_Handler
000045ae g F .text 00000018 uart_dev_char_present
00001606 g F .text 000000aa rt_free
200002d8 g O .bss 00000004 rt_interrupt_from_thread
00004798 g F .text 0000004e NVIC_Init
0000143a g F .text 0000007c rt_system_heap_init
00003e24 w .text 00000000 PVD_IRQHandler
0000051c g F .text 0000000c main_thread_entry
00003e24 w .text 00000000 SDIO_IRQHandler
00003e24 w .text 00000000 TIM9_BRK_IRQHandler
00004aee g F .text 00000010 android_PowerCtrl_Open
00005b48 g O .text 00000007 __fsym_reboot_name
00001dbe g F .text 00000078 rt_timer_check
000003b2 g F .text 00000020 .hidden __riscv_restore_10
000018ba g F .text 00000048 rt_schedule_insert_thread
0000207c g F .text 000000b6 list_sem
00000600 g F .text 0000007a rt_device_open
00004494 g F .text 00000010 J3RS485_tx_enabla
00003e24 w .text 00000000 DMA2_Channel8_IRQHandler
00003b4a g F .text 00000020 NMI_Handler
00004cba g F .text 00000012 J9_PWR_Open
00003e24 w .text 00000000 CAN2_RX1_IRQHandler
00003782 g F .text 00000028 EXTI3_IRQHandler
0000037a g F .text 00000028 .hidden __riscv_save_11
000045fc g F .text 0000000a DBGMCU_GetCHIPID
00002502 g F .text 0000004a list
0000534c g O .text 00000009 __fsym_list_mem_name
200002f0 g O .bss 00000004 _sysvar_table_begin
000059c0 g O .text 00000011 __fsym___cmd_list_mutex_name
00006774 g .text 00000000 __rtmsymtab_start
00003e24 w .text 00000000 USBHS_IRQHandler
00004a84 g F .text 0000000a USART_GetFlagStatus
00003e24 w .text 00000000 DMA2_Channel9_IRQHandler
000006f4 g F .text 00000074 rt_thread_idle_excute
00001b5a g F .text 0000004a rt_thread_suspend
00003bec g F .text 00000010 app_star
000012bc g F .text 00000068 rt_kprintf
00003e24 w .text 00000000 TIM10_CC_IRQHandler
00000ba8 g F .text 00000006 rt_interrupt_get_nest
20000250 g .bss 00000000 _sbss
00000800 g *ABS* 00000000 __stack_size
000045ee g F .text 0000000e ring_queue_length
00001a68 g F .text 00000022 rt_thread_timeout
00005ae8 g O .text 0000000c __fsym___cmd_clear_name
00002802 g F .text 0000000e cmd_free
00003e24 w .text 00000000 USBFS_IRQHandler
00005a24 g O .text 00000015 __fsym_list_event_desc
0000665c g O .text 0000000c __fsym_list_msgqueue
00006758 g .text 00000000 __rt_init_start
00002260 g F .text 000000be list_mailbox
000003c6 g F .text 0000000c .hidden __riscv_restore_2
000044fc g F .text 000000b2 uart_dev_write
00005e30 g O .text 00000016 __fsym_pinMode_desc
00006758 g .text 00000000 __fsymtab_end
00003138 g F .text 0000001a rt_pin_write
00005ad4 g O .text 00000014 __fsym___cmd_clear_desc
000006b2 g F .text 0000001e rt_device_read
200002e4 g O .bss 00000004 shell
00004f7a g F .text 000000b2 memcpy
00004454 g F .text 00000010 J1RS485_tx_enabla
00002822 g F .text 00000098 finsh_system_init
000004fe g F .text 0000001e rt_components_init
0000370a g F .text 00000028 EXTI0_IRQHandler
00003e24 w .text 00000000 I2C2_EV_IRQHandler
00003e24 w .text 00000000 TIM10_TRG_COM_IRQHandler
00001c7c g F .text 0000003a rt_timer_init
00006774 g .text 00000000 __rt_init_end
00000784 g F .text 00000036 rt_thread_idle_init
00004ec8 g F .text 0000003a USART_CONNET_J7
20000248 g O .data 00000004 SystemCoreClock
000044d8 g F .text 00000012 J50RS485_tx_enabla
00000926 g F .text 0000001a rt_mq_delete
00004e8e g F .text 0000003a USART_CONNET_J6
0000668c g O .text 0000000c __fsym_list_mutex
00004a7c g F .text 00000008 USART_ReceiveData
200002ec g O .bss 00000004 _syscall_table_end
200017f8 g O .bss 00000018 uart1
000017f6 g F .text 0000002e rt_system_scheduler_init
00004276 g F .text 00000024 Send_mq_Init
00000582 g F .text 0000004a rt_device_find
000001c0 g .text 00000000 rt_hw_context_switch_to
00006760 g O .text 00000004 __rt_init_rt_hw_pin_init
00000004 g .init 00000000 _einit
200002e0 g O .bss 00000004 rt_thread_switch_interrupt_flag
0000495c g F .text 0000001e RCC_APB2PeriphClockCmd
00000372 g F .text 00000030 .hidden __riscv_save_12
00003e24 w .text 00000000 CAN2_SCE_IRQHandler
00003e24 w .text 00000000 ADC1_2_IRQHandler
00006770 g O .text 00000004 __rt_init_rti_end
00004c60 g F .text 00000012 J6_PWR_Close
00004698 g F .text 000000c0 GPIO_Init
00005a64 g O .text 0000000f __fsym___cmd_list_sem_name
00003e24 w .text 00000000 Break_Point_Handler
00004b48 g F .text 00000026 J2_485_Init
00006650 g O .text 0000000c __fsym___cmd_list_msgqueue
0000582c g O .text 0000001a __fsym_list_desc
000003b2 g F .text 00000020 .hidden __riscv_restore_11
2000031c g O .bss 00000004 NVIC_Priority_Group
00003e24 w .text 00000000 SPI1_IRQHandler
00002ffe g F .text 0000005a rt_hw_serial_register
00004a28 g F .text 00000016 USART_Cmd
00005848 g O .text 00000005 __fsym_list_name
00001ea8 g F .text 00000022 rt_hw_context_switch_interrupt
00005b24 g O .text 0000000d __fsym___cmd_reboot_name
00003e24 w .text 00000000 TAMPER_IRQHandler
000003a2 g F .text 0000000c .hidden __riscv_save_1
000003c6 g F .text 0000000c .hidden __riscv_restore_0
00005a9c g O .text 0000000c __fsym___cmd_list_thread_desc
00005b08 g O .text 00000006 __fsym_clear_name
00001ac2 g F .text 00000046 rt_thread_create
00004464 g F .text 00000010 J1RS485_tx_disenabla
00000388 g F .text 0000001a .hidden __riscv_save_7
00006774 g .text 00000000 __rtmsymtab_end
000058e4 g O .text 0000000b __fsym_list_timer_name
00004aca g F .text 00000014 USART_ClearITPendingBit
00003e24 w .text 00000000 CAN2_RX0_IRQHandler
00001b08 g F .text 00000052 rt_thread_yield
00003e24 w .text 00000000 TIM8_UP_IRQHandler
00000528 g F .text 00000028 rt_application_init
0000497a g F .text 0000001e RCC_APB1PeriphClockCmd
00003e24 w .text 00000000 Ecall_M_Mode_Handler
000014b6 g F .text 0000012c rt_malloc
2000f800 g .stack 00000000 _heap_end
000008e6 g F .text 00000040 rt_sem_release
000066bc g O .text 0000000c __fsym_list_sem
000003bc g F .text 00000016 .hidden __riscv_restore_5
00003218 w F .text 0000000a rt_heap_begin_get
00000940 g F .text 00000080 rt_mq_create
00003e24 w .text 00000000 DMA2_Channel2_IRQHandler
00006614 g O .text 0000000c __fsym_list
00003e24 w .text 00000000 DMA1_Channel4_IRQHandler
00001e78 g F .text 00000010 sw_setpend
20000080 g O .data 000000c0 pin_irq_hdr_tab
00005aa8 g O .text 00000012 __fsym___cmd_list_thread_name
00005e48 g O .text 00000008 __fsym_pinMode_name
000032c2 g F .text 00000010 InitRingQueue
000066f8 g O .text 0000000c __fsym___cmd_reboot
000044c6 g F .text 00000012 J4RS485_tx_disenabla
00005980 g O .text 00000018 __fsym_list_mailbox_desc
00001cb6 g F .text 0000001e rt_timer_detach
00003324 g F .text 00000010 RingQueueLength
00003f88 g F .text 0000003e CheckFunc
00003e24 w .text 00000000 TIM9_UP_IRQHandler
000025a4 g F .text 00000004 msh_is_used
000003bc g F .text 00000016 .hidden __riscv_restore_6
00004b6e g F .text 00000012 J3_PWR_Open
00004be2 g F .text 00000048 USART3_IRQHandler
0000468e g F .text 0000000a EXTI_ClearITPendingBit
000004e0 g F .text 0000001e rt_components_board_init
00003e24 w .text 00000000 RTC_IRQHandler
00005b34 g O .text 00000011 __fsym_reboot_desc
00001324 g F .text 0000003e rt_show_version
20001b60 g .bss 00000000 _ebss
00004a8e g F .text 0000003c USART_GetITStatus
00006758 g O .text 00000004 __rt_init_rti_start
00003e24 w .text 00000000 DMA1_Channel7_IRQHandler
20000320 g O .bss 00000001 USART3_Rbuffer
0000322c g F .text 00000076 rt_hw_board_init
000031c4 g F .text 00000054 rt_device_pin_register
000066e0 g O .text 0000000c __fsym___cmd_clear
00003e24 w .text 00000000 CAN1_RX1_IRQHandler
00001bf2 g F .text 0000004c rt_thread_resume
00004c4e g F .text 00000012 J6_PWR_Open
00000550 g F .text 00000028 rtthread_startup
00003530 g F .text 0000005a ch32_pin_dettach_irq
00003e24 w .text 00000000 DVP_IRQHandler
00003e24 w .text 00000000 UART5_IRQHandler
00004d18 g F .text 0000003a USART_CONNET_J0
000032fe g F .text 00000026 OutRingQueue
00004c3c g F .text 00000012 J5_PWR_Close
00004b10 g F .text 00000026 J1_485_Init
20000310 g O .bss 00000004 g_J4RS485_UART8_handle
00005944 g O .text 0000000e __fsym_list_msgqueue_name
00001d86 g F .text 00000038 rt_timer_control
000016b0 g F .text 0000002a rt_object_get_information
20000654 g O .bss 00000080 rt_thread_priority_table
200017a0 g O .bss 00000058 serial1
00003e24 w .text 00000000 TIM4_IRQHandler
00005de0 g O .text 0000001e __fsym_pinRead_desc
00001eee g F .text 00000016 clear
20000290 g O .bss 00000004 rt_object_put_hook
0000037a g F .text 00000028 .hidden __riscv_save_9
00004762 g F .text 0000000a GPIO_WriteBit
0000502c g F .text 0000001e strcat
00001988 g F .text 00000052 rt_thread_exit
00003e24 w .text 00000000 DMA2_Channel1_IRQHandler
000059f8 g O .text 00000015 __fsym___cmd_list_event_desc
000005cc g F .text 00000034 rt_device_register
00000e82 g F .text 00000048 rt_memmove
00004c2a g F .text 00000012 J5_PWR_Open
00000388 g F .text 0000001a .hidden __riscv_save_4
000036e6 g F .text 00000024 HAL_GPIO_EXTI_Callback
00001edc g F .text 00000012 reboot
00004e54 g F .text 0000003a USART_CONNET_J5
00003e24 w .text 00000000 I2C1_EV_IRQHandler
20001844 g O .bss 0000001c MqUartSend_pack
00006668 g O .text 0000000c __fsym___cmd_list_mailbox
000047e6 g F .text 00000176 RCC_GetClocksFreq
00005e24 g O .text 00000009 __fsym_pinWrite_name
00004ba6 g F .text 00000012 J4_PWR_Open
00003e24 w .text 00000000 DMA1_Channel6_IRQHandler
0000231e g F .text 000000b6 list_msgqueue
00003e24 w .text 00000000 UART4_IRQHandler
00003e24 w .text 00000000 DMA2_Channel4_IRQHandler
00004998 g F .text 00000090 USART_Init
00003e24 w .text 00000000 TIM3_IRQHandler
00003e24 w .text 00000000 RCC_IRQHandler
00000f20 g F .text 00000012 rt_strlen
00003bda g F .text 00000012 software_init
000003a2 g F .text 0000000c .hidden __riscv_save_3
00003e24 w .text 00000000 TIM1_TRG_COM_IRQHandler
00006704 g O .text 0000000c __fsym_reboot
00006710 g O .text 0000000c __fsym___cmd_help
00003e24 w .text 00000000 DMA1_Channel1_IRQHandler
2000029c g O .bss 00000001 rt_current_priority
00003420 g F .text 0000007e ch32_pin_mode
00006638 g O .text 0000000c __fsym___cmd_list_timer
00000000 g .init 00000000 _start
00005954 g O .text 00000018 __fsym___cmd_list_mailbox_desc
00003e24 w .text 00000000 DMA2_Channel7_IRQHandler
20000140 g O .data 00000010 AHBPrescTable
000044b4 g F .text 00000012 J4RS485_tx_enabla
0000423a g F .text 0000003c Send_thread_Init
00002132 g F .text 000000ac list_event
0000384a g F .text 00000080 EXTI15_10_IRQHandler
0000506c g F .text 00000028 strncmp
0000311e g F .text 0000001a rt_pin_mode
00004a3e g F .text 00000036 USART_ITConfig
0000674c g O .text 0000000c __fsym_pinMode
00005850 g O .text 00000016 __fsym___cmd_list_device_desc
00004606 g F .text 0000006a EXTI_Init
0000662c g O .text 0000000c __fsym_list_device
00006680 g O .text 0000000c __fsym___cmd_list_mutex
00003152 g F .text 00000018 rt_pin_read
00005cfc g O .text 0000000b __fsym___cmd_help_name
00000480 g F .text 00000028 rt_tick_increase
00001408 g F .text 00000032 list_mem
00005d38 g O .text 0000001b __fsym___cmd_ps_desc
00003e24 w .text 00000000 TIM7_IRQHandler
000059d4 g O .text 00000015 __fsym_list_mutex_desc
00001d54 g F .text 00000032 rt_timer_stop
00003e24 w .text 00000000 CAN2_TX_IRQHandler
00005d08 g O .text 00000024 __fsym___cmd_free_desc
20000000 g .dalign 00000000 _data_vma
00000f32 g F .text 00000354 rt_vsnprintf
000066c8 g O .text 0000000c __fsym___cmd_list_thread
00003e24 w .text 00000000 TIM5_IRQHandler
00004f56 g F .text 00000024 memcmp
000033e0 g F .text 00000022 ch32_pin_write
000037d2 g F .text 00000078 EXTI9_5_IRQHandler
00005af4 g O .text 00000014 __fsym_clear_desc
00001e88 g F .text 0000000e sw_clearpend
000004a8 g F .text 00000028 rt_tick_from_millisecond
200002e8 g O .bss 00000004 _syscall_table_begin
00003222 w F .text 0000000a rt_heap_end_get
0000476c g F .text 0000002c GPIO_EXTILineConfig
0000037a g F .text 00000028 .hidden __riscv_save_10
000038ca g F .text 00000004 ch32dma_transmit
20000314 g O .bss 00000004 g_J50RS485_USART3_handle
000028ba g F .text 0000003c finsh_get_prompt
00003e24 w .text 00000000 ETH_WKUP_IRQHandler
20000178 g O .data 000000c0 uart_devices
20000300 g O .bss 00000004 mqSend
000003bc g F .text 00000016 .hidden __riscv_restore_4
000003b2 g F .text 00000020 .hidden __riscv_restore_8
00004474 g F .text 00000010 J2RS485_tx_enabla
00001362 g F .text 0000004e __rt_ffs
00000388 g F .text 0000001a .hidden __riscv_save_6
00004670 g F .text 0000001e EXTI_GetITStatus
00003e24 w .text 00000000 SPI2_IRQHandler
00002752 g F .text 000000a2 msh_auto_complete
200002f4 g O .bss 00000004 _sysvar_table_end
00001944 g F .text 00000016 rt_enter_critical
00001ba4 g F .text 00000040 rt_thread_sleep
000003d2 g F .text 000000a8 memset
000003b2 g F .text 00000020 .hidden __riscv_restore_9
00004d52 g F .text 00000102 J5_0_485_Init
000003bc g F .text 00000016 .hidden __riscv_restore_7
00003b8a g F .text 00000040 main
00005ce4 g O .text 00000015 __fsym___cmd_help_desc
00003e24 w .text 00000000 TIM10_BRK_IRQHandler
20000308 g O .bss 00000004 g_J2RS485_UART7_handle
00000b7a g F .text 0000002e rt_interrupt_leave
00003e24 w .text 00000000 TIM9_CC_IRQHandler
000058b8 g O .text 00000011 __fsym___cmd_list_timer_name
00003e24 w .text 00000000 DMA2_Channel5_IRQHandler
20000304 g O .bss 00000004 g_J1RS485_UART6_handle
00001e40 g F .text 00000002 rt_system_timer_thread_init
00004afe g F .text 00000012 J1_PWR_Open
00001a8a g F .text 00000032 rt_thread_init
000058a0 g O .text 00000015 __fsym___cmd_list_timer_desc
00006758 g .text 00000000 __vsymtab_start
00003e24 w .text 00000000 DMA1_Channel5_IRQHandler
000037aa g F .text 00000028 EXTI4_IRQHandler
00005a48 g O .text 00000019 __fsym___cmd_list_sem_desc
2000025c g O .bss 00000001 rt_interrupt_nest
00004f02 g F .text 0000003a USART_CONNET_J8
00003e24 w .text 00000000 USB_LP_CAN1_RX0_IRQHandler
00005b10 g O .text 00000011 __fsym___cmd_reboot_desc
000059a8 g O .text 00000015 __fsym___cmd_list_mutex_desc
000012ba w F .text 00000002 rt_hw_console_output
00004f3c g F .text 0000001a USARTx_SendByte_str
20000294 g O .bss 00000004 rt_object_take_hook
00004484 g F .text 00000010 J2RS485_tx_disenabla
00002468 g F .text 0000009a list_timer
000058f0 g O .text 0000001d __fsym___cmd_list_msgqueue_desc
00003bfc g F .text 000000fa SystemInit
00003e24 w .text 00000000 RNG_IRQHandler
00005d2c g O .text 0000000b __fsym___cmd_free_name
00001e96 g F .text 0000000c rt_hw_interrupt_disable
2000030c g O .bss 00000004 g_J3RS485_USART2_handle
00001c3e g F .text 0000002c rt_thread_startup
200002a0 g O .bss 00000004 rt_current_thread
00001286 g F .text 00000006 rt_console_get_device
00003ffc g F .text 0000018a read_and_process_uart_data
00003e24 w .text 00000000 USB_HP_CAN1_TX_IRQHandler
00000000 g .init 00000000 _sinit
000059ec g O .text 0000000b __fsym_list_mutex_name
00003e24 w .text 00000000 DMA1_Channel3_IRQHandler
200002b4 g O .bss 00000004 rt_thread_ready_priority_group
00003e24 w .text 00000000 ETH_IRQHandler
0000671c g O .text 0000000c __fsym___cmd_free
00003e24 w .text 00000000 TIM1_UP_IRQHandler
0000596c g O .text 00000013 __fsym___cmd_list_mailbox_name
00005868 g O .text 00000012 __fsym___cmd_list_device_name
200002ac g O .bss 00000008 rt_thread_defunct
00006768 g O .text 00000004 __rt_init_rti_board_end
00003e24 w .text 00000000 WWDG_IRQHandler
00006740 g O .text 0000000c __fsym_pinWrite
0000083e g F .text 00000028 rt_sem_init
00000236 g .text 00000000 rt_hw_context_switch_exit
00003e24 w .text 00000000 USBHSWakeup_IRQHandler
00000d48 g F .text 00000088 rt_memset
00003e24 w .text 00000000 DMA2_Channel11_IRQHandler
000023d4 g F .text 00000094 list_device
000044ea g F .text 00000012 J50RS485_tx_disenabla
000041fa g F .text 00000040 Recv_thread_Init
00003e24 w .text 00000000 Ecall_U_Mode_Handler
00006674 g O .text 0000000c __fsym_list_mailbox
20000150 g O .data 00000010 g_MsgTbl
00000ef6 g F .text 0000002a rt_strncmp
00004186 g F .text 0000001c send_data
00006698 g O .text 0000000c __fsym___cmd_list_event
00003e24 w .text 00000000 DMA2_Channel6_IRQHandler
20000318 g O .bss 00000004 g_LORA_UART5_handle
00006758 g .text 00000000 __vsymtab_end
00005e00 g O .text 00000008 __fsym_pinRead_name
00005d54 g O .text 00000009 __fsym___cmd_ps_name
00006644 g O .text 0000000c __fsym_list_timer
00003e24 w .text 00000000 TIM2_IRQHandler
20010000 g .stack 00000000 _eusrstack
00001738 g F .text 0000002e rt_object_detach
000003a2 g F .text 0000000c .hidden __riscv_save_2
00000290 g .text 00000000 SW_Handler
00006764 g O .text 00000004 __rt_init_rt_hw_usart_init
00000d2c g F .text 0000001c rt_set_errno
00001e36 g F .text 0000000a rt_system_timer_init
00003e24 w .text 00000000 TIM1_BRK_IRQHandler
00001902 g F .text 00000042 rt_schedule_remove_thread
00004a74 g F .text 00000008 USART_SendData
00000b4c g F .text 0000002e rt_interrupt_enter
00003e24 w .text 00000000 DMA2_Channel10_IRQHandler
00003732 g F .text 00000028 EXTI1_IRQHandler
00000a42 g F .text 0000010a rt_mq_recv
00001ea2 g F .text 00000006 rt_hw_interrupt_enable
00000388 g F .text 0000001a .hidden __riscv_save_5
000044a4 g F .text 00000010 J3RS485_tx_disenabla
00006608 g O .text 0000000c __fsym_list_mem
20000250 g .data 00000000 _edata
00003bca g F .text 00000010 hareware_init
00006620 g O .text 0000000c __fsym___cmd_list_device
20001b60 g .bss 00000000 _end
00005910 g O .text 00000014 __fsym___cmd_list_msgqueue_name
0000195a g F .text 0000002e rt_exit_critical
00004b36 g F .text 00000012 J2_PWR_Open
00004b80 g F .text 00000026 J3_485_Init
00003e24 w .text 00000000 RTCAlarm_IRQHandler
000021de g F .text 00000082 list_mutex
000027f4 g F .text 0000000e cmd_ps
00004ca8 g F .text 00000012 J8_PWR_Close
00006774 g .dlalign 00000000 _data_lma
00002924 g F .text 0000007e finsh_set_device
00003e24 w .text 00000000 TIM10_UP_IRQHandler
00003e24 w .text 00000000 TIM9_TRG_COM_IRQHandler
00003e24 w .text 00000000 UART7_IRQHandler
000033c0 g F .text 00000020 get_pin
00003e24 w .text 00000000 USART2_IRQHandler
00003e24 w .text 00000000 UART6_IRQHandler
00004c84 g F .text 00000012 J7_PWR_Close
0000067a g F .text 00000038 rt_device_close
00001abc g F .text 00000006 rt_thread_self
0000676c g O .text 00000004 __rt_init_finsh_system_init
0000587c g O .text 00000016 __fsym_list_device_desc
00003cf6 g F .text 0000012e SystemCoreClockUpdate
00005abc g O .text 0000000c __fsym_list_thread_desc
00003e24 w .text 00000000 I2C2_ER_IRQHandler
00003e24 w .text 00000000 DMA1_Channel2_IRQHandler
000017bc g F .text 00000032 rt_object_delete
0000399c g F .text 000000c4 rt_hw_usart_init
0000047a g F .text 00000006 rt_tick_get
000003ae g F .text 00000024 .hidden __riscv_restore_12
00003e24 w .text 00000000 TIM8_BRK_IRQHandler
00004ccc g F .text 0000003a USART_CONNET_J9
00005a3c g O .text 0000000b __fsym_list_event_name
00003e26 w .text 00000000 handle_reset
00003e24 w .text 00000000 CAN1_SCE_IRQHandler
000066a4 g O .text 0000000c __fsym_list_event
20000298 g O .bss 00000004 rt_object_trytake_hook
00003e24 w .text 00000000 FLASH_IRQHandler
000003a2 g F .text 0000000c .hidden __riscv_save_0
00005a10 g O .text 00000011 __fsym___cmd_list_event_name
0000532c g O .text 0000001e __fsym_list_mem_desc
00004c72 g F .text 00000012 J7_PWR_Open
00000866 g F .text 00000080 rt_sem_take
00003b00 g F .text 0000004a USART1_IRQHandler
000066b0 g O .text 0000000c __fsym___cmd_list_sem
0000505a g F .text 00000012 strlen
00003e24 w .text 00000000 SPI3_IRQHandler
000058cc g O .text 00000015 __fsym_list_timer_desc
0000128c g F .text 0000002e rt_console_set_device
0000349e g F .text 00000092 ch32_pin_attach_irq
00003e24 w .text 00000000 I2C1_ER_IRQHandler
0000675c g O .text 00000004 __rt_init_rti_board_start
000006d0 g F .text 0000001e rt_device_write
00005ac8 g O .text 0000000c __fsym_list_thread_name
00006608 g .text 00000000 __fsymtab_start
000003c6 g F .text 0000000c .hidden __riscv_restore_1
000033a4 g F .text 0000001c rt_hw_pin_init
000066ec g O .text 0000000c __fsym_clear
00001850 g F .text 0000006a rt_schedule
000016da g F .text 0000005e rt_object_init
00003402 g F .text 0000001e ch32_pin_read
00006728 g O .text 0000000c __fsym___cmd_ps
00004758 g F .text 0000000a GPIO_ReadInputDataBit
00005e08 g O .text 0000001c __fsym_pinWrite_desc
00001cd4 g F .text 00000080 rt_timer_start
00004bb8 g F .text 0000002a J4_485_Init
00000dd0 g F .text 000000b2 rt_memcpy
00004ade g F .text 00000010 android_PowerCtrl_Init
0000254c g F .text 00000058 msh_help
00003058 g F .text 000000aa rt_hw_serial_isr
00003e24 w .text 00000000 USBWakeUp_IRQHandler
000001dc g .text 00000000 rt_hw_context_switch
000045c6 g F .text 00000028 uart_dev_in_char
00003e24 w .text 00000000 DMA2_Channel3_IRQHandler
0000358a g F .text 0000015c ch32_pin_irq_enable
00005894 g O .text 0000000c __fsym_list_device_name
00005924 g O .text 0000001d __fsym_list_msgqueue_desc
00005a74 g O .text 00000019 __fsym_list_sem_desc
Disassembly of section .init:
00000000 <_sinit>:
0: 6270306f j 3e26 <handle_reset>
Disassembly of section .vector:
00000004 <_vector_base>:
...
c: 3b4a lhu a0,52(a4)
e: 0000 unimp
10: 3b6a lhu a0,54(a4)
12: 0000 unimp
14: 0000 unimp
16: 0000 unimp
18: 3e24 lbu s1,27(a2)
...
22: 0000 unimp
24: 3e24 lbu s1,27(a2)
26: 0000 unimp
28: 3e24 lbu s1,27(a2)
...
32: 0000 unimp
34: 32a2 lhu s0,34(a3)
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: 3e24 lbu s1,27(a2)
46: 0000 unimp
48: 3e24 lbu s1,27(a2)
4a: 0000 unimp
4c: 3e24 lbu s1,27(a2)
4e: 0000 unimp
50: 3e24 lbu s1,27(a2)
52: 0000 unimp
54: 3e24 lbu s1,27(a2)
56: 0000 unimp
58: 3e24 lbu s1,27(a2)
5a: 0000 unimp
5c: 370a lhu a0,40(a4)
5e: 0000 unimp
60: 3732 lhu a2,42(a4)
62: 0000 unimp
64: 375a lhu a4,44(a4)
66: 0000 unimp
68: 3782 lhu s0,40(a5)
6a: 0000 unimp
6c: 37aa lhu a0,42(a5)
6e: 0000 unimp
70: 3e24 lbu s1,27(a2)
72: 0000 unimp
74: 3e24 lbu s1,27(a2)
76: 0000 unimp
78: 3e24 lbu s1,27(a2)
7a: 0000 unimp
7c: 3e24 lbu s1,27(a2)
7e: 0000 unimp
80: 3e24 lbu s1,27(a2)
82: 0000 unimp
84: 3e24 lbu s1,27(a2)
86: 0000 unimp
88: 3e24 lbu s1,27(a2)
8a: 0000 unimp
8c: 3e24 lbu s1,27(a2)
8e: 0000 unimp
90: 3e24 lbu s1,27(a2)
92: 0000 unimp
94: 3e24 lbu s1,27(a2)
96: 0000 unimp
98: 3e24 lbu s1,27(a2)
9a: 0000 unimp
9c: 3e24 lbu s1,27(a2)
9e: 0000 unimp
a0: 37d2 lhu a2,44(a5)
a2: 0000 unimp
a4: 3e24 lbu s1,27(a2)
a6: 0000 unimp
a8: 3e24 lbu s1,27(a2)
aa: 0000 unimp
ac: 3e24 lbu s1,27(a2)
ae: 0000 unimp
b0: 3e24 lbu s1,27(a2)
b2: 0000 unimp
b4: 3e24 lbu s1,27(a2)
b6: 0000 unimp
b8: 3e24 lbu s1,27(a2)
ba: 0000 unimp
bc: 3e24 lbu s1,27(a2)
be: 0000 unimp
c0: 3e24 lbu s1,27(a2)
c2: 0000 unimp
c4: 3e24 lbu s1,27(a2)
c6: 0000 unimp
c8: 3e24 lbu s1,27(a2)
ca: 0000 unimp
cc: 3e24 lbu s1,27(a2)
ce: 0000 unimp
d0: 3e24 lbu s1,27(a2)
d2: 0000 unimp
d4: 3e24 lbu s1,27(a2)
d6: 0000 unimp
d8: 3b00 lbu s0,17(a4)
da: 0000 unimp
dc: 3e24 lbu s1,27(a2)
de: 0000 unimp
e0: 4be2 lw s7,24(sp)
e2: 0000 unimp
e4: 384a lhu a0,52(s0)
e6: 0000 unimp
e8: 3e24 lbu s1,27(a2)
ea: 0000 unimp
ec: 3e24 lbu s1,27(a2)
ee: 0000 unimp
f0: 3e24 lbu s1,27(a2)
f2: 0000 unimp
f4: 3e24 lbu s1,27(a2)
f6: 0000 unimp
f8: 3e24 lbu s1,27(a2)
fa: 0000 unimp
fc: 3e24 lbu s1,27(a2)
fe: 0000 unimp
100: 3e24 lbu s1,27(a2)
102: 0000 unimp
104: 0000 unimp
106: 0000 unimp
108: 3e24 lbu s1,27(a2)
10a: 0000 unimp
10c: 3e24 lbu s1,27(a2)
10e: 0000 unimp
110: 3e24 lbu s1,27(a2)
112: 0000 unimp
114: 3e24 lbu s1,27(a2)
116: 0000 unimp
118: 3e24 lbu s1,27(a2)
11a: 0000 unimp
11c: 3e24 lbu s1,27(a2)
11e: 0000 unimp
120: 3e24 lbu s1,27(a2)
122: 0000 unimp
124: 3e24 lbu s1,27(a2)
126: 0000 unimp
128: 3e24 lbu s1,27(a2)
12a: 0000 unimp
12c: 3e24 lbu s1,27(a2)
12e: 0000 unimp
130: 3e24 lbu s1,27(a2)
132: 0000 unimp
134: 3e24 lbu s1,27(a2)
136: 0000 unimp
138: 3e24 lbu s1,27(a2)
13a: 0000 unimp
13c: 3e24 lbu s1,27(a2)
13e: 0000 unimp
140: 3e24 lbu s1,27(a2)
142: 0000 unimp
144: 3e24 lbu s1,27(a2)
146: 0000 unimp
148: 3e24 lbu s1,27(a2)
14a: 0000 unimp
14c: 3e24 lbu s1,27(a2)
14e: 0000 unimp
150: 3e24 lbu s1,27(a2)
152: 0000 unimp
154: 3e24 lbu s1,27(a2)
156: 0000 unimp
158: 3e24 lbu s1,27(a2)
15a: 0000 unimp
15c: 3e24 lbu s1,27(a2)
15e: 0000 unimp
160: 3e24 lbu s1,27(a2)
162: 0000 unimp
164: 3e24 lbu s1,27(a2)
166: 0000 unimp
168: 3e24 lbu s1,27(a2)
16a: 0000 unimp
16c: 3e24 lbu s1,27(a2)
16e: 0000 unimp
170: 3e24 lbu s1,27(a2)
172: 0000 unimp
174: 3e24 lbu s1,27(a2)
176: 0000 unimp
178: 3e24 lbu s1,27(a2)
17a: 0000 unimp
17c: 3e24 lbu s1,27(a2)
17e: 0000 unimp
180: 3e24 lbu s1,27(a2)
182: 0000 unimp
184: 3e24 lbu s1,27(a2)
186: 0000 unimp
188: 3e24 lbu s1,27(a2)
18a: 0000 unimp
18c: 3e24 lbu s1,27(a2)
18e: 0000 unimp
190: 3e24 lbu s1,27(a2)
192: 0000 unimp
194: 3e24 lbu s1,27(a2)
196: 0000 unimp
198: 3e24 lbu s1,27(a2)
19a: 0000 unimp
19c: 3e24 lbu s1,27(a2)
19e: 0000 unimp
1a0: 3e24 lbu s1,27(a2)
...
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+0x108c>
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: 06f000ef jal ra,b4c <rt_interrupt_enter>
2e2: 3a7010ef jal ra,1e88 <sw_clearpend>
2e6: 095000ef jal ra,b7a <rt_interrupt_leave>
2ea: 34011173 csrrw sp,mscratch,sp
2ee: 89818413 addi s0,gp,-1896 # 200002e0 <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 # 200002d8 <rt_interrupt_from_thread>
308: 4004 lw s1,0(s0)
30a: 0024a023 sw sp,0(s1)
30e: 89418413 addi s0,gp,-1900 # 200002dc <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+0x108c>
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) # 20000250 <_edata>
47e: 8082 ret
00000480 <rt_tick_increase>:
480: f23ff2ef jal t0,3a2 <__riscv_save_0>
484: 80818793 addi a5,gp,-2040 # 20000250 <_edata>
488: 4398 lw a4,0(a5)
48a: 0705 addi a4,a4,1
48c: c398 sw a4,0(a5)
48e: 62e010ef jal ra,1abc <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: 66a010ef jal ra,1b08 <rt_thread_yield>
4a2: 11d010ef jal ra,1dbe <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: 75c40413 addi s0,s0,1884 # 675c <__rt_init_rti_board_start>
4ec: 76848493 addi s1,s1,1896 # 6768 <__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: 76840413 addi s0,s0,1896 # 6768 <__rt_init_rti_board_end>
50a: 77048493 addi s1,s1,1904 # 6770 <__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: 668030ef jal ra,3b8a <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: 00005537 lui a0,0x5
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: 0e450513 addi a0,a0,228 # 50e4 <strncmp+0x78>
546: 57c010ef jal ra,1ac2 <rt_thread_create>
54a: 6f4010ef jal ra,1c3e <rt_thread_startup>
54e: bda5 j 3c6 <__riscv_restore_0>
00000550 <rtthread_startup>:
550: e53ff2ef jal t0,3a2 <__riscv_save_0>
554: 143010ef jal ra,1e96 <rt_hw_interrupt_disable>
558: 4d5020ef jal ra,322c <rt_hw_board_init>
55c: 5c9000ef jal ra,1324 <rt_show_version>
560: 0d7010ef jal ra,1e36 <rt_system_timer_init>
564: 292010ef jal ra,17f6 <rt_system_scheduler_init>
568: 37c1 jal 528 <rt_application_init>
56a: 0d7010ef jal ra,1e40 <rt_system_timer_thread_init>
56e: 2c19 jal 784 <rt_thread_idle_init>
570: 2b4010ef jal ra,1824 <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: 534010ef jal ra,1abc <rt_thread_self>
58c: c119 beqz a0,592 <rt_device_find+0x10>
58e: 3b6010ef jal ra,1944 <rt_enter_critical>
592: 4525 li a0,9
594: 11c010ef jal ra,16b0 <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: 51a010ef jal ra,1abc <rt_thread_self>
5a6: 4901 li s2,0
5a8: a819 j 5be <rt_device_find+0x3c>
5aa: ff448913 addi s2,s1,-12
5ae: 4621 li a2,8
5b0: 85ce mv a1,s3
5b2: 854a mv a0,s2
5b4: 143000ef jal ra,ef6 <rt_strncmp>
5b8: e901 bnez a0,5c8 <rt_device_find+0x46>
5ba: 502010ef jal ra,1abc <rt_thread_self>
5be: c119 beqz a0,5c4 <rt_device_find+0x42>
5c0: 39a010ef jal ra,195a <rt_exit_critical>
5c4: 854a mv a0,s2
5c6: bbdd j 3bc <__riscv_restore_4>
5c8: 4084 lw s1,0(s1)
5ca: bfd1 j 59e <rt_device_find+0x1c>
000005cc <rt_device_register>:
5cc: e509 bnez a0,5d6 <rt_device_register+0xa>
5ce: 557d li a0,-1
5d0: 8082 ret
5d2: 557d li a0,-1
5d4: bbcd j 3c6 <__riscv_restore_0>
5d6: dcdff2ef jal t0,3a2 <__riscv_save_0>
5da: 842a mv s0,a0
5dc: 852e mv a0,a1
5de: 8932 mv s2,a2
5e0: 84ae mv s1,a1
5e2: 3745 jal 582 <rt_device_find>
5e4: f57d bnez a0,5d2 <rt_device_register+0x6>
5e6: 8522 mv a0,s0
5e8: 8626 mv a2,s1
5ea: 45a5 li a1,9
5ec: 0ee010ef jal ra,16da <rt_object_init>
5f0: 4501 li a0,0
5f2: 01241c23 sh s2,24(s0)
5f6: 00040e23 sb zero,28(s0)
5fa: 00041d23 sh zero,26(s0)
5fe: bfd9 j 5d4 <rt_device_register+0x8>
00000600 <rt_device_open>:
600: da3ff2ef jal t0,3a2 <__riscv_save_0>
604: 2d1e lhu a5,24(a0)
606: 1141 addi sp,sp,-16
608: 842a mv s0,a0
60a: 8bc1 andi a5,a5,16
60c: e79d bnez a5,63a <rt_device_open+0x3a>
60e: 551c lw a5,40(a0)
610: c38d beqz a5,632 <rt_device_open+0x32>
612: c62e sw a1,12(sp)
614: 9782 jalr a5
616: 84aa mv s1,a0
618: 45b2 lw a1,12(sp)
61a: cd01 beqz a0,632 <rt_device_open+0x32>
61c: 862a mv a2,a0
61e: 00005537 lui a0,0x5
622: 85a2 mv a1,s0
624: 0ec50513 addi a0,a0,236 # 50ec <strncmp+0x80>
628: 495000ef jal ra,12bc <rt_kprintf>
62c: 8526 mv a0,s1
62e: 0141 addi sp,sp,16
630: bb59 j 3c6 <__riscv_restore_0>
632: 2c1e lhu a5,24(s0)
634: 0107e793 ori a5,a5,16
638: ac1e sh a5,24(s0)
63a: 2c1e lhu a5,24(s0)
63c: 8ba1 andi a5,a5,8
63e: c789 beqz a5,648 <rt_device_open+0x48>
640: 2c3e lhu a5,26(s0)
642: 54e5 li s1,-7
644: 8ba1 andi a5,a5,8
646: f3fd bnez a5,62c <rt_device_open+0x2c>
648: 545c lw a5,44(s0)
64a: cf89 beqz a5,664 <rt_device_open+0x64>
64c: 8522 mv a0,s0
64e: 9782 jalr a5
650: 84aa mv s1,a0
652: e105 bnez a0,672 <rt_device_open+0x72>
654: 2c3e lhu a5,26(s0)
656: 0087e793 ori a5,a5,8
65a: ac3e sh a5,26(s0)
65c: 2c5c lbu a5,28(s0)
65e: 0785 addi a5,a5,1
660: ac5c sb a5,28(s0)
662: b7e9 j 62c <rt_device_open+0x2c>
664: 6785 lui a5,0x1
666: f0f78793 addi a5,a5,-241 # f0f <rt_strncmp+0x19>
66a: 8dfd and a1,a1,a5
66c: ac2e sh a1,26(s0)
66e: 4481 li s1,0
670: b7d5 j 654 <rt_device_open+0x54>
672: 57e9 li a5,-6
674: faf51ce3 bne a0,a5,62c <rt_device_open+0x2c>
678: bff1 j 654 <rt_device_open+0x54>
0000067a <rt_device_close>:
67a: 2d5c lbu a5,28(a0)
67c: cb85 beqz a5,6ac <rt_device_close+0x32>
67e: d25ff2ef jal t0,3a2 <__riscv_save_0>
682: 17fd addi a5,a5,-1
684: 0ff7f793 andi a5,a5,255
688: ad5c sb a5,28(a0)
68a: 842a mv s0,a0
68c: 4701 li a4,0
68e: ef89 bnez a5,6a8 <rt_device_close+0x2e>
690: 591c lw a5,48(a0)
692: e789 bnez a5,69c <rt_device_close+0x22>
694: 4701 li a4,0
696: 00041d23 sh zero,26(s0)
69a: a039 j 6a8 <rt_device_close+0x2e>
69c: 9782 jalr a5
69e: 872a mv a4,a0
6a0: d975 beqz a0,694 <rt_device_close+0x1a>
6a2: 57e9 li a5,-6
6a4: fef509e3 beq a0,a5,696 <rt_device_close+0x1c>
6a8: 853a mv a0,a4
6aa: bb31 j 3c6 <__riscv_restore_0>
6ac: 577d li a4,-1
6ae: 853a mv a0,a4
6b0: 8082 ret
000006b2 <rt_device_read>:
6b2: cf1ff2ef jal t0,3a2 <__riscv_save_0>
6b6: 2d58 lbu a4,28(a0)
6b8: e711 bnez a4,6c4 <rt_device_read+0x12>
6ba: 557d li a0,-1
6bc: 670000ef jal ra,d2c <rt_set_errno>
6c0: 4501 li a0,0
6c2: a021 j 6ca <rt_device_read+0x18>
6c4: 595c lw a5,52(a0)
6c6: c399 beqz a5,6cc <rt_device_read+0x1a>
6c8: 9782 jalr a5
6ca: b9f5 j 3c6 <__riscv_restore_0>
6cc: 5569 li a0,-6
6ce: b7fd j 6bc <rt_device_read+0xa>
000006d0 <rt_device_write>:
6d0: cd3ff2ef jal t0,3a2 <__riscv_save_0>
6d4: 2d58 lbu a4,28(a0)
6d6: e711 bnez a4,6e2 <rt_device_write+0x12>
6d8: 557d li a0,-1
6da: 652000ef jal ra,d2c <rt_set_errno>
6de: 4501 li a0,0
6e0: a021 j 6e8 <rt_device_write+0x18>
6e2: 5d1c lw a5,56(a0)
6e4: c399 beqz a5,6ea <rt_device_write+0x1a>
6e6: 9782 jalr a5
6e8: b9f9 j 3c6 <__riscv_restore_0>
6ea: 5569 li a0,-6
6ec: b7fd j 6da <rt_device_write+0xa>
000006ee <rt_device_set_rx_indicate>:
6ee: d10c sw a1,32(a0)
6f0: 4501 li a0,0
6f2: 8082 ret
000006f4 <rt_thread_idle_excute>:
6f4: c95ff2ef jal t0,388 <__riscv_save_4>
6f8: 86418993 addi s3,gp,-1948 # 200002ac <rt_thread_defunct>
6fc: 4a85 li s5,1
6fe: 8641a783 lw a5,-1948(gp) # 200002ac <rt_thread_defunct>
702: 05378663 beq a5,s3,74e <rt_thread_idle_excute+0x5a>
706: 790010ef jal ra,1e96 <rt_hw_interrupt_disable>
70a: 8641a783 lw a5,-1948(gp) # 200002ac <rt_thread_defunct>
70e: 8a2a mv s4,a0
710: 03378d63 beq a5,s3,74a <rt_thread_idle_excute+0x56>
714: 8641a403 lw s0,-1948(gp) # 200002ac <rt_thread_defunct>
718: 405c lw a5,4(s0)
71a: 4018 lw a4,0(s0)
71c: fec40913 addi s2,s0,-20
720: c35c sw a5,4(a4)
722: c398 sw a4,0(a5)
724: c040 sw s0,4(s0)
726: c000 sw s0,0(s0)
728: 21c010ef jal ra,1944 <rt_enter_critical>
72c: 507c lw a5,100(s0)
72e: c399 beqz a5,734 <rt_thread_idle_excute+0x40>
730: 854a mv a0,s2
732: 9782 jalr a5
734: 854a mv a0,s2
736: 0b8010ef jal ra,17ee <rt_object_is_systemobject>
73a: 01551b63 bne a0,s5,750 <rt_thread_idle_excute+0x5c>
73e: 854a mv a0,s2
740: 7f9000ef jal ra,1738 <rt_object_detach>
744: 216010ef jal ra,195a <rt_exit_critical>
748: 8552 mv a0,s4
74a: 758010ef jal ra,1ea2 <rt_hw_interrupt_enable>
74e: b1bd j 3bc <__riscv_restore_4>
750: 20a010ef jal ra,195a <rt_exit_critical>
754: 8552 mv a0,s4
756: 74c010ef jal ra,1ea2 <rt_hw_interrupt_enable>
75a: 4848 lw a0,20(s0)
75c: 6ab000ef jal ra,1606 <rt_free>
760: 854a mv a0,s2
762: 05a010ef jal ra,17bc <rt_object_delete>
766: bf61 j 6fe <rt_thread_idle_excute+0xa>
00000768 <rt_thread_idle_entry>:
768: c3bff2ef jal t0,3a2 <__riscv_save_0>
76c: 95c18413 addi s0,gp,-1700 # 200003a4 <idle_hook_list>
770: 01040913 addi s2,s0,16
774: 401c lw a5,0(s0)
776: c391 beqz a5,77a <rt_thread_idle_entry+0x12>
778: 9782 jalr a5
77a: 0411 addi s0,s0,4
77c: ff241ce3 bne s0,s2,774 <rt_thread_idle_entry+0xc>
780: 3f95 jal 6f4 <rt_thread_idle_excute>
782: b7ed j 76c <rt_thread_idle_entry+0x4>
00000784 <rt_thread_idle_init>:
784: c1fff2ef jal t0,3a2 <__riscv_save_0>
788: 00000637 lui a2,0x0
78c: 000055b7 lui a1,0x5
790: 02000893 li a7,32
794: 483d li a6,15
796: 20000793 li a5,512
79a: 96c18713 addi a4,gp,-1684 # 200003b4 <rt_thread_stack>
79e: 4681 li a3,0
7a0: 76860613 addi a2,a2,1896 # 768 <rt_thread_idle_entry>
7a4: 12458593 addi a1,a1,292 # 5124 <strncmp+0xb8>
7a8: 8dc18513 addi a0,gp,-1828 # 20000324 <idle>
7ac: 2de010ef jal ra,1a8a <rt_thread_init>
7b0: 8dc18513 addi a0,gp,-1828 # 20000324 <idle>
7b4: 48a010ef jal ra,1c3e <rt_thread_startup>
7b8: b139 j 3c6 <__riscv_restore_0>
000007ba <rt_ipc_list_resume_all>:
7ba: be9ff2ef jal t0,3a2 <__riscv_save_0>
7be: 842a mv s0,a0
7c0: 54fd li s1,-1
7c2: 401c lw a5,0(s0)
7c4: 00f41463 bne s0,a5,7cc <rt_ipc_list_resume_all+0x12>
7c8: 4501 li a0,0
7ca: bef5 j 3c6 <__riscv_restore_0>
7cc: 6ca010ef jal ra,1e96 <rt_hw_interrupt_disable>
7d0: 892a mv s2,a0
7d2: 4008 lw a0,0(s0)
7d4: cd44 sw s1,28(a0)
7d6: 1531 addi a0,a0,-20
7d8: 41a010ef jal ra,1bf2 <rt_thread_resume>
7dc: 854a mv a0,s2
7de: 6c4010ef jal ra,1ea2 <rt_hw_interrupt_enable>
7e2: b7c5 j 7c2 <rt_ipc_list_resume_all+0x8>
000007e4 <rt_ipc_list_suspend>:
7e4: bbfff2ef jal t0,3a2 <__riscv_save_0>
7e8: 1141 addi sp,sp,-16
7ea: 842a mv s0,a0
7ec: 852e mv a0,a1
7ee: c632 sw a2,12(sp)
7f0: c42e sw a1,8(sp)
7f2: 368010ef jal ra,1b5a <rt_thread_suspend>
7f6: 4632 lw a2,12(sp)
7f8: 45a2 lw a1,8(sp)
7fa: c619 beqz a2,808 <__stack_size+0x8>
7fc: 4785 li a5,1
7fe: 00f60d63 beq a2,a5,818 <__stack_size+0x18>
802: 4501 li a0,0
804: 0141 addi sp,sp,16
806: b6c1 j 3c6 <__riscv_restore_0>
808: 4058 lw a4,4(s0)
80a: 01458793 addi a5,a1,20
80e: c31c sw a5,0(a4)
810: cd98 sw a4,24(a1)
812: c05c sw a5,4(s0)
814: c9c0 sw s0,20(a1)
816: b7f5 j 802 <__stack_size+0x2>
818: 401c lw a5,0(s0)
81a: 00878863 beq a5,s0,82a <__stack_size+0x2a>
81e: 0355c683 lbu a3,53(a1)
822: 0217c703 lbu a4,33(a5)
826: 00e6fa63 bgeu a3,a4,83a <__stack_size+0x3a>
82a: 43d4 lw a3,4(a5)
82c: 01458713 addi a4,a1,20
830: c298 sw a4,0(a3)
832: cd94 sw a3,24(a1)
834: c3d8 sw a4,4(a5)
836: c9dc sw a5,20(a1)
838: b7e9 j 802 <__stack_size+0x2>
83a: 439c lw a5,0(a5)
83c: bff9 j 81a <__stack_size+0x1a>
0000083e <rt_sem_init>:
83e: b65ff2ef jal t0,3a2 <__riscv_save_0>
842: 1141 addi sp,sp,-16
844: 84b2 mv s1,a2
846: 862e mv a2,a1
848: 4589 li a1,2
84a: 842a mv s0,a0
84c: c636 sw a3,12(sp)
84e: 68d000ef jal ra,16da <rt_object_init>
852: 46b2 lw a3,12(sp)
854: 01440793 addi a5,s0,20
858: cc1c sw a5,24(s0)
85a: c85c sw a5,20(s0)
85c: ac46 sh s1,28(s0)
85e: b414 sb a3,9(s0)
860: 4501 li a0,0
862: 0141 addi sp,sp,16
864: b68d j 3c6 <__riscv_restore_0>
00000866 <rt_sem_take>:
866: b23ff2ef jal t0,388 <__riscv_save_4>
86a: 8501a783 lw a5,-1968(gp) # 20000298 <rt_object_trytake_hook>
86e: 1141 addi sp,sp,-16
870: c62e sw a1,12(sp)
872: 842a mv s0,a0
874: c391 beqz a5,878 <rt_sem_take+0x12>
876: 9782 jalr a5
878: 61e010ef jal ra,1e96 <rt_hw_interrupt_disable>
87c: 2c5e lhu a5,28(s0)
87e: 89aa mv s3,a0
880: cf89 beqz a5,89a <rt_sem_take+0x34>
882: 17fd addi a5,a5,-1
884: ac5e sh a5,28(s0)
886: 61c010ef jal ra,1ea2 <rt_hw_interrupt_enable>
88a: 84c1a783 lw a5,-1972(gp) # 20000294 <rt_object_take_hook>
88e: 4501 li a0,0
890: cb91 beqz a5,8a4 <rt_sem_take+0x3e>
892: 8522 mv a0,s0
894: 9782 jalr a5
896: 4501 li a0,0
898: a031 j 8a4 <rt_sem_take+0x3e>
89a: 47b2 lw a5,12(sp)
89c: e791 bnez a5,8a8 <rt_sem_take+0x42>
89e: 604010ef jal ra,1ea2 <rt_hw_interrupt_enable>
8a2: 5579 li a0,-2
8a4: 0141 addi sp,sp,16
8a6: be19 j 3bc <__riscv_restore_4>
8a8: 214010ef jal ra,1abc <rt_thread_self>
8ac: 02052823 sw zero,48(a0)
8b0: 3410 lbu a2,9(s0)
8b2: 85aa mv a1,a0
8b4: 84aa mv s1,a0
8b6: 01440513 addi a0,s0,20
8ba: 372d jal 7e4 <rt_ipc_list_suspend>
8bc: 47b2 lw a5,12(sp)
8be: 00f05c63 blez a5,8d6 <rt_sem_take+0x70>
8c2: 04c48913 addi s2,s1,76
8c6: 0070 addi a2,sp,12
8c8: 4581 li a1,0
8ca: 854a mv a0,s2
8cc: 4ba010ef jal ra,1d86 <rt_timer_control>
8d0: 854a mv a0,s2
8d2: 402010ef jal ra,1cd4 <rt_timer_start>
8d6: 854e mv a0,s3
8d8: 5ca010ef jal ra,1ea2 <rt_hw_interrupt_enable>
8dc: 775000ef jal ra,1850 <rt_schedule>
8e0: 5888 lw a0,48(s1)
8e2: d545 beqz a0,88a <rt_sem_take+0x24>
8e4: b7c1 j 8a4 <rt_sem_take+0x3e>
000008e6 <rt_sem_release>:
8e6: abdff2ef jal t0,3a2 <__riscv_save_0>
8ea: 8481a783 lw a5,-1976(gp) # 20000290 <rt_object_put_hook>
8ee: 842a mv s0,a0
8f0: c391 beqz a5,8f4 <rt_sem_release+0xe>
8f2: 9782 jalr a5
8f4: 5a2010ef jal ra,1e96 <rt_hw_interrupt_disable>
8f8: 84aa mv s1,a0
8fa: 4848 lw a0,20(s0)
8fc: 01440793 addi a5,s0,20
900: 00f50e63 beq a0,a5,91c <rt_sem_release+0x36>
904: 1531 addi a0,a0,-20
906: 2ec010ef jal ra,1bf2 <rt_thread_resume>
90a: 4405 li s0,1
90c: 8526 mv a0,s1
90e: 594010ef jal ra,1ea2 <rt_hw_interrupt_enable>
912: c019 beqz s0,918 <rt_sem_release+0x32>
914: 73d000ef jal ra,1850 <rt_schedule>
918: 4501 li a0,0
91a: b475 j 3c6 <__riscv_restore_0>
91c: 2c5e lhu a5,28(s0)
91e: 0785 addi a5,a5,1
920: ac5e sh a5,28(s0)
922: 4401 li s0,0
924: b7e5 j 90c <rt_sem_release+0x26>
00000926 <rt_mq_delete>:
926: a7dff2ef jal t0,3a2 <__riscv_save_0>
92a: 842a mv s0,a0
92c: 0551 addi a0,a0,20
92e: 3571 jal 7ba <rt_ipc_list_resume_all>
930: 4c48 lw a0,28(s0)
932: 4d5000ef jal ra,1606 <rt_free>
936: 8522 mv a0,s0
938: 685000ef jal ra,17bc <rt_object_delete>
93c: 4501 li a0,0
93e: b461 j 3c6 <__riscv_restore_0>
00000940 <rt_mq_create>:
940: a63ff2ef jal t0,3a2 <__riscv_save_0>
944: 1141 addi sp,sp,-16
946: 84ae mv s1,a1
948: 85aa mv a1,a0
94a: 4519 li a0,6
94c: c632 sw a2,12(sp)
94e: c436 sw a3,8(sp)
950: 617000ef jal ra,1766 <rt_object_allocate>
954: 842a mv s0,a0
956: c91d beqz a0,98c <rt_mq_create+0x4c>
958: 46a2 lw a3,8(sp)
95a: 01450793 addi a5,a0,20
95e: cd1c sw a5,24(a0)
960: b514 sb a3,9(a0)
962: c95c sw a5,20(a0)
964: 4632 lw a2,12(sp)
966: 00348513 addi a0,s1,3
96a: 9971 andi a0,a0,-4
96c: 0542 slli a0,a0,0x10
96e: 8141 srli a0,a0,0x10
970: b032 sh a2,34(s0)
972: 0642 slli a2,a2,0x10
974: b00a sh a0,32(s0)
976: 8241 srli a2,a2,0x10
978: 0511 addi a0,a0,4
97a: 02c50533 mul a0,a0,a2
97e: 339000ef jal ra,14b6 <rt_malloc>
982: cc48 sw a0,28(s0)
984: e519 bnez a0,992 <rt_mq_create+0x52>
986: 8522 mv a0,s0
988: 3f79 jal 926 <rt_mq_delete>
98a: 4401 li s0,0
98c: 8522 mv a0,s0
98e: 0141 addi sp,sp,16
990: bc1d j 3c6 <__riscv_restore_0>
992: 3036 lhu a3,34(s0)
994: 02042423 sw zero,40(s0)
998: 02042623 sw zero,44(s0)
99c: 02042823 sw zero,48(s0)
9a0: 4701 li a4,0
9a2: 00d74563 blt a4,a3,9ac <rt_mq_create+0x6c>
9a6: 02041223 sh zero,36(s0)
9aa: b7cd j 98c <rt_mq_create+0x4c>
9ac: 301e lhu a5,32(s0)
9ae: 5810 lw a2,48(s0)
9b0: 0791 addi a5,a5,4
9b2: 02e787b3 mul a5,a5,a4
9b6: 0705 addi a4,a4,1
9b8: 97aa add a5,a5,a0
9ba: c390 sw a2,0(a5)
9bc: d81c sw a5,48(s0)
9be: b7d5 j 9a2 <rt_mq_create+0x62>
000009c0 <rt_mq_send>:
9c0: 311e lhu a5,32(a0)
9c2: 06c7ee63 bltu a5,a2,a3e <rt_mq_send+0x7e>
9c6: 9c3ff2ef jal t0,388 <__riscv_save_4>
9ca: 8481a783 lw a5,-1976(gp) # 20000290 <rt_object_put_hook>
9ce: 842a mv s0,a0
9d0: 8932 mv s2,a2
9d2: 89ae mv s3,a1
9d4: c391 beqz a5,9d8 <rt_mq_send+0x18>
9d6: 9782 jalr a5
9d8: 4be010ef jal ra,1e96 <rt_hw_interrupt_disable>
9dc: 5804 lw s1,48(s0)
9de: e491 bnez s1,9ea <rt_mq_send+0x2a>
9e0: 4c2010ef jal ra,1ea2 <rt_hw_interrupt_enable>
9e4: 5575 li a0,-3
9e6: 9d7ff06f j 3bc <__riscv_restore_4>
9ea: 409c lw a5,0(s1)
9ec: d81c sw a5,48(s0)
9ee: 4b4010ef jal ra,1ea2 <rt_hw_interrupt_enable>
9f2: 864a mv a2,s2
9f4: 85ce mv a1,s3
9f6: 0004a023 sw zero,0(s1)
9fa: 00448513 addi a0,s1,4
9fe: 2ec9 jal dd0 <rt_memcpy>
a00: 496010ef jal ra,1e96 <rt_hw_interrupt_disable>
a04: 545c lw a5,44(s0)
a06: 892a mv s2,a0
a08: c391 beqz a5,a0c <rt_mq_send+0x4c>
a0a: c384 sw s1,0(a5)
a0c: 541c lw a5,40(s0)
a0e: d444 sw s1,44(s0)
a10: e391 bnez a5,a14 <rt_mq_send+0x54>
a12: d404 sw s1,40(s0)
a14: 305e lhu a5,36(s0)
a16: 4848 lw a0,20(s0)
a18: 0451 addi s0,s0,20
a1a: 0785 addi a5,a5,1
a1c: a81e sh a5,16(s0)
a1e: 00850c63 beq a0,s0,a36 <rt_mq_send+0x76>
a22: 1531 addi a0,a0,-20
a24: 1ce010ef jal ra,1bf2 <rt_thread_resume>
a28: 854a mv a0,s2
a2a: 478010ef jal ra,1ea2 <rt_hw_interrupt_enable>
a2e: 623000ef jal ra,1850 <rt_schedule>
a32: 4501 li a0,0
a34: bf4d j 9e6 <rt_mq_send+0x26>
a36: 854a mv a0,s2
a38: 46a010ef jal ra,1ea2 <rt_hw_interrupt_enable>
a3c: bfdd j a32 <rt_mq_send+0x72>
a3e: 557d li a0,-1
a40: 8082 ret
00000a42 <rt_mq_recv>:
a42: 939ff2ef jal t0,37a <__riscv_save_10>
a46: 1141 addi sp,sp,-16
a48: 842a mv s0,a0
a4a: 8b2e mv s6,a1
a4c: 8a32 mv s4,a2
a4e: c636 sw a3,12(sp)
a50: 06c010ef jal ra,1abc <rt_thread_self>
a54: 8501a783 lw a5,-1968(gp) # 20000298 <rt_object_trytake_hook>
a58: 892a mv s2,a0
a5a: c399 beqz a5,a60 <rt_mq_recv+0x1e>
a5c: 8522 mv a0,s0
a5e: 9782 jalr a5
a60: 436010ef jal ra,1e96 <rt_hw_interrupt_disable>
a64: 305e lhu a5,36(s0)
a66: 89aa mv s3,a0
a68: 0c079c63 bnez a5,b40 <rt_mq_recv+0xfe>
a6c: 47b2 lw a5,12(sp)
a6e: 4481 li s1,0
a70: 0c079963 bnez a5,b42 <rt_mq_recv+0x100>
a74: 42e010ef jal ra,1ea2 <rt_hw_interrupt_enable>
a78: 5579 li a0,-2
a7a: 0141 addi sp,sp,16
a7c: 937ff06f j 3b2 <__riscv_restore_10>
a80: 47b2 lw a5,12(sp)
a82: 02092823 sw zero,48(s2)
a86: eb81 bnez a5,a96 <rt_mq_recv+0x54>
a88: 854e mv a0,s3
a8a: 418010ef jal ra,1ea2 <rt_hw_interrupt_enable>
a8e: 57f9 li a5,-2
a90: 02f92823 sw a5,48(s2)
a94: b7d5 j a78 <rt_mq_recv+0x36>
a96: 3410 lbu a2,9(s0)
a98: 85ca mv a1,s2
a9a: 855e mv a0,s7
a9c: 33a1 jal 7e4 <rt_ipc_list_suspend>
a9e: 47b2 lw a5,12(sp)
aa0: 00f05d63 blez a5,aba <rt_mq_recv+0x78>
aa4: 9d7ff0ef jal ra,47a <rt_tick_get>
aa8: 84aa mv s1,a0
aaa: 0070 addi a2,sp,12
aac: 4581 li a1,0
aae: 8556 mv a0,s5
ab0: 2d6010ef jal ra,1d86 <rt_timer_control>
ab4: 8556 mv a0,s5
ab6: 21e010ef jal ra,1cd4 <rt_timer_start>
aba: 854e mv a0,s3
abc: 3e6010ef jal ra,1ea2 <rt_hw_interrupt_enable>
ac0: 591000ef jal ra,1850 <rt_schedule>
ac4: 03092503 lw a0,48(s2)
ac8: f94d bnez a0,a7a <rt_mq_recv+0x38>
aca: 3cc010ef jal ra,1e96 <rt_hw_interrupt_disable>
ace: 47b2 lw a5,12(sp)
ad0: 89aa mv s3,a0
ad2: 8c26 mv s8,s1
ad4: 00f05d63 blez a5,aee <rt_mq_recv+0xac>
ad8: 9a3ff0ef jal ra,47a <rt_tick_get>
adc: 47b2 lw a5,12(sp)
ade: 40950c33 sub s8,a0,s1
ae2: 97a6 add a5,a5,s1
ae4: 40a78533 sub a0,a5,a0
ae8: 04054a63 bltz a0,b3c <rt_mq_recv+0xfa>
aec: c62a sw a0,12(sp)
aee: 84e2 mv s1,s8
af0: 305e lhu a5,36(s0)
af2: d7d9 beqz a5,a80 <rt_mq_recv+0x3e>
af4: 5404 lw s1,40(s0)
af6: 4098 lw a4,0(s1)
af8: d418 sw a4,40(s0)
afa: 5458 lw a4,44(s0)
afc: 00971463 bne a4,s1,b04 <rt_mq_recv+0xc2>
b00: 02042623 sw zero,44(s0)
b04: 17fd addi a5,a5,-1
b06: b05e sh a5,36(s0)
b08: 854e mv a0,s3
b0a: 398010ef jal ra,1ea2 <rt_hw_interrupt_enable>
b0e: 3012 lhu a2,32(s0)
b10: 00ca7363 bgeu s4,a2,b16 <rt_mq_recv+0xd4>
b14: 8652 mv a2,s4
b16: 00448593 addi a1,s1,4
b1a: 855a mv a0,s6
b1c: 2c55 jal dd0 <rt_memcpy>
b1e: 378010ef jal ra,1e96 <rt_hw_interrupt_disable>
b22: 581c lw a5,48(s0)
b24: c09c sw a5,0(s1)
b26: d804 sw s1,48(s0)
b28: 37a010ef jal ra,1ea2 <rt_hw_interrupt_enable>
b2c: 84c1a783 lw a5,-1972(gp) # 20000294 <rt_object_take_hook>
b30: 4501 li a0,0
b32: d7a1 beqz a5,a7a <rt_mq_recv+0x38>
b34: 8522 mv a0,s0
b36: 9782 jalr a5
b38: 4501 li a0,0
b3a: b781 j a7a <rt_mq_recv+0x38>
b3c: c602 sw zero,12(sp)
b3e: bf45 j aee <rt_mq_recv+0xac>
b40: 4481 li s1,0
b42: 01440b93 addi s7,s0,20
b46: 04c90a93 addi s5,s2,76
b4a: b75d j af0 <rt_mq_recv+0xae>
00000b4c <rt_interrupt_enter>:
b4c: 857ff2ef jal t0,3a2 <__riscv_save_0>
b50: 1141 addi sp,sp,-16
b52: 344010ef jal ra,1e96 <rt_hw_interrupt_disable>
b56: 81418713 addi a4,gp,-2028 # 2000025c <rt_interrupt_nest>
b5a: 231c lbu a5,0(a4)
b5c: 0785 addi a5,a5,1
b5e: 0ff7f793 andi a5,a5,255
b62: a31c sb a5,0(a4)
b64: 80c1a783 lw a5,-2036(gp) # 20000254 <rt_interrupt_enter_hook>
b68: c781 beqz a5,b70 <rt_interrupt_enter+0x24>
b6a: c62a sw a0,12(sp)
b6c: 9782 jalr a5
b6e: 4532 lw a0,12(sp)
b70: 332010ef jal ra,1ea2 <rt_hw_interrupt_enable>
b74: 0141 addi sp,sp,16
b76: 851ff06f j 3c6 <__riscv_restore_0>
00000b7a <rt_interrupt_leave>:
b7a: 829ff2ef jal t0,3a2 <__riscv_save_0>
b7e: 1141 addi sp,sp,-16
b80: 316010ef jal ra,1e96 <rt_hw_interrupt_disable>
b84: 81418713 addi a4,gp,-2028 # 2000025c <rt_interrupt_nest>
b88: 231c lbu a5,0(a4)
b8a: 17fd addi a5,a5,-1
b8c: 0ff7f793 andi a5,a5,255
b90: a31c sb a5,0(a4)
b92: 8101a783 lw a5,-2032(gp) # 20000258 <rt_interrupt_leave_hook>
b96: c781 beqz a5,b9e <rt_interrupt_leave+0x24>
b98: c62a sw a0,12(sp)
b9a: 9782 jalr a5
b9c: 4532 lw a0,12(sp)
b9e: 304010ef jal ra,1ea2 <rt_hw_interrupt_enable>
ba2: 0141 addi sp,sp,16
ba4: 823ff06f j 3c6 <__riscv_restore_0>
00000ba8 <rt_interrupt_get_nest>:
ba8: 8141c503 lbu a0,-2028(gp) # 2000025c <rt_interrupt_nest>
bac: 8082 ret
00000bae <print_number>:
bae: 04087893 andi a7,a6,64
bb2: 1141 addi sp,sp,-16
bb4: 00089e63 bnez a7,bd0 <print_number+0x22>
bb8: 6895 lui a7,0x5
bba: 2d088893 addi a7,a7,720 # 52d0 <small_digits.2582>
bbe: 01087393 andi t2,a6,16
bc2: 00038b63 beqz t2,bd8 <print_number+0x2a>
bc6: ffe87813 andi a6,a6,-2
bca: 02000e93 li t4,32
bce: a819 j be4 <print_number+0x36>
bd0: 6895 lui a7,0x5
bd2: 22c88893 addi a7,a7,556 # 522c <large_digits.2583>
bd6: b7e5 j bbe <print_number+0x10>
bd8: 00187313 andi t1,a6,1
bdc: 03000e93 li t4,48
be0: fe0305e3 beqz t1,bca <print_number+0x1c>
be4: 00287313 andi t1,a6,2
be8: 06030e63 beqz t1,c64 <print_number+0xb6>
bec: 02065863 bgez a2,c1c <print_number+0x6e>
bf0: 40c00633 neg a2,a2
bf4: 02d00293 li t0,45
bf8: 8e0a mv t3,sp
bfa: 4f81 li t6,0
bfc: 4f29 li t5,10
bfe: 07e69563 bne a3,t5,c68 <print_number+0xba>
c02: 02d67333 remu t1,a2,a3
c06: 02d65633 divu a2,a2,a3
c0a: 9346 add t1,t1,a7
c0c: 00034303 lbu t1,0(t1)
c10: 0f85 addi t6,t6,1
c12: 0e05 addi t3,t3,1
c14: fe6e0fa3 sb t1,-1(t3)
c18: f27d bnez a2,bfe <print_number+0x50>
c1a: a00d j c3c <print_number+0x8e>
c1c: 00487313 andi t1,a6,4
c20: 02b00293 li t0,43
c24: 00031763 bnez t1,c32 <print_number+0x84>
c28: 00887293 andi t0,a6,8
c2c: 005032b3 snez t0,t0
c30: 0296 slli t0,t0,0x5
c32: f279 bnez a2,bf8 <print_number+0x4a>
c34: 03000693 li a3,48
c38: 8054 sb a3,0(sp)
c3a: 4f85 li t6,1
c3c: 86fe mv a3,t6
c3e: 00ffd363 bge t6,a5,c44 <print_number+0x96>
c42: 86be mv a3,a5
c44: 01187813 andi a6,a6,17
c48: 8f15 sub a4,a4,a3
c4a: 04081363 bnez a6,c90 <print_number+0xe2>
c4e: 00028563 beqz t0,c58 <print_number+0xaa>
c52: 00e05363 blez a4,c58 <print_number+0xaa>
c56: 177d addi a4,a4,-1
c58: 862a mv a2,a0
c5a: 00e508b3 add a7,a0,a4
c5e: 02000313 li t1,32
c62: a821 j c7a <print_number+0xcc>
c64: 4281 li t0,0
c66: b7f1 j c32 <print_number+0x84>
c68: 00f67313 andi t1,a2,15
c6c: 8211 srli a2,a2,0x4
c6e: bf71 j c0a <print_number+0x5c>
c70: 00b67463 bgeu a2,a1,c78 <print_number+0xca>
c74: 00660023 sb t1,0(a2)
c78: 0605 addi a2,a2,1
c7a: 40c88833 sub a6,a7,a2
c7e: ff0049e3 bgtz a6,c70 <print_number+0xc2>
c82: 863a mv a2,a4
c84: 00075363 bgez a4,c8a <print_number+0xdc>
c88: 4601 li a2,0
c8a: 177d addi a4,a4,-1
c8c: 9532 add a0,a0,a2
c8e: 8f11 sub a4,a4,a2
c90: 00028863 beqz t0,ca0 <print_number+0xf2>
c94: 00b57463 bgeu a0,a1,c9c <print_number+0xee>
c98: 00550023 sb t0,0(a0)
c9c: 177d addi a4,a4,-1
c9e: 0505 addi a0,a0,1
ca0: 02038763 beqz t2,cce <print_number+0x120>
ca4: 96aa add a3,a3,a0
ca6: 03000813 li a6,48
caa: a81d j ce0 <print_number+0x132>
cac: 00b67463 bgeu a2,a1,cb4 <print_number+0x106>
cb0: 01d60023 sb t4,0(a2)
cb4: 0605 addi a2,a2,1
cb6: 40c88833 sub a6,a7,a2
cba: ff0049e3 bgtz a6,cac <print_number+0xfe>
cbe: 863a mv a2,a4
cc0: 00075363 bgez a4,cc6 <print_number+0x118>
cc4: 4601 li a2,0
cc6: 177d addi a4,a4,-1
cc8: 9532 add a0,a0,a2
cca: 8f11 sub a4,a4,a2
ccc: bfe1 j ca4 <print_number+0xf6>
cce: 862a mv a2,a0
cd0: 00e508b3 add a7,a0,a4
cd4: b7cd j cb6 <print_number+0x108>
cd6: 00b57463 bgeu a0,a1,cde <print_number+0x130>
cda: 01050023 sb a6,0(a0)
cde: 0505 addi a0,a0,1
ce0: 40a68633 sub a2,a3,a0
ce4: fecfc9e3 blt t6,a2,cd6 <print_number+0x128>
ce8: 56fd li a3,-1
cea: 1ffd addi t6,t6,-1
cec: 00df8363 beq t6,a3,cf2 <print_number+0x144>
cf0: e799 bnez a5,cfe <print_number+0x150>
cf2: 87aa mv a5,a0
cf4: 00e50633 add a2,a0,a4
cf8: 02000813 li a6,32
cfc: a831 j d18 <print_number+0x16a>
cfe: 00b57663 bgeu a0,a1,d0a <print_number+0x15c>
d02: 01f10633 add a2,sp,t6
d06: 2210 lbu a2,0(a2)
d08: a110 sb a2,0(a0)
d0a: 0505 addi a0,a0,1
d0c: bff9 j cea <print_number+0x13c>
d0e: 00b7f463 bgeu a5,a1,d16 <print_number+0x168>
d12: 01078023 sb a6,0(a5)
d16: 0785 addi a5,a5,1
d18: 40f606b3 sub a3,a2,a5
d1c: fed049e3 bgtz a3,d0e <print_number+0x160>
d20: 00075363 bgez a4,d26 <print_number+0x178>
d24: 4701 li a4,0
d26: 953a add a0,a0,a4
d28: 0141 addi sp,sp,16
d2a: 8082 ret
00000d2c <rt_set_errno>:
d2c: e76ff2ef jal t0,3a2 <__riscv_save_0>
d30: 842a mv s0,a0
d32: 3d9d jal ba8 <rt_interrupt_get_nest>
d34: c509 beqz a0,d3e <rt_set_errno+0x12>
d36: 8081ac23 sw s0,-2024(gp) # 20000260 <__rt_errno>
d3a: e8cff06f j 3c6 <__riscv_restore_0>
d3e: 57f000ef jal ra,1abc <rt_thread_self>
d42: d975 beqz a0,d36 <rt_set_errno+0xa>
d44: d900 sw s0,48(a0)
d46: bfd5 j d3a <rt_set_errno+0xe>
00000d48 <rt_memset>:
d48: 470d li a4,3
d4a: 87aa mv a5,a0
d4c: 00c77663 bgeu a4,a2,d58 <rt_memset+0x10>
d50: 00357793 andi a5,a0,3
d54: c791 beqz a5,d60 <rt_memset+0x18>
d56: 87aa mv a5,a0
d58: 963e add a2,a2,a5
d5a: 06c79763 bne a5,a2,dc8 <rt_memset+0x80>
d5e: 8082 ret
d60: 0ff5f793 andi a5,a1,255
d64: 00879713 slli a4,a5,0x8
d68: 8fd9 or a5,a5,a4
d6a: 01079713 slli a4,a5,0x10
d6e: 8f5d or a4,a4,a5
d70: 00c508b3 add a7,a0,a2
d74: 87aa mv a5,a0
d76: 46bd li a3,15
d78: 40f88833 sub a6,a7,a5
d7c: 0306eb63 bltu a3,a6,db2 <rt_memset+0x6a>
d80: 00465793 srli a5,a2,0x4
d84: 56c1 li a3,-16
d86: 02d786b3 mul a3,a5,a3
d8a: 0792 slli a5,a5,0x4
d8c: 97aa add a5,a5,a0
d8e: 480d li a6,3
d90: 9636 add a2,a2,a3
d92: 00c78333 add t1,a5,a2
d96: 86be mv a3,a5
d98: 40d308b3 sub a7,t1,a3
d9c: 03186263 bltu a6,a7,dc0 <rt_memset+0x78>
da0: 00265713 srli a4,a2,0x2
da4: 56f1 li a3,-4
da6: 02d706b3 mul a3,a4,a3
daa: 070a slli a4,a4,0x2
dac: 97ba add a5,a5,a4
dae: 9636 add a2,a2,a3
db0: b765 j d58 <rt_memset+0x10>
db2: c398 sw a4,0(a5)
db4: c3d8 sw a4,4(a5)
db6: c798 sw a4,8(a5)
db8: 07c1 addi a5,a5,16
dba: fee7ae23 sw a4,-4(a5)
dbe: bf6d j d78 <rt_memset+0x30>
dc0: 0691 addi a3,a3,4
dc2: fee6ae23 sw a4,-4(a3)
dc6: bfc9 j d98 <rt_memset+0x50>
dc8: 0785 addi a5,a5,1
dca: feb78fa3 sb a1,-1(a5)
dce: b771 j d5a <rt_memset+0x12>
00000dd0 <rt_memcpy>:
dd0: 473d li a4,15
dd2: 87aa mv a5,a0
dd4: 00c77763 bgeu a4,a2,de2 <rt_memcpy+0x12>
dd8: 00b567b3 or a5,a0,a1
ddc: 8b8d andi a5,a5,3
dde: cba5 beqz a5,e4e <rt_memcpy+0x7e>
de0: 87aa mv a5,a0
de2: 4701 li a4,0
de4: 08c71563 bne a4,a2,e6e <rt_memcpy+0x9e>
de8: 8082 ret
dea: 0007a803 lw a6,0(a5)
dee: 07c1 addi a5,a5,16
df0: 0741 addi a4,a4,16
df2: ff072823 sw a6,-16(a4)
df6: ff47a803 lw a6,-12(a5)
dfa: ff072a23 sw a6,-12(a4)
dfe: ff87a803 lw a6,-8(a5)
e02: ff072c23 sw a6,-8(a4)
e06: ffc7a803 lw a6,-4(a5)
e0a: ff072e23 sw a6,-4(a4)
e0e: 40f88833 sub a6,a7,a5
e12: fd06ece3 bltu a3,a6,dea <rt_memcpy+0x1a>
e16: 00465693 srli a3,a2,0x4
e1a: 00469713 slli a4,a3,0x4
e1e: 00e507b3 add a5,a0,a4
e22: 95ba add a1,a1,a4
e24: 5741 li a4,-16
e26: 02e686b3 mul a3,a3,a4
e2a: 4701 li a4,0
e2c: 9636 add a2,a2,a3
e2e: 468d li a3,3
e30: 40e60833 sub a6,a2,a4
e34: 0306c363 blt a3,a6,e5a <rt_memcpy+0x8a>
e38: 00265713 srli a4,a2,0x2
e3c: 00271693 slli a3,a4,0x2
e40: 97b6 add a5,a5,a3
e42: 95b6 add a1,a1,a3
e44: 56f1 li a3,-4
e46: 02d70733 mul a4,a4,a3
e4a: 963a add a2,a2,a4
e4c: bf59 j de2 <rt_memcpy+0x12>
e4e: 87ae mv a5,a1
e50: 872a mv a4,a0
e52: 00c588b3 add a7,a1,a2
e56: 46bd li a3,15
e58: bf5d j e0e <rt_memcpy+0x3e>
e5a: 00e58833 add a6,a1,a4
e5e: 00082883 lw a7,0(a6)
e62: 00e78833 add a6,a5,a4
e66: 0711 addi a4,a4,4
e68: 01182023 sw a7,0(a6)
e6c: b7d1 j e30 <rt_memcpy+0x60>
e6e: 00e586b3 add a3,a1,a4
e72: 00068803 lb a6,0(a3)
e76: 00e786b3 add a3,a5,a4
e7a: 0705 addi a4,a4,1
e7c: 01068023 sb a6,0(a3)
e80: b795 j de4 <rt_memcpy+0x14>
00000e82 <rt_memmove>:
e82: 04a5f263 bgeu a1,a0,ec6 <rt_memmove+0x44>
e86: 00c586b3 add a3,a1,a2
e8a: 02d57e63 bgeu a0,a3,ec6 <rt_memmove+0x44>
e8e: fff64593 not a1,a2
e92: 4781 li a5,0
e94: 17fd addi a5,a5,-1
e96: 00f59363 bne a1,a5,e9c <rt_memmove+0x1a>
e9a: 8082 ret
e9c: 00f68733 add a4,a3,a5
ea0: 00070803 lb a6,0(a4)
ea4: 00c78733 add a4,a5,a2
ea8: 972a add a4,a4,a0
eaa: 01070023 sb a6,0(a4)
eae: b7dd j e94 <rt_memmove+0x12>
eb0: 00f58733 add a4,a1,a5
eb4: 00070683 lb a3,0(a4)
eb8: 00f50733 add a4,a0,a5
ebc: 0785 addi a5,a5,1
ebe: a314 sb a3,0(a4)
ec0: fef618e3 bne a2,a5,eb0 <rt_memmove+0x2e>
ec4: 8082 ret
ec6: 4781 li a5,0
ec8: bfe5 j ec0 <rt_memmove+0x3e>
00000eca <rt_strncpy>:
eca: c60d beqz a2,ef4 <rt_strncpy+0x2a>
ecc: 87aa mv a5,a0
ece: 0585 addi a1,a1,1
ed0: fff58703 lb a4,-1(a1)
ed4: 0785 addi a5,a5,1
ed6: fff60693 addi a3,a2,-1
eda: fee78fa3 sb a4,-1(a5)
ede: eb09 bnez a4,ef0 <rt_strncpy+0x26>
ee0: 963e add a2,a2,a5
ee2: 0785 addi a5,a5,1
ee4: 00c79363 bne a5,a2,eea <rt_strncpy+0x20>
ee8: 8082 ret
eea: fe078fa3 sb zero,-1(a5)
eee: bfd5 j ee2 <rt_strncpy+0x18>
ef0: 8636 mv a2,a3
ef2: fef1 bnez a3,ece <rt_strncpy+0x4>
ef4: 8082 ret
00000ef6 <rt_strncmp>:
ef6: 4701 li a4,0
ef8: 00e61463 bne a2,a4,f00 <rt_strncmp+0xa>
efc: 4781 li a5,0
efe: a839 j f1c <rt_strncmp+0x26>
f00: 00e507b3 add a5,a0,a4
f04: 00078683 lb a3,0(a5)
f08: 00e587b3 add a5,a1,a4
f0c: 239c lbu a5,0(a5)
f0e: 40f687b3 sub a5,a3,a5
f12: 07e2 slli a5,a5,0x18
f14: 87e1 srai a5,a5,0x18
f16: e399 bnez a5,f1c <rt_strncmp+0x26>
f18: 0705 addi a4,a4,1
f1a: fef9 bnez a3,ef8 <rt_strncmp+0x2>
f1c: 853e mv a0,a5
f1e: 8082 ret
00000f20 <rt_strlen>:
f20: 87aa mv a5,a0
f22: 00078703 lb a4,0(a5)
f26: e701 bnez a4,f2e <rt_strlen+0xe>
f28: 40a78533 sub a0,a5,a0
f2c: 8082 ret
f2e: 0785 addi a5,a5,1
f30: bfcd j f22 <rt_strlen+0x2>
00000f32 <rt_vsnprintf>:
f32: c48ff2ef jal t0,37a <__riscv_save_10>
f36: 892e mv s2,a1
f38: 01250bb3 add s7,a0,s2
f3c: 1141 addi sp,sp,-16
f3e: 8c2a mv s8,a0
f40: 85b6 mv a1,a3
f42: 00abf563 bgeu s7,a0,f4c <rt_vsnprintf+0x1a>
f46: fff54913 not s2,a0
f4a: 5bfd li s7,-1
f4c: 69c1 lui s3,0x10
f4e: 00005a37 lui s4,0x5
f52: 8462 mv s0,s8
f54: 02b00a93 li s5,43
f58: 02000b13 li s6,32
f5c: 19fd addi s3,s3,-1
f5e: 2c8a0a13 addi s4,s4,712 # 52c8 <large_digits.2583+0x9c>
f62: a831 j f7e <rt_vsnprintf+0x4c>
f64: 02500713 li a4,37
f68: 02e78963 beq a5,a4,f9a <rt_vsnprintf+0x68>
f6c: 01747363 bgeu s0,s7,f72 <rt_vsnprintf+0x40>
f70: a01c sb a5,0(s0)
f72: 00140513 addi a0,s0,1
f76: 84b2 mv s1,a2
f78: 00148613 addi a2,s1,1
f7c: 842a mv s0,a0
f7e: 00060783 lb a5,0(a2)
f82: f3ed bnez a5,f64 <rt_vsnprintf+0x32>
f84: 00090663 beqz s2,f90 <rt_vsnprintf+0x5e>
f88: 2f747c63 bgeu s0,s7,1280 <rt_vsnprintf+0x34e>
f8c: 00040023 sb zero,0(s0)
f90: 41840533 sub a0,s0,s8
f94: 0141 addi sp,sp,16
f96: c1cff06f j 3b2 <__riscv_restore_10>
f9a: 4801 li a6,0
f9c: 02d00713 li a4,45
fa0: 02300693 li a3,35
fa4: 03000513 li a0,48
fa8: a031 j fb4 <rt_vsnprintf+0x82>
faa: 01579e63 bne a5,s5,fc6 <rt_vsnprintf+0x94>
fae: 00486813 ori a6,a6,4
fb2: 8626 mv a2,s1
fb4: 00160783 lb a5,1(a2)
fb8: 00160493 addi s1,a2,1
fbc: fee797e3 bne a5,a4,faa <rt_vsnprintf+0x78>
fc0: 01086813 ori a6,a6,16
fc4: b7fd j fb2 <rt_vsnprintf+0x80>
fc6: 01679563 bne a5,s6,fd0 <rt_vsnprintf+0x9e>
fca: 00886813 ori a6,a6,8
fce: b7d5 j fb2 <rt_vsnprintf+0x80>
fd0: 00d79563 bne a5,a3,fda <rt_vsnprintf+0xa8>
fd4: 02086813 ori a6,a6,32
fd8: bfe9 j fb2 <rt_vsnprintf+0x80>
fda: 00a79563 bne a5,a0,fe4 <rt_vsnprintf+0xb2>
fde: 00186813 ori a6,a6,1
fe2: bfc1 j fb2 <rt_vsnprintf+0x80>
fe4: fd078713 addi a4,a5,-48
fe8: 46a5 li a3,9
fea: 04e6e663 bltu a3,a4,1036 <rt_vsnprintf+0x104>
fee: 4701 li a4,0
ff0: 46a5 li a3,9
ff2: 4529 li a0,10
ff4: a039 j 1002 <rt_vsnprintf+0xd0>
ff6: 02a70733 mul a4,a4,a0
ffa: 0485 addi s1,s1,1
ffc: 973e add a4,a4,a5
ffe: fd070713 addi a4,a4,-48
1002: 00048783 lb a5,0(s1)
1006: fd078613 addi a2,a5,-48
100a: fec6f6e3 bgeu a3,a2,ff6 <rt_vsnprintf+0xc4>
100e: 00048603 lb a2,0(s1)
1012: 02e00693 li a3,46
1016: 57fd li a5,-1
1018: 04d61f63 bne a2,a3,1076 <rt_vsnprintf+0x144>
101c: 00148783 lb a5,1(s1)
1020: 4625 li a2,9
1022: 00148693 addi a3,s1,1
1026: fd078513 addi a0,a5,-48
102a: 0aa66563 bltu a2,a0,10d4 <rt_vsnprintf+0x1a2>
102e: 4781 li a5,0
1030: 4525 li a0,9
1032: 4329 li t1,10
1034: a03d j 1062 <rt_vsnprintf+0x130>
1036: 02a00693 li a3,42
103a: 577d li a4,-1
103c: fcd799e3 bne a5,a3,100e <rt_vsnprintf+0xdc>
1040: 4198 lw a4,0(a1)
1042: 00260493 addi s1,a2,2
1046: 0591 addi a1,a1,4
1048: fc0753e3 bgez a4,100e <rt_vsnprintf+0xdc>
104c: 40e00733 neg a4,a4
1050: 01086813 ori a6,a6,16
1054: bf6d j 100e <rt_vsnprintf+0xdc>
1056: 026787b3 mul a5,a5,t1
105a: 0685 addi a3,a3,1
105c: 97b2 add a5,a5,a2
105e: fd078793 addi a5,a5,-48
1062: 00068603 lb a2,0(a3)
1066: fd060893 addi a7,a2,-48
106a: ff1576e3 bgeu a0,a7,1056 <rt_vsnprintf+0x124>
106e: 0007d363 bgez a5,1074 <rt_vsnprintf+0x142>
1072: 4781 li a5,0
1074: 84b6 mv s1,a3
1076: 00048683 lb a3,0(s1)
107a: 06800613 li a2,104
107e: 4501 li a0,0
1080: ffb6f893 andi a7,a3,-5
1084: 00c89563 bne a7,a2,108e <rt_vsnprintf+0x15c>
1088: 0ff6f513 andi a0,a3,255
108c: 0485 addi s1,s1,1
108e: 00048603 lb a2,0(s1)
1092: 06900693 li a3,105
1096: 06d60363 beq a2,a3,10fc <rt_vsnprintf+0x1ca>
109a: 06c6c563 blt a3,a2,1104 <rt_vsnprintf+0x1d2>
109e: 05800693 li a3,88
10a2: 1cd60463 beq a2,a3,126a <rt_vsnprintf+0x338>
10a6: 04c6c363 blt a3,a2,10ec <rt_vsnprintf+0x1ba>
10aa: 02500793 li a5,37
10ae: 1af60863 beq a2,a5,125e <rt_vsnprintf+0x32c>
10b2: 01747563 bgeu s0,s7,10bc <rt_vsnprintf+0x18a>
10b6: 02500793 li a5,37
10ba: a01c sb a5,0(s0)
10bc: 00048783 lb a5,0(s1)
10c0: 00140513 addi a0,s0,1
10c4: 1a078763 beqz a5,1272 <rt_vsnprintf+0x340>
10c8: 01757363 bgeu a0,s7,10ce <rt_vsnprintf+0x19c>
10cc: b01c sb a5,1(s0)
10ce: 00240513 addi a0,s0,2
10d2: b55d j f78 <rt_vsnprintf+0x46>
10d4: 02a00613 li a2,42
10d8: 00c79763 bne a5,a2,10e6 <rt_vsnprintf+0x1b4>
10dc: 419c lw a5,0(a1)
10de: 00248693 addi a3,s1,2
10e2: 0591 addi a1,a1,4
10e4: b769 j 106e <rt_vsnprintf+0x13c>
10e6: 84b6 mv s1,a3
10e8: 4781 li a5,0
10ea: b771 j 1076 <rt_vsnprintf+0x144>
10ec: 06300693 li a3,99
10f0: 08d60363 beq a2,a3,1176 <rt_vsnprintf+0x244>
10f4: 06400693 li a3,100
10f8: fad61de3 bne a2,a3,10b2 <rt_vsnprintf+0x180>
10fc: 00286813 ori a6,a6,2
1100: 46a9 li a3,10
1102: a099 j 1148 <rt_vsnprintf+0x216>
1104: 07300693 li a3,115
1108: 0cd60463 beq a2,a3,11d0 <rt_vsnprintf+0x29e>
110c: 02c6c563 blt a3,a2,1136 <rt_vsnprintf+0x204>
1110: 06f00693 li a3,111
1114: 16d60163 beq a2,a3,1276 <rt_vsnprintf+0x344>
1118: 07000693 li a3,112
111c: f8d61be3 bne a2,a3,10b2 <rt_vsnprintf+0x180>
1120: 56fd li a3,-1
1122: 00d71563 bne a4,a3,112c <rt_vsnprintf+0x1fa>
1126: 00186813 ori a6,a6,1
112a: 4721 li a4,8
112c: 00458c93 addi s9,a1,4
1130: 46c1 li a3,16
1132: 4190 lw a2,0(a1)
1134: a81d j 116a <rt_vsnprintf+0x238>
1136: 07500693 li a3,117
113a: fcd603e3 beq a2,a3,1100 <rt_vsnprintf+0x1ce>
113e: 07800893 li a7,120
1142: 46c1 li a3,16
1144: f71617e3 bne a2,a7,10b2 <rt_vsnprintf+0x180>
1148: 06c00613 li a2,108
114c: 00458c93 addi s9,a1,4
1150: fec501e3 beq a0,a2,1132 <rt_vsnprintf+0x200>
1154: 06800613 li a2,104
1158: fcc51de3 bne a0,a2,1132 <rt_vsnprintf+0x200>
115c: 4190 lw a2,0(a1)
115e: 00287593 andi a1,a6,2
1162: 10059c63 bnez a1,127a <rt_vsnprintf+0x348>
1166: 01367633 and a2,a2,s3
116a: 85de mv a1,s7
116c: 8522 mv a0,s0
116e: a41ff0ef jal ra,bae <print_number>
1172: 85e6 mv a1,s9
1174: b511 j f78 <rt_vsnprintf+0x46>
1176: 01087813 andi a6,a6,16
117a: 02081563 bnez a6,11a4 <rt_vsnprintf+0x272>
117e: 87ba mv a5,a4
1180: 02000693 li a3,32
1184: a029 j 118e <rt_vsnprintf+0x25c>
1186: 01747363 bgeu s0,s7,118c <rt_vsnprintf+0x25a>
118a: a014 sb a3,0(s0)
118c: 0405 addi s0,s0,1
118e: 17fd addi a5,a5,-1
1190: fef04be3 bgtz a5,1186 <rt_vsnprintf+0x254>
1194: fff70793 addi a5,a4,-1
1198: 00e04363 bgtz a4,119e <rt_vsnprintf+0x26c>
119c: 4705 li a4,1
119e: 40e78733 sub a4,a5,a4
11a2: 0705 addi a4,a4,1
11a4: 00458793 addi a5,a1,4
11a8: 01747463 bgeu s0,s7,11b0 <rt_vsnprintf+0x27e>
11ac: 4194 lw a3,0(a1)
11ae: a014 sb a3,0(s0)
11b0: 00140513 addi a0,s0,1
11b4: 9722 add a4,a4,s0
11b6: 02000613 li a2,32
11ba: 40a706b3 sub a3,a4,a0
11be: 00d04463 bgtz a3,11c6 <rt_vsnprintf+0x294>
11c2: 85be mv a1,a5
11c4: bb55 j f78 <rt_vsnprintf+0x46>
11c6: 01757363 bgeu a0,s7,11cc <rt_vsnprintf+0x29a>
11ca: a110 sb a2,0(a0)
11cc: 0505 addi a0,a0,1
11ce: b7f5 j 11ba <rt_vsnprintf+0x288>
11d0: 0005ac83 lw s9,0(a1)
11d4: 00458d13 addi s10,a1,4
11d8: 000c9363 bnez s9,11de <rt_vsnprintf+0x2ac>
11dc: 8cd2 mv s9,s4
11de: 8566 mv a0,s9
11e0: c63e sw a5,12(sp)
11e2: c43a sw a4,8(sp)
11e4: c242 sw a6,4(sp)
11e6: 3b2d jal f20 <rt_strlen>
11e8: 47b2 lw a5,12(sp)
11ea: 86aa mv a3,a0
11ec: 4812 lw a6,4(sp)
11ee: 4722 lw a4,8(sp)
11f0: 00f05563 blez a5,11fa <rt_vsnprintf+0x2c8>
11f4: 00a7d363 bge a5,a0,11fa <rt_vsnprintf+0x2c8>
11f8: 86be mv a3,a5
11fa: 01087813 andi a6,a6,16
11fe: 00081e63 bnez a6,121a <rt_vsnprintf+0x2e8>
1202: 87ba mv a5,a4
1204: 02000613 li a2,32
1208: a031 j 1214 <rt_vsnprintf+0x2e2>
120a: 01747363 bgeu s0,s7,1210 <rt_vsnprintf+0x2de>
120e: a010 sb a2,0(s0)
1210: 0405 addi s0,s0,1
1212: 87ba mv a5,a4
1214: 177d addi a4,a4,-1
1216: fef6cae3 blt a3,a5,120a <rt_vsnprintf+0x2d8>
121a: 4781 li a5,0
121c: 02d7c163 blt a5,a3,123e <rt_vsnprintf+0x30c>
1220: 87b6 mv a5,a3
1222: 0006d363 bgez a3,1228 <rt_vsnprintf+0x2f6>
1226: 4781 li a5,0
1228: 00f40533 add a0,s0,a5
122c: 972a add a4,a4,a0
122e: 02000613 li a2,32
1232: 40a707b3 sub a5,a4,a0
1236: 00f6cf63 blt a3,a5,1254 <rt_vsnprintf+0x322>
123a: 85ea mv a1,s10
123c: bb35 j f78 <rt_vsnprintf+0x46>
123e: 00f40633 add a2,s0,a5
1242: 01767763 bgeu a2,s7,1250 <rt_vsnprintf+0x31e>
1246: 00fc85b3 add a1,s9,a5
124a: 00058583 lb a1,0(a1)
124e: a20c sb a1,0(a2)
1250: 0785 addi a5,a5,1
1252: b7e9 j 121c <rt_vsnprintf+0x2ea>
1254: 01757363 bgeu a0,s7,125a <rt_vsnprintf+0x328>
1258: a110 sb a2,0(a0)
125a: 0505 addi a0,a0,1
125c: bfd9 j 1232 <rt_vsnprintf+0x300>
125e: 01747363 bgeu s0,s7,1264 <rt_vsnprintf+0x332>
1262: a010 sb a2,0(s0)
1264: 00140513 addi a0,s0,1
1268: bb01 j f78 <rt_vsnprintf+0x46>
126a: 04086813 ori a6,a6,64
126e: 46c1 li a3,16
1270: bde1 j 1148 <rt_vsnprintf+0x216>
1272: 14fd addi s1,s1,-1
1274: b311 j f78 <rt_vsnprintf+0x46>
1276: 46a1 li a3,8
1278: bdc1 j 1148 <rt_vsnprintf+0x216>
127a: 0642 slli a2,a2,0x10
127c: 8641 srai a2,a2,0x10
127e: b5f5 j 116a <rt_vsnprintf+0x238>
1280: fe0b8fa3 sb zero,-1(s7)
1284: b331 j f90 <rt_vsnprintf+0x5e>
00001286 <rt_console_get_device>:
1286: 81c1a503 lw a0,-2020(gp) # 20000264 <_console_device>
128a: 8082 ret
0000128c <rt_console_set_device>:
128c: 916ff2ef jal t0,3a2 <__riscv_save_0>
1290: 81c1a903 lw s2,-2020(gp) # 20000264 <_console_device>
1294: aeeff0ef jal ra,582 <rt_device_find>
1298: cd11 beqz a0,12b4 <rt_console_set_device+0x28>
129a: 81c18413 addi s0,gp,-2020 # 20000264 <_console_device>
129e: 84aa mv s1,a0
12a0: 4008 lw a0,0(s0)
12a2: c119 beqz a0,12a8 <rt_console_set_device+0x1c>
12a4: bd6ff0ef jal ra,67a <rt_device_close>
12a8: 04300593 li a1,67
12ac: 8526 mv a0,s1
12ae: b52ff0ef jal ra,600 <rt_device_open>
12b2: c004 sw s1,0(s0)
12b4: 854a mv a0,s2
12b6: 910ff06f j 3c6 <__riscv_restore_0>
000012ba <rt_hw_console_output>:
12ba: 8082 ret
000012bc <rt_kprintf>:
12bc: 7139 addi sp,sp,-64
12be: ca26 sw s1,20(sp)
12c0: d22e sw a1,36(sp)
12c2: d432 sw a2,40(sp)
12c4: d636 sw a3,44(sp)
12c6: 862a mv a2,a0
12c8: 1054 addi a3,sp,36
12ca: 07f00593 li a1,127
12ce: b6c18513 addi a0,gp,-1172 # 200005b4 <rt_log_buf.2693>
12d2: da3e sw a5,52(sp)
12d4: c636 sw a3,12(sp)
12d6: ce06 sw ra,28(sp)
12d8: cc22 sw s0,24(sp)
12da: d83a sw a4,48(sp)
12dc: dc42 sw a6,56(sp)
12de: de46 sw a7,60(sp)
12e0: 3989 jal f32 <rt_vsnprintf>
12e2: 86aa mv a3,a0
12e4: 81c1a503 lw a0,-2020(gp) # 20000264 <_console_device>
12e8: e909 bnez a0,12fa <rt_kprintf+0x3e>
12ea: b6c18513 addi a0,gp,-1172 # 200005b4 <rt_log_buf.2693>
12ee: 37f1 jal 12ba <rt_hw_console_output>
12f0: 40f2 lw ra,28(sp)
12f2: 4462 lw s0,24(sp)
12f4: 44d2 lw s1,20(sp)
12f6: 6121 addi sp,sp,64
12f8: 8082 ret
12fa: 8626 mv a2,s1
12fc: 2d26 lhu s1,26(a0)
12fe: 81c18413 addi s0,gp,-2020 # 20000264 <_console_device>
1302: 0404e793 ori a5,s1,64
1306: ad3e sh a5,26(a0)
1308: 07f00793 li a5,127
130c: 00d7f463 bgeu a5,a3,1314 <rt_kprintf+0x58>
1310: 07f00693 li a3,127
1314: b6c18613 addi a2,gp,-1172 # 200005b4 <rt_log_buf.2693>
1318: 4581 li a1,0
131a: bb6ff0ef jal ra,6d0 <rt_device_write>
131e: 401c lw a5,0(s0)
1320: afa6 sh s1,26(a5)
1322: b7f9 j 12f0 <rt_kprintf+0x34>
00001324 <rt_show_version>:
1324: 87eff2ef jal t0,3a2 <__riscv_save_0>
1328: 00005537 lui a0,0x5
132c: 24050513 addi a0,a0,576 # 5240 <large_digits.2583+0x14>
1330: 3771 jal 12bc <rt_kprintf>
1332: 00005537 lui a0,0x5
1336: 24c50513 addi a0,a0,588 # 524c <large_digits.2583+0x20>
133a: 3749 jal 12bc <rt_kprintf>
133c: 00005737 lui a4,0x5
1340: 00005537 lui a0,0x5
1344: 27070713 addi a4,a4,624 # 5270 <large_digits.2583+0x44>
1348: 468d li a3,3
134a: 4605 li a2,1
134c: 458d li a1,3
134e: 27c50513 addi a0,a0,636 # 527c <large_digits.2583+0x50>
1352: 37ad jal 12bc <rt_kprintf>
1354: 00005537 lui a0,0x5
1358: 29c50513 addi a0,a0,668 # 529c <large_digits.2583+0x70>
135c: 3785 jal 12bc <rt_kprintf>
135e: 868ff06f j 3c6 <__riscv_restore_0>
00001362 <__rt_ffs>:
1362: c531 beqz a0,13ae <__rt_ffs+0x4c>
1364: 6695 lui a3,0x5
1366: 0ff57713 andi a4,a0,255
136a: 12c68693 addi a3,a3,300 # 512c <__lowest_bit_bitmap>
136e: c709 beqz a4,1378 <__rt_ffs+0x16>
1370: 96ba add a3,a3,a4
1372: 2288 lbu a0,0(a3)
1374: 0505 addi a0,a0,1
1376: 8082 ret
1378: 67c1 lui a5,0x10
137a: f0078793 addi a5,a5,-256 # ff00 <__rt_init_end+0x978c>
137e: 8fe9 and a5,a5,a0
1380: cb81 beqz a5,1390 <__rt_ffs+0x2e>
1382: 8521 srai a0,a0,0x8
1384: 0ff57713 andi a4,a0,255
1388: 9736 add a4,a4,a3
138a: 2308 lbu a0,0(a4)
138c: 0525 addi a0,a0,9
138e: 8082 ret
1390: 00ff07b7 lui a5,0xff0
1394: 8fe9 and a5,a5,a0
1396: cb81 beqz a5,13a6 <__rt_ffs+0x44>
1398: 8541 srai a0,a0,0x10
139a: 0ff57793 andi a5,a0,255
139e: 97b6 add a5,a5,a3
13a0: 2388 lbu a0,0(a5)
13a2: 0545 addi a0,a0,17
13a4: 8082 ret
13a6: 8161 srli a0,a0,0x18
13a8: 9536 add a0,a0,a3
13aa: 2108 lbu a0,0(a0)
13ac: 0565 addi a0,a0,25
13ae: 8082 ret
000013b0 <plug_holes>:
13b0: 8241a703 lw a4,-2012(gp) # 2000026c <heap_ptr>
13b4: 415c lw a5,4(a0)
13b6: 97ba add a5,a5,a4
13b8: 02f50563 beq a0,a5,13e2 <plug_holes+0x32>
13bc: 23b6 lhu a3,2(a5)
13be: e295 bnez a3,13e2 <plug_holes+0x32>
13c0: 8201a683 lw a3,-2016(gp) # 20000268 <heap_end>
13c4: 00f68f63 beq a3,a5,13e2 <plug_holes+0x32>
13c8: 82818693 addi a3,gp,-2008 # 20000270 <lfree>
13cc: 4290 lw a2,0(a3)
13ce: 00f61363 bne a2,a5,13d4 <plug_holes+0x24>
13d2: c288 sw a0,0(a3)
13d4: 43d4 lw a3,4(a5)
13d6: c154 sw a3,4(a0)
13d8: 43dc lw a5,4(a5)
13da: 40e506b3 sub a3,a0,a4
13de: 97ba add a5,a5,a4
13e0: c794 sw a3,8(a5)
13e2: 4510 lw a2,8(a0)
13e4: 00c707b3 add a5,a4,a2
13e8: 00f50f63 beq a0,a5,1406 <plug_holes+0x56>
13ec: 23b6 lhu a3,2(a5)
13ee: ee81 bnez a3,1406 <plug_holes+0x56>
13f0: 82818693 addi a3,gp,-2008 # 20000270 <lfree>
13f4: 428c lw a1,0(a3)
13f6: 00a59363 bne a1,a0,13fc <plug_holes+0x4c>
13fa: c29c sw a5,0(a3)
13fc: 4154 lw a3,4(a0)
13fe: c3d4 sw a3,4(a5)
1400: 415c lw a5,4(a0)
1402: 973e add a4,a4,a5
1404: c710 sw a2,8(a4)
1406: 8082 ret
00001408 <list_mem>:
1408: f9bfe2ef jal t0,3a2 <__riscv_save_0>
140c: 8301a583 lw a1,-2000(gp) # 20000278 <mem_size_aligned>
1410: 00005537 lui a0,0x5
1414: 2e450513 addi a0,a0,740 # 52e4 <small_digits.2582+0x14>
1418: 3555 jal 12bc <rt_kprintf>
141a: 83c1a583 lw a1,-1988(gp) # 20000284 <used_mem>
141e: 00005537 lui a0,0x5
1422: 2f850513 addi a0,a0,760 # 52f8 <small_digits.2582+0x28>
1426: 3d59 jal 12bc <rt_kprintf>
1428: 82c1a583 lw a1,-2004(gp) # 20000274 <max_mem>
142c: 00005537 lui a0,0x5
1430: 30c50513 addi a0,a0,780 # 530c <small_digits.2582+0x3c>
1434: 3561 jal 12bc <rt_kprintf>
1436: f91fe06f j 3c6 <__riscv_restore_0>
0000143a <rt_system_heap_init>:
143a: f69fe2ef jal t0,3a2 <__riscv_save_0>
143e: ffc5f713 andi a4,a1,-4
1442: 46e1 li a3,24
1444: 862e mv a2,a1
1446: 06e6f163 bgeu a3,a4,14a8 <rt_system_heap_init+0x6e>
144a: 00350793 addi a5,a0,3
144e: 9bf1 andi a5,a5,-4
1450: fe870693 addi a3,a4,-24
1454: 04f6ea63 bltu a3,a5,14a8 <rt_system_heap_init+0x6e>
1458: 8f1d sub a4,a4,a5
145a: fe870613 addi a2,a4,-24
145e: 82c1a823 sw a2,-2000(gp) # 20000278 <mem_size_aligned>
1462: 6689 lui a3,0x2
1464: 1751 addi a4,a4,-12
1466: 82418413 addi s0,gp,-2012 # 2000026c <heap_ptr>
146a: ea068693 addi a3,a3,-352 # 1ea0 <rt_hw_interrupt_disable+0xa>
146e: c3d8 sw a4,4(a5)
1470: c394 sw a3,0(a5)
1472: 0007a423 sw zero,8(a5) # ff0008 <__rt_init_end+0xfe9894>
1476: c01c sw a5,0(s0)
1478: 97ba add a5,a5,a4
147a: 82f1a023 sw a5,-2016(gp) # 20000268 <heap_end>
147e: 66c9 lui a3,0x12
1480: ea068693 addi a3,a3,-352 # 11ea0 <__rt_init_end+0xb72c>
1484: 000055b7 lui a1,0x5
1488: c394 sw a3,0(a5)
148a: c3d8 sw a4,4(a5)
148c: c798 sw a4,8(a5)
148e: 4681 li a3,0
1490: 4605 li a2,1
1492: 3a458593 addi a1,a1,932 # 53a4 <__fsym_list_mem_name+0x58>
1496: bec18513 addi a0,gp,-1044 # 20000634 <heap_sem>
149a: ba4ff0ef jal ra,83e <rt_sem_init>
149e: 4018 lw a4,0(s0)
14a0: 82e1a423 sw a4,-2008(gp) # 20000270 <lfree>
14a4: f23fe06f j 3c6 <__riscv_restore_0>
14a8: 85aa mv a1,a0
14aa: 00005537 lui a0,0x5
14ae: 3ac50513 addi a0,a0,940 # 53ac <__fsym_list_mem_name+0x60>
14b2: 3529 jal 12bc <rt_kprintf>
14b4: bfc5 j 14a4 <rt_system_heap_init+0x6a>
000014b6 <rt_malloc>:
14b6: eedfe2ef jal t0,3a2 <__riscv_save_0>
14ba: c539 beqz a0,1508 <rt_malloc+0x52>
14bc: 8301a703 lw a4,-2000(gp) # 20000278 <mem_size_aligned>
14c0: 00350413 addi s0,a0,3
14c4: 9871 andi s0,s0,-4
14c6: 83018913 addi s2,gp,-2000 # 20000278 <mem_size_aligned>
14ca: 4481 li s1,0
14cc: 0e876663 bltu a4,s0,15b8 <rt_malloc+0x102>
14d0: 47b1 li a5,12
14d2: 00f47363 bgeu s0,a5,14d8 <rt_malloc+0x22>
14d6: 4431 li s0,12
14d8: 55fd li a1,-1
14da: bec18513 addi a0,gp,-1044 # 20000634 <heap_sem>
14de: b88ff0ef jal ra,866 <rt_sem_take>
14e2: 8281a783 lw a5,-2008(gp) # 20000270 <lfree>
14e6: 8241a583 lw a1,-2012(gp) # 2000026c <heap_ptr>
14ea: 00092883 lw a7,0(s2)
14ee: 8526 mv a0,s1
14f0: 40b78633 sub a2,a5,a1
14f4: 408886b3 sub a3,a7,s0
14f8: 82818813 addi a6,gp,-2008 # 20000270 <lfree>
14fc: 00d66863 bltu a2,a3,150c <rt_malloc+0x56>
1500: bec18513 addi a0,gp,-1044 # 20000634 <heap_sem>
1504: be2ff0ef jal ra,8e6 <rt_sem_release>
1508: 4481 li s1,0
150a: a07d j 15b8 <rt_malloc+0x102>
150c: 00c584b3 add s1,a1,a2
1510: 20ba lhu a4,2(s1)
1512: 0044ae03 lw t3,4(s1)
1516: e761 bnez a4,15de <rt_malloc+0x128>
1518: 40ce0733 sub a4,t3,a2
151c: ff470f93 addi t6,a4,-12
1520: 0a8fef63 bltu t6,s0,15de <rt_malloc+0x128>
1524: 83c18f13 addi t5,gp,-1988 # 20000284 <used_mem>
1528: 82c18e93 addi t4,gp,-2004 # 20000274 <max_mem>
152c: 01840313 addi t1,s0,24
1530: 000f2683 lw a3,0(t5)
1534: 000ea383 lw t2,0(t4)
1538: 83c18913 addi s2,gp,-1988 # 20000284 <used_mem>
153c: 82c18293 addi t0,gp,-2004 # 20000274 <max_mem>
1540: 066fef63 bltu t6,t1,15be <rt_malloc+0x108>
1544: 00c40713 addi a4,s0,12
1548: 9732 add a4,a4,a2
154a: 6e89 lui t4,0x2
154c: 00e58333 add t1,a1,a4
1550: ea0e8e93 addi t4,t4,-352 # 1ea0 <rt_hw_interrupt_disable+0xa>
1554: 01c32223 sw t3,4(t1)
1558: 00c32423 sw a2,8(t1)
155c: 01d32023 sw t4,0(t1)
1560: 4605 li a2,1
1562: c0d8 sw a4,4(s1)
1564: a0b2 sh a2,2(s1)
1566: 00432603 lw a2,4(t1)
156a: 08b1 addi a7,a7,12
156c: 01160463 beq a2,a7,1574 <rt_malloc+0xbe>
1570: 962e add a2,a2,a1
1572: c618 sw a4,8(a2)
1574: 00c68713 addi a4,a3,12
1578: 9722 add a4,a4,s0
157a: 00e92023 sw a4,0(s2)
157e: 00e3f463 bgeu t2,a4,1586 <rt_malloc+0xd0>
1582: 00e2a023 sw a4,0(t0) # 460 <memset+0x8e>
1586: 6709 lui a4,0x2
1588: ea070713 addi a4,a4,-352 # 1ea0 <rt_hw_interrupt_disable+0xa>
158c: a09a sh a4,0(s1)
158e: 00979a63 bne a5,s1,15a2 <rt_malloc+0xec>
1592: 8201a683 lw a3,-2016(gp) # 20000268 <heap_end>
1596: 4701 li a4,0
1598: 23b2 lhu a2,2(a5)
159a: ee05 bnez a2,15d2 <rt_malloc+0x11c>
159c: c319 beqz a4,15a2 <rt_malloc+0xec>
159e: 00f82023 sw a5,0(a6)
15a2: bec18513 addi a0,gp,-1044 # 20000634 <heap_sem>
15a6: b40ff0ef jal ra,8e6 <rt_sem_release>
15aa: 8381a783 lw a5,-1992(gp) # 20000280 <rt_malloc_hook>
15ae: 04b1 addi s1,s1,12
15b0: c781 beqz a5,15b8 <rt_malloc+0x102>
15b2: 85a2 mv a1,s0
15b4: 8526 mv a0,s1
15b6: 9782 jalr a5
15b8: 8526 mv a0,s1
15ba: e0dfe06f j 3c6 <__riscv_restore_0>
15be: 4605 li a2,1
15c0: 9736 add a4,a4,a3
15c2: a0b2 sh a2,2(s1)
15c4: 00ef2023 sw a4,0(t5)
15c8: fae3ffe3 bgeu t2,a4,1586 <rt_malloc+0xd0>
15cc: 00eea023 sw a4,0(t4)
15d0: bf5d j 1586 <rt_malloc+0xd0>
15d2: fcd785e3 beq a5,a3,159c <rt_malloc+0xe6>
15d6: 43dc lw a5,4(a5)
15d8: 4705 li a4,1
15da: 97ae add a5,a5,a1
15dc: bf75 j 1598 <rt_malloc+0xe2>
15de: 8672 mv a2,t3
15e0: bf31 j 14fc <rt_malloc+0x46>
000015e2 <rt_calloc>:
15e2: dc1fe2ef jal t0,3a2 <__riscv_save_0>
15e6: 02b50633 mul a2,a0,a1
15ea: 1141 addi sp,sp,-16
15ec: 8532 mv a0,a2
15ee: c632 sw a2,12(sp)
15f0: 35d9 jal 14b6 <rt_malloc>
15f2: 842a mv s0,a0
15f4: c509 beqz a0,15fe <rt_calloc+0x1c>
15f6: 4632 lw a2,12(sp)
15f8: 4581 li a1,0
15fa: f4eff0ef jal ra,d48 <rt_memset>
15fe: 8522 mv a0,s0
1600: 0141 addi sp,sp,16
1602: dc5fe06f j 3c6 <__riscv_restore_0>
00001606 <rt_free>:
1606: c545 beqz a0,16ae <rt_free+0xa8>
1608: d81fe2ef jal t0,388 <__riscv_save_4>
160c: 8341a783 lw a5,-1996(gp) # 2000027c <rt_free_hook>
1610: 842a mv s0,a0
1612: c391 beqz a5,1616 <rt_free+0x10>
1614: 9782 jalr a5
1616: 8241a783 lw a5,-2012(gp) # 2000026c <heap_ptr>
161a: 82418913 addi s2,gp,-2012 # 2000026c <heap_ptr>
161e: 08f46663 bltu s0,a5,16aa <rt_free+0xa4>
1622: 8201a783 lw a5,-2016(gp) # 20000268 <heap_end>
1626: 08f47263 bgeu s0,a5,16aa <rt_free+0xa4>
162a: 55fd li a1,-1
162c: bec18513 addi a0,gp,-1044 # 20000634 <heap_sem>
1630: a36ff0ef jal ra,866 <rt_sem_take>
1634: ff645783 lhu a5,-10(s0)
1638: ff440993 addi s3,s0,-12
163c: cb81 beqz a5,164c <rt_free+0x46>
163e: ff445703 lhu a4,-12(s0)
1642: 6789 lui a5,0x2
1644: ea078793 addi a5,a5,-352 # 1ea0 <rt_hw_interrupt_disable+0xa>
1648: 02f70163 beq a4,a5,166a <rt_free+0x64>
164c: 00005537 lui a0,0x5
1650: 35850513 addi a0,a0,856 # 5358 <__fsym_list_mem_name+0xc>
1654: 31a5 jal 12bc <rt_kprintf>
1656: ff445683 lhu a3,-12(s0)
165a: ff645603 lhu a2,-10(s0)
165e: 00005537 lui a0,0x5
1662: 85ce mv a1,s3
1664: 37450513 addi a0,a0,884 # 5374 <__fsym_list_mem_name+0x28>
1668: 3991 jal 12bc <rt_kprintf>
166a: 6789 lui a5,0x2
166c: ea078793 addi a5,a5,-352 # 1ea0 <rt_hw_interrupt_disable+0xa>
1670: fef41a23 sh a5,-12(s0)
1674: 82818793 addi a5,gp,-2008 # 20000270 <lfree>
1678: 4398 lw a4,0(a5)
167a: fe041b23 sh zero,-10(s0)
167e: 00e9f463 bgeu s3,a4,1686 <rt_free+0x80>
1682: 0137a023 sw s3,0(a5)
1686: 83c18713 addi a4,gp,-1988 # 20000284 <used_mem>
168a: 431c lw a5,0(a4)
168c: ff842683 lw a3,-8(s0)
1690: 854e mv a0,s3
1692: 8f95 sub a5,a5,a3
1694: 00092683 lw a3,0(s2)
1698: 40d986b3 sub a3,s3,a3
169c: 97b6 add a5,a5,a3
169e: c31c sw a5,0(a4)
16a0: 3b01 jal 13b0 <plug_holes>
16a2: bec18513 addi a0,gp,-1044 # 20000634 <heap_sem>
16a6: a40ff0ef jal ra,8e6 <rt_sem_release>
16aa: d13fe06f j 3bc <__riscv_restore_4>
16ae: 8082 ret
000016b0 <rt_object_get_information>:
16b0: 200007b7 lui a5,0x20000
16b4: 00078693 mv a3,a5
16b8: 4701 li a4,0
16ba: 00078793 mv a5,a5
16be: 4621 li a2,8
16c0: 428c lw a1,0(a3)
16c2: 00a59663 bne a1,a0,16ce <rt_object_get_information+0x1e>
16c6: 00471513 slli a0,a4,0x4
16ca: 953e add a0,a0,a5
16cc: 8082 ret
16ce: 0705 addi a4,a4,1
16d0: 06c1 addi a3,a3,16
16d2: fec717e3 bne a4,a2,16c0 <rt_object_get_information+0x10>
16d6: 4501 li a0,0
16d8: 8082 ret
000016da <rt_object_init>:
16da: caffe2ef jal t0,388 <__riscv_save_4>
16de: 842a mv s0,a0
16e0: 852e mv a0,a1
16e2: 89ae mv s3,a1
16e4: 8a32 mv s4,a2
16e6: 37e9 jal 16b0 <rt_object_get_information>
16e8: 892a mv s2,a0
16ea: 2ca9 jal 1944 <rt_enter_critical>
16ec: 00492483 lw s1,4(s2)
16f0: 00490793 addi a5,s2,4
16f4: 04f49063 bne s1,a5,1734 <rt_object_init+0x5a>
16f8: 248d jal 195a <rt_exit_critical>
16fa: f809e993 ori s3,s3,-128
16fe: 01340423 sb s3,8(s0)
1702: 4621 li a2,8
1704: 85d2 mv a1,s4
1706: 8522 mv a0,s0
1708: fc2ff0ef jal ra,eca <rt_strncpy>
170c: 8401a783 lw a5,-1984(gp) # 20000288 <rt_object_attach_hook>
1710: c399 beqz a5,1716 <rt_object_init+0x3c>
1712: 8522 mv a0,s0
1714: 9782 jalr a5
1716: 780000ef jal ra,1e96 <rt_hw_interrupt_disable>
171a: 00492703 lw a4,4(s2)
171e: 00c40793 addi a5,s0,12
1722: c35c sw a5,4(a4)
1724: c458 sw a4,12(s0)
1726: 00f92223 sw a5,4(s2)
172a: c804 sw s1,16(s0)
172c: 776000ef jal ra,1ea2 <rt_hw_interrupt_enable>
1730: c8dfe06f j 3bc <__riscv_restore_4>
1734: 4084 lw s1,0(s1)
1736: bf7d j 16f4 <rt_object_init+0x1a>
00001738 <rt_object_detach>:
1738: c6bfe2ef jal t0,3a2 <__riscv_save_0>
173c: 8441a783 lw a5,-1980(gp) # 2000028c <rt_object_detach_hook>
1740: 842a mv s0,a0
1742: c391 beqz a5,1746 <rt_object_detach+0xe>
1744: 9782 jalr a5
1746: 00040423 sb zero,8(s0)
174a: 74c000ef jal ra,1e96 <rt_hw_interrupt_disable>
174e: 4454 lw a3,12(s0)
1750: 4818 lw a4,16(s0)
1752: 00c40793 addi a5,s0,12
1756: c2d8 sw a4,4(a3)
1758: c314 sw a3,0(a4)
175a: c81c sw a5,16(s0)
175c: c45c sw a5,12(s0)
175e: 744000ef jal ra,1ea2 <rt_hw_interrupt_enable>
1762: c65fe06f j 3c6 <__riscv_restore_0>
00001766 <rt_object_allocate>:
1766: c23fe2ef jal t0,388 <__riscv_save_4>
176a: 892e mv s2,a1
176c: 89aa mv s3,a0
176e: 3789 jal 16b0 <rt_object_get_information>
1770: 84aa mv s1,a0
1772: 4548 lw a0,12(a0)
1774: 3389 jal 14b6 <rt_malloc>
1776: 842a mv s0,a0
1778: cd1d beqz a0,17b6 <rt_object_allocate+0x50>
177a: 44d0 lw a2,12(s1)
177c: 4581 li a1,0
177e: dcaff0ef jal ra,d48 <rt_memset>
1782: 4621 li a2,8
1784: 01340423 sb s3,8(s0)
1788: 000404a3 sb zero,9(s0)
178c: 85ca mv a1,s2
178e: 8522 mv a0,s0
1790: f3aff0ef jal ra,eca <rt_strncpy>
1794: 8401a783 lw a5,-1984(gp) # 20000288 <rt_object_attach_hook>
1798: c399 beqz a5,179e <rt_object_allocate+0x38>
179a: 8522 mv a0,s0
179c: 9782 jalr a5
179e: 6f8000ef jal ra,1e96 <rt_hw_interrupt_disable>
17a2: 40d8 lw a4,4(s1)
17a4: 00c40793 addi a5,s0,12
17a8: 0491 addi s1,s1,4
17aa: c35c sw a5,4(a4)
17ac: c458 sw a4,12(s0)
17ae: c09c sw a5,0(s1)
17b0: c804 sw s1,16(s0)
17b2: 6f0000ef jal ra,1ea2 <rt_hw_interrupt_enable>
17b6: 8522 mv a0,s0
17b8: c05fe06f j 3bc <__riscv_restore_4>
000017bc <rt_object_delete>:
17bc: be7fe2ef jal t0,3a2 <__riscv_save_0>
17c0: 8441a783 lw a5,-1980(gp) # 2000028c <rt_object_detach_hook>
17c4: 842a mv s0,a0
17c6: c391 beqz a5,17ca <rt_object_delete+0xe>
17c8: 9782 jalr a5
17ca: 00040423 sb zero,8(s0)
17ce: 6c8000ef jal ra,1e96 <rt_hw_interrupt_disable>
17d2: 4454 lw a3,12(s0)
17d4: 4818 lw a4,16(s0)
17d6: 00c40793 addi a5,s0,12
17da: c2d8 sw a4,4(a3)
17dc: c314 sw a3,0(a4)
17de: c81c sw a5,16(s0)
17e0: c45c sw a5,12(s0)
17e2: 6c0000ef jal ra,1ea2 <rt_hw_interrupt_enable>
17e6: 8522 mv a0,s0
17e8: 3d39 jal 1606 <rt_free>
17ea: bddfe06f j 3c6 <__riscv_restore_0>
000017ee <rt_object_is_systemobject>:
17ee: 00850503 lb a0,8(a0)
17f2: 817d srli a0,a0,0x1f
17f4: 8082 ret
000017f6 <rt_system_scheduler_init>:
17f6: 86019023 sh zero,-1952(gp) # 200002a8 <rt_scheduler_lock_nest>
17fa: c0c18793 addi a5,gp,-1012 # 20000654 <rt_thread_priority_table>
17fe: 08078713 addi a4,a5,128 # 20000080 <pin_irq_hdr_tab>
1802: c3dc sw a5,4(a5)
1804: c39c sw a5,0(a5)
1806: 07a1 addi a5,a5,8
1808: fee79de3 bne a5,a4,1802 <rt_system_scheduler_init+0xc>
180c: 473d li a4,15
180e: 84e18a23 sb a4,-1964(gp) # 2000029c <rt_current_priority>
1812: 8401ac23 sw zero,-1960(gp) # 200002a0 <rt_current_thread>
1816: 8601a623 sw zero,-1940(gp) # 200002b4 <rt_thread_ready_priority_group>
181a: 86418793 addi a5,gp,-1948 # 200002ac <rt_thread_defunct>
181e: c3dc sw a5,4(a5)
1820: c39c sw a5,0(a5)
1822: 8082 ret
00001824 <rt_system_scheduler_start>:
1824: b7ffe2ef jal t0,3a2 <__riscv_save_0>
1828: 86c1a503 lw a0,-1940(gp) # 200002b4 <rt_thread_ready_priority_group>
182c: b37ff0ef jal ra,1362 <__rt_ffs>
1830: 157d addi a0,a0,-1
1832: 00351793 slli a5,a0,0x3
1836: c0c18513 addi a0,gp,-1012 # 20000654 <rt_thread_priority_table>
183a: 953e add a0,a0,a5
183c: 4108 lw a0,0(a0)
183e: fec50713 addi a4,a0,-20
1842: 0521 addi a0,a0,8
1844: 84e1ac23 sw a4,-1960(gp) # 200002a0 <rt_current_thread>
1848: 979fe0ef jal ra,1c0 <rt_hw_context_switch_to>
184c: b7bfe06f j 3c6 <__riscv_restore_0>
00001850 <rt_schedule>:
1850: b53fe2ef jal t0,3a2 <__riscv_save_0>
1854: 642000ef jal ra,1e96 <rt_hw_interrupt_disable>
1858: 86019783 lh a5,-1952(gp) # 200002a8 <rt_scheduler_lock_nest>
185c: 892a mv s2,a0
185e: e7b1 bnez a5,18aa <rt_schedule+0x5a>
1860: 86c1a503 lw a0,-1940(gp) # 200002b4 <rt_thread_ready_priority_group>
1864: affff0ef jal ra,1362 <__rt_ffs>
1868: 157d addi a0,a0,-1
186a: 00351713 slli a4,a0,0x3
186e: c0c18793 addi a5,gp,-1012 # 20000654 <rt_thread_priority_table>
1872: 97ba add a5,a5,a4
1874: 4384 lw s1,0(a5)
1876: 85818793 addi a5,gp,-1960 # 200002a0 <rt_current_thread>
187a: 4380 lw s0,0(a5)
187c: fec48593 addi a1,s1,-20
1880: 02b40563 beq s0,a1,18aa <rt_schedule+0x5a>
1884: c38c sw a1,0(a5)
1886: 85c1a783 lw a5,-1956(gp) # 200002a4 <rt_scheduler_hook>
188a: 84a18a23 sb a0,-1964(gp) # 2000029c <rt_current_priority>
188e: c399 beqz a5,1894 <rt_schedule+0x44>
1890: 8522 mv a0,s0
1892: 9782 jalr a5
1894: 8141c783 lbu a5,-2028(gp) # 2000025c <rt_interrupt_nest>
1898: 01c40513 addi a0,s0,28
189c: 00848593 addi a1,s1,8
18a0: 0ff7f793 andi a5,a5,255
18a4: eb81 bnez a5,18b4 <rt_schedule+0x64>
18a6: 937fe0ef jal ra,1dc <rt_hw_context_switch>
18aa: 854a mv a0,s2
18ac: 5f6000ef jal ra,1ea2 <rt_hw_interrupt_enable>
18b0: b17fe06f j 3c6 <__riscv_restore_0>
18b4: 5f4000ef jal ra,1ea8 <rt_hw_context_switch_interrupt>
18b8: bfcd j 18aa <rt_schedule+0x5a>
000018ba <rt_schedule_insert_thread>:
18ba: ae9fe2ef jal t0,3a2 <__riscv_save_0>
18be: 842a mv s0,a0
18c0: 5d6000ef jal ra,1e96 <rt_hw_interrupt_disable>
18c4: 03444783 lbu a5,52(s0)
18c8: 01440693 addi a3,s0,20
18cc: 9bc1 andi a5,a5,-16
18ce: 0017e793 ori a5,a5,1
18d2: 02f40a23 sb a5,52(s0)
18d6: 03544783 lbu a5,53(s0)
18da: 00379713 slli a4,a5,0x3
18de: c0c18793 addi a5,gp,-1012 # 20000654 <rt_thread_priority_table>
18e2: 97ba add a5,a5,a4
18e4: 43d8 lw a4,4(a5)
18e6: c314 sw a3,0(a4)
18e8: cc18 sw a4,24(s0)
18ea: c3d4 sw a3,4(a5)
18ec: c85c sw a5,20(s0)
18ee: 86c18793 addi a5,gp,-1940 # 200002b4 <rt_thread_ready_priority_group>
18f2: 4394 lw a3,0(a5)
18f4: 5c18 lw a4,56(s0)
18f6: 8f55 or a4,a4,a3
18f8: c398 sw a4,0(a5)
18fa: 5a8000ef jal ra,1ea2 <rt_hw_interrupt_enable>
18fe: ac9fe06f j 3c6 <__riscv_restore_0>
00001902 <rt_schedule_remove_thread>:
1902: aa1fe2ef jal t0,3a2 <__riscv_save_0>
1906: 842a mv s0,a0
1908: 2379 jal 1e96 <rt_hw_interrupt_disable>
190a: 4c18 lw a4,24(s0)
190c: 4854 lw a3,20(s0)
190e: 01440793 addi a5,s0,20
1912: c2d8 sw a4,4(a3)
1914: c314 sw a3,0(a4)
1916: c85c sw a5,20(s0)
1918: cc1c sw a5,24(s0)
191a: 03544783 lbu a5,53(s0)
191e: 00379713 slli a4,a5,0x3
1922: c0c18793 addi a5,gp,-1012 # 20000654 <rt_thread_priority_table>
1926: 97ba add a5,a5,a4
1928: 4398 lw a4,0(a5)
192a: 00f71a63 bne a4,a5,193e <rt_schedule_remove_thread+0x3c>
192e: 86c18713 addi a4,gp,-1940 # 200002b4 <rt_thread_ready_priority_group>
1932: 5c1c lw a5,56(s0)
1934: 4314 lw a3,0(a4)
1936: fff7c793 not a5,a5
193a: 8ff5 and a5,a5,a3
193c: c31c sw a5,0(a4)
193e: 2395 jal 1ea2 <rt_hw_interrupt_enable>
1940: a87fe06f j 3c6 <__riscv_restore_0>
00001944 <rt_enter_critical>:
1944: a5ffe2ef jal t0,3a2 <__riscv_save_0>
1948: 23b9 jal 1e96 <rt_hw_interrupt_disable>
194a: 86018793 addi a5,gp,-1952 # 200002a8 <rt_scheduler_lock_nest>
194e: 239a lhu a4,0(a5)
1950: 0705 addi a4,a4,1
1952: a39a sh a4,0(a5)
1954: 23b9 jal 1ea2 <rt_hw_interrupt_enable>
1956: a71fe06f j 3c6 <__riscv_restore_0>
0000195a <rt_exit_critical>:
195a: a49fe2ef jal t0,3a2 <__riscv_save_0>
195e: 2b25 jal 1e96 <rt_hw_interrupt_disable>
1960: 86018713 addi a4,gp,-1952 # 200002a8 <rt_scheduler_lock_nest>
1964: 231e lhu a5,0(a4)
1966: 17fd addi a5,a5,-1
1968: 07c2 slli a5,a5,0x10
196a: 87c1 srai a5,a5,0x10
196c: a31e sh a5,0(a4)
196e: 00f04b63 bgtz a5,1984 <rt_exit_critical+0x2a>
1972: 00071023 sh zero,0(a4)
1976: 2335 jal 1ea2 <rt_hw_interrupt_enable>
1978: 8581a783 lw a5,-1960(gp) # 200002a0 <rt_current_thread>
197c: c391 beqz a5,1980 <rt_exit_critical+0x26>
197e: 3dc9 jal 1850 <rt_schedule>
1980: a47fe06f j 3c6 <__riscv_restore_0>
1984: 2b39 jal 1ea2 <rt_hw_interrupt_enable>
1986: bfed j 1980 <rt_exit_critical+0x26>
00001988 <rt_thread_exit>:
1988: a1bfe2ef jal t0,3a2 <__riscv_save_0>
198c: 8581a403 lw s0,-1960(gp) # 200002a0 <rt_current_thread>
1990: 2319 jal 1e96 <rt_hw_interrupt_disable>
1992: 84aa mv s1,a0
1994: 8522 mv a0,s0
1996: 37b5 jal 1902 <rt_schedule_remove_thread>
1998: 4791 li a5,4
199a: 02f40a23 sb a5,52(s0)
199e: 04c40513 addi a0,s0,76
19a2: 2e11 jal 1cb6 <rt_timer_detach>
19a4: 8522 mv a0,s0
19a6: 35a1 jal 17ee <rt_object_is_systemobject>
19a8: 4785 li a5,1
19aa: 00f51c63 bne a0,a5,19c2 <rt_thread_exit+0x3a>
19ae: 5c3c lw a5,120(s0)
19b0: eb89 bnez a5,19c2 <rt_thread_exit+0x3a>
19b2: 8522 mv a0,s0
19b4: d85ff0ef jal ra,1738 <rt_object_detach>
19b8: 8526 mv a0,s1
19ba: 21e5 jal 1ea2 <rt_hw_interrupt_enable>
19bc: 3d51 jal 1850 <rt_schedule>
19be: a09fe06f j 3c6 <__riscv_restore_0>
19c2: 8641a683 lw a3,-1948(gp) # 200002ac <rt_thread_defunct>
19c6: 01440713 addi a4,s0,20
19ca: 86e1a223 sw a4,-1948(gp) # 200002ac <rt_thread_defunct>
19ce: c2d8 sw a4,4(a3)
19d0: 86418793 addi a5,gp,-1948 # 200002ac <rt_thread_defunct>
19d4: c854 sw a3,20(s0)
19d6: cc1c sw a5,24(s0)
19d8: b7c5 j 19b8 <rt_thread_exit+0x30>
000019da <_rt_thread_init.isra.0>:
19da: 9c9fe2ef jal t0,3a2 <__riscv_save_0>
19de: 842a mv s0,a0
19e0: 0551 addi a0,a0,20
19e2: 1141 addi sp,sp,-16
19e4: cc08 sw a0,24(s0)
19e6: c848 sw a0,20(s0)
19e8: d00c sw a1,32(s0)
19ea: d050 sw a2,36(s0)
19ec: d414 sw a3,40(s0)
19ee: 863a mv a2,a4
19f0: d458 sw a4,44(s0)
19f2: 02300593 li a1,35
19f6: 8536 mv a0,a3
19f8: c63e sw a5,12(sp)
19fa: c442 sw a6,8(sp)
19fc: b4cff0ef jal ra,d48 <rt_memset>
1a00: 5458 lw a4,44(s0)
1a02: 5410 lw a2,40(s0)
1a04: 504c lw a1,36(s0)
1a06: 5008 lw a0,32(s0)
1a08: 1771 addi a4,a4,-4
1a0a: 000026b7 lui a3,0x2
1a0e: 963a add a2,a2,a4
1a10: 98868693 addi a3,a3,-1656 # 1988 <rt_thread_exit>
1a14: 213d jal 1e42 <rt_hw_stack_init>
1a16: 47b2 lw a5,12(sp)
1a18: 4822 lw a6,8(sp)
1a1a: 00002637 lui a2,0x2
1a1e: cc48 sw a0,28(s0)
1a20: 02f40b23 sb a5,54(s0)
1a24: 02f40aa3 sb a5,53(s0)
1a28: 02042c23 sw zero,56(s0)
1a2c: 4781 li a5,0
1a2e: 05042223 sw a6,68(s0)
1a32: 05042423 sw a6,72(s0)
1a36: 02042823 sw zero,48(s0)
1a3a: 02040a23 sb zero,52(s0)
1a3e: 06042c23 sw zero,120(s0)
1a42: 06042e23 sw zero,124(s0)
1a46: 4701 li a4,0
1a48: 86a2 mv a3,s0
1a4a: a6860613 addi a2,a2,-1432 # 1a68 <rt_thread_timeout>
1a4e: 85a2 mv a1,s0
1a50: 04c40513 addi a0,s0,76
1a54: 2425 jal 1c7c <rt_timer_init>
1a56: 8701a783 lw a5,-1936(gp) # 200002b8 <rt_thread_inited_hook>
1a5a: c399 beqz a5,1a60 <_rt_thread_init.isra.0+0x86>
1a5c: 8522 mv a0,s0
1a5e: 9782 jalr a5
1a60: 4501 li a0,0
1a62: 0141 addi sp,sp,16
1a64: 963fe06f j 3c6 <__riscv_restore_0>
00001a68 <rt_thread_timeout>:
1a68: 93bfe2ef jal t0,3a2 <__riscv_save_0>
1a6c: 4950 lw a2,20(a0)
1a6e: 4d14 lw a3,24(a0)
1a70: 5779 li a4,-2
1a72: d918 sw a4,48(a0)
1a74: c254 sw a3,4(a2)
1a76: 01450713 addi a4,a0,20
1a7a: c290 sw a2,0(a3)
1a7c: cd18 sw a4,24(a0)
1a7e: c958 sw a4,20(a0)
1a80: 3d2d jal 18ba <rt_schedule_insert_thread>
1a82: dcfff0ef jal ra,1850 <rt_schedule>
1a86: 941fe06f j 3c6 <__riscv_restore_0>
00001a8a <rt_thread_init>:
1a8a: 919fe2ef jal t0,3a2 <__riscv_save_0>
1a8e: 1141 addi sp,sp,-16
1a90: 84b2 mv s1,a2
1a92: 862e mv a2,a1
1a94: 4585 li a1,1
1a96: 842a mv s0,a0
1a98: 8936 mv s2,a3
1a9a: c046 sw a7,0(sp)
1a9c: c63a sw a4,12(sp)
1a9e: c43e sw a5,8(sp)
1aa0: c242 sw a6,4(sp)
1aa2: c39ff0ef jal ra,16da <rt_object_init>
1aa6: 4802 lw a6,0(sp)
1aa8: 4792 lw a5,4(sp)
1aaa: 4722 lw a4,8(sp)
1aac: 46b2 lw a3,12(sp)
1aae: 864a mv a2,s2
1ab0: 85a6 mv a1,s1
1ab2: 8522 mv a0,s0
1ab4: 371d jal 19da <_rt_thread_init.isra.0>
1ab6: 0141 addi sp,sp,16
1ab8: 90ffe06f j 3c6 <__riscv_restore_0>
00001abc <rt_thread_self>:
1abc: 8581a503 lw a0,-1960(gp) # 200002a0 <rt_current_thread>
1ac0: 8082 ret
00001ac2 <rt_thread_create>:
1ac2: 8c7fe2ef jal t0,388 <__riscv_save_4>
1ac6: 1141 addi sp,sp,-16
1ac8: 892e mv s2,a1
1aca: 85aa mv a1,a0
1acc: 4505 li a0,1
1ace: c632 sw a2,12(sp)
1ad0: 84b6 mv s1,a3
1ad2: 89ba mv s3,a4
1ad4: 8a3e mv s4,a5
1ad6: c91ff0ef jal ra,1766 <rt_object_allocate>
1ada: 842a mv s0,a0
1adc: c911 beqz a0,1af0 <rt_thread_create+0x2e>
1ade: 8526 mv a0,s1
1ae0: 9d7ff0ef jal ra,14b6 <rt_malloc>
1ae4: 4632 lw a2,12(sp)
1ae6: e909 bnez a0,1af8 <rt_thread_create+0x36>
1ae8: 8522 mv a0,s0
1aea: cd3ff0ef jal ra,17bc <rt_object_delete>
1aee: 4401 li s0,0
1af0: 8522 mv a0,s0
1af2: 0141 addi sp,sp,16
1af4: 8c9fe06f j 3bc <__riscv_restore_4>
1af8: 86aa mv a3,a0
1afa: 8852 mv a6,s4
1afc: 87ce mv a5,s3
1afe: 8726 mv a4,s1
1b00: 85ca mv a1,s2
1b02: 8522 mv a0,s0
1b04: 3dd9 jal 19da <_rt_thread_init.isra.0>
1b06: b7ed j 1af0 <rt_thread_create+0x2e>
00001b08 <rt_thread_yield>:
1b08: 89bfe2ef jal t0,3a2 <__riscv_save_0>
1b0c: 2669 jal 1e96 <rt_hw_interrupt_disable>
1b0e: 8581a783 lw a5,-1960(gp) # 200002a0 <rt_current_thread>
1b12: 4605 li a2,1
1b14: 86aa mv a3,a0
1b16: 0347c703 lbu a4,52(a5)
1b1a: 8b3d andi a4,a4,15
1b1c: 02c71c63 bne a4,a2,1b54 <rt_thread_yield+0x4c>
1b20: 4bd0 lw a2,20(a5)
1b22: 4f98 lw a4,24(a5)
1b24: 02e60863 beq a2,a4,1b54 <rt_thread_yield+0x4c>
1b28: c258 sw a4,4(a2)
1b2a: c310 sw a2,0(a4)
1b2c: 0357c603 lbu a2,53(a5)
1b30: 01478693 addi a3,a5,20
1b34: 060e slli a2,a2,0x3
1b36: c0c18713 addi a4,gp,-1012 # 20000654 <rt_thread_priority_table>
1b3a: cf94 sw a3,24(a5)
1b3c: 9732 add a4,a4,a2
1b3e: 4350 lw a2,4(a4)
1b40: c214 sw a3,0(a2)
1b42: cf90 sw a2,24(a5)
1b44: c354 sw a3,4(a4)
1b46: cbd8 sw a4,20(a5)
1b48: 2ea9 jal 1ea2 <rt_hw_interrupt_enable>
1b4a: d07ff0ef jal ra,1850 <rt_schedule>
1b4e: 4501 li a0,0
1b50: 877fe06f j 3c6 <__riscv_restore_0>
1b54: 8536 mv a0,a3
1b56: 26b1 jal 1ea2 <rt_hw_interrupt_enable>
1b58: bfdd j 1b4e <rt_thread_yield+0x46>
00001b5a <rt_thread_suspend>:
1b5a: 03454783 lbu a5,52(a0)
1b5e: 4705 li a4,1
1b60: 8bbd andi a5,a5,15
1b62: 02e79f63 bne a5,a4,1ba0 <rt_thread_suspend+0x46>
1b66: 83dfe2ef jal t0,3a2 <__riscv_save_0>
1b6a: 842a mv s0,a0
1b6c: 262d jal 1e96 <rt_hw_interrupt_disable>
1b6e: 03444783 lbu a5,52(s0)
1b72: 84aa mv s1,a0
1b74: 8522 mv a0,s0
1b76: 9bc1 andi a5,a5,-16
1b78: 0027e793 ori a5,a5,2
1b7c: 02f40a23 sb a5,52(s0)
1b80: d83ff0ef jal ra,1902 <rt_schedule_remove_thread>
1b84: 04c40513 addi a0,s0,76
1b88: 22f1 jal 1d54 <rt_timer_stop>
1b8a: 8526 mv a0,s1
1b8c: 2e19 jal 1ea2 <rt_hw_interrupt_enable>
1b8e: 8781a783 lw a5,-1928(gp) # 200002c0 <rt_thread_suspend_hook>
1b92: 4501 li a0,0
1b94: c781 beqz a5,1b9c <rt_thread_suspend+0x42>
1b96: 8522 mv a0,s0
1b98: 9782 jalr a5
1b9a: 4501 li a0,0
1b9c: 82bfe06f j 3c6 <__riscv_restore_0>
1ba0: 557d li a0,-1
1ba2: 8082 ret
00001ba4 <rt_thread_sleep>:
1ba4: ffefe2ef jal t0,3a2 <__riscv_save_0>
1ba8: 1141 addi sp,sp,-16
1baa: c62a sw a0,12(sp)
1bac: 24ed jal 1e96 <rt_hw_interrupt_disable>
1bae: 8581a403 lw s0,-1960(gp) # 200002a0 <rt_current_thread>
1bb2: 892a mv s2,a0
1bb4: 8522 mv a0,s0
1bb6: 3755 jal 1b5a <rt_thread_suspend>
1bb8: 04c40493 addi s1,s0,76
1bbc: 0070 addi a2,sp,12
1bbe: 4581 li a1,0
1bc0: 8526 mv a0,s1
1bc2: 22d1 jal 1d86 <rt_timer_control>
1bc4: 8526 mv a0,s1
1bc6: 2239 jal 1cd4 <rt_timer_start>
1bc8: 854a mv a0,s2
1bca: 2ce1 jal 1ea2 <rt_hw_interrupt_enable>
1bcc: c85ff0ef jal ra,1850 <rt_schedule>
1bd0: 5818 lw a4,48(s0)
1bd2: 57f9 li a5,-2
1bd4: 00f71463 bne a4,a5,1bdc <rt_thread_sleep+0x38>
1bd8: 02042823 sw zero,48(s0)
1bdc: 4501 li a0,0
1bde: 0141 addi sp,sp,16
1be0: fe6fe06f j 3c6 <__riscv_restore_0>
00001be4 <rt_thread_mdelay>:
1be4: fbefe2ef jal t0,3a2 <__riscv_save_0>
1be8: 8c1fe0ef jal ra,4a8 <rt_tick_from_millisecond>
1bec: 3f65 jal 1ba4 <rt_thread_sleep>
1bee: fd8fe06f j 3c6 <__riscv_restore_0>
00001bf2 <rt_thread_resume>:
1bf2: 03454783 lbu a5,52(a0)
1bf6: 4709 li a4,2
1bf8: 8bbd andi a5,a5,15
1bfa: 04e79063 bne a5,a4,1c3a <rt_thread_resume+0x48>
1bfe: fa4fe2ef jal t0,3a2 <__riscv_save_0>
1c02: 842a mv s0,a0
1c04: 2c49 jal 1e96 <rt_hw_interrupt_disable>
1c06: 4854 lw a3,20(s0)
1c08: 4c18 lw a4,24(s0)
1c0a: 01440793 addi a5,s0,20
1c0e: 84aa mv s1,a0
1c10: c2d8 sw a4,4(a3)
1c12: c314 sw a3,0(a4)
1c14: cc1c sw a5,24(s0)
1c16: c85c sw a5,20(s0)
1c18: 04c40513 addi a0,s0,76
1c1c: 2a25 jal 1d54 <rt_timer_stop>
1c1e: 8526 mv a0,s1
1c20: 2449 jal 1ea2 <rt_hw_interrupt_enable>
1c22: 8522 mv a0,s0
1c24: c97ff0ef jal ra,18ba <rt_schedule_insert_thread>
1c28: 8741a783 lw a5,-1932(gp) # 200002bc <rt_thread_resume_hook>
1c2c: 4501 li a0,0
1c2e: c781 beqz a5,1c36 <rt_thread_resume+0x44>
1c30: 8522 mv a0,s0
1c32: 9782 jalr a5
1c34: 4501 li a0,0
1c36: f90fe06f j 3c6 <__riscv_restore_0>
1c3a: 557d li a0,-1
1c3c: 8082 ret
00001c3e <rt_thread_startup>:
1c3e: f64fe2ef jal t0,3a2 <__riscv_save_0>
1c42: 03654683 lbu a3,54(a0)
1c46: 4705 li a4,1
1c48: 00d71733 sll a4,a4,a3
1c4c: dd18 sw a4,56(a0)
1c4e: 4709 li a4,2
1c50: 02d50aa3 sb a3,53(a0)
1c54: 02e50a23 sb a4,52(a0)
1c58: 3f69 jal 1bf2 <rt_thread_resume>
1c5a: 8581a783 lw a5,-1960(gp) # 200002a0 <rt_current_thread>
1c5e: c399 beqz a5,1c64 <rt_thread_startup+0x26>
1c60: bf1ff0ef jal ra,1850 <rt_schedule>
1c64: 4501 li a0,0
1c66: f60fe06f j 3c6 <__riscv_restore_0>
00001c6a <_rt_timer_remove.part.1>:
1c6a: 4954 lw a3,20(a0)
1c6c: 4d18 lw a4,24(a0)
1c6e: 01450793 addi a5,a0,20
1c72: c2d8 sw a4,4(a3)
1c74: c314 sw a3,0(a4)
1c76: cd1c sw a5,24(a0)
1c78: c95c sw a5,20(a0)
1c7a: 8082 ret
00001c7c <rt_timer_init>:
1c7c: f26fe2ef jal t0,3a2 <__riscv_save_0>
1c80: 1141 addi sp,sp,-16
1c82: 84b2 mv s1,a2
1c84: 862e mv a2,a1
1c86: 45a9 li a1,10
1c88: 842a mv s0,a0
1c8a: c636 sw a3,12(sp)
1c8c: c43a sw a4,8(sp)
1c8e: c23e sw a5,4(sp)
1c90: a4bff0ef jal ra,16da <rt_object_init>
1c94: 4792 lw a5,4(sp)
1c96: 46b2 lw a3,12(sp)
1c98: 4722 lw a4,8(sp)
1c9a: 9bf9 andi a5,a5,-2
1c9c: b41c sb a5,9(s0)
1c9e: 01440793 addi a5,s0,20
1ca2: cc44 sw s1,28(s0)
1ca4: d014 sw a3,32(s0)
1ca6: 02042423 sw zero,40(s0)
1caa: d058 sw a4,36(s0)
1cac: cc1c sw a5,24(s0)
1cae: c85c sw a5,20(s0)
1cb0: 0141 addi sp,sp,16
1cb2: f14fe06f j 3c6 <__riscv_restore_0>
00001cb6 <rt_timer_detach>:
1cb6: eecfe2ef jal t0,3a2 <__riscv_save_0>
1cba: 842a mv s0,a0
1cbc: 2ae9 jal 1e96 <rt_hw_interrupt_disable>
1cbe: 84aa mv s1,a0
1cc0: 8522 mv a0,s0
1cc2: 3765 jal 1c6a <_rt_timer_remove.part.1>
1cc4: 8526 mv a0,s1
1cc6: 2af1 jal 1ea2 <rt_hw_interrupt_enable>
1cc8: 8522 mv a0,s0
1cca: a6fff0ef jal ra,1738 <rt_object_detach>
1cce: 4501 li a0,0
1cd0: ef6fe06f j 3c6 <__riscv_restore_0>
00001cd4 <rt_timer_start>:
1cd4: ecefe2ef jal t0,3a2 <__riscv_save_0>
1cd8: 842a mv s0,a0
1cda: 2a75 jal 1e96 <rt_hw_interrupt_disable>
1cdc: 84aa mv s1,a0
1cde: 8522 mv a0,s0
1ce0: 3769 jal 1c6a <_rt_timer_remove.part.1>
1ce2: 341c lbu a5,9(s0)
1ce4: 8526 mv a0,s1
1ce6: 9bf9 andi a5,a5,-2
1ce8: b41c sb a5,9(s0)
1cea: 2a65 jal 1ea2 <rt_hw_interrupt_enable>
1cec: 84c1a783 lw a5,-1972(gp) # 20000294 <rt_object_take_hook>
1cf0: c399 beqz a5,1cf6 <rt_timer_start+0x22>
1cf2: 8522 mv a0,s0
1cf4: 9782 jalr a5
1cf6: f84fe0ef jal ra,47a <rt_tick_get>
1cfa: 505c lw a5,36(s0)
1cfc: 953e add a0,a0,a5
1cfe: d408 sw a0,40(s0)
1d00: 2a59 jal 1e96 <rt_hw_interrupt_disable>
1d02: 88818713 addi a4,gp,-1912 # 200002d0 <rt_timer_list>
1d06: 00472803 lw a6,4(a4)
1d0a: 80000637 lui a2,0x80000
1d0e: 88818793 addi a5,gp,-1912 # 200002d0 <rt_timer_list>
1d12: ffe64613 xori a2,a2,-2
1d16: 4398 lw a4,0(a5)
1d18: 02f81563 bne a6,a5,1d42 <rt_timer_start+0x6e>
1d1c: 87c18693 addi a3,gp,-1924 # 200002c4 <random_nr.2483>
1d20: 4290 lw a2,0(a3)
1d22: 0605 addi a2,a2,1
1d24: c290 sw a2,0(a3)
1d26: 01440693 addi a3,s0,20
1d2a: c354 sw a3,4(a4)
1d2c: c858 sw a4,20(s0)
1d2e: c394 sw a3,0(a5)
1d30: cc1c sw a5,24(s0)
1d32: 341c lbu a5,9(s0)
1d34: 0017e793 ori a5,a5,1
1d38: b41c sb a5,9(s0)
1d3a: 22a5 jal 1ea2 <rt_hw_interrupt_enable>
1d3c: 4501 li a0,0
1d3e: e88fe06f j 3c6 <__riscv_restore_0>
1d42: 4b54 lw a3,20(a4)
1d44: 540c lw a1,40(s0)
1d46: 00b68563 beq a3,a1,1d50 <rt_timer_start+0x7c>
1d4a: 8e8d sub a3,a3,a1
1d4c: fcd678e3 bgeu a2,a3,1d1c <rt_timer_start+0x48>
1d50: 87ba mv a5,a4
1d52: b7d1 j 1d16 <rt_timer_start+0x42>
00001d54 <rt_timer_stop>:
1d54: 351c lbu a5,9(a0)
1d56: 8b85 andi a5,a5,1
1d58: c78d beqz a5,1d82 <rt_timer_stop+0x2e>
1d5a: e48fe2ef jal t0,3a2 <__riscv_save_0>
1d5e: 8481a783 lw a5,-1976(gp) # 20000290 <rt_object_put_hook>
1d62: 842a mv s0,a0
1d64: c391 beqz a5,1d68 <rt_timer_stop+0x14>
1d66: 9782 jalr a5
1d68: 223d jal 1e96 <rt_hw_interrupt_disable>
1d6a: 84aa mv s1,a0
1d6c: 8522 mv a0,s0
1d6e: efdff0ef jal ra,1c6a <_rt_timer_remove.part.1>
1d72: 8526 mv a0,s1
1d74: 223d jal 1ea2 <rt_hw_interrupt_enable>
1d76: 341c lbu a5,9(s0)
1d78: 4501 li a0,0
1d7a: 9bf9 andi a5,a5,-2
1d7c: b41c sb a5,9(s0)
1d7e: e48fe06f j 3c6 <__riscv_restore_0>
1d82: 557d li a0,-1
1d84: 8082 ret
00001d86 <rt_timer_control>:
1d86: 4785 li a5,1
1d88: 02f58163 beq a1,a5,1daa <rt_timer_control+0x24>
1d8c: 00b7c563 blt a5,a1,1d96 <rt_timer_control+0x10>
1d90: c185 beqz a1,1db0 <rt_timer_control+0x2a>
1d92: 4501 li a0,0
1d94: 8082 ret
1d96: 4789 li a5,2
1d98: 00f58f63 beq a1,a5,1db6 <rt_timer_control+0x30>
1d9c: 478d li a5,3
1d9e: fef59ae3 bne a1,a5,1d92 <rt_timer_control+0xc>
1da2: 351c lbu a5,9(a0)
1da4: 0027e793 ori a5,a5,2
1da8: a809 j 1dba <rt_timer_control+0x34>
1daa: 515c lw a5,36(a0)
1dac: c21c sw a5,0(a2)
1dae: b7d5 j 1d92 <rt_timer_control+0xc>
1db0: 421c lw a5,0(a2)
1db2: d15c sw a5,36(a0)
1db4: bff9 j 1d92 <rt_timer_control+0xc>
1db6: 351c lbu a5,9(a0)
1db8: 9bf5 andi a5,a5,-3
1dba: b51c sb a5,9(a0)
1dbc: bfd9 j 1d92 <rt_timer_control+0xc>
00001dbe <rt_timer_check>:
1dbe: dbcfe2ef jal t0,37a <__riscv_save_10>
1dc2: eb8fe0ef jal ra,47a <rt_tick_get>
1dc6: 8c2a mv s8,a0
1dc8: 20f9 jal 1e96 <rt_hw_interrupt_disable>
1dca: 800009b7 lui s3,0x80000
1dce: 8a2a mv s4,a0
1dd0: 88818493 addi s1,gp,-1912 # 200002d0 <rt_timer_list>
1dd4: ffe9c993 xori s3,s3,-2
1dd8: 4b8d li s7,3
1dda: 4080 lw s0,0(s1)
1ddc: 00941663 bne s0,s1,1de8 <rt_timer_check+0x2a>
1de0: 8552 mv a0,s4
1de2: 20c1 jal 1ea2 <rt_hw_interrupt_enable>
1de4: dcefe06f j 3b2 <__riscv_restore_10>
1de8: 4848 lw a0,20(s0)
1dea: fec40913 addi s2,s0,-20
1dee: 40ac0533 sub a0,s8,a0
1df2: fea9e7e3 bltu s3,a0,1de0 <rt_timer_check+0x22>
1df6: 8801a783 lw a5,-1920(gp) # 200002c8 <rt_timer_enter_hook>
1dfa: c399 beqz a5,1e00 <rt_timer_check+0x42>
1dfc: 854a mv a0,s2
1dfe: 9782 jalr a5
1e00: 854a mv a0,s2
1e02: e69ff0ef jal ra,1c6a <_rt_timer_remove.part.1>
1e06: 441c lw a5,8(s0)
1e08: 4448 lw a0,12(s0)
1e0a: 9782 jalr a5
1e0c: e6efe0ef jal ra,47a <rt_tick_get>
1e10: 8841a783 lw a5,-1916(gp) # 200002cc <rt_timer_exit_hook>
1e14: 8c2a mv s8,a0
1e16: c399 beqz a5,1e1c <rt_timer_check+0x5e>
1e18: 854a mv a0,s2
1e1a: 9782 jalr a5
1e1c: ff544783 lbu a5,-11(s0)
1e20: 0fe7f713 andi a4,a5,254
1e24: fee40aa3 sb a4,-11(s0)
1e28: 8b8d andi a5,a5,3
1e2a: fb7798e3 bne a5,s7,1dda <rt_timer_check+0x1c>
1e2e: 854a mv a0,s2
1e30: ea5ff0ef jal ra,1cd4 <rt_timer_start>
1e34: b75d j 1dda <rt_timer_check+0x1c>
00001e36 <rt_system_timer_init>:
1e36: 88818793 addi a5,gp,-1912 # 200002d0 <rt_timer_list>
1e3a: c3dc sw a5,4(a5)
1e3c: c39c sw a5,0(a5)
1e3e: 8082 ret
00001e40 <rt_system_timer_thread_init>:
1e40: 8082 ret
00001e42 <rt_hw_stack_init>:
1e42: 0611 addi a2,a2,4
1e44: 9a71 andi a2,a2,-4
1e46: 882a mv a6,a0
1e48: deadc737 lui a4,0xdeadc
1e4c: f8060513 addi a0,a2,-128 # 7fffff80 <_eusrstack+0x5ffeff80>
1e50: 87aa mv a5,a0
1e52: eef70713 addi a4,a4,-273 # deadbeef <_eusrstack+0xbeacbeef>
1e56: 00f61e63 bne a2,a5,1e72 <rt_hw_stack_init+0x30>
1e5a: 67a1 lui a5,0x8
1e5c: 88078793 addi a5,a5,-1920 # 7880 <__rt_init_end+0x110c>
1e60: f8d62223 sw a3,-124(a2)
1e64: fab62423 sw a1,-88(a2)
1e68: f9062023 sw a6,-128(a2)
1e6c: f8f62423 sw a5,-120(a2)
1e70: 8082 ret
1e72: c398 sw a4,0(a5)
1e74: 0791 addi a5,a5,4
1e76: b7c5 j 1e56 <rt_hw_stack_init+0x14>
00001e78 <sw_setpend>:
1e78: e000f737 lui a4,0xe000f
1e7c: 431c lw a5,0(a4)
1e7e: 800006b7 lui a3,0x80000
1e82: 8fd5 or a5,a5,a3
1e84: c31c sw a5,0(a4)
1e86: 8082 ret
00001e88 <sw_clearpend>:
1e88: e000f737 lui a4,0xe000f
1e8c: 431c lw a5,0(a4)
1e8e: 0786 slli a5,a5,0x1
1e90: 8385 srli a5,a5,0x1
1e92: c31c sw a5,0(a4)
1e94: 8082 ret
00001e96 <rt_hw_interrupt_disable>:
1e96: 6521 lui a0,0x8
1e98: 80050513 addi a0,a0,-2048 # 7800 <__rt_init_end+0x108c>
1e9c: 30051573 csrrw a0,mstatus,a0
1ea0: 8082 ret
00001ea2 <rt_hw_interrupt_enable>:
1ea2: 30051073 csrw mstatus,a0
1ea6: 8082 ret
00001ea8 <rt_hw_context_switch_interrupt>:
1ea8: cfafe2ef jal t0,3a2 <__riscv_save_0>
1eac: 89818713 addi a4,gp,-1896 # 200002e0 <rt_thread_switch_interrupt_flag>
1eb0: 4318 lw a4,0(a4)
1eb2: 89818793 addi a5,gp,-1896 # 200002e0 <rt_thread_switch_interrupt_flag>
1eb6: e319 bnez a4,1ebc <rt_hw_context_switch_interrupt+0x14>
1eb8: 88a1a823 sw a0,-1904(gp) # 200002d8 <rt_interrupt_from_thread>
1ebc: 88b1aa23 sw a1,-1900(gp) # 200002dc <rt_interrupt_to_thread>
1ec0: 4705 li a4,1
1ec2: c398 sw a4,0(a5)
1ec4: 3f55 jal 1e78 <sw_setpend>
1ec6: d00fe06f j 3c6 <__riscv_restore_0>
00001eca <rt_list_len>:
1eca: 872a mv a4,a0
1ecc: 4781 li a5,0
1ece: 4318 lw a4,0(a4)
1ed0: 00a71463 bne a4,a0,1ed8 <rt_list_len+0xe>
1ed4: 853e mv a0,a5
1ed6: 8082 ret
1ed8: 0785 addi a5,a5,1
1eda: bfd5 j 1ece <rt_list_len+0x4>
00001edc <reboot>:
1edc: beef07b7 lui a5,0xbeef0
1ee0: e000e737 lui a4,0xe000e
1ee4: 08078793 addi a5,a5,128 # beef0080 <_eusrstack+0x9eee0080>
1ee8: c73c sw a5,72(a4)
1eea: 4501 li a0,0
1eec: 8082 ret
00001eee <clear>:
1eee: cb4fe2ef jal t0,3a2 <__riscv_save_0>
1ef2: 00005537 lui a0,0x5
1ef6: 3e850513 addi a0,a0,1000 # 53e8 <__fsym_list_mem_name+0x9c>
1efa: bc2ff0ef jal ra,12bc <rt_kprintf>
1efe: 4501 li a0,0
1f00: cc6fe06f j 3c6 <__riscv_restore_0>
00001f04 <object_split>:
1f04: c9efe2ef jal t0,3a2 <__riscv_save_0>
1f08: 842a mv s0,a0
1f0a: 54fd li s1,-1
1f0c: 00006937 lui s2,0x6
1f10: 147d addi s0,s0,-1
1f12: 00941463 bne s0,s1,1f1a <object_split+0x16>
1f16: cb0fe06f j 3c6 <__riscv_restore_0>
1f1a: b5090513 addi a0,s2,-1200 # 5b50 <__fsym_reboot_name+0x8>
1f1e: b9eff0ef jal ra,12bc <rt_kprintf>
1f22: b7fd j 1f10 <object_split+0xc>
00001f24 <show_wait_queue>:
1f24: c64fe2ef jal t0,388 <__riscv_save_4>
1f28: 4100 lw s0,0(a0)
1f2a: 84aa mv s1,a0
1f2c: 00006937 lui s2,0x6
1f30: 000069b7 lui s3,0x6
1f34: 00941463 bne s0,s1,1f3c <show_wait_queue+0x18>
1f38: c84fe06f j 3bc <__riscv_restore_4>
1f3c: fec40593 addi a1,s0,-20
1f40: b5490513 addi a0,s2,-1196 # 5b54 <__fsym_reboot_name+0xc>
1f44: b78ff0ef jal ra,12bc <rt_kprintf>
1f48: 401c lw a5,0(s0)
1f4a: 00978663 beq a5,s1,1f56 <show_wait_queue+0x32>
1f4e: b5898513 addi a0,s3,-1192 # 5b58 <__fsym_reboot_name+0x10>
1f52: b6aff0ef jal ra,12bc <rt_kprintf>
1f56: 4000 lw s0,0(s0)
1f58: bff1 j 1f34 <show_wait_queue+0x10>
00001f5a <object_name_maxlen>:
1f5a: c48fe2ef jal t0,3a2 <__riscv_save_0>
1f5e: 892e mv s2,a1
1f60: fc1fe0ef jal ra,f20 <rt_strlen>
1f64: 842a mv s0,a0
1f66: 9dfff0ef jal ra,1944 <rt_enter_critical>
1f6a: 00092483 lw s1,0(s2)
1f6e: 01249c63 bne s1,s2,1f86 <object_name_maxlen+0x2c>
1f72: 9e9ff0ef jal ra,195a <rt_exit_critical>
1f76: 47a1 li a5,8
1f78: 0087c363 blt a5,s0,1f7e <object_name_maxlen+0x24>
1f7c: e011 bnez s0,1f80 <object_name_maxlen+0x26>
1f7e: 4421 li s0,8
1f80: 8522 mv a0,s0
1f82: c44fe06f j 3c6 <__riscv_restore_0>
1f86: ff448513 addi a0,s1,-12
1f8a: f97fe0ef jal ra,f20 <rt_strlen>
1f8e: 00a45363 bge s0,a0,1f94 <object_name_maxlen+0x3a>
1f92: 842a mv s0,a0
1f94: 4084 lw s1,0(s1)
1f96: bfe1 j 1f6e <object_name_maxlen+0x14>
00001f98 <list_thread>:
1f98: be2fe2ef jal t0,37a <__riscv_save_10>
1f9c: 4505 li a0,1
1f9e: f12ff0ef jal ra,16b0 <rt_object_get_information>
1fa2: 000059b7 lui s3,0x5
1fa6: 00450913 addi s2,a0,4
1faa: 842a mv s0,a0
1fac: 85ca mv a1,s2
1fae: 69c98513 addi a0,s3,1692 # 569c <__fsym_list_mem_name+0x350>
1fb2: fa9ff0ef jal ra,1f5a <object_name_maxlen>
1fb6: 85aa mv a1,a0
1fb8: 84aa mv s1,a0
1fba: 00005537 lui a0,0x5
1fbe: 69c98613 addi a2,s3,1692
1fc2: 6a450513 addi a0,a0,1700 # 56a4 <__fsym_list_mem_name+0x358>
1fc6: af6ff0ef jal ra,12bc <rt_kprintf>
1fca: 8526 mv a0,s1
1fcc: f39ff0ef jal ra,1f04 <object_split>
1fd0: 00005537 lui a0,0x5
1fd4: 6e850513 addi a0,a0,1768 # 56e8 <__fsym_list_mem_name+0x39c>
1fd8: ae4ff0ef jal ra,12bc <rt_kprintf>
1fdc: 4040 lw s0,4(s0)
1fde: 000059b7 lui s3,0x5
1fe2: 4a05 li s4,1
1fe4: 4a89 li s5,2
1fe6: 00005b37 lui s6,0x5
1fea: 00005bb7 lui s7,0x5
1fee: 00005c37 lui s8,0x5
1ff2: 00005cb7 lui s9,0x5
1ff6: 00005d37 lui s10,0x5
1ffa: 00891563 bne s2,s0,2004 <list_thread+0x6c>
1ffe: 4501 li a0,0
2000: bb2fe06f j 3b2 <__riscv_restore_10>
2004: 02944703 lbu a4,41(s0)
2008: 72898513 addi a0,s3,1832 # 5728 <__fsym_list_mem_name+0x3dc>
200c: ff440693 addi a3,s0,-12
2010: 4621 li a2,8
2012: 85a6 mv a1,s1
2014: aa8ff0ef jal ra,12bc <rt_kprintf>
2018: 02844783 lbu a5,40(s0)
201c: 734c8513 addi a0,s9,1844 # 5734 <__fsym_list_mem_name+0x3e8>
2020: 8bbd andi a5,a5,15
2022: 01478e63 beq a5,s4,203e <list_thread+0xa6>
2026: 740c0513 addi a0,s8,1856 # 5740 <__fsym_list_mem_name+0x3f4>
202a: 01578a63 beq a5,s5,203e <list_thread+0xa6>
202e: 74cb8513 addi a0,s7,1868 # 574c <__fsym_list_mem_name+0x400>
2032: c791 beqz a5,203e <list_thread+0xa6>
2034: 4711 li a4,4
2036: 00e79663 bne a5,a4,2042 <list_thread+0xaa>
203a: 758b0513 addi a0,s6,1880 # 5758 <__fsym_list_mem_name+0x40c>
203e: a7eff0ef jal ra,12bc <rt_kprintf>
2042: 4c4c lw a1,28(s0)
2044: 02300793 li a5,35
2048: 86ae mv a3,a1
204a: 2298 lbu a4,0(a3)
204c: 02f70663 beq a4,a5,2078 <list_thread+0xe0>
2050: 5010 lw a2,32(s0)
2052: 06400793 li a5,100
2056: 4808 lw a0,16(s0)
2058: 95b2 add a1,a1,a2
205a: 40d586b3 sub a3,a1,a3
205e: 02f686b3 mul a3,a3,a5
2062: 5c58 lw a4,60(s0)
2064: 505c lw a5,36(s0)
2066: 8d89 sub a1,a1,a0
2068: 764d0513 addi a0,s10,1892 # 5764 <__fsym_list_mem_name+0x418>
206c: 02c6d6b3 divu a3,a3,a2
2070: a4cff0ef jal ra,12bc <rt_kprintf>
2074: 4000 lw s0,0(s0)
2076: b751 j 1ffa <list_thread+0x62>
2078: 0685 addi a3,a3,1
207a: bfc1 j 204a <list_thread+0xb2>
0000207c <list_sem>:
207c: b0cfe2ef jal t0,388 <__riscv_save_4>
2080: 1141 addi sp,sp,-16
2082: 4509 li a0,2
2084: e2cff0ef jal ra,16b0 <rt_object_get_information>
2088: 00450993 addi s3,a0,4
208c: 00005937 lui s2,0x5
2090: 842a mv s0,a0
2092: 85ce mv a1,s3
2094: 63c90513 addi a0,s2,1596 # 563c <__fsym_list_mem_name+0x2f0>
2098: ec3ff0ef jal ra,1f5a <object_name_maxlen>
209c: 85aa mv a1,a0
209e: 84aa mv s1,a0
20a0: 00005537 lui a0,0x5
20a4: 63c90613 addi a2,s2,1596
20a8: 64850513 addi a0,a0,1608 # 5648 <__fsym_list_mem_name+0x2fc>
20ac: a10ff0ef jal ra,12bc <rt_kprintf>
20b0: 8526 mv a0,s1
20b2: e53ff0ef jal ra,1f04 <object_split>
20b6: 00005537 lui a0,0x5
20ba: 66450513 addi a0,a0,1636 # 5664 <__fsym_list_mem_name+0x318>
20be: 9feff0ef jal ra,12bc <rt_kprintf>
20c2: 4040 lw s0,4(s0)
20c4: 00005a37 lui s4,0x5
20c8: 00005ab7 lui s5,0x5
20cc: 00006b37 lui s6,0x6
20d0: 00899663 bne s3,s0,20dc <list_sem+0x60>
20d4: 4501 li a0,0
20d6: 0141 addi sp,sp,16
20d8: ae4fe06f j 3bc <__riscv_restore_4>
20dc: 281a lhu a4,16(s0)
20de: 441c lw a5,8(s0)
20e0: ff440693 addi a3,s0,-12
20e4: 00840913 addi s2,s0,8
20e8: c636 sw a3,12(sp)
20ea: c43a sw a4,8(sp)
20ec: 854a mv a0,s2
20ee: 02f90663 beq s2,a5,211a <list_sem+0x9e>
20f2: dd9ff0ef jal ra,1eca <rt_list_len>
20f6: 4722 lw a4,8(sp)
20f8: 46b2 lw a3,12(sp)
20fa: 87aa mv a5,a0
20fc: 4621 li a2,8
20fe: 85a6 mv a1,s1
2100: 67ca8513 addi a0,s5,1660 # 567c <__fsym_list_mem_name+0x330>
2104: 9b8ff0ef jal ra,12bc <rt_kprintf>
2108: 854a mv a0,s2
210a: e1bff0ef jal ra,1f24 <show_wait_queue>
210e: 5f8b0513 addi a0,s6,1528 # 65f8 <ch32_uart_ops+0xb4>
2112: 9aaff0ef jal ra,12bc <rt_kprintf>
2116: 4000 lw s0,0(s0)
2118: bf65 j 20d0 <list_sem+0x54>
211a: db1ff0ef jal ra,1eca <rt_list_len>
211e: 4722 lw a4,8(sp)
2120: 46b2 lw a3,12(sp)
2122: 87aa mv a5,a0
2124: 4621 li a2,8
2126: 85a6 mv a1,s1
2128: 68ca0513 addi a0,s4,1676 # 568c <__fsym_list_mem_name+0x340>
212c: 990ff0ef jal ra,12bc <rt_kprintf>
2130: b7dd j 2116 <list_sem+0x9a>
00002132 <list_event>:
2132: a56fe2ef jal t0,388 <__riscv_save_4>
2136: 1141 addi sp,sp,-16
2138: 4511 li a0,4
213a: d76ff0ef jal ra,16b0 <rt_object_get_information>
213e: 00450993 addi s3,a0,4
2142: 00005937 lui s2,0x5
2146: 842a mv s0,a0
2148: 85ce mv a1,s3
214a: 48090513 addi a0,s2,1152 # 5480 <__fsym_list_mem_name+0x134>
214e: e0dff0ef jal ra,1f5a <object_name_maxlen>
2152: 85aa mv a1,a0
2154: 84aa mv s1,a0
2156: 00005537 lui a0,0x5
215a: 48090613 addi a2,s2,1152
215e: 48850513 addi a0,a0,1160 # 5488 <__fsym_list_mem_name+0x13c>
2162: 95aff0ef jal ra,12bc <rt_kprintf>
2166: 8526 mv a0,s1
2168: d9dff0ef jal ra,1f04 <object_split>
216c: 00005537 lui a0,0x5
2170: 4ac50513 addi a0,a0,1196 # 54ac <__fsym_list_mem_name+0x160>
2174: 948ff0ef jal ra,12bc <rt_kprintf>
2178: 4040 lw s0,4(s0)
217a: 00005a37 lui s4,0x5
217e: 00005ab7 lui s5,0x5
2182: 00006b37 lui s6,0x6
2186: 00899663 bne s3,s0,2192 <list_event+0x60>
218a: 4501 li a0,0
218c: 0141 addi sp,sp,16
218e: a2efe06f j 3bc <__riscv_restore_4>
2192: 441c lw a5,8(s0)
2194: 00840913 addi s2,s0,8
2198: ff440693 addi a3,s0,-12
219c: 4818 lw a4,16(s0)
219e: 02f90963 beq s2,a5,21d0 <list_event+0x9e>
21a2: 854a mv a0,s2
21a4: c636 sw a3,12(sp)
21a6: c43a sw a4,8(sp)
21a8: d23ff0ef jal ra,1eca <rt_list_len>
21ac: 4722 lw a4,8(sp)
21ae: 46b2 lw a3,12(sp)
21b0: 87aa mv a5,a0
21b2: 4621 li a2,8
21b4: 85a6 mv a1,s1
21b6: 4cca8513 addi a0,s5,1228 # 54cc <__fsym_list_mem_name+0x180>
21ba: 902ff0ef jal ra,12bc <rt_kprintf>
21be: 854a mv a0,s2
21c0: d65ff0ef jal ra,1f24 <show_wait_queue>
21c4: 5f8b0513 addi a0,s6,1528 # 65f8 <ch32_uart_ops+0xb4>
21c8: 8f4ff0ef jal ra,12bc <rt_kprintf>
21cc: 4000 lw s0,0(s0)
21ce: bf65 j 2186 <list_event+0x54>
21d0: 4621 li a2,8
21d2: 85a6 mv a1,s1
21d4: 4e4a0513 addi a0,s4,1252 # 54e4 <__fsym_list_mem_name+0x198>
21d8: 8e4ff0ef jal ra,12bc <rt_kprintf>
21dc: bfc5 j 21cc <list_event+0x9a>
000021de <list_mutex>:
21de: 9aafe2ef jal t0,388 <__riscv_save_4>
21e2: 1141 addi sp,sp,-16
21e4: 450d li a0,3
21e6: ccaff0ef jal ra,16b0 <rt_object_get_information>
21ea: 000059b7 lui s3,0x5
21ee: 00450913 addi s2,a0,4
21f2: 842a mv s0,a0
21f4: 85ca mv a1,s2
21f6: 5d898513 addi a0,s3,1496 # 55d8 <__fsym_list_mem_name+0x28c>
21fa: d61ff0ef jal ra,1f5a <object_name_maxlen>
21fe: 85aa mv a1,a0
2200: 84aa mv s1,a0
2202: 00005537 lui a0,0x5
2206: 5d898613 addi a2,s3,1496
220a: 5e050513 addi a0,a0,1504 # 55e0 <__fsym_list_mem_name+0x294>
220e: 8aeff0ef jal ra,12bc <rt_kprintf>
2212: 8526 mv a0,s1
2214: cf1ff0ef jal ra,1f04 <object_split>
2218: 00005537 lui a0,0x5
221c: 60450513 addi a0,a0,1540 # 5604 <__fsym_list_mem_name+0x2b8>
2220: 89cff0ef jal ra,12bc <rt_kprintf>
2224: 4040 lw s0,4(s0)
2226: 000059b7 lui s3,0x5
222a: 00891663 bne s2,s0,2236 <list_mutex+0x58>
222e: 4501 li a0,0
2230: 0141 addi sp,sp,16
2232: 98afe06f j 3bc <__riscv_restore_4>
2236: ff440693 addi a3,s0,-12
223a: 00840513 addi a0,s0,8
223e: c636 sw a3,12(sp)
2240: c8bff0ef jal ra,1eca <rt_list_len>
2244: 01344803 lbu a6,19(s0)
2248: 485c lw a5,20(s0)
224a: 46b2 lw a3,12(sp)
224c: 88aa mv a7,a0
224e: 4721 li a4,8
2250: 4621 li a2,8
2252: 85a6 mv a1,s1
2254: 62498513 addi a0,s3,1572 # 5624 <__fsym_list_mem_name+0x2d8>
2258: 864ff0ef jal ra,12bc <rt_kprintf>
225c: 4000 lw s0,0(s0)
225e: b7f1 j 222a <list_mutex+0x4c>
00002260 <list_mailbox>:
2260: 928fe2ef jal t0,388 <__riscv_save_4>
2264: 1141 addi sp,sp,-16
2266: 4515 li a0,5
2268: c48ff0ef jal ra,16b0 <rt_object_get_information>
226c: 00450993 addi s3,a0,4
2270: 00005937 lui s2,0x5
2274: 842a mv s0,a0
2276: 85ce mv a1,s3
2278: 4f890513 addi a0,s2,1272 # 54f8 <__fsym_list_mem_name+0x1ac>
227c: cdfff0ef jal ra,1f5a <object_name_maxlen>
2280: 85aa mv a1,a0
2282: 84aa mv s1,a0
2284: 00005537 lui a0,0x5
2288: 4f890613 addi a2,s2,1272
228c: 50050513 addi a0,a0,1280 # 5500 <__fsym_list_mem_name+0x1b4>
2290: 82cff0ef jal ra,12bc <rt_kprintf>
2294: 8526 mv a0,s1
2296: c6fff0ef jal ra,1f04 <object_split>
229a: 00005537 lui a0,0x5
229e: 52450513 addi a0,a0,1316 # 5524 <__fsym_list_mem_name+0x1d8>
22a2: 81aff0ef jal ra,12bc <rt_kprintf>
22a6: 4040 lw s0,4(s0)
22a8: 00005a37 lui s4,0x5
22ac: 00005ab7 lui s5,0x5
22b0: 00006b37 lui s6,0x6
22b4: 00899663 bne s3,s0,22c0 <list_mailbox+0x60>
22b8: 4501 li a0,0
22ba: 0141 addi sp,sp,16
22bc: 900fe06f j 3bc <__riscv_restore_4>
22c0: 287a lhu a4,22(s0)
22c2: 285e lhu a5,20(s0)
22c4: 4410 lw a2,8(s0)
22c6: ff440693 addi a3,s0,-12
22ca: 00840913 addi s2,s0,8
22ce: c636 sw a3,12(sp)
22d0: c43a sw a4,8(sp)
22d2: c23e sw a5,4(sp)
22d4: 854a mv a0,s2
22d6: 02c90763 beq s2,a2,2304 <list_mailbox+0xa4>
22da: bf1ff0ef jal ra,1eca <rt_list_len>
22de: 4792 lw a5,4(sp)
22e0: 4722 lw a4,8(sp)
22e2: 46b2 lw a3,12(sp)
22e4: 882a mv a6,a0
22e6: 4621 li a2,8
22e8: 85a6 mv a1,s1
22ea: 540a8513 addi a0,s5,1344 # 5540 <__fsym_list_mem_name+0x1f4>
22ee: fcffe0ef jal ra,12bc <rt_kprintf>
22f2: 854a mv a0,s2
22f4: c31ff0ef jal ra,1f24 <show_wait_queue>
22f8: 5f8b0513 addi a0,s6,1528 # 65f8 <ch32_uart_ops+0xb4>
22fc: fc1fe0ef jal ra,12bc <rt_kprintf>
2300: 4000 lw s0,0(s0)
2302: bf4d j 22b4 <list_mailbox+0x54>
2304: bc7ff0ef jal ra,1eca <rt_list_len>
2308: 4792 lw a5,4(sp)
230a: 4722 lw a4,8(sp)
230c: 46b2 lw a3,12(sp)
230e: 882a mv a6,a0
2310: 4621 li a2,8
2312: 85a6 mv a1,s1
2314: 558a0513 addi a0,s4,1368 # 5558 <__fsym_list_mem_name+0x20c>
2318: fa5fe0ef jal ra,12bc <rt_kprintf>
231c: b7d5 j 2300 <list_mailbox+0xa0>
0000231e <list_msgqueue>:
231e: 86afe2ef jal t0,388 <__riscv_save_4>
2322: 1141 addi sp,sp,-16
2324: 4519 li a0,6
2326: b8aff0ef jal ra,16b0 <rt_object_get_information>
232a: 00450993 addi s3,a0,4
232e: 00005937 lui s2,0x5
2332: 842a mv s0,a0
2334: 85ce mv a1,s3
2336: 57090513 addi a0,s2,1392 # 5570 <__fsym_list_mem_name+0x224>
233a: c21ff0ef jal ra,1f5a <object_name_maxlen>
233e: 85aa mv a1,a0
2340: 84aa mv s1,a0
2342: 00005537 lui a0,0x5
2346: 57090613 addi a2,s2,1392
234a: 57c50513 addi a0,a0,1404 # 557c <__fsym_list_mem_name+0x230>
234e: f6ffe0ef jal ra,12bc <rt_kprintf>
2352: 8526 mv a0,s1
2354: bb1ff0ef jal ra,1f04 <object_split>
2358: 00005537 lui a0,0x5
235c: 59850513 addi a0,a0,1432 # 5598 <__fsym_list_mem_name+0x24c>
2360: f5dfe0ef jal ra,12bc <rt_kprintf>
2364: 4040 lw s0,4(s0)
2366: 00005a37 lui s4,0x5
236a: 00005ab7 lui s5,0x5
236e: 00006b37 lui s6,0x6
2372: 00899663 bne s3,s0,237e <list_msgqueue+0x60>
2376: 4501 li a0,0
2378: 0141 addi sp,sp,16
237a: 842fe06f j 3bc <__riscv_restore_4>
237e: 2c1a lhu a4,24(s0)
2380: 441c lw a5,8(s0)
2382: ff440693 addi a3,s0,-12
2386: 00840913 addi s2,s0,8
238a: c636 sw a3,12(sp)
238c: c43a sw a4,8(sp)
238e: 854a mv a0,s2
2390: 02f90663 beq s2,a5,23bc <list_msgqueue+0x9e>
2394: b37ff0ef jal ra,1eca <rt_list_len>
2398: 4722 lw a4,8(sp)
239a: 46b2 lw a3,12(sp)
239c: 87aa mv a5,a0
239e: 4621 li a2,8
23a0: 85a6 mv a1,s1
23a2: 5b0a8513 addi a0,s5,1456 # 55b0 <__fsym_list_mem_name+0x264>
23a6: f17fe0ef jal ra,12bc <rt_kprintf>
23aa: 854a mv a0,s2
23ac: b79ff0ef jal ra,1f24 <show_wait_queue>
23b0: 5f8b0513 addi a0,s6,1528 # 65f8 <ch32_uart_ops+0xb4>
23b4: f09fe0ef jal ra,12bc <rt_kprintf>
23b8: 4000 lw s0,0(s0)
23ba: bf65 j 2372 <list_msgqueue+0x54>
23bc: b0fff0ef jal ra,1eca <rt_list_len>
23c0: 4722 lw a4,8(sp)
23c2: 46b2 lw a3,12(sp)
23c4: 87aa mv a5,a0
23c6: 4621 li a2,8
23c8: 85a6 mv a1,s1
23ca: 5c4a0513 addi a0,s4,1476 # 55c4 <__fsym_list_mem_name+0x278>
23ce: eeffe0ef jal ra,12bc <rt_kprintf>
23d2: b7dd j 23b8 <list_msgqueue+0x9a>
000023d4 <list_device>:
23d4: fb5fd2ef jal t0,388 <__riscv_save_4>
23d8: 715d addi sp,sp,-80
23da: 4525 li a0,9
23dc: ad4ff0ef jal ra,16b0 <rt_object_get_information>
23e0: 6595 lui a1,0x5
23e2: 05000613 li a2,80
23e6: 842a mv s0,a0
23e8: 00450913 addi s2,a0,4
23ec: 09458593 addi a1,a1,148 # 5094 <strncmp+0x28>
23f0: 850a mv a0,sp
23f2: 389020ef jal ra,4f7a <memcpy>
23f6: 000059b7 lui s3,0x5
23fa: 85ca mv a1,s2
23fc: 41898513 addi a0,s3,1048 # 5418 <__fsym_list_mem_name+0xcc>
2400: b5bff0ef jal ra,1f5a <object_name_maxlen>
2404: 85aa mv a1,a0
2406: 84aa mv s1,a0
2408: 00005537 lui a0,0x5
240c: 41898613 addi a2,s3,1048
2410: 42050513 addi a0,a0,1056 # 5420 <__fsym_list_mem_name+0xd4>
2414: ea9fe0ef jal ra,12bc <rt_kprintf>
2418: 8526 mv a0,s1
241a: aebff0ef jal ra,1f04 <object_split>
241e: 00005537 lui a0,0x5
2422: 44850513 addi a0,a0,1096 # 5448 <__fsym_list_mem_name+0xfc>
2426: e97fe0ef jal ra,12bc <rt_kprintf>
242a: 4040 lw s0,4(s0)
242c: 49d1 li s3,20
242e: 00005a37 lui s4,0x5
2432: 00891663 bne s2,s0,243e <list_device+0x6a>
2436: 4501 li a0,0
2438: 6161 addi sp,sp,80
243a: f83fd06f j 3bc <__riscv_restore_4>
243e: 441c lw a5,8(s0)
2440: ff440693 addi a3,s0,-12
2444: 02f9e063 bltu s3,a5,2464 <list_device+0x90>
2448: 0898 addi a4,sp,80
244a: 078a slli a5,a5,0x2
244c: 97ba add a5,a5,a4
244e: fb07a703 lw a4,-80(a5)
2452: 281c lbu a5,16(s0)
2454: 4621 li a2,8
2456: 85a6 mv a1,s1
2458: 46ca0513 addi a0,s4,1132 # 546c <__fsym_list_mem_name+0x120>
245c: e61fe0ef jal ra,12bc <rt_kprintf>
2460: 4000 lw s0,0(s0)
2462: bfc1 j 2432 <list_device+0x5e>
2464: 4746 lw a4,80(sp)
2466: b7f5 j 2452 <list_device+0x7e>
00002468 <list_timer>:
2468: f21fd2ef jal t0,388 <__riscv_save_4>
246c: 4529 li a0,10
246e: a42ff0ef jal ra,16b0 <rt_object_get_information>
2472: 000059b7 lui s3,0x5
2476: 00450913 addi s2,a0,4
247a: 842a mv s0,a0
247c: 85ca mv a1,s2
247e: 78c98513 addi a0,s3,1932 # 578c <__fsym_list_mem_name+0x440>
2482: ad9ff0ef jal ra,1f5a <object_name_maxlen>
2486: 85aa mv a1,a0
2488: 84aa mv s1,a0
248a: 00005537 lui a0,0x5
248e: 78c98613 addi a2,s3,1932
2492: 79450513 addi a0,a0,1940 # 5794 <__fsym_list_mem_name+0x448>
2496: e27fe0ef jal ra,12bc <rt_kprintf>
249a: 8526 mv a0,s1
249c: a69ff0ef jal ra,1f04 <object_split>
24a0: 00005537 lui a0,0x5
24a4: 7bc50513 addi a0,a0,1980 # 57bc <__fsym_list_mem_name+0x470>
24a8: e15fe0ef jal ra,12bc <rt_kprintf>
24ac: 4040 lw s0,4(s0)
24ae: 000059b7 lui s3,0x5
24b2: 00006a37 lui s4,0x6
24b6: 00005ab7 lui s5,0x5
24ba: 00891e63 bne s2,s0,24d6 <list_timer+0x6e>
24be: fbdfd0ef jal ra,47a <rt_tick_get>
24c2: 85aa mv a1,a0
24c4: 00006537 lui a0,0x6
24c8: 81450513 addi a0,a0,-2028 # 5814 <__fsym_list_mem_name+0x4c8>
24cc: df1fe0ef jal ra,12bc <rt_kprintf>
24d0: 4501 li a0,0
24d2: eebfd06f j 3bc <__riscv_restore_4>
24d6: 4c5c lw a5,28(s0)
24d8: 4c18 lw a4,24(s0)
24da: 7e098513 addi a0,s3,2016 # 57e0 <__fsym_list_mem_name+0x494>
24de: ff440693 addi a3,s0,-12
24e2: 4621 li a2,8
24e4: 85a6 mv a1,s1
24e6: dd7fe0ef jal ra,12bc <rt_kprintf>
24ea: ffd44783 lbu a5,-3(s0)
24ee: 7f8a8513 addi a0,s5,2040 # 57f8 <__fsym_list_mem_name+0x4ac>
24f2: 8b85 andi a5,a5,1
24f4: e399 bnez a5,24fa <list_timer+0x92>
24f6: 804a0513 addi a0,s4,-2044 # 5804 <__fsym_list_mem_name+0x4b8>
24fa: dc3fe0ef jal ra,12bc <rt_kprintf>
24fe: 4000 lw s0,0(s0)
2500: bf6d j 24ba <list_timer+0x52>
00002502 <list>:
2502: e87fd2ef jal t0,388 <__riscv_save_4>
2506: 00005537 lui a0,0x5
250a: 3f050513 addi a0,a0,1008 # 53f0 <__fsym_list_mem_name+0xa4>
250e: daffe0ef jal ra,12bc <rt_kprintf>
2512: 8a01a403 lw s0,-1888(gp) # 200002e8 <_syscall_table_begin>
2516: 000059b7 lui s3,0x5
251a: 00005a37 lui s4,0x5
251e: 8a41a783 lw a5,-1884(gp) # 200002ec <_syscall_table_end>
2522: 00f46563 bltu s0,a5,252c <list+0x2a>
2526: 4501 li a0,0
2528: e95fd06f j 3bc <__riscv_restore_4>
252c: 4004 lw s1,0(s0)
252e: 4609 li a2,2
2530: 40498593 addi a1,s3,1028 # 5404 <__fsym_list_mem_name+0xb8>
2534: 8526 mv a0,s1
2536: 337020ef jal ra,506c <strncmp>
253a: c519 beqz a0,2548 <list+0x46>
253c: 4050 lw a2,4(s0)
253e: 85a6 mv a1,s1
2540: 408a0513 addi a0,s4,1032 # 5408 <__fsym_list_mem_name+0xbc>
2544: d79fe0ef jal ra,12bc <rt_kprintf>
2548: 0431 addi s0,s0,12
254a: bfd1 j 251e <list+0x1c>
0000254c <msh_help>:
254c: e3dfd2ef jal t0,388 <__riscv_save_4>
2550: 00006537 lui a0,0x6
2554: cb450513 addi a0,a0,-844 # 5cb4 <__fsym_reboot_name+0x16c>
2558: d65fe0ef jal ra,12bc <rt_kprintf>
255c: 8a01a403 lw s0,-1888(gp) # 200002e8 <_syscall_table_begin>
2560: 000069b7 lui s3,0x6
2564: 00006a37 lui s4,0x6
2568: 8a41a783 lw a5,-1884(gp) # 200002ec <_syscall_table_end>
256c: 00f46b63 bltu s0,a5,2582 <msh_help+0x36>
2570: 00006537 lui a0,0x6
2574: 5f850513 addi a0,a0,1528 # 65f8 <ch32_uart_ops+0xb4>
2578: d45fe0ef jal ra,12bc <rt_kprintf>
257c: 4501 li a0,0
257e: e3ffd06f j 3bc <__riscv_restore_4>
2582: 4004 lw s1,0(s0)
2584: 4619 li a2,6
2586: cd098593 addi a1,s3,-816 # 5cd0 <__fsym_reboot_name+0x188>
258a: 8526 mv a0,s1
258c: 2e1020ef jal ra,506c <strncmp>
2590: e901 bnez a0,25a0 <msh_help+0x54>
2592: 4050 lw a2,4(s0)
2594: 00648593 addi a1,s1,6
2598: cd8a0513 addi a0,s4,-808 # 5cd8 <__fsym_reboot_name+0x190>
259c: d21fe0ef jal ra,12bc <rt_kprintf>
25a0: 0431 addi s0,s0,12
25a2: b7d9 j 2568 <msh_help+0x1c>
000025a4 <msh_is_used>:
25a4: 4505 li a0,1
25a6: 8082 ret
000025a8 <msh_exec>:
25a8: de1fd2ef jal t0,388 <__riscv_save_4>
25ac: 7179 addi sp,sp,-48
25ae: 842a mv s0,a0
25b0: 95aa add a1,a1,a0
25b2: 02000693 li a3,32
25b6: 4725 li a4,9
25b8: 00040783 lb a5,0(s0)
25bc: 408584b3 sub s1,a1,s0
25c0: 0ad78563 beq a5,a3,266a <msh_exec+0xc2>
25c4: 0ae78363 beq a5,a4,266a <msh_exec+0xc2>
25c8: 4501 li a0,0
25ca: 10048b63 beqz s1,26e0 <msh_exec+0x138>
25ce: 4901 li s2,0
25d0: 02000713 li a4,32
25d4: 46a5 li a3,9
25d6: 012407b3 add a5,s0,s2
25da: 00078783 lb a5,0(a5)
25de: 08e78a63 beq a5,a4,2672 <msh_exec+0xca>
25e2: 08d78863 beq a5,a3,2672 <msh_exec+0xca>
25e6: 08991463 bne s2,s1,266e <msh_exec+0xc6>
25ea: 8a01a983 lw s3,-1888(gp) # 200002e8 <_syscall_table_begin>
25ee: 8a41aa83 lw s5,-1884(gp) # 200002ec <_syscall_table_end>
25f2: 00006b37 lui s6,0x6
25f6: 0959f063 bgeu s3,s5,2676 <msh_exec+0xce>
25fa: 0009aa03 lw s4,0(s3)
25fe: 4619 li a2,6
2600: cd0b0593 addi a1,s6,-816 # 5cd0 <__fsym_reboot_name+0x188>
2604: 8552 mv a0,s4
2606: 267020ef jal ra,506c <strncmp>
260a: e559 bnez a0,2698 <msh_exec+0xf0>
260c: 864a mv a2,s2
260e: 85a2 mv a1,s0
2610: 006a0513 addi a0,s4,6
2614: 259020ef jal ra,506c <strncmp>
2618: e141 bnez a0,2698 <msh_exec+0xf0>
261a: 9a4a add s4,s4,s2
261c: 006a0783 lb a5,6(s4)
2620: efa5 bnez a5,2698 <msh_exec+0xf0>
2622: 0089a983 lw s3,8(s3)
2626: 04098863 beqz s3,2676 <msh_exec+0xce>
262a: 02800613 li a2,40
262e: 4581 li a1,0
2630: 0028 addi a0,sp,8
2632: da1fd0ef jal ra,3d2 <memset>
2636: 00810913 addi s2,sp,8
263a: 86ca mv a3,s2
263c: 87a2 mv a5,s0
263e: 4501 li a0,0
2640: 4701 li a4,0
2642: 02000813 li a6,32
2646: 48a5 li a7,9
2648: 4329 li t1,10
264a: 02200613 li a2,34
264e: 05c00e13 li t3,92
2652: 00078583 lb a1,0(a5)
2656: 01058463 beq a1,a6,265e <msh_exec+0xb6>
265a: 05159663 bne a1,a7,26a6 <msh_exec+0xfe>
265e: 02971f63 bne a4,s1,269c <msh_exec+0xf4>
2662: 47a9 li a5,10
2664: 04f50363 beq a0,a5,26aa <msh_exec+0x102>
2668: a869 j 2702 <msh_exec+0x15a>
266a: 0405 addi s0,s0,1
266c: b7b1 j 25b8 <msh_exec+0x10>
266e: 0905 addi s2,s2,1
2670: b79d j 25d6 <msh_exec+0x2e>
2672: f6091ce3 bnez s2,25ea <msh_exec+0x42>
2676: 87a2 mv a5,s0
2678: 00078703 lb a4,0(a5)
267c: fdf77713 andi a4,a4,-33
2680: e779 bnez a4,274e <msh_exec+0x1a6>
2682: 00006537 lui a0,0x6
2686: c9c50513 addi a0,a0,-868 # 5c9c <__fsym_reboot_name+0x154>
268a: 00078023 sb zero,0(a5)
268e: 85a2 mv a1,s0
2690: c2dfe0ef jal ra,12bc <rt_kprintf>
2694: 557d li a0,-1
2696: a0a9 j 26e0 <msh_exec+0x138>
2698: 09b1 addi s3,s3,12
269a: bfb1 j 25f6 <msh_exec+0x4e>
269c: 00078023 sb zero,0(a5)
26a0: 0705 addi a4,a4,1
26a2: 0785 addi a5,a5,1
26a4: b77d j 2652 <msh_exec+0xaa>
26a6: 04651063 bne a0,t1,26e6 <msh_exec+0x13e>
26aa: 00006537 lui a0,0x6
26ae: c7850513 addi a0,a0,-904 # 5c78 <__fsym_reboot_name+0x130>
26b2: c0bfe0ef jal ra,12bc <rt_kprintf>
26b6: 1800 addi s0,sp,48
26b8: 000064b7 lui s1,0x6
26bc: 00092583 lw a1,0(s2)
26c0: c9848513 addi a0,s1,-872 # 5c98 <__fsym_reboot_name+0x150>
26c4: 0911 addi s2,s2,4
26c6: bf7fe0ef jal ra,12bc <rt_kprintf>
26ca: fe8919e3 bne s2,s0,26bc <msh_exec+0x114>
26ce: 00006537 lui a0,0x6
26d2: 5f850513 addi a0,a0,1528 # 65f8 <ch32_uart_ops+0xb4>
26d6: be7fe0ef jal ra,12bc <rt_kprintf>
26da: 4529 li a0,10
26dc: 002c addi a1,sp,8
26de: 9982 jalr s3
26e0: 6145 addi sp,sp,48
26e2: cdbfd06f j 3bc <__riscv_restore_4>
26e6: 00977e63 bgeu a4,s1,2702 <msh_exec+0x15a>
26ea: 0505 addi a0,a0,1
26ec: 04c59263 bne a1,a2,2730 <msh_exec+0x188>
26f0: 0785 addi a5,a5,1
26f2: 0705 addi a4,a4,1
26f4: c29c sw a5,0(a3)
26f6: 00078583 lb a1,0(a5)
26fa: 02c58163 beq a1,a2,271c <msh_exec+0x174>
26fe: 00976463 bltu a4,s1,2706 <msh_exec+0x15e>
2702: fd69 bnez a0,26dc <msh_exec+0x134>
2704: bf8d j 2676 <msh_exec+0xce>
2706: 00178e83 lb t4,1(a5)
270a: 01c59663 bne a1,t3,2716 <msh_exec+0x16e>
270e: 00ce9463 bne t4,a2,2716 <msh_exec+0x16e>
2712: 0785 addi a5,a5,1
2714: 0705 addi a4,a4,1
2716: 0785 addi a5,a5,1
2718: 0705 addi a4,a4,1
271a: bff1 j 26f6 <msh_exec+0x14e>
271c: fe9773e3 bgeu a4,s1,2702 <msh_exec+0x15a>
2720: 00078023 sb zero,0(a5)
2724: 0705 addi a4,a4,1
2726: 0785 addi a5,a5,1
2728: 0691 addi a3,a3,4
272a: f29764e3 bltu a4,s1,2652 <msh_exec+0xaa>
272e: bfd1 j 2702 <msh_exec+0x15a>
2730: c29c sw a5,0(a3)
2732: 00078583 lb a1,0(a5)
2736: 01058963 beq a1,a6,2748 <msh_exec+0x1a0>
273a: 01158763 beq a1,a7,2748 <msh_exec+0x1a0>
273e: fc9702e3 beq a4,s1,2702 <msh_exec+0x15a>
2742: 0785 addi a5,a5,1
2744: 0705 addi a4,a4,1
2746: b7f5 j 2732 <msh_exec+0x18a>
2748: fe9760e3 bltu a4,s1,2728 <msh_exec+0x180>
274c: bf5d j 2702 <msh_exec+0x15a>
274e: 0785 addi a5,a5,1
2750: b725 j 2678 <msh_exec+0xd0>
00002752 <msh_auto_complete>:
2752: c29fd2ef jal t0,37a <__riscv_save_10>
2756: 00050783 lb a5,0(a0)
275a: e799 bnez a5,2768 <msh_auto_complete+0x16>
275c: 4581 li a1,0
275e: 4501 li a0,0
2760: dedff0ef jal ra,254c <msh_help>
2764: c4ffd06f j 3b2 <__riscv_restore_10>
2768: 8a01aa03 lw s4,-1888(gp) # 200002e8 <_syscall_table_begin>
276c: 89aa mv s3,a0
276e: 4481 li s1,0
2770: 4901 li s2,0
2772: 00006b37 lui s6,0x6
2776: 00006bb7 lui s7,0x6
277a: 8a41a783 lw a5,-1884(gp) # 200002ec <_syscall_table_end>
277e: 00fa6963 bltu s4,a5,2790 <msh_auto_complete+0x3e>
2782: d0ed beqz s1,2764 <msh_auto_complete+0x12>
2784: 864a mv a2,s2
2786: 85a6 mv a1,s1
2788: 854e mv a0,s3
278a: f40fe0ef jal ra,eca <rt_strncpy>
278e: bfd9 j 2764 <msh_auto_complete+0x12>
2790: 000a2403 lw s0,0(s4)
2794: 4619 li a2,6
2796: cd0b0593 addi a1,s6,-816 # 5cd0 <__fsym_reboot_name+0x188>
279a: 8522 mv a0,s0
279c: 0d1020ef jal ra,506c <strncmp>
27a0: e121 bnez a0,27e0 <msh_auto_complete+0x8e>
27a2: 854e mv a0,s3
27a4: 0b7020ef jal ra,505a <strlen>
27a8: 0419 addi s0,s0,6
27aa: 862a mv a2,a0
27ac: 85a2 mv a1,s0
27ae: 854e mv a0,s3
27b0: 0bd020ef jal ra,506c <strncmp>
27b4: e515 bnez a0,27e0 <msh_auto_complete+0x8e>
27b6: 00091763 bnez s2,27c4 <msh_auto_complete+0x72>
27ba: 8522 mv a0,s0
27bc: 09f020ef jal ra,505a <strlen>
27c0: 892a mv s2,a0
27c2: 84a2 mv s1,s0
27c4: 87a6 mv a5,s1
27c6: 8722 mv a4,s0
27c8: 00078603 lb a2,0(a5)
27cc: ee01 bnez a2,27e4 <msh_auto_complete+0x92>
27ce: 8f85 sub a5,a5,s1
27d0: 0127d363 bge a5,s2,27d6 <msh_auto_complete+0x84>
27d4: 893e mv s2,a5
27d6: 85a2 mv a1,s0
27d8: ce0b8513 addi a0,s7,-800 # 5ce0 <__fsym_reboot_name+0x198>
27dc: ae1fe0ef jal ra,12bc <rt_kprintf>
27e0: 0a31 addi s4,s4,12
27e2: bf61 j 277a <msh_auto_complete+0x28>
27e4: 00070683 lb a3,0(a4) # e000e000 <_eusrstack+0xbfffe000>
27e8: d2fd beqz a3,27ce <msh_auto_complete+0x7c>
27ea: fed612e3 bne a2,a3,27ce <msh_auto_complete+0x7c>
27ee: 0785 addi a5,a5,1
27f0: 0705 addi a4,a4,1
27f2: bfd9 j 27c8 <msh_auto_complete+0x76>
000027f4 <cmd_ps>:
27f4: baffd2ef jal t0,3a2 <__riscv_save_0>
27f8: fa0ff0ef jal ra,1f98 <list_thread>
27fc: 4501 li a0,0
27fe: bc9fd06f j 3c6 <__riscv_restore_0>
00002802 <cmd_free>:
2802: ba1fd2ef jal t0,3a2 <__riscv_save_0>
2806: c03fe0ef jal ra,1408 <list_mem>
280a: 4501 li a0,0
280c: bbbfd06f j 3c6 <__riscv_restore_0>
00002810 <finsh_rx_ind>:
2810: b93fd2ef jal t0,3a2 <__riscv_save_0>
2814: 89c1a503 lw a0,-1892(gp) # 200002e4 <shell>
2818: 8cefe0ef jal ra,8e6 <rt_sem_release>
281c: 4501 li a0,0
281e: ba9fd06f j 3c6 <__riscv_restore_0>
00002822 <finsh_system_init>:
2822: b81fd2ef jal t0,3a2 <__riscv_save_0>
2826: 000067b7 lui a5,0x6
282a: 60878793 addi a5,a5,1544 # 6608 <__fsym_list_mem>
282e: 8af1a023 sw a5,-1888(gp) # 200002e8 <_syscall_table_begin>
2832: 000067b7 lui a5,0x6
2836: 75878793 addi a5,a5,1880 # 6758 <__rt_init_rti_start>
283a: 8af1a223 sw a5,-1884(gp) # 200002ec <_syscall_table_end>
283e: 000067b7 lui a5,0x6
2842: 75878793 addi a5,a5,1880 # 6758 <__rt_init_rti_start>
2846: 8af1a423 sw a5,-1880(gp) # 200002f0 <_sysvar_table_begin>
284a: 000067b7 lui a5,0x6
284e: 75878793 addi a5,a5,1880 # 6758 <__rt_init_rti_start>
2852: 21000593 li a1,528
2856: 4505 li a0,1
2858: 8af1a623 sw a5,-1876(gp) # 200002f4 <_sysvar_table_end>
285c: 89c18413 addi s0,gp,-1892 # 200002e4 <shell>
2860: d83fe0ef jal ra,15e2 <rt_calloc>
2864: c008 sw a0,0(s0)
2866: e919 bnez a0,287c <finsh_system_init+0x5a>
2868: 00006537 lui a0,0x6
286c: d9450513 addi a0,a0,-620 # 5d94 <__fsym___cmd_ps_name+0x40>
2870: a4dfe0ef jal ra,12bc <rt_kprintf>
2874: 547d li s0,-1
2876: 8522 mv a0,s0
2878: b4ffd06f j 3c6 <__riscv_restore_0>
287c: 000035b7 lui a1,0x3
2880: 00006537 lui a0,0x6
2884: 47a9 li a5,10
2886: 472d li a4,11
2888: 40000693 li a3,1024
288c: 4601 li a2,0
288e: 9a258593 addi a1,a1,-1630 # 29a2 <finsh_thread_entry>
2892: dac50513 addi a0,a0,-596 # 5dac <__fsym___cmd_ps_name+0x58>
2896: a2cff0ef jal ra,1ac2 <rt_thread_create>
289a: 84aa mv s1,a0
289c: 4008 lw a0,0(s0)
289e: 000065b7 lui a1,0x6
28a2: 4681 li a3,0
28a4: 4601 li a2,0
28a6: db458593 addi a1,a1,-588 # 5db4 <__fsym___cmd_ps_name+0x60>
28aa: f95fd0ef jal ra,83e <rt_sem_init>
28ae: 4401 li s0,0
28b0: d0f9 beqz s1,2876 <finsh_system_init+0x54>
28b2: 8526 mv a0,s1
28b4: b8aff0ef jal ra,1c3e <rt_thread_startup>
28b8: bf7d j 2876 <finsh_system_init+0x54>
000028ba <finsh_get_prompt>:
28ba: ae9fd2ef jal t0,3a2 <__riscv_save_0>
28be: ce7ff0ef jal ra,25a4 <msh_is_used>
28c2: c50d beqz a0,28ec <finsh_get_prompt+0x32>
28c4: 000065b7 lui a1,0x6
28c8: d6058593 addi a1,a1,-672 # 5d60 <__fsym___cmd_ps_name+0xc>
28cc: c8c18513 addi a0,gp,-884 # 200006d4 <finsh_prompt.4315>
28d0: 77a020ef jal ra,504a <strcpy>
28d4: 000065b7 lui a1,0x6
28d8: d7058593 addi a1,a1,-656 # 5d70 <__fsym___cmd_ps_name+0x1c>
28dc: c8c18513 addi a0,gp,-884 # 200006d4 <finsh_prompt.4315>
28e0: 74c020ef jal ra,502c <strcat>
28e4: c8c18513 addi a0,gp,-884 # 200006d4 <finsh_prompt.4315>
28e8: adffd06f j 3c6 <__riscv_restore_0>
28ec: 000065b7 lui a1,0x6
28f0: d6858593 addi a1,a1,-664 # 5d68 <__fsym___cmd_ps_name+0x14>
28f4: bfe1 j 28cc <finsh_get_prompt+0x12>
000028f6 <shell_handle_history>:
28f6: aadfd2ef jal t0,3a2 <__riscv_save_0>
28fa: 842a mv s0,a0
28fc: 00006537 lui a0,0x6
2900: dd050513 addi a0,a0,-560 # 5dd0 <__fsym___cmd_ps_name+0x7c>
2904: 9b9fe0ef jal ra,12bc <rt_kprintf>
2908: fb3ff0ef jal ra,28ba <finsh_get_prompt>
290c: 85aa mv a1,a0
290e: 00006537 lui a0,0x6
2912: 1ba40613 addi a2,s0,442
2916: dd850513 addi a0,a0,-552 # 5dd8 <__fsym___cmd_ps_name+0x84>
291a: 9a3fe0ef jal ra,12bc <rt_kprintf>
291e: 4501 li a0,0
2920: aa7fd06f j 3c6 <__riscv_restore_0>
00002924 <finsh_set_device>:
2924: a7ffd2ef jal t0,3a2 <__riscv_save_0>
2928: 1141 addi sp,sp,-16
292a: c62a sw a0,12(sp)
292c: c57fd0ef jal ra,582 <rt_device_find>
2930: 45b2 lw a1,12(sp)
2932: e911 bnez a0,2946 <finsh_set_device+0x22>
2934: 00006537 lui a0,0x6
2938: d7450513 addi a0,a0,-652 # 5d74 <__fsym___cmd_ps_name+0x20>
293c: 981fe0ef jal ra,12bc <rt_kprintf>
2940: 0141 addi sp,sp,16
2942: a85fd06f j 3c6 <__riscv_restore_0>
2946: 89c1a783 lw a5,-1892(gp) # 200002e4 <shell>
294a: 84aa mv s1,a0
294c: 89c18413 addi s0,gp,-1892 # 200002e4 <shell>
2950: 20c7a783 lw a5,524(a5)
2954: fea786e3 beq a5,a0,2940 <finsh_set_device+0x1c>
2958: 14300593 li a1,323
295c: ca5fd0ef jal ra,600 <rt_device_open>
2960: f165 bnez a0,2940 <finsh_set_device+0x1c>
2962: 401c lw a5,0(s0)
2964: 20c7a503 lw a0,524(a5)
2968: c909 beqz a0,297a <finsh_set_device+0x56>
296a: d11fd0ef jal ra,67a <rt_device_close>
296e: 401c lw a5,0(s0)
2970: 4581 li a1,0
2972: 20c7a503 lw a0,524(a5)
2976: d79fd0ef jal ra,6ee <rt_device_set_rx_indicate>
297a: 4000 lw s0,0(s0)
297c: 05000613 li a2,80
2980: 4581 li a1,0
2982: 1ba40513 addi a0,s0,442
2986: a4dfd0ef jal ra,3d2 <memset>
298a: 000035b7 lui a1,0x3
298e: 20041523 sh zero,522(s0)
2992: 20942623 sw s1,524(s0)
2996: 81058593 addi a1,a1,-2032 # 2810 <finsh_rx_ind>
299a: 8526 mv a0,s1
299c: d53fd0ef jal ra,6ee <rt_device_set_rx_indicate>
29a0: b745 j 2940 <finsh_set_device+0x1c>
000029a2 <finsh_thread_entry>:
29a2: 9d1fd2ef jal t0,372 <__riscv_save_12>
29a6: 89c1a783 lw a5,-1892(gp) # 200002e4 <shell>
29aa: 1141 addi sp,sp,-16
29ac: 89c18493 addi s1,gp,-1892 # 200002e4 <shell>
29b0: 0247c703 lbu a4,36(a5)
29b4: 00176713 ori a4,a4,1
29b8: 02e78223 sb a4,36(a5)
29bc: 20c7a783 lw a5,524(a5)
29c0: e791 bnez a5,29cc <finsh_thread_entry+0x2a>
29c2: 8c5fe0ef jal ra,1286 <rt_console_get_device>
29c6: c119 beqz a0,29cc <finsh_thread_entry+0x2a>
29c8: f5dff0ef jal ra,2924 <finsh_set_device>
29cc: eefff0ef jal ra,28ba <finsh_get_prompt>
29d0: 8edfe0ef jal ra,12bc <rt_kprintf>
29d4: 00006b37 lui s6,0x6
29d8: 00006bb7 lui s7,0x6
29dc: 000069b7 lui s3,0x6
29e0: 00006a37 lui s4,0x6
29e4: 00006ab7 lui s5,0x6
29e8: 00006c37 lui s8,0x6
29ec: 00006cb7 lui s9,0x6
29f0: 409c lw a5,0(s1)
29f2: 4685 li a3,1
29f4: 00f10613 addi a2,sp,15
29f8: 20c7a503 lw a0,524(a5)
29fc: 55fd li a1,-1
29fe: cb5fd0ef jal ra,6b2 <rt_device_read>
2a02: 4785 li a5,1
2a04: 00f51a63 bne a0,a5,2a18 <finsh_thread_entry+0x76>
2a08: 00f10903 lb s2,15(sp)
2a0c: 47ed li a5,27
2a0e: 4080 lw s0,0(s1)
2a10: 00f91963 bne s2,a5,2a22 <finsh_thread_entry+0x80>
2a14: d008 sw a0,32(s0)
2a16: bfe9 j 29f0 <finsh_thread_entry+0x4e>
2a18: 4088 lw a0,0(s1)
2a1a: 55fd li a1,-1
2a1c: e4bfd0ef jal ra,866 <rt_sem_take>
2a20: bfc1 j 29f0 <finsh_thread_entry+0x4e>
2a22: 501c lw a5,32(s0)
2a24: 02a79263 bne a5,a0,2a48 <finsh_thread_entry+0xa6>
2a28: 05b00793 li a5,91
2a2c: 00f91563 bne s2,a5,2a36 <finsh_thread_entry+0x94>
2a30: 4789 li a5,2
2a32: d01c sw a5,32(s0)
2a34: bf75 j 29f0 <finsh_thread_entry+0x4e>
2a36: 02042023 sw zero,32(s0)
2a3a: fa090be3 beqz s2,29f0 <finsh_thread_entry+0x4e>
2a3e: 47a5 li a5,9
2a40: 12f91463 bne s2,a5,2b68 <finsh_thread_entry+0x1c6>
2a44: 4901 li s2,0
2a46: a8d1 j 2b1a <finsh_thread_entry+0x178>
2a48: 4709 li a4,2
2a4a: fee798e3 bne a5,a4,2a3a <finsh_thread_entry+0x98>
2a4e: 02042023 sw zero,32(s0)
2a52: 04100793 li a5,65
2a56: 04f91263 bne s2,a5,2a9a <finsh_thread_entry+0xf8>
2a5a: 306e lhu a1,38(s0)
2a5c: d9d1 beqz a1,29f0 <finsh_thread_entry+0x4e>
2a5e: 15fd addi a1,a1,-1
2a60: 05c2 slli a1,a1,0x10
2a62: 81c1 srli a1,a1,0x10
2a64: b06e sh a1,38(s0)
2a66: 1ba40793 addi a5,s0,442
2a6a: 05000713 li a4,80
2a6e: 02e585b3 mul a1,a1,a4
2a72: 05000613 li a2,80
2a76: 853e mv a0,a5
2a78: 02a58593 addi a1,a1,42
2a7c: 95a2 add a1,a1,s0
2a7e: 4fc020ef jal ra,4f7a <memcpy>
2a82: 5d8020ef jal ra,505a <strlen>
2a86: 0ff57513 andi a0,a0,255
2a8a: 20a40523 sb a0,522(s0)
2a8e: 20a405a3 sb a0,523(s0)
2a92: 8522 mv a0,s0
2a94: e63ff0ef jal ra,28f6 <shell_handle_history>
2a98: bfa1 j 29f0 <finsh_thread_entry+0x4e>
2a9a: 04200793 li a5,66
2a9e: 02f91163 bne s2,a5,2ac0 <finsh_thread_entry+0x11e>
2aa2: 3416 lhu a3,40(s0)
2aa4: 307e lhu a5,38(s0)
2aa6: fff68713 addi a4,a3,-1 # 7fffffff <_eusrstack+0x5ffeffff>
2aaa: 00e7d863 bge a5,a4,2aba <finsh_thread_entry+0x118>
2aae: 0785 addi a5,a5,1
2ab0: b07e sh a5,38(s0)
2ab2: 1ba40793 addi a5,s0,442
2ab6: 306e lhu a1,38(s0)
2ab8: bf4d j 2a6a <finsh_thread_entry+0xc8>
2aba: da9d beqz a3,29f0 <finsh_thread_entry+0x4e>
2abc: b07a sh a4,38(s0)
2abe: bfd5 j 2ab2 <finsh_thread_entry+0x110>
2ac0: 04400793 li a5,68
2ac4: 02f91063 bne s2,a5,2ae4 <finsh_thread_entry+0x142>
2ac8: 20b44783 lbu a5,523(s0)
2acc: d395 beqz a5,29f0 <finsh_thread_entry+0x4e>
2ace: dbc98513 addi a0,s3,-580 # 5dbc <__fsym___cmd_ps_name+0x68>
2ad2: feafe0ef jal ra,12bc <rt_kprintf>
2ad6: 4098 lw a4,0(s1)
2ad8: 20b74783 lbu a5,523(a4)
2adc: 17fd addi a5,a5,-1
2ade: 20f705a3 sb a5,523(a4)
2ae2: b739 j 29f0 <finsh_thread_entry+0x4e>
2ae4: 04300793 li a5,67
2ae8: f4f919e3 bne s2,a5,2a3a <finsh_thread_entry+0x98>
2aec: 20b44783 lbu a5,523(s0)
2af0: 20a44703 lbu a4,522(s0)
2af4: eee7fee3 bgeu a5,a4,29f0 <finsh_thread_entry+0x4e>
2af8: 943e add s0,s0,a5
2afa: 1ba40583 lb a1,442(s0)
2afe: dc0a8513 addi a0,s5,-576 # 5dc0 <__fsym___cmd_ps_name+0x6c>
2b02: fbafe0ef jal ra,12bc <rt_kprintf>
2b06: 4098 lw a4,0(s1)
2b08: 20b74783 lbu a5,523(a4)
2b0c: 0785 addi a5,a5,1
2b0e: bfc1 j 2ade <finsh_thread_entry+0x13c>
2b10: dbc98513 addi a0,s3,-580
2b14: fa8fe0ef jal ra,12bc <rt_kprintf>
2b18: 0905 addi s2,s2,1
2b1a: 4080 lw s0,0(s1)
2b1c: 20b44783 lbu a5,523(s0)
2b20: fef948e3 blt s2,a5,2b10 <finsh_thread_entry+0x16e>
2b24: 5f8a0513 addi a0,s4,1528 # 65f8 <ch32_uart_ops+0xb4>
2b28: f94fe0ef jal ra,12bc <rt_kprintf>
2b2c: a79ff0ef jal ra,25a4 <msh_is_used>
2b30: 4785 li a5,1
2b32: 1ba40413 addi s0,s0,442
2b36: 00f51563 bne a0,a5,2b40 <finsh_thread_entry+0x19e>
2b3a: 8522 mv a0,s0
2b3c: c17ff0ef jal ra,2752 <msh_auto_complete>
2b40: d7bff0ef jal ra,28ba <finsh_get_prompt>
2b44: 8622 mv a2,s0
2b46: 85aa mv a1,a0
2b48: dd8c8513 addi a0,s9,-552 # 5dd8 <__fsym___cmd_ps_name+0x84>
2b4c: f70fe0ef jal ra,12bc <rt_kprintf>
2b50: 4080 lw s0,0(s1)
2b52: 1ba40513 addi a0,s0,442
2b56: 504020ef jal ra,505a <strlen>
2b5a: 0ff57513 andi a0,a0,255
2b5e: 20a40523 sb a0,522(s0)
2b62: 20a405a3 sb a0,523(s0)
2b66: b569 j 29f0 <finsh_thread_entry+0x4e>
2b68: 07f00793 li a5,127
2b6c: 00f90563 beq s2,a5,2b76 <finsh_thread_entry+0x1d4>
2b70: 47a1 li a5,8
2b72: 08f91563 bne s2,a5,2bfc <finsh_thread_entry+0x25a>
2b76: 20b44783 lbu a5,523(s0)
2b7a: e6078be3 beqz a5,29f0 <finsh_thread_entry+0x4e>
2b7e: 20a44603 lbu a2,522(s0)
2b82: 17fd addi a5,a5,-1
2b84: 0ff7f793 andi a5,a5,255
2b88: 167d addi a2,a2,-1
2b8a: 0ff67613 andi a2,a2,255
2b8e: 20c40523 sb a2,522(s0)
2b92: 20f405a3 sb a5,523(s0)
2b96: 04c7f863 bgeu a5,a2,2be6 <finsh_thread_entry+0x244>
2b9a: 1bb78593 addi a1,a5,443
2b9e: 1ba78513 addi a0,a5,442
2ba2: 8e1d sub a2,a2,a5
2ba4: 95a2 add a1,a1,s0
2ba6: 9522 add a0,a0,s0
2ba8: adafe0ef jal ra,e82 <rt_memmove>
2bac: 409c lw a5,0(s1)
2bae: dc4b8513 addi a0,s7,-572 # 5dc4 <__fsym___cmd_ps_name+0x70>
2bb2: 20a7c703 lbu a4,522(a5)
2bb6: 973e add a4,a4,a5
2bb8: 1a070d23 sb zero,442(a4)
2bbc: 20b7c583 lbu a1,523(a5)
2bc0: 1ba58593 addi a1,a1,442
2bc4: 95be add a1,a1,a5
2bc6: ef6fe0ef jal ra,12bc <rt_kprintf>
2bca: 409c lw a5,0(s1)
2bcc: 20b7c403 lbu s0,523(a5)
2bd0: 409c lw a5,0(s1)
2bd2: 20a7c783 lbu a5,522(a5)
2bd6: e087cde3 blt a5,s0,29f0 <finsh_thread_entry+0x4e>
2bda: dbc98513 addi a0,s3,-580
2bde: edefe0ef jal ra,12bc <rt_kprintf>
2be2: 0405 addi s0,s0,1
2be4: b7f5 j 2bd0 <finsh_thread_entry+0x22e>
2be6: dccb0513 addi a0,s6,-564 # 5dcc <__fsym___cmd_ps_name+0x78>
2bea: ed2fe0ef jal ra,12bc <rt_kprintf>
2bee: 409c lw a5,0(s1)
2bf0: 20a7c703 lbu a4,522(a5)
2bf4: 97ba add a5,a5,a4
2bf6: 1a078d23 sb zero,442(a5)
2bfa: bbdd j 29f0 <finsh_thread_entry+0x4e>
2bfc: 4735 li a4,13
2bfe: 20a44783 lbu a5,522(s0)
2c02: 00e90563 beq s2,a4,2c0c <finsh_thread_entry+0x26a>
2c06: 4729 li a4,10
2c08: 0ee91e63 bne s2,a4,2d04 <finsh_thread_entry+0x362>
2c0c: cbb9 beqz a5,2c62 <finsh_thread_entry+0x2c0>
2c0e: 02845903 lhu s2,40(s0)
2c12: 4791 li a5,4
2c14: 1ba40d13 addi s10,s0,442
2c18: 0927fb63 bgeu a5,s2,2cae <finsh_thread_entry+0x30c>
2c1c: 16a40d93 addi s11,s0,362
2c20: 05000613 li a2,80
2c24: 85ea mv a1,s10
2c26: 856e mv a0,s11
2c28: 32e020ef jal ra,4f56 <memcmp>
2c2c: c91d beqz a0,2c62 <finsh_thread_entry+0x2c0>
2c2e: 02a40913 addi s2,s0,42
2c32: 854a mv a0,s2
2c34: 05090913 addi s2,s2,80
2c38: 05000613 li a2,80
2c3c: 85ca mv a1,s2
2c3e: 33c020ef jal ra,4f7a <memcpy>
2c42: ff2d98e3 bne s11,s2,2c32 <finsh_thread_entry+0x290>
2c46: 05000613 li a2,80
2c4a: 4581 li a1,0
2c4c: 856e mv a0,s11
2c4e: f84fd0ef jal ra,3d2 <memset>
2c52: 20a44603 lbu a2,522(s0)
2c56: 85ea mv a1,s10
2c58: 856e mv a0,s11
2c5a: 320020ef jal ra,4f7a <memcpy>
2c5e: 4795 li a5,5
2c60: b41e sh a5,40(s0)
2c62: 341e lhu a5,40(s0)
2c64: b07e sh a5,38(s0)
2c66: 93fff0ef jal ra,25a4 <msh_is_used>
2c6a: 4785 li a5,1
2c6c: 02f51263 bne a0,a5,2c90 <finsh_thread_entry+0x2ee>
2c70: 409c lw a5,0(s1)
2c72: 0247c783 lbu a5,36(a5)
2c76: 8b85 andi a5,a5,1
2c78: c789 beqz a5,2c82 <finsh_thread_entry+0x2e0>
2c7a: 5f8a0513 addi a0,s4,1528
2c7e: e3efe0ef jal ra,12bc <rt_kprintf>
2c82: 4088 lw a0,0(s1)
2c84: 20a54583 lbu a1,522(a0)
2c88: 1ba50513 addi a0,a0,442
2c8c: 91dff0ef jal ra,25a8 <msh_exec>
2c90: c2bff0ef jal ra,28ba <finsh_get_prompt>
2c94: e28fe0ef jal ra,12bc <rt_kprintf>
2c98: 4080 lw s0,0(s1)
2c9a: 05000613 li a2,80
2c9e: 4581 li a1,0
2ca0: 1ba40513 addi a0,s0,442
2ca4: f2efd0ef jal ra,3d2 <memset>
2ca8: 20041523 sh zero,522(s0)
2cac: b391 j 29f0 <finsh_thread_entry+0x4e>
2cae: 02090163 beqz s2,2cd0 <finsh_thread_entry+0x32e>
2cb2: fff90513 addi a0,s2,-1
2cb6: 05000793 li a5,80
2cba: 02f50533 mul a0,a0,a5
2cbe: 05000613 li a2,80
2cc2: 85ea mv a1,s10
2cc4: 02a50513 addi a0,a0,42
2cc8: 9522 add a0,a0,s0
2cca: 28c020ef jal ra,4f56 <memcmp>
2cce: d951 beqz a0,2c62 <finsh_thread_entry+0x2c0>
2cd0: 05000d93 li s11,80
2cd4: 03b90533 mul a0,s2,s11
2cd8: 05000613 li a2,80
2cdc: 4581 li a1,0
2cde: 02a50513 addi a0,a0,42
2ce2: 9522 add a0,a0,s0
2ce4: eeefd0ef jal ra,3d2 <memset>
2ce8: 340a lhu a0,40(s0)
2cea: 20a44603 lbu a2,522(s0)
2cee: 85ea mv a1,s10
2cf0: 03b50533 mul a0,a0,s11
2cf4: 02a50513 addi a0,a0,42
2cf8: 9522 add a0,a0,s0
2cfa: 280020ef jal ra,4f7a <memcpy>
2cfe: 341e lhu a5,40(s0)
2d00: 0785 addi a5,a5,1
2d02: bfb9 j 2c60 <finsh_thread_entry+0x2be>
2d04: 04f00713 li a4,79
2d08: 00f77463 bgeu a4,a5,2d10 <finsh_thread_entry+0x36e>
2d0c: 20040523 sb zero,522(s0)
2d10: 20b44603 lbu a2,523(s0)
2d14: 20a44783 lbu a5,522(s0)
2d18: 08f67063 bgeu a2,a5,2d98 <finsh_thread_entry+0x3f6>
2d1c: 1ba60593 addi a1,a2,442
2d20: 1bb60513 addi a0,a2,443
2d24: 95a2 add a1,a1,s0
2d26: 40c78633 sub a2,a5,a2
2d2a: 9522 add a0,a0,s0
2d2c: 956fe0ef jal ra,e82 <rt_memmove>
2d30: 408c lw a1,0(s1)
2d32: 20b5c783 lbu a5,523(a1)
2d36: 00f58733 add a4,a1,a5
2d3a: 1b270d23 sb s2,442(a4)
2d3e: 0245c703 lbu a4,36(a1)
2d42: 8b05 andi a4,a4,1
2d44: cb01 beqz a4,2d54 <finsh_thread_entry+0x3b2>
2d46: 1ba78793 addi a5,a5,442
2d4a: 95be add a1,a1,a5
2d4c: b54c0513 addi a0,s8,-1196 # 5b54 <__fsym_reboot_name+0xc>
2d50: d6cfe0ef jal ra,12bc <rt_kprintf>
2d54: 409c lw a5,0(s1)
2d56: 20b7c403 lbu s0,523(a5)
2d5a: 409c lw a5,0(s1)
2d5c: 20a7c783 lbu a5,522(a5)
2d60: 02f44663 blt s0,a5,2d8c <finsh_thread_entry+0x3ea>
2d64: 4098 lw a4,0(s1)
2d66: 20a74783 lbu a5,522(a4)
2d6a: 20b74683 lbu a3,523(a4)
2d6e: 0785 addi a5,a5,1
2d70: 0685 addi a3,a3,1
2d72: 0ff7f793 andi a5,a5,255
2d76: 20d705a3 sb a3,523(a4)
2d7a: 20f70523 sb a5,522(a4)
2d7e: 04f00693 li a3,79
2d82: c6f6f7e3 bgeu a3,a5,29f0 <finsh_thread_entry+0x4e>
2d86: 20071523 sh zero,522(a4)
2d8a: b19d j 29f0 <finsh_thread_entry+0x4e>
2d8c: dbc98513 addi a0,s3,-580
2d90: d2cfe0ef jal ra,12bc <rt_kprintf>
2d94: 0405 addi s0,s0,1
2d96: b7d1 j 2d5a <finsh_thread_entry+0x3b8>
2d98: 97a2 add a5,a5,s0
2d9a: 1b278d23 sb s2,442(a5)
2d9e: 02444783 lbu a5,36(s0)
2da2: 8b85 andi a5,a5,1
2da4: d3e1 beqz a5,2d64 <finsh_thread_entry+0x3c2>
2da6: 85ca mv a1,s2
2da8: dc0a8513 addi a0,s5,-576
2dac: d10fe0ef jal ra,12bc <rt_kprintf>
2db0: bf55 j 2d64 <finsh_thread_entry+0x3c2>
00002db2 <rt_serial_init>:
2db2: 417c lw a5,68(a0)
2db4: 04052823 sw zero,80(a0)
2db8: 04052a23 sw zero,84(a0)
2dbc: 439c lw a5,0(a5)
2dbe: cb81 beqz a5,2dce <rt_serial_init+0x1c>
2dc0: de2fd2ef jal t0,3a2 <__riscv_save_0>
2dc4: 04850593 addi a1,a0,72
2dc8: 9782 jalr a5
2dca: dfcfd06f j 3c6 <__riscv_restore_0>
2dce: 4501 li a0,0
2dd0: 8082 ret
00002dd2 <rt_serial_write>:
2dd2: db6fd2ef jal t0,388 <__riscv_save_4>
2dd6: 8936 mv s2,a3
2dd8: ca9d beqz a3,2e0e <rt_serial_write+0x3c>
2dda: 84aa mv s1,a0
2ddc: 8432 mv s0,a2
2dde: 00d609b3 add s3,a2,a3
2de2: 4a29 li s4,10
2de4: 201c lbu a5,0(s0)
2de6: 01479b63 bne a5,s4,2dfc <rt_serial_write+0x2a>
2dea: 2cbe lhu a5,26(s1)
2dec: 0407f793 andi a5,a5,64
2df0: c791 beqz a5,2dfc <rt_serial_write+0x2a>
2df2: 40fc lw a5,68(s1)
2df4: 45b5 li a1,13
2df6: 8526 mv a0,s1
2df8: 479c lw a5,8(a5)
2dfa: 9782 jalr a5
2dfc: 40fc lw a5,68(s1)
2dfe: 00040583 lb a1,0(s0)
2e02: 8526 mv a0,s1
2e04: 479c lw a5,8(a5)
2e06: 0405 addi s0,s0,1
2e08: 9782 jalr a5
2e0a: fd341de3 bne s0,s3,2de4 <rt_serial_write+0x12>
2e0e: 854a mv a0,s2
2e10: dacfd06f j 3bc <__riscv_restore_4>
00002e14 <rt_serial_open>:
2e14: d8efd2ef jal t0,3a2 <__riscv_save_0>
2e18: 1005f793 andi a5,a1,256
2e1c: 842a mv s0,a0
2e1e: c791 beqz a5,2e2a <rt_serial_open+0x16>
2e20: 2d1a lhu a4,24(a0)
2e22: 5561 li a0,-8
2e24: 10077713 andi a4,a4,256
2e28: cf35 beqz a4,2ea4 <rt_serial_open+0x90>
2e2a: 4005f713 andi a4,a1,1024
2e2e: c711 beqz a4,2e3a <rt_serial_open+0x26>
2e30: 2c1a lhu a4,24(s0)
2e32: 5561 li a0,-8
2e34: 40077713 andi a4,a4,1024
2e38: c735 beqz a4,2ea4 <rt_serial_open+0x90>
2e3a: 0405f713 andi a4,a1,64
2e3e: 04000493 li s1,64
2e42: e701 bnez a4,2e4a <rt_serial_open+0x36>
2e44: 2c26 lhu s1,26(s0)
2e46: 0404f493 andi s1,s1,64
2e4a: 4838 lw a4,80(s0)
2e4c: 0ff5f593 andi a1,a1,255
2e50: ac2e sh a1,26(s0)
2e52: eb39 bnez a4,2ea8 <rt_serial_open+0x94>
2e54: c7a1 beqz a5,2e9c <rt_serial_open+0x88>
2e56: 4468 lw a0,76(s0)
2e58: 8129 srli a0,a0,0xa
2e5a: 0542 slli a0,a0,0x10
2e5c: 8141 srli a0,a0,0x10
2e5e: 0531 addi a0,a0,12
2e60: e56fe0ef jal ra,14b6 <rt_malloc>
2e64: 4470 lw a2,76(s0)
2e66: 892a mv s2,a0
2e68: 0531 addi a0,a0,12
2e6a: 8229 srli a2,a2,0xa
2e6c: 0642 slli a2,a2,0x10
2e6e: 8241 srli a2,a2,0x10
2e70: 4581 li a1,0
2e72: 00a92023 sw a0,0(s2)
2e76: ed3fd0ef jal ra,d48 <rt_memset>
2e7a: 00092223 sw zero,4(s2)
2e7e: 2c3e lhu a5,26(s0)
2e80: 00092423 sw zero,8(s2)
2e84: 05242823 sw s2,80(s0)
2e88: 1007e793 ori a5,a5,256
2e8c: ac3e sh a5,26(s0)
2e8e: 407c lw a5,68(s0)
2e90: 10000613 li a2,256
2e94: 45c1 li a1,16
2e96: 43dc lw a5,4(a5)
2e98: 8522 mv a0,s0
2e9a: 9782 jalr a5
2e9c: 2c3e lhu a5,26(s0)
2e9e: 4501 li a0,0
2ea0: 8cdd or s1,s1,a5
2ea2: ac26 sh s1,26(s0)
2ea4: d22fd06f j 3c6 <__riscv_restore_0>
2ea8: dbf5 beqz a5,2e9c <rt_serial_open+0x88>
2eaa: 1005e593 ori a1,a1,256
2eae: ac2e sh a1,26(s0)
2eb0: b7f5 j 2e9c <rt_serial_open+0x88>
00002eb2 <rt_serial_control>:
2eb2: 4809 li a6,2
2eb4: 87aa mv a5,a0
2eb6: 03058163 beq a1,a6,2ed8 <rt_serial_control+0x26>
2eba: ce8fd2ef jal t0,3a2 <__riscv_save_0>
2ebe: 480d li a6,3
2ec0: 03058263 beq a1,a6,2ee4 <rt_serial_control+0x32>
2ec4: 4705 li a4,1
2ec6: 04e59963 bne a1,a4,2f18 <rt_serial_control+0x66>
2eca: 2d1a lhu a4,24(a0)
2ecc: fdf77713 andi a4,a4,-33
2ed0: ad1a sh a4,24(a0)
2ed2: 4501 li a0,0
2ed4: cf2fd06f j 3c6 <__riscv_restore_0>
2ed8: 2d1a lhu a4,24(a0)
2eda: 02076713 ori a4,a4,32
2ede: ad1a sh a4,24(a0)
2ee0: 4501 li a0,0
2ee2: 8082 ret
2ee4: 8732 mv a4,a2
2ee6: d675 beqz a2,2ed2 <rt_serial_control+0x20>
2ee8: 4250 lw a2,4(a2)
2eea: 4574 lw a3,76(a0)
2eec: 2d4c lbu a1,28(a0)
2eee: 8229 srli a2,a2,0xa
2ef0: 82a9 srli a3,a3,0xa
2ef2: 0642 slli a2,a2,0x10
2ef4: 06c2 slli a3,a3,0x10
2ef6: 8241 srli a2,a2,0x10
2ef8: 82c1 srli a3,a3,0x10
2efa: 00d60463 beq a2,a3,2f02 <rt_serial_control+0x50>
2efe: 451d li a0,7
2f00: f9f1 bnez a1,2ed4 <rt_serial_control+0x22>
2f02: 4314 lw a3,0(a4)
2f04: c7b4 sw a3,72(a5)
2f06: 4354 lw a3,4(a4)
2f08: c7f4 sw a3,76(a5)
2f0a: d5e1 beqz a1,2ed2 <rt_serial_control+0x20>
2f0c: 43f4 lw a3,68(a5)
2f0e: 85ba mv a1,a4
2f10: 853e mv a0,a5
2f12: 4294 lw a3,0(a3)
2f14: 9682 jalr a3
2f16: bf75 j 2ed2 <rt_serial_control+0x20>
2f18: 417c lw a5,68(a0)
2f1a: 43dc lw a5,4(a5)
2f1c: 9782 jalr a5
2f1e: bf5d j 2ed4 <rt_serial_control+0x22>
00002f20 <rt_serial_read>:
2f20: c68fd2ef jal t0,388 <__riscv_save_4>
2f24: 8436 mv s0,a3
2f26: cab1 beqz a3,2f7a <rt_serial_read+0x5a>
2f28: 2d3e lhu a5,26(a0)
2f2a: 89aa mv s3,a0
2f2c: 8932 mv s2,a2
2f2e: 1007f793 andi a5,a5,256
2f32: 84b6 mv s1,a3
2f34: e39d bnez a5,2f5a <rt_serial_read+0x3a>
2f36: 5a7d li s4,-1
2f38: 4aa9 li s5,10
2f3a: 0449a783 lw a5,68(s3)
2f3e: 854e mv a0,s3
2f40: 47dc lw a5,12(a5)
2f42: 9782 jalr a5
2f44: 01450963 beq a0,s4,2f56 <rt_serial_read+0x36>
2f48: 00a90023 sb a0,0(s2)
2f4c: 14fd addi s1,s1,-1
2f4e: 0905 addi s2,s2,1
2f50: 01550363 beq a0,s5,2f56 <rt_serial_read+0x36>
2f54: f0fd bnez s1,2f3a <rt_serial_read+0x1a>
2f56: 8c05 sub s0,s0,s1
2f58: a00d j 2f7a <rt_serial_read+0x5a>
2f5a: 4924 lw s1,80(a0)
2f5c: 8a36 mv s4,a3
2f5e: 4a85 li s5,1
2f60: f37fe0ef jal ra,1e96 <rt_hw_interrupt_disable>
2f64: 20fe lhu a5,6(s1)
2f66: 20da lhu a4,4(s1)
2f68: 862a mv a2,a0
2f6a: 4494 lw a3,8(s1)
2f6c: 00f71a63 bne a4,a5,2f80 <rt_serial_read+0x60>
2f70: ea81 bnez a3,2f80 <rt_serial_read+0x60>
2f72: f31fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
2f76: 41440433 sub s0,s0,s4
2f7a: 8522 mv a0,s0
2f7c: c40fd06f j 3bc <__riscv_restore_4>
2f80: 4098 lw a4,0(s1)
2f82: 973e add a4,a4,a5
2f84: 00074b03 lbu s6,0(a4)
2f88: 04c9a703 lw a4,76(s3)
2f8c: 0785 addi a5,a5,1
2f8e: 07c2 slli a5,a5,0x10
2f90: 8329 srli a4,a4,0xa
2f92: 83c1 srli a5,a5,0x10
2f94: 0742 slli a4,a4,0x10
2f96: a0fe sh a5,6(s1)
2f98: 8341 srli a4,a4,0x10
2f9a: 00e7e463 bltu a5,a4,2fa2 <rt_serial_read+0x82>
2f9e: 00049323 sh zero,6(s1)
2fa2: 01569463 bne a3,s5,2faa <rt_serial_read+0x8a>
2fa6: 0004a423 sw zero,8(s1)
2faa: 8532 mv a0,a2
2fac: ef7fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
2fb0: 1a7d addi s4,s4,-1
2fb2: 01690023 sb s6,0(s2)
2fb6: 0905 addi s2,s2,1
2fb8: fa0a14e3 bnez s4,2f60 <rt_serial_read+0x40>
2fbc: bf6d j 2f76 <rt_serial_read+0x56>
00002fbe <rt_serial_close>:
2fbe: 2d58 lbu a4,28(a0)
2fc0: 4785 li a5,1
2fc2: 02e7ec63 bltu a5,a4,2ffa <rt_serial_close+0x3c>
2fc6: 2d3e lhu a5,26(a0)
2fc8: 1007f793 andi a5,a5,256
2fcc: c79d beqz a5,2ffa <rt_serial_close+0x3c>
2fce: bd4fd2ef jal t0,3a2 <__riscv_save_0>
2fd2: 842a mv s0,a0
2fd4: 4928 lw a0,80(a0)
2fd6: e30fe0ef jal ra,1606 <rt_free>
2fda: 2c3e lhu a5,26(s0)
2fdc: 04042823 sw zero,80(s0)
2fe0: 10000613 li a2,256
2fe4: eff7f793 andi a5,a5,-257
2fe8: ac3e sh a5,26(s0)
2fea: 407c lw a5,68(s0)
2fec: 45c5 li a1,17
2fee: 8522 mv a0,s0
2ff0: 43dc lw a5,4(a5)
2ff2: 9782 jalr a5
2ff4: 4501 li a0,0
2ff6: bd0fd06f j 3c6 <__riscv_restore_0>
2ffa: 4501 li a0,0
2ffc: 8082 ret
00002ffe <rt_hw_serial_register>:
2ffe: ba4fd2ef jal t0,3a2 <__riscv_save_0>
3002: 00003737 lui a4,0x3
3006: db270713 addi a4,a4,-590 # 2db2 <rt_serial_init>
300a: d518 sw a4,40(a0)
300c: 00003737 lui a4,0x3
3010: e1470713 addi a4,a4,-492 # 2e14 <rt_serial_open>
3014: d558 sw a4,44(a0)
3016: 00003737 lui a4,0x3
301a: fbe70713 addi a4,a4,-66 # 2fbe <rt_serial_close>
301e: d918 sw a4,48(a0)
3020: 00003737 lui a4,0x3
3024: f2070713 addi a4,a4,-224 # 2f20 <rt_serial_read>
3028: d958 sw a4,52(a0)
302a: 00003737 lui a4,0x3
302e: dd270713 addi a4,a4,-558 # 2dd2 <rt_serial_write>
3032: dd18 sw a4,56(a0)
3034: 00003737 lui a4,0x3
3038: eb270713 addi a4,a4,-334 # 2eb2 <rt_serial_control>
303c: 0642 slli a2,a2,0x10
303e: dd58 sw a4,60(a0)
3040: c134 sw a3,64(a0)
3042: 8241 srli a2,a2,0x10
3044: 00052a23 sw zero,20(a0)
3048: 02052023 sw zero,32(a0)
304c: 02052223 sw zero,36(a0)
3050: d7cfd0ef jal ra,5cc <rt_device_register>
3054: b72fd06f j 3c6 <__riscv_restore_0>
00003058 <rt_hw_serial_isr>:
3058: 0ff5f593 andi a1,a1,255
305c: 4785 li a5,1
305e: 0af59163 bne a1,a5,3100 <rt_hw_serial_isr+0xa8>
3062: b26fd2ef jal t0,388 <__riscv_save_4>
3066: 4920 lw s0,80(a0)
3068: 1141 addi sp,sp,-16
306a: 84aa mv s1,a0
306c: 597d li s2,-1
306e: 4985 li s3,1
3070: 40fc lw a5,68(s1)
3072: 8526 mv a0,s1
3074: 47dc lw a5,12(a5)
3076: 9782 jalr a5
3078: 8a2a mv s4,a0
307a: 05250763 beq a0,s2,30c8 <rt_hw_serial_isr+0x70>
307e: e19fe0ef jal ra,1e96 <rt_hw_interrupt_disable>
3082: 205a lhu a4,4(s0)
3084: 401c lw a5,0(s0)
3086: 97ba add a5,a5,a4
3088: 01478023 sb s4,0(a5)
308c: 205e lhu a5,4(s0)
308e: 44f8 lw a4,76(s1)
3090: 0785 addi a5,a5,1
3092: 07c2 slli a5,a5,0x10
3094: 8329 srli a4,a4,0xa
3096: 83c1 srli a5,a5,0x10
3098: 0742 slli a4,a4,0x10
309a: a05e sh a5,4(s0)
309c: 8341 srli a4,a4,0x10
309e: 00e7e463 bltu a5,a4,30a6 <rt_hw_serial_isr+0x4e>
30a2: 00041223 sh zero,4(s0)
30a6: 2076 lhu a3,6(s0)
30a8: 205e lhu a5,4(s0)
30aa: 00d79c63 bne a5,a3,30c2 <rt_hw_serial_isr+0x6a>
30ae: 0785 addi a5,a5,1
30b0: 07c2 slli a5,a5,0x10
30b2: 83c1 srli a5,a5,0x10
30b4: a07e sh a5,6(s0)
30b6: 01342423 sw s3,8(s0)
30ba: 00e7e463 bltu a5,a4,30c2 <rt_hw_serial_isr+0x6a>
30be: 00041323 sh zero,6(s0)
30c2: de1fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
30c6: b76d j 3070 <rt_hw_serial_isr+0x18>
30c8: 509c lw a5,32(s1)
30ca: c385 beqz a5,30ea <rt_hw_serial_isr+0x92>
30cc: dcbfe0ef jal ra,1e96 <rt_hw_interrupt_disable>
30d0: 205a lhu a4,4(s0)
30d2: 206e lhu a1,6(s0)
30d4: 00b76e63 bltu a4,a1,30f0 <rt_hw_serial_isr+0x98>
30d8: 40b705b3 sub a1,a4,a1
30dc: c62e sw a1,12(sp)
30de: dc5fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
30e2: 509c lw a5,32(s1)
30e4: 45b2 lw a1,12(sp)
30e6: 8526 mv a0,s1
30e8: 9782 jalr a5
30ea: 0141 addi sp,sp,16
30ec: ad0fd06f j 3bc <__riscv_restore_4>
30f0: 44fc lw a5,76(s1)
30f2: 8d99 sub a1,a1,a4
30f4: 83a9 srli a5,a5,0xa
30f6: 07c2 slli a5,a5,0x10
30f8: 83c1 srli a5,a5,0x10
30fa: 40b785b3 sub a1,a5,a1
30fe: bff9 j 30dc <rt_hw_serial_isr+0x84>
3100: 8082 ret
00003102 <_pin_control>:
3102: ce01 beqz a2,311a <_pin_control+0x18>
3104: a9efd2ef jal t0,3a2 <__riscv_save_0>
3108: 4178 lw a4,68(a0)
310a: 87b2 mv a5,a2
310c: 238e lhu a1,0(a5)
310e: 4318 lw a4,0(a4)
3110: 2232 lhu a2,2(a2)
3112: 9702 jalr a4
3114: 4501 li a0,0
3116: ab0fd06f j 3c6 <__riscv_restore_0>
311a: 557d li a0,-1
311c: 8082 ret
0000311e <rt_pin_mode>:
311e: a84fd2ef jal t0,3a2 <__riscv_save_0>
3122: d1018713 addi a4,gp,-752 # 20000758 <_hw_pin>
3126: 4378 lw a4,68(a4)
3128: 862e mv a2,a1
312a: 85aa mv a1,a0
312c: 4318 lw a4,0(a4)
312e: d1018513 addi a0,gp,-752 # 20000758 <_hw_pin>
3132: 9702 jalr a4
3134: a92fd06f j 3c6 <__riscv_restore_0>
00003138 <rt_pin_write>:
3138: a6afd2ef jal t0,3a2 <__riscv_save_0>
313c: d1018713 addi a4,gp,-752 # 20000758 <_hw_pin>
3140: 4378 lw a4,68(a4)
3142: 862e mv a2,a1
3144: 85aa mv a1,a0
3146: 4358 lw a4,4(a4)
3148: d1018513 addi a0,gp,-752 # 20000758 <_hw_pin>
314c: 9702 jalr a4
314e: a78fd06f j 3c6 <__riscv_restore_0>
00003152 <rt_pin_read>:
3152: a50fd2ef jal t0,3a2 <__riscv_save_0>
3156: d1018713 addi a4,gp,-752 # 20000758 <_hw_pin>
315a: 4378 lw a4,68(a4)
315c: 85aa mv a1,a0
315e: d1018513 addi a0,gp,-752 # 20000758 <_hw_pin>
3162: 4718 lw a4,8(a4)
3164: 9702 jalr a4
3166: a60fd06f j 3c6 <__riscv_restore_0>
0000316a <_pin_read>:
316a: c605 beqz a2,3192 <_pin_read+0x28>
316c: 4711 li a4,4
316e: 02e69263 bne a3,a4,3192 <_pin_read+0x28>
3172: a30fd2ef jal t0,3a2 <__riscv_save_0>
3176: 417c lw a5,68(a0)
3178: 220e lhu a1,0(a2)
317a: 1141 addi sp,sp,-16
317c: 479c lw a5,8(a5)
317e: c636 sw a3,12(sp)
3180: c432 sw a2,8(sp)
3182: 9782 jalr a5
3184: 4622 lw a2,8(sp)
3186: 46b2 lw a3,12(sp)
3188: a22a sh a0,2(a2)
318a: 8536 mv a0,a3
318c: 0141 addi sp,sp,16
318e: a38fd06f j 3c6 <__riscv_restore_0>
3192: 4681 li a3,0
3194: 8536 mv a0,a3
3196: 8082 ret
00003198 <_pin_write>:
3198: c21d beqz a2,31be <_pin_write+0x26>
319a: 87b2 mv a5,a2
319c: 4611 li a2,4
319e: 02c69063 bne a3,a2,31be <_pin_write+0x26>
31a2: a00fd2ef jal t0,3a2 <__riscv_save_0>
31a6: 4178 lw a4,68(a0)
31a8: 23b2 lhu a2,2(a5)
31aa: 238e lhu a1,0(a5)
31ac: 4358 lw a4,4(a4)
31ae: 1141 addi sp,sp,-16
31b0: c636 sw a3,12(sp)
31b2: 9702 jalr a4
31b4: 46b2 lw a3,12(sp)
31b6: 0141 addi sp,sp,16
31b8: 8536 mv a0,a3
31ba: a0cfd06f j 3c6 <__riscv_restore_0>
31be: 4681 li a3,0
31c0: 8536 mv a0,a3
31c2: 8082 ret
000031c4 <rt_device_pin_register>:
31c4: 9defd2ef jal t0,3a2 <__riscv_save_0>
31c8: d1018793 addi a5,gp,-752 # 20000758 <_hw_pin>
31cc: 4749 li a4,18
31ce: cbd8 sw a4,20(a5)
31d0: 00003737 lui a4,0x3
31d4: 16a70713 addi a4,a4,362 # 316a <_pin_read>
31d8: dbd8 sw a4,52(a5)
31da: 00003737 lui a4,0x3
31de: 19870713 addi a4,a4,408 # 3198 <_pin_write>
31e2: df98 sw a4,56(a5)
31e4: 00003737 lui a4,0x3
31e8: 10270713 addi a4,a4,258 # 3102 <_pin_control>
31ec: c3ec sw a1,68(a5)
31ee: c3b0 sw a2,64(a5)
31f0: 85aa mv a1,a0
31f2: 460d li a2,3
31f4: d1018513 addi a0,gp,-752 # 20000758 <_hw_pin>
31f8: 0207a023 sw zero,32(a5)
31fc: 0207a223 sw zero,36(a5)
3200: 0207a423 sw zero,40(a5)
3204: 0207a623 sw zero,44(a5)
3208: 0207a823 sw zero,48(a5)
320c: dfd8 sw a4,60(a5)
320e: bbefd0ef jal ra,5cc <rt_device_register>
3212: 4501 li a0,0
3214: 9b2fd06f j 3c6 <__riscv_restore_0>
00003218 <rt_heap_begin_get>:
3218: 20000537 lui a0,0x20000
321c: 7a050513 addi a0,a0,1952 # 200007a0 <rt_heap>
3220: 8082 ret
00003222 <rt_heap_end_get>:
3222: 20001537 lui a0,0x20001
3226: 7a050513 addi a0,a0,1952 # 200017a0 <serial1>
322a: 8082 ret
0000322c <rt_hw_board_init>:
322c: 976fd2ef jal t0,3a2 <__riscv_save_0>
3230: 200007b7 lui a5,0x20000
3234: 2487a703 lw a4,584(a5) # 20000248 <SystemCoreClock>
3238: 3e800793 li a5,1000
323c: 56c1 li a3,-16
323e: 02f75733 divu a4,a4,a5
3242: e000e7b7 lui a5,0xe000e
3246: 40d78623 sb a3,1036(a5) # e000e40c <_eusrstack+0xbfffe40c>
324a: 40d78723 sb a3,1038(a5)
324e: 6685 lui a3,0x1
3250: 10d7a023 sw a3,256(a5)
3254: 6691 lui a3,0x4
3256: 10d7a023 sw a3,256(a5)
325a: e000f7b7 lui a5,0xe000f
325e: 0007a023 sw zero,0(a5) # e000f000 <_eusrstack+0xbffff000>
3262: 0007a223 sw zero,4(a5)
3266: 4601 li a2,0
3268: c790 sw a2,8(a5)
326a: 4681 li a3,0
326c: c7d4 sw a3,12(a5)
326e: 4681 li a3,0
3270: fff70613 addi a2,a4,-1
3274: cb90 sw a2,16(a5)
3276: cbd4 sw a3,20(a5)
3278: 473d li a4,15
327a: c398 sw a4,0(a5)
327c: a64fd0ef jal ra,4e0 <rt_components_board_init>
3280: f99ff0ef jal ra,3218 <rt_heap_begin_get>
3284: 842a mv s0,a0
3286: f9dff0ef jal ra,3222 <rt_heap_end_get>
328a: 85aa mv a1,a0
328c: 8522 mv a0,s0
328e: 9acfe0ef jal ra,143a <rt_system_heap_init>
3292: 00006537 lui a0,0x6
3296: e5050513 addi a0,a0,-432 # 5e50 <__fsym_pinMode_name+0x8>
329a: ff3fd0ef jal ra,128c <rt_console_set_device>
329e: 928fd06f j 3c6 <__riscv_restore_0>
000032a2 <SysTick_Handler>:
32a2: 34011173 csrrw sp,mscratch,sp
32a6: 8a7fd0ef jal ra,b4c <rt_interrupt_enter>
32aa: e000f7b7 lui a5,0xe000f
32ae: 0007a223 sw zero,4(a5) # e000f004 <_eusrstack+0xbffff004>
32b2: 9cefd0ef jal ra,480 <rt_tick_increase>
32b6: 8c5fd0ef jal ra,b7a <rt_interrupt_leave>
32ba: 34011173 csrrw sp,mscratch,sp
32be: 30200073 mret
000032c2 <InitRingQueue>:
32c2: 00052623 sw zero,12(a0)
32c6: c10c sw a1,0(a0)
32c8: c150 sw a2,4(a0)
32ca: 00052423 sw zero,8(a0)
32ce: 4505 li a0,1
32d0: 8082 ret
000032d2 <InRingQueue>:
32d2: 455c lw a5,12(a0)
32d4: 4154 lw a3,4(a0)
32d6: 4518 lw a4,8(a0)
32d8: 0785 addi a5,a5,1
32da: 02d7e7b3 rem a5,a5,a3
32de: 00e78e63 beq a5,a4,32fa <InRingQueue+0x28>
32e2: 4558 lw a4,12(a0)
32e4: 411c lw a5,0(a0)
32e6: 97ba add a5,a5,a4
32e8: a38c sb a1,0(a5)
32ea: 455c lw a5,12(a0)
32ec: 4158 lw a4,4(a0)
32ee: 0785 addi a5,a5,1
32f0: 02e7e7b3 rem a5,a5,a4
32f4: c55c sw a5,12(a0)
32f6: 4505 li a0,1
32f8: 8082 ret
32fa: 5579 li a0,-2
32fc: 8082 ret
000032fe <OutRingQueue>:
32fe: 4518 lw a4,8(a0)
3300: 455c lw a5,12(a0)
3302: 00f70f63 beq a4,a5,3320 <OutRingQueue+0x22>
3306: 4518 lw a4,8(a0)
3308: 411c lw a5,0(a0)
330a: 97ba add a5,a5,a4
330c: 239c lbu a5,0(a5)
330e: a19c sb a5,0(a1)
3310: 451c lw a5,8(a0)
3312: 4158 lw a4,4(a0)
3314: 0785 addi a5,a5,1
3316: 02e7e7b3 rem a5,a5,a4
331a: c51c sw a5,8(a0)
331c: 4505 li a0,1
331e: 8082 ret
3320: 4501 li a0,0
3322: 8082 ret
00003324 <RingQueueLength>:
3324: 455c lw a5,12(a0)
3326: 4518 lw a4,8(a0)
3328: 4148 lw a0,4(a0)
332a: 8f99 sub a5,a5,a4
332c: 97aa add a5,a5,a0
332e: 02a7e533 rem a0,a5,a0
3332: 8082 ret
00003334 <bit2bitno>:
3334: 4781 li a5,0
3336: 4685 li a3,1
3338: 02000713 li a4,32
333c: 00f69633 sll a2,a3,a5
3340: 00a60663 beq a2,a0,334c <bit2bitno+0x18>
3344: 0785 addi a5,a5,1
3346: fee79be3 bne a5,a4,333c <bit2bitno+0x8>
334a: 57fd li a5,-1
334c: 853e mv a0,a5
334e: 8082 ret
00003350 <GPIOD_CLK_ENABLE>:
3350: 852fd2ef jal t0,3a2 <__riscv_save_0>
3354: 4585 li a1,1
3356: 02000513 li a0,32
335a: 602010ef jal ra,495c <RCC_APB2PeriphClockCmd>
335e: 868fd06f j 3c6 <__riscv_restore_0>
00003362 <GPIOB_CLK_ENABLE>:
3362: 840fd2ef jal t0,3a2 <__riscv_save_0>
3366: 4585 li a1,1
3368: 4521 li a0,8
336a: 5f2010ef jal ra,495c <RCC_APB2PeriphClockCmd>
336e: 858fd06f j 3c6 <__riscv_restore_0>
00003372 <GPIOA_CLK_ENABLE>:
3372: 830fd2ef jal t0,3a2 <__riscv_save_0>
3376: 4585 li a1,1
3378: 4511 li a0,4
337a: 5e2010ef jal ra,495c <RCC_APB2PeriphClockCmd>
337e: 848fd06f j 3c6 <__riscv_restore_0>
00003382 <GPIOC_CLK_ENABLE>:
3382: 820fd2ef jal t0,3a2 <__riscv_save_0>
3386: 4585 li a1,1
3388: 4541 li a0,16
338a: 5d2010ef jal ra,495c <RCC_APB2PeriphClockCmd>
338e: 838fd06f j 3c6 <__riscv_restore_0>
00003392 <GPIOE_CLK_ENABLE>:
3392: 810fd2ef jal t0,3a2 <__riscv_save_0>
3396: 4585 li a1,1
3398: 04000513 li a0,64
339c: 5c0010ef jal ra,495c <RCC_APB2PeriphClockCmd>
33a0: 826fd06f j 3c6 <__riscv_restore_0>
000033a4 <rt_hw_pin_init>:
33a4: ffffc2ef jal t0,3a2 <__riscv_save_0>
33a8: 6599 lui a1,0x6
33aa: 00006537 lui a0,0x6
33ae: 4601 li a2,0
33b0: e5858593 addi a1,a1,-424 # 5e58 <_ch32_pin_ops>
33b4: 54050513 addi a0,a0,1344 # 6540 <pins+0x650>
33b8: e0dff0ef jal ra,31c4 <rt_device_pin_register>
33bc: 80afd06f j 3c6 <__riscv_restore_0>
000033c0 <get_pin>:
33c0: 06400793 li a5,100
33c4: 00a7ec63 bltu a5,a0,33dc <get_pin+0x1c>
33c8: 00451793 slli a5,a0,0x4
33cc: 6519 lui a0,0x6
33ce: ef050513 addi a0,a0,-272 # 5ef0 <pins>
33d2: 953e add a0,a0,a5
33d4: 4118 lw a4,0(a0)
33d6: 57fd li a5,-1
33d8: 00f71363 bne a4,a5,33de <get_pin+0x1e>
33dc: 4501 li a0,0
33de: 8082 ret
000033e0 <ch32_pin_write>:
33e0: fc3fc2ef jal t0,3a2 <__riscv_save_0>
33e4: 1141 addi sp,sp,-16
33e6: 0ff5f513 andi a0,a1,255
33ea: c632 sw a2,12(sp)
33ec: fd5ff0ef jal ra,33c0 <get_pin>
33f0: c511 beqz a0,33fc <ch32_pin_write+0x1c>
33f2: 254e lhu a1,12(a0)
33f4: 4632 lw a2,12(sp)
33f6: 4508 lw a0,8(a0)
33f8: 36a010ef jal ra,4762 <GPIO_WriteBit>
33fc: 0141 addi sp,sp,16
33fe: fc9fc06f j 3c6 <__riscv_restore_0>
00003402 <ch32_pin_read>:
3402: fa1fc2ef jal t0,3a2 <__riscv_save_0>
3406: 0ff5f513 andi a0,a1,255
340a: fb7ff0ef jal ra,33c0 <get_pin>
340e: 87aa mv a5,a0
3410: 4501 li a0,0
3412: c789 beqz a5,341c <ch32_pin_read+0x1a>
3414: 27ce lhu a1,12(a5)
3416: 4788 lw a0,8(a5)
3418: 340010ef jal ra,4758 <GPIO_ReadInputDataBit>
341c: fabfc06f j 3c6 <__riscv_restore_0>
00003420 <ch32_pin_mode>:
3420: f83fc2ef jal t0,3a2 <__riscv_save_0>
3424: 1101 addi sp,sp,-32
3426: 0ff5f513 andi a0,a1,255
342a: 8432 mv s0,a2
342c: f95ff0ef jal ra,33c0 <get_pin>
3430: c505 beqz a0,3458 <ch32_pin_mode+0x38>
3432: 415c lw a5,4(a0)
3434: c62a sw a0,12(sp)
3436: 9782 jalr a5
3438: 4532 lw a0,12(sp)
343a: 455c lw a5,12(a0)
343c: 82fc sh a5,20(sp)
343e: 47c1 li a5,16
3440: ce3e sw a5,28(sp)
3442: 478d li a5,3
3444: cc3e sw a5,24(sp)
3446: c409 beqz s0,3450 <ch32_pin_mode+0x30>
3448: 4715 li a4,5
344a: 00e41a63 bne s0,a4,345e <ch32_pin_mode+0x3e>
344e: ce02 sw zero,28(sp)
3450: 4508 lw a0,8(a0)
3452: 084c addi a1,sp,20
3454: 244010ef jal ra,4698 <GPIO_Init>
3458: 6105 addi sp,sp,32
345a: f6dfc06f j 3c6 <__riscv_restore_0>
345e: 4705 li a4,1
3460: 00e41563 bne s0,a4,346a <ch32_pin_mode+0x4a>
3464: 4791 li a5,4
3466: ce3e sw a5,28(sp)
3468: b7e5 j 3450 <ch32_pin_mode+0x30>
346a: 00f41563 bne s0,a5,3474 <ch32_pin_mode+0x54>
346e: 02800793 li a5,40
3472: bfd5 j 3466 <ch32_pin_mode+0x46>
3474: 4789 li a5,2
3476: 00f41563 bne s0,a5,3480 <ch32_pin_mode+0x60>
347a: 04800793 li a5,72
347e: b7e5 j 3466 <ch32_pin_mode+0x46>
3480: 4791 li a5,4
3482: 00f41463 bne s0,a5,348a <ch32_pin_mode+0x6a>
3486: 47d1 li a5,20
3488: bff9 j 3466 <ch32_pin_mode+0x46>
348a: 4799 li a5,6
348c: 00f41463 bne s0,a5,3494 <ch32_pin_mode+0x74>
3490: 47f1 li a5,28
3492: bfd1 j 3466 <ch32_pin_mode+0x46>
3494: 479d li a5,7
3496: faf41de3 bne s0,a5,3450 <ch32_pin_mode+0x30>
349a: 47e1 li a5,24
349c: b7e9 j 3466 <ch32_pin_mode+0x46>
0000349e <ch32_pin_attach_irq>:
349e: eebfc2ef jal t0,388 <__riscv_save_4>
34a2: 0ff5f513 andi a0,a1,255
34a6: 84ae mv s1,a1
34a8: 89b2 mv s3,a2
34aa: 8a36 mv s4,a3
34ac: 893a mv s2,a4
34ae: f13ff0ef jal ra,33c0 <get_pin>
34b2: 4799 li a5,6
34b4: cd31 beqz a0,3510 <ch32_pin_attach_irq+0x72>
34b6: 4548 lw a0,12(a0)
34b8: e7dff0ef jal ra,3334 <bit2bitno>
34bc: 473d li a4,15
34be: 842a mv s0,a0
34c0: 4799 li a5,6
34c2: 04a76763 bltu a4,a0,3510 <ch32_pin_attach_irq+0x72>
34c6: 9d1fe0ef jal ra,1e96 <rt_hw_interrupt_disable>
34ca: 46b1 li a3,12
34cc: 02d406b3 mul a3,s0,a3
34d0: 200007b7 lui a5,0x20000
34d4: 08078713 addi a4,a5,128 # 20000080 <pin_irq_hdr_tab>
34d8: 862a mv a2,a0
34da: 08078793 addi a5,a5,128
34de: 9736 add a4,a4,a3
34e0: 00071683 lh a3,0(a4)
34e4: 00969f63 bne a3,s1,3502 <ch32_pin_attach_irq+0x64>
34e8: 434c lw a1,4(a4)
34ea: 01459c63 bne a1,s4,3502 <ch32_pin_attach_irq+0x64>
34ee: 232e lhu a1,2(a4)
34f0: 01359963 bne a1,s3,3502 <ch32_pin_attach_irq+0x64>
34f4: 4718 lw a4,8(a4)
34f6: 01271663 bne a4,s2,3502 <ch32_pin_attach_irq+0x64>
34fa: 9a9fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
34fe: 4781 li a5,0
3500: a801 j 3510 <ch32_pin_attach_irq+0x72>
3502: 577d li a4,-1
3504: 00e68963 beq a3,a4,3516 <ch32_pin_attach_irq+0x78>
3508: 8532 mv a0,a2
350a: 999fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
350e: 479d li a5,7
3510: 853e mv a0,a5
3512: eabfc06f j 3bc <__riscv_restore_4>
3516: 4531 li a0,12
3518: 02a40533 mul a0,s0,a0
351c: 953e add a0,a0,a5
351e: a106 sh s1,0(a0)
3520: 01452223 sw s4,4(a0)
3524: 01351123 sh s3,2(a0)
3528: 01252423 sw s2,8(a0)
352c: 8532 mv a0,a2
352e: b7f1 j 34fa <ch32_pin_attach_irq+0x5c>
00003530 <ch32_pin_dettach_irq>:
3530: e73fc2ef jal t0,3a2 <__riscv_save_0>
3534: 0ff5f513 andi a0,a1,255
3538: e89ff0ef jal ra,33c0 <get_pin>
353c: 4719 li a4,6
353e: c91d beqz a0,3574 <ch32_pin_dettach_irq+0x44>
3540: 4548 lw a0,12(a0)
3542: df3ff0ef jal ra,3334 <bit2bitno>
3546: 47bd li a5,15
3548: 842a mv s0,a0
354a: 4719 li a4,6
354c: 02a7e463 bltu a5,a0,3574 <ch32_pin_dettach_irq+0x44>
3550: 947fe0ef jal ra,1e96 <rt_hw_interrupt_disable>
3554: 47b1 li a5,12
3556: 02f40433 mul s0,s0,a5
355a: 200007b7 lui a5,0x20000
355e: 08078793 addi a5,a5,128 # 20000080 <pin_irq_hdr_tab>
3562: 577d li a4,-1
3564: 97a2 add a5,a5,s0
3566: 00079683 lh a3,0(a5)
356a: 00e69863 bne a3,a4,357a <ch32_pin_dettach_irq+0x4a>
356e: 935fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
3572: 4701 li a4,0
3574: 853a mv a0,a4
3576: e51fc06f j 3c6 <__riscv_restore_0>
357a: 6741 lui a4,0x10
357c: 177d addi a4,a4,-1
357e: c398 sw a4,0(a5)
3580: 0007a223 sw zero,4(a5)
3584: 0007a423 sw zero,8(a5)
3588: b7dd j 356e <ch32_pin_dettach_irq+0x3e>
0000358a <ch32_pin_irq_enable>:
358a: dfffc2ef jal t0,388 <__riscv_save_4>
358e: 1101 addi sp,sp,-32
3590: 0ff5f513 andi a0,a1,255
3594: 8a32 mv s4,a2
3596: e2bff0ef jal ra,33c0 <get_pin>
359a: 4799 li a5,6
359c: c121 beqz a0,35dc <ch32_pin_irq_enable+0x52>
359e: 4485 li s1,1
35a0: 842a mv s0,a0
35a2: 109a1563 bne s4,s1,36ac <ch32_pin_irq_enable+0x122>
35a6: 4548 lw a0,12(a0)
35a8: d8dff0ef jal ra,3334 <bit2bitno>
35ac: 473d li a4,15
35ae: 84aa mv s1,a0
35b0: 4799 li a5,6
35b2: 02a76563 bltu a4,a0,35dc <ch32_pin_irq_enable+0x52>
35b6: 8e1fe0ef jal ra,1e96 <rt_hw_interrupt_disable>
35ba: 4ab1 li s5,12
35bc: 035487b3 mul a5,s1,s5
35c0: 20000937 lui s2,0x20000
35c4: 08090913 addi s2,s2,128 # 20000080 <pin_irq_hdr_tab>
35c8: 89aa mv s3,a0
35ca: 993e add s2,s2,a5
35cc: 00091703 lh a4,0(s2)
35d0: 57fd li a5,-1
35d2: 00f71963 bne a4,a5,35e4 <ch32_pin_irq_enable+0x5a>
35d6: 8cdfe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
35da: 4799 li a5,6
35dc: 853e mv a0,a5
35de: 6105 addi sp,sp,32
35e0: dddfc06f j 3bc <__riscv_restore_4>
35e4: 405c lw a5,4(s0)
35e6: 9782 jalr a5
35e8: 4585 li a1,1
35ea: 4505 li a0,1
35ec: 370010ef jal ra,495c <RCC_APB2PeriphClockCmd>
35f0: 445c lw a5,12(s0)
35f2: 470d li a4,3
35f4: c43a sw a4,8(sp)
35f6: 827c sh a5,4(sp)
35f8: c83e sw a5,16(sp)
35fa: 00295783 lhu a5,2(s2)
35fe: ca02 sw zero,20(sp)
3600: ce52 sw s4,28(sp)
3602: 09478c63 beq a5,s4,369a <ch32_pin_irq_enable+0x110>
3606: c7c1 beqz a5,368e <ch32_pin_irq_enable+0x104>
3608: 4709 li a4,2
360a: 08e78d63 beq a5,a4,36a4 <ch32_pin_irq_enable+0x11a>
360e: 4408 lw a0,8(s0)
3610: 004c addi a1,sp,4
3612: 086010ef jal ra,4698 <GPIO_Init>
3616: 4418 lw a4,8(s0)
3618: 400117b7 lui a5,0x40011
361c: c0078693 addi a3,a5,-1024 # 40010c00 <_eusrstack+0x20000c00>
3620: 4505 li a0,1
3622: 02d70263 beq a4,a3,3646 <ch32_pin_irq_enable+0xbc>
3626: 4509 li a0,2
3628: 00f70f63 beq a4,a5,3646 <ch32_pin_irq_enable+0xbc>
362c: 40078793 addi a5,a5,1024
3630: 450d li a0,3
3632: 00f70a63 beq a4,a5,3646 <ch32_pin_irq_enable+0xbc>
3636: 400127b7 lui a5,0x40012
363a: 80078793 addi a5,a5,-2048 # 40011800 <_eusrstack+0x20001800>
363e: 4501 li a0,0
3640: 00f71363 bne a4,a5,3646 <ch32_pin_irq_enable+0xbc>
3644: 4511 li a0,4
3646: 0ff4f593 andi a1,s1,255
364a: 122010ef jal ra,476c <GPIO_EXTILineConfig>
364e: 0808 addi a0,sp,16
3650: 7b7000ef jal ra,4606 <EXTI_Init>
3654: 6799 lui a5,0x6
3656: e7078793 addi a5,a5,-400 # 5e70 <pin_irq_map>
365a: 048e slli s1,s1,0x3
365c: 94be add s1,s1,a5
365e: 40d0 lw a2,4(s1)
3660: e000e737 lui a4,0xe000e
3664: 05000693 li a3,80
3668: 00c707b3 add a5,a4,a2
366c: 40d78023 sb a3,1024(a5)
3670: 00565793 srli a5,a2,0x5
3674: 04078793 addi a5,a5,64
3678: 4685 li a3,1
367a: 078a slli a5,a5,0x2
367c: 00c696b3 sll a3,a3,a2
3680: 97ba add a5,a5,a4
3682: c394 sw a3,0(a5)
3684: 854e mv a0,s3
3686: 81dfe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
368a: 4781 li a5,0
368c: bf81 j 35dc <ch32_pin_irq_enable+0x52>
368e: 02800793 li a5,40
3692: c63e sw a5,12(sp)
3694: 47a1 li a5,8
3696: cc3e sw a5,24(sp)
3698: bf9d j 360e <ch32_pin_irq_enable+0x84>
369a: 04800793 li a5,72
369e: c63e sw a5,12(sp)
36a0: cc56 sw s5,24(sp)
36a2: b7b5 j 360e <ch32_pin_irq_enable+0x84>
36a4: 4791 li a5,4
36a6: c63e sw a5,12(sp)
36a8: 47c1 li a5,16
36aa: b7f5 j 3696 <ch32_pin_irq_enable+0x10c>
36ac: 4799 li a5,6
36ae: f20a17e3 bnez s4,35dc <ch32_pin_irq_enable+0x52>
36b2: 4548 lw a0,12(a0)
36b4: c81ff0ef jal ra,3334 <bit2bitno>
36b8: 473d li a4,15
36ba: 4799 li a5,6
36bc: f2a760e3 bltu a4,a0,35dc <ch32_pin_irq_enable+0x52>
36c0: 00351793 slli a5,a0,0x3
36c4: 6519 lui a0,0x6
36c6: e7050513 addi a0,a0,-400 # 5e70 <pin_irq_map>
36ca: 953e add a0,a0,a5
36cc: 4158 lw a4,4(a0)
36ce: 00575793 srli a5,a4,0x5
36d2: 06078793 addi a5,a5,96
36d6: 00e494b3 sll s1,s1,a4
36da: 078a slli a5,a5,0x2
36dc: e000e737 lui a4,0xe000e
36e0: 97ba add a5,a5,a4
36e2: c384 sw s1,0(a5)
36e4: b75d j 368a <ch32_pin_irq_enable+0x100>
000036e6 <HAL_GPIO_EXTI_Callback>:
36e6: cbdfc2ef jal t0,3a2 <__riscv_save_0>
36ea: c4bff0ef jal ra,3334 <bit2bitno>
36ee: 47b1 li a5,12
36f0: 02f50533 mul a0,a0,a5
36f4: 200007b7 lui a5,0x20000
36f8: 08078793 addi a5,a5,128 # 20000080 <pin_irq_hdr_tab>
36fc: 953e add a0,a0,a5
36fe: 415c lw a5,4(a0)
3700: c399 beqz a5,3706 <HAL_GPIO_EXTI_Callback+0x20>
3702: 4508 lw a0,8(a0)
3704: 9782 jalr a5
3706: cc1fc06f j 3c6 <__riscv_restore_0>
0000370a <EXTI0_IRQHandler>:
370a: 34011173 csrrw sp,mscratch,sp
370e: c3efd0ef jal ra,b4c <rt_interrupt_enter>
3712: 4505 li a0,1
3714: 75d000ef jal ra,4670 <EXTI_GetITStatus>
3718: c519 beqz a0,3726 <EXTI0_IRQHandler+0x1c>
371a: 4505 li a0,1
371c: fcbff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
3720: 4505 li a0,1
3722: 76d000ef jal ra,468e <EXTI_ClearITPendingBit>
3726: c54fd0ef jal ra,b7a <rt_interrupt_leave>
372a: 34011173 csrrw sp,mscratch,sp
372e: 30200073 mret
00003732 <EXTI1_IRQHandler>:
3732: 34011173 csrrw sp,mscratch,sp
3736: c16fd0ef jal ra,b4c <rt_interrupt_enter>
373a: 4509 li a0,2
373c: 735000ef jal ra,4670 <EXTI_GetITStatus>
3740: c519 beqz a0,374e <EXTI1_IRQHandler+0x1c>
3742: 4509 li a0,2
3744: fa3ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
3748: 4509 li a0,2
374a: 745000ef jal ra,468e <EXTI_ClearITPendingBit>
374e: c2cfd0ef jal ra,b7a <rt_interrupt_leave>
3752: 34011173 csrrw sp,mscratch,sp
3756: 30200073 mret
0000375a <EXTI2_IRQHandler>:
375a: 34011173 csrrw sp,mscratch,sp
375e: beefd0ef jal ra,b4c <rt_interrupt_enter>
3762: 4511 li a0,4
3764: 70d000ef jal ra,4670 <EXTI_GetITStatus>
3768: c519 beqz a0,3776 <EXTI2_IRQHandler+0x1c>
376a: 4511 li a0,4
376c: f7bff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
3770: 4511 li a0,4
3772: 71d000ef jal ra,468e <EXTI_ClearITPendingBit>
3776: c04fd0ef jal ra,b7a <rt_interrupt_leave>
377a: 34011173 csrrw sp,mscratch,sp
377e: 30200073 mret
00003782 <EXTI3_IRQHandler>:
3782: 34011173 csrrw sp,mscratch,sp
3786: bc6fd0ef jal ra,b4c <rt_interrupt_enter>
378a: 4521 li a0,8
378c: 6e5000ef jal ra,4670 <EXTI_GetITStatus>
3790: c519 beqz a0,379e <EXTI3_IRQHandler+0x1c>
3792: 4521 li a0,8
3794: f53ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
3798: 4521 li a0,8
379a: 6f5000ef jal ra,468e <EXTI_ClearITPendingBit>
379e: bdcfd0ef jal ra,b7a <rt_interrupt_leave>
37a2: 34011173 csrrw sp,mscratch,sp
37a6: 30200073 mret
000037aa <EXTI4_IRQHandler>:
37aa: 34011173 csrrw sp,mscratch,sp
37ae: b9efd0ef jal ra,b4c <rt_interrupt_enter>
37b2: 4541 li a0,16
37b4: 6bd000ef jal ra,4670 <EXTI_GetITStatus>
37b8: c519 beqz a0,37c6 <EXTI4_IRQHandler+0x1c>
37ba: 4541 li a0,16
37bc: f2bff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
37c0: 4541 li a0,16
37c2: 6cd000ef jal ra,468e <EXTI_ClearITPendingBit>
37c6: bb4fd0ef jal ra,b7a <rt_interrupt_leave>
37ca: 34011173 csrrw sp,mscratch,sp
37ce: 30200073 mret
000037d2 <EXTI9_5_IRQHandler>:
37d2: 34011173 csrrw sp,mscratch,sp
37d6: b76fd0ef jal ra,b4c <rt_interrupt_enter>
37da: 02000513 li a0,32
37de: 693000ef jal ra,4670 <EXTI_GetITStatus>
37e2: cd1d beqz a0,3820 <EXTI9_5_IRQHandler+0x4e>
37e4: 02000513 li a0,32
37e8: effff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
37ec: 04000513 li a0,64
37f0: ef7ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
37f4: 08000513 li a0,128
37f8: eefff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
37fc: 10000513 li a0,256
3800: ee7ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
3804: 20000513 li a0,512
3808: edfff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
380c: 3e000513 li a0,992
3810: 67f000ef jal ra,468e <EXTI_ClearITPendingBit>
3814: b66fd0ef jal ra,b7a <rt_interrupt_leave>
3818: 34011173 csrrw sp,mscratch,sp
381c: 30200073 mret
3820: 04000513 li a0,64
3824: 64d000ef jal ra,4670 <EXTI_GetITStatus>
3828: fd55 bnez a0,37e4 <EXTI9_5_IRQHandler+0x12>
382a: 08000513 li a0,128
382e: 643000ef jal ra,4670 <EXTI_GetITStatus>
3832: f94d bnez a0,37e4 <EXTI9_5_IRQHandler+0x12>
3834: 10000513 li a0,256
3838: 639000ef jal ra,4670 <EXTI_GetITStatus>
383c: f545 bnez a0,37e4 <EXTI9_5_IRQHandler+0x12>
383e: 20000513 li a0,512
3842: 62f000ef jal ra,4670 <EXTI_GetITStatus>
3846: fd59 bnez a0,37e4 <EXTI9_5_IRQHandler+0x12>
3848: b7f1 j 3814 <EXTI9_5_IRQHandler+0x42>
0000384a <EXTI15_10_IRQHandler>:
384a: 34011173 csrrw sp,mscratch,sp
384e: afefd0ef jal ra,b4c <rt_interrupt_enter>
3852: 40000513 li a0,1024
3856: 61b000ef jal ra,4670 <EXTI_GetITStatus>
385a: c129 beqz a0,389c <EXTI15_10_IRQHandler+0x52>
385c: 40000513 li a0,1024
3860: e87ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
3864: 6505 lui a0,0x1
3866: 80050513 addi a0,a0,-2048 # 800 <__stack_size>
386a: e7dff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
386e: 6505 lui a0,0x1
3870: e77ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
3874: 6509 lui a0,0x2
3876: e71ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
387a: 6511 lui a0,0x4
387c: e6bff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
3880: 6521 lui a0,0x8
3882: e65ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
3886: 6541 lui a0,0x10
3888: c0050513 addi a0,a0,-1024 # fc00 <__rt_init_end+0x948c>
388c: 603000ef jal ra,468e <EXTI_ClearITPendingBit>
3890: aeafd0ef jal ra,b7a <rt_interrupt_leave>
3894: 34011173 csrrw sp,mscratch,sp
3898: 30200073 mret
389c: 6505 lui a0,0x1
389e: 80050513 addi a0,a0,-2048 # 800 <__stack_size>
38a2: 5cf000ef jal ra,4670 <EXTI_GetITStatus>
38a6: f95d bnez a0,385c <EXTI15_10_IRQHandler+0x12>
38a8: 6505 lui a0,0x1
38aa: 5c7000ef jal ra,4670 <EXTI_GetITStatus>
38ae: f55d bnez a0,385c <EXTI15_10_IRQHandler+0x12>
38b0: 6509 lui a0,0x2
38b2: 5bf000ef jal ra,4670 <EXTI_GetITStatus>
38b6: f15d bnez a0,385c <EXTI15_10_IRQHandler+0x12>
38b8: 6511 lui a0,0x4
38ba: 5b7000ef jal ra,4670 <EXTI_GetITStatus>
38be: fd59 bnez a0,385c <EXTI15_10_IRQHandler+0x12>
38c0: 6521 lui a0,0x8
38c2: 5af000ef jal ra,4670 <EXTI_GetITStatus>
38c6: f959 bnez a0,385c <EXTI15_10_IRQHandler+0x12>
38c8: b7e1 j 3890 <EXTI15_10_IRQHandler+0x46>
000038ca <ch32dma_transmit>:
38ca: 4501 li a0,0
38cc: 8082 ret
000038ce <ch32_configure>:
38ce: ad5fc2ef jal t0,3a2 <__riscv_save_0>
38d2: 419c lw a5,0(a1)
38d4: 4120 lw s0,64(a0)
38d6: 46a1 li a3,8
38d8: 1141 addi sp,sp,-16
38da: c01c sw a5,0(s0)
38dc: 47b1 li a5,12
38de: a43e sh a5,10(s0)
38e0: 41dc lw a5,4(a1)
38e2: 00041623 sh zero,12(s0)
38e6: 00f7f713 andi a4,a5,15
38ea: 02d70163 beq a4,a3,390c <ch32_configure+0x3e>
38ee: 46a5 li a3,9
38f0: 00d71e63 bne a4,a3,390c <ch32_configure+0x3e>
38f4: 6705 lui a4,0x1
38f6: a05a sh a4,4(s0)
38f8: 0047d713 srli a4,a5,0x4
38fc: 8b0d andi a4,a4,3
38fe: c701 beqz a4,3906 <ch32_configure+0x38>
3900: 4685 li a3,1
3902: 00d70863 beq a4,a3,3912 <ch32_configure+0x44>
3906: 00041323 sh zero,6(s0)
390a: a031 j 3916 <ch32_configure+0x48>
390c: 00041223 sh zero,4(s0)
3910: b7e5 j 38f8 <ch32_configure+0x2a>
3912: 6709 lui a4,0x2
3914: a07a sh a4,6(s0)
3916: 8399 srli a5,a5,0x6
3918: 8b8d andi a5,a5,3
391a: 4705 li a4,1
391c: 00e78963 beq a5,a4,392e <ch32_configure+0x60>
3920: c781 beqz a5,3928 <ch32_configure+0x5a>
3922: 4709 li a4,2
3924: 06e78963 beq a5,a4,3996 <ch32_configure+0xc8>
3928: 00041423 sh zero,8(s0)
392c: a021 j 3934 <ch32_configure+0x66>
392e: 60000793 li a5,1536
3932: a41e sh a5,8(s0)
3934: 4818 lw a4,16(s0)
3936: 400147b7 lui a5,0x40014
393a: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
393e: 04f71863 bne a4,a5,398e <ch32_configure+0xc0>
3942: 6511 lui a0,0x4
3944: 4585 li a1,1
3946: 0511 addi a0,a0,4
3948: 014010ef jal ra,495c <RCC_APB2PeriphClockCmd>
394c: 20000793 li a5,512
3950: 400114b7 lui s1,0x40011
3954: 827c sh a5,4(sp)
3956: 490d li s2,3
3958: 47e1 li a5,24
395a: 004c addi a1,sp,4
395c: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x20000800>
3960: c63e sw a5,12(sp)
3962: c44a sw s2,8(sp)
3964: 535000ef jal ra,4698 <GPIO_Init>
3968: 40000793 li a5,1024
396c: 827c sh a5,4(sp)
396e: 004c addi a1,sp,4
3970: 4791 li a5,4
3972: 80048513 addi a0,s1,-2048
3976: c63e sw a5,12(sp)
3978: c44a sw s2,8(sp)
397a: 51f000ef jal ra,4698 <GPIO_Init>
397e: 4808 lw a0,16(s0)
3980: 85a2 mv a1,s0
3982: 016010ef jal ra,4998 <USART_Init>
3986: 4808 lw a0,16(s0)
3988: 4585 li a1,1
398a: 09e010ef jal ra,4a28 <USART_Cmd>
398e: 4501 li a0,0
3990: 0141 addi sp,sp,16
3992: a35fc06f j 3c6 <__riscv_restore_0>
3996: 40000793 li a5,1024
399a: bf61 j 3932 <ch32_configure+0x64>
0000399c <rt_hw_usart_init>:
399c: 9edfc2ef jal t0,388 <__riscv_save_4>
39a0: 200014b7 lui s1,0x20001
39a4: 7f848413 addi s0,s1,2040 # 200017f8 <uart1>
39a8: 03500793 li a5,53
39ac: c85c sw a5,20(s0)
39ae: 20001937 lui s2,0x20001
39b2: 400147b7 lui a5,0x40014
39b6: 7a090613 addi a2,s2,1952 # 200017a0 <serial1>
39ba: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
39be: 4674 lw a3,76(a2)
39c0: c81c sw a5,16(s0)
39c2: 6799 lui a5,0x6
39c4: 54478793 addi a5,a5,1348 # 6544 <ch32_uart_ops>
39c8: c27c sw a5,68(a2)
39ca: c00007b7 lui a5,0xc0000
39ce: 8ff5 and a5,a5,a3
39d0: 66c1 lui a3,0x10
39d2: 06a1 addi a3,a3,8
39d4: 6771 lui a4,0x1c
39d6: 20070713 addi a4,a4,512 # 1c200 <__rt_init_end+0x15a8c>
39da: 8fd5 or a5,a5,a3
39dc: 6511 lui a0,0x4
39de: 1141 addi sp,sp,-16
39e0: c638 sw a4,72(a2)
39e2: c67c sw a5,76(a2)
39e4: 4585 li a1,1
39e6: 000c07b7 lui a5,0xc0
39ea: 0511 addi a0,a0,4
39ec: c018 sw a4,0(s0)
39ee: c41c sw a5,8(s0)
39f0: 00042223 sw zero,4(s0)
39f4: 00041623 sh zero,12(s0)
39f8: 765000ef jal ra,495c <RCC_APB2PeriphClockCmd>
39fc: 400119b7 lui s3,0x40011
3a00: 20000793 li a5,512
3a04: 827c sh a5,4(sp)
3a06: 4a0d li s4,3
3a08: 47e1 li a5,24
3a0a: 004c addi a1,sp,4
3a0c: 80098513 addi a0,s3,-2048 # 40010800 <_eusrstack+0x20000800>
3a10: c452 sw s4,8(sp)
3a12: c63e sw a5,12(sp)
3a14: 485000ef jal ra,4698 <GPIO_Init>
3a18: 40000793 li a5,1024
3a1c: 827c sh a5,4(sp)
3a1e: 004c addi a1,sp,4
3a20: 4791 li a5,4
3a22: 80098513 addi a0,s3,-2048
3a26: c63e sw a5,12(sp)
3a28: c452 sw s4,8(sp)
3a2a: 46f000ef jal ra,4698 <GPIO_Init>
3a2e: 4808 lw a0,16(s0)
3a30: 7f848593 addi a1,s1,2040
3a34: 765000ef jal ra,4998 <USART_Init>
3a38: 4808 lw a0,16(s0)
3a3a: 4585 li a1,1
3a3c: 7ed000ef jal ra,4a28 <USART_Cmd>
3a40: 000065b7 lui a1,0x6
3a44: 7f848693 addi a3,s1,2040
3a48: 10300613 li a2,259
3a4c: e5058593 addi a1,a1,-432 # 5e50 <__fsym_pinMode_name+0x8>
3a50: 7a090513 addi a0,s2,1952
3a54: daaff0ef jal ra,2ffe <rt_hw_serial_register>
3a58: 4501 li a0,0
3a5a: 0141 addi sp,sp,16
3a5c: 961fc06f j 3bc <__riscv_restore_4>
00003a60 <ch32_getc>:
3a60: 943fc2ef jal t0,3a2 <__riscv_save_0>
3a64: 4120 lw s0,64(a0)
3a66: 02000593 li a1,32
3a6a: 4808 lw a0,16(s0)
3a6c: 018010ef jal ra,4a84 <USART_GetFlagStatus>
3a70: c519 beqz a0,3a7e <ch32_getc+0x1e>
3a72: 481c lw a5,16(s0)
3a74: 23ca lhu a0,4(a5)
3a76: 0ff57513 andi a0,a0,255
3a7a: 94dfc06f j 3c6 <__riscv_restore_0>
3a7e: 557d li a0,-1
3a80: bfed j 3a7a <ch32_getc+0x1a>
00003a82 <ch32_putc>:
3a82: 921fc2ef jal t0,3a2 <__riscv_save_0>
3a86: 4124 lw s1,64(a0)
3a88: 842e mv s0,a1
3a8a: 4888 lw a0,16(s1)
3a8c: 04000593 li a1,64
3a90: 7f5000ef jal ra,4a84 <USART_GetFlagStatus>
3a94: d97d beqz a0,3a8a <ch32_putc+0x8>
3a96: 489c lw a5,16(s1)
3a98: 0442 slli s0,s0,0x10
3a9a: 8041 srli s0,s0,0x10
3a9c: a3c2 sh s0,4(a5)
3a9e: 4505 li a0,1
3aa0: 927fc06f j 3c6 <__riscv_restore_0>
00003aa4 <ch32_control>:
3aa4: 8fffc2ef jal t0,3a2 <__riscv_save_0>
3aa8: 47c1 li a5,16
3aaa: 4138 lw a4,64(a0)
3aac: 02f58b63 beq a1,a5,3ae2 <ch32_control+0x3e>
3ab0: 47c5 li a5,17
3ab2: 02f59563 bne a1,a5,3adc <ch32_control+0x38>
3ab6: 4b54 lw a3,20(a4)
3ab8: 4605 li a2,1
3aba: 0056d793 srli a5,a3,0x5
3abe: 06078793 addi a5,a5,96 # c0060 <__rt_init_end+0xb98ec>
3ac2: 00d61633 sll a2,a2,a3
3ac6: 078a slli a5,a5,0x2
3ac8: e000e6b7 lui a3,0xe000e
3acc: 97b6 add a5,a5,a3
3ace: c390 sw a2,0(a5)
3ad0: 4601 li a2,0
3ad2: 4b08 lw a0,16(a4)
3ad4: 52500593 li a1,1317
3ad8: 767000ef jal ra,4a3e <USART_ITConfig>
3adc: 4501 li a0,0
3ade: 8e9fc06f j 3c6 <__riscv_restore_0>
3ae2: 4b54 lw a3,20(a4)
3ae4: 4605 li a2,1
3ae6: 0056d793 srli a5,a3,0x5
3aea: 04078793 addi a5,a5,64
3aee: 00d61633 sll a2,a2,a3
3af2: 078a slli a5,a5,0x2
3af4: e000e6b7 lui a3,0xe000e
3af8: 97b6 add a5,a5,a3
3afa: c390 sw a2,0(a5)
3afc: 4605 li a2,1
3afe: bfd1 j 3ad2 <ch32_control+0x2e>
00003b00 <USART1_IRQHandler>:
3b00: 1141 addi sp,sp,-16
3b02: c622 sw s0,12(sp)
3b04: c426 sw s1,8(sp)
3b06: 34011173 csrrw sp,mscratch,sp
3b0a: 200014b7 lui s1,0x20001
3b0e: 83efd0ef jal ra,b4c <rt_interrupt_enter>
3b12: 7a048793 addi a5,s1,1952 # 200017a0 <serial1>
3b16: 43a0 lw s0,64(a5)
3b18: 52500593 li a1,1317
3b1c: 4808 lw a0,16(s0)
3b1e: 771000ef jal ra,4a8e <USART_GetITStatus>
3b22: c919 beqz a0,3b38 <USART1_IRQHandler+0x38>
3b24: 4585 li a1,1
3b26: 7a048513 addi a0,s1,1952
3b2a: d2eff0ef jal ra,3058 <rt_hw_serial_isr>
3b2e: 4808 lw a0,16(s0)
3b30: 52500593 li a1,1317
3b34: 797000ef jal ra,4aca <USART_ClearITPendingBit>
3b38: 842fd0ef jal ra,b7a <rt_interrupt_leave>
3b3c: 34011173 csrrw sp,mscratch,sp
3b40: 4432 lw s0,12(sp)
3b42: 44a2 lw s1,8(sp)
3b44: 0141 addi sp,sp,16
3b46: 30200073 mret
00003b4a <NMI_Handler>:
3b4a: 34011173 csrrw sp,mscratch,sp
3b4e: ffffc0ef jal ra,b4c <rt_interrupt_enter>
3b52: 00006537 lui a0,0x6
3b56: 56450513 addi a0,a0,1380 # 6564 <ch32_uart_ops+0x20>
3b5a: f62fd0ef jal ra,12bc <rt_kprintf>
3b5e: 81cfd0ef jal ra,b7a <rt_interrupt_leave>
3b62: 34011173 csrrw sp,mscratch,sp
3b66: 30200073 mret
00003b6a <HardFault_Handler>:
3b6a: 34011173 csrrw sp,mscratch,sp
3b6e: fdffc0ef jal ra,b4c <rt_interrupt_enter>
3b72: 00006537 lui a0,0x6
3b76: 55850513 addi a0,a0,1368 # 6558 <ch32_uart_ops+0x14>
3b7a: f42fd0ef jal ra,12bc <rt_kprintf>
3b7e: ffdfc0ef jal ra,b7a <rt_interrupt_leave>
3b82: 34011173 csrrw sp,mscratch,sp
3b86: 30200073 mret
00003b8a <main>:
3b8a: 819fc2ef jal t0,3a2 <__riscv_save_0>
3b8e: 00006537 lui a0,0x6
3b92: 57450513 addi a0,a0,1396 # 6574 <ch32_uart_ops+0x30>
3b96: f26fd0ef jal ra,12bc <rt_kprintf>
3b9a: 2ab1 jal 3cf6 <SystemCoreClockUpdate>
3b9c: 200007b7 lui a5,0x20000
3ba0: 2487a583 lw a1,584(a5) # 20000248 <SystemCoreClock>
3ba4: 00006537 lui a0,0x6
3ba8: 58850513 addi a0,a0,1416 # 6588 <ch32_uart_ops+0x44>
3bac: f10fd0ef jal ra,12bc <rt_kprintf>
3bb0: 24d000ef jal ra,45fc <DBGMCU_GetCHIPID>
3bb4: 85aa mv a1,a0
3bb6: 00006537 lui a0,0x6
3bba: 59850513 addi a0,a0,1432 # 6598 <ch32_uart_ops+0x54>
3bbe: efefd0ef jal ra,12bc <rt_kprintf>
3bc2: 202d jal 3bec <app_star>
3bc4: 4501 li a0,0
3bc6: 801fc06f j 3c6 <__riscv_restore_0>
00003bca <hareware_init>:
3bca: fd8fc2ef jal t0,3a2 <__riscv_save_0>
3bce: 711000ef jal ra,4ade <android_PowerCtrl_Init>
3bd2: 71d000ef jal ra,4aee <android_PowerCtrl_Open>
3bd6: ff0fc06f j 3c6 <__riscv_restore_0>
00003bda <software_init>:
3bda: fc8fc2ef jal t0,3a2 <__riscv_save_0>
3bde: 782000ef jal ra,4360 <uart_dev_init>
3be2: 2d51 jal 4276 <Send_mq_Init>
3be4: 2d19 jal 41fa <Recv_thread_Init>
3be6: 2d91 jal 423a <Send_thread_Init>
3be8: fdefc06f j 3c6 <__riscv_restore_0>
00003bec <app_star>:
3bec: fb6fc2ef jal t0,3a2 <__riscv_save_0>
3bf0: fdbff0ef jal ra,3bca <hareware_init>
3bf4: fe7ff0ef jal ra,3bda <software_init>
3bf8: fcefc06f j 3c6 <__riscv_restore_0>
00003bfc <SystemInit>:
3bfc: 400217b7 lui a5,0x40021
3c00: 4398 lw a4,0(a5)
3c02: f0ff06b7 lui a3,0xf0ff0
3c06: 1141 addi sp,sp,-16
3c08: 00176713 ori a4,a4,1
3c0c: c398 sw a4,0(a5)
3c0e: 43d8 lw a4,4(a5)
3c10: 00020637 lui a2,0x20
3c14: 8f75 and a4,a4,a3
3c16: c3d8 sw a4,4(a5)
3c18: 4398 lw a4,0(a5)
3c1a: fef706b7 lui a3,0xfef70
3c1e: 16fd addi a3,a3,-1
3c20: 8f75 and a4,a4,a3
3c22: c398 sw a4,0(a5)
3c24: 4398 lw a4,0(a5)
3c26: fffc06b7 lui a3,0xfffc0
3c2a: 16fd addi a3,a3,-1
3c2c: 8f75 and a4,a4,a3
3c2e: c398 sw a4,0(a5)
3c30: 43d8 lw a4,4(a5)
3c32: ff0106b7 lui a3,0xff010
3c36: 16fd addi a3,a3,-1
3c38: 8f75 and a4,a4,a3
3c3a: c3d8 sw a4,4(a5)
3c3c: 4398 lw a4,0(a5)
3c3e: ec0006b7 lui a3,0xec000
3c42: 16fd addi a3,a3,-1
3c44: 8f75 and a4,a4,a3
3c46: c398 sw a4,0(a5)
3c48: 00ff0737 lui a4,0xff0
3c4c: c798 sw a4,8(a5)
3c4e: 0207a623 sw zero,44(a5) # 4002102c <_eusrstack+0x2001102c>
3c52: c402 sw zero,8(sp)
3c54: c602 sw zero,12(sp)
3c56: 4398 lw a4,0(a5)
3c58: 66c1 lui a3,0x10
3c5a: 8f55 or a4,a4,a3
3c5c: c398 sw a4,0(a5)
3c5e: 400216b7 lui a3,0x40021
3c62: 6705 lui a4,0x1
3c64: 429c lw a5,0(a3)
3c66: 8ff1 and a5,a5,a2
3c68: c63e sw a5,12(sp)
3c6a: 47a2 lw a5,8(sp)
3c6c: 0785 addi a5,a5,1
3c6e: c43e sw a5,8(sp)
3c70: 47b2 lw a5,12(sp)
3c72: e781 bnez a5,3c7a <SystemInit+0x7e>
3c74: 47a2 lw a5,8(sp)
3c76: fee797e3 bne a5,a4,3c64 <SystemInit+0x68>
3c7a: 400217b7 lui a5,0x40021
3c7e: 439c lw a5,0(a5)
3c80: 00e79713 slli a4,a5,0xe
3c84: 06075763 bgez a4,3cf2 <SystemInit+0xf6>
3c88: 4785 li a5,1
3c8a: c63e sw a5,12(sp)
3c8c: 4732 lw a4,12(sp)
3c8e: 4785 li a5,1
3c90: 04f71f63 bne a4,a5,3cee <SystemInit+0xf2>
3c94: 400217b7 lui a5,0x40021
3c98: 43d8 lw a4,4(a5)
3c9a: ffc106b7 lui a3,0xffc10
3c9e: 16fd addi a3,a3,-1
3ca0: c3d8 sw a4,4(a5)
3ca2: 43d8 lw a4,4(a5)
3ca4: c3d8 sw a4,4(a5)
3ca6: 43d8 lw a4,4(a5)
3ca8: 40076713 ori a4,a4,1024
3cac: c3d8 sw a4,4(a5)
3cae: 43d8 lw a4,4(a5)
3cb0: 8f75 and a4,a4,a3
3cb2: c3d8 sw a4,4(a5)
3cb4: 43d8 lw a4,4(a5)
3cb6: 002906b7 lui a3,0x290
3cba: 8f55 or a4,a4,a3
3cbc: c3d8 sw a4,4(a5)
3cbe: 4398 lw a4,0(a5)
3cc0: 010006b7 lui a3,0x1000
3cc4: 8f55 or a4,a4,a3
3cc6: c398 sw a4,0(a5)
3cc8: 4398 lw a4,0(a5)
3cca: 00671693 slli a3,a4,0x6
3cce: fe06dde3 bgez a3,3cc8 <SystemInit+0xcc>
3cd2: 43d8 lw a4,4(a5)
3cd4: 400216b7 lui a3,0x40021
3cd8: 9b71 andi a4,a4,-4
3cda: c3d8 sw a4,4(a5)
3cdc: 43d8 lw a4,4(a5)
3cde: 00276713 ori a4,a4,2
3ce2: c3d8 sw a4,4(a5)
3ce4: 4721 li a4,8
3ce6: 42dc lw a5,4(a3)
3ce8: 8bb1 andi a5,a5,12
3cea: fee79ee3 bne a5,a4,3ce6 <SystemInit+0xea>
3cee: 0141 addi sp,sp,16
3cf0: 8082 ret
3cf2: c602 sw zero,12(sp)
3cf4: bf61 j 3c8c <SystemInit+0x90>
00003cf6 <SystemCoreClockUpdate>:
3cf6: 400216b7 lui a3,0x40021
3cfa: 42d8 lw a4,4(a3)
3cfc: 200007b7 lui a5,0x20000
3d00: 4611 li a2,4
3d02: 8b31 andi a4,a4,12
3d04: 24878793 addi a5,a5,584 # 20000248 <SystemCoreClock>
3d08: 00c70563 beq a4,a2,3d12 <SystemCoreClockUpdate+0x1c>
3d0c: 4621 li a2,8
3d0e: 02c70863 beq a4,a2,3d3e <SystemCoreClockUpdate+0x48>
3d12: 007a1737 lui a4,0x7a1
3d16: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79aa8c>
3d1a: c398 sw a4,0(a5)
3d1c: 40021737 lui a4,0x40021
3d20: 4358 lw a4,4(a4)
3d22: 8311 srli a4,a4,0x4
3d24: 00f77693 andi a3,a4,15
3d28: 20000737 lui a4,0x20000
3d2c: 14070713 addi a4,a4,320 # 20000140 <AHBPrescTable>
3d30: 9736 add a4,a4,a3
3d32: 2314 lbu a3,0(a4)
3d34: 4398 lw a4,0(a5)
3d36: 00d75733 srl a4,a4,a3
3d3a: c398 sw a4,0(a5)
3d3c: 8082 ret
3d3e: 42d8 lw a4,4(a3)
3d40: 42d4 lw a3,4(a3)
3d42: 6641 lui a2,0x10
3d44: 8349 srli a4,a4,0x12
3d46: 8b3d andi a4,a4,15
3d48: 8ef1 and a3,a3,a2
3d4a: 00270613 addi a2,a4,2
3d4e: cf15 beqz a4,3d8a <SystemCoreClockUpdate+0x94>
3d50: 473d li a4,15
3d52: 02e60f63 beq a2,a4,3d90 <SystemCoreClockUpdate+0x9a>
3d56: 4741 li a4,16
3d58: 02e60f63 beq a2,a4,3d96 <SystemCoreClockUpdate+0xa0>
3d5c: 4745 li a4,17
3d5e: 4581 li a1,0
3d60: 00e61363 bne a2,a4,3d66 <SystemCoreClockUpdate+0x70>
3d64: 4641 li a2,16
3d66: e2a1 bnez a3,3da6 <SystemCoreClockUpdate+0xb0>
3d68: 40024737 lui a4,0x40024
3d6c: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x20013800>
3d70: 8b41 andi a4,a4,16
3d72: c70d beqz a4,3d9c <SystemCoreClockUpdate+0xa6>
3d74: 007a1737 lui a4,0x7a1
3d78: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79aa8c>
3d7c: 02c70633 mul a2,a4,a2
3d80: c390 sw a2,0(a5)
3d82: ddc9 beqz a1,3d1c <SystemCoreClockUpdate+0x26>
3d84: 4398 lw a4,0(a5)
3d86: 8305 srli a4,a4,0x1
3d88: bf49 j 3d1a <SystemCoreClockUpdate+0x24>
3d8a: 4581 li a1,0
3d8c: 4649 li a2,18
3d8e: bfe1 j 3d66 <SystemCoreClockUpdate+0x70>
3d90: 4585 li a1,1
3d92: 4635 li a2,13
3d94: bfc9 j 3d66 <SystemCoreClockUpdate+0x70>
3d96: 4581 li a1,0
3d98: 463d li a2,15
3d9a: b7f1 j 3d66 <SystemCoreClockUpdate+0x70>
3d9c: 003d1737 lui a4,0x3d1
3da0: 90070713 addi a4,a4,-1792 # 3d0900 <__rt_init_end+0x3ca18c>
3da4: bfe1 j 3d7c <SystemCoreClockUpdate+0x86>
3da6: 40021537 lui a0,0x40021
3daa: 5558 lw a4,44(a0)
3dac: 00f71693 slli a3,a4,0xf
3db0: 5558 lw a4,44(a0)
3db2: 0406df63 bgez a3,3e10 <SystemCoreClockUpdate+0x11a>
3db6: 8311 srli a4,a4,0x4
3db8: 8b3d andi a4,a4,15
3dba: 00170693 addi a3,a4,1
3dbe: 007a1737 lui a4,0x7a1
3dc2: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79aa8c>
3dc6: 02d75733 divu a4,a4,a3
3dca: c398 sw a4,0(a5)
3dcc: 5554 lw a3,44(a0)
3dce: 82a1 srli a3,a3,0x8
3dd0: 8abd andi a3,a3,15
3dd2: e28d bnez a3,3df4 <SystemCoreClockUpdate+0xfe>
3dd4: 4695 li a3,5
3dd6: 02d70733 mul a4,a4,a3
3dda: 8305 srli a4,a4,0x1
3ddc: c398 sw a4,0(a5)
3dde: 40021737 lui a4,0x40021
3de2: 5758 lw a4,44(a4)
3de4: 4394 lw a3,0(a5)
3de6: 8b3d andi a4,a4,15
3de8: 0705 addi a4,a4,1
3dea: 02e6d733 divu a4,a3,a4
3dee: c398 sw a4,0(a5)
3df0: 4398 lw a4,0(a5)
3df2: b769 j 3d7c <SystemCoreClockUpdate+0x86>
3df4: 4505 li a0,1
3df6: 00a69463 bne a3,a0,3dfe <SystemCoreClockUpdate+0x108>
3dfa: 46e5 li a3,25
3dfc: bfe9 j 3dd6 <SystemCoreClockUpdate+0xe0>
3dfe: 453d li a0,15
3e00: 00a69663 bne a3,a0,3e0c <SystemCoreClockUpdate+0x116>
3e04: 46d1 li a3,20
3e06: 02e68733 mul a4,a3,a4
3e0a: bfc9 j 3ddc <SystemCoreClockUpdate+0xe6>
3e0c: 0689 addi a3,a3,2
3e0e: bfe5 j 3e06 <SystemCoreClockUpdate+0x110>
3e10: 8b3d andi a4,a4,15
3e12: 00170693 addi a3,a4,1 # 40021001 <_eusrstack+0x20011001>
3e16: 007a1737 lui a4,0x7a1
3e1a: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79aa8c>
3e1e: 02d75733 divu a4,a4,a3
3e22: b7f1 j 3dee <SystemCoreClockUpdate+0xf8>
00003e24 <ADC1_2_IRQHandler>:
3e24: a001 j 3e24 <ADC1_2_IRQHandler>
00003e26 <handle_reset>:
3e26: 34129073 csrw mepc,t0
3e2a: 1fffd197 auipc gp,0x1fffd
3e2e: c1e18193 addi gp,gp,-994 # 20000a48 <__global_pointer$>
3e32: 2000c117 auipc sp,0x2000c
3e36: 1ce10113 addi sp,sp,462 # 20010000 <_eusrstack>
3e3a: 00003517 auipc a0,0x3
3e3e: 93a50513 addi a0,a0,-1734 # 6774 <__rt_init_end>
3e42: 1fffc597 auipc a1,0x1fffc
3e46: 1be58593 addi a1,a1,446 # 20000000 <_data_vma>
3e4a: 80818613 addi a2,gp,-2040 # 20000250 <_edata>
3e4e: 00c5fa63 bgeu a1,a2,3e62 <handle_reset+0x3c>
3e52: 00052283 lw t0,0(a0)
3e56: 0055a023 sw t0,0(a1)
3e5a: 0511 addi a0,a0,4
3e5c: 0591 addi a1,a1,4
3e5e: fec5eae3 bltu a1,a2,3e52 <handle_reset+0x2c>
3e62: 80818513 addi a0,gp,-2040 # 20000250 <_edata>
3e66: 1fffe597 auipc a1,0x1fffe
3e6a: cfa58593 addi a1,a1,-774 # 20001b60 <_ebss>
3e6e: 00b57763 bgeu a0,a1,3e7c <handle_reset+0x56>
3e72: 00052023 sw zero,0(a0)
3e76: 0511 addi a0,a0,4
3e78: feb56de3 bltu a0,a1,3e72 <handle_reset+0x4c>
3e7c: 42fd li t0,31
3e7e: bc029073 csrw 0xbc0,t0
3e82: 42fd li t0,31
3e84: 80429073 csrw 0x804,t0
3e88: 000082b7 lui t0,0x8
3e8c: 80028293 addi t0,t0,-2048 # 7800 <__rt_init_end+0x108c>
3e90: 30029073 csrw mstatus,t0
3e94: ffffc297 auipc t0,0xffffc
3e98: 17028293 addi t0,t0,368 # 4 <_einit>
3e9c: 0032e293 ori t0,t0,3
3ea0: 30529073 csrw mtvec,t0
3ea4: d59ff0ef jal ra,3bfc <SystemInit>
3ea8: ffffc297 auipc t0,0xffffc
3eac: 6d028293 addi t0,t0,1744 # 578 <entry>
3eb0: 34129073 csrw mepc,t0
3eb4: 30200073 mret
00003eb8 <SL_MsgProcFunc_Registration_request>:
3eb8: ceafc2ef jal t0,3a2 <__riscv_save_0>
3ebc: 892a mv s2,a0
3ebe: 20002537 lui a0,0x20002
3ec2: 8432 mv s0,a2
3ec4: 84ae mv s1,a1
3ec6: 4659 li a2,22
3ec8: 4581 li a1,0
3eca: 84a50513 addi a0,a0,-1974 # 2000184a <MqUartSend_pack+0x6>
3ece: d04fc0ef jal ra,3d2 <memset>
3ed2: 200025b7 lui a1,0x20002
3ed6: 84458793 addi a5,a1,-1980 # 20001844 <MqUartSend_pack>
3eda: 4705 li a4,1
3edc: a3d8 sb a4,4(a5)
3ede: b3c0 sb s0,5(a5)
3ee0: 8525a223 sw s2,-1980(a1)
3ee4: 4781 li a5,0
3ee6: 84458713 addi a4,a1,-1980
3eea: 0287e263 bltu a5,s0,3f0e <SL_MsgProcFunc_Registration_request+0x56>
3eee: 8b81a503 lw a0,-1864(gp) # 20000300 <mqSend>
3ef2: 8622 mv a2,s0
3ef4: 84458593 addi a1,a1,-1980
3ef8: ac9fc0ef jal ra,9c0 <rt_mq_send>
3efc: c519 beqz a0,3f0a <SL_MsgProcFunc_Registration_request+0x52>
3efe: 00006537 lui a0,0x6
3f02: 5a850513 addi a0,a0,1448 # 65a8 <ch32_uart_ops+0x64>
3f06: bb6fd0ef jal ra,12bc <rt_kprintf>
3f0a: cbcfc06f j 3c6 <__riscv_restore_0>
3f0e: 00f486b3 add a3,s1,a5
3f12: 2290 lbu a2,0(a3)
3f14: 00f706b3 add a3,a4,a5
3f18: 0785 addi a5,a5,1
3f1a: a2f0 sb a2,6(a3)
3f1c: 0ff7f793 andi a5,a5,255
3f20: b7e9 j 3eea <SL_MsgProcFunc_Registration_request+0x32>
00003f22 <SL_MsgProcFunc_Read_Register>:
3f22: c80fc2ef jal t0,3a2 <__riscv_save_0>
3f26: 892a mv s2,a0
3f28: 20002537 lui a0,0x20002
3f2c: 8432 mv s0,a2
3f2e: 84ae mv s1,a1
3f30: 4661 li a2,24
3f32: 4581 li a1,0
3f34: 84850513 addi a0,a0,-1976 # 20001848 <MqUartSend_pack+0x4>
3f38: c9afc0ef jal ra,3d2 <memset>
3f3c: 200025b7 lui a1,0x20002
3f40: 84458793 addi a5,a1,-1980 # 20001844 <MqUartSend_pack>
3f44: b3c0 sb s0,5(a5)
3f46: 8525a223 sw s2,-1980(a1)
3f4a: 4781 li a5,0
3f4c: 84458713 addi a4,a1,-1980
3f50: 0287e263 bltu a5,s0,3f74 <SL_MsgProcFunc_Read_Register+0x52>
3f54: 8b81a503 lw a0,-1864(gp) # 20000300 <mqSend>
3f58: 8622 mv a2,s0
3f5a: 84458593 addi a1,a1,-1980
3f5e: a63fc0ef jal ra,9c0 <rt_mq_send>
3f62: c519 beqz a0,3f70 <SL_MsgProcFunc_Read_Register+0x4e>
3f64: 00006537 lui a0,0x6
3f68: 5a850513 addi a0,a0,1448 # 65a8 <ch32_uart_ops+0x64>
3f6c: b50fd0ef jal ra,12bc <rt_kprintf>
3f70: c56fc06f j 3c6 <__riscv_restore_0>
3f74: 00f486b3 add a3,s1,a5
3f78: 2290 lbu a2,0(a3)
3f7a: 00f706b3 add a3,a4,a5
3f7e: 0785 addi a5,a5,1
3f80: a2f0 sb a2,6(a3)
3f82: 0ff7f793 andi a5,a5,255
3f86: b7e9 j 3f50 <SL_MsgProcFunc_Read_Register+0x2e>
00003f88 <CheckFunc>:
3f88: 67c1 lui a5,0x10
3f8a: 7669 lui a2,0xffffa
3f8c: 4681 li a3,0
3f8e: 17fd addi a5,a5,-1
3f90: 0605 addi a2,a2,1
3f92: 01069713 slli a4,a3,0x10
3f96: 8341 srli a4,a4,0x10
3f98: 00b76463 bltu a4,a1,3fa0 <CheckFunc+0x18>
3f9c: 853e mv a0,a5
3f9e: 8082 ret
3fa0: 00d50733 add a4,a0,a3
3fa4: 2318 lbu a4,0(a4)
3fa6: 8fb9 xor a5,a5,a4
3fa8: 4721 li a4,8
3faa: 0017f813 andi a6,a5,1
3fae: 8385 srli a5,a5,0x1
3fb0: 00080563 beqz a6,3fba <CheckFunc+0x32>
3fb4: 8fb1 xor a5,a5,a2
3fb6: 07c2 slli a5,a5,0x10
3fb8: 83c1 srli a5,a5,0x10
3fba: 177d addi a4,a4,-1
3fbc: 0742 slli a4,a4,0x10
3fbe: 8341 srli a4,a4,0x10
3fc0: f76d bnez a4,3faa <CheckFunc+0x22>
3fc2: 0685 addi a3,a3,1
3fc4: b7f9 j 3f92 <CheckFunc+0xa>
00003fc6 <FRT_MsgHandler>:
3fc6: bc2fc2ef jal t0,388 <__riscv_save_4>
3fca: 20000437 lui s0,0x20000
3fce: 15042783 lw a5,336(s0) # 20000150 <g_MsgTbl>
3fd2: 3598 lbu a4,9(a1)
3fd4: 892a mv s2,a0
3fd6: 84ae mv s1,a1
3fd8: 89b2 mv s3,a2
3fda: 15040413 addi s0,s0,336
3fde: 00f71463 bne a4,a5,3fe6 <FRT_MsgHandler+0x20>
3fe2: 405c lw a5,4(s0)
3fe4: 9782 jalr a5
3fe6: 3498 lbu a4,9(s1)
3fe8: 441c lw a5,8(s0)
3fea: 00f71763 bne a4,a5,3ff8 <FRT_MsgHandler+0x32>
3fee: 445c lw a5,12(s0)
3ff0: 864e mv a2,s3
3ff2: 85a6 mv a1,s1
3ff4: 854a mv a0,s2
3ff6: 9782 jalr a5
3ff8: bc4fc06f j 3bc <__riscv_restore_4>
00003ffc <read_and_process_uart_data>:
3ffc: b76fc2ef jal t0,372 <__riscv_save_12>
4000: 1141 addi sp,sp,-16
4002: 8baa mv s7,a0
4004: 236d jal 45ae <uart_dev_char_present>
4006: c969 beqz a0,40d8 <read_and_process_uart_data+0xdc>
4008: 4579 li a0,30
400a: bdbfd0ef jal ra,1be4 <rt_thread_mdelay>
400e: 855e mv a0,s7
4010: 5de000ef jal ra,45ee <ring_queue_length>
4014: 85aa mv a1,a0
4016: 00006537 lui a0,0x6
401a: 5b850513 addi a0,a0,1464 # 65b8 <ch32_uart_ops+0x74>
401e: a9efd0ef jal ra,12bc <rt_kprintf>
4022: 20002ab7 lui s5,0x20002
4026: 03200613 li a2,50
402a: 4581 li a1,0
402c: 810a8513 addi a0,s5,-2032 # 20001810 <uart_buff>
4030: 810a8993 addi s3,s5,-2032
4034: b9efc0ef jal ra,3d2 <memset>
4038: 4901 li s2,0
403a: 4b01 li s6,0
403c: 4481 li s1,0
403e: 4401 li s0,0
4040: 4c89 li s9,2
4042: 810a8a13 addi s4,s5,-2032
4046: 03000d13 li s10,48
404a: 00198c13 addi s8,s3,1
404e: 855e mv a0,s7
4050: 2b79 jal 45ee <ring_queue_length>
4052: c159 beqz a0,40d8 <read_and_process_uart_data+0xdc>
4054: 855e mv a0,s7
4056: 2b85 jal 45c6 <uart_dev_in_char>
4058: 0ff57d93 andi s11,a0,255
405c: 008987b3 add a5,s3,s0
4060: 00140613 addi a2,s0,1
4064: 01b78023 sb s11,0(a5) # 10000 <__rt_init_end+0x988c>
4068: 01960463 beq a2,s9,4070 <read_and_process_uart_data+0x74>
406c: 0e048e63 beqz s1,4168 <read_and_process_uart_data+0x16c>
4070: 200007b7 lui a5,0x20000
4074: 000a4683 lbu a3,0(s4)
4078: 1607c783 lbu a5,352(a5) # 20000160 <g_slConfigInfo>
407c: 00f69b63 bne a3,a5,4092 <read_and_process_uart_data+0x96>
4080: 200007b7 lui a5,0x20000
4084: 16078793 addi a5,a5,352 # 20000160 <g_slConfigInfo>
4088: 001a4683 lbu a3,1(s4)
408c: 339c lbu a5,1(a5)
408e: 00f68963 beq a3,a5,40a0 <read_and_process_uart_data+0xa4>
4092: 8622 mv a2,s0
4094: 85e2 mv a1,s8
4096: 854e mv a0,s3
4098: 6e3000ef jal ra,4f7a <memcpy>
409c: 8622 mv a2,s0
409e: a81d j 40d4 <read_and_process_uart_data+0xd8>
40a0: 47a9 li a5,10
40a2: 00f60463 beq a2,a5,40aa <read_and_process_uart_data+0xae>
40a6: 0c9cf463 bgeu s9,s1,416e <read_and_process_uart_data+0x172>
40aa: 009a4783 lbu a5,9(s4)
40ae: 0da78263 beq a5,s10,4172 <read_and_process_uart_data+0x176>
40b2: 0a100693 li a3,161
40b6: 0ad78363 beq a5,a3,415c <read_and_process_uart_data+0x160>
40ba: 87a6 mv a5,s1
40bc: 0194f363 bgeu s1,s9,40c2 <read_and_process_uart_data+0xc6>
40c0: 4789 li a5,2
40c2: 8622 mv a2,s0
40c4: 85e2 mv a1,s8
40c6: 854e mv a0,s3
40c8: 0ff7f493 andi s1,a5,255
40cc: 6af000ef jal ra,4f7a <memcpy>
40d0: 8622 mv a2,s0
40d2: 4b01 li s6,0
40d4: 0acd7763 bgeu s10,a2,4182 <read_and_process_uart_data+0x186>
40d8: 0141 addi sp,sp,16
40da: ad4fc06f j 3ae <__riscv_restore_12>
40de: ff261be3 bne a2,s2,40d4 <read_and_process_uart_data+0xd8>
40e2: 009a4783 lbu a5,9(s4)
40e6: 05a79263 bne a5,s10,412a <read_and_process_uart_data+0x12e>
40ea: ffd60593 addi a1,a2,-3 # ffff9ffd <_eusrstack+0xdffe9ffd>
40ee: 0ff5f593 andi a1,a1,255
40f2: 854e mv a0,s3
40f4: c632 sw a2,12(sp)
40f6: e93ff0ef jal ra,3f88 <CheckFunc>
40fa: 008a06b3 add a3,s4,s0
40fe: ffe6c783 lbu a5,-2(a3) # 40020ffe <_eusrstack+0x20010ffe>
4102: fff6c683 lbu a3,-1(a3)
4106: 4632 lw a2,12(sp)
4108: 07a2 slli a5,a5,0x8
410a: 8fd5 or a5,a5,a3
410c: 00f51563 bne a0,a5,4116 <read_and_process_uart_data+0x11a>
4110: 47d9 li a5,22
4112: 02fd8f63 beq s11,a5,4150 <read_and_process_uart_data+0x154>
4116: 470d li a4,3
4118: 87a6 mv a5,s1
411a: 00e4f363 bgeu s1,a4,4120 <read_and_process_uart_data+0x124>
411e: 478d li a5,3
4120: 0ff7f493 andi s1,a5,255
4124: b7bd j 4092 <read_and_process_uart_data+0x96>
4126: 4969 li s2,26
4128: 4b01 li s6,0
412a: ffd90593 addi a1,s2,-3
412e: 0ff5f593 andi a1,a1,255
4132: 854e mv a0,s3
4134: e55ff0ef jal ra,3f88 <CheckFunc>
4138: 017a4783 lbu a5,23(s4)
413c: 018a4683 lbu a3,24(s4)
4140: 07a2 slli a5,a5,0x8
4142: 8fd5 or a5,a5,a3
4144: fca799e3 bne a5,a0,4116 <read_and_process_uart_data+0x11a>
4148: 47d9 li a5,22
414a: fcfd96e3 bne s11,a5,4116 <read_and_process_uart_data+0x11a>
414e: 864a mv a2,s2
4150: 810a8593 addi a1,s5,-2032
4154: 855e mv a0,s7
4156: e71ff0ef jal ra,3fc6 <FRT_MsgHandler>
415a: bfbd j 40d8 <read_and_process_uart_data+0xdc>
415c: 47e9 li a5,26
415e: fcf604e3 beq a2,a5,4126 <read_and_process_uart_data+0x12a>
4162: 4b01 li s6,0
4164: 4969 li s2,26
4166: b7bd j 40d4 <read_and_process_uart_data+0xd8>
4168: 47a9 li a5,10
416a: f4f600e3 beq a2,a5,40aa <read_and_process_uart_data+0xae>
416e: f60b08e3 beqz s6,40de <read_and_process_uart_data+0xe2>
4172: 47b1 li a5,12
4174: 4b05 li s6,1
4176: f6f614e3 bne a2,a5,40de <read_and_process_uart_data+0xe2>
417a: 00ba4903 lbu s2,11(s4)
417e: 0906 slli s2,s2,0x1
4180: 093d addi s2,s2,15
4182: 8432 mv s0,a2
4184: b5e9 j 404e <read_and_process_uart_data+0x52>
00004186 <send_data>:
4186: 2158 lbu a4,4(a0)
4188: 4785 li a5,1
418a: 00f71b63 bne a4,a5,41a0 <send_data+0x1a>
418e: a14fc2ef jal t0,3a2 <__riscv_save_0>
4192: 3150 lbu a2,5(a0)
4194: 00650593 addi a1,a0,6
4198: 4108 lw a0,0(a0)
419a: 268d jal 44fc <uart_dev_write>
419c: a2afc06f j 3c6 <__riscv_restore_0>
41a0: 8082 ret
000041a2 <Recv_thread_entry>:
41a2: a00fc2ef jal t0,3a2 <__riscv_save_0>
41a6: 000064b7 lui s1,0x6
41aa: 5e448513 addi a0,s1,1508 # 65e4 <ch32_uart_ops+0xa0>
41ae: 90efd0ef jal ra,12bc <rt_kprintf>
41b2: 8cc1a503 lw a0,-1844(gp) # 20000314 <g_J50RS485_USART3_handle>
41b6: e47ff0ef jal ra,3ffc <read_and_process_uart_data>
41ba: 1f400513 li a0,500
41be: a27fd0ef jal ra,1be4 <rt_thread_mdelay>
41c2: b7e5 j 41aa <Recv_thread_entry+0x8>
000041c4 <Send_thread_entry>:
41c4: 9defc2ef jal t0,3a2 <__riscv_save_0>
41c8: 7139 addi sp,sp,-64
41ca: 000064b7 lui s1,0x6
41ce: 5f448513 addi a0,s1,1524 # 65f4 <ch32_uart_ops+0xb0>
41d2: 8eafd0ef jal ra,12bc <rt_kprintf>
41d6: 03200613 li a2,50
41da: 4581 li a1,0
41dc: 0068 addi a0,sp,12
41de: 9f4fc0ef jal ra,3d2 <memset>
41e2: 8b81a503 lw a0,-1864(gp) # 20000300 <mqSend>
41e6: 56fd li a3,-1
41e8: 03200613 li a2,50
41ec: 006c addi a1,sp,12
41ee: 855fc0ef jal ra,a42 <rt_mq_recv>
41f2: 0068 addi a0,sp,12
41f4: f93ff0ef jal ra,4186 <send_data>
41f8: bfd9 j 41ce <Send_thread_entry+0xa>
000041fa <Recv_thread_Init>:
41fa: 9a8fc2ef jal t0,3a2 <__riscv_save_0>
41fe: 000045b7 lui a1,0x4
4202: 00006537 lui a0,0x6
4206: 47d1 li a5,20
4208: 4709 li a4,2
420a: 10000693 li a3,256
420e: 4601 li a2,0
4210: 1a258593 addi a1,a1,418 # 41a2 <Recv_thread_entry>
4214: 5d450513 addi a0,a0,1492 # 65d4 <ch32_uart_ops+0x90>
4218: 8abfd0ef jal ra,1ac2 <rt_thread_create>
421c: 8b018413 addi s0,gp,-1872 # 200002f8 <Recv_thread>
4220: c008 sw a0,0(s0)
4222: c911 beqz a0,4236 <Recv_thread_Init+0x3c>
4224: 00006537 lui a0,0x6
4228: 5dc50513 addi a0,a0,1500 # 65dc <ch32_uart_ops+0x98>
422c: 890fd0ef jal ra,12bc <rt_kprintf>
4230: 4008 lw a0,0(s0)
4232: a0dfd0ef jal ra,1c3e <rt_thread_startup>
4236: 990fc06f j 3c6 <__riscv_restore_0>
0000423a <Send_thread_Init>:
423a: 968fc2ef jal t0,3a2 <__riscv_save_0>
423e: 000045b7 lui a1,0x4
4242: 000064b7 lui s1,0x6
4246: 47d1 li a5,20
4248: 470d li a4,3
424a: 10000693 li a3,256
424e: 4601 li a2,0
4250: 1c458593 addi a1,a1,452 # 41c4 <Send_thread_entry>
4254: 5ec48513 addi a0,s1,1516 # 65ec <ch32_uart_ops+0xa8>
4258: 86bfd0ef jal ra,1ac2 <rt_thread_create>
425c: 8b418413 addi s0,gp,-1868 # 200002fc <Send_thread>
4260: c008 sw a0,0(s0)
4262: c901 beqz a0,4272 <Send_thread_Init+0x38>
4264: 5ec48513 addi a0,s1,1516
4268: 854fd0ef jal ra,12bc <rt_kprintf>
426c: 4008 lw a0,0(s0)
426e: 9d1fd0ef jal ra,1c3e <rt_thread_startup>
4272: 954fc06f j 3c6 <__riscv_restore_0>
00004276 <Send_mq_Init>:
4276: 92cfc2ef jal t0,3a2 <__riscv_save_0>
427a: 00006537 lui a0,0x6
427e: 4681 li a3,0
4280: 4615 li a2,5
4282: 03200593 li a1,50
4286: 5fc50513 addi a0,a0,1532 # 65fc <ch32_uart_ops+0xb8>
428a: eb6fc0ef jal ra,940 <rt_mq_create>
428e: 8aa1ac23 sw a0,-1864(gp) # 20000300 <mqSend>
4292: 00a03533 snez a0,a0
4296: 930fc06f j 3c6 <__riscv_restore_0>
0000429a <uart_putchar>:
429a: cd11 beqz a0,42b6 <uart_putchar+0x1c>
429c: 211c lbu a5,0(a0)
429e: cf89 beqz a5,42b8 <uart_putchar+0x1e>
42a0: 902fc2ef jal t0,3a2 <__riscv_save_0>
42a4: 4148 lw a0,4(a0)
42a6: 0ff5f593 andi a1,a1,255
42aa: 493000ef jal ra,4f3c <USARTx_SendByte_str>
42ae: 4785 li a5,1
42b0: 853e mv a0,a5
42b2: 914fc06f j 3c6 <__riscv_restore_0>
42b6: 4781 li a5,0
42b8: 853e mv a0,a5
42ba: 8082 ret
000042bc <uart_init.constprop.0>:
42bc: 8e6fc2ef jal t0,3a2 <__riscv_save_0>
42c0: 842a mv s0,a0
42c2: 405c lw a5,4(s0)
42c4: 6509 lui a0,0x2
42c6: 58050513 addi a0,a0,1408 # 2580 <msh_help+0x34>
42ca: 40002737 lui a4,0x40002
42ce: c408 sw a0,8(s0)
42d0: 80070693 addi a3,a4,-2048 # 40001800 <_eusrstack+0x1fff1800>
42d4: 00d79663 bne a5,a3,42e0 <uart_init.constprop.0+0x24>
42d8: 039000ef jal ra,4b10 <J1_485_Init>
42dc: 8eafc06f j 3c6 <__riscv_restore_0>
42e0: c0070693 addi a3,a4,-1024
42e4: 00d79563 bne a5,a3,42ee <uart_init.constprop.0+0x32>
42e8: 061000ef jal ra,4b48 <J2_485_Init>
42ec: bfc5 j 42dc <uart_init.constprop.0+0x20>
42ee: 400046b7 lui a3,0x40004
42f2: 40068693 addi a3,a3,1024 # 40004400 <_eusrstack+0x1fff4400>
42f6: 00d79563 bne a5,a3,4300 <uart_init.constprop.0+0x44>
42fa: 087000ef jal ra,4b80 <J3_485_Init>
42fe: bff9 j 42dc <uart_init.constprop.0+0x20>
4300: 00e79563 bne a5,a4,430a <uart_init.constprop.0+0x4e>
4304: 0b5000ef jal ra,4bb8 <J4_485_Init>
4308: bfd1 j 42dc <uart_init.constprop.0+0x20>
430a: 40005737 lui a4,0x40005
430e: 80070713 addi a4,a4,-2048 # 40004800 <_eusrstack+0x1fff4800>
4312: fce795e3 bne a5,a4,42dc <uart_init.constprop.0+0x20>
4316: 23d000ef jal ra,4d52 <J5_0_485_Init>
431a: 4c5c lw a5,28(s0)
431c: e781 bnez a5,4324 <uart_init.constprop.0+0x68>
431e: 1fb000ef jal ra,4d18 <USART_CONNET_J0>
4322: bf6d j 42dc <uart_init.constprop.0+0x20>
4324: 4715 li a4,5
4326: 00e79563 bne a5,a4,4330 <uart_init.constprop.0+0x74>
432a: 32b000ef jal ra,4e54 <USART_CONNET_J5>
432e: b77d j 42dc <uart_init.constprop.0+0x20>
4330: 4719 li a4,6
4332: 00e79563 bne a5,a4,433c <uart_init.constprop.0+0x80>
4336: 359000ef jal ra,4e8e <USART_CONNET_J6>
433a: b74d j 42dc <uart_init.constprop.0+0x20>
433c: 471d li a4,7
433e: 00e79563 bne a5,a4,4348 <uart_init.constprop.0+0x8c>
4342: 387000ef jal ra,4ec8 <USART_CONNET_J7>
4346: bf59 j 42dc <uart_init.constprop.0+0x20>
4348: 4721 li a4,8
434a: 00e79563 bne a5,a4,4354 <uart_init.constprop.0+0x98>
434e: 3b5000ef jal ra,4f02 <USART_CONNET_J8>
4352: b769 j 42dc <uart_init.constprop.0+0x20>
4354: 4725 li a4,9
4356: f8e793e3 bne a5,a4,42dc <uart_init.constprop.0+0x20>
435a: 173000ef jal ra,4ccc <USART_CONNET_J9>
435e: bfbd j 42dc <uart_init.constprop.0+0x20>
00004360 <uart_dev_init>:
4360: 842fc2ef jal t0,3a2 <__riscv_save_0>
4364: 200004b7 lui s1,0x20000
4368: 17848413 addi s0,s1,376 # 20000178 <uart_devices>
436c: 200025b7 lui a1,0x20002
4370: 08000613 li a2,128
4374: 86058593 addi a1,a1,-1952 # 20001860 <J1RS485_in_buff>
4378: 00c40513 addi a0,s0,12
437c: f47fe0ef jal ra,32c2 <InitRingQueue>
4380: 17848513 addi a0,s1,376
4384: f39ff0ef jal ra,42bc <uart_init.constprop.0>
4388: 200025b7 lui a1,0x20002
438c: 4485 li s1,1
438e: 08000613 li a2,128
4392: 8e058593 addi a1,a1,-1824 # 200018e0 <J2RS485_in_buff>
4396: 02c40513 addi a0,s0,44
439a: 8a81ae23 sw s0,-1860(gp) # 20000304 <g_J1RS485_UART6_handle>
439e: 02040913 addi s2,s0,32
43a2: a004 sb s1,0(s0)
43a4: f1ffe0ef jal ra,32c2 <InitRingQueue>
43a8: 854a mv a0,s2
43aa: f13ff0ef jal ra,42bc <uart_init.constprop.0>
43ae: 200025b7 lui a1,0x20002
43b2: 08000613 li a2,128
43b6: 96058593 addi a1,a1,-1696 # 20001960 <J3RS485_in_buff>
43ba: 04c40513 addi a0,s0,76
43be: 8d21a023 sw s2,-1856(gp) # 20000308 <g_J2RS485_UART7_handle>
43c2: 02940023 sb s1,32(s0)
43c6: 04040913 addi s2,s0,64
43ca: ef9fe0ef jal ra,32c2 <InitRingQueue>
43ce: 854a mv a0,s2
43d0: eedff0ef jal ra,42bc <uart_init.constprop.0>
43d4: 200025b7 lui a1,0x20002
43d8: 08000613 li a2,128
43dc: 9e058593 addi a1,a1,-1568 # 200019e0 <J4RS485_in_buff>
43e0: 06c40513 addi a0,s0,108
43e4: 8d21a223 sw s2,-1852(gp) # 2000030c <g_J3RS485_USART2_handle>
43e8: 04940023 sb s1,64(s0)
43ec: 06040913 addi s2,s0,96
43f0: ed3fe0ef jal ra,32c2 <InitRingQueue>
43f4: 854a mv a0,s2
43f6: ec7ff0ef jal ra,42bc <uart_init.constprop.0>
43fa: 200025b7 lui a1,0x20002
43fe: 08000613 li a2,128
4402: a6058593 addi a1,a1,-1440 # 20001a60 <J50RS485_in_buff>
4406: 08c40513 addi a0,s0,140
440a: 8d21a423 sw s2,-1848(gp) # 20000310 <g_J4RS485_UART8_handle>
440e: 06940023 sb s1,96(s0)
4412: 08040913 addi s2,s0,128
4416: eadfe0ef jal ra,32c2 <InitRingQueue>
441a: 854a mv a0,s2
441c: ea1ff0ef jal ra,42bc <uart_init.constprop.0>
4420: 200025b7 lui a1,0x20002
4424: 08000613 li a2,128
4428: ae058593 addi a1,a1,-1312 # 20001ae0 <LORA_in_buff>
442c: 0ac40513 addi a0,s0,172
4430: 8d21a623 sw s2,-1844(gp) # 20000314 <g_J50RS485_USART3_handle>
4434: 08940023 sb s1,128(s0)
4438: 0a040913 addi s2,s0,160
443c: e87fe0ef jal ra,32c2 <InitRingQueue>
4440: 854a mv a0,s2
4442: e7bff0ef jal ra,42bc <uart_init.constprop.0>
4446: 0a940023 sb s1,160(s0)
444a: 8d21a823 sw s2,-1840(gp) # 20000318 <g_LORA_UART5_handle>
444e: 4501 li a0,0
4450: f77fb06f j 3c6 <__riscv_restore_0>
00004454 <J1RS485_tx_enabla>:
4454: f4ffb2ef jal t0,3a2 <__riscv_save_0>
4458: 4585 li a1,1
445a: 4511 li a0,4
445c: cddfe0ef jal ra,3138 <rt_pin_write>
4460: f67fb06f j 3c6 <__riscv_restore_0>
00004464 <J1RS485_tx_disenabla>:
4464: f3ffb2ef jal t0,3a2 <__riscv_save_0>
4468: 4581 li a1,0
446a: 4511 li a0,4
446c: ccdfe0ef jal ra,3138 <rt_pin_write>
4470: f57fb06f j 3c6 <__riscv_restore_0>
00004474 <J2RS485_tx_enabla>:
4474: f2ffb2ef jal t0,3a2 <__riscv_save_0>
4478: 4585 li a1,1
447a: 4515 li a0,5
447c: cbdfe0ef jal ra,3138 <rt_pin_write>
4480: f47fb06f j 3c6 <__riscv_restore_0>
00004484 <J2RS485_tx_disenabla>:
4484: f1ffb2ef jal t0,3a2 <__riscv_save_0>
4488: 4581 li a1,0
448a: 4515 li a0,5
448c: cadfe0ef jal ra,3138 <rt_pin_write>
4490: f37fb06f j 3c6 <__riscv_restore_0>
00004494 <J3RS485_tx_enabla>:
4494: f0ffb2ef jal t0,3a2 <__riscv_save_0>
4498: 4585 li a1,1
449a: 4561 li a0,24
449c: c9dfe0ef jal ra,3138 <rt_pin_write>
44a0: f27fb06f j 3c6 <__riscv_restore_0>
000044a4 <J3RS485_tx_disenabla>:
44a4: efffb2ef jal t0,3a2 <__riscv_save_0>
44a8: 4581 li a1,0
44aa: 4561 li a0,24
44ac: c8dfe0ef jal ra,3138 <rt_pin_write>
44b0: f17fb06f j 3c6 <__riscv_restore_0>
000044b4 <J4RS485_tx_enabla>:
44b4: eeffb2ef jal t0,3a2 <__riscv_save_0>
44b8: 4585 li a1,1
44ba: 02300513 li a0,35
44be: c7bfe0ef jal ra,3138 <rt_pin_write>
44c2: f05fb06f j 3c6 <__riscv_restore_0>
000044c6 <J4RS485_tx_disenabla>:
44c6: eddfb2ef jal t0,3a2 <__riscv_save_0>
44ca: 4581 li a1,0
44cc: 02300513 li a0,35
44d0: c69fe0ef jal ra,3138 <rt_pin_write>
44d4: ef3fb06f j 3c6 <__riscv_restore_0>
000044d8 <J50RS485_tx_enabla>:
44d8: ecbfb2ef jal t0,3a2 <__riscv_save_0>
44dc: 4585 li a1,1
44de: 03700513 li a0,55
44e2: c57fe0ef jal ra,3138 <rt_pin_write>
44e6: ee1fb06f j 3c6 <__riscv_restore_0>
000044ea <J50RS485_tx_disenabla>:
44ea: eb9fb2ef jal t0,3a2 <__riscv_save_0>
44ee: 4581 li a1,0
44f0: 03700513 li a0,55
44f4: c45fe0ef jal ra,3138 <rt_pin_write>
44f8: ecffb06f j 3c6 <__riscv_restore_0>
000044fc <uart_dev_write>:
44fc: e8dfb2ef jal t0,388 <__riscv_save_4>
4500: 8bc1a703 lw a4,-1860(gp) # 20000304 <g_J1RS485_UART6_handle>
4504: 842a mv s0,a0
4506: 8a2e mv s4,a1
4508: 89b2 mv s3,a2
450a: 8bc18913 addi s2,gp,-1860 # 20000304 <g_J1RS485_UART6_handle>
450e: 00a71f63 bne a4,a0,452c <uart_dev_write+0x30>
4512: f43ff0ef jal ra,4454 <J1RS485_tx_enabla>
4516: 4481 li s1,0
4518: 0534c663 blt s1,s3,4564 <uart_dev_write+0x68>
451c: 00092783 lw a5,0(s2)
4520: 04879b63 bne a5,s0,4576 <uart_dev_write+0x7a>
4524: f41ff0ef jal ra,4464 <J1RS485_tx_disenabla>
4528: e95fb06f j 3bc <__riscv_restore_4>
452c: 8c01a783 lw a5,-1856(gp) # 20000308 <g_J2RS485_UART7_handle>
4530: 00a79563 bne a5,a0,453a <uart_dev_write+0x3e>
4534: f41ff0ef jal ra,4474 <J2RS485_tx_enabla>
4538: bff9 j 4516 <uart_dev_write+0x1a>
453a: 8c41a783 lw a5,-1852(gp) # 2000030c <g_J3RS485_USART2_handle>
453e: 00a79563 bne a5,a0,4548 <uart_dev_write+0x4c>
4542: f53ff0ef jal ra,4494 <J3RS485_tx_enabla>
4546: bfc1 j 4516 <uart_dev_write+0x1a>
4548: 8c81a783 lw a5,-1848(gp) # 20000310 <g_J4RS485_UART8_handle>
454c: 00a79563 bne a5,a0,4556 <uart_dev_write+0x5a>
4550: f65ff0ef jal ra,44b4 <J4RS485_tx_enabla>
4554: b7c9 j 4516 <uart_dev_write+0x1a>
4556: 8cc1a783 lw a5,-1844(gp) # 20000314 <g_J50RS485_USART3_handle>
455a: faa79ee3 bne a5,a0,4516 <uart_dev_write+0x1a>
455e: f7bff0ef jal ra,44d8 <J50RS485_tx_enabla>
4562: bf55 j 4516 <uart_dev_write+0x1a>
4564: 009a07b3 add a5,s4,s1
4568: 00078583 lb a1,0(a5)
456c: 8522 mv a0,s0
456e: 0485 addi s1,s1,1
4570: d2bff0ef jal ra,429a <uart_putchar>
4574: b755 j 4518 <uart_dev_write+0x1c>
4576: 8c01a783 lw a5,-1856(gp) # 20000308 <g_J2RS485_UART7_handle>
457a: 00879563 bne a5,s0,4584 <uart_dev_write+0x88>
457e: f07ff0ef jal ra,4484 <J2RS485_tx_disenabla>
4582: b75d j 4528 <uart_dev_write+0x2c>
4584: 8c41a783 lw a5,-1852(gp) # 2000030c <g_J3RS485_USART2_handle>
4588: 00879563 bne a5,s0,4592 <uart_dev_write+0x96>
458c: f19ff0ef jal ra,44a4 <J3RS485_tx_disenabla>
4590: bf61 j 4528 <uart_dev_write+0x2c>
4592: 8c81a783 lw a5,-1848(gp) # 20000310 <g_J4RS485_UART8_handle>
4596: 00879563 bne a5,s0,45a0 <uart_dev_write+0xa4>
459a: f2dff0ef jal ra,44c6 <J4RS485_tx_disenabla>
459e: b769 j 4528 <uart_dev_write+0x2c>
45a0: 8cc1a783 lw a5,-1844(gp) # 20000314 <g_J50RS485_USART3_handle>
45a4: f88792e3 bne a5,s0,4528 <uart_dev_write+0x2c>
45a8: f43ff0ef jal ra,44ea <J50RS485_tx_disenabla>
45ac: bfb5 j 4528 <uart_dev_write+0x2c>
000045ae <uart_dev_char_present>:
45ae: 4781 li a5,0
45b0: c909 beqz a0,45c2 <uart_dev_char_present+0x14>
45b2: 2118 lbu a4,0(a0)
45b4: 4781 li a5,0
45b6: c711 beqz a4,45c2 <uart_dev_char_present+0x14>
45b8: 495c lw a5,20(a0)
45ba: 4d08 lw a0,24(a0)
45bc: 8f89 sub a5,a5,a0
45be: 00f037b3 snez a5,a5
45c2: 853e mv a0,a5
45c4: 8082 ret
000045c6 <uart_dev_in_char>:
45c6: dddfb2ef jal t0,3a2 <__riscv_save_0>
45ca: 1141 addi sp,sp,-16
45cc: 842a mv s0,a0
45ce: 000107a3 sb zero,15(sp)
45d2: fddff0ef jal ra,45ae <uart_dev_char_present>
45d6: c519 beqz a0,45e4 <uart_dev_in_char+0x1e>
45d8: 00f10593 addi a1,sp,15
45dc: 00c40513 addi a0,s0,12
45e0: d1ffe0ef jal ra,32fe <OutRingQueue>
45e4: 00f10503 lb a0,15(sp)
45e8: 0141 addi sp,sp,16
45ea: dddfb06f j 3c6 <__riscv_restore_0>
000045ee <ring_queue_length>:
45ee: db5fb2ef jal t0,3a2 <__riscv_save_0>
45f2: 0531 addi a0,a0,12
45f4: d31fe0ef jal ra,3324 <RingQueueLength>
45f8: dcffb06f j 3c6 <__riscv_restore_0>
000045fc <DBGMCU_GetCHIPID>:
45fc: 1ffff7b7 lui a5,0x1ffff
4600: 7047a503 lw a0,1796(a5) # 1ffff704 <__rt_init_end+0x1fff8f90>
4604: 8082 ret
00004606 <EXTI_Init>:
4606: 4158 lw a4,4(a0)
4608: 00052803 lw a6,0(a0)
460c: 454c lw a1,12(a0)
460e: 40010637 lui a2,0x40010
4612: 40060793 addi a5,a2,1024 # 40010400 <_eusrstack+0x20000400>
4616: 973e add a4,a4,a5
4618: fff84693 not a3,a6
461c: c5b1 beqz a1,4668 <EXTI_Init+0x62>
461e: 40062583 lw a1,1024(a2)
4622: 8df5 and a1,a1,a3
4624: 40b62023 sw a1,1024(a2)
4628: 43d0 lw a2,4(a5)
462a: 8ef1 and a3,a3,a2
462c: c3d4 sw a3,4(a5)
462e: 4314 lw a3,0(a4)
4630: 0106e6b3 or a3,a3,a6
4634: c314 sw a3,0(a4)
4636: 4118 lw a4,0(a0)
4638: 4790 lw a2,8(a5)
463a: fff74693 not a3,a4
463e: 8e75 and a2,a2,a3
4640: c790 sw a2,8(a5)
4642: 47d0 lw a2,12(a5)
4644: 8ef1 and a3,a3,a2
4646: c7d4 sw a3,12(a5)
4648: 4514 lw a3,8(a0)
464a: 4641 li a2,16
464c: 00c69963 bne a3,a2,465e <EXTI_Init+0x58>
4650: 4794 lw a3,8(a5)
4652: 8ed9 or a3,a3,a4
4654: c794 sw a3,8(a5)
4656: 47d4 lw a3,12(a5)
4658: 8f55 or a4,a4,a3
465a: c7d8 sw a4,12(a5)
465c: 8082 ret
465e: 97b6 add a5,a5,a3
4660: 4394 lw a3,0(a5)
4662: 8f55 or a4,a4,a3
4664: c398 sw a4,0(a5)
4666: 8082 ret
4668: 431c lw a5,0(a4)
466a: 8ff5 and a5,a5,a3
466c: c31c sw a5,0(a4)
466e: 8082 ret
00004670 <EXTI_GetITStatus>:
4670: 400107b7 lui a5,0x40010
4674: 40078713 addi a4,a5,1024 # 40010400 <_eusrstack+0x20000400>
4678: 4007a783 lw a5,1024(a5)
467c: 4b58 lw a4,20(a4)
467e: 8f69 and a4,a4,a0
4680: c709 beqz a4,468a <EXTI_GetITStatus+0x1a>
4682: 8d7d and a0,a0,a5
4684: 00a03533 snez a0,a0
4688: 8082 ret
468a: 4501 li a0,0
468c: 8082 ret
0000468e <EXTI_ClearITPendingBit>:
468e: 400107b7 lui a5,0x40010
4692: 40a7aa23 sw a0,1044(a5) # 40010414 <_eusrstack+0x20000414>
4696: 8082 ret
00004698 <GPIO_Init>:
4698: 459c lw a5,8(a1)
469a: 0107f713 andi a4,a5,16
469e: 00f7f813 andi a6,a5,15
46a2: c701 beqz a4,46aa <GPIO_Init+0x12>
46a4: 41d8 lw a4,4(a1)
46a6: 00e86833 or a6,a6,a4
46aa: 218e lhu a1,0(a1)
46ac: 0ff5f713 andi a4,a1,255
46b0: c339 beqz a4,46f6 <GPIO_Init+0x5e>
46b2: 4118 lw a4,0(a0)
46b4: 4681 li a3,0
46b6: 4e85 li t4,1
46b8: 4f3d li t5,15
46ba: 02800f93 li t6,40
46be: 04800293 li t0,72
46c2: 4e21 li t3,8
46c4: 00de9633 sll a2,t4,a3
46c8: 00c5f8b3 and a7,a1,a2
46cc: 03161163 bne a2,a7,46ee <GPIO_Init+0x56>
46d0: 00269893 slli a7,a3,0x2
46d4: 011f1333 sll t1,t5,a7
46d8: fff34313 not t1,t1
46dc: 00e37733 and a4,t1,a4
46e0: 011818b3 sll a7,a6,a7
46e4: 00e8e733 or a4,a7,a4
46e8: 05f79f63 bne a5,t6,4746 <GPIO_Init+0xae>
46ec: c950 sw a2,20(a0)
46ee: 0685 addi a3,a3,1
46f0: fdc69ae3 bne a3,t3,46c4 <GPIO_Init+0x2c>
46f4: c118 sw a4,0(a0)
46f6: 0ff00713 li a4,255
46fa: 04b77563 bgeu a4,a1,4744 <GPIO_Init+0xac>
46fe: 4154 lw a3,4(a0)
4700: 4621 li a2,8
4702: 4e85 li t4,1
4704: 4f3d li t5,15
4706: 02800f93 li t6,40
470a: 04800293 li t0,72
470e: 4e41 li t3,16
4710: 00ce98b3 sll a7,t4,a2
4714: 0115f733 and a4,a1,a7
4718: 02e89263 bne a7,a4,473c <GPIO_Init+0xa4>
471c: 00261713 slli a4,a2,0x2
4720: 1701 addi a4,a4,-32
4722: 00ef1333 sll t1,t5,a4
4726: fff34313 not t1,t1
472a: 00d376b3 and a3,t1,a3
472e: 00e81733 sll a4,a6,a4
4732: 8ed9 or a3,a3,a4
4734: 01f79d63 bne a5,t6,474e <GPIO_Init+0xb6>
4738: 01152a23 sw a7,20(a0)
473c: 0605 addi a2,a2,1
473e: fdc619e3 bne a2,t3,4710 <GPIO_Init+0x78>
4742: c154 sw a3,4(a0)
4744: 8082 ret
4746: fa5794e3 bne a5,t0,46ee <GPIO_Init+0x56>
474a: c910 sw a2,16(a0)
474c: b74d j 46ee <GPIO_Init+0x56>
474e: fe5797e3 bne a5,t0,473c <GPIO_Init+0xa4>
4752: 01152823 sw a7,16(a0)
4756: b7dd j 473c <GPIO_Init+0xa4>
00004758 <GPIO_ReadInputDataBit>:
4758: 4508 lw a0,8(a0)
475a: 8d6d and a0,a0,a1
475c: 00a03533 snez a0,a0
4760: 8082 ret
00004762 <GPIO_WriteBit>:
4762: c219 beqz a2,4768 <GPIO_WriteBit+0x6>
4764: c90c sw a1,16(a0)
4766: 8082 ret
4768: c94c sw a1,20(a0)
476a: 8082 ret
0000476c <GPIO_EXTILineConfig>:
476c: 0fc5f713 andi a4,a1,252
4770: 0035f793 andi a5,a1,3
4774: 400105b7 lui a1,0x40010
4778: 95ba add a1,a1,a4
477a: 4594 lw a3,8(a1)
477c: 078a slli a5,a5,0x2
477e: 473d li a4,15
4780: 00f71733 sll a4,a4,a5
4784: fff74713 not a4,a4
4788: 8f75 and a4,a4,a3
478a: c598 sw a4,8(a1)
478c: 4598 lw a4,8(a1)
478e: 00f51533 sll a0,a0,a5
4792: 8d59 or a0,a0,a4
4794: c588 sw a0,8(a1)
4796: 8082 ret
00004798 <NVIC_Init>:
4798: 8d41a703 lw a4,-1836(gp) # 2000031c <NVIC_Priority_Group>
479c: 4789 li a5,2
479e: 2110 lbu a2,0(a0)
47a0: 02f71163 bne a4,a5,47c2 <NVIC_Init+0x2a>
47a4: 3114 lbu a3,1(a0)
47a6: 478d li a5,3
47a8: 00d7ed63 bltu a5,a3,47c2 <NVIC_Init+0x2a>
47ac: 213c lbu a5,2(a0)
47ae: 069a slli a3,a3,0x6
47b0: e000e737 lui a4,0xe000e
47b4: 0796 slli a5,a5,0x5
47b6: 8fd5 or a5,a5,a3
47b8: 0ff7f793 andi a5,a5,255
47bc: 9732 add a4,a4,a2
47be: 40f70023 sb a5,1024(a4) # e000e400 <_eusrstack+0xbfffe400>
47c2: 4154 lw a3,4(a0)
47c4: 4705 li a4,1
47c6: 00565793 srli a5,a2,0x5
47ca: 00c71733 sll a4,a4,a2
47ce: ca89 beqz a3,47e0 <NVIC_Init+0x48>
47d0: 04078793 addi a5,a5,64
47d4: 078a slli a5,a5,0x2
47d6: e000e6b7 lui a3,0xe000e
47da: 97b6 add a5,a5,a3
47dc: c398 sw a4,0(a5)
47de: 8082 ret
47e0: 06078793 addi a5,a5,96
47e4: bfc5 j 47d4 <NVIC_Init+0x3c>
000047e6 <RCC_GetClocksFreq>:
47e6: 40021737 lui a4,0x40021
47ea: 435c lw a5,4(a4)
47ec: 4691 li a3,4
47ee: 8bb1 andi a5,a5,12
47f0: 00d78563 beq a5,a3,47fa <RCC_GetClocksFreq+0x14>
47f4: 46a1 li a3,8
47f6: 06d78263 beq a5,a3,485a <RCC_GetClocksFreq+0x74>
47fa: 007a17b7 lui a5,0x7a1
47fe: 20078793 addi a5,a5,512 # 7a1200 <__rt_init_end+0x79aa8c>
4802: c11c sw a5,0(a0)
4804: 40021637 lui a2,0x40021
4808: 425c lw a5,4(a2)
480a: 20000737 lui a4,0x20000
480e: 23870713 addi a4,a4,568 # 20000238 <APBAHBPrescTable>
4812: 8391 srli a5,a5,0x4
4814: 8bbd andi a5,a5,15
4816: 97ba add a5,a5,a4
4818: 2394 lbu a3,0(a5)
481a: 411c lw a5,0(a0)
481c: 00d7d7b3 srl a5,a5,a3
4820: c15c sw a5,4(a0)
4822: 4254 lw a3,4(a2)
4824: 82a1 srli a3,a3,0x8
4826: 8a9d andi a3,a3,7
4828: 96ba add a3,a3,a4
482a: 2294 lbu a3,0(a3)
482c: 00d7d6b3 srl a3,a5,a3
4830: c514 sw a3,8(a0)
4832: 4254 lw a3,4(a2)
4834: 82ad srli a3,a3,0xb
4836: 8a9d andi a3,a3,7
4838: 9736 add a4,a4,a3
483a: 2318 lbu a4,0(a4)
483c: 00e7d7b3 srl a5,a5,a4
4840: c55c sw a5,12(a0)
4842: 4258 lw a4,4(a2)
4844: 8339 srli a4,a4,0xe
4846: 00377693 andi a3,a4,3
484a: 80418713 addi a4,gp,-2044 # 2000024c <ADCPrescTable>
484e: 9736 add a4,a4,a3
4850: 2318 lbu a4,0(a4)
4852: 02e7d7b3 divu a5,a5,a4
4856: c91c sw a5,16(a0)
4858: 8082 ret
485a: 435c lw a5,4(a4)
485c: 4358 lw a4,4(a4)
485e: 66c1 lui a3,0x10
4860: 83c9 srli a5,a5,0x12
4862: 8f75 and a4,a4,a3
4864: 1ffff6b7 lui a3,0x1ffff
4868: 70c6a683 lw a3,1804(a3) # 1ffff70c <__rt_init_end+0x1fff8f98>
486c: 8bbd andi a5,a5,15
486e: 0789 addi a5,a5,2
4870: 01169613 slli a2,a3,0x11
4874: 00064863 bltz a2,4884 <RCC_GetClocksFreq+0x9e>
4878: 46c5 li a3,17
487a: 4601 li a2,0
487c: 02d79263 bne a5,a3,48a0 <RCC_GetClocksFreq+0xba>
4880: 47c9 li a5,18
4882: a839 j 48a0 <RCC_GetClocksFreq+0xba>
4884: 4689 li a3,2
4886: 02d78f63 beq a5,a3,48c4 <RCC_GetClocksFreq+0xde>
488a: 46bd li a3,15
488c: 02d78e63 beq a5,a3,48c8 <RCC_GetClocksFreq+0xe2>
4890: 46c1 li a3,16
4892: 02d78e63 beq a5,a3,48ce <RCC_GetClocksFreq+0xe8>
4896: 46c5 li a3,17
4898: 4601 li a2,0
489a: 00d79363 bne a5,a3,48a0 <RCC_GetClocksFreq+0xba>
489e: 47c1 li a5,16
48a0: ef1d bnez a4,48de <RCC_GetClocksFreq+0xf8>
48a2: 40024737 lui a4,0x40024
48a6: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x20013800>
48aa: 8b41 andi a4,a4,16
48ac: c705 beqz a4,48d4 <RCC_GetClocksFreq+0xee>
48ae: 007a1737 lui a4,0x7a1
48b2: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79aa8c>
48b6: 02f707b3 mul a5,a4,a5
48ba: c11c sw a5,0(a0)
48bc: d621 beqz a2,4804 <RCC_GetClocksFreq+0x1e>
48be: 411c lw a5,0(a0)
48c0: 8385 srli a5,a5,0x1
48c2: b781 j 4802 <RCC_GetClocksFreq+0x1c>
48c4: 4601 li a2,0
48c6: bf6d j 4880 <RCC_GetClocksFreq+0x9a>
48c8: 4605 li a2,1
48ca: 47b5 li a5,13
48cc: bfd1 j 48a0 <RCC_GetClocksFreq+0xba>
48ce: 4601 li a2,0
48d0: 47bd li a5,15
48d2: b7f9 j 48a0 <RCC_GetClocksFreq+0xba>
48d4: 003d1737 lui a4,0x3d1
48d8: 90070713 addi a4,a4,-1792 # 3d0900 <__rt_init_end+0x3ca18c>
48dc: bfe9 j 48b6 <RCC_GetClocksFreq+0xd0>
48de: 400215b7 lui a1,0x40021
48e2: 55d8 lw a4,44(a1)
48e4: 00f71693 slli a3,a4,0xf
48e8: 55d8 lw a4,44(a1)
48ea: 0406df63 bgez a3,4948 <RCC_GetClocksFreq+0x162>
48ee: 8311 srli a4,a4,0x4
48f0: 8b3d andi a4,a4,15
48f2: 00170693 addi a3,a4,1
48f6: 007a1737 lui a4,0x7a1
48fa: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79aa8c>
48fe: 02d75733 divu a4,a4,a3
4902: c118 sw a4,0(a0)
4904: 55d4 lw a3,44(a1)
4906: 82a1 srli a3,a3,0x8
4908: 8abd andi a3,a3,15
490a: e28d bnez a3,492c <RCC_GetClocksFreq+0x146>
490c: 4695 li a3,5
490e: 02d70733 mul a4,a4,a3
4912: 8305 srli a4,a4,0x1
4914: c118 sw a4,0(a0)
4916: 40021737 lui a4,0x40021
491a: 5758 lw a4,44(a4)
491c: 4114 lw a3,0(a0)
491e: 8b3d andi a4,a4,15
4920: 0705 addi a4,a4,1
4922: 02e6d733 divu a4,a3,a4
4926: c118 sw a4,0(a0)
4928: 4118 lw a4,0(a0)
492a: b771 j 48b6 <RCC_GetClocksFreq+0xd0>
492c: 4585 li a1,1
492e: 00b69463 bne a3,a1,4936 <RCC_GetClocksFreq+0x150>
4932: 46e5 li a3,25
4934: bfe9 j 490e <RCC_GetClocksFreq+0x128>
4936: 45bd li a1,15
4938: 00b69663 bne a3,a1,4944 <RCC_GetClocksFreq+0x15e>
493c: 46d1 li a3,20
493e: 02e68733 mul a4,a3,a4
4942: bfc9 j 4914 <RCC_GetClocksFreq+0x12e>
4944: 0689 addi a3,a3,2
4946: bfe5 j 493e <RCC_GetClocksFreq+0x158>
4948: 8b3d andi a4,a4,15
494a: 00170693 addi a3,a4,1 # 40021001 <_eusrstack+0x20011001>
494e: 007a1737 lui a4,0x7a1
4952: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79aa8c>
4956: 02d75733 divu a4,a4,a3
495a: b7f1 j 4926 <RCC_GetClocksFreq+0x140>
0000495c <RCC_APB2PeriphClockCmd>:
495c: c599 beqz a1,496a <RCC_APB2PeriphClockCmd+0xe>
495e: 40021737 lui a4,0x40021
4962: 4f1c lw a5,24(a4)
4964: 8d5d or a0,a0,a5
4966: cf08 sw a0,24(a4)
4968: 8082 ret
496a: 400217b7 lui a5,0x40021
496e: 4f98 lw a4,24(a5)
4970: fff54513 not a0,a0
4974: 8d79 and a0,a0,a4
4976: cf88 sw a0,24(a5)
4978: 8082 ret
0000497a <RCC_APB1PeriphClockCmd>:
497a: c599 beqz a1,4988 <RCC_APB1PeriphClockCmd+0xe>
497c: 40021737 lui a4,0x40021
4980: 4f5c lw a5,28(a4)
4982: 8d5d or a0,a0,a5
4984: cf48 sw a0,28(a4)
4986: 8082 ret
4988: 400217b7 lui a5,0x40021
498c: 4fd8 lw a4,28(a5)
498e: fff54513 not a0,a0
4992: 8d79 and a0,a0,a4
4994: cfc8 sw a0,28(a5)
4996: 8082 ret
00004998 <USART_Init>:
4998: a0bfb2ef jal t0,3a2 <__riscv_save_0>
499c: 2916 lhu a3,16(a0)
499e: 77f5 lui a5,0xffffd
49a0: 17fd addi a5,a5,-1
49a2: 8ff5 and a5,a5,a3
49a4: 21f6 lhu a3,6(a1)
49a6: 25da lhu a4,12(a1)
49a8: 7179 addi sp,sp,-48
49aa: 8fd5 or a5,a5,a3
49ac: a91e sh a5,16(a0)
49ae: 2556 lhu a3,12(a0)
49b0: 77fd lui a5,0xfffff
49b2: 9f378793 addi a5,a5,-1549 # ffffe9f3 <_eusrstack+0xdffee9f3>
49b6: 8ff5 and a5,a5,a3
49b8: 21d6 lhu a3,4(a1)
49ba: 842a mv s0,a0
49bc: c62e sw a1,12(sp)
49be: 8fd5 or a5,a5,a3
49c0: 2596 lhu a3,8(a1)
49c2: 8fd5 or a5,a5,a3
49c4: 25b6 lhu a3,10(a1)
49c6: 8fd5 or a5,a5,a3
49c8: a55e sh a5,12(a0)
49ca: 295e lhu a5,20(a0)
49cc: 07c2 slli a5,a5,0x10
49ce: 83c1 srli a5,a5,0x10
49d0: cff7f793 andi a5,a5,-769
49d4: 8fd9 or a5,a5,a4
49d6: a95e sh a5,20(a0)
49d8: 0868 addi a0,sp,28
49da: e0dff0ef jal ra,47e6 <RCC_GetClocksFreq>
49de: 400147b7 lui a5,0x40014
49e2: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
49e6: 45b2 lw a1,12(sp)
49e8: 02f41e63 bne s0,a5,4a24 <USART_Init+0x8c>
49ec: 57a2 lw a5,40(sp)
49ee: 4765 li a4,25
49f0: 02e787b3 mul a5,a5,a4
49f4: 4198 lw a4,0(a1)
49f6: 06400693 li a3,100
49fa: 070a slli a4,a4,0x2
49fc: 02e7d7b3 divu a5,a5,a4
4a00: 02d7d733 divu a4,a5,a3
4a04: 02d7f7b3 remu a5,a5,a3
4a08: 0712 slli a4,a4,0x4
4a0a: 0792 slli a5,a5,0x4
4a0c: 03278793 addi a5,a5,50
4a10: 02d7d7b3 divu a5,a5,a3
4a14: 8bbd andi a5,a5,15
4a16: 8fd9 or a5,a5,a4
4a18: 07c2 slli a5,a5,0x10
4a1a: 83c1 srli a5,a5,0x10
4a1c: a41e sh a5,8(s0)
4a1e: 6145 addi sp,sp,48
4a20: 9a7fb06f j 3c6 <__riscv_restore_0>
4a24: 5792 lw a5,36(sp)
4a26: b7e1 j 49ee <USART_Init+0x56>
00004a28 <USART_Cmd>:
4a28: c591 beqz a1,4a34 <USART_Cmd+0xc>
4a2a: 255e lhu a5,12(a0)
4a2c: 6709 lui a4,0x2
4a2e: 8fd9 or a5,a5,a4
4a30: a55e sh a5,12(a0)
4a32: 8082 ret
4a34: 255a lhu a4,12(a0)
4a36: 77f9 lui a5,0xffffe
4a38: 17fd addi a5,a5,-1
4a3a: 8ff9 and a5,a5,a4
4a3c: bfd5 j 4a30 <USART_Cmd+0x8>
00004a3e <USART_ITConfig>:
4a3e: 0ff5f713 andi a4,a1,255
4a42: 4785 li a5,1
4a44: 8315 srli a4,a4,0x5
4a46: 00b795b3 sll a1,a5,a1
4a4a: 00f71963 bne a4,a5,4a5c <USART_ITConfig+0x1e>
4a4e: 00c50793 addi a5,a0,12
4a52: 4398 lw a4,0(a5)
4a54: ce01 beqz a2,4a6c <USART_ITConfig+0x2e>
4a56: 8dd9 or a1,a1,a4
4a58: c38c sw a1,0(a5)
4a5a: 8082 ret
4a5c: 4689 li a3,2
4a5e: 01450793 addi a5,a0,20
4a62: fed718e3 bne a4,a3,4a52 <USART_ITConfig+0x14>
4a66: 01050793 addi a5,a0,16
4a6a: b7e5 j 4a52 <USART_ITConfig+0x14>
4a6c: fff5c593 not a1,a1
4a70: 8df9 and a1,a1,a4
4a72: b7dd j 4a58 <USART_ITConfig+0x1a>
00004a74 <USART_SendData>:
4a74: 1ff5f593 andi a1,a1,511
4a78: a14e sh a1,4(a0)
4a7a: 8082 ret
00004a7c <USART_ReceiveData>:
4a7c: 214a lhu a0,4(a0)
4a7e: 1ff57513 andi a0,a0,511
4a82: 8082 ret
00004a84 <USART_GetFlagStatus>:
4a84: 210a lhu a0,0(a0)
4a86: 8d6d and a0,a0,a1
4a88: 00a03533 snez a0,a0
4a8c: 8082 ret
00004a8e <USART_GetITStatus>:
4a8e: 0ff5f713 andi a4,a1,255
4a92: 4685 li a3,1
4a94: 8315 srli a4,a4,0x5
4a96: 00b697b3 sll a5,a3,a1
4a9a: 02d71163 bne a4,a3,4abc <USART_GetITStatus+0x2e>
4a9e: 255a lhu a4,12(a0)
4aa0: 8ff9 and a5,a5,a4
4aa2: 211a lhu a4,0(a0)
4aa4: 4501 li a0,0
4aa6: 0742 slli a4,a4,0x10
4aa8: 8341 srli a4,a4,0x10
4aaa: cb81 beqz a5,4aba <USART_GetITStatus+0x2c>
4aac: 4505 li a0,1
4aae: 81a1 srli a1,a1,0x8
4ab0: 00b515b3 sll a1,a0,a1
4ab4: 8f6d and a4,a4,a1
4ab6: 00e03533 snez a0,a4
4aba: 8082 ret
4abc: 4689 li a3,2
4abe: 00d71463 bne a4,a3,4ac6 <USART_GetITStatus+0x38>
4ac2: 291a lhu a4,16(a0)
4ac4: bff1 j 4aa0 <USART_GetITStatus+0x12>
4ac6: 295a lhu a4,20(a0)
4ac8: bfe1 j 4aa0 <USART_GetITStatus+0x12>
00004aca <USART_ClearITPendingBit>:
4aca: 81a1 srli a1,a1,0x8
4acc: 4785 li a5,1
4ace: 00b797b3 sll a5,a5,a1
4ad2: fff7c793 not a5,a5
4ad6: 07c2 slli a5,a5,0x10
4ad8: 83c1 srli a5,a5,0x10
4ada: a11e sh a5,0(a0)
4adc: 8082 ret
00004ade <android_PowerCtrl_Init>:
4ade: 8c5fb2ef jal t0,3a2 <__riscv_save_0>
4ae2: 4581 li a1,0
4ae4: 4509 li a0,2
4ae6: e38fe0ef jal ra,311e <rt_pin_mode>
4aea: 8ddfb06f j 3c6 <__riscv_restore_0>
00004aee <android_PowerCtrl_Open>:
4aee: 8b5fb2ef jal t0,3a2 <__riscv_save_0>
4af2: 4585 li a1,1
4af4: 4509 li a0,2
4af6: e42fe0ef jal ra,3138 <rt_pin_write>
4afa: 8cdfb06f j 3c6 <__riscv_restore_0>
00004afe <J1_PWR_Open>:
4afe: 8a5fb2ef jal t0,3a2 <__riscv_save_0>
4b02: 4585 li a1,1
4b04: 02600513 li a0,38
4b08: e30fe0ef jal ra,3138 <rt_pin_write>
4b0c: 8bbfb06f j 3c6 <__riscv_restore_0>
00004b10 <J1_485_Init>:
4b10: 893fb2ef jal t0,3a2 <__riscv_save_0>
4b14: 4581 li a1,0
4b16: 4511 li a0,4
4b18: e06fe0ef jal ra,311e <rt_pin_mode>
4b1c: 4581 li a1,0
4b1e: 4511 li a0,4
4b20: e18fe0ef jal ra,3138 <rt_pin_write>
4b24: 4581 li a1,0
4b26: 02600513 li a0,38
4b2a: df4fe0ef jal ra,311e <rt_pin_mode>
4b2e: fd1ff0ef jal ra,4afe <J1_PWR_Open>
4b32: 895fb06f j 3c6 <__riscv_restore_0>
00004b36 <J2_PWR_Open>:
4b36: 86dfb2ef jal t0,3a2 <__riscv_save_0>
4b3a: 4585 li a1,1
4b3c: 02700513 li a0,39
4b40: df8fe0ef jal ra,3138 <rt_pin_write>
4b44: 883fb06f j 3c6 <__riscv_restore_0>
00004b48 <J2_485_Init>:
4b48: 85bfb2ef jal t0,3a2 <__riscv_save_0>
4b4c: 4581 li a1,0
4b4e: 4515 li a0,5
4b50: dcefe0ef jal ra,311e <rt_pin_mode>
4b54: 4581 li a1,0
4b56: 4515 li a0,5
4b58: de0fe0ef jal ra,3138 <rt_pin_write>
4b5c: 4581 li a1,0
4b5e: 02700513 li a0,39
4b62: dbcfe0ef jal ra,311e <rt_pin_mode>
4b66: fd1ff0ef jal ra,4b36 <J2_PWR_Open>
4b6a: 85dfb06f j 3c6 <__riscv_restore_0>
00004b6e <J3_PWR_Open>:
4b6e: 835fb2ef jal t0,3a2 <__riscv_save_0>
4b72: 4585 li a1,1
4b74: 02800513 li a0,40
4b78: dc0fe0ef jal ra,3138 <rt_pin_write>
4b7c: 84bfb06f j 3c6 <__riscv_restore_0>
00004b80 <J3_485_Init>:
4b80: 823fb2ef jal t0,3a2 <__riscv_save_0>
4b84: 4581 li a1,0
4b86: 4561 li a0,24
4b88: d96fe0ef jal ra,311e <rt_pin_mode>
4b8c: 4581 li a1,0
4b8e: 4561 li a0,24
4b90: da8fe0ef jal ra,3138 <rt_pin_write>
4b94: 4581 li a1,0
4b96: 02800513 li a0,40
4b9a: d84fe0ef jal ra,311e <rt_pin_mode>
4b9e: fd1ff0ef jal ra,4b6e <J3_PWR_Open>
4ba2: 825fb06f j 3c6 <__riscv_restore_0>
00004ba6 <J4_PWR_Open>:
4ba6: ffcfb2ef jal t0,3a2 <__riscv_save_0>
4baa: 4585 li a1,1
4bac: 02900513 li a0,41
4bb0: d88fe0ef jal ra,3138 <rt_pin_write>
4bb4: 813fb06f j 3c6 <__riscv_restore_0>
00004bb8 <J4_485_Init>:
4bb8: feafb2ef jal t0,3a2 <__riscv_save_0>
4bbc: 4581 li a1,0
4bbe: 02300513 li a0,35
4bc2: d5cfe0ef jal ra,311e <rt_pin_mode>
4bc6: 4581 li a1,0
4bc8: 02300513 li a0,35
4bcc: d6cfe0ef jal ra,3138 <rt_pin_write>
4bd0: 4581 li a1,0
4bd2: 02900513 li a0,41
4bd6: d48fe0ef jal ra,311e <rt_pin_mode>
4bda: fcdff0ef jal ra,4ba6 <J4_PWR_Open>
4bde: fe8fb06f j 3c6 <__riscv_restore_0>
00004be2 <USART3_IRQHandler>:
4be2: 1141 addi sp,sp,-16
4be4: c622 sw s0,12(sp)
4be6: 40005437 lui s0,0x40005
4bea: 52500593 li a1,1317
4bee: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1fff4800>
4bf2: e9dff0ef jal ra,4a8e <USART_GetITStatus>
4bf6: c515 beqz a0,4c22 <USART3_IRQHandler+0x40>
4bf8: 80040513 addi a0,s0,-2048
4bfc: e81ff0ef jal ra,4a7c <USART_ReceiveData>
4c00: 0ff57593 andi a1,a0,255
4c04: 8cb18c23 sb a1,-1832(gp) # 20000320 <USART3_Rbuffer>
4c08: 8cc1a503 lw a0,-1844(gp) # 20000314 <g_J50RS485_USART3_handle>
4c0c: 4d1c lw a5,24(a0)
4c0e: 4910 lw a2,16(a0)
4c10: 4954 lw a3,20(a0)
4c12: 0785 addi a5,a5,1
4c14: 02c7e7b3 rem a5,a5,a2
4c18: 00d78563 beq a5,a3,4c22 <USART3_IRQHandler+0x40>
4c1c: 0531 addi a0,a0,12
4c1e: eb4fe0ef jal ra,32d2 <InRingQueue>
4c22: 4432 lw s0,12(sp)
4c24: 0141 addi sp,sp,16
4c26: 30200073 mret
00004c2a <J5_PWR_Open>:
4c2a: f78fb2ef jal t0,3a2 <__riscv_save_0>
4c2e: 4585 li a1,1
4c30: 02a00513 li a0,42
4c34: d04fe0ef jal ra,3138 <rt_pin_write>
4c38: f8efb06f j 3c6 <__riscv_restore_0>
00004c3c <J5_PWR_Close>:
4c3c: f66fb2ef jal t0,3a2 <__riscv_save_0>
4c40: 4581 li a1,0
4c42: 02a00513 li a0,42
4c46: cf2fe0ef jal ra,3138 <rt_pin_write>
4c4a: f7cfb06f j 3c6 <__riscv_restore_0>
00004c4e <J6_PWR_Open>:
4c4e: f54fb2ef jal t0,3a2 <__riscv_save_0>
4c52: 4585 li a1,1
4c54: 02b00513 li a0,43
4c58: ce0fe0ef jal ra,3138 <rt_pin_write>
4c5c: f6afb06f j 3c6 <__riscv_restore_0>
00004c60 <J6_PWR_Close>:
4c60: f42fb2ef jal t0,3a2 <__riscv_save_0>
4c64: 4581 li a1,0
4c66: 02b00513 li a0,43
4c6a: ccefe0ef jal ra,3138 <rt_pin_write>
4c6e: f58fb06f j 3c6 <__riscv_restore_0>
00004c72 <J7_PWR_Open>:
4c72: f30fb2ef jal t0,3a2 <__riscv_save_0>
4c76: 4585 li a1,1
4c78: 02c00513 li a0,44
4c7c: cbcfe0ef jal ra,3138 <rt_pin_write>
4c80: f46fb06f j 3c6 <__riscv_restore_0>
00004c84 <J7_PWR_Close>:
4c84: f1efb2ef jal t0,3a2 <__riscv_save_0>
4c88: 4581 li a1,0
4c8a: 02c00513 li a0,44
4c8e: caafe0ef jal ra,3138 <rt_pin_write>
4c92: f34fb06f j 3c6 <__riscv_restore_0>
00004c96 <J8_PWR_Open>:
4c96: f0cfb2ef jal t0,3a2 <__riscv_save_0>
4c9a: 4585 li a1,1
4c9c: 02d00513 li a0,45
4ca0: c98fe0ef jal ra,3138 <rt_pin_write>
4ca4: f22fb06f j 3c6 <__riscv_restore_0>
00004ca8 <J8_PWR_Close>:
4ca8: efafb2ef jal t0,3a2 <__riscv_save_0>
4cac: 4581 li a1,0
4cae: 02d00513 li a0,45
4cb2: c86fe0ef jal ra,3138 <rt_pin_write>
4cb6: f10fb06f j 3c6 <__riscv_restore_0>
00004cba <J9_PWR_Open>:
4cba: ee8fb2ef jal t0,3a2 <__riscv_save_0>
4cbe: 4585 li a1,1
4cc0: 02e00513 li a0,46
4cc4: c74fe0ef jal ra,3138 <rt_pin_write>
4cc8: efefb06f j 3c6 <__riscv_restore_0>
00004ccc <USART_CONNET_J9>:
4ccc: ed6fb2ef jal t0,3a2 <__riscv_save_0>
4cd0: f6dff0ef jal ra,4c3c <J5_PWR_Close>
4cd4: f8dff0ef jal ra,4c60 <J6_PWR_Close>
4cd8: fadff0ef jal ra,4c84 <J7_PWR_Close>
4cdc: fcdff0ef jal ra,4ca8 <J8_PWR_Close>
4ce0: fdbff0ef jal ra,4cba <J9_PWR_Open>
4ce4: 4585 li a1,1
4ce6: 03800513 li a0,56
4cea: c4efe0ef jal ra,3138 <rt_pin_write>
4cee: 4581 li a1,0
4cf0: 03900513 li a0,57
4cf4: c44fe0ef jal ra,3138 <rt_pin_write>
4cf8: 4585 li a1,1
4cfa: 03a00513 li a0,58
4cfe: c3afe0ef jal ra,3138 <rt_pin_write>
4d02: ec4fb06f j 3c6 <__riscv_restore_0>
00004d06 <J9_PWR_Close>:
4d06: e9cfb2ef jal t0,3a2 <__riscv_save_0>
4d0a: 4581 li a1,0
4d0c: 02e00513 li a0,46
4d10: c28fe0ef jal ra,3138 <rt_pin_write>
4d14: eb2fb06f j 3c6 <__riscv_restore_0>
00004d18 <USART_CONNET_J0>:
4d18: e8afb2ef jal t0,3a2 <__riscv_save_0>
4d1c: f21ff0ef jal ra,4c3c <J5_PWR_Close>
4d20: f41ff0ef jal ra,4c60 <J6_PWR_Close>
4d24: f61ff0ef jal ra,4c84 <J7_PWR_Close>
4d28: f81ff0ef jal ra,4ca8 <J8_PWR_Close>
4d2c: fdbff0ef jal ra,4d06 <J9_PWR_Close>
4d30: 4581 li a1,0
4d32: 03800513 li a0,56
4d36: c02fe0ef jal ra,3138 <rt_pin_write>
4d3a: 4581 li a1,0
4d3c: 03900513 li a0,57
4d40: bf8fe0ef jal ra,3138 <rt_pin_write>
4d44: 4581 li a1,0
4d46: 03a00513 li a0,58
4d4a: beefe0ef jal ra,3138 <rt_pin_write>
4d4e: e78fb06f j 3c6 <__riscv_restore_0>
00004d52 <J5_0_485_Init>:
4d52: e50fb2ef jal t0,3a2 <__riscv_save_0>
4d56: 7179 addi sp,sp,-48
4d58: 84aa mv s1,a0
4d5a: 4581 li a1,0
4d5c: 02a00513 li a0,42
4d60: bbefe0ef jal ra,311e <rt_pin_mode>
4d64: 4581 li a1,0
4d66: 02b00513 li a0,43
4d6a: bb4fe0ef jal ra,311e <rt_pin_mode>
4d6e: 4581 li a1,0
4d70: 02c00513 li a0,44
4d74: baafe0ef jal ra,311e <rt_pin_mode>
4d78: 4581 li a1,0
4d7a: 02d00513 li a0,45
4d7e: ba0fe0ef jal ra,311e <rt_pin_mode>
4d82: 4581 li a1,0
4d84: 02e00513 li a0,46
4d88: b96fe0ef jal ra,311e <rt_pin_mode>
4d8c: 4581 li a1,0
4d8e: 03700513 li a0,55
4d92: b8cfe0ef jal ra,311e <rt_pin_mode>
4d96: 4581 li a1,0
4d98: 03700513 li a0,55
4d9c: b9cfe0ef jal ra,3138 <rt_pin_write>
4da0: 4581 li a1,0
4da2: 03800513 li a0,56
4da6: b78fe0ef jal ra,311e <rt_pin_mode>
4daa: 4581 li a1,0
4dac: 03900513 li a0,57
4db0: b6efe0ef jal ra,311e <rt_pin_mode>
4db4: 4581 li a1,0
4db6: 03a00513 li a0,58
4dba: b64fe0ef jal ra,311e <rt_pin_mode>
4dbe: f5bff0ef jal ra,4d18 <USART_CONNET_J0>
4dc2: 4585 li a1,1
4dc4: 4521 li a0,8
4dc6: b97ff0ef jal ra,495c <RCC_APB2PeriphClockCmd>
4dca: 4585 li a1,1
4dcc: 00040537 lui a0,0x40
4dd0: babff0ef jal ra,497a <RCC_APB1PeriphClockCmd>
4dd4: 40000793 li a5,1024
4dd8: 82fc sh a5,20(sp)
4dda: 40011437 lui s0,0x40011
4dde: 478d li a5,3
4de0: cc3e sw a5,24(sp)
4de2: 084c addi a1,sp,20
4de4: 47e1 li a5,24
4de6: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x20000c00>
4dea: ce3e sw a5,28(sp)
4dec: 8adff0ef jal ra,4698 <GPIO_Init>
4df0: 6785 lui a5,0x1
4df2: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
4df6: 82fc sh a5,20(sp)
4df8: 084c addi a1,sp,20
4dfa: 4791 li a5,4
4dfc: c0040513 addi a0,s0,-1024
4e00: ce3e sw a5,28(sp)
4e02: 40005437 lui s0,0x40005
4e06: 893ff0ef jal ra,4698 <GPIO_Init>
4e0a: 100c addi a1,sp,32
4e0c: 000c07b7 lui a5,0xc0
4e10: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1fff4800>
4e14: d026 sw s1,32(sp)
4e16: d43e sw a5,40(sp)
4e18: d202 sw zero,36(sp)
4e1a: 02011623 sh zero,44(sp)
4e1e: b7bff0ef jal ra,4998 <USART_Init>
4e22: 13700793 li a5,311
4e26: 867c sh a5,12(sp)
4e28: 4785 li a5,1
4e2a: 875c sb a5,14(sp)
4e2c: 0068 addi a0,sp,12
4e2e: 4785 li a5,1
4e30: c83e sw a5,16(sp)
4e32: 967ff0ef jal ra,4798 <NVIC_Init>
4e36: 4605 li a2,1
4e38: 80040513 addi a0,s0,-2048
4e3c: 52500593 li a1,1317
4e40: bffff0ef jal ra,4a3e <USART_ITConfig>
4e44: 4585 li a1,1
4e46: 80040513 addi a0,s0,-2048
4e4a: bdfff0ef jal ra,4a28 <USART_Cmd>
4e4e: 6145 addi sp,sp,48
4e50: d76fb06f j 3c6 <__riscv_restore_0>
00004e54 <USART_CONNET_J5>:
4e54: d4efb2ef jal t0,3a2 <__riscv_save_0>
4e58: dd3ff0ef jal ra,4c2a <J5_PWR_Open>
4e5c: e05ff0ef jal ra,4c60 <J6_PWR_Close>
4e60: e25ff0ef jal ra,4c84 <J7_PWR_Close>
4e64: e45ff0ef jal ra,4ca8 <J8_PWR_Close>
4e68: e9fff0ef jal ra,4d06 <J9_PWR_Close>
4e6c: 4581 li a1,0
4e6e: 03800513 li a0,56
4e72: ac6fe0ef jal ra,3138 <rt_pin_write>
4e76: 4581 li a1,0
4e78: 03900513 li a0,57
4e7c: abcfe0ef jal ra,3138 <rt_pin_write>
4e80: 4581 li a1,0
4e82: 03a00513 li a0,58
4e86: ab2fe0ef jal ra,3138 <rt_pin_write>
4e8a: d3cfb06f j 3c6 <__riscv_restore_0>
00004e8e <USART_CONNET_J6>:
4e8e: d14fb2ef jal t0,3a2 <__riscv_save_0>
4e92: dabff0ef jal ra,4c3c <J5_PWR_Close>
4e96: db9ff0ef jal ra,4c4e <J6_PWR_Open>
4e9a: debff0ef jal ra,4c84 <J7_PWR_Close>
4e9e: e0bff0ef jal ra,4ca8 <J8_PWR_Close>
4ea2: e65ff0ef jal ra,4d06 <J9_PWR_Close>
4ea6: 4585 li a1,1
4ea8: 03800513 li a0,56
4eac: a8cfe0ef jal ra,3138 <rt_pin_write>
4eb0: 4581 li a1,0
4eb2: 03900513 li a0,57
4eb6: a82fe0ef jal ra,3138 <rt_pin_write>
4eba: 4581 li a1,0
4ebc: 03a00513 li a0,58
4ec0: a78fe0ef jal ra,3138 <rt_pin_write>
4ec4: d02fb06f j 3c6 <__riscv_restore_0>
00004ec8 <USART_CONNET_J7>:
4ec8: cdafb2ef jal t0,3a2 <__riscv_save_0>
4ecc: d71ff0ef jal ra,4c3c <J5_PWR_Close>
4ed0: d91ff0ef jal ra,4c60 <J6_PWR_Close>
4ed4: d9fff0ef jal ra,4c72 <J7_PWR_Open>
4ed8: dd1ff0ef jal ra,4ca8 <J8_PWR_Close>
4edc: e2bff0ef jal ra,4d06 <J9_PWR_Close>
4ee0: 4585 li a1,1
4ee2: 03800513 li a0,56
4ee6: a52fe0ef jal ra,3138 <rt_pin_write>
4eea: 4585 li a1,1
4eec: 03900513 li a0,57
4ef0: a48fe0ef jal ra,3138 <rt_pin_write>
4ef4: 4581 li a1,0
4ef6: 03a00513 li a0,58
4efa: a3efe0ef jal ra,3138 <rt_pin_write>
4efe: cc8fb06f j 3c6 <__riscv_restore_0>
00004f02 <USART_CONNET_J8>:
4f02: ca0fb2ef jal t0,3a2 <__riscv_save_0>
4f06: d37ff0ef jal ra,4c3c <J5_PWR_Close>
4f0a: d57ff0ef jal ra,4c60 <J6_PWR_Close>
4f0e: d77ff0ef jal ra,4c84 <J7_PWR_Close>
4f12: d85ff0ef jal ra,4c96 <J8_PWR_Open>
4f16: df1ff0ef jal ra,4d06 <J9_PWR_Close>
4f1a: 4581 li a1,0
4f1c: 03800513 li a0,56
4f20: a18fe0ef jal ra,3138 <rt_pin_write>
4f24: 4581 li a1,0
4f26: 03900513 li a0,57
4f2a: a0efe0ef jal ra,3138 <rt_pin_write>
4f2e: 4585 li a1,1
4f30: 03a00513 li a0,58
4f34: a04fe0ef jal ra,3138 <rt_pin_write>
4f38: c8efb06f j 3c6 <__riscv_restore_0>
00004f3c <USARTx_SendByte_str>:
4f3c: c66fb2ef jal t0,3a2 <__riscv_save_0>
4f40: 842a mv s0,a0
4f42: b33ff0ef jal ra,4a74 <USART_SendData>
4f46: 08000593 li a1,128
4f4a: 8522 mv a0,s0
4f4c: b39ff0ef jal ra,4a84 <USART_GetFlagStatus>
4f50: d97d beqz a0,4f46 <USARTx_SendByte_str+0xa>
4f52: c74fb06f j 3c6 <__riscv_restore_0>
00004f56 <memcmp>:
4f56: 4701 li a4,0
4f58: 00e61463 bne a2,a4,4f60 <memcmp+0xa>
4f5c: 4501 li a0,0
4f5e: 8082 ret
4f60: 00e507b3 add a5,a0,a4
4f64: 0705 addi a4,a4,1
4f66: 00e586b3 add a3,a1,a4
4f6a: 239c lbu a5,0(a5)
4f6c: fff6c683 lbu a3,-1(a3)
4f70: fed784e3 beq a5,a3,4f58 <memcmp+0x2>
4f74: 40d78533 sub a0,a5,a3
4f78: 8082 ret
00004f7a <memcpy>:
4f7a: 00a5c7b3 xor a5,a1,a0
4f7e: 8b8d andi a5,a5,3
4f80: 00c50733 add a4,a0,a2
4f84: e781 bnez a5,4f8c <memcpy+0x12>
4f86: 478d li a5,3
4f88: 00c7ed63 bltu a5,a2,4fa2 <memcpy+0x28>
4f8c: 87aa mv a5,a0
4f8e: 08e57e63 bgeu a0,a4,502a <memcpy+0xb0>
4f92: 2194 lbu a3,0(a1)
4f94: 0785 addi a5,a5,1
4f96: 0585 addi a1,a1,1
4f98: fed78fa3 sb a3,-1(a5) # bffff <__rt_init_end+0xb988b>
4f9c: fee7ebe3 bltu a5,a4,4f92 <memcpy+0x18>
4fa0: 8082 ret
4fa2: 00357693 andi a3,a0,3
4fa6: 87aa mv a5,a0
4fa8: ca89 beqz a3,4fba <memcpy+0x40>
4faa: 2194 lbu a3,0(a1)
4fac: 0785 addi a5,a5,1
4fae: 0585 addi a1,a1,1
4fb0: fed78fa3 sb a3,-1(a5)
4fb4: 0037f693 andi a3,a5,3
4fb8: bfc5 j 4fa8 <memcpy+0x2e>
4fba: ffc77693 andi a3,a4,-4
4fbe: fe068613 addi a2,a3,-32
4fc2: 06c7f063 bgeu a5,a2,5022 <memcpy+0xa8>
4fc6: 0005a383 lw t2,0(a1) # 40021000 <_eusrstack+0x20011000>
4fca: 0045a283 lw t0,4(a1)
4fce: 0085af83 lw t6,8(a1)
4fd2: 00c5af03 lw t5,12(a1)
4fd6: 0105ae83 lw t4,16(a1)
4fda: 0145ae03 lw t3,20(a1)
4fde: 0185a303 lw t1,24(a1)
4fe2: 01c5a883 lw a7,28(a1)
4fe6: 02458593 addi a1,a1,36
4fea: 0077a023 sw t2,0(a5)
4fee: ffc5a803 lw a6,-4(a1)
4ff2: 0057a223 sw t0,4(a5)
4ff6: 01f7a423 sw t6,8(a5)
4ffa: 01e7a623 sw t5,12(a5)
4ffe: 01d7a823 sw t4,16(a5)
5002: 01c7aa23 sw t3,20(a5)
5006: 0067ac23 sw t1,24(a5)
500a: 0117ae23 sw a7,28(a5)
500e: 02478793 addi a5,a5,36
5012: ff07ae23 sw a6,-4(a5)
5016: b775 j 4fc2 <memcpy+0x48>
5018: 4190 lw a2,0(a1)
501a: 0791 addi a5,a5,4
501c: 0591 addi a1,a1,4
501e: fec7ae23 sw a2,-4(a5)
5022: fed7ebe3 bltu a5,a3,5018 <memcpy+0x9e>
5026: f6e7e6e3 bltu a5,a4,4f92 <memcpy+0x18>
502a: 8082 ret
0000502c <strcat>:
502c: 87aa mv a5,a0
502e: 2398 lbu a4,0(a5)
5030: 00178693 addi a3,a5,1
5034: eb09 bnez a4,5046 <strcat+0x1a>
5036: 0585 addi a1,a1,1
5038: fff5c703 lbu a4,-1(a1)
503c: 0785 addi a5,a5,1
503e: fee78fa3 sb a4,-1(a5)
5042: fb75 bnez a4,5036 <strcat+0xa>
5044: 8082 ret
5046: 87b6 mv a5,a3
5048: b7dd j 502e <strcat+0x2>
0000504a <strcpy>:
504a: 87aa mv a5,a0
504c: 2198 lbu a4,0(a1)
504e: 0785 addi a5,a5,1
5050: 0585 addi a1,a1,1
5052: fee78fa3 sb a4,-1(a5)
5056: fb7d bnez a4,504c <strcpy+0x2>
5058: 8082 ret
0000505a <strlen>:
505a: 87aa mv a5,a0
505c: 0785 addi a5,a5,1
505e: fff7c703 lbu a4,-1(a5)
5062: ff6d bnez a4,505c <strlen+0x2>
5064: 40a78533 sub a0,a5,a0
5068: 157d addi a0,a0,-1
506a: 8082 ret
0000506c <strncmp>:
506c: c215 beqz a2,5090 <strncmp+0x24>
506e: 167d addi a2,a2,-1
5070: 4701 li a4,0
5072: 00e507b3 add a5,a0,a4
5076: 00e586b3 add a3,a1,a4
507a: 239c lbu a5,0(a5)
507c: 2294 lbu a3,0(a3)
507e: 00d79663 bne a5,a3,508a <strncmp+0x1e>
5082: 00c70463 beq a4,a2,508a <strncmp+0x1e>
5086: 0705 addi a4,a4,1
5088: f7ed bnez a5,5072 <strncmp+0x6>
508a: 40d78533 sub a0,a5,a3
508e: 8082 ret
5090: 4501 li a0,0
5092: 8082 ret
5094: 5b5c lw a5,52(a4)
5096: 0000 unimp
5098: 5b70 lw a2,116(a4)
509a: 0000 unimp
509c: 5b80 lw s0,48(a5)
509e: 0000 unimp
50a0: 5b94 lw a3,48(a5)
50a2: 0000 unimp
50a4: 5ba0 lw s0,112(a5)
50a6: 0000 unimp
50a8: 5bac lw a1,112(a5)
50aa: 0000 unimp
50ac: 5bb0 lw a2,112(a5)
50ae: 0000 unimp
50b0: 5bc0 lw s0,52(a5)
50b2: 0000 unimp
50b4: 5bd0 lw a2,52(a5)
50b6: 0000 unimp
50b8: 5bd8 lw a4,52(a5)
50ba: 0000 unimp
50bc: 5bec lw a1,116(a5)
50be: 0000 unimp
50c0: 5bfc lw a5,116(a5)
50c2: 0000 unimp
50c4: 5c04 lw s1,56(s0)
50c6: 0000 unimp
50c8: 5c10 lw a2,56(s0)
50ca: 0000 unimp
50cc: 5c1c lw a5,56(s0)
50ce: 0000 unimp
50d0: 5c30 lw a2,120(s0)
50d2: 0000 unimp
50d4: 5c38 lw a4,120(s0)
50d6: 0000 unimp
50d8: 5c48 lw a0,60(s0)
50da: 0000 unimp
50dc: 5c58 lw a4,60(s0)
50de: 0000 unimp
50e0: 5c70 lw a2,124(s0)
50e2: 0000 unimp
50e4: 616d addi sp,sp,240
50e6: 6e69 lui t3,0x1a
50e8: 0000 unimp
50ea: 0000 unimp
50ec: 6f54 flw fa3,28(a4)
50ee: 6920 flw fs0,80(a0)
50f0: 696e flw fs2,216(sp)
50f2: 6974 flw fa3,84(a0)
50f4: 6c61 lui s8,0x18
50f6: 7a69 lui s4,0xffffa
50f8: 2065 jal 51a0 <__lowest_bit_bitmap+0x74>
50fa: 6564 flw fs1,76(a0)
50fc: 6976 flw fs2,92(sp)
50fe: 253a6563 bltu s4,s3,5348 <__fsym_list_mem_desc+0x1c>
5102: 61662073 csrs 0x616,a2
5106: 6c69 lui s8,0x1a
5108: 6465 lui s0,0x19
510a: 202e lhu a1,2(s0)
510c: 6854 flw fa3,20(s0)
510e: 2065 jal 51b6 <__lowest_bit_bitmap+0x8a>
5110: 7265 lui tp,0xffff9
5112: 6f72 flw ft10,28(sp)
5114: 2072 lhu a2,6(s0)
5116: 65646f63 bltu s0,s6,5774 <__fsym_list_mem_name+0x428>
511a: 6920 flw fs0,80(a0)
511c: 64252073 csrs 0x642,a0
5120: 000a c.slli zero,0x2
5122: 0000 unimp
5124: 6974 flw fa3,84(a0)
5126: 6c64 flw fs1,92(s0)
5128: 0065 c.nop 25
...
0000512c <__lowest_bit_bitmap>:
512c: 0000 0001 0002 0001 0003 0001 0002 0001 ................
513c: 0004 0001 0002 0001 0003 0001 0002 0001 ................
514c: 0005 0001 0002 0001 0003 0001 0002 0001 ................
515c: 0004 0001 0002 0001 0003 0001 0002 0001 ................
516c: 0006 0001 0002 0001 0003 0001 0002 0001 ................
517c: 0004 0001 0002 0001 0003 0001 0002 0001 ................
518c: 0005 0001 0002 0001 0003 0001 0002 0001 ................
519c: 0004 0001 0002 0001 0003 0001 0002 0001 ................
51ac: 0007 0001 0002 0001 0003 0001 0002 0001 ................
51bc: 0004 0001 0002 0001 0003 0001 0002 0001 ................
51cc: 0005 0001 0002 0001 0003 0001 0002 0001 ................
51dc: 0004 0001 0002 0001 0003 0001 0002 0001 ................
51ec: 0006 0001 0002 0001 0003 0001 0002 0001 ................
51fc: 0004 0001 0002 0001 0003 0001 0002 0001 ................
520c: 0005 0001 0002 0001 0003 0001 0002 0001 ................
521c: 0004 0001 0002 0001 0003 0001 0002 0001 ................
0000522c <large_digits.2583>:
522c: 3130 3332 3534 3736 3938 4241 4443 4645 0123456789ABCDEF
523c: 0000 0000 200a 205c 207c 0a2f 0000 0000 ..... \ | /.....
524c: 202d 5452 2d20 2020 2020 5420 7268 6165 - RT - Threa
525c: 2064 704f 7265 7461 6e69 2067 7953 7473 d Operating Syst
526c: 6d65 000a 754a 206c 3731 3220 3230 0034 em..Jul 17 2024.
527c: 2f20 7c20 5c20 2020 2020 2520 2e64 6425 / | \ %d.%d
528c: 252e 2064 7562 6c69 2064 7325 000a 0000 .%d build %s....
529c: 3220 3030 2036 202d 3032 3931 4320 706f 2006 - 2019 Cop
52ac: 7279 6769 7468 6220 2079 7472 742d 7268 yright by rt-thr
52bc: 6165 2064 6574 6d61 000a 0000 4e28 4c55 ead team....(NUL
52cc: 294c 0000 L)..
000052d0 <small_digits.2582>:
52d0: 3130 3332 3534 3736 3938 6261 6463 6665 0123456789abcdef
52e0: 0000 0000 6f74 6174 206c 656d 6f6d 7972 ....total memory
52f0: 203a 6425 000a 0000 7375 6465 6d20 6d65 : %d....used mem
5300: 726f 2079 203a 6425 000a 0000 616d 6978 ory : %d....maxi
5310: 756d 206d 6c61 6f6c 6163 6574 2064 656d mum allocated me
5320: 6f6d 7972 203a 6425 000a 0000 mory: %d....
0000532c <__fsym_list_mem_desc>:
532c: 696c 7473 6d20 6d65 726f 2079 7375 6761 list memory usag
533c: 2065 6e69 6f66 6d72 7461 6f69 006e 0000 e information...
0000534c <__fsym_list_mem_name>:
534c: 696c 7473 6d5f 6d65 0000 0000 6f74 6620 list_mem....to f
535c: 6572 2065 2061 6162 2064 6164 6174 6220 ree a bad data b
536c: 6f6c 6b63 0a3a 0000 656d 3a6d 3020 2578 lock:...mem: 0x%
537c: 3830 2c78 7520 6573 2064 6c66 6761 203a 08x, used flag:
538c: 6425 202c 616d 6967 2063 6f63 6564 203a %d, magic code:
539c: 7830 3025 7834 000a 6568 7061 0000 0000 0x%04x..heap....
53ac: 656d 206d 6e69 7469 202c 7265 6f72 2072 mem init, error
53bc: 6562 6967 206e 6461 7264 7365 2073 7830 begin address 0x
53cc: 7825 202c 6e61 2064 6e65 2064 6461 7264 %x, and end addr
53dc: 7365 2073 7830 7825 000a 0000 5b1b 4a32 ess 0x%x.....[2J
53ec: 5b1b 0048 2d2d 7546 636e 6974 6e6f 4c20 .[H.--Function L
53fc: 7369 3a74 000a 0000 5f5f 0000 2d25 3631 ist:....__..%-16
540c: 2073 2d2d 2520 0a73 0000 0000 6564 6976 s -- %s.....devi
541c: 6563 0000 2d25 2e2a 2073 2020 2020 2020 ce..%-*.s
542c: 2020 7974 6570 2020 2020 2020 2020 7220 type r
543c: 6665 6320 756f 746e 000a 0000 2d20 2d2d ef count.... ---
544c: 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d ----------------
545c: 202d 2d2d 2d2d 2d2d 2d2d 2d2d 000a 0000 - ----------....
546c: 2d25 2e2a 732a 2520 322d 7330 2520 382d %-*.*s %-20s %-8
547c: 0a64 0000 7665 6e65 0074 0000 2d25 2e2a d...event...%-*.
548c: 2073 2020 2020 7320 7465 2020 2020 7573 s set su
549c: 7073 6e65 2064 6874 6572 6461 000a 0000 spend thread....
54ac: 2020 2d2d 2d2d 2d2d 2d2d 2d2d 2d20 2d2d ---------- ---
54bc: 2d2d 2d2d 2d2d 2d2d 2d2d 0a2d 0000 0000 -----------.....
54cc: 2d25 2e2a 732a 2020 7830 3025 7838 2520 %-*.*s 0x%08x %
54dc: 3330 3a64 0000 0000 2d25 2e2a 732a 2020 03d:....%-*.*s
54ec: 7830 3025 7838 3020 000a 0000 616d 6c69 0x%08x 0....mail
54fc: 6f62 0078 2d25 2e2a 2073 6e65 7274 2079 box.%-*.s entry
550c: 6973 657a 7320 7375 6570 646e 7420 7268 size suspend thr
551c: 6165 0a64 0000 0000 2d20 2d2d 202d 2d20 ead..... ---- -
552c: 2d2d 202d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d --- ------------
553c: 2d2d 000a 2d25 2e2a 732a 2520 3430 2064 --..%-*.*s %04d
554c: 2520 3430 2064 6425 003a 0000 2d25 2e2a %04d %d:...%-*.
555c: 732a 2520 3430 2064 2520 3430 2064 6425 *s %04d %04d %d
556c: 000a 0000 736d 7167 6575 6575 0000 0000 ....msgqueue....
557c: 2d25 2e2a 2073 6e65 7274 2079 7573 7073 %-*.s entry susp
558c: 6e65 2064 6874 6572 6461 000a 2d20 2d2d end thread.. ---
559c: 202d 2d20 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d - -------------
55ac: 0a2d 0000 2d25 2e2a 732a 2520 3430 2064 -...%-*.*s %04d
55bc: 2520 3a64 0000 0000 2d25 2e2a 732a 2520 %d:....%-*.*s %
55cc: 3430 2064 2520 0a64 0000 0000 756d 6574 04d %d.....mute
55dc: 0078 0000 2d25 2e2a 2073 2020 776f 656e x...%-*.s owne
55ec: 2072 6820 6c6f 2064 7573 7073 6e65 2064 r hold suspend
55fc: 6874 6572 6461 000a 2d20 2d2d 2d2d 2d2d thread.. -------
560c: 202d 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d - ---- ---------
561c: 2d2d 2d2d 0a2d 0000 2d25 2e2a 732a 2520 -----...%-*.*s %
562c: 382d 2a2e 2073 3025 6434 2520 0a64 0000 -8.*s %04d %d...
563c: 6573 616d 6870 726f 0065 0000 2d25 2e2a semaphore...%-*.
564c: 2073 2076 2020 7573 7073 6e65 2064 6874 s v suspend th
565c: 6572 6461 000a 0000 2d20 2d2d 2d20 2d2d read.... --- ---
566c: 2d2d 2d2d 2d2d 2d2d 2d2d 0a2d 0000 0000 -----------.....
567c: 2d25 2e2a 732a 2520 3330 2064 6425 003a %-*.*s %03d %d:.
568c: 2d25 2e2a 732a 2520 3330 2064 6425 000a %-*.*s %03d %d..
569c: 6874 6572 6461 0000 2d25 2e2a 2073 7270 thread..%-*.s pr
56ac: 2069 7320 6174 7574 2073 2020 2020 7320 i status s
56bc: 2070 2020 2020 7473 6361 206b 6973 657a p stack size
56cc: 6d20 7861 7520 6573 2064 656c 7466 7420 max used left t
56dc: 6369 206b 6520 7272 726f 000a 2d20 2d2d ick error.. ---
56ec: 2020 2d2d 2d2d 2d2d 202d 2d2d 2d2d 2d2d ------- ------
56fc: 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d 202d ---- ----------
570c: 2d20 2d2d 2d2d 202d 2d20 2d2d 2d2d 2d2d ------ -------
571c: 2d2d 202d 2d2d 0a2d 0000 0000 2d25 2e2a --- ---.....%-*.
572c: 732a 2520 6433 0020 7220 6165 7964 2020 *s %3d . ready
573c: 0000 0000 7320 7375 6570 646e 0000 0000 .... suspend....
574c: 6920 696e 2074 2020 0000 0000 6320 6f6c init .... clo
575c: 6573 2020 0000 0000 3020 2578 3830 2078 se .... 0x%08x
576c: 7830 3025 7838 2020 2020 3025 6432 2525 0x%08x %02d%%
577c: 2020 3020 2578 3830 2078 3025 6433 000a 0x%08x %03d..
578c: 6974 656d 0072 0000 2d25 2e2a 2073 7020 timer...%-*.s p
579c: 7265 6f69 6964 2063 2020 6974 656d 756f eriodic timeou
57ac: 2074 2020 2020 2020 6c66 6761 000a 0000 t flag....
57bc: 2d20 2d2d 2d2d 2d2d 2d2d 202d 2d2d 2d2d ---------- ----
57cc: 2d2d 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d ------ ---------
57dc: 2d2d 000a 2d25 2e2a 732a 3020 2578 3830 --..%-*.*s 0x%08
57ec: 2078 7830 3025 7838 0020 0000 6361 6974 x 0x%08x ...acti
57fc: 6176 6574 0a64 0000 6564 6361 6974 6176 vated...deactiva
580c: 6574 0a64 0000 0000 7563 7272 6e65 2074 ted.....current
581c: 6974 6b63 303a 2578 3830 0a78 0000 0000 tick:0x%08x.....
0000582c <__fsym_list_desc>:
582c: 696c 7473 6120 6c6c 7320 6d79 6f62 206c list all symbol
583c: 6e69 7320 7379 6574 006d 0000 in system...
00005848 <__fsym_list_name>:
5848: 696c 7473 0000 0000 list....
00005850 <__fsym___cmd_list_device_desc>:
5850: 696c 7473 6420 7665 6369 2065 6e69 7320 list device in s
5860: 7379 6574 006d 0000 ystem...
00005868 <__fsym___cmd_list_device_name>:
5868: 5f5f 6d63 5f64 696c 7473 645f 7665 6369 __cmd_list_devic
5878: 0065 0000 e...
0000587c <__fsym_list_device_desc>:
587c: 696c 7473 6420 7665 6369 2065 6e69 7320 list device in s
588c: 7379 6574 006d 0000 ystem...
00005894 <__fsym_list_device_name>:
5894: 696c 7473 645f 7665 6369 0065 list_device.
000058a0 <__fsym___cmd_list_timer_desc>:
58a0: 696c 7473 7420 6d69 7265 6920 206e 7973 list timer in sy
58b0: 7473 6d65 0000 0000 stem....
000058b8 <__fsym___cmd_list_timer_name>:
58b8: 5f5f 6d63 5f64 696c 7473 745f 6d69 7265 __cmd_list_timer
58c8: 0000 0000 ....
000058cc <__fsym_list_timer_desc>:
58cc: 696c 7473 7420 6d69 7265 6920 206e 7973 list timer in sy
58dc: 7473 6d65 0000 0000 stem....
000058e4 <__fsym_list_timer_name>:
58e4: 696c 7473 745f 6d69 7265 0000 list_timer..
000058f0 <__fsym___cmd_list_msgqueue_desc>:
58f0: 696c 7473 6d20 7365 6173 6567 7120 6575 list message que
5900: 6575 6920 206e 7973 7473 6d65 0000 0000 ue in system....
00005910 <__fsym___cmd_list_msgqueue_name>:
5910: 5f5f 6d63 5f64 696c 7473 6d5f 6773 7571 __cmd_list_msgqu
5920: 7565 0065 eue.
00005924 <__fsym_list_msgqueue_desc>:
5924: 696c 7473 6d20 7365 6173 6567 7120 6575 list message que
5934: 6575 6920 206e 7973 7473 6d65 0000 0000 ue in system....
00005944 <__fsym_list_msgqueue_name>:
5944: 696c 7473 6d5f 6773 7571 7565 0065 0000 list_msgqueue...
00005954 <__fsym___cmd_list_mailbox_desc>:
5954: 696c 7473 6d20 6961 206c 6f62 2078 6e69 list mail box in
5964: 7320 7379 6574 006d system.
0000596c <__fsym___cmd_list_mailbox_name>:
596c: 5f5f 6d63 5f64 696c 7473 6d5f 6961 626c __cmd_list_mailb
597c: 786f 0000 ox..
00005980 <__fsym_list_mailbox_desc>:
5980: 696c 7473 6d20 6961 206c 6f62 2078 6e69 list mail box in
5990: 7320 7379 6574 006d system.
00005998 <__fsym_list_mailbox_name>:
5998: 696c 7473 6d5f 6961 626c 786f 0000 0000 list_mailbox....
000059a8 <__fsym___cmd_list_mutex_desc>:
59a8: 696c 7473 6d20 7475 7865 6920 206e 7973 list mutex in sy
59b8: 7473 6d65 0000 0000 stem....
000059c0 <__fsym___cmd_list_mutex_name>:
59c0: 5f5f 6d63 5f64 696c 7473 6d5f 7475 7865 __cmd_list_mutex
59d0: 0000 0000 ....
000059d4 <__fsym_list_mutex_desc>:
59d4: 696c 7473 6d20 7475 7865 6920 206e 7973 list mutex in sy
59e4: 7473 6d65 0000 0000 stem....
000059ec <__fsym_list_mutex_name>:
59ec: 696c 7473 6d5f 7475 7865 0000 list_mutex..
000059f8 <__fsym___cmd_list_event_desc>:
59f8: 696c 7473 6520 6576 746e 6920 206e 7973 list event in sy
5a08: 7473 6d65 0000 0000 stem....
00005a10 <__fsym___cmd_list_event_name>:
5a10: 5f5f 6d63 5f64 696c 7473 655f 6576 746e __cmd_list_event
5a20: 0000 0000 ....
00005a24 <__fsym_list_event_desc>:
5a24: 696c 7473 6520 6576 746e 6920 206e 7973 list event in sy
5a34: 7473 6d65 0000 0000 stem....
00005a3c <__fsym_list_event_name>:
5a3c: 696c 7473 655f 6576 746e 0000 list_event..
00005a48 <__fsym___cmd_list_sem_desc>:
5a48: 696c 7473 7320 6d65 7061 6f68 6572 6920 list semaphore i
5a58: 206e 7973 7473 6d65 0000 0000 n system....
00005a64 <__fsym___cmd_list_sem_name>:
5a64: 5f5f 6d63 5f64 696c 7473 735f 6d65 0000 __cmd_list_sem..
00005a74 <__fsym_list_sem_desc>:
5a74: 696c 7473 7320 6d65 7061 6f68 656e 6920 list semaphone i
5a84: 206e 7973 7473 6d65 0000 0000 n system....
00005a90 <__fsym_list_sem_name>:
5a90: 696c 7473 735f 6d65 0000 0000 list_sem....
00005a9c <__fsym___cmd_list_thread_desc>:
5a9c: 696c 7473 7420 7268 6165 0064 list thread.
00005aa8 <__fsym___cmd_list_thread_name>:
5aa8: 5f5f 6d63 5f64 696c 7473 745f 7268 6165 __cmd_list_threa
5ab8: 0064 0000 d...
00005abc <__fsym_list_thread_desc>:
5abc: 696c 7473 7420 7268 6165 0064 list thread.
00005ac8 <__fsym_list_thread_name>:
5ac8: 696c 7473 745f 7268 6165 0064 list_thread.
00005ad4 <__fsym___cmd_clear_desc>:
5ad4: 6874 2065 6574 6d72 6e69 6c61 7320 7263 the terminal scr
5ae4: 6565 006e een.
00005ae8 <__fsym___cmd_clear_name>:
5ae8: 5f5f 6d63 5f64 6c63 6165 0072 __cmd_clear.
00005af4 <__fsym_clear_desc>:
5af4: 6874 2065 6574 6d72 6e69 6c61 7320 7263 the terminal scr
5b04: 6565 006e een.
00005b08 <__fsym_clear_name>:
5b08: 6c63 6165 0072 0000 clear...
00005b10 <__fsym___cmd_reboot_desc>:
5b10: 6572 6f62 746f 7420 6568 6220 616f 6472 reboot the board
5b20: 0000 0000 ....
00005b24 <__fsym___cmd_reboot_name>:
5b24: 5f5f 6d63 5f64 6572 6f62 746f 0000 0000 __cmd_reboot....
00005b34 <__fsym_reboot_desc>:
5b34: 6572 6f62 746f 7420 6568 6220 616f 6472 reboot the board
5b44: 0000 0000 ....
00005b48 <__fsym_reboot_name>:
5b48: 6572 6f62 746f 0000 002d 0000 7325 0000 reboot..-...%s..
5b58: 002f 0000 6843 7261 6361 6574 2072 6544 /...Character De
5b68: 6976 6563 0000 0000 6c42 636f 206b 6544 vice....Block De
5b78: 6976 6563 0000 0000 654e 7774 726f 206b vice....Network
5b88: 6e49 6574 6672 6361 0065 0000 544d 2044 Interface...MTD
5b98: 6544 6976 6563 0000 4143 204e 6544 6976 Device..CAN Devi
5ba8: 6563 0000 5452 0043 6f53 6e75 2064 6544 ce..RTC.Sound De
5bb8: 6976 6563 0000 0000 7247 7061 6968 2063 vice....Graphic
5bc8: 6544 6976 6563 0000 3249 2043 7542 0073 Device..I2C Bus.
5bd8: 5355 2042 6c53 7661 2065 6544 6976 6563 USB Slave Device
5be8: 0000 0000 5355 2042 6f48 7473 4220 7375 ....USB Host Bus
5bf8: 0000 0000 5053 2049 7542 0073 5053 2049 ....SPI Bus.SPI
5c08: 6544 6976 6563 0000 4453 4f49 4220 7375 Device..SDIO Bus
5c18: 0000 0000 4d50 5020 6573 6475 206f 6544 ....PM Pseudo De
5c28: 6976 6563 0000 0000 6950 6570 0000 0000 vice....Pipe....
5c38: 6f50 7472 6c61 4420 7665 6369 0065 0000 Portal Device...
5c48: 6954 656d 2072 6544 6976 6563 0000 0000 Timer Device....
5c58: 694d 6373 6c65 616c 656e 756f 2073 6544 Miscellaneous De
5c68: 6976 6563 0000 0000 6e55 6e6b 776f 006e vice....Unknown.
5c78: 6f54 206f 616d 796e 6120 6772 2073 2021 Too many args !
5c88: 6557 6f20 6c6e 2079 7355 3a65 000a 0000 We only Use:....
5c98: 7325 0020 7325 203a 6f63 6d6d 6e61 2064 %s .%s: command
5ca8: 6f6e 2074 6f66 6e75 2e64 000a 5452 542d not found...RT-T
5cb8: 7268 6165 2064 6873 6c65 206c 6f63 6d6d hread shell comm
5cc8: 6e61 7364 0a3a 0000 5f5f 6d63 5f64 0000 ands:...__cmd_..
5cd8: 2d25 3631 2073 202d 7325 000a %-16s - %s..
00005ce4 <__fsym___cmd_help_desc>:
5ce4: 5452 542d 7268 6165 2064 6873 6c65 206c RT-Thread shell
5cf4: 6568 706c 0000 0000 help....
00005cfc <__fsym___cmd_help_name>:
5cfc: 5f5f 6d63 5f64 6568 706c 0000 __cmd_help..
00005d08 <__fsym___cmd_free_desc>:
5d08: 6853 776f 7420 6568 6d20 6d65 726f 2079 Show the memory
5d18: 7375 6761 2065 6e69 7420 6568 7320 7379 usage in the sys
5d28: 6574 006d tem.
00005d2c <__fsym___cmd_free_name>:
5d2c: 5f5f 6d63 5f64 7266 6565 0000 __cmd_free..
00005d38 <__fsym___cmd_ps_desc>:
5d38: 694c 7473 7420 7268 6165 7364 6920 206e List threads in
5d48: 6874 2065 7973 7473 6d65 0000 the system..
00005d54 <__fsym___cmd_ps_name>:
5d54: 5f5f 6d63 5f64 7370 0000 0000 736d 2068 __cmd_ps....msh
5d64: 0000 0000 6966 736e 2068 0000 003e 0000 ....finsh ..>...
5d74: 6966 736e 3a68 6320 6e61 6e20 746f 6620 finsh: can not f
5d84: 6e69 2064 6564 6976 6563 203a 7325 000a ind device: %s..
5d94: 6f6e 6d20 6d65 726f 2079 6f66 2072 6873 no memory for sh
5da4: 6c65 0a6c 0000 0000 7374 6568 6c6c 0000 ell.....tshell..
5db4: 6873 7872 0000 0000 0008 0000 6325 0000 shrx........%c..
5dc4: 2508 2073 0820 0000 2008 0008 5b1b 4b32 .%s .... ...[2K
5dd4: 000d 0000 7325 7325 0000 0000 ....%s%s....
00005de0 <__fsym_pinRead_desc>:
5de0: 6572 6461 7320 6174 7574 2073 7266 6d6f read status from
5df0: 6820 7261 7764 7261 2065 6970 006e 0000 hardware pin...
00005e00 <__fsym_pinRead_name>:
5e00: 6970 526e 6165 0064 pinRead.
00005e08 <__fsym_pinWrite_desc>:
5e08: 7277 7469 2065 6176 756c 2065 6f74 6820 write value to h
5e18: 7261 7764 7261 2065 6970 006e ardware pin.
00005e24 <__fsym_pinWrite_name>:
5e24: 6970 576e 6972 6574 0000 0000 pinWrite....
00005e30 <__fsym_pinMode_desc>:
5e30: 6573 2074 6168 6472 6177 6572 7020 6e69 set hardware pin
5e40: 6d20 646f 0065 0000 mode...
00005e48 <__fsym_pinMode_name>:
5e48: 6970 4d6e 646f 0065 6175 7472 0031 0000 pinMode.uart1...
00005e58 <_ch32_pin_ops>:
5e58: 3420 0000 33e0 0000 3402 0000 349e 0000 4...3...4...4..
5e68: 3530 0000 358a 0000 05...5..
00005e70 <pin_irq_map>:
5e70: 0001 0000 0016 0000 0002 0000 0017 0000 ................
5e80: 0004 0000 0018 0000 0008 0000 0019 0000 ................
5e90: 0010 0000 001a 0000 0020 0000 0027 0000 ........ ...'...
5ea0: 0040 0000 0027 0000 0080 0000 0027 0000 @...'.......'...
5eb0: 0100 0000 0027 0000 0200 0000 0027 0000 ....'.......'...
5ec0: 0400 0000 0038 0000 0800 0000 0038 0000 ....8.......8...
5ed0: 1000 0000 0038 0000 2000 0000 0038 0000 ....8.... ..8...
5ee0: 4000 0000 0038 0000 8000 0000 0038 0000 .@..8.......8...
00005ef0 <pins>:
5ef0: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5f00: 0001 0000 3392 0000 1800 4001 0004 0000 .....3.....@....
5f10: 0002 0000 3392 0000 1800 4001 0008 0000 .....3.....@....
5f20: 0003 0000 3392 0000 1800 4001 0010 0000 .....3.....@....
5f30: 0004 0000 3392 0000 1800 4001 0020 0000 .....3.....@ ...
5f40: 0005 0000 3392 0000 1800 4001 0040 0000 .....3.....@@...
5f50: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5f60: 0007 0000 3382 0000 1000 4001 2000 0000 .....3.....@. ..
5f70: 0008 0000 3382 0000 1000 4001 4000 0000 .....3.....@.@..
5f80: 0009 0000 3382 0000 1000 4001 8000 0000 .....3.....@....
5f90: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5fa0: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5fb0: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5fc0: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5fd0: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5fe0: 000f 0000 3382 0000 1000 4001 0001 0000 .....3.....@....
5ff0: 0010 0000 3382 0000 1000 4001 0002 0000 .....3.....@....
6000: 0011 0000 3382 0000 1000 4001 0004 0000 .....3.....@....
6010: 0012 0000 3382 0000 1000 4001 0008 0000 .....3.....@....
6020: ffff ffff 0000 0000 0000 0000 0000 0000 ................
6030: ffff ffff 0000 0000 0000 0000 0000 0000 ................
6040: ffff ffff 0000 0000 0000 0000 0000 0000 ................
6050: ffff ffff 0000 0000 0000 0000 0000 0000 ................
6060: 0017 0000 3372 0000 0800 4001 0001 0000 ....r3.....@....
6070: 0018 0000 3372 0000 0800 4001 0002 0000 ....r3.....@....
6080: 0019 0000 3372 0000 0800 4001 0004 0000 ....r3.....@....
6090: 001a 0000 3372 0000 0800 4001 0008 0000 ....r3.....@....
60a0: ffff ffff 0000 0000 0000 0000 0000 0000 ................
60b0: ffff ffff 0000 0000 0000 0000 0000 0000 ................
60c0: 001d 0000 3372 0000 0800 4001 0010 0000 ....r3.....@....
60d0: 001e 0000 3372 0000 0800 4001 0020 0000 ....r3.....@ ...
60e0: 001f 0000 3372 0000 0800 4001 0040 0000 ....r3.....@@...
60f0: 0020 0000 3372 0000 0800 4001 0080 0000 ...r3.....@....
6100: 0021 0000 3382 0000 1000 4001 0010 0000 !....3.....@....
6110: 0022 0000 3382 0000 1000 4001 0020 0000 "....3.....@ ...
6120: 0023 0000 3362 0000 0c00 4001 0001 0000 #...b3.....@....
6130: 0024 0000 3362 0000 0c00 4001 0002 0000 $...b3.....@....
6140: 0025 0000 3362 0000 0c00 4001 0004 0000 %...b3.....@....
6150: 0026 0000 3392 0000 1800 4001 0080 0000 &....3.....@....
6160: 0027 0000 3392 0000 1800 4001 0100 0000 '....3.....@....
6170: 0028 0000 3392 0000 1800 4001 0200 0000 (....3.....@....
6180: 0029 0000 3392 0000 1800 4001 0400 0000 )....3.....@....
6190: 002a 0000 3392 0000 1800 4001 0800 0000 *....3.....@....
61a0: 002b 0000 3392 0000 1800 4001 1000 0000 +....3.....@....
61b0: 002c 0000 3392 0000 1800 4001 2000 0000 ,....3.....@. ..
61c0: 002d 0000 3392 0000 1800 4001 4000 0000 -....3.....@.@..
61d0: 002e 0000 3392 0000 1800 4001 8000 0000 .....3.....@....
61e0: 002f 0000 3362 0000 0c00 4001 0400 0000 /...b3.....@....
61f0: 0030 0000 3362 0000 0c00 4001 0800 0000 0...b3.....@....
6200: ffff ffff 0000 0000 0000 0000 0000 0000 ................
6210: ffff ffff 0000 0000 0000 0000 0000 0000 ................
6220: 0033 0000 3362 0000 0c00 4001 1000 0000 3...b3.....@....
6230: 0034 0000 3362 0000 0c00 4001 2000 0000 4...b3.....@. ..
6240: 0035 0000 3362 0000 0c00 4001 4000 0000 5...b3.....@.@..
6250: 0036 0000 3362 0000 0c00 4001 8000 0000 6...b3.....@....
6260: 0037 0000 3350 0000 1400 4001 0100 0000 7...P3.....@....
6270: 0038 0000 3350 0000 1400 4001 0200 0000 8...P3.....@....
6280: 0039 0000 3350 0000 1400 4001 0400 0000 9...P3.....@....
6290: 003a 0000 3350 0000 1400 4001 0800 0000 :...P3.....@....
62a0: 003b 0000 3350 0000 1400 4001 1000 0000 ;...P3.....@....
62b0: 003c 0000 3350 0000 1400 4001 2000 0000 <...P3.....@. ..
62c0: 003d 0000 3350 0000 1400 4001 4000 0000 =...P3.....@.@..
62d0: 003e 0000 3350 0000 1400 4001 8000 0000 >...P3.....@....
62e0: 003f 0000 3382 0000 1000 4001 0040 0000 ?....3.....@@...
62f0: 0040 0000 3382 0000 1000 4001 0080 0000 @....3.....@....
6300: 0041 0000 3382 0000 1000 4001 0100 0000 A....3.....@....
6310: 0042 0000 3382 0000 1000 4001 0200 0000 B....3.....@....
6320: 0043 0000 3372 0000 0800 4001 0100 0000 C...r3.....@....
6330: 0044 0000 3372 0000 0800 4001 0200 0000 D...r3.....@....
6340: 0045 0000 3372 0000 0800 4001 0400 0000 E...r3.....@....
6350: 0046 0000 3372 0000 0800 4001 0800 0000 F...r3.....@....
6360: 0047 0000 3372 0000 0800 4001 1000 0000 G...r3.....@....
6370: 0048 0000 3372 0000 0800 4001 2000 0000 H...r3.....@. ..
6380: ffff ffff 0000 0000 0000 0000 0000 0000 ................
6390: ffff ffff 0000 0000 0000 0000 0000 0000 ................
63a0: ffff ffff 0000 0000 0000 0000 0000 0000 ................
63b0: 004c 0000 3372 0000 0800 4001 4000 0000 L...r3.....@.@..
63c0: 004d 0000 3372 0000 0800 4001 8000 0000 M...r3.....@....
63d0: 004e 0000 3382 0000 1000 4001 0400 0000 N....3.....@....
63e0: 004f 0000 3382 0000 1000 4001 0800 0000 O....3.....@....
63f0: 0050 0000 3382 0000 1000 4001 1000 0000 P....3.....@....
6400: 0051 0000 3350 0000 1400 4001 0001 0000 Q...P3.....@....
6410: 0052 0000 3350 0000 1400 4001 0002 0000 R...P3.....@....
6420: 0053 0000 3350 0000 1400 4001 0004 0000 S...P3.....@....
6430: 0054 0000 3350 0000 1400 4001 0008 0000 T...P3.....@....
6440: 0055 0000 3350 0000 1400 4001 0010 0000 U...P3.....@....
6450: 0056 0000 3350 0000 1400 4001 0020 0000 V...P3.....@ ...
6460: 0057 0000 3350 0000 1400 4001 0040 0000 W...P3.....@@...
6470: 0058 0000 3350 0000 1400 4001 0080 0000 X...P3.....@....
6480: 0059 0000 3362 0000 0c00 4001 0008 0000 Y...b3.....@....
6490: 005a 0000 3362 0000 0c00 4001 0010 0000 Z...b3.....@....
64a0: 005b 0000 3362 0000 0c00 4001 0020 0000 [...b3.....@ ...
64b0: 005c 0000 3362 0000 0c00 4001 0040 0000 \...b3.....@@...
64c0: 005d 0000 3362 0000 0c00 4001 0080 0000 ]...b3.....@....
64d0: ffff ffff 0000 0000 0000 0000 0000 0000 ................
64e0: 005f 0000 3362 0000 0c00 4001 0100 0000 _...b3.....@....
64f0: 0060 0000 3362 0000 0c00 4001 0200 0000 `...b3.....@....
6500: 0061 0000 3392 0000 1800 4001 0001 0000 a....3.....@....
6510: 0062 0000 3392 0000 1800 4001 0002 0000 b....3.....@....
6520: ffff ffff 0000 0000 0000 0000 0000 0000 ................
6530: ffff ffff 0000 0000 0000 0000 0000 0000 ................
6540: 6970 006e pin.
00006544 <ch32_uart_ops>:
6544: 38ce 0000 3aa4 0000 3a82 0000 3a60 0000 .8...:...:..`:..
6554: 38ca 0000 6820 7261 6664 6c75 0d74 000a .8.. hardfult...
6564: 4e20 494d 4820 6e61 6c64 7265 0a0d 0000 NMI Handler....
6574: 0a0d 4d20 5543 203a 4843 3233 3356 3330 .. MCU: CH32V303
6584: 0a0d 0000 5320 7379 6c43 3a6b 2520 4864 .... SysClk: %dH
6594: 0d7a 000a 4320 6968 4970 3a44 2520 3830 z... ChipID: %08
65a4: 0d78 000a 7472 6d5f 5f71 6573 646e 4520 x...rt_mq_send E
65b4: 5252 000a 6972 676e 715f 6575 6575 6c5f RR..ring_queue_l
65c4: 6e65 7467 2068 203d 6425 0a20 0000 0000 ength = %d .....
65d4: 6552 7663 0000 0000 6572 7663 0000 0000 Recv....recv....
65e4: 200a 2032 000a 0000 6573 646e 0000 0000 . 2 ....send....
65f4: 200a 2031 000a 0000 6155 7472 6553 646e . 1 ....UartSend
6604: 6d5f 0071 _mq.
00006608 <__fsym_list_mem>:
6608: 534c 0000 532c 0000 1408 0000 LS..,S......
00006614 <__fsym_list>:
6614: 5848 0000 582c 0000 2502 0000 HX..,X...%..
00006620 <__fsym___cmd_list_device>:
6620: 5868 0000 5850 0000 23d4 0000 hX..PX...#..
0000662c <__fsym_list_device>:
662c: 5894 0000 587c 0000 23d4 0000 .X..|X...#..
00006638 <__fsym___cmd_list_timer>:
6638: 58b8 0000 58a0 0000 2468 0000 .X...X..h$..
00006644 <__fsym_list_timer>:
6644: 58e4 0000 58cc 0000 2468 0000 .X...X..h$..
00006650 <__fsym___cmd_list_msgqueue>:
6650: 5910 0000 58f0 0000 231e 0000 .Y...X...#..
0000665c <__fsym_list_msgqueue>:
665c: 5944 0000 5924 0000 231e 0000 DY..$Y...#..
00006668 <__fsym___cmd_list_mailbox>:
6668: 596c 0000 5954 0000 2260 0000 lY..TY..`"..
00006674 <__fsym_list_mailbox>:
6674: 5998 0000 5980 0000 2260 0000 .Y...Y..`"..
00006680 <__fsym___cmd_list_mutex>:
6680: 59c0 0000 59a8 0000 21de 0000 .Y...Y...!..
0000668c <__fsym_list_mutex>:
668c: 59ec 0000 59d4 0000 21de 0000 .Y...Y...!..
00006698 <__fsym___cmd_list_event>:
6698: 5a10 0000 59f8 0000 2132 0000 .Z...Y..2!..
000066a4 <__fsym_list_event>:
66a4: 5a3c 0000 5a24 0000 2132 0000 <Z..$Z..2!..
000066b0 <__fsym___cmd_list_sem>:
66b0: 5a64 0000 5a48 0000 207c 0000 dZ..HZ..| ..
000066bc <__fsym_list_sem>:
66bc: 5a90 0000 5a74 0000 207c 0000 .Z..tZ..| ..
000066c8 <__fsym___cmd_list_thread>:
66c8: 5aa8 0000 5a9c 0000 1f98 0000 .Z...Z......
000066d4 <__fsym_list_thread>:
66d4: 5ac8 0000 5abc 0000 1f98 0000 .Z...Z......
000066e0 <__fsym___cmd_clear>:
66e0: 5ae8 0000 5ad4 0000 1eee 0000 .Z...Z......
000066ec <__fsym_clear>:
66ec: 5b08 0000 5af4 0000 1eee 0000 .[...Z......
000066f8 <__fsym___cmd_reboot>:
66f8: 5b24 0000 5b10 0000 1edc 0000 $[...[......
00006704 <__fsym_reboot>:
6704: 5b48 0000 5b34 0000 1edc 0000 H[..4[......
00006710 <__fsym___cmd_help>:
6710: 5cfc 0000 5ce4 0000 254c 0000 .\...\..L%..
0000671c <__fsym___cmd_free>:
671c: 5d2c 0000 5d08 0000 2802 0000 ,]...]...(..
00006728 <__fsym___cmd_ps>:
6728: 5d54 0000 5d38 0000 27f4 0000 T]..8]...'..
00006734 <__fsym_pinRead>:
6734: 5e00 0000 5de0 0000 3152 0000 .^...]..R1..
00006740 <__fsym_pinWrite>:
6740: 5e24 0000 5e08 0000 3138 0000 $^...^..81..
0000674c <__fsym_pinMode>:
674c: 5e48 0000 5e30 0000 311e 0000 H^..0^...1..
00006758 <__rt_init_rti_start>:
6758: 04d0 0000 ....
0000675c <__rt_init_rti_board_start>:
675c: 04d8 0000 ....
00006760 <__rt_init_rt_hw_pin_init>:
6760: 33a4 0000 .3..
00006764 <__rt_init_rt_hw_usart_init>:
6764: 399c 0000 .9..
00006768 <__rt_init_rti_board_end>:
6768: 04dc 0000 ....
0000676c <__rt_init_finsh_system_init>:
676c: 2822 0000 "(..
00006770 <__rt_init_rti_end>:
6770: 04d4 0000 ....