9124 lines
422 KiB
Plaintext
9124 lines
422 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 0x00006964 memsz 0x00006964 flags r-x
|
|
LOAD off 0x00008000 vaddr 0x20000000 paddr 0x00006964 align 2**12
|
|
filesz 0x000002b0 memsz 0x00000c34 flags rw-
|
|
LOAD off 0x00009000 vaddr 0x20008000 paddr 0x20008000 align 2**12
|
|
filesz 0x00000000 memsz 0x00008000 flags rw-
|
|
|
|
Sections:
|
|
Idx Name Size VMA LMA File off Algn
|
|
0 .init 00000004 00000000 00000000 00001000 2**1
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
1 .vector 000001bc 00000004 00000004 00001004 2**1
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
2 .text 000067a4 000001c0 000001c0 000011c0 2**2
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
3 .fini 00000000 00006964 00006964 000082b0 2**0
|
|
CONTENTS, ALLOC, LOAD, CODE
|
|
4 .dalign 00000000 20000000 20000000 000082b0 2**0
|
|
CONTENTS
|
|
5 .dlalign 00000000 00006964 00006964 000082b0 2**0
|
|
CONTENTS
|
|
6 .data 000002b0 20000000 00006964 00008000 2**2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
7 .bss 00000984 200002b0 00006c14 000082b0 2**2
|
|
ALLOC
|
|
8 .stack 00008000 20008000 20008000 00009000 2**0
|
|
ALLOC
|
|
9 .debug_info 0002af26 00000000 00000000 000082b0 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
10 .debug_abbrev 00007b90 00000000 00000000 000331d6 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
11 .debug_loc 0000b20c 00000000 00000000 0003ad66 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
12 .debug_aranges 00001328 00000000 00000000 00045f78 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
13 .debug_ranges 00001a98 00000000 00000000 000472a0 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
14 .debug_line 0001b203 00000000 00000000 00048d38 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
15 .debug_str 00005a8e 00000000 00000000 00063f3b 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
16 .comment 00000033 00000000 00000000 000699c9 2**0
|
|
CONTENTS, READONLY
|
|
17 .debug_frame 000035ac 00000000 00000000 000699fc 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
|
|
00006964 l d .fini 00000000 .fini
|
|
20000000 l d .dalign 00000000 .dalign
|
|
00006964 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
|
|
00000762 l F .text 0000001c rt_thread_idle_entry
|
|
20000394 l O .bss 00000080 idle
|
|
20000414 l O .bss 00000010 idle_hook_list
|
|
20000424 l O .bss 00000200 rt_thread_stack
|
|
00000000 l df *ABS* 00000000 ipc.c
|
|
000007b4 l F .text 0000005a rt_ipc_list_suspend
|
|
00000000 l df *ABS* 00000000 irq.c
|
|
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
|
|
00000954 l F .text 0000017e print_number
|
|
20000624 l O .bss 00000080 rt_log_buf.2693
|
|
00005344 l O .text 00000011 large_digits.2583
|
|
000053e8 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
|
|
000010a2 l F .text 00000058 plug_holes
|
|
200006a4 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
|
|
000016ca 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
|
|
00001958 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
|
|
00001bb6 l F .text 00000012 rt_list_len
|
|
00001bf0 l F .text 00000020 object_split
|
|
00001c10 l F .text 00000036 show_wait_queue
|
|
00001c46 l F .text 0000003e object_name_maxlen
|
|
00000000 l df *ABS* 00000000 msh.c
|
|
00000000 l df *ABS* 00000000 msh_cmd.c
|
|
00000000 l df *ABS* 00000000 shell.c
|
|
000024fa l F .text 00000012 finsh_rx_ind
|
|
000025e0 l F .text 0000002e shell_handle_history
|
|
20000744 l O .bss 00000081 finsh_prompt.4315
|
|
00000000 l df *ABS* 00000000 serial.c
|
|
00002a9c l F .text 00000020 rt_serial_init
|
|
00002abc l F .text 00000042 rt_serial_write
|
|
00002afe l F .text 0000009e rt_serial_open
|
|
00002b9c l F .text 0000006e rt_serial_control
|
|
00002c0a l F .text 0000009e rt_serial_read
|
|
00002ca8 l F .text 00000040 rt_serial_close
|
|
00000000 l df *ABS* 00000000 pin.c
|
|
00002dec l F .text 0000001c _pin_control
|
|
00002e54 l F .text 0000002e _pin_read
|
|
00002e82 l F .text 0000002c _pin_write
|
|
200007c8 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
|
|
00003004 l F .text 0000001c bit2bitno
|
|
00003020 l F .text 00000012 GPIOD_CLK_ENABLE
|
|
00003032 l F .text 00000010 GPIOB_CLK_ENABLE
|
|
00003042 l F .text 00000010 GPIOA_CLK_ENABLE
|
|
00003052 l F .text 00000010 GPIOC_CLK_ENABLE
|
|
00003062 l F .text 00000012 GPIOE_CLK_ENABLE
|
|
00005f70 l O .text 00000018 _ch32_pin_ops
|
|
00005f88 l O .text 00000080 pin_irq_map
|
|
00006008 l O .text 00000650 pins
|
|
00000000 l df *ABS* 00000000 drv_usart.c
|
|
0000359e l F .text 000000ce ch32_configure
|
|
00003728 l F .text 00000022 ch32_getc
|
|
0000374a l F .text 00000022 ch32_putc
|
|
0000376c l F .text 0000005c ch32_control
|
|
0000665c 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
|
|
00003b7a l F .text 00000014 SL_MsgProcFuncReadSensor_Remote_Upgrade
|
|
00003b8e l F .text 00000014 SL_MsgProcFuncReadSensor_Update_Profile
|
|
00003ba2 l F .text 00000014 SL_MsgProcFuncReadSensor_Registration_request
|
|
00003bb6 l F .text 00000014 SL_MsgProcFuncReadSensor_Read_Register
|
|
00003bca l F .text 00000014 SL_MsgProcFuncReadIntelligentModule_Remote_Upgrade
|
|
00003bde l F .text 00000014 SL_MsgProcFuncReadIntelligentModule_Update_Profile
|
|
00003bf2 l F .text 00000014 SL_MsgProcFuncReadIntelligentModule_Registration_request
|
|
00003c06 l F .text 00000014 SL_MsgProcFuncReadIntelligentModule_Broadcast_Scan
|
|
00003c1a l F .text 00000014 SL_MsgProcFuncReadIntelligentModule_Write_Register
|
|
00003c2e l F .text 00000014 SL_MsgProcFuncReadIntelligentModule_Read_Register
|
|
00003c42 l F .text 00000022 Match_Startflag
|
|
20000880 l O .bss 00000032 uart_buff
|
|
00000000 l df *ABS* 00000000 thread.c
|
|
00003ff8 l F .text 0000003e Recv_thread_entry
|
|
00000000 l df *ABS* 00000000 uart_dev.c
|
|
200008b4 l O .bss 00000080 J1RS485_in_buff
|
|
20000934 l O .bss 00000080 J2RS485_in_buff
|
|
200009b4 l O .bss 00000080 J3RS485_in_buff
|
|
20000a34 l O .bss 00000080 J4RS485_in_buff
|
|
20000ab4 l O .bss 00000080 J50RS485_in_buff
|
|
20000b34 l O .bss 00000080 LORA_in_buff
|
|
20000bb4 l O .bss 00000080 Upward_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
|
|
20000298 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
|
|
0000342a g F .text 00000028 EXTI2_IRQHandler
|
|
00003aea w .text 00000000 TIM8_TRG_COM_IRQHandler
|
|
000012d4 g F .text 00000024 rt_calloc
|
|
00003aea w .text 00000000 TIM8_CC_IRQHandler
|
|
000068c4 g O .text 0000000c __fsym_list_thread
|
|
00000578 g F .text 0000000a entry
|
|
00005162 g F .text 00000010 strcpy
|
|
00001c84 g F .text 000000e2 list_thread
|
|
0000268c g F .text 00000410 finsh_thread_entry
|
|
000014e0 g F .text 00000008 rt_object_is_systemobject
|
|
00004abc g F .text 00000012 J8_PWR_Open
|
|
00000bbe g F .text 0000002c rt_strncpy
|
|
00001b2e g F .text 00000036 rt_hw_stack_init
|
|
000018d2 g F .text 0000000e rt_thread_mdelay
|
|
200001a0 g O .data 00000016 g_slConfigInfo
|
|
00005032 g F .text 0000003c UART8_IRQHandler
|
|
00002292 g F .text 000001aa msh_exec
|
|
00004062 g F .text 000000fe uart_dev_init
|
|
00005ab0 g O .text 0000000d __fsym_list_mailbox_name
|
|
00001458 g F .text 00000056 rt_object_allocate
|
|
00006924 g O .text 0000000c __fsym_pinRead
|
|
00005244 g O .text 00000100 __lowest_bit_bitmap
|
|
00004b2c g F .text 00000012 J9_PWR_Close
|
|
000048ce g F .text 00000012 J3_PWR_Close
|
|
20000aa8 g .data 00000000 __global_pointer$
|
|
00001516 g F .text 0000002c rt_system_scheduler_start
|
|
0000037a g F .text 00000028 .hidden __riscv_save_8
|
|
00003aea w .text 00000000 TIM1_CC_IRQHandler
|
|
2000033c g O .bss 00000004 rt_interrupt_to_thread
|
|
0000382e g F .text 00000020 HardFault_Handler
|
|
00005ba8 g O .text 00000009 __fsym_list_sem_name
|
|
00002fa2 g F .text 0000002c InRingQueue
|
|
000003c6 g F .text 0000000c .hidden __riscv_restore_3
|
|
00003aea w .text 00000000 TIM6_IRQHandler
|
|
000006e8 g F .text 00000006 rt_device_set_rx_indicate
|
|
00002f72 g F .text 00000020 SysTick_Handler
|
|
000041f6 g F .text 00000018 uart_dev_char_present
|
|
000012f8 g F .text 000000aa rt_free
|
|
20000180 g O .data 00000020 g_MsgReadSensorTbl
|
|
20000338 g O .bss 00000004 rt_interrupt_from_thread
|
|
000043e0 g F .text 0000004e NVIC_Init
|
|
0000112c g F .text 0000007c rt_system_heap_init
|
|
00003aea w .text 00000000 PVD_IRQHandler
|
|
0000051c g F .text 0000000c main_thread_entry
|
|
00003aea w .text 00000000 SDIO_IRQHandler
|
|
0000471e g F .text 00000010 android_PowerCtrl_Open
|
|
00003aea w .text 00000000 TIM9_BRK_IRQHandler
|
|
00005c60 g O .text 00000007 __fsym_reboot_name
|
|
00001aaa g F .text 00000078 rt_timer_check
|
|
000003b2 g F .text 00000020 .hidden __riscv_restore_10
|
|
000015ac g F .text 00000048 rt_schedule_insert_thread
|
|
00001d66 g F .text 000000b6 list_sem
|
|
000005fe g F .text 0000007a rt_device_open
|
|
00003aea w .text 00000000 DMA2_Channel8_IRQHandler
|
|
0000380e g F .text 00000020 NMI_Handler
|
|
00004ae0 g F .text 00000012 J9_PWR_Open
|
|
00003aea w .text 00000000 CAN2_RX1_IRQHandler
|
|
00003452 g F .text 00000028 EXTI3_IRQHandler
|
|
0000037a g F .text 00000028 .hidden __riscv_save_11
|
|
00004244 g F .text 0000000a DBGMCU_GetCHIPID
|
|
000021ec g F .text 0000004a list
|
|
00005464 g O .text 00000009 __fsym_list_mem_name
|
|
20000350 g O .bss 00000004 _sysvar_table_begin
|
|
00005ad8 g O .text 00000011 __fsym___cmd_list_mutex_name
|
|
00006964 g .text 00000000 __rtmsymtab_start
|
|
00003aea w .text 00000000 USBHS_IRQHandler
|
|
000046c4 g F .text 0000000a USART_GetFlagStatus
|
|
00003aea w .text 00000000 DMA2_Channel9_IRQHandler
|
|
000006ee g F .text 00000074 rt_thread_idle_excute
|
|
00001848 g F .text 0000004a rt_thread_suspend
|
|
000038b2 g F .text 00000010 app_star
|
|
00000fae g F .text 00000068 rt_kprintf
|
|
00003aea w .text 00000000 TIM10_CC_IRQHandler
|
|
0000094e g F .text 00000006 rt_interrupt_get_nest
|
|
200002b0 g .bss 00000000 _sbss
|
|
00008000 g *ABS* 00000000 __stack_size
|
|
00004236 g F .text 0000000e ring_queue_length
|
|
00001758 g F .text 00000020 rt_thread_timeout
|
|
00005c00 g O .text 0000000c __fsym___cmd_clear_name
|
|
000024ec g F .text 0000000e cmd_free
|
|
00003aea w .text 00000000 USBFS_IRQHandler
|
|
00005b3c g O .text 00000015 __fsym_list_event_desc
|
|
0000684c g O .text 0000000c __fsym_list_msgqueue
|
|
00006948 g .text 00000000 __rt_init_start
|
|
00001f4a g F .text 000000be list_mailbox
|
|
000003c6 g F .text 0000000c .hidden __riscv_restore_2
|
|
00005f48 g O .text 00000016 __fsym_pinMode_desc
|
|
00006948 g .text 00000000 __fsymtab_end
|
|
00002e22 g F .text 0000001a rt_pin_write
|
|
00005bec g O .text 00000014 __fsym___cmd_clear_desc
|
|
000006b0 g F .text 0000001c rt_device_read
|
|
20000344 g O .bss 00000004 shell
|
|
00005092 g F .text 000000b2 memcpy
|
|
0000250c g F .text 00000098 finsh_system_init
|
|
000004fe g F .text 0000001e rt_components_init
|
|
000033da g F .text 00000028 EXTI0_IRQHandler
|
|
00003aea w .text 00000000 I2C2_EV_IRQHandler
|
|
00003aea w .text 00000000 TIM10_TRG_COM_IRQHandler
|
|
0000196a g F .text 0000003a rt_timer_init
|
|
00006964 g .text 00000000 __rt_init_end
|
|
0000077e g F .text 00000036 rt_thread_idle_init
|
|
00004cee g F .text 0000003a USART_CONNET_J7
|
|
200002a8 g O .data 00000004 SystemCoreClock
|
|
00004cb4 g F .text 0000003a USART_CONNET_J6
|
|
0000687c g O .text 0000000c __fsym_list_mutex
|
|
000046bc g F .text 00000008 USART_ReceiveData
|
|
2000034c g O .bss 00000004 _syscall_table_end
|
|
20000868 g O .bss 00000018 uart1
|
|
20000388 g O .bss 00000001 UART8_Rbuffer
|
|
000014e8 g F .text 0000002e rt_system_scheduler_init
|
|
00000582 g F .text 00000048 rt_device_find
|
|
000001c0 g .text 00000000 rt_hw_context_switch_to
|
|
00006950 g O .text 00000004 __rt_init_rt_hw_pin_init
|
|
00000004 g .init 00000000 _einit
|
|
00004742 g F .text 00000010 android_PowerKey_Init
|
|
20000340 g O .bss 00000004 rt_thread_switch_interrupt_flag
|
|
000045a4 g F .text 0000001e RCC_APB2PeriphClockCmd
|
|
00000372 g F .text 00000030 .hidden __riscv_save_12
|
|
00003aea w .text 00000000 CAN2_SCE_IRQHandler
|
|
00003aea w .text 00000000 ADC1_2_IRQHandler
|
|
00006960 g O .text 00000004 __rt_init_rti_end
|
|
00004a86 g F .text 00000012 J6_PWR_Close
|
|
000042e0 g F .text 000000c0 GPIO_Init
|
|
00004810 g F .text 00000012 J2_PWR_Close
|
|
00005b7c g O .text 0000000f __fsym___cmd_list_sem_name
|
|
00003aea w .text 00000000 Break_Point_Handler
|
|
00004822 g F .text 000000ac J2_485_Init
|
|
00006840 g O .text 0000000c __fsym___cmd_list_msgqueue
|
|
00005944 g O .text 0000001a __fsym_list_desc
|
|
000003b2 g F .text 00000020 .hidden __riscv_restore_11
|
|
20000374 g O .bss 00000004 NVIC_Priority_Group
|
|
00003aea w .text 00000000 SPI1_IRQHandler
|
|
00002ce8 g F .text 0000005a rt_hw_serial_register
|
|
00004670 g F .text 00000016 USART_Cmd
|
|
00005960 g O .text 00000005 __fsym_list_name
|
|
00001b94 g F .text 00000022 rt_hw_context_switch_interrupt
|
|
00005c3c g O .text 0000000d __fsym___cmd_reboot_name
|
|
00003aea w .text 00000000 TAMPER_IRQHandler
|
|
000003a2 g F .text 0000000c .hidden __riscv_save_1
|
|
000003c6 g F .text 0000000c .hidden __riscv_restore_0
|
|
00005bb4 g O .text 0000000c __fsym___cmd_list_thread_desc
|
|
00005c20 g O .text 00000006 __fsym_clear_name
|
|
000017b0 g F .text 00000046 rt_thread_create
|
|
00000388 g F .text 0000001a .hidden __riscv_save_7
|
|
00006964 g .text 00000000 __rtmsymtab_end
|
|
000059fc g O .text 0000000b __fsym_list_timer_name
|
|
0000470a g F .text 00000014 USART_ClearITPendingBit
|
|
00003aea w .text 00000000 CAN2_RX0_IRQHandler
|
|
000017f6 g F .text 00000052 rt_thread_yield
|
|
00003aea w .text 00000000 TIM8_UP_IRQHandler
|
|
00000528 g F .text 00000028 rt_application_init
|
|
000045c2 g F .text 0000001e RCC_APB1PeriphClockCmd
|
|
00003aea w .text 00000000 Ecall_M_Mode_Handler
|
|
000011a8 g F .text 0000012c rt_malloc
|
|
20008000 g .stack 00000000 _heap_end
|
|
2000036c g O .bss 00000004 g_LORA_UART4_handle
|
|
000008b6 g F .text 00000040 rt_sem_release
|
|
000068ac g O .text 0000000c __fsym_list_sem
|
|
000003bc g F .text 00000016 .hidden __riscv_restore_5
|
|
20000378 g O .bss 00000001 UART4_Rbuffer
|
|
00003aea w .text 00000000 DMA2_Channel2_IRQHandler
|
|
00006804 g O .text 0000000c __fsym_list
|
|
00003aea w .text 00000000 DMA1_Channel4_IRQHandler
|
|
00001b64 g F .text 00000010 sw_setpend
|
|
2000038c g O .bss 00000001 USART2_Rbuffer
|
|
20000080 g O .data 000000c0 pin_irq_hdr_tab
|
|
00005bc0 g O .text 00000012 __fsym___cmd_list_thread_name
|
|
00005f60 g O .text 00000008 __fsym_pinMode_name
|
|
00002f92 g F .text 00000010 InitRingQueue
|
|
000068e8 g O .text 0000000c __fsym___cmd_reboot
|
|
00005a98 g O .text 00000018 __fsym_list_mailbox_desc
|
|
20000370 g O .bss 00000004 g_Upward_UART5_handle
|
|
000019a4 g F .text 0000001e rt_timer_detach
|
|
00002ff4 g F .text 00000010 RingQueueLength
|
|
00003c64 g F .text 0000003e CheckFunc
|
|
00004752 g F .text 00000012 J1_PWR_Close
|
|
00003aea w .text 00000000 TIM9_UP_IRQHandler
|
|
0000228e g F .text 00000004 msh_is_used
|
|
000003bc g F .text 00000016 .hidden __riscv_restore_6
|
|
00004ed6 g F .text 00000048 USART3_IRQHandler
|
|
000042d6 g F .text 0000000a EXTI_ClearITPendingBit
|
|
000004e0 g F .text 0000001e rt_components_board_init
|
|
00003aea w .text 00000000 RTC_IRQHandler
|
|
00005c4c g O .text 00000011 __fsym_reboot_desc
|
|
00001016 g F .text 0000003e rt_show_version
|
|
20000c34 g .bss 00000000 _ebss
|
|
000046ce g F .text 0000003c USART_GetITStatus
|
|
00006948 g O .text 00000004 __rt_init_rti_start
|
|
00003aea w .text 00000000 DMA1_Channel7_IRQHandler
|
|
20000390 g O .bss 00000001 USART3_Rbuffer
|
|
00002f02 g F .text 00000070 rt_hw_board_init
|
|
00002eae g F .text 00000054 rt_device_pin_register
|
|
000068d0 g O .text 0000000c __fsym___cmd_clear
|
|
00003aea w .text 00000000 CAN1_RX1_IRQHandler
|
|
000018e0 g F .text 0000004c rt_thread_resume
|
|
00004a74 g F .text 00000012 J6_PWR_Open
|
|
00000550 g F .text 00000028 rtthread_startup
|
|
00003200 g F .text 0000005a ch32_pin_dettach_irq
|
|
00003aea w .text 00000000 DVP_IRQHandler
|
|
00004f66 g F .text 0000003c UART5_IRQHandler
|
|
00004b3e g F .text 0000003a USART_CONNET_J0
|
|
00002fce g F .text 00000026 OutRingQueue
|
|
00004a62 g F .text 00000012 J5_PWR_Close
|
|
00004764 g F .text 000000ac J1_485_Init
|
|
20000364 g O .bss 00000004 g_J4RS485_UART8_handle
|
|
00005a5c g O .text 0000000e __fsym_list_msgqueue_name
|
|
00001a72 g F .text 00000038 rt_timer_control
|
|
00004d62 g F .text 00000094 LORA_UART4_Init
|
|
000013a2 g F .text 0000002a rt_object_get_information
|
|
200006c4 g O .bss 00000080 rt_thread_priority_table
|
|
20000810 g O .bss 00000058 serial1
|
|
00003aea w .text 00000000 TIM4_IRQHandler
|
|
00005ef8 g O .text 0000001e __fsym_pinRead_desc
|
|
00001bda g F .text 00000016 clear
|
|
200002f0 g O .bss 00000004 rt_object_put_hook
|
|
0000037a g F .text 00000028 .hidden __riscv_save_9
|
|
000043aa g F .text 0000000a GPIO_WriteBit
|
|
2000037c g O .bss 00000001 UART5_Rbuffer
|
|
00005144 g F .text 0000001e strcat
|
|
0000167a g F .text 00000050 rt_thread_exit
|
|
00003aea w .text 00000000 DMA2_Channel1_IRQHandler
|
|
00005b10 g O .text 00000015 __fsym___cmd_list_event_desc
|
|
000005ca g F .text 00000034 rt_device_register
|
|
00000b76 g F .text 00000048 rt_memmove
|
|
00004a50 g F .text 00000012 J5_PWR_Open
|
|
00000388 g F .text 0000001a .hidden __riscv_save_4
|
|
000033b6 g F .text 00000024 HAL_GPIO_EXTI_Callback
|
|
00001bc8 g F .text 00000012 reboot
|
|
00004c7a g F .text 0000003a USART_CONNET_J5
|
|
00003aea w .text 00000000 I2C1_EV_IRQHandler
|
|
00006858 g O .text 0000000c __fsym___cmd_list_mailbox
|
|
0000442e g F .text 00000176 RCC_GetClocksFreq
|
|
00005f3c g O .text 00000009 __fsym_pinWrite_name
|
|
00004990 g F .text 00000012 J4_PWR_Open
|
|
00003aea w .text 00000000 DMA1_Channel6_IRQHandler
|
|
00002008 g F .text 000000b6 list_msgqueue
|
|
00004f1e g F .text 00000048 UART4_IRQHandler
|
|
00003cd4 g F .text 00000032 FRT_IntelligentModuleMsgHandler
|
|
00003aea w .text 00000000 DMA2_Channel4_IRQHandler
|
|
000045e0 g F .text 00000090 USART_Init
|
|
00003aea w .text 00000000 TIM3_IRQHandler
|
|
00003aea w .text 00000000 RCC_IRQHandler
|
|
00000c14 g F .text 00000012 rt_strlen
|
|
000038a2 g F .text 00000010 software_init
|
|
000003a2 g F .text 0000000c .hidden __riscv_save_3
|
|
00003aea w .text 00000000 TIM1_TRG_COM_IRQHandler
|
|
000068f4 g O .text 0000000c __fsym_reboot
|
|
00006900 g O .text 0000000c __fsym___cmd_help
|
|
00003aea w .text 00000000 DMA1_Channel1_IRQHandler
|
|
200002fc g O .bss 00000001 rt_current_priority
|
|
000030f0 g F .text 0000007e ch32_pin_mode
|
|
00006828 g O .text 0000000c __fsym___cmd_list_timer
|
|
00000000 g .init 00000000 _start
|
|
00005a6c g O .text 00000018 __fsym___cmd_list_mailbox_desc
|
|
00003aea w .text 00000000 DMA2_Channel7_IRQHandler
|
|
20000140 g O .data 00000010 AHBPrescTable
|
|
00001e1c g F .text 000000ac list_event
|
|
0000351a g F .text 00000080 EXTI15_10_IRQHandler
|
|
00004160 g F .text 00000096 uart_all_dev_init
|
|
00005184 g F .text 00000028 strncmp
|
|
00002e08 g F .text 0000001a rt_pin_mode
|
|
00004686 g F .text 00000036 USART_ITConfig
|
|
0000693c g O .text 0000000c __fsym_pinMode
|
|
00005968 g O .text 00000016 __fsym___cmd_list_device_desc
|
|
0000424e g F .text 0000006a EXTI_Init
|
|
0000681c g O .text 0000000c __fsym_list_device
|
|
00006870 g O .text 0000000c __fsym___cmd_list_mutex
|
|
00004df6 g F .text 00000098 Upward_UART5_Init
|
|
00002e3c g F .text 00000018 rt_pin_read
|
|
00005e14 g O .text 0000000b __fsym___cmd_help_name
|
|
00000480 g F .text 00000028 rt_tick_increase
|
|
000010fa g F .text 00000032 list_mem
|
|
00005e50 g O .text 0000001b __fsym___cmd_ps_desc
|
|
00003aea w .text 00000000 TIM7_IRQHandler
|
|
00005aec g O .text 00000015 __fsym_list_mutex_desc
|
|
00001a42 g F .text 00000030 rt_timer_stop
|
|
00003aea w .text 00000000 CAN2_TX_IRQHandler
|
|
00005e20 g O .text 00000024 __fsym___cmd_free_desc
|
|
20000000 g .dalign 00000000 _data_vma
|
|
00000c26 g F .text 00000352 rt_vsnprintf
|
|
000068b8 g O .text 0000000c __fsym___cmd_list_thread
|
|
00003aea w .text 00000000 TIM5_IRQHandler
|
|
0000506e g F .text 00000024 memcmp
|
|
000030b0 g F .text 00000022 ch32_pin_write
|
|
000034a2 g F .text 00000078 EXTI9_5_IRQHandler
|
|
00005c0c g O .text 00000014 __fsym_clear_desc
|
|
00001b74 g F .text 0000000e sw_clearpend
|
|
000004a8 g F .text 00000028 rt_tick_from_millisecond
|
|
20000348 g O .bss 00000004 _syscall_table_begin
|
|
000043b4 g F .text 0000002c GPIO_EXTILineConfig
|
|
0000037a g F .text 00000028 .hidden __riscv_save_10
|
|
0000359a g F .text 00000004 ch32dma_transmit
|
|
20000368 g O .bss 00000004 g_J50RS485_USART3_handle
|
|
000025a4 g F .text 0000003c finsh_get_prompt
|
|
00003aea w .text 00000000 ETH_WKUP_IRQHandler
|
|
200001b8 g O .data 000000e0 uart_devices
|
|
000003bc g F .text 00000016 .hidden __riscv_restore_4
|
|
000003b2 g F .text 00000020 .hidden __riscv_restore_8
|
|
00001054 g F .text 0000004e __rt_ffs
|
|
00000388 g F .text 0000001a .hidden __riscv_save_6
|
|
000042b8 g F .text 0000001e EXTI_GetITStatus
|
|
00003aea w .text 00000000 SPI2_IRQHandler
|
|
0000243c g F .text 000000a2 msh_auto_complete
|
|
20000354 g O .bss 00000004 _sysvar_table_end
|
|
20000150 g O .data 00000030 g_MsgReadIntelligentModuleTbl
|
|
00001636 g F .text 00000016 rt_enter_critical
|
|
00001892 g F .text 00000040 rt_thread_sleep
|
|
000003d2 g F .text 000000a8 memset
|
|
000003b2 g F .text 00000020 .hidden __riscv_restore_9
|
|
00004b78 g F .text 00000102 J5_0_485_Init
|
|
000003bc g F .text 00000016 .hidden __riscv_restore_7
|
|
0000384e g F .text 00000040 main
|
|
00005dfc g O .text 00000015 __fsym___cmd_help_desc
|
|
00003aea w .text 00000000 TIM10_BRK_IRQHandler
|
|
2000035c g O .bss 00000004 g_J2RS485_UART7_handle
|
|
00000922 g F .text 0000002c rt_interrupt_leave
|
|
00003aea w .text 00000000 TIM9_CC_IRQHandler
|
|
000059d0 g O .text 00000011 __fsym___cmd_list_timer_name
|
|
00003aea w .text 00000000 DMA2_Channel5_IRQHandler
|
|
20000358 g O .bss 00000004 g_J1RS485_UART6_handle
|
|
00001b2c g F .text 00000002 rt_system_timer_thread_init
|
|
00001778 g F .text 00000032 rt_thread_init
|
|
000059b8 g O .text 00000015 __fsym___cmd_list_timer_desc
|
|
00006948 g .text 00000000 __vsymtab_start
|
|
00003aea w .text 00000000 DMA1_Channel5_IRQHandler
|
|
0000347a g F .text 00000028 EXTI4_IRQHandler
|
|
00005b60 g O .text 00000019 __fsym___cmd_list_sem_desc
|
|
200002bc g O .bss 00000001 rt_interrupt_nest
|
|
00004d28 g F .text 0000003a USART_CONNET_J8
|
|
00003aea w .text 00000000 USB_LP_CAN1_RX0_IRQHandler
|
|
00005c28 g O .text 00000011 __fsym___cmd_reboot_desc
|
|
00005ac0 g O .text 00000015 __fsym___cmd_list_mutex_desc
|
|
00000fac w F .text 00000002 rt_hw_console_output
|
|
200002f4 g O .bss 00000004 rt_object_take_hook
|
|
00002152 g F .text 0000009a list_timer
|
|
00005a08 g O .text 0000001d __fsym___cmd_list_msgqueue_desc
|
|
000038c2 g F .text 000000fa SystemInit
|
|
00003aea w .text 00000000 RNG_IRQHandler
|
|
00005e44 g O .text 0000000b __fsym___cmd_free_name
|
|
00001b82 g F .text 0000000c rt_hw_interrupt_disable
|
|
20000360 g O .bss 00000004 g_J3RS485_USART2_handle
|
|
0000192c g F .text 0000002c rt_thread_startup
|
|
20000300 g O .bss 00000004 rt_current_thread
|
|
00000f78 g F .text 00000006 rt_console_get_device
|
|
00003aea w .text 00000000 USB_HP_CAN1_TX_IRQHandler
|
|
00000000 g .init 00000000 _sinit
|
|
00005b04 g O .text 0000000b __fsym_list_mutex_name
|
|
00003ca2 g F .text 00000032 FRT_SensorMsgHandler
|
|
00003aea w .text 00000000 DMA1_Channel3_IRQHandler
|
|
20000314 g O .bss 00000004 rt_thread_ready_priority_group
|
|
00003aea w .text 00000000 ETH_IRQHandler
|
|
0000690c g O .text 0000000c __fsym___cmd_free
|
|
00003aea w .text 00000000 TIM1_UP_IRQHandler
|
|
00005a84 g O .text 00000013 __fsym___cmd_list_mailbox_name
|
|
00005980 g O .text 00000012 __fsym___cmd_list_device_name
|
|
2000030c g O .bss 00000008 rt_thread_defunct
|
|
00006958 g O .text 00000004 __rt_init_rti_board_end
|
|
00003aea w .text 00000000 WWDG_IRQHandler
|
|
00006930 g O .text 0000000c __fsym_pinWrite
|
|
0000080e g F .text 00000028 rt_sem_init
|
|
00000236 g .text 00000000 rt_hw_context_switch_exit
|
|
00003aea w .text 00000000 USBHSWakeup_IRQHandler
|
|
00000aee g F .text 00000088 rt_memset
|
|
00003d06 g F .text 0000012e read_and_process_sensorUart_data
|
|
00003aea w .text 00000000 DMA2_Channel11_IRQHandler
|
|
000020be g F .text 00000094 list_device
|
|
00004036 g F .text 0000002c Recv_thread_Init
|
|
00003aea w .text 00000000 Ecall_U_Mode_Handler
|
|
00006864 g O .text 0000000c __fsym_list_mailbox
|
|
00000bea g F .text 0000002a rt_strncmp
|
|
00006888 g O .text 0000000c __fsym___cmd_list_event
|
|
00003aea w .text 00000000 DMA2_Channel6_IRQHandler
|
|
00006948 g .text 00000000 __vsymtab_end
|
|
00005f18 g O .text 00000008 __fsym_pinRead_name
|
|
00005e6c g O .text 00000009 __fsym___cmd_ps_name
|
|
00006834 g O .text 0000000c __fsym_list_timer
|
|
00003aea w .text 00000000 TIM2_IRQHandler
|
|
20010000 g .stack 00000000 _eusrstack
|
|
0000142a g F .text 0000002e rt_object_detach
|
|
000003a2 g F .text 0000000c .hidden __riscv_save_2
|
|
00000290 g .text 00000000 SW_Handler
|
|
00006954 g O .text 00000004 __rt_init_rt_hw_usart_init
|
|
00000ad2 g F .text 0000001c rt_set_errno
|
|
00001b22 g F .text 0000000a rt_system_timer_init
|
|
00003aea w .text 00000000 TIM1_BRK_IRQHandler
|
|
000015f4 g F .text 00000042 rt_schedule_remove_thread
|
|
000008f6 g F .text 0000002c rt_interrupt_enter
|
|
00003aea w .text 00000000 DMA2_Channel10_IRQHandler
|
|
00003402 g F .text 00000028 EXTI1_IRQHandler
|
|
00001b8e g F .text 00000006 rt_hw_interrupt_enable
|
|
00000388 g F .text 0000001a .hidden __riscv_save_5
|
|
000067f8 g O .text 0000000c __fsym_list_mem
|
|
200002b0 g .data 00000000 _edata
|
|
0000388e g F .text 00000014 hareware_init
|
|
00006810 g O .text 0000000c __fsym___cmd_list_device
|
|
20000c34 g .bss 00000000 _end
|
|
00005a28 g O .text 00000014 __fsym___cmd_list_msgqueue_name
|
|
0000164c g F .text 0000002e rt_exit_critical
|
|
000048e0 g F .text 000000b0 J3_485_Init
|
|
00003aea w .text 00000000 RTCAlarm_IRQHandler
|
|
00001ec8 g F .text 00000082 list_mutex
|
|
000024de g F .text 0000000e cmd_ps
|
|
00004ace g F .text 00000012 J8_PWR_Close
|
|
00006964 g .dlalign 00000000 _data_lma
|
|
0000260e g F .text 0000007e finsh_set_device
|
|
00003aea w .text 00000000 TIM10_UP_IRQHandler
|
|
00003aea w .text 00000000 TIM9_TRG_COM_IRQHandler
|
|
00004fea g F .text 00000048 UART7_IRQHandler
|
|
00003090 g F .text 00000020 get_pin
|
|
00004e8e g F .text 00000048 USART2_IRQHandler
|
|
00004fa2 g F .text 00000048 UART6_IRQHandler
|
|
20000380 g O .bss 00000001 UART6_Rbuffer
|
|
00004aaa g F .text 00000012 J7_PWR_Close
|
|
00000678 g F .text 00000038 rt_device_close
|
|
000017aa g F .text 00000006 rt_thread_self
|
|
0000695c g O .text 00000004 __rt_init_finsh_system_init
|
|
00005994 g O .text 00000016 __fsym_list_device_desc
|
|
000039bc g F .text 0000012e SystemCoreClockUpdate
|
|
00005bd4 g O .text 0000000c __fsym_list_thread_desc
|
|
00003aea w .text 00000000 I2C2_ER_IRQHandler
|
|
00003aea w .text 00000000 DMA1_Channel2_IRQHandler
|
|
000014ae g F .text 00000032 rt_object_delete
|
|
0000366c g F .text 000000bc rt_hw_usart_init
|
|
0000047a g F .text 00000006 rt_tick_get
|
|
00003e34 g F .text 000001c4 read_and_process_intelligentModuleUart_data
|
|
000003ae g F .text 00000024 .hidden __riscv_restore_12
|
|
00003aea w .text 00000000 TIM8_BRK_IRQHandler
|
|
00004af2 g F .text 0000003a USART_CONNET_J9
|
|
00005b54 g O .text 0000000b __fsym_list_event_name
|
|
00003aec w .text 00000000 handle_reset
|
|
00003aea w .text 00000000 CAN1_SCE_IRQHandler
|
|
00006894 g O .text 0000000c __fsym_list_event
|
|
200002f8 g O .bss 00000004 rt_object_trytake_hook
|
|
00003aea w .text 00000000 FLASH_IRQHandler
|
|
000003a2 g F .text 0000000c .hidden __riscv_save_0
|
|
00005b28 g O .text 00000011 __fsym___cmd_list_event_name
|
|
00005444 g O .text 0000001e __fsym_list_mem_desc
|
|
00004a98 g F .text 00000012 J7_PWR_Open
|
|
00000836 g F .text 00000080 rt_sem_take
|
|
000037c8 g F .text 00000046 USART1_IRQHandler
|
|
000068a0 g O .text 0000000c __fsym___cmd_list_sem
|
|
00005172 g F .text 00000012 strlen
|
|
00003aea w .text 00000000 SPI3_IRQHandler
|
|
000059e4 g O .text 00000015 __fsym_list_timer_desc
|
|
00000f7e g F .text 0000002e rt_console_set_device
|
|
0000316e g F .text 00000092 ch32_pin_attach_irq
|
|
00003aea w .text 00000000 I2C1_ER_IRQHandler
|
|
0000694c g O .text 00000004 __rt_init_rti_board_start
|
|
000006cc g F .text 0000001c rt_device_write
|
|
00005be0 g O .text 0000000c __fsym_list_thread_name
|
|
000067f8 g .text 00000000 __fsymtab_start
|
|
000003c6 g F .text 0000000c .hidden __riscv_restore_1
|
|
00003074 g F .text 0000001c rt_hw_pin_init
|
|
000068dc g O .text 0000000c __fsym_clear
|
|
00001542 g F .text 0000006a rt_schedule
|
|
000013cc g F .text 0000005e rt_object_init
|
|
000030d2 g F .text 0000001e ch32_pin_read
|
|
00006918 g O .text 0000000c __fsym___cmd_ps
|
|
000043a0 g F .text 0000000a GPIO_ReadInputDataBit
|
|
00005f20 g O .text 0000001c __fsym_pinWrite_desc
|
|
000019c2 g F .text 00000080 rt_timer_start
|
|
000049a2 g F .text 000000ae J4_485_Init
|
|
0000472e g F .text 00000014 android_PowerCtrl_Init
|
|
00002236 g F .text 00000058 msh_help
|
|
00002d42 g F .text 000000aa rt_hw_serial_isr
|
|
00003aea w .text 00000000 USBWakeUp_IRQHandler
|
|
000001dc g .text 00000000 rt_hw_context_switch
|
|
0000420e g F .text 00000028 uart_dev_in_char
|
|
00003aea w .text 00000000 DMA2_Channel3_IRQHandler
|
|
0000325a g F .text 0000015c ch32_pin_irq_enable
|
|
20000384 g O .bss 00000001 UART7_Rbuffer
|
|
000059ac g O .text 0000000c __fsym_list_device_name
|
|
00005a3c g O .text 0000001d __fsym_list_msgqueue_desc
|
|
00005b8c g O .text 00000019 __fsym_list_sem_desc
|
|
|
|
|
|
|
|
Disassembly of section .init:
|
|
|
|
00000000 <_sinit>:
|
|
0: 2ed0306f j 3aec <handle_reset>
|
|
|
|
Disassembly of section .vector:
|
|
|
|
00000004 <_vector_base>:
|
|
...
|
|
c: 380e lhu a1,48(s0)
|
|
e: 0000 unimp
|
|
10: 382e lhu a1,50(s0)
|
|
12: 0000 unimp
|
|
14: 0000 unimp
|
|
16: 0000 unimp
|
|
18: 3aea lhu a0,54(a3)
|
|
...
|
|
22: 0000 unimp
|
|
24: 3aea lhu a0,54(a3)
|
|
26: 0000 unimp
|
|
28: 3aea lhu a0,54(a3)
|
|
...
|
|
32: 0000 unimp
|
|
34: 2f72 lhu a2,30(a4)
|
|
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: 3aea lhu a0,54(a3)
|
|
46: 0000 unimp
|
|
48: 3aea lhu a0,54(a3)
|
|
4a: 0000 unimp
|
|
4c: 3aea lhu a0,54(a3)
|
|
4e: 0000 unimp
|
|
50: 3aea lhu a0,54(a3)
|
|
52: 0000 unimp
|
|
54: 3aea lhu a0,54(a3)
|
|
56: 0000 unimp
|
|
58: 3aea lhu a0,54(a3)
|
|
5a: 0000 unimp
|
|
5c: 33da lhu a4,36(a5)
|
|
5e: 0000 unimp
|
|
60: 3402 lhu s0,40(s0)
|
|
62: 0000 unimp
|
|
64: 342a lhu a0,42(s0)
|
|
66: 0000 unimp
|
|
68: 3452 lhu a2,44(s0)
|
|
6a: 0000 unimp
|
|
6c: 347a lhu a4,46(s0)
|
|
6e: 0000 unimp
|
|
70: 3aea lhu a0,54(a3)
|
|
72: 0000 unimp
|
|
74: 3aea lhu a0,54(a3)
|
|
76: 0000 unimp
|
|
78: 3aea lhu a0,54(a3)
|
|
7a: 0000 unimp
|
|
7c: 3aea lhu a0,54(a3)
|
|
7e: 0000 unimp
|
|
80: 3aea lhu a0,54(a3)
|
|
82: 0000 unimp
|
|
84: 3aea lhu a0,54(a3)
|
|
86: 0000 unimp
|
|
88: 3aea lhu a0,54(a3)
|
|
8a: 0000 unimp
|
|
8c: 3aea lhu a0,54(a3)
|
|
8e: 0000 unimp
|
|
90: 3aea lhu a0,54(a3)
|
|
92: 0000 unimp
|
|
94: 3aea lhu a0,54(a3)
|
|
96: 0000 unimp
|
|
98: 3aea lhu a0,54(a3)
|
|
9a: 0000 unimp
|
|
9c: 3aea lhu a0,54(a3)
|
|
9e: 0000 unimp
|
|
a0: 34a2 lhu s0,42(s1)
|
|
a2: 0000 unimp
|
|
a4: 3aea lhu a0,54(a3)
|
|
a6: 0000 unimp
|
|
a8: 3aea lhu a0,54(a3)
|
|
aa: 0000 unimp
|
|
ac: 3aea lhu a0,54(a3)
|
|
ae: 0000 unimp
|
|
b0: 3aea lhu a0,54(a3)
|
|
b2: 0000 unimp
|
|
b4: 3aea lhu a0,54(a3)
|
|
b6: 0000 unimp
|
|
b8: 3aea lhu a0,54(a3)
|
|
ba: 0000 unimp
|
|
bc: 3aea lhu a0,54(a3)
|
|
be: 0000 unimp
|
|
c0: 3aea lhu a0,54(a3)
|
|
c2: 0000 unimp
|
|
c4: 3aea lhu a0,54(a3)
|
|
c6: 0000 unimp
|
|
c8: 3aea lhu a0,54(a3)
|
|
ca: 0000 unimp
|
|
cc: 3aea lhu a0,54(a3)
|
|
ce: 0000 unimp
|
|
d0: 3aea lhu a0,54(a3)
|
|
d2: 0000 unimp
|
|
d4: 3aea lhu a0,54(a3)
|
|
d6: 0000 unimp
|
|
d8: 37c8 lbu a0,13(a5)
|
|
da: 0000 unimp
|
|
dc: 4e8e lw t4,192(sp)
|
|
de: 0000 unimp
|
|
e0: 4ed6 lw t4,84(sp)
|
|
e2: 0000 unimp
|
|
e4: 351a lhu a4,40(a0)
|
|
e6: 0000 unimp
|
|
e8: 3aea lhu a0,54(a3)
|
|
ea: 0000 unimp
|
|
ec: 3aea lhu a0,54(a3)
|
|
ee: 0000 unimp
|
|
f0: 3aea lhu a0,54(a3)
|
|
f2: 0000 unimp
|
|
f4: 3aea lhu a0,54(a3)
|
|
f6: 0000 unimp
|
|
f8: 3aea lhu a0,54(a3)
|
|
fa: 0000 unimp
|
|
fc: 3aea lhu a0,54(a3)
|
|
fe: 0000 unimp
|
|
100: 3aea lhu a0,54(a3)
|
|
102: 0000 unimp
|
|
104: 0000 unimp
|
|
106: 0000 unimp
|
|
108: 3aea lhu a0,54(a3)
|
|
10a: 0000 unimp
|
|
10c: 3aea lhu a0,54(a3)
|
|
10e: 0000 unimp
|
|
110: 3aea lhu a0,54(a3)
|
|
112: 0000 unimp
|
|
114: 4f1e lw t5,196(sp)
|
|
116: 0000 unimp
|
|
118: 4f66 lw t5,88(sp)
|
|
11a: 0000 unimp
|
|
11c: 3aea lhu a0,54(a3)
|
|
11e: 0000 unimp
|
|
120: 3aea lhu a0,54(a3)
|
|
122: 0000 unimp
|
|
124: 3aea lhu a0,54(a3)
|
|
126: 0000 unimp
|
|
128: 3aea lhu a0,54(a3)
|
|
12a: 0000 unimp
|
|
12c: 3aea lhu a0,54(a3)
|
|
12e: 0000 unimp
|
|
130: 3aea lhu a0,54(a3)
|
|
132: 0000 unimp
|
|
134: 3aea lhu a0,54(a3)
|
|
136: 0000 unimp
|
|
138: 3aea lhu a0,54(a3)
|
|
13a: 0000 unimp
|
|
13c: 3aea lhu a0,54(a3)
|
|
13e: 0000 unimp
|
|
140: 3aea lhu a0,54(a3)
|
|
142: 0000 unimp
|
|
144: 3aea lhu a0,54(a3)
|
|
146: 0000 unimp
|
|
148: 3aea lhu a0,54(a3)
|
|
14a: 0000 unimp
|
|
14c: 3aea lhu a0,54(a3)
|
|
14e: 0000 unimp
|
|
150: 3aea lhu a0,54(a3)
|
|
152: 0000 unimp
|
|
154: 3aea lhu a0,54(a3)
|
|
156: 0000 unimp
|
|
158: 3aea lhu a0,54(a3)
|
|
15a: 0000 unimp
|
|
15c: 3aea lhu a0,54(a3)
|
|
15e: 0000 unimp
|
|
160: 4fa2 lw t6,8(sp)
|
|
162: 0000 unimp
|
|
164: 4fea lw t6,152(sp)
|
|
166: 0000 unimp
|
|
168: 5032 0x5032
|
|
16a: 0000 unimp
|
|
16c: 3aea lhu a0,54(a3)
|
|
16e: 0000 unimp
|
|
170: 3aea lhu a0,54(a3)
|
|
172: 0000 unimp
|
|
174: 3aea lhu a0,54(a3)
|
|
176: 0000 unimp
|
|
178: 3aea lhu a0,54(a3)
|
|
17a: 0000 unimp
|
|
17c: 3aea lhu a0,54(a3)
|
|
17e: 0000 unimp
|
|
180: 3aea lhu a0,54(a3)
|
|
182: 0000 unimp
|
|
184: 3aea lhu a0,54(a3)
|
|
186: 0000 unimp
|
|
188: 3aea lhu a0,54(a3)
|
|
18a: 0000 unimp
|
|
18c: 3aea lhu a0,54(a3)
|
|
18e: 0000 unimp
|
|
190: 3aea lhu a0,54(a3)
|
|
192: 0000 unimp
|
|
194: 3aea lhu a0,54(a3)
|
|
196: 0000 unimp
|
|
198: 3aea lhu a0,54(a3)
|
|
19a: 0000 unimp
|
|
19c: 3aea lhu a0,54(a3)
|
|
19e: 0000 unimp
|
|
1a0: 3aea lhu a0,54(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+0xe9c>
|
|
246: 30052073 csrs mstatus,a0
|
|
24a: 4522 lw a0,8(sp)
|
|
24c: 30052073 csrs mstatus,a0
|
|
250: 4242 lw tp,16(sp)
|
|
252: 42d2 lw t0,20(sp)
|
|
254: 4362 lw t1,24(sp)
|
|
256: 43f2 lw t2,28(sp)
|
|
258: 5402 lw s0,32(sp)
|
|
25a: 5492 lw s1,36(sp)
|
|
25c: 5522 lw a0,40(sp)
|
|
25e: 55b2 lw a1,44(sp)
|
|
260: 5642 lw a2,48(sp)
|
|
262: 56d2 lw a3,52(sp)
|
|
264: 5762 lw a4,56(sp)
|
|
266: 57f2 lw a5,60(sp)
|
|
268: 4806 lw a6,64(sp)
|
|
26a: 4896 lw a7,68(sp)
|
|
26c: 4926 lw s2,72(sp)
|
|
26e: 49b6 lw s3,76(sp)
|
|
270: 4a46 lw s4,80(sp)
|
|
272: 4ad6 lw s5,84(sp)
|
|
274: 4b66 lw s6,88(sp)
|
|
276: 4bf6 lw s7,92(sp)
|
|
278: 5c06 lw s8,96(sp)
|
|
27a: 5c96 lw s9,100(sp)
|
|
27c: 5d26 lw s10,104(sp)
|
|
27e: 5db6 lw s11,108(sp)
|
|
280: 5e46 lw t3,112(sp)
|
|
282: 5ed6 lw t4,116(sp)
|
|
284: 5f66 lw t5,120(sp)
|
|
286: 5ff6 lw t6,124(sp)
|
|
288: 6109 addi sp,sp,128
|
|
28a: 30200073 mret
|
|
...
|
|
|
|
00000290 <SW_Handler>:
|
|
290: 7119 addi sp,sp,-128
|
|
292: ca16 sw t0,20(sp)
|
|
294: 08000293 li t0,128
|
|
298: c416 sw t0,8(sp)
|
|
29a: 02000293 li t0,32
|
|
29e: 8042a073 csrs 0x804,t0
|
|
2a2: c206 sw ra,4(sp)
|
|
2a4: c812 sw tp,16(sp)
|
|
2a6: cc1a sw t1,24(sp)
|
|
2a8: ce1e sw t2,28(sp)
|
|
2aa: d022 sw s0,32(sp)
|
|
2ac: d226 sw s1,36(sp)
|
|
2ae: d42a sw a0,40(sp)
|
|
2b0: d62e sw a1,44(sp)
|
|
2b2: d832 sw a2,48(sp)
|
|
2b4: da36 sw a3,52(sp)
|
|
2b6: dc3a sw a4,56(sp)
|
|
2b8: de3e sw a5,60(sp)
|
|
2ba: c0c2 sw a6,64(sp)
|
|
2bc: c2c6 sw a7,68(sp)
|
|
2be: c4ca sw s2,72(sp)
|
|
2c0: c6ce sw s3,76(sp)
|
|
2c2: c8d2 sw s4,80(sp)
|
|
2c4: cad6 sw s5,84(sp)
|
|
2c6: ccda sw s6,88(sp)
|
|
2c8: cede sw s7,92(sp)
|
|
2ca: d0e2 sw s8,96(sp)
|
|
2cc: d2e6 sw s9,100(sp)
|
|
2ce: d4ea sw s10,104(sp)
|
|
2d0: d6ee sw s11,108(sp)
|
|
2d2: d8f2 sw t3,112(sp)
|
|
2d4: daf6 sw t4,116(sp)
|
|
2d6: dcfa sw t5,120(sp)
|
|
2d8: defe sw t6,124(sp)
|
|
2da: 34011173 csrrw sp,mscratch,sp
|
|
2de: 618000ef jal ra,8f6 <rt_interrupt_enter>
|
|
2e2: 093010ef jal ra,1b74 <sw_clearpend>
|
|
2e6: 63c000ef jal ra,922 <rt_interrupt_leave>
|
|
2ea: 34011173 csrrw sp,mscratch,sp
|
|
2ee: 89818413 addi s0,gp,-1896 # 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+0xe9c>
|
|
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: 31c010ef jal ra,17aa <rt_thread_self>
|
|
492: 453c lw a5,72(a0)
|
|
494: 17fd addi a5,a5,-1
|
|
496: c53c sw a5,72(a0)
|
|
498: e789 bnez a5,4a2 <rt_tick_increase+0x22>
|
|
49a: 417c lw a5,68(a0)
|
|
49c: c53c sw a5,72(a0)
|
|
49e: 358010ef jal ra,17f6 <rt_thread_yield>
|
|
4a2: 608010ef jal ra,1aaa <rt_timer_check>
|
|
4a6: b705 j 3c6 <__riscv_restore_0>
|
|
|
|
000004a8 <rt_tick_from_millisecond>:
|
|
4a8: 02054263 bltz a0,4cc <rt_tick_from_millisecond+0x24>
|
|
4ac: 3e800793 li a5,1000
|
|
4b0: 02f54733 div a4,a0,a5
|
|
4b4: 02f56533 rem a0,a0,a5
|
|
4b8: 02f50533 mul a0,a0,a5
|
|
4bc: 3e750513 addi a0,a0,999
|
|
4c0: 02f54533 div a0,a0,a5
|
|
4c4: 02f70733 mul a4,a4,a5
|
|
4c8: 953a add a0,a0,a4
|
|
4ca: 8082 ret
|
|
4cc: 557d li a0,-1
|
|
4ce: 8082 ret
|
|
|
|
000004d0 <rti_start>:
|
|
4d0: 4501 li a0,0
|
|
4d2: 8082 ret
|
|
|
|
000004d4 <rti_end>:
|
|
4d4: 4501 li a0,0
|
|
4d6: 8082 ret
|
|
|
|
000004d8 <rti_board_start>:
|
|
4d8: 4501 li a0,0
|
|
4da: 8082 ret
|
|
|
|
000004dc <rti_board_end>:
|
|
4dc: 4501 li a0,0
|
|
4de: 8082 ret
|
|
|
|
000004e0 <rt_components_board_init>:
|
|
4e0: ec3ff2ef jal t0,3a2 <__riscv_save_0>
|
|
4e4: 641d lui s0,0x7
|
|
4e6: 649d lui s1,0x7
|
|
4e8: 94c40413 addi s0,s0,-1716 # 694c <__rt_init_rti_board_start>
|
|
4ec: 95848493 addi s1,s1,-1704 # 6958 <__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: 95840413 addi s0,s0,-1704 # 6958 <__rt_init_rti_board_end>
|
|
50a: 96048493 addi s1,s1,-1696 # 6960 <__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: 32c030ef jal ra,384e <main>
|
|
526: b545 j 3c6 <__riscv_restore_0>
|
|
|
|
00000528 <rt_application_init>:
|
|
528: e7bff2ef jal t0,3a2 <__riscv_save_0>
|
|
52c: 000005b7 lui a1,0x0
|
|
530: 00005537 lui a0,0x5
|
|
534: 47d1 li a5,20
|
|
536: 4715 li a4,5
|
|
538: 20000693 li a3,512
|
|
53c: 4601 li a2,0
|
|
53e: 51c58593 addi a1,a1,1308 # 51c <main_thread_entry>
|
|
542: 1fc50513 addi a0,a0,508 # 51fc <strncmp+0x78>
|
|
546: 26a010ef jal ra,17b0 <rt_thread_create>
|
|
54a: 3e2010ef jal ra,192c <rt_thread_startup>
|
|
54e: bda5 j 3c6 <__riscv_restore_0>
|
|
|
|
00000550 <rtthread_startup>:
|
|
550: e53ff2ef jal t0,3a2 <__riscv_save_0>
|
|
554: 62e010ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
558: 1ab020ef jal ra,2f02 <rt_hw_board_init>
|
|
55c: 2bb000ef jal ra,1016 <rt_show_version>
|
|
560: 5c2010ef jal ra,1b22 <rt_system_timer_init>
|
|
564: 785000ef jal ra,14e8 <rt_system_scheduler_init>
|
|
568: 37c1 jal 528 <rt_application_init>
|
|
56a: 5c2010ef jal ra,1b2c <rt_system_timer_thread_init>
|
|
56e: 2c01 jal 77e <rt_thread_idle_init>
|
|
570: 7a7000ef jal ra,1516 <rt_system_scheduler_start>
|
|
574: 4501 li a0,0
|
|
576: bd81 j 3c6 <__riscv_restore_0>
|
|
|
|
00000578 <entry>:
|
|
578: e2bff2ef jal t0,3a2 <__riscv_save_0>
|
|
57c: 3fd1 jal 550 <rtthread_startup>
|
|
57e: 4501 li a0,0
|
|
580: b599 j 3c6 <__riscv_restore_0>
|
|
|
|
00000582 <rt_device_find>:
|
|
582: e07ff2ef jal t0,388 <__riscv_save_4>
|
|
586: 89aa mv s3,a0
|
|
588: 222010ef jal ra,17aa <rt_thread_self>
|
|
58c: c119 beqz a0,592 <rt_device_find+0x10>
|
|
58e: 0a8010ef jal ra,1636 <rt_enter_critical>
|
|
592: 4525 li a0,9
|
|
594: 60f000ef jal ra,13a2 <rt_object_get_information>
|
|
598: 4144 lw s1,4(a0)
|
|
59a: 00450413 addi s0,a0,4
|
|
59e: 00849663 bne s1,s0,5aa <rt_device_find+0x28>
|
|
5a2: 208010ef jal ra,17aa <rt_thread_self>
|
|
5a6: 4901 li s2,0
|
|
5a8: a811 j 5bc <rt_device_find+0x3a>
|
|
5aa: ff448913 addi s2,s1,-12
|
|
5ae: 4621 li a2,8
|
|
5b0: 85ce mv a1,s3
|
|
5b2: 854a mv a0,s2
|
|
5b4: 2d1d jal bea <rt_strncmp>
|
|
5b6: e901 bnez a0,5c6 <rt_device_find+0x44>
|
|
5b8: 1f2010ef jal ra,17aa <rt_thread_self>
|
|
5bc: c119 beqz a0,5c2 <rt_device_find+0x40>
|
|
5be: 08e010ef jal ra,164c <rt_exit_critical>
|
|
5c2: 854a mv a0,s2
|
|
5c4: bbe5 j 3bc <__riscv_restore_4>
|
|
5c6: 4084 lw s1,0(s1)
|
|
5c8: bfd9 j 59e <rt_device_find+0x1c>
|
|
|
|
000005ca <rt_device_register>:
|
|
5ca: e509 bnez a0,5d4 <rt_device_register+0xa>
|
|
5cc: 557d li a0,-1
|
|
5ce: 8082 ret
|
|
5d0: 557d li a0,-1
|
|
5d2: bbd5 j 3c6 <__riscv_restore_0>
|
|
5d4: dcfff2ef jal t0,3a2 <__riscv_save_0>
|
|
5d8: 842a mv s0,a0
|
|
5da: 852e mv a0,a1
|
|
5dc: 8932 mv s2,a2
|
|
5de: 84ae mv s1,a1
|
|
5e0: 374d jal 582 <rt_device_find>
|
|
5e2: f57d bnez a0,5d0 <rt_device_register+0x6>
|
|
5e4: 8522 mv a0,s0
|
|
5e6: 8626 mv a2,s1
|
|
5e8: 45a5 li a1,9
|
|
5ea: 5e3000ef jal ra,13cc <rt_object_init>
|
|
5ee: 4501 li a0,0
|
|
5f0: 01241c23 sh s2,24(s0)
|
|
5f4: 00040e23 sb zero,28(s0)
|
|
5f8: 00041d23 sh zero,26(s0)
|
|
5fc: bfd9 j 5d2 <rt_device_register+0x8>
|
|
|
|
000005fe <rt_device_open>:
|
|
5fe: da5ff2ef jal t0,3a2 <__riscv_save_0>
|
|
602: 2d1e lhu a5,24(a0)
|
|
604: 1141 addi sp,sp,-16
|
|
606: 842a mv s0,a0
|
|
608: 8bc1 andi a5,a5,16
|
|
60a: e79d bnez a5,638 <rt_device_open+0x3a>
|
|
60c: 551c lw a5,40(a0)
|
|
60e: c38d beqz a5,630 <rt_device_open+0x32>
|
|
610: c62e sw a1,12(sp)
|
|
612: 9782 jalr a5
|
|
614: 84aa mv s1,a0
|
|
616: 45b2 lw a1,12(sp)
|
|
618: cd01 beqz a0,630 <rt_device_open+0x32>
|
|
61a: 862a mv a2,a0
|
|
61c: 00005537 lui a0,0x5
|
|
620: 85a2 mv a1,s0
|
|
622: 20450513 addi a0,a0,516 # 5204 <strncmp+0x80>
|
|
626: 189000ef jal ra,fae <rt_kprintf>
|
|
62a: 8526 mv a0,s1
|
|
62c: 0141 addi sp,sp,16
|
|
62e: bb61 j 3c6 <__riscv_restore_0>
|
|
630: 2c1e lhu a5,24(s0)
|
|
632: 0107e793 ori a5,a5,16
|
|
636: ac1e sh a5,24(s0)
|
|
638: 2c1e lhu a5,24(s0)
|
|
63a: 8ba1 andi a5,a5,8
|
|
63c: c789 beqz a5,646 <rt_device_open+0x48>
|
|
63e: 2c3e lhu a5,26(s0)
|
|
640: 54e5 li s1,-7
|
|
642: 8ba1 andi a5,a5,8
|
|
644: f3fd bnez a5,62a <rt_device_open+0x2c>
|
|
646: 545c lw a5,44(s0)
|
|
648: cf89 beqz a5,662 <rt_device_open+0x64>
|
|
64a: 8522 mv a0,s0
|
|
64c: 9782 jalr a5
|
|
64e: 84aa mv s1,a0
|
|
650: e105 bnez a0,670 <rt_device_open+0x72>
|
|
652: 2c3e lhu a5,26(s0)
|
|
654: 0087e793 ori a5,a5,8
|
|
658: ac3e sh a5,26(s0)
|
|
65a: 2c5c lbu a5,28(s0)
|
|
65c: 0785 addi a5,a5,1
|
|
65e: ac5c sb a5,28(s0)
|
|
660: b7e9 j 62a <rt_device_open+0x2c>
|
|
662: 6785 lui a5,0x1
|
|
664: f0f78793 addi a5,a5,-241 # f0f <rt_vsnprintf+0x2e9>
|
|
668: 8dfd and a1,a1,a5
|
|
66a: ac2e sh a1,26(s0)
|
|
66c: 4481 li s1,0
|
|
66e: b7d5 j 652 <rt_device_open+0x54>
|
|
670: 57e9 li a5,-6
|
|
672: faf51ce3 bne a0,a5,62a <rt_device_open+0x2c>
|
|
676: bff1 j 652 <rt_device_open+0x54>
|
|
|
|
00000678 <rt_device_close>:
|
|
678: 2d5c lbu a5,28(a0)
|
|
67a: cb85 beqz a5,6aa <rt_device_close+0x32>
|
|
67c: d27ff2ef jal t0,3a2 <__riscv_save_0>
|
|
680: 17fd addi a5,a5,-1
|
|
682: 0ff7f793 andi a5,a5,255
|
|
686: ad5c sb a5,28(a0)
|
|
688: 842a mv s0,a0
|
|
68a: 4701 li a4,0
|
|
68c: ef89 bnez a5,6a6 <rt_device_close+0x2e>
|
|
68e: 591c lw a5,48(a0)
|
|
690: e789 bnez a5,69a <rt_device_close+0x22>
|
|
692: 4701 li a4,0
|
|
694: 00041d23 sh zero,26(s0)
|
|
698: a039 j 6a6 <rt_device_close+0x2e>
|
|
69a: 9782 jalr a5
|
|
69c: 872a mv a4,a0
|
|
69e: d975 beqz a0,692 <rt_device_close+0x1a>
|
|
6a0: 57e9 li a5,-6
|
|
6a2: fef509e3 beq a0,a5,694 <rt_device_close+0x1c>
|
|
6a6: 853a mv a0,a4
|
|
6a8: bb39 j 3c6 <__riscv_restore_0>
|
|
6aa: 577d li a4,-1
|
|
6ac: 853a mv a0,a4
|
|
6ae: 8082 ret
|
|
|
|
000006b0 <rt_device_read>:
|
|
6b0: cf3ff2ef jal t0,3a2 <__riscv_save_0>
|
|
6b4: 2d58 lbu a4,28(a0)
|
|
6b6: e709 bnez a4,6c0 <rt_device_read+0x10>
|
|
6b8: 557d li a0,-1
|
|
6ba: 2921 jal ad2 <rt_set_errno>
|
|
6bc: 4501 li a0,0
|
|
6be: a021 j 6c6 <rt_device_read+0x16>
|
|
6c0: 595c lw a5,52(a0)
|
|
6c2: c399 beqz a5,6c8 <rt_device_read+0x18>
|
|
6c4: 9782 jalr a5
|
|
6c6: b301 j 3c6 <__riscv_restore_0>
|
|
6c8: 5569 li a0,-6
|
|
6ca: bfc5 j 6ba <rt_device_read+0xa>
|
|
|
|
000006cc <rt_device_write>:
|
|
6cc: cd7ff2ef jal t0,3a2 <__riscv_save_0>
|
|
6d0: 2d58 lbu a4,28(a0)
|
|
6d2: e709 bnez a4,6dc <rt_device_write+0x10>
|
|
6d4: 557d li a0,-1
|
|
6d6: 2ef5 jal ad2 <rt_set_errno>
|
|
6d8: 4501 li a0,0
|
|
6da: a021 j 6e2 <rt_device_write+0x16>
|
|
6dc: 5d1c lw a5,56(a0)
|
|
6de: c399 beqz a5,6e4 <rt_device_write+0x18>
|
|
6e0: 9782 jalr a5
|
|
6e2: b1d5 j 3c6 <__riscv_restore_0>
|
|
6e4: 5569 li a0,-6
|
|
6e6: bfc5 j 6d6 <rt_device_write+0xa>
|
|
|
|
000006e8 <rt_device_set_rx_indicate>:
|
|
6e8: d10c sw a1,32(a0)
|
|
6ea: 4501 li a0,0
|
|
6ec: 8082 ret
|
|
|
|
000006ee <rt_thread_idle_excute>:
|
|
6ee: c9bff2ef jal t0,388 <__riscv_save_4>
|
|
6f2: 86418993 addi s3,gp,-1948 # 2000030c <rt_thread_defunct>
|
|
6f6: 4a85 li s5,1
|
|
6f8: 8641a783 lw a5,-1948(gp) # 2000030c <rt_thread_defunct>
|
|
6fc: 05378663 beq a5,s3,748 <rt_thread_idle_excute+0x5a>
|
|
700: 482010ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
704: 8641a783 lw a5,-1948(gp) # 2000030c <rt_thread_defunct>
|
|
708: 8a2a mv s4,a0
|
|
70a: 03378d63 beq a5,s3,744 <rt_thread_idle_excute+0x56>
|
|
70e: 8641a403 lw s0,-1948(gp) # 2000030c <rt_thread_defunct>
|
|
712: 405c lw a5,4(s0)
|
|
714: 4018 lw a4,0(s0)
|
|
716: fec40913 addi s2,s0,-20
|
|
71a: c35c sw a5,4(a4)
|
|
71c: c398 sw a4,0(a5)
|
|
71e: c040 sw s0,4(s0)
|
|
720: c000 sw s0,0(s0)
|
|
722: 715000ef jal ra,1636 <rt_enter_critical>
|
|
726: 507c lw a5,100(s0)
|
|
728: c399 beqz a5,72e <rt_thread_idle_excute+0x40>
|
|
72a: 854a mv a0,s2
|
|
72c: 9782 jalr a5
|
|
72e: 854a mv a0,s2
|
|
730: 5b1000ef jal ra,14e0 <rt_object_is_systemobject>
|
|
734: 01551b63 bne a0,s5,74a <rt_thread_idle_excute+0x5c>
|
|
738: 854a mv a0,s2
|
|
73a: 4f1000ef jal ra,142a <rt_object_detach>
|
|
73e: 70f000ef jal ra,164c <rt_exit_critical>
|
|
742: 8552 mv a0,s4
|
|
744: 44a010ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
748: b995 j 3bc <__riscv_restore_4>
|
|
74a: 703000ef jal ra,164c <rt_exit_critical>
|
|
74e: 8552 mv a0,s4
|
|
750: 43e010ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
754: 4848 lw a0,20(s0)
|
|
756: 3a3000ef jal ra,12f8 <rt_free>
|
|
75a: 854a mv a0,s2
|
|
75c: 553000ef jal ra,14ae <rt_object_delete>
|
|
760: bf61 j 6f8 <rt_thread_idle_excute+0xa>
|
|
|
|
00000762 <rt_thread_idle_entry>:
|
|
762: c41ff2ef jal t0,3a2 <__riscv_save_0>
|
|
766: 96c18413 addi s0,gp,-1684 # 20000414 <idle_hook_list>
|
|
76a: 01040913 addi s2,s0,16
|
|
76e: 401c lw a5,0(s0)
|
|
770: c391 beqz a5,774 <rt_thread_idle_entry+0x12>
|
|
772: 9782 jalr a5
|
|
774: 0411 addi s0,s0,4
|
|
776: ff241ce3 bne s0,s2,76e <rt_thread_idle_entry+0xc>
|
|
77a: 3f95 jal 6ee <rt_thread_idle_excute>
|
|
77c: b7ed j 766 <rt_thread_idle_entry+0x4>
|
|
|
|
0000077e <rt_thread_idle_init>:
|
|
77e: c25ff2ef jal t0,3a2 <__riscv_save_0>
|
|
782: 00000637 lui a2,0x0
|
|
786: 000055b7 lui a1,0x5
|
|
78a: 02000893 li a7,32
|
|
78e: 483d li a6,15
|
|
790: 20000793 li a5,512
|
|
794: 97c18713 addi a4,gp,-1668 # 20000424 <rt_thread_stack>
|
|
798: 4681 li a3,0
|
|
79a: 76260613 addi a2,a2,1890 # 762 <rt_thread_idle_entry>
|
|
79e: 23c58593 addi a1,a1,572 # 523c <strncmp+0xb8>
|
|
7a2: 8ec18513 addi a0,gp,-1812 # 20000394 <idle>
|
|
7a6: 7d3000ef jal ra,1778 <rt_thread_init>
|
|
7aa: 8ec18513 addi a0,gp,-1812 # 20000394 <idle>
|
|
7ae: 17e010ef jal ra,192c <rt_thread_startup>
|
|
7b2: b911 j 3c6 <__riscv_restore_0>
|
|
|
|
000007b4 <rt_ipc_list_suspend>:
|
|
7b4: befff2ef jal t0,3a2 <__riscv_save_0>
|
|
7b8: 1141 addi sp,sp,-16
|
|
7ba: 842a mv s0,a0
|
|
7bc: 852e mv a0,a1
|
|
7be: c632 sw a2,12(sp)
|
|
7c0: c42e sw a1,8(sp)
|
|
7c2: 086010ef jal ra,1848 <rt_thread_suspend>
|
|
7c6: 4632 lw a2,12(sp)
|
|
7c8: 45a2 lw a1,8(sp)
|
|
7ca: c619 beqz a2,7d8 <rt_ipc_list_suspend+0x24>
|
|
7cc: 4785 li a5,1
|
|
7ce: 00f60d63 beq a2,a5,7e8 <rt_ipc_list_suspend+0x34>
|
|
7d2: 4501 li a0,0
|
|
7d4: 0141 addi sp,sp,16
|
|
7d6: bec5 j 3c6 <__riscv_restore_0>
|
|
7d8: 4058 lw a4,4(s0)
|
|
7da: 01458793 addi a5,a1,20
|
|
7de: c31c sw a5,0(a4)
|
|
7e0: cd98 sw a4,24(a1)
|
|
7e2: c05c sw a5,4(s0)
|
|
7e4: c9c0 sw s0,20(a1)
|
|
7e6: b7f5 j 7d2 <rt_ipc_list_suspend+0x1e>
|
|
7e8: 401c lw a5,0(s0)
|
|
7ea: 00878863 beq a5,s0,7fa <rt_ipc_list_suspend+0x46>
|
|
7ee: 0355c683 lbu a3,53(a1)
|
|
7f2: 0217c703 lbu a4,33(a5)
|
|
7f6: 00e6fa63 bgeu a3,a4,80a <rt_ipc_list_suspend+0x56>
|
|
7fa: 43d4 lw a3,4(a5)
|
|
7fc: 01458713 addi a4,a1,20
|
|
800: c298 sw a4,0(a3)
|
|
802: cd94 sw a3,24(a1)
|
|
804: c3d8 sw a4,4(a5)
|
|
806: c9dc sw a5,20(a1)
|
|
808: b7e9 j 7d2 <rt_ipc_list_suspend+0x1e>
|
|
80a: 439c lw a5,0(a5)
|
|
80c: bff9 j 7ea <rt_ipc_list_suspend+0x36>
|
|
|
|
0000080e <rt_sem_init>:
|
|
80e: b95ff2ef jal t0,3a2 <__riscv_save_0>
|
|
812: 1141 addi sp,sp,-16
|
|
814: 84b2 mv s1,a2
|
|
816: 862e mv a2,a1
|
|
818: 4589 li a1,2
|
|
81a: 842a mv s0,a0
|
|
81c: c636 sw a3,12(sp)
|
|
81e: 3af000ef jal ra,13cc <rt_object_init>
|
|
822: 46b2 lw a3,12(sp)
|
|
824: 01440793 addi a5,s0,20
|
|
828: cc1c sw a5,24(s0)
|
|
82a: c85c sw a5,20(s0)
|
|
82c: ac46 sh s1,28(s0)
|
|
82e: b414 sb a3,9(s0)
|
|
830: 4501 li a0,0
|
|
832: 0141 addi sp,sp,16
|
|
834: be49 j 3c6 <__riscv_restore_0>
|
|
|
|
00000836 <rt_sem_take>:
|
|
836: b53ff2ef jal t0,388 <__riscv_save_4>
|
|
83a: 8501a783 lw a5,-1968(gp) # 200002f8 <rt_object_trytake_hook>
|
|
83e: 1141 addi sp,sp,-16
|
|
840: c62e sw a1,12(sp)
|
|
842: 842a mv s0,a0
|
|
844: c391 beqz a5,848 <rt_sem_take+0x12>
|
|
846: 9782 jalr a5
|
|
848: 33a010ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
84c: 2c5e lhu a5,28(s0)
|
|
84e: 89aa mv s3,a0
|
|
850: cf89 beqz a5,86a <rt_sem_take+0x34>
|
|
852: 17fd addi a5,a5,-1
|
|
854: ac5e sh a5,28(s0)
|
|
856: 338010ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
85a: 84c1a783 lw a5,-1972(gp) # 200002f4 <rt_object_take_hook>
|
|
85e: 4501 li a0,0
|
|
860: cb91 beqz a5,874 <rt_sem_take+0x3e>
|
|
862: 8522 mv a0,s0
|
|
864: 9782 jalr a5
|
|
866: 4501 li a0,0
|
|
868: a031 j 874 <rt_sem_take+0x3e>
|
|
86a: 47b2 lw a5,12(sp)
|
|
86c: e791 bnez a5,878 <rt_sem_take+0x42>
|
|
86e: 320010ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
872: 5579 li a0,-2
|
|
874: 0141 addi sp,sp,16
|
|
876: b699 j 3bc <__riscv_restore_4>
|
|
878: 733000ef jal ra,17aa <rt_thread_self>
|
|
87c: 02052823 sw zero,48(a0)
|
|
880: 3410 lbu a2,9(s0)
|
|
882: 85aa mv a1,a0
|
|
884: 84aa mv s1,a0
|
|
886: 01440513 addi a0,s0,20
|
|
88a: 372d jal 7b4 <rt_ipc_list_suspend>
|
|
88c: 47b2 lw a5,12(sp)
|
|
88e: 00f05c63 blez a5,8a6 <rt_sem_take+0x70>
|
|
892: 04c48913 addi s2,s1,76
|
|
896: 0070 addi a2,sp,12
|
|
898: 4581 li a1,0
|
|
89a: 854a mv a0,s2
|
|
89c: 1d6010ef jal ra,1a72 <rt_timer_control>
|
|
8a0: 854a mv a0,s2
|
|
8a2: 120010ef jal ra,19c2 <rt_timer_start>
|
|
8a6: 854e mv a0,s3
|
|
8a8: 2e6010ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
8ac: 497000ef jal ra,1542 <rt_schedule>
|
|
8b0: 5888 lw a0,48(s1)
|
|
8b2: d545 beqz a0,85a <rt_sem_take+0x24>
|
|
8b4: b7c1 j 874 <rt_sem_take+0x3e>
|
|
|
|
000008b6 <rt_sem_release>:
|
|
8b6: aedff2ef jal t0,3a2 <__riscv_save_0>
|
|
8ba: 8481a783 lw a5,-1976(gp) # 200002f0 <rt_object_put_hook>
|
|
8be: 842a mv s0,a0
|
|
8c0: c391 beqz a5,8c4 <rt_sem_release+0xe>
|
|
8c2: 9782 jalr a5
|
|
8c4: 2be010ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
8c8: 84aa mv s1,a0
|
|
8ca: 4848 lw a0,20(s0)
|
|
8cc: 01440793 addi a5,s0,20
|
|
8d0: 00f50e63 beq a0,a5,8ec <rt_sem_release+0x36>
|
|
8d4: 1531 addi a0,a0,-20
|
|
8d6: 00a010ef jal ra,18e0 <rt_thread_resume>
|
|
8da: 4405 li s0,1
|
|
8dc: 8526 mv a0,s1
|
|
8de: 2b0010ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
8e2: c019 beqz s0,8e8 <rt_sem_release+0x32>
|
|
8e4: 45f000ef jal ra,1542 <rt_schedule>
|
|
8e8: 4501 li a0,0
|
|
8ea: bcf1 j 3c6 <__riscv_restore_0>
|
|
8ec: 2c5e lhu a5,28(s0)
|
|
8ee: 0785 addi a5,a5,1
|
|
8f0: ac5e sh a5,28(s0)
|
|
8f2: 4401 li s0,0
|
|
8f4: b7e5 j 8dc <rt_sem_release+0x26>
|
|
|
|
000008f6 <rt_interrupt_enter>:
|
|
8f6: aadff2ef jal t0,3a2 <__riscv_save_0>
|
|
8fa: 1141 addi sp,sp,-16
|
|
8fc: 286010ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
900: 81418713 addi a4,gp,-2028 # 200002bc <rt_interrupt_nest>
|
|
904: 231c lbu a5,0(a4)
|
|
906: 0785 addi a5,a5,1
|
|
908: 0ff7f793 andi a5,a5,255
|
|
90c: a31c sb a5,0(a4)
|
|
90e: 80c1a783 lw a5,-2036(gp) # 200002b4 <rt_interrupt_enter_hook>
|
|
912: c781 beqz a5,91a <rt_interrupt_enter+0x24>
|
|
914: c62a sw a0,12(sp)
|
|
916: 9782 jalr a5
|
|
918: 4532 lw a0,12(sp)
|
|
91a: 274010ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
91e: 0141 addi sp,sp,16
|
|
920: b45d j 3c6 <__riscv_restore_0>
|
|
|
|
00000922 <rt_interrupt_leave>:
|
|
922: a81ff2ef jal t0,3a2 <__riscv_save_0>
|
|
926: 1141 addi sp,sp,-16
|
|
928: 25a010ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
92c: 81418713 addi a4,gp,-2028 # 200002bc <rt_interrupt_nest>
|
|
930: 231c lbu a5,0(a4)
|
|
932: 17fd addi a5,a5,-1
|
|
934: 0ff7f793 andi a5,a5,255
|
|
938: a31c sb a5,0(a4)
|
|
93a: 8101a783 lw a5,-2032(gp) # 200002b8 <rt_interrupt_leave_hook>
|
|
93e: c781 beqz a5,946 <rt_interrupt_leave+0x24>
|
|
940: c62a sw a0,12(sp)
|
|
942: 9782 jalr a5
|
|
944: 4532 lw a0,12(sp)
|
|
946: 248010ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
94a: 0141 addi sp,sp,16
|
|
94c: bcad j 3c6 <__riscv_restore_0>
|
|
|
|
0000094e <rt_interrupt_get_nest>:
|
|
94e: 8141c503 lbu a0,-2028(gp) # 200002bc <rt_interrupt_nest>
|
|
952: 8082 ret
|
|
|
|
00000954 <print_number>:
|
|
954: 04087893 andi a7,a6,64
|
|
958: 1141 addi sp,sp,-16
|
|
95a: 00089e63 bnez a7,976 <print_number+0x22>
|
|
95e: 6895 lui a7,0x5
|
|
960: 3e888893 addi a7,a7,1000 # 53e8 <small_digits.2582>
|
|
964: 01087393 andi t2,a6,16
|
|
968: 00038b63 beqz t2,97e <print_number+0x2a>
|
|
96c: ffe87813 andi a6,a6,-2
|
|
970: 02000e93 li t4,32
|
|
974: a819 j 98a <print_number+0x36>
|
|
976: 6895 lui a7,0x5
|
|
978: 34488893 addi a7,a7,836 # 5344 <large_digits.2583>
|
|
97c: b7e5 j 964 <print_number+0x10>
|
|
97e: 00187313 andi t1,a6,1
|
|
982: 03000e93 li t4,48
|
|
986: fe0305e3 beqz t1,970 <print_number+0x1c>
|
|
98a: 00287313 andi t1,a6,2
|
|
98e: 06030e63 beqz t1,a0a <print_number+0xb6>
|
|
992: 02065863 bgez a2,9c2 <print_number+0x6e>
|
|
996: 40c00633 neg a2,a2
|
|
99a: 02d00293 li t0,45
|
|
99e: 8e0a mv t3,sp
|
|
9a0: 4f81 li t6,0
|
|
9a2: 4f29 li t5,10
|
|
9a4: 07e69563 bne a3,t5,a0e <print_number+0xba>
|
|
9a8: 02d67333 remu t1,a2,a3
|
|
9ac: 02d65633 divu a2,a2,a3
|
|
9b0: 9346 add t1,t1,a7
|
|
9b2: 00034303 lbu t1,0(t1)
|
|
9b6: 0f85 addi t6,t6,1
|
|
9b8: 0e05 addi t3,t3,1
|
|
9ba: fe6e0fa3 sb t1,-1(t3)
|
|
9be: f27d bnez a2,9a4 <print_number+0x50>
|
|
9c0: a00d j 9e2 <print_number+0x8e>
|
|
9c2: 00487313 andi t1,a6,4
|
|
9c6: 02b00293 li t0,43
|
|
9ca: 00031763 bnez t1,9d8 <print_number+0x84>
|
|
9ce: 00887293 andi t0,a6,8
|
|
9d2: 005032b3 snez t0,t0
|
|
9d6: 0296 slli t0,t0,0x5
|
|
9d8: f279 bnez a2,99e <print_number+0x4a>
|
|
9da: 03000693 li a3,48
|
|
9de: 8054 sb a3,0(sp)
|
|
9e0: 4f85 li t6,1
|
|
9e2: 86fe mv a3,t6
|
|
9e4: 00ffd363 bge t6,a5,9ea <print_number+0x96>
|
|
9e8: 86be mv a3,a5
|
|
9ea: 01187813 andi a6,a6,17
|
|
9ee: 8f15 sub a4,a4,a3
|
|
9f0: 04081363 bnez a6,a36 <print_number+0xe2>
|
|
9f4: 00028563 beqz t0,9fe <print_number+0xaa>
|
|
9f8: 00e05363 blez a4,9fe <print_number+0xaa>
|
|
9fc: 177d addi a4,a4,-1
|
|
9fe: 862a mv a2,a0
|
|
a00: 00e508b3 add a7,a0,a4
|
|
a04: 02000313 li t1,32
|
|
a08: a821 j a20 <print_number+0xcc>
|
|
a0a: 4281 li t0,0
|
|
a0c: b7f1 j 9d8 <print_number+0x84>
|
|
a0e: 00f67313 andi t1,a2,15
|
|
a12: 8211 srli a2,a2,0x4
|
|
a14: bf71 j 9b0 <print_number+0x5c>
|
|
a16: 00b67463 bgeu a2,a1,a1e <print_number+0xca>
|
|
a1a: 00660023 sb t1,0(a2)
|
|
a1e: 0605 addi a2,a2,1
|
|
a20: 40c88833 sub a6,a7,a2
|
|
a24: ff0049e3 bgtz a6,a16 <print_number+0xc2>
|
|
a28: 863a mv a2,a4
|
|
a2a: 00075363 bgez a4,a30 <print_number+0xdc>
|
|
a2e: 4601 li a2,0
|
|
a30: 177d addi a4,a4,-1
|
|
a32: 9532 add a0,a0,a2
|
|
a34: 8f11 sub a4,a4,a2
|
|
a36: 00028863 beqz t0,a46 <print_number+0xf2>
|
|
a3a: 00b57463 bgeu a0,a1,a42 <print_number+0xee>
|
|
a3e: 00550023 sb t0,0(a0)
|
|
a42: 177d addi a4,a4,-1
|
|
a44: 0505 addi a0,a0,1
|
|
a46: 02038763 beqz t2,a74 <print_number+0x120>
|
|
a4a: 96aa add a3,a3,a0
|
|
a4c: 03000813 li a6,48
|
|
a50: a81d j a86 <print_number+0x132>
|
|
a52: 00b67463 bgeu a2,a1,a5a <print_number+0x106>
|
|
a56: 01d60023 sb t4,0(a2)
|
|
a5a: 0605 addi a2,a2,1
|
|
a5c: 40c88833 sub a6,a7,a2
|
|
a60: ff0049e3 bgtz a6,a52 <print_number+0xfe>
|
|
a64: 863a mv a2,a4
|
|
a66: 00075363 bgez a4,a6c <print_number+0x118>
|
|
a6a: 4601 li a2,0
|
|
a6c: 177d addi a4,a4,-1
|
|
a6e: 9532 add a0,a0,a2
|
|
a70: 8f11 sub a4,a4,a2
|
|
a72: bfe1 j a4a <print_number+0xf6>
|
|
a74: 862a mv a2,a0
|
|
a76: 00e508b3 add a7,a0,a4
|
|
a7a: b7cd j a5c <print_number+0x108>
|
|
a7c: 00b57463 bgeu a0,a1,a84 <print_number+0x130>
|
|
a80: 01050023 sb a6,0(a0)
|
|
a84: 0505 addi a0,a0,1
|
|
a86: 40a68633 sub a2,a3,a0
|
|
a8a: fecfc9e3 blt t6,a2,a7c <print_number+0x128>
|
|
a8e: 56fd li a3,-1
|
|
a90: 1ffd addi t6,t6,-1
|
|
a92: 00df8363 beq t6,a3,a98 <print_number+0x144>
|
|
a96: e799 bnez a5,aa4 <print_number+0x150>
|
|
a98: 87aa mv a5,a0
|
|
a9a: 00e50633 add a2,a0,a4
|
|
a9e: 02000813 li a6,32
|
|
aa2: a831 j abe <print_number+0x16a>
|
|
aa4: 00b57663 bgeu a0,a1,ab0 <print_number+0x15c>
|
|
aa8: 01f10633 add a2,sp,t6
|
|
aac: 2210 lbu a2,0(a2)
|
|
aae: a110 sb a2,0(a0)
|
|
ab0: 0505 addi a0,a0,1
|
|
ab2: bff9 j a90 <print_number+0x13c>
|
|
ab4: 00b7f463 bgeu a5,a1,abc <print_number+0x168>
|
|
ab8: 01078023 sb a6,0(a5)
|
|
abc: 0785 addi a5,a5,1
|
|
abe: 40f606b3 sub a3,a2,a5
|
|
ac2: fed049e3 bgtz a3,ab4 <print_number+0x160>
|
|
ac6: 00075363 bgez a4,acc <print_number+0x178>
|
|
aca: 4701 li a4,0
|
|
acc: 953a add a0,a0,a4
|
|
ace: 0141 addi sp,sp,16
|
|
ad0: 8082 ret
|
|
|
|
00000ad2 <rt_set_errno>:
|
|
ad2: 8d1ff2ef jal t0,3a2 <__riscv_save_0>
|
|
ad6: 842a mv s0,a0
|
|
ad8: 3d9d jal 94e <rt_interrupt_get_nest>
|
|
ada: c509 beqz a0,ae4 <rt_set_errno+0x12>
|
|
adc: 8081ac23 sw s0,-2024(gp) # 200002c0 <__rt_errno>
|
|
ae0: 8e7ff06f j 3c6 <__riscv_restore_0>
|
|
ae4: 4c7000ef jal ra,17aa <rt_thread_self>
|
|
ae8: d975 beqz a0,adc <rt_set_errno+0xa>
|
|
aea: d900 sw s0,48(a0)
|
|
aec: bfd5 j ae0 <rt_set_errno+0xe>
|
|
|
|
00000aee <rt_memset>:
|
|
aee: 470d li a4,3
|
|
af0: 87aa mv a5,a0
|
|
af2: 00c77663 bgeu a4,a2,afe <rt_memset+0x10>
|
|
af6: 00357793 andi a5,a0,3
|
|
afa: c791 beqz a5,b06 <rt_memset+0x18>
|
|
afc: 87aa mv a5,a0
|
|
afe: 963e add a2,a2,a5
|
|
b00: 06c79763 bne a5,a2,b6e <rt_memset+0x80>
|
|
b04: 8082 ret
|
|
b06: 0ff5f793 andi a5,a1,255
|
|
b0a: 00879713 slli a4,a5,0x8
|
|
b0e: 8fd9 or a5,a5,a4
|
|
b10: 01079713 slli a4,a5,0x10
|
|
b14: 8f5d or a4,a4,a5
|
|
b16: 00c508b3 add a7,a0,a2
|
|
b1a: 87aa mv a5,a0
|
|
b1c: 46bd li a3,15
|
|
b1e: 40f88833 sub a6,a7,a5
|
|
b22: 0306eb63 bltu a3,a6,b58 <rt_memset+0x6a>
|
|
b26: 00465793 srli a5,a2,0x4
|
|
b2a: 56c1 li a3,-16
|
|
b2c: 02d786b3 mul a3,a5,a3
|
|
b30: 0792 slli a5,a5,0x4
|
|
b32: 97aa add a5,a5,a0
|
|
b34: 480d li a6,3
|
|
b36: 9636 add a2,a2,a3
|
|
b38: 00c78333 add t1,a5,a2
|
|
b3c: 86be mv a3,a5
|
|
b3e: 40d308b3 sub a7,t1,a3
|
|
b42: 03186263 bltu a6,a7,b66 <rt_memset+0x78>
|
|
b46: 00265713 srli a4,a2,0x2
|
|
b4a: 56f1 li a3,-4
|
|
b4c: 02d706b3 mul a3,a4,a3
|
|
b50: 070a slli a4,a4,0x2
|
|
b52: 97ba add a5,a5,a4
|
|
b54: 9636 add a2,a2,a3
|
|
b56: b765 j afe <rt_memset+0x10>
|
|
b58: c398 sw a4,0(a5)
|
|
b5a: c3d8 sw a4,4(a5)
|
|
b5c: c798 sw a4,8(a5)
|
|
b5e: 07c1 addi a5,a5,16
|
|
b60: fee7ae23 sw a4,-4(a5)
|
|
b64: bf6d j b1e <rt_memset+0x30>
|
|
b66: 0691 addi a3,a3,4
|
|
b68: fee6ae23 sw a4,-4(a3)
|
|
b6c: bfc9 j b3e <rt_memset+0x50>
|
|
b6e: 0785 addi a5,a5,1
|
|
b70: feb78fa3 sb a1,-1(a5)
|
|
b74: b771 j b00 <rt_memset+0x12>
|
|
|
|
00000b76 <rt_memmove>:
|
|
b76: 04a5f263 bgeu a1,a0,bba <rt_memmove+0x44>
|
|
b7a: 00c586b3 add a3,a1,a2
|
|
b7e: 02d57e63 bgeu a0,a3,bba <rt_memmove+0x44>
|
|
b82: fff64593 not a1,a2
|
|
b86: 4781 li a5,0
|
|
b88: 17fd addi a5,a5,-1
|
|
b8a: 00f59363 bne a1,a5,b90 <rt_memmove+0x1a>
|
|
b8e: 8082 ret
|
|
b90: 00f68733 add a4,a3,a5
|
|
b94: 00070803 lb a6,0(a4)
|
|
b98: 00c78733 add a4,a5,a2
|
|
b9c: 972a add a4,a4,a0
|
|
b9e: 01070023 sb a6,0(a4)
|
|
ba2: b7dd j b88 <rt_memmove+0x12>
|
|
ba4: 00f58733 add a4,a1,a5
|
|
ba8: 00070683 lb a3,0(a4)
|
|
bac: 00f50733 add a4,a0,a5
|
|
bb0: 0785 addi a5,a5,1
|
|
bb2: a314 sb a3,0(a4)
|
|
bb4: fef618e3 bne a2,a5,ba4 <rt_memmove+0x2e>
|
|
bb8: 8082 ret
|
|
bba: 4781 li a5,0
|
|
bbc: bfe5 j bb4 <rt_memmove+0x3e>
|
|
|
|
00000bbe <rt_strncpy>:
|
|
bbe: c60d beqz a2,be8 <rt_strncpy+0x2a>
|
|
bc0: 87aa mv a5,a0
|
|
bc2: 0585 addi a1,a1,1
|
|
bc4: fff58703 lb a4,-1(a1)
|
|
bc8: 0785 addi a5,a5,1
|
|
bca: fff60693 addi a3,a2,-1
|
|
bce: fee78fa3 sb a4,-1(a5)
|
|
bd2: eb09 bnez a4,be4 <rt_strncpy+0x26>
|
|
bd4: 963e add a2,a2,a5
|
|
bd6: 0785 addi a5,a5,1
|
|
bd8: 00c79363 bne a5,a2,bde <rt_strncpy+0x20>
|
|
bdc: 8082 ret
|
|
bde: fe078fa3 sb zero,-1(a5)
|
|
be2: bfd5 j bd6 <rt_strncpy+0x18>
|
|
be4: 8636 mv a2,a3
|
|
be6: fef1 bnez a3,bc2 <rt_strncpy+0x4>
|
|
be8: 8082 ret
|
|
|
|
00000bea <rt_strncmp>:
|
|
bea: 4701 li a4,0
|
|
bec: 00e61463 bne a2,a4,bf4 <rt_strncmp+0xa>
|
|
bf0: 4781 li a5,0
|
|
bf2: a839 j c10 <rt_strncmp+0x26>
|
|
bf4: 00e507b3 add a5,a0,a4
|
|
bf8: 00078683 lb a3,0(a5)
|
|
bfc: 00e587b3 add a5,a1,a4
|
|
c00: 239c lbu a5,0(a5)
|
|
c02: 40f687b3 sub a5,a3,a5
|
|
c06: 07e2 slli a5,a5,0x18
|
|
c08: 87e1 srai a5,a5,0x18
|
|
c0a: e399 bnez a5,c10 <rt_strncmp+0x26>
|
|
c0c: 0705 addi a4,a4,1
|
|
c0e: fef9 bnez a3,bec <rt_strncmp+0x2>
|
|
c10: 853e mv a0,a5
|
|
c12: 8082 ret
|
|
|
|
00000c14 <rt_strlen>:
|
|
c14: 87aa mv a5,a0
|
|
c16: 00078703 lb a4,0(a5)
|
|
c1a: e701 bnez a4,c22 <rt_strlen+0xe>
|
|
c1c: 40a78533 sub a0,a5,a0
|
|
c20: 8082 ret
|
|
c22: 0785 addi a5,a5,1
|
|
c24: bfcd j c16 <rt_strlen+0x2>
|
|
|
|
00000c26 <rt_vsnprintf>:
|
|
c26: f54ff2ef jal t0,37a <__riscv_save_10>
|
|
c2a: 892e mv s2,a1
|
|
c2c: 01250bb3 add s7,a0,s2
|
|
c30: 1141 addi sp,sp,-16
|
|
c32: 8c2a mv s8,a0
|
|
c34: 85b6 mv a1,a3
|
|
c36: 00abf563 bgeu s7,a0,c40 <rt_vsnprintf+0x1a>
|
|
c3a: fff54913 not s2,a0
|
|
c3e: 5bfd li s7,-1
|
|
c40: 69c1 lui s3,0x10
|
|
c42: 00005a37 lui s4,0x5
|
|
c46: 8462 mv s0,s8
|
|
c48: 02b00a93 li s5,43
|
|
c4c: 02000b13 li s6,32
|
|
c50: 19fd addi s3,s3,-1
|
|
c52: 3e0a0a13 addi s4,s4,992 # 53e0 <large_digits.2583+0x9c>
|
|
c56: a831 j c72 <rt_vsnprintf+0x4c>
|
|
c58: 02500713 li a4,37
|
|
c5c: 02e78963 beq a5,a4,c8e <rt_vsnprintf+0x68>
|
|
c60: 01747363 bgeu s0,s7,c66 <rt_vsnprintf+0x40>
|
|
c64: a01c sb a5,0(s0)
|
|
c66: 00140513 addi a0,s0,1
|
|
c6a: 84b2 mv s1,a2
|
|
c6c: 00148613 addi a2,s1,1
|
|
c70: 842a mv s0,a0
|
|
c72: 00060783 lb a5,0(a2)
|
|
c76: f3ed bnez a5,c58 <rt_vsnprintf+0x32>
|
|
c78: 00090663 beqz s2,c84 <rt_vsnprintf+0x5e>
|
|
c7c: 2f747b63 bgeu s0,s7,f72 <rt_vsnprintf+0x34c>
|
|
c80: 00040023 sb zero,0(s0)
|
|
c84: 41840533 sub a0,s0,s8
|
|
c88: 0141 addi sp,sp,16
|
|
c8a: f28ff06f j 3b2 <__riscv_restore_10>
|
|
c8e: 4801 li a6,0
|
|
c90: 02d00713 li a4,45
|
|
c94: 02300693 li a3,35
|
|
c98: 03000513 li a0,48
|
|
c9c: a031 j ca8 <rt_vsnprintf+0x82>
|
|
c9e: 01579e63 bne a5,s5,cba <rt_vsnprintf+0x94>
|
|
ca2: 00486813 ori a6,a6,4
|
|
ca6: 8626 mv a2,s1
|
|
ca8: 00160783 lb a5,1(a2)
|
|
cac: 00160493 addi s1,a2,1
|
|
cb0: fee797e3 bne a5,a4,c9e <rt_vsnprintf+0x78>
|
|
cb4: 01086813 ori a6,a6,16
|
|
cb8: b7fd j ca6 <rt_vsnprintf+0x80>
|
|
cba: 01679563 bne a5,s6,cc4 <rt_vsnprintf+0x9e>
|
|
cbe: 00886813 ori a6,a6,8
|
|
cc2: b7d5 j ca6 <rt_vsnprintf+0x80>
|
|
cc4: 00d79563 bne a5,a3,cce <rt_vsnprintf+0xa8>
|
|
cc8: 02086813 ori a6,a6,32
|
|
ccc: bfe9 j ca6 <rt_vsnprintf+0x80>
|
|
cce: 00a79563 bne a5,a0,cd8 <rt_vsnprintf+0xb2>
|
|
cd2: 00186813 ori a6,a6,1
|
|
cd6: bfc1 j ca6 <rt_vsnprintf+0x80>
|
|
cd8: fd078713 addi a4,a5,-48
|
|
cdc: 46a5 li a3,9
|
|
cde: 04e6e663 bltu a3,a4,d2a <rt_vsnprintf+0x104>
|
|
ce2: 4701 li a4,0
|
|
ce4: 46a5 li a3,9
|
|
ce6: 4529 li a0,10
|
|
ce8: a039 j cf6 <rt_vsnprintf+0xd0>
|
|
cea: 02a70733 mul a4,a4,a0
|
|
cee: 0485 addi s1,s1,1
|
|
cf0: 973e add a4,a4,a5
|
|
cf2: fd070713 addi a4,a4,-48
|
|
cf6: 00048783 lb a5,0(s1)
|
|
cfa: fd078613 addi a2,a5,-48
|
|
cfe: fec6f6e3 bgeu a3,a2,cea <rt_vsnprintf+0xc4>
|
|
d02: 00048603 lb a2,0(s1)
|
|
d06: 02e00693 li a3,46
|
|
d0a: 57fd li a5,-1
|
|
d0c: 04d61f63 bne a2,a3,d6a <rt_vsnprintf+0x144>
|
|
d10: 00148783 lb a5,1(s1)
|
|
d14: 4625 li a2,9
|
|
d16: 00148693 addi a3,s1,1
|
|
d1a: fd078513 addi a0,a5,-48
|
|
d1e: 0aa66563 bltu a2,a0,dc8 <rt_vsnprintf+0x1a2>
|
|
d22: 4781 li a5,0
|
|
d24: 4525 li a0,9
|
|
d26: 4329 li t1,10
|
|
d28: a03d j d56 <rt_vsnprintf+0x130>
|
|
d2a: 02a00693 li a3,42
|
|
d2e: 577d li a4,-1
|
|
d30: fcd799e3 bne a5,a3,d02 <rt_vsnprintf+0xdc>
|
|
d34: 4198 lw a4,0(a1)
|
|
d36: 00260493 addi s1,a2,2
|
|
d3a: 0591 addi a1,a1,4
|
|
d3c: fc0753e3 bgez a4,d02 <rt_vsnprintf+0xdc>
|
|
d40: 40e00733 neg a4,a4
|
|
d44: 01086813 ori a6,a6,16
|
|
d48: bf6d j d02 <rt_vsnprintf+0xdc>
|
|
d4a: 026787b3 mul a5,a5,t1
|
|
d4e: 0685 addi a3,a3,1
|
|
d50: 97b2 add a5,a5,a2
|
|
d52: fd078793 addi a5,a5,-48
|
|
d56: 00068603 lb a2,0(a3)
|
|
d5a: fd060893 addi a7,a2,-48
|
|
d5e: ff1576e3 bgeu a0,a7,d4a <rt_vsnprintf+0x124>
|
|
d62: 0007d363 bgez a5,d68 <rt_vsnprintf+0x142>
|
|
d66: 4781 li a5,0
|
|
d68: 84b6 mv s1,a3
|
|
d6a: 00048683 lb a3,0(s1)
|
|
d6e: 06800613 li a2,104
|
|
d72: 4501 li a0,0
|
|
d74: ffb6f893 andi a7,a3,-5
|
|
d78: 00c89563 bne a7,a2,d82 <rt_vsnprintf+0x15c>
|
|
d7c: 0ff6f513 andi a0,a3,255
|
|
d80: 0485 addi s1,s1,1
|
|
d82: 00048603 lb a2,0(s1)
|
|
d86: 06900693 li a3,105
|
|
d8a: 06d60363 beq a2,a3,df0 <rt_vsnprintf+0x1ca>
|
|
d8e: 06c6c563 blt a3,a2,df8 <rt_vsnprintf+0x1d2>
|
|
d92: 05800693 li a3,88
|
|
d96: 1cd60363 beq a2,a3,f5c <rt_vsnprintf+0x336>
|
|
d9a: 04c6c363 blt a3,a2,de0 <rt_vsnprintf+0x1ba>
|
|
d9e: 02500793 li a5,37
|
|
da2: 1af60763 beq a2,a5,f50 <rt_vsnprintf+0x32a>
|
|
da6: 01747563 bgeu s0,s7,db0 <rt_vsnprintf+0x18a>
|
|
daa: 02500793 li a5,37
|
|
dae: a01c sb a5,0(s0)
|
|
db0: 00048783 lb a5,0(s1)
|
|
db4: 00140513 addi a0,s0,1
|
|
db8: 1a078663 beqz a5,f64 <rt_vsnprintf+0x33e>
|
|
dbc: 01757363 bgeu a0,s7,dc2 <rt_vsnprintf+0x19c>
|
|
dc0: b01c sb a5,1(s0)
|
|
dc2: 00240513 addi a0,s0,2
|
|
dc6: b55d j c6c <rt_vsnprintf+0x46>
|
|
dc8: 02a00613 li a2,42
|
|
dcc: 00c79763 bne a5,a2,dda <rt_vsnprintf+0x1b4>
|
|
dd0: 419c lw a5,0(a1)
|
|
dd2: 00248693 addi a3,s1,2
|
|
dd6: 0591 addi a1,a1,4
|
|
dd8: b769 j d62 <rt_vsnprintf+0x13c>
|
|
dda: 84b6 mv s1,a3
|
|
ddc: 4781 li a5,0
|
|
dde: b771 j d6a <rt_vsnprintf+0x144>
|
|
de0: 06300693 li a3,99
|
|
de4: 08d60263 beq a2,a3,e68 <rt_vsnprintf+0x242>
|
|
de8: 06400693 li a3,100
|
|
dec: fad61de3 bne a2,a3,da6 <rt_vsnprintf+0x180>
|
|
df0: 00286813 ori a6,a6,2
|
|
df4: 46a9 li a3,10
|
|
df6: a099 j e3c <rt_vsnprintf+0x216>
|
|
df8: 07300693 li a3,115
|
|
dfc: 0cd60363 beq a2,a3,ec2 <rt_vsnprintf+0x29c>
|
|
e00: 02c6c563 blt a3,a2,e2a <rt_vsnprintf+0x204>
|
|
e04: 06f00693 li a3,111
|
|
e08: 16d60063 beq a2,a3,f68 <rt_vsnprintf+0x342>
|
|
e0c: 07000693 li a3,112
|
|
e10: f8d61be3 bne a2,a3,da6 <rt_vsnprintf+0x180>
|
|
e14: 56fd li a3,-1
|
|
e16: 00d71563 bne a4,a3,e20 <rt_vsnprintf+0x1fa>
|
|
e1a: 00186813 ori a6,a6,1
|
|
e1e: 4721 li a4,8
|
|
e20: 00458c93 addi s9,a1,4
|
|
e24: 46c1 li a3,16
|
|
e26: 4190 lw a2,0(a1)
|
|
e28: a81d j e5e <rt_vsnprintf+0x238>
|
|
e2a: 07500693 li a3,117
|
|
e2e: fcd603e3 beq a2,a3,df4 <rt_vsnprintf+0x1ce>
|
|
e32: 07800893 li a7,120
|
|
e36: 46c1 li a3,16
|
|
e38: f71617e3 bne a2,a7,da6 <rt_vsnprintf+0x180>
|
|
e3c: 06c00613 li a2,108
|
|
e40: 00458c93 addi s9,a1,4
|
|
e44: fec501e3 beq a0,a2,e26 <rt_vsnprintf+0x200>
|
|
e48: 06800613 li a2,104
|
|
e4c: fcc51de3 bne a0,a2,e26 <rt_vsnprintf+0x200>
|
|
e50: 4190 lw a2,0(a1)
|
|
e52: 00287593 andi a1,a6,2
|
|
e56: 10059b63 bnez a1,f6c <rt_vsnprintf+0x346>
|
|
e5a: 01367633 and a2,a2,s3
|
|
e5e: 85de mv a1,s7
|
|
e60: 8522 mv a0,s0
|
|
e62: 3ccd jal 954 <print_number>
|
|
e64: 85e6 mv a1,s9
|
|
e66: b519 j c6c <rt_vsnprintf+0x46>
|
|
e68: 01087813 andi a6,a6,16
|
|
e6c: 02081563 bnez a6,e96 <rt_vsnprintf+0x270>
|
|
e70: 87ba mv a5,a4
|
|
e72: 02000693 li a3,32
|
|
e76: a029 j e80 <rt_vsnprintf+0x25a>
|
|
e78: 01747363 bgeu s0,s7,e7e <rt_vsnprintf+0x258>
|
|
e7c: a014 sb a3,0(s0)
|
|
e7e: 0405 addi s0,s0,1
|
|
e80: 17fd addi a5,a5,-1
|
|
e82: fef04be3 bgtz a5,e78 <rt_vsnprintf+0x252>
|
|
e86: fff70793 addi a5,a4,-1
|
|
e8a: 00e04363 bgtz a4,e90 <rt_vsnprintf+0x26a>
|
|
e8e: 4705 li a4,1
|
|
e90: 40e78733 sub a4,a5,a4
|
|
e94: 0705 addi a4,a4,1
|
|
e96: 00458793 addi a5,a1,4
|
|
e9a: 01747463 bgeu s0,s7,ea2 <rt_vsnprintf+0x27c>
|
|
e9e: 4194 lw a3,0(a1)
|
|
ea0: a014 sb a3,0(s0)
|
|
ea2: 00140513 addi a0,s0,1
|
|
ea6: 9722 add a4,a4,s0
|
|
ea8: 02000613 li a2,32
|
|
eac: 40a706b3 sub a3,a4,a0
|
|
eb0: 00d04463 bgtz a3,eb8 <rt_vsnprintf+0x292>
|
|
eb4: 85be mv a1,a5
|
|
eb6: bb5d j c6c <rt_vsnprintf+0x46>
|
|
eb8: 01757363 bgeu a0,s7,ebe <rt_vsnprintf+0x298>
|
|
ebc: a110 sb a2,0(a0)
|
|
ebe: 0505 addi a0,a0,1
|
|
ec0: b7f5 j eac <rt_vsnprintf+0x286>
|
|
ec2: 0005ac83 lw s9,0(a1)
|
|
ec6: 00458d13 addi s10,a1,4
|
|
eca: 000c9363 bnez s9,ed0 <rt_vsnprintf+0x2aa>
|
|
ece: 8cd2 mv s9,s4
|
|
ed0: 8566 mv a0,s9
|
|
ed2: c63e sw a5,12(sp)
|
|
ed4: c43a sw a4,8(sp)
|
|
ed6: c242 sw a6,4(sp)
|
|
ed8: 3b35 jal c14 <rt_strlen>
|
|
eda: 47b2 lw a5,12(sp)
|
|
edc: 86aa mv a3,a0
|
|
ede: 4812 lw a6,4(sp)
|
|
ee0: 4722 lw a4,8(sp)
|
|
ee2: 00f05563 blez a5,eec <rt_vsnprintf+0x2c6>
|
|
ee6: 00a7d363 bge a5,a0,eec <rt_vsnprintf+0x2c6>
|
|
eea: 86be mv a3,a5
|
|
eec: 01087813 andi a6,a6,16
|
|
ef0: 00081e63 bnez a6,f0c <rt_vsnprintf+0x2e6>
|
|
ef4: 87ba mv a5,a4
|
|
ef6: 02000613 li a2,32
|
|
efa: a031 j f06 <rt_vsnprintf+0x2e0>
|
|
efc: 01747363 bgeu s0,s7,f02 <rt_vsnprintf+0x2dc>
|
|
f00: a010 sb a2,0(s0)
|
|
f02: 0405 addi s0,s0,1
|
|
f04: 87ba mv a5,a4
|
|
f06: 177d addi a4,a4,-1
|
|
f08: fef6cae3 blt a3,a5,efc <rt_vsnprintf+0x2d6>
|
|
f0c: 4781 li a5,0
|
|
f0e: 02d7c163 blt a5,a3,f30 <rt_vsnprintf+0x30a>
|
|
f12: 87b6 mv a5,a3
|
|
f14: 0006d363 bgez a3,f1a <rt_vsnprintf+0x2f4>
|
|
f18: 4781 li a5,0
|
|
f1a: 00f40533 add a0,s0,a5
|
|
f1e: 972a add a4,a4,a0
|
|
f20: 02000613 li a2,32
|
|
f24: 40a707b3 sub a5,a4,a0
|
|
f28: 00f6cf63 blt a3,a5,f46 <rt_vsnprintf+0x320>
|
|
f2c: 85ea mv a1,s10
|
|
f2e: bb3d j c6c <rt_vsnprintf+0x46>
|
|
f30: 00f40633 add a2,s0,a5
|
|
f34: 01767763 bgeu a2,s7,f42 <rt_vsnprintf+0x31c>
|
|
f38: 00fc85b3 add a1,s9,a5
|
|
f3c: 00058583 lb a1,0(a1)
|
|
f40: a20c sb a1,0(a2)
|
|
f42: 0785 addi a5,a5,1
|
|
f44: b7e9 j f0e <rt_vsnprintf+0x2e8>
|
|
f46: 01757363 bgeu a0,s7,f4c <rt_vsnprintf+0x326>
|
|
f4a: a110 sb a2,0(a0)
|
|
f4c: 0505 addi a0,a0,1
|
|
f4e: bfd9 j f24 <rt_vsnprintf+0x2fe>
|
|
f50: 01747363 bgeu s0,s7,f56 <rt_vsnprintf+0x330>
|
|
f54: a010 sb a2,0(s0)
|
|
f56: 00140513 addi a0,s0,1
|
|
f5a: bb09 j c6c <rt_vsnprintf+0x46>
|
|
f5c: 04086813 ori a6,a6,64
|
|
f60: 46c1 li a3,16
|
|
f62: bde9 j e3c <rt_vsnprintf+0x216>
|
|
f64: 14fd addi s1,s1,-1
|
|
f66: b319 j c6c <rt_vsnprintf+0x46>
|
|
f68: 46a1 li a3,8
|
|
f6a: bdc9 j e3c <rt_vsnprintf+0x216>
|
|
f6c: 0642 slli a2,a2,0x10
|
|
f6e: 8641 srai a2,a2,0x10
|
|
f70: b5fd j e5e <rt_vsnprintf+0x238>
|
|
f72: fe0b8fa3 sb zero,-1(s7)
|
|
f76: b339 j c84 <rt_vsnprintf+0x5e>
|
|
|
|
00000f78 <rt_console_get_device>:
|
|
f78: 81c1a503 lw a0,-2020(gp) # 200002c4 <_console_device>
|
|
f7c: 8082 ret
|
|
|
|
00000f7e <rt_console_set_device>:
|
|
f7e: c24ff2ef jal t0,3a2 <__riscv_save_0>
|
|
f82: 81c1a903 lw s2,-2020(gp) # 200002c4 <_console_device>
|
|
f86: dfcff0ef jal ra,582 <rt_device_find>
|
|
f8a: cd11 beqz a0,fa6 <rt_console_set_device+0x28>
|
|
f8c: 81c18413 addi s0,gp,-2020 # 200002c4 <_console_device>
|
|
f90: 84aa mv s1,a0
|
|
f92: 4008 lw a0,0(s0)
|
|
f94: c119 beqz a0,f9a <rt_console_set_device+0x1c>
|
|
f96: ee2ff0ef jal ra,678 <rt_device_close>
|
|
f9a: 04300593 li a1,67
|
|
f9e: 8526 mv a0,s1
|
|
fa0: e5eff0ef jal ra,5fe <rt_device_open>
|
|
fa4: c004 sw s1,0(s0)
|
|
fa6: 854a mv a0,s2
|
|
fa8: c1eff06f j 3c6 <__riscv_restore_0>
|
|
|
|
00000fac <rt_hw_console_output>:
|
|
fac: 8082 ret
|
|
|
|
00000fae <rt_kprintf>:
|
|
fae: 7139 addi sp,sp,-64
|
|
fb0: ca26 sw s1,20(sp)
|
|
fb2: d22e sw a1,36(sp)
|
|
fb4: d432 sw a2,40(sp)
|
|
fb6: d636 sw a3,44(sp)
|
|
fb8: 862a mv a2,a0
|
|
fba: 1054 addi a3,sp,36
|
|
fbc: 07f00593 li a1,127
|
|
fc0: b7c18513 addi a0,gp,-1156 # 20000624 <rt_log_buf.2693>
|
|
fc4: da3e sw a5,52(sp)
|
|
fc6: c636 sw a3,12(sp)
|
|
fc8: ce06 sw ra,28(sp)
|
|
fca: cc22 sw s0,24(sp)
|
|
fcc: d83a sw a4,48(sp)
|
|
fce: dc42 sw a6,56(sp)
|
|
fd0: de46 sw a7,60(sp)
|
|
fd2: 3991 jal c26 <rt_vsnprintf>
|
|
fd4: 86aa mv a3,a0
|
|
fd6: 81c1a503 lw a0,-2020(gp) # 200002c4 <_console_device>
|
|
fda: e909 bnez a0,fec <rt_kprintf+0x3e>
|
|
fdc: b7c18513 addi a0,gp,-1156 # 20000624 <rt_log_buf.2693>
|
|
fe0: 37f1 jal fac <rt_hw_console_output>
|
|
fe2: 40f2 lw ra,28(sp)
|
|
fe4: 4462 lw s0,24(sp)
|
|
fe6: 44d2 lw s1,20(sp)
|
|
fe8: 6121 addi sp,sp,64
|
|
fea: 8082 ret
|
|
fec: 8626 mv a2,s1
|
|
fee: 2d26 lhu s1,26(a0)
|
|
ff0: 81c18413 addi s0,gp,-2020 # 200002c4 <_console_device>
|
|
ff4: 0404e793 ori a5,s1,64
|
|
ff8: ad3e sh a5,26(a0)
|
|
ffa: 07f00793 li a5,127
|
|
ffe: 00d7f463 bgeu a5,a3,1006 <rt_kprintf+0x58>
|
|
1002: 07f00693 li a3,127
|
|
1006: b7c18613 addi a2,gp,-1156 # 20000624 <rt_log_buf.2693>
|
|
100a: 4581 li a1,0
|
|
100c: ec0ff0ef jal ra,6cc <rt_device_write>
|
|
1010: 401c lw a5,0(s0)
|
|
1012: afa6 sh s1,26(a5)
|
|
1014: b7f9 j fe2 <rt_kprintf+0x34>
|
|
|
|
00001016 <rt_show_version>:
|
|
1016: b8cff2ef jal t0,3a2 <__riscv_save_0>
|
|
101a: 00005537 lui a0,0x5
|
|
101e: 35850513 addi a0,a0,856 # 5358 <large_digits.2583+0x14>
|
|
1022: 3771 jal fae <rt_kprintf>
|
|
1024: 00005537 lui a0,0x5
|
|
1028: 36450513 addi a0,a0,868 # 5364 <large_digits.2583+0x20>
|
|
102c: 3749 jal fae <rt_kprintf>
|
|
102e: 00005737 lui a4,0x5
|
|
1032: 00005537 lui a0,0x5
|
|
1036: 38870713 addi a4,a4,904 # 5388 <large_digits.2583+0x44>
|
|
103a: 468d li a3,3
|
|
103c: 4605 li a2,1
|
|
103e: 458d li a1,3
|
|
1040: 39450513 addi a0,a0,916 # 5394 <large_digits.2583+0x50>
|
|
1044: 37ad jal fae <rt_kprintf>
|
|
1046: 00005537 lui a0,0x5
|
|
104a: 3b450513 addi a0,a0,948 # 53b4 <large_digits.2583+0x70>
|
|
104e: 3785 jal fae <rt_kprintf>
|
|
1050: b76ff06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001054 <__rt_ffs>:
|
|
1054: c531 beqz a0,10a0 <__rt_ffs+0x4c>
|
|
1056: 6695 lui a3,0x5
|
|
1058: 0ff57713 andi a4,a0,255
|
|
105c: 24468693 addi a3,a3,580 # 5244 <__lowest_bit_bitmap>
|
|
1060: c709 beqz a4,106a <__rt_ffs+0x16>
|
|
1062: 96ba add a3,a3,a4
|
|
1064: 2288 lbu a0,0(a3)
|
|
1066: 0505 addi a0,a0,1
|
|
1068: 8082 ret
|
|
106a: 67c1 lui a5,0x10
|
|
106c: f0078793 addi a5,a5,-256 # ff00 <__stack_size+0x7f00>
|
|
1070: 8fe9 and a5,a5,a0
|
|
1072: cb81 beqz a5,1082 <__rt_ffs+0x2e>
|
|
1074: 8521 srai a0,a0,0x8
|
|
1076: 0ff57713 andi a4,a0,255
|
|
107a: 9736 add a4,a4,a3
|
|
107c: 2308 lbu a0,0(a4)
|
|
107e: 0525 addi a0,a0,9
|
|
1080: 8082 ret
|
|
1082: 00ff07b7 lui a5,0xff0
|
|
1086: 8fe9 and a5,a5,a0
|
|
1088: cb81 beqz a5,1098 <__rt_ffs+0x44>
|
|
108a: 8541 srai a0,a0,0x10
|
|
108c: 0ff57793 andi a5,a0,255
|
|
1090: 97b6 add a5,a5,a3
|
|
1092: 2388 lbu a0,0(a5)
|
|
1094: 0545 addi a0,a0,17
|
|
1096: 8082 ret
|
|
1098: 8161 srli a0,a0,0x18
|
|
109a: 9536 add a0,a0,a3
|
|
109c: 2108 lbu a0,0(a0)
|
|
109e: 0565 addi a0,a0,25
|
|
10a0: 8082 ret
|
|
|
|
000010a2 <plug_holes>:
|
|
10a2: 8241a703 lw a4,-2012(gp) # 200002cc <heap_ptr>
|
|
10a6: 415c lw a5,4(a0)
|
|
10a8: 97ba add a5,a5,a4
|
|
10aa: 02f50563 beq a0,a5,10d4 <plug_holes+0x32>
|
|
10ae: 23b6 lhu a3,2(a5)
|
|
10b0: e295 bnez a3,10d4 <plug_holes+0x32>
|
|
10b2: 8201a683 lw a3,-2016(gp) # 200002c8 <heap_end>
|
|
10b6: 00f68f63 beq a3,a5,10d4 <plug_holes+0x32>
|
|
10ba: 82818693 addi a3,gp,-2008 # 200002d0 <lfree>
|
|
10be: 4290 lw a2,0(a3)
|
|
10c0: 00f61363 bne a2,a5,10c6 <plug_holes+0x24>
|
|
10c4: c288 sw a0,0(a3)
|
|
10c6: 43d4 lw a3,4(a5)
|
|
10c8: c154 sw a3,4(a0)
|
|
10ca: 43dc lw a5,4(a5)
|
|
10cc: 40e506b3 sub a3,a0,a4
|
|
10d0: 97ba add a5,a5,a4
|
|
10d2: c794 sw a3,8(a5)
|
|
10d4: 4510 lw a2,8(a0)
|
|
10d6: 00c707b3 add a5,a4,a2
|
|
10da: 00f50f63 beq a0,a5,10f8 <plug_holes+0x56>
|
|
10de: 23b6 lhu a3,2(a5)
|
|
10e0: ee81 bnez a3,10f8 <plug_holes+0x56>
|
|
10e2: 82818693 addi a3,gp,-2008 # 200002d0 <lfree>
|
|
10e6: 428c lw a1,0(a3)
|
|
10e8: 00a59363 bne a1,a0,10ee <plug_holes+0x4c>
|
|
10ec: c29c sw a5,0(a3)
|
|
10ee: 4154 lw a3,4(a0)
|
|
10f0: c3d4 sw a3,4(a5)
|
|
10f2: 415c lw a5,4(a0)
|
|
10f4: 973e add a4,a4,a5
|
|
10f6: c710 sw a2,8(a4)
|
|
10f8: 8082 ret
|
|
|
|
000010fa <list_mem>:
|
|
10fa: aa8ff2ef jal t0,3a2 <__riscv_save_0>
|
|
10fe: 8301a583 lw a1,-2000(gp) # 200002d8 <mem_size_aligned>
|
|
1102: 00005537 lui a0,0x5
|
|
1106: 3fc50513 addi a0,a0,1020 # 53fc <small_digits.2582+0x14>
|
|
110a: 3555 jal fae <rt_kprintf>
|
|
110c: 83c1a583 lw a1,-1988(gp) # 200002e4 <used_mem>
|
|
1110: 00005537 lui a0,0x5
|
|
1114: 41050513 addi a0,a0,1040 # 5410 <small_digits.2582+0x28>
|
|
1118: 3d59 jal fae <rt_kprintf>
|
|
111a: 82c1a583 lw a1,-2004(gp) # 200002d4 <max_mem>
|
|
111e: 00005537 lui a0,0x5
|
|
1122: 42450513 addi a0,a0,1060 # 5424 <small_digits.2582+0x3c>
|
|
1126: 3561 jal fae <rt_kprintf>
|
|
1128: a9eff06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000112c <rt_system_heap_init>:
|
|
112c: a76ff2ef jal t0,3a2 <__riscv_save_0>
|
|
1130: ffc5f713 andi a4,a1,-4
|
|
1134: 46e1 li a3,24
|
|
1136: 862e mv a2,a1
|
|
1138: 06e6f163 bgeu a3,a4,119a <rt_system_heap_init+0x6e>
|
|
113c: 00350793 addi a5,a0,3
|
|
1140: 9bf1 andi a5,a5,-4
|
|
1142: fe870693 addi a3,a4,-24
|
|
1146: 04f6ea63 bltu a3,a5,119a <rt_system_heap_init+0x6e>
|
|
114a: 8f1d sub a4,a4,a5
|
|
114c: fe870613 addi a2,a4,-24
|
|
1150: 82c1a823 sw a2,-2000(gp) # 200002d8 <mem_size_aligned>
|
|
1154: 6689 lui a3,0x2
|
|
1156: 1751 addi a4,a4,-12
|
|
1158: 82418413 addi s0,gp,-2012 # 200002cc <heap_ptr>
|
|
115c: ea068693 addi a3,a3,-352 # 1ea0 <list_event+0x84>
|
|
1160: c3d8 sw a4,4(a5)
|
|
1162: c394 sw a3,0(a5)
|
|
1164: 0007a423 sw zero,8(a5) # ff0008 <__stack_size+0xfe8008>
|
|
1168: c01c sw a5,0(s0)
|
|
116a: 97ba add a5,a5,a4
|
|
116c: 82f1a023 sw a5,-2016(gp) # 200002c8 <heap_end>
|
|
1170: 66c9 lui a3,0x12
|
|
1172: ea068693 addi a3,a3,-352 # 11ea0 <__stack_size+0x9ea0>
|
|
1176: 000055b7 lui a1,0x5
|
|
117a: c394 sw a3,0(a5)
|
|
117c: c3d8 sw a4,4(a5)
|
|
117e: c798 sw a4,8(a5)
|
|
1180: 4681 li a3,0
|
|
1182: 4605 li a2,1
|
|
1184: 4bc58593 addi a1,a1,1212 # 54bc <__fsym_list_mem_name+0x58>
|
|
1188: bfc18513 addi a0,gp,-1028 # 200006a4 <heap_sem>
|
|
118c: e82ff0ef jal ra,80e <rt_sem_init>
|
|
1190: 4018 lw a4,0(s0)
|
|
1192: 82e1a423 sw a4,-2008(gp) # 200002d0 <lfree>
|
|
1196: a30ff06f j 3c6 <__riscv_restore_0>
|
|
119a: 85aa mv a1,a0
|
|
119c: 00005537 lui a0,0x5
|
|
11a0: 4c450513 addi a0,a0,1220 # 54c4 <__fsym_list_mem_name+0x60>
|
|
11a4: 3529 jal fae <rt_kprintf>
|
|
11a6: bfc5 j 1196 <rt_system_heap_init+0x6a>
|
|
|
|
000011a8 <rt_malloc>:
|
|
11a8: 9faff2ef jal t0,3a2 <__riscv_save_0>
|
|
11ac: c539 beqz a0,11fa <rt_malloc+0x52>
|
|
11ae: 8301a703 lw a4,-2000(gp) # 200002d8 <mem_size_aligned>
|
|
11b2: 00350413 addi s0,a0,3
|
|
11b6: 9871 andi s0,s0,-4
|
|
11b8: 83018913 addi s2,gp,-2000 # 200002d8 <mem_size_aligned>
|
|
11bc: 4481 li s1,0
|
|
11be: 0e876663 bltu a4,s0,12aa <rt_malloc+0x102>
|
|
11c2: 47b1 li a5,12
|
|
11c4: 00f47363 bgeu s0,a5,11ca <rt_malloc+0x22>
|
|
11c8: 4431 li s0,12
|
|
11ca: 55fd li a1,-1
|
|
11cc: bfc18513 addi a0,gp,-1028 # 200006a4 <heap_sem>
|
|
11d0: e66ff0ef jal ra,836 <rt_sem_take>
|
|
11d4: 8281a783 lw a5,-2008(gp) # 200002d0 <lfree>
|
|
11d8: 8241a583 lw a1,-2012(gp) # 200002cc <heap_ptr>
|
|
11dc: 00092883 lw a7,0(s2)
|
|
11e0: 8526 mv a0,s1
|
|
11e2: 40b78633 sub a2,a5,a1
|
|
11e6: 408886b3 sub a3,a7,s0
|
|
11ea: 82818813 addi a6,gp,-2008 # 200002d0 <lfree>
|
|
11ee: 00d66863 bltu a2,a3,11fe <rt_malloc+0x56>
|
|
11f2: bfc18513 addi a0,gp,-1028 # 200006a4 <heap_sem>
|
|
11f6: ec0ff0ef jal ra,8b6 <rt_sem_release>
|
|
11fa: 4481 li s1,0
|
|
11fc: a07d j 12aa <rt_malloc+0x102>
|
|
11fe: 00c584b3 add s1,a1,a2
|
|
1202: 20ba lhu a4,2(s1)
|
|
1204: 0044ae03 lw t3,4(s1)
|
|
1208: e761 bnez a4,12d0 <rt_malloc+0x128>
|
|
120a: 40ce0733 sub a4,t3,a2
|
|
120e: ff470f93 addi t6,a4,-12
|
|
1212: 0a8fef63 bltu t6,s0,12d0 <rt_malloc+0x128>
|
|
1216: 83c18f13 addi t5,gp,-1988 # 200002e4 <used_mem>
|
|
121a: 82c18e93 addi t4,gp,-2004 # 200002d4 <max_mem>
|
|
121e: 01840313 addi t1,s0,24
|
|
1222: 000f2683 lw a3,0(t5)
|
|
1226: 000ea383 lw t2,0(t4)
|
|
122a: 83c18913 addi s2,gp,-1988 # 200002e4 <used_mem>
|
|
122e: 82c18293 addi t0,gp,-2004 # 200002d4 <max_mem>
|
|
1232: 066fef63 bltu t6,t1,12b0 <rt_malloc+0x108>
|
|
1236: 00c40713 addi a4,s0,12
|
|
123a: 9732 add a4,a4,a2
|
|
123c: 6e89 lui t4,0x2
|
|
123e: 00e58333 add t1,a1,a4
|
|
1242: ea0e8e93 addi t4,t4,-352 # 1ea0 <list_event+0x84>
|
|
1246: 01c32223 sw t3,4(t1)
|
|
124a: 00c32423 sw a2,8(t1)
|
|
124e: 01d32023 sw t4,0(t1)
|
|
1252: 4605 li a2,1
|
|
1254: c0d8 sw a4,4(s1)
|
|
1256: a0b2 sh a2,2(s1)
|
|
1258: 00432603 lw a2,4(t1)
|
|
125c: 08b1 addi a7,a7,12
|
|
125e: 01160463 beq a2,a7,1266 <rt_malloc+0xbe>
|
|
1262: 962e add a2,a2,a1
|
|
1264: c618 sw a4,8(a2)
|
|
1266: 00c68713 addi a4,a3,12
|
|
126a: 9722 add a4,a4,s0
|
|
126c: 00e92023 sw a4,0(s2)
|
|
1270: 00e3f463 bgeu t2,a4,1278 <rt_malloc+0xd0>
|
|
1274: 00e2a023 sw a4,0(t0) # 460 <memset+0x8e>
|
|
1278: 6709 lui a4,0x2
|
|
127a: ea070713 addi a4,a4,-352 # 1ea0 <list_event+0x84>
|
|
127e: a09a sh a4,0(s1)
|
|
1280: 00979a63 bne a5,s1,1294 <rt_malloc+0xec>
|
|
1284: 8201a683 lw a3,-2016(gp) # 200002c8 <heap_end>
|
|
1288: 4701 li a4,0
|
|
128a: 23b2 lhu a2,2(a5)
|
|
128c: ee05 bnez a2,12c4 <rt_malloc+0x11c>
|
|
128e: c319 beqz a4,1294 <rt_malloc+0xec>
|
|
1290: 00f82023 sw a5,0(a6)
|
|
1294: bfc18513 addi a0,gp,-1028 # 200006a4 <heap_sem>
|
|
1298: e1eff0ef jal ra,8b6 <rt_sem_release>
|
|
129c: 8381a783 lw a5,-1992(gp) # 200002e0 <rt_malloc_hook>
|
|
12a0: 04b1 addi s1,s1,12
|
|
12a2: c781 beqz a5,12aa <rt_malloc+0x102>
|
|
12a4: 85a2 mv a1,s0
|
|
12a6: 8526 mv a0,s1
|
|
12a8: 9782 jalr a5
|
|
12aa: 8526 mv a0,s1
|
|
12ac: 91aff06f j 3c6 <__riscv_restore_0>
|
|
12b0: 4605 li a2,1
|
|
12b2: 9736 add a4,a4,a3
|
|
12b4: a0b2 sh a2,2(s1)
|
|
12b6: 00ef2023 sw a4,0(t5)
|
|
12ba: fae3ffe3 bgeu t2,a4,1278 <rt_malloc+0xd0>
|
|
12be: 00eea023 sw a4,0(t4)
|
|
12c2: bf5d j 1278 <rt_malloc+0xd0>
|
|
12c4: fcd785e3 beq a5,a3,128e <rt_malloc+0xe6>
|
|
12c8: 43dc lw a5,4(a5)
|
|
12ca: 4705 li a4,1
|
|
12cc: 97ae add a5,a5,a1
|
|
12ce: bf75 j 128a <rt_malloc+0xe2>
|
|
12d0: 8672 mv a2,t3
|
|
12d2: bf31 j 11ee <rt_malloc+0x46>
|
|
|
|
000012d4 <rt_calloc>:
|
|
12d4: 8ceff2ef jal t0,3a2 <__riscv_save_0>
|
|
12d8: 02b50633 mul a2,a0,a1
|
|
12dc: 1141 addi sp,sp,-16
|
|
12de: 8532 mv a0,a2
|
|
12e0: c632 sw a2,12(sp)
|
|
12e2: 35d9 jal 11a8 <rt_malloc>
|
|
12e4: 842a mv s0,a0
|
|
12e6: c509 beqz a0,12f0 <rt_calloc+0x1c>
|
|
12e8: 4632 lw a2,12(sp)
|
|
12ea: 4581 li a1,0
|
|
12ec: 803ff0ef jal ra,aee <rt_memset>
|
|
12f0: 8522 mv a0,s0
|
|
12f2: 0141 addi sp,sp,16
|
|
12f4: 8d2ff06f j 3c6 <__riscv_restore_0>
|
|
|
|
000012f8 <rt_free>:
|
|
12f8: c545 beqz a0,13a0 <rt_free+0xa8>
|
|
12fa: 88eff2ef jal t0,388 <__riscv_save_4>
|
|
12fe: 8341a783 lw a5,-1996(gp) # 200002dc <rt_free_hook>
|
|
1302: 842a mv s0,a0
|
|
1304: c391 beqz a5,1308 <rt_free+0x10>
|
|
1306: 9782 jalr a5
|
|
1308: 8241a783 lw a5,-2012(gp) # 200002cc <heap_ptr>
|
|
130c: 82418913 addi s2,gp,-2012 # 200002cc <heap_ptr>
|
|
1310: 08f46663 bltu s0,a5,139c <rt_free+0xa4>
|
|
1314: 8201a783 lw a5,-2016(gp) # 200002c8 <heap_end>
|
|
1318: 08f47263 bgeu s0,a5,139c <rt_free+0xa4>
|
|
131c: 55fd li a1,-1
|
|
131e: bfc18513 addi a0,gp,-1028 # 200006a4 <heap_sem>
|
|
1322: d14ff0ef jal ra,836 <rt_sem_take>
|
|
1326: ff645783 lhu a5,-10(s0)
|
|
132a: ff440993 addi s3,s0,-12
|
|
132e: cb81 beqz a5,133e <rt_free+0x46>
|
|
1330: ff445703 lhu a4,-12(s0)
|
|
1334: 6789 lui a5,0x2
|
|
1336: ea078793 addi a5,a5,-352 # 1ea0 <list_event+0x84>
|
|
133a: 02f70163 beq a4,a5,135c <rt_free+0x64>
|
|
133e: 00005537 lui a0,0x5
|
|
1342: 47050513 addi a0,a0,1136 # 5470 <__fsym_list_mem_name+0xc>
|
|
1346: 31a5 jal fae <rt_kprintf>
|
|
1348: ff445683 lhu a3,-12(s0)
|
|
134c: ff645603 lhu a2,-10(s0)
|
|
1350: 00005537 lui a0,0x5
|
|
1354: 85ce mv a1,s3
|
|
1356: 48c50513 addi a0,a0,1164 # 548c <__fsym_list_mem_name+0x28>
|
|
135a: 3991 jal fae <rt_kprintf>
|
|
135c: 6789 lui a5,0x2
|
|
135e: ea078793 addi a5,a5,-352 # 1ea0 <list_event+0x84>
|
|
1362: fef41a23 sh a5,-12(s0)
|
|
1366: 82818793 addi a5,gp,-2008 # 200002d0 <lfree>
|
|
136a: 4398 lw a4,0(a5)
|
|
136c: fe041b23 sh zero,-10(s0)
|
|
1370: 00e9f463 bgeu s3,a4,1378 <rt_free+0x80>
|
|
1374: 0137a023 sw s3,0(a5)
|
|
1378: 83c18713 addi a4,gp,-1988 # 200002e4 <used_mem>
|
|
137c: 431c lw a5,0(a4)
|
|
137e: ff842683 lw a3,-8(s0)
|
|
1382: 854e mv a0,s3
|
|
1384: 8f95 sub a5,a5,a3
|
|
1386: 00092683 lw a3,0(s2)
|
|
138a: 40d986b3 sub a3,s3,a3
|
|
138e: 97b6 add a5,a5,a3
|
|
1390: c31c sw a5,0(a4)
|
|
1392: 3b01 jal 10a2 <plug_holes>
|
|
1394: bfc18513 addi a0,gp,-1028 # 200006a4 <heap_sem>
|
|
1398: d1eff0ef jal ra,8b6 <rt_sem_release>
|
|
139c: 820ff06f j 3bc <__riscv_restore_4>
|
|
13a0: 8082 ret
|
|
|
|
000013a2 <rt_object_get_information>:
|
|
13a2: 200007b7 lui a5,0x20000
|
|
13a6: 00078693 mv a3,a5
|
|
13aa: 4701 li a4,0
|
|
13ac: 00078793 mv a5,a5
|
|
13b0: 4621 li a2,8
|
|
13b2: 428c lw a1,0(a3)
|
|
13b4: 00a59663 bne a1,a0,13c0 <rt_object_get_information+0x1e>
|
|
13b8: 00471513 slli a0,a4,0x4
|
|
13bc: 953e add a0,a0,a5
|
|
13be: 8082 ret
|
|
13c0: 0705 addi a4,a4,1
|
|
13c2: 06c1 addi a3,a3,16
|
|
13c4: fec717e3 bne a4,a2,13b2 <rt_object_get_information+0x10>
|
|
13c8: 4501 li a0,0
|
|
13ca: 8082 ret
|
|
|
|
000013cc <rt_object_init>:
|
|
13cc: fbdfe2ef jal t0,388 <__riscv_save_4>
|
|
13d0: 842a mv s0,a0
|
|
13d2: 852e mv a0,a1
|
|
13d4: 89ae mv s3,a1
|
|
13d6: 8a32 mv s4,a2
|
|
13d8: 37e9 jal 13a2 <rt_object_get_information>
|
|
13da: 892a mv s2,a0
|
|
13dc: 2ca9 jal 1636 <rt_enter_critical>
|
|
13de: 00492483 lw s1,4(s2)
|
|
13e2: 00490793 addi a5,s2,4
|
|
13e6: 04f49063 bne s1,a5,1426 <rt_object_init+0x5a>
|
|
13ea: 248d jal 164c <rt_exit_critical>
|
|
13ec: f809e993 ori s3,s3,-128
|
|
13f0: 01340423 sb s3,8(s0)
|
|
13f4: 4621 li a2,8
|
|
13f6: 85d2 mv a1,s4
|
|
13f8: 8522 mv a0,s0
|
|
13fa: fc4ff0ef jal ra,bbe <rt_strncpy>
|
|
13fe: 8401a783 lw a5,-1984(gp) # 200002e8 <rt_object_attach_hook>
|
|
1402: c399 beqz a5,1408 <rt_object_init+0x3c>
|
|
1404: 8522 mv a0,s0
|
|
1406: 9782 jalr a5
|
|
1408: 77a000ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
140c: 00492703 lw a4,4(s2)
|
|
1410: 00c40793 addi a5,s0,12
|
|
1414: c35c sw a5,4(a4)
|
|
1416: c458 sw a4,12(s0)
|
|
1418: 00f92223 sw a5,4(s2)
|
|
141c: c804 sw s1,16(s0)
|
|
141e: 770000ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
1422: f9bfe06f j 3bc <__riscv_restore_4>
|
|
1426: 4084 lw s1,0(s1)
|
|
1428: bf7d j 13e6 <rt_object_init+0x1a>
|
|
|
|
0000142a <rt_object_detach>:
|
|
142a: f79fe2ef jal t0,3a2 <__riscv_save_0>
|
|
142e: 8441a783 lw a5,-1980(gp) # 200002ec <rt_object_detach_hook>
|
|
1432: 842a mv s0,a0
|
|
1434: c391 beqz a5,1438 <rt_object_detach+0xe>
|
|
1436: 9782 jalr a5
|
|
1438: 00040423 sb zero,8(s0)
|
|
143c: 746000ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
1440: 4454 lw a3,12(s0)
|
|
1442: 4818 lw a4,16(s0)
|
|
1444: 00c40793 addi a5,s0,12
|
|
1448: c2d8 sw a4,4(a3)
|
|
144a: c314 sw a3,0(a4)
|
|
144c: c81c sw a5,16(s0)
|
|
144e: c45c sw a5,12(s0)
|
|
1450: 73e000ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
1454: f73fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001458 <rt_object_allocate>:
|
|
1458: f31fe2ef jal t0,388 <__riscv_save_4>
|
|
145c: 892e mv s2,a1
|
|
145e: 89aa mv s3,a0
|
|
1460: 3789 jal 13a2 <rt_object_get_information>
|
|
1462: 84aa mv s1,a0
|
|
1464: 4548 lw a0,12(a0)
|
|
1466: 3389 jal 11a8 <rt_malloc>
|
|
1468: 842a mv s0,a0
|
|
146a: cd1d beqz a0,14a8 <rt_object_allocate+0x50>
|
|
146c: 44d0 lw a2,12(s1)
|
|
146e: 4581 li a1,0
|
|
1470: e7eff0ef jal ra,aee <rt_memset>
|
|
1474: 4621 li a2,8
|
|
1476: 01340423 sb s3,8(s0)
|
|
147a: 000404a3 sb zero,9(s0)
|
|
147e: 85ca mv a1,s2
|
|
1480: 8522 mv a0,s0
|
|
1482: f3cff0ef jal ra,bbe <rt_strncpy>
|
|
1486: 8401a783 lw a5,-1984(gp) # 200002e8 <rt_object_attach_hook>
|
|
148a: c399 beqz a5,1490 <rt_object_allocate+0x38>
|
|
148c: 8522 mv a0,s0
|
|
148e: 9782 jalr a5
|
|
1490: 6f2000ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
1494: 40d8 lw a4,4(s1)
|
|
1496: 00c40793 addi a5,s0,12
|
|
149a: 0491 addi s1,s1,4
|
|
149c: c35c sw a5,4(a4)
|
|
149e: c458 sw a4,12(s0)
|
|
14a0: c09c sw a5,0(s1)
|
|
14a2: c804 sw s1,16(s0)
|
|
14a4: 6ea000ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
14a8: 8522 mv a0,s0
|
|
14aa: f13fe06f j 3bc <__riscv_restore_4>
|
|
|
|
000014ae <rt_object_delete>:
|
|
14ae: ef5fe2ef jal t0,3a2 <__riscv_save_0>
|
|
14b2: 8441a783 lw a5,-1980(gp) # 200002ec <rt_object_detach_hook>
|
|
14b6: 842a mv s0,a0
|
|
14b8: c391 beqz a5,14bc <rt_object_delete+0xe>
|
|
14ba: 9782 jalr a5
|
|
14bc: 00040423 sb zero,8(s0)
|
|
14c0: 6c2000ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
14c4: 4454 lw a3,12(s0)
|
|
14c6: 4818 lw a4,16(s0)
|
|
14c8: 00c40793 addi a5,s0,12
|
|
14cc: c2d8 sw a4,4(a3)
|
|
14ce: c314 sw a3,0(a4)
|
|
14d0: c81c sw a5,16(s0)
|
|
14d2: c45c sw a5,12(s0)
|
|
14d4: 6ba000ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
14d8: 8522 mv a0,s0
|
|
14da: 3d39 jal 12f8 <rt_free>
|
|
14dc: eebfe06f j 3c6 <__riscv_restore_0>
|
|
|
|
000014e0 <rt_object_is_systemobject>:
|
|
14e0: 00850503 lb a0,8(a0)
|
|
14e4: 817d srli a0,a0,0x1f
|
|
14e6: 8082 ret
|
|
|
|
000014e8 <rt_system_scheduler_init>:
|
|
14e8: 86019023 sh zero,-1952(gp) # 20000308 <rt_scheduler_lock_nest>
|
|
14ec: c1c18793 addi a5,gp,-996 # 200006c4 <rt_thread_priority_table>
|
|
14f0: 08078713 addi a4,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
14f4: c3dc sw a5,4(a5)
|
|
14f6: c39c sw a5,0(a5)
|
|
14f8: 07a1 addi a5,a5,8
|
|
14fa: fee79de3 bne a5,a4,14f4 <rt_system_scheduler_init+0xc>
|
|
14fe: 473d li a4,15
|
|
1500: 84e18a23 sb a4,-1964(gp) # 200002fc <rt_current_priority>
|
|
1504: 8401ac23 sw zero,-1960(gp) # 20000300 <rt_current_thread>
|
|
1508: 8601a623 sw zero,-1940(gp) # 20000314 <rt_thread_ready_priority_group>
|
|
150c: 86418793 addi a5,gp,-1948 # 2000030c <rt_thread_defunct>
|
|
1510: c3dc sw a5,4(a5)
|
|
1512: c39c sw a5,0(a5)
|
|
1514: 8082 ret
|
|
|
|
00001516 <rt_system_scheduler_start>:
|
|
1516: e8dfe2ef jal t0,3a2 <__riscv_save_0>
|
|
151a: 86c1a503 lw a0,-1940(gp) # 20000314 <rt_thread_ready_priority_group>
|
|
151e: b37ff0ef jal ra,1054 <__rt_ffs>
|
|
1522: 157d addi a0,a0,-1
|
|
1524: 00351793 slli a5,a0,0x3
|
|
1528: c1c18513 addi a0,gp,-996 # 200006c4 <rt_thread_priority_table>
|
|
152c: 953e add a0,a0,a5
|
|
152e: 4108 lw a0,0(a0)
|
|
1530: fec50713 addi a4,a0,-20
|
|
1534: 0521 addi a0,a0,8
|
|
1536: 84e1ac23 sw a4,-1960(gp) # 20000300 <rt_current_thread>
|
|
153a: c87fe0ef jal ra,1c0 <rt_hw_context_switch_to>
|
|
153e: e89fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001542 <rt_schedule>:
|
|
1542: e61fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1546: 63c000ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
154a: 86019783 lh a5,-1952(gp) # 20000308 <rt_scheduler_lock_nest>
|
|
154e: 892a mv s2,a0
|
|
1550: e7b1 bnez a5,159c <rt_schedule+0x5a>
|
|
1552: 86c1a503 lw a0,-1940(gp) # 20000314 <rt_thread_ready_priority_group>
|
|
1556: affff0ef jal ra,1054 <__rt_ffs>
|
|
155a: 157d addi a0,a0,-1
|
|
155c: 00351713 slli a4,a0,0x3
|
|
1560: c1c18793 addi a5,gp,-996 # 200006c4 <rt_thread_priority_table>
|
|
1564: 97ba add a5,a5,a4
|
|
1566: 4384 lw s1,0(a5)
|
|
1568: 85818793 addi a5,gp,-1960 # 20000300 <rt_current_thread>
|
|
156c: 4380 lw s0,0(a5)
|
|
156e: fec48593 addi a1,s1,-20
|
|
1572: 02b40563 beq s0,a1,159c <rt_schedule+0x5a>
|
|
1576: c38c sw a1,0(a5)
|
|
1578: 85c1a783 lw a5,-1956(gp) # 20000304 <rt_scheduler_hook>
|
|
157c: 84a18a23 sb a0,-1964(gp) # 200002fc <rt_current_priority>
|
|
1580: c399 beqz a5,1586 <rt_schedule+0x44>
|
|
1582: 8522 mv a0,s0
|
|
1584: 9782 jalr a5
|
|
1586: 8141c783 lbu a5,-2028(gp) # 200002bc <rt_interrupt_nest>
|
|
158a: 01c40513 addi a0,s0,28
|
|
158e: 00848593 addi a1,s1,8
|
|
1592: 0ff7f793 andi a5,a5,255
|
|
1596: eb81 bnez a5,15a6 <rt_schedule+0x64>
|
|
1598: c45fe0ef jal ra,1dc <rt_hw_context_switch>
|
|
159c: 854a mv a0,s2
|
|
159e: 5f0000ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
15a2: e25fe06f j 3c6 <__riscv_restore_0>
|
|
15a6: 5ee000ef jal ra,1b94 <rt_hw_context_switch_interrupt>
|
|
15aa: bfcd j 159c <rt_schedule+0x5a>
|
|
|
|
000015ac <rt_schedule_insert_thread>:
|
|
15ac: df7fe2ef jal t0,3a2 <__riscv_save_0>
|
|
15b0: 842a mv s0,a0
|
|
15b2: 5d0000ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
15b6: 03444783 lbu a5,52(s0)
|
|
15ba: 01440693 addi a3,s0,20
|
|
15be: 9bc1 andi a5,a5,-16
|
|
15c0: 0017e793 ori a5,a5,1
|
|
15c4: 02f40a23 sb a5,52(s0)
|
|
15c8: 03544783 lbu a5,53(s0)
|
|
15cc: 00379713 slli a4,a5,0x3
|
|
15d0: c1c18793 addi a5,gp,-996 # 200006c4 <rt_thread_priority_table>
|
|
15d4: 97ba add a5,a5,a4
|
|
15d6: 43d8 lw a4,4(a5)
|
|
15d8: c314 sw a3,0(a4)
|
|
15da: cc18 sw a4,24(s0)
|
|
15dc: c3d4 sw a3,4(a5)
|
|
15de: c85c sw a5,20(s0)
|
|
15e0: 86c18793 addi a5,gp,-1940 # 20000314 <rt_thread_ready_priority_group>
|
|
15e4: 4394 lw a3,0(a5)
|
|
15e6: 5c18 lw a4,56(s0)
|
|
15e8: 8f55 or a4,a4,a3
|
|
15ea: c398 sw a4,0(a5)
|
|
15ec: 5a2000ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
15f0: dd7fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
000015f4 <rt_schedule_remove_thread>:
|
|
15f4: daffe2ef jal t0,3a2 <__riscv_save_0>
|
|
15f8: 842a mv s0,a0
|
|
15fa: 2361 jal 1b82 <rt_hw_interrupt_disable>
|
|
15fc: 4c18 lw a4,24(s0)
|
|
15fe: 4854 lw a3,20(s0)
|
|
1600: 01440793 addi a5,s0,20
|
|
1604: c2d8 sw a4,4(a3)
|
|
1606: c314 sw a3,0(a4)
|
|
1608: c85c sw a5,20(s0)
|
|
160a: cc1c sw a5,24(s0)
|
|
160c: 03544783 lbu a5,53(s0)
|
|
1610: 00379713 slli a4,a5,0x3
|
|
1614: c1c18793 addi a5,gp,-996 # 200006c4 <rt_thread_priority_table>
|
|
1618: 97ba add a5,a5,a4
|
|
161a: 4398 lw a4,0(a5)
|
|
161c: 00f71a63 bne a4,a5,1630 <rt_schedule_remove_thread+0x3c>
|
|
1620: 86c18713 addi a4,gp,-1940 # 20000314 <rt_thread_ready_priority_group>
|
|
1624: 5c1c lw a5,56(s0)
|
|
1626: 4314 lw a3,0(a4)
|
|
1628: fff7c793 not a5,a5
|
|
162c: 8ff5 and a5,a5,a3
|
|
162e: c31c sw a5,0(a4)
|
|
1630: 2bb9 jal 1b8e <rt_hw_interrupt_enable>
|
|
1632: d95fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001636 <rt_enter_critical>:
|
|
1636: d6dfe2ef jal t0,3a2 <__riscv_save_0>
|
|
163a: 23a1 jal 1b82 <rt_hw_interrupt_disable>
|
|
163c: 86018793 addi a5,gp,-1952 # 20000308 <rt_scheduler_lock_nest>
|
|
1640: 239a lhu a4,0(a5)
|
|
1642: 0705 addi a4,a4,1
|
|
1644: a39a sh a4,0(a5)
|
|
1646: 23a1 jal 1b8e <rt_hw_interrupt_enable>
|
|
1648: d7ffe06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000164c <rt_exit_critical>:
|
|
164c: d57fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1650: 2b0d jal 1b82 <rt_hw_interrupt_disable>
|
|
1652: 86018713 addi a4,gp,-1952 # 20000308 <rt_scheduler_lock_nest>
|
|
1656: 231e lhu a5,0(a4)
|
|
1658: 17fd addi a5,a5,-1
|
|
165a: 07c2 slli a5,a5,0x10
|
|
165c: 87c1 srai a5,a5,0x10
|
|
165e: a31e sh a5,0(a4)
|
|
1660: 00f04b63 bgtz a5,1676 <rt_exit_critical+0x2a>
|
|
1664: 00071023 sh zero,0(a4)
|
|
1668: 231d jal 1b8e <rt_hw_interrupt_enable>
|
|
166a: 8581a783 lw a5,-1960(gp) # 20000300 <rt_current_thread>
|
|
166e: c391 beqz a5,1672 <rt_exit_critical+0x26>
|
|
1670: 3dc9 jal 1542 <rt_schedule>
|
|
1672: d55fe06f j 3c6 <__riscv_restore_0>
|
|
1676: 2b21 jal 1b8e <rt_hw_interrupt_enable>
|
|
1678: bfed j 1672 <rt_exit_critical+0x26>
|
|
|
|
0000167a <rt_thread_exit>:
|
|
167a: d29fe2ef jal t0,3a2 <__riscv_save_0>
|
|
167e: 8581a403 lw s0,-1960(gp) # 20000300 <rt_current_thread>
|
|
1682: 2301 jal 1b82 <rt_hw_interrupt_disable>
|
|
1684: 84aa mv s1,a0
|
|
1686: 8522 mv a0,s0
|
|
1688: 37b5 jal 15f4 <rt_schedule_remove_thread>
|
|
168a: 4791 li a5,4
|
|
168c: 02f40a23 sb a5,52(s0)
|
|
1690: 04c40513 addi a0,s0,76
|
|
1694: 2e01 jal 19a4 <rt_timer_detach>
|
|
1696: 8522 mv a0,s0
|
|
1698: 35a1 jal 14e0 <rt_object_is_systemobject>
|
|
169a: 4785 li a5,1
|
|
169c: 00f51b63 bne a0,a5,16b2 <rt_thread_exit+0x38>
|
|
16a0: 5c3c lw a5,120(s0)
|
|
16a2: eb81 bnez a5,16b2 <rt_thread_exit+0x38>
|
|
16a4: 8522 mv a0,s0
|
|
16a6: 3351 jal 142a <rt_object_detach>
|
|
16a8: 8526 mv a0,s1
|
|
16aa: 21d5 jal 1b8e <rt_hw_interrupt_enable>
|
|
16ac: 3d59 jal 1542 <rt_schedule>
|
|
16ae: d19fe06f j 3c6 <__riscv_restore_0>
|
|
16b2: 8641a683 lw a3,-1948(gp) # 2000030c <rt_thread_defunct>
|
|
16b6: 01440713 addi a4,s0,20
|
|
16ba: 86e1a223 sw a4,-1948(gp) # 2000030c <rt_thread_defunct>
|
|
16be: c2d8 sw a4,4(a3)
|
|
16c0: 86418793 addi a5,gp,-1948 # 2000030c <rt_thread_defunct>
|
|
16c4: c854 sw a3,20(s0)
|
|
16c6: cc1c sw a5,24(s0)
|
|
16c8: b7c5 j 16a8 <rt_thread_exit+0x2e>
|
|
|
|
000016ca <_rt_thread_init.isra.0>:
|
|
16ca: cd9fe2ef jal t0,3a2 <__riscv_save_0>
|
|
16ce: 842a mv s0,a0
|
|
16d0: 0551 addi a0,a0,20
|
|
16d2: 1141 addi sp,sp,-16
|
|
16d4: cc08 sw a0,24(s0)
|
|
16d6: c848 sw a0,20(s0)
|
|
16d8: d00c sw a1,32(s0)
|
|
16da: d050 sw a2,36(s0)
|
|
16dc: d414 sw a3,40(s0)
|
|
16de: 863a mv a2,a4
|
|
16e0: d458 sw a4,44(s0)
|
|
16e2: 02300593 li a1,35
|
|
16e6: 8536 mv a0,a3
|
|
16e8: c63e sw a5,12(sp)
|
|
16ea: c442 sw a6,8(sp)
|
|
16ec: c02ff0ef jal ra,aee <rt_memset>
|
|
16f0: 5458 lw a4,44(s0)
|
|
16f2: 5410 lw a2,40(s0)
|
|
16f4: 504c lw a1,36(s0)
|
|
16f6: 5008 lw a0,32(s0)
|
|
16f8: 1771 addi a4,a4,-4
|
|
16fa: 000016b7 lui a3,0x1
|
|
16fe: 963a add a2,a2,a4
|
|
1700: 67a68693 addi a3,a3,1658 # 167a <rt_thread_exit>
|
|
1704: 212d jal 1b2e <rt_hw_stack_init>
|
|
1706: 47b2 lw a5,12(sp)
|
|
1708: 4822 lw a6,8(sp)
|
|
170a: 00001637 lui a2,0x1
|
|
170e: cc48 sw a0,28(s0)
|
|
1710: 02f40b23 sb a5,54(s0)
|
|
1714: 02f40aa3 sb a5,53(s0)
|
|
1718: 02042c23 sw zero,56(s0)
|
|
171c: 4781 li a5,0
|
|
171e: 05042223 sw a6,68(s0)
|
|
1722: 05042423 sw a6,72(s0)
|
|
1726: 02042823 sw zero,48(s0)
|
|
172a: 02040a23 sb zero,52(s0)
|
|
172e: 06042c23 sw zero,120(s0)
|
|
1732: 06042e23 sw zero,124(s0)
|
|
1736: 4701 li a4,0
|
|
1738: 86a2 mv a3,s0
|
|
173a: 75860613 addi a2,a2,1880 # 1758 <rt_thread_timeout>
|
|
173e: 85a2 mv a1,s0
|
|
1740: 04c40513 addi a0,s0,76
|
|
1744: 241d jal 196a <rt_timer_init>
|
|
1746: 8701a783 lw a5,-1936(gp) # 20000318 <rt_thread_inited_hook>
|
|
174a: c399 beqz a5,1750 <_rt_thread_init.isra.0+0x86>
|
|
174c: 8522 mv a0,s0
|
|
174e: 9782 jalr a5
|
|
1750: 4501 li a0,0
|
|
1752: 0141 addi sp,sp,16
|
|
1754: c73fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001758 <rt_thread_timeout>:
|
|
1758: c4bfe2ef jal t0,3a2 <__riscv_save_0>
|
|
175c: 4950 lw a2,20(a0)
|
|
175e: 4d14 lw a3,24(a0)
|
|
1760: 5779 li a4,-2
|
|
1762: d918 sw a4,48(a0)
|
|
1764: c254 sw a3,4(a2)
|
|
1766: 01450713 addi a4,a0,20
|
|
176a: c290 sw a2,0(a3)
|
|
176c: cd18 sw a4,24(a0)
|
|
176e: c958 sw a4,20(a0)
|
|
1770: 3d35 jal 15ac <rt_schedule_insert_thread>
|
|
1772: 3bc1 jal 1542 <rt_schedule>
|
|
1774: c53fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001778 <rt_thread_init>:
|
|
1778: c2bfe2ef jal t0,3a2 <__riscv_save_0>
|
|
177c: 1141 addi sp,sp,-16
|
|
177e: 84b2 mv s1,a2
|
|
1780: 862e mv a2,a1
|
|
1782: 4585 li a1,1
|
|
1784: 842a mv s0,a0
|
|
1786: 8936 mv s2,a3
|
|
1788: c046 sw a7,0(sp)
|
|
178a: c63a sw a4,12(sp)
|
|
178c: c43e sw a5,8(sp)
|
|
178e: c242 sw a6,4(sp)
|
|
1790: c3dff0ef jal ra,13cc <rt_object_init>
|
|
1794: 4802 lw a6,0(sp)
|
|
1796: 4792 lw a5,4(sp)
|
|
1798: 4722 lw a4,8(sp)
|
|
179a: 46b2 lw a3,12(sp)
|
|
179c: 864a mv a2,s2
|
|
179e: 85a6 mv a1,s1
|
|
17a0: 8522 mv a0,s0
|
|
17a2: 3725 jal 16ca <_rt_thread_init.isra.0>
|
|
17a4: 0141 addi sp,sp,16
|
|
17a6: c21fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
000017aa <rt_thread_self>:
|
|
17aa: 8581a503 lw a0,-1960(gp) # 20000300 <rt_current_thread>
|
|
17ae: 8082 ret
|
|
|
|
000017b0 <rt_thread_create>:
|
|
17b0: bd9fe2ef jal t0,388 <__riscv_save_4>
|
|
17b4: 1141 addi sp,sp,-16
|
|
17b6: 892e mv s2,a1
|
|
17b8: 85aa mv a1,a0
|
|
17ba: 4505 li a0,1
|
|
17bc: c632 sw a2,12(sp)
|
|
17be: 84b6 mv s1,a3
|
|
17c0: 89ba mv s3,a4
|
|
17c2: 8a3e mv s4,a5
|
|
17c4: c95ff0ef jal ra,1458 <rt_object_allocate>
|
|
17c8: 842a mv s0,a0
|
|
17ca: c911 beqz a0,17de <rt_thread_create+0x2e>
|
|
17cc: 8526 mv a0,s1
|
|
17ce: 9dbff0ef jal ra,11a8 <rt_malloc>
|
|
17d2: 4632 lw a2,12(sp)
|
|
17d4: e909 bnez a0,17e6 <rt_thread_create+0x36>
|
|
17d6: 8522 mv a0,s0
|
|
17d8: cd7ff0ef jal ra,14ae <rt_object_delete>
|
|
17dc: 4401 li s0,0
|
|
17de: 8522 mv a0,s0
|
|
17e0: 0141 addi sp,sp,16
|
|
17e2: bdbfe06f j 3bc <__riscv_restore_4>
|
|
17e6: 86aa mv a3,a0
|
|
17e8: 8852 mv a6,s4
|
|
17ea: 87ce mv a5,s3
|
|
17ec: 8726 mv a4,s1
|
|
17ee: 85ca mv a1,s2
|
|
17f0: 8522 mv a0,s0
|
|
17f2: 3de1 jal 16ca <_rt_thread_init.isra.0>
|
|
17f4: b7ed j 17de <rt_thread_create+0x2e>
|
|
|
|
000017f6 <rt_thread_yield>:
|
|
17f6: badfe2ef jal t0,3a2 <__riscv_save_0>
|
|
17fa: 2661 jal 1b82 <rt_hw_interrupt_disable>
|
|
17fc: 8581a783 lw a5,-1960(gp) # 20000300 <rt_current_thread>
|
|
1800: 4605 li a2,1
|
|
1802: 86aa mv a3,a0
|
|
1804: 0347c703 lbu a4,52(a5)
|
|
1808: 8b3d andi a4,a4,15
|
|
180a: 02c71c63 bne a4,a2,1842 <rt_thread_yield+0x4c>
|
|
180e: 4bd0 lw a2,20(a5)
|
|
1810: 4f98 lw a4,24(a5)
|
|
1812: 02e60863 beq a2,a4,1842 <rt_thread_yield+0x4c>
|
|
1816: c258 sw a4,4(a2)
|
|
1818: c310 sw a2,0(a4)
|
|
181a: 0357c603 lbu a2,53(a5)
|
|
181e: 01478693 addi a3,a5,20
|
|
1822: 060e slli a2,a2,0x3
|
|
1824: c1c18713 addi a4,gp,-996 # 200006c4 <rt_thread_priority_table>
|
|
1828: cf94 sw a3,24(a5)
|
|
182a: 9732 add a4,a4,a2
|
|
182c: 4350 lw a2,4(a4)
|
|
182e: c214 sw a3,0(a2)
|
|
1830: cf90 sw a2,24(a5)
|
|
1832: c354 sw a3,4(a4)
|
|
1834: cbd8 sw a4,20(a5)
|
|
1836: 2ea1 jal 1b8e <rt_hw_interrupt_enable>
|
|
1838: d0bff0ef jal ra,1542 <rt_schedule>
|
|
183c: 4501 li a0,0
|
|
183e: b89fe06f j 3c6 <__riscv_restore_0>
|
|
1842: 8536 mv a0,a3
|
|
1844: 26a9 jal 1b8e <rt_hw_interrupt_enable>
|
|
1846: bfdd j 183c <rt_thread_yield+0x46>
|
|
|
|
00001848 <rt_thread_suspend>:
|
|
1848: 03454783 lbu a5,52(a0)
|
|
184c: 4705 li a4,1
|
|
184e: 8bbd andi a5,a5,15
|
|
1850: 02e79f63 bne a5,a4,188e <rt_thread_suspend+0x46>
|
|
1854: b4ffe2ef jal t0,3a2 <__riscv_save_0>
|
|
1858: 842a mv s0,a0
|
|
185a: 2625 jal 1b82 <rt_hw_interrupt_disable>
|
|
185c: 03444783 lbu a5,52(s0)
|
|
1860: 84aa mv s1,a0
|
|
1862: 8522 mv a0,s0
|
|
1864: 9bc1 andi a5,a5,-16
|
|
1866: 0027e793 ori a5,a5,2
|
|
186a: 02f40a23 sb a5,52(s0)
|
|
186e: d87ff0ef jal ra,15f4 <rt_schedule_remove_thread>
|
|
1872: 04c40513 addi a0,s0,76
|
|
1876: 22f1 jal 1a42 <rt_timer_stop>
|
|
1878: 8526 mv a0,s1
|
|
187a: 2e11 jal 1b8e <rt_hw_interrupt_enable>
|
|
187c: 8781a783 lw a5,-1928(gp) # 20000320 <rt_thread_suspend_hook>
|
|
1880: 4501 li a0,0
|
|
1882: c781 beqz a5,188a <rt_thread_suspend+0x42>
|
|
1884: 8522 mv a0,s0
|
|
1886: 9782 jalr a5
|
|
1888: 4501 li a0,0
|
|
188a: b3dfe06f j 3c6 <__riscv_restore_0>
|
|
188e: 557d li a0,-1
|
|
1890: 8082 ret
|
|
|
|
00001892 <rt_thread_sleep>:
|
|
1892: b11fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1896: 1141 addi sp,sp,-16
|
|
1898: c62a sw a0,12(sp)
|
|
189a: 24e5 jal 1b82 <rt_hw_interrupt_disable>
|
|
189c: 8581a403 lw s0,-1960(gp) # 20000300 <rt_current_thread>
|
|
18a0: 892a mv s2,a0
|
|
18a2: 8522 mv a0,s0
|
|
18a4: 3755 jal 1848 <rt_thread_suspend>
|
|
18a6: 04c40493 addi s1,s0,76
|
|
18aa: 0070 addi a2,sp,12
|
|
18ac: 4581 li a1,0
|
|
18ae: 8526 mv a0,s1
|
|
18b0: 22c9 jal 1a72 <rt_timer_control>
|
|
18b2: 8526 mv a0,s1
|
|
18b4: 2239 jal 19c2 <rt_timer_start>
|
|
18b6: 854a mv a0,s2
|
|
18b8: 2cd9 jal 1b8e <rt_hw_interrupt_enable>
|
|
18ba: c89ff0ef jal ra,1542 <rt_schedule>
|
|
18be: 5818 lw a4,48(s0)
|
|
18c0: 57f9 li a5,-2
|
|
18c2: 00f71463 bne a4,a5,18ca <rt_thread_sleep+0x38>
|
|
18c6: 02042823 sw zero,48(s0)
|
|
18ca: 4501 li a0,0
|
|
18cc: 0141 addi sp,sp,16
|
|
18ce: af9fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
000018d2 <rt_thread_mdelay>:
|
|
18d2: ad1fe2ef jal t0,3a2 <__riscv_save_0>
|
|
18d6: bd3fe0ef jal ra,4a8 <rt_tick_from_millisecond>
|
|
18da: 3f65 jal 1892 <rt_thread_sleep>
|
|
18dc: aebfe06f j 3c6 <__riscv_restore_0>
|
|
|
|
000018e0 <rt_thread_resume>:
|
|
18e0: 03454783 lbu a5,52(a0)
|
|
18e4: 4709 li a4,2
|
|
18e6: 8bbd andi a5,a5,15
|
|
18e8: 04e79063 bne a5,a4,1928 <rt_thread_resume+0x48>
|
|
18ec: ab7fe2ef jal t0,3a2 <__riscv_save_0>
|
|
18f0: 842a mv s0,a0
|
|
18f2: 2c41 jal 1b82 <rt_hw_interrupt_disable>
|
|
18f4: 4854 lw a3,20(s0)
|
|
18f6: 4c18 lw a4,24(s0)
|
|
18f8: 01440793 addi a5,s0,20
|
|
18fc: 84aa mv s1,a0
|
|
18fe: c2d8 sw a4,4(a3)
|
|
1900: c314 sw a3,0(a4)
|
|
1902: cc1c sw a5,24(s0)
|
|
1904: c85c sw a5,20(s0)
|
|
1906: 04c40513 addi a0,s0,76
|
|
190a: 2a25 jal 1a42 <rt_timer_stop>
|
|
190c: 8526 mv a0,s1
|
|
190e: 2441 jal 1b8e <rt_hw_interrupt_enable>
|
|
1910: 8522 mv a0,s0
|
|
1912: c9bff0ef jal ra,15ac <rt_schedule_insert_thread>
|
|
1916: 8741a783 lw a5,-1932(gp) # 2000031c <rt_thread_resume_hook>
|
|
191a: 4501 li a0,0
|
|
191c: c781 beqz a5,1924 <rt_thread_resume+0x44>
|
|
191e: 8522 mv a0,s0
|
|
1920: 9782 jalr a5
|
|
1922: 4501 li a0,0
|
|
1924: aa3fe06f j 3c6 <__riscv_restore_0>
|
|
1928: 557d li a0,-1
|
|
192a: 8082 ret
|
|
|
|
0000192c <rt_thread_startup>:
|
|
192c: a77fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1930: 03654683 lbu a3,54(a0)
|
|
1934: 4705 li a4,1
|
|
1936: 00d71733 sll a4,a4,a3
|
|
193a: dd18 sw a4,56(a0)
|
|
193c: 4709 li a4,2
|
|
193e: 02d50aa3 sb a3,53(a0)
|
|
1942: 02e50a23 sb a4,52(a0)
|
|
1946: 3f69 jal 18e0 <rt_thread_resume>
|
|
1948: 8581a783 lw a5,-1960(gp) # 20000300 <rt_current_thread>
|
|
194c: c399 beqz a5,1952 <rt_thread_startup+0x26>
|
|
194e: bf5ff0ef jal ra,1542 <rt_schedule>
|
|
1952: 4501 li a0,0
|
|
1954: a73fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001958 <_rt_timer_remove.part.1>:
|
|
1958: 4954 lw a3,20(a0)
|
|
195a: 4d18 lw a4,24(a0)
|
|
195c: 01450793 addi a5,a0,20
|
|
1960: c2d8 sw a4,4(a3)
|
|
1962: c314 sw a3,0(a4)
|
|
1964: cd1c sw a5,24(a0)
|
|
1966: c95c sw a5,20(a0)
|
|
1968: 8082 ret
|
|
|
|
0000196a <rt_timer_init>:
|
|
196a: a39fe2ef jal t0,3a2 <__riscv_save_0>
|
|
196e: 1141 addi sp,sp,-16
|
|
1970: 84b2 mv s1,a2
|
|
1972: 862e mv a2,a1
|
|
1974: 45a9 li a1,10
|
|
1976: 842a mv s0,a0
|
|
1978: c636 sw a3,12(sp)
|
|
197a: c43a sw a4,8(sp)
|
|
197c: c23e sw a5,4(sp)
|
|
197e: a4fff0ef jal ra,13cc <rt_object_init>
|
|
1982: 4792 lw a5,4(sp)
|
|
1984: 46b2 lw a3,12(sp)
|
|
1986: 4722 lw a4,8(sp)
|
|
1988: 9bf9 andi a5,a5,-2
|
|
198a: b41c sb a5,9(s0)
|
|
198c: 01440793 addi a5,s0,20
|
|
1990: cc44 sw s1,28(s0)
|
|
1992: d014 sw a3,32(s0)
|
|
1994: 02042423 sw zero,40(s0)
|
|
1998: d058 sw a4,36(s0)
|
|
199a: cc1c sw a5,24(s0)
|
|
199c: c85c sw a5,20(s0)
|
|
199e: 0141 addi sp,sp,16
|
|
19a0: a27fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
000019a4 <rt_timer_detach>:
|
|
19a4: 9fffe2ef jal t0,3a2 <__riscv_save_0>
|
|
19a8: 842a mv s0,a0
|
|
19aa: 2ae1 jal 1b82 <rt_hw_interrupt_disable>
|
|
19ac: 84aa mv s1,a0
|
|
19ae: 8522 mv a0,s0
|
|
19b0: 3765 jal 1958 <_rt_timer_remove.part.1>
|
|
19b2: 8526 mv a0,s1
|
|
19b4: 2ae9 jal 1b8e <rt_hw_interrupt_enable>
|
|
19b6: 8522 mv a0,s0
|
|
19b8: a73ff0ef jal ra,142a <rt_object_detach>
|
|
19bc: 4501 li a0,0
|
|
19be: a09fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
000019c2 <rt_timer_start>:
|
|
19c2: 9e1fe2ef jal t0,3a2 <__riscv_save_0>
|
|
19c6: 842a mv s0,a0
|
|
19c8: 2a6d jal 1b82 <rt_hw_interrupt_disable>
|
|
19ca: 84aa mv s1,a0
|
|
19cc: 8522 mv a0,s0
|
|
19ce: 3769 jal 1958 <_rt_timer_remove.part.1>
|
|
19d0: 341c lbu a5,9(s0)
|
|
19d2: 8526 mv a0,s1
|
|
19d4: 9bf9 andi a5,a5,-2
|
|
19d6: b41c sb a5,9(s0)
|
|
19d8: 2a5d jal 1b8e <rt_hw_interrupt_enable>
|
|
19da: 84c1a783 lw a5,-1972(gp) # 200002f4 <rt_object_take_hook>
|
|
19de: c399 beqz a5,19e4 <rt_timer_start+0x22>
|
|
19e0: 8522 mv a0,s0
|
|
19e2: 9782 jalr a5
|
|
19e4: a97fe0ef jal ra,47a <rt_tick_get>
|
|
19e8: 505c lw a5,36(s0)
|
|
19ea: 953e add a0,a0,a5
|
|
19ec: d408 sw a0,40(s0)
|
|
19ee: 2a51 jal 1b82 <rt_hw_interrupt_disable>
|
|
19f0: 88818713 addi a4,gp,-1912 # 20000330 <rt_timer_list>
|
|
19f4: 00472803 lw a6,4(a4)
|
|
19f8: 80000637 lui a2,0x80000
|
|
19fc: 88818793 addi a5,gp,-1912 # 20000330 <rt_timer_list>
|
|
1a00: ffe64613 xori a2,a2,-2
|
|
1a04: 4398 lw a4,0(a5)
|
|
1a06: 02f81563 bne a6,a5,1a30 <rt_timer_start+0x6e>
|
|
1a0a: 87c18693 addi a3,gp,-1924 # 20000324 <random_nr.2483>
|
|
1a0e: 4290 lw a2,0(a3)
|
|
1a10: 0605 addi a2,a2,1
|
|
1a12: c290 sw a2,0(a3)
|
|
1a14: 01440693 addi a3,s0,20
|
|
1a18: c354 sw a3,4(a4)
|
|
1a1a: c858 sw a4,20(s0)
|
|
1a1c: c394 sw a3,0(a5)
|
|
1a1e: cc1c sw a5,24(s0)
|
|
1a20: 341c lbu a5,9(s0)
|
|
1a22: 0017e793 ori a5,a5,1
|
|
1a26: b41c sb a5,9(s0)
|
|
1a28: 229d jal 1b8e <rt_hw_interrupt_enable>
|
|
1a2a: 4501 li a0,0
|
|
1a2c: 99bfe06f j 3c6 <__riscv_restore_0>
|
|
1a30: 4b54 lw a3,20(a4)
|
|
1a32: 540c lw a1,40(s0)
|
|
1a34: 00b68563 beq a3,a1,1a3e <rt_timer_start+0x7c>
|
|
1a38: 8e8d sub a3,a3,a1
|
|
1a3a: fcd678e3 bgeu a2,a3,1a0a <rt_timer_start+0x48>
|
|
1a3e: 87ba mv a5,a4
|
|
1a40: b7d1 j 1a04 <rt_timer_start+0x42>
|
|
|
|
00001a42 <rt_timer_stop>:
|
|
1a42: 351c lbu a5,9(a0)
|
|
1a44: 8b85 andi a5,a5,1
|
|
1a46: c785 beqz a5,1a6e <rt_timer_stop+0x2c>
|
|
1a48: 95bfe2ef jal t0,3a2 <__riscv_save_0>
|
|
1a4c: 8481a783 lw a5,-1976(gp) # 200002f0 <rt_object_put_hook>
|
|
1a50: 842a mv s0,a0
|
|
1a52: c391 beqz a5,1a56 <rt_timer_stop+0x14>
|
|
1a54: 9782 jalr a5
|
|
1a56: 2235 jal 1b82 <rt_hw_interrupt_disable>
|
|
1a58: 84aa mv s1,a0
|
|
1a5a: 8522 mv a0,s0
|
|
1a5c: 3df5 jal 1958 <_rt_timer_remove.part.1>
|
|
1a5e: 8526 mv a0,s1
|
|
1a60: 223d jal 1b8e <rt_hw_interrupt_enable>
|
|
1a62: 341c lbu a5,9(s0)
|
|
1a64: 4501 li a0,0
|
|
1a66: 9bf9 andi a5,a5,-2
|
|
1a68: b41c sb a5,9(s0)
|
|
1a6a: 95dfe06f j 3c6 <__riscv_restore_0>
|
|
1a6e: 557d li a0,-1
|
|
1a70: 8082 ret
|
|
|
|
00001a72 <rt_timer_control>:
|
|
1a72: 4785 li a5,1
|
|
1a74: 02f58163 beq a1,a5,1a96 <rt_timer_control+0x24>
|
|
1a78: 00b7c563 blt a5,a1,1a82 <rt_timer_control+0x10>
|
|
1a7c: c185 beqz a1,1a9c <rt_timer_control+0x2a>
|
|
1a7e: 4501 li a0,0
|
|
1a80: 8082 ret
|
|
1a82: 4789 li a5,2
|
|
1a84: 00f58f63 beq a1,a5,1aa2 <rt_timer_control+0x30>
|
|
1a88: 478d li a5,3
|
|
1a8a: fef59ae3 bne a1,a5,1a7e <rt_timer_control+0xc>
|
|
1a8e: 351c lbu a5,9(a0)
|
|
1a90: 0027e793 ori a5,a5,2
|
|
1a94: a809 j 1aa6 <rt_timer_control+0x34>
|
|
1a96: 515c lw a5,36(a0)
|
|
1a98: c21c sw a5,0(a2)
|
|
1a9a: b7d5 j 1a7e <rt_timer_control+0xc>
|
|
1a9c: 421c lw a5,0(a2)
|
|
1a9e: d15c sw a5,36(a0)
|
|
1aa0: bff9 j 1a7e <rt_timer_control+0xc>
|
|
1aa2: 351c lbu a5,9(a0)
|
|
1aa4: 9bf5 andi a5,a5,-3
|
|
1aa6: b51c sb a5,9(a0)
|
|
1aa8: bfd9 j 1a7e <rt_timer_control+0xc>
|
|
|
|
00001aaa <rt_timer_check>:
|
|
1aaa: 8d1fe2ef jal t0,37a <__riscv_save_10>
|
|
1aae: 9cdfe0ef jal ra,47a <rt_tick_get>
|
|
1ab2: 8c2a mv s8,a0
|
|
1ab4: 20f9 jal 1b82 <rt_hw_interrupt_disable>
|
|
1ab6: 800009b7 lui s3,0x80000
|
|
1aba: 8a2a mv s4,a0
|
|
1abc: 88818493 addi s1,gp,-1912 # 20000330 <rt_timer_list>
|
|
1ac0: ffe9c993 xori s3,s3,-2
|
|
1ac4: 4b8d li s7,3
|
|
1ac6: 4080 lw s0,0(s1)
|
|
1ac8: 00941663 bne s0,s1,1ad4 <rt_timer_check+0x2a>
|
|
1acc: 8552 mv a0,s4
|
|
1ace: 20c1 jal 1b8e <rt_hw_interrupt_enable>
|
|
1ad0: 8e3fe06f j 3b2 <__riscv_restore_10>
|
|
1ad4: 4848 lw a0,20(s0)
|
|
1ad6: fec40913 addi s2,s0,-20
|
|
1ada: 40ac0533 sub a0,s8,a0
|
|
1ade: fea9e7e3 bltu s3,a0,1acc <rt_timer_check+0x22>
|
|
1ae2: 8801a783 lw a5,-1920(gp) # 20000328 <rt_timer_enter_hook>
|
|
1ae6: c399 beqz a5,1aec <rt_timer_check+0x42>
|
|
1ae8: 854a mv a0,s2
|
|
1aea: 9782 jalr a5
|
|
1aec: 854a mv a0,s2
|
|
1aee: e6bff0ef jal ra,1958 <_rt_timer_remove.part.1>
|
|
1af2: 441c lw a5,8(s0)
|
|
1af4: 4448 lw a0,12(s0)
|
|
1af6: 9782 jalr a5
|
|
1af8: 983fe0ef jal ra,47a <rt_tick_get>
|
|
1afc: 8841a783 lw a5,-1916(gp) # 2000032c <rt_timer_exit_hook>
|
|
1b00: 8c2a mv s8,a0
|
|
1b02: c399 beqz a5,1b08 <rt_timer_check+0x5e>
|
|
1b04: 854a mv a0,s2
|
|
1b06: 9782 jalr a5
|
|
1b08: ff544783 lbu a5,-11(s0)
|
|
1b0c: 0fe7f713 andi a4,a5,254
|
|
1b10: fee40aa3 sb a4,-11(s0)
|
|
1b14: 8b8d andi a5,a5,3
|
|
1b16: fb7798e3 bne a5,s7,1ac6 <rt_timer_check+0x1c>
|
|
1b1a: 854a mv a0,s2
|
|
1b1c: ea7ff0ef jal ra,19c2 <rt_timer_start>
|
|
1b20: b75d j 1ac6 <rt_timer_check+0x1c>
|
|
|
|
00001b22 <rt_system_timer_init>:
|
|
1b22: 88818793 addi a5,gp,-1912 # 20000330 <rt_timer_list>
|
|
1b26: c3dc sw a5,4(a5)
|
|
1b28: c39c sw a5,0(a5)
|
|
1b2a: 8082 ret
|
|
|
|
00001b2c <rt_system_timer_thread_init>:
|
|
1b2c: 8082 ret
|
|
|
|
00001b2e <rt_hw_stack_init>:
|
|
1b2e: 0611 addi a2,a2,4
|
|
1b30: 9a71 andi a2,a2,-4
|
|
1b32: 882a mv a6,a0
|
|
1b34: deadc737 lui a4,0xdeadc
|
|
1b38: f8060513 addi a0,a2,-128 # 7fffff80 <_eusrstack+0x5ffeff80>
|
|
1b3c: 87aa mv a5,a0
|
|
1b3e: eef70713 addi a4,a4,-273 # deadbeef <_eusrstack+0xbeacbeef>
|
|
1b42: 00f61e63 bne a2,a5,1b5e <rt_hw_stack_init+0x30>
|
|
1b46: 67a1 lui a5,0x8
|
|
1b48: 88078793 addi a5,a5,-1920 # 7880 <__rt_init_end+0xf1c>
|
|
1b4c: f8d62223 sw a3,-124(a2)
|
|
1b50: fab62423 sw a1,-88(a2)
|
|
1b54: f9062023 sw a6,-128(a2)
|
|
1b58: f8f62423 sw a5,-120(a2)
|
|
1b5c: 8082 ret
|
|
1b5e: c398 sw a4,0(a5)
|
|
1b60: 0791 addi a5,a5,4
|
|
1b62: b7c5 j 1b42 <rt_hw_stack_init+0x14>
|
|
|
|
00001b64 <sw_setpend>:
|
|
1b64: e000f737 lui a4,0xe000f
|
|
1b68: 431c lw a5,0(a4)
|
|
1b6a: 800006b7 lui a3,0x80000
|
|
1b6e: 8fd5 or a5,a5,a3
|
|
1b70: c31c sw a5,0(a4)
|
|
1b72: 8082 ret
|
|
|
|
00001b74 <sw_clearpend>:
|
|
1b74: e000f737 lui a4,0xe000f
|
|
1b78: 431c lw a5,0(a4)
|
|
1b7a: 0786 slli a5,a5,0x1
|
|
1b7c: 8385 srli a5,a5,0x1
|
|
1b7e: c31c sw a5,0(a4)
|
|
1b80: 8082 ret
|
|
|
|
00001b82 <rt_hw_interrupt_disable>:
|
|
1b82: 6521 lui a0,0x8
|
|
1b84: 80050513 addi a0,a0,-2048 # 7800 <__rt_init_end+0xe9c>
|
|
1b88: 30051573 csrrw a0,mstatus,a0
|
|
1b8c: 8082 ret
|
|
|
|
00001b8e <rt_hw_interrupt_enable>:
|
|
1b8e: 30051073 csrw mstatus,a0
|
|
1b92: 8082 ret
|
|
|
|
00001b94 <rt_hw_context_switch_interrupt>:
|
|
1b94: 80ffe2ef jal t0,3a2 <__riscv_save_0>
|
|
1b98: 89818713 addi a4,gp,-1896 # 20000340 <rt_thread_switch_interrupt_flag>
|
|
1b9c: 4318 lw a4,0(a4)
|
|
1b9e: 89818793 addi a5,gp,-1896 # 20000340 <rt_thread_switch_interrupt_flag>
|
|
1ba2: e319 bnez a4,1ba8 <rt_hw_context_switch_interrupt+0x14>
|
|
1ba4: 88a1a823 sw a0,-1904(gp) # 20000338 <rt_interrupt_from_thread>
|
|
1ba8: 88b1aa23 sw a1,-1900(gp) # 2000033c <rt_interrupt_to_thread>
|
|
1bac: 4705 li a4,1
|
|
1bae: c398 sw a4,0(a5)
|
|
1bb0: 3f55 jal 1b64 <sw_setpend>
|
|
1bb2: 815fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001bb6 <rt_list_len>:
|
|
1bb6: 872a mv a4,a0
|
|
1bb8: 4781 li a5,0
|
|
1bba: 4318 lw a4,0(a4)
|
|
1bbc: 00a71463 bne a4,a0,1bc4 <rt_list_len+0xe>
|
|
1bc0: 853e mv a0,a5
|
|
1bc2: 8082 ret
|
|
1bc4: 0785 addi a5,a5,1
|
|
1bc6: bfd5 j 1bba <rt_list_len+0x4>
|
|
|
|
00001bc8 <reboot>:
|
|
1bc8: beef07b7 lui a5,0xbeef0
|
|
1bcc: e000e737 lui a4,0xe000e
|
|
1bd0: 08078793 addi a5,a5,128 # beef0080 <_eusrstack+0x9eee0080>
|
|
1bd4: c73c sw a5,72(a4)
|
|
1bd6: 4501 li a0,0
|
|
1bd8: 8082 ret
|
|
|
|
00001bda <clear>:
|
|
1bda: fc8fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1bde: 00005537 lui a0,0x5
|
|
1be2: 50050513 addi a0,a0,1280 # 5500 <__fsym_list_mem_name+0x9c>
|
|
1be6: bc8ff0ef jal ra,fae <rt_kprintf>
|
|
1bea: 4501 li a0,0
|
|
1bec: fdafe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001bf0 <object_split>:
|
|
1bf0: fb2fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1bf4: 842a mv s0,a0
|
|
1bf6: 54fd li s1,-1
|
|
1bf8: 00006937 lui s2,0x6
|
|
1bfc: 147d addi s0,s0,-1
|
|
1bfe: 00941463 bne s0,s1,1c06 <object_split+0x16>
|
|
1c02: fc4fe06f j 3c6 <__riscv_restore_0>
|
|
1c06: c6890513 addi a0,s2,-920 # 5c68 <__fsym_reboot_name+0x8>
|
|
1c0a: ba4ff0ef jal ra,fae <rt_kprintf>
|
|
1c0e: b7fd j 1bfc <object_split+0xc>
|
|
|
|
00001c10 <show_wait_queue>:
|
|
1c10: f78fe2ef jal t0,388 <__riscv_save_4>
|
|
1c14: 4100 lw s0,0(a0)
|
|
1c16: 84aa mv s1,a0
|
|
1c18: 00006937 lui s2,0x6
|
|
1c1c: 000069b7 lui s3,0x6
|
|
1c20: 00941463 bne s0,s1,1c28 <show_wait_queue+0x18>
|
|
1c24: f98fe06f j 3bc <__riscv_restore_4>
|
|
1c28: fec40593 addi a1,s0,-20
|
|
1c2c: c6c90513 addi a0,s2,-916 # 5c6c <__fsym_reboot_name+0xc>
|
|
1c30: b7eff0ef jal ra,fae <rt_kprintf>
|
|
1c34: 401c lw a5,0(s0)
|
|
1c36: 00978663 beq a5,s1,1c42 <show_wait_queue+0x32>
|
|
1c3a: c7098513 addi a0,s3,-912 # 5c70 <__fsym_reboot_name+0x10>
|
|
1c3e: b70ff0ef jal ra,fae <rt_kprintf>
|
|
1c42: 4000 lw s0,0(s0)
|
|
1c44: bff1 j 1c20 <show_wait_queue+0x10>
|
|
|
|
00001c46 <object_name_maxlen>:
|
|
1c46: f5cfe2ef jal t0,3a2 <__riscv_save_0>
|
|
1c4a: 892e mv s2,a1
|
|
1c4c: fc9fe0ef jal ra,c14 <rt_strlen>
|
|
1c50: 842a mv s0,a0
|
|
1c52: 9e5ff0ef jal ra,1636 <rt_enter_critical>
|
|
1c56: 00092483 lw s1,0(s2)
|
|
1c5a: 01249c63 bne s1,s2,1c72 <object_name_maxlen+0x2c>
|
|
1c5e: 9efff0ef jal ra,164c <rt_exit_critical>
|
|
1c62: 47a1 li a5,8
|
|
1c64: 0087c363 blt a5,s0,1c6a <object_name_maxlen+0x24>
|
|
1c68: e011 bnez s0,1c6c <object_name_maxlen+0x26>
|
|
1c6a: 4421 li s0,8
|
|
1c6c: 8522 mv a0,s0
|
|
1c6e: f58fe06f j 3c6 <__riscv_restore_0>
|
|
1c72: ff448513 addi a0,s1,-12
|
|
1c76: f9ffe0ef jal ra,c14 <rt_strlen>
|
|
1c7a: 00a45363 bge s0,a0,1c80 <object_name_maxlen+0x3a>
|
|
1c7e: 842a mv s0,a0
|
|
1c80: 4084 lw s1,0(s1)
|
|
1c82: bfe1 j 1c5a <object_name_maxlen+0x14>
|
|
|
|
00001c84 <list_thread>:
|
|
1c84: ef6fe2ef jal t0,37a <__riscv_save_10>
|
|
1c88: 4505 li a0,1
|
|
1c8a: f18ff0ef jal ra,13a2 <rt_object_get_information>
|
|
1c8e: 000059b7 lui s3,0x5
|
|
1c92: 00450913 addi s2,a0,4
|
|
1c96: 842a mv s0,a0
|
|
1c98: 85ca mv a1,s2
|
|
1c9a: 7b498513 addi a0,s3,1972 # 57b4 <__fsym_list_mem_name+0x350>
|
|
1c9e: 3765 jal 1c46 <object_name_maxlen>
|
|
1ca0: 85aa mv a1,a0
|
|
1ca2: 84aa mv s1,a0
|
|
1ca4: 00005537 lui a0,0x5
|
|
1ca8: 7b498613 addi a2,s3,1972
|
|
1cac: 7bc50513 addi a0,a0,1980 # 57bc <__fsym_list_mem_name+0x358>
|
|
1cb0: afeff0ef jal ra,fae <rt_kprintf>
|
|
1cb4: 8526 mv a0,s1
|
|
1cb6: f3bff0ef jal ra,1bf0 <object_split>
|
|
1cba: 00006537 lui a0,0x6
|
|
1cbe: 80050513 addi a0,a0,-2048 # 5800 <__fsym_list_mem_name+0x39c>
|
|
1cc2: aecff0ef jal ra,fae <rt_kprintf>
|
|
1cc6: 4040 lw s0,4(s0)
|
|
1cc8: 000069b7 lui s3,0x6
|
|
1ccc: 4a05 li s4,1
|
|
1cce: 4a89 li s5,2
|
|
1cd0: 00006b37 lui s6,0x6
|
|
1cd4: 00006bb7 lui s7,0x6
|
|
1cd8: 00006c37 lui s8,0x6
|
|
1cdc: 00006cb7 lui s9,0x6
|
|
1ce0: 00006d37 lui s10,0x6
|
|
1ce4: 00891563 bne s2,s0,1cee <list_thread+0x6a>
|
|
1ce8: 4501 li a0,0
|
|
1cea: ec8fe06f j 3b2 <__riscv_restore_10>
|
|
1cee: 02944703 lbu a4,41(s0)
|
|
1cf2: 84098513 addi a0,s3,-1984 # 5840 <__fsym_list_mem_name+0x3dc>
|
|
1cf6: ff440693 addi a3,s0,-12
|
|
1cfa: 4621 li a2,8
|
|
1cfc: 85a6 mv a1,s1
|
|
1cfe: ab0ff0ef jal ra,fae <rt_kprintf>
|
|
1d02: 02844783 lbu a5,40(s0)
|
|
1d06: 84cc8513 addi a0,s9,-1972 # 584c <__fsym_list_mem_name+0x3e8>
|
|
1d0a: 8bbd andi a5,a5,15
|
|
1d0c: 01478e63 beq a5,s4,1d28 <list_thread+0xa4>
|
|
1d10: 858c0513 addi a0,s8,-1960 # 5858 <__fsym_list_mem_name+0x3f4>
|
|
1d14: 01578a63 beq a5,s5,1d28 <list_thread+0xa4>
|
|
1d18: 864b8513 addi a0,s7,-1948 # 5864 <__fsym_list_mem_name+0x400>
|
|
1d1c: c791 beqz a5,1d28 <list_thread+0xa4>
|
|
1d1e: 4711 li a4,4
|
|
1d20: 00e79663 bne a5,a4,1d2c <list_thread+0xa8>
|
|
1d24: 870b0513 addi a0,s6,-1936 # 5870 <__fsym_list_mem_name+0x40c>
|
|
1d28: a86ff0ef jal ra,fae <rt_kprintf>
|
|
1d2c: 4c4c lw a1,28(s0)
|
|
1d2e: 02300793 li a5,35
|
|
1d32: 86ae mv a3,a1
|
|
1d34: 2298 lbu a4,0(a3)
|
|
1d36: 02f70663 beq a4,a5,1d62 <list_thread+0xde>
|
|
1d3a: 5010 lw a2,32(s0)
|
|
1d3c: 06400793 li a5,100
|
|
1d40: 4808 lw a0,16(s0)
|
|
1d42: 95b2 add a1,a1,a2
|
|
1d44: 40d586b3 sub a3,a1,a3
|
|
1d48: 02f686b3 mul a3,a3,a5
|
|
1d4c: 5c58 lw a4,60(s0)
|
|
1d4e: 505c lw a5,36(s0)
|
|
1d50: 8d89 sub a1,a1,a0
|
|
1d52: 87cd0513 addi a0,s10,-1924 # 587c <__fsym_list_mem_name+0x418>
|
|
1d56: 02c6d6b3 divu a3,a3,a2
|
|
1d5a: a54ff0ef jal ra,fae <rt_kprintf>
|
|
1d5e: 4000 lw s0,0(s0)
|
|
1d60: b751 j 1ce4 <list_thread+0x60>
|
|
1d62: 0685 addi a3,a3,1
|
|
1d64: bfc1 j 1d34 <list_thread+0xb0>
|
|
|
|
00001d66 <list_sem>:
|
|
1d66: e22fe2ef jal t0,388 <__riscv_save_4>
|
|
1d6a: 1141 addi sp,sp,-16
|
|
1d6c: 4509 li a0,2
|
|
1d6e: e34ff0ef jal ra,13a2 <rt_object_get_information>
|
|
1d72: 00450993 addi s3,a0,4
|
|
1d76: 00005937 lui s2,0x5
|
|
1d7a: 842a mv s0,a0
|
|
1d7c: 85ce mv a1,s3
|
|
1d7e: 75490513 addi a0,s2,1876 # 5754 <__fsym_list_mem_name+0x2f0>
|
|
1d82: ec5ff0ef jal ra,1c46 <object_name_maxlen>
|
|
1d86: 85aa mv a1,a0
|
|
1d88: 84aa mv s1,a0
|
|
1d8a: 00005537 lui a0,0x5
|
|
1d8e: 75490613 addi a2,s2,1876
|
|
1d92: 76050513 addi a0,a0,1888 # 5760 <__fsym_list_mem_name+0x2fc>
|
|
1d96: a18ff0ef jal ra,fae <rt_kprintf>
|
|
1d9a: 8526 mv a0,s1
|
|
1d9c: e55ff0ef jal ra,1bf0 <object_split>
|
|
1da0: 00005537 lui a0,0x5
|
|
1da4: 77c50513 addi a0,a0,1916 # 577c <__fsym_list_mem_name+0x318>
|
|
1da8: a06ff0ef jal ra,fae <rt_kprintf>
|
|
1dac: 4040 lw s0,4(s0)
|
|
1dae: 00005a37 lui s4,0x5
|
|
1db2: 00005ab7 lui s5,0x5
|
|
1db6: 00005b37 lui s6,0x5
|
|
1dba: 00899663 bne s3,s0,1dc6 <list_sem+0x60>
|
|
1dbe: 4501 li a0,0
|
|
1dc0: 0141 addi sp,sp,16
|
|
1dc2: dfafe06f j 3bc <__riscv_restore_4>
|
|
1dc6: 281a lhu a4,16(s0)
|
|
1dc8: 441c lw a5,8(s0)
|
|
1dca: ff440693 addi a3,s0,-12
|
|
1dce: 00840913 addi s2,s0,8
|
|
1dd2: c636 sw a3,12(sp)
|
|
1dd4: c43a sw a4,8(sp)
|
|
1dd6: 854a mv a0,s2
|
|
1dd8: 02f90663 beq s2,a5,1e04 <list_sem+0x9e>
|
|
1ddc: ddbff0ef jal ra,1bb6 <rt_list_len>
|
|
1de0: 4722 lw a4,8(sp)
|
|
1de2: 46b2 lw a3,12(sp)
|
|
1de4: 87aa mv a5,a0
|
|
1de6: 4621 li a2,8
|
|
1de8: 85a6 mv a1,s1
|
|
1dea: 794a8513 addi a0,s5,1940 # 5794 <__fsym_list_mem_name+0x330>
|
|
1dee: 9c0ff0ef jal ra,fae <rt_kprintf>
|
|
1df2: 854a mv a0,s2
|
|
1df4: e1dff0ef jal ra,1c10 <show_wait_queue>
|
|
1df8: 580b0513 addi a0,s6,1408 # 5580 <__fsym_list_mem_name+0x11c>
|
|
1dfc: 9b2ff0ef jal ra,fae <rt_kprintf>
|
|
1e00: 4000 lw s0,0(s0)
|
|
1e02: bf65 j 1dba <list_sem+0x54>
|
|
1e04: db3ff0ef jal ra,1bb6 <rt_list_len>
|
|
1e08: 4722 lw a4,8(sp)
|
|
1e0a: 46b2 lw a3,12(sp)
|
|
1e0c: 87aa mv a5,a0
|
|
1e0e: 4621 li a2,8
|
|
1e10: 85a6 mv a1,s1
|
|
1e12: 7a4a0513 addi a0,s4,1956 # 57a4 <__fsym_list_mem_name+0x340>
|
|
1e16: 998ff0ef jal ra,fae <rt_kprintf>
|
|
1e1a: b7dd j 1e00 <list_sem+0x9a>
|
|
|
|
00001e1c <list_event>:
|
|
1e1c: d6cfe2ef jal t0,388 <__riscv_save_4>
|
|
1e20: 1141 addi sp,sp,-16
|
|
1e22: 4511 li a0,4
|
|
1e24: d7eff0ef jal ra,13a2 <rt_object_get_information>
|
|
1e28: 00450993 addi s3,a0,4
|
|
1e2c: 00005937 lui s2,0x5
|
|
1e30: 842a mv s0,a0
|
|
1e32: 85ce mv a1,s3
|
|
1e34: 59890513 addi a0,s2,1432 # 5598 <__fsym_list_mem_name+0x134>
|
|
1e38: e0fff0ef jal ra,1c46 <object_name_maxlen>
|
|
1e3c: 85aa mv a1,a0
|
|
1e3e: 84aa mv s1,a0
|
|
1e40: 00005537 lui a0,0x5
|
|
1e44: 59890613 addi a2,s2,1432
|
|
1e48: 5a050513 addi a0,a0,1440 # 55a0 <__fsym_list_mem_name+0x13c>
|
|
1e4c: 962ff0ef jal ra,fae <rt_kprintf>
|
|
1e50: 8526 mv a0,s1
|
|
1e52: d9fff0ef jal ra,1bf0 <object_split>
|
|
1e56: 00005537 lui a0,0x5
|
|
1e5a: 5c450513 addi a0,a0,1476 # 55c4 <__fsym_list_mem_name+0x160>
|
|
1e5e: 950ff0ef jal ra,fae <rt_kprintf>
|
|
1e62: 4040 lw s0,4(s0)
|
|
1e64: 00005a37 lui s4,0x5
|
|
1e68: 00005ab7 lui s5,0x5
|
|
1e6c: 00005b37 lui s6,0x5
|
|
1e70: 00899663 bne s3,s0,1e7c <list_event+0x60>
|
|
1e74: 4501 li a0,0
|
|
1e76: 0141 addi sp,sp,16
|
|
1e78: d44fe06f j 3bc <__riscv_restore_4>
|
|
1e7c: 441c lw a5,8(s0)
|
|
1e7e: 00840913 addi s2,s0,8
|
|
1e82: ff440693 addi a3,s0,-12
|
|
1e86: 4818 lw a4,16(s0)
|
|
1e88: 02f90963 beq s2,a5,1eba <list_event+0x9e>
|
|
1e8c: 854a mv a0,s2
|
|
1e8e: c636 sw a3,12(sp)
|
|
1e90: c43a sw a4,8(sp)
|
|
1e92: d25ff0ef jal ra,1bb6 <rt_list_len>
|
|
1e96: 4722 lw a4,8(sp)
|
|
1e98: 46b2 lw a3,12(sp)
|
|
1e9a: 87aa mv a5,a0
|
|
1e9c: 4621 li a2,8
|
|
1e9e: 85a6 mv a1,s1
|
|
1ea0: 5e4a8513 addi a0,s5,1508 # 55e4 <__fsym_list_mem_name+0x180>
|
|
1ea4: 90aff0ef jal ra,fae <rt_kprintf>
|
|
1ea8: 854a mv a0,s2
|
|
1eaa: d67ff0ef jal ra,1c10 <show_wait_queue>
|
|
1eae: 580b0513 addi a0,s6,1408 # 5580 <__fsym_list_mem_name+0x11c>
|
|
1eb2: 8fcff0ef jal ra,fae <rt_kprintf>
|
|
1eb6: 4000 lw s0,0(s0)
|
|
1eb8: bf65 j 1e70 <list_event+0x54>
|
|
1eba: 4621 li a2,8
|
|
1ebc: 85a6 mv a1,s1
|
|
1ebe: 5fca0513 addi a0,s4,1532 # 55fc <__fsym_list_mem_name+0x198>
|
|
1ec2: 8ecff0ef jal ra,fae <rt_kprintf>
|
|
1ec6: bfc5 j 1eb6 <list_event+0x9a>
|
|
|
|
00001ec8 <list_mutex>:
|
|
1ec8: cc0fe2ef jal t0,388 <__riscv_save_4>
|
|
1ecc: 1141 addi sp,sp,-16
|
|
1ece: 450d li a0,3
|
|
1ed0: cd2ff0ef jal ra,13a2 <rt_object_get_information>
|
|
1ed4: 000059b7 lui s3,0x5
|
|
1ed8: 00450913 addi s2,a0,4
|
|
1edc: 842a mv s0,a0
|
|
1ede: 85ca mv a1,s2
|
|
1ee0: 6f098513 addi a0,s3,1776 # 56f0 <__fsym_list_mem_name+0x28c>
|
|
1ee4: d63ff0ef jal ra,1c46 <object_name_maxlen>
|
|
1ee8: 85aa mv a1,a0
|
|
1eea: 84aa mv s1,a0
|
|
1eec: 00005537 lui a0,0x5
|
|
1ef0: 6f098613 addi a2,s3,1776
|
|
1ef4: 6f850513 addi a0,a0,1784 # 56f8 <__fsym_list_mem_name+0x294>
|
|
1ef8: 8b6ff0ef jal ra,fae <rt_kprintf>
|
|
1efc: 8526 mv a0,s1
|
|
1efe: cf3ff0ef jal ra,1bf0 <object_split>
|
|
1f02: 00005537 lui a0,0x5
|
|
1f06: 71c50513 addi a0,a0,1820 # 571c <__fsym_list_mem_name+0x2b8>
|
|
1f0a: 8a4ff0ef jal ra,fae <rt_kprintf>
|
|
1f0e: 4040 lw s0,4(s0)
|
|
1f10: 000059b7 lui s3,0x5
|
|
1f14: 00891663 bne s2,s0,1f20 <list_mutex+0x58>
|
|
1f18: 4501 li a0,0
|
|
1f1a: 0141 addi sp,sp,16
|
|
1f1c: ca0fe06f j 3bc <__riscv_restore_4>
|
|
1f20: ff440693 addi a3,s0,-12
|
|
1f24: 00840513 addi a0,s0,8
|
|
1f28: c636 sw a3,12(sp)
|
|
1f2a: c8dff0ef jal ra,1bb6 <rt_list_len>
|
|
1f2e: 01344803 lbu a6,19(s0)
|
|
1f32: 485c lw a5,20(s0)
|
|
1f34: 46b2 lw a3,12(sp)
|
|
1f36: 88aa mv a7,a0
|
|
1f38: 4721 li a4,8
|
|
1f3a: 4621 li a2,8
|
|
1f3c: 85a6 mv a1,s1
|
|
1f3e: 73c98513 addi a0,s3,1852 # 573c <__fsym_list_mem_name+0x2d8>
|
|
1f42: 86cff0ef jal ra,fae <rt_kprintf>
|
|
1f46: 4000 lw s0,0(s0)
|
|
1f48: b7f1 j 1f14 <list_mutex+0x4c>
|
|
|
|
00001f4a <list_mailbox>:
|
|
1f4a: c3efe2ef jal t0,388 <__riscv_save_4>
|
|
1f4e: 1141 addi sp,sp,-16
|
|
1f50: 4515 li a0,5
|
|
1f52: c50ff0ef jal ra,13a2 <rt_object_get_information>
|
|
1f56: 00450993 addi s3,a0,4
|
|
1f5a: 00005937 lui s2,0x5
|
|
1f5e: 842a mv s0,a0
|
|
1f60: 85ce mv a1,s3
|
|
1f62: 61090513 addi a0,s2,1552 # 5610 <__fsym_list_mem_name+0x1ac>
|
|
1f66: ce1ff0ef jal ra,1c46 <object_name_maxlen>
|
|
1f6a: 85aa mv a1,a0
|
|
1f6c: 84aa mv s1,a0
|
|
1f6e: 00005537 lui a0,0x5
|
|
1f72: 61090613 addi a2,s2,1552
|
|
1f76: 61850513 addi a0,a0,1560 # 5618 <__fsym_list_mem_name+0x1b4>
|
|
1f7a: 834ff0ef jal ra,fae <rt_kprintf>
|
|
1f7e: 8526 mv a0,s1
|
|
1f80: c71ff0ef jal ra,1bf0 <object_split>
|
|
1f84: 00005537 lui a0,0x5
|
|
1f88: 63c50513 addi a0,a0,1596 # 563c <__fsym_list_mem_name+0x1d8>
|
|
1f8c: 822ff0ef jal ra,fae <rt_kprintf>
|
|
1f90: 4040 lw s0,4(s0)
|
|
1f92: 00005a37 lui s4,0x5
|
|
1f96: 00005ab7 lui s5,0x5
|
|
1f9a: 00005b37 lui s6,0x5
|
|
1f9e: 00899663 bne s3,s0,1faa <list_mailbox+0x60>
|
|
1fa2: 4501 li a0,0
|
|
1fa4: 0141 addi sp,sp,16
|
|
1fa6: c16fe06f j 3bc <__riscv_restore_4>
|
|
1faa: 287a lhu a4,22(s0)
|
|
1fac: 285e lhu a5,20(s0)
|
|
1fae: 4410 lw a2,8(s0)
|
|
1fb0: ff440693 addi a3,s0,-12
|
|
1fb4: 00840913 addi s2,s0,8
|
|
1fb8: c636 sw a3,12(sp)
|
|
1fba: c43a sw a4,8(sp)
|
|
1fbc: c23e sw a5,4(sp)
|
|
1fbe: 854a mv a0,s2
|
|
1fc0: 02c90763 beq s2,a2,1fee <list_mailbox+0xa4>
|
|
1fc4: bf3ff0ef jal ra,1bb6 <rt_list_len>
|
|
1fc8: 4792 lw a5,4(sp)
|
|
1fca: 4722 lw a4,8(sp)
|
|
1fcc: 46b2 lw a3,12(sp)
|
|
1fce: 882a mv a6,a0
|
|
1fd0: 4621 li a2,8
|
|
1fd2: 85a6 mv a1,s1
|
|
1fd4: 658a8513 addi a0,s5,1624 # 5658 <__fsym_list_mem_name+0x1f4>
|
|
1fd8: fd7fe0ef jal ra,fae <rt_kprintf>
|
|
1fdc: 854a mv a0,s2
|
|
1fde: c33ff0ef jal ra,1c10 <show_wait_queue>
|
|
1fe2: 580b0513 addi a0,s6,1408 # 5580 <__fsym_list_mem_name+0x11c>
|
|
1fe6: fc9fe0ef jal ra,fae <rt_kprintf>
|
|
1fea: 4000 lw s0,0(s0)
|
|
1fec: bf4d j 1f9e <list_mailbox+0x54>
|
|
1fee: bc9ff0ef jal ra,1bb6 <rt_list_len>
|
|
1ff2: 4792 lw a5,4(sp)
|
|
1ff4: 4722 lw a4,8(sp)
|
|
1ff6: 46b2 lw a3,12(sp)
|
|
1ff8: 882a mv a6,a0
|
|
1ffa: 4621 li a2,8
|
|
1ffc: 85a6 mv a1,s1
|
|
1ffe: 670a0513 addi a0,s4,1648 # 5670 <__fsym_list_mem_name+0x20c>
|
|
2002: fadfe0ef jal ra,fae <rt_kprintf>
|
|
2006: b7d5 j 1fea <list_mailbox+0xa0>
|
|
|
|
00002008 <list_msgqueue>:
|
|
2008: b80fe2ef jal t0,388 <__riscv_save_4>
|
|
200c: 1141 addi sp,sp,-16
|
|
200e: 4519 li a0,6
|
|
2010: b92ff0ef jal ra,13a2 <rt_object_get_information>
|
|
2014: 00450993 addi s3,a0,4
|
|
2018: 00005937 lui s2,0x5
|
|
201c: 842a mv s0,a0
|
|
201e: 85ce mv a1,s3
|
|
2020: 68890513 addi a0,s2,1672 # 5688 <__fsym_list_mem_name+0x224>
|
|
2024: c23ff0ef jal ra,1c46 <object_name_maxlen>
|
|
2028: 85aa mv a1,a0
|
|
202a: 84aa mv s1,a0
|
|
202c: 00005537 lui a0,0x5
|
|
2030: 68890613 addi a2,s2,1672
|
|
2034: 69450513 addi a0,a0,1684 # 5694 <__fsym_list_mem_name+0x230>
|
|
2038: f77fe0ef jal ra,fae <rt_kprintf>
|
|
203c: 8526 mv a0,s1
|
|
203e: bb3ff0ef jal ra,1bf0 <object_split>
|
|
2042: 00005537 lui a0,0x5
|
|
2046: 6b050513 addi a0,a0,1712 # 56b0 <__fsym_list_mem_name+0x24c>
|
|
204a: f65fe0ef jal ra,fae <rt_kprintf>
|
|
204e: 4040 lw s0,4(s0)
|
|
2050: 00005a37 lui s4,0x5
|
|
2054: 00005ab7 lui s5,0x5
|
|
2058: 00005b37 lui s6,0x5
|
|
205c: 00899663 bne s3,s0,2068 <list_msgqueue+0x60>
|
|
2060: 4501 li a0,0
|
|
2062: 0141 addi sp,sp,16
|
|
2064: b58fe06f j 3bc <__riscv_restore_4>
|
|
2068: 2c1a lhu a4,24(s0)
|
|
206a: 441c lw a5,8(s0)
|
|
206c: ff440693 addi a3,s0,-12
|
|
2070: 00840913 addi s2,s0,8
|
|
2074: c636 sw a3,12(sp)
|
|
2076: c43a sw a4,8(sp)
|
|
2078: 854a mv a0,s2
|
|
207a: 02f90663 beq s2,a5,20a6 <list_msgqueue+0x9e>
|
|
207e: b39ff0ef jal ra,1bb6 <rt_list_len>
|
|
2082: 4722 lw a4,8(sp)
|
|
2084: 46b2 lw a3,12(sp)
|
|
2086: 87aa mv a5,a0
|
|
2088: 4621 li a2,8
|
|
208a: 85a6 mv a1,s1
|
|
208c: 6c8a8513 addi a0,s5,1736 # 56c8 <__fsym_list_mem_name+0x264>
|
|
2090: f1ffe0ef jal ra,fae <rt_kprintf>
|
|
2094: 854a mv a0,s2
|
|
2096: b7bff0ef jal ra,1c10 <show_wait_queue>
|
|
209a: 580b0513 addi a0,s6,1408 # 5580 <__fsym_list_mem_name+0x11c>
|
|
209e: f11fe0ef jal ra,fae <rt_kprintf>
|
|
20a2: 4000 lw s0,0(s0)
|
|
20a4: bf65 j 205c <list_msgqueue+0x54>
|
|
20a6: b11ff0ef jal ra,1bb6 <rt_list_len>
|
|
20aa: 4722 lw a4,8(sp)
|
|
20ac: 46b2 lw a3,12(sp)
|
|
20ae: 87aa mv a5,a0
|
|
20b0: 4621 li a2,8
|
|
20b2: 85a6 mv a1,s1
|
|
20b4: 6dca0513 addi a0,s4,1756 # 56dc <__fsym_list_mem_name+0x278>
|
|
20b8: ef7fe0ef jal ra,fae <rt_kprintf>
|
|
20bc: b7dd j 20a2 <list_msgqueue+0x9a>
|
|
|
|
000020be <list_device>:
|
|
20be: acafe2ef jal t0,388 <__riscv_save_4>
|
|
20c2: 715d addi sp,sp,-80
|
|
20c4: 4525 li a0,9
|
|
20c6: adcff0ef jal ra,13a2 <rt_object_get_information>
|
|
20ca: 6595 lui a1,0x5
|
|
20cc: 05000613 li a2,80
|
|
20d0: 842a mv s0,a0
|
|
20d2: 00450913 addi s2,a0,4
|
|
20d6: 1ac58593 addi a1,a1,428 # 51ac <strncmp+0x28>
|
|
20da: 850a mv a0,sp
|
|
20dc: 7b7020ef jal ra,5092 <memcpy>
|
|
20e0: 000059b7 lui s3,0x5
|
|
20e4: 85ca mv a1,s2
|
|
20e6: 53098513 addi a0,s3,1328 # 5530 <__fsym_list_mem_name+0xcc>
|
|
20ea: b5dff0ef jal ra,1c46 <object_name_maxlen>
|
|
20ee: 85aa mv a1,a0
|
|
20f0: 84aa mv s1,a0
|
|
20f2: 00005537 lui a0,0x5
|
|
20f6: 53098613 addi a2,s3,1328
|
|
20fa: 53850513 addi a0,a0,1336 # 5538 <__fsym_list_mem_name+0xd4>
|
|
20fe: eb1fe0ef jal ra,fae <rt_kprintf>
|
|
2102: 8526 mv a0,s1
|
|
2104: aedff0ef jal ra,1bf0 <object_split>
|
|
2108: 00005537 lui a0,0x5
|
|
210c: 56050513 addi a0,a0,1376 # 5560 <__fsym_list_mem_name+0xfc>
|
|
2110: e9ffe0ef jal ra,fae <rt_kprintf>
|
|
2114: 4040 lw s0,4(s0)
|
|
2116: 49d1 li s3,20
|
|
2118: 00005a37 lui s4,0x5
|
|
211c: 00891663 bne s2,s0,2128 <list_device+0x6a>
|
|
2120: 4501 li a0,0
|
|
2122: 6161 addi sp,sp,80
|
|
2124: a98fe06f j 3bc <__riscv_restore_4>
|
|
2128: 441c lw a5,8(s0)
|
|
212a: ff440693 addi a3,s0,-12
|
|
212e: 02f9e063 bltu s3,a5,214e <list_device+0x90>
|
|
2132: 0898 addi a4,sp,80
|
|
2134: 078a slli a5,a5,0x2
|
|
2136: 97ba add a5,a5,a4
|
|
2138: fb07a703 lw a4,-80(a5)
|
|
213c: 281c lbu a5,16(s0)
|
|
213e: 4621 li a2,8
|
|
2140: 85a6 mv a1,s1
|
|
2142: 584a0513 addi a0,s4,1412 # 5584 <__fsym_list_mem_name+0x120>
|
|
2146: e69fe0ef jal ra,fae <rt_kprintf>
|
|
214a: 4000 lw s0,0(s0)
|
|
214c: bfc1 j 211c <list_device+0x5e>
|
|
214e: 4746 lw a4,80(sp)
|
|
2150: b7f5 j 213c <list_device+0x7e>
|
|
|
|
00002152 <list_timer>:
|
|
2152: a36fe2ef jal t0,388 <__riscv_save_4>
|
|
2156: 4529 li a0,10
|
|
2158: a4aff0ef jal ra,13a2 <rt_object_get_information>
|
|
215c: 000069b7 lui s3,0x6
|
|
2160: 00450913 addi s2,a0,4
|
|
2164: 842a mv s0,a0
|
|
2166: 85ca mv a1,s2
|
|
2168: 8a498513 addi a0,s3,-1884 # 58a4 <__fsym_list_mem_name+0x440>
|
|
216c: adbff0ef jal ra,1c46 <object_name_maxlen>
|
|
2170: 85aa mv a1,a0
|
|
2172: 84aa mv s1,a0
|
|
2174: 00006537 lui a0,0x6
|
|
2178: 8a498613 addi a2,s3,-1884
|
|
217c: 8ac50513 addi a0,a0,-1876 # 58ac <__fsym_list_mem_name+0x448>
|
|
2180: e2ffe0ef jal ra,fae <rt_kprintf>
|
|
2184: 8526 mv a0,s1
|
|
2186: a6bff0ef jal ra,1bf0 <object_split>
|
|
218a: 00006537 lui a0,0x6
|
|
218e: 8d450513 addi a0,a0,-1836 # 58d4 <__fsym_list_mem_name+0x470>
|
|
2192: e1dfe0ef jal ra,fae <rt_kprintf>
|
|
2196: 4040 lw s0,4(s0)
|
|
2198: 000069b7 lui s3,0x6
|
|
219c: 00006a37 lui s4,0x6
|
|
21a0: 00006ab7 lui s5,0x6
|
|
21a4: 00891e63 bne s2,s0,21c0 <list_timer+0x6e>
|
|
21a8: ad2fe0ef jal ra,47a <rt_tick_get>
|
|
21ac: 85aa mv a1,a0
|
|
21ae: 00006537 lui a0,0x6
|
|
21b2: 92c50513 addi a0,a0,-1748 # 592c <__fsym_list_mem_name+0x4c8>
|
|
21b6: df9fe0ef jal ra,fae <rt_kprintf>
|
|
21ba: 4501 li a0,0
|
|
21bc: a00fe06f j 3bc <__riscv_restore_4>
|
|
21c0: 4c5c lw a5,28(s0)
|
|
21c2: 4c18 lw a4,24(s0)
|
|
21c4: 8f898513 addi a0,s3,-1800 # 58f8 <__fsym_list_mem_name+0x494>
|
|
21c8: ff440693 addi a3,s0,-12
|
|
21cc: 4621 li a2,8
|
|
21ce: 85a6 mv a1,s1
|
|
21d0: ddffe0ef jal ra,fae <rt_kprintf>
|
|
21d4: ffd44783 lbu a5,-3(s0)
|
|
21d8: 910a8513 addi a0,s5,-1776 # 5910 <__fsym_list_mem_name+0x4ac>
|
|
21dc: 8b85 andi a5,a5,1
|
|
21de: e399 bnez a5,21e4 <list_timer+0x92>
|
|
21e0: 91ca0513 addi a0,s4,-1764 # 591c <__fsym_list_mem_name+0x4b8>
|
|
21e4: dcbfe0ef jal ra,fae <rt_kprintf>
|
|
21e8: 4000 lw s0,0(s0)
|
|
21ea: bf6d j 21a4 <list_timer+0x52>
|
|
|
|
000021ec <list>:
|
|
21ec: 99cfe2ef jal t0,388 <__riscv_save_4>
|
|
21f0: 00005537 lui a0,0x5
|
|
21f4: 50850513 addi a0,a0,1288 # 5508 <__fsym_list_mem_name+0xa4>
|
|
21f8: db7fe0ef jal ra,fae <rt_kprintf>
|
|
21fc: 8a01a403 lw s0,-1888(gp) # 20000348 <_syscall_table_begin>
|
|
2200: 000059b7 lui s3,0x5
|
|
2204: 00005a37 lui s4,0x5
|
|
2208: 8a41a783 lw a5,-1884(gp) # 2000034c <_syscall_table_end>
|
|
220c: 00f46563 bltu s0,a5,2216 <list+0x2a>
|
|
2210: 4501 li a0,0
|
|
2212: 9aafe06f j 3bc <__riscv_restore_4>
|
|
2216: 4004 lw s1,0(s0)
|
|
2218: 4609 li a2,2
|
|
221a: 51c98593 addi a1,s3,1308 # 551c <__fsym_list_mem_name+0xb8>
|
|
221e: 8526 mv a0,s1
|
|
2220: 765020ef jal ra,5184 <strncmp>
|
|
2224: c519 beqz a0,2232 <list+0x46>
|
|
2226: 4050 lw a2,4(s0)
|
|
2228: 85a6 mv a1,s1
|
|
222a: 520a0513 addi a0,s4,1312 # 5520 <__fsym_list_mem_name+0xbc>
|
|
222e: d81fe0ef jal ra,fae <rt_kprintf>
|
|
2232: 0431 addi s0,s0,12
|
|
2234: bfd1 j 2208 <list+0x1c>
|
|
|
|
00002236 <msh_help>:
|
|
2236: 952fe2ef jal t0,388 <__riscv_save_4>
|
|
223a: 00006537 lui a0,0x6
|
|
223e: dcc50513 addi a0,a0,-564 # 5dcc <__fsym_reboot_name+0x16c>
|
|
2242: d6dfe0ef jal ra,fae <rt_kprintf>
|
|
2246: 8a01a403 lw s0,-1888(gp) # 20000348 <_syscall_table_begin>
|
|
224a: 000069b7 lui s3,0x6
|
|
224e: 00006a37 lui s4,0x6
|
|
2252: 8a41a783 lw a5,-1884(gp) # 2000034c <_syscall_table_end>
|
|
2256: 00f46b63 bltu s0,a5,226c <msh_help+0x36>
|
|
225a: 00005537 lui a0,0x5
|
|
225e: 58050513 addi a0,a0,1408 # 5580 <__fsym_list_mem_name+0x11c>
|
|
2262: d4dfe0ef jal ra,fae <rt_kprintf>
|
|
2266: 4501 li a0,0
|
|
2268: 954fe06f j 3bc <__riscv_restore_4>
|
|
226c: 4004 lw s1,0(s0)
|
|
226e: 4619 li a2,6
|
|
2270: de898593 addi a1,s3,-536 # 5de8 <__fsym_reboot_name+0x188>
|
|
2274: 8526 mv a0,s1
|
|
2276: 70f020ef jal ra,5184 <strncmp>
|
|
227a: e901 bnez a0,228a <msh_help+0x54>
|
|
227c: 4050 lw a2,4(s0)
|
|
227e: 00648593 addi a1,s1,6
|
|
2282: df0a0513 addi a0,s4,-528 # 5df0 <__fsym_reboot_name+0x190>
|
|
2286: d29fe0ef jal ra,fae <rt_kprintf>
|
|
228a: 0431 addi s0,s0,12
|
|
228c: b7d9 j 2252 <msh_help+0x1c>
|
|
|
|
0000228e <msh_is_used>:
|
|
228e: 4505 li a0,1
|
|
2290: 8082 ret
|
|
|
|
00002292 <msh_exec>:
|
|
2292: 8f6fe2ef jal t0,388 <__riscv_save_4>
|
|
2296: 7179 addi sp,sp,-48
|
|
2298: 842a mv s0,a0
|
|
229a: 95aa add a1,a1,a0
|
|
229c: 02000693 li a3,32
|
|
22a0: 4725 li a4,9
|
|
22a2: 00040783 lb a5,0(s0)
|
|
22a6: 408584b3 sub s1,a1,s0
|
|
22aa: 0ad78563 beq a5,a3,2354 <msh_exec+0xc2>
|
|
22ae: 0ae78363 beq a5,a4,2354 <msh_exec+0xc2>
|
|
22b2: 4501 li a0,0
|
|
22b4: 10048b63 beqz s1,23ca <msh_exec+0x138>
|
|
22b8: 4901 li s2,0
|
|
22ba: 02000713 li a4,32
|
|
22be: 46a5 li a3,9
|
|
22c0: 012407b3 add a5,s0,s2
|
|
22c4: 00078783 lb a5,0(a5)
|
|
22c8: 08e78a63 beq a5,a4,235c <msh_exec+0xca>
|
|
22cc: 08d78863 beq a5,a3,235c <msh_exec+0xca>
|
|
22d0: 08991463 bne s2,s1,2358 <msh_exec+0xc6>
|
|
22d4: 8a01a983 lw s3,-1888(gp) # 20000348 <_syscall_table_begin>
|
|
22d8: 8a41aa83 lw s5,-1884(gp) # 2000034c <_syscall_table_end>
|
|
22dc: 00006b37 lui s6,0x6
|
|
22e0: 0959f063 bgeu s3,s5,2360 <msh_exec+0xce>
|
|
22e4: 0009aa03 lw s4,0(s3)
|
|
22e8: 4619 li a2,6
|
|
22ea: de8b0593 addi a1,s6,-536 # 5de8 <__fsym_reboot_name+0x188>
|
|
22ee: 8552 mv a0,s4
|
|
22f0: 695020ef jal ra,5184 <strncmp>
|
|
22f4: e559 bnez a0,2382 <msh_exec+0xf0>
|
|
22f6: 864a mv a2,s2
|
|
22f8: 85a2 mv a1,s0
|
|
22fa: 006a0513 addi a0,s4,6
|
|
22fe: 687020ef jal ra,5184 <strncmp>
|
|
2302: e141 bnez a0,2382 <msh_exec+0xf0>
|
|
2304: 9a4a add s4,s4,s2
|
|
2306: 006a0783 lb a5,6(s4)
|
|
230a: efa5 bnez a5,2382 <msh_exec+0xf0>
|
|
230c: 0089a983 lw s3,8(s3)
|
|
2310: 04098863 beqz s3,2360 <msh_exec+0xce>
|
|
2314: 02800613 li a2,40
|
|
2318: 4581 li a1,0
|
|
231a: 0028 addi a0,sp,8
|
|
231c: 8b6fe0ef jal ra,3d2 <memset>
|
|
2320: 00810913 addi s2,sp,8
|
|
2324: 86ca mv a3,s2
|
|
2326: 87a2 mv a5,s0
|
|
2328: 4501 li a0,0
|
|
232a: 4701 li a4,0
|
|
232c: 02000813 li a6,32
|
|
2330: 48a5 li a7,9
|
|
2332: 4329 li t1,10
|
|
2334: 02200613 li a2,34
|
|
2338: 05c00e13 li t3,92
|
|
233c: 00078583 lb a1,0(a5)
|
|
2340: 01058463 beq a1,a6,2348 <msh_exec+0xb6>
|
|
2344: 05159663 bne a1,a7,2390 <msh_exec+0xfe>
|
|
2348: 02971f63 bne a4,s1,2386 <msh_exec+0xf4>
|
|
234c: 47a9 li a5,10
|
|
234e: 04f50363 beq a0,a5,2394 <msh_exec+0x102>
|
|
2352: a869 j 23ec <msh_exec+0x15a>
|
|
2354: 0405 addi s0,s0,1
|
|
2356: b7b1 j 22a2 <msh_exec+0x10>
|
|
2358: 0905 addi s2,s2,1
|
|
235a: b79d j 22c0 <msh_exec+0x2e>
|
|
235c: f6091ce3 bnez s2,22d4 <msh_exec+0x42>
|
|
2360: 87a2 mv a5,s0
|
|
2362: 00078703 lb a4,0(a5)
|
|
2366: fdf77713 andi a4,a4,-33
|
|
236a: e779 bnez a4,2438 <msh_exec+0x1a6>
|
|
236c: 00006537 lui a0,0x6
|
|
2370: db450513 addi a0,a0,-588 # 5db4 <__fsym_reboot_name+0x154>
|
|
2374: 00078023 sb zero,0(a5)
|
|
2378: 85a2 mv a1,s0
|
|
237a: c35fe0ef jal ra,fae <rt_kprintf>
|
|
237e: 557d li a0,-1
|
|
2380: a0a9 j 23ca <msh_exec+0x138>
|
|
2382: 09b1 addi s3,s3,12
|
|
2384: bfb1 j 22e0 <msh_exec+0x4e>
|
|
2386: 00078023 sb zero,0(a5)
|
|
238a: 0705 addi a4,a4,1
|
|
238c: 0785 addi a5,a5,1
|
|
238e: b77d j 233c <msh_exec+0xaa>
|
|
2390: 04651063 bne a0,t1,23d0 <msh_exec+0x13e>
|
|
2394: 00006537 lui a0,0x6
|
|
2398: d9050513 addi a0,a0,-624 # 5d90 <__fsym_reboot_name+0x130>
|
|
239c: c13fe0ef jal ra,fae <rt_kprintf>
|
|
23a0: 1800 addi s0,sp,48
|
|
23a2: 000064b7 lui s1,0x6
|
|
23a6: 00092583 lw a1,0(s2)
|
|
23aa: db048513 addi a0,s1,-592 # 5db0 <__fsym_reboot_name+0x150>
|
|
23ae: 0911 addi s2,s2,4
|
|
23b0: bfffe0ef jal ra,fae <rt_kprintf>
|
|
23b4: fe8919e3 bne s2,s0,23a6 <msh_exec+0x114>
|
|
23b8: 00005537 lui a0,0x5
|
|
23bc: 58050513 addi a0,a0,1408 # 5580 <__fsym_list_mem_name+0x11c>
|
|
23c0: beffe0ef jal ra,fae <rt_kprintf>
|
|
23c4: 4529 li a0,10
|
|
23c6: 002c addi a1,sp,8
|
|
23c8: 9982 jalr s3
|
|
23ca: 6145 addi sp,sp,48
|
|
23cc: ff1fd06f j 3bc <__riscv_restore_4>
|
|
23d0: 00977e63 bgeu a4,s1,23ec <msh_exec+0x15a>
|
|
23d4: 0505 addi a0,a0,1
|
|
23d6: 04c59263 bne a1,a2,241a <msh_exec+0x188>
|
|
23da: 0785 addi a5,a5,1
|
|
23dc: 0705 addi a4,a4,1
|
|
23de: c29c sw a5,0(a3)
|
|
23e0: 00078583 lb a1,0(a5)
|
|
23e4: 02c58163 beq a1,a2,2406 <msh_exec+0x174>
|
|
23e8: 00976463 bltu a4,s1,23f0 <msh_exec+0x15e>
|
|
23ec: fd69 bnez a0,23c6 <msh_exec+0x134>
|
|
23ee: bf8d j 2360 <msh_exec+0xce>
|
|
23f0: 00178e83 lb t4,1(a5)
|
|
23f4: 01c59663 bne a1,t3,2400 <msh_exec+0x16e>
|
|
23f8: 00ce9463 bne t4,a2,2400 <msh_exec+0x16e>
|
|
23fc: 0785 addi a5,a5,1
|
|
23fe: 0705 addi a4,a4,1
|
|
2400: 0785 addi a5,a5,1
|
|
2402: 0705 addi a4,a4,1
|
|
2404: bff1 j 23e0 <msh_exec+0x14e>
|
|
2406: fe9773e3 bgeu a4,s1,23ec <msh_exec+0x15a>
|
|
240a: 00078023 sb zero,0(a5)
|
|
240e: 0705 addi a4,a4,1
|
|
2410: 0785 addi a5,a5,1
|
|
2412: 0691 addi a3,a3,4
|
|
2414: f29764e3 bltu a4,s1,233c <msh_exec+0xaa>
|
|
2418: bfd1 j 23ec <msh_exec+0x15a>
|
|
241a: c29c sw a5,0(a3)
|
|
241c: 00078583 lb a1,0(a5)
|
|
2420: 01058963 beq a1,a6,2432 <msh_exec+0x1a0>
|
|
2424: 01158763 beq a1,a7,2432 <msh_exec+0x1a0>
|
|
2428: fc9702e3 beq a4,s1,23ec <msh_exec+0x15a>
|
|
242c: 0785 addi a5,a5,1
|
|
242e: 0705 addi a4,a4,1
|
|
2430: b7f5 j 241c <msh_exec+0x18a>
|
|
2432: fe9760e3 bltu a4,s1,2412 <msh_exec+0x180>
|
|
2436: bf5d j 23ec <msh_exec+0x15a>
|
|
2438: 0785 addi a5,a5,1
|
|
243a: b725 j 2362 <msh_exec+0xd0>
|
|
|
|
0000243c <msh_auto_complete>:
|
|
243c: f3ffd2ef jal t0,37a <__riscv_save_10>
|
|
2440: 00050783 lb a5,0(a0)
|
|
2444: e799 bnez a5,2452 <msh_auto_complete+0x16>
|
|
2446: 4581 li a1,0
|
|
2448: 4501 li a0,0
|
|
244a: dedff0ef jal ra,2236 <msh_help>
|
|
244e: f65fd06f j 3b2 <__riscv_restore_10>
|
|
2452: 8a01aa03 lw s4,-1888(gp) # 20000348 <_syscall_table_begin>
|
|
2456: 89aa mv s3,a0
|
|
2458: 4481 li s1,0
|
|
245a: 4901 li s2,0
|
|
245c: 00006b37 lui s6,0x6
|
|
2460: 00006bb7 lui s7,0x6
|
|
2464: 8a41a783 lw a5,-1884(gp) # 2000034c <_syscall_table_end>
|
|
2468: 00fa6963 bltu s4,a5,247a <msh_auto_complete+0x3e>
|
|
246c: d0ed beqz s1,244e <msh_auto_complete+0x12>
|
|
246e: 864a mv a2,s2
|
|
2470: 85a6 mv a1,s1
|
|
2472: 854e mv a0,s3
|
|
2474: f4afe0ef jal ra,bbe <rt_strncpy>
|
|
2478: bfd9 j 244e <msh_auto_complete+0x12>
|
|
247a: 000a2403 lw s0,0(s4)
|
|
247e: 4619 li a2,6
|
|
2480: de8b0593 addi a1,s6,-536 # 5de8 <__fsym_reboot_name+0x188>
|
|
2484: 8522 mv a0,s0
|
|
2486: 4ff020ef jal ra,5184 <strncmp>
|
|
248a: e121 bnez a0,24ca <msh_auto_complete+0x8e>
|
|
248c: 854e mv a0,s3
|
|
248e: 4e5020ef jal ra,5172 <strlen>
|
|
2492: 0419 addi s0,s0,6
|
|
2494: 862a mv a2,a0
|
|
2496: 85a2 mv a1,s0
|
|
2498: 854e mv a0,s3
|
|
249a: 4eb020ef jal ra,5184 <strncmp>
|
|
249e: e515 bnez a0,24ca <msh_auto_complete+0x8e>
|
|
24a0: 00091763 bnez s2,24ae <msh_auto_complete+0x72>
|
|
24a4: 8522 mv a0,s0
|
|
24a6: 4cd020ef jal ra,5172 <strlen>
|
|
24aa: 892a mv s2,a0
|
|
24ac: 84a2 mv s1,s0
|
|
24ae: 87a6 mv a5,s1
|
|
24b0: 8722 mv a4,s0
|
|
24b2: 00078603 lb a2,0(a5)
|
|
24b6: ee01 bnez a2,24ce <msh_auto_complete+0x92>
|
|
24b8: 8f85 sub a5,a5,s1
|
|
24ba: 0127d363 bge a5,s2,24c0 <msh_auto_complete+0x84>
|
|
24be: 893e mv s2,a5
|
|
24c0: 85a2 mv a1,s0
|
|
24c2: df8b8513 addi a0,s7,-520 # 5df8 <__fsym_reboot_name+0x198>
|
|
24c6: ae9fe0ef jal ra,fae <rt_kprintf>
|
|
24ca: 0a31 addi s4,s4,12
|
|
24cc: bf61 j 2464 <msh_auto_complete+0x28>
|
|
24ce: 00070683 lb a3,0(a4) # e000e000 <_eusrstack+0xbfffe000>
|
|
24d2: d2fd beqz a3,24b8 <msh_auto_complete+0x7c>
|
|
24d4: fed612e3 bne a2,a3,24b8 <msh_auto_complete+0x7c>
|
|
24d8: 0785 addi a5,a5,1
|
|
24da: 0705 addi a4,a4,1
|
|
24dc: bfd9 j 24b2 <msh_auto_complete+0x76>
|
|
|
|
000024de <cmd_ps>:
|
|
24de: ec5fd2ef jal t0,3a2 <__riscv_save_0>
|
|
24e2: fa2ff0ef jal ra,1c84 <list_thread>
|
|
24e6: 4501 li a0,0
|
|
24e8: edffd06f j 3c6 <__riscv_restore_0>
|
|
|
|
000024ec <cmd_free>:
|
|
24ec: eb7fd2ef jal t0,3a2 <__riscv_save_0>
|
|
24f0: c0bfe0ef jal ra,10fa <list_mem>
|
|
24f4: 4501 li a0,0
|
|
24f6: ed1fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
000024fa <finsh_rx_ind>:
|
|
24fa: ea9fd2ef jal t0,3a2 <__riscv_save_0>
|
|
24fe: 89c1a503 lw a0,-1892(gp) # 20000344 <shell>
|
|
2502: bb4fe0ef jal ra,8b6 <rt_sem_release>
|
|
2506: 4501 li a0,0
|
|
2508: ebffd06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000250c <finsh_system_init>:
|
|
250c: e97fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2510: 000067b7 lui a5,0x6
|
|
2514: 7f878793 addi a5,a5,2040 # 67f8 <__fsym_list_mem>
|
|
2518: 8af1a023 sw a5,-1888(gp) # 20000348 <_syscall_table_begin>
|
|
251c: 000077b7 lui a5,0x7
|
|
2520: 94878793 addi a5,a5,-1720 # 6948 <__rt_init_rti_start>
|
|
2524: 8af1a223 sw a5,-1884(gp) # 2000034c <_syscall_table_end>
|
|
2528: 000077b7 lui a5,0x7
|
|
252c: 94878793 addi a5,a5,-1720 # 6948 <__rt_init_rti_start>
|
|
2530: 8af1a423 sw a5,-1880(gp) # 20000350 <_sysvar_table_begin>
|
|
2534: 000077b7 lui a5,0x7
|
|
2538: 94878793 addi a5,a5,-1720 # 6948 <__rt_init_rti_start>
|
|
253c: 21000593 li a1,528
|
|
2540: 4505 li a0,1
|
|
2542: 8af1a623 sw a5,-1876(gp) # 20000354 <_sysvar_table_end>
|
|
2546: 89c18413 addi s0,gp,-1892 # 20000344 <shell>
|
|
254a: d8bfe0ef jal ra,12d4 <rt_calloc>
|
|
254e: c008 sw a0,0(s0)
|
|
2550: e919 bnez a0,2566 <finsh_system_init+0x5a>
|
|
2552: 00006537 lui a0,0x6
|
|
2556: eac50513 addi a0,a0,-340 # 5eac <__fsym___cmd_ps_name+0x40>
|
|
255a: a55fe0ef jal ra,fae <rt_kprintf>
|
|
255e: 547d li s0,-1
|
|
2560: 8522 mv a0,s0
|
|
2562: e65fd06f j 3c6 <__riscv_restore_0>
|
|
2566: 000025b7 lui a1,0x2
|
|
256a: 00006537 lui a0,0x6
|
|
256e: 47a9 li a5,10
|
|
2570: 472d li a4,11
|
|
2572: 40000693 li a3,1024
|
|
2576: 4601 li a2,0
|
|
2578: 68c58593 addi a1,a1,1676 # 268c <finsh_thread_entry>
|
|
257c: ec450513 addi a0,a0,-316 # 5ec4 <__fsym___cmd_ps_name+0x58>
|
|
2580: a30ff0ef jal ra,17b0 <rt_thread_create>
|
|
2584: 84aa mv s1,a0
|
|
2586: 4008 lw a0,0(s0)
|
|
2588: 000065b7 lui a1,0x6
|
|
258c: 4681 li a3,0
|
|
258e: 4601 li a2,0
|
|
2590: ecc58593 addi a1,a1,-308 # 5ecc <__fsym___cmd_ps_name+0x60>
|
|
2594: a7afe0ef jal ra,80e <rt_sem_init>
|
|
2598: 4401 li s0,0
|
|
259a: d0f9 beqz s1,2560 <finsh_system_init+0x54>
|
|
259c: 8526 mv a0,s1
|
|
259e: b8eff0ef jal ra,192c <rt_thread_startup>
|
|
25a2: bf7d j 2560 <finsh_system_init+0x54>
|
|
|
|
000025a4 <finsh_get_prompt>:
|
|
25a4: dfffd2ef jal t0,3a2 <__riscv_save_0>
|
|
25a8: ce7ff0ef jal ra,228e <msh_is_used>
|
|
25ac: c50d beqz a0,25d6 <finsh_get_prompt+0x32>
|
|
25ae: 000065b7 lui a1,0x6
|
|
25b2: e7858593 addi a1,a1,-392 # 5e78 <__fsym___cmd_ps_name+0xc>
|
|
25b6: c9c18513 addi a0,gp,-868 # 20000744 <finsh_prompt.4315>
|
|
25ba: 3a9020ef jal ra,5162 <strcpy>
|
|
25be: 000065b7 lui a1,0x6
|
|
25c2: e8858593 addi a1,a1,-376 # 5e88 <__fsym___cmd_ps_name+0x1c>
|
|
25c6: c9c18513 addi a0,gp,-868 # 20000744 <finsh_prompt.4315>
|
|
25ca: 37b020ef jal ra,5144 <strcat>
|
|
25ce: c9c18513 addi a0,gp,-868 # 20000744 <finsh_prompt.4315>
|
|
25d2: df5fd06f j 3c6 <__riscv_restore_0>
|
|
25d6: 000065b7 lui a1,0x6
|
|
25da: e8058593 addi a1,a1,-384 # 5e80 <__fsym___cmd_ps_name+0x14>
|
|
25de: bfe1 j 25b6 <finsh_get_prompt+0x12>
|
|
|
|
000025e0 <shell_handle_history>:
|
|
25e0: dc3fd2ef jal t0,3a2 <__riscv_save_0>
|
|
25e4: 842a mv s0,a0
|
|
25e6: 00006537 lui a0,0x6
|
|
25ea: ee850513 addi a0,a0,-280 # 5ee8 <__fsym___cmd_ps_name+0x7c>
|
|
25ee: 9c1fe0ef jal ra,fae <rt_kprintf>
|
|
25f2: fb3ff0ef jal ra,25a4 <finsh_get_prompt>
|
|
25f6: 85aa mv a1,a0
|
|
25f8: 00006537 lui a0,0x6
|
|
25fc: 1ba40613 addi a2,s0,442
|
|
2600: ef050513 addi a0,a0,-272 # 5ef0 <__fsym___cmd_ps_name+0x84>
|
|
2604: 9abfe0ef jal ra,fae <rt_kprintf>
|
|
2608: 4501 li a0,0
|
|
260a: dbdfd06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000260e <finsh_set_device>:
|
|
260e: d95fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2612: 1141 addi sp,sp,-16
|
|
2614: c62a sw a0,12(sp)
|
|
2616: f6dfd0ef jal ra,582 <rt_device_find>
|
|
261a: 45b2 lw a1,12(sp)
|
|
261c: e911 bnez a0,2630 <finsh_set_device+0x22>
|
|
261e: 00006537 lui a0,0x6
|
|
2622: e8c50513 addi a0,a0,-372 # 5e8c <__fsym___cmd_ps_name+0x20>
|
|
2626: 989fe0ef jal ra,fae <rt_kprintf>
|
|
262a: 0141 addi sp,sp,16
|
|
262c: d9bfd06f j 3c6 <__riscv_restore_0>
|
|
2630: 89c1a783 lw a5,-1892(gp) # 20000344 <shell>
|
|
2634: 84aa mv s1,a0
|
|
2636: 89c18413 addi s0,gp,-1892 # 20000344 <shell>
|
|
263a: 20c7a783 lw a5,524(a5)
|
|
263e: fea786e3 beq a5,a0,262a <finsh_set_device+0x1c>
|
|
2642: 14300593 li a1,323
|
|
2646: fb9fd0ef jal ra,5fe <rt_device_open>
|
|
264a: f165 bnez a0,262a <finsh_set_device+0x1c>
|
|
264c: 401c lw a5,0(s0)
|
|
264e: 20c7a503 lw a0,524(a5)
|
|
2652: c909 beqz a0,2664 <finsh_set_device+0x56>
|
|
2654: 824fe0ef jal ra,678 <rt_device_close>
|
|
2658: 401c lw a5,0(s0)
|
|
265a: 4581 li a1,0
|
|
265c: 20c7a503 lw a0,524(a5)
|
|
2660: 888fe0ef jal ra,6e8 <rt_device_set_rx_indicate>
|
|
2664: 4000 lw s0,0(s0)
|
|
2666: 05000613 li a2,80
|
|
266a: 4581 li a1,0
|
|
266c: 1ba40513 addi a0,s0,442
|
|
2670: d63fd0ef jal ra,3d2 <memset>
|
|
2674: 000025b7 lui a1,0x2
|
|
2678: 20041523 sh zero,522(s0)
|
|
267c: 20942623 sw s1,524(s0)
|
|
2680: 4fa58593 addi a1,a1,1274 # 24fa <finsh_rx_ind>
|
|
2684: 8526 mv a0,s1
|
|
2686: 862fe0ef jal ra,6e8 <rt_device_set_rx_indicate>
|
|
268a: b745 j 262a <finsh_set_device+0x1c>
|
|
|
|
0000268c <finsh_thread_entry>:
|
|
268c: ce7fd2ef jal t0,372 <__riscv_save_12>
|
|
2690: 89c1a783 lw a5,-1892(gp) # 20000344 <shell>
|
|
2694: 1141 addi sp,sp,-16
|
|
2696: 89c18493 addi s1,gp,-1892 # 20000344 <shell>
|
|
269a: 0247c703 lbu a4,36(a5)
|
|
269e: 00176713 ori a4,a4,1
|
|
26a2: 02e78223 sb a4,36(a5)
|
|
26a6: 20c7a783 lw a5,524(a5)
|
|
26aa: e791 bnez a5,26b6 <finsh_thread_entry+0x2a>
|
|
26ac: 8cdfe0ef jal ra,f78 <rt_console_get_device>
|
|
26b0: c119 beqz a0,26b6 <finsh_thread_entry+0x2a>
|
|
26b2: f5dff0ef jal ra,260e <finsh_set_device>
|
|
26b6: eefff0ef jal ra,25a4 <finsh_get_prompt>
|
|
26ba: 8f5fe0ef jal ra,fae <rt_kprintf>
|
|
26be: 00006b37 lui s6,0x6
|
|
26c2: 00006bb7 lui s7,0x6
|
|
26c6: 000069b7 lui s3,0x6
|
|
26ca: 00005a37 lui s4,0x5
|
|
26ce: 00006ab7 lui s5,0x6
|
|
26d2: 00006c37 lui s8,0x6
|
|
26d6: 00006cb7 lui s9,0x6
|
|
26da: 409c lw a5,0(s1)
|
|
26dc: 4685 li a3,1
|
|
26de: 00f10613 addi a2,sp,15
|
|
26e2: 20c7a503 lw a0,524(a5)
|
|
26e6: 55fd li a1,-1
|
|
26e8: fc9fd0ef jal ra,6b0 <rt_device_read>
|
|
26ec: 4785 li a5,1
|
|
26ee: 00f51a63 bne a0,a5,2702 <finsh_thread_entry+0x76>
|
|
26f2: 00f10903 lb s2,15(sp)
|
|
26f6: 47ed li a5,27
|
|
26f8: 4080 lw s0,0(s1)
|
|
26fa: 00f91963 bne s2,a5,270c <finsh_thread_entry+0x80>
|
|
26fe: d008 sw a0,32(s0)
|
|
2700: bfe9 j 26da <finsh_thread_entry+0x4e>
|
|
2702: 4088 lw a0,0(s1)
|
|
2704: 55fd li a1,-1
|
|
2706: 930fe0ef jal ra,836 <rt_sem_take>
|
|
270a: bfc1 j 26da <finsh_thread_entry+0x4e>
|
|
270c: 501c lw a5,32(s0)
|
|
270e: 02a79263 bne a5,a0,2732 <finsh_thread_entry+0xa6>
|
|
2712: 05b00793 li a5,91
|
|
2716: 00f91563 bne s2,a5,2720 <finsh_thread_entry+0x94>
|
|
271a: 4789 li a5,2
|
|
271c: d01c sw a5,32(s0)
|
|
271e: bf75 j 26da <finsh_thread_entry+0x4e>
|
|
2720: 02042023 sw zero,32(s0)
|
|
2724: fa090be3 beqz s2,26da <finsh_thread_entry+0x4e>
|
|
2728: 47a5 li a5,9
|
|
272a: 12f91463 bne s2,a5,2852 <finsh_thread_entry+0x1c6>
|
|
272e: 4901 li s2,0
|
|
2730: a8d1 j 2804 <finsh_thread_entry+0x178>
|
|
2732: 4709 li a4,2
|
|
2734: fee798e3 bne a5,a4,2724 <finsh_thread_entry+0x98>
|
|
2738: 02042023 sw zero,32(s0)
|
|
273c: 04100793 li a5,65
|
|
2740: 04f91263 bne s2,a5,2784 <finsh_thread_entry+0xf8>
|
|
2744: 306e lhu a1,38(s0)
|
|
2746: d9d1 beqz a1,26da <finsh_thread_entry+0x4e>
|
|
2748: 15fd addi a1,a1,-1
|
|
274a: 05c2 slli a1,a1,0x10
|
|
274c: 81c1 srli a1,a1,0x10
|
|
274e: b06e sh a1,38(s0)
|
|
2750: 1ba40793 addi a5,s0,442
|
|
2754: 05000713 li a4,80
|
|
2758: 02e585b3 mul a1,a1,a4
|
|
275c: 05000613 li a2,80
|
|
2760: 853e mv a0,a5
|
|
2762: 02a58593 addi a1,a1,42
|
|
2766: 95a2 add a1,a1,s0
|
|
2768: 12b020ef jal ra,5092 <memcpy>
|
|
276c: 207020ef jal ra,5172 <strlen>
|
|
2770: 0ff57513 andi a0,a0,255
|
|
2774: 20a40523 sb a0,522(s0)
|
|
2778: 20a405a3 sb a0,523(s0)
|
|
277c: 8522 mv a0,s0
|
|
277e: e63ff0ef jal ra,25e0 <shell_handle_history>
|
|
2782: bfa1 j 26da <finsh_thread_entry+0x4e>
|
|
2784: 04200793 li a5,66
|
|
2788: 02f91163 bne s2,a5,27aa <finsh_thread_entry+0x11e>
|
|
278c: 3416 lhu a3,40(s0)
|
|
278e: 307e lhu a5,38(s0)
|
|
2790: fff68713 addi a4,a3,-1 # 7fffffff <_eusrstack+0x5ffeffff>
|
|
2794: 00e7d863 bge a5,a4,27a4 <finsh_thread_entry+0x118>
|
|
2798: 0785 addi a5,a5,1
|
|
279a: b07e sh a5,38(s0)
|
|
279c: 1ba40793 addi a5,s0,442
|
|
27a0: 306e lhu a1,38(s0)
|
|
27a2: bf4d j 2754 <finsh_thread_entry+0xc8>
|
|
27a4: da9d beqz a3,26da <finsh_thread_entry+0x4e>
|
|
27a6: b07a sh a4,38(s0)
|
|
27a8: bfd5 j 279c <finsh_thread_entry+0x110>
|
|
27aa: 04400793 li a5,68
|
|
27ae: 02f91063 bne s2,a5,27ce <finsh_thread_entry+0x142>
|
|
27b2: 20b44783 lbu a5,523(s0)
|
|
27b6: d395 beqz a5,26da <finsh_thread_entry+0x4e>
|
|
27b8: ed498513 addi a0,s3,-300 # 5ed4 <__fsym___cmd_ps_name+0x68>
|
|
27bc: ff2fe0ef jal ra,fae <rt_kprintf>
|
|
27c0: 4098 lw a4,0(s1)
|
|
27c2: 20b74783 lbu a5,523(a4)
|
|
27c6: 17fd addi a5,a5,-1
|
|
27c8: 20f705a3 sb a5,523(a4)
|
|
27cc: b739 j 26da <finsh_thread_entry+0x4e>
|
|
27ce: 04300793 li a5,67
|
|
27d2: f4f919e3 bne s2,a5,2724 <finsh_thread_entry+0x98>
|
|
27d6: 20b44783 lbu a5,523(s0)
|
|
27da: 20a44703 lbu a4,522(s0)
|
|
27de: eee7fee3 bgeu a5,a4,26da <finsh_thread_entry+0x4e>
|
|
27e2: 943e add s0,s0,a5
|
|
27e4: 1ba40583 lb a1,442(s0)
|
|
27e8: ed8a8513 addi a0,s5,-296 # 5ed8 <__fsym___cmd_ps_name+0x6c>
|
|
27ec: fc2fe0ef jal ra,fae <rt_kprintf>
|
|
27f0: 4098 lw a4,0(s1)
|
|
27f2: 20b74783 lbu a5,523(a4)
|
|
27f6: 0785 addi a5,a5,1
|
|
27f8: bfc1 j 27c8 <finsh_thread_entry+0x13c>
|
|
27fa: ed498513 addi a0,s3,-300
|
|
27fe: fb0fe0ef jal ra,fae <rt_kprintf>
|
|
2802: 0905 addi s2,s2,1
|
|
2804: 4080 lw s0,0(s1)
|
|
2806: 20b44783 lbu a5,523(s0)
|
|
280a: fef948e3 blt s2,a5,27fa <finsh_thread_entry+0x16e>
|
|
280e: 580a0513 addi a0,s4,1408 # 5580 <__fsym_list_mem_name+0x11c>
|
|
2812: f9cfe0ef jal ra,fae <rt_kprintf>
|
|
2816: a79ff0ef jal ra,228e <msh_is_used>
|
|
281a: 4785 li a5,1
|
|
281c: 1ba40413 addi s0,s0,442
|
|
2820: 00f51563 bne a0,a5,282a <finsh_thread_entry+0x19e>
|
|
2824: 8522 mv a0,s0
|
|
2826: c17ff0ef jal ra,243c <msh_auto_complete>
|
|
282a: d7bff0ef jal ra,25a4 <finsh_get_prompt>
|
|
282e: 8622 mv a2,s0
|
|
2830: 85aa mv a1,a0
|
|
2832: ef0c8513 addi a0,s9,-272 # 5ef0 <__fsym___cmd_ps_name+0x84>
|
|
2836: f78fe0ef jal ra,fae <rt_kprintf>
|
|
283a: 4080 lw s0,0(s1)
|
|
283c: 1ba40513 addi a0,s0,442
|
|
2840: 133020ef jal ra,5172 <strlen>
|
|
2844: 0ff57513 andi a0,a0,255
|
|
2848: 20a40523 sb a0,522(s0)
|
|
284c: 20a405a3 sb a0,523(s0)
|
|
2850: b569 j 26da <finsh_thread_entry+0x4e>
|
|
2852: 07f00793 li a5,127
|
|
2856: 00f90563 beq s2,a5,2860 <finsh_thread_entry+0x1d4>
|
|
285a: 47a1 li a5,8
|
|
285c: 08f91563 bne s2,a5,28e6 <finsh_thread_entry+0x25a>
|
|
2860: 20b44783 lbu a5,523(s0)
|
|
2864: e6078be3 beqz a5,26da <finsh_thread_entry+0x4e>
|
|
2868: 20a44603 lbu a2,522(s0)
|
|
286c: 17fd addi a5,a5,-1
|
|
286e: 0ff7f793 andi a5,a5,255
|
|
2872: 167d addi a2,a2,-1
|
|
2874: 0ff67613 andi a2,a2,255
|
|
2878: 20c40523 sb a2,522(s0)
|
|
287c: 20f405a3 sb a5,523(s0)
|
|
2880: 04c7f863 bgeu a5,a2,28d0 <finsh_thread_entry+0x244>
|
|
2884: 1bb78593 addi a1,a5,443
|
|
2888: 1ba78513 addi a0,a5,442
|
|
288c: 8e1d sub a2,a2,a5
|
|
288e: 95a2 add a1,a1,s0
|
|
2890: 9522 add a0,a0,s0
|
|
2892: ae4fe0ef jal ra,b76 <rt_memmove>
|
|
2896: 409c lw a5,0(s1)
|
|
2898: edcb8513 addi a0,s7,-292 # 5edc <__fsym___cmd_ps_name+0x70>
|
|
289c: 20a7c703 lbu a4,522(a5)
|
|
28a0: 973e add a4,a4,a5
|
|
28a2: 1a070d23 sb zero,442(a4)
|
|
28a6: 20b7c583 lbu a1,523(a5)
|
|
28aa: 1ba58593 addi a1,a1,442
|
|
28ae: 95be add a1,a1,a5
|
|
28b0: efefe0ef jal ra,fae <rt_kprintf>
|
|
28b4: 409c lw a5,0(s1)
|
|
28b6: 20b7c403 lbu s0,523(a5)
|
|
28ba: 409c lw a5,0(s1)
|
|
28bc: 20a7c783 lbu a5,522(a5)
|
|
28c0: e087cde3 blt a5,s0,26da <finsh_thread_entry+0x4e>
|
|
28c4: ed498513 addi a0,s3,-300
|
|
28c8: ee6fe0ef jal ra,fae <rt_kprintf>
|
|
28cc: 0405 addi s0,s0,1
|
|
28ce: b7f5 j 28ba <finsh_thread_entry+0x22e>
|
|
28d0: ee4b0513 addi a0,s6,-284 # 5ee4 <__fsym___cmd_ps_name+0x78>
|
|
28d4: edafe0ef jal ra,fae <rt_kprintf>
|
|
28d8: 409c lw a5,0(s1)
|
|
28da: 20a7c703 lbu a4,522(a5)
|
|
28de: 97ba add a5,a5,a4
|
|
28e0: 1a078d23 sb zero,442(a5)
|
|
28e4: bbdd j 26da <finsh_thread_entry+0x4e>
|
|
28e6: 4735 li a4,13
|
|
28e8: 20a44783 lbu a5,522(s0)
|
|
28ec: 00e90563 beq s2,a4,28f6 <finsh_thread_entry+0x26a>
|
|
28f0: 4729 li a4,10
|
|
28f2: 0ee91e63 bne s2,a4,29ee <finsh_thread_entry+0x362>
|
|
28f6: cbb9 beqz a5,294c <finsh_thread_entry+0x2c0>
|
|
28f8: 02845903 lhu s2,40(s0)
|
|
28fc: 4791 li a5,4
|
|
28fe: 1ba40d13 addi s10,s0,442
|
|
2902: 0927fb63 bgeu a5,s2,2998 <finsh_thread_entry+0x30c>
|
|
2906: 16a40d93 addi s11,s0,362
|
|
290a: 05000613 li a2,80
|
|
290e: 85ea mv a1,s10
|
|
2910: 856e mv a0,s11
|
|
2912: 75c020ef jal ra,506e <memcmp>
|
|
2916: c91d beqz a0,294c <finsh_thread_entry+0x2c0>
|
|
2918: 02a40913 addi s2,s0,42
|
|
291c: 854a mv a0,s2
|
|
291e: 05090913 addi s2,s2,80
|
|
2922: 05000613 li a2,80
|
|
2926: 85ca mv a1,s2
|
|
2928: 76a020ef jal ra,5092 <memcpy>
|
|
292c: ff2d98e3 bne s11,s2,291c <finsh_thread_entry+0x290>
|
|
2930: 05000613 li a2,80
|
|
2934: 4581 li a1,0
|
|
2936: 856e mv a0,s11
|
|
2938: a9bfd0ef jal ra,3d2 <memset>
|
|
293c: 20a44603 lbu a2,522(s0)
|
|
2940: 85ea mv a1,s10
|
|
2942: 856e mv a0,s11
|
|
2944: 74e020ef jal ra,5092 <memcpy>
|
|
2948: 4795 li a5,5
|
|
294a: b41e sh a5,40(s0)
|
|
294c: 341e lhu a5,40(s0)
|
|
294e: b07e sh a5,38(s0)
|
|
2950: 93fff0ef jal ra,228e <msh_is_used>
|
|
2954: 4785 li a5,1
|
|
2956: 02f51263 bne a0,a5,297a <finsh_thread_entry+0x2ee>
|
|
295a: 409c lw a5,0(s1)
|
|
295c: 0247c783 lbu a5,36(a5)
|
|
2960: 8b85 andi a5,a5,1
|
|
2962: c789 beqz a5,296c <finsh_thread_entry+0x2e0>
|
|
2964: 580a0513 addi a0,s4,1408
|
|
2968: e46fe0ef jal ra,fae <rt_kprintf>
|
|
296c: 4088 lw a0,0(s1)
|
|
296e: 20a54583 lbu a1,522(a0)
|
|
2972: 1ba50513 addi a0,a0,442
|
|
2976: 91dff0ef jal ra,2292 <msh_exec>
|
|
297a: c2bff0ef jal ra,25a4 <finsh_get_prompt>
|
|
297e: e30fe0ef jal ra,fae <rt_kprintf>
|
|
2982: 4080 lw s0,0(s1)
|
|
2984: 05000613 li a2,80
|
|
2988: 4581 li a1,0
|
|
298a: 1ba40513 addi a0,s0,442
|
|
298e: a45fd0ef jal ra,3d2 <memset>
|
|
2992: 20041523 sh zero,522(s0)
|
|
2996: b391 j 26da <finsh_thread_entry+0x4e>
|
|
2998: 02090163 beqz s2,29ba <finsh_thread_entry+0x32e>
|
|
299c: fff90513 addi a0,s2,-1
|
|
29a0: 05000793 li a5,80
|
|
29a4: 02f50533 mul a0,a0,a5
|
|
29a8: 05000613 li a2,80
|
|
29ac: 85ea mv a1,s10
|
|
29ae: 02a50513 addi a0,a0,42
|
|
29b2: 9522 add a0,a0,s0
|
|
29b4: 6ba020ef jal ra,506e <memcmp>
|
|
29b8: d951 beqz a0,294c <finsh_thread_entry+0x2c0>
|
|
29ba: 05000d93 li s11,80
|
|
29be: 03b90533 mul a0,s2,s11
|
|
29c2: 05000613 li a2,80
|
|
29c6: 4581 li a1,0
|
|
29c8: 02a50513 addi a0,a0,42
|
|
29cc: 9522 add a0,a0,s0
|
|
29ce: a05fd0ef jal ra,3d2 <memset>
|
|
29d2: 340a lhu a0,40(s0)
|
|
29d4: 20a44603 lbu a2,522(s0)
|
|
29d8: 85ea mv a1,s10
|
|
29da: 03b50533 mul a0,a0,s11
|
|
29de: 02a50513 addi a0,a0,42
|
|
29e2: 9522 add a0,a0,s0
|
|
29e4: 6ae020ef jal ra,5092 <memcpy>
|
|
29e8: 341e lhu a5,40(s0)
|
|
29ea: 0785 addi a5,a5,1
|
|
29ec: bfb9 j 294a <finsh_thread_entry+0x2be>
|
|
29ee: 04f00713 li a4,79
|
|
29f2: 00f77463 bgeu a4,a5,29fa <finsh_thread_entry+0x36e>
|
|
29f6: 20040523 sb zero,522(s0)
|
|
29fa: 20b44603 lbu a2,523(s0)
|
|
29fe: 20a44783 lbu a5,522(s0)
|
|
2a02: 08f67063 bgeu a2,a5,2a82 <finsh_thread_entry+0x3f6>
|
|
2a06: 1ba60593 addi a1,a2,442
|
|
2a0a: 1bb60513 addi a0,a2,443
|
|
2a0e: 95a2 add a1,a1,s0
|
|
2a10: 40c78633 sub a2,a5,a2
|
|
2a14: 9522 add a0,a0,s0
|
|
2a16: 960fe0ef jal ra,b76 <rt_memmove>
|
|
2a1a: 408c lw a1,0(s1)
|
|
2a1c: 20b5c783 lbu a5,523(a1)
|
|
2a20: 00f58733 add a4,a1,a5
|
|
2a24: 1b270d23 sb s2,442(a4)
|
|
2a28: 0245c703 lbu a4,36(a1)
|
|
2a2c: 8b05 andi a4,a4,1
|
|
2a2e: cb01 beqz a4,2a3e <finsh_thread_entry+0x3b2>
|
|
2a30: 1ba78793 addi a5,a5,442
|
|
2a34: 95be add a1,a1,a5
|
|
2a36: c6cc0513 addi a0,s8,-916 # 5c6c <__fsym_reboot_name+0xc>
|
|
2a3a: d74fe0ef jal ra,fae <rt_kprintf>
|
|
2a3e: 409c lw a5,0(s1)
|
|
2a40: 20b7c403 lbu s0,523(a5)
|
|
2a44: 409c lw a5,0(s1)
|
|
2a46: 20a7c783 lbu a5,522(a5)
|
|
2a4a: 02f44663 blt s0,a5,2a76 <finsh_thread_entry+0x3ea>
|
|
2a4e: 4098 lw a4,0(s1)
|
|
2a50: 20a74783 lbu a5,522(a4)
|
|
2a54: 20b74683 lbu a3,523(a4)
|
|
2a58: 0785 addi a5,a5,1
|
|
2a5a: 0685 addi a3,a3,1
|
|
2a5c: 0ff7f793 andi a5,a5,255
|
|
2a60: 20d705a3 sb a3,523(a4)
|
|
2a64: 20f70523 sb a5,522(a4)
|
|
2a68: 04f00693 li a3,79
|
|
2a6c: c6f6f7e3 bgeu a3,a5,26da <finsh_thread_entry+0x4e>
|
|
2a70: 20071523 sh zero,522(a4)
|
|
2a74: b19d j 26da <finsh_thread_entry+0x4e>
|
|
2a76: ed498513 addi a0,s3,-300
|
|
2a7a: d34fe0ef jal ra,fae <rt_kprintf>
|
|
2a7e: 0405 addi s0,s0,1
|
|
2a80: b7d1 j 2a44 <finsh_thread_entry+0x3b8>
|
|
2a82: 97a2 add a5,a5,s0
|
|
2a84: 1b278d23 sb s2,442(a5)
|
|
2a88: 02444783 lbu a5,36(s0)
|
|
2a8c: 8b85 andi a5,a5,1
|
|
2a8e: d3e1 beqz a5,2a4e <finsh_thread_entry+0x3c2>
|
|
2a90: 85ca mv a1,s2
|
|
2a92: ed8a8513 addi a0,s5,-296
|
|
2a96: d18fe0ef jal ra,fae <rt_kprintf>
|
|
2a9a: bf55 j 2a4e <finsh_thread_entry+0x3c2>
|
|
|
|
00002a9c <rt_serial_init>:
|
|
2a9c: 417c lw a5,68(a0)
|
|
2a9e: 04052823 sw zero,80(a0)
|
|
2aa2: 04052a23 sw zero,84(a0)
|
|
2aa6: 439c lw a5,0(a5)
|
|
2aa8: cb81 beqz a5,2ab8 <rt_serial_init+0x1c>
|
|
2aaa: 8f9fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2aae: 04850593 addi a1,a0,72
|
|
2ab2: 9782 jalr a5
|
|
2ab4: 913fd06f j 3c6 <__riscv_restore_0>
|
|
2ab8: 4501 li a0,0
|
|
2aba: 8082 ret
|
|
|
|
00002abc <rt_serial_write>:
|
|
2abc: 8cdfd2ef jal t0,388 <__riscv_save_4>
|
|
2ac0: 8936 mv s2,a3
|
|
2ac2: ca9d beqz a3,2af8 <rt_serial_write+0x3c>
|
|
2ac4: 84aa mv s1,a0
|
|
2ac6: 8432 mv s0,a2
|
|
2ac8: 00d609b3 add s3,a2,a3
|
|
2acc: 4a29 li s4,10
|
|
2ace: 201c lbu a5,0(s0)
|
|
2ad0: 01479b63 bne a5,s4,2ae6 <rt_serial_write+0x2a>
|
|
2ad4: 2cbe lhu a5,26(s1)
|
|
2ad6: 0407f793 andi a5,a5,64
|
|
2ada: c791 beqz a5,2ae6 <rt_serial_write+0x2a>
|
|
2adc: 40fc lw a5,68(s1)
|
|
2ade: 45b5 li a1,13
|
|
2ae0: 8526 mv a0,s1
|
|
2ae2: 479c lw a5,8(a5)
|
|
2ae4: 9782 jalr a5
|
|
2ae6: 40fc lw a5,68(s1)
|
|
2ae8: 00040583 lb a1,0(s0)
|
|
2aec: 8526 mv a0,s1
|
|
2aee: 479c lw a5,8(a5)
|
|
2af0: 0405 addi s0,s0,1
|
|
2af2: 9782 jalr a5
|
|
2af4: fd341de3 bne s0,s3,2ace <rt_serial_write+0x12>
|
|
2af8: 854a mv a0,s2
|
|
2afa: 8c3fd06f j 3bc <__riscv_restore_4>
|
|
|
|
00002afe <rt_serial_open>:
|
|
2afe: 8a5fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2b02: 1005f793 andi a5,a1,256
|
|
2b06: 842a mv s0,a0
|
|
2b08: c791 beqz a5,2b14 <rt_serial_open+0x16>
|
|
2b0a: 2d1a lhu a4,24(a0)
|
|
2b0c: 5561 li a0,-8
|
|
2b0e: 10077713 andi a4,a4,256
|
|
2b12: cf35 beqz a4,2b8e <rt_serial_open+0x90>
|
|
2b14: 4005f713 andi a4,a1,1024
|
|
2b18: c711 beqz a4,2b24 <rt_serial_open+0x26>
|
|
2b1a: 2c1a lhu a4,24(s0)
|
|
2b1c: 5561 li a0,-8
|
|
2b1e: 40077713 andi a4,a4,1024
|
|
2b22: c735 beqz a4,2b8e <rt_serial_open+0x90>
|
|
2b24: 0405f713 andi a4,a1,64
|
|
2b28: 04000493 li s1,64
|
|
2b2c: e701 bnez a4,2b34 <rt_serial_open+0x36>
|
|
2b2e: 2c26 lhu s1,26(s0)
|
|
2b30: 0404f493 andi s1,s1,64
|
|
2b34: 4838 lw a4,80(s0)
|
|
2b36: 0ff5f593 andi a1,a1,255
|
|
2b3a: ac2e sh a1,26(s0)
|
|
2b3c: eb39 bnez a4,2b92 <rt_serial_open+0x94>
|
|
2b3e: c7a1 beqz a5,2b86 <rt_serial_open+0x88>
|
|
2b40: 4468 lw a0,76(s0)
|
|
2b42: 8129 srli a0,a0,0xa
|
|
2b44: 0542 slli a0,a0,0x10
|
|
2b46: 8141 srli a0,a0,0x10
|
|
2b48: 0531 addi a0,a0,12
|
|
2b4a: e5efe0ef jal ra,11a8 <rt_malloc>
|
|
2b4e: 4470 lw a2,76(s0)
|
|
2b50: 892a mv s2,a0
|
|
2b52: 0531 addi a0,a0,12
|
|
2b54: 8229 srli a2,a2,0xa
|
|
2b56: 0642 slli a2,a2,0x10
|
|
2b58: 8241 srli a2,a2,0x10
|
|
2b5a: 4581 li a1,0
|
|
2b5c: 00a92023 sw a0,0(s2)
|
|
2b60: f8ffd0ef jal ra,aee <rt_memset>
|
|
2b64: 00092223 sw zero,4(s2)
|
|
2b68: 2c3e lhu a5,26(s0)
|
|
2b6a: 00092423 sw zero,8(s2)
|
|
2b6e: 05242823 sw s2,80(s0)
|
|
2b72: 1007e793 ori a5,a5,256
|
|
2b76: ac3e sh a5,26(s0)
|
|
2b78: 407c lw a5,68(s0)
|
|
2b7a: 10000613 li a2,256
|
|
2b7e: 45c1 li a1,16
|
|
2b80: 43dc lw a5,4(a5)
|
|
2b82: 8522 mv a0,s0
|
|
2b84: 9782 jalr a5
|
|
2b86: 2c3e lhu a5,26(s0)
|
|
2b88: 4501 li a0,0
|
|
2b8a: 8cdd or s1,s1,a5
|
|
2b8c: ac26 sh s1,26(s0)
|
|
2b8e: 839fd06f j 3c6 <__riscv_restore_0>
|
|
2b92: dbf5 beqz a5,2b86 <rt_serial_open+0x88>
|
|
2b94: 1005e593 ori a1,a1,256
|
|
2b98: ac2e sh a1,26(s0)
|
|
2b9a: b7f5 j 2b86 <rt_serial_open+0x88>
|
|
|
|
00002b9c <rt_serial_control>:
|
|
2b9c: 4809 li a6,2
|
|
2b9e: 87aa mv a5,a0
|
|
2ba0: 03058163 beq a1,a6,2bc2 <rt_serial_control+0x26>
|
|
2ba4: ffefd2ef jal t0,3a2 <__riscv_save_0>
|
|
2ba8: 480d li a6,3
|
|
2baa: 03058263 beq a1,a6,2bce <rt_serial_control+0x32>
|
|
2bae: 4705 li a4,1
|
|
2bb0: 04e59963 bne a1,a4,2c02 <rt_serial_control+0x66>
|
|
2bb4: 2d1a lhu a4,24(a0)
|
|
2bb6: fdf77713 andi a4,a4,-33
|
|
2bba: ad1a sh a4,24(a0)
|
|
2bbc: 4501 li a0,0
|
|
2bbe: 809fd06f j 3c6 <__riscv_restore_0>
|
|
2bc2: 2d1a lhu a4,24(a0)
|
|
2bc4: 02076713 ori a4,a4,32
|
|
2bc8: ad1a sh a4,24(a0)
|
|
2bca: 4501 li a0,0
|
|
2bcc: 8082 ret
|
|
2bce: 8732 mv a4,a2
|
|
2bd0: d675 beqz a2,2bbc <rt_serial_control+0x20>
|
|
2bd2: 4250 lw a2,4(a2)
|
|
2bd4: 4574 lw a3,76(a0)
|
|
2bd6: 2d4c lbu a1,28(a0)
|
|
2bd8: 8229 srli a2,a2,0xa
|
|
2bda: 82a9 srli a3,a3,0xa
|
|
2bdc: 0642 slli a2,a2,0x10
|
|
2bde: 06c2 slli a3,a3,0x10
|
|
2be0: 8241 srli a2,a2,0x10
|
|
2be2: 82c1 srli a3,a3,0x10
|
|
2be4: 00d60463 beq a2,a3,2bec <rt_serial_control+0x50>
|
|
2be8: 451d li a0,7
|
|
2bea: f9f1 bnez a1,2bbe <rt_serial_control+0x22>
|
|
2bec: 4314 lw a3,0(a4)
|
|
2bee: c7b4 sw a3,72(a5)
|
|
2bf0: 4354 lw a3,4(a4)
|
|
2bf2: c7f4 sw a3,76(a5)
|
|
2bf4: d5e1 beqz a1,2bbc <rt_serial_control+0x20>
|
|
2bf6: 43f4 lw a3,68(a5)
|
|
2bf8: 85ba mv a1,a4
|
|
2bfa: 853e mv a0,a5
|
|
2bfc: 4294 lw a3,0(a3)
|
|
2bfe: 9682 jalr a3
|
|
2c00: bf75 j 2bbc <rt_serial_control+0x20>
|
|
2c02: 417c lw a5,68(a0)
|
|
2c04: 43dc lw a5,4(a5)
|
|
2c06: 9782 jalr a5
|
|
2c08: bf5d j 2bbe <rt_serial_control+0x22>
|
|
|
|
00002c0a <rt_serial_read>:
|
|
2c0a: f7efd2ef jal t0,388 <__riscv_save_4>
|
|
2c0e: 8436 mv s0,a3
|
|
2c10: cab1 beqz a3,2c64 <rt_serial_read+0x5a>
|
|
2c12: 2d3e lhu a5,26(a0)
|
|
2c14: 89aa mv s3,a0
|
|
2c16: 8932 mv s2,a2
|
|
2c18: 1007f793 andi a5,a5,256
|
|
2c1c: 84b6 mv s1,a3
|
|
2c1e: e39d bnez a5,2c44 <rt_serial_read+0x3a>
|
|
2c20: 5a7d li s4,-1
|
|
2c22: 4aa9 li s5,10
|
|
2c24: 0449a783 lw a5,68(s3)
|
|
2c28: 854e mv a0,s3
|
|
2c2a: 47dc lw a5,12(a5)
|
|
2c2c: 9782 jalr a5
|
|
2c2e: 01450963 beq a0,s4,2c40 <rt_serial_read+0x36>
|
|
2c32: 00a90023 sb a0,0(s2)
|
|
2c36: 14fd addi s1,s1,-1
|
|
2c38: 0905 addi s2,s2,1
|
|
2c3a: 01550363 beq a0,s5,2c40 <rt_serial_read+0x36>
|
|
2c3e: f0fd bnez s1,2c24 <rt_serial_read+0x1a>
|
|
2c40: 8c05 sub s0,s0,s1
|
|
2c42: a00d j 2c64 <rt_serial_read+0x5a>
|
|
2c44: 4924 lw s1,80(a0)
|
|
2c46: 8a36 mv s4,a3
|
|
2c48: 4a85 li s5,1
|
|
2c4a: f39fe0ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
2c4e: 20fe lhu a5,6(s1)
|
|
2c50: 20da lhu a4,4(s1)
|
|
2c52: 862a mv a2,a0
|
|
2c54: 4494 lw a3,8(s1)
|
|
2c56: 00f71a63 bne a4,a5,2c6a <rt_serial_read+0x60>
|
|
2c5a: ea81 bnez a3,2c6a <rt_serial_read+0x60>
|
|
2c5c: f33fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
2c60: 41440433 sub s0,s0,s4
|
|
2c64: 8522 mv a0,s0
|
|
2c66: f56fd06f j 3bc <__riscv_restore_4>
|
|
2c6a: 4098 lw a4,0(s1)
|
|
2c6c: 973e add a4,a4,a5
|
|
2c6e: 00074b03 lbu s6,0(a4)
|
|
2c72: 04c9a703 lw a4,76(s3)
|
|
2c76: 0785 addi a5,a5,1
|
|
2c78: 07c2 slli a5,a5,0x10
|
|
2c7a: 8329 srli a4,a4,0xa
|
|
2c7c: 83c1 srli a5,a5,0x10
|
|
2c7e: 0742 slli a4,a4,0x10
|
|
2c80: a0fe sh a5,6(s1)
|
|
2c82: 8341 srli a4,a4,0x10
|
|
2c84: 00e7e463 bltu a5,a4,2c8c <rt_serial_read+0x82>
|
|
2c88: 00049323 sh zero,6(s1)
|
|
2c8c: 01569463 bne a3,s5,2c94 <rt_serial_read+0x8a>
|
|
2c90: 0004a423 sw zero,8(s1)
|
|
2c94: 8532 mv a0,a2
|
|
2c96: ef9fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
2c9a: 1a7d addi s4,s4,-1
|
|
2c9c: 01690023 sb s6,0(s2)
|
|
2ca0: 0905 addi s2,s2,1
|
|
2ca2: fa0a14e3 bnez s4,2c4a <rt_serial_read+0x40>
|
|
2ca6: bf6d j 2c60 <rt_serial_read+0x56>
|
|
|
|
00002ca8 <rt_serial_close>:
|
|
2ca8: 2d58 lbu a4,28(a0)
|
|
2caa: 4785 li a5,1
|
|
2cac: 02e7ec63 bltu a5,a4,2ce4 <rt_serial_close+0x3c>
|
|
2cb0: 2d3e lhu a5,26(a0)
|
|
2cb2: 1007f793 andi a5,a5,256
|
|
2cb6: c79d beqz a5,2ce4 <rt_serial_close+0x3c>
|
|
2cb8: eeafd2ef jal t0,3a2 <__riscv_save_0>
|
|
2cbc: 842a mv s0,a0
|
|
2cbe: 4928 lw a0,80(a0)
|
|
2cc0: e38fe0ef jal ra,12f8 <rt_free>
|
|
2cc4: 2c3e lhu a5,26(s0)
|
|
2cc6: 04042823 sw zero,80(s0)
|
|
2cca: 10000613 li a2,256
|
|
2cce: eff7f793 andi a5,a5,-257
|
|
2cd2: ac3e sh a5,26(s0)
|
|
2cd4: 407c lw a5,68(s0)
|
|
2cd6: 45c5 li a1,17
|
|
2cd8: 8522 mv a0,s0
|
|
2cda: 43dc lw a5,4(a5)
|
|
2cdc: 9782 jalr a5
|
|
2cde: 4501 li a0,0
|
|
2ce0: ee6fd06f j 3c6 <__riscv_restore_0>
|
|
2ce4: 4501 li a0,0
|
|
2ce6: 8082 ret
|
|
|
|
00002ce8 <rt_hw_serial_register>:
|
|
2ce8: ebafd2ef jal t0,3a2 <__riscv_save_0>
|
|
2cec: 00003737 lui a4,0x3
|
|
2cf0: a9c70713 addi a4,a4,-1380 # 2a9c <rt_serial_init>
|
|
2cf4: d518 sw a4,40(a0)
|
|
2cf6: 00003737 lui a4,0x3
|
|
2cfa: afe70713 addi a4,a4,-1282 # 2afe <rt_serial_open>
|
|
2cfe: d558 sw a4,44(a0)
|
|
2d00: 00003737 lui a4,0x3
|
|
2d04: ca870713 addi a4,a4,-856 # 2ca8 <rt_serial_close>
|
|
2d08: d918 sw a4,48(a0)
|
|
2d0a: 00003737 lui a4,0x3
|
|
2d0e: c0a70713 addi a4,a4,-1014 # 2c0a <rt_serial_read>
|
|
2d12: d958 sw a4,52(a0)
|
|
2d14: 00003737 lui a4,0x3
|
|
2d18: abc70713 addi a4,a4,-1348 # 2abc <rt_serial_write>
|
|
2d1c: dd18 sw a4,56(a0)
|
|
2d1e: 00003737 lui a4,0x3
|
|
2d22: b9c70713 addi a4,a4,-1124 # 2b9c <rt_serial_control>
|
|
2d26: 0642 slli a2,a2,0x10
|
|
2d28: dd58 sw a4,60(a0)
|
|
2d2a: c134 sw a3,64(a0)
|
|
2d2c: 8241 srli a2,a2,0x10
|
|
2d2e: 00052a23 sw zero,20(a0)
|
|
2d32: 02052023 sw zero,32(a0)
|
|
2d36: 02052223 sw zero,36(a0)
|
|
2d3a: 891fd0ef jal ra,5ca <rt_device_register>
|
|
2d3e: e88fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00002d42 <rt_hw_serial_isr>:
|
|
2d42: 0ff5f593 andi a1,a1,255
|
|
2d46: 4785 li a5,1
|
|
2d48: 0af59163 bne a1,a5,2dea <rt_hw_serial_isr+0xa8>
|
|
2d4c: e3cfd2ef jal t0,388 <__riscv_save_4>
|
|
2d50: 4920 lw s0,80(a0)
|
|
2d52: 1141 addi sp,sp,-16
|
|
2d54: 84aa mv s1,a0
|
|
2d56: 597d li s2,-1
|
|
2d58: 4985 li s3,1
|
|
2d5a: 40fc lw a5,68(s1)
|
|
2d5c: 8526 mv a0,s1
|
|
2d5e: 47dc lw a5,12(a5)
|
|
2d60: 9782 jalr a5
|
|
2d62: 8a2a mv s4,a0
|
|
2d64: 05250763 beq a0,s2,2db2 <rt_hw_serial_isr+0x70>
|
|
2d68: e1bfe0ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
2d6c: 205a lhu a4,4(s0)
|
|
2d6e: 401c lw a5,0(s0)
|
|
2d70: 97ba add a5,a5,a4
|
|
2d72: 01478023 sb s4,0(a5)
|
|
2d76: 205e lhu a5,4(s0)
|
|
2d78: 44f8 lw a4,76(s1)
|
|
2d7a: 0785 addi a5,a5,1
|
|
2d7c: 07c2 slli a5,a5,0x10
|
|
2d7e: 8329 srli a4,a4,0xa
|
|
2d80: 83c1 srli a5,a5,0x10
|
|
2d82: 0742 slli a4,a4,0x10
|
|
2d84: a05e sh a5,4(s0)
|
|
2d86: 8341 srli a4,a4,0x10
|
|
2d88: 00e7e463 bltu a5,a4,2d90 <rt_hw_serial_isr+0x4e>
|
|
2d8c: 00041223 sh zero,4(s0)
|
|
2d90: 2076 lhu a3,6(s0)
|
|
2d92: 205e lhu a5,4(s0)
|
|
2d94: 00d79c63 bne a5,a3,2dac <rt_hw_serial_isr+0x6a>
|
|
2d98: 0785 addi a5,a5,1
|
|
2d9a: 07c2 slli a5,a5,0x10
|
|
2d9c: 83c1 srli a5,a5,0x10
|
|
2d9e: a07e sh a5,6(s0)
|
|
2da0: 01342423 sw s3,8(s0)
|
|
2da4: 00e7e463 bltu a5,a4,2dac <rt_hw_serial_isr+0x6a>
|
|
2da8: 00041323 sh zero,6(s0)
|
|
2dac: de3fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
2db0: b76d j 2d5a <rt_hw_serial_isr+0x18>
|
|
2db2: 509c lw a5,32(s1)
|
|
2db4: c385 beqz a5,2dd4 <rt_hw_serial_isr+0x92>
|
|
2db6: dcdfe0ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
2dba: 205a lhu a4,4(s0)
|
|
2dbc: 206e lhu a1,6(s0)
|
|
2dbe: 00b76e63 bltu a4,a1,2dda <rt_hw_serial_isr+0x98>
|
|
2dc2: 40b705b3 sub a1,a4,a1
|
|
2dc6: c62e sw a1,12(sp)
|
|
2dc8: dc7fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
2dcc: 509c lw a5,32(s1)
|
|
2dce: 45b2 lw a1,12(sp)
|
|
2dd0: 8526 mv a0,s1
|
|
2dd2: 9782 jalr a5
|
|
2dd4: 0141 addi sp,sp,16
|
|
2dd6: de6fd06f j 3bc <__riscv_restore_4>
|
|
2dda: 44fc lw a5,76(s1)
|
|
2ddc: 8d99 sub a1,a1,a4
|
|
2dde: 83a9 srli a5,a5,0xa
|
|
2de0: 07c2 slli a5,a5,0x10
|
|
2de2: 83c1 srli a5,a5,0x10
|
|
2de4: 40b785b3 sub a1,a5,a1
|
|
2de8: bff9 j 2dc6 <rt_hw_serial_isr+0x84>
|
|
2dea: 8082 ret
|
|
|
|
00002dec <_pin_control>:
|
|
2dec: ce01 beqz a2,2e04 <_pin_control+0x18>
|
|
2dee: db4fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2df2: 4178 lw a4,68(a0)
|
|
2df4: 87b2 mv a5,a2
|
|
2df6: 238e lhu a1,0(a5)
|
|
2df8: 4318 lw a4,0(a4)
|
|
2dfa: 2232 lhu a2,2(a2)
|
|
2dfc: 9702 jalr a4
|
|
2dfe: 4501 li a0,0
|
|
2e00: dc6fd06f j 3c6 <__riscv_restore_0>
|
|
2e04: 557d li a0,-1
|
|
2e06: 8082 ret
|
|
|
|
00002e08 <rt_pin_mode>:
|
|
2e08: d9afd2ef jal t0,3a2 <__riscv_save_0>
|
|
2e0c: d2018713 addi a4,gp,-736 # 200007c8 <_hw_pin>
|
|
2e10: 4378 lw a4,68(a4)
|
|
2e12: 862e mv a2,a1
|
|
2e14: 85aa mv a1,a0
|
|
2e16: 4318 lw a4,0(a4)
|
|
2e18: d2018513 addi a0,gp,-736 # 200007c8 <_hw_pin>
|
|
2e1c: 9702 jalr a4
|
|
2e1e: da8fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00002e22 <rt_pin_write>:
|
|
2e22: d80fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2e26: d2018713 addi a4,gp,-736 # 200007c8 <_hw_pin>
|
|
2e2a: 4378 lw a4,68(a4)
|
|
2e2c: 862e mv a2,a1
|
|
2e2e: 85aa mv a1,a0
|
|
2e30: 4358 lw a4,4(a4)
|
|
2e32: d2018513 addi a0,gp,-736 # 200007c8 <_hw_pin>
|
|
2e36: 9702 jalr a4
|
|
2e38: d8efd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00002e3c <rt_pin_read>:
|
|
2e3c: d66fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2e40: d2018713 addi a4,gp,-736 # 200007c8 <_hw_pin>
|
|
2e44: 4378 lw a4,68(a4)
|
|
2e46: 85aa mv a1,a0
|
|
2e48: d2018513 addi a0,gp,-736 # 200007c8 <_hw_pin>
|
|
2e4c: 4718 lw a4,8(a4)
|
|
2e4e: 9702 jalr a4
|
|
2e50: d76fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00002e54 <_pin_read>:
|
|
2e54: c605 beqz a2,2e7c <_pin_read+0x28>
|
|
2e56: 4711 li a4,4
|
|
2e58: 02e69263 bne a3,a4,2e7c <_pin_read+0x28>
|
|
2e5c: d46fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2e60: 417c lw a5,68(a0)
|
|
2e62: 220e lhu a1,0(a2)
|
|
2e64: 1141 addi sp,sp,-16
|
|
2e66: 479c lw a5,8(a5)
|
|
2e68: c636 sw a3,12(sp)
|
|
2e6a: c432 sw a2,8(sp)
|
|
2e6c: 9782 jalr a5
|
|
2e6e: 4622 lw a2,8(sp)
|
|
2e70: 46b2 lw a3,12(sp)
|
|
2e72: a22a sh a0,2(a2)
|
|
2e74: 8536 mv a0,a3
|
|
2e76: 0141 addi sp,sp,16
|
|
2e78: d4efd06f j 3c6 <__riscv_restore_0>
|
|
2e7c: 4681 li a3,0
|
|
2e7e: 8536 mv a0,a3
|
|
2e80: 8082 ret
|
|
|
|
00002e82 <_pin_write>:
|
|
2e82: c21d beqz a2,2ea8 <_pin_write+0x26>
|
|
2e84: 87b2 mv a5,a2
|
|
2e86: 4611 li a2,4
|
|
2e88: 02c69063 bne a3,a2,2ea8 <_pin_write+0x26>
|
|
2e8c: d16fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2e90: 4178 lw a4,68(a0)
|
|
2e92: 23b2 lhu a2,2(a5)
|
|
2e94: 238e lhu a1,0(a5)
|
|
2e96: 4358 lw a4,4(a4)
|
|
2e98: 1141 addi sp,sp,-16
|
|
2e9a: c636 sw a3,12(sp)
|
|
2e9c: 9702 jalr a4
|
|
2e9e: 46b2 lw a3,12(sp)
|
|
2ea0: 0141 addi sp,sp,16
|
|
2ea2: 8536 mv a0,a3
|
|
2ea4: d22fd06f j 3c6 <__riscv_restore_0>
|
|
2ea8: 4681 li a3,0
|
|
2eaa: 8536 mv a0,a3
|
|
2eac: 8082 ret
|
|
|
|
00002eae <rt_device_pin_register>:
|
|
2eae: cf4fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2eb2: d2018793 addi a5,gp,-736 # 200007c8 <_hw_pin>
|
|
2eb6: 4749 li a4,18
|
|
2eb8: cbd8 sw a4,20(a5)
|
|
2eba: 00003737 lui a4,0x3
|
|
2ebe: e5470713 addi a4,a4,-428 # 2e54 <_pin_read>
|
|
2ec2: dbd8 sw a4,52(a5)
|
|
2ec4: 00003737 lui a4,0x3
|
|
2ec8: e8270713 addi a4,a4,-382 # 2e82 <_pin_write>
|
|
2ecc: df98 sw a4,56(a5)
|
|
2ece: 00003737 lui a4,0x3
|
|
2ed2: dec70713 addi a4,a4,-532 # 2dec <_pin_control>
|
|
2ed6: c3ec sw a1,68(a5)
|
|
2ed8: c3b0 sw a2,64(a5)
|
|
2eda: 85aa mv a1,a0
|
|
2edc: 460d li a2,3
|
|
2ede: d2018513 addi a0,gp,-736 # 200007c8 <_hw_pin>
|
|
2ee2: 0207a023 sw zero,32(a5)
|
|
2ee6: 0207a223 sw zero,36(a5)
|
|
2eea: 0207a423 sw zero,40(a5)
|
|
2eee: 0207a623 sw zero,44(a5)
|
|
2ef2: 0207a823 sw zero,48(a5)
|
|
2ef6: dfd8 sw a4,60(a5)
|
|
2ef8: ed2fd0ef jal ra,5ca <rt_device_register>
|
|
2efc: 4501 li a0,0
|
|
2efe: cc8fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00002f02 <rt_hw_board_init>:
|
|
2f02: ca0fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2f06: 200007b7 lui a5,0x20000
|
|
2f0a: 2a87a703 lw a4,680(a5) # 200002a8 <SystemCoreClock>
|
|
2f0e: 3e800793 li a5,1000
|
|
2f12: 56c1 li a3,-16
|
|
2f14: 02f75733 divu a4,a4,a5
|
|
2f18: e000e7b7 lui a5,0xe000e
|
|
2f1c: 40d78623 sb a3,1036(a5) # e000e40c <_eusrstack+0xbfffe40c>
|
|
2f20: 40d78723 sb a3,1038(a5)
|
|
2f24: 6685 lui a3,0x1
|
|
2f26: 10d7a023 sw a3,256(a5)
|
|
2f2a: 6691 lui a3,0x4
|
|
2f2c: 10d7a023 sw a3,256(a5)
|
|
2f30: e000f7b7 lui a5,0xe000f
|
|
2f34: 0007a023 sw zero,0(a5) # e000f000 <_eusrstack+0xbffff000>
|
|
2f38: 0007a223 sw zero,4(a5)
|
|
2f3c: 4601 li a2,0
|
|
2f3e: c790 sw a2,8(a5)
|
|
2f40: 4681 li a3,0
|
|
2f42: c7d4 sw a3,12(a5)
|
|
2f44: 4681 li a3,0
|
|
2f46: fff70613 addi a2,a4,-1
|
|
2f4a: cb90 sw a2,16(a5)
|
|
2f4c: cbd4 sw a3,20(a5)
|
|
2f4e: 473d li a4,15
|
|
2f50: c398 sw a4,0(a5)
|
|
2f52: d8efd0ef jal ra,4e0 <rt_components_board_init>
|
|
2f56: 200105b7 lui a1,0x20010
|
|
2f5a: 18c18513 addi a0,gp,396 # 20000c34 <_ebss>
|
|
2f5e: 9cefe0ef jal ra,112c <rt_system_heap_init>
|
|
2f62: 00006537 lui a0,0x6
|
|
2f66: f6850513 addi a0,a0,-152 # 5f68 <__fsym_pinMode_name+0x8>
|
|
2f6a: 814fe0ef jal ra,f7e <rt_console_set_device>
|
|
2f6e: c58fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00002f72 <SysTick_Handler>:
|
|
2f72: 34011173 csrrw sp,mscratch,sp
|
|
2f76: 981fd0ef jal ra,8f6 <rt_interrupt_enter>
|
|
2f7a: e000f7b7 lui a5,0xe000f
|
|
2f7e: 0007a223 sw zero,4(a5) # e000f004 <_eusrstack+0xbffff004>
|
|
2f82: cfefd0ef jal ra,480 <rt_tick_increase>
|
|
2f86: 99dfd0ef jal ra,922 <rt_interrupt_leave>
|
|
2f8a: 34011173 csrrw sp,mscratch,sp
|
|
2f8e: 30200073 mret
|
|
|
|
00002f92 <InitRingQueue>:
|
|
2f92: 00052623 sw zero,12(a0)
|
|
2f96: c10c sw a1,0(a0)
|
|
2f98: c150 sw a2,4(a0)
|
|
2f9a: 00052423 sw zero,8(a0)
|
|
2f9e: 4505 li a0,1
|
|
2fa0: 8082 ret
|
|
|
|
00002fa2 <InRingQueue>:
|
|
2fa2: 455c lw a5,12(a0)
|
|
2fa4: 4154 lw a3,4(a0)
|
|
2fa6: 4518 lw a4,8(a0)
|
|
2fa8: 0785 addi a5,a5,1
|
|
2faa: 02d7e7b3 rem a5,a5,a3
|
|
2fae: 00e78e63 beq a5,a4,2fca <InRingQueue+0x28>
|
|
2fb2: 4558 lw a4,12(a0)
|
|
2fb4: 411c lw a5,0(a0)
|
|
2fb6: 97ba add a5,a5,a4
|
|
2fb8: a38c sb a1,0(a5)
|
|
2fba: 455c lw a5,12(a0)
|
|
2fbc: 4158 lw a4,4(a0)
|
|
2fbe: 0785 addi a5,a5,1
|
|
2fc0: 02e7e7b3 rem a5,a5,a4
|
|
2fc4: c55c sw a5,12(a0)
|
|
2fc6: 4505 li a0,1
|
|
2fc8: 8082 ret
|
|
2fca: 5579 li a0,-2
|
|
2fcc: 8082 ret
|
|
|
|
00002fce <OutRingQueue>:
|
|
2fce: 4518 lw a4,8(a0)
|
|
2fd0: 455c lw a5,12(a0)
|
|
2fd2: 00f70f63 beq a4,a5,2ff0 <OutRingQueue+0x22>
|
|
2fd6: 4518 lw a4,8(a0)
|
|
2fd8: 411c lw a5,0(a0)
|
|
2fda: 97ba add a5,a5,a4
|
|
2fdc: 239c lbu a5,0(a5)
|
|
2fde: a19c sb a5,0(a1)
|
|
2fe0: 451c lw a5,8(a0)
|
|
2fe2: 4158 lw a4,4(a0)
|
|
2fe4: 0785 addi a5,a5,1
|
|
2fe6: 02e7e7b3 rem a5,a5,a4
|
|
2fea: c51c sw a5,8(a0)
|
|
2fec: 4505 li a0,1
|
|
2fee: 8082 ret
|
|
2ff0: 4501 li a0,0
|
|
2ff2: 8082 ret
|
|
|
|
00002ff4 <RingQueueLength>:
|
|
2ff4: 455c lw a5,12(a0)
|
|
2ff6: 4518 lw a4,8(a0)
|
|
2ff8: 4148 lw a0,4(a0)
|
|
2ffa: 8f99 sub a5,a5,a4
|
|
2ffc: 97aa add a5,a5,a0
|
|
2ffe: 02a7e533 rem a0,a5,a0
|
|
3002: 8082 ret
|
|
|
|
00003004 <bit2bitno>:
|
|
3004: 4781 li a5,0
|
|
3006: 4685 li a3,1
|
|
3008: 02000713 li a4,32
|
|
300c: 00f69633 sll a2,a3,a5
|
|
3010: 00a60663 beq a2,a0,301c <bit2bitno+0x18>
|
|
3014: 0785 addi a5,a5,1
|
|
3016: fee79be3 bne a5,a4,300c <bit2bitno+0x8>
|
|
301a: 57fd li a5,-1
|
|
301c: 853e mv a0,a5
|
|
301e: 8082 ret
|
|
|
|
00003020 <GPIOD_CLK_ENABLE>:
|
|
3020: b82fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3024: 4585 li a1,1
|
|
3026: 02000513 li a0,32
|
|
302a: 57a010ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
302e: b98fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003032 <GPIOB_CLK_ENABLE>:
|
|
3032: b70fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3036: 4585 li a1,1
|
|
3038: 4521 li a0,8
|
|
303a: 56a010ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
303e: b88fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003042 <GPIOA_CLK_ENABLE>:
|
|
3042: b60fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3046: 4585 li a1,1
|
|
3048: 4511 li a0,4
|
|
304a: 55a010ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
304e: b78fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003052 <GPIOC_CLK_ENABLE>:
|
|
3052: b50fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3056: 4585 li a1,1
|
|
3058: 4541 li a0,16
|
|
305a: 54a010ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
305e: b68fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003062 <GPIOE_CLK_ENABLE>:
|
|
3062: b40fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3066: 4585 li a1,1
|
|
3068: 04000513 li a0,64
|
|
306c: 538010ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
3070: b56fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003074 <rt_hw_pin_init>:
|
|
3074: b2efd2ef jal t0,3a2 <__riscv_save_0>
|
|
3078: 6599 lui a1,0x6
|
|
307a: 00006537 lui a0,0x6
|
|
307e: 4601 li a2,0
|
|
3080: f7058593 addi a1,a1,-144 # 5f70 <_ch32_pin_ops>
|
|
3084: 65850513 addi a0,a0,1624 # 6658 <pins+0x650>
|
|
3088: e27ff0ef jal ra,2eae <rt_device_pin_register>
|
|
308c: b3afd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003090 <get_pin>:
|
|
3090: 06400793 li a5,100
|
|
3094: 00a7ec63 bltu a5,a0,30ac <get_pin+0x1c>
|
|
3098: 00451793 slli a5,a0,0x4
|
|
309c: 6519 lui a0,0x6
|
|
309e: 00850513 addi a0,a0,8 # 6008 <pins>
|
|
30a2: 953e add a0,a0,a5
|
|
30a4: 4118 lw a4,0(a0)
|
|
30a6: 57fd li a5,-1
|
|
30a8: 00f71363 bne a4,a5,30ae <get_pin+0x1e>
|
|
30ac: 4501 li a0,0
|
|
30ae: 8082 ret
|
|
|
|
000030b0 <ch32_pin_write>:
|
|
30b0: af2fd2ef jal t0,3a2 <__riscv_save_0>
|
|
30b4: 1141 addi sp,sp,-16
|
|
30b6: 0ff5f513 andi a0,a1,255
|
|
30ba: c632 sw a2,12(sp)
|
|
30bc: fd5ff0ef jal ra,3090 <get_pin>
|
|
30c0: c511 beqz a0,30cc <ch32_pin_write+0x1c>
|
|
30c2: 254e lhu a1,12(a0)
|
|
30c4: 4632 lw a2,12(sp)
|
|
30c6: 4508 lw a0,8(a0)
|
|
30c8: 2e2010ef jal ra,43aa <GPIO_WriteBit>
|
|
30cc: 0141 addi sp,sp,16
|
|
30ce: af8fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
000030d2 <ch32_pin_read>:
|
|
30d2: ad0fd2ef jal t0,3a2 <__riscv_save_0>
|
|
30d6: 0ff5f513 andi a0,a1,255
|
|
30da: fb7ff0ef jal ra,3090 <get_pin>
|
|
30de: 87aa mv a5,a0
|
|
30e0: 4501 li a0,0
|
|
30e2: c789 beqz a5,30ec <ch32_pin_read+0x1a>
|
|
30e4: 27ce lhu a1,12(a5)
|
|
30e6: 4788 lw a0,8(a5)
|
|
30e8: 2b8010ef jal ra,43a0 <GPIO_ReadInputDataBit>
|
|
30ec: adafd06f j 3c6 <__riscv_restore_0>
|
|
|
|
000030f0 <ch32_pin_mode>:
|
|
30f0: ab2fd2ef jal t0,3a2 <__riscv_save_0>
|
|
30f4: 1101 addi sp,sp,-32
|
|
30f6: 0ff5f513 andi a0,a1,255
|
|
30fa: 8432 mv s0,a2
|
|
30fc: f95ff0ef jal ra,3090 <get_pin>
|
|
3100: c505 beqz a0,3128 <ch32_pin_mode+0x38>
|
|
3102: 415c lw a5,4(a0)
|
|
3104: c62a sw a0,12(sp)
|
|
3106: 9782 jalr a5
|
|
3108: 4532 lw a0,12(sp)
|
|
310a: 455c lw a5,12(a0)
|
|
310c: 82fc sh a5,20(sp)
|
|
310e: 47c1 li a5,16
|
|
3110: ce3e sw a5,28(sp)
|
|
3112: 478d li a5,3
|
|
3114: cc3e sw a5,24(sp)
|
|
3116: c409 beqz s0,3120 <ch32_pin_mode+0x30>
|
|
3118: 4715 li a4,5
|
|
311a: 00e41a63 bne s0,a4,312e <ch32_pin_mode+0x3e>
|
|
311e: ce02 sw zero,28(sp)
|
|
3120: 4508 lw a0,8(a0)
|
|
3122: 084c addi a1,sp,20
|
|
3124: 1bc010ef jal ra,42e0 <GPIO_Init>
|
|
3128: 6105 addi sp,sp,32
|
|
312a: a9cfd06f j 3c6 <__riscv_restore_0>
|
|
312e: 4705 li a4,1
|
|
3130: 00e41563 bne s0,a4,313a <ch32_pin_mode+0x4a>
|
|
3134: 4791 li a5,4
|
|
3136: ce3e sw a5,28(sp)
|
|
3138: b7e5 j 3120 <ch32_pin_mode+0x30>
|
|
313a: 00f41563 bne s0,a5,3144 <ch32_pin_mode+0x54>
|
|
313e: 02800793 li a5,40
|
|
3142: bfd5 j 3136 <ch32_pin_mode+0x46>
|
|
3144: 4789 li a5,2
|
|
3146: 00f41563 bne s0,a5,3150 <ch32_pin_mode+0x60>
|
|
314a: 04800793 li a5,72
|
|
314e: b7e5 j 3136 <ch32_pin_mode+0x46>
|
|
3150: 4791 li a5,4
|
|
3152: 00f41463 bne s0,a5,315a <ch32_pin_mode+0x6a>
|
|
3156: 47d1 li a5,20
|
|
3158: bff9 j 3136 <ch32_pin_mode+0x46>
|
|
315a: 4799 li a5,6
|
|
315c: 00f41463 bne s0,a5,3164 <ch32_pin_mode+0x74>
|
|
3160: 47f1 li a5,28
|
|
3162: bfd1 j 3136 <ch32_pin_mode+0x46>
|
|
3164: 479d li a5,7
|
|
3166: faf41de3 bne s0,a5,3120 <ch32_pin_mode+0x30>
|
|
316a: 47e1 li a5,24
|
|
316c: b7e9 j 3136 <ch32_pin_mode+0x46>
|
|
|
|
0000316e <ch32_pin_attach_irq>:
|
|
316e: a1afd2ef jal t0,388 <__riscv_save_4>
|
|
3172: 0ff5f513 andi a0,a1,255
|
|
3176: 84ae mv s1,a1
|
|
3178: 89b2 mv s3,a2
|
|
317a: 8a36 mv s4,a3
|
|
317c: 893a mv s2,a4
|
|
317e: f13ff0ef jal ra,3090 <get_pin>
|
|
3182: 4799 li a5,6
|
|
3184: cd31 beqz a0,31e0 <ch32_pin_attach_irq+0x72>
|
|
3186: 4548 lw a0,12(a0)
|
|
3188: e7dff0ef jal ra,3004 <bit2bitno>
|
|
318c: 473d li a4,15
|
|
318e: 842a mv s0,a0
|
|
3190: 4799 li a5,6
|
|
3192: 04a76763 bltu a4,a0,31e0 <ch32_pin_attach_irq+0x72>
|
|
3196: 9edfe0ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
319a: 46b1 li a3,12
|
|
319c: 02d406b3 mul a3,s0,a3
|
|
31a0: 200007b7 lui a5,0x20000
|
|
31a4: 08078713 addi a4,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
31a8: 862a mv a2,a0
|
|
31aa: 08078793 addi a5,a5,128
|
|
31ae: 9736 add a4,a4,a3
|
|
31b0: 00071683 lh a3,0(a4)
|
|
31b4: 00969f63 bne a3,s1,31d2 <ch32_pin_attach_irq+0x64>
|
|
31b8: 434c lw a1,4(a4)
|
|
31ba: 01459c63 bne a1,s4,31d2 <ch32_pin_attach_irq+0x64>
|
|
31be: 232e lhu a1,2(a4)
|
|
31c0: 01359963 bne a1,s3,31d2 <ch32_pin_attach_irq+0x64>
|
|
31c4: 4718 lw a4,8(a4)
|
|
31c6: 01271663 bne a4,s2,31d2 <ch32_pin_attach_irq+0x64>
|
|
31ca: 9c5fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
31ce: 4781 li a5,0
|
|
31d0: a801 j 31e0 <ch32_pin_attach_irq+0x72>
|
|
31d2: 577d li a4,-1
|
|
31d4: 00e68963 beq a3,a4,31e6 <ch32_pin_attach_irq+0x78>
|
|
31d8: 8532 mv a0,a2
|
|
31da: 9b5fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
31de: 479d li a5,7
|
|
31e0: 853e mv a0,a5
|
|
31e2: 9dafd06f j 3bc <__riscv_restore_4>
|
|
31e6: 4531 li a0,12
|
|
31e8: 02a40533 mul a0,s0,a0
|
|
31ec: 953e add a0,a0,a5
|
|
31ee: a106 sh s1,0(a0)
|
|
31f0: 01452223 sw s4,4(a0)
|
|
31f4: 01351123 sh s3,2(a0)
|
|
31f8: 01252423 sw s2,8(a0)
|
|
31fc: 8532 mv a0,a2
|
|
31fe: b7f1 j 31ca <ch32_pin_attach_irq+0x5c>
|
|
|
|
00003200 <ch32_pin_dettach_irq>:
|
|
3200: 9a2fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3204: 0ff5f513 andi a0,a1,255
|
|
3208: e89ff0ef jal ra,3090 <get_pin>
|
|
320c: 4719 li a4,6
|
|
320e: c91d beqz a0,3244 <ch32_pin_dettach_irq+0x44>
|
|
3210: 4548 lw a0,12(a0)
|
|
3212: df3ff0ef jal ra,3004 <bit2bitno>
|
|
3216: 47bd li a5,15
|
|
3218: 842a mv s0,a0
|
|
321a: 4719 li a4,6
|
|
321c: 02a7e463 bltu a5,a0,3244 <ch32_pin_dettach_irq+0x44>
|
|
3220: 963fe0ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
3224: 47b1 li a5,12
|
|
3226: 02f40433 mul s0,s0,a5
|
|
322a: 200007b7 lui a5,0x20000
|
|
322e: 08078793 addi a5,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
3232: 577d li a4,-1
|
|
3234: 97a2 add a5,a5,s0
|
|
3236: 00079683 lh a3,0(a5)
|
|
323a: 00e69863 bne a3,a4,324a <ch32_pin_dettach_irq+0x4a>
|
|
323e: 951fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
3242: 4701 li a4,0
|
|
3244: 853a mv a0,a4
|
|
3246: 980fd06f j 3c6 <__riscv_restore_0>
|
|
324a: 6741 lui a4,0x10
|
|
324c: 177d addi a4,a4,-1
|
|
324e: c398 sw a4,0(a5)
|
|
3250: 0007a223 sw zero,4(a5)
|
|
3254: 0007a423 sw zero,8(a5)
|
|
3258: b7dd j 323e <ch32_pin_dettach_irq+0x3e>
|
|
|
|
0000325a <ch32_pin_irq_enable>:
|
|
325a: 92efd2ef jal t0,388 <__riscv_save_4>
|
|
325e: 1101 addi sp,sp,-32
|
|
3260: 0ff5f513 andi a0,a1,255
|
|
3264: 8a32 mv s4,a2
|
|
3266: e2bff0ef jal ra,3090 <get_pin>
|
|
326a: 4799 li a5,6
|
|
326c: c121 beqz a0,32ac <ch32_pin_irq_enable+0x52>
|
|
326e: 4485 li s1,1
|
|
3270: 842a mv s0,a0
|
|
3272: 109a1563 bne s4,s1,337c <ch32_pin_irq_enable+0x122>
|
|
3276: 4548 lw a0,12(a0)
|
|
3278: d8dff0ef jal ra,3004 <bit2bitno>
|
|
327c: 473d li a4,15
|
|
327e: 84aa mv s1,a0
|
|
3280: 4799 li a5,6
|
|
3282: 02a76563 bltu a4,a0,32ac <ch32_pin_irq_enable+0x52>
|
|
3286: 8fdfe0ef jal ra,1b82 <rt_hw_interrupt_disable>
|
|
328a: 4ab1 li s5,12
|
|
328c: 035487b3 mul a5,s1,s5
|
|
3290: 20000937 lui s2,0x20000
|
|
3294: 08090913 addi s2,s2,128 # 20000080 <pin_irq_hdr_tab>
|
|
3298: 89aa mv s3,a0
|
|
329a: 993e add s2,s2,a5
|
|
329c: 00091703 lh a4,0(s2)
|
|
32a0: 57fd li a5,-1
|
|
32a2: 00f71963 bne a4,a5,32b4 <ch32_pin_irq_enable+0x5a>
|
|
32a6: 8e9fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
32aa: 4799 li a5,6
|
|
32ac: 853e mv a0,a5
|
|
32ae: 6105 addi sp,sp,32
|
|
32b0: 90cfd06f j 3bc <__riscv_restore_4>
|
|
32b4: 405c lw a5,4(s0)
|
|
32b6: 9782 jalr a5
|
|
32b8: 4585 li a1,1
|
|
32ba: 4505 li a0,1
|
|
32bc: 2e8010ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
32c0: 445c lw a5,12(s0)
|
|
32c2: 470d li a4,3
|
|
32c4: c43a sw a4,8(sp)
|
|
32c6: 827c sh a5,4(sp)
|
|
32c8: c83e sw a5,16(sp)
|
|
32ca: 00295783 lhu a5,2(s2)
|
|
32ce: ca02 sw zero,20(sp)
|
|
32d0: ce52 sw s4,28(sp)
|
|
32d2: 09478c63 beq a5,s4,336a <ch32_pin_irq_enable+0x110>
|
|
32d6: c7c1 beqz a5,335e <ch32_pin_irq_enable+0x104>
|
|
32d8: 4709 li a4,2
|
|
32da: 08e78d63 beq a5,a4,3374 <ch32_pin_irq_enable+0x11a>
|
|
32de: 4408 lw a0,8(s0)
|
|
32e0: 004c addi a1,sp,4
|
|
32e2: 7ff000ef jal ra,42e0 <GPIO_Init>
|
|
32e6: 4418 lw a4,8(s0)
|
|
32e8: 400117b7 lui a5,0x40011
|
|
32ec: c0078693 addi a3,a5,-1024 # 40010c00 <_eusrstack+0x20000c00>
|
|
32f0: 4505 li a0,1
|
|
32f2: 02d70263 beq a4,a3,3316 <ch32_pin_irq_enable+0xbc>
|
|
32f6: 4509 li a0,2
|
|
32f8: 00f70f63 beq a4,a5,3316 <ch32_pin_irq_enable+0xbc>
|
|
32fc: 40078793 addi a5,a5,1024
|
|
3300: 450d li a0,3
|
|
3302: 00f70a63 beq a4,a5,3316 <ch32_pin_irq_enable+0xbc>
|
|
3306: 400127b7 lui a5,0x40012
|
|
330a: 80078793 addi a5,a5,-2048 # 40011800 <_eusrstack+0x20001800>
|
|
330e: 4501 li a0,0
|
|
3310: 00f71363 bne a4,a5,3316 <ch32_pin_irq_enable+0xbc>
|
|
3314: 4511 li a0,4
|
|
3316: 0ff4f593 andi a1,s1,255
|
|
331a: 09a010ef jal ra,43b4 <GPIO_EXTILineConfig>
|
|
331e: 0808 addi a0,sp,16
|
|
3320: 72f000ef jal ra,424e <EXTI_Init>
|
|
3324: 6799 lui a5,0x6
|
|
3326: f8878793 addi a5,a5,-120 # 5f88 <pin_irq_map>
|
|
332a: 048e slli s1,s1,0x3
|
|
332c: 94be add s1,s1,a5
|
|
332e: 40d0 lw a2,4(s1)
|
|
3330: e000e737 lui a4,0xe000e
|
|
3334: 05000693 li a3,80
|
|
3338: 00c707b3 add a5,a4,a2
|
|
333c: 40d78023 sb a3,1024(a5)
|
|
3340: 00565793 srli a5,a2,0x5
|
|
3344: 04078793 addi a5,a5,64
|
|
3348: 4685 li a3,1
|
|
334a: 078a slli a5,a5,0x2
|
|
334c: 00c696b3 sll a3,a3,a2
|
|
3350: 97ba add a5,a5,a4
|
|
3352: c394 sw a3,0(a5)
|
|
3354: 854e mv a0,s3
|
|
3356: 839fe0ef jal ra,1b8e <rt_hw_interrupt_enable>
|
|
335a: 4781 li a5,0
|
|
335c: bf81 j 32ac <ch32_pin_irq_enable+0x52>
|
|
335e: 02800793 li a5,40
|
|
3362: c63e sw a5,12(sp)
|
|
3364: 47a1 li a5,8
|
|
3366: cc3e sw a5,24(sp)
|
|
3368: bf9d j 32de <ch32_pin_irq_enable+0x84>
|
|
336a: 04800793 li a5,72
|
|
336e: c63e sw a5,12(sp)
|
|
3370: cc56 sw s5,24(sp)
|
|
3372: b7b5 j 32de <ch32_pin_irq_enable+0x84>
|
|
3374: 4791 li a5,4
|
|
3376: c63e sw a5,12(sp)
|
|
3378: 47c1 li a5,16
|
|
337a: b7f5 j 3366 <ch32_pin_irq_enable+0x10c>
|
|
337c: 4799 li a5,6
|
|
337e: f20a17e3 bnez s4,32ac <ch32_pin_irq_enable+0x52>
|
|
3382: 4548 lw a0,12(a0)
|
|
3384: c81ff0ef jal ra,3004 <bit2bitno>
|
|
3388: 473d li a4,15
|
|
338a: 4799 li a5,6
|
|
338c: f2a760e3 bltu a4,a0,32ac <ch32_pin_irq_enable+0x52>
|
|
3390: 00351793 slli a5,a0,0x3
|
|
3394: 6519 lui a0,0x6
|
|
3396: f8850513 addi a0,a0,-120 # 5f88 <pin_irq_map>
|
|
339a: 953e add a0,a0,a5
|
|
339c: 4158 lw a4,4(a0)
|
|
339e: 00575793 srli a5,a4,0x5
|
|
33a2: 06078793 addi a5,a5,96
|
|
33a6: 00e494b3 sll s1,s1,a4
|
|
33aa: 078a slli a5,a5,0x2
|
|
33ac: e000e737 lui a4,0xe000e
|
|
33b0: 97ba add a5,a5,a4
|
|
33b2: c384 sw s1,0(a5)
|
|
33b4: b75d j 335a <ch32_pin_irq_enable+0x100>
|
|
|
|
000033b6 <HAL_GPIO_EXTI_Callback>:
|
|
33b6: fedfc2ef jal t0,3a2 <__riscv_save_0>
|
|
33ba: c4bff0ef jal ra,3004 <bit2bitno>
|
|
33be: 47b1 li a5,12
|
|
33c0: 02f50533 mul a0,a0,a5
|
|
33c4: 200007b7 lui a5,0x20000
|
|
33c8: 08078793 addi a5,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
33cc: 953e add a0,a0,a5
|
|
33ce: 415c lw a5,4(a0)
|
|
33d0: c399 beqz a5,33d6 <HAL_GPIO_EXTI_Callback+0x20>
|
|
33d2: 4508 lw a0,8(a0)
|
|
33d4: 9782 jalr a5
|
|
33d6: ff1fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
000033da <EXTI0_IRQHandler>:
|
|
33da: 34011173 csrrw sp,mscratch,sp
|
|
33de: d18fd0ef jal ra,8f6 <rt_interrupt_enter>
|
|
33e2: 4505 li a0,1
|
|
33e4: 6d5000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
33e8: c519 beqz a0,33f6 <EXTI0_IRQHandler+0x1c>
|
|
33ea: 4505 li a0,1
|
|
33ec: fcbff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
33f0: 4505 li a0,1
|
|
33f2: 6e5000ef jal ra,42d6 <EXTI_ClearITPendingBit>
|
|
33f6: d2cfd0ef jal ra,922 <rt_interrupt_leave>
|
|
33fa: 34011173 csrrw sp,mscratch,sp
|
|
33fe: 30200073 mret
|
|
|
|
00003402 <EXTI1_IRQHandler>:
|
|
3402: 34011173 csrrw sp,mscratch,sp
|
|
3406: cf0fd0ef jal ra,8f6 <rt_interrupt_enter>
|
|
340a: 4509 li a0,2
|
|
340c: 6ad000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
3410: c519 beqz a0,341e <EXTI1_IRQHandler+0x1c>
|
|
3412: 4509 li a0,2
|
|
3414: fa3ff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
3418: 4509 li a0,2
|
|
341a: 6bd000ef jal ra,42d6 <EXTI_ClearITPendingBit>
|
|
341e: d04fd0ef jal ra,922 <rt_interrupt_leave>
|
|
3422: 34011173 csrrw sp,mscratch,sp
|
|
3426: 30200073 mret
|
|
|
|
0000342a <EXTI2_IRQHandler>:
|
|
342a: 34011173 csrrw sp,mscratch,sp
|
|
342e: cc8fd0ef jal ra,8f6 <rt_interrupt_enter>
|
|
3432: 4511 li a0,4
|
|
3434: 685000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
3438: c519 beqz a0,3446 <EXTI2_IRQHandler+0x1c>
|
|
343a: 4511 li a0,4
|
|
343c: f7bff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
3440: 4511 li a0,4
|
|
3442: 695000ef jal ra,42d6 <EXTI_ClearITPendingBit>
|
|
3446: cdcfd0ef jal ra,922 <rt_interrupt_leave>
|
|
344a: 34011173 csrrw sp,mscratch,sp
|
|
344e: 30200073 mret
|
|
|
|
00003452 <EXTI3_IRQHandler>:
|
|
3452: 34011173 csrrw sp,mscratch,sp
|
|
3456: ca0fd0ef jal ra,8f6 <rt_interrupt_enter>
|
|
345a: 4521 li a0,8
|
|
345c: 65d000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
3460: c519 beqz a0,346e <EXTI3_IRQHandler+0x1c>
|
|
3462: 4521 li a0,8
|
|
3464: f53ff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
3468: 4521 li a0,8
|
|
346a: 66d000ef jal ra,42d6 <EXTI_ClearITPendingBit>
|
|
346e: cb4fd0ef jal ra,922 <rt_interrupt_leave>
|
|
3472: 34011173 csrrw sp,mscratch,sp
|
|
3476: 30200073 mret
|
|
|
|
0000347a <EXTI4_IRQHandler>:
|
|
347a: 34011173 csrrw sp,mscratch,sp
|
|
347e: c78fd0ef jal ra,8f6 <rt_interrupt_enter>
|
|
3482: 4541 li a0,16
|
|
3484: 635000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
3488: c519 beqz a0,3496 <EXTI4_IRQHandler+0x1c>
|
|
348a: 4541 li a0,16
|
|
348c: f2bff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
3490: 4541 li a0,16
|
|
3492: 645000ef jal ra,42d6 <EXTI_ClearITPendingBit>
|
|
3496: c8cfd0ef jal ra,922 <rt_interrupt_leave>
|
|
349a: 34011173 csrrw sp,mscratch,sp
|
|
349e: 30200073 mret
|
|
|
|
000034a2 <EXTI9_5_IRQHandler>:
|
|
34a2: 34011173 csrrw sp,mscratch,sp
|
|
34a6: c50fd0ef jal ra,8f6 <rt_interrupt_enter>
|
|
34aa: 02000513 li a0,32
|
|
34ae: 60b000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
34b2: cd1d beqz a0,34f0 <EXTI9_5_IRQHandler+0x4e>
|
|
34b4: 02000513 li a0,32
|
|
34b8: effff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
34bc: 04000513 li a0,64
|
|
34c0: ef7ff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
34c4: 08000513 li a0,128
|
|
34c8: eefff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
34cc: 10000513 li a0,256
|
|
34d0: ee7ff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
34d4: 20000513 li a0,512
|
|
34d8: edfff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
34dc: 3e000513 li a0,992
|
|
34e0: 5f7000ef jal ra,42d6 <EXTI_ClearITPendingBit>
|
|
34e4: c3efd0ef jal ra,922 <rt_interrupt_leave>
|
|
34e8: 34011173 csrrw sp,mscratch,sp
|
|
34ec: 30200073 mret
|
|
34f0: 04000513 li a0,64
|
|
34f4: 5c5000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
34f8: fd55 bnez a0,34b4 <EXTI9_5_IRQHandler+0x12>
|
|
34fa: 08000513 li a0,128
|
|
34fe: 5bb000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
3502: f94d bnez a0,34b4 <EXTI9_5_IRQHandler+0x12>
|
|
3504: 10000513 li a0,256
|
|
3508: 5b1000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
350c: f545 bnez a0,34b4 <EXTI9_5_IRQHandler+0x12>
|
|
350e: 20000513 li a0,512
|
|
3512: 5a7000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
3516: fd59 bnez a0,34b4 <EXTI9_5_IRQHandler+0x12>
|
|
3518: b7f1 j 34e4 <EXTI9_5_IRQHandler+0x42>
|
|
|
|
0000351a <EXTI15_10_IRQHandler>:
|
|
351a: 34011173 csrrw sp,mscratch,sp
|
|
351e: bd8fd0ef jal ra,8f6 <rt_interrupt_enter>
|
|
3522: 40000513 li a0,1024
|
|
3526: 593000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
352a: c129 beqz a0,356c <EXTI15_10_IRQHandler+0x52>
|
|
352c: 40000513 li a0,1024
|
|
3530: e87ff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
3534: 6505 lui a0,0x1
|
|
3536: 80050513 addi a0,a0,-2048 # 800 <rt_ipc_list_suspend+0x4c>
|
|
353a: e7dff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
353e: 6505 lui a0,0x1
|
|
3540: e77ff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
3544: 6509 lui a0,0x2
|
|
3546: e71ff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
354a: 6511 lui a0,0x4
|
|
354c: e6bff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
3550: 6521 lui a0,0x8
|
|
3552: e65ff0ef jal ra,33b6 <HAL_GPIO_EXTI_Callback>
|
|
3556: 6541 lui a0,0x10
|
|
3558: c0050513 addi a0,a0,-1024 # fc00 <__stack_size+0x7c00>
|
|
355c: 57b000ef jal ra,42d6 <EXTI_ClearITPendingBit>
|
|
3560: bc2fd0ef jal ra,922 <rt_interrupt_leave>
|
|
3564: 34011173 csrrw sp,mscratch,sp
|
|
3568: 30200073 mret
|
|
356c: 6505 lui a0,0x1
|
|
356e: 80050513 addi a0,a0,-2048 # 800 <rt_ipc_list_suspend+0x4c>
|
|
3572: 547000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
3576: f95d bnez a0,352c <EXTI15_10_IRQHandler+0x12>
|
|
3578: 6505 lui a0,0x1
|
|
357a: 53f000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
357e: f55d bnez a0,352c <EXTI15_10_IRQHandler+0x12>
|
|
3580: 6509 lui a0,0x2
|
|
3582: 537000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
3586: f15d bnez a0,352c <EXTI15_10_IRQHandler+0x12>
|
|
3588: 6511 lui a0,0x4
|
|
358a: 52f000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
358e: fd59 bnez a0,352c <EXTI15_10_IRQHandler+0x12>
|
|
3590: 6521 lui a0,0x8
|
|
3592: 527000ef jal ra,42b8 <EXTI_GetITStatus>
|
|
3596: f959 bnez a0,352c <EXTI15_10_IRQHandler+0x12>
|
|
3598: b7e1 j 3560 <EXTI15_10_IRQHandler+0x46>
|
|
|
|
0000359a <ch32dma_transmit>:
|
|
359a: 4501 li a0,0
|
|
359c: 8082 ret
|
|
|
|
0000359e <ch32_configure>:
|
|
359e: e05fc2ef jal t0,3a2 <__riscv_save_0>
|
|
35a2: 419c lw a5,0(a1)
|
|
35a4: 4120 lw s0,64(a0)
|
|
35a6: 46a1 li a3,8
|
|
35a8: 1141 addi sp,sp,-16
|
|
35aa: c01c sw a5,0(s0)
|
|
35ac: 47b1 li a5,12
|
|
35ae: a43e sh a5,10(s0)
|
|
35b0: 41dc lw a5,4(a1)
|
|
35b2: 00041623 sh zero,12(s0)
|
|
35b6: 00f7f713 andi a4,a5,15
|
|
35ba: 02d70163 beq a4,a3,35dc <ch32_configure+0x3e>
|
|
35be: 46a5 li a3,9
|
|
35c0: 00d71e63 bne a4,a3,35dc <ch32_configure+0x3e>
|
|
35c4: 6705 lui a4,0x1
|
|
35c6: a05a sh a4,4(s0)
|
|
35c8: 0047d713 srli a4,a5,0x4
|
|
35cc: 8b0d andi a4,a4,3
|
|
35ce: c701 beqz a4,35d6 <ch32_configure+0x38>
|
|
35d0: 4685 li a3,1
|
|
35d2: 00d70863 beq a4,a3,35e2 <ch32_configure+0x44>
|
|
35d6: 00041323 sh zero,6(s0)
|
|
35da: a031 j 35e6 <ch32_configure+0x48>
|
|
35dc: 00041223 sh zero,4(s0)
|
|
35e0: b7e5 j 35c8 <ch32_configure+0x2a>
|
|
35e2: 6709 lui a4,0x2
|
|
35e4: a07a sh a4,6(s0)
|
|
35e6: 8399 srli a5,a5,0x6
|
|
35e8: 8b8d andi a5,a5,3
|
|
35ea: 4705 li a4,1
|
|
35ec: 00e78963 beq a5,a4,35fe <ch32_configure+0x60>
|
|
35f0: c781 beqz a5,35f8 <ch32_configure+0x5a>
|
|
35f2: 4709 li a4,2
|
|
35f4: 06e78963 beq a5,a4,3666 <ch32_configure+0xc8>
|
|
35f8: 00041423 sh zero,8(s0)
|
|
35fc: a021 j 3604 <ch32_configure+0x66>
|
|
35fe: 60000793 li a5,1536
|
|
3602: a41e sh a5,8(s0)
|
|
3604: 4818 lw a4,16(s0)
|
|
3606: 400147b7 lui a5,0x40014
|
|
360a: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
|
|
360e: 04f71863 bne a4,a5,365e <ch32_configure+0xc0>
|
|
3612: 6511 lui a0,0x4
|
|
3614: 4585 li a1,1
|
|
3616: 0511 addi a0,a0,4
|
|
3618: 78d000ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
361c: 20000793 li a5,512
|
|
3620: 400114b7 lui s1,0x40011
|
|
3624: 827c sh a5,4(sp)
|
|
3626: 490d li s2,3
|
|
3628: 47e1 li a5,24
|
|
362a: 004c addi a1,sp,4
|
|
362c: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x20000800>
|
|
3630: c63e sw a5,12(sp)
|
|
3632: c44a sw s2,8(sp)
|
|
3634: 4ad000ef jal ra,42e0 <GPIO_Init>
|
|
3638: 40000793 li a5,1024
|
|
363c: 827c sh a5,4(sp)
|
|
363e: 004c addi a1,sp,4
|
|
3640: 4791 li a5,4
|
|
3642: 80048513 addi a0,s1,-2048
|
|
3646: c63e sw a5,12(sp)
|
|
3648: c44a sw s2,8(sp)
|
|
364a: 497000ef jal ra,42e0 <GPIO_Init>
|
|
364e: 4808 lw a0,16(s0)
|
|
3650: 85a2 mv a1,s0
|
|
3652: 78f000ef jal ra,45e0 <USART_Init>
|
|
3656: 4808 lw a0,16(s0)
|
|
3658: 4585 li a1,1
|
|
365a: 016010ef jal ra,4670 <USART_Cmd>
|
|
365e: 4501 li a0,0
|
|
3660: 0141 addi sp,sp,16
|
|
3662: d65fc06f j 3c6 <__riscv_restore_0>
|
|
3666: 40000793 li a5,1024
|
|
366a: bf61 j 3602 <ch32_configure+0x64>
|
|
|
|
0000366c <rt_hw_usart_init>:
|
|
366c: d1dfc2ef jal t0,388 <__riscv_save_4>
|
|
3670: dc018413 addi s0,gp,-576 # 20000868 <uart1>
|
|
3674: 03500793 li a5,53
|
|
3678: c85c sw a5,20(s0)
|
|
367a: 400147b7 lui a5,0x40014
|
|
367e: d6818613 addi a2,gp,-664 # 20000810 <serial1>
|
|
3682: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
|
|
3686: 4674 lw a3,76(a2)
|
|
3688: c81c sw a5,16(s0)
|
|
368a: 6799 lui a5,0x6
|
|
368c: 65c78793 addi a5,a5,1628 # 665c <ch32_uart_ops>
|
|
3690: c27c sw a5,68(a2)
|
|
3692: c00007b7 lui a5,0xc0000
|
|
3696: 8ff5 and a5,a5,a3
|
|
3698: 66c1 lui a3,0x10
|
|
369a: 06a1 addi a3,a3,8
|
|
369c: 6771 lui a4,0x1c
|
|
369e: 20070713 addi a4,a4,512 # 1c200 <__stack_size+0x14200>
|
|
36a2: 8fd5 or a5,a5,a3
|
|
36a4: 6511 lui a0,0x4
|
|
36a6: 1141 addi sp,sp,-16
|
|
36a8: c638 sw a4,72(a2)
|
|
36aa: c67c sw a5,76(a2)
|
|
36ac: 4585 li a1,1
|
|
36ae: 000c07b7 lui a5,0xc0
|
|
36b2: 0511 addi a0,a0,4
|
|
36b4: c018 sw a4,0(s0)
|
|
36b6: c41c sw a5,8(s0)
|
|
36b8: 00042223 sw zero,4(s0)
|
|
36bc: 00041623 sh zero,12(s0)
|
|
36c0: 6e5000ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
36c4: 400119b7 lui s3,0x40011
|
|
36c8: 20000793 li a5,512
|
|
36cc: 827c sh a5,4(sp)
|
|
36ce: 4a0d li s4,3
|
|
36d0: 47e1 li a5,24
|
|
36d2: 004c addi a1,sp,4
|
|
36d4: 80098513 addi a0,s3,-2048 # 40010800 <_eusrstack+0x20000800>
|
|
36d8: c452 sw s4,8(sp)
|
|
36da: c63e sw a5,12(sp)
|
|
36dc: 405000ef jal ra,42e0 <GPIO_Init>
|
|
36e0: 40000793 li a5,1024
|
|
36e4: 827c sh a5,4(sp)
|
|
36e6: 004c addi a1,sp,4
|
|
36e8: 4791 li a5,4
|
|
36ea: 80098513 addi a0,s3,-2048
|
|
36ee: c63e sw a5,12(sp)
|
|
36f0: c452 sw s4,8(sp)
|
|
36f2: 3ef000ef jal ra,42e0 <GPIO_Init>
|
|
36f6: 4808 lw a0,16(s0)
|
|
36f8: dc018593 addi a1,gp,-576 # 20000868 <uart1>
|
|
36fc: 6e5000ef jal ra,45e0 <USART_Init>
|
|
3700: 4808 lw a0,16(s0)
|
|
3702: 4585 li a1,1
|
|
3704: 76d000ef jal ra,4670 <USART_Cmd>
|
|
3708: 000065b7 lui a1,0x6
|
|
370c: dc018693 addi a3,gp,-576 # 20000868 <uart1>
|
|
3710: 10300613 li a2,259
|
|
3714: f6858593 addi a1,a1,-152 # 5f68 <__fsym_pinMode_name+0x8>
|
|
3718: d6818513 addi a0,gp,-664 # 20000810 <serial1>
|
|
371c: dccff0ef jal ra,2ce8 <rt_hw_serial_register>
|
|
3720: 4501 li a0,0
|
|
3722: 0141 addi sp,sp,16
|
|
3724: c99fc06f j 3bc <__riscv_restore_4>
|
|
|
|
00003728 <ch32_getc>:
|
|
3728: c7bfc2ef jal t0,3a2 <__riscv_save_0>
|
|
372c: 4120 lw s0,64(a0)
|
|
372e: 02000593 li a1,32
|
|
3732: 4808 lw a0,16(s0)
|
|
3734: 791000ef jal ra,46c4 <USART_GetFlagStatus>
|
|
3738: c519 beqz a0,3746 <ch32_getc+0x1e>
|
|
373a: 481c lw a5,16(s0)
|
|
373c: 23ca lhu a0,4(a5)
|
|
373e: 0ff57513 andi a0,a0,255
|
|
3742: c85fc06f j 3c6 <__riscv_restore_0>
|
|
3746: 557d li a0,-1
|
|
3748: bfed j 3742 <ch32_getc+0x1a>
|
|
|
|
0000374a <ch32_putc>:
|
|
374a: c59fc2ef jal t0,3a2 <__riscv_save_0>
|
|
374e: 4124 lw s1,64(a0)
|
|
3750: 842e mv s0,a1
|
|
3752: 4888 lw a0,16(s1)
|
|
3754: 04000593 li a1,64
|
|
3758: 76d000ef jal ra,46c4 <USART_GetFlagStatus>
|
|
375c: d97d beqz a0,3752 <ch32_putc+0x8>
|
|
375e: 489c lw a5,16(s1)
|
|
3760: 0442 slli s0,s0,0x10
|
|
3762: 8041 srli s0,s0,0x10
|
|
3764: a3c2 sh s0,4(a5)
|
|
3766: 4505 li a0,1
|
|
3768: c5ffc06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000376c <ch32_control>:
|
|
376c: c37fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3770: 47c1 li a5,16
|
|
3772: 4138 lw a4,64(a0)
|
|
3774: 02f58b63 beq a1,a5,37aa <ch32_control+0x3e>
|
|
3778: 47c5 li a5,17
|
|
377a: 02f59563 bne a1,a5,37a4 <ch32_control+0x38>
|
|
377e: 4b54 lw a3,20(a4)
|
|
3780: 4605 li a2,1
|
|
3782: 0056d793 srli a5,a3,0x5
|
|
3786: 06078793 addi a5,a5,96 # c0060 <__stack_size+0xb8060>
|
|
378a: 00d61633 sll a2,a2,a3
|
|
378e: 078a slli a5,a5,0x2
|
|
3790: e000e6b7 lui a3,0xe000e
|
|
3794: 97b6 add a5,a5,a3
|
|
3796: c390 sw a2,0(a5)
|
|
3798: 4601 li a2,0
|
|
379a: 4b08 lw a0,16(a4)
|
|
379c: 52500593 li a1,1317
|
|
37a0: 6e7000ef jal ra,4686 <USART_ITConfig>
|
|
37a4: 4501 li a0,0
|
|
37a6: c21fc06f j 3c6 <__riscv_restore_0>
|
|
37aa: 4b54 lw a3,20(a4)
|
|
37ac: 4605 li a2,1
|
|
37ae: 0056d793 srli a5,a3,0x5
|
|
37b2: 04078793 addi a5,a5,64
|
|
37b6: 00d61633 sll a2,a2,a3
|
|
37ba: 078a slli a5,a5,0x2
|
|
37bc: e000e6b7 lui a3,0xe000e
|
|
37c0: 97b6 add a5,a5,a3
|
|
37c2: c390 sw a2,0(a5)
|
|
37c4: 4605 li a2,1
|
|
37c6: bfd1 j 379a <ch32_control+0x2e>
|
|
|
|
000037c8 <USART1_IRQHandler>:
|
|
37c8: 1141 addi sp,sp,-16
|
|
37ca: c622 sw s0,12(sp)
|
|
37cc: c426 sw s1,8(sp)
|
|
37ce: 34011173 csrrw sp,mscratch,sp
|
|
37d2: 924fd0ef jal ra,8f6 <rt_interrupt_enter>
|
|
37d6: d6818793 addi a5,gp,-664 # 20000810 <serial1>
|
|
37da: 43a0 lw s0,64(a5)
|
|
37dc: 52500593 li a1,1317
|
|
37e0: 4808 lw a0,16(s0)
|
|
37e2: 6ed000ef jal ra,46ce <USART_GetITStatus>
|
|
37e6: c919 beqz a0,37fc <USART1_IRQHandler+0x34>
|
|
37e8: 4585 li a1,1
|
|
37ea: d6818513 addi a0,gp,-664 # 20000810 <serial1>
|
|
37ee: d54ff0ef jal ra,2d42 <rt_hw_serial_isr>
|
|
37f2: 4808 lw a0,16(s0)
|
|
37f4: 52500593 li a1,1317
|
|
37f8: 713000ef jal ra,470a <USART_ClearITPendingBit>
|
|
37fc: 926fd0ef jal ra,922 <rt_interrupt_leave>
|
|
3800: 34011173 csrrw sp,mscratch,sp
|
|
3804: 4432 lw s0,12(sp)
|
|
3806: 44a2 lw s1,8(sp)
|
|
3808: 0141 addi sp,sp,16
|
|
380a: 30200073 mret
|
|
|
|
0000380e <NMI_Handler>:
|
|
380e: 34011173 csrrw sp,mscratch,sp
|
|
3812: 8e4fd0ef jal ra,8f6 <rt_interrupt_enter>
|
|
3816: 00006537 lui a0,0x6
|
|
381a: 67c50513 addi a0,a0,1660 # 667c <ch32_uart_ops+0x20>
|
|
381e: f90fd0ef jal ra,fae <rt_kprintf>
|
|
3822: 900fd0ef jal ra,922 <rt_interrupt_leave>
|
|
3826: 34011173 csrrw sp,mscratch,sp
|
|
382a: 30200073 mret
|
|
|
|
0000382e <HardFault_Handler>:
|
|
382e: 34011173 csrrw sp,mscratch,sp
|
|
3832: 8c4fd0ef jal ra,8f6 <rt_interrupt_enter>
|
|
3836: 00006537 lui a0,0x6
|
|
383a: 67050513 addi a0,a0,1648 # 6670 <ch32_uart_ops+0x14>
|
|
383e: f70fd0ef jal ra,fae <rt_kprintf>
|
|
3842: 8e0fd0ef jal ra,922 <rt_interrupt_leave>
|
|
3846: 34011173 csrrw sp,mscratch,sp
|
|
384a: 30200073 mret
|
|
|
|
0000384e <main>:
|
|
384e: b55fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3852: 00006537 lui a0,0x6
|
|
3856: 68c50513 addi a0,a0,1676 # 668c <ch32_uart_ops+0x30>
|
|
385a: f54fd0ef jal ra,fae <rt_kprintf>
|
|
385e: 2ab9 jal 39bc <SystemCoreClockUpdate>
|
|
3860: 200007b7 lui a5,0x20000
|
|
3864: 2a87a583 lw a1,680(a5) # 200002a8 <SystemCoreClock>
|
|
3868: 00006537 lui a0,0x6
|
|
386c: 6a050513 addi a0,a0,1696 # 66a0 <ch32_uart_ops+0x44>
|
|
3870: f3efd0ef jal ra,fae <rt_kprintf>
|
|
3874: 1d1000ef jal ra,4244 <DBGMCU_GetCHIPID>
|
|
3878: 85aa mv a1,a0
|
|
387a: 00006537 lui a0,0x6
|
|
387e: 6b050513 addi a0,a0,1712 # 66b0 <ch32_uart_ops+0x54>
|
|
3882: f2cfd0ef jal ra,fae <rt_kprintf>
|
|
3886: 2035 jal 38b2 <app_star>
|
|
3888: 4501 li a0,0
|
|
388a: b3dfc06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000388e <hareware_init>:
|
|
388e: b15fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3892: 69d000ef jal ra,472e <android_PowerCtrl_Init>
|
|
3896: 6ad000ef jal ra,4742 <android_PowerKey_Init>
|
|
389a: 0f6010ef jal ra,4990 <J4_PWR_Open>
|
|
389e: b29fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
000038a2 <software_init>:
|
|
38a2: b01fc2ef jal t0,3a2 <__riscv_save_0>
|
|
38a6: 0bb000ef jal ra,4160 <uart_all_dev_init>
|
|
38aa: 78c000ef jal ra,4036 <Recv_thread_Init>
|
|
38ae: b19fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
000038b2 <app_star>:
|
|
38b2: af1fc2ef jal t0,3a2 <__riscv_save_0>
|
|
38b6: fd9ff0ef jal ra,388e <hareware_init>
|
|
38ba: fe9ff0ef jal ra,38a2 <software_init>
|
|
38be: b09fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
000038c2 <SystemInit>:
|
|
38c2: 400217b7 lui a5,0x40021
|
|
38c6: 4398 lw a4,0(a5)
|
|
38c8: f0ff06b7 lui a3,0xf0ff0
|
|
38cc: 1141 addi sp,sp,-16
|
|
38ce: 00176713 ori a4,a4,1
|
|
38d2: c398 sw a4,0(a5)
|
|
38d4: 43d8 lw a4,4(a5)
|
|
38d6: 00020637 lui a2,0x20
|
|
38da: 8f75 and a4,a4,a3
|
|
38dc: c3d8 sw a4,4(a5)
|
|
38de: 4398 lw a4,0(a5)
|
|
38e0: fef706b7 lui a3,0xfef70
|
|
38e4: 16fd addi a3,a3,-1
|
|
38e6: 8f75 and a4,a4,a3
|
|
38e8: c398 sw a4,0(a5)
|
|
38ea: 4398 lw a4,0(a5)
|
|
38ec: fffc06b7 lui a3,0xfffc0
|
|
38f0: 16fd addi a3,a3,-1
|
|
38f2: 8f75 and a4,a4,a3
|
|
38f4: c398 sw a4,0(a5)
|
|
38f6: 43d8 lw a4,4(a5)
|
|
38f8: ff0106b7 lui a3,0xff010
|
|
38fc: 16fd addi a3,a3,-1
|
|
38fe: 8f75 and a4,a4,a3
|
|
3900: c3d8 sw a4,4(a5)
|
|
3902: 4398 lw a4,0(a5)
|
|
3904: ec0006b7 lui a3,0xec000
|
|
3908: 16fd addi a3,a3,-1
|
|
390a: 8f75 and a4,a4,a3
|
|
390c: c398 sw a4,0(a5)
|
|
390e: 00ff0737 lui a4,0xff0
|
|
3912: c798 sw a4,8(a5)
|
|
3914: 0207a623 sw zero,44(a5) # 4002102c <_eusrstack+0x2001102c>
|
|
3918: c402 sw zero,8(sp)
|
|
391a: c602 sw zero,12(sp)
|
|
391c: 4398 lw a4,0(a5)
|
|
391e: 66c1 lui a3,0x10
|
|
3920: 8f55 or a4,a4,a3
|
|
3922: c398 sw a4,0(a5)
|
|
3924: 400216b7 lui a3,0x40021
|
|
3928: 6705 lui a4,0x1
|
|
392a: 429c lw a5,0(a3)
|
|
392c: 8ff1 and a5,a5,a2
|
|
392e: c63e sw a5,12(sp)
|
|
3930: 47a2 lw a5,8(sp)
|
|
3932: 0785 addi a5,a5,1
|
|
3934: c43e sw a5,8(sp)
|
|
3936: 47b2 lw a5,12(sp)
|
|
3938: e781 bnez a5,3940 <SystemInit+0x7e>
|
|
393a: 47a2 lw a5,8(sp)
|
|
393c: fee797e3 bne a5,a4,392a <SystemInit+0x68>
|
|
3940: 400217b7 lui a5,0x40021
|
|
3944: 439c lw a5,0(a5)
|
|
3946: 00e79713 slli a4,a5,0xe
|
|
394a: 06075763 bgez a4,39b8 <SystemInit+0xf6>
|
|
394e: 4785 li a5,1
|
|
3950: c63e sw a5,12(sp)
|
|
3952: 4732 lw a4,12(sp)
|
|
3954: 4785 li a5,1
|
|
3956: 04f71f63 bne a4,a5,39b4 <SystemInit+0xf2>
|
|
395a: 400217b7 lui a5,0x40021
|
|
395e: 43d8 lw a4,4(a5)
|
|
3960: ffc106b7 lui a3,0xffc10
|
|
3964: 16fd addi a3,a3,-1
|
|
3966: c3d8 sw a4,4(a5)
|
|
3968: 43d8 lw a4,4(a5)
|
|
396a: c3d8 sw a4,4(a5)
|
|
396c: 43d8 lw a4,4(a5)
|
|
396e: 40076713 ori a4,a4,1024
|
|
3972: c3d8 sw a4,4(a5)
|
|
3974: 43d8 lw a4,4(a5)
|
|
3976: 8f75 and a4,a4,a3
|
|
3978: c3d8 sw a4,4(a5)
|
|
397a: 43d8 lw a4,4(a5)
|
|
397c: 002906b7 lui a3,0x290
|
|
3980: 8f55 or a4,a4,a3
|
|
3982: c3d8 sw a4,4(a5)
|
|
3984: 4398 lw a4,0(a5)
|
|
3986: 010006b7 lui a3,0x1000
|
|
398a: 8f55 or a4,a4,a3
|
|
398c: c398 sw a4,0(a5)
|
|
398e: 4398 lw a4,0(a5)
|
|
3990: 00671693 slli a3,a4,0x6
|
|
3994: fe06dde3 bgez a3,398e <SystemInit+0xcc>
|
|
3998: 43d8 lw a4,4(a5)
|
|
399a: 400216b7 lui a3,0x40021
|
|
399e: 9b71 andi a4,a4,-4
|
|
39a0: c3d8 sw a4,4(a5)
|
|
39a2: 43d8 lw a4,4(a5)
|
|
39a4: 00276713 ori a4,a4,2
|
|
39a8: c3d8 sw a4,4(a5)
|
|
39aa: 4721 li a4,8
|
|
39ac: 42dc lw a5,4(a3)
|
|
39ae: 8bb1 andi a5,a5,12
|
|
39b0: fee79ee3 bne a5,a4,39ac <SystemInit+0xea>
|
|
39b4: 0141 addi sp,sp,16
|
|
39b6: 8082 ret
|
|
39b8: c602 sw zero,12(sp)
|
|
39ba: bf61 j 3952 <SystemInit+0x90>
|
|
|
|
000039bc <SystemCoreClockUpdate>:
|
|
39bc: 400216b7 lui a3,0x40021
|
|
39c0: 42d8 lw a4,4(a3)
|
|
39c2: 200007b7 lui a5,0x20000
|
|
39c6: 4611 li a2,4
|
|
39c8: 8b31 andi a4,a4,12
|
|
39ca: 2a878793 addi a5,a5,680 # 200002a8 <SystemCoreClock>
|
|
39ce: 00c70563 beq a4,a2,39d8 <SystemCoreClockUpdate+0x1c>
|
|
39d2: 4621 li a2,8
|
|
39d4: 02c70863 beq a4,a2,3a04 <SystemCoreClockUpdate+0x48>
|
|
39d8: 007a1737 lui a4,0x7a1
|
|
39dc: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
|
|
39e0: c398 sw a4,0(a5)
|
|
39e2: 40021737 lui a4,0x40021
|
|
39e6: 4358 lw a4,4(a4)
|
|
39e8: 8311 srli a4,a4,0x4
|
|
39ea: 00f77693 andi a3,a4,15
|
|
39ee: 20000737 lui a4,0x20000
|
|
39f2: 14070713 addi a4,a4,320 # 20000140 <AHBPrescTable>
|
|
39f6: 9736 add a4,a4,a3
|
|
39f8: 2314 lbu a3,0(a4)
|
|
39fa: 4398 lw a4,0(a5)
|
|
39fc: 00d75733 srl a4,a4,a3
|
|
3a00: c398 sw a4,0(a5)
|
|
3a02: 8082 ret
|
|
3a04: 42d8 lw a4,4(a3)
|
|
3a06: 42d4 lw a3,4(a3)
|
|
3a08: 6641 lui a2,0x10
|
|
3a0a: 8349 srli a4,a4,0x12
|
|
3a0c: 8b3d andi a4,a4,15
|
|
3a0e: 8ef1 and a3,a3,a2
|
|
3a10: 00270613 addi a2,a4,2
|
|
3a14: cf15 beqz a4,3a50 <SystemCoreClockUpdate+0x94>
|
|
3a16: 473d li a4,15
|
|
3a18: 02e60f63 beq a2,a4,3a56 <SystemCoreClockUpdate+0x9a>
|
|
3a1c: 4741 li a4,16
|
|
3a1e: 02e60f63 beq a2,a4,3a5c <SystemCoreClockUpdate+0xa0>
|
|
3a22: 4745 li a4,17
|
|
3a24: 4581 li a1,0
|
|
3a26: 00e61363 bne a2,a4,3a2c <SystemCoreClockUpdate+0x70>
|
|
3a2a: 4641 li a2,16
|
|
3a2c: e2a1 bnez a3,3a6c <SystemCoreClockUpdate+0xb0>
|
|
3a2e: 40024737 lui a4,0x40024
|
|
3a32: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x20013800>
|
|
3a36: 8b41 andi a4,a4,16
|
|
3a38: c70d beqz a4,3a62 <SystemCoreClockUpdate+0xa6>
|
|
3a3a: 007a1737 lui a4,0x7a1
|
|
3a3e: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
|
|
3a42: 02c70633 mul a2,a4,a2
|
|
3a46: c390 sw a2,0(a5)
|
|
3a48: ddc9 beqz a1,39e2 <SystemCoreClockUpdate+0x26>
|
|
3a4a: 4398 lw a4,0(a5)
|
|
3a4c: 8305 srli a4,a4,0x1
|
|
3a4e: bf49 j 39e0 <SystemCoreClockUpdate+0x24>
|
|
3a50: 4581 li a1,0
|
|
3a52: 4649 li a2,18
|
|
3a54: bfe1 j 3a2c <SystemCoreClockUpdate+0x70>
|
|
3a56: 4585 li a1,1
|
|
3a58: 4635 li a2,13
|
|
3a5a: bfc9 j 3a2c <SystemCoreClockUpdate+0x70>
|
|
3a5c: 4581 li a1,0
|
|
3a5e: 463d li a2,15
|
|
3a60: b7f1 j 3a2c <SystemCoreClockUpdate+0x70>
|
|
3a62: 003d1737 lui a4,0x3d1
|
|
3a66: 90070713 addi a4,a4,-1792 # 3d0900 <__stack_size+0x3c8900>
|
|
3a6a: bfe1 j 3a42 <SystemCoreClockUpdate+0x86>
|
|
3a6c: 40021537 lui a0,0x40021
|
|
3a70: 5558 lw a4,44(a0)
|
|
3a72: 00f71693 slli a3,a4,0xf
|
|
3a76: 5558 lw a4,44(a0)
|
|
3a78: 0406df63 bgez a3,3ad6 <SystemCoreClockUpdate+0x11a>
|
|
3a7c: 8311 srli a4,a4,0x4
|
|
3a7e: 8b3d andi a4,a4,15
|
|
3a80: 00170693 addi a3,a4,1
|
|
3a84: 007a1737 lui a4,0x7a1
|
|
3a88: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
|
|
3a8c: 02d75733 divu a4,a4,a3
|
|
3a90: c398 sw a4,0(a5)
|
|
3a92: 5554 lw a3,44(a0)
|
|
3a94: 82a1 srli a3,a3,0x8
|
|
3a96: 8abd andi a3,a3,15
|
|
3a98: e28d bnez a3,3aba <SystemCoreClockUpdate+0xfe>
|
|
3a9a: 4695 li a3,5
|
|
3a9c: 02d70733 mul a4,a4,a3
|
|
3aa0: 8305 srli a4,a4,0x1
|
|
3aa2: c398 sw a4,0(a5)
|
|
3aa4: 40021737 lui a4,0x40021
|
|
3aa8: 5758 lw a4,44(a4)
|
|
3aaa: 4394 lw a3,0(a5)
|
|
3aac: 8b3d andi a4,a4,15
|
|
3aae: 0705 addi a4,a4,1
|
|
3ab0: 02e6d733 divu a4,a3,a4
|
|
3ab4: c398 sw a4,0(a5)
|
|
3ab6: 4398 lw a4,0(a5)
|
|
3ab8: b769 j 3a42 <SystemCoreClockUpdate+0x86>
|
|
3aba: 4505 li a0,1
|
|
3abc: 00a69463 bne a3,a0,3ac4 <SystemCoreClockUpdate+0x108>
|
|
3ac0: 46e5 li a3,25
|
|
3ac2: bfe9 j 3a9c <SystemCoreClockUpdate+0xe0>
|
|
3ac4: 453d li a0,15
|
|
3ac6: 00a69663 bne a3,a0,3ad2 <SystemCoreClockUpdate+0x116>
|
|
3aca: 46d1 li a3,20
|
|
3acc: 02e68733 mul a4,a3,a4
|
|
3ad0: bfc9 j 3aa2 <SystemCoreClockUpdate+0xe6>
|
|
3ad2: 0689 addi a3,a3,2
|
|
3ad4: bfe5 j 3acc <SystemCoreClockUpdate+0x110>
|
|
3ad6: 8b3d andi a4,a4,15
|
|
3ad8: 00170693 addi a3,a4,1 # 40021001 <_eusrstack+0x20011001>
|
|
3adc: 007a1737 lui a4,0x7a1
|
|
3ae0: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
|
|
3ae4: 02d75733 divu a4,a4,a3
|
|
3ae8: b7f1 j 3ab4 <SystemCoreClockUpdate+0xf8>
|
|
|
|
00003aea <ADC1_2_IRQHandler>:
|
|
3aea: a001 j 3aea <ADC1_2_IRQHandler>
|
|
|
|
00003aec <handle_reset>:
|
|
3aec: 34129073 csrw mepc,t0
|
|
3af0: 1fffd197 auipc gp,0x1fffd
|
|
3af4: fb818193 addi gp,gp,-72 # 20000aa8 <__global_pointer$>
|
|
3af8: 2000c117 auipc sp,0x2000c
|
|
3afc: 50810113 addi sp,sp,1288 # 20010000 <_eusrstack>
|
|
3b00: 00003517 auipc a0,0x3
|
|
3b04: e6450513 addi a0,a0,-412 # 6964 <__rt_init_end>
|
|
3b08: 1fffc597 auipc a1,0x1fffc
|
|
3b0c: 4f858593 addi a1,a1,1272 # 20000000 <_data_vma>
|
|
3b10: 80818613 addi a2,gp,-2040 # 200002b0 <_edata>
|
|
3b14: 00c5fa63 bgeu a1,a2,3b28 <handle_reset+0x3c>
|
|
3b18: 00052283 lw t0,0(a0)
|
|
3b1c: 0055a023 sw t0,0(a1)
|
|
3b20: 0511 addi a0,a0,4
|
|
3b22: 0591 addi a1,a1,4
|
|
3b24: fec5eae3 bltu a1,a2,3b18 <handle_reset+0x2c>
|
|
3b28: 80818513 addi a0,gp,-2040 # 200002b0 <_edata>
|
|
3b2c: 18c18593 addi a1,gp,396 # 20000c34 <_ebss>
|
|
3b30: 00b57763 bgeu a0,a1,3b3e <handle_reset+0x52>
|
|
3b34: 00052023 sw zero,0(a0)
|
|
3b38: 0511 addi a0,a0,4
|
|
3b3a: feb56de3 bltu a0,a1,3b34 <handle_reset+0x48>
|
|
3b3e: 42fd li t0,31
|
|
3b40: bc029073 csrw 0xbc0,t0
|
|
3b44: 42fd li t0,31
|
|
3b46: 80429073 csrw 0x804,t0
|
|
3b4a: 000082b7 lui t0,0x8
|
|
3b4e: 80028293 addi t0,t0,-2048 # 7800 <__rt_init_end+0xe9c>
|
|
3b52: 30029073 csrw mstatus,t0
|
|
3b56: ffffc297 auipc t0,0xffffc
|
|
3b5a: 4ae28293 addi t0,t0,1198 # 4 <_einit>
|
|
3b5e: 0032e293 ori t0,t0,3
|
|
3b62: 30529073 csrw mtvec,t0
|
|
3b66: d5dff0ef jal ra,38c2 <SystemInit>
|
|
3b6a: ffffd297 auipc t0,0xffffd
|
|
3b6e: a0e28293 addi t0,t0,-1522 # 578 <entry>
|
|
3b72: 34129073 csrw mepc,t0
|
|
3b76: 30200073 mret
|
|
|
|
00003b7a <SL_MsgProcFuncReadSensor_Remote_Upgrade>:
|
|
3b7a: 829fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3b7e: 00006537 lui a0,0x6
|
|
3b82: 79450513 addi a0,a0,1940 # 6794 <ch32_uart_ops+0x138>
|
|
3b86: c28fd0ef jal ra,fae <rt_kprintf>
|
|
3b8a: 83dfc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003b8e <SL_MsgProcFuncReadSensor_Update_Profile>:
|
|
3b8e: 815fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3b92: 00006537 lui a0,0x6
|
|
3b96: 7b450513 addi a0,a0,1972 # 67b4 <ch32_uart_ops+0x158>
|
|
3b9a: c14fd0ef jal ra,fae <rt_kprintf>
|
|
3b9e: 829fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003ba2 <SL_MsgProcFuncReadSensor_Registration_request>:
|
|
3ba2: 801fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3ba6: 00006537 lui a0,0x6
|
|
3baa: 77050513 addi a0,a0,1904 # 6770 <ch32_uart_ops+0x114>
|
|
3bae: c00fd0ef jal ra,fae <rt_kprintf>
|
|
3bb2: 815fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003bb6 <SL_MsgProcFuncReadSensor_Read_Register>:
|
|
3bb6: fecfc2ef jal t0,3a2 <__riscv_save_0>
|
|
3bba: 00006537 lui a0,0x6
|
|
3bbe: 75450513 addi a0,a0,1876 # 6754 <ch32_uart_ops+0xf8>
|
|
3bc2: becfd0ef jal ra,fae <rt_kprintf>
|
|
3bc6: 801fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003bca <SL_MsgProcFuncReadIntelligentModule_Remote_Upgrade>:
|
|
3bca: fd8fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3bce: 00006537 lui a0,0x6
|
|
3bd2: 70c50513 addi a0,a0,1804 # 670c <ch32_uart_ops+0xb0>
|
|
3bd6: bd8fd0ef jal ra,fae <rt_kprintf>
|
|
3bda: fecfc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003bde <SL_MsgProcFuncReadIntelligentModule_Update_Profile>:
|
|
3bde: fc4fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3be2: 00006537 lui a0,0x6
|
|
3be6: 72450513 addi a0,a0,1828 # 6724 <ch32_uart_ops+0xc8>
|
|
3bea: bc4fd0ef jal ra,fae <rt_kprintf>
|
|
3bee: fd8fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003bf2 <SL_MsgProcFuncReadIntelligentModule_Registration_request>:
|
|
3bf2: fb0fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3bf6: 00006537 lui a0,0x6
|
|
3bfa: 6f050513 addi a0,a0,1776 # 66f0 <ch32_uart_ops+0x94>
|
|
3bfe: bb0fd0ef jal ra,fae <rt_kprintf>
|
|
3c02: fc4fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003c06 <SL_MsgProcFuncReadIntelligentModule_Broadcast_Scan>:
|
|
3c06: f9cfc2ef jal t0,3a2 <__riscv_save_0>
|
|
3c0a: 00006537 lui a0,0x6
|
|
3c0e: 6c050513 addi a0,a0,1728 # 66c0 <ch32_uart_ops+0x64>
|
|
3c12: b9cfd0ef jal ra,fae <rt_kprintf>
|
|
3c16: fb0fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003c1a <SL_MsgProcFuncReadIntelligentModule_Write_Register>:
|
|
3c1a: f88fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3c1e: 00006537 lui a0,0x6
|
|
3c22: 73c50513 addi a0,a0,1852 # 673c <ch32_uart_ops+0xe0>
|
|
3c26: b88fd0ef jal ra,fae <rt_kprintf>
|
|
3c2a: f9cfc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003c2e <SL_MsgProcFuncReadIntelligentModule_Read_Register>:
|
|
3c2e: f74fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3c32: 00006537 lui a0,0x6
|
|
3c36: 6d850513 addi a0,a0,1752 # 66d8 <ch32_uart_ops+0x7c>
|
|
3c3a: b74fd0ef jal ra,fae <rt_kprintf>
|
|
3c3e: f88fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003c42 <Match_Startflag>:
|
|
3c42: 200007b7 lui a5,0x20000
|
|
3c46: 2114 lbu a3,0(a0)
|
|
3c48: 1a07c703 lbu a4,416(a5) # 200001a0 <g_slConfigInfo>
|
|
3c4c: 00e69a63 bne a3,a4,3c60 <Match_Startflag+0x1e>
|
|
3c50: 1a078793 addi a5,a5,416
|
|
3c54: 3108 lbu a0,1(a0)
|
|
3c56: 339c lbu a5,1(a5)
|
|
3c58: 8d1d sub a0,a0,a5
|
|
3c5a: 00153513 seqz a0,a0
|
|
3c5e: 8082 ret
|
|
3c60: 4501 li a0,0
|
|
3c62: 8082 ret
|
|
|
|
00003c64 <CheckFunc>:
|
|
3c64: 67c1 lui a5,0x10
|
|
3c66: 7669 lui a2,0xffffa
|
|
3c68: 4681 li a3,0
|
|
3c6a: 17fd addi a5,a5,-1
|
|
3c6c: 0605 addi a2,a2,1
|
|
3c6e: 01069713 slli a4,a3,0x10
|
|
3c72: 8341 srli a4,a4,0x10
|
|
3c74: 00b76463 bltu a4,a1,3c7c <CheckFunc+0x18>
|
|
3c78: 853e mv a0,a5
|
|
3c7a: 8082 ret
|
|
3c7c: 00d50733 add a4,a0,a3
|
|
3c80: 2318 lbu a4,0(a4)
|
|
3c82: 8fb9 xor a5,a5,a4
|
|
3c84: 4721 li a4,8
|
|
3c86: 0017f813 andi a6,a5,1
|
|
3c8a: 8385 srli a5,a5,0x1
|
|
3c8c: 00080563 beqz a6,3c96 <CheckFunc+0x32>
|
|
3c90: 8fb1 xor a5,a5,a2
|
|
3c92: 07c2 slli a5,a5,0x10
|
|
3c94: 83c1 srli a5,a5,0x10
|
|
3c96: 177d addi a4,a4,-1
|
|
3c98: 0742 slli a4,a4,0x10
|
|
3c9a: 8341 srli a4,a4,0x10
|
|
3c9c: f76d bnez a4,3c86 <CheckFunc+0x22>
|
|
3c9e: 0685 addi a3,a3,1
|
|
3ca0: b7f9 j 3c6e <CheckFunc+0xa>
|
|
|
|
00003ca2 <FRT_SensorMsgHandler>:
|
|
3ca2: ee6fc2ef jal t0,388 <__riscv_save_4>
|
|
3ca6: 20000437 lui s0,0x20000
|
|
3caa: 18040413 addi s0,s0,384 # 20000180 <g_MsgReadSensorTbl>
|
|
3cae: 89aa mv s3,a0
|
|
3cb0: 84ae mv s1,a1
|
|
3cb2: 8a32 mv s4,a2
|
|
3cb4: 02040913 addi s2,s0,32
|
|
3cb8: 3498 lbu a4,9(s1)
|
|
3cba: 401c lw a5,0(s0)
|
|
3cbc: 00f71763 bne a4,a5,3cca <FRT_SensorMsgHandler+0x28>
|
|
3cc0: 405c lw a5,4(s0)
|
|
3cc2: 8652 mv a2,s4
|
|
3cc4: 85a6 mv a1,s1
|
|
3cc6: 854e mv a0,s3
|
|
3cc8: 9782 jalr a5
|
|
3cca: 0421 addi s0,s0,8
|
|
3ccc: ff2416e3 bne s0,s2,3cb8 <FRT_SensorMsgHandler+0x16>
|
|
3cd0: eecfc06f j 3bc <__riscv_restore_4>
|
|
|
|
00003cd4 <FRT_IntelligentModuleMsgHandler>:
|
|
3cd4: eb4fc2ef jal t0,388 <__riscv_save_4>
|
|
3cd8: 20000437 lui s0,0x20000
|
|
3cdc: 15040413 addi s0,s0,336 # 20000150 <g_MsgReadIntelligentModuleTbl>
|
|
3ce0: 89aa mv s3,a0
|
|
3ce2: 84ae mv s1,a1
|
|
3ce4: 8a32 mv s4,a2
|
|
3ce6: 03040913 addi s2,s0,48
|
|
3cea: 34d8 lbu a4,13(s1)
|
|
3cec: 401c lw a5,0(s0)
|
|
3cee: 00f71763 bne a4,a5,3cfc <FRT_IntelligentModuleMsgHandler+0x28>
|
|
3cf2: 405c lw a5,4(s0)
|
|
3cf4: 8652 mv a2,s4
|
|
3cf6: 85a6 mv a1,s1
|
|
3cf8: 854e mv a0,s3
|
|
3cfa: 9782 jalr a5
|
|
3cfc: 0421 addi s0,s0,8
|
|
3cfe: ff2416e3 bne s0,s2,3cea <FRT_IntelligentModuleMsgHandler+0x16>
|
|
3d02: ebafc06f j 3bc <__riscv_restore_4>
|
|
|
|
00003d06 <read_and_process_sensorUart_data>:
|
|
3d06: e6cfc2ef jal t0,372 <__riscv_save_12>
|
|
3d0a: 1141 addi sp,sp,-16
|
|
3d0c: 8b2a mv s6,a0
|
|
3d0e: 21e5 jal 41f6 <uart_dev_char_present>
|
|
3d10: c555 beqz a0,3dbc <read_and_process_sensorUart_data+0xb6>
|
|
3d12: 4579 li a0,30
|
|
3d14: bbffd0ef jal ra,18d2 <rt_thread_mdelay>
|
|
3d18: 03200613 li a2,50
|
|
3d1c: 4581 li a1,0
|
|
3d1e: dd818513 addi a0,gp,-552 # 20000880 <uart_buff>
|
|
3d22: dd818993 addi s3,gp,-552 # 20000880 <uart_buff>
|
|
3d26: eacfc0ef jal ra,3d2 <memset>
|
|
3d2a: 4901 li s2,0
|
|
3d2c: 4481 li s1,0
|
|
3d2e: 4401 li s0,0
|
|
3d30: 4b89 li s7,2
|
|
3d32: dd818a93 addi s5,gp,-552 # 20000880 <uart_buff>
|
|
3d36: 03000c13 li s8,48
|
|
3d3a: 4d8d li s11,3
|
|
3d3c: 00198c93 addi s9,s3,1
|
|
3d40: 855a mv a0,s6
|
|
3d42: 29d5 jal 4236 <ring_queue_length>
|
|
3d44: cd25 beqz a0,3dbc <read_and_process_sensorUart_data+0xb6>
|
|
3d46: 855a mv a0,s6
|
|
3d48: 21d9 jal 420e <uart_dev_in_char>
|
|
3d4a: 0ff57d13 andi s10,a0,255
|
|
3d4e: 008987b3 add a5,s3,s0
|
|
3d52: 00140613 addi a2,s0,1
|
|
3d56: 01a78023 sb s10,0(a5) # 10000 <__stack_size+0x8000>
|
|
3d5a: 01760363 beq a2,s7,3d60 <read_and_process_sensorUart_data+0x5a>
|
|
3d5e: c8dd beqz s1,3e14 <read_and_process_sensorUart_data+0x10e>
|
|
3d60: 854e mv a0,s3
|
|
3d62: c632 sw a2,12(sp)
|
|
3d64: edfff0ef jal ra,3c42 <Match_Startflag>
|
|
3d68: 4632 lw a2,12(sp)
|
|
3d6a: e909 bnez a0,3d7c <read_and_process_sensorUart_data+0x76>
|
|
3d6c: 8622 mv a2,s0
|
|
3d6e: 85e6 mv a1,s9
|
|
3d70: 854e mv a0,s3
|
|
3d72: 320010ef jal ra,5092 <memcpy>
|
|
3d76: fc8c75e3 bgeu s8,s0,3d40 <read_and_process_sensorUart_data+0x3a>
|
|
3d7a: a089 j 3dbc <read_and_process_sensorUart_data+0xb6>
|
|
3d7c: 47a9 li a5,10
|
|
3d7e: 00f60463 beq a2,a5,3d86 <read_and_process_sensorUart_data+0x80>
|
|
3d82: 089bfc63 bgeu s7,s1,3e1a <read_and_process_sensorUart_data+0x114>
|
|
3d86: 009ac783 lbu a5,9(s5)
|
|
3d8a: 09878163 beq a5,s8,3e0c <read_and_process_sensorUart_data+0x106>
|
|
3d8e: 0a100713 li a4,161
|
|
3d92: 02e78a63 beq a5,a4,3dc6 <read_and_process_sensorUart_data+0xc0>
|
|
3d96: 03078793 addi a5,a5,48
|
|
3d9a: 0ff7f793 andi a5,a5,255
|
|
3d9e: 4705 li a4,1
|
|
3da0: 06f77463 bgeu a4,a5,3e08 <read_and_process_sensorUart_data+0x102>
|
|
3da4: 87a6 mv a5,s1
|
|
3da6: 0174f363 bgeu s1,s7,3dac <read_and_process_sensorUart_data+0xa6>
|
|
3daa: 4789 li a5,2
|
|
3dac: 0ff7f493 andi s1,a5,255
|
|
3db0: bf75 j 3d6c <read_and_process_sensorUart_data+0x66>
|
|
3db2: dd818593 addi a1,gp,-552 # 20000880 <uart_buff>
|
|
3db6: 855a mv a0,s6
|
|
3db8: eebff0ef jal ra,3ca2 <FRT_SensorMsgHandler>
|
|
3dbc: 0141 addi sp,sp,16
|
|
3dbe: df0fc06f j 3ae <__riscv_restore_12>
|
|
3dc2: 8432 mv s0,a2
|
|
3dc4: bf4d j 3d76 <read_and_process_sensorUart_data+0x70>
|
|
3dc6: 4969 li s2,26
|
|
3dc8: 47b1 li a5,12
|
|
3dca: 06f60363 beq a2,a5,3e30 <read_and_process_sensorUart_data+0x12a>
|
|
3dce: ff261ae3 bne a2,s2,3dc2 <read_and_process_sensorUart_data+0xbc>
|
|
3dd2: ffd60593 addi a1,a2,-3 # ffff9ffd <_eusrstack+0xdffe9ffd>
|
|
3dd6: 0ff5f593 andi a1,a1,255
|
|
3dda: 854e mv a0,s3
|
|
3ddc: c632 sw a2,12(sp)
|
|
3dde: e87ff0ef jal ra,3c64 <CheckFunc>
|
|
3de2: 008a8733 add a4,s5,s0
|
|
3de6: ffe74783 lbu a5,-2(a4)
|
|
3dea: fff74703 lbu a4,-1(a4)
|
|
3dee: 4632 lw a2,12(sp)
|
|
3df0: 07a2 slli a5,a5,0x8
|
|
3df2: 8fd9 or a5,a5,a4
|
|
3df4: 00a79563 bne a5,a0,3dfe <read_and_process_sensorUart_data+0xf8>
|
|
3df8: 47d9 li a5,22
|
|
3dfa: fafd0ce3 beq s10,a5,3db2 <read_and_process_sensorUart_data+0xac>
|
|
3dfe: 87a6 mv a5,s1
|
|
3e00: fbb4f6e3 bgeu s1,s11,3dac <read_and_process_sensorUart_data+0xa6>
|
|
3e04: 478d li a5,3
|
|
3e06: b75d j 3dac <read_and_process_sensorUart_data+0xa6>
|
|
3e08: 4939 li s2,14
|
|
3e0a: bf7d j 3dc8 <read_and_process_sensorUart_data+0xc2>
|
|
3e0c: 47b1 li a5,12
|
|
3e0e: fcf610e3 bne a2,a5,3dce <read_and_process_sensorUart_data+0xc8>
|
|
3e12: a819 j 3e28 <read_and_process_sensorUart_data+0x122>
|
|
3e14: 47a9 li a5,10
|
|
3e16: f6f608e3 beq a2,a5,3d86 <read_and_process_sensorUart_data+0x80>
|
|
3e1a: 47b1 li a5,12
|
|
3e1c: faf619e3 bne a2,a5,3dce <read_and_process_sensorUart_data+0xc8>
|
|
3e20: 009ac783 lbu a5,9(s5)
|
|
3e24: fb8795e3 bne a5,s8,3dce <read_and_process_sensorUart_data+0xc8>
|
|
3e28: 00bac903 lbu s2,11(s5)
|
|
3e2c: 0906 slli s2,s2,0x1
|
|
3e2e: 093d addi s2,s2,15
|
|
3e30: 4431 li s0,12
|
|
3e32: b739 j 3d40 <read_and_process_sensorUart_data+0x3a>
|
|
|
|
00003e34 <read_and_process_intelligentModuleUart_data>:
|
|
3e34: d3efc2ef jal t0,372 <__riscv_save_12>
|
|
3e38: 1141 addi sp,sp,-16
|
|
3e3a: 8baa mv s7,a0
|
|
3e3c: 2e6d jal 41f6 <uart_dev_char_present>
|
|
3e3e: 10050f63 beqz a0,3f5c <read_and_process_intelligentModuleUart_data+0x128>
|
|
3e42: 4529 li a0,10
|
|
3e44: a8ffd0ef jal ra,18d2 <rt_thread_mdelay>
|
|
3e48: 855e mv a0,s7
|
|
3e4a: 26f5 jal 4236 <ring_queue_length>
|
|
3e4c: 85aa mv a1,a0
|
|
3e4e: 00006537 lui a0,0x6
|
|
3e52: 7d450513 addi a0,a0,2004 # 67d4 <ch32_uart_ops+0x178>
|
|
3e56: 958fd0ef jal ra,fae <rt_kprintf>
|
|
3e5a: dd818993 addi s3,gp,-552 # 20000880 <uart_buff>
|
|
3e5e: 03200613 li a2,50
|
|
3e62: 4581 li a1,0
|
|
3e64: dd818513 addi a0,gp,-552 # 20000880 <uart_buff>
|
|
3e68: d6afc0ef jal ra,3d2 <memset>
|
|
3e6c: 4401 li s0,0
|
|
3e6e: 4901 li s2,0
|
|
3e70: 4481 li s1,0
|
|
3e72: dd818a13 addi s4,gp,-552 # 20000880 <uart_buff>
|
|
3e76: 03000c93 li s9,48
|
|
3e7a: 00498d13 addi s10,s3,4
|
|
3e7e: 4d8d li s11,3
|
|
3e80: 00198b13 addi s6,s3,1
|
|
3e84: 855e mv a0,s7
|
|
3e86: 2e45 jal 4236 <ring_queue_length>
|
|
3e88: c971 beqz a0,3f5c <read_and_process_intelligentModuleUart_data+0x128>
|
|
3e8a: 855e mv a0,s7
|
|
3e8c: 2649 jal 420e <uart_dev_in_char>
|
|
3e8e: 0ff57793 andi a5,a0,255
|
|
3e92: 00998733 add a4,s3,s1
|
|
3e96: c63e sw a5,12(sp)
|
|
3e98: a31c sb a5,0(a4)
|
|
3e9a: 00148c13 addi s8,s1,1
|
|
3e9e: 4791 li a5,4
|
|
3ea0: 00fc0463 beq s8,a5,3ea8 <read_and_process_intelligentModuleUart_data+0x74>
|
|
3ea4: 12090263 beqz s2,3fc8 <read_and_process_intelligentModuleUart_data+0x194>
|
|
3ea8: 854e mv a0,s3
|
|
3eaa: d99ff0ef jal ra,3c42 <Match_Startflag>
|
|
3eae: e909 bnez a0,3ec0 <read_and_process_intelligentModuleUart_data+0x8c>
|
|
3eb0: 8626 mv a2,s1
|
|
3eb2: 85da mv a1,s6
|
|
3eb4: 854e mv a0,s3
|
|
3eb6: 1dc010ef jal ra,5092 <memcpy>
|
|
3eba: fc9cf5e3 bgeu s9,s1,3e84 <read_and_process_intelligentModuleUart_data+0x50>
|
|
3ebe: a879 j 3f5c <read_and_process_intelligentModuleUart_data+0x128>
|
|
3ec0: 002a4683 lbu a3,2(s4)
|
|
3ec4: 461d li a2,7
|
|
3ec6: fff68713 addi a4,a3,-1 # 40020fff <_eusrstack+0x20010fff>
|
|
3eca: 0ff77713 andi a4,a4,255
|
|
3ece: fee661e3 bltu a2,a4,3eb0 <read_and_process_intelligentModuleUart_data+0x7c>
|
|
3ed2: 01b69b63 bne a3,s11,3ee8 <read_and_process_intelligentModuleUart_data+0xb4>
|
|
3ed6: 003a4703 lbu a4,3(s4)
|
|
3eda: c719 beqz a4,3ee8 <read_and_process_intelligentModuleUart_data+0xb4>
|
|
3edc: 176d addi a4,a4,-5
|
|
3ede: 0ff77713 andi a4,a4,255
|
|
3ee2: 4791 li a5,4
|
|
3ee4: fce7e6e3 bltu a5,a4,3eb0 <read_and_process_intelligentModuleUart_data+0x7c>
|
|
3ee8: 4719 li a4,6
|
|
3eea: 00ec0563 beq s8,a4,3ef4 <read_and_process_intelligentModuleUart_data+0xc0>
|
|
3eee: 4705 li a4,1
|
|
3ef0: 01277a63 bgeu a4,s2,3f04 <read_and_process_intelligentModuleUart_data+0xd0>
|
|
3ef4: 856a mv a0,s10
|
|
3ef6: d4dff0ef jal ra,3c42 <Match_Startflag>
|
|
3efa: e509 bnez a0,3f04 <read_and_process_intelligentModuleUart_data+0xd0>
|
|
3efc: fa091ae3 bnez s2,3eb0 <read_and_process_intelligentModuleUart_data+0x7c>
|
|
3f00: 4905 li s2,1
|
|
3f02: b77d j 3eb0 <read_and_process_intelligentModuleUart_data+0x7c>
|
|
3f04: 4739 li a4,14
|
|
3f06: 00ec0563 beq s8,a4,3f10 <read_and_process_intelligentModuleUart_data+0xdc>
|
|
3f0a: 4709 li a4,2
|
|
3f0c: 0d277463 bgeu a4,s2,3fd4 <read_and_process_intelligentModuleUart_data+0x1a0>
|
|
3f10: 00da4703 lbu a4,13(s4)
|
|
3f14: 09970d63 beq a4,s9,3fae <read_and_process_intelligentModuleUart_data+0x17a>
|
|
3f18: 46c1 li a3,16
|
|
3f1a: 04d70663 beq a4,a3,3f66 <read_and_process_intelligentModuleUart_data+0x132>
|
|
3f1e: 0a000693 li a3,160
|
|
3f22: 08d70d63 beq a4,a3,3fbc <read_and_process_intelligentModuleUart_data+0x188>
|
|
3f26: 0a100693 li a3,161
|
|
3f2a: 08d70263 beq a4,a3,3fae <read_and_process_intelligentModuleUart_data+0x17a>
|
|
3f2e: 03070713 addi a4,a4,48
|
|
3f32: 0ff77713 andi a4,a4,255
|
|
3f36: 4685 li a3,1
|
|
3f38: 08e6f263 bgeu a3,a4,3fbc <read_and_process_intelligentModuleUart_data+0x188>
|
|
3f3c: 4709 li a4,2
|
|
3f3e: 87ca mv a5,s2
|
|
3f40: 00e97363 bgeu s2,a4,3f46 <read_and_process_intelligentModuleUart_data+0x112>
|
|
3f44: 4789 li a5,2
|
|
3f46: 0ff7f913 andi s2,a5,255
|
|
3f4a: b79d j 3eb0 <read_and_process_intelligentModuleUart_data+0x7c>
|
|
3f4c: 4449 li s0,18
|
|
3f4e: a00d j 3f70 <read_and_process_intelligentModuleUart_data+0x13c>
|
|
3f50: 8622 mv a2,s0
|
|
3f52: dd818593 addi a1,gp,-552 # 20000880 <uart_buff>
|
|
3f56: 855e mv a0,s7
|
|
3f58: d7dff0ef jal ra,3cd4 <FRT_IntelligentModuleMsgHandler>
|
|
3f5c: 0141 addi sp,sp,16
|
|
3f5e: c50fc06f j 3ae <__riscv_restore_12>
|
|
3f62: 84e2 mv s1,s8
|
|
3f64: bf99 j 3eba <read_and_process_intelligentModuleUart_data+0x86>
|
|
3f66: 4749 li a4,18
|
|
3f68: 06ec0e63 beq s8,a4,3fe4 <read_and_process_intelligentModuleUart_data+0x1b0>
|
|
3f6c: fe8c1be3 bne s8,s0,3f62 <read_and_process_intelligentModuleUart_data+0x12e>
|
|
3f70: ff840593 addi a1,s0,-8
|
|
3f74: 0fe5f593 andi a1,a1,254
|
|
3f78: 856a mv a0,s10
|
|
3f7a: cebff0ef jal ra,3c64 <CheckFunc>
|
|
3f7e: 009a0733 add a4,s4,s1
|
|
3f82: ffd74783 lbu a5,-3(a4)
|
|
3f86: ffe74683 lbu a3,-2(a4)
|
|
3f8a: 07a2 slli a5,a5,0x8
|
|
3f8c: 8fd5 or a5,a5,a3
|
|
3f8e: 00a79b63 bne a5,a0,3fa4 <read_and_process_intelligentModuleUart_data+0x170>
|
|
3f92: fff74703 lbu a4,-1(a4)
|
|
3f96: 47d9 li a5,22
|
|
3f98: 00f71663 bne a4,a5,3fa4 <read_and_process_intelligentModuleUart_data+0x170>
|
|
3f9c: 4732 lw a4,12(sp)
|
|
3f9e: 47dd li a5,23
|
|
3fa0: faf708e3 beq a4,a5,3f50 <read_and_process_intelligentModuleUart_data+0x11c>
|
|
3fa4: 87ca mv a5,s2
|
|
3fa6: fbb970e3 bgeu s2,s11,3f46 <read_and_process_intelligentModuleUart_data+0x112>
|
|
3faa: 478d li a5,3
|
|
3fac: bf69 j 3f46 <read_and_process_intelligentModuleUart_data+0x112>
|
|
3fae: 4749 li a4,18
|
|
3fb0: 4459 li s0,22
|
|
3fb2: faec1de3 bne s8,a4,3f6c <read_and_process_intelligentModuleUart_data+0x138>
|
|
3fb6: 44c9 li s1,18
|
|
3fb8: 4459 li s0,22
|
|
3fba: b5e9 j 3e84 <read_and_process_intelligentModuleUart_data+0x50>
|
|
3fbc: 4749 li a4,18
|
|
3fbe: f8ec07e3 beq s8,a4,3f4c <read_and_process_intelligentModuleUart_data+0x118>
|
|
3fc2: 84e2 mv s1,s8
|
|
3fc4: 4449 li s0,18
|
|
3fc6: bdd5 j 3eba <read_and_process_intelligentModuleUart_data+0x86>
|
|
3fc8: 4719 li a4,6
|
|
3fca: f2ec05e3 beq s8,a4,3ef4 <read_and_process_intelligentModuleUart_data+0xc0>
|
|
3fce: 4739 li a4,14
|
|
3fd0: f4ec00e3 beq s8,a4,3f10 <read_and_process_intelligentModuleUart_data+0xdc>
|
|
3fd4: 4749 li a4,18
|
|
3fd6: f8ec1be3 bne s8,a4,3f6c <read_and_process_intelligentModuleUart_data+0x138>
|
|
3fda: 00da4683 lbu a3,13(s4)
|
|
3fde: 4741 li a4,16
|
|
3fe0: f8e696e3 bne a3,a4,3f6c <read_and_process_intelligentModuleUart_data+0x138>
|
|
3fe4: 010a4403 lbu s0,16(s4)
|
|
3fe8: 011a4783 lbu a5,17(s4)
|
|
3fec: 44c9 li s1,18
|
|
3fee: 0422 slli s0,s0,0x8
|
|
3ff0: 8c5d or s0,s0,a5
|
|
3ff2: 042d addi s0,s0,11
|
|
3ff4: 0406 slli s0,s0,0x1
|
|
3ff6: b579 j 3e84 <read_and_process_intelligentModuleUart_data+0x50>
|
|
|
|
00003ff8 <Recv_thread_entry>:
|
|
3ff8: b90fc2ef jal t0,388 <__riscv_save_4>
|
|
3ffc: 8b01a503 lw a0,-1872(gp) # 20000358 <g_J1RS485_UART6_handle>
|
|
4000: d07ff0ef jal ra,3d06 <read_and_process_sensorUart_data>
|
|
4004: 8b41a503 lw a0,-1868(gp) # 2000035c <g_J2RS485_UART7_handle>
|
|
4008: cffff0ef jal ra,3d06 <read_and_process_sensorUart_data>
|
|
400c: 8b81a503 lw a0,-1864(gp) # 20000360 <g_J3RS485_USART2_handle>
|
|
4010: cf7ff0ef jal ra,3d06 <read_and_process_sensorUart_data>
|
|
4014: 8bc1a503 lw a0,-1860(gp) # 20000364 <g_J4RS485_UART8_handle>
|
|
4018: cefff0ef jal ra,3d06 <read_and_process_sensorUart_data>
|
|
401c: 8c01a503 lw a0,-1856(gp) # 20000368 <g_J50RS485_USART3_handle>
|
|
4020: ce7ff0ef jal ra,3d06 <read_and_process_sensorUart_data>
|
|
4024: 8c41a503 lw a0,-1852(gp) # 2000036c <g_LORA_UART4_handle>
|
|
4028: cdfff0ef jal ra,3d06 <read_and_process_sensorUart_data>
|
|
402c: 8c81a503 lw a0,-1848(gp) # 20000370 <g_Upward_UART5_handle>
|
|
4030: e05ff0ef jal ra,3e34 <read_and_process_intelligentModuleUart_data>
|
|
4034: b7e1 j 3ffc <Recv_thread_entry+0x4>
|
|
|
|
00004036 <Recv_thread_Init>:
|
|
4036: b6cfc2ef jal t0,3a2 <__riscv_save_0>
|
|
403a: 000045b7 lui a1,0x4
|
|
403e: 00006537 lui a0,0x6
|
|
4042: 47d1 li a5,20
|
|
4044: 4709 li a4,2
|
|
4046: 20000693 li a3,512
|
|
404a: 4601 li a2,0
|
|
404c: ff858593 addi a1,a1,-8 # 3ff8 <Recv_thread_entry>
|
|
4050: 7f050513 addi a0,a0,2032 # 67f0 <ch32_uart_ops+0x194>
|
|
4054: f5cfd0ef jal ra,17b0 <rt_thread_create>
|
|
4058: c119 beqz a0,405e <Recv_thread_Init+0x28>
|
|
405a: 8d3fd0ef jal ra,192c <rt_thread_startup>
|
|
405e: b68fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004062 <uart_dev_init>:
|
|
4062: b40fc2ef jal t0,3a2 <__riscv_save_0>
|
|
4066: 20000437 lui s0,0x20000
|
|
406a: 1b840793 addi a5,s0,440 # 200001b8 <uart_devices>
|
|
406e: 4481 li s1,0
|
|
4070: 1b840413 addi s0,s0,440
|
|
4074: 471d li a4,7
|
|
4076: 43d4 lw a3,4(a5)
|
|
4078: 0ca69d63 bne a3,a0,4152 <uart_dev_init+0xf0>
|
|
407c: 0496 slli s1,s1,0x5
|
|
407e: 00940933 add s2,s0,s1
|
|
4082: 00094783 lbu a5,0(s2)
|
|
4086: e78d bnez a5,40b0 <uart_dev_init+0x4e>
|
|
4088: 00c48513 addi a0,s1,12
|
|
408c: 9522 add a0,a0,s0
|
|
408e: f05fe0ef jal ra,2f92 <InitRingQueue>
|
|
4092: 00492783 lw a5,4(s2)
|
|
4096: 40002737 lui a4,0x40002
|
|
409a: 80070693 addi a3,a4,-2048 # 40001800 <_eusrstack+0x1fff1800>
|
|
409e: 00892503 lw a0,8(s2)
|
|
40a2: 00d79b63 bne a5,a3,40b8 <uart_dev_init+0x56>
|
|
40a6: 2d7d jal 4764 <J1_485_Init>
|
|
40a8: 009407b3 add a5,s0,s1
|
|
40ac: 4705 li a4,1
|
|
40ae: a398 sb a4,0(a5)
|
|
40b0: 00940533 add a0,s0,s1
|
|
40b4: b12fc06f j 3c6 <__riscv_restore_0>
|
|
40b8: c0070693 addi a3,a4,-1024
|
|
40bc: 00d79563 bne a5,a3,40c6 <uart_dev_init+0x64>
|
|
40c0: 762000ef jal ra,4822 <J2_485_Init>
|
|
40c4: b7d5 j 40a8 <uart_dev_init+0x46>
|
|
40c6: 400046b7 lui a3,0x40004
|
|
40ca: 40068693 addi a3,a3,1024 # 40004400 <_eusrstack+0x1fff4400>
|
|
40ce: 00d79563 bne a5,a3,40d8 <uart_dev_init+0x76>
|
|
40d2: 00f000ef jal ra,48e0 <J3_485_Init>
|
|
40d6: bfc9 j 40a8 <uart_dev_init+0x46>
|
|
40d8: 00e79563 bne a5,a4,40e2 <uart_dev_init+0x80>
|
|
40dc: 0c7000ef jal ra,49a2 <J4_485_Init>
|
|
40e0: b7e1 j 40a8 <uart_dev_init+0x46>
|
|
40e2: 40005737 lui a4,0x40005
|
|
40e6: 80070693 addi a3,a4,-2048 # 40004800 <_eusrstack+0x1fff4800>
|
|
40ea: 04d79863 bne a5,a3,413a <uart_dev_init+0xd8>
|
|
40ee: 28b000ef jal ra,4b78 <J5_0_485_Init>
|
|
40f2: 01c92783 lw a5,28(s2)
|
|
40f6: e781 bnez a5,40fe <uart_dev_init+0x9c>
|
|
40f8: 247000ef jal ra,4b3e <USART_CONNET_J0>
|
|
40fc: b775 j 40a8 <uart_dev_init+0x46>
|
|
40fe: 4715 li a4,5
|
|
4100: 00e79563 bne a5,a4,410a <uart_dev_init+0xa8>
|
|
4104: 377000ef jal ra,4c7a <USART_CONNET_J5>
|
|
4108: b745 j 40a8 <uart_dev_init+0x46>
|
|
410a: 4719 li a4,6
|
|
410c: 00e79563 bne a5,a4,4116 <uart_dev_init+0xb4>
|
|
4110: 3a5000ef jal ra,4cb4 <USART_CONNET_J6>
|
|
4114: bf51 j 40a8 <uart_dev_init+0x46>
|
|
4116: 471d li a4,7
|
|
4118: 00e79563 bne a5,a4,4122 <uart_dev_init+0xc0>
|
|
411c: 3d3000ef jal ra,4cee <USART_CONNET_J7>
|
|
4120: b761 j 40a8 <uart_dev_init+0x46>
|
|
4122: 4721 li a4,8
|
|
4124: 00e79563 bne a5,a4,412e <uart_dev_init+0xcc>
|
|
4128: 401000ef jal ra,4d28 <USART_CONNET_J8>
|
|
412c: bfb5 j 40a8 <uart_dev_init+0x46>
|
|
412e: 4725 li a4,9
|
|
4130: f6e79ce3 bne a5,a4,40a8 <uart_dev_init+0x46>
|
|
4134: 1bf000ef jal ra,4af2 <USART_CONNET_J9>
|
|
4138: bf85 j 40a8 <uart_dev_init+0x46>
|
|
413a: 00e79563 bne a5,a4,4144 <uart_dev_init+0xe2>
|
|
413e: 4b9000ef jal ra,4df6 <Upward_UART5_Init>
|
|
4142: b79d j 40a8 <uart_dev_init+0x46>
|
|
4144: c0070713 addi a4,a4,-1024
|
|
4148: f6e790e3 bne a5,a4,40a8 <uart_dev_init+0x46>
|
|
414c: 417000ef jal ra,4d62 <LORA_UART4_Init>
|
|
4150: bfa1 j 40a8 <uart_dev_init+0x46>
|
|
4152: 0485 addi s1,s1,1
|
|
4154: 02078793 addi a5,a5,32
|
|
4158: f0e49fe3 bne s1,a4,4076 <uart_dev_init+0x14>
|
|
415c: 4501 li a0,0
|
|
415e: bf99 j 40b4 <uart_dev_init+0x52>
|
|
|
|
00004160 <uart_all_dev_init>:
|
|
4160: a42fc2ef jal t0,3a2 <__riscv_save_0>
|
|
4164: 20000437 lui s0,0x20000
|
|
4168: 1b840413 addi s0,s0,440 # 200001b8 <uart_devices>
|
|
416c: 4048 lw a0,4(s0)
|
|
416e: 08000613 li a2,128
|
|
4172: e0c18593 addi a1,gp,-500 # 200008b4 <J1RS485_in_buff>
|
|
4176: eedff0ef jal ra,4062 <uart_dev_init>
|
|
417a: 8aa1a823 sw a0,-1872(gp) # 20000358 <g_J1RS485_UART6_handle>
|
|
417e: 5048 lw a0,36(s0)
|
|
4180: 08000613 li a2,128
|
|
4184: e8c18593 addi a1,gp,-372 # 20000934 <J2RS485_in_buff>
|
|
4188: edbff0ef jal ra,4062 <uart_dev_init>
|
|
418c: 8aa1aa23 sw a0,-1868(gp) # 2000035c <g_J2RS485_UART7_handle>
|
|
4190: 4068 lw a0,68(s0)
|
|
4192: 08000613 li a2,128
|
|
4196: f0c18593 addi a1,gp,-244 # 200009b4 <J3RS485_in_buff>
|
|
419a: ec9ff0ef jal ra,4062 <uart_dev_init>
|
|
419e: 8aa1ac23 sw a0,-1864(gp) # 20000360 <g_J3RS485_USART2_handle>
|
|
41a2: 5068 lw a0,100(s0)
|
|
41a4: 08000613 li a2,128
|
|
41a8: f8c18593 addi a1,gp,-116 # 20000a34 <J4RS485_in_buff>
|
|
41ac: eb7ff0ef jal ra,4062 <uart_dev_init>
|
|
41b0: 8aa1ae23 sw a0,-1860(gp) # 20000364 <g_J4RS485_UART8_handle>
|
|
41b4: 08442503 lw a0,132(s0)
|
|
41b8: 08000613 li a2,128
|
|
41bc: 00c18593 addi a1,gp,12 # 20000ab4 <J50RS485_in_buff>
|
|
41c0: ea3ff0ef jal ra,4062 <uart_dev_init>
|
|
41c4: 8ca1a023 sw a0,-1856(gp) # 20000368 <g_J50RS485_USART3_handle>
|
|
41c8: 0a442503 lw a0,164(s0)
|
|
41cc: 08000613 li a2,128
|
|
41d0: 08c18593 addi a1,gp,140 # 20000b34 <LORA_in_buff>
|
|
41d4: e8fff0ef jal ra,4062 <uart_dev_init>
|
|
41d8: 8ca1a223 sw a0,-1852(gp) # 2000036c <g_LORA_UART4_handle>
|
|
41dc: 0c442503 lw a0,196(s0)
|
|
41e0: 08000613 li a2,128
|
|
41e4: 10c18593 addi a1,gp,268 # 20000bb4 <Upward_in_buff>
|
|
41e8: e7bff0ef jal ra,4062 <uart_dev_init>
|
|
41ec: 8ca1a423 sw a0,-1848(gp) # 20000370 <g_Upward_UART5_handle>
|
|
41f0: 4501 li a0,0
|
|
41f2: 9d4fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
000041f6 <uart_dev_char_present>:
|
|
41f6: 4781 li a5,0
|
|
41f8: c909 beqz a0,420a <uart_dev_char_present+0x14>
|
|
41fa: 2118 lbu a4,0(a0)
|
|
41fc: 4781 li a5,0
|
|
41fe: c711 beqz a4,420a <uart_dev_char_present+0x14>
|
|
4200: 495c lw a5,20(a0)
|
|
4202: 4d08 lw a0,24(a0)
|
|
4204: 8f89 sub a5,a5,a0
|
|
4206: 00f037b3 snez a5,a5
|
|
420a: 853e mv a0,a5
|
|
420c: 8082 ret
|
|
|
|
0000420e <uart_dev_in_char>:
|
|
420e: 994fc2ef jal t0,3a2 <__riscv_save_0>
|
|
4212: 1141 addi sp,sp,-16
|
|
4214: 842a mv s0,a0
|
|
4216: 000107a3 sb zero,15(sp)
|
|
421a: fddff0ef jal ra,41f6 <uart_dev_char_present>
|
|
421e: c519 beqz a0,422c <uart_dev_in_char+0x1e>
|
|
4220: 00f10593 addi a1,sp,15
|
|
4224: 00c40513 addi a0,s0,12
|
|
4228: da7fe0ef jal ra,2fce <OutRingQueue>
|
|
422c: 00f10503 lb a0,15(sp)
|
|
4230: 0141 addi sp,sp,16
|
|
4232: 994fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004236 <ring_queue_length>:
|
|
4236: 96cfc2ef jal t0,3a2 <__riscv_save_0>
|
|
423a: 0531 addi a0,a0,12
|
|
423c: db9fe0ef jal ra,2ff4 <RingQueueLength>
|
|
4240: 986fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004244 <DBGMCU_GetCHIPID>:
|
|
4244: 1ffff7b7 lui a5,0x1ffff
|
|
4248: 7047a503 lw a0,1796(a5) # 1ffff704 <__stack_size+0x1fff7704>
|
|
424c: 8082 ret
|
|
|
|
0000424e <EXTI_Init>:
|
|
424e: 4158 lw a4,4(a0)
|
|
4250: 00052803 lw a6,0(a0)
|
|
4254: 454c lw a1,12(a0)
|
|
4256: 40010637 lui a2,0x40010
|
|
425a: 40060793 addi a5,a2,1024 # 40010400 <_eusrstack+0x20000400>
|
|
425e: 973e add a4,a4,a5
|
|
4260: fff84693 not a3,a6
|
|
4264: c5b1 beqz a1,42b0 <EXTI_Init+0x62>
|
|
4266: 40062583 lw a1,1024(a2)
|
|
426a: 8df5 and a1,a1,a3
|
|
426c: 40b62023 sw a1,1024(a2)
|
|
4270: 43d0 lw a2,4(a5)
|
|
4272: 8ef1 and a3,a3,a2
|
|
4274: c3d4 sw a3,4(a5)
|
|
4276: 4314 lw a3,0(a4)
|
|
4278: 0106e6b3 or a3,a3,a6
|
|
427c: c314 sw a3,0(a4)
|
|
427e: 4118 lw a4,0(a0)
|
|
4280: 4790 lw a2,8(a5)
|
|
4282: fff74693 not a3,a4
|
|
4286: 8e75 and a2,a2,a3
|
|
4288: c790 sw a2,8(a5)
|
|
428a: 47d0 lw a2,12(a5)
|
|
428c: 8ef1 and a3,a3,a2
|
|
428e: c7d4 sw a3,12(a5)
|
|
4290: 4514 lw a3,8(a0)
|
|
4292: 4641 li a2,16
|
|
4294: 00c69963 bne a3,a2,42a6 <EXTI_Init+0x58>
|
|
4298: 4794 lw a3,8(a5)
|
|
429a: 8ed9 or a3,a3,a4
|
|
429c: c794 sw a3,8(a5)
|
|
429e: 47d4 lw a3,12(a5)
|
|
42a0: 8f55 or a4,a4,a3
|
|
42a2: c7d8 sw a4,12(a5)
|
|
42a4: 8082 ret
|
|
42a6: 97b6 add a5,a5,a3
|
|
42a8: 4394 lw a3,0(a5)
|
|
42aa: 8f55 or a4,a4,a3
|
|
42ac: c398 sw a4,0(a5)
|
|
42ae: 8082 ret
|
|
42b0: 431c lw a5,0(a4)
|
|
42b2: 8ff5 and a5,a5,a3
|
|
42b4: c31c sw a5,0(a4)
|
|
42b6: 8082 ret
|
|
|
|
000042b8 <EXTI_GetITStatus>:
|
|
42b8: 400107b7 lui a5,0x40010
|
|
42bc: 40078713 addi a4,a5,1024 # 40010400 <_eusrstack+0x20000400>
|
|
42c0: 4007a783 lw a5,1024(a5)
|
|
42c4: 4b58 lw a4,20(a4)
|
|
42c6: 8f69 and a4,a4,a0
|
|
42c8: c709 beqz a4,42d2 <EXTI_GetITStatus+0x1a>
|
|
42ca: 8d7d and a0,a0,a5
|
|
42cc: 00a03533 snez a0,a0
|
|
42d0: 8082 ret
|
|
42d2: 4501 li a0,0
|
|
42d4: 8082 ret
|
|
|
|
000042d6 <EXTI_ClearITPendingBit>:
|
|
42d6: 400107b7 lui a5,0x40010
|
|
42da: 40a7aa23 sw a0,1044(a5) # 40010414 <_eusrstack+0x20000414>
|
|
42de: 8082 ret
|
|
|
|
000042e0 <GPIO_Init>:
|
|
42e0: 459c lw a5,8(a1)
|
|
42e2: 0107f713 andi a4,a5,16
|
|
42e6: 00f7f813 andi a6,a5,15
|
|
42ea: c701 beqz a4,42f2 <GPIO_Init+0x12>
|
|
42ec: 41d8 lw a4,4(a1)
|
|
42ee: 00e86833 or a6,a6,a4
|
|
42f2: 218e lhu a1,0(a1)
|
|
42f4: 0ff5f713 andi a4,a1,255
|
|
42f8: c339 beqz a4,433e <GPIO_Init+0x5e>
|
|
42fa: 4118 lw a4,0(a0)
|
|
42fc: 4681 li a3,0
|
|
42fe: 4e85 li t4,1
|
|
4300: 4f3d li t5,15
|
|
4302: 02800f93 li t6,40
|
|
4306: 04800293 li t0,72
|
|
430a: 4e21 li t3,8
|
|
430c: 00de9633 sll a2,t4,a3
|
|
4310: 00c5f8b3 and a7,a1,a2
|
|
4314: 03161163 bne a2,a7,4336 <GPIO_Init+0x56>
|
|
4318: 00269893 slli a7,a3,0x2
|
|
431c: 011f1333 sll t1,t5,a7
|
|
4320: fff34313 not t1,t1
|
|
4324: 00e37733 and a4,t1,a4
|
|
4328: 011818b3 sll a7,a6,a7
|
|
432c: 00e8e733 or a4,a7,a4
|
|
4330: 05f79f63 bne a5,t6,438e <GPIO_Init+0xae>
|
|
4334: c950 sw a2,20(a0)
|
|
4336: 0685 addi a3,a3,1
|
|
4338: fdc69ae3 bne a3,t3,430c <GPIO_Init+0x2c>
|
|
433c: c118 sw a4,0(a0)
|
|
433e: 0ff00713 li a4,255
|
|
4342: 04b77563 bgeu a4,a1,438c <GPIO_Init+0xac>
|
|
4346: 4154 lw a3,4(a0)
|
|
4348: 4621 li a2,8
|
|
434a: 4e85 li t4,1
|
|
434c: 4f3d li t5,15
|
|
434e: 02800f93 li t6,40
|
|
4352: 04800293 li t0,72
|
|
4356: 4e41 li t3,16
|
|
4358: 00ce98b3 sll a7,t4,a2
|
|
435c: 0115f733 and a4,a1,a7
|
|
4360: 02e89263 bne a7,a4,4384 <GPIO_Init+0xa4>
|
|
4364: 00261713 slli a4,a2,0x2
|
|
4368: 1701 addi a4,a4,-32
|
|
436a: 00ef1333 sll t1,t5,a4
|
|
436e: fff34313 not t1,t1
|
|
4372: 00d376b3 and a3,t1,a3
|
|
4376: 00e81733 sll a4,a6,a4
|
|
437a: 8ed9 or a3,a3,a4
|
|
437c: 01f79d63 bne a5,t6,4396 <GPIO_Init+0xb6>
|
|
4380: 01152a23 sw a7,20(a0)
|
|
4384: 0605 addi a2,a2,1
|
|
4386: fdc619e3 bne a2,t3,4358 <GPIO_Init+0x78>
|
|
438a: c154 sw a3,4(a0)
|
|
438c: 8082 ret
|
|
438e: fa5794e3 bne a5,t0,4336 <GPIO_Init+0x56>
|
|
4392: c910 sw a2,16(a0)
|
|
4394: b74d j 4336 <GPIO_Init+0x56>
|
|
4396: fe5797e3 bne a5,t0,4384 <GPIO_Init+0xa4>
|
|
439a: 01152823 sw a7,16(a0)
|
|
439e: b7dd j 4384 <GPIO_Init+0xa4>
|
|
|
|
000043a0 <GPIO_ReadInputDataBit>:
|
|
43a0: 4508 lw a0,8(a0)
|
|
43a2: 8d6d and a0,a0,a1
|
|
43a4: 00a03533 snez a0,a0
|
|
43a8: 8082 ret
|
|
|
|
000043aa <GPIO_WriteBit>:
|
|
43aa: c219 beqz a2,43b0 <GPIO_WriteBit+0x6>
|
|
43ac: c90c sw a1,16(a0)
|
|
43ae: 8082 ret
|
|
43b0: c94c sw a1,20(a0)
|
|
43b2: 8082 ret
|
|
|
|
000043b4 <GPIO_EXTILineConfig>:
|
|
43b4: 0fc5f713 andi a4,a1,252
|
|
43b8: 0035f793 andi a5,a1,3
|
|
43bc: 400105b7 lui a1,0x40010
|
|
43c0: 95ba add a1,a1,a4
|
|
43c2: 4594 lw a3,8(a1)
|
|
43c4: 078a slli a5,a5,0x2
|
|
43c6: 473d li a4,15
|
|
43c8: 00f71733 sll a4,a4,a5
|
|
43cc: fff74713 not a4,a4
|
|
43d0: 8f75 and a4,a4,a3
|
|
43d2: c598 sw a4,8(a1)
|
|
43d4: 4598 lw a4,8(a1)
|
|
43d6: 00f51533 sll a0,a0,a5
|
|
43da: 8d59 or a0,a0,a4
|
|
43dc: c588 sw a0,8(a1)
|
|
43de: 8082 ret
|
|
|
|
000043e0 <NVIC_Init>:
|
|
43e0: 8cc1a703 lw a4,-1844(gp) # 20000374 <NVIC_Priority_Group>
|
|
43e4: 4789 li a5,2
|
|
43e6: 2110 lbu a2,0(a0)
|
|
43e8: 02f71163 bne a4,a5,440a <NVIC_Init+0x2a>
|
|
43ec: 3114 lbu a3,1(a0)
|
|
43ee: 478d li a5,3
|
|
43f0: 00d7ed63 bltu a5,a3,440a <NVIC_Init+0x2a>
|
|
43f4: 213c lbu a5,2(a0)
|
|
43f6: 069a slli a3,a3,0x6
|
|
43f8: e000e737 lui a4,0xe000e
|
|
43fc: 0796 slli a5,a5,0x5
|
|
43fe: 8fd5 or a5,a5,a3
|
|
4400: 0ff7f793 andi a5,a5,255
|
|
4404: 9732 add a4,a4,a2
|
|
4406: 40f70023 sb a5,1024(a4) # e000e400 <_eusrstack+0xbfffe400>
|
|
440a: 4154 lw a3,4(a0)
|
|
440c: 4705 li a4,1
|
|
440e: 00565793 srli a5,a2,0x5
|
|
4412: 00c71733 sll a4,a4,a2
|
|
4416: ca89 beqz a3,4428 <NVIC_Init+0x48>
|
|
4418: 04078793 addi a5,a5,64
|
|
441c: 078a slli a5,a5,0x2
|
|
441e: e000e6b7 lui a3,0xe000e
|
|
4422: 97b6 add a5,a5,a3
|
|
4424: c398 sw a4,0(a5)
|
|
4426: 8082 ret
|
|
4428: 06078793 addi a5,a5,96
|
|
442c: bfc5 j 441c <NVIC_Init+0x3c>
|
|
|
|
0000442e <RCC_GetClocksFreq>:
|
|
442e: 40021737 lui a4,0x40021
|
|
4432: 435c lw a5,4(a4)
|
|
4434: 4691 li a3,4
|
|
4436: 8bb1 andi a5,a5,12
|
|
4438: 00d78563 beq a5,a3,4442 <RCC_GetClocksFreq+0x14>
|
|
443c: 46a1 li a3,8
|
|
443e: 06d78263 beq a5,a3,44a2 <RCC_GetClocksFreq+0x74>
|
|
4442: 007a17b7 lui a5,0x7a1
|
|
4446: 20078793 addi a5,a5,512 # 7a1200 <__stack_size+0x799200>
|
|
444a: c11c sw a5,0(a0)
|
|
444c: 40021637 lui a2,0x40021
|
|
4450: 425c lw a5,4(a2)
|
|
4452: 20000737 lui a4,0x20000
|
|
4456: 29870713 addi a4,a4,664 # 20000298 <APBAHBPrescTable>
|
|
445a: 8391 srli a5,a5,0x4
|
|
445c: 8bbd andi a5,a5,15
|
|
445e: 97ba add a5,a5,a4
|
|
4460: 2394 lbu a3,0(a5)
|
|
4462: 411c lw a5,0(a0)
|
|
4464: 00d7d7b3 srl a5,a5,a3
|
|
4468: c15c sw a5,4(a0)
|
|
446a: 4254 lw a3,4(a2)
|
|
446c: 82a1 srli a3,a3,0x8
|
|
446e: 8a9d andi a3,a3,7
|
|
4470: 96ba add a3,a3,a4
|
|
4472: 2294 lbu a3,0(a3)
|
|
4474: 00d7d6b3 srl a3,a5,a3
|
|
4478: c514 sw a3,8(a0)
|
|
447a: 4254 lw a3,4(a2)
|
|
447c: 82ad srli a3,a3,0xb
|
|
447e: 8a9d andi a3,a3,7
|
|
4480: 9736 add a4,a4,a3
|
|
4482: 2318 lbu a4,0(a4)
|
|
4484: 00e7d7b3 srl a5,a5,a4
|
|
4488: c55c sw a5,12(a0)
|
|
448a: 4258 lw a4,4(a2)
|
|
448c: 8339 srli a4,a4,0xe
|
|
448e: 00377693 andi a3,a4,3
|
|
4492: 80418713 addi a4,gp,-2044 # 200002ac <ADCPrescTable>
|
|
4496: 9736 add a4,a4,a3
|
|
4498: 2318 lbu a4,0(a4)
|
|
449a: 02e7d7b3 divu a5,a5,a4
|
|
449e: c91c sw a5,16(a0)
|
|
44a0: 8082 ret
|
|
44a2: 435c lw a5,4(a4)
|
|
44a4: 4358 lw a4,4(a4)
|
|
44a6: 66c1 lui a3,0x10
|
|
44a8: 83c9 srli a5,a5,0x12
|
|
44aa: 8f75 and a4,a4,a3
|
|
44ac: 1ffff6b7 lui a3,0x1ffff
|
|
44b0: 70c6a683 lw a3,1804(a3) # 1ffff70c <__stack_size+0x1fff770c>
|
|
44b4: 8bbd andi a5,a5,15
|
|
44b6: 0789 addi a5,a5,2
|
|
44b8: 01169613 slli a2,a3,0x11
|
|
44bc: 00064863 bltz a2,44cc <RCC_GetClocksFreq+0x9e>
|
|
44c0: 46c5 li a3,17
|
|
44c2: 4601 li a2,0
|
|
44c4: 02d79263 bne a5,a3,44e8 <RCC_GetClocksFreq+0xba>
|
|
44c8: 47c9 li a5,18
|
|
44ca: a839 j 44e8 <RCC_GetClocksFreq+0xba>
|
|
44cc: 4689 li a3,2
|
|
44ce: 02d78f63 beq a5,a3,450c <RCC_GetClocksFreq+0xde>
|
|
44d2: 46bd li a3,15
|
|
44d4: 02d78e63 beq a5,a3,4510 <RCC_GetClocksFreq+0xe2>
|
|
44d8: 46c1 li a3,16
|
|
44da: 02d78e63 beq a5,a3,4516 <RCC_GetClocksFreq+0xe8>
|
|
44de: 46c5 li a3,17
|
|
44e0: 4601 li a2,0
|
|
44e2: 00d79363 bne a5,a3,44e8 <RCC_GetClocksFreq+0xba>
|
|
44e6: 47c1 li a5,16
|
|
44e8: ef1d bnez a4,4526 <RCC_GetClocksFreq+0xf8>
|
|
44ea: 40024737 lui a4,0x40024
|
|
44ee: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x20013800>
|
|
44f2: 8b41 andi a4,a4,16
|
|
44f4: c705 beqz a4,451c <RCC_GetClocksFreq+0xee>
|
|
44f6: 007a1737 lui a4,0x7a1
|
|
44fa: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
|
|
44fe: 02f707b3 mul a5,a4,a5
|
|
4502: c11c sw a5,0(a0)
|
|
4504: d621 beqz a2,444c <RCC_GetClocksFreq+0x1e>
|
|
4506: 411c lw a5,0(a0)
|
|
4508: 8385 srli a5,a5,0x1
|
|
450a: b781 j 444a <RCC_GetClocksFreq+0x1c>
|
|
450c: 4601 li a2,0
|
|
450e: bf6d j 44c8 <RCC_GetClocksFreq+0x9a>
|
|
4510: 4605 li a2,1
|
|
4512: 47b5 li a5,13
|
|
4514: bfd1 j 44e8 <RCC_GetClocksFreq+0xba>
|
|
4516: 4601 li a2,0
|
|
4518: 47bd li a5,15
|
|
451a: b7f9 j 44e8 <RCC_GetClocksFreq+0xba>
|
|
451c: 003d1737 lui a4,0x3d1
|
|
4520: 90070713 addi a4,a4,-1792 # 3d0900 <__stack_size+0x3c8900>
|
|
4524: bfe9 j 44fe <RCC_GetClocksFreq+0xd0>
|
|
4526: 400215b7 lui a1,0x40021
|
|
452a: 55d8 lw a4,44(a1)
|
|
452c: 00f71693 slli a3,a4,0xf
|
|
4530: 55d8 lw a4,44(a1)
|
|
4532: 0406df63 bgez a3,4590 <RCC_GetClocksFreq+0x162>
|
|
4536: 8311 srli a4,a4,0x4
|
|
4538: 8b3d andi a4,a4,15
|
|
453a: 00170693 addi a3,a4,1
|
|
453e: 007a1737 lui a4,0x7a1
|
|
4542: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
|
|
4546: 02d75733 divu a4,a4,a3
|
|
454a: c118 sw a4,0(a0)
|
|
454c: 55d4 lw a3,44(a1)
|
|
454e: 82a1 srli a3,a3,0x8
|
|
4550: 8abd andi a3,a3,15
|
|
4552: e28d bnez a3,4574 <RCC_GetClocksFreq+0x146>
|
|
4554: 4695 li a3,5
|
|
4556: 02d70733 mul a4,a4,a3
|
|
455a: 8305 srli a4,a4,0x1
|
|
455c: c118 sw a4,0(a0)
|
|
455e: 40021737 lui a4,0x40021
|
|
4562: 5758 lw a4,44(a4)
|
|
4564: 4114 lw a3,0(a0)
|
|
4566: 8b3d andi a4,a4,15
|
|
4568: 0705 addi a4,a4,1
|
|
456a: 02e6d733 divu a4,a3,a4
|
|
456e: c118 sw a4,0(a0)
|
|
4570: 4118 lw a4,0(a0)
|
|
4572: b771 j 44fe <RCC_GetClocksFreq+0xd0>
|
|
4574: 4585 li a1,1
|
|
4576: 00b69463 bne a3,a1,457e <RCC_GetClocksFreq+0x150>
|
|
457a: 46e5 li a3,25
|
|
457c: bfe9 j 4556 <RCC_GetClocksFreq+0x128>
|
|
457e: 45bd li a1,15
|
|
4580: 00b69663 bne a3,a1,458c <RCC_GetClocksFreq+0x15e>
|
|
4584: 46d1 li a3,20
|
|
4586: 02e68733 mul a4,a3,a4
|
|
458a: bfc9 j 455c <RCC_GetClocksFreq+0x12e>
|
|
458c: 0689 addi a3,a3,2
|
|
458e: bfe5 j 4586 <RCC_GetClocksFreq+0x158>
|
|
4590: 8b3d andi a4,a4,15
|
|
4592: 00170693 addi a3,a4,1 # 40021001 <_eusrstack+0x20011001>
|
|
4596: 007a1737 lui a4,0x7a1
|
|
459a: 20070713 addi a4,a4,512 # 7a1200 <__stack_size+0x799200>
|
|
459e: 02d75733 divu a4,a4,a3
|
|
45a2: b7f1 j 456e <RCC_GetClocksFreq+0x140>
|
|
|
|
000045a4 <RCC_APB2PeriphClockCmd>:
|
|
45a4: c599 beqz a1,45b2 <RCC_APB2PeriphClockCmd+0xe>
|
|
45a6: 40021737 lui a4,0x40021
|
|
45aa: 4f1c lw a5,24(a4)
|
|
45ac: 8d5d or a0,a0,a5
|
|
45ae: cf08 sw a0,24(a4)
|
|
45b0: 8082 ret
|
|
45b2: 400217b7 lui a5,0x40021
|
|
45b6: 4f98 lw a4,24(a5)
|
|
45b8: fff54513 not a0,a0
|
|
45bc: 8d79 and a0,a0,a4
|
|
45be: cf88 sw a0,24(a5)
|
|
45c0: 8082 ret
|
|
|
|
000045c2 <RCC_APB1PeriphClockCmd>:
|
|
45c2: c599 beqz a1,45d0 <RCC_APB1PeriphClockCmd+0xe>
|
|
45c4: 40021737 lui a4,0x40021
|
|
45c8: 4f5c lw a5,28(a4)
|
|
45ca: 8d5d or a0,a0,a5
|
|
45cc: cf48 sw a0,28(a4)
|
|
45ce: 8082 ret
|
|
45d0: 400217b7 lui a5,0x40021
|
|
45d4: 4fd8 lw a4,28(a5)
|
|
45d6: fff54513 not a0,a0
|
|
45da: 8d79 and a0,a0,a4
|
|
45dc: cfc8 sw a0,28(a5)
|
|
45de: 8082 ret
|
|
|
|
000045e0 <USART_Init>:
|
|
45e0: dc3fb2ef jal t0,3a2 <__riscv_save_0>
|
|
45e4: 2916 lhu a3,16(a0)
|
|
45e6: 77f5 lui a5,0xffffd
|
|
45e8: 17fd addi a5,a5,-1
|
|
45ea: 8ff5 and a5,a5,a3
|
|
45ec: 21f6 lhu a3,6(a1)
|
|
45ee: 25da lhu a4,12(a1)
|
|
45f0: 7179 addi sp,sp,-48
|
|
45f2: 8fd5 or a5,a5,a3
|
|
45f4: a91e sh a5,16(a0)
|
|
45f6: 2556 lhu a3,12(a0)
|
|
45f8: 77fd lui a5,0xfffff
|
|
45fa: 9f378793 addi a5,a5,-1549 # ffffe9f3 <_eusrstack+0xdffee9f3>
|
|
45fe: 8ff5 and a5,a5,a3
|
|
4600: 21d6 lhu a3,4(a1)
|
|
4602: 842a mv s0,a0
|
|
4604: c62e sw a1,12(sp)
|
|
4606: 8fd5 or a5,a5,a3
|
|
4608: 2596 lhu a3,8(a1)
|
|
460a: 8fd5 or a5,a5,a3
|
|
460c: 25b6 lhu a3,10(a1)
|
|
460e: 8fd5 or a5,a5,a3
|
|
4610: a55e sh a5,12(a0)
|
|
4612: 295e lhu a5,20(a0)
|
|
4614: 07c2 slli a5,a5,0x10
|
|
4616: 83c1 srli a5,a5,0x10
|
|
4618: cff7f793 andi a5,a5,-769
|
|
461c: 8fd9 or a5,a5,a4
|
|
461e: a95e sh a5,20(a0)
|
|
4620: 0868 addi a0,sp,28
|
|
4622: e0dff0ef jal ra,442e <RCC_GetClocksFreq>
|
|
4626: 400147b7 lui a5,0x40014
|
|
462a: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
|
|
462e: 45b2 lw a1,12(sp)
|
|
4630: 02f41e63 bne s0,a5,466c <USART_Init+0x8c>
|
|
4634: 57a2 lw a5,40(sp)
|
|
4636: 4765 li a4,25
|
|
4638: 02e787b3 mul a5,a5,a4
|
|
463c: 4198 lw a4,0(a1)
|
|
463e: 06400693 li a3,100
|
|
4642: 070a slli a4,a4,0x2
|
|
4644: 02e7d7b3 divu a5,a5,a4
|
|
4648: 02d7d733 divu a4,a5,a3
|
|
464c: 02d7f7b3 remu a5,a5,a3
|
|
4650: 0712 slli a4,a4,0x4
|
|
4652: 0792 slli a5,a5,0x4
|
|
4654: 03278793 addi a5,a5,50
|
|
4658: 02d7d7b3 divu a5,a5,a3
|
|
465c: 8bbd andi a5,a5,15
|
|
465e: 8fd9 or a5,a5,a4
|
|
4660: 07c2 slli a5,a5,0x10
|
|
4662: 83c1 srli a5,a5,0x10
|
|
4664: a41e sh a5,8(s0)
|
|
4666: 6145 addi sp,sp,48
|
|
4668: d5ffb06f j 3c6 <__riscv_restore_0>
|
|
466c: 5792 lw a5,36(sp)
|
|
466e: b7e1 j 4636 <USART_Init+0x56>
|
|
|
|
00004670 <USART_Cmd>:
|
|
4670: c591 beqz a1,467c <USART_Cmd+0xc>
|
|
4672: 255e lhu a5,12(a0)
|
|
4674: 6709 lui a4,0x2
|
|
4676: 8fd9 or a5,a5,a4
|
|
4678: a55e sh a5,12(a0)
|
|
467a: 8082 ret
|
|
467c: 255a lhu a4,12(a0)
|
|
467e: 77f9 lui a5,0xffffe
|
|
4680: 17fd addi a5,a5,-1
|
|
4682: 8ff9 and a5,a5,a4
|
|
4684: bfd5 j 4678 <USART_Cmd+0x8>
|
|
|
|
00004686 <USART_ITConfig>:
|
|
4686: 0ff5f713 andi a4,a1,255
|
|
468a: 4785 li a5,1
|
|
468c: 8315 srli a4,a4,0x5
|
|
468e: 00b795b3 sll a1,a5,a1
|
|
4692: 00f71963 bne a4,a5,46a4 <USART_ITConfig+0x1e>
|
|
4696: 00c50793 addi a5,a0,12
|
|
469a: 4398 lw a4,0(a5)
|
|
469c: ce01 beqz a2,46b4 <USART_ITConfig+0x2e>
|
|
469e: 8dd9 or a1,a1,a4
|
|
46a0: c38c sw a1,0(a5)
|
|
46a2: 8082 ret
|
|
46a4: 4689 li a3,2
|
|
46a6: 01450793 addi a5,a0,20
|
|
46aa: fed718e3 bne a4,a3,469a <USART_ITConfig+0x14>
|
|
46ae: 01050793 addi a5,a0,16
|
|
46b2: b7e5 j 469a <USART_ITConfig+0x14>
|
|
46b4: fff5c593 not a1,a1
|
|
46b8: 8df9 and a1,a1,a4
|
|
46ba: b7dd j 46a0 <USART_ITConfig+0x1a>
|
|
|
|
000046bc <USART_ReceiveData>:
|
|
46bc: 214a lhu a0,4(a0)
|
|
46be: 1ff57513 andi a0,a0,511
|
|
46c2: 8082 ret
|
|
|
|
000046c4 <USART_GetFlagStatus>:
|
|
46c4: 210a lhu a0,0(a0)
|
|
46c6: 8d6d and a0,a0,a1
|
|
46c8: 00a03533 snez a0,a0
|
|
46cc: 8082 ret
|
|
|
|
000046ce <USART_GetITStatus>:
|
|
46ce: 0ff5f713 andi a4,a1,255
|
|
46d2: 4685 li a3,1
|
|
46d4: 8315 srli a4,a4,0x5
|
|
46d6: 00b697b3 sll a5,a3,a1
|
|
46da: 02d71163 bne a4,a3,46fc <USART_GetITStatus+0x2e>
|
|
46de: 255a lhu a4,12(a0)
|
|
46e0: 8ff9 and a5,a5,a4
|
|
46e2: 211a lhu a4,0(a0)
|
|
46e4: 4501 li a0,0
|
|
46e6: 0742 slli a4,a4,0x10
|
|
46e8: 8341 srli a4,a4,0x10
|
|
46ea: cb81 beqz a5,46fa <USART_GetITStatus+0x2c>
|
|
46ec: 4505 li a0,1
|
|
46ee: 81a1 srli a1,a1,0x8
|
|
46f0: 00b515b3 sll a1,a0,a1
|
|
46f4: 8f6d and a4,a4,a1
|
|
46f6: 00e03533 snez a0,a4
|
|
46fa: 8082 ret
|
|
46fc: 4689 li a3,2
|
|
46fe: 00d71463 bne a4,a3,4706 <USART_GetITStatus+0x38>
|
|
4702: 291a lhu a4,16(a0)
|
|
4704: bff1 j 46e0 <USART_GetITStatus+0x12>
|
|
4706: 295a lhu a4,20(a0)
|
|
4708: bfe1 j 46e0 <USART_GetITStatus+0x12>
|
|
|
|
0000470a <USART_ClearITPendingBit>:
|
|
470a: 81a1 srli a1,a1,0x8
|
|
470c: 4785 li a5,1
|
|
470e: 00b797b3 sll a5,a5,a1
|
|
4712: fff7c793 not a5,a5
|
|
4716: 07c2 slli a5,a5,0x10
|
|
4718: 83c1 srli a5,a5,0x10
|
|
471a: a11e sh a5,0(a0)
|
|
471c: 8082 ret
|
|
|
|
0000471e <android_PowerCtrl_Open>:
|
|
471e: c85fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4722: 4585 li a1,1
|
|
4724: 4509 li a0,2
|
|
4726: efcfe0ef jal ra,2e22 <rt_pin_write>
|
|
472a: c9dfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000472e <android_PowerCtrl_Init>:
|
|
472e: c75fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4732: 4581 li a1,0
|
|
4734: 4509 li a0,2
|
|
4736: ed2fe0ef jal ra,2e08 <rt_pin_mode>
|
|
473a: fe5ff0ef jal ra,471e <android_PowerCtrl_Open>
|
|
473e: c89fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004742 <android_PowerKey_Init>:
|
|
4742: c61fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4746: 4581 li a1,0
|
|
4748: 4505 li a0,1
|
|
474a: ebefe0ef jal ra,2e08 <rt_pin_mode>
|
|
474e: c79fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004752 <J1_PWR_Close>:
|
|
4752: c51fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4756: 4581 li a1,0
|
|
4758: 02600513 li a0,38
|
|
475c: ec6fe0ef jal ra,2e22 <rt_pin_write>
|
|
4760: c67fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004764 <J1_485_Init>:
|
|
4764: c3ffb2ef jal t0,3a2 <__riscv_save_0>
|
|
4768: 7179 addi sp,sp,-48
|
|
476a: 842a mv s0,a0
|
|
476c: 4581 li a1,0
|
|
476e: 4511 li a0,4
|
|
4770: e98fe0ef jal ra,2e08 <rt_pin_mode>
|
|
4774: 4581 li a1,0
|
|
4776: 4511 li a0,4
|
|
4778: eaafe0ef jal ra,2e22 <rt_pin_write>
|
|
477c: 4581 li a1,0
|
|
477e: 02600513 li a0,38
|
|
4782: e86fe0ef jal ra,2e08 <rt_pin_mode>
|
|
4786: fcdff0ef jal ra,4752 <J1_PWR_Close>
|
|
478a: 4585 li a1,1
|
|
478c: 4541 li a0,16
|
|
478e: e17ff0ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
4792: 4585 li a1,1
|
|
4794: 04000513 li a0,64
|
|
4798: e2bff0ef jal ra,45c2 <RCC_APB1PeriphClockCmd>
|
|
479c: 4785 li a5,1
|
|
479e: 82fc sh a5,20(sp)
|
|
47a0: 448d li s1,3
|
|
47a2: 47e1 li a5,24
|
|
47a4: 084c addi a1,sp,20
|
|
47a6: 40011537 lui a0,0x40011
|
|
47aa: cc26 sw s1,24(sp)
|
|
47ac: ce3e sw a5,28(sp)
|
|
47ae: b33ff0ef jal ra,42e0 <GPIO_Init>
|
|
47b2: 4789 li a5,2
|
|
47b4: 82fc sh a5,20(sp)
|
|
47b6: 084c addi a1,sp,20
|
|
47b8: 4791 li a5,4
|
|
47ba: 40011537 lui a0,0x40011
|
|
47be: ce3e sw a5,28(sp)
|
|
47c0: b21ff0ef jal ra,42e0 <GPIO_Init>
|
|
47c4: d022 sw s0,32(sp)
|
|
47c6: 40002437 lui s0,0x40002
|
|
47ca: 100c addi a1,sp,32
|
|
47cc: 000c07b7 lui a5,0xc0
|
|
47d0: 80040513 addi a0,s0,-2048 # 40001800 <_eusrstack+0x1fff1800>
|
|
47d4: d43e sw a5,40(sp)
|
|
47d6: d202 sw zero,36(sp)
|
|
47d8: 02011623 sh zero,44(sp)
|
|
47dc: e05ff0ef jal ra,45e0 <USART_Init>
|
|
47e0: 35700793 li a5,855
|
|
47e4: 867c sh a5,12(sp)
|
|
47e6: 0068 addi a0,sp,12
|
|
47e8: 4785 li a5,1
|
|
47ea: c83e sw a5,16(sp)
|
|
47ec: 8744 sb s1,14(sp)
|
|
47ee: bf3ff0ef jal ra,43e0 <NVIC_Init>
|
|
47f2: 4605 li a2,1
|
|
47f4: 80040513 addi a0,s0,-2048
|
|
47f8: 52500593 li a1,1317
|
|
47fc: e8bff0ef jal ra,4686 <USART_ITConfig>
|
|
4800: 4585 li a1,1
|
|
4802: 80040513 addi a0,s0,-2048
|
|
4806: e6bff0ef jal ra,4670 <USART_Cmd>
|
|
480a: 6145 addi sp,sp,48
|
|
480c: bbbfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004810 <J2_PWR_Close>:
|
|
4810: b93fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4814: 4581 li a1,0
|
|
4816: 02700513 li a0,39
|
|
481a: e08fe0ef jal ra,2e22 <rt_pin_write>
|
|
481e: ba9fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004822 <J2_485_Init>:
|
|
4822: b81fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4826: 7179 addi sp,sp,-48
|
|
4828: 842a mv s0,a0
|
|
482a: 4581 li a1,0
|
|
482c: 4515 li a0,5
|
|
482e: ddafe0ef jal ra,2e08 <rt_pin_mode>
|
|
4832: 4581 li a1,0
|
|
4834: 4515 li a0,5
|
|
4836: decfe0ef jal ra,2e22 <rt_pin_write>
|
|
483a: 4581 li a1,0
|
|
483c: 02700513 li a0,39
|
|
4840: dc8fe0ef jal ra,2e08 <rt_pin_mode>
|
|
4844: fcdff0ef jal ra,4810 <J2_PWR_Close>
|
|
4848: 4585 li a1,1
|
|
484a: 4541 li a0,16
|
|
484c: d59ff0ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
4850: 4585 li a1,1
|
|
4852: 08000513 li a0,128
|
|
4856: d6dff0ef jal ra,45c2 <RCC_APB1PeriphClockCmd>
|
|
485a: 4791 li a5,4
|
|
485c: 82fc sh a5,20(sp)
|
|
485e: 448d li s1,3
|
|
4860: 47e1 li a5,24
|
|
4862: 084c addi a1,sp,20
|
|
4864: 40011537 lui a0,0x40011
|
|
4868: cc26 sw s1,24(sp)
|
|
486a: ce3e sw a5,28(sp)
|
|
486c: a75ff0ef jal ra,42e0 <GPIO_Init>
|
|
4870: 47a1 li a5,8
|
|
4872: 82fc sh a5,20(sp)
|
|
4874: 084c addi a1,sp,20
|
|
4876: 4791 li a5,4
|
|
4878: 40011537 lui a0,0x40011
|
|
487c: ce3e sw a5,28(sp)
|
|
487e: a63ff0ef jal ra,42e0 <GPIO_Init>
|
|
4882: d022 sw s0,32(sp)
|
|
4884: 40002437 lui s0,0x40002
|
|
4888: 100c addi a1,sp,32
|
|
488a: 000c07b7 lui a5,0xc0
|
|
488e: c0040513 addi a0,s0,-1024 # 40001c00 <_eusrstack+0x1fff1c00>
|
|
4892: d43e sw a5,40(sp)
|
|
4894: d202 sw zero,36(sp)
|
|
4896: 02011623 sh zero,44(sp)
|
|
489a: d47ff0ef jal ra,45e0 <USART_Init>
|
|
489e: 35800793 li a5,856
|
|
48a2: 867c sh a5,12(sp)
|
|
48a4: 0068 addi a0,sp,12
|
|
48a6: 4785 li a5,1
|
|
48a8: c83e sw a5,16(sp)
|
|
48aa: 8744 sb s1,14(sp)
|
|
48ac: b35ff0ef jal ra,43e0 <NVIC_Init>
|
|
48b0: 4605 li a2,1
|
|
48b2: c0040513 addi a0,s0,-1024
|
|
48b6: 52500593 li a1,1317
|
|
48ba: dcdff0ef jal ra,4686 <USART_ITConfig>
|
|
48be: 4585 li a1,1
|
|
48c0: c0040513 addi a0,s0,-1024
|
|
48c4: dadff0ef jal ra,4670 <USART_Cmd>
|
|
48c8: 6145 addi sp,sp,48
|
|
48ca: afdfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
000048ce <J3_PWR_Close>:
|
|
48ce: ad5fb2ef jal t0,3a2 <__riscv_save_0>
|
|
48d2: 4581 li a1,0
|
|
48d4: 02800513 li a0,40
|
|
48d8: d4afe0ef jal ra,2e22 <rt_pin_write>
|
|
48dc: aebfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
000048e0 <J3_485_Init>:
|
|
48e0: ac3fb2ef jal t0,3a2 <__riscv_save_0>
|
|
48e4: 7179 addi sp,sp,-48
|
|
48e6: 892a mv s2,a0
|
|
48e8: 4581 li a1,0
|
|
48ea: 4561 li a0,24
|
|
48ec: d1cfe0ef jal ra,2e08 <rt_pin_mode>
|
|
48f0: 4581 li a1,0
|
|
48f2: 4561 li a0,24
|
|
48f4: d2efe0ef jal ra,2e22 <rt_pin_write>
|
|
48f8: 4581 li a1,0
|
|
48fa: 02800513 li a0,40
|
|
48fe: d0afe0ef jal ra,2e08 <rt_pin_mode>
|
|
4902: fcdff0ef jal ra,48ce <J3_PWR_Close>
|
|
4906: 4585 li a1,1
|
|
4908: 4511 li a0,4
|
|
490a: c9bff0ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
490e: 4585 li a1,1
|
|
4910: 00020537 lui a0,0x20
|
|
4914: cafff0ef jal ra,45c2 <RCC_APB1PeriphClockCmd>
|
|
4918: 40011437 lui s0,0x40011
|
|
491c: 4791 li a5,4
|
|
491e: 82fc sh a5,20(sp)
|
|
4920: 448d li s1,3
|
|
4922: 47e1 li a5,24
|
|
4924: 084c addi a1,sp,20
|
|
4926: 80040513 addi a0,s0,-2048 # 40010800 <_eusrstack+0x20000800>
|
|
492a: cc26 sw s1,24(sp)
|
|
492c: ce3e sw a5,28(sp)
|
|
492e: 9b3ff0ef jal ra,42e0 <GPIO_Init>
|
|
4932: 47a1 li a5,8
|
|
4934: 82fc sh a5,20(sp)
|
|
4936: 084c addi a1,sp,20
|
|
4938: 4791 li a5,4
|
|
493a: 80040513 addi a0,s0,-2048
|
|
493e: ce3e sw a5,28(sp)
|
|
4940: 40004437 lui s0,0x40004
|
|
4944: 99dff0ef jal ra,42e0 <GPIO_Init>
|
|
4948: 100c addi a1,sp,32
|
|
494a: 000c07b7 lui a5,0xc0
|
|
494e: 40040513 addi a0,s0,1024 # 40004400 <_eusrstack+0x1fff4400>
|
|
4952: d04a sw s2,32(sp)
|
|
4954: d43e sw a5,40(sp)
|
|
4956: d202 sw zero,36(sp)
|
|
4958: 02011623 sh zero,44(sp)
|
|
495c: c85ff0ef jal ra,45e0 <USART_Init>
|
|
4960: 33600793 li a5,822
|
|
4964: 867c sh a5,12(sp)
|
|
4966: 0068 addi a0,sp,12
|
|
4968: 4785 li a5,1
|
|
496a: c83e sw a5,16(sp)
|
|
496c: 8744 sb s1,14(sp)
|
|
496e: a73ff0ef jal ra,43e0 <NVIC_Init>
|
|
4972: 4605 li a2,1
|
|
4974: 40040513 addi a0,s0,1024
|
|
4978: 52500593 li a1,1317
|
|
497c: d0bff0ef jal ra,4686 <USART_ITConfig>
|
|
4980: 4585 li a1,1
|
|
4982: 40040513 addi a0,s0,1024
|
|
4986: cebff0ef jal ra,4670 <USART_Cmd>
|
|
498a: 6145 addi sp,sp,48
|
|
498c: a3bfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004990 <J4_PWR_Open>:
|
|
4990: a13fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4994: 4585 li a1,1
|
|
4996: 02900513 li a0,41
|
|
499a: c88fe0ef jal ra,2e22 <rt_pin_write>
|
|
499e: a29fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
000049a2 <J4_485_Init>:
|
|
49a2: a01fb2ef jal t0,3a2 <__riscv_save_0>
|
|
49a6: 7179 addi sp,sp,-48
|
|
49a8: 84aa mv s1,a0
|
|
49aa: 4581 li a1,0
|
|
49ac: 02300513 li a0,35
|
|
49b0: c58fe0ef jal ra,2e08 <rt_pin_mode>
|
|
49b4: 4581 li a1,0
|
|
49b6: 02300513 li a0,35
|
|
49ba: c68fe0ef jal ra,2e22 <rt_pin_write>
|
|
49be: 4581 li a1,0
|
|
49c0: 02900513 li a0,41
|
|
49c4: c44fe0ef jal ra,2e08 <rt_pin_mode>
|
|
49c8: fc9ff0ef jal ra,4990 <J4_PWR_Open>
|
|
49cc: 4585 li a1,1
|
|
49ce: 4541 li a0,16
|
|
49d0: bd5ff0ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
49d4: 4585 li a1,1
|
|
49d6: 10000513 li a0,256
|
|
49da: be9ff0ef jal ra,45c2 <RCC_APB1PeriphClockCmd>
|
|
49de: 47c1 li a5,16
|
|
49e0: 440d li s0,3
|
|
49e2: 82fc sh a5,20(sp)
|
|
49e4: 084c addi a1,sp,20
|
|
49e6: 47e1 li a5,24
|
|
49e8: 40011537 lui a0,0x40011
|
|
49ec: cc22 sw s0,24(sp)
|
|
49ee: ce3e sw a5,28(sp)
|
|
49f0: 8f1ff0ef jal ra,42e0 <GPIO_Init>
|
|
49f4: 02000793 li a5,32
|
|
49f8: 82fc sh a5,20(sp)
|
|
49fa: 084c addi a1,sp,20
|
|
49fc: 4791 li a5,4
|
|
49fe: 40011537 lui a0,0x40011
|
|
4a02: ce3e sw a5,28(sp)
|
|
4a04: 8ddff0ef jal ra,42e0 <GPIO_Init>
|
|
4a08: 100c addi a1,sp,32
|
|
4a0a: 000c07b7 lui a5,0xc0
|
|
4a0e: 40002537 lui a0,0x40002
|
|
4a12: d026 sw s1,32(sp)
|
|
4a14: d43e sw a5,40(sp)
|
|
4a16: d202 sw zero,36(sp)
|
|
4a18: 02011623 sh zero,44(sp)
|
|
4a1c: bc5ff0ef jal ra,45e0 <USART_Init>
|
|
4a20: 35900793 li a5,857
|
|
4a24: 867c sh a5,12(sp)
|
|
4a26: 0068 addi a0,sp,12
|
|
4a28: 4785 li a5,1
|
|
4a2a: c83e sw a5,16(sp)
|
|
4a2c: 8740 sb s0,14(sp)
|
|
4a2e: 9b3ff0ef jal ra,43e0 <NVIC_Init>
|
|
4a32: 4605 li a2,1
|
|
4a34: 52500593 li a1,1317
|
|
4a38: 40002537 lui a0,0x40002
|
|
4a3c: c4bff0ef jal ra,4686 <USART_ITConfig>
|
|
4a40: 4585 li a1,1
|
|
4a42: 40002537 lui a0,0x40002
|
|
4a46: c2bff0ef jal ra,4670 <USART_Cmd>
|
|
4a4a: 6145 addi sp,sp,48
|
|
4a4c: 97bfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004a50 <J5_PWR_Open>:
|
|
4a50: 953fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4a54: 4585 li a1,1
|
|
4a56: 02a00513 li a0,42
|
|
4a5a: bc8fe0ef jal ra,2e22 <rt_pin_write>
|
|
4a5e: 969fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004a62 <J5_PWR_Close>:
|
|
4a62: 941fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4a66: 4581 li a1,0
|
|
4a68: 02a00513 li a0,42
|
|
4a6c: bb6fe0ef jal ra,2e22 <rt_pin_write>
|
|
4a70: 957fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004a74 <J6_PWR_Open>:
|
|
4a74: 92ffb2ef jal t0,3a2 <__riscv_save_0>
|
|
4a78: 4585 li a1,1
|
|
4a7a: 02b00513 li a0,43
|
|
4a7e: ba4fe0ef jal ra,2e22 <rt_pin_write>
|
|
4a82: 945fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004a86 <J6_PWR_Close>:
|
|
4a86: 91dfb2ef jal t0,3a2 <__riscv_save_0>
|
|
4a8a: 4581 li a1,0
|
|
4a8c: 02b00513 li a0,43
|
|
4a90: b92fe0ef jal ra,2e22 <rt_pin_write>
|
|
4a94: 933fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004a98 <J7_PWR_Open>:
|
|
4a98: 90bfb2ef jal t0,3a2 <__riscv_save_0>
|
|
4a9c: 4585 li a1,1
|
|
4a9e: 02c00513 li a0,44
|
|
4aa2: b80fe0ef jal ra,2e22 <rt_pin_write>
|
|
4aa6: 921fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004aaa <J7_PWR_Close>:
|
|
4aaa: 8f9fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4aae: 4581 li a1,0
|
|
4ab0: 02c00513 li a0,44
|
|
4ab4: b6efe0ef jal ra,2e22 <rt_pin_write>
|
|
4ab8: 90ffb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004abc <J8_PWR_Open>:
|
|
4abc: 8e7fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4ac0: 4585 li a1,1
|
|
4ac2: 02d00513 li a0,45
|
|
4ac6: b5cfe0ef jal ra,2e22 <rt_pin_write>
|
|
4aca: 8fdfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004ace <J8_PWR_Close>:
|
|
4ace: 8d5fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4ad2: 4581 li a1,0
|
|
4ad4: 02d00513 li a0,45
|
|
4ad8: b4afe0ef jal ra,2e22 <rt_pin_write>
|
|
4adc: 8ebfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004ae0 <J9_PWR_Open>:
|
|
4ae0: 8c3fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4ae4: 4585 li a1,1
|
|
4ae6: 02e00513 li a0,46
|
|
4aea: b38fe0ef jal ra,2e22 <rt_pin_write>
|
|
4aee: 8d9fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004af2 <USART_CONNET_J9>:
|
|
4af2: 8b1fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4af6: f6dff0ef jal ra,4a62 <J5_PWR_Close>
|
|
4afa: f8dff0ef jal ra,4a86 <J6_PWR_Close>
|
|
4afe: fadff0ef jal ra,4aaa <J7_PWR_Close>
|
|
4b02: fcdff0ef jal ra,4ace <J8_PWR_Close>
|
|
4b06: fdbff0ef jal ra,4ae0 <J9_PWR_Open>
|
|
4b0a: 4585 li a1,1
|
|
4b0c: 03800513 li a0,56
|
|
4b10: b12fe0ef jal ra,2e22 <rt_pin_write>
|
|
4b14: 4581 li a1,0
|
|
4b16: 03900513 li a0,57
|
|
4b1a: b08fe0ef jal ra,2e22 <rt_pin_write>
|
|
4b1e: 4585 li a1,1
|
|
4b20: 03a00513 li a0,58
|
|
4b24: afefe0ef jal ra,2e22 <rt_pin_write>
|
|
4b28: 89ffb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004b2c <J9_PWR_Close>:
|
|
4b2c: 877fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4b30: 4581 li a1,0
|
|
4b32: 02e00513 li a0,46
|
|
4b36: aecfe0ef jal ra,2e22 <rt_pin_write>
|
|
4b3a: 88dfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004b3e <USART_CONNET_J0>:
|
|
4b3e: 865fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4b42: f21ff0ef jal ra,4a62 <J5_PWR_Close>
|
|
4b46: f41ff0ef jal ra,4a86 <J6_PWR_Close>
|
|
4b4a: f61ff0ef jal ra,4aaa <J7_PWR_Close>
|
|
4b4e: f81ff0ef jal ra,4ace <J8_PWR_Close>
|
|
4b52: fdbff0ef jal ra,4b2c <J9_PWR_Close>
|
|
4b56: 4581 li a1,0
|
|
4b58: 03800513 li a0,56
|
|
4b5c: ac6fe0ef jal ra,2e22 <rt_pin_write>
|
|
4b60: 4581 li a1,0
|
|
4b62: 03900513 li a0,57
|
|
4b66: abcfe0ef jal ra,2e22 <rt_pin_write>
|
|
4b6a: 4581 li a1,0
|
|
4b6c: 03a00513 li a0,58
|
|
4b70: ab2fe0ef jal ra,2e22 <rt_pin_write>
|
|
4b74: 853fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004b78 <J5_0_485_Init>:
|
|
4b78: 82bfb2ef jal t0,3a2 <__riscv_save_0>
|
|
4b7c: 7179 addi sp,sp,-48
|
|
4b7e: 84aa mv s1,a0
|
|
4b80: 4581 li a1,0
|
|
4b82: 02a00513 li a0,42
|
|
4b86: a82fe0ef jal ra,2e08 <rt_pin_mode>
|
|
4b8a: 4581 li a1,0
|
|
4b8c: 02b00513 li a0,43
|
|
4b90: a78fe0ef jal ra,2e08 <rt_pin_mode>
|
|
4b94: 4581 li a1,0
|
|
4b96: 02c00513 li a0,44
|
|
4b9a: a6efe0ef jal ra,2e08 <rt_pin_mode>
|
|
4b9e: 4581 li a1,0
|
|
4ba0: 02d00513 li a0,45
|
|
4ba4: a64fe0ef jal ra,2e08 <rt_pin_mode>
|
|
4ba8: 4581 li a1,0
|
|
4baa: 02e00513 li a0,46
|
|
4bae: a5afe0ef jal ra,2e08 <rt_pin_mode>
|
|
4bb2: 4581 li a1,0
|
|
4bb4: 03700513 li a0,55
|
|
4bb8: a50fe0ef jal ra,2e08 <rt_pin_mode>
|
|
4bbc: 4581 li a1,0
|
|
4bbe: 03700513 li a0,55
|
|
4bc2: a60fe0ef jal ra,2e22 <rt_pin_write>
|
|
4bc6: 4581 li a1,0
|
|
4bc8: 03800513 li a0,56
|
|
4bcc: a3cfe0ef jal ra,2e08 <rt_pin_mode>
|
|
4bd0: 4581 li a1,0
|
|
4bd2: 03900513 li a0,57
|
|
4bd6: a32fe0ef jal ra,2e08 <rt_pin_mode>
|
|
4bda: 4581 li a1,0
|
|
4bdc: 03a00513 li a0,58
|
|
4be0: a28fe0ef jal ra,2e08 <rt_pin_mode>
|
|
4be4: f5bff0ef jal ra,4b3e <USART_CONNET_J0>
|
|
4be8: 4585 li a1,1
|
|
4bea: 4521 li a0,8
|
|
4bec: 9b9ff0ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
4bf0: 4585 li a1,1
|
|
4bf2: 00040537 lui a0,0x40
|
|
4bf6: 9cdff0ef jal ra,45c2 <RCC_APB1PeriphClockCmd>
|
|
4bfa: 40000793 li a5,1024
|
|
4bfe: 82fc sh a5,20(sp)
|
|
4c00: 40011437 lui s0,0x40011
|
|
4c04: 478d li a5,3
|
|
4c06: cc3e sw a5,24(sp)
|
|
4c08: 084c addi a1,sp,20
|
|
4c0a: 47e1 li a5,24
|
|
4c0c: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x20000c00>
|
|
4c10: ce3e sw a5,28(sp)
|
|
4c12: eceff0ef jal ra,42e0 <GPIO_Init>
|
|
4c16: 6785 lui a5,0x1
|
|
4c18: 80078793 addi a5,a5,-2048 # 800 <rt_ipc_list_suspend+0x4c>
|
|
4c1c: 82fc sh a5,20(sp)
|
|
4c1e: 084c addi a1,sp,20
|
|
4c20: 4791 li a5,4
|
|
4c22: c0040513 addi a0,s0,-1024
|
|
4c26: ce3e sw a5,28(sp)
|
|
4c28: 40005437 lui s0,0x40005
|
|
4c2c: eb4ff0ef jal ra,42e0 <GPIO_Init>
|
|
4c30: 100c addi a1,sp,32
|
|
4c32: 000c07b7 lui a5,0xc0
|
|
4c36: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1fff4800>
|
|
4c3a: d026 sw s1,32(sp)
|
|
4c3c: d43e sw a5,40(sp)
|
|
4c3e: d202 sw zero,36(sp)
|
|
4c40: 02011623 sh zero,44(sp)
|
|
4c44: 99dff0ef jal ra,45e0 <USART_Init>
|
|
4c48: 13700793 li a5,311
|
|
4c4c: 867c sh a5,12(sp)
|
|
4c4e: 4785 li a5,1
|
|
4c50: 875c sb a5,14(sp)
|
|
4c52: 0068 addi a0,sp,12
|
|
4c54: 4785 li a5,1
|
|
4c56: c83e sw a5,16(sp)
|
|
4c58: f88ff0ef jal ra,43e0 <NVIC_Init>
|
|
4c5c: 4605 li a2,1
|
|
4c5e: 80040513 addi a0,s0,-2048
|
|
4c62: 52500593 li a1,1317
|
|
4c66: a21ff0ef jal ra,4686 <USART_ITConfig>
|
|
4c6a: 4585 li a1,1
|
|
4c6c: 80040513 addi a0,s0,-2048
|
|
4c70: a01ff0ef jal ra,4670 <USART_Cmd>
|
|
4c74: 6145 addi sp,sp,48
|
|
4c76: f50fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004c7a <USART_CONNET_J5>:
|
|
4c7a: f28fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4c7e: dd3ff0ef jal ra,4a50 <J5_PWR_Open>
|
|
4c82: e05ff0ef jal ra,4a86 <J6_PWR_Close>
|
|
4c86: e25ff0ef jal ra,4aaa <J7_PWR_Close>
|
|
4c8a: e45ff0ef jal ra,4ace <J8_PWR_Close>
|
|
4c8e: e9fff0ef jal ra,4b2c <J9_PWR_Close>
|
|
4c92: 4581 li a1,0
|
|
4c94: 03800513 li a0,56
|
|
4c98: 98afe0ef jal ra,2e22 <rt_pin_write>
|
|
4c9c: 4581 li a1,0
|
|
4c9e: 03900513 li a0,57
|
|
4ca2: 980fe0ef jal ra,2e22 <rt_pin_write>
|
|
4ca6: 4581 li a1,0
|
|
4ca8: 03a00513 li a0,58
|
|
4cac: 976fe0ef jal ra,2e22 <rt_pin_write>
|
|
4cb0: f16fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004cb4 <USART_CONNET_J6>:
|
|
4cb4: eeefb2ef jal t0,3a2 <__riscv_save_0>
|
|
4cb8: dabff0ef jal ra,4a62 <J5_PWR_Close>
|
|
4cbc: db9ff0ef jal ra,4a74 <J6_PWR_Open>
|
|
4cc0: debff0ef jal ra,4aaa <J7_PWR_Close>
|
|
4cc4: e0bff0ef jal ra,4ace <J8_PWR_Close>
|
|
4cc8: e65ff0ef jal ra,4b2c <J9_PWR_Close>
|
|
4ccc: 4585 li a1,1
|
|
4cce: 03800513 li a0,56
|
|
4cd2: 950fe0ef jal ra,2e22 <rt_pin_write>
|
|
4cd6: 4581 li a1,0
|
|
4cd8: 03900513 li a0,57
|
|
4cdc: 946fe0ef jal ra,2e22 <rt_pin_write>
|
|
4ce0: 4581 li a1,0
|
|
4ce2: 03a00513 li a0,58
|
|
4ce6: 93cfe0ef jal ra,2e22 <rt_pin_write>
|
|
4cea: edcfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004cee <USART_CONNET_J7>:
|
|
4cee: eb4fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4cf2: d71ff0ef jal ra,4a62 <J5_PWR_Close>
|
|
4cf6: d91ff0ef jal ra,4a86 <J6_PWR_Close>
|
|
4cfa: d9fff0ef jal ra,4a98 <J7_PWR_Open>
|
|
4cfe: dd1ff0ef jal ra,4ace <J8_PWR_Close>
|
|
4d02: e2bff0ef jal ra,4b2c <J9_PWR_Close>
|
|
4d06: 4585 li a1,1
|
|
4d08: 03800513 li a0,56
|
|
4d0c: 916fe0ef jal ra,2e22 <rt_pin_write>
|
|
4d10: 4585 li a1,1
|
|
4d12: 03900513 li a0,57
|
|
4d16: 90cfe0ef jal ra,2e22 <rt_pin_write>
|
|
4d1a: 4581 li a1,0
|
|
4d1c: 03a00513 li a0,58
|
|
4d20: 902fe0ef jal ra,2e22 <rt_pin_write>
|
|
4d24: ea2fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004d28 <USART_CONNET_J8>:
|
|
4d28: e7afb2ef jal t0,3a2 <__riscv_save_0>
|
|
4d2c: d37ff0ef jal ra,4a62 <J5_PWR_Close>
|
|
4d30: d57ff0ef jal ra,4a86 <J6_PWR_Close>
|
|
4d34: d77ff0ef jal ra,4aaa <J7_PWR_Close>
|
|
4d38: d85ff0ef jal ra,4abc <J8_PWR_Open>
|
|
4d3c: df1ff0ef jal ra,4b2c <J9_PWR_Close>
|
|
4d40: 4581 li a1,0
|
|
4d42: 03800513 li a0,56
|
|
4d46: 8dcfe0ef jal ra,2e22 <rt_pin_write>
|
|
4d4a: 4581 li a1,0
|
|
4d4c: 03900513 li a0,57
|
|
4d50: 8d2fe0ef jal ra,2e22 <rt_pin_write>
|
|
4d54: 4585 li a1,1
|
|
4d56: 03a00513 li a0,58
|
|
4d5a: 8c8fe0ef jal ra,2e22 <rt_pin_write>
|
|
4d5e: e68fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004d62 <LORA_UART4_Init>:
|
|
4d62: e40fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4d66: 7179 addi sp,sp,-48
|
|
4d68: 842a mv s0,a0
|
|
4d6a: 4585 li a1,1
|
|
4d6c: 4541 li a0,16
|
|
4d6e: 837ff0ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
4d72: 4585 li a1,1
|
|
4d74: 00080537 lui a0,0x80
|
|
4d78: 84bff0ef jal ra,45c2 <RCC_APB1PeriphClockCmd>
|
|
4d7c: 40000793 li a5,1024
|
|
4d80: 82fc sh a5,20(sp)
|
|
4d82: 448d li s1,3
|
|
4d84: 47e1 li a5,24
|
|
4d86: 084c addi a1,sp,20
|
|
4d88: 40011537 lui a0,0x40011
|
|
4d8c: cc26 sw s1,24(sp)
|
|
4d8e: ce3e sw a5,28(sp)
|
|
4d90: d50ff0ef jal ra,42e0 <GPIO_Init>
|
|
4d94: 6785 lui a5,0x1
|
|
4d96: 80078793 addi a5,a5,-2048 # 800 <rt_ipc_list_suspend+0x4c>
|
|
4d9a: 82fc sh a5,20(sp)
|
|
4d9c: 084c addi a1,sp,20
|
|
4d9e: 4791 li a5,4
|
|
4da0: 40011537 lui a0,0x40011
|
|
4da4: ce3e sw a5,28(sp)
|
|
4da6: d3aff0ef jal ra,42e0 <GPIO_Init>
|
|
4daa: d022 sw s0,32(sp)
|
|
4dac: 40005437 lui s0,0x40005
|
|
4db0: 100c addi a1,sp,32
|
|
4db2: 000c07b7 lui a5,0xc0
|
|
4db6: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1fff4c00>
|
|
4dba: d43e sw a5,40(sp)
|
|
4dbc: d202 sw zero,36(sp)
|
|
4dbe: 02011623 sh zero,44(sp)
|
|
4dc2: 81fff0ef jal ra,45e0 <USART_Init>
|
|
4dc6: 34400793 li a5,836
|
|
4dca: 867c sh a5,12(sp)
|
|
4dcc: 0068 addi a0,sp,12
|
|
4dce: 4785 li a5,1
|
|
4dd0: c83e sw a5,16(sp)
|
|
4dd2: 8744 sb s1,14(sp)
|
|
4dd4: e0cff0ef jal ra,43e0 <NVIC_Init>
|
|
4dd8: 4605 li a2,1
|
|
4dda: c0040513 addi a0,s0,-1024
|
|
4dde: 52500593 li a1,1317
|
|
4de2: 8a5ff0ef jal ra,4686 <USART_ITConfig>
|
|
4de6: 4585 li a1,1
|
|
4de8: c0040513 addi a0,s0,-1024
|
|
4dec: 885ff0ef jal ra,4670 <USART_Cmd>
|
|
4df0: 6145 addi sp,sp,48
|
|
4df2: dd4fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004df6 <Upward_UART5_Init>:
|
|
4df6: dacfb2ef jal t0,3a2 <__riscv_save_0>
|
|
4dfa: 7179 addi sp,sp,-48
|
|
4dfc: 84aa mv s1,a0
|
|
4dfe: 4585 li a1,1
|
|
4e00: 4541 li a0,16
|
|
4e02: fa2ff0ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
4e06: 4585 li a1,1
|
|
4e08: 02000513 li a0,32
|
|
4e0c: f98ff0ef jal ra,45a4 <RCC_APB2PeriphClockCmd>
|
|
4e10: 4585 li a1,1
|
|
4e12: 00100537 lui a0,0x100
|
|
4e16: facff0ef jal ra,45c2 <RCC_APB1PeriphClockCmd>
|
|
4e1a: 6785 lui a5,0x1
|
|
4e1c: 440d li s0,3
|
|
4e1e: 82fc sh a5,20(sp)
|
|
4e20: 084c addi a1,sp,20
|
|
4e22: 47e1 li a5,24
|
|
4e24: 40011537 lui a0,0x40011
|
|
4e28: cc22 sw s0,24(sp)
|
|
4e2a: ce3e sw a5,28(sp)
|
|
4e2c: cb4ff0ef jal ra,42e0 <GPIO_Init>
|
|
4e30: 4791 li a5,4
|
|
4e32: 40011537 lui a0,0x40011
|
|
4e36: 82fc sh a5,20(sp)
|
|
4e38: 084c addi a1,sp,20
|
|
4e3a: 4791 li a5,4
|
|
4e3c: 40050513 addi a0,a0,1024 # 40011400 <_eusrstack+0x20001400>
|
|
4e40: ce3e sw a5,28(sp)
|
|
4e42: c9eff0ef jal ra,42e0 <GPIO_Init>
|
|
4e46: 100c addi a1,sp,32
|
|
4e48: 000c07b7 lui a5,0xc0
|
|
4e4c: 40005537 lui a0,0x40005
|
|
4e50: d026 sw s1,32(sp)
|
|
4e52: d43e sw a5,40(sp)
|
|
4e54: d202 sw zero,36(sp)
|
|
4e56: 02011623 sh zero,44(sp)
|
|
4e5a: f86ff0ef jal ra,45e0 <USART_Init>
|
|
4e5e: 34500793 li a5,837
|
|
4e62: 867c sh a5,12(sp)
|
|
4e64: 0068 addi a0,sp,12
|
|
4e66: 4785 li a5,1
|
|
4e68: c83e sw a5,16(sp)
|
|
4e6a: 8740 sb s0,14(sp)
|
|
4e6c: d74ff0ef jal ra,43e0 <NVIC_Init>
|
|
4e70: 4605 li a2,1
|
|
4e72: 52500593 li a1,1317
|
|
4e76: 40005537 lui a0,0x40005
|
|
4e7a: 80dff0ef jal ra,4686 <USART_ITConfig>
|
|
4e7e: 4585 li a1,1
|
|
4e80: 40005537 lui a0,0x40005
|
|
4e84: fecff0ef jal ra,4670 <USART_Cmd>
|
|
4e88: 6145 addi sp,sp,48
|
|
4e8a: d3cfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004e8e <USART2_IRQHandler>:
|
|
4e8e: 1141 addi sp,sp,-16
|
|
4e90: c622 sw s0,12(sp)
|
|
4e92: 40004437 lui s0,0x40004
|
|
4e96: 52500593 li a1,1317
|
|
4e9a: 40040513 addi a0,s0,1024 # 40004400 <_eusrstack+0x1fff4400>
|
|
4e9e: 831ff0ef jal ra,46ce <USART_GetITStatus>
|
|
4ea2: c515 beqz a0,4ece <USART2_IRQHandler+0x40>
|
|
4ea4: 40040513 addi a0,s0,1024
|
|
4ea8: 815ff0ef jal ra,46bc <USART_ReceiveData>
|
|
4eac: 0ff57593 andi a1,a0,255
|
|
4eb0: 8eb18223 sb a1,-1820(gp) # 2000038c <USART2_Rbuffer>
|
|
4eb4: 8b81a503 lw a0,-1864(gp) # 20000360 <g_J3RS485_USART2_handle>
|
|
4eb8: 4d1c lw a5,24(a0)
|
|
4eba: 4910 lw a2,16(a0)
|
|
4ebc: 4954 lw a3,20(a0)
|
|
4ebe: 0785 addi a5,a5,1
|
|
4ec0: 02c7e7b3 rem a5,a5,a2
|
|
4ec4: 00d78563 beq a5,a3,4ece <USART2_IRQHandler+0x40>
|
|
4ec8: 0531 addi a0,a0,12
|
|
4eca: 8d8fe0ef jal ra,2fa2 <InRingQueue>
|
|
4ece: 4432 lw s0,12(sp)
|
|
4ed0: 0141 addi sp,sp,16
|
|
4ed2: 30200073 mret
|
|
|
|
00004ed6 <USART3_IRQHandler>:
|
|
4ed6: 1141 addi sp,sp,-16
|
|
4ed8: c622 sw s0,12(sp)
|
|
4eda: 40005437 lui s0,0x40005
|
|
4ede: 52500593 li a1,1317
|
|
4ee2: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1fff4800>
|
|
4ee6: fe8ff0ef jal ra,46ce <USART_GetITStatus>
|
|
4eea: c515 beqz a0,4f16 <USART3_IRQHandler+0x40>
|
|
4eec: 80040513 addi a0,s0,-2048
|
|
4ef0: fccff0ef jal ra,46bc <USART_ReceiveData>
|
|
4ef4: 0ff57593 andi a1,a0,255
|
|
4ef8: 8eb18423 sb a1,-1816(gp) # 20000390 <USART3_Rbuffer>
|
|
4efc: 8c01a503 lw a0,-1856(gp) # 20000368 <g_J50RS485_USART3_handle>
|
|
4f00: 4d1c lw a5,24(a0)
|
|
4f02: 4910 lw a2,16(a0)
|
|
4f04: 4954 lw a3,20(a0)
|
|
4f06: 0785 addi a5,a5,1
|
|
4f08: 02c7e7b3 rem a5,a5,a2
|
|
4f0c: 00d78563 beq a5,a3,4f16 <USART3_IRQHandler+0x40>
|
|
4f10: 0531 addi a0,a0,12
|
|
4f12: 890fe0ef jal ra,2fa2 <InRingQueue>
|
|
4f16: 4432 lw s0,12(sp)
|
|
4f18: 0141 addi sp,sp,16
|
|
4f1a: 30200073 mret
|
|
|
|
00004f1e <UART4_IRQHandler>:
|
|
4f1e: 1141 addi sp,sp,-16
|
|
4f20: c622 sw s0,12(sp)
|
|
4f22: 40005437 lui s0,0x40005
|
|
4f26: 52500593 li a1,1317
|
|
4f2a: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1fff4c00>
|
|
4f2e: fa0ff0ef jal ra,46ce <USART_GetITStatus>
|
|
4f32: c515 beqz a0,4f5e <UART4_IRQHandler+0x40>
|
|
4f34: c0040513 addi a0,s0,-1024
|
|
4f38: f84ff0ef jal ra,46bc <USART_ReceiveData>
|
|
4f3c: 0ff57593 andi a1,a0,255
|
|
4f40: 8cb18823 sb a1,-1840(gp) # 20000378 <UART4_Rbuffer>
|
|
4f44: 8c41a503 lw a0,-1852(gp) # 2000036c <g_LORA_UART4_handle>
|
|
4f48: 4d1c lw a5,24(a0)
|
|
4f4a: 4910 lw a2,16(a0)
|
|
4f4c: 4954 lw a3,20(a0)
|
|
4f4e: 0785 addi a5,a5,1
|
|
4f50: 02c7e7b3 rem a5,a5,a2
|
|
4f54: 00d78563 beq a5,a3,4f5e <UART4_IRQHandler+0x40>
|
|
4f58: 0531 addi a0,a0,12
|
|
4f5a: 848fe0ef jal ra,2fa2 <InRingQueue>
|
|
4f5e: 4432 lw s0,12(sp)
|
|
4f60: 0141 addi sp,sp,16
|
|
4f62: 30200073 mret
|
|
|
|
00004f66 <UART5_IRQHandler>:
|
|
4f66: 52500593 li a1,1317
|
|
4f6a: 40005537 lui a0,0x40005
|
|
4f6e: f60ff0ef jal ra,46ce <USART_GetITStatus>
|
|
4f72: c515 beqz a0,4f9e <UART5_IRQHandler+0x38>
|
|
4f74: 40005537 lui a0,0x40005
|
|
4f78: f44ff0ef jal ra,46bc <USART_ReceiveData>
|
|
4f7c: 0ff57593 andi a1,a0,255
|
|
4f80: 8cb18a23 sb a1,-1836(gp) # 2000037c <UART5_Rbuffer>
|
|
4f84: 8c81a503 lw a0,-1848(gp) # 20000370 <g_Upward_UART5_handle>
|
|
4f88: 4d1c lw a5,24(a0)
|
|
4f8a: 4910 lw a2,16(a0)
|
|
4f8c: 4954 lw a3,20(a0)
|
|
4f8e: 0785 addi a5,a5,1
|
|
4f90: 02c7e7b3 rem a5,a5,a2
|
|
4f94: 00d78563 beq a5,a3,4f9e <UART5_IRQHandler+0x38>
|
|
4f98: 0531 addi a0,a0,12
|
|
4f9a: 808fe0ef jal ra,2fa2 <InRingQueue>
|
|
4f9e: 30200073 mret
|
|
|
|
00004fa2 <UART6_IRQHandler>:
|
|
4fa2: 1141 addi sp,sp,-16
|
|
4fa4: c622 sw s0,12(sp)
|
|
4fa6: 40002437 lui s0,0x40002
|
|
4faa: 52500593 li a1,1317
|
|
4fae: 80040513 addi a0,s0,-2048 # 40001800 <_eusrstack+0x1fff1800>
|
|
4fb2: f1cff0ef jal ra,46ce <USART_GetITStatus>
|
|
4fb6: c515 beqz a0,4fe2 <UART6_IRQHandler+0x40>
|
|
4fb8: 80040513 addi a0,s0,-2048
|
|
4fbc: f00ff0ef jal ra,46bc <USART_ReceiveData>
|
|
4fc0: 0ff57593 andi a1,a0,255
|
|
4fc4: 8cb18c23 sb a1,-1832(gp) # 20000380 <UART6_Rbuffer>
|
|
4fc8: 8b01a503 lw a0,-1872(gp) # 20000358 <g_J1RS485_UART6_handle>
|
|
4fcc: 4d1c lw a5,24(a0)
|
|
4fce: 4910 lw a2,16(a0)
|
|
4fd0: 4954 lw a3,20(a0)
|
|
4fd2: 0785 addi a5,a5,1
|
|
4fd4: 02c7e7b3 rem a5,a5,a2
|
|
4fd8: 00d78563 beq a5,a3,4fe2 <UART6_IRQHandler+0x40>
|
|
4fdc: 0531 addi a0,a0,12
|
|
4fde: fc5fd0ef jal ra,2fa2 <InRingQueue>
|
|
4fe2: 4432 lw s0,12(sp)
|
|
4fe4: 0141 addi sp,sp,16
|
|
4fe6: 30200073 mret
|
|
|
|
00004fea <UART7_IRQHandler>:
|
|
4fea: 1141 addi sp,sp,-16
|
|
4fec: c622 sw s0,12(sp)
|
|
4fee: 40002437 lui s0,0x40002
|
|
4ff2: 52500593 li a1,1317
|
|
4ff6: c0040513 addi a0,s0,-1024 # 40001c00 <_eusrstack+0x1fff1c00>
|
|
4ffa: ed4ff0ef jal ra,46ce <USART_GetITStatus>
|
|
4ffe: c515 beqz a0,502a <UART7_IRQHandler+0x40>
|
|
5000: c0040513 addi a0,s0,-1024
|
|
5004: eb8ff0ef jal ra,46bc <USART_ReceiveData>
|
|
5008: 0ff57593 andi a1,a0,255
|
|
500c: 8cb18e23 sb a1,-1828(gp) # 20000384 <UART7_Rbuffer>
|
|
5010: 8b41a503 lw a0,-1868(gp) # 2000035c <g_J2RS485_UART7_handle>
|
|
5014: 4d1c lw a5,24(a0)
|
|
5016: 4910 lw a2,16(a0)
|
|
5018: 4954 lw a3,20(a0)
|
|
501a: 0785 addi a5,a5,1
|
|
501c: 02c7e7b3 rem a5,a5,a2
|
|
5020: 00d78563 beq a5,a3,502a <UART7_IRQHandler+0x40>
|
|
5024: 0531 addi a0,a0,12
|
|
5026: f7dfd0ef jal ra,2fa2 <InRingQueue>
|
|
502a: 4432 lw s0,12(sp)
|
|
502c: 0141 addi sp,sp,16
|
|
502e: 30200073 mret
|
|
|
|
00005032 <UART8_IRQHandler>:
|
|
5032: 52500593 li a1,1317
|
|
5036: 40002537 lui a0,0x40002
|
|
503a: e94ff0ef jal ra,46ce <USART_GetITStatus>
|
|
503e: c515 beqz a0,506a <UART8_IRQHandler+0x38>
|
|
5040: 40002537 lui a0,0x40002
|
|
5044: e78ff0ef jal ra,46bc <USART_ReceiveData>
|
|
5048: 0ff57593 andi a1,a0,255
|
|
504c: 8eb18023 sb a1,-1824(gp) # 20000388 <UART8_Rbuffer>
|
|
5050: 8bc1a503 lw a0,-1860(gp) # 20000364 <g_J4RS485_UART8_handle>
|
|
5054: 4d1c lw a5,24(a0)
|
|
5056: 4910 lw a2,16(a0)
|
|
5058: 4954 lw a3,20(a0)
|
|
505a: 0785 addi a5,a5,1
|
|
505c: 02c7e7b3 rem a5,a5,a2
|
|
5060: 00d78563 beq a5,a3,506a <UART8_IRQHandler+0x38>
|
|
5064: 0531 addi a0,a0,12
|
|
5066: f3dfd0ef jal ra,2fa2 <InRingQueue>
|
|
506a: 30200073 mret
|
|
|
|
0000506e <memcmp>:
|
|
506e: 4701 li a4,0
|
|
5070: 00e61463 bne a2,a4,5078 <memcmp+0xa>
|
|
5074: 4501 li a0,0
|
|
5076: 8082 ret
|
|
5078: 00e507b3 add a5,a0,a4
|
|
507c: 0705 addi a4,a4,1
|
|
507e: 00e586b3 add a3,a1,a4
|
|
5082: 239c lbu a5,0(a5)
|
|
5084: fff6c683 lbu a3,-1(a3)
|
|
5088: fed784e3 beq a5,a3,5070 <memcmp+0x2>
|
|
508c: 40d78533 sub a0,a5,a3
|
|
5090: 8082 ret
|
|
|
|
00005092 <memcpy>:
|
|
5092: 00a5c7b3 xor a5,a1,a0
|
|
5096: 8b8d andi a5,a5,3
|
|
5098: 00c50733 add a4,a0,a2
|
|
509c: e781 bnez a5,50a4 <memcpy+0x12>
|
|
509e: 478d li a5,3
|
|
50a0: 00c7ed63 bltu a5,a2,50ba <memcpy+0x28>
|
|
50a4: 87aa mv a5,a0
|
|
50a6: 08e57e63 bgeu a0,a4,5142 <memcpy+0xb0>
|
|
50aa: 2194 lbu a3,0(a1)
|
|
50ac: 0785 addi a5,a5,1
|
|
50ae: 0585 addi a1,a1,1
|
|
50b0: fed78fa3 sb a3,-1(a5) # bffff <__stack_size+0xb7fff>
|
|
50b4: fee7ebe3 bltu a5,a4,50aa <memcpy+0x18>
|
|
50b8: 8082 ret
|
|
50ba: 00357693 andi a3,a0,3
|
|
50be: 87aa mv a5,a0
|
|
50c0: ca89 beqz a3,50d2 <memcpy+0x40>
|
|
50c2: 2194 lbu a3,0(a1)
|
|
50c4: 0785 addi a5,a5,1
|
|
50c6: 0585 addi a1,a1,1
|
|
50c8: fed78fa3 sb a3,-1(a5)
|
|
50cc: 0037f693 andi a3,a5,3
|
|
50d0: bfc5 j 50c0 <memcpy+0x2e>
|
|
50d2: ffc77693 andi a3,a4,-4
|
|
50d6: fe068613 addi a2,a3,-32
|
|
50da: 06c7f063 bgeu a5,a2,513a <memcpy+0xa8>
|
|
50de: 0005a383 lw t2,0(a1) # 40021000 <_eusrstack+0x20011000>
|
|
50e2: 0045a283 lw t0,4(a1)
|
|
50e6: 0085af83 lw t6,8(a1)
|
|
50ea: 00c5af03 lw t5,12(a1)
|
|
50ee: 0105ae83 lw t4,16(a1)
|
|
50f2: 0145ae03 lw t3,20(a1)
|
|
50f6: 0185a303 lw t1,24(a1)
|
|
50fa: 01c5a883 lw a7,28(a1)
|
|
50fe: 02458593 addi a1,a1,36
|
|
5102: 0077a023 sw t2,0(a5)
|
|
5106: ffc5a803 lw a6,-4(a1)
|
|
510a: 0057a223 sw t0,4(a5)
|
|
510e: 01f7a423 sw t6,8(a5)
|
|
5112: 01e7a623 sw t5,12(a5)
|
|
5116: 01d7a823 sw t4,16(a5)
|
|
511a: 01c7aa23 sw t3,20(a5)
|
|
511e: 0067ac23 sw t1,24(a5)
|
|
5122: 0117ae23 sw a7,28(a5)
|
|
5126: 02478793 addi a5,a5,36
|
|
512a: ff07ae23 sw a6,-4(a5)
|
|
512e: b775 j 50da <memcpy+0x48>
|
|
5130: 4190 lw a2,0(a1)
|
|
5132: 0791 addi a5,a5,4
|
|
5134: 0591 addi a1,a1,4
|
|
5136: fec7ae23 sw a2,-4(a5)
|
|
513a: fed7ebe3 bltu a5,a3,5130 <memcpy+0x9e>
|
|
513e: f6e7e6e3 bltu a5,a4,50aa <memcpy+0x18>
|
|
5142: 8082 ret
|
|
|
|
00005144 <strcat>:
|
|
5144: 87aa mv a5,a0
|
|
5146: 2398 lbu a4,0(a5)
|
|
5148: 00178693 addi a3,a5,1
|
|
514c: eb09 bnez a4,515e <strcat+0x1a>
|
|
514e: 0585 addi a1,a1,1
|
|
5150: fff5c703 lbu a4,-1(a1)
|
|
5154: 0785 addi a5,a5,1
|
|
5156: fee78fa3 sb a4,-1(a5)
|
|
515a: fb75 bnez a4,514e <strcat+0xa>
|
|
515c: 8082 ret
|
|
515e: 87b6 mv a5,a3
|
|
5160: b7dd j 5146 <strcat+0x2>
|
|
|
|
00005162 <strcpy>:
|
|
5162: 87aa mv a5,a0
|
|
5164: 2198 lbu a4,0(a1)
|
|
5166: 0785 addi a5,a5,1
|
|
5168: 0585 addi a1,a1,1
|
|
516a: fee78fa3 sb a4,-1(a5)
|
|
516e: fb7d bnez a4,5164 <strcpy+0x2>
|
|
5170: 8082 ret
|
|
|
|
00005172 <strlen>:
|
|
5172: 87aa mv a5,a0
|
|
5174: 0785 addi a5,a5,1
|
|
5176: fff7c703 lbu a4,-1(a5)
|
|
517a: ff6d bnez a4,5174 <strlen+0x2>
|
|
517c: 40a78533 sub a0,a5,a0
|
|
5180: 157d addi a0,a0,-1
|
|
5182: 8082 ret
|
|
|
|
00005184 <strncmp>:
|
|
5184: c215 beqz a2,51a8 <strncmp+0x24>
|
|
5186: 167d addi a2,a2,-1
|
|
5188: 4701 li a4,0
|
|
518a: 00e507b3 add a5,a0,a4
|
|
518e: 00e586b3 add a3,a1,a4
|
|
5192: 239c lbu a5,0(a5)
|
|
5194: 2294 lbu a3,0(a3)
|
|
5196: 00d79663 bne a5,a3,51a2 <strncmp+0x1e>
|
|
519a: 00c70463 beq a4,a2,51a2 <strncmp+0x1e>
|
|
519e: 0705 addi a4,a4,1
|
|
51a0: f7ed bnez a5,518a <strncmp+0x6>
|
|
51a2: 40d78533 sub a0,a5,a3
|
|
51a6: 8082 ret
|
|
51a8: 4501 li a0,0
|
|
51aa: 8082 ret
|
|
51ac: 5c74 lw a3,124(s0)
|
|
51ae: 0000 unimp
|
|
51b0: 5c88 lw a0,56(s1)
|
|
51b2: 0000 unimp
|
|
51b4: 5c98 lw a4,56(s1)
|
|
51b6: 0000 unimp
|
|
51b8: 5cac lw a1,120(s1)
|
|
51ba: 0000 unimp
|
|
51bc: 5cb8 lw a4,120(s1)
|
|
51be: 0000 unimp
|
|
51c0: 5cc4 lw s1,60(s1)
|
|
51c2: 0000 unimp
|
|
51c4: 5cc8 lw a0,60(s1)
|
|
51c6: 0000 unimp
|
|
51c8: 5cd8 lw a4,60(s1)
|
|
51ca: 0000 unimp
|
|
51cc: 5ce8 lw a0,124(s1)
|
|
51ce: 0000 unimp
|
|
51d0: 5cf0 lw a2,124(s1)
|
|
51d2: 0000 unimp
|
|
51d4: 5d04 lw s1,56(a0)
|
|
51d6: 0000 unimp
|
|
51d8: 5d14 lw a3,56(a0)
|
|
51da: 0000 unimp
|
|
51dc: 5d1c lw a5,56(a0)
|
|
51de: 0000 unimp
|
|
51e0: 5d28 lw a0,120(a0)
|
|
51e2: 0000 unimp
|
|
51e4: 5d34 lw a3,120(a0)
|
|
51e6: 0000 unimp
|
|
51e8: 5d48 lw a0,60(a0)
|
|
51ea: 0000 unimp
|
|
51ec: 5d50 lw a2,60(a0)
|
|
51ee: 0000 unimp
|
|
51f0: 5d60 lw s0,124(a0)
|
|
51f2: 0000 unimp
|
|
51f4: 5d70 lw a2,124(a0)
|
|
51f6: 0000 unimp
|
|
51f8: 5d88 lw a0,56(a1)
|
|
51fa: 0000 unimp
|
|
51fc: 616d addi sp,sp,240
|
|
51fe: 6e69 lui t3,0x1a
|
|
5200: 0000 unimp
|
|
5202: 0000 unimp
|
|
5204: 6f54 flw fa3,28(a4)
|
|
5206: 6920 flw fs0,80(a0)
|
|
5208: 696e flw fs2,216(sp)
|
|
520a: 6974 flw fa3,84(a0)
|
|
520c: 6c61 lui s8,0x18
|
|
520e: 7a69 lui s4,0xffffa
|
|
5210: 2065 jal 52b8 <__lowest_bit_bitmap+0x74>
|
|
5212: 6564 flw fs1,76(a0)
|
|
5214: 6976 flw fs2,92(sp)
|
|
5216: 253a6563 bltu s4,s3,5460 <__fsym_list_mem_desc+0x1c>
|
|
521a: 61662073 csrs 0x616,a2
|
|
521e: 6c69 lui s8,0x1a
|
|
5220: 6465 lui s0,0x19
|
|
5222: 202e lhu a1,2(s0)
|
|
5224: 6854 flw fa3,20(s0)
|
|
5226: 2065 jal 52ce <__lowest_bit_bitmap+0x8a>
|
|
5228: 7265 lui tp,0xffff9
|
|
522a: 6f72 flw ft10,28(sp)
|
|
522c: 2072 lhu a2,6(s0)
|
|
522e: 65646f63 bltu s0,s6,588c <__fsym_list_mem_name+0x428>
|
|
5232: 6920 flw fs0,80(a0)
|
|
5234: 64252073 csrs 0x642,a0
|
|
5238: 000a c.slli zero,0x2
|
|
523a: 0000 unimp
|
|
523c: 6974 flw fa3,84(a0)
|
|
523e: 6c64 flw fs1,92(s0)
|
|
5240: 0065 c.nop 25
|
|
...
|
|
|
|
00005244 <__lowest_bit_bitmap>:
|
|
5244: 0000 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5254: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5264: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5274: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5284: 0006 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5294: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
52a4: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
52b4: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
52c4: 0007 0001 0002 0001 0003 0001 0002 0001 ................
|
|
52d4: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
52e4: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
52f4: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5304: 0006 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5314: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5324: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5334: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
|
|
00005344 <large_digits.2583>:
|
|
5344: 3130 3332 3534 3736 3938 4241 4443 4645 0123456789ABCDEF
|
|
5354: 0000 0000 200a 205c 207c 0a2f 0000 0000 ..... \ | /.....
|
|
5364: 202d 5452 2d20 2020 2020 5420 7268 6165 - RT - Threa
|
|
5374: 2064 704f 7265 7461 6e69 2067 7953 7473 d Operating Syst
|
|
5384: 6d65 000a 7541 2067 3931 3220 3230 0034 em..Aug 19 2024.
|
|
5394: 2f20 7c20 5c20 2020 2020 2520 2e64 6425 / | \ %d.%d
|
|
53a4: 252e 2064 7562 6c69 2064 7325 000a 0000 .%d build %s....
|
|
53b4: 3220 3030 2036 202d 3032 3931 4320 706f 2006 - 2019 Cop
|
|
53c4: 7279 6769 7468 6220 2079 7472 742d 7268 yright by rt-thr
|
|
53d4: 6165 2064 6574 6d61 000a 0000 4e28 4c55 ead team....(NUL
|
|
53e4: 294c 0000 L)..
|
|
|
|
000053e8 <small_digits.2582>:
|
|
53e8: 3130 3332 3534 3736 3938 6261 6463 6665 0123456789abcdef
|
|
53f8: 0000 0000 6f74 6174 206c 656d 6f6d 7972 ....total memory
|
|
5408: 203a 6425 000a 0000 7375 6465 6d20 6d65 : %d....used mem
|
|
5418: 726f 2079 203a 6425 000a 0000 616d 6978 ory : %d....maxi
|
|
5428: 756d 206d 6c61 6f6c 6163 6574 2064 656d mum allocated me
|
|
5438: 6f6d 7972 203a 6425 000a 0000 mory: %d....
|
|
|
|
00005444 <__fsym_list_mem_desc>:
|
|
5444: 696c 7473 6d20 6d65 726f 2079 7375 6761 list memory usag
|
|
5454: 2065 6e69 6f66 6d72 7461 6f69 006e 0000 e information...
|
|
|
|
00005464 <__fsym_list_mem_name>:
|
|
5464: 696c 7473 6d5f 6d65 0000 0000 6f74 6620 list_mem....to f
|
|
5474: 6572 2065 2061 6162 2064 6164 6174 6220 ree a bad data b
|
|
5484: 6f6c 6b63 0a3a 0000 656d 3a6d 3020 2578 lock:...mem: 0x%
|
|
5494: 3830 2c78 7520 6573 2064 6c66 6761 203a 08x, used flag:
|
|
54a4: 6425 202c 616d 6967 2063 6f63 6564 203a %d, magic code:
|
|
54b4: 7830 3025 7834 000a 6568 7061 0000 0000 0x%04x..heap....
|
|
54c4: 656d 206d 6e69 7469 202c 7265 6f72 2072 mem init, error
|
|
54d4: 6562 6967 206e 6461 7264 7365 2073 7830 begin address 0x
|
|
54e4: 7825 202c 6e61 2064 6e65 2064 6461 7264 %x, and end addr
|
|
54f4: 7365 2073 7830 7825 000a 0000 5b1b 4a32 ess 0x%x.....[2J
|
|
5504: 5b1b 0048 2d2d 7546 636e 6974 6e6f 4c20 .[H.--Function L
|
|
5514: 7369 3a74 000a 0000 5f5f 0000 2d25 3631 ist:....__..%-16
|
|
5524: 2073 2d2d 2520 0a73 0000 0000 6564 6976 s -- %s.....devi
|
|
5534: 6563 0000 2d25 2e2a 2073 2020 2020 2020 ce..%-*.s
|
|
5544: 2020 7974 6570 2020 2020 2020 2020 7220 type r
|
|
5554: 6665 6320 756f 746e 000a 0000 2d20 2d2d ef count.... ---
|
|
5564: 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d ----------------
|
|
5574: 202d 2d2d 2d2d 2d2d 2d2d 2d2d 000a 0000 - ----------....
|
|
5584: 2d25 2e2a 732a 2520 322d 7330 2520 382d %-*.*s %-20s %-8
|
|
5594: 0a64 0000 7665 6e65 0074 0000 2d25 2e2a d...event...%-*.
|
|
55a4: 2073 2020 2020 7320 7465 2020 2020 7573 s set su
|
|
55b4: 7073 6e65 2064 6874 6572 6461 000a 0000 spend thread....
|
|
55c4: 2020 2d2d 2d2d 2d2d 2d2d 2d2d 2d20 2d2d ---------- ---
|
|
55d4: 2d2d 2d2d 2d2d 2d2d 2d2d 0a2d 0000 0000 -----------.....
|
|
55e4: 2d25 2e2a 732a 2020 7830 3025 7838 2520 %-*.*s 0x%08x %
|
|
55f4: 3330 3a64 0000 0000 2d25 2e2a 732a 2020 03d:....%-*.*s
|
|
5604: 7830 3025 7838 3020 000a 0000 616d 6c69 0x%08x 0....mail
|
|
5614: 6f62 0078 2d25 2e2a 2073 6e65 7274 2079 box.%-*.s entry
|
|
5624: 6973 657a 7320 7375 6570 646e 7420 7268 size suspend thr
|
|
5634: 6165 0a64 0000 0000 2d20 2d2d 202d 2d20 ead..... ---- -
|
|
5644: 2d2d 202d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d --- ------------
|
|
5654: 2d2d 000a 2d25 2e2a 732a 2520 3430 2064 --..%-*.*s %04d
|
|
5664: 2520 3430 2064 6425 003a 0000 2d25 2e2a %04d %d:...%-*.
|
|
5674: 732a 2520 3430 2064 2520 3430 2064 6425 *s %04d %04d %d
|
|
5684: 000a 0000 736d 7167 6575 6575 0000 0000 ....msgqueue....
|
|
5694: 2d25 2e2a 2073 6e65 7274 2079 7573 7073 %-*.s entry susp
|
|
56a4: 6e65 2064 6874 6572 6461 000a 2d20 2d2d end thread.. ---
|
|
56b4: 202d 2d20 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d - -------------
|
|
56c4: 0a2d 0000 2d25 2e2a 732a 2520 3430 2064 -...%-*.*s %04d
|
|
56d4: 2520 3a64 0000 0000 2d25 2e2a 732a 2520 %d:....%-*.*s %
|
|
56e4: 3430 2064 2520 0a64 0000 0000 756d 6574 04d %d.....mute
|
|
56f4: 0078 0000 2d25 2e2a 2073 2020 776f 656e x...%-*.s owne
|
|
5704: 2072 6820 6c6f 2064 7573 7073 6e65 2064 r hold suspend
|
|
5714: 6874 6572 6461 000a 2d20 2d2d 2d2d 2d2d thread.. -------
|
|
5724: 202d 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d - ---- ---------
|
|
5734: 2d2d 2d2d 0a2d 0000 2d25 2e2a 732a 2520 -----...%-*.*s %
|
|
5744: 382d 2a2e 2073 3025 6434 2520 0a64 0000 -8.*s %04d %d...
|
|
5754: 6573 616d 6870 726f 0065 0000 2d25 2e2a semaphore...%-*.
|
|
5764: 2073 2076 2020 7573 7073 6e65 2064 6874 s v suspend th
|
|
5774: 6572 6461 000a 0000 2d20 2d2d 2d20 2d2d read.... --- ---
|
|
5784: 2d2d 2d2d 2d2d 2d2d 2d2d 0a2d 0000 0000 -----------.....
|
|
5794: 2d25 2e2a 732a 2520 3330 2064 6425 003a %-*.*s %03d %d:.
|
|
57a4: 2d25 2e2a 732a 2520 3330 2064 6425 000a %-*.*s %03d %d..
|
|
57b4: 6874 6572 6461 0000 2d25 2e2a 2073 7270 thread..%-*.s pr
|
|
57c4: 2069 7320 6174 7574 2073 2020 2020 7320 i status s
|
|
57d4: 2070 2020 2020 7473 6361 206b 6973 657a p stack size
|
|
57e4: 6d20 7861 7520 6573 2064 656c 7466 7420 max used left t
|
|
57f4: 6369 206b 6520 7272 726f 000a 2d20 2d2d ick error.. ---
|
|
5804: 2020 2d2d 2d2d 2d2d 202d 2d2d 2d2d 2d2d ------- ------
|
|
5814: 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d 202d ---- ----------
|
|
5824: 2d20 2d2d 2d2d 202d 2d20 2d2d 2d2d 2d2d ------ -------
|
|
5834: 2d2d 202d 2d2d 0a2d 0000 0000 2d25 2e2a --- ---.....%-*.
|
|
5844: 732a 2520 6433 0020 7220 6165 7964 2020 *s %3d . ready
|
|
5854: 0000 0000 7320 7375 6570 646e 0000 0000 .... suspend....
|
|
5864: 6920 696e 2074 2020 0000 0000 6320 6f6c init .... clo
|
|
5874: 6573 2020 0000 0000 3020 2578 3830 2078 se .... 0x%08x
|
|
5884: 7830 3025 7838 2020 2020 3025 6432 2525 0x%08x %02d%%
|
|
5894: 2020 3020 2578 3830 2078 3025 6433 000a 0x%08x %03d..
|
|
58a4: 6974 656d 0072 0000 2d25 2e2a 2073 7020 timer...%-*.s p
|
|
58b4: 7265 6f69 6964 2063 2020 6974 656d 756f eriodic timeou
|
|
58c4: 2074 2020 2020 2020 6c66 6761 000a 0000 t flag....
|
|
58d4: 2d20 2d2d 2d2d 2d2d 2d2d 202d 2d2d 2d2d ---------- ----
|
|
58e4: 2d2d 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d ------ ---------
|
|
58f4: 2d2d 000a 2d25 2e2a 732a 3020 2578 3830 --..%-*.*s 0x%08
|
|
5904: 2078 7830 3025 7838 0020 0000 6361 6974 x 0x%08x ...acti
|
|
5914: 6176 6574 0a64 0000 6564 6361 6974 6176 vated...deactiva
|
|
5924: 6574 0a64 0000 0000 7563 7272 6e65 2074 ted.....current
|
|
5934: 6974 6b63 303a 2578 3830 0a78 0000 0000 tick:0x%08x.....
|
|
|
|
00005944 <__fsym_list_desc>:
|
|
5944: 696c 7473 6120 6c6c 7320 6d79 6f62 206c list all symbol
|
|
5954: 6e69 7320 7379 6574 006d 0000 in system...
|
|
|
|
00005960 <__fsym_list_name>:
|
|
5960: 696c 7473 0000 0000 list....
|
|
|
|
00005968 <__fsym___cmd_list_device_desc>:
|
|
5968: 696c 7473 6420 7665 6369 2065 6e69 7320 list device in s
|
|
5978: 7379 6574 006d 0000 ystem...
|
|
|
|
00005980 <__fsym___cmd_list_device_name>:
|
|
5980: 5f5f 6d63 5f64 696c 7473 645f 7665 6369 __cmd_list_devic
|
|
5990: 0065 0000 e...
|
|
|
|
00005994 <__fsym_list_device_desc>:
|
|
5994: 696c 7473 6420 7665 6369 2065 6e69 7320 list device in s
|
|
59a4: 7379 6574 006d 0000 ystem...
|
|
|
|
000059ac <__fsym_list_device_name>:
|
|
59ac: 696c 7473 645f 7665 6369 0065 list_device.
|
|
|
|
000059b8 <__fsym___cmd_list_timer_desc>:
|
|
59b8: 696c 7473 7420 6d69 7265 6920 206e 7973 list timer in sy
|
|
59c8: 7473 6d65 0000 0000 stem....
|
|
|
|
000059d0 <__fsym___cmd_list_timer_name>:
|
|
59d0: 5f5f 6d63 5f64 696c 7473 745f 6d69 7265 __cmd_list_timer
|
|
59e0: 0000 0000 ....
|
|
|
|
000059e4 <__fsym_list_timer_desc>:
|
|
59e4: 696c 7473 7420 6d69 7265 6920 206e 7973 list timer in sy
|
|
59f4: 7473 6d65 0000 0000 stem....
|
|
|
|
000059fc <__fsym_list_timer_name>:
|
|
59fc: 696c 7473 745f 6d69 7265 0000 list_timer..
|
|
|
|
00005a08 <__fsym___cmd_list_msgqueue_desc>:
|
|
5a08: 696c 7473 6d20 7365 6173 6567 7120 6575 list message que
|
|
5a18: 6575 6920 206e 7973 7473 6d65 0000 0000 ue in system....
|
|
|
|
00005a28 <__fsym___cmd_list_msgqueue_name>:
|
|
5a28: 5f5f 6d63 5f64 696c 7473 6d5f 6773 7571 __cmd_list_msgqu
|
|
5a38: 7565 0065 eue.
|
|
|
|
00005a3c <__fsym_list_msgqueue_desc>:
|
|
5a3c: 696c 7473 6d20 7365 6173 6567 7120 6575 list message que
|
|
5a4c: 6575 6920 206e 7973 7473 6d65 0000 0000 ue in system....
|
|
|
|
00005a5c <__fsym_list_msgqueue_name>:
|
|
5a5c: 696c 7473 6d5f 6773 7571 7565 0065 0000 list_msgqueue...
|
|
|
|
00005a6c <__fsym___cmd_list_mailbox_desc>:
|
|
5a6c: 696c 7473 6d20 6961 206c 6f62 2078 6e69 list mail box in
|
|
5a7c: 7320 7379 6574 006d system.
|
|
|
|
00005a84 <__fsym___cmd_list_mailbox_name>:
|
|
5a84: 5f5f 6d63 5f64 696c 7473 6d5f 6961 626c __cmd_list_mailb
|
|
5a94: 786f 0000 ox..
|
|
|
|
00005a98 <__fsym_list_mailbox_desc>:
|
|
5a98: 696c 7473 6d20 6961 206c 6f62 2078 6e69 list mail box in
|
|
5aa8: 7320 7379 6574 006d system.
|
|
|
|
00005ab0 <__fsym_list_mailbox_name>:
|
|
5ab0: 696c 7473 6d5f 6961 626c 786f 0000 0000 list_mailbox....
|
|
|
|
00005ac0 <__fsym___cmd_list_mutex_desc>:
|
|
5ac0: 696c 7473 6d20 7475 7865 6920 206e 7973 list mutex in sy
|
|
5ad0: 7473 6d65 0000 0000 stem....
|
|
|
|
00005ad8 <__fsym___cmd_list_mutex_name>:
|
|
5ad8: 5f5f 6d63 5f64 696c 7473 6d5f 7475 7865 __cmd_list_mutex
|
|
5ae8: 0000 0000 ....
|
|
|
|
00005aec <__fsym_list_mutex_desc>:
|
|
5aec: 696c 7473 6d20 7475 7865 6920 206e 7973 list mutex in sy
|
|
5afc: 7473 6d65 0000 0000 stem....
|
|
|
|
00005b04 <__fsym_list_mutex_name>:
|
|
5b04: 696c 7473 6d5f 7475 7865 0000 list_mutex..
|
|
|
|
00005b10 <__fsym___cmd_list_event_desc>:
|
|
5b10: 696c 7473 6520 6576 746e 6920 206e 7973 list event in sy
|
|
5b20: 7473 6d65 0000 0000 stem....
|
|
|
|
00005b28 <__fsym___cmd_list_event_name>:
|
|
5b28: 5f5f 6d63 5f64 696c 7473 655f 6576 746e __cmd_list_event
|
|
5b38: 0000 0000 ....
|
|
|
|
00005b3c <__fsym_list_event_desc>:
|
|
5b3c: 696c 7473 6520 6576 746e 6920 206e 7973 list event in sy
|
|
5b4c: 7473 6d65 0000 0000 stem....
|
|
|
|
00005b54 <__fsym_list_event_name>:
|
|
5b54: 696c 7473 655f 6576 746e 0000 list_event..
|
|
|
|
00005b60 <__fsym___cmd_list_sem_desc>:
|
|
5b60: 696c 7473 7320 6d65 7061 6f68 6572 6920 list semaphore i
|
|
5b70: 206e 7973 7473 6d65 0000 0000 n system....
|
|
|
|
00005b7c <__fsym___cmd_list_sem_name>:
|
|
5b7c: 5f5f 6d63 5f64 696c 7473 735f 6d65 0000 __cmd_list_sem..
|
|
|
|
00005b8c <__fsym_list_sem_desc>:
|
|
5b8c: 696c 7473 7320 6d65 7061 6f68 656e 6920 list semaphone i
|
|
5b9c: 206e 7973 7473 6d65 0000 0000 n system....
|
|
|
|
00005ba8 <__fsym_list_sem_name>:
|
|
5ba8: 696c 7473 735f 6d65 0000 0000 list_sem....
|
|
|
|
00005bb4 <__fsym___cmd_list_thread_desc>:
|
|
5bb4: 696c 7473 7420 7268 6165 0064 list thread.
|
|
|
|
00005bc0 <__fsym___cmd_list_thread_name>:
|
|
5bc0: 5f5f 6d63 5f64 696c 7473 745f 7268 6165 __cmd_list_threa
|
|
5bd0: 0064 0000 d...
|
|
|
|
00005bd4 <__fsym_list_thread_desc>:
|
|
5bd4: 696c 7473 7420 7268 6165 0064 list thread.
|
|
|
|
00005be0 <__fsym_list_thread_name>:
|
|
5be0: 696c 7473 745f 7268 6165 0064 list_thread.
|
|
|
|
00005bec <__fsym___cmd_clear_desc>:
|
|
5bec: 6874 2065 6574 6d72 6e69 6c61 7320 7263 the terminal scr
|
|
5bfc: 6565 006e een.
|
|
|
|
00005c00 <__fsym___cmd_clear_name>:
|
|
5c00: 5f5f 6d63 5f64 6c63 6165 0072 __cmd_clear.
|
|
|
|
00005c0c <__fsym_clear_desc>:
|
|
5c0c: 6874 2065 6574 6d72 6e69 6c61 7320 7263 the terminal scr
|
|
5c1c: 6565 006e een.
|
|
|
|
00005c20 <__fsym_clear_name>:
|
|
5c20: 6c63 6165 0072 0000 clear...
|
|
|
|
00005c28 <__fsym___cmd_reboot_desc>:
|
|
5c28: 6572 6f62 746f 7420 6568 6220 616f 6472 reboot the board
|
|
5c38: 0000 0000 ....
|
|
|
|
00005c3c <__fsym___cmd_reboot_name>:
|
|
5c3c: 5f5f 6d63 5f64 6572 6f62 746f 0000 0000 __cmd_reboot....
|
|
|
|
00005c4c <__fsym_reboot_desc>:
|
|
5c4c: 6572 6f62 746f 7420 6568 6220 616f 6472 reboot the board
|
|
5c5c: 0000 0000 ....
|
|
|
|
00005c60 <__fsym_reboot_name>:
|
|
5c60: 6572 6f62 746f 0000 002d 0000 7325 0000 reboot..-...%s..
|
|
5c70: 002f 0000 6843 7261 6361 6574 2072 6544 /...Character De
|
|
5c80: 6976 6563 0000 0000 6c42 636f 206b 6544 vice....Block De
|
|
5c90: 6976 6563 0000 0000 654e 7774 726f 206b vice....Network
|
|
5ca0: 6e49 6574 6672 6361 0065 0000 544d 2044 Interface...MTD
|
|
5cb0: 6544 6976 6563 0000 4143 204e 6544 6976 Device..CAN Devi
|
|
5cc0: 6563 0000 5452 0043 6f53 6e75 2064 6544 ce..RTC.Sound De
|
|
5cd0: 6976 6563 0000 0000 7247 7061 6968 2063 vice....Graphic
|
|
5ce0: 6544 6976 6563 0000 3249 2043 7542 0073 Device..I2C Bus.
|
|
5cf0: 5355 2042 6c53 7661 2065 6544 6976 6563 USB Slave Device
|
|
5d00: 0000 0000 5355 2042 6f48 7473 4220 7375 ....USB Host Bus
|
|
5d10: 0000 0000 5053 2049 7542 0073 5053 2049 ....SPI Bus.SPI
|
|
5d20: 6544 6976 6563 0000 4453 4f49 4220 7375 Device..SDIO Bus
|
|
5d30: 0000 0000 4d50 5020 6573 6475 206f 6544 ....PM Pseudo De
|
|
5d40: 6976 6563 0000 0000 6950 6570 0000 0000 vice....Pipe....
|
|
5d50: 6f50 7472 6c61 4420 7665 6369 0065 0000 Portal Device...
|
|
5d60: 6954 656d 2072 6544 6976 6563 0000 0000 Timer Device....
|
|
5d70: 694d 6373 6c65 616c 656e 756f 2073 6544 Miscellaneous De
|
|
5d80: 6976 6563 0000 0000 6e55 6e6b 776f 006e vice....Unknown.
|
|
5d90: 6f54 206f 616d 796e 6120 6772 2073 2021 Too many args !
|
|
5da0: 6557 6f20 6c6e 2079 7355 3a65 000a 0000 We only Use:....
|
|
5db0: 7325 0020 7325 203a 6f63 6d6d 6e61 2064 %s .%s: command
|
|
5dc0: 6f6e 2074 6f66 6e75 2e64 000a 5452 542d not found...RT-T
|
|
5dd0: 7268 6165 2064 6873 6c65 206c 6f63 6d6d hread shell comm
|
|
5de0: 6e61 7364 0a3a 0000 5f5f 6d63 5f64 0000 ands:...__cmd_..
|
|
5df0: 2d25 3631 2073 202d 7325 000a %-16s - %s..
|
|
|
|
00005dfc <__fsym___cmd_help_desc>:
|
|
5dfc: 5452 542d 7268 6165 2064 6873 6c65 206c RT-Thread shell
|
|
5e0c: 6568 706c 0000 0000 help....
|
|
|
|
00005e14 <__fsym___cmd_help_name>:
|
|
5e14: 5f5f 6d63 5f64 6568 706c 0000 __cmd_help..
|
|
|
|
00005e20 <__fsym___cmd_free_desc>:
|
|
5e20: 6853 776f 7420 6568 6d20 6d65 726f 2079 Show the memory
|
|
5e30: 7375 6761 2065 6e69 7420 6568 7320 7379 usage in the sys
|
|
5e40: 6574 006d tem.
|
|
|
|
00005e44 <__fsym___cmd_free_name>:
|
|
5e44: 5f5f 6d63 5f64 7266 6565 0000 __cmd_free..
|
|
|
|
00005e50 <__fsym___cmd_ps_desc>:
|
|
5e50: 694c 7473 7420 7268 6165 7364 6920 206e List threads in
|
|
5e60: 6874 2065 7973 7473 6d65 0000 the system..
|
|
|
|
00005e6c <__fsym___cmd_ps_name>:
|
|
5e6c: 5f5f 6d63 5f64 7370 0000 0000 736d 2068 __cmd_ps....msh
|
|
5e7c: 0000 0000 6966 736e 2068 0000 003e 0000 ....finsh ..>...
|
|
5e8c: 6966 736e 3a68 6320 6e61 6e20 746f 6620 finsh: can not f
|
|
5e9c: 6e69 2064 6564 6976 6563 203a 7325 000a ind device: %s..
|
|
5eac: 6f6e 6d20 6d65 726f 2079 6f66 2072 6873 no memory for sh
|
|
5ebc: 6c65 0a6c 0000 0000 7374 6568 6c6c 0000 ell.....tshell..
|
|
5ecc: 6873 7872 0000 0000 0008 0000 6325 0000 shrx........%c..
|
|
5edc: 2508 2073 0820 0000 2008 0008 5b1b 4b32 .%s .... ...[2K
|
|
5eec: 000d 0000 7325 7325 0000 0000 ....%s%s....
|
|
|
|
00005ef8 <__fsym_pinRead_desc>:
|
|
5ef8: 6572 6461 7320 6174 7574 2073 7266 6d6f read status from
|
|
5f08: 6820 7261 7764 7261 2065 6970 006e 0000 hardware pin...
|
|
|
|
00005f18 <__fsym_pinRead_name>:
|
|
5f18: 6970 526e 6165 0064 pinRead.
|
|
|
|
00005f20 <__fsym_pinWrite_desc>:
|
|
5f20: 7277 7469 2065 6176 756c 2065 6f74 6820 write value to h
|
|
5f30: 7261 7764 7261 2065 6970 006e ardware pin.
|
|
|
|
00005f3c <__fsym_pinWrite_name>:
|
|
5f3c: 6970 576e 6972 6574 0000 0000 pinWrite....
|
|
|
|
00005f48 <__fsym_pinMode_desc>:
|
|
5f48: 6573 2074 6168 6472 6177 6572 7020 6e69 set hardware pin
|
|
5f58: 6d20 646f 0065 0000 mode...
|
|
|
|
00005f60 <__fsym_pinMode_name>:
|
|
5f60: 6970 4d6e 646f 0065 6175 7472 0031 0000 pinMode.uart1...
|
|
|
|
00005f70 <_ch32_pin_ops>:
|
|
5f70: 30f0 0000 30b0 0000 30d2 0000 316e 0000 .0...0...0..n1..
|
|
5f80: 3200 0000 325a 0000 .2..Z2..
|
|
|
|
00005f88 <pin_irq_map>:
|
|
5f88: 0001 0000 0016 0000 0002 0000 0017 0000 ................
|
|
5f98: 0004 0000 0018 0000 0008 0000 0019 0000 ................
|
|
5fa8: 0010 0000 001a 0000 0020 0000 0027 0000 ........ ...'...
|
|
5fb8: 0040 0000 0027 0000 0080 0000 0027 0000 @...'.......'...
|
|
5fc8: 0100 0000 0027 0000 0200 0000 0027 0000 ....'.......'...
|
|
5fd8: 0400 0000 0038 0000 0800 0000 0038 0000 ....8.......8...
|
|
5fe8: 1000 0000 0038 0000 2000 0000 0038 0000 ....8.... ..8...
|
|
5ff8: 4000 0000 0038 0000 8000 0000 0038 0000 .@..8.......8...
|
|
|
|
00006008 <pins>:
|
|
6008: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6018: 0001 0000 3062 0000 1800 4001 0004 0000 ....b0.....@....
|
|
6028: 0002 0000 3062 0000 1800 4001 0008 0000 ....b0.....@....
|
|
6038: 0003 0000 3062 0000 1800 4001 0010 0000 ....b0.....@....
|
|
6048: 0004 0000 3062 0000 1800 4001 0020 0000 ....b0.....@ ...
|
|
6058: 0005 0000 3062 0000 1800 4001 0040 0000 ....b0.....@@...
|
|
6068: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6078: 0007 0000 3052 0000 1000 4001 2000 0000 ....R0.....@. ..
|
|
6088: 0008 0000 3052 0000 1000 4001 4000 0000 ....R0.....@.@..
|
|
6098: 0009 0000 3052 0000 1000 4001 8000 0000 ....R0.....@....
|
|
60a8: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
60b8: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
60c8: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
60d8: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
60e8: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
60f8: 000f 0000 3052 0000 1000 4001 0001 0000 ....R0.....@....
|
|
6108: 0010 0000 3052 0000 1000 4001 0002 0000 ....R0.....@....
|
|
6118: 0011 0000 3052 0000 1000 4001 0004 0000 ....R0.....@....
|
|
6128: 0012 0000 3052 0000 1000 4001 0008 0000 ....R0.....@....
|
|
6138: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6148: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6158: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6168: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6178: 0017 0000 3042 0000 0800 4001 0001 0000 ....B0.....@....
|
|
6188: 0018 0000 3042 0000 0800 4001 0002 0000 ....B0.....@....
|
|
6198: 0019 0000 3042 0000 0800 4001 0004 0000 ....B0.....@....
|
|
61a8: 001a 0000 3042 0000 0800 4001 0008 0000 ....B0.....@....
|
|
61b8: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
61c8: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
61d8: 001d 0000 3042 0000 0800 4001 0010 0000 ....B0.....@....
|
|
61e8: 001e 0000 3042 0000 0800 4001 0020 0000 ....B0.....@ ...
|
|
61f8: 001f 0000 3042 0000 0800 4001 0040 0000 ....B0.....@@...
|
|
6208: 0020 0000 3042 0000 0800 4001 0080 0000 ...B0.....@....
|
|
6218: 0021 0000 3052 0000 1000 4001 0010 0000 !...R0.....@....
|
|
6228: 0022 0000 3052 0000 1000 4001 0020 0000 "...R0.....@ ...
|
|
6238: 0023 0000 3032 0000 0c00 4001 0001 0000 #...20.....@....
|
|
6248: 0024 0000 3032 0000 0c00 4001 0002 0000 $...20.....@....
|
|
6258: 0025 0000 3032 0000 0c00 4001 0004 0000 %...20.....@....
|
|
6268: 0026 0000 3062 0000 1800 4001 0080 0000 &...b0.....@....
|
|
6278: 0027 0000 3062 0000 1800 4001 0100 0000 '...b0.....@....
|
|
6288: 0028 0000 3062 0000 1800 4001 0200 0000 (...b0.....@....
|
|
6298: 0029 0000 3062 0000 1800 4001 0400 0000 )...b0.....@....
|
|
62a8: 002a 0000 3062 0000 1800 4001 0800 0000 *...b0.....@....
|
|
62b8: 002b 0000 3062 0000 1800 4001 1000 0000 +...b0.....@....
|
|
62c8: 002c 0000 3062 0000 1800 4001 2000 0000 ,...b0.....@. ..
|
|
62d8: 002d 0000 3062 0000 1800 4001 4000 0000 -...b0.....@.@..
|
|
62e8: 002e 0000 3062 0000 1800 4001 8000 0000 ....b0.....@....
|
|
62f8: 002f 0000 3032 0000 0c00 4001 0400 0000 /...20.....@....
|
|
6308: 0030 0000 3032 0000 0c00 4001 0800 0000 0...20.....@....
|
|
6318: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6328: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6338: 0033 0000 3032 0000 0c00 4001 1000 0000 3...20.....@....
|
|
6348: 0034 0000 3032 0000 0c00 4001 2000 0000 4...20.....@. ..
|
|
6358: 0035 0000 3032 0000 0c00 4001 4000 0000 5...20.....@.@..
|
|
6368: 0036 0000 3032 0000 0c00 4001 8000 0000 6...20.....@....
|
|
6378: 0037 0000 3020 0000 1400 4001 0100 0000 7... 0.....@....
|
|
6388: 0038 0000 3020 0000 1400 4001 0200 0000 8... 0.....@....
|
|
6398: 0039 0000 3020 0000 1400 4001 0400 0000 9... 0.....@....
|
|
63a8: 003a 0000 3020 0000 1400 4001 0800 0000 :... 0.....@....
|
|
63b8: 003b 0000 3020 0000 1400 4001 1000 0000 ;... 0.....@....
|
|
63c8: 003c 0000 3020 0000 1400 4001 2000 0000 <... 0.....@. ..
|
|
63d8: 003d 0000 3020 0000 1400 4001 4000 0000 =... 0.....@.@..
|
|
63e8: 003e 0000 3020 0000 1400 4001 8000 0000 >... 0.....@....
|
|
63f8: 003f 0000 3052 0000 1000 4001 0040 0000 ?...R0.....@@...
|
|
6408: 0040 0000 3052 0000 1000 4001 0080 0000 @...R0.....@....
|
|
6418: 0041 0000 3052 0000 1000 4001 0100 0000 A...R0.....@....
|
|
6428: 0042 0000 3052 0000 1000 4001 0200 0000 B...R0.....@....
|
|
6438: 0043 0000 3042 0000 0800 4001 0100 0000 C...B0.....@....
|
|
6448: 0044 0000 3042 0000 0800 4001 0200 0000 D...B0.....@....
|
|
6458: 0045 0000 3042 0000 0800 4001 0400 0000 E...B0.....@....
|
|
6468: 0046 0000 3042 0000 0800 4001 0800 0000 F...B0.....@....
|
|
6478: 0047 0000 3042 0000 0800 4001 1000 0000 G...B0.....@....
|
|
6488: 0048 0000 3042 0000 0800 4001 2000 0000 H...B0.....@. ..
|
|
6498: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
64a8: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
64b8: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
64c8: 004c 0000 3042 0000 0800 4001 4000 0000 L...B0.....@.@..
|
|
64d8: 004d 0000 3042 0000 0800 4001 8000 0000 M...B0.....@....
|
|
64e8: 004e 0000 3052 0000 1000 4001 0400 0000 N...R0.....@....
|
|
64f8: 004f 0000 3052 0000 1000 4001 0800 0000 O...R0.....@....
|
|
6508: 0050 0000 3052 0000 1000 4001 1000 0000 P...R0.....@....
|
|
6518: 0051 0000 3020 0000 1400 4001 0001 0000 Q... 0.....@....
|
|
6528: 0052 0000 3020 0000 1400 4001 0002 0000 R... 0.....@....
|
|
6538: 0053 0000 3020 0000 1400 4001 0004 0000 S... 0.....@....
|
|
6548: 0054 0000 3020 0000 1400 4001 0008 0000 T... 0.....@....
|
|
6558: 0055 0000 3020 0000 1400 4001 0010 0000 U... 0.....@....
|
|
6568: 0056 0000 3020 0000 1400 4001 0020 0000 V... 0.....@ ...
|
|
6578: 0057 0000 3020 0000 1400 4001 0040 0000 W... 0.....@@...
|
|
6588: 0058 0000 3020 0000 1400 4001 0080 0000 X... 0.....@....
|
|
6598: 0059 0000 3032 0000 0c00 4001 0008 0000 Y...20.....@....
|
|
65a8: 005a 0000 3032 0000 0c00 4001 0010 0000 Z...20.....@....
|
|
65b8: 005b 0000 3032 0000 0c00 4001 0020 0000 [...20.....@ ...
|
|
65c8: 005c 0000 3032 0000 0c00 4001 0040 0000 \...20.....@@...
|
|
65d8: 005d 0000 3032 0000 0c00 4001 0080 0000 ]...20.....@....
|
|
65e8: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
65f8: 005f 0000 3032 0000 0c00 4001 0100 0000 _...20.....@....
|
|
6608: 0060 0000 3032 0000 0c00 4001 0200 0000 `...20.....@....
|
|
6618: 0061 0000 3062 0000 1800 4001 0001 0000 a...b0.....@....
|
|
6628: 0062 0000 3062 0000 1800 4001 0002 0000 b...b0.....@....
|
|
6638: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6648: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6658: 6970 006e pin.
|
|
|
|
0000665c <ch32_uart_ops>:
|
|
665c: 359e 0000 376c 0000 374a 0000 3728 0000 .5..l7..J7..(7..
|
|
666c: 359a 0000 6820 7261 6664 6c75 0d74 000a .5.. hardfult...
|
|
667c: 4e20 494d 4820 6e61 6c64 7265 0a0d 0000 NMI Handler....
|
|
668c: 0a0d 4d20 5543 203a 4843 3233 3356 3330 .. MCU: CH32V303
|
|
669c: 0a0d 0000 5320 7379 6c43 3a6b 2520 4864 .... SysClk: %dH
|
|
66ac: 0d7a 000a 4320 6968 4970 3a44 2520 3830 z... ChipID: %08
|
|
66bc: 0d78 000a 6920 206e 7242 616f 6364 7361 x... in Broadcas
|
|
66cc: 5f74 6353 6e61 0a20 0020 0000 6920 206e t_Scan . ... in
|
|
66dc: 6552 6461 525f 6765 7369 6574 2072 200a Read_Register .
|
|
66ec: 0000 0000 6920 206e 6552 6967 7473 6172 .... in Registra
|
|
66fc: 6974 6e6f 725f 7165 6575 7473 0a20 0020 tion_request . .
|
|
670c: 6920 206e 6552 6f6d 6574 555f 6770 6172 in Remote_Upgra
|
|
671c: 6564 0a20 0020 0000 6920 206e 7055 6164 de . ... in Upda
|
|
672c: 6574 505f 6f72 6966 656c 0a20 0020 0000 te_Profile . ...
|
|
673c: 6920 206e 7257 7469 5f65 6552 6967 7473 in Write_Regist
|
|
674c: 7265 0a20 0020 0000 6920 206e 6553 736e er . ... in Sens
|
|
675c: 726f 525f 6165 5f64 6552 6967 7473 7265 or_Read_Register
|
|
676c: 0a20 0020 6920 206e 6553 736e 726f 525f . . in Sensor_R
|
|
677c: 6765 7369 7274 7461 6f69 5f6e 6572 7571 egistration_requ
|
|
678c: 7365 2074 200a 0000 6920 206e 6553 736e est . .. in Sens
|
|
679c: 726f 525f 6d65 746f 5f65 7055 7267 6461 or_Remote_Upgrad
|
|
67ac: 2065 200a 0000 0000 6920 206e 6553 736e e . .... in Sens
|
|
67bc: 726f 555f 6470 7461 5f65 7250 666f 6c69 or_Update_Profil
|
|
67cc: 2065 200a 0000 0000 6972 676e 715f 6575 e . ....ring_que
|
|
67dc: 6575 6c5f 6e65 7467 2068 203d 6425 0a20 ue_length = %d .
|
|
67ec: 0000 0000 6552 7663 0000 0000 ....Recv....
|
|
|
|
000067f8 <__fsym_list_mem>:
|
|
67f8: 5464 0000 5444 0000 10fa 0000 dT..DT......
|
|
|
|
00006804 <__fsym_list>:
|
|
6804: 5960 0000 5944 0000 21ec 0000 `Y..DY...!..
|
|
|
|
00006810 <__fsym___cmd_list_device>:
|
|
6810: 5980 0000 5968 0000 20be 0000 .Y..hY... ..
|
|
|
|
0000681c <__fsym_list_device>:
|
|
681c: 59ac 0000 5994 0000 20be 0000 .Y...Y... ..
|
|
|
|
00006828 <__fsym___cmd_list_timer>:
|
|
6828: 59d0 0000 59b8 0000 2152 0000 .Y...Y..R!..
|
|
|
|
00006834 <__fsym_list_timer>:
|
|
6834: 59fc 0000 59e4 0000 2152 0000 .Y...Y..R!..
|
|
|
|
00006840 <__fsym___cmd_list_msgqueue>:
|
|
6840: 5a28 0000 5a08 0000 2008 0000 (Z...Z... ..
|
|
|
|
0000684c <__fsym_list_msgqueue>:
|
|
684c: 5a5c 0000 5a3c 0000 2008 0000 \Z..<Z... ..
|
|
|
|
00006858 <__fsym___cmd_list_mailbox>:
|
|
6858: 5a84 0000 5a6c 0000 1f4a 0000 .Z..lZ..J...
|
|
|
|
00006864 <__fsym_list_mailbox>:
|
|
6864: 5ab0 0000 5a98 0000 1f4a 0000 .Z...Z..J...
|
|
|
|
00006870 <__fsym___cmd_list_mutex>:
|
|
6870: 5ad8 0000 5ac0 0000 1ec8 0000 .Z...Z......
|
|
|
|
0000687c <__fsym_list_mutex>:
|
|
687c: 5b04 0000 5aec 0000 1ec8 0000 .[...Z......
|
|
|
|
00006888 <__fsym___cmd_list_event>:
|
|
6888: 5b28 0000 5b10 0000 1e1c 0000 ([...[......
|
|
|
|
00006894 <__fsym_list_event>:
|
|
6894: 5b54 0000 5b3c 0000 1e1c 0000 T[..<[......
|
|
|
|
000068a0 <__fsym___cmd_list_sem>:
|
|
68a0: 5b7c 0000 5b60 0000 1d66 0000 |[..`[..f...
|
|
|
|
000068ac <__fsym_list_sem>:
|
|
68ac: 5ba8 0000 5b8c 0000 1d66 0000 .[...[..f...
|
|
|
|
000068b8 <__fsym___cmd_list_thread>:
|
|
68b8: 5bc0 0000 5bb4 0000 1c84 0000 .[...[......
|
|
|
|
000068c4 <__fsym_list_thread>:
|
|
68c4: 5be0 0000 5bd4 0000 1c84 0000 .[...[......
|
|
|
|
000068d0 <__fsym___cmd_clear>:
|
|
68d0: 5c00 0000 5bec 0000 1bda 0000 .\...[......
|
|
|
|
000068dc <__fsym_clear>:
|
|
68dc: 5c20 0000 5c0c 0000 1bda 0000 \...\......
|
|
|
|
000068e8 <__fsym___cmd_reboot>:
|
|
68e8: 5c3c 0000 5c28 0000 1bc8 0000 <\..(\......
|
|
|
|
000068f4 <__fsym_reboot>:
|
|
68f4: 5c60 0000 5c4c 0000 1bc8 0000 `\..L\......
|
|
|
|
00006900 <__fsym___cmd_help>:
|
|
6900: 5e14 0000 5dfc 0000 2236 0000 .^...]..6"..
|
|
|
|
0000690c <__fsym___cmd_free>:
|
|
690c: 5e44 0000 5e20 0000 24ec 0000 D^.. ^...$..
|
|
|
|
00006918 <__fsym___cmd_ps>:
|
|
6918: 5e6c 0000 5e50 0000 24de 0000 l^..P^...$..
|
|
|
|
00006924 <__fsym_pinRead>:
|
|
6924: 5f18 0000 5ef8 0000 2e3c 0000 ._...^..<...
|
|
|
|
00006930 <__fsym_pinWrite>:
|
|
6930: 5f3c 0000 5f20 0000 2e22 0000 <_.. _.."...
|
|
|
|
0000693c <__fsym_pinMode>:
|
|
693c: 5f60 0000 5f48 0000 2e08 0000 `_..H_......
|
|
|
|
00006948 <__rt_init_rti_start>:
|
|
6948: 04d0 0000 ....
|
|
|
|
0000694c <__rt_init_rti_board_start>:
|
|
694c: 04d8 0000 ....
|
|
|
|
00006950 <__rt_init_rt_hw_pin_init>:
|
|
6950: 3074 0000 t0..
|
|
|
|
00006954 <__rt_init_rt_hw_usart_init>:
|
|
6954: 366c 0000 l6..
|
|
|
|
00006958 <__rt_init_rti_board_end>:
|
|
6958: 04dc 0000 ....
|
|
|
|
0000695c <__rt_init_finsh_system_init>:
|
|
695c: 250c 0000 .%..
|
|
|
|
00006960 <__rt_init_rti_end>:
|
|
6960: 04d4 0000 ....
|