9041 lines
416 KiB
Plaintext
9041 lines
416 KiB
Plaintext
|
|
CH32V303_V0.1.elf: file format elf32-littleriscv
|
|
CH32V303_V0.1.elf
|
|
architecture: riscv:rv32, flags 0x00000112:
|
|
EXEC_P, HAS_SYMS, D_PAGED
|
|
start address 0x00000000
|
|
|
|
Program Header:
|
|
LOAD off 0x00001000 vaddr 0x00000000 paddr 0x00000000 align 2**12
|
|
filesz 0x00006780 memsz 0x00006780 flags r-x
|
|
LOAD off 0x00008000 vaddr 0x20000000 paddr 0x00006780 align 2**12
|
|
filesz 0x00000250 memsz 0x00001b58 flags rw-
|
|
LOAD off 0x00009000 vaddr 0x2000e000 paddr 0x2000e000 align 2**12
|
|
filesz 0x00000000 memsz 0x00002000 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 000065c0 000001c0 000001c0 000011c0 2**2
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
3 .fini 00000000 00006780 00006780 00008250 2**0
|
|
CONTENTS, ALLOC, LOAD, CODE
|
|
4 .dalign 00000000 20000000 20000000 00008250 2**0
|
|
CONTENTS
|
|
5 .dlalign 00000000 00006780 00006780 00008250 2**0
|
|
CONTENTS
|
|
6 .data 00000250 20000000 00006780 00008000 2**2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
7 .bss 00001908 20000250 000069d0 00008250 2**2
|
|
ALLOC
|
|
8 .stack 00002000 2000e000 2000e000 00009000 2**0
|
|
ALLOC
|
|
9 .debug_info 0002de8b 00000000 00000000 00008250 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
10 .debug_abbrev 000088df 00000000 00000000 000360db 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
11 .debug_loc 0000ab6b 00000000 00000000 0003e9ba 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
12 .debug_aranges 00001318 00000000 00000000 00049528 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
13 .debug_ranges 000019b8 00000000 00000000 0004a840 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
14 .debug_line 0001b10b 00000000 00000000 0004c1f8 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
15 .debug_str 00005795 00000000 00000000 00067303 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
16 .comment 00000033 00000000 00000000 0006ca98 2**0
|
|
CONTENTS, READONLY
|
|
17 .debug_frame 00003398 00000000 00000000 0006cacc 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
|
|
00006780 l d .fini 00000000 .fini
|
|
20000000 l d .dalign 00000000 .dalign
|
|
00006780 l d .dlalign 00000000 .dlalign
|
|
20000000 l d .data 00000000 .data
|
|
20000250 l d .bss 00000000 .bss
|
|
2000e000 l d .stack 00000000 .stack
|
|
00000000 l d .debug_info 00000000 .debug_info
|
|
00000000 l d .debug_abbrev 00000000 .debug_abbrev
|
|
00000000 l d .debug_loc 00000000 .debug_loc
|
|
00000000 l d .debug_aranges 00000000 .debug_aranges
|
|
00000000 l d .debug_ranges 00000000 .debug_ranges
|
|
00000000 l d .debug_line 00000000 .debug_line
|
|
00000000 l d .debug_str 00000000 .debug_str
|
|
00000000 l d .comment 00000000 .comment
|
|
00000000 l d .debug_frame 00000000 .debug_frame
|
|
00000000 l df *ABS* 00000000 ./Startup/startup_ch32v30x_D8C.o
|
|
00000004 l .vector 00000000 _vector_base
|
|
00000000 l df *ABS* 00000000 clock.c
|
|
20000250 l O .bss 00000004 rt_tick
|
|
00000000 l df *ABS* 00000000 components.c
|
|
000004d0 l F .text 00000004 rti_start
|
|
000004d4 l F .text 00000004 rti_end
|
|
000004d8 l F .text 00000004 rti_board_start
|
|
000004dc l F .text 00000004 rti_board_end
|
|
00000000 l df *ABS* 00000000 device.c
|
|
00000000 l df *ABS* 00000000 idle.c
|
|
00000768 l F .text 0000001c rt_thread_idle_entry
|
|
2000031c l O .bss 00000080 idle
|
|
2000039c l O .bss 00000010 idle_hook_list
|
|
200003ac l O .bss 00000200 rt_thread_stack
|
|
00000000 l df *ABS* 00000000 ipc.c
|
|
000007ba l F .text 0000002a rt_ipc_list_resume_all
|
|
000007e4 l F .text 0000005a rt_ipc_list_suspend
|
|
00000000 l df *ABS* 00000000 irq.c
|
|
20000254 l O .bss 00000004 rt_interrupt_enter_hook
|
|
20000258 l O .bss 00000004 rt_interrupt_leave_hook
|
|
00000000 l df *ABS* 00000000 kservice.c
|
|
00000bae l F .text 0000017e print_number
|
|
200005ac l O .bss 00000080 rt_log_buf.2693
|
|
00005220 l O .text 00000011 large_digits.2583
|
|
000052c4 l O .text 00000011 small_digits.2582
|
|
20000260 l O .bss 00000004 __rt_errno
|
|
20000264 l O .bss 00000004 _console_device
|
|
00000000 l df *ABS* 00000000 mem.c
|
|
000013b0 l F .text 00000058 plug_holes
|
|
2000062c l O .bss 00000020 heap_sem
|
|
20000268 l O .bss 00000004 heap_end
|
|
2000026c l O .bss 00000004 heap_ptr
|
|
20000270 l O .bss 00000004 lfree
|
|
20000274 l O .bss 00000004 max_mem
|
|
20000278 l O .bss 00000004 mem_size_aligned
|
|
2000027c l O .bss 00000004 rt_free_hook
|
|
20000280 l O .bss 00000004 rt_malloc_hook
|
|
20000284 l O .bss 00000004 used_mem
|
|
00000000 l df *ABS* 00000000 object.c
|
|
20000000 l O .data 00000080 rt_object_container
|
|
20000288 l O .bss 00000004 rt_object_attach_hook
|
|
2000028c l O .bss 00000004 rt_object_detach_hook
|
|
00000000 l df *ABS* 00000000 scheduler.c
|
|
200002a4 l O .bss 00000004 rt_scheduler_hook
|
|
200002a8 l O .bss 00000002 rt_scheduler_lock_nest
|
|
00000000 l df *ABS* 00000000 thread.c
|
|
000019da l F .text 0000008e _rt_thread_init.isra.0
|
|
200002b8 l O .bss 00000004 rt_thread_inited_hook
|
|
200002bc l O .bss 00000004 rt_thread_resume_hook
|
|
200002c0 l O .bss 00000004 rt_thread_suspend_hook
|
|
00000000 l df *ABS* 00000000 timer.c
|
|
00001c6a l F .text 00000012 _rt_timer_remove.part.1
|
|
200002c4 l O .bss 00000004 random_nr.2483
|
|
200002c8 l O .bss 00000004 rt_timer_enter_hook
|
|
200002cc l O .bss 00000004 rt_timer_exit_hook
|
|
200002d0 l O .bss 00000008 rt_timer_list
|
|
00000000 l df *ABS* 00000000 cpuport.c
|
|
00000000 l df *ABS* 00000000 cmd.c
|
|
00001eca l F .text 00000012 rt_list_len
|
|
00001f04 l F .text 00000020 object_split
|
|
00001f24 l F .text 00000036 show_wait_queue
|
|
00001f5a l F .text 0000003e object_name_maxlen
|
|
00000000 l df *ABS* 00000000 msh.c
|
|
00000000 l df *ABS* 00000000 msh_cmd.c
|
|
00000000 l df *ABS* 00000000 shell.c
|
|
00002810 l F .text 00000012 finsh_rx_ind
|
|
000028f6 l F .text 0000002e shell_handle_history
|
|
200006cc l O .bss 00000081 finsh_prompt.4315
|
|
00000000 l df *ABS* 00000000 serial.c
|
|
00002db2 l F .text 00000020 rt_serial_init
|
|
00002dd2 l F .text 00000042 rt_serial_write
|
|
00002e14 l F .text 0000009e rt_serial_open
|
|
00002eb2 l F .text 0000006e rt_serial_control
|
|
00002f20 l F .text 0000009e rt_serial_read
|
|
00002fbe l F .text 00000040 rt_serial_close
|
|
00000000 l df *ABS* 00000000 pin.c
|
|
00003102 l F .text 0000001c _pin_control
|
|
0000316a l F .text 0000002e _pin_read
|
|
00003198 l F .text 0000002c _pin_write
|
|
20000750 l O .bss 00000048 _hw_pin
|
|
00000000 l df *ABS* 00000000 board.c
|
|
20000798 l O .bss 00001000 rt_heap
|
|
00000000 l df *ABS* 00000000 ring_queue.c
|
|
00000000 l df *ABS* 00000000 drv_gpio.c
|
|
00003334 l F .text 0000001c bit2bitno
|
|
00003350 l F .text 00000012 GPIOD_CLK_ENABLE
|
|
00003362 l F .text 00000010 GPIOB_CLK_ENABLE
|
|
00003372 l F .text 00000010 GPIOA_CLK_ENABLE
|
|
00003382 l F .text 00000010 GPIOC_CLK_ENABLE
|
|
00003392 l F .text 00000012 GPIOE_CLK_ENABLE
|
|
00005e4c l O .text 00000018 _ch32_pin_ops
|
|
00005e64 l O .text 00000080 pin_irq_map
|
|
00005ee4 l O .text 00000650 pins
|
|
00000000 l df *ABS* 00000000 drv_usart.c
|
|
000038ce l F .text 000000ce ch32_configure
|
|
00003a60 l F .text 00000022 ch32_getc
|
|
00003a82 l F .text 00000022 ch32_putc
|
|
00003aa4 l F .text 0000005c ch32_control
|
|
00006538 l O .text 00000014 ch32_uart_ops
|
|
00000000 l df *ABS* 00000000 ch32v30x_it.c
|
|
00000000 l df *ABS* 00000000 main.c
|
|
00000000 l df *ABS* 00000000 start.c
|
|
00000000 l df *ABS* 00000000 system_ch32v30x.c
|
|
00000000 l df *ABS* 00000000 communication_protocol.c
|
|
00003eb8 l F .text 00000076 SL_MsgProcFunc_Registration_request
|
|
00003f2e l F .text 00000066 SL_MsgProcFunc_Read_Register
|
|
20001808 l O .bss 00000032 uart_buff
|
|
00000000 l df *ABS* 00000000 thread.c
|
|
000041ac l F .text 00000022 Recv_thread_entry
|
|
000041ce l F .text 00000042 Send_thread_entry
|
|
00000000 l df *ABS* 00000000 thread_communication.c
|
|
00000000 l df *ABS* 00000000 uart_dev.c
|
|
0000428c l F .text 00000022 uart_putchar
|
|
000042ae l F .text 000000a4 uart_init.constprop.0
|
|
20001858 l O .bss 00000080 J1RS485_in_buff
|
|
200018d8 l O .bss 00000080 J2RS485_in_buff
|
|
20001958 l O .bss 00000080 J3RS485_in_buff
|
|
200019d8 l O .bss 00000080 J4RS485_in_buff
|
|
20001a58 l O .bss 00000080 J50RS485_in_buff
|
|
20001ad8 l O .bss 00000080 LORA_in_buff
|
|
00000000 l df *ABS* 00000000 ch32v30x_dbgmcu.c
|
|
00000000 l df *ABS* 00000000 ch32v30x_exti.c
|
|
00000000 l df *ABS* 00000000 ch32v30x_gpio.c
|
|
00000000 l df *ABS* 00000000 ch32v30x_misc.c
|
|
00000000 l df *ABS* 00000000 ch32v30x_rcc.c
|
|
20000238 l O .data 00000010 APBAHBPrescTable
|
|
2000024c l O .data 00000004 ADCPrescTable
|
|
00000000 l df *ABS* 00000000 ch32v30x_usart.c
|
|
00000000 l df *ABS* 00000000 Android.c
|
|
00000000 l df *ABS* 00000000 J1_UART6.c
|
|
00000000 l df *ABS* 00000000 J2_UART7.c
|
|
00000000 l df *ABS* 00000000 J3_USART2.c
|
|
00000000 l df *ABS* 00000000 J4_UART8.c
|
|
00000000 l df *ABS* 00000000 J5-0_USART3.c
|
|
00000000 l df *ABS* 00000000 UART.c
|
|
00000000 l df *ABS* 00000000 memcmp.c
|
|
00000000 l df *ABS* 00000000 memcpy.c
|
|
00000000 l df *ABS* 00000000 strcat.c
|
|
00000000 l df *ABS* 00000000 strcpy.c
|
|
00000000 l df *ABS* 00000000 strlen.c
|
|
00000000 l df *ABS* 00000000 strncmp.c
|
|
00000000 l df *ABS* 00000000 inflash.c
|
|
00000000 l df *ABS* 00000000 symbol.c
|
|
0000375a g F .text 00000028 EXTI2_IRQHandler
|
|
00003e24 w .text 00000000 TIM8_TRG_COM_IRQHandler
|
|
000015e2 g F .text 00000024 rt_calloc
|
|
00003e24 w .text 00000000 TIM8_CC_IRQHandler
|
|
000066e0 g O .text 0000000c __fsym_list_thread
|
|
00000578 g F .text 0000000a entry
|
|
0000503c g F .text 00000010 strcpy
|
|
00001f98 g F .text 000000e4 list_thread
|
|
000029a2 g F .text 00000410 finsh_thread_entry
|
|
000017ee g F .text 00000008 rt_object_is_systemobject
|
|
00004c88 g F .text 00000012 J8_PWR_Open
|
|
00000eca g F .text 0000002c rt_strncpy
|
|
00001e42 g F .text 00000036 rt_hw_stack_init
|
|
00001be4 g F .text 0000000e rt_thread_mdelay
|
|
20000160 g O .data 00000016 g_slConfigInfo
|
|
00003e24 w .text 00000000 UART8_IRQHandler
|
|
000025a8 g F .text 000001aa msh_exec
|
|
00004352 g F .text 000000f4 uart_dev_init
|
|
0000598c g O .text 0000000d __fsym_list_mailbox_name
|
|
00001766 g F .text 00000056 rt_object_allocate
|
|
000009c0 g F .text 00000082 rt_mq_send
|
|
00006740 g O .text 0000000c __fsym_pinRead
|
|
00005120 g O .text 00000100 __lowest_bit_bitmap
|
|
00004cf8 g F .text 00000012 J9_PWR_Close
|
|
20000a48 g .data 00000000 __global_pointer$
|
|
00001824 g F .text 0000002c rt_system_scheduler_start
|
|
0000037a g F .text 00000028 .hidden __riscv_save_8
|
|
00003e24 w .text 00000000 TIM1_CC_IRQHandler
|
|
200002dc g O .bss 00000004 rt_interrupt_to_thread
|
|
00003b6a g F .text 00000020 HardFault_Handler
|
|
00005a84 g O .text 00000009 __fsym_list_sem_name
|
|
000032d2 g F .text 0000002c InRingQueue
|
|
000003c6 g F .text 0000000c .hidden __riscv_restore_3
|
|
00003e24 w .text 00000000 TIM6_IRQHandler
|
|
00003fd2 g F .text 00000036 FRT_MsgHandler
|
|
000006ee g F .text 00000006 rt_device_set_rx_indicate
|
|
000032a2 g F .text 00000020 SysTick_Handler
|
|
000045a0 g F .text 00000018 uart_dev_char_present
|
|
00001606 g F .text 000000aa rt_free
|
|
200002d8 g O .bss 00000004 rt_interrupt_from_thread
|
|
0000478a g F .text 0000004e NVIC_Init
|
|
0000143a g F .text 0000007c rt_system_heap_init
|
|
00003e24 w .text 00000000 PVD_IRQHandler
|
|
0000051c g F .text 0000000c main_thread_entry
|
|
00003e24 w .text 00000000 SDIO_IRQHandler
|
|
00003e24 w .text 00000000 TIM9_BRK_IRQHandler
|
|
00004ae0 g F .text 00000010 android_PowerCtrl_Open
|
|
00005b3c g O .text 00000007 __fsym_reboot_name
|
|
00001dbe g F .text 00000078 rt_timer_check
|
|
000003b2 g F .text 00000020 .hidden __riscv_restore_10
|
|
000018ba g F .text 00000048 rt_schedule_insert_thread
|
|
0000207c g F .text 000000b6 list_sem
|
|
00000600 g F .text 0000007a rt_device_open
|
|
00004486 g F .text 00000010 J3RS485_tx_enabla
|
|
00003e24 w .text 00000000 DMA2_Channel8_IRQHandler
|
|
00003b4a g F .text 00000020 NMI_Handler
|
|
00004cac g F .text 00000012 J9_PWR_Open
|
|
00003e24 w .text 00000000 CAN2_RX1_IRQHandler
|
|
00003782 g F .text 00000028 EXTI3_IRQHandler
|
|
0000037a g F .text 00000028 .hidden __riscv_save_11
|
|
000045ee g F .text 0000000a DBGMCU_GetCHIPID
|
|
00002502 g F .text 0000004a list
|
|
00005340 g O .text 00000009 __fsym_list_mem_name
|
|
200002f0 g O .bss 00000004 _sysvar_table_begin
|
|
000059b4 g O .text 00000011 __fsym___cmd_list_mutex_name
|
|
00006780 g .text 00000000 __rtmsymtab_start
|
|
00003e24 w .text 00000000 USBHS_IRQHandler
|
|
00004a76 g F .text 0000000a USART_GetFlagStatus
|
|
00003e24 w .text 00000000 DMA2_Channel9_IRQHandler
|
|
000006f4 g F .text 00000074 rt_thread_idle_excute
|
|
00001b5a g F .text 0000004a rt_thread_suspend
|
|
00003bec g F .text 00000010 app_star
|
|
000012bc g F .text 00000068 rt_kprintf
|
|
00003e24 w .text 00000000 TIM10_CC_IRQHandler
|
|
00000ba8 g F .text 00000006 rt_interrupt_get_nest
|
|
20000250 g .bss 00000000 _sbss
|
|
00002000 g *ABS* 00000000 __stack_size
|
|
000045e0 g F .text 0000000e ring_queue_length
|
|
00001a68 g F .text 00000022 rt_thread_timeout
|
|
00005adc g O .text 0000000c __fsym___cmd_clear_name
|
|
00002802 g F .text 0000000e cmd_free
|
|
00003e24 w .text 00000000 USBFS_IRQHandler
|
|
00005a18 g O .text 00000015 __fsym_list_event_desc
|
|
00006668 g O .text 0000000c __fsym_list_msgqueue
|
|
00006764 g .text 00000000 __rt_init_start
|
|
00002260 g F .text 000000be list_mailbox
|
|
000003c6 g F .text 0000000c .hidden __riscv_restore_2
|
|
000044ee g F .text 000000b2 uart_dev_write
|
|
00005e24 g O .text 00000016 __fsym_pinMode_desc
|
|
00006764 g .text 00000000 __fsymtab_end
|
|
00003138 g F .text 0000001a rt_pin_write
|
|
00005ac8 g O .text 00000014 __fsym___cmd_clear_desc
|
|
000006b2 g F .text 0000001e rt_device_read
|
|
200002e4 g O .bss 00000004 shell
|
|
00004f6c g F .text 000000b2 memcpy
|
|
00004446 g F .text 00000010 J1RS485_tx_enabla
|
|
00002822 g F .text 00000098 finsh_system_init
|
|
000004fe g F .text 0000001e rt_components_init
|
|
0000370a g F .text 00000028 EXTI0_IRQHandler
|
|
00003e24 w .text 00000000 I2C2_EV_IRQHandler
|
|
00003e24 w .text 00000000 TIM10_TRG_COM_IRQHandler
|
|
00001c7c g F .text 0000003a rt_timer_init
|
|
00006780 g .text 00000000 __rt_init_end
|
|
00000784 g F .text 00000036 rt_thread_idle_init
|
|
00004eba g F .text 0000003a USART_CONNET_J7
|
|
20000248 g O .data 00000004 SystemCoreClock
|
|
000044ca g F .text 00000012 J50RS485_tx_enabla
|
|
00000926 g F .text 0000001a rt_mq_delete
|
|
00004e80 g F .text 0000003a USART_CONNET_J6
|
|
00006698 g O .text 0000000c __fsym_list_mutex
|
|
00004a6e g F .text 00000008 USART_ReceiveData
|
|
200002ec g O .bss 00000004 _syscall_table_end
|
|
200017f0 g O .bss 00000018 uart1
|
|
000017f6 g F .text 0000002e rt_system_scheduler_init
|
|
00004268 g F .text 00000024 Send_mq_Init
|
|
00000582 g F .text 0000004a rt_device_find
|
|
000001c0 g .text 00000000 rt_hw_context_switch_to
|
|
0000676c g O .text 00000004 __rt_init_rt_hw_pin_init
|
|
00000004 g .init 00000000 _einit
|
|
200002e0 g O .bss 00000004 rt_thread_switch_interrupt_flag
|
|
0000494e g F .text 0000001e RCC_APB2PeriphClockCmd
|
|
00000372 g F .text 00000030 .hidden __riscv_save_12
|
|
00003e24 w .text 00000000 CAN2_SCE_IRQHandler
|
|
00003e24 w .text 00000000 ADC1_2_IRQHandler
|
|
0000677c g O .text 00000004 __rt_init_rti_end
|
|
00004c52 g F .text 00000012 J6_PWR_Close
|
|
0000468a g F .text 000000c0 GPIO_Init
|
|
00005a58 g O .text 0000000f __fsym___cmd_list_sem_name
|
|
00003e24 w .text 00000000 Break_Point_Handler
|
|
00004b3a g F .text 00000026 J2_485_Init
|
|
0000665c g O .text 0000000c __fsym___cmd_list_msgqueue
|
|
00005820 g O .text 0000001a __fsym_list_desc
|
|
000003b2 g F .text 00000020 .hidden __riscv_restore_11
|
|
20000314 g O .bss 00000004 NVIC_Priority_Group
|
|
00003e24 w .text 00000000 SPI1_IRQHandler
|
|
00002ffe g F .text 0000005a rt_hw_serial_register
|
|
00004a1a g F .text 00000016 USART_Cmd
|
|
0000583c g O .text 00000005 __fsym_list_name
|
|
00001ea8 g F .text 00000022 rt_hw_context_switch_interrupt
|
|
00005b18 g O .text 0000000d __fsym___cmd_reboot_name
|
|
00003e24 w .text 00000000 TAMPER_IRQHandler
|
|
000003a2 g F .text 0000000c .hidden __riscv_save_1
|
|
000003c6 g F .text 0000000c .hidden __riscv_restore_0
|
|
00005a90 g O .text 0000000c __fsym___cmd_list_thread_desc
|
|
00005afc g O .text 00000006 __fsym_clear_name
|
|
00001ac2 g F .text 00000046 rt_thread_create
|
|
00004456 g F .text 00000010 J1RS485_tx_disenabla
|
|
00000388 g F .text 0000001a .hidden __riscv_save_7
|
|
00006780 g .text 00000000 __rtmsymtab_end
|
|
000058d8 g O .text 0000000b __fsym_list_timer_name
|
|
00004abc g F .text 00000014 USART_ClearITPendingBit
|
|
00003e24 w .text 00000000 CAN2_RX0_IRQHandler
|
|
00001b08 g F .text 00000052 rt_thread_yield
|
|
00003e24 w .text 00000000 TIM8_UP_IRQHandler
|
|
00000528 g F .text 00000028 rt_application_init
|
|
0000496c g F .text 0000001e RCC_APB1PeriphClockCmd
|
|
00003e24 w .text 00000000 Ecall_M_Mode_Handler
|
|
000014b6 g F .text 0000012c rt_malloc
|
|
2000e000 g .stack 00000000 _heap_end
|
|
000008e6 g F .text 00000040 rt_sem_release
|
|
000066c8 g O .text 0000000c __fsym_list_sem
|
|
000003bc g F .text 00000016 .hidden __riscv_restore_5
|
|
00003218 w F .text 0000000a rt_heap_begin_get
|
|
00000940 g F .text 00000080 rt_mq_create
|
|
00003e24 w .text 00000000 DMA2_Channel2_IRQHandler
|
|
00006620 g O .text 0000000c __fsym_list
|
|
00003e24 w .text 00000000 DMA1_Channel4_IRQHandler
|
|
00001e78 g F .text 00000010 sw_setpend
|
|
20000080 g O .data 000000c0 pin_irq_hdr_tab
|
|
00005a9c g O .text 00000012 __fsym___cmd_list_thread_name
|
|
00005e3c g O .text 00000008 __fsym_pinMode_name
|
|
000032c2 g F .text 00000010 InitRingQueue
|
|
00006704 g O .text 0000000c __fsym___cmd_reboot
|
|
000044b8 g F .text 00000012 J4RS485_tx_disenabla
|
|
00005974 g O .text 00000018 __fsym_list_mailbox_desc
|
|
00001cb6 g F .text 0000001e rt_timer_detach
|
|
00003324 g F .text 00000010 RingQueueLength
|
|
00003f94 g F .text 0000003e CheckFunc
|
|
00003e24 w .text 00000000 TIM9_UP_IRQHandler
|
|
000025a4 g F .text 00000004 msh_is_used
|
|
000003bc g F .text 00000016 .hidden __riscv_restore_6
|
|
00004b60 g F .text 00000012 J3_PWR_Open
|
|
00004bd4 g F .text 00000048 USART3_IRQHandler
|
|
00004680 g F .text 0000000a EXTI_ClearITPendingBit
|
|
000004e0 g F .text 0000001e rt_components_board_init
|
|
00003e24 w .text 00000000 RTC_IRQHandler
|
|
00005b28 g O .text 00000011 __fsym_reboot_desc
|
|
00001324 g F .text 0000003e rt_show_version
|
|
20001b58 g .bss 00000000 _ebss
|
|
00004a80 g F .text 0000003c USART_GetITStatus
|
|
00006764 g O .text 00000004 __rt_init_rti_start
|
|
00003e24 w .text 00000000 DMA1_Channel7_IRQHandler
|
|
20000318 g O .bss 00000001 USART3_Rbuffer
|
|
0000322c g F .text 00000076 rt_hw_board_init
|
|
000031c4 g F .text 00000054 rt_device_pin_register
|
|
000066ec g O .text 0000000c __fsym___cmd_clear
|
|
00003e24 w .text 00000000 CAN1_RX1_IRQHandler
|
|
00001bf2 g F .text 0000004c rt_thread_resume
|
|
00004c40 g F .text 00000012 J6_PWR_Open
|
|
00000550 g F .text 00000028 rtthread_startup
|
|
00003530 g F .text 0000005a ch32_pin_dettach_irq
|
|
00003e24 w .text 00000000 DVP_IRQHandler
|
|
00003e24 w .text 00000000 UART5_IRQHandler
|
|
00004d0a g F .text 0000003a USART_CONNET_J0
|
|
000032fe g F .text 00000026 OutRingQueue
|
|
00004c2e g F .text 00000012 J5_PWR_Close
|
|
00004b02 g F .text 00000026 J1_485_Init
|
|
20000308 g O .bss 00000004 g_J4RS485_UART8_handle
|
|
00005938 g O .text 0000000e __fsym_list_msgqueue_name
|
|
00001d86 g F .text 00000038 rt_timer_control
|
|
000016b0 g F .text 0000002a rt_object_get_information
|
|
2000064c g O .bss 00000080 rt_thread_priority_table
|
|
20001798 g O .bss 00000058 serial1
|
|
00003e24 w .text 00000000 TIM4_IRQHandler
|
|
00005dd4 g O .text 0000001e __fsym_pinRead_desc
|
|
00001eee g F .text 00000016 clear
|
|
20000290 g O .bss 00000004 rt_object_put_hook
|
|
0000037a g F .text 00000028 .hidden __riscv_save_9
|
|
00004754 g F .text 0000000a GPIO_WriteBit
|
|
0000501e g F .text 0000001e strcat
|
|
00001988 g F .text 00000052 rt_thread_exit
|
|
00003e24 w .text 00000000 DMA2_Channel1_IRQHandler
|
|
000059ec g O .text 00000015 __fsym___cmd_list_event_desc
|
|
000005cc g F .text 00000034 rt_device_register
|
|
00000e82 g F .text 00000048 rt_memmove
|
|
00004c1c g F .text 00000012 J5_PWR_Open
|
|
00000388 g F .text 0000001a .hidden __riscv_save_4
|
|
000036e6 g F .text 00000024 HAL_GPIO_EXTI_Callback
|
|
00001edc g F .text 00000012 reboot
|
|
00004e46 g F .text 0000003a USART_CONNET_J5
|
|
00003e24 w .text 00000000 I2C1_EV_IRQHandler
|
|
2000183c g O .bss 0000001c MqUartSend_pack
|
|
00006674 g O .text 0000000c __fsym___cmd_list_mailbox
|
|
000047d8 g F .text 00000176 RCC_GetClocksFreq
|
|
00005e18 g O .text 00000009 __fsym_pinWrite_name
|
|
00004b98 g F .text 00000012 J4_PWR_Open
|
|
00003e24 w .text 00000000 DMA1_Channel6_IRQHandler
|
|
0000231e g F .text 000000b6 list_msgqueue
|
|
00003e24 w .text 00000000 UART4_IRQHandler
|
|
00003e24 w .text 00000000 DMA2_Channel4_IRQHandler
|
|
0000498a g F .text 00000090 USART_Init
|
|
00003e24 w .text 00000000 TIM3_IRQHandler
|
|
00003e24 w .text 00000000 RCC_IRQHandler
|
|
00000f20 g F .text 00000012 rt_strlen
|
|
00003bda g F .text 00000012 software_init
|
|
000003a2 g F .text 0000000c .hidden __riscv_save_3
|
|
00003e24 w .text 00000000 TIM1_TRG_COM_IRQHandler
|
|
00006710 g O .text 0000000c __fsym_reboot
|
|
0000671c g O .text 0000000c __fsym___cmd_help
|
|
00003e24 w .text 00000000 DMA1_Channel1_IRQHandler
|
|
2000029c g O .bss 00000001 rt_current_priority
|
|
00003420 g F .text 0000007e ch32_pin_mode
|
|
00006644 g O .text 0000000c __fsym___cmd_list_timer
|
|
00000000 g .init 00000000 _start
|
|
00005948 g O .text 00000018 __fsym___cmd_list_mailbox_desc
|
|
00003e24 w .text 00000000 DMA2_Channel7_IRQHandler
|
|
20000140 g O .data 00000010 AHBPrescTable
|
|
000044a6 g F .text 00000012 J4RS485_tx_enabla
|
|
0000423c g F .text 0000002c Send_thread_Init
|
|
00002132 g F .text 000000ac list_event
|
|
0000384a g F .text 00000080 EXTI15_10_IRQHandler
|
|
0000505e g F .text 00000028 strncmp
|
|
0000311e g F .text 0000001a rt_pin_mode
|
|
00004a30 g F .text 00000036 USART_ITConfig
|
|
00006758 g O .text 0000000c __fsym_pinMode
|
|
00005844 g O .text 00000016 __fsym___cmd_list_device_desc
|
|
000045f8 g F .text 0000006a EXTI_Init
|
|
00006638 g O .text 0000000c __fsym_list_device
|
|
0000668c g O .text 0000000c __fsym___cmd_list_mutex
|
|
00003152 g F .text 00000018 rt_pin_read
|
|
00005cf0 g O .text 0000000b __fsym___cmd_help_name
|
|
00000480 g F .text 00000028 rt_tick_increase
|
|
00001408 g F .text 00000032 list_mem
|
|
00005d2c g O .text 0000001b __fsym___cmd_ps_desc
|
|
00003e24 w .text 00000000 TIM7_IRQHandler
|
|
000059c8 g O .text 00000015 __fsym_list_mutex_desc
|
|
00001d54 g F .text 00000032 rt_timer_stop
|
|
00003e24 w .text 00000000 CAN2_TX_IRQHandler
|
|
00005cfc g O .text 00000024 __fsym___cmd_free_desc
|
|
20000000 g .dalign 00000000 _data_vma
|
|
00000f32 g F .text 00000354 rt_vsnprintf
|
|
000066d4 g O .text 0000000c __fsym___cmd_list_thread
|
|
00003e24 w .text 00000000 TIM5_IRQHandler
|
|
00004f48 g F .text 00000024 memcmp
|
|
000033e0 g F .text 00000022 ch32_pin_write
|
|
000037d2 g F .text 00000078 EXTI9_5_IRQHandler
|
|
00005ae8 g O .text 00000014 __fsym_clear_desc
|
|
00001e88 g F .text 0000000e sw_clearpend
|
|
000004a8 g F .text 00000028 rt_tick_from_millisecond
|
|
200002e8 g O .bss 00000004 _syscall_table_begin
|
|
00003222 w F .text 0000000a rt_heap_end_get
|
|
0000475e g F .text 0000002c GPIO_EXTILineConfig
|
|
0000037a g F .text 00000028 .hidden __riscv_save_10
|
|
000038ca g F .text 00000004 ch32dma_transmit
|
|
2000030c g O .bss 00000004 g_J50RS485_USART3_handle
|
|
000028ba g F .text 0000003c finsh_get_prompt
|
|
00003e24 w .text 00000000 ETH_WKUP_IRQHandler
|
|
20000178 g O .data 000000c0 uart_devices
|
|
200002f8 g O .bss 00000004 mqSend
|
|
000003bc g F .text 00000016 .hidden __riscv_restore_4
|
|
000003b2 g F .text 00000020 .hidden __riscv_restore_8
|
|
00004466 g F .text 00000010 J2RS485_tx_enabla
|
|
00001362 g F .text 0000004e __rt_ffs
|
|
00000388 g F .text 0000001a .hidden __riscv_save_6
|
|
00004662 g F .text 0000001e EXTI_GetITStatus
|
|
00003e24 w .text 00000000 SPI2_IRQHandler
|
|
00002752 g F .text 000000a2 msh_auto_complete
|
|
200002f4 g O .bss 00000004 _sysvar_table_end
|
|
00001944 g F .text 00000016 rt_enter_critical
|
|
00001ba4 g F .text 00000040 rt_thread_sleep
|
|
000003d2 g F .text 000000a8 memset
|
|
000003b2 g F .text 00000020 .hidden __riscv_restore_9
|
|
00004d44 g F .text 00000102 J5_0_485_Init
|
|
000003bc g F .text 00000016 .hidden __riscv_restore_7
|
|
00003b8a g F .text 00000040 main
|
|
00005cd8 g O .text 00000015 __fsym___cmd_help_desc
|
|
00003e24 w .text 00000000 TIM10_BRK_IRQHandler
|
|
20000300 g O .bss 00000004 g_J2RS485_UART7_handle
|
|
00000b7a g F .text 0000002e rt_interrupt_leave
|
|
00003e24 w .text 00000000 TIM9_CC_IRQHandler
|
|
000058ac g O .text 00000011 __fsym___cmd_list_timer_name
|
|
00003e24 w .text 00000000 DMA2_Channel5_IRQHandler
|
|
200002fc g O .bss 00000004 g_J1RS485_UART6_handle
|
|
00001e40 g F .text 00000002 rt_system_timer_thread_init
|
|
00004af0 g F .text 00000012 J1_PWR_Open
|
|
00001a8a g F .text 00000032 rt_thread_init
|
|
00005894 g O .text 00000015 __fsym___cmd_list_timer_desc
|
|
00006764 g .text 00000000 __vsymtab_start
|
|
00003e24 w .text 00000000 DMA1_Channel5_IRQHandler
|
|
000037aa g F .text 00000028 EXTI4_IRQHandler
|
|
00005a3c g O .text 00000019 __fsym___cmd_list_sem_desc
|
|
2000025c g O .bss 00000001 rt_interrupt_nest
|
|
00004ef4 g F .text 0000003a USART_CONNET_J8
|
|
00003e24 w .text 00000000 USB_LP_CAN1_RX0_IRQHandler
|
|
00005b04 g O .text 00000011 __fsym___cmd_reboot_desc
|
|
0000599c g O .text 00000015 __fsym___cmd_list_mutex_desc
|
|
000012ba w F .text 00000002 rt_hw_console_output
|
|
00004f2e g F .text 0000001a USARTx_SendByte_str
|
|
20000294 g O .bss 00000004 rt_object_take_hook
|
|
00004476 g F .text 00000010 J2RS485_tx_disenabla
|
|
00002468 g F .text 0000009a list_timer
|
|
000058e4 g O .text 0000001d __fsym___cmd_list_msgqueue_desc
|
|
00003bfc g F .text 000000fa SystemInit
|
|
00003e24 w .text 00000000 RNG_IRQHandler
|
|
00005d20 g O .text 0000000b __fsym___cmd_free_name
|
|
00001e96 g F .text 0000000c rt_hw_interrupt_disable
|
|
20000304 g O .bss 00000004 g_J3RS485_USART2_handle
|
|
00001c3e g F .text 0000002c rt_thread_startup
|
|
200002a0 g O .bss 00000004 rt_current_thread
|
|
00001286 g F .text 00000006 rt_console_get_device
|
|
00004008 g F .text 00000188 read_and_process_uart_data
|
|
00003e24 w .text 00000000 USB_HP_CAN1_TX_IRQHandler
|
|
00000000 g .init 00000000 _sinit
|
|
000059e0 g O .text 0000000b __fsym_list_mutex_name
|
|
00003e24 w .text 00000000 DMA1_Channel3_IRQHandler
|
|
200002b4 g O .bss 00000004 rt_thread_ready_priority_group
|
|
00003e24 w .text 00000000 ETH_IRQHandler
|
|
00006728 g O .text 0000000c __fsym___cmd_free
|
|
00003e24 w .text 00000000 TIM1_UP_IRQHandler
|
|
00005960 g O .text 00000013 __fsym___cmd_list_mailbox_name
|
|
0000585c g O .text 00000012 __fsym___cmd_list_device_name
|
|
200002ac g O .bss 00000008 rt_thread_defunct
|
|
00006774 g O .text 00000004 __rt_init_rti_board_end
|
|
00003e24 w .text 00000000 WWDG_IRQHandler
|
|
0000674c g O .text 0000000c __fsym_pinWrite
|
|
0000083e g F .text 00000028 rt_sem_init
|
|
00000236 g .text 00000000 rt_hw_context_switch_exit
|
|
00003e24 w .text 00000000 USBHSWakeup_IRQHandler
|
|
00000d48 g F .text 00000088 rt_memset
|
|
00003e24 w .text 00000000 DMA2_Channel11_IRQHandler
|
|
000023d4 g F .text 00000094 list_device
|
|
000044dc g F .text 00000012 J50RS485_tx_disenabla
|
|
00004210 g F .text 0000002c Recv_thread_Init
|
|
00003e24 w .text 00000000 Ecall_U_Mode_Handler
|
|
00006680 g O .text 0000000c __fsym_list_mailbox
|
|
20000150 g O .data 00000010 g_MsgTbl
|
|
00000ef6 g F .text 0000002a rt_strncmp
|
|
00004190 g F .text 0000001c send_data
|
|
000066a4 g O .text 0000000c __fsym___cmd_list_event
|
|
00003e24 w .text 00000000 DMA2_Channel6_IRQHandler
|
|
20000310 g O .bss 00000004 g_LORA_UART5_handle
|
|
00006764 g .text 00000000 __vsymtab_end
|
|
00005df4 g O .text 00000008 __fsym_pinRead_name
|
|
00005d48 g O .text 00000009 __fsym___cmd_ps_name
|
|
00006650 g O .text 0000000c __fsym_list_timer
|
|
00003e24 w .text 00000000 TIM2_IRQHandler
|
|
20010000 g .stack 00000000 _eusrstack
|
|
00001738 g F .text 0000002e rt_object_detach
|
|
000003a2 g F .text 0000000c .hidden __riscv_save_2
|
|
00000290 g .text 00000000 SW_Handler
|
|
00006770 g O .text 00000004 __rt_init_rt_hw_usart_init
|
|
00000d2c g F .text 0000001c rt_set_errno
|
|
00001e36 g F .text 0000000a rt_system_timer_init
|
|
00003e24 w .text 00000000 TIM1_BRK_IRQHandler
|
|
00001902 g F .text 00000042 rt_schedule_remove_thread
|
|
00004a66 g F .text 00000008 USART_SendData
|
|
00000b4c g F .text 0000002e rt_interrupt_enter
|
|
00003e24 w .text 00000000 DMA2_Channel10_IRQHandler
|
|
00003732 g F .text 00000028 EXTI1_IRQHandler
|
|
00000a42 g F .text 0000010a rt_mq_recv
|
|
00001ea2 g F .text 00000006 rt_hw_interrupt_enable
|
|
00000388 g F .text 0000001a .hidden __riscv_save_5
|
|
00004496 g F .text 00000010 J3RS485_tx_disenabla
|
|
00006614 g O .text 0000000c __fsym_list_mem
|
|
20000250 g .data 00000000 _edata
|
|
00003bca g F .text 00000010 hareware_init
|
|
0000662c g O .text 0000000c __fsym___cmd_list_device
|
|
20001b58 g .bss 00000000 _end
|
|
00005904 g O .text 00000014 __fsym___cmd_list_msgqueue_name
|
|
0000195a g F .text 0000002e rt_exit_critical
|
|
00004b28 g F .text 00000012 J2_PWR_Open
|
|
00004b72 g F .text 00000026 J3_485_Init
|
|
00003e24 w .text 00000000 RTCAlarm_IRQHandler
|
|
000021de g F .text 00000082 list_mutex
|
|
000027f4 g F .text 0000000e cmd_ps
|
|
00004c9a g F .text 00000012 J8_PWR_Close
|
|
00006780 g .dlalign 00000000 _data_lma
|
|
00002924 g F .text 0000007e finsh_set_device
|
|
00003e24 w .text 00000000 TIM10_UP_IRQHandler
|
|
00003e24 w .text 00000000 TIM9_TRG_COM_IRQHandler
|
|
00003e24 w .text 00000000 UART7_IRQHandler
|
|
000033c0 g F .text 00000020 get_pin
|
|
00003e24 w .text 00000000 USART2_IRQHandler
|
|
00003e24 w .text 00000000 UART6_IRQHandler
|
|
00004c76 g F .text 00000012 J7_PWR_Close
|
|
0000067a g F .text 00000038 rt_device_close
|
|
00001abc g F .text 00000006 rt_thread_self
|
|
00006778 g O .text 00000004 __rt_init_finsh_system_init
|
|
00005870 g O .text 00000016 __fsym_list_device_desc
|
|
00003cf6 g F .text 0000012e SystemCoreClockUpdate
|
|
00005ab0 g O .text 0000000c __fsym_list_thread_desc
|
|
00003e24 w .text 00000000 I2C2_ER_IRQHandler
|
|
00003e24 w .text 00000000 DMA1_Channel2_IRQHandler
|
|
000017bc g F .text 00000032 rt_object_delete
|
|
0000399c g F .text 000000c4 rt_hw_usart_init
|
|
0000047a g F .text 00000006 rt_tick_get
|
|
000003ae g F .text 00000024 .hidden __riscv_restore_12
|
|
00003e24 w .text 00000000 TIM8_BRK_IRQHandler
|
|
00004cbe g F .text 0000003a USART_CONNET_J9
|
|
00005a30 g O .text 0000000b __fsym_list_event_name
|
|
00003e26 w .text 00000000 handle_reset
|
|
00003e24 w .text 00000000 CAN1_SCE_IRQHandler
|
|
000066b0 g O .text 0000000c __fsym_list_event
|
|
20000298 g O .bss 00000004 rt_object_trytake_hook
|
|
00003e24 w .text 00000000 FLASH_IRQHandler
|
|
000003a2 g F .text 0000000c .hidden __riscv_save_0
|
|
00005a04 g O .text 00000011 __fsym___cmd_list_event_name
|
|
00005320 g O .text 0000001e __fsym_list_mem_desc
|
|
00004c64 g F .text 00000012 J7_PWR_Open
|
|
00000866 g F .text 00000080 rt_sem_take
|
|
00003b00 g F .text 0000004a USART1_IRQHandler
|
|
000066bc g O .text 0000000c __fsym___cmd_list_sem
|
|
0000504c g F .text 00000012 strlen
|
|
00003e24 w .text 00000000 SPI3_IRQHandler
|
|
000058c0 g O .text 00000015 __fsym_list_timer_desc
|
|
0000128c g F .text 0000002e rt_console_set_device
|
|
0000349e g F .text 00000092 ch32_pin_attach_irq
|
|
00003e24 w .text 00000000 I2C1_ER_IRQHandler
|
|
00006768 g O .text 00000004 __rt_init_rti_board_start
|
|
000006d0 g F .text 0000001e rt_device_write
|
|
00005abc g O .text 0000000c __fsym_list_thread_name
|
|
00006614 g .text 00000000 __fsymtab_start
|
|
000003c6 g F .text 0000000c .hidden __riscv_restore_1
|
|
000033a4 g F .text 0000001c rt_hw_pin_init
|
|
000066f8 g O .text 0000000c __fsym_clear
|
|
00001850 g F .text 0000006a rt_schedule
|
|
000016da g F .text 0000005e rt_object_init
|
|
00003402 g F .text 0000001e ch32_pin_read
|
|
00006734 g O .text 0000000c __fsym___cmd_ps
|
|
0000474a g F .text 0000000a GPIO_ReadInputDataBit
|
|
00005dfc g O .text 0000001c __fsym_pinWrite_desc
|
|
00001cd4 g F .text 00000080 rt_timer_start
|
|
00004baa g F .text 0000002a J4_485_Init
|
|
00000dd0 g F .text 000000b2 rt_memcpy
|
|
00004ad0 g F .text 00000010 android_PowerCtrl_Init
|
|
0000254c g F .text 00000058 msh_help
|
|
00003058 g F .text 000000aa rt_hw_serial_isr
|
|
00003e24 w .text 00000000 USBWakeUp_IRQHandler
|
|
000001dc g .text 00000000 rt_hw_context_switch
|
|
000045b8 g F .text 00000028 uart_dev_in_char
|
|
00003e24 w .text 00000000 DMA2_Channel3_IRQHandler
|
|
0000358a g F .text 0000015c ch32_pin_irq_enable
|
|
00005888 g O .text 0000000c __fsym_list_device_name
|
|
00005918 g O .text 0000001d __fsym_list_msgqueue_desc
|
|
00005a68 g O .text 00000019 __fsym_list_sem_desc
|
|
|
|
|
|
|
|
Disassembly of section .init:
|
|
|
|
00000000 <_sinit>:
|
|
0: 6270306f j 3e26 <handle_reset>
|
|
|
|
Disassembly of section .vector:
|
|
|
|
00000004 <_vector_base>:
|
|
...
|
|
c: 3b4a lhu a0,52(a4)
|
|
e: 0000 unimp
|
|
10: 3b6a lhu a0,54(a4)
|
|
12: 0000 unimp
|
|
14: 0000 unimp
|
|
16: 0000 unimp
|
|
18: 3e24 lbu s1,27(a2)
|
|
...
|
|
22: 0000 unimp
|
|
24: 3e24 lbu s1,27(a2)
|
|
26: 0000 unimp
|
|
28: 3e24 lbu s1,27(a2)
|
|
...
|
|
32: 0000 unimp
|
|
34: 32a2 lhu s0,34(a3)
|
|
36: 0000 unimp
|
|
38: 0000 unimp
|
|
3a: 0000 unimp
|
|
3c: 0290 addi a2,sp,320
|
|
3e: 0000 unimp
|
|
40: 0000 unimp
|
|
42: 0000 unimp
|
|
44: 3e24 lbu s1,27(a2)
|
|
46: 0000 unimp
|
|
48: 3e24 lbu s1,27(a2)
|
|
4a: 0000 unimp
|
|
4c: 3e24 lbu s1,27(a2)
|
|
4e: 0000 unimp
|
|
50: 3e24 lbu s1,27(a2)
|
|
52: 0000 unimp
|
|
54: 3e24 lbu s1,27(a2)
|
|
56: 0000 unimp
|
|
58: 3e24 lbu s1,27(a2)
|
|
5a: 0000 unimp
|
|
5c: 370a lhu a0,40(a4)
|
|
5e: 0000 unimp
|
|
60: 3732 lhu a2,42(a4)
|
|
62: 0000 unimp
|
|
64: 375a lhu a4,44(a4)
|
|
66: 0000 unimp
|
|
68: 3782 lhu s0,40(a5)
|
|
6a: 0000 unimp
|
|
6c: 37aa lhu a0,42(a5)
|
|
6e: 0000 unimp
|
|
70: 3e24 lbu s1,27(a2)
|
|
72: 0000 unimp
|
|
74: 3e24 lbu s1,27(a2)
|
|
76: 0000 unimp
|
|
78: 3e24 lbu s1,27(a2)
|
|
7a: 0000 unimp
|
|
7c: 3e24 lbu s1,27(a2)
|
|
7e: 0000 unimp
|
|
80: 3e24 lbu s1,27(a2)
|
|
82: 0000 unimp
|
|
84: 3e24 lbu s1,27(a2)
|
|
86: 0000 unimp
|
|
88: 3e24 lbu s1,27(a2)
|
|
8a: 0000 unimp
|
|
8c: 3e24 lbu s1,27(a2)
|
|
8e: 0000 unimp
|
|
90: 3e24 lbu s1,27(a2)
|
|
92: 0000 unimp
|
|
94: 3e24 lbu s1,27(a2)
|
|
96: 0000 unimp
|
|
98: 3e24 lbu s1,27(a2)
|
|
9a: 0000 unimp
|
|
9c: 3e24 lbu s1,27(a2)
|
|
9e: 0000 unimp
|
|
a0: 37d2 lhu a2,44(a5)
|
|
a2: 0000 unimp
|
|
a4: 3e24 lbu s1,27(a2)
|
|
a6: 0000 unimp
|
|
a8: 3e24 lbu s1,27(a2)
|
|
aa: 0000 unimp
|
|
ac: 3e24 lbu s1,27(a2)
|
|
ae: 0000 unimp
|
|
b0: 3e24 lbu s1,27(a2)
|
|
b2: 0000 unimp
|
|
b4: 3e24 lbu s1,27(a2)
|
|
b6: 0000 unimp
|
|
b8: 3e24 lbu s1,27(a2)
|
|
ba: 0000 unimp
|
|
bc: 3e24 lbu s1,27(a2)
|
|
be: 0000 unimp
|
|
c0: 3e24 lbu s1,27(a2)
|
|
c2: 0000 unimp
|
|
c4: 3e24 lbu s1,27(a2)
|
|
c6: 0000 unimp
|
|
c8: 3e24 lbu s1,27(a2)
|
|
ca: 0000 unimp
|
|
cc: 3e24 lbu s1,27(a2)
|
|
ce: 0000 unimp
|
|
d0: 3e24 lbu s1,27(a2)
|
|
d2: 0000 unimp
|
|
d4: 3e24 lbu s1,27(a2)
|
|
d6: 0000 unimp
|
|
d8: 3b00 lbu s0,17(a4)
|
|
da: 0000 unimp
|
|
dc: 3e24 lbu s1,27(a2)
|
|
de: 0000 unimp
|
|
e0: 4bd4 lw a3,20(a5)
|
|
e2: 0000 unimp
|
|
e4: 384a lhu a0,52(s0)
|
|
e6: 0000 unimp
|
|
e8: 3e24 lbu s1,27(a2)
|
|
ea: 0000 unimp
|
|
ec: 3e24 lbu s1,27(a2)
|
|
ee: 0000 unimp
|
|
f0: 3e24 lbu s1,27(a2)
|
|
f2: 0000 unimp
|
|
f4: 3e24 lbu s1,27(a2)
|
|
f6: 0000 unimp
|
|
f8: 3e24 lbu s1,27(a2)
|
|
fa: 0000 unimp
|
|
fc: 3e24 lbu s1,27(a2)
|
|
fe: 0000 unimp
|
|
100: 3e24 lbu s1,27(a2)
|
|
102: 0000 unimp
|
|
104: 0000 unimp
|
|
106: 0000 unimp
|
|
108: 3e24 lbu s1,27(a2)
|
|
10a: 0000 unimp
|
|
10c: 3e24 lbu s1,27(a2)
|
|
10e: 0000 unimp
|
|
110: 3e24 lbu s1,27(a2)
|
|
112: 0000 unimp
|
|
114: 3e24 lbu s1,27(a2)
|
|
116: 0000 unimp
|
|
118: 3e24 lbu s1,27(a2)
|
|
11a: 0000 unimp
|
|
11c: 3e24 lbu s1,27(a2)
|
|
11e: 0000 unimp
|
|
120: 3e24 lbu s1,27(a2)
|
|
122: 0000 unimp
|
|
124: 3e24 lbu s1,27(a2)
|
|
126: 0000 unimp
|
|
128: 3e24 lbu s1,27(a2)
|
|
12a: 0000 unimp
|
|
12c: 3e24 lbu s1,27(a2)
|
|
12e: 0000 unimp
|
|
130: 3e24 lbu s1,27(a2)
|
|
132: 0000 unimp
|
|
134: 3e24 lbu s1,27(a2)
|
|
136: 0000 unimp
|
|
138: 3e24 lbu s1,27(a2)
|
|
13a: 0000 unimp
|
|
13c: 3e24 lbu s1,27(a2)
|
|
13e: 0000 unimp
|
|
140: 3e24 lbu s1,27(a2)
|
|
142: 0000 unimp
|
|
144: 3e24 lbu s1,27(a2)
|
|
146: 0000 unimp
|
|
148: 3e24 lbu s1,27(a2)
|
|
14a: 0000 unimp
|
|
14c: 3e24 lbu s1,27(a2)
|
|
14e: 0000 unimp
|
|
150: 3e24 lbu s1,27(a2)
|
|
152: 0000 unimp
|
|
154: 3e24 lbu s1,27(a2)
|
|
156: 0000 unimp
|
|
158: 3e24 lbu s1,27(a2)
|
|
15a: 0000 unimp
|
|
15c: 3e24 lbu s1,27(a2)
|
|
15e: 0000 unimp
|
|
160: 3e24 lbu s1,27(a2)
|
|
162: 0000 unimp
|
|
164: 3e24 lbu s1,27(a2)
|
|
166: 0000 unimp
|
|
168: 3e24 lbu s1,27(a2)
|
|
16a: 0000 unimp
|
|
16c: 3e24 lbu s1,27(a2)
|
|
16e: 0000 unimp
|
|
170: 3e24 lbu s1,27(a2)
|
|
172: 0000 unimp
|
|
174: 3e24 lbu s1,27(a2)
|
|
176: 0000 unimp
|
|
178: 3e24 lbu s1,27(a2)
|
|
17a: 0000 unimp
|
|
17c: 3e24 lbu s1,27(a2)
|
|
17e: 0000 unimp
|
|
180: 3e24 lbu s1,27(a2)
|
|
182: 0000 unimp
|
|
184: 3e24 lbu s1,27(a2)
|
|
186: 0000 unimp
|
|
188: 3e24 lbu s1,27(a2)
|
|
18a: 0000 unimp
|
|
18c: 3e24 lbu s1,27(a2)
|
|
18e: 0000 unimp
|
|
190: 3e24 lbu s1,27(a2)
|
|
192: 0000 unimp
|
|
194: 3e24 lbu s1,27(a2)
|
|
196: 0000 unimp
|
|
198: 3e24 lbu s1,27(a2)
|
|
19a: 0000 unimp
|
|
19c: 3e24 lbu s1,27(a2)
|
|
19e: 0000 unimp
|
|
1a0: 3e24 lbu s1,27(a2)
|
|
...
|
|
|
|
Disassembly of section .text:
|
|
|
|
000001c0 <rt_hw_context_switch_to>:
|
|
1c0: 20010297 auipc t0,0x20010
|
|
1c4: e4028293 addi t0,t0,-448 # 20010000 <_eusrstack>
|
|
1c8: e0028293 addi t0,t0,-512
|
|
1cc: 34029073 csrw mscratch,t0
|
|
1d0: 00052103 lw sp,0(a0)
|
|
1d4: 4522 lw a0,8(sp)
|
|
1d6: 30051073 csrw mstatus,a0
|
|
1da: a8b1 j 236 <rt_hw_context_switch_exit>
|
|
|
|
000001dc <rt_hw_context_switch>:
|
|
1dc: 7119 addi sp,sp,-128
|
|
1de: 00252023 sw sp,0(a0)
|
|
1e2: c006 sw ra,0(sp)
|
|
1e4: c206 sw ra,4(sp)
|
|
1e6: ca16 sw t0,20(sp)
|
|
1e8: 300022f3 csrr t0,mstatus
|
|
1ec: 0082f293 andi t0,t0,8
|
|
1f0: 00028463 beqz t0,1f8 <rt_hw_context_switch+0x1c>
|
|
1f4: 08000293 li t0,128
|
|
1f8: c416 sw t0,8(sp)
|
|
1fa: c812 sw tp,16(sp)
|
|
1fc: cc1a sw t1,24(sp)
|
|
1fe: ce1e sw t2,28(sp)
|
|
200: d022 sw s0,32(sp)
|
|
202: d226 sw s1,36(sp)
|
|
204: d42a sw a0,40(sp)
|
|
206: d62e sw a1,44(sp)
|
|
208: d832 sw a2,48(sp)
|
|
20a: da36 sw a3,52(sp)
|
|
20c: dc3a sw a4,56(sp)
|
|
20e: de3e sw a5,60(sp)
|
|
210: c0c2 sw a6,64(sp)
|
|
212: c2c6 sw a7,68(sp)
|
|
214: c4ca sw s2,72(sp)
|
|
216: c6ce sw s3,76(sp)
|
|
218: c8d2 sw s4,80(sp)
|
|
21a: cad6 sw s5,84(sp)
|
|
21c: ccda sw s6,88(sp)
|
|
21e: cede sw s7,92(sp)
|
|
220: d0e2 sw s8,96(sp)
|
|
222: d2e6 sw s9,100(sp)
|
|
224: d4ea sw s10,104(sp)
|
|
226: d6ee sw s11,108(sp)
|
|
228: d8f2 sw t3,112(sp)
|
|
22a: daf6 sw t4,116(sp)
|
|
22c: dcfa sw t5,120(sp)
|
|
22e: defe sw t6,124(sp)
|
|
230: 0005a103 lw sp,0(a1)
|
|
234: a009 j 236 <rt_hw_context_switch_exit>
|
|
|
|
00000236 <rt_hw_context_switch_exit>:
|
|
236: 4502 lw a0,0(sp)
|
|
238: 34151073 csrw mepc,a0
|
|
23c: 4092 lw ra,4(sp)
|
|
23e: 00008537 lui a0,0x8
|
|
242: 80050513 addi a0,a0,-2048 # 7800 <__rt_init_end+0x1080>
|
|
246: 30052073 csrs mstatus,a0
|
|
24a: 4522 lw a0,8(sp)
|
|
24c: 30052073 csrs mstatus,a0
|
|
250: 4242 lw tp,16(sp)
|
|
252: 42d2 lw t0,20(sp)
|
|
254: 4362 lw t1,24(sp)
|
|
256: 43f2 lw t2,28(sp)
|
|
258: 5402 lw s0,32(sp)
|
|
25a: 5492 lw s1,36(sp)
|
|
25c: 5522 lw a0,40(sp)
|
|
25e: 55b2 lw a1,44(sp)
|
|
260: 5642 lw a2,48(sp)
|
|
262: 56d2 lw a3,52(sp)
|
|
264: 5762 lw a4,56(sp)
|
|
266: 57f2 lw a5,60(sp)
|
|
268: 4806 lw a6,64(sp)
|
|
26a: 4896 lw a7,68(sp)
|
|
26c: 4926 lw s2,72(sp)
|
|
26e: 49b6 lw s3,76(sp)
|
|
270: 4a46 lw s4,80(sp)
|
|
272: 4ad6 lw s5,84(sp)
|
|
274: 4b66 lw s6,88(sp)
|
|
276: 4bf6 lw s7,92(sp)
|
|
278: 5c06 lw s8,96(sp)
|
|
27a: 5c96 lw s9,100(sp)
|
|
27c: 5d26 lw s10,104(sp)
|
|
27e: 5db6 lw s11,108(sp)
|
|
280: 5e46 lw t3,112(sp)
|
|
282: 5ed6 lw t4,116(sp)
|
|
284: 5f66 lw t5,120(sp)
|
|
286: 5ff6 lw t6,124(sp)
|
|
288: 6109 addi sp,sp,128
|
|
28a: 30200073 mret
|
|
...
|
|
|
|
00000290 <SW_Handler>:
|
|
290: 7119 addi sp,sp,-128
|
|
292: ca16 sw t0,20(sp)
|
|
294: 08000293 li t0,128
|
|
298: c416 sw t0,8(sp)
|
|
29a: 02000293 li t0,32
|
|
29e: 8042a073 csrs 0x804,t0
|
|
2a2: c206 sw ra,4(sp)
|
|
2a4: c812 sw tp,16(sp)
|
|
2a6: cc1a sw t1,24(sp)
|
|
2a8: ce1e sw t2,28(sp)
|
|
2aa: d022 sw s0,32(sp)
|
|
2ac: d226 sw s1,36(sp)
|
|
2ae: d42a sw a0,40(sp)
|
|
2b0: d62e sw a1,44(sp)
|
|
2b2: d832 sw a2,48(sp)
|
|
2b4: da36 sw a3,52(sp)
|
|
2b6: dc3a sw a4,56(sp)
|
|
2b8: de3e sw a5,60(sp)
|
|
2ba: c0c2 sw a6,64(sp)
|
|
2bc: c2c6 sw a7,68(sp)
|
|
2be: c4ca sw s2,72(sp)
|
|
2c0: c6ce sw s3,76(sp)
|
|
2c2: c8d2 sw s4,80(sp)
|
|
2c4: cad6 sw s5,84(sp)
|
|
2c6: ccda sw s6,88(sp)
|
|
2c8: cede sw s7,92(sp)
|
|
2ca: d0e2 sw s8,96(sp)
|
|
2cc: d2e6 sw s9,100(sp)
|
|
2ce: d4ea sw s10,104(sp)
|
|
2d0: d6ee sw s11,108(sp)
|
|
2d2: d8f2 sw t3,112(sp)
|
|
2d4: daf6 sw t4,116(sp)
|
|
2d6: dcfa sw t5,120(sp)
|
|
2d8: defe sw t6,124(sp)
|
|
2da: 34011173 csrrw sp,mscratch,sp
|
|
2de: 06f000ef jal ra,b4c <rt_interrupt_enter>
|
|
2e2: 3a7010ef jal ra,1e88 <sw_clearpend>
|
|
2e6: 095000ef jal ra,b7a <rt_interrupt_leave>
|
|
2ea: 34011173 csrrw sp,mscratch,sp
|
|
2ee: 89818413 addi s0,gp,-1896 # 200002e0 <rt_thread_switch_interrupt_flag>
|
|
2f2: 00042903 lw s2,0(s0)
|
|
2f6: 02090463 beqz s2,31e <SW_Handler+0x8e>
|
|
2fa: 00042023 sw zero,0(s0)
|
|
2fe: 34102573 csrr a0,mepc
|
|
302: c02a sw a0,0(sp)
|
|
304: 89018413 addi s0,gp,-1904 # 200002d8 <rt_interrupt_from_thread>
|
|
308: 4004 lw s1,0(s0)
|
|
30a: 0024a023 sw sp,0(s1)
|
|
30e: 89418413 addi s0,gp,-1900 # 200002dc <rt_interrupt_to_thread>
|
|
312: 4004 lw s1,0(s0)
|
|
314: 0004a103 lw sp,0(s1)
|
|
318: 4502 lw a0,0(sp)
|
|
31a: 34151073 csrw mepc,a0
|
|
31e: 4092 lw ra,4(sp)
|
|
320: 000082b7 lui t0,0x8
|
|
324: 80028293 addi t0,t0,-2048 # 7800 <__rt_init_end+0x1080>
|
|
328: 3002a073 csrs mstatus,t0
|
|
32c: 42a2 lw t0,8(sp)
|
|
32e: 3002a073 csrs mstatus,t0
|
|
332: 4242 lw tp,16(sp)
|
|
334: 42d2 lw t0,20(sp)
|
|
336: 4362 lw t1,24(sp)
|
|
338: 43f2 lw t2,28(sp)
|
|
33a: 5402 lw s0,32(sp)
|
|
33c: 5492 lw s1,36(sp)
|
|
33e: 5522 lw a0,40(sp)
|
|
340: 55b2 lw a1,44(sp)
|
|
342: 5642 lw a2,48(sp)
|
|
344: 56d2 lw a3,52(sp)
|
|
346: 5762 lw a4,56(sp)
|
|
348: 57f2 lw a5,60(sp)
|
|
34a: 4806 lw a6,64(sp)
|
|
34c: 4896 lw a7,68(sp)
|
|
34e: 4926 lw s2,72(sp)
|
|
350: 49b6 lw s3,76(sp)
|
|
352: 4a46 lw s4,80(sp)
|
|
354: 4ad6 lw s5,84(sp)
|
|
356: 4b66 lw s6,88(sp)
|
|
358: 4bf6 lw s7,92(sp)
|
|
35a: 5c06 lw s8,96(sp)
|
|
35c: 5c96 lw s9,100(sp)
|
|
35e: 5d26 lw s10,104(sp)
|
|
360: 5db6 lw s11,108(sp)
|
|
362: 5e46 lw t3,112(sp)
|
|
364: 5ed6 lw t4,116(sp)
|
|
366: 5f66 lw t5,120(sp)
|
|
368: 5ff6 lw t6,124(sp)
|
|
36a: 6109 addi sp,sp,128
|
|
36c: 30200073 mret
|
|
...
|
|
|
|
00000372 <__riscv_save_12>:
|
|
372: 7139 addi sp,sp,-64
|
|
374: 4301 li t1,0
|
|
376: c66e sw s11,12(sp)
|
|
378: a019 j 37e <__riscv_save_10+0x4>
|
|
|
|
0000037a <__riscv_save_10>:
|
|
37a: 7139 addi sp,sp,-64
|
|
37c: 5341 li t1,-16
|
|
37e: c86a sw s10,16(sp)
|
|
380: ca66 sw s9,20(sp)
|
|
382: cc62 sw s8,24(sp)
|
|
384: ce5e sw s7,28(sp)
|
|
386: a019 j 38c <__riscv_save_4+0x4>
|
|
|
|
00000388 <__riscv_save_4>:
|
|
388: 7139 addi sp,sp,-64
|
|
38a: 5301 li t1,-32
|
|
38c: d05a sw s6,32(sp)
|
|
38e: d256 sw s5,36(sp)
|
|
390: d452 sw s4,40(sp)
|
|
392: d64e sw s3,44(sp)
|
|
394: d84a sw s2,48(sp)
|
|
396: da26 sw s1,52(sp)
|
|
398: dc22 sw s0,56(sp)
|
|
39a: de06 sw ra,60(sp)
|
|
39c: 40610133 sub sp,sp,t1
|
|
3a0: 8282 jr t0
|
|
|
|
000003a2 <__riscv_save_0>:
|
|
3a2: 1141 addi sp,sp,-16
|
|
3a4: c04a sw s2,0(sp)
|
|
3a6: c226 sw s1,4(sp)
|
|
3a8: c422 sw s0,8(sp)
|
|
3aa: c606 sw ra,12(sp)
|
|
3ac: 8282 jr t0
|
|
|
|
000003ae <__riscv_restore_12>:
|
|
3ae: 4db2 lw s11,12(sp)
|
|
3b0: 0141 addi sp,sp,16
|
|
|
|
000003b2 <__riscv_restore_10>:
|
|
3b2: 4d02 lw s10,0(sp)
|
|
3b4: 4c92 lw s9,4(sp)
|
|
3b6: 4c22 lw s8,8(sp)
|
|
3b8: 4bb2 lw s7,12(sp)
|
|
3ba: 0141 addi sp,sp,16
|
|
|
|
000003bc <__riscv_restore_4>:
|
|
3bc: 4b02 lw s6,0(sp)
|
|
3be: 4a92 lw s5,4(sp)
|
|
3c0: 4a22 lw s4,8(sp)
|
|
3c2: 49b2 lw s3,12(sp)
|
|
3c4: 0141 addi sp,sp,16
|
|
|
|
000003c6 <__riscv_restore_0>:
|
|
3c6: 4902 lw s2,0(sp)
|
|
3c8: 4492 lw s1,4(sp)
|
|
3ca: 4422 lw s0,8(sp)
|
|
3cc: 40b2 lw ra,12(sp)
|
|
3ce: 0141 addi sp,sp,16
|
|
3d0: 8082 ret
|
|
|
|
000003d2 <memset>:
|
|
3d2: 433d li t1,15
|
|
3d4: 872a mv a4,a0
|
|
3d6: 02c37363 bgeu t1,a2,3fc <memset+0x2a>
|
|
3da: 00f77793 andi a5,a4,15
|
|
3de: efbd bnez a5,45c <memset+0x8a>
|
|
3e0: e5ad bnez a1,44a <memset+0x78>
|
|
3e2: ff067693 andi a3,a2,-16
|
|
3e6: 8a3d andi a2,a2,15
|
|
3e8: 96ba add a3,a3,a4
|
|
3ea: c30c sw a1,0(a4)
|
|
3ec: c34c sw a1,4(a4)
|
|
3ee: c70c sw a1,8(a4)
|
|
3f0: c74c sw a1,12(a4)
|
|
3f2: 0741 addi a4,a4,16
|
|
3f4: fed76be3 bltu a4,a3,3ea <memset+0x18>
|
|
3f8: e211 bnez a2,3fc <memset+0x2a>
|
|
3fa: 8082 ret
|
|
3fc: 40c306b3 sub a3,t1,a2
|
|
400: 068a slli a3,a3,0x2
|
|
402: 00000297 auipc t0,0x0
|
|
406: 9696 add a3,a3,t0
|
|
408: 00a68067 jr 10(a3)
|
|
40c: 00b70723 sb a1,14(a4)
|
|
410: 00b706a3 sb a1,13(a4)
|
|
414: 00b70623 sb a1,12(a4)
|
|
418: 00b705a3 sb a1,11(a4)
|
|
41c: 00b70523 sb a1,10(a4)
|
|
420: 00b704a3 sb a1,9(a4)
|
|
424: 00b70423 sb a1,8(a4)
|
|
428: 00b703a3 sb a1,7(a4)
|
|
42c: 00b70323 sb a1,6(a4)
|
|
430: 00b702a3 sb a1,5(a4)
|
|
434: 00b70223 sb a1,4(a4)
|
|
438: 00b701a3 sb a1,3(a4)
|
|
43c: 00b70123 sb a1,2(a4)
|
|
440: 00b700a3 sb a1,1(a4)
|
|
444: 00b70023 sb a1,0(a4)
|
|
448: 8082 ret
|
|
44a: 0ff5f593 andi a1,a1,255
|
|
44e: 00859693 slli a3,a1,0x8
|
|
452: 8dd5 or a1,a1,a3
|
|
454: 01059693 slli a3,a1,0x10
|
|
458: 8dd5 or a1,a1,a3
|
|
45a: b761 j 3e2 <memset+0x10>
|
|
45c: 00279693 slli a3,a5,0x2
|
|
460: 00000297 auipc t0,0x0
|
|
464: 9696 add a3,a3,t0
|
|
466: 8286 mv t0,ra
|
|
468: fa8680e7 jalr -88(a3)
|
|
46c: 8096 mv ra,t0
|
|
46e: 17c1 addi a5,a5,-16
|
|
470: 8f1d sub a4,a4,a5
|
|
472: 963e add a2,a2,a5
|
|
474: f8c374e3 bgeu t1,a2,3fc <memset+0x2a>
|
|
478: b7a5 j 3e0 <memset+0xe>
|
|
|
|
0000047a <rt_tick_get>:
|
|
47a: 8081a503 lw a0,-2040(gp) # 20000250 <_edata>
|
|
47e: 8082 ret
|
|
|
|
00000480 <rt_tick_increase>:
|
|
480: f23ff2ef jal t0,3a2 <__riscv_save_0>
|
|
484: 80818793 addi a5,gp,-2040 # 20000250 <_edata>
|
|
488: 4398 lw a4,0(a5)
|
|
48a: 0705 addi a4,a4,1
|
|
48c: c398 sw a4,0(a5)
|
|
48e: 62e010ef jal ra,1abc <rt_thread_self>
|
|
492: 453c lw a5,72(a0)
|
|
494: 17fd addi a5,a5,-1
|
|
496: c53c sw a5,72(a0)
|
|
498: e789 bnez a5,4a2 <rt_tick_increase+0x22>
|
|
49a: 417c lw a5,68(a0)
|
|
49c: c53c sw a5,72(a0)
|
|
49e: 66a010ef jal ra,1b08 <rt_thread_yield>
|
|
4a2: 11d010ef jal ra,1dbe <rt_timer_check>
|
|
4a6: b705 j 3c6 <__riscv_restore_0>
|
|
|
|
000004a8 <rt_tick_from_millisecond>:
|
|
4a8: 02054263 bltz a0,4cc <rt_tick_from_millisecond+0x24>
|
|
4ac: 3e800793 li a5,1000
|
|
4b0: 02f54733 div a4,a0,a5
|
|
4b4: 02f56533 rem a0,a0,a5
|
|
4b8: 02f50533 mul a0,a0,a5
|
|
4bc: 3e750513 addi a0,a0,999
|
|
4c0: 02f54533 div a0,a0,a5
|
|
4c4: 02f70733 mul a4,a4,a5
|
|
4c8: 953a add a0,a0,a4
|
|
4ca: 8082 ret
|
|
4cc: 557d li a0,-1
|
|
4ce: 8082 ret
|
|
|
|
000004d0 <rti_start>:
|
|
4d0: 4501 li a0,0
|
|
4d2: 8082 ret
|
|
|
|
000004d4 <rti_end>:
|
|
4d4: 4501 li a0,0
|
|
4d6: 8082 ret
|
|
|
|
000004d8 <rti_board_start>:
|
|
4d8: 4501 li a0,0
|
|
4da: 8082 ret
|
|
|
|
000004dc <rti_board_end>:
|
|
4dc: 4501 li a0,0
|
|
4de: 8082 ret
|
|
|
|
000004e0 <rt_components_board_init>:
|
|
4e0: ec3ff2ef jal t0,3a2 <__riscv_save_0>
|
|
4e4: 6419 lui s0,0x6
|
|
4e6: 6499 lui s1,0x6
|
|
4e8: 76840413 addi s0,s0,1896 # 6768 <__rt_init_rti_board_start>
|
|
4ec: 77448493 addi s1,s1,1908 # 6774 <__rt_init_rti_board_end>
|
|
4f0: 00946363 bltu s0,s1,4f6 <rt_components_board_init+0x16>
|
|
4f4: bdc9 j 3c6 <__riscv_restore_0>
|
|
4f6: 401c lw a5,0(s0)
|
|
4f8: 0411 addi s0,s0,4
|
|
4fa: 9782 jalr a5
|
|
4fc: bfd5 j 4f0 <rt_components_board_init+0x10>
|
|
|
|
000004fe <rt_components_init>:
|
|
4fe: ea5ff2ef jal t0,3a2 <__riscv_save_0>
|
|
502: 6419 lui s0,0x6
|
|
504: 6499 lui s1,0x6
|
|
506: 77440413 addi s0,s0,1908 # 6774 <__rt_init_rti_board_end>
|
|
50a: 77c48493 addi s1,s1,1916 # 677c <__rt_init_rti_end>
|
|
50e: 00946363 bltu s0,s1,514 <rt_components_init+0x16>
|
|
512: bd55 j 3c6 <__riscv_restore_0>
|
|
514: 401c lw a5,0(s0)
|
|
516: 0411 addi s0,s0,4
|
|
518: 9782 jalr a5
|
|
51a: bfd5 j 50e <rt_components_init+0x10>
|
|
|
|
0000051c <main_thread_entry>:
|
|
51c: e87ff2ef jal t0,3a2 <__riscv_save_0>
|
|
520: 3ff9 jal 4fe <rt_components_init>
|
|
522: 668030ef jal ra,3b8a <main>
|
|
526: b545 j 3c6 <__riscv_restore_0>
|
|
|
|
00000528 <rt_application_init>:
|
|
528: e7bff2ef jal t0,3a2 <__riscv_save_0>
|
|
52c: 000005b7 lui a1,0x0
|
|
530: 00005537 lui a0,0x5
|
|
534: 47d1 li a5,20
|
|
536: 4715 li a4,5
|
|
538: 20000693 li a3,512
|
|
53c: 4601 li a2,0
|
|
53e: 51c58593 addi a1,a1,1308 # 51c <main_thread_entry>
|
|
542: 0d850513 addi a0,a0,216 # 50d8 <strncmp+0x7a>
|
|
546: 57c010ef jal ra,1ac2 <rt_thread_create>
|
|
54a: 6f4010ef jal ra,1c3e <rt_thread_startup>
|
|
54e: bda5 j 3c6 <__riscv_restore_0>
|
|
|
|
00000550 <rtthread_startup>:
|
|
550: e53ff2ef jal t0,3a2 <__riscv_save_0>
|
|
554: 143010ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
558: 4d5020ef jal ra,322c <rt_hw_board_init>
|
|
55c: 5c9000ef jal ra,1324 <rt_show_version>
|
|
560: 0d7010ef jal ra,1e36 <rt_system_timer_init>
|
|
564: 292010ef jal ra,17f6 <rt_system_scheduler_init>
|
|
568: 37c1 jal 528 <rt_application_init>
|
|
56a: 0d7010ef jal ra,1e40 <rt_system_timer_thread_init>
|
|
56e: 2c19 jal 784 <rt_thread_idle_init>
|
|
570: 2b4010ef jal ra,1824 <rt_system_scheduler_start>
|
|
574: 4501 li a0,0
|
|
576: bd81 j 3c6 <__riscv_restore_0>
|
|
|
|
00000578 <entry>:
|
|
578: e2bff2ef jal t0,3a2 <__riscv_save_0>
|
|
57c: 3fd1 jal 550 <rtthread_startup>
|
|
57e: 4501 li a0,0
|
|
580: b599 j 3c6 <__riscv_restore_0>
|
|
|
|
00000582 <rt_device_find>:
|
|
582: e07ff2ef jal t0,388 <__riscv_save_4>
|
|
586: 89aa mv s3,a0
|
|
588: 534010ef jal ra,1abc <rt_thread_self>
|
|
58c: c119 beqz a0,592 <rt_device_find+0x10>
|
|
58e: 3b6010ef jal ra,1944 <rt_enter_critical>
|
|
592: 4525 li a0,9
|
|
594: 11c010ef jal ra,16b0 <rt_object_get_information>
|
|
598: 4144 lw s1,4(a0)
|
|
59a: 00450413 addi s0,a0,4
|
|
59e: 00849663 bne s1,s0,5aa <rt_device_find+0x28>
|
|
5a2: 51a010ef jal ra,1abc <rt_thread_self>
|
|
5a6: 4901 li s2,0
|
|
5a8: a819 j 5be <rt_device_find+0x3c>
|
|
5aa: ff448913 addi s2,s1,-12
|
|
5ae: 4621 li a2,8
|
|
5b0: 85ce mv a1,s3
|
|
5b2: 854a mv a0,s2
|
|
5b4: 143000ef jal ra,ef6 <rt_strncmp>
|
|
5b8: e901 bnez a0,5c8 <rt_device_find+0x46>
|
|
5ba: 502010ef jal ra,1abc <rt_thread_self>
|
|
5be: c119 beqz a0,5c4 <rt_device_find+0x42>
|
|
5c0: 39a010ef jal ra,195a <rt_exit_critical>
|
|
5c4: 854a mv a0,s2
|
|
5c6: bbdd j 3bc <__riscv_restore_4>
|
|
5c8: 4084 lw s1,0(s1)
|
|
5ca: bfd1 j 59e <rt_device_find+0x1c>
|
|
|
|
000005cc <rt_device_register>:
|
|
5cc: e509 bnez a0,5d6 <rt_device_register+0xa>
|
|
5ce: 557d li a0,-1
|
|
5d0: 8082 ret
|
|
5d2: 557d li a0,-1
|
|
5d4: bbcd j 3c6 <__riscv_restore_0>
|
|
5d6: dcdff2ef jal t0,3a2 <__riscv_save_0>
|
|
5da: 842a mv s0,a0
|
|
5dc: 852e mv a0,a1
|
|
5de: 8932 mv s2,a2
|
|
5e0: 84ae mv s1,a1
|
|
5e2: 3745 jal 582 <rt_device_find>
|
|
5e4: f57d bnez a0,5d2 <rt_device_register+0x6>
|
|
5e6: 8522 mv a0,s0
|
|
5e8: 8626 mv a2,s1
|
|
5ea: 45a5 li a1,9
|
|
5ec: 0ee010ef jal ra,16da <rt_object_init>
|
|
5f0: 4501 li a0,0
|
|
5f2: 01241c23 sh s2,24(s0)
|
|
5f6: 00040e23 sb zero,28(s0)
|
|
5fa: 00041d23 sh zero,26(s0)
|
|
5fe: bfd9 j 5d4 <rt_device_register+0x8>
|
|
|
|
00000600 <rt_device_open>:
|
|
600: da3ff2ef jal t0,3a2 <__riscv_save_0>
|
|
604: 2d1e lhu a5,24(a0)
|
|
606: 1141 addi sp,sp,-16
|
|
608: 842a mv s0,a0
|
|
60a: 8bc1 andi a5,a5,16
|
|
60c: e79d bnez a5,63a <rt_device_open+0x3a>
|
|
60e: 551c lw a5,40(a0)
|
|
610: c38d beqz a5,632 <rt_device_open+0x32>
|
|
612: c62e sw a1,12(sp)
|
|
614: 9782 jalr a5
|
|
616: 84aa mv s1,a0
|
|
618: 45b2 lw a1,12(sp)
|
|
61a: cd01 beqz a0,632 <rt_device_open+0x32>
|
|
61c: 862a mv a2,a0
|
|
61e: 00005537 lui a0,0x5
|
|
622: 85a2 mv a1,s0
|
|
624: 0e050513 addi a0,a0,224 # 50e0 <strncmp+0x82>
|
|
628: 495000ef jal ra,12bc <rt_kprintf>
|
|
62c: 8526 mv a0,s1
|
|
62e: 0141 addi sp,sp,16
|
|
630: bb59 j 3c6 <__riscv_restore_0>
|
|
632: 2c1e lhu a5,24(s0)
|
|
634: 0107e793 ori a5,a5,16
|
|
638: ac1e sh a5,24(s0)
|
|
63a: 2c1e lhu a5,24(s0)
|
|
63c: 8ba1 andi a5,a5,8
|
|
63e: c789 beqz a5,648 <rt_device_open+0x48>
|
|
640: 2c3e lhu a5,26(s0)
|
|
642: 54e5 li s1,-7
|
|
644: 8ba1 andi a5,a5,8
|
|
646: f3fd bnez a5,62c <rt_device_open+0x2c>
|
|
648: 545c lw a5,44(s0)
|
|
64a: cf89 beqz a5,664 <rt_device_open+0x64>
|
|
64c: 8522 mv a0,s0
|
|
64e: 9782 jalr a5
|
|
650: 84aa mv s1,a0
|
|
652: e105 bnez a0,672 <rt_device_open+0x72>
|
|
654: 2c3e lhu a5,26(s0)
|
|
656: 0087e793 ori a5,a5,8
|
|
65a: ac3e sh a5,26(s0)
|
|
65c: 2c5c lbu a5,28(s0)
|
|
65e: 0785 addi a5,a5,1
|
|
660: ac5c sb a5,28(s0)
|
|
662: b7e9 j 62c <rt_device_open+0x2c>
|
|
664: 6785 lui a5,0x1
|
|
666: f0f78793 addi a5,a5,-241 # f0f <rt_strncmp+0x19>
|
|
66a: 8dfd and a1,a1,a5
|
|
66c: ac2e sh a1,26(s0)
|
|
66e: 4481 li s1,0
|
|
670: b7d5 j 654 <rt_device_open+0x54>
|
|
672: 57e9 li a5,-6
|
|
674: faf51ce3 bne a0,a5,62c <rt_device_open+0x2c>
|
|
678: bff1 j 654 <rt_device_open+0x54>
|
|
|
|
0000067a <rt_device_close>:
|
|
67a: 2d5c lbu a5,28(a0)
|
|
67c: cb85 beqz a5,6ac <rt_device_close+0x32>
|
|
67e: d25ff2ef jal t0,3a2 <__riscv_save_0>
|
|
682: 17fd addi a5,a5,-1
|
|
684: 0ff7f793 andi a5,a5,255
|
|
688: ad5c sb a5,28(a0)
|
|
68a: 842a mv s0,a0
|
|
68c: 4701 li a4,0
|
|
68e: ef89 bnez a5,6a8 <rt_device_close+0x2e>
|
|
690: 591c lw a5,48(a0)
|
|
692: e789 bnez a5,69c <rt_device_close+0x22>
|
|
694: 4701 li a4,0
|
|
696: 00041d23 sh zero,26(s0)
|
|
69a: a039 j 6a8 <rt_device_close+0x2e>
|
|
69c: 9782 jalr a5
|
|
69e: 872a mv a4,a0
|
|
6a0: d975 beqz a0,694 <rt_device_close+0x1a>
|
|
6a2: 57e9 li a5,-6
|
|
6a4: fef509e3 beq a0,a5,696 <rt_device_close+0x1c>
|
|
6a8: 853a mv a0,a4
|
|
6aa: bb31 j 3c6 <__riscv_restore_0>
|
|
6ac: 577d li a4,-1
|
|
6ae: 853a mv a0,a4
|
|
6b0: 8082 ret
|
|
|
|
000006b2 <rt_device_read>:
|
|
6b2: cf1ff2ef jal t0,3a2 <__riscv_save_0>
|
|
6b6: 2d58 lbu a4,28(a0)
|
|
6b8: e711 bnez a4,6c4 <rt_device_read+0x12>
|
|
6ba: 557d li a0,-1
|
|
6bc: 670000ef jal ra,d2c <rt_set_errno>
|
|
6c0: 4501 li a0,0
|
|
6c2: a021 j 6ca <rt_device_read+0x18>
|
|
6c4: 595c lw a5,52(a0)
|
|
6c6: c399 beqz a5,6cc <rt_device_read+0x1a>
|
|
6c8: 9782 jalr a5
|
|
6ca: b9f5 j 3c6 <__riscv_restore_0>
|
|
6cc: 5569 li a0,-6
|
|
6ce: b7fd j 6bc <rt_device_read+0xa>
|
|
|
|
000006d0 <rt_device_write>:
|
|
6d0: cd3ff2ef jal t0,3a2 <__riscv_save_0>
|
|
6d4: 2d58 lbu a4,28(a0)
|
|
6d6: e711 bnez a4,6e2 <rt_device_write+0x12>
|
|
6d8: 557d li a0,-1
|
|
6da: 652000ef jal ra,d2c <rt_set_errno>
|
|
6de: 4501 li a0,0
|
|
6e0: a021 j 6e8 <rt_device_write+0x18>
|
|
6e2: 5d1c lw a5,56(a0)
|
|
6e4: c399 beqz a5,6ea <rt_device_write+0x1a>
|
|
6e6: 9782 jalr a5
|
|
6e8: b9f9 j 3c6 <__riscv_restore_0>
|
|
6ea: 5569 li a0,-6
|
|
6ec: b7fd j 6da <rt_device_write+0xa>
|
|
|
|
000006ee <rt_device_set_rx_indicate>:
|
|
6ee: d10c sw a1,32(a0)
|
|
6f0: 4501 li a0,0
|
|
6f2: 8082 ret
|
|
|
|
000006f4 <rt_thread_idle_excute>:
|
|
6f4: c95ff2ef jal t0,388 <__riscv_save_4>
|
|
6f8: 86418993 addi s3,gp,-1948 # 200002ac <rt_thread_defunct>
|
|
6fc: 4a85 li s5,1
|
|
6fe: 8641a783 lw a5,-1948(gp) # 200002ac <rt_thread_defunct>
|
|
702: 05378663 beq a5,s3,74e <rt_thread_idle_excute+0x5a>
|
|
706: 790010ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
70a: 8641a783 lw a5,-1948(gp) # 200002ac <rt_thread_defunct>
|
|
70e: 8a2a mv s4,a0
|
|
710: 03378d63 beq a5,s3,74a <rt_thread_idle_excute+0x56>
|
|
714: 8641a403 lw s0,-1948(gp) # 200002ac <rt_thread_defunct>
|
|
718: 405c lw a5,4(s0)
|
|
71a: 4018 lw a4,0(s0)
|
|
71c: fec40913 addi s2,s0,-20
|
|
720: c35c sw a5,4(a4)
|
|
722: c398 sw a4,0(a5)
|
|
724: c040 sw s0,4(s0)
|
|
726: c000 sw s0,0(s0)
|
|
728: 21c010ef jal ra,1944 <rt_enter_critical>
|
|
72c: 507c lw a5,100(s0)
|
|
72e: c399 beqz a5,734 <rt_thread_idle_excute+0x40>
|
|
730: 854a mv a0,s2
|
|
732: 9782 jalr a5
|
|
734: 854a mv a0,s2
|
|
736: 0b8010ef jal ra,17ee <rt_object_is_systemobject>
|
|
73a: 01551b63 bne a0,s5,750 <rt_thread_idle_excute+0x5c>
|
|
73e: 854a mv a0,s2
|
|
740: 7f9000ef jal ra,1738 <rt_object_detach>
|
|
744: 216010ef jal ra,195a <rt_exit_critical>
|
|
748: 8552 mv a0,s4
|
|
74a: 758010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
74e: b1bd j 3bc <__riscv_restore_4>
|
|
750: 20a010ef jal ra,195a <rt_exit_critical>
|
|
754: 8552 mv a0,s4
|
|
756: 74c010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
75a: 4848 lw a0,20(s0)
|
|
75c: 6ab000ef jal ra,1606 <rt_free>
|
|
760: 854a mv a0,s2
|
|
762: 05a010ef jal ra,17bc <rt_object_delete>
|
|
766: bf61 j 6fe <rt_thread_idle_excute+0xa>
|
|
|
|
00000768 <rt_thread_idle_entry>:
|
|
768: c3bff2ef jal t0,3a2 <__riscv_save_0>
|
|
76c: 95418413 addi s0,gp,-1708 # 2000039c <idle_hook_list>
|
|
770: 01040913 addi s2,s0,16
|
|
774: 401c lw a5,0(s0)
|
|
776: c391 beqz a5,77a <rt_thread_idle_entry+0x12>
|
|
778: 9782 jalr a5
|
|
77a: 0411 addi s0,s0,4
|
|
77c: ff241ce3 bne s0,s2,774 <rt_thread_idle_entry+0xc>
|
|
780: 3f95 jal 6f4 <rt_thread_idle_excute>
|
|
782: b7ed j 76c <rt_thread_idle_entry+0x4>
|
|
|
|
00000784 <rt_thread_idle_init>:
|
|
784: c1fff2ef jal t0,3a2 <__riscv_save_0>
|
|
788: 00000637 lui a2,0x0
|
|
78c: 000055b7 lui a1,0x5
|
|
790: 02000893 li a7,32
|
|
794: 483d li a6,15
|
|
796: 20000793 li a5,512
|
|
79a: 96418713 addi a4,gp,-1692 # 200003ac <rt_thread_stack>
|
|
79e: 4681 li a3,0
|
|
7a0: 76860613 addi a2,a2,1896 # 768 <rt_thread_idle_entry>
|
|
7a4: 11858593 addi a1,a1,280 # 5118 <strncmp+0xba>
|
|
7a8: 8d418513 addi a0,gp,-1836 # 2000031c <idle>
|
|
7ac: 2de010ef jal ra,1a8a <rt_thread_init>
|
|
7b0: 8d418513 addi a0,gp,-1836 # 2000031c <idle>
|
|
7b4: 48a010ef jal ra,1c3e <rt_thread_startup>
|
|
7b8: b139 j 3c6 <__riscv_restore_0>
|
|
|
|
000007ba <rt_ipc_list_resume_all>:
|
|
7ba: be9ff2ef jal t0,3a2 <__riscv_save_0>
|
|
7be: 842a mv s0,a0
|
|
7c0: 54fd li s1,-1
|
|
7c2: 401c lw a5,0(s0)
|
|
7c4: 00f41463 bne s0,a5,7cc <rt_ipc_list_resume_all+0x12>
|
|
7c8: 4501 li a0,0
|
|
7ca: bef5 j 3c6 <__riscv_restore_0>
|
|
7cc: 6ca010ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
7d0: 892a mv s2,a0
|
|
7d2: 4008 lw a0,0(s0)
|
|
7d4: cd44 sw s1,28(a0)
|
|
7d6: 1531 addi a0,a0,-20
|
|
7d8: 41a010ef jal ra,1bf2 <rt_thread_resume>
|
|
7dc: 854a mv a0,s2
|
|
7de: 6c4010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
7e2: b7c5 j 7c2 <rt_ipc_list_resume_all+0x8>
|
|
|
|
000007e4 <rt_ipc_list_suspend>:
|
|
7e4: bbfff2ef jal t0,3a2 <__riscv_save_0>
|
|
7e8: 1141 addi sp,sp,-16
|
|
7ea: 842a mv s0,a0
|
|
7ec: 852e mv a0,a1
|
|
7ee: c632 sw a2,12(sp)
|
|
7f0: c42e sw a1,8(sp)
|
|
7f2: 368010ef jal ra,1b5a <rt_thread_suspend>
|
|
7f6: 4632 lw a2,12(sp)
|
|
7f8: 45a2 lw a1,8(sp)
|
|
7fa: c619 beqz a2,808 <rt_ipc_list_suspend+0x24>
|
|
7fc: 4785 li a5,1
|
|
7fe: 00f60d63 beq a2,a5,818 <rt_ipc_list_suspend+0x34>
|
|
802: 4501 li a0,0
|
|
804: 0141 addi sp,sp,16
|
|
806: b6c1 j 3c6 <__riscv_restore_0>
|
|
808: 4058 lw a4,4(s0)
|
|
80a: 01458793 addi a5,a1,20
|
|
80e: c31c sw a5,0(a4)
|
|
810: cd98 sw a4,24(a1)
|
|
812: c05c sw a5,4(s0)
|
|
814: c9c0 sw s0,20(a1)
|
|
816: b7f5 j 802 <rt_ipc_list_suspend+0x1e>
|
|
818: 401c lw a5,0(s0)
|
|
81a: 00878863 beq a5,s0,82a <rt_ipc_list_suspend+0x46>
|
|
81e: 0355c683 lbu a3,53(a1)
|
|
822: 0217c703 lbu a4,33(a5)
|
|
826: 00e6fa63 bgeu a3,a4,83a <rt_ipc_list_suspend+0x56>
|
|
82a: 43d4 lw a3,4(a5)
|
|
82c: 01458713 addi a4,a1,20
|
|
830: c298 sw a4,0(a3)
|
|
832: cd94 sw a3,24(a1)
|
|
834: c3d8 sw a4,4(a5)
|
|
836: c9dc sw a5,20(a1)
|
|
838: b7e9 j 802 <rt_ipc_list_suspend+0x1e>
|
|
83a: 439c lw a5,0(a5)
|
|
83c: bff9 j 81a <rt_ipc_list_suspend+0x36>
|
|
|
|
0000083e <rt_sem_init>:
|
|
83e: b65ff2ef jal t0,3a2 <__riscv_save_0>
|
|
842: 1141 addi sp,sp,-16
|
|
844: 84b2 mv s1,a2
|
|
846: 862e mv a2,a1
|
|
848: 4589 li a1,2
|
|
84a: 842a mv s0,a0
|
|
84c: c636 sw a3,12(sp)
|
|
84e: 68d000ef jal ra,16da <rt_object_init>
|
|
852: 46b2 lw a3,12(sp)
|
|
854: 01440793 addi a5,s0,20
|
|
858: cc1c sw a5,24(s0)
|
|
85a: c85c sw a5,20(s0)
|
|
85c: ac46 sh s1,28(s0)
|
|
85e: b414 sb a3,9(s0)
|
|
860: 4501 li a0,0
|
|
862: 0141 addi sp,sp,16
|
|
864: b68d j 3c6 <__riscv_restore_0>
|
|
|
|
00000866 <rt_sem_take>:
|
|
866: b23ff2ef jal t0,388 <__riscv_save_4>
|
|
86a: 8501a783 lw a5,-1968(gp) # 20000298 <rt_object_trytake_hook>
|
|
86e: 1141 addi sp,sp,-16
|
|
870: c62e sw a1,12(sp)
|
|
872: 842a mv s0,a0
|
|
874: c391 beqz a5,878 <rt_sem_take+0x12>
|
|
876: 9782 jalr a5
|
|
878: 61e010ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
87c: 2c5e lhu a5,28(s0)
|
|
87e: 89aa mv s3,a0
|
|
880: cf89 beqz a5,89a <rt_sem_take+0x34>
|
|
882: 17fd addi a5,a5,-1
|
|
884: ac5e sh a5,28(s0)
|
|
886: 61c010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
88a: 84c1a783 lw a5,-1972(gp) # 20000294 <rt_object_take_hook>
|
|
88e: 4501 li a0,0
|
|
890: cb91 beqz a5,8a4 <rt_sem_take+0x3e>
|
|
892: 8522 mv a0,s0
|
|
894: 9782 jalr a5
|
|
896: 4501 li a0,0
|
|
898: a031 j 8a4 <rt_sem_take+0x3e>
|
|
89a: 47b2 lw a5,12(sp)
|
|
89c: e791 bnez a5,8a8 <rt_sem_take+0x42>
|
|
89e: 604010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
8a2: 5579 li a0,-2
|
|
8a4: 0141 addi sp,sp,16
|
|
8a6: be19 j 3bc <__riscv_restore_4>
|
|
8a8: 214010ef jal ra,1abc <rt_thread_self>
|
|
8ac: 02052823 sw zero,48(a0)
|
|
8b0: 3410 lbu a2,9(s0)
|
|
8b2: 85aa mv a1,a0
|
|
8b4: 84aa mv s1,a0
|
|
8b6: 01440513 addi a0,s0,20
|
|
8ba: 372d jal 7e4 <rt_ipc_list_suspend>
|
|
8bc: 47b2 lw a5,12(sp)
|
|
8be: 00f05c63 blez a5,8d6 <rt_sem_take+0x70>
|
|
8c2: 04c48913 addi s2,s1,76
|
|
8c6: 0070 addi a2,sp,12
|
|
8c8: 4581 li a1,0
|
|
8ca: 854a mv a0,s2
|
|
8cc: 4ba010ef jal ra,1d86 <rt_timer_control>
|
|
8d0: 854a mv a0,s2
|
|
8d2: 402010ef jal ra,1cd4 <rt_timer_start>
|
|
8d6: 854e mv a0,s3
|
|
8d8: 5ca010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
8dc: 775000ef jal ra,1850 <rt_schedule>
|
|
8e0: 5888 lw a0,48(s1)
|
|
8e2: d545 beqz a0,88a <rt_sem_take+0x24>
|
|
8e4: b7c1 j 8a4 <rt_sem_take+0x3e>
|
|
|
|
000008e6 <rt_sem_release>:
|
|
8e6: abdff2ef jal t0,3a2 <__riscv_save_0>
|
|
8ea: 8481a783 lw a5,-1976(gp) # 20000290 <rt_object_put_hook>
|
|
8ee: 842a mv s0,a0
|
|
8f0: c391 beqz a5,8f4 <rt_sem_release+0xe>
|
|
8f2: 9782 jalr a5
|
|
8f4: 5a2010ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
8f8: 84aa mv s1,a0
|
|
8fa: 4848 lw a0,20(s0)
|
|
8fc: 01440793 addi a5,s0,20
|
|
900: 00f50e63 beq a0,a5,91c <rt_sem_release+0x36>
|
|
904: 1531 addi a0,a0,-20
|
|
906: 2ec010ef jal ra,1bf2 <rt_thread_resume>
|
|
90a: 4405 li s0,1
|
|
90c: 8526 mv a0,s1
|
|
90e: 594010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
912: c019 beqz s0,918 <rt_sem_release+0x32>
|
|
914: 73d000ef jal ra,1850 <rt_schedule>
|
|
918: 4501 li a0,0
|
|
91a: b475 j 3c6 <__riscv_restore_0>
|
|
91c: 2c5e lhu a5,28(s0)
|
|
91e: 0785 addi a5,a5,1
|
|
920: ac5e sh a5,28(s0)
|
|
922: 4401 li s0,0
|
|
924: b7e5 j 90c <rt_sem_release+0x26>
|
|
|
|
00000926 <rt_mq_delete>:
|
|
926: a7dff2ef jal t0,3a2 <__riscv_save_0>
|
|
92a: 842a mv s0,a0
|
|
92c: 0551 addi a0,a0,20
|
|
92e: 3571 jal 7ba <rt_ipc_list_resume_all>
|
|
930: 4c48 lw a0,28(s0)
|
|
932: 4d5000ef jal ra,1606 <rt_free>
|
|
936: 8522 mv a0,s0
|
|
938: 685000ef jal ra,17bc <rt_object_delete>
|
|
93c: 4501 li a0,0
|
|
93e: b461 j 3c6 <__riscv_restore_0>
|
|
|
|
00000940 <rt_mq_create>:
|
|
940: a63ff2ef jal t0,3a2 <__riscv_save_0>
|
|
944: 1141 addi sp,sp,-16
|
|
946: 84ae mv s1,a1
|
|
948: 85aa mv a1,a0
|
|
94a: 4519 li a0,6
|
|
94c: c632 sw a2,12(sp)
|
|
94e: c436 sw a3,8(sp)
|
|
950: 617000ef jal ra,1766 <rt_object_allocate>
|
|
954: 842a mv s0,a0
|
|
956: c91d beqz a0,98c <rt_mq_create+0x4c>
|
|
958: 46a2 lw a3,8(sp)
|
|
95a: 01450793 addi a5,a0,20
|
|
95e: cd1c sw a5,24(a0)
|
|
960: b514 sb a3,9(a0)
|
|
962: c95c sw a5,20(a0)
|
|
964: 4632 lw a2,12(sp)
|
|
966: 00348513 addi a0,s1,3
|
|
96a: 9971 andi a0,a0,-4
|
|
96c: 0542 slli a0,a0,0x10
|
|
96e: 8141 srli a0,a0,0x10
|
|
970: b032 sh a2,34(s0)
|
|
972: 0642 slli a2,a2,0x10
|
|
974: b00a sh a0,32(s0)
|
|
976: 8241 srli a2,a2,0x10
|
|
978: 0511 addi a0,a0,4
|
|
97a: 02c50533 mul a0,a0,a2
|
|
97e: 339000ef jal ra,14b6 <rt_malloc>
|
|
982: cc48 sw a0,28(s0)
|
|
984: e519 bnez a0,992 <rt_mq_create+0x52>
|
|
986: 8522 mv a0,s0
|
|
988: 3f79 jal 926 <rt_mq_delete>
|
|
98a: 4401 li s0,0
|
|
98c: 8522 mv a0,s0
|
|
98e: 0141 addi sp,sp,16
|
|
990: bc1d j 3c6 <__riscv_restore_0>
|
|
992: 3036 lhu a3,34(s0)
|
|
994: 02042423 sw zero,40(s0)
|
|
998: 02042623 sw zero,44(s0)
|
|
99c: 02042823 sw zero,48(s0)
|
|
9a0: 4701 li a4,0
|
|
9a2: 00d74563 blt a4,a3,9ac <rt_mq_create+0x6c>
|
|
9a6: 02041223 sh zero,36(s0)
|
|
9aa: b7cd j 98c <rt_mq_create+0x4c>
|
|
9ac: 301e lhu a5,32(s0)
|
|
9ae: 5810 lw a2,48(s0)
|
|
9b0: 0791 addi a5,a5,4
|
|
9b2: 02e787b3 mul a5,a5,a4
|
|
9b6: 0705 addi a4,a4,1
|
|
9b8: 97aa add a5,a5,a0
|
|
9ba: c390 sw a2,0(a5)
|
|
9bc: d81c sw a5,48(s0)
|
|
9be: b7d5 j 9a2 <rt_mq_create+0x62>
|
|
|
|
000009c0 <rt_mq_send>:
|
|
9c0: 311e lhu a5,32(a0)
|
|
9c2: 06c7ee63 bltu a5,a2,a3e <rt_mq_send+0x7e>
|
|
9c6: 9c3ff2ef jal t0,388 <__riscv_save_4>
|
|
9ca: 8481a783 lw a5,-1976(gp) # 20000290 <rt_object_put_hook>
|
|
9ce: 842a mv s0,a0
|
|
9d0: 8932 mv s2,a2
|
|
9d2: 89ae mv s3,a1
|
|
9d4: c391 beqz a5,9d8 <rt_mq_send+0x18>
|
|
9d6: 9782 jalr a5
|
|
9d8: 4be010ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
9dc: 5804 lw s1,48(s0)
|
|
9de: e491 bnez s1,9ea <rt_mq_send+0x2a>
|
|
9e0: 4c2010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
9e4: 5575 li a0,-3
|
|
9e6: 9d7ff06f j 3bc <__riscv_restore_4>
|
|
9ea: 409c lw a5,0(s1)
|
|
9ec: d81c sw a5,48(s0)
|
|
9ee: 4b4010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
9f2: 864a mv a2,s2
|
|
9f4: 85ce mv a1,s3
|
|
9f6: 0004a023 sw zero,0(s1)
|
|
9fa: 00448513 addi a0,s1,4
|
|
9fe: 2ec9 jal dd0 <rt_memcpy>
|
|
a00: 496010ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
a04: 545c lw a5,44(s0)
|
|
a06: 892a mv s2,a0
|
|
a08: c391 beqz a5,a0c <rt_mq_send+0x4c>
|
|
a0a: c384 sw s1,0(a5)
|
|
a0c: 541c lw a5,40(s0)
|
|
a0e: d444 sw s1,44(s0)
|
|
a10: e391 bnez a5,a14 <rt_mq_send+0x54>
|
|
a12: d404 sw s1,40(s0)
|
|
a14: 305e lhu a5,36(s0)
|
|
a16: 4848 lw a0,20(s0)
|
|
a18: 0451 addi s0,s0,20
|
|
a1a: 0785 addi a5,a5,1
|
|
a1c: a81e sh a5,16(s0)
|
|
a1e: 00850c63 beq a0,s0,a36 <rt_mq_send+0x76>
|
|
a22: 1531 addi a0,a0,-20
|
|
a24: 1ce010ef jal ra,1bf2 <rt_thread_resume>
|
|
a28: 854a mv a0,s2
|
|
a2a: 478010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
a2e: 623000ef jal ra,1850 <rt_schedule>
|
|
a32: 4501 li a0,0
|
|
a34: bf4d j 9e6 <rt_mq_send+0x26>
|
|
a36: 854a mv a0,s2
|
|
a38: 46a010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
a3c: bfdd j a32 <rt_mq_send+0x72>
|
|
a3e: 557d li a0,-1
|
|
a40: 8082 ret
|
|
|
|
00000a42 <rt_mq_recv>:
|
|
a42: 939ff2ef jal t0,37a <__riscv_save_10>
|
|
a46: 1141 addi sp,sp,-16
|
|
a48: 842a mv s0,a0
|
|
a4a: 8b2e mv s6,a1
|
|
a4c: 8a32 mv s4,a2
|
|
a4e: c636 sw a3,12(sp)
|
|
a50: 06c010ef jal ra,1abc <rt_thread_self>
|
|
a54: 8501a783 lw a5,-1968(gp) # 20000298 <rt_object_trytake_hook>
|
|
a58: 892a mv s2,a0
|
|
a5a: c399 beqz a5,a60 <rt_mq_recv+0x1e>
|
|
a5c: 8522 mv a0,s0
|
|
a5e: 9782 jalr a5
|
|
a60: 436010ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
a64: 305e lhu a5,36(s0)
|
|
a66: 89aa mv s3,a0
|
|
a68: 0c079c63 bnez a5,b40 <rt_mq_recv+0xfe>
|
|
a6c: 47b2 lw a5,12(sp)
|
|
a6e: 4481 li s1,0
|
|
a70: 0c079963 bnez a5,b42 <rt_mq_recv+0x100>
|
|
a74: 42e010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
a78: 5579 li a0,-2
|
|
a7a: 0141 addi sp,sp,16
|
|
a7c: 937ff06f j 3b2 <__riscv_restore_10>
|
|
a80: 47b2 lw a5,12(sp)
|
|
a82: 02092823 sw zero,48(s2)
|
|
a86: eb81 bnez a5,a96 <rt_mq_recv+0x54>
|
|
a88: 854e mv a0,s3
|
|
a8a: 418010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
a8e: 57f9 li a5,-2
|
|
a90: 02f92823 sw a5,48(s2)
|
|
a94: b7d5 j a78 <rt_mq_recv+0x36>
|
|
a96: 3410 lbu a2,9(s0)
|
|
a98: 85ca mv a1,s2
|
|
a9a: 855e mv a0,s7
|
|
a9c: 33a1 jal 7e4 <rt_ipc_list_suspend>
|
|
a9e: 47b2 lw a5,12(sp)
|
|
aa0: 00f05d63 blez a5,aba <rt_mq_recv+0x78>
|
|
aa4: 9d7ff0ef jal ra,47a <rt_tick_get>
|
|
aa8: 84aa mv s1,a0
|
|
aaa: 0070 addi a2,sp,12
|
|
aac: 4581 li a1,0
|
|
aae: 8556 mv a0,s5
|
|
ab0: 2d6010ef jal ra,1d86 <rt_timer_control>
|
|
ab4: 8556 mv a0,s5
|
|
ab6: 21e010ef jal ra,1cd4 <rt_timer_start>
|
|
aba: 854e mv a0,s3
|
|
abc: 3e6010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
ac0: 591000ef jal ra,1850 <rt_schedule>
|
|
ac4: 03092503 lw a0,48(s2)
|
|
ac8: f94d bnez a0,a7a <rt_mq_recv+0x38>
|
|
aca: 3cc010ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
ace: 47b2 lw a5,12(sp)
|
|
ad0: 89aa mv s3,a0
|
|
ad2: 8c26 mv s8,s1
|
|
ad4: 00f05d63 blez a5,aee <rt_mq_recv+0xac>
|
|
ad8: 9a3ff0ef jal ra,47a <rt_tick_get>
|
|
adc: 47b2 lw a5,12(sp)
|
|
ade: 40950c33 sub s8,a0,s1
|
|
ae2: 97a6 add a5,a5,s1
|
|
ae4: 40a78533 sub a0,a5,a0
|
|
ae8: 04054a63 bltz a0,b3c <rt_mq_recv+0xfa>
|
|
aec: c62a sw a0,12(sp)
|
|
aee: 84e2 mv s1,s8
|
|
af0: 305e lhu a5,36(s0)
|
|
af2: d7d9 beqz a5,a80 <rt_mq_recv+0x3e>
|
|
af4: 5404 lw s1,40(s0)
|
|
af6: 4098 lw a4,0(s1)
|
|
af8: d418 sw a4,40(s0)
|
|
afa: 5458 lw a4,44(s0)
|
|
afc: 00971463 bne a4,s1,b04 <rt_mq_recv+0xc2>
|
|
b00: 02042623 sw zero,44(s0)
|
|
b04: 17fd addi a5,a5,-1
|
|
b06: b05e sh a5,36(s0)
|
|
b08: 854e mv a0,s3
|
|
b0a: 398010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
b0e: 3012 lhu a2,32(s0)
|
|
b10: 00ca7363 bgeu s4,a2,b16 <rt_mq_recv+0xd4>
|
|
b14: 8652 mv a2,s4
|
|
b16: 00448593 addi a1,s1,4
|
|
b1a: 855a mv a0,s6
|
|
b1c: 2c55 jal dd0 <rt_memcpy>
|
|
b1e: 378010ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
b22: 581c lw a5,48(s0)
|
|
b24: c09c sw a5,0(s1)
|
|
b26: d804 sw s1,48(s0)
|
|
b28: 37a010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
b2c: 84c1a783 lw a5,-1972(gp) # 20000294 <rt_object_take_hook>
|
|
b30: 4501 li a0,0
|
|
b32: d7a1 beqz a5,a7a <rt_mq_recv+0x38>
|
|
b34: 8522 mv a0,s0
|
|
b36: 9782 jalr a5
|
|
b38: 4501 li a0,0
|
|
b3a: b781 j a7a <rt_mq_recv+0x38>
|
|
b3c: c602 sw zero,12(sp)
|
|
b3e: bf45 j aee <rt_mq_recv+0xac>
|
|
b40: 4481 li s1,0
|
|
b42: 01440b93 addi s7,s0,20
|
|
b46: 04c90a93 addi s5,s2,76
|
|
b4a: b75d j af0 <rt_mq_recv+0xae>
|
|
|
|
00000b4c <rt_interrupt_enter>:
|
|
b4c: 857ff2ef jal t0,3a2 <__riscv_save_0>
|
|
b50: 1141 addi sp,sp,-16
|
|
b52: 344010ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
b56: 81418713 addi a4,gp,-2028 # 2000025c <rt_interrupt_nest>
|
|
b5a: 231c lbu a5,0(a4)
|
|
b5c: 0785 addi a5,a5,1
|
|
b5e: 0ff7f793 andi a5,a5,255
|
|
b62: a31c sb a5,0(a4)
|
|
b64: 80c1a783 lw a5,-2036(gp) # 20000254 <rt_interrupt_enter_hook>
|
|
b68: c781 beqz a5,b70 <rt_interrupt_enter+0x24>
|
|
b6a: c62a sw a0,12(sp)
|
|
b6c: 9782 jalr a5
|
|
b6e: 4532 lw a0,12(sp)
|
|
b70: 332010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
b74: 0141 addi sp,sp,16
|
|
b76: 851ff06f j 3c6 <__riscv_restore_0>
|
|
|
|
00000b7a <rt_interrupt_leave>:
|
|
b7a: 829ff2ef jal t0,3a2 <__riscv_save_0>
|
|
b7e: 1141 addi sp,sp,-16
|
|
b80: 316010ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
b84: 81418713 addi a4,gp,-2028 # 2000025c <rt_interrupt_nest>
|
|
b88: 231c lbu a5,0(a4)
|
|
b8a: 17fd addi a5,a5,-1
|
|
b8c: 0ff7f793 andi a5,a5,255
|
|
b90: a31c sb a5,0(a4)
|
|
b92: 8101a783 lw a5,-2032(gp) # 20000258 <rt_interrupt_leave_hook>
|
|
b96: c781 beqz a5,b9e <rt_interrupt_leave+0x24>
|
|
b98: c62a sw a0,12(sp)
|
|
b9a: 9782 jalr a5
|
|
b9c: 4532 lw a0,12(sp)
|
|
b9e: 304010ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
ba2: 0141 addi sp,sp,16
|
|
ba4: 823ff06f j 3c6 <__riscv_restore_0>
|
|
|
|
00000ba8 <rt_interrupt_get_nest>:
|
|
ba8: 8141c503 lbu a0,-2028(gp) # 2000025c <rt_interrupt_nest>
|
|
bac: 8082 ret
|
|
|
|
00000bae <print_number>:
|
|
bae: 04087893 andi a7,a6,64
|
|
bb2: 1141 addi sp,sp,-16
|
|
bb4: 00089e63 bnez a7,bd0 <print_number+0x22>
|
|
bb8: 6895 lui a7,0x5
|
|
bba: 2c488893 addi a7,a7,708 # 52c4 <small_digits.2582>
|
|
bbe: 01087393 andi t2,a6,16
|
|
bc2: 00038b63 beqz t2,bd8 <print_number+0x2a>
|
|
bc6: ffe87813 andi a6,a6,-2
|
|
bca: 02000e93 li t4,32
|
|
bce: a819 j be4 <print_number+0x36>
|
|
bd0: 6895 lui a7,0x5
|
|
bd2: 22088893 addi a7,a7,544 # 5220 <large_digits.2583>
|
|
bd6: b7e5 j bbe <print_number+0x10>
|
|
bd8: 00187313 andi t1,a6,1
|
|
bdc: 03000e93 li t4,48
|
|
be0: fe0305e3 beqz t1,bca <print_number+0x1c>
|
|
be4: 00287313 andi t1,a6,2
|
|
be8: 06030e63 beqz t1,c64 <print_number+0xb6>
|
|
bec: 02065863 bgez a2,c1c <print_number+0x6e>
|
|
bf0: 40c00633 neg a2,a2
|
|
bf4: 02d00293 li t0,45
|
|
bf8: 8e0a mv t3,sp
|
|
bfa: 4f81 li t6,0
|
|
bfc: 4f29 li t5,10
|
|
bfe: 07e69563 bne a3,t5,c68 <print_number+0xba>
|
|
c02: 02d67333 remu t1,a2,a3
|
|
c06: 02d65633 divu a2,a2,a3
|
|
c0a: 9346 add t1,t1,a7
|
|
c0c: 00034303 lbu t1,0(t1)
|
|
c10: 0f85 addi t6,t6,1
|
|
c12: 0e05 addi t3,t3,1
|
|
c14: fe6e0fa3 sb t1,-1(t3)
|
|
c18: f27d bnez a2,bfe <print_number+0x50>
|
|
c1a: a00d j c3c <print_number+0x8e>
|
|
c1c: 00487313 andi t1,a6,4
|
|
c20: 02b00293 li t0,43
|
|
c24: 00031763 bnez t1,c32 <print_number+0x84>
|
|
c28: 00887293 andi t0,a6,8
|
|
c2c: 005032b3 snez t0,t0
|
|
c30: 0296 slli t0,t0,0x5
|
|
c32: f279 bnez a2,bf8 <print_number+0x4a>
|
|
c34: 03000693 li a3,48
|
|
c38: 8054 sb a3,0(sp)
|
|
c3a: 4f85 li t6,1
|
|
c3c: 86fe mv a3,t6
|
|
c3e: 00ffd363 bge t6,a5,c44 <print_number+0x96>
|
|
c42: 86be mv a3,a5
|
|
c44: 01187813 andi a6,a6,17
|
|
c48: 8f15 sub a4,a4,a3
|
|
c4a: 04081363 bnez a6,c90 <print_number+0xe2>
|
|
c4e: 00028563 beqz t0,c58 <print_number+0xaa>
|
|
c52: 00e05363 blez a4,c58 <print_number+0xaa>
|
|
c56: 177d addi a4,a4,-1
|
|
c58: 862a mv a2,a0
|
|
c5a: 00e508b3 add a7,a0,a4
|
|
c5e: 02000313 li t1,32
|
|
c62: a821 j c7a <print_number+0xcc>
|
|
c64: 4281 li t0,0
|
|
c66: b7f1 j c32 <print_number+0x84>
|
|
c68: 00f67313 andi t1,a2,15
|
|
c6c: 8211 srli a2,a2,0x4
|
|
c6e: bf71 j c0a <print_number+0x5c>
|
|
c70: 00b67463 bgeu a2,a1,c78 <print_number+0xca>
|
|
c74: 00660023 sb t1,0(a2)
|
|
c78: 0605 addi a2,a2,1
|
|
c7a: 40c88833 sub a6,a7,a2
|
|
c7e: ff0049e3 bgtz a6,c70 <print_number+0xc2>
|
|
c82: 863a mv a2,a4
|
|
c84: 00075363 bgez a4,c8a <print_number+0xdc>
|
|
c88: 4601 li a2,0
|
|
c8a: 177d addi a4,a4,-1
|
|
c8c: 9532 add a0,a0,a2
|
|
c8e: 8f11 sub a4,a4,a2
|
|
c90: 00028863 beqz t0,ca0 <print_number+0xf2>
|
|
c94: 00b57463 bgeu a0,a1,c9c <print_number+0xee>
|
|
c98: 00550023 sb t0,0(a0)
|
|
c9c: 177d addi a4,a4,-1
|
|
c9e: 0505 addi a0,a0,1
|
|
ca0: 02038763 beqz t2,cce <print_number+0x120>
|
|
ca4: 96aa add a3,a3,a0
|
|
ca6: 03000813 li a6,48
|
|
caa: a81d j ce0 <print_number+0x132>
|
|
cac: 00b67463 bgeu a2,a1,cb4 <print_number+0x106>
|
|
cb0: 01d60023 sb t4,0(a2)
|
|
cb4: 0605 addi a2,a2,1
|
|
cb6: 40c88833 sub a6,a7,a2
|
|
cba: ff0049e3 bgtz a6,cac <print_number+0xfe>
|
|
cbe: 863a mv a2,a4
|
|
cc0: 00075363 bgez a4,cc6 <print_number+0x118>
|
|
cc4: 4601 li a2,0
|
|
cc6: 177d addi a4,a4,-1
|
|
cc8: 9532 add a0,a0,a2
|
|
cca: 8f11 sub a4,a4,a2
|
|
ccc: bfe1 j ca4 <print_number+0xf6>
|
|
cce: 862a mv a2,a0
|
|
cd0: 00e508b3 add a7,a0,a4
|
|
cd4: b7cd j cb6 <print_number+0x108>
|
|
cd6: 00b57463 bgeu a0,a1,cde <print_number+0x130>
|
|
cda: 01050023 sb a6,0(a0)
|
|
cde: 0505 addi a0,a0,1
|
|
ce0: 40a68633 sub a2,a3,a0
|
|
ce4: fecfc9e3 blt t6,a2,cd6 <print_number+0x128>
|
|
ce8: 56fd li a3,-1
|
|
cea: 1ffd addi t6,t6,-1
|
|
cec: 00df8363 beq t6,a3,cf2 <print_number+0x144>
|
|
cf0: e799 bnez a5,cfe <print_number+0x150>
|
|
cf2: 87aa mv a5,a0
|
|
cf4: 00e50633 add a2,a0,a4
|
|
cf8: 02000813 li a6,32
|
|
cfc: a831 j d18 <print_number+0x16a>
|
|
cfe: 00b57663 bgeu a0,a1,d0a <print_number+0x15c>
|
|
d02: 01f10633 add a2,sp,t6
|
|
d06: 2210 lbu a2,0(a2)
|
|
d08: a110 sb a2,0(a0)
|
|
d0a: 0505 addi a0,a0,1
|
|
d0c: bff9 j cea <print_number+0x13c>
|
|
d0e: 00b7f463 bgeu a5,a1,d16 <print_number+0x168>
|
|
d12: 01078023 sb a6,0(a5)
|
|
d16: 0785 addi a5,a5,1
|
|
d18: 40f606b3 sub a3,a2,a5
|
|
d1c: fed049e3 bgtz a3,d0e <print_number+0x160>
|
|
d20: 00075363 bgez a4,d26 <print_number+0x178>
|
|
d24: 4701 li a4,0
|
|
d26: 953a add a0,a0,a4
|
|
d28: 0141 addi sp,sp,16
|
|
d2a: 8082 ret
|
|
|
|
00000d2c <rt_set_errno>:
|
|
d2c: e76ff2ef jal t0,3a2 <__riscv_save_0>
|
|
d30: 842a mv s0,a0
|
|
d32: 3d9d jal ba8 <rt_interrupt_get_nest>
|
|
d34: c509 beqz a0,d3e <rt_set_errno+0x12>
|
|
d36: 8081ac23 sw s0,-2024(gp) # 20000260 <__rt_errno>
|
|
d3a: e8cff06f j 3c6 <__riscv_restore_0>
|
|
d3e: 57f000ef jal ra,1abc <rt_thread_self>
|
|
d42: d975 beqz a0,d36 <rt_set_errno+0xa>
|
|
d44: d900 sw s0,48(a0)
|
|
d46: bfd5 j d3a <rt_set_errno+0xe>
|
|
|
|
00000d48 <rt_memset>:
|
|
d48: 470d li a4,3
|
|
d4a: 87aa mv a5,a0
|
|
d4c: 00c77663 bgeu a4,a2,d58 <rt_memset+0x10>
|
|
d50: 00357793 andi a5,a0,3
|
|
d54: c791 beqz a5,d60 <rt_memset+0x18>
|
|
d56: 87aa mv a5,a0
|
|
d58: 963e add a2,a2,a5
|
|
d5a: 06c79763 bne a5,a2,dc8 <rt_memset+0x80>
|
|
d5e: 8082 ret
|
|
d60: 0ff5f793 andi a5,a1,255
|
|
d64: 00879713 slli a4,a5,0x8
|
|
d68: 8fd9 or a5,a5,a4
|
|
d6a: 01079713 slli a4,a5,0x10
|
|
d6e: 8f5d or a4,a4,a5
|
|
d70: 00c508b3 add a7,a0,a2
|
|
d74: 87aa mv a5,a0
|
|
d76: 46bd li a3,15
|
|
d78: 40f88833 sub a6,a7,a5
|
|
d7c: 0306eb63 bltu a3,a6,db2 <rt_memset+0x6a>
|
|
d80: 00465793 srli a5,a2,0x4
|
|
d84: 56c1 li a3,-16
|
|
d86: 02d786b3 mul a3,a5,a3
|
|
d8a: 0792 slli a5,a5,0x4
|
|
d8c: 97aa add a5,a5,a0
|
|
d8e: 480d li a6,3
|
|
d90: 9636 add a2,a2,a3
|
|
d92: 00c78333 add t1,a5,a2
|
|
d96: 86be mv a3,a5
|
|
d98: 40d308b3 sub a7,t1,a3
|
|
d9c: 03186263 bltu a6,a7,dc0 <rt_memset+0x78>
|
|
da0: 00265713 srli a4,a2,0x2
|
|
da4: 56f1 li a3,-4
|
|
da6: 02d706b3 mul a3,a4,a3
|
|
daa: 070a slli a4,a4,0x2
|
|
dac: 97ba add a5,a5,a4
|
|
dae: 9636 add a2,a2,a3
|
|
db0: b765 j d58 <rt_memset+0x10>
|
|
db2: c398 sw a4,0(a5)
|
|
db4: c3d8 sw a4,4(a5)
|
|
db6: c798 sw a4,8(a5)
|
|
db8: 07c1 addi a5,a5,16
|
|
dba: fee7ae23 sw a4,-4(a5)
|
|
dbe: bf6d j d78 <rt_memset+0x30>
|
|
dc0: 0691 addi a3,a3,4
|
|
dc2: fee6ae23 sw a4,-4(a3)
|
|
dc6: bfc9 j d98 <rt_memset+0x50>
|
|
dc8: 0785 addi a5,a5,1
|
|
dca: feb78fa3 sb a1,-1(a5)
|
|
dce: b771 j d5a <rt_memset+0x12>
|
|
|
|
00000dd0 <rt_memcpy>:
|
|
dd0: 473d li a4,15
|
|
dd2: 87aa mv a5,a0
|
|
dd4: 00c77763 bgeu a4,a2,de2 <rt_memcpy+0x12>
|
|
dd8: 00b567b3 or a5,a0,a1
|
|
ddc: 8b8d andi a5,a5,3
|
|
dde: cba5 beqz a5,e4e <rt_memcpy+0x7e>
|
|
de0: 87aa mv a5,a0
|
|
de2: 4701 li a4,0
|
|
de4: 08c71563 bne a4,a2,e6e <rt_memcpy+0x9e>
|
|
de8: 8082 ret
|
|
dea: 0007a803 lw a6,0(a5)
|
|
dee: 07c1 addi a5,a5,16
|
|
df0: 0741 addi a4,a4,16
|
|
df2: ff072823 sw a6,-16(a4)
|
|
df6: ff47a803 lw a6,-12(a5)
|
|
dfa: ff072a23 sw a6,-12(a4)
|
|
dfe: ff87a803 lw a6,-8(a5)
|
|
e02: ff072c23 sw a6,-8(a4)
|
|
e06: ffc7a803 lw a6,-4(a5)
|
|
e0a: ff072e23 sw a6,-4(a4)
|
|
e0e: 40f88833 sub a6,a7,a5
|
|
e12: fd06ece3 bltu a3,a6,dea <rt_memcpy+0x1a>
|
|
e16: 00465693 srli a3,a2,0x4
|
|
e1a: 00469713 slli a4,a3,0x4
|
|
e1e: 00e507b3 add a5,a0,a4
|
|
e22: 95ba add a1,a1,a4
|
|
e24: 5741 li a4,-16
|
|
e26: 02e686b3 mul a3,a3,a4
|
|
e2a: 4701 li a4,0
|
|
e2c: 9636 add a2,a2,a3
|
|
e2e: 468d li a3,3
|
|
e30: 40e60833 sub a6,a2,a4
|
|
e34: 0306c363 blt a3,a6,e5a <rt_memcpy+0x8a>
|
|
e38: 00265713 srli a4,a2,0x2
|
|
e3c: 00271693 slli a3,a4,0x2
|
|
e40: 97b6 add a5,a5,a3
|
|
e42: 95b6 add a1,a1,a3
|
|
e44: 56f1 li a3,-4
|
|
e46: 02d70733 mul a4,a4,a3
|
|
e4a: 963a add a2,a2,a4
|
|
e4c: bf59 j de2 <rt_memcpy+0x12>
|
|
e4e: 87ae mv a5,a1
|
|
e50: 872a mv a4,a0
|
|
e52: 00c588b3 add a7,a1,a2
|
|
e56: 46bd li a3,15
|
|
e58: bf5d j e0e <rt_memcpy+0x3e>
|
|
e5a: 00e58833 add a6,a1,a4
|
|
e5e: 00082883 lw a7,0(a6)
|
|
e62: 00e78833 add a6,a5,a4
|
|
e66: 0711 addi a4,a4,4
|
|
e68: 01182023 sw a7,0(a6)
|
|
e6c: b7d1 j e30 <rt_memcpy+0x60>
|
|
e6e: 00e586b3 add a3,a1,a4
|
|
e72: 00068803 lb a6,0(a3)
|
|
e76: 00e786b3 add a3,a5,a4
|
|
e7a: 0705 addi a4,a4,1
|
|
e7c: 01068023 sb a6,0(a3)
|
|
e80: b795 j de4 <rt_memcpy+0x14>
|
|
|
|
00000e82 <rt_memmove>:
|
|
e82: 04a5f263 bgeu a1,a0,ec6 <rt_memmove+0x44>
|
|
e86: 00c586b3 add a3,a1,a2
|
|
e8a: 02d57e63 bgeu a0,a3,ec6 <rt_memmove+0x44>
|
|
e8e: fff64593 not a1,a2
|
|
e92: 4781 li a5,0
|
|
e94: 17fd addi a5,a5,-1
|
|
e96: 00f59363 bne a1,a5,e9c <rt_memmove+0x1a>
|
|
e9a: 8082 ret
|
|
e9c: 00f68733 add a4,a3,a5
|
|
ea0: 00070803 lb a6,0(a4)
|
|
ea4: 00c78733 add a4,a5,a2
|
|
ea8: 972a add a4,a4,a0
|
|
eaa: 01070023 sb a6,0(a4)
|
|
eae: b7dd j e94 <rt_memmove+0x12>
|
|
eb0: 00f58733 add a4,a1,a5
|
|
eb4: 00070683 lb a3,0(a4)
|
|
eb8: 00f50733 add a4,a0,a5
|
|
ebc: 0785 addi a5,a5,1
|
|
ebe: a314 sb a3,0(a4)
|
|
ec0: fef618e3 bne a2,a5,eb0 <rt_memmove+0x2e>
|
|
ec4: 8082 ret
|
|
ec6: 4781 li a5,0
|
|
ec8: bfe5 j ec0 <rt_memmove+0x3e>
|
|
|
|
00000eca <rt_strncpy>:
|
|
eca: c60d beqz a2,ef4 <rt_strncpy+0x2a>
|
|
ecc: 87aa mv a5,a0
|
|
ece: 0585 addi a1,a1,1
|
|
ed0: fff58703 lb a4,-1(a1)
|
|
ed4: 0785 addi a5,a5,1
|
|
ed6: fff60693 addi a3,a2,-1
|
|
eda: fee78fa3 sb a4,-1(a5)
|
|
ede: eb09 bnez a4,ef0 <rt_strncpy+0x26>
|
|
ee0: 963e add a2,a2,a5
|
|
ee2: 0785 addi a5,a5,1
|
|
ee4: 00c79363 bne a5,a2,eea <rt_strncpy+0x20>
|
|
ee8: 8082 ret
|
|
eea: fe078fa3 sb zero,-1(a5)
|
|
eee: bfd5 j ee2 <rt_strncpy+0x18>
|
|
ef0: 8636 mv a2,a3
|
|
ef2: fef1 bnez a3,ece <rt_strncpy+0x4>
|
|
ef4: 8082 ret
|
|
|
|
00000ef6 <rt_strncmp>:
|
|
ef6: 4701 li a4,0
|
|
ef8: 00e61463 bne a2,a4,f00 <rt_strncmp+0xa>
|
|
efc: 4781 li a5,0
|
|
efe: a839 j f1c <rt_strncmp+0x26>
|
|
f00: 00e507b3 add a5,a0,a4
|
|
f04: 00078683 lb a3,0(a5)
|
|
f08: 00e587b3 add a5,a1,a4
|
|
f0c: 239c lbu a5,0(a5)
|
|
f0e: 40f687b3 sub a5,a3,a5
|
|
f12: 07e2 slli a5,a5,0x18
|
|
f14: 87e1 srai a5,a5,0x18
|
|
f16: e399 bnez a5,f1c <rt_strncmp+0x26>
|
|
f18: 0705 addi a4,a4,1
|
|
f1a: fef9 bnez a3,ef8 <rt_strncmp+0x2>
|
|
f1c: 853e mv a0,a5
|
|
f1e: 8082 ret
|
|
|
|
00000f20 <rt_strlen>:
|
|
f20: 87aa mv a5,a0
|
|
f22: 00078703 lb a4,0(a5)
|
|
f26: e701 bnez a4,f2e <rt_strlen+0xe>
|
|
f28: 40a78533 sub a0,a5,a0
|
|
f2c: 8082 ret
|
|
f2e: 0785 addi a5,a5,1
|
|
f30: bfcd j f22 <rt_strlen+0x2>
|
|
|
|
00000f32 <rt_vsnprintf>:
|
|
f32: c48ff2ef jal t0,37a <__riscv_save_10>
|
|
f36: 892e mv s2,a1
|
|
f38: 01250bb3 add s7,a0,s2
|
|
f3c: 1141 addi sp,sp,-16
|
|
f3e: 8c2a mv s8,a0
|
|
f40: 85b6 mv a1,a3
|
|
f42: 00abf563 bgeu s7,a0,f4c <rt_vsnprintf+0x1a>
|
|
f46: fff54913 not s2,a0
|
|
f4a: 5bfd li s7,-1
|
|
f4c: 69c1 lui s3,0x10
|
|
f4e: 00005a37 lui s4,0x5
|
|
f52: 8462 mv s0,s8
|
|
f54: 02b00a93 li s5,43
|
|
f58: 02000b13 li s6,32
|
|
f5c: 19fd addi s3,s3,-1
|
|
f5e: 2bca0a13 addi s4,s4,700 # 52bc <large_digits.2583+0x9c>
|
|
f62: a831 j f7e <rt_vsnprintf+0x4c>
|
|
f64: 02500713 li a4,37
|
|
f68: 02e78963 beq a5,a4,f9a <rt_vsnprintf+0x68>
|
|
f6c: 01747363 bgeu s0,s7,f72 <rt_vsnprintf+0x40>
|
|
f70: a01c sb a5,0(s0)
|
|
f72: 00140513 addi a0,s0,1
|
|
f76: 84b2 mv s1,a2
|
|
f78: 00148613 addi a2,s1,1
|
|
f7c: 842a mv s0,a0
|
|
f7e: 00060783 lb a5,0(a2)
|
|
f82: f3ed bnez a5,f64 <rt_vsnprintf+0x32>
|
|
f84: 00090663 beqz s2,f90 <rt_vsnprintf+0x5e>
|
|
f88: 2f747c63 bgeu s0,s7,1280 <rt_vsnprintf+0x34e>
|
|
f8c: 00040023 sb zero,0(s0)
|
|
f90: 41840533 sub a0,s0,s8
|
|
f94: 0141 addi sp,sp,16
|
|
f96: c1cff06f j 3b2 <__riscv_restore_10>
|
|
f9a: 4801 li a6,0
|
|
f9c: 02d00713 li a4,45
|
|
fa0: 02300693 li a3,35
|
|
fa4: 03000513 li a0,48
|
|
fa8: a031 j fb4 <rt_vsnprintf+0x82>
|
|
faa: 01579e63 bne a5,s5,fc6 <rt_vsnprintf+0x94>
|
|
fae: 00486813 ori a6,a6,4
|
|
fb2: 8626 mv a2,s1
|
|
fb4: 00160783 lb a5,1(a2)
|
|
fb8: 00160493 addi s1,a2,1
|
|
fbc: fee797e3 bne a5,a4,faa <rt_vsnprintf+0x78>
|
|
fc0: 01086813 ori a6,a6,16
|
|
fc4: b7fd j fb2 <rt_vsnprintf+0x80>
|
|
fc6: 01679563 bne a5,s6,fd0 <rt_vsnprintf+0x9e>
|
|
fca: 00886813 ori a6,a6,8
|
|
fce: b7d5 j fb2 <rt_vsnprintf+0x80>
|
|
fd0: 00d79563 bne a5,a3,fda <rt_vsnprintf+0xa8>
|
|
fd4: 02086813 ori a6,a6,32
|
|
fd8: bfe9 j fb2 <rt_vsnprintf+0x80>
|
|
fda: 00a79563 bne a5,a0,fe4 <rt_vsnprintf+0xb2>
|
|
fde: 00186813 ori a6,a6,1
|
|
fe2: bfc1 j fb2 <rt_vsnprintf+0x80>
|
|
fe4: fd078713 addi a4,a5,-48
|
|
fe8: 46a5 li a3,9
|
|
fea: 04e6e663 bltu a3,a4,1036 <rt_vsnprintf+0x104>
|
|
fee: 4701 li a4,0
|
|
ff0: 46a5 li a3,9
|
|
ff2: 4529 li a0,10
|
|
ff4: a039 j 1002 <rt_vsnprintf+0xd0>
|
|
ff6: 02a70733 mul a4,a4,a0
|
|
ffa: 0485 addi s1,s1,1
|
|
ffc: 973e add a4,a4,a5
|
|
ffe: fd070713 addi a4,a4,-48
|
|
1002: 00048783 lb a5,0(s1)
|
|
1006: fd078613 addi a2,a5,-48
|
|
100a: fec6f6e3 bgeu a3,a2,ff6 <rt_vsnprintf+0xc4>
|
|
100e: 00048603 lb a2,0(s1)
|
|
1012: 02e00693 li a3,46
|
|
1016: 57fd li a5,-1
|
|
1018: 04d61f63 bne a2,a3,1076 <rt_vsnprintf+0x144>
|
|
101c: 00148783 lb a5,1(s1)
|
|
1020: 4625 li a2,9
|
|
1022: 00148693 addi a3,s1,1
|
|
1026: fd078513 addi a0,a5,-48
|
|
102a: 0aa66563 bltu a2,a0,10d4 <rt_vsnprintf+0x1a2>
|
|
102e: 4781 li a5,0
|
|
1030: 4525 li a0,9
|
|
1032: 4329 li t1,10
|
|
1034: a03d j 1062 <rt_vsnprintf+0x130>
|
|
1036: 02a00693 li a3,42
|
|
103a: 577d li a4,-1
|
|
103c: fcd799e3 bne a5,a3,100e <rt_vsnprintf+0xdc>
|
|
1040: 4198 lw a4,0(a1)
|
|
1042: 00260493 addi s1,a2,2
|
|
1046: 0591 addi a1,a1,4
|
|
1048: fc0753e3 bgez a4,100e <rt_vsnprintf+0xdc>
|
|
104c: 40e00733 neg a4,a4
|
|
1050: 01086813 ori a6,a6,16
|
|
1054: bf6d j 100e <rt_vsnprintf+0xdc>
|
|
1056: 026787b3 mul a5,a5,t1
|
|
105a: 0685 addi a3,a3,1
|
|
105c: 97b2 add a5,a5,a2
|
|
105e: fd078793 addi a5,a5,-48
|
|
1062: 00068603 lb a2,0(a3)
|
|
1066: fd060893 addi a7,a2,-48
|
|
106a: ff1576e3 bgeu a0,a7,1056 <rt_vsnprintf+0x124>
|
|
106e: 0007d363 bgez a5,1074 <rt_vsnprintf+0x142>
|
|
1072: 4781 li a5,0
|
|
1074: 84b6 mv s1,a3
|
|
1076: 00048683 lb a3,0(s1)
|
|
107a: 06800613 li a2,104
|
|
107e: 4501 li a0,0
|
|
1080: ffb6f893 andi a7,a3,-5
|
|
1084: 00c89563 bne a7,a2,108e <rt_vsnprintf+0x15c>
|
|
1088: 0ff6f513 andi a0,a3,255
|
|
108c: 0485 addi s1,s1,1
|
|
108e: 00048603 lb a2,0(s1)
|
|
1092: 06900693 li a3,105
|
|
1096: 06d60363 beq a2,a3,10fc <rt_vsnprintf+0x1ca>
|
|
109a: 06c6c563 blt a3,a2,1104 <rt_vsnprintf+0x1d2>
|
|
109e: 05800693 li a3,88
|
|
10a2: 1cd60463 beq a2,a3,126a <rt_vsnprintf+0x338>
|
|
10a6: 04c6c363 blt a3,a2,10ec <rt_vsnprintf+0x1ba>
|
|
10aa: 02500793 li a5,37
|
|
10ae: 1af60863 beq a2,a5,125e <rt_vsnprintf+0x32c>
|
|
10b2: 01747563 bgeu s0,s7,10bc <rt_vsnprintf+0x18a>
|
|
10b6: 02500793 li a5,37
|
|
10ba: a01c sb a5,0(s0)
|
|
10bc: 00048783 lb a5,0(s1)
|
|
10c0: 00140513 addi a0,s0,1
|
|
10c4: 1a078763 beqz a5,1272 <rt_vsnprintf+0x340>
|
|
10c8: 01757363 bgeu a0,s7,10ce <rt_vsnprintf+0x19c>
|
|
10cc: b01c sb a5,1(s0)
|
|
10ce: 00240513 addi a0,s0,2
|
|
10d2: b55d j f78 <rt_vsnprintf+0x46>
|
|
10d4: 02a00613 li a2,42
|
|
10d8: 00c79763 bne a5,a2,10e6 <rt_vsnprintf+0x1b4>
|
|
10dc: 419c lw a5,0(a1)
|
|
10de: 00248693 addi a3,s1,2
|
|
10e2: 0591 addi a1,a1,4
|
|
10e4: b769 j 106e <rt_vsnprintf+0x13c>
|
|
10e6: 84b6 mv s1,a3
|
|
10e8: 4781 li a5,0
|
|
10ea: b771 j 1076 <rt_vsnprintf+0x144>
|
|
10ec: 06300693 li a3,99
|
|
10f0: 08d60363 beq a2,a3,1176 <rt_vsnprintf+0x244>
|
|
10f4: 06400693 li a3,100
|
|
10f8: fad61de3 bne a2,a3,10b2 <rt_vsnprintf+0x180>
|
|
10fc: 00286813 ori a6,a6,2
|
|
1100: 46a9 li a3,10
|
|
1102: a099 j 1148 <rt_vsnprintf+0x216>
|
|
1104: 07300693 li a3,115
|
|
1108: 0cd60463 beq a2,a3,11d0 <rt_vsnprintf+0x29e>
|
|
110c: 02c6c563 blt a3,a2,1136 <rt_vsnprintf+0x204>
|
|
1110: 06f00693 li a3,111
|
|
1114: 16d60163 beq a2,a3,1276 <rt_vsnprintf+0x344>
|
|
1118: 07000693 li a3,112
|
|
111c: f8d61be3 bne a2,a3,10b2 <rt_vsnprintf+0x180>
|
|
1120: 56fd li a3,-1
|
|
1122: 00d71563 bne a4,a3,112c <rt_vsnprintf+0x1fa>
|
|
1126: 00186813 ori a6,a6,1
|
|
112a: 4721 li a4,8
|
|
112c: 00458c93 addi s9,a1,4
|
|
1130: 46c1 li a3,16
|
|
1132: 4190 lw a2,0(a1)
|
|
1134: a81d j 116a <rt_vsnprintf+0x238>
|
|
1136: 07500693 li a3,117
|
|
113a: fcd603e3 beq a2,a3,1100 <rt_vsnprintf+0x1ce>
|
|
113e: 07800893 li a7,120
|
|
1142: 46c1 li a3,16
|
|
1144: f71617e3 bne a2,a7,10b2 <rt_vsnprintf+0x180>
|
|
1148: 06c00613 li a2,108
|
|
114c: 00458c93 addi s9,a1,4
|
|
1150: fec501e3 beq a0,a2,1132 <rt_vsnprintf+0x200>
|
|
1154: 06800613 li a2,104
|
|
1158: fcc51de3 bne a0,a2,1132 <rt_vsnprintf+0x200>
|
|
115c: 4190 lw a2,0(a1)
|
|
115e: 00287593 andi a1,a6,2
|
|
1162: 10059c63 bnez a1,127a <rt_vsnprintf+0x348>
|
|
1166: 01367633 and a2,a2,s3
|
|
116a: 85de mv a1,s7
|
|
116c: 8522 mv a0,s0
|
|
116e: a41ff0ef jal ra,bae <print_number>
|
|
1172: 85e6 mv a1,s9
|
|
1174: b511 j f78 <rt_vsnprintf+0x46>
|
|
1176: 01087813 andi a6,a6,16
|
|
117a: 02081563 bnez a6,11a4 <rt_vsnprintf+0x272>
|
|
117e: 87ba mv a5,a4
|
|
1180: 02000693 li a3,32
|
|
1184: a029 j 118e <rt_vsnprintf+0x25c>
|
|
1186: 01747363 bgeu s0,s7,118c <rt_vsnprintf+0x25a>
|
|
118a: a014 sb a3,0(s0)
|
|
118c: 0405 addi s0,s0,1
|
|
118e: 17fd addi a5,a5,-1
|
|
1190: fef04be3 bgtz a5,1186 <rt_vsnprintf+0x254>
|
|
1194: fff70793 addi a5,a4,-1
|
|
1198: 00e04363 bgtz a4,119e <rt_vsnprintf+0x26c>
|
|
119c: 4705 li a4,1
|
|
119e: 40e78733 sub a4,a5,a4
|
|
11a2: 0705 addi a4,a4,1
|
|
11a4: 00458793 addi a5,a1,4
|
|
11a8: 01747463 bgeu s0,s7,11b0 <rt_vsnprintf+0x27e>
|
|
11ac: 4194 lw a3,0(a1)
|
|
11ae: a014 sb a3,0(s0)
|
|
11b0: 00140513 addi a0,s0,1
|
|
11b4: 9722 add a4,a4,s0
|
|
11b6: 02000613 li a2,32
|
|
11ba: 40a706b3 sub a3,a4,a0
|
|
11be: 00d04463 bgtz a3,11c6 <rt_vsnprintf+0x294>
|
|
11c2: 85be mv a1,a5
|
|
11c4: bb55 j f78 <rt_vsnprintf+0x46>
|
|
11c6: 01757363 bgeu a0,s7,11cc <rt_vsnprintf+0x29a>
|
|
11ca: a110 sb a2,0(a0)
|
|
11cc: 0505 addi a0,a0,1
|
|
11ce: b7f5 j 11ba <rt_vsnprintf+0x288>
|
|
11d0: 0005ac83 lw s9,0(a1)
|
|
11d4: 00458d13 addi s10,a1,4
|
|
11d8: 000c9363 bnez s9,11de <rt_vsnprintf+0x2ac>
|
|
11dc: 8cd2 mv s9,s4
|
|
11de: 8566 mv a0,s9
|
|
11e0: c63e sw a5,12(sp)
|
|
11e2: c43a sw a4,8(sp)
|
|
11e4: c242 sw a6,4(sp)
|
|
11e6: 3b2d jal f20 <rt_strlen>
|
|
11e8: 47b2 lw a5,12(sp)
|
|
11ea: 86aa mv a3,a0
|
|
11ec: 4812 lw a6,4(sp)
|
|
11ee: 4722 lw a4,8(sp)
|
|
11f0: 00f05563 blez a5,11fa <rt_vsnprintf+0x2c8>
|
|
11f4: 00a7d363 bge a5,a0,11fa <rt_vsnprintf+0x2c8>
|
|
11f8: 86be mv a3,a5
|
|
11fa: 01087813 andi a6,a6,16
|
|
11fe: 00081e63 bnez a6,121a <rt_vsnprintf+0x2e8>
|
|
1202: 87ba mv a5,a4
|
|
1204: 02000613 li a2,32
|
|
1208: a031 j 1214 <rt_vsnprintf+0x2e2>
|
|
120a: 01747363 bgeu s0,s7,1210 <rt_vsnprintf+0x2de>
|
|
120e: a010 sb a2,0(s0)
|
|
1210: 0405 addi s0,s0,1
|
|
1212: 87ba mv a5,a4
|
|
1214: 177d addi a4,a4,-1
|
|
1216: fef6cae3 blt a3,a5,120a <rt_vsnprintf+0x2d8>
|
|
121a: 4781 li a5,0
|
|
121c: 02d7c163 blt a5,a3,123e <rt_vsnprintf+0x30c>
|
|
1220: 87b6 mv a5,a3
|
|
1222: 0006d363 bgez a3,1228 <rt_vsnprintf+0x2f6>
|
|
1226: 4781 li a5,0
|
|
1228: 00f40533 add a0,s0,a5
|
|
122c: 972a add a4,a4,a0
|
|
122e: 02000613 li a2,32
|
|
1232: 40a707b3 sub a5,a4,a0
|
|
1236: 00f6cf63 blt a3,a5,1254 <rt_vsnprintf+0x322>
|
|
123a: 85ea mv a1,s10
|
|
123c: bb35 j f78 <rt_vsnprintf+0x46>
|
|
123e: 00f40633 add a2,s0,a5
|
|
1242: 01767763 bgeu a2,s7,1250 <rt_vsnprintf+0x31e>
|
|
1246: 00fc85b3 add a1,s9,a5
|
|
124a: 00058583 lb a1,0(a1)
|
|
124e: a20c sb a1,0(a2)
|
|
1250: 0785 addi a5,a5,1
|
|
1252: b7e9 j 121c <rt_vsnprintf+0x2ea>
|
|
1254: 01757363 bgeu a0,s7,125a <rt_vsnprintf+0x328>
|
|
1258: a110 sb a2,0(a0)
|
|
125a: 0505 addi a0,a0,1
|
|
125c: bfd9 j 1232 <rt_vsnprintf+0x300>
|
|
125e: 01747363 bgeu s0,s7,1264 <rt_vsnprintf+0x332>
|
|
1262: a010 sb a2,0(s0)
|
|
1264: 00140513 addi a0,s0,1
|
|
1268: bb01 j f78 <rt_vsnprintf+0x46>
|
|
126a: 04086813 ori a6,a6,64
|
|
126e: 46c1 li a3,16
|
|
1270: bde1 j 1148 <rt_vsnprintf+0x216>
|
|
1272: 14fd addi s1,s1,-1
|
|
1274: b311 j f78 <rt_vsnprintf+0x46>
|
|
1276: 46a1 li a3,8
|
|
1278: bdc1 j 1148 <rt_vsnprintf+0x216>
|
|
127a: 0642 slli a2,a2,0x10
|
|
127c: 8641 srai a2,a2,0x10
|
|
127e: b5f5 j 116a <rt_vsnprintf+0x238>
|
|
1280: fe0b8fa3 sb zero,-1(s7)
|
|
1284: b331 j f90 <rt_vsnprintf+0x5e>
|
|
|
|
00001286 <rt_console_get_device>:
|
|
1286: 81c1a503 lw a0,-2020(gp) # 20000264 <_console_device>
|
|
128a: 8082 ret
|
|
|
|
0000128c <rt_console_set_device>:
|
|
128c: 916ff2ef jal t0,3a2 <__riscv_save_0>
|
|
1290: 81c1a903 lw s2,-2020(gp) # 20000264 <_console_device>
|
|
1294: aeeff0ef jal ra,582 <rt_device_find>
|
|
1298: cd11 beqz a0,12b4 <rt_console_set_device+0x28>
|
|
129a: 81c18413 addi s0,gp,-2020 # 20000264 <_console_device>
|
|
129e: 84aa mv s1,a0
|
|
12a0: 4008 lw a0,0(s0)
|
|
12a2: c119 beqz a0,12a8 <rt_console_set_device+0x1c>
|
|
12a4: bd6ff0ef jal ra,67a <rt_device_close>
|
|
12a8: 04300593 li a1,67
|
|
12ac: 8526 mv a0,s1
|
|
12ae: b52ff0ef jal ra,600 <rt_device_open>
|
|
12b2: c004 sw s1,0(s0)
|
|
12b4: 854a mv a0,s2
|
|
12b6: 910ff06f j 3c6 <__riscv_restore_0>
|
|
|
|
000012ba <rt_hw_console_output>:
|
|
12ba: 8082 ret
|
|
|
|
000012bc <rt_kprintf>:
|
|
12bc: 7139 addi sp,sp,-64
|
|
12be: ca26 sw s1,20(sp)
|
|
12c0: d22e sw a1,36(sp)
|
|
12c2: d432 sw a2,40(sp)
|
|
12c4: d636 sw a3,44(sp)
|
|
12c6: 862a mv a2,a0
|
|
12c8: 1054 addi a3,sp,36
|
|
12ca: 07f00593 li a1,127
|
|
12ce: b6418513 addi a0,gp,-1180 # 200005ac <rt_log_buf.2693>
|
|
12d2: da3e sw a5,52(sp)
|
|
12d4: c636 sw a3,12(sp)
|
|
12d6: ce06 sw ra,28(sp)
|
|
12d8: cc22 sw s0,24(sp)
|
|
12da: d83a sw a4,48(sp)
|
|
12dc: dc42 sw a6,56(sp)
|
|
12de: de46 sw a7,60(sp)
|
|
12e0: 3989 jal f32 <rt_vsnprintf>
|
|
12e2: 86aa mv a3,a0
|
|
12e4: 81c1a503 lw a0,-2020(gp) # 20000264 <_console_device>
|
|
12e8: e909 bnez a0,12fa <rt_kprintf+0x3e>
|
|
12ea: b6418513 addi a0,gp,-1180 # 200005ac <rt_log_buf.2693>
|
|
12ee: 37f1 jal 12ba <rt_hw_console_output>
|
|
12f0: 40f2 lw ra,28(sp)
|
|
12f2: 4462 lw s0,24(sp)
|
|
12f4: 44d2 lw s1,20(sp)
|
|
12f6: 6121 addi sp,sp,64
|
|
12f8: 8082 ret
|
|
12fa: 8626 mv a2,s1
|
|
12fc: 2d26 lhu s1,26(a0)
|
|
12fe: 81c18413 addi s0,gp,-2020 # 20000264 <_console_device>
|
|
1302: 0404e793 ori a5,s1,64
|
|
1306: ad3e sh a5,26(a0)
|
|
1308: 07f00793 li a5,127
|
|
130c: 00d7f463 bgeu a5,a3,1314 <rt_kprintf+0x58>
|
|
1310: 07f00693 li a3,127
|
|
1314: b6418613 addi a2,gp,-1180 # 200005ac <rt_log_buf.2693>
|
|
1318: 4581 li a1,0
|
|
131a: bb6ff0ef jal ra,6d0 <rt_device_write>
|
|
131e: 401c lw a5,0(s0)
|
|
1320: afa6 sh s1,26(a5)
|
|
1322: b7f9 j 12f0 <rt_kprintf+0x34>
|
|
|
|
00001324 <rt_show_version>:
|
|
1324: 87eff2ef jal t0,3a2 <__riscv_save_0>
|
|
1328: 00005537 lui a0,0x5
|
|
132c: 23450513 addi a0,a0,564 # 5234 <large_digits.2583+0x14>
|
|
1330: 3771 jal 12bc <rt_kprintf>
|
|
1332: 00005537 lui a0,0x5
|
|
1336: 24050513 addi a0,a0,576 # 5240 <large_digits.2583+0x20>
|
|
133a: 3749 jal 12bc <rt_kprintf>
|
|
133c: 00005737 lui a4,0x5
|
|
1340: 00005537 lui a0,0x5
|
|
1344: 26470713 addi a4,a4,612 # 5264 <large_digits.2583+0x44>
|
|
1348: 468d li a3,3
|
|
134a: 4605 li a2,1
|
|
134c: 458d li a1,3
|
|
134e: 27050513 addi a0,a0,624 # 5270 <large_digits.2583+0x50>
|
|
1352: 37ad jal 12bc <rt_kprintf>
|
|
1354: 00005537 lui a0,0x5
|
|
1358: 29050513 addi a0,a0,656 # 5290 <large_digits.2583+0x70>
|
|
135c: 3785 jal 12bc <rt_kprintf>
|
|
135e: 868ff06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001362 <__rt_ffs>:
|
|
1362: c531 beqz a0,13ae <__rt_ffs+0x4c>
|
|
1364: 6695 lui a3,0x5
|
|
1366: 0ff57713 andi a4,a0,255
|
|
136a: 12068693 addi a3,a3,288 # 5120 <__lowest_bit_bitmap>
|
|
136e: c709 beqz a4,1378 <__rt_ffs+0x16>
|
|
1370: 96ba add a3,a3,a4
|
|
1372: 2288 lbu a0,0(a3)
|
|
1374: 0505 addi a0,a0,1
|
|
1376: 8082 ret
|
|
1378: 67c1 lui a5,0x10
|
|
137a: f0078793 addi a5,a5,-256 # ff00 <__rt_init_end+0x9780>
|
|
137e: 8fe9 and a5,a5,a0
|
|
1380: cb81 beqz a5,1390 <__rt_ffs+0x2e>
|
|
1382: 8521 srai a0,a0,0x8
|
|
1384: 0ff57713 andi a4,a0,255
|
|
1388: 9736 add a4,a4,a3
|
|
138a: 2308 lbu a0,0(a4)
|
|
138c: 0525 addi a0,a0,9
|
|
138e: 8082 ret
|
|
1390: 00ff07b7 lui a5,0xff0
|
|
1394: 8fe9 and a5,a5,a0
|
|
1396: cb81 beqz a5,13a6 <__rt_ffs+0x44>
|
|
1398: 8541 srai a0,a0,0x10
|
|
139a: 0ff57793 andi a5,a0,255
|
|
139e: 97b6 add a5,a5,a3
|
|
13a0: 2388 lbu a0,0(a5)
|
|
13a2: 0545 addi a0,a0,17
|
|
13a4: 8082 ret
|
|
13a6: 8161 srli a0,a0,0x18
|
|
13a8: 9536 add a0,a0,a3
|
|
13aa: 2108 lbu a0,0(a0)
|
|
13ac: 0565 addi a0,a0,25
|
|
13ae: 8082 ret
|
|
|
|
000013b0 <plug_holes>:
|
|
13b0: 8241a703 lw a4,-2012(gp) # 2000026c <heap_ptr>
|
|
13b4: 415c lw a5,4(a0)
|
|
13b6: 97ba add a5,a5,a4
|
|
13b8: 02f50563 beq a0,a5,13e2 <plug_holes+0x32>
|
|
13bc: 23b6 lhu a3,2(a5)
|
|
13be: e295 bnez a3,13e2 <plug_holes+0x32>
|
|
13c0: 8201a683 lw a3,-2016(gp) # 20000268 <heap_end>
|
|
13c4: 00f68f63 beq a3,a5,13e2 <plug_holes+0x32>
|
|
13c8: 82818693 addi a3,gp,-2008 # 20000270 <lfree>
|
|
13cc: 4290 lw a2,0(a3)
|
|
13ce: 00f61363 bne a2,a5,13d4 <plug_holes+0x24>
|
|
13d2: c288 sw a0,0(a3)
|
|
13d4: 43d4 lw a3,4(a5)
|
|
13d6: c154 sw a3,4(a0)
|
|
13d8: 43dc lw a5,4(a5)
|
|
13da: 40e506b3 sub a3,a0,a4
|
|
13de: 97ba add a5,a5,a4
|
|
13e0: c794 sw a3,8(a5)
|
|
13e2: 4510 lw a2,8(a0)
|
|
13e4: 00c707b3 add a5,a4,a2
|
|
13e8: 00f50f63 beq a0,a5,1406 <plug_holes+0x56>
|
|
13ec: 23b6 lhu a3,2(a5)
|
|
13ee: ee81 bnez a3,1406 <plug_holes+0x56>
|
|
13f0: 82818693 addi a3,gp,-2008 # 20000270 <lfree>
|
|
13f4: 428c lw a1,0(a3)
|
|
13f6: 00a59363 bne a1,a0,13fc <plug_holes+0x4c>
|
|
13fa: c29c sw a5,0(a3)
|
|
13fc: 4154 lw a3,4(a0)
|
|
13fe: c3d4 sw a3,4(a5)
|
|
1400: 415c lw a5,4(a0)
|
|
1402: 973e add a4,a4,a5
|
|
1404: c710 sw a2,8(a4)
|
|
1406: 8082 ret
|
|
|
|
00001408 <list_mem>:
|
|
1408: f9bfe2ef jal t0,3a2 <__riscv_save_0>
|
|
140c: 8301a583 lw a1,-2000(gp) # 20000278 <mem_size_aligned>
|
|
1410: 00005537 lui a0,0x5
|
|
1414: 2d850513 addi a0,a0,728 # 52d8 <small_digits.2582+0x14>
|
|
1418: 3555 jal 12bc <rt_kprintf>
|
|
141a: 83c1a583 lw a1,-1988(gp) # 20000284 <used_mem>
|
|
141e: 00005537 lui a0,0x5
|
|
1422: 2ec50513 addi a0,a0,748 # 52ec <small_digits.2582+0x28>
|
|
1426: 3d59 jal 12bc <rt_kprintf>
|
|
1428: 82c1a583 lw a1,-2004(gp) # 20000274 <max_mem>
|
|
142c: 00005537 lui a0,0x5
|
|
1430: 30050513 addi a0,a0,768 # 5300 <small_digits.2582+0x3c>
|
|
1434: 3561 jal 12bc <rt_kprintf>
|
|
1436: f91fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000143a <rt_system_heap_init>:
|
|
143a: f69fe2ef jal t0,3a2 <__riscv_save_0>
|
|
143e: ffc5f713 andi a4,a1,-4
|
|
1442: 46e1 li a3,24
|
|
1444: 862e mv a2,a1
|
|
1446: 06e6f163 bgeu a3,a4,14a8 <rt_system_heap_init+0x6e>
|
|
144a: 00350793 addi a5,a0,3
|
|
144e: 9bf1 andi a5,a5,-4
|
|
1450: fe870693 addi a3,a4,-24
|
|
1454: 04f6ea63 bltu a3,a5,14a8 <rt_system_heap_init+0x6e>
|
|
1458: 8f1d sub a4,a4,a5
|
|
145a: fe870613 addi a2,a4,-24
|
|
145e: 82c1a823 sw a2,-2000(gp) # 20000278 <mem_size_aligned>
|
|
1462: 6689 lui a3,0x2
|
|
1464: 1751 addi a4,a4,-12
|
|
1466: 82418413 addi s0,gp,-2012 # 2000026c <heap_ptr>
|
|
146a: ea068693 addi a3,a3,-352 # 1ea0 <rt_hw_interrupt_disable+0xa>
|
|
146e: c3d8 sw a4,4(a5)
|
|
1470: c394 sw a3,0(a5)
|
|
1472: 0007a423 sw zero,8(a5) # ff0008 <__rt_init_end+0xfe9888>
|
|
1476: c01c sw a5,0(s0)
|
|
1478: 97ba add a5,a5,a4
|
|
147a: 82f1a023 sw a5,-2016(gp) # 20000268 <heap_end>
|
|
147e: 66c9 lui a3,0x12
|
|
1480: ea068693 addi a3,a3,-352 # 11ea0 <__rt_init_end+0xb720>
|
|
1484: 000055b7 lui a1,0x5
|
|
1488: c394 sw a3,0(a5)
|
|
148a: c3d8 sw a4,4(a5)
|
|
148c: c798 sw a4,8(a5)
|
|
148e: 4681 li a3,0
|
|
1490: 4605 li a2,1
|
|
1492: 39858593 addi a1,a1,920 # 5398 <__fsym_list_mem_name+0x58>
|
|
1496: be418513 addi a0,gp,-1052 # 2000062c <heap_sem>
|
|
149a: ba4ff0ef jal ra,83e <rt_sem_init>
|
|
149e: 4018 lw a4,0(s0)
|
|
14a0: 82e1a423 sw a4,-2008(gp) # 20000270 <lfree>
|
|
14a4: f23fe06f j 3c6 <__riscv_restore_0>
|
|
14a8: 85aa mv a1,a0
|
|
14aa: 00005537 lui a0,0x5
|
|
14ae: 3a050513 addi a0,a0,928 # 53a0 <__fsym_list_mem_name+0x60>
|
|
14b2: 3529 jal 12bc <rt_kprintf>
|
|
14b4: bfc5 j 14a4 <rt_system_heap_init+0x6a>
|
|
|
|
000014b6 <rt_malloc>:
|
|
14b6: eedfe2ef jal t0,3a2 <__riscv_save_0>
|
|
14ba: c539 beqz a0,1508 <rt_malloc+0x52>
|
|
14bc: 8301a703 lw a4,-2000(gp) # 20000278 <mem_size_aligned>
|
|
14c0: 00350413 addi s0,a0,3
|
|
14c4: 9871 andi s0,s0,-4
|
|
14c6: 83018913 addi s2,gp,-2000 # 20000278 <mem_size_aligned>
|
|
14ca: 4481 li s1,0
|
|
14cc: 0e876663 bltu a4,s0,15b8 <rt_malloc+0x102>
|
|
14d0: 47b1 li a5,12
|
|
14d2: 00f47363 bgeu s0,a5,14d8 <rt_malloc+0x22>
|
|
14d6: 4431 li s0,12
|
|
14d8: 55fd li a1,-1
|
|
14da: be418513 addi a0,gp,-1052 # 2000062c <heap_sem>
|
|
14de: b88ff0ef jal ra,866 <rt_sem_take>
|
|
14e2: 8281a783 lw a5,-2008(gp) # 20000270 <lfree>
|
|
14e6: 8241a583 lw a1,-2012(gp) # 2000026c <heap_ptr>
|
|
14ea: 00092883 lw a7,0(s2)
|
|
14ee: 8526 mv a0,s1
|
|
14f0: 40b78633 sub a2,a5,a1
|
|
14f4: 408886b3 sub a3,a7,s0
|
|
14f8: 82818813 addi a6,gp,-2008 # 20000270 <lfree>
|
|
14fc: 00d66863 bltu a2,a3,150c <rt_malloc+0x56>
|
|
1500: be418513 addi a0,gp,-1052 # 2000062c <heap_sem>
|
|
1504: be2ff0ef jal ra,8e6 <rt_sem_release>
|
|
1508: 4481 li s1,0
|
|
150a: a07d j 15b8 <rt_malloc+0x102>
|
|
150c: 00c584b3 add s1,a1,a2
|
|
1510: 20ba lhu a4,2(s1)
|
|
1512: 0044ae03 lw t3,4(s1)
|
|
1516: e761 bnez a4,15de <rt_malloc+0x128>
|
|
1518: 40ce0733 sub a4,t3,a2
|
|
151c: ff470f93 addi t6,a4,-12
|
|
1520: 0a8fef63 bltu t6,s0,15de <rt_malloc+0x128>
|
|
1524: 83c18f13 addi t5,gp,-1988 # 20000284 <used_mem>
|
|
1528: 82c18e93 addi t4,gp,-2004 # 20000274 <max_mem>
|
|
152c: 01840313 addi t1,s0,24
|
|
1530: 000f2683 lw a3,0(t5)
|
|
1534: 000ea383 lw t2,0(t4)
|
|
1538: 83c18913 addi s2,gp,-1988 # 20000284 <used_mem>
|
|
153c: 82c18293 addi t0,gp,-2004 # 20000274 <max_mem>
|
|
1540: 066fef63 bltu t6,t1,15be <rt_malloc+0x108>
|
|
1544: 00c40713 addi a4,s0,12
|
|
1548: 9732 add a4,a4,a2
|
|
154a: 6e89 lui t4,0x2
|
|
154c: 00e58333 add t1,a1,a4
|
|
1550: ea0e8e93 addi t4,t4,-352 # 1ea0 <rt_hw_interrupt_disable+0xa>
|
|
1554: 01c32223 sw t3,4(t1)
|
|
1558: 00c32423 sw a2,8(t1)
|
|
155c: 01d32023 sw t4,0(t1)
|
|
1560: 4605 li a2,1
|
|
1562: c0d8 sw a4,4(s1)
|
|
1564: a0b2 sh a2,2(s1)
|
|
1566: 00432603 lw a2,4(t1)
|
|
156a: 08b1 addi a7,a7,12
|
|
156c: 01160463 beq a2,a7,1574 <rt_malloc+0xbe>
|
|
1570: 962e add a2,a2,a1
|
|
1572: c618 sw a4,8(a2)
|
|
1574: 00c68713 addi a4,a3,12
|
|
1578: 9722 add a4,a4,s0
|
|
157a: 00e92023 sw a4,0(s2)
|
|
157e: 00e3f463 bgeu t2,a4,1586 <rt_malloc+0xd0>
|
|
1582: 00e2a023 sw a4,0(t0) # 460 <memset+0x8e>
|
|
1586: 6709 lui a4,0x2
|
|
1588: ea070713 addi a4,a4,-352 # 1ea0 <rt_hw_interrupt_disable+0xa>
|
|
158c: a09a sh a4,0(s1)
|
|
158e: 00979a63 bne a5,s1,15a2 <rt_malloc+0xec>
|
|
1592: 8201a683 lw a3,-2016(gp) # 20000268 <heap_end>
|
|
1596: 4701 li a4,0
|
|
1598: 23b2 lhu a2,2(a5)
|
|
159a: ee05 bnez a2,15d2 <rt_malloc+0x11c>
|
|
159c: c319 beqz a4,15a2 <rt_malloc+0xec>
|
|
159e: 00f82023 sw a5,0(a6)
|
|
15a2: be418513 addi a0,gp,-1052 # 2000062c <heap_sem>
|
|
15a6: b40ff0ef jal ra,8e6 <rt_sem_release>
|
|
15aa: 8381a783 lw a5,-1992(gp) # 20000280 <rt_malloc_hook>
|
|
15ae: 04b1 addi s1,s1,12
|
|
15b0: c781 beqz a5,15b8 <rt_malloc+0x102>
|
|
15b2: 85a2 mv a1,s0
|
|
15b4: 8526 mv a0,s1
|
|
15b6: 9782 jalr a5
|
|
15b8: 8526 mv a0,s1
|
|
15ba: e0dfe06f j 3c6 <__riscv_restore_0>
|
|
15be: 4605 li a2,1
|
|
15c0: 9736 add a4,a4,a3
|
|
15c2: a0b2 sh a2,2(s1)
|
|
15c4: 00ef2023 sw a4,0(t5)
|
|
15c8: fae3ffe3 bgeu t2,a4,1586 <rt_malloc+0xd0>
|
|
15cc: 00eea023 sw a4,0(t4)
|
|
15d0: bf5d j 1586 <rt_malloc+0xd0>
|
|
15d2: fcd785e3 beq a5,a3,159c <rt_malloc+0xe6>
|
|
15d6: 43dc lw a5,4(a5)
|
|
15d8: 4705 li a4,1
|
|
15da: 97ae add a5,a5,a1
|
|
15dc: bf75 j 1598 <rt_malloc+0xe2>
|
|
15de: 8672 mv a2,t3
|
|
15e0: bf31 j 14fc <rt_malloc+0x46>
|
|
|
|
000015e2 <rt_calloc>:
|
|
15e2: dc1fe2ef jal t0,3a2 <__riscv_save_0>
|
|
15e6: 02b50633 mul a2,a0,a1
|
|
15ea: 1141 addi sp,sp,-16
|
|
15ec: 8532 mv a0,a2
|
|
15ee: c632 sw a2,12(sp)
|
|
15f0: 35d9 jal 14b6 <rt_malloc>
|
|
15f2: 842a mv s0,a0
|
|
15f4: c509 beqz a0,15fe <rt_calloc+0x1c>
|
|
15f6: 4632 lw a2,12(sp)
|
|
15f8: 4581 li a1,0
|
|
15fa: f4eff0ef jal ra,d48 <rt_memset>
|
|
15fe: 8522 mv a0,s0
|
|
1600: 0141 addi sp,sp,16
|
|
1602: dc5fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001606 <rt_free>:
|
|
1606: c545 beqz a0,16ae <rt_free+0xa8>
|
|
1608: d81fe2ef jal t0,388 <__riscv_save_4>
|
|
160c: 8341a783 lw a5,-1996(gp) # 2000027c <rt_free_hook>
|
|
1610: 842a mv s0,a0
|
|
1612: c391 beqz a5,1616 <rt_free+0x10>
|
|
1614: 9782 jalr a5
|
|
1616: 8241a783 lw a5,-2012(gp) # 2000026c <heap_ptr>
|
|
161a: 82418913 addi s2,gp,-2012 # 2000026c <heap_ptr>
|
|
161e: 08f46663 bltu s0,a5,16aa <rt_free+0xa4>
|
|
1622: 8201a783 lw a5,-2016(gp) # 20000268 <heap_end>
|
|
1626: 08f47263 bgeu s0,a5,16aa <rt_free+0xa4>
|
|
162a: 55fd li a1,-1
|
|
162c: be418513 addi a0,gp,-1052 # 2000062c <heap_sem>
|
|
1630: a36ff0ef jal ra,866 <rt_sem_take>
|
|
1634: ff645783 lhu a5,-10(s0)
|
|
1638: ff440993 addi s3,s0,-12
|
|
163c: cb81 beqz a5,164c <rt_free+0x46>
|
|
163e: ff445703 lhu a4,-12(s0)
|
|
1642: 6789 lui a5,0x2
|
|
1644: ea078793 addi a5,a5,-352 # 1ea0 <rt_hw_interrupt_disable+0xa>
|
|
1648: 02f70163 beq a4,a5,166a <rt_free+0x64>
|
|
164c: 00005537 lui a0,0x5
|
|
1650: 34c50513 addi a0,a0,844 # 534c <__fsym_list_mem_name+0xc>
|
|
1654: 31a5 jal 12bc <rt_kprintf>
|
|
1656: ff445683 lhu a3,-12(s0)
|
|
165a: ff645603 lhu a2,-10(s0)
|
|
165e: 00005537 lui a0,0x5
|
|
1662: 85ce mv a1,s3
|
|
1664: 36850513 addi a0,a0,872 # 5368 <__fsym_list_mem_name+0x28>
|
|
1668: 3991 jal 12bc <rt_kprintf>
|
|
166a: 6789 lui a5,0x2
|
|
166c: ea078793 addi a5,a5,-352 # 1ea0 <rt_hw_interrupt_disable+0xa>
|
|
1670: fef41a23 sh a5,-12(s0)
|
|
1674: 82818793 addi a5,gp,-2008 # 20000270 <lfree>
|
|
1678: 4398 lw a4,0(a5)
|
|
167a: fe041b23 sh zero,-10(s0)
|
|
167e: 00e9f463 bgeu s3,a4,1686 <rt_free+0x80>
|
|
1682: 0137a023 sw s3,0(a5)
|
|
1686: 83c18713 addi a4,gp,-1988 # 20000284 <used_mem>
|
|
168a: 431c lw a5,0(a4)
|
|
168c: ff842683 lw a3,-8(s0)
|
|
1690: 854e mv a0,s3
|
|
1692: 8f95 sub a5,a5,a3
|
|
1694: 00092683 lw a3,0(s2)
|
|
1698: 40d986b3 sub a3,s3,a3
|
|
169c: 97b6 add a5,a5,a3
|
|
169e: c31c sw a5,0(a4)
|
|
16a0: 3b01 jal 13b0 <plug_holes>
|
|
16a2: be418513 addi a0,gp,-1052 # 2000062c <heap_sem>
|
|
16a6: a40ff0ef jal ra,8e6 <rt_sem_release>
|
|
16aa: d13fe06f j 3bc <__riscv_restore_4>
|
|
16ae: 8082 ret
|
|
|
|
000016b0 <rt_object_get_information>:
|
|
16b0: 200007b7 lui a5,0x20000
|
|
16b4: 00078693 mv a3,a5
|
|
16b8: 4701 li a4,0
|
|
16ba: 00078793 mv a5,a5
|
|
16be: 4621 li a2,8
|
|
16c0: 428c lw a1,0(a3)
|
|
16c2: 00a59663 bne a1,a0,16ce <rt_object_get_information+0x1e>
|
|
16c6: 00471513 slli a0,a4,0x4
|
|
16ca: 953e add a0,a0,a5
|
|
16cc: 8082 ret
|
|
16ce: 0705 addi a4,a4,1
|
|
16d0: 06c1 addi a3,a3,16
|
|
16d2: fec717e3 bne a4,a2,16c0 <rt_object_get_information+0x10>
|
|
16d6: 4501 li a0,0
|
|
16d8: 8082 ret
|
|
|
|
000016da <rt_object_init>:
|
|
16da: caffe2ef jal t0,388 <__riscv_save_4>
|
|
16de: 842a mv s0,a0
|
|
16e0: 852e mv a0,a1
|
|
16e2: 89ae mv s3,a1
|
|
16e4: 8a32 mv s4,a2
|
|
16e6: 37e9 jal 16b0 <rt_object_get_information>
|
|
16e8: 892a mv s2,a0
|
|
16ea: 2ca9 jal 1944 <rt_enter_critical>
|
|
16ec: 00492483 lw s1,4(s2)
|
|
16f0: 00490793 addi a5,s2,4
|
|
16f4: 04f49063 bne s1,a5,1734 <rt_object_init+0x5a>
|
|
16f8: 248d jal 195a <rt_exit_critical>
|
|
16fa: f809e993 ori s3,s3,-128
|
|
16fe: 01340423 sb s3,8(s0)
|
|
1702: 4621 li a2,8
|
|
1704: 85d2 mv a1,s4
|
|
1706: 8522 mv a0,s0
|
|
1708: fc2ff0ef jal ra,eca <rt_strncpy>
|
|
170c: 8401a783 lw a5,-1984(gp) # 20000288 <rt_object_attach_hook>
|
|
1710: c399 beqz a5,1716 <rt_object_init+0x3c>
|
|
1712: 8522 mv a0,s0
|
|
1714: 9782 jalr a5
|
|
1716: 780000ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
171a: 00492703 lw a4,4(s2)
|
|
171e: 00c40793 addi a5,s0,12
|
|
1722: c35c sw a5,4(a4)
|
|
1724: c458 sw a4,12(s0)
|
|
1726: 00f92223 sw a5,4(s2)
|
|
172a: c804 sw s1,16(s0)
|
|
172c: 776000ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
1730: c8dfe06f j 3bc <__riscv_restore_4>
|
|
1734: 4084 lw s1,0(s1)
|
|
1736: bf7d j 16f4 <rt_object_init+0x1a>
|
|
|
|
00001738 <rt_object_detach>:
|
|
1738: c6bfe2ef jal t0,3a2 <__riscv_save_0>
|
|
173c: 8441a783 lw a5,-1980(gp) # 2000028c <rt_object_detach_hook>
|
|
1740: 842a mv s0,a0
|
|
1742: c391 beqz a5,1746 <rt_object_detach+0xe>
|
|
1744: 9782 jalr a5
|
|
1746: 00040423 sb zero,8(s0)
|
|
174a: 74c000ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
174e: 4454 lw a3,12(s0)
|
|
1750: 4818 lw a4,16(s0)
|
|
1752: 00c40793 addi a5,s0,12
|
|
1756: c2d8 sw a4,4(a3)
|
|
1758: c314 sw a3,0(a4)
|
|
175a: c81c sw a5,16(s0)
|
|
175c: c45c sw a5,12(s0)
|
|
175e: 744000ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
1762: c65fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001766 <rt_object_allocate>:
|
|
1766: c23fe2ef jal t0,388 <__riscv_save_4>
|
|
176a: 892e mv s2,a1
|
|
176c: 89aa mv s3,a0
|
|
176e: 3789 jal 16b0 <rt_object_get_information>
|
|
1770: 84aa mv s1,a0
|
|
1772: 4548 lw a0,12(a0)
|
|
1774: 3389 jal 14b6 <rt_malloc>
|
|
1776: 842a mv s0,a0
|
|
1778: cd1d beqz a0,17b6 <rt_object_allocate+0x50>
|
|
177a: 44d0 lw a2,12(s1)
|
|
177c: 4581 li a1,0
|
|
177e: dcaff0ef jal ra,d48 <rt_memset>
|
|
1782: 4621 li a2,8
|
|
1784: 01340423 sb s3,8(s0)
|
|
1788: 000404a3 sb zero,9(s0)
|
|
178c: 85ca mv a1,s2
|
|
178e: 8522 mv a0,s0
|
|
1790: f3aff0ef jal ra,eca <rt_strncpy>
|
|
1794: 8401a783 lw a5,-1984(gp) # 20000288 <rt_object_attach_hook>
|
|
1798: c399 beqz a5,179e <rt_object_allocate+0x38>
|
|
179a: 8522 mv a0,s0
|
|
179c: 9782 jalr a5
|
|
179e: 6f8000ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
17a2: 40d8 lw a4,4(s1)
|
|
17a4: 00c40793 addi a5,s0,12
|
|
17a8: 0491 addi s1,s1,4
|
|
17aa: c35c sw a5,4(a4)
|
|
17ac: c458 sw a4,12(s0)
|
|
17ae: c09c sw a5,0(s1)
|
|
17b0: c804 sw s1,16(s0)
|
|
17b2: 6f0000ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
17b6: 8522 mv a0,s0
|
|
17b8: c05fe06f j 3bc <__riscv_restore_4>
|
|
|
|
000017bc <rt_object_delete>:
|
|
17bc: be7fe2ef jal t0,3a2 <__riscv_save_0>
|
|
17c0: 8441a783 lw a5,-1980(gp) # 2000028c <rt_object_detach_hook>
|
|
17c4: 842a mv s0,a0
|
|
17c6: c391 beqz a5,17ca <rt_object_delete+0xe>
|
|
17c8: 9782 jalr a5
|
|
17ca: 00040423 sb zero,8(s0)
|
|
17ce: 6c8000ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
17d2: 4454 lw a3,12(s0)
|
|
17d4: 4818 lw a4,16(s0)
|
|
17d6: 00c40793 addi a5,s0,12
|
|
17da: c2d8 sw a4,4(a3)
|
|
17dc: c314 sw a3,0(a4)
|
|
17de: c81c sw a5,16(s0)
|
|
17e0: c45c sw a5,12(s0)
|
|
17e2: 6c0000ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
17e6: 8522 mv a0,s0
|
|
17e8: 3d39 jal 1606 <rt_free>
|
|
17ea: bddfe06f j 3c6 <__riscv_restore_0>
|
|
|
|
000017ee <rt_object_is_systemobject>:
|
|
17ee: 00850503 lb a0,8(a0)
|
|
17f2: 817d srli a0,a0,0x1f
|
|
17f4: 8082 ret
|
|
|
|
000017f6 <rt_system_scheduler_init>:
|
|
17f6: 86019023 sh zero,-1952(gp) # 200002a8 <rt_scheduler_lock_nest>
|
|
17fa: c0418793 addi a5,gp,-1020 # 2000064c <rt_thread_priority_table>
|
|
17fe: 08078713 addi a4,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
1802: c3dc sw a5,4(a5)
|
|
1804: c39c sw a5,0(a5)
|
|
1806: 07a1 addi a5,a5,8
|
|
1808: fee79de3 bne a5,a4,1802 <rt_system_scheduler_init+0xc>
|
|
180c: 473d li a4,15
|
|
180e: 84e18a23 sb a4,-1964(gp) # 2000029c <rt_current_priority>
|
|
1812: 8401ac23 sw zero,-1960(gp) # 200002a0 <rt_current_thread>
|
|
1816: 8601a623 sw zero,-1940(gp) # 200002b4 <rt_thread_ready_priority_group>
|
|
181a: 86418793 addi a5,gp,-1948 # 200002ac <rt_thread_defunct>
|
|
181e: c3dc sw a5,4(a5)
|
|
1820: c39c sw a5,0(a5)
|
|
1822: 8082 ret
|
|
|
|
00001824 <rt_system_scheduler_start>:
|
|
1824: b7ffe2ef jal t0,3a2 <__riscv_save_0>
|
|
1828: 86c1a503 lw a0,-1940(gp) # 200002b4 <rt_thread_ready_priority_group>
|
|
182c: b37ff0ef jal ra,1362 <__rt_ffs>
|
|
1830: 157d addi a0,a0,-1
|
|
1832: 00351793 slli a5,a0,0x3
|
|
1836: c0418513 addi a0,gp,-1020 # 2000064c <rt_thread_priority_table>
|
|
183a: 953e add a0,a0,a5
|
|
183c: 4108 lw a0,0(a0)
|
|
183e: fec50713 addi a4,a0,-20
|
|
1842: 0521 addi a0,a0,8
|
|
1844: 84e1ac23 sw a4,-1960(gp) # 200002a0 <rt_current_thread>
|
|
1848: 979fe0ef jal ra,1c0 <rt_hw_context_switch_to>
|
|
184c: b7bfe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001850 <rt_schedule>:
|
|
1850: b53fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1854: 642000ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
1858: 86019783 lh a5,-1952(gp) # 200002a8 <rt_scheduler_lock_nest>
|
|
185c: 892a mv s2,a0
|
|
185e: e7b1 bnez a5,18aa <rt_schedule+0x5a>
|
|
1860: 86c1a503 lw a0,-1940(gp) # 200002b4 <rt_thread_ready_priority_group>
|
|
1864: affff0ef jal ra,1362 <__rt_ffs>
|
|
1868: 157d addi a0,a0,-1
|
|
186a: 00351713 slli a4,a0,0x3
|
|
186e: c0418793 addi a5,gp,-1020 # 2000064c <rt_thread_priority_table>
|
|
1872: 97ba add a5,a5,a4
|
|
1874: 4384 lw s1,0(a5)
|
|
1876: 85818793 addi a5,gp,-1960 # 200002a0 <rt_current_thread>
|
|
187a: 4380 lw s0,0(a5)
|
|
187c: fec48593 addi a1,s1,-20
|
|
1880: 02b40563 beq s0,a1,18aa <rt_schedule+0x5a>
|
|
1884: c38c sw a1,0(a5)
|
|
1886: 85c1a783 lw a5,-1956(gp) # 200002a4 <rt_scheduler_hook>
|
|
188a: 84a18a23 sb a0,-1964(gp) # 2000029c <rt_current_priority>
|
|
188e: c399 beqz a5,1894 <rt_schedule+0x44>
|
|
1890: 8522 mv a0,s0
|
|
1892: 9782 jalr a5
|
|
1894: 8141c783 lbu a5,-2028(gp) # 2000025c <rt_interrupt_nest>
|
|
1898: 01c40513 addi a0,s0,28
|
|
189c: 00848593 addi a1,s1,8
|
|
18a0: 0ff7f793 andi a5,a5,255
|
|
18a4: eb81 bnez a5,18b4 <rt_schedule+0x64>
|
|
18a6: 937fe0ef jal ra,1dc <rt_hw_context_switch>
|
|
18aa: 854a mv a0,s2
|
|
18ac: 5f6000ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
18b0: b17fe06f j 3c6 <__riscv_restore_0>
|
|
18b4: 5f4000ef jal ra,1ea8 <rt_hw_context_switch_interrupt>
|
|
18b8: bfcd j 18aa <rt_schedule+0x5a>
|
|
|
|
000018ba <rt_schedule_insert_thread>:
|
|
18ba: ae9fe2ef jal t0,3a2 <__riscv_save_0>
|
|
18be: 842a mv s0,a0
|
|
18c0: 5d6000ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
18c4: 03444783 lbu a5,52(s0)
|
|
18c8: 01440693 addi a3,s0,20
|
|
18cc: 9bc1 andi a5,a5,-16
|
|
18ce: 0017e793 ori a5,a5,1
|
|
18d2: 02f40a23 sb a5,52(s0)
|
|
18d6: 03544783 lbu a5,53(s0)
|
|
18da: 00379713 slli a4,a5,0x3
|
|
18de: c0418793 addi a5,gp,-1020 # 2000064c <rt_thread_priority_table>
|
|
18e2: 97ba add a5,a5,a4
|
|
18e4: 43d8 lw a4,4(a5)
|
|
18e6: c314 sw a3,0(a4)
|
|
18e8: cc18 sw a4,24(s0)
|
|
18ea: c3d4 sw a3,4(a5)
|
|
18ec: c85c sw a5,20(s0)
|
|
18ee: 86c18793 addi a5,gp,-1940 # 200002b4 <rt_thread_ready_priority_group>
|
|
18f2: 4394 lw a3,0(a5)
|
|
18f4: 5c18 lw a4,56(s0)
|
|
18f6: 8f55 or a4,a4,a3
|
|
18f8: c398 sw a4,0(a5)
|
|
18fa: 5a8000ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
18fe: ac9fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001902 <rt_schedule_remove_thread>:
|
|
1902: aa1fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1906: 842a mv s0,a0
|
|
1908: 2379 jal 1e96 <rt_hw_interrupt_disable>
|
|
190a: 4c18 lw a4,24(s0)
|
|
190c: 4854 lw a3,20(s0)
|
|
190e: 01440793 addi a5,s0,20
|
|
1912: c2d8 sw a4,4(a3)
|
|
1914: c314 sw a3,0(a4)
|
|
1916: c85c sw a5,20(s0)
|
|
1918: cc1c sw a5,24(s0)
|
|
191a: 03544783 lbu a5,53(s0)
|
|
191e: 00379713 slli a4,a5,0x3
|
|
1922: c0418793 addi a5,gp,-1020 # 2000064c <rt_thread_priority_table>
|
|
1926: 97ba add a5,a5,a4
|
|
1928: 4398 lw a4,0(a5)
|
|
192a: 00f71a63 bne a4,a5,193e <rt_schedule_remove_thread+0x3c>
|
|
192e: 86c18713 addi a4,gp,-1940 # 200002b4 <rt_thread_ready_priority_group>
|
|
1932: 5c1c lw a5,56(s0)
|
|
1934: 4314 lw a3,0(a4)
|
|
1936: fff7c793 not a5,a5
|
|
193a: 8ff5 and a5,a5,a3
|
|
193c: c31c sw a5,0(a4)
|
|
193e: 2395 jal 1ea2 <rt_hw_interrupt_enable>
|
|
1940: a87fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001944 <rt_enter_critical>:
|
|
1944: a5ffe2ef jal t0,3a2 <__riscv_save_0>
|
|
1948: 23b9 jal 1e96 <rt_hw_interrupt_disable>
|
|
194a: 86018793 addi a5,gp,-1952 # 200002a8 <rt_scheduler_lock_nest>
|
|
194e: 239a lhu a4,0(a5)
|
|
1950: 0705 addi a4,a4,1
|
|
1952: a39a sh a4,0(a5)
|
|
1954: 23b9 jal 1ea2 <rt_hw_interrupt_enable>
|
|
1956: a71fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000195a <rt_exit_critical>:
|
|
195a: a49fe2ef jal t0,3a2 <__riscv_save_0>
|
|
195e: 2b25 jal 1e96 <rt_hw_interrupt_disable>
|
|
1960: 86018713 addi a4,gp,-1952 # 200002a8 <rt_scheduler_lock_nest>
|
|
1964: 231e lhu a5,0(a4)
|
|
1966: 17fd addi a5,a5,-1
|
|
1968: 07c2 slli a5,a5,0x10
|
|
196a: 87c1 srai a5,a5,0x10
|
|
196c: a31e sh a5,0(a4)
|
|
196e: 00f04b63 bgtz a5,1984 <rt_exit_critical+0x2a>
|
|
1972: 00071023 sh zero,0(a4)
|
|
1976: 2335 jal 1ea2 <rt_hw_interrupt_enable>
|
|
1978: 8581a783 lw a5,-1960(gp) # 200002a0 <rt_current_thread>
|
|
197c: c391 beqz a5,1980 <rt_exit_critical+0x26>
|
|
197e: 3dc9 jal 1850 <rt_schedule>
|
|
1980: a47fe06f j 3c6 <__riscv_restore_0>
|
|
1984: 2b39 jal 1ea2 <rt_hw_interrupt_enable>
|
|
1986: bfed j 1980 <rt_exit_critical+0x26>
|
|
|
|
00001988 <rt_thread_exit>:
|
|
1988: a1bfe2ef jal t0,3a2 <__riscv_save_0>
|
|
198c: 8581a403 lw s0,-1960(gp) # 200002a0 <rt_current_thread>
|
|
1990: 2319 jal 1e96 <rt_hw_interrupt_disable>
|
|
1992: 84aa mv s1,a0
|
|
1994: 8522 mv a0,s0
|
|
1996: 37b5 jal 1902 <rt_schedule_remove_thread>
|
|
1998: 4791 li a5,4
|
|
199a: 02f40a23 sb a5,52(s0)
|
|
199e: 04c40513 addi a0,s0,76
|
|
19a2: 2e11 jal 1cb6 <rt_timer_detach>
|
|
19a4: 8522 mv a0,s0
|
|
19a6: 35a1 jal 17ee <rt_object_is_systemobject>
|
|
19a8: 4785 li a5,1
|
|
19aa: 00f51c63 bne a0,a5,19c2 <rt_thread_exit+0x3a>
|
|
19ae: 5c3c lw a5,120(s0)
|
|
19b0: eb89 bnez a5,19c2 <rt_thread_exit+0x3a>
|
|
19b2: 8522 mv a0,s0
|
|
19b4: d85ff0ef jal ra,1738 <rt_object_detach>
|
|
19b8: 8526 mv a0,s1
|
|
19ba: 21e5 jal 1ea2 <rt_hw_interrupt_enable>
|
|
19bc: 3d51 jal 1850 <rt_schedule>
|
|
19be: a09fe06f j 3c6 <__riscv_restore_0>
|
|
19c2: 8641a683 lw a3,-1948(gp) # 200002ac <rt_thread_defunct>
|
|
19c6: 01440713 addi a4,s0,20
|
|
19ca: 86e1a223 sw a4,-1948(gp) # 200002ac <rt_thread_defunct>
|
|
19ce: c2d8 sw a4,4(a3)
|
|
19d0: 86418793 addi a5,gp,-1948 # 200002ac <rt_thread_defunct>
|
|
19d4: c854 sw a3,20(s0)
|
|
19d6: cc1c sw a5,24(s0)
|
|
19d8: b7c5 j 19b8 <rt_thread_exit+0x30>
|
|
|
|
000019da <_rt_thread_init.isra.0>:
|
|
19da: 9c9fe2ef jal t0,3a2 <__riscv_save_0>
|
|
19de: 842a mv s0,a0
|
|
19e0: 0551 addi a0,a0,20
|
|
19e2: 1141 addi sp,sp,-16
|
|
19e4: cc08 sw a0,24(s0)
|
|
19e6: c848 sw a0,20(s0)
|
|
19e8: d00c sw a1,32(s0)
|
|
19ea: d050 sw a2,36(s0)
|
|
19ec: d414 sw a3,40(s0)
|
|
19ee: 863a mv a2,a4
|
|
19f0: d458 sw a4,44(s0)
|
|
19f2: 02300593 li a1,35
|
|
19f6: 8536 mv a0,a3
|
|
19f8: c63e sw a5,12(sp)
|
|
19fa: c442 sw a6,8(sp)
|
|
19fc: b4cff0ef jal ra,d48 <rt_memset>
|
|
1a00: 5458 lw a4,44(s0)
|
|
1a02: 5410 lw a2,40(s0)
|
|
1a04: 504c lw a1,36(s0)
|
|
1a06: 5008 lw a0,32(s0)
|
|
1a08: 1771 addi a4,a4,-4
|
|
1a0a: 000026b7 lui a3,0x2
|
|
1a0e: 963a add a2,a2,a4
|
|
1a10: 98868693 addi a3,a3,-1656 # 1988 <rt_thread_exit>
|
|
1a14: 213d jal 1e42 <rt_hw_stack_init>
|
|
1a16: 47b2 lw a5,12(sp)
|
|
1a18: 4822 lw a6,8(sp)
|
|
1a1a: 00002637 lui a2,0x2
|
|
1a1e: cc48 sw a0,28(s0)
|
|
1a20: 02f40b23 sb a5,54(s0)
|
|
1a24: 02f40aa3 sb a5,53(s0)
|
|
1a28: 02042c23 sw zero,56(s0)
|
|
1a2c: 4781 li a5,0
|
|
1a2e: 05042223 sw a6,68(s0)
|
|
1a32: 05042423 sw a6,72(s0)
|
|
1a36: 02042823 sw zero,48(s0)
|
|
1a3a: 02040a23 sb zero,52(s0)
|
|
1a3e: 06042c23 sw zero,120(s0)
|
|
1a42: 06042e23 sw zero,124(s0)
|
|
1a46: 4701 li a4,0
|
|
1a48: 86a2 mv a3,s0
|
|
1a4a: a6860613 addi a2,a2,-1432 # 1a68 <rt_thread_timeout>
|
|
1a4e: 85a2 mv a1,s0
|
|
1a50: 04c40513 addi a0,s0,76
|
|
1a54: 2425 jal 1c7c <rt_timer_init>
|
|
1a56: 8701a783 lw a5,-1936(gp) # 200002b8 <rt_thread_inited_hook>
|
|
1a5a: c399 beqz a5,1a60 <_rt_thread_init.isra.0+0x86>
|
|
1a5c: 8522 mv a0,s0
|
|
1a5e: 9782 jalr a5
|
|
1a60: 4501 li a0,0
|
|
1a62: 0141 addi sp,sp,16
|
|
1a64: 963fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001a68 <rt_thread_timeout>:
|
|
1a68: 93bfe2ef jal t0,3a2 <__riscv_save_0>
|
|
1a6c: 4950 lw a2,20(a0)
|
|
1a6e: 4d14 lw a3,24(a0)
|
|
1a70: 5779 li a4,-2
|
|
1a72: d918 sw a4,48(a0)
|
|
1a74: c254 sw a3,4(a2)
|
|
1a76: 01450713 addi a4,a0,20
|
|
1a7a: c290 sw a2,0(a3)
|
|
1a7c: cd18 sw a4,24(a0)
|
|
1a7e: c958 sw a4,20(a0)
|
|
1a80: 3d2d jal 18ba <rt_schedule_insert_thread>
|
|
1a82: dcfff0ef jal ra,1850 <rt_schedule>
|
|
1a86: 941fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001a8a <rt_thread_init>:
|
|
1a8a: 919fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1a8e: 1141 addi sp,sp,-16
|
|
1a90: 84b2 mv s1,a2
|
|
1a92: 862e mv a2,a1
|
|
1a94: 4585 li a1,1
|
|
1a96: 842a mv s0,a0
|
|
1a98: 8936 mv s2,a3
|
|
1a9a: c046 sw a7,0(sp)
|
|
1a9c: c63a sw a4,12(sp)
|
|
1a9e: c43e sw a5,8(sp)
|
|
1aa0: c242 sw a6,4(sp)
|
|
1aa2: c39ff0ef jal ra,16da <rt_object_init>
|
|
1aa6: 4802 lw a6,0(sp)
|
|
1aa8: 4792 lw a5,4(sp)
|
|
1aaa: 4722 lw a4,8(sp)
|
|
1aac: 46b2 lw a3,12(sp)
|
|
1aae: 864a mv a2,s2
|
|
1ab0: 85a6 mv a1,s1
|
|
1ab2: 8522 mv a0,s0
|
|
1ab4: 371d jal 19da <_rt_thread_init.isra.0>
|
|
1ab6: 0141 addi sp,sp,16
|
|
1ab8: 90ffe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001abc <rt_thread_self>:
|
|
1abc: 8581a503 lw a0,-1960(gp) # 200002a0 <rt_current_thread>
|
|
1ac0: 8082 ret
|
|
|
|
00001ac2 <rt_thread_create>:
|
|
1ac2: 8c7fe2ef jal t0,388 <__riscv_save_4>
|
|
1ac6: 1141 addi sp,sp,-16
|
|
1ac8: 892e mv s2,a1
|
|
1aca: 85aa mv a1,a0
|
|
1acc: 4505 li a0,1
|
|
1ace: c632 sw a2,12(sp)
|
|
1ad0: 84b6 mv s1,a3
|
|
1ad2: 89ba mv s3,a4
|
|
1ad4: 8a3e mv s4,a5
|
|
1ad6: c91ff0ef jal ra,1766 <rt_object_allocate>
|
|
1ada: 842a mv s0,a0
|
|
1adc: c911 beqz a0,1af0 <rt_thread_create+0x2e>
|
|
1ade: 8526 mv a0,s1
|
|
1ae0: 9d7ff0ef jal ra,14b6 <rt_malloc>
|
|
1ae4: 4632 lw a2,12(sp)
|
|
1ae6: e909 bnez a0,1af8 <rt_thread_create+0x36>
|
|
1ae8: 8522 mv a0,s0
|
|
1aea: cd3ff0ef jal ra,17bc <rt_object_delete>
|
|
1aee: 4401 li s0,0
|
|
1af0: 8522 mv a0,s0
|
|
1af2: 0141 addi sp,sp,16
|
|
1af4: 8c9fe06f j 3bc <__riscv_restore_4>
|
|
1af8: 86aa mv a3,a0
|
|
1afa: 8852 mv a6,s4
|
|
1afc: 87ce mv a5,s3
|
|
1afe: 8726 mv a4,s1
|
|
1b00: 85ca mv a1,s2
|
|
1b02: 8522 mv a0,s0
|
|
1b04: 3dd9 jal 19da <_rt_thread_init.isra.0>
|
|
1b06: b7ed j 1af0 <rt_thread_create+0x2e>
|
|
|
|
00001b08 <rt_thread_yield>:
|
|
1b08: 89bfe2ef jal t0,3a2 <__riscv_save_0>
|
|
1b0c: 2669 jal 1e96 <rt_hw_interrupt_disable>
|
|
1b0e: 8581a783 lw a5,-1960(gp) # 200002a0 <rt_current_thread>
|
|
1b12: 4605 li a2,1
|
|
1b14: 86aa mv a3,a0
|
|
1b16: 0347c703 lbu a4,52(a5)
|
|
1b1a: 8b3d andi a4,a4,15
|
|
1b1c: 02c71c63 bne a4,a2,1b54 <rt_thread_yield+0x4c>
|
|
1b20: 4bd0 lw a2,20(a5)
|
|
1b22: 4f98 lw a4,24(a5)
|
|
1b24: 02e60863 beq a2,a4,1b54 <rt_thread_yield+0x4c>
|
|
1b28: c258 sw a4,4(a2)
|
|
1b2a: c310 sw a2,0(a4)
|
|
1b2c: 0357c603 lbu a2,53(a5)
|
|
1b30: 01478693 addi a3,a5,20
|
|
1b34: 060e slli a2,a2,0x3
|
|
1b36: c0418713 addi a4,gp,-1020 # 2000064c <rt_thread_priority_table>
|
|
1b3a: cf94 sw a3,24(a5)
|
|
1b3c: 9732 add a4,a4,a2
|
|
1b3e: 4350 lw a2,4(a4)
|
|
1b40: c214 sw a3,0(a2)
|
|
1b42: cf90 sw a2,24(a5)
|
|
1b44: c354 sw a3,4(a4)
|
|
1b46: cbd8 sw a4,20(a5)
|
|
1b48: 2ea9 jal 1ea2 <rt_hw_interrupt_enable>
|
|
1b4a: d07ff0ef jal ra,1850 <rt_schedule>
|
|
1b4e: 4501 li a0,0
|
|
1b50: 877fe06f j 3c6 <__riscv_restore_0>
|
|
1b54: 8536 mv a0,a3
|
|
1b56: 26b1 jal 1ea2 <rt_hw_interrupt_enable>
|
|
1b58: bfdd j 1b4e <rt_thread_yield+0x46>
|
|
|
|
00001b5a <rt_thread_suspend>:
|
|
1b5a: 03454783 lbu a5,52(a0)
|
|
1b5e: 4705 li a4,1
|
|
1b60: 8bbd andi a5,a5,15
|
|
1b62: 02e79f63 bne a5,a4,1ba0 <rt_thread_suspend+0x46>
|
|
1b66: 83dfe2ef jal t0,3a2 <__riscv_save_0>
|
|
1b6a: 842a mv s0,a0
|
|
1b6c: 262d jal 1e96 <rt_hw_interrupt_disable>
|
|
1b6e: 03444783 lbu a5,52(s0)
|
|
1b72: 84aa mv s1,a0
|
|
1b74: 8522 mv a0,s0
|
|
1b76: 9bc1 andi a5,a5,-16
|
|
1b78: 0027e793 ori a5,a5,2
|
|
1b7c: 02f40a23 sb a5,52(s0)
|
|
1b80: d83ff0ef jal ra,1902 <rt_schedule_remove_thread>
|
|
1b84: 04c40513 addi a0,s0,76
|
|
1b88: 22f1 jal 1d54 <rt_timer_stop>
|
|
1b8a: 8526 mv a0,s1
|
|
1b8c: 2e19 jal 1ea2 <rt_hw_interrupt_enable>
|
|
1b8e: 8781a783 lw a5,-1928(gp) # 200002c0 <rt_thread_suspend_hook>
|
|
1b92: 4501 li a0,0
|
|
1b94: c781 beqz a5,1b9c <rt_thread_suspend+0x42>
|
|
1b96: 8522 mv a0,s0
|
|
1b98: 9782 jalr a5
|
|
1b9a: 4501 li a0,0
|
|
1b9c: 82bfe06f j 3c6 <__riscv_restore_0>
|
|
1ba0: 557d li a0,-1
|
|
1ba2: 8082 ret
|
|
|
|
00001ba4 <rt_thread_sleep>:
|
|
1ba4: ffefe2ef jal t0,3a2 <__riscv_save_0>
|
|
1ba8: 1141 addi sp,sp,-16
|
|
1baa: c62a sw a0,12(sp)
|
|
1bac: 24ed jal 1e96 <rt_hw_interrupt_disable>
|
|
1bae: 8581a403 lw s0,-1960(gp) # 200002a0 <rt_current_thread>
|
|
1bb2: 892a mv s2,a0
|
|
1bb4: 8522 mv a0,s0
|
|
1bb6: 3755 jal 1b5a <rt_thread_suspend>
|
|
1bb8: 04c40493 addi s1,s0,76
|
|
1bbc: 0070 addi a2,sp,12
|
|
1bbe: 4581 li a1,0
|
|
1bc0: 8526 mv a0,s1
|
|
1bc2: 22d1 jal 1d86 <rt_timer_control>
|
|
1bc4: 8526 mv a0,s1
|
|
1bc6: 2239 jal 1cd4 <rt_timer_start>
|
|
1bc8: 854a mv a0,s2
|
|
1bca: 2ce1 jal 1ea2 <rt_hw_interrupt_enable>
|
|
1bcc: c85ff0ef jal ra,1850 <rt_schedule>
|
|
1bd0: 5818 lw a4,48(s0)
|
|
1bd2: 57f9 li a5,-2
|
|
1bd4: 00f71463 bne a4,a5,1bdc <rt_thread_sleep+0x38>
|
|
1bd8: 02042823 sw zero,48(s0)
|
|
1bdc: 4501 li a0,0
|
|
1bde: 0141 addi sp,sp,16
|
|
1be0: fe6fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001be4 <rt_thread_mdelay>:
|
|
1be4: fbefe2ef jal t0,3a2 <__riscv_save_0>
|
|
1be8: 8c1fe0ef jal ra,4a8 <rt_tick_from_millisecond>
|
|
1bec: 3f65 jal 1ba4 <rt_thread_sleep>
|
|
1bee: fd8fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001bf2 <rt_thread_resume>:
|
|
1bf2: 03454783 lbu a5,52(a0)
|
|
1bf6: 4709 li a4,2
|
|
1bf8: 8bbd andi a5,a5,15
|
|
1bfa: 04e79063 bne a5,a4,1c3a <rt_thread_resume+0x48>
|
|
1bfe: fa4fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1c02: 842a mv s0,a0
|
|
1c04: 2c49 jal 1e96 <rt_hw_interrupt_disable>
|
|
1c06: 4854 lw a3,20(s0)
|
|
1c08: 4c18 lw a4,24(s0)
|
|
1c0a: 01440793 addi a5,s0,20
|
|
1c0e: 84aa mv s1,a0
|
|
1c10: c2d8 sw a4,4(a3)
|
|
1c12: c314 sw a3,0(a4)
|
|
1c14: cc1c sw a5,24(s0)
|
|
1c16: c85c sw a5,20(s0)
|
|
1c18: 04c40513 addi a0,s0,76
|
|
1c1c: 2a25 jal 1d54 <rt_timer_stop>
|
|
1c1e: 8526 mv a0,s1
|
|
1c20: 2449 jal 1ea2 <rt_hw_interrupt_enable>
|
|
1c22: 8522 mv a0,s0
|
|
1c24: c97ff0ef jal ra,18ba <rt_schedule_insert_thread>
|
|
1c28: 8741a783 lw a5,-1932(gp) # 200002bc <rt_thread_resume_hook>
|
|
1c2c: 4501 li a0,0
|
|
1c2e: c781 beqz a5,1c36 <rt_thread_resume+0x44>
|
|
1c30: 8522 mv a0,s0
|
|
1c32: 9782 jalr a5
|
|
1c34: 4501 li a0,0
|
|
1c36: f90fe06f j 3c6 <__riscv_restore_0>
|
|
1c3a: 557d li a0,-1
|
|
1c3c: 8082 ret
|
|
|
|
00001c3e <rt_thread_startup>:
|
|
1c3e: f64fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1c42: 03654683 lbu a3,54(a0)
|
|
1c46: 4705 li a4,1
|
|
1c48: 00d71733 sll a4,a4,a3
|
|
1c4c: dd18 sw a4,56(a0)
|
|
1c4e: 4709 li a4,2
|
|
1c50: 02d50aa3 sb a3,53(a0)
|
|
1c54: 02e50a23 sb a4,52(a0)
|
|
1c58: 3f69 jal 1bf2 <rt_thread_resume>
|
|
1c5a: 8581a783 lw a5,-1960(gp) # 200002a0 <rt_current_thread>
|
|
1c5e: c399 beqz a5,1c64 <rt_thread_startup+0x26>
|
|
1c60: bf1ff0ef jal ra,1850 <rt_schedule>
|
|
1c64: 4501 li a0,0
|
|
1c66: f60fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001c6a <_rt_timer_remove.part.1>:
|
|
1c6a: 4954 lw a3,20(a0)
|
|
1c6c: 4d18 lw a4,24(a0)
|
|
1c6e: 01450793 addi a5,a0,20
|
|
1c72: c2d8 sw a4,4(a3)
|
|
1c74: c314 sw a3,0(a4)
|
|
1c76: cd1c sw a5,24(a0)
|
|
1c78: c95c sw a5,20(a0)
|
|
1c7a: 8082 ret
|
|
|
|
00001c7c <rt_timer_init>:
|
|
1c7c: f26fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1c80: 1141 addi sp,sp,-16
|
|
1c82: 84b2 mv s1,a2
|
|
1c84: 862e mv a2,a1
|
|
1c86: 45a9 li a1,10
|
|
1c88: 842a mv s0,a0
|
|
1c8a: c636 sw a3,12(sp)
|
|
1c8c: c43a sw a4,8(sp)
|
|
1c8e: c23e sw a5,4(sp)
|
|
1c90: a4bff0ef jal ra,16da <rt_object_init>
|
|
1c94: 4792 lw a5,4(sp)
|
|
1c96: 46b2 lw a3,12(sp)
|
|
1c98: 4722 lw a4,8(sp)
|
|
1c9a: 9bf9 andi a5,a5,-2
|
|
1c9c: b41c sb a5,9(s0)
|
|
1c9e: 01440793 addi a5,s0,20
|
|
1ca2: cc44 sw s1,28(s0)
|
|
1ca4: d014 sw a3,32(s0)
|
|
1ca6: 02042423 sw zero,40(s0)
|
|
1caa: d058 sw a4,36(s0)
|
|
1cac: cc1c sw a5,24(s0)
|
|
1cae: c85c sw a5,20(s0)
|
|
1cb0: 0141 addi sp,sp,16
|
|
1cb2: f14fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001cb6 <rt_timer_detach>:
|
|
1cb6: eecfe2ef jal t0,3a2 <__riscv_save_0>
|
|
1cba: 842a mv s0,a0
|
|
1cbc: 2ae9 jal 1e96 <rt_hw_interrupt_disable>
|
|
1cbe: 84aa mv s1,a0
|
|
1cc0: 8522 mv a0,s0
|
|
1cc2: 3765 jal 1c6a <_rt_timer_remove.part.1>
|
|
1cc4: 8526 mv a0,s1
|
|
1cc6: 2af1 jal 1ea2 <rt_hw_interrupt_enable>
|
|
1cc8: 8522 mv a0,s0
|
|
1cca: a6fff0ef jal ra,1738 <rt_object_detach>
|
|
1cce: 4501 li a0,0
|
|
1cd0: ef6fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001cd4 <rt_timer_start>:
|
|
1cd4: ecefe2ef jal t0,3a2 <__riscv_save_0>
|
|
1cd8: 842a mv s0,a0
|
|
1cda: 2a75 jal 1e96 <rt_hw_interrupt_disable>
|
|
1cdc: 84aa mv s1,a0
|
|
1cde: 8522 mv a0,s0
|
|
1ce0: 3769 jal 1c6a <_rt_timer_remove.part.1>
|
|
1ce2: 341c lbu a5,9(s0)
|
|
1ce4: 8526 mv a0,s1
|
|
1ce6: 9bf9 andi a5,a5,-2
|
|
1ce8: b41c sb a5,9(s0)
|
|
1cea: 2a65 jal 1ea2 <rt_hw_interrupt_enable>
|
|
1cec: 84c1a783 lw a5,-1972(gp) # 20000294 <rt_object_take_hook>
|
|
1cf0: c399 beqz a5,1cf6 <rt_timer_start+0x22>
|
|
1cf2: 8522 mv a0,s0
|
|
1cf4: 9782 jalr a5
|
|
1cf6: f84fe0ef jal ra,47a <rt_tick_get>
|
|
1cfa: 505c lw a5,36(s0)
|
|
1cfc: 953e add a0,a0,a5
|
|
1cfe: d408 sw a0,40(s0)
|
|
1d00: 2a59 jal 1e96 <rt_hw_interrupt_disable>
|
|
1d02: 88818713 addi a4,gp,-1912 # 200002d0 <rt_timer_list>
|
|
1d06: 00472803 lw a6,4(a4)
|
|
1d0a: 80000637 lui a2,0x80000
|
|
1d0e: 88818793 addi a5,gp,-1912 # 200002d0 <rt_timer_list>
|
|
1d12: ffe64613 xori a2,a2,-2
|
|
1d16: 4398 lw a4,0(a5)
|
|
1d18: 02f81563 bne a6,a5,1d42 <rt_timer_start+0x6e>
|
|
1d1c: 87c18693 addi a3,gp,-1924 # 200002c4 <random_nr.2483>
|
|
1d20: 4290 lw a2,0(a3)
|
|
1d22: 0605 addi a2,a2,1
|
|
1d24: c290 sw a2,0(a3)
|
|
1d26: 01440693 addi a3,s0,20
|
|
1d2a: c354 sw a3,4(a4)
|
|
1d2c: c858 sw a4,20(s0)
|
|
1d2e: c394 sw a3,0(a5)
|
|
1d30: cc1c sw a5,24(s0)
|
|
1d32: 341c lbu a5,9(s0)
|
|
1d34: 0017e793 ori a5,a5,1
|
|
1d38: b41c sb a5,9(s0)
|
|
1d3a: 22a5 jal 1ea2 <rt_hw_interrupt_enable>
|
|
1d3c: 4501 li a0,0
|
|
1d3e: e88fe06f j 3c6 <__riscv_restore_0>
|
|
1d42: 4b54 lw a3,20(a4)
|
|
1d44: 540c lw a1,40(s0)
|
|
1d46: 00b68563 beq a3,a1,1d50 <rt_timer_start+0x7c>
|
|
1d4a: 8e8d sub a3,a3,a1
|
|
1d4c: fcd678e3 bgeu a2,a3,1d1c <rt_timer_start+0x48>
|
|
1d50: 87ba mv a5,a4
|
|
1d52: b7d1 j 1d16 <rt_timer_start+0x42>
|
|
|
|
00001d54 <rt_timer_stop>:
|
|
1d54: 351c lbu a5,9(a0)
|
|
1d56: 8b85 andi a5,a5,1
|
|
1d58: c78d beqz a5,1d82 <rt_timer_stop+0x2e>
|
|
1d5a: e48fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1d5e: 8481a783 lw a5,-1976(gp) # 20000290 <rt_object_put_hook>
|
|
1d62: 842a mv s0,a0
|
|
1d64: c391 beqz a5,1d68 <rt_timer_stop+0x14>
|
|
1d66: 9782 jalr a5
|
|
1d68: 223d jal 1e96 <rt_hw_interrupt_disable>
|
|
1d6a: 84aa mv s1,a0
|
|
1d6c: 8522 mv a0,s0
|
|
1d6e: efdff0ef jal ra,1c6a <_rt_timer_remove.part.1>
|
|
1d72: 8526 mv a0,s1
|
|
1d74: 223d jal 1ea2 <rt_hw_interrupt_enable>
|
|
1d76: 341c lbu a5,9(s0)
|
|
1d78: 4501 li a0,0
|
|
1d7a: 9bf9 andi a5,a5,-2
|
|
1d7c: b41c sb a5,9(s0)
|
|
1d7e: e48fe06f j 3c6 <__riscv_restore_0>
|
|
1d82: 557d li a0,-1
|
|
1d84: 8082 ret
|
|
|
|
00001d86 <rt_timer_control>:
|
|
1d86: 4785 li a5,1
|
|
1d88: 02f58163 beq a1,a5,1daa <rt_timer_control+0x24>
|
|
1d8c: 00b7c563 blt a5,a1,1d96 <rt_timer_control+0x10>
|
|
1d90: c185 beqz a1,1db0 <rt_timer_control+0x2a>
|
|
1d92: 4501 li a0,0
|
|
1d94: 8082 ret
|
|
1d96: 4789 li a5,2
|
|
1d98: 00f58f63 beq a1,a5,1db6 <rt_timer_control+0x30>
|
|
1d9c: 478d li a5,3
|
|
1d9e: fef59ae3 bne a1,a5,1d92 <rt_timer_control+0xc>
|
|
1da2: 351c lbu a5,9(a0)
|
|
1da4: 0027e793 ori a5,a5,2
|
|
1da8: a809 j 1dba <rt_timer_control+0x34>
|
|
1daa: 515c lw a5,36(a0)
|
|
1dac: c21c sw a5,0(a2)
|
|
1dae: b7d5 j 1d92 <rt_timer_control+0xc>
|
|
1db0: 421c lw a5,0(a2)
|
|
1db2: d15c sw a5,36(a0)
|
|
1db4: bff9 j 1d92 <rt_timer_control+0xc>
|
|
1db6: 351c lbu a5,9(a0)
|
|
1db8: 9bf5 andi a5,a5,-3
|
|
1dba: b51c sb a5,9(a0)
|
|
1dbc: bfd9 j 1d92 <rt_timer_control+0xc>
|
|
|
|
00001dbe <rt_timer_check>:
|
|
1dbe: dbcfe2ef jal t0,37a <__riscv_save_10>
|
|
1dc2: eb8fe0ef jal ra,47a <rt_tick_get>
|
|
1dc6: 8c2a mv s8,a0
|
|
1dc8: 20f9 jal 1e96 <rt_hw_interrupt_disable>
|
|
1dca: 800009b7 lui s3,0x80000
|
|
1dce: 8a2a mv s4,a0
|
|
1dd0: 88818493 addi s1,gp,-1912 # 200002d0 <rt_timer_list>
|
|
1dd4: ffe9c993 xori s3,s3,-2
|
|
1dd8: 4b8d li s7,3
|
|
1dda: 4080 lw s0,0(s1)
|
|
1ddc: 00941663 bne s0,s1,1de8 <rt_timer_check+0x2a>
|
|
1de0: 8552 mv a0,s4
|
|
1de2: 20c1 jal 1ea2 <rt_hw_interrupt_enable>
|
|
1de4: dcefe06f j 3b2 <__riscv_restore_10>
|
|
1de8: 4848 lw a0,20(s0)
|
|
1dea: fec40913 addi s2,s0,-20
|
|
1dee: 40ac0533 sub a0,s8,a0
|
|
1df2: fea9e7e3 bltu s3,a0,1de0 <rt_timer_check+0x22>
|
|
1df6: 8801a783 lw a5,-1920(gp) # 200002c8 <rt_timer_enter_hook>
|
|
1dfa: c399 beqz a5,1e00 <rt_timer_check+0x42>
|
|
1dfc: 854a mv a0,s2
|
|
1dfe: 9782 jalr a5
|
|
1e00: 854a mv a0,s2
|
|
1e02: e69ff0ef jal ra,1c6a <_rt_timer_remove.part.1>
|
|
1e06: 441c lw a5,8(s0)
|
|
1e08: 4448 lw a0,12(s0)
|
|
1e0a: 9782 jalr a5
|
|
1e0c: e6efe0ef jal ra,47a <rt_tick_get>
|
|
1e10: 8841a783 lw a5,-1916(gp) # 200002cc <rt_timer_exit_hook>
|
|
1e14: 8c2a mv s8,a0
|
|
1e16: c399 beqz a5,1e1c <rt_timer_check+0x5e>
|
|
1e18: 854a mv a0,s2
|
|
1e1a: 9782 jalr a5
|
|
1e1c: ff544783 lbu a5,-11(s0)
|
|
1e20: 0fe7f713 andi a4,a5,254
|
|
1e24: fee40aa3 sb a4,-11(s0)
|
|
1e28: 8b8d andi a5,a5,3
|
|
1e2a: fb7798e3 bne a5,s7,1dda <rt_timer_check+0x1c>
|
|
1e2e: 854a mv a0,s2
|
|
1e30: ea5ff0ef jal ra,1cd4 <rt_timer_start>
|
|
1e34: b75d j 1dda <rt_timer_check+0x1c>
|
|
|
|
00001e36 <rt_system_timer_init>:
|
|
1e36: 88818793 addi a5,gp,-1912 # 200002d0 <rt_timer_list>
|
|
1e3a: c3dc sw a5,4(a5)
|
|
1e3c: c39c sw a5,0(a5)
|
|
1e3e: 8082 ret
|
|
|
|
00001e40 <rt_system_timer_thread_init>:
|
|
1e40: 8082 ret
|
|
|
|
00001e42 <rt_hw_stack_init>:
|
|
1e42: 0611 addi a2,a2,4
|
|
1e44: 9a71 andi a2,a2,-4
|
|
1e46: 882a mv a6,a0
|
|
1e48: deadc737 lui a4,0xdeadc
|
|
1e4c: f8060513 addi a0,a2,-128 # 7fffff80 <_eusrstack+0x5ffeff80>
|
|
1e50: 87aa mv a5,a0
|
|
1e52: eef70713 addi a4,a4,-273 # deadbeef <_eusrstack+0xbeacbeef>
|
|
1e56: 00f61e63 bne a2,a5,1e72 <rt_hw_stack_init+0x30>
|
|
1e5a: 67a1 lui a5,0x8
|
|
1e5c: 88078793 addi a5,a5,-1920 # 7880 <__rt_init_end+0x1100>
|
|
1e60: f8d62223 sw a3,-124(a2)
|
|
1e64: fab62423 sw a1,-88(a2)
|
|
1e68: f9062023 sw a6,-128(a2)
|
|
1e6c: f8f62423 sw a5,-120(a2)
|
|
1e70: 8082 ret
|
|
1e72: c398 sw a4,0(a5)
|
|
1e74: 0791 addi a5,a5,4
|
|
1e76: b7c5 j 1e56 <rt_hw_stack_init+0x14>
|
|
|
|
00001e78 <sw_setpend>:
|
|
1e78: e000f737 lui a4,0xe000f
|
|
1e7c: 431c lw a5,0(a4)
|
|
1e7e: 800006b7 lui a3,0x80000
|
|
1e82: 8fd5 or a5,a5,a3
|
|
1e84: c31c sw a5,0(a4)
|
|
1e86: 8082 ret
|
|
|
|
00001e88 <sw_clearpend>:
|
|
1e88: e000f737 lui a4,0xe000f
|
|
1e8c: 431c lw a5,0(a4)
|
|
1e8e: 0786 slli a5,a5,0x1
|
|
1e90: 8385 srli a5,a5,0x1
|
|
1e92: c31c sw a5,0(a4)
|
|
1e94: 8082 ret
|
|
|
|
00001e96 <rt_hw_interrupt_disable>:
|
|
1e96: 6521 lui a0,0x8
|
|
1e98: 80050513 addi a0,a0,-2048 # 7800 <__rt_init_end+0x1080>
|
|
1e9c: 30051573 csrrw a0,mstatus,a0
|
|
1ea0: 8082 ret
|
|
|
|
00001ea2 <rt_hw_interrupt_enable>:
|
|
1ea2: 30051073 csrw mstatus,a0
|
|
1ea6: 8082 ret
|
|
|
|
00001ea8 <rt_hw_context_switch_interrupt>:
|
|
1ea8: cfafe2ef jal t0,3a2 <__riscv_save_0>
|
|
1eac: 89818713 addi a4,gp,-1896 # 200002e0 <rt_thread_switch_interrupt_flag>
|
|
1eb0: 4318 lw a4,0(a4)
|
|
1eb2: 89818793 addi a5,gp,-1896 # 200002e0 <rt_thread_switch_interrupt_flag>
|
|
1eb6: e319 bnez a4,1ebc <rt_hw_context_switch_interrupt+0x14>
|
|
1eb8: 88a1a823 sw a0,-1904(gp) # 200002d8 <rt_interrupt_from_thread>
|
|
1ebc: 88b1aa23 sw a1,-1900(gp) # 200002dc <rt_interrupt_to_thread>
|
|
1ec0: 4705 li a4,1
|
|
1ec2: c398 sw a4,0(a5)
|
|
1ec4: 3f55 jal 1e78 <sw_setpend>
|
|
1ec6: d00fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001eca <rt_list_len>:
|
|
1eca: 872a mv a4,a0
|
|
1ecc: 4781 li a5,0
|
|
1ece: 4318 lw a4,0(a4)
|
|
1ed0: 00a71463 bne a4,a0,1ed8 <rt_list_len+0xe>
|
|
1ed4: 853e mv a0,a5
|
|
1ed6: 8082 ret
|
|
1ed8: 0785 addi a5,a5,1
|
|
1eda: bfd5 j 1ece <rt_list_len+0x4>
|
|
|
|
00001edc <reboot>:
|
|
1edc: beef07b7 lui a5,0xbeef0
|
|
1ee0: e000e737 lui a4,0xe000e
|
|
1ee4: 08078793 addi a5,a5,128 # beef0080 <_eusrstack+0x9eee0080>
|
|
1ee8: c73c sw a5,72(a4)
|
|
1eea: 4501 li a0,0
|
|
1eec: 8082 ret
|
|
|
|
00001eee <clear>:
|
|
1eee: cb4fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1ef2: 00005537 lui a0,0x5
|
|
1ef6: 3dc50513 addi a0,a0,988 # 53dc <__fsym_list_mem_name+0x9c>
|
|
1efa: bc2ff0ef jal ra,12bc <rt_kprintf>
|
|
1efe: 4501 li a0,0
|
|
1f00: cc6fe06f j 3c6 <__riscv_restore_0>
|
|
|
|
00001f04 <object_split>:
|
|
1f04: c9efe2ef jal t0,3a2 <__riscv_save_0>
|
|
1f08: 842a mv s0,a0
|
|
1f0a: 54fd li s1,-1
|
|
1f0c: 00006937 lui s2,0x6
|
|
1f10: 147d addi s0,s0,-1
|
|
1f12: 00941463 bne s0,s1,1f1a <object_split+0x16>
|
|
1f16: cb0fe06f j 3c6 <__riscv_restore_0>
|
|
1f1a: b4490513 addi a0,s2,-1212 # 5b44 <__fsym_reboot_name+0x8>
|
|
1f1e: b9eff0ef jal ra,12bc <rt_kprintf>
|
|
1f22: b7fd j 1f10 <object_split+0xc>
|
|
|
|
00001f24 <show_wait_queue>:
|
|
1f24: c64fe2ef jal t0,388 <__riscv_save_4>
|
|
1f28: 4100 lw s0,0(a0)
|
|
1f2a: 84aa mv s1,a0
|
|
1f2c: 00006937 lui s2,0x6
|
|
1f30: 000069b7 lui s3,0x6
|
|
1f34: 00941463 bne s0,s1,1f3c <show_wait_queue+0x18>
|
|
1f38: c84fe06f j 3bc <__riscv_restore_4>
|
|
1f3c: fec40593 addi a1,s0,-20
|
|
1f40: b4890513 addi a0,s2,-1208 # 5b48 <__fsym_reboot_name+0xc>
|
|
1f44: b78ff0ef jal ra,12bc <rt_kprintf>
|
|
1f48: 401c lw a5,0(s0)
|
|
1f4a: 00978663 beq a5,s1,1f56 <show_wait_queue+0x32>
|
|
1f4e: b4c98513 addi a0,s3,-1204 # 5b4c <__fsym_reboot_name+0x10>
|
|
1f52: b6aff0ef jal ra,12bc <rt_kprintf>
|
|
1f56: 4000 lw s0,0(s0)
|
|
1f58: bff1 j 1f34 <show_wait_queue+0x10>
|
|
|
|
00001f5a <object_name_maxlen>:
|
|
1f5a: c48fe2ef jal t0,3a2 <__riscv_save_0>
|
|
1f5e: 892e mv s2,a1
|
|
1f60: fc1fe0ef jal ra,f20 <rt_strlen>
|
|
1f64: 842a mv s0,a0
|
|
1f66: 9dfff0ef jal ra,1944 <rt_enter_critical>
|
|
1f6a: 00092483 lw s1,0(s2)
|
|
1f6e: 01249c63 bne s1,s2,1f86 <object_name_maxlen+0x2c>
|
|
1f72: 9e9ff0ef jal ra,195a <rt_exit_critical>
|
|
1f76: 47a1 li a5,8
|
|
1f78: 0087c363 blt a5,s0,1f7e <object_name_maxlen+0x24>
|
|
1f7c: e011 bnez s0,1f80 <object_name_maxlen+0x26>
|
|
1f7e: 4421 li s0,8
|
|
1f80: 8522 mv a0,s0
|
|
1f82: c44fe06f j 3c6 <__riscv_restore_0>
|
|
1f86: ff448513 addi a0,s1,-12
|
|
1f8a: f97fe0ef jal ra,f20 <rt_strlen>
|
|
1f8e: 00a45363 bge s0,a0,1f94 <object_name_maxlen+0x3a>
|
|
1f92: 842a mv s0,a0
|
|
1f94: 4084 lw s1,0(s1)
|
|
1f96: bfe1 j 1f6e <object_name_maxlen+0x14>
|
|
|
|
00001f98 <list_thread>:
|
|
1f98: be2fe2ef jal t0,37a <__riscv_save_10>
|
|
1f9c: 4505 li a0,1
|
|
1f9e: f12ff0ef jal ra,16b0 <rt_object_get_information>
|
|
1fa2: 000059b7 lui s3,0x5
|
|
1fa6: 00450913 addi s2,a0,4
|
|
1faa: 842a mv s0,a0
|
|
1fac: 85ca mv a1,s2
|
|
1fae: 69098513 addi a0,s3,1680 # 5690 <__fsym_list_mem_name+0x350>
|
|
1fb2: fa9ff0ef jal ra,1f5a <object_name_maxlen>
|
|
1fb6: 85aa mv a1,a0
|
|
1fb8: 84aa mv s1,a0
|
|
1fba: 00005537 lui a0,0x5
|
|
1fbe: 69098613 addi a2,s3,1680
|
|
1fc2: 69850513 addi a0,a0,1688 # 5698 <__fsym_list_mem_name+0x358>
|
|
1fc6: af6ff0ef jal ra,12bc <rt_kprintf>
|
|
1fca: 8526 mv a0,s1
|
|
1fcc: f39ff0ef jal ra,1f04 <object_split>
|
|
1fd0: 00005537 lui a0,0x5
|
|
1fd4: 6dc50513 addi a0,a0,1756 # 56dc <__fsym_list_mem_name+0x39c>
|
|
1fd8: ae4ff0ef jal ra,12bc <rt_kprintf>
|
|
1fdc: 4040 lw s0,4(s0)
|
|
1fde: 000059b7 lui s3,0x5
|
|
1fe2: 4a05 li s4,1
|
|
1fe4: 4a89 li s5,2
|
|
1fe6: 00005b37 lui s6,0x5
|
|
1fea: 00005bb7 lui s7,0x5
|
|
1fee: 00005c37 lui s8,0x5
|
|
1ff2: 00005cb7 lui s9,0x5
|
|
1ff6: 00005d37 lui s10,0x5
|
|
1ffa: 00891563 bne s2,s0,2004 <__stack_size+0x4>
|
|
1ffe: 4501 li a0,0
|
|
2000: bb2fe06f j 3b2 <__riscv_restore_10>
|
|
2004: 02944703 lbu a4,41(s0)
|
|
2008: 71c98513 addi a0,s3,1820 # 571c <__fsym_list_mem_name+0x3dc>
|
|
200c: ff440693 addi a3,s0,-12
|
|
2010: 4621 li a2,8
|
|
2012: 85a6 mv a1,s1
|
|
2014: aa8ff0ef jal ra,12bc <rt_kprintf>
|
|
2018: 02844783 lbu a5,40(s0)
|
|
201c: 728c8513 addi a0,s9,1832 # 5728 <__fsym_list_mem_name+0x3e8>
|
|
2020: 8bbd andi a5,a5,15
|
|
2022: 01478e63 beq a5,s4,203e <__stack_size+0x3e>
|
|
2026: 734c0513 addi a0,s8,1844 # 5734 <__fsym_list_mem_name+0x3f4>
|
|
202a: 01578a63 beq a5,s5,203e <__stack_size+0x3e>
|
|
202e: 740b8513 addi a0,s7,1856 # 5740 <__fsym_list_mem_name+0x400>
|
|
2032: c791 beqz a5,203e <__stack_size+0x3e>
|
|
2034: 4711 li a4,4
|
|
2036: 00e79663 bne a5,a4,2042 <__stack_size+0x42>
|
|
203a: 74cb0513 addi a0,s6,1868 # 574c <__fsym_list_mem_name+0x40c>
|
|
203e: a7eff0ef jal ra,12bc <rt_kprintf>
|
|
2042: 4c4c lw a1,28(s0)
|
|
2044: 02300793 li a5,35
|
|
2048: 86ae mv a3,a1
|
|
204a: 2298 lbu a4,0(a3)
|
|
204c: 02f70663 beq a4,a5,2078 <__stack_size+0x78>
|
|
2050: 5010 lw a2,32(s0)
|
|
2052: 06400793 li a5,100
|
|
2056: 4808 lw a0,16(s0)
|
|
2058: 95b2 add a1,a1,a2
|
|
205a: 40d586b3 sub a3,a1,a3
|
|
205e: 02f686b3 mul a3,a3,a5
|
|
2062: 5c58 lw a4,60(s0)
|
|
2064: 505c lw a5,36(s0)
|
|
2066: 8d89 sub a1,a1,a0
|
|
2068: 758d0513 addi a0,s10,1880 # 5758 <__fsym_list_mem_name+0x418>
|
|
206c: 02c6d6b3 divu a3,a3,a2
|
|
2070: a4cff0ef jal ra,12bc <rt_kprintf>
|
|
2074: 4000 lw s0,0(s0)
|
|
2076: b751 j 1ffa <list_thread+0x62>
|
|
2078: 0685 addi a3,a3,1
|
|
207a: bfc1 j 204a <__stack_size+0x4a>
|
|
|
|
0000207c <list_sem>:
|
|
207c: b0cfe2ef jal t0,388 <__riscv_save_4>
|
|
2080: 1141 addi sp,sp,-16
|
|
2082: 4509 li a0,2
|
|
2084: e2cff0ef jal ra,16b0 <rt_object_get_information>
|
|
2088: 00450993 addi s3,a0,4
|
|
208c: 00005937 lui s2,0x5
|
|
2090: 842a mv s0,a0
|
|
2092: 85ce mv a1,s3
|
|
2094: 63090513 addi a0,s2,1584 # 5630 <__fsym_list_mem_name+0x2f0>
|
|
2098: ec3ff0ef jal ra,1f5a <object_name_maxlen>
|
|
209c: 85aa mv a1,a0
|
|
209e: 84aa mv s1,a0
|
|
20a0: 00005537 lui a0,0x5
|
|
20a4: 63090613 addi a2,s2,1584
|
|
20a8: 63c50513 addi a0,a0,1596 # 563c <__fsym_list_mem_name+0x2fc>
|
|
20ac: a10ff0ef jal ra,12bc <rt_kprintf>
|
|
20b0: 8526 mv a0,s1
|
|
20b2: e53ff0ef jal ra,1f04 <object_split>
|
|
20b6: 00005537 lui a0,0x5
|
|
20ba: 65850513 addi a0,a0,1624 # 5658 <__fsym_list_mem_name+0x318>
|
|
20be: 9feff0ef jal ra,12bc <rt_kprintf>
|
|
20c2: 4040 lw s0,4(s0)
|
|
20c4: 00005a37 lui s4,0x5
|
|
20c8: 00005ab7 lui s5,0x5
|
|
20cc: 00006b37 lui s6,0x6
|
|
20d0: 00899663 bne s3,s0,20dc <list_sem+0x60>
|
|
20d4: 4501 li a0,0
|
|
20d6: 0141 addi sp,sp,16
|
|
20d8: ae4fe06f j 3bc <__riscv_restore_4>
|
|
20dc: 281a lhu a4,16(s0)
|
|
20de: 441c lw a5,8(s0)
|
|
20e0: ff440693 addi a3,s0,-12
|
|
20e4: 00840913 addi s2,s0,8
|
|
20e8: c636 sw a3,12(sp)
|
|
20ea: c43a sw a4,8(sp)
|
|
20ec: 854a mv a0,s2
|
|
20ee: 02f90663 beq s2,a5,211a <list_sem+0x9e>
|
|
20f2: dd9ff0ef jal ra,1eca <rt_list_len>
|
|
20f6: 4722 lw a4,8(sp)
|
|
20f8: 46b2 lw a3,12(sp)
|
|
20fa: 87aa mv a5,a0
|
|
20fc: 4621 li a2,8
|
|
20fe: 85a6 mv a1,s1
|
|
2100: 670a8513 addi a0,s5,1648 # 5670 <__fsym_list_mem_name+0x330>
|
|
2104: 9b8ff0ef jal ra,12bc <rt_kprintf>
|
|
2108: 854a mv a0,s2
|
|
210a: e1bff0ef jal ra,1f24 <show_wait_queue>
|
|
210e: 608b0513 addi a0,s6,1544 # 6608 <ch32_uart_ops+0xd0>
|
|
2112: 9aaff0ef jal ra,12bc <rt_kprintf>
|
|
2116: 4000 lw s0,0(s0)
|
|
2118: bf65 j 20d0 <list_sem+0x54>
|
|
211a: db1ff0ef jal ra,1eca <rt_list_len>
|
|
211e: 4722 lw a4,8(sp)
|
|
2120: 46b2 lw a3,12(sp)
|
|
2122: 87aa mv a5,a0
|
|
2124: 4621 li a2,8
|
|
2126: 85a6 mv a1,s1
|
|
2128: 680a0513 addi a0,s4,1664 # 5680 <__fsym_list_mem_name+0x340>
|
|
212c: 990ff0ef jal ra,12bc <rt_kprintf>
|
|
2130: b7dd j 2116 <list_sem+0x9a>
|
|
|
|
00002132 <list_event>:
|
|
2132: a56fe2ef jal t0,388 <__riscv_save_4>
|
|
2136: 1141 addi sp,sp,-16
|
|
2138: 4511 li a0,4
|
|
213a: d76ff0ef jal ra,16b0 <rt_object_get_information>
|
|
213e: 00450993 addi s3,a0,4
|
|
2142: 00005937 lui s2,0x5
|
|
2146: 842a mv s0,a0
|
|
2148: 85ce mv a1,s3
|
|
214a: 47490513 addi a0,s2,1140 # 5474 <__fsym_list_mem_name+0x134>
|
|
214e: e0dff0ef jal ra,1f5a <object_name_maxlen>
|
|
2152: 85aa mv a1,a0
|
|
2154: 84aa mv s1,a0
|
|
2156: 00005537 lui a0,0x5
|
|
215a: 47490613 addi a2,s2,1140
|
|
215e: 47c50513 addi a0,a0,1148 # 547c <__fsym_list_mem_name+0x13c>
|
|
2162: 95aff0ef jal ra,12bc <rt_kprintf>
|
|
2166: 8526 mv a0,s1
|
|
2168: d9dff0ef jal ra,1f04 <object_split>
|
|
216c: 00005537 lui a0,0x5
|
|
2170: 4a050513 addi a0,a0,1184 # 54a0 <__fsym_list_mem_name+0x160>
|
|
2174: 948ff0ef jal ra,12bc <rt_kprintf>
|
|
2178: 4040 lw s0,4(s0)
|
|
217a: 00005a37 lui s4,0x5
|
|
217e: 00005ab7 lui s5,0x5
|
|
2182: 00006b37 lui s6,0x6
|
|
2186: 00899663 bne s3,s0,2192 <list_event+0x60>
|
|
218a: 4501 li a0,0
|
|
218c: 0141 addi sp,sp,16
|
|
218e: a2efe06f j 3bc <__riscv_restore_4>
|
|
2192: 441c lw a5,8(s0)
|
|
2194: 00840913 addi s2,s0,8
|
|
2198: ff440693 addi a3,s0,-12
|
|
219c: 4818 lw a4,16(s0)
|
|
219e: 02f90963 beq s2,a5,21d0 <list_event+0x9e>
|
|
21a2: 854a mv a0,s2
|
|
21a4: c636 sw a3,12(sp)
|
|
21a6: c43a sw a4,8(sp)
|
|
21a8: d23ff0ef jal ra,1eca <rt_list_len>
|
|
21ac: 4722 lw a4,8(sp)
|
|
21ae: 46b2 lw a3,12(sp)
|
|
21b0: 87aa mv a5,a0
|
|
21b2: 4621 li a2,8
|
|
21b4: 85a6 mv a1,s1
|
|
21b6: 4c0a8513 addi a0,s5,1216 # 54c0 <__fsym_list_mem_name+0x180>
|
|
21ba: 902ff0ef jal ra,12bc <rt_kprintf>
|
|
21be: 854a mv a0,s2
|
|
21c0: d65ff0ef jal ra,1f24 <show_wait_queue>
|
|
21c4: 608b0513 addi a0,s6,1544 # 6608 <ch32_uart_ops+0xd0>
|
|
21c8: 8f4ff0ef jal ra,12bc <rt_kprintf>
|
|
21cc: 4000 lw s0,0(s0)
|
|
21ce: bf65 j 2186 <list_event+0x54>
|
|
21d0: 4621 li a2,8
|
|
21d2: 85a6 mv a1,s1
|
|
21d4: 4d8a0513 addi a0,s4,1240 # 54d8 <__fsym_list_mem_name+0x198>
|
|
21d8: 8e4ff0ef jal ra,12bc <rt_kprintf>
|
|
21dc: bfc5 j 21cc <list_event+0x9a>
|
|
|
|
000021de <list_mutex>:
|
|
21de: 9aafe2ef jal t0,388 <__riscv_save_4>
|
|
21e2: 1141 addi sp,sp,-16
|
|
21e4: 450d li a0,3
|
|
21e6: ccaff0ef jal ra,16b0 <rt_object_get_information>
|
|
21ea: 000059b7 lui s3,0x5
|
|
21ee: 00450913 addi s2,a0,4
|
|
21f2: 842a mv s0,a0
|
|
21f4: 85ca mv a1,s2
|
|
21f6: 5cc98513 addi a0,s3,1484 # 55cc <__fsym_list_mem_name+0x28c>
|
|
21fa: d61ff0ef jal ra,1f5a <object_name_maxlen>
|
|
21fe: 85aa mv a1,a0
|
|
2200: 84aa mv s1,a0
|
|
2202: 00005537 lui a0,0x5
|
|
2206: 5cc98613 addi a2,s3,1484
|
|
220a: 5d450513 addi a0,a0,1492 # 55d4 <__fsym_list_mem_name+0x294>
|
|
220e: 8aeff0ef jal ra,12bc <rt_kprintf>
|
|
2212: 8526 mv a0,s1
|
|
2214: cf1ff0ef jal ra,1f04 <object_split>
|
|
2218: 00005537 lui a0,0x5
|
|
221c: 5f850513 addi a0,a0,1528 # 55f8 <__fsym_list_mem_name+0x2b8>
|
|
2220: 89cff0ef jal ra,12bc <rt_kprintf>
|
|
2224: 4040 lw s0,4(s0)
|
|
2226: 000059b7 lui s3,0x5
|
|
222a: 00891663 bne s2,s0,2236 <list_mutex+0x58>
|
|
222e: 4501 li a0,0
|
|
2230: 0141 addi sp,sp,16
|
|
2232: 98afe06f j 3bc <__riscv_restore_4>
|
|
2236: ff440693 addi a3,s0,-12
|
|
223a: 00840513 addi a0,s0,8
|
|
223e: c636 sw a3,12(sp)
|
|
2240: c8bff0ef jal ra,1eca <rt_list_len>
|
|
2244: 01344803 lbu a6,19(s0)
|
|
2248: 485c lw a5,20(s0)
|
|
224a: 46b2 lw a3,12(sp)
|
|
224c: 88aa mv a7,a0
|
|
224e: 4721 li a4,8
|
|
2250: 4621 li a2,8
|
|
2252: 85a6 mv a1,s1
|
|
2254: 61898513 addi a0,s3,1560 # 5618 <__fsym_list_mem_name+0x2d8>
|
|
2258: 864ff0ef jal ra,12bc <rt_kprintf>
|
|
225c: 4000 lw s0,0(s0)
|
|
225e: b7f1 j 222a <list_mutex+0x4c>
|
|
|
|
00002260 <list_mailbox>:
|
|
2260: 928fe2ef jal t0,388 <__riscv_save_4>
|
|
2264: 1141 addi sp,sp,-16
|
|
2266: 4515 li a0,5
|
|
2268: c48ff0ef jal ra,16b0 <rt_object_get_information>
|
|
226c: 00450993 addi s3,a0,4
|
|
2270: 00005937 lui s2,0x5
|
|
2274: 842a mv s0,a0
|
|
2276: 85ce mv a1,s3
|
|
2278: 4ec90513 addi a0,s2,1260 # 54ec <__fsym_list_mem_name+0x1ac>
|
|
227c: cdfff0ef jal ra,1f5a <object_name_maxlen>
|
|
2280: 85aa mv a1,a0
|
|
2282: 84aa mv s1,a0
|
|
2284: 00005537 lui a0,0x5
|
|
2288: 4ec90613 addi a2,s2,1260
|
|
228c: 4f450513 addi a0,a0,1268 # 54f4 <__fsym_list_mem_name+0x1b4>
|
|
2290: 82cff0ef jal ra,12bc <rt_kprintf>
|
|
2294: 8526 mv a0,s1
|
|
2296: c6fff0ef jal ra,1f04 <object_split>
|
|
229a: 00005537 lui a0,0x5
|
|
229e: 51850513 addi a0,a0,1304 # 5518 <__fsym_list_mem_name+0x1d8>
|
|
22a2: 81aff0ef jal ra,12bc <rt_kprintf>
|
|
22a6: 4040 lw s0,4(s0)
|
|
22a8: 00005a37 lui s4,0x5
|
|
22ac: 00005ab7 lui s5,0x5
|
|
22b0: 00006b37 lui s6,0x6
|
|
22b4: 00899663 bne s3,s0,22c0 <list_mailbox+0x60>
|
|
22b8: 4501 li a0,0
|
|
22ba: 0141 addi sp,sp,16
|
|
22bc: 900fe06f j 3bc <__riscv_restore_4>
|
|
22c0: 287a lhu a4,22(s0)
|
|
22c2: 285e lhu a5,20(s0)
|
|
22c4: 4410 lw a2,8(s0)
|
|
22c6: ff440693 addi a3,s0,-12
|
|
22ca: 00840913 addi s2,s0,8
|
|
22ce: c636 sw a3,12(sp)
|
|
22d0: c43a sw a4,8(sp)
|
|
22d2: c23e sw a5,4(sp)
|
|
22d4: 854a mv a0,s2
|
|
22d6: 02c90763 beq s2,a2,2304 <list_mailbox+0xa4>
|
|
22da: bf1ff0ef jal ra,1eca <rt_list_len>
|
|
22de: 4792 lw a5,4(sp)
|
|
22e0: 4722 lw a4,8(sp)
|
|
22e2: 46b2 lw a3,12(sp)
|
|
22e4: 882a mv a6,a0
|
|
22e6: 4621 li a2,8
|
|
22e8: 85a6 mv a1,s1
|
|
22ea: 534a8513 addi a0,s5,1332 # 5534 <__fsym_list_mem_name+0x1f4>
|
|
22ee: fcffe0ef jal ra,12bc <rt_kprintf>
|
|
22f2: 854a mv a0,s2
|
|
22f4: c31ff0ef jal ra,1f24 <show_wait_queue>
|
|
22f8: 608b0513 addi a0,s6,1544 # 6608 <ch32_uart_ops+0xd0>
|
|
22fc: fc1fe0ef jal ra,12bc <rt_kprintf>
|
|
2300: 4000 lw s0,0(s0)
|
|
2302: bf4d j 22b4 <list_mailbox+0x54>
|
|
2304: bc7ff0ef jal ra,1eca <rt_list_len>
|
|
2308: 4792 lw a5,4(sp)
|
|
230a: 4722 lw a4,8(sp)
|
|
230c: 46b2 lw a3,12(sp)
|
|
230e: 882a mv a6,a0
|
|
2310: 4621 li a2,8
|
|
2312: 85a6 mv a1,s1
|
|
2314: 54ca0513 addi a0,s4,1356 # 554c <__fsym_list_mem_name+0x20c>
|
|
2318: fa5fe0ef jal ra,12bc <rt_kprintf>
|
|
231c: b7d5 j 2300 <list_mailbox+0xa0>
|
|
|
|
0000231e <list_msgqueue>:
|
|
231e: 86afe2ef jal t0,388 <__riscv_save_4>
|
|
2322: 1141 addi sp,sp,-16
|
|
2324: 4519 li a0,6
|
|
2326: b8aff0ef jal ra,16b0 <rt_object_get_information>
|
|
232a: 00450993 addi s3,a0,4
|
|
232e: 00005937 lui s2,0x5
|
|
2332: 842a mv s0,a0
|
|
2334: 85ce mv a1,s3
|
|
2336: 56490513 addi a0,s2,1380 # 5564 <__fsym_list_mem_name+0x224>
|
|
233a: c21ff0ef jal ra,1f5a <object_name_maxlen>
|
|
233e: 85aa mv a1,a0
|
|
2340: 84aa mv s1,a0
|
|
2342: 00005537 lui a0,0x5
|
|
2346: 56490613 addi a2,s2,1380
|
|
234a: 57050513 addi a0,a0,1392 # 5570 <__fsym_list_mem_name+0x230>
|
|
234e: f6ffe0ef jal ra,12bc <rt_kprintf>
|
|
2352: 8526 mv a0,s1
|
|
2354: bb1ff0ef jal ra,1f04 <object_split>
|
|
2358: 00005537 lui a0,0x5
|
|
235c: 58c50513 addi a0,a0,1420 # 558c <__fsym_list_mem_name+0x24c>
|
|
2360: f5dfe0ef jal ra,12bc <rt_kprintf>
|
|
2364: 4040 lw s0,4(s0)
|
|
2366: 00005a37 lui s4,0x5
|
|
236a: 00005ab7 lui s5,0x5
|
|
236e: 00006b37 lui s6,0x6
|
|
2372: 00899663 bne s3,s0,237e <list_msgqueue+0x60>
|
|
2376: 4501 li a0,0
|
|
2378: 0141 addi sp,sp,16
|
|
237a: 842fe06f j 3bc <__riscv_restore_4>
|
|
237e: 2c1a lhu a4,24(s0)
|
|
2380: 441c lw a5,8(s0)
|
|
2382: ff440693 addi a3,s0,-12
|
|
2386: 00840913 addi s2,s0,8
|
|
238a: c636 sw a3,12(sp)
|
|
238c: c43a sw a4,8(sp)
|
|
238e: 854a mv a0,s2
|
|
2390: 02f90663 beq s2,a5,23bc <list_msgqueue+0x9e>
|
|
2394: b37ff0ef jal ra,1eca <rt_list_len>
|
|
2398: 4722 lw a4,8(sp)
|
|
239a: 46b2 lw a3,12(sp)
|
|
239c: 87aa mv a5,a0
|
|
239e: 4621 li a2,8
|
|
23a0: 85a6 mv a1,s1
|
|
23a2: 5a4a8513 addi a0,s5,1444 # 55a4 <__fsym_list_mem_name+0x264>
|
|
23a6: f17fe0ef jal ra,12bc <rt_kprintf>
|
|
23aa: 854a mv a0,s2
|
|
23ac: b79ff0ef jal ra,1f24 <show_wait_queue>
|
|
23b0: 608b0513 addi a0,s6,1544 # 6608 <ch32_uart_ops+0xd0>
|
|
23b4: f09fe0ef jal ra,12bc <rt_kprintf>
|
|
23b8: 4000 lw s0,0(s0)
|
|
23ba: bf65 j 2372 <list_msgqueue+0x54>
|
|
23bc: b0fff0ef jal ra,1eca <rt_list_len>
|
|
23c0: 4722 lw a4,8(sp)
|
|
23c2: 46b2 lw a3,12(sp)
|
|
23c4: 87aa mv a5,a0
|
|
23c6: 4621 li a2,8
|
|
23c8: 85a6 mv a1,s1
|
|
23ca: 5b8a0513 addi a0,s4,1464 # 55b8 <__fsym_list_mem_name+0x278>
|
|
23ce: eeffe0ef jal ra,12bc <rt_kprintf>
|
|
23d2: b7dd j 23b8 <list_msgqueue+0x9a>
|
|
|
|
000023d4 <list_device>:
|
|
23d4: fb5fd2ef jal t0,388 <__riscv_save_4>
|
|
23d8: 715d addi sp,sp,-80
|
|
23da: 4525 li a0,9
|
|
23dc: ad4ff0ef jal ra,16b0 <rt_object_get_information>
|
|
23e0: 6595 lui a1,0x5
|
|
23e2: 05000613 li a2,80
|
|
23e6: 842a mv s0,a0
|
|
23e8: 00450913 addi s2,a0,4
|
|
23ec: 08858593 addi a1,a1,136 # 5088 <strncmp+0x2a>
|
|
23f0: 850a mv a0,sp
|
|
23f2: 37b020ef jal ra,4f6c <memcpy>
|
|
23f6: 000059b7 lui s3,0x5
|
|
23fa: 85ca mv a1,s2
|
|
23fc: 40c98513 addi a0,s3,1036 # 540c <__fsym_list_mem_name+0xcc>
|
|
2400: b5bff0ef jal ra,1f5a <object_name_maxlen>
|
|
2404: 85aa mv a1,a0
|
|
2406: 84aa mv s1,a0
|
|
2408: 00005537 lui a0,0x5
|
|
240c: 40c98613 addi a2,s3,1036
|
|
2410: 41450513 addi a0,a0,1044 # 5414 <__fsym_list_mem_name+0xd4>
|
|
2414: ea9fe0ef jal ra,12bc <rt_kprintf>
|
|
2418: 8526 mv a0,s1
|
|
241a: aebff0ef jal ra,1f04 <object_split>
|
|
241e: 00005537 lui a0,0x5
|
|
2422: 43c50513 addi a0,a0,1084 # 543c <__fsym_list_mem_name+0xfc>
|
|
2426: e97fe0ef jal ra,12bc <rt_kprintf>
|
|
242a: 4040 lw s0,4(s0)
|
|
242c: 49d1 li s3,20
|
|
242e: 00005a37 lui s4,0x5
|
|
2432: 00891663 bne s2,s0,243e <list_device+0x6a>
|
|
2436: 4501 li a0,0
|
|
2438: 6161 addi sp,sp,80
|
|
243a: f83fd06f j 3bc <__riscv_restore_4>
|
|
243e: 441c lw a5,8(s0)
|
|
2440: ff440693 addi a3,s0,-12
|
|
2444: 02f9e063 bltu s3,a5,2464 <list_device+0x90>
|
|
2448: 0898 addi a4,sp,80
|
|
244a: 078a slli a5,a5,0x2
|
|
244c: 97ba add a5,a5,a4
|
|
244e: fb07a703 lw a4,-80(a5)
|
|
2452: 281c lbu a5,16(s0)
|
|
2454: 4621 li a2,8
|
|
2456: 85a6 mv a1,s1
|
|
2458: 460a0513 addi a0,s4,1120 # 5460 <__fsym_list_mem_name+0x120>
|
|
245c: e61fe0ef jal ra,12bc <rt_kprintf>
|
|
2460: 4000 lw s0,0(s0)
|
|
2462: bfc1 j 2432 <list_device+0x5e>
|
|
2464: 4746 lw a4,80(sp)
|
|
2466: b7f5 j 2452 <list_device+0x7e>
|
|
|
|
00002468 <list_timer>:
|
|
2468: f21fd2ef jal t0,388 <__riscv_save_4>
|
|
246c: 4529 li a0,10
|
|
246e: a42ff0ef jal ra,16b0 <rt_object_get_information>
|
|
2472: 000059b7 lui s3,0x5
|
|
2476: 00450913 addi s2,a0,4
|
|
247a: 842a mv s0,a0
|
|
247c: 85ca mv a1,s2
|
|
247e: 78098513 addi a0,s3,1920 # 5780 <__fsym_list_mem_name+0x440>
|
|
2482: ad9ff0ef jal ra,1f5a <object_name_maxlen>
|
|
2486: 85aa mv a1,a0
|
|
2488: 84aa mv s1,a0
|
|
248a: 00005537 lui a0,0x5
|
|
248e: 78098613 addi a2,s3,1920
|
|
2492: 78850513 addi a0,a0,1928 # 5788 <__fsym_list_mem_name+0x448>
|
|
2496: e27fe0ef jal ra,12bc <rt_kprintf>
|
|
249a: 8526 mv a0,s1
|
|
249c: a69ff0ef jal ra,1f04 <object_split>
|
|
24a0: 00005537 lui a0,0x5
|
|
24a4: 7b050513 addi a0,a0,1968 # 57b0 <__fsym_list_mem_name+0x470>
|
|
24a8: e15fe0ef jal ra,12bc <rt_kprintf>
|
|
24ac: 4040 lw s0,4(s0)
|
|
24ae: 000059b7 lui s3,0x5
|
|
24b2: 00005a37 lui s4,0x5
|
|
24b6: 00005ab7 lui s5,0x5
|
|
24ba: 00891e63 bne s2,s0,24d6 <list_timer+0x6e>
|
|
24be: fbdfd0ef jal ra,47a <rt_tick_get>
|
|
24c2: 85aa mv a1,a0
|
|
24c4: 00006537 lui a0,0x6
|
|
24c8: 80850513 addi a0,a0,-2040 # 5808 <__fsym_list_mem_name+0x4c8>
|
|
24cc: df1fe0ef jal ra,12bc <rt_kprintf>
|
|
24d0: 4501 li a0,0
|
|
24d2: eebfd06f j 3bc <__riscv_restore_4>
|
|
24d6: 4c5c lw a5,28(s0)
|
|
24d8: 4c18 lw a4,24(s0)
|
|
24da: 7d498513 addi a0,s3,2004 # 57d4 <__fsym_list_mem_name+0x494>
|
|
24de: ff440693 addi a3,s0,-12
|
|
24e2: 4621 li a2,8
|
|
24e4: 85a6 mv a1,s1
|
|
24e6: dd7fe0ef jal ra,12bc <rt_kprintf>
|
|
24ea: ffd44783 lbu a5,-3(s0)
|
|
24ee: 7eca8513 addi a0,s5,2028 # 57ec <__fsym_list_mem_name+0x4ac>
|
|
24f2: 8b85 andi a5,a5,1
|
|
24f4: e399 bnez a5,24fa <list_timer+0x92>
|
|
24f6: 7f8a0513 addi a0,s4,2040 # 57f8 <__fsym_list_mem_name+0x4b8>
|
|
24fa: dc3fe0ef jal ra,12bc <rt_kprintf>
|
|
24fe: 4000 lw s0,0(s0)
|
|
2500: bf6d j 24ba <list_timer+0x52>
|
|
|
|
00002502 <list>:
|
|
2502: e87fd2ef jal t0,388 <__riscv_save_4>
|
|
2506: 00005537 lui a0,0x5
|
|
250a: 3e450513 addi a0,a0,996 # 53e4 <__fsym_list_mem_name+0xa4>
|
|
250e: daffe0ef jal ra,12bc <rt_kprintf>
|
|
2512: 8a01a403 lw s0,-1888(gp) # 200002e8 <_syscall_table_begin>
|
|
2516: 000059b7 lui s3,0x5
|
|
251a: 00005a37 lui s4,0x5
|
|
251e: 8a41a783 lw a5,-1884(gp) # 200002ec <_syscall_table_end>
|
|
2522: 00f46563 bltu s0,a5,252c <list+0x2a>
|
|
2526: 4501 li a0,0
|
|
2528: e95fd06f j 3bc <__riscv_restore_4>
|
|
252c: 4004 lw s1,0(s0)
|
|
252e: 4609 li a2,2
|
|
2530: 3f898593 addi a1,s3,1016 # 53f8 <__fsym_list_mem_name+0xb8>
|
|
2534: 8526 mv a0,s1
|
|
2536: 329020ef jal ra,505e <strncmp>
|
|
253a: c519 beqz a0,2548 <list+0x46>
|
|
253c: 4050 lw a2,4(s0)
|
|
253e: 85a6 mv a1,s1
|
|
2540: 3fca0513 addi a0,s4,1020 # 53fc <__fsym_list_mem_name+0xbc>
|
|
2544: d79fe0ef jal ra,12bc <rt_kprintf>
|
|
2548: 0431 addi s0,s0,12
|
|
254a: bfd1 j 251e <list+0x1c>
|
|
|
|
0000254c <msh_help>:
|
|
254c: e3dfd2ef jal t0,388 <__riscv_save_4>
|
|
2550: 00006537 lui a0,0x6
|
|
2554: ca850513 addi a0,a0,-856 # 5ca8 <__fsym_reboot_name+0x16c>
|
|
2558: d65fe0ef jal ra,12bc <rt_kprintf>
|
|
255c: 8a01a403 lw s0,-1888(gp) # 200002e8 <_syscall_table_begin>
|
|
2560: 000069b7 lui s3,0x6
|
|
2564: 00006a37 lui s4,0x6
|
|
2568: 8a41a783 lw a5,-1884(gp) # 200002ec <_syscall_table_end>
|
|
256c: 00f46b63 bltu s0,a5,2582 <msh_help+0x36>
|
|
2570: 00006537 lui a0,0x6
|
|
2574: 60850513 addi a0,a0,1544 # 6608 <ch32_uart_ops+0xd0>
|
|
2578: d45fe0ef jal ra,12bc <rt_kprintf>
|
|
257c: 4501 li a0,0
|
|
257e: e3ffd06f j 3bc <__riscv_restore_4>
|
|
2582: 4004 lw s1,0(s0)
|
|
2584: 4619 li a2,6
|
|
2586: cc498593 addi a1,s3,-828 # 5cc4 <__fsym_reboot_name+0x188>
|
|
258a: 8526 mv a0,s1
|
|
258c: 2d3020ef jal ra,505e <strncmp>
|
|
2590: e901 bnez a0,25a0 <msh_help+0x54>
|
|
2592: 4050 lw a2,4(s0)
|
|
2594: 00648593 addi a1,s1,6
|
|
2598: ccca0513 addi a0,s4,-820 # 5ccc <__fsym_reboot_name+0x190>
|
|
259c: d21fe0ef jal ra,12bc <rt_kprintf>
|
|
25a0: 0431 addi s0,s0,12
|
|
25a2: b7d9 j 2568 <msh_help+0x1c>
|
|
|
|
000025a4 <msh_is_used>:
|
|
25a4: 4505 li a0,1
|
|
25a6: 8082 ret
|
|
|
|
000025a8 <msh_exec>:
|
|
25a8: de1fd2ef jal t0,388 <__riscv_save_4>
|
|
25ac: 7179 addi sp,sp,-48
|
|
25ae: 842a mv s0,a0
|
|
25b0: 95aa add a1,a1,a0
|
|
25b2: 02000693 li a3,32
|
|
25b6: 4725 li a4,9
|
|
25b8: 00040783 lb a5,0(s0)
|
|
25bc: 408584b3 sub s1,a1,s0
|
|
25c0: 0ad78563 beq a5,a3,266a <msh_exec+0xc2>
|
|
25c4: 0ae78363 beq a5,a4,266a <msh_exec+0xc2>
|
|
25c8: 4501 li a0,0
|
|
25ca: 10048b63 beqz s1,26e0 <msh_exec+0x138>
|
|
25ce: 4901 li s2,0
|
|
25d0: 02000713 li a4,32
|
|
25d4: 46a5 li a3,9
|
|
25d6: 012407b3 add a5,s0,s2
|
|
25da: 00078783 lb a5,0(a5)
|
|
25de: 08e78a63 beq a5,a4,2672 <msh_exec+0xca>
|
|
25e2: 08d78863 beq a5,a3,2672 <msh_exec+0xca>
|
|
25e6: 08991463 bne s2,s1,266e <msh_exec+0xc6>
|
|
25ea: 8a01a983 lw s3,-1888(gp) # 200002e8 <_syscall_table_begin>
|
|
25ee: 8a41aa83 lw s5,-1884(gp) # 200002ec <_syscall_table_end>
|
|
25f2: 00006b37 lui s6,0x6
|
|
25f6: 0959f063 bgeu s3,s5,2676 <msh_exec+0xce>
|
|
25fa: 0009aa03 lw s4,0(s3)
|
|
25fe: 4619 li a2,6
|
|
2600: cc4b0593 addi a1,s6,-828 # 5cc4 <__fsym_reboot_name+0x188>
|
|
2604: 8552 mv a0,s4
|
|
2606: 259020ef jal ra,505e <strncmp>
|
|
260a: e559 bnez a0,2698 <msh_exec+0xf0>
|
|
260c: 864a mv a2,s2
|
|
260e: 85a2 mv a1,s0
|
|
2610: 006a0513 addi a0,s4,6
|
|
2614: 24b020ef jal ra,505e <strncmp>
|
|
2618: e141 bnez a0,2698 <msh_exec+0xf0>
|
|
261a: 9a4a add s4,s4,s2
|
|
261c: 006a0783 lb a5,6(s4)
|
|
2620: efa5 bnez a5,2698 <msh_exec+0xf0>
|
|
2622: 0089a983 lw s3,8(s3)
|
|
2626: 04098863 beqz s3,2676 <msh_exec+0xce>
|
|
262a: 02800613 li a2,40
|
|
262e: 4581 li a1,0
|
|
2630: 0028 addi a0,sp,8
|
|
2632: da1fd0ef jal ra,3d2 <memset>
|
|
2636: 00810913 addi s2,sp,8
|
|
263a: 86ca mv a3,s2
|
|
263c: 87a2 mv a5,s0
|
|
263e: 4501 li a0,0
|
|
2640: 4701 li a4,0
|
|
2642: 02000813 li a6,32
|
|
2646: 48a5 li a7,9
|
|
2648: 4329 li t1,10
|
|
264a: 02200613 li a2,34
|
|
264e: 05c00e13 li t3,92
|
|
2652: 00078583 lb a1,0(a5)
|
|
2656: 01058463 beq a1,a6,265e <msh_exec+0xb6>
|
|
265a: 05159663 bne a1,a7,26a6 <msh_exec+0xfe>
|
|
265e: 02971f63 bne a4,s1,269c <msh_exec+0xf4>
|
|
2662: 47a9 li a5,10
|
|
2664: 04f50363 beq a0,a5,26aa <msh_exec+0x102>
|
|
2668: a869 j 2702 <msh_exec+0x15a>
|
|
266a: 0405 addi s0,s0,1
|
|
266c: b7b1 j 25b8 <msh_exec+0x10>
|
|
266e: 0905 addi s2,s2,1
|
|
2670: b79d j 25d6 <msh_exec+0x2e>
|
|
2672: f6091ce3 bnez s2,25ea <msh_exec+0x42>
|
|
2676: 87a2 mv a5,s0
|
|
2678: 00078703 lb a4,0(a5)
|
|
267c: fdf77713 andi a4,a4,-33
|
|
2680: e779 bnez a4,274e <msh_exec+0x1a6>
|
|
2682: 00006537 lui a0,0x6
|
|
2686: c9050513 addi a0,a0,-880 # 5c90 <__fsym_reboot_name+0x154>
|
|
268a: 00078023 sb zero,0(a5)
|
|
268e: 85a2 mv a1,s0
|
|
2690: c2dfe0ef jal ra,12bc <rt_kprintf>
|
|
2694: 557d li a0,-1
|
|
2696: a0a9 j 26e0 <msh_exec+0x138>
|
|
2698: 09b1 addi s3,s3,12
|
|
269a: bfb1 j 25f6 <msh_exec+0x4e>
|
|
269c: 00078023 sb zero,0(a5)
|
|
26a0: 0705 addi a4,a4,1
|
|
26a2: 0785 addi a5,a5,1
|
|
26a4: b77d j 2652 <msh_exec+0xaa>
|
|
26a6: 04651063 bne a0,t1,26e6 <msh_exec+0x13e>
|
|
26aa: 00006537 lui a0,0x6
|
|
26ae: c6c50513 addi a0,a0,-916 # 5c6c <__fsym_reboot_name+0x130>
|
|
26b2: c0bfe0ef jal ra,12bc <rt_kprintf>
|
|
26b6: 1800 addi s0,sp,48
|
|
26b8: 000064b7 lui s1,0x6
|
|
26bc: 00092583 lw a1,0(s2)
|
|
26c0: c8c48513 addi a0,s1,-884 # 5c8c <__fsym_reboot_name+0x150>
|
|
26c4: 0911 addi s2,s2,4
|
|
26c6: bf7fe0ef jal ra,12bc <rt_kprintf>
|
|
26ca: fe8919e3 bne s2,s0,26bc <msh_exec+0x114>
|
|
26ce: 00006537 lui a0,0x6
|
|
26d2: 60850513 addi a0,a0,1544 # 6608 <ch32_uart_ops+0xd0>
|
|
26d6: be7fe0ef jal ra,12bc <rt_kprintf>
|
|
26da: 4529 li a0,10
|
|
26dc: 002c addi a1,sp,8
|
|
26de: 9982 jalr s3
|
|
26e0: 6145 addi sp,sp,48
|
|
26e2: cdbfd06f j 3bc <__riscv_restore_4>
|
|
26e6: 00977e63 bgeu a4,s1,2702 <msh_exec+0x15a>
|
|
26ea: 0505 addi a0,a0,1
|
|
26ec: 04c59263 bne a1,a2,2730 <msh_exec+0x188>
|
|
26f0: 0785 addi a5,a5,1
|
|
26f2: 0705 addi a4,a4,1
|
|
26f4: c29c sw a5,0(a3)
|
|
26f6: 00078583 lb a1,0(a5)
|
|
26fa: 02c58163 beq a1,a2,271c <msh_exec+0x174>
|
|
26fe: 00976463 bltu a4,s1,2706 <msh_exec+0x15e>
|
|
2702: fd69 bnez a0,26dc <msh_exec+0x134>
|
|
2704: bf8d j 2676 <msh_exec+0xce>
|
|
2706: 00178e83 lb t4,1(a5)
|
|
270a: 01c59663 bne a1,t3,2716 <msh_exec+0x16e>
|
|
270e: 00ce9463 bne t4,a2,2716 <msh_exec+0x16e>
|
|
2712: 0785 addi a5,a5,1
|
|
2714: 0705 addi a4,a4,1
|
|
2716: 0785 addi a5,a5,1
|
|
2718: 0705 addi a4,a4,1
|
|
271a: bff1 j 26f6 <msh_exec+0x14e>
|
|
271c: fe9773e3 bgeu a4,s1,2702 <msh_exec+0x15a>
|
|
2720: 00078023 sb zero,0(a5)
|
|
2724: 0705 addi a4,a4,1
|
|
2726: 0785 addi a5,a5,1
|
|
2728: 0691 addi a3,a3,4
|
|
272a: f29764e3 bltu a4,s1,2652 <msh_exec+0xaa>
|
|
272e: bfd1 j 2702 <msh_exec+0x15a>
|
|
2730: c29c sw a5,0(a3)
|
|
2732: 00078583 lb a1,0(a5)
|
|
2736: 01058963 beq a1,a6,2748 <msh_exec+0x1a0>
|
|
273a: 01158763 beq a1,a7,2748 <msh_exec+0x1a0>
|
|
273e: fc9702e3 beq a4,s1,2702 <msh_exec+0x15a>
|
|
2742: 0785 addi a5,a5,1
|
|
2744: 0705 addi a4,a4,1
|
|
2746: b7f5 j 2732 <msh_exec+0x18a>
|
|
2748: fe9760e3 bltu a4,s1,2728 <msh_exec+0x180>
|
|
274c: bf5d j 2702 <msh_exec+0x15a>
|
|
274e: 0785 addi a5,a5,1
|
|
2750: b725 j 2678 <msh_exec+0xd0>
|
|
|
|
00002752 <msh_auto_complete>:
|
|
2752: c29fd2ef jal t0,37a <__riscv_save_10>
|
|
2756: 00050783 lb a5,0(a0)
|
|
275a: e799 bnez a5,2768 <msh_auto_complete+0x16>
|
|
275c: 4581 li a1,0
|
|
275e: 4501 li a0,0
|
|
2760: dedff0ef jal ra,254c <msh_help>
|
|
2764: c4ffd06f j 3b2 <__riscv_restore_10>
|
|
2768: 8a01aa03 lw s4,-1888(gp) # 200002e8 <_syscall_table_begin>
|
|
276c: 89aa mv s3,a0
|
|
276e: 4481 li s1,0
|
|
2770: 4901 li s2,0
|
|
2772: 00006b37 lui s6,0x6
|
|
2776: 00006bb7 lui s7,0x6
|
|
277a: 8a41a783 lw a5,-1884(gp) # 200002ec <_syscall_table_end>
|
|
277e: 00fa6963 bltu s4,a5,2790 <msh_auto_complete+0x3e>
|
|
2782: d0ed beqz s1,2764 <msh_auto_complete+0x12>
|
|
2784: 864a mv a2,s2
|
|
2786: 85a6 mv a1,s1
|
|
2788: 854e mv a0,s3
|
|
278a: f40fe0ef jal ra,eca <rt_strncpy>
|
|
278e: bfd9 j 2764 <msh_auto_complete+0x12>
|
|
2790: 000a2403 lw s0,0(s4)
|
|
2794: 4619 li a2,6
|
|
2796: cc4b0593 addi a1,s6,-828 # 5cc4 <__fsym_reboot_name+0x188>
|
|
279a: 8522 mv a0,s0
|
|
279c: 0c3020ef jal ra,505e <strncmp>
|
|
27a0: e121 bnez a0,27e0 <msh_auto_complete+0x8e>
|
|
27a2: 854e mv a0,s3
|
|
27a4: 0a9020ef jal ra,504c <strlen>
|
|
27a8: 0419 addi s0,s0,6
|
|
27aa: 862a mv a2,a0
|
|
27ac: 85a2 mv a1,s0
|
|
27ae: 854e mv a0,s3
|
|
27b0: 0af020ef jal ra,505e <strncmp>
|
|
27b4: e515 bnez a0,27e0 <msh_auto_complete+0x8e>
|
|
27b6: 00091763 bnez s2,27c4 <msh_auto_complete+0x72>
|
|
27ba: 8522 mv a0,s0
|
|
27bc: 091020ef jal ra,504c <strlen>
|
|
27c0: 892a mv s2,a0
|
|
27c2: 84a2 mv s1,s0
|
|
27c4: 87a6 mv a5,s1
|
|
27c6: 8722 mv a4,s0
|
|
27c8: 00078603 lb a2,0(a5)
|
|
27cc: ee01 bnez a2,27e4 <msh_auto_complete+0x92>
|
|
27ce: 8f85 sub a5,a5,s1
|
|
27d0: 0127d363 bge a5,s2,27d6 <msh_auto_complete+0x84>
|
|
27d4: 893e mv s2,a5
|
|
27d6: 85a2 mv a1,s0
|
|
27d8: cd4b8513 addi a0,s7,-812 # 5cd4 <__fsym_reboot_name+0x198>
|
|
27dc: ae1fe0ef jal ra,12bc <rt_kprintf>
|
|
27e0: 0a31 addi s4,s4,12
|
|
27e2: bf61 j 277a <msh_auto_complete+0x28>
|
|
27e4: 00070683 lb a3,0(a4) # e000e000 <_eusrstack+0xbfffe000>
|
|
27e8: d2fd beqz a3,27ce <msh_auto_complete+0x7c>
|
|
27ea: fed612e3 bne a2,a3,27ce <msh_auto_complete+0x7c>
|
|
27ee: 0785 addi a5,a5,1
|
|
27f0: 0705 addi a4,a4,1
|
|
27f2: bfd9 j 27c8 <msh_auto_complete+0x76>
|
|
|
|
000027f4 <cmd_ps>:
|
|
27f4: baffd2ef jal t0,3a2 <__riscv_save_0>
|
|
27f8: fa0ff0ef jal ra,1f98 <list_thread>
|
|
27fc: 4501 li a0,0
|
|
27fe: bc9fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00002802 <cmd_free>:
|
|
2802: ba1fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2806: c03fe0ef jal ra,1408 <list_mem>
|
|
280a: 4501 li a0,0
|
|
280c: bbbfd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00002810 <finsh_rx_ind>:
|
|
2810: b93fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2814: 89c1a503 lw a0,-1892(gp) # 200002e4 <shell>
|
|
2818: 8cefe0ef jal ra,8e6 <rt_sem_release>
|
|
281c: 4501 li a0,0
|
|
281e: ba9fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00002822 <finsh_system_init>:
|
|
2822: b81fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2826: 000067b7 lui a5,0x6
|
|
282a: 61478793 addi a5,a5,1556 # 6614 <__fsym_list_mem>
|
|
282e: 8af1a023 sw a5,-1888(gp) # 200002e8 <_syscall_table_begin>
|
|
2832: 000067b7 lui a5,0x6
|
|
2836: 76478793 addi a5,a5,1892 # 6764 <__rt_init_rti_start>
|
|
283a: 8af1a223 sw a5,-1884(gp) # 200002ec <_syscall_table_end>
|
|
283e: 000067b7 lui a5,0x6
|
|
2842: 76478793 addi a5,a5,1892 # 6764 <__rt_init_rti_start>
|
|
2846: 8af1a423 sw a5,-1880(gp) # 200002f0 <_sysvar_table_begin>
|
|
284a: 000067b7 lui a5,0x6
|
|
284e: 76478793 addi a5,a5,1892 # 6764 <__rt_init_rti_start>
|
|
2852: 21000593 li a1,528
|
|
2856: 4505 li a0,1
|
|
2858: 8af1a623 sw a5,-1876(gp) # 200002f4 <_sysvar_table_end>
|
|
285c: 89c18413 addi s0,gp,-1892 # 200002e4 <shell>
|
|
2860: d83fe0ef jal ra,15e2 <rt_calloc>
|
|
2864: c008 sw a0,0(s0)
|
|
2866: e919 bnez a0,287c <finsh_system_init+0x5a>
|
|
2868: 00006537 lui a0,0x6
|
|
286c: d8850513 addi a0,a0,-632 # 5d88 <__fsym___cmd_ps_name+0x40>
|
|
2870: a4dfe0ef jal ra,12bc <rt_kprintf>
|
|
2874: 547d li s0,-1
|
|
2876: 8522 mv a0,s0
|
|
2878: b4ffd06f j 3c6 <__riscv_restore_0>
|
|
287c: 000035b7 lui a1,0x3
|
|
2880: 00006537 lui a0,0x6
|
|
2884: 47a9 li a5,10
|
|
2886: 472d li a4,11
|
|
2888: 40000693 li a3,1024
|
|
288c: 4601 li a2,0
|
|
288e: 9a258593 addi a1,a1,-1630 # 29a2 <finsh_thread_entry>
|
|
2892: da050513 addi a0,a0,-608 # 5da0 <__fsym___cmd_ps_name+0x58>
|
|
2896: a2cff0ef jal ra,1ac2 <rt_thread_create>
|
|
289a: 84aa mv s1,a0
|
|
289c: 4008 lw a0,0(s0)
|
|
289e: 000065b7 lui a1,0x6
|
|
28a2: 4681 li a3,0
|
|
28a4: 4601 li a2,0
|
|
28a6: da858593 addi a1,a1,-600 # 5da8 <__fsym___cmd_ps_name+0x60>
|
|
28aa: f95fd0ef jal ra,83e <rt_sem_init>
|
|
28ae: 4401 li s0,0
|
|
28b0: d0f9 beqz s1,2876 <finsh_system_init+0x54>
|
|
28b2: 8526 mv a0,s1
|
|
28b4: b8aff0ef jal ra,1c3e <rt_thread_startup>
|
|
28b8: bf7d j 2876 <finsh_system_init+0x54>
|
|
|
|
000028ba <finsh_get_prompt>:
|
|
28ba: ae9fd2ef jal t0,3a2 <__riscv_save_0>
|
|
28be: ce7ff0ef jal ra,25a4 <msh_is_used>
|
|
28c2: c50d beqz a0,28ec <finsh_get_prompt+0x32>
|
|
28c4: 000065b7 lui a1,0x6
|
|
28c8: d5458593 addi a1,a1,-684 # 5d54 <__fsym___cmd_ps_name+0xc>
|
|
28cc: c8418513 addi a0,gp,-892 # 200006cc <finsh_prompt.4315>
|
|
28d0: 76c020ef jal ra,503c <strcpy>
|
|
28d4: 000065b7 lui a1,0x6
|
|
28d8: d6458593 addi a1,a1,-668 # 5d64 <__fsym___cmd_ps_name+0x1c>
|
|
28dc: c8418513 addi a0,gp,-892 # 200006cc <finsh_prompt.4315>
|
|
28e0: 73e020ef jal ra,501e <strcat>
|
|
28e4: c8418513 addi a0,gp,-892 # 200006cc <finsh_prompt.4315>
|
|
28e8: adffd06f j 3c6 <__riscv_restore_0>
|
|
28ec: 000065b7 lui a1,0x6
|
|
28f0: d5c58593 addi a1,a1,-676 # 5d5c <__fsym___cmd_ps_name+0x14>
|
|
28f4: bfe1 j 28cc <finsh_get_prompt+0x12>
|
|
|
|
000028f6 <shell_handle_history>:
|
|
28f6: aadfd2ef jal t0,3a2 <__riscv_save_0>
|
|
28fa: 842a mv s0,a0
|
|
28fc: 00006537 lui a0,0x6
|
|
2900: dc450513 addi a0,a0,-572 # 5dc4 <__fsym___cmd_ps_name+0x7c>
|
|
2904: 9b9fe0ef jal ra,12bc <rt_kprintf>
|
|
2908: fb3ff0ef jal ra,28ba <finsh_get_prompt>
|
|
290c: 85aa mv a1,a0
|
|
290e: 00006537 lui a0,0x6
|
|
2912: 1ba40613 addi a2,s0,442
|
|
2916: dcc50513 addi a0,a0,-564 # 5dcc <__fsym___cmd_ps_name+0x84>
|
|
291a: 9a3fe0ef jal ra,12bc <rt_kprintf>
|
|
291e: 4501 li a0,0
|
|
2920: aa7fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00002924 <finsh_set_device>:
|
|
2924: a7ffd2ef jal t0,3a2 <__riscv_save_0>
|
|
2928: 1141 addi sp,sp,-16
|
|
292a: c62a sw a0,12(sp)
|
|
292c: c57fd0ef jal ra,582 <rt_device_find>
|
|
2930: 45b2 lw a1,12(sp)
|
|
2932: e911 bnez a0,2946 <finsh_set_device+0x22>
|
|
2934: 00006537 lui a0,0x6
|
|
2938: d6850513 addi a0,a0,-664 # 5d68 <__fsym___cmd_ps_name+0x20>
|
|
293c: 981fe0ef jal ra,12bc <rt_kprintf>
|
|
2940: 0141 addi sp,sp,16
|
|
2942: a85fd06f j 3c6 <__riscv_restore_0>
|
|
2946: 89c1a783 lw a5,-1892(gp) # 200002e4 <shell>
|
|
294a: 84aa mv s1,a0
|
|
294c: 89c18413 addi s0,gp,-1892 # 200002e4 <shell>
|
|
2950: 20c7a783 lw a5,524(a5)
|
|
2954: fea786e3 beq a5,a0,2940 <finsh_set_device+0x1c>
|
|
2958: 14300593 li a1,323
|
|
295c: ca5fd0ef jal ra,600 <rt_device_open>
|
|
2960: f165 bnez a0,2940 <finsh_set_device+0x1c>
|
|
2962: 401c lw a5,0(s0)
|
|
2964: 20c7a503 lw a0,524(a5)
|
|
2968: c909 beqz a0,297a <finsh_set_device+0x56>
|
|
296a: d11fd0ef jal ra,67a <rt_device_close>
|
|
296e: 401c lw a5,0(s0)
|
|
2970: 4581 li a1,0
|
|
2972: 20c7a503 lw a0,524(a5)
|
|
2976: d79fd0ef jal ra,6ee <rt_device_set_rx_indicate>
|
|
297a: 4000 lw s0,0(s0)
|
|
297c: 05000613 li a2,80
|
|
2980: 4581 li a1,0
|
|
2982: 1ba40513 addi a0,s0,442
|
|
2986: a4dfd0ef jal ra,3d2 <memset>
|
|
298a: 000035b7 lui a1,0x3
|
|
298e: 20041523 sh zero,522(s0)
|
|
2992: 20942623 sw s1,524(s0)
|
|
2996: 81058593 addi a1,a1,-2032 # 2810 <finsh_rx_ind>
|
|
299a: 8526 mv a0,s1
|
|
299c: d53fd0ef jal ra,6ee <rt_device_set_rx_indicate>
|
|
29a0: b745 j 2940 <finsh_set_device+0x1c>
|
|
|
|
000029a2 <finsh_thread_entry>:
|
|
29a2: 9d1fd2ef jal t0,372 <__riscv_save_12>
|
|
29a6: 89c1a783 lw a5,-1892(gp) # 200002e4 <shell>
|
|
29aa: 1141 addi sp,sp,-16
|
|
29ac: 89c18493 addi s1,gp,-1892 # 200002e4 <shell>
|
|
29b0: 0247c703 lbu a4,36(a5)
|
|
29b4: 00176713 ori a4,a4,1
|
|
29b8: 02e78223 sb a4,36(a5)
|
|
29bc: 20c7a783 lw a5,524(a5)
|
|
29c0: e791 bnez a5,29cc <finsh_thread_entry+0x2a>
|
|
29c2: 8c5fe0ef jal ra,1286 <rt_console_get_device>
|
|
29c6: c119 beqz a0,29cc <finsh_thread_entry+0x2a>
|
|
29c8: f5dff0ef jal ra,2924 <finsh_set_device>
|
|
29cc: eefff0ef jal ra,28ba <finsh_get_prompt>
|
|
29d0: 8edfe0ef jal ra,12bc <rt_kprintf>
|
|
29d4: 00006b37 lui s6,0x6
|
|
29d8: 00006bb7 lui s7,0x6
|
|
29dc: 000069b7 lui s3,0x6
|
|
29e0: 00006a37 lui s4,0x6
|
|
29e4: 00006ab7 lui s5,0x6
|
|
29e8: 00006c37 lui s8,0x6
|
|
29ec: 00006cb7 lui s9,0x6
|
|
29f0: 409c lw a5,0(s1)
|
|
29f2: 4685 li a3,1
|
|
29f4: 00f10613 addi a2,sp,15
|
|
29f8: 20c7a503 lw a0,524(a5)
|
|
29fc: 55fd li a1,-1
|
|
29fe: cb5fd0ef jal ra,6b2 <rt_device_read>
|
|
2a02: 4785 li a5,1
|
|
2a04: 00f51a63 bne a0,a5,2a18 <finsh_thread_entry+0x76>
|
|
2a08: 00f10903 lb s2,15(sp)
|
|
2a0c: 47ed li a5,27
|
|
2a0e: 4080 lw s0,0(s1)
|
|
2a10: 00f91963 bne s2,a5,2a22 <finsh_thread_entry+0x80>
|
|
2a14: d008 sw a0,32(s0)
|
|
2a16: bfe9 j 29f0 <finsh_thread_entry+0x4e>
|
|
2a18: 4088 lw a0,0(s1)
|
|
2a1a: 55fd li a1,-1
|
|
2a1c: e4bfd0ef jal ra,866 <rt_sem_take>
|
|
2a20: bfc1 j 29f0 <finsh_thread_entry+0x4e>
|
|
2a22: 501c lw a5,32(s0)
|
|
2a24: 02a79263 bne a5,a0,2a48 <finsh_thread_entry+0xa6>
|
|
2a28: 05b00793 li a5,91
|
|
2a2c: 00f91563 bne s2,a5,2a36 <finsh_thread_entry+0x94>
|
|
2a30: 4789 li a5,2
|
|
2a32: d01c sw a5,32(s0)
|
|
2a34: bf75 j 29f0 <finsh_thread_entry+0x4e>
|
|
2a36: 02042023 sw zero,32(s0)
|
|
2a3a: fa090be3 beqz s2,29f0 <finsh_thread_entry+0x4e>
|
|
2a3e: 47a5 li a5,9
|
|
2a40: 12f91463 bne s2,a5,2b68 <finsh_thread_entry+0x1c6>
|
|
2a44: 4901 li s2,0
|
|
2a46: a8d1 j 2b1a <finsh_thread_entry+0x178>
|
|
2a48: 4709 li a4,2
|
|
2a4a: fee798e3 bne a5,a4,2a3a <finsh_thread_entry+0x98>
|
|
2a4e: 02042023 sw zero,32(s0)
|
|
2a52: 04100793 li a5,65
|
|
2a56: 04f91263 bne s2,a5,2a9a <finsh_thread_entry+0xf8>
|
|
2a5a: 306e lhu a1,38(s0)
|
|
2a5c: d9d1 beqz a1,29f0 <finsh_thread_entry+0x4e>
|
|
2a5e: 15fd addi a1,a1,-1
|
|
2a60: 05c2 slli a1,a1,0x10
|
|
2a62: 81c1 srli a1,a1,0x10
|
|
2a64: b06e sh a1,38(s0)
|
|
2a66: 1ba40793 addi a5,s0,442
|
|
2a6a: 05000713 li a4,80
|
|
2a6e: 02e585b3 mul a1,a1,a4
|
|
2a72: 05000613 li a2,80
|
|
2a76: 853e mv a0,a5
|
|
2a78: 02a58593 addi a1,a1,42
|
|
2a7c: 95a2 add a1,a1,s0
|
|
2a7e: 4ee020ef jal ra,4f6c <memcpy>
|
|
2a82: 5ca020ef jal ra,504c <strlen>
|
|
2a86: 0ff57513 andi a0,a0,255
|
|
2a8a: 20a40523 sb a0,522(s0)
|
|
2a8e: 20a405a3 sb a0,523(s0)
|
|
2a92: 8522 mv a0,s0
|
|
2a94: e63ff0ef jal ra,28f6 <shell_handle_history>
|
|
2a98: bfa1 j 29f0 <finsh_thread_entry+0x4e>
|
|
2a9a: 04200793 li a5,66
|
|
2a9e: 02f91163 bne s2,a5,2ac0 <finsh_thread_entry+0x11e>
|
|
2aa2: 3416 lhu a3,40(s0)
|
|
2aa4: 307e lhu a5,38(s0)
|
|
2aa6: fff68713 addi a4,a3,-1 # 7fffffff <_eusrstack+0x5ffeffff>
|
|
2aaa: 00e7d863 bge a5,a4,2aba <finsh_thread_entry+0x118>
|
|
2aae: 0785 addi a5,a5,1
|
|
2ab0: b07e sh a5,38(s0)
|
|
2ab2: 1ba40793 addi a5,s0,442
|
|
2ab6: 306e lhu a1,38(s0)
|
|
2ab8: bf4d j 2a6a <finsh_thread_entry+0xc8>
|
|
2aba: da9d beqz a3,29f0 <finsh_thread_entry+0x4e>
|
|
2abc: b07a sh a4,38(s0)
|
|
2abe: bfd5 j 2ab2 <finsh_thread_entry+0x110>
|
|
2ac0: 04400793 li a5,68
|
|
2ac4: 02f91063 bne s2,a5,2ae4 <finsh_thread_entry+0x142>
|
|
2ac8: 20b44783 lbu a5,523(s0)
|
|
2acc: d395 beqz a5,29f0 <finsh_thread_entry+0x4e>
|
|
2ace: db098513 addi a0,s3,-592 # 5db0 <__fsym___cmd_ps_name+0x68>
|
|
2ad2: feafe0ef jal ra,12bc <rt_kprintf>
|
|
2ad6: 4098 lw a4,0(s1)
|
|
2ad8: 20b74783 lbu a5,523(a4)
|
|
2adc: 17fd addi a5,a5,-1
|
|
2ade: 20f705a3 sb a5,523(a4)
|
|
2ae2: b739 j 29f0 <finsh_thread_entry+0x4e>
|
|
2ae4: 04300793 li a5,67
|
|
2ae8: f4f919e3 bne s2,a5,2a3a <finsh_thread_entry+0x98>
|
|
2aec: 20b44783 lbu a5,523(s0)
|
|
2af0: 20a44703 lbu a4,522(s0)
|
|
2af4: eee7fee3 bgeu a5,a4,29f0 <finsh_thread_entry+0x4e>
|
|
2af8: 943e add s0,s0,a5
|
|
2afa: 1ba40583 lb a1,442(s0)
|
|
2afe: db4a8513 addi a0,s5,-588 # 5db4 <__fsym___cmd_ps_name+0x6c>
|
|
2b02: fbafe0ef jal ra,12bc <rt_kprintf>
|
|
2b06: 4098 lw a4,0(s1)
|
|
2b08: 20b74783 lbu a5,523(a4)
|
|
2b0c: 0785 addi a5,a5,1
|
|
2b0e: bfc1 j 2ade <finsh_thread_entry+0x13c>
|
|
2b10: db098513 addi a0,s3,-592
|
|
2b14: fa8fe0ef jal ra,12bc <rt_kprintf>
|
|
2b18: 0905 addi s2,s2,1
|
|
2b1a: 4080 lw s0,0(s1)
|
|
2b1c: 20b44783 lbu a5,523(s0)
|
|
2b20: fef948e3 blt s2,a5,2b10 <finsh_thread_entry+0x16e>
|
|
2b24: 608a0513 addi a0,s4,1544 # 6608 <ch32_uart_ops+0xd0>
|
|
2b28: f94fe0ef jal ra,12bc <rt_kprintf>
|
|
2b2c: a79ff0ef jal ra,25a4 <msh_is_used>
|
|
2b30: 4785 li a5,1
|
|
2b32: 1ba40413 addi s0,s0,442
|
|
2b36: 00f51563 bne a0,a5,2b40 <finsh_thread_entry+0x19e>
|
|
2b3a: 8522 mv a0,s0
|
|
2b3c: c17ff0ef jal ra,2752 <msh_auto_complete>
|
|
2b40: d7bff0ef jal ra,28ba <finsh_get_prompt>
|
|
2b44: 8622 mv a2,s0
|
|
2b46: 85aa mv a1,a0
|
|
2b48: dccc8513 addi a0,s9,-564 # 5dcc <__fsym___cmd_ps_name+0x84>
|
|
2b4c: f70fe0ef jal ra,12bc <rt_kprintf>
|
|
2b50: 4080 lw s0,0(s1)
|
|
2b52: 1ba40513 addi a0,s0,442
|
|
2b56: 4f6020ef jal ra,504c <strlen>
|
|
2b5a: 0ff57513 andi a0,a0,255
|
|
2b5e: 20a40523 sb a0,522(s0)
|
|
2b62: 20a405a3 sb a0,523(s0)
|
|
2b66: b569 j 29f0 <finsh_thread_entry+0x4e>
|
|
2b68: 07f00793 li a5,127
|
|
2b6c: 00f90563 beq s2,a5,2b76 <finsh_thread_entry+0x1d4>
|
|
2b70: 47a1 li a5,8
|
|
2b72: 08f91563 bne s2,a5,2bfc <finsh_thread_entry+0x25a>
|
|
2b76: 20b44783 lbu a5,523(s0)
|
|
2b7a: e6078be3 beqz a5,29f0 <finsh_thread_entry+0x4e>
|
|
2b7e: 20a44603 lbu a2,522(s0)
|
|
2b82: 17fd addi a5,a5,-1
|
|
2b84: 0ff7f793 andi a5,a5,255
|
|
2b88: 167d addi a2,a2,-1
|
|
2b8a: 0ff67613 andi a2,a2,255
|
|
2b8e: 20c40523 sb a2,522(s0)
|
|
2b92: 20f405a3 sb a5,523(s0)
|
|
2b96: 04c7f863 bgeu a5,a2,2be6 <finsh_thread_entry+0x244>
|
|
2b9a: 1bb78593 addi a1,a5,443
|
|
2b9e: 1ba78513 addi a0,a5,442
|
|
2ba2: 8e1d sub a2,a2,a5
|
|
2ba4: 95a2 add a1,a1,s0
|
|
2ba6: 9522 add a0,a0,s0
|
|
2ba8: adafe0ef jal ra,e82 <rt_memmove>
|
|
2bac: 409c lw a5,0(s1)
|
|
2bae: db8b8513 addi a0,s7,-584 # 5db8 <__fsym___cmd_ps_name+0x70>
|
|
2bb2: 20a7c703 lbu a4,522(a5)
|
|
2bb6: 973e add a4,a4,a5
|
|
2bb8: 1a070d23 sb zero,442(a4)
|
|
2bbc: 20b7c583 lbu a1,523(a5)
|
|
2bc0: 1ba58593 addi a1,a1,442
|
|
2bc4: 95be add a1,a1,a5
|
|
2bc6: ef6fe0ef jal ra,12bc <rt_kprintf>
|
|
2bca: 409c lw a5,0(s1)
|
|
2bcc: 20b7c403 lbu s0,523(a5)
|
|
2bd0: 409c lw a5,0(s1)
|
|
2bd2: 20a7c783 lbu a5,522(a5)
|
|
2bd6: e087cde3 blt a5,s0,29f0 <finsh_thread_entry+0x4e>
|
|
2bda: db098513 addi a0,s3,-592
|
|
2bde: edefe0ef jal ra,12bc <rt_kprintf>
|
|
2be2: 0405 addi s0,s0,1
|
|
2be4: b7f5 j 2bd0 <finsh_thread_entry+0x22e>
|
|
2be6: dc0b0513 addi a0,s6,-576 # 5dc0 <__fsym___cmd_ps_name+0x78>
|
|
2bea: ed2fe0ef jal ra,12bc <rt_kprintf>
|
|
2bee: 409c lw a5,0(s1)
|
|
2bf0: 20a7c703 lbu a4,522(a5)
|
|
2bf4: 97ba add a5,a5,a4
|
|
2bf6: 1a078d23 sb zero,442(a5)
|
|
2bfa: bbdd j 29f0 <finsh_thread_entry+0x4e>
|
|
2bfc: 4735 li a4,13
|
|
2bfe: 20a44783 lbu a5,522(s0)
|
|
2c02: 00e90563 beq s2,a4,2c0c <finsh_thread_entry+0x26a>
|
|
2c06: 4729 li a4,10
|
|
2c08: 0ee91e63 bne s2,a4,2d04 <finsh_thread_entry+0x362>
|
|
2c0c: cbb9 beqz a5,2c62 <finsh_thread_entry+0x2c0>
|
|
2c0e: 02845903 lhu s2,40(s0)
|
|
2c12: 4791 li a5,4
|
|
2c14: 1ba40d13 addi s10,s0,442
|
|
2c18: 0927fb63 bgeu a5,s2,2cae <finsh_thread_entry+0x30c>
|
|
2c1c: 16a40d93 addi s11,s0,362
|
|
2c20: 05000613 li a2,80
|
|
2c24: 85ea mv a1,s10
|
|
2c26: 856e mv a0,s11
|
|
2c28: 320020ef jal ra,4f48 <memcmp>
|
|
2c2c: c91d beqz a0,2c62 <finsh_thread_entry+0x2c0>
|
|
2c2e: 02a40913 addi s2,s0,42
|
|
2c32: 854a mv a0,s2
|
|
2c34: 05090913 addi s2,s2,80
|
|
2c38: 05000613 li a2,80
|
|
2c3c: 85ca mv a1,s2
|
|
2c3e: 32e020ef jal ra,4f6c <memcpy>
|
|
2c42: ff2d98e3 bne s11,s2,2c32 <finsh_thread_entry+0x290>
|
|
2c46: 05000613 li a2,80
|
|
2c4a: 4581 li a1,0
|
|
2c4c: 856e mv a0,s11
|
|
2c4e: f84fd0ef jal ra,3d2 <memset>
|
|
2c52: 20a44603 lbu a2,522(s0)
|
|
2c56: 85ea mv a1,s10
|
|
2c58: 856e mv a0,s11
|
|
2c5a: 312020ef jal ra,4f6c <memcpy>
|
|
2c5e: 4795 li a5,5
|
|
2c60: b41e sh a5,40(s0)
|
|
2c62: 341e lhu a5,40(s0)
|
|
2c64: b07e sh a5,38(s0)
|
|
2c66: 93fff0ef jal ra,25a4 <msh_is_used>
|
|
2c6a: 4785 li a5,1
|
|
2c6c: 02f51263 bne a0,a5,2c90 <finsh_thread_entry+0x2ee>
|
|
2c70: 409c lw a5,0(s1)
|
|
2c72: 0247c783 lbu a5,36(a5)
|
|
2c76: 8b85 andi a5,a5,1
|
|
2c78: c789 beqz a5,2c82 <finsh_thread_entry+0x2e0>
|
|
2c7a: 608a0513 addi a0,s4,1544
|
|
2c7e: e3efe0ef jal ra,12bc <rt_kprintf>
|
|
2c82: 4088 lw a0,0(s1)
|
|
2c84: 20a54583 lbu a1,522(a0)
|
|
2c88: 1ba50513 addi a0,a0,442
|
|
2c8c: 91dff0ef jal ra,25a8 <msh_exec>
|
|
2c90: c2bff0ef jal ra,28ba <finsh_get_prompt>
|
|
2c94: e28fe0ef jal ra,12bc <rt_kprintf>
|
|
2c98: 4080 lw s0,0(s1)
|
|
2c9a: 05000613 li a2,80
|
|
2c9e: 4581 li a1,0
|
|
2ca0: 1ba40513 addi a0,s0,442
|
|
2ca4: f2efd0ef jal ra,3d2 <memset>
|
|
2ca8: 20041523 sh zero,522(s0)
|
|
2cac: b391 j 29f0 <finsh_thread_entry+0x4e>
|
|
2cae: 02090163 beqz s2,2cd0 <finsh_thread_entry+0x32e>
|
|
2cb2: fff90513 addi a0,s2,-1
|
|
2cb6: 05000793 li a5,80
|
|
2cba: 02f50533 mul a0,a0,a5
|
|
2cbe: 05000613 li a2,80
|
|
2cc2: 85ea mv a1,s10
|
|
2cc4: 02a50513 addi a0,a0,42
|
|
2cc8: 9522 add a0,a0,s0
|
|
2cca: 27e020ef jal ra,4f48 <memcmp>
|
|
2cce: d951 beqz a0,2c62 <finsh_thread_entry+0x2c0>
|
|
2cd0: 05000d93 li s11,80
|
|
2cd4: 03b90533 mul a0,s2,s11
|
|
2cd8: 05000613 li a2,80
|
|
2cdc: 4581 li a1,0
|
|
2cde: 02a50513 addi a0,a0,42
|
|
2ce2: 9522 add a0,a0,s0
|
|
2ce4: eeefd0ef jal ra,3d2 <memset>
|
|
2ce8: 340a lhu a0,40(s0)
|
|
2cea: 20a44603 lbu a2,522(s0)
|
|
2cee: 85ea mv a1,s10
|
|
2cf0: 03b50533 mul a0,a0,s11
|
|
2cf4: 02a50513 addi a0,a0,42
|
|
2cf8: 9522 add a0,a0,s0
|
|
2cfa: 272020ef jal ra,4f6c <memcpy>
|
|
2cfe: 341e lhu a5,40(s0)
|
|
2d00: 0785 addi a5,a5,1
|
|
2d02: bfb9 j 2c60 <finsh_thread_entry+0x2be>
|
|
2d04: 04f00713 li a4,79
|
|
2d08: 00f77463 bgeu a4,a5,2d10 <finsh_thread_entry+0x36e>
|
|
2d0c: 20040523 sb zero,522(s0)
|
|
2d10: 20b44603 lbu a2,523(s0)
|
|
2d14: 20a44783 lbu a5,522(s0)
|
|
2d18: 08f67063 bgeu a2,a5,2d98 <finsh_thread_entry+0x3f6>
|
|
2d1c: 1ba60593 addi a1,a2,442
|
|
2d20: 1bb60513 addi a0,a2,443
|
|
2d24: 95a2 add a1,a1,s0
|
|
2d26: 40c78633 sub a2,a5,a2
|
|
2d2a: 9522 add a0,a0,s0
|
|
2d2c: 956fe0ef jal ra,e82 <rt_memmove>
|
|
2d30: 408c lw a1,0(s1)
|
|
2d32: 20b5c783 lbu a5,523(a1)
|
|
2d36: 00f58733 add a4,a1,a5
|
|
2d3a: 1b270d23 sb s2,442(a4)
|
|
2d3e: 0245c703 lbu a4,36(a1)
|
|
2d42: 8b05 andi a4,a4,1
|
|
2d44: cb01 beqz a4,2d54 <finsh_thread_entry+0x3b2>
|
|
2d46: 1ba78793 addi a5,a5,442
|
|
2d4a: 95be add a1,a1,a5
|
|
2d4c: b48c0513 addi a0,s8,-1208 # 5b48 <__fsym_reboot_name+0xc>
|
|
2d50: d6cfe0ef jal ra,12bc <rt_kprintf>
|
|
2d54: 409c lw a5,0(s1)
|
|
2d56: 20b7c403 lbu s0,523(a5)
|
|
2d5a: 409c lw a5,0(s1)
|
|
2d5c: 20a7c783 lbu a5,522(a5)
|
|
2d60: 02f44663 blt s0,a5,2d8c <finsh_thread_entry+0x3ea>
|
|
2d64: 4098 lw a4,0(s1)
|
|
2d66: 20a74783 lbu a5,522(a4)
|
|
2d6a: 20b74683 lbu a3,523(a4)
|
|
2d6e: 0785 addi a5,a5,1
|
|
2d70: 0685 addi a3,a3,1
|
|
2d72: 0ff7f793 andi a5,a5,255
|
|
2d76: 20d705a3 sb a3,523(a4)
|
|
2d7a: 20f70523 sb a5,522(a4)
|
|
2d7e: 04f00693 li a3,79
|
|
2d82: c6f6f7e3 bgeu a3,a5,29f0 <finsh_thread_entry+0x4e>
|
|
2d86: 20071523 sh zero,522(a4)
|
|
2d8a: b19d j 29f0 <finsh_thread_entry+0x4e>
|
|
2d8c: db098513 addi a0,s3,-592
|
|
2d90: d2cfe0ef jal ra,12bc <rt_kprintf>
|
|
2d94: 0405 addi s0,s0,1
|
|
2d96: b7d1 j 2d5a <finsh_thread_entry+0x3b8>
|
|
2d98: 97a2 add a5,a5,s0
|
|
2d9a: 1b278d23 sb s2,442(a5)
|
|
2d9e: 02444783 lbu a5,36(s0)
|
|
2da2: 8b85 andi a5,a5,1
|
|
2da4: d3e1 beqz a5,2d64 <finsh_thread_entry+0x3c2>
|
|
2da6: 85ca mv a1,s2
|
|
2da8: db4a8513 addi a0,s5,-588
|
|
2dac: d10fe0ef jal ra,12bc <rt_kprintf>
|
|
2db0: bf55 j 2d64 <finsh_thread_entry+0x3c2>
|
|
|
|
00002db2 <rt_serial_init>:
|
|
2db2: 417c lw a5,68(a0)
|
|
2db4: 04052823 sw zero,80(a0)
|
|
2db8: 04052a23 sw zero,84(a0)
|
|
2dbc: 439c lw a5,0(a5)
|
|
2dbe: cb81 beqz a5,2dce <rt_serial_init+0x1c>
|
|
2dc0: de2fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2dc4: 04850593 addi a1,a0,72
|
|
2dc8: 9782 jalr a5
|
|
2dca: dfcfd06f j 3c6 <__riscv_restore_0>
|
|
2dce: 4501 li a0,0
|
|
2dd0: 8082 ret
|
|
|
|
00002dd2 <rt_serial_write>:
|
|
2dd2: db6fd2ef jal t0,388 <__riscv_save_4>
|
|
2dd6: 8936 mv s2,a3
|
|
2dd8: ca9d beqz a3,2e0e <rt_serial_write+0x3c>
|
|
2dda: 84aa mv s1,a0
|
|
2ddc: 8432 mv s0,a2
|
|
2dde: 00d609b3 add s3,a2,a3
|
|
2de2: 4a29 li s4,10
|
|
2de4: 201c lbu a5,0(s0)
|
|
2de6: 01479b63 bne a5,s4,2dfc <rt_serial_write+0x2a>
|
|
2dea: 2cbe lhu a5,26(s1)
|
|
2dec: 0407f793 andi a5,a5,64
|
|
2df0: c791 beqz a5,2dfc <rt_serial_write+0x2a>
|
|
2df2: 40fc lw a5,68(s1)
|
|
2df4: 45b5 li a1,13
|
|
2df6: 8526 mv a0,s1
|
|
2df8: 479c lw a5,8(a5)
|
|
2dfa: 9782 jalr a5
|
|
2dfc: 40fc lw a5,68(s1)
|
|
2dfe: 00040583 lb a1,0(s0)
|
|
2e02: 8526 mv a0,s1
|
|
2e04: 479c lw a5,8(a5)
|
|
2e06: 0405 addi s0,s0,1
|
|
2e08: 9782 jalr a5
|
|
2e0a: fd341de3 bne s0,s3,2de4 <rt_serial_write+0x12>
|
|
2e0e: 854a mv a0,s2
|
|
2e10: dacfd06f j 3bc <__riscv_restore_4>
|
|
|
|
00002e14 <rt_serial_open>:
|
|
2e14: d8efd2ef jal t0,3a2 <__riscv_save_0>
|
|
2e18: 1005f793 andi a5,a1,256
|
|
2e1c: 842a mv s0,a0
|
|
2e1e: c791 beqz a5,2e2a <rt_serial_open+0x16>
|
|
2e20: 2d1a lhu a4,24(a0)
|
|
2e22: 5561 li a0,-8
|
|
2e24: 10077713 andi a4,a4,256
|
|
2e28: cf35 beqz a4,2ea4 <rt_serial_open+0x90>
|
|
2e2a: 4005f713 andi a4,a1,1024
|
|
2e2e: c711 beqz a4,2e3a <rt_serial_open+0x26>
|
|
2e30: 2c1a lhu a4,24(s0)
|
|
2e32: 5561 li a0,-8
|
|
2e34: 40077713 andi a4,a4,1024
|
|
2e38: c735 beqz a4,2ea4 <rt_serial_open+0x90>
|
|
2e3a: 0405f713 andi a4,a1,64
|
|
2e3e: 04000493 li s1,64
|
|
2e42: e701 bnez a4,2e4a <rt_serial_open+0x36>
|
|
2e44: 2c26 lhu s1,26(s0)
|
|
2e46: 0404f493 andi s1,s1,64
|
|
2e4a: 4838 lw a4,80(s0)
|
|
2e4c: 0ff5f593 andi a1,a1,255
|
|
2e50: ac2e sh a1,26(s0)
|
|
2e52: eb39 bnez a4,2ea8 <rt_serial_open+0x94>
|
|
2e54: c7a1 beqz a5,2e9c <rt_serial_open+0x88>
|
|
2e56: 4468 lw a0,76(s0)
|
|
2e58: 8129 srli a0,a0,0xa
|
|
2e5a: 0542 slli a0,a0,0x10
|
|
2e5c: 8141 srli a0,a0,0x10
|
|
2e5e: 0531 addi a0,a0,12
|
|
2e60: e56fe0ef jal ra,14b6 <rt_malloc>
|
|
2e64: 4470 lw a2,76(s0)
|
|
2e66: 892a mv s2,a0
|
|
2e68: 0531 addi a0,a0,12
|
|
2e6a: 8229 srli a2,a2,0xa
|
|
2e6c: 0642 slli a2,a2,0x10
|
|
2e6e: 8241 srli a2,a2,0x10
|
|
2e70: 4581 li a1,0
|
|
2e72: 00a92023 sw a0,0(s2)
|
|
2e76: ed3fd0ef jal ra,d48 <rt_memset>
|
|
2e7a: 00092223 sw zero,4(s2)
|
|
2e7e: 2c3e lhu a5,26(s0)
|
|
2e80: 00092423 sw zero,8(s2)
|
|
2e84: 05242823 sw s2,80(s0)
|
|
2e88: 1007e793 ori a5,a5,256
|
|
2e8c: ac3e sh a5,26(s0)
|
|
2e8e: 407c lw a5,68(s0)
|
|
2e90: 10000613 li a2,256
|
|
2e94: 45c1 li a1,16
|
|
2e96: 43dc lw a5,4(a5)
|
|
2e98: 8522 mv a0,s0
|
|
2e9a: 9782 jalr a5
|
|
2e9c: 2c3e lhu a5,26(s0)
|
|
2e9e: 4501 li a0,0
|
|
2ea0: 8cdd or s1,s1,a5
|
|
2ea2: ac26 sh s1,26(s0)
|
|
2ea4: d22fd06f j 3c6 <__riscv_restore_0>
|
|
2ea8: dbf5 beqz a5,2e9c <rt_serial_open+0x88>
|
|
2eaa: 1005e593 ori a1,a1,256
|
|
2eae: ac2e sh a1,26(s0)
|
|
2eb0: b7f5 j 2e9c <rt_serial_open+0x88>
|
|
|
|
00002eb2 <rt_serial_control>:
|
|
2eb2: 4809 li a6,2
|
|
2eb4: 87aa mv a5,a0
|
|
2eb6: 03058163 beq a1,a6,2ed8 <rt_serial_control+0x26>
|
|
2eba: ce8fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2ebe: 480d li a6,3
|
|
2ec0: 03058263 beq a1,a6,2ee4 <rt_serial_control+0x32>
|
|
2ec4: 4705 li a4,1
|
|
2ec6: 04e59963 bne a1,a4,2f18 <rt_serial_control+0x66>
|
|
2eca: 2d1a lhu a4,24(a0)
|
|
2ecc: fdf77713 andi a4,a4,-33
|
|
2ed0: ad1a sh a4,24(a0)
|
|
2ed2: 4501 li a0,0
|
|
2ed4: cf2fd06f j 3c6 <__riscv_restore_0>
|
|
2ed8: 2d1a lhu a4,24(a0)
|
|
2eda: 02076713 ori a4,a4,32
|
|
2ede: ad1a sh a4,24(a0)
|
|
2ee0: 4501 li a0,0
|
|
2ee2: 8082 ret
|
|
2ee4: 8732 mv a4,a2
|
|
2ee6: d675 beqz a2,2ed2 <rt_serial_control+0x20>
|
|
2ee8: 4250 lw a2,4(a2)
|
|
2eea: 4574 lw a3,76(a0)
|
|
2eec: 2d4c lbu a1,28(a0)
|
|
2eee: 8229 srli a2,a2,0xa
|
|
2ef0: 82a9 srli a3,a3,0xa
|
|
2ef2: 0642 slli a2,a2,0x10
|
|
2ef4: 06c2 slli a3,a3,0x10
|
|
2ef6: 8241 srli a2,a2,0x10
|
|
2ef8: 82c1 srli a3,a3,0x10
|
|
2efa: 00d60463 beq a2,a3,2f02 <rt_serial_control+0x50>
|
|
2efe: 451d li a0,7
|
|
2f00: f9f1 bnez a1,2ed4 <rt_serial_control+0x22>
|
|
2f02: 4314 lw a3,0(a4)
|
|
2f04: c7b4 sw a3,72(a5)
|
|
2f06: 4354 lw a3,4(a4)
|
|
2f08: c7f4 sw a3,76(a5)
|
|
2f0a: d5e1 beqz a1,2ed2 <rt_serial_control+0x20>
|
|
2f0c: 43f4 lw a3,68(a5)
|
|
2f0e: 85ba mv a1,a4
|
|
2f10: 853e mv a0,a5
|
|
2f12: 4294 lw a3,0(a3)
|
|
2f14: 9682 jalr a3
|
|
2f16: bf75 j 2ed2 <rt_serial_control+0x20>
|
|
2f18: 417c lw a5,68(a0)
|
|
2f1a: 43dc lw a5,4(a5)
|
|
2f1c: 9782 jalr a5
|
|
2f1e: bf5d j 2ed4 <rt_serial_control+0x22>
|
|
|
|
00002f20 <rt_serial_read>:
|
|
2f20: c68fd2ef jal t0,388 <__riscv_save_4>
|
|
2f24: 8436 mv s0,a3
|
|
2f26: cab1 beqz a3,2f7a <rt_serial_read+0x5a>
|
|
2f28: 2d3e lhu a5,26(a0)
|
|
2f2a: 89aa mv s3,a0
|
|
2f2c: 8932 mv s2,a2
|
|
2f2e: 1007f793 andi a5,a5,256
|
|
2f32: 84b6 mv s1,a3
|
|
2f34: e39d bnez a5,2f5a <rt_serial_read+0x3a>
|
|
2f36: 5a7d li s4,-1
|
|
2f38: 4aa9 li s5,10
|
|
2f3a: 0449a783 lw a5,68(s3)
|
|
2f3e: 854e mv a0,s3
|
|
2f40: 47dc lw a5,12(a5)
|
|
2f42: 9782 jalr a5
|
|
2f44: 01450963 beq a0,s4,2f56 <rt_serial_read+0x36>
|
|
2f48: 00a90023 sb a0,0(s2)
|
|
2f4c: 14fd addi s1,s1,-1
|
|
2f4e: 0905 addi s2,s2,1
|
|
2f50: 01550363 beq a0,s5,2f56 <rt_serial_read+0x36>
|
|
2f54: f0fd bnez s1,2f3a <rt_serial_read+0x1a>
|
|
2f56: 8c05 sub s0,s0,s1
|
|
2f58: a00d j 2f7a <rt_serial_read+0x5a>
|
|
2f5a: 4924 lw s1,80(a0)
|
|
2f5c: 8a36 mv s4,a3
|
|
2f5e: 4a85 li s5,1
|
|
2f60: f37fe0ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
2f64: 20fe lhu a5,6(s1)
|
|
2f66: 20da lhu a4,4(s1)
|
|
2f68: 862a mv a2,a0
|
|
2f6a: 4494 lw a3,8(s1)
|
|
2f6c: 00f71a63 bne a4,a5,2f80 <rt_serial_read+0x60>
|
|
2f70: ea81 bnez a3,2f80 <rt_serial_read+0x60>
|
|
2f72: f31fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
2f76: 41440433 sub s0,s0,s4
|
|
2f7a: 8522 mv a0,s0
|
|
2f7c: c40fd06f j 3bc <__riscv_restore_4>
|
|
2f80: 4098 lw a4,0(s1)
|
|
2f82: 973e add a4,a4,a5
|
|
2f84: 00074b03 lbu s6,0(a4)
|
|
2f88: 04c9a703 lw a4,76(s3)
|
|
2f8c: 0785 addi a5,a5,1
|
|
2f8e: 07c2 slli a5,a5,0x10
|
|
2f90: 8329 srli a4,a4,0xa
|
|
2f92: 83c1 srli a5,a5,0x10
|
|
2f94: 0742 slli a4,a4,0x10
|
|
2f96: a0fe sh a5,6(s1)
|
|
2f98: 8341 srli a4,a4,0x10
|
|
2f9a: 00e7e463 bltu a5,a4,2fa2 <rt_serial_read+0x82>
|
|
2f9e: 00049323 sh zero,6(s1)
|
|
2fa2: 01569463 bne a3,s5,2faa <rt_serial_read+0x8a>
|
|
2fa6: 0004a423 sw zero,8(s1)
|
|
2faa: 8532 mv a0,a2
|
|
2fac: ef7fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
2fb0: 1a7d addi s4,s4,-1
|
|
2fb2: 01690023 sb s6,0(s2)
|
|
2fb6: 0905 addi s2,s2,1
|
|
2fb8: fa0a14e3 bnez s4,2f60 <rt_serial_read+0x40>
|
|
2fbc: bf6d j 2f76 <rt_serial_read+0x56>
|
|
|
|
00002fbe <rt_serial_close>:
|
|
2fbe: 2d58 lbu a4,28(a0)
|
|
2fc0: 4785 li a5,1
|
|
2fc2: 02e7ec63 bltu a5,a4,2ffa <rt_serial_close+0x3c>
|
|
2fc6: 2d3e lhu a5,26(a0)
|
|
2fc8: 1007f793 andi a5,a5,256
|
|
2fcc: c79d beqz a5,2ffa <rt_serial_close+0x3c>
|
|
2fce: bd4fd2ef jal t0,3a2 <__riscv_save_0>
|
|
2fd2: 842a mv s0,a0
|
|
2fd4: 4928 lw a0,80(a0)
|
|
2fd6: e30fe0ef jal ra,1606 <rt_free>
|
|
2fda: 2c3e lhu a5,26(s0)
|
|
2fdc: 04042823 sw zero,80(s0)
|
|
2fe0: 10000613 li a2,256
|
|
2fe4: eff7f793 andi a5,a5,-257
|
|
2fe8: ac3e sh a5,26(s0)
|
|
2fea: 407c lw a5,68(s0)
|
|
2fec: 45c5 li a1,17
|
|
2fee: 8522 mv a0,s0
|
|
2ff0: 43dc lw a5,4(a5)
|
|
2ff2: 9782 jalr a5
|
|
2ff4: 4501 li a0,0
|
|
2ff6: bd0fd06f j 3c6 <__riscv_restore_0>
|
|
2ffa: 4501 li a0,0
|
|
2ffc: 8082 ret
|
|
|
|
00002ffe <rt_hw_serial_register>:
|
|
2ffe: ba4fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3002: 00003737 lui a4,0x3
|
|
3006: db270713 addi a4,a4,-590 # 2db2 <rt_serial_init>
|
|
300a: d518 sw a4,40(a0)
|
|
300c: 00003737 lui a4,0x3
|
|
3010: e1470713 addi a4,a4,-492 # 2e14 <rt_serial_open>
|
|
3014: d558 sw a4,44(a0)
|
|
3016: 00003737 lui a4,0x3
|
|
301a: fbe70713 addi a4,a4,-66 # 2fbe <rt_serial_close>
|
|
301e: d918 sw a4,48(a0)
|
|
3020: 00003737 lui a4,0x3
|
|
3024: f2070713 addi a4,a4,-224 # 2f20 <rt_serial_read>
|
|
3028: d958 sw a4,52(a0)
|
|
302a: 00003737 lui a4,0x3
|
|
302e: dd270713 addi a4,a4,-558 # 2dd2 <rt_serial_write>
|
|
3032: dd18 sw a4,56(a0)
|
|
3034: 00003737 lui a4,0x3
|
|
3038: eb270713 addi a4,a4,-334 # 2eb2 <rt_serial_control>
|
|
303c: 0642 slli a2,a2,0x10
|
|
303e: dd58 sw a4,60(a0)
|
|
3040: c134 sw a3,64(a0)
|
|
3042: 8241 srli a2,a2,0x10
|
|
3044: 00052a23 sw zero,20(a0)
|
|
3048: 02052023 sw zero,32(a0)
|
|
304c: 02052223 sw zero,36(a0)
|
|
3050: d7cfd0ef jal ra,5cc <rt_device_register>
|
|
3054: b72fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003058 <rt_hw_serial_isr>:
|
|
3058: 0ff5f593 andi a1,a1,255
|
|
305c: 4785 li a5,1
|
|
305e: 0af59163 bne a1,a5,3100 <rt_hw_serial_isr+0xa8>
|
|
3062: b26fd2ef jal t0,388 <__riscv_save_4>
|
|
3066: 4920 lw s0,80(a0)
|
|
3068: 1141 addi sp,sp,-16
|
|
306a: 84aa mv s1,a0
|
|
306c: 597d li s2,-1
|
|
306e: 4985 li s3,1
|
|
3070: 40fc lw a5,68(s1)
|
|
3072: 8526 mv a0,s1
|
|
3074: 47dc lw a5,12(a5)
|
|
3076: 9782 jalr a5
|
|
3078: 8a2a mv s4,a0
|
|
307a: 05250763 beq a0,s2,30c8 <rt_hw_serial_isr+0x70>
|
|
307e: e19fe0ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
3082: 205a lhu a4,4(s0)
|
|
3084: 401c lw a5,0(s0)
|
|
3086: 97ba add a5,a5,a4
|
|
3088: 01478023 sb s4,0(a5)
|
|
308c: 205e lhu a5,4(s0)
|
|
308e: 44f8 lw a4,76(s1)
|
|
3090: 0785 addi a5,a5,1
|
|
3092: 07c2 slli a5,a5,0x10
|
|
3094: 8329 srli a4,a4,0xa
|
|
3096: 83c1 srli a5,a5,0x10
|
|
3098: 0742 slli a4,a4,0x10
|
|
309a: a05e sh a5,4(s0)
|
|
309c: 8341 srli a4,a4,0x10
|
|
309e: 00e7e463 bltu a5,a4,30a6 <rt_hw_serial_isr+0x4e>
|
|
30a2: 00041223 sh zero,4(s0)
|
|
30a6: 2076 lhu a3,6(s0)
|
|
30a8: 205e lhu a5,4(s0)
|
|
30aa: 00d79c63 bne a5,a3,30c2 <rt_hw_serial_isr+0x6a>
|
|
30ae: 0785 addi a5,a5,1
|
|
30b0: 07c2 slli a5,a5,0x10
|
|
30b2: 83c1 srli a5,a5,0x10
|
|
30b4: a07e sh a5,6(s0)
|
|
30b6: 01342423 sw s3,8(s0)
|
|
30ba: 00e7e463 bltu a5,a4,30c2 <rt_hw_serial_isr+0x6a>
|
|
30be: 00041323 sh zero,6(s0)
|
|
30c2: de1fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
30c6: b76d j 3070 <rt_hw_serial_isr+0x18>
|
|
30c8: 509c lw a5,32(s1)
|
|
30ca: c385 beqz a5,30ea <rt_hw_serial_isr+0x92>
|
|
30cc: dcbfe0ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
30d0: 205a lhu a4,4(s0)
|
|
30d2: 206e lhu a1,6(s0)
|
|
30d4: 00b76e63 bltu a4,a1,30f0 <rt_hw_serial_isr+0x98>
|
|
30d8: 40b705b3 sub a1,a4,a1
|
|
30dc: c62e sw a1,12(sp)
|
|
30de: dc5fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
30e2: 509c lw a5,32(s1)
|
|
30e4: 45b2 lw a1,12(sp)
|
|
30e6: 8526 mv a0,s1
|
|
30e8: 9782 jalr a5
|
|
30ea: 0141 addi sp,sp,16
|
|
30ec: ad0fd06f j 3bc <__riscv_restore_4>
|
|
30f0: 44fc lw a5,76(s1)
|
|
30f2: 8d99 sub a1,a1,a4
|
|
30f4: 83a9 srli a5,a5,0xa
|
|
30f6: 07c2 slli a5,a5,0x10
|
|
30f8: 83c1 srli a5,a5,0x10
|
|
30fa: 40b785b3 sub a1,a5,a1
|
|
30fe: bff9 j 30dc <rt_hw_serial_isr+0x84>
|
|
3100: 8082 ret
|
|
|
|
00003102 <_pin_control>:
|
|
3102: ce01 beqz a2,311a <_pin_control+0x18>
|
|
3104: a9efd2ef jal t0,3a2 <__riscv_save_0>
|
|
3108: 4178 lw a4,68(a0)
|
|
310a: 87b2 mv a5,a2
|
|
310c: 238e lhu a1,0(a5)
|
|
310e: 4318 lw a4,0(a4)
|
|
3110: 2232 lhu a2,2(a2)
|
|
3112: 9702 jalr a4
|
|
3114: 4501 li a0,0
|
|
3116: ab0fd06f j 3c6 <__riscv_restore_0>
|
|
311a: 557d li a0,-1
|
|
311c: 8082 ret
|
|
|
|
0000311e <rt_pin_mode>:
|
|
311e: a84fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3122: d0818713 addi a4,gp,-760 # 20000750 <_hw_pin>
|
|
3126: 4378 lw a4,68(a4)
|
|
3128: 862e mv a2,a1
|
|
312a: 85aa mv a1,a0
|
|
312c: 4318 lw a4,0(a4)
|
|
312e: d0818513 addi a0,gp,-760 # 20000750 <_hw_pin>
|
|
3132: 9702 jalr a4
|
|
3134: a92fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003138 <rt_pin_write>:
|
|
3138: a6afd2ef jal t0,3a2 <__riscv_save_0>
|
|
313c: d0818713 addi a4,gp,-760 # 20000750 <_hw_pin>
|
|
3140: 4378 lw a4,68(a4)
|
|
3142: 862e mv a2,a1
|
|
3144: 85aa mv a1,a0
|
|
3146: 4358 lw a4,4(a4)
|
|
3148: d0818513 addi a0,gp,-760 # 20000750 <_hw_pin>
|
|
314c: 9702 jalr a4
|
|
314e: a78fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003152 <rt_pin_read>:
|
|
3152: a50fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3156: d0818713 addi a4,gp,-760 # 20000750 <_hw_pin>
|
|
315a: 4378 lw a4,68(a4)
|
|
315c: 85aa mv a1,a0
|
|
315e: d0818513 addi a0,gp,-760 # 20000750 <_hw_pin>
|
|
3162: 4718 lw a4,8(a4)
|
|
3164: 9702 jalr a4
|
|
3166: a60fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000316a <_pin_read>:
|
|
316a: c605 beqz a2,3192 <_pin_read+0x28>
|
|
316c: 4711 li a4,4
|
|
316e: 02e69263 bne a3,a4,3192 <_pin_read+0x28>
|
|
3172: a30fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3176: 417c lw a5,68(a0)
|
|
3178: 220e lhu a1,0(a2)
|
|
317a: 1141 addi sp,sp,-16
|
|
317c: 479c lw a5,8(a5)
|
|
317e: c636 sw a3,12(sp)
|
|
3180: c432 sw a2,8(sp)
|
|
3182: 9782 jalr a5
|
|
3184: 4622 lw a2,8(sp)
|
|
3186: 46b2 lw a3,12(sp)
|
|
3188: a22a sh a0,2(a2)
|
|
318a: 8536 mv a0,a3
|
|
318c: 0141 addi sp,sp,16
|
|
318e: a38fd06f j 3c6 <__riscv_restore_0>
|
|
3192: 4681 li a3,0
|
|
3194: 8536 mv a0,a3
|
|
3196: 8082 ret
|
|
|
|
00003198 <_pin_write>:
|
|
3198: c21d beqz a2,31be <_pin_write+0x26>
|
|
319a: 87b2 mv a5,a2
|
|
319c: 4611 li a2,4
|
|
319e: 02c69063 bne a3,a2,31be <_pin_write+0x26>
|
|
31a2: a00fd2ef jal t0,3a2 <__riscv_save_0>
|
|
31a6: 4178 lw a4,68(a0)
|
|
31a8: 23b2 lhu a2,2(a5)
|
|
31aa: 238e lhu a1,0(a5)
|
|
31ac: 4358 lw a4,4(a4)
|
|
31ae: 1141 addi sp,sp,-16
|
|
31b0: c636 sw a3,12(sp)
|
|
31b2: 9702 jalr a4
|
|
31b4: 46b2 lw a3,12(sp)
|
|
31b6: 0141 addi sp,sp,16
|
|
31b8: 8536 mv a0,a3
|
|
31ba: a0cfd06f j 3c6 <__riscv_restore_0>
|
|
31be: 4681 li a3,0
|
|
31c0: 8536 mv a0,a3
|
|
31c2: 8082 ret
|
|
|
|
000031c4 <rt_device_pin_register>:
|
|
31c4: 9defd2ef jal t0,3a2 <__riscv_save_0>
|
|
31c8: d0818793 addi a5,gp,-760 # 20000750 <_hw_pin>
|
|
31cc: 4749 li a4,18
|
|
31ce: cbd8 sw a4,20(a5)
|
|
31d0: 00003737 lui a4,0x3
|
|
31d4: 16a70713 addi a4,a4,362 # 316a <_pin_read>
|
|
31d8: dbd8 sw a4,52(a5)
|
|
31da: 00003737 lui a4,0x3
|
|
31de: 19870713 addi a4,a4,408 # 3198 <_pin_write>
|
|
31e2: df98 sw a4,56(a5)
|
|
31e4: 00003737 lui a4,0x3
|
|
31e8: 10270713 addi a4,a4,258 # 3102 <_pin_control>
|
|
31ec: c3ec sw a1,68(a5)
|
|
31ee: c3b0 sw a2,64(a5)
|
|
31f0: 85aa mv a1,a0
|
|
31f2: 460d li a2,3
|
|
31f4: d0818513 addi a0,gp,-760 # 20000750 <_hw_pin>
|
|
31f8: 0207a023 sw zero,32(a5)
|
|
31fc: 0207a223 sw zero,36(a5)
|
|
3200: 0207a423 sw zero,40(a5)
|
|
3204: 0207a623 sw zero,44(a5)
|
|
3208: 0207a823 sw zero,48(a5)
|
|
320c: dfd8 sw a4,60(a5)
|
|
320e: bbefd0ef jal ra,5cc <rt_device_register>
|
|
3212: 4501 li a0,0
|
|
3214: 9b2fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003218 <rt_heap_begin_get>:
|
|
3218: 20000537 lui a0,0x20000
|
|
321c: 79850513 addi a0,a0,1944 # 20000798 <rt_heap>
|
|
3220: 8082 ret
|
|
|
|
00003222 <rt_heap_end_get>:
|
|
3222: 20001537 lui a0,0x20001
|
|
3226: 79850513 addi a0,a0,1944 # 20001798 <serial1>
|
|
322a: 8082 ret
|
|
|
|
0000322c <rt_hw_board_init>:
|
|
322c: 976fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3230: 200007b7 lui a5,0x20000
|
|
3234: 2487a703 lw a4,584(a5) # 20000248 <SystemCoreClock>
|
|
3238: 3e800793 li a5,1000
|
|
323c: 56c1 li a3,-16
|
|
323e: 02f75733 divu a4,a4,a5
|
|
3242: e000e7b7 lui a5,0xe000e
|
|
3246: 40d78623 sb a3,1036(a5) # e000e40c <_eusrstack+0xbfffe40c>
|
|
324a: 40d78723 sb a3,1038(a5)
|
|
324e: 6685 lui a3,0x1
|
|
3250: 10d7a023 sw a3,256(a5)
|
|
3254: 6691 lui a3,0x4
|
|
3256: 10d7a023 sw a3,256(a5)
|
|
325a: e000f7b7 lui a5,0xe000f
|
|
325e: 0007a023 sw zero,0(a5) # e000f000 <_eusrstack+0xbffff000>
|
|
3262: 0007a223 sw zero,4(a5)
|
|
3266: 4601 li a2,0
|
|
3268: c790 sw a2,8(a5)
|
|
326a: 4681 li a3,0
|
|
326c: c7d4 sw a3,12(a5)
|
|
326e: 4681 li a3,0
|
|
3270: fff70613 addi a2,a4,-1
|
|
3274: cb90 sw a2,16(a5)
|
|
3276: cbd4 sw a3,20(a5)
|
|
3278: 473d li a4,15
|
|
327a: c398 sw a4,0(a5)
|
|
327c: a64fd0ef jal ra,4e0 <rt_components_board_init>
|
|
3280: f99ff0ef jal ra,3218 <rt_heap_begin_get>
|
|
3284: 842a mv s0,a0
|
|
3286: f9dff0ef jal ra,3222 <rt_heap_end_get>
|
|
328a: 85aa mv a1,a0
|
|
328c: 8522 mv a0,s0
|
|
328e: 9acfe0ef jal ra,143a <rt_system_heap_init>
|
|
3292: 00006537 lui a0,0x6
|
|
3296: e4450513 addi a0,a0,-444 # 5e44 <__fsym_pinMode_name+0x8>
|
|
329a: ff3fd0ef jal ra,128c <rt_console_set_device>
|
|
329e: 928fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
000032a2 <SysTick_Handler>:
|
|
32a2: 34011173 csrrw sp,mscratch,sp
|
|
32a6: 8a7fd0ef jal ra,b4c <rt_interrupt_enter>
|
|
32aa: e000f7b7 lui a5,0xe000f
|
|
32ae: 0007a223 sw zero,4(a5) # e000f004 <_eusrstack+0xbffff004>
|
|
32b2: 9cefd0ef jal ra,480 <rt_tick_increase>
|
|
32b6: 8c5fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
32ba: 34011173 csrrw sp,mscratch,sp
|
|
32be: 30200073 mret
|
|
|
|
000032c2 <InitRingQueue>:
|
|
32c2: 00052623 sw zero,12(a0)
|
|
32c6: c10c sw a1,0(a0)
|
|
32c8: c150 sw a2,4(a0)
|
|
32ca: 00052423 sw zero,8(a0)
|
|
32ce: 4505 li a0,1
|
|
32d0: 8082 ret
|
|
|
|
000032d2 <InRingQueue>:
|
|
32d2: 455c lw a5,12(a0)
|
|
32d4: 4154 lw a3,4(a0)
|
|
32d6: 4518 lw a4,8(a0)
|
|
32d8: 0785 addi a5,a5,1
|
|
32da: 02d7e7b3 rem a5,a5,a3
|
|
32de: 00e78e63 beq a5,a4,32fa <InRingQueue+0x28>
|
|
32e2: 4558 lw a4,12(a0)
|
|
32e4: 411c lw a5,0(a0)
|
|
32e6: 97ba add a5,a5,a4
|
|
32e8: a38c sb a1,0(a5)
|
|
32ea: 455c lw a5,12(a0)
|
|
32ec: 4158 lw a4,4(a0)
|
|
32ee: 0785 addi a5,a5,1
|
|
32f0: 02e7e7b3 rem a5,a5,a4
|
|
32f4: c55c sw a5,12(a0)
|
|
32f6: 4505 li a0,1
|
|
32f8: 8082 ret
|
|
32fa: 5579 li a0,-2
|
|
32fc: 8082 ret
|
|
|
|
000032fe <OutRingQueue>:
|
|
32fe: 4518 lw a4,8(a0)
|
|
3300: 455c lw a5,12(a0)
|
|
3302: 00f70f63 beq a4,a5,3320 <OutRingQueue+0x22>
|
|
3306: 4518 lw a4,8(a0)
|
|
3308: 411c lw a5,0(a0)
|
|
330a: 97ba add a5,a5,a4
|
|
330c: 239c lbu a5,0(a5)
|
|
330e: a19c sb a5,0(a1)
|
|
3310: 451c lw a5,8(a0)
|
|
3312: 4158 lw a4,4(a0)
|
|
3314: 0785 addi a5,a5,1
|
|
3316: 02e7e7b3 rem a5,a5,a4
|
|
331a: c51c sw a5,8(a0)
|
|
331c: 4505 li a0,1
|
|
331e: 8082 ret
|
|
3320: 4501 li a0,0
|
|
3322: 8082 ret
|
|
|
|
00003324 <RingQueueLength>:
|
|
3324: 455c lw a5,12(a0)
|
|
3326: 4518 lw a4,8(a0)
|
|
3328: 4148 lw a0,4(a0)
|
|
332a: 8f99 sub a5,a5,a4
|
|
332c: 97aa add a5,a5,a0
|
|
332e: 02a7e533 rem a0,a5,a0
|
|
3332: 8082 ret
|
|
|
|
00003334 <bit2bitno>:
|
|
3334: 4781 li a5,0
|
|
3336: 4685 li a3,1
|
|
3338: 02000713 li a4,32
|
|
333c: 00f69633 sll a2,a3,a5
|
|
3340: 00a60663 beq a2,a0,334c <bit2bitno+0x18>
|
|
3344: 0785 addi a5,a5,1
|
|
3346: fee79be3 bne a5,a4,333c <bit2bitno+0x8>
|
|
334a: 57fd li a5,-1
|
|
334c: 853e mv a0,a5
|
|
334e: 8082 ret
|
|
|
|
00003350 <GPIOD_CLK_ENABLE>:
|
|
3350: 852fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3354: 4585 li a1,1
|
|
3356: 02000513 li a0,32
|
|
335a: 5f4010ef jal ra,494e <RCC_APB2PeriphClockCmd>
|
|
335e: 868fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003362 <GPIOB_CLK_ENABLE>:
|
|
3362: 840fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3366: 4585 li a1,1
|
|
3368: 4521 li a0,8
|
|
336a: 5e4010ef jal ra,494e <RCC_APB2PeriphClockCmd>
|
|
336e: 858fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003372 <GPIOA_CLK_ENABLE>:
|
|
3372: 830fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3376: 4585 li a1,1
|
|
3378: 4511 li a0,4
|
|
337a: 5d4010ef jal ra,494e <RCC_APB2PeriphClockCmd>
|
|
337e: 848fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003382 <GPIOC_CLK_ENABLE>:
|
|
3382: 820fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3386: 4585 li a1,1
|
|
3388: 4541 li a0,16
|
|
338a: 5c4010ef jal ra,494e <RCC_APB2PeriphClockCmd>
|
|
338e: 838fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003392 <GPIOE_CLK_ENABLE>:
|
|
3392: 810fd2ef jal t0,3a2 <__riscv_save_0>
|
|
3396: 4585 li a1,1
|
|
3398: 04000513 li a0,64
|
|
339c: 5b2010ef jal ra,494e <RCC_APB2PeriphClockCmd>
|
|
33a0: 826fd06f j 3c6 <__riscv_restore_0>
|
|
|
|
000033a4 <rt_hw_pin_init>:
|
|
33a4: ffffc2ef jal t0,3a2 <__riscv_save_0>
|
|
33a8: 6599 lui a1,0x6
|
|
33aa: 00006537 lui a0,0x6
|
|
33ae: 4601 li a2,0
|
|
33b0: e4c58593 addi a1,a1,-436 # 5e4c <_ch32_pin_ops>
|
|
33b4: 53450513 addi a0,a0,1332 # 6534 <pins+0x650>
|
|
33b8: e0dff0ef jal ra,31c4 <rt_device_pin_register>
|
|
33bc: 80afd06f j 3c6 <__riscv_restore_0>
|
|
|
|
000033c0 <get_pin>:
|
|
33c0: 06400793 li a5,100
|
|
33c4: 00a7ec63 bltu a5,a0,33dc <get_pin+0x1c>
|
|
33c8: 00451793 slli a5,a0,0x4
|
|
33cc: 6519 lui a0,0x6
|
|
33ce: ee450513 addi a0,a0,-284 # 5ee4 <pins>
|
|
33d2: 953e add a0,a0,a5
|
|
33d4: 4118 lw a4,0(a0)
|
|
33d6: 57fd li a5,-1
|
|
33d8: 00f71363 bne a4,a5,33de <get_pin+0x1e>
|
|
33dc: 4501 li a0,0
|
|
33de: 8082 ret
|
|
|
|
000033e0 <ch32_pin_write>:
|
|
33e0: fc3fc2ef jal t0,3a2 <__riscv_save_0>
|
|
33e4: 1141 addi sp,sp,-16
|
|
33e6: 0ff5f513 andi a0,a1,255
|
|
33ea: c632 sw a2,12(sp)
|
|
33ec: fd5ff0ef jal ra,33c0 <get_pin>
|
|
33f0: c511 beqz a0,33fc <ch32_pin_write+0x1c>
|
|
33f2: 254e lhu a1,12(a0)
|
|
33f4: 4632 lw a2,12(sp)
|
|
33f6: 4508 lw a0,8(a0)
|
|
33f8: 35c010ef jal ra,4754 <GPIO_WriteBit>
|
|
33fc: 0141 addi sp,sp,16
|
|
33fe: fc9fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003402 <ch32_pin_read>:
|
|
3402: fa1fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3406: 0ff5f513 andi a0,a1,255
|
|
340a: fb7ff0ef jal ra,33c0 <get_pin>
|
|
340e: 87aa mv a5,a0
|
|
3410: 4501 li a0,0
|
|
3412: c789 beqz a5,341c <ch32_pin_read+0x1a>
|
|
3414: 27ce lhu a1,12(a5)
|
|
3416: 4788 lw a0,8(a5)
|
|
3418: 332010ef jal ra,474a <GPIO_ReadInputDataBit>
|
|
341c: fabfc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003420 <ch32_pin_mode>:
|
|
3420: f83fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3424: 1101 addi sp,sp,-32
|
|
3426: 0ff5f513 andi a0,a1,255
|
|
342a: 8432 mv s0,a2
|
|
342c: f95ff0ef jal ra,33c0 <get_pin>
|
|
3430: c505 beqz a0,3458 <ch32_pin_mode+0x38>
|
|
3432: 415c lw a5,4(a0)
|
|
3434: c62a sw a0,12(sp)
|
|
3436: 9782 jalr a5
|
|
3438: 4532 lw a0,12(sp)
|
|
343a: 455c lw a5,12(a0)
|
|
343c: 82fc sh a5,20(sp)
|
|
343e: 47c1 li a5,16
|
|
3440: ce3e sw a5,28(sp)
|
|
3442: 478d li a5,3
|
|
3444: cc3e sw a5,24(sp)
|
|
3446: c409 beqz s0,3450 <ch32_pin_mode+0x30>
|
|
3448: 4715 li a4,5
|
|
344a: 00e41a63 bne s0,a4,345e <ch32_pin_mode+0x3e>
|
|
344e: ce02 sw zero,28(sp)
|
|
3450: 4508 lw a0,8(a0)
|
|
3452: 084c addi a1,sp,20
|
|
3454: 236010ef jal ra,468a <GPIO_Init>
|
|
3458: 6105 addi sp,sp,32
|
|
345a: f6dfc06f j 3c6 <__riscv_restore_0>
|
|
345e: 4705 li a4,1
|
|
3460: 00e41563 bne s0,a4,346a <ch32_pin_mode+0x4a>
|
|
3464: 4791 li a5,4
|
|
3466: ce3e sw a5,28(sp)
|
|
3468: b7e5 j 3450 <ch32_pin_mode+0x30>
|
|
346a: 00f41563 bne s0,a5,3474 <ch32_pin_mode+0x54>
|
|
346e: 02800793 li a5,40
|
|
3472: bfd5 j 3466 <ch32_pin_mode+0x46>
|
|
3474: 4789 li a5,2
|
|
3476: 00f41563 bne s0,a5,3480 <ch32_pin_mode+0x60>
|
|
347a: 04800793 li a5,72
|
|
347e: b7e5 j 3466 <ch32_pin_mode+0x46>
|
|
3480: 4791 li a5,4
|
|
3482: 00f41463 bne s0,a5,348a <ch32_pin_mode+0x6a>
|
|
3486: 47d1 li a5,20
|
|
3488: bff9 j 3466 <ch32_pin_mode+0x46>
|
|
348a: 4799 li a5,6
|
|
348c: 00f41463 bne s0,a5,3494 <ch32_pin_mode+0x74>
|
|
3490: 47f1 li a5,28
|
|
3492: bfd1 j 3466 <ch32_pin_mode+0x46>
|
|
3494: 479d li a5,7
|
|
3496: faf41de3 bne s0,a5,3450 <ch32_pin_mode+0x30>
|
|
349a: 47e1 li a5,24
|
|
349c: b7e9 j 3466 <ch32_pin_mode+0x46>
|
|
|
|
0000349e <ch32_pin_attach_irq>:
|
|
349e: eebfc2ef jal t0,388 <__riscv_save_4>
|
|
34a2: 0ff5f513 andi a0,a1,255
|
|
34a6: 84ae mv s1,a1
|
|
34a8: 89b2 mv s3,a2
|
|
34aa: 8a36 mv s4,a3
|
|
34ac: 893a mv s2,a4
|
|
34ae: f13ff0ef jal ra,33c0 <get_pin>
|
|
34b2: 4799 li a5,6
|
|
34b4: cd31 beqz a0,3510 <ch32_pin_attach_irq+0x72>
|
|
34b6: 4548 lw a0,12(a0)
|
|
34b8: e7dff0ef jal ra,3334 <bit2bitno>
|
|
34bc: 473d li a4,15
|
|
34be: 842a mv s0,a0
|
|
34c0: 4799 li a5,6
|
|
34c2: 04a76763 bltu a4,a0,3510 <ch32_pin_attach_irq+0x72>
|
|
34c6: 9d1fe0ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
34ca: 46b1 li a3,12
|
|
34cc: 02d406b3 mul a3,s0,a3
|
|
34d0: 200007b7 lui a5,0x20000
|
|
34d4: 08078713 addi a4,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
34d8: 862a mv a2,a0
|
|
34da: 08078793 addi a5,a5,128
|
|
34de: 9736 add a4,a4,a3
|
|
34e0: 00071683 lh a3,0(a4)
|
|
34e4: 00969f63 bne a3,s1,3502 <ch32_pin_attach_irq+0x64>
|
|
34e8: 434c lw a1,4(a4)
|
|
34ea: 01459c63 bne a1,s4,3502 <ch32_pin_attach_irq+0x64>
|
|
34ee: 232e lhu a1,2(a4)
|
|
34f0: 01359963 bne a1,s3,3502 <ch32_pin_attach_irq+0x64>
|
|
34f4: 4718 lw a4,8(a4)
|
|
34f6: 01271663 bne a4,s2,3502 <ch32_pin_attach_irq+0x64>
|
|
34fa: 9a9fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
34fe: 4781 li a5,0
|
|
3500: a801 j 3510 <ch32_pin_attach_irq+0x72>
|
|
3502: 577d li a4,-1
|
|
3504: 00e68963 beq a3,a4,3516 <ch32_pin_attach_irq+0x78>
|
|
3508: 8532 mv a0,a2
|
|
350a: 999fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
350e: 479d li a5,7
|
|
3510: 853e mv a0,a5
|
|
3512: eabfc06f j 3bc <__riscv_restore_4>
|
|
3516: 4531 li a0,12
|
|
3518: 02a40533 mul a0,s0,a0
|
|
351c: 953e add a0,a0,a5
|
|
351e: a106 sh s1,0(a0)
|
|
3520: 01452223 sw s4,4(a0)
|
|
3524: 01351123 sh s3,2(a0)
|
|
3528: 01252423 sw s2,8(a0)
|
|
352c: 8532 mv a0,a2
|
|
352e: b7f1 j 34fa <ch32_pin_attach_irq+0x5c>
|
|
|
|
00003530 <ch32_pin_dettach_irq>:
|
|
3530: e73fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3534: 0ff5f513 andi a0,a1,255
|
|
3538: e89ff0ef jal ra,33c0 <get_pin>
|
|
353c: 4719 li a4,6
|
|
353e: c91d beqz a0,3574 <ch32_pin_dettach_irq+0x44>
|
|
3540: 4548 lw a0,12(a0)
|
|
3542: df3ff0ef jal ra,3334 <bit2bitno>
|
|
3546: 47bd li a5,15
|
|
3548: 842a mv s0,a0
|
|
354a: 4719 li a4,6
|
|
354c: 02a7e463 bltu a5,a0,3574 <ch32_pin_dettach_irq+0x44>
|
|
3550: 947fe0ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
3554: 47b1 li a5,12
|
|
3556: 02f40433 mul s0,s0,a5
|
|
355a: 200007b7 lui a5,0x20000
|
|
355e: 08078793 addi a5,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
3562: 577d li a4,-1
|
|
3564: 97a2 add a5,a5,s0
|
|
3566: 00079683 lh a3,0(a5)
|
|
356a: 00e69863 bne a3,a4,357a <ch32_pin_dettach_irq+0x4a>
|
|
356e: 935fe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
3572: 4701 li a4,0
|
|
3574: 853a mv a0,a4
|
|
3576: e51fc06f j 3c6 <__riscv_restore_0>
|
|
357a: 6741 lui a4,0x10
|
|
357c: 177d addi a4,a4,-1
|
|
357e: c398 sw a4,0(a5)
|
|
3580: 0007a223 sw zero,4(a5)
|
|
3584: 0007a423 sw zero,8(a5)
|
|
3588: b7dd j 356e <ch32_pin_dettach_irq+0x3e>
|
|
|
|
0000358a <ch32_pin_irq_enable>:
|
|
358a: dfffc2ef jal t0,388 <__riscv_save_4>
|
|
358e: 1101 addi sp,sp,-32
|
|
3590: 0ff5f513 andi a0,a1,255
|
|
3594: 8a32 mv s4,a2
|
|
3596: e2bff0ef jal ra,33c0 <get_pin>
|
|
359a: 4799 li a5,6
|
|
359c: c121 beqz a0,35dc <ch32_pin_irq_enable+0x52>
|
|
359e: 4485 li s1,1
|
|
35a0: 842a mv s0,a0
|
|
35a2: 109a1563 bne s4,s1,36ac <ch32_pin_irq_enable+0x122>
|
|
35a6: 4548 lw a0,12(a0)
|
|
35a8: d8dff0ef jal ra,3334 <bit2bitno>
|
|
35ac: 473d li a4,15
|
|
35ae: 84aa mv s1,a0
|
|
35b0: 4799 li a5,6
|
|
35b2: 02a76563 bltu a4,a0,35dc <ch32_pin_irq_enable+0x52>
|
|
35b6: 8e1fe0ef jal ra,1e96 <rt_hw_interrupt_disable>
|
|
35ba: 4ab1 li s5,12
|
|
35bc: 035487b3 mul a5,s1,s5
|
|
35c0: 20000937 lui s2,0x20000
|
|
35c4: 08090913 addi s2,s2,128 # 20000080 <pin_irq_hdr_tab>
|
|
35c8: 89aa mv s3,a0
|
|
35ca: 993e add s2,s2,a5
|
|
35cc: 00091703 lh a4,0(s2)
|
|
35d0: 57fd li a5,-1
|
|
35d2: 00f71963 bne a4,a5,35e4 <ch32_pin_irq_enable+0x5a>
|
|
35d6: 8cdfe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
35da: 4799 li a5,6
|
|
35dc: 853e mv a0,a5
|
|
35de: 6105 addi sp,sp,32
|
|
35e0: dddfc06f j 3bc <__riscv_restore_4>
|
|
35e4: 405c lw a5,4(s0)
|
|
35e6: 9782 jalr a5
|
|
35e8: 4585 li a1,1
|
|
35ea: 4505 li a0,1
|
|
35ec: 362010ef jal ra,494e <RCC_APB2PeriphClockCmd>
|
|
35f0: 445c lw a5,12(s0)
|
|
35f2: 470d li a4,3
|
|
35f4: c43a sw a4,8(sp)
|
|
35f6: 827c sh a5,4(sp)
|
|
35f8: c83e sw a5,16(sp)
|
|
35fa: 00295783 lhu a5,2(s2)
|
|
35fe: ca02 sw zero,20(sp)
|
|
3600: ce52 sw s4,28(sp)
|
|
3602: 09478c63 beq a5,s4,369a <ch32_pin_irq_enable+0x110>
|
|
3606: c7c1 beqz a5,368e <ch32_pin_irq_enable+0x104>
|
|
3608: 4709 li a4,2
|
|
360a: 08e78d63 beq a5,a4,36a4 <ch32_pin_irq_enable+0x11a>
|
|
360e: 4408 lw a0,8(s0)
|
|
3610: 004c addi a1,sp,4
|
|
3612: 078010ef jal ra,468a <GPIO_Init>
|
|
3616: 4418 lw a4,8(s0)
|
|
3618: 400117b7 lui a5,0x40011
|
|
361c: c0078693 addi a3,a5,-1024 # 40010c00 <_eusrstack+0x20000c00>
|
|
3620: 4505 li a0,1
|
|
3622: 02d70263 beq a4,a3,3646 <ch32_pin_irq_enable+0xbc>
|
|
3626: 4509 li a0,2
|
|
3628: 00f70f63 beq a4,a5,3646 <ch32_pin_irq_enable+0xbc>
|
|
362c: 40078793 addi a5,a5,1024
|
|
3630: 450d li a0,3
|
|
3632: 00f70a63 beq a4,a5,3646 <ch32_pin_irq_enable+0xbc>
|
|
3636: 400127b7 lui a5,0x40012
|
|
363a: 80078793 addi a5,a5,-2048 # 40011800 <_eusrstack+0x20001800>
|
|
363e: 4501 li a0,0
|
|
3640: 00f71363 bne a4,a5,3646 <ch32_pin_irq_enable+0xbc>
|
|
3644: 4511 li a0,4
|
|
3646: 0ff4f593 andi a1,s1,255
|
|
364a: 114010ef jal ra,475e <GPIO_EXTILineConfig>
|
|
364e: 0808 addi a0,sp,16
|
|
3650: 7a9000ef jal ra,45f8 <EXTI_Init>
|
|
3654: 6799 lui a5,0x6
|
|
3656: e6478793 addi a5,a5,-412 # 5e64 <pin_irq_map>
|
|
365a: 048e slli s1,s1,0x3
|
|
365c: 94be add s1,s1,a5
|
|
365e: 40d0 lw a2,4(s1)
|
|
3660: e000e737 lui a4,0xe000e
|
|
3664: 05000693 li a3,80
|
|
3668: 00c707b3 add a5,a4,a2
|
|
366c: 40d78023 sb a3,1024(a5)
|
|
3670: 00565793 srli a5,a2,0x5
|
|
3674: 04078793 addi a5,a5,64
|
|
3678: 4685 li a3,1
|
|
367a: 078a slli a5,a5,0x2
|
|
367c: 00c696b3 sll a3,a3,a2
|
|
3680: 97ba add a5,a5,a4
|
|
3682: c394 sw a3,0(a5)
|
|
3684: 854e mv a0,s3
|
|
3686: 81dfe0ef jal ra,1ea2 <rt_hw_interrupt_enable>
|
|
368a: 4781 li a5,0
|
|
368c: bf81 j 35dc <ch32_pin_irq_enable+0x52>
|
|
368e: 02800793 li a5,40
|
|
3692: c63e sw a5,12(sp)
|
|
3694: 47a1 li a5,8
|
|
3696: cc3e sw a5,24(sp)
|
|
3698: bf9d j 360e <ch32_pin_irq_enable+0x84>
|
|
369a: 04800793 li a5,72
|
|
369e: c63e sw a5,12(sp)
|
|
36a0: cc56 sw s5,24(sp)
|
|
36a2: b7b5 j 360e <ch32_pin_irq_enable+0x84>
|
|
36a4: 4791 li a5,4
|
|
36a6: c63e sw a5,12(sp)
|
|
36a8: 47c1 li a5,16
|
|
36aa: b7f5 j 3696 <ch32_pin_irq_enable+0x10c>
|
|
36ac: 4799 li a5,6
|
|
36ae: f20a17e3 bnez s4,35dc <ch32_pin_irq_enable+0x52>
|
|
36b2: 4548 lw a0,12(a0)
|
|
36b4: c81ff0ef jal ra,3334 <bit2bitno>
|
|
36b8: 473d li a4,15
|
|
36ba: 4799 li a5,6
|
|
36bc: f2a760e3 bltu a4,a0,35dc <ch32_pin_irq_enable+0x52>
|
|
36c0: 00351793 slli a5,a0,0x3
|
|
36c4: 6519 lui a0,0x6
|
|
36c6: e6450513 addi a0,a0,-412 # 5e64 <pin_irq_map>
|
|
36ca: 953e add a0,a0,a5
|
|
36cc: 4158 lw a4,4(a0)
|
|
36ce: 00575793 srli a5,a4,0x5
|
|
36d2: 06078793 addi a5,a5,96
|
|
36d6: 00e494b3 sll s1,s1,a4
|
|
36da: 078a slli a5,a5,0x2
|
|
36dc: e000e737 lui a4,0xe000e
|
|
36e0: 97ba add a5,a5,a4
|
|
36e2: c384 sw s1,0(a5)
|
|
36e4: b75d j 368a <ch32_pin_irq_enable+0x100>
|
|
|
|
000036e6 <HAL_GPIO_EXTI_Callback>:
|
|
36e6: cbdfc2ef jal t0,3a2 <__riscv_save_0>
|
|
36ea: c4bff0ef jal ra,3334 <bit2bitno>
|
|
36ee: 47b1 li a5,12
|
|
36f0: 02f50533 mul a0,a0,a5
|
|
36f4: 200007b7 lui a5,0x20000
|
|
36f8: 08078793 addi a5,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
36fc: 953e add a0,a0,a5
|
|
36fe: 415c lw a5,4(a0)
|
|
3700: c399 beqz a5,3706 <HAL_GPIO_EXTI_Callback+0x20>
|
|
3702: 4508 lw a0,8(a0)
|
|
3704: 9782 jalr a5
|
|
3706: cc1fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000370a <EXTI0_IRQHandler>:
|
|
370a: 34011173 csrrw sp,mscratch,sp
|
|
370e: c3efd0ef jal ra,b4c <rt_interrupt_enter>
|
|
3712: 4505 li a0,1
|
|
3714: 74f000ef jal ra,4662 <EXTI_GetITStatus>
|
|
3718: c519 beqz a0,3726 <EXTI0_IRQHandler+0x1c>
|
|
371a: 4505 li a0,1
|
|
371c: fcbff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
3720: 4505 li a0,1
|
|
3722: 75f000ef jal ra,4680 <EXTI_ClearITPendingBit>
|
|
3726: c54fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
372a: 34011173 csrrw sp,mscratch,sp
|
|
372e: 30200073 mret
|
|
|
|
00003732 <EXTI1_IRQHandler>:
|
|
3732: 34011173 csrrw sp,mscratch,sp
|
|
3736: c16fd0ef jal ra,b4c <rt_interrupt_enter>
|
|
373a: 4509 li a0,2
|
|
373c: 727000ef jal ra,4662 <EXTI_GetITStatus>
|
|
3740: c519 beqz a0,374e <EXTI1_IRQHandler+0x1c>
|
|
3742: 4509 li a0,2
|
|
3744: fa3ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
3748: 4509 li a0,2
|
|
374a: 737000ef jal ra,4680 <EXTI_ClearITPendingBit>
|
|
374e: c2cfd0ef jal ra,b7a <rt_interrupt_leave>
|
|
3752: 34011173 csrrw sp,mscratch,sp
|
|
3756: 30200073 mret
|
|
|
|
0000375a <EXTI2_IRQHandler>:
|
|
375a: 34011173 csrrw sp,mscratch,sp
|
|
375e: beefd0ef jal ra,b4c <rt_interrupt_enter>
|
|
3762: 4511 li a0,4
|
|
3764: 6ff000ef jal ra,4662 <EXTI_GetITStatus>
|
|
3768: c519 beqz a0,3776 <EXTI2_IRQHandler+0x1c>
|
|
376a: 4511 li a0,4
|
|
376c: f7bff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
3770: 4511 li a0,4
|
|
3772: 70f000ef jal ra,4680 <EXTI_ClearITPendingBit>
|
|
3776: c04fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
377a: 34011173 csrrw sp,mscratch,sp
|
|
377e: 30200073 mret
|
|
|
|
00003782 <EXTI3_IRQHandler>:
|
|
3782: 34011173 csrrw sp,mscratch,sp
|
|
3786: bc6fd0ef jal ra,b4c <rt_interrupt_enter>
|
|
378a: 4521 li a0,8
|
|
378c: 6d7000ef jal ra,4662 <EXTI_GetITStatus>
|
|
3790: c519 beqz a0,379e <EXTI3_IRQHandler+0x1c>
|
|
3792: 4521 li a0,8
|
|
3794: f53ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
3798: 4521 li a0,8
|
|
379a: 6e7000ef jal ra,4680 <EXTI_ClearITPendingBit>
|
|
379e: bdcfd0ef jal ra,b7a <rt_interrupt_leave>
|
|
37a2: 34011173 csrrw sp,mscratch,sp
|
|
37a6: 30200073 mret
|
|
|
|
000037aa <EXTI4_IRQHandler>:
|
|
37aa: 34011173 csrrw sp,mscratch,sp
|
|
37ae: b9efd0ef jal ra,b4c <rt_interrupt_enter>
|
|
37b2: 4541 li a0,16
|
|
37b4: 6af000ef jal ra,4662 <EXTI_GetITStatus>
|
|
37b8: c519 beqz a0,37c6 <EXTI4_IRQHandler+0x1c>
|
|
37ba: 4541 li a0,16
|
|
37bc: f2bff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
37c0: 4541 li a0,16
|
|
37c2: 6bf000ef jal ra,4680 <EXTI_ClearITPendingBit>
|
|
37c6: bb4fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
37ca: 34011173 csrrw sp,mscratch,sp
|
|
37ce: 30200073 mret
|
|
|
|
000037d2 <EXTI9_5_IRQHandler>:
|
|
37d2: 34011173 csrrw sp,mscratch,sp
|
|
37d6: b76fd0ef jal ra,b4c <rt_interrupt_enter>
|
|
37da: 02000513 li a0,32
|
|
37de: 685000ef jal ra,4662 <EXTI_GetITStatus>
|
|
37e2: cd1d beqz a0,3820 <EXTI9_5_IRQHandler+0x4e>
|
|
37e4: 02000513 li a0,32
|
|
37e8: effff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
37ec: 04000513 li a0,64
|
|
37f0: ef7ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
37f4: 08000513 li a0,128
|
|
37f8: eefff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
37fc: 10000513 li a0,256
|
|
3800: ee7ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
3804: 20000513 li a0,512
|
|
3808: edfff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
380c: 3e000513 li a0,992
|
|
3810: 671000ef jal ra,4680 <EXTI_ClearITPendingBit>
|
|
3814: b66fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
3818: 34011173 csrrw sp,mscratch,sp
|
|
381c: 30200073 mret
|
|
3820: 04000513 li a0,64
|
|
3824: 63f000ef jal ra,4662 <EXTI_GetITStatus>
|
|
3828: fd55 bnez a0,37e4 <EXTI9_5_IRQHandler+0x12>
|
|
382a: 08000513 li a0,128
|
|
382e: 635000ef jal ra,4662 <EXTI_GetITStatus>
|
|
3832: f94d bnez a0,37e4 <EXTI9_5_IRQHandler+0x12>
|
|
3834: 10000513 li a0,256
|
|
3838: 62b000ef jal ra,4662 <EXTI_GetITStatus>
|
|
383c: f545 bnez a0,37e4 <EXTI9_5_IRQHandler+0x12>
|
|
383e: 20000513 li a0,512
|
|
3842: 621000ef jal ra,4662 <EXTI_GetITStatus>
|
|
3846: fd59 bnez a0,37e4 <EXTI9_5_IRQHandler+0x12>
|
|
3848: b7f1 j 3814 <EXTI9_5_IRQHandler+0x42>
|
|
|
|
0000384a <EXTI15_10_IRQHandler>:
|
|
384a: 34011173 csrrw sp,mscratch,sp
|
|
384e: afefd0ef jal ra,b4c <rt_interrupt_enter>
|
|
3852: 40000513 li a0,1024
|
|
3856: 60d000ef jal ra,4662 <EXTI_GetITStatus>
|
|
385a: c129 beqz a0,389c <EXTI15_10_IRQHandler+0x52>
|
|
385c: 40000513 li a0,1024
|
|
3860: e87ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
3864: 6505 lui a0,0x1
|
|
3866: 80050513 addi a0,a0,-2048 # 800 <rt_ipc_list_suspend+0x1c>
|
|
386a: e7dff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
386e: 6505 lui a0,0x1
|
|
3870: e77ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
3874: 6509 lui a0,0x2
|
|
3876: e71ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
387a: 6511 lui a0,0x4
|
|
387c: e6bff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
3880: 6521 lui a0,0x8
|
|
3882: e65ff0ef jal ra,36e6 <HAL_GPIO_EXTI_Callback>
|
|
3886: 6541 lui a0,0x10
|
|
3888: c0050513 addi a0,a0,-1024 # fc00 <__rt_init_end+0x9480>
|
|
388c: 5f5000ef jal ra,4680 <EXTI_ClearITPendingBit>
|
|
3890: aeafd0ef jal ra,b7a <rt_interrupt_leave>
|
|
3894: 34011173 csrrw sp,mscratch,sp
|
|
3898: 30200073 mret
|
|
389c: 6505 lui a0,0x1
|
|
389e: 80050513 addi a0,a0,-2048 # 800 <rt_ipc_list_suspend+0x1c>
|
|
38a2: 5c1000ef jal ra,4662 <EXTI_GetITStatus>
|
|
38a6: f95d bnez a0,385c <EXTI15_10_IRQHandler+0x12>
|
|
38a8: 6505 lui a0,0x1
|
|
38aa: 5b9000ef jal ra,4662 <EXTI_GetITStatus>
|
|
38ae: f55d bnez a0,385c <EXTI15_10_IRQHandler+0x12>
|
|
38b0: 6509 lui a0,0x2
|
|
38b2: 5b1000ef jal ra,4662 <EXTI_GetITStatus>
|
|
38b6: f15d bnez a0,385c <EXTI15_10_IRQHandler+0x12>
|
|
38b8: 6511 lui a0,0x4
|
|
38ba: 5a9000ef jal ra,4662 <EXTI_GetITStatus>
|
|
38be: fd59 bnez a0,385c <EXTI15_10_IRQHandler+0x12>
|
|
38c0: 6521 lui a0,0x8
|
|
38c2: 5a1000ef jal ra,4662 <EXTI_GetITStatus>
|
|
38c6: f959 bnez a0,385c <EXTI15_10_IRQHandler+0x12>
|
|
38c8: b7e1 j 3890 <EXTI15_10_IRQHandler+0x46>
|
|
|
|
000038ca <ch32dma_transmit>:
|
|
38ca: 4501 li a0,0
|
|
38cc: 8082 ret
|
|
|
|
000038ce <ch32_configure>:
|
|
38ce: ad5fc2ef jal t0,3a2 <__riscv_save_0>
|
|
38d2: 419c lw a5,0(a1)
|
|
38d4: 4120 lw s0,64(a0)
|
|
38d6: 46a1 li a3,8
|
|
38d8: 1141 addi sp,sp,-16
|
|
38da: c01c sw a5,0(s0)
|
|
38dc: 47b1 li a5,12
|
|
38de: a43e sh a5,10(s0)
|
|
38e0: 41dc lw a5,4(a1)
|
|
38e2: 00041623 sh zero,12(s0)
|
|
38e6: 00f7f713 andi a4,a5,15
|
|
38ea: 02d70163 beq a4,a3,390c <ch32_configure+0x3e>
|
|
38ee: 46a5 li a3,9
|
|
38f0: 00d71e63 bne a4,a3,390c <ch32_configure+0x3e>
|
|
38f4: 6705 lui a4,0x1
|
|
38f6: a05a sh a4,4(s0)
|
|
38f8: 0047d713 srli a4,a5,0x4
|
|
38fc: 8b0d andi a4,a4,3
|
|
38fe: c701 beqz a4,3906 <ch32_configure+0x38>
|
|
3900: 4685 li a3,1
|
|
3902: 00d70863 beq a4,a3,3912 <ch32_configure+0x44>
|
|
3906: 00041323 sh zero,6(s0)
|
|
390a: a031 j 3916 <ch32_configure+0x48>
|
|
390c: 00041223 sh zero,4(s0)
|
|
3910: b7e5 j 38f8 <ch32_configure+0x2a>
|
|
3912: 6709 lui a4,0x2
|
|
3914: a07a sh a4,6(s0)
|
|
3916: 8399 srli a5,a5,0x6
|
|
3918: 8b8d andi a5,a5,3
|
|
391a: 4705 li a4,1
|
|
391c: 00e78963 beq a5,a4,392e <ch32_configure+0x60>
|
|
3920: c781 beqz a5,3928 <ch32_configure+0x5a>
|
|
3922: 4709 li a4,2
|
|
3924: 06e78963 beq a5,a4,3996 <ch32_configure+0xc8>
|
|
3928: 00041423 sh zero,8(s0)
|
|
392c: a021 j 3934 <ch32_configure+0x66>
|
|
392e: 60000793 li a5,1536
|
|
3932: a41e sh a5,8(s0)
|
|
3934: 4818 lw a4,16(s0)
|
|
3936: 400147b7 lui a5,0x40014
|
|
393a: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
|
|
393e: 04f71863 bne a4,a5,398e <ch32_configure+0xc0>
|
|
3942: 6511 lui a0,0x4
|
|
3944: 4585 li a1,1
|
|
3946: 0511 addi a0,a0,4
|
|
3948: 006010ef jal ra,494e <RCC_APB2PeriphClockCmd>
|
|
394c: 20000793 li a5,512
|
|
3950: 400114b7 lui s1,0x40011
|
|
3954: 827c sh a5,4(sp)
|
|
3956: 490d li s2,3
|
|
3958: 47e1 li a5,24
|
|
395a: 004c addi a1,sp,4
|
|
395c: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x20000800>
|
|
3960: c63e sw a5,12(sp)
|
|
3962: c44a sw s2,8(sp)
|
|
3964: 527000ef jal ra,468a <GPIO_Init>
|
|
3968: 40000793 li a5,1024
|
|
396c: 827c sh a5,4(sp)
|
|
396e: 004c addi a1,sp,4
|
|
3970: 4791 li a5,4
|
|
3972: 80048513 addi a0,s1,-2048
|
|
3976: c63e sw a5,12(sp)
|
|
3978: c44a sw s2,8(sp)
|
|
397a: 511000ef jal ra,468a <GPIO_Init>
|
|
397e: 4808 lw a0,16(s0)
|
|
3980: 85a2 mv a1,s0
|
|
3982: 008010ef jal ra,498a <USART_Init>
|
|
3986: 4808 lw a0,16(s0)
|
|
3988: 4585 li a1,1
|
|
398a: 090010ef jal ra,4a1a <USART_Cmd>
|
|
398e: 4501 li a0,0
|
|
3990: 0141 addi sp,sp,16
|
|
3992: a35fc06f j 3c6 <__riscv_restore_0>
|
|
3996: 40000793 li a5,1024
|
|
399a: bf61 j 3932 <ch32_configure+0x64>
|
|
|
|
0000399c <rt_hw_usart_init>:
|
|
399c: 9edfc2ef jal t0,388 <__riscv_save_4>
|
|
39a0: 200014b7 lui s1,0x20001
|
|
39a4: 7f048413 addi s0,s1,2032 # 200017f0 <uart1>
|
|
39a8: 03500793 li a5,53
|
|
39ac: c85c sw a5,20(s0)
|
|
39ae: 20001937 lui s2,0x20001
|
|
39b2: 400147b7 lui a5,0x40014
|
|
39b6: 79890613 addi a2,s2,1944 # 20001798 <serial1>
|
|
39ba: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
|
|
39be: 4674 lw a3,76(a2)
|
|
39c0: c81c sw a5,16(s0)
|
|
39c2: 6799 lui a5,0x6
|
|
39c4: 53878793 addi a5,a5,1336 # 6538 <ch32_uart_ops>
|
|
39c8: c27c sw a5,68(a2)
|
|
39ca: c00007b7 lui a5,0xc0000
|
|
39ce: 8ff5 and a5,a5,a3
|
|
39d0: 66c1 lui a3,0x10
|
|
39d2: 06a1 addi a3,a3,8
|
|
39d4: 6771 lui a4,0x1c
|
|
39d6: 20070713 addi a4,a4,512 # 1c200 <__rt_init_end+0x15a80>
|
|
39da: 8fd5 or a5,a5,a3
|
|
39dc: 6511 lui a0,0x4
|
|
39de: 1141 addi sp,sp,-16
|
|
39e0: c638 sw a4,72(a2)
|
|
39e2: c67c sw a5,76(a2)
|
|
39e4: 4585 li a1,1
|
|
39e6: 000c07b7 lui a5,0xc0
|
|
39ea: 0511 addi a0,a0,4
|
|
39ec: c018 sw a4,0(s0)
|
|
39ee: c41c sw a5,8(s0)
|
|
39f0: 00042223 sw zero,4(s0)
|
|
39f4: 00041623 sh zero,12(s0)
|
|
39f8: 757000ef jal ra,494e <RCC_APB2PeriphClockCmd>
|
|
39fc: 400119b7 lui s3,0x40011
|
|
3a00: 20000793 li a5,512
|
|
3a04: 827c sh a5,4(sp)
|
|
3a06: 4a0d li s4,3
|
|
3a08: 47e1 li a5,24
|
|
3a0a: 004c addi a1,sp,4
|
|
3a0c: 80098513 addi a0,s3,-2048 # 40010800 <_eusrstack+0x20000800>
|
|
3a10: c452 sw s4,8(sp)
|
|
3a12: c63e sw a5,12(sp)
|
|
3a14: 477000ef jal ra,468a <GPIO_Init>
|
|
3a18: 40000793 li a5,1024
|
|
3a1c: 827c sh a5,4(sp)
|
|
3a1e: 004c addi a1,sp,4
|
|
3a20: 4791 li a5,4
|
|
3a22: 80098513 addi a0,s3,-2048
|
|
3a26: c63e sw a5,12(sp)
|
|
3a28: c452 sw s4,8(sp)
|
|
3a2a: 461000ef jal ra,468a <GPIO_Init>
|
|
3a2e: 4808 lw a0,16(s0)
|
|
3a30: 7f048593 addi a1,s1,2032
|
|
3a34: 757000ef jal ra,498a <USART_Init>
|
|
3a38: 4808 lw a0,16(s0)
|
|
3a3a: 4585 li a1,1
|
|
3a3c: 7df000ef jal ra,4a1a <USART_Cmd>
|
|
3a40: 000065b7 lui a1,0x6
|
|
3a44: 7f048693 addi a3,s1,2032
|
|
3a48: 10300613 li a2,259
|
|
3a4c: e4458593 addi a1,a1,-444 # 5e44 <__fsym_pinMode_name+0x8>
|
|
3a50: 79890513 addi a0,s2,1944
|
|
3a54: daaff0ef jal ra,2ffe <rt_hw_serial_register>
|
|
3a58: 4501 li a0,0
|
|
3a5a: 0141 addi sp,sp,16
|
|
3a5c: 961fc06f j 3bc <__riscv_restore_4>
|
|
|
|
00003a60 <ch32_getc>:
|
|
3a60: 943fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3a64: 4120 lw s0,64(a0)
|
|
3a66: 02000593 li a1,32
|
|
3a6a: 4808 lw a0,16(s0)
|
|
3a6c: 00a010ef jal ra,4a76 <USART_GetFlagStatus>
|
|
3a70: c519 beqz a0,3a7e <ch32_getc+0x1e>
|
|
3a72: 481c lw a5,16(s0)
|
|
3a74: 23ca lhu a0,4(a5)
|
|
3a76: 0ff57513 andi a0,a0,255
|
|
3a7a: 94dfc06f j 3c6 <__riscv_restore_0>
|
|
3a7e: 557d li a0,-1
|
|
3a80: bfed j 3a7a <ch32_getc+0x1a>
|
|
|
|
00003a82 <ch32_putc>:
|
|
3a82: 921fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3a86: 4124 lw s1,64(a0)
|
|
3a88: 842e mv s0,a1
|
|
3a8a: 4888 lw a0,16(s1)
|
|
3a8c: 04000593 li a1,64
|
|
3a90: 7e7000ef jal ra,4a76 <USART_GetFlagStatus>
|
|
3a94: d97d beqz a0,3a8a <ch32_putc+0x8>
|
|
3a96: 489c lw a5,16(s1)
|
|
3a98: 0442 slli s0,s0,0x10
|
|
3a9a: 8041 srli s0,s0,0x10
|
|
3a9c: a3c2 sh s0,4(a5)
|
|
3a9e: 4505 li a0,1
|
|
3aa0: 927fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003aa4 <ch32_control>:
|
|
3aa4: 8fffc2ef jal t0,3a2 <__riscv_save_0>
|
|
3aa8: 47c1 li a5,16
|
|
3aaa: 4138 lw a4,64(a0)
|
|
3aac: 02f58b63 beq a1,a5,3ae2 <ch32_control+0x3e>
|
|
3ab0: 47c5 li a5,17
|
|
3ab2: 02f59563 bne a1,a5,3adc <ch32_control+0x38>
|
|
3ab6: 4b54 lw a3,20(a4)
|
|
3ab8: 4605 li a2,1
|
|
3aba: 0056d793 srli a5,a3,0x5
|
|
3abe: 06078793 addi a5,a5,96 # c0060 <__rt_init_end+0xb98e0>
|
|
3ac2: 00d61633 sll a2,a2,a3
|
|
3ac6: 078a slli a5,a5,0x2
|
|
3ac8: e000e6b7 lui a3,0xe000e
|
|
3acc: 97b6 add a5,a5,a3
|
|
3ace: c390 sw a2,0(a5)
|
|
3ad0: 4601 li a2,0
|
|
3ad2: 4b08 lw a0,16(a4)
|
|
3ad4: 52500593 li a1,1317
|
|
3ad8: 759000ef jal ra,4a30 <USART_ITConfig>
|
|
3adc: 4501 li a0,0
|
|
3ade: 8e9fc06f j 3c6 <__riscv_restore_0>
|
|
3ae2: 4b54 lw a3,20(a4)
|
|
3ae4: 4605 li a2,1
|
|
3ae6: 0056d793 srli a5,a3,0x5
|
|
3aea: 04078793 addi a5,a5,64
|
|
3aee: 00d61633 sll a2,a2,a3
|
|
3af2: 078a slli a5,a5,0x2
|
|
3af4: e000e6b7 lui a3,0xe000e
|
|
3af8: 97b6 add a5,a5,a3
|
|
3afa: c390 sw a2,0(a5)
|
|
3afc: 4605 li a2,1
|
|
3afe: bfd1 j 3ad2 <ch32_control+0x2e>
|
|
|
|
00003b00 <USART1_IRQHandler>:
|
|
3b00: 1141 addi sp,sp,-16
|
|
3b02: c622 sw s0,12(sp)
|
|
3b04: c426 sw s1,8(sp)
|
|
3b06: 34011173 csrrw sp,mscratch,sp
|
|
3b0a: 200014b7 lui s1,0x20001
|
|
3b0e: 83efd0ef jal ra,b4c <rt_interrupt_enter>
|
|
3b12: 79848793 addi a5,s1,1944 # 20001798 <serial1>
|
|
3b16: 43a0 lw s0,64(a5)
|
|
3b18: 52500593 li a1,1317
|
|
3b1c: 4808 lw a0,16(s0)
|
|
3b1e: 763000ef jal ra,4a80 <USART_GetITStatus>
|
|
3b22: c919 beqz a0,3b38 <USART1_IRQHandler+0x38>
|
|
3b24: 4585 li a1,1
|
|
3b26: 79848513 addi a0,s1,1944
|
|
3b2a: d2eff0ef jal ra,3058 <rt_hw_serial_isr>
|
|
3b2e: 4808 lw a0,16(s0)
|
|
3b30: 52500593 li a1,1317
|
|
3b34: 789000ef jal ra,4abc <USART_ClearITPendingBit>
|
|
3b38: 842fd0ef jal ra,b7a <rt_interrupt_leave>
|
|
3b3c: 34011173 csrrw sp,mscratch,sp
|
|
3b40: 4432 lw s0,12(sp)
|
|
3b42: 44a2 lw s1,8(sp)
|
|
3b44: 0141 addi sp,sp,16
|
|
3b46: 30200073 mret
|
|
|
|
00003b4a <NMI_Handler>:
|
|
3b4a: 34011173 csrrw sp,mscratch,sp
|
|
3b4e: ffffc0ef jal ra,b4c <rt_interrupt_enter>
|
|
3b52: 00006537 lui a0,0x6
|
|
3b56: 55850513 addi a0,a0,1368 # 6558 <ch32_uart_ops+0x20>
|
|
3b5a: f62fd0ef jal ra,12bc <rt_kprintf>
|
|
3b5e: 81cfd0ef jal ra,b7a <rt_interrupt_leave>
|
|
3b62: 34011173 csrrw sp,mscratch,sp
|
|
3b66: 30200073 mret
|
|
|
|
00003b6a <HardFault_Handler>:
|
|
3b6a: 34011173 csrrw sp,mscratch,sp
|
|
3b6e: fdffc0ef jal ra,b4c <rt_interrupt_enter>
|
|
3b72: 00006537 lui a0,0x6
|
|
3b76: 54c50513 addi a0,a0,1356 # 654c <ch32_uart_ops+0x14>
|
|
3b7a: f42fd0ef jal ra,12bc <rt_kprintf>
|
|
3b7e: ffdfc0ef jal ra,b7a <rt_interrupt_leave>
|
|
3b82: 34011173 csrrw sp,mscratch,sp
|
|
3b86: 30200073 mret
|
|
|
|
00003b8a <main>:
|
|
3b8a: 819fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3b8e: 00006537 lui a0,0x6
|
|
3b92: 56850513 addi a0,a0,1384 # 6568 <ch32_uart_ops+0x30>
|
|
3b96: f26fd0ef jal ra,12bc <rt_kprintf>
|
|
3b9a: 2ab1 jal 3cf6 <SystemCoreClockUpdate>
|
|
3b9c: 200007b7 lui a5,0x20000
|
|
3ba0: 2487a583 lw a1,584(a5) # 20000248 <SystemCoreClock>
|
|
3ba4: 00006537 lui a0,0x6
|
|
3ba8: 57c50513 addi a0,a0,1404 # 657c <ch32_uart_ops+0x44>
|
|
3bac: f10fd0ef jal ra,12bc <rt_kprintf>
|
|
3bb0: 23f000ef jal ra,45ee <DBGMCU_GetCHIPID>
|
|
3bb4: 85aa mv a1,a0
|
|
3bb6: 00006537 lui a0,0x6
|
|
3bba: 58c50513 addi a0,a0,1420 # 658c <ch32_uart_ops+0x54>
|
|
3bbe: efefd0ef jal ra,12bc <rt_kprintf>
|
|
3bc2: 202d jal 3bec <app_star>
|
|
3bc4: 4501 li a0,0
|
|
3bc6: 801fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003bca <hareware_init>:
|
|
3bca: fd8fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3bce: 703000ef jal ra,4ad0 <android_PowerCtrl_Init>
|
|
3bd2: 70f000ef jal ra,4ae0 <android_PowerCtrl_Open>
|
|
3bd6: ff0fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003bda <software_init>:
|
|
3bda: fc8fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3bde: 774000ef jal ra,4352 <uart_dev_init>
|
|
3be2: 2559 jal 4268 <Send_mq_Init>
|
|
3be4: 2535 jal 4210 <Recv_thread_Init>
|
|
3be6: 2d99 jal 423c <Send_thread_Init>
|
|
3be8: fdefc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003bec <app_star>:
|
|
3bec: fb6fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3bf0: fdbff0ef jal ra,3bca <hareware_init>
|
|
3bf4: fe7ff0ef jal ra,3bda <software_init>
|
|
3bf8: fcefc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00003bfc <SystemInit>:
|
|
3bfc: 400217b7 lui a5,0x40021
|
|
3c00: 4398 lw a4,0(a5)
|
|
3c02: f0ff06b7 lui a3,0xf0ff0
|
|
3c06: 1141 addi sp,sp,-16
|
|
3c08: 00176713 ori a4,a4,1
|
|
3c0c: c398 sw a4,0(a5)
|
|
3c0e: 43d8 lw a4,4(a5)
|
|
3c10: 00020637 lui a2,0x20
|
|
3c14: 8f75 and a4,a4,a3
|
|
3c16: c3d8 sw a4,4(a5)
|
|
3c18: 4398 lw a4,0(a5)
|
|
3c1a: fef706b7 lui a3,0xfef70
|
|
3c1e: 16fd addi a3,a3,-1
|
|
3c20: 8f75 and a4,a4,a3
|
|
3c22: c398 sw a4,0(a5)
|
|
3c24: 4398 lw a4,0(a5)
|
|
3c26: fffc06b7 lui a3,0xfffc0
|
|
3c2a: 16fd addi a3,a3,-1
|
|
3c2c: 8f75 and a4,a4,a3
|
|
3c2e: c398 sw a4,0(a5)
|
|
3c30: 43d8 lw a4,4(a5)
|
|
3c32: ff0106b7 lui a3,0xff010
|
|
3c36: 16fd addi a3,a3,-1
|
|
3c38: 8f75 and a4,a4,a3
|
|
3c3a: c3d8 sw a4,4(a5)
|
|
3c3c: 4398 lw a4,0(a5)
|
|
3c3e: ec0006b7 lui a3,0xec000
|
|
3c42: 16fd addi a3,a3,-1
|
|
3c44: 8f75 and a4,a4,a3
|
|
3c46: c398 sw a4,0(a5)
|
|
3c48: 00ff0737 lui a4,0xff0
|
|
3c4c: c798 sw a4,8(a5)
|
|
3c4e: 0207a623 sw zero,44(a5) # 4002102c <_eusrstack+0x2001102c>
|
|
3c52: c402 sw zero,8(sp)
|
|
3c54: c602 sw zero,12(sp)
|
|
3c56: 4398 lw a4,0(a5)
|
|
3c58: 66c1 lui a3,0x10
|
|
3c5a: 8f55 or a4,a4,a3
|
|
3c5c: c398 sw a4,0(a5)
|
|
3c5e: 400216b7 lui a3,0x40021
|
|
3c62: 6705 lui a4,0x1
|
|
3c64: 429c lw a5,0(a3)
|
|
3c66: 8ff1 and a5,a5,a2
|
|
3c68: c63e sw a5,12(sp)
|
|
3c6a: 47a2 lw a5,8(sp)
|
|
3c6c: 0785 addi a5,a5,1
|
|
3c6e: c43e sw a5,8(sp)
|
|
3c70: 47b2 lw a5,12(sp)
|
|
3c72: e781 bnez a5,3c7a <SystemInit+0x7e>
|
|
3c74: 47a2 lw a5,8(sp)
|
|
3c76: fee797e3 bne a5,a4,3c64 <SystemInit+0x68>
|
|
3c7a: 400217b7 lui a5,0x40021
|
|
3c7e: 439c lw a5,0(a5)
|
|
3c80: 00e79713 slli a4,a5,0xe
|
|
3c84: 06075763 bgez a4,3cf2 <SystemInit+0xf6>
|
|
3c88: 4785 li a5,1
|
|
3c8a: c63e sw a5,12(sp)
|
|
3c8c: 4732 lw a4,12(sp)
|
|
3c8e: 4785 li a5,1
|
|
3c90: 04f71f63 bne a4,a5,3cee <SystemInit+0xf2>
|
|
3c94: 400217b7 lui a5,0x40021
|
|
3c98: 43d8 lw a4,4(a5)
|
|
3c9a: ffc106b7 lui a3,0xffc10
|
|
3c9e: 16fd addi a3,a3,-1
|
|
3ca0: c3d8 sw a4,4(a5)
|
|
3ca2: 43d8 lw a4,4(a5)
|
|
3ca4: c3d8 sw a4,4(a5)
|
|
3ca6: 43d8 lw a4,4(a5)
|
|
3ca8: 40076713 ori a4,a4,1024
|
|
3cac: c3d8 sw a4,4(a5)
|
|
3cae: 43d8 lw a4,4(a5)
|
|
3cb0: 8f75 and a4,a4,a3
|
|
3cb2: c3d8 sw a4,4(a5)
|
|
3cb4: 43d8 lw a4,4(a5)
|
|
3cb6: 002906b7 lui a3,0x290
|
|
3cba: 8f55 or a4,a4,a3
|
|
3cbc: c3d8 sw a4,4(a5)
|
|
3cbe: 4398 lw a4,0(a5)
|
|
3cc0: 010006b7 lui a3,0x1000
|
|
3cc4: 8f55 or a4,a4,a3
|
|
3cc6: c398 sw a4,0(a5)
|
|
3cc8: 4398 lw a4,0(a5)
|
|
3cca: 00671693 slli a3,a4,0x6
|
|
3cce: fe06dde3 bgez a3,3cc8 <SystemInit+0xcc>
|
|
3cd2: 43d8 lw a4,4(a5)
|
|
3cd4: 400216b7 lui a3,0x40021
|
|
3cd8: 9b71 andi a4,a4,-4
|
|
3cda: c3d8 sw a4,4(a5)
|
|
3cdc: 43d8 lw a4,4(a5)
|
|
3cde: 00276713 ori a4,a4,2
|
|
3ce2: c3d8 sw a4,4(a5)
|
|
3ce4: 4721 li a4,8
|
|
3ce6: 42dc lw a5,4(a3)
|
|
3ce8: 8bb1 andi a5,a5,12
|
|
3cea: fee79ee3 bne a5,a4,3ce6 <SystemInit+0xea>
|
|
3cee: 0141 addi sp,sp,16
|
|
3cf0: 8082 ret
|
|
3cf2: c602 sw zero,12(sp)
|
|
3cf4: bf61 j 3c8c <SystemInit+0x90>
|
|
|
|
00003cf6 <SystemCoreClockUpdate>:
|
|
3cf6: 400216b7 lui a3,0x40021
|
|
3cfa: 42d8 lw a4,4(a3)
|
|
3cfc: 200007b7 lui a5,0x20000
|
|
3d00: 4611 li a2,4
|
|
3d02: 8b31 andi a4,a4,12
|
|
3d04: 24878793 addi a5,a5,584 # 20000248 <SystemCoreClock>
|
|
3d08: 00c70563 beq a4,a2,3d12 <SystemCoreClockUpdate+0x1c>
|
|
3d0c: 4621 li a2,8
|
|
3d0e: 02c70863 beq a4,a2,3d3e <SystemCoreClockUpdate+0x48>
|
|
3d12: 007a1737 lui a4,0x7a1
|
|
3d16: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79aa80>
|
|
3d1a: c398 sw a4,0(a5)
|
|
3d1c: 40021737 lui a4,0x40021
|
|
3d20: 4358 lw a4,4(a4)
|
|
3d22: 8311 srli a4,a4,0x4
|
|
3d24: 00f77693 andi a3,a4,15
|
|
3d28: 20000737 lui a4,0x20000
|
|
3d2c: 14070713 addi a4,a4,320 # 20000140 <AHBPrescTable>
|
|
3d30: 9736 add a4,a4,a3
|
|
3d32: 2314 lbu a3,0(a4)
|
|
3d34: 4398 lw a4,0(a5)
|
|
3d36: 00d75733 srl a4,a4,a3
|
|
3d3a: c398 sw a4,0(a5)
|
|
3d3c: 8082 ret
|
|
3d3e: 42d8 lw a4,4(a3)
|
|
3d40: 42d4 lw a3,4(a3)
|
|
3d42: 6641 lui a2,0x10
|
|
3d44: 8349 srli a4,a4,0x12
|
|
3d46: 8b3d andi a4,a4,15
|
|
3d48: 8ef1 and a3,a3,a2
|
|
3d4a: 00270613 addi a2,a4,2
|
|
3d4e: cf15 beqz a4,3d8a <SystemCoreClockUpdate+0x94>
|
|
3d50: 473d li a4,15
|
|
3d52: 02e60f63 beq a2,a4,3d90 <SystemCoreClockUpdate+0x9a>
|
|
3d56: 4741 li a4,16
|
|
3d58: 02e60f63 beq a2,a4,3d96 <SystemCoreClockUpdate+0xa0>
|
|
3d5c: 4745 li a4,17
|
|
3d5e: 4581 li a1,0
|
|
3d60: 00e61363 bne a2,a4,3d66 <SystemCoreClockUpdate+0x70>
|
|
3d64: 4641 li a2,16
|
|
3d66: e2a1 bnez a3,3da6 <SystemCoreClockUpdate+0xb0>
|
|
3d68: 40024737 lui a4,0x40024
|
|
3d6c: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x20013800>
|
|
3d70: 8b41 andi a4,a4,16
|
|
3d72: c70d beqz a4,3d9c <SystemCoreClockUpdate+0xa6>
|
|
3d74: 007a1737 lui a4,0x7a1
|
|
3d78: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79aa80>
|
|
3d7c: 02c70633 mul a2,a4,a2
|
|
3d80: c390 sw a2,0(a5)
|
|
3d82: ddc9 beqz a1,3d1c <SystemCoreClockUpdate+0x26>
|
|
3d84: 4398 lw a4,0(a5)
|
|
3d86: 8305 srli a4,a4,0x1
|
|
3d88: bf49 j 3d1a <SystemCoreClockUpdate+0x24>
|
|
3d8a: 4581 li a1,0
|
|
3d8c: 4649 li a2,18
|
|
3d8e: bfe1 j 3d66 <SystemCoreClockUpdate+0x70>
|
|
3d90: 4585 li a1,1
|
|
3d92: 4635 li a2,13
|
|
3d94: bfc9 j 3d66 <SystemCoreClockUpdate+0x70>
|
|
3d96: 4581 li a1,0
|
|
3d98: 463d li a2,15
|
|
3d9a: b7f1 j 3d66 <SystemCoreClockUpdate+0x70>
|
|
3d9c: 003d1737 lui a4,0x3d1
|
|
3da0: 90070713 addi a4,a4,-1792 # 3d0900 <__rt_init_end+0x3ca180>
|
|
3da4: bfe1 j 3d7c <SystemCoreClockUpdate+0x86>
|
|
3da6: 40021537 lui a0,0x40021
|
|
3daa: 5558 lw a4,44(a0)
|
|
3dac: 00f71693 slli a3,a4,0xf
|
|
3db0: 5558 lw a4,44(a0)
|
|
3db2: 0406df63 bgez a3,3e10 <SystemCoreClockUpdate+0x11a>
|
|
3db6: 8311 srli a4,a4,0x4
|
|
3db8: 8b3d andi a4,a4,15
|
|
3dba: 00170693 addi a3,a4,1
|
|
3dbe: 007a1737 lui a4,0x7a1
|
|
3dc2: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79aa80>
|
|
3dc6: 02d75733 divu a4,a4,a3
|
|
3dca: c398 sw a4,0(a5)
|
|
3dcc: 5554 lw a3,44(a0)
|
|
3dce: 82a1 srli a3,a3,0x8
|
|
3dd0: 8abd andi a3,a3,15
|
|
3dd2: e28d bnez a3,3df4 <SystemCoreClockUpdate+0xfe>
|
|
3dd4: 4695 li a3,5
|
|
3dd6: 02d70733 mul a4,a4,a3
|
|
3dda: 8305 srli a4,a4,0x1
|
|
3ddc: c398 sw a4,0(a5)
|
|
3dde: 40021737 lui a4,0x40021
|
|
3de2: 5758 lw a4,44(a4)
|
|
3de4: 4394 lw a3,0(a5)
|
|
3de6: 8b3d andi a4,a4,15
|
|
3de8: 0705 addi a4,a4,1
|
|
3dea: 02e6d733 divu a4,a3,a4
|
|
3dee: c398 sw a4,0(a5)
|
|
3df0: 4398 lw a4,0(a5)
|
|
3df2: b769 j 3d7c <SystemCoreClockUpdate+0x86>
|
|
3df4: 4505 li a0,1
|
|
3df6: 00a69463 bne a3,a0,3dfe <SystemCoreClockUpdate+0x108>
|
|
3dfa: 46e5 li a3,25
|
|
3dfc: bfe9 j 3dd6 <SystemCoreClockUpdate+0xe0>
|
|
3dfe: 453d li a0,15
|
|
3e00: 00a69663 bne a3,a0,3e0c <SystemCoreClockUpdate+0x116>
|
|
3e04: 46d1 li a3,20
|
|
3e06: 02e68733 mul a4,a3,a4
|
|
3e0a: bfc9 j 3ddc <SystemCoreClockUpdate+0xe6>
|
|
3e0c: 0689 addi a3,a3,2
|
|
3e0e: bfe5 j 3e06 <SystemCoreClockUpdate+0x110>
|
|
3e10: 8b3d andi a4,a4,15
|
|
3e12: 00170693 addi a3,a4,1 # 40021001 <_eusrstack+0x20011001>
|
|
3e16: 007a1737 lui a4,0x7a1
|
|
3e1a: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79aa80>
|
|
3e1e: 02d75733 divu a4,a4,a3
|
|
3e22: b7f1 j 3dee <SystemCoreClockUpdate+0xf8>
|
|
|
|
00003e24 <ADC1_2_IRQHandler>:
|
|
3e24: a001 j 3e24 <ADC1_2_IRQHandler>
|
|
|
|
00003e26 <handle_reset>:
|
|
3e26: 34129073 csrw mepc,t0
|
|
3e2a: 1fffd197 auipc gp,0x1fffd
|
|
3e2e: c1e18193 addi gp,gp,-994 # 20000a48 <__global_pointer$>
|
|
3e32: 2000c117 auipc sp,0x2000c
|
|
3e36: 1ce10113 addi sp,sp,462 # 20010000 <_eusrstack>
|
|
3e3a: 00003517 auipc a0,0x3
|
|
3e3e: 94650513 addi a0,a0,-1722 # 6780 <__rt_init_end>
|
|
3e42: 1fffc597 auipc a1,0x1fffc
|
|
3e46: 1be58593 addi a1,a1,446 # 20000000 <_data_vma>
|
|
3e4a: 80818613 addi a2,gp,-2040 # 20000250 <_edata>
|
|
3e4e: 00c5fa63 bgeu a1,a2,3e62 <handle_reset+0x3c>
|
|
3e52: 00052283 lw t0,0(a0)
|
|
3e56: 0055a023 sw t0,0(a1)
|
|
3e5a: 0511 addi a0,a0,4
|
|
3e5c: 0591 addi a1,a1,4
|
|
3e5e: fec5eae3 bltu a1,a2,3e52 <handle_reset+0x2c>
|
|
3e62: 80818513 addi a0,gp,-2040 # 20000250 <_edata>
|
|
3e66: 1fffe597 auipc a1,0x1fffe
|
|
3e6a: cf258593 addi a1,a1,-782 # 20001b58 <_ebss>
|
|
3e6e: 00b57763 bgeu a0,a1,3e7c <handle_reset+0x56>
|
|
3e72: 00052023 sw zero,0(a0)
|
|
3e76: 0511 addi a0,a0,4
|
|
3e78: feb56de3 bltu a0,a1,3e72 <handle_reset+0x4c>
|
|
3e7c: 42fd li t0,31
|
|
3e7e: bc029073 csrw 0xbc0,t0
|
|
3e82: 42fd li t0,31
|
|
3e84: 80429073 csrw 0x804,t0
|
|
3e88: 000082b7 lui t0,0x8
|
|
3e8c: 80028293 addi t0,t0,-2048 # 7800 <__rt_init_end+0x1080>
|
|
3e90: 30029073 csrw mstatus,t0
|
|
3e94: ffffc297 auipc t0,0xffffc
|
|
3e98: 17028293 addi t0,t0,368 # 4 <_einit>
|
|
3e9c: 0032e293 ori t0,t0,3
|
|
3ea0: 30529073 csrw mtvec,t0
|
|
3ea4: d59ff0ef jal ra,3bfc <SystemInit>
|
|
3ea8: ffffc297 auipc t0,0xffffc
|
|
3eac: 6d028293 addi t0,t0,1744 # 578 <entry>
|
|
3eb0: 34129073 csrw mepc,t0
|
|
3eb4: 30200073 mret
|
|
|
|
00003eb8 <SL_MsgProcFunc_Registration_request>:
|
|
3eb8: ceafc2ef jal t0,3a2 <__riscv_save_0>
|
|
3ebc: 892a mv s2,a0
|
|
3ebe: 20002537 lui a0,0x20002
|
|
3ec2: 8432 mv s0,a2
|
|
3ec4: 84ae mv s1,a1
|
|
3ec6: 4659 li a2,22
|
|
3ec8: 4581 li a1,0
|
|
3eca: 84250513 addi a0,a0,-1982 # 20001842 <MqUartSend_pack+0x6>
|
|
3ece: d04fc0ef jal ra,3d2 <memset>
|
|
3ed2: 200025b7 lui a1,0x20002
|
|
3ed6: 83c58793 addi a5,a1,-1988 # 2000183c <MqUartSend_pack>
|
|
3eda: 4705 li a4,1
|
|
3edc: a3d8 sb a4,4(a5)
|
|
3ede: b3c0 sb s0,5(a5)
|
|
3ee0: 8325ae23 sw s2,-1988(a1)
|
|
3ee4: 4781 li a5,0
|
|
3ee6: 83c58713 addi a4,a1,-1988
|
|
3eea: 0287e863 bltu a5,s0,3f1a <SL_MsgProcFunc_Registration_request+0x62>
|
|
3eee: 8b01a503 lw a0,-1872(gp) # 200002f8 <mqSend>
|
|
3ef2: 8622 mv a2,s0
|
|
3ef4: 83c58593 addi a1,a1,-1988
|
|
3ef8: ac9fc0ef jal ra,9c0 <rt_mq_send>
|
|
3efc: c519 beqz a0,3f0a <SL_MsgProcFunc_Registration_request+0x52>
|
|
3efe: 00006537 lui a0,0x6
|
|
3f02: 59c50513 addi a0,a0,1436 # 659c <ch32_uart_ops+0x64>
|
|
3f06: bb6fd0ef jal ra,12bc <rt_kprintf>
|
|
3f0a: 00006537 lui a0,0x6
|
|
3f0e: 5ac50513 addi a0,a0,1452 # 65ac <ch32_uart_ops+0x74>
|
|
3f12: baafd0ef jal ra,12bc <rt_kprintf>
|
|
3f16: cb0fc06f j 3c6 <__riscv_restore_0>
|
|
3f1a: 00f486b3 add a3,s1,a5
|
|
3f1e: 2290 lbu a2,0(a3)
|
|
3f20: 00f706b3 add a3,a4,a5
|
|
3f24: 0785 addi a5,a5,1
|
|
3f26: a2f0 sb a2,6(a3)
|
|
3f28: 0ff7f793 andi a5,a5,255
|
|
3f2c: bf7d j 3eea <SL_MsgProcFunc_Registration_request+0x32>
|
|
|
|
00003f2e <SL_MsgProcFunc_Read_Register>:
|
|
3f2e: c74fc2ef jal t0,3a2 <__riscv_save_0>
|
|
3f32: 892a mv s2,a0
|
|
3f34: 20002537 lui a0,0x20002
|
|
3f38: 8432 mv s0,a2
|
|
3f3a: 84ae mv s1,a1
|
|
3f3c: 4661 li a2,24
|
|
3f3e: 4581 li a1,0
|
|
3f40: 84050513 addi a0,a0,-1984 # 20001840 <MqUartSend_pack+0x4>
|
|
3f44: c8efc0ef jal ra,3d2 <memset>
|
|
3f48: 200025b7 lui a1,0x20002
|
|
3f4c: 83c58793 addi a5,a1,-1988 # 2000183c <MqUartSend_pack>
|
|
3f50: b3c0 sb s0,5(a5)
|
|
3f52: 8325ae23 sw s2,-1988(a1)
|
|
3f56: 4781 li a5,0
|
|
3f58: 83c58713 addi a4,a1,-1988
|
|
3f5c: 0287e263 bltu a5,s0,3f80 <SL_MsgProcFunc_Read_Register+0x52>
|
|
3f60: 8b01a503 lw a0,-1872(gp) # 200002f8 <mqSend>
|
|
3f64: 8622 mv a2,s0
|
|
3f66: 83c58593 addi a1,a1,-1988
|
|
3f6a: a57fc0ef jal ra,9c0 <rt_mq_send>
|
|
3f6e: c519 beqz a0,3f7c <SL_MsgProcFunc_Read_Register+0x4e>
|
|
3f70: 00006537 lui a0,0x6
|
|
3f74: 59c50513 addi a0,a0,1436 # 659c <ch32_uart_ops+0x64>
|
|
3f78: b44fd0ef jal ra,12bc <rt_kprintf>
|
|
3f7c: c4afc06f j 3c6 <__riscv_restore_0>
|
|
3f80: 00f486b3 add a3,s1,a5
|
|
3f84: 2290 lbu a2,0(a3)
|
|
3f86: 00f706b3 add a3,a4,a5
|
|
3f8a: 0785 addi a5,a5,1
|
|
3f8c: a2f0 sb a2,6(a3)
|
|
3f8e: 0ff7f793 andi a5,a5,255
|
|
3f92: b7e9 j 3f5c <SL_MsgProcFunc_Read_Register+0x2e>
|
|
|
|
00003f94 <CheckFunc>:
|
|
3f94: 67c1 lui a5,0x10
|
|
3f96: 7669 lui a2,0xffffa
|
|
3f98: 4681 li a3,0
|
|
3f9a: 17fd addi a5,a5,-1
|
|
3f9c: 0605 addi a2,a2,1
|
|
3f9e: 01069713 slli a4,a3,0x10
|
|
3fa2: 8341 srli a4,a4,0x10
|
|
3fa4: 00b76463 bltu a4,a1,3fac <CheckFunc+0x18>
|
|
3fa8: 853e mv a0,a5
|
|
3faa: 8082 ret
|
|
3fac: 00d50733 add a4,a0,a3
|
|
3fb0: 2318 lbu a4,0(a4)
|
|
3fb2: 8fb9 xor a5,a5,a4
|
|
3fb4: 4721 li a4,8
|
|
3fb6: 0017f813 andi a6,a5,1
|
|
3fba: 8385 srli a5,a5,0x1
|
|
3fbc: 00080563 beqz a6,3fc6 <CheckFunc+0x32>
|
|
3fc0: 8fb1 xor a5,a5,a2
|
|
3fc2: 07c2 slli a5,a5,0x10
|
|
3fc4: 83c1 srli a5,a5,0x10
|
|
3fc6: 177d addi a4,a4,-1
|
|
3fc8: 0742 slli a4,a4,0x10
|
|
3fca: 8341 srli a4,a4,0x10
|
|
3fcc: f76d bnez a4,3fb6 <CheckFunc+0x22>
|
|
3fce: 0685 addi a3,a3,1
|
|
3fd0: b7f9 j 3f9e <CheckFunc+0xa>
|
|
|
|
00003fd2 <FRT_MsgHandler>:
|
|
3fd2: bb6fc2ef jal t0,388 <__riscv_save_4>
|
|
3fd6: 20000437 lui s0,0x20000
|
|
3fda: 15042783 lw a5,336(s0) # 20000150 <g_MsgTbl>
|
|
3fde: 3598 lbu a4,9(a1)
|
|
3fe0: 892a mv s2,a0
|
|
3fe2: 84ae mv s1,a1
|
|
3fe4: 89b2 mv s3,a2
|
|
3fe6: 15040413 addi s0,s0,336
|
|
3fea: 00f71463 bne a4,a5,3ff2 <FRT_MsgHandler+0x20>
|
|
3fee: 405c lw a5,4(s0)
|
|
3ff0: 9782 jalr a5
|
|
3ff2: 3498 lbu a4,9(s1)
|
|
3ff4: 441c lw a5,8(s0)
|
|
3ff6: 00f71763 bne a4,a5,4004 <FRT_MsgHandler+0x32>
|
|
3ffa: 445c lw a5,12(s0)
|
|
3ffc: 864e mv a2,s3
|
|
3ffe: 85a6 mv a1,s1
|
|
4000: 854a mv a0,s2
|
|
4002: 9782 jalr a5
|
|
4004: bb8fc06f j 3bc <__riscv_restore_4>
|
|
|
|
00004008 <read_and_process_uart_data>:
|
|
4008: b6afc2ef jal t0,372 <__riscv_save_12>
|
|
400c: 1141 addi sp,sp,-16
|
|
400e: 8baa mv s7,a0
|
|
4010: 2b41 jal 45a0 <uart_dev_char_present>
|
|
4012: c961 beqz a0,40e2 <read_and_process_uart_data+0xda>
|
|
4014: 4579 li a0,30
|
|
4016: bcffd0ef jal ra,1be4 <rt_thread_mdelay>
|
|
401a: 855e mv a0,s7
|
|
401c: 23d1 jal 45e0 <ring_queue_length>
|
|
401e: 85aa mv a1,a0
|
|
4020: 00006537 lui a0,0x6
|
|
4024: 5b850513 addi a0,a0,1464 # 65b8 <ch32_uart_ops+0x80>
|
|
4028: a94fd0ef jal ra,12bc <rt_kprintf>
|
|
402c: 20002ab7 lui s5,0x20002
|
|
4030: 03200613 li a2,50
|
|
4034: 4581 li a1,0
|
|
4036: 808a8513 addi a0,s5,-2040 # 20001808 <uart_buff>
|
|
403a: 808a8993 addi s3,s5,-2040
|
|
403e: b94fc0ef jal ra,3d2 <memset>
|
|
4042: 4901 li s2,0
|
|
4044: 4b01 li s6,0
|
|
4046: 4481 li s1,0
|
|
4048: 4401 li s0,0
|
|
404a: 4c89 li s9,2
|
|
404c: 808a8a13 addi s4,s5,-2040
|
|
4050: 03000d13 li s10,48
|
|
4054: 00198c13 addi s8,s3,1
|
|
4058: 855e mv a0,s7
|
|
405a: 2359 jal 45e0 <ring_queue_length>
|
|
405c: c159 beqz a0,40e2 <read_and_process_uart_data+0xda>
|
|
405e: 855e mv a0,s7
|
|
4060: 2ba1 jal 45b8 <uart_dev_in_char>
|
|
4062: 0ff57d93 andi s11,a0,255
|
|
4066: 008987b3 add a5,s3,s0
|
|
406a: 00140613 addi a2,s0,1
|
|
406e: 01b78023 sb s11,0(a5) # 10000 <__rt_init_end+0x9880>
|
|
4072: 01960463 beq a2,s9,407a <read_and_process_uart_data+0x72>
|
|
4076: 0e048e63 beqz s1,4172 <read_and_process_uart_data+0x16a>
|
|
407a: 200007b7 lui a5,0x20000
|
|
407e: 000a4683 lbu a3,0(s4)
|
|
4082: 1607c783 lbu a5,352(a5) # 20000160 <g_slConfigInfo>
|
|
4086: 00f69b63 bne a3,a5,409c <read_and_process_uart_data+0x94>
|
|
408a: 200007b7 lui a5,0x20000
|
|
408e: 16078793 addi a5,a5,352 # 20000160 <g_slConfigInfo>
|
|
4092: 001a4683 lbu a3,1(s4)
|
|
4096: 339c lbu a5,1(a5)
|
|
4098: 00f68963 beq a3,a5,40aa <read_and_process_uart_data+0xa2>
|
|
409c: 8622 mv a2,s0
|
|
409e: 85e2 mv a1,s8
|
|
40a0: 854e mv a0,s3
|
|
40a2: 6cb000ef jal ra,4f6c <memcpy>
|
|
40a6: 8622 mv a2,s0
|
|
40a8: a81d j 40de <read_and_process_uart_data+0xd6>
|
|
40aa: 47a9 li a5,10
|
|
40ac: 00f60463 beq a2,a5,40b4 <read_and_process_uart_data+0xac>
|
|
40b0: 0c9cf463 bgeu s9,s1,4178 <read_and_process_uart_data+0x170>
|
|
40b4: 009a4783 lbu a5,9(s4)
|
|
40b8: 0da78263 beq a5,s10,417c <read_and_process_uart_data+0x174>
|
|
40bc: 0a100693 li a3,161
|
|
40c0: 0ad78363 beq a5,a3,4166 <read_and_process_uart_data+0x15e>
|
|
40c4: 87a6 mv a5,s1
|
|
40c6: 0194f363 bgeu s1,s9,40cc <read_and_process_uart_data+0xc4>
|
|
40ca: 4789 li a5,2
|
|
40cc: 8622 mv a2,s0
|
|
40ce: 85e2 mv a1,s8
|
|
40d0: 854e mv a0,s3
|
|
40d2: 0ff7f493 andi s1,a5,255
|
|
40d6: 697000ef jal ra,4f6c <memcpy>
|
|
40da: 8622 mv a2,s0
|
|
40dc: 4b01 li s6,0
|
|
40de: 0acd7763 bgeu s10,a2,418c <read_and_process_uart_data+0x184>
|
|
40e2: 0141 addi sp,sp,16
|
|
40e4: acafc06f j 3ae <__riscv_restore_12>
|
|
40e8: ff261be3 bne a2,s2,40de <read_and_process_uart_data+0xd6>
|
|
40ec: 009a4783 lbu a5,9(s4)
|
|
40f0: 05a79263 bne a5,s10,4134 <read_and_process_uart_data+0x12c>
|
|
40f4: ffd60593 addi a1,a2,-3 # ffff9ffd <_eusrstack+0xdffe9ffd>
|
|
40f8: 0ff5f593 andi a1,a1,255
|
|
40fc: 854e mv a0,s3
|
|
40fe: c632 sw a2,12(sp)
|
|
4100: e95ff0ef jal ra,3f94 <CheckFunc>
|
|
4104: 008a06b3 add a3,s4,s0
|
|
4108: ffe6c783 lbu a5,-2(a3) # 40020ffe <_eusrstack+0x20010ffe>
|
|
410c: fff6c683 lbu a3,-1(a3)
|
|
4110: 4632 lw a2,12(sp)
|
|
4112: 07a2 slli a5,a5,0x8
|
|
4114: 8fd5 or a5,a5,a3
|
|
4116: 00f51563 bne a0,a5,4120 <read_and_process_uart_data+0x118>
|
|
411a: 47d9 li a5,22
|
|
411c: 02fd8f63 beq s11,a5,415a <read_and_process_uart_data+0x152>
|
|
4120: 470d li a4,3
|
|
4122: 87a6 mv a5,s1
|
|
4124: 00e4f363 bgeu s1,a4,412a <read_and_process_uart_data+0x122>
|
|
4128: 478d li a5,3
|
|
412a: 0ff7f493 andi s1,a5,255
|
|
412e: b7bd j 409c <read_and_process_uart_data+0x94>
|
|
4130: 4969 li s2,26
|
|
4132: 4b01 li s6,0
|
|
4134: ffd90593 addi a1,s2,-3
|
|
4138: 0ff5f593 andi a1,a1,255
|
|
413c: 854e mv a0,s3
|
|
413e: e57ff0ef jal ra,3f94 <CheckFunc>
|
|
4142: 017a4783 lbu a5,23(s4)
|
|
4146: 018a4683 lbu a3,24(s4)
|
|
414a: 07a2 slli a5,a5,0x8
|
|
414c: 8fd5 or a5,a5,a3
|
|
414e: fca799e3 bne a5,a0,4120 <read_and_process_uart_data+0x118>
|
|
4152: 47d9 li a5,22
|
|
4154: fcfd96e3 bne s11,a5,4120 <read_and_process_uart_data+0x118>
|
|
4158: 864a mv a2,s2
|
|
415a: 808a8593 addi a1,s5,-2040
|
|
415e: 855e mv a0,s7
|
|
4160: e73ff0ef jal ra,3fd2 <FRT_MsgHandler>
|
|
4164: bfbd j 40e2 <read_and_process_uart_data+0xda>
|
|
4166: 47e9 li a5,26
|
|
4168: fcf604e3 beq a2,a5,4130 <read_and_process_uart_data+0x128>
|
|
416c: 4b01 li s6,0
|
|
416e: 4969 li s2,26
|
|
4170: b7bd j 40de <read_and_process_uart_data+0xd6>
|
|
4172: 47a9 li a5,10
|
|
4174: f4f600e3 beq a2,a5,40b4 <read_and_process_uart_data+0xac>
|
|
4178: f60b08e3 beqz s6,40e8 <read_and_process_uart_data+0xe0>
|
|
417c: 47b1 li a5,12
|
|
417e: 4b05 li s6,1
|
|
4180: f6f614e3 bne a2,a5,40e8 <read_and_process_uart_data+0xe0>
|
|
4184: 00ba4903 lbu s2,11(s4)
|
|
4188: 0906 slli s2,s2,0x1
|
|
418a: 093d addi s2,s2,15
|
|
418c: 8432 mv s0,a2
|
|
418e: b5e9 j 4058 <read_and_process_uart_data+0x50>
|
|
|
|
00004190 <send_data>:
|
|
4190: 2158 lbu a4,4(a0)
|
|
4192: 4785 li a5,1
|
|
4194: 00f71b63 bne a4,a5,41aa <send_data+0x1a>
|
|
4198: a0afc2ef jal t0,3a2 <__riscv_save_0>
|
|
419c: 3150 lbu a2,5(a0)
|
|
419e: 00650593 addi a1,a0,6
|
|
41a2: 4108 lw a0,0(a0)
|
|
41a4: 26a9 jal 44ee <uart_dev_write>
|
|
41a6: a20fc06f j 3c6 <__riscv_restore_0>
|
|
41aa: 8082 ret
|
|
|
|
000041ac <Recv_thread_entry>:
|
|
41ac: 9f6fc2ef jal t0,3a2 <__riscv_save_0>
|
|
41b0: 00006537 lui a0,0x6
|
|
41b4: 5dc50513 addi a0,a0,1500 # 65dc <ch32_uart_ops+0xa4>
|
|
41b8: 904fd0ef jal ra,12bc <rt_kprintf>
|
|
41bc: 8c41a503 lw a0,-1852(gp) # 2000030c <g_J50RS485_USART3_handle>
|
|
41c0: e49ff0ef jal ra,4008 <read_and_process_uart_data>
|
|
41c4: 06400513 li a0,100
|
|
41c8: a1dfd0ef jal ra,1be4 <rt_thread_mdelay>
|
|
41cc: bfc5 j 41bc <Recv_thread_entry+0x10>
|
|
|
|
000041ce <Send_thread_entry>:
|
|
41ce: 9d4fc2ef jal t0,3a2 <__riscv_save_0>
|
|
41d2: 00006537 lui a0,0x6
|
|
41d6: 7159 addi sp,sp,-112
|
|
41d8: 5f050513 addi a0,a0,1520 # 65f0 <ch32_uart_ops+0xb8>
|
|
41dc: 8e0fd0ef jal ra,12bc <rt_kprintf>
|
|
41e0: 00006437 lui s0,0x6
|
|
41e4: 06400613 li a2,100
|
|
41e8: 4581 li a1,0
|
|
41ea: 0068 addi a0,sp,12
|
|
41ec: 9e6fc0ef jal ra,3d2 <memset>
|
|
41f0: 8b01a503 lw a0,-1872(gp) # 200002f8 <mqSend>
|
|
41f4: 56fd li a3,-1
|
|
41f6: 06400613 li a2,100
|
|
41fa: 006c addi a1,sp,12
|
|
41fc: 847fc0ef jal ra,a42 <rt_mq_recv>
|
|
4200: 5fc40513 addi a0,s0,1532 # 65fc <ch32_uart_ops+0xc4>
|
|
4204: 8b8fd0ef jal ra,12bc <rt_kprintf>
|
|
4208: 0068 addi a0,sp,12
|
|
420a: f87ff0ef jal ra,4190 <send_data>
|
|
420e: bfd9 j 41e4 <Send_thread_entry+0x16>
|
|
|
|
00004210 <Recv_thread_Init>:
|
|
4210: 992fc2ef jal t0,3a2 <__riscv_save_0>
|
|
4214: 000045b7 lui a1,0x4
|
|
4218: 00006537 lui a0,0x6
|
|
421c: 47d1 li a5,20
|
|
421e: 4709 li a4,2
|
|
4220: 20000693 li a3,512
|
|
4224: 4601 li a2,0
|
|
4226: 1ac58593 addi a1,a1,428 # 41ac <Recv_thread_entry>
|
|
422a: 5d450513 addi a0,a0,1492 # 65d4 <ch32_uart_ops+0x9c>
|
|
422e: 895fd0ef jal ra,1ac2 <rt_thread_create>
|
|
4232: c119 beqz a0,4238 <Recv_thread_Init+0x28>
|
|
4234: a0bfd0ef jal ra,1c3e <rt_thread_startup>
|
|
4238: 98efc06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000423c <Send_thread_Init>:
|
|
423c: 966fc2ef jal t0,3a2 <__riscv_save_0>
|
|
4240: 000045b7 lui a1,0x4
|
|
4244: 00006537 lui a0,0x6
|
|
4248: 47d1 li a5,20
|
|
424a: 470d li a4,3
|
|
424c: 20000693 li a3,512
|
|
4250: 4601 li a2,0
|
|
4252: 1ce58593 addi a1,a1,462 # 41ce <Send_thread_entry>
|
|
4256: 5e850513 addi a0,a0,1512 # 65e8 <ch32_uart_ops+0xb0>
|
|
425a: 869fd0ef jal ra,1ac2 <rt_thread_create>
|
|
425e: c119 beqz a0,4264 <Send_thread_Init+0x28>
|
|
4260: 9dffd0ef jal ra,1c3e <rt_thread_startup>
|
|
4264: 962fc06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004268 <Send_mq_Init>:
|
|
4268: 93afc2ef jal t0,3a2 <__riscv_save_0>
|
|
426c: 00006537 lui a0,0x6
|
|
4270: 4681 li a3,0
|
|
4272: 4615 li a2,5
|
|
4274: 03200593 li a1,50
|
|
4278: 60c50513 addi a0,a0,1548 # 660c <ch32_uart_ops+0xd4>
|
|
427c: ec4fc0ef jal ra,940 <rt_mq_create>
|
|
4280: 8aa1a823 sw a0,-1872(gp) # 200002f8 <mqSend>
|
|
4284: 00a03533 snez a0,a0
|
|
4288: 93efc06f j 3c6 <__riscv_restore_0>
|
|
|
|
0000428c <uart_putchar>:
|
|
428c: cd11 beqz a0,42a8 <uart_putchar+0x1c>
|
|
428e: 211c lbu a5,0(a0)
|
|
4290: cf89 beqz a5,42aa <uart_putchar+0x1e>
|
|
4292: 910fc2ef jal t0,3a2 <__riscv_save_0>
|
|
4296: 4148 lw a0,4(a0)
|
|
4298: 0ff5f593 andi a1,a1,255
|
|
429c: 493000ef jal ra,4f2e <USARTx_SendByte_str>
|
|
42a0: 4785 li a5,1
|
|
42a2: 853e mv a0,a5
|
|
42a4: 922fc06f j 3c6 <__riscv_restore_0>
|
|
42a8: 4781 li a5,0
|
|
42aa: 853e mv a0,a5
|
|
42ac: 8082 ret
|
|
|
|
000042ae <uart_init.constprop.0>:
|
|
42ae: 8f4fc2ef jal t0,3a2 <__riscv_save_0>
|
|
42b2: 842a mv s0,a0
|
|
42b4: 405c lw a5,4(s0)
|
|
42b6: 6509 lui a0,0x2
|
|
42b8: 58050513 addi a0,a0,1408 # 2580 <msh_help+0x34>
|
|
42bc: 40002737 lui a4,0x40002
|
|
42c0: c408 sw a0,8(s0)
|
|
42c2: 80070693 addi a3,a4,-2048 # 40001800 <_eusrstack+0x1fff1800>
|
|
42c6: 00d79663 bne a5,a3,42d2 <uart_init.constprop.0+0x24>
|
|
42ca: 039000ef jal ra,4b02 <J1_485_Init>
|
|
42ce: 8f8fc06f j 3c6 <__riscv_restore_0>
|
|
42d2: c0070693 addi a3,a4,-1024
|
|
42d6: 00d79563 bne a5,a3,42e0 <uart_init.constprop.0+0x32>
|
|
42da: 061000ef jal ra,4b3a <J2_485_Init>
|
|
42de: bfc5 j 42ce <uart_init.constprop.0+0x20>
|
|
42e0: 400046b7 lui a3,0x40004
|
|
42e4: 40068693 addi a3,a3,1024 # 40004400 <_eusrstack+0x1fff4400>
|
|
42e8: 00d79563 bne a5,a3,42f2 <uart_init.constprop.0+0x44>
|
|
42ec: 087000ef jal ra,4b72 <J3_485_Init>
|
|
42f0: bff9 j 42ce <uart_init.constprop.0+0x20>
|
|
42f2: 00e79563 bne a5,a4,42fc <uart_init.constprop.0+0x4e>
|
|
42f6: 0b5000ef jal ra,4baa <J4_485_Init>
|
|
42fa: bfd1 j 42ce <uart_init.constprop.0+0x20>
|
|
42fc: 40005737 lui a4,0x40005
|
|
4300: 80070713 addi a4,a4,-2048 # 40004800 <_eusrstack+0x1fff4800>
|
|
4304: fce795e3 bne a5,a4,42ce <uart_init.constprop.0+0x20>
|
|
4308: 23d000ef jal ra,4d44 <J5_0_485_Init>
|
|
430c: 4c5c lw a5,28(s0)
|
|
430e: e781 bnez a5,4316 <uart_init.constprop.0+0x68>
|
|
4310: 1fb000ef jal ra,4d0a <USART_CONNET_J0>
|
|
4314: bf6d j 42ce <uart_init.constprop.0+0x20>
|
|
4316: 4715 li a4,5
|
|
4318: 00e79563 bne a5,a4,4322 <uart_init.constprop.0+0x74>
|
|
431c: 32b000ef jal ra,4e46 <USART_CONNET_J5>
|
|
4320: b77d j 42ce <uart_init.constprop.0+0x20>
|
|
4322: 4719 li a4,6
|
|
4324: 00e79563 bne a5,a4,432e <uart_init.constprop.0+0x80>
|
|
4328: 359000ef jal ra,4e80 <USART_CONNET_J6>
|
|
432c: b74d j 42ce <uart_init.constprop.0+0x20>
|
|
432e: 471d li a4,7
|
|
4330: 00e79563 bne a5,a4,433a <uart_init.constprop.0+0x8c>
|
|
4334: 387000ef jal ra,4eba <USART_CONNET_J7>
|
|
4338: bf59 j 42ce <uart_init.constprop.0+0x20>
|
|
433a: 4721 li a4,8
|
|
433c: 00e79563 bne a5,a4,4346 <uart_init.constprop.0+0x98>
|
|
4340: 3b5000ef jal ra,4ef4 <USART_CONNET_J8>
|
|
4344: b769 j 42ce <uart_init.constprop.0+0x20>
|
|
4346: 4725 li a4,9
|
|
4348: f8e793e3 bne a5,a4,42ce <uart_init.constprop.0+0x20>
|
|
434c: 173000ef jal ra,4cbe <USART_CONNET_J9>
|
|
4350: bfbd j 42ce <uart_init.constprop.0+0x20>
|
|
|
|
00004352 <uart_dev_init>:
|
|
4352: 850fc2ef jal t0,3a2 <__riscv_save_0>
|
|
4356: 200004b7 lui s1,0x20000
|
|
435a: 17848413 addi s0,s1,376 # 20000178 <uart_devices>
|
|
435e: 200025b7 lui a1,0x20002
|
|
4362: 08000613 li a2,128
|
|
4366: 85858593 addi a1,a1,-1960 # 20001858 <J1RS485_in_buff>
|
|
436a: 00c40513 addi a0,s0,12
|
|
436e: f55fe0ef jal ra,32c2 <InitRingQueue>
|
|
4372: 17848513 addi a0,s1,376
|
|
4376: f39ff0ef jal ra,42ae <uart_init.constprop.0>
|
|
437a: 200025b7 lui a1,0x20002
|
|
437e: 4485 li s1,1
|
|
4380: 08000613 li a2,128
|
|
4384: 8d858593 addi a1,a1,-1832 # 200018d8 <J2RS485_in_buff>
|
|
4388: 02c40513 addi a0,s0,44
|
|
438c: 8a81aa23 sw s0,-1868(gp) # 200002fc <g_J1RS485_UART6_handle>
|
|
4390: 02040913 addi s2,s0,32
|
|
4394: a004 sb s1,0(s0)
|
|
4396: f2dfe0ef jal ra,32c2 <InitRingQueue>
|
|
439a: 854a mv a0,s2
|
|
439c: f13ff0ef jal ra,42ae <uart_init.constprop.0>
|
|
43a0: 200025b7 lui a1,0x20002
|
|
43a4: 08000613 li a2,128
|
|
43a8: 95858593 addi a1,a1,-1704 # 20001958 <J3RS485_in_buff>
|
|
43ac: 04c40513 addi a0,s0,76
|
|
43b0: 8b21ac23 sw s2,-1864(gp) # 20000300 <g_J2RS485_UART7_handle>
|
|
43b4: 02940023 sb s1,32(s0)
|
|
43b8: 04040913 addi s2,s0,64
|
|
43bc: f07fe0ef jal ra,32c2 <InitRingQueue>
|
|
43c0: 854a mv a0,s2
|
|
43c2: eedff0ef jal ra,42ae <uart_init.constprop.0>
|
|
43c6: 200025b7 lui a1,0x20002
|
|
43ca: 08000613 li a2,128
|
|
43ce: 9d858593 addi a1,a1,-1576 # 200019d8 <J4RS485_in_buff>
|
|
43d2: 06c40513 addi a0,s0,108
|
|
43d6: 8b21ae23 sw s2,-1860(gp) # 20000304 <g_J3RS485_USART2_handle>
|
|
43da: 04940023 sb s1,64(s0)
|
|
43de: 06040913 addi s2,s0,96
|
|
43e2: ee1fe0ef jal ra,32c2 <InitRingQueue>
|
|
43e6: 854a mv a0,s2
|
|
43e8: ec7ff0ef jal ra,42ae <uart_init.constprop.0>
|
|
43ec: 200025b7 lui a1,0x20002
|
|
43f0: 08000613 li a2,128
|
|
43f4: a5858593 addi a1,a1,-1448 # 20001a58 <J50RS485_in_buff>
|
|
43f8: 08c40513 addi a0,s0,140
|
|
43fc: 8d21a023 sw s2,-1856(gp) # 20000308 <g_J4RS485_UART8_handle>
|
|
4400: 06940023 sb s1,96(s0)
|
|
4404: 08040913 addi s2,s0,128
|
|
4408: ebbfe0ef jal ra,32c2 <InitRingQueue>
|
|
440c: 854a mv a0,s2
|
|
440e: ea1ff0ef jal ra,42ae <uart_init.constprop.0>
|
|
4412: 200025b7 lui a1,0x20002
|
|
4416: 08000613 li a2,128
|
|
441a: ad858593 addi a1,a1,-1320 # 20001ad8 <LORA_in_buff>
|
|
441e: 0ac40513 addi a0,s0,172
|
|
4422: 8d21a223 sw s2,-1852(gp) # 2000030c <g_J50RS485_USART3_handle>
|
|
4426: 08940023 sb s1,128(s0)
|
|
442a: 0a040913 addi s2,s0,160
|
|
442e: e95fe0ef jal ra,32c2 <InitRingQueue>
|
|
4432: 854a mv a0,s2
|
|
4434: e7bff0ef jal ra,42ae <uart_init.constprop.0>
|
|
4438: 0a940023 sb s1,160(s0)
|
|
443c: 8d21a423 sw s2,-1848(gp) # 20000310 <g_LORA_UART5_handle>
|
|
4440: 4501 li a0,0
|
|
4442: f85fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004446 <J1RS485_tx_enabla>:
|
|
4446: f5dfb2ef jal t0,3a2 <__riscv_save_0>
|
|
444a: 4585 li a1,1
|
|
444c: 4511 li a0,4
|
|
444e: cebfe0ef jal ra,3138 <rt_pin_write>
|
|
4452: f75fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004456 <J1RS485_tx_disenabla>:
|
|
4456: f4dfb2ef jal t0,3a2 <__riscv_save_0>
|
|
445a: 4581 li a1,0
|
|
445c: 4511 li a0,4
|
|
445e: cdbfe0ef jal ra,3138 <rt_pin_write>
|
|
4462: f65fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004466 <J2RS485_tx_enabla>:
|
|
4466: f3dfb2ef jal t0,3a2 <__riscv_save_0>
|
|
446a: 4585 li a1,1
|
|
446c: 4515 li a0,5
|
|
446e: ccbfe0ef jal ra,3138 <rt_pin_write>
|
|
4472: f55fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004476 <J2RS485_tx_disenabla>:
|
|
4476: f2dfb2ef jal t0,3a2 <__riscv_save_0>
|
|
447a: 4581 li a1,0
|
|
447c: 4515 li a0,5
|
|
447e: cbbfe0ef jal ra,3138 <rt_pin_write>
|
|
4482: f45fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004486 <J3RS485_tx_enabla>:
|
|
4486: f1dfb2ef jal t0,3a2 <__riscv_save_0>
|
|
448a: 4585 li a1,1
|
|
448c: 4561 li a0,24
|
|
448e: cabfe0ef jal ra,3138 <rt_pin_write>
|
|
4492: f35fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004496 <J3RS485_tx_disenabla>:
|
|
4496: f0dfb2ef jal t0,3a2 <__riscv_save_0>
|
|
449a: 4581 li a1,0
|
|
449c: 4561 li a0,24
|
|
449e: c9bfe0ef jal ra,3138 <rt_pin_write>
|
|
44a2: f25fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
000044a6 <J4RS485_tx_enabla>:
|
|
44a6: efdfb2ef jal t0,3a2 <__riscv_save_0>
|
|
44aa: 4585 li a1,1
|
|
44ac: 02300513 li a0,35
|
|
44b0: c89fe0ef jal ra,3138 <rt_pin_write>
|
|
44b4: f13fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
000044b8 <J4RS485_tx_disenabla>:
|
|
44b8: eebfb2ef jal t0,3a2 <__riscv_save_0>
|
|
44bc: 4581 li a1,0
|
|
44be: 02300513 li a0,35
|
|
44c2: c77fe0ef jal ra,3138 <rt_pin_write>
|
|
44c6: f01fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
000044ca <J50RS485_tx_enabla>:
|
|
44ca: ed9fb2ef jal t0,3a2 <__riscv_save_0>
|
|
44ce: 4585 li a1,1
|
|
44d0: 03700513 li a0,55
|
|
44d4: c65fe0ef jal ra,3138 <rt_pin_write>
|
|
44d8: eeffb06f j 3c6 <__riscv_restore_0>
|
|
|
|
000044dc <J50RS485_tx_disenabla>:
|
|
44dc: ec7fb2ef jal t0,3a2 <__riscv_save_0>
|
|
44e0: 4581 li a1,0
|
|
44e2: 03700513 li a0,55
|
|
44e6: c53fe0ef jal ra,3138 <rt_pin_write>
|
|
44ea: eddfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
000044ee <uart_dev_write>:
|
|
44ee: e9bfb2ef jal t0,388 <__riscv_save_4>
|
|
44f2: 8b41a703 lw a4,-1868(gp) # 200002fc <g_J1RS485_UART6_handle>
|
|
44f6: 842a mv s0,a0
|
|
44f8: 8a2e mv s4,a1
|
|
44fa: 89b2 mv s3,a2
|
|
44fc: 8b418913 addi s2,gp,-1868 # 200002fc <g_J1RS485_UART6_handle>
|
|
4500: 00a71f63 bne a4,a0,451e <uart_dev_write+0x30>
|
|
4504: f43ff0ef jal ra,4446 <J1RS485_tx_enabla>
|
|
4508: 4481 li s1,0
|
|
450a: 0534c663 blt s1,s3,4556 <uart_dev_write+0x68>
|
|
450e: 00092783 lw a5,0(s2)
|
|
4512: 04879b63 bne a5,s0,4568 <uart_dev_write+0x7a>
|
|
4516: f41ff0ef jal ra,4456 <J1RS485_tx_disenabla>
|
|
451a: ea3fb06f j 3bc <__riscv_restore_4>
|
|
451e: 8b81a783 lw a5,-1864(gp) # 20000300 <g_J2RS485_UART7_handle>
|
|
4522: 00a79563 bne a5,a0,452c <uart_dev_write+0x3e>
|
|
4526: f41ff0ef jal ra,4466 <J2RS485_tx_enabla>
|
|
452a: bff9 j 4508 <uart_dev_write+0x1a>
|
|
452c: 8bc1a783 lw a5,-1860(gp) # 20000304 <g_J3RS485_USART2_handle>
|
|
4530: 00a79563 bne a5,a0,453a <uart_dev_write+0x4c>
|
|
4534: f53ff0ef jal ra,4486 <J3RS485_tx_enabla>
|
|
4538: bfc1 j 4508 <uart_dev_write+0x1a>
|
|
453a: 8c01a783 lw a5,-1856(gp) # 20000308 <g_J4RS485_UART8_handle>
|
|
453e: 00a79563 bne a5,a0,4548 <uart_dev_write+0x5a>
|
|
4542: f65ff0ef jal ra,44a6 <J4RS485_tx_enabla>
|
|
4546: b7c9 j 4508 <uart_dev_write+0x1a>
|
|
4548: 8c41a783 lw a5,-1852(gp) # 2000030c <g_J50RS485_USART3_handle>
|
|
454c: faa79ee3 bne a5,a0,4508 <uart_dev_write+0x1a>
|
|
4550: f7bff0ef jal ra,44ca <J50RS485_tx_enabla>
|
|
4554: bf55 j 4508 <uart_dev_write+0x1a>
|
|
4556: 009a07b3 add a5,s4,s1
|
|
455a: 00078583 lb a1,0(a5)
|
|
455e: 8522 mv a0,s0
|
|
4560: 0485 addi s1,s1,1
|
|
4562: d2bff0ef jal ra,428c <uart_putchar>
|
|
4566: b755 j 450a <uart_dev_write+0x1c>
|
|
4568: 8b81a783 lw a5,-1864(gp) # 20000300 <g_J2RS485_UART7_handle>
|
|
456c: 00879563 bne a5,s0,4576 <uart_dev_write+0x88>
|
|
4570: f07ff0ef jal ra,4476 <J2RS485_tx_disenabla>
|
|
4574: b75d j 451a <uart_dev_write+0x2c>
|
|
4576: 8bc1a783 lw a5,-1860(gp) # 20000304 <g_J3RS485_USART2_handle>
|
|
457a: 00879563 bne a5,s0,4584 <uart_dev_write+0x96>
|
|
457e: f19ff0ef jal ra,4496 <J3RS485_tx_disenabla>
|
|
4582: bf61 j 451a <uart_dev_write+0x2c>
|
|
4584: 8c01a783 lw a5,-1856(gp) # 20000308 <g_J4RS485_UART8_handle>
|
|
4588: 00879563 bne a5,s0,4592 <uart_dev_write+0xa4>
|
|
458c: f2dff0ef jal ra,44b8 <J4RS485_tx_disenabla>
|
|
4590: b769 j 451a <uart_dev_write+0x2c>
|
|
4592: 8c41a783 lw a5,-1852(gp) # 2000030c <g_J50RS485_USART3_handle>
|
|
4596: f88792e3 bne a5,s0,451a <uart_dev_write+0x2c>
|
|
459a: f43ff0ef jal ra,44dc <J50RS485_tx_disenabla>
|
|
459e: bfb5 j 451a <uart_dev_write+0x2c>
|
|
|
|
000045a0 <uart_dev_char_present>:
|
|
45a0: 4781 li a5,0
|
|
45a2: c909 beqz a0,45b4 <uart_dev_char_present+0x14>
|
|
45a4: 2118 lbu a4,0(a0)
|
|
45a6: 4781 li a5,0
|
|
45a8: c711 beqz a4,45b4 <uart_dev_char_present+0x14>
|
|
45aa: 495c lw a5,20(a0)
|
|
45ac: 4d08 lw a0,24(a0)
|
|
45ae: 8f89 sub a5,a5,a0
|
|
45b0: 00f037b3 snez a5,a5
|
|
45b4: 853e mv a0,a5
|
|
45b6: 8082 ret
|
|
|
|
000045b8 <uart_dev_in_char>:
|
|
45b8: debfb2ef jal t0,3a2 <__riscv_save_0>
|
|
45bc: 1141 addi sp,sp,-16
|
|
45be: 842a mv s0,a0
|
|
45c0: 000107a3 sb zero,15(sp)
|
|
45c4: fddff0ef jal ra,45a0 <uart_dev_char_present>
|
|
45c8: c519 beqz a0,45d6 <uart_dev_in_char+0x1e>
|
|
45ca: 00f10593 addi a1,sp,15
|
|
45ce: 00c40513 addi a0,s0,12
|
|
45d2: d2dfe0ef jal ra,32fe <OutRingQueue>
|
|
45d6: 00f10503 lb a0,15(sp)
|
|
45da: 0141 addi sp,sp,16
|
|
45dc: debfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
000045e0 <ring_queue_length>:
|
|
45e0: dc3fb2ef jal t0,3a2 <__riscv_save_0>
|
|
45e4: 0531 addi a0,a0,12
|
|
45e6: d3ffe0ef jal ra,3324 <RingQueueLength>
|
|
45ea: dddfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
000045ee <DBGMCU_GetCHIPID>:
|
|
45ee: 1ffff7b7 lui a5,0x1ffff
|
|
45f2: 7047a503 lw a0,1796(a5) # 1ffff704 <__rt_init_end+0x1fff8f84>
|
|
45f6: 8082 ret
|
|
|
|
000045f8 <EXTI_Init>:
|
|
45f8: 4158 lw a4,4(a0)
|
|
45fa: 00052803 lw a6,0(a0)
|
|
45fe: 454c lw a1,12(a0)
|
|
4600: 40010637 lui a2,0x40010
|
|
4604: 40060793 addi a5,a2,1024 # 40010400 <_eusrstack+0x20000400>
|
|
4608: 973e add a4,a4,a5
|
|
460a: fff84693 not a3,a6
|
|
460e: c5b1 beqz a1,465a <EXTI_Init+0x62>
|
|
4610: 40062583 lw a1,1024(a2)
|
|
4614: 8df5 and a1,a1,a3
|
|
4616: 40b62023 sw a1,1024(a2)
|
|
461a: 43d0 lw a2,4(a5)
|
|
461c: 8ef1 and a3,a3,a2
|
|
461e: c3d4 sw a3,4(a5)
|
|
4620: 4314 lw a3,0(a4)
|
|
4622: 0106e6b3 or a3,a3,a6
|
|
4626: c314 sw a3,0(a4)
|
|
4628: 4118 lw a4,0(a0)
|
|
462a: 4790 lw a2,8(a5)
|
|
462c: fff74693 not a3,a4
|
|
4630: 8e75 and a2,a2,a3
|
|
4632: c790 sw a2,8(a5)
|
|
4634: 47d0 lw a2,12(a5)
|
|
4636: 8ef1 and a3,a3,a2
|
|
4638: c7d4 sw a3,12(a5)
|
|
463a: 4514 lw a3,8(a0)
|
|
463c: 4641 li a2,16
|
|
463e: 00c69963 bne a3,a2,4650 <EXTI_Init+0x58>
|
|
4642: 4794 lw a3,8(a5)
|
|
4644: 8ed9 or a3,a3,a4
|
|
4646: c794 sw a3,8(a5)
|
|
4648: 47d4 lw a3,12(a5)
|
|
464a: 8f55 or a4,a4,a3
|
|
464c: c7d8 sw a4,12(a5)
|
|
464e: 8082 ret
|
|
4650: 97b6 add a5,a5,a3
|
|
4652: 4394 lw a3,0(a5)
|
|
4654: 8f55 or a4,a4,a3
|
|
4656: c398 sw a4,0(a5)
|
|
4658: 8082 ret
|
|
465a: 431c lw a5,0(a4)
|
|
465c: 8ff5 and a5,a5,a3
|
|
465e: c31c sw a5,0(a4)
|
|
4660: 8082 ret
|
|
|
|
00004662 <EXTI_GetITStatus>:
|
|
4662: 400107b7 lui a5,0x40010
|
|
4666: 40078713 addi a4,a5,1024 # 40010400 <_eusrstack+0x20000400>
|
|
466a: 4007a783 lw a5,1024(a5)
|
|
466e: 4b58 lw a4,20(a4)
|
|
4670: 8f69 and a4,a4,a0
|
|
4672: c709 beqz a4,467c <EXTI_GetITStatus+0x1a>
|
|
4674: 8d7d and a0,a0,a5
|
|
4676: 00a03533 snez a0,a0
|
|
467a: 8082 ret
|
|
467c: 4501 li a0,0
|
|
467e: 8082 ret
|
|
|
|
00004680 <EXTI_ClearITPendingBit>:
|
|
4680: 400107b7 lui a5,0x40010
|
|
4684: 40a7aa23 sw a0,1044(a5) # 40010414 <_eusrstack+0x20000414>
|
|
4688: 8082 ret
|
|
|
|
0000468a <GPIO_Init>:
|
|
468a: 459c lw a5,8(a1)
|
|
468c: 0107f713 andi a4,a5,16
|
|
4690: 00f7f813 andi a6,a5,15
|
|
4694: c701 beqz a4,469c <GPIO_Init+0x12>
|
|
4696: 41d8 lw a4,4(a1)
|
|
4698: 00e86833 or a6,a6,a4
|
|
469c: 218e lhu a1,0(a1)
|
|
469e: 0ff5f713 andi a4,a1,255
|
|
46a2: c339 beqz a4,46e8 <GPIO_Init+0x5e>
|
|
46a4: 4118 lw a4,0(a0)
|
|
46a6: 4681 li a3,0
|
|
46a8: 4e85 li t4,1
|
|
46aa: 4f3d li t5,15
|
|
46ac: 02800f93 li t6,40
|
|
46b0: 04800293 li t0,72
|
|
46b4: 4e21 li t3,8
|
|
46b6: 00de9633 sll a2,t4,a3
|
|
46ba: 00c5f8b3 and a7,a1,a2
|
|
46be: 03161163 bne a2,a7,46e0 <GPIO_Init+0x56>
|
|
46c2: 00269893 slli a7,a3,0x2
|
|
46c6: 011f1333 sll t1,t5,a7
|
|
46ca: fff34313 not t1,t1
|
|
46ce: 00e37733 and a4,t1,a4
|
|
46d2: 011818b3 sll a7,a6,a7
|
|
46d6: 00e8e733 or a4,a7,a4
|
|
46da: 05f79f63 bne a5,t6,4738 <GPIO_Init+0xae>
|
|
46de: c950 sw a2,20(a0)
|
|
46e0: 0685 addi a3,a3,1
|
|
46e2: fdc69ae3 bne a3,t3,46b6 <GPIO_Init+0x2c>
|
|
46e6: c118 sw a4,0(a0)
|
|
46e8: 0ff00713 li a4,255
|
|
46ec: 04b77563 bgeu a4,a1,4736 <GPIO_Init+0xac>
|
|
46f0: 4154 lw a3,4(a0)
|
|
46f2: 4621 li a2,8
|
|
46f4: 4e85 li t4,1
|
|
46f6: 4f3d li t5,15
|
|
46f8: 02800f93 li t6,40
|
|
46fc: 04800293 li t0,72
|
|
4700: 4e41 li t3,16
|
|
4702: 00ce98b3 sll a7,t4,a2
|
|
4706: 0115f733 and a4,a1,a7
|
|
470a: 02e89263 bne a7,a4,472e <GPIO_Init+0xa4>
|
|
470e: 00261713 slli a4,a2,0x2
|
|
4712: 1701 addi a4,a4,-32
|
|
4714: 00ef1333 sll t1,t5,a4
|
|
4718: fff34313 not t1,t1
|
|
471c: 00d376b3 and a3,t1,a3
|
|
4720: 00e81733 sll a4,a6,a4
|
|
4724: 8ed9 or a3,a3,a4
|
|
4726: 01f79d63 bne a5,t6,4740 <GPIO_Init+0xb6>
|
|
472a: 01152a23 sw a7,20(a0)
|
|
472e: 0605 addi a2,a2,1
|
|
4730: fdc619e3 bne a2,t3,4702 <GPIO_Init+0x78>
|
|
4734: c154 sw a3,4(a0)
|
|
4736: 8082 ret
|
|
4738: fa5794e3 bne a5,t0,46e0 <GPIO_Init+0x56>
|
|
473c: c910 sw a2,16(a0)
|
|
473e: b74d j 46e0 <GPIO_Init+0x56>
|
|
4740: fe5797e3 bne a5,t0,472e <GPIO_Init+0xa4>
|
|
4744: 01152823 sw a7,16(a0)
|
|
4748: b7dd j 472e <GPIO_Init+0xa4>
|
|
|
|
0000474a <GPIO_ReadInputDataBit>:
|
|
474a: 4508 lw a0,8(a0)
|
|
474c: 8d6d and a0,a0,a1
|
|
474e: 00a03533 snez a0,a0
|
|
4752: 8082 ret
|
|
|
|
00004754 <GPIO_WriteBit>:
|
|
4754: c219 beqz a2,475a <GPIO_WriteBit+0x6>
|
|
4756: c90c sw a1,16(a0)
|
|
4758: 8082 ret
|
|
475a: c94c sw a1,20(a0)
|
|
475c: 8082 ret
|
|
|
|
0000475e <GPIO_EXTILineConfig>:
|
|
475e: 0fc5f713 andi a4,a1,252
|
|
4762: 0035f793 andi a5,a1,3
|
|
4766: 400105b7 lui a1,0x40010
|
|
476a: 95ba add a1,a1,a4
|
|
476c: 4594 lw a3,8(a1)
|
|
476e: 078a slli a5,a5,0x2
|
|
4770: 473d li a4,15
|
|
4772: 00f71733 sll a4,a4,a5
|
|
4776: fff74713 not a4,a4
|
|
477a: 8f75 and a4,a4,a3
|
|
477c: c598 sw a4,8(a1)
|
|
477e: 4598 lw a4,8(a1)
|
|
4780: 00f51533 sll a0,a0,a5
|
|
4784: 8d59 or a0,a0,a4
|
|
4786: c588 sw a0,8(a1)
|
|
4788: 8082 ret
|
|
|
|
0000478a <NVIC_Init>:
|
|
478a: 8cc1a703 lw a4,-1844(gp) # 20000314 <NVIC_Priority_Group>
|
|
478e: 4789 li a5,2
|
|
4790: 2110 lbu a2,0(a0)
|
|
4792: 02f71163 bne a4,a5,47b4 <NVIC_Init+0x2a>
|
|
4796: 3114 lbu a3,1(a0)
|
|
4798: 478d li a5,3
|
|
479a: 00d7ed63 bltu a5,a3,47b4 <NVIC_Init+0x2a>
|
|
479e: 213c lbu a5,2(a0)
|
|
47a0: 069a slli a3,a3,0x6
|
|
47a2: e000e737 lui a4,0xe000e
|
|
47a6: 0796 slli a5,a5,0x5
|
|
47a8: 8fd5 or a5,a5,a3
|
|
47aa: 0ff7f793 andi a5,a5,255
|
|
47ae: 9732 add a4,a4,a2
|
|
47b0: 40f70023 sb a5,1024(a4) # e000e400 <_eusrstack+0xbfffe400>
|
|
47b4: 4154 lw a3,4(a0)
|
|
47b6: 4705 li a4,1
|
|
47b8: 00565793 srli a5,a2,0x5
|
|
47bc: 00c71733 sll a4,a4,a2
|
|
47c0: ca89 beqz a3,47d2 <NVIC_Init+0x48>
|
|
47c2: 04078793 addi a5,a5,64
|
|
47c6: 078a slli a5,a5,0x2
|
|
47c8: e000e6b7 lui a3,0xe000e
|
|
47cc: 97b6 add a5,a5,a3
|
|
47ce: c398 sw a4,0(a5)
|
|
47d0: 8082 ret
|
|
47d2: 06078793 addi a5,a5,96
|
|
47d6: bfc5 j 47c6 <NVIC_Init+0x3c>
|
|
|
|
000047d8 <RCC_GetClocksFreq>:
|
|
47d8: 40021737 lui a4,0x40021
|
|
47dc: 435c lw a5,4(a4)
|
|
47de: 4691 li a3,4
|
|
47e0: 8bb1 andi a5,a5,12
|
|
47e2: 00d78563 beq a5,a3,47ec <RCC_GetClocksFreq+0x14>
|
|
47e6: 46a1 li a3,8
|
|
47e8: 06d78263 beq a5,a3,484c <RCC_GetClocksFreq+0x74>
|
|
47ec: 007a17b7 lui a5,0x7a1
|
|
47f0: 20078793 addi a5,a5,512 # 7a1200 <__rt_init_end+0x79aa80>
|
|
47f4: c11c sw a5,0(a0)
|
|
47f6: 40021637 lui a2,0x40021
|
|
47fa: 425c lw a5,4(a2)
|
|
47fc: 20000737 lui a4,0x20000
|
|
4800: 23870713 addi a4,a4,568 # 20000238 <APBAHBPrescTable>
|
|
4804: 8391 srli a5,a5,0x4
|
|
4806: 8bbd andi a5,a5,15
|
|
4808: 97ba add a5,a5,a4
|
|
480a: 2394 lbu a3,0(a5)
|
|
480c: 411c lw a5,0(a0)
|
|
480e: 00d7d7b3 srl a5,a5,a3
|
|
4812: c15c sw a5,4(a0)
|
|
4814: 4254 lw a3,4(a2)
|
|
4816: 82a1 srli a3,a3,0x8
|
|
4818: 8a9d andi a3,a3,7
|
|
481a: 96ba add a3,a3,a4
|
|
481c: 2294 lbu a3,0(a3)
|
|
481e: 00d7d6b3 srl a3,a5,a3
|
|
4822: c514 sw a3,8(a0)
|
|
4824: 4254 lw a3,4(a2)
|
|
4826: 82ad srli a3,a3,0xb
|
|
4828: 8a9d andi a3,a3,7
|
|
482a: 9736 add a4,a4,a3
|
|
482c: 2318 lbu a4,0(a4)
|
|
482e: 00e7d7b3 srl a5,a5,a4
|
|
4832: c55c sw a5,12(a0)
|
|
4834: 4258 lw a4,4(a2)
|
|
4836: 8339 srli a4,a4,0xe
|
|
4838: 00377693 andi a3,a4,3
|
|
483c: 80418713 addi a4,gp,-2044 # 2000024c <ADCPrescTable>
|
|
4840: 9736 add a4,a4,a3
|
|
4842: 2318 lbu a4,0(a4)
|
|
4844: 02e7d7b3 divu a5,a5,a4
|
|
4848: c91c sw a5,16(a0)
|
|
484a: 8082 ret
|
|
484c: 435c lw a5,4(a4)
|
|
484e: 4358 lw a4,4(a4)
|
|
4850: 66c1 lui a3,0x10
|
|
4852: 83c9 srli a5,a5,0x12
|
|
4854: 8f75 and a4,a4,a3
|
|
4856: 1ffff6b7 lui a3,0x1ffff
|
|
485a: 70c6a683 lw a3,1804(a3) # 1ffff70c <__rt_init_end+0x1fff8f8c>
|
|
485e: 8bbd andi a5,a5,15
|
|
4860: 0789 addi a5,a5,2
|
|
4862: 01169613 slli a2,a3,0x11
|
|
4866: 00064863 bltz a2,4876 <RCC_GetClocksFreq+0x9e>
|
|
486a: 46c5 li a3,17
|
|
486c: 4601 li a2,0
|
|
486e: 02d79263 bne a5,a3,4892 <RCC_GetClocksFreq+0xba>
|
|
4872: 47c9 li a5,18
|
|
4874: a839 j 4892 <RCC_GetClocksFreq+0xba>
|
|
4876: 4689 li a3,2
|
|
4878: 02d78f63 beq a5,a3,48b6 <RCC_GetClocksFreq+0xde>
|
|
487c: 46bd li a3,15
|
|
487e: 02d78e63 beq a5,a3,48ba <RCC_GetClocksFreq+0xe2>
|
|
4882: 46c1 li a3,16
|
|
4884: 02d78e63 beq a5,a3,48c0 <RCC_GetClocksFreq+0xe8>
|
|
4888: 46c5 li a3,17
|
|
488a: 4601 li a2,0
|
|
488c: 00d79363 bne a5,a3,4892 <RCC_GetClocksFreq+0xba>
|
|
4890: 47c1 li a5,16
|
|
4892: ef1d bnez a4,48d0 <RCC_GetClocksFreq+0xf8>
|
|
4894: 40024737 lui a4,0x40024
|
|
4898: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x20013800>
|
|
489c: 8b41 andi a4,a4,16
|
|
489e: c705 beqz a4,48c6 <RCC_GetClocksFreq+0xee>
|
|
48a0: 007a1737 lui a4,0x7a1
|
|
48a4: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79aa80>
|
|
48a8: 02f707b3 mul a5,a4,a5
|
|
48ac: c11c sw a5,0(a0)
|
|
48ae: d621 beqz a2,47f6 <RCC_GetClocksFreq+0x1e>
|
|
48b0: 411c lw a5,0(a0)
|
|
48b2: 8385 srli a5,a5,0x1
|
|
48b4: b781 j 47f4 <RCC_GetClocksFreq+0x1c>
|
|
48b6: 4601 li a2,0
|
|
48b8: bf6d j 4872 <RCC_GetClocksFreq+0x9a>
|
|
48ba: 4605 li a2,1
|
|
48bc: 47b5 li a5,13
|
|
48be: bfd1 j 4892 <RCC_GetClocksFreq+0xba>
|
|
48c0: 4601 li a2,0
|
|
48c2: 47bd li a5,15
|
|
48c4: b7f9 j 4892 <RCC_GetClocksFreq+0xba>
|
|
48c6: 003d1737 lui a4,0x3d1
|
|
48ca: 90070713 addi a4,a4,-1792 # 3d0900 <__rt_init_end+0x3ca180>
|
|
48ce: bfe9 j 48a8 <RCC_GetClocksFreq+0xd0>
|
|
48d0: 400215b7 lui a1,0x40021
|
|
48d4: 55d8 lw a4,44(a1)
|
|
48d6: 00f71693 slli a3,a4,0xf
|
|
48da: 55d8 lw a4,44(a1)
|
|
48dc: 0406df63 bgez a3,493a <RCC_GetClocksFreq+0x162>
|
|
48e0: 8311 srli a4,a4,0x4
|
|
48e2: 8b3d andi a4,a4,15
|
|
48e4: 00170693 addi a3,a4,1
|
|
48e8: 007a1737 lui a4,0x7a1
|
|
48ec: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79aa80>
|
|
48f0: 02d75733 divu a4,a4,a3
|
|
48f4: c118 sw a4,0(a0)
|
|
48f6: 55d4 lw a3,44(a1)
|
|
48f8: 82a1 srli a3,a3,0x8
|
|
48fa: 8abd andi a3,a3,15
|
|
48fc: e28d bnez a3,491e <RCC_GetClocksFreq+0x146>
|
|
48fe: 4695 li a3,5
|
|
4900: 02d70733 mul a4,a4,a3
|
|
4904: 8305 srli a4,a4,0x1
|
|
4906: c118 sw a4,0(a0)
|
|
4908: 40021737 lui a4,0x40021
|
|
490c: 5758 lw a4,44(a4)
|
|
490e: 4114 lw a3,0(a0)
|
|
4910: 8b3d andi a4,a4,15
|
|
4912: 0705 addi a4,a4,1
|
|
4914: 02e6d733 divu a4,a3,a4
|
|
4918: c118 sw a4,0(a0)
|
|
491a: 4118 lw a4,0(a0)
|
|
491c: b771 j 48a8 <RCC_GetClocksFreq+0xd0>
|
|
491e: 4585 li a1,1
|
|
4920: 00b69463 bne a3,a1,4928 <RCC_GetClocksFreq+0x150>
|
|
4924: 46e5 li a3,25
|
|
4926: bfe9 j 4900 <RCC_GetClocksFreq+0x128>
|
|
4928: 45bd li a1,15
|
|
492a: 00b69663 bne a3,a1,4936 <RCC_GetClocksFreq+0x15e>
|
|
492e: 46d1 li a3,20
|
|
4930: 02e68733 mul a4,a3,a4
|
|
4934: bfc9 j 4906 <RCC_GetClocksFreq+0x12e>
|
|
4936: 0689 addi a3,a3,2
|
|
4938: bfe5 j 4930 <RCC_GetClocksFreq+0x158>
|
|
493a: 8b3d andi a4,a4,15
|
|
493c: 00170693 addi a3,a4,1 # 40021001 <_eusrstack+0x20011001>
|
|
4940: 007a1737 lui a4,0x7a1
|
|
4944: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79aa80>
|
|
4948: 02d75733 divu a4,a4,a3
|
|
494c: b7f1 j 4918 <RCC_GetClocksFreq+0x140>
|
|
|
|
0000494e <RCC_APB2PeriphClockCmd>:
|
|
494e: c599 beqz a1,495c <RCC_APB2PeriphClockCmd+0xe>
|
|
4950: 40021737 lui a4,0x40021
|
|
4954: 4f1c lw a5,24(a4)
|
|
4956: 8d5d or a0,a0,a5
|
|
4958: cf08 sw a0,24(a4)
|
|
495a: 8082 ret
|
|
495c: 400217b7 lui a5,0x40021
|
|
4960: 4f98 lw a4,24(a5)
|
|
4962: fff54513 not a0,a0
|
|
4966: 8d79 and a0,a0,a4
|
|
4968: cf88 sw a0,24(a5)
|
|
496a: 8082 ret
|
|
|
|
0000496c <RCC_APB1PeriphClockCmd>:
|
|
496c: c599 beqz a1,497a <RCC_APB1PeriphClockCmd+0xe>
|
|
496e: 40021737 lui a4,0x40021
|
|
4972: 4f5c lw a5,28(a4)
|
|
4974: 8d5d or a0,a0,a5
|
|
4976: cf48 sw a0,28(a4)
|
|
4978: 8082 ret
|
|
497a: 400217b7 lui a5,0x40021
|
|
497e: 4fd8 lw a4,28(a5)
|
|
4980: fff54513 not a0,a0
|
|
4984: 8d79 and a0,a0,a4
|
|
4986: cfc8 sw a0,28(a5)
|
|
4988: 8082 ret
|
|
|
|
0000498a <USART_Init>:
|
|
498a: a19fb2ef jal t0,3a2 <__riscv_save_0>
|
|
498e: 2916 lhu a3,16(a0)
|
|
4990: 77f5 lui a5,0xffffd
|
|
4992: 17fd addi a5,a5,-1
|
|
4994: 8ff5 and a5,a5,a3
|
|
4996: 21f6 lhu a3,6(a1)
|
|
4998: 25da lhu a4,12(a1)
|
|
499a: 7179 addi sp,sp,-48
|
|
499c: 8fd5 or a5,a5,a3
|
|
499e: a91e sh a5,16(a0)
|
|
49a0: 2556 lhu a3,12(a0)
|
|
49a2: 77fd lui a5,0xfffff
|
|
49a4: 9f378793 addi a5,a5,-1549 # ffffe9f3 <_eusrstack+0xdffee9f3>
|
|
49a8: 8ff5 and a5,a5,a3
|
|
49aa: 21d6 lhu a3,4(a1)
|
|
49ac: 842a mv s0,a0
|
|
49ae: c62e sw a1,12(sp)
|
|
49b0: 8fd5 or a5,a5,a3
|
|
49b2: 2596 lhu a3,8(a1)
|
|
49b4: 8fd5 or a5,a5,a3
|
|
49b6: 25b6 lhu a3,10(a1)
|
|
49b8: 8fd5 or a5,a5,a3
|
|
49ba: a55e sh a5,12(a0)
|
|
49bc: 295e lhu a5,20(a0)
|
|
49be: 07c2 slli a5,a5,0x10
|
|
49c0: 83c1 srli a5,a5,0x10
|
|
49c2: cff7f793 andi a5,a5,-769
|
|
49c6: 8fd9 or a5,a5,a4
|
|
49c8: a95e sh a5,20(a0)
|
|
49ca: 0868 addi a0,sp,28
|
|
49cc: e0dff0ef jal ra,47d8 <RCC_GetClocksFreq>
|
|
49d0: 400147b7 lui a5,0x40014
|
|
49d4: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
|
|
49d8: 45b2 lw a1,12(sp)
|
|
49da: 02f41e63 bne s0,a5,4a16 <USART_Init+0x8c>
|
|
49de: 57a2 lw a5,40(sp)
|
|
49e0: 4765 li a4,25
|
|
49e2: 02e787b3 mul a5,a5,a4
|
|
49e6: 4198 lw a4,0(a1)
|
|
49e8: 06400693 li a3,100
|
|
49ec: 070a slli a4,a4,0x2
|
|
49ee: 02e7d7b3 divu a5,a5,a4
|
|
49f2: 02d7d733 divu a4,a5,a3
|
|
49f6: 02d7f7b3 remu a5,a5,a3
|
|
49fa: 0712 slli a4,a4,0x4
|
|
49fc: 0792 slli a5,a5,0x4
|
|
49fe: 03278793 addi a5,a5,50
|
|
4a02: 02d7d7b3 divu a5,a5,a3
|
|
4a06: 8bbd andi a5,a5,15
|
|
4a08: 8fd9 or a5,a5,a4
|
|
4a0a: 07c2 slli a5,a5,0x10
|
|
4a0c: 83c1 srli a5,a5,0x10
|
|
4a0e: a41e sh a5,8(s0)
|
|
4a10: 6145 addi sp,sp,48
|
|
4a12: 9b5fb06f j 3c6 <__riscv_restore_0>
|
|
4a16: 5792 lw a5,36(sp)
|
|
4a18: b7e1 j 49e0 <USART_Init+0x56>
|
|
|
|
00004a1a <USART_Cmd>:
|
|
4a1a: c591 beqz a1,4a26 <USART_Cmd+0xc>
|
|
4a1c: 255e lhu a5,12(a0)
|
|
4a1e: 6709 lui a4,0x2
|
|
4a20: 8fd9 or a5,a5,a4
|
|
4a22: a55e sh a5,12(a0)
|
|
4a24: 8082 ret
|
|
4a26: 255a lhu a4,12(a0)
|
|
4a28: 77f9 lui a5,0xffffe
|
|
4a2a: 17fd addi a5,a5,-1
|
|
4a2c: 8ff9 and a5,a5,a4
|
|
4a2e: bfd5 j 4a22 <USART_Cmd+0x8>
|
|
|
|
00004a30 <USART_ITConfig>:
|
|
4a30: 0ff5f713 andi a4,a1,255
|
|
4a34: 4785 li a5,1
|
|
4a36: 8315 srli a4,a4,0x5
|
|
4a38: 00b795b3 sll a1,a5,a1
|
|
4a3c: 00f71963 bne a4,a5,4a4e <USART_ITConfig+0x1e>
|
|
4a40: 00c50793 addi a5,a0,12
|
|
4a44: 4398 lw a4,0(a5)
|
|
4a46: ce01 beqz a2,4a5e <USART_ITConfig+0x2e>
|
|
4a48: 8dd9 or a1,a1,a4
|
|
4a4a: c38c sw a1,0(a5)
|
|
4a4c: 8082 ret
|
|
4a4e: 4689 li a3,2
|
|
4a50: 01450793 addi a5,a0,20
|
|
4a54: fed718e3 bne a4,a3,4a44 <USART_ITConfig+0x14>
|
|
4a58: 01050793 addi a5,a0,16
|
|
4a5c: b7e5 j 4a44 <USART_ITConfig+0x14>
|
|
4a5e: fff5c593 not a1,a1
|
|
4a62: 8df9 and a1,a1,a4
|
|
4a64: b7dd j 4a4a <USART_ITConfig+0x1a>
|
|
|
|
00004a66 <USART_SendData>:
|
|
4a66: 1ff5f593 andi a1,a1,511
|
|
4a6a: a14e sh a1,4(a0)
|
|
4a6c: 8082 ret
|
|
|
|
00004a6e <USART_ReceiveData>:
|
|
4a6e: 214a lhu a0,4(a0)
|
|
4a70: 1ff57513 andi a0,a0,511
|
|
4a74: 8082 ret
|
|
|
|
00004a76 <USART_GetFlagStatus>:
|
|
4a76: 210a lhu a0,0(a0)
|
|
4a78: 8d6d and a0,a0,a1
|
|
4a7a: 00a03533 snez a0,a0
|
|
4a7e: 8082 ret
|
|
|
|
00004a80 <USART_GetITStatus>:
|
|
4a80: 0ff5f713 andi a4,a1,255
|
|
4a84: 4685 li a3,1
|
|
4a86: 8315 srli a4,a4,0x5
|
|
4a88: 00b697b3 sll a5,a3,a1
|
|
4a8c: 02d71163 bne a4,a3,4aae <USART_GetITStatus+0x2e>
|
|
4a90: 255a lhu a4,12(a0)
|
|
4a92: 8ff9 and a5,a5,a4
|
|
4a94: 211a lhu a4,0(a0)
|
|
4a96: 4501 li a0,0
|
|
4a98: 0742 slli a4,a4,0x10
|
|
4a9a: 8341 srli a4,a4,0x10
|
|
4a9c: cb81 beqz a5,4aac <USART_GetITStatus+0x2c>
|
|
4a9e: 4505 li a0,1
|
|
4aa0: 81a1 srli a1,a1,0x8
|
|
4aa2: 00b515b3 sll a1,a0,a1
|
|
4aa6: 8f6d and a4,a4,a1
|
|
4aa8: 00e03533 snez a0,a4
|
|
4aac: 8082 ret
|
|
4aae: 4689 li a3,2
|
|
4ab0: 00d71463 bne a4,a3,4ab8 <USART_GetITStatus+0x38>
|
|
4ab4: 291a lhu a4,16(a0)
|
|
4ab6: bff1 j 4a92 <USART_GetITStatus+0x12>
|
|
4ab8: 295a lhu a4,20(a0)
|
|
4aba: bfe1 j 4a92 <USART_GetITStatus+0x12>
|
|
|
|
00004abc <USART_ClearITPendingBit>:
|
|
4abc: 81a1 srli a1,a1,0x8
|
|
4abe: 4785 li a5,1
|
|
4ac0: 00b797b3 sll a5,a5,a1
|
|
4ac4: fff7c793 not a5,a5
|
|
4ac8: 07c2 slli a5,a5,0x10
|
|
4aca: 83c1 srli a5,a5,0x10
|
|
4acc: a11e sh a5,0(a0)
|
|
4ace: 8082 ret
|
|
|
|
00004ad0 <android_PowerCtrl_Init>:
|
|
4ad0: 8d3fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4ad4: 4581 li a1,0
|
|
4ad6: 4509 li a0,2
|
|
4ad8: e46fe0ef jal ra,311e <rt_pin_mode>
|
|
4adc: 8ebfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004ae0 <android_PowerCtrl_Open>:
|
|
4ae0: 8c3fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4ae4: 4585 li a1,1
|
|
4ae6: 4509 li a0,2
|
|
4ae8: e50fe0ef jal ra,3138 <rt_pin_write>
|
|
4aec: 8dbfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004af0 <J1_PWR_Open>:
|
|
4af0: 8b3fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4af4: 4585 li a1,1
|
|
4af6: 02600513 li a0,38
|
|
4afa: e3efe0ef jal ra,3138 <rt_pin_write>
|
|
4afe: 8c9fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004b02 <J1_485_Init>:
|
|
4b02: 8a1fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4b06: 4581 li a1,0
|
|
4b08: 4511 li a0,4
|
|
4b0a: e14fe0ef jal ra,311e <rt_pin_mode>
|
|
4b0e: 4581 li a1,0
|
|
4b10: 4511 li a0,4
|
|
4b12: e26fe0ef jal ra,3138 <rt_pin_write>
|
|
4b16: 4581 li a1,0
|
|
4b18: 02600513 li a0,38
|
|
4b1c: e02fe0ef jal ra,311e <rt_pin_mode>
|
|
4b20: fd1ff0ef jal ra,4af0 <J1_PWR_Open>
|
|
4b24: 8a3fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004b28 <J2_PWR_Open>:
|
|
4b28: 87bfb2ef jal t0,3a2 <__riscv_save_0>
|
|
4b2c: 4585 li a1,1
|
|
4b2e: 02700513 li a0,39
|
|
4b32: e06fe0ef jal ra,3138 <rt_pin_write>
|
|
4b36: 891fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004b3a <J2_485_Init>:
|
|
4b3a: 869fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4b3e: 4581 li a1,0
|
|
4b40: 4515 li a0,5
|
|
4b42: ddcfe0ef jal ra,311e <rt_pin_mode>
|
|
4b46: 4581 li a1,0
|
|
4b48: 4515 li a0,5
|
|
4b4a: deefe0ef jal ra,3138 <rt_pin_write>
|
|
4b4e: 4581 li a1,0
|
|
4b50: 02700513 li a0,39
|
|
4b54: dcafe0ef jal ra,311e <rt_pin_mode>
|
|
4b58: fd1ff0ef jal ra,4b28 <J2_PWR_Open>
|
|
4b5c: 86bfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004b60 <J3_PWR_Open>:
|
|
4b60: 843fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4b64: 4585 li a1,1
|
|
4b66: 02800513 li a0,40
|
|
4b6a: dcefe0ef jal ra,3138 <rt_pin_write>
|
|
4b6e: 859fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004b72 <J3_485_Init>:
|
|
4b72: 831fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4b76: 4581 li a1,0
|
|
4b78: 4561 li a0,24
|
|
4b7a: da4fe0ef jal ra,311e <rt_pin_mode>
|
|
4b7e: 4581 li a1,0
|
|
4b80: 4561 li a0,24
|
|
4b82: db6fe0ef jal ra,3138 <rt_pin_write>
|
|
4b86: 4581 li a1,0
|
|
4b88: 02800513 li a0,40
|
|
4b8c: d92fe0ef jal ra,311e <rt_pin_mode>
|
|
4b90: fd1ff0ef jal ra,4b60 <J3_PWR_Open>
|
|
4b94: 833fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004b98 <J4_PWR_Open>:
|
|
4b98: 80bfb2ef jal t0,3a2 <__riscv_save_0>
|
|
4b9c: 4585 li a1,1
|
|
4b9e: 02900513 li a0,41
|
|
4ba2: d96fe0ef jal ra,3138 <rt_pin_write>
|
|
4ba6: 821fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004baa <J4_485_Init>:
|
|
4baa: ff8fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4bae: 4581 li a1,0
|
|
4bb0: 02300513 li a0,35
|
|
4bb4: d6afe0ef jal ra,311e <rt_pin_mode>
|
|
4bb8: 4581 li a1,0
|
|
4bba: 02300513 li a0,35
|
|
4bbe: d7afe0ef jal ra,3138 <rt_pin_write>
|
|
4bc2: 4581 li a1,0
|
|
4bc4: 02900513 li a0,41
|
|
4bc8: d56fe0ef jal ra,311e <rt_pin_mode>
|
|
4bcc: fcdff0ef jal ra,4b98 <J4_PWR_Open>
|
|
4bd0: ff6fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004bd4 <USART3_IRQHandler>:
|
|
4bd4: 1141 addi sp,sp,-16
|
|
4bd6: c622 sw s0,12(sp)
|
|
4bd8: 40005437 lui s0,0x40005
|
|
4bdc: 52500593 li a1,1317
|
|
4be0: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1fff4800>
|
|
4be4: e9dff0ef jal ra,4a80 <USART_GetITStatus>
|
|
4be8: c515 beqz a0,4c14 <USART3_IRQHandler+0x40>
|
|
4bea: 80040513 addi a0,s0,-2048
|
|
4bee: e81ff0ef jal ra,4a6e <USART_ReceiveData>
|
|
4bf2: 0ff57593 andi a1,a0,255
|
|
4bf6: 8cb18823 sb a1,-1840(gp) # 20000318 <USART3_Rbuffer>
|
|
4bfa: 8c41a503 lw a0,-1852(gp) # 2000030c <g_J50RS485_USART3_handle>
|
|
4bfe: 4d1c lw a5,24(a0)
|
|
4c00: 4910 lw a2,16(a0)
|
|
4c02: 4954 lw a3,20(a0)
|
|
4c04: 0785 addi a5,a5,1
|
|
4c06: 02c7e7b3 rem a5,a5,a2
|
|
4c0a: 00d78563 beq a5,a3,4c14 <USART3_IRQHandler+0x40>
|
|
4c0e: 0531 addi a0,a0,12
|
|
4c10: ec2fe0ef jal ra,32d2 <InRingQueue>
|
|
4c14: 4432 lw s0,12(sp)
|
|
4c16: 0141 addi sp,sp,16
|
|
4c18: 30200073 mret
|
|
|
|
00004c1c <J5_PWR_Open>:
|
|
4c1c: f86fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4c20: 4585 li a1,1
|
|
4c22: 02a00513 li a0,42
|
|
4c26: d12fe0ef jal ra,3138 <rt_pin_write>
|
|
4c2a: f9cfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004c2e <J5_PWR_Close>:
|
|
4c2e: f74fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4c32: 4581 li a1,0
|
|
4c34: 02a00513 li a0,42
|
|
4c38: d00fe0ef jal ra,3138 <rt_pin_write>
|
|
4c3c: f8afb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004c40 <J6_PWR_Open>:
|
|
4c40: f62fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4c44: 4585 li a1,1
|
|
4c46: 02b00513 li a0,43
|
|
4c4a: ceefe0ef jal ra,3138 <rt_pin_write>
|
|
4c4e: f78fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004c52 <J6_PWR_Close>:
|
|
4c52: f50fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4c56: 4581 li a1,0
|
|
4c58: 02b00513 li a0,43
|
|
4c5c: cdcfe0ef jal ra,3138 <rt_pin_write>
|
|
4c60: f66fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004c64 <J7_PWR_Open>:
|
|
4c64: f3efb2ef jal t0,3a2 <__riscv_save_0>
|
|
4c68: 4585 li a1,1
|
|
4c6a: 02c00513 li a0,44
|
|
4c6e: ccafe0ef jal ra,3138 <rt_pin_write>
|
|
4c72: f54fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004c76 <J7_PWR_Close>:
|
|
4c76: f2cfb2ef jal t0,3a2 <__riscv_save_0>
|
|
4c7a: 4581 li a1,0
|
|
4c7c: 02c00513 li a0,44
|
|
4c80: cb8fe0ef jal ra,3138 <rt_pin_write>
|
|
4c84: f42fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004c88 <J8_PWR_Open>:
|
|
4c88: f1afb2ef jal t0,3a2 <__riscv_save_0>
|
|
4c8c: 4585 li a1,1
|
|
4c8e: 02d00513 li a0,45
|
|
4c92: ca6fe0ef jal ra,3138 <rt_pin_write>
|
|
4c96: f30fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004c9a <J8_PWR_Close>:
|
|
4c9a: f08fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4c9e: 4581 li a1,0
|
|
4ca0: 02d00513 li a0,45
|
|
4ca4: c94fe0ef jal ra,3138 <rt_pin_write>
|
|
4ca8: f1efb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004cac <J9_PWR_Open>:
|
|
4cac: ef6fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4cb0: 4585 li a1,1
|
|
4cb2: 02e00513 li a0,46
|
|
4cb6: c82fe0ef jal ra,3138 <rt_pin_write>
|
|
4cba: f0cfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004cbe <USART_CONNET_J9>:
|
|
4cbe: ee4fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4cc2: f6dff0ef jal ra,4c2e <J5_PWR_Close>
|
|
4cc6: f8dff0ef jal ra,4c52 <J6_PWR_Close>
|
|
4cca: fadff0ef jal ra,4c76 <J7_PWR_Close>
|
|
4cce: fcdff0ef jal ra,4c9a <J8_PWR_Close>
|
|
4cd2: fdbff0ef jal ra,4cac <J9_PWR_Open>
|
|
4cd6: 4585 li a1,1
|
|
4cd8: 03800513 li a0,56
|
|
4cdc: c5cfe0ef jal ra,3138 <rt_pin_write>
|
|
4ce0: 4581 li a1,0
|
|
4ce2: 03900513 li a0,57
|
|
4ce6: c52fe0ef jal ra,3138 <rt_pin_write>
|
|
4cea: 4585 li a1,1
|
|
4cec: 03a00513 li a0,58
|
|
4cf0: c48fe0ef jal ra,3138 <rt_pin_write>
|
|
4cf4: ed2fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004cf8 <J9_PWR_Close>:
|
|
4cf8: eaafb2ef jal t0,3a2 <__riscv_save_0>
|
|
4cfc: 4581 li a1,0
|
|
4cfe: 02e00513 li a0,46
|
|
4d02: c36fe0ef jal ra,3138 <rt_pin_write>
|
|
4d06: ec0fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004d0a <USART_CONNET_J0>:
|
|
4d0a: e98fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4d0e: f21ff0ef jal ra,4c2e <J5_PWR_Close>
|
|
4d12: f41ff0ef jal ra,4c52 <J6_PWR_Close>
|
|
4d16: f61ff0ef jal ra,4c76 <J7_PWR_Close>
|
|
4d1a: f81ff0ef jal ra,4c9a <J8_PWR_Close>
|
|
4d1e: fdbff0ef jal ra,4cf8 <J9_PWR_Close>
|
|
4d22: 4581 li a1,0
|
|
4d24: 03800513 li a0,56
|
|
4d28: c10fe0ef jal ra,3138 <rt_pin_write>
|
|
4d2c: 4581 li a1,0
|
|
4d2e: 03900513 li a0,57
|
|
4d32: c06fe0ef jal ra,3138 <rt_pin_write>
|
|
4d36: 4581 li a1,0
|
|
4d38: 03a00513 li a0,58
|
|
4d3c: bfcfe0ef jal ra,3138 <rt_pin_write>
|
|
4d40: e86fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004d44 <J5_0_485_Init>:
|
|
4d44: e5efb2ef jal t0,3a2 <__riscv_save_0>
|
|
4d48: 7179 addi sp,sp,-48
|
|
4d4a: 84aa mv s1,a0
|
|
4d4c: 4581 li a1,0
|
|
4d4e: 02a00513 li a0,42
|
|
4d52: bccfe0ef jal ra,311e <rt_pin_mode>
|
|
4d56: 4581 li a1,0
|
|
4d58: 02b00513 li a0,43
|
|
4d5c: bc2fe0ef jal ra,311e <rt_pin_mode>
|
|
4d60: 4581 li a1,0
|
|
4d62: 02c00513 li a0,44
|
|
4d66: bb8fe0ef jal ra,311e <rt_pin_mode>
|
|
4d6a: 4581 li a1,0
|
|
4d6c: 02d00513 li a0,45
|
|
4d70: baefe0ef jal ra,311e <rt_pin_mode>
|
|
4d74: 4581 li a1,0
|
|
4d76: 02e00513 li a0,46
|
|
4d7a: ba4fe0ef jal ra,311e <rt_pin_mode>
|
|
4d7e: 4581 li a1,0
|
|
4d80: 03700513 li a0,55
|
|
4d84: b9afe0ef jal ra,311e <rt_pin_mode>
|
|
4d88: 4581 li a1,0
|
|
4d8a: 03700513 li a0,55
|
|
4d8e: baafe0ef jal ra,3138 <rt_pin_write>
|
|
4d92: 4581 li a1,0
|
|
4d94: 03800513 li a0,56
|
|
4d98: b86fe0ef jal ra,311e <rt_pin_mode>
|
|
4d9c: 4581 li a1,0
|
|
4d9e: 03900513 li a0,57
|
|
4da2: b7cfe0ef jal ra,311e <rt_pin_mode>
|
|
4da6: 4581 li a1,0
|
|
4da8: 03a00513 li a0,58
|
|
4dac: b72fe0ef jal ra,311e <rt_pin_mode>
|
|
4db0: f5bff0ef jal ra,4d0a <USART_CONNET_J0>
|
|
4db4: 4585 li a1,1
|
|
4db6: 4521 li a0,8
|
|
4db8: b97ff0ef jal ra,494e <RCC_APB2PeriphClockCmd>
|
|
4dbc: 4585 li a1,1
|
|
4dbe: 00040537 lui a0,0x40
|
|
4dc2: babff0ef jal ra,496c <RCC_APB1PeriphClockCmd>
|
|
4dc6: 40000793 li a5,1024
|
|
4dca: 82fc sh a5,20(sp)
|
|
4dcc: 40011437 lui s0,0x40011
|
|
4dd0: 478d li a5,3
|
|
4dd2: cc3e sw a5,24(sp)
|
|
4dd4: 084c addi a1,sp,20
|
|
4dd6: 47e1 li a5,24
|
|
4dd8: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x20000c00>
|
|
4ddc: ce3e sw a5,28(sp)
|
|
4dde: 8adff0ef jal ra,468a <GPIO_Init>
|
|
4de2: 6785 lui a5,0x1
|
|
4de4: 80078793 addi a5,a5,-2048 # 800 <rt_ipc_list_suspend+0x1c>
|
|
4de8: 82fc sh a5,20(sp)
|
|
4dea: 084c addi a1,sp,20
|
|
4dec: 4791 li a5,4
|
|
4dee: c0040513 addi a0,s0,-1024
|
|
4df2: ce3e sw a5,28(sp)
|
|
4df4: 40005437 lui s0,0x40005
|
|
4df8: 893ff0ef jal ra,468a <GPIO_Init>
|
|
4dfc: 100c addi a1,sp,32
|
|
4dfe: 000c07b7 lui a5,0xc0
|
|
4e02: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1fff4800>
|
|
4e06: d026 sw s1,32(sp)
|
|
4e08: d43e sw a5,40(sp)
|
|
4e0a: d202 sw zero,36(sp)
|
|
4e0c: 02011623 sh zero,44(sp)
|
|
4e10: b7bff0ef jal ra,498a <USART_Init>
|
|
4e14: 13700793 li a5,311
|
|
4e18: 867c sh a5,12(sp)
|
|
4e1a: 4785 li a5,1
|
|
4e1c: 875c sb a5,14(sp)
|
|
4e1e: 0068 addi a0,sp,12
|
|
4e20: 4785 li a5,1
|
|
4e22: c83e sw a5,16(sp)
|
|
4e24: 967ff0ef jal ra,478a <NVIC_Init>
|
|
4e28: 4605 li a2,1
|
|
4e2a: 80040513 addi a0,s0,-2048
|
|
4e2e: 52500593 li a1,1317
|
|
4e32: bffff0ef jal ra,4a30 <USART_ITConfig>
|
|
4e36: 4585 li a1,1
|
|
4e38: 80040513 addi a0,s0,-2048
|
|
4e3c: bdfff0ef jal ra,4a1a <USART_Cmd>
|
|
4e40: 6145 addi sp,sp,48
|
|
4e42: d84fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004e46 <USART_CONNET_J5>:
|
|
4e46: d5cfb2ef jal t0,3a2 <__riscv_save_0>
|
|
4e4a: dd3ff0ef jal ra,4c1c <J5_PWR_Open>
|
|
4e4e: e05ff0ef jal ra,4c52 <J6_PWR_Close>
|
|
4e52: e25ff0ef jal ra,4c76 <J7_PWR_Close>
|
|
4e56: e45ff0ef jal ra,4c9a <J8_PWR_Close>
|
|
4e5a: e9fff0ef jal ra,4cf8 <J9_PWR_Close>
|
|
4e5e: 4581 li a1,0
|
|
4e60: 03800513 li a0,56
|
|
4e64: ad4fe0ef jal ra,3138 <rt_pin_write>
|
|
4e68: 4581 li a1,0
|
|
4e6a: 03900513 li a0,57
|
|
4e6e: acafe0ef jal ra,3138 <rt_pin_write>
|
|
4e72: 4581 li a1,0
|
|
4e74: 03a00513 li a0,58
|
|
4e78: ac0fe0ef jal ra,3138 <rt_pin_write>
|
|
4e7c: d4afb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004e80 <USART_CONNET_J6>:
|
|
4e80: d22fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4e84: dabff0ef jal ra,4c2e <J5_PWR_Close>
|
|
4e88: db9ff0ef jal ra,4c40 <J6_PWR_Open>
|
|
4e8c: debff0ef jal ra,4c76 <J7_PWR_Close>
|
|
4e90: e0bff0ef jal ra,4c9a <J8_PWR_Close>
|
|
4e94: e65ff0ef jal ra,4cf8 <J9_PWR_Close>
|
|
4e98: 4585 li a1,1
|
|
4e9a: 03800513 li a0,56
|
|
4e9e: a9afe0ef jal ra,3138 <rt_pin_write>
|
|
4ea2: 4581 li a1,0
|
|
4ea4: 03900513 li a0,57
|
|
4ea8: a90fe0ef jal ra,3138 <rt_pin_write>
|
|
4eac: 4581 li a1,0
|
|
4eae: 03a00513 li a0,58
|
|
4eb2: a86fe0ef jal ra,3138 <rt_pin_write>
|
|
4eb6: d10fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004eba <USART_CONNET_J7>:
|
|
4eba: ce8fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4ebe: d71ff0ef jal ra,4c2e <J5_PWR_Close>
|
|
4ec2: d91ff0ef jal ra,4c52 <J6_PWR_Close>
|
|
4ec6: d9fff0ef jal ra,4c64 <J7_PWR_Open>
|
|
4eca: dd1ff0ef jal ra,4c9a <J8_PWR_Close>
|
|
4ece: e2bff0ef jal ra,4cf8 <J9_PWR_Close>
|
|
4ed2: 4585 li a1,1
|
|
4ed4: 03800513 li a0,56
|
|
4ed8: a60fe0ef jal ra,3138 <rt_pin_write>
|
|
4edc: 4585 li a1,1
|
|
4ede: 03900513 li a0,57
|
|
4ee2: a56fe0ef jal ra,3138 <rt_pin_write>
|
|
4ee6: 4581 li a1,0
|
|
4ee8: 03a00513 li a0,58
|
|
4eec: a4cfe0ef jal ra,3138 <rt_pin_write>
|
|
4ef0: cd6fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004ef4 <USART_CONNET_J8>:
|
|
4ef4: caefb2ef jal t0,3a2 <__riscv_save_0>
|
|
4ef8: d37ff0ef jal ra,4c2e <J5_PWR_Close>
|
|
4efc: d57ff0ef jal ra,4c52 <J6_PWR_Close>
|
|
4f00: d77ff0ef jal ra,4c76 <J7_PWR_Close>
|
|
4f04: d85ff0ef jal ra,4c88 <J8_PWR_Open>
|
|
4f08: df1ff0ef jal ra,4cf8 <J9_PWR_Close>
|
|
4f0c: 4581 li a1,0
|
|
4f0e: 03800513 li a0,56
|
|
4f12: a26fe0ef jal ra,3138 <rt_pin_write>
|
|
4f16: 4581 li a1,0
|
|
4f18: 03900513 li a0,57
|
|
4f1c: a1cfe0ef jal ra,3138 <rt_pin_write>
|
|
4f20: 4585 li a1,1
|
|
4f22: 03a00513 li a0,58
|
|
4f26: a12fe0ef jal ra,3138 <rt_pin_write>
|
|
4f2a: c9cfb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004f2e <USARTx_SendByte_str>:
|
|
4f2e: c74fb2ef jal t0,3a2 <__riscv_save_0>
|
|
4f32: 842a mv s0,a0
|
|
4f34: b33ff0ef jal ra,4a66 <USART_SendData>
|
|
4f38: 08000593 li a1,128
|
|
4f3c: 8522 mv a0,s0
|
|
4f3e: b39ff0ef jal ra,4a76 <USART_GetFlagStatus>
|
|
4f42: d97d beqz a0,4f38 <USARTx_SendByte_str+0xa>
|
|
4f44: c82fb06f j 3c6 <__riscv_restore_0>
|
|
|
|
00004f48 <memcmp>:
|
|
4f48: 4701 li a4,0
|
|
4f4a: 00e61463 bne a2,a4,4f52 <memcmp+0xa>
|
|
4f4e: 4501 li a0,0
|
|
4f50: 8082 ret
|
|
4f52: 00e507b3 add a5,a0,a4
|
|
4f56: 0705 addi a4,a4,1
|
|
4f58: 00e586b3 add a3,a1,a4
|
|
4f5c: 239c lbu a5,0(a5)
|
|
4f5e: fff6c683 lbu a3,-1(a3)
|
|
4f62: fed784e3 beq a5,a3,4f4a <memcmp+0x2>
|
|
4f66: 40d78533 sub a0,a5,a3
|
|
4f6a: 8082 ret
|
|
|
|
00004f6c <memcpy>:
|
|
4f6c: 00a5c7b3 xor a5,a1,a0
|
|
4f70: 8b8d andi a5,a5,3
|
|
4f72: 00c50733 add a4,a0,a2
|
|
4f76: e781 bnez a5,4f7e <memcpy+0x12>
|
|
4f78: 478d li a5,3
|
|
4f7a: 00c7ed63 bltu a5,a2,4f94 <memcpy+0x28>
|
|
4f7e: 87aa mv a5,a0
|
|
4f80: 08e57e63 bgeu a0,a4,501c <memcpy+0xb0>
|
|
4f84: 2194 lbu a3,0(a1)
|
|
4f86: 0785 addi a5,a5,1
|
|
4f88: 0585 addi a1,a1,1
|
|
4f8a: fed78fa3 sb a3,-1(a5) # bffff <__rt_init_end+0xb987f>
|
|
4f8e: fee7ebe3 bltu a5,a4,4f84 <memcpy+0x18>
|
|
4f92: 8082 ret
|
|
4f94: 00357693 andi a3,a0,3
|
|
4f98: 87aa mv a5,a0
|
|
4f9a: ca89 beqz a3,4fac <memcpy+0x40>
|
|
4f9c: 2194 lbu a3,0(a1)
|
|
4f9e: 0785 addi a5,a5,1
|
|
4fa0: 0585 addi a1,a1,1
|
|
4fa2: fed78fa3 sb a3,-1(a5)
|
|
4fa6: 0037f693 andi a3,a5,3
|
|
4faa: bfc5 j 4f9a <memcpy+0x2e>
|
|
4fac: ffc77693 andi a3,a4,-4
|
|
4fb0: fe068613 addi a2,a3,-32
|
|
4fb4: 06c7f063 bgeu a5,a2,5014 <memcpy+0xa8>
|
|
4fb8: 0005a383 lw t2,0(a1) # 40021000 <_eusrstack+0x20011000>
|
|
4fbc: 0045a283 lw t0,4(a1)
|
|
4fc0: 0085af83 lw t6,8(a1)
|
|
4fc4: 00c5af03 lw t5,12(a1)
|
|
4fc8: 0105ae83 lw t4,16(a1)
|
|
4fcc: 0145ae03 lw t3,20(a1)
|
|
4fd0: 0185a303 lw t1,24(a1)
|
|
4fd4: 01c5a883 lw a7,28(a1)
|
|
4fd8: 02458593 addi a1,a1,36
|
|
4fdc: 0077a023 sw t2,0(a5)
|
|
4fe0: ffc5a803 lw a6,-4(a1)
|
|
4fe4: 0057a223 sw t0,4(a5)
|
|
4fe8: 01f7a423 sw t6,8(a5)
|
|
4fec: 01e7a623 sw t5,12(a5)
|
|
4ff0: 01d7a823 sw t4,16(a5)
|
|
4ff4: 01c7aa23 sw t3,20(a5)
|
|
4ff8: 0067ac23 sw t1,24(a5)
|
|
4ffc: 0117ae23 sw a7,28(a5)
|
|
5000: 02478793 addi a5,a5,36
|
|
5004: ff07ae23 sw a6,-4(a5)
|
|
5008: b775 j 4fb4 <memcpy+0x48>
|
|
500a: 4190 lw a2,0(a1)
|
|
500c: 0791 addi a5,a5,4
|
|
500e: 0591 addi a1,a1,4
|
|
5010: fec7ae23 sw a2,-4(a5)
|
|
5014: fed7ebe3 bltu a5,a3,500a <memcpy+0x9e>
|
|
5018: f6e7e6e3 bltu a5,a4,4f84 <memcpy+0x18>
|
|
501c: 8082 ret
|
|
|
|
0000501e <strcat>:
|
|
501e: 87aa mv a5,a0
|
|
5020: 2398 lbu a4,0(a5)
|
|
5022: 00178693 addi a3,a5,1
|
|
5026: eb09 bnez a4,5038 <strcat+0x1a>
|
|
5028: 0585 addi a1,a1,1
|
|
502a: fff5c703 lbu a4,-1(a1)
|
|
502e: 0785 addi a5,a5,1
|
|
5030: fee78fa3 sb a4,-1(a5)
|
|
5034: fb75 bnez a4,5028 <strcat+0xa>
|
|
5036: 8082 ret
|
|
5038: 87b6 mv a5,a3
|
|
503a: b7dd j 5020 <strcat+0x2>
|
|
|
|
0000503c <strcpy>:
|
|
503c: 87aa mv a5,a0
|
|
503e: 2198 lbu a4,0(a1)
|
|
5040: 0785 addi a5,a5,1
|
|
5042: 0585 addi a1,a1,1
|
|
5044: fee78fa3 sb a4,-1(a5)
|
|
5048: fb7d bnez a4,503e <strcpy+0x2>
|
|
504a: 8082 ret
|
|
|
|
0000504c <strlen>:
|
|
504c: 87aa mv a5,a0
|
|
504e: 0785 addi a5,a5,1
|
|
5050: fff7c703 lbu a4,-1(a5)
|
|
5054: ff6d bnez a4,504e <strlen+0x2>
|
|
5056: 40a78533 sub a0,a5,a0
|
|
505a: 157d addi a0,a0,-1
|
|
505c: 8082 ret
|
|
|
|
0000505e <strncmp>:
|
|
505e: c215 beqz a2,5082 <strncmp+0x24>
|
|
5060: 167d addi a2,a2,-1
|
|
5062: 4701 li a4,0
|
|
5064: 00e507b3 add a5,a0,a4
|
|
5068: 00e586b3 add a3,a1,a4
|
|
506c: 239c lbu a5,0(a5)
|
|
506e: 2294 lbu a3,0(a3)
|
|
5070: 00d79663 bne a5,a3,507c <strncmp+0x1e>
|
|
5074: 00c70463 beq a4,a2,507c <strncmp+0x1e>
|
|
5078: 0705 addi a4,a4,1
|
|
507a: f7ed bnez a5,5064 <strncmp+0x6>
|
|
507c: 40d78533 sub a0,a5,a3
|
|
5080: 8082 ret
|
|
5082: 4501 li a0,0
|
|
5084: 8082 ret
|
|
5086: 0000 unimp
|
|
5088: 5b50 lw a2,52(a4)
|
|
508a: 0000 unimp
|
|
508c: 5b64 lw s1,116(a4)
|
|
508e: 0000 unimp
|
|
5090: 5b74 lw a3,116(a4)
|
|
5092: 0000 unimp
|
|
5094: 5b88 lw a0,48(a5)
|
|
5096: 0000 unimp
|
|
5098: 5b94 lw a3,48(a5)
|
|
509a: 0000 unimp
|
|
509c: 5ba0 lw s0,112(a5)
|
|
509e: 0000 unimp
|
|
50a0: 5ba4 lw s1,112(a5)
|
|
50a2: 0000 unimp
|
|
50a4: 5bb4 lw a3,112(a5)
|
|
50a6: 0000 unimp
|
|
50a8: 5bc4 lw s1,52(a5)
|
|
50aa: 0000 unimp
|
|
50ac: 5bcc lw a1,52(a5)
|
|
50ae: 0000 unimp
|
|
50b0: 5be0 lw s0,116(a5)
|
|
50b2: 0000 unimp
|
|
50b4: 5bf0 lw a2,116(a5)
|
|
50b6: 0000 unimp
|
|
50b8: 5bf8 lw a4,116(a5)
|
|
50ba: 0000 unimp
|
|
50bc: 5c04 lw s1,56(s0)
|
|
50be: 0000 unimp
|
|
50c0: 5c10 lw a2,56(s0)
|
|
50c2: 0000 unimp
|
|
50c4: 5c24 lw s1,120(s0)
|
|
50c6: 0000 unimp
|
|
50c8: 5c2c lw a1,120(s0)
|
|
50ca: 0000 unimp
|
|
50cc: 5c3c lw a5,120(s0)
|
|
50ce: 0000 unimp
|
|
50d0: 5c4c lw a1,60(s0)
|
|
50d2: 0000 unimp
|
|
50d4: 5c64 lw s1,124(s0)
|
|
50d6: 0000 unimp
|
|
50d8: 616d addi sp,sp,240
|
|
50da: 6e69 lui t3,0x1a
|
|
50dc: 0000 unimp
|
|
50de: 0000 unimp
|
|
50e0: 6f54 flw fa3,28(a4)
|
|
50e2: 6920 flw fs0,80(a0)
|
|
50e4: 696e flw fs2,216(sp)
|
|
50e6: 6974 flw fa3,84(a0)
|
|
50e8: 6c61 lui s8,0x18
|
|
50ea: 7a69 lui s4,0xffffa
|
|
50ec: 2065 jal 5194 <__lowest_bit_bitmap+0x74>
|
|
50ee: 6564 flw fs1,76(a0)
|
|
50f0: 6976 flw fs2,92(sp)
|
|
50f2: 253a6563 bltu s4,s3,533c <__fsym_list_mem_desc+0x1c>
|
|
50f6: 61662073 csrs 0x616,a2
|
|
50fa: 6c69 lui s8,0x1a
|
|
50fc: 6465 lui s0,0x19
|
|
50fe: 202e lhu a1,2(s0)
|
|
5100: 6854 flw fa3,20(s0)
|
|
5102: 2065 jal 51aa <__lowest_bit_bitmap+0x8a>
|
|
5104: 7265 lui tp,0xffff9
|
|
5106: 6f72 flw ft10,28(sp)
|
|
5108: 2072 lhu a2,6(s0)
|
|
510a: 65646f63 bltu s0,s6,5768 <__fsym_list_mem_name+0x428>
|
|
510e: 6920 flw fs0,80(a0)
|
|
5110: 64252073 csrs 0x642,a0
|
|
5114: 000a c.slli zero,0x2
|
|
5116: 0000 unimp
|
|
5118: 6974 flw fa3,84(a0)
|
|
511a: 6c64 flw fs1,92(s0)
|
|
511c: 0065 c.nop 25
|
|
...
|
|
|
|
00005120 <__lowest_bit_bitmap>:
|
|
5120: 0000 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5130: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5140: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5150: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5160: 0006 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5170: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5180: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5190: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
51a0: 0007 0001 0002 0001 0003 0001 0002 0001 ................
|
|
51b0: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
51c0: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
51d0: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
51e0: 0006 0001 0002 0001 0003 0001 0002 0001 ................
|
|
51f0: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5200: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
5210: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
|
|
00005220 <large_digits.2583>:
|
|
5220: 3130 3332 3534 3736 3938 4241 4443 4645 0123456789ABCDEF
|
|
5230: 0000 0000 200a 205c 207c 0a2f 0000 0000 ..... \ | /.....
|
|
5240: 202d 5452 2d20 2020 2020 5420 7268 6165 - RT - Threa
|
|
5250: 2064 704f 7265 7461 6e69 2067 7953 7473 d Operating Syst
|
|
5260: 6d65 000a 754a 206c 3731 3220 3230 0034 em..Jul 17 2024.
|
|
5270: 2f20 7c20 5c20 2020 2020 2520 2e64 6425 / | \ %d.%d
|
|
5280: 252e 2064 7562 6c69 2064 7325 000a 0000 .%d build %s....
|
|
5290: 3220 3030 2036 202d 3032 3931 4320 706f 2006 - 2019 Cop
|
|
52a0: 7279 6769 7468 6220 2079 7472 742d 7268 yright by rt-thr
|
|
52b0: 6165 2064 6574 6d61 000a 0000 4e28 4c55 ead team....(NUL
|
|
52c0: 294c 0000 L)..
|
|
|
|
000052c4 <small_digits.2582>:
|
|
52c4: 3130 3332 3534 3736 3938 6261 6463 6665 0123456789abcdef
|
|
52d4: 0000 0000 6f74 6174 206c 656d 6f6d 7972 ....total memory
|
|
52e4: 203a 6425 000a 0000 7375 6465 6d20 6d65 : %d....used mem
|
|
52f4: 726f 2079 203a 6425 000a 0000 616d 6978 ory : %d....maxi
|
|
5304: 756d 206d 6c61 6f6c 6163 6574 2064 656d mum allocated me
|
|
5314: 6f6d 7972 203a 6425 000a 0000 mory: %d....
|
|
|
|
00005320 <__fsym_list_mem_desc>:
|
|
5320: 696c 7473 6d20 6d65 726f 2079 7375 6761 list memory usag
|
|
5330: 2065 6e69 6f66 6d72 7461 6f69 006e 0000 e information...
|
|
|
|
00005340 <__fsym_list_mem_name>:
|
|
5340: 696c 7473 6d5f 6d65 0000 0000 6f74 6620 list_mem....to f
|
|
5350: 6572 2065 2061 6162 2064 6164 6174 6220 ree a bad data b
|
|
5360: 6f6c 6b63 0a3a 0000 656d 3a6d 3020 2578 lock:...mem: 0x%
|
|
5370: 3830 2c78 7520 6573 2064 6c66 6761 203a 08x, used flag:
|
|
5380: 6425 202c 616d 6967 2063 6f63 6564 203a %d, magic code:
|
|
5390: 7830 3025 7834 000a 6568 7061 0000 0000 0x%04x..heap....
|
|
53a0: 656d 206d 6e69 7469 202c 7265 6f72 2072 mem init, error
|
|
53b0: 6562 6967 206e 6461 7264 7365 2073 7830 begin address 0x
|
|
53c0: 7825 202c 6e61 2064 6e65 2064 6461 7264 %x, and end addr
|
|
53d0: 7365 2073 7830 7825 000a 0000 5b1b 4a32 ess 0x%x.....[2J
|
|
53e0: 5b1b 0048 2d2d 7546 636e 6974 6e6f 4c20 .[H.--Function L
|
|
53f0: 7369 3a74 000a 0000 5f5f 0000 2d25 3631 ist:....__..%-16
|
|
5400: 2073 2d2d 2520 0a73 0000 0000 6564 6976 s -- %s.....devi
|
|
5410: 6563 0000 2d25 2e2a 2073 2020 2020 2020 ce..%-*.s
|
|
5420: 2020 7974 6570 2020 2020 2020 2020 7220 type r
|
|
5430: 6665 6320 756f 746e 000a 0000 2d20 2d2d ef count.... ---
|
|
5440: 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d ----------------
|
|
5450: 202d 2d2d 2d2d 2d2d 2d2d 2d2d 000a 0000 - ----------....
|
|
5460: 2d25 2e2a 732a 2520 322d 7330 2520 382d %-*.*s %-20s %-8
|
|
5470: 0a64 0000 7665 6e65 0074 0000 2d25 2e2a d...event...%-*.
|
|
5480: 2073 2020 2020 7320 7465 2020 2020 7573 s set su
|
|
5490: 7073 6e65 2064 6874 6572 6461 000a 0000 spend thread....
|
|
54a0: 2020 2d2d 2d2d 2d2d 2d2d 2d2d 2d20 2d2d ---------- ---
|
|
54b0: 2d2d 2d2d 2d2d 2d2d 2d2d 0a2d 0000 0000 -----------.....
|
|
54c0: 2d25 2e2a 732a 2020 7830 3025 7838 2520 %-*.*s 0x%08x %
|
|
54d0: 3330 3a64 0000 0000 2d25 2e2a 732a 2020 03d:....%-*.*s
|
|
54e0: 7830 3025 7838 3020 000a 0000 616d 6c69 0x%08x 0....mail
|
|
54f0: 6f62 0078 2d25 2e2a 2073 6e65 7274 2079 box.%-*.s entry
|
|
5500: 6973 657a 7320 7375 6570 646e 7420 7268 size suspend thr
|
|
5510: 6165 0a64 0000 0000 2d20 2d2d 202d 2d20 ead..... ---- -
|
|
5520: 2d2d 202d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d --- ------------
|
|
5530: 2d2d 000a 2d25 2e2a 732a 2520 3430 2064 --..%-*.*s %04d
|
|
5540: 2520 3430 2064 6425 003a 0000 2d25 2e2a %04d %d:...%-*.
|
|
5550: 732a 2520 3430 2064 2520 3430 2064 6425 *s %04d %04d %d
|
|
5560: 000a 0000 736d 7167 6575 6575 0000 0000 ....msgqueue....
|
|
5570: 2d25 2e2a 2073 6e65 7274 2079 7573 7073 %-*.s entry susp
|
|
5580: 6e65 2064 6874 6572 6461 000a 2d20 2d2d end thread.. ---
|
|
5590: 202d 2d20 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d - -------------
|
|
55a0: 0a2d 0000 2d25 2e2a 732a 2520 3430 2064 -...%-*.*s %04d
|
|
55b0: 2520 3a64 0000 0000 2d25 2e2a 732a 2520 %d:....%-*.*s %
|
|
55c0: 3430 2064 2520 0a64 0000 0000 756d 6574 04d %d.....mute
|
|
55d0: 0078 0000 2d25 2e2a 2073 2020 776f 656e x...%-*.s owne
|
|
55e0: 2072 6820 6c6f 2064 7573 7073 6e65 2064 r hold suspend
|
|
55f0: 6874 6572 6461 000a 2d20 2d2d 2d2d 2d2d thread.. -------
|
|
5600: 202d 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d - ---- ---------
|
|
5610: 2d2d 2d2d 0a2d 0000 2d25 2e2a 732a 2520 -----...%-*.*s %
|
|
5620: 382d 2a2e 2073 3025 6434 2520 0a64 0000 -8.*s %04d %d...
|
|
5630: 6573 616d 6870 726f 0065 0000 2d25 2e2a semaphore...%-*.
|
|
5640: 2073 2076 2020 7573 7073 6e65 2064 6874 s v suspend th
|
|
5650: 6572 6461 000a 0000 2d20 2d2d 2d20 2d2d read.... --- ---
|
|
5660: 2d2d 2d2d 2d2d 2d2d 2d2d 0a2d 0000 0000 -----------.....
|
|
5670: 2d25 2e2a 732a 2520 3330 2064 6425 003a %-*.*s %03d %d:.
|
|
5680: 2d25 2e2a 732a 2520 3330 2064 6425 000a %-*.*s %03d %d..
|
|
5690: 6874 6572 6461 0000 2d25 2e2a 2073 7270 thread..%-*.s pr
|
|
56a0: 2069 7320 6174 7574 2073 2020 2020 7320 i status s
|
|
56b0: 2070 2020 2020 7473 6361 206b 6973 657a p stack size
|
|
56c0: 6d20 7861 7520 6573 2064 656c 7466 7420 max used left t
|
|
56d0: 6369 206b 6520 7272 726f 000a 2d20 2d2d ick error.. ---
|
|
56e0: 2020 2d2d 2d2d 2d2d 202d 2d2d 2d2d 2d2d ------- ------
|
|
56f0: 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d 202d ---- ----------
|
|
5700: 2d20 2d2d 2d2d 202d 2d20 2d2d 2d2d 2d2d ------ -------
|
|
5710: 2d2d 202d 2d2d 0a2d 0000 0000 2d25 2e2a --- ---.....%-*.
|
|
5720: 732a 2520 6433 0020 7220 6165 7964 2020 *s %3d . ready
|
|
5730: 0000 0000 7320 7375 6570 646e 0000 0000 .... suspend....
|
|
5740: 6920 696e 2074 2020 0000 0000 6320 6f6c init .... clo
|
|
5750: 6573 2020 0000 0000 3020 2578 3830 2078 se .... 0x%08x
|
|
5760: 7830 3025 7838 2020 2020 3025 6432 2525 0x%08x %02d%%
|
|
5770: 2020 3020 2578 3830 2078 3025 6433 000a 0x%08x %03d..
|
|
5780: 6974 656d 0072 0000 2d25 2e2a 2073 7020 timer...%-*.s p
|
|
5790: 7265 6f69 6964 2063 2020 6974 656d 756f eriodic timeou
|
|
57a0: 2074 2020 2020 2020 6c66 6761 000a 0000 t flag....
|
|
57b0: 2d20 2d2d 2d2d 2d2d 2d2d 202d 2d2d 2d2d ---------- ----
|
|
57c0: 2d2d 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d ------ ---------
|
|
57d0: 2d2d 000a 2d25 2e2a 732a 3020 2578 3830 --..%-*.*s 0x%08
|
|
57e0: 2078 7830 3025 7838 0020 0000 6361 6974 x 0x%08x ...acti
|
|
57f0: 6176 6574 0a64 0000 6564 6361 6974 6176 vated...deactiva
|
|
5800: 6574 0a64 0000 0000 7563 7272 6e65 2074 ted.....current
|
|
5810: 6974 6b63 303a 2578 3830 0a78 0000 0000 tick:0x%08x.....
|
|
|
|
00005820 <__fsym_list_desc>:
|
|
5820: 696c 7473 6120 6c6c 7320 6d79 6f62 206c list all symbol
|
|
5830: 6e69 7320 7379 6574 006d 0000 in system...
|
|
|
|
0000583c <__fsym_list_name>:
|
|
583c: 696c 7473 0000 0000 list....
|
|
|
|
00005844 <__fsym___cmd_list_device_desc>:
|
|
5844: 696c 7473 6420 7665 6369 2065 6e69 7320 list device in s
|
|
5854: 7379 6574 006d 0000 ystem...
|
|
|
|
0000585c <__fsym___cmd_list_device_name>:
|
|
585c: 5f5f 6d63 5f64 696c 7473 645f 7665 6369 __cmd_list_devic
|
|
586c: 0065 0000 e...
|
|
|
|
00005870 <__fsym_list_device_desc>:
|
|
5870: 696c 7473 6420 7665 6369 2065 6e69 7320 list device in s
|
|
5880: 7379 6574 006d 0000 ystem...
|
|
|
|
00005888 <__fsym_list_device_name>:
|
|
5888: 696c 7473 645f 7665 6369 0065 list_device.
|
|
|
|
00005894 <__fsym___cmd_list_timer_desc>:
|
|
5894: 696c 7473 7420 6d69 7265 6920 206e 7973 list timer in sy
|
|
58a4: 7473 6d65 0000 0000 stem....
|
|
|
|
000058ac <__fsym___cmd_list_timer_name>:
|
|
58ac: 5f5f 6d63 5f64 696c 7473 745f 6d69 7265 __cmd_list_timer
|
|
58bc: 0000 0000 ....
|
|
|
|
000058c0 <__fsym_list_timer_desc>:
|
|
58c0: 696c 7473 7420 6d69 7265 6920 206e 7973 list timer in sy
|
|
58d0: 7473 6d65 0000 0000 stem....
|
|
|
|
000058d8 <__fsym_list_timer_name>:
|
|
58d8: 696c 7473 745f 6d69 7265 0000 list_timer..
|
|
|
|
000058e4 <__fsym___cmd_list_msgqueue_desc>:
|
|
58e4: 696c 7473 6d20 7365 6173 6567 7120 6575 list message que
|
|
58f4: 6575 6920 206e 7973 7473 6d65 0000 0000 ue in system....
|
|
|
|
00005904 <__fsym___cmd_list_msgqueue_name>:
|
|
5904: 5f5f 6d63 5f64 696c 7473 6d5f 6773 7571 __cmd_list_msgqu
|
|
5914: 7565 0065 eue.
|
|
|
|
00005918 <__fsym_list_msgqueue_desc>:
|
|
5918: 696c 7473 6d20 7365 6173 6567 7120 6575 list message que
|
|
5928: 6575 6920 206e 7973 7473 6d65 0000 0000 ue in system....
|
|
|
|
00005938 <__fsym_list_msgqueue_name>:
|
|
5938: 696c 7473 6d5f 6773 7571 7565 0065 0000 list_msgqueue...
|
|
|
|
00005948 <__fsym___cmd_list_mailbox_desc>:
|
|
5948: 696c 7473 6d20 6961 206c 6f62 2078 6e69 list mail box in
|
|
5958: 7320 7379 6574 006d system.
|
|
|
|
00005960 <__fsym___cmd_list_mailbox_name>:
|
|
5960: 5f5f 6d63 5f64 696c 7473 6d5f 6961 626c __cmd_list_mailb
|
|
5970: 786f 0000 ox..
|
|
|
|
00005974 <__fsym_list_mailbox_desc>:
|
|
5974: 696c 7473 6d20 6961 206c 6f62 2078 6e69 list mail box in
|
|
5984: 7320 7379 6574 006d system.
|
|
|
|
0000598c <__fsym_list_mailbox_name>:
|
|
598c: 696c 7473 6d5f 6961 626c 786f 0000 0000 list_mailbox....
|
|
|
|
0000599c <__fsym___cmd_list_mutex_desc>:
|
|
599c: 696c 7473 6d20 7475 7865 6920 206e 7973 list mutex in sy
|
|
59ac: 7473 6d65 0000 0000 stem....
|
|
|
|
000059b4 <__fsym___cmd_list_mutex_name>:
|
|
59b4: 5f5f 6d63 5f64 696c 7473 6d5f 7475 7865 __cmd_list_mutex
|
|
59c4: 0000 0000 ....
|
|
|
|
000059c8 <__fsym_list_mutex_desc>:
|
|
59c8: 696c 7473 6d20 7475 7865 6920 206e 7973 list mutex in sy
|
|
59d8: 7473 6d65 0000 0000 stem....
|
|
|
|
000059e0 <__fsym_list_mutex_name>:
|
|
59e0: 696c 7473 6d5f 7475 7865 0000 list_mutex..
|
|
|
|
000059ec <__fsym___cmd_list_event_desc>:
|
|
59ec: 696c 7473 6520 6576 746e 6920 206e 7973 list event in sy
|
|
59fc: 7473 6d65 0000 0000 stem....
|
|
|
|
00005a04 <__fsym___cmd_list_event_name>:
|
|
5a04: 5f5f 6d63 5f64 696c 7473 655f 6576 746e __cmd_list_event
|
|
5a14: 0000 0000 ....
|
|
|
|
00005a18 <__fsym_list_event_desc>:
|
|
5a18: 696c 7473 6520 6576 746e 6920 206e 7973 list event in sy
|
|
5a28: 7473 6d65 0000 0000 stem....
|
|
|
|
00005a30 <__fsym_list_event_name>:
|
|
5a30: 696c 7473 655f 6576 746e 0000 list_event..
|
|
|
|
00005a3c <__fsym___cmd_list_sem_desc>:
|
|
5a3c: 696c 7473 7320 6d65 7061 6f68 6572 6920 list semaphore i
|
|
5a4c: 206e 7973 7473 6d65 0000 0000 n system....
|
|
|
|
00005a58 <__fsym___cmd_list_sem_name>:
|
|
5a58: 5f5f 6d63 5f64 696c 7473 735f 6d65 0000 __cmd_list_sem..
|
|
|
|
00005a68 <__fsym_list_sem_desc>:
|
|
5a68: 696c 7473 7320 6d65 7061 6f68 656e 6920 list semaphone i
|
|
5a78: 206e 7973 7473 6d65 0000 0000 n system....
|
|
|
|
00005a84 <__fsym_list_sem_name>:
|
|
5a84: 696c 7473 735f 6d65 0000 0000 list_sem....
|
|
|
|
00005a90 <__fsym___cmd_list_thread_desc>:
|
|
5a90: 696c 7473 7420 7268 6165 0064 list thread.
|
|
|
|
00005a9c <__fsym___cmd_list_thread_name>:
|
|
5a9c: 5f5f 6d63 5f64 696c 7473 745f 7268 6165 __cmd_list_threa
|
|
5aac: 0064 0000 d...
|
|
|
|
00005ab0 <__fsym_list_thread_desc>:
|
|
5ab0: 696c 7473 7420 7268 6165 0064 list thread.
|
|
|
|
00005abc <__fsym_list_thread_name>:
|
|
5abc: 696c 7473 745f 7268 6165 0064 list_thread.
|
|
|
|
00005ac8 <__fsym___cmd_clear_desc>:
|
|
5ac8: 6874 2065 6574 6d72 6e69 6c61 7320 7263 the terminal scr
|
|
5ad8: 6565 006e een.
|
|
|
|
00005adc <__fsym___cmd_clear_name>:
|
|
5adc: 5f5f 6d63 5f64 6c63 6165 0072 __cmd_clear.
|
|
|
|
00005ae8 <__fsym_clear_desc>:
|
|
5ae8: 6874 2065 6574 6d72 6e69 6c61 7320 7263 the terminal scr
|
|
5af8: 6565 006e een.
|
|
|
|
00005afc <__fsym_clear_name>:
|
|
5afc: 6c63 6165 0072 0000 clear...
|
|
|
|
00005b04 <__fsym___cmd_reboot_desc>:
|
|
5b04: 6572 6f62 746f 7420 6568 6220 616f 6472 reboot the board
|
|
5b14: 0000 0000 ....
|
|
|
|
00005b18 <__fsym___cmd_reboot_name>:
|
|
5b18: 5f5f 6d63 5f64 6572 6f62 746f 0000 0000 __cmd_reboot....
|
|
|
|
00005b28 <__fsym_reboot_desc>:
|
|
5b28: 6572 6f62 746f 7420 6568 6220 616f 6472 reboot the board
|
|
5b38: 0000 0000 ....
|
|
|
|
00005b3c <__fsym_reboot_name>:
|
|
5b3c: 6572 6f62 746f 0000 002d 0000 7325 0000 reboot..-...%s..
|
|
5b4c: 002f 0000 6843 7261 6361 6574 2072 6544 /...Character De
|
|
5b5c: 6976 6563 0000 0000 6c42 636f 206b 6544 vice....Block De
|
|
5b6c: 6976 6563 0000 0000 654e 7774 726f 206b vice....Network
|
|
5b7c: 6e49 6574 6672 6361 0065 0000 544d 2044 Interface...MTD
|
|
5b8c: 6544 6976 6563 0000 4143 204e 6544 6976 Device..CAN Devi
|
|
5b9c: 6563 0000 5452 0043 6f53 6e75 2064 6544 ce..RTC.Sound De
|
|
5bac: 6976 6563 0000 0000 7247 7061 6968 2063 vice....Graphic
|
|
5bbc: 6544 6976 6563 0000 3249 2043 7542 0073 Device..I2C Bus.
|
|
5bcc: 5355 2042 6c53 7661 2065 6544 6976 6563 USB Slave Device
|
|
5bdc: 0000 0000 5355 2042 6f48 7473 4220 7375 ....USB Host Bus
|
|
5bec: 0000 0000 5053 2049 7542 0073 5053 2049 ....SPI Bus.SPI
|
|
5bfc: 6544 6976 6563 0000 4453 4f49 4220 7375 Device..SDIO Bus
|
|
5c0c: 0000 0000 4d50 5020 6573 6475 206f 6544 ....PM Pseudo De
|
|
5c1c: 6976 6563 0000 0000 6950 6570 0000 0000 vice....Pipe....
|
|
5c2c: 6f50 7472 6c61 4420 7665 6369 0065 0000 Portal Device...
|
|
5c3c: 6954 656d 2072 6544 6976 6563 0000 0000 Timer Device....
|
|
5c4c: 694d 6373 6c65 616c 656e 756f 2073 6544 Miscellaneous De
|
|
5c5c: 6976 6563 0000 0000 6e55 6e6b 776f 006e vice....Unknown.
|
|
5c6c: 6f54 206f 616d 796e 6120 6772 2073 2021 Too many args !
|
|
5c7c: 6557 6f20 6c6e 2079 7355 3a65 000a 0000 We only Use:....
|
|
5c8c: 7325 0020 7325 203a 6f63 6d6d 6e61 2064 %s .%s: command
|
|
5c9c: 6f6e 2074 6f66 6e75 2e64 000a 5452 542d not found...RT-T
|
|
5cac: 7268 6165 2064 6873 6c65 206c 6f63 6d6d hread shell comm
|
|
5cbc: 6e61 7364 0a3a 0000 5f5f 6d63 5f64 0000 ands:...__cmd_..
|
|
5ccc: 2d25 3631 2073 202d 7325 000a %-16s - %s..
|
|
|
|
00005cd8 <__fsym___cmd_help_desc>:
|
|
5cd8: 5452 542d 7268 6165 2064 6873 6c65 206c RT-Thread shell
|
|
5ce8: 6568 706c 0000 0000 help....
|
|
|
|
00005cf0 <__fsym___cmd_help_name>:
|
|
5cf0: 5f5f 6d63 5f64 6568 706c 0000 __cmd_help..
|
|
|
|
00005cfc <__fsym___cmd_free_desc>:
|
|
5cfc: 6853 776f 7420 6568 6d20 6d65 726f 2079 Show the memory
|
|
5d0c: 7375 6761 2065 6e69 7420 6568 7320 7379 usage in the sys
|
|
5d1c: 6574 006d tem.
|
|
|
|
00005d20 <__fsym___cmd_free_name>:
|
|
5d20: 5f5f 6d63 5f64 7266 6565 0000 __cmd_free..
|
|
|
|
00005d2c <__fsym___cmd_ps_desc>:
|
|
5d2c: 694c 7473 7420 7268 6165 7364 6920 206e List threads in
|
|
5d3c: 6874 2065 7973 7473 6d65 0000 the system..
|
|
|
|
00005d48 <__fsym___cmd_ps_name>:
|
|
5d48: 5f5f 6d63 5f64 7370 0000 0000 736d 2068 __cmd_ps....msh
|
|
5d58: 0000 0000 6966 736e 2068 0000 003e 0000 ....finsh ..>...
|
|
5d68: 6966 736e 3a68 6320 6e61 6e20 746f 6620 finsh: can not f
|
|
5d78: 6e69 2064 6564 6976 6563 203a 7325 000a ind device: %s..
|
|
5d88: 6f6e 6d20 6d65 726f 2079 6f66 2072 6873 no memory for sh
|
|
5d98: 6c65 0a6c 0000 0000 7374 6568 6c6c 0000 ell.....tshell..
|
|
5da8: 6873 7872 0000 0000 0008 0000 6325 0000 shrx........%c..
|
|
5db8: 2508 2073 0820 0000 2008 0008 5b1b 4b32 .%s .... ...[2K
|
|
5dc8: 000d 0000 7325 7325 0000 0000 ....%s%s....
|
|
|
|
00005dd4 <__fsym_pinRead_desc>:
|
|
5dd4: 6572 6461 7320 6174 7574 2073 7266 6d6f read status from
|
|
5de4: 6820 7261 7764 7261 2065 6970 006e 0000 hardware pin...
|
|
|
|
00005df4 <__fsym_pinRead_name>:
|
|
5df4: 6970 526e 6165 0064 pinRead.
|
|
|
|
00005dfc <__fsym_pinWrite_desc>:
|
|
5dfc: 7277 7469 2065 6176 756c 2065 6f74 6820 write value to h
|
|
5e0c: 7261 7764 7261 2065 6970 006e ardware pin.
|
|
|
|
00005e18 <__fsym_pinWrite_name>:
|
|
5e18: 6970 576e 6972 6574 0000 0000 pinWrite....
|
|
|
|
00005e24 <__fsym_pinMode_desc>:
|
|
5e24: 6573 2074 6168 6472 6177 6572 7020 6e69 set hardware pin
|
|
5e34: 6d20 646f 0065 0000 mode...
|
|
|
|
00005e3c <__fsym_pinMode_name>:
|
|
5e3c: 6970 4d6e 646f 0065 6175 7472 0031 0000 pinMode.uart1...
|
|
|
|
00005e4c <_ch32_pin_ops>:
|
|
5e4c: 3420 0000 33e0 0000 3402 0000 349e 0000 4...3...4...4..
|
|
5e5c: 3530 0000 358a 0000 05...5..
|
|
|
|
00005e64 <pin_irq_map>:
|
|
5e64: 0001 0000 0016 0000 0002 0000 0017 0000 ................
|
|
5e74: 0004 0000 0018 0000 0008 0000 0019 0000 ................
|
|
5e84: 0010 0000 001a 0000 0020 0000 0027 0000 ........ ...'...
|
|
5e94: 0040 0000 0027 0000 0080 0000 0027 0000 @...'.......'...
|
|
5ea4: 0100 0000 0027 0000 0200 0000 0027 0000 ....'.......'...
|
|
5eb4: 0400 0000 0038 0000 0800 0000 0038 0000 ....8.......8...
|
|
5ec4: 1000 0000 0038 0000 2000 0000 0038 0000 ....8.... ..8...
|
|
5ed4: 4000 0000 0038 0000 8000 0000 0038 0000 .@..8.......8...
|
|
|
|
00005ee4 <pins>:
|
|
5ee4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5ef4: 0001 0000 3392 0000 1800 4001 0004 0000 .....3.....@....
|
|
5f04: 0002 0000 3392 0000 1800 4001 0008 0000 .....3.....@....
|
|
5f14: 0003 0000 3392 0000 1800 4001 0010 0000 .....3.....@....
|
|
5f24: 0004 0000 3392 0000 1800 4001 0020 0000 .....3.....@ ...
|
|
5f34: 0005 0000 3392 0000 1800 4001 0040 0000 .....3.....@@...
|
|
5f44: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5f54: 0007 0000 3382 0000 1000 4001 2000 0000 .....3.....@. ..
|
|
5f64: 0008 0000 3382 0000 1000 4001 4000 0000 .....3.....@.@..
|
|
5f74: 0009 0000 3382 0000 1000 4001 8000 0000 .....3.....@....
|
|
5f84: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5f94: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5fa4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5fb4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5fc4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5fd4: 000f 0000 3382 0000 1000 4001 0001 0000 .....3.....@....
|
|
5fe4: 0010 0000 3382 0000 1000 4001 0002 0000 .....3.....@....
|
|
5ff4: 0011 0000 3382 0000 1000 4001 0004 0000 .....3.....@....
|
|
6004: 0012 0000 3382 0000 1000 4001 0008 0000 .....3.....@....
|
|
6014: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6024: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6034: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6044: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6054: 0017 0000 3372 0000 0800 4001 0001 0000 ....r3.....@....
|
|
6064: 0018 0000 3372 0000 0800 4001 0002 0000 ....r3.....@....
|
|
6074: 0019 0000 3372 0000 0800 4001 0004 0000 ....r3.....@....
|
|
6084: 001a 0000 3372 0000 0800 4001 0008 0000 ....r3.....@....
|
|
6094: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
60a4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
60b4: 001d 0000 3372 0000 0800 4001 0010 0000 ....r3.....@....
|
|
60c4: 001e 0000 3372 0000 0800 4001 0020 0000 ....r3.....@ ...
|
|
60d4: 001f 0000 3372 0000 0800 4001 0040 0000 ....r3.....@@...
|
|
60e4: 0020 0000 3372 0000 0800 4001 0080 0000 ...r3.....@....
|
|
60f4: 0021 0000 3382 0000 1000 4001 0010 0000 !....3.....@....
|
|
6104: 0022 0000 3382 0000 1000 4001 0020 0000 "....3.....@ ...
|
|
6114: 0023 0000 3362 0000 0c00 4001 0001 0000 #...b3.....@....
|
|
6124: 0024 0000 3362 0000 0c00 4001 0002 0000 $...b3.....@....
|
|
6134: 0025 0000 3362 0000 0c00 4001 0004 0000 %...b3.....@....
|
|
6144: 0026 0000 3392 0000 1800 4001 0080 0000 &....3.....@....
|
|
6154: 0027 0000 3392 0000 1800 4001 0100 0000 '....3.....@....
|
|
6164: 0028 0000 3392 0000 1800 4001 0200 0000 (....3.....@....
|
|
6174: 0029 0000 3392 0000 1800 4001 0400 0000 )....3.....@....
|
|
6184: 002a 0000 3392 0000 1800 4001 0800 0000 *....3.....@....
|
|
6194: 002b 0000 3392 0000 1800 4001 1000 0000 +....3.....@....
|
|
61a4: 002c 0000 3392 0000 1800 4001 2000 0000 ,....3.....@. ..
|
|
61b4: 002d 0000 3392 0000 1800 4001 4000 0000 -....3.....@.@..
|
|
61c4: 002e 0000 3392 0000 1800 4001 8000 0000 .....3.....@....
|
|
61d4: 002f 0000 3362 0000 0c00 4001 0400 0000 /...b3.....@....
|
|
61e4: 0030 0000 3362 0000 0c00 4001 0800 0000 0...b3.....@....
|
|
61f4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6204: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6214: 0033 0000 3362 0000 0c00 4001 1000 0000 3...b3.....@....
|
|
6224: 0034 0000 3362 0000 0c00 4001 2000 0000 4...b3.....@. ..
|
|
6234: 0035 0000 3362 0000 0c00 4001 4000 0000 5...b3.....@.@..
|
|
6244: 0036 0000 3362 0000 0c00 4001 8000 0000 6...b3.....@....
|
|
6254: 0037 0000 3350 0000 1400 4001 0100 0000 7...P3.....@....
|
|
6264: 0038 0000 3350 0000 1400 4001 0200 0000 8...P3.....@....
|
|
6274: 0039 0000 3350 0000 1400 4001 0400 0000 9...P3.....@....
|
|
6284: 003a 0000 3350 0000 1400 4001 0800 0000 :...P3.....@....
|
|
6294: 003b 0000 3350 0000 1400 4001 1000 0000 ;...P3.....@....
|
|
62a4: 003c 0000 3350 0000 1400 4001 2000 0000 <...P3.....@. ..
|
|
62b4: 003d 0000 3350 0000 1400 4001 4000 0000 =...P3.....@.@..
|
|
62c4: 003e 0000 3350 0000 1400 4001 8000 0000 >...P3.....@....
|
|
62d4: 003f 0000 3382 0000 1000 4001 0040 0000 ?....3.....@@...
|
|
62e4: 0040 0000 3382 0000 1000 4001 0080 0000 @....3.....@....
|
|
62f4: 0041 0000 3382 0000 1000 4001 0100 0000 A....3.....@....
|
|
6304: 0042 0000 3382 0000 1000 4001 0200 0000 B....3.....@....
|
|
6314: 0043 0000 3372 0000 0800 4001 0100 0000 C...r3.....@....
|
|
6324: 0044 0000 3372 0000 0800 4001 0200 0000 D...r3.....@....
|
|
6334: 0045 0000 3372 0000 0800 4001 0400 0000 E...r3.....@....
|
|
6344: 0046 0000 3372 0000 0800 4001 0800 0000 F...r3.....@....
|
|
6354: 0047 0000 3372 0000 0800 4001 1000 0000 G...r3.....@....
|
|
6364: 0048 0000 3372 0000 0800 4001 2000 0000 H...r3.....@. ..
|
|
6374: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6384: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6394: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
63a4: 004c 0000 3372 0000 0800 4001 4000 0000 L...r3.....@.@..
|
|
63b4: 004d 0000 3372 0000 0800 4001 8000 0000 M...r3.....@....
|
|
63c4: 004e 0000 3382 0000 1000 4001 0400 0000 N....3.....@....
|
|
63d4: 004f 0000 3382 0000 1000 4001 0800 0000 O....3.....@....
|
|
63e4: 0050 0000 3382 0000 1000 4001 1000 0000 P....3.....@....
|
|
63f4: 0051 0000 3350 0000 1400 4001 0001 0000 Q...P3.....@....
|
|
6404: 0052 0000 3350 0000 1400 4001 0002 0000 R...P3.....@....
|
|
6414: 0053 0000 3350 0000 1400 4001 0004 0000 S...P3.....@....
|
|
6424: 0054 0000 3350 0000 1400 4001 0008 0000 T...P3.....@....
|
|
6434: 0055 0000 3350 0000 1400 4001 0010 0000 U...P3.....@....
|
|
6444: 0056 0000 3350 0000 1400 4001 0020 0000 V...P3.....@ ...
|
|
6454: 0057 0000 3350 0000 1400 4001 0040 0000 W...P3.....@@...
|
|
6464: 0058 0000 3350 0000 1400 4001 0080 0000 X...P3.....@....
|
|
6474: 0059 0000 3362 0000 0c00 4001 0008 0000 Y...b3.....@....
|
|
6484: 005a 0000 3362 0000 0c00 4001 0010 0000 Z...b3.....@....
|
|
6494: 005b 0000 3362 0000 0c00 4001 0020 0000 [...b3.....@ ...
|
|
64a4: 005c 0000 3362 0000 0c00 4001 0040 0000 \...b3.....@@...
|
|
64b4: 005d 0000 3362 0000 0c00 4001 0080 0000 ]...b3.....@....
|
|
64c4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
64d4: 005f 0000 3362 0000 0c00 4001 0100 0000 _...b3.....@....
|
|
64e4: 0060 0000 3362 0000 0c00 4001 0200 0000 `...b3.....@....
|
|
64f4: 0061 0000 3392 0000 1800 4001 0001 0000 a....3.....@....
|
|
6504: 0062 0000 3392 0000 1800 4001 0002 0000 b....3.....@....
|
|
6514: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6524: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
6534: 6970 006e pin.
|
|
|
|
00006538 <ch32_uart_ops>:
|
|
6538: 38ce 0000 3aa4 0000 3a82 0000 3a60 0000 .8...:...:..`:..
|
|
6548: 38ca 0000 6820 7261 6664 6c75 0d74 000a .8.. hardfult...
|
|
6558: 4e20 494d 4820 6e61 6c64 7265 0a0d 0000 NMI Handler....
|
|
6568: 0a0d 4d20 5543 203a 4843 3233 3356 3330 .. MCU: CH32V303
|
|
6578: 0a0d 0000 5320 7379 6c43 3a6b 2520 4864 .... SysClk: %dH
|
|
6588: 0d7a 000a 4320 6968 4970 3a44 2520 3830 z... ChipID: %08
|
|
6598: 0d78 000a 7472 6d5f 5f71 6573 646e 4520 x...rt_mq_send E
|
|
65a8: 5252 000a 7472 6d5f 5f71 6573 646e 000a RR..rt_mq_send..
|
|
65b8: 6972 676e 715f 6575 6575 6c5f 6e65 7467 ring_queue_lengt
|
|
65c8: 2068 203d 6425 0a20 0000 0000 6552 7663 h = %d .....Recv
|
|
65d8: 0000 0000 200a 6552 7663 0a20 0000 0000 ..... Recv .....
|
|
65e8: 6573 646e 0000 0000 200a 6553 646e 0a20 send..... Send .
|
|
65f8: 0000 0000 200a 6553 646e 6220 6675 2066 ..... Send buff
|
|
6608: 000a 0000 6553 646e 6d5f 0071 ....Send_mq.
|
|
|
|
00006614 <__fsym_list_mem>:
|
|
6614: 5340 0000 5320 0000 1408 0000 @S.. S......
|
|
|
|
00006620 <__fsym_list>:
|
|
6620: 583c 0000 5820 0000 2502 0000 <X.. X...%..
|
|
|
|
0000662c <__fsym___cmd_list_device>:
|
|
662c: 585c 0000 5844 0000 23d4 0000 \X..DX...#..
|
|
|
|
00006638 <__fsym_list_device>:
|
|
6638: 5888 0000 5870 0000 23d4 0000 .X..pX...#..
|
|
|
|
00006644 <__fsym___cmd_list_timer>:
|
|
6644: 58ac 0000 5894 0000 2468 0000 .X...X..h$..
|
|
|
|
00006650 <__fsym_list_timer>:
|
|
6650: 58d8 0000 58c0 0000 2468 0000 .X...X..h$..
|
|
|
|
0000665c <__fsym___cmd_list_msgqueue>:
|
|
665c: 5904 0000 58e4 0000 231e 0000 .Y...X...#..
|
|
|
|
00006668 <__fsym_list_msgqueue>:
|
|
6668: 5938 0000 5918 0000 231e 0000 8Y...Y...#..
|
|
|
|
00006674 <__fsym___cmd_list_mailbox>:
|
|
6674: 5960 0000 5948 0000 2260 0000 `Y..HY..`"..
|
|
|
|
00006680 <__fsym_list_mailbox>:
|
|
6680: 598c 0000 5974 0000 2260 0000 .Y..tY..`"..
|
|
|
|
0000668c <__fsym___cmd_list_mutex>:
|
|
668c: 59b4 0000 599c 0000 21de 0000 .Y...Y...!..
|
|
|
|
00006698 <__fsym_list_mutex>:
|
|
6698: 59e0 0000 59c8 0000 21de 0000 .Y...Y...!..
|
|
|
|
000066a4 <__fsym___cmd_list_event>:
|
|
66a4: 5a04 0000 59ec 0000 2132 0000 .Z...Y..2!..
|
|
|
|
000066b0 <__fsym_list_event>:
|
|
66b0: 5a30 0000 5a18 0000 2132 0000 0Z...Z..2!..
|
|
|
|
000066bc <__fsym___cmd_list_sem>:
|
|
66bc: 5a58 0000 5a3c 0000 207c 0000 XZ..<Z..| ..
|
|
|
|
000066c8 <__fsym_list_sem>:
|
|
66c8: 5a84 0000 5a68 0000 207c 0000 .Z..hZ..| ..
|
|
|
|
000066d4 <__fsym___cmd_list_thread>:
|
|
66d4: 5a9c 0000 5a90 0000 1f98 0000 .Z...Z......
|
|
|
|
000066e0 <__fsym_list_thread>:
|
|
66e0: 5abc 0000 5ab0 0000 1f98 0000 .Z...Z......
|
|
|
|
000066ec <__fsym___cmd_clear>:
|
|
66ec: 5adc 0000 5ac8 0000 1eee 0000 .Z...Z......
|
|
|
|
000066f8 <__fsym_clear>:
|
|
66f8: 5afc 0000 5ae8 0000 1eee 0000 .Z...Z......
|
|
|
|
00006704 <__fsym___cmd_reboot>:
|
|
6704: 5b18 0000 5b04 0000 1edc 0000 .[...[......
|
|
|
|
00006710 <__fsym_reboot>:
|
|
6710: 5b3c 0000 5b28 0000 1edc 0000 <[..([......
|
|
|
|
0000671c <__fsym___cmd_help>:
|
|
671c: 5cf0 0000 5cd8 0000 254c 0000 .\...\..L%..
|
|
|
|
00006728 <__fsym___cmd_free>:
|
|
6728: 5d20 0000 5cfc 0000 2802 0000 ]...\...(..
|
|
|
|
00006734 <__fsym___cmd_ps>:
|
|
6734: 5d48 0000 5d2c 0000 27f4 0000 H]..,]...'..
|
|
|
|
00006740 <__fsym_pinRead>:
|
|
6740: 5df4 0000 5dd4 0000 3152 0000 .]...]..R1..
|
|
|
|
0000674c <__fsym_pinWrite>:
|
|
674c: 5e18 0000 5dfc 0000 3138 0000 .^...]..81..
|
|
|
|
00006758 <__fsym_pinMode>:
|
|
6758: 5e3c 0000 5e24 0000 311e 0000 <^..$^...1..
|
|
|
|
00006764 <__rt_init_rti_start>:
|
|
6764: 04d0 0000 ....
|
|
|
|
00006768 <__rt_init_rti_board_start>:
|
|
6768: 04d8 0000 ....
|
|
|
|
0000676c <__rt_init_rt_hw_pin_init>:
|
|
676c: 33a4 0000 .3..
|
|
|
|
00006770 <__rt_init_rt_hw_usart_init>:
|
|
6770: 399c 0000 .9..
|
|
|
|
00006774 <__rt_init_rti_board_end>:
|
|
6774: 04dc 0000 ....
|
|
|
|
00006778 <__rt_init_finsh_system_init>:
|
|
6778: 2822 0000 "(..
|
|
|
|
0000677c <__rt_init_rti_end>:
|
|
677c: 04d4 0000 ....
|