gateway/obj/CH32V303_V0.1.lst

9030 lines
415 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 0x0000673c memsz 0x0000673c flags r-x
LOAD off 0x00008000 vaddr 0x20000000 paddr 0x0000673c align 2**12
filesz 0x00000250 memsz 0x00000b58 flags rw-
LOAD off 0x00009000 vaddr 0x20008000 paddr 0x20008000 align 2**12
filesz 0x00000000 memsz 0x00008000 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 0000657c 000001c0 000001c0 000011c0 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
3 .fini 00000000 0000673c 0000673c 00008250 2**0
CONTENTS, ALLOC, LOAD, CODE
4 .dalign 00000000 20000000 20000000 00008250 2**0
CONTENTS
5 .dlalign 00000000 0000673c 0000673c 00008250 2**0
CONTENTS
6 .data 00000250 20000000 0000673c 00008000 2**2
CONTENTS, ALLOC, LOAD, DATA
7 .bss 00000908 20000250 0000698c 00008250 2**2
ALLOC
8 .stack 00008000 20008000 20008000 00009000 2**0
ALLOC
9 .debug_info 0002df24 00000000 00000000 00008250 2**0
CONTENTS, READONLY, DEBUGGING
10 .debug_abbrev 000088df 00000000 00000000 00036174 2**0
CONTENTS, READONLY, DEBUGGING
11 .debug_loc 0000ab66 00000000 00000000 0003ea53 2**0
CONTENTS, READONLY, DEBUGGING
12 .debug_aranges 00001318 00000000 00000000 000495c0 2**3
CONTENTS, READONLY, DEBUGGING
13 .debug_ranges 000019a0 00000000 00000000 0004a8d8 2**3
CONTENTS, READONLY, DEBUGGING
14 .debug_line 0001b1f1 00000000 00000000 0004c278 2**0
CONTENTS, READONLY, DEBUGGING
15 .debug_str 000057b6 00000000 00000000 00067469 2**0
CONTENTS, READONLY, DEBUGGING
16 .comment 00000033 00000000 00000000 0006cc1f 2**0
CONTENTS, READONLY
17 .debug_frame 0000338c 00000000 00000000 0006cc54 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
0000673c l d .fini 00000000 .fini
20000000 l d .dalign 00000000 .dalign
0000673c l d .dlalign 00000000 .dlalign
20000000 l d .data 00000000 .data
20000250 l d .bss 00000000 .bss
20008000 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
2000031c l O .bss 00000080 idle
2000039c l O .bss 00000010 idle_hook_list
200003ac 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
200005ac l O .bss 00000080 rt_log_buf.2693
000051e8 l O .text 00000011 large_digits.2583
0000528c 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
2000062c 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
200006cc 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
20000750 l O .bss 00000048 _hw_pin
00000000 l df *ABS* 00000000 board.c
00000000 l df *ABS* 00000000 ring_queue.c
00000000 l df *ABS* 00000000 drv_gpio.c
0000331a l F .text 0000001c bit2bitno
00003336 l F .text 00000012 GPIOD_CLK_ENABLE
00003348 l F .text 00000010 GPIOB_CLK_ENABLE
00003358 l F .text 00000010 GPIOA_CLK_ENABLE
00003368 l F .text 00000010 GPIOC_CLK_ENABLE
00003378 l F .text 00000012 GPIOE_CLK_ENABLE
00005e14 l O .text 00000018 _ch32_pin_ops
00005e2c l O .text 00000080 pin_irq_map
00005eac l O .text 00000650 pins
00000000 l df *ABS* 00000000 drv_usart.c
000038b4 l F .text 000000ce ch32_configure
00003a3e l F .text 00000022 ch32_getc
00003a60 l F .text 00000022 ch32_putc
00003a82 l F .text 0000005c ch32_control
00006500 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
00003e88 l F .text 0000005e SL_MsgProcFunc_Read_Register
00003f24 l F .text 00000090 SL_MsgProcFunc_Registration_request
20000808 l O .bss 00000032 uart_buff
00000000 l df *ABS* 00000000 thread.c
0000418c l F .text 00000022 Recv_thread_entry
000041ae l F .text 00000042 Send_thread_entry
00000000 l df *ABS* 00000000 thread_communication.c
00000000 l df *ABS* 00000000 uart_dev.c
0000426c l F .text 00000022 uart_putchar
0000428e l F .text 000000a4 uart_init.constprop.0
20000858 l O .bss 00000080 J1RS485_in_buff
200008d8 l O .bss 00000080 J2RS485_in_buff
20000958 l O .bss 00000080 J3RS485_in_buff
200009d8 l O .bss 00000080 J4RS485_in_buff
20000a58 l O .bss 00000080 J50RS485_in_buff
20000ad8 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
00003740 g F .text 00000028 EXTI2_IRQHandler
00003df8 w .text 00000000 TIM8_TRG_COM_IRQHandler
000015e2 g F .text 00000024 rt_calloc
00003df8 w .text 00000000 TIM8_CC_IRQHandler
0000669c g O .text 0000000c __fsym_list_thread
00000578 g F .text 0000000a entry
00005004 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
00004c50 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
00003df8 w .text 00000000 UART8_IRQHandler
000025a8 g F .text 000001aa msh_exec
00004332 g F .text 000000dc uart_dev_init
00005954 g O .text 0000000d __fsym_list_mailbox_name
00001766 g F .text 00000056 rt_object_allocate
000009c0 g F .text 00000082 rt_mq_send
000066fc g O .text 0000000c __fsym_pinRead
000050e8 g O .text 00000100 __lowest_bit_bitmap
00004cc0 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
00003df8 w .text 00000000 TIM1_CC_IRQHandler
200002dc g O .bss 00000004 rt_interrupt_to_thread
00003b44 g F .text 00000020 HardFault_Handler
00005a4c g O .text 00000009 __fsym_list_sem_name
000032b8 g F .text 0000002c InRingQueue
000003c6 g F .text 0000000c .hidden __riscv_restore_3
00003df8 w .text 00000000 TIM6_IRQHandler
00003fb4 g F .text 00000036 FRT_MsgHandler
000006ee g F .text 00000006 rt_device_set_rx_indicate
00003288 g F .text 00000020 SysTick_Handler
00004568 g F .text 00000018 uart_dev_char_present
00001606 g F .text 000000aa rt_free
200002d8 g O .bss 00000004 rt_interrupt_from_thread
00004752 g F .text 0000004e NVIC_Init
0000143a g F .text 0000007c rt_system_heap_init
00003df8 w .text 00000000 PVD_IRQHandler
0000051c g F .text 0000000c main_thread_entry
00003df8 w .text 00000000 SDIO_IRQHandler
00003df8 w .text 00000000 TIM9_BRK_IRQHandler
00004aa8 g F .text 00000010 android_PowerCtrl_Open
00005b04 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
0000444e g F .text 00000010 J3RS485_tx_enabla
00003df8 w .text 00000000 DMA2_Channel8_IRQHandler
00003b24 g F .text 00000020 NMI_Handler
00004c74 g F .text 00000012 J9_PWR_Open
00003df8 w .text 00000000 CAN2_RX1_IRQHandler
00003768 g F .text 00000028 EXTI3_IRQHandler
0000037a g F .text 00000028 .hidden __riscv_save_11
000045b6 g F .text 0000000a DBGMCU_GetCHIPID
00002502 g F .text 0000004a list
00005308 g O .text 00000009 __fsym_list_mem_name
200002f0 g O .bss 00000004 _sysvar_table_begin
0000597c g O .text 00000011 __fsym___cmd_list_mutex_name
0000673c g .text 00000000 __rtmsymtab_start
00003df8 w .text 00000000 USBHS_IRQHandler
00004a3e g F .text 0000000a USART_GetFlagStatus
00003df8 w .text 00000000 DMA2_Channel9_IRQHandler
000006f4 g F .text 00000074 rt_thread_idle_excute
00001b5a g F .text 0000004a rt_thread_suspend
00003bc4 g F .text 0000000c app_star
000012bc g F .text 00000068 rt_kprintf
00003df8 w .text 00000000 TIM10_CC_IRQHandler
00000ba8 g F .text 00000006 rt_interrupt_get_nest
20000250 g .bss 00000000 _sbss
00008000 g *ABS* 00000000 __stack_size
000045a8 g F .text 0000000e ring_queue_length
00001a68 g F .text 00000022 rt_thread_timeout
00005aa4 g O .text 0000000c __fsym___cmd_clear_name
00002802 g F .text 0000000e cmd_free
00003df8 w .text 00000000 USBFS_IRQHandler
000059e0 g O .text 00000015 __fsym_list_event_desc
00006624 g O .text 0000000c __fsym_list_msgqueue
00006720 g .text 00000000 __rt_init_start
00002260 g F .text 000000be list_mailbox
000003c6 g F .text 0000000c .hidden __riscv_restore_2
000044b6 g F .text 000000b2 uart_dev_write
00005dec g O .text 00000016 __fsym_pinMode_desc
00006720 g .text 00000000 __fsymtab_end
00003138 g F .text 0000001a rt_pin_write
00005a90 g O .text 00000014 __fsym___cmd_clear_desc
000006b2 g F .text 0000001e rt_device_read
200002e4 g O .bss 00000004 shell
00004f34 g F .text 000000b2 memcpy
0000440e g F .text 00000010 J1RS485_tx_enabla
00002822 g F .text 00000098 finsh_system_init
000004fe g F .text 0000001e rt_components_init
000036f0 g F .text 00000028 EXTI0_IRQHandler
00003df8 w .text 00000000 I2C2_EV_IRQHandler
00003df8 w .text 00000000 TIM10_TRG_COM_IRQHandler
00001c7c g F .text 0000003a rt_timer_init
0000673c g .text 00000000 __rt_init_end
00000784 g F .text 00000036 rt_thread_idle_init
00004e82 g F .text 0000003a USART_CONNET_J7
20000248 g O .data 00000004 SystemCoreClock
00004492 g F .text 00000012 J50RS485_tx_enabla
00000926 g F .text 0000001a rt_mq_delete
00004e48 g F .text 0000003a USART_CONNET_J6
00006654 g O .text 0000000c __fsym_list_mutex
00004a36 g F .text 00000008 USART_ReceiveData
200002ec g O .bss 00000004 _syscall_table_end
200007f0 g O .bss 00000018 uart1
000017f6 g F .text 0000002e rt_system_scheduler_init
00004248 g F .text 00000024 Send_mq_Init
00000582 g F .text 0000004a rt_device_find
000001c0 g .text 00000000 rt_hw_context_switch_to
00006728 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
00004916 g F .text 0000001e RCC_APB2PeriphClockCmd
00000372 g F .text 00000030 .hidden __riscv_save_12
00003df8 w .text 00000000 CAN2_SCE_IRQHandler
00003df8 w .text 00000000 ADC1_2_IRQHandler
00006738 g O .text 00000004 __rt_init_rti_end
00004c1a g F .text 00000012 J6_PWR_Close
00004652 g F .text 000000c0 GPIO_Init
00005a20 g O .text 0000000f __fsym___cmd_list_sem_name
00003df8 w .text 00000000 Break_Point_Handler
00004b02 g F .text 00000026 J2_485_Init
00006618 g O .text 0000000c __fsym___cmd_list_msgqueue
000057e8 g O .text 0000001a __fsym_list_desc
000003b2 g F .text 00000020 .hidden __riscv_restore_11
20000314 g O .bss 00000004 NVIC_Priority_Group
00003df8 w .text 00000000 SPI1_IRQHandler
00002ffe g F .text 0000005a rt_hw_serial_register
000049e2 g F .text 00000016 USART_Cmd
00005804 g O .text 00000005 __fsym_list_name
00001ea8 g F .text 00000022 rt_hw_context_switch_interrupt
00005ae0 g O .text 0000000d __fsym___cmd_reboot_name
00003df8 w .text 00000000 TAMPER_IRQHandler
000003a2 g F .text 0000000c .hidden __riscv_save_1
000003c6 g F .text 0000000c .hidden __riscv_restore_0
00005a58 g O .text 0000000c __fsym___cmd_list_thread_desc
00005ac4 g O .text 00000006 __fsym_clear_name
00001ac2 g F .text 00000046 rt_thread_create
0000441e g F .text 00000010 J1RS485_tx_disenabla
00000388 g F .text 0000001a .hidden __riscv_save_7
0000673c g .text 00000000 __rtmsymtab_end
000058a0 g O .text 0000000b __fsym_list_timer_name
00004a84 g F .text 00000014 USART_ClearITPendingBit
00003df8 w .text 00000000 CAN2_RX0_IRQHandler
00001b08 g F .text 00000052 rt_thread_yield
00003df8 w .text 00000000 TIM8_UP_IRQHandler
00000528 g F .text 00000028 rt_application_init
00004934 g F .text 0000001e RCC_APB1PeriphClockCmd
00003df8 w .text 00000000 Ecall_M_Mode_Handler
000014b6 g F .text 0000012c rt_malloc
20008000 g .stack 00000000 _heap_end
000008e6 g F .text 00000040 rt_sem_release
00006684 g O .text 0000000c __fsym_list_sem
000003bc g F .text 00000016 .hidden __riscv_restore_5
00000940 g F .text 00000080 rt_mq_create
00003df8 w .text 00000000 DMA2_Channel2_IRQHandler
000065dc g O .text 0000000c __fsym_list
00003df8 w .text 00000000 DMA1_Channel4_IRQHandler
00001e78 g F .text 00000010 sw_setpend
20000080 g O .data 000000c0 pin_irq_hdr_tab
00005a64 g O .text 00000012 __fsym___cmd_list_thread_name
00005e04 g O .text 00000008 __fsym_pinMode_name
000032a8 g F .text 00000010 InitRingQueue
000066c0 g O .text 0000000c __fsym___cmd_reboot
00004480 g F .text 00000012 J4RS485_tx_disenabla
0000593c g O .text 00000018 __fsym_list_mailbox_desc
00001cb6 g F .text 0000001e rt_timer_detach
0000330a g F .text 00000010 RingQueueLength
00003ee6 g F .text 0000003e CheckFunc
00003df8 w .text 00000000 TIM9_UP_IRQHandler
000025a4 g F .text 00000004 msh_is_used
000003bc g F .text 00000016 .hidden __riscv_restore_6
00004b28 g F .text 00000012 J3_PWR_Open
00004b9c g F .text 00000048 USART3_IRQHandler
00004648 g F .text 0000000a EXTI_ClearITPendingBit
000004e0 g F .text 0000001e rt_components_board_init
00003df8 w .text 00000000 RTC_IRQHandler
00005af0 g O .text 00000011 __fsym_reboot_desc
00001324 g F .text 0000003e rt_show_version
20000b58 g .bss 00000000 _ebss
00004a48 g F .text 0000003c USART_GetITStatus
00006720 g O .text 00000004 __rt_init_rti_start
00003df8 w .text 00000000 DMA1_Channel7_IRQHandler
20000318 g O .bss 00000001 USART3_Rbuffer
00003218 g F .text 00000070 rt_hw_board_init
000031c4 g F .text 00000054 rt_device_pin_register
000066a8 g O .text 0000000c __fsym___cmd_clear
00003df8 w .text 00000000 CAN1_RX1_IRQHandler
00001bf2 g F .text 0000004c rt_thread_resume
00004c08 g F .text 00000012 J6_PWR_Open
00000550 g F .text 00000028 rtthread_startup
00003516 g F .text 0000005a ch32_pin_dettach_irq
00003df8 w .text 00000000 DVP_IRQHandler
00003df8 w .text 00000000 UART5_IRQHandler
00004cd2 g F .text 0000003a USART_CONNET_J0
000032e4 g F .text 00000026 OutRingQueue
00004bf6 g F .text 00000012 J5_PWR_Close
00004aca g F .text 00000026 J1_485_Init
20000308 g O .bss 00000004 g_J4RS485_UART8_handle
00005900 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
2000064c g O .bss 00000080 rt_thread_priority_table
20000798 g O .bss 00000058 serial1
00003df8 w .text 00000000 TIM4_IRQHandler
00005d9c 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
0000471c g F .text 0000000a GPIO_WriteBit
00004fe6 g F .text 0000001e strcat
00001988 g F .text 00000052 rt_thread_exit
00003df8 w .text 00000000 DMA2_Channel1_IRQHandler
000059b4 g O .text 00000015 __fsym___cmd_list_event_desc
000005cc g F .text 00000034 rt_device_register
00000e82 g F .text 00000048 rt_memmove
00004be4 g F .text 00000012 J5_PWR_Open
00000388 g F .text 0000001a .hidden __riscv_save_4
000036cc g F .text 00000024 HAL_GPIO_EXTI_Callback
00001edc g F .text 00000012 reboot
00004e0e g F .text 0000003a USART_CONNET_J5
00003df8 w .text 00000000 I2C1_EV_IRQHandler
2000083c g O .bss 0000001c MqUartSend_pack
00006630 g O .text 0000000c __fsym___cmd_list_mailbox
000047a0 g F .text 00000176 RCC_GetClocksFreq
00005de0 g O .text 00000009 __fsym_pinWrite_name
00004b60 g F .text 00000012 J4_PWR_Open
00003df8 w .text 00000000 DMA1_Channel6_IRQHandler
0000231e g F .text 000000b6 list_msgqueue
00003df8 w .text 00000000 UART4_IRQHandler
00003df8 w .text 00000000 DMA2_Channel4_IRQHandler
00004952 g F .text 00000090 USART_Init
00003df8 w .text 00000000 TIM3_IRQHandler
00003df8 w .text 00000000 RCC_IRQHandler
00000f20 g F .text 00000012 rt_strlen
00003bb4 g F .text 00000010 software_init
000003a2 g F .text 0000000c .hidden __riscv_save_3
00003df8 w .text 00000000 TIM1_TRG_COM_IRQHandler
000066cc g O .text 0000000c __fsym_reboot
000066d8 g O .text 0000000c __fsym___cmd_help
00003df8 w .text 00000000 DMA1_Channel1_IRQHandler
2000029c g O .bss 00000001 rt_current_priority
00003406 g F .text 0000007e ch32_pin_mode
00006600 g O .text 0000000c __fsym___cmd_list_timer
00000000 g .init 00000000 _start
00005910 g O .text 00000018 __fsym___cmd_list_mailbox_desc
00003df8 w .text 00000000 DMA2_Channel7_IRQHandler
20000140 g O .data 00000010 AHBPrescTable
0000446e g F .text 00000012 J4RS485_tx_enabla
0000421c g F .text 0000002c Send_thread_Init
00002132 g F .text 000000ac list_event
00003830 g F .text 00000080 EXTI15_10_IRQHandler
00005026 g F .text 00000028 strncmp
0000311e g F .text 0000001a rt_pin_mode
000049f8 g F .text 00000036 USART_ITConfig
00006714 g O .text 0000000c __fsym_pinMode
0000580c g O .text 00000016 __fsym___cmd_list_device_desc
000045c0 g F .text 0000006a EXTI_Init
000065f4 g O .text 0000000c __fsym_list_device
00006648 g O .text 0000000c __fsym___cmd_list_mutex
00003152 g F .text 00000018 rt_pin_read
00005cb8 g O .text 0000000b __fsym___cmd_help_name
00000480 g F .text 00000028 rt_tick_increase
00001408 g F .text 00000032 list_mem
00005cf4 g O .text 0000001b __fsym___cmd_ps_desc
00003df8 w .text 00000000 TIM7_IRQHandler
00005990 g O .text 00000015 __fsym_list_mutex_desc
00001d54 g F .text 00000032 rt_timer_stop
00003df8 w .text 00000000 CAN2_TX_IRQHandler
00005cc4 g O .text 00000024 __fsym___cmd_free_desc
20000000 g .dalign 00000000 _data_vma
00000f32 g F .text 00000354 rt_vsnprintf
00006690 g O .text 0000000c __fsym___cmd_list_thread
00003df8 w .text 00000000 TIM5_IRQHandler
00004f10 g F .text 00000024 memcmp
000033c6 g F .text 00000022 ch32_pin_write
000037b8 g F .text 00000078 EXTI9_5_IRQHandler
00005ab0 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
00004726 g F .text 0000002c GPIO_EXTILineConfig
0000037a g F .text 00000028 .hidden __riscv_save_10
000038b0 g F .text 00000004 ch32dma_transmit
2000030c g O .bss 00000004 g_J50RS485_USART3_handle
000028ba g F .text 0000003c finsh_get_prompt
00003df8 w .text 00000000 ETH_WKUP_IRQHandler
20000178 g O .data 000000c0 uart_devices
200002f8 g O .bss 00000004 mqSend
000003bc g F .text 00000016 .hidden __riscv_restore_4
000003b2 g F .text 00000020 .hidden __riscv_restore_8
0000442e g F .text 00000010 J2RS485_tx_enabla
00001362 g F .text 0000004e __rt_ffs
00000388 g F .text 0000001a .hidden __riscv_save_6
0000462a g F .text 0000001e EXTI_GetITStatus
00003df8 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
00004d0c g F .text 00000102 J5_0_485_Init
000003bc g F .text 00000016 .hidden __riscv_restore_7
00003b64 g F .text 00000040 main
00005ca0 g O .text 00000015 __fsym___cmd_help_desc
00003df8 w .text 00000000 TIM10_BRK_IRQHandler
20000300 g O .bss 00000004 g_J2RS485_UART7_handle
00000b7a g F .text 0000002e rt_interrupt_leave
00003df8 w .text 00000000 TIM9_CC_IRQHandler
00005874 g O .text 00000011 __fsym___cmd_list_timer_name
00003df8 w .text 00000000 DMA2_Channel5_IRQHandler
200002fc g O .bss 00000004 g_J1RS485_UART6_handle
00001e40 g F .text 00000002 rt_system_timer_thread_init
00004ab8 g F .text 00000012 J1_PWR_Open
00001a8a g F .text 00000032 rt_thread_init
0000585c g O .text 00000015 __fsym___cmd_list_timer_desc
00006720 g .text 00000000 __vsymtab_start
00003df8 w .text 00000000 DMA1_Channel5_IRQHandler
00003790 g F .text 00000028 EXTI4_IRQHandler
00005a04 g O .text 00000019 __fsym___cmd_list_sem_desc
2000025c g O .bss 00000001 rt_interrupt_nest
00004ebc g F .text 0000003a USART_CONNET_J8
00003df8 w .text 00000000 USB_LP_CAN1_RX0_IRQHandler
00005acc g O .text 00000011 __fsym___cmd_reboot_desc
00005964 g O .text 00000015 __fsym___cmd_list_mutex_desc
000012ba w F .text 00000002 rt_hw_console_output
00004ef6 g F .text 0000001a USARTx_SendByte_str
20000294 g O .bss 00000004 rt_object_take_hook
0000443e g F .text 00000010 J2RS485_tx_disenabla
00002468 g F .text 0000009a list_timer
000058ac g O .text 0000001d __fsym___cmd_list_msgqueue_desc
00003bd0 g F .text 000000fa SystemInit
00003df8 w .text 00000000 RNG_IRQHandler
00005ce8 g O .text 0000000b __fsym___cmd_free_name
00001e96 g F .text 0000000c rt_hw_interrupt_disable
20000304 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
00003fea g F .text 00000184 read_and_process_uart_data
00003df8 w .text 00000000 USB_HP_CAN1_TX_IRQHandler
00000000 g .init 00000000 _sinit
000059a8 g O .text 0000000b __fsym_list_mutex_name
00003df8 w .text 00000000 DMA1_Channel3_IRQHandler
200002b4 g O .bss 00000004 rt_thread_ready_priority_group
00003df8 w .text 00000000 ETH_IRQHandler
000066e4 g O .text 0000000c __fsym___cmd_free
00003df8 w .text 00000000 TIM1_UP_IRQHandler
00005928 g O .text 00000013 __fsym___cmd_list_mailbox_name
00005824 g O .text 00000012 __fsym___cmd_list_device_name
200002ac g O .bss 00000008 rt_thread_defunct
00006730 g O .text 00000004 __rt_init_rti_board_end
00003df8 w .text 00000000 WWDG_IRQHandler
00006708 g O .text 0000000c __fsym_pinWrite
0000083e g F .text 00000028 rt_sem_init
00000236 g .text 00000000 rt_hw_context_switch_exit
00003df8 w .text 00000000 USBHSWakeup_IRQHandler
00000d48 g F .text 00000088 rt_memset
00003df8 w .text 00000000 DMA2_Channel11_IRQHandler
000023d4 g F .text 00000094 list_device
000044a4 g F .text 00000012 J50RS485_tx_disenabla
000041f0 g F .text 0000002c Recv_thread_Init
00003df8 w .text 00000000 Ecall_U_Mode_Handler
0000663c g O .text 0000000c __fsym_list_mailbox
20000150 g O .data 00000010 g_MsgTbl
00000ef6 g F .text 0000002a rt_strncmp
0000416e g F .text 0000001e send_data
00006660 g O .text 0000000c __fsym___cmd_list_event
00003df8 w .text 00000000 DMA2_Channel6_IRQHandler
20000310 g O .bss 00000004 g_LORA_UART5_handle
00006720 g .text 00000000 __vsymtab_end
00005dbc g O .text 00000008 __fsym_pinRead_name
00005d10 g O .text 00000009 __fsym___cmd_ps_name
0000660c g O .text 0000000c __fsym_list_timer
00003df8 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
0000672c 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
00003df8 w .text 00000000 TIM1_BRK_IRQHandler
00001902 g F .text 00000042 rt_schedule_remove_thread
00004a2e g F .text 00000008 USART_SendData
00000b4c g F .text 0000002e rt_interrupt_enter
00003df8 w .text 00000000 DMA2_Channel10_IRQHandler
00003718 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
0000445e g F .text 00000010 J3RS485_tx_disenabla
000065d0 g O .text 0000000c __fsym_list_mem
20000250 g .data 00000000 _edata
00003ba4 g F .text 00000010 hareware_init
000065e8 g O .text 0000000c __fsym___cmd_list_device
20000b58 g .bss 00000000 _end
000058cc g O .text 00000014 __fsym___cmd_list_msgqueue_name
0000195a g F .text 0000002e rt_exit_critical
00004af0 g F .text 00000012 J2_PWR_Open
00004b3a g F .text 00000026 J3_485_Init
00003df8 w .text 00000000 RTCAlarm_IRQHandler
000021de g F .text 00000082 list_mutex
000027f4 g F .text 0000000e cmd_ps
00004c62 g F .text 00000012 J8_PWR_Close
0000673c g .dlalign 00000000 _data_lma
00002924 g F .text 0000007e finsh_set_device
00003df8 w .text 00000000 TIM10_UP_IRQHandler
00003df8 w .text 00000000 TIM9_TRG_COM_IRQHandler
00003df8 w .text 00000000 UART7_IRQHandler
000033a6 g F .text 00000020 get_pin
00003df8 w .text 00000000 USART2_IRQHandler
00003df8 w .text 00000000 UART6_IRQHandler
00004c3e g F .text 00000012 J7_PWR_Close
0000067a g F .text 00000038 rt_device_close
00001abc g F .text 00000006 rt_thread_self
00006734 g O .text 00000004 __rt_init_finsh_system_init
00005838 g O .text 00000016 __fsym_list_device_desc
00003cca g F .text 0000012e SystemCoreClockUpdate
00005a78 g O .text 0000000c __fsym_list_thread_desc
00003df8 w .text 00000000 I2C2_ER_IRQHandler
00003df8 w .text 00000000 DMA1_Channel2_IRQHandler
000017bc g F .text 00000032 rt_object_delete
00003982 g F .text 000000bc rt_hw_usart_init
0000047a g F .text 00000006 rt_tick_get
000003ae g F .text 00000024 .hidden __riscv_restore_12
00003df8 w .text 00000000 TIM8_BRK_IRQHandler
00004c86 g F .text 0000003a USART_CONNET_J9
000059f8 g O .text 0000000b __fsym_list_event_name
00003dfa w .text 00000000 handle_reset
00003df8 w .text 00000000 CAN1_SCE_IRQHandler
0000666c g O .text 0000000c __fsym_list_event
20000298 g O .bss 00000004 rt_object_trytake_hook
00003df8 w .text 00000000 FLASH_IRQHandler
000003a2 g F .text 0000000c .hidden __riscv_save_0
000059cc g O .text 00000011 __fsym___cmd_list_event_name
000052e8 g O .text 0000001e __fsym_list_mem_desc
00004c2c g F .text 00000012 J7_PWR_Open
00000866 g F .text 00000080 rt_sem_take
00003ade g F .text 00000046 USART1_IRQHandler
00006678 g O .text 0000000c __fsym___cmd_list_sem
00005014 g F .text 00000012 strlen
00003df8 w .text 00000000 SPI3_IRQHandler
00005888 g O .text 00000015 __fsym_list_timer_desc
0000128c g F .text 0000002e rt_console_set_device
00003484 g F .text 00000092 ch32_pin_attach_irq
00003df8 w .text 00000000 I2C1_ER_IRQHandler
00006724 g O .text 00000004 __rt_init_rti_board_start
000006d0 g F .text 0000001e rt_device_write
00005a84 g O .text 0000000c __fsym_list_thread_name
000065d0 g .text 00000000 __fsymtab_start
000003c6 g F .text 0000000c .hidden __riscv_restore_1
0000338a g F .text 0000001c rt_hw_pin_init
000066b4 g O .text 0000000c __fsym_clear
00001850 g F .text 0000006a rt_schedule
000016da g F .text 0000005e rt_object_init
000033e8 g F .text 0000001e ch32_pin_read
000066f0 g O .text 0000000c __fsym___cmd_ps
00004712 g F .text 0000000a GPIO_ReadInputDataBit
00005dc4 g O .text 0000001c __fsym_pinWrite_desc
00001cd4 g F .text 00000080 rt_timer_start
00004b72 g F .text 0000002a J4_485_Init
00000dd0 g F .text 000000b2 rt_memcpy
00004a98 g F .text 00000010 android_PowerCtrl_Init
0000254c g F .text 00000058 msh_help
00003058 g F .text 000000aa rt_hw_serial_isr
00003df8 w .text 00000000 USBWakeUp_IRQHandler
000001dc g .text 00000000 rt_hw_context_switch
00004580 g F .text 00000028 uart_dev_in_char
00003df8 w .text 00000000 DMA2_Channel3_IRQHandler
00003570 g F .text 0000015c ch32_pin_irq_enable
00005850 g O .text 0000000c __fsym_list_device_name
000058e0 g O .text 0000001d __fsym_list_msgqueue_desc
00005a30 g O .text 00000019 __fsym_list_sem_desc
Disassembly of section .init:
00000000 <_sinit>:
0: 5fb0306f j 3dfa <handle_reset>
Disassembly of section .vector:
00000004 <_vector_base>:
...
c: 3b24 lbu s1,19(a4)
e: 0000 unimp
10: 3b44 lbu s1,21(a4)
12: 0000 unimp
14: 0000 unimp
16: 0000 unimp
18: 3df8 lbu a4,31(a1)
...
22: 0000 unimp
24: 3df8 lbu a4,31(a1)
26: 0000 unimp
28: 3df8 lbu a4,31(a1)
...
32: 0000 unimp
34: 3288 lbu a0,1(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: 3df8 lbu a4,31(a1)
46: 0000 unimp
48: 3df8 lbu a4,31(a1)
4a: 0000 unimp
4c: 3df8 lbu a4,31(a1)
4e: 0000 unimp
50: 3df8 lbu a4,31(a1)
52: 0000 unimp
54: 3df8 lbu a4,31(a1)
56: 0000 unimp
58: 3df8 lbu a4,31(a1)
5a: 0000 unimp
5c: 36f0 lbu a2,15(a3)
5e: 0000 unimp
60: 3718 lbu a4,9(a4)
62: 0000 unimp
64: 3740 lbu s0,13(a4)
66: 0000 unimp
68: 3768 lbu a0,15(a4)
6a: 0000 unimp
6c: 3790 lbu a2,9(a5)
6e: 0000 unimp
70: 3df8 lbu a4,31(a1)
72: 0000 unimp
74: 3df8 lbu a4,31(a1)
76: 0000 unimp
78: 3df8 lbu a4,31(a1)
7a: 0000 unimp
7c: 3df8 lbu a4,31(a1)
7e: 0000 unimp
80: 3df8 lbu a4,31(a1)
82: 0000 unimp
84: 3df8 lbu a4,31(a1)
86: 0000 unimp
88: 3df8 lbu a4,31(a1)
8a: 0000 unimp
8c: 3df8 lbu a4,31(a1)
8e: 0000 unimp
90: 3df8 lbu a4,31(a1)
92: 0000 unimp
94: 3df8 lbu a4,31(a1)
96: 0000 unimp
98: 3df8 lbu a4,31(a1)
9a: 0000 unimp
9c: 3df8 lbu a4,31(a1)
9e: 0000 unimp
a0: 37b8 lbu a4,11(a5)
a2: 0000 unimp
a4: 3df8 lbu a4,31(a1)
a6: 0000 unimp
a8: 3df8 lbu a4,31(a1)
aa: 0000 unimp
ac: 3df8 lbu a4,31(a1)
ae: 0000 unimp
b0: 3df8 lbu a4,31(a1)
b2: 0000 unimp
b4: 3df8 lbu a4,31(a1)
b6: 0000 unimp
b8: 3df8 lbu a4,31(a1)
ba: 0000 unimp
bc: 3df8 lbu a4,31(a1)
be: 0000 unimp
c0: 3df8 lbu a4,31(a1)
c2: 0000 unimp
c4: 3df8 lbu a4,31(a1)
c6: 0000 unimp
c8: 3df8 lbu a4,31(a1)
ca: 0000 unimp
cc: 3df8 lbu a4,31(a1)
ce: 0000 unimp
d0: 3df8 lbu a4,31(a1)
d2: 0000 unimp
d4: 3df8 lbu a4,31(a1)
d6: 0000 unimp
d8: 3ade lhu a5,52(a3)
da: 0000 unimp
dc: 3df8 lbu a4,31(a1)
de: 0000 unimp
e0: 4b9c lw a5,16(a5)
e2: 0000 unimp
e4: 3830 lbu a2,19(s0)
e6: 0000 unimp
e8: 3df8 lbu a4,31(a1)
ea: 0000 unimp
ec: 3df8 lbu a4,31(a1)
ee: 0000 unimp
f0: 3df8 lbu a4,31(a1)
f2: 0000 unimp
f4: 3df8 lbu a4,31(a1)
f6: 0000 unimp
f8: 3df8 lbu a4,31(a1)
fa: 0000 unimp
fc: 3df8 lbu a4,31(a1)
fe: 0000 unimp
100: 3df8 lbu a4,31(a1)
102: 0000 unimp
104: 0000 unimp
106: 0000 unimp
108: 3df8 lbu a4,31(a1)
10a: 0000 unimp
10c: 3df8 lbu a4,31(a1)
10e: 0000 unimp
110: 3df8 lbu a4,31(a1)
112: 0000 unimp
114: 3df8 lbu a4,31(a1)
116: 0000 unimp
118: 3df8 lbu a4,31(a1)
11a: 0000 unimp
11c: 3df8 lbu a4,31(a1)
11e: 0000 unimp
120: 3df8 lbu a4,31(a1)
122: 0000 unimp
124: 3df8 lbu a4,31(a1)
126: 0000 unimp
128: 3df8 lbu a4,31(a1)
12a: 0000 unimp
12c: 3df8 lbu a4,31(a1)
12e: 0000 unimp
130: 3df8 lbu a4,31(a1)
132: 0000 unimp
134: 3df8 lbu a4,31(a1)
136: 0000 unimp
138: 3df8 lbu a4,31(a1)
13a: 0000 unimp
13c: 3df8 lbu a4,31(a1)
13e: 0000 unimp
140: 3df8 lbu a4,31(a1)
142: 0000 unimp
144: 3df8 lbu a4,31(a1)
146: 0000 unimp
148: 3df8 lbu a4,31(a1)
14a: 0000 unimp
14c: 3df8 lbu a4,31(a1)
14e: 0000 unimp
150: 3df8 lbu a4,31(a1)
152: 0000 unimp
154: 3df8 lbu a4,31(a1)
156: 0000 unimp
158: 3df8 lbu a4,31(a1)
15a: 0000 unimp
15c: 3df8 lbu a4,31(a1)
15e: 0000 unimp
160: 3df8 lbu a4,31(a1)
162: 0000 unimp
164: 3df8 lbu a4,31(a1)
166: 0000 unimp
168: 3df8 lbu a4,31(a1)
16a: 0000 unimp
16c: 3df8 lbu a4,31(a1)
16e: 0000 unimp
170: 3df8 lbu a4,31(a1)
172: 0000 unimp
174: 3df8 lbu a4,31(a1)
176: 0000 unimp
178: 3df8 lbu a4,31(a1)
17a: 0000 unimp
17c: 3df8 lbu a4,31(a1)
17e: 0000 unimp
180: 3df8 lbu a4,31(a1)
182: 0000 unimp
184: 3df8 lbu a4,31(a1)
186: 0000 unimp
188: 3df8 lbu a4,31(a1)
18a: 0000 unimp
18c: 3df8 lbu a4,31(a1)
18e: 0000 unimp
190: 3df8 lbu a4,31(a1)
192: 0000 unimp
194: 3df8 lbu a4,31(a1)
196: 0000 unimp
198: 3df8 lbu a4,31(a1)
19a: 0000 unimp
19c: 3df8 lbu a4,31(a1)
19e: 0000 unimp
1a0: 3df8 lbu a4,31(a1)
...
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+0x10c4>
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+0x10c4>
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: 72440413 addi s0,s0,1828 # 6724 <__rt_init_rti_board_start>
4ec: 73048493 addi s1,s1,1840 # 6730 <__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: 73040413 addi s0,s0,1840 # 6730 <__rt_init_rti_board_end>
50a: 73848493 addi s1,s1,1848 # 6738 <__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: 642030ef jal ra,3b64 <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: 0a050513 addi a0,a0,160 # 50a0 <strncmp+0x7a>
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: 4c1020ef jal ra,3218 <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: 0a850513 addi a0,a0,168 # 50a8 <strncmp+0x82>
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: 95418413 addi s0,gp,-1708 # 2000039c <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: 96418713 addi a4,gp,-1692 # 200003ac <rt_thread_stack>
79e: 4681 li a3,0
7a0: 76860613 addi a2,a2,1896 # 768 <rt_thread_idle_entry>
7a4: 0e058593 addi a1,a1,224 # 50e0 <strncmp+0xba>
7a8: 8d418513 addi a0,gp,-1836 # 2000031c <idle>
7ac: 2de010ef jal ra,1a8a <rt_thread_init>
7b0: 8d418513 addi a0,gp,-1836 # 2000031c <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 <rt_ipc_list_suspend+0x24>
7fc: 4785 li a5,1
7fe: 00f60d63 beq a2,a5,818 <rt_ipc_list_suspend+0x34>
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 <rt_ipc_list_suspend+0x1e>
818: 401c lw a5,0(s0)
81a: 00878863 beq a5,s0,82a <rt_ipc_list_suspend+0x46>
81e: 0355c683 lbu a3,53(a1)
822: 0217c703 lbu a4,33(a5)
826: 00e6fa63 bgeu a3,a4,83a <rt_ipc_list_suspend+0x56>
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 <rt_ipc_list_suspend+0x1e>
83a: 439c lw a5,0(a5)
83c: bff9 j 81a <rt_ipc_list_suspend+0x36>
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: 28c88893 addi a7,a7,652 # 528c <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: 1e888893 addi a7,a7,488 # 51e8 <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: 284a0a13 addi s4,s4,644 # 5284 <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: b6418513 addi a0,gp,-1180 # 200005ac <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: b6418513 addi a0,gp,-1180 # 200005ac <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: b6418613 addi a2,gp,-1180 # 200005ac <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: 1fc50513 addi a0,a0,508 # 51fc <large_digits.2583+0x14>
1330: 3771 jal 12bc <rt_kprintf>
1332: 00005537 lui a0,0x5
1336: 20850513 addi a0,a0,520 # 5208 <large_digits.2583+0x20>
133a: 3749 jal 12bc <rt_kprintf>
133c: 00005737 lui a4,0x5
1340: 00005537 lui a0,0x5
1344: 22c70713 addi a4,a4,556 # 522c <large_digits.2583+0x44>
1348: 468d li a3,3
134a: 4605 li a2,1
134c: 458d li a1,3
134e: 23850513 addi a0,a0,568 # 5238 <large_digits.2583+0x50>
1352: 37ad jal 12bc <rt_kprintf>
1354: 00005537 lui a0,0x5
1358: 25850513 addi a0,a0,600 # 5258 <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: 0e868693 addi a3,a3,232 # 50e8 <__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 <__stack_size+0x7f00>
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: 2a050513 addi a0,a0,672 # 52a0 <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: 2b450513 addi a0,a0,692 # 52b4 <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: 2c850513 addi a0,a0,712 # 52c8 <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 <__stack_size+0xfe8008>
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 <__stack_size+0x9ea0>
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: 36058593 addi a1,a1,864 # 5360 <__fsym_list_mem_name+0x58>
1496: be418513 addi a0,gp,-1052 # 2000062c <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: 36850513 addi a0,a0,872 # 5368 <__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: be418513 addi a0,gp,-1052 # 2000062c <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: be418513 addi a0,gp,-1052 # 2000062c <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: be418513 addi a0,gp,-1052 # 2000062c <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: be418513 addi a0,gp,-1052 # 2000062c <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: 31450513 addi a0,a0,788 # 5314 <__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: 33050513 addi a0,a0,816 # 5330 <__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: be418513 addi a0,gp,-1052 # 2000062c <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: c0418793 addi a5,gp,-1020 # 2000064c <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: c0418513 addi a0,gp,-1020 # 2000064c <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: c0418793 addi a5,gp,-1020 # 2000064c <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: c0418793 addi a5,gp,-1020 # 2000064c <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: c0418793 addi a5,gp,-1020 # 2000064c <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: c0418713 addi a4,gp,-1020 # 2000064c <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+0x1144>
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+0x10c4>
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: 3a450513 addi a0,a0,932 # 53a4 <__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: b0c90513 addi a0,s2,-1268 # 5b0c <__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: b1090513 addi a0,s2,-1264 # 5b10 <__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: b1498513 addi a0,s3,-1260 # 5b14 <__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: 65898513 addi a0,s3,1624 # 5658 <__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: 65898613 addi a2,s3,1624
1fc2: 66050513 addi a0,a0,1632 # 5660 <__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: 6a450513 addi a0,a0,1700 # 56a4 <__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: 6e498513 addi a0,s3,1764 # 56e4 <__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: 6f0c8513 addi a0,s9,1776 # 56f0 <__fsym_list_mem_name+0x3e8>
2020: 8bbd andi a5,a5,15
2022: 01478e63 beq a5,s4,203e <list_thread+0xa6>
2026: 6fcc0513 addi a0,s8,1788 # 56fc <__fsym_list_mem_name+0x3f4>
202a: 01578a63 beq a5,s5,203e <list_thread+0xa6>
202e: 708b8513 addi a0,s7,1800 # 5708 <__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: 714b0513 addi a0,s6,1812 # 5714 <__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: 720d0513 addi a0,s10,1824 # 5720 <__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: 5f890513 addi a0,s2,1528 # 55f8 <__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: 5f890613 addi a2,s2,1528
20a8: 60450513 addi a0,a0,1540 # 5604 <__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: 62050513 addi a0,a0,1568 # 5620 <__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: 638a8513 addi a0,s5,1592 # 5638 <__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: 5c4b0513 addi a0,s6,1476 # 65c4 <ch32_uart_ops+0xc4>
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: 648a0513 addi a0,s4,1608 # 5648 <__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: 43c90513 addi a0,s2,1084 # 543c <__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: 43c90613 addi a2,s2,1084
215e: 44450513 addi a0,a0,1092 # 5444 <__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: 46850513 addi a0,a0,1128 # 5468 <__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: 488a8513 addi a0,s5,1160 # 5488 <__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: 5c4b0513 addi a0,s6,1476 # 65c4 <ch32_uart_ops+0xc4>
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: 4a0a0513 addi a0,s4,1184 # 54a0 <__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: 59498513 addi a0,s3,1428 # 5594 <__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: 59498613 addi a2,s3,1428
220a: 59c50513 addi a0,a0,1436 # 559c <__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: 5c050513 addi a0,a0,1472 # 55c0 <__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: 5e098513 addi a0,s3,1504 # 55e0 <__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: 4b490513 addi a0,s2,1204 # 54b4 <__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: 4b490613 addi a2,s2,1204
228c: 4bc50513 addi a0,a0,1212 # 54bc <__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: 4e050513 addi a0,a0,1248 # 54e0 <__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: 4fca8513 addi a0,s5,1276 # 54fc <__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: 5c4b0513 addi a0,s6,1476 # 65c4 <ch32_uart_ops+0xc4>
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: 514a0513 addi a0,s4,1300 # 5514 <__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: 52c90513 addi a0,s2,1324 # 552c <__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: 52c90613 addi a2,s2,1324
234a: 53850513 addi a0,a0,1336 # 5538 <__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: 55450513 addi a0,a0,1364 # 5554 <__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: 56ca8513 addi a0,s5,1388 # 556c <__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: 5c4b0513 addi a0,s6,1476 # 65c4 <ch32_uart_ops+0xc4>
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: 580a0513 addi a0,s4,1408 # 5580 <__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: 05058593 addi a1,a1,80 # 5050 <strncmp+0x2a>
23f0: 850a mv a0,sp
23f2: 343020ef jal ra,4f34 <memcpy>
23f6: 000059b7 lui s3,0x5
23fa: 85ca mv a1,s2
23fc: 3d498513 addi a0,s3,980 # 53d4 <__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: 3d498613 addi a2,s3,980
2410: 3dc50513 addi a0,a0,988 # 53dc <__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: 40450513 addi a0,a0,1028 # 5404 <__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: 428a0513 addi a0,s4,1064 # 5428 <__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: 74898513 addi a0,s3,1864 # 5748 <__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: 74898613 addi a2,s3,1864
2492: 75050513 addi a0,a0,1872 # 5750 <__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: 77850513 addi a0,a0,1912 # 5778 <__fsym_list_mem_name+0x470>
24a8: e15fe0ef jal ra,12bc <rt_kprintf>
24ac: 4040 lw s0,4(s0)
24ae: 000059b7 lui s3,0x5
24b2: 00005a37 lui s4,0x5
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: 00005537 lui a0,0x5
24c8: 7d050513 addi a0,a0,2000 # 57d0 <__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: 79c98513 addi a0,s3,1948 # 579c <__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: 7b4a8513 addi a0,s5,1972 # 57b4 <__fsym_list_mem_name+0x4ac>
24f2: 8b85 andi a5,a5,1
24f4: e399 bnez a5,24fa <list_timer+0x92>
24f6: 7c0a0513 addi a0,s4,1984 # 57c0 <__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: 3ac50513 addi a0,a0,940 # 53ac <__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: 3c098593 addi a1,s3,960 # 53c0 <__fsym_list_mem_name+0xb8>
2534: 8526 mv a0,s1
2536: 2f1020ef jal ra,5026 <strncmp>
253a: c519 beqz a0,2548 <list+0x46>
253c: 4050 lw a2,4(s0)
253e: 85a6 mv a1,s1
2540: 3c4a0513 addi a0,s4,964 # 53c4 <__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: c7050513 addi a0,a0,-912 # 5c70 <__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: 5c450513 addi a0,a0,1476 # 65c4 <ch32_uart_ops+0xc4>
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: c8c98593 addi a1,s3,-884 # 5c8c <__fsym_reboot_name+0x188>
258a: 8526 mv a0,s1
258c: 29b020ef jal ra,5026 <strncmp>
2590: e901 bnez a0,25a0 <msh_help+0x54>
2592: 4050 lw a2,4(s0)
2594: 00648593 addi a1,s1,6
2598: c94a0513 addi a0,s4,-876 # 5c94 <__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: c8cb0593 addi a1,s6,-884 # 5c8c <__fsym_reboot_name+0x188>
2604: 8552 mv a0,s4
2606: 221020ef jal ra,5026 <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: 213020ef jal ra,5026 <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: c5850513 addi a0,a0,-936 # 5c58 <__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: c3450513 addi a0,a0,-972 # 5c34 <__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: c5448513 addi a0,s1,-940 # 5c54 <__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: 5c450513 addi a0,a0,1476 # 65c4 <ch32_uart_ops+0xc4>
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: c8cb0593 addi a1,s6,-884 # 5c8c <__fsym_reboot_name+0x188>
279a: 8522 mv a0,s0
279c: 08b020ef jal ra,5026 <strncmp>
27a0: e121 bnez a0,27e0 <msh_auto_complete+0x8e>
27a2: 854e mv a0,s3
27a4: 071020ef jal ra,5014 <strlen>
27a8: 0419 addi s0,s0,6
27aa: 862a mv a2,a0
27ac: 85a2 mv a1,s0
27ae: 854e mv a0,s3
27b0: 077020ef jal ra,5026 <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: 059020ef jal ra,5014 <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: c9cb8513 addi a0,s7,-868 # 5c9c <__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: 5d078793 addi a5,a5,1488 # 65d0 <__fsym_list_mem>
282e: 8af1a023 sw a5,-1888(gp) # 200002e8 <_syscall_table_begin>
2832: 000067b7 lui a5,0x6
2836: 72078793 addi a5,a5,1824 # 6720 <__rt_init_rti_start>
283a: 8af1a223 sw a5,-1884(gp) # 200002ec <_syscall_table_end>
283e: 000067b7 lui a5,0x6
2842: 72078793 addi a5,a5,1824 # 6720 <__rt_init_rti_start>
2846: 8af1a423 sw a5,-1880(gp) # 200002f0 <_sysvar_table_begin>
284a: 000067b7 lui a5,0x6
284e: 72078793 addi a5,a5,1824 # 6720 <__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: d5050513 addi a0,a0,-688 # 5d50 <__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: d6850513 addi a0,a0,-664 # 5d68 <__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: d7058593 addi a1,a1,-656 # 5d70 <__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: d1c58593 addi a1,a1,-740 # 5d1c <__fsym___cmd_ps_name+0xc>
28cc: c8418513 addi a0,gp,-892 # 200006cc <finsh_prompt.4315>
28d0: 734020ef jal ra,5004 <strcpy>
28d4: 000065b7 lui a1,0x6
28d8: d2c58593 addi a1,a1,-724 # 5d2c <__fsym___cmd_ps_name+0x1c>
28dc: c8418513 addi a0,gp,-892 # 200006cc <finsh_prompt.4315>
28e0: 706020ef jal ra,4fe6 <strcat>
28e4: c8418513 addi a0,gp,-892 # 200006cc <finsh_prompt.4315>
28e8: adffd06f j 3c6 <__riscv_restore_0>
28ec: 000065b7 lui a1,0x6
28f0: d2458593 addi a1,a1,-732 # 5d24 <__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: d8c50513 addi a0,a0,-628 # 5d8c <__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: d9450513 addi a0,a0,-620 # 5d94 <__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: d3050513 addi a0,a0,-720 # 5d30 <__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: 4b6020ef jal ra,4f34 <memcpy>
2a82: 592020ef jal ra,5014 <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: d7898513 addi a0,s3,-648 # 5d78 <__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: d7ca8513 addi a0,s5,-644 # 5d7c <__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: d7898513 addi a0,s3,-648
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: 5c4a0513 addi a0,s4,1476 # 65c4 <ch32_uart_ops+0xc4>
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: d94c8513 addi a0,s9,-620 # 5d94 <__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: 4be020ef jal ra,5014 <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: d80b8513 addi a0,s7,-640 # 5d80 <__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: d7898513 addi a0,s3,-648
2bde: edefe0ef jal ra,12bc <rt_kprintf>
2be2: 0405 addi s0,s0,1
2be4: b7f5 j 2bd0 <finsh_thread_entry+0x22e>
2be6: d88b0513 addi a0,s6,-632 # 5d88 <__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: 2e8020ef jal ra,4f10 <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: 2f6020ef jal ra,4f34 <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: 2da020ef jal ra,4f34 <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: 5c4a0513 addi a0,s4,1476
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: 246020ef jal ra,4f10 <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: 23a020ef jal ra,4f34 <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: b10c0513 addi a0,s8,-1264 # 5b10 <__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: d7898513 addi a0,s3,-648
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: d7ca8513 addi a0,s5,-644
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: d0818713 addi a4,gp,-760 # 20000750 <_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: d0818513 addi a0,gp,-760 # 20000750 <_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: d0818713 addi a4,gp,-760 # 20000750 <_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: d0818513 addi a0,gp,-760 # 20000750 <_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: d0818713 addi a4,gp,-760 # 20000750 <_hw_pin>
315a: 4378 lw a4,68(a4)
315c: 85aa mv a1,a0
315e: d0818513 addi a0,gp,-760 # 20000750 <_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: d0818793 addi a5,gp,-760 # 20000750 <_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: d0818513 addi a0,gp,-760 # 20000750 <_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_hw_board_init>:
3218: 98afd2ef jal t0,3a2 <__riscv_save_0>
321c: 200007b7 lui a5,0x20000
3220: 2487a703 lw a4,584(a5) # 20000248 <SystemCoreClock>
3224: 3e800793 li a5,1000
3228: 56c1 li a3,-16
322a: 02f75733 divu a4,a4,a5
322e: e000e7b7 lui a5,0xe000e
3232: 40d78623 sb a3,1036(a5) # e000e40c <_eusrstack+0xbfffe40c>
3236: 40d78723 sb a3,1038(a5)
323a: 6685 lui a3,0x1
323c: 10d7a023 sw a3,256(a5)
3240: 6691 lui a3,0x4
3242: 10d7a023 sw a3,256(a5)
3246: e000f7b7 lui a5,0xe000f
324a: 0007a023 sw zero,0(a5) # e000f000 <_eusrstack+0xbffff000>
324e: 0007a223 sw zero,4(a5)
3252: 4601 li a2,0
3254: c790 sw a2,8(a5)
3256: 4681 li a3,0
3258: c7d4 sw a3,12(a5)
325a: 4681 li a3,0
325c: fff70613 addi a2,a4,-1
3260: cb90 sw a2,16(a5)
3262: cbd4 sw a3,20(a5)
3264: 473d li a4,15
3266: c398 sw a4,0(a5)
3268: a78fd0ef jal ra,4e0 <rt_components_board_init>
326c: 200105b7 lui a1,0x20010
3270: 11018513 addi a0,gp,272 # 20000b58 <_ebss>
3274: 9c6fe0ef jal ra,143a <rt_system_heap_init>
3278: 00006537 lui a0,0x6
327c: e0c50513 addi a0,a0,-500 # 5e0c <__fsym_pinMode_name+0x8>
3280: 80cfe0ef jal ra,128c <rt_console_set_device>
3284: 942fd06f j 3c6 <__riscv_restore_0>
00003288 <SysTick_Handler>:
3288: 34011173 csrrw sp,mscratch,sp
328c: 8c1fd0ef jal ra,b4c <rt_interrupt_enter>
3290: e000f7b7 lui a5,0xe000f
3294: 0007a223 sw zero,4(a5) # e000f004 <_eusrstack+0xbffff004>
3298: 9e8fd0ef jal ra,480 <rt_tick_increase>
329c: 8dffd0ef jal ra,b7a <rt_interrupt_leave>
32a0: 34011173 csrrw sp,mscratch,sp
32a4: 30200073 mret
000032a8 <InitRingQueue>:
32a8: 00052623 sw zero,12(a0)
32ac: c10c sw a1,0(a0)
32ae: c150 sw a2,4(a0)
32b0: 00052423 sw zero,8(a0)
32b4: 4505 li a0,1
32b6: 8082 ret
000032b8 <InRingQueue>:
32b8: 455c lw a5,12(a0)
32ba: 4154 lw a3,4(a0)
32bc: 4518 lw a4,8(a0)
32be: 0785 addi a5,a5,1
32c0: 02d7e7b3 rem a5,a5,a3
32c4: 00e78e63 beq a5,a4,32e0 <InRingQueue+0x28>
32c8: 4558 lw a4,12(a0)
32ca: 411c lw a5,0(a0)
32cc: 97ba add a5,a5,a4
32ce: a38c sb a1,0(a5)
32d0: 455c lw a5,12(a0)
32d2: 4158 lw a4,4(a0)
32d4: 0785 addi a5,a5,1
32d6: 02e7e7b3 rem a5,a5,a4
32da: c55c sw a5,12(a0)
32dc: 4505 li a0,1
32de: 8082 ret
32e0: 5579 li a0,-2
32e2: 8082 ret
000032e4 <OutRingQueue>:
32e4: 4518 lw a4,8(a0)
32e6: 455c lw a5,12(a0)
32e8: 00f70f63 beq a4,a5,3306 <OutRingQueue+0x22>
32ec: 4518 lw a4,8(a0)
32ee: 411c lw a5,0(a0)
32f0: 97ba add a5,a5,a4
32f2: 239c lbu a5,0(a5)
32f4: a19c sb a5,0(a1)
32f6: 451c lw a5,8(a0)
32f8: 4158 lw a4,4(a0)
32fa: 0785 addi a5,a5,1
32fc: 02e7e7b3 rem a5,a5,a4
3300: c51c sw a5,8(a0)
3302: 4505 li a0,1
3304: 8082 ret
3306: 4501 li a0,0
3308: 8082 ret
0000330a <RingQueueLength>:
330a: 455c lw a5,12(a0)
330c: 4518 lw a4,8(a0)
330e: 4148 lw a0,4(a0)
3310: 8f99 sub a5,a5,a4
3312: 97aa add a5,a5,a0
3314: 02a7e533 rem a0,a5,a0
3318: 8082 ret
0000331a <bit2bitno>:
331a: 4781 li a5,0
331c: 4685 li a3,1
331e: 02000713 li a4,32
3322: 00f69633 sll a2,a3,a5
3326: 00a60663 beq a2,a0,3332 <bit2bitno+0x18>
332a: 0785 addi a5,a5,1
332c: fee79be3 bne a5,a4,3322 <bit2bitno+0x8>
3330: 57fd li a5,-1
3332: 853e mv a0,a5
3334: 8082 ret
00003336 <GPIOD_CLK_ENABLE>:
3336: 86cfd2ef jal t0,3a2 <__riscv_save_0>
333a: 4585 li a1,1
333c: 02000513 li a0,32
3340: 5d6010ef jal ra,4916 <RCC_APB2PeriphClockCmd>
3344: 882fd06f j 3c6 <__riscv_restore_0>
00003348 <GPIOB_CLK_ENABLE>:
3348: 85afd2ef jal t0,3a2 <__riscv_save_0>
334c: 4585 li a1,1
334e: 4521 li a0,8
3350: 5c6010ef jal ra,4916 <RCC_APB2PeriphClockCmd>
3354: 872fd06f j 3c6 <__riscv_restore_0>
00003358 <GPIOA_CLK_ENABLE>:
3358: 84afd2ef jal t0,3a2 <__riscv_save_0>
335c: 4585 li a1,1
335e: 4511 li a0,4
3360: 5b6010ef jal ra,4916 <RCC_APB2PeriphClockCmd>
3364: 862fd06f j 3c6 <__riscv_restore_0>
00003368 <GPIOC_CLK_ENABLE>:
3368: 83afd2ef jal t0,3a2 <__riscv_save_0>
336c: 4585 li a1,1
336e: 4541 li a0,16
3370: 5a6010ef jal ra,4916 <RCC_APB2PeriphClockCmd>
3374: 852fd06f j 3c6 <__riscv_restore_0>
00003378 <GPIOE_CLK_ENABLE>:
3378: 82afd2ef jal t0,3a2 <__riscv_save_0>
337c: 4585 li a1,1
337e: 04000513 li a0,64
3382: 594010ef jal ra,4916 <RCC_APB2PeriphClockCmd>
3386: 840fd06f j 3c6 <__riscv_restore_0>
0000338a <rt_hw_pin_init>:
338a: 818fd2ef jal t0,3a2 <__riscv_save_0>
338e: 6599 lui a1,0x6
3390: 00006537 lui a0,0x6
3394: 4601 li a2,0
3396: e1458593 addi a1,a1,-492 # 5e14 <_ch32_pin_ops>
339a: 4fc50513 addi a0,a0,1276 # 64fc <pins+0x650>
339e: e27ff0ef jal ra,31c4 <rt_device_pin_register>
33a2: 824fd06f j 3c6 <__riscv_restore_0>
000033a6 <get_pin>:
33a6: 06400793 li a5,100
33aa: 00a7ec63 bltu a5,a0,33c2 <get_pin+0x1c>
33ae: 00451793 slli a5,a0,0x4
33b2: 6519 lui a0,0x6
33b4: eac50513 addi a0,a0,-340 # 5eac <pins>
33b8: 953e add a0,a0,a5
33ba: 4118 lw a4,0(a0)
33bc: 57fd li a5,-1
33be: 00f71363 bne a4,a5,33c4 <get_pin+0x1e>
33c2: 4501 li a0,0
33c4: 8082 ret
000033c6 <ch32_pin_write>:
33c6: fddfc2ef jal t0,3a2 <__riscv_save_0>
33ca: 1141 addi sp,sp,-16
33cc: 0ff5f513 andi a0,a1,255
33d0: c632 sw a2,12(sp)
33d2: fd5ff0ef jal ra,33a6 <get_pin>
33d6: c511 beqz a0,33e2 <ch32_pin_write+0x1c>
33d8: 254e lhu a1,12(a0)
33da: 4632 lw a2,12(sp)
33dc: 4508 lw a0,8(a0)
33de: 33e010ef jal ra,471c <GPIO_WriteBit>
33e2: 0141 addi sp,sp,16
33e4: fe3fc06f j 3c6 <__riscv_restore_0>
000033e8 <ch32_pin_read>:
33e8: fbbfc2ef jal t0,3a2 <__riscv_save_0>
33ec: 0ff5f513 andi a0,a1,255
33f0: fb7ff0ef jal ra,33a6 <get_pin>
33f4: 87aa mv a5,a0
33f6: 4501 li a0,0
33f8: c789 beqz a5,3402 <ch32_pin_read+0x1a>
33fa: 27ce lhu a1,12(a5)
33fc: 4788 lw a0,8(a5)
33fe: 314010ef jal ra,4712 <GPIO_ReadInputDataBit>
3402: fc5fc06f j 3c6 <__riscv_restore_0>
00003406 <ch32_pin_mode>:
3406: f9dfc2ef jal t0,3a2 <__riscv_save_0>
340a: 1101 addi sp,sp,-32
340c: 0ff5f513 andi a0,a1,255
3410: 8432 mv s0,a2
3412: f95ff0ef jal ra,33a6 <get_pin>
3416: c505 beqz a0,343e <ch32_pin_mode+0x38>
3418: 415c lw a5,4(a0)
341a: c62a sw a0,12(sp)
341c: 9782 jalr a5
341e: 4532 lw a0,12(sp)
3420: 455c lw a5,12(a0)
3422: 82fc sh a5,20(sp)
3424: 47c1 li a5,16
3426: ce3e sw a5,28(sp)
3428: 478d li a5,3
342a: cc3e sw a5,24(sp)
342c: c409 beqz s0,3436 <ch32_pin_mode+0x30>
342e: 4715 li a4,5
3430: 00e41a63 bne s0,a4,3444 <ch32_pin_mode+0x3e>
3434: ce02 sw zero,28(sp)
3436: 4508 lw a0,8(a0)
3438: 084c addi a1,sp,20
343a: 218010ef jal ra,4652 <GPIO_Init>
343e: 6105 addi sp,sp,32
3440: f87fc06f j 3c6 <__riscv_restore_0>
3444: 4705 li a4,1
3446: 00e41563 bne s0,a4,3450 <ch32_pin_mode+0x4a>
344a: 4791 li a5,4
344c: ce3e sw a5,28(sp)
344e: b7e5 j 3436 <ch32_pin_mode+0x30>
3450: 00f41563 bne s0,a5,345a <ch32_pin_mode+0x54>
3454: 02800793 li a5,40
3458: bfd5 j 344c <ch32_pin_mode+0x46>
345a: 4789 li a5,2
345c: 00f41563 bne s0,a5,3466 <ch32_pin_mode+0x60>
3460: 04800793 li a5,72
3464: b7e5 j 344c <ch32_pin_mode+0x46>
3466: 4791 li a5,4
3468: 00f41463 bne s0,a5,3470 <ch32_pin_mode+0x6a>
346c: 47d1 li a5,20
346e: bff9 j 344c <ch32_pin_mode+0x46>
3470: 4799 li a5,6
3472: 00f41463 bne s0,a5,347a <ch32_pin_mode+0x74>
3476: 47f1 li a5,28
3478: bfd1 j 344c <ch32_pin_mode+0x46>
347a: 479d li a5,7
347c: faf41de3 bne s0,a5,3436 <ch32_pin_mode+0x30>
3480: 47e1 li a5,24
3482: b7e9 j 344c <ch32_pin_mode+0x46>
00003484 <ch32_pin_attach_irq>:
3484: f05fc2ef jal t0,388 <__riscv_save_4>
3488: 0ff5f513 andi a0,a1,255
348c: 84ae mv s1,a1
348e: 89b2 mv s3,a2
3490: 8a36 mv s4,a3
3492: 893a mv s2,a4
3494: f13ff0ef jal ra,33a6 <get_pin>
3498: 4799 li a5,6
349a: cd31 beqz a0,34f6 <ch32_pin_attach_irq+0x72>
349c: 4548 lw a0,12(a0)
349e: e7dff0ef jal ra,331a <bit2bitno>
34a2: 473d li a4,15
34a4: 842a mv s0,a0
34a6: 4799 li a5,6
34a8: 04a76763 bltu a4,a0,34f6 <ch32_pin_attach_irq+0x72>
34ac: 9ebfe0ef jal ra,1e96 <rt_hw_interrupt_disable>
34b0: 46b1 li a3,12
34b2: 02d406b3 mul a3,s0,a3
34b6: 200007b7 lui a5,0x20000
34ba: 08078713 addi a4,a5,128 # 20000080 <pin_irq_hdr_tab>
34be: 862a mv a2,a0
34c0: 08078793 addi a5,a5,128
34c4: 9736 add a4,a4,a3
34c6: 00071683 lh a3,0(a4)
34ca: 00969f63 bne a3,s1,34e8 <ch32_pin_attach_irq+0x64>
34ce: 434c lw a1,4(a4)
34d0: 01459c63 bne a1,s4,34e8 <ch32_pin_attach_irq+0x64>
34d4: 232e lhu a1,2(a4)
34d6: 01359963 bne a1,s3,34e8 <ch32_pin_attach_irq+0x64>
34da: 4718 lw a4,8(a4)
34dc: 01271663 bne a4,s2,34e8 <ch32_pin_attach_irq+0x64>
34e0: 9c3fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
34e4: 4781 li a5,0
34e6: a801 j 34f6 <ch32_pin_attach_irq+0x72>
34e8: 577d li a4,-1
34ea: 00e68963 beq a3,a4,34fc <ch32_pin_attach_irq+0x78>
34ee: 8532 mv a0,a2
34f0: 9b3fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
34f4: 479d li a5,7
34f6: 853e mv a0,a5
34f8: ec5fc06f j 3bc <__riscv_restore_4>
34fc: 4531 li a0,12
34fe: 02a40533 mul a0,s0,a0
3502: 953e add a0,a0,a5
3504: a106 sh s1,0(a0)
3506: 01452223 sw s4,4(a0)
350a: 01351123 sh s3,2(a0)
350e: 01252423 sw s2,8(a0)
3512: 8532 mv a0,a2
3514: b7f1 j 34e0 <ch32_pin_attach_irq+0x5c>
00003516 <ch32_pin_dettach_irq>:
3516: e8dfc2ef jal t0,3a2 <__riscv_save_0>
351a: 0ff5f513 andi a0,a1,255
351e: e89ff0ef jal ra,33a6 <get_pin>
3522: 4719 li a4,6
3524: c91d beqz a0,355a <ch32_pin_dettach_irq+0x44>
3526: 4548 lw a0,12(a0)
3528: df3ff0ef jal ra,331a <bit2bitno>
352c: 47bd li a5,15
352e: 842a mv s0,a0
3530: 4719 li a4,6
3532: 02a7e463 bltu a5,a0,355a <ch32_pin_dettach_irq+0x44>
3536: 961fe0ef jal ra,1e96 <rt_hw_interrupt_disable>
353a: 47b1 li a5,12
353c: 02f40433 mul s0,s0,a5
3540: 200007b7 lui a5,0x20000
3544: 08078793 addi a5,a5,128 # 20000080 <pin_irq_hdr_tab>
3548: 577d li a4,-1
354a: 97a2 add a5,a5,s0
354c: 00079683 lh a3,0(a5)
3550: 00e69863 bne a3,a4,3560 <ch32_pin_dettach_irq+0x4a>
3554: 94ffe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
3558: 4701 li a4,0
355a: 853a mv a0,a4
355c: e6bfc06f j 3c6 <__riscv_restore_0>
3560: 6741 lui a4,0x10
3562: 177d addi a4,a4,-1
3564: c398 sw a4,0(a5)
3566: 0007a223 sw zero,4(a5)
356a: 0007a423 sw zero,8(a5)
356e: b7dd j 3554 <ch32_pin_dettach_irq+0x3e>
00003570 <ch32_pin_irq_enable>:
3570: e19fc2ef jal t0,388 <__riscv_save_4>
3574: 1101 addi sp,sp,-32
3576: 0ff5f513 andi a0,a1,255
357a: 8a32 mv s4,a2
357c: e2bff0ef jal ra,33a6 <get_pin>
3580: 4799 li a5,6
3582: c121 beqz a0,35c2 <ch32_pin_irq_enable+0x52>
3584: 4485 li s1,1
3586: 842a mv s0,a0
3588: 109a1563 bne s4,s1,3692 <ch32_pin_irq_enable+0x122>
358c: 4548 lw a0,12(a0)
358e: d8dff0ef jal ra,331a <bit2bitno>
3592: 473d li a4,15
3594: 84aa mv s1,a0
3596: 4799 li a5,6
3598: 02a76563 bltu a4,a0,35c2 <ch32_pin_irq_enable+0x52>
359c: 8fbfe0ef jal ra,1e96 <rt_hw_interrupt_disable>
35a0: 4ab1 li s5,12
35a2: 035487b3 mul a5,s1,s5
35a6: 20000937 lui s2,0x20000
35aa: 08090913 addi s2,s2,128 # 20000080 <pin_irq_hdr_tab>
35ae: 89aa mv s3,a0
35b0: 993e add s2,s2,a5
35b2: 00091703 lh a4,0(s2)
35b6: 57fd li a5,-1
35b8: 00f71963 bne a4,a5,35ca <ch32_pin_irq_enable+0x5a>
35bc: 8e7fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
35c0: 4799 li a5,6
35c2: 853e mv a0,a5
35c4: 6105 addi sp,sp,32
35c6: df7fc06f j 3bc <__riscv_restore_4>
35ca: 405c lw a5,4(s0)
35cc: 9782 jalr a5
35ce: 4585 li a1,1
35d0: 4505 li a0,1
35d2: 344010ef jal ra,4916 <RCC_APB2PeriphClockCmd>
35d6: 445c lw a5,12(s0)
35d8: 470d li a4,3
35da: c43a sw a4,8(sp)
35dc: 827c sh a5,4(sp)
35de: c83e sw a5,16(sp)
35e0: 00295783 lhu a5,2(s2)
35e4: ca02 sw zero,20(sp)
35e6: ce52 sw s4,28(sp)
35e8: 09478c63 beq a5,s4,3680 <ch32_pin_irq_enable+0x110>
35ec: c7c1 beqz a5,3674 <ch32_pin_irq_enable+0x104>
35ee: 4709 li a4,2
35f0: 08e78d63 beq a5,a4,368a <ch32_pin_irq_enable+0x11a>
35f4: 4408 lw a0,8(s0)
35f6: 004c addi a1,sp,4
35f8: 05a010ef jal ra,4652 <GPIO_Init>
35fc: 4418 lw a4,8(s0)
35fe: 400117b7 lui a5,0x40011
3602: c0078693 addi a3,a5,-1024 # 40010c00 <_eusrstack+0x20000c00>
3606: 4505 li a0,1
3608: 02d70263 beq a4,a3,362c <ch32_pin_irq_enable+0xbc>
360c: 4509 li a0,2
360e: 00f70f63 beq a4,a5,362c <ch32_pin_irq_enable+0xbc>
3612: 40078793 addi a5,a5,1024
3616: 450d li a0,3
3618: 00f70a63 beq a4,a5,362c <ch32_pin_irq_enable+0xbc>
361c: 400127b7 lui a5,0x40012
3620: 80078793 addi a5,a5,-2048 # 40011800 <_eusrstack+0x20001800>
3624: 4501 li a0,0
3626: 00f71363 bne a4,a5,362c <ch32_pin_irq_enable+0xbc>
362a: 4511 li a0,4
362c: 0ff4f593 andi a1,s1,255
3630: 0f6010ef jal ra,4726 <GPIO_EXTILineConfig>
3634: 0808 addi a0,sp,16
3636: 78b000ef jal ra,45c0 <EXTI_Init>
363a: 6799 lui a5,0x6
363c: e2c78793 addi a5,a5,-468 # 5e2c <pin_irq_map>
3640: 048e slli s1,s1,0x3
3642: 94be add s1,s1,a5
3644: 40d0 lw a2,4(s1)
3646: e000e737 lui a4,0xe000e
364a: 05000693 li a3,80
364e: 00c707b3 add a5,a4,a2
3652: 40d78023 sb a3,1024(a5)
3656: 00565793 srli a5,a2,0x5
365a: 04078793 addi a5,a5,64
365e: 4685 li a3,1
3660: 078a slli a5,a5,0x2
3662: 00c696b3 sll a3,a3,a2
3666: 97ba add a5,a5,a4
3668: c394 sw a3,0(a5)
366a: 854e mv a0,s3
366c: 837fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
3670: 4781 li a5,0
3672: bf81 j 35c2 <ch32_pin_irq_enable+0x52>
3674: 02800793 li a5,40
3678: c63e sw a5,12(sp)
367a: 47a1 li a5,8
367c: cc3e sw a5,24(sp)
367e: bf9d j 35f4 <ch32_pin_irq_enable+0x84>
3680: 04800793 li a5,72
3684: c63e sw a5,12(sp)
3686: cc56 sw s5,24(sp)
3688: b7b5 j 35f4 <ch32_pin_irq_enable+0x84>
368a: 4791 li a5,4
368c: c63e sw a5,12(sp)
368e: 47c1 li a5,16
3690: b7f5 j 367c <ch32_pin_irq_enable+0x10c>
3692: 4799 li a5,6
3694: f20a17e3 bnez s4,35c2 <ch32_pin_irq_enable+0x52>
3698: 4548 lw a0,12(a0)
369a: c81ff0ef jal ra,331a <bit2bitno>
369e: 473d li a4,15
36a0: 4799 li a5,6
36a2: f2a760e3 bltu a4,a0,35c2 <ch32_pin_irq_enable+0x52>
36a6: 00351793 slli a5,a0,0x3
36aa: 6519 lui a0,0x6
36ac: e2c50513 addi a0,a0,-468 # 5e2c <pin_irq_map>
36b0: 953e add a0,a0,a5
36b2: 4158 lw a4,4(a0)
36b4: 00575793 srli a5,a4,0x5
36b8: 06078793 addi a5,a5,96
36bc: 00e494b3 sll s1,s1,a4
36c0: 078a slli a5,a5,0x2
36c2: e000e737 lui a4,0xe000e
36c6: 97ba add a5,a5,a4
36c8: c384 sw s1,0(a5)
36ca: b75d j 3670 <ch32_pin_irq_enable+0x100>
000036cc <HAL_GPIO_EXTI_Callback>:
36cc: cd7fc2ef jal t0,3a2 <__riscv_save_0>
36d0: c4bff0ef jal ra,331a <bit2bitno>
36d4: 47b1 li a5,12
36d6: 02f50533 mul a0,a0,a5
36da: 200007b7 lui a5,0x20000
36de: 08078793 addi a5,a5,128 # 20000080 <pin_irq_hdr_tab>
36e2: 953e add a0,a0,a5
36e4: 415c lw a5,4(a0)
36e6: c399 beqz a5,36ec <HAL_GPIO_EXTI_Callback+0x20>
36e8: 4508 lw a0,8(a0)
36ea: 9782 jalr a5
36ec: cdbfc06f j 3c6 <__riscv_restore_0>
000036f0 <EXTI0_IRQHandler>:
36f0: 34011173 csrrw sp,mscratch,sp
36f4: c58fd0ef jal ra,b4c <rt_interrupt_enter>
36f8: 4505 li a0,1
36fa: 731000ef jal ra,462a <EXTI_GetITStatus>
36fe: c519 beqz a0,370c <EXTI0_IRQHandler+0x1c>
3700: 4505 li a0,1
3702: fcbff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
3706: 4505 li a0,1
3708: 741000ef jal ra,4648 <EXTI_ClearITPendingBit>
370c: c6efd0ef jal ra,b7a <rt_interrupt_leave>
3710: 34011173 csrrw sp,mscratch,sp
3714: 30200073 mret
00003718 <EXTI1_IRQHandler>:
3718: 34011173 csrrw sp,mscratch,sp
371c: c30fd0ef jal ra,b4c <rt_interrupt_enter>
3720: 4509 li a0,2
3722: 709000ef jal ra,462a <EXTI_GetITStatus>
3726: c519 beqz a0,3734 <EXTI1_IRQHandler+0x1c>
3728: 4509 li a0,2
372a: fa3ff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
372e: 4509 li a0,2
3730: 719000ef jal ra,4648 <EXTI_ClearITPendingBit>
3734: c46fd0ef jal ra,b7a <rt_interrupt_leave>
3738: 34011173 csrrw sp,mscratch,sp
373c: 30200073 mret
00003740 <EXTI2_IRQHandler>:
3740: 34011173 csrrw sp,mscratch,sp
3744: c08fd0ef jal ra,b4c <rt_interrupt_enter>
3748: 4511 li a0,4
374a: 6e1000ef jal ra,462a <EXTI_GetITStatus>
374e: c519 beqz a0,375c <EXTI2_IRQHandler+0x1c>
3750: 4511 li a0,4
3752: f7bff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
3756: 4511 li a0,4
3758: 6f1000ef jal ra,4648 <EXTI_ClearITPendingBit>
375c: c1efd0ef jal ra,b7a <rt_interrupt_leave>
3760: 34011173 csrrw sp,mscratch,sp
3764: 30200073 mret
00003768 <EXTI3_IRQHandler>:
3768: 34011173 csrrw sp,mscratch,sp
376c: be0fd0ef jal ra,b4c <rt_interrupt_enter>
3770: 4521 li a0,8
3772: 6b9000ef jal ra,462a <EXTI_GetITStatus>
3776: c519 beqz a0,3784 <EXTI3_IRQHandler+0x1c>
3778: 4521 li a0,8
377a: f53ff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
377e: 4521 li a0,8
3780: 6c9000ef jal ra,4648 <EXTI_ClearITPendingBit>
3784: bf6fd0ef jal ra,b7a <rt_interrupt_leave>
3788: 34011173 csrrw sp,mscratch,sp
378c: 30200073 mret
00003790 <EXTI4_IRQHandler>:
3790: 34011173 csrrw sp,mscratch,sp
3794: bb8fd0ef jal ra,b4c <rt_interrupt_enter>
3798: 4541 li a0,16
379a: 691000ef jal ra,462a <EXTI_GetITStatus>
379e: c519 beqz a0,37ac <EXTI4_IRQHandler+0x1c>
37a0: 4541 li a0,16
37a2: f2bff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
37a6: 4541 li a0,16
37a8: 6a1000ef jal ra,4648 <EXTI_ClearITPendingBit>
37ac: bcefd0ef jal ra,b7a <rt_interrupt_leave>
37b0: 34011173 csrrw sp,mscratch,sp
37b4: 30200073 mret
000037b8 <EXTI9_5_IRQHandler>:
37b8: 34011173 csrrw sp,mscratch,sp
37bc: b90fd0ef jal ra,b4c <rt_interrupt_enter>
37c0: 02000513 li a0,32
37c4: 667000ef jal ra,462a <EXTI_GetITStatus>
37c8: cd1d beqz a0,3806 <EXTI9_5_IRQHandler+0x4e>
37ca: 02000513 li a0,32
37ce: effff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
37d2: 04000513 li a0,64
37d6: ef7ff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
37da: 08000513 li a0,128
37de: eefff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
37e2: 10000513 li a0,256
37e6: ee7ff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
37ea: 20000513 li a0,512
37ee: edfff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
37f2: 3e000513 li a0,992
37f6: 653000ef jal ra,4648 <EXTI_ClearITPendingBit>
37fa: b80fd0ef jal ra,b7a <rt_interrupt_leave>
37fe: 34011173 csrrw sp,mscratch,sp
3802: 30200073 mret
3806: 04000513 li a0,64
380a: 621000ef jal ra,462a <EXTI_GetITStatus>
380e: fd55 bnez a0,37ca <EXTI9_5_IRQHandler+0x12>
3810: 08000513 li a0,128
3814: 617000ef jal ra,462a <EXTI_GetITStatus>
3818: f94d bnez a0,37ca <EXTI9_5_IRQHandler+0x12>
381a: 10000513 li a0,256
381e: 60d000ef jal ra,462a <EXTI_GetITStatus>
3822: f545 bnez a0,37ca <EXTI9_5_IRQHandler+0x12>
3824: 20000513 li a0,512
3828: 603000ef jal ra,462a <EXTI_GetITStatus>
382c: fd59 bnez a0,37ca <EXTI9_5_IRQHandler+0x12>
382e: b7f1 j 37fa <EXTI9_5_IRQHandler+0x42>
00003830 <EXTI15_10_IRQHandler>:
3830: 34011173 csrrw sp,mscratch,sp
3834: b18fd0ef jal ra,b4c <rt_interrupt_enter>
3838: 40000513 li a0,1024
383c: 5ef000ef jal ra,462a <EXTI_GetITStatus>
3840: c129 beqz a0,3882 <EXTI15_10_IRQHandler+0x52>
3842: 40000513 li a0,1024
3846: e87ff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
384a: 6505 lui a0,0x1
384c: 80050513 addi a0,a0,-2048 # 800 <rt_ipc_list_suspend+0x1c>
3850: e7dff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
3854: 6505 lui a0,0x1
3856: e77ff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
385a: 6509 lui a0,0x2
385c: e71ff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
3860: 6511 lui a0,0x4
3862: e6bff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
3866: 6521 lui a0,0x8
3868: e65ff0ef jal ra,36cc <HAL_GPIO_EXTI_Callback>
386c: 6541 lui a0,0x10
386e: c0050513 addi a0,a0,-1024 # fc00 <__stack_size+0x7c00>
3872: 5d7000ef jal ra,4648 <EXTI_ClearITPendingBit>
3876: b04fd0ef jal ra,b7a <rt_interrupt_leave>
387a: 34011173 csrrw sp,mscratch,sp
387e: 30200073 mret
3882: 6505 lui a0,0x1
3884: 80050513 addi a0,a0,-2048 # 800 <rt_ipc_list_suspend+0x1c>
3888: 5a3000ef jal ra,462a <EXTI_GetITStatus>
388c: f95d bnez a0,3842 <EXTI15_10_IRQHandler+0x12>
388e: 6505 lui a0,0x1
3890: 59b000ef jal ra,462a <EXTI_GetITStatus>
3894: f55d bnez a0,3842 <EXTI15_10_IRQHandler+0x12>
3896: 6509 lui a0,0x2
3898: 593000ef jal ra,462a <EXTI_GetITStatus>
389c: f15d bnez a0,3842 <EXTI15_10_IRQHandler+0x12>
389e: 6511 lui a0,0x4
38a0: 58b000ef jal ra,462a <EXTI_GetITStatus>
38a4: fd59 bnez a0,3842 <EXTI15_10_IRQHandler+0x12>
38a6: 6521 lui a0,0x8
38a8: 583000ef jal ra,462a <EXTI_GetITStatus>
38ac: f959 bnez a0,3842 <EXTI15_10_IRQHandler+0x12>
38ae: b7e1 j 3876 <EXTI15_10_IRQHandler+0x46>
000038b0 <ch32dma_transmit>:
38b0: 4501 li a0,0
38b2: 8082 ret
000038b4 <ch32_configure>:
38b4: aeffc2ef jal t0,3a2 <__riscv_save_0>
38b8: 419c lw a5,0(a1)
38ba: 4120 lw s0,64(a0)
38bc: 46a1 li a3,8
38be: 1141 addi sp,sp,-16
38c0: c01c sw a5,0(s0)
38c2: 47b1 li a5,12
38c4: a43e sh a5,10(s0)
38c6: 41dc lw a5,4(a1)
38c8: 00041623 sh zero,12(s0)
38cc: 00f7f713 andi a4,a5,15
38d0: 02d70163 beq a4,a3,38f2 <ch32_configure+0x3e>
38d4: 46a5 li a3,9
38d6: 00d71e63 bne a4,a3,38f2 <ch32_configure+0x3e>
38da: 6705 lui a4,0x1
38dc: a05a sh a4,4(s0)
38de: 0047d713 srli a4,a5,0x4
38e2: 8b0d andi a4,a4,3
38e4: c701 beqz a4,38ec <ch32_configure+0x38>
38e6: 4685 li a3,1
38e8: 00d70863 beq a4,a3,38f8 <ch32_configure+0x44>
38ec: 00041323 sh zero,6(s0)
38f0: a031 j 38fc <ch32_configure+0x48>
38f2: 00041223 sh zero,4(s0)
38f6: b7e5 j 38de <ch32_configure+0x2a>
38f8: 6709 lui a4,0x2
38fa: a07a sh a4,6(s0)
38fc: 8399 srli a5,a5,0x6
38fe: 8b8d andi a5,a5,3
3900: 4705 li a4,1
3902: 00e78963 beq a5,a4,3914 <ch32_configure+0x60>
3906: c781 beqz a5,390e <ch32_configure+0x5a>
3908: 4709 li a4,2
390a: 06e78963 beq a5,a4,397c <ch32_configure+0xc8>
390e: 00041423 sh zero,8(s0)
3912: a021 j 391a <ch32_configure+0x66>
3914: 60000793 li a5,1536
3918: a41e sh a5,8(s0)
391a: 4818 lw a4,16(s0)
391c: 400147b7 lui a5,0x40014
3920: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
3924: 04f71863 bne a4,a5,3974 <ch32_configure+0xc0>
3928: 6511 lui a0,0x4
392a: 4585 li a1,1
392c: 0511 addi a0,a0,4
392e: 7e9000ef jal ra,4916 <RCC_APB2PeriphClockCmd>
3932: 20000793 li a5,512
3936: 400114b7 lui s1,0x40011
393a: 827c sh a5,4(sp)
393c: 490d li s2,3
393e: 47e1 li a5,24
3940: 004c addi a1,sp,4
3942: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x20000800>
3946: c63e sw a5,12(sp)
3948: c44a sw s2,8(sp)
394a: 509000ef jal ra,4652 <GPIO_Init>
394e: 40000793 li a5,1024
3952: 827c sh a5,4(sp)
3954: 004c addi a1,sp,4
3956: 4791 li a5,4
3958: 80048513 addi a0,s1,-2048
395c: c63e sw a5,12(sp)
395e: c44a sw s2,8(sp)
3960: 4f3000ef jal ra,4652 <GPIO_Init>
3964: 4808 lw a0,16(s0)
3966: 85a2 mv a1,s0
3968: 7eb000ef jal ra,4952 <USART_Init>
396c: 4808 lw a0,16(s0)
396e: 4585 li a1,1
3970: 072010ef jal ra,49e2 <USART_Cmd>
3974: 4501 li a0,0
3976: 0141 addi sp,sp,16
3978: a4ffc06f j 3c6 <__riscv_restore_0>
397c: 40000793 li a5,1024
3980: bf61 j 3918 <ch32_configure+0x64>
00003982 <rt_hw_usart_init>:
3982: a07fc2ef jal t0,388 <__riscv_save_4>
3986: da818413 addi s0,gp,-600 # 200007f0 <uart1>
398a: 03500793 li a5,53
398e: c85c sw a5,20(s0)
3990: 400147b7 lui a5,0x40014
3994: d5018613 addi a2,gp,-688 # 20000798 <serial1>
3998: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
399c: 4674 lw a3,76(a2)
399e: c81c sw a5,16(s0)
39a0: 6799 lui a5,0x6
39a2: 50078793 addi a5,a5,1280 # 6500 <ch32_uart_ops>
39a6: c27c sw a5,68(a2)
39a8: c00007b7 lui a5,0xc0000
39ac: 8ff5 and a5,a5,a3
39ae: 66c1 lui a3,0x10
39b0: 06a1 addi a3,a3,8
39b2: 6771 lui a4,0x1c
39b4: 20070713 addi a4,a4,512 # 1c200 <__stack_size+0x14200>
39b8: 8fd5 or a5,a5,a3
39ba: 6511 lui a0,0x4
39bc: 1141 addi sp,sp,-16
39be: c638 sw a4,72(a2)
39c0: c67c sw a5,76(a2)
39c2: 4585 li a1,1
39c4: 000c07b7 lui a5,0xc0
39c8: 0511 addi a0,a0,4
39ca: c018 sw a4,0(s0)
39cc: c41c sw a5,8(s0)
39ce: 00042223 sw zero,4(s0)
39d2: 00041623 sh zero,12(s0)
39d6: 741000ef jal ra,4916 <RCC_APB2PeriphClockCmd>
39da: 400119b7 lui s3,0x40011
39de: 20000793 li a5,512
39e2: 827c sh a5,4(sp)
39e4: 4a0d li s4,3
39e6: 47e1 li a5,24
39e8: 004c addi a1,sp,4
39ea: 80098513 addi a0,s3,-2048 # 40010800 <_eusrstack+0x20000800>
39ee: c452 sw s4,8(sp)
39f0: c63e sw a5,12(sp)
39f2: 461000ef jal ra,4652 <GPIO_Init>
39f6: 40000793 li a5,1024
39fa: 827c sh a5,4(sp)
39fc: 004c addi a1,sp,4
39fe: 4791 li a5,4
3a00: 80098513 addi a0,s3,-2048
3a04: c63e sw a5,12(sp)
3a06: c452 sw s4,8(sp)
3a08: 44b000ef jal ra,4652 <GPIO_Init>
3a0c: 4808 lw a0,16(s0)
3a0e: da818593 addi a1,gp,-600 # 200007f0 <uart1>
3a12: 741000ef jal ra,4952 <USART_Init>
3a16: 4808 lw a0,16(s0)
3a18: 4585 li a1,1
3a1a: 7c9000ef jal ra,49e2 <USART_Cmd>
3a1e: 000065b7 lui a1,0x6
3a22: da818693 addi a3,gp,-600 # 200007f0 <uart1>
3a26: 10300613 li a2,259
3a2a: e0c58593 addi a1,a1,-500 # 5e0c <__fsym_pinMode_name+0x8>
3a2e: d5018513 addi a0,gp,-688 # 20000798 <serial1>
3a32: dccff0ef jal ra,2ffe <rt_hw_serial_register>
3a36: 4501 li a0,0
3a38: 0141 addi sp,sp,16
3a3a: 983fc06f j 3bc <__riscv_restore_4>
00003a3e <ch32_getc>:
3a3e: 965fc2ef jal t0,3a2 <__riscv_save_0>
3a42: 4120 lw s0,64(a0)
3a44: 02000593 li a1,32
3a48: 4808 lw a0,16(s0)
3a4a: 7f5000ef jal ra,4a3e <USART_GetFlagStatus>
3a4e: c519 beqz a0,3a5c <ch32_getc+0x1e>
3a50: 481c lw a5,16(s0)
3a52: 23ca lhu a0,4(a5)
3a54: 0ff57513 andi a0,a0,255
3a58: 96ffc06f j 3c6 <__riscv_restore_0>
3a5c: 557d li a0,-1
3a5e: bfed j 3a58 <ch32_getc+0x1a>
00003a60 <ch32_putc>:
3a60: 943fc2ef jal t0,3a2 <__riscv_save_0>
3a64: 4124 lw s1,64(a0)
3a66: 842e mv s0,a1
3a68: 4888 lw a0,16(s1)
3a6a: 04000593 li a1,64
3a6e: 7d1000ef jal ra,4a3e <USART_GetFlagStatus>
3a72: d97d beqz a0,3a68 <ch32_putc+0x8>
3a74: 489c lw a5,16(s1)
3a76: 0442 slli s0,s0,0x10
3a78: 8041 srli s0,s0,0x10
3a7a: a3c2 sh s0,4(a5)
3a7c: 4505 li a0,1
3a7e: 949fc06f j 3c6 <__riscv_restore_0>
00003a82 <ch32_control>:
3a82: 921fc2ef jal t0,3a2 <__riscv_save_0>
3a86: 47c1 li a5,16
3a88: 4138 lw a4,64(a0)
3a8a: 02f58b63 beq a1,a5,3ac0 <ch32_control+0x3e>
3a8e: 47c5 li a5,17
3a90: 02f59563 bne a1,a5,3aba <ch32_control+0x38>
3a94: 4b54 lw a3,20(a4)
3a96: 4605 li a2,1
3a98: 0056d793 srli a5,a3,0x5
3a9c: 06078793 addi a5,a5,96 # c0060 <__stack_size+0xb8060>
3aa0: 00d61633 sll a2,a2,a3
3aa4: 078a slli a5,a5,0x2
3aa6: e000e6b7 lui a3,0xe000e
3aaa: 97b6 add a5,a5,a3
3aac: c390 sw a2,0(a5)
3aae: 4601 li a2,0
3ab0: 4b08 lw a0,16(a4)
3ab2: 52500593 li a1,1317
3ab6: 743000ef jal ra,49f8 <USART_ITConfig>
3aba: 4501 li a0,0
3abc: 90bfc06f j 3c6 <__riscv_restore_0>
3ac0: 4b54 lw a3,20(a4)
3ac2: 4605 li a2,1
3ac4: 0056d793 srli a5,a3,0x5
3ac8: 04078793 addi a5,a5,64
3acc: 00d61633 sll a2,a2,a3
3ad0: 078a slli a5,a5,0x2
3ad2: e000e6b7 lui a3,0xe000e
3ad6: 97b6 add a5,a5,a3
3ad8: c390 sw a2,0(a5)
3ada: 4605 li a2,1
3adc: bfd1 j 3ab0 <ch32_control+0x2e>
00003ade <USART1_IRQHandler>:
3ade: 1141 addi sp,sp,-16
3ae0: c622 sw s0,12(sp)
3ae2: c426 sw s1,8(sp)
3ae4: 34011173 csrrw sp,mscratch,sp
3ae8: 864fd0ef jal ra,b4c <rt_interrupt_enter>
3aec: d5018793 addi a5,gp,-688 # 20000798 <serial1>
3af0: 43a0 lw s0,64(a5)
3af2: 52500593 li a1,1317
3af6: 4808 lw a0,16(s0)
3af8: 751000ef jal ra,4a48 <USART_GetITStatus>
3afc: c919 beqz a0,3b12 <USART1_IRQHandler+0x34>
3afe: 4585 li a1,1
3b00: d5018513 addi a0,gp,-688 # 20000798 <serial1>
3b04: d54ff0ef jal ra,3058 <rt_hw_serial_isr>
3b08: 4808 lw a0,16(s0)
3b0a: 52500593 li a1,1317
3b0e: 777000ef jal ra,4a84 <USART_ClearITPendingBit>
3b12: 868fd0ef jal ra,b7a <rt_interrupt_leave>
3b16: 34011173 csrrw sp,mscratch,sp
3b1a: 4432 lw s0,12(sp)
3b1c: 44a2 lw s1,8(sp)
3b1e: 0141 addi sp,sp,16
3b20: 30200073 mret
00003b24 <NMI_Handler>:
3b24: 34011173 csrrw sp,mscratch,sp
3b28: 824fd0ef jal ra,b4c <rt_interrupt_enter>
3b2c: 00006537 lui a0,0x6
3b30: 52050513 addi a0,a0,1312 # 6520 <ch32_uart_ops+0x20>
3b34: f88fd0ef jal ra,12bc <rt_kprintf>
3b38: 842fd0ef jal ra,b7a <rt_interrupt_leave>
3b3c: 34011173 csrrw sp,mscratch,sp
3b40: 30200073 mret
00003b44 <HardFault_Handler>:
3b44: 34011173 csrrw sp,mscratch,sp
3b48: 804fd0ef jal ra,b4c <rt_interrupt_enter>
3b4c: 00006537 lui a0,0x6
3b50: 51450513 addi a0,a0,1300 # 6514 <ch32_uart_ops+0x14>
3b54: f68fd0ef jal ra,12bc <rt_kprintf>
3b58: 822fd0ef jal ra,b7a <rt_interrupt_leave>
3b5c: 34011173 csrrw sp,mscratch,sp
3b60: 30200073 mret
00003b64 <main>:
3b64: 83ffc2ef jal t0,3a2 <__riscv_save_0>
3b68: 00006537 lui a0,0x6
3b6c: 53050513 addi a0,a0,1328 # 6530 <ch32_uart_ops+0x30>
3b70: f4cfd0ef jal ra,12bc <rt_kprintf>
3b74: 2a99 jal 3cca <SystemCoreClockUpdate>
3b76: 200007b7 lui a5,0x20000
3b7a: 2487a583 lw a1,584(a5) # 20000248 <SystemCoreClock>
3b7e: 00006537 lui a0,0x6
3b82: 54450513 addi a0,a0,1348 # 6544 <ch32_uart_ops+0x44>
3b86: f36fd0ef jal ra,12bc <rt_kprintf>
3b8a: 22d000ef jal ra,45b6 <DBGMCU_GetCHIPID>
3b8e: 85aa mv a1,a0
3b90: 00006537 lui a0,0x6
3b94: 55450513 addi a0,a0,1364 # 6554 <ch32_uart_ops+0x54>
3b98: f24fd0ef jal ra,12bc <rt_kprintf>
3b9c: 2025 jal 3bc4 <app_star>
3b9e: 4501 li a0,0
3ba0: 827fc06f j 3c6 <__riscv_restore_0>
00003ba4 <hareware_init>:
3ba4: ffefc2ef jal t0,3a2 <__riscv_save_0>
3ba8: 6f1000ef jal ra,4a98 <android_PowerCtrl_Init>
3bac: 6fd000ef jal ra,4aa8 <android_PowerCtrl_Open>
3bb0: 817fc06f j 3c6 <__riscv_restore_0>
00003bb4 <software_init>:
3bb4: feefc2ef jal t0,3a2 <__riscv_save_0>
3bb8: 77a000ef jal ra,4332 <uart_dev_init>
3bbc: 2571 jal 4248 <Send_mq_Init>
3bbe: 2d0d jal 41f0 <Recv_thread_Init>
3bc0: 2db1 jal 421c <Send_thread_Init>
3bc2: a001 j 3bc2 <software_init+0xe>
00003bc4 <app_star>:
3bc4: fdefc2ef jal t0,3a2 <__riscv_save_0>
3bc8: fddff0ef jal ra,3ba4 <hareware_init>
3bcc: fe9ff0ef jal ra,3bb4 <software_init>
00003bd0 <SystemInit>:
3bd0: 400217b7 lui a5,0x40021
3bd4: 4398 lw a4,0(a5)
3bd6: f0ff06b7 lui a3,0xf0ff0
3bda: 1141 addi sp,sp,-16
3bdc: 00176713 ori a4,a4,1
3be0: c398 sw a4,0(a5)
3be2: 43d8 lw a4,4(a5)
3be4: 00020637 lui a2,0x20
3be8: 8f75 and a4,a4,a3
3bea: c3d8 sw a4,4(a5)
3bec: 4398 lw a4,0(a5)
3bee: fef706b7 lui a3,0xfef70
3bf2: 16fd addi a3,a3,-1
3bf4: 8f75 and a4,a4,a3
3bf6: c398 sw a4,0(a5)
3bf8: 4398 lw a4,0(a5)
3bfa: fffc06b7 lui a3,0xfffc0
3bfe: 16fd addi a3,a3,-1
3c00: 8f75 and a4,a4,a3
3c02: c398 sw a4,0(a5)
3c04: 43d8 lw a4,4(a5)
3c06: ff0106b7 lui a3,0xff010
3c0a: 16fd addi a3,a3,-1
3c0c: 8f75 and a4,a4,a3
3c0e: c3d8 sw a4,4(a5)
3c10: 4398 lw a4,0(a5)
3c12: ec0006b7 lui a3,0xec000
3c16: 16fd addi a3,a3,-1
3c18: 8f75 and a4,a4,a3
3c1a: c398 sw a4,0(a5)
3c1c: 00ff0737 lui a4,0xff0
3c20: c798 sw a4,8(a5)
3c22: 0207a623 sw zero,44(a5) # 4002102c <_eusrstack+0x2001102c>
3c26: c402 sw zero,8(sp)
3c28: c602 sw zero,12(sp)
3c2a: 4398 lw a4,0(a5)
3c2c: 66c1 lui a3,0x10
3c2e: 8f55 or a4,a4,a3
3c30: c398 sw a4,0(a5)
3c32: 400216b7 lui a3,0x40021
3c36: 6705 lui a4,0x1
3c38: 429c lw a5,0(a3)
3c3a: 8ff1 and a5,a5,a2
3c3c: c63e sw a5,12(sp)
3c3e: 47a2 lw a5,8(sp)
3c40: 0785 addi a5,a5,1
3c42: c43e sw a5,8(sp)
3c44: 47b2 lw a5,12(sp)
3c46: e781 bnez a5,3c4e <SystemInit+0x7e>
3c48: 47a2 lw a5,8(sp)
3c4a: fee797e3 bne a5,a4,3c38 <SystemInit+0x68>
3c4e: 400217b7 lui a5,0x40021
3c52: 439c lw a5,0(a5)
3c54: 00e79713 slli a4,a5,0xe
3c58: 06075763 bgez a4,3cc6 <SystemInit+0xf6>
3c5c: 4785 li a5,1
3c5e: c63e sw a5,12(sp)
3c60: 4732 lw a4,12(sp)
3c62: 4785 li a5,1
3c64: 04f71f63 bne a4,a5,3cc2 <SystemInit+0xf2>
3c68: 400217b7 lui a5,0x40021
3c6c: 43d8 lw a4,4(a5)
3c6e: ffc106b7 lui a3,0xffc10
3c72: 16fd addi a3,a3,-1
3c74: c3d8 sw a4,4(a5)
3c76: 43d8 lw a4,4(a5)
3c78: c3d8 sw a4,4(a5)
3c7a: 43d8 lw a4,4(a5)
3c7c: 40076713 ori a4,a4,1024
3c80: c3d8 sw a4,4(a5)
3c82: 43d8 lw a4,4(a5)
3c84: 8f75 and a4,a4,a3
3c86: c3d8 sw a4,4(a5)
3c88: 43d8 lw a4,4(a5)
3c8a: 002906b7 lui a3,0x290
3c8e: 8f55 or a4,a4,a3
3c90: c3d8 sw a4,4(a5)
3c92: 4398 lw a4,0(a5)
3c94: 010006b7 lui a3,0x1000
3c98: 8f55 or a4,a4,a3
3c9a: c398 sw a4,0(a5)
3c9c: 4398 lw a4,0(a5)
3c9e: 00671693 slli a3,a4,0x6
3ca2: fe06dde3 bgez a3,3c9c <SystemInit+0xcc>
3ca6: 43d8 lw a4,4(a5)
3ca8: 400216b7 lui a3,0x40021
3cac: 9b71 andi a4,a4,-4
3cae: c3d8 sw a4,4(a5)
3cb0: 43d8 lw a4,4(a5)
3cb2: 00276713 ori a4,a4,2
3cb6: c3d8 sw a4,4(a5)
3cb8: 4721 li a4,8
3cba: 42dc lw a5,4(a3)
3cbc: 8bb1 andi a5,a5,12
3cbe: fee79ee3 bne a5,a4,3cba <SystemInit+0xea>
3cc2: 0141 addi sp,sp,16
3cc4: 8082 ret
3cc6: c602 sw zero,12(sp)
3cc8: bf61 j 3c60 <SystemInit+0x90>
00003cca <SystemCoreClockUpdate>:
3cca: 400216b7 lui a3,0x40021
3cce: 42d8 lw a4,4(a3)
3cd0: 200007b7 lui a5,0x20000
3cd4: 4611 li a2,4
3cd6: 8b31 andi a4,a4,12
3cd8: 24878793 addi a5,a5,584 # 20000248 <SystemCoreClock>
3cdc: 00c70563 beq a4,a2,3ce6 <SystemCoreClockUpdate+0x1c>
3ce0: 4621 li a2,8
3ce2: 02c70863 beq a4,a2,3d12 <SystemCoreClockUpdate+0x48>
3ce6: 007a1737 lui a4,0x7a1
3cea: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
3cee: c398 sw a4,0(a5)
3cf0: 40021737 lui a4,0x40021
3cf4: 4358 lw a4,4(a4)
3cf6: 8311 srli a4,a4,0x4
3cf8: 00f77693 andi a3,a4,15
3cfc: 20000737 lui a4,0x20000
3d00: 14070713 addi a4,a4,320 # 20000140 <AHBPrescTable>
3d04: 9736 add a4,a4,a3
3d06: 2314 lbu a3,0(a4)
3d08: 4398 lw a4,0(a5)
3d0a: 00d75733 srl a4,a4,a3
3d0e: c398 sw a4,0(a5)
3d10: 8082 ret
3d12: 42d8 lw a4,4(a3)
3d14: 42d4 lw a3,4(a3)
3d16: 6641 lui a2,0x10
3d18: 8349 srli a4,a4,0x12
3d1a: 8b3d andi a4,a4,15
3d1c: 8ef1 and a3,a3,a2
3d1e: 00270613 addi a2,a4,2
3d22: cf15 beqz a4,3d5e <SystemCoreClockUpdate+0x94>
3d24: 473d li a4,15
3d26: 02e60f63 beq a2,a4,3d64 <SystemCoreClockUpdate+0x9a>
3d2a: 4741 li a4,16
3d2c: 02e60f63 beq a2,a4,3d6a <SystemCoreClockUpdate+0xa0>
3d30: 4745 li a4,17
3d32: 4581 li a1,0
3d34: 00e61363 bne a2,a4,3d3a <SystemCoreClockUpdate+0x70>
3d38: 4641 li a2,16
3d3a: e2a1 bnez a3,3d7a <SystemCoreClockUpdate+0xb0>
3d3c: 40024737 lui a4,0x40024
3d40: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x20013800>
3d44: 8b41 andi a4,a4,16
3d46: c70d beqz a4,3d70 <SystemCoreClockUpdate+0xa6>
3d48: 007a1737 lui a4,0x7a1
3d4c: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
3d50: 02c70633 mul a2,a4,a2
3d54: c390 sw a2,0(a5)
3d56: ddc9 beqz a1,3cf0 <SystemCoreClockUpdate+0x26>
3d58: 4398 lw a4,0(a5)
3d5a: 8305 srli a4,a4,0x1
3d5c: bf49 j 3cee <SystemCoreClockUpdate+0x24>
3d5e: 4581 li a1,0
3d60: 4649 li a2,18
3d62: bfe1 j 3d3a <SystemCoreClockUpdate+0x70>
3d64: 4585 li a1,1
3d66: 4635 li a2,13
3d68: bfc9 j 3d3a <SystemCoreClockUpdate+0x70>
3d6a: 4581 li a1,0
3d6c: 463d li a2,15
3d6e: b7f1 j 3d3a <SystemCoreClockUpdate+0x70>
3d70: 003d1737 lui a4,0x3d1
3d74: 90070713 addi a4,a4,-1792 # 3d0900 <__stack_size+0x3c8900>
3d78: bfe1 j 3d50 <SystemCoreClockUpdate+0x86>
3d7a: 40021537 lui a0,0x40021
3d7e: 5558 lw a4,44(a0)
3d80: 00f71693 slli a3,a4,0xf
3d84: 5558 lw a4,44(a0)
3d86: 0406df63 bgez a3,3de4 <SystemCoreClockUpdate+0x11a>
3d8a: 8311 srli a4,a4,0x4
3d8c: 8b3d andi a4,a4,15
3d8e: 00170693 addi a3,a4,1
3d92: 007a1737 lui a4,0x7a1
3d96: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
3d9a: 02d75733 divu a4,a4,a3
3d9e: c398 sw a4,0(a5)
3da0: 5554 lw a3,44(a0)
3da2: 82a1 srli a3,a3,0x8
3da4: 8abd andi a3,a3,15
3da6: e28d bnez a3,3dc8 <SystemCoreClockUpdate+0xfe>
3da8: 4695 li a3,5
3daa: 02d70733 mul a4,a4,a3
3dae: 8305 srli a4,a4,0x1
3db0: c398 sw a4,0(a5)
3db2: 40021737 lui a4,0x40021
3db6: 5758 lw a4,44(a4)
3db8: 4394 lw a3,0(a5)
3dba: 8b3d andi a4,a4,15
3dbc: 0705 addi a4,a4,1
3dbe: 02e6d733 divu a4,a3,a4
3dc2: c398 sw a4,0(a5)
3dc4: 4398 lw a4,0(a5)
3dc6: b769 j 3d50 <SystemCoreClockUpdate+0x86>
3dc8: 4505 li a0,1
3dca: 00a69463 bne a3,a0,3dd2 <SystemCoreClockUpdate+0x108>
3dce: 46e5 li a3,25
3dd0: bfe9 j 3daa <SystemCoreClockUpdate+0xe0>
3dd2: 453d li a0,15
3dd4: 00a69663 bne a3,a0,3de0 <SystemCoreClockUpdate+0x116>
3dd8: 46d1 li a3,20
3dda: 02e68733 mul a4,a3,a4
3dde: bfc9 j 3db0 <SystemCoreClockUpdate+0xe6>
3de0: 0689 addi a3,a3,2
3de2: bfe5 j 3dda <SystemCoreClockUpdate+0x110>
3de4: 8b3d andi a4,a4,15
3de6: 00170693 addi a3,a4,1 # 40021001 <_eusrstack+0x20011001>
3dea: 007a1737 lui a4,0x7a1
3dee: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
3df2: 02d75733 divu a4,a4,a3
3df6: b7f1 j 3dc2 <SystemCoreClockUpdate+0xf8>
00003df8 <ADC1_2_IRQHandler>:
3df8: a001 j 3df8 <ADC1_2_IRQHandler>
00003dfa <handle_reset>:
3dfa: 34129073 csrw mepc,t0
3dfe: 1fffd197 auipc gp,0x1fffd
3e02: c4a18193 addi gp,gp,-950 # 20000a48 <__global_pointer$>
3e06: 2000c117 auipc sp,0x2000c
3e0a: 1fa10113 addi sp,sp,506 # 20010000 <_eusrstack>
3e0e: 00003517 auipc a0,0x3
3e12: 92e50513 addi a0,a0,-1746 # 673c <__rt_init_end>
3e16: 1fffc597 auipc a1,0x1fffc
3e1a: 1ea58593 addi a1,a1,490 # 20000000 <_data_vma>
3e1e: 80818613 addi a2,gp,-2040 # 20000250 <_edata>
3e22: 00c5fa63 bgeu a1,a2,3e36 <handle_reset+0x3c>
3e26: 00052283 lw t0,0(a0)
3e2a: 0055a023 sw t0,0(a1)
3e2e: 0511 addi a0,a0,4
3e30: 0591 addi a1,a1,4
3e32: fec5eae3 bltu a1,a2,3e26 <handle_reset+0x2c>
3e36: 80818513 addi a0,gp,-2040 # 20000250 <_edata>
3e3a: 11018593 addi a1,gp,272 # 20000b58 <_ebss>
3e3e: 00b57763 bgeu a0,a1,3e4c <handle_reset+0x52>
3e42: 00052023 sw zero,0(a0)
3e46: 0511 addi a0,a0,4
3e48: feb56de3 bltu a0,a1,3e42 <handle_reset+0x48>
3e4c: 42fd li t0,31
3e4e: bc029073 csrw 0xbc0,t0
3e52: 42fd li t0,31
3e54: 80429073 csrw 0x804,t0
3e58: 000082b7 lui t0,0x8
3e5c: 80028293 addi t0,t0,-2048 # 7800 <__rt_init_end+0x10c4>
3e60: 30029073 csrw mstatus,t0
3e64: ffffc297 auipc t0,0xffffc
3e68: 1a028293 addi t0,t0,416 # 4 <_einit>
3e6c: 0032e293 ori t0,t0,3
3e70: 30529073 csrw mtvec,t0
3e74: d5dff0ef jal ra,3bd0 <SystemInit>
3e78: ffffc297 auipc t0,0xffffc
3e7c: 70028293 addi t0,t0,1792 # 578 <entry>
3e80: 34129073 csrw mepc,t0
3e84: 30200073 mret
00003e88 <SL_MsgProcFunc_Read_Register>:
3e88: d1afc2ef jal t0,3a2 <__riscv_save_0>
3e8c: 892a mv s2,a0
3e8e: 8432 mv s0,a2
3e90: 84ae mv s1,a1
3e92: 4661 li a2,24
3e94: 4581 li a1,0
3e96: df818513 addi a0,gp,-520 # 20000840 <MqUartSend_pack+0x4>
3e9a: d38fc0ef jal ra,3d2 <memset>
3e9e: df418793 addi a5,gp,-524 # 2000083c <MqUartSend_pack>
3ea2: b3c0 sb s0,5(a5)
3ea4: df21aa23 sw s2,-524(gp) # 2000083c <MqUartSend_pack>
3ea8: 4781 li a5,0
3eaa: df418713 addi a4,gp,-524 # 2000083c <MqUartSend_pack>
3eae: 0287e263 bltu a5,s0,3ed2 <SL_MsgProcFunc_Read_Register+0x4a>
3eb2: 8b01a503 lw a0,-1872(gp) # 200002f8 <mqSend>
3eb6: 8622 mv a2,s0
3eb8: df418593 addi a1,gp,-524 # 2000083c <MqUartSend_pack>
3ebc: b05fc0ef jal ra,9c0 <rt_mq_send>
3ec0: c519 beqz a0,3ece <SL_MsgProcFunc_Read_Register+0x46>
3ec2: 00006537 lui a0,0x6
3ec6: 56450513 addi a0,a0,1380 # 6564 <ch32_uart_ops+0x64>
3eca: bf2fd0ef jal ra,12bc <rt_kprintf>
3ece: cf8fc06f j 3c6 <__riscv_restore_0>
3ed2: 00f486b3 add a3,s1,a5
3ed6: 2290 lbu a2,0(a3)
3ed8: 00f706b3 add a3,a4,a5
3edc: 0785 addi a5,a5,1
3ede: a2f0 sb a2,6(a3)
3ee0: 0ff7f793 andi a5,a5,255
3ee4: b7e9 j 3eae <SL_MsgProcFunc_Read_Register+0x26>
00003ee6 <CheckFunc>:
3ee6: 67c1 lui a5,0x10
3ee8: 7669 lui a2,0xffffa
3eea: 4681 li a3,0
3eec: 17fd addi a5,a5,-1
3eee: 0605 addi a2,a2,1
3ef0: 01069713 slli a4,a3,0x10
3ef4: 8341 srli a4,a4,0x10
3ef6: 00b76463 bltu a4,a1,3efe <CheckFunc+0x18>
3efa: 853e mv a0,a5
3efc: 8082 ret
3efe: 00d50733 add a4,a0,a3
3f02: 2318 lbu a4,0(a4)
3f04: 8fb9 xor a5,a5,a4
3f06: 4721 li a4,8
3f08: 0017f813 andi a6,a5,1
3f0c: 8385 srli a5,a5,0x1
3f0e: 00080563 beqz a6,3f18 <CheckFunc+0x32>
3f12: 8fb1 xor a5,a5,a2
3f14: 07c2 slli a5,a5,0x10
3f16: 83c1 srli a5,a5,0x10
3f18: 177d addi a4,a4,-1
3f1a: 0742 slli a4,a4,0x10
3f1c: 8341 srli a4,a4,0x10
3f1e: f76d bnez a4,3f08 <CheckFunc+0x22>
3f20: 0685 addi a3,a3,1
3f22: b7f9 j 3ef0 <CheckFunc+0xa>
00003f24 <SL_MsgProcFunc_Registration_request>:
3f24: c64fc2ef jal t0,388 <__riscv_save_4>
3f28: 84ae mv s1,a1
3f2a: 842a mv s0,a0
3f2c: 4659 li a2,22
3f2e: 4581 li a1,0
3f30: dfa18513 addi a0,gp,-518 # 20000842 <MqUartSend_pack+0x6>
3f34: c9efc0ef jal ra,3d2 <memset>
3f38: 6785 lui a5,0x1
3f3a: de81aa23 sw s0,-524(gp) # 2000083c <MqUartSend_pack>
3f3e: 10178793 addi a5,a5,257 # 1101 <rt_vsnprintf+0x1cf>
3f42: df418413 addi s0,gp,-524 # 2000083c <MqUartSend_pack>
3f46: a05e sh a5,4(s0)
3f48: 209c lbu a5,0(s1)
3f4a: 45b9 li a1,14
3f4c: dfa18513 addi a0,gp,-518 # 20000842 <MqUartSend_pack+0x6>
3f50: a07c sb a5,6(s0)
3f52: 309c lbu a5,1(s1)
3f54: b07c sb a5,7(s0)
3f56: 24fc lbu a5,14(s1)
3f58: a41c sb a5,8(s0)
3f5a: 34fc lbu a5,15(s1)
3f5c: b41c sb a5,9(s0)
3f5e: 289c lbu a5,16(s1)
3f60: a43c sb a5,10(s0)
3f62: 389c lbu a5,17(s1)
3f64: b43c sb a5,11(s0)
3f66: 28bc lbu a5,18(s1)
3f68: a45c sb a5,12(s0)
3f6a: 38bc lbu a5,19(s1)
3f6c: b45c sb a5,13(s0)
3f6e: 28dc lbu a5,20(s1)
3f70: a47c sb a5,14(s0)
3f72: 349c lbu a5,9(s1)
3f74: b47c sb a5,15(s0)
3f76: 24bc lbu a5,10(s1)
3f78: a81c sb a5,16(s0)
3f7a: 34bc lbu a5,11(s1)
3f7c: b81c sb a5,17(s0)
3f7e: 4789 li a5,2
3f80: b83c sb a5,19(s0)
3f82: f65ff0ef jal ra,3ee6 <CheckFunc>
3f86: 00851793 slli a5,a0,0x8
3f8a: 8121 srli a0,a0,0x8
3f8c: 8d5d or a0,a0,a5
3f8e: 47d9 li a5,22
3f90: a87c sb a5,22(s0)
3f92: a84a sh a0,20(s0)
3f94: 8b01a503 lw a0,-1872(gp) # 200002f8 <mqSend>
3f98: 4671 li a2,28
3f9a: df418593 addi a1,gp,-524 # 2000083c <MqUartSend_pack>
3f9e: a23fc0ef jal ra,9c0 <rt_mq_send>
3fa2: c519 beqz a0,3fb0 <SL_MsgProcFunc_Registration_request+0x8c>
3fa4: 00006537 lui a0,0x6
3fa8: 56450513 addi a0,a0,1380 # 6564 <ch32_uart_ops+0x64>
3fac: b10fd0ef jal ra,12bc <rt_kprintf>
3fb0: c0cfc06f j 3bc <__riscv_restore_4>
00003fb4 <FRT_MsgHandler>:
3fb4: bd4fc2ef jal t0,388 <__riscv_save_4>
3fb8: 20000437 lui s0,0x20000
3fbc: 15042783 lw a5,336(s0) # 20000150 <g_MsgTbl>
3fc0: 3598 lbu a4,9(a1)
3fc2: 892a mv s2,a0
3fc4: 84ae mv s1,a1
3fc6: 89b2 mv s3,a2
3fc8: 15040413 addi s0,s0,336
3fcc: 00f71463 bne a4,a5,3fd4 <FRT_MsgHandler+0x20>
3fd0: 405c lw a5,4(s0)
3fd2: 9782 jalr a5
3fd4: 3498 lbu a4,9(s1)
3fd6: 441c lw a5,8(s0)
3fd8: 00f71763 bne a4,a5,3fe6 <FRT_MsgHandler+0x32>
3fdc: 445c lw a5,12(s0)
3fde: 864e mv a2,s3
3fe0: 85a6 mv a1,s1
3fe2: 854a mv a0,s2
3fe4: 9782 jalr a5
3fe6: bd6fc06f j 3bc <__riscv_restore_4>
00003fea <read_and_process_uart_data>:
3fea: b88fc2ef jal t0,372 <__riscv_save_12>
3fee: 1141 addi sp,sp,-16
3ff0: 8baa mv s7,a0
3ff2: 2b9d jal 4568 <uart_dev_char_present>
3ff4: c571 beqz a0,40c0 <read_and_process_uart_data+0xd6>
3ff6: 4579 li a0,30
3ff8: bedfd0ef jal ra,1be4 <rt_thread_mdelay>
3ffc: 855e mv a0,s7
3ffe: 236d jal 45a8 <ring_queue_length>
4000: 85aa mv a1,a0
4002: 00006537 lui a0,0x6
4006: 57450513 addi a0,a0,1396 # 6574 <ch32_uart_ops+0x74>
400a: ab2fd0ef jal ra,12bc <rt_kprintf>
400e: 03200613 li a2,50
4012: 4581 li a1,0
4014: dc018513 addi a0,gp,-576 # 20000808 <uart_buff>
4018: dc018993 addi s3,gp,-576 # 20000808 <uart_buff>
401c: bb6fc0ef jal ra,3d2 <memset>
4020: 4901 li s2,0
4022: 4b01 li s6,0
4024: 4481 li s1,0
4026: 4401 li s0,0
4028: 4c89 li s9,2
402a: dc018a13 addi s4,gp,-576 # 20000808 <uart_buff>
402e: 03000d13 li s10,48
4032: 00198c13 addi s8,s3,1
4036: 855e mv a0,s7
4038: 2b85 jal 45a8 <ring_queue_length>
403a: c159 beqz a0,40c0 <read_and_process_uart_data+0xd6>
403c: 855e mv a0,s7
403e: 2389 jal 4580 <uart_dev_in_char>
4040: 0ff57d93 andi s11,a0,255
4044: 008987b3 add a5,s3,s0
4048: 00140613 addi a2,s0,1
404c: 01b78023 sb s11,0(a5)
4050: 01960463 beq a2,s9,4058 <read_and_process_uart_data+0x6e>
4054: 0e048e63 beqz s1,4150 <read_and_process_uart_data+0x166>
4058: 200007b7 lui a5,0x20000
405c: 000a4683 lbu a3,0(s4)
4060: 1607c783 lbu a5,352(a5) # 20000160 <g_slConfigInfo>
4064: 00f69b63 bne a3,a5,407a <read_and_process_uart_data+0x90>
4068: 200007b7 lui a5,0x20000
406c: 16078793 addi a5,a5,352 # 20000160 <g_slConfigInfo>
4070: 001a4683 lbu a3,1(s4)
4074: 339c lbu a5,1(a5)
4076: 00f68963 beq a3,a5,4088 <read_and_process_uart_data+0x9e>
407a: 8622 mv a2,s0
407c: 85e2 mv a1,s8
407e: 854e mv a0,s3
4080: 6b5000ef jal ra,4f34 <memcpy>
4084: 8622 mv a2,s0
4086: a81d j 40bc <read_and_process_uart_data+0xd2>
4088: 47a9 li a5,10
408a: 00f60463 beq a2,a5,4092 <read_and_process_uart_data+0xa8>
408e: 0c9cf463 bgeu s9,s1,4156 <read_and_process_uart_data+0x16c>
4092: 009a4783 lbu a5,9(s4)
4096: 0da78263 beq a5,s10,415a <read_and_process_uart_data+0x170>
409a: 0a100693 li a3,161
409e: 0ad78363 beq a5,a3,4144 <read_and_process_uart_data+0x15a>
40a2: 87a6 mv a5,s1
40a4: 0194f363 bgeu s1,s9,40aa <read_and_process_uart_data+0xc0>
40a8: 4789 li a5,2
40aa: 8622 mv a2,s0
40ac: 85e2 mv a1,s8
40ae: 854e mv a0,s3
40b0: 0ff7f493 andi s1,a5,255
40b4: 681000ef jal ra,4f34 <memcpy>
40b8: 8622 mv a2,s0
40ba: 4b01 li s6,0
40bc: 0acd7763 bgeu s10,a2,416a <read_and_process_uart_data+0x180>
40c0: 0141 addi sp,sp,16
40c2: aecfc06f j 3ae <__riscv_restore_12>
40c6: ff261be3 bne a2,s2,40bc <read_and_process_uart_data+0xd2>
40ca: 009a4783 lbu a5,9(s4)
40ce: 05a79263 bne a5,s10,4112 <read_and_process_uart_data+0x128>
40d2: ffd60593 addi a1,a2,-3 # ffff9ffd <_eusrstack+0xdffe9ffd>
40d6: 0ff5f593 andi a1,a1,255
40da: 854e mv a0,s3
40dc: c632 sw a2,12(sp)
40de: e09ff0ef jal ra,3ee6 <CheckFunc>
40e2: 008a06b3 add a3,s4,s0
40e6: ffe6c783 lbu a5,-2(a3) # 40020ffe <_eusrstack+0x20010ffe>
40ea: fff6c683 lbu a3,-1(a3)
40ee: 4632 lw a2,12(sp)
40f0: 07a2 slli a5,a5,0x8
40f2: 8fd5 or a5,a5,a3
40f4: 00f51563 bne a0,a5,40fe <read_and_process_uart_data+0x114>
40f8: 47d9 li a5,22
40fa: 02fd8f63 beq s11,a5,4138 <read_and_process_uart_data+0x14e>
40fe: 470d li a4,3
4100: 87a6 mv a5,s1
4102: 00e4f363 bgeu s1,a4,4108 <read_and_process_uart_data+0x11e>
4106: 478d li a5,3
4108: 0ff7f493 andi s1,a5,255
410c: b7bd j 407a <read_and_process_uart_data+0x90>
410e: 4969 li s2,26
4110: 4b01 li s6,0
4112: ffd90593 addi a1,s2,-3
4116: 0ff5f593 andi a1,a1,255
411a: 854e mv a0,s3
411c: dcbff0ef jal ra,3ee6 <CheckFunc>
4120: 017a4783 lbu a5,23(s4)
4124: 018a4683 lbu a3,24(s4)
4128: 07a2 slli a5,a5,0x8
412a: 8fd5 or a5,a5,a3
412c: fca799e3 bne a5,a0,40fe <read_and_process_uart_data+0x114>
4130: 47d9 li a5,22
4132: fcfd96e3 bne s11,a5,40fe <read_and_process_uart_data+0x114>
4136: 864a mv a2,s2
4138: dc018593 addi a1,gp,-576 # 20000808 <uart_buff>
413c: 855e mv a0,s7
413e: e77ff0ef jal ra,3fb4 <FRT_MsgHandler>
4142: bfbd j 40c0 <read_and_process_uart_data+0xd6>
4144: 47e9 li a5,26
4146: fcf604e3 beq a2,a5,410e <read_and_process_uart_data+0x124>
414a: 4b01 li s6,0
414c: 4969 li s2,26
414e: b7bd j 40bc <read_and_process_uart_data+0xd2>
4150: 47a9 li a5,10
4152: f4f600e3 beq a2,a5,4092 <read_and_process_uart_data+0xa8>
4156: f60b08e3 beqz s6,40c6 <read_and_process_uart_data+0xdc>
415a: 47b1 li a5,12
415c: 4b05 li s6,1
415e: f6f614e3 bne a2,a5,40c6 <read_and_process_uart_data+0xdc>
4162: 00ba4903 lbu s2,11(s4)
4166: 0906 slli s2,s2,0x1
4168: 093d addi s2,s2,15
416a: 8432 mv s0,a2
416c: b5e9 j 4036 <read_and_process_uart_data+0x4c>
0000416e <send_data>:
416e: 2158 lbu a4,4(a0)
4170: 4785 li a5,1
4172: 00f71c63 bne a4,a5,418a <send_data+0x1c>
4176: a2cfc2ef jal t0,3a2 <__riscv_save_0>
417a: 3150 lbu a2,5(a0)
417c: 00650593 addi a1,a0,6
4180: 4108 lw a0,0(a0)
4182: 0605 addi a2,a2,1
4184: 2e0d jal 44b6 <uart_dev_write>
4186: a40fc06f j 3c6 <__riscv_restore_0>
418a: 8082 ret
0000418c <Recv_thread_entry>:
418c: a16fc2ef jal t0,3a2 <__riscv_save_0>
4190: 00006537 lui a0,0x6
4194: 59850513 addi a0,a0,1432 # 6598 <ch32_uart_ops+0x98>
4198: 924fd0ef jal ra,12bc <rt_kprintf>
419c: 8c41a503 lw a0,-1852(gp) # 2000030c <g_J50RS485_USART3_handle>
41a0: e4bff0ef jal ra,3fea <read_and_process_uart_data>
41a4: 06400513 li a0,100
41a8: a3dfd0ef jal ra,1be4 <rt_thread_mdelay>
41ac: bfc5 j 419c <Recv_thread_entry+0x10>
000041ae <Send_thread_entry>:
41ae: 9f4fc2ef jal t0,3a2 <__riscv_save_0>
41b2: 00006537 lui a0,0x6
41b6: 7159 addi sp,sp,-112
41b8: 5ac50513 addi a0,a0,1452 # 65ac <ch32_uart_ops+0xac>
41bc: 900fd0ef jal ra,12bc <rt_kprintf>
41c0: 00006437 lui s0,0x6
41c4: 06400613 li a2,100
41c8: 4581 li a1,0
41ca: 0068 addi a0,sp,12
41cc: a06fc0ef jal ra,3d2 <memset>
41d0: 8b01a503 lw a0,-1872(gp) # 200002f8 <mqSend>
41d4: 56fd li a3,-1
41d6: 06400613 li a2,100
41da: 006c addi a1,sp,12
41dc: 867fc0ef jal ra,a42 <rt_mq_recv>
41e0: 5b840513 addi a0,s0,1464 # 65b8 <ch32_uart_ops+0xb8>
41e4: 8d8fd0ef jal ra,12bc <rt_kprintf>
41e8: 0068 addi a0,sp,12
41ea: f85ff0ef jal ra,416e <send_data>
41ee: bfd9 j 41c4 <Send_thread_entry+0x16>
000041f0 <Recv_thread_Init>:
41f0: 9b2fc2ef jal t0,3a2 <__riscv_save_0>
41f4: 000045b7 lui a1,0x4
41f8: 00006537 lui a0,0x6
41fc: 47d1 li a5,20
41fe: 4709 li a4,2
4200: 20000693 li a3,512
4204: 4601 li a2,0
4206: 18c58593 addi a1,a1,396 # 418c <Recv_thread_entry>
420a: 59050513 addi a0,a0,1424 # 6590 <ch32_uart_ops+0x90>
420e: 8b5fd0ef jal ra,1ac2 <rt_thread_create>
4212: c119 beqz a0,4218 <Recv_thread_Init+0x28>
4214: a2bfd0ef jal ra,1c3e <rt_thread_startup>
4218: 9aefc06f j 3c6 <__riscv_restore_0>
0000421c <Send_thread_Init>:
421c: 986fc2ef jal t0,3a2 <__riscv_save_0>
4220: 000045b7 lui a1,0x4
4224: 00006537 lui a0,0x6
4228: 47d1 li a5,20
422a: 470d li a4,3
422c: 20000693 li a3,512
4230: 4601 li a2,0
4232: 1ae58593 addi a1,a1,430 # 41ae <Send_thread_entry>
4236: 5a450513 addi a0,a0,1444 # 65a4 <ch32_uart_ops+0xa4>
423a: 889fd0ef jal ra,1ac2 <rt_thread_create>
423e: c119 beqz a0,4244 <Send_thread_Init+0x28>
4240: 9fffd0ef jal ra,1c3e <rt_thread_startup>
4244: 982fc06f j 3c6 <__riscv_restore_0>
00004248 <Send_mq_Init>:
4248: 95afc2ef jal t0,3a2 <__riscv_save_0>
424c: 00006537 lui a0,0x6
4250: 4681 li a3,0
4252: 4651 li a2,20
4254: 06400593 li a1,100
4258: 5c850513 addi a0,a0,1480 # 65c8 <ch32_uart_ops+0xc8>
425c: ee4fc0ef jal ra,940 <rt_mq_create>
4260: 8aa1a823 sw a0,-1872(gp) # 200002f8 <mqSend>
4264: 00a03533 snez a0,a0
4268: 95efc06f j 3c6 <__riscv_restore_0>
0000426c <uart_putchar>:
426c: cd11 beqz a0,4288 <uart_putchar+0x1c>
426e: 211c lbu a5,0(a0)
4270: cf89 beqz a5,428a <uart_putchar+0x1e>
4272: 930fc2ef jal t0,3a2 <__riscv_save_0>
4276: 4148 lw a0,4(a0)
4278: 0ff5f593 andi a1,a1,255
427c: 47b000ef jal ra,4ef6 <USARTx_SendByte_str>
4280: 4785 li a5,1
4282: 853e mv a0,a5
4284: 942fc06f j 3c6 <__riscv_restore_0>
4288: 4781 li a5,0
428a: 853e mv a0,a5
428c: 8082 ret
0000428e <uart_init.constprop.0>:
428e: 914fc2ef jal t0,3a2 <__riscv_save_0>
4292: 842a mv s0,a0
4294: 405c lw a5,4(s0)
4296: 6509 lui a0,0x2
4298: 58050513 addi a0,a0,1408 # 2580 <msh_help+0x34>
429c: 40002737 lui a4,0x40002
42a0: c408 sw a0,8(s0)
42a2: 80070693 addi a3,a4,-2048 # 40001800 <_eusrstack+0x1fff1800>
42a6: 00d79663 bne a5,a3,42b2 <uart_init.constprop.0+0x24>
42aa: 021000ef jal ra,4aca <J1_485_Init>
42ae: 918fc06f j 3c6 <__riscv_restore_0>
42b2: c0070693 addi a3,a4,-1024
42b6: 00d79563 bne a5,a3,42c0 <uart_init.constprop.0+0x32>
42ba: 049000ef jal ra,4b02 <J2_485_Init>
42be: bfc5 j 42ae <uart_init.constprop.0+0x20>
42c0: 400046b7 lui a3,0x40004
42c4: 40068693 addi a3,a3,1024 # 40004400 <_eusrstack+0x1fff4400>
42c8: 00d79563 bne a5,a3,42d2 <uart_init.constprop.0+0x44>
42cc: 06f000ef jal ra,4b3a <J3_485_Init>
42d0: bff9 j 42ae <uart_init.constprop.0+0x20>
42d2: 00e79563 bne a5,a4,42dc <uart_init.constprop.0+0x4e>
42d6: 09d000ef jal ra,4b72 <J4_485_Init>
42da: bfd1 j 42ae <uart_init.constprop.0+0x20>
42dc: 40005737 lui a4,0x40005
42e0: 80070713 addi a4,a4,-2048 # 40004800 <_eusrstack+0x1fff4800>
42e4: fce795e3 bne a5,a4,42ae <uart_init.constprop.0+0x20>
42e8: 225000ef jal ra,4d0c <J5_0_485_Init>
42ec: 4c5c lw a5,28(s0)
42ee: e781 bnez a5,42f6 <uart_init.constprop.0+0x68>
42f0: 1e3000ef jal ra,4cd2 <USART_CONNET_J0>
42f4: bf6d j 42ae <uart_init.constprop.0+0x20>
42f6: 4715 li a4,5
42f8: 00e79563 bne a5,a4,4302 <uart_init.constprop.0+0x74>
42fc: 313000ef jal ra,4e0e <USART_CONNET_J5>
4300: b77d j 42ae <uart_init.constprop.0+0x20>
4302: 4719 li a4,6
4304: 00e79563 bne a5,a4,430e <uart_init.constprop.0+0x80>
4308: 341000ef jal ra,4e48 <USART_CONNET_J6>
430c: b74d j 42ae <uart_init.constprop.0+0x20>
430e: 471d li a4,7
4310: 00e79563 bne a5,a4,431a <uart_init.constprop.0+0x8c>
4314: 36f000ef jal ra,4e82 <USART_CONNET_J7>
4318: bf59 j 42ae <uart_init.constprop.0+0x20>
431a: 4721 li a4,8
431c: 00e79563 bne a5,a4,4326 <uart_init.constprop.0+0x98>
4320: 39d000ef jal ra,4ebc <USART_CONNET_J8>
4324: b769 j 42ae <uart_init.constprop.0+0x20>
4326: 4725 li a4,9
4328: f8e793e3 bne a5,a4,42ae <uart_init.constprop.0+0x20>
432c: 15b000ef jal ra,4c86 <USART_CONNET_J9>
4330: bfbd j 42ae <uart_init.constprop.0+0x20>
00004332 <uart_dev_init>:
4332: 870fc2ef jal t0,3a2 <__riscv_save_0>
4336: 200004b7 lui s1,0x20000
433a: 17848413 addi s0,s1,376 # 20000178 <uart_devices>
433e: 08000613 li a2,128
4342: e1018593 addi a1,gp,-496 # 20000858 <J1RS485_in_buff>
4346: 00c40513 addi a0,s0,12
434a: f5ffe0ef jal ra,32a8 <InitRingQueue>
434e: 17848513 addi a0,s1,376
4352: f3dff0ef jal ra,428e <uart_init.constprop.0>
4356: 4485 li s1,1
4358: 08000613 li a2,128
435c: e9018593 addi a1,gp,-368 # 200008d8 <J2RS485_in_buff>
4360: 02c40513 addi a0,s0,44
4364: 8a81aa23 sw s0,-1868(gp) # 200002fc <g_J1RS485_UART6_handle>
4368: 02040913 addi s2,s0,32
436c: a004 sb s1,0(s0)
436e: f3bfe0ef jal ra,32a8 <InitRingQueue>
4372: 854a mv a0,s2
4374: f1bff0ef jal ra,428e <uart_init.constprop.0>
4378: 08000613 li a2,128
437c: f1018593 addi a1,gp,-240 # 20000958 <J3RS485_in_buff>
4380: 04c40513 addi a0,s0,76
4384: 8b21ac23 sw s2,-1864(gp) # 20000300 <g_J2RS485_UART7_handle>
4388: 02940023 sb s1,32(s0)
438c: 04040913 addi s2,s0,64
4390: f19fe0ef jal ra,32a8 <InitRingQueue>
4394: 854a mv a0,s2
4396: ef9ff0ef jal ra,428e <uart_init.constprop.0>
439a: 08000613 li a2,128
439e: f9018593 addi a1,gp,-112 # 200009d8 <J4RS485_in_buff>
43a2: 06c40513 addi a0,s0,108
43a6: 8b21ae23 sw s2,-1860(gp) # 20000304 <g_J3RS485_USART2_handle>
43aa: 04940023 sb s1,64(s0)
43ae: 06040913 addi s2,s0,96
43b2: ef7fe0ef jal ra,32a8 <InitRingQueue>
43b6: 854a mv a0,s2
43b8: ed7ff0ef jal ra,428e <uart_init.constprop.0>
43bc: 08000613 li a2,128
43c0: 01018593 addi a1,gp,16 # 20000a58 <J50RS485_in_buff>
43c4: 08c40513 addi a0,s0,140
43c8: 8d21a023 sw s2,-1856(gp) # 20000308 <g_J4RS485_UART8_handle>
43cc: 06940023 sb s1,96(s0)
43d0: 08040913 addi s2,s0,128
43d4: ed5fe0ef jal ra,32a8 <InitRingQueue>
43d8: 854a mv a0,s2
43da: eb5ff0ef jal ra,428e <uart_init.constprop.0>
43de: 08000613 li a2,128
43e2: 09018593 addi a1,gp,144 # 20000ad8 <LORA_in_buff>
43e6: 0ac40513 addi a0,s0,172
43ea: 8d21a223 sw s2,-1852(gp) # 2000030c <g_J50RS485_USART3_handle>
43ee: 08940023 sb s1,128(s0)
43f2: 0a040913 addi s2,s0,160
43f6: eb3fe0ef jal ra,32a8 <InitRingQueue>
43fa: 854a mv a0,s2
43fc: e93ff0ef jal ra,428e <uart_init.constprop.0>
4400: 0a940023 sb s1,160(s0)
4404: 8d21a423 sw s2,-1848(gp) # 20000310 <g_LORA_UART5_handle>
4408: 4501 li a0,0
440a: fbdfb06f j 3c6 <__riscv_restore_0>
0000440e <J1RS485_tx_enabla>:
440e: f95fb2ef jal t0,3a2 <__riscv_save_0>
4412: 4585 li a1,1
4414: 4511 li a0,4
4416: d23fe0ef jal ra,3138 <rt_pin_write>
441a: fadfb06f j 3c6 <__riscv_restore_0>
0000441e <J1RS485_tx_disenabla>:
441e: f85fb2ef jal t0,3a2 <__riscv_save_0>
4422: 4581 li a1,0
4424: 4511 li a0,4
4426: d13fe0ef jal ra,3138 <rt_pin_write>
442a: f9dfb06f j 3c6 <__riscv_restore_0>
0000442e <J2RS485_tx_enabla>:
442e: f75fb2ef jal t0,3a2 <__riscv_save_0>
4432: 4585 li a1,1
4434: 4515 li a0,5
4436: d03fe0ef jal ra,3138 <rt_pin_write>
443a: f8dfb06f j 3c6 <__riscv_restore_0>
0000443e <J2RS485_tx_disenabla>:
443e: f65fb2ef jal t0,3a2 <__riscv_save_0>
4442: 4581 li a1,0
4444: 4515 li a0,5
4446: cf3fe0ef jal ra,3138 <rt_pin_write>
444a: f7dfb06f j 3c6 <__riscv_restore_0>
0000444e <J3RS485_tx_enabla>:
444e: f55fb2ef jal t0,3a2 <__riscv_save_0>
4452: 4585 li a1,1
4454: 4561 li a0,24
4456: ce3fe0ef jal ra,3138 <rt_pin_write>
445a: f6dfb06f j 3c6 <__riscv_restore_0>
0000445e <J3RS485_tx_disenabla>:
445e: f45fb2ef jal t0,3a2 <__riscv_save_0>
4462: 4581 li a1,0
4464: 4561 li a0,24
4466: cd3fe0ef jal ra,3138 <rt_pin_write>
446a: f5dfb06f j 3c6 <__riscv_restore_0>
0000446e <J4RS485_tx_enabla>:
446e: f35fb2ef jal t0,3a2 <__riscv_save_0>
4472: 4585 li a1,1
4474: 02300513 li a0,35
4478: cc1fe0ef jal ra,3138 <rt_pin_write>
447c: f4bfb06f j 3c6 <__riscv_restore_0>
00004480 <J4RS485_tx_disenabla>:
4480: f23fb2ef jal t0,3a2 <__riscv_save_0>
4484: 4581 li a1,0
4486: 02300513 li a0,35
448a: caffe0ef jal ra,3138 <rt_pin_write>
448e: f39fb06f j 3c6 <__riscv_restore_0>
00004492 <J50RS485_tx_enabla>:
4492: f11fb2ef jal t0,3a2 <__riscv_save_0>
4496: 4585 li a1,1
4498: 03700513 li a0,55
449c: c9dfe0ef jal ra,3138 <rt_pin_write>
44a0: f27fb06f j 3c6 <__riscv_restore_0>
000044a4 <J50RS485_tx_disenabla>:
44a4: efffb2ef jal t0,3a2 <__riscv_save_0>
44a8: 4581 li a1,0
44aa: 03700513 li a0,55
44ae: c8bfe0ef jal ra,3138 <rt_pin_write>
44b2: f15fb06f j 3c6 <__riscv_restore_0>
000044b6 <uart_dev_write>:
44b6: ed3fb2ef jal t0,388 <__riscv_save_4>
44ba: 8b41a703 lw a4,-1868(gp) # 200002fc <g_J1RS485_UART6_handle>
44be: 842a mv s0,a0
44c0: 8a2e mv s4,a1
44c2: 89b2 mv s3,a2
44c4: 8b418913 addi s2,gp,-1868 # 200002fc <g_J1RS485_UART6_handle>
44c8: 00a71f63 bne a4,a0,44e6 <uart_dev_write+0x30>
44cc: f43ff0ef jal ra,440e <J1RS485_tx_enabla>
44d0: 4481 li s1,0
44d2: 0534c663 blt s1,s3,451e <uart_dev_write+0x68>
44d6: 00092783 lw a5,0(s2)
44da: 04879b63 bne a5,s0,4530 <uart_dev_write+0x7a>
44de: f41ff0ef jal ra,441e <J1RS485_tx_disenabla>
44e2: edbfb06f j 3bc <__riscv_restore_4>
44e6: 8b81a783 lw a5,-1864(gp) # 20000300 <g_J2RS485_UART7_handle>
44ea: 00a79563 bne a5,a0,44f4 <uart_dev_write+0x3e>
44ee: f41ff0ef jal ra,442e <J2RS485_tx_enabla>
44f2: bff9 j 44d0 <uart_dev_write+0x1a>
44f4: 8bc1a783 lw a5,-1860(gp) # 20000304 <g_J3RS485_USART2_handle>
44f8: 00a79563 bne a5,a0,4502 <uart_dev_write+0x4c>
44fc: f53ff0ef jal ra,444e <J3RS485_tx_enabla>
4500: bfc1 j 44d0 <uart_dev_write+0x1a>
4502: 8c01a783 lw a5,-1856(gp) # 20000308 <g_J4RS485_UART8_handle>
4506: 00a79563 bne a5,a0,4510 <uart_dev_write+0x5a>
450a: f65ff0ef jal ra,446e <J4RS485_tx_enabla>
450e: b7c9 j 44d0 <uart_dev_write+0x1a>
4510: 8c41a783 lw a5,-1852(gp) # 2000030c <g_J50RS485_USART3_handle>
4514: faa79ee3 bne a5,a0,44d0 <uart_dev_write+0x1a>
4518: f7bff0ef jal ra,4492 <J50RS485_tx_enabla>
451c: bf55 j 44d0 <uart_dev_write+0x1a>
451e: 009a07b3 add a5,s4,s1
4522: 00078583 lb a1,0(a5)
4526: 8522 mv a0,s0
4528: 0485 addi s1,s1,1
452a: d43ff0ef jal ra,426c <uart_putchar>
452e: b755 j 44d2 <uart_dev_write+0x1c>
4530: 8b81a783 lw a5,-1864(gp) # 20000300 <g_J2RS485_UART7_handle>
4534: 00879563 bne a5,s0,453e <uart_dev_write+0x88>
4538: f07ff0ef jal ra,443e <J2RS485_tx_disenabla>
453c: b75d j 44e2 <uart_dev_write+0x2c>
453e: 8bc1a783 lw a5,-1860(gp) # 20000304 <g_J3RS485_USART2_handle>
4542: 00879563 bne a5,s0,454c <uart_dev_write+0x96>
4546: f19ff0ef jal ra,445e <J3RS485_tx_disenabla>
454a: bf61 j 44e2 <uart_dev_write+0x2c>
454c: 8c01a783 lw a5,-1856(gp) # 20000308 <g_J4RS485_UART8_handle>
4550: 00879563 bne a5,s0,455a <uart_dev_write+0xa4>
4554: f2dff0ef jal ra,4480 <J4RS485_tx_disenabla>
4558: b769 j 44e2 <uart_dev_write+0x2c>
455a: 8c41a783 lw a5,-1852(gp) # 2000030c <g_J50RS485_USART3_handle>
455e: f88792e3 bne a5,s0,44e2 <uart_dev_write+0x2c>
4562: f43ff0ef jal ra,44a4 <J50RS485_tx_disenabla>
4566: bfb5 j 44e2 <uart_dev_write+0x2c>
00004568 <uart_dev_char_present>:
4568: 4781 li a5,0
456a: c909 beqz a0,457c <uart_dev_char_present+0x14>
456c: 2118 lbu a4,0(a0)
456e: 4781 li a5,0
4570: c711 beqz a4,457c <uart_dev_char_present+0x14>
4572: 495c lw a5,20(a0)
4574: 4d08 lw a0,24(a0)
4576: 8f89 sub a5,a5,a0
4578: 00f037b3 snez a5,a5
457c: 853e mv a0,a5
457e: 8082 ret
00004580 <uart_dev_in_char>:
4580: e23fb2ef jal t0,3a2 <__riscv_save_0>
4584: 1141 addi sp,sp,-16
4586: 842a mv s0,a0
4588: 000107a3 sb zero,15(sp)
458c: fddff0ef jal ra,4568 <uart_dev_char_present>
4590: c519 beqz a0,459e <uart_dev_in_char+0x1e>
4592: 00f10593 addi a1,sp,15
4596: 00c40513 addi a0,s0,12
459a: d4bfe0ef jal ra,32e4 <OutRingQueue>
459e: 00f10503 lb a0,15(sp)
45a2: 0141 addi sp,sp,16
45a4: e23fb06f j 3c6 <__riscv_restore_0>
000045a8 <ring_queue_length>:
45a8: dfbfb2ef jal t0,3a2 <__riscv_save_0>
45ac: 0531 addi a0,a0,12
45ae: d5dfe0ef jal ra,330a <RingQueueLength>
45b2: e15fb06f j 3c6 <__riscv_restore_0>
000045b6 <DBGMCU_GetCHIPID>:
45b6: 1ffff7b7 lui a5,0x1ffff
45ba: 7047a503 lw a0,1796(a5) # 1ffff704 <__stack_size+0x1fff7704>
45be: 8082 ret
000045c0 <EXTI_Init>:
45c0: 4158 lw a4,4(a0)
45c2: 00052803 lw a6,0(a0)
45c6: 454c lw a1,12(a0)
45c8: 40010637 lui a2,0x40010
45cc: 40060793 addi a5,a2,1024 # 40010400 <_eusrstack+0x20000400>
45d0: 973e add a4,a4,a5
45d2: fff84693 not a3,a6
45d6: c5b1 beqz a1,4622 <EXTI_Init+0x62>
45d8: 40062583 lw a1,1024(a2)
45dc: 8df5 and a1,a1,a3
45de: 40b62023 sw a1,1024(a2)
45e2: 43d0 lw a2,4(a5)
45e4: 8ef1 and a3,a3,a2
45e6: c3d4 sw a3,4(a5)
45e8: 4314 lw a3,0(a4)
45ea: 0106e6b3 or a3,a3,a6
45ee: c314 sw a3,0(a4)
45f0: 4118 lw a4,0(a0)
45f2: 4790 lw a2,8(a5)
45f4: fff74693 not a3,a4
45f8: 8e75 and a2,a2,a3
45fa: c790 sw a2,8(a5)
45fc: 47d0 lw a2,12(a5)
45fe: 8ef1 and a3,a3,a2
4600: c7d4 sw a3,12(a5)
4602: 4514 lw a3,8(a0)
4604: 4641 li a2,16
4606: 00c69963 bne a3,a2,4618 <EXTI_Init+0x58>
460a: 4794 lw a3,8(a5)
460c: 8ed9 or a3,a3,a4
460e: c794 sw a3,8(a5)
4610: 47d4 lw a3,12(a5)
4612: 8f55 or a4,a4,a3
4614: c7d8 sw a4,12(a5)
4616: 8082 ret
4618: 97b6 add a5,a5,a3
461a: 4394 lw a3,0(a5)
461c: 8f55 or a4,a4,a3
461e: c398 sw a4,0(a5)
4620: 8082 ret
4622: 431c lw a5,0(a4)
4624: 8ff5 and a5,a5,a3
4626: c31c sw a5,0(a4)
4628: 8082 ret
0000462a <EXTI_GetITStatus>:
462a: 400107b7 lui a5,0x40010
462e: 40078713 addi a4,a5,1024 # 40010400 <_eusrstack+0x20000400>
4632: 4007a783 lw a5,1024(a5)
4636: 4b58 lw a4,20(a4)
4638: 8f69 and a4,a4,a0
463a: c709 beqz a4,4644 <EXTI_GetITStatus+0x1a>
463c: 8d7d and a0,a0,a5
463e: 00a03533 snez a0,a0
4642: 8082 ret
4644: 4501 li a0,0
4646: 8082 ret
00004648 <EXTI_ClearITPendingBit>:
4648: 400107b7 lui a5,0x40010
464c: 40a7aa23 sw a0,1044(a5) # 40010414 <_eusrstack+0x20000414>
4650: 8082 ret
00004652 <GPIO_Init>:
4652: 459c lw a5,8(a1)
4654: 0107f713 andi a4,a5,16
4658: 00f7f813 andi a6,a5,15
465c: c701 beqz a4,4664 <GPIO_Init+0x12>
465e: 41d8 lw a4,4(a1)
4660: 00e86833 or a6,a6,a4
4664: 218e lhu a1,0(a1)
4666: 0ff5f713 andi a4,a1,255
466a: c339 beqz a4,46b0 <GPIO_Init+0x5e>
466c: 4118 lw a4,0(a0)
466e: 4681 li a3,0
4670: 4e85 li t4,1
4672: 4f3d li t5,15
4674: 02800f93 li t6,40
4678: 04800293 li t0,72
467c: 4e21 li t3,8
467e: 00de9633 sll a2,t4,a3
4682: 00c5f8b3 and a7,a1,a2
4686: 03161163 bne a2,a7,46a8 <GPIO_Init+0x56>
468a: 00269893 slli a7,a3,0x2
468e: 011f1333 sll t1,t5,a7
4692: fff34313 not t1,t1
4696: 00e37733 and a4,t1,a4
469a: 011818b3 sll a7,a6,a7
469e: 00e8e733 or a4,a7,a4
46a2: 05f79f63 bne a5,t6,4700 <GPIO_Init+0xae>
46a6: c950 sw a2,20(a0)
46a8: 0685 addi a3,a3,1
46aa: fdc69ae3 bne a3,t3,467e <GPIO_Init+0x2c>
46ae: c118 sw a4,0(a0)
46b0: 0ff00713 li a4,255
46b4: 04b77563 bgeu a4,a1,46fe <GPIO_Init+0xac>
46b8: 4154 lw a3,4(a0)
46ba: 4621 li a2,8
46bc: 4e85 li t4,1
46be: 4f3d li t5,15
46c0: 02800f93 li t6,40
46c4: 04800293 li t0,72
46c8: 4e41 li t3,16
46ca: 00ce98b3 sll a7,t4,a2
46ce: 0115f733 and a4,a1,a7
46d2: 02e89263 bne a7,a4,46f6 <GPIO_Init+0xa4>
46d6: 00261713 slli a4,a2,0x2
46da: 1701 addi a4,a4,-32
46dc: 00ef1333 sll t1,t5,a4
46e0: fff34313 not t1,t1
46e4: 00d376b3 and a3,t1,a3
46e8: 00e81733 sll a4,a6,a4
46ec: 8ed9 or a3,a3,a4
46ee: 01f79d63 bne a5,t6,4708 <GPIO_Init+0xb6>
46f2: 01152a23 sw a7,20(a0)
46f6: 0605 addi a2,a2,1
46f8: fdc619e3 bne a2,t3,46ca <GPIO_Init+0x78>
46fc: c154 sw a3,4(a0)
46fe: 8082 ret
4700: fa5794e3 bne a5,t0,46a8 <GPIO_Init+0x56>
4704: c910 sw a2,16(a0)
4706: b74d j 46a8 <GPIO_Init+0x56>
4708: fe5797e3 bne a5,t0,46f6 <GPIO_Init+0xa4>
470c: 01152823 sw a7,16(a0)
4710: b7dd j 46f6 <GPIO_Init+0xa4>
00004712 <GPIO_ReadInputDataBit>:
4712: 4508 lw a0,8(a0)
4714: 8d6d and a0,a0,a1
4716: 00a03533 snez a0,a0
471a: 8082 ret
0000471c <GPIO_WriteBit>:
471c: c219 beqz a2,4722 <GPIO_WriteBit+0x6>
471e: c90c sw a1,16(a0)
4720: 8082 ret
4722: c94c sw a1,20(a0)
4724: 8082 ret
00004726 <GPIO_EXTILineConfig>:
4726: 0fc5f713 andi a4,a1,252
472a: 0035f793 andi a5,a1,3
472e: 400105b7 lui a1,0x40010
4732: 95ba add a1,a1,a4
4734: 4594 lw a3,8(a1)
4736: 078a slli a5,a5,0x2
4738: 473d li a4,15
473a: 00f71733 sll a4,a4,a5
473e: fff74713 not a4,a4
4742: 8f75 and a4,a4,a3
4744: c598 sw a4,8(a1)
4746: 4598 lw a4,8(a1)
4748: 00f51533 sll a0,a0,a5
474c: 8d59 or a0,a0,a4
474e: c588 sw a0,8(a1)
4750: 8082 ret
00004752 <NVIC_Init>:
4752: 8cc1a703 lw a4,-1844(gp) # 20000314 <NVIC_Priority_Group>
4756: 4789 li a5,2
4758: 2110 lbu a2,0(a0)
475a: 02f71163 bne a4,a5,477c <NVIC_Init+0x2a>
475e: 3114 lbu a3,1(a0)
4760: 478d li a5,3
4762: 00d7ed63 bltu a5,a3,477c <NVIC_Init+0x2a>
4766: 213c lbu a5,2(a0)
4768: 069a slli a3,a3,0x6
476a: e000e737 lui a4,0xe000e
476e: 0796 slli a5,a5,0x5
4770: 8fd5 or a5,a5,a3
4772: 0ff7f793 andi a5,a5,255
4776: 9732 add a4,a4,a2
4778: 40f70023 sb a5,1024(a4) # e000e400 <_eusrstack+0xbfffe400>
477c: 4154 lw a3,4(a0)
477e: 4705 li a4,1
4780: 00565793 srli a5,a2,0x5
4784: 00c71733 sll a4,a4,a2
4788: ca89 beqz a3,479a <NVIC_Init+0x48>
478a: 04078793 addi a5,a5,64
478e: 078a slli a5,a5,0x2
4790: e000e6b7 lui a3,0xe000e
4794: 97b6 add a5,a5,a3
4796: c398 sw a4,0(a5)
4798: 8082 ret
479a: 06078793 addi a5,a5,96
479e: bfc5 j 478e <NVIC_Init+0x3c>
000047a0 <RCC_GetClocksFreq>:
47a0: 40021737 lui a4,0x40021
47a4: 435c lw a5,4(a4)
47a6: 4691 li a3,4
47a8: 8bb1 andi a5,a5,12
47aa: 00d78563 beq a5,a3,47b4 <RCC_GetClocksFreq+0x14>
47ae: 46a1 li a3,8
47b0: 06d78263 beq a5,a3,4814 <RCC_GetClocksFreq+0x74>
47b4: 007a17b7 lui a5,0x7a1
47b8: 20078793 addi a5,a5,512 # 7a1200 <__stack_size+0x799200>
47bc: c11c sw a5,0(a0)
47be: 40021637 lui a2,0x40021
47c2: 425c lw a5,4(a2)
47c4: 20000737 lui a4,0x20000
47c8: 23870713 addi a4,a4,568 # 20000238 <APBAHBPrescTable>
47cc: 8391 srli a5,a5,0x4
47ce: 8bbd andi a5,a5,15
47d0: 97ba add a5,a5,a4
47d2: 2394 lbu a3,0(a5)
47d4: 411c lw a5,0(a0)
47d6: 00d7d7b3 srl a5,a5,a3
47da: c15c sw a5,4(a0)
47dc: 4254 lw a3,4(a2)
47de: 82a1 srli a3,a3,0x8
47e0: 8a9d andi a3,a3,7
47e2: 96ba add a3,a3,a4
47e4: 2294 lbu a3,0(a3)
47e6: 00d7d6b3 srl a3,a5,a3
47ea: c514 sw a3,8(a0)
47ec: 4254 lw a3,4(a2)
47ee: 82ad srli a3,a3,0xb
47f0: 8a9d andi a3,a3,7
47f2: 9736 add a4,a4,a3
47f4: 2318 lbu a4,0(a4)
47f6: 00e7d7b3 srl a5,a5,a4
47fa: c55c sw a5,12(a0)
47fc: 4258 lw a4,4(a2)
47fe: 8339 srli a4,a4,0xe
4800: 00377693 andi a3,a4,3
4804: 80418713 addi a4,gp,-2044 # 2000024c <ADCPrescTable>
4808: 9736 add a4,a4,a3
480a: 2318 lbu a4,0(a4)
480c: 02e7d7b3 divu a5,a5,a4
4810: c91c sw a5,16(a0)
4812: 8082 ret
4814: 435c lw a5,4(a4)
4816: 4358 lw a4,4(a4)
4818: 66c1 lui a3,0x10
481a: 83c9 srli a5,a5,0x12
481c: 8f75 and a4,a4,a3
481e: 1ffff6b7 lui a3,0x1ffff
4822: 70c6a683 lw a3,1804(a3) # 1ffff70c <__stack_size+0x1fff770c>
4826: 8bbd andi a5,a5,15
4828: 0789 addi a5,a5,2
482a: 01169613 slli a2,a3,0x11
482e: 00064863 bltz a2,483e <RCC_GetClocksFreq+0x9e>
4832: 46c5 li a3,17
4834: 4601 li a2,0
4836: 02d79263 bne a5,a3,485a <RCC_GetClocksFreq+0xba>
483a: 47c9 li a5,18
483c: a839 j 485a <RCC_GetClocksFreq+0xba>
483e: 4689 li a3,2
4840: 02d78f63 beq a5,a3,487e <RCC_GetClocksFreq+0xde>
4844: 46bd li a3,15
4846: 02d78e63 beq a5,a3,4882 <RCC_GetClocksFreq+0xe2>
484a: 46c1 li a3,16
484c: 02d78e63 beq a5,a3,4888 <RCC_GetClocksFreq+0xe8>
4850: 46c5 li a3,17
4852: 4601 li a2,0
4854: 00d79363 bne a5,a3,485a <RCC_GetClocksFreq+0xba>
4858: 47c1 li a5,16
485a: ef1d bnez a4,4898 <RCC_GetClocksFreq+0xf8>
485c: 40024737 lui a4,0x40024
4860: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x20013800>
4864: 8b41 andi a4,a4,16
4866: c705 beqz a4,488e <RCC_GetClocksFreq+0xee>
4868: 007a1737 lui a4,0x7a1
486c: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
4870: 02f707b3 mul a5,a4,a5
4874: c11c sw a5,0(a0)
4876: d621 beqz a2,47be <RCC_GetClocksFreq+0x1e>
4878: 411c lw a5,0(a0)
487a: 8385 srli a5,a5,0x1
487c: b781 j 47bc <RCC_GetClocksFreq+0x1c>
487e: 4601 li a2,0
4880: bf6d j 483a <RCC_GetClocksFreq+0x9a>
4882: 4605 li a2,1
4884: 47b5 li a5,13
4886: bfd1 j 485a <RCC_GetClocksFreq+0xba>
4888: 4601 li a2,0
488a: 47bd li a5,15
488c: b7f9 j 485a <RCC_GetClocksFreq+0xba>
488e: 003d1737 lui a4,0x3d1
4892: 90070713 addi a4,a4,-1792 # 3d0900 <__stack_size+0x3c8900>
4896: bfe9 j 4870 <RCC_GetClocksFreq+0xd0>
4898: 400215b7 lui a1,0x40021
489c: 55d8 lw a4,44(a1)
489e: 00f71693 slli a3,a4,0xf
48a2: 55d8 lw a4,44(a1)
48a4: 0406df63 bgez a3,4902 <RCC_GetClocksFreq+0x162>
48a8: 8311 srli a4,a4,0x4
48aa: 8b3d andi a4,a4,15
48ac: 00170693 addi a3,a4,1
48b0: 007a1737 lui a4,0x7a1
48b4: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
48b8: 02d75733 divu a4,a4,a3
48bc: c118 sw a4,0(a0)
48be: 55d4 lw a3,44(a1)
48c0: 82a1 srli a3,a3,0x8
48c2: 8abd andi a3,a3,15
48c4: e28d bnez a3,48e6 <RCC_GetClocksFreq+0x146>
48c6: 4695 li a3,5
48c8: 02d70733 mul a4,a4,a3
48cc: 8305 srli a4,a4,0x1
48ce: c118 sw a4,0(a0)
48d0: 40021737 lui a4,0x40021
48d4: 5758 lw a4,44(a4)
48d6: 4114 lw a3,0(a0)
48d8: 8b3d andi a4,a4,15
48da: 0705 addi a4,a4,1
48dc: 02e6d733 divu a4,a3,a4
48e0: c118 sw a4,0(a0)
48e2: 4118 lw a4,0(a0)
48e4: b771 j 4870 <RCC_GetClocksFreq+0xd0>
48e6: 4585 li a1,1
48e8: 00b69463 bne a3,a1,48f0 <RCC_GetClocksFreq+0x150>
48ec: 46e5 li a3,25
48ee: bfe9 j 48c8 <RCC_GetClocksFreq+0x128>
48f0: 45bd li a1,15
48f2: 00b69663 bne a3,a1,48fe <RCC_GetClocksFreq+0x15e>
48f6: 46d1 li a3,20
48f8: 02e68733 mul a4,a3,a4
48fc: bfc9 j 48ce <RCC_GetClocksFreq+0x12e>
48fe: 0689 addi a3,a3,2
4900: bfe5 j 48f8 <RCC_GetClocksFreq+0x158>
4902: 8b3d andi a4,a4,15
4904: 00170693 addi a3,a4,1 # 40021001 <_eusrstack+0x20011001>
4908: 007a1737 lui a4,0x7a1
490c: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
4910: 02d75733 divu a4,a4,a3
4914: b7f1 j 48e0 <RCC_GetClocksFreq+0x140>
00004916 <RCC_APB2PeriphClockCmd>:
4916: c599 beqz a1,4924 <RCC_APB2PeriphClockCmd+0xe>
4918: 40021737 lui a4,0x40021
491c: 4f1c lw a5,24(a4)
491e: 8d5d or a0,a0,a5
4920: cf08 sw a0,24(a4)
4922: 8082 ret
4924: 400217b7 lui a5,0x40021
4928: 4f98 lw a4,24(a5)
492a: fff54513 not a0,a0
492e: 8d79 and a0,a0,a4
4930: cf88 sw a0,24(a5)
4932: 8082 ret
00004934 <RCC_APB1PeriphClockCmd>:
4934: c599 beqz a1,4942 <RCC_APB1PeriphClockCmd+0xe>
4936: 40021737 lui a4,0x40021
493a: 4f5c lw a5,28(a4)
493c: 8d5d or a0,a0,a5
493e: cf48 sw a0,28(a4)
4940: 8082 ret
4942: 400217b7 lui a5,0x40021
4946: 4fd8 lw a4,28(a5)
4948: fff54513 not a0,a0
494c: 8d79 and a0,a0,a4
494e: cfc8 sw a0,28(a5)
4950: 8082 ret
00004952 <USART_Init>:
4952: a51fb2ef jal t0,3a2 <__riscv_save_0>
4956: 2916 lhu a3,16(a0)
4958: 77f5 lui a5,0xffffd
495a: 17fd addi a5,a5,-1
495c: 8ff5 and a5,a5,a3
495e: 21f6 lhu a3,6(a1)
4960: 25da lhu a4,12(a1)
4962: 7179 addi sp,sp,-48
4964: 8fd5 or a5,a5,a3
4966: a91e sh a5,16(a0)
4968: 2556 lhu a3,12(a0)
496a: 77fd lui a5,0xfffff
496c: 9f378793 addi a5,a5,-1549 # ffffe9f3 <_eusrstack+0xdffee9f3>
4970: 8ff5 and a5,a5,a3
4972: 21d6 lhu a3,4(a1)
4974: 842a mv s0,a0
4976: c62e sw a1,12(sp)
4978: 8fd5 or a5,a5,a3
497a: 2596 lhu a3,8(a1)
497c: 8fd5 or a5,a5,a3
497e: 25b6 lhu a3,10(a1)
4980: 8fd5 or a5,a5,a3
4982: a55e sh a5,12(a0)
4984: 295e lhu a5,20(a0)
4986: 07c2 slli a5,a5,0x10
4988: 83c1 srli a5,a5,0x10
498a: cff7f793 andi a5,a5,-769
498e: 8fd9 or a5,a5,a4
4990: a95e sh a5,20(a0)
4992: 0868 addi a0,sp,28
4994: e0dff0ef jal ra,47a0 <RCC_GetClocksFreq>
4998: 400147b7 lui a5,0x40014
499c: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
49a0: 45b2 lw a1,12(sp)
49a2: 02f41e63 bne s0,a5,49de <USART_Init+0x8c>
49a6: 57a2 lw a5,40(sp)
49a8: 4765 li a4,25
49aa: 02e787b3 mul a5,a5,a4
49ae: 4198 lw a4,0(a1)
49b0: 06400693 li a3,100
49b4: 070a slli a4,a4,0x2
49b6: 02e7d7b3 divu a5,a5,a4
49ba: 02d7d733 divu a4,a5,a3
49be: 02d7f7b3 remu a5,a5,a3
49c2: 0712 slli a4,a4,0x4
49c4: 0792 slli a5,a5,0x4
49c6: 03278793 addi a5,a5,50
49ca: 02d7d7b3 divu a5,a5,a3
49ce: 8bbd andi a5,a5,15
49d0: 8fd9 or a5,a5,a4
49d2: 07c2 slli a5,a5,0x10
49d4: 83c1 srli a5,a5,0x10
49d6: a41e sh a5,8(s0)
49d8: 6145 addi sp,sp,48
49da: 9edfb06f j 3c6 <__riscv_restore_0>
49de: 5792 lw a5,36(sp)
49e0: b7e1 j 49a8 <USART_Init+0x56>
000049e2 <USART_Cmd>:
49e2: c591 beqz a1,49ee <USART_Cmd+0xc>
49e4: 255e lhu a5,12(a0)
49e6: 6709 lui a4,0x2
49e8: 8fd9 or a5,a5,a4
49ea: a55e sh a5,12(a0)
49ec: 8082 ret
49ee: 255a lhu a4,12(a0)
49f0: 77f9 lui a5,0xffffe
49f2: 17fd addi a5,a5,-1
49f4: 8ff9 and a5,a5,a4
49f6: bfd5 j 49ea <USART_Cmd+0x8>
000049f8 <USART_ITConfig>:
49f8: 0ff5f713 andi a4,a1,255
49fc: 4785 li a5,1
49fe: 8315 srli a4,a4,0x5
4a00: 00b795b3 sll a1,a5,a1
4a04: 00f71963 bne a4,a5,4a16 <USART_ITConfig+0x1e>
4a08: 00c50793 addi a5,a0,12
4a0c: 4398 lw a4,0(a5)
4a0e: ce01 beqz a2,4a26 <USART_ITConfig+0x2e>
4a10: 8dd9 or a1,a1,a4
4a12: c38c sw a1,0(a5)
4a14: 8082 ret
4a16: 4689 li a3,2
4a18: 01450793 addi a5,a0,20
4a1c: fed718e3 bne a4,a3,4a0c <USART_ITConfig+0x14>
4a20: 01050793 addi a5,a0,16
4a24: b7e5 j 4a0c <USART_ITConfig+0x14>
4a26: fff5c593 not a1,a1
4a2a: 8df9 and a1,a1,a4
4a2c: b7dd j 4a12 <USART_ITConfig+0x1a>
00004a2e <USART_SendData>:
4a2e: 1ff5f593 andi a1,a1,511
4a32: a14e sh a1,4(a0)
4a34: 8082 ret
00004a36 <USART_ReceiveData>:
4a36: 214a lhu a0,4(a0)
4a38: 1ff57513 andi a0,a0,511
4a3c: 8082 ret
00004a3e <USART_GetFlagStatus>:
4a3e: 210a lhu a0,0(a0)
4a40: 8d6d and a0,a0,a1
4a42: 00a03533 snez a0,a0
4a46: 8082 ret
00004a48 <USART_GetITStatus>:
4a48: 0ff5f713 andi a4,a1,255
4a4c: 4685 li a3,1
4a4e: 8315 srli a4,a4,0x5
4a50: 00b697b3 sll a5,a3,a1
4a54: 02d71163 bne a4,a3,4a76 <USART_GetITStatus+0x2e>
4a58: 255a lhu a4,12(a0)
4a5a: 8ff9 and a5,a5,a4
4a5c: 211a lhu a4,0(a0)
4a5e: 4501 li a0,0
4a60: 0742 slli a4,a4,0x10
4a62: 8341 srli a4,a4,0x10
4a64: cb81 beqz a5,4a74 <USART_GetITStatus+0x2c>
4a66: 4505 li a0,1
4a68: 81a1 srli a1,a1,0x8
4a6a: 00b515b3 sll a1,a0,a1
4a6e: 8f6d and a4,a4,a1
4a70: 00e03533 snez a0,a4
4a74: 8082 ret
4a76: 4689 li a3,2
4a78: 00d71463 bne a4,a3,4a80 <USART_GetITStatus+0x38>
4a7c: 291a lhu a4,16(a0)
4a7e: bff1 j 4a5a <USART_GetITStatus+0x12>
4a80: 295a lhu a4,20(a0)
4a82: bfe1 j 4a5a <USART_GetITStatus+0x12>
00004a84 <USART_ClearITPendingBit>:
4a84: 81a1 srli a1,a1,0x8
4a86: 4785 li a5,1
4a88: 00b797b3 sll a5,a5,a1
4a8c: fff7c793 not a5,a5
4a90: 07c2 slli a5,a5,0x10
4a92: 83c1 srli a5,a5,0x10
4a94: a11e sh a5,0(a0)
4a96: 8082 ret
00004a98 <android_PowerCtrl_Init>:
4a98: 90bfb2ef jal t0,3a2 <__riscv_save_0>
4a9c: 4581 li a1,0
4a9e: 4509 li a0,2
4aa0: e7efe0ef jal ra,311e <rt_pin_mode>
4aa4: 923fb06f j 3c6 <__riscv_restore_0>
00004aa8 <android_PowerCtrl_Open>:
4aa8: 8fbfb2ef jal t0,3a2 <__riscv_save_0>
4aac: 4585 li a1,1
4aae: 4509 li a0,2
4ab0: e88fe0ef jal ra,3138 <rt_pin_write>
4ab4: 913fb06f j 3c6 <__riscv_restore_0>
00004ab8 <J1_PWR_Open>:
4ab8: 8ebfb2ef jal t0,3a2 <__riscv_save_0>
4abc: 4585 li a1,1
4abe: 02600513 li a0,38
4ac2: e76fe0ef jal ra,3138 <rt_pin_write>
4ac6: 901fb06f j 3c6 <__riscv_restore_0>
00004aca <J1_485_Init>:
4aca: 8d9fb2ef jal t0,3a2 <__riscv_save_0>
4ace: 4581 li a1,0
4ad0: 4511 li a0,4
4ad2: e4cfe0ef jal ra,311e <rt_pin_mode>
4ad6: 4581 li a1,0
4ad8: 4511 li a0,4
4ada: e5efe0ef jal ra,3138 <rt_pin_write>
4ade: 4581 li a1,0
4ae0: 02600513 li a0,38
4ae4: e3afe0ef jal ra,311e <rt_pin_mode>
4ae8: fd1ff0ef jal ra,4ab8 <J1_PWR_Open>
4aec: 8dbfb06f j 3c6 <__riscv_restore_0>
00004af0 <J2_PWR_Open>:
4af0: 8b3fb2ef jal t0,3a2 <__riscv_save_0>
4af4: 4585 li a1,1
4af6: 02700513 li a0,39
4afa: e3efe0ef jal ra,3138 <rt_pin_write>
4afe: 8c9fb06f j 3c6 <__riscv_restore_0>
00004b02 <J2_485_Init>:
4b02: 8a1fb2ef jal t0,3a2 <__riscv_save_0>
4b06: 4581 li a1,0
4b08: 4515 li a0,5
4b0a: e14fe0ef jal ra,311e <rt_pin_mode>
4b0e: 4581 li a1,0
4b10: 4515 li a0,5
4b12: e26fe0ef jal ra,3138 <rt_pin_write>
4b16: 4581 li a1,0
4b18: 02700513 li a0,39
4b1c: e02fe0ef jal ra,311e <rt_pin_mode>
4b20: fd1ff0ef jal ra,4af0 <J2_PWR_Open>
4b24: 8a3fb06f j 3c6 <__riscv_restore_0>
00004b28 <J3_PWR_Open>:
4b28: 87bfb2ef jal t0,3a2 <__riscv_save_0>
4b2c: 4585 li a1,1
4b2e: 02800513 li a0,40
4b32: e06fe0ef jal ra,3138 <rt_pin_write>
4b36: 891fb06f j 3c6 <__riscv_restore_0>
00004b3a <J3_485_Init>:
4b3a: 869fb2ef jal t0,3a2 <__riscv_save_0>
4b3e: 4581 li a1,0
4b40: 4561 li a0,24
4b42: ddcfe0ef jal ra,311e <rt_pin_mode>
4b46: 4581 li a1,0
4b48: 4561 li a0,24
4b4a: deefe0ef jal ra,3138 <rt_pin_write>
4b4e: 4581 li a1,0
4b50: 02800513 li a0,40
4b54: dcafe0ef jal ra,311e <rt_pin_mode>
4b58: fd1ff0ef jal ra,4b28 <J3_PWR_Open>
4b5c: 86bfb06f j 3c6 <__riscv_restore_0>
00004b60 <J4_PWR_Open>:
4b60: 843fb2ef jal t0,3a2 <__riscv_save_0>
4b64: 4585 li a1,1
4b66: 02900513 li a0,41
4b6a: dcefe0ef jal ra,3138 <rt_pin_write>
4b6e: 859fb06f j 3c6 <__riscv_restore_0>
00004b72 <J4_485_Init>:
4b72: 831fb2ef jal t0,3a2 <__riscv_save_0>
4b76: 4581 li a1,0
4b78: 02300513 li a0,35
4b7c: da2fe0ef jal ra,311e <rt_pin_mode>
4b80: 4581 li a1,0
4b82: 02300513 li a0,35
4b86: db2fe0ef jal ra,3138 <rt_pin_write>
4b8a: 4581 li a1,0
4b8c: 02900513 li a0,41
4b90: d8efe0ef jal ra,311e <rt_pin_mode>
4b94: fcdff0ef jal ra,4b60 <J4_PWR_Open>
4b98: 82ffb06f j 3c6 <__riscv_restore_0>
00004b9c <USART3_IRQHandler>:
4b9c: 1141 addi sp,sp,-16
4b9e: c622 sw s0,12(sp)
4ba0: 40005437 lui s0,0x40005
4ba4: 52500593 li a1,1317
4ba8: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1fff4800>
4bac: e9dff0ef jal ra,4a48 <USART_GetITStatus>
4bb0: c515 beqz a0,4bdc <USART3_IRQHandler+0x40>
4bb2: 80040513 addi a0,s0,-2048
4bb6: e81ff0ef jal ra,4a36 <USART_ReceiveData>
4bba: 0ff57593 andi a1,a0,255
4bbe: 8cb18823 sb a1,-1840(gp) # 20000318 <USART3_Rbuffer>
4bc2: 8c41a503 lw a0,-1852(gp) # 2000030c <g_J50RS485_USART3_handle>
4bc6: 4d1c lw a5,24(a0)
4bc8: 4910 lw a2,16(a0)
4bca: 4954 lw a3,20(a0)
4bcc: 0785 addi a5,a5,1
4bce: 02c7e7b3 rem a5,a5,a2
4bd2: 00d78563 beq a5,a3,4bdc <USART3_IRQHandler+0x40>
4bd6: 0531 addi a0,a0,12
4bd8: ee0fe0ef jal ra,32b8 <InRingQueue>
4bdc: 4432 lw s0,12(sp)
4bde: 0141 addi sp,sp,16
4be0: 30200073 mret
00004be4 <J5_PWR_Open>:
4be4: fbefb2ef jal t0,3a2 <__riscv_save_0>
4be8: 4585 li a1,1
4bea: 02a00513 li a0,42
4bee: d4afe0ef jal ra,3138 <rt_pin_write>
4bf2: fd4fb06f j 3c6 <__riscv_restore_0>
00004bf6 <J5_PWR_Close>:
4bf6: facfb2ef jal t0,3a2 <__riscv_save_0>
4bfa: 4581 li a1,0
4bfc: 02a00513 li a0,42
4c00: d38fe0ef jal ra,3138 <rt_pin_write>
4c04: fc2fb06f j 3c6 <__riscv_restore_0>
00004c08 <J6_PWR_Open>:
4c08: f9afb2ef jal t0,3a2 <__riscv_save_0>
4c0c: 4585 li a1,1
4c0e: 02b00513 li a0,43
4c12: d26fe0ef jal ra,3138 <rt_pin_write>
4c16: fb0fb06f j 3c6 <__riscv_restore_0>
00004c1a <J6_PWR_Close>:
4c1a: f88fb2ef jal t0,3a2 <__riscv_save_0>
4c1e: 4581 li a1,0
4c20: 02b00513 li a0,43
4c24: d14fe0ef jal ra,3138 <rt_pin_write>
4c28: f9efb06f j 3c6 <__riscv_restore_0>
00004c2c <J7_PWR_Open>:
4c2c: f76fb2ef jal t0,3a2 <__riscv_save_0>
4c30: 4585 li a1,1
4c32: 02c00513 li a0,44
4c36: d02fe0ef jal ra,3138 <rt_pin_write>
4c3a: f8cfb06f j 3c6 <__riscv_restore_0>
00004c3e <J7_PWR_Close>:
4c3e: f64fb2ef jal t0,3a2 <__riscv_save_0>
4c42: 4581 li a1,0
4c44: 02c00513 li a0,44
4c48: cf0fe0ef jal ra,3138 <rt_pin_write>
4c4c: f7afb06f j 3c6 <__riscv_restore_0>
00004c50 <J8_PWR_Open>:
4c50: f52fb2ef jal t0,3a2 <__riscv_save_0>
4c54: 4585 li a1,1
4c56: 02d00513 li a0,45
4c5a: cdefe0ef jal ra,3138 <rt_pin_write>
4c5e: f68fb06f j 3c6 <__riscv_restore_0>
00004c62 <J8_PWR_Close>:
4c62: f40fb2ef jal t0,3a2 <__riscv_save_0>
4c66: 4581 li a1,0
4c68: 02d00513 li a0,45
4c6c: cccfe0ef jal ra,3138 <rt_pin_write>
4c70: f56fb06f j 3c6 <__riscv_restore_0>
00004c74 <J9_PWR_Open>:
4c74: f2efb2ef jal t0,3a2 <__riscv_save_0>
4c78: 4585 li a1,1
4c7a: 02e00513 li a0,46
4c7e: cbafe0ef jal ra,3138 <rt_pin_write>
4c82: f44fb06f j 3c6 <__riscv_restore_0>
00004c86 <USART_CONNET_J9>:
4c86: f1cfb2ef jal t0,3a2 <__riscv_save_0>
4c8a: f6dff0ef jal ra,4bf6 <J5_PWR_Close>
4c8e: f8dff0ef jal ra,4c1a <J6_PWR_Close>
4c92: fadff0ef jal ra,4c3e <J7_PWR_Close>
4c96: fcdff0ef jal ra,4c62 <J8_PWR_Close>
4c9a: fdbff0ef jal ra,4c74 <J9_PWR_Open>
4c9e: 4585 li a1,1
4ca0: 03800513 li a0,56
4ca4: c94fe0ef jal ra,3138 <rt_pin_write>
4ca8: 4581 li a1,0
4caa: 03900513 li a0,57
4cae: c8afe0ef jal ra,3138 <rt_pin_write>
4cb2: 4585 li a1,1
4cb4: 03a00513 li a0,58
4cb8: c80fe0ef jal ra,3138 <rt_pin_write>
4cbc: f0afb06f j 3c6 <__riscv_restore_0>
00004cc0 <J9_PWR_Close>:
4cc0: ee2fb2ef jal t0,3a2 <__riscv_save_0>
4cc4: 4581 li a1,0
4cc6: 02e00513 li a0,46
4cca: c6efe0ef jal ra,3138 <rt_pin_write>
4cce: ef8fb06f j 3c6 <__riscv_restore_0>
00004cd2 <USART_CONNET_J0>:
4cd2: ed0fb2ef jal t0,3a2 <__riscv_save_0>
4cd6: f21ff0ef jal ra,4bf6 <J5_PWR_Close>
4cda: f41ff0ef jal ra,4c1a <J6_PWR_Close>
4cde: f61ff0ef jal ra,4c3e <J7_PWR_Close>
4ce2: f81ff0ef jal ra,4c62 <J8_PWR_Close>
4ce6: fdbff0ef jal ra,4cc0 <J9_PWR_Close>
4cea: 4581 li a1,0
4cec: 03800513 li a0,56
4cf0: c48fe0ef jal ra,3138 <rt_pin_write>
4cf4: 4581 li a1,0
4cf6: 03900513 li a0,57
4cfa: c3efe0ef jal ra,3138 <rt_pin_write>
4cfe: 4581 li a1,0
4d00: 03a00513 li a0,58
4d04: c34fe0ef jal ra,3138 <rt_pin_write>
4d08: ebefb06f j 3c6 <__riscv_restore_0>
00004d0c <J5_0_485_Init>:
4d0c: e96fb2ef jal t0,3a2 <__riscv_save_0>
4d10: 7179 addi sp,sp,-48
4d12: 84aa mv s1,a0
4d14: 4581 li a1,0
4d16: 02a00513 li a0,42
4d1a: c04fe0ef jal ra,311e <rt_pin_mode>
4d1e: 4581 li a1,0
4d20: 02b00513 li a0,43
4d24: bfafe0ef jal ra,311e <rt_pin_mode>
4d28: 4581 li a1,0
4d2a: 02c00513 li a0,44
4d2e: bf0fe0ef jal ra,311e <rt_pin_mode>
4d32: 4581 li a1,0
4d34: 02d00513 li a0,45
4d38: be6fe0ef jal ra,311e <rt_pin_mode>
4d3c: 4581 li a1,0
4d3e: 02e00513 li a0,46
4d42: bdcfe0ef jal ra,311e <rt_pin_mode>
4d46: 4581 li a1,0
4d48: 03700513 li a0,55
4d4c: bd2fe0ef jal ra,311e <rt_pin_mode>
4d50: 4581 li a1,0
4d52: 03700513 li a0,55
4d56: be2fe0ef jal ra,3138 <rt_pin_write>
4d5a: 4581 li a1,0
4d5c: 03800513 li a0,56
4d60: bbefe0ef jal ra,311e <rt_pin_mode>
4d64: 4581 li a1,0
4d66: 03900513 li a0,57
4d6a: bb4fe0ef jal ra,311e <rt_pin_mode>
4d6e: 4581 li a1,0
4d70: 03a00513 li a0,58
4d74: baafe0ef jal ra,311e <rt_pin_mode>
4d78: f5bff0ef jal ra,4cd2 <USART_CONNET_J0>
4d7c: 4585 li a1,1
4d7e: 4521 li a0,8
4d80: b97ff0ef jal ra,4916 <RCC_APB2PeriphClockCmd>
4d84: 4585 li a1,1
4d86: 00040537 lui a0,0x40
4d8a: babff0ef jal ra,4934 <RCC_APB1PeriphClockCmd>
4d8e: 40000793 li a5,1024
4d92: 82fc sh a5,20(sp)
4d94: 40011437 lui s0,0x40011
4d98: 478d li a5,3
4d9a: cc3e sw a5,24(sp)
4d9c: 084c addi a1,sp,20
4d9e: 47e1 li a5,24
4da0: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x20000c00>
4da4: ce3e sw a5,28(sp)
4da6: 8adff0ef jal ra,4652 <GPIO_Init>
4daa: 6785 lui a5,0x1
4dac: 80078793 addi a5,a5,-2048 # 800 <rt_ipc_list_suspend+0x1c>
4db0: 82fc sh a5,20(sp)
4db2: 084c addi a1,sp,20
4db4: 4791 li a5,4
4db6: c0040513 addi a0,s0,-1024
4dba: ce3e sw a5,28(sp)
4dbc: 40005437 lui s0,0x40005
4dc0: 893ff0ef jal ra,4652 <GPIO_Init>
4dc4: 100c addi a1,sp,32
4dc6: 000c07b7 lui a5,0xc0
4dca: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1fff4800>
4dce: d026 sw s1,32(sp)
4dd0: d43e sw a5,40(sp)
4dd2: d202 sw zero,36(sp)
4dd4: 02011623 sh zero,44(sp)
4dd8: b7bff0ef jal ra,4952 <USART_Init>
4ddc: 13700793 li a5,311
4de0: 867c sh a5,12(sp)
4de2: 4785 li a5,1
4de4: 875c sb a5,14(sp)
4de6: 0068 addi a0,sp,12
4de8: 4785 li a5,1
4dea: c83e sw a5,16(sp)
4dec: 967ff0ef jal ra,4752 <NVIC_Init>
4df0: 4605 li a2,1
4df2: 80040513 addi a0,s0,-2048
4df6: 52500593 li a1,1317
4dfa: bffff0ef jal ra,49f8 <USART_ITConfig>
4dfe: 4585 li a1,1
4e00: 80040513 addi a0,s0,-2048
4e04: bdfff0ef jal ra,49e2 <USART_Cmd>
4e08: 6145 addi sp,sp,48
4e0a: dbcfb06f j 3c6 <__riscv_restore_0>
00004e0e <USART_CONNET_J5>:
4e0e: d94fb2ef jal t0,3a2 <__riscv_save_0>
4e12: dd3ff0ef jal ra,4be4 <J5_PWR_Open>
4e16: e05ff0ef jal ra,4c1a <J6_PWR_Close>
4e1a: e25ff0ef jal ra,4c3e <J7_PWR_Close>
4e1e: e45ff0ef jal ra,4c62 <J8_PWR_Close>
4e22: e9fff0ef jal ra,4cc0 <J9_PWR_Close>
4e26: 4581 li a1,0
4e28: 03800513 li a0,56
4e2c: b0cfe0ef jal ra,3138 <rt_pin_write>
4e30: 4581 li a1,0
4e32: 03900513 li a0,57
4e36: b02fe0ef jal ra,3138 <rt_pin_write>
4e3a: 4581 li a1,0
4e3c: 03a00513 li a0,58
4e40: af8fe0ef jal ra,3138 <rt_pin_write>
4e44: d82fb06f j 3c6 <__riscv_restore_0>
00004e48 <USART_CONNET_J6>:
4e48: d5afb2ef jal t0,3a2 <__riscv_save_0>
4e4c: dabff0ef jal ra,4bf6 <J5_PWR_Close>
4e50: db9ff0ef jal ra,4c08 <J6_PWR_Open>
4e54: debff0ef jal ra,4c3e <J7_PWR_Close>
4e58: e0bff0ef jal ra,4c62 <J8_PWR_Close>
4e5c: e65ff0ef jal ra,4cc0 <J9_PWR_Close>
4e60: 4585 li a1,1
4e62: 03800513 li a0,56
4e66: ad2fe0ef jal ra,3138 <rt_pin_write>
4e6a: 4581 li a1,0
4e6c: 03900513 li a0,57
4e70: ac8fe0ef jal ra,3138 <rt_pin_write>
4e74: 4581 li a1,0
4e76: 03a00513 li a0,58
4e7a: abefe0ef jal ra,3138 <rt_pin_write>
4e7e: d48fb06f j 3c6 <__riscv_restore_0>
00004e82 <USART_CONNET_J7>:
4e82: d20fb2ef jal t0,3a2 <__riscv_save_0>
4e86: d71ff0ef jal ra,4bf6 <J5_PWR_Close>
4e8a: d91ff0ef jal ra,4c1a <J6_PWR_Close>
4e8e: d9fff0ef jal ra,4c2c <J7_PWR_Open>
4e92: dd1ff0ef jal ra,4c62 <J8_PWR_Close>
4e96: e2bff0ef jal ra,4cc0 <J9_PWR_Close>
4e9a: 4585 li a1,1
4e9c: 03800513 li a0,56
4ea0: a98fe0ef jal ra,3138 <rt_pin_write>
4ea4: 4585 li a1,1
4ea6: 03900513 li a0,57
4eaa: a8efe0ef jal ra,3138 <rt_pin_write>
4eae: 4581 li a1,0
4eb0: 03a00513 li a0,58
4eb4: a84fe0ef jal ra,3138 <rt_pin_write>
4eb8: d0efb06f j 3c6 <__riscv_restore_0>
00004ebc <USART_CONNET_J8>:
4ebc: ce6fb2ef jal t0,3a2 <__riscv_save_0>
4ec0: d37ff0ef jal ra,4bf6 <J5_PWR_Close>
4ec4: d57ff0ef jal ra,4c1a <J6_PWR_Close>
4ec8: d77ff0ef jal ra,4c3e <J7_PWR_Close>
4ecc: d85ff0ef jal ra,4c50 <J8_PWR_Open>
4ed0: df1ff0ef jal ra,4cc0 <J9_PWR_Close>
4ed4: 4581 li a1,0
4ed6: 03800513 li a0,56
4eda: a5efe0ef jal ra,3138 <rt_pin_write>
4ede: 4581 li a1,0
4ee0: 03900513 li a0,57
4ee4: a54fe0ef jal ra,3138 <rt_pin_write>
4ee8: 4585 li a1,1
4eea: 03a00513 li a0,58
4eee: a4afe0ef jal ra,3138 <rt_pin_write>
4ef2: cd4fb06f j 3c6 <__riscv_restore_0>
00004ef6 <USARTx_SendByte_str>:
4ef6: cacfb2ef jal t0,3a2 <__riscv_save_0>
4efa: 842a mv s0,a0
4efc: b33ff0ef jal ra,4a2e <USART_SendData>
4f00: 08000593 li a1,128
4f04: 8522 mv a0,s0
4f06: b39ff0ef jal ra,4a3e <USART_GetFlagStatus>
4f0a: d97d beqz a0,4f00 <USARTx_SendByte_str+0xa>
4f0c: cbafb06f j 3c6 <__riscv_restore_0>
00004f10 <memcmp>:
4f10: 4701 li a4,0
4f12: 00e61463 bne a2,a4,4f1a <memcmp+0xa>
4f16: 4501 li a0,0
4f18: 8082 ret
4f1a: 00e507b3 add a5,a0,a4
4f1e: 0705 addi a4,a4,1
4f20: 00e586b3 add a3,a1,a4
4f24: 239c lbu a5,0(a5)
4f26: fff6c683 lbu a3,-1(a3)
4f2a: fed784e3 beq a5,a3,4f12 <memcmp+0x2>
4f2e: 40d78533 sub a0,a5,a3
4f32: 8082 ret
00004f34 <memcpy>:
4f34: 00a5c7b3 xor a5,a1,a0
4f38: 8b8d andi a5,a5,3
4f3a: 00c50733 add a4,a0,a2
4f3e: e781 bnez a5,4f46 <memcpy+0x12>
4f40: 478d li a5,3
4f42: 00c7ed63 bltu a5,a2,4f5c <memcpy+0x28>
4f46: 87aa mv a5,a0
4f48: 08e57e63 bgeu a0,a4,4fe4 <memcpy+0xb0>
4f4c: 2194 lbu a3,0(a1)
4f4e: 0785 addi a5,a5,1
4f50: 0585 addi a1,a1,1
4f52: fed78fa3 sb a3,-1(a5) # bffff <__stack_size+0xb7fff>
4f56: fee7ebe3 bltu a5,a4,4f4c <memcpy+0x18>
4f5a: 8082 ret
4f5c: 00357693 andi a3,a0,3
4f60: 87aa mv a5,a0
4f62: ca89 beqz a3,4f74 <memcpy+0x40>
4f64: 2194 lbu a3,0(a1)
4f66: 0785 addi a5,a5,1
4f68: 0585 addi a1,a1,1
4f6a: fed78fa3 sb a3,-1(a5)
4f6e: 0037f693 andi a3,a5,3
4f72: bfc5 j 4f62 <memcpy+0x2e>
4f74: ffc77693 andi a3,a4,-4
4f78: fe068613 addi a2,a3,-32
4f7c: 06c7f063 bgeu a5,a2,4fdc <memcpy+0xa8>
4f80: 0005a383 lw t2,0(a1) # 40021000 <_eusrstack+0x20011000>
4f84: 0045a283 lw t0,4(a1)
4f88: 0085af83 lw t6,8(a1)
4f8c: 00c5af03 lw t5,12(a1)
4f90: 0105ae83 lw t4,16(a1)
4f94: 0145ae03 lw t3,20(a1)
4f98: 0185a303 lw t1,24(a1)
4f9c: 01c5a883 lw a7,28(a1)
4fa0: 02458593 addi a1,a1,36
4fa4: 0077a023 sw t2,0(a5)
4fa8: ffc5a803 lw a6,-4(a1)
4fac: 0057a223 sw t0,4(a5)
4fb0: 01f7a423 sw t6,8(a5)
4fb4: 01e7a623 sw t5,12(a5)
4fb8: 01d7a823 sw t4,16(a5)
4fbc: 01c7aa23 sw t3,20(a5)
4fc0: 0067ac23 sw t1,24(a5)
4fc4: 0117ae23 sw a7,28(a5)
4fc8: 02478793 addi a5,a5,36
4fcc: ff07ae23 sw a6,-4(a5)
4fd0: b775 j 4f7c <memcpy+0x48>
4fd2: 4190 lw a2,0(a1)
4fd4: 0791 addi a5,a5,4
4fd6: 0591 addi a1,a1,4
4fd8: fec7ae23 sw a2,-4(a5)
4fdc: fed7ebe3 bltu a5,a3,4fd2 <memcpy+0x9e>
4fe0: f6e7e6e3 bltu a5,a4,4f4c <memcpy+0x18>
4fe4: 8082 ret
00004fe6 <strcat>:
4fe6: 87aa mv a5,a0
4fe8: 2398 lbu a4,0(a5)
4fea: 00178693 addi a3,a5,1
4fee: eb09 bnez a4,5000 <strcat+0x1a>
4ff0: 0585 addi a1,a1,1
4ff2: fff5c703 lbu a4,-1(a1)
4ff6: 0785 addi a5,a5,1
4ff8: fee78fa3 sb a4,-1(a5)
4ffc: fb75 bnez a4,4ff0 <strcat+0xa>
4ffe: 8082 ret
5000: 87b6 mv a5,a3
5002: b7dd j 4fe8 <strcat+0x2>
00005004 <strcpy>:
5004: 87aa mv a5,a0
5006: 2198 lbu a4,0(a1)
5008: 0785 addi a5,a5,1
500a: 0585 addi a1,a1,1
500c: fee78fa3 sb a4,-1(a5)
5010: fb7d bnez a4,5006 <strcpy+0x2>
5012: 8082 ret
00005014 <strlen>:
5014: 87aa mv a5,a0
5016: 0785 addi a5,a5,1
5018: fff7c703 lbu a4,-1(a5)
501c: ff6d bnez a4,5016 <strlen+0x2>
501e: 40a78533 sub a0,a5,a0
5022: 157d addi a0,a0,-1
5024: 8082 ret
00005026 <strncmp>:
5026: c215 beqz a2,504a <strncmp+0x24>
5028: 167d addi a2,a2,-1
502a: 4701 li a4,0
502c: 00e507b3 add a5,a0,a4
5030: 00e586b3 add a3,a1,a4
5034: 239c lbu a5,0(a5)
5036: 2294 lbu a3,0(a3)
5038: 00d79663 bne a5,a3,5044 <strncmp+0x1e>
503c: 00c70463 beq a4,a2,5044 <strncmp+0x1e>
5040: 0705 addi a4,a4,1
5042: f7ed bnez a5,502c <strncmp+0x6>
5044: 40d78533 sub a0,a5,a3
5048: 8082 ret
504a: 4501 li a0,0
504c: 8082 ret
504e: 0000 unimp
5050: 5b18 lw a4,48(a4)
5052: 0000 unimp
5054: 5b2c lw a1,112(a4)
5056: 0000 unimp
5058: 5b3c lw a5,112(a4)
505a: 0000 unimp
505c: 5b50 lw a2,52(a4)
505e: 0000 unimp
5060: 5b5c lw a5,52(a4)
5062: 0000 unimp
5064: 5b68 lw a0,116(a4)
5066: 0000 unimp
5068: 5b6c lw a1,116(a4)
506a: 0000 unimp
506c: 5b7c lw a5,116(a4)
506e: 0000 unimp
5070: 5b8c lw a1,48(a5)
5072: 0000 unimp
5074: 5b94 lw a3,48(a5)
5076: 0000 unimp
5078: 5ba8 lw a0,112(a5)
507a: 0000 unimp
507c: 5bb8 lw a4,112(a5)
507e: 0000 unimp
5080: 5bc0 lw s0,52(a5)
5082: 0000 unimp
5084: 5bcc lw a1,52(a5)
5086: 0000 unimp
5088: 5bd8 lw a4,52(a5)
508a: 0000 unimp
508c: 5bec lw a1,116(a5)
508e: 0000 unimp
5090: 5bf4 lw a3,116(a5)
5092: 0000 unimp
5094: 5c04 lw s1,56(s0)
5096: 0000 unimp
5098: 5c14 lw a3,56(s0)
509a: 0000 unimp
509c: 5c2c lw a1,120(s0)
509e: 0000 unimp
50a0: 616d addi sp,sp,240
50a2: 6e69 lui t3,0x1a
50a4: 0000 unimp
50a6: 0000 unimp
50a8: 6f54 flw fa3,28(a4)
50aa: 6920 flw fs0,80(a0)
50ac: 696e flw fs2,216(sp)
50ae: 6974 flw fa3,84(a0)
50b0: 6c61 lui s8,0x18
50b2: 7a69 lui s4,0xffffa
50b4: 2065 jal 515c <__lowest_bit_bitmap+0x74>
50b6: 6564 flw fs1,76(a0)
50b8: 6976 flw fs2,92(sp)
50ba: 253a6563 bltu s4,s3,5304 <__fsym_list_mem_desc+0x1c>
50be: 61662073 csrs 0x616,a2
50c2: 6c69 lui s8,0x1a
50c4: 6465 lui s0,0x19
50c6: 202e lhu a1,2(s0)
50c8: 6854 flw fa3,20(s0)
50ca: 2065 jal 5172 <__lowest_bit_bitmap+0x8a>
50cc: 7265 lui tp,0xffff9
50ce: 6f72 flw ft10,28(sp)
50d0: 2072 lhu a2,6(s0)
50d2: 65646f63 bltu s0,s6,5730 <__fsym_list_mem_name+0x428>
50d6: 6920 flw fs0,80(a0)
50d8: 64252073 csrs 0x642,a0
50dc: 000a c.slli zero,0x2
50de: 0000 unimp
50e0: 6974 flw fa3,84(a0)
50e2: 6c64 flw fs1,92(s0)
50e4: 0065 c.nop 25
...
000050e8 <__lowest_bit_bitmap>:
50e8: 0000 0001 0002 0001 0003 0001 0002 0001 ................
50f8: 0004 0001 0002 0001 0003 0001 0002 0001 ................
5108: 0005 0001 0002 0001 0003 0001 0002 0001 ................
5118: 0004 0001 0002 0001 0003 0001 0002 0001 ................
5128: 0006 0001 0002 0001 0003 0001 0002 0001 ................
5138: 0004 0001 0002 0001 0003 0001 0002 0001 ................
5148: 0005 0001 0002 0001 0003 0001 0002 0001 ................
5158: 0004 0001 0002 0001 0003 0001 0002 0001 ................
5168: 0007 0001 0002 0001 0003 0001 0002 0001 ................
5178: 0004 0001 0002 0001 0003 0001 0002 0001 ................
5188: 0005 0001 0002 0001 0003 0001 0002 0001 ................
5198: 0004 0001 0002 0001 0003 0001 0002 0001 ................
51a8: 0006 0001 0002 0001 0003 0001 0002 0001 ................
51b8: 0004 0001 0002 0001 0003 0001 0002 0001 ................
51c8: 0005 0001 0002 0001 0003 0001 0002 0001 ................
51d8: 0004 0001 0002 0001 0003 0001 0002 0001 ................
000051e8 <large_digits.2583>:
51e8: 3130 3332 3534 3736 3938 4241 4443 4645 0123456789ABCDEF
51f8: 0000 0000 200a 205c 207c 0a2f 0000 0000 ..... \ | /.....
5208: 202d 5452 2d20 2020 2020 5420 7268 6165 - RT - Threa
5218: 2064 704f 7265 7461 6e69 2067 7953 7473 d Operating Syst
5228: 6d65 000a 754a 206c 3232 3220 3230 0034 em..Jul 22 2024.
5238: 2f20 7c20 5c20 2020 2020 2520 2e64 6425 / | \ %d.%d
5248: 252e 2064 7562 6c69 2064 7325 000a 0000 .%d build %s....
5258: 3220 3030 2036 202d 3032 3931 4320 706f 2006 - 2019 Cop
5268: 7279 6769 7468 6220 2079 7472 742d 7268 yright by rt-thr
5278: 6165 2064 6574 6d61 000a 0000 4e28 4c55 ead team....(NUL
5288: 294c 0000 L)..
0000528c <small_digits.2582>:
528c: 3130 3332 3534 3736 3938 6261 6463 6665 0123456789abcdef
529c: 0000 0000 6f74 6174 206c 656d 6f6d 7972 ....total memory
52ac: 203a 6425 000a 0000 7375 6465 6d20 6d65 : %d....used mem
52bc: 726f 2079 203a 6425 000a 0000 616d 6978 ory : %d....maxi
52cc: 756d 206d 6c61 6f6c 6163 6574 2064 656d mum allocated me
52dc: 6f6d 7972 203a 6425 000a 0000 mory: %d....
000052e8 <__fsym_list_mem_desc>:
52e8: 696c 7473 6d20 6d65 726f 2079 7375 6761 list memory usag
52f8: 2065 6e69 6f66 6d72 7461 6f69 006e 0000 e information...
00005308 <__fsym_list_mem_name>:
5308: 696c 7473 6d5f 6d65 0000 0000 6f74 6620 list_mem....to f
5318: 6572 2065 2061 6162 2064 6164 6174 6220 ree a bad data b
5328: 6f6c 6b63 0a3a 0000 656d 3a6d 3020 2578 lock:...mem: 0x%
5338: 3830 2c78 7520 6573 2064 6c66 6761 203a 08x, used flag:
5348: 6425 202c 616d 6967 2063 6f63 6564 203a %d, magic code:
5358: 7830 3025 7834 000a 6568 7061 0000 0000 0x%04x..heap....
5368: 656d 206d 6e69 7469 202c 7265 6f72 2072 mem init, error
5378: 6562 6967 206e 6461 7264 7365 2073 7830 begin address 0x
5388: 7825 202c 6e61 2064 6e65 2064 6461 7264 %x, and end addr
5398: 7365 2073 7830 7825 000a 0000 5b1b 4a32 ess 0x%x.....[2J
53a8: 5b1b 0048 2d2d 7546 636e 6974 6e6f 4c20 .[H.--Function L
53b8: 7369 3a74 000a 0000 5f5f 0000 2d25 3631 ist:....__..%-16
53c8: 2073 2d2d 2520 0a73 0000 0000 6564 6976 s -- %s.....devi
53d8: 6563 0000 2d25 2e2a 2073 2020 2020 2020 ce..%-*.s
53e8: 2020 7974 6570 2020 2020 2020 2020 7220 type r
53f8: 6665 6320 756f 746e 000a 0000 2d20 2d2d ef count.... ---
5408: 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d ----------------
5418: 202d 2d2d 2d2d 2d2d 2d2d 2d2d 000a 0000 - ----------....
5428: 2d25 2e2a 732a 2520 322d 7330 2520 382d %-*.*s %-20s %-8
5438: 0a64 0000 7665 6e65 0074 0000 2d25 2e2a d...event...%-*.
5448: 2073 2020 2020 7320 7465 2020 2020 7573 s set su
5458: 7073 6e65 2064 6874 6572 6461 000a 0000 spend thread....
5468: 2020 2d2d 2d2d 2d2d 2d2d 2d2d 2d20 2d2d ---------- ---
5478: 2d2d 2d2d 2d2d 2d2d 2d2d 0a2d 0000 0000 -----------.....
5488: 2d25 2e2a 732a 2020 7830 3025 7838 2520 %-*.*s 0x%08x %
5498: 3330 3a64 0000 0000 2d25 2e2a 732a 2020 03d:....%-*.*s
54a8: 7830 3025 7838 3020 000a 0000 616d 6c69 0x%08x 0....mail
54b8: 6f62 0078 2d25 2e2a 2073 6e65 7274 2079 box.%-*.s entry
54c8: 6973 657a 7320 7375 6570 646e 7420 7268 size suspend thr
54d8: 6165 0a64 0000 0000 2d20 2d2d 202d 2d20 ead..... ---- -
54e8: 2d2d 202d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d --- ------------
54f8: 2d2d 000a 2d25 2e2a 732a 2520 3430 2064 --..%-*.*s %04d
5508: 2520 3430 2064 6425 003a 0000 2d25 2e2a %04d %d:...%-*.
5518: 732a 2520 3430 2064 2520 3430 2064 6425 *s %04d %04d %d
5528: 000a 0000 736d 7167 6575 6575 0000 0000 ....msgqueue....
5538: 2d25 2e2a 2073 6e65 7274 2079 7573 7073 %-*.s entry susp
5548: 6e65 2064 6874 6572 6461 000a 2d20 2d2d end thread.. ---
5558: 202d 2d20 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d - -------------
5568: 0a2d 0000 2d25 2e2a 732a 2520 3430 2064 -...%-*.*s %04d
5578: 2520 3a64 0000 0000 2d25 2e2a 732a 2520 %d:....%-*.*s %
5588: 3430 2064 2520 0a64 0000 0000 756d 6574 04d %d.....mute
5598: 0078 0000 2d25 2e2a 2073 2020 776f 656e x...%-*.s owne
55a8: 2072 6820 6c6f 2064 7573 7073 6e65 2064 r hold suspend
55b8: 6874 6572 6461 000a 2d20 2d2d 2d2d 2d2d thread.. -------
55c8: 202d 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d - ---- ---------
55d8: 2d2d 2d2d 0a2d 0000 2d25 2e2a 732a 2520 -----...%-*.*s %
55e8: 382d 2a2e 2073 3025 6434 2520 0a64 0000 -8.*s %04d %d...
55f8: 6573 616d 6870 726f 0065 0000 2d25 2e2a semaphore...%-*.
5608: 2073 2076 2020 7573 7073 6e65 2064 6874 s v suspend th
5618: 6572 6461 000a 0000 2d20 2d2d 2d20 2d2d read.... --- ---
5628: 2d2d 2d2d 2d2d 2d2d 2d2d 0a2d 0000 0000 -----------.....
5638: 2d25 2e2a 732a 2520 3330 2064 6425 003a %-*.*s %03d %d:.
5648: 2d25 2e2a 732a 2520 3330 2064 6425 000a %-*.*s %03d %d..
5658: 6874 6572 6461 0000 2d25 2e2a 2073 7270 thread..%-*.s pr
5668: 2069 7320 6174 7574 2073 2020 2020 7320 i status s
5678: 2070 2020 2020 7473 6361 206b 6973 657a p stack size
5688: 6d20 7861 7520 6573 2064 656c 7466 7420 max used left t
5698: 6369 206b 6520 7272 726f 000a 2d20 2d2d ick error.. ---
56a8: 2020 2d2d 2d2d 2d2d 202d 2d2d 2d2d 2d2d ------- ------
56b8: 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d 202d ---- ----------
56c8: 2d20 2d2d 2d2d 202d 2d20 2d2d 2d2d 2d2d ------ -------
56d8: 2d2d 202d 2d2d 0a2d 0000 0000 2d25 2e2a --- ---.....%-*.
56e8: 732a 2520 6433 0020 7220 6165 7964 2020 *s %3d . ready
56f8: 0000 0000 7320 7375 6570 646e 0000 0000 .... suspend....
5708: 6920 696e 2074 2020 0000 0000 6320 6f6c init .... clo
5718: 6573 2020 0000 0000 3020 2578 3830 2078 se .... 0x%08x
5728: 7830 3025 7838 2020 2020 3025 6432 2525 0x%08x %02d%%
5738: 2020 3020 2578 3830 2078 3025 6433 000a 0x%08x %03d..
5748: 6974 656d 0072 0000 2d25 2e2a 2073 7020 timer...%-*.s p
5758: 7265 6f69 6964 2063 2020 6974 656d 756f eriodic timeou
5768: 2074 2020 2020 2020 6c66 6761 000a 0000 t flag....
5778: 2d20 2d2d 2d2d 2d2d 2d2d 202d 2d2d 2d2d ---------- ----
5788: 2d2d 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d ------ ---------
5798: 2d2d 000a 2d25 2e2a 732a 3020 2578 3830 --..%-*.*s 0x%08
57a8: 2078 7830 3025 7838 0020 0000 6361 6974 x 0x%08x ...acti
57b8: 6176 6574 0a64 0000 6564 6361 6974 6176 vated...deactiva
57c8: 6574 0a64 0000 0000 7563 7272 6e65 2074 ted.....current
57d8: 6974 6b63 303a 2578 3830 0a78 0000 0000 tick:0x%08x.....
000057e8 <__fsym_list_desc>:
57e8: 696c 7473 6120 6c6c 7320 6d79 6f62 206c list all symbol
57f8: 6e69 7320 7379 6574 006d 0000 in system...
00005804 <__fsym_list_name>:
5804: 696c 7473 0000 0000 list....
0000580c <__fsym___cmd_list_device_desc>:
580c: 696c 7473 6420 7665 6369 2065 6e69 7320 list device in s
581c: 7379 6574 006d 0000 ystem...
00005824 <__fsym___cmd_list_device_name>:
5824: 5f5f 6d63 5f64 696c 7473 645f 7665 6369 __cmd_list_devic
5834: 0065 0000 e...
00005838 <__fsym_list_device_desc>:
5838: 696c 7473 6420 7665 6369 2065 6e69 7320 list device in s
5848: 7379 6574 006d 0000 ystem...
00005850 <__fsym_list_device_name>:
5850: 696c 7473 645f 7665 6369 0065 list_device.
0000585c <__fsym___cmd_list_timer_desc>:
585c: 696c 7473 7420 6d69 7265 6920 206e 7973 list timer in sy
586c: 7473 6d65 0000 0000 stem....
00005874 <__fsym___cmd_list_timer_name>:
5874: 5f5f 6d63 5f64 696c 7473 745f 6d69 7265 __cmd_list_timer
5884: 0000 0000 ....
00005888 <__fsym_list_timer_desc>:
5888: 696c 7473 7420 6d69 7265 6920 206e 7973 list timer in sy
5898: 7473 6d65 0000 0000 stem....
000058a0 <__fsym_list_timer_name>:
58a0: 696c 7473 745f 6d69 7265 0000 list_timer..
000058ac <__fsym___cmd_list_msgqueue_desc>:
58ac: 696c 7473 6d20 7365 6173 6567 7120 6575 list message que
58bc: 6575 6920 206e 7973 7473 6d65 0000 0000 ue in system....
000058cc <__fsym___cmd_list_msgqueue_name>:
58cc: 5f5f 6d63 5f64 696c 7473 6d5f 6773 7571 __cmd_list_msgqu
58dc: 7565 0065 eue.
000058e0 <__fsym_list_msgqueue_desc>:
58e0: 696c 7473 6d20 7365 6173 6567 7120 6575 list message que
58f0: 6575 6920 206e 7973 7473 6d65 0000 0000 ue in system....
00005900 <__fsym_list_msgqueue_name>:
5900: 696c 7473 6d5f 6773 7571 7565 0065 0000 list_msgqueue...
00005910 <__fsym___cmd_list_mailbox_desc>:
5910: 696c 7473 6d20 6961 206c 6f62 2078 6e69 list mail box in
5920: 7320 7379 6574 006d system.
00005928 <__fsym___cmd_list_mailbox_name>:
5928: 5f5f 6d63 5f64 696c 7473 6d5f 6961 626c __cmd_list_mailb
5938: 786f 0000 ox..
0000593c <__fsym_list_mailbox_desc>:
593c: 696c 7473 6d20 6961 206c 6f62 2078 6e69 list mail box in
594c: 7320 7379 6574 006d system.
00005954 <__fsym_list_mailbox_name>:
5954: 696c 7473 6d5f 6961 626c 786f 0000 0000 list_mailbox....
00005964 <__fsym___cmd_list_mutex_desc>:
5964: 696c 7473 6d20 7475 7865 6920 206e 7973 list mutex in sy
5974: 7473 6d65 0000 0000 stem....
0000597c <__fsym___cmd_list_mutex_name>:
597c: 5f5f 6d63 5f64 696c 7473 6d5f 7475 7865 __cmd_list_mutex
598c: 0000 0000 ....
00005990 <__fsym_list_mutex_desc>:
5990: 696c 7473 6d20 7475 7865 6920 206e 7973 list mutex in sy
59a0: 7473 6d65 0000 0000 stem....
000059a8 <__fsym_list_mutex_name>:
59a8: 696c 7473 6d5f 7475 7865 0000 list_mutex..
000059b4 <__fsym___cmd_list_event_desc>:
59b4: 696c 7473 6520 6576 746e 6920 206e 7973 list event in sy
59c4: 7473 6d65 0000 0000 stem....
000059cc <__fsym___cmd_list_event_name>:
59cc: 5f5f 6d63 5f64 696c 7473 655f 6576 746e __cmd_list_event
59dc: 0000 0000 ....
000059e0 <__fsym_list_event_desc>:
59e0: 696c 7473 6520 6576 746e 6920 206e 7973 list event in sy
59f0: 7473 6d65 0000 0000 stem....
000059f8 <__fsym_list_event_name>:
59f8: 696c 7473 655f 6576 746e 0000 list_event..
00005a04 <__fsym___cmd_list_sem_desc>:
5a04: 696c 7473 7320 6d65 7061 6f68 6572 6920 list semaphore i
5a14: 206e 7973 7473 6d65 0000 0000 n system....
00005a20 <__fsym___cmd_list_sem_name>:
5a20: 5f5f 6d63 5f64 696c 7473 735f 6d65 0000 __cmd_list_sem..
00005a30 <__fsym_list_sem_desc>:
5a30: 696c 7473 7320 6d65 7061 6f68 656e 6920 list semaphone i
5a40: 206e 7973 7473 6d65 0000 0000 n system....
00005a4c <__fsym_list_sem_name>:
5a4c: 696c 7473 735f 6d65 0000 0000 list_sem....
00005a58 <__fsym___cmd_list_thread_desc>:
5a58: 696c 7473 7420 7268 6165 0064 list thread.
00005a64 <__fsym___cmd_list_thread_name>:
5a64: 5f5f 6d63 5f64 696c 7473 745f 7268 6165 __cmd_list_threa
5a74: 0064 0000 d...
00005a78 <__fsym_list_thread_desc>:
5a78: 696c 7473 7420 7268 6165 0064 list thread.
00005a84 <__fsym_list_thread_name>:
5a84: 696c 7473 745f 7268 6165 0064 list_thread.
00005a90 <__fsym___cmd_clear_desc>:
5a90: 6874 2065 6574 6d72 6e69 6c61 7320 7263 the terminal scr
5aa0: 6565 006e een.
00005aa4 <__fsym___cmd_clear_name>:
5aa4: 5f5f 6d63 5f64 6c63 6165 0072 __cmd_clear.
00005ab0 <__fsym_clear_desc>:
5ab0: 6874 2065 6574 6d72 6e69 6c61 7320 7263 the terminal scr
5ac0: 6565 006e een.
00005ac4 <__fsym_clear_name>:
5ac4: 6c63 6165 0072 0000 clear...
00005acc <__fsym___cmd_reboot_desc>:
5acc: 6572 6f62 746f 7420 6568 6220 616f 6472 reboot the board
5adc: 0000 0000 ....
00005ae0 <__fsym___cmd_reboot_name>:
5ae0: 5f5f 6d63 5f64 6572 6f62 746f 0000 0000 __cmd_reboot....
00005af0 <__fsym_reboot_desc>:
5af0: 6572 6f62 746f 7420 6568 6220 616f 6472 reboot the board
5b00: 0000 0000 ....
00005b04 <__fsym_reboot_name>:
5b04: 6572 6f62 746f 0000 002d 0000 7325 0000 reboot..-...%s..
5b14: 002f 0000 6843 7261 6361 6574 2072 6544 /...Character De
5b24: 6976 6563 0000 0000 6c42 636f 206b 6544 vice....Block De
5b34: 6976 6563 0000 0000 654e 7774 726f 206b vice....Network
5b44: 6e49 6574 6672 6361 0065 0000 544d 2044 Interface...MTD
5b54: 6544 6976 6563 0000 4143 204e 6544 6976 Device..CAN Devi
5b64: 6563 0000 5452 0043 6f53 6e75 2064 6544 ce..RTC.Sound De
5b74: 6976 6563 0000 0000 7247 7061 6968 2063 vice....Graphic
5b84: 6544 6976 6563 0000 3249 2043 7542 0073 Device..I2C Bus.
5b94: 5355 2042 6c53 7661 2065 6544 6976 6563 USB Slave Device
5ba4: 0000 0000 5355 2042 6f48 7473 4220 7375 ....USB Host Bus
5bb4: 0000 0000 5053 2049 7542 0073 5053 2049 ....SPI Bus.SPI
5bc4: 6544 6976 6563 0000 4453 4f49 4220 7375 Device..SDIO Bus
5bd4: 0000 0000 4d50 5020 6573 6475 206f 6544 ....PM Pseudo De
5be4: 6976 6563 0000 0000 6950 6570 0000 0000 vice....Pipe....
5bf4: 6f50 7472 6c61 4420 7665 6369 0065 0000 Portal Device...
5c04: 6954 656d 2072 6544 6976 6563 0000 0000 Timer Device....
5c14: 694d 6373 6c65 616c 656e 756f 2073 6544 Miscellaneous De
5c24: 6976 6563 0000 0000 6e55 6e6b 776f 006e vice....Unknown.
5c34: 6f54 206f 616d 796e 6120 6772 2073 2021 Too many args !
5c44: 6557 6f20 6c6e 2079 7355 3a65 000a 0000 We only Use:....
5c54: 7325 0020 7325 203a 6f63 6d6d 6e61 2064 %s .%s: command
5c64: 6f6e 2074 6f66 6e75 2e64 000a 5452 542d not found...RT-T
5c74: 7268 6165 2064 6873 6c65 206c 6f63 6d6d hread shell comm
5c84: 6e61 7364 0a3a 0000 5f5f 6d63 5f64 0000 ands:...__cmd_..
5c94: 2d25 3631 2073 202d 7325 000a %-16s - %s..
00005ca0 <__fsym___cmd_help_desc>:
5ca0: 5452 542d 7268 6165 2064 6873 6c65 206c RT-Thread shell
5cb0: 6568 706c 0000 0000 help....
00005cb8 <__fsym___cmd_help_name>:
5cb8: 5f5f 6d63 5f64 6568 706c 0000 __cmd_help..
00005cc4 <__fsym___cmd_free_desc>:
5cc4: 6853 776f 7420 6568 6d20 6d65 726f 2079 Show the memory
5cd4: 7375 6761 2065 6e69 7420 6568 7320 7379 usage in the sys
5ce4: 6574 006d tem.
00005ce8 <__fsym___cmd_free_name>:
5ce8: 5f5f 6d63 5f64 7266 6565 0000 __cmd_free..
00005cf4 <__fsym___cmd_ps_desc>:
5cf4: 694c 7473 7420 7268 6165 7364 6920 206e List threads in
5d04: 6874 2065 7973 7473 6d65 0000 the system..
00005d10 <__fsym___cmd_ps_name>:
5d10: 5f5f 6d63 5f64 7370 0000 0000 736d 2068 __cmd_ps....msh
5d20: 0000 0000 6966 736e 2068 0000 003e 0000 ....finsh ..>...
5d30: 6966 736e 3a68 6320 6e61 6e20 746f 6620 finsh: can not f
5d40: 6e69 2064 6564 6976 6563 203a 7325 000a ind device: %s..
5d50: 6f6e 6d20 6d65 726f 2079 6f66 2072 6873 no memory for sh
5d60: 6c65 0a6c 0000 0000 7374 6568 6c6c 0000 ell.....tshell..
5d70: 6873 7872 0000 0000 0008 0000 6325 0000 shrx........%c..
5d80: 2508 2073 0820 0000 2008 0008 5b1b 4b32 .%s .... ...[2K
5d90: 000d 0000 7325 7325 0000 0000 ....%s%s....
00005d9c <__fsym_pinRead_desc>:
5d9c: 6572 6461 7320 6174 7574 2073 7266 6d6f read status from
5dac: 6820 7261 7764 7261 2065 6970 006e 0000 hardware pin...
00005dbc <__fsym_pinRead_name>:
5dbc: 6970 526e 6165 0064 pinRead.
00005dc4 <__fsym_pinWrite_desc>:
5dc4: 7277 7469 2065 6176 756c 2065 6f74 6820 write value to h
5dd4: 7261 7764 7261 2065 6970 006e ardware pin.
00005de0 <__fsym_pinWrite_name>:
5de0: 6970 576e 6972 6574 0000 0000 pinWrite....
00005dec <__fsym_pinMode_desc>:
5dec: 6573 2074 6168 6472 6177 6572 7020 6e69 set hardware pin
5dfc: 6d20 646f 0065 0000 mode...
00005e04 <__fsym_pinMode_name>:
5e04: 6970 4d6e 646f 0065 6175 7472 0031 0000 pinMode.uart1...
00005e14 <_ch32_pin_ops>:
5e14: 3406 0000 33c6 0000 33e8 0000 3484 0000 .4...3...3...4..
5e24: 3516 0000 3570 0000 .5..p5..
00005e2c <pin_irq_map>:
5e2c: 0001 0000 0016 0000 0002 0000 0017 0000 ................
5e3c: 0004 0000 0018 0000 0008 0000 0019 0000 ................
5e4c: 0010 0000 001a 0000 0020 0000 0027 0000 ........ ...'...
5e5c: 0040 0000 0027 0000 0080 0000 0027 0000 @...'.......'...
5e6c: 0100 0000 0027 0000 0200 0000 0027 0000 ....'.......'...
5e7c: 0400 0000 0038 0000 0800 0000 0038 0000 ....8.......8...
5e8c: 1000 0000 0038 0000 2000 0000 0038 0000 ....8.... ..8...
5e9c: 4000 0000 0038 0000 8000 0000 0038 0000 .@..8.......8...
00005eac <pins>:
5eac: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5ebc: 0001 0000 3378 0000 1800 4001 0004 0000 ....x3.....@....
5ecc: 0002 0000 3378 0000 1800 4001 0008 0000 ....x3.....@....
5edc: 0003 0000 3378 0000 1800 4001 0010 0000 ....x3.....@....
5eec: 0004 0000 3378 0000 1800 4001 0020 0000 ....x3.....@ ...
5efc: 0005 0000 3378 0000 1800 4001 0040 0000 ....x3.....@@...
5f0c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5f1c: 0007 0000 3368 0000 1000 4001 2000 0000 ....h3.....@. ..
5f2c: 0008 0000 3368 0000 1000 4001 4000 0000 ....h3.....@.@..
5f3c: 0009 0000 3368 0000 1000 4001 8000 0000 ....h3.....@....
5f4c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5f5c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5f6c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5f7c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5f8c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5f9c: 000f 0000 3368 0000 1000 4001 0001 0000 ....h3.....@....
5fac: 0010 0000 3368 0000 1000 4001 0002 0000 ....h3.....@....
5fbc: 0011 0000 3368 0000 1000 4001 0004 0000 ....h3.....@....
5fcc: 0012 0000 3368 0000 1000 4001 0008 0000 ....h3.....@....
5fdc: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5fec: ffff ffff 0000 0000 0000 0000 0000 0000 ................
5ffc: ffff ffff 0000 0000 0000 0000 0000 0000 ................
600c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
601c: 0017 0000 3358 0000 0800 4001 0001 0000 ....X3.....@....
602c: 0018 0000 3358 0000 0800 4001 0002 0000 ....X3.....@....
603c: 0019 0000 3358 0000 0800 4001 0004 0000 ....X3.....@....
604c: 001a 0000 3358 0000 0800 4001 0008 0000 ....X3.....@....
605c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
606c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
607c: 001d 0000 3358 0000 0800 4001 0010 0000 ....X3.....@....
608c: 001e 0000 3358 0000 0800 4001 0020 0000 ....X3.....@ ...
609c: 001f 0000 3358 0000 0800 4001 0040 0000 ....X3.....@@...
60ac: 0020 0000 3358 0000 0800 4001 0080 0000 ...X3.....@....
60bc: 0021 0000 3368 0000 1000 4001 0010 0000 !...h3.....@....
60cc: 0022 0000 3368 0000 1000 4001 0020 0000 "...h3.....@ ...
60dc: 0023 0000 3348 0000 0c00 4001 0001 0000 #...H3.....@....
60ec: 0024 0000 3348 0000 0c00 4001 0002 0000 $...H3.....@....
60fc: 0025 0000 3348 0000 0c00 4001 0004 0000 %...H3.....@....
610c: 0026 0000 3378 0000 1800 4001 0080 0000 &...x3.....@....
611c: 0027 0000 3378 0000 1800 4001 0100 0000 '...x3.....@....
612c: 0028 0000 3378 0000 1800 4001 0200 0000 (...x3.....@....
613c: 0029 0000 3378 0000 1800 4001 0400 0000 )...x3.....@....
614c: 002a 0000 3378 0000 1800 4001 0800 0000 *...x3.....@....
615c: 002b 0000 3378 0000 1800 4001 1000 0000 +...x3.....@....
616c: 002c 0000 3378 0000 1800 4001 2000 0000 ,...x3.....@. ..
617c: 002d 0000 3378 0000 1800 4001 4000 0000 -...x3.....@.@..
618c: 002e 0000 3378 0000 1800 4001 8000 0000 ....x3.....@....
619c: 002f 0000 3348 0000 0c00 4001 0400 0000 /...H3.....@....
61ac: 0030 0000 3348 0000 0c00 4001 0800 0000 0...H3.....@....
61bc: ffff ffff 0000 0000 0000 0000 0000 0000 ................
61cc: ffff ffff 0000 0000 0000 0000 0000 0000 ................
61dc: 0033 0000 3348 0000 0c00 4001 1000 0000 3...H3.....@....
61ec: 0034 0000 3348 0000 0c00 4001 2000 0000 4...H3.....@. ..
61fc: 0035 0000 3348 0000 0c00 4001 4000 0000 5...H3.....@.@..
620c: 0036 0000 3348 0000 0c00 4001 8000 0000 6...H3.....@....
621c: 0037 0000 3336 0000 1400 4001 0100 0000 7...63.....@....
622c: 0038 0000 3336 0000 1400 4001 0200 0000 8...63.....@....
623c: 0039 0000 3336 0000 1400 4001 0400 0000 9...63.....@....
624c: 003a 0000 3336 0000 1400 4001 0800 0000 :...63.....@....
625c: 003b 0000 3336 0000 1400 4001 1000 0000 ;...63.....@....
626c: 003c 0000 3336 0000 1400 4001 2000 0000 <...63.....@. ..
627c: 003d 0000 3336 0000 1400 4001 4000 0000 =...63.....@.@..
628c: 003e 0000 3336 0000 1400 4001 8000 0000 >...63.....@....
629c: 003f 0000 3368 0000 1000 4001 0040 0000 ?...h3.....@@...
62ac: 0040 0000 3368 0000 1000 4001 0080 0000 @...h3.....@....
62bc: 0041 0000 3368 0000 1000 4001 0100 0000 A...h3.....@....
62cc: 0042 0000 3368 0000 1000 4001 0200 0000 B...h3.....@....
62dc: 0043 0000 3358 0000 0800 4001 0100 0000 C...X3.....@....
62ec: 0044 0000 3358 0000 0800 4001 0200 0000 D...X3.....@....
62fc: 0045 0000 3358 0000 0800 4001 0400 0000 E...X3.....@....
630c: 0046 0000 3358 0000 0800 4001 0800 0000 F...X3.....@....
631c: 0047 0000 3358 0000 0800 4001 1000 0000 G...X3.....@....
632c: 0048 0000 3358 0000 0800 4001 2000 0000 H...X3.....@. ..
633c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
634c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
635c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
636c: 004c 0000 3358 0000 0800 4001 4000 0000 L...X3.....@.@..
637c: 004d 0000 3358 0000 0800 4001 8000 0000 M...X3.....@....
638c: 004e 0000 3368 0000 1000 4001 0400 0000 N...h3.....@....
639c: 004f 0000 3368 0000 1000 4001 0800 0000 O...h3.....@....
63ac: 0050 0000 3368 0000 1000 4001 1000 0000 P...h3.....@....
63bc: 0051 0000 3336 0000 1400 4001 0001 0000 Q...63.....@....
63cc: 0052 0000 3336 0000 1400 4001 0002 0000 R...63.....@....
63dc: 0053 0000 3336 0000 1400 4001 0004 0000 S...63.....@....
63ec: 0054 0000 3336 0000 1400 4001 0008 0000 T...63.....@....
63fc: 0055 0000 3336 0000 1400 4001 0010 0000 U...63.....@....
640c: 0056 0000 3336 0000 1400 4001 0020 0000 V...63.....@ ...
641c: 0057 0000 3336 0000 1400 4001 0040 0000 W...63.....@@...
642c: 0058 0000 3336 0000 1400 4001 0080 0000 X...63.....@....
643c: 0059 0000 3348 0000 0c00 4001 0008 0000 Y...H3.....@....
644c: 005a 0000 3348 0000 0c00 4001 0010 0000 Z...H3.....@....
645c: 005b 0000 3348 0000 0c00 4001 0020 0000 [...H3.....@ ...
646c: 005c 0000 3348 0000 0c00 4001 0040 0000 \...H3.....@@...
647c: 005d 0000 3348 0000 0c00 4001 0080 0000 ]...H3.....@....
648c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
649c: 005f 0000 3348 0000 0c00 4001 0100 0000 _...H3.....@....
64ac: 0060 0000 3348 0000 0c00 4001 0200 0000 `...H3.....@....
64bc: 0061 0000 3378 0000 1800 4001 0001 0000 a...x3.....@....
64cc: 0062 0000 3378 0000 1800 4001 0002 0000 b...x3.....@....
64dc: ffff ffff 0000 0000 0000 0000 0000 0000 ................
64ec: ffff ffff 0000 0000 0000 0000 0000 0000 ................
64fc: 6970 006e pin.
00006500 <ch32_uart_ops>:
6500: 38b4 0000 3a82 0000 3a60 0000 3a3e 0000 .8...:..`:..>:..
6510: 38b0 0000 6820 7261 6664 6c75 0d74 000a .8.. hardfult...
6520: 4e20 494d 4820 6e61 6c64 7265 0a0d 0000 NMI Handler....
6530: 0a0d 4d20 5543 203a 4843 3233 3356 3330 .. MCU: CH32V303
6540: 0a0d 0000 5320 7379 6c43 3a6b 2520 4864 .... SysClk: %dH
6550: 0d7a 000a 4320 6968 4970 3a44 2520 3830 z... ChipID: %08
6560: 0d78 000a 7472 6d5f 5f71 6573 646e 4520 x...rt_mq_send E
6570: 5252 000a 6972 676e 715f 6575 6575 6c5f RR..ring_queue_l
6580: 6e65 7467 2068 203d 6425 0a20 0000 0000 ength = %d .....
6590: 6552 7663 0000 0000 200a 6552 7663 0a20 Recv..... Recv .
65a0: 0000 0000 6573 646e 0000 0000 200a 6553 ....send..... Se
65b0: 646e 0a20 0000 0000 200a 6553 646e 6220 nd ...... Send b
65c0: 6675 2066 000a 0000 6553 646e 6d5f 0071 uff ....Send_mq.
000065d0 <__fsym_list_mem>:
65d0: 5308 0000 52e8 0000 1408 0000 .S...R......
000065dc <__fsym_list>:
65dc: 5804 0000 57e8 0000 2502 0000 .X...W...%..
000065e8 <__fsym___cmd_list_device>:
65e8: 5824 0000 580c 0000 23d4 0000 $X...X...#..
000065f4 <__fsym_list_device>:
65f4: 5850 0000 5838 0000 23d4 0000 PX..8X...#..
00006600 <__fsym___cmd_list_timer>:
6600: 5874 0000 585c 0000 2468 0000 tX..\X..h$..
0000660c <__fsym_list_timer>:
660c: 58a0 0000 5888 0000 2468 0000 .X...X..h$..
00006618 <__fsym___cmd_list_msgqueue>:
6618: 58cc 0000 58ac 0000 231e 0000 .X...X...#..
00006624 <__fsym_list_msgqueue>:
6624: 5900 0000 58e0 0000 231e 0000 .Y...X...#..
00006630 <__fsym___cmd_list_mailbox>:
6630: 5928 0000 5910 0000 2260 0000 (Y...Y..`"..
0000663c <__fsym_list_mailbox>:
663c: 5954 0000 593c 0000 2260 0000 TY..<Y..`"..
00006648 <__fsym___cmd_list_mutex>:
6648: 597c 0000 5964 0000 21de 0000 |Y..dY...!..
00006654 <__fsym_list_mutex>:
6654: 59a8 0000 5990 0000 21de 0000 .Y...Y...!..
00006660 <__fsym___cmd_list_event>:
6660: 59cc 0000 59b4 0000 2132 0000 .Y...Y..2!..
0000666c <__fsym_list_event>:
666c: 59f8 0000 59e0 0000 2132 0000 .Y...Y..2!..
00006678 <__fsym___cmd_list_sem>:
6678: 5a20 0000 5a04 0000 207c 0000 Z...Z..| ..
00006684 <__fsym_list_sem>:
6684: 5a4c 0000 5a30 0000 207c 0000 LZ..0Z..| ..
00006690 <__fsym___cmd_list_thread>:
6690: 5a64 0000 5a58 0000 1f98 0000 dZ..XZ......
0000669c <__fsym_list_thread>:
669c: 5a84 0000 5a78 0000 1f98 0000 .Z..xZ......
000066a8 <__fsym___cmd_clear>:
66a8: 5aa4 0000 5a90 0000 1eee 0000 .Z...Z......
000066b4 <__fsym_clear>:
66b4: 5ac4 0000 5ab0 0000 1eee 0000 .Z...Z......
000066c0 <__fsym___cmd_reboot>:
66c0: 5ae0 0000 5acc 0000 1edc 0000 .Z...Z......
000066cc <__fsym_reboot>:
66cc: 5b04 0000 5af0 0000 1edc 0000 .[...Z......
000066d8 <__fsym___cmd_help>:
66d8: 5cb8 0000 5ca0 0000 254c 0000 .\...\..L%..
000066e4 <__fsym___cmd_free>:
66e4: 5ce8 0000 5cc4 0000 2802 0000 .\...\...(..
000066f0 <__fsym___cmd_ps>:
66f0: 5d10 0000 5cf4 0000 27f4 0000 .]...\...'..
000066fc <__fsym_pinRead>:
66fc: 5dbc 0000 5d9c 0000 3152 0000 .]...]..R1..
00006708 <__fsym_pinWrite>:
6708: 5de0 0000 5dc4 0000 3138 0000 .]...]..81..
00006714 <__fsym_pinMode>:
6714: 5e04 0000 5dec 0000 311e 0000 .^...]...1..
00006720 <__rt_init_rti_start>:
6720: 04d0 0000 ....
00006724 <__rt_init_rti_board_start>:
6724: 04d8 0000 ....
00006728 <__rt_init_rt_hw_pin_init>:
6728: 338a 0000 .3..
0000672c <__rt_init_rt_hw_usart_init>:
672c: 3982 0000 .9..
00006730 <__rt_init_rti_board_end>:
6730: 04dc 0000 ....
00006734 <__rt_init_finsh_system_init>:
6734: 2822 0000 "(..
00006738 <__rt_init_rti_end>:
6738: 04d4 0000 ....