10088 lines
473 KiB
Plaintext
10088 lines
473 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 0x000074f0 memsz 0x000074f0 flags r-x
|
|
LOAD off 0x00009000 vaddr 0x20000000 paddr 0x000074f0 align 2**12
|
|
filesz 0x000002b0 memsz 0x00000c54 flags rw-
|
|
LOAD off 0x0000a000 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 00007330 000001c0 000001c0 000011c0 2**2
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
3 .fini 00000000 000074f0 000074f0 000092b0 2**0
|
|
CONTENTS, ALLOC, LOAD, CODE
|
|
4 .dalign 00000000 20000000 20000000 000092b0 2**0
|
|
CONTENTS
|
|
5 .dlalign 00000000 000074f0 000074f0 000092b0 2**0
|
|
CONTENTS
|
|
6 .data 000002b0 20000000 000074f0 00009000 2**2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
7 .bss 000009a4 200002b0 000077a0 000092b0 2**2
|
|
ALLOC
|
|
8 .stack 00008000 20008000 20008000 0000a000 2**0
|
|
ALLOC
|
|
9 .debug_info 0002c2a6 00000000 00000000 000092b0 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
10 .debug_abbrev 00007e17 00000000 00000000 00035556 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
11 .debug_loc 0000b29d 00000000 00000000 0003d36d 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
12 .debug_aranges 00001330 00000000 00000000 00048610 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
13 .debug_ranges 00001b78 00000000 00000000 00049940 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
14 .debug_line 0001c558 00000000 00000000 0004b4b8 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
15 .debug_str 00005a27 00000000 00000000 00067a10 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
16 .comment 00000033 00000000 00000000 0006d437 2**0
|
|
CONTENTS, READONLY
|
|
17 .debug_frame 0000362c 00000000 00000000 0006d46c 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
|
|
000074f0 l d .fini 00000000 .fini
|
|
20000000 l d .dalign 00000000 .dalign
|
|
000074f0 l d .dlalign 00000000 .dlalign
|
|
20000000 l d .data 00000000 .data
|
|
200002b0 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
|
|
200002b0 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
|
|
20000398 l O .bss 00000080 idle
|
|
20000418 l O .bss 00000010 idle_hook_list
|
|
20000428 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
|
|
200002b4 l O .bss 00000004 rt_interrupt_enter_hook
|
|
200002b8 l O .bss 00000004 rt_interrupt_leave_hook
|
|
00000000 l df *ABS* 00000000 kservice.c
|
|
00000bae l F .text 0000017e print_number
|
|
20000628 l O .bss 00000080 rt_log_buf.2693
|
|
00005e28 l O .text 00000011 large_digits.2583
|
|
00005ecc l O .text 00000011 small_digits.2582
|
|
200002c0 l O .bss 00000004 __rt_errno
|
|
200002c4 l O .bss 00000004 _console_device
|
|
00000000 l df *ABS* 00000000 mem.c
|
|
000013b0 l F .text 00000058 plug_holes
|
|
200006a8 l O .bss 00000020 heap_sem
|
|
200002c8 l O .bss 00000004 heap_end
|
|
200002cc l O .bss 00000004 heap_ptr
|
|
200002d0 l O .bss 00000004 lfree
|
|
200002d4 l O .bss 00000004 max_mem
|
|
200002d8 l O .bss 00000004 mem_size_aligned
|
|
200002dc l O .bss 00000004 rt_free_hook
|
|
200002e0 l O .bss 00000004 rt_malloc_hook
|
|
200002e4 l O .bss 00000004 used_mem
|
|
00000000 l df *ABS* 00000000 object.c
|
|
20000000 l O .data 00000080 rt_object_container
|
|
200002e8 l O .bss 00000004 rt_object_attach_hook
|
|
200002ec l O .bss 00000004 rt_object_detach_hook
|
|
00000000 l df *ABS* 00000000 scheduler.c
|
|
20000304 l O .bss 00000004 rt_scheduler_hook
|
|
20000308 l O .bss 00000002 rt_scheduler_lock_nest
|
|
00000000 l df *ABS* 00000000 thread.c
|
|
000019dc l F .text 0000008e _rt_thread_init.isra.0
|
|
20000318 l O .bss 00000004 rt_thread_inited_hook
|
|
2000031c l O .bss 00000004 rt_thread_resume_hook
|
|
20000320 l O .bss 00000004 rt_thread_suspend_hook
|
|
00000000 l df *ABS* 00000000 timer.c
|
|
00001c76 l F .text 00000012 _rt_timer_remove.part.1
|
|
20000324 l O .bss 00000004 random_nr.2483
|
|
20000328 l O .bss 00000004 rt_timer_enter_hook
|
|
2000032c l O .bss 00000004 rt_timer_exit_hook
|
|
20000330 l O .bss 00000008 rt_timer_list
|
|
00000000 l df *ABS* 00000000 cpuport.c
|
|
00000000 l df *ABS* 00000000 cmd.c
|
|
00001ed8 l F .text 00000012 rt_list_len
|
|
00001f12 l F .text 00000020 object_split
|
|
00001f32 l F .text 00000036 show_wait_queue
|
|
00001f68 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
|
|
0000281e l F .text 00000012 finsh_rx_ind
|
|
00002904 l F .text 0000002e shell_handle_history
|
|
20000748 l O .bss 00000081 finsh_prompt.4315
|
|
00000000 l df *ABS* 00000000 serial.c
|
|
00002dc0 l F .text 00000020 rt_serial_init
|
|
00002de0 l F .text 00000042 rt_serial_write
|
|
00002e22 l F .text 0000009e rt_serial_open
|
|
00002ec0 l F .text 0000006e rt_serial_control
|
|
00002f2e l F .text 0000009e rt_serial_read
|
|
00002fcc l F .text 00000040 rt_serial_close
|
|
00000000 l df *ABS* 00000000 pin.c
|
|
00003110 l F .text 0000001c _pin_control
|
|
00003178 l F .text 0000002e _pin_read
|
|
000031a6 l F .text 0000002c _pin_write
|
|
200007cc 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
|
|
00003328 l F .text 0000001c bit2bitno
|
|
00003344 l F .text 00000012 GPIOD_CLK_ENABLE
|
|
00003356 l F .text 00000010 GPIOB_CLK_ENABLE
|
|
00003366 l F .text 00000010 GPIOA_CLK_ENABLE
|
|
00003376 l F .text 00000010 GPIOC_CLK_ENABLE
|
|
00003386 l F .text 00000012 GPIOE_CLK_ENABLE
|
|
00006a54 l O .text 00000018 _ch32_pin_ops
|
|
00006a6c l O .text 00000080 pin_irq_map
|
|
00006aec l O .text 00000650 pins
|
|
00000000 l df *ABS* 00000000 drv_usart.c
|
|
000038c2 l F .text 000000ce ch32_configure
|
|
00003a4c l F .text 00000022 ch32_getc
|
|
00003a6e l F .text 00000022 ch32_putc
|
|
00003a90 l F .text 0000005c ch32_control
|
|
00007140 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
|
|
00003f38 l F .text 000000e4 SL_MsgProcFuncReadSensor_Remote_Upgrade
|
|
0000401c l F .text 000000e4 SL_MsgProcFuncReadSensor_Update_Profile
|
|
00004100 l F .text 000000d8 SL_MsgProcFuncReadSensor_Registration_request
|
|
000041d8 l F .text 000000e4 SL_MsgProcFuncReadSensor_Read_Register
|
|
000042bc l F .text 000000ba SL_MsgProcFuncReadIntelligentModule_Remote_Upgrade
|
|
00004376 l F .text 000000ba SL_MsgProcFuncReadIntelligentModule_Update_Profile
|
|
00004430 l F .text 000000ba SL_MsgProcFuncReadIntelligentModule_Registration_request
|
|
000044ea l F .text 000000ba SL_MsgProcFuncReadIntelligentModule_Broadcast_Scan
|
|
000045a4 l F .text 000000ba SL_MsgProcFuncReadIntelligentModule_Write_Register
|
|
0000465e l F .text 000000ba SL_MsgProcFuncReadIntelligentModule_Read_Register
|
|
20000884 l O .bss 00000032 uart_buff
|
|
00000000 l df *ABS* 00000000 thread.c
|
|
00004a32 l F .text 00000044 Recv_thread_entry
|
|
00004a76 l F .text 0000002e Send_thread_entry
|
|
200008b8 l O .bss 00000064 buff
|
|
00000000 l df *ABS* 00000000 thread_communication.c
|
|
00000000 l df *ABS* 00000000 uart_dev.c
|
|
00004b20 l F .text 00000022 uart_putchar
|
|
20000954 l O .bss 00000080 J1RS485_in_buff
|
|
200009d4 l O .bss 00000080 J2RS485_in_buff
|
|
20000a54 l O .bss 00000080 J3RS485_in_buff
|
|
20000ad4 l O .bss 00000080 J4RS485_in_buff
|
|
20000b54 l O .bss 00000080 J50RS485_in_buff
|
|
20000bd4 l O .bss 00000080 Upward_in_buff
|
|
2000035c l O .bss 00000001 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
|
|
20000294 l O .data 00000010 APBAHBPrescTable
|
|
200002ac 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 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
|
|
0000374e g F .text 00000028 EXTI2_IRQHandler
|
|
00003ea8 w .text 00000000 TIM8_TRG_COM_IRQHandler
|
|
000015e2 g F .text 00000024 rt_calloc
|
|
00003ea8 w .text 00000000 TIM8_CC_IRQHandler
|
|
00007450 g O .text 0000000c __fsym_list_thread
|
|
00000578 g F .text 0000000a entry
|
|
00005c46 g F .text 00000010 strcpy
|
|
00001fa6 g F .text 000000e4 list_thread
|
|
000029b0 g F .text 00000410 finsh_thread_entry
|
|
000017ee g F .text 00000008 rt_object_is_systemobject
|
|
000058fe g F .text 00000012 J8_PWR_Open
|
|
00000eca g F .text 0000002c rt_strncpy
|
|
00001e4e g F .text 00000036 rt_hw_stack_init
|
|
00001bf0 g F .text 0000000e rt_thread_mdelay
|
|
200001a0 g O .data 00000011 g_slConfigInfo
|
|
00005b16 g F .text 0000003c UART8_IRQHandler
|
|
000025b6 g F .text 000001aa msh_exec
|
|
00004b42 g F .text 000000f2 uart_dev_init
|
|
00006594 g O .text 0000000d __fsym_list_mailbox_name
|
|
00001766 g F .text 00000056 rt_object_allocate
|
|
000009c0 g F .text 00000082 rt_mq_send
|
|
000074b0 g O .text 0000000c __fsym_pinRead
|
|
00005d28 g O .text 00000100 __lowest_bit_bitmap
|
|
0000557a g F .text 00000012 J3_PWR_Close
|
|
20000aa8 g .data 00000000 __global_pointer$
|
|
00001824 g F .text 0000002c rt_system_scheduler_start
|
|
0000037a g F .text 00000028 .hidden __riscv_save_8
|
|
00003ea8 w .text 00000000 TIM1_CC_IRQHandler
|
|
2000033c g O .bss 00000004 rt_interrupt_to_thread
|
|
00003b52 g F .text 00000020 HardFault_Handler
|
|
0000668c g O .text 00000009 __fsym_list_sem_name
|
|
000032c6 g F .text 0000002c InRingQueue
|
|
000003c6 g F .text 0000000c .hidden __riscv_restore_3
|
|
00003ea8 w .text 00000000 TIM6_IRQHandler
|
|
000006ee g F .text 00000006 rt_device_set_rx_indicate
|
|
00003296 g F .text 00000020 SysTick_Handler
|
|
00004e28 g F .text 00000018 uart_dev_char_present
|
|
00001be6 g F .text 0000000a rt_thread_delay
|
|
00001606 g F .text 000000aa rt_free
|
|
20000180 g O .data 00000020 g_MsgReadSensorTbl
|
|
20000338 g O .bss 00000004 rt_interrupt_from_thread
|
|
00005012 g F .text 0000004e NVIC_Init
|
|
0000143a g F .text 0000007c rt_system_heap_init
|
|
00003ea8 w .text 00000000 PVD_IRQHandler
|
|
0000051c g F .text 0000000c main_thread_entry
|
|
00003ea8 w .text 00000000 SDIO_IRQHandler
|
|
00005358 g F .text 00000010 android_PowerCtrl_Open
|
|
00003ea8 w .text 00000000 TIM9_BRK_IRQHandler
|
|
00006744 g O .text 00000007 __fsym_reboot_name
|
|
00001dca 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
|
|
0000208a g F .text 000000b6 list_sem
|
|
00000600 g F .text 0000007a rt_device_open
|
|
00004d08 g F .text 00000010 J3RS485_tx_enabla
|
|
00003ea8 w .text 00000000 DMA2_Channel8_IRQHandler
|
|
00003b32 g F .text 00000020 NMI_Handler
|
|
00005910 g F .text 00000012 J9_PWR_Open
|
|
00003ea8 w .text 00000000 CAN2_RX1_IRQHandler
|
|
00003776 g F .text 00000028 EXTI3_IRQHandler
|
|
0000037a g F .text 00000028 .hidden __riscv_save_11
|
|
00004e76 g F .text 0000000a DBGMCU_GetCHIPID
|
|
00002510 g F .text 0000004a list
|
|
00005f48 g O .text 00000009 __fsym_list_mem_name
|
|
20000350 g O .bss 00000004 _sysvar_table_begin
|
|
000065bc g O .text 00000011 __fsym___cmd_list_mutex_name
|
|
000074f0 g .text 00000000 __rtmsymtab_start
|
|
00003ea8 w .text 00000000 USBHS_IRQHandler
|
|
000052fe g F .text 0000000a USART_GetFlagStatus
|
|
00003ea8 w .text 00000000 DMA2_Channel9_IRQHandler
|
|
000006f4 g F .text 00000074 rt_thread_idle_excute
|
|
00001b5c g F .text 0000004a rt_thread_suspend
|
|
00003bb2 g F .text 000000ce app_star
|
|
000012bc g F .text 00000068 rt_kprintf
|
|
00003ea8 w .text 00000000 TIM10_CC_IRQHandler
|
|
00000ba8 g F .text 00000006 rt_interrupt_get_nest
|
|
200002b0 g .bss 00000000 _sbss
|
|
00008000 g *ABS* 00000000 __stack_size
|
|
00004e68 g F .text 0000000e ring_queue_length
|
|
00001a6a g F .text 00000022 rt_thread_timeout
|
|
000066e4 g O .text 0000000c __fsym___cmd_clear_name
|
|
00002810 g F .text 0000000e cmd_free
|
|
00003ea8 w .text 00000000 USBFS_IRQHandler
|
|
00006620 g O .text 00000015 __fsym_list_event_desc
|
|
000073d8 g O .text 0000000c __fsym_list_msgqueue
|
|
000074d4 g .text 00000000 __rt_init_start
|
|
0000226e g F .text 000000be list_mailbox
|
|
000003c6 g F .text 0000000c .hidden __riscv_restore_2
|
|
00004d70 g F .text 000000b8 uart_dev_write
|
|
00006a2c g O .text 00000016 __fsym_pinMode_desc
|
|
000074d4 g .text 00000000 __fsymtab_end
|
|
00003146 g F .text 0000001a rt_pin_write
|
|
000066d0 g O .text 00000014 __fsym___cmd_clear_desc
|
|
000006b2 g F .text 0000001e rt_device_read
|
|
20000344 g O .bss 00000004 shell
|
|
00005b76 g F .text 000000b2 memcpy
|
|
00004cc8 g F .text 00000010 J1RS485_tx_enabla
|
|
00002830 g F .text 00000098 finsh_system_init
|
|
000004fe g F .text 0000001e rt_components_init
|
|
000036fe g F .text 00000028 EXTI0_IRQHandler
|
|
00003ea8 w .text 00000000 I2C2_EV_IRQHandler
|
|
00003ea8 w .text 00000000 TIM10_TRG_COM_IRQHandler
|
|
00001c88 g F .text 0000003a rt_timer_init
|
|
000074f0 g .text 00000000 __rt_init_end
|
|
00000784 g F .text 00000036 rt_thread_idle_init
|
|
00005856 g F .text 00000026 USART_CONNET_J7
|
|
200002a8 g O .data 00000004 SystemCoreClock
|
|
00004d4c g F .text 00000012 J50RS485_tx_enabla
|
|
000049a8 g F .text 0000008a send_uart_data
|
|
00000926 g F .text 0000001a rt_mq_delete
|
|
00005830 g F .text 00000026 USART_CONNET_J6
|
|
00007408 g O .text 0000000c __fsym_list_mutex
|
|
000052f6 g F .text 00000008 USART_ReceiveData
|
|
2000034c g O .bss 00000004 _syscall_table_end
|
|
2000086c g O .bss 00000018 uart1
|
|
2000038c g O .bss 00000001 UART8_Rbuffer
|
|
000017f6 g F .text 0000002e rt_system_scheduler_init
|
|
00004afc g F .text 00000024 Send_mq_Init
|
|
00000582 g F .text 0000004a rt_device_find
|
|
000001c0 g .text 00000000 rt_hw_context_switch_to
|
|
000074dc g O .text 00000004 __rt_init_rt_hw_pin_init
|
|
00000004 g .init 00000000 _einit
|
|
0000537c g F .text 00000010 android_PowerKey_Init
|
|
20000340 g O .bss 00000004 rt_thread_switch_interrupt_flag
|
|
000051d6 g F .text 0000001e RCC_APB2PeriphClockCmd
|
|
00000372 g F .text 00000030 .hidden __riscv_save_12
|
|
00003ea8 w .text 00000000 CAN2_SCE_IRQHandler
|
|
00003ea8 w .text 00000000 ADC1_2_IRQHandler
|
|
000074ec g O .text 00000004 __rt_init_rti_end
|
|
00004f12 g F .text 000000c0 GPIO_Init
|
|
000054aa g F .text 00000012 J2_PWR_Close
|
|
00006660 g O .text 0000000f __fsym___cmd_list_sem_name
|
|
00003ea8 w .text 00000000 Break_Point_Handler
|
|
000054bc g F .text 000000ac J2_485_Init
|
|
000073cc g O .text 0000000c __fsym___cmd_list_msgqueue
|
|
00006428 g O .text 0000001a __fsym_list_desc
|
|
000003b2 g F .text 00000020 .hidden __riscv_restore_11
|
|
2000037c g O .bss 00000004 NVIC_Priority_Group
|
|
00003ea8 w .text 00000000 SPI1_IRQHandler
|
|
0000300c g F .text 0000005a rt_hw_serial_register
|
|
000052a2 g F .text 00000016 USART_Cmd
|
|
00006444 g O .text 00000005 __fsym_list_name
|
|
00001eb4 g F .text 00000024 rt_hw_context_switch_interrupt
|
|
00006720 g O .text 0000000d __fsym___cmd_reboot_name
|
|
00003ea8 w .text 00000000 TAMPER_IRQHandler
|
|
000003a2 g F .text 0000000c .hidden __riscv_save_1
|
|
000003c6 g F .text 0000000c .hidden __riscv_restore_0
|
|
00006698 g O .text 0000000c __fsym___cmd_list_thread_desc
|
|
00006704 g O .text 00000006 __fsym_clear_name
|
|
00001ac4 g F .text 00000046 rt_thread_create
|
|
00004cd8 g F .text 00000010 J1RS485_tx_disenabla
|
|
00000388 g F .text 0000001a .hidden __riscv_save_7
|
|
000074f0 g .text 00000000 __rtmsymtab_end
|
|
000064e0 g O .text 0000000b __fsym_list_timer_name
|
|
00005344 g F .text 00000014 USART_ClearITPendingBit
|
|
00003ea8 w .text 00000000 CAN2_RX0_IRQHandler
|
|
00001b0a g F .text 00000052 rt_thread_yield
|
|
00003ea8 w .text 00000000 TIM8_UP_IRQHandler
|
|
00000528 g F .text 00000028 rt_application_init
|
|
000051f4 g F .text 0000001e RCC_APB1PeriphClockCmd
|
|
00003ea8 w .text 00000000 Ecall_M_Mode_Handler
|
|
000014b6 g F .text 0000012c rt_malloc
|
|
20008000 g .stack 00000000 _heap_end
|
|
20000374 g O .bss 00000004 g_LORA_UART4_handle
|
|
000008e6 g F .text 00000040 rt_sem_release
|
|
00007438 g O .text 0000000c __fsym_list_sem
|
|
000003bc g F .text 00000016 .hidden __riscv_restore_5
|
|
00000940 g F .text 00000080 rt_mq_create
|
|
00003ea8 w .text 00000000 DMA2_Channel2_IRQHandler
|
|
00007390 g O .text 0000000c __fsym_list
|
|
00003ea8 w .text 00000000 DMA1_Channel4_IRQHandler
|
|
00001e84 g F .text 00000010 sw_setpend
|
|
20000390 g O .bss 00000001 USART2_Rbuffer
|
|
20000080 g O .data 000000c0 pin_irq_hdr_tab
|
|
000066a4 g O .text 00000012 __fsym___cmd_list_thread_name
|
|
00006a44 g O .text 00000008 __fsym_pinMode_name
|
|
000032b6 g F .text 00000010 InitRingQueue
|
|
00007474 g O .text 0000000c __fsym___cmd_reboot
|
|
00004d3a g F .text 00000012 J4RS485_tx_disenabla
|
|
0000657c g O .text 00000018 __fsym_list_mailbox_desc
|
|
20000378 g O .bss 00000004 g_Upward_UART5_handle
|
|
00001cc2 g F .text 0000001e rt_timer_detach
|
|
00003318 g F .text 00000010 RingQueueLength
|
|
00004718 g F .text 0000003e CheckFunc
|
|
000053da g F .text 00000012 J1_PWR_Close
|
|
00003ea8 w .text 00000000 TIM9_UP_IRQHandler
|
|
000025b2 g F .text 00000004 msh_is_used
|
|
000003bc g F .text 00000016 .hidden __riscv_restore_6
|
|
00005568 g F .text 00000012 J3_PWR_Open
|
|
00005a02 g F .text 00000048 USART3_IRQHandler
|
|
00004f08 g F .text 0000000a EXTI_ClearITPendingBit
|
|
000004e0 g F .text 0000001e rt_components_board_init
|
|
00003ea8 w .text 00000000 RTC_IRQHandler
|
|
00006730 g O .text 00000011 __fsym_reboot_desc
|
|
00001324 g F .text 0000003e rt_show_version
|
|
20000c54 g .bss 00000000 _ebss
|
|
00005308 g F .text 0000003c USART_GetITStatus
|
|
000074d4 g O .text 00000004 __rt_init_rti_start
|
|
00003ea8 w .text 00000000 DMA1_Channel7_IRQHandler
|
|
20000394 g O .bss 00000001 USART3_Rbuffer
|
|
00003226 g F .text 00000070 rt_hw_board_init
|
|
000031d2 g F .text 00000054 rt_device_pin_register
|
|
0000745c g O .text 0000000c __fsym___cmd_clear
|
|
00003ea8 w .text 00000000 CAN1_RX1_IRQHandler
|
|
00001bfe g F .text 0000004c rt_thread_resume
|
|
000058da g F .text 00000012 J6_PWR_Open
|
|
00000550 g F .text 00000028 rtthread_startup
|
|
00003524 g F .text 0000005a ch32_pin_dettach_irq
|
|
00003ea8 w .text 00000000 DVP_IRQHandler
|
|
00005a4a g F .text 0000003c UART5_IRQHandler
|
|
000056fc g F .text 00000026 USART_CONNET_J0
|
|
000032f2 g F .text 00000026 OutRingQueue
|
|
000053ec g F .text 000000ac J1_485_Init
|
|
2000036c g O .bss 00000004 g_J4RS485_UART8_handle
|
|
00006540 g O .text 0000000e __fsym_list_msgqueue_name
|
|
00001d92 g F .text 00000038 rt_timer_control
|
|
000016b0 g F .text 0000002a rt_object_get_information
|
|
200006c8 g O .bss 00000080 rt_thread_priority_table
|
|
20000814 g O .bss 00000058 serial1
|
|
00003ea8 w .text 00000000 TIM4_IRQHandler
|
|
000069dc g O .text 0000001e __fsym_pinRead_desc
|
|
00001efc g F .text 00000016 clear
|
|
200002f0 g O .bss 00000004 rt_object_put_hook
|
|
0000037a g F .text 00000028 .hidden __riscv_save_9
|
|
00004fdc g F .text 0000000a GPIO_WriteBit
|
|
20000380 g O .bss 00000001 UART5_Rbuffer
|
|
00005c28 g F .text 0000001e strcat
|
|
0000198a g F .text 00000052 rt_thread_exit
|
|
00003ea8 w .text 00000000 DMA2_Channel1_IRQHandler
|
|
000065f4 g O .text 00000015 __fsym___cmd_list_event_desc
|
|
000005cc g F .text 00000034 rt_device_register
|
|
00000e82 g F .text 00000048 rt_memmove
|
|
000058c8 g F .text 00000012 J5_PWR_Open
|
|
00000388 g F .text 0000001a .hidden __riscv_save_4
|
|
000036da g F .text 00000024 HAL_GPIO_EXTI_Callback
|
|
00001eea g F .text 00000012 reboot
|
|
00005824 g F .text 0000000c USART_CONNET_J5
|
|
00003ea8 w .text 00000000 I2C1_EV_IRQHandler
|
|
2000091c g O .bss 00000038 MqUartSend_pack
|
|
000073e4 g O .text 0000000c __fsym___cmd_list_mailbox
|
|
00005060 g F .text 00000176 RCC_GetClocksFreq
|
|
00006a20 g O .text 00000009 __fsym_pinWrite_name
|
|
0000563c g F .text 00000012 J4_PWR_Open
|
|
00003ea8 w .text 00000000 DMA1_Channel6_IRQHandler
|
|
0000232c g F .text 000000b6 list_msgqueue
|
|
00003ea8 w .text 00000000 UART4_IRQHandler
|
|
00004788 g F .text 00000032 FRT_IntelligentModuleMsgHandler
|
|
00003ea8 w .text 00000000 DMA2_Channel4_IRQHandler
|
|
00005212 g F .text 00000090 USART_Init
|
|
00003ea8 w .text 00000000 TIM3_IRQHandler
|
|
00003ea8 w .text 00000000 RCC_IRQHandler
|
|
00000f20 g F .text 00000012 rt_strlen
|
|
000003a2 g F .text 0000000c .hidden __riscv_save_3
|
|
00003ea8 w .text 00000000 TIM1_TRG_COM_IRQHandler
|
|
00007480 g O .text 0000000c __fsym_reboot
|
|
0000748c g O .text 0000000c __fsym___cmd_help
|
|
00003ea8 w .text 00000000 DMA1_Channel1_IRQHandler
|
|
200002fc g O .bss 00000001 rt_current_priority
|
|
00003414 g F .text 0000007e ch32_pin_mode
|
|
000073b4 g O .text 0000000c __fsym___cmd_list_timer
|
|
00000000 g .init 00000000 _start
|
|
00006550 g O .text 00000018 __fsym___cmd_list_mailbox_desc
|
|
00003ea8 w .text 00000000 DMA2_Channel7_IRQHandler
|
|
20000140 g O .data 00000010 AHBPrescTable
|
|
00004d28 g F .text 00000012 J4RS485_tx_enabla
|
|
00004ad0 g F .text 0000002c Send_thread_Init
|
|
00002140 g F .text 000000ac list_event
|
|
0000383e g F .text 00000080 EXTI15_10_IRQHandler
|
|
00004c34 g F .text 00000094 uart_all_dev_init
|
|
00005c68 g F .text 00000028 strncmp
|
|
0000312c g F .text 0000001a rt_pin_mode
|
|
000052b8 g F .text 00000036 USART_ITConfig
|
|
000074c8 g O .text 0000000c __fsym_pinMode
|
|
0000644c g O .text 00000016 __fsym___cmd_list_device_desc
|
|
00004e80 g F .text 0000006a EXTI_Init
|
|
000073a8 g O .text 0000000c __fsym_list_device
|
|
000073fc g O .text 0000000c __fsym___cmd_list_mutex
|
|
00005922 g F .text 00000098 Upward_UART5_Init
|
|
00003160 g F .text 00000018 rt_pin_read
|
|
000068f8 g O .text 0000000b __fsym___cmd_help_name
|
|
00000480 g F .text 00000028 rt_tick_increase
|
|
00001408 g F .text 00000032 list_mem
|
|
00006934 g O .text 0000001b __fsym___cmd_ps_desc
|
|
00003ea8 w .text 00000000 TIM7_IRQHandler
|
|
000065d0 g O .text 00000015 __fsym_list_mutex_desc
|
|
00001d60 g F .text 00000032 rt_timer_stop
|
|
00003ea8 w .text 00000000 CAN2_TX_IRQHandler
|
|
00006904 g O .text 00000024 __fsym___cmd_free_desc
|
|
20000000 g .dalign 00000000 _data_vma
|
|
00000f32 g F .text 00000354 rt_vsnprintf
|
|
00007444 g O .text 0000000c __fsym___cmd_list_thread
|
|
00003ea8 w .text 00000000 TIM5_IRQHandler
|
|
00005b52 g F .text 00000024 memcmp
|
|
000033d4 g F .text 00000022 ch32_pin_write
|
|
000037c6 g F .text 00000078 EXTI9_5_IRQHandler
|
|
000066f0 g O .text 00000014 __fsym_clear_desc
|
|
00001e94 g F .text 0000000e sw_clearpend
|
|
000004a8 g F .text 00000028 rt_tick_from_millisecond
|
|
20000348 g O .bss 00000004 _syscall_table_begin
|
|
00004fe6 g F .text 0000002c GPIO_EXTILineConfig
|
|
0000037a g F .text 00000028 .hidden __riscv_save_10
|
|
000038be g F .text 00000004 ch32dma_transmit
|
|
20000370 g O .bss 00000004 g_J50RS485_USART3_handle
|
|
000028c8 g F .text 0000003c finsh_get_prompt
|
|
00003ea8 w .text 00000000 ETH_WKUP_IRQHandler
|
|
200001b4 g O .data 000000e0 uart_devices
|
|
20000358 g O .bss 00000004 mqSend
|
|
000003bc g F .text 00000016 .hidden __riscv_restore_4
|
|
000003b2 g F .text 00000020 .hidden __riscv_restore_8
|
|
00004ce8 g F .text 00000010 J2RS485_tx_enabla
|
|
00001362 g F .text 0000004e __rt_ffs
|
|
00000388 g F .text 0000001a .hidden __riscv_save_6
|
|
00004eea g F .text 0000001e EXTI_GetITStatus
|
|
00003ea8 w .text 00000000 SPI2_IRQHandler
|
|
00002760 g F .text 000000a2 msh_auto_complete
|
|
20000354 g O .bss 00000004 _sysvar_table_end
|
|
20000150 g O .data 00000030 g_MsgReadIntelligentModuleTbl
|
|
00001946 g F .text 00000016 rt_enter_critical
|
|
00001ba6 g F .text 00000040 rt_thread_sleep
|
|
000003d2 g F .text 000000a8 memset
|
|
000003b2 g F .text 00000020 .hidden __riscv_restore_9
|
|
00005722 g F .text 00000102 J5_0_485_Init
|
|
000003bc g F .text 00000016 .hidden __riscv_restore_7
|
|
00003b72 g F .text 00000040 main
|
|
000068e0 g O .text 00000015 __fsym___cmd_help_desc
|
|
00003ea8 w .text 00000000 TIM10_BRK_IRQHandler
|
|
20000364 g O .bss 00000004 g_J2RS485_UART7_handle
|
|
00000b7a g F .text 0000002e rt_interrupt_leave
|
|
00003ea8 w .text 00000000 TIM9_CC_IRQHandler
|
|
000064b4 g O .text 00000011 __fsym___cmd_list_timer_name
|
|
00003ea8 w .text 00000000 DMA2_Channel5_IRQHandler
|
|
20000360 g O .bss 00000004 g_J1RS485_UART6_handle
|
|
00001e4c g F .text 00000002 rt_system_timer_thread_init
|
|
000053c8 g F .text 00000012 J1_PWR_Open
|
|
00001a8c g F .text 00000032 rt_thread_init
|
|
0000649c g O .text 00000015 __fsym___cmd_list_timer_desc
|
|
000074d4 g .text 00000000 __vsymtab_start
|
|
00003ea8 w .text 00000000 DMA1_Channel5_IRQHandler
|
|
0000379e g F .text 00000028 EXTI4_IRQHandler
|
|
00006644 g O .text 00000019 __fsym___cmd_list_sem_desc
|
|
200002bc g O .bss 00000001 rt_interrupt_nest
|
|
0000587c g F .text 00000026 USART_CONNET_J8
|
|
00003ea8 w .text 00000000 USB_LP_CAN1_RX0_IRQHandler
|
|
0000670c g O .text 00000011 __fsym___cmd_reboot_desc
|
|
000065a4 g O .text 00000015 __fsym___cmd_list_mutex_desc
|
|
000012ba w F .text 00000002 rt_hw_console_output
|
|
000053ae g F .text 0000001a USARTx_SendByte_str
|
|
200002f4 g O .bss 00000004 rt_object_take_hook
|
|
00004cf8 g F .text 00000010 J2RS485_tx_disenabla
|
|
00002476 g F .text 0000009a list_timer
|
|
000064ec g O .text 0000001d __fsym___cmd_list_msgqueue_desc
|
|
00003c80 g F .text 000000fa SystemInit
|
|
00003ea8 w .text 00000000 RNG_IRQHandler
|
|
00006928 g O .text 0000000b __fsym___cmd_free_name
|
|
00001ea2 g F .text 0000000c rt_hw_interrupt_disable
|
|
20000368 g O .bss 00000004 g_J3RS485_USART2_handle
|
|
00001c4a g F .text 0000002c rt_thread_startup
|
|
20000300 g O .bss 00000004 rt_current_thread
|
|
00001286 g F .text 00000006 rt_console_get_device
|
|
00003ea8 w .text 00000000 USB_HP_CAN1_TX_IRQHandler
|
|
00000000 g .init 00000000 _sinit
|
|
000065e8 g O .text 0000000b __fsym_list_mutex_name
|
|
00004756 g F .text 00000032 FRT_SensorMsgHandler
|
|
00003ea8 w .text 00000000 DMA1_Channel3_IRQHandler
|
|
20000314 g O .bss 00000004 rt_thread_ready_priority_group
|
|
00003ea8 w .text 00000000 ETH_IRQHandler
|
|
00007498 g O .text 0000000c __fsym___cmd_free
|
|
00003ea8 w .text 00000000 TIM1_UP_IRQHandler
|
|
00006568 g O .text 00000013 __fsym___cmd_list_mailbox_name
|
|
00006464 g O .text 00000012 __fsym___cmd_list_device_name
|
|
2000030c g O .bss 00000008 rt_thread_defunct
|
|
000074e4 g O .text 00000004 __rt_init_rti_board_end
|
|
00003ea8 w .text 00000000 WWDG_IRQHandler
|
|
000074bc g O .text 0000000c __fsym_pinWrite
|
|
0000083e g F .text 00000028 rt_sem_init
|
|
00000236 g .text 00000000 rt_hw_context_switch_exit
|
|
00003ea8 w .text 00000000 USBHSWakeup_IRQHandler
|
|
00000d48 g F .text 00000088 rt_memset
|
|
000047ba g F .text 0000014a read_and_process_sensorUart_data
|
|
00003ea8 w .text 00000000 DMA2_Channel11_IRQHandler
|
|
000023e2 g F .text 00000094 list_device
|
|
00004d5e g F .text 00000012 J50RS485_tx_disenabla
|
|
00004aa4 g F .text 0000002c Recv_thread_Init
|
|
00003ea8 w .text 00000000 Ecall_U_Mode_Handler
|
|
000073f0 g O .text 0000000c __fsym_list_mailbox
|
|
00000ef6 g F .text 0000002a rt_strncmp
|
|
00007414 g O .text 0000000c __fsym___cmd_list_event
|
|
00003ea8 w .text 00000000 DMA2_Channel6_IRQHandler
|
|
000074d4 g .text 00000000 __vsymtab_end
|
|
000069fc g O .text 00000008 __fsym_pinRead_name
|
|
00006950 g O .text 00000009 __fsym___cmd_ps_name
|
|
000073c0 g O .text 0000000c __fsym_list_timer
|
|
00003ea8 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
|
|
000074e0 g O .text 00000004 __rt_init_rt_hw_usart_init
|
|
00000d2c g F .text 0000001c rt_set_errno
|
|
00001e42 g F .text 0000000a rt_system_timer_init
|
|
00003ea8 w .text 00000000 TIM1_BRK_IRQHandler
|
|
00001902 g F .text 00000044 rt_schedule_remove_thread
|
|
000052ee g F .text 00000008 USART_SendData
|
|
00000b4c g F .text 0000002e rt_interrupt_enter
|
|
00003ea8 w .text 00000000 DMA2_Channel10_IRQHandler
|
|
00003726 g F .text 00000028 EXTI1_IRQHandler
|
|
00000a42 g F .text 0000010a rt_mq_recv
|
|
00001eae g F .text 00000006 rt_hw_interrupt_enable
|
|
00000388 g F .text 0000001a .hidden __riscv_save_5
|
|
00004d18 g F .text 00000010 J3RS485_tx_disenabla
|
|
00007384 g O .text 0000000c __fsym_list_mem
|
|
200002b0 g .data 00000000 _edata
|
|
0000739c g O .text 0000000c __fsym___cmd_list_device
|
|
20000c54 g .bss 00000000 _end
|
|
0000650c g O .text 00000014 __fsym___cmd_list_msgqueue_name
|
|
0000195c g F .text 0000002e rt_exit_critical
|
|
00005498 g F .text 00000012 J2_PWR_Open
|
|
0000558c g F .text 000000b0 J3_485_Init
|
|
00003ea8 w .text 00000000 RTCAlarm_IRQHandler
|
|
000021ec g F .text 00000082 list_mutex
|
|
00002802 g F .text 0000000e cmd_ps
|
|
000074f0 g .dlalign 00000000 _data_lma
|
|
00002932 g F .text 0000007e finsh_set_device
|
|
00003ea8 w .text 00000000 TIM10_UP_IRQHandler
|
|
00003ea8 w .text 00000000 TIM9_TRG_COM_IRQHandler
|
|
00005ace g F .text 00000048 UART7_IRQHandler
|
|
000033b4 g F .text 00000020 get_pin
|
|
000059ba g F .text 00000048 USART2_IRQHandler
|
|
00005a86 g F .text 00000048 UART6_IRQHandler
|
|
20000384 g O .bss 00000001 UART6_Rbuffer
|
|
0000067a g F .text 00000038 rt_device_close
|
|
00001abe g F .text 00000006 rt_thread_self
|
|
000074e8 g O .text 00000004 __rt_init_finsh_system_init
|
|
00006478 g O .text 00000016 __fsym_list_device_desc
|
|
00003d7a g F .text 0000012e SystemCoreClockUpdate
|
|
000066b8 g O .text 0000000c __fsym_list_thread_desc
|
|
00003ea8 w .text 00000000 I2C2_ER_IRQHandler
|
|
00003ea8 w .text 00000000 DMA1_Channel2_IRQHandler
|
|
000017bc g F .text 00000032 rt_object_delete
|
|
00003990 g F .text 000000bc rt_hw_usart_init
|
|
0000047a g F .text 00000006 rt_tick_get
|
|
00004904 g F .text 000000a4 read_and_process_intelligentModuleUart_data
|
|
000003ae g F .text 00000024 .hidden __riscv_restore_12
|
|
00003ea8 w .text 00000000 TIM8_BRK_IRQHandler
|
|
000058a2 g F .text 00000026 USART_CONNET_J9
|
|
00006638 g O .text 0000000b __fsym_list_event_name
|
|
00003eaa w .text 00000000 handle_reset
|
|
00003ea8 w .text 00000000 CAN1_SCE_IRQHandler
|
|
00007420 g O .text 0000000c __fsym_list_event
|
|
200002f8 g O .bss 00000004 rt_object_trytake_hook
|
|
00003ea8 w .text 00000000 FLASH_IRQHandler
|
|
000003a2 g F .text 0000000c .hidden __riscv_save_0
|
|
0000660c g O .text 00000011 __fsym___cmd_list_event_name
|
|
00005f28 g O .text 0000001e __fsym_list_mem_desc
|
|
000058ec g F .text 00000012 J7_PWR_Open
|
|
00000866 g F .text 00000080 rt_sem_take
|
|
00003aec g F .text 00000046 USART1_IRQHandler
|
|
0000742c g O .text 0000000c __fsym___cmd_list_sem
|
|
00005c56 g F .text 00000012 strlen
|
|
00003ea8 w .text 00000000 SPI3_IRQHandler
|
|
000064c8 g O .text 00000015 __fsym_list_timer_desc
|
|
0000538c g F .text 00000022 android_PowerKey_Rest
|
|
0000128c g F .text 0000002e rt_console_set_device
|
|
00003492 g F .text 00000092 ch32_pin_attach_irq
|
|
00003ea8 w .text 00000000 I2C1_ER_IRQHandler
|
|
000074d8 g O .text 00000004 __rt_init_rti_board_start
|
|
000006d0 g F .text 0000001e rt_device_write
|
|
000066c4 g O .text 0000000c __fsym_list_thread_name
|
|
00007384 g .text 00000000 __fsymtab_start
|
|
000003c6 g F .text 0000000c .hidden __riscv_restore_1
|
|
00003398 g F .text 0000001c rt_hw_pin_init
|
|
00007468 g O .text 0000000c __fsym_clear
|
|
00001850 g F .text 0000006a rt_schedule
|
|
000016da g F .text 0000005e rt_object_init
|
|
000033f6 g F .text 0000001e ch32_pin_read
|
|
000074a4 g O .text 0000000c __fsym___cmd_ps
|
|
00004fd2 g F .text 0000000a GPIO_ReadInputDataBit
|
|
00006a04 g O .text 0000001c __fsym_pinWrite_desc
|
|
00001ce0 g F .text 00000080 rt_timer_start
|
|
0000564e g F .text 000000ae J4_485_Init
|
|
00000dd0 g F .text 000000b2 rt_memcpy
|
|
00005368 g F .text 00000014 android_PowerCtrl_Init
|
|
0000255a g F .text 00000058 msh_help
|
|
00003066 g F .text 000000aa rt_hw_serial_isr
|
|
00003ea8 w .text 00000000 USBWakeUp_IRQHandler
|
|
000001dc g .text 00000000 rt_hw_context_switch
|
|
00004e40 g F .text 00000028 uart_dev_in_char
|
|
00003ea8 w .text 00000000 DMA2_Channel3_IRQHandler
|
|
0000357e g F .text 0000015c ch32_pin_irq_enable
|
|
20000388 g O .bss 00000001 UART7_Rbuffer
|
|
00006490 g O .text 0000000c __fsym_list_device_name
|
|
00006520 g O .text 0000001d __fsym_list_msgqueue_desc
|
|
00006670 g O .text 00000019 __fsym_list_sem_desc
|
|
|
|
|
|
|
|
Disassembly of section .init:
|
|
|
|
00000000 <_sinit>:
|
|
0: 6ab0306f j 3eaa <handle_reset>
|
|
|
|
Disassembly of section .vector:
|
|
|
|
00000004 <_vector_base>:
|
|
...
|
|
c: 3b32 lhu a2,50(a4)
|
|
e: 0000 unimp
|
|
10: 3b52 lhu a2,52(a4)
|
|
12: 0000 unimp
|
|
14: 0000 unimp
|
|
16: 0000 unimp
|
|
18: 3ea8 lbu a0,27(a3)
|
|
...
|
|
22: 0000 unimp
|
|
24: 3ea8 lbu a0,27(a3)
|
|
26: 0000 unimp
|
|
28: 3ea8 lbu a0,27(a3)
|
|
...
|
|
32: 0000 unimp
|
|
34: 3296 lhu a3,32(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: 3ea8 lbu a0,27(a3)
|
|
46: 0000 unimp
|
|
48: 3ea8 lbu a0,27(a3)
|
|
4a: 0000 unimp
|
|
4c: 3ea8 lbu a0,27(a3)
|
|
4e: 0000 unimp
|
|
50: 3ea8 lbu a0,27(a3)
|
|
52: 0000 unimp
|
|
54: 3ea8 lbu a0,27(a3)
|
|
56: 0000 unimp
|
|
58: 3ea8 lbu a0,27(a3)
|
|
5a: 0000 unimp
|
|
5c: 36fe lhu a5,46(a3)
|
|
5e: 0000 unimp
|
|
60: 3726 lhu s1,42(a4)
|
|
62: 0000 unimp
|
|
64: 374e lhu a1,44(a4)
|
|
66: 0000 unimp
|
|
68: 3776 lhu a3,46(a4)
|
|
6a: 0000 unimp
|
|
6c: 379e lhu a5,40(a5)
|
|
6e: 0000 unimp
|
|
70: 3ea8 lbu a0,27(a3)
|
|
72: 0000 unimp
|
|
74: 3ea8 lbu a0,27(a3)
|
|
76: 0000 unimp
|
|
78: 3ea8 lbu a0,27(a3)
|
|
7a: 0000 unimp
|
|
7c: 3ea8 lbu a0,27(a3)
|
|
7e: 0000 unimp
|
|
80: 3ea8 lbu a0,27(a3)
|
|
82: 0000 unimp
|
|
84: 3ea8 lbu a0,27(a3)
|
|
86: 0000 unimp
|
|
88: 3ea8 lbu a0,27(a3)
|
|
8a: 0000 unimp
|
|
8c: 3ea8 lbu a0,27(a3)
|
|
8e: 0000 unimp
|
|
90: 3ea8 lbu a0,27(a3)
|
|
92: 0000 unimp
|
|
94: 3ea8 lbu a0,27(a3)
|
|
96: 0000 unimp
|
|
98: 3ea8 lbu a0,27(a3)
|
|
9a: 0000 unimp
|
|
9c: 3ea8 lbu a0,27(a3)
|
|
9e: 0000 unimp
|
|
a0: 37c6 lhu s1,44(a5)
|
|
a2: 0000 unimp
|
|
a4: 3ea8 lbu a0,27(a3)
|
|
a6: 0000 unimp
|
|
a8: 3ea8 lbu a0,27(a3)
|
|
aa: 0000 unimp
|
|
ac: 3ea8 lbu a0,27(a3)
|
|
ae: 0000 unimp
|
|
b0: 3ea8 lbu a0,27(a3)
|
|
b2: 0000 unimp
|
|
b4: 3ea8 lbu a0,27(a3)
|
|
b6: 0000 unimp
|
|
b8: 3ea8 lbu a0,27(a3)
|
|
ba: 0000 unimp
|
|
bc: 3ea8 lbu a0,27(a3)
|
|
be: 0000 unimp
|
|
c0: 3ea8 lbu a0,27(a3)
|
|
c2: 0000 unimp
|
|
c4: 3ea8 lbu a0,27(a3)
|
|
c6: 0000 unimp
|
|
c8: 3ea8 lbu a0,27(a3)
|
|
ca: 0000 unimp
|
|
cc: 3ea8 lbu a0,27(a3)
|
|
ce: 0000 unimp
|
|
d0: 3ea8 lbu a0,27(a3)
|
|
d2: 0000 unimp
|
|
d4: 3ea8 lbu a0,27(a3)
|
|
d6: 0000 unimp
|
|
d8: 3aec lbu a1,23(a3)
|
|
da: 0000 unimp
|
|
dc: 59ba lw s3,172(sp)
|
|
de: 0000 unimp
|
|
e0: 5a02 lw s4,32(sp)
|
|
e2: 0000 unimp
|
|
e4: 383e lhu a5,50(s0)
|
|
e6: 0000 unimp
|
|
e8: 3ea8 lbu a0,27(a3)
|
|
ea: 0000 unimp
|
|
ec: 3ea8 lbu a0,27(a3)
|
|
ee: 0000 unimp
|
|
f0: 3ea8 lbu a0,27(a3)
|
|
f2: 0000 unimp
|
|
f4: 3ea8 lbu a0,27(a3)
|
|
f6: 0000 unimp
|
|
f8: 3ea8 lbu a0,27(a3)
|
|
fa: 0000 unimp
|
|
fc: 3ea8 lbu a0,27(a3)
|
|
fe: 0000 unimp
|
|
100: 3ea8 lbu a0,27(a3)
|
|
102: 0000 unimp
|
|
104: 0000 unimp
|
|
106: 0000 unimp
|
|
108: 3ea8 lbu a0,27(a3)
|
|
10a: 0000 unimp
|
|
10c: 3ea8 lbu a0,27(a3)
|
|
10e: 0000 unimp
|
|
110: 3ea8 lbu a0,27(a3)
|
|
112: 0000 unimp
|
|
114: 3ea8 lbu a0,27(a3)
|
|
116: 0000 unimp
|
|
118: 5a4a lw s4,176(sp)
|
|
11a: 0000 unimp
|
|
11c: 3ea8 lbu a0,27(a3)
|
|
11e: 0000 unimp
|
|
120: 3ea8 lbu a0,27(a3)
|
|
122: 0000 unimp
|
|
124: 3ea8 lbu a0,27(a3)
|
|
126: 0000 unimp
|
|
128: 3ea8 lbu a0,27(a3)
|
|
12a: 0000 unimp
|
|
12c: 3ea8 lbu a0,27(a3)
|
|
12e: 0000 unimp
|
|
130: 3ea8 lbu a0,27(a3)
|
|
132: 0000 unimp
|
|
134: 3ea8 lbu a0,27(a3)
|
|
136: 0000 unimp
|
|
138: 3ea8 lbu a0,27(a3)
|
|
13a: 0000 unimp
|
|
13c: 3ea8 lbu a0,27(a3)
|
|
13e: 0000 unimp
|
|
140: 3ea8 lbu a0,27(a3)
|
|
142: 0000 unimp
|
|
144: 3ea8 lbu a0,27(a3)
|
|
146: 0000 unimp
|
|
148: 3ea8 lbu a0,27(a3)
|
|
14a: 0000 unimp
|
|
14c: 3ea8 lbu a0,27(a3)
|
|
14e: 0000 unimp
|
|
150: 3ea8 lbu a0,27(a3)
|
|
152: 0000 unimp
|
|
154: 3ea8 lbu a0,27(a3)
|
|
156: 0000 unimp
|
|
158: 3ea8 lbu a0,27(a3)
|
|
15a: 0000 unimp
|
|
15c: 3ea8 lbu a0,27(a3)
|
|
15e: 0000 unimp
|
|
160: 5a86 lw s5,96(sp)
|
|
162: 0000 unimp
|
|
164: 5ace lw s5,240(sp)
|
|
166: 0000 unimp
|
|
168: 5b16 lw s6,100(sp)
|
|
16a: 0000 unimp
|
|
16c: 3ea8 lbu a0,27(a3)
|
|
16e: 0000 unimp
|
|
170: 3ea8 lbu a0,27(a3)
|
|
172: 0000 unimp
|
|
174: 3ea8 lbu a0,27(a3)
|
|
176: 0000 unimp
|
|
178: 3ea8 lbu a0,27(a3)
|
|
17a: 0000 unimp
|
|
17c: 3ea8 lbu a0,27(a3)
|
|
17e: 0000 unimp
|
|
180: 3ea8 lbu a0,27(a3)
|
|
182: 0000 unimp
|
|
184: 3ea8 lbu a0,27(a3)
|
|
186: 0000 unimp
|
|
188: 3ea8 lbu a0,27(a3)
|
|
18a: 0000 unimp
|
|
18c: 3ea8 lbu a0,27(a3)
|
|
18e: 0000 unimp
|
|
190: 3ea8 lbu a0,27(a3)
|
|
192: 0000 unimp
|
|
194: 3ea8 lbu a0,27(a3)
|
|
196: 0000 unimp
|
|
198: 3ea8 lbu a0,27(a3)
|
|
19a: 0000 unimp
|
|
19c: 3ea8 lbu a0,27(a3)
|
|
19e: 0000 unimp
|
|
1a0: 3ea8 lbu a0,27(a3)
|
|
...
|
|
|
|
Disassembly of section .text:
|
|
|
|
000001c0 <rt_hw_context_switch_to>:
|
|
1c0: 20010297 auipc t0,0x20010
|
|
1c4: e4028293 addi t0,t0,-448 # 20010000 <_eusrstack>
|
|
1c8: e0028293 addi t0,t0,-512
|
|
1cc: 34029073 csrw mscratch,t0
|
|
1d0: 00052103 lw sp,0(a0)
|
|
1d4: 4522 lw a0,8(sp)
|
|
1d6: 30051073 csrw mstatus,a0
|
|
1da: a8b1 j 236 <rt_hw_context_switch_exit>
|
|
|
|
000001dc <rt_hw_context_switch>:
|
|
1dc: 7119 addi sp,sp,-128
|
|
1de: 00252023 sw sp,0(a0)
|
|
1e2: c006 sw ra,0(sp)
|
|
1e4: c206 sw ra,4(sp)
|
|
1e6: ca16 sw t0,20(sp)
|
|
1e8: 300022f3 csrr t0,mstatus
|
|
1ec: 0082f293 andi t0,t0,8
|
|
1f0: 00028463 beqz t0,1f8 <rt_hw_context_switch+0x1c>
|
|
1f4: 08000293 li t0,128
|
|
1f8: c416 sw t0,8(sp)
|
|
1fa: c812 sw tp,16(sp)
|
|
1fc: cc1a sw t1,24(sp)
|
|
1fe: ce1e sw t2,28(sp)
|
|
200: d022 sw s0,32(sp)
|
|
202: d226 sw s1,36(sp)
|
|
204: d42a sw a0,40(sp)
|
|
206: d62e sw a1,44(sp)
|
|
208: d832 sw a2,48(sp)
|
|
20a: da36 sw a3,52(sp)
|
|
20c: dc3a sw a4,56(sp)
|
|
20e: de3e sw a5,60(sp)
|
|
210: c0c2 sw a6,64(sp)
|
|
212: c2c6 sw a7,68(sp)
|
|
214: c4ca sw s2,72(sp)
|
|
216: c6ce sw s3,76(sp)
|
|
218: c8d2 sw s4,80(sp)
|
|
21a: cad6 sw s5,84(sp)
|
|
21c: ccda sw s6,88(sp)
|
|
21e: cede sw s7,92(sp)
|
|
220: d0e2 sw s8,96(sp)
|
|
222: d2e6 sw s9,100(sp)
|
|
224: d4ea sw s10,104(sp)
|
|
226: d6ee sw s11,108(sp)
|
|
228: d8f2 sw t3,112(sp)
|
|
22a: daf6 sw t4,116(sp)
|
|
22c: dcfa sw t5,120(sp)
|
|
22e: defe sw t6,124(sp)
|
|
230: 0005a103 lw sp,0(a1)
|
|
234: a009 j 236 <rt_hw_context_switch_exit>
|
|
|
|
00000236 <rt_hw_context_switch_exit>:
|
|
236: 4502 lw a0,0(sp)
|
|
238: 34151073 csrw mepc,a0
|
|
23c: 4092 lw ra,4(sp)
|
|
23e: 00008537 lui a0,0x8
|
|
242: 80050513 addi a0,a0,-2048 # 7800 <__rt_init_end+0x310>
|
|
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: 3b3010ef jal ra,1e94 <sw_clearpend>
|
|
2e6: 095000ef jal ra,b7a <rt_interrupt_leave>
|
|
2ea: 34011173 csrrw sp,mscratch,sp
|
|
2ee: 89818413 addi s0,gp,-1896 # 20000340 <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 # 20000338 <rt_interrupt_from_thread>
|
|
308: 4004 lw s1,0(s0)
|
|
30a: 0024a023 sw sp,0(s1)
|
|
30e: 89418413 addi s0,gp,-1900 # 2000033c <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+0x310>
|
|
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) # 200002b0 <_edata>
|
|
47e: 8082 ret
|
|
|
|
00000480 <rt_tick_increase>:
|
|
480: f23ff2ef jal t0,3a2 <__riscv_save_0>
|
|
484: 80818793 addi a5,gp,-2040 # 200002b0 <_edata>
|
|
488: 4398 lw a4,0(a5)
|
|
48a: 0705 addi a4,a4,1
|
|
48c: c398 sw a4,0(a5)
|
|
48e: 630010ef jal ra,1abe <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: 66c010ef jal ra,1b0a <rt_thread_yield>
|
|
4a2: 129010ef jal ra,1dca <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: 641d lui s0,0x7
|
|
4e6: 649d lui s1,0x7
|
|
4e8: 4d840413 addi s0,s0,1240 # 74d8 <__rt_init_rti_board_start>
|
|
4ec: 4e448493 addi s1,s1,1252 # 74e4 <__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: 641d lui s0,0x7
|
|
504: 649d lui s1,0x7
|
|
506: 4e440413 addi s0,s0,1252 # 74e4 <__rt_init_rti_board_end>
|
|
50a: 4ec48493 addi s1,s1,1260 # 74ec <__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: 650030ef jal ra,3b72 <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: 00006537 lui a0,0x6
|
|
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: ce050513 addi a0,a0,-800 # 5ce0 <strncmp+0x78>
|
|
546: 57e010ef jal ra,1ac4 <rt_thread_create>
|
|
54a: 700010ef jal ra,1c4a <rt_thread_startup>
|
|
54e: bda5 j 3c6 <__riscv_restore_0>
|
|
|
|
00000550 <rtthread_startup>:
|
|
550: e53ff2ef jal t0,3a2 <__riscv_save_0>
|
|
554: 14f010ef jal ra,1ea2 <rt_hw_interrupt_disable>
|
|
558: 4cf020ef jal ra,3226 <rt_hw_board_init>
|
|
55c: 5c9000ef jal ra,1324 <rt_show_version>
|
|
560: 0e3010ef jal ra,1e42 <rt_system_timer_init>
|
|
564: 292010ef jal ra,17f6 <rt_system_scheduler_init>
|
|
568: 37c1 jal 528 <rt_application_init>
|
|
56a: 0e3010ef jal ra,1e4c <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: 536010ef jal ra,1abe <rt_thread_self>
|
|
58c: c119 beqz a0,592 <rt_device_find+0x10>
|
|
58e: 3b8010ef jal ra,1946 <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: 51c010ef jal ra,1abe <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: 504010ef jal ra,1abe <rt_thread_self>
|
|
5be: c119 beqz a0,5c4 <rt_device_find+0x42>
|
|
5c0: 39c010ef jal ra,195c <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: 00006537 lui a0,0x6
|
|
622: 85a2 mv a1,s0
|
|
624: ce850513 addi a0,a0,-792 # 5ce8 <strncmp+0x80>
|
|
628: 495000ef jal ra,12bc <rt_kprintf>
|
|
62c: 8526 mv a0,s1
|
|
62e: 0141 addi sp,sp,16
|
|
630: bb59 j 3c6 <__riscv_restore_0>
|
|
632: 2c1e lhu a5,24(s0)
|
|
634: 0107e793 ori a5,a5,16
|
|
638: ac1e sh a5,24(s0)
|
|
63a: 2c1e lhu a5,24(s0)
|
|
63c: 8ba1 andi a5,a5,8
|
|
63e: c789 beqz a5,648 <rt_device_open+0x48>
|
|
640: 2c3e lhu a5,26(s0)
|
|
642: 54e5 li s1,-7
|
|
644: 8ba1 andi a5,a5,8
|
|
646: f3fd bnez a5,62c <rt_device_open+0x2c>
|
|
648: 545c lw a5,44(s0)
|
|
64a: cf89 beqz a5,664 <rt_device_open+0x64>
|
|
64c: 8522 mv a0,s0
|
|
64e: 9782 jalr a5
|
|
650: 84aa mv s1,a0
|
|
652: e105 bnez a0,672 <rt_device_open+0x72>
|
|
654: 2c3e lhu a5,26(s0)
|
|
656: 0087e793 ori a5,a5,8
|
|
65a: ac3e sh a5,26(s0)
|
|
65c: 2c5c lbu a5,28(s0)
|
|
65e: 0785 addi a5,a5,1
|
|
660: ac5c sb a5,28(s0)
|
|
662: b7e9 j 62c <rt_device_open+0x2c>
|
|
664: 6785 lui a5,0x1
|
|
666: f0f78793 addi a5,a5,-241 # f0f <rt_strncmp+0x19>
|
|
66a: 8dfd and a1,a1,a5
|
|
66c: ac2e sh a1,26(s0)
|
|
66e: 4481 li s1,0
|
|
670: b7d5 j 654 <rt_device_open+0x54>
|
|
672: 57e9 li a5,-6
|
|
674: faf51ce3 bne a0,a5,62c <rt_device_open+0x2c>
|
|
678: bff1 j 654 <rt_device_open+0x54>
|
|
|
|
0000067a <rt_device_close>:
|
|
67a: 2d5c lbu a5,28(a0)
|
|
67c: cb85 beqz a5,6ac <rt_device_close+0x32>
|
|
67e: d25ff2ef jal t0,3a2 <__riscv_save_0>
|
|
682: 17fd addi a5,a5,-1
|
|
684: 0ff7f793 andi a5,a5,255
|
|
688: ad5c sb a5,28(a0)
|
|
68a: 842a mv s0,a0
|
|
68c: 4701 li a4,0
|
|
68e: ef89 bnez a5,6a8 <rt_device_close+0x2e>
|
|
690: 591c lw a5,48(a0)
|
|
692: e789 bnez a5,69c <rt_device_close+0x22>
|
|
694: 4701 li a4,0
|
|
696: 00041d23 sh zero,26(s0)
|
|
69a: a039 j 6a8 <rt_device_close+0x2e>
|
|
69c: 9782 jalr a5
|
|
69e: 872a mv a4,a0
|
|
6a0: d975 beqz a0,694 <rt_device_close+0x1a>
|
|
6a2: 57e9 li a5,-6
|
|
6a4: fef509e3 beq a0,a5,696 <rt_device_close+0x1c>
|
|
6a8: 853a mv a0,a4
|
|
6aa: bb31 j 3c6 <__riscv_restore_0>
|
|
6ac: 577d li a4,-1
|
|
6ae: 853a mv a0,a4
|
|
6b0: 8082 ret
|
|
|
|
000006b2 <rt_device_read>:
|
|
6b2: cf1ff2ef jal t0,3a2 <__riscv_save_0>
|
|
6b6: 2d58 lbu a4,28(a0)
|
|
6b8: e711 bnez a4,6c4 <rt_device_read+0x12>
|
|
6ba: 557d li a0,-1
|
|
6bc: 670000ef jal ra,d2c <rt_set_errno>
|
|
6c0: 4501 li a0,0
|
|
6c2: a021 j 6ca <rt_device_read+0x18>
|
|
6c4: 595c lw a5,52(a0)
|
|
6c6: c399 beqz a5,6cc <rt_device_read+0x1a>
|
|
6c8: 9782 jalr a5
|
|
6ca: b9f5 j 3c6 <__riscv_restore_0>
|
|
6cc: 5569 li a0,-6
|
|
6ce: b7fd j 6bc <rt_device_read+0xa>
|
|
|
|
000006d0 <rt_device_write>:
|
|
6d0: cd3ff2ef jal t0,3a2 <__riscv_save_0>
|
|
6d4: 2d58 lbu a4,28(a0)
|
|
6d6: e711 bnez a4,6e2 <rt_device_write+0x12>
|
|
6d8: 557d li a0,-1
|
|
6da: 652000ef jal ra,d2c <rt_set_errno>
|
|
6de: 4501 li a0,0
|
|
6e0: a021 j 6e8 <rt_device_write+0x18>
|
|
6e2: 5d1c lw a5,56(a0)
|
|
6e4: c399 beqz a5,6ea <rt_device_write+0x1a>
|
|
6e6: 9782 jalr a5
|
|
6e8: b9f9 j 3c6 <__riscv_restore_0>
|
|
6ea: 5569 li a0,-6
|
|
6ec: b7fd j 6da <rt_device_write+0xa>
|
|
|
|
000006ee <rt_device_set_rx_indicate>:
|
|
6ee: d10c sw a1,32(a0)
|
|
6f0: 4501 li a0,0
|
|
6f2: 8082 ret
|
|
|
|
000006f4 <rt_thread_idle_excute>:
|
|
6f4: c95ff2ef jal t0,388 <__riscv_save_4>
|
|
6f8: 86418993 addi s3,gp,-1948 # 2000030c <rt_thread_defunct>
|
|
6fc: 4a85 li s5,1
|
|
6fe: 8641a783 lw a5,-1948(gp) # 2000030c <rt_thread_defunct>
|
|
702: 05378663 beq a5,s3,74e <rt_thread_idle_excute+0x5a>
|
|
706: 79c010ef jal ra,1ea2 <rt_hw_interrupt_disable>
|
|
70a: 8641a783 lw a5,-1948(gp) # 2000030c <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) # 2000030c <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: 21e010ef jal ra,1946 <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: 218010ef jal ra,195c <rt_exit_critical>
|
|
748: 8552 mv a0,s4
|
|
74a: 764010ef jal ra,1eae <rt_hw_interrupt_enable>
|
|
74e: b1bd j 3bc <__riscv_restore_4>
|
|
750: 20c010ef jal ra,195c <rt_exit_critical>
|
|
754: 8552 mv a0,s4
|
|
756: 758010ef jal ra,1eae <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: 97018413 addi s0,gp,-1680 # 20000418 <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: 000065b7 lui a1,0x6
|
|
790: 02000893 li a7,32
|
|
794: 483d li a6,15
|
|
796: 20000793 li a5,512
|
|
79a: 98018713 addi a4,gp,-1664 # 20000428 <rt_thread_stack>
|
|
79e: 4681 li a3,0
|
|
7a0: 76860613 addi a2,a2,1896 # 768 <rt_thread_idle_entry>
|
|
7a4: d2058593 addi a1,a1,-736 # 5d20 <strncmp+0xb8>
|
|
7a8: 8f018513 addi a0,gp,-1808 # 20000398 <idle>
|
|
7ac: 2e0010ef jal ra,1a8c <rt_thread_init>
|
|
7b0: 8f018513 addi a0,gp,-1808 # 20000398 <idle>
|
|
7b4: 496010ef jal ra,1c4a <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: 6d6010ef jal ra,1ea2 <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: 426010ef jal ra,1bfe <rt_thread_resume>
|
|
7dc: 854a mv a0,s2
|
|
7de: 6d0010ef jal ra,1eae <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: 36a010ef jal ra,1b5c <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) # 200002f8 <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: 62a010ef jal ra,1ea2 <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: 628010ef jal ra,1eae <rt_hw_interrupt_enable>
|
|
88a: 84c1a783 lw a5,-1972(gp) # 200002f4 <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: 610010ef jal ra,1eae <rt_hw_interrupt_enable>
|
|
8a2: 5579 li a0,-2
|
|
8a4: 0141 addi sp,sp,16
|
|
8a6: be19 j 3bc <__riscv_restore_4>
|
|
8a8: 216010ef jal ra,1abe <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: 4c6010ef jal ra,1d92 <rt_timer_control>
|
|
8d0: 854a mv a0,s2
|
|
8d2: 40e010ef jal ra,1ce0 <rt_timer_start>
|
|
8d6: 854e mv a0,s3
|
|
8d8: 5d6010ef jal ra,1eae <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) # 200002f0 <rt_object_put_hook>
|
|
8ee: 842a mv s0,a0
|
|
8f0: c391 beqz a5,8f4 <rt_sem_release+0xe>
|
|
8f2: 9782 jalr a5
|
|
8f4: 5ae010ef jal ra,1ea2 <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: 2f8010ef jal ra,1bfe <rt_thread_resume>
|
|
90a: 4405 li s0,1
|
|
90c: 8526 mv a0,s1
|
|
90e: 5a0010ef jal ra,1eae <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) # 200002f0 <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: 4ca010ef jal ra,1ea2 <rt_hw_interrupt_disable>
|
|
9dc: 5804 lw s1,48(s0)
|
|
9de: e491 bnez s1,9ea <rt_mq_send+0x2a>
|
|
9e0: 4ce010ef jal ra,1eae <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: 4c0010ef jal ra,1eae <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: 4a2010ef jal ra,1ea2 <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: 1da010ef jal ra,1bfe <rt_thread_resume>
|
|
a28: 854a mv a0,s2
|
|
a2a: 484010ef jal ra,1eae <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: 476010ef jal ra,1eae <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: 06e010ef jal ra,1abe <rt_thread_self>
|
|
a54: 8501a783 lw a5,-1968(gp) # 200002f8 <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: 442010ef jal ra,1ea2 <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: 43a010ef jal ra,1eae <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: 424010ef jal ra,1eae <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: 2e2010ef jal ra,1d92 <rt_timer_control>
|
|
ab4: 8556 mv a0,s5
|
|
ab6: 22a010ef jal ra,1ce0 <rt_timer_start>
|
|
aba: 854e mv a0,s3
|
|
abc: 3f2010ef jal ra,1eae <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: 3d8010ef jal ra,1ea2 <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: 3a4010ef jal ra,1eae <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: 384010ef jal ra,1ea2 <rt_hw_interrupt_disable>
|
|
b22: 581c lw a5,48(s0)
|
|
b24: c09c sw a5,0(s1)
|
|
b26: d804 sw s1,48(s0)
|
|
b28: 386010ef jal ra,1eae <rt_hw_interrupt_enable>
|
|
b2c: 84c1a783 lw a5,-1972(gp) # 200002f4 <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: 350010ef jal ra,1ea2 <rt_hw_interrupt_disable>
|
|
b56: 81418713 addi a4,gp,-2028 # 200002bc <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) # 200002b4 <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: 33e010ef jal ra,1eae <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: 322010ef jal ra,1ea2 <rt_hw_interrupt_disable>
|
|
b84: 81418713 addi a4,gp,-2028 # 200002bc <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) # 200002b8 <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: 310010ef jal ra,1eae <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) # 200002bc <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: 6899 lui a7,0x6
|
|
bba: ecc88893 addi a7,a7,-308 # 5ecc <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: 6899 lui a7,0x6
|
|
bd2: e2888893 addi a7,a7,-472 # 5e28 <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) # 200002c0 <__rt_errno>
|
|
d3a: e8cff06f j 3c6 <__riscv_restore_0>
|
|
d3e: 581000ef jal ra,1abe <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: 00006a37 lui s4,0x6
|
|
f52: 8462 mv s0,s8
|
|
f54: 02b00a93 li s5,43
|
|
f58: 02000b13 li s6,32
|
|
f5c: 19fd addi s3,s3,-1
|
|
f5e: ec4a0a13 addi s4,s4,-316 # 5ec4 <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) # 200002c4 <_console_device>
|
|
128a: 8082 ret
|
|
|
|
0000128c <rt_console_set_device>:
|
|
128c: 916ff2ef jal t0,3a2 <__riscv_save_0>
|
|
1290: 81c1a903 lw s2,-2020(gp) # 200002c4 <_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 # 200002c4 <_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: b8018513 addi a0,gp,-1152 # 20000628 <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) # 200002c4 <_console_device>
|
|
12e8: e909 bnez a0,12fa <rt_kprintf+0x3e>
|
|
12ea: b8018513 addi a0,gp,-1152 # 20000628 <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 # 200002c4 <_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: b8018613 addi a2,gp,-1152 # 20000628 <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: 00006537 lui a0,0x6
|
|
132c: e3c50513 addi a0,a0,-452 # 5e3c <large_digits.2583+0x14>
|
|
1330: 3771 jal 12bc <rt_kprintf>
|
|
1332: 00006537 lui a0,0x6
|
|
1336: e4850513 addi a0,a0,-440 # 5e48 <large_digits.2583+0x20>
|
|
133a: 3749 jal 12bc <rt_kprintf>
|
|
133c: 00006737 lui a4,0x6
|
|
1340: 00006537 lui a0,0x6
|
|
1344: e6c70713 addi a4,a4,-404 # 5e6c <large_digits.2583+0x44>
|
|
1348: 468d li a3,3
|
|
134a: 4605 li a2,1
|
|
134c: 458d li a1,3
|
|
134e: e7850513 addi a0,a0,-392 # 5e78 <large_digits.2583+0x50>
|
|
1352: 37ad jal 12bc <rt_kprintf>
|
|
1354: 00006537 lui a0,0x6
|
|
1358: e9850513 addi a0,a0,-360 # 5e98 <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: 6699 lui a3,0x6
|
|
1366: 0ff57713 andi a4,a0,255
|
|
136a: d2868693 addi a3,a3,-728 # 5d28 <__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) # 200002cc <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) # 200002c8 <heap_end>
|
|
13c4: 00f68f63 beq a3,a5,13e2 <plug_holes+0x32>
|
|
13c8: 82818693 addi a3,gp,-2008 # 200002d0 <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 # 200002d0 <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) # 200002d8 <mem_size_aligned>
|
|
1410: 00006537 lui a0,0x6
|
|
1414: ee050513 addi a0,a0,-288 # 5ee0 <small_digits.2582+0x14>
|
|
1418: 3555 jal 12bc <rt_kprintf>
|
|
141a: 83c1a583 lw a1,-1988(gp) # 200002e4 <used_mem>
|
|
141e: 00006537 lui a0,0x6
|
|
1422: ef450513 addi a0,a0,-268 # 5ef4 <small_digits.2582+0x28>
|
|
1426: 3d59 jal 12bc <rt_kprintf>
|
|
1428: 82c1a583 lw a1,-2004(gp) # 200002d4 <max_mem>
|
|
142c: 00006537 lui a0,0x6
|
|
1430: f0850513 addi a0,a0,-248 # 5f08 <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) # 200002d8 <mem_size_aligned>
|
|
1462: 6689 lui a3,0x2
|
|
1464: 1751 addi a4,a4,-12
|
|
1466: 82418413 addi s0,gp,-2012 # 200002cc <heap_ptr>
|
|
146a: ea068693 addi a3,a3,-352 # 1ea0 <sw_clearpend+0xc>
|
|
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) # 200002c8 <heap_end>
|
|
147e: 66c9 lui a3,0x12
|
|
1480: ea068693 addi a3,a3,-352 # 11ea0 <__stack_size+0x9ea0>
|
|
1484: 000065b7 lui a1,0x6
|
|
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: fa058593 addi a1,a1,-96 # 5fa0 <__fsym_list_mem_name+0x58>
|
|
1496: c0018513 addi a0,gp,-1024 # 200006a8 <heap_sem>
|
|
149a: ba4ff0ef jal ra,83e <rt_sem_init>
|
|
149e: 4018 lw a4,0(s0)
|
|
14a0: 82e1a423 sw a4,-2008(gp) # 200002d0 <lfree>
|
|
14a4: f23fe06f j 3c6 <__riscv_restore_0>
|
|
14a8: 85aa mv a1,a0
|
|
14aa: 00006537 lui a0,0x6
|
|
14ae: fa850513 addi a0,a0,-88 # 5fa8 <__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) # 200002d8 <mem_size_aligned>
|
|
14c0: 00350413 addi s0,a0,3
|
|
14c4: 9871 andi s0,s0,-4
|
|
14c6: 83018913 addi s2,gp,-2000 # 200002d8 <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: c0018513 addi a0,gp,-1024 # 200006a8 <heap_sem>
|
|
14de: b88ff0ef jal ra,866 <rt_sem_take>
|
|
14e2: 8281a783 lw a5,-2008(gp) # 200002d0 <lfree>
|
|
14e6: 8241a583 lw a1,-2012(gp) # 200002cc <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 # 200002d0 <lfree>
|
|
14fc: 00d66863 bltu a2,a3,150c <rt_malloc+0x56>
|
|
1500: c0018513 addi a0,gp,-1024 # 200006a8 <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 # 200002e4 <used_mem>
|
|
1528: 82c18e93 addi t4,gp,-2004 # 200002d4 <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 # 200002e4 <used_mem>
|
|
153c: 82c18293 addi t0,gp,-2004 # 200002d4 <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 <sw_clearpend+0xc>
|
|
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 <sw_clearpend+0xc>
|
|
158c: a09a sh a4,0(s1)
|
|
158e: 00979a63 bne a5,s1,15a2 <rt_malloc+0xec>
|
|
1592: 8201a683 lw a3,-2016(gp) # 200002c8 <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: c0018513 addi a0,gp,-1024 # 200006a8 <heap_sem>
|
|
15a6: b40ff0ef jal ra,8e6 <rt_sem_release>
|
|
15aa: 8381a783 lw a5,-1992(gp) # 200002e0 <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) # 200002dc <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) # 200002cc <heap_ptr>
|
|
161a: 82418913 addi s2,gp,-2012 # 200002cc <heap_ptr>
|
|
161e: 08f46663 bltu s0,a5,16aa <rt_free+0xa4>
|
|
1622: 8201a783 lw a5,-2016(gp) # 200002c8 <heap_end>
|
|
1626: 08f47263 bgeu s0,a5,16aa <rt_free+0xa4>
|
|
162a: 55fd li a1,-1
|
|
162c: c0018513 addi a0,gp,-1024 # 200006a8 <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 <sw_clearpend+0xc>
|
|
1648: 02f70163 beq a4,a5,166a <rt_free+0x64>
|
|
164c: 00006537 lui a0,0x6
|
|
1650: f5450513 addi a0,a0,-172 # 5f54 <__fsym_list_mem_name+0xc>
|
|
1654: 31a5 jal 12bc <rt_kprintf>
|
|
1656: ff445683 lhu a3,-12(s0)
|
|
165a: ff645603 lhu a2,-10(s0)
|
|
165e: 00006537 lui a0,0x6
|
|
1662: 85ce mv a1,s3
|
|
1664: f7050513 addi a0,a0,-144 # 5f70 <__fsym_list_mem_name+0x28>
|
|
1668: 3991 jal 12bc <rt_kprintf>
|
|
166a: 6789 lui a5,0x2
|
|
166c: ea078793 addi a5,a5,-352 # 1ea0 <sw_clearpend+0xc>
|
|
1670: fef41a23 sh a5,-12(s0)
|
|
1674: 82818793 addi a5,gp,-2008 # 200002d0 <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 # 200002e4 <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: c0018513 addi a0,gp,-1024 # 200006a8 <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: 2cb1 jal 1946 <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: 2495 jal 195c <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) # 200002e8 <rt_object_attach_hook>
|
|
1710: c399 beqz a5,1716 <rt_object_init+0x3c>
|
|
1712: 8522 mv a0,s0
|
|
1714: 9782 jalr a5
|
|
1716: 78c000ef jal ra,1ea2 <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: 782000ef jal ra,1eae <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) # 200002ec <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: 758000ef jal ra,1ea2 <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: 750000ef jal ra,1eae <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) # 200002e8 <rt_object_attach_hook>
|
|
1798: c399 beqz a5,179e <rt_object_allocate+0x38>
|
|
179a: 8522 mv a0,s0
|
|
179c: 9782 jalr a5
|
|
179e: 704000ef jal ra,1ea2 <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: 6fc000ef jal ra,1eae <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) # 200002ec <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: 6d4000ef jal ra,1ea2 <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: 6cc000ef jal ra,1eae <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) # 20000308 <rt_scheduler_lock_nest>
|
|
17fa: c2018793 addi a5,gp,-992 # 200006c8 <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) # 200002fc <rt_current_priority>
|
|
1812: 8401ac23 sw zero,-1960(gp) # 20000300 <rt_current_thread>
|
|
1816: 8601a623 sw zero,-1940(gp) # 20000314 <rt_thread_ready_priority_group>
|
|
181a: 86418793 addi a5,gp,-1948 # 2000030c <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) # 20000314 <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: c2018513 addi a0,gp,-992 # 200006c8 <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) # 20000300 <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: 64e000ef jal ra,1ea2 <rt_hw_interrupt_disable>
|
|
1858: 86019783 lh a5,-1952(gp) # 20000308 <rt_scheduler_lock_nest>
|
|
185c: 892a mv s2,a0
|
|
185e: e7b1 bnez a5,18aa <rt_schedule+0x5a>
|
|
1860: 86c1a503 lw a0,-1940(gp) # 20000314 <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: c2018793 addi a5,gp,-992 # 200006c8 <rt_thread_priority_table>
|
|
1872: 97ba add a5,a5,a4
|
|
1874: 4384 lw s1,0(a5)
|
|
1876: 85818793 addi a5,gp,-1960 # 20000300 <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) # 20000304 <rt_scheduler_hook>
|
|
188a: 84a18a23 sb a0,-1964(gp) # 200002fc <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) # 200002bc <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: 602000ef jal ra,1eae <rt_hw_interrupt_enable>
|
|
18b0: b17fe06f j 3c6 <__riscv_restore_0>
|
|
18b4: 600000ef jal ra,1eb4 <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: 5e2000ef jal ra,1ea2 <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: c2018793 addi a5,gp,-992 # 200006c8 <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 # 20000314 <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: 5b4000ef jal ra,1eae <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: 59a000ef jal ra,1ea2 <rt_hw_interrupt_disable>
|
|
190c: 4c18 lw a4,24(s0)
|
|
190e: 4854 lw a3,20(s0)
|
|
1910: 01440793 addi a5,s0,20
|
|
1914: c2d8 sw a4,4(a3)
|
|
1916: c314 sw a3,0(a4)
|
|
1918: c85c sw a5,20(s0)
|
|
191a: cc1c sw a5,24(s0)
|
|
191c: 03544783 lbu a5,53(s0)
|
|
1920: 00379713 slli a4,a5,0x3
|
|
1924: c2018793 addi a5,gp,-992 # 200006c8 <rt_thread_priority_table>
|
|
1928: 97ba add a5,a5,a4
|
|
192a: 4398 lw a4,0(a5)
|
|
192c: 00f71a63 bne a4,a5,1940 <rt_schedule_remove_thread+0x3e>
|
|
1930: 86c18713 addi a4,gp,-1940 # 20000314 <rt_thread_ready_priority_group>
|
|
1934: 5c1c lw a5,56(s0)
|
|
1936: 4314 lw a3,0(a4)
|
|
1938: fff7c793 not a5,a5
|
|
193c: 8ff5 and a5,a5,a3
|
|
193e: c31c sw a5,0(a4)
|
|
1940: 23bd jal 1eae <rt_hw_interrupt_enable>
|
|
1942: a85fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001946 <rt_enter_critical>:
|
|
1946: a5dfe2ef jal t0,3a2 <__riscv_save_0>
|
|
194a: 2ba1 jal 1ea2 <rt_hw_interrupt_disable>
|
|
194c: 86018793 addi a5,gp,-1952 # 20000308 <rt_scheduler_lock_nest>
|
|
1950: 239a lhu a4,0(a5)
|
|
1952: 0705 addi a4,a4,1
|
|
1954: a39a sh a4,0(a5)
|
|
1956: 2ba1 jal 1eae <rt_hw_interrupt_enable>
|
|
1958: a6ffe06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000195c <rt_exit_critical>:
|
|
195c: a47fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1960: 2389 jal 1ea2 <rt_hw_interrupt_disable>
|
|
1962: 86018713 addi a4,gp,-1952 # 20000308 <rt_scheduler_lock_nest>
|
|
1966: 231e lhu a5,0(a4)
|
|
1968: 17fd addi a5,a5,-1
|
|
196a: 07c2 slli a5,a5,0x10
|
|
196c: 87c1 srai a5,a5,0x10
|
|
196e: a31e sh a5,0(a4)
|
|
1970: 00f04b63 bgtz a5,1986 <rt_exit_critical+0x2a>
|
|
1974: 00071023 sh zero,0(a4)
|
|
1978: 2b1d jal 1eae <rt_hw_interrupt_enable>
|
|
197a: 8581a783 lw a5,-1960(gp) # 20000300 <rt_current_thread>
|
|
197e: c391 beqz a5,1982 <rt_exit_critical+0x26>
|
|
1980: 3dc1 jal 1850 <rt_schedule>
|
|
1982: a45fe06f j 3c6 <__riscv_restore_0>
|
|
1986: 2325 jal 1eae <rt_hw_interrupt_enable>
|
|
1988: bfed j 1982 <rt_exit_critical+0x26>
|
|
|
|
0000198a <rt_thread_exit>:
|
|
198a: a19fe2ef jal t0,3a2 <__riscv_save_0>
|
|
198e: 8581a403 lw s0,-1960(gp) # 20000300 <rt_current_thread>
|
|
1992: 2b01 jal 1ea2 <rt_hw_interrupt_disable>
|
|
1994: 84aa mv s1,a0
|
|
1996: 8522 mv a0,s0
|
|
1998: 37ad jal 1902 <rt_schedule_remove_thread>
|
|
199a: 4791 li a5,4
|
|
199c: 02f40a23 sb a5,52(s0)
|
|
19a0: 04c40513 addi a0,s0,76
|
|
19a4: 2e39 jal 1cc2 <rt_timer_detach>
|
|
19a6: 8522 mv a0,s0
|
|
19a8: 3599 jal 17ee <rt_object_is_systemobject>
|
|
19aa: 4785 li a5,1
|
|
19ac: 00f51c63 bne a0,a5,19c4 <rt_thread_exit+0x3a>
|
|
19b0: 5c3c lw a5,120(s0)
|
|
19b2: eb89 bnez a5,19c4 <rt_thread_exit+0x3a>
|
|
19b4: 8522 mv a0,s0
|
|
19b6: d83ff0ef jal ra,1738 <rt_object_detach>
|
|
19ba: 8526 mv a0,s1
|
|
19bc: 29cd jal 1eae <rt_hw_interrupt_enable>
|
|
19be: 3d49 jal 1850 <rt_schedule>
|
|
19c0: a07fe06f j 3c6 <__riscv_restore_0>
|
|
19c4: 8641a683 lw a3,-1948(gp) # 2000030c <rt_thread_defunct>
|
|
19c8: 01440713 addi a4,s0,20
|
|
19cc: 86e1a223 sw a4,-1948(gp) # 2000030c <rt_thread_defunct>
|
|
19d0: c2d8 sw a4,4(a3)
|
|
19d2: 86418793 addi a5,gp,-1948 # 2000030c <rt_thread_defunct>
|
|
19d6: c854 sw a3,20(s0)
|
|
19d8: cc1c sw a5,24(s0)
|
|
19da: b7c5 j 19ba <rt_thread_exit+0x30>
|
|
|
|
000019dc <_rt_thread_init.isra.0>:
|
|
19dc: 9c7fe2ef jal t0,3a2 <__riscv_save_0>
|
|
19e0: 842a mv s0,a0
|
|
19e2: 0551 addi a0,a0,20
|
|
19e4: 1141 addi sp,sp,-16
|
|
19e6: cc08 sw a0,24(s0)
|
|
19e8: c848 sw a0,20(s0)
|
|
19ea: d00c sw a1,32(s0)
|
|
19ec: d050 sw a2,36(s0)
|
|
19ee: d414 sw a3,40(s0)
|
|
19f0: 863a mv a2,a4
|
|
19f2: d458 sw a4,44(s0)
|
|
19f4: 02300593 li a1,35
|
|
19f8: 8536 mv a0,a3
|
|
19fa: c63e sw a5,12(sp)
|
|
19fc: c442 sw a6,8(sp)
|
|
19fe: b4aff0ef jal ra,d48 <rt_memset>
|
|
1a02: 5458 lw a4,44(s0)
|
|
1a04: 5410 lw a2,40(s0)
|
|
1a06: 504c lw a1,36(s0)
|
|
1a08: 5008 lw a0,32(s0)
|
|
1a0a: 1771 addi a4,a4,-4
|
|
1a0c: 000026b7 lui a3,0x2
|
|
1a10: 963a add a2,a2,a4
|
|
1a12: 98a68693 addi a3,a3,-1654 # 198a <rt_thread_exit>
|
|
1a16: 2925 jal 1e4e <rt_hw_stack_init>
|
|
1a18: 47b2 lw a5,12(sp)
|
|
1a1a: 4822 lw a6,8(sp)
|
|
1a1c: 00002637 lui a2,0x2
|
|
1a20: cc48 sw a0,28(s0)
|
|
1a22: 02f40b23 sb a5,54(s0)
|
|
1a26: 02f40aa3 sb a5,53(s0)
|
|
1a2a: 02042c23 sw zero,56(s0)
|
|
1a2e: 4781 li a5,0
|
|
1a30: 05042223 sw a6,68(s0)
|
|
1a34: 05042423 sw a6,72(s0)
|
|
1a38: 02042823 sw zero,48(s0)
|
|
1a3c: 02040a23 sb zero,52(s0)
|
|
1a40: 06042c23 sw zero,120(s0)
|
|
1a44: 06042e23 sw zero,124(s0)
|
|
1a48: 4701 li a4,0
|
|
1a4a: 86a2 mv a3,s0
|
|
1a4c: a6a60613 addi a2,a2,-1430 # 1a6a <rt_thread_timeout>
|
|
1a50: 85a2 mv a1,s0
|
|
1a52: 04c40513 addi a0,s0,76
|
|
1a56: 2c0d jal 1c88 <rt_timer_init>
|
|
1a58: 8701a783 lw a5,-1936(gp) # 20000318 <rt_thread_inited_hook>
|
|
1a5c: c399 beqz a5,1a62 <_rt_thread_init.isra.0+0x86>
|
|
1a5e: 8522 mv a0,s0
|
|
1a60: 9782 jalr a5
|
|
1a62: 4501 li a0,0
|
|
1a64: 0141 addi sp,sp,16
|
|
1a66: 961fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001a6a <rt_thread_timeout>:
|
|
1a6a: 939fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1a6e: 4950 lw a2,20(a0)
|
|
1a70: 4d14 lw a3,24(a0)
|
|
1a72: 5779 li a4,-2
|
|
1a74: d918 sw a4,48(a0)
|
|
1a76: c254 sw a3,4(a2)
|
|
1a78: 01450713 addi a4,a0,20
|
|
1a7c: c290 sw a2,0(a3)
|
|
1a7e: cd18 sw a4,24(a0)
|
|
1a80: c958 sw a4,20(a0)
|
|
1a82: 3d25 jal 18ba <rt_schedule_insert_thread>
|
|
1a84: dcdff0ef jal ra,1850 <rt_schedule>
|
|
1a88: 93ffe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001a8c <rt_thread_init>:
|
|
1a8c: 917fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1a90: 1141 addi sp,sp,-16
|
|
1a92: 84b2 mv s1,a2
|
|
1a94: 862e mv a2,a1
|
|
1a96: 4585 li a1,1
|
|
1a98: 842a mv s0,a0
|
|
1a9a: 8936 mv s2,a3
|
|
1a9c: c046 sw a7,0(sp)
|
|
1a9e: c63a sw a4,12(sp)
|
|
1aa0: c43e sw a5,8(sp)
|
|
1aa2: c242 sw a6,4(sp)
|
|
1aa4: c37ff0ef jal ra,16da <rt_object_init>
|
|
1aa8: 4802 lw a6,0(sp)
|
|
1aaa: 4792 lw a5,4(sp)
|
|
1aac: 4722 lw a4,8(sp)
|
|
1aae: 46b2 lw a3,12(sp)
|
|
1ab0: 864a mv a2,s2
|
|
1ab2: 85a6 mv a1,s1
|
|
1ab4: 8522 mv a0,s0
|
|
1ab6: 371d jal 19dc <_rt_thread_init.isra.0>
|
|
1ab8: 0141 addi sp,sp,16
|
|
1aba: 90dfe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001abe <rt_thread_self>:
|
|
1abe: 8581a503 lw a0,-1960(gp) # 20000300 <rt_current_thread>
|
|
1ac2: 8082 ret
|
|
|
|
00001ac4 <rt_thread_create>:
|
|
1ac4: 8c5fe2ef jal t0,388 <__riscv_save_4>
|
|
1ac8: 1141 addi sp,sp,-16
|
|
1aca: 892e mv s2,a1
|
|
1acc: 85aa mv a1,a0
|
|
1ace: 4505 li a0,1
|
|
1ad0: c632 sw a2,12(sp)
|
|
1ad2: 84b6 mv s1,a3
|
|
1ad4: 89ba mv s3,a4
|
|
1ad6: 8a3e mv s4,a5
|
|
1ad8: c8fff0ef jal ra,1766 <rt_object_allocate>
|
|
1adc: 842a mv s0,a0
|
|
1ade: c911 beqz a0,1af2 <rt_thread_create+0x2e>
|
|
1ae0: 8526 mv a0,s1
|
|
1ae2: 9d5ff0ef jal ra,14b6 <rt_malloc>
|
|
1ae6: 4632 lw a2,12(sp)
|
|
1ae8: e909 bnez a0,1afa <rt_thread_create+0x36>
|
|
1aea: 8522 mv a0,s0
|
|
1aec: cd1ff0ef jal ra,17bc <rt_object_delete>
|
|
1af0: 4401 li s0,0
|
|
1af2: 8522 mv a0,s0
|
|
1af4: 0141 addi sp,sp,16
|
|
1af6: 8c7fe06f j 3bc <__riscv_restore_4>
|
|
1afa: 86aa mv a3,a0
|
|
1afc: 8852 mv a6,s4
|
|
1afe: 87ce mv a5,s3
|
|
1b00: 8726 mv a4,s1
|
|
1b02: 85ca mv a1,s2
|
|
1b04: 8522 mv a0,s0
|
|
1b06: 3dd9 jal 19dc <_rt_thread_init.isra.0>
|
|
1b08: b7ed j 1af2 <rt_thread_create+0x2e>
|
|
|
|
00001b0a <rt_thread_yield>:
|
|
1b0a: 899fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1b0e: 2e51 jal 1ea2 <rt_hw_interrupt_disable>
|
|
1b10: 8581a783 lw a5,-1960(gp) # 20000300 <rt_current_thread>
|
|
1b14: 4605 li a2,1
|
|
1b16: 86aa mv a3,a0
|
|
1b18: 0347c703 lbu a4,52(a5)
|
|
1b1c: 8b3d andi a4,a4,15
|
|
1b1e: 02c71c63 bne a4,a2,1b56 <rt_thread_yield+0x4c>
|
|
1b22: 4bd0 lw a2,20(a5)
|
|
1b24: 4f98 lw a4,24(a5)
|
|
1b26: 02e60863 beq a2,a4,1b56 <rt_thread_yield+0x4c>
|
|
1b2a: c258 sw a4,4(a2)
|
|
1b2c: c310 sw a2,0(a4)
|
|
1b2e: 0357c603 lbu a2,53(a5)
|
|
1b32: 01478693 addi a3,a5,20
|
|
1b36: 060e slli a2,a2,0x3
|
|
1b38: c2018713 addi a4,gp,-992 # 200006c8 <rt_thread_priority_table>
|
|
1b3c: cf94 sw a3,24(a5)
|
|
1b3e: 9732 add a4,a4,a2
|
|
1b40: 4350 lw a2,4(a4)
|
|
1b42: c214 sw a3,0(a2)
|
|
1b44: cf90 sw a2,24(a5)
|
|
1b46: c354 sw a3,4(a4)
|
|
1b48: cbd8 sw a4,20(a5)
|
|
1b4a: 2695 jal 1eae <rt_hw_interrupt_enable>
|
|
1b4c: d05ff0ef jal ra,1850 <rt_schedule>
|
|
1b50: 4501 li a0,0
|
|
1b52: 875fe06f j 3c6 <__riscv_restore_0>
|
|
1b56: 8536 mv a0,a3
|
|
1b58: 2e99 jal 1eae <rt_hw_interrupt_enable>
|
|
1b5a: bfdd j 1b50 <rt_thread_yield+0x46>
|
|
|
|
00001b5c <rt_thread_suspend>:
|
|
1b5c: 03454783 lbu a5,52(a0)
|
|
1b60: 4705 li a4,1
|
|
1b62: 8bbd andi a5,a5,15
|
|
1b64: 02e79f63 bne a5,a4,1ba2 <rt_thread_suspend+0x46>
|
|
1b68: 83bfe2ef jal t0,3a2 <__riscv_save_0>
|
|
1b6c: 842a mv s0,a0
|
|
1b6e: 2e15 jal 1ea2 <rt_hw_interrupt_disable>
|
|
1b70: 03444783 lbu a5,52(s0)
|
|
1b74: 84aa mv s1,a0
|
|
1b76: 8522 mv a0,s0
|
|
1b78: 9bc1 andi a5,a5,-16
|
|
1b7a: 0027e793 ori a5,a5,2
|
|
1b7e: 02f40a23 sb a5,52(s0)
|
|
1b82: d81ff0ef jal ra,1902 <rt_schedule_remove_thread>
|
|
1b86: 04c40513 addi a0,s0,76
|
|
1b8a: 2ad9 jal 1d60 <rt_timer_stop>
|
|
1b8c: 8526 mv a0,s1
|
|
1b8e: 2605 jal 1eae <rt_hw_interrupt_enable>
|
|
1b90: 8781a783 lw a5,-1928(gp) # 20000320 <rt_thread_suspend_hook>
|
|
1b94: 4501 li a0,0
|
|
1b96: c781 beqz a5,1b9e <rt_thread_suspend+0x42>
|
|
1b98: 8522 mv a0,s0
|
|
1b9a: 9782 jalr a5
|
|
1b9c: 4501 li a0,0
|
|
1b9e: 829fe06f j 3c6 <__riscv_restore_0>
|
|
1ba2: 557d li a0,-1
|
|
1ba4: 8082 ret
|
|
|
|
00001ba6 <rt_thread_sleep>:
|
|
1ba6: ffcfe2ef jal t0,3a2 <__riscv_save_0>
|
|
1baa: 1141 addi sp,sp,-16
|
|
1bac: c62a sw a0,12(sp)
|
|
1bae: 2cd5 jal 1ea2 <rt_hw_interrupt_disable>
|
|
1bb0: 8581a403 lw s0,-1960(gp) # 20000300 <rt_current_thread>
|
|
1bb4: 892a mv s2,a0
|
|
1bb6: 8522 mv a0,s0
|
|
1bb8: 3755 jal 1b5c <rt_thread_suspend>
|
|
1bba: 04c40493 addi s1,s0,76
|
|
1bbe: 0070 addi a2,sp,12
|
|
1bc0: 4581 li a1,0
|
|
1bc2: 8526 mv a0,s1
|
|
1bc4: 22f9 jal 1d92 <rt_timer_control>
|
|
1bc6: 8526 mv a0,s1
|
|
1bc8: 2a21 jal 1ce0 <rt_timer_start>
|
|
1bca: 854a mv a0,s2
|
|
1bcc: 24cd jal 1eae <rt_hw_interrupt_enable>
|
|
1bce: c83ff0ef jal ra,1850 <rt_schedule>
|
|
1bd2: 5818 lw a4,48(s0)
|
|
1bd4: 57f9 li a5,-2
|
|
1bd6: 00f71463 bne a4,a5,1bde <rt_thread_sleep+0x38>
|
|
1bda: 02042823 sw zero,48(s0)
|
|
1bde: 4501 li a0,0
|
|
1be0: 0141 addi sp,sp,16
|
|
1be2: fe4fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001be6 <rt_thread_delay>:
|
|
1be6: fbcfe2ef jal t0,3a2 <__riscv_save_0>
|
|
1bea: 3f75 jal 1ba6 <rt_thread_sleep>
|
|
1bec: fdafe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001bf0 <rt_thread_mdelay>:
|
|
1bf0: fb2fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1bf4: 8b5fe0ef jal ra,4a8 <rt_tick_from_millisecond>
|
|
1bf8: 377d jal 1ba6 <rt_thread_sleep>
|
|
1bfa: fccfe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001bfe <rt_thread_resume>:
|
|
1bfe: 03454783 lbu a5,52(a0)
|
|
1c02: 4709 li a4,2
|
|
1c04: 8bbd andi a5,a5,15
|
|
1c06: 04e79063 bne a5,a4,1c46 <rt_thread_resume+0x48>
|
|
1c0a: f98fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1c0e: 842a mv s0,a0
|
|
1c10: 2c49 jal 1ea2 <rt_hw_interrupt_disable>
|
|
1c12: 4854 lw a3,20(s0)
|
|
1c14: 4c18 lw a4,24(s0)
|
|
1c16: 01440793 addi a5,s0,20
|
|
1c1a: 84aa mv s1,a0
|
|
1c1c: c2d8 sw a4,4(a3)
|
|
1c1e: c314 sw a3,0(a4)
|
|
1c20: cc1c sw a5,24(s0)
|
|
1c22: c85c sw a5,20(s0)
|
|
1c24: 04c40513 addi a0,s0,76
|
|
1c28: 2a25 jal 1d60 <rt_timer_stop>
|
|
1c2a: 8526 mv a0,s1
|
|
1c2c: 2449 jal 1eae <rt_hw_interrupt_enable>
|
|
1c2e: 8522 mv a0,s0
|
|
1c30: c8bff0ef jal ra,18ba <rt_schedule_insert_thread>
|
|
1c34: 8741a783 lw a5,-1932(gp) # 2000031c <rt_thread_resume_hook>
|
|
1c38: 4501 li a0,0
|
|
1c3a: c781 beqz a5,1c42 <rt_thread_resume+0x44>
|
|
1c3c: 8522 mv a0,s0
|
|
1c3e: 9782 jalr a5
|
|
1c40: 4501 li a0,0
|
|
1c42: f84fe06f j 3c6 <__riscv_restore_0>
|
|
1c46: 557d li a0,-1
|
|
1c48: 8082 ret
|
|
|
|
00001c4a <rt_thread_startup>:
|
|
1c4a: f58fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1c4e: 03654683 lbu a3,54(a0)
|
|
1c52: 4705 li a4,1
|
|
1c54: 00d71733 sll a4,a4,a3
|
|
1c58: dd18 sw a4,56(a0)
|
|
1c5a: 4709 li a4,2
|
|
1c5c: 02d50aa3 sb a3,53(a0)
|
|
1c60: 02e50a23 sb a4,52(a0)
|
|
1c64: 3f69 jal 1bfe <rt_thread_resume>
|
|
1c66: 8581a783 lw a5,-1960(gp) # 20000300 <rt_current_thread>
|
|
1c6a: c399 beqz a5,1c70 <rt_thread_startup+0x26>
|
|
1c6c: be5ff0ef jal ra,1850 <rt_schedule>
|
|
1c70: 4501 li a0,0
|
|
1c72: f54fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001c76 <_rt_timer_remove.part.1>:
|
|
1c76: 4954 lw a3,20(a0)
|
|
1c78: 4d18 lw a4,24(a0)
|
|
1c7a: 01450793 addi a5,a0,20
|
|
1c7e: c2d8 sw a4,4(a3)
|
|
1c80: c314 sw a3,0(a4)
|
|
1c82: cd1c sw a5,24(a0)
|
|
1c84: c95c sw a5,20(a0)
|
|
1c86: 8082 ret
|
|
|
|
00001c88 <rt_timer_init>:
|
|
1c88: f1afe2ef jal t0,3a2 <__riscv_save_0>
|
|
1c8c: 1141 addi sp,sp,-16
|
|
1c8e: 84b2 mv s1,a2
|
|
1c90: 862e mv a2,a1
|
|
1c92: 45a9 li a1,10
|
|
1c94: 842a mv s0,a0
|
|
1c96: c636 sw a3,12(sp)
|
|
1c98: c43a sw a4,8(sp)
|
|
1c9a: c23e sw a5,4(sp)
|
|
1c9c: a3fff0ef jal ra,16da <rt_object_init>
|
|
1ca0: 4792 lw a5,4(sp)
|
|
1ca2: 46b2 lw a3,12(sp)
|
|
1ca4: 4722 lw a4,8(sp)
|
|
1ca6: 9bf9 andi a5,a5,-2
|
|
1ca8: b41c sb a5,9(s0)
|
|
1caa: 01440793 addi a5,s0,20
|
|
1cae: cc44 sw s1,28(s0)
|
|
1cb0: d014 sw a3,32(s0)
|
|
1cb2: 02042423 sw zero,40(s0)
|
|
1cb6: d058 sw a4,36(s0)
|
|
1cb8: cc1c sw a5,24(s0)
|
|
1cba: c85c sw a5,20(s0)
|
|
1cbc: 0141 addi sp,sp,16
|
|
1cbe: f08fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001cc2 <rt_timer_detach>:
|
|
1cc2: ee0fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1cc6: 842a mv s0,a0
|
|
1cc8: 2ae9 jal 1ea2 <rt_hw_interrupt_disable>
|
|
1cca: 84aa mv s1,a0
|
|
1ccc: 8522 mv a0,s0
|
|
1cce: 3765 jal 1c76 <_rt_timer_remove.part.1>
|
|
1cd0: 8526 mv a0,s1
|
|
1cd2: 2af1 jal 1eae <rt_hw_interrupt_enable>
|
|
1cd4: 8522 mv a0,s0
|
|
1cd6: a63ff0ef jal ra,1738 <rt_object_detach>
|
|
1cda: 4501 li a0,0
|
|
1cdc: eeafe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001ce0 <rt_timer_start>:
|
|
1ce0: ec2fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1ce4: 842a mv s0,a0
|
|
1ce6: 2a75 jal 1ea2 <rt_hw_interrupt_disable>
|
|
1ce8: 84aa mv s1,a0
|
|
1cea: 8522 mv a0,s0
|
|
1cec: 3769 jal 1c76 <_rt_timer_remove.part.1>
|
|
1cee: 341c lbu a5,9(s0)
|
|
1cf0: 8526 mv a0,s1
|
|
1cf2: 9bf9 andi a5,a5,-2
|
|
1cf4: b41c sb a5,9(s0)
|
|
1cf6: 2a65 jal 1eae <rt_hw_interrupt_enable>
|
|
1cf8: 84c1a783 lw a5,-1972(gp) # 200002f4 <rt_object_take_hook>
|
|
1cfc: c399 beqz a5,1d02 <rt_timer_start+0x22>
|
|
1cfe: 8522 mv a0,s0
|
|
1d00: 9782 jalr a5
|
|
1d02: f78fe0ef jal ra,47a <rt_tick_get>
|
|
1d06: 505c lw a5,36(s0)
|
|
1d08: 953e add a0,a0,a5
|
|
1d0a: d408 sw a0,40(s0)
|
|
1d0c: 2a59 jal 1ea2 <rt_hw_interrupt_disable>
|
|
1d0e: 88818713 addi a4,gp,-1912 # 20000330 <rt_timer_list>
|
|
1d12: 00472803 lw a6,4(a4)
|
|
1d16: 80000637 lui a2,0x80000
|
|
1d1a: 88818793 addi a5,gp,-1912 # 20000330 <rt_timer_list>
|
|
1d1e: ffe64613 xori a2,a2,-2
|
|
1d22: 4398 lw a4,0(a5)
|
|
1d24: 02f81563 bne a6,a5,1d4e <rt_timer_start+0x6e>
|
|
1d28: 87c18693 addi a3,gp,-1924 # 20000324 <random_nr.2483>
|
|
1d2c: 4290 lw a2,0(a3)
|
|
1d2e: 0605 addi a2,a2,1
|
|
1d30: c290 sw a2,0(a3)
|
|
1d32: 01440693 addi a3,s0,20
|
|
1d36: c354 sw a3,4(a4)
|
|
1d38: c858 sw a4,20(s0)
|
|
1d3a: c394 sw a3,0(a5)
|
|
1d3c: cc1c sw a5,24(s0)
|
|
1d3e: 341c lbu a5,9(s0)
|
|
1d40: 0017e793 ori a5,a5,1
|
|
1d44: b41c sb a5,9(s0)
|
|
1d46: 22a5 jal 1eae <rt_hw_interrupt_enable>
|
|
1d48: 4501 li a0,0
|
|
1d4a: e7cfe06f j 3c6 <__riscv_restore_0>
|
|
1d4e: 4b54 lw a3,20(a4)
|
|
1d50: 540c lw a1,40(s0)
|
|
1d52: 00b68563 beq a3,a1,1d5c <rt_timer_start+0x7c>
|
|
1d56: 8e8d sub a3,a3,a1
|
|
1d58: fcd678e3 bgeu a2,a3,1d28 <rt_timer_start+0x48>
|
|
1d5c: 87ba mv a5,a4
|
|
1d5e: b7d1 j 1d22 <rt_timer_start+0x42>
|
|
|
|
00001d60 <rt_timer_stop>:
|
|
1d60: 351c lbu a5,9(a0)
|
|
1d62: 8b85 andi a5,a5,1
|
|
1d64: c78d beqz a5,1d8e <rt_timer_stop+0x2e>
|
|
1d66: e3cfe2ef jal t0,3a2 <__riscv_save_0>
|
|
1d6a: 8481a783 lw a5,-1976(gp) # 200002f0 <rt_object_put_hook>
|
|
1d6e: 842a mv s0,a0
|
|
1d70: c391 beqz a5,1d74 <rt_timer_stop+0x14>
|
|
1d72: 9782 jalr a5
|
|
1d74: 223d jal 1ea2 <rt_hw_interrupt_disable>
|
|
1d76: 84aa mv s1,a0
|
|
1d78: 8522 mv a0,s0
|
|
1d7a: efdff0ef jal ra,1c76 <_rt_timer_remove.part.1>
|
|
1d7e: 8526 mv a0,s1
|
|
1d80: 223d jal 1eae <rt_hw_interrupt_enable>
|
|
1d82: 341c lbu a5,9(s0)
|
|
1d84: 4501 li a0,0
|
|
1d86: 9bf9 andi a5,a5,-2
|
|
1d88: b41c sb a5,9(s0)
|
|
1d8a: e3cfe06f j 3c6 <__riscv_restore_0>
|
|
1d8e: 557d li a0,-1
|
|
1d90: 8082 ret
|
|
|
|
00001d92 <rt_timer_control>:
|
|
1d92: 4785 li a5,1
|
|
1d94: 02f58163 beq a1,a5,1db6 <rt_timer_control+0x24>
|
|
1d98: 00b7c563 blt a5,a1,1da2 <rt_timer_control+0x10>
|
|
1d9c: c185 beqz a1,1dbc <rt_timer_control+0x2a>
|
|
1d9e: 4501 li a0,0
|
|
1da0: 8082 ret
|
|
1da2: 4789 li a5,2
|
|
1da4: 00f58f63 beq a1,a5,1dc2 <rt_timer_control+0x30>
|
|
1da8: 478d li a5,3
|
|
1daa: fef59ae3 bne a1,a5,1d9e <rt_timer_control+0xc>
|
|
1dae: 351c lbu a5,9(a0)
|
|
1db0: 0027e793 ori a5,a5,2
|
|
1db4: a809 j 1dc6 <rt_timer_control+0x34>
|
|
1db6: 515c lw a5,36(a0)
|
|
1db8: c21c sw a5,0(a2)
|
|
1dba: b7d5 j 1d9e <rt_timer_control+0xc>
|
|
1dbc: 421c lw a5,0(a2)
|
|
1dbe: d15c sw a5,36(a0)
|
|
1dc0: bff9 j 1d9e <rt_timer_control+0xc>
|
|
1dc2: 351c lbu a5,9(a0)
|
|
1dc4: 9bf5 andi a5,a5,-3
|
|
1dc6: b51c sb a5,9(a0)
|
|
1dc8: bfd9 j 1d9e <rt_timer_control+0xc>
|
|
|
|
00001dca <rt_timer_check>:
|
|
1dca: db0fe2ef jal t0,37a <__riscv_save_10>
|
|
1dce: eacfe0ef jal ra,47a <rt_tick_get>
|
|
1dd2: 8c2a mv s8,a0
|
|
1dd4: 20f9 jal 1ea2 <rt_hw_interrupt_disable>
|
|
1dd6: 800009b7 lui s3,0x80000
|
|
1dda: 8a2a mv s4,a0
|
|
1ddc: 88818493 addi s1,gp,-1912 # 20000330 <rt_timer_list>
|
|
1de0: ffe9c993 xori s3,s3,-2
|
|
1de4: 4b8d li s7,3
|
|
1de6: 4080 lw s0,0(s1)
|
|
1de8: 00941663 bne s0,s1,1df4 <rt_timer_check+0x2a>
|
|
1dec: 8552 mv a0,s4
|
|
1dee: 20c1 jal 1eae <rt_hw_interrupt_enable>
|
|
1df0: dc2fe06f j 3b2 <__riscv_restore_10>
|
|
1df4: 4848 lw a0,20(s0)
|
|
1df6: fec40913 addi s2,s0,-20
|
|
1dfa: 40ac0533 sub a0,s8,a0
|
|
1dfe: fea9e7e3 bltu s3,a0,1dec <rt_timer_check+0x22>
|
|
1e02: 8801a783 lw a5,-1920(gp) # 20000328 <rt_timer_enter_hook>
|
|
1e06: c399 beqz a5,1e0c <rt_timer_check+0x42>
|
|
1e08: 854a mv a0,s2
|
|
1e0a: 9782 jalr a5
|
|
1e0c: 854a mv a0,s2
|
|
1e0e: e69ff0ef jal ra,1c76 <_rt_timer_remove.part.1>
|
|
1e12: 441c lw a5,8(s0)
|
|
1e14: 4448 lw a0,12(s0)
|
|
1e16: 9782 jalr a5
|
|
1e18: e62fe0ef jal ra,47a <rt_tick_get>
|
|
1e1c: 8841a783 lw a5,-1916(gp) # 2000032c <rt_timer_exit_hook>
|
|
1e20: 8c2a mv s8,a0
|
|
1e22: c399 beqz a5,1e28 <rt_timer_check+0x5e>
|
|
1e24: 854a mv a0,s2
|
|
1e26: 9782 jalr a5
|
|
1e28: ff544783 lbu a5,-11(s0)
|
|
1e2c: 0fe7f713 andi a4,a5,254
|
|
1e30: fee40aa3 sb a4,-11(s0)
|
|
1e34: 8b8d andi a5,a5,3
|
|
1e36: fb7798e3 bne a5,s7,1de6 <rt_timer_check+0x1c>
|
|
1e3a: 854a mv a0,s2
|
|
1e3c: ea5ff0ef jal ra,1ce0 <rt_timer_start>
|
|
1e40: b75d j 1de6 <rt_timer_check+0x1c>
|
|
|
|
00001e42 <rt_system_timer_init>:
|
|
1e42: 88818793 addi a5,gp,-1912 # 20000330 <rt_timer_list>
|
|
1e46: c3dc sw a5,4(a5)
|
|
1e48: c39c sw a5,0(a5)
|
|
1e4a: 8082 ret
|
|
|
|
00001e4c <rt_system_timer_thread_init>:
|
|
1e4c: 8082 ret
|
|
|
|
00001e4e <rt_hw_stack_init>:
|
|
1e4e: 0611 addi a2,a2,4
|
|
1e50: 9a71 andi a2,a2,-4
|
|
1e52: 882a mv a6,a0
|
|
1e54: deadc737 lui a4,0xdeadc
|
|
1e58: f8060513 addi a0,a2,-128 # 7fffff80 <_eusrstack+0x5ffeff80>
|
|
1e5c: 87aa mv a5,a0
|
|
1e5e: eef70713 addi a4,a4,-273 # deadbeef <_eusrstack+0xbeacbeef>
|
|
1e62: 00f61e63 bne a2,a5,1e7e <rt_hw_stack_init+0x30>
|
|
1e66: 67a1 lui a5,0x8
|
|
1e68: 88078793 addi a5,a5,-1920 # 7880 <__rt_init_end+0x390>
|
|
1e6c: f8d62223 sw a3,-124(a2)
|
|
1e70: fab62423 sw a1,-88(a2)
|
|
1e74: f9062023 sw a6,-128(a2)
|
|
1e78: f8f62423 sw a5,-120(a2)
|
|
1e7c: 8082 ret
|
|
1e7e: c398 sw a4,0(a5)
|
|
1e80: 0791 addi a5,a5,4
|
|
1e82: b7c5 j 1e62 <rt_hw_stack_init+0x14>
|
|
|
|
00001e84 <sw_setpend>:
|
|
1e84: e000f737 lui a4,0xe000f
|
|
1e88: 431c lw a5,0(a4)
|
|
1e8a: 800006b7 lui a3,0x80000
|
|
1e8e: 8fd5 or a5,a5,a3
|
|
1e90: c31c sw a5,0(a4)
|
|
1e92: 8082 ret
|
|
|
|
00001e94 <sw_clearpend>:
|
|
1e94: e000f737 lui a4,0xe000f
|
|
1e98: 431c lw a5,0(a4)
|
|
1e9a: 0786 slli a5,a5,0x1
|
|
1e9c: 8385 srli a5,a5,0x1
|
|
1e9e: c31c sw a5,0(a4)
|
|
1ea0: 8082 ret
|
|
|
|
00001ea2 <rt_hw_interrupt_disable>:
|
|
1ea2: 6521 lui a0,0x8
|
|
1ea4: 80050513 addi a0,a0,-2048 # 7800 <__rt_init_end+0x310>
|
|
1ea8: 30051573 csrrw a0,mstatus,a0
|
|
1eac: 8082 ret
|
|
|
|
00001eae <rt_hw_interrupt_enable>:
|
|
1eae: 30051073 csrw mstatus,a0
|
|
1eb2: 8082 ret
|
|
|
|
00001eb4 <rt_hw_context_switch_interrupt>:
|
|
1eb4: ceefe2ef jal t0,3a2 <__riscv_save_0>
|
|
1eb8: 89818713 addi a4,gp,-1896 # 20000340 <rt_thread_switch_interrupt_flag>
|
|
1ebc: 4318 lw a4,0(a4)
|
|
1ebe: 89818793 addi a5,gp,-1896 # 20000340 <rt_thread_switch_interrupt_flag>
|
|
1ec2: e319 bnez a4,1ec8 <rt_hw_context_switch_interrupt+0x14>
|
|
1ec4: 88a1a823 sw a0,-1904(gp) # 20000338 <rt_interrupt_from_thread>
|
|
1ec8: 88b1aa23 sw a1,-1900(gp) # 2000033c <rt_interrupt_to_thread>
|
|
1ecc: 4705 li a4,1
|
|
1ece: c398 sw a4,0(a5)
|
|
1ed0: fb5ff0ef jal ra,1e84 <sw_setpend>
|
|
1ed4: cf2fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001ed8 <rt_list_len>:
|
|
1ed8: 872a mv a4,a0
|
|
1eda: 4781 li a5,0
|
|
1edc: 4318 lw a4,0(a4)
|
|
1ede: 00a71463 bne a4,a0,1ee6 <rt_list_len+0xe>
|
|
1ee2: 853e mv a0,a5
|
|
1ee4: 8082 ret
|
|
1ee6: 0785 addi a5,a5,1
|
|
1ee8: bfd5 j 1edc <rt_list_len+0x4>
|
|
|
|
00001eea <reboot>:
|
|
1eea: beef07b7 lui a5,0xbeef0
|
|
1eee: e000e737 lui a4,0xe000e
|
|
1ef2: 08078793 addi a5,a5,128 # beef0080 <_eusrstack+0x9eee0080>
|
|
1ef6: c73c sw a5,72(a4)
|
|
1ef8: 4501 li a0,0
|
|
1efa: 8082 ret
|
|
|
|
00001efc <clear>:
|
|
1efc: ca6fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1f00: 00006537 lui a0,0x6
|
|
1f04: fe450513 addi a0,a0,-28 # 5fe4 <__fsym_list_mem_name+0x9c>
|
|
1f08: bb4ff0ef jal ra,12bc <rt_kprintf>
|
|
1f0c: 4501 li a0,0
|
|
1f0e: cb8fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001f12 <object_split>:
|
|
1f12: c90fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1f16: 842a mv s0,a0
|
|
1f18: 54fd li s1,-1
|
|
1f1a: 00006937 lui s2,0x6
|
|
1f1e: 147d addi s0,s0,-1
|
|
1f20: 00941463 bne s0,s1,1f28 <object_split+0x16>
|
|
1f24: ca2fe06f j 3c6 <__riscv_restore_0>
|
|
1f28: 74c90513 addi a0,s2,1868 # 674c <__fsym_reboot_name+0x8>
|
|
1f2c: b90ff0ef jal ra,12bc <rt_kprintf>
|
|
1f30: b7fd j 1f1e <object_split+0xc>
|
|
|
|
00001f32 <show_wait_queue>:
|
|
1f32: c56fe2ef jal t0,388 <__riscv_save_4>
|
|
1f36: 4100 lw s0,0(a0)
|
|
1f38: 84aa mv s1,a0
|
|
1f3a: 00006937 lui s2,0x6
|
|
1f3e: 000069b7 lui s3,0x6
|
|
1f42: 00941463 bne s0,s1,1f4a <show_wait_queue+0x18>
|
|
1f46: c76fe06f j 3bc <__riscv_restore_4>
|
|
1f4a: fec40593 addi a1,s0,-20
|
|
1f4e: 75090513 addi a0,s2,1872 # 6750 <__fsym_reboot_name+0xc>
|
|
1f52: b6aff0ef jal ra,12bc <rt_kprintf>
|
|
1f56: 401c lw a5,0(s0)
|
|
1f58: 00978663 beq a5,s1,1f64 <show_wait_queue+0x32>
|
|
1f5c: 75498513 addi a0,s3,1876 # 6754 <__fsym_reboot_name+0x10>
|
|
1f60: b5cff0ef jal ra,12bc <rt_kprintf>
|
|
1f64: 4000 lw s0,0(s0)
|
|
1f66: bff1 j 1f42 <show_wait_queue+0x10>
|
|
|
|
00001f68 <object_name_maxlen>:
|
|
1f68: c3afe2ef jal t0,3a2 <__riscv_save_0>
|
|
1f6c: 892e mv s2,a1
|
|
1f6e: fb3fe0ef jal ra,f20 <rt_strlen>
|
|
1f72: 842a mv s0,a0
|
|
1f74: 9d3ff0ef jal ra,1946 <rt_enter_critical>
|
|
1f78: 00092483 lw s1,0(s2)
|
|
1f7c: 01249c63 bne s1,s2,1f94 <object_name_maxlen+0x2c>
|
|
1f80: 9ddff0ef jal ra,195c <rt_exit_critical>
|
|
1f84: 47a1 li a5,8
|
|
1f86: 0087c363 blt a5,s0,1f8c <object_name_maxlen+0x24>
|
|
1f8a: e011 bnez s0,1f8e <object_name_maxlen+0x26>
|
|
1f8c: 4421 li s0,8
|
|
1f8e: 8522 mv a0,s0
|
|
1f90: c36fe06f j 3c6 <__riscv_restore_0>
|
|
1f94: ff448513 addi a0,s1,-12
|
|
1f98: f89fe0ef jal ra,f20 <rt_strlen>
|
|
1f9c: 00a45363 bge s0,a0,1fa2 <object_name_maxlen+0x3a>
|
|
1fa0: 842a mv s0,a0
|
|
1fa2: 4084 lw s1,0(s1)
|
|
1fa4: bfe1 j 1f7c <object_name_maxlen+0x14>
|
|
|
|
00001fa6 <list_thread>:
|
|
1fa6: bd4fe2ef jal t0,37a <__riscv_save_10>
|
|
1faa: 4505 li a0,1
|
|
1fac: f04ff0ef jal ra,16b0 <rt_object_get_information>
|
|
1fb0: 000069b7 lui s3,0x6
|
|
1fb4: 00450913 addi s2,a0,4
|
|
1fb8: 842a mv s0,a0
|
|
1fba: 85ca mv a1,s2
|
|
1fbc: 29898513 addi a0,s3,664 # 6298 <__fsym_list_mem_name+0x350>
|
|
1fc0: fa9ff0ef jal ra,1f68 <object_name_maxlen>
|
|
1fc4: 85aa mv a1,a0
|
|
1fc6: 84aa mv s1,a0
|
|
1fc8: 00006537 lui a0,0x6
|
|
1fcc: 29898613 addi a2,s3,664
|
|
1fd0: 2a050513 addi a0,a0,672 # 62a0 <__fsym_list_mem_name+0x358>
|
|
1fd4: ae8ff0ef jal ra,12bc <rt_kprintf>
|
|
1fd8: 8526 mv a0,s1
|
|
1fda: f39ff0ef jal ra,1f12 <object_split>
|
|
1fde: 00006537 lui a0,0x6
|
|
1fe2: 2e450513 addi a0,a0,740 # 62e4 <__fsym_list_mem_name+0x39c>
|
|
1fe6: ad6ff0ef jal ra,12bc <rt_kprintf>
|
|
1fea: 4040 lw s0,4(s0)
|
|
1fec: 000069b7 lui s3,0x6
|
|
1ff0: 4a05 li s4,1
|
|
1ff2: 4a89 li s5,2
|
|
1ff4: 00006b37 lui s6,0x6
|
|
1ff8: 00006bb7 lui s7,0x6
|
|
1ffc: 00006c37 lui s8,0x6
|
|
2000: 00006cb7 lui s9,0x6
|
|
2004: 00006d37 lui s10,0x6
|
|
2008: 00891563 bne s2,s0,2012 <list_thread+0x6c>
|
|
200c: 4501 li a0,0
|
|
200e: ba4fe06f j 3b2 <__riscv_restore_10>
|
|
2012: 02944703 lbu a4,41(s0)
|
|
2016: 32498513 addi a0,s3,804 # 6324 <__fsym_list_mem_name+0x3dc>
|
|
201a: ff440693 addi a3,s0,-12
|
|
201e: 4621 li a2,8
|
|
2020: 85a6 mv a1,s1
|
|
2022: a9aff0ef jal ra,12bc <rt_kprintf>
|
|
2026: 02844783 lbu a5,40(s0)
|
|
202a: 330c8513 addi a0,s9,816 # 6330 <__fsym_list_mem_name+0x3e8>
|
|
202e: 8bbd andi a5,a5,15
|
|
2030: 01478e63 beq a5,s4,204c <list_thread+0xa6>
|
|
2034: 33cc0513 addi a0,s8,828 # 633c <__fsym_list_mem_name+0x3f4>
|
|
2038: 01578a63 beq a5,s5,204c <list_thread+0xa6>
|
|
203c: 348b8513 addi a0,s7,840 # 6348 <__fsym_list_mem_name+0x400>
|
|
2040: c791 beqz a5,204c <list_thread+0xa6>
|
|
2042: 4711 li a4,4
|
|
2044: 00e79663 bne a5,a4,2050 <list_thread+0xaa>
|
|
2048: 354b0513 addi a0,s6,852 # 6354 <__fsym_list_mem_name+0x40c>
|
|
204c: a70ff0ef jal ra,12bc <rt_kprintf>
|
|
2050: 4c4c lw a1,28(s0)
|
|
2052: 02300793 li a5,35
|
|
2056: 86ae mv a3,a1
|
|
2058: 2298 lbu a4,0(a3)
|
|
205a: 02f70663 beq a4,a5,2086 <list_thread+0xe0>
|
|
205e: 5010 lw a2,32(s0)
|
|
2060: 06400793 li a5,100
|
|
2064: 4808 lw a0,16(s0)
|
|
2066: 95b2 add a1,a1,a2
|
|
2068: 40d586b3 sub a3,a1,a3
|
|
206c: 02f686b3 mul a3,a3,a5
|
|
2070: 5c58 lw a4,60(s0)
|
|
2072: 505c lw a5,36(s0)
|
|
2074: 8d89 sub a1,a1,a0
|
|
2076: 360d0513 addi a0,s10,864 # 6360 <__fsym_list_mem_name+0x418>
|
|
207a: 02c6d6b3 divu a3,a3,a2
|
|
207e: a3eff0ef jal ra,12bc <rt_kprintf>
|
|
2082: 4000 lw s0,0(s0)
|
|
2084: b751 j 2008 <list_thread+0x62>
|
|
2086: 0685 addi a3,a3,1
|
|
2088: bfc1 j 2058 <list_thread+0xb2>
|
|
|
|
0000208a <list_sem>:
|
|
208a: afefe2ef jal t0,388 <__riscv_save_4>
|
|
208e: 1141 addi sp,sp,-16
|
|
2090: 4509 li a0,2
|
|
2092: e1eff0ef jal ra,16b0 <rt_object_get_information>
|
|
2096: 00450993 addi s3,a0,4
|
|
209a: 00006937 lui s2,0x6
|
|
209e: 842a mv s0,a0
|
|
20a0: 85ce mv a1,s3
|
|
20a2: 23890513 addi a0,s2,568 # 6238 <__fsym_list_mem_name+0x2f0>
|
|
20a6: ec3ff0ef jal ra,1f68 <object_name_maxlen>
|
|
20aa: 85aa mv a1,a0
|
|
20ac: 84aa mv s1,a0
|
|
20ae: 00006537 lui a0,0x6
|
|
20b2: 23890613 addi a2,s2,568
|
|
20b6: 24450513 addi a0,a0,580 # 6244 <__fsym_list_mem_name+0x2fc>
|
|
20ba: a02ff0ef jal ra,12bc <rt_kprintf>
|
|
20be: 8526 mv a0,s1
|
|
20c0: e53ff0ef jal ra,1f12 <object_split>
|
|
20c4: 00006537 lui a0,0x6
|
|
20c8: 26050513 addi a0,a0,608 # 6260 <__fsym_list_mem_name+0x318>
|
|
20cc: 9f0ff0ef jal ra,12bc <rt_kprintf>
|
|
20d0: 4040 lw s0,4(s0)
|
|
20d2: 00006a37 lui s4,0x6
|
|
20d6: 00006ab7 lui s5,0x6
|
|
20da: 00006b37 lui s6,0x6
|
|
20de: 00899663 bne s3,s0,20ea <list_sem+0x60>
|
|
20e2: 4501 li a0,0
|
|
20e4: 0141 addi sp,sp,16
|
|
20e6: ad6fe06f j 3bc <__riscv_restore_4>
|
|
20ea: 281a lhu a4,16(s0)
|
|
20ec: 441c lw a5,8(s0)
|
|
20ee: ff440693 addi a3,s0,-12
|
|
20f2: 00840913 addi s2,s0,8
|
|
20f6: c636 sw a3,12(sp)
|
|
20f8: c43a sw a4,8(sp)
|
|
20fa: 854a mv a0,s2
|
|
20fc: 02f90663 beq s2,a5,2128 <list_sem+0x9e>
|
|
2100: dd9ff0ef jal ra,1ed8 <rt_list_len>
|
|
2104: 4722 lw a4,8(sp)
|
|
2106: 46b2 lw a3,12(sp)
|
|
2108: 87aa mv a5,a0
|
|
210a: 4621 li a2,8
|
|
210c: 85a6 mv a1,s1
|
|
210e: 278a8513 addi a0,s5,632 # 6278 <__fsym_list_mem_name+0x330>
|
|
2112: 9aaff0ef jal ra,12bc <rt_kprintf>
|
|
2116: 854a mv a0,s2
|
|
2118: e1bff0ef jal ra,1f32 <show_wait_queue>
|
|
211c: 064b0513 addi a0,s6,100 # 6064 <__fsym_list_mem_name+0x11c>
|
|
2120: 99cff0ef jal ra,12bc <rt_kprintf>
|
|
2124: 4000 lw s0,0(s0)
|
|
2126: bf65 j 20de <list_sem+0x54>
|
|
2128: db1ff0ef jal ra,1ed8 <rt_list_len>
|
|
212c: 4722 lw a4,8(sp)
|
|
212e: 46b2 lw a3,12(sp)
|
|
2130: 87aa mv a5,a0
|
|
2132: 4621 li a2,8
|
|
2134: 85a6 mv a1,s1
|
|
2136: 288a0513 addi a0,s4,648 # 6288 <__fsym_list_mem_name+0x340>
|
|
213a: 982ff0ef jal ra,12bc <rt_kprintf>
|
|
213e: b7dd j 2124 <list_sem+0x9a>
|
|
|
|
00002140 <list_event>:
|
|
2140: a48fe2ef jal t0,388 <__riscv_save_4>
|
|
2144: 1141 addi sp,sp,-16
|
|
2146: 4511 li a0,4
|
|
2148: d68ff0ef jal ra,16b0 <rt_object_get_information>
|
|
214c: 00450993 addi s3,a0,4
|
|
2150: 00006937 lui s2,0x6
|
|
2154: 842a mv s0,a0
|
|
2156: 85ce mv a1,s3
|
|
2158: 07c90513 addi a0,s2,124 # 607c <__fsym_list_mem_name+0x134>
|
|
215c: e0dff0ef jal ra,1f68 <object_name_maxlen>
|
|
2160: 85aa mv a1,a0
|
|
2162: 84aa mv s1,a0
|
|
2164: 00006537 lui a0,0x6
|
|
2168: 07c90613 addi a2,s2,124
|
|
216c: 08450513 addi a0,a0,132 # 6084 <__fsym_list_mem_name+0x13c>
|
|
2170: 94cff0ef jal ra,12bc <rt_kprintf>
|
|
2174: 8526 mv a0,s1
|
|
2176: d9dff0ef jal ra,1f12 <object_split>
|
|
217a: 00006537 lui a0,0x6
|
|
217e: 0a850513 addi a0,a0,168 # 60a8 <__fsym_list_mem_name+0x160>
|
|
2182: 93aff0ef jal ra,12bc <rt_kprintf>
|
|
2186: 4040 lw s0,4(s0)
|
|
2188: 00006a37 lui s4,0x6
|
|
218c: 00006ab7 lui s5,0x6
|
|
2190: 00006b37 lui s6,0x6
|
|
2194: 00899663 bne s3,s0,21a0 <list_event+0x60>
|
|
2198: 4501 li a0,0
|
|
219a: 0141 addi sp,sp,16
|
|
219c: a20fe06f j 3bc <__riscv_restore_4>
|
|
21a0: 441c lw a5,8(s0)
|
|
21a2: 00840913 addi s2,s0,8
|
|
21a6: ff440693 addi a3,s0,-12
|
|
21aa: 4818 lw a4,16(s0)
|
|
21ac: 02f90963 beq s2,a5,21de <list_event+0x9e>
|
|
21b0: 854a mv a0,s2
|
|
21b2: c636 sw a3,12(sp)
|
|
21b4: c43a sw a4,8(sp)
|
|
21b6: d23ff0ef jal ra,1ed8 <rt_list_len>
|
|
21ba: 4722 lw a4,8(sp)
|
|
21bc: 46b2 lw a3,12(sp)
|
|
21be: 87aa mv a5,a0
|
|
21c0: 4621 li a2,8
|
|
21c2: 85a6 mv a1,s1
|
|
21c4: 0c8a8513 addi a0,s5,200 # 60c8 <__fsym_list_mem_name+0x180>
|
|
21c8: 8f4ff0ef jal ra,12bc <rt_kprintf>
|
|
21cc: 854a mv a0,s2
|
|
21ce: d65ff0ef jal ra,1f32 <show_wait_queue>
|
|
21d2: 064b0513 addi a0,s6,100 # 6064 <__fsym_list_mem_name+0x11c>
|
|
21d6: 8e6ff0ef jal ra,12bc <rt_kprintf>
|
|
21da: 4000 lw s0,0(s0)
|
|
21dc: bf65 j 2194 <list_event+0x54>
|
|
21de: 4621 li a2,8
|
|
21e0: 85a6 mv a1,s1
|
|
21e2: 0e0a0513 addi a0,s4,224 # 60e0 <__fsym_list_mem_name+0x198>
|
|
21e6: 8d6ff0ef jal ra,12bc <rt_kprintf>
|
|
21ea: bfc5 j 21da <list_event+0x9a>
|
|
|
|
000021ec <list_mutex>:
|
|
21ec: 99cfe2ef jal t0,388 <__riscv_save_4>
|
|
21f0: 1141 addi sp,sp,-16
|
|
21f2: 450d li a0,3
|
|
21f4: cbcff0ef jal ra,16b0 <rt_object_get_information>
|
|
21f8: 000069b7 lui s3,0x6
|
|
21fc: 00450913 addi s2,a0,4
|
|
2200: 842a mv s0,a0
|
|
2202: 85ca mv a1,s2
|
|
2204: 1d498513 addi a0,s3,468 # 61d4 <__fsym_list_mem_name+0x28c>
|
|
2208: d61ff0ef jal ra,1f68 <object_name_maxlen>
|
|
220c: 85aa mv a1,a0
|
|
220e: 84aa mv s1,a0
|
|
2210: 00006537 lui a0,0x6
|
|
2214: 1d498613 addi a2,s3,468
|
|
2218: 1dc50513 addi a0,a0,476 # 61dc <__fsym_list_mem_name+0x294>
|
|
221c: 8a0ff0ef jal ra,12bc <rt_kprintf>
|
|
2220: 8526 mv a0,s1
|
|
2222: cf1ff0ef jal ra,1f12 <object_split>
|
|
2226: 00006537 lui a0,0x6
|
|
222a: 20050513 addi a0,a0,512 # 6200 <__fsym_list_mem_name+0x2b8>
|
|
222e: 88eff0ef jal ra,12bc <rt_kprintf>
|
|
2232: 4040 lw s0,4(s0)
|
|
2234: 000069b7 lui s3,0x6
|
|
2238: 00891663 bne s2,s0,2244 <list_mutex+0x58>
|
|
223c: 4501 li a0,0
|
|
223e: 0141 addi sp,sp,16
|
|
2240: 97cfe06f j 3bc <__riscv_restore_4>
|
|
2244: ff440693 addi a3,s0,-12
|
|
2248: 00840513 addi a0,s0,8
|
|
224c: c636 sw a3,12(sp)
|
|
224e: c8bff0ef jal ra,1ed8 <rt_list_len>
|
|
2252: 01344803 lbu a6,19(s0)
|
|
2256: 485c lw a5,20(s0)
|
|
2258: 46b2 lw a3,12(sp)
|
|
225a: 88aa mv a7,a0
|
|
225c: 4721 li a4,8
|
|
225e: 4621 li a2,8
|
|
2260: 85a6 mv a1,s1
|
|
2262: 22098513 addi a0,s3,544 # 6220 <__fsym_list_mem_name+0x2d8>
|
|
2266: 856ff0ef jal ra,12bc <rt_kprintf>
|
|
226a: 4000 lw s0,0(s0)
|
|
226c: b7f1 j 2238 <list_mutex+0x4c>
|
|
|
|
0000226e <list_mailbox>:
|
|
226e: 91afe2ef jal t0,388 <__riscv_save_4>
|
|
2272: 1141 addi sp,sp,-16
|
|
2274: 4515 li a0,5
|
|
2276: c3aff0ef jal ra,16b0 <rt_object_get_information>
|
|
227a: 00450993 addi s3,a0,4
|
|
227e: 00006937 lui s2,0x6
|
|
2282: 842a mv s0,a0
|
|
2284: 85ce mv a1,s3
|
|
2286: 0f490513 addi a0,s2,244 # 60f4 <__fsym_list_mem_name+0x1ac>
|
|
228a: cdfff0ef jal ra,1f68 <object_name_maxlen>
|
|
228e: 85aa mv a1,a0
|
|
2290: 84aa mv s1,a0
|
|
2292: 00006537 lui a0,0x6
|
|
2296: 0f490613 addi a2,s2,244
|
|
229a: 0fc50513 addi a0,a0,252 # 60fc <__fsym_list_mem_name+0x1b4>
|
|
229e: 81eff0ef jal ra,12bc <rt_kprintf>
|
|
22a2: 8526 mv a0,s1
|
|
22a4: c6fff0ef jal ra,1f12 <object_split>
|
|
22a8: 00006537 lui a0,0x6
|
|
22ac: 12050513 addi a0,a0,288 # 6120 <__fsym_list_mem_name+0x1d8>
|
|
22b0: 80cff0ef jal ra,12bc <rt_kprintf>
|
|
22b4: 4040 lw s0,4(s0)
|
|
22b6: 00006a37 lui s4,0x6
|
|
22ba: 00006ab7 lui s5,0x6
|
|
22be: 00006b37 lui s6,0x6
|
|
22c2: 00899663 bne s3,s0,22ce <list_mailbox+0x60>
|
|
22c6: 4501 li a0,0
|
|
22c8: 0141 addi sp,sp,16
|
|
22ca: 8f2fe06f j 3bc <__riscv_restore_4>
|
|
22ce: 287a lhu a4,22(s0)
|
|
22d0: 285e lhu a5,20(s0)
|
|
22d2: 4410 lw a2,8(s0)
|
|
22d4: ff440693 addi a3,s0,-12
|
|
22d8: 00840913 addi s2,s0,8
|
|
22dc: c636 sw a3,12(sp)
|
|
22de: c43a sw a4,8(sp)
|
|
22e0: c23e sw a5,4(sp)
|
|
22e2: 854a mv a0,s2
|
|
22e4: 02c90763 beq s2,a2,2312 <list_mailbox+0xa4>
|
|
22e8: bf1ff0ef jal ra,1ed8 <rt_list_len>
|
|
22ec: 4792 lw a5,4(sp)
|
|
22ee: 4722 lw a4,8(sp)
|
|
22f0: 46b2 lw a3,12(sp)
|
|
22f2: 882a mv a6,a0
|
|
22f4: 4621 li a2,8
|
|
22f6: 85a6 mv a1,s1
|
|
22f8: 13ca8513 addi a0,s5,316 # 613c <__fsym_list_mem_name+0x1f4>
|
|
22fc: fc1fe0ef jal ra,12bc <rt_kprintf>
|
|
2300: 854a mv a0,s2
|
|
2302: c31ff0ef jal ra,1f32 <show_wait_queue>
|
|
2306: 064b0513 addi a0,s6,100 # 6064 <__fsym_list_mem_name+0x11c>
|
|
230a: fb3fe0ef jal ra,12bc <rt_kprintf>
|
|
230e: 4000 lw s0,0(s0)
|
|
2310: bf4d j 22c2 <list_mailbox+0x54>
|
|
2312: bc7ff0ef jal ra,1ed8 <rt_list_len>
|
|
2316: 4792 lw a5,4(sp)
|
|
2318: 4722 lw a4,8(sp)
|
|
231a: 46b2 lw a3,12(sp)
|
|
231c: 882a mv a6,a0
|
|
231e: 4621 li a2,8
|
|
2320: 85a6 mv a1,s1
|
|
2322: 154a0513 addi a0,s4,340 # 6154 <__fsym_list_mem_name+0x20c>
|
|
2326: f97fe0ef jal ra,12bc <rt_kprintf>
|
|
232a: b7d5 j 230e <list_mailbox+0xa0>
|
|
|
|
0000232c <list_msgqueue>:
|
|
232c: 85cfe2ef jal t0,388 <__riscv_save_4>
|
|
2330: 1141 addi sp,sp,-16
|
|
2332: 4519 li a0,6
|
|
2334: b7cff0ef jal ra,16b0 <rt_object_get_information>
|
|
2338: 00450993 addi s3,a0,4
|
|
233c: 00006937 lui s2,0x6
|
|
2340: 842a mv s0,a0
|
|
2342: 85ce mv a1,s3
|
|
2344: 16c90513 addi a0,s2,364 # 616c <__fsym_list_mem_name+0x224>
|
|
2348: c21ff0ef jal ra,1f68 <object_name_maxlen>
|
|
234c: 85aa mv a1,a0
|
|
234e: 84aa mv s1,a0
|
|
2350: 00006537 lui a0,0x6
|
|
2354: 16c90613 addi a2,s2,364
|
|
2358: 17850513 addi a0,a0,376 # 6178 <__fsym_list_mem_name+0x230>
|
|
235c: f61fe0ef jal ra,12bc <rt_kprintf>
|
|
2360: 8526 mv a0,s1
|
|
2362: bb1ff0ef jal ra,1f12 <object_split>
|
|
2366: 00006537 lui a0,0x6
|
|
236a: 19450513 addi a0,a0,404 # 6194 <__fsym_list_mem_name+0x24c>
|
|
236e: f4ffe0ef jal ra,12bc <rt_kprintf>
|
|
2372: 4040 lw s0,4(s0)
|
|
2374: 00006a37 lui s4,0x6
|
|
2378: 00006ab7 lui s5,0x6
|
|
237c: 00006b37 lui s6,0x6
|
|
2380: 00899663 bne s3,s0,238c <list_msgqueue+0x60>
|
|
2384: 4501 li a0,0
|
|
2386: 0141 addi sp,sp,16
|
|
2388: 834fe06f j 3bc <__riscv_restore_4>
|
|
238c: 2c1a lhu a4,24(s0)
|
|
238e: 441c lw a5,8(s0)
|
|
2390: ff440693 addi a3,s0,-12
|
|
2394: 00840913 addi s2,s0,8
|
|
2398: c636 sw a3,12(sp)
|
|
239a: c43a sw a4,8(sp)
|
|
239c: 854a mv a0,s2
|
|
239e: 02f90663 beq s2,a5,23ca <list_msgqueue+0x9e>
|
|
23a2: b37ff0ef jal ra,1ed8 <rt_list_len>
|
|
23a6: 4722 lw a4,8(sp)
|
|
23a8: 46b2 lw a3,12(sp)
|
|
23aa: 87aa mv a5,a0
|
|
23ac: 4621 li a2,8
|
|
23ae: 85a6 mv a1,s1
|
|
23b0: 1aca8513 addi a0,s5,428 # 61ac <__fsym_list_mem_name+0x264>
|
|
23b4: f09fe0ef jal ra,12bc <rt_kprintf>
|
|
23b8: 854a mv a0,s2
|
|
23ba: b79ff0ef jal ra,1f32 <show_wait_queue>
|
|
23be: 064b0513 addi a0,s6,100 # 6064 <__fsym_list_mem_name+0x11c>
|
|
23c2: efbfe0ef jal ra,12bc <rt_kprintf>
|
|
23c6: 4000 lw s0,0(s0)
|
|
23c8: bf65 j 2380 <list_msgqueue+0x54>
|
|
23ca: b0fff0ef jal ra,1ed8 <rt_list_len>
|
|
23ce: 4722 lw a4,8(sp)
|
|
23d0: 46b2 lw a3,12(sp)
|
|
23d2: 87aa mv a5,a0
|
|
23d4: 4621 li a2,8
|
|
23d6: 85a6 mv a1,s1
|
|
23d8: 1c0a0513 addi a0,s4,448 # 61c0 <__fsym_list_mem_name+0x278>
|
|
23dc: ee1fe0ef jal ra,12bc <rt_kprintf>
|
|
23e0: b7dd j 23c6 <list_msgqueue+0x9a>
|
|
|
|
000023e2 <list_device>:
|
|
23e2: fa7fd2ef jal t0,388 <__riscv_save_4>
|
|
23e6: 715d addi sp,sp,-80
|
|
23e8: 4525 li a0,9
|
|
23ea: ac6ff0ef jal ra,16b0 <rt_object_get_information>
|
|
23ee: 6599 lui a1,0x6
|
|
23f0: 05000613 li a2,80
|
|
23f4: 842a mv s0,a0
|
|
23f6: 00450913 addi s2,a0,4
|
|
23fa: c9058593 addi a1,a1,-880 # 5c90 <strncmp+0x28>
|
|
23fe: 850a mv a0,sp
|
|
2400: 776030ef jal ra,5b76 <memcpy>
|
|
2404: 000069b7 lui s3,0x6
|
|
2408: 85ca mv a1,s2
|
|
240a: 01498513 addi a0,s3,20 # 6014 <__fsym_list_mem_name+0xcc>
|
|
240e: b5bff0ef jal ra,1f68 <object_name_maxlen>
|
|
2412: 85aa mv a1,a0
|
|
2414: 84aa mv s1,a0
|
|
2416: 00006537 lui a0,0x6
|
|
241a: 01498613 addi a2,s3,20
|
|
241e: 01c50513 addi a0,a0,28 # 601c <__fsym_list_mem_name+0xd4>
|
|
2422: e9bfe0ef jal ra,12bc <rt_kprintf>
|
|
2426: 8526 mv a0,s1
|
|
2428: aebff0ef jal ra,1f12 <object_split>
|
|
242c: 00006537 lui a0,0x6
|
|
2430: 04450513 addi a0,a0,68 # 6044 <__fsym_list_mem_name+0xfc>
|
|
2434: e89fe0ef jal ra,12bc <rt_kprintf>
|
|
2438: 4040 lw s0,4(s0)
|
|
243a: 49d1 li s3,20
|
|
243c: 00006a37 lui s4,0x6
|
|
2440: 00891663 bne s2,s0,244c <list_device+0x6a>
|
|
2444: 4501 li a0,0
|
|
2446: 6161 addi sp,sp,80
|
|
2448: f75fd06f j 3bc <__riscv_restore_4>
|
|
244c: 441c lw a5,8(s0)
|
|
244e: ff440693 addi a3,s0,-12
|
|
2452: 02f9e063 bltu s3,a5,2472 <list_device+0x90>
|
|
2456: 0898 addi a4,sp,80
|
|
2458: 078a slli a5,a5,0x2
|
|
245a: 97ba add a5,a5,a4
|
|
245c: fb07a703 lw a4,-80(a5)
|
|
2460: 281c lbu a5,16(s0)
|
|
2462: 4621 li a2,8
|
|
2464: 85a6 mv a1,s1
|
|
2466: 068a0513 addi a0,s4,104 # 6068 <__fsym_list_mem_name+0x120>
|
|
246a: e53fe0ef jal ra,12bc <rt_kprintf>
|
|
246e: 4000 lw s0,0(s0)
|
|
2470: bfc1 j 2440 <list_device+0x5e>
|
|
2472: 4746 lw a4,80(sp)
|
|
2474: b7f5 j 2460 <list_device+0x7e>
|
|
|
|
00002476 <list_timer>:
|
|
2476: f13fd2ef jal t0,388 <__riscv_save_4>
|
|
247a: 4529 li a0,10
|
|
247c: a34ff0ef jal ra,16b0 <rt_object_get_information>
|
|
2480: 000069b7 lui s3,0x6
|
|
2484: 00450913 addi s2,a0,4
|
|
2488: 842a mv s0,a0
|
|
248a: 85ca mv a1,s2
|
|
248c: 38898513 addi a0,s3,904 # 6388 <__fsym_list_mem_name+0x440>
|
|
2490: ad9ff0ef jal ra,1f68 <object_name_maxlen>
|
|
2494: 85aa mv a1,a0
|
|
2496: 84aa mv s1,a0
|
|
2498: 00006537 lui a0,0x6
|
|
249c: 38898613 addi a2,s3,904
|
|
24a0: 39050513 addi a0,a0,912 # 6390 <__fsym_list_mem_name+0x448>
|
|
24a4: e19fe0ef jal ra,12bc <rt_kprintf>
|
|
24a8: 8526 mv a0,s1
|
|
24aa: a69ff0ef jal ra,1f12 <object_split>
|
|
24ae: 00006537 lui a0,0x6
|
|
24b2: 3b850513 addi a0,a0,952 # 63b8 <__fsym_list_mem_name+0x470>
|
|
24b6: e07fe0ef jal ra,12bc <rt_kprintf>
|
|
24ba: 4040 lw s0,4(s0)
|
|
24bc: 000069b7 lui s3,0x6
|
|
24c0: 00006a37 lui s4,0x6
|
|
24c4: 00006ab7 lui s5,0x6
|
|
24c8: 00891e63 bne s2,s0,24e4 <list_timer+0x6e>
|
|
24cc: faffd0ef jal ra,47a <rt_tick_get>
|
|
24d0: 85aa mv a1,a0
|
|
24d2: 00006537 lui a0,0x6
|
|
24d6: 41050513 addi a0,a0,1040 # 6410 <__fsym_list_mem_name+0x4c8>
|
|
24da: de3fe0ef jal ra,12bc <rt_kprintf>
|
|
24de: 4501 li a0,0
|
|
24e0: eddfd06f j 3bc <__riscv_restore_4>
|
|
24e4: 4c5c lw a5,28(s0)
|
|
24e6: 4c18 lw a4,24(s0)
|
|
24e8: 3dc98513 addi a0,s3,988 # 63dc <__fsym_list_mem_name+0x494>
|
|
24ec: ff440693 addi a3,s0,-12
|
|
24f0: 4621 li a2,8
|
|
24f2: 85a6 mv a1,s1
|
|
24f4: dc9fe0ef jal ra,12bc <rt_kprintf>
|
|
24f8: ffd44783 lbu a5,-3(s0)
|
|
24fc: 3f4a8513 addi a0,s5,1012 # 63f4 <__fsym_list_mem_name+0x4ac>
|
|
2500: 8b85 andi a5,a5,1
|
|
2502: e399 bnez a5,2508 <list_timer+0x92>
|
|
2504: 400a0513 addi a0,s4,1024 # 6400 <__fsym_list_mem_name+0x4b8>
|
|
2508: db5fe0ef jal ra,12bc <rt_kprintf>
|
|
250c: 4000 lw s0,0(s0)
|
|
250e: bf6d j 24c8 <list_timer+0x52>
|
|
|
|
00002510 <list>:
|
|
2510: e79fd2ef jal t0,388 <__riscv_save_4>
|
|
2514: 00006537 lui a0,0x6
|
|
2518: fec50513 addi a0,a0,-20 # 5fec <__fsym_list_mem_name+0xa4>
|
|
251c: da1fe0ef jal ra,12bc <rt_kprintf>
|
|
2520: 8a01a403 lw s0,-1888(gp) # 20000348 <_syscall_table_begin>
|
|
2524: 000069b7 lui s3,0x6
|
|
2528: 00006a37 lui s4,0x6
|
|
252c: 8a41a783 lw a5,-1884(gp) # 2000034c <_syscall_table_end>
|
|
2530: 00f46563 bltu s0,a5,253a <list+0x2a>
|
|
2534: 4501 li a0,0
|
|
2536: e87fd06f j 3bc <__riscv_restore_4>
|
|
253a: 4004 lw s1,0(s0)
|
|
253c: 4609 li a2,2
|
|
253e: 00098593 mv a1,s3
|
|
2542: 8526 mv a0,s1
|
|
2544: 724030ef jal ra,5c68 <strncmp>
|
|
2548: c519 beqz a0,2556 <list+0x46>
|
|
254a: 4050 lw a2,4(s0)
|
|
254c: 85a6 mv a1,s1
|
|
254e: 004a0513 addi a0,s4,4 # 6004 <__fsym_list_mem_name+0xbc>
|
|
2552: d6bfe0ef jal ra,12bc <rt_kprintf>
|
|
2556: 0431 addi s0,s0,12
|
|
2558: bfd1 j 252c <list+0x1c>
|
|
|
|
0000255a <msh_help>:
|
|
255a: e2ffd2ef jal t0,388 <__riscv_save_4>
|
|
255e: 00007537 lui a0,0x7
|
|
2562: 8b050513 addi a0,a0,-1872 # 68b0 <__fsym_reboot_name+0x16c>
|
|
2566: d57fe0ef jal ra,12bc <rt_kprintf>
|
|
256a: 8a01a403 lw s0,-1888(gp) # 20000348 <_syscall_table_begin>
|
|
256e: 000079b7 lui s3,0x7
|
|
2572: 00007a37 lui s4,0x7
|
|
2576: 8a41a783 lw a5,-1884(gp) # 2000034c <_syscall_table_end>
|
|
257a: 00f46b63 bltu s0,a5,2590 <msh_help+0x36>
|
|
257e: 00006537 lui a0,0x6
|
|
2582: 06450513 addi a0,a0,100 # 6064 <__fsym_list_mem_name+0x11c>
|
|
2586: d37fe0ef jal ra,12bc <rt_kprintf>
|
|
258a: 4501 li a0,0
|
|
258c: e31fd06f j 3bc <__riscv_restore_4>
|
|
2590: 4004 lw s1,0(s0)
|
|
2592: 4619 li a2,6
|
|
2594: 8cc98593 addi a1,s3,-1844 # 68cc <__fsym_reboot_name+0x188>
|
|
2598: 8526 mv a0,s1
|
|
259a: 6ce030ef jal ra,5c68 <strncmp>
|
|
259e: e901 bnez a0,25ae <msh_help+0x54>
|
|
25a0: 4050 lw a2,4(s0)
|
|
25a2: 00648593 addi a1,s1,6
|
|
25a6: 8d4a0513 addi a0,s4,-1836 # 68d4 <__fsym_reboot_name+0x190>
|
|
25aa: d13fe0ef jal ra,12bc <rt_kprintf>
|
|
25ae: 0431 addi s0,s0,12
|
|
25b0: b7d9 j 2576 <msh_help+0x1c>
|
|
|
|
000025b2 <msh_is_used>:
|
|
25b2: 4505 li a0,1
|
|
25b4: 8082 ret
|
|
|
|
000025b6 <msh_exec>:
|
|
25b6: dd3fd2ef jal t0,388 <__riscv_save_4>
|
|
25ba: 7179 addi sp,sp,-48
|
|
25bc: 842a mv s0,a0
|
|
25be: 95aa add a1,a1,a0
|
|
25c0: 02000693 li a3,32
|
|
25c4: 4725 li a4,9
|
|
25c6: 00040783 lb a5,0(s0)
|
|
25ca: 408584b3 sub s1,a1,s0
|
|
25ce: 0ad78563 beq a5,a3,2678 <msh_exec+0xc2>
|
|
25d2: 0ae78363 beq a5,a4,2678 <msh_exec+0xc2>
|
|
25d6: 4501 li a0,0
|
|
25d8: 10048b63 beqz s1,26ee <msh_exec+0x138>
|
|
25dc: 4901 li s2,0
|
|
25de: 02000713 li a4,32
|
|
25e2: 46a5 li a3,9
|
|
25e4: 012407b3 add a5,s0,s2
|
|
25e8: 00078783 lb a5,0(a5)
|
|
25ec: 08e78a63 beq a5,a4,2680 <msh_exec+0xca>
|
|
25f0: 08d78863 beq a5,a3,2680 <msh_exec+0xca>
|
|
25f4: 08991463 bne s2,s1,267c <msh_exec+0xc6>
|
|
25f8: 8a01a983 lw s3,-1888(gp) # 20000348 <_syscall_table_begin>
|
|
25fc: 8a41aa83 lw s5,-1884(gp) # 2000034c <_syscall_table_end>
|
|
2600: 00007b37 lui s6,0x7
|
|
2604: 0959f063 bgeu s3,s5,2684 <msh_exec+0xce>
|
|
2608: 0009aa03 lw s4,0(s3)
|
|
260c: 4619 li a2,6
|
|
260e: 8ccb0593 addi a1,s6,-1844 # 68cc <__fsym_reboot_name+0x188>
|
|
2612: 8552 mv a0,s4
|
|
2614: 654030ef jal ra,5c68 <strncmp>
|
|
2618: e559 bnez a0,26a6 <msh_exec+0xf0>
|
|
261a: 864a mv a2,s2
|
|
261c: 85a2 mv a1,s0
|
|
261e: 006a0513 addi a0,s4,6
|
|
2622: 646030ef jal ra,5c68 <strncmp>
|
|
2626: e141 bnez a0,26a6 <msh_exec+0xf0>
|
|
2628: 9a4a add s4,s4,s2
|
|
262a: 006a0783 lb a5,6(s4)
|
|
262e: efa5 bnez a5,26a6 <msh_exec+0xf0>
|
|
2630: 0089a983 lw s3,8(s3)
|
|
2634: 04098863 beqz s3,2684 <msh_exec+0xce>
|
|
2638: 02800613 li a2,40
|
|
263c: 4581 li a1,0
|
|
263e: 0028 addi a0,sp,8
|
|
2640: d93fd0ef jal ra,3d2 <memset>
|
|
2644: 00810913 addi s2,sp,8
|
|
2648: 86ca mv a3,s2
|
|
264a: 87a2 mv a5,s0
|
|
264c: 4501 li a0,0
|
|
264e: 4701 li a4,0
|
|
2650: 02000813 li a6,32
|
|
2654: 48a5 li a7,9
|
|
2656: 4329 li t1,10
|
|
2658: 02200613 li a2,34
|
|
265c: 05c00e13 li t3,92
|
|
2660: 00078583 lb a1,0(a5)
|
|
2664: 01058463 beq a1,a6,266c <msh_exec+0xb6>
|
|
2668: 05159663 bne a1,a7,26b4 <msh_exec+0xfe>
|
|
266c: 02971f63 bne a4,s1,26aa <msh_exec+0xf4>
|
|
2670: 47a9 li a5,10
|
|
2672: 04f50363 beq a0,a5,26b8 <msh_exec+0x102>
|
|
2676: a869 j 2710 <msh_exec+0x15a>
|
|
2678: 0405 addi s0,s0,1
|
|
267a: b7b1 j 25c6 <msh_exec+0x10>
|
|
267c: 0905 addi s2,s2,1
|
|
267e: b79d j 25e4 <msh_exec+0x2e>
|
|
2680: f6091ce3 bnez s2,25f8 <msh_exec+0x42>
|
|
2684: 87a2 mv a5,s0
|
|
2686: 00078703 lb a4,0(a5)
|
|
268a: fdf77713 andi a4,a4,-33
|
|
268e: e779 bnez a4,275c <msh_exec+0x1a6>
|
|
2690: 00007537 lui a0,0x7
|
|
2694: 89850513 addi a0,a0,-1896 # 6898 <__fsym_reboot_name+0x154>
|
|
2698: 00078023 sb zero,0(a5)
|
|
269c: 85a2 mv a1,s0
|
|
269e: c1ffe0ef jal ra,12bc <rt_kprintf>
|
|
26a2: 557d li a0,-1
|
|
26a4: a0a9 j 26ee <msh_exec+0x138>
|
|
26a6: 09b1 addi s3,s3,12
|
|
26a8: bfb1 j 2604 <msh_exec+0x4e>
|
|
26aa: 00078023 sb zero,0(a5)
|
|
26ae: 0705 addi a4,a4,1
|
|
26b0: 0785 addi a5,a5,1
|
|
26b2: b77d j 2660 <msh_exec+0xaa>
|
|
26b4: 04651063 bne a0,t1,26f4 <msh_exec+0x13e>
|
|
26b8: 00007537 lui a0,0x7
|
|
26bc: 87450513 addi a0,a0,-1932 # 6874 <__fsym_reboot_name+0x130>
|
|
26c0: bfdfe0ef jal ra,12bc <rt_kprintf>
|
|
26c4: 1800 addi s0,sp,48
|
|
26c6: 000074b7 lui s1,0x7
|
|
26ca: 00092583 lw a1,0(s2)
|
|
26ce: 89448513 addi a0,s1,-1900 # 6894 <__fsym_reboot_name+0x150>
|
|
26d2: 0911 addi s2,s2,4
|
|
26d4: be9fe0ef jal ra,12bc <rt_kprintf>
|
|
26d8: fe8919e3 bne s2,s0,26ca <msh_exec+0x114>
|
|
26dc: 00006537 lui a0,0x6
|
|
26e0: 06450513 addi a0,a0,100 # 6064 <__fsym_list_mem_name+0x11c>
|
|
26e4: bd9fe0ef jal ra,12bc <rt_kprintf>
|
|
26e8: 4529 li a0,10
|
|
26ea: 002c addi a1,sp,8
|
|
26ec: 9982 jalr s3
|
|
26ee: 6145 addi sp,sp,48
|
|
26f0: ccdfd06f j 3bc <__riscv_restore_4>
|
|
26f4: 00977e63 bgeu a4,s1,2710 <msh_exec+0x15a>
|
|
26f8: 0505 addi a0,a0,1
|
|
26fa: 04c59263 bne a1,a2,273e <msh_exec+0x188>
|
|
26fe: 0785 addi a5,a5,1
|
|
2700: 0705 addi a4,a4,1
|
|
2702: c29c sw a5,0(a3)
|
|
2704: 00078583 lb a1,0(a5)
|
|
2708: 02c58163 beq a1,a2,272a <msh_exec+0x174>
|
|
270c: 00976463 bltu a4,s1,2714 <msh_exec+0x15e>
|
|
2710: fd69 bnez a0,26ea <msh_exec+0x134>
|
|
2712: bf8d j 2684 <msh_exec+0xce>
|
|
2714: 00178e83 lb t4,1(a5)
|
|
2718: 01c59663 bne a1,t3,2724 <msh_exec+0x16e>
|
|
271c: 00ce9463 bne t4,a2,2724 <msh_exec+0x16e>
|
|
2720: 0785 addi a5,a5,1
|
|
2722: 0705 addi a4,a4,1
|
|
2724: 0785 addi a5,a5,1
|
|
2726: 0705 addi a4,a4,1
|
|
2728: bff1 j 2704 <msh_exec+0x14e>
|
|
272a: fe9773e3 bgeu a4,s1,2710 <msh_exec+0x15a>
|
|
272e: 00078023 sb zero,0(a5)
|
|
2732: 0705 addi a4,a4,1
|
|
2734: 0785 addi a5,a5,1
|
|
2736: 0691 addi a3,a3,4
|
|
2738: f29764e3 bltu a4,s1,2660 <msh_exec+0xaa>
|
|
273c: bfd1 j 2710 <msh_exec+0x15a>
|
|
273e: c29c sw a5,0(a3)
|
|
2740: 00078583 lb a1,0(a5)
|
|
2744: 01058963 beq a1,a6,2756 <msh_exec+0x1a0>
|
|
2748: 01158763 beq a1,a7,2756 <msh_exec+0x1a0>
|
|
274c: fc9702e3 beq a4,s1,2710 <msh_exec+0x15a>
|
|
2750: 0785 addi a5,a5,1
|
|
2752: 0705 addi a4,a4,1
|
|
2754: b7f5 j 2740 <msh_exec+0x18a>
|
|
2756: fe9760e3 bltu a4,s1,2736 <msh_exec+0x180>
|
|
275a: bf5d j 2710 <msh_exec+0x15a>
|
|
275c: 0785 addi a5,a5,1
|
|
275e: b725 j 2686 <msh_exec+0xd0>
|
|
|
|
00002760 <msh_auto_complete>:
|
|
2760: c1bfd2ef jal t0,37a <__riscv_save_10>
|
|
2764: 00050783 lb a5,0(a0)
|
|
2768: e799 bnez a5,2776 <msh_auto_complete+0x16>
|
|
276a: 4581 li a1,0
|
|
276c: 4501 li a0,0
|
|
276e: dedff0ef jal ra,255a <msh_help>
|
|
2772: c41fd06f j 3b2 <__riscv_restore_10>
|
|
2776: 8a01aa03 lw s4,-1888(gp) # 20000348 <_syscall_table_begin>
|
|
277a: 89aa mv s3,a0
|
|
277c: 4481 li s1,0
|
|
277e: 4901 li s2,0
|
|
2780: 00007b37 lui s6,0x7
|
|
2784: 00007bb7 lui s7,0x7
|
|
2788: 8a41a783 lw a5,-1884(gp) # 2000034c <_syscall_table_end>
|
|
278c: 00fa6963 bltu s4,a5,279e <msh_auto_complete+0x3e>
|
|
2790: d0ed beqz s1,2772 <msh_auto_complete+0x12>
|
|
2792: 864a mv a2,s2
|
|
2794: 85a6 mv a1,s1
|
|
2796: 854e mv a0,s3
|
|
2798: f32fe0ef jal ra,eca <rt_strncpy>
|
|
279c: bfd9 j 2772 <msh_auto_complete+0x12>
|
|
279e: 000a2403 lw s0,0(s4)
|
|
27a2: 4619 li a2,6
|
|
27a4: 8ccb0593 addi a1,s6,-1844 # 68cc <__fsym_reboot_name+0x188>
|
|
27a8: 8522 mv a0,s0
|
|
27aa: 4be030ef jal ra,5c68 <strncmp>
|
|
27ae: e121 bnez a0,27ee <msh_auto_complete+0x8e>
|
|
27b0: 854e mv a0,s3
|
|
27b2: 4a4030ef jal ra,5c56 <strlen>
|
|
27b6: 0419 addi s0,s0,6
|
|
27b8: 862a mv a2,a0
|
|
27ba: 85a2 mv a1,s0
|
|
27bc: 854e mv a0,s3
|
|
27be: 4aa030ef jal ra,5c68 <strncmp>
|
|
27c2: e515 bnez a0,27ee <msh_auto_complete+0x8e>
|
|
27c4: 00091763 bnez s2,27d2 <msh_auto_complete+0x72>
|
|
27c8: 8522 mv a0,s0
|
|
27ca: 48c030ef jal ra,5c56 <strlen>
|
|
27ce: 892a mv s2,a0
|
|
27d0: 84a2 mv s1,s0
|
|
27d2: 87a6 mv a5,s1
|
|
27d4: 8722 mv a4,s0
|
|
27d6: 00078603 lb a2,0(a5)
|
|
27da: ee01 bnez a2,27f2 <msh_auto_complete+0x92>
|
|
27dc: 8f85 sub a5,a5,s1
|
|
27de: 0127d363 bge a5,s2,27e4 <msh_auto_complete+0x84>
|
|
27e2: 893e mv s2,a5
|
|
27e4: 85a2 mv a1,s0
|
|
27e6: 8dcb8513 addi a0,s7,-1828 # 68dc <__fsym_reboot_name+0x198>
|
|
27ea: ad3fe0ef jal ra,12bc <rt_kprintf>
|
|
27ee: 0a31 addi s4,s4,12
|
|
27f0: bf61 j 2788 <msh_auto_complete+0x28>
|
|
27f2: 00070683 lb a3,0(a4) # e000e000 <_eusrstack+0xbfffe000>
|
|
27f6: d2fd beqz a3,27dc <msh_auto_complete+0x7c>
|
|
27f8: fed612e3 bne a2,a3,27dc <msh_auto_complete+0x7c>
|
|
27fc: 0785 addi a5,a5,1
|
|
27fe: 0705 addi a4,a4,1
|
|
2800: bfd9 j 27d6 <msh_auto_complete+0x76>
|
|
|
|
00002802 <cmd_ps>:
|
|
2802: ba1fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2806: fa0ff0ef jal ra,1fa6 <list_thread>
|
|
280a: 4501 li a0,0
|
|
280c: bbbfd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00002810 <cmd_free>:
|
|
2810: b93fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2814: bf5fe0ef jal ra,1408 <list_mem>
|
|
2818: 4501 li a0,0
|
|
281a: badfd06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000281e <finsh_rx_ind>:
|
|
281e: b85fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2822: 89c1a503 lw a0,-1892(gp) # 20000344 <shell>
|
|
2826: 8c0fe0ef jal ra,8e6 <rt_sem_release>
|
|
282a: 4501 li a0,0
|
|
282c: b9bfd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00002830 <finsh_system_init>:
|
|
2830: b73fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2834: 000077b7 lui a5,0x7
|
|
2838: 38478793 addi a5,a5,900 # 7384 <__fsym_list_mem>
|
|
283c: 8af1a023 sw a5,-1888(gp) # 20000348 <_syscall_table_begin>
|
|
2840: 000077b7 lui a5,0x7
|
|
2844: 4d478793 addi a5,a5,1236 # 74d4 <__rt_init_rti_start>
|
|
2848: 8af1a223 sw a5,-1884(gp) # 2000034c <_syscall_table_end>
|
|
284c: 000077b7 lui a5,0x7
|
|
2850: 4d478793 addi a5,a5,1236 # 74d4 <__rt_init_rti_start>
|
|
2854: 8af1a423 sw a5,-1880(gp) # 20000350 <_sysvar_table_begin>
|
|
2858: 000077b7 lui a5,0x7
|
|
285c: 4d478793 addi a5,a5,1236 # 74d4 <__rt_init_rti_start>
|
|
2860: 21000593 li a1,528
|
|
2864: 4505 li a0,1
|
|
2866: 8af1a623 sw a5,-1876(gp) # 20000354 <_sysvar_table_end>
|
|
286a: 89c18413 addi s0,gp,-1892 # 20000344 <shell>
|
|
286e: d75fe0ef jal ra,15e2 <rt_calloc>
|
|
2872: c008 sw a0,0(s0)
|
|
2874: e919 bnez a0,288a <finsh_system_init+0x5a>
|
|
2876: 00007537 lui a0,0x7
|
|
287a: 99050513 addi a0,a0,-1648 # 6990 <__fsym___cmd_ps_name+0x40>
|
|
287e: a3ffe0ef jal ra,12bc <rt_kprintf>
|
|
2882: 547d li s0,-1
|
|
2884: 8522 mv a0,s0
|
|
2886: b41fd06f j 3c6 <__riscv_restore_0>
|
|
288a: 000035b7 lui a1,0x3
|
|
288e: 00007537 lui a0,0x7
|
|
2892: 47a9 li a5,10
|
|
2894: 472d li a4,11
|
|
2896: 40000693 li a3,1024
|
|
289a: 4601 li a2,0
|
|
289c: 9b058593 addi a1,a1,-1616 # 29b0 <finsh_thread_entry>
|
|
28a0: 9a850513 addi a0,a0,-1624 # 69a8 <__fsym___cmd_ps_name+0x58>
|
|
28a4: a20ff0ef jal ra,1ac4 <rt_thread_create>
|
|
28a8: 84aa mv s1,a0
|
|
28aa: 4008 lw a0,0(s0)
|
|
28ac: 000075b7 lui a1,0x7
|
|
28b0: 4681 li a3,0
|
|
28b2: 4601 li a2,0
|
|
28b4: 9b058593 addi a1,a1,-1616 # 69b0 <__fsym___cmd_ps_name+0x60>
|
|
28b8: f87fd0ef jal ra,83e <rt_sem_init>
|
|
28bc: 4401 li s0,0
|
|
28be: d0f9 beqz s1,2884 <finsh_system_init+0x54>
|
|
28c0: 8526 mv a0,s1
|
|
28c2: b88ff0ef jal ra,1c4a <rt_thread_startup>
|
|
28c6: bf7d j 2884 <finsh_system_init+0x54>
|
|
|
|
000028c8 <finsh_get_prompt>:
|
|
28c8: adbfd2ef jal t0,3a2 <__riscv_save_0>
|
|
28cc: ce7ff0ef jal ra,25b2 <msh_is_used>
|
|
28d0: c50d beqz a0,28fa <finsh_get_prompt+0x32>
|
|
28d2: 000075b7 lui a1,0x7
|
|
28d6: 95c58593 addi a1,a1,-1700 # 695c <__fsym___cmd_ps_name+0xc>
|
|
28da: ca018513 addi a0,gp,-864 # 20000748 <finsh_prompt.4315>
|
|
28de: 368030ef jal ra,5c46 <strcpy>
|
|
28e2: 000075b7 lui a1,0x7
|
|
28e6: 96c58593 addi a1,a1,-1684 # 696c <__fsym___cmd_ps_name+0x1c>
|
|
28ea: ca018513 addi a0,gp,-864 # 20000748 <finsh_prompt.4315>
|
|
28ee: 33a030ef jal ra,5c28 <strcat>
|
|
28f2: ca018513 addi a0,gp,-864 # 20000748 <finsh_prompt.4315>
|
|
28f6: ad1fd06f j 3c6 <__riscv_restore_0>
|
|
28fa: 000075b7 lui a1,0x7
|
|
28fe: 96458593 addi a1,a1,-1692 # 6964 <__fsym___cmd_ps_name+0x14>
|
|
2902: bfe1 j 28da <finsh_get_prompt+0x12>
|
|
|
|
00002904 <shell_handle_history>:
|
|
2904: a9ffd2ef jal t0,3a2 <__riscv_save_0>
|
|
2908: 842a mv s0,a0
|
|
290a: 00007537 lui a0,0x7
|
|
290e: 9cc50513 addi a0,a0,-1588 # 69cc <__fsym___cmd_ps_name+0x7c>
|
|
2912: 9abfe0ef jal ra,12bc <rt_kprintf>
|
|
2916: fb3ff0ef jal ra,28c8 <finsh_get_prompt>
|
|
291a: 85aa mv a1,a0
|
|
291c: 00007537 lui a0,0x7
|
|
2920: 1ba40613 addi a2,s0,442
|
|
2924: 9d450513 addi a0,a0,-1580 # 69d4 <__fsym___cmd_ps_name+0x84>
|
|
2928: 995fe0ef jal ra,12bc <rt_kprintf>
|
|
292c: 4501 li a0,0
|
|
292e: a99fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00002932 <finsh_set_device>:
|
|
2932: a71fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2936: 1141 addi sp,sp,-16
|
|
2938: c62a sw a0,12(sp)
|
|
293a: c49fd0ef jal ra,582 <rt_device_find>
|
|
293e: 45b2 lw a1,12(sp)
|
|
2940: e911 bnez a0,2954 <finsh_set_device+0x22>
|
|
2942: 00007537 lui a0,0x7
|
|
2946: 97050513 addi a0,a0,-1680 # 6970 <__fsym___cmd_ps_name+0x20>
|
|
294a: 973fe0ef jal ra,12bc <rt_kprintf>
|
|
294e: 0141 addi sp,sp,16
|
|
2950: a77fd06f j 3c6 <__riscv_restore_0>
|
|
2954: 89c1a783 lw a5,-1892(gp) # 20000344 <shell>
|
|
2958: 84aa mv s1,a0
|
|
295a: 89c18413 addi s0,gp,-1892 # 20000344 <shell>
|
|
295e: 20c7a783 lw a5,524(a5)
|
|
2962: fea786e3 beq a5,a0,294e <finsh_set_device+0x1c>
|
|
2966: 14300593 li a1,323
|
|
296a: c97fd0ef jal ra,600 <rt_device_open>
|
|
296e: f165 bnez a0,294e <finsh_set_device+0x1c>
|
|
2970: 401c lw a5,0(s0)
|
|
2972: 20c7a503 lw a0,524(a5)
|
|
2976: c909 beqz a0,2988 <finsh_set_device+0x56>
|
|
2978: d03fd0ef jal ra,67a <rt_device_close>
|
|
297c: 401c lw a5,0(s0)
|
|
297e: 4581 li a1,0
|
|
2980: 20c7a503 lw a0,524(a5)
|
|
2984: d6bfd0ef jal ra,6ee <rt_device_set_rx_indicate>
|
|
2988: 4000 lw s0,0(s0)
|
|
298a: 05000613 li a2,80
|
|
298e: 4581 li a1,0
|
|
2990: 1ba40513 addi a0,s0,442
|
|
2994: a3ffd0ef jal ra,3d2 <memset>
|
|
2998: 000035b7 lui a1,0x3
|
|
299c: 20041523 sh zero,522(s0)
|
|
29a0: 20942623 sw s1,524(s0)
|
|
29a4: 81e58593 addi a1,a1,-2018 # 281e <finsh_rx_ind>
|
|
29a8: 8526 mv a0,s1
|
|
29aa: d45fd0ef jal ra,6ee <rt_device_set_rx_indicate>
|
|
29ae: b745 j 294e <finsh_set_device+0x1c>
|
|
|
|
000029b0 <finsh_thread_entry>:
|
|
29b0: 9c3fd2ef jal t0,372 <__riscv_save_12>
|
|
29b4: 89c1a783 lw a5,-1892(gp) # 20000344 <shell>
|
|
29b8: 1141 addi sp,sp,-16
|
|
29ba: 89c18493 addi s1,gp,-1892 # 20000344 <shell>
|
|
29be: 0247c703 lbu a4,36(a5)
|
|
29c2: 00176713 ori a4,a4,1
|
|
29c6: 02e78223 sb a4,36(a5)
|
|
29ca: 20c7a783 lw a5,524(a5)
|
|
29ce: e791 bnez a5,29da <finsh_thread_entry+0x2a>
|
|
29d0: 8b7fe0ef jal ra,1286 <rt_console_get_device>
|
|
29d4: c119 beqz a0,29da <finsh_thread_entry+0x2a>
|
|
29d6: f5dff0ef jal ra,2932 <finsh_set_device>
|
|
29da: eefff0ef jal ra,28c8 <finsh_get_prompt>
|
|
29de: 8dffe0ef jal ra,12bc <rt_kprintf>
|
|
29e2: 00007b37 lui s6,0x7
|
|
29e6: 00007bb7 lui s7,0x7
|
|
29ea: 000079b7 lui s3,0x7
|
|
29ee: 00006a37 lui s4,0x6
|
|
29f2: 00007ab7 lui s5,0x7
|
|
29f6: 00006c37 lui s8,0x6
|
|
29fa: 00007cb7 lui s9,0x7
|
|
29fe: 409c lw a5,0(s1)
|
|
2a00: 4685 li a3,1
|
|
2a02: 00f10613 addi a2,sp,15
|
|
2a06: 20c7a503 lw a0,524(a5)
|
|
2a0a: 55fd li a1,-1
|
|
2a0c: ca7fd0ef jal ra,6b2 <rt_device_read>
|
|
2a10: 4785 li a5,1
|
|
2a12: 00f51a63 bne a0,a5,2a26 <finsh_thread_entry+0x76>
|
|
2a16: 00f10903 lb s2,15(sp)
|
|
2a1a: 47ed li a5,27
|
|
2a1c: 4080 lw s0,0(s1)
|
|
2a1e: 00f91963 bne s2,a5,2a30 <finsh_thread_entry+0x80>
|
|
2a22: d008 sw a0,32(s0)
|
|
2a24: bfe9 j 29fe <finsh_thread_entry+0x4e>
|
|
2a26: 4088 lw a0,0(s1)
|
|
2a28: 55fd li a1,-1
|
|
2a2a: e3dfd0ef jal ra,866 <rt_sem_take>
|
|
2a2e: bfc1 j 29fe <finsh_thread_entry+0x4e>
|
|
2a30: 501c lw a5,32(s0)
|
|
2a32: 02a79263 bne a5,a0,2a56 <finsh_thread_entry+0xa6>
|
|
2a36: 05b00793 li a5,91
|
|
2a3a: 00f91563 bne s2,a5,2a44 <finsh_thread_entry+0x94>
|
|
2a3e: 4789 li a5,2
|
|
2a40: d01c sw a5,32(s0)
|
|
2a42: bf75 j 29fe <finsh_thread_entry+0x4e>
|
|
2a44: 02042023 sw zero,32(s0)
|
|
2a48: fa090be3 beqz s2,29fe <finsh_thread_entry+0x4e>
|
|
2a4c: 47a5 li a5,9
|
|
2a4e: 12f91463 bne s2,a5,2b76 <finsh_thread_entry+0x1c6>
|
|
2a52: 4901 li s2,0
|
|
2a54: a8d1 j 2b28 <finsh_thread_entry+0x178>
|
|
2a56: 4709 li a4,2
|
|
2a58: fee798e3 bne a5,a4,2a48 <finsh_thread_entry+0x98>
|
|
2a5c: 02042023 sw zero,32(s0)
|
|
2a60: 04100793 li a5,65
|
|
2a64: 04f91263 bne s2,a5,2aa8 <finsh_thread_entry+0xf8>
|
|
2a68: 306e lhu a1,38(s0)
|
|
2a6a: d9d1 beqz a1,29fe <finsh_thread_entry+0x4e>
|
|
2a6c: 15fd addi a1,a1,-1
|
|
2a6e: 05c2 slli a1,a1,0x10
|
|
2a70: 81c1 srli a1,a1,0x10
|
|
2a72: b06e sh a1,38(s0)
|
|
2a74: 1ba40793 addi a5,s0,442
|
|
2a78: 05000713 li a4,80
|
|
2a7c: 02e585b3 mul a1,a1,a4
|
|
2a80: 05000613 li a2,80
|
|
2a84: 853e mv a0,a5
|
|
2a86: 02a58593 addi a1,a1,42
|
|
2a8a: 95a2 add a1,a1,s0
|
|
2a8c: 0ea030ef jal ra,5b76 <memcpy>
|
|
2a90: 1c6030ef jal ra,5c56 <strlen>
|
|
2a94: 0ff57513 andi a0,a0,255
|
|
2a98: 20a40523 sb a0,522(s0)
|
|
2a9c: 20a405a3 sb a0,523(s0)
|
|
2aa0: 8522 mv a0,s0
|
|
2aa2: e63ff0ef jal ra,2904 <shell_handle_history>
|
|
2aa6: bfa1 j 29fe <finsh_thread_entry+0x4e>
|
|
2aa8: 04200793 li a5,66
|
|
2aac: 02f91163 bne s2,a5,2ace <finsh_thread_entry+0x11e>
|
|
2ab0: 3416 lhu a3,40(s0)
|
|
2ab2: 307e lhu a5,38(s0)
|
|
2ab4: fff68713 addi a4,a3,-1 # 7fffffff <_eusrstack+0x5ffeffff>
|
|
2ab8: 00e7d863 bge a5,a4,2ac8 <finsh_thread_entry+0x118>
|
|
2abc: 0785 addi a5,a5,1
|
|
2abe: b07e sh a5,38(s0)
|
|
2ac0: 1ba40793 addi a5,s0,442
|
|
2ac4: 306e lhu a1,38(s0)
|
|
2ac6: bf4d j 2a78 <finsh_thread_entry+0xc8>
|
|
2ac8: da9d beqz a3,29fe <finsh_thread_entry+0x4e>
|
|
2aca: b07a sh a4,38(s0)
|
|
2acc: bfd5 j 2ac0 <finsh_thread_entry+0x110>
|
|
2ace: 04400793 li a5,68
|
|
2ad2: 02f91063 bne s2,a5,2af2 <finsh_thread_entry+0x142>
|
|
2ad6: 20b44783 lbu a5,523(s0)
|
|
2ada: d395 beqz a5,29fe <finsh_thread_entry+0x4e>
|
|
2adc: 9b898513 addi a0,s3,-1608 # 69b8 <__fsym___cmd_ps_name+0x68>
|
|
2ae0: fdcfe0ef jal ra,12bc <rt_kprintf>
|
|
2ae4: 4098 lw a4,0(s1)
|
|
2ae6: 20b74783 lbu a5,523(a4)
|
|
2aea: 17fd addi a5,a5,-1
|
|
2aec: 20f705a3 sb a5,523(a4)
|
|
2af0: b739 j 29fe <finsh_thread_entry+0x4e>
|
|
2af2: 04300793 li a5,67
|
|
2af6: f4f919e3 bne s2,a5,2a48 <finsh_thread_entry+0x98>
|
|
2afa: 20b44783 lbu a5,523(s0)
|
|
2afe: 20a44703 lbu a4,522(s0)
|
|
2b02: eee7fee3 bgeu a5,a4,29fe <finsh_thread_entry+0x4e>
|
|
2b06: 943e add s0,s0,a5
|
|
2b08: 1ba40583 lb a1,442(s0)
|
|
2b0c: 9bca8513 addi a0,s5,-1604 # 69bc <__fsym___cmd_ps_name+0x6c>
|
|
2b10: facfe0ef jal ra,12bc <rt_kprintf>
|
|
2b14: 4098 lw a4,0(s1)
|
|
2b16: 20b74783 lbu a5,523(a4)
|
|
2b1a: 0785 addi a5,a5,1
|
|
2b1c: bfc1 j 2aec <finsh_thread_entry+0x13c>
|
|
2b1e: 9b898513 addi a0,s3,-1608
|
|
2b22: f9afe0ef jal ra,12bc <rt_kprintf>
|
|
2b26: 0905 addi s2,s2,1
|
|
2b28: 4080 lw s0,0(s1)
|
|
2b2a: 20b44783 lbu a5,523(s0)
|
|
2b2e: fef948e3 blt s2,a5,2b1e <finsh_thread_entry+0x16e>
|
|
2b32: 064a0513 addi a0,s4,100 # 6064 <__fsym_list_mem_name+0x11c>
|
|
2b36: f86fe0ef jal ra,12bc <rt_kprintf>
|
|
2b3a: a79ff0ef jal ra,25b2 <msh_is_used>
|
|
2b3e: 4785 li a5,1
|
|
2b40: 1ba40413 addi s0,s0,442
|
|
2b44: 00f51563 bne a0,a5,2b4e <finsh_thread_entry+0x19e>
|
|
2b48: 8522 mv a0,s0
|
|
2b4a: c17ff0ef jal ra,2760 <msh_auto_complete>
|
|
2b4e: d7bff0ef jal ra,28c8 <finsh_get_prompt>
|
|
2b52: 8622 mv a2,s0
|
|
2b54: 85aa mv a1,a0
|
|
2b56: 9d4c8513 addi a0,s9,-1580 # 69d4 <__fsym___cmd_ps_name+0x84>
|
|
2b5a: f62fe0ef jal ra,12bc <rt_kprintf>
|
|
2b5e: 4080 lw s0,0(s1)
|
|
2b60: 1ba40513 addi a0,s0,442
|
|
2b64: 0f2030ef jal ra,5c56 <strlen>
|
|
2b68: 0ff57513 andi a0,a0,255
|
|
2b6c: 20a40523 sb a0,522(s0)
|
|
2b70: 20a405a3 sb a0,523(s0)
|
|
2b74: b569 j 29fe <finsh_thread_entry+0x4e>
|
|
2b76: 07f00793 li a5,127
|
|
2b7a: 00f90563 beq s2,a5,2b84 <finsh_thread_entry+0x1d4>
|
|
2b7e: 47a1 li a5,8
|
|
2b80: 08f91563 bne s2,a5,2c0a <finsh_thread_entry+0x25a>
|
|
2b84: 20b44783 lbu a5,523(s0)
|
|
2b88: e6078be3 beqz a5,29fe <finsh_thread_entry+0x4e>
|
|
2b8c: 20a44603 lbu a2,522(s0)
|
|
2b90: 17fd addi a5,a5,-1
|
|
2b92: 0ff7f793 andi a5,a5,255
|
|
2b96: 167d addi a2,a2,-1
|
|
2b98: 0ff67613 andi a2,a2,255
|
|
2b9c: 20c40523 sb a2,522(s0)
|
|
2ba0: 20f405a3 sb a5,523(s0)
|
|
2ba4: 04c7f863 bgeu a5,a2,2bf4 <finsh_thread_entry+0x244>
|
|
2ba8: 1bb78593 addi a1,a5,443
|
|
2bac: 1ba78513 addi a0,a5,442
|
|
2bb0: 8e1d sub a2,a2,a5
|
|
2bb2: 95a2 add a1,a1,s0
|
|
2bb4: 9522 add a0,a0,s0
|
|
2bb6: accfe0ef jal ra,e82 <rt_memmove>
|
|
2bba: 409c lw a5,0(s1)
|
|
2bbc: 9c0b8513 addi a0,s7,-1600 # 69c0 <__fsym___cmd_ps_name+0x70>
|
|
2bc0: 20a7c703 lbu a4,522(a5)
|
|
2bc4: 973e add a4,a4,a5
|
|
2bc6: 1a070d23 sb zero,442(a4)
|
|
2bca: 20b7c583 lbu a1,523(a5)
|
|
2bce: 1ba58593 addi a1,a1,442
|
|
2bd2: 95be add a1,a1,a5
|
|
2bd4: ee8fe0ef jal ra,12bc <rt_kprintf>
|
|
2bd8: 409c lw a5,0(s1)
|
|
2bda: 20b7c403 lbu s0,523(a5)
|
|
2bde: 409c lw a5,0(s1)
|
|
2be0: 20a7c783 lbu a5,522(a5)
|
|
2be4: e087cde3 blt a5,s0,29fe <finsh_thread_entry+0x4e>
|
|
2be8: 9b898513 addi a0,s3,-1608
|
|
2bec: ed0fe0ef jal ra,12bc <rt_kprintf>
|
|
2bf0: 0405 addi s0,s0,1
|
|
2bf2: b7f5 j 2bde <finsh_thread_entry+0x22e>
|
|
2bf4: 9c8b0513 addi a0,s6,-1592 # 69c8 <__fsym___cmd_ps_name+0x78>
|
|
2bf8: ec4fe0ef jal ra,12bc <rt_kprintf>
|
|
2bfc: 409c lw a5,0(s1)
|
|
2bfe: 20a7c703 lbu a4,522(a5)
|
|
2c02: 97ba add a5,a5,a4
|
|
2c04: 1a078d23 sb zero,442(a5)
|
|
2c08: bbdd j 29fe <finsh_thread_entry+0x4e>
|
|
2c0a: 4735 li a4,13
|
|
2c0c: 20a44783 lbu a5,522(s0)
|
|
2c10: 00e90563 beq s2,a4,2c1a <finsh_thread_entry+0x26a>
|
|
2c14: 4729 li a4,10
|
|
2c16: 0ee91e63 bne s2,a4,2d12 <finsh_thread_entry+0x362>
|
|
2c1a: cbb9 beqz a5,2c70 <finsh_thread_entry+0x2c0>
|
|
2c1c: 02845903 lhu s2,40(s0)
|
|
2c20: 4791 li a5,4
|
|
2c22: 1ba40d13 addi s10,s0,442
|
|
2c26: 0927fb63 bgeu a5,s2,2cbc <finsh_thread_entry+0x30c>
|
|
2c2a: 16a40d93 addi s11,s0,362
|
|
2c2e: 05000613 li a2,80
|
|
2c32: 85ea mv a1,s10
|
|
2c34: 856e mv a0,s11
|
|
2c36: 71d020ef jal ra,5b52 <memcmp>
|
|
2c3a: c91d beqz a0,2c70 <finsh_thread_entry+0x2c0>
|
|
2c3c: 02a40913 addi s2,s0,42
|
|
2c40: 854a mv a0,s2
|
|
2c42: 05090913 addi s2,s2,80
|
|
2c46: 05000613 li a2,80
|
|
2c4a: 85ca mv a1,s2
|
|
2c4c: 72b020ef jal ra,5b76 <memcpy>
|
|
2c50: ff2d98e3 bne s11,s2,2c40 <finsh_thread_entry+0x290>
|
|
2c54: 05000613 li a2,80
|
|
2c58: 4581 li a1,0
|
|
2c5a: 856e mv a0,s11
|
|
2c5c: f76fd0ef jal ra,3d2 <memset>
|
|
2c60: 20a44603 lbu a2,522(s0)
|
|
2c64: 85ea mv a1,s10
|
|
2c66: 856e mv a0,s11
|
|
2c68: 70f020ef jal ra,5b76 <memcpy>
|
|
2c6c: 4795 li a5,5
|
|
2c6e: b41e sh a5,40(s0)
|
|
2c70: 341e lhu a5,40(s0)
|
|
2c72: b07e sh a5,38(s0)
|
|
2c74: 93fff0ef jal ra,25b2 <msh_is_used>
|
|
2c78: 4785 li a5,1
|
|
2c7a: 02f51263 bne a0,a5,2c9e <finsh_thread_entry+0x2ee>
|
|
2c7e: 409c lw a5,0(s1)
|
|
2c80: 0247c783 lbu a5,36(a5)
|
|
2c84: 8b85 andi a5,a5,1
|
|
2c86: c789 beqz a5,2c90 <finsh_thread_entry+0x2e0>
|
|
2c88: 064a0513 addi a0,s4,100
|
|
2c8c: e30fe0ef jal ra,12bc <rt_kprintf>
|
|
2c90: 4088 lw a0,0(s1)
|
|
2c92: 20a54583 lbu a1,522(a0)
|
|
2c96: 1ba50513 addi a0,a0,442
|
|
2c9a: 91dff0ef jal ra,25b6 <msh_exec>
|
|
2c9e: c2bff0ef jal ra,28c8 <finsh_get_prompt>
|
|
2ca2: e1afe0ef jal ra,12bc <rt_kprintf>
|
|
2ca6: 4080 lw s0,0(s1)
|
|
2ca8: 05000613 li a2,80
|
|
2cac: 4581 li a1,0
|
|
2cae: 1ba40513 addi a0,s0,442
|
|
2cb2: f20fd0ef jal ra,3d2 <memset>
|
|
2cb6: 20041523 sh zero,522(s0)
|
|
2cba: b391 j 29fe <finsh_thread_entry+0x4e>
|
|
2cbc: 02090163 beqz s2,2cde <finsh_thread_entry+0x32e>
|
|
2cc0: fff90513 addi a0,s2,-1
|
|
2cc4: 05000793 li a5,80
|
|
2cc8: 02f50533 mul a0,a0,a5
|
|
2ccc: 05000613 li a2,80
|
|
2cd0: 85ea mv a1,s10
|
|
2cd2: 02a50513 addi a0,a0,42
|
|
2cd6: 9522 add a0,a0,s0
|
|
2cd8: 67b020ef jal ra,5b52 <memcmp>
|
|
2cdc: d951 beqz a0,2c70 <finsh_thread_entry+0x2c0>
|
|
2cde: 05000d93 li s11,80
|
|
2ce2: 03b90533 mul a0,s2,s11
|
|
2ce6: 05000613 li a2,80
|
|
2cea: 4581 li a1,0
|
|
2cec: 02a50513 addi a0,a0,42
|
|
2cf0: 9522 add a0,a0,s0
|
|
2cf2: ee0fd0ef jal ra,3d2 <memset>
|
|
2cf6: 340a lhu a0,40(s0)
|
|
2cf8: 20a44603 lbu a2,522(s0)
|
|
2cfc: 85ea mv a1,s10
|
|
2cfe: 03b50533 mul a0,a0,s11
|
|
2d02: 02a50513 addi a0,a0,42
|
|
2d06: 9522 add a0,a0,s0
|
|
2d08: 66f020ef jal ra,5b76 <memcpy>
|
|
2d0c: 341e lhu a5,40(s0)
|
|
2d0e: 0785 addi a5,a5,1
|
|
2d10: bfb9 j 2c6e <finsh_thread_entry+0x2be>
|
|
2d12: 04f00713 li a4,79
|
|
2d16: 00f77463 bgeu a4,a5,2d1e <finsh_thread_entry+0x36e>
|
|
2d1a: 20040523 sb zero,522(s0)
|
|
2d1e: 20b44603 lbu a2,523(s0)
|
|
2d22: 20a44783 lbu a5,522(s0)
|
|
2d26: 08f67063 bgeu a2,a5,2da6 <finsh_thread_entry+0x3f6>
|
|
2d2a: 1ba60593 addi a1,a2,442
|
|
2d2e: 1bb60513 addi a0,a2,443
|
|
2d32: 95a2 add a1,a1,s0
|
|
2d34: 40c78633 sub a2,a5,a2
|
|
2d38: 9522 add a0,a0,s0
|
|
2d3a: 948fe0ef jal ra,e82 <rt_memmove>
|
|
2d3e: 408c lw a1,0(s1)
|
|
2d40: 20b5c783 lbu a5,523(a1)
|
|
2d44: 00f58733 add a4,a1,a5
|
|
2d48: 1b270d23 sb s2,442(a4)
|
|
2d4c: 0245c703 lbu a4,36(a1)
|
|
2d50: 8b05 andi a4,a4,1
|
|
2d52: cb01 beqz a4,2d62 <finsh_thread_entry+0x3b2>
|
|
2d54: 1ba78793 addi a5,a5,442
|
|
2d58: 95be add a1,a1,a5
|
|
2d5a: 750c0513 addi a0,s8,1872 # 6750 <__fsym_reboot_name+0xc>
|
|
2d5e: d5efe0ef jal ra,12bc <rt_kprintf>
|
|
2d62: 409c lw a5,0(s1)
|
|
2d64: 20b7c403 lbu s0,523(a5)
|
|
2d68: 409c lw a5,0(s1)
|
|
2d6a: 20a7c783 lbu a5,522(a5)
|
|
2d6e: 02f44663 blt s0,a5,2d9a <finsh_thread_entry+0x3ea>
|
|
2d72: 4098 lw a4,0(s1)
|
|
2d74: 20a74783 lbu a5,522(a4)
|
|
2d78: 20b74683 lbu a3,523(a4)
|
|
2d7c: 0785 addi a5,a5,1
|
|
2d7e: 0685 addi a3,a3,1
|
|
2d80: 0ff7f793 andi a5,a5,255
|
|
2d84: 20d705a3 sb a3,523(a4)
|
|
2d88: 20f70523 sb a5,522(a4)
|
|
2d8c: 04f00693 li a3,79
|
|
2d90: c6f6f7e3 bgeu a3,a5,29fe <finsh_thread_entry+0x4e>
|
|
2d94: 20071523 sh zero,522(a4)
|
|
2d98: b19d j 29fe <finsh_thread_entry+0x4e>
|
|
2d9a: 9b898513 addi a0,s3,-1608
|
|
2d9e: d1efe0ef jal ra,12bc <rt_kprintf>
|
|
2da2: 0405 addi s0,s0,1
|
|
2da4: b7d1 j 2d68 <finsh_thread_entry+0x3b8>
|
|
2da6: 97a2 add a5,a5,s0
|
|
2da8: 1b278d23 sb s2,442(a5)
|
|
2dac: 02444783 lbu a5,36(s0)
|
|
2db0: 8b85 andi a5,a5,1
|
|
2db2: d3e1 beqz a5,2d72 <finsh_thread_entry+0x3c2>
|
|
2db4: 85ca mv a1,s2
|
|
2db6: 9bca8513 addi a0,s5,-1604
|
|
2dba: d02fe0ef jal ra,12bc <rt_kprintf>
|
|
2dbe: bf55 j 2d72 <finsh_thread_entry+0x3c2>
|
|
|
|
00002dc0 <rt_serial_init>:
|
|
2dc0: 417c lw a5,68(a0)
|
|
2dc2: 04052823 sw zero,80(a0)
|
|
2dc6: 04052a23 sw zero,84(a0)
|
|
2dca: 439c lw a5,0(a5)
|
|
2dcc: cb81 beqz a5,2ddc <rt_serial_init+0x1c>
|
|
2dce: dd4fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2dd2: 04850593 addi a1,a0,72
|
|
2dd6: 9782 jalr a5
|
|
2dd8: deefd06f j 3c6 <__riscv_restore_0>
|
|
2ddc: 4501 li a0,0
|
|
2dde: 8082 ret
|
|
|
|
00002de0 <rt_serial_write>:
|
|
2de0: da8fd2ef jal t0,388 <__riscv_save_4>
|
|
2de4: 8936 mv s2,a3
|
|
2de6: ca9d beqz a3,2e1c <rt_serial_write+0x3c>
|
|
2de8: 84aa mv s1,a0
|
|
2dea: 8432 mv s0,a2
|
|
2dec: 00d609b3 add s3,a2,a3
|
|
2df0: 4a29 li s4,10
|
|
2df2: 201c lbu a5,0(s0)
|
|
2df4: 01479b63 bne a5,s4,2e0a <rt_serial_write+0x2a>
|
|
2df8: 2cbe lhu a5,26(s1)
|
|
2dfa: 0407f793 andi a5,a5,64
|
|
2dfe: c791 beqz a5,2e0a <rt_serial_write+0x2a>
|
|
2e00: 40fc lw a5,68(s1)
|
|
2e02: 45b5 li a1,13
|
|
2e04: 8526 mv a0,s1
|
|
2e06: 479c lw a5,8(a5)
|
|
2e08: 9782 jalr a5
|
|
2e0a: 40fc lw a5,68(s1)
|
|
2e0c: 00040583 lb a1,0(s0)
|
|
2e10: 8526 mv a0,s1
|
|
2e12: 479c lw a5,8(a5)
|
|
2e14: 0405 addi s0,s0,1
|
|
2e16: 9782 jalr a5
|
|
2e18: fd341de3 bne s0,s3,2df2 <rt_serial_write+0x12>
|
|
2e1c: 854a mv a0,s2
|
|
2e1e: d9efd06f j 3bc <__riscv_restore_4>
|
|
|
|
00002e22 <rt_serial_open>:
|
|
2e22: d80fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2e26: 1005f793 andi a5,a1,256
|
|
2e2a: 842a mv s0,a0
|
|
2e2c: c791 beqz a5,2e38 <rt_serial_open+0x16>
|
|
2e2e: 2d1a lhu a4,24(a0)
|
|
2e30: 5561 li a0,-8
|
|
2e32: 10077713 andi a4,a4,256
|
|
2e36: cf35 beqz a4,2eb2 <rt_serial_open+0x90>
|
|
2e38: 4005f713 andi a4,a1,1024
|
|
2e3c: c711 beqz a4,2e48 <rt_serial_open+0x26>
|
|
2e3e: 2c1a lhu a4,24(s0)
|
|
2e40: 5561 li a0,-8
|
|
2e42: 40077713 andi a4,a4,1024
|
|
2e46: c735 beqz a4,2eb2 <rt_serial_open+0x90>
|
|
2e48: 0405f713 andi a4,a1,64
|
|
2e4c: 04000493 li s1,64
|
|
2e50: e701 bnez a4,2e58 <rt_serial_open+0x36>
|
|
2e52: 2c26 lhu s1,26(s0)
|
|
2e54: 0404f493 andi s1,s1,64
|
|
2e58: 4838 lw a4,80(s0)
|
|
2e5a: 0ff5f593 andi a1,a1,255
|
|
2e5e: ac2e sh a1,26(s0)
|
|
2e60: eb39 bnez a4,2eb6 <rt_serial_open+0x94>
|
|
2e62: c7a1 beqz a5,2eaa <rt_serial_open+0x88>
|
|
2e64: 4468 lw a0,76(s0)
|
|
2e66: 8129 srli a0,a0,0xa
|
|
2e68: 0542 slli a0,a0,0x10
|
|
2e6a: 8141 srli a0,a0,0x10
|
|
2e6c: 0531 addi a0,a0,12
|
|
2e6e: e48fe0ef jal ra,14b6 <rt_malloc>
|
|
2e72: 4470 lw a2,76(s0)
|
|
2e74: 892a mv s2,a0
|
|
2e76: 0531 addi a0,a0,12
|
|
2e78: 8229 srli a2,a2,0xa
|
|
2e7a: 0642 slli a2,a2,0x10
|
|
2e7c: 8241 srli a2,a2,0x10
|
|
2e7e: 4581 li a1,0
|
|
2e80: 00a92023 sw a0,0(s2)
|
|
2e84: ec5fd0ef jal ra,d48 <rt_memset>
|
|
2e88: 00092223 sw zero,4(s2)
|
|
2e8c: 2c3e lhu a5,26(s0)
|
|
2e8e: 00092423 sw zero,8(s2)
|
|
2e92: 05242823 sw s2,80(s0)
|
|
2e96: 1007e793 ori a5,a5,256
|
|
2e9a: ac3e sh a5,26(s0)
|
|
2e9c: 407c lw a5,68(s0)
|
|
2e9e: 10000613 li a2,256
|
|
2ea2: 45c1 li a1,16
|
|
2ea4: 43dc lw a5,4(a5)
|
|
2ea6: 8522 mv a0,s0
|
|
2ea8: 9782 jalr a5
|
|
2eaa: 2c3e lhu a5,26(s0)
|
|
2eac: 4501 li a0,0
|
|
2eae: 8cdd or s1,s1,a5
|
|
2eb0: ac26 sh s1,26(s0)
|
|
2eb2: d14fd06f j 3c6 <__riscv_restore_0>
|
|
2eb6: dbf5 beqz a5,2eaa <rt_serial_open+0x88>
|
|
2eb8: 1005e593 ori a1,a1,256
|
|
2ebc: ac2e sh a1,26(s0)
|
|
2ebe: b7f5 j 2eaa <rt_serial_open+0x88>
|
|
|
|
00002ec0 <rt_serial_control>:
|
|
2ec0: 4809 li a6,2
|
|
2ec2: 87aa mv a5,a0
|
|
2ec4: 03058163 beq a1,a6,2ee6 <rt_serial_control+0x26>
|
|
2ec8: cdafd2ef jal t0,3a2 <__riscv_save_0>
|
|
2ecc: 480d li a6,3
|
|
2ece: 03058263 beq a1,a6,2ef2 <rt_serial_control+0x32>
|
|
2ed2: 4705 li a4,1
|
|
2ed4: 04e59963 bne a1,a4,2f26 <rt_serial_control+0x66>
|
|
2ed8: 2d1a lhu a4,24(a0)
|
|
2eda: fdf77713 andi a4,a4,-33
|
|
2ede: ad1a sh a4,24(a0)
|
|
2ee0: 4501 li a0,0
|
|
2ee2: ce4fd06f j 3c6 <__riscv_restore_0>
|
|
2ee6: 2d1a lhu a4,24(a0)
|
|
2ee8: 02076713 ori a4,a4,32
|
|
2eec: ad1a sh a4,24(a0)
|
|
2eee: 4501 li a0,0
|
|
2ef0: 8082 ret
|
|
2ef2: 8732 mv a4,a2
|
|
2ef4: d675 beqz a2,2ee0 <rt_serial_control+0x20>
|
|
2ef6: 4250 lw a2,4(a2)
|
|
2ef8: 4574 lw a3,76(a0)
|
|
2efa: 2d4c lbu a1,28(a0)
|
|
2efc: 8229 srli a2,a2,0xa
|
|
2efe: 82a9 srli a3,a3,0xa
|
|
2f00: 0642 slli a2,a2,0x10
|
|
2f02: 06c2 slli a3,a3,0x10
|
|
2f04: 8241 srli a2,a2,0x10
|
|
2f06: 82c1 srli a3,a3,0x10
|
|
2f08: 00d60463 beq a2,a3,2f10 <rt_serial_control+0x50>
|
|
2f0c: 451d li a0,7
|
|
2f0e: f9f1 bnez a1,2ee2 <rt_serial_control+0x22>
|
|
2f10: 4314 lw a3,0(a4)
|
|
2f12: c7b4 sw a3,72(a5)
|
|
2f14: 4354 lw a3,4(a4)
|
|
2f16: c7f4 sw a3,76(a5)
|
|
2f18: d5e1 beqz a1,2ee0 <rt_serial_control+0x20>
|
|
2f1a: 43f4 lw a3,68(a5)
|
|
2f1c: 85ba mv a1,a4
|
|
2f1e: 853e mv a0,a5
|
|
2f20: 4294 lw a3,0(a3)
|
|
2f22: 9682 jalr a3
|
|
2f24: bf75 j 2ee0 <rt_serial_control+0x20>
|
|
2f26: 417c lw a5,68(a0)
|
|
2f28: 43dc lw a5,4(a5)
|
|
2f2a: 9782 jalr a5
|
|
2f2c: bf5d j 2ee2 <rt_serial_control+0x22>
|
|
|
|
00002f2e <rt_serial_read>:
|
|
2f2e: c5afd2ef jal t0,388 <__riscv_save_4>
|
|
2f32: 8436 mv s0,a3
|
|
2f34: cab1 beqz a3,2f88 <rt_serial_read+0x5a>
|
|
2f36: 2d3e lhu a5,26(a0)
|
|
2f38: 89aa mv s3,a0
|
|
2f3a: 8932 mv s2,a2
|
|
2f3c: 1007f793 andi a5,a5,256
|
|
2f40: 84b6 mv s1,a3
|
|
2f42: e39d bnez a5,2f68 <rt_serial_read+0x3a>
|
|
2f44: 5a7d li s4,-1
|
|
2f46: 4aa9 li s5,10
|
|
2f48: 0449a783 lw a5,68(s3)
|
|
2f4c: 854e mv a0,s3
|
|
2f4e: 47dc lw a5,12(a5)
|
|
2f50: 9782 jalr a5
|
|
2f52: 01450963 beq a0,s4,2f64 <rt_serial_read+0x36>
|
|
2f56: 00a90023 sb a0,0(s2)
|
|
2f5a: 14fd addi s1,s1,-1
|
|
2f5c: 0905 addi s2,s2,1
|
|
2f5e: 01550363 beq a0,s5,2f64 <rt_serial_read+0x36>
|
|
2f62: f0fd bnez s1,2f48 <rt_serial_read+0x1a>
|
|
2f64: 8c05 sub s0,s0,s1
|
|
2f66: a00d j 2f88 <rt_serial_read+0x5a>
|
|
2f68: 4924 lw s1,80(a0)
|
|
2f6a: 8a36 mv s4,a3
|
|
2f6c: 4a85 li s5,1
|
|
2f6e: f35fe0ef jal ra,1ea2 <rt_hw_interrupt_disable>
|
|
2f72: 20fe lhu a5,6(s1)
|
|
2f74: 20da lhu a4,4(s1)
|
|
2f76: 862a mv a2,a0
|
|
2f78: 4494 lw a3,8(s1)
|
|
2f7a: 00f71a63 bne a4,a5,2f8e <rt_serial_read+0x60>
|
|
2f7e: ea81 bnez a3,2f8e <rt_serial_read+0x60>
|
|
2f80: f2ffe0ef jal ra,1eae <rt_hw_interrupt_enable>
|
|
2f84: 41440433 sub s0,s0,s4
|
|
2f88: 8522 mv a0,s0
|
|
2f8a: c32fd06f j 3bc <__riscv_restore_4>
|
|
2f8e: 4098 lw a4,0(s1)
|
|
2f90: 973e add a4,a4,a5
|
|
2f92: 00074b03 lbu s6,0(a4)
|
|
2f96: 04c9a703 lw a4,76(s3)
|
|
2f9a: 0785 addi a5,a5,1
|
|
2f9c: 07c2 slli a5,a5,0x10
|
|
2f9e: 8329 srli a4,a4,0xa
|
|
2fa0: 83c1 srli a5,a5,0x10
|
|
2fa2: 0742 slli a4,a4,0x10
|
|
2fa4: a0fe sh a5,6(s1)
|
|
2fa6: 8341 srli a4,a4,0x10
|
|
2fa8: 00e7e463 bltu a5,a4,2fb0 <rt_serial_read+0x82>
|
|
2fac: 00049323 sh zero,6(s1)
|
|
2fb0: 01569463 bne a3,s5,2fb8 <rt_serial_read+0x8a>
|
|
2fb4: 0004a423 sw zero,8(s1)
|
|
2fb8: 8532 mv a0,a2
|
|
2fba: ef5fe0ef jal ra,1eae <rt_hw_interrupt_enable>
|
|
2fbe: 1a7d addi s4,s4,-1
|
|
2fc0: 01690023 sb s6,0(s2)
|
|
2fc4: 0905 addi s2,s2,1
|
|
2fc6: fa0a14e3 bnez s4,2f6e <rt_serial_read+0x40>
|
|
2fca: bf6d j 2f84 <rt_serial_read+0x56>
|
|
|
|
00002fcc <rt_serial_close>:
|
|
2fcc: 2d58 lbu a4,28(a0)
|
|
2fce: 4785 li a5,1
|
|
2fd0: 02e7ec63 bltu a5,a4,3008 <rt_serial_close+0x3c>
|
|
2fd4: 2d3e lhu a5,26(a0)
|
|
2fd6: 1007f793 andi a5,a5,256
|
|
2fda: c79d beqz a5,3008 <rt_serial_close+0x3c>
|
|
2fdc: bc6fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2fe0: 842a mv s0,a0
|
|
2fe2: 4928 lw a0,80(a0)
|
|
2fe4: e22fe0ef jal ra,1606 <rt_free>
|
|
2fe8: 2c3e lhu a5,26(s0)
|
|
2fea: 04042823 sw zero,80(s0)
|
|
2fee: 10000613 li a2,256
|
|
2ff2: eff7f793 andi a5,a5,-257
|
|
2ff6: ac3e sh a5,26(s0)
|
|
2ff8: 407c lw a5,68(s0)
|
|
2ffa: 45c5 li a1,17
|
|
2ffc: 8522 mv a0,s0
|
|
2ffe: 43dc lw a5,4(a5)
|
|
3000: 9782 jalr a5
|
|
3002: 4501 li a0,0
|
|
3004: bc2fd06f j 3c6 <__riscv_restore_0>
|
|
3008: 4501 li a0,0
|
|
300a: 8082 ret
|
|
|
|
0000300c <rt_hw_serial_register>:
|
|
300c: b96fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3010: 00003737 lui a4,0x3
|
|
3014: dc070713 addi a4,a4,-576 # 2dc0 <rt_serial_init>
|
|
3018: d518 sw a4,40(a0)
|
|
301a: 00003737 lui a4,0x3
|
|
301e: e2270713 addi a4,a4,-478 # 2e22 <rt_serial_open>
|
|
3022: d558 sw a4,44(a0)
|
|
3024: 00003737 lui a4,0x3
|
|
3028: fcc70713 addi a4,a4,-52 # 2fcc <rt_serial_close>
|
|
302c: d918 sw a4,48(a0)
|
|
302e: 00003737 lui a4,0x3
|
|
3032: f2e70713 addi a4,a4,-210 # 2f2e <rt_serial_read>
|
|
3036: d958 sw a4,52(a0)
|
|
3038: 00003737 lui a4,0x3
|
|
303c: de070713 addi a4,a4,-544 # 2de0 <rt_serial_write>
|
|
3040: dd18 sw a4,56(a0)
|
|
3042: 00003737 lui a4,0x3
|
|
3046: ec070713 addi a4,a4,-320 # 2ec0 <rt_serial_control>
|
|
304a: 0642 slli a2,a2,0x10
|
|
304c: dd58 sw a4,60(a0)
|
|
304e: c134 sw a3,64(a0)
|
|
3050: 8241 srli a2,a2,0x10
|
|
3052: 00052a23 sw zero,20(a0)
|
|
3056: 02052023 sw zero,32(a0)
|
|
305a: 02052223 sw zero,36(a0)
|
|
305e: d6efd0ef jal ra,5cc <rt_device_register>
|
|
3062: b64fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003066 <rt_hw_serial_isr>:
|
|
3066: 0ff5f593 andi a1,a1,255
|
|
306a: 4785 li a5,1
|
|
306c: 0af59163 bne a1,a5,310e <rt_hw_serial_isr+0xa8>
|
|
3070: b18fd2ef jal t0,388 <__riscv_save_4>
|
|
3074: 4920 lw s0,80(a0)
|
|
3076: 1141 addi sp,sp,-16
|
|
3078: 84aa mv s1,a0
|
|
307a: 597d li s2,-1
|
|
307c: 4985 li s3,1
|
|
307e: 40fc lw a5,68(s1)
|
|
3080: 8526 mv a0,s1
|
|
3082: 47dc lw a5,12(a5)
|
|
3084: 9782 jalr a5
|
|
3086: 8a2a mv s4,a0
|
|
3088: 05250763 beq a0,s2,30d6 <rt_hw_serial_isr+0x70>
|
|
308c: e17fe0ef jal ra,1ea2 <rt_hw_interrupt_disable>
|
|
3090: 205a lhu a4,4(s0)
|
|
3092: 401c lw a5,0(s0)
|
|
3094: 97ba add a5,a5,a4
|
|
3096: 01478023 sb s4,0(a5)
|
|
309a: 205e lhu a5,4(s0)
|
|
309c: 44f8 lw a4,76(s1)
|
|
309e: 0785 addi a5,a5,1
|
|
30a0: 07c2 slli a5,a5,0x10
|
|
30a2: 8329 srli a4,a4,0xa
|
|
30a4: 83c1 srli a5,a5,0x10
|
|
30a6: 0742 slli a4,a4,0x10
|
|
30a8: a05e sh a5,4(s0)
|
|
30aa: 8341 srli a4,a4,0x10
|
|
30ac: 00e7e463 bltu a5,a4,30b4 <rt_hw_serial_isr+0x4e>
|
|
30b0: 00041223 sh zero,4(s0)
|
|
30b4: 2076 lhu a3,6(s0)
|
|
30b6: 205e lhu a5,4(s0)
|
|
30b8: 00d79c63 bne a5,a3,30d0 <rt_hw_serial_isr+0x6a>
|
|
30bc: 0785 addi a5,a5,1
|
|
30be: 07c2 slli a5,a5,0x10
|
|
30c0: 83c1 srli a5,a5,0x10
|
|
30c2: a07e sh a5,6(s0)
|
|
30c4: 01342423 sw s3,8(s0)
|
|
30c8: 00e7e463 bltu a5,a4,30d0 <rt_hw_serial_isr+0x6a>
|
|
30cc: 00041323 sh zero,6(s0)
|
|
30d0: ddffe0ef jal ra,1eae <rt_hw_interrupt_enable>
|
|
30d4: b76d j 307e <rt_hw_serial_isr+0x18>
|
|
30d6: 509c lw a5,32(s1)
|
|
30d8: c385 beqz a5,30f8 <rt_hw_serial_isr+0x92>
|
|
30da: dc9fe0ef jal ra,1ea2 <rt_hw_interrupt_disable>
|
|
30de: 205a lhu a4,4(s0)
|
|
30e0: 206e lhu a1,6(s0)
|
|
30e2: 00b76e63 bltu a4,a1,30fe <rt_hw_serial_isr+0x98>
|
|
30e6: 40b705b3 sub a1,a4,a1
|
|
30ea: c62e sw a1,12(sp)
|
|
30ec: dc3fe0ef jal ra,1eae <rt_hw_interrupt_enable>
|
|
30f0: 509c lw a5,32(s1)
|
|
30f2: 45b2 lw a1,12(sp)
|
|
30f4: 8526 mv a0,s1
|
|
30f6: 9782 jalr a5
|
|
30f8: 0141 addi sp,sp,16
|
|
30fa: ac2fd06f j 3bc <__riscv_restore_4>
|
|
30fe: 44fc lw a5,76(s1)
|
|
3100: 8d99 sub a1,a1,a4
|
|
3102: 83a9 srli a5,a5,0xa
|
|
3104: 07c2 slli a5,a5,0x10
|
|
3106: 83c1 srli a5,a5,0x10
|
|
3108: 40b785b3 sub a1,a5,a1
|
|
310c: bff9 j 30ea <rt_hw_serial_isr+0x84>
|
|
310e: 8082 ret
|
|
|
|
00003110 <_pin_control>:
|
|
3110: ce01 beqz a2,3128 <_pin_control+0x18>
|
|
3112: a90fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3116: 4178 lw a4,68(a0)
|
|
3118: 87b2 mv a5,a2
|
|
311a: 238e lhu a1,0(a5)
|
|
311c: 4318 lw a4,0(a4)
|
|
311e: 2232 lhu a2,2(a2)
|
|
3120: 9702 jalr a4
|
|
3122: 4501 li a0,0
|
|
3124: aa2fd06f j 3c6 <__riscv_restore_0>
|
|
3128: 557d li a0,-1
|
|
312a: 8082 ret
|
|
|
|
0000312c <rt_pin_mode>:
|
|
312c: a76fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3130: d2418713 addi a4,gp,-732 # 200007cc <_hw_pin>
|
|
3134: 4378 lw a4,68(a4)
|
|
3136: 862e mv a2,a1
|
|
3138: 85aa mv a1,a0
|
|
313a: 4318 lw a4,0(a4)
|
|
313c: d2418513 addi a0,gp,-732 # 200007cc <_hw_pin>
|
|
3140: 9702 jalr a4
|
|
3142: a84fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003146 <rt_pin_write>:
|
|
3146: a5cfd2ef jal t0,3a2 <__riscv_save_0>
|
|
314a: d2418713 addi a4,gp,-732 # 200007cc <_hw_pin>
|
|
314e: 4378 lw a4,68(a4)
|
|
3150: 862e mv a2,a1
|
|
3152: 85aa mv a1,a0
|
|
3154: 4358 lw a4,4(a4)
|
|
3156: d2418513 addi a0,gp,-732 # 200007cc <_hw_pin>
|
|
315a: 9702 jalr a4
|
|
315c: a6afd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003160 <rt_pin_read>:
|
|
3160: a42fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3164: d2418713 addi a4,gp,-732 # 200007cc <_hw_pin>
|
|
3168: 4378 lw a4,68(a4)
|
|
316a: 85aa mv a1,a0
|
|
316c: d2418513 addi a0,gp,-732 # 200007cc <_hw_pin>
|
|
3170: 4718 lw a4,8(a4)
|
|
3172: 9702 jalr a4
|
|
3174: a52fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003178 <_pin_read>:
|
|
3178: c605 beqz a2,31a0 <_pin_read+0x28>
|
|
317a: 4711 li a4,4
|
|
317c: 02e69263 bne a3,a4,31a0 <_pin_read+0x28>
|
|
3180: a22fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3184: 417c lw a5,68(a0)
|
|
3186: 220e lhu a1,0(a2)
|
|
3188: 1141 addi sp,sp,-16
|
|
318a: 479c lw a5,8(a5)
|
|
318c: c636 sw a3,12(sp)
|
|
318e: c432 sw a2,8(sp)
|
|
3190: 9782 jalr a5
|
|
3192: 4622 lw a2,8(sp)
|
|
3194: 46b2 lw a3,12(sp)
|
|
3196: a22a sh a0,2(a2)
|
|
3198: 8536 mv a0,a3
|
|
319a: 0141 addi sp,sp,16
|
|
319c: a2afd06f j 3c6 <__riscv_restore_0>
|
|
31a0: 4681 li a3,0
|
|
31a2: 8536 mv a0,a3
|
|
31a4: 8082 ret
|
|
|
|
000031a6 <_pin_write>:
|
|
31a6: c21d beqz a2,31cc <_pin_write+0x26>
|
|
31a8: 87b2 mv a5,a2
|
|
31aa: 4611 li a2,4
|
|
31ac: 02c69063 bne a3,a2,31cc <_pin_write+0x26>
|
|
31b0: 9f2fd2ef jal t0,3a2 <__riscv_save_0>
|
|
31b4: 4178 lw a4,68(a0)
|
|
31b6: 23b2 lhu a2,2(a5)
|
|
31b8: 238e lhu a1,0(a5)
|
|
31ba: 4358 lw a4,4(a4)
|
|
31bc: 1141 addi sp,sp,-16
|
|
31be: c636 sw a3,12(sp)
|
|
31c0: 9702 jalr a4
|
|
31c2: 46b2 lw a3,12(sp)
|
|
31c4: 0141 addi sp,sp,16
|
|
31c6: 8536 mv a0,a3
|
|
31c8: 9fefd06f j 3c6 <__riscv_restore_0>
|
|
31cc: 4681 li a3,0
|
|
31ce: 8536 mv a0,a3
|
|
31d0: 8082 ret
|
|
|
|
000031d2 <rt_device_pin_register>:
|
|
31d2: 9d0fd2ef jal t0,3a2 <__riscv_save_0>
|
|
31d6: d2418793 addi a5,gp,-732 # 200007cc <_hw_pin>
|
|
31da: 4749 li a4,18
|
|
31dc: cbd8 sw a4,20(a5)
|
|
31de: 00003737 lui a4,0x3
|
|
31e2: 17870713 addi a4,a4,376 # 3178 <_pin_read>
|
|
31e6: dbd8 sw a4,52(a5)
|
|
31e8: 00003737 lui a4,0x3
|
|
31ec: 1a670713 addi a4,a4,422 # 31a6 <_pin_write>
|
|
31f0: df98 sw a4,56(a5)
|
|
31f2: 00003737 lui a4,0x3
|
|
31f6: 11070713 addi a4,a4,272 # 3110 <_pin_control>
|
|
31fa: c3ec sw a1,68(a5)
|
|
31fc: c3b0 sw a2,64(a5)
|
|
31fe: 85aa mv a1,a0
|
|
3200: 460d li a2,3
|
|
3202: d2418513 addi a0,gp,-732 # 200007cc <_hw_pin>
|
|
3206: 0207a023 sw zero,32(a5)
|
|
320a: 0207a223 sw zero,36(a5)
|
|
320e: 0207a423 sw zero,40(a5)
|
|
3212: 0207a623 sw zero,44(a5)
|
|
3216: 0207a823 sw zero,48(a5)
|
|
321a: dfd8 sw a4,60(a5)
|
|
321c: bb0fd0ef jal ra,5cc <rt_device_register>
|
|
3220: 4501 li a0,0
|
|
3222: 9a4fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003226 <rt_hw_board_init>:
|
|
3226: 97cfd2ef jal t0,3a2 <__riscv_save_0>
|
|
322a: 200007b7 lui a5,0x20000
|
|
322e: 2a87a703 lw a4,680(a5) # 200002a8 <SystemCoreClock>
|
|
3232: 3e800793 li a5,1000
|
|
3236: 56c1 li a3,-16
|
|
3238: 02f75733 divu a4,a4,a5
|
|
323c: e000e7b7 lui a5,0xe000e
|
|
3240: 40d78623 sb a3,1036(a5) # e000e40c <_eusrstack+0xbfffe40c>
|
|
3244: 40d78723 sb a3,1038(a5)
|
|
3248: 6685 lui a3,0x1
|
|
324a: 10d7a023 sw a3,256(a5)
|
|
324e: 6691 lui a3,0x4
|
|
3250: 10d7a023 sw a3,256(a5)
|
|
3254: e000f7b7 lui a5,0xe000f
|
|
3258: 0007a023 sw zero,0(a5) # e000f000 <_eusrstack+0xbffff000>
|
|
325c: 0007a223 sw zero,4(a5)
|
|
3260: 4601 li a2,0
|
|
3262: c790 sw a2,8(a5)
|
|
3264: 4681 li a3,0
|
|
3266: c7d4 sw a3,12(a5)
|
|
3268: 4681 li a3,0
|
|
326a: fff70613 addi a2,a4,-1
|
|
326e: cb90 sw a2,16(a5)
|
|
3270: cbd4 sw a3,20(a5)
|
|
3272: 473d li a4,15
|
|
3274: c398 sw a4,0(a5)
|
|
3276: a6afd0ef jal ra,4e0 <rt_components_board_init>
|
|
327a: 200105b7 lui a1,0x20010
|
|
327e: 1ac18513 addi a0,gp,428 # 20000c54 <_ebss>
|
|
3282: 9b8fe0ef jal ra,143a <rt_system_heap_init>
|
|
3286: 00007537 lui a0,0x7
|
|
328a: a4c50513 addi a0,a0,-1460 # 6a4c <__fsym_pinMode_name+0x8>
|
|
328e: ffffd0ef jal ra,128c <rt_console_set_device>
|
|
3292: 934fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003296 <SysTick_Handler>:
|
|
3296: 34011173 csrrw sp,mscratch,sp
|
|
329a: 8b3fd0ef jal ra,b4c <rt_interrupt_enter>
|
|
329e: e000f7b7 lui a5,0xe000f
|
|
32a2: 0007a223 sw zero,4(a5) # e000f004 <_eusrstack+0xbffff004>
|
|
32a6: 9dafd0ef jal ra,480 <rt_tick_increase>
|
|
32aa: 8d1fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
32ae: 34011173 csrrw sp,mscratch,sp
|
|
32b2: 30200073 mret
|
|
|
|
000032b6 <InitRingQueue>:
|
|
32b6: 00052623 sw zero,12(a0)
|
|
32ba: c10c sw a1,0(a0)
|
|
32bc: c150 sw a2,4(a0)
|
|
32be: 00052423 sw zero,8(a0)
|
|
32c2: 4505 li a0,1
|
|
32c4: 8082 ret
|
|
|
|
000032c6 <InRingQueue>:
|
|
32c6: 455c lw a5,12(a0)
|
|
32c8: 4154 lw a3,4(a0)
|
|
32ca: 4518 lw a4,8(a0)
|
|
32cc: 0785 addi a5,a5,1
|
|
32ce: 02d7e7b3 rem a5,a5,a3
|
|
32d2: 00e78e63 beq a5,a4,32ee <InRingQueue+0x28>
|
|
32d6: 4558 lw a4,12(a0)
|
|
32d8: 411c lw a5,0(a0)
|
|
32da: 97ba add a5,a5,a4
|
|
32dc: a38c sb a1,0(a5)
|
|
32de: 455c lw a5,12(a0)
|
|
32e0: 4158 lw a4,4(a0)
|
|
32e2: 0785 addi a5,a5,1
|
|
32e4: 02e7e7b3 rem a5,a5,a4
|
|
32e8: c55c sw a5,12(a0)
|
|
32ea: 4505 li a0,1
|
|
32ec: 8082 ret
|
|
32ee: 5579 li a0,-2
|
|
32f0: 8082 ret
|
|
|
|
000032f2 <OutRingQueue>:
|
|
32f2: 4518 lw a4,8(a0)
|
|
32f4: 455c lw a5,12(a0)
|
|
32f6: 00f70f63 beq a4,a5,3314 <OutRingQueue+0x22>
|
|
32fa: 4518 lw a4,8(a0)
|
|
32fc: 411c lw a5,0(a0)
|
|
32fe: 97ba add a5,a5,a4
|
|
3300: 239c lbu a5,0(a5)
|
|
3302: a19c sb a5,0(a1)
|
|
3304: 451c lw a5,8(a0)
|
|
3306: 4158 lw a4,4(a0)
|
|
3308: 0785 addi a5,a5,1
|
|
330a: 02e7e7b3 rem a5,a5,a4
|
|
330e: c51c sw a5,8(a0)
|
|
3310: 4505 li a0,1
|
|
3312: 8082 ret
|
|
3314: 4501 li a0,0
|
|
3316: 8082 ret
|
|
|
|
00003318 <RingQueueLength>:
|
|
3318: 455c lw a5,12(a0)
|
|
331a: 4518 lw a4,8(a0)
|
|
331c: 4148 lw a0,4(a0)
|
|
331e: 8f99 sub a5,a5,a4
|
|
3320: 97aa add a5,a5,a0
|
|
3322: 02a7e533 rem a0,a5,a0
|
|
3326: 8082 ret
|
|
|
|
00003328 <bit2bitno>:
|
|
3328: 4781 li a5,0
|
|
332a: 4685 li a3,1
|
|
332c: 02000713 li a4,32
|
|
3330: 00f69633 sll a2,a3,a5
|
|
3334: 00a60663 beq a2,a0,3340 <bit2bitno+0x18>
|
|
3338: 0785 addi a5,a5,1
|
|
333a: fee79be3 bne a5,a4,3330 <bit2bitno+0x8>
|
|
333e: 57fd li a5,-1
|
|
3340: 853e mv a0,a5
|
|
3342: 8082 ret
|
|
|
|
00003344 <GPIOD_CLK_ENABLE>:
|
|
3344: 85efd2ef jal t0,3a2 <__riscv_save_0>
|
|
3348: 4585 li a1,1
|
|
334a: 02000513 li a0,32
|
|
334e: 689010ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
3352: 874fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003356 <GPIOB_CLK_ENABLE>:
|
|
3356: 84cfd2ef jal t0,3a2 <__riscv_save_0>
|
|
335a: 4585 li a1,1
|
|
335c: 4521 li a0,8
|
|
335e: 679010ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
3362: 864fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003366 <GPIOA_CLK_ENABLE>:
|
|
3366: 83cfd2ef jal t0,3a2 <__riscv_save_0>
|
|
336a: 4585 li a1,1
|
|
336c: 4511 li a0,4
|
|
336e: 669010ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
3372: 854fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003376 <GPIOC_CLK_ENABLE>:
|
|
3376: 82cfd2ef jal t0,3a2 <__riscv_save_0>
|
|
337a: 4585 li a1,1
|
|
337c: 4541 li a0,16
|
|
337e: 659010ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
3382: 844fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003386 <GPIOE_CLK_ENABLE>:
|
|
3386: 81cfd2ef jal t0,3a2 <__riscv_save_0>
|
|
338a: 4585 li a1,1
|
|
338c: 04000513 li a0,64
|
|
3390: 647010ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
3394: 832fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003398 <rt_hw_pin_init>:
|
|
3398: 80afd2ef jal t0,3a2 <__riscv_save_0>
|
|
339c: 659d lui a1,0x7
|
|
339e: 00007537 lui a0,0x7
|
|
33a2: 4601 li a2,0
|
|
33a4: a5458593 addi a1,a1,-1452 # 6a54 <_ch32_pin_ops>
|
|
33a8: 13c50513 addi a0,a0,316 # 713c <pins+0x650>
|
|
33ac: e27ff0ef jal ra,31d2 <rt_device_pin_register>
|
|
33b0: 816fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
000033b4 <get_pin>:
|
|
33b4: 06400793 li a5,100
|
|
33b8: 00a7ec63 bltu a5,a0,33d0 <get_pin+0x1c>
|
|
33bc: 00451793 slli a5,a0,0x4
|
|
33c0: 651d lui a0,0x7
|
|
33c2: aec50513 addi a0,a0,-1300 # 6aec <pins>
|
|
33c6: 953e add a0,a0,a5
|
|
33c8: 4118 lw a4,0(a0)
|
|
33ca: 57fd li a5,-1
|
|
33cc: 00f71363 bne a4,a5,33d2 <get_pin+0x1e>
|
|
33d0: 4501 li a0,0
|
|
33d2: 8082 ret
|
|
|
|
000033d4 <ch32_pin_write>:
|
|
33d4: fcffc2ef jal t0,3a2 <__riscv_save_0>
|
|
33d8: 1141 addi sp,sp,-16
|
|
33da: 0ff5f513 andi a0,a1,255
|
|
33de: c632 sw a2,12(sp)
|
|
33e0: fd5ff0ef jal ra,33b4 <get_pin>
|
|
33e4: c511 beqz a0,33f0 <ch32_pin_write+0x1c>
|
|
33e6: 254e lhu a1,12(a0)
|
|
33e8: 4632 lw a2,12(sp)
|
|
33ea: 4508 lw a0,8(a0)
|
|
33ec: 3f1010ef jal ra,4fdc <GPIO_WriteBit>
|
|
33f0: 0141 addi sp,sp,16
|
|
33f2: fd5fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
000033f6 <ch32_pin_read>:
|
|
33f6: fadfc2ef jal t0,3a2 <__riscv_save_0>
|
|
33fa: 0ff5f513 andi a0,a1,255
|
|
33fe: fb7ff0ef jal ra,33b4 <get_pin>
|
|
3402: 87aa mv a5,a0
|
|
3404: 4501 li a0,0
|
|
3406: c789 beqz a5,3410 <ch32_pin_read+0x1a>
|
|
3408: 27ce lhu a1,12(a5)
|
|
340a: 4788 lw a0,8(a5)
|
|
340c: 3c7010ef jal ra,4fd2 <GPIO_ReadInputDataBit>
|
|
3410: fb7fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003414 <ch32_pin_mode>:
|
|
3414: f8ffc2ef jal t0,3a2 <__riscv_save_0>
|
|
3418: 1101 addi sp,sp,-32
|
|
341a: 0ff5f513 andi a0,a1,255
|
|
341e: 8432 mv s0,a2
|
|
3420: f95ff0ef jal ra,33b4 <get_pin>
|
|
3424: c505 beqz a0,344c <ch32_pin_mode+0x38>
|
|
3426: 415c lw a5,4(a0)
|
|
3428: c62a sw a0,12(sp)
|
|
342a: 9782 jalr a5
|
|
342c: 4532 lw a0,12(sp)
|
|
342e: 455c lw a5,12(a0)
|
|
3430: 82fc sh a5,20(sp)
|
|
3432: 47c1 li a5,16
|
|
3434: ce3e sw a5,28(sp)
|
|
3436: 478d li a5,3
|
|
3438: cc3e sw a5,24(sp)
|
|
343a: c409 beqz s0,3444 <ch32_pin_mode+0x30>
|
|
343c: 4715 li a4,5
|
|
343e: 00e41a63 bne s0,a4,3452 <ch32_pin_mode+0x3e>
|
|
3442: ce02 sw zero,28(sp)
|
|
3444: 4508 lw a0,8(a0)
|
|
3446: 084c addi a1,sp,20
|
|
3448: 2cb010ef jal ra,4f12 <GPIO_Init>
|
|
344c: 6105 addi sp,sp,32
|
|
344e: f79fc06f j 3c6 <__riscv_restore_0>
|
|
3452: 4705 li a4,1
|
|
3454: 00e41563 bne s0,a4,345e <ch32_pin_mode+0x4a>
|
|
3458: 4791 li a5,4
|
|
345a: ce3e sw a5,28(sp)
|
|
345c: b7e5 j 3444 <ch32_pin_mode+0x30>
|
|
345e: 00f41563 bne s0,a5,3468 <ch32_pin_mode+0x54>
|
|
3462: 02800793 li a5,40
|
|
3466: bfd5 j 345a <ch32_pin_mode+0x46>
|
|
3468: 4789 li a5,2
|
|
346a: 00f41563 bne s0,a5,3474 <ch32_pin_mode+0x60>
|
|
346e: 04800793 li a5,72
|
|
3472: b7e5 j 345a <ch32_pin_mode+0x46>
|
|
3474: 4791 li a5,4
|
|
3476: 00f41463 bne s0,a5,347e <ch32_pin_mode+0x6a>
|
|
347a: 47d1 li a5,20
|
|
347c: bff9 j 345a <ch32_pin_mode+0x46>
|
|
347e: 4799 li a5,6
|
|
3480: 00f41463 bne s0,a5,3488 <ch32_pin_mode+0x74>
|
|
3484: 47f1 li a5,28
|
|
3486: bfd1 j 345a <ch32_pin_mode+0x46>
|
|
3488: 479d li a5,7
|
|
348a: faf41de3 bne s0,a5,3444 <ch32_pin_mode+0x30>
|
|
348e: 47e1 li a5,24
|
|
3490: b7e9 j 345a <ch32_pin_mode+0x46>
|
|
|
|
00003492 <ch32_pin_attach_irq>:
|
|
3492: ef7fc2ef jal t0,388 <__riscv_save_4>
|
|
3496: 0ff5f513 andi a0,a1,255
|
|
349a: 84ae mv s1,a1
|
|
349c: 89b2 mv s3,a2
|
|
349e: 8a36 mv s4,a3
|
|
34a0: 893a mv s2,a4
|
|
34a2: f13ff0ef jal ra,33b4 <get_pin>
|
|
34a6: 4799 li a5,6
|
|
34a8: cd31 beqz a0,3504 <ch32_pin_attach_irq+0x72>
|
|
34aa: 4548 lw a0,12(a0)
|
|
34ac: e7dff0ef jal ra,3328 <bit2bitno>
|
|
34b0: 473d li a4,15
|
|
34b2: 842a mv s0,a0
|
|
34b4: 4799 li a5,6
|
|
34b6: 04a76763 bltu a4,a0,3504 <ch32_pin_attach_irq+0x72>
|
|
34ba: 9e9fe0ef jal ra,1ea2 <rt_hw_interrupt_disable>
|
|
34be: 46b1 li a3,12
|
|
34c0: 02d406b3 mul a3,s0,a3
|
|
34c4: 200007b7 lui a5,0x20000
|
|
34c8: 08078713 addi a4,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
34cc: 862a mv a2,a0
|
|
34ce: 08078793 addi a5,a5,128
|
|
34d2: 9736 add a4,a4,a3
|
|
34d4: 00071683 lh a3,0(a4)
|
|
34d8: 00969f63 bne a3,s1,34f6 <ch32_pin_attach_irq+0x64>
|
|
34dc: 434c lw a1,4(a4)
|
|
34de: 01459c63 bne a1,s4,34f6 <ch32_pin_attach_irq+0x64>
|
|
34e2: 232e lhu a1,2(a4)
|
|
34e4: 01359963 bne a1,s3,34f6 <ch32_pin_attach_irq+0x64>
|
|
34e8: 4718 lw a4,8(a4)
|
|
34ea: 01271663 bne a4,s2,34f6 <ch32_pin_attach_irq+0x64>
|
|
34ee: 9c1fe0ef jal ra,1eae <rt_hw_interrupt_enable>
|
|
34f2: 4781 li a5,0
|
|
34f4: a801 j 3504 <ch32_pin_attach_irq+0x72>
|
|
34f6: 577d li a4,-1
|
|
34f8: 00e68963 beq a3,a4,350a <ch32_pin_attach_irq+0x78>
|
|
34fc: 8532 mv a0,a2
|
|
34fe: 9b1fe0ef jal ra,1eae <rt_hw_interrupt_enable>
|
|
3502: 479d li a5,7
|
|
3504: 853e mv a0,a5
|
|
3506: eb7fc06f j 3bc <__riscv_restore_4>
|
|
350a: 4531 li a0,12
|
|
350c: 02a40533 mul a0,s0,a0
|
|
3510: 953e add a0,a0,a5
|
|
3512: a106 sh s1,0(a0)
|
|
3514: 01452223 sw s4,4(a0)
|
|
3518: 01351123 sh s3,2(a0)
|
|
351c: 01252423 sw s2,8(a0)
|
|
3520: 8532 mv a0,a2
|
|
3522: b7f1 j 34ee <ch32_pin_attach_irq+0x5c>
|
|
|
|
00003524 <ch32_pin_dettach_irq>:
|
|
3524: e7ffc2ef jal t0,3a2 <__riscv_save_0>
|
|
3528: 0ff5f513 andi a0,a1,255
|
|
352c: e89ff0ef jal ra,33b4 <get_pin>
|
|
3530: 4719 li a4,6
|
|
3532: c91d beqz a0,3568 <ch32_pin_dettach_irq+0x44>
|
|
3534: 4548 lw a0,12(a0)
|
|
3536: df3ff0ef jal ra,3328 <bit2bitno>
|
|
353a: 47bd li a5,15
|
|
353c: 842a mv s0,a0
|
|
353e: 4719 li a4,6
|
|
3540: 02a7e463 bltu a5,a0,3568 <ch32_pin_dettach_irq+0x44>
|
|
3544: 95ffe0ef jal ra,1ea2 <rt_hw_interrupt_disable>
|
|
3548: 47b1 li a5,12
|
|
354a: 02f40433 mul s0,s0,a5
|
|
354e: 200007b7 lui a5,0x20000
|
|
3552: 08078793 addi a5,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
3556: 577d li a4,-1
|
|
3558: 97a2 add a5,a5,s0
|
|
355a: 00079683 lh a3,0(a5)
|
|
355e: 00e69863 bne a3,a4,356e <ch32_pin_dettach_irq+0x4a>
|
|
3562: 94dfe0ef jal ra,1eae <rt_hw_interrupt_enable>
|
|
3566: 4701 li a4,0
|
|
3568: 853a mv a0,a4
|
|
356a: e5dfc06f j 3c6 <__riscv_restore_0>
|
|
356e: 6741 lui a4,0x10
|
|
3570: 177d addi a4,a4,-1
|
|
3572: c398 sw a4,0(a5)
|
|
3574: 0007a223 sw zero,4(a5)
|
|
3578: 0007a423 sw zero,8(a5)
|
|
357c: b7dd j 3562 <ch32_pin_dettach_irq+0x3e>
|
|
|
|
0000357e <ch32_pin_irq_enable>:
|
|
357e: e0bfc2ef jal t0,388 <__riscv_save_4>
|
|
3582: 1101 addi sp,sp,-32
|
|
3584: 0ff5f513 andi a0,a1,255
|
|
3588: 8a32 mv s4,a2
|
|
358a: e2bff0ef jal ra,33b4 <get_pin>
|
|
358e: 4799 li a5,6
|
|
3590: c121 beqz a0,35d0 <ch32_pin_irq_enable+0x52>
|
|
3592: 4485 li s1,1
|
|
3594: 842a mv s0,a0
|
|
3596: 109a1563 bne s4,s1,36a0 <ch32_pin_irq_enable+0x122>
|
|
359a: 4548 lw a0,12(a0)
|
|
359c: d8dff0ef jal ra,3328 <bit2bitno>
|
|
35a0: 473d li a4,15
|
|
35a2: 84aa mv s1,a0
|
|
35a4: 4799 li a5,6
|
|
35a6: 02a76563 bltu a4,a0,35d0 <ch32_pin_irq_enable+0x52>
|
|
35aa: 8f9fe0ef jal ra,1ea2 <rt_hw_interrupt_disable>
|
|
35ae: 4ab1 li s5,12
|
|
35b0: 035487b3 mul a5,s1,s5
|
|
35b4: 20000937 lui s2,0x20000
|
|
35b8: 08090913 addi s2,s2,128 # 20000080 <pin_irq_hdr_tab>
|
|
35bc: 89aa mv s3,a0
|
|
35be: 993e add s2,s2,a5
|
|
35c0: 00091703 lh a4,0(s2)
|
|
35c4: 57fd li a5,-1
|
|
35c6: 00f71963 bne a4,a5,35d8 <ch32_pin_irq_enable+0x5a>
|
|
35ca: 8e5fe0ef jal ra,1eae <rt_hw_interrupt_enable>
|
|
35ce: 4799 li a5,6
|
|
35d0: 853e mv a0,a5
|
|
35d2: 6105 addi sp,sp,32
|
|
35d4: de9fc06f j 3bc <__riscv_restore_4>
|
|
35d8: 405c lw a5,4(s0)
|
|
35da: 9782 jalr a5
|
|
35dc: 4585 li a1,1
|
|
35de: 4505 li a0,1
|
|
35e0: 3f7010ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
35e4: 445c lw a5,12(s0)
|
|
35e6: 470d li a4,3
|
|
35e8: c43a sw a4,8(sp)
|
|
35ea: 827c sh a5,4(sp)
|
|
35ec: c83e sw a5,16(sp)
|
|
35ee: 00295783 lhu a5,2(s2)
|
|
35f2: ca02 sw zero,20(sp)
|
|
35f4: ce52 sw s4,28(sp)
|
|
35f6: 09478c63 beq a5,s4,368e <ch32_pin_irq_enable+0x110>
|
|
35fa: c7c1 beqz a5,3682 <ch32_pin_irq_enable+0x104>
|
|
35fc: 4709 li a4,2
|
|
35fe: 08e78d63 beq a5,a4,3698 <ch32_pin_irq_enable+0x11a>
|
|
3602: 4408 lw a0,8(s0)
|
|
3604: 004c addi a1,sp,4
|
|
3606: 10d010ef jal ra,4f12 <GPIO_Init>
|
|
360a: 4418 lw a4,8(s0)
|
|
360c: 400117b7 lui a5,0x40011
|
|
3610: c0078693 addi a3,a5,-1024 # 40010c00 <_eusrstack+0x20000c00>
|
|
3614: 4505 li a0,1
|
|
3616: 02d70263 beq a4,a3,363a <ch32_pin_irq_enable+0xbc>
|
|
361a: 4509 li a0,2
|
|
361c: 00f70f63 beq a4,a5,363a <ch32_pin_irq_enable+0xbc>
|
|
3620: 40078793 addi a5,a5,1024
|
|
3624: 450d li a0,3
|
|
3626: 00f70a63 beq a4,a5,363a <ch32_pin_irq_enable+0xbc>
|
|
362a: 400127b7 lui a5,0x40012
|
|
362e: 80078793 addi a5,a5,-2048 # 40011800 <_eusrstack+0x20001800>
|
|
3632: 4501 li a0,0
|
|
3634: 00f71363 bne a4,a5,363a <ch32_pin_irq_enable+0xbc>
|
|
3638: 4511 li a0,4
|
|
363a: 0ff4f593 andi a1,s1,255
|
|
363e: 1a9010ef jal ra,4fe6 <GPIO_EXTILineConfig>
|
|
3642: 0808 addi a0,sp,16
|
|
3644: 03d010ef jal ra,4e80 <EXTI_Init>
|
|
3648: 679d lui a5,0x7
|
|
364a: a6c78793 addi a5,a5,-1428 # 6a6c <pin_irq_map>
|
|
364e: 048e slli s1,s1,0x3
|
|
3650: 94be add s1,s1,a5
|
|
3652: 40d0 lw a2,4(s1)
|
|
3654: e000e737 lui a4,0xe000e
|
|
3658: 05000693 li a3,80
|
|
365c: 00c707b3 add a5,a4,a2
|
|
3660: 40d78023 sb a3,1024(a5)
|
|
3664: 00565793 srli a5,a2,0x5
|
|
3668: 04078793 addi a5,a5,64
|
|
366c: 4685 li a3,1
|
|
366e: 078a slli a5,a5,0x2
|
|
3670: 00c696b3 sll a3,a3,a2
|
|
3674: 97ba add a5,a5,a4
|
|
3676: c394 sw a3,0(a5)
|
|
3678: 854e mv a0,s3
|
|
367a: 835fe0ef jal ra,1eae <rt_hw_interrupt_enable>
|
|
367e: 4781 li a5,0
|
|
3680: bf81 j 35d0 <ch32_pin_irq_enable+0x52>
|
|
3682: 02800793 li a5,40
|
|
3686: c63e sw a5,12(sp)
|
|
3688: 47a1 li a5,8
|
|
368a: cc3e sw a5,24(sp)
|
|
368c: bf9d j 3602 <ch32_pin_irq_enable+0x84>
|
|
368e: 04800793 li a5,72
|
|
3692: c63e sw a5,12(sp)
|
|
3694: cc56 sw s5,24(sp)
|
|
3696: b7b5 j 3602 <ch32_pin_irq_enable+0x84>
|
|
3698: 4791 li a5,4
|
|
369a: c63e sw a5,12(sp)
|
|
369c: 47c1 li a5,16
|
|
369e: b7f5 j 368a <ch32_pin_irq_enable+0x10c>
|
|
36a0: 4799 li a5,6
|
|
36a2: f20a17e3 bnez s4,35d0 <ch32_pin_irq_enable+0x52>
|
|
36a6: 4548 lw a0,12(a0)
|
|
36a8: c81ff0ef jal ra,3328 <bit2bitno>
|
|
36ac: 473d li a4,15
|
|
36ae: 4799 li a5,6
|
|
36b0: f2a760e3 bltu a4,a0,35d0 <ch32_pin_irq_enable+0x52>
|
|
36b4: 00351793 slli a5,a0,0x3
|
|
36b8: 651d lui a0,0x7
|
|
36ba: a6c50513 addi a0,a0,-1428 # 6a6c <pin_irq_map>
|
|
36be: 953e add a0,a0,a5
|
|
36c0: 4158 lw a4,4(a0)
|
|
36c2: 00575793 srli a5,a4,0x5
|
|
36c6: 06078793 addi a5,a5,96
|
|
36ca: 00e494b3 sll s1,s1,a4
|
|
36ce: 078a slli a5,a5,0x2
|
|
36d0: e000e737 lui a4,0xe000e
|
|
36d4: 97ba add a5,a5,a4
|
|
36d6: c384 sw s1,0(a5)
|
|
36d8: b75d j 367e <ch32_pin_irq_enable+0x100>
|
|
|
|
000036da <HAL_GPIO_EXTI_Callback>:
|
|
36da: cc9fc2ef jal t0,3a2 <__riscv_save_0>
|
|
36de: c4bff0ef jal ra,3328 <bit2bitno>
|
|
36e2: 47b1 li a5,12
|
|
36e4: 02f50533 mul a0,a0,a5
|
|
36e8: 200007b7 lui a5,0x20000
|
|
36ec: 08078793 addi a5,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
36f0: 953e add a0,a0,a5
|
|
36f2: 415c lw a5,4(a0)
|
|
36f4: c399 beqz a5,36fa <HAL_GPIO_EXTI_Callback+0x20>
|
|
36f6: 4508 lw a0,8(a0)
|
|
36f8: 9782 jalr a5
|
|
36fa: ccdfc06f j 3c6 <__riscv_restore_0>
|
|
|
|
000036fe <EXTI0_IRQHandler>:
|
|
36fe: 34011173 csrrw sp,mscratch,sp
|
|
3702: c4afd0ef jal ra,b4c <rt_interrupt_enter>
|
|
3706: 4505 li a0,1
|
|
3708: 7e2010ef jal ra,4eea <EXTI_GetITStatus>
|
|
370c: c519 beqz a0,371a <EXTI0_IRQHandler+0x1c>
|
|
370e: 4505 li a0,1
|
|
3710: fcbff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
3714: 4505 li a0,1
|
|
3716: 7f2010ef jal ra,4f08 <EXTI_ClearITPendingBit>
|
|
371a: c60fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
371e: 34011173 csrrw sp,mscratch,sp
|
|
3722: 30200073 mret
|
|
|
|
00003726 <EXTI1_IRQHandler>:
|
|
3726: 34011173 csrrw sp,mscratch,sp
|
|
372a: c22fd0ef jal ra,b4c <rt_interrupt_enter>
|
|
372e: 4509 li a0,2
|
|
3730: 7ba010ef jal ra,4eea <EXTI_GetITStatus>
|
|
3734: c519 beqz a0,3742 <EXTI1_IRQHandler+0x1c>
|
|
3736: 4509 li a0,2
|
|
3738: fa3ff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
373c: 4509 li a0,2
|
|
373e: 7ca010ef jal ra,4f08 <EXTI_ClearITPendingBit>
|
|
3742: c38fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
3746: 34011173 csrrw sp,mscratch,sp
|
|
374a: 30200073 mret
|
|
|
|
0000374e <EXTI2_IRQHandler>:
|
|
374e: 34011173 csrrw sp,mscratch,sp
|
|
3752: bfafd0ef jal ra,b4c <rt_interrupt_enter>
|
|
3756: 4511 li a0,4
|
|
3758: 792010ef jal ra,4eea <EXTI_GetITStatus>
|
|
375c: c519 beqz a0,376a <EXTI2_IRQHandler+0x1c>
|
|
375e: 4511 li a0,4
|
|
3760: f7bff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
3764: 4511 li a0,4
|
|
3766: 7a2010ef jal ra,4f08 <EXTI_ClearITPendingBit>
|
|
376a: c10fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
376e: 34011173 csrrw sp,mscratch,sp
|
|
3772: 30200073 mret
|
|
|
|
00003776 <EXTI3_IRQHandler>:
|
|
3776: 34011173 csrrw sp,mscratch,sp
|
|
377a: bd2fd0ef jal ra,b4c <rt_interrupt_enter>
|
|
377e: 4521 li a0,8
|
|
3780: 76a010ef jal ra,4eea <EXTI_GetITStatus>
|
|
3784: c519 beqz a0,3792 <EXTI3_IRQHandler+0x1c>
|
|
3786: 4521 li a0,8
|
|
3788: f53ff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
378c: 4521 li a0,8
|
|
378e: 77a010ef jal ra,4f08 <EXTI_ClearITPendingBit>
|
|
3792: be8fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
3796: 34011173 csrrw sp,mscratch,sp
|
|
379a: 30200073 mret
|
|
|
|
0000379e <EXTI4_IRQHandler>:
|
|
379e: 34011173 csrrw sp,mscratch,sp
|
|
37a2: baafd0ef jal ra,b4c <rt_interrupt_enter>
|
|
37a6: 4541 li a0,16
|
|
37a8: 742010ef jal ra,4eea <EXTI_GetITStatus>
|
|
37ac: c519 beqz a0,37ba <EXTI4_IRQHandler+0x1c>
|
|
37ae: 4541 li a0,16
|
|
37b0: f2bff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
37b4: 4541 li a0,16
|
|
37b6: 752010ef jal ra,4f08 <EXTI_ClearITPendingBit>
|
|
37ba: bc0fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
37be: 34011173 csrrw sp,mscratch,sp
|
|
37c2: 30200073 mret
|
|
|
|
000037c6 <EXTI9_5_IRQHandler>:
|
|
37c6: 34011173 csrrw sp,mscratch,sp
|
|
37ca: b82fd0ef jal ra,b4c <rt_interrupt_enter>
|
|
37ce: 02000513 li a0,32
|
|
37d2: 718010ef jal ra,4eea <EXTI_GetITStatus>
|
|
37d6: cd1d beqz a0,3814 <EXTI9_5_IRQHandler+0x4e>
|
|
37d8: 02000513 li a0,32
|
|
37dc: effff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
37e0: 04000513 li a0,64
|
|
37e4: ef7ff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
37e8: 08000513 li a0,128
|
|
37ec: eefff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
37f0: 10000513 li a0,256
|
|
37f4: ee7ff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
37f8: 20000513 li a0,512
|
|
37fc: edfff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
3800: 3e000513 li a0,992
|
|
3804: 704010ef jal ra,4f08 <EXTI_ClearITPendingBit>
|
|
3808: b72fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
380c: 34011173 csrrw sp,mscratch,sp
|
|
3810: 30200073 mret
|
|
3814: 04000513 li a0,64
|
|
3818: 6d2010ef jal ra,4eea <EXTI_GetITStatus>
|
|
381c: fd55 bnez a0,37d8 <EXTI9_5_IRQHandler+0x12>
|
|
381e: 08000513 li a0,128
|
|
3822: 6c8010ef jal ra,4eea <EXTI_GetITStatus>
|
|
3826: f94d bnez a0,37d8 <EXTI9_5_IRQHandler+0x12>
|
|
3828: 10000513 li a0,256
|
|
382c: 6be010ef jal ra,4eea <EXTI_GetITStatus>
|
|
3830: f545 bnez a0,37d8 <EXTI9_5_IRQHandler+0x12>
|
|
3832: 20000513 li a0,512
|
|
3836: 6b4010ef jal ra,4eea <EXTI_GetITStatus>
|
|
383a: fd59 bnez a0,37d8 <EXTI9_5_IRQHandler+0x12>
|
|
383c: b7f1 j 3808 <EXTI9_5_IRQHandler+0x42>
|
|
|
|
0000383e <EXTI15_10_IRQHandler>:
|
|
383e: 34011173 csrrw sp,mscratch,sp
|
|
3842: b0afd0ef jal ra,b4c <rt_interrupt_enter>
|
|
3846: 40000513 li a0,1024
|
|
384a: 6a0010ef jal ra,4eea <EXTI_GetITStatus>
|
|
384e: c129 beqz a0,3890 <EXTI15_10_IRQHandler+0x52>
|
|
3850: 40000513 li a0,1024
|
|
3854: e87ff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
3858: 6505 lui a0,0x1
|
|
385a: 80050513 addi a0,a0,-2048 # 800 <rt_ipc_list_suspend+0x1c>
|
|
385e: e7dff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
3862: 6505 lui a0,0x1
|
|
3864: e77ff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
3868: 6509 lui a0,0x2
|
|
386a: e71ff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
386e: 6511 lui a0,0x4
|
|
3870: e6bff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
3874: 6521 lui a0,0x8
|
|
3876: e65ff0ef jal ra,36da <HAL_GPIO_EXTI_Callback>
|
|
387a: 6541 lui a0,0x10
|
|
387c: c0050513 addi a0,a0,-1024 # fc00 <__stack_size+0x7c00>
|
|
3880: 688010ef jal ra,4f08 <EXTI_ClearITPendingBit>
|
|
3884: af6fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
3888: 34011173 csrrw sp,mscratch,sp
|
|
388c: 30200073 mret
|
|
3890: 6505 lui a0,0x1
|
|
3892: 80050513 addi a0,a0,-2048 # 800 <rt_ipc_list_suspend+0x1c>
|
|
3896: 654010ef jal ra,4eea <EXTI_GetITStatus>
|
|
389a: f95d bnez a0,3850 <EXTI15_10_IRQHandler+0x12>
|
|
389c: 6505 lui a0,0x1
|
|
389e: 64c010ef jal ra,4eea <EXTI_GetITStatus>
|
|
38a2: f55d bnez a0,3850 <EXTI15_10_IRQHandler+0x12>
|
|
38a4: 6509 lui a0,0x2
|
|
38a6: 644010ef jal ra,4eea <EXTI_GetITStatus>
|
|
38aa: f15d bnez a0,3850 <EXTI15_10_IRQHandler+0x12>
|
|
38ac: 6511 lui a0,0x4
|
|
38ae: 63c010ef jal ra,4eea <EXTI_GetITStatus>
|
|
38b2: fd59 bnez a0,3850 <EXTI15_10_IRQHandler+0x12>
|
|
38b4: 6521 lui a0,0x8
|
|
38b6: 634010ef jal ra,4eea <EXTI_GetITStatus>
|
|
38ba: f959 bnez a0,3850 <EXTI15_10_IRQHandler+0x12>
|
|
38bc: b7e1 j 3884 <EXTI15_10_IRQHandler+0x46>
|
|
|
|
000038be <ch32dma_transmit>:
|
|
38be: 4501 li a0,0
|
|
38c0: 8082 ret
|
|
|
|
000038c2 <ch32_configure>:
|
|
38c2: ae1fc2ef jal t0,3a2 <__riscv_save_0>
|
|
38c6: 419c lw a5,0(a1)
|
|
38c8: 4120 lw s0,64(a0)
|
|
38ca: 46a1 li a3,8
|
|
38cc: 1141 addi sp,sp,-16
|
|
38ce: c01c sw a5,0(s0)
|
|
38d0: 47b1 li a5,12
|
|
38d2: a43e sh a5,10(s0)
|
|
38d4: 41dc lw a5,4(a1)
|
|
38d6: 00041623 sh zero,12(s0)
|
|
38da: 00f7f713 andi a4,a5,15
|
|
38de: 02d70163 beq a4,a3,3900 <ch32_configure+0x3e>
|
|
38e2: 46a5 li a3,9
|
|
38e4: 00d71e63 bne a4,a3,3900 <ch32_configure+0x3e>
|
|
38e8: 6705 lui a4,0x1
|
|
38ea: a05a sh a4,4(s0)
|
|
38ec: 0047d713 srli a4,a5,0x4
|
|
38f0: 8b0d andi a4,a4,3
|
|
38f2: c701 beqz a4,38fa <ch32_configure+0x38>
|
|
38f4: 4685 li a3,1
|
|
38f6: 00d70863 beq a4,a3,3906 <ch32_configure+0x44>
|
|
38fa: 00041323 sh zero,6(s0)
|
|
38fe: a031 j 390a <ch32_configure+0x48>
|
|
3900: 00041223 sh zero,4(s0)
|
|
3904: b7e5 j 38ec <ch32_configure+0x2a>
|
|
3906: 6709 lui a4,0x2
|
|
3908: a07a sh a4,6(s0)
|
|
390a: 8399 srli a5,a5,0x6
|
|
390c: 8b8d andi a5,a5,3
|
|
390e: 4705 li a4,1
|
|
3910: 00e78963 beq a5,a4,3922 <ch32_configure+0x60>
|
|
3914: c781 beqz a5,391c <ch32_configure+0x5a>
|
|
3916: 4709 li a4,2
|
|
3918: 06e78963 beq a5,a4,398a <ch32_configure+0xc8>
|
|
391c: 00041423 sh zero,8(s0)
|
|
3920: a021 j 3928 <ch32_configure+0x66>
|
|
3922: 60000793 li a5,1536
|
|
3926: a41e sh a5,8(s0)
|
|
3928: 4818 lw a4,16(s0)
|
|
392a: 400147b7 lui a5,0x40014
|
|
392e: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
|
|
3932: 04f71863 bne a4,a5,3982 <ch32_configure+0xc0>
|
|
3936: 6511 lui a0,0x4
|
|
3938: 4585 li a1,1
|
|
393a: 0511 addi a0,a0,4
|
|
393c: 09b010ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
3940: 20000793 li a5,512
|
|
3944: 400114b7 lui s1,0x40011
|
|
3948: 827c sh a5,4(sp)
|
|
394a: 490d li s2,3
|
|
394c: 47e1 li a5,24
|
|
394e: 004c addi a1,sp,4
|
|
3950: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x20000800>
|
|
3954: c63e sw a5,12(sp)
|
|
3956: c44a sw s2,8(sp)
|
|
3958: 5ba010ef jal ra,4f12 <GPIO_Init>
|
|
395c: 40000793 li a5,1024
|
|
3960: 827c sh a5,4(sp)
|
|
3962: 004c addi a1,sp,4
|
|
3964: 4791 li a5,4
|
|
3966: 80048513 addi a0,s1,-2048
|
|
396a: c63e sw a5,12(sp)
|
|
396c: c44a sw s2,8(sp)
|
|
396e: 5a4010ef jal ra,4f12 <GPIO_Init>
|
|
3972: 4808 lw a0,16(s0)
|
|
3974: 85a2 mv a1,s0
|
|
3976: 09d010ef jal ra,5212 <USART_Init>
|
|
397a: 4808 lw a0,16(s0)
|
|
397c: 4585 li a1,1
|
|
397e: 125010ef jal ra,52a2 <USART_Cmd>
|
|
3982: 4501 li a0,0
|
|
3984: 0141 addi sp,sp,16
|
|
3986: a41fc06f j 3c6 <__riscv_restore_0>
|
|
398a: 40000793 li a5,1024
|
|
398e: bf61 j 3926 <ch32_configure+0x64>
|
|
|
|
00003990 <rt_hw_usart_init>:
|
|
3990: 9f9fc2ef jal t0,388 <__riscv_save_4>
|
|
3994: dc418413 addi s0,gp,-572 # 2000086c <uart1>
|
|
3998: 03500793 li a5,53
|
|
399c: c85c sw a5,20(s0)
|
|
399e: 400147b7 lui a5,0x40014
|
|
39a2: d6c18613 addi a2,gp,-660 # 20000814 <serial1>
|
|
39a6: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
|
|
39aa: 4674 lw a3,76(a2)
|
|
39ac: c81c sw a5,16(s0)
|
|
39ae: 679d lui a5,0x7
|
|
39b0: 14078793 addi a5,a5,320 # 7140 <ch32_uart_ops>
|
|
39b4: c27c sw a5,68(a2)
|
|
39b6: c00007b7 lui a5,0xc0000
|
|
39ba: 8ff5 and a5,a5,a3
|
|
39bc: 66c1 lui a3,0x10
|
|
39be: 06a1 addi a3,a3,8
|
|
39c0: 6771 lui a4,0x1c
|
|
39c2: 20070713 addi a4,a4,512 # 1c200 <__stack_size+0x14200>
|
|
39c6: 8fd5 or a5,a5,a3
|
|
39c8: 6511 lui a0,0x4
|
|
39ca: 1141 addi sp,sp,-16
|
|
39cc: c638 sw a4,72(a2)
|
|
39ce: c67c sw a5,76(a2)
|
|
39d0: 4585 li a1,1
|
|
39d2: 000c07b7 lui a5,0xc0
|
|
39d6: 0511 addi a0,a0,4
|
|
39d8: c018 sw a4,0(s0)
|
|
39da: c41c sw a5,8(s0)
|
|
39dc: 00042223 sw zero,4(s0)
|
|
39e0: 00041623 sh zero,12(s0)
|
|
39e4: 7f2010ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
39e8: 400119b7 lui s3,0x40011
|
|
39ec: 20000793 li a5,512
|
|
39f0: 827c sh a5,4(sp)
|
|
39f2: 4a0d li s4,3
|
|
39f4: 47e1 li a5,24
|
|
39f6: 004c addi a1,sp,4
|
|
39f8: 80098513 addi a0,s3,-2048 # 40010800 <_eusrstack+0x20000800>
|
|
39fc: c452 sw s4,8(sp)
|
|
39fe: c63e sw a5,12(sp)
|
|
3a00: 512010ef jal ra,4f12 <GPIO_Init>
|
|
3a04: 40000793 li a5,1024
|
|
3a08: 827c sh a5,4(sp)
|
|
3a0a: 004c addi a1,sp,4
|
|
3a0c: 4791 li a5,4
|
|
3a0e: 80098513 addi a0,s3,-2048
|
|
3a12: c63e sw a5,12(sp)
|
|
3a14: c452 sw s4,8(sp)
|
|
3a16: 4fc010ef jal ra,4f12 <GPIO_Init>
|
|
3a1a: 4808 lw a0,16(s0)
|
|
3a1c: dc418593 addi a1,gp,-572 # 2000086c <uart1>
|
|
3a20: 7f2010ef jal ra,5212 <USART_Init>
|
|
3a24: 4808 lw a0,16(s0)
|
|
3a26: 4585 li a1,1
|
|
3a28: 07b010ef jal ra,52a2 <USART_Cmd>
|
|
3a2c: 000075b7 lui a1,0x7
|
|
3a30: dc418693 addi a3,gp,-572 # 2000086c <uart1>
|
|
3a34: 10300613 li a2,259
|
|
3a38: a4c58593 addi a1,a1,-1460 # 6a4c <__fsym_pinMode_name+0x8>
|
|
3a3c: d6c18513 addi a0,gp,-660 # 20000814 <serial1>
|
|
3a40: dccff0ef jal ra,300c <rt_hw_serial_register>
|
|
3a44: 4501 li a0,0
|
|
3a46: 0141 addi sp,sp,16
|
|
3a48: 975fc06f j 3bc <__riscv_restore_4>
|
|
|
|
00003a4c <ch32_getc>:
|
|
3a4c: 957fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3a50: 4120 lw s0,64(a0)
|
|
3a52: 02000593 li a1,32
|
|
3a56: 4808 lw a0,16(s0)
|
|
3a58: 0a7010ef jal ra,52fe <USART_GetFlagStatus>
|
|
3a5c: c519 beqz a0,3a6a <ch32_getc+0x1e>
|
|
3a5e: 481c lw a5,16(s0)
|
|
3a60: 23ca lhu a0,4(a5)
|
|
3a62: 0ff57513 andi a0,a0,255
|
|
3a66: 961fc06f j 3c6 <__riscv_restore_0>
|
|
3a6a: 557d li a0,-1
|
|
3a6c: bfed j 3a66 <ch32_getc+0x1a>
|
|
|
|
00003a6e <ch32_putc>:
|
|
3a6e: 935fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3a72: 4124 lw s1,64(a0)
|
|
3a74: 842e mv s0,a1
|
|
3a76: 4888 lw a0,16(s1)
|
|
3a78: 04000593 li a1,64
|
|
3a7c: 083010ef jal ra,52fe <USART_GetFlagStatus>
|
|
3a80: d97d beqz a0,3a76 <ch32_putc+0x8>
|
|
3a82: 489c lw a5,16(s1)
|
|
3a84: 0442 slli s0,s0,0x10
|
|
3a86: 8041 srli s0,s0,0x10
|
|
3a88: a3c2 sh s0,4(a5)
|
|
3a8a: 4505 li a0,1
|
|
3a8c: 93bfc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003a90 <ch32_control>:
|
|
3a90: 913fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3a94: 47c1 li a5,16
|
|
3a96: 4138 lw a4,64(a0)
|
|
3a98: 02f58b63 beq a1,a5,3ace <ch32_control+0x3e>
|
|
3a9c: 47c5 li a5,17
|
|
3a9e: 02f59563 bne a1,a5,3ac8 <ch32_control+0x38>
|
|
3aa2: 4b54 lw a3,20(a4)
|
|
3aa4: 4605 li a2,1
|
|
3aa6: 0056d793 srli a5,a3,0x5
|
|
3aaa: 06078793 addi a5,a5,96 # c0060 <__stack_size+0xb8060>
|
|
3aae: 00d61633 sll a2,a2,a3
|
|
3ab2: 078a slli a5,a5,0x2
|
|
3ab4: e000e6b7 lui a3,0xe000e
|
|
3ab8: 97b6 add a5,a5,a3
|
|
3aba: c390 sw a2,0(a5)
|
|
3abc: 4601 li a2,0
|
|
3abe: 4b08 lw a0,16(a4)
|
|
3ac0: 52500593 li a1,1317
|
|
3ac4: 7f4010ef jal ra,52b8 <USART_ITConfig>
|
|
3ac8: 4501 li a0,0
|
|
3aca: 8fdfc06f j 3c6 <__riscv_restore_0>
|
|
3ace: 4b54 lw a3,20(a4)
|
|
3ad0: 4605 li a2,1
|
|
3ad2: 0056d793 srli a5,a3,0x5
|
|
3ad6: 04078793 addi a5,a5,64
|
|
3ada: 00d61633 sll a2,a2,a3
|
|
3ade: 078a slli a5,a5,0x2
|
|
3ae0: e000e6b7 lui a3,0xe000e
|
|
3ae4: 97b6 add a5,a5,a3
|
|
3ae6: c390 sw a2,0(a5)
|
|
3ae8: 4605 li a2,1
|
|
3aea: bfd1 j 3abe <ch32_control+0x2e>
|
|
|
|
00003aec <USART1_IRQHandler>:
|
|
3aec: 1141 addi sp,sp,-16
|
|
3aee: c622 sw s0,12(sp)
|
|
3af0: c426 sw s1,8(sp)
|
|
3af2: 34011173 csrrw sp,mscratch,sp
|
|
3af6: 856fd0ef jal ra,b4c <rt_interrupt_enter>
|
|
3afa: d6c18793 addi a5,gp,-660 # 20000814 <serial1>
|
|
3afe: 43a0 lw s0,64(a5)
|
|
3b00: 52500593 li a1,1317
|
|
3b04: 4808 lw a0,16(s0)
|
|
3b06: 003010ef jal ra,5308 <USART_GetITStatus>
|
|
3b0a: c919 beqz a0,3b20 <USART1_IRQHandler+0x34>
|
|
3b0c: 4585 li a1,1
|
|
3b0e: d6c18513 addi a0,gp,-660 # 20000814 <serial1>
|
|
3b12: d54ff0ef jal ra,3066 <rt_hw_serial_isr>
|
|
3b16: 4808 lw a0,16(s0)
|
|
3b18: 52500593 li a1,1317
|
|
3b1c: 029010ef jal ra,5344 <USART_ClearITPendingBit>
|
|
3b20: 85afd0ef jal ra,b7a <rt_interrupt_leave>
|
|
3b24: 34011173 csrrw sp,mscratch,sp
|
|
3b28: 4432 lw s0,12(sp)
|
|
3b2a: 44a2 lw s1,8(sp)
|
|
3b2c: 0141 addi sp,sp,16
|
|
3b2e: 30200073 mret
|
|
|
|
00003b32 <NMI_Handler>:
|
|
3b32: 34011173 csrrw sp,mscratch,sp
|
|
3b36: 816fd0ef jal ra,b4c <rt_interrupt_enter>
|
|
3b3a: 00007537 lui a0,0x7
|
|
3b3e: 16050513 addi a0,a0,352 # 7160 <ch32_uart_ops+0x20>
|
|
3b42: f7afd0ef jal ra,12bc <rt_kprintf>
|
|
3b46: 834fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
3b4a: 34011173 csrrw sp,mscratch,sp
|
|
3b4e: 30200073 mret
|
|
|
|
00003b52 <HardFault_Handler>:
|
|
3b52: 34011173 csrrw sp,mscratch,sp
|
|
3b56: ff7fc0ef jal ra,b4c <rt_interrupt_enter>
|
|
3b5a: 00007537 lui a0,0x7
|
|
3b5e: 15450513 addi a0,a0,340 # 7154 <ch32_uart_ops+0x14>
|
|
3b62: f5afd0ef jal ra,12bc <rt_kprintf>
|
|
3b66: 814fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
3b6a: 34011173 csrrw sp,mscratch,sp
|
|
3b6e: 30200073 mret
|
|
|
|
00003b72 <main>:
|
|
3b72: 831fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3b76: 00007537 lui a0,0x7
|
|
3b7a: 17050513 addi a0,a0,368 # 7170 <ch32_uart_ops+0x30>
|
|
3b7e: f3efd0ef jal ra,12bc <rt_kprintf>
|
|
3b82: 2ae5 jal 3d7a <SystemCoreClockUpdate>
|
|
3b84: 200007b7 lui a5,0x20000
|
|
3b88: 2a87a583 lw a1,680(a5) # 200002a8 <SystemCoreClock>
|
|
3b8c: 00007537 lui a0,0x7
|
|
3b90: 18450513 addi a0,a0,388 # 7184 <ch32_uart_ops+0x44>
|
|
3b94: f28fd0ef jal ra,12bc <rt_kprintf>
|
|
3b98: 2de010ef jal ra,4e76 <DBGMCU_GetCHIPID>
|
|
3b9c: 85aa mv a1,a0
|
|
3b9e: 00007537 lui a0,0x7
|
|
3ba2: 19450513 addi a0,a0,404 # 7194 <ch32_uart_ops+0x54>
|
|
3ba6: f16fd0ef jal ra,12bc <rt_kprintf>
|
|
3baa: 2021 jal 3bb2 <app_star>
|
|
3bac: 4501 li a0,0
|
|
3bae: 819fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003bb2 <app_star>:
|
|
3bb2: ff0fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3bb6: 7b2010ef jal ra,5368 <android_PowerCtrl_Init>
|
|
3bba: 7c2010ef jal ra,537c <android_PowerKey_Init>
|
|
3bbe: 7ce010ef jal ra,538c <android_PowerKey_Rest>
|
|
3bc2: 00007537 lui a0,0x7
|
|
3bc6: 1a450513 addi a0,a0,420 # 71a4 <ch32_uart_ops+0x64>
|
|
3bca: ef2fd0ef jal ra,12bc <rt_kprintf>
|
|
3bce: 066010ef jal ra,4c34 <uart_all_dev_init>
|
|
3bd2: 72b000ef jal ra,4afc <Send_mq_Init>
|
|
3bd6: 6489 lui s1,0x2
|
|
3bd8: 6cd000ef jal ra,4aa4 <Recv_thread_Init>
|
|
3bdc: 6f5000ef jal ra,4ad0 <Send_thread_Init>
|
|
3be0: 58048513 addi a0,s1,1408 # 2580 <msh_help+0x26>
|
|
3be4: 6405 lui s0,0x1
|
|
3be6: 007010ef jal ra,53ec <J1_485_Init>
|
|
3bea: 7de010ef jal ra,53c8 <J1_PWR_Open>
|
|
3bee: 38840513 addi a0,s0,904 # 1388 <__rt_ffs+0x26>
|
|
3bf2: ffffd0ef jal ra,1bf0 <rt_thread_mdelay>
|
|
3bf6: 58048513 addi a0,s1,1408
|
|
3bfa: 0c3010ef jal ra,54bc <J2_485_Init>
|
|
3bfe: 09b010ef jal ra,5498 <J2_PWR_Open>
|
|
3c02: 38840513 addi a0,s0,904
|
|
3c06: febfd0ef jal ra,1bf0 <rt_thread_mdelay>
|
|
3c0a: 58048513 addi a0,s1,1408
|
|
3c0e: 17f010ef jal ra,558c <J3_485_Init>
|
|
3c12: 157010ef jal ra,5568 <J3_PWR_Open>
|
|
3c16: 38840513 addi a0,s0,904
|
|
3c1a: fd7fd0ef jal ra,1bf0 <rt_thread_mdelay>
|
|
3c1e: 58048513 addi a0,s1,1408
|
|
3c22: 22d010ef jal ra,564e <J4_485_Init>
|
|
3c26: 217010ef jal ra,563c <J4_PWR_Open>
|
|
3c2a: 38840513 addi a0,s0,904
|
|
3c2e: fc3fd0ef jal ra,1bf0 <rt_thread_mdelay>
|
|
3c32: 58048513 addi a0,s1,1408
|
|
3c36: 2ed010ef jal ra,5722 <J5_0_485_Init>
|
|
3c3a: 48f010ef jal ra,58c8 <J5_PWR_Open>
|
|
3c3e: 38840513 addi a0,s0,904
|
|
3c42: faffd0ef jal ra,1bf0 <rt_thread_mdelay>
|
|
3c46: 495010ef jal ra,58da <J6_PWR_Open>
|
|
3c4a: 38840513 addi a0,s0,904
|
|
3c4e: fa3fd0ef jal ra,1bf0 <rt_thread_mdelay>
|
|
3c52: 49b010ef jal ra,58ec <J7_PWR_Open>
|
|
3c56: 38840513 addi a0,s0,904
|
|
3c5a: f97fd0ef jal ra,1bf0 <rt_thread_mdelay>
|
|
3c5e: 4a1010ef jal ra,58fe <J8_PWR_Open>
|
|
3c62: 38840513 addi a0,s0,904
|
|
3c66: f8bfd0ef jal ra,1bf0 <rt_thread_mdelay>
|
|
3c6a: 4a7010ef jal ra,5910 <J9_PWR_Open>
|
|
3c6e: 38840513 addi a0,s0,904
|
|
3c72: f7ffd0ef jal ra,1bf0 <rt_thread_mdelay>
|
|
3c76: 3e800513 li a0,1000
|
|
3c7a: f6dfd0ef jal ra,1be6 <rt_thread_delay>
|
|
3c7e: bfe5 j 3c76 <app_star+0xc4>
|
|
|
|
00003c80 <SystemInit>:
|
|
3c80: 400217b7 lui a5,0x40021
|
|
3c84: 4398 lw a4,0(a5)
|
|
3c86: f0ff06b7 lui a3,0xf0ff0
|
|
3c8a: 1141 addi sp,sp,-16
|
|
3c8c: 00176713 ori a4,a4,1
|
|
3c90: c398 sw a4,0(a5)
|
|
3c92: 43d8 lw a4,4(a5)
|
|
3c94: 00020637 lui a2,0x20
|
|
3c98: 8f75 and a4,a4,a3
|
|
3c9a: c3d8 sw a4,4(a5)
|
|
3c9c: 4398 lw a4,0(a5)
|
|
3c9e: fef706b7 lui a3,0xfef70
|
|
3ca2: 16fd addi a3,a3,-1
|
|
3ca4: 8f75 and a4,a4,a3
|
|
3ca6: c398 sw a4,0(a5)
|
|
3ca8: 4398 lw a4,0(a5)
|
|
3caa: fffc06b7 lui a3,0xfffc0
|
|
3cae: 16fd addi a3,a3,-1
|
|
3cb0: 8f75 and a4,a4,a3
|
|
3cb2: c398 sw a4,0(a5)
|
|
3cb4: 43d8 lw a4,4(a5)
|
|
3cb6: ff0106b7 lui a3,0xff010
|
|
3cba: 16fd addi a3,a3,-1
|
|
3cbc: 8f75 and a4,a4,a3
|
|
3cbe: c3d8 sw a4,4(a5)
|
|
3cc0: 4398 lw a4,0(a5)
|
|
3cc2: ec0006b7 lui a3,0xec000
|
|
3cc6: 16fd addi a3,a3,-1
|
|
3cc8: 8f75 and a4,a4,a3
|
|
3cca: c398 sw a4,0(a5)
|
|
3ccc: 00ff0737 lui a4,0xff0
|
|
3cd0: c798 sw a4,8(a5)
|
|
3cd2: 0207a623 sw zero,44(a5) # 4002102c <_eusrstack+0x2001102c>
|
|
3cd6: c402 sw zero,8(sp)
|
|
3cd8: c602 sw zero,12(sp)
|
|
3cda: 4398 lw a4,0(a5)
|
|
3cdc: 66c1 lui a3,0x10
|
|
3cde: 8f55 or a4,a4,a3
|
|
3ce0: c398 sw a4,0(a5)
|
|
3ce2: 400216b7 lui a3,0x40021
|
|
3ce6: 6705 lui a4,0x1
|
|
3ce8: 429c lw a5,0(a3)
|
|
3cea: 8ff1 and a5,a5,a2
|
|
3cec: c63e sw a5,12(sp)
|
|
3cee: 47a2 lw a5,8(sp)
|
|
3cf0: 0785 addi a5,a5,1
|
|
3cf2: c43e sw a5,8(sp)
|
|
3cf4: 47b2 lw a5,12(sp)
|
|
3cf6: e781 bnez a5,3cfe <SystemInit+0x7e>
|
|
3cf8: 47a2 lw a5,8(sp)
|
|
3cfa: fee797e3 bne a5,a4,3ce8 <SystemInit+0x68>
|
|
3cfe: 400217b7 lui a5,0x40021
|
|
3d02: 439c lw a5,0(a5)
|
|
3d04: 00e79713 slli a4,a5,0xe
|
|
3d08: 06075763 bgez a4,3d76 <SystemInit+0xf6>
|
|
3d0c: 4785 li a5,1
|
|
3d0e: c63e sw a5,12(sp)
|
|
3d10: 4732 lw a4,12(sp)
|
|
3d12: 4785 li a5,1
|
|
3d14: 04f71f63 bne a4,a5,3d72 <SystemInit+0xf2>
|
|
3d18: 400217b7 lui a5,0x40021
|
|
3d1c: 43d8 lw a4,4(a5)
|
|
3d1e: ffc106b7 lui a3,0xffc10
|
|
3d22: 16fd addi a3,a3,-1
|
|
3d24: c3d8 sw a4,4(a5)
|
|
3d26: 43d8 lw a4,4(a5)
|
|
3d28: c3d8 sw a4,4(a5)
|
|
3d2a: 43d8 lw a4,4(a5)
|
|
3d2c: 40076713 ori a4,a4,1024
|
|
3d30: c3d8 sw a4,4(a5)
|
|
3d32: 43d8 lw a4,4(a5)
|
|
3d34: 8f75 and a4,a4,a3
|
|
3d36: c3d8 sw a4,4(a5)
|
|
3d38: 43d8 lw a4,4(a5)
|
|
3d3a: 002906b7 lui a3,0x290
|
|
3d3e: 8f55 or a4,a4,a3
|
|
3d40: c3d8 sw a4,4(a5)
|
|
3d42: 4398 lw a4,0(a5)
|
|
3d44: 010006b7 lui a3,0x1000
|
|
3d48: 8f55 or a4,a4,a3
|
|
3d4a: c398 sw a4,0(a5)
|
|
3d4c: 4398 lw a4,0(a5)
|
|
3d4e: 00671693 slli a3,a4,0x6
|
|
3d52: fe06dde3 bgez a3,3d4c <SystemInit+0xcc>
|
|
3d56: 43d8 lw a4,4(a5)
|
|
3d58: 400216b7 lui a3,0x40021
|
|
3d5c: 9b71 andi a4,a4,-4
|
|
3d5e: c3d8 sw a4,4(a5)
|
|
3d60: 43d8 lw a4,4(a5)
|
|
3d62: 00276713 ori a4,a4,2
|
|
3d66: c3d8 sw a4,4(a5)
|
|
3d68: 4721 li a4,8
|
|
3d6a: 42dc lw a5,4(a3)
|
|
3d6c: 8bb1 andi a5,a5,12
|
|
3d6e: fee79ee3 bne a5,a4,3d6a <SystemInit+0xea>
|
|
3d72: 0141 addi sp,sp,16
|
|
3d74: 8082 ret
|
|
3d76: c602 sw zero,12(sp)
|
|
3d78: bf61 j 3d10 <SystemInit+0x90>
|
|
|
|
00003d7a <SystemCoreClockUpdate>:
|
|
3d7a: 400216b7 lui a3,0x40021
|
|
3d7e: 42d8 lw a4,4(a3)
|
|
3d80: 200007b7 lui a5,0x20000
|
|
3d84: 4611 li a2,4
|
|
3d86: 8b31 andi a4,a4,12
|
|
3d88: 2a878793 addi a5,a5,680 # 200002a8 <SystemCoreClock>
|
|
3d8c: 00c70563 beq a4,a2,3d96 <SystemCoreClockUpdate+0x1c>
|
|
3d90: 4621 li a2,8
|
|
3d92: 02c70863 beq a4,a2,3dc2 <SystemCoreClockUpdate+0x48>
|
|
3d96: 007a1737 lui a4,0x7a1
|
|
3d9a: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
|
|
3d9e: c398 sw a4,0(a5)
|
|
3da0: 40021737 lui a4,0x40021
|
|
3da4: 4358 lw a4,4(a4)
|
|
3da6: 8311 srli a4,a4,0x4
|
|
3da8: 00f77693 andi a3,a4,15
|
|
3dac: 20000737 lui a4,0x20000
|
|
3db0: 14070713 addi a4,a4,320 # 20000140 <AHBPrescTable>
|
|
3db4: 9736 add a4,a4,a3
|
|
3db6: 2314 lbu a3,0(a4)
|
|
3db8: 4398 lw a4,0(a5)
|
|
3dba: 00d75733 srl a4,a4,a3
|
|
3dbe: c398 sw a4,0(a5)
|
|
3dc0: 8082 ret
|
|
3dc2: 42d8 lw a4,4(a3)
|
|
3dc4: 42d4 lw a3,4(a3)
|
|
3dc6: 6641 lui a2,0x10
|
|
3dc8: 8349 srli a4,a4,0x12
|
|
3dca: 8b3d andi a4,a4,15
|
|
3dcc: 8ef1 and a3,a3,a2
|
|
3dce: 00270613 addi a2,a4,2
|
|
3dd2: cf15 beqz a4,3e0e <SystemCoreClockUpdate+0x94>
|
|
3dd4: 473d li a4,15
|
|
3dd6: 02e60f63 beq a2,a4,3e14 <SystemCoreClockUpdate+0x9a>
|
|
3dda: 4741 li a4,16
|
|
3ddc: 02e60f63 beq a2,a4,3e1a <SystemCoreClockUpdate+0xa0>
|
|
3de0: 4745 li a4,17
|
|
3de2: 4581 li a1,0
|
|
3de4: 00e61363 bne a2,a4,3dea <SystemCoreClockUpdate+0x70>
|
|
3de8: 4641 li a2,16
|
|
3dea: e2a1 bnez a3,3e2a <SystemCoreClockUpdate+0xb0>
|
|
3dec: 40024737 lui a4,0x40024
|
|
3df0: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x20013800>
|
|
3df4: 8b41 andi a4,a4,16
|
|
3df6: c70d beqz a4,3e20 <SystemCoreClockUpdate+0xa6>
|
|
3df8: 007a1737 lui a4,0x7a1
|
|
3dfc: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
|
|
3e00: 02c70633 mul a2,a4,a2
|
|
3e04: c390 sw a2,0(a5)
|
|
3e06: ddc9 beqz a1,3da0 <SystemCoreClockUpdate+0x26>
|
|
3e08: 4398 lw a4,0(a5)
|
|
3e0a: 8305 srli a4,a4,0x1
|
|
3e0c: bf49 j 3d9e <SystemCoreClockUpdate+0x24>
|
|
3e0e: 4581 li a1,0
|
|
3e10: 4649 li a2,18
|
|
3e12: bfe1 j 3dea <SystemCoreClockUpdate+0x70>
|
|
3e14: 4585 li a1,1
|
|
3e16: 4635 li a2,13
|
|
3e18: bfc9 j 3dea <SystemCoreClockUpdate+0x70>
|
|
3e1a: 4581 li a1,0
|
|
3e1c: 463d li a2,15
|
|
3e1e: b7f1 j 3dea <SystemCoreClockUpdate+0x70>
|
|
3e20: 003d1737 lui a4,0x3d1
|
|
3e24: 90070713 addi a4,a4,-1792 # 3d0900 <__stack_size+0x3c8900>
|
|
3e28: bfe1 j 3e00 <SystemCoreClockUpdate+0x86>
|
|
3e2a: 40021537 lui a0,0x40021
|
|
3e2e: 5558 lw a4,44(a0)
|
|
3e30: 00f71693 slli a3,a4,0xf
|
|
3e34: 5558 lw a4,44(a0)
|
|
3e36: 0406df63 bgez a3,3e94 <SystemCoreClockUpdate+0x11a>
|
|
3e3a: 8311 srli a4,a4,0x4
|
|
3e3c: 8b3d andi a4,a4,15
|
|
3e3e: 00170693 addi a3,a4,1
|
|
3e42: 007a1737 lui a4,0x7a1
|
|
3e46: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
|
|
3e4a: 02d75733 divu a4,a4,a3
|
|
3e4e: c398 sw a4,0(a5)
|
|
3e50: 5554 lw a3,44(a0)
|
|
3e52: 82a1 srli a3,a3,0x8
|
|
3e54: 8abd andi a3,a3,15
|
|
3e56: e28d bnez a3,3e78 <SystemCoreClockUpdate+0xfe>
|
|
3e58: 4695 li a3,5
|
|
3e5a: 02d70733 mul a4,a4,a3
|
|
3e5e: 8305 srli a4,a4,0x1
|
|
3e60: c398 sw a4,0(a5)
|
|
3e62: 40021737 lui a4,0x40021
|
|
3e66: 5758 lw a4,44(a4)
|
|
3e68: 4394 lw a3,0(a5)
|
|
3e6a: 8b3d andi a4,a4,15
|
|
3e6c: 0705 addi a4,a4,1
|
|
3e6e: 02e6d733 divu a4,a3,a4
|
|
3e72: c398 sw a4,0(a5)
|
|
3e74: 4398 lw a4,0(a5)
|
|
3e76: b769 j 3e00 <SystemCoreClockUpdate+0x86>
|
|
3e78: 4505 li a0,1
|
|
3e7a: 00a69463 bne a3,a0,3e82 <SystemCoreClockUpdate+0x108>
|
|
3e7e: 46e5 li a3,25
|
|
3e80: bfe9 j 3e5a <SystemCoreClockUpdate+0xe0>
|
|
3e82: 453d li a0,15
|
|
3e84: 00a69663 bne a3,a0,3e90 <SystemCoreClockUpdate+0x116>
|
|
3e88: 46d1 li a3,20
|
|
3e8a: 02e68733 mul a4,a3,a4
|
|
3e8e: bfc9 j 3e60 <SystemCoreClockUpdate+0xe6>
|
|
3e90: 0689 addi a3,a3,2
|
|
3e92: bfe5 j 3e8a <SystemCoreClockUpdate+0x110>
|
|
3e94: 8b3d andi a4,a4,15
|
|
3e96: 00170693 addi a3,a4,1 # 40021001 <_eusrstack+0x20011001>
|
|
3e9a: 007a1737 lui a4,0x7a1
|
|
3e9e: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
|
|
3ea2: 02d75733 divu a4,a4,a3
|
|
3ea6: b7f1 j 3e72 <SystemCoreClockUpdate+0xf8>
|
|
|
|
00003ea8 <ADC1_2_IRQHandler>:
|
|
3ea8: a001 j 3ea8 <ADC1_2_IRQHandler>
|
|
|
|
00003eaa <handle_reset>:
|
|
3eaa: 34129073 csrw mepc,t0
|
|
3eae: 1fffd197 auipc gp,0x1fffd
|
|
3eb2: bfa18193 addi gp,gp,-1030 # 20000aa8 <__global_pointer$>
|
|
3eb6: 2000c117 auipc sp,0x2000c
|
|
3eba: 14a10113 addi sp,sp,330 # 20010000 <_eusrstack>
|
|
3ebe: 00003517 auipc a0,0x3
|
|
3ec2: 63250513 addi a0,a0,1586 # 74f0 <__rt_init_end>
|
|
3ec6: 1fffc597 auipc a1,0x1fffc
|
|
3eca: 13a58593 addi a1,a1,314 # 20000000 <_data_vma>
|
|
3ece: 80818613 addi a2,gp,-2040 # 200002b0 <_edata>
|
|
3ed2: 00c5fa63 bgeu a1,a2,3ee6 <handle_reset+0x3c>
|
|
3ed6: 00052283 lw t0,0(a0)
|
|
3eda: 0055a023 sw t0,0(a1)
|
|
3ede: 0511 addi a0,a0,4
|
|
3ee0: 0591 addi a1,a1,4
|
|
3ee2: fec5eae3 bltu a1,a2,3ed6 <handle_reset+0x2c>
|
|
3ee6: 80818513 addi a0,gp,-2040 # 200002b0 <_edata>
|
|
3eea: 1ac18593 addi a1,gp,428 # 20000c54 <_ebss>
|
|
3eee: 00b57763 bgeu a0,a1,3efc <handle_reset+0x52>
|
|
3ef2: 00052023 sw zero,0(a0)
|
|
3ef6: 0511 addi a0,a0,4
|
|
3ef8: feb56de3 bltu a0,a1,3ef2 <handle_reset+0x48>
|
|
3efc: 42fd li t0,31
|
|
3efe: bc029073 csrw 0xbc0,t0
|
|
3f02: 42fd li t0,31
|
|
3f04: 80429073 csrw 0x804,t0
|
|
3f08: 000082b7 lui t0,0x8
|
|
3f0c: 80028293 addi t0,t0,-2048 # 7800 <__rt_init_end+0x310>
|
|
3f10: 30029073 csrw mstatus,t0
|
|
3f14: ffffc297 auipc t0,0xffffc
|
|
3f18: 0f028293 addi t0,t0,240 # 4 <_einit>
|
|
3f1c: 0032e293 ori t0,t0,3
|
|
3f20: 30529073 csrw mtvec,t0
|
|
3f24: d5dff0ef jal ra,3c80 <SystemInit>
|
|
3f28: ffffc297 auipc t0,0xffffc
|
|
3f2c: 65028293 addi t0,t0,1616 # 578 <entry>
|
|
3f30: 34129073 csrw mepc,t0
|
|
3f34: 30200073 mret
|
|
|
|
00003f38 <SL_MsgProcFuncReadSensor_Remote_Upgrade>:
|
|
3f38: c6afc2ef jal t0,3a2 <__riscv_save_0>
|
|
3f3c: 842a mv s0,a0
|
|
3f3e: 84b2 mv s1,a2
|
|
3f40: 892e mv s2,a1
|
|
3f42: 03400613 li a2,52
|
|
3f46: 4581 li a1,0
|
|
3f48: e7818513 addi a0,gp,-392 # 20000920 <MqUartSend_pack+0x4>
|
|
3f4c: c86fc0ef jal ra,3d2 <memset>
|
|
3f50: 8d01a783 lw a5,-1840(gp) # 20000378 <g_Upward_UART5_handle>
|
|
3f54: e7418713 addi a4,gp,-396 # 2000091c <MqUartSend_pack>
|
|
3f58: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
3f5c: 00548793 addi a5,s1,5
|
|
3f60: b35c sb a5,5(a4)
|
|
3f62: 200007b7 lui a5,0x20000
|
|
3f66: 1a078793 addi a5,a5,416 # 200001a0 <g_slConfigInfo>
|
|
3f6a: 27b4 lbu a3,10(a5)
|
|
3f6c: 37bc lbu a5,11(a5)
|
|
3f6e: e7418613 addi a2,gp,-396 # 2000091c <MqUartSend_pack>
|
|
3f72: a374 sb a3,6(a4)
|
|
3f74: b37c sb a5,7(a4)
|
|
3f76: 8b81a783 lw a5,-1864(gp) # 20000360 <g_J1RS485_UART6_handle>
|
|
3f7a: 04879263 bne a5,s0,3fbe <SL_MsgProcFuncReadSensor_Remote_Upgrade+0x86>
|
|
3f7e: 10600793 li a5,262
|
|
3f82: a61e sh a5,8(a2)
|
|
3f84: 4781 li a5,0
|
|
3f86: 0897e163 bltu a5,s1,4008 <SL_MsgProcFuncReadSensor_Remote_Upgrade+0xd0>
|
|
3f8a: 9626 add a2,a2,s1
|
|
3f8c: 47dd li a5,23
|
|
3f8e: a63c sb a5,10(a2)
|
|
3f90: 8b01a503 lw a0,-1872(gp) # 20000358 <mqSend>
|
|
3f94: 03800613 li a2,56
|
|
3f98: e7418593 addi a1,gp,-396 # 2000091c <MqUartSend_pack>
|
|
3f9c: a25fc0ef jal ra,9c0 <rt_mq_send>
|
|
3fa0: c519 beqz a0,3fae <SL_MsgProcFuncReadSensor_Remote_Upgrade+0x76>
|
|
3fa2: 00007537 lui a0,0x7
|
|
3fa6: 31850513 addi a0,a0,792 # 7318 <ch32_uart_ops+0x1d8>
|
|
3faa: b12fd0ef jal ra,12bc <rt_kprintf>
|
|
3fae: 00007537 lui a0,0x7
|
|
3fb2: 32850513 addi a0,a0,808 # 7328 <ch32_uart_ops+0x1e8>
|
|
3fb6: b06fd0ef jal ra,12bc <rt_kprintf>
|
|
3fba: c0cfc06f j 3c6 <__riscv_restore_0>
|
|
3fbe: 8bc1a783 lw a5,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
3fc2: 00879563 bne a5,s0,3fcc <SL_MsgProcFuncReadSensor_Remote_Upgrade+0x94>
|
|
3fc6: 10700793 li a5,263
|
|
3fca: bf65 j 3f82 <SL_MsgProcFuncReadSensor_Remote_Upgrade+0x4a>
|
|
3fcc: 8c01a783 lw a5,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
3fd0: 00879563 bne a5,s0,3fda <SL_MsgProcFuncReadSensor_Remote_Upgrade+0xa2>
|
|
3fd4: 10200793 li a5,258
|
|
3fd8: b76d j 3f82 <SL_MsgProcFuncReadSensor_Remote_Upgrade+0x4a>
|
|
3fda: 8c41a783 lw a5,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
3fde: 00879563 bne a5,s0,3fe8 <SL_MsgProcFuncReadSensor_Remote_Upgrade+0xb0>
|
|
3fe2: 10800793 li a5,264
|
|
3fe6: bf71 j 3f82 <SL_MsgProcFuncReadSensor_Remote_Upgrade+0x4a>
|
|
3fe8: 8c81a783 lw a5,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
3fec: 00879763 bne a5,s0,3ffa <SL_MsgProcFuncReadSensor_Remote_Upgrade+0xc2>
|
|
3ff0: 470d li a4,3
|
|
3ff2: a618 sb a4,8(a2)
|
|
3ff4: 4fdc lw a5,28(a5)
|
|
3ff6: b61c sb a5,9(a2)
|
|
3ff8: b771 j 3f84 <SL_MsgProcFuncReadSensor_Remote_Upgrade+0x4c>
|
|
3ffa: 8cc1a783 lw a5,-1844(gp) # 20000374 <g_LORA_UART4_handle>
|
|
3ffe: f88793e3 bne a5,s0,3f84 <SL_MsgProcFuncReadSensor_Remote_Upgrade+0x4c>
|
|
4002: 10400793 li a5,260
|
|
4006: bfb5 j 3f82 <SL_MsgProcFuncReadSensor_Remote_Upgrade+0x4a>
|
|
4008: 00f90733 add a4,s2,a5
|
|
400c: 2314 lbu a3,0(a4)
|
|
400e: 00f60733 add a4,a2,a5
|
|
4012: 0785 addi a5,a5,1
|
|
4014: a734 sb a3,10(a4)
|
|
4016: 0ff7f793 andi a5,a5,255
|
|
401a: b7b5 j 3f86 <SL_MsgProcFuncReadSensor_Remote_Upgrade+0x4e>
|
|
|
|
0000401c <SL_MsgProcFuncReadSensor_Update_Profile>:
|
|
401c: b86fc2ef jal t0,3a2 <__riscv_save_0>
|
|
4020: 842a mv s0,a0
|
|
4022: 84b2 mv s1,a2
|
|
4024: 892e mv s2,a1
|
|
4026: 03400613 li a2,52
|
|
402a: 4581 li a1,0
|
|
402c: e7818513 addi a0,gp,-392 # 20000920 <MqUartSend_pack+0x4>
|
|
4030: ba2fc0ef jal ra,3d2 <memset>
|
|
4034: 8d01a783 lw a5,-1840(gp) # 20000378 <g_Upward_UART5_handle>
|
|
4038: e7418713 addi a4,gp,-396 # 2000091c <MqUartSend_pack>
|
|
403c: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
4040: 00548793 addi a5,s1,5
|
|
4044: b35c sb a5,5(a4)
|
|
4046: 200007b7 lui a5,0x20000
|
|
404a: 1a078793 addi a5,a5,416 # 200001a0 <g_slConfigInfo>
|
|
404e: 27b4 lbu a3,10(a5)
|
|
4050: 37bc lbu a5,11(a5)
|
|
4052: e7418613 addi a2,gp,-396 # 2000091c <MqUartSend_pack>
|
|
4056: a374 sb a3,6(a4)
|
|
4058: b37c sb a5,7(a4)
|
|
405a: 8b81a783 lw a5,-1864(gp) # 20000360 <g_J1RS485_UART6_handle>
|
|
405e: 04879263 bne a5,s0,40a2 <SL_MsgProcFuncReadSensor_Update_Profile+0x86>
|
|
4062: 10600793 li a5,262
|
|
4066: a61e sh a5,8(a2)
|
|
4068: 4781 li a5,0
|
|
406a: 0897e163 bltu a5,s1,40ec <SL_MsgProcFuncReadSensor_Update_Profile+0xd0>
|
|
406e: 9626 add a2,a2,s1
|
|
4070: 47dd li a5,23
|
|
4072: a63c sb a5,10(a2)
|
|
4074: 8b01a503 lw a0,-1872(gp) # 20000358 <mqSend>
|
|
4078: 03800613 li a2,56
|
|
407c: e7418593 addi a1,gp,-396 # 2000091c <MqUartSend_pack>
|
|
4080: 941fc0ef jal ra,9c0 <rt_mq_send>
|
|
4084: c519 beqz a0,4092 <SL_MsgProcFuncReadSensor_Update_Profile+0x76>
|
|
4086: 00007537 lui a0,0x7
|
|
408a: 31850513 addi a0,a0,792 # 7318 <ch32_uart_ops+0x1d8>
|
|
408e: a2efd0ef jal ra,12bc <rt_kprintf>
|
|
4092: 00007537 lui a0,0x7
|
|
4096: 34850513 addi a0,a0,840 # 7348 <ch32_uart_ops+0x208>
|
|
409a: a22fd0ef jal ra,12bc <rt_kprintf>
|
|
409e: b28fc06f j 3c6 <__riscv_restore_0>
|
|
40a2: 8bc1a783 lw a5,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
40a6: 00879563 bne a5,s0,40b0 <SL_MsgProcFuncReadSensor_Update_Profile+0x94>
|
|
40aa: 10700793 li a5,263
|
|
40ae: bf65 j 4066 <SL_MsgProcFuncReadSensor_Update_Profile+0x4a>
|
|
40b0: 8c01a783 lw a5,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
40b4: 00879563 bne a5,s0,40be <SL_MsgProcFuncReadSensor_Update_Profile+0xa2>
|
|
40b8: 10200793 li a5,258
|
|
40bc: b76d j 4066 <SL_MsgProcFuncReadSensor_Update_Profile+0x4a>
|
|
40be: 8c41a783 lw a5,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
40c2: 00879563 bne a5,s0,40cc <SL_MsgProcFuncReadSensor_Update_Profile+0xb0>
|
|
40c6: 10800793 li a5,264
|
|
40ca: bf71 j 4066 <SL_MsgProcFuncReadSensor_Update_Profile+0x4a>
|
|
40cc: 8c81a783 lw a5,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
40d0: 00879763 bne a5,s0,40de <SL_MsgProcFuncReadSensor_Update_Profile+0xc2>
|
|
40d4: 470d li a4,3
|
|
40d6: a618 sb a4,8(a2)
|
|
40d8: 4fdc lw a5,28(a5)
|
|
40da: b61c sb a5,9(a2)
|
|
40dc: b771 j 4068 <SL_MsgProcFuncReadSensor_Update_Profile+0x4c>
|
|
40de: 8cc1a783 lw a5,-1844(gp) # 20000374 <g_LORA_UART4_handle>
|
|
40e2: f88793e3 bne a5,s0,4068 <SL_MsgProcFuncReadSensor_Update_Profile+0x4c>
|
|
40e6: 10400793 li a5,260
|
|
40ea: bfb5 j 4066 <SL_MsgProcFuncReadSensor_Update_Profile+0x4a>
|
|
40ec: 00f90733 add a4,s2,a5
|
|
40f0: 2314 lbu a3,0(a4)
|
|
40f2: 00f60733 add a4,a2,a5
|
|
40f6: 0785 addi a5,a5,1
|
|
40f8: a734 sb a3,10(a4)
|
|
40fa: 0ff7f793 andi a5,a5,255
|
|
40fe: b7b5 j 406a <SL_MsgProcFuncReadSensor_Update_Profile+0x4e>
|
|
|
|
00004100 <SL_MsgProcFuncReadSensor_Registration_request>:
|
|
4100: aa2fc2ef jal t0,3a2 <__riscv_save_0>
|
|
4104: 842a mv s0,a0
|
|
4106: 84b2 mv s1,a2
|
|
4108: 892e mv s2,a1
|
|
410a: 03400613 li a2,52
|
|
410e: 4581 li a1,0
|
|
4110: e7818513 addi a0,gp,-392 # 20000920 <MqUartSend_pack+0x4>
|
|
4114: abefc0ef jal ra,3d2 <memset>
|
|
4118: 8d01a783 lw a5,-1840(gp) # 20000378 <g_Upward_UART5_handle>
|
|
411c: e7418713 addi a4,gp,-396 # 2000091c <MqUartSend_pack>
|
|
4120: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
4124: 00548793 addi a5,s1,5
|
|
4128: b35c sb a5,5(a4)
|
|
412a: 200007b7 lui a5,0x20000
|
|
412e: 1a078793 addi a5,a5,416 # 200001a0 <g_slConfigInfo>
|
|
4132: 27b4 lbu a3,10(a5)
|
|
4134: 37bc lbu a5,11(a5)
|
|
4136: e7418613 addi a2,gp,-396 # 2000091c <MqUartSend_pack>
|
|
413a: a374 sb a3,6(a4)
|
|
413c: b37c sb a5,7(a4)
|
|
413e: 8b81a783 lw a5,-1864(gp) # 20000360 <g_J1RS485_UART6_handle>
|
|
4142: 02879c63 bne a5,s0,417a <SL_MsgProcFuncReadSensor_Registration_request+0x7a>
|
|
4146: 10600793 li a5,262
|
|
414a: a61e sh a5,8(a2)
|
|
414c: 4781 li a5,0
|
|
414e: 0697eb63 bltu a5,s1,41c4 <SL_MsgProcFuncReadSensor_Registration_request+0xc4>
|
|
4152: 9626 add a2,a2,s1
|
|
4154: 47dd li a5,23
|
|
4156: a63c sb a5,10(a2)
|
|
4158: 8b01a503 lw a0,-1872(gp) # 20000358 <mqSend>
|
|
415c: 03800613 li a2,56
|
|
4160: e7418593 addi a1,gp,-396 # 2000091c <MqUartSend_pack>
|
|
4164: 85dfc0ef jal ra,9c0 <rt_mq_send>
|
|
4168: c519 beqz a0,4176 <SL_MsgProcFuncReadSensor_Registration_request+0x76>
|
|
416a: 00007537 lui a0,0x7
|
|
416e: 31850513 addi a0,a0,792 # 7318 <ch32_uart_ops+0x1d8>
|
|
4172: 94afd0ef jal ra,12bc <rt_kprintf>
|
|
4176: a50fc06f j 3c6 <__riscv_restore_0>
|
|
417a: 8bc1a783 lw a5,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
417e: 00879563 bne a5,s0,4188 <SL_MsgProcFuncReadSensor_Registration_request+0x88>
|
|
4182: 10700793 li a5,263
|
|
4186: b7d1 j 414a <SL_MsgProcFuncReadSensor_Registration_request+0x4a>
|
|
4188: 8c01a783 lw a5,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
418c: 00879563 bne a5,s0,4196 <SL_MsgProcFuncReadSensor_Registration_request+0x96>
|
|
4190: 10200793 li a5,258
|
|
4194: bf5d j 414a <SL_MsgProcFuncReadSensor_Registration_request+0x4a>
|
|
4196: 8c41a783 lw a5,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
419a: 00879563 bne a5,s0,41a4 <SL_MsgProcFuncReadSensor_Registration_request+0xa4>
|
|
419e: 10800793 li a5,264
|
|
41a2: b765 j 414a <SL_MsgProcFuncReadSensor_Registration_request+0x4a>
|
|
41a4: 8c81a783 lw a5,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
41a8: 00879763 bne a5,s0,41b6 <SL_MsgProcFuncReadSensor_Registration_request+0xb6>
|
|
41ac: 470d li a4,3
|
|
41ae: a618 sb a4,8(a2)
|
|
41b0: 4fdc lw a5,28(a5)
|
|
41b2: b61c sb a5,9(a2)
|
|
41b4: bf61 j 414c <SL_MsgProcFuncReadSensor_Registration_request+0x4c>
|
|
41b6: 8cc1a783 lw a5,-1844(gp) # 20000374 <g_LORA_UART4_handle>
|
|
41ba: f88799e3 bne a5,s0,414c <SL_MsgProcFuncReadSensor_Registration_request+0x4c>
|
|
41be: 10400793 li a5,260
|
|
41c2: b761 j 414a <SL_MsgProcFuncReadSensor_Registration_request+0x4a>
|
|
41c4: 00f90733 add a4,s2,a5
|
|
41c8: 2314 lbu a3,0(a4)
|
|
41ca: 00f60733 add a4,a2,a5
|
|
41ce: 0785 addi a5,a5,1
|
|
41d0: a734 sb a3,10(a4)
|
|
41d2: 0ff7f793 andi a5,a5,255
|
|
41d6: bfa5 j 414e <SL_MsgProcFuncReadSensor_Registration_request+0x4e>
|
|
|
|
000041d8 <SL_MsgProcFuncReadSensor_Read_Register>:
|
|
41d8: 9cafc2ef jal t0,3a2 <__riscv_save_0>
|
|
41dc: 842a mv s0,a0
|
|
41de: 84b2 mv s1,a2
|
|
41e0: 892e mv s2,a1
|
|
41e2: 03400613 li a2,52
|
|
41e6: 4581 li a1,0
|
|
41e8: e7818513 addi a0,gp,-392 # 20000920 <MqUartSend_pack+0x4>
|
|
41ec: 9e6fc0ef jal ra,3d2 <memset>
|
|
41f0: 8d01a783 lw a5,-1840(gp) # 20000378 <g_Upward_UART5_handle>
|
|
41f4: e7418713 addi a4,gp,-396 # 2000091c <MqUartSend_pack>
|
|
41f8: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
41fc: 00548793 addi a5,s1,5
|
|
4200: b35c sb a5,5(a4)
|
|
4202: 200007b7 lui a5,0x20000
|
|
4206: 1a078793 addi a5,a5,416 # 200001a0 <g_slConfigInfo>
|
|
420a: 27b4 lbu a3,10(a5)
|
|
420c: 37bc lbu a5,11(a5)
|
|
420e: e7418613 addi a2,gp,-396 # 2000091c <MqUartSend_pack>
|
|
4212: a374 sb a3,6(a4)
|
|
4214: b37c sb a5,7(a4)
|
|
4216: 8b81a783 lw a5,-1864(gp) # 20000360 <g_J1RS485_UART6_handle>
|
|
421a: 04879263 bne a5,s0,425e <SL_MsgProcFuncReadSensor_Read_Register+0x86>
|
|
421e: 10600793 li a5,262
|
|
4222: a61e sh a5,8(a2)
|
|
4224: 4781 li a5,0
|
|
4226: 0897e163 bltu a5,s1,42a8 <SL_MsgProcFuncReadSensor_Read_Register+0xd0>
|
|
422a: 9626 add a2,a2,s1
|
|
422c: 47dd li a5,23
|
|
422e: a63c sb a5,10(a2)
|
|
4230: 8b01a503 lw a0,-1872(gp) # 20000358 <mqSend>
|
|
4234: 03800613 li a2,56
|
|
4238: e7418593 addi a1,gp,-396 # 2000091c <MqUartSend_pack>
|
|
423c: f84fc0ef jal ra,9c0 <rt_mq_send>
|
|
4240: c519 beqz a0,424e <SL_MsgProcFuncReadSensor_Read_Register+0x76>
|
|
4242: 00007537 lui a0,0x7
|
|
4246: 31850513 addi a0,a0,792 # 7318 <ch32_uart_ops+0x1d8>
|
|
424a: 872fd0ef jal ra,12bc <rt_kprintf>
|
|
424e: 00007537 lui a0,0x7
|
|
4252: 2fc50513 addi a0,a0,764 # 72fc <ch32_uart_ops+0x1bc>
|
|
4256: 866fd0ef jal ra,12bc <rt_kprintf>
|
|
425a: 96cfc06f j 3c6 <__riscv_restore_0>
|
|
425e: 8bc1a783 lw a5,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
4262: 00879563 bne a5,s0,426c <SL_MsgProcFuncReadSensor_Read_Register+0x94>
|
|
4266: 10700793 li a5,263
|
|
426a: bf65 j 4222 <SL_MsgProcFuncReadSensor_Read_Register+0x4a>
|
|
426c: 8c01a783 lw a5,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
4270: 00879563 bne a5,s0,427a <SL_MsgProcFuncReadSensor_Read_Register+0xa2>
|
|
4274: 10200793 li a5,258
|
|
4278: b76d j 4222 <SL_MsgProcFuncReadSensor_Read_Register+0x4a>
|
|
427a: 8c41a783 lw a5,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
427e: 00879563 bne a5,s0,4288 <SL_MsgProcFuncReadSensor_Read_Register+0xb0>
|
|
4282: 10800793 li a5,264
|
|
4286: bf71 j 4222 <SL_MsgProcFuncReadSensor_Read_Register+0x4a>
|
|
4288: 8c81a783 lw a5,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
428c: 00879763 bne a5,s0,429a <SL_MsgProcFuncReadSensor_Read_Register+0xc2>
|
|
4290: 470d li a4,3
|
|
4292: a618 sb a4,8(a2)
|
|
4294: 4fdc lw a5,28(a5)
|
|
4296: b61c sb a5,9(a2)
|
|
4298: b771 j 4224 <SL_MsgProcFuncReadSensor_Read_Register+0x4c>
|
|
429a: 8cc1a783 lw a5,-1844(gp) # 20000374 <g_LORA_UART4_handle>
|
|
429e: f88793e3 bne a5,s0,4224 <SL_MsgProcFuncReadSensor_Read_Register+0x4c>
|
|
42a2: 10400793 li a5,260
|
|
42a6: bfb5 j 4222 <SL_MsgProcFuncReadSensor_Read_Register+0x4a>
|
|
42a8: 00f90733 add a4,s2,a5
|
|
42ac: 2314 lbu a3,0(a4)
|
|
42ae: 00f60733 add a4,a2,a5
|
|
42b2: 0785 addi a5,a5,1
|
|
42b4: a734 sb a3,10(a4)
|
|
42b6: 0ff7f793 andi a5,a5,255
|
|
42ba: b7b5 j 4226 <SL_MsgProcFuncReadSensor_Read_Register+0x4e>
|
|
|
|
000042bc <SL_MsgProcFuncReadIntelligentModule_Remote_Upgrade>:
|
|
42bc: 8ccfc2ef jal t0,388 <__riscv_save_4>
|
|
42c0: 892e mv s2,a1
|
|
42c2: 84b2 mv s1,a2
|
|
42c4: 4581 li a1,0
|
|
42c6: 03800613 li a2,56
|
|
42ca: e7418513 addi a0,gp,-396 # 2000091c <MqUartSend_pack>
|
|
42ce: 904fc0ef jal ra,3d2 <memset>
|
|
42d2: ffc48793 addi a5,s1,-4
|
|
42d6: e7418993 addi s3,gp,-396 # 2000091c <MqUartSend_pack>
|
|
42da: 00f982a3 sb a5,5(s3)
|
|
42de: 00294783 lbu a5,2(s2)
|
|
42e2: 4719 li a4,6
|
|
42e4: e7418693 addi a3,gp,-396 # 2000091c <MqUartSend_pack>
|
|
42e8: 17f9 addi a5,a5,-2
|
|
42ea: 0ff7f793 andi a5,a5,255
|
|
42ee: 00f76d63 bltu a4,a5,4308 <SL_MsgProcFuncReadIntelligentModule_Remote_Upgrade+0x4c>
|
|
42f2: 671d lui a4,0x7
|
|
42f4: 078a slli a5,a5,0x2
|
|
42f6: 1c070713 addi a4,a4,448 # 71c0 <ch32_uart_ops+0x80>
|
|
42fa: 97ba add a5,a5,a4
|
|
42fc: 439c lw a5,0(a5)
|
|
42fe: 8782 jr a5
|
|
4300: 8c01a783 lw a5,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
4304: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
4308: 4781 li a5,0
|
|
430a: fff48613 addi a2,s1,-1
|
|
430e: 04c7ea63 bltu a5,a2,4362 <SL_MsgProcFuncReadIntelligentModule_Remote_Upgrade+0xa6>
|
|
4312: 8b01a503 lw a0,-1872(gp) # 20000358 <mqSend>
|
|
4316: 03800613 li a2,56
|
|
431a: e7418593 addi a1,gp,-396 # 2000091c <MqUartSend_pack>
|
|
431e: ea2fc0ef jal ra,9c0 <rt_mq_send>
|
|
4322: c519 beqz a0,4330 <SL_MsgProcFuncReadIntelligentModule_Remote_Upgrade+0x74>
|
|
4324: 00007537 lui a0,0x7
|
|
4328: 31850513 addi a0,a0,792 # 7318 <ch32_uart_ops+0x1d8>
|
|
432c: f91fc0ef jal ra,12bc <rt_kprintf>
|
|
4330: 00007537 lui a0,0x7
|
|
4334: 2b450513 addi a0,a0,692 # 72b4 <ch32_uart_ops+0x174>
|
|
4338: f85fc0ef jal ra,12bc <rt_kprintf>
|
|
433c: 880fc06f j 3bc <__riscv_restore_4>
|
|
4340: 8c81a783 lw a5,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
4344: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
4348: 00394783 lbu a5,3(s2)
|
|
434c: a2dc sb a5,4(a3)
|
|
434e: bf6d j 4308 <SL_MsgProcFuncReadIntelligentModule_Remote_Upgrade+0x4c>
|
|
4350: 8cc1a783 lw a5,-1844(gp) # 20000374 <g_LORA_UART4_handle>
|
|
4354: bf45 j 4304 <SL_MsgProcFuncReadIntelligentModule_Remote_Upgrade+0x48>
|
|
4356: 8bc1a783 lw a5,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
435a: b76d j 4304 <SL_MsgProcFuncReadIntelligentModule_Remote_Upgrade+0x48>
|
|
435c: 8c41a783 lw a5,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
4360: b755 j 4304 <SL_MsgProcFuncReadIntelligentModule_Remote_Upgrade+0x48>
|
|
4362: 00f90733 add a4,s2,a5
|
|
4366: 2348 lbu a0,4(a4)
|
|
4368: 00f68733 add a4,a3,a5
|
|
436c: 0785 addi a5,a5,1
|
|
436e: a368 sb a0,6(a4)
|
|
4370: 0ff7f793 andi a5,a5,255
|
|
4374: bf69 j 430e <SL_MsgProcFuncReadIntelligentModule_Remote_Upgrade+0x52>
|
|
|
|
00004376 <SL_MsgProcFuncReadIntelligentModule_Update_Profile>:
|
|
4376: 812fc2ef jal t0,388 <__riscv_save_4>
|
|
437a: 892e mv s2,a1
|
|
437c: 84b2 mv s1,a2
|
|
437e: 4581 li a1,0
|
|
4380: 03800613 li a2,56
|
|
4384: e7418513 addi a0,gp,-396 # 2000091c <MqUartSend_pack>
|
|
4388: 84afc0ef jal ra,3d2 <memset>
|
|
438c: ffc48793 addi a5,s1,-4
|
|
4390: e7418993 addi s3,gp,-396 # 2000091c <MqUartSend_pack>
|
|
4394: 00f982a3 sb a5,5(s3)
|
|
4398: 00294783 lbu a5,2(s2)
|
|
439c: 4719 li a4,6
|
|
439e: e7418693 addi a3,gp,-396 # 2000091c <MqUartSend_pack>
|
|
43a2: 17f9 addi a5,a5,-2
|
|
43a4: 0ff7f793 andi a5,a5,255
|
|
43a8: 00f76d63 bltu a4,a5,43c2 <SL_MsgProcFuncReadIntelligentModule_Update_Profile+0x4c>
|
|
43ac: 671d lui a4,0x7
|
|
43ae: 078a slli a5,a5,0x2
|
|
43b0: 1dc70713 addi a4,a4,476 # 71dc <ch32_uart_ops+0x9c>
|
|
43b4: 97ba add a5,a5,a4
|
|
43b6: 439c lw a5,0(a5)
|
|
43b8: 8782 jr a5
|
|
43ba: 8c01a783 lw a5,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
43be: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
43c2: 4781 li a5,0
|
|
43c4: fff48613 addi a2,s1,-1
|
|
43c8: 04c7ea63 bltu a5,a2,441c <SL_MsgProcFuncReadIntelligentModule_Update_Profile+0xa6>
|
|
43cc: 8b01a503 lw a0,-1872(gp) # 20000358 <mqSend>
|
|
43d0: 03800613 li a2,56
|
|
43d4: e7418593 addi a1,gp,-396 # 2000091c <MqUartSend_pack>
|
|
43d8: de8fc0ef jal ra,9c0 <rt_mq_send>
|
|
43dc: c519 beqz a0,43ea <SL_MsgProcFuncReadIntelligentModule_Update_Profile+0x74>
|
|
43de: 00007537 lui a0,0x7
|
|
43e2: 31850513 addi a0,a0,792 # 7318 <ch32_uart_ops+0x1d8>
|
|
43e6: ed7fc0ef jal ra,12bc <rt_kprintf>
|
|
43ea: 00007537 lui a0,0x7
|
|
43ee: 2cc50513 addi a0,a0,716 # 72cc <ch32_uart_ops+0x18c>
|
|
43f2: ecbfc0ef jal ra,12bc <rt_kprintf>
|
|
43f6: fc7fb06f j 3bc <__riscv_restore_4>
|
|
43fa: 8c81a783 lw a5,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
43fe: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
4402: 00394783 lbu a5,3(s2)
|
|
4406: a2dc sb a5,4(a3)
|
|
4408: bf6d j 43c2 <SL_MsgProcFuncReadIntelligentModule_Update_Profile+0x4c>
|
|
440a: 8cc1a783 lw a5,-1844(gp) # 20000374 <g_LORA_UART4_handle>
|
|
440e: bf45 j 43be <SL_MsgProcFuncReadIntelligentModule_Update_Profile+0x48>
|
|
4410: 8bc1a783 lw a5,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
4414: b76d j 43be <SL_MsgProcFuncReadIntelligentModule_Update_Profile+0x48>
|
|
4416: 8c41a783 lw a5,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
441a: b755 j 43be <SL_MsgProcFuncReadIntelligentModule_Update_Profile+0x48>
|
|
441c: 00f90733 add a4,s2,a5
|
|
4420: 2348 lbu a0,4(a4)
|
|
4422: 00f68733 add a4,a3,a5
|
|
4426: 0785 addi a5,a5,1
|
|
4428: a368 sb a0,6(a4)
|
|
442a: 0ff7f793 andi a5,a5,255
|
|
442e: bf69 j 43c8 <SL_MsgProcFuncReadIntelligentModule_Update_Profile+0x52>
|
|
|
|
00004430 <SL_MsgProcFuncReadIntelligentModule_Registration_request>:
|
|
4430: f59fb2ef jal t0,388 <__riscv_save_4>
|
|
4434: 892e mv s2,a1
|
|
4436: 84b2 mv s1,a2
|
|
4438: 4581 li a1,0
|
|
443a: 03800613 li a2,56
|
|
443e: e7418513 addi a0,gp,-396 # 2000091c <MqUartSend_pack>
|
|
4442: f91fb0ef jal ra,3d2 <memset>
|
|
4446: ffc48793 addi a5,s1,-4
|
|
444a: e7418993 addi s3,gp,-396 # 2000091c <MqUartSend_pack>
|
|
444e: 00f982a3 sb a5,5(s3)
|
|
4452: 00294783 lbu a5,2(s2)
|
|
4456: 4719 li a4,6
|
|
4458: e7418693 addi a3,gp,-396 # 2000091c <MqUartSend_pack>
|
|
445c: 17f9 addi a5,a5,-2
|
|
445e: 0ff7f793 andi a5,a5,255
|
|
4462: 00f76d63 bltu a4,a5,447c <SL_MsgProcFuncReadIntelligentModule_Registration_request+0x4c>
|
|
4466: 671d lui a4,0x7
|
|
4468: 078a slli a5,a5,0x2
|
|
446a: 1f870713 addi a4,a4,504 # 71f8 <ch32_uart_ops+0xb8>
|
|
446e: 97ba add a5,a5,a4
|
|
4470: 439c lw a5,0(a5)
|
|
4472: 8782 jr a5
|
|
4474: 8c01a783 lw a5,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
4478: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
447c: 4781 li a5,0
|
|
447e: fff48613 addi a2,s1,-1
|
|
4482: 04c7ea63 bltu a5,a2,44d6 <SL_MsgProcFuncReadIntelligentModule_Registration_request+0xa6>
|
|
4486: 8b01a503 lw a0,-1872(gp) # 20000358 <mqSend>
|
|
448a: 03800613 li a2,56
|
|
448e: e7418593 addi a1,gp,-396 # 2000091c <MqUartSend_pack>
|
|
4492: d2efc0ef jal ra,9c0 <rt_mq_send>
|
|
4496: c519 beqz a0,44a4 <SL_MsgProcFuncReadIntelligentModule_Registration_request+0x74>
|
|
4498: 00007537 lui a0,0x7
|
|
449c: 31850513 addi a0,a0,792 # 7318 <ch32_uart_ops+0x1d8>
|
|
44a0: e1dfc0ef jal ra,12bc <rt_kprintf>
|
|
44a4: 00007537 lui a0,0x7
|
|
44a8: 29850513 addi a0,a0,664 # 7298 <ch32_uart_ops+0x158>
|
|
44ac: e11fc0ef jal ra,12bc <rt_kprintf>
|
|
44b0: f0dfb06f j 3bc <__riscv_restore_4>
|
|
44b4: 8c81a783 lw a5,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
44b8: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
44bc: 00394783 lbu a5,3(s2)
|
|
44c0: a2dc sb a5,4(a3)
|
|
44c2: bf6d j 447c <SL_MsgProcFuncReadIntelligentModule_Registration_request+0x4c>
|
|
44c4: 8cc1a783 lw a5,-1844(gp) # 20000374 <g_LORA_UART4_handle>
|
|
44c8: bf45 j 4478 <SL_MsgProcFuncReadIntelligentModule_Registration_request+0x48>
|
|
44ca: 8bc1a783 lw a5,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
44ce: b76d j 4478 <SL_MsgProcFuncReadIntelligentModule_Registration_request+0x48>
|
|
44d0: 8c41a783 lw a5,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
44d4: b755 j 4478 <SL_MsgProcFuncReadIntelligentModule_Registration_request+0x48>
|
|
44d6: 00f90733 add a4,s2,a5
|
|
44da: 2348 lbu a0,4(a4)
|
|
44dc: 00f68733 add a4,a3,a5
|
|
44e0: 0785 addi a5,a5,1
|
|
44e2: a368 sb a0,6(a4)
|
|
44e4: 0ff7f793 andi a5,a5,255
|
|
44e8: bf69 j 4482 <SL_MsgProcFuncReadIntelligentModule_Registration_request+0x52>
|
|
|
|
000044ea <SL_MsgProcFuncReadIntelligentModule_Broadcast_Scan>:
|
|
44ea: e9ffb2ef jal t0,388 <__riscv_save_4>
|
|
44ee: 892e mv s2,a1
|
|
44f0: 84b2 mv s1,a2
|
|
44f2: 4581 li a1,0
|
|
44f4: 03800613 li a2,56
|
|
44f8: e7418513 addi a0,gp,-396 # 2000091c <MqUartSend_pack>
|
|
44fc: ed7fb0ef jal ra,3d2 <memset>
|
|
4500: ffc48793 addi a5,s1,-4
|
|
4504: e7418993 addi s3,gp,-396 # 2000091c <MqUartSend_pack>
|
|
4508: 00f982a3 sb a5,5(s3)
|
|
450c: 00294783 lbu a5,2(s2)
|
|
4510: 4719 li a4,6
|
|
4512: e7418693 addi a3,gp,-396 # 2000091c <MqUartSend_pack>
|
|
4516: 17f9 addi a5,a5,-2
|
|
4518: 0ff7f793 andi a5,a5,255
|
|
451c: 00f76d63 bltu a4,a5,4536 <SL_MsgProcFuncReadIntelligentModule_Broadcast_Scan+0x4c>
|
|
4520: 671d lui a4,0x7
|
|
4522: 078a slli a5,a5,0x2
|
|
4524: 21470713 addi a4,a4,532 # 7214 <ch32_uart_ops+0xd4>
|
|
4528: 97ba add a5,a5,a4
|
|
452a: 439c lw a5,0(a5)
|
|
452c: 8782 jr a5
|
|
452e: 8c01a783 lw a5,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
4532: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
4536: 4781 li a5,0
|
|
4538: fff48613 addi a2,s1,-1
|
|
453c: 04c7ea63 bltu a5,a2,4590 <SL_MsgProcFuncReadIntelligentModule_Broadcast_Scan+0xa6>
|
|
4540: 8b01a503 lw a0,-1872(gp) # 20000358 <mqSend>
|
|
4544: 03800613 li a2,56
|
|
4548: e7418593 addi a1,gp,-396 # 2000091c <MqUartSend_pack>
|
|
454c: c74fc0ef jal ra,9c0 <rt_mq_send>
|
|
4550: c519 beqz a0,455e <SL_MsgProcFuncReadIntelligentModule_Broadcast_Scan+0x74>
|
|
4552: 00007537 lui a0,0x7
|
|
4556: 31850513 addi a0,a0,792 # 7318 <ch32_uart_ops+0x1d8>
|
|
455a: d63fc0ef jal ra,12bc <rt_kprintf>
|
|
455e: 00007537 lui a0,0x7
|
|
4562: 26850513 addi a0,a0,616 # 7268 <ch32_uart_ops+0x128>
|
|
4566: d57fc0ef jal ra,12bc <rt_kprintf>
|
|
456a: e53fb06f j 3bc <__riscv_restore_4>
|
|
456e: 8c81a783 lw a5,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
4572: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
4576: 00394783 lbu a5,3(s2)
|
|
457a: a2dc sb a5,4(a3)
|
|
457c: bf6d j 4536 <SL_MsgProcFuncReadIntelligentModule_Broadcast_Scan+0x4c>
|
|
457e: 8cc1a783 lw a5,-1844(gp) # 20000374 <g_LORA_UART4_handle>
|
|
4582: bf45 j 4532 <SL_MsgProcFuncReadIntelligentModule_Broadcast_Scan+0x48>
|
|
4584: 8bc1a783 lw a5,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
4588: b76d j 4532 <SL_MsgProcFuncReadIntelligentModule_Broadcast_Scan+0x48>
|
|
458a: 8c41a783 lw a5,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
458e: b755 j 4532 <SL_MsgProcFuncReadIntelligentModule_Broadcast_Scan+0x48>
|
|
4590: 00f90733 add a4,s2,a5
|
|
4594: 2348 lbu a0,4(a4)
|
|
4596: 00f68733 add a4,a3,a5
|
|
459a: 0785 addi a5,a5,1
|
|
459c: a368 sb a0,6(a4)
|
|
459e: 0ff7f793 andi a5,a5,255
|
|
45a2: bf69 j 453c <SL_MsgProcFuncReadIntelligentModule_Broadcast_Scan+0x52>
|
|
|
|
000045a4 <SL_MsgProcFuncReadIntelligentModule_Write_Register>:
|
|
45a4: de5fb2ef jal t0,388 <__riscv_save_4>
|
|
45a8: 892e mv s2,a1
|
|
45aa: 84b2 mv s1,a2
|
|
45ac: 4581 li a1,0
|
|
45ae: 03800613 li a2,56
|
|
45b2: e7418513 addi a0,gp,-396 # 2000091c <MqUartSend_pack>
|
|
45b6: e1dfb0ef jal ra,3d2 <memset>
|
|
45ba: ffc48793 addi a5,s1,-4
|
|
45be: e7418993 addi s3,gp,-396 # 2000091c <MqUartSend_pack>
|
|
45c2: 00f982a3 sb a5,5(s3)
|
|
45c6: 00294783 lbu a5,2(s2)
|
|
45ca: 4719 li a4,6
|
|
45cc: e7418693 addi a3,gp,-396 # 2000091c <MqUartSend_pack>
|
|
45d0: 17f9 addi a5,a5,-2
|
|
45d2: 0ff7f793 andi a5,a5,255
|
|
45d6: 00f76d63 bltu a4,a5,45f0 <SL_MsgProcFuncReadIntelligentModule_Write_Register+0x4c>
|
|
45da: 671d lui a4,0x7
|
|
45dc: 078a slli a5,a5,0x2
|
|
45de: 23070713 addi a4,a4,560 # 7230 <ch32_uart_ops+0xf0>
|
|
45e2: 97ba add a5,a5,a4
|
|
45e4: 439c lw a5,0(a5)
|
|
45e6: 8782 jr a5
|
|
45e8: 8c01a783 lw a5,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
45ec: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
45f0: 4781 li a5,0
|
|
45f2: fff48613 addi a2,s1,-1
|
|
45f6: 04c7ea63 bltu a5,a2,464a <SL_MsgProcFuncReadIntelligentModule_Write_Register+0xa6>
|
|
45fa: 8b01a503 lw a0,-1872(gp) # 20000358 <mqSend>
|
|
45fe: 03800613 li a2,56
|
|
4602: e7418593 addi a1,gp,-396 # 2000091c <MqUartSend_pack>
|
|
4606: bbafc0ef jal ra,9c0 <rt_mq_send>
|
|
460a: c519 beqz a0,4618 <SL_MsgProcFuncReadIntelligentModule_Write_Register+0x74>
|
|
460c: 00007537 lui a0,0x7
|
|
4610: 31850513 addi a0,a0,792 # 7318 <ch32_uart_ops+0x1d8>
|
|
4614: ca9fc0ef jal ra,12bc <rt_kprintf>
|
|
4618: 00007537 lui a0,0x7
|
|
461c: 2e450513 addi a0,a0,740 # 72e4 <ch32_uart_ops+0x1a4>
|
|
4620: c9dfc0ef jal ra,12bc <rt_kprintf>
|
|
4624: d99fb06f j 3bc <__riscv_restore_4>
|
|
4628: 8c81a783 lw a5,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
462c: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
4630: 00394783 lbu a5,3(s2)
|
|
4634: a2dc sb a5,4(a3)
|
|
4636: bf6d j 45f0 <SL_MsgProcFuncReadIntelligentModule_Write_Register+0x4c>
|
|
4638: 8cc1a783 lw a5,-1844(gp) # 20000374 <g_LORA_UART4_handle>
|
|
463c: bf45 j 45ec <SL_MsgProcFuncReadIntelligentModule_Write_Register+0x48>
|
|
463e: 8bc1a783 lw a5,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
4642: b76d j 45ec <SL_MsgProcFuncReadIntelligentModule_Write_Register+0x48>
|
|
4644: 8c41a783 lw a5,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
4648: b755 j 45ec <SL_MsgProcFuncReadIntelligentModule_Write_Register+0x48>
|
|
464a: 00f90733 add a4,s2,a5
|
|
464e: 2348 lbu a0,4(a4)
|
|
4650: 00f68733 add a4,a3,a5
|
|
4654: 0785 addi a5,a5,1
|
|
4656: a368 sb a0,6(a4)
|
|
4658: 0ff7f793 andi a5,a5,255
|
|
465c: bf69 j 45f6 <SL_MsgProcFuncReadIntelligentModule_Write_Register+0x52>
|
|
|
|
0000465e <SL_MsgProcFuncReadIntelligentModule_Read_Register>:
|
|
465e: d2bfb2ef jal t0,388 <__riscv_save_4>
|
|
4662: 892e mv s2,a1
|
|
4664: 84b2 mv s1,a2
|
|
4666: 4581 li a1,0
|
|
4668: 03800613 li a2,56
|
|
466c: e7418513 addi a0,gp,-396 # 2000091c <MqUartSend_pack>
|
|
4670: d63fb0ef jal ra,3d2 <memset>
|
|
4674: ffc48793 addi a5,s1,-4
|
|
4678: e7418993 addi s3,gp,-396 # 2000091c <MqUartSend_pack>
|
|
467c: 00f982a3 sb a5,5(s3)
|
|
4680: 00294783 lbu a5,2(s2)
|
|
4684: 4719 li a4,6
|
|
4686: e7418693 addi a3,gp,-396 # 2000091c <MqUartSend_pack>
|
|
468a: 17f9 addi a5,a5,-2
|
|
468c: 0ff7f793 andi a5,a5,255
|
|
4690: 00f76d63 bltu a4,a5,46aa <SL_MsgProcFuncReadIntelligentModule_Read_Register+0x4c>
|
|
4694: 671d lui a4,0x7
|
|
4696: 078a slli a5,a5,0x2
|
|
4698: 24c70713 addi a4,a4,588 # 724c <ch32_uart_ops+0x10c>
|
|
469c: 97ba add a5,a5,a4
|
|
469e: 439c lw a5,0(a5)
|
|
46a0: 8782 jr a5
|
|
46a2: 8c01a783 lw a5,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
46a6: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
46aa: 4781 li a5,0
|
|
46ac: fff48613 addi a2,s1,-1
|
|
46b0: 04c7ea63 bltu a5,a2,4704 <SL_MsgProcFuncReadIntelligentModule_Read_Register+0xa6>
|
|
46b4: 8b01a503 lw a0,-1872(gp) # 20000358 <mqSend>
|
|
46b8: 03800613 li a2,56
|
|
46bc: e7418593 addi a1,gp,-396 # 2000091c <MqUartSend_pack>
|
|
46c0: b00fc0ef jal ra,9c0 <rt_mq_send>
|
|
46c4: c519 beqz a0,46d2 <SL_MsgProcFuncReadIntelligentModule_Read_Register+0x74>
|
|
46c6: 00007537 lui a0,0x7
|
|
46ca: 31850513 addi a0,a0,792 # 7318 <ch32_uart_ops+0x1d8>
|
|
46ce: beffc0ef jal ra,12bc <rt_kprintf>
|
|
46d2: 00007537 lui a0,0x7
|
|
46d6: 28050513 addi a0,a0,640 # 7280 <ch32_uart_ops+0x140>
|
|
46da: be3fc0ef jal ra,12bc <rt_kprintf>
|
|
46de: cdffb06f j 3bc <__riscv_restore_4>
|
|
46e2: 8c81a783 lw a5,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
46e6: e6f1aa23 sw a5,-396(gp) # 2000091c <MqUartSend_pack>
|
|
46ea: 00394783 lbu a5,3(s2)
|
|
46ee: a2dc sb a5,4(a3)
|
|
46f0: bf6d j 46aa <SL_MsgProcFuncReadIntelligentModule_Read_Register+0x4c>
|
|
46f2: 8cc1a783 lw a5,-1844(gp) # 20000374 <g_LORA_UART4_handle>
|
|
46f6: bf45 j 46a6 <SL_MsgProcFuncReadIntelligentModule_Read_Register+0x48>
|
|
46f8: 8bc1a783 lw a5,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
46fc: b76d j 46a6 <SL_MsgProcFuncReadIntelligentModule_Read_Register+0x48>
|
|
46fe: 8c41a783 lw a5,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
4702: b755 j 46a6 <SL_MsgProcFuncReadIntelligentModule_Read_Register+0x48>
|
|
4704: 00f90733 add a4,s2,a5
|
|
4708: 2348 lbu a0,4(a4)
|
|
470a: 00f68733 add a4,a3,a5
|
|
470e: 0785 addi a5,a5,1
|
|
4710: a368 sb a0,6(a4)
|
|
4712: 0ff7f793 andi a5,a5,255
|
|
4716: bf69 j 46b0 <SL_MsgProcFuncReadIntelligentModule_Read_Register+0x52>
|
|
|
|
00004718 <CheckFunc>:
|
|
4718: 67c1 lui a5,0x10
|
|
471a: 7669 lui a2,0xffffa
|
|
471c: 4681 li a3,0
|
|
471e: 17fd addi a5,a5,-1
|
|
4720: 0605 addi a2,a2,1
|
|
4722: 01069713 slli a4,a3,0x10
|
|
4726: 8341 srli a4,a4,0x10
|
|
4728: 00b76463 bltu a4,a1,4730 <CheckFunc+0x18>
|
|
472c: 853e mv a0,a5
|
|
472e: 8082 ret
|
|
4730: 00d50733 add a4,a0,a3
|
|
4734: 2318 lbu a4,0(a4)
|
|
4736: 8fb9 xor a5,a5,a4
|
|
4738: 4721 li a4,8
|
|
473a: 0017f813 andi a6,a5,1
|
|
473e: 8385 srli a5,a5,0x1
|
|
4740: 00080563 beqz a6,474a <CheckFunc+0x32>
|
|
4744: 8fb1 xor a5,a5,a2
|
|
4746: 07c2 slli a5,a5,0x10
|
|
4748: 83c1 srli a5,a5,0x10
|
|
474a: 177d addi a4,a4,-1
|
|
474c: 0742 slli a4,a4,0x10
|
|
474e: 8341 srli a4,a4,0x10
|
|
4750: f76d bnez a4,473a <CheckFunc+0x22>
|
|
4752: 0685 addi a3,a3,1
|
|
4754: b7f9 j 4722 <CheckFunc+0xa>
|
|
|
|
00004756 <FRT_SensorMsgHandler>:
|
|
4756: c33fb2ef jal t0,388 <__riscv_save_4>
|
|
475a: 20000437 lui s0,0x20000
|
|
475e: 18040413 addi s0,s0,384 # 20000180 <g_MsgReadSensorTbl>
|
|
4762: 89aa mv s3,a0
|
|
4764: 84ae mv s1,a1
|
|
4766: 8a32 mv s4,a2
|
|
4768: 02040913 addi s2,s0,32
|
|
476c: 3498 lbu a4,9(s1)
|
|
476e: 401c lw a5,0(s0)
|
|
4770: 00f71763 bne a4,a5,477e <FRT_SensorMsgHandler+0x28>
|
|
4774: 405c lw a5,4(s0)
|
|
4776: 8652 mv a2,s4
|
|
4778: 85a6 mv a1,s1
|
|
477a: 854e mv a0,s3
|
|
477c: 9782 jalr a5
|
|
477e: 0421 addi s0,s0,8
|
|
4780: ff2416e3 bne s0,s2,476c <FRT_SensorMsgHandler+0x16>
|
|
4784: c39fb06f j 3bc <__riscv_restore_4>
|
|
|
|
00004788 <FRT_IntelligentModuleMsgHandler>:
|
|
4788: c01fb2ef jal t0,388 <__riscv_save_4>
|
|
478c: 20000437 lui s0,0x20000
|
|
4790: 15040413 addi s0,s0,336 # 20000150 <g_MsgReadIntelligentModuleTbl>
|
|
4794: 89aa mv s3,a0
|
|
4796: 84ae mv s1,a1
|
|
4798: 8a32 mv s4,a2
|
|
479a: 03040913 addi s2,s0,48
|
|
479e: 34f8 lbu a4,15(s1)
|
|
47a0: 401c lw a5,0(s0)
|
|
47a2: 00f71763 bne a4,a5,47b0 <FRT_IntelligentModuleMsgHandler+0x28>
|
|
47a6: 405c lw a5,4(s0)
|
|
47a8: 8652 mv a2,s4
|
|
47aa: 85a6 mv a1,s1
|
|
47ac: 854e mv a0,s3
|
|
47ae: 9782 jalr a5
|
|
47b0: 0421 addi s0,s0,8
|
|
47b2: ff2416e3 bne s0,s2,479e <FRT_IntelligentModuleMsgHandler+0x16>
|
|
47b6: c07fb06f j 3bc <__riscv_restore_4>
|
|
|
|
000047ba <read_and_process_sensorUart_data>:
|
|
47ba: bb9fb2ef jal t0,372 <__riscv_save_12>
|
|
47be: 1141 addi sp,sp,-16
|
|
47c0: 8b2a mv s6,a0
|
|
47c2: 666000ef jal ra,4e28 <uart_dev_char_present>
|
|
47c6: c161 beqz a0,4886 <read_and_process_sensorUart_data+0xcc>
|
|
47c8: 4579 li a0,30
|
|
47ca: c26fd0ef jal ra,1bf0 <rt_thread_mdelay>
|
|
47ce: 03200613 li a2,50
|
|
47d2: 4581 li a1,0
|
|
47d4: ddc18513 addi a0,gp,-548 # 20000884 <uart_buff>
|
|
47d8: ddc18a13 addi s4,gp,-548 # 20000884 <uart_buff>
|
|
47dc: 20000d37 lui s10,0x20000
|
|
47e0: bf3fb0ef jal ra,3d2 <memset>
|
|
47e4: 4901 li s2,0
|
|
47e6: 4481 li s1,0
|
|
47e8: 4401 li s0,0
|
|
47ea: 4b89 li s7,2
|
|
47ec: ddc18a93 addi s5,gp,-548 # 20000884 <uart_buff>
|
|
47f0: 03000c13 li s8,48
|
|
47f4: 001a0c93 addi s9,s4,1
|
|
47f8: 1a0d0d93 addi s11,s10,416 # 200001a0 <g_slConfigInfo>
|
|
47fc: 855a mv a0,s6
|
|
47fe: 66a000ef jal ra,4e68 <ring_queue_length>
|
|
4802: c151 beqz a0,4886 <read_and_process_sensorUart_data+0xcc>
|
|
4804: 855a mv a0,s6
|
|
4806: 63a000ef jal ra,4e40 <uart_dev_in_char>
|
|
480a: 0ff57713 andi a4,a0,255
|
|
480e: 008a07b3 add a5,s4,s0
|
|
4812: 00140613 addi a2,s0,1
|
|
4816: a398 sb a4,0(a5)
|
|
4818: 01760363 beq a2,s7,481e <read_and_process_sensorUart_data+0x64>
|
|
481c: c4e1 beqz s1,48e4 <read_and_process_sensorUart_data+0x12a>
|
|
481e: 000ac683 lbu a3,0(s5)
|
|
4822: 1a0d4783 lbu a5,416(s10)
|
|
4826: 00f69863 bne a3,a5,4836 <read_and_process_sensorUart_data+0x7c>
|
|
482a: 001ac683 lbu a3,1(s5)
|
|
482e: 001dc783 lbu a5,1(s11)
|
|
4832: 00f68a63 beq a3,a5,4846 <read_and_process_sensorUart_data+0x8c>
|
|
4836: 8622 mv a2,s0
|
|
4838: 85e6 mv a1,s9
|
|
483a: 8552 mv a0,s4
|
|
483c: 33a010ef jal ra,5b76 <memcpy>
|
|
4840: fa8c7ee3 bgeu s8,s0,47fc <read_and_process_sensorUart_data+0x42>
|
|
4844: a089 j 4886 <read_and_process_sensorUart_data+0xcc>
|
|
4846: 47a9 li a5,10
|
|
4848: 00f60463 beq a2,a5,4850 <read_and_process_sensorUart_data+0x96>
|
|
484c: 089bff63 bgeu s7,s1,48ea <read_and_process_sensorUart_data+0x130>
|
|
4850: 009ac783 lbu a5,9(s5)
|
|
4854: 09878463 beq a5,s8,48dc <read_and_process_sensorUart_data+0x122>
|
|
4858: 0a100693 li a3,161
|
|
485c: 02d78a63 beq a5,a3,4890 <read_and_process_sensorUart_data+0xd6>
|
|
4860: 03078793 addi a5,a5,48 # 10030 <__stack_size+0x8030>
|
|
4864: 0ff7f793 andi a5,a5,255
|
|
4868: 4685 li a3,1
|
|
486a: 06f6f763 bgeu a3,a5,48d8 <read_and_process_sensorUart_data+0x11e>
|
|
486e: 87a6 mv a5,s1
|
|
4870: 0174f363 bgeu s1,s7,4876 <read_and_process_sensorUart_data+0xbc>
|
|
4874: 4789 li a5,2
|
|
4876: 0ff7f493 andi s1,a5,255
|
|
487a: bf75 j 4836 <read_and_process_sensorUart_data+0x7c>
|
|
487c: ddc18593 addi a1,gp,-548 # 20000884 <uart_buff>
|
|
4880: 855a mv a0,s6
|
|
4882: ed5ff0ef jal ra,4756 <FRT_SensorMsgHandler>
|
|
4886: 0141 addi sp,sp,16
|
|
4888: b27fb06f j 3ae <__riscv_restore_12>
|
|
488c: 8432 mv s0,a2
|
|
488e: bf4d j 4840 <read_and_process_sensorUart_data+0x86>
|
|
4890: 4969 li s2,26
|
|
4892: 47b1 li a5,12
|
|
4894: 06f60663 beq a2,a5,4900 <read_and_process_sensorUart_data+0x146>
|
|
4898: ff261ae3 bne a2,s2,488c <read_and_process_sensorUart_data+0xd2>
|
|
489c: ffd60593 addi a1,a2,-3 # ffff9ffd <_eusrstack+0xdffe9ffd>
|
|
48a0: 0ff5f593 andi a1,a1,255
|
|
48a4: 8552 mv a0,s4
|
|
48a6: c63a sw a4,12(sp)
|
|
48a8: c432 sw a2,8(sp)
|
|
48aa: e6fff0ef jal ra,4718 <CheckFunc>
|
|
48ae: 008a86b3 add a3,s5,s0
|
|
48b2: ffe6c783 lbu a5,-2(a3) # 40020ffe <_eusrstack+0x20010ffe>
|
|
48b6: fff6c683 lbu a3,-1(a3)
|
|
48ba: 4622 lw a2,8(sp)
|
|
48bc: 07a2 slli a5,a5,0x8
|
|
48be: 8fd5 or a5,a5,a3
|
|
48c0: 4732 lw a4,12(sp)
|
|
48c2: 00a79563 bne a5,a0,48cc <read_and_process_sensorUart_data+0x112>
|
|
48c6: 47d9 li a5,22
|
|
48c8: faf70ae3 beq a4,a5,487c <read_and_process_sensorUart_data+0xc2>
|
|
48cc: 470d li a4,3
|
|
48ce: 87a6 mv a5,s1
|
|
48d0: fae4f3e3 bgeu s1,a4,4876 <read_and_process_sensorUart_data+0xbc>
|
|
48d4: 478d li a5,3
|
|
48d6: b745 j 4876 <read_and_process_sensorUart_data+0xbc>
|
|
48d8: 4939 li s2,14
|
|
48da: bf65 j 4892 <read_and_process_sensorUart_data+0xd8>
|
|
48dc: 47b1 li a5,12
|
|
48de: faf61de3 bne a2,a5,4898 <read_and_process_sensorUart_data+0xde>
|
|
48e2: a819 j 48f8 <read_and_process_sensorUart_data+0x13e>
|
|
48e4: 47a9 li a5,10
|
|
48e6: f6f605e3 beq a2,a5,4850 <read_and_process_sensorUart_data+0x96>
|
|
48ea: 47b1 li a5,12
|
|
48ec: faf616e3 bne a2,a5,4898 <read_and_process_sensorUart_data+0xde>
|
|
48f0: 009ac783 lbu a5,9(s5)
|
|
48f4: fb8792e3 bne a5,s8,4898 <read_and_process_sensorUart_data+0xde>
|
|
48f8: 00bac903 lbu s2,11(s5)
|
|
48fc: 0906 slli s2,s2,0x1
|
|
48fe: 093d addi s2,s2,15
|
|
4900: 4431 li s0,12
|
|
4902: bded j 47fc <read_and_process_sensorUart_data+0x42>
|
|
|
|
00004904 <read_and_process_intelligentModuleUart_data>:
|
|
4904: a77fb2ef jal t0,37a <__riscv_save_10>
|
|
4908: 89aa mv s3,a0
|
|
490a: 2b39 jal 4e28 <uart_dev_char_present>
|
|
490c: cd3d beqz a0,498a <read_and_process_intelligentModuleUart_data+0x86>
|
|
490e: 4529 li a0,10
|
|
4910: ae0fd0ef jal ra,1bf0 <rt_thread_mdelay>
|
|
4914: 03200613 li a2,50
|
|
4918: 4581 li a1,0
|
|
491a: ddc18513 addi a0,gp,-548 # 20000884 <uart_buff>
|
|
491e: ddc18a13 addi s4,gp,-548 # 20000884 <uart_buff>
|
|
4922: 20000ab7 lui s5,0x20000
|
|
4926: aadfb0ef jal ra,3d2 <memset>
|
|
492a: 4401 li s0,0
|
|
492c: 4b01 li s6,0
|
|
492e: 4481 li s1,0
|
|
4930: 4c19 li s8,6
|
|
4932: ddc18b93 addi s7,gp,-548 # 20000884 <uart_buff>
|
|
4936: 1a0a8a93 addi s5,s5,416 # 200001a0 <g_slConfigInfo>
|
|
493a: 001a0c93 addi s9,s4,1
|
|
493e: 854e mv a0,s3
|
|
4940: 2325 jal 4e68 <ring_queue_length>
|
|
4942: c521 beqz a0,498a <read_and_process_intelligentModuleUart_data+0x86>
|
|
4944: 854e mv a0,s3
|
|
4946: 29ed jal 4e40 <uart_dev_in_char>
|
|
4948: 009a07b3 add a5,s4,s1
|
|
494c: 00148613 addi a2,s1,1
|
|
4950: a388 sb a0,0(a5)
|
|
4952: 01860463 beq a2,s8,495a <read_and_process_intelligentModuleUart_data+0x56>
|
|
4956: 000b0b63 beqz s6,496c <read_and_process_intelligentModuleUart_data+0x68>
|
|
495a: 004bd783 lhu a5,4(s7)
|
|
495e: 00879413 slli s0,a5,0x8
|
|
4962: 83a1 srli a5,a5,0x8
|
|
4964: 8c5d or s0,s0,a5
|
|
4966: 0442 slli s0,s0,0x10
|
|
4968: 8041 srli s0,s0,0x10
|
|
496a: 041d addi s0,s0,7
|
|
496c: 02861c63 bne a2,s0,49a4 <read_and_process_intelligentModuleUart_data+0xa0>
|
|
4970: 00cb87b3 add a5,s7,a2
|
|
4974: fff7c703 lbu a4,-1(a5)
|
|
4978: 009ac783 lbu a5,9(s5)
|
|
497c: 00f71963 bne a4,a5,498e <read_and_process_intelligentModuleUart_data+0x8a>
|
|
4980: ddc18593 addi a1,gp,-548 # 20000884 <uart_buff>
|
|
4984: 854e mv a0,s3
|
|
4986: e03ff0ef jal ra,4788 <FRT_IntelligentModuleMsgHandler>
|
|
498a: a29fb06f j 3b2 <__riscv_restore_10>
|
|
498e: 8626 mv a2,s1
|
|
4990: 85e6 mv a1,s9
|
|
4992: 8552 mv a0,s4
|
|
4994: 1e2010ef jal ra,5b76 <memcpy>
|
|
4998: 4b05 li s6,1
|
|
499a: 03000793 li a5,48
|
|
499e: fa97f0e3 bgeu a5,s1,493e <read_and_process_intelligentModuleUart_data+0x3a>
|
|
49a2: b7e5 j 498a <read_and_process_intelligentModuleUart_data+0x86>
|
|
49a4: 84b2 mv s1,a2
|
|
49a6: bfd5 j 499a <read_and_process_intelligentModuleUart_data+0x96>
|
|
|
|
000049a8 <send_uart_data>:
|
|
49a8: 9fbfb2ef jal t0,3a2 <__riscv_save_0>
|
|
49ac: 4118 lw a4,0(a0)
|
|
49ae: 8c81a783 lw a5,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
49b2: 842a mv s0,a0
|
|
49b4: 00f71863 bne a4,a5,49c4 <send_uart_data+0x1c>
|
|
49b8: 215c lbu a5,4(a0)
|
|
49ba: 4715 li a4,5
|
|
49bc: 02e79763 bne a5,a4,49ea <send_uart_data+0x42>
|
|
49c0: 665000ef jal ra,5824 <USART_CONNET_J5>
|
|
49c4: 4481 li s1,0
|
|
49c6: 00007937 lui s2,0x7
|
|
49ca: 305c lbu a5,5(s0)
|
|
49cc: 04f4ca63 blt s1,a5,4a20 <send_uart_data+0x78>
|
|
49d0: 00006537 lui a0,0x6
|
|
49d4: 06450513 addi a0,a0,100 # 6064 <__fsym_list_mem_name+0x11c>
|
|
49d8: 8e5fc0ef jal ra,12bc <rt_kprintf>
|
|
49dc: 3050 lbu a2,5(s0)
|
|
49de: 4008 lw a0,0(s0)
|
|
49e0: 00640593 addi a1,s0,6
|
|
49e4: 2671 jal 4d70 <uart_dev_write>
|
|
49e6: 9e1fb06f j 3c6 <__riscv_restore_0>
|
|
49ea: 4719 li a4,6
|
|
49ec: 00e79563 bne a5,a4,49f6 <send_uart_data+0x4e>
|
|
49f0: 641000ef jal ra,5830 <USART_CONNET_J6>
|
|
49f4: bfc1 j 49c4 <send_uart_data+0x1c>
|
|
49f6: 471d li a4,7
|
|
49f8: 00e79563 bne a5,a4,4a02 <send_uart_data+0x5a>
|
|
49fc: 65b000ef jal ra,5856 <USART_CONNET_J7>
|
|
4a00: b7d1 j 49c4 <send_uart_data+0x1c>
|
|
4a02: 4721 li a4,8
|
|
4a04: 00e79563 bne a5,a4,4a0e <send_uart_data+0x66>
|
|
4a08: 675000ef jal ra,587c <USART_CONNET_J8>
|
|
4a0c: bf65 j 49c4 <send_uart_data+0x1c>
|
|
4a0e: 4725 li a4,9
|
|
4a10: 00e79563 bne a5,a4,4a1a <send_uart_data+0x72>
|
|
4a14: 68f000ef jal ra,58a2 <USART_CONNET_J9>
|
|
4a18: b775 j 49c4 <send_uart_data+0x1c>
|
|
4a1a: 4e3000ef jal ra,56fc <USART_CONNET_J0>
|
|
4a1e: b75d j 49c4 <send_uart_data+0x1c>
|
|
4a20: 009407b3 add a5,s0,s1
|
|
4a24: 23ec lbu a1,6(a5)
|
|
4a26: 36890513 addi a0,s2,872 # 7368 <ch32_uart_ops+0x228>
|
|
4a2a: 0485 addi s1,s1,1
|
|
4a2c: 891fc0ef jal ra,12bc <rt_kprintf>
|
|
4a30: bf69 j 49ca <send_uart_data+0x22>
|
|
|
|
00004a32 <Recv_thread_entry>:
|
|
4a32: 957fb2ef jal t0,388 <__riscv_save_4>
|
|
4a36: 8b81a503 lw a0,-1864(gp) # 20000360 <g_J1RS485_UART6_handle>
|
|
4a3a: d81ff0ef jal ra,47ba <read_and_process_sensorUart_data>
|
|
4a3e: 8bc1a503 lw a0,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
4a42: d79ff0ef jal ra,47ba <read_and_process_sensorUart_data>
|
|
4a46: 8c01a503 lw a0,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
4a4a: d71ff0ef jal ra,47ba <read_and_process_sensorUart_data>
|
|
4a4e: 8c41a503 lw a0,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
4a52: d69ff0ef jal ra,47ba <read_and_process_sensorUart_data>
|
|
4a56: 8c81a503 lw a0,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
4a5a: d61ff0ef jal ra,47ba <read_and_process_sensorUart_data>
|
|
4a5e: 8cc1a503 lw a0,-1844(gp) # 20000374 <g_LORA_UART4_handle>
|
|
4a62: d59ff0ef jal ra,47ba <read_and_process_sensorUart_data>
|
|
4a66: 8d01a503 lw a0,-1840(gp) # 20000378 <g_Upward_UART5_handle>
|
|
4a6a: e9bff0ef jal ra,4904 <read_and_process_intelligentModuleUart_data>
|
|
4a6e: 4515 li a0,5
|
|
4a70: 980fd0ef jal ra,1bf0 <rt_thread_mdelay>
|
|
4a74: b7c9 j 4a36 <Recv_thread_entry+0x4>
|
|
|
|
00004a76 <Send_thread_entry>:
|
|
4a76: 92dfb2ef jal t0,3a2 <__riscv_save_0>
|
|
4a7a: 06400613 li a2,100
|
|
4a7e: 4581 li a1,0
|
|
4a80: e1018513 addi a0,gp,-496 # 200008b8 <buff>
|
|
4a84: 94ffb0ef jal ra,3d2 <memset>
|
|
4a88: 8b01a503 lw a0,-1872(gp) # 20000358 <mqSend>
|
|
4a8c: 56fd li a3,-1
|
|
4a8e: 06400613 li a2,100
|
|
4a92: e1018593 addi a1,gp,-496 # 200008b8 <buff>
|
|
4a96: fadfb0ef jal ra,a42 <rt_mq_recv>
|
|
4a9a: e1018513 addi a0,gp,-496 # 200008b8 <buff>
|
|
4a9e: f0bff0ef jal ra,49a8 <send_uart_data>
|
|
4aa2: bfe1 j 4a7a <Send_thread_entry+0x4>
|
|
|
|
00004aa4 <Recv_thread_Init>:
|
|
4aa4: 8fffb2ef jal t0,3a2 <__riscv_save_0>
|
|
4aa8: 000055b7 lui a1,0x5
|
|
4aac: 00007537 lui a0,0x7
|
|
4ab0: 47d1 li a5,20
|
|
4ab2: 4709 li a4,2
|
|
4ab4: 20000693 li a3,512
|
|
4ab8: 4601 li a2,0
|
|
4aba: a3258593 addi a1,a1,-1486 # 4a32 <Recv_thread_entry>
|
|
4abe: 36c50513 addi a0,a0,876 # 736c <ch32_uart_ops+0x22c>
|
|
4ac2: 802fd0ef jal ra,1ac4 <rt_thread_create>
|
|
4ac6: c119 beqz a0,4acc <Recv_thread_Init+0x28>
|
|
4ac8: 982fd0ef jal ra,1c4a <rt_thread_startup>
|
|
4acc: 8fbfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004ad0 <Send_thread_Init>:
|
|
4ad0: 8d3fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4ad4: 000055b7 lui a1,0x5
|
|
4ad8: 00007537 lui a0,0x7
|
|
4adc: 47d1 li a5,20
|
|
4ade: 470d li a4,3
|
|
4ae0: 20000693 li a3,512
|
|
4ae4: 4601 li a2,0
|
|
4ae6: a7658593 addi a1,a1,-1418 # 4a76 <Send_thread_entry>
|
|
4aea: 37450513 addi a0,a0,884 # 7374 <ch32_uart_ops+0x234>
|
|
4aee: fd7fc0ef jal ra,1ac4 <rt_thread_create>
|
|
4af2: c119 beqz a0,4af8 <Send_thread_Init+0x28>
|
|
4af4: 956fd0ef jal ra,1c4a <rt_thread_startup>
|
|
4af8: 8cffb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004afc <Send_mq_Init>:
|
|
4afc: 8a7fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4b00: 00007537 lui a0,0x7
|
|
4b04: 4681 li a3,0
|
|
4b06: 4651 li a2,20
|
|
4b08: 06400593 li a1,100
|
|
4b0c: 37c50513 addi a0,a0,892 # 737c <ch32_uart_ops+0x23c>
|
|
4b10: e31fb0ef jal ra,940 <rt_mq_create>
|
|
4b14: 8aa1a823 sw a0,-1872(gp) # 20000358 <mqSend>
|
|
4b18: 00a03533 snez a0,a0
|
|
4b1c: 8abfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004b20 <uart_putchar>:
|
|
4b20: cd11 beqz a0,4b3c <uart_putchar+0x1c>
|
|
4b22: 211c lbu a5,0(a0)
|
|
4b24: cf89 beqz a5,4b3e <uart_putchar+0x1e>
|
|
4b26: 87dfb2ef jal t0,3a2 <__riscv_save_0>
|
|
4b2a: 4148 lw a0,4(a0)
|
|
4b2c: 0ff5f593 andi a1,a1,255
|
|
4b30: 07f000ef jal ra,53ae <USARTx_SendByte_str>
|
|
4b34: 4785 li a5,1
|
|
4b36: 853e mv a0,a5
|
|
4b38: 88ffb06f j 3c6 <__riscv_restore_0>
|
|
4b3c: 4781 li a5,0
|
|
4b3e: 853e mv a0,a5
|
|
4b40: 8082 ret
|
|
|
|
00004b42 <uart_dev_init>:
|
|
4b42: 861fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4b46: 20000437 lui s0,0x20000
|
|
4b4a: 1b440793 addi a5,s0,436 # 200001b4 <uart_devices>
|
|
4b4e: 4481 li s1,0
|
|
4b50: 1b440413 addi s0,s0,436
|
|
4b54: 471d li a4,7
|
|
4b56: 43d4 lw a3,4(a5)
|
|
4b58: 0ca69763 bne a3,a0,4c26 <uart_dev_init+0xe4>
|
|
4b5c: 0496 slli s1,s1,0x5
|
|
4b5e: 00940933 add s2,s0,s1
|
|
4b62: 00094783 lbu a5,0(s2)
|
|
4b66: e795 bnez a5,4b92 <uart_dev_init+0x50>
|
|
4b68: 00c48513 addi a0,s1,12
|
|
4b6c: 9522 add a0,a0,s0
|
|
4b6e: f48fe0ef jal ra,32b6 <InitRingQueue>
|
|
4b72: 00492783 lw a5,4(s2)
|
|
4b76: 40002737 lui a4,0x40002
|
|
4b7a: 80070693 addi a3,a4,-2048 # 40001800 <_eusrstack+0x1fff1800>
|
|
4b7e: 00892503 lw a0,8(s2)
|
|
4b82: 00d79c63 bne a5,a3,4b9a <uart_dev_init+0x58>
|
|
4b86: 067000ef jal ra,53ec <J1_485_Init>
|
|
4b8a: 009407b3 add a5,s0,s1
|
|
4b8e: 4705 li a4,1
|
|
4b90: a398 sb a4,0(a5)
|
|
4b92: 00940533 add a0,s0,s1
|
|
4b96: 831fb06f j 3c6 <__riscv_restore_0>
|
|
4b9a: c0070693 addi a3,a4,-1024
|
|
4b9e: 00d79563 bne a5,a3,4ba8 <uart_dev_init+0x66>
|
|
4ba2: 11b000ef jal ra,54bc <J2_485_Init>
|
|
4ba6: b7d5 j 4b8a <uart_dev_init+0x48>
|
|
4ba8: 400046b7 lui a3,0x40004
|
|
4bac: 40068693 addi a3,a3,1024 # 40004400 <_eusrstack+0x1fff4400>
|
|
4bb0: 00d79563 bne a5,a3,4bba <uart_dev_init+0x78>
|
|
4bb4: 1d9000ef jal ra,558c <J3_485_Init>
|
|
4bb8: bfc9 j 4b8a <uart_dev_init+0x48>
|
|
4bba: 00e79563 bne a5,a4,4bc4 <uart_dev_init+0x82>
|
|
4bbe: 291000ef jal ra,564e <J4_485_Init>
|
|
4bc2: b7e1 j 4b8a <uart_dev_init+0x48>
|
|
4bc4: 40005737 lui a4,0x40005
|
|
4bc8: 80070693 addi a3,a4,-2048 # 40004800 <_eusrstack+0x1fff4800>
|
|
4bcc: 04d79863 bne a5,a3,4c1c <uart_dev_init+0xda>
|
|
4bd0: 353000ef jal ra,5722 <J5_0_485_Init>
|
|
4bd4: 01c92783 lw a5,28(s2)
|
|
4bd8: e781 bnez a5,4be0 <uart_dev_init+0x9e>
|
|
4bda: 323000ef jal ra,56fc <USART_CONNET_J0>
|
|
4bde: b775 j 4b8a <uart_dev_init+0x48>
|
|
4be0: 4715 li a4,5
|
|
4be2: 00e79563 bne a5,a4,4bec <uart_dev_init+0xaa>
|
|
4be6: 43f000ef jal ra,5824 <USART_CONNET_J5>
|
|
4bea: b745 j 4b8a <uart_dev_init+0x48>
|
|
4bec: 4719 li a4,6
|
|
4bee: 00e79563 bne a5,a4,4bf8 <uart_dev_init+0xb6>
|
|
4bf2: 43f000ef jal ra,5830 <USART_CONNET_J6>
|
|
4bf6: bf51 j 4b8a <uart_dev_init+0x48>
|
|
4bf8: 471d li a4,7
|
|
4bfa: 00e79563 bne a5,a4,4c04 <uart_dev_init+0xc2>
|
|
4bfe: 459000ef jal ra,5856 <USART_CONNET_J7>
|
|
4c02: b761 j 4b8a <uart_dev_init+0x48>
|
|
4c04: 4721 li a4,8
|
|
4c06: 00e79563 bne a5,a4,4c10 <uart_dev_init+0xce>
|
|
4c0a: 473000ef jal ra,587c <USART_CONNET_J8>
|
|
4c0e: bfb5 j 4b8a <uart_dev_init+0x48>
|
|
4c10: 4725 li a4,9
|
|
4c12: f6e79ce3 bne a5,a4,4b8a <uart_dev_init+0x48>
|
|
4c16: 48d000ef jal ra,58a2 <USART_CONNET_J9>
|
|
4c1a: bf85 j 4b8a <uart_dev_init+0x48>
|
|
4c1c: f6e797e3 bne a5,a4,4b8a <uart_dev_init+0x48>
|
|
4c20: 503000ef jal ra,5922 <Upward_UART5_Init>
|
|
4c24: b79d j 4b8a <uart_dev_init+0x48>
|
|
4c26: 0485 addi s1,s1,1
|
|
4c28: 02078793 addi a5,a5,32
|
|
4c2c: f2e495e3 bne s1,a4,4b56 <uart_dev_init+0x14>
|
|
4c30: 4501 li a0,0
|
|
4c32: b795 j 4b96 <uart_dev_init+0x54>
|
|
|
|
00004c34 <uart_all_dev_init>:
|
|
4c34: f6efb2ef jal t0,3a2 <__riscv_save_0>
|
|
4c38: 20000437 lui s0,0x20000
|
|
4c3c: 1b440413 addi s0,s0,436 # 200001b4 <uart_devices>
|
|
4c40: 4048 lw a0,4(s0)
|
|
4c42: 08000613 li a2,128
|
|
4c46: eac18593 addi a1,gp,-340 # 20000954 <J1RS485_in_buff>
|
|
4c4a: ef9ff0ef jal ra,4b42 <uart_dev_init>
|
|
4c4e: 8aa1ac23 sw a0,-1864(gp) # 20000360 <g_J1RS485_UART6_handle>
|
|
4c52: 5048 lw a0,36(s0)
|
|
4c54: 08000613 li a2,128
|
|
4c58: f2c18593 addi a1,gp,-212 # 200009d4 <J2RS485_in_buff>
|
|
4c5c: ee7ff0ef jal ra,4b42 <uart_dev_init>
|
|
4c60: 8aa1ae23 sw a0,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
4c64: 4068 lw a0,68(s0)
|
|
4c66: 08000613 li a2,128
|
|
4c6a: fac18593 addi a1,gp,-84 # 20000a54 <J3RS485_in_buff>
|
|
4c6e: ed5ff0ef jal ra,4b42 <uart_dev_init>
|
|
4c72: 8ca1a023 sw a0,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
4c76: 5068 lw a0,100(s0)
|
|
4c78: 08000613 li a2,128
|
|
4c7c: 02c18593 addi a1,gp,44 # 20000ad4 <J4RS485_in_buff>
|
|
4c80: ec3ff0ef jal ra,4b42 <uart_dev_init>
|
|
4c84: 8ca1a223 sw a0,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
4c88: 08442503 lw a0,132(s0)
|
|
4c8c: 08000613 li a2,128
|
|
4c90: 0ac18593 addi a1,gp,172 # 20000b54 <J50RS485_in_buff>
|
|
4c94: eafff0ef jal ra,4b42 <uart_dev_init>
|
|
4c98: 8ca1a423 sw a0,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
4c9c: 0a442503 lw a0,164(s0)
|
|
4ca0: 4605 li a2,1
|
|
4ca2: 8b418593 addi a1,gp,-1868 # 2000035c <LORA_in_buff>
|
|
4ca6: e9dff0ef jal ra,4b42 <uart_dev_init>
|
|
4caa: 8ca1a623 sw a0,-1844(gp) # 20000374 <g_LORA_UART4_handle>
|
|
4cae: 0c442503 lw a0,196(s0)
|
|
4cb2: 08000613 li a2,128
|
|
4cb6: 12c18593 addi a1,gp,300 # 20000bd4 <Upward_in_buff>
|
|
4cba: e89ff0ef jal ra,4b42 <uart_dev_init>
|
|
4cbe: 8ca1a823 sw a0,-1840(gp) # 20000378 <g_Upward_UART5_handle>
|
|
4cc2: 4501 li a0,0
|
|
4cc4: f02fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004cc8 <J1RS485_tx_enabla>:
|
|
4cc8: edafb2ef jal t0,3a2 <__riscv_save_0>
|
|
4ccc: 4585 li a1,1
|
|
4cce: 4511 li a0,4
|
|
4cd0: c76fe0ef jal ra,3146 <rt_pin_write>
|
|
4cd4: ef2fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004cd8 <J1RS485_tx_disenabla>:
|
|
4cd8: ecafb2ef jal t0,3a2 <__riscv_save_0>
|
|
4cdc: 4581 li a1,0
|
|
4cde: 4511 li a0,4
|
|
4ce0: c66fe0ef jal ra,3146 <rt_pin_write>
|
|
4ce4: ee2fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004ce8 <J2RS485_tx_enabla>:
|
|
4ce8: ebafb2ef jal t0,3a2 <__riscv_save_0>
|
|
4cec: 4585 li a1,1
|
|
4cee: 4515 li a0,5
|
|
4cf0: c56fe0ef jal ra,3146 <rt_pin_write>
|
|
4cf4: ed2fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004cf8 <J2RS485_tx_disenabla>:
|
|
4cf8: eaafb2ef jal t0,3a2 <__riscv_save_0>
|
|
4cfc: 4581 li a1,0
|
|
4cfe: 4515 li a0,5
|
|
4d00: c46fe0ef jal ra,3146 <rt_pin_write>
|
|
4d04: ec2fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004d08 <J3RS485_tx_enabla>:
|
|
4d08: e9afb2ef jal t0,3a2 <__riscv_save_0>
|
|
4d0c: 4585 li a1,1
|
|
4d0e: 4561 li a0,24
|
|
4d10: c36fe0ef jal ra,3146 <rt_pin_write>
|
|
4d14: eb2fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004d18 <J3RS485_tx_disenabla>:
|
|
4d18: e8afb2ef jal t0,3a2 <__riscv_save_0>
|
|
4d1c: 4581 li a1,0
|
|
4d1e: 4561 li a0,24
|
|
4d20: c26fe0ef jal ra,3146 <rt_pin_write>
|
|
4d24: ea2fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004d28 <J4RS485_tx_enabla>:
|
|
4d28: e7afb2ef jal t0,3a2 <__riscv_save_0>
|
|
4d2c: 4585 li a1,1
|
|
4d2e: 02300513 li a0,35
|
|
4d32: c14fe0ef jal ra,3146 <rt_pin_write>
|
|
4d36: e90fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004d3a <J4RS485_tx_disenabla>:
|
|
4d3a: e68fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4d3e: 4581 li a1,0
|
|
4d40: 02300513 li a0,35
|
|
4d44: c02fe0ef jal ra,3146 <rt_pin_write>
|
|
4d48: e7efb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004d4c <J50RS485_tx_enabla>:
|
|
4d4c: e56fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4d50: 4585 li a1,1
|
|
4d52: 03700513 li a0,55
|
|
4d56: bf0fe0ef jal ra,3146 <rt_pin_write>
|
|
4d5a: e6cfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004d5e <J50RS485_tx_disenabla>:
|
|
4d5e: e44fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4d62: 4581 li a1,0
|
|
4d64: 03700513 li a0,55
|
|
4d68: bdefe0ef jal ra,3146 <rt_pin_write>
|
|
4d6c: e5afb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004d70 <uart_dev_write>:
|
|
4d70: e18fb2ef jal t0,388 <__riscv_save_4>
|
|
4d74: 8b81a703 lw a4,-1864(gp) # 20000360 <g_J1RS485_UART6_handle>
|
|
4d78: 842a mv s0,a0
|
|
4d7a: 8a2e mv s4,a1
|
|
4d7c: 89b2 mv s3,a2
|
|
4d7e: 8b818913 addi s2,gp,-1864 # 20000360 <g_J1RS485_UART6_handle>
|
|
4d82: 02a71263 bne a4,a0,4da6 <uart_dev_write+0x36>
|
|
4d86: f43ff0ef jal ra,4cc8 <J1RS485_tx_enabla>
|
|
4d8a: 4481 li s1,0
|
|
4d8c: 0534c963 blt s1,s3,4dde <uart_dev_write+0x6e>
|
|
4d90: 00092783 lw a5,0(s2)
|
|
4d94: 04879e63 bne a5,s0,4df0 <uart_dev_write+0x80>
|
|
4d98: f41ff0ef jal ra,4cd8 <J1RS485_tx_disenabla>
|
|
4d9c: 4505 li a0,1
|
|
4d9e: e53fc0ef jal ra,1bf0 <rt_thread_mdelay>
|
|
4da2: e1afb06f j 3bc <__riscv_restore_4>
|
|
4da6: 8bc1a783 lw a5,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
4daa: 00a79563 bne a5,a0,4db4 <uart_dev_write+0x44>
|
|
4dae: f3bff0ef jal ra,4ce8 <J2RS485_tx_enabla>
|
|
4db2: bfe1 j 4d8a <uart_dev_write+0x1a>
|
|
4db4: 8c01a783 lw a5,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
4db8: 00a79563 bne a5,a0,4dc2 <uart_dev_write+0x52>
|
|
4dbc: f4dff0ef jal ra,4d08 <J3RS485_tx_enabla>
|
|
4dc0: b7e9 j 4d8a <uart_dev_write+0x1a>
|
|
4dc2: 8c41a783 lw a5,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
4dc6: 00a79563 bne a5,a0,4dd0 <uart_dev_write+0x60>
|
|
4dca: f5fff0ef jal ra,4d28 <J4RS485_tx_enabla>
|
|
4dce: bf75 j 4d8a <uart_dev_write+0x1a>
|
|
4dd0: 8c81a783 lw a5,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
4dd4: faa79be3 bne a5,a0,4d8a <uart_dev_write+0x1a>
|
|
4dd8: f75ff0ef jal ra,4d4c <J50RS485_tx_enabla>
|
|
4ddc: b77d j 4d8a <uart_dev_write+0x1a>
|
|
4dde: 009a07b3 add a5,s4,s1
|
|
4de2: 00078583 lb a1,0(a5)
|
|
4de6: 8522 mv a0,s0
|
|
4de8: 0485 addi s1,s1,1
|
|
4dea: d37ff0ef jal ra,4b20 <uart_putchar>
|
|
4dee: bf79 j 4d8c <uart_dev_write+0x1c>
|
|
4df0: 8bc1a783 lw a5,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
4df4: 00879563 bne a5,s0,4dfe <uart_dev_write+0x8e>
|
|
4df8: f01ff0ef jal ra,4cf8 <J2RS485_tx_disenabla>
|
|
4dfc: b745 j 4d9c <uart_dev_write+0x2c>
|
|
4dfe: 8c01a783 lw a5,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
4e02: 00879563 bne a5,s0,4e0c <uart_dev_write+0x9c>
|
|
4e06: f13ff0ef jal ra,4d18 <J3RS485_tx_disenabla>
|
|
4e0a: bf49 j 4d9c <uart_dev_write+0x2c>
|
|
4e0c: 8c41a783 lw a5,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
4e10: 00879563 bne a5,s0,4e1a <uart_dev_write+0xaa>
|
|
4e14: f27ff0ef jal ra,4d3a <J4RS485_tx_disenabla>
|
|
4e18: b751 j 4d9c <uart_dev_write+0x2c>
|
|
4e1a: 8c81a783 lw a5,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
4e1e: f6879fe3 bne a5,s0,4d9c <uart_dev_write+0x2c>
|
|
4e22: f3dff0ef jal ra,4d5e <J50RS485_tx_disenabla>
|
|
4e26: bf9d j 4d9c <uart_dev_write+0x2c>
|
|
|
|
00004e28 <uart_dev_char_present>:
|
|
4e28: 4781 li a5,0
|
|
4e2a: c909 beqz a0,4e3c <uart_dev_char_present+0x14>
|
|
4e2c: 2118 lbu a4,0(a0)
|
|
4e2e: 4781 li a5,0
|
|
4e30: c711 beqz a4,4e3c <uart_dev_char_present+0x14>
|
|
4e32: 495c lw a5,20(a0)
|
|
4e34: 4d08 lw a0,24(a0)
|
|
4e36: 8f89 sub a5,a5,a0
|
|
4e38: 00f037b3 snez a5,a5
|
|
4e3c: 853e mv a0,a5
|
|
4e3e: 8082 ret
|
|
|
|
00004e40 <uart_dev_in_char>:
|
|
4e40: d62fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4e44: 1141 addi sp,sp,-16
|
|
4e46: 842a mv s0,a0
|
|
4e48: 000107a3 sb zero,15(sp)
|
|
4e4c: fddff0ef jal ra,4e28 <uart_dev_char_present>
|
|
4e50: c519 beqz a0,4e5e <uart_dev_in_char+0x1e>
|
|
4e52: 00f10593 addi a1,sp,15
|
|
4e56: 00c40513 addi a0,s0,12
|
|
4e5a: c98fe0ef jal ra,32f2 <OutRingQueue>
|
|
4e5e: 00f10503 lb a0,15(sp)
|
|
4e62: 0141 addi sp,sp,16
|
|
4e64: d62fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004e68 <ring_queue_length>:
|
|
4e68: d3afb2ef jal t0,3a2 <__riscv_save_0>
|
|
4e6c: 0531 addi a0,a0,12
|
|
4e6e: caafe0ef jal ra,3318 <RingQueueLength>
|
|
4e72: d54fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004e76 <DBGMCU_GetCHIPID>:
|
|
4e76: 1ffff7b7 lui a5,0x1ffff
|
|
4e7a: 7047a503 lw a0,1796(a5) # 1ffff704 <__stack_size+0x1fff7704>
|
|
4e7e: 8082 ret
|
|
|
|
00004e80 <EXTI_Init>:
|
|
4e80: 4158 lw a4,4(a0)
|
|
4e82: 00052803 lw a6,0(a0)
|
|
4e86: 454c lw a1,12(a0)
|
|
4e88: 40010637 lui a2,0x40010
|
|
4e8c: 40060793 addi a5,a2,1024 # 40010400 <_eusrstack+0x20000400>
|
|
4e90: 973e add a4,a4,a5
|
|
4e92: fff84693 not a3,a6
|
|
4e96: c5b1 beqz a1,4ee2 <EXTI_Init+0x62>
|
|
4e98: 40062583 lw a1,1024(a2)
|
|
4e9c: 8df5 and a1,a1,a3
|
|
4e9e: 40b62023 sw a1,1024(a2)
|
|
4ea2: 43d0 lw a2,4(a5)
|
|
4ea4: 8ef1 and a3,a3,a2
|
|
4ea6: c3d4 sw a3,4(a5)
|
|
4ea8: 4314 lw a3,0(a4)
|
|
4eaa: 0106e6b3 or a3,a3,a6
|
|
4eae: c314 sw a3,0(a4)
|
|
4eb0: 4118 lw a4,0(a0)
|
|
4eb2: 4790 lw a2,8(a5)
|
|
4eb4: fff74693 not a3,a4
|
|
4eb8: 8e75 and a2,a2,a3
|
|
4eba: c790 sw a2,8(a5)
|
|
4ebc: 47d0 lw a2,12(a5)
|
|
4ebe: 8ef1 and a3,a3,a2
|
|
4ec0: c7d4 sw a3,12(a5)
|
|
4ec2: 4514 lw a3,8(a0)
|
|
4ec4: 4641 li a2,16
|
|
4ec6: 00c69963 bne a3,a2,4ed8 <EXTI_Init+0x58>
|
|
4eca: 4794 lw a3,8(a5)
|
|
4ecc: 8ed9 or a3,a3,a4
|
|
4ece: c794 sw a3,8(a5)
|
|
4ed0: 47d4 lw a3,12(a5)
|
|
4ed2: 8f55 or a4,a4,a3
|
|
4ed4: c7d8 sw a4,12(a5)
|
|
4ed6: 8082 ret
|
|
4ed8: 97b6 add a5,a5,a3
|
|
4eda: 4394 lw a3,0(a5)
|
|
4edc: 8f55 or a4,a4,a3
|
|
4ede: c398 sw a4,0(a5)
|
|
4ee0: 8082 ret
|
|
4ee2: 431c lw a5,0(a4)
|
|
4ee4: 8ff5 and a5,a5,a3
|
|
4ee6: c31c sw a5,0(a4)
|
|
4ee8: 8082 ret
|
|
|
|
00004eea <EXTI_GetITStatus>:
|
|
4eea: 400107b7 lui a5,0x40010
|
|
4eee: 40078713 addi a4,a5,1024 # 40010400 <_eusrstack+0x20000400>
|
|
4ef2: 4007a783 lw a5,1024(a5)
|
|
4ef6: 4b58 lw a4,20(a4)
|
|
4ef8: 8f69 and a4,a4,a0
|
|
4efa: c709 beqz a4,4f04 <EXTI_GetITStatus+0x1a>
|
|
4efc: 8d7d and a0,a0,a5
|
|
4efe: 00a03533 snez a0,a0
|
|
4f02: 8082 ret
|
|
4f04: 4501 li a0,0
|
|
4f06: 8082 ret
|
|
|
|
00004f08 <EXTI_ClearITPendingBit>:
|
|
4f08: 400107b7 lui a5,0x40010
|
|
4f0c: 40a7aa23 sw a0,1044(a5) # 40010414 <_eusrstack+0x20000414>
|
|
4f10: 8082 ret
|
|
|
|
00004f12 <GPIO_Init>:
|
|
4f12: 459c lw a5,8(a1)
|
|
4f14: 0107f713 andi a4,a5,16
|
|
4f18: 00f7f813 andi a6,a5,15
|
|
4f1c: c701 beqz a4,4f24 <GPIO_Init+0x12>
|
|
4f1e: 41d8 lw a4,4(a1)
|
|
4f20: 00e86833 or a6,a6,a4
|
|
4f24: 218e lhu a1,0(a1)
|
|
4f26: 0ff5f713 andi a4,a1,255
|
|
4f2a: c339 beqz a4,4f70 <GPIO_Init+0x5e>
|
|
4f2c: 4118 lw a4,0(a0)
|
|
4f2e: 4681 li a3,0
|
|
4f30: 4e85 li t4,1
|
|
4f32: 4f3d li t5,15
|
|
4f34: 02800f93 li t6,40
|
|
4f38: 04800293 li t0,72
|
|
4f3c: 4e21 li t3,8
|
|
4f3e: 00de9633 sll a2,t4,a3
|
|
4f42: 00c5f8b3 and a7,a1,a2
|
|
4f46: 03161163 bne a2,a7,4f68 <GPIO_Init+0x56>
|
|
4f4a: 00269893 slli a7,a3,0x2
|
|
4f4e: 011f1333 sll t1,t5,a7
|
|
4f52: fff34313 not t1,t1
|
|
4f56: 00e37733 and a4,t1,a4
|
|
4f5a: 011818b3 sll a7,a6,a7
|
|
4f5e: 00e8e733 or a4,a7,a4
|
|
4f62: 05f79f63 bne a5,t6,4fc0 <GPIO_Init+0xae>
|
|
4f66: c950 sw a2,20(a0)
|
|
4f68: 0685 addi a3,a3,1
|
|
4f6a: fdc69ae3 bne a3,t3,4f3e <GPIO_Init+0x2c>
|
|
4f6e: c118 sw a4,0(a0)
|
|
4f70: 0ff00713 li a4,255
|
|
4f74: 04b77563 bgeu a4,a1,4fbe <GPIO_Init+0xac>
|
|
4f78: 4154 lw a3,4(a0)
|
|
4f7a: 4621 li a2,8
|
|
4f7c: 4e85 li t4,1
|
|
4f7e: 4f3d li t5,15
|
|
4f80: 02800f93 li t6,40
|
|
4f84: 04800293 li t0,72
|
|
4f88: 4e41 li t3,16
|
|
4f8a: 00ce98b3 sll a7,t4,a2
|
|
4f8e: 0115f733 and a4,a1,a7
|
|
4f92: 02e89263 bne a7,a4,4fb6 <GPIO_Init+0xa4>
|
|
4f96: 00261713 slli a4,a2,0x2
|
|
4f9a: 1701 addi a4,a4,-32
|
|
4f9c: 00ef1333 sll t1,t5,a4
|
|
4fa0: fff34313 not t1,t1
|
|
4fa4: 00d376b3 and a3,t1,a3
|
|
4fa8: 00e81733 sll a4,a6,a4
|
|
4fac: 8ed9 or a3,a3,a4
|
|
4fae: 01f79d63 bne a5,t6,4fc8 <GPIO_Init+0xb6>
|
|
4fb2: 01152a23 sw a7,20(a0)
|
|
4fb6: 0605 addi a2,a2,1
|
|
4fb8: fdc619e3 bne a2,t3,4f8a <GPIO_Init+0x78>
|
|
4fbc: c154 sw a3,4(a0)
|
|
4fbe: 8082 ret
|
|
4fc0: fa5794e3 bne a5,t0,4f68 <GPIO_Init+0x56>
|
|
4fc4: c910 sw a2,16(a0)
|
|
4fc6: b74d j 4f68 <GPIO_Init+0x56>
|
|
4fc8: fe5797e3 bne a5,t0,4fb6 <GPIO_Init+0xa4>
|
|
4fcc: 01152823 sw a7,16(a0)
|
|
4fd0: b7dd j 4fb6 <GPIO_Init+0xa4>
|
|
|
|
00004fd2 <GPIO_ReadInputDataBit>:
|
|
4fd2: 4508 lw a0,8(a0)
|
|
4fd4: 8d6d and a0,a0,a1
|
|
4fd6: 00a03533 snez a0,a0
|
|
4fda: 8082 ret
|
|
|
|
00004fdc <GPIO_WriteBit>:
|
|
4fdc: c219 beqz a2,4fe2 <GPIO_WriteBit+0x6>
|
|
4fde: c90c sw a1,16(a0)
|
|
4fe0: 8082 ret
|
|
4fe2: c94c sw a1,20(a0)
|
|
4fe4: 8082 ret
|
|
|
|
00004fe6 <GPIO_EXTILineConfig>:
|
|
4fe6: 0fc5f713 andi a4,a1,252
|
|
4fea: 0035f793 andi a5,a1,3
|
|
4fee: 400105b7 lui a1,0x40010
|
|
4ff2: 95ba add a1,a1,a4
|
|
4ff4: 4594 lw a3,8(a1)
|
|
4ff6: 078a slli a5,a5,0x2
|
|
4ff8: 473d li a4,15
|
|
4ffa: 00f71733 sll a4,a4,a5
|
|
4ffe: fff74713 not a4,a4
|
|
5002: 8f75 and a4,a4,a3
|
|
5004: c598 sw a4,8(a1)
|
|
5006: 4598 lw a4,8(a1)
|
|
5008: 00f51533 sll a0,a0,a5
|
|
500c: 8d59 or a0,a0,a4
|
|
500e: c588 sw a0,8(a1)
|
|
5010: 8082 ret
|
|
|
|
00005012 <NVIC_Init>:
|
|
5012: 8d41a703 lw a4,-1836(gp) # 2000037c <NVIC_Priority_Group>
|
|
5016: 4789 li a5,2
|
|
5018: 2110 lbu a2,0(a0)
|
|
501a: 02f71163 bne a4,a5,503c <NVIC_Init+0x2a>
|
|
501e: 3114 lbu a3,1(a0)
|
|
5020: 478d li a5,3
|
|
5022: 00d7ed63 bltu a5,a3,503c <NVIC_Init+0x2a>
|
|
5026: 213c lbu a5,2(a0)
|
|
5028: 069a slli a3,a3,0x6
|
|
502a: e000e737 lui a4,0xe000e
|
|
502e: 0796 slli a5,a5,0x5
|
|
5030: 8fd5 or a5,a5,a3
|
|
5032: 0ff7f793 andi a5,a5,255
|
|
5036: 9732 add a4,a4,a2
|
|
5038: 40f70023 sb a5,1024(a4) # e000e400 <_eusrstack+0xbfffe400>
|
|
503c: 4154 lw a3,4(a0)
|
|
503e: 4705 li a4,1
|
|
5040: 00565793 srli a5,a2,0x5
|
|
5044: 00c71733 sll a4,a4,a2
|
|
5048: ca89 beqz a3,505a <NVIC_Init+0x48>
|
|
504a: 04078793 addi a5,a5,64
|
|
504e: 078a slli a5,a5,0x2
|
|
5050: e000e6b7 lui a3,0xe000e
|
|
5054: 97b6 add a5,a5,a3
|
|
5056: c398 sw a4,0(a5)
|
|
5058: 8082 ret
|
|
505a: 06078793 addi a5,a5,96
|
|
505e: bfc5 j 504e <NVIC_Init+0x3c>
|
|
|
|
00005060 <RCC_GetClocksFreq>:
|
|
5060: 40021737 lui a4,0x40021
|
|
5064: 435c lw a5,4(a4)
|
|
5066: 4691 li a3,4
|
|
5068: 8bb1 andi a5,a5,12
|
|
506a: 00d78563 beq a5,a3,5074 <RCC_GetClocksFreq+0x14>
|
|
506e: 46a1 li a3,8
|
|
5070: 06d78263 beq a5,a3,50d4 <RCC_GetClocksFreq+0x74>
|
|
5074: 007a17b7 lui a5,0x7a1
|
|
5078: 20078793 addi a5,a5,512 # 7a1200 <__stack_size+0x799200>
|
|
507c: c11c sw a5,0(a0)
|
|
507e: 40021637 lui a2,0x40021
|
|
5082: 425c lw a5,4(a2)
|
|
5084: 20000737 lui a4,0x20000
|
|
5088: 29470713 addi a4,a4,660 # 20000294 <APBAHBPrescTable>
|
|
508c: 8391 srli a5,a5,0x4
|
|
508e: 8bbd andi a5,a5,15
|
|
5090: 97ba add a5,a5,a4
|
|
5092: 2394 lbu a3,0(a5)
|
|
5094: 411c lw a5,0(a0)
|
|
5096: 00d7d7b3 srl a5,a5,a3
|
|
509a: c15c sw a5,4(a0)
|
|
509c: 4254 lw a3,4(a2)
|
|
509e: 82a1 srli a3,a3,0x8
|
|
50a0: 8a9d andi a3,a3,7
|
|
50a2: 96ba add a3,a3,a4
|
|
50a4: 2294 lbu a3,0(a3)
|
|
50a6: 00d7d6b3 srl a3,a5,a3
|
|
50aa: c514 sw a3,8(a0)
|
|
50ac: 4254 lw a3,4(a2)
|
|
50ae: 82ad srli a3,a3,0xb
|
|
50b0: 8a9d andi a3,a3,7
|
|
50b2: 9736 add a4,a4,a3
|
|
50b4: 2318 lbu a4,0(a4)
|
|
50b6: 00e7d7b3 srl a5,a5,a4
|
|
50ba: c55c sw a5,12(a0)
|
|
50bc: 4258 lw a4,4(a2)
|
|
50be: 8339 srli a4,a4,0xe
|
|
50c0: 00377693 andi a3,a4,3
|
|
50c4: 80418713 addi a4,gp,-2044 # 200002ac <ADCPrescTable>
|
|
50c8: 9736 add a4,a4,a3
|
|
50ca: 2318 lbu a4,0(a4)
|
|
50cc: 02e7d7b3 divu a5,a5,a4
|
|
50d0: c91c sw a5,16(a0)
|
|
50d2: 8082 ret
|
|
50d4: 435c lw a5,4(a4)
|
|
50d6: 4358 lw a4,4(a4)
|
|
50d8: 66c1 lui a3,0x10
|
|
50da: 83c9 srli a5,a5,0x12
|
|
50dc: 8f75 and a4,a4,a3
|
|
50de: 1ffff6b7 lui a3,0x1ffff
|
|
50e2: 70c6a683 lw a3,1804(a3) # 1ffff70c <__stack_size+0x1fff770c>
|
|
50e6: 8bbd andi a5,a5,15
|
|
50e8: 0789 addi a5,a5,2
|
|
50ea: 01169613 slli a2,a3,0x11
|
|
50ee: 00064863 bltz a2,50fe <RCC_GetClocksFreq+0x9e>
|
|
50f2: 46c5 li a3,17
|
|
50f4: 4601 li a2,0
|
|
50f6: 02d79263 bne a5,a3,511a <RCC_GetClocksFreq+0xba>
|
|
50fa: 47c9 li a5,18
|
|
50fc: a839 j 511a <RCC_GetClocksFreq+0xba>
|
|
50fe: 4689 li a3,2
|
|
5100: 02d78f63 beq a5,a3,513e <RCC_GetClocksFreq+0xde>
|
|
5104: 46bd li a3,15
|
|
5106: 02d78e63 beq a5,a3,5142 <RCC_GetClocksFreq+0xe2>
|
|
510a: 46c1 li a3,16
|
|
510c: 02d78e63 beq a5,a3,5148 <RCC_GetClocksFreq+0xe8>
|
|
5110: 46c5 li a3,17
|
|
5112: 4601 li a2,0
|
|
5114: 00d79363 bne a5,a3,511a <RCC_GetClocksFreq+0xba>
|
|
5118: 47c1 li a5,16
|
|
511a: ef1d bnez a4,5158 <RCC_GetClocksFreq+0xf8>
|
|
511c: 40024737 lui a4,0x40024
|
|
5120: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x20013800>
|
|
5124: 8b41 andi a4,a4,16
|
|
5126: c705 beqz a4,514e <RCC_GetClocksFreq+0xee>
|
|
5128: 007a1737 lui a4,0x7a1
|
|
512c: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
|
|
5130: 02f707b3 mul a5,a4,a5
|
|
5134: c11c sw a5,0(a0)
|
|
5136: d621 beqz a2,507e <RCC_GetClocksFreq+0x1e>
|
|
5138: 411c lw a5,0(a0)
|
|
513a: 8385 srli a5,a5,0x1
|
|
513c: b781 j 507c <RCC_GetClocksFreq+0x1c>
|
|
513e: 4601 li a2,0
|
|
5140: bf6d j 50fa <RCC_GetClocksFreq+0x9a>
|
|
5142: 4605 li a2,1
|
|
5144: 47b5 li a5,13
|
|
5146: bfd1 j 511a <RCC_GetClocksFreq+0xba>
|
|
5148: 4601 li a2,0
|
|
514a: 47bd li a5,15
|
|
514c: b7f9 j 511a <RCC_GetClocksFreq+0xba>
|
|
514e: 003d1737 lui a4,0x3d1
|
|
5152: 90070713 addi a4,a4,-1792 # 3d0900 <__stack_size+0x3c8900>
|
|
5156: bfe9 j 5130 <RCC_GetClocksFreq+0xd0>
|
|
5158: 400215b7 lui a1,0x40021
|
|
515c: 55d8 lw a4,44(a1)
|
|
515e: 00f71693 slli a3,a4,0xf
|
|
5162: 55d8 lw a4,44(a1)
|
|
5164: 0406df63 bgez a3,51c2 <RCC_GetClocksFreq+0x162>
|
|
5168: 8311 srli a4,a4,0x4
|
|
516a: 8b3d andi a4,a4,15
|
|
516c: 00170693 addi a3,a4,1
|
|
5170: 007a1737 lui a4,0x7a1
|
|
5174: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
|
|
5178: 02d75733 divu a4,a4,a3
|
|
517c: c118 sw a4,0(a0)
|
|
517e: 55d4 lw a3,44(a1)
|
|
5180: 82a1 srli a3,a3,0x8
|
|
5182: 8abd andi a3,a3,15
|
|
5184: e28d bnez a3,51a6 <RCC_GetClocksFreq+0x146>
|
|
5186: 4695 li a3,5
|
|
5188: 02d70733 mul a4,a4,a3
|
|
518c: 8305 srli a4,a4,0x1
|
|
518e: c118 sw a4,0(a0)
|
|
5190: 40021737 lui a4,0x40021
|
|
5194: 5758 lw a4,44(a4)
|
|
5196: 4114 lw a3,0(a0)
|
|
5198: 8b3d andi a4,a4,15
|
|
519a: 0705 addi a4,a4,1
|
|
519c: 02e6d733 divu a4,a3,a4
|
|
51a0: c118 sw a4,0(a0)
|
|
51a2: 4118 lw a4,0(a0)
|
|
51a4: b771 j 5130 <RCC_GetClocksFreq+0xd0>
|
|
51a6: 4585 li a1,1
|
|
51a8: 00b69463 bne a3,a1,51b0 <RCC_GetClocksFreq+0x150>
|
|
51ac: 46e5 li a3,25
|
|
51ae: bfe9 j 5188 <RCC_GetClocksFreq+0x128>
|
|
51b0: 45bd li a1,15
|
|
51b2: 00b69663 bne a3,a1,51be <RCC_GetClocksFreq+0x15e>
|
|
51b6: 46d1 li a3,20
|
|
51b8: 02e68733 mul a4,a3,a4
|
|
51bc: bfc9 j 518e <RCC_GetClocksFreq+0x12e>
|
|
51be: 0689 addi a3,a3,2
|
|
51c0: bfe5 j 51b8 <RCC_GetClocksFreq+0x158>
|
|
51c2: 8b3d andi a4,a4,15
|
|
51c4: 00170693 addi a3,a4,1 # 40021001 <_eusrstack+0x20011001>
|
|
51c8: 007a1737 lui a4,0x7a1
|
|
51cc: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
|
|
51d0: 02d75733 divu a4,a4,a3
|
|
51d4: b7f1 j 51a0 <RCC_GetClocksFreq+0x140>
|
|
|
|
000051d6 <RCC_APB2PeriphClockCmd>:
|
|
51d6: c599 beqz a1,51e4 <RCC_APB2PeriphClockCmd+0xe>
|
|
51d8: 40021737 lui a4,0x40021
|
|
51dc: 4f1c lw a5,24(a4)
|
|
51de: 8d5d or a0,a0,a5
|
|
51e0: cf08 sw a0,24(a4)
|
|
51e2: 8082 ret
|
|
51e4: 400217b7 lui a5,0x40021
|
|
51e8: 4f98 lw a4,24(a5)
|
|
51ea: fff54513 not a0,a0
|
|
51ee: 8d79 and a0,a0,a4
|
|
51f0: cf88 sw a0,24(a5)
|
|
51f2: 8082 ret
|
|
|
|
000051f4 <RCC_APB1PeriphClockCmd>:
|
|
51f4: c599 beqz a1,5202 <RCC_APB1PeriphClockCmd+0xe>
|
|
51f6: 40021737 lui a4,0x40021
|
|
51fa: 4f5c lw a5,28(a4)
|
|
51fc: 8d5d or a0,a0,a5
|
|
51fe: cf48 sw a0,28(a4)
|
|
5200: 8082 ret
|
|
5202: 400217b7 lui a5,0x40021
|
|
5206: 4fd8 lw a4,28(a5)
|
|
5208: fff54513 not a0,a0
|
|
520c: 8d79 and a0,a0,a4
|
|
520e: cfc8 sw a0,28(a5)
|
|
5210: 8082 ret
|
|
|
|
00005212 <USART_Init>:
|
|
5212: 990fb2ef jal t0,3a2 <__riscv_save_0>
|
|
5216: 2916 lhu a3,16(a0)
|
|
5218: 77f5 lui a5,0xffffd
|
|
521a: 17fd addi a5,a5,-1
|
|
521c: 8ff5 and a5,a5,a3
|
|
521e: 21f6 lhu a3,6(a1)
|
|
5220: 25da lhu a4,12(a1)
|
|
5222: 7179 addi sp,sp,-48
|
|
5224: 8fd5 or a5,a5,a3
|
|
5226: a91e sh a5,16(a0)
|
|
5228: 2556 lhu a3,12(a0)
|
|
522a: 77fd lui a5,0xfffff
|
|
522c: 9f378793 addi a5,a5,-1549 # ffffe9f3 <_eusrstack+0xdffee9f3>
|
|
5230: 8ff5 and a5,a5,a3
|
|
5232: 21d6 lhu a3,4(a1)
|
|
5234: 842a mv s0,a0
|
|
5236: c62e sw a1,12(sp)
|
|
5238: 8fd5 or a5,a5,a3
|
|
523a: 2596 lhu a3,8(a1)
|
|
523c: 8fd5 or a5,a5,a3
|
|
523e: 25b6 lhu a3,10(a1)
|
|
5240: 8fd5 or a5,a5,a3
|
|
5242: a55e sh a5,12(a0)
|
|
5244: 295e lhu a5,20(a0)
|
|
5246: 07c2 slli a5,a5,0x10
|
|
5248: 83c1 srli a5,a5,0x10
|
|
524a: cff7f793 andi a5,a5,-769
|
|
524e: 8fd9 or a5,a5,a4
|
|
5250: a95e sh a5,20(a0)
|
|
5252: 0868 addi a0,sp,28
|
|
5254: e0dff0ef jal ra,5060 <RCC_GetClocksFreq>
|
|
5258: 400147b7 lui a5,0x40014
|
|
525c: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
|
|
5260: 45b2 lw a1,12(sp)
|
|
5262: 02f41e63 bne s0,a5,529e <USART_Init+0x8c>
|
|
5266: 57a2 lw a5,40(sp)
|
|
5268: 4765 li a4,25
|
|
526a: 02e787b3 mul a5,a5,a4
|
|
526e: 4198 lw a4,0(a1)
|
|
5270: 06400693 li a3,100
|
|
5274: 070a slli a4,a4,0x2
|
|
5276: 02e7d7b3 divu a5,a5,a4
|
|
527a: 02d7d733 divu a4,a5,a3
|
|
527e: 02d7f7b3 remu a5,a5,a3
|
|
5282: 0712 slli a4,a4,0x4
|
|
5284: 0792 slli a5,a5,0x4
|
|
5286: 03278793 addi a5,a5,50
|
|
528a: 02d7d7b3 divu a5,a5,a3
|
|
528e: 8bbd andi a5,a5,15
|
|
5290: 8fd9 or a5,a5,a4
|
|
5292: 07c2 slli a5,a5,0x10
|
|
5294: 83c1 srli a5,a5,0x10
|
|
5296: a41e sh a5,8(s0)
|
|
5298: 6145 addi sp,sp,48
|
|
529a: 92cfb06f j 3c6 <__riscv_restore_0>
|
|
529e: 5792 lw a5,36(sp)
|
|
52a0: b7e1 j 5268 <USART_Init+0x56>
|
|
|
|
000052a2 <USART_Cmd>:
|
|
52a2: c591 beqz a1,52ae <USART_Cmd+0xc>
|
|
52a4: 255e lhu a5,12(a0)
|
|
52a6: 6709 lui a4,0x2
|
|
52a8: 8fd9 or a5,a5,a4
|
|
52aa: a55e sh a5,12(a0)
|
|
52ac: 8082 ret
|
|
52ae: 255a lhu a4,12(a0)
|
|
52b0: 77f9 lui a5,0xffffe
|
|
52b2: 17fd addi a5,a5,-1
|
|
52b4: 8ff9 and a5,a5,a4
|
|
52b6: bfd5 j 52aa <USART_Cmd+0x8>
|
|
|
|
000052b8 <USART_ITConfig>:
|
|
52b8: 0ff5f713 andi a4,a1,255
|
|
52bc: 4785 li a5,1
|
|
52be: 8315 srli a4,a4,0x5
|
|
52c0: 00b795b3 sll a1,a5,a1
|
|
52c4: 00f71963 bne a4,a5,52d6 <USART_ITConfig+0x1e>
|
|
52c8: 00c50793 addi a5,a0,12
|
|
52cc: 4398 lw a4,0(a5)
|
|
52ce: ce01 beqz a2,52e6 <USART_ITConfig+0x2e>
|
|
52d0: 8dd9 or a1,a1,a4
|
|
52d2: c38c sw a1,0(a5)
|
|
52d4: 8082 ret
|
|
52d6: 4689 li a3,2
|
|
52d8: 01450793 addi a5,a0,20
|
|
52dc: fed718e3 bne a4,a3,52cc <USART_ITConfig+0x14>
|
|
52e0: 01050793 addi a5,a0,16
|
|
52e4: b7e5 j 52cc <USART_ITConfig+0x14>
|
|
52e6: fff5c593 not a1,a1
|
|
52ea: 8df9 and a1,a1,a4
|
|
52ec: b7dd j 52d2 <USART_ITConfig+0x1a>
|
|
|
|
000052ee <USART_SendData>:
|
|
52ee: 1ff5f593 andi a1,a1,511
|
|
52f2: a14e sh a1,4(a0)
|
|
52f4: 8082 ret
|
|
|
|
000052f6 <USART_ReceiveData>:
|
|
52f6: 214a lhu a0,4(a0)
|
|
52f8: 1ff57513 andi a0,a0,511
|
|
52fc: 8082 ret
|
|
|
|
000052fe <USART_GetFlagStatus>:
|
|
52fe: 210a lhu a0,0(a0)
|
|
5300: 8d6d and a0,a0,a1
|
|
5302: 00a03533 snez a0,a0
|
|
5306: 8082 ret
|
|
|
|
00005308 <USART_GetITStatus>:
|
|
5308: 0ff5f713 andi a4,a1,255
|
|
530c: 4685 li a3,1
|
|
530e: 8315 srli a4,a4,0x5
|
|
5310: 00b697b3 sll a5,a3,a1
|
|
5314: 02d71163 bne a4,a3,5336 <USART_GetITStatus+0x2e>
|
|
5318: 255a lhu a4,12(a0)
|
|
531a: 8ff9 and a5,a5,a4
|
|
531c: 211a lhu a4,0(a0)
|
|
531e: 4501 li a0,0
|
|
5320: 0742 slli a4,a4,0x10
|
|
5322: 8341 srli a4,a4,0x10
|
|
5324: cb81 beqz a5,5334 <USART_GetITStatus+0x2c>
|
|
5326: 4505 li a0,1
|
|
5328: 81a1 srli a1,a1,0x8
|
|
532a: 00b515b3 sll a1,a0,a1
|
|
532e: 8f6d and a4,a4,a1
|
|
5330: 00e03533 snez a0,a4
|
|
5334: 8082 ret
|
|
5336: 4689 li a3,2
|
|
5338: 00d71463 bne a4,a3,5340 <USART_GetITStatus+0x38>
|
|
533c: 291a lhu a4,16(a0)
|
|
533e: bff1 j 531a <USART_GetITStatus+0x12>
|
|
5340: 295a lhu a4,20(a0)
|
|
5342: bfe1 j 531a <USART_GetITStatus+0x12>
|
|
|
|
00005344 <USART_ClearITPendingBit>:
|
|
5344: 81a1 srli a1,a1,0x8
|
|
5346: 4785 li a5,1
|
|
5348: 00b797b3 sll a5,a5,a1
|
|
534c: fff7c793 not a5,a5
|
|
5350: 07c2 slli a5,a5,0x10
|
|
5352: 83c1 srli a5,a5,0x10
|
|
5354: a11e sh a5,0(a0)
|
|
5356: 8082 ret
|
|
|
|
00005358 <android_PowerCtrl_Open>:
|
|
5358: 84afb2ef jal t0,3a2 <__riscv_save_0>
|
|
535c: 4585 li a1,1
|
|
535e: 4509 li a0,2
|
|
5360: de7fd0ef jal ra,3146 <rt_pin_write>
|
|
5364: 862fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00005368 <android_PowerCtrl_Init>:
|
|
5368: 83afb2ef jal t0,3a2 <__riscv_save_0>
|
|
536c: 4581 li a1,0
|
|
536e: 4509 li a0,2
|
|
5370: dbdfd0ef jal ra,312c <rt_pin_mode>
|
|
5374: fe5ff0ef jal ra,5358 <android_PowerCtrl_Open>
|
|
5378: 84efb06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000537c <android_PowerKey_Init>:
|
|
537c: 826fb2ef jal t0,3a2 <__riscv_save_0>
|
|
5380: 4581 li a1,0
|
|
5382: 4505 li a0,1
|
|
5384: da9fd0ef jal ra,312c <rt_pin_mode>
|
|
5388: 83efb06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000538c <android_PowerKey_Rest>:
|
|
538c: 816fb2ef jal t0,3a2 <__riscv_save_0>
|
|
5390: 4581 li a1,0
|
|
5392: 4505 li a0,1
|
|
5394: db3fd0ef jal ra,3146 <rt_pin_write>
|
|
5398: 6509 lui a0,0x2
|
|
539a: 71050513 addi a0,a0,1808 # 2710 <msh_exec+0x15a>
|
|
539e: 853fc0ef jal ra,1bf0 <rt_thread_mdelay>
|
|
53a2: 4585 li a1,1
|
|
53a4: 4505 li a0,1
|
|
53a6: da1fd0ef jal ra,3146 <rt_pin_write>
|
|
53aa: 81cfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
000053ae <USARTx_SendByte_str>:
|
|
53ae: ff5fa2ef jal t0,3a2 <__riscv_save_0>
|
|
53b2: 842a mv s0,a0
|
|
53b4: f3bff0ef jal ra,52ee <USART_SendData>
|
|
53b8: 08000593 li a1,128
|
|
53bc: 8522 mv a0,s0
|
|
53be: f41ff0ef jal ra,52fe <USART_GetFlagStatus>
|
|
53c2: d97d beqz a0,53b8 <USARTx_SendByte_str+0xa>
|
|
53c4: 802fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
000053c8 <J1_PWR_Open>:
|
|
53c8: fdbfa2ef jal t0,3a2 <__riscv_save_0>
|
|
53cc: 4585 li a1,1
|
|
53ce: 02600513 li a0,38
|
|
53d2: d75fd0ef jal ra,3146 <rt_pin_write>
|
|
53d6: ff1fa06f j 3c6 <__riscv_restore_0>
|
|
|
|
000053da <J1_PWR_Close>:
|
|
53da: fc9fa2ef jal t0,3a2 <__riscv_save_0>
|
|
53de: 4581 li a1,0
|
|
53e0: 02600513 li a0,38
|
|
53e4: d63fd0ef jal ra,3146 <rt_pin_write>
|
|
53e8: fdffa06f j 3c6 <__riscv_restore_0>
|
|
|
|
000053ec <J1_485_Init>:
|
|
53ec: fb7fa2ef jal t0,3a2 <__riscv_save_0>
|
|
53f0: 7179 addi sp,sp,-48
|
|
53f2: 842a mv s0,a0
|
|
53f4: 4581 li a1,0
|
|
53f6: 4511 li a0,4
|
|
53f8: d35fd0ef jal ra,312c <rt_pin_mode>
|
|
53fc: 4581 li a1,0
|
|
53fe: 4511 li a0,4
|
|
5400: d47fd0ef jal ra,3146 <rt_pin_write>
|
|
5404: 4581 li a1,0
|
|
5406: 02600513 li a0,38
|
|
540a: d23fd0ef jal ra,312c <rt_pin_mode>
|
|
540e: fcdff0ef jal ra,53da <J1_PWR_Close>
|
|
5412: 4585 li a1,1
|
|
5414: 4541 li a0,16
|
|
5416: dc1ff0ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
541a: 4585 li a1,1
|
|
541c: 04000513 li a0,64
|
|
5420: dd5ff0ef jal ra,51f4 <RCC_APB1PeriphClockCmd>
|
|
5424: 4785 li a5,1
|
|
5426: 82fc sh a5,20(sp)
|
|
5428: 448d li s1,3
|
|
542a: 47e1 li a5,24
|
|
542c: 084c addi a1,sp,20
|
|
542e: 40011537 lui a0,0x40011
|
|
5432: cc26 sw s1,24(sp)
|
|
5434: ce3e sw a5,28(sp)
|
|
5436: addff0ef jal ra,4f12 <GPIO_Init>
|
|
543a: 4789 li a5,2
|
|
543c: 82fc sh a5,20(sp)
|
|
543e: 084c addi a1,sp,20
|
|
5440: 4791 li a5,4
|
|
5442: 40011537 lui a0,0x40011
|
|
5446: ce3e sw a5,28(sp)
|
|
5448: acbff0ef jal ra,4f12 <GPIO_Init>
|
|
544c: d022 sw s0,32(sp)
|
|
544e: 40002437 lui s0,0x40002
|
|
5452: 100c addi a1,sp,32
|
|
5454: 000c07b7 lui a5,0xc0
|
|
5458: 80040513 addi a0,s0,-2048 # 40001800 <_eusrstack+0x1fff1800>
|
|
545c: d43e sw a5,40(sp)
|
|
545e: d202 sw zero,36(sp)
|
|
5460: 02011623 sh zero,44(sp)
|
|
5464: dafff0ef jal ra,5212 <USART_Init>
|
|
5468: 35700793 li a5,855
|
|
546c: 867c sh a5,12(sp)
|
|
546e: 0068 addi a0,sp,12
|
|
5470: 4785 li a5,1
|
|
5472: c83e sw a5,16(sp)
|
|
5474: 8744 sb s1,14(sp)
|
|
5476: b9dff0ef jal ra,5012 <NVIC_Init>
|
|
547a: 4605 li a2,1
|
|
547c: 80040513 addi a0,s0,-2048
|
|
5480: 52500593 li a1,1317
|
|
5484: e35ff0ef jal ra,52b8 <USART_ITConfig>
|
|
5488: 4585 li a1,1
|
|
548a: 80040513 addi a0,s0,-2048
|
|
548e: e15ff0ef jal ra,52a2 <USART_Cmd>
|
|
5492: 6145 addi sp,sp,48
|
|
5494: f33fa06f j 3c6 <__riscv_restore_0>
|
|
|
|
00005498 <J2_PWR_Open>:
|
|
5498: f0bfa2ef jal t0,3a2 <__riscv_save_0>
|
|
549c: 4585 li a1,1
|
|
549e: 02700513 li a0,39
|
|
54a2: ca5fd0ef jal ra,3146 <rt_pin_write>
|
|
54a6: f21fa06f j 3c6 <__riscv_restore_0>
|
|
|
|
000054aa <J2_PWR_Close>:
|
|
54aa: ef9fa2ef jal t0,3a2 <__riscv_save_0>
|
|
54ae: 4581 li a1,0
|
|
54b0: 02700513 li a0,39
|
|
54b4: c93fd0ef jal ra,3146 <rt_pin_write>
|
|
54b8: f0ffa06f j 3c6 <__riscv_restore_0>
|
|
|
|
000054bc <J2_485_Init>:
|
|
54bc: ee7fa2ef jal t0,3a2 <__riscv_save_0>
|
|
54c0: 7179 addi sp,sp,-48
|
|
54c2: 842a mv s0,a0
|
|
54c4: 4581 li a1,0
|
|
54c6: 4515 li a0,5
|
|
54c8: c65fd0ef jal ra,312c <rt_pin_mode>
|
|
54cc: 4581 li a1,0
|
|
54ce: 4515 li a0,5
|
|
54d0: c77fd0ef jal ra,3146 <rt_pin_write>
|
|
54d4: 4581 li a1,0
|
|
54d6: 02700513 li a0,39
|
|
54da: c53fd0ef jal ra,312c <rt_pin_mode>
|
|
54de: fcdff0ef jal ra,54aa <J2_PWR_Close>
|
|
54e2: 4585 li a1,1
|
|
54e4: 4541 li a0,16
|
|
54e6: cf1ff0ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
54ea: 4585 li a1,1
|
|
54ec: 08000513 li a0,128
|
|
54f0: d05ff0ef jal ra,51f4 <RCC_APB1PeriphClockCmd>
|
|
54f4: 4791 li a5,4
|
|
54f6: 82fc sh a5,20(sp)
|
|
54f8: 448d li s1,3
|
|
54fa: 47e1 li a5,24
|
|
54fc: 084c addi a1,sp,20
|
|
54fe: 40011537 lui a0,0x40011
|
|
5502: cc26 sw s1,24(sp)
|
|
5504: ce3e sw a5,28(sp)
|
|
5506: a0dff0ef jal ra,4f12 <GPIO_Init>
|
|
550a: 47a1 li a5,8
|
|
550c: 82fc sh a5,20(sp)
|
|
550e: 084c addi a1,sp,20
|
|
5510: 4791 li a5,4
|
|
5512: 40011537 lui a0,0x40011
|
|
5516: ce3e sw a5,28(sp)
|
|
5518: 9fbff0ef jal ra,4f12 <GPIO_Init>
|
|
551c: d022 sw s0,32(sp)
|
|
551e: 40002437 lui s0,0x40002
|
|
5522: 100c addi a1,sp,32
|
|
5524: 000c07b7 lui a5,0xc0
|
|
5528: c0040513 addi a0,s0,-1024 # 40001c00 <_eusrstack+0x1fff1c00>
|
|
552c: d43e sw a5,40(sp)
|
|
552e: d202 sw zero,36(sp)
|
|
5530: 02011623 sh zero,44(sp)
|
|
5534: cdfff0ef jal ra,5212 <USART_Init>
|
|
5538: 35800793 li a5,856
|
|
553c: 867c sh a5,12(sp)
|
|
553e: 0068 addi a0,sp,12
|
|
5540: 4785 li a5,1
|
|
5542: c83e sw a5,16(sp)
|
|
5544: 8744 sb s1,14(sp)
|
|
5546: acdff0ef jal ra,5012 <NVIC_Init>
|
|
554a: 4605 li a2,1
|
|
554c: c0040513 addi a0,s0,-1024
|
|
5550: 52500593 li a1,1317
|
|
5554: d65ff0ef jal ra,52b8 <USART_ITConfig>
|
|
5558: 4585 li a1,1
|
|
555a: c0040513 addi a0,s0,-1024
|
|
555e: d45ff0ef jal ra,52a2 <USART_Cmd>
|
|
5562: 6145 addi sp,sp,48
|
|
5564: e63fa06f j 3c6 <__riscv_restore_0>
|
|
|
|
00005568 <J3_PWR_Open>:
|
|
5568: e3bfa2ef jal t0,3a2 <__riscv_save_0>
|
|
556c: 4585 li a1,1
|
|
556e: 02800513 li a0,40
|
|
5572: bd5fd0ef jal ra,3146 <rt_pin_write>
|
|
5576: e51fa06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000557a <J3_PWR_Close>:
|
|
557a: e29fa2ef jal t0,3a2 <__riscv_save_0>
|
|
557e: 4581 li a1,0
|
|
5580: 02800513 li a0,40
|
|
5584: bc3fd0ef jal ra,3146 <rt_pin_write>
|
|
5588: e3ffa06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000558c <J3_485_Init>:
|
|
558c: e17fa2ef jal t0,3a2 <__riscv_save_0>
|
|
5590: 7179 addi sp,sp,-48
|
|
5592: 892a mv s2,a0
|
|
5594: 4581 li a1,0
|
|
5596: 4561 li a0,24
|
|
5598: b95fd0ef jal ra,312c <rt_pin_mode>
|
|
559c: 4581 li a1,0
|
|
559e: 4561 li a0,24
|
|
55a0: ba7fd0ef jal ra,3146 <rt_pin_write>
|
|
55a4: 4581 li a1,0
|
|
55a6: 02800513 li a0,40
|
|
55aa: b83fd0ef jal ra,312c <rt_pin_mode>
|
|
55ae: fcdff0ef jal ra,557a <J3_PWR_Close>
|
|
55b2: 4585 li a1,1
|
|
55b4: 4511 li a0,4
|
|
55b6: c21ff0ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
55ba: 4585 li a1,1
|
|
55bc: 00020537 lui a0,0x20
|
|
55c0: c35ff0ef jal ra,51f4 <RCC_APB1PeriphClockCmd>
|
|
55c4: 40011437 lui s0,0x40011
|
|
55c8: 4791 li a5,4
|
|
55ca: 82fc sh a5,20(sp)
|
|
55cc: 448d li s1,3
|
|
55ce: 47e1 li a5,24
|
|
55d0: 084c addi a1,sp,20
|
|
55d2: 80040513 addi a0,s0,-2048 # 40010800 <_eusrstack+0x20000800>
|
|
55d6: cc26 sw s1,24(sp)
|
|
55d8: ce3e sw a5,28(sp)
|
|
55da: 939ff0ef jal ra,4f12 <GPIO_Init>
|
|
55de: 47a1 li a5,8
|
|
55e0: 82fc sh a5,20(sp)
|
|
55e2: 084c addi a1,sp,20
|
|
55e4: 4791 li a5,4
|
|
55e6: 80040513 addi a0,s0,-2048
|
|
55ea: ce3e sw a5,28(sp)
|
|
55ec: 40004437 lui s0,0x40004
|
|
55f0: 923ff0ef jal ra,4f12 <GPIO_Init>
|
|
55f4: 100c addi a1,sp,32
|
|
55f6: 000c07b7 lui a5,0xc0
|
|
55fa: 40040513 addi a0,s0,1024 # 40004400 <_eusrstack+0x1fff4400>
|
|
55fe: d04a sw s2,32(sp)
|
|
5600: d43e sw a5,40(sp)
|
|
5602: d202 sw zero,36(sp)
|
|
5604: 02011623 sh zero,44(sp)
|
|
5608: c0bff0ef jal ra,5212 <USART_Init>
|
|
560c: 33600793 li a5,822
|
|
5610: 867c sh a5,12(sp)
|
|
5612: 0068 addi a0,sp,12
|
|
5614: 4785 li a5,1
|
|
5616: c83e sw a5,16(sp)
|
|
5618: 8744 sb s1,14(sp)
|
|
561a: 9f9ff0ef jal ra,5012 <NVIC_Init>
|
|
561e: 4605 li a2,1
|
|
5620: 40040513 addi a0,s0,1024
|
|
5624: 52500593 li a1,1317
|
|
5628: c91ff0ef jal ra,52b8 <USART_ITConfig>
|
|
562c: 4585 li a1,1
|
|
562e: 40040513 addi a0,s0,1024
|
|
5632: c71ff0ef jal ra,52a2 <USART_Cmd>
|
|
5636: 6145 addi sp,sp,48
|
|
5638: d8ffa06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000563c <J4_PWR_Open>:
|
|
563c: d67fa2ef jal t0,3a2 <__riscv_save_0>
|
|
5640: 4585 li a1,1
|
|
5642: 02900513 li a0,41
|
|
5646: b01fd0ef jal ra,3146 <rt_pin_write>
|
|
564a: d7dfa06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000564e <J4_485_Init>:
|
|
564e: d55fa2ef jal t0,3a2 <__riscv_save_0>
|
|
5652: 7179 addi sp,sp,-48
|
|
5654: 84aa mv s1,a0
|
|
5656: 4581 li a1,0
|
|
5658: 02300513 li a0,35
|
|
565c: ad1fd0ef jal ra,312c <rt_pin_mode>
|
|
5660: 4581 li a1,0
|
|
5662: 02300513 li a0,35
|
|
5666: ae1fd0ef jal ra,3146 <rt_pin_write>
|
|
566a: 4581 li a1,0
|
|
566c: 02900513 li a0,41
|
|
5670: abdfd0ef jal ra,312c <rt_pin_mode>
|
|
5674: fc9ff0ef jal ra,563c <J4_PWR_Open>
|
|
5678: 4585 li a1,1
|
|
567a: 4541 li a0,16
|
|
567c: b5bff0ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
5680: 4585 li a1,1
|
|
5682: 10000513 li a0,256
|
|
5686: b6fff0ef jal ra,51f4 <RCC_APB1PeriphClockCmd>
|
|
568a: 47c1 li a5,16
|
|
568c: 440d li s0,3
|
|
568e: 82fc sh a5,20(sp)
|
|
5690: 084c addi a1,sp,20
|
|
5692: 47e1 li a5,24
|
|
5694: 40011537 lui a0,0x40011
|
|
5698: cc22 sw s0,24(sp)
|
|
569a: ce3e sw a5,28(sp)
|
|
569c: 877ff0ef jal ra,4f12 <GPIO_Init>
|
|
56a0: 02000793 li a5,32
|
|
56a4: 82fc sh a5,20(sp)
|
|
56a6: 084c addi a1,sp,20
|
|
56a8: 4791 li a5,4
|
|
56aa: 40011537 lui a0,0x40011
|
|
56ae: ce3e sw a5,28(sp)
|
|
56b0: 863ff0ef jal ra,4f12 <GPIO_Init>
|
|
56b4: 100c addi a1,sp,32
|
|
56b6: 000c07b7 lui a5,0xc0
|
|
56ba: 40002537 lui a0,0x40002
|
|
56be: d026 sw s1,32(sp)
|
|
56c0: d43e sw a5,40(sp)
|
|
56c2: d202 sw zero,36(sp)
|
|
56c4: 02011623 sh zero,44(sp)
|
|
56c8: b4bff0ef jal ra,5212 <USART_Init>
|
|
56cc: 35900793 li a5,857
|
|
56d0: 867c sh a5,12(sp)
|
|
56d2: 0068 addi a0,sp,12
|
|
56d4: 4785 li a5,1
|
|
56d6: c83e sw a5,16(sp)
|
|
56d8: 8740 sb s0,14(sp)
|
|
56da: 939ff0ef jal ra,5012 <NVIC_Init>
|
|
56de: 4605 li a2,1
|
|
56e0: 52500593 li a1,1317
|
|
56e4: 40002537 lui a0,0x40002
|
|
56e8: bd1ff0ef jal ra,52b8 <USART_ITConfig>
|
|
56ec: 4585 li a1,1
|
|
56ee: 40002537 lui a0,0x40002
|
|
56f2: bb1ff0ef jal ra,52a2 <USART_Cmd>
|
|
56f6: 6145 addi sp,sp,48
|
|
56f8: ccffa06f j 3c6 <__riscv_restore_0>
|
|
|
|
000056fc <USART_CONNET_J0>:
|
|
56fc: ca7fa2ef jal t0,3a2 <__riscv_save_0>
|
|
5700: 4581 li a1,0
|
|
5702: 03800513 li a0,56
|
|
5706: a41fd0ef jal ra,3146 <rt_pin_write>
|
|
570a: 4581 li a1,0
|
|
570c: 03900513 li a0,57
|
|
5710: a37fd0ef jal ra,3146 <rt_pin_write>
|
|
5714: 4581 li a1,0
|
|
5716: 03a00513 li a0,58
|
|
571a: a2dfd0ef jal ra,3146 <rt_pin_write>
|
|
571e: ca9fa06f j 3c6 <__riscv_restore_0>
|
|
|
|
00005722 <J5_0_485_Init>:
|
|
5722: c81fa2ef jal t0,3a2 <__riscv_save_0>
|
|
5726: 7179 addi sp,sp,-48
|
|
5728: 84aa mv s1,a0
|
|
572a: 4581 li a1,0
|
|
572c: 02a00513 li a0,42
|
|
5730: 9fdfd0ef jal ra,312c <rt_pin_mode>
|
|
5734: 4581 li a1,0
|
|
5736: 02b00513 li a0,43
|
|
573a: 9f3fd0ef jal ra,312c <rt_pin_mode>
|
|
573e: 4581 li a1,0
|
|
5740: 02c00513 li a0,44
|
|
5744: 9e9fd0ef jal ra,312c <rt_pin_mode>
|
|
5748: 4581 li a1,0
|
|
574a: 02d00513 li a0,45
|
|
574e: 9dffd0ef jal ra,312c <rt_pin_mode>
|
|
5752: 4581 li a1,0
|
|
5754: 02e00513 li a0,46
|
|
5758: 9d5fd0ef jal ra,312c <rt_pin_mode>
|
|
575c: 4581 li a1,0
|
|
575e: 03700513 li a0,55
|
|
5762: 9cbfd0ef jal ra,312c <rt_pin_mode>
|
|
5766: 4581 li a1,0
|
|
5768: 03700513 li a0,55
|
|
576c: 9dbfd0ef jal ra,3146 <rt_pin_write>
|
|
5770: 4581 li a1,0
|
|
5772: 03800513 li a0,56
|
|
5776: 9b7fd0ef jal ra,312c <rt_pin_mode>
|
|
577a: 4581 li a1,0
|
|
577c: 03900513 li a0,57
|
|
5780: 9adfd0ef jal ra,312c <rt_pin_mode>
|
|
5784: 4581 li a1,0
|
|
5786: 03a00513 li a0,58
|
|
578a: 9a3fd0ef jal ra,312c <rt_pin_mode>
|
|
578e: f6fff0ef jal ra,56fc <USART_CONNET_J0>
|
|
5792: 4585 li a1,1
|
|
5794: 4521 li a0,8
|
|
5796: a41ff0ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
579a: 4585 li a1,1
|
|
579c: 00040537 lui a0,0x40
|
|
57a0: a55ff0ef jal ra,51f4 <RCC_APB1PeriphClockCmd>
|
|
57a4: 40000793 li a5,1024
|
|
57a8: 82fc sh a5,20(sp)
|
|
57aa: 40011437 lui s0,0x40011
|
|
57ae: 478d li a5,3
|
|
57b0: cc3e sw a5,24(sp)
|
|
57b2: 084c addi a1,sp,20
|
|
57b4: 47e1 li a5,24
|
|
57b6: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x20000c00>
|
|
57ba: ce3e sw a5,28(sp)
|
|
57bc: f56ff0ef jal ra,4f12 <GPIO_Init>
|
|
57c0: 6785 lui a5,0x1
|
|
57c2: 80078793 addi a5,a5,-2048 # 800 <rt_ipc_list_suspend+0x1c>
|
|
57c6: 82fc sh a5,20(sp)
|
|
57c8: 084c addi a1,sp,20
|
|
57ca: 4791 li a5,4
|
|
57cc: c0040513 addi a0,s0,-1024
|
|
57d0: ce3e sw a5,28(sp)
|
|
57d2: 40005437 lui s0,0x40005
|
|
57d6: f3cff0ef jal ra,4f12 <GPIO_Init>
|
|
57da: 100c addi a1,sp,32
|
|
57dc: 000c07b7 lui a5,0xc0
|
|
57e0: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1fff4800>
|
|
57e4: d026 sw s1,32(sp)
|
|
57e6: d43e sw a5,40(sp)
|
|
57e8: d202 sw zero,36(sp)
|
|
57ea: 02011623 sh zero,44(sp)
|
|
57ee: a25ff0ef jal ra,5212 <USART_Init>
|
|
57f2: 13700793 li a5,311
|
|
57f6: 867c sh a5,12(sp)
|
|
57f8: 4785 li a5,1
|
|
57fa: 875c sb a5,14(sp)
|
|
57fc: 0068 addi a0,sp,12
|
|
57fe: 4785 li a5,1
|
|
5800: c83e sw a5,16(sp)
|
|
5802: 811ff0ef jal ra,5012 <NVIC_Init>
|
|
5806: 4605 li a2,1
|
|
5808: 80040513 addi a0,s0,-2048
|
|
580c: 52500593 li a1,1317
|
|
5810: aa9ff0ef jal ra,52b8 <USART_ITConfig>
|
|
5814: 4585 li a1,1
|
|
5816: 80040513 addi a0,s0,-2048
|
|
581a: a89ff0ef jal ra,52a2 <USART_Cmd>
|
|
581e: 6145 addi sp,sp,48
|
|
5820: ba7fa06f j 3c6 <__riscv_restore_0>
|
|
|
|
00005824 <USART_CONNET_J5>:
|
|
5824: b7ffa2ef jal t0,3a2 <__riscv_save_0>
|
|
5828: ed5ff0ef jal ra,56fc <USART_CONNET_J0>
|
|
582c: b9bfa06f j 3c6 <__riscv_restore_0>
|
|
|
|
00005830 <USART_CONNET_J6>:
|
|
5830: b73fa2ef jal t0,3a2 <__riscv_save_0>
|
|
5834: 4585 li a1,1
|
|
5836: 03800513 li a0,56
|
|
583a: 90dfd0ef jal ra,3146 <rt_pin_write>
|
|
583e: 4581 li a1,0
|
|
5840: 03900513 li a0,57
|
|
5844: 903fd0ef jal ra,3146 <rt_pin_write>
|
|
5848: 4581 li a1,0
|
|
584a: 03a00513 li a0,58
|
|
584e: 8f9fd0ef jal ra,3146 <rt_pin_write>
|
|
5852: b75fa06f j 3c6 <__riscv_restore_0>
|
|
|
|
00005856 <USART_CONNET_J7>:
|
|
5856: b4dfa2ef jal t0,3a2 <__riscv_save_0>
|
|
585a: 4585 li a1,1
|
|
585c: 03800513 li a0,56
|
|
5860: 8e7fd0ef jal ra,3146 <rt_pin_write>
|
|
5864: 4585 li a1,1
|
|
5866: 03900513 li a0,57
|
|
586a: 8ddfd0ef jal ra,3146 <rt_pin_write>
|
|
586e: 4581 li a1,0
|
|
5870: 03a00513 li a0,58
|
|
5874: 8d3fd0ef jal ra,3146 <rt_pin_write>
|
|
5878: b4ffa06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000587c <USART_CONNET_J8>:
|
|
587c: b27fa2ef jal t0,3a2 <__riscv_save_0>
|
|
5880: 4581 li a1,0
|
|
5882: 03800513 li a0,56
|
|
5886: 8c1fd0ef jal ra,3146 <rt_pin_write>
|
|
588a: 4581 li a1,0
|
|
588c: 03900513 li a0,57
|
|
5890: 8b7fd0ef jal ra,3146 <rt_pin_write>
|
|
5894: 4585 li a1,1
|
|
5896: 03a00513 li a0,58
|
|
589a: 8adfd0ef jal ra,3146 <rt_pin_write>
|
|
589e: b29fa06f j 3c6 <__riscv_restore_0>
|
|
|
|
000058a2 <USART_CONNET_J9>:
|
|
58a2: b01fa2ef jal t0,3a2 <__riscv_save_0>
|
|
58a6: 4585 li a1,1
|
|
58a8: 03800513 li a0,56
|
|
58ac: 89bfd0ef jal ra,3146 <rt_pin_write>
|
|
58b0: 4581 li a1,0
|
|
58b2: 03900513 li a0,57
|
|
58b6: 891fd0ef jal ra,3146 <rt_pin_write>
|
|
58ba: 4585 li a1,1
|
|
58bc: 03a00513 li a0,58
|
|
58c0: 887fd0ef jal ra,3146 <rt_pin_write>
|
|
58c4: b03fa06f j 3c6 <__riscv_restore_0>
|
|
|
|
000058c8 <J5_PWR_Open>:
|
|
58c8: adbfa2ef jal t0,3a2 <__riscv_save_0>
|
|
58cc: 4585 li a1,1
|
|
58ce: 02a00513 li a0,42
|
|
58d2: 875fd0ef jal ra,3146 <rt_pin_write>
|
|
58d6: af1fa06f j 3c6 <__riscv_restore_0>
|
|
|
|
000058da <J6_PWR_Open>:
|
|
58da: ac9fa2ef jal t0,3a2 <__riscv_save_0>
|
|
58de: 4585 li a1,1
|
|
58e0: 02b00513 li a0,43
|
|
58e4: 863fd0ef jal ra,3146 <rt_pin_write>
|
|
58e8: adffa06f j 3c6 <__riscv_restore_0>
|
|
|
|
000058ec <J7_PWR_Open>:
|
|
58ec: ab7fa2ef jal t0,3a2 <__riscv_save_0>
|
|
58f0: 4585 li a1,1
|
|
58f2: 02c00513 li a0,44
|
|
58f6: 851fd0ef jal ra,3146 <rt_pin_write>
|
|
58fa: acdfa06f j 3c6 <__riscv_restore_0>
|
|
|
|
000058fe <J8_PWR_Open>:
|
|
58fe: aa5fa2ef jal t0,3a2 <__riscv_save_0>
|
|
5902: 4585 li a1,1
|
|
5904: 02d00513 li a0,45
|
|
5908: 83ffd0ef jal ra,3146 <rt_pin_write>
|
|
590c: abbfa06f j 3c6 <__riscv_restore_0>
|
|
|
|
00005910 <J9_PWR_Open>:
|
|
5910: a93fa2ef jal t0,3a2 <__riscv_save_0>
|
|
5914: 4585 li a1,1
|
|
5916: 02e00513 li a0,46
|
|
591a: 82dfd0ef jal ra,3146 <rt_pin_write>
|
|
591e: aa9fa06f j 3c6 <__riscv_restore_0>
|
|
|
|
00005922 <Upward_UART5_Init>:
|
|
5922: a81fa2ef jal t0,3a2 <__riscv_save_0>
|
|
5926: 7179 addi sp,sp,-48
|
|
5928: 84aa mv s1,a0
|
|
592a: 4585 li a1,1
|
|
592c: 4541 li a0,16
|
|
592e: 8a9ff0ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
5932: 4585 li a1,1
|
|
5934: 02000513 li a0,32
|
|
5938: 89fff0ef jal ra,51d6 <RCC_APB2PeriphClockCmd>
|
|
593c: 4585 li a1,1
|
|
593e: 00100537 lui a0,0x100
|
|
5942: 8b3ff0ef jal ra,51f4 <RCC_APB1PeriphClockCmd>
|
|
5946: 6785 lui a5,0x1
|
|
5948: 440d li s0,3
|
|
594a: 82fc sh a5,20(sp)
|
|
594c: 084c addi a1,sp,20
|
|
594e: 47e1 li a5,24
|
|
5950: 40011537 lui a0,0x40011
|
|
5954: cc22 sw s0,24(sp)
|
|
5956: ce3e sw a5,28(sp)
|
|
5958: dbaff0ef jal ra,4f12 <GPIO_Init>
|
|
595c: 4791 li a5,4
|
|
595e: 40011537 lui a0,0x40011
|
|
5962: 82fc sh a5,20(sp)
|
|
5964: 084c addi a1,sp,20
|
|
5966: 4791 li a5,4
|
|
5968: 40050513 addi a0,a0,1024 # 40011400 <_eusrstack+0x20001400>
|
|
596c: ce3e sw a5,28(sp)
|
|
596e: da4ff0ef jal ra,4f12 <GPIO_Init>
|
|
5972: 100c addi a1,sp,32
|
|
5974: 000c07b7 lui a5,0xc0
|
|
5978: 40005537 lui a0,0x40005
|
|
597c: d026 sw s1,32(sp)
|
|
597e: d43e sw a5,40(sp)
|
|
5980: d202 sw zero,36(sp)
|
|
5982: 02011623 sh zero,44(sp)
|
|
5986: 88dff0ef jal ra,5212 <USART_Init>
|
|
598a: 34500793 li a5,837
|
|
598e: 867c sh a5,12(sp)
|
|
5990: 0068 addi a0,sp,12
|
|
5992: 4785 li a5,1
|
|
5994: c83e sw a5,16(sp)
|
|
5996: 8740 sb s0,14(sp)
|
|
5998: e7aff0ef jal ra,5012 <NVIC_Init>
|
|
599c: 4605 li a2,1
|
|
599e: 52500593 li a1,1317
|
|
59a2: 40005537 lui a0,0x40005
|
|
59a6: 913ff0ef jal ra,52b8 <USART_ITConfig>
|
|
59aa: 4585 li a1,1
|
|
59ac: 40005537 lui a0,0x40005
|
|
59b0: 8f3ff0ef jal ra,52a2 <USART_Cmd>
|
|
59b4: 6145 addi sp,sp,48
|
|
59b6: a11fa06f j 3c6 <__riscv_restore_0>
|
|
|
|
000059ba <USART2_IRQHandler>:
|
|
59ba: 1141 addi sp,sp,-16
|
|
59bc: c622 sw s0,12(sp)
|
|
59be: 40004437 lui s0,0x40004
|
|
59c2: 52500593 li a1,1317
|
|
59c6: 40040513 addi a0,s0,1024 # 40004400 <_eusrstack+0x1fff4400>
|
|
59ca: 93fff0ef jal ra,5308 <USART_GetITStatus>
|
|
59ce: c515 beqz a0,59fa <USART2_IRQHandler+0x40>
|
|
59d0: 40040513 addi a0,s0,1024
|
|
59d4: 923ff0ef jal ra,52f6 <USART_ReceiveData>
|
|
59d8: 0ff57593 andi a1,a0,255
|
|
59dc: 8eb18423 sb a1,-1816(gp) # 20000390 <USART2_Rbuffer>
|
|
59e0: 8c01a503 lw a0,-1856(gp) # 20000368 <g_J3RS485_USART2_handle>
|
|
59e4: 4d1c lw a5,24(a0)
|
|
59e6: 4910 lw a2,16(a0)
|
|
59e8: 4954 lw a3,20(a0)
|
|
59ea: 0785 addi a5,a5,1
|
|
59ec: 02c7e7b3 rem a5,a5,a2
|
|
59f0: 00d78563 beq a5,a3,59fa <USART2_IRQHandler+0x40>
|
|
59f4: 0531 addi a0,a0,12
|
|
59f6: 8d1fd0ef jal ra,32c6 <InRingQueue>
|
|
59fa: 4432 lw s0,12(sp)
|
|
59fc: 0141 addi sp,sp,16
|
|
59fe: 30200073 mret
|
|
|
|
00005a02 <USART3_IRQHandler>:
|
|
5a02: 1141 addi sp,sp,-16
|
|
5a04: c622 sw s0,12(sp)
|
|
5a06: 40005437 lui s0,0x40005
|
|
5a0a: 52500593 li a1,1317
|
|
5a0e: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1fff4800>
|
|
5a12: 8f7ff0ef jal ra,5308 <USART_GetITStatus>
|
|
5a16: c515 beqz a0,5a42 <USART3_IRQHandler+0x40>
|
|
5a18: 80040513 addi a0,s0,-2048
|
|
5a1c: 8dbff0ef jal ra,52f6 <USART_ReceiveData>
|
|
5a20: 0ff57593 andi a1,a0,255
|
|
5a24: 8eb18623 sb a1,-1812(gp) # 20000394 <USART3_Rbuffer>
|
|
5a28: 8c81a503 lw a0,-1848(gp) # 20000370 <g_J50RS485_USART3_handle>
|
|
5a2c: 4d1c lw a5,24(a0)
|
|
5a2e: 4910 lw a2,16(a0)
|
|
5a30: 4954 lw a3,20(a0)
|
|
5a32: 0785 addi a5,a5,1
|
|
5a34: 02c7e7b3 rem a5,a5,a2
|
|
5a38: 00d78563 beq a5,a3,5a42 <USART3_IRQHandler+0x40>
|
|
5a3c: 0531 addi a0,a0,12
|
|
5a3e: 889fd0ef jal ra,32c6 <InRingQueue>
|
|
5a42: 4432 lw s0,12(sp)
|
|
5a44: 0141 addi sp,sp,16
|
|
5a46: 30200073 mret
|
|
|
|
00005a4a <UART5_IRQHandler>:
|
|
5a4a: 52500593 li a1,1317
|
|
5a4e: 40005537 lui a0,0x40005
|
|
5a52: 8b7ff0ef jal ra,5308 <USART_GetITStatus>
|
|
5a56: c515 beqz a0,5a82 <UART5_IRQHandler+0x38>
|
|
5a58: 40005537 lui a0,0x40005
|
|
5a5c: 89bff0ef jal ra,52f6 <USART_ReceiveData>
|
|
5a60: 0ff57593 andi a1,a0,255
|
|
5a64: 8cb18c23 sb a1,-1832(gp) # 20000380 <UART5_Rbuffer>
|
|
5a68: 8d01a503 lw a0,-1840(gp) # 20000378 <g_Upward_UART5_handle>
|
|
5a6c: 4d1c lw a5,24(a0)
|
|
5a6e: 4910 lw a2,16(a0)
|
|
5a70: 4954 lw a3,20(a0)
|
|
5a72: 0785 addi a5,a5,1
|
|
5a74: 02c7e7b3 rem a5,a5,a2
|
|
5a78: 00d78563 beq a5,a3,5a82 <UART5_IRQHandler+0x38>
|
|
5a7c: 0531 addi a0,a0,12
|
|
5a7e: 849fd0ef jal ra,32c6 <InRingQueue>
|
|
5a82: 30200073 mret
|
|
|
|
00005a86 <UART6_IRQHandler>:
|
|
5a86: 1141 addi sp,sp,-16
|
|
5a88: c622 sw s0,12(sp)
|
|
5a8a: 40002437 lui s0,0x40002
|
|
5a8e: 52500593 li a1,1317
|
|
5a92: 80040513 addi a0,s0,-2048 # 40001800 <_eusrstack+0x1fff1800>
|
|
5a96: 873ff0ef jal ra,5308 <USART_GetITStatus>
|
|
5a9a: c515 beqz a0,5ac6 <UART6_IRQHandler+0x40>
|
|
5a9c: 80040513 addi a0,s0,-2048
|
|
5aa0: 857ff0ef jal ra,52f6 <USART_ReceiveData>
|
|
5aa4: 0ff57593 andi a1,a0,255
|
|
5aa8: 8cb18e23 sb a1,-1828(gp) # 20000384 <UART6_Rbuffer>
|
|
5aac: 8b81a503 lw a0,-1864(gp) # 20000360 <g_J1RS485_UART6_handle>
|
|
5ab0: 4d1c lw a5,24(a0)
|
|
5ab2: 4910 lw a2,16(a0)
|
|
5ab4: 4954 lw a3,20(a0)
|
|
5ab6: 0785 addi a5,a5,1
|
|
5ab8: 02c7e7b3 rem a5,a5,a2
|
|
5abc: 00d78563 beq a5,a3,5ac6 <UART6_IRQHandler+0x40>
|
|
5ac0: 0531 addi a0,a0,12
|
|
5ac2: 805fd0ef jal ra,32c6 <InRingQueue>
|
|
5ac6: 4432 lw s0,12(sp)
|
|
5ac8: 0141 addi sp,sp,16
|
|
5aca: 30200073 mret
|
|
|
|
00005ace <UART7_IRQHandler>:
|
|
5ace: 1141 addi sp,sp,-16
|
|
5ad0: c622 sw s0,12(sp)
|
|
5ad2: 40002437 lui s0,0x40002
|
|
5ad6: 52500593 li a1,1317
|
|
5ada: c0040513 addi a0,s0,-1024 # 40001c00 <_eusrstack+0x1fff1c00>
|
|
5ade: 82bff0ef jal ra,5308 <USART_GetITStatus>
|
|
5ae2: c515 beqz a0,5b0e <UART7_IRQHandler+0x40>
|
|
5ae4: c0040513 addi a0,s0,-1024
|
|
5ae8: 80fff0ef jal ra,52f6 <USART_ReceiveData>
|
|
5aec: 0ff57593 andi a1,a0,255
|
|
5af0: 8eb18023 sb a1,-1824(gp) # 20000388 <UART7_Rbuffer>
|
|
5af4: 8bc1a503 lw a0,-1860(gp) # 20000364 <g_J2RS485_UART7_handle>
|
|
5af8: 4d1c lw a5,24(a0)
|
|
5afa: 4910 lw a2,16(a0)
|
|
5afc: 4954 lw a3,20(a0)
|
|
5afe: 0785 addi a5,a5,1
|
|
5b00: 02c7e7b3 rem a5,a5,a2
|
|
5b04: 00d78563 beq a5,a3,5b0e <UART7_IRQHandler+0x40>
|
|
5b08: 0531 addi a0,a0,12
|
|
5b0a: fbcfd0ef jal ra,32c6 <InRingQueue>
|
|
5b0e: 4432 lw s0,12(sp)
|
|
5b10: 0141 addi sp,sp,16
|
|
5b12: 30200073 mret
|
|
|
|
00005b16 <UART8_IRQHandler>:
|
|
5b16: 52500593 li a1,1317
|
|
5b1a: 40002537 lui a0,0x40002
|
|
5b1e: feaff0ef jal ra,5308 <USART_GetITStatus>
|
|
5b22: c515 beqz a0,5b4e <UART8_IRQHandler+0x38>
|
|
5b24: 40002537 lui a0,0x40002
|
|
5b28: fceff0ef jal ra,52f6 <USART_ReceiveData>
|
|
5b2c: 0ff57593 andi a1,a0,255
|
|
5b30: 8eb18223 sb a1,-1820(gp) # 2000038c <UART8_Rbuffer>
|
|
5b34: 8c41a503 lw a0,-1852(gp) # 2000036c <g_J4RS485_UART8_handle>
|
|
5b38: 4d1c lw a5,24(a0)
|
|
5b3a: 4910 lw a2,16(a0)
|
|
5b3c: 4954 lw a3,20(a0)
|
|
5b3e: 0785 addi a5,a5,1
|
|
5b40: 02c7e7b3 rem a5,a5,a2
|
|
5b44: 00d78563 beq a5,a3,5b4e <UART8_IRQHandler+0x38>
|
|
5b48: 0531 addi a0,a0,12
|
|
5b4a: f7cfd0ef jal ra,32c6 <InRingQueue>
|
|
5b4e: 30200073 mret
|
|
|
|
00005b52 <memcmp>:
|
|
5b52: 4701 li a4,0
|
|
5b54: 00e61463 bne a2,a4,5b5c <memcmp+0xa>
|
|
5b58: 4501 li a0,0
|
|
5b5a: 8082 ret
|
|
5b5c: 00e507b3 add a5,a0,a4
|
|
5b60: 0705 addi a4,a4,1
|
|
5b62: 00e586b3 add a3,a1,a4
|
|
5b66: 239c lbu a5,0(a5)
|
|
5b68: fff6c683 lbu a3,-1(a3)
|
|
5b6c: fed784e3 beq a5,a3,5b54 <memcmp+0x2>
|
|
5b70: 40d78533 sub a0,a5,a3
|
|
5b74: 8082 ret
|
|
|
|
00005b76 <memcpy>:
|
|
5b76: 00a5c7b3 xor a5,a1,a0
|
|
5b7a: 8b8d andi a5,a5,3
|
|
5b7c: 00c50733 add a4,a0,a2
|
|
5b80: e781 bnez a5,5b88 <memcpy+0x12>
|
|
5b82: 478d li a5,3
|
|
5b84: 00c7ed63 bltu a5,a2,5b9e <memcpy+0x28>
|
|
5b88: 87aa mv a5,a0
|
|
5b8a: 08e57e63 bgeu a0,a4,5c26 <memcpy+0xb0>
|
|
5b8e: 2194 lbu a3,0(a1)
|
|
5b90: 0785 addi a5,a5,1
|
|
5b92: 0585 addi a1,a1,1
|
|
5b94: fed78fa3 sb a3,-1(a5) # bffff <__stack_size+0xb7fff>
|
|
5b98: fee7ebe3 bltu a5,a4,5b8e <memcpy+0x18>
|
|
5b9c: 8082 ret
|
|
5b9e: 00357693 andi a3,a0,3
|
|
5ba2: 87aa mv a5,a0
|
|
5ba4: ca89 beqz a3,5bb6 <memcpy+0x40>
|
|
5ba6: 2194 lbu a3,0(a1)
|
|
5ba8: 0785 addi a5,a5,1
|
|
5baa: 0585 addi a1,a1,1
|
|
5bac: fed78fa3 sb a3,-1(a5)
|
|
5bb0: 0037f693 andi a3,a5,3
|
|
5bb4: bfc5 j 5ba4 <memcpy+0x2e>
|
|
5bb6: ffc77693 andi a3,a4,-4
|
|
5bba: fe068613 addi a2,a3,-32
|
|
5bbe: 06c7f063 bgeu a5,a2,5c1e <memcpy+0xa8>
|
|
5bc2: 0005a383 lw t2,0(a1) # 40021000 <_eusrstack+0x20011000>
|
|
5bc6: 0045a283 lw t0,4(a1)
|
|
5bca: 0085af83 lw t6,8(a1)
|
|
5bce: 00c5af03 lw t5,12(a1)
|
|
5bd2: 0105ae83 lw t4,16(a1)
|
|
5bd6: 0145ae03 lw t3,20(a1)
|
|
5bda: 0185a303 lw t1,24(a1)
|
|
5bde: 01c5a883 lw a7,28(a1)
|
|
5be2: 02458593 addi a1,a1,36
|
|
5be6: 0077a023 sw t2,0(a5)
|
|
5bea: ffc5a803 lw a6,-4(a1)
|
|
5bee: 0057a223 sw t0,4(a5)
|
|
5bf2: 01f7a423 sw t6,8(a5)
|
|
5bf6: 01e7a623 sw t5,12(a5)
|
|
5bfa: 01d7a823 sw t4,16(a5)
|
|
5bfe: 01c7aa23 sw t3,20(a5)
|
|
5c02: 0067ac23 sw t1,24(a5)
|
|
5c06: 0117ae23 sw a7,28(a5)
|
|
5c0a: 02478793 addi a5,a5,36
|
|
5c0e: ff07ae23 sw a6,-4(a5)
|
|
5c12: b775 j 5bbe <memcpy+0x48>
|
|
5c14: 4190 lw a2,0(a1)
|
|
5c16: 0791 addi a5,a5,4
|
|
5c18: 0591 addi a1,a1,4
|
|
5c1a: fec7ae23 sw a2,-4(a5)
|
|
5c1e: fed7ebe3 bltu a5,a3,5c14 <memcpy+0x9e>
|
|
5c22: f6e7e6e3 bltu a5,a4,5b8e <memcpy+0x18>
|
|
5c26: 8082 ret
|
|
|
|
00005c28 <strcat>:
|
|
5c28: 87aa mv a5,a0
|
|
5c2a: 2398 lbu a4,0(a5)
|
|
5c2c: 00178693 addi a3,a5,1
|
|
5c30: eb09 bnez a4,5c42 <strcat+0x1a>
|
|
5c32: 0585 addi a1,a1,1
|
|
5c34: fff5c703 lbu a4,-1(a1)
|
|
5c38: 0785 addi a5,a5,1
|
|
5c3a: fee78fa3 sb a4,-1(a5)
|
|
5c3e: fb75 bnez a4,5c32 <strcat+0xa>
|
|
5c40: 8082 ret
|
|
5c42: 87b6 mv a5,a3
|
|
5c44: b7dd j 5c2a <strcat+0x2>
|
|
|
|
00005c46 <strcpy>:
|
|
5c46: 87aa mv a5,a0
|
|
5c48: 2198 lbu a4,0(a1)
|
|
5c4a: 0785 addi a5,a5,1
|
|
5c4c: 0585 addi a1,a1,1
|
|
5c4e: fee78fa3 sb a4,-1(a5)
|
|
5c52: fb7d bnez a4,5c48 <strcpy+0x2>
|
|
5c54: 8082 ret
|
|
|
|
00005c56 <strlen>:
|
|
5c56: 87aa mv a5,a0
|
|
5c58: 0785 addi a5,a5,1
|
|
5c5a: fff7c703 lbu a4,-1(a5)
|
|
5c5e: ff6d bnez a4,5c58 <strlen+0x2>
|
|
5c60: 40a78533 sub a0,a5,a0
|
|
5c64: 157d addi a0,a0,-1
|
|
5c66: 8082 ret
|
|
|
|
00005c68 <strncmp>:
|
|
5c68: c215 beqz a2,5c8c <strncmp+0x24>
|
|
5c6a: 167d addi a2,a2,-1
|
|
5c6c: 4701 li a4,0
|
|
5c6e: 00e507b3 add a5,a0,a4
|
|
5c72: 00e586b3 add a3,a1,a4
|
|
5c76: 239c lbu a5,0(a5)
|
|
5c78: 2294 lbu a3,0(a3)
|
|
5c7a: 00d79663 bne a5,a3,5c86 <strncmp+0x1e>
|
|
5c7e: 00c70463 beq a4,a2,5c86 <strncmp+0x1e>
|
|
5c82: 0705 addi a4,a4,1
|
|
5c84: f7ed bnez a5,5c6e <strncmp+0x6>
|
|
5c86: 40d78533 sub a0,a5,a3
|
|
5c8a: 8082 ret
|
|
5c8c: 4501 li a0,0
|
|
5c8e: 8082 ret
|
|
5c90: 6758 flw fa4,12(a4)
|
|
5c92: 0000 unimp
|
|
5c94: 676c flw fa1,76(a4)
|
|
5c96: 0000 unimp
|
|
5c98: 677c flw fa5,76(a4)
|
|
5c9a: 0000 unimp
|
|
5c9c: 6790 flw fa2,8(a5)
|
|
5c9e: 0000 unimp
|
|
5ca0: 679c flw fa5,8(a5)
|
|
5ca2: 0000 unimp
|
|
5ca4: 67a8 flw fa0,72(a5)
|
|
5ca6: 0000 unimp
|
|
5ca8: 67ac flw fa1,72(a5)
|
|
5caa: 0000 unimp
|
|
5cac: 67bc flw fa5,72(a5)
|
|
5cae: 0000 unimp
|
|
5cb0: 67cc flw fa1,12(a5)
|
|
5cb2: 0000 unimp
|
|
5cb4: 67d4 flw fa3,12(a5)
|
|
5cb6: 0000 unimp
|
|
5cb8: 67e8 flw fa0,76(a5)
|
|
5cba: 0000 unimp
|
|
5cbc: 67f8 flw fa4,76(a5)
|
|
5cbe: 0000 unimp
|
|
5cc0: 6800 flw fs0,16(s0)
|
|
5cc2: 0000 unimp
|
|
5cc4: 680c flw fa1,16(s0)
|
|
5cc6: 0000 unimp
|
|
5cc8: 6818 flw fa4,16(s0)
|
|
5cca: 0000 unimp
|
|
5ccc: 682c flw fa1,80(s0)
|
|
5cce: 0000 unimp
|
|
5cd0: 6834 flw fa3,80(s0)
|
|
5cd2: 0000 unimp
|
|
5cd4: 6844 flw fs1,20(s0)
|
|
5cd6: 0000 unimp
|
|
5cd8: 6854 flw fa3,20(s0)
|
|
5cda: 0000 unimp
|
|
5cdc: 686c flw fa1,84(s0)
|
|
5cde: 0000 unimp
|
|
5ce0: 616d addi sp,sp,240
|
|
5ce2: 6e69 lui t3,0x1a
|
|
5ce4: 0000 unimp
|
|
5ce6: 0000 unimp
|
|
5ce8: 6f54 flw fa3,28(a4)
|
|
5cea: 6920 flw fs0,80(a0)
|
|
5cec: 696e flw fs2,216(sp)
|
|
5cee: 6974 flw fa3,84(a0)
|
|
5cf0: 6c61 lui s8,0x18
|
|
5cf2: 7a69 lui s4,0xffffa
|
|
5cf4: 2065 jal 5d9c <__lowest_bit_bitmap+0x74>
|
|
5cf6: 6564 flw fs1,76(a0)
|
|
5cf8: 6976 flw fs2,92(sp)
|
|
5cfa: 253a6563 bltu s4,s3,5f44 <__fsym_list_mem_desc+0x1c>
|
|
5cfe: 61662073 csrs 0x616,a2
|
|
5d02: 6c69 lui s8,0x1a
|
|
5d04: 6465 lui s0,0x19
|
|
5d06: 202e lhu a1,2(s0)
|
|
5d08: 6854 flw fa3,20(s0)
|
|
5d0a: 2065 jal 5db2 <__lowest_bit_bitmap+0x8a>
|
|
5d0c: 7265 lui tp,0xffff9
|
|
5d0e: 6f72 flw ft10,28(sp)
|
|
5d10: 2072 lhu a2,6(s0)
|
|
5d12: 65646f63 bltu s0,s6,6370 <__fsym_list_mem_name+0x428>
|
|
5d16: 6920 flw fs0,80(a0)
|
|
5d18: 64252073 csrs 0x642,a0
|
|
5d1c: 000a c.slli zero,0x2
|
|
5d1e: 0000 unimp
|
|
5d20: 6974 flw fa3,84(a0)
|
|
5d22: 6c64 flw fs1,92(s0)
|
|
5d24: 0065 c.nop 25
|
|
...
|
|
|
|
00005d28 <__lowest_bit_bitmap>:
|
|
5d28: 0000 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5d38: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5d48: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5d58: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5d68: 0006 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5d78: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5d88: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5d98: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5da8: 0007 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5db8: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5dc8: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5dd8: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5de8: 0006 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5df8: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5e08: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5e18: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
|
|
00005e28 <large_digits.2583>:
|
|
5e28: 3130 3332 3534 3736 3938 4241 4443 4645 0123456789ABCDEF
|
|
5e38: 0000 0000 200a 205c 207c 0a2f 0000 0000 ..... \ | /.....
|
|
5e48: 202d 5452 2d20 2020 2020 5420 7268 6165 - RT - Threa
|
|
5e58: 2064 704f 7265 7461 6e69 2067 7953 7473 d Operating Syst
|
|
5e68: 6d65 000a 634f 2074 3832 3220 3230 0034 em..Oct 28 2024.
|
|
5e78: 2f20 7c20 5c20 2020 2020 2520 2e64 6425 / | \ %d.%d
|
|
5e88: 252e 2064 7562 6c69 2064 7325 000a 0000 .%d build %s....
|
|
5e98: 3220 3030 2036 202d 3032 3931 4320 706f 2006 - 2019 Cop
|
|
5ea8: 7279 6769 7468 6220 2079 7472 742d 7268 yright by rt-thr
|
|
5eb8: 6165 2064 6574 6d61 000a 0000 4e28 4c55 ead team....(NUL
|
|
5ec8: 294c 0000 L)..
|
|
|
|
00005ecc <small_digits.2582>:
|
|
5ecc: 3130 3332 3534 3736 3938 6261 6463 6665 0123456789abcdef
|
|
5edc: 0000 0000 6f74 6174 206c 656d 6f6d 7972 ....total memory
|
|
5eec: 203a 6425 000a 0000 7375 6465 6d20 6d65 : %d....used mem
|
|
5efc: 726f 2079 203a 6425 000a 0000 616d 6978 ory : %d....maxi
|
|
5f0c: 756d 206d 6c61 6f6c 6163 6574 2064 656d mum allocated me
|
|
5f1c: 6f6d 7972 203a 6425 000a 0000 mory: %d....
|
|
|
|
00005f28 <__fsym_list_mem_desc>:
|
|
5f28: 696c 7473 6d20 6d65 726f 2079 7375 6761 list memory usag
|
|
5f38: 2065 6e69 6f66 6d72 7461 6f69 006e 0000 e information...
|
|
|
|
00005f48 <__fsym_list_mem_name>:
|
|
5f48: 696c 7473 6d5f 6d65 0000 0000 6f74 6620 list_mem....to f
|
|
5f58: 6572 2065 2061 6162 2064 6164 6174 6220 ree a bad data b
|
|
5f68: 6f6c 6b63 0a3a 0000 656d 3a6d 3020 2578 lock:...mem: 0x%
|
|
5f78: 3830 2c78 7520 6573 2064 6c66 6761 203a 08x, used flag:
|
|
5f88: 6425 202c 616d 6967 2063 6f63 6564 203a %d, magic code:
|
|
5f98: 7830 3025 7834 000a 6568 7061 0000 0000 0x%04x..heap....
|
|
5fa8: 656d 206d 6e69 7469 202c 7265 6f72 2072 mem init, error
|
|
5fb8: 6562 6967 206e 6461 7264 7365 2073 7830 begin address 0x
|
|
5fc8: 7825 202c 6e61 2064 6e65 2064 6461 7264 %x, and end addr
|
|
5fd8: 7365 2073 7830 7825 000a 0000 5b1b 4a32 ess 0x%x.....[2J
|
|
5fe8: 5b1b 0048 2d2d 7546 636e 6974 6e6f 4c20 .[H.--Function L
|
|
5ff8: 7369 3a74 000a 0000 5f5f 0000 2d25 3631 ist:....__..%-16
|
|
6008: 2073 2d2d 2520 0a73 0000 0000 6564 6976 s -- %s.....devi
|
|
6018: 6563 0000 2d25 2e2a 2073 2020 2020 2020 ce..%-*.s
|
|
6028: 2020 7974 6570 2020 2020 2020 2020 7220 type r
|
|
6038: 6665 6320 756f 746e 000a 0000 2d20 2d2d ef count.... ---
|
|
6048: 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d ----------------
|
|
6058: 202d 2d2d 2d2d 2d2d 2d2d 2d2d 000a 0000 - ----------....
|
|
6068: 2d25 2e2a 732a 2520 322d 7330 2520 382d %-*.*s %-20s %-8
|
|
6078: 0a64 0000 7665 6e65 0074 0000 2d25 2e2a d...event...%-*.
|
|
6088: 2073 2020 2020 7320 7465 2020 2020 7573 s set su
|
|
6098: 7073 6e65 2064 6874 6572 6461 000a 0000 spend thread....
|
|
60a8: 2020 2d2d 2d2d 2d2d 2d2d 2d2d 2d20 2d2d ---------- ---
|
|
60b8: 2d2d 2d2d 2d2d 2d2d 2d2d 0a2d 0000 0000 -----------.....
|
|
60c8: 2d25 2e2a 732a 2020 7830 3025 7838 2520 %-*.*s 0x%08x %
|
|
60d8: 3330 3a64 0000 0000 2d25 2e2a 732a 2020 03d:....%-*.*s
|
|
60e8: 7830 3025 7838 3020 000a 0000 616d 6c69 0x%08x 0....mail
|
|
60f8: 6f62 0078 2d25 2e2a 2073 6e65 7274 2079 box.%-*.s entry
|
|
6108: 6973 657a 7320 7375 6570 646e 7420 7268 size suspend thr
|
|
6118: 6165 0a64 0000 0000 2d20 2d2d 202d 2d20 ead..... ---- -
|
|
6128: 2d2d 202d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d --- ------------
|
|
6138: 2d2d 000a 2d25 2e2a 732a 2520 3430 2064 --..%-*.*s %04d
|
|
6148: 2520 3430 2064 6425 003a 0000 2d25 2e2a %04d %d:...%-*.
|
|
6158: 732a 2520 3430 2064 2520 3430 2064 6425 *s %04d %04d %d
|
|
6168: 000a 0000 736d 7167 6575 6575 0000 0000 ....msgqueue....
|
|
6178: 2d25 2e2a 2073 6e65 7274 2079 7573 7073 %-*.s entry susp
|
|
6188: 6e65 2064 6874 6572 6461 000a 2d20 2d2d end thread.. ---
|
|
6198: 202d 2d20 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d - -------------
|
|
61a8: 0a2d 0000 2d25 2e2a 732a 2520 3430 2064 -...%-*.*s %04d
|
|
61b8: 2520 3a64 0000 0000 2d25 2e2a 732a 2520 %d:....%-*.*s %
|
|
61c8: 3430 2064 2520 0a64 0000 0000 756d 6574 04d %d.....mute
|
|
61d8: 0078 0000 2d25 2e2a 2073 2020 776f 656e x...%-*.s owne
|
|
61e8: 2072 6820 6c6f 2064 7573 7073 6e65 2064 r hold suspend
|
|
61f8: 6874 6572 6461 000a 2d20 2d2d 2d2d 2d2d thread.. -------
|
|
6208: 202d 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d - ---- ---------
|
|
6218: 2d2d 2d2d 0a2d 0000 2d25 2e2a 732a 2520 -----...%-*.*s %
|
|
6228: 382d 2a2e 2073 3025 6434 2520 0a64 0000 -8.*s %04d %d...
|
|
6238: 6573 616d 6870 726f 0065 0000 2d25 2e2a semaphore...%-*.
|
|
6248: 2073 2076 2020 7573 7073 6e65 2064 6874 s v suspend th
|
|
6258: 6572 6461 000a 0000 2d20 2d2d 2d20 2d2d read.... --- ---
|
|
6268: 2d2d 2d2d 2d2d 2d2d 2d2d 0a2d 0000 0000 -----------.....
|
|
6278: 2d25 2e2a 732a 2520 3330 2064 6425 003a %-*.*s %03d %d:.
|
|
6288: 2d25 2e2a 732a 2520 3330 2064 6425 000a %-*.*s %03d %d..
|
|
6298: 6874 6572 6461 0000 2d25 2e2a 2073 7270 thread..%-*.s pr
|
|
62a8: 2069 7320 6174 7574 2073 2020 2020 7320 i status s
|
|
62b8: 2070 2020 2020 7473 6361 206b 6973 657a p stack size
|
|
62c8: 6d20 7861 7520 6573 2064 656c 7466 7420 max used left t
|
|
62d8: 6369 206b 6520 7272 726f 000a 2d20 2d2d ick error.. ---
|
|
62e8: 2020 2d2d 2d2d 2d2d 202d 2d2d 2d2d 2d2d ------- ------
|
|
62f8: 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d 202d ---- ----------
|
|
6308: 2d20 2d2d 2d2d 202d 2d20 2d2d 2d2d 2d2d ------ -------
|
|
6318: 2d2d 202d 2d2d 0a2d 0000 0000 2d25 2e2a --- ---.....%-*.
|
|
6328: 732a 2520 6433 0020 7220 6165 7964 2020 *s %3d . ready
|
|
6338: 0000 0000 7320 7375 6570 646e 0000 0000 .... suspend....
|
|
6348: 6920 696e 2074 2020 0000 0000 6320 6f6c init .... clo
|
|
6358: 6573 2020 0000 0000 3020 2578 3830 2078 se .... 0x%08x
|
|
6368: 7830 3025 7838 2020 2020 3025 6432 2525 0x%08x %02d%%
|
|
6378: 2020 3020 2578 3830 2078 3025 6433 000a 0x%08x %03d..
|
|
6388: 6974 656d 0072 0000 2d25 2e2a 2073 7020 timer...%-*.s p
|
|
6398: 7265 6f69 6964 2063 2020 6974 656d 756f eriodic timeou
|
|
63a8: 2074 2020 2020 2020 6c66 6761 000a 0000 t flag....
|
|
63b8: 2d20 2d2d 2d2d 2d2d 2d2d 202d 2d2d 2d2d ---------- ----
|
|
63c8: 2d2d 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d ------ ---------
|
|
63d8: 2d2d 000a 2d25 2e2a 732a 3020 2578 3830 --..%-*.*s 0x%08
|
|
63e8: 2078 7830 3025 7838 0020 0000 6361 6974 x 0x%08x ...acti
|
|
63f8: 6176 6574 0a64 0000 6564 6361 6974 6176 vated...deactiva
|
|
6408: 6574 0a64 0000 0000 7563 7272 6e65 2074 ted.....current
|
|
6418: 6974 6b63 303a 2578 3830 0a78 0000 0000 tick:0x%08x.....
|
|
|
|
00006428 <__fsym_list_desc>:
|
|
6428: 696c 7473 6120 6c6c 7320 6d79 6f62 206c list all symbol
|
|
6438: 6e69 7320 7379 6574 006d 0000 in system...
|
|
|
|
00006444 <__fsym_list_name>:
|
|
6444: 696c 7473 0000 0000 list....
|
|
|
|
0000644c <__fsym___cmd_list_device_desc>:
|
|
644c: 696c 7473 6420 7665 6369 2065 6e69 7320 list device in s
|
|
645c: 7379 6574 006d 0000 ystem...
|
|
|
|
00006464 <__fsym___cmd_list_device_name>:
|
|
6464: 5f5f 6d63 5f64 696c 7473 645f 7665 6369 __cmd_list_devic
|
|
6474: 0065 0000 e...
|
|
|
|
00006478 <__fsym_list_device_desc>:
|
|
6478: 696c 7473 6420 7665 6369 2065 6e69 7320 list device in s
|
|
6488: 7379 6574 006d 0000 ystem...
|
|
|
|
00006490 <__fsym_list_device_name>:
|
|
6490: 696c 7473 645f 7665 6369 0065 list_device.
|
|
|
|
0000649c <__fsym___cmd_list_timer_desc>:
|
|
649c: 696c 7473 7420 6d69 7265 6920 206e 7973 list timer in sy
|
|
64ac: 7473 6d65 0000 0000 stem....
|
|
|
|
000064b4 <__fsym___cmd_list_timer_name>:
|
|
64b4: 5f5f 6d63 5f64 696c 7473 745f 6d69 7265 __cmd_list_timer
|
|
64c4: 0000 0000 ....
|
|
|
|
000064c8 <__fsym_list_timer_desc>:
|
|
64c8: 696c 7473 7420 6d69 7265 6920 206e 7973 list timer in sy
|
|
64d8: 7473 6d65 0000 0000 stem....
|
|
|
|
000064e0 <__fsym_list_timer_name>:
|
|
64e0: 696c 7473 745f 6d69 7265 0000 list_timer..
|
|
|
|
000064ec <__fsym___cmd_list_msgqueue_desc>:
|
|
64ec: 696c 7473 6d20 7365 6173 6567 7120 6575 list message que
|
|
64fc: 6575 6920 206e 7973 7473 6d65 0000 0000 ue in system....
|
|
|
|
0000650c <__fsym___cmd_list_msgqueue_name>:
|
|
650c: 5f5f 6d63 5f64 696c 7473 6d5f 6773 7571 __cmd_list_msgqu
|
|
651c: 7565 0065 eue.
|
|
|
|
00006520 <__fsym_list_msgqueue_desc>:
|
|
6520: 696c 7473 6d20 7365 6173 6567 7120 6575 list message que
|
|
6530: 6575 6920 206e 7973 7473 6d65 0000 0000 ue in system....
|
|
|
|
00006540 <__fsym_list_msgqueue_name>:
|
|
6540: 696c 7473 6d5f 6773 7571 7565 0065 0000 list_msgqueue...
|
|
|
|
00006550 <__fsym___cmd_list_mailbox_desc>:
|
|
6550: 696c 7473 6d20 6961 206c 6f62 2078 6e69 list mail box in
|
|
6560: 7320 7379 6574 006d system.
|
|
|
|
00006568 <__fsym___cmd_list_mailbox_name>:
|
|
6568: 5f5f 6d63 5f64 696c 7473 6d5f 6961 626c __cmd_list_mailb
|
|
6578: 786f 0000 ox..
|
|
|
|
0000657c <__fsym_list_mailbox_desc>:
|
|
657c: 696c 7473 6d20 6961 206c 6f62 2078 6e69 list mail box in
|
|
658c: 7320 7379 6574 006d system.
|
|
|
|
00006594 <__fsym_list_mailbox_name>:
|
|
6594: 696c 7473 6d5f 6961 626c 786f 0000 0000 list_mailbox....
|
|
|
|
000065a4 <__fsym___cmd_list_mutex_desc>:
|
|
65a4: 696c 7473 6d20 7475 7865 6920 206e 7973 list mutex in sy
|
|
65b4: 7473 6d65 0000 0000 stem....
|
|
|
|
000065bc <__fsym___cmd_list_mutex_name>:
|
|
65bc: 5f5f 6d63 5f64 696c 7473 6d5f 7475 7865 __cmd_list_mutex
|
|
65cc: 0000 0000 ....
|
|
|
|
000065d0 <__fsym_list_mutex_desc>:
|
|
65d0: 696c 7473 6d20 7475 7865 6920 206e 7973 list mutex in sy
|
|
65e0: 7473 6d65 0000 0000 stem....
|
|
|
|
000065e8 <__fsym_list_mutex_name>:
|
|
65e8: 696c 7473 6d5f 7475 7865 0000 list_mutex..
|
|
|
|
000065f4 <__fsym___cmd_list_event_desc>:
|
|
65f4: 696c 7473 6520 6576 746e 6920 206e 7973 list event in sy
|
|
6604: 7473 6d65 0000 0000 stem....
|
|
|
|
0000660c <__fsym___cmd_list_event_name>:
|
|
660c: 5f5f 6d63 5f64 696c 7473 655f 6576 746e __cmd_list_event
|
|
661c: 0000 0000 ....
|
|
|
|
00006620 <__fsym_list_event_desc>:
|
|
6620: 696c 7473 6520 6576 746e 6920 206e 7973 list event in sy
|
|
6630: 7473 6d65 0000 0000 stem....
|
|
|
|
00006638 <__fsym_list_event_name>:
|
|
6638: 696c 7473 655f 6576 746e 0000 list_event..
|
|
|
|
00006644 <__fsym___cmd_list_sem_desc>:
|
|
6644: 696c 7473 7320 6d65 7061 6f68 6572 6920 list semaphore i
|
|
6654: 206e 7973 7473 6d65 0000 0000 n system....
|
|
|
|
00006660 <__fsym___cmd_list_sem_name>:
|
|
6660: 5f5f 6d63 5f64 696c 7473 735f 6d65 0000 __cmd_list_sem..
|
|
|
|
00006670 <__fsym_list_sem_desc>:
|
|
6670: 696c 7473 7320 6d65 7061 6f68 656e 6920 list semaphone i
|
|
6680: 206e 7973 7473 6d65 0000 0000 n system....
|
|
|
|
0000668c <__fsym_list_sem_name>:
|
|
668c: 696c 7473 735f 6d65 0000 0000 list_sem....
|
|
|
|
00006698 <__fsym___cmd_list_thread_desc>:
|
|
6698: 696c 7473 7420 7268 6165 0064 list thread.
|
|
|
|
000066a4 <__fsym___cmd_list_thread_name>:
|
|
66a4: 5f5f 6d63 5f64 696c 7473 745f 7268 6165 __cmd_list_threa
|
|
66b4: 0064 0000 d...
|
|
|
|
000066b8 <__fsym_list_thread_desc>:
|
|
66b8: 696c 7473 7420 7268 6165 0064 list thread.
|
|
|
|
000066c4 <__fsym_list_thread_name>:
|
|
66c4: 696c 7473 745f 7268 6165 0064 list_thread.
|
|
|
|
000066d0 <__fsym___cmd_clear_desc>:
|
|
66d0: 6874 2065 6574 6d72 6e69 6c61 7320 7263 the terminal scr
|
|
66e0: 6565 006e een.
|
|
|
|
000066e4 <__fsym___cmd_clear_name>:
|
|
66e4: 5f5f 6d63 5f64 6c63 6165 0072 __cmd_clear.
|
|
|
|
000066f0 <__fsym_clear_desc>:
|
|
66f0: 6874 2065 6574 6d72 6e69 6c61 7320 7263 the terminal scr
|
|
6700: 6565 006e een.
|
|
|
|
00006704 <__fsym_clear_name>:
|
|
6704: 6c63 6165 0072 0000 clear...
|
|
|
|
0000670c <__fsym___cmd_reboot_desc>:
|
|
670c: 6572 6f62 746f 7420 6568 6220 616f 6472 reboot the board
|
|
671c: 0000 0000 ....
|
|
|
|
00006720 <__fsym___cmd_reboot_name>:
|
|
6720: 5f5f 6d63 5f64 6572 6f62 746f 0000 0000 __cmd_reboot....
|
|
|
|
00006730 <__fsym_reboot_desc>:
|
|
6730: 6572 6f62 746f 7420 6568 6220 616f 6472 reboot the board
|
|
6740: 0000 0000 ....
|
|
|
|
00006744 <__fsym_reboot_name>:
|
|
6744: 6572 6f62 746f 0000 002d 0000 7325 0000 reboot..-...%s..
|
|
6754: 002f 0000 6843 7261 6361 6574 2072 6544 /...Character De
|
|
6764: 6976 6563 0000 0000 6c42 636f 206b 6544 vice....Block De
|
|
6774: 6976 6563 0000 0000 654e 7774 726f 206b vice....Network
|
|
6784: 6e49 6574 6672 6361 0065 0000 544d 2044 Interface...MTD
|
|
6794: 6544 6976 6563 0000 4143 204e 6544 6976 Device..CAN Devi
|
|
67a4: 6563 0000 5452 0043 6f53 6e75 2064 6544 ce..RTC.Sound De
|
|
67b4: 6976 6563 0000 0000 7247 7061 6968 2063 vice....Graphic
|
|
67c4: 6544 6976 6563 0000 3249 2043 7542 0073 Device..I2C Bus.
|
|
67d4: 5355 2042 6c53 7661 2065 6544 6976 6563 USB Slave Device
|
|
67e4: 0000 0000 5355 2042 6f48 7473 4220 7375 ....USB Host Bus
|
|
67f4: 0000 0000 5053 2049 7542 0073 5053 2049 ....SPI Bus.SPI
|
|
6804: 6544 6976 6563 0000 4453 4f49 4220 7375 Device..SDIO Bus
|
|
6814: 0000 0000 4d50 5020 6573 6475 206f 6544 ....PM Pseudo De
|
|
6824: 6976 6563 0000 0000 6950 6570 0000 0000 vice....Pipe....
|
|
6834: 6f50 7472 6c61 4420 7665 6369 0065 0000 Portal Device...
|
|
6844: 6954 656d 2072 6544 6976 6563 0000 0000 Timer Device....
|
|
6854: 694d 6373 6c65 616c 656e 756f 2073 6544 Miscellaneous De
|
|
6864: 6976 6563 0000 0000 6e55 6e6b 776f 006e vice....Unknown.
|
|
6874: 6f54 206f 616d 796e 6120 6772 2073 2021 Too many args !
|
|
6884: 6557 6f20 6c6e 2079 7355 3a65 000a 0000 We only Use:....
|
|
6894: 7325 0020 7325 203a 6f63 6d6d 6e61 2064 %s .%s: command
|
|
68a4: 6f6e 2074 6f66 6e75 2e64 000a 5452 542d not found...RT-T
|
|
68b4: 7268 6165 2064 6873 6c65 206c 6f63 6d6d hread shell comm
|
|
68c4: 6e61 7364 0a3a 0000 5f5f 6d63 5f64 0000 ands:...__cmd_..
|
|
68d4: 2d25 3631 2073 202d 7325 000a %-16s - %s..
|
|
|
|
000068e0 <__fsym___cmd_help_desc>:
|
|
68e0: 5452 542d 7268 6165 2064 6873 6c65 206c RT-Thread shell
|
|
68f0: 6568 706c 0000 0000 help....
|
|
|
|
000068f8 <__fsym___cmd_help_name>:
|
|
68f8: 5f5f 6d63 5f64 6568 706c 0000 __cmd_help..
|
|
|
|
00006904 <__fsym___cmd_free_desc>:
|
|
6904: 6853 776f 7420 6568 6d20 6d65 726f 2079 Show the memory
|
|
6914: 7375 6761 2065 6e69 7420 6568 7320 7379 usage in the sys
|
|
6924: 6574 006d tem.
|
|
|
|
00006928 <__fsym___cmd_free_name>:
|
|
6928: 5f5f 6d63 5f64 7266 6565 0000 __cmd_free..
|
|
|
|
00006934 <__fsym___cmd_ps_desc>:
|
|
6934: 694c 7473 7420 7268 6165 7364 6920 206e List threads in
|
|
6944: 6874 2065 7973 7473 6d65 0000 the system..
|
|
|
|
00006950 <__fsym___cmd_ps_name>:
|
|
6950: 5f5f 6d63 5f64 7370 0000 0000 736d 2068 __cmd_ps....msh
|
|
6960: 0000 0000 6966 736e 2068 0000 003e 0000 ....finsh ..>...
|
|
6970: 6966 736e 3a68 6320 6e61 6e20 746f 6620 finsh: can not f
|
|
6980: 6e69 2064 6564 6976 6563 203a 7325 000a ind device: %s..
|
|
6990: 6f6e 6d20 6d65 726f 2079 6f66 2072 6873 no memory for sh
|
|
69a0: 6c65 0a6c 0000 0000 7374 6568 6c6c 0000 ell.....tshell..
|
|
69b0: 6873 7872 0000 0000 0008 0000 6325 0000 shrx........%c..
|
|
69c0: 2508 2073 0820 0000 2008 0008 5b1b 4b32 .%s .... ...[2K
|
|
69d0: 000d 0000 7325 7325 0000 0000 ....%s%s....
|
|
|
|
000069dc <__fsym_pinRead_desc>:
|
|
69dc: 6572 6461 7320 6174 7574 2073 7266 6d6f read status from
|
|
69ec: 6820 7261 7764 7261 2065 6970 006e 0000 hardware pin...
|
|
|
|
000069fc <__fsym_pinRead_name>:
|
|
69fc: 6970 526e 6165 0064 pinRead.
|
|
|
|
00006a04 <__fsym_pinWrite_desc>:
|
|
6a04: 7277 7469 2065 6176 756c 2065 6f74 6820 write value to h
|
|
6a14: 7261 7764 7261 2065 6970 006e ardware pin.
|
|
|
|
00006a20 <__fsym_pinWrite_name>:
|
|
6a20: 6970 576e 6972 6574 0000 0000 pinWrite....
|
|
|
|
00006a2c <__fsym_pinMode_desc>:
|
|
6a2c: 6573 2074 6168 6472 6177 6572 7020 6e69 set hardware pin
|
|
6a3c: 6d20 646f 0065 0000 mode...
|
|
|
|
00006a44 <__fsym_pinMode_name>:
|
|
6a44: 6970 4d6e 646f 0065 6175 7472 0031 0000 pinMode.uart1...
|
|
|
|
00006a54 <_ch32_pin_ops>:
|
|
6a54: 3414 0000 33d4 0000 33f6 0000 3492 0000 .4...3...3...4..
|
|
6a64: 3524 0000 357e 0000 $5..~5..
|
|
|
|
00006a6c <pin_irq_map>:
|
|
6a6c: 0001 0000 0016 0000 0002 0000 0017 0000 ................
|
|
6a7c: 0004 0000 0018 0000 0008 0000 0019 0000 ................
|
|
6a8c: 0010 0000 001a 0000 0020 0000 0027 0000 ........ ...'...
|
|
6a9c: 0040 0000 0027 0000 0080 0000 0027 0000 @...'.......'...
|
|
6aac: 0100 0000 0027 0000 0200 0000 0027 0000 ....'.......'...
|
|
6abc: 0400 0000 0038 0000 0800 0000 0038 0000 ....8.......8...
|
|
6acc: 1000 0000 0038 0000 2000 0000 0038 0000 ....8.... ..8...
|
|
6adc: 4000 0000 0038 0000 8000 0000 0038 0000 .@..8.......8...
|
|
|
|
00006aec <pins>:
|
|
6aec: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6afc: 0001 0000 3386 0000 1800 4001 0004 0000 .....3.....@....
|
|
6b0c: 0002 0000 3386 0000 1800 4001 0008 0000 .....3.....@....
|
|
6b1c: 0003 0000 3386 0000 1800 4001 0010 0000 .....3.....@....
|
|
6b2c: 0004 0000 3386 0000 1800 4001 0020 0000 .....3.....@ ...
|
|
6b3c: 0005 0000 3386 0000 1800 4001 0040 0000 .....3.....@@...
|
|
6b4c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6b5c: 0007 0000 3376 0000 1000 4001 2000 0000 ....v3.....@. ..
|
|
6b6c: 0008 0000 3376 0000 1000 4001 4000 0000 ....v3.....@.@..
|
|
6b7c: 0009 0000 3376 0000 1000 4001 8000 0000 ....v3.....@....
|
|
6b8c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6b9c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6bac: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6bbc: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6bcc: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6bdc: 000f 0000 3376 0000 1000 4001 0001 0000 ....v3.....@....
|
|
6bec: 0010 0000 3376 0000 1000 4001 0002 0000 ....v3.....@....
|
|
6bfc: 0011 0000 3376 0000 1000 4001 0004 0000 ....v3.....@....
|
|
6c0c: 0012 0000 3376 0000 1000 4001 0008 0000 ....v3.....@....
|
|
6c1c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6c2c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6c3c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6c4c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6c5c: 0017 0000 3366 0000 0800 4001 0001 0000 ....f3.....@....
|
|
6c6c: 0018 0000 3366 0000 0800 4001 0002 0000 ....f3.....@....
|
|
6c7c: 0019 0000 3366 0000 0800 4001 0004 0000 ....f3.....@....
|
|
6c8c: 001a 0000 3366 0000 0800 4001 0008 0000 ....f3.....@....
|
|
6c9c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6cac: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6cbc: 001d 0000 3366 0000 0800 4001 0010 0000 ....f3.....@....
|
|
6ccc: 001e 0000 3366 0000 0800 4001 0020 0000 ....f3.....@ ...
|
|
6cdc: 001f 0000 3366 0000 0800 4001 0040 0000 ....f3.....@@...
|
|
6cec: 0020 0000 3366 0000 0800 4001 0080 0000 ...f3.....@....
|
|
6cfc: 0021 0000 3376 0000 1000 4001 0010 0000 !...v3.....@....
|
|
6d0c: 0022 0000 3376 0000 1000 4001 0020 0000 "...v3.....@ ...
|
|
6d1c: 0023 0000 3356 0000 0c00 4001 0001 0000 #...V3.....@....
|
|
6d2c: 0024 0000 3356 0000 0c00 4001 0002 0000 $...V3.....@....
|
|
6d3c: 0025 0000 3356 0000 0c00 4001 0004 0000 %...V3.....@....
|
|
6d4c: 0026 0000 3386 0000 1800 4001 0080 0000 &....3.....@....
|
|
6d5c: 0027 0000 3386 0000 1800 4001 0100 0000 '....3.....@....
|
|
6d6c: 0028 0000 3386 0000 1800 4001 0200 0000 (....3.....@....
|
|
6d7c: 0029 0000 3386 0000 1800 4001 0400 0000 )....3.....@....
|
|
6d8c: 002a 0000 3386 0000 1800 4001 0800 0000 *....3.....@....
|
|
6d9c: 002b 0000 3386 0000 1800 4001 1000 0000 +....3.....@....
|
|
6dac: 002c 0000 3386 0000 1800 4001 2000 0000 ,....3.....@. ..
|
|
6dbc: 002d 0000 3386 0000 1800 4001 4000 0000 -....3.....@.@..
|
|
6dcc: 002e 0000 3386 0000 1800 4001 8000 0000 .....3.....@....
|
|
6ddc: 002f 0000 3356 0000 0c00 4001 0400 0000 /...V3.....@....
|
|
6dec: 0030 0000 3356 0000 0c00 4001 0800 0000 0...V3.....@....
|
|
6dfc: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6e0c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6e1c: 0033 0000 3356 0000 0c00 4001 1000 0000 3...V3.....@....
|
|
6e2c: 0034 0000 3356 0000 0c00 4001 2000 0000 4...V3.....@. ..
|
|
6e3c: 0035 0000 3356 0000 0c00 4001 4000 0000 5...V3.....@.@..
|
|
6e4c: 0036 0000 3356 0000 0c00 4001 8000 0000 6...V3.....@....
|
|
6e5c: 0037 0000 3344 0000 1400 4001 0100 0000 7...D3.....@....
|
|
6e6c: 0038 0000 3344 0000 1400 4001 0200 0000 8...D3.....@....
|
|
6e7c: 0039 0000 3344 0000 1400 4001 0400 0000 9...D3.....@....
|
|
6e8c: 003a 0000 3344 0000 1400 4001 0800 0000 :...D3.....@....
|
|
6e9c: 003b 0000 3344 0000 1400 4001 1000 0000 ;...D3.....@....
|
|
6eac: 003c 0000 3344 0000 1400 4001 2000 0000 <...D3.....@. ..
|
|
6ebc: 003d 0000 3344 0000 1400 4001 4000 0000 =...D3.....@.@..
|
|
6ecc: 003e 0000 3344 0000 1400 4001 8000 0000 >...D3.....@....
|
|
6edc: 003f 0000 3376 0000 1000 4001 0040 0000 ?...v3.....@@...
|
|
6eec: 0040 0000 3376 0000 1000 4001 0080 0000 @...v3.....@....
|
|
6efc: 0041 0000 3376 0000 1000 4001 0100 0000 A...v3.....@....
|
|
6f0c: 0042 0000 3376 0000 1000 4001 0200 0000 B...v3.....@....
|
|
6f1c: 0043 0000 3366 0000 0800 4001 0100 0000 C...f3.....@....
|
|
6f2c: 0044 0000 3366 0000 0800 4001 0200 0000 D...f3.....@....
|
|
6f3c: 0045 0000 3366 0000 0800 4001 0400 0000 E...f3.....@....
|
|
6f4c: 0046 0000 3366 0000 0800 4001 0800 0000 F...f3.....@....
|
|
6f5c: 0047 0000 3366 0000 0800 4001 1000 0000 G...f3.....@....
|
|
6f6c: 0048 0000 3366 0000 0800 4001 2000 0000 H...f3.....@. ..
|
|
6f7c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6f8c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6f9c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6fac: 004c 0000 3366 0000 0800 4001 4000 0000 L...f3.....@.@..
|
|
6fbc: 004d 0000 3366 0000 0800 4001 8000 0000 M...f3.....@....
|
|
6fcc: 004e 0000 3376 0000 1000 4001 0400 0000 N...v3.....@....
|
|
6fdc: 004f 0000 3376 0000 1000 4001 0800 0000 O...v3.....@....
|
|
6fec: 0050 0000 3376 0000 1000 4001 1000 0000 P...v3.....@....
|
|
6ffc: 0051 0000 3344 0000 1400 4001 0001 0000 Q...D3.....@....
|
|
700c: 0052 0000 3344 0000 1400 4001 0002 0000 R...D3.....@....
|
|
701c: 0053 0000 3344 0000 1400 4001 0004 0000 S...D3.....@....
|
|
702c: 0054 0000 3344 0000 1400 4001 0008 0000 T...D3.....@....
|
|
703c: 0055 0000 3344 0000 1400 4001 0010 0000 U...D3.....@....
|
|
704c: 0056 0000 3344 0000 1400 4001 0020 0000 V...D3.....@ ...
|
|
705c: 0057 0000 3344 0000 1400 4001 0040 0000 W...D3.....@@...
|
|
706c: 0058 0000 3344 0000 1400 4001 0080 0000 X...D3.....@....
|
|
707c: 0059 0000 3356 0000 0c00 4001 0008 0000 Y...V3.....@....
|
|
708c: 005a 0000 3356 0000 0c00 4001 0010 0000 Z...V3.....@....
|
|
709c: 005b 0000 3356 0000 0c00 4001 0020 0000 [...V3.....@ ...
|
|
70ac: 005c 0000 3356 0000 0c00 4001 0040 0000 \...V3.....@@...
|
|
70bc: 005d 0000 3356 0000 0c00 4001 0080 0000 ]...V3.....@....
|
|
70cc: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
70dc: 005f 0000 3356 0000 0c00 4001 0100 0000 _...V3.....@....
|
|
70ec: 0060 0000 3356 0000 0c00 4001 0200 0000 `...V3.....@....
|
|
70fc: 0061 0000 3386 0000 1800 4001 0001 0000 a....3.....@....
|
|
710c: 0062 0000 3386 0000 1800 4001 0002 0000 b....3.....@....
|
|
711c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
712c: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
713c: 6970 006e pin.
|
|
|
|
00007140 <ch32_uart_ops>:
|
|
7140: 38c2 0000 3a90 0000 3a6e 0000 3a4c 0000 .8...:..n:..L:..
|
|
7150: 38be 0000 6820 7261 6664 6c75 0d74 000a .8.. hardfult...
|
|
7160: 4e20 494d 4820 6e61 6c64 7265 0a0d 0000 NMI Handler....
|
|
7170: 0a0d 4d20 5543 203a 4843 3233 3356 3330 .. MCU: CH32V303
|
|
7180: 0a0d 0000 5320 7379 6c43 3a6b 2520 4864 .... SysClk: %dH
|
|
7190: 0d7a 000a 4320 6968 4970 3a44 2520 3830 z... ChipID: %08
|
|
71a0: 0d78 000a 610a 646e 6f72 6469 505f 776f x....android_Pow
|
|
71b0: 7265 654b 5f79 6552 7473 4f20 0a4b 0000 erKey_Rest OK...
|
|
71c0: 4300 0000 4340 0000 4350 0000 4308 0000 .C..@C..PC...C..
|
|
71d0: 4300 0000 4356 0000 435c 0000 43ba 0000 .C..VC..\C...C..
|
|
71e0: 43fa 0000 440a 0000 43c2 0000 43ba 0000 .C...D...C...C..
|
|
71f0: 4410 0000 4416 0000 4474 0000 44b4 0000 .D...D..tD...D..
|
|
7200: 44c4 0000 447c 0000 4474 0000 44ca 0000 .D..|D..tD...D..
|
|
7210: 44d0 0000 452e 0000 456e 0000 457e 0000 .D...E..nE..~E..
|
|
7220: 4536 0000 452e 0000 4584 0000 458a 0000 6E...E...E...E..
|
|
7230: 45e8 0000 4628 0000 4638 0000 45f0 0000 .E..(F..8F...E..
|
|
7240: 45e8 0000 463e 0000 4644 0000 46a2 0000 .E..>F..DF...F..
|
|
7250: 46e2 0000 46f2 0000 46aa 0000 46a2 0000 .F...F...F...F..
|
|
7260: 46f8 0000 46fe 0000 6920 206e 7242 616f .F...F.. in Broa
|
|
7270: 6364 7361 5f74 6353 6e61 0a20 0020 0000 dcast_Scan . ...
|
|
7280: 6920 206e 6552 6461 525f 6765 7369 6574 in Read_Registe
|
|
7290: 2072 200a 0000 0000 6920 206e 6552 6967 r . .... in Regi
|
|
72a0: 7473 6172 6974 6e6f 725f 7165 6575 7473 stration_request
|
|
72b0: 0a20 0020 6920 206e 6552 6f6d 6574 555f . . in Remote_U
|
|
72c0: 6770 6172 6564 0a20 0020 0000 6920 206e pgrade . ... in
|
|
72d0: 7055 6164 6574 505f 6f72 6966 656c 0a20 Update_Profile .
|
|
72e0: 0020 0000 6920 206e 7257 7469 5f65 6552 ... in Write_Re
|
|
72f0: 6967 7473 7265 0a20 0020 0000 6920 206e gister . ... in
|
|
7300: 6553 736e 726f 525f 6165 5f64 6552 6967 Sensor_Read_Regi
|
|
7310: 7473 7265 0a20 0020 7472 6d5f 5f71 6573 ster . .rt_mq_se
|
|
7320: 646e 4520 5252 000a 6920 206e 6553 736e nd ERR.. in Sens
|
|
7330: 726f 525f 6d65 746f 5f65 7055 7267 6461 or_Remote_Upgrad
|
|
7340: 2065 200a 0000 0000 6920 206e 6553 736e e . .... in Sens
|
|
7350: 726f 555f 6470 7461 5f65 7250 666f 6c69 or_Update_Profil
|
|
7360: 2065 200a 0000 0000 7825 0020 6552 7663 e . ....%x .Recv
|
|
7370: 0000 0000 6573 646e 0000 0000 6553 646e ....send....Send
|
|
7380: 6d5f 0071 _mq.
|
|
|
|
00007384 <__fsym_list_mem>:
|
|
7384: 5f48 0000 5f28 0000 1408 0000 H_..(_......
|
|
|
|
00007390 <__fsym_list>:
|
|
7390: 6444 0000 6428 0000 2510 0000 Dd..(d...%..
|
|
|
|
0000739c <__fsym___cmd_list_device>:
|
|
739c: 6464 0000 644c 0000 23e2 0000 dd..Ld...#..
|
|
|
|
000073a8 <__fsym_list_device>:
|
|
73a8: 6490 0000 6478 0000 23e2 0000 .d..xd...#..
|
|
|
|
000073b4 <__fsym___cmd_list_timer>:
|
|
73b4: 64b4 0000 649c 0000 2476 0000 .d...d..v$..
|
|
|
|
000073c0 <__fsym_list_timer>:
|
|
73c0: 64e0 0000 64c8 0000 2476 0000 .d...d..v$..
|
|
|
|
000073cc <__fsym___cmd_list_msgqueue>:
|
|
73cc: 650c 0000 64ec 0000 232c 0000 .e...d..,#..
|
|
|
|
000073d8 <__fsym_list_msgqueue>:
|
|
73d8: 6540 0000 6520 0000 232c 0000 @e.. e..,#..
|
|
|
|
000073e4 <__fsym___cmd_list_mailbox>:
|
|
73e4: 6568 0000 6550 0000 226e 0000 he..Pe..n"..
|
|
|
|
000073f0 <__fsym_list_mailbox>:
|
|
73f0: 6594 0000 657c 0000 226e 0000 .e..|e..n"..
|
|
|
|
000073fc <__fsym___cmd_list_mutex>:
|
|
73fc: 65bc 0000 65a4 0000 21ec 0000 .e...e...!..
|
|
|
|
00007408 <__fsym_list_mutex>:
|
|
7408: 65e8 0000 65d0 0000 21ec 0000 .e...e...!..
|
|
|
|
00007414 <__fsym___cmd_list_event>:
|
|
7414: 660c 0000 65f4 0000 2140 0000 .f...e..@!..
|
|
|
|
00007420 <__fsym_list_event>:
|
|
7420: 6638 0000 6620 0000 2140 0000 8f.. f..@!..
|
|
|
|
0000742c <__fsym___cmd_list_sem>:
|
|
742c: 6660 0000 6644 0000 208a 0000 `f..Df... ..
|
|
|
|
00007438 <__fsym_list_sem>:
|
|
7438: 668c 0000 6670 0000 208a 0000 .f..pf... ..
|
|
|
|
00007444 <__fsym___cmd_list_thread>:
|
|
7444: 66a4 0000 6698 0000 1fa6 0000 .f...f......
|
|
|
|
00007450 <__fsym_list_thread>:
|
|
7450: 66c4 0000 66b8 0000 1fa6 0000 .f...f......
|
|
|
|
0000745c <__fsym___cmd_clear>:
|
|
745c: 66e4 0000 66d0 0000 1efc 0000 .f...f......
|
|
|
|
00007468 <__fsym_clear>:
|
|
7468: 6704 0000 66f0 0000 1efc 0000 .g...f......
|
|
|
|
00007474 <__fsym___cmd_reboot>:
|
|
7474: 6720 0000 670c 0000 1eea 0000 g...g......
|
|
|
|
00007480 <__fsym_reboot>:
|
|
7480: 6744 0000 6730 0000 1eea 0000 Dg..0g......
|
|
|
|
0000748c <__fsym___cmd_help>:
|
|
748c: 68f8 0000 68e0 0000 255a 0000 .h...h..Z%..
|
|
|
|
00007498 <__fsym___cmd_free>:
|
|
7498: 6928 0000 6904 0000 2810 0000 (i...i...(..
|
|
|
|
000074a4 <__fsym___cmd_ps>:
|
|
74a4: 6950 0000 6934 0000 2802 0000 Pi..4i...(..
|
|
|
|
000074b0 <__fsym_pinRead>:
|
|
74b0: 69fc 0000 69dc 0000 3160 0000 .i...i..`1..
|
|
|
|
000074bc <__fsym_pinWrite>:
|
|
74bc: 6a20 0000 6a04 0000 3146 0000 j...j..F1..
|
|
|
|
000074c8 <__fsym_pinMode>:
|
|
74c8: 6a44 0000 6a2c 0000 312c 0000 Dj..,j..,1..
|
|
|
|
000074d4 <__rt_init_rti_start>:
|
|
74d4: 04d0 0000 ....
|
|
|
|
000074d8 <__rt_init_rti_board_start>:
|
|
74d8: 04d8 0000 ....
|
|
|
|
000074dc <__rt_init_rt_hw_pin_init>:
|
|
74dc: 3398 0000 .3..
|
|
|
|
000074e0 <__rt_init_rt_hw_usart_init>:
|
|
74e0: 3990 0000 .9..
|
|
|
|
000074e4 <__rt_init_rti_board_end>:
|
|
74e4: 04dc 0000 ....
|
|
|
|
000074e8 <__rt_init_finsh_system_init>:
|
|
74e8: 2830 0000 0(..
|
|
|
|
000074ec <__rt_init_rti_end>:
|
|
74ec: 04d4 0000 ....
|