7419 lines
342 KiB
Plaintext
7419 lines
342 KiB
Plaintext
|
|
rt-thread.elf: file format elf32-littleriscv
|
|
rt-thread.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 0x00005698 memsz 0x00005698 flags r-x
|
|
LOAD off 0x00007000 vaddr 0x20000000 paddr 0x00005698 align 2**12
|
|
filesz 0x00000168 memsz 0x000016fc flags rw-
|
|
LOAD off 0x00007800 vaddr 0x2000f800 paddr 0x2000f800 align 2**12
|
|
filesz 0x00000000 memsz 0x00000800 flags rw-
|
|
|
|
Sections:
|
|
Idx Name Size VMA LMA File off Algn
|
|
0 .init 00000004 00000000 00000000 00001000 2**1
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
1 .vector 000001bc 00000004 00000004 00001004 2**1
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
2 .text 000054d8 000001c0 000001c0 000011c0 2**2
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
3 .fini 00000000 00005698 00005698 00007168 2**0
|
|
CONTENTS, ALLOC, LOAD, CODE
|
|
4 .dalign 00000000 20000000 20000000 00007168 2**0
|
|
CONTENTS
|
|
5 .dlalign 00000000 00005698 00005698 00007168 2**0
|
|
CONTENTS
|
|
6 .data 00000168 20000000 00005698 00007000 2**2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
7 .bss 00001594 20000168 00005800 00007168 2**2
|
|
ALLOC
|
|
8 .stack 00000800 2000f800 2000f800 00007800 2**0
|
|
ALLOC
|
|
9 .debug_info 000205aa 00000000 00000000 00007168 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
10 .debug_abbrev 000061e7 00000000 00000000 00027712 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
11 .debug_loc 00009af4 00000000 00000000 0002d8f9 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
12 .debug_aranges 00000f28 00000000 00000000 000373f0 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
13 .debug_ranges 000015a0 00000000 00000000 00038318 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
14 .debug_line 00015e9b 00000000 00000000 000398b8 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
15 .debug_str 00004a3f 00000000 00000000 0004f753 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
16 .comment 00000033 00000000 00000000 00054192 2**0
|
|
CONTENTS, READONLY
|
|
17 .debug_frame 00002984 00000000 00000000 000541c8 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
|
|
00005698 l d .fini 00000000 .fini
|
|
20000000 l d .dalign 00000000 .dalign
|
|
00005698 l d .dlalign 00000000 .dlalign
|
|
20000000 l d .data 00000000 .data
|
|
20000168 l d .bss 00000000 .bss
|
|
2000f800 l d .stack 00000000 .stack
|
|
00000000 l d .debug_info 00000000 .debug_info
|
|
00000000 l d .debug_abbrev 00000000 .debug_abbrev
|
|
00000000 l d .debug_loc 00000000 .debug_loc
|
|
00000000 l d .debug_aranges 00000000 .debug_aranges
|
|
00000000 l d .debug_ranges 00000000 .debug_ranges
|
|
00000000 l d .debug_line 00000000 .debug_line
|
|
00000000 l d .debug_str 00000000 .debug_str
|
|
00000000 l d .comment 00000000 .comment
|
|
00000000 l d .debug_frame 00000000 .debug_frame
|
|
00000000 l df *ABS* 00000000 ./Startup/startup_ch32v30x_D8C.o
|
|
00000004 l .vector 00000000 _vector_base
|
|
00000000 l df *ABS* 00000000 clock.c
|
|
20000168 l O .bss 00000004 rt_tick
|
|
00000000 l df *ABS* 00000000 components.c
|
|
000004a6 l F .text 00000004 rti_start
|
|
000004aa l F .text 00000004 rti_end
|
|
000004ae l F .text 00000004 rti_board_start
|
|
000004b2 l F .text 00000004 rti_board_end
|
|
00000000 l df *ABS* 00000000 device.c
|
|
00000000 l df *ABS* 00000000 idle.c
|
|
00000738 l F .text 0000001c rt_thread_idle_entry
|
|
20000210 l O .bss 00000080 idle
|
|
20000290 l O .bss 00000010 idle_hook_list
|
|
200002a0 l O .bss 00000200 rt_thread_stack
|
|
00000000 l df *ABS* 00000000 ipc.c
|
|
0000078a l F .text 0000005a rt_ipc_list_suspend
|
|
00000000 l df *ABS* 00000000 irq.c
|
|
2000016c l O .bss 00000004 rt_interrupt_enter_hook
|
|
20000170 l O .bss 00000004 rt_interrupt_leave_hook
|
|
00000000 l df *ABS* 00000000 kservice.c
|
|
0000092a l F .text 0000017e print_number
|
|
200004a0 l O .bss 00000080 rt_log_buf.2693
|
|
000041a0 l O .text 00000011 large_digits.2583
|
|
00004244 l O .text 00000011 small_digits.2582
|
|
20000178 l O .bss 00000004 __rt_errno
|
|
2000017c l O .bss 00000004 _console_device
|
|
00000000 l df *ABS* 00000000 mem.c
|
|
00001078 l F .text 00000058 plug_holes
|
|
20000520 l O .bss 00000020 heap_sem
|
|
20000180 l O .bss 00000004 heap_end
|
|
20000184 l O .bss 00000004 heap_ptr
|
|
20000188 l O .bss 00000004 lfree
|
|
2000018c l O .bss 00000004 max_mem
|
|
20000190 l O .bss 00000004 mem_size_aligned
|
|
20000194 l O .bss 00000004 rt_free_hook
|
|
20000198 l O .bss 00000004 rt_malloc_hook
|
|
2000019c l O .bss 00000004 used_mem
|
|
00000000 l df *ABS* 00000000 object.c
|
|
20000000 l O .data 00000080 rt_object_container
|
|
200001a0 l O .bss 00000004 rt_object_attach_hook
|
|
200001a4 l O .bss 00000004 rt_object_detach_hook
|
|
00000000 l df *ABS* 00000000 scheduler.c
|
|
200001bc l O .bss 00000004 rt_scheduler_hook
|
|
200001c0 l O .bss 00000002 rt_scheduler_lock_nest
|
|
00000000 l df *ABS* 00000000 thread.c
|
|
0000169c l F .text 0000008e _rt_thread_init.isra.0
|
|
200001d0 l O .bss 00000004 rt_thread_inited_hook
|
|
200001d4 l O .bss 00000004 rt_thread_resume_hook
|
|
200001d8 l O .bss 00000004 rt_thread_suspend_hook
|
|
00000000 l df *ABS* 00000000 timer.c
|
|
000018dc l F .text 00000012 _rt_timer_remove.part.1
|
|
200001dc l O .bss 00000004 random_nr.2483
|
|
200001e0 l O .bss 00000004 rt_timer_enter_hook
|
|
200001e4 l O .bss 00000004 rt_timer_exit_hook
|
|
200001e8 l O .bss 00000008 rt_timer_list
|
|
00000000 l df *ABS* 00000000 cpuport.c
|
|
00000000 l df *ABS* 00000000 cmd.c
|
|
00001b38 l F .text 00000012 rt_list_len
|
|
00001b72 l F .text 00000020 object_split
|
|
00001b92 l F .text 00000036 show_wait_queue
|
|
00001bc8 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
|
|
0000247a l F .text 00000012 finsh_rx_ind
|
|
00002560 l F .text 0000002e shell_handle_history
|
|
200005c0 l O .bss 00000081 finsh_prompt.4315
|
|
00000000 l df *ABS* 00000000 serial.c
|
|
00002a1c l F .text 00000020 rt_serial_init
|
|
00002a3c l F .text 00000042 rt_serial_write
|
|
00002a7e l F .text 0000009e rt_serial_open
|
|
00002b1c l F .text 0000006e rt_serial_control
|
|
00002b8a l F .text 0000009e rt_serial_read
|
|
00002c28 l F .text 00000040 rt_serial_close
|
|
00000000 l df *ABS* 00000000 pin.c
|
|
00002d6c l F .text 0000001c _pin_control
|
|
00002dd4 l F .text 0000002e _pin_read
|
|
00002e02 l F .text 0000002c _pin_write
|
|
20000644 l O .bss 00000048 _hw_pin
|
|
00000000 l df *ABS* 00000000 board.c
|
|
2000068c l O .bss 00001000 rt_heap
|
|
00000000 l df *ABS* 00000000 drv_gpio.c
|
|
00002f2c l F .text 0000001c bit2bitno
|
|
00002f48 l F .text 00000012 GPIOD_CLK_ENABLE
|
|
00002f5a l F .text 00000010 GPIOB_CLK_ENABLE
|
|
00002f6a l F .text 00000010 GPIOA_CLK_ENABLE
|
|
00002f7a l F .text 00000010 GPIOC_CLK_ENABLE
|
|
00002f8a l F .text 00000012 GPIOE_CLK_ENABLE
|
|
00004dcc l O .text 00000018 _ch32_pin_ops
|
|
00004de4 l O .text 00000080 pin_irq_map
|
|
00004e64 l O .text 00000650 pins
|
|
00000000 l df *ABS* 00000000 drv_usart.c
|
|
000034b2 l F .text 000000ca ch32_configure
|
|
0000363c l F .text 00000022 ch32_getc
|
|
0000365e l F .text 00000022 ch32_putc
|
|
00003680 l F .text 0000005a ch32_control
|
|
000054b8 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 system_ch32v30x.c
|
|
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_rcc.c
|
|
20000150 l O .data 00000010 APBAHBPrescTable
|
|
20000164 l O .data 00000004 ADCPrescTable
|
|
00000000 l df *ABS* 00000000 ch32v30x_usart.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 symbol.c
|
|
00003352 g F .text 00000028 EXTI2_IRQHandler
|
|
000039ce w .text 00000000 TIM8_TRG_COM_IRQHandler
|
|
000012aa g F .text 00000024 rt_calloc
|
|
000039ce w .text 00000000 TIM8_CC_IRQHandler
|
|
000055f8 g O .text 0000000c __fsym_list_thread
|
|
0000054e g F .text 0000000a entry
|
|
00003fbc g F .text 00000010 strcpy
|
|
00001c06 g F .text 000000e0 list_thread
|
|
0000260c g F .text 00000410 finsh_thread_entry
|
|
000014b6 g F .text 00000008 rt_object_is_systemobject
|
|
00000b94 g F .text 0000002c rt_strncpy
|
|
00001ab0 g F .text 00000036 rt_hw_stack_init
|
|
000039ce w .text 00000000 UART8_IRQHandler
|
|
00002212 g F .text 000001aa msh_exec
|
|
0000490c g O .text 0000000d __fsym_list_mailbox_name
|
|
0000142e g F .text 00000056 rt_object_allocate
|
|
00005658 g O .text 0000000c __fsym_pinRead
|
|
000040a0 g O .text 00000100 __lowest_bit_bitmap
|
|
20000960 g .data 00000000 __global_pointer$
|
|
000014ec g F .text 0000002c rt_system_scheduler_start
|
|
00000378 g F .text 00000028 .hidden __riscv_save_8
|
|
000039ce w .text 00000000 TIM1_CC_IRQHandler
|
|
200001f4 g O .bss 00000004 rt_interrupt_to_thread
|
|
00003742 g F .text 00000020 HardFault_Handler
|
|
00004a04 g O .text 00000009 __fsym_list_sem_name
|
|
000003c4 g F .text 0000000c .hidden __riscv_restore_3
|
|
000039ce w .text 00000000 TIM6_IRQHandler
|
|
000006be g F .text 00000006 rt_device_set_rx_indicate
|
|
00002f0c g F .text 00000020 SysTick_Handler
|
|
000012ce g F .text 000000aa rt_free
|
|
200001f0 g O .bss 00000004 rt_interrupt_from_thread
|
|
00001102 g F .text 0000007c rt_system_heap_init
|
|
000039ce w .text 00000000 PVD_IRQHandler
|
|
000004f2 g F .text 0000000c main_thread_entry
|
|
000039ce w .text 00000000 SDIO_IRQHandler
|
|
000039ce w .text 00000000 TIM9_BRK_IRQHandler
|
|
00004abc g O .text 00000007 __fsym_reboot_name
|
|
00001a2e g F .text 00000076 rt_timer_check
|
|
000003b0 g F .text 00000020 .hidden __riscv_restore_10
|
|
00001582 g F .text 00000044 rt_schedule_insert_thread
|
|
00001ce6 g F .text 000000b6 list_sem
|
|
000005d4 g F .text 0000007a rt_device_open
|
|
000039ce w .text 00000000 DMA2_Channel8_IRQHandler
|
|
00003722 g F .text 00000020 NMI_Handler
|
|
000039ce w .text 00000000 CAN2_RX1_IRQHandler
|
|
0000337a g F .text 00000028 EXTI3_IRQHandler
|
|
00000378 g F .text 00000028 .hidden __riscv_save_11
|
|
00003a62 g F .text 0000000a DBGMCU_GetCHIPID
|
|
0000216c g F .text 0000004a list
|
|
000042c0 g O .text 00000009 __fsym_list_mem_name
|
|
20000208 g O .bss 00000004 _sysvar_table_begin
|
|
00004934 g O .text 00000011 __fsym___cmd_list_mutex_name
|
|
00005698 g .text 00000000 __rtmsymtab_start
|
|
000039ce w .text 00000000 USBHS_IRQHandler
|
|
00003e6e g F .text 0000000a USART_GetFlagStatus
|
|
000039ce w .text 00000000 DMA2_Channel9_IRQHandler
|
|
000006c4 g F .text 00000074 rt_thread_idle_excute
|
|
0000181a g F .text 0000004a rt_thread_suspend
|
|
00000f84 g F .text 00000068 rt_kprintf
|
|
000039ce w .text 00000000 TIM10_CC_IRQHandler
|
|
00000924 g F .text 00000006 rt_interrupt_get_nest
|
|
20000168 g .bss 00000000 _sbss
|
|
00000800 g *ABS* 00000000 __stack_size
|
|
0000172a g F .text 00000020 rt_thread_timeout
|
|
00004a5c g O .text 0000000c __fsym___cmd_clear_name
|
|
0000246c g F .text 0000000e cmd_free
|
|
000039ce w .text 00000000 USBFS_IRQHandler
|
|
00004998 g O .text 00000015 __fsym_list_event_desc
|
|
00005580 g O .text 0000000c __fsym_list_msgqueue
|
|
0000567c g .text 00000000 __rt_init_start
|
|
00001eca g F .text 000000be list_mailbox
|
|
000003c4 g F .text 0000000c .hidden __riscv_restore_2
|
|
00004da4 g O .text 00000016 __fsym_pinMode_desc
|
|
0000567c g .text 00000000 __fsymtab_end
|
|
00002da2 g F .text 0000001a rt_pin_write
|
|
00004a48 g O .text 00000014 __fsym___cmd_clear_desc
|
|
00000686 g F .text 0000001c rt_device_read
|
|
200001fc g O .bss 00000004 shell
|
|
00003eec g F .text 000000b2 memcpy
|
|
0000248c g F .text 00000098 finsh_system_init
|
|
000004d4 g F .text 0000001e rt_components_init
|
|
00003302 g F .text 00000028 EXTI0_IRQHandler
|
|
000039ce w .text 00000000 I2C2_EV_IRQHandler
|
|
000039ce w .text 00000000 TIM10_TRG_COM_IRQHandler
|
|
000018ee g F .text 0000003a rt_timer_init
|
|
00005698 g .text 00000000 __rt_init_end
|
|
00000754 g F .text 00000036 rt_thread_idle_init
|
|
20000160 g O .data 00000004 SystemCoreClock
|
|
000055b0 g O .text 0000000c __fsym_list_mutex
|
|
20000204 g O .bss 00000004 _syscall_table_end
|
|
200016e4 g O .bss 00000018 uart1
|
|
000014be g F .text 0000002e rt_system_scheduler_init
|
|
00000558 g F .text 00000048 rt_device_find
|
|
000001c0 g .text 00000000 rt_hw_context_switch_to
|
|
00005684 g O .text 00000004 __rt_init_rt_hw_pin_init
|
|
00000004 g .init 00000000 _einit
|
|
200001f8 g O .bss 00000004 rt_thread_switch_interrupt_flag
|
|
00003d74 g F .text 0000001e RCC_APB2PeriphClockCmd
|
|
00000370 g F .text 00000030 .hidden __riscv_save_12
|
|
000039ce w .text 00000000 CAN2_SCE_IRQHandler
|
|
000039ce w .text 00000000 ADC1_2_IRQHandler
|
|
00005694 g O .text 00000004 __rt_init_rti_end
|
|
00003afe g F .text 000000c0 GPIO_Init
|
|
000049d8 g O .text 0000000f __fsym___cmd_list_sem_name
|
|
000039ce w .text 00000000 Break_Point_Handler
|
|
00005574 g O .text 0000000c __fsym___cmd_list_msgqueue
|
|
000047a0 g O .text 0000001a __fsym_list_desc
|
|
000003b0 g F .text 00000020 .hidden __riscv_restore_11
|
|
000039ce w .text 00000000 SPI1_IRQHandler
|
|
00002c68 g F .text 0000005a rt_hw_serial_register
|
|
00003e22 g F .text 00000016 USART_Cmd
|
|
000047bc g O .text 00000005 __fsym_list_name
|
|
00001b16 g F .text 00000022 rt_hw_context_switch_interrupt
|
|
00004a98 g O .text 0000000d __fsym___cmd_reboot_name
|
|
000039ce w .text 00000000 TAMPER_IRQHandler
|
|
000003a0 g F .text 0000000c .hidden __riscv_save_1
|
|
000003c4 g F .text 0000000c .hidden __riscv_restore_0
|
|
00004a10 g O .text 0000000c __fsym___cmd_list_thread_desc
|
|
00004a7c g O .text 00000006 __fsym_clear_name
|
|
00001782 g F .text 00000046 rt_thread_create
|
|
00000386 g F .text 0000001a .hidden __riscv_save_7
|
|
00005698 g .text 00000000 __rtmsymtab_end
|
|
00004858 g O .text 0000000b __fsym_list_timer_name
|
|
00003eb4 g F .text 00000014 USART_ClearITPendingBit
|
|
000039ce w .text 00000000 CAN2_RX0_IRQHandler
|
|
000017c8 g F .text 00000052 rt_thread_yield
|
|
000039ce w .text 00000000 TIM8_UP_IRQHandler
|
|
000004fe g F .text 00000028 rt_application_init
|
|
000039ce w .text 00000000 Ecall_M_Mode_Handler
|
|
0000117e g F .text 0000012c rt_malloc
|
|
2000f800 g .stack 00000000 _heap_end
|
|
0000088c g F .text 00000040 rt_sem_release
|
|
000055e0 g O .text 0000000c __fsym_list_sem
|
|
000003ba g F .text 00000016 .hidden __riscv_restore_5
|
|
00002e82 w F .text 0000000a rt_heap_begin_get
|
|
000039ce w .text 00000000 DMA2_Channel2_IRQHandler
|
|
00005538 g O .text 0000000c __fsym_list
|
|
000039ce w .text 00000000 DMA1_Channel4_IRQHandler
|
|
00001ae6 g F .text 00000010 sw_setpend
|
|
20000080 g O .data 000000c0 pin_irq_hdr_tab
|
|
00004a1c g O .text 00000012 __fsym___cmd_list_thread_name
|
|
00004dbc g O .text 00000008 __fsym_pinMode_name
|
|
0000561c g O .text 0000000c __fsym___cmd_reboot
|
|
000048f4 g O .text 00000018 __fsym_list_mailbox_desc
|
|
00001928 g F .text 0000001e rt_timer_detach
|
|
000039ce w .text 00000000 TIM9_UP_IRQHandler
|
|
0000220e g F .text 00000004 msh_is_used
|
|
000003ba g F .text 00000016 .hidden __riscv_restore_6
|
|
000039ce w .text 00000000 USART3_IRQHandler
|
|
00003af4 g F .text 0000000a EXTI_ClearITPendingBit
|
|
000004b6 g F .text 0000001e rt_components_board_init
|
|
000039ce w .text 00000000 RTC_IRQHandler
|
|
00004aa8 g O .text 00000011 __fsym_reboot_desc
|
|
00000fec g F .text 0000003e rt_show_version
|
|
200016fc g .bss 00000000 _ebss
|
|
00003e78 g F .text 0000003c USART_GetITStatus
|
|
0000567c g O .text 00000004 __rt_init_rti_start
|
|
000039ce w .text 00000000 DMA1_Channel7_IRQHandler
|
|
00002e96 g F .text 00000076 rt_hw_board_init
|
|
00002e2e g F .text 00000054 rt_device_pin_register
|
|
00005604 g O .text 0000000c __fsym___cmd_clear
|
|
000039ce w .text 00000000 CAN1_RX1_IRQHandler
|
|
00001864 g F .text 0000004c rt_thread_resume
|
|
00000526 g F .text 00000028 rtthread_startup
|
|
00003128 g F .text 0000005a ch32_pin_dettach_irq
|
|
000039ce w .text 00000000 DVP_IRQHandler
|
|
000039ce w .text 00000000 UART5_IRQHandler
|
|
000048b8 g O .text 0000000e __fsym_list_msgqueue_name
|
|
000019f6 g F .text 00000038 rt_timer_control
|
|
00001378 g F .text 0000002a rt_object_get_information
|
|
20000540 g O .bss 00000080 rt_thread_priority_table
|
|
2000168c g O .bss 00000058 serial1
|
|
000039ce w .text 00000000 TIM4_IRQHandler
|
|
00004d54 g O .text 0000001e __fsym_pinRead_desc
|
|
00001b5c g F .text 00000016 clear
|
|
200001a8 g O .bss 00000004 rt_object_put_hook
|
|
00000378 g F .text 00000028 .hidden __riscv_save_9
|
|
00003bc8 g F .text 0000000a GPIO_WriteBit
|
|
00003f9e g F .text 0000001e strcat
|
|
0000164c g F .text 00000050 rt_thread_exit
|
|
000039ce w .text 00000000 DMA2_Channel1_IRQHandler
|
|
0000496c g O .text 00000015 __fsym___cmd_list_event_desc
|
|
000005a0 g F .text 00000034 rt_device_register
|
|
00000b4c g F .text 00000048 rt_memmove
|
|
00000386 g F .text 0000001a .hidden __riscv_save_4
|
|
000032de g F .text 00000024 HAL_GPIO_EXTI_Callback
|
|
00001b4a g F .text 00000012 reboot
|
|
000039ce w .text 00000000 I2C1_EV_IRQHandler
|
|
0000558c g O .text 0000000c __fsym___cmd_list_mailbox
|
|
00003bfe g F .text 00000176 RCC_GetClocksFreq
|
|
00004d98 g O .text 00000009 __fsym_pinWrite_name
|
|
000039ce w .text 00000000 DMA1_Channel6_IRQHandler
|
|
00001f88 g F .text 000000b6 list_msgqueue
|
|
000039ce w .text 00000000 UART4_IRQHandler
|
|
000039ce w .text 00000000 DMA2_Channel4_IRQHandler
|
|
00003d92 g F .text 00000090 USART_Init
|
|
000039ce w .text 00000000 TIM3_IRQHandler
|
|
000039ce w .text 00000000 RCC_IRQHandler
|
|
00000bea g F .text 00000012 rt_strlen
|
|
000003a0 g F .text 0000000c .hidden __riscv_save_3
|
|
000039ce w .text 00000000 TIM1_TRG_COM_IRQHandler
|
|
00005628 g O .text 0000000c __fsym_reboot
|
|
00005634 g O .text 0000000c __fsym___cmd_help
|
|
000039ce w .text 00000000 DMA1_Channel1_IRQHandler
|
|
200001b4 g O .bss 00000001 rt_current_priority
|
|
00003018 g F .text 0000007e ch32_pin_mode
|
|
0000555c g O .text 0000000c __fsym___cmd_list_timer
|
|
00000000 g .init 00000000 _start
|
|
000048c8 g O .text 00000018 __fsym___cmd_list_mailbox_desc
|
|
000039ce w .text 00000000 DMA2_Channel7_IRQHandler
|
|
20000140 g O .data 00000010 AHBPrescTable
|
|
00001d9c g F .text 000000ac list_event
|
|
0000343c g F .text 00000072 EXTI15_10_IRQHandler
|
|
00003fde g F .text 00000028 strncmp
|
|
00002d88 g F .text 0000001a rt_pin_mode
|
|
00003e38 g F .text 00000036 USART_ITConfig
|
|
00005670 g O .text 0000000c __fsym_pinMode
|
|
000047c4 g O .text 00000016 __fsym___cmd_list_device_desc
|
|
00003a6c g F .text 0000006a EXTI_Init
|
|
00005550 g O .text 0000000c __fsym_list_device
|
|
000055a4 g O .text 0000000c __fsym___cmd_list_mutex
|
|
00002dbc g F .text 00000018 rt_pin_read
|
|
00004c70 g O .text 0000000b __fsym___cmd_help_name
|
|
0000047e g F .text 00000028 rt_tick_increase
|
|
000010d0 g F .text 00000032 list_mem
|
|
00004cac g O .text 0000001b __fsym___cmd_ps_desc
|
|
000039ce w .text 00000000 TIM7_IRQHandler
|
|
00004948 g O .text 00000015 __fsym_list_mutex_desc
|
|
000019c6 g F .text 00000030 rt_timer_stop
|
|
000039ce w .text 00000000 CAN2_TX_IRQHandler
|
|
00004c7c g O .text 00000024 __fsym___cmd_free_desc
|
|
20000000 g .dalign 00000000 _data_vma
|
|
00000bfc g F .text 00000352 rt_vsnprintf
|
|
000055ec g O .text 0000000c __fsym___cmd_list_thread
|
|
000039ce w .text 00000000 TIM5_IRQHandler
|
|
00003ec8 g F .text 00000024 memcmp
|
|
00002fd8 g F .text 00000022 ch32_pin_write
|
|
000033ca g F .text 00000072 EXTI9_5_IRQHandler
|
|
00004a68 g O .text 00000014 __fsym_clear_desc
|
|
00001af6 g F .text 0000000e sw_clearpend
|
|
20000200 g O .bss 00000004 _syscall_table_begin
|
|
00002e8c w F .text 0000000a rt_heap_end_get
|
|
00003bd2 g F .text 0000002c GPIO_EXTILineConfig
|
|
00000378 g F .text 00000028 .hidden __riscv_save_10
|
|
000034ae g F .text 00000004 ch32dma_transmit
|
|
00002524 g F .text 0000003c finsh_get_prompt
|
|
000039ce w .text 00000000 ETH_WKUP_IRQHandler
|
|
000003ba g F .text 00000016 .hidden __riscv_restore_4
|
|
000003b0 g F .text 00000020 .hidden __riscv_restore_8
|
|
0000102a g F .text 0000004e __rt_ffs
|
|
00000386 g F .text 0000001a .hidden __riscv_save_6
|
|
00003ad6 g F .text 0000001e EXTI_GetITStatus
|
|
000039ce w .text 00000000 SPI2_IRQHandler
|
|
000023bc g F .text 000000a2 msh_auto_complete
|
|
2000020c g O .bss 00000004 _sysvar_table_end
|
|
00001608 g F .text 00000016 rt_enter_critical
|
|
000003d0 g F .text 000000a8 memset
|
|
000003b0 g F .text 00000020 .hidden __riscv_restore_9
|
|
000003ba g F .text 00000016 .hidden __riscv_restore_7
|
|
00003762 g F .text 00000044 main
|
|
00004c58 g O .text 00000015 __fsym___cmd_help_desc
|
|
000039ce w .text 00000000 TIM10_BRK_IRQHandler
|
|
000008f8 g F .text 0000002c rt_interrupt_leave
|
|
000039ce w .text 00000000 TIM9_CC_IRQHandler
|
|
0000482c g O .text 00000011 __fsym___cmd_list_timer_name
|
|
000039ce w .text 00000000 DMA2_Channel5_IRQHandler
|
|
00001aae g F .text 00000002 rt_system_timer_thread_init
|
|
0000174a g F .text 00000032 rt_thread_init
|
|
00004814 g O .text 00000015 __fsym___cmd_list_timer_desc
|
|
0000567c g .text 00000000 __vsymtab_start
|
|
000039ce w .text 00000000 DMA1_Channel5_IRQHandler
|
|
000033a2 g F .text 00000028 EXTI4_IRQHandler
|
|
000049bc g O .text 00000019 __fsym___cmd_list_sem_desc
|
|
20000174 g O .bss 00000001 rt_interrupt_nest
|
|
000039ce w .text 00000000 USB_LP_CAN1_RX0_IRQHandler
|
|
00004a84 g O .text 00000011 __fsym___cmd_reboot_desc
|
|
0000491c g O .text 00000015 __fsym___cmd_list_mutex_desc
|
|
00000f82 w F .text 00000002 rt_hw_console_output
|
|
200001ac g O .bss 00000004 rt_object_take_hook
|
|
000020d2 g F .text 0000009a list_timer
|
|
00004864 g O .text 0000001d __fsym___cmd_list_msgqueue_desc
|
|
000037a6 g F .text 000000fa SystemInit
|
|
000039ce w .text 00000000 RNG_IRQHandler
|
|
00004ca0 g O .text 0000000b __fsym___cmd_free_name
|
|
00001b04 g F .text 0000000c rt_hw_interrupt_disable
|
|
000018b0 g F .text 0000002c rt_thread_startup
|
|
200001b8 g O .bss 00000004 rt_current_thread
|
|
00000f4e g F .text 00000006 rt_console_get_device
|
|
000039ce w .text 00000000 USB_HP_CAN1_TX_IRQHandler
|
|
00000000 g .init 00000000 _sinit
|
|
00004960 g O .text 0000000b __fsym_list_mutex_name
|
|
000039ce w .text 00000000 DMA1_Channel3_IRQHandler
|
|
200001cc g O .bss 00000004 rt_thread_ready_priority_group
|
|
000039ce w .text 00000000 ETH_IRQHandler
|
|
00005640 g O .text 0000000c __fsym___cmd_free
|
|
000039ce w .text 00000000 TIM1_UP_IRQHandler
|
|
000048e0 g O .text 00000013 __fsym___cmd_list_mailbox_name
|
|
000047dc g O .text 00000012 __fsym___cmd_list_device_name
|
|
200001c4 g O .bss 00000008 rt_thread_defunct
|
|
0000568c g O .text 00000004 __rt_init_rti_board_end
|
|
000039ce w .text 00000000 WWDG_IRQHandler
|
|
00005664 g O .text 0000000c __fsym_pinWrite
|
|
000007e4 g F .text 00000028 rt_sem_init
|
|
00000236 g .text 00000000 rt_hw_context_switch_exit
|
|
000039ce w .text 00000000 USBHSWakeup_IRQHandler
|
|
00000ac4 g F .text 00000088 rt_memset
|
|
000039ce w .text 00000000 DMA2_Channel11_IRQHandler
|
|
0000203e g F .text 00000094 list_device
|
|
000039ce w .text 00000000 Ecall_U_Mode_Handler
|
|
00005598 g O .text 0000000c __fsym_list_mailbox
|
|
00000bc0 g F .text 0000002a rt_strncmp
|
|
000055bc g O .text 0000000c __fsym___cmd_list_event
|
|
000039ce w .text 00000000 DMA2_Channel6_IRQHandler
|
|
0000567c g .text 00000000 __vsymtab_end
|
|
00004d74 g O .text 00000008 __fsym_pinRead_name
|
|
00004cc8 g O .text 00000009 __fsym___cmd_ps_name
|
|
00005568 g O .text 0000000c __fsym_list_timer
|
|
000039ce w .text 00000000 TIM2_IRQHandler
|
|
20010000 g .stack 00000000 _eusrstack
|
|
00001400 g F .text 0000002e rt_object_detach
|
|
000003a0 g F .text 0000000c .hidden __riscv_save_2
|
|
00000290 g .text 00000000 SW_Handler
|
|
00005688 g O .text 00000004 __rt_init_rt_hw_usart_init
|
|
00000aa8 g F .text 0000001c rt_set_errno
|
|
00001aa4 g F .text 0000000a rt_system_timer_init
|
|
000039ce w .text 00000000 TIM1_BRK_IRQHandler
|
|
000015c6 g F .text 00000042 rt_schedule_remove_thread
|
|
000008cc g F .text 0000002c rt_interrupt_enter
|
|
000039ce w .text 00000000 DMA2_Channel10_IRQHandler
|
|
0000332a g F .text 00000028 EXTI1_IRQHandler
|
|
00001b10 g F .text 00000006 rt_hw_interrupt_enable
|
|
00000386 g F .text 0000001a .hidden __riscv_save_5
|
|
0000552c g O .text 0000000c __fsym_list_mem
|
|
20000168 g .data 00000000 _edata
|
|
00005544 g O .text 0000000c __fsym___cmd_list_device
|
|
200016fc g .bss 00000000 _end
|
|
00004884 g O .text 00000014 __fsym___cmd_list_msgqueue_name
|
|
0000161e g F .text 0000002e rt_exit_critical
|
|
000039ce w .text 00000000 RTCAlarm_IRQHandler
|
|
00001e48 g F .text 00000082 list_mutex
|
|
0000245e g F .text 0000000e cmd_ps
|
|
00005698 g .dlalign 00000000 _data_lma
|
|
0000258e g F .text 0000007e finsh_set_device
|
|
000039ce w .text 00000000 TIM10_UP_IRQHandler
|
|
000039ce w .text 00000000 TIM9_TRG_COM_IRQHandler
|
|
000039ce w .text 00000000 UART7_IRQHandler
|
|
00002fb8 g F .text 00000020 get_pin
|
|
000039ce w .text 00000000 USART2_IRQHandler
|
|
000039ce w .text 00000000 UART6_IRQHandler
|
|
0000064e g F .text 00000038 rt_device_close
|
|
0000177c g F .text 00000006 rt_thread_self
|
|
00005690 g O .text 00000004 __rt_init_finsh_system_init
|
|
000047f0 g O .text 00000016 __fsym_list_device_desc
|
|
000038a0 g F .text 0000012e SystemCoreClockUpdate
|
|
00004a30 g O .text 0000000c __fsym_list_thread_desc
|
|
000039ce w .text 00000000 I2C2_ER_IRQHandler
|
|
000039ce w .text 00000000 DMA1_Channel2_IRQHandler
|
|
00001484 g F .text 00000032 rt_object_delete
|
|
0000357c g F .text 000000c0 rt_hw_usart_init
|
|
00000478 g F .text 00000006 rt_tick_get
|
|
000003ac g F .text 00000024 .hidden __riscv_restore_12
|
|
000039ce w .text 00000000 TIM8_BRK_IRQHandler
|
|
000049b0 g O .text 0000000b __fsym_list_event_name
|
|
000039d0 w .text 00000000 handle_reset
|
|
000039ce w .text 00000000 CAN1_SCE_IRQHandler
|
|
000055c8 g O .text 0000000c __fsym_list_event
|
|
200001b0 g O .bss 00000004 rt_object_trytake_hook
|
|
000039ce w .text 00000000 FLASH_IRQHandler
|
|
000003a0 g F .text 0000000c .hidden __riscv_save_0
|
|
00004984 g O .text 00000011 __fsym___cmd_list_event_name
|
|
000042a0 g O .text 0000001e __fsym_list_mem_desc
|
|
0000080c g F .text 00000080 rt_sem_take
|
|
000036da g F .text 00000048 USART1_IRQHandler
|
|
000055d4 g O .text 0000000c __fsym___cmd_list_sem
|
|
00003fcc g F .text 00000012 strlen
|
|
000039ce w .text 00000000 SPI3_IRQHandler
|
|
00004840 g O .text 00000015 __fsym_list_timer_desc
|
|
00000f54 g F .text 0000002e rt_console_set_device
|
|
00003096 g F .text 00000092 ch32_pin_attach_irq
|
|
000039ce w .text 00000000 I2C1_ER_IRQHandler
|
|
00005680 g O .text 00000004 __rt_init_rti_board_start
|
|
000006a2 g F .text 0000001c rt_device_write
|
|
00004a3c g O .text 0000000c __fsym_list_thread_name
|
|
0000552c g .text 00000000 __fsymtab_start
|
|
000003c4 g F .text 0000000c .hidden __riscv_restore_1
|
|
00002f9c g F .text 0000001c rt_hw_pin_init
|
|
00005610 g O .text 0000000c __fsym_clear
|
|
00001518 g F .text 0000006a rt_schedule
|
|
000013a2 g F .text 0000005e rt_object_init
|
|
00002ffa g F .text 0000001e ch32_pin_read
|
|
0000564c g O .text 0000000c __fsym___cmd_ps
|
|
00003bbe g F .text 0000000a GPIO_ReadInputDataBit
|
|
00004d7c g O .text 0000001c __fsym_pinWrite_desc
|
|
00001946 g F .text 00000080 rt_timer_start
|
|
000021b6 g F .text 00000058 msh_help
|
|
00002cc2 g F .text 000000aa rt_hw_serial_isr
|
|
000039ce w .text 00000000 USBWakeUp_IRQHandler
|
|
000001dc g .text 00000000 rt_hw_context_switch
|
|
000039ce w .text 00000000 DMA2_Channel3_IRQHandler
|
|
00003182 g F .text 0000015c ch32_pin_irq_enable
|
|
00004808 g O .text 0000000c __fsym_list_device_name
|
|
00004898 g O .text 0000001d __fsym_list_msgqueue_desc
|
|
000049e8 g O .text 00000019 __fsym_list_sem_desc
|
|
|
|
|
|
|
|
Disassembly of section .init:
|
|
|
|
00000000 <_sinit>:
|
|
0: 1d10306f j 39d0 <handle_reset>
|
|
|
|
Disassembly of section .vector:
|
|
|
|
00000004 <_vector_base>:
|
|
...
|
|
c: 3722 lhu s0,42(a4)
|
|
e: 0000 unimp
|
|
10: 3742 lhu s0,44(a4)
|
|
12: 0000 unimp
|
|
14: 0000 unimp
|
|
16: 0000 unimp
|
|
18: 39ce lhu a1,52(a1)
|
|
...
|
|
22: 0000 unimp
|
|
24: 39ce lhu a1,52(a1)
|
|
26: 0000 unimp
|
|
28: 39ce lhu a1,52(a1)
|
|
...
|
|
32: 0000 unimp
|
|
34: 2f0c lbu a1,24(a4)
|
|
36: 0000 unimp
|
|
38: 0000 unimp
|
|
3a: 0000 unimp
|
|
3c: 0290 addi a2,sp,320
|
|
3e: 0000 unimp
|
|
40: 0000 unimp
|
|
42: 0000 unimp
|
|
44: 39ce lhu a1,52(a1)
|
|
46: 0000 unimp
|
|
48: 39ce lhu a1,52(a1)
|
|
4a: 0000 unimp
|
|
4c: 39ce lhu a1,52(a1)
|
|
4e: 0000 unimp
|
|
50: 39ce lhu a1,52(a1)
|
|
52: 0000 unimp
|
|
54: 39ce lhu a1,52(a1)
|
|
56: 0000 unimp
|
|
58: 39ce lhu a1,52(a1)
|
|
5a: 0000 unimp
|
|
5c: 3302 lhu s0,32(a4)
|
|
5e: 0000 unimp
|
|
60: 332a lhu a0,34(a4)
|
|
62: 0000 unimp
|
|
64: 3352 lhu a2,36(a4)
|
|
66: 0000 unimp
|
|
68: 337a lhu a4,38(a4)
|
|
6a: 0000 unimp
|
|
6c: 33a2 lhu s0,34(a5)
|
|
6e: 0000 unimp
|
|
70: 39ce lhu a1,52(a1)
|
|
72: 0000 unimp
|
|
74: 39ce lhu a1,52(a1)
|
|
76: 0000 unimp
|
|
78: 39ce lhu a1,52(a1)
|
|
7a: 0000 unimp
|
|
7c: 39ce lhu a1,52(a1)
|
|
7e: 0000 unimp
|
|
80: 39ce lhu a1,52(a1)
|
|
82: 0000 unimp
|
|
84: 39ce lhu a1,52(a1)
|
|
86: 0000 unimp
|
|
88: 39ce lhu a1,52(a1)
|
|
8a: 0000 unimp
|
|
8c: 39ce lhu a1,52(a1)
|
|
8e: 0000 unimp
|
|
90: 39ce lhu a1,52(a1)
|
|
92: 0000 unimp
|
|
94: 39ce lhu a1,52(a1)
|
|
96: 0000 unimp
|
|
98: 39ce lhu a1,52(a1)
|
|
9a: 0000 unimp
|
|
9c: 39ce lhu a1,52(a1)
|
|
9e: 0000 unimp
|
|
a0: 33ca lhu a0,36(a5)
|
|
a2: 0000 unimp
|
|
a4: 39ce lhu a1,52(a1)
|
|
a6: 0000 unimp
|
|
a8: 39ce lhu a1,52(a1)
|
|
aa: 0000 unimp
|
|
ac: 39ce lhu a1,52(a1)
|
|
ae: 0000 unimp
|
|
b0: 39ce lhu a1,52(a1)
|
|
b2: 0000 unimp
|
|
b4: 39ce lhu a1,52(a1)
|
|
b6: 0000 unimp
|
|
b8: 39ce lhu a1,52(a1)
|
|
ba: 0000 unimp
|
|
bc: 39ce lhu a1,52(a1)
|
|
be: 0000 unimp
|
|
c0: 39ce lhu a1,52(a1)
|
|
c2: 0000 unimp
|
|
c4: 39ce lhu a1,52(a1)
|
|
c6: 0000 unimp
|
|
c8: 39ce lhu a1,52(a1)
|
|
ca: 0000 unimp
|
|
cc: 39ce lhu a1,52(a1)
|
|
ce: 0000 unimp
|
|
d0: 39ce lhu a1,52(a1)
|
|
d2: 0000 unimp
|
|
d4: 39ce lhu a1,52(a1)
|
|
d6: 0000 unimp
|
|
d8: 36da lhu a4,44(a3)
|
|
da: 0000 unimp
|
|
dc: 39ce lhu a1,52(a1)
|
|
de: 0000 unimp
|
|
e0: 39ce lhu a1,52(a1)
|
|
e2: 0000 unimp
|
|
e4: 343c lbu a5,11(s0)
|
|
e6: 0000 unimp
|
|
e8: 39ce lhu a1,52(a1)
|
|
ea: 0000 unimp
|
|
ec: 39ce lhu a1,52(a1)
|
|
ee: 0000 unimp
|
|
f0: 39ce lhu a1,52(a1)
|
|
f2: 0000 unimp
|
|
f4: 39ce lhu a1,52(a1)
|
|
f6: 0000 unimp
|
|
f8: 39ce lhu a1,52(a1)
|
|
fa: 0000 unimp
|
|
fc: 39ce lhu a1,52(a1)
|
|
fe: 0000 unimp
|
|
100: 39ce lhu a1,52(a1)
|
|
102: 0000 unimp
|
|
104: 0000 unimp
|
|
106: 0000 unimp
|
|
108: 39ce lhu a1,52(a1)
|
|
10a: 0000 unimp
|
|
10c: 39ce lhu a1,52(a1)
|
|
10e: 0000 unimp
|
|
110: 39ce lhu a1,52(a1)
|
|
112: 0000 unimp
|
|
114: 39ce lhu a1,52(a1)
|
|
116: 0000 unimp
|
|
118: 39ce lhu a1,52(a1)
|
|
11a: 0000 unimp
|
|
11c: 39ce lhu a1,52(a1)
|
|
11e: 0000 unimp
|
|
120: 39ce lhu a1,52(a1)
|
|
122: 0000 unimp
|
|
124: 39ce lhu a1,52(a1)
|
|
126: 0000 unimp
|
|
128: 39ce lhu a1,52(a1)
|
|
12a: 0000 unimp
|
|
12c: 39ce lhu a1,52(a1)
|
|
12e: 0000 unimp
|
|
130: 39ce lhu a1,52(a1)
|
|
132: 0000 unimp
|
|
134: 39ce lhu a1,52(a1)
|
|
136: 0000 unimp
|
|
138: 39ce lhu a1,52(a1)
|
|
13a: 0000 unimp
|
|
13c: 39ce lhu a1,52(a1)
|
|
13e: 0000 unimp
|
|
140: 39ce lhu a1,52(a1)
|
|
142: 0000 unimp
|
|
144: 39ce lhu a1,52(a1)
|
|
146: 0000 unimp
|
|
148: 39ce lhu a1,52(a1)
|
|
14a: 0000 unimp
|
|
14c: 39ce lhu a1,52(a1)
|
|
14e: 0000 unimp
|
|
150: 39ce lhu a1,52(a1)
|
|
152: 0000 unimp
|
|
154: 39ce lhu a1,52(a1)
|
|
156: 0000 unimp
|
|
158: 39ce lhu a1,52(a1)
|
|
15a: 0000 unimp
|
|
15c: 39ce lhu a1,52(a1)
|
|
15e: 0000 unimp
|
|
160: 39ce lhu a1,52(a1)
|
|
162: 0000 unimp
|
|
164: 39ce lhu a1,52(a1)
|
|
166: 0000 unimp
|
|
168: 39ce lhu a1,52(a1)
|
|
16a: 0000 unimp
|
|
16c: 39ce lhu a1,52(a1)
|
|
16e: 0000 unimp
|
|
170: 39ce lhu a1,52(a1)
|
|
172: 0000 unimp
|
|
174: 39ce lhu a1,52(a1)
|
|
176: 0000 unimp
|
|
178: 39ce lhu a1,52(a1)
|
|
17a: 0000 unimp
|
|
17c: 39ce lhu a1,52(a1)
|
|
17e: 0000 unimp
|
|
180: 39ce lhu a1,52(a1)
|
|
182: 0000 unimp
|
|
184: 39ce lhu a1,52(a1)
|
|
186: 0000 unimp
|
|
188: 39ce lhu a1,52(a1)
|
|
18a: 0000 unimp
|
|
18c: 39ce lhu a1,52(a1)
|
|
18e: 0000 unimp
|
|
190: 39ce lhu a1,52(a1)
|
|
192: 0000 unimp
|
|
194: 39ce lhu a1,52(a1)
|
|
196: 0000 unimp
|
|
198: 39ce lhu a1,52(a1)
|
|
19a: 0000 unimp
|
|
19c: 39ce lhu a1,52(a1)
|
|
19e: 0000 unimp
|
|
1a0: 39ce lhu a1,52(a1)
|
|
...
|
|
|
|
Disassembly of section .text:
|
|
|
|
000001c0 <rt_hw_context_switch_to>:
|
|
1c0: 20010297 auipc t0,0x20010
|
|
1c4: e4028293 addi t0,t0,-448 # 20010000 <_eusrstack>
|
|
1c8: e0028293 addi t0,t0,-512
|
|
1cc: 34029073 csrw mscratch,t0
|
|
1d0: 00052103 lw sp,0(a0)
|
|
1d4: 4522 lw a0,8(sp)
|
|
1d6: 30051073 csrw mstatus,a0
|
|
1da: a8b1 j 236 <rt_hw_context_switch_exit>
|
|
|
|
000001dc <rt_hw_context_switch>:
|
|
1dc: 7119 addi sp,sp,-128
|
|
1de: 00252023 sw sp,0(a0)
|
|
1e2: c006 sw ra,0(sp)
|
|
1e4: c206 sw ra,4(sp)
|
|
1e6: ca16 sw t0,20(sp)
|
|
1e8: 300022f3 csrr t0,mstatus
|
|
1ec: 0082f293 andi t0,t0,8
|
|
1f0: 00028463 beqz t0,1f8 <rt_hw_context_switch+0x1c>
|
|
1f4: 08000293 li t0,128
|
|
1f8: c416 sw t0,8(sp)
|
|
1fa: c812 sw tp,16(sp)
|
|
1fc: cc1a sw t1,24(sp)
|
|
1fe: ce1e sw t2,28(sp)
|
|
200: d022 sw s0,32(sp)
|
|
202: d226 sw s1,36(sp)
|
|
204: d42a sw a0,40(sp)
|
|
206: d62e sw a1,44(sp)
|
|
208: d832 sw a2,48(sp)
|
|
20a: da36 sw a3,52(sp)
|
|
20c: dc3a sw a4,56(sp)
|
|
20e: de3e sw a5,60(sp)
|
|
210: c0c2 sw a6,64(sp)
|
|
212: c2c6 sw a7,68(sp)
|
|
214: c4ca sw s2,72(sp)
|
|
216: c6ce sw s3,76(sp)
|
|
218: c8d2 sw s4,80(sp)
|
|
21a: cad6 sw s5,84(sp)
|
|
21c: ccda sw s6,88(sp)
|
|
21e: cede sw s7,92(sp)
|
|
220: d0e2 sw s8,96(sp)
|
|
222: d2e6 sw s9,100(sp)
|
|
224: d4ea sw s10,104(sp)
|
|
226: d6ee sw s11,108(sp)
|
|
228: d8f2 sw t3,112(sp)
|
|
22a: daf6 sw t4,116(sp)
|
|
22c: dcfa sw t5,120(sp)
|
|
22e: defe sw t6,124(sp)
|
|
230: 0005a103 lw sp,0(a1)
|
|
234: a009 j 236 <rt_hw_context_switch_exit>
|
|
|
|
00000236 <rt_hw_context_switch_exit>:
|
|
236: 4502 lw a0,0(sp)
|
|
238: 34151073 csrw mepc,a0
|
|
23c: 4092 lw ra,4(sp)
|
|
23e: 00008537 lui a0,0x8
|
|
242: 80050513 addi a0,a0,-2048 # 7800 <__rt_init_end+0x2168>
|
|
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: 23fd jal 8cc <rt_interrupt_enter>
|
|
2e0: 017010ef jal ra,1af6 <sw_clearpend>
|
|
2e4: 614000ef jal ra,8f8 <rt_interrupt_leave>
|
|
2e8: 34011173 csrrw sp,mscratch,sp
|
|
2ec: 89818413 addi s0,gp,-1896 # 200001f8 <rt_thread_switch_interrupt_flag>
|
|
2f0: 00042903 lw s2,0(s0)
|
|
2f4: 02090463 beqz s2,31c <SW_Handler+0x8c>
|
|
2f8: 00042023 sw zero,0(s0)
|
|
2fc: 34102573 csrr a0,mepc
|
|
300: c02a sw a0,0(sp)
|
|
302: 89018413 addi s0,gp,-1904 # 200001f0 <rt_interrupt_from_thread>
|
|
306: 4004 lw s1,0(s0)
|
|
308: 0024a023 sw sp,0(s1)
|
|
30c: 89418413 addi s0,gp,-1900 # 200001f4 <rt_interrupt_to_thread>
|
|
310: 4004 lw s1,0(s0)
|
|
312: 0004a103 lw sp,0(s1)
|
|
316: 4502 lw a0,0(sp)
|
|
318: 34151073 csrw mepc,a0
|
|
31c: 4092 lw ra,4(sp)
|
|
31e: 000082b7 lui t0,0x8
|
|
322: 80028293 addi t0,t0,-2048 # 7800 <__rt_init_end+0x2168>
|
|
326: 3002a073 csrs mstatus,t0
|
|
32a: 42a2 lw t0,8(sp)
|
|
32c: 3002a073 csrs mstatus,t0
|
|
330: 4242 lw tp,16(sp)
|
|
332: 42d2 lw t0,20(sp)
|
|
334: 4362 lw t1,24(sp)
|
|
336: 43f2 lw t2,28(sp)
|
|
338: 5402 lw s0,32(sp)
|
|
33a: 5492 lw s1,36(sp)
|
|
33c: 5522 lw a0,40(sp)
|
|
33e: 55b2 lw a1,44(sp)
|
|
340: 5642 lw a2,48(sp)
|
|
342: 56d2 lw a3,52(sp)
|
|
344: 5762 lw a4,56(sp)
|
|
346: 57f2 lw a5,60(sp)
|
|
348: 4806 lw a6,64(sp)
|
|
34a: 4896 lw a7,68(sp)
|
|
34c: 4926 lw s2,72(sp)
|
|
34e: 49b6 lw s3,76(sp)
|
|
350: 4a46 lw s4,80(sp)
|
|
352: 4ad6 lw s5,84(sp)
|
|
354: 4b66 lw s6,88(sp)
|
|
356: 4bf6 lw s7,92(sp)
|
|
358: 5c06 lw s8,96(sp)
|
|
35a: 5c96 lw s9,100(sp)
|
|
35c: 5d26 lw s10,104(sp)
|
|
35e: 5db6 lw s11,108(sp)
|
|
360: 5e46 lw t3,112(sp)
|
|
362: 5ed6 lw t4,116(sp)
|
|
364: 5f66 lw t5,120(sp)
|
|
366: 5ff6 lw t6,124(sp)
|
|
368: 6109 addi sp,sp,128
|
|
36a: 30200073 mret
|
|
...
|
|
|
|
00000370 <__riscv_save_12>:
|
|
370: 7139 addi sp,sp,-64
|
|
372: 4301 li t1,0
|
|
374: c66e sw s11,12(sp)
|
|
376: a019 j 37c <__riscv_save_10+0x4>
|
|
|
|
00000378 <__riscv_save_10>:
|
|
378: 7139 addi sp,sp,-64
|
|
37a: 5341 li t1,-16
|
|
37c: c86a sw s10,16(sp)
|
|
37e: ca66 sw s9,20(sp)
|
|
380: cc62 sw s8,24(sp)
|
|
382: ce5e sw s7,28(sp)
|
|
384: a019 j 38a <__riscv_save_4+0x4>
|
|
|
|
00000386 <__riscv_save_4>:
|
|
386: 7139 addi sp,sp,-64
|
|
388: 5301 li t1,-32
|
|
38a: d05a sw s6,32(sp)
|
|
38c: d256 sw s5,36(sp)
|
|
38e: d452 sw s4,40(sp)
|
|
390: d64e sw s3,44(sp)
|
|
392: d84a sw s2,48(sp)
|
|
394: da26 sw s1,52(sp)
|
|
396: dc22 sw s0,56(sp)
|
|
398: de06 sw ra,60(sp)
|
|
39a: 40610133 sub sp,sp,t1
|
|
39e: 8282 jr t0
|
|
|
|
000003a0 <__riscv_save_0>:
|
|
3a0: 1141 addi sp,sp,-16
|
|
3a2: c04a sw s2,0(sp)
|
|
3a4: c226 sw s1,4(sp)
|
|
3a6: c422 sw s0,8(sp)
|
|
3a8: c606 sw ra,12(sp)
|
|
3aa: 8282 jr t0
|
|
|
|
000003ac <__riscv_restore_12>:
|
|
3ac: 4db2 lw s11,12(sp)
|
|
3ae: 0141 addi sp,sp,16
|
|
|
|
000003b0 <__riscv_restore_10>:
|
|
3b0: 4d02 lw s10,0(sp)
|
|
3b2: 4c92 lw s9,4(sp)
|
|
3b4: 4c22 lw s8,8(sp)
|
|
3b6: 4bb2 lw s7,12(sp)
|
|
3b8: 0141 addi sp,sp,16
|
|
|
|
000003ba <__riscv_restore_4>:
|
|
3ba: 4b02 lw s6,0(sp)
|
|
3bc: 4a92 lw s5,4(sp)
|
|
3be: 4a22 lw s4,8(sp)
|
|
3c0: 49b2 lw s3,12(sp)
|
|
3c2: 0141 addi sp,sp,16
|
|
|
|
000003c4 <__riscv_restore_0>:
|
|
3c4: 4902 lw s2,0(sp)
|
|
3c6: 4492 lw s1,4(sp)
|
|
3c8: 4422 lw s0,8(sp)
|
|
3ca: 40b2 lw ra,12(sp)
|
|
3cc: 0141 addi sp,sp,16
|
|
3ce: 8082 ret
|
|
|
|
000003d0 <memset>:
|
|
3d0: 433d li t1,15
|
|
3d2: 872a mv a4,a0
|
|
3d4: 02c37363 bgeu t1,a2,3fa <memset+0x2a>
|
|
3d8: 00f77793 andi a5,a4,15
|
|
3dc: efbd bnez a5,45a <memset+0x8a>
|
|
3de: e5ad bnez a1,448 <memset+0x78>
|
|
3e0: ff067693 andi a3,a2,-16
|
|
3e4: 8a3d andi a2,a2,15
|
|
3e6: 96ba add a3,a3,a4
|
|
3e8: c30c sw a1,0(a4)
|
|
3ea: c34c sw a1,4(a4)
|
|
3ec: c70c sw a1,8(a4)
|
|
3ee: c74c sw a1,12(a4)
|
|
3f0: 0741 addi a4,a4,16
|
|
3f2: fed76be3 bltu a4,a3,3e8 <memset+0x18>
|
|
3f6: e211 bnez a2,3fa <memset+0x2a>
|
|
3f8: 8082 ret
|
|
3fa: 40c306b3 sub a3,t1,a2
|
|
3fe: 068a slli a3,a3,0x2
|
|
400: 00000297 auipc t0,0x0
|
|
404: 9696 add a3,a3,t0
|
|
406: 00a68067 jr 10(a3)
|
|
40a: 00b70723 sb a1,14(a4)
|
|
40e: 00b706a3 sb a1,13(a4)
|
|
412: 00b70623 sb a1,12(a4)
|
|
416: 00b705a3 sb a1,11(a4)
|
|
41a: 00b70523 sb a1,10(a4)
|
|
41e: 00b704a3 sb a1,9(a4)
|
|
422: 00b70423 sb a1,8(a4)
|
|
426: 00b703a3 sb a1,7(a4)
|
|
42a: 00b70323 sb a1,6(a4)
|
|
42e: 00b702a3 sb a1,5(a4)
|
|
432: 00b70223 sb a1,4(a4)
|
|
436: 00b701a3 sb a1,3(a4)
|
|
43a: 00b70123 sb a1,2(a4)
|
|
43e: 00b700a3 sb a1,1(a4)
|
|
442: 00b70023 sb a1,0(a4)
|
|
446: 8082 ret
|
|
448: 0ff5f593 andi a1,a1,255
|
|
44c: 00859693 slli a3,a1,0x8
|
|
450: 8dd5 or a1,a1,a3
|
|
452: 01059693 slli a3,a1,0x10
|
|
456: 8dd5 or a1,a1,a3
|
|
458: b761 j 3e0 <memset+0x10>
|
|
45a: 00279693 slli a3,a5,0x2
|
|
45e: 00000297 auipc t0,0x0
|
|
462: 9696 add a3,a3,t0
|
|
464: 8286 mv t0,ra
|
|
466: fa8680e7 jalr -88(a3)
|
|
46a: 8096 mv ra,t0
|
|
46c: 17c1 addi a5,a5,-16
|
|
46e: 8f1d sub a4,a4,a5
|
|
470: 963e add a2,a2,a5
|
|
472: f8c374e3 bgeu t1,a2,3fa <memset+0x2a>
|
|
476: b7a5 j 3de <memset+0xe>
|
|
|
|
00000478 <rt_tick_get>:
|
|
478: 8081a503 lw a0,-2040(gp) # 20000168 <_edata>
|
|
47c: 8082 ret
|
|
|
|
0000047e <rt_tick_increase>:
|
|
47e: f23ff2ef jal t0,3a0 <__riscv_save_0>
|
|
482: 80818793 addi a5,gp,-2040 # 20000168 <_edata>
|
|
486: 4398 lw a4,0(a5)
|
|
488: 0705 addi a4,a4,1
|
|
48a: c398 sw a4,0(a5)
|
|
48c: 2f0010ef jal ra,177c <rt_thread_self>
|
|
490: 453c lw a5,72(a0)
|
|
492: 17fd addi a5,a5,-1
|
|
494: c53c sw a5,72(a0)
|
|
496: e789 bnez a5,4a0 <rt_tick_increase+0x22>
|
|
498: 417c lw a5,68(a0)
|
|
49a: c53c sw a5,72(a0)
|
|
49c: 32c010ef jal ra,17c8 <rt_thread_yield>
|
|
4a0: 58e010ef jal ra,1a2e <rt_timer_check>
|
|
4a4: b705 j 3c4 <__riscv_restore_0>
|
|
|
|
000004a6 <rti_start>:
|
|
4a6: 4501 li a0,0
|
|
4a8: 8082 ret
|
|
|
|
000004aa <rti_end>:
|
|
4aa: 4501 li a0,0
|
|
4ac: 8082 ret
|
|
|
|
000004ae <rti_board_start>:
|
|
4ae: 4501 li a0,0
|
|
4b0: 8082 ret
|
|
|
|
000004b2 <rti_board_end>:
|
|
4b2: 4501 li a0,0
|
|
4b4: 8082 ret
|
|
|
|
000004b6 <rt_components_board_init>:
|
|
4b6: eebff2ef jal t0,3a0 <__riscv_save_0>
|
|
4ba: 6415 lui s0,0x5
|
|
4bc: 6495 lui s1,0x5
|
|
4be: 68040413 addi s0,s0,1664 # 5680 <__rt_init_rti_board_start>
|
|
4c2: 68c48493 addi s1,s1,1676 # 568c <__rt_init_rti_board_end>
|
|
4c6: 00946363 bltu s0,s1,4cc <rt_components_board_init+0x16>
|
|
4ca: bded j 3c4 <__riscv_restore_0>
|
|
4cc: 401c lw a5,0(s0)
|
|
4ce: 0411 addi s0,s0,4
|
|
4d0: 9782 jalr a5
|
|
4d2: bfd5 j 4c6 <rt_components_board_init+0x10>
|
|
|
|
000004d4 <rt_components_init>:
|
|
4d4: ecdff2ef jal t0,3a0 <__riscv_save_0>
|
|
4d8: 6415 lui s0,0x5
|
|
4da: 6495 lui s1,0x5
|
|
4dc: 68c40413 addi s0,s0,1676 # 568c <__rt_init_rti_board_end>
|
|
4e0: 69448493 addi s1,s1,1684 # 5694 <__rt_init_rti_end>
|
|
4e4: 00946363 bltu s0,s1,4ea <rt_components_init+0x16>
|
|
4e8: bdf1 j 3c4 <__riscv_restore_0>
|
|
4ea: 401c lw a5,0(s0)
|
|
4ec: 0411 addi s0,s0,4
|
|
4ee: 9782 jalr a5
|
|
4f0: bfd5 j 4e4 <rt_components_init+0x10>
|
|
|
|
000004f2 <main_thread_entry>:
|
|
4f2: eafff2ef jal t0,3a0 <__riscv_save_0>
|
|
4f6: 3ff9 jal 4d4 <rt_components_init>
|
|
4f8: 26a030ef jal ra,3762 <main>
|
|
4fc: b5e1 j 3c4 <__riscv_restore_0>
|
|
|
|
000004fe <rt_application_init>:
|
|
4fe: ea3ff2ef jal t0,3a0 <__riscv_save_0>
|
|
502: 000005b7 lui a1,0x0
|
|
506: 00004537 lui a0,0x4
|
|
50a: 47d1 li a5,20
|
|
50c: 4715 li a4,5
|
|
50e: 20000693 li a3,512
|
|
512: 4601 li a2,0
|
|
514: 4f258593 addi a1,a1,1266 # 4f2 <main_thread_entry>
|
|
518: 05850513 addi a0,a0,88 # 4058 <strncmp+0x7a>
|
|
51c: 266010ef jal ra,1782 <rt_thread_create>
|
|
520: 390010ef jal ra,18b0 <rt_thread_startup>
|
|
524: b545 j 3c4 <__riscv_restore_0>
|
|
|
|
00000526 <rtthread_startup>:
|
|
526: e7bff2ef jal t0,3a0 <__riscv_save_0>
|
|
52a: 5da010ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
52e: 169020ef jal ra,2e96 <rt_hw_board_init>
|
|
532: 2bb000ef jal ra,fec <rt_show_version>
|
|
536: 56e010ef jal ra,1aa4 <rt_system_timer_init>
|
|
53a: 785000ef jal ra,14be <rt_system_scheduler_init>
|
|
53e: 37c1 jal 4fe <rt_application_init>
|
|
540: 56e010ef jal ra,1aae <rt_system_timer_thread_init>
|
|
544: 2c01 jal 754 <rt_thread_idle_init>
|
|
546: 7a7000ef jal ra,14ec <rt_system_scheduler_start>
|
|
54a: 4501 li a0,0
|
|
54c: bda5 j 3c4 <__riscv_restore_0>
|
|
|
|
0000054e <entry>:
|
|
54e: e53ff2ef jal t0,3a0 <__riscv_save_0>
|
|
552: 3fd1 jal 526 <rtthread_startup>
|
|
554: 4501 li a0,0
|
|
556: b5bd j 3c4 <__riscv_restore_0>
|
|
|
|
00000558 <rt_device_find>:
|
|
558: e2fff2ef jal t0,386 <__riscv_save_4>
|
|
55c: 89aa mv s3,a0
|
|
55e: 21e010ef jal ra,177c <rt_thread_self>
|
|
562: c119 beqz a0,568 <rt_device_find+0x10>
|
|
564: 0a4010ef jal ra,1608 <rt_enter_critical>
|
|
568: 4525 li a0,9
|
|
56a: 60f000ef jal ra,1378 <rt_object_get_information>
|
|
56e: 4144 lw s1,4(a0)
|
|
570: 00450413 addi s0,a0,4
|
|
574: 00849663 bne s1,s0,580 <rt_device_find+0x28>
|
|
578: 204010ef jal ra,177c <rt_thread_self>
|
|
57c: 4901 li s2,0
|
|
57e: a811 j 592 <rt_device_find+0x3a>
|
|
580: ff448913 addi s2,s1,-12
|
|
584: 4621 li a2,8
|
|
586: 85ce mv a1,s3
|
|
588: 854a mv a0,s2
|
|
58a: 2d1d jal bc0 <rt_strncmp>
|
|
58c: e901 bnez a0,59c <rt_device_find+0x44>
|
|
58e: 1ee010ef jal ra,177c <rt_thread_self>
|
|
592: c119 beqz a0,598 <rt_device_find+0x40>
|
|
594: 08a010ef jal ra,161e <rt_exit_critical>
|
|
598: 854a mv a0,s2
|
|
59a: b505 j 3ba <__riscv_restore_4>
|
|
59c: 4084 lw s1,0(s1)
|
|
59e: bfd9 j 574 <rt_device_find+0x1c>
|
|
|
|
000005a0 <rt_device_register>:
|
|
5a0: e509 bnez a0,5aa <rt_device_register+0xa>
|
|
5a2: 557d li a0,-1
|
|
5a4: 8082 ret
|
|
5a6: 557d li a0,-1
|
|
5a8: bd31 j 3c4 <__riscv_restore_0>
|
|
5aa: df7ff2ef jal t0,3a0 <__riscv_save_0>
|
|
5ae: 842a mv s0,a0
|
|
5b0: 852e mv a0,a1
|
|
5b2: 8932 mv s2,a2
|
|
5b4: 84ae mv s1,a1
|
|
5b6: 374d jal 558 <rt_device_find>
|
|
5b8: f57d bnez a0,5a6 <rt_device_register+0x6>
|
|
5ba: 8522 mv a0,s0
|
|
5bc: 8626 mv a2,s1
|
|
5be: 45a5 li a1,9
|
|
5c0: 5e3000ef jal ra,13a2 <rt_object_init>
|
|
5c4: 4501 li a0,0
|
|
5c6: 01241c23 sh s2,24(s0)
|
|
5ca: 00040e23 sb zero,28(s0)
|
|
5ce: 00041d23 sh zero,26(s0)
|
|
5d2: bfd9 j 5a8 <rt_device_register+0x8>
|
|
|
|
000005d4 <rt_device_open>:
|
|
5d4: dcdff2ef jal t0,3a0 <__riscv_save_0>
|
|
5d8: 2d1e lhu a5,24(a0)
|
|
5da: 1141 addi sp,sp,-16
|
|
5dc: 842a mv s0,a0
|
|
5de: 8bc1 andi a5,a5,16
|
|
5e0: e79d bnez a5,60e <rt_device_open+0x3a>
|
|
5e2: 551c lw a5,40(a0)
|
|
5e4: c38d beqz a5,606 <rt_device_open+0x32>
|
|
5e6: c62e sw a1,12(sp)
|
|
5e8: 9782 jalr a5
|
|
5ea: 84aa mv s1,a0
|
|
5ec: 45b2 lw a1,12(sp)
|
|
5ee: cd01 beqz a0,606 <rt_device_open+0x32>
|
|
5f0: 862a mv a2,a0
|
|
5f2: 00004537 lui a0,0x4
|
|
5f6: 85a2 mv a1,s0
|
|
5f8: 06050513 addi a0,a0,96 # 4060 <strncmp+0x82>
|
|
5fc: 189000ef jal ra,f84 <rt_kprintf>
|
|
600: 8526 mv a0,s1
|
|
602: 0141 addi sp,sp,16
|
|
604: b3c1 j 3c4 <__riscv_restore_0>
|
|
606: 2c1e lhu a5,24(s0)
|
|
608: 0107e793 ori a5,a5,16
|
|
60c: ac1e sh a5,24(s0)
|
|
60e: 2c1e lhu a5,24(s0)
|
|
610: 8ba1 andi a5,a5,8
|
|
612: c789 beqz a5,61c <rt_device_open+0x48>
|
|
614: 2c3e lhu a5,26(s0)
|
|
616: 54e5 li s1,-7
|
|
618: 8ba1 andi a5,a5,8
|
|
61a: f3fd bnez a5,600 <rt_device_open+0x2c>
|
|
61c: 545c lw a5,44(s0)
|
|
61e: cf89 beqz a5,638 <rt_device_open+0x64>
|
|
620: 8522 mv a0,s0
|
|
622: 9782 jalr a5
|
|
624: 84aa mv s1,a0
|
|
626: e105 bnez a0,646 <rt_device_open+0x72>
|
|
628: 2c3e lhu a5,26(s0)
|
|
62a: 0087e793 ori a5,a5,8
|
|
62e: ac3e sh a5,26(s0)
|
|
630: 2c5c lbu a5,28(s0)
|
|
632: 0785 addi a5,a5,1
|
|
634: ac5c sb a5,28(s0)
|
|
636: b7e9 j 600 <rt_device_open+0x2c>
|
|
638: 6785 lui a5,0x1
|
|
63a: f0f78793 addi a5,a5,-241 # f0f <rt_vsnprintf+0x313>
|
|
63e: 8dfd and a1,a1,a5
|
|
640: ac2e sh a1,26(s0)
|
|
642: 4481 li s1,0
|
|
644: b7d5 j 628 <rt_device_open+0x54>
|
|
646: 57e9 li a5,-6
|
|
648: faf51ce3 bne a0,a5,600 <rt_device_open+0x2c>
|
|
64c: bff1 j 628 <rt_device_open+0x54>
|
|
|
|
0000064e <rt_device_close>:
|
|
64e: 2d5c lbu a5,28(a0)
|
|
650: cb85 beqz a5,680 <rt_device_close+0x32>
|
|
652: d4fff2ef jal t0,3a0 <__riscv_save_0>
|
|
656: 17fd addi a5,a5,-1
|
|
658: 0ff7f793 andi a5,a5,255
|
|
65c: ad5c sb a5,28(a0)
|
|
65e: 842a mv s0,a0
|
|
660: 4701 li a4,0
|
|
662: ef89 bnez a5,67c <rt_device_close+0x2e>
|
|
664: 591c lw a5,48(a0)
|
|
666: e789 bnez a5,670 <rt_device_close+0x22>
|
|
668: 4701 li a4,0
|
|
66a: 00041d23 sh zero,26(s0)
|
|
66e: a039 j 67c <rt_device_close+0x2e>
|
|
670: 9782 jalr a5
|
|
672: 872a mv a4,a0
|
|
674: d975 beqz a0,668 <rt_device_close+0x1a>
|
|
676: 57e9 li a5,-6
|
|
678: fef509e3 beq a0,a5,66a <rt_device_close+0x1c>
|
|
67c: 853a mv a0,a4
|
|
67e: b399 j 3c4 <__riscv_restore_0>
|
|
680: 577d li a4,-1
|
|
682: 853a mv a0,a4
|
|
684: 8082 ret
|
|
|
|
00000686 <rt_device_read>:
|
|
686: d1bff2ef jal t0,3a0 <__riscv_save_0>
|
|
68a: 2d58 lbu a4,28(a0)
|
|
68c: e709 bnez a4,696 <rt_device_read+0x10>
|
|
68e: 557d li a0,-1
|
|
690: 2921 jal aa8 <rt_set_errno>
|
|
692: 4501 li a0,0
|
|
694: a021 j 69c <rt_device_read+0x16>
|
|
696: 595c lw a5,52(a0)
|
|
698: c399 beqz a5,69e <rt_device_read+0x18>
|
|
69a: 9782 jalr a5
|
|
69c: b325 j 3c4 <__riscv_restore_0>
|
|
69e: 5569 li a0,-6
|
|
6a0: bfc5 j 690 <rt_device_read+0xa>
|
|
|
|
000006a2 <rt_device_write>:
|
|
6a2: cffff2ef jal t0,3a0 <__riscv_save_0>
|
|
6a6: 2d58 lbu a4,28(a0)
|
|
6a8: e709 bnez a4,6b2 <rt_device_write+0x10>
|
|
6aa: 557d li a0,-1
|
|
6ac: 2ef5 jal aa8 <rt_set_errno>
|
|
6ae: 4501 li a0,0
|
|
6b0: a021 j 6b8 <rt_device_write+0x16>
|
|
6b2: 5d1c lw a5,56(a0)
|
|
6b4: c399 beqz a5,6ba <rt_device_write+0x18>
|
|
6b6: 9782 jalr a5
|
|
6b8: b331 j 3c4 <__riscv_restore_0>
|
|
6ba: 5569 li a0,-6
|
|
6bc: bfc5 j 6ac <rt_device_write+0xa>
|
|
|
|
000006be <rt_device_set_rx_indicate>:
|
|
6be: d10c sw a1,32(a0)
|
|
6c0: 4501 li a0,0
|
|
6c2: 8082 ret
|
|
|
|
000006c4 <rt_thread_idle_excute>:
|
|
6c4: cc3ff2ef jal t0,386 <__riscv_save_4>
|
|
6c8: 86418993 addi s3,gp,-1948 # 200001c4 <rt_thread_defunct>
|
|
6cc: 4a85 li s5,1
|
|
6ce: 8641a783 lw a5,-1948(gp) # 200001c4 <rt_thread_defunct>
|
|
6d2: 05378663 beq a5,s3,71e <rt_thread_idle_excute+0x5a>
|
|
6d6: 42e010ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
6da: 8641a783 lw a5,-1948(gp) # 200001c4 <rt_thread_defunct>
|
|
6de: 8a2a mv s4,a0
|
|
6e0: 03378d63 beq a5,s3,71a <rt_thread_idle_excute+0x56>
|
|
6e4: 8641a403 lw s0,-1948(gp) # 200001c4 <rt_thread_defunct>
|
|
6e8: 405c lw a5,4(s0)
|
|
6ea: 4018 lw a4,0(s0)
|
|
6ec: fec40913 addi s2,s0,-20
|
|
6f0: c35c sw a5,4(a4)
|
|
6f2: c398 sw a4,0(a5)
|
|
6f4: c040 sw s0,4(s0)
|
|
6f6: c000 sw s0,0(s0)
|
|
6f8: 711000ef jal ra,1608 <rt_enter_critical>
|
|
6fc: 507c lw a5,100(s0)
|
|
6fe: c399 beqz a5,704 <rt_thread_idle_excute+0x40>
|
|
700: 854a mv a0,s2
|
|
702: 9782 jalr a5
|
|
704: 854a mv a0,s2
|
|
706: 5b1000ef jal ra,14b6 <rt_object_is_systemobject>
|
|
70a: 01551b63 bne a0,s5,720 <rt_thread_idle_excute+0x5c>
|
|
70e: 854a mv a0,s2
|
|
710: 4f1000ef jal ra,1400 <rt_object_detach>
|
|
714: 70b000ef jal ra,161e <rt_exit_critical>
|
|
718: 8552 mv a0,s4
|
|
71a: 3f6010ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
71e: b971 j 3ba <__riscv_restore_4>
|
|
720: 6ff000ef jal ra,161e <rt_exit_critical>
|
|
724: 8552 mv a0,s4
|
|
726: 3ea010ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
72a: 4848 lw a0,20(s0)
|
|
72c: 3a3000ef jal ra,12ce <rt_free>
|
|
730: 854a mv a0,s2
|
|
732: 553000ef jal ra,1484 <rt_object_delete>
|
|
736: bf61 j 6ce <rt_thread_idle_excute+0xa>
|
|
|
|
00000738 <rt_thread_idle_entry>:
|
|
738: c69ff2ef jal t0,3a0 <__riscv_save_0>
|
|
73c: 93018413 addi s0,gp,-1744 # 20000290 <idle_hook_list>
|
|
740: 01040913 addi s2,s0,16
|
|
744: 401c lw a5,0(s0)
|
|
746: c391 beqz a5,74a <rt_thread_idle_entry+0x12>
|
|
748: 9782 jalr a5
|
|
74a: 0411 addi s0,s0,4
|
|
74c: ff241ce3 bne s0,s2,744 <rt_thread_idle_entry+0xc>
|
|
750: 3f95 jal 6c4 <rt_thread_idle_excute>
|
|
752: b7ed j 73c <rt_thread_idle_entry+0x4>
|
|
|
|
00000754 <rt_thread_idle_init>:
|
|
754: c4dff2ef jal t0,3a0 <__riscv_save_0>
|
|
758: 00000637 lui a2,0x0
|
|
75c: 000045b7 lui a1,0x4
|
|
760: 02000893 li a7,32
|
|
764: 483d li a6,15
|
|
766: 20000793 li a5,512
|
|
76a: 94018713 addi a4,gp,-1728 # 200002a0 <rt_thread_stack>
|
|
76e: 4681 li a3,0
|
|
770: 73860613 addi a2,a2,1848 # 738 <rt_thread_idle_entry>
|
|
774: 09858593 addi a1,a1,152 # 4098 <strncmp+0xba>
|
|
778: 8b018513 addi a0,gp,-1872 # 20000210 <idle>
|
|
77c: 7cf000ef jal ra,174a <rt_thread_init>
|
|
780: 8b018513 addi a0,gp,-1872 # 20000210 <idle>
|
|
784: 12c010ef jal ra,18b0 <rt_thread_startup>
|
|
788: b935 j 3c4 <__riscv_restore_0>
|
|
|
|
0000078a <rt_ipc_list_suspend>:
|
|
78a: c17ff2ef jal t0,3a0 <__riscv_save_0>
|
|
78e: 1141 addi sp,sp,-16
|
|
790: 842a mv s0,a0
|
|
792: 852e mv a0,a1
|
|
794: c632 sw a2,12(sp)
|
|
796: c42e sw a1,8(sp)
|
|
798: 082010ef jal ra,181a <rt_thread_suspend>
|
|
79c: 4632 lw a2,12(sp)
|
|
79e: 45a2 lw a1,8(sp)
|
|
7a0: c619 beqz a2,7ae <rt_ipc_list_suspend+0x24>
|
|
7a2: 4785 li a5,1
|
|
7a4: 00f60d63 beq a2,a5,7be <rt_ipc_list_suspend+0x34>
|
|
7a8: 4501 li a0,0
|
|
7aa: 0141 addi sp,sp,16
|
|
7ac: b921 j 3c4 <__riscv_restore_0>
|
|
7ae: 4058 lw a4,4(s0)
|
|
7b0: 01458793 addi a5,a1,20
|
|
7b4: c31c sw a5,0(a4)
|
|
7b6: cd98 sw a4,24(a1)
|
|
7b8: c05c sw a5,4(s0)
|
|
7ba: c9c0 sw s0,20(a1)
|
|
7bc: b7f5 j 7a8 <rt_ipc_list_suspend+0x1e>
|
|
7be: 401c lw a5,0(s0)
|
|
7c0: 00878863 beq a5,s0,7d0 <rt_ipc_list_suspend+0x46>
|
|
7c4: 0355c683 lbu a3,53(a1)
|
|
7c8: 0217c703 lbu a4,33(a5)
|
|
7cc: 00e6fa63 bgeu a3,a4,7e0 <rt_ipc_list_suspend+0x56>
|
|
7d0: 43d4 lw a3,4(a5)
|
|
7d2: 01458713 addi a4,a1,20
|
|
7d6: c298 sw a4,0(a3)
|
|
7d8: cd94 sw a3,24(a1)
|
|
7da: c3d8 sw a4,4(a5)
|
|
7dc: c9dc sw a5,20(a1)
|
|
7de: b7e9 j 7a8 <rt_ipc_list_suspend+0x1e>
|
|
7e0: 439c lw a5,0(a5)
|
|
7e2: bff9 j 7c0 <rt_ipc_list_suspend+0x36>
|
|
|
|
000007e4 <rt_sem_init>:
|
|
7e4: bbdff2ef jal t0,3a0 <__riscv_save_0>
|
|
7e8: 1141 addi sp,sp,-16
|
|
7ea: 84b2 mv s1,a2
|
|
7ec: 862e mv a2,a1
|
|
7ee: 4589 li a1,2
|
|
7f0: 842a mv s0,a0
|
|
7f2: c636 sw a3,12(sp)
|
|
7f4: 3af000ef jal ra,13a2 <rt_object_init>
|
|
7f8: 46b2 lw a3,12(sp)
|
|
7fa: 01440793 addi a5,s0,20
|
|
7fe: cc1c sw a5,24(s0)
|
|
800: c85c sw a5,20(s0)
|
|
802: ac46 sh s1,28(s0)
|
|
804: b414 sb a3,9(s0)
|
|
806: 4501 li a0,0
|
|
808: 0141 addi sp,sp,16
|
|
80a: be6d j 3c4 <__riscv_restore_0>
|
|
|
|
0000080c <rt_sem_take>:
|
|
80c: b7bff2ef jal t0,386 <__riscv_save_4>
|
|
810: 8501a783 lw a5,-1968(gp) # 200001b0 <rt_object_trytake_hook>
|
|
814: 1141 addi sp,sp,-16
|
|
816: c62e sw a1,12(sp)
|
|
818: 842a mv s0,a0
|
|
81a: c391 beqz a5,81e <rt_sem_take+0x12>
|
|
81c: 9782 jalr a5
|
|
81e: 2e6010ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
822: 2c5e lhu a5,28(s0)
|
|
824: 89aa mv s3,a0
|
|
826: cf89 beqz a5,840 <rt_sem_take+0x34>
|
|
828: 17fd addi a5,a5,-1
|
|
82a: ac5e sh a5,28(s0)
|
|
82c: 2e4010ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
830: 84c1a783 lw a5,-1972(gp) # 200001ac <rt_object_take_hook>
|
|
834: 4501 li a0,0
|
|
836: cb91 beqz a5,84a <rt_sem_take+0x3e>
|
|
838: 8522 mv a0,s0
|
|
83a: 9782 jalr a5
|
|
83c: 4501 li a0,0
|
|
83e: a031 j 84a <rt_sem_take+0x3e>
|
|
840: 47b2 lw a5,12(sp)
|
|
842: e791 bnez a5,84e <rt_sem_take+0x42>
|
|
844: 2cc010ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
848: 5579 li a0,-2
|
|
84a: 0141 addi sp,sp,16
|
|
84c: b6bd j 3ba <__riscv_restore_4>
|
|
84e: 72f000ef jal ra,177c <rt_thread_self>
|
|
852: 02052823 sw zero,48(a0)
|
|
856: 3410 lbu a2,9(s0)
|
|
858: 85aa mv a1,a0
|
|
85a: 84aa mv s1,a0
|
|
85c: 01440513 addi a0,s0,20
|
|
860: 372d jal 78a <rt_ipc_list_suspend>
|
|
862: 47b2 lw a5,12(sp)
|
|
864: 00f05c63 blez a5,87c <rt_sem_take+0x70>
|
|
868: 04c48913 addi s2,s1,76
|
|
86c: 0070 addi a2,sp,12
|
|
86e: 4581 li a1,0
|
|
870: 854a mv a0,s2
|
|
872: 184010ef jal ra,19f6 <rt_timer_control>
|
|
876: 854a mv a0,s2
|
|
878: 0ce010ef jal ra,1946 <rt_timer_start>
|
|
87c: 854e mv a0,s3
|
|
87e: 292010ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
882: 497000ef jal ra,1518 <rt_schedule>
|
|
886: 5888 lw a0,48(s1)
|
|
888: d545 beqz a0,830 <rt_sem_take+0x24>
|
|
88a: b7c1 j 84a <rt_sem_take+0x3e>
|
|
|
|
0000088c <rt_sem_release>:
|
|
88c: b15ff2ef jal t0,3a0 <__riscv_save_0>
|
|
890: 8481a783 lw a5,-1976(gp) # 200001a8 <rt_object_put_hook>
|
|
894: 842a mv s0,a0
|
|
896: c391 beqz a5,89a <rt_sem_release+0xe>
|
|
898: 9782 jalr a5
|
|
89a: 26a010ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
89e: 84aa mv s1,a0
|
|
8a0: 4848 lw a0,20(s0)
|
|
8a2: 01440793 addi a5,s0,20
|
|
8a6: 00f50e63 beq a0,a5,8c2 <rt_sem_release+0x36>
|
|
8aa: 1531 addi a0,a0,-20
|
|
8ac: 7b9000ef jal ra,1864 <rt_thread_resume>
|
|
8b0: 4405 li s0,1
|
|
8b2: 8526 mv a0,s1
|
|
8b4: 25c010ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
8b8: c019 beqz s0,8be <rt_sem_release+0x32>
|
|
8ba: 45f000ef jal ra,1518 <rt_schedule>
|
|
8be: 4501 li a0,0
|
|
8c0: b611 j 3c4 <__riscv_restore_0>
|
|
8c2: 2c5e lhu a5,28(s0)
|
|
8c4: 0785 addi a5,a5,1
|
|
8c6: ac5e sh a5,28(s0)
|
|
8c8: 4401 li s0,0
|
|
8ca: b7e5 j 8b2 <rt_sem_release+0x26>
|
|
|
|
000008cc <rt_interrupt_enter>:
|
|
8cc: ad5ff2ef jal t0,3a0 <__riscv_save_0>
|
|
8d0: 1141 addi sp,sp,-16
|
|
8d2: 232010ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
8d6: 81418713 addi a4,gp,-2028 # 20000174 <rt_interrupt_nest>
|
|
8da: 231c lbu a5,0(a4)
|
|
8dc: 0785 addi a5,a5,1
|
|
8de: 0ff7f793 andi a5,a5,255
|
|
8e2: a31c sb a5,0(a4)
|
|
8e4: 80c1a783 lw a5,-2036(gp) # 2000016c <rt_interrupt_enter_hook>
|
|
8e8: c781 beqz a5,8f0 <rt_interrupt_enter+0x24>
|
|
8ea: c62a sw a0,12(sp)
|
|
8ec: 9782 jalr a5
|
|
8ee: 4532 lw a0,12(sp)
|
|
8f0: 220010ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
8f4: 0141 addi sp,sp,16
|
|
8f6: b4f9 j 3c4 <__riscv_restore_0>
|
|
|
|
000008f8 <rt_interrupt_leave>:
|
|
8f8: aa9ff2ef jal t0,3a0 <__riscv_save_0>
|
|
8fc: 1141 addi sp,sp,-16
|
|
8fe: 206010ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
902: 81418713 addi a4,gp,-2028 # 20000174 <rt_interrupt_nest>
|
|
906: 231c lbu a5,0(a4)
|
|
908: 17fd addi a5,a5,-1
|
|
90a: 0ff7f793 andi a5,a5,255
|
|
90e: a31c sb a5,0(a4)
|
|
910: 8101a783 lw a5,-2032(gp) # 20000170 <rt_interrupt_leave_hook>
|
|
914: c781 beqz a5,91c <rt_interrupt_leave+0x24>
|
|
916: c62a sw a0,12(sp)
|
|
918: 9782 jalr a5
|
|
91a: 4532 lw a0,12(sp)
|
|
91c: 1f4010ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
920: 0141 addi sp,sp,16
|
|
922: b44d j 3c4 <__riscv_restore_0>
|
|
|
|
00000924 <rt_interrupt_get_nest>:
|
|
924: 8141c503 lbu a0,-2028(gp) # 20000174 <rt_interrupt_nest>
|
|
928: 8082 ret
|
|
|
|
0000092a <print_number>:
|
|
92a: 04087893 andi a7,a6,64
|
|
92e: 1141 addi sp,sp,-16
|
|
930: 00089e63 bnez a7,94c <print_number+0x22>
|
|
934: 6891 lui a7,0x4
|
|
936: 24488893 addi a7,a7,580 # 4244 <small_digits.2582>
|
|
93a: 01087393 andi t2,a6,16
|
|
93e: 00038b63 beqz t2,954 <print_number+0x2a>
|
|
942: ffe87813 andi a6,a6,-2
|
|
946: 02000e93 li t4,32
|
|
94a: a819 j 960 <print_number+0x36>
|
|
94c: 6891 lui a7,0x4
|
|
94e: 1a088893 addi a7,a7,416 # 41a0 <large_digits.2583>
|
|
952: b7e5 j 93a <print_number+0x10>
|
|
954: 00187313 andi t1,a6,1
|
|
958: 03000e93 li t4,48
|
|
95c: fe0305e3 beqz t1,946 <print_number+0x1c>
|
|
960: 00287313 andi t1,a6,2
|
|
964: 06030e63 beqz t1,9e0 <print_number+0xb6>
|
|
968: 02065863 bgez a2,998 <print_number+0x6e>
|
|
96c: 40c00633 neg a2,a2
|
|
970: 02d00293 li t0,45
|
|
974: 8e0a mv t3,sp
|
|
976: 4f81 li t6,0
|
|
978: 4f29 li t5,10
|
|
97a: 07e69563 bne a3,t5,9e4 <print_number+0xba>
|
|
97e: 02d67333 remu t1,a2,a3
|
|
982: 02d65633 divu a2,a2,a3
|
|
986: 9346 add t1,t1,a7
|
|
988: 00034303 lbu t1,0(t1)
|
|
98c: 0f85 addi t6,t6,1
|
|
98e: 0e05 addi t3,t3,1
|
|
990: fe6e0fa3 sb t1,-1(t3)
|
|
994: f27d bnez a2,97a <print_number+0x50>
|
|
996: a00d j 9b8 <print_number+0x8e>
|
|
998: 00487313 andi t1,a6,4
|
|
99c: 02b00293 li t0,43
|
|
9a0: 00031763 bnez t1,9ae <print_number+0x84>
|
|
9a4: 00887293 andi t0,a6,8
|
|
9a8: 005032b3 snez t0,t0
|
|
9ac: 0296 slli t0,t0,0x5
|
|
9ae: f279 bnez a2,974 <print_number+0x4a>
|
|
9b0: 03000693 li a3,48
|
|
9b4: 8054 sb a3,0(sp)
|
|
9b6: 4f85 li t6,1
|
|
9b8: 86fe mv a3,t6
|
|
9ba: 00ffd363 bge t6,a5,9c0 <print_number+0x96>
|
|
9be: 86be mv a3,a5
|
|
9c0: 01187813 andi a6,a6,17
|
|
9c4: 8f15 sub a4,a4,a3
|
|
9c6: 04081363 bnez a6,a0c <print_number+0xe2>
|
|
9ca: 00028563 beqz t0,9d4 <print_number+0xaa>
|
|
9ce: 00e05363 blez a4,9d4 <print_number+0xaa>
|
|
9d2: 177d addi a4,a4,-1
|
|
9d4: 862a mv a2,a0
|
|
9d6: 00e508b3 add a7,a0,a4
|
|
9da: 02000313 li t1,32
|
|
9de: a821 j 9f6 <print_number+0xcc>
|
|
9e0: 4281 li t0,0
|
|
9e2: b7f1 j 9ae <print_number+0x84>
|
|
9e4: 00f67313 andi t1,a2,15
|
|
9e8: 8211 srli a2,a2,0x4
|
|
9ea: bf71 j 986 <print_number+0x5c>
|
|
9ec: 00b67463 bgeu a2,a1,9f4 <print_number+0xca>
|
|
9f0: 00660023 sb t1,0(a2)
|
|
9f4: 0605 addi a2,a2,1
|
|
9f6: 40c88833 sub a6,a7,a2
|
|
9fa: ff0049e3 bgtz a6,9ec <print_number+0xc2>
|
|
9fe: 863a mv a2,a4
|
|
a00: 00075363 bgez a4,a06 <print_number+0xdc>
|
|
a04: 4601 li a2,0
|
|
a06: 177d addi a4,a4,-1
|
|
a08: 9532 add a0,a0,a2
|
|
a0a: 8f11 sub a4,a4,a2
|
|
a0c: 00028863 beqz t0,a1c <print_number+0xf2>
|
|
a10: 00b57463 bgeu a0,a1,a18 <print_number+0xee>
|
|
a14: 00550023 sb t0,0(a0)
|
|
a18: 177d addi a4,a4,-1
|
|
a1a: 0505 addi a0,a0,1
|
|
a1c: 02038763 beqz t2,a4a <print_number+0x120>
|
|
a20: 96aa add a3,a3,a0
|
|
a22: 03000813 li a6,48
|
|
a26: a81d j a5c <print_number+0x132>
|
|
a28: 00b67463 bgeu a2,a1,a30 <print_number+0x106>
|
|
a2c: 01d60023 sb t4,0(a2)
|
|
a30: 0605 addi a2,a2,1
|
|
a32: 40c88833 sub a6,a7,a2
|
|
a36: ff0049e3 bgtz a6,a28 <print_number+0xfe>
|
|
a3a: 863a mv a2,a4
|
|
a3c: 00075363 bgez a4,a42 <print_number+0x118>
|
|
a40: 4601 li a2,0
|
|
a42: 177d addi a4,a4,-1
|
|
a44: 9532 add a0,a0,a2
|
|
a46: 8f11 sub a4,a4,a2
|
|
a48: bfe1 j a20 <print_number+0xf6>
|
|
a4a: 862a mv a2,a0
|
|
a4c: 00e508b3 add a7,a0,a4
|
|
a50: b7cd j a32 <print_number+0x108>
|
|
a52: 00b57463 bgeu a0,a1,a5a <print_number+0x130>
|
|
a56: 01050023 sb a6,0(a0)
|
|
a5a: 0505 addi a0,a0,1
|
|
a5c: 40a68633 sub a2,a3,a0
|
|
a60: fecfc9e3 blt t6,a2,a52 <print_number+0x128>
|
|
a64: 56fd li a3,-1
|
|
a66: 1ffd addi t6,t6,-1
|
|
a68: 00df8363 beq t6,a3,a6e <print_number+0x144>
|
|
a6c: e799 bnez a5,a7a <print_number+0x150>
|
|
a6e: 87aa mv a5,a0
|
|
a70: 00e50633 add a2,a0,a4
|
|
a74: 02000813 li a6,32
|
|
a78: a831 j a94 <print_number+0x16a>
|
|
a7a: 00b57663 bgeu a0,a1,a86 <print_number+0x15c>
|
|
a7e: 01f10633 add a2,sp,t6
|
|
a82: 2210 lbu a2,0(a2)
|
|
a84: a110 sb a2,0(a0)
|
|
a86: 0505 addi a0,a0,1
|
|
a88: bff9 j a66 <print_number+0x13c>
|
|
a8a: 00b7f463 bgeu a5,a1,a92 <print_number+0x168>
|
|
a8e: 01078023 sb a6,0(a5)
|
|
a92: 0785 addi a5,a5,1
|
|
a94: 40f606b3 sub a3,a2,a5
|
|
a98: fed049e3 bgtz a3,a8a <print_number+0x160>
|
|
a9c: 00075363 bgez a4,aa2 <print_number+0x178>
|
|
aa0: 4701 li a4,0
|
|
aa2: 953a add a0,a0,a4
|
|
aa4: 0141 addi sp,sp,16
|
|
aa6: 8082 ret
|
|
|
|
00000aa8 <rt_set_errno>:
|
|
aa8: 8f9ff2ef jal t0,3a0 <__riscv_save_0>
|
|
aac: 842a mv s0,a0
|
|
aae: 3d9d jal 924 <rt_interrupt_get_nest>
|
|
ab0: c509 beqz a0,aba <rt_set_errno+0x12>
|
|
ab2: 8081ac23 sw s0,-2024(gp) # 20000178 <__rt_errno>
|
|
ab6: 90fff06f j 3c4 <__riscv_restore_0>
|
|
aba: 4c3000ef jal ra,177c <rt_thread_self>
|
|
abe: d975 beqz a0,ab2 <rt_set_errno+0xa>
|
|
ac0: d900 sw s0,48(a0)
|
|
ac2: bfd5 j ab6 <rt_set_errno+0xe>
|
|
|
|
00000ac4 <rt_memset>:
|
|
ac4: 470d li a4,3
|
|
ac6: 87aa mv a5,a0
|
|
ac8: 00c77663 bgeu a4,a2,ad4 <rt_memset+0x10>
|
|
acc: 00357793 andi a5,a0,3
|
|
ad0: c791 beqz a5,adc <rt_memset+0x18>
|
|
ad2: 87aa mv a5,a0
|
|
ad4: 963e add a2,a2,a5
|
|
ad6: 06c79763 bne a5,a2,b44 <rt_memset+0x80>
|
|
ada: 8082 ret
|
|
adc: 0ff5f793 andi a5,a1,255
|
|
ae0: 00879713 slli a4,a5,0x8
|
|
ae4: 8fd9 or a5,a5,a4
|
|
ae6: 01079713 slli a4,a5,0x10
|
|
aea: 8f5d or a4,a4,a5
|
|
aec: 00c508b3 add a7,a0,a2
|
|
af0: 87aa mv a5,a0
|
|
af2: 46bd li a3,15
|
|
af4: 40f88833 sub a6,a7,a5
|
|
af8: 0306eb63 bltu a3,a6,b2e <rt_memset+0x6a>
|
|
afc: 00465793 srli a5,a2,0x4
|
|
b00: 56c1 li a3,-16
|
|
b02: 02d786b3 mul a3,a5,a3
|
|
b06: 0792 slli a5,a5,0x4
|
|
b08: 97aa add a5,a5,a0
|
|
b0a: 480d li a6,3
|
|
b0c: 9636 add a2,a2,a3
|
|
b0e: 00c78333 add t1,a5,a2
|
|
b12: 86be mv a3,a5
|
|
b14: 40d308b3 sub a7,t1,a3
|
|
b18: 03186263 bltu a6,a7,b3c <rt_memset+0x78>
|
|
b1c: 00265713 srli a4,a2,0x2
|
|
b20: 56f1 li a3,-4
|
|
b22: 02d706b3 mul a3,a4,a3
|
|
b26: 070a slli a4,a4,0x2
|
|
b28: 97ba add a5,a5,a4
|
|
b2a: 9636 add a2,a2,a3
|
|
b2c: b765 j ad4 <rt_memset+0x10>
|
|
b2e: c398 sw a4,0(a5)
|
|
b30: c3d8 sw a4,4(a5)
|
|
b32: c798 sw a4,8(a5)
|
|
b34: 07c1 addi a5,a5,16
|
|
b36: fee7ae23 sw a4,-4(a5)
|
|
b3a: bf6d j af4 <rt_memset+0x30>
|
|
b3c: 0691 addi a3,a3,4
|
|
b3e: fee6ae23 sw a4,-4(a3)
|
|
b42: bfc9 j b14 <rt_memset+0x50>
|
|
b44: 0785 addi a5,a5,1
|
|
b46: feb78fa3 sb a1,-1(a5)
|
|
b4a: b771 j ad6 <rt_memset+0x12>
|
|
|
|
00000b4c <rt_memmove>:
|
|
b4c: 04a5f263 bgeu a1,a0,b90 <rt_memmove+0x44>
|
|
b50: 00c586b3 add a3,a1,a2
|
|
b54: 02d57e63 bgeu a0,a3,b90 <rt_memmove+0x44>
|
|
b58: fff64593 not a1,a2
|
|
b5c: 4781 li a5,0
|
|
b5e: 17fd addi a5,a5,-1
|
|
b60: 00f59363 bne a1,a5,b66 <rt_memmove+0x1a>
|
|
b64: 8082 ret
|
|
b66: 00f68733 add a4,a3,a5
|
|
b6a: 00070803 lb a6,0(a4)
|
|
b6e: 00c78733 add a4,a5,a2
|
|
b72: 972a add a4,a4,a0
|
|
b74: 01070023 sb a6,0(a4)
|
|
b78: b7dd j b5e <rt_memmove+0x12>
|
|
b7a: 00f58733 add a4,a1,a5
|
|
b7e: 00070683 lb a3,0(a4)
|
|
b82: 00f50733 add a4,a0,a5
|
|
b86: 0785 addi a5,a5,1
|
|
b88: a314 sb a3,0(a4)
|
|
b8a: fef618e3 bne a2,a5,b7a <rt_memmove+0x2e>
|
|
b8e: 8082 ret
|
|
b90: 4781 li a5,0
|
|
b92: bfe5 j b8a <rt_memmove+0x3e>
|
|
|
|
00000b94 <rt_strncpy>:
|
|
b94: c60d beqz a2,bbe <rt_strncpy+0x2a>
|
|
b96: 87aa mv a5,a0
|
|
b98: 0585 addi a1,a1,1
|
|
b9a: fff58703 lb a4,-1(a1)
|
|
b9e: 0785 addi a5,a5,1
|
|
ba0: fff60693 addi a3,a2,-1
|
|
ba4: fee78fa3 sb a4,-1(a5)
|
|
ba8: eb09 bnez a4,bba <rt_strncpy+0x26>
|
|
baa: 963e add a2,a2,a5
|
|
bac: 0785 addi a5,a5,1
|
|
bae: 00c79363 bne a5,a2,bb4 <rt_strncpy+0x20>
|
|
bb2: 8082 ret
|
|
bb4: fe078fa3 sb zero,-1(a5)
|
|
bb8: bfd5 j bac <rt_strncpy+0x18>
|
|
bba: 8636 mv a2,a3
|
|
bbc: fef1 bnez a3,b98 <rt_strncpy+0x4>
|
|
bbe: 8082 ret
|
|
|
|
00000bc0 <rt_strncmp>:
|
|
bc0: 4701 li a4,0
|
|
bc2: 00e61463 bne a2,a4,bca <rt_strncmp+0xa>
|
|
bc6: 4781 li a5,0
|
|
bc8: a839 j be6 <rt_strncmp+0x26>
|
|
bca: 00e507b3 add a5,a0,a4
|
|
bce: 00078683 lb a3,0(a5)
|
|
bd2: 00e587b3 add a5,a1,a4
|
|
bd6: 239c lbu a5,0(a5)
|
|
bd8: 40f687b3 sub a5,a3,a5
|
|
bdc: 07e2 slli a5,a5,0x18
|
|
bde: 87e1 srai a5,a5,0x18
|
|
be0: e399 bnez a5,be6 <rt_strncmp+0x26>
|
|
be2: 0705 addi a4,a4,1
|
|
be4: fef9 bnez a3,bc2 <rt_strncmp+0x2>
|
|
be6: 853e mv a0,a5
|
|
be8: 8082 ret
|
|
|
|
00000bea <rt_strlen>:
|
|
bea: 87aa mv a5,a0
|
|
bec: 00078703 lb a4,0(a5)
|
|
bf0: e701 bnez a4,bf8 <rt_strlen+0xe>
|
|
bf2: 40a78533 sub a0,a5,a0
|
|
bf6: 8082 ret
|
|
bf8: 0785 addi a5,a5,1
|
|
bfa: bfcd j bec <rt_strlen+0x2>
|
|
|
|
00000bfc <rt_vsnprintf>:
|
|
bfc: f7cff2ef jal t0,378 <__riscv_save_10>
|
|
c00: 892e mv s2,a1
|
|
c02: 01250bb3 add s7,a0,s2
|
|
c06: 1141 addi sp,sp,-16
|
|
c08: 8c2a mv s8,a0
|
|
c0a: 85b6 mv a1,a3
|
|
c0c: 00abf563 bgeu s7,a0,c16 <rt_vsnprintf+0x1a>
|
|
c10: fff54913 not s2,a0
|
|
c14: 5bfd li s7,-1
|
|
c16: 69c1 lui s3,0x10
|
|
c18: 00004a37 lui s4,0x4
|
|
c1c: 8462 mv s0,s8
|
|
c1e: 02b00a93 li s5,43
|
|
c22: 02000b13 li s6,32
|
|
c26: 19fd addi s3,s3,-1
|
|
c28: 23ca0a13 addi s4,s4,572 # 423c <large_digits.2583+0x9c>
|
|
c2c: a831 j c48 <rt_vsnprintf+0x4c>
|
|
c2e: 02500713 li a4,37
|
|
c32: 02e78963 beq a5,a4,c64 <rt_vsnprintf+0x68>
|
|
c36: 01747363 bgeu s0,s7,c3c <rt_vsnprintf+0x40>
|
|
c3a: a01c sb a5,0(s0)
|
|
c3c: 00140513 addi a0,s0,1
|
|
c40: 84b2 mv s1,a2
|
|
c42: 00148613 addi a2,s1,1
|
|
c46: 842a mv s0,a0
|
|
c48: 00060783 lb a5,0(a2)
|
|
c4c: f3ed bnez a5,c2e <rt_vsnprintf+0x32>
|
|
c4e: 00090663 beqz s2,c5a <rt_vsnprintf+0x5e>
|
|
c52: 2f747b63 bgeu s0,s7,f48 <rt_vsnprintf+0x34c>
|
|
c56: 00040023 sb zero,0(s0)
|
|
c5a: 41840533 sub a0,s0,s8
|
|
c5e: 0141 addi sp,sp,16
|
|
c60: f50ff06f j 3b0 <__riscv_restore_10>
|
|
c64: 4801 li a6,0
|
|
c66: 02d00713 li a4,45
|
|
c6a: 02300693 li a3,35
|
|
c6e: 03000513 li a0,48
|
|
c72: a031 j c7e <rt_vsnprintf+0x82>
|
|
c74: 01579e63 bne a5,s5,c90 <rt_vsnprintf+0x94>
|
|
c78: 00486813 ori a6,a6,4
|
|
c7c: 8626 mv a2,s1
|
|
c7e: 00160783 lb a5,1(a2)
|
|
c82: 00160493 addi s1,a2,1
|
|
c86: fee797e3 bne a5,a4,c74 <rt_vsnprintf+0x78>
|
|
c8a: 01086813 ori a6,a6,16
|
|
c8e: b7fd j c7c <rt_vsnprintf+0x80>
|
|
c90: 01679563 bne a5,s6,c9a <rt_vsnprintf+0x9e>
|
|
c94: 00886813 ori a6,a6,8
|
|
c98: b7d5 j c7c <rt_vsnprintf+0x80>
|
|
c9a: 00d79563 bne a5,a3,ca4 <rt_vsnprintf+0xa8>
|
|
c9e: 02086813 ori a6,a6,32
|
|
ca2: bfe9 j c7c <rt_vsnprintf+0x80>
|
|
ca4: 00a79563 bne a5,a0,cae <rt_vsnprintf+0xb2>
|
|
ca8: 00186813 ori a6,a6,1
|
|
cac: bfc1 j c7c <rt_vsnprintf+0x80>
|
|
cae: fd078713 addi a4,a5,-48
|
|
cb2: 46a5 li a3,9
|
|
cb4: 04e6e663 bltu a3,a4,d00 <rt_vsnprintf+0x104>
|
|
cb8: 4701 li a4,0
|
|
cba: 46a5 li a3,9
|
|
cbc: 4529 li a0,10
|
|
cbe: a039 j ccc <rt_vsnprintf+0xd0>
|
|
cc0: 02a70733 mul a4,a4,a0
|
|
cc4: 0485 addi s1,s1,1
|
|
cc6: 973e add a4,a4,a5
|
|
cc8: fd070713 addi a4,a4,-48
|
|
ccc: 00048783 lb a5,0(s1)
|
|
cd0: fd078613 addi a2,a5,-48
|
|
cd4: fec6f6e3 bgeu a3,a2,cc0 <rt_vsnprintf+0xc4>
|
|
cd8: 00048603 lb a2,0(s1)
|
|
cdc: 02e00693 li a3,46
|
|
ce0: 57fd li a5,-1
|
|
ce2: 04d61f63 bne a2,a3,d40 <rt_vsnprintf+0x144>
|
|
ce6: 00148783 lb a5,1(s1)
|
|
cea: 4625 li a2,9
|
|
cec: 00148693 addi a3,s1,1
|
|
cf0: fd078513 addi a0,a5,-48
|
|
cf4: 0aa66563 bltu a2,a0,d9e <rt_vsnprintf+0x1a2>
|
|
cf8: 4781 li a5,0
|
|
cfa: 4525 li a0,9
|
|
cfc: 4329 li t1,10
|
|
cfe: a03d j d2c <rt_vsnprintf+0x130>
|
|
d00: 02a00693 li a3,42
|
|
d04: 577d li a4,-1
|
|
d06: fcd799e3 bne a5,a3,cd8 <rt_vsnprintf+0xdc>
|
|
d0a: 4198 lw a4,0(a1)
|
|
d0c: 00260493 addi s1,a2,2
|
|
d10: 0591 addi a1,a1,4
|
|
d12: fc0753e3 bgez a4,cd8 <rt_vsnprintf+0xdc>
|
|
d16: 40e00733 neg a4,a4
|
|
d1a: 01086813 ori a6,a6,16
|
|
d1e: bf6d j cd8 <rt_vsnprintf+0xdc>
|
|
d20: 026787b3 mul a5,a5,t1
|
|
d24: 0685 addi a3,a3,1
|
|
d26: 97b2 add a5,a5,a2
|
|
d28: fd078793 addi a5,a5,-48
|
|
d2c: 00068603 lb a2,0(a3)
|
|
d30: fd060893 addi a7,a2,-48
|
|
d34: ff1576e3 bgeu a0,a7,d20 <rt_vsnprintf+0x124>
|
|
d38: 0007d363 bgez a5,d3e <rt_vsnprintf+0x142>
|
|
d3c: 4781 li a5,0
|
|
d3e: 84b6 mv s1,a3
|
|
d40: 00048683 lb a3,0(s1)
|
|
d44: 06800613 li a2,104
|
|
d48: 4501 li a0,0
|
|
d4a: ffb6f893 andi a7,a3,-5
|
|
d4e: 00c89563 bne a7,a2,d58 <rt_vsnprintf+0x15c>
|
|
d52: 0ff6f513 andi a0,a3,255
|
|
d56: 0485 addi s1,s1,1
|
|
d58: 00048603 lb a2,0(s1)
|
|
d5c: 06900693 li a3,105
|
|
d60: 06d60363 beq a2,a3,dc6 <rt_vsnprintf+0x1ca>
|
|
d64: 06c6c563 blt a3,a2,dce <rt_vsnprintf+0x1d2>
|
|
d68: 05800693 li a3,88
|
|
d6c: 1cd60363 beq a2,a3,f32 <rt_vsnprintf+0x336>
|
|
d70: 04c6c363 blt a3,a2,db6 <rt_vsnprintf+0x1ba>
|
|
d74: 02500793 li a5,37
|
|
d78: 1af60763 beq a2,a5,f26 <rt_vsnprintf+0x32a>
|
|
d7c: 01747563 bgeu s0,s7,d86 <rt_vsnprintf+0x18a>
|
|
d80: 02500793 li a5,37
|
|
d84: a01c sb a5,0(s0)
|
|
d86: 00048783 lb a5,0(s1)
|
|
d8a: 00140513 addi a0,s0,1
|
|
d8e: 1a078663 beqz a5,f3a <rt_vsnprintf+0x33e>
|
|
d92: 01757363 bgeu a0,s7,d98 <rt_vsnprintf+0x19c>
|
|
d96: b01c sb a5,1(s0)
|
|
d98: 00240513 addi a0,s0,2
|
|
d9c: b55d j c42 <rt_vsnprintf+0x46>
|
|
d9e: 02a00613 li a2,42
|
|
da2: 00c79763 bne a5,a2,db0 <rt_vsnprintf+0x1b4>
|
|
da6: 419c lw a5,0(a1)
|
|
da8: 00248693 addi a3,s1,2
|
|
dac: 0591 addi a1,a1,4
|
|
dae: b769 j d38 <rt_vsnprintf+0x13c>
|
|
db0: 84b6 mv s1,a3
|
|
db2: 4781 li a5,0
|
|
db4: b771 j d40 <rt_vsnprintf+0x144>
|
|
db6: 06300693 li a3,99
|
|
dba: 08d60263 beq a2,a3,e3e <rt_vsnprintf+0x242>
|
|
dbe: 06400693 li a3,100
|
|
dc2: fad61de3 bne a2,a3,d7c <rt_vsnprintf+0x180>
|
|
dc6: 00286813 ori a6,a6,2
|
|
dca: 46a9 li a3,10
|
|
dcc: a099 j e12 <rt_vsnprintf+0x216>
|
|
dce: 07300693 li a3,115
|
|
dd2: 0cd60363 beq a2,a3,e98 <rt_vsnprintf+0x29c>
|
|
dd6: 02c6c563 blt a3,a2,e00 <rt_vsnprintf+0x204>
|
|
dda: 06f00693 li a3,111
|
|
dde: 16d60063 beq a2,a3,f3e <rt_vsnprintf+0x342>
|
|
de2: 07000693 li a3,112
|
|
de6: f8d61be3 bne a2,a3,d7c <rt_vsnprintf+0x180>
|
|
dea: 56fd li a3,-1
|
|
dec: 00d71563 bne a4,a3,df6 <rt_vsnprintf+0x1fa>
|
|
df0: 00186813 ori a6,a6,1
|
|
df4: 4721 li a4,8
|
|
df6: 00458c93 addi s9,a1,4
|
|
dfa: 46c1 li a3,16
|
|
dfc: 4190 lw a2,0(a1)
|
|
dfe: a81d j e34 <rt_vsnprintf+0x238>
|
|
e00: 07500693 li a3,117
|
|
e04: fcd603e3 beq a2,a3,dca <rt_vsnprintf+0x1ce>
|
|
e08: 07800893 li a7,120
|
|
e0c: 46c1 li a3,16
|
|
e0e: f71617e3 bne a2,a7,d7c <rt_vsnprintf+0x180>
|
|
e12: 06c00613 li a2,108
|
|
e16: 00458c93 addi s9,a1,4
|
|
e1a: fec501e3 beq a0,a2,dfc <rt_vsnprintf+0x200>
|
|
e1e: 06800613 li a2,104
|
|
e22: fcc51de3 bne a0,a2,dfc <rt_vsnprintf+0x200>
|
|
e26: 4190 lw a2,0(a1)
|
|
e28: 00287593 andi a1,a6,2
|
|
e2c: 10059b63 bnez a1,f42 <rt_vsnprintf+0x346>
|
|
e30: 01367633 and a2,a2,s3
|
|
e34: 85de mv a1,s7
|
|
e36: 8522 mv a0,s0
|
|
e38: 3ccd jal 92a <print_number>
|
|
e3a: 85e6 mv a1,s9
|
|
e3c: b519 j c42 <rt_vsnprintf+0x46>
|
|
e3e: 01087813 andi a6,a6,16
|
|
e42: 02081563 bnez a6,e6c <rt_vsnprintf+0x270>
|
|
e46: 87ba mv a5,a4
|
|
e48: 02000693 li a3,32
|
|
e4c: a029 j e56 <rt_vsnprintf+0x25a>
|
|
e4e: 01747363 bgeu s0,s7,e54 <rt_vsnprintf+0x258>
|
|
e52: a014 sb a3,0(s0)
|
|
e54: 0405 addi s0,s0,1
|
|
e56: 17fd addi a5,a5,-1
|
|
e58: fef04be3 bgtz a5,e4e <rt_vsnprintf+0x252>
|
|
e5c: fff70793 addi a5,a4,-1
|
|
e60: 00e04363 bgtz a4,e66 <rt_vsnprintf+0x26a>
|
|
e64: 4705 li a4,1
|
|
e66: 40e78733 sub a4,a5,a4
|
|
e6a: 0705 addi a4,a4,1
|
|
e6c: 00458793 addi a5,a1,4
|
|
e70: 01747463 bgeu s0,s7,e78 <rt_vsnprintf+0x27c>
|
|
e74: 4194 lw a3,0(a1)
|
|
e76: a014 sb a3,0(s0)
|
|
e78: 00140513 addi a0,s0,1
|
|
e7c: 9722 add a4,a4,s0
|
|
e7e: 02000613 li a2,32
|
|
e82: 40a706b3 sub a3,a4,a0
|
|
e86: 00d04463 bgtz a3,e8e <rt_vsnprintf+0x292>
|
|
e8a: 85be mv a1,a5
|
|
e8c: bb5d j c42 <rt_vsnprintf+0x46>
|
|
e8e: 01757363 bgeu a0,s7,e94 <rt_vsnprintf+0x298>
|
|
e92: a110 sb a2,0(a0)
|
|
e94: 0505 addi a0,a0,1
|
|
e96: b7f5 j e82 <rt_vsnprintf+0x286>
|
|
e98: 0005ac83 lw s9,0(a1)
|
|
e9c: 00458d13 addi s10,a1,4
|
|
ea0: 000c9363 bnez s9,ea6 <rt_vsnprintf+0x2aa>
|
|
ea4: 8cd2 mv s9,s4
|
|
ea6: 8566 mv a0,s9
|
|
ea8: c63e sw a5,12(sp)
|
|
eaa: c43a sw a4,8(sp)
|
|
eac: c242 sw a6,4(sp)
|
|
eae: 3b35 jal bea <rt_strlen>
|
|
eb0: 47b2 lw a5,12(sp)
|
|
eb2: 86aa mv a3,a0
|
|
eb4: 4812 lw a6,4(sp)
|
|
eb6: 4722 lw a4,8(sp)
|
|
eb8: 00f05563 blez a5,ec2 <rt_vsnprintf+0x2c6>
|
|
ebc: 00a7d363 bge a5,a0,ec2 <rt_vsnprintf+0x2c6>
|
|
ec0: 86be mv a3,a5
|
|
ec2: 01087813 andi a6,a6,16
|
|
ec6: 00081e63 bnez a6,ee2 <rt_vsnprintf+0x2e6>
|
|
eca: 87ba mv a5,a4
|
|
ecc: 02000613 li a2,32
|
|
ed0: a031 j edc <rt_vsnprintf+0x2e0>
|
|
ed2: 01747363 bgeu s0,s7,ed8 <rt_vsnprintf+0x2dc>
|
|
ed6: a010 sb a2,0(s0)
|
|
ed8: 0405 addi s0,s0,1
|
|
eda: 87ba mv a5,a4
|
|
edc: 177d addi a4,a4,-1
|
|
ede: fef6cae3 blt a3,a5,ed2 <rt_vsnprintf+0x2d6>
|
|
ee2: 4781 li a5,0
|
|
ee4: 02d7c163 blt a5,a3,f06 <rt_vsnprintf+0x30a>
|
|
ee8: 87b6 mv a5,a3
|
|
eea: 0006d363 bgez a3,ef0 <rt_vsnprintf+0x2f4>
|
|
eee: 4781 li a5,0
|
|
ef0: 00f40533 add a0,s0,a5
|
|
ef4: 972a add a4,a4,a0
|
|
ef6: 02000613 li a2,32
|
|
efa: 40a707b3 sub a5,a4,a0
|
|
efe: 00f6cf63 blt a3,a5,f1c <rt_vsnprintf+0x320>
|
|
f02: 85ea mv a1,s10
|
|
f04: bb3d j c42 <rt_vsnprintf+0x46>
|
|
f06: 00f40633 add a2,s0,a5
|
|
f0a: 01767763 bgeu a2,s7,f18 <rt_vsnprintf+0x31c>
|
|
f0e: 00fc85b3 add a1,s9,a5
|
|
f12: 00058583 lb a1,0(a1)
|
|
f16: a20c sb a1,0(a2)
|
|
f18: 0785 addi a5,a5,1
|
|
f1a: b7e9 j ee4 <rt_vsnprintf+0x2e8>
|
|
f1c: 01757363 bgeu a0,s7,f22 <rt_vsnprintf+0x326>
|
|
f20: a110 sb a2,0(a0)
|
|
f22: 0505 addi a0,a0,1
|
|
f24: bfd9 j efa <rt_vsnprintf+0x2fe>
|
|
f26: 01747363 bgeu s0,s7,f2c <rt_vsnprintf+0x330>
|
|
f2a: a010 sb a2,0(s0)
|
|
f2c: 00140513 addi a0,s0,1
|
|
f30: bb09 j c42 <rt_vsnprintf+0x46>
|
|
f32: 04086813 ori a6,a6,64
|
|
f36: 46c1 li a3,16
|
|
f38: bde9 j e12 <rt_vsnprintf+0x216>
|
|
f3a: 14fd addi s1,s1,-1
|
|
f3c: b319 j c42 <rt_vsnprintf+0x46>
|
|
f3e: 46a1 li a3,8
|
|
f40: bdc9 j e12 <rt_vsnprintf+0x216>
|
|
f42: 0642 slli a2,a2,0x10
|
|
f44: 8641 srai a2,a2,0x10
|
|
f46: b5fd j e34 <rt_vsnprintf+0x238>
|
|
f48: fe0b8fa3 sb zero,-1(s7)
|
|
f4c: b339 j c5a <rt_vsnprintf+0x5e>
|
|
|
|
00000f4e <rt_console_get_device>:
|
|
f4e: 81c1a503 lw a0,-2020(gp) # 2000017c <_console_device>
|
|
f52: 8082 ret
|
|
|
|
00000f54 <rt_console_set_device>:
|
|
f54: c4cff2ef jal t0,3a0 <__riscv_save_0>
|
|
f58: 81c1a903 lw s2,-2020(gp) # 2000017c <_console_device>
|
|
f5c: dfcff0ef jal ra,558 <rt_device_find>
|
|
f60: cd11 beqz a0,f7c <rt_console_set_device+0x28>
|
|
f62: 81c18413 addi s0,gp,-2020 # 2000017c <_console_device>
|
|
f66: 84aa mv s1,a0
|
|
f68: 4008 lw a0,0(s0)
|
|
f6a: c119 beqz a0,f70 <rt_console_set_device+0x1c>
|
|
f6c: ee2ff0ef jal ra,64e <rt_device_close>
|
|
f70: 04300593 li a1,67
|
|
f74: 8526 mv a0,s1
|
|
f76: e5eff0ef jal ra,5d4 <rt_device_open>
|
|
f7a: c004 sw s1,0(s0)
|
|
f7c: 854a mv a0,s2
|
|
f7e: c46ff06f j 3c4 <__riscv_restore_0>
|
|
|
|
00000f82 <rt_hw_console_output>:
|
|
f82: 8082 ret
|
|
|
|
00000f84 <rt_kprintf>:
|
|
f84: 7139 addi sp,sp,-64
|
|
f86: ca26 sw s1,20(sp)
|
|
f88: d22e sw a1,36(sp)
|
|
f8a: d432 sw a2,40(sp)
|
|
f8c: d636 sw a3,44(sp)
|
|
f8e: 862a mv a2,a0
|
|
f90: 1054 addi a3,sp,36
|
|
f92: 07f00593 li a1,127
|
|
f96: b4018513 addi a0,gp,-1216 # 200004a0 <rt_log_buf.2693>
|
|
f9a: da3e sw a5,52(sp)
|
|
f9c: c636 sw a3,12(sp)
|
|
f9e: ce06 sw ra,28(sp)
|
|
fa0: cc22 sw s0,24(sp)
|
|
fa2: d83a sw a4,48(sp)
|
|
fa4: dc42 sw a6,56(sp)
|
|
fa6: de46 sw a7,60(sp)
|
|
fa8: 3991 jal bfc <rt_vsnprintf>
|
|
faa: 86aa mv a3,a0
|
|
fac: 81c1a503 lw a0,-2020(gp) # 2000017c <_console_device>
|
|
fb0: e909 bnez a0,fc2 <rt_kprintf+0x3e>
|
|
fb2: b4018513 addi a0,gp,-1216 # 200004a0 <rt_log_buf.2693>
|
|
fb6: 37f1 jal f82 <rt_hw_console_output>
|
|
fb8: 40f2 lw ra,28(sp)
|
|
fba: 4462 lw s0,24(sp)
|
|
fbc: 44d2 lw s1,20(sp)
|
|
fbe: 6121 addi sp,sp,64
|
|
fc0: 8082 ret
|
|
fc2: 8626 mv a2,s1
|
|
fc4: 2d26 lhu s1,26(a0)
|
|
fc6: 81c18413 addi s0,gp,-2020 # 2000017c <_console_device>
|
|
fca: 0404e793 ori a5,s1,64
|
|
fce: ad3e sh a5,26(a0)
|
|
fd0: 07f00793 li a5,127
|
|
fd4: 00d7f463 bgeu a5,a3,fdc <rt_kprintf+0x58>
|
|
fd8: 07f00693 li a3,127
|
|
fdc: b4018613 addi a2,gp,-1216 # 200004a0 <rt_log_buf.2693>
|
|
fe0: 4581 li a1,0
|
|
fe2: ec0ff0ef jal ra,6a2 <rt_device_write>
|
|
fe6: 401c lw a5,0(s0)
|
|
fe8: afa6 sh s1,26(a5)
|
|
fea: b7f9 j fb8 <rt_kprintf+0x34>
|
|
|
|
00000fec <rt_show_version>:
|
|
fec: bb4ff2ef jal t0,3a0 <__riscv_save_0>
|
|
ff0: 00004537 lui a0,0x4
|
|
ff4: 1b450513 addi a0,a0,436 # 41b4 <large_digits.2583+0x14>
|
|
ff8: 3771 jal f84 <rt_kprintf>
|
|
ffa: 00004537 lui a0,0x4
|
|
ffe: 1c050513 addi a0,a0,448 # 41c0 <large_digits.2583+0x20>
|
|
1002: 3749 jal f84 <rt_kprintf>
|
|
1004: 00004737 lui a4,0x4
|
|
1008: 00004537 lui a0,0x4
|
|
100c: 1e470713 addi a4,a4,484 # 41e4 <large_digits.2583+0x44>
|
|
1010: 468d li a3,3
|
|
1012: 4605 li a2,1
|
|
1014: 458d li a1,3
|
|
1016: 1f050513 addi a0,a0,496 # 41f0 <large_digits.2583+0x50>
|
|
101a: 37ad jal f84 <rt_kprintf>
|
|
101c: 00004537 lui a0,0x4
|
|
1020: 21050513 addi a0,a0,528 # 4210 <large_digits.2583+0x70>
|
|
1024: 3785 jal f84 <rt_kprintf>
|
|
1026: b9eff06f j 3c4 <__riscv_restore_0>
|
|
|
|
0000102a <__rt_ffs>:
|
|
102a: c531 beqz a0,1076 <__rt_ffs+0x4c>
|
|
102c: 6691 lui a3,0x4
|
|
102e: 0ff57713 andi a4,a0,255
|
|
1032: 0a068693 addi a3,a3,160 # 40a0 <__lowest_bit_bitmap>
|
|
1036: c709 beqz a4,1040 <__rt_ffs+0x16>
|
|
1038: 96ba add a3,a3,a4
|
|
103a: 2288 lbu a0,0(a3)
|
|
103c: 0505 addi a0,a0,1
|
|
103e: 8082 ret
|
|
1040: 67c1 lui a5,0x10
|
|
1042: f0078793 addi a5,a5,-256 # ff00 <__rt_init_end+0xa868>
|
|
1046: 8fe9 and a5,a5,a0
|
|
1048: cb81 beqz a5,1058 <__rt_ffs+0x2e>
|
|
104a: 8521 srai a0,a0,0x8
|
|
104c: 0ff57713 andi a4,a0,255
|
|
1050: 9736 add a4,a4,a3
|
|
1052: 2308 lbu a0,0(a4)
|
|
1054: 0525 addi a0,a0,9
|
|
1056: 8082 ret
|
|
1058: 00ff07b7 lui a5,0xff0
|
|
105c: 8fe9 and a5,a5,a0
|
|
105e: cb81 beqz a5,106e <__rt_ffs+0x44>
|
|
1060: 8541 srai a0,a0,0x10
|
|
1062: 0ff57793 andi a5,a0,255
|
|
1066: 97b6 add a5,a5,a3
|
|
1068: 2388 lbu a0,0(a5)
|
|
106a: 0545 addi a0,a0,17
|
|
106c: 8082 ret
|
|
106e: 8161 srli a0,a0,0x18
|
|
1070: 9536 add a0,a0,a3
|
|
1072: 2108 lbu a0,0(a0)
|
|
1074: 0565 addi a0,a0,25
|
|
1076: 8082 ret
|
|
|
|
00001078 <plug_holes>:
|
|
1078: 8241a703 lw a4,-2012(gp) # 20000184 <heap_ptr>
|
|
107c: 415c lw a5,4(a0)
|
|
107e: 97ba add a5,a5,a4
|
|
1080: 02f50563 beq a0,a5,10aa <plug_holes+0x32>
|
|
1084: 23b6 lhu a3,2(a5)
|
|
1086: e295 bnez a3,10aa <plug_holes+0x32>
|
|
1088: 8201a683 lw a3,-2016(gp) # 20000180 <heap_end>
|
|
108c: 00f68f63 beq a3,a5,10aa <plug_holes+0x32>
|
|
1090: 82818693 addi a3,gp,-2008 # 20000188 <lfree>
|
|
1094: 4290 lw a2,0(a3)
|
|
1096: 00f61363 bne a2,a5,109c <plug_holes+0x24>
|
|
109a: c288 sw a0,0(a3)
|
|
109c: 43d4 lw a3,4(a5)
|
|
109e: c154 sw a3,4(a0)
|
|
10a0: 43dc lw a5,4(a5)
|
|
10a2: 40e506b3 sub a3,a0,a4
|
|
10a6: 97ba add a5,a5,a4
|
|
10a8: c794 sw a3,8(a5)
|
|
10aa: 4510 lw a2,8(a0)
|
|
10ac: 00c707b3 add a5,a4,a2
|
|
10b0: 00f50f63 beq a0,a5,10ce <plug_holes+0x56>
|
|
10b4: 23b6 lhu a3,2(a5)
|
|
10b6: ee81 bnez a3,10ce <plug_holes+0x56>
|
|
10b8: 82818693 addi a3,gp,-2008 # 20000188 <lfree>
|
|
10bc: 428c lw a1,0(a3)
|
|
10be: 00a59363 bne a1,a0,10c4 <plug_holes+0x4c>
|
|
10c2: c29c sw a5,0(a3)
|
|
10c4: 4154 lw a3,4(a0)
|
|
10c6: c3d4 sw a3,4(a5)
|
|
10c8: 415c lw a5,4(a0)
|
|
10ca: 973e add a4,a4,a5
|
|
10cc: c710 sw a2,8(a4)
|
|
10ce: 8082 ret
|
|
|
|
000010d0 <list_mem>:
|
|
10d0: ad0ff2ef jal t0,3a0 <__riscv_save_0>
|
|
10d4: 8301a583 lw a1,-2000(gp) # 20000190 <mem_size_aligned>
|
|
10d8: 00004537 lui a0,0x4
|
|
10dc: 25850513 addi a0,a0,600 # 4258 <small_digits.2582+0x14>
|
|
10e0: 3555 jal f84 <rt_kprintf>
|
|
10e2: 83c1a583 lw a1,-1988(gp) # 2000019c <used_mem>
|
|
10e6: 00004537 lui a0,0x4
|
|
10ea: 26c50513 addi a0,a0,620 # 426c <small_digits.2582+0x28>
|
|
10ee: 3d59 jal f84 <rt_kprintf>
|
|
10f0: 82c1a583 lw a1,-2004(gp) # 2000018c <max_mem>
|
|
10f4: 00004537 lui a0,0x4
|
|
10f8: 28050513 addi a0,a0,640 # 4280 <small_digits.2582+0x3c>
|
|
10fc: 3561 jal f84 <rt_kprintf>
|
|
10fe: ac6ff06f j 3c4 <__riscv_restore_0>
|
|
|
|
00001102 <rt_system_heap_init>:
|
|
1102: a9eff2ef jal t0,3a0 <__riscv_save_0>
|
|
1106: ffc5f713 andi a4,a1,-4
|
|
110a: 46e1 li a3,24
|
|
110c: 862e mv a2,a1
|
|
110e: 06e6f163 bgeu a3,a4,1170 <rt_system_heap_init+0x6e>
|
|
1112: 00350793 addi a5,a0,3
|
|
1116: 9bf1 andi a5,a5,-4
|
|
1118: fe870693 addi a3,a4,-24
|
|
111c: 04f6ea63 bltu a3,a5,1170 <rt_system_heap_init+0x6e>
|
|
1120: 8f1d sub a4,a4,a5
|
|
1122: fe870613 addi a2,a4,-24
|
|
1126: 82c1a823 sw a2,-2000(gp) # 20000190 <mem_size_aligned>
|
|
112a: 6689 lui a3,0x2
|
|
112c: 1751 addi a4,a4,-12
|
|
112e: 82418413 addi s0,gp,-2012 # 20000184 <heap_ptr>
|
|
1132: ea068693 addi a3,a3,-352 # 1ea0 <list_mutex+0x58>
|
|
1136: c3d8 sw a4,4(a5)
|
|
1138: c394 sw a3,0(a5)
|
|
113a: 0007a423 sw zero,8(a5) # ff0008 <__rt_init_end+0xfea970>
|
|
113e: c01c sw a5,0(s0)
|
|
1140: 97ba add a5,a5,a4
|
|
1142: 82f1a023 sw a5,-2016(gp) # 20000180 <heap_end>
|
|
1146: 66c9 lui a3,0x12
|
|
1148: ea068693 addi a3,a3,-352 # 11ea0 <__rt_init_end+0xc808>
|
|
114c: 000045b7 lui a1,0x4
|
|
1150: c394 sw a3,0(a5)
|
|
1152: c3d8 sw a4,4(a5)
|
|
1154: c798 sw a4,8(a5)
|
|
1156: 4681 li a3,0
|
|
1158: 4605 li a2,1
|
|
115a: 31858593 addi a1,a1,792 # 4318 <__fsym_list_mem_name+0x58>
|
|
115e: bc018513 addi a0,gp,-1088 # 20000520 <heap_sem>
|
|
1162: e82ff0ef jal ra,7e4 <rt_sem_init>
|
|
1166: 4018 lw a4,0(s0)
|
|
1168: 82e1a423 sw a4,-2008(gp) # 20000188 <lfree>
|
|
116c: a58ff06f j 3c4 <__riscv_restore_0>
|
|
1170: 85aa mv a1,a0
|
|
1172: 00004537 lui a0,0x4
|
|
1176: 32050513 addi a0,a0,800 # 4320 <__fsym_list_mem_name+0x60>
|
|
117a: 3529 jal f84 <rt_kprintf>
|
|
117c: bfc5 j 116c <rt_system_heap_init+0x6a>
|
|
|
|
0000117e <rt_malloc>:
|
|
117e: a22ff2ef jal t0,3a0 <__riscv_save_0>
|
|
1182: c539 beqz a0,11d0 <rt_malloc+0x52>
|
|
1184: 8301a703 lw a4,-2000(gp) # 20000190 <mem_size_aligned>
|
|
1188: 00350413 addi s0,a0,3
|
|
118c: 9871 andi s0,s0,-4
|
|
118e: 83018913 addi s2,gp,-2000 # 20000190 <mem_size_aligned>
|
|
1192: 4481 li s1,0
|
|
1194: 0e876663 bltu a4,s0,1280 <rt_malloc+0x102>
|
|
1198: 47b1 li a5,12
|
|
119a: 00f47363 bgeu s0,a5,11a0 <rt_malloc+0x22>
|
|
119e: 4431 li s0,12
|
|
11a0: 55fd li a1,-1
|
|
11a2: bc018513 addi a0,gp,-1088 # 20000520 <heap_sem>
|
|
11a6: e66ff0ef jal ra,80c <rt_sem_take>
|
|
11aa: 8281a783 lw a5,-2008(gp) # 20000188 <lfree>
|
|
11ae: 8241a583 lw a1,-2012(gp) # 20000184 <heap_ptr>
|
|
11b2: 00092883 lw a7,0(s2)
|
|
11b6: 8526 mv a0,s1
|
|
11b8: 40b78633 sub a2,a5,a1
|
|
11bc: 408886b3 sub a3,a7,s0
|
|
11c0: 82818813 addi a6,gp,-2008 # 20000188 <lfree>
|
|
11c4: 00d66863 bltu a2,a3,11d4 <rt_malloc+0x56>
|
|
11c8: bc018513 addi a0,gp,-1088 # 20000520 <heap_sem>
|
|
11cc: ec0ff0ef jal ra,88c <rt_sem_release>
|
|
11d0: 4481 li s1,0
|
|
11d2: a07d j 1280 <rt_malloc+0x102>
|
|
11d4: 00c584b3 add s1,a1,a2
|
|
11d8: 20ba lhu a4,2(s1)
|
|
11da: 0044ae03 lw t3,4(s1)
|
|
11de: e761 bnez a4,12a6 <rt_malloc+0x128>
|
|
11e0: 40ce0733 sub a4,t3,a2
|
|
11e4: ff470f93 addi t6,a4,-12
|
|
11e8: 0a8fef63 bltu t6,s0,12a6 <rt_malloc+0x128>
|
|
11ec: 83c18f13 addi t5,gp,-1988 # 2000019c <used_mem>
|
|
11f0: 82c18e93 addi t4,gp,-2004 # 2000018c <max_mem>
|
|
11f4: 01840313 addi t1,s0,24
|
|
11f8: 000f2683 lw a3,0(t5)
|
|
11fc: 000ea383 lw t2,0(t4)
|
|
1200: 83c18913 addi s2,gp,-1988 # 2000019c <used_mem>
|
|
1204: 82c18293 addi t0,gp,-2004 # 2000018c <max_mem>
|
|
1208: 066fef63 bltu t6,t1,1286 <rt_malloc+0x108>
|
|
120c: 00c40713 addi a4,s0,12
|
|
1210: 9732 add a4,a4,a2
|
|
1212: 6e89 lui t4,0x2
|
|
1214: 00e58333 add t1,a1,a4
|
|
1218: ea0e8e93 addi t4,t4,-352 # 1ea0 <list_mutex+0x58>
|
|
121c: 01c32223 sw t3,4(t1)
|
|
1220: 00c32423 sw a2,8(t1)
|
|
1224: 01d32023 sw t4,0(t1)
|
|
1228: 4605 li a2,1
|
|
122a: c0d8 sw a4,4(s1)
|
|
122c: a0b2 sh a2,2(s1)
|
|
122e: 00432603 lw a2,4(t1)
|
|
1232: 08b1 addi a7,a7,12
|
|
1234: 01160463 beq a2,a7,123c <rt_malloc+0xbe>
|
|
1238: 962e add a2,a2,a1
|
|
123a: c618 sw a4,8(a2)
|
|
123c: 00c68713 addi a4,a3,12
|
|
1240: 9722 add a4,a4,s0
|
|
1242: 00e92023 sw a4,0(s2)
|
|
1246: 00e3f463 bgeu t2,a4,124e <rt_malloc+0xd0>
|
|
124a: 00e2a023 sw a4,0(t0) # 45e <memset+0x8e>
|
|
124e: 6709 lui a4,0x2
|
|
1250: ea070713 addi a4,a4,-352 # 1ea0 <list_mutex+0x58>
|
|
1254: a09a sh a4,0(s1)
|
|
1256: 00979a63 bne a5,s1,126a <rt_malloc+0xec>
|
|
125a: 8201a683 lw a3,-2016(gp) # 20000180 <heap_end>
|
|
125e: 4701 li a4,0
|
|
1260: 23b2 lhu a2,2(a5)
|
|
1262: ee05 bnez a2,129a <rt_malloc+0x11c>
|
|
1264: c319 beqz a4,126a <rt_malloc+0xec>
|
|
1266: 00f82023 sw a5,0(a6)
|
|
126a: bc018513 addi a0,gp,-1088 # 20000520 <heap_sem>
|
|
126e: e1eff0ef jal ra,88c <rt_sem_release>
|
|
1272: 8381a783 lw a5,-1992(gp) # 20000198 <rt_malloc_hook>
|
|
1276: 04b1 addi s1,s1,12
|
|
1278: c781 beqz a5,1280 <rt_malloc+0x102>
|
|
127a: 85a2 mv a1,s0
|
|
127c: 8526 mv a0,s1
|
|
127e: 9782 jalr a5
|
|
1280: 8526 mv a0,s1
|
|
1282: 942ff06f j 3c4 <__riscv_restore_0>
|
|
1286: 4605 li a2,1
|
|
1288: 9736 add a4,a4,a3
|
|
128a: a0b2 sh a2,2(s1)
|
|
128c: 00ef2023 sw a4,0(t5)
|
|
1290: fae3ffe3 bgeu t2,a4,124e <rt_malloc+0xd0>
|
|
1294: 00eea023 sw a4,0(t4)
|
|
1298: bf5d j 124e <rt_malloc+0xd0>
|
|
129a: fcd785e3 beq a5,a3,1264 <rt_malloc+0xe6>
|
|
129e: 43dc lw a5,4(a5)
|
|
12a0: 4705 li a4,1
|
|
12a2: 97ae add a5,a5,a1
|
|
12a4: bf75 j 1260 <rt_malloc+0xe2>
|
|
12a6: 8672 mv a2,t3
|
|
12a8: bf31 j 11c4 <rt_malloc+0x46>
|
|
|
|
000012aa <rt_calloc>:
|
|
12aa: 8f6ff2ef jal t0,3a0 <__riscv_save_0>
|
|
12ae: 02b50633 mul a2,a0,a1
|
|
12b2: 1141 addi sp,sp,-16
|
|
12b4: 8532 mv a0,a2
|
|
12b6: c632 sw a2,12(sp)
|
|
12b8: 35d9 jal 117e <rt_malloc>
|
|
12ba: 842a mv s0,a0
|
|
12bc: c509 beqz a0,12c6 <rt_calloc+0x1c>
|
|
12be: 4632 lw a2,12(sp)
|
|
12c0: 4581 li a1,0
|
|
12c2: 803ff0ef jal ra,ac4 <rt_memset>
|
|
12c6: 8522 mv a0,s0
|
|
12c8: 0141 addi sp,sp,16
|
|
12ca: 8faff06f j 3c4 <__riscv_restore_0>
|
|
|
|
000012ce <rt_free>:
|
|
12ce: c545 beqz a0,1376 <rt_free+0xa8>
|
|
12d0: 8b6ff2ef jal t0,386 <__riscv_save_4>
|
|
12d4: 8341a783 lw a5,-1996(gp) # 20000194 <rt_free_hook>
|
|
12d8: 842a mv s0,a0
|
|
12da: c391 beqz a5,12de <rt_free+0x10>
|
|
12dc: 9782 jalr a5
|
|
12de: 8241a783 lw a5,-2012(gp) # 20000184 <heap_ptr>
|
|
12e2: 82418913 addi s2,gp,-2012 # 20000184 <heap_ptr>
|
|
12e6: 08f46663 bltu s0,a5,1372 <rt_free+0xa4>
|
|
12ea: 8201a783 lw a5,-2016(gp) # 20000180 <heap_end>
|
|
12ee: 08f47263 bgeu s0,a5,1372 <rt_free+0xa4>
|
|
12f2: 55fd li a1,-1
|
|
12f4: bc018513 addi a0,gp,-1088 # 20000520 <heap_sem>
|
|
12f8: d14ff0ef jal ra,80c <rt_sem_take>
|
|
12fc: ff645783 lhu a5,-10(s0)
|
|
1300: ff440993 addi s3,s0,-12
|
|
1304: cb81 beqz a5,1314 <rt_free+0x46>
|
|
1306: ff445703 lhu a4,-12(s0)
|
|
130a: 6789 lui a5,0x2
|
|
130c: ea078793 addi a5,a5,-352 # 1ea0 <list_mutex+0x58>
|
|
1310: 02f70163 beq a4,a5,1332 <rt_free+0x64>
|
|
1314: 00004537 lui a0,0x4
|
|
1318: 2cc50513 addi a0,a0,716 # 42cc <__fsym_list_mem_name+0xc>
|
|
131c: 31a5 jal f84 <rt_kprintf>
|
|
131e: ff445683 lhu a3,-12(s0)
|
|
1322: ff645603 lhu a2,-10(s0)
|
|
1326: 00004537 lui a0,0x4
|
|
132a: 85ce mv a1,s3
|
|
132c: 2e850513 addi a0,a0,744 # 42e8 <__fsym_list_mem_name+0x28>
|
|
1330: 3991 jal f84 <rt_kprintf>
|
|
1332: 6789 lui a5,0x2
|
|
1334: ea078793 addi a5,a5,-352 # 1ea0 <list_mutex+0x58>
|
|
1338: fef41a23 sh a5,-12(s0)
|
|
133c: 82818793 addi a5,gp,-2008 # 20000188 <lfree>
|
|
1340: 4398 lw a4,0(a5)
|
|
1342: fe041b23 sh zero,-10(s0)
|
|
1346: 00e9f463 bgeu s3,a4,134e <rt_free+0x80>
|
|
134a: 0137a023 sw s3,0(a5)
|
|
134e: 83c18713 addi a4,gp,-1988 # 2000019c <used_mem>
|
|
1352: 431c lw a5,0(a4)
|
|
1354: ff842683 lw a3,-8(s0)
|
|
1358: 854e mv a0,s3
|
|
135a: 8f95 sub a5,a5,a3
|
|
135c: 00092683 lw a3,0(s2)
|
|
1360: 40d986b3 sub a3,s3,a3
|
|
1364: 97b6 add a5,a5,a3
|
|
1366: c31c sw a5,0(a4)
|
|
1368: 3b01 jal 1078 <plug_holes>
|
|
136a: bc018513 addi a0,gp,-1088 # 20000520 <heap_sem>
|
|
136e: d1eff0ef jal ra,88c <rt_sem_release>
|
|
1372: 848ff06f j 3ba <__riscv_restore_4>
|
|
1376: 8082 ret
|
|
|
|
00001378 <rt_object_get_information>:
|
|
1378: 200007b7 lui a5,0x20000
|
|
137c: 00078693 mv a3,a5
|
|
1380: 4701 li a4,0
|
|
1382: 00078793 mv a5,a5
|
|
1386: 4621 li a2,8
|
|
1388: 428c lw a1,0(a3)
|
|
138a: 00a59663 bne a1,a0,1396 <rt_object_get_information+0x1e>
|
|
138e: 00471513 slli a0,a4,0x4
|
|
1392: 953e add a0,a0,a5
|
|
1394: 8082 ret
|
|
1396: 0705 addi a4,a4,1
|
|
1398: 06c1 addi a3,a3,16
|
|
139a: fec717e3 bne a4,a2,1388 <rt_object_get_information+0x10>
|
|
139e: 4501 li a0,0
|
|
13a0: 8082 ret
|
|
|
|
000013a2 <rt_object_init>:
|
|
13a2: fe5fe2ef jal t0,386 <__riscv_save_4>
|
|
13a6: 842a mv s0,a0
|
|
13a8: 852e mv a0,a1
|
|
13aa: 89ae mv s3,a1
|
|
13ac: 8a32 mv s4,a2
|
|
13ae: 37e9 jal 1378 <rt_object_get_information>
|
|
13b0: 892a mv s2,a0
|
|
13b2: 2c99 jal 1608 <rt_enter_critical>
|
|
13b4: 00492483 lw s1,4(s2)
|
|
13b8: 00490793 addi a5,s2,4
|
|
13bc: 04f49063 bne s1,a5,13fc <rt_object_init+0x5a>
|
|
13c0: 2cb9 jal 161e <rt_exit_critical>
|
|
13c2: f809e993 ori s3,s3,-128
|
|
13c6: 01340423 sb s3,8(s0)
|
|
13ca: 4621 li a2,8
|
|
13cc: 85d2 mv a1,s4
|
|
13ce: 8522 mv a0,s0
|
|
13d0: fc4ff0ef jal ra,b94 <rt_strncpy>
|
|
13d4: 8401a783 lw a5,-1984(gp) # 200001a0 <rt_object_attach_hook>
|
|
13d8: c399 beqz a5,13de <rt_object_init+0x3c>
|
|
13da: 8522 mv a0,s0
|
|
13dc: 9782 jalr a5
|
|
13de: 726000ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
13e2: 00492703 lw a4,4(s2)
|
|
13e6: 00c40793 addi a5,s0,12
|
|
13ea: c35c sw a5,4(a4)
|
|
13ec: c458 sw a4,12(s0)
|
|
13ee: 00f92223 sw a5,4(s2)
|
|
13f2: c804 sw s1,16(s0)
|
|
13f4: 71c000ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
13f8: fc3fe06f j 3ba <__riscv_restore_4>
|
|
13fc: 4084 lw s1,0(s1)
|
|
13fe: bf7d j 13bc <rt_object_init+0x1a>
|
|
|
|
00001400 <rt_object_detach>:
|
|
1400: fa1fe2ef jal t0,3a0 <__riscv_save_0>
|
|
1404: 8441a783 lw a5,-1980(gp) # 200001a4 <rt_object_detach_hook>
|
|
1408: 842a mv s0,a0
|
|
140a: c391 beqz a5,140e <rt_object_detach+0xe>
|
|
140c: 9782 jalr a5
|
|
140e: 00040423 sb zero,8(s0)
|
|
1412: 6f2000ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
1416: 4454 lw a3,12(s0)
|
|
1418: 4818 lw a4,16(s0)
|
|
141a: 00c40793 addi a5,s0,12
|
|
141e: c2d8 sw a4,4(a3)
|
|
1420: c314 sw a3,0(a4)
|
|
1422: c81c sw a5,16(s0)
|
|
1424: c45c sw a5,12(s0)
|
|
1426: 6ea000ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
142a: f9bfe06f j 3c4 <__riscv_restore_0>
|
|
|
|
0000142e <rt_object_allocate>:
|
|
142e: f59fe2ef jal t0,386 <__riscv_save_4>
|
|
1432: 892e mv s2,a1
|
|
1434: 89aa mv s3,a0
|
|
1436: 3789 jal 1378 <rt_object_get_information>
|
|
1438: 84aa mv s1,a0
|
|
143a: 4548 lw a0,12(a0)
|
|
143c: 3389 jal 117e <rt_malloc>
|
|
143e: 842a mv s0,a0
|
|
1440: cd1d beqz a0,147e <rt_object_allocate+0x50>
|
|
1442: 44d0 lw a2,12(s1)
|
|
1444: 4581 li a1,0
|
|
1446: e7eff0ef jal ra,ac4 <rt_memset>
|
|
144a: 4621 li a2,8
|
|
144c: 01340423 sb s3,8(s0)
|
|
1450: 000404a3 sb zero,9(s0)
|
|
1454: 85ca mv a1,s2
|
|
1456: 8522 mv a0,s0
|
|
1458: f3cff0ef jal ra,b94 <rt_strncpy>
|
|
145c: 8401a783 lw a5,-1984(gp) # 200001a0 <rt_object_attach_hook>
|
|
1460: c399 beqz a5,1466 <rt_object_allocate+0x38>
|
|
1462: 8522 mv a0,s0
|
|
1464: 9782 jalr a5
|
|
1466: 69e000ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
146a: 40d8 lw a4,4(s1)
|
|
146c: 00c40793 addi a5,s0,12
|
|
1470: 0491 addi s1,s1,4
|
|
1472: c35c sw a5,4(a4)
|
|
1474: c458 sw a4,12(s0)
|
|
1476: c09c sw a5,0(s1)
|
|
1478: c804 sw s1,16(s0)
|
|
147a: 696000ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
147e: 8522 mv a0,s0
|
|
1480: f3bfe06f j 3ba <__riscv_restore_4>
|
|
|
|
00001484 <rt_object_delete>:
|
|
1484: f1dfe2ef jal t0,3a0 <__riscv_save_0>
|
|
1488: 8441a783 lw a5,-1980(gp) # 200001a4 <rt_object_detach_hook>
|
|
148c: 842a mv s0,a0
|
|
148e: c391 beqz a5,1492 <rt_object_delete+0xe>
|
|
1490: 9782 jalr a5
|
|
1492: 00040423 sb zero,8(s0)
|
|
1496: 66e000ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
149a: 4454 lw a3,12(s0)
|
|
149c: 4818 lw a4,16(s0)
|
|
149e: 00c40793 addi a5,s0,12
|
|
14a2: c2d8 sw a4,4(a3)
|
|
14a4: c314 sw a3,0(a4)
|
|
14a6: c81c sw a5,16(s0)
|
|
14a8: c45c sw a5,12(s0)
|
|
14aa: 666000ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
14ae: 8522 mv a0,s0
|
|
14b0: 3d39 jal 12ce <rt_free>
|
|
14b2: f13fe06f j 3c4 <__riscv_restore_0>
|
|
|
|
000014b6 <rt_object_is_systemobject>:
|
|
14b6: 00850503 lb a0,8(a0)
|
|
14ba: 817d srli a0,a0,0x1f
|
|
14bc: 8082 ret
|
|
|
|
000014be <rt_system_scheduler_init>:
|
|
14be: 86019023 sh zero,-1952(gp) # 200001c0 <rt_scheduler_lock_nest>
|
|
14c2: be018793 addi a5,gp,-1056 # 20000540 <rt_thread_priority_table>
|
|
14c6: 08078713 addi a4,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
14ca: c3dc sw a5,4(a5)
|
|
14cc: c39c sw a5,0(a5)
|
|
14ce: 07a1 addi a5,a5,8
|
|
14d0: fee79de3 bne a5,a4,14ca <rt_system_scheduler_init+0xc>
|
|
14d4: 473d li a4,15
|
|
14d6: 84e18a23 sb a4,-1964(gp) # 200001b4 <rt_current_priority>
|
|
14da: 8401ac23 sw zero,-1960(gp) # 200001b8 <rt_current_thread>
|
|
14de: 8601a623 sw zero,-1940(gp) # 200001cc <rt_thread_ready_priority_group>
|
|
14e2: 86418793 addi a5,gp,-1948 # 200001c4 <rt_thread_defunct>
|
|
14e6: c3dc sw a5,4(a5)
|
|
14e8: c39c sw a5,0(a5)
|
|
14ea: 8082 ret
|
|
|
|
000014ec <rt_system_scheduler_start>:
|
|
14ec: eb5fe2ef jal t0,3a0 <__riscv_save_0>
|
|
14f0: 86c1a503 lw a0,-1940(gp) # 200001cc <rt_thread_ready_priority_group>
|
|
14f4: b37ff0ef jal ra,102a <__rt_ffs>
|
|
14f8: 157d addi a0,a0,-1
|
|
14fa: 00351793 slli a5,a0,0x3
|
|
14fe: be018513 addi a0,gp,-1056 # 20000540 <rt_thread_priority_table>
|
|
1502: 953e add a0,a0,a5
|
|
1504: 4108 lw a0,0(a0)
|
|
1506: fec50713 addi a4,a0,-20
|
|
150a: 0521 addi a0,a0,8
|
|
150c: 84e1ac23 sw a4,-1960(gp) # 200001b8 <rt_current_thread>
|
|
1510: cb1fe0ef jal ra,1c0 <rt_hw_context_switch_to>
|
|
1514: eb1fe06f j 3c4 <__riscv_restore_0>
|
|
|
|
00001518 <rt_schedule>:
|
|
1518: e89fe2ef jal t0,3a0 <__riscv_save_0>
|
|
151c: 5e8000ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
1520: 86019783 lh a5,-1952(gp) # 200001c0 <rt_scheduler_lock_nest>
|
|
1524: 892a mv s2,a0
|
|
1526: e7b1 bnez a5,1572 <rt_schedule+0x5a>
|
|
1528: 86c1a503 lw a0,-1940(gp) # 200001cc <rt_thread_ready_priority_group>
|
|
152c: affff0ef jal ra,102a <__rt_ffs>
|
|
1530: 157d addi a0,a0,-1
|
|
1532: 00351713 slli a4,a0,0x3
|
|
1536: be018793 addi a5,gp,-1056 # 20000540 <rt_thread_priority_table>
|
|
153a: 97ba add a5,a5,a4
|
|
153c: 4384 lw s1,0(a5)
|
|
153e: 85818793 addi a5,gp,-1960 # 200001b8 <rt_current_thread>
|
|
1542: 4380 lw s0,0(a5)
|
|
1544: fec48593 addi a1,s1,-20
|
|
1548: 02b40563 beq s0,a1,1572 <rt_schedule+0x5a>
|
|
154c: c38c sw a1,0(a5)
|
|
154e: 85c1a783 lw a5,-1956(gp) # 200001bc <rt_scheduler_hook>
|
|
1552: 84a18a23 sb a0,-1964(gp) # 200001b4 <rt_current_priority>
|
|
1556: c399 beqz a5,155c <rt_schedule+0x44>
|
|
1558: 8522 mv a0,s0
|
|
155a: 9782 jalr a5
|
|
155c: 8141c783 lbu a5,-2028(gp) # 20000174 <rt_interrupt_nest>
|
|
1560: 01c40513 addi a0,s0,28
|
|
1564: 00848593 addi a1,s1,8
|
|
1568: 0ff7f793 andi a5,a5,255
|
|
156c: eb81 bnez a5,157c <rt_schedule+0x64>
|
|
156e: c6ffe0ef jal ra,1dc <rt_hw_context_switch>
|
|
1572: 854a mv a0,s2
|
|
1574: 59c000ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
1578: e4dfe06f j 3c4 <__riscv_restore_0>
|
|
157c: 59a000ef jal ra,1b16 <rt_hw_context_switch_interrupt>
|
|
1580: bfcd j 1572 <rt_schedule+0x5a>
|
|
|
|
00001582 <rt_schedule_insert_thread>:
|
|
1582: e1ffe2ef jal t0,3a0 <__riscv_save_0>
|
|
1586: 842a mv s0,a0
|
|
1588: 2bb5 jal 1b04 <rt_hw_interrupt_disable>
|
|
158a: 03444783 lbu a5,52(s0)
|
|
158e: 01440693 addi a3,s0,20
|
|
1592: 9bc1 andi a5,a5,-16
|
|
1594: 0017e793 ori a5,a5,1
|
|
1598: 02f40a23 sb a5,52(s0)
|
|
159c: 03544783 lbu a5,53(s0)
|
|
15a0: 00379713 slli a4,a5,0x3
|
|
15a4: be018793 addi a5,gp,-1056 # 20000540 <rt_thread_priority_table>
|
|
15a8: 97ba add a5,a5,a4
|
|
15aa: 43d8 lw a4,4(a5)
|
|
15ac: c314 sw a3,0(a4)
|
|
15ae: cc18 sw a4,24(s0)
|
|
15b0: c3d4 sw a3,4(a5)
|
|
15b2: c85c sw a5,20(s0)
|
|
15b4: 86c18793 addi a5,gp,-1940 # 200001cc <rt_thread_ready_priority_group>
|
|
15b8: 4394 lw a3,0(a5)
|
|
15ba: 5c18 lw a4,56(s0)
|
|
15bc: 8f55 or a4,a4,a3
|
|
15be: c398 sw a4,0(a5)
|
|
15c0: 2b81 jal 1b10 <rt_hw_interrupt_enable>
|
|
15c2: e03fe06f j 3c4 <__riscv_restore_0>
|
|
|
|
000015c6 <rt_schedule_remove_thread>:
|
|
15c6: ddbfe2ef jal t0,3a0 <__riscv_save_0>
|
|
15ca: 842a mv s0,a0
|
|
15cc: 2b25 jal 1b04 <rt_hw_interrupt_disable>
|
|
15ce: 4c18 lw a4,24(s0)
|
|
15d0: 4854 lw a3,20(s0)
|
|
15d2: 01440793 addi a5,s0,20
|
|
15d6: c2d8 sw a4,4(a3)
|
|
15d8: c314 sw a3,0(a4)
|
|
15da: c85c sw a5,20(s0)
|
|
15dc: cc1c sw a5,24(s0)
|
|
15de: 03544783 lbu a5,53(s0)
|
|
15e2: 00379713 slli a4,a5,0x3
|
|
15e6: be018793 addi a5,gp,-1056 # 20000540 <rt_thread_priority_table>
|
|
15ea: 97ba add a5,a5,a4
|
|
15ec: 4398 lw a4,0(a5)
|
|
15ee: 00f71a63 bne a4,a5,1602 <rt_schedule_remove_thread+0x3c>
|
|
15f2: 86c18713 addi a4,gp,-1940 # 200001cc <rt_thread_ready_priority_group>
|
|
15f6: 5c1c lw a5,56(s0)
|
|
15f8: 4314 lw a3,0(a4)
|
|
15fa: fff7c793 not a5,a5
|
|
15fe: 8ff5 and a5,a5,a3
|
|
1600: c31c sw a5,0(a4)
|
|
1602: 2339 jal 1b10 <rt_hw_interrupt_enable>
|
|
1604: dc1fe06f j 3c4 <__riscv_restore_0>
|
|
|
|
00001608 <rt_enter_critical>:
|
|
1608: d99fe2ef jal t0,3a0 <__riscv_save_0>
|
|
160c: 29e5 jal 1b04 <rt_hw_interrupt_disable>
|
|
160e: 86018793 addi a5,gp,-1952 # 200001c0 <rt_scheduler_lock_nest>
|
|
1612: 239a lhu a4,0(a5)
|
|
1614: 0705 addi a4,a4,1
|
|
1616: a39a sh a4,0(a5)
|
|
1618: 29e5 jal 1b10 <rt_hw_interrupt_enable>
|
|
161a: dabfe06f j 3c4 <__riscv_restore_0>
|
|
|
|
0000161e <rt_exit_critical>:
|
|
161e: d83fe2ef jal t0,3a0 <__riscv_save_0>
|
|
1622: 21cd jal 1b04 <rt_hw_interrupt_disable>
|
|
1624: 86018713 addi a4,gp,-1952 # 200001c0 <rt_scheduler_lock_nest>
|
|
1628: 231e lhu a5,0(a4)
|
|
162a: 17fd addi a5,a5,-1
|
|
162c: 07c2 slli a5,a5,0x10
|
|
162e: 87c1 srai a5,a5,0x10
|
|
1630: a31e sh a5,0(a4)
|
|
1632: 00f04b63 bgtz a5,1648 <rt_exit_critical+0x2a>
|
|
1636: 00071023 sh zero,0(a4)
|
|
163a: 29d9 jal 1b10 <rt_hw_interrupt_enable>
|
|
163c: 8581a783 lw a5,-1960(gp) # 200001b8 <rt_current_thread>
|
|
1640: c391 beqz a5,1644 <rt_exit_critical+0x26>
|
|
1642: 3dd9 jal 1518 <rt_schedule>
|
|
1644: d81fe06f j 3c4 <__riscv_restore_0>
|
|
1648: 21e1 jal 1b10 <rt_hw_interrupt_enable>
|
|
164a: bfed j 1644 <rt_exit_critical+0x26>
|
|
|
|
0000164c <rt_thread_exit>:
|
|
164c: d55fe2ef jal t0,3a0 <__riscv_save_0>
|
|
1650: 8581a403 lw s0,-1960(gp) # 200001b8 <rt_current_thread>
|
|
1654: 2945 jal 1b04 <rt_hw_interrupt_disable>
|
|
1656: 84aa mv s1,a0
|
|
1658: 8522 mv a0,s0
|
|
165a: 37b5 jal 15c6 <rt_schedule_remove_thread>
|
|
165c: 4791 li a5,4
|
|
165e: 02f40a23 sb a5,52(s0)
|
|
1662: 04c40513 addi a0,s0,76
|
|
1666: 24c9 jal 1928 <rt_timer_detach>
|
|
1668: 8522 mv a0,s0
|
|
166a: 35b1 jal 14b6 <rt_object_is_systemobject>
|
|
166c: 4785 li a5,1
|
|
166e: 00f51b63 bne a0,a5,1684 <rt_thread_exit+0x38>
|
|
1672: 5c3c lw a5,120(s0)
|
|
1674: eb81 bnez a5,1684 <rt_thread_exit+0x38>
|
|
1676: 8522 mv a0,s0
|
|
1678: 3361 jal 1400 <rt_object_detach>
|
|
167a: 8526 mv a0,s1
|
|
167c: 2951 jal 1b10 <rt_hw_interrupt_enable>
|
|
167e: 3d69 jal 1518 <rt_schedule>
|
|
1680: d45fe06f j 3c4 <__riscv_restore_0>
|
|
1684: 8641a683 lw a3,-1948(gp) # 200001c4 <rt_thread_defunct>
|
|
1688: 01440713 addi a4,s0,20
|
|
168c: 86e1a223 sw a4,-1948(gp) # 200001c4 <rt_thread_defunct>
|
|
1690: c2d8 sw a4,4(a3)
|
|
1692: 86418793 addi a5,gp,-1948 # 200001c4 <rt_thread_defunct>
|
|
1696: c854 sw a3,20(s0)
|
|
1698: cc1c sw a5,24(s0)
|
|
169a: b7c5 j 167a <rt_thread_exit+0x2e>
|
|
|
|
0000169c <_rt_thread_init.isra.0>:
|
|
169c: d05fe2ef jal t0,3a0 <__riscv_save_0>
|
|
16a0: 842a mv s0,a0
|
|
16a2: 0551 addi a0,a0,20
|
|
16a4: 1141 addi sp,sp,-16
|
|
16a6: cc08 sw a0,24(s0)
|
|
16a8: c848 sw a0,20(s0)
|
|
16aa: d00c sw a1,32(s0)
|
|
16ac: d050 sw a2,36(s0)
|
|
16ae: d414 sw a3,40(s0)
|
|
16b0: 863a mv a2,a4
|
|
16b2: d458 sw a4,44(s0)
|
|
16b4: 02300593 li a1,35
|
|
16b8: 8536 mv a0,a3
|
|
16ba: c63e sw a5,12(sp)
|
|
16bc: c442 sw a6,8(sp)
|
|
16be: c06ff0ef jal ra,ac4 <rt_memset>
|
|
16c2: 5458 lw a4,44(s0)
|
|
16c4: 5410 lw a2,40(s0)
|
|
16c6: 504c lw a1,36(s0)
|
|
16c8: 5008 lw a0,32(s0)
|
|
16ca: 1771 addi a4,a4,-4
|
|
16cc: 000016b7 lui a3,0x1
|
|
16d0: 963a add a2,a2,a4
|
|
16d2: 64c68693 addi a3,a3,1612 # 164c <rt_thread_exit>
|
|
16d6: 2ee9 jal 1ab0 <rt_hw_stack_init>
|
|
16d8: 47b2 lw a5,12(sp)
|
|
16da: 4822 lw a6,8(sp)
|
|
16dc: 00001637 lui a2,0x1
|
|
16e0: cc48 sw a0,28(s0)
|
|
16e2: 02f40b23 sb a5,54(s0)
|
|
16e6: 02f40aa3 sb a5,53(s0)
|
|
16ea: 02042c23 sw zero,56(s0)
|
|
16ee: 4781 li a5,0
|
|
16f0: 05042223 sw a6,68(s0)
|
|
16f4: 05042423 sw a6,72(s0)
|
|
16f8: 02042823 sw zero,48(s0)
|
|
16fc: 02040a23 sb zero,52(s0)
|
|
1700: 06042c23 sw zero,120(s0)
|
|
1704: 06042e23 sw zero,124(s0)
|
|
1708: 4701 li a4,0
|
|
170a: 86a2 mv a3,s0
|
|
170c: 72a60613 addi a2,a2,1834 # 172a <rt_thread_timeout>
|
|
1710: 85a2 mv a1,s0
|
|
1712: 04c40513 addi a0,s0,76
|
|
1716: 2ae1 jal 18ee <rt_timer_init>
|
|
1718: 8701a783 lw a5,-1936(gp) # 200001d0 <rt_thread_inited_hook>
|
|
171c: c399 beqz a5,1722 <_rt_thread_init.isra.0+0x86>
|
|
171e: 8522 mv a0,s0
|
|
1720: 9782 jalr a5
|
|
1722: 4501 li a0,0
|
|
1724: 0141 addi sp,sp,16
|
|
1726: c9ffe06f j 3c4 <__riscv_restore_0>
|
|
|
|
0000172a <rt_thread_timeout>:
|
|
172a: c77fe2ef jal t0,3a0 <__riscv_save_0>
|
|
172e: 4950 lw a2,20(a0)
|
|
1730: 4d14 lw a3,24(a0)
|
|
1732: 5779 li a4,-2
|
|
1734: d918 sw a4,48(a0)
|
|
1736: c254 sw a3,4(a2)
|
|
1738: 01450713 addi a4,a0,20
|
|
173c: c290 sw a2,0(a3)
|
|
173e: cd18 sw a4,24(a0)
|
|
1740: c958 sw a4,20(a0)
|
|
1742: 3581 jal 1582 <rt_schedule_insert_thread>
|
|
1744: 3bd1 jal 1518 <rt_schedule>
|
|
1746: c7ffe06f j 3c4 <__riscv_restore_0>
|
|
|
|
0000174a <rt_thread_init>:
|
|
174a: c57fe2ef jal t0,3a0 <__riscv_save_0>
|
|
174e: 1141 addi sp,sp,-16
|
|
1750: 84b2 mv s1,a2
|
|
1752: 862e mv a2,a1
|
|
1754: 4585 li a1,1
|
|
1756: 842a mv s0,a0
|
|
1758: 8936 mv s2,a3
|
|
175a: c046 sw a7,0(sp)
|
|
175c: c63a sw a4,12(sp)
|
|
175e: c43e sw a5,8(sp)
|
|
1760: c242 sw a6,4(sp)
|
|
1762: c41ff0ef jal ra,13a2 <rt_object_init>
|
|
1766: 4802 lw a6,0(sp)
|
|
1768: 4792 lw a5,4(sp)
|
|
176a: 4722 lw a4,8(sp)
|
|
176c: 46b2 lw a3,12(sp)
|
|
176e: 864a mv a2,s2
|
|
1770: 85a6 mv a1,s1
|
|
1772: 8522 mv a0,s0
|
|
1774: 3725 jal 169c <_rt_thread_init.isra.0>
|
|
1776: 0141 addi sp,sp,16
|
|
1778: c4dfe06f j 3c4 <__riscv_restore_0>
|
|
|
|
0000177c <rt_thread_self>:
|
|
177c: 8581a503 lw a0,-1960(gp) # 200001b8 <rt_current_thread>
|
|
1780: 8082 ret
|
|
|
|
00001782 <rt_thread_create>:
|
|
1782: c05fe2ef jal t0,386 <__riscv_save_4>
|
|
1786: 1141 addi sp,sp,-16
|
|
1788: 892e mv s2,a1
|
|
178a: 85aa mv a1,a0
|
|
178c: 4505 li a0,1
|
|
178e: c632 sw a2,12(sp)
|
|
1790: 84b6 mv s1,a3
|
|
1792: 89ba mv s3,a4
|
|
1794: 8a3e mv s4,a5
|
|
1796: c99ff0ef jal ra,142e <rt_object_allocate>
|
|
179a: 842a mv s0,a0
|
|
179c: c911 beqz a0,17b0 <rt_thread_create+0x2e>
|
|
179e: 8526 mv a0,s1
|
|
17a0: 9dfff0ef jal ra,117e <rt_malloc>
|
|
17a4: 4632 lw a2,12(sp)
|
|
17a6: e909 bnez a0,17b8 <rt_thread_create+0x36>
|
|
17a8: 8522 mv a0,s0
|
|
17aa: cdbff0ef jal ra,1484 <rt_object_delete>
|
|
17ae: 4401 li s0,0
|
|
17b0: 8522 mv a0,s0
|
|
17b2: 0141 addi sp,sp,16
|
|
17b4: c07fe06f j 3ba <__riscv_restore_4>
|
|
17b8: 86aa mv a3,a0
|
|
17ba: 8852 mv a6,s4
|
|
17bc: 87ce mv a5,s3
|
|
17be: 8726 mv a4,s1
|
|
17c0: 85ca mv a1,s2
|
|
17c2: 8522 mv a0,s0
|
|
17c4: 3de1 jal 169c <_rt_thread_init.isra.0>
|
|
17c6: b7ed j 17b0 <rt_thread_create+0x2e>
|
|
|
|
000017c8 <rt_thread_yield>:
|
|
17c8: bd9fe2ef jal t0,3a0 <__riscv_save_0>
|
|
17cc: 2e25 jal 1b04 <rt_hw_interrupt_disable>
|
|
17ce: 8581a783 lw a5,-1960(gp) # 200001b8 <rt_current_thread>
|
|
17d2: 4605 li a2,1
|
|
17d4: 86aa mv a3,a0
|
|
17d6: 0347c703 lbu a4,52(a5)
|
|
17da: 8b3d andi a4,a4,15
|
|
17dc: 02c71c63 bne a4,a2,1814 <rt_thread_yield+0x4c>
|
|
17e0: 4bd0 lw a2,20(a5)
|
|
17e2: 4f98 lw a4,24(a5)
|
|
17e4: 02e60863 beq a2,a4,1814 <rt_thread_yield+0x4c>
|
|
17e8: c258 sw a4,4(a2)
|
|
17ea: c310 sw a2,0(a4)
|
|
17ec: 0357c603 lbu a2,53(a5)
|
|
17f0: 01478693 addi a3,a5,20
|
|
17f4: 060e slli a2,a2,0x3
|
|
17f6: be018713 addi a4,gp,-1056 # 20000540 <rt_thread_priority_table>
|
|
17fa: cf94 sw a3,24(a5)
|
|
17fc: 9732 add a4,a4,a2
|
|
17fe: 4350 lw a2,4(a4)
|
|
1800: c214 sw a3,0(a2)
|
|
1802: cf90 sw a2,24(a5)
|
|
1804: c354 sw a3,4(a4)
|
|
1806: cbd8 sw a4,20(a5)
|
|
1808: 2621 jal 1b10 <rt_hw_interrupt_enable>
|
|
180a: d0fff0ef jal ra,1518 <rt_schedule>
|
|
180e: 4501 li a0,0
|
|
1810: bb5fe06f j 3c4 <__riscv_restore_0>
|
|
1814: 8536 mv a0,a3
|
|
1816: 2ced jal 1b10 <rt_hw_interrupt_enable>
|
|
1818: bfdd j 180e <rt_thread_yield+0x46>
|
|
|
|
0000181a <rt_thread_suspend>:
|
|
181a: 03454783 lbu a5,52(a0)
|
|
181e: 4705 li a4,1
|
|
1820: 8bbd andi a5,a5,15
|
|
1822: 02e79f63 bne a5,a4,1860 <rt_thread_suspend+0x46>
|
|
1826: b7bfe2ef jal t0,3a0 <__riscv_save_0>
|
|
182a: 842a mv s0,a0
|
|
182c: 2ce1 jal 1b04 <rt_hw_interrupt_disable>
|
|
182e: 03444783 lbu a5,52(s0)
|
|
1832: 84aa mv s1,a0
|
|
1834: 8522 mv a0,s0
|
|
1836: 9bc1 andi a5,a5,-16
|
|
1838: 0027e793 ori a5,a5,2
|
|
183c: 02f40a23 sb a5,52(s0)
|
|
1840: d87ff0ef jal ra,15c6 <rt_schedule_remove_thread>
|
|
1844: 04c40513 addi a0,s0,76
|
|
1848: 2abd jal 19c6 <rt_timer_stop>
|
|
184a: 8526 mv a0,s1
|
|
184c: 24d1 jal 1b10 <rt_hw_interrupt_enable>
|
|
184e: 8781a783 lw a5,-1928(gp) # 200001d8 <rt_thread_suspend_hook>
|
|
1852: 4501 li a0,0
|
|
1854: c781 beqz a5,185c <rt_thread_suspend+0x42>
|
|
1856: 8522 mv a0,s0
|
|
1858: 9782 jalr a5
|
|
185a: 4501 li a0,0
|
|
185c: b69fe06f j 3c4 <__riscv_restore_0>
|
|
1860: 557d li a0,-1
|
|
1862: 8082 ret
|
|
|
|
00001864 <rt_thread_resume>:
|
|
1864: 03454783 lbu a5,52(a0)
|
|
1868: 4709 li a4,2
|
|
186a: 8bbd andi a5,a5,15
|
|
186c: 04e79063 bne a5,a4,18ac <rt_thread_resume+0x48>
|
|
1870: b31fe2ef jal t0,3a0 <__riscv_save_0>
|
|
1874: 842a mv s0,a0
|
|
1876: 2479 jal 1b04 <rt_hw_interrupt_disable>
|
|
1878: 4854 lw a3,20(s0)
|
|
187a: 4c18 lw a4,24(s0)
|
|
187c: 01440793 addi a5,s0,20
|
|
1880: 84aa mv s1,a0
|
|
1882: c2d8 sw a4,4(a3)
|
|
1884: c314 sw a3,0(a4)
|
|
1886: cc1c sw a5,24(s0)
|
|
1888: c85c sw a5,20(s0)
|
|
188a: 04c40513 addi a0,s0,76
|
|
188e: 2a25 jal 19c6 <rt_timer_stop>
|
|
1890: 8526 mv a0,s1
|
|
1892: 2cbd jal 1b10 <rt_hw_interrupt_enable>
|
|
1894: 8522 mv a0,s0
|
|
1896: cedff0ef jal ra,1582 <rt_schedule_insert_thread>
|
|
189a: 8741a783 lw a5,-1932(gp) # 200001d4 <rt_thread_resume_hook>
|
|
189e: 4501 li a0,0
|
|
18a0: c781 beqz a5,18a8 <rt_thread_resume+0x44>
|
|
18a2: 8522 mv a0,s0
|
|
18a4: 9782 jalr a5
|
|
18a6: 4501 li a0,0
|
|
18a8: b1dfe06f j 3c4 <__riscv_restore_0>
|
|
18ac: 557d li a0,-1
|
|
18ae: 8082 ret
|
|
|
|
000018b0 <rt_thread_startup>:
|
|
18b0: af1fe2ef jal t0,3a0 <__riscv_save_0>
|
|
18b4: 03654683 lbu a3,54(a0)
|
|
18b8: 4705 li a4,1
|
|
18ba: 00d71733 sll a4,a4,a3
|
|
18be: dd18 sw a4,56(a0)
|
|
18c0: 4709 li a4,2
|
|
18c2: 02d50aa3 sb a3,53(a0)
|
|
18c6: 02e50a23 sb a4,52(a0)
|
|
18ca: 3f69 jal 1864 <rt_thread_resume>
|
|
18cc: 8581a783 lw a5,-1960(gp) # 200001b8 <rt_current_thread>
|
|
18d0: c399 beqz a5,18d6 <rt_thread_startup+0x26>
|
|
18d2: c47ff0ef jal ra,1518 <rt_schedule>
|
|
18d6: 4501 li a0,0
|
|
18d8: aedfe06f j 3c4 <__riscv_restore_0>
|
|
|
|
000018dc <_rt_timer_remove.part.1>:
|
|
18dc: 4954 lw a3,20(a0)
|
|
18de: 4d18 lw a4,24(a0)
|
|
18e0: 01450793 addi a5,a0,20
|
|
18e4: c2d8 sw a4,4(a3)
|
|
18e6: c314 sw a3,0(a4)
|
|
18e8: cd1c sw a5,24(a0)
|
|
18ea: c95c sw a5,20(a0)
|
|
18ec: 8082 ret
|
|
|
|
000018ee <rt_timer_init>:
|
|
18ee: ab3fe2ef jal t0,3a0 <__riscv_save_0>
|
|
18f2: 1141 addi sp,sp,-16
|
|
18f4: 84b2 mv s1,a2
|
|
18f6: 862e mv a2,a1
|
|
18f8: 45a9 li a1,10
|
|
18fa: 842a mv s0,a0
|
|
18fc: c636 sw a3,12(sp)
|
|
18fe: c43a sw a4,8(sp)
|
|
1900: c23e sw a5,4(sp)
|
|
1902: aa1ff0ef jal ra,13a2 <rt_object_init>
|
|
1906: 4792 lw a5,4(sp)
|
|
1908: 46b2 lw a3,12(sp)
|
|
190a: 4722 lw a4,8(sp)
|
|
190c: 9bf9 andi a5,a5,-2
|
|
190e: b41c sb a5,9(s0)
|
|
1910: 01440793 addi a5,s0,20
|
|
1914: cc44 sw s1,28(s0)
|
|
1916: d014 sw a3,32(s0)
|
|
1918: 02042423 sw zero,40(s0)
|
|
191c: d058 sw a4,36(s0)
|
|
191e: cc1c sw a5,24(s0)
|
|
1920: c85c sw a5,20(s0)
|
|
1922: 0141 addi sp,sp,16
|
|
1924: aa1fe06f j 3c4 <__riscv_restore_0>
|
|
|
|
00001928 <rt_timer_detach>:
|
|
1928: a79fe2ef jal t0,3a0 <__riscv_save_0>
|
|
192c: 842a mv s0,a0
|
|
192e: 2ad9 jal 1b04 <rt_hw_interrupt_disable>
|
|
1930: 84aa mv s1,a0
|
|
1932: 8522 mv a0,s0
|
|
1934: 3765 jal 18dc <_rt_timer_remove.part.1>
|
|
1936: 8526 mv a0,s1
|
|
1938: 2ae1 jal 1b10 <rt_hw_interrupt_enable>
|
|
193a: 8522 mv a0,s0
|
|
193c: ac5ff0ef jal ra,1400 <rt_object_detach>
|
|
1940: 4501 li a0,0
|
|
1942: a83fe06f j 3c4 <__riscv_restore_0>
|
|
|
|
00001946 <rt_timer_start>:
|
|
1946: a5bfe2ef jal t0,3a0 <__riscv_save_0>
|
|
194a: 842a mv s0,a0
|
|
194c: 2a65 jal 1b04 <rt_hw_interrupt_disable>
|
|
194e: 84aa mv s1,a0
|
|
1950: 8522 mv a0,s0
|
|
1952: 3769 jal 18dc <_rt_timer_remove.part.1>
|
|
1954: 341c lbu a5,9(s0)
|
|
1956: 8526 mv a0,s1
|
|
1958: 9bf9 andi a5,a5,-2
|
|
195a: b41c sb a5,9(s0)
|
|
195c: 2a55 jal 1b10 <rt_hw_interrupt_enable>
|
|
195e: 84c1a783 lw a5,-1972(gp) # 200001ac <rt_object_take_hook>
|
|
1962: c399 beqz a5,1968 <rt_timer_start+0x22>
|
|
1964: 8522 mv a0,s0
|
|
1966: 9782 jalr a5
|
|
1968: b11fe0ef jal ra,478 <rt_tick_get>
|
|
196c: 505c lw a5,36(s0)
|
|
196e: 953e add a0,a0,a5
|
|
1970: d408 sw a0,40(s0)
|
|
1972: 2a49 jal 1b04 <rt_hw_interrupt_disable>
|
|
1974: 88818713 addi a4,gp,-1912 # 200001e8 <rt_timer_list>
|
|
1978: 00472803 lw a6,4(a4)
|
|
197c: 80000637 lui a2,0x80000
|
|
1980: 88818793 addi a5,gp,-1912 # 200001e8 <rt_timer_list>
|
|
1984: ffe64613 xori a2,a2,-2
|
|
1988: 4398 lw a4,0(a5)
|
|
198a: 02f81563 bne a6,a5,19b4 <rt_timer_start+0x6e>
|
|
198e: 87c18693 addi a3,gp,-1924 # 200001dc <random_nr.2483>
|
|
1992: 4290 lw a2,0(a3)
|
|
1994: 0605 addi a2,a2,1
|
|
1996: c290 sw a2,0(a3)
|
|
1998: 01440693 addi a3,s0,20
|
|
199c: c354 sw a3,4(a4)
|
|
199e: c858 sw a4,20(s0)
|
|
19a0: c394 sw a3,0(a5)
|
|
19a2: cc1c sw a5,24(s0)
|
|
19a4: 341c lbu a5,9(s0)
|
|
19a6: 0017e793 ori a5,a5,1
|
|
19aa: b41c sb a5,9(s0)
|
|
19ac: 2295 jal 1b10 <rt_hw_interrupt_enable>
|
|
19ae: 4501 li a0,0
|
|
19b0: a15fe06f j 3c4 <__riscv_restore_0>
|
|
19b4: 4b54 lw a3,20(a4)
|
|
19b6: 540c lw a1,40(s0)
|
|
19b8: 00b68563 beq a3,a1,19c2 <rt_timer_start+0x7c>
|
|
19bc: 8e8d sub a3,a3,a1
|
|
19be: fcd678e3 bgeu a2,a3,198e <rt_timer_start+0x48>
|
|
19c2: 87ba mv a5,a4
|
|
19c4: b7d1 j 1988 <rt_timer_start+0x42>
|
|
|
|
000019c6 <rt_timer_stop>:
|
|
19c6: 351c lbu a5,9(a0)
|
|
19c8: 8b85 andi a5,a5,1
|
|
19ca: c785 beqz a5,19f2 <rt_timer_stop+0x2c>
|
|
19cc: 9d5fe2ef jal t0,3a0 <__riscv_save_0>
|
|
19d0: 8481a783 lw a5,-1976(gp) # 200001a8 <rt_object_put_hook>
|
|
19d4: 842a mv s0,a0
|
|
19d6: c391 beqz a5,19da <rt_timer_stop+0x14>
|
|
19d8: 9782 jalr a5
|
|
19da: 222d jal 1b04 <rt_hw_interrupt_disable>
|
|
19dc: 84aa mv s1,a0
|
|
19de: 8522 mv a0,s0
|
|
19e0: 3df5 jal 18dc <_rt_timer_remove.part.1>
|
|
19e2: 8526 mv a0,s1
|
|
19e4: 2235 jal 1b10 <rt_hw_interrupt_enable>
|
|
19e6: 341c lbu a5,9(s0)
|
|
19e8: 4501 li a0,0
|
|
19ea: 9bf9 andi a5,a5,-2
|
|
19ec: b41c sb a5,9(s0)
|
|
19ee: 9d7fe06f j 3c4 <__riscv_restore_0>
|
|
19f2: 557d li a0,-1
|
|
19f4: 8082 ret
|
|
|
|
000019f6 <rt_timer_control>:
|
|
19f6: 4785 li a5,1
|
|
19f8: 02f58163 beq a1,a5,1a1a <rt_timer_control+0x24>
|
|
19fc: 00b7c563 blt a5,a1,1a06 <rt_timer_control+0x10>
|
|
1a00: c185 beqz a1,1a20 <rt_timer_control+0x2a>
|
|
1a02: 4501 li a0,0
|
|
1a04: 8082 ret
|
|
1a06: 4789 li a5,2
|
|
1a08: 00f58f63 beq a1,a5,1a26 <rt_timer_control+0x30>
|
|
1a0c: 478d li a5,3
|
|
1a0e: fef59ae3 bne a1,a5,1a02 <rt_timer_control+0xc>
|
|
1a12: 351c lbu a5,9(a0)
|
|
1a14: 0027e793 ori a5,a5,2
|
|
1a18: a809 j 1a2a <rt_timer_control+0x34>
|
|
1a1a: 515c lw a5,36(a0)
|
|
1a1c: c21c sw a5,0(a2)
|
|
1a1e: b7d5 j 1a02 <rt_timer_control+0xc>
|
|
1a20: 421c lw a5,0(a2)
|
|
1a22: d15c sw a5,36(a0)
|
|
1a24: bff9 j 1a02 <rt_timer_control+0xc>
|
|
1a26: 351c lbu a5,9(a0)
|
|
1a28: 9bf5 andi a5,a5,-3
|
|
1a2a: b51c sb a5,9(a0)
|
|
1a2c: bfd9 j 1a02 <rt_timer_control+0xc>
|
|
|
|
00001a2e <rt_timer_check>:
|
|
1a2e: 94bfe2ef jal t0,378 <__riscv_save_10>
|
|
1a32: a47fe0ef jal ra,478 <rt_tick_get>
|
|
1a36: 8c2a mv s8,a0
|
|
1a38: 20f1 jal 1b04 <rt_hw_interrupt_disable>
|
|
1a3a: 800009b7 lui s3,0x80000
|
|
1a3e: 8a2a mv s4,a0
|
|
1a40: 88818493 addi s1,gp,-1912 # 200001e8 <rt_timer_list>
|
|
1a44: ffe9c993 xori s3,s3,-2
|
|
1a48: 4b8d li s7,3
|
|
1a4a: 4080 lw s0,0(s1)
|
|
1a4c: 00941663 bne s0,s1,1a58 <rt_timer_check+0x2a>
|
|
1a50: 8552 mv a0,s4
|
|
1a52: 287d jal 1b10 <rt_hw_interrupt_enable>
|
|
1a54: 95dfe06f j 3b0 <__riscv_restore_10>
|
|
1a58: 4848 lw a0,20(s0)
|
|
1a5a: fec40913 addi s2,s0,-20
|
|
1a5e: 40ac0533 sub a0,s8,a0
|
|
1a62: fea9e7e3 bltu s3,a0,1a50 <rt_timer_check+0x22>
|
|
1a66: 8801a783 lw a5,-1920(gp) # 200001e0 <rt_timer_enter_hook>
|
|
1a6a: c399 beqz a5,1a70 <rt_timer_check+0x42>
|
|
1a6c: 854a mv a0,s2
|
|
1a6e: 9782 jalr a5
|
|
1a70: 854a mv a0,s2
|
|
1a72: e6bff0ef jal ra,18dc <_rt_timer_remove.part.1>
|
|
1a76: 441c lw a5,8(s0)
|
|
1a78: 4448 lw a0,12(s0)
|
|
1a7a: 9782 jalr a5
|
|
1a7c: 9fdfe0ef jal ra,478 <rt_tick_get>
|
|
1a80: 8841a783 lw a5,-1916(gp) # 200001e4 <rt_timer_exit_hook>
|
|
1a84: 8c2a mv s8,a0
|
|
1a86: c399 beqz a5,1a8c <rt_timer_check+0x5e>
|
|
1a88: 854a mv a0,s2
|
|
1a8a: 9782 jalr a5
|
|
1a8c: ff544783 lbu a5,-11(s0)
|
|
1a90: 0fe7f713 andi a4,a5,254
|
|
1a94: fee40aa3 sb a4,-11(s0)
|
|
1a98: 8b8d andi a5,a5,3
|
|
1a9a: fb7798e3 bne a5,s7,1a4a <rt_timer_check+0x1c>
|
|
1a9e: 854a mv a0,s2
|
|
1aa0: 355d jal 1946 <rt_timer_start>
|
|
1aa2: b765 j 1a4a <rt_timer_check+0x1c>
|
|
|
|
00001aa4 <rt_system_timer_init>:
|
|
1aa4: 88818793 addi a5,gp,-1912 # 200001e8 <rt_timer_list>
|
|
1aa8: c3dc sw a5,4(a5)
|
|
1aaa: c39c sw a5,0(a5)
|
|
1aac: 8082 ret
|
|
|
|
00001aae <rt_system_timer_thread_init>:
|
|
1aae: 8082 ret
|
|
|
|
00001ab0 <rt_hw_stack_init>:
|
|
1ab0: 0611 addi a2,a2,4
|
|
1ab2: 9a71 andi a2,a2,-4
|
|
1ab4: 882a mv a6,a0
|
|
1ab6: deadc737 lui a4,0xdeadc
|
|
1aba: f8060513 addi a0,a2,-128 # 7fffff80 <_eusrstack+0x5ffeff80>
|
|
1abe: 87aa mv a5,a0
|
|
1ac0: eef70713 addi a4,a4,-273 # deadbeef <_eusrstack+0xbeacbeef>
|
|
1ac4: 00f61e63 bne a2,a5,1ae0 <rt_hw_stack_init+0x30>
|
|
1ac8: 67a1 lui a5,0x8
|
|
1aca: 88078793 addi a5,a5,-1920 # 7880 <__rt_init_end+0x21e8>
|
|
1ace: f8d62223 sw a3,-124(a2)
|
|
1ad2: fab62423 sw a1,-88(a2)
|
|
1ad6: f9062023 sw a6,-128(a2)
|
|
1ada: f8f62423 sw a5,-120(a2)
|
|
1ade: 8082 ret
|
|
1ae0: c398 sw a4,0(a5)
|
|
1ae2: 0791 addi a5,a5,4
|
|
1ae4: b7c5 j 1ac4 <rt_hw_stack_init+0x14>
|
|
|
|
00001ae6 <sw_setpend>:
|
|
1ae6: e000f737 lui a4,0xe000f
|
|
1aea: 431c lw a5,0(a4)
|
|
1aec: 800006b7 lui a3,0x80000
|
|
1af0: 8fd5 or a5,a5,a3
|
|
1af2: c31c sw a5,0(a4)
|
|
1af4: 8082 ret
|
|
|
|
00001af6 <sw_clearpend>:
|
|
1af6: e000f737 lui a4,0xe000f
|
|
1afa: 431c lw a5,0(a4)
|
|
1afc: 0786 slli a5,a5,0x1
|
|
1afe: 8385 srli a5,a5,0x1
|
|
1b00: c31c sw a5,0(a4)
|
|
1b02: 8082 ret
|
|
|
|
00001b04 <rt_hw_interrupt_disable>:
|
|
1b04: 6521 lui a0,0x8
|
|
1b06: 80050513 addi a0,a0,-2048 # 7800 <__rt_init_end+0x2168>
|
|
1b0a: 30051573 csrrw a0,mstatus,a0
|
|
1b0e: 8082 ret
|
|
|
|
00001b10 <rt_hw_interrupt_enable>:
|
|
1b10: 30051073 csrw mstatus,a0
|
|
1b14: 8082 ret
|
|
|
|
00001b16 <rt_hw_context_switch_interrupt>:
|
|
1b16: 88bfe2ef jal t0,3a0 <__riscv_save_0>
|
|
1b1a: 89818713 addi a4,gp,-1896 # 200001f8 <rt_thread_switch_interrupt_flag>
|
|
1b1e: 4318 lw a4,0(a4)
|
|
1b20: 89818793 addi a5,gp,-1896 # 200001f8 <rt_thread_switch_interrupt_flag>
|
|
1b24: e319 bnez a4,1b2a <rt_hw_context_switch_interrupt+0x14>
|
|
1b26: 88a1a823 sw a0,-1904(gp) # 200001f0 <rt_interrupt_from_thread>
|
|
1b2a: 88b1aa23 sw a1,-1900(gp) # 200001f4 <rt_interrupt_to_thread>
|
|
1b2e: 4705 li a4,1
|
|
1b30: c398 sw a4,0(a5)
|
|
1b32: 3f55 jal 1ae6 <sw_setpend>
|
|
1b34: 891fe06f j 3c4 <__riscv_restore_0>
|
|
|
|
00001b38 <rt_list_len>:
|
|
1b38: 872a mv a4,a0
|
|
1b3a: 4781 li a5,0
|
|
1b3c: 4318 lw a4,0(a4)
|
|
1b3e: 00a71463 bne a4,a0,1b46 <rt_list_len+0xe>
|
|
1b42: 853e mv a0,a5
|
|
1b44: 8082 ret
|
|
1b46: 0785 addi a5,a5,1
|
|
1b48: bfd5 j 1b3c <rt_list_len+0x4>
|
|
|
|
00001b4a <reboot>:
|
|
1b4a: beef07b7 lui a5,0xbeef0
|
|
1b4e: e000e737 lui a4,0xe000e
|
|
1b52: 08078793 addi a5,a5,128 # beef0080 <_eusrstack+0x9eee0080>
|
|
1b56: c73c sw a5,72(a4)
|
|
1b58: 4501 li a0,0
|
|
1b5a: 8082 ret
|
|
|
|
00001b5c <clear>:
|
|
1b5c: 845fe2ef jal t0,3a0 <__riscv_save_0>
|
|
1b60: 00004537 lui a0,0x4
|
|
1b64: 35c50513 addi a0,a0,860 # 435c <__fsym_list_mem_name+0x9c>
|
|
1b68: c1cff0ef jal ra,f84 <rt_kprintf>
|
|
1b6c: 4501 li a0,0
|
|
1b6e: 857fe06f j 3c4 <__riscv_restore_0>
|
|
|
|
00001b72 <object_split>:
|
|
1b72: 82ffe2ef jal t0,3a0 <__riscv_save_0>
|
|
1b76: 842a mv s0,a0
|
|
1b78: 54fd li s1,-1
|
|
1b7a: 00005937 lui s2,0x5
|
|
1b7e: 147d addi s0,s0,-1
|
|
1b80: 00941463 bne s0,s1,1b88 <object_split+0x16>
|
|
1b84: 841fe06f j 3c4 <__riscv_restore_0>
|
|
1b88: ac490513 addi a0,s2,-1340 # 4ac4 <__fsym_reboot_name+0x8>
|
|
1b8c: bf8ff0ef jal ra,f84 <rt_kprintf>
|
|
1b90: b7fd j 1b7e <object_split+0xc>
|
|
|
|
00001b92 <show_wait_queue>:
|
|
1b92: ff4fe2ef jal t0,386 <__riscv_save_4>
|
|
1b96: 4100 lw s0,0(a0)
|
|
1b98: 84aa mv s1,a0
|
|
1b9a: 00005937 lui s2,0x5
|
|
1b9e: 000059b7 lui s3,0x5
|
|
1ba2: 00941463 bne s0,s1,1baa <show_wait_queue+0x18>
|
|
1ba6: 815fe06f j 3ba <__riscv_restore_4>
|
|
1baa: fec40593 addi a1,s0,-20
|
|
1bae: ac890513 addi a0,s2,-1336 # 4ac8 <__fsym_reboot_name+0xc>
|
|
1bb2: bd2ff0ef jal ra,f84 <rt_kprintf>
|
|
1bb6: 401c lw a5,0(s0)
|
|
1bb8: 00978663 beq a5,s1,1bc4 <show_wait_queue+0x32>
|
|
1bbc: acc98513 addi a0,s3,-1332 # 4acc <__fsym_reboot_name+0x10>
|
|
1bc0: bc4ff0ef jal ra,f84 <rt_kprintf>
|
|
1bc4: 4000 lw s0,0(s0)
|
|
1bc6: bff1 j 1ba2 <show_wait_queue+0x10>
|
|
|
|
00001bc8 <object_name_maxlen>:
|
|
1bc8: fd8fe2ef jal t0,3a0 <__riscv_save_0>
|
|
1bcc: 892e mv s2,a1
|
|
1bce: 81cff0ef jal ra,bea <rt_strlen>
|
|
1bd2: 842a mv s0,a0
|
|
1bd4: a35ff0ef jal ra,1608 <rt_enter_critical>
|
|
1bd8: 00092483 lw s1,0(s2)
|
|
1bdc: 01249c63 bne s1,s2,1bf4 <object_name_maxlen+0x2c>
|
|
1be0: a3fff0ef jal ra,161e <rt_exit_critical>
|
|
1be4: 47a1 li a5,8
|
|
1be6: 0087c363 blt a5,s0,1bec <object_name_maxlen+0x24>
|
|
1bea: e011 bnez s0,1bee <object_name_maxlen+0x26>
|
|
1bec: 4421 li s0,8
|
|
1bee: 8522 mv a0,s0
|
|
1bf0: fd4fe06f j 3c4 <__riscv_restore_0>
|
|
1bf4: ff448513 addi a0,s1,-12
|
|
1bf8: ff3fe0ef jal ra,bea <rt_strlen>
|
|
1bfc: 00a45363 bge s0,a0,1c02 <object_name_maxlen+0x3a>
|
|
1c00: 842a mv s0,a0
|
|
1c02: 4084 lw s1,0(s1)
|
|
1c04: bfe1 j 1bdc <object_name_maxlen+0x14>
|
|
|
|
00001c06 <list_thread>:
|
|
1c06: f72fe2ef jal t0,378 <__riscv_save_10>
|
|
1c0a: 4505 li a0,1
|
|
1c0c: f6cff0ef jal ra,1378 <rt_object_get_information>
|
|
1c10: 000049b7 lui s3,0x4
|
|
1c14: 00450913 addi s2,a0,4
|
|
1c18: 842a mv s0,a0
|
|
1c1a: 85ca mv a1,s2
|
|
1c1c: 61098513 addi a0,s3,1552 # 4610 <__fsym_list_mem_name+0x350>
|
|
1c20: 3765 jal 1bc8 <object_name_maxlen>
|
|
1c22: 85aa mv a1,a0
|
|
1c24: 84aa mv s1,a0
|
|
1c26: 00004537 lui a0,0x4
|
|
1c2a: 61098613 addi a2,s3,1552
|
|
1c2e: 61850513 addi a0,a0,1560 # 4618 <__fsym_list_mem_name+0x358>
|
|
1c32: b52ff0ef jal ra,f84 <rt_kprintf>
|
|
1c36: 8526 mv a0,s1
|
|
1c38: 3f2d jal 1b72 <object_split>
|
|
1c3a: 00004537 lui a0,0x4
|
|
1c3e: 65c50513 addi a0,a0,1628 # 465c <__fsym_list_mem_name+0x39c>
|
|
1c42: b42ff0ef jal ra,f84 <rt_kprintf>
|
|
1c46: 4040 lw s0,4(s0)
|
|
1c48: 000049b7 lui s3,0x4
|
|
1c4c: 4a05 li s4,1
|
|
1c4e: 4a89 li s5,2
|
|
1c50: 00004b37 lui s6,0x4
|
|
1c54: 00004bb7 lui s7,0x4
|
|
1c58: 00004c37 lui s8,0x4
|
|
1c5c: 00004cb7 lui s9,0x4
|
|
1c60: 00004d37 lui s10,0x4
|
|
1c64: 00891563 bne s2,s0,1c6e <list_thread+0x68>
|
|
1c68: 4501 li a0,0
|
|
1c6a: f46fe06f j 3b0 <__riscv_restore_10>
|
|
1c6e: 02944703 lbu a4,41(s0)
|
|
1c72: 69c98513 addi a0,s3,1692 # 469c <__fsym_list_mem_name+0x3dc>
|
|
1c76: ff440693 addi a3,s0,-12
|
|
1c7a: 4621 li a2,8
|
|
1c7c: 85a6 mv a1,s1
|
|
1c7e: b06ff0ef jal ra,f84 <rt_kprintf>
|
|
1c82: 02844783 lbu a5,40(s0)
|
|
1c86: 6a8c8513 addi a0,s9,1704 # 46a8 <__fsym_list_mem_name+0x3e8>
|
|
1c8a: 8bbd andi a5,a5,15
|
|
1c8c: 01478e63 beq a5,s4,1ca8 <list_thread+0xa2>
|
|
1c90: 6b4c0513 addi a0,s8,1716 # 46b4 <__fsym_list_mem_name+0x3f4>
|
|
1c94: 01578a63 beq a5,s5,1ca8 <list_thread+0xa2>
|
|
1c98: 6c0b8513 addi a0,s7,1728 # 46c0 <__fsym_list_mem_name+0x400>
|
|
1c9c: c791 beqz a5,1ca8 <list_thread+0xa2>
|
|
1c9e: 4711 li a4,4
|
|
1ca0: 00e79663 bne a5,a4,1cac <list_thread+0xa6>
|
|
1ca4: 6ccb0513 addi a0,s6,1740 # 46cc <__fsym_list_mem_name+0x40c>
|
|
1ca8: adcff0ef jal ra,f84 <rt_kprintf>
|
|
1cac: 4c4c lw a1,28(s0)
|
|
1cae: 02300793 li a5,35
|
|
1cb2: 86ae mv a3,a1
|
|
1cb4: 2298 lbu a4,0(a3)
|
|
1cb6: 02f70663 beq a4,a5,1ce2 <list_thread+0xdc>
|
|
1cba: 5010 lw a2,32(s0)
|
|
1cbc: 06400793 li a5,100
|
|
1cc0: 4808 lw a0,16(s0)
|
|
1cc2: 95b2 add a1,a1,a2
|
|
1cc4: 40d586b3 sub a3,a1,a3
|
|
1cc8: 02f686b3 mul a3,a3,a5
|
|
1ccc: 5c58 lw a4,60(s0)
|
|
1cce: 505c lw a5,36(s0)
|
|
1cd0: 8d89 sub a1,a1,a0
|
|
1cd2: 6d8d0513 addi a0,s10,1752 # 46d8 <__fsym_list_mem_name+0x418>
|
|
1cd6: 02c6d6b3 divu a3,a3,a2
|
|
1cda: aaaff0ef jal ra,f84 <rt_kprintf>
|
|
1cde: 4000 lw s0,0(s0)
|
|
1ce0: b751 j 1c64 <list_thread+0x5e>
|
|
1ce2: 0685 addi a3,a3,1
|
|
1ce4: bfc1 j 1cb4 <list_thread+0xae>
|
|
|
|
00001ce6 <list_sem>:
|
|
1ce6: ea0fe2ef jal t0,386 <__riscv_save_4>
|
|
1cea: 1141 addi sp,sp,-16
|
|
1cec: 4509 li a0,2
|
|
1cee: e8aff0ef jal ra,1378 <rt_object_get_information>
|
|
1cf2: 00450993 addi s3,a0,4
|
|
1cf6: 00004937 lui s2,0x4
|
|
1cfa: 842a mv s0,a0
|
|
1cfc: 85ce mv a1,s3
|
|
1cfe: 5b090513 addi a0,s2,1456 # 45b0 <__fsym_list_mem_name+0x2f0>
|
|
1d02: ec7ff0ef jal ra,1bc8 <object_name_maxlen>
|
|
1d06: 85aa mv a1,a0
|
|
1d08: 84aa mv s1,a0
|
|
1d0a: 00004537 lui a0,0x4
|
|
1d0e: 5b090613 addi a2,s2,1456
|
|
1d12: 5bc50513 addi a0,a0,1468 # 45bc <__fsym_list_mem_name+0x2fc>
|
|
1d16: a6eff0ef jal ra,f84 <rt_kprintf>
|
|
1d1a: 8526 mv a0,s1
|
|
1d1c: e57ff0ef jal ra,1b72 <object_split>
|
|
1d20: 00004537 lui a0,0x4
|
|
1d24: 5d850513 addi a0,a0,1496 # 45d8 <__fsym_list_mem_name+0x318>
|
|
1d28: a5cff0ef jal ra,f84 <rt_kprintf>
|
|
1d2c: 4040 lw s0,4(s0)
|
|
1d2e: 00004a37 lui s4,0x4
|
|
1d32: 00004ab7 lui s5,0x4
|
|
1d36: 00005b37 lui s6,0x5
|
|
1d3a: 00899663 bne s3,s0,1d46 <list_sem+0x60>
|
|
1d3e: 4501 li a0,0
|
|
1d40: 0141 addi sp,sp,16
|
|
1d42: e78fe06f j 3ba <__riscv_restore_4>
|
|
1d46: 281a lhu a4,16(s0)
|
|
1d48: 441c lw a5,8(s0)
|
|
1d4a: ff440693 addi a3,s0,-12
|
|
1d4e: 00840913 addi s2,s0,8
|
|
1d52: c636 sw a3,12(sp)
|
|
1d54: c43a sw a4,8(sp)
|
|
1d56: 854a mv a0,s2
|
|
1d58: 02f90663 beq s2,a5,1d84 <list_sem+0x9e>
|
|
1d5c: dddff0ef jal ra,1b38 <rt_list_len>
|
|
1d60: 4722 lw a4,8(sp)
|
|
1d62: 46b2 lw a3,12(sp)
|
|
1d64: 87aa mv a5,a0
|
|
1d66: 4621 li a2,8
|
|
1d68: 85a6 mv a1,s1
|
|
1d6a: 5f0a8513 addi a0,s5,1520 # 45f0 <__fsym_list_mem_name+0x330>
|
|
1d6e: a16ff0ef jal ra,f84 <rt_kprintf>
|
|
1d72: 854a mv a0,s2
|
|
1d74: e1fff0ef jal ra,1b92 <show_wait_queue>
|
|
1d78: 528b0513 addi a0,s6,1320 # 5528 <ch32_uart_ops+0x70>
|
|
1d7c: a08ff0ef jal ra,f84 <rt_kprintf>
|
|
1d80: 4000 lw s0,0(s0)
|
|
1d82: bf65 j 1d3a <list_sem+0x54>
|
|
1d84: db5ff0ef jal ra,1b38 <rt_list_len>
|
|
1d88: 4722 lw a4,8(sp)
|
|
1d8a: 46b2 lw a3,12(sp)
|
|
1d8c: 87aa mv a5,a0
|
|
1d8e: 4621 li a2,8
|
|
1d90: 85a6 mv a1,s1
|
|
1d92: 600a0513 addi a0,s4,1536 # 4600 <__fsym_list_mem_name+0x340>
|
|
1d96: 9eeff0ef jal ra,f84 <rt_kprintf>
|
|
1d9a: b7dd j 1d80 <list_sem+0x9a>
|
|
|
|
00001d9c <list_event>:
|
|
1d9c: deafe2ef jal t0,386 <__riscv_save_4>
|
|
1da0: 1141 addi sp,sp,-16
|
|
1da2: 4511 li a0,4
|
|
1da4: dd4ff0ef jal ra,1378 <rt_object_get_information>
|
|
1da8: 00450993 addi s3,a0,4
|
|
1dac: 00004937 lui s2,0x4
|
|
1db0: 842a mv s0,a0
|
|
1db2: 85ce mv a1,s3
|
|
1db4: 3f490513 addi a0,s2,1012 # 43f4 <__fsym_list_mem_name+0x134>
|
|
1db8: e11ff0ef jal ra,1bc8 <object_name_maxlen>
|
|
1dbc: 85aa mv a1,a0
|
|
1dbe: 84aa mv s1,a0
|
|
1dc0: 00004537 lui a0,0x4
|
|
1dc4: 3f490613 addi a2,s2,1012
|
|
1dc8: 3fc50513 addi a0,a0,1020 # 43fc <__fsym_list_mem_name+0x13c>
|
|
1dcc: 9b8ff0ef jal ra,f84 <rt_kprintf>
|
|
1dd0: 8526 mv a0,s1
|
|
1dd2: da1ff0ef jal ra,1b72 <object_split>
|
|
1dd6: 00004537 lui a0,0x4
|
|
1dda: 42050513 addi a0,a0,1056 # 4420 <__fsym_list_mem_name+0x160>
|
|
1dde: 9a6ff0ef jal ra,f84 <rt_kprintf>
|
|
1de2: 4040 lw s0,4(s0)
|
|
1de4: 00004a37 lui s4,0x4
|
|
1de8: 00004ab7 lui s5,0x4
|
|
1dec: 00005b37 lui s6,0x5
|
|
1df0: 00899663 bne s3,s0,1dfc <list_event+0x60>
|
|
1df4: 4501 li a0,0
|
|
1df6: 0141 addi sp,sp,16
|
|
1df8: dc2fe06f j 3ba <__riscv_restore_4>
|
|
1dfc: 441c lw a5,8(s0)
|
|
1dfe: 00840913 addi s2,s0,8
|
|
1e02: ff440693 addi a3,s0,-12
|
|
1e06: 4818 lw a4,16(s0)
|
|
1e08: 02f90963 beq s2,a5,1e3a <list_event+0x9e>
|
|
1e0c: 854a mv a0,s2
|
|
1e0e: c636 sw a3,12(sp)
|
|
1e10: c43a sw a4,8(sp)
|
|
1e12: d27ff0ef jal ra,1b38 <rt_list_len>
|
|
1e16: 4722 lw a4,8(sp)
|
|
1e18: 46b2 lw a3,12(sp)
|
|
1e1a: 87aa mv a5,a0
|
|
1e1c: 4621 li a2,8
|
|
1e1e: 85a6 mv a1,s1
|
|
1e20: 440a8513 addi a0,s5,1088 # 4440 <__fsym_list_mem_name+0x180>
|
|
1e24: 960ff0ef jal ra,f84 <rt_kprintf>
|
|
1e28: 854a mv a0,s2
|
|
1e2a: d69ff0ef jal ra,1b92 <show_wait_queue>
|
|
1e2e: 528b0513 addi a0,s6,1320 # 5528 <ch32_uart_ops+0x70>
|
|
1e32: 952ff0ef jal ra,f84 <rt_kprintf>
|
|
1e36: 4000 lw s0,0(s0)
|
|
1e38: bf65 j 1df0 <list_event+0x54>
|
|
1e3a: 4621 li a2,8
|
|
1e3c: 85a6 mv a1,s1
|
|
1e3e: 458a0513 addi a0,s4,1112 # 4458 <__fsym_list_mem_name+0x198>
|
|
1e42: 942ff0ef jal ra,f84 <rt_kprintf>
|
|
1e46: bfc5 j 1e36 <list_event+0x9a>
|
|
|
|
00001e48 <list_mutex>:
|
|
1e48: d3efe2ef jal t0,386 <__riscv_save_4>
|
|
1e4c: 1141 addi sp,sp,-16
|
|
1e4e: 450d li a0,3
|
|
1e50: d28ff0ef jal ra,1378 <rt_object_get_information>
|
|
1e54: 000049b7 lui s3,0x4
|
|
1e58: 00450913 addi s2,a0,4
|
|
1e5c: 842a mv s0,a0
|
|
1e5e: 85ca mv a1,s2
|
|
1e60: 54c98513 addi a0,s3,1356 # 454c <__fsym_list_mem_name+0x28c>
|
|
1e64: d65ff0ef jal ra,1bc8 <object_name_maxlen>
|
|
1e68: 85aa mv a1,a0
|
|
1e6a: 84aa mv s1,a0
|
|
1e6c: 00004537 lui a0,0x4
|
|
1e70: 54c98613 addi a2,s3,1356
|
|
1e74: 55450513 addi a0,a0,1364 # 4554 <__fsym_list_mem_name+0x294>
|
|
1e78: 90cff0ef jal ra,f84 <rt_kprintf>
|
|
1e7c: 8526 mv a0,s1
|
|
1e7e: cf5ff0ef jal ra,1b72 <object_split>
|
|
1e82: 00004537 lui a0,0x4
|
|
1e86: 57850513 addi a0,a0,1400 # 4578 <__fsym_list_mem_name+0x2b8>
|
|
1e8a: 8faff0ef jal ra,f84 <rt_kprintf>
|
|
1e8e: 4040 lw s0,4(s0)
|
|
1e90: 000049b7 lui s3,0x4
|
|
1e94: 00891663 bne s2,s0,1ea0 <list_mutex+0x58>
|
|
1e98: 4501 li a0,0
|
|
1e9a: 0141 addi sp,sp,16
|
|
1e9c: d1efe06f j 3ba <__riscv_restore_4>
|
|
1ea0: ff440693 addi a3,s0,-12
|
|
1ea4: 00840513 addi a0,s0,8
|
|
1ea8: c636 sw a3,12(sp)
|
|
1eaa: c8fff0ef jal ra,1b38 <rt_list_len>
|
|
1eae: 01344803 lbu a6,19(s0)
|
|
1eb2: 485c lw a5,20(s0)
|
|
1eb4: 46b2 lw a3,12(sp)
|
|
1eb6: 88aa mv a7,a0
|
|
1eb8: 4721 li a4,8
|
|
1eba: 4621 li a2,8
|
|
1ebc: 85a6 mv a1,s1
|
|
1ebe: 59898513 addi a0,s3,1432 # 4598 <__fsym_list_mem_name+0x2d8>
|
|
1ec2: 8c2ff0ef jal ra,f84 <rt_kprintf>
|
|
1ec6: 4000 lw s0,0(s0)
|
|
1ec8: b7f1 j 1e94 <list_mutex+0x4c>
|
|
|
|
00001eca <list_mailbox>:
|
|
1eca: cbcfe2ef jal t0,386 <__riscv_save_4>
|
|
1ece: 1141 addi sp,sp,-16
|
|
1ed0: 4515 li a0,5
|
|
1ed2: ca6ff0ef jal ra,1378 <rt_object_get_information>
|
|
1ed6: 00450993 addi s3,a0,4
|
|
1eda: 00004937 lui s2,0x4
|
|
1ede: 842a mv s0,a0
|
|
1ee0: 85ce mv a1,s3
|
|
1ee2: 46c90513 addi a0,s2,1132 # 446c <__fsym_list_mem_name+0x1ac>
|
|
1ee6: ce3ff0ef jal ra,1bc8 <object_name_maxlen>
|
|
1eea: 85aa mv a1,a0
|
|
1eec: 84aa mv s1,a0
|
|
1eee: 00004537 lui a0,0x4
|
|
1ef2: 46c90613 addi a2,s2,1132
|
|
1ef6: 47450513 addi a0,a0,1140 # 4474 <__fsym_list_mem_name+0x1b4>
|
|
1efa: 88aff0ef jal ra,f84 <rt_kprintf>
|
|
1efe: 8526 mv a0,s1
|
|
1f00: c73ff0ef jal ra,1b72 <object_split>
|
|
1f04: 00004537 lui a0,0x4
|
|
1f08: 49850513 addi a0,a0,1176 # 4498 <__fsym_list_mem_name+0x1d8>
|
|
1f0c: 878ff0ef jal ra,f84 <rt_kprintf>
|
|
1f10: 4040 lw s0,4(s0)
|
|
1f12: 00004a37 lui s4,0x4
|
|
1f16: 00004ab7 lui s5,0x4
|
|
1f1a: 00005b37 lui s6,0x5
|
|
1f1e: 00899663 bne s3,s0,1f2a <list_mailbox+0x60>
|
|
1f22: 4501 li a0,0
|
|
1f24: 0141 addi sp,sp,16
|
|
1f26: c94fe06f j 3ba <__riscv_restore_4>
|
|
1f2a: 287a lhu a4,22(s0)
|
|
1f2c: 285e lhu a5,20(s0)
|
|
1f2e: 4410 lw a2,8(s0)
|
|
1f30: ff440693 addi a3,s0,-12
|
|
1f34: 00840913 addi s2,s0,8
|
|
1f38: c636 sw a3,12(sp)
|
|
1f3a: c43a sw a4,8(sp)
|
|
1f3c: c23e sw a5,4(sp)
|
|
1f3e: 854a mv a0,s2
|
|
1f40: 02c90763 beq s2,a2,1f6e <list_mailbox+0xa4>
|
|
1f44: bf5ff0ef jal ra,1b38 <rt_list_len>
|
|
1f48: 4792 lw a5,4(sp)
|
|
1f4a: 4722 lw a4,8(sp)
|
|
1f4c: 46b2 lw a3,12(sp)
|
|
1f4e: 882a mv a6,a0
|
|
1f50: 4621 li a2,8
|
|
1f52: 85a6 mv a1,s1
|
|
1f54: 4b4a8513 addi a0,s5,1204 # 44b4 <__fsym_list_mem_name+0x1f4>
|
|
1f58: 82cff0ef jal ra,f84 <rt_kprintf>
|
|
1f5c: 854a mv a0,s2
|
|
1f5e: c35ff0ef jal ra,1b92 <show_wait_queue>
|
|
1f62: 528b0513 addi a0,s6,1320 # 5528 <ch32_uart_ops+0x70>
|
|
1f66: 81eff0ef jal ra,f84 <rt_kprintf>
|
|
1f6a: 4000 lw s0,0(s0)
|
|
1f6c: bf4d j 1f1e <list_mailbox+0x54>
|
|
1f6e: bcbff0ef jal ra,1b38 <rt_list_len>
|
|
1f72: 4792 lw a5,4(sp)
|
|
1f74: 4722 lw a4,8(sp)
|
|
1f76: 46b2 lw a3,12(sp)
|
|
1f78: 882a mv a6,a0
|
|
1f7a: 4621 li a2,8
|
|
1f7c: 85a6 mv a1,s1
|
|
1f7e: 4cca0513 addi a0,s4,1228 # 44cc <__fsym_list_mem_name+0x20c>
|
|
1f82: 802ff0ef jal ra,f84 <rt_kprintf>
|
|
1f86: b7d5 j 1f6a <list_mailbox+0xa0>
|
|
|
|
00001f88 <list_msgqueue>:
|
|
1f88: bfefe2ef jal t0,386 <__riscv_save_4>
|
|
1f8c: 1141 addi sp,sp,-16
|
|
1f8e: 4519 li a0,6
|
|
1f90: be8ff0ef jal ra,1378 <rt_object_get_information>
|
|
1f94: 00450993 addi s3,a0,4
|
|
1f98: 00004937 lui s2,0x4
|
|
1f9c: 842a mv s0,a0
|
|
1f9e: 85ce mv a1,s3
|
|
1fa0: 4e490513 addi a0,s2,1252 # 44e4 <__fsym_list_mem_name+0x224>
|
|
1fa4: c25ff0ef jal ra,1bc8 <object_name_maxlen>
|
|
1fa8: 85aa mv a1,a0
|
|
1faa: 84aa mv s1,a0
|
|
1fac: 00004537 lui a0,0x4
|
|
1fb0: 4e490613 addi a2,s2,1252
|
|
1fb4: 4f050513 addi a0,a0,1264 # 44f0 <__fsym_list_mem_name+0x230>
|
|
1fb8: fcdfe0ef jal ra,f84 <rt_kprintf>
|
|
1fbc: 8526 mv a0,s1
|
|
1fbe: bb5ff0ef jal ra,1b72 <object_split>
|
|
1fc2: 00004537 lui a0,0x4
|
|
1fc6: 50c50513 addi a0,a0,1292 # 450c <__fsym_list_mem_name+0x24c>
|
|
1fca: fbbfe0ef jal ra,f84 <rt_kprintf>
|
|
1fce: 4040 lw s0,4(s0)
|
|
1fd0: 00004a37 lui s4,0x4
|
|
1fd4: 00004ab7 lui s5,0x4
|
|
1fd8: 00005b37 lui s6,0x5
|
|
1fdc: 00899663 bne s3,s0,1fe8 <list_msgqueue+0x60>
|
|
1fe0: 4501 li a0,0
|
|
1fe2: 0141 addi sp,sp,16
|
|
1fe4: bd6fe06f j 3ba <__riscv_restore_4>
|
|
1fe8: 2c1a lhu a4,24(s0)
|
|
1fea: 441c lw a5,8(s0)
|
|
1fec: ff440693 addi a3,s0,-12
|
|
1ff0: 00840913 addi s2,s0,8
|
|
1ff4: c636 sw a3,12(sp)
|
|
1ff6: c43a sw a4,8(sp)
|
|
1ff8: 854a mv a0,s2
|
|
1ffa: 02f90663 beq s2,a5,2026 <list_msgqueue+0x9e>
|
|
1ffe: b3bff0ef jal ra,1b38 <rt_list_len>
|
|
2002: 4722 lw a4,8(sp)
|
|
2004: 46b2 lw a3,12(sp)
|
|
2006: 87aa mv a5,a0
|
|
2008: 4621 li a2,8
|
|
200a: 85a6 mv a1,s1
|
|
200c: 524a8513 addi a0,s5,1316 # 4524 <__fsym_list_mem_name+0x264>
|
|
2010: f75fe0ef jal ra,f84 <rt_kprintf>
|
|
2014: 854a mv a0,s2
|
|
2016: b7dff0ef jal ra,1b92 <show_wait_queue>
|
|
201a: 528b0513 addi a0,s6,1320 # 5528 <ch32_uart_ops+0x70>
|
|
201e: f67fe0ef jal ra,f84 <rt_kprintf>
|
|
2022: 4000 lw s0,0(s0)
|
|
2024: bf65 j 1fdc <list_msgqueue+0x54>
|
|
2026: b13ff0ef jal ra,1b38 <rt_list_len>
|
|
202a: 4722 lw a4,8(sp)
|
|
202c: 46b2 lw a3,12(sp)
|
|
202e: 87aa mv a5,a0
|
|
2030: 4621 li a2,8
|
|
2032: 85a6 mv a1,s1
|
|
2034: 538a0513 addi a0,s4,1336 # 4538 <__fsym_list_mem_name+0x278>
|
|
2038: f4dfe0ef jal ra,f84 <rt_kprintf>
|
|
203c: b7dd j 2022 <list_msgqueue+0x9a>
|
|
|
|
0000203e <list_device>:
|
|
203e: b48fe2ef jal t0,386 <__riscv_save_4>
|
|
2042: 715d addi sp,sp,-80
|
|
2044: 4525 li a0,9
|
|
2046: b32ff0ef jal ra,1378 <rt_object_get_information>
|
|
204a: 6591 lui a1,0x4
|
|
204c: 05000613 li a2,80
|
|
2050: 842a mv s0,a0
|
|
2052: 00450913 addi s2,a0,4
|
|
2056: 00858593 addi a1,a1,8 # 4008 <strncmp+0x2a>
|
|
205a: 850a mv a0,sp
|
|
205c: 691010ef jal ra,3eec <memcpy>
|
|
2060: 000049b7 lui s3,0x4
|
|
2064: 85ca mv a1,s2
|
|
2066: 38c98513 addi a0,s3,908 # 438c <__fsym_list_mem_name+0xcc>
|
|
206a: b5fff0ef jal ra,1bc8 <object_name_maxlen>
|
|
206e: 85aa mv a1,a0
|
|
2070: 84aa mv s1,a0
|
|
2072: 00004537 lui a0,0x4
|
|
2076: 38c98613 addi a2,s3,908
|
|
207a: 39450513 addi a0,a0,916 # 4394 <__fsym_list_mem_name+0xd4>
|
|
207e: f07fe0ef jal ra,f84 <rt_kprintf>
|
|
2082: 8526 mv a0,s1
|
|
2084: aefff0ef jal ra,1b72 <object_split>
|
|
2088: 00004537 lui a0,0x4
|
|
208c: 3bc50513 addi a0,a0,956 # 43bc <__fsym_list_mem_name+0xfc>
|
|
2090: ef5fe0ef jal ra,f84 <rt_kprintf>
|
|
2094: 4040 lw s0,4(s0)
|
|
2096: 49d1 li s3,20
|
|
2098: 00004a37 lui s4,0x4
|
|
209c: 00891663 bne s2,s0,20a8 <list_device+0x6a>
|
|
20a0: 4501 li a0,0
|
|
20a2: 6161 addi sp,sp,80
|
|
20a4: b16fe06f j 3ba <__riscv_restore_4>
|
|
20a8: 441c lw a5,8(s0)
|
|
20aa: ff440693 addi a3,s0,-12
|
|
20ae: 02f9e063 bltu s3,a5,20ce <list_device+0x90>
|
|
20b2: 0898 addi a4,sp,80
|
|
20b4: 078a slli a5,a5,0x2
|
|
20b6: 97ba add a5,a5,a4
|
|
20b8: fb07a703 lw a4,-80(a5)
|
|
20bc: 281c lbu a5,16(s0)
|
|
20be: 4621 li a2,8
|
|
20c0: 85a6 mv a1,s1
|
|
20c2: 3e0a0513 addi a0,s4,992 # 43e0 <__fsym_list_mem_name+0x120>
|
|
20c6: ebffe0ef jal ra,f84 <rt_kprintf>
|
|
20ca: 4000 lw s0,0(s0)
|
|
20cc: bfc1 j 209c <list_device+0x5e>
|
|
20ce: 4746 lw a4,80(sp)
|
|
20d0: b7f5 j 20bc <list_device+0x7e>
|
|
|
|
000020d2 <list_timer>:
|
|
20d2: ab4fe2ef jal t0,386 <__riscv_save_4>
|
|
20d6: 4529 li a0,10
|
|
20d8: aa0ff0ef jal ra,1378 <rt_object_get_information>
|
|
20dc: 000049b7 lui s3,0x4
|
|
20e0: 00450913 addi s2,a0,4
|
|
20e4: 842a mv s0,a0
|
|
20e6: 85ca mv a1,s2
|
|
20e8: 70098513 addi a0,s3,1792 # 4700 <__fsym_list_mem_name+0x440>
|
|
20ec: addff0ef jal ra,1bc8 <object_name_maxlen>
|
|
20f0: 85aa mv a1,a0
|
|
20f2: 84aa mv s1,a0
|
|
20f4: 00004537 lui a0,0x4
|
|
20f8: 70098613 addi a2,s3,1792
|
|
20fc: 70850513 addi a0,a0,1800 # 4708 <__fsym_list_mem_name+0x448>
|
|
2100: e85fe0ef jal ra,f84 <rt_kprintf>
|
|
2104: 8526 mv a0,s1
|
|
2106: a6dff0ef jal ra,1b72 <object_split>
|
|
210a: 00004537 lui a0,0x4
|
|
210e: 73050513 addi a0,a0,1840 # 4730 <__fsym_list_mem_name+0x470>
|
|
2112: e73fe0ef jal ra,f84 <rt_kprintf>
|
|
2116: 4040 lw s0,4(s0)
|
|
2118: 000049b7 lui s3,0x4
|
|
211c: 00004a37 lui s4,0x4
|
|
2120: 00004ab7 lui s5,0x4
|
|
2124: 00891e63 bne s2,s0,2140 <list_timer+0x6e>
|
|
2128: b50fe0ef jal ra,478 <rt_tick_get>
|
|
212c: 85aa mv a1,a0
|
|
212e: 00004537 lui a0,0x4
|
|
2132: 78850513 addi a0,a0,1928 # 4788 <__fsym_list_mem_name+0x4c8>
|
|
2136: e4ffe0ef jal ra,f84 <rt_kprintf>
|
|
213a: 4501 li a0,0
|
|
213c: a7efe06f j 3ba <__riscv_restore_4>
|
|
2140: 4c5c lw a5,28(s0)
|
|
2142: 4c18 lw a4,24(s0)
|
|
2144: 75498513 addi a0,s3,1876 # 4754 <__fsym_list_mem_name+0x494>
|
|
2148: ff440693 addi a3,s0,-12
|
|
214c: 4621 li a2,8
|
|
214e: 85a6 mv a1,s1
|
|
2150: e35fe0ef jal ra,f84 <rt_kprintf>
|
|
2154: ffd44783 lbu a5,-3(s0)
|
|
2158: 76ca8513 addi a0,s5,1900 # 476c <__fsym_list_mem_name+0x4ac>
|
|
215c: 8b85 andi a5,a5,1
|
|
215e: e399 bnez a5,2164 <list_timer+0x92>
|
|
2160: 778a0513 addi a0,s4,1912 # 4778 <__fsym_list_mem_name+0x4b8>
|
|
2164: e21fe0ef jal ra,f84 <rt_kprintf>
|
|
2168: 4000 lw s0,0(s0)
|
|
216a: bf6d j 2124 <list_timer+0x52>
|
|
|
|
0000216c <list>:
|
|
216c: a1afe2ef jal t0,386 <__riscv_save_4>
|
|
2170: 00004537 lui a0,0x4
|
|
2174: 36450513 addi a0,a0,868 # 4364 <__fsym_list_mem_name+0xa4>
|
|
2178: e0dfe0ef jal ra,f84 <rt_kprintf>
|
|
217c: 8a01a403 lw s0,-1888(gp) # 20000200 <_syscall_table_begin>
|
|
2180: 000049b7 lui s3,0x4
|
|
2184: 00004a37 lui s4,0x4
|
|
2188: 8a41a783 lw a5,-1884(gp) # 20000204 <_syscall_table_end>
|
|
218c: 00f46563 bltu s0,a5,2196 <list+0x2a>
|
|
2190: 4501 li a0,0
|
|
2192: a28fe06f j 3ba <__riscv_restore_4>
|
|
2196: 4004 lw s1,0(s0)
|
|
2198: 4609 li a2,2
|
|
219a: 37898593 addi a1,s3,888 # 4378 <__fsym_list_mem_name+0xb8>
|
|
219e: 8526 mv a0,s1
|
|
21a0: 63f010ef jal ra,3fde <strncmp>
|
|
21a4: c519 beqz a0,21b2 <list+0x46>
|
|
21a6: 4050 lw a2,4(s0)
|
|
21a8: 85a6 mv a1,s1
|
|
21aa: 37ca0513 addi a0,s4,892 # 437c <__fsym_list_mem_name+0xbc>
|
|
21ae: dd7fe0ef jal ra,f84 <rt_kprintf>
|
|
21b2: 0431 addi s0,s0,12
|
|
21b4: bfd1 j 2188 <list+0x1c>
|
|
|
|
000021b6 <msh_help>:
|
|
21b6: 9d0fe2ef jal t0,386 <__riscv_save_4>
|
|
21ba: 00005537 lui a0,0x5
|
|
21be: c2850513 addi a0,a0,-984 # 4c28 <__fsym_reboot_name+0x16c>
|
|
21c2: dc3fe0ef jal ra,f84 <rt_kprintf>
|
|
21c6: 8a01a403 lw s0,-1888(gp) # 20000200 <_syscall_table_begin>
|
|
21ca: 000059b7 lui s3,0x5
|
|
21ce: 00005a37 lui s4,0x5
|
|
21d2: 8a41a783 lw a5,-1884(gp) # 20000204 <_syscall_table_end>
|
|
21d6: 00f46b63 bltu s0,a5,21ec <msh_help+0x36>
|
|
21da: 00005537 lui a0,0x5
|
|
21de: 52850513 addi a0,a0,1320 # 5528 <ch32_uart_ops+0x70>
|
|
21e2: da3fe0ef jal ra,f84 <rt_kprintf>
|
|
21e6: 4501 li a0,0
|
|
21e8: 9d2fe06f j 3ba <__riscv_restore_4>
|
|
21ec: 4004 lw s1,0(s0)
|
|
21ee: 4619 li a2,6
|
|
21f0: c4498593 addi a1,s3,-956 # 4c44 <__fsym_reboot_name+0x188>
|
|
21f4: 8526 mv a0,s1
|
|
21f6: 5e9010ef jal ra,3fde <strncmp>
|
|
21fa: e901 bnez a0,220a <msh_help+0x54>
|
|
21fc: 4050 lw a2,4(s0)
|
|
21fe: 00648593 addi a1,s1,6
|
|
2202: c4ca0513 addi a0,s4,-948 # 4c4c <__fsym_reboot_name+0x190>
|
|
2206: d7ffe0ef jal ra,f84 <rt_kprintf>
|
|
220a: 0431 addi s0,s0,12
|
|
220c: b7d9 j 21d2 <msh_help+0x1c>
|
|
|
|
0000220e <msh_is_used>:
|
|
220e: 4505 li a0,1
|
|
2210: 8082 ret
|
|
|
|
00002212 <msh_exec>:
|
|
2212: 974fe2ef jal t0,386 <__riscv_save_4>
|
|
2216: 7179 addi sp,sp,-48
|
|
2218: 842a mv s0,a0
|
|
221a: 95aa add a1,a1,a0
|
|
221c: 02000693 li a3,32
|
|
2220: 4725 li a4,9
|
|
2222: 00040783 lb a5,0(s0)
|
|
2226: 408584b3 sub s1,a1,s0
|
|
222a: 0ad78563 beq a5,a3,22d4 <msh_exec+0xc2>
|
|
222e: 0ae78363 beq a5,a4,22d4 <msh_exec+0xc2>
|
|
2232: 4501 li a0,0
|
|
2234: 10048b63 beqz s1,234a <msh_exec+0x138>
|
|
2238: 4901 li s2,0
|
|
223a: 02000713 li a4,32
|
|
223e: 46a5 li a3,9
|
|
2240: 012407b3 add a5,s0,s2
|
|
2244: 00078783 lb a5,0(a5)
|
|
2248: 08e78a63 beq a5,a4,22dc <msh_exec+0xca>
|
|
224c: 08d78863 beq a5,a3,22dc <msh_exec+0xca>
|
|
2250: 08991463 bne s2,s1,22d8 <msh_exec+0xc6>
|
|
2254: 8a01a983 lw s3,-1888(gp) # 20000200 <_syscall_table_begin>
|
|
2258: 8a41aa83 lw s5,-1884(gp) # 20000204 <_syscall_table_end>
|
|
225c: 00005b37 lui s6,0x5
|
|
2260: 0959f063 bgeu s3,s5,22e0 <msh_exec+0xce>
|
|
2264: 0009aa03 lw s4,0(s3)
|
|
2268: 4619 li a2,6
|
|
226a: c44b0593 addi a1,s6,-956 # 4c44 <__fsym_reboot_name+0x188>
|
|
226e: 8552 mv a0,s4
|
|
2270: 56f010ef jal ra,3fde <strncmp>
|
|
2274: e559 bnez a0,2302 <msh_exec+0xf0>
|
|
2276: 864a mv a2,s2
|
|
2278: 85a2 mv a1,s0
|
|
227a: 006a0513 addi a0,s4,6
|
|
227e: 561010ef jal ra,3fde <strncmp>
|
|
2282: e141 bnez a0,2302 <msh_exec+0xf0>
|
|
2284: 9a4a add s4,s4,s2
|
|
2286: 006a0783 lb a5,6(s4)
|
|
228a: efa5 bnez a5,2302 <msh_exec+0xf0>
|
|
228c: 0089a983 lw s3,8(s3)
|
|
2290: 04098863 beqz s3,22e0 <msh_exec+0xce>
|
|
2294: 02800613 li a2,40
|
|
2298: 4581 li a1,0
|
|
229a: 0028 addi a0,sp,8
|
|
229c: 934fe0ef jal ra,3d0 <memset>
|
|
22a0: 00810913 addi s2,sp,8
|
|
22a4: 86ca mv a3,s2
|
|
22a6: 87a2 mv a5,s0
|
|
22a8: 4501 li a0,0
|
|
22aa: 4701 li a4,0
|
|
22ac: 02000813 li a6,32
|
|
22b0: 48a5 li a7,9
|
|
22b2: 4329 li t1,10
|
|
22b4: 02200613 li a2,34
|
|
22b8: 05c00e13 li t3,92
|
|
22bc: 00078583 lb a1,0(a5)
|
|
22c0: 01058463 beq a1,a6,22c8 <msh_exec+0xb6>
|
|
22c4: 05159663 bne a1,a7,2310 <msh_exec+0xfe>
|
|
22c8: 02971f63 bne a4,s1,2306 <msh_exec+0xf4>
|
|
22cc: 47a9 li a5,10
|
|
22ce: 04f50363 beq a0,a5,2314 <msh_exec+0x102>
|
|
22d2: a869 j 236c <msh_exec+0x15a>
|
|
22d4: 0405 addi s0,s0,1
|
|
22d6: b7b1 j 2222 <msh_exec+0x10>
|
|
22d8: 0905 addi s2,s2,1
|
|
22da: b79d j 2240 <msh_exec+0x2e>
|
|
22dc: f6091ce3 bnez s2,2254 <msh_exec+0x42>
|
|
22e0: 87a2 mv a5,s0
|
|
22e2: 00078703 lb a4,0(a5)
|
|
22e6: fdf77713 andi a4,a4,-33
|
|
22ea: e779 bnez a4,23b8 <msh_exec+0x1a6>
|
|
22ec: 00005537 lui a0,0x5
|
|
22f0: c1050513 addi a0,a0,-1008 # 4c10 <__fsym_reboot_name+0x154>
|
|
22f4: 00078023 sb zero,0(a5)
|
|
22f8: 85a2 mv a1,s0
|
|
22fa: c8bfe0ef jal ra,f84 <rt_kprintf>
|
|
22fe: 557d li a0,-1
|
|
2300: a0a9 j 234a <msh_exec+0x138>
|
|
2302: 09b1 addi s3,s3,12
|
|
2304: bfb1 j 2260 <msh_exec+0x4e>
|
|
2306: 00078023 sb zero,0(a5)
|
|
230a: 0705 addi a4,a4,1
|
|
230c: 0785 addi a5,a5,1
|
|
230e: b77d j 22bc <msh_exec+0xaa>
|
|
2310: 04651063 bne a0,t1,2350 <msh_exec+0x13e>
|
|
2314: 00005537 lui a0,0x5
|
|
2318: bec50513 addi a0,a0,-1044 # 4bec <__fsym_reboot_name+0x130>
|
|
231c: c69fe0ef jal ra,f84 <rt_kprintf>
|
|
2320: 1800 addi s0,sp,48
|
|
2322: 000054b7 lui s1,0x5
|
|
2326: 00092583 lw a1,0(s2)
|
|
232a: c0c48513 addi a0,s1,-1012 # 4c0c <__fsym_reboot_name+0x150>
|
|
232e: 0911 addi s2,s2,4
|
|
2330: c55fe0ef jal ra,f84 <rt_kprintf>
|
|
2334: fe8919e3 bne s2,s0,2326 <msh_exec+0x114>
|
|
2338: 00005537 lui a0,0x5
|
|
233c: 52850513 addi a0,a0,1320 # 5528 <ch32_uart_ops+0x70>
|
|
2340: c45fe0ef jal ra,f84 <rt_kprintf>
|
|
2344: 4529 li a0,10
|
|
2346: 002c addi a1,sp,8
|
|
2348: 9982 jalr s3
|
|
234a: 6145 addi sp,sp,48
|
|
234c: 86efe06f j 3ba <__riscv_restore_4>
|
|
2350: 00977e63 bgeu a4,s1,236c <msh_exec+0x15a>
|
|
2354: 0505 addi a0,a0,1
|
|
2356: 04c59263 bne a1,a2,239a <msh_exec+0x188>
|
|
235a: 0785 addi a5,a5,1
|
|
235c: 0705 addi a4,a4,1
|
|
235e: c29c sw a5,0(a3)
|
|
2360: 00078583 lb a1,0(a5)
|
|
2364: 02c58163 beq a1,a2,2386 <msh_exec+0x174>
|
|
2368: 00976463 bltu a4,s1,2370 <msh_exec+0x15e>
|
|
236c: fd69 bnez a0,2346 <msh_exec+0x134>
|
|
236e: bf8d j 22e0 <msh_exec+0xce>
|
|
2370: 00178e83 lb t4,1(a5)
|
|
2374: 01c59663 bne a1,t3,2380 <msh_exec+0x16e>
|
|
2378: 00ce9463 bne t4,a2,2380 <msh_exec+0x16e>
|
|
237c: 0785 addi a5,a5,1
|
|
237e: 0705 addi a4,a4,1
|
|
2380: 0785 addi a5,a5,1
|
|
2382: 0705 addi a4,a4,1
|
|
2384: bff1 j 2360 <msh_exec+0x14e>
|
|
2386: fe9773e3 bgeu a4,s1,236c <msh_exec+0x15a>
|
|
238a: 00078023 sb zero,0(a5)
|
|
238e: 0705 addi a4,a4,1
|
|
2390: 0785 addi a5,a5,1
|
|
2392: 0691 addi a3,a3,4
|
|
2394: f29764e3 bltu a4,s1,22bc <msh_exec+0xaa>
|
|
2398: bfd1 j 236c <msh_exec+0x15a>
|
|
239a: c29c sw a5,0(a3)
|
|
239c: 00078583 lb a1,0(a5)
|
|
23a0: 01058963 beq a1,a6,23b2 <msh_exec+0x1a0>
|
|
23a4: 01158763 beq a1,a7,23b2 <msh_exec+0x1a0>
|
|
23a8: fc9702e3 beq a4,s1,236c <msh_exec+0x15a>
|
|
23ac: 0785 addi a5,a5,1
|
|
23ae: 0705 addi a4,a4,1
|
|
23b0: b7f5 j 239c <msh_exec+0x18a>
|
|
23b2: fe9760e3 bltu a4,s1,2392 <msh_exec+0x180>
|
|
23b6: bf5d j 236c <msh_exec+0x15a>
|
|
23b8: 0785 addi a5,a5,1
|
|
23ba: b725 j 22e2 <msh_exec+0xd0>
|
|
|
|
000023bc <msh_auto_complete>:
|
|
23bc: fbdfd2ef jal t0,378 <__riscv_save_10>
|
|
23c0: 00050783 lb a5,0(a0)
|
|
23c4: e799 bnez a5,23d2 <msh_auto_complete+0x16>
|
|
23c6: 4581 li a1,0
|
|
23c8: 4501 li a0,0
|
|
23ca: dedff0ef jal ra,21b6 <msh_help>
|
|
23ce: fe3fd06f j 3b0 <__riscv_restore_10>
|
|
23d2: 8a01aa03 lw s4,-1888(gp) # 20000200 <_syscall_table_begin>
|
|
23d6: 89aa mv s3,a0
|
|
23d8: 4481 li s1,0
|
|
23da: 4901 li s2,0
|
|
23dc: 00005b37 lui s6,0x5
|
|
23e0: 00005bb7 lui s7,0x5
|
|
23e4: 8a41a783 lw a5,-1884(gp) # 20000204 <_syscall_table_end>
|
|
23e8: 00fa6963 bltu s4,a5,23fa <msh_auto_complete+0x3e>
|
|
23ec: d0ed beqz s1,23ce <msh_auto_complete+0x12>
|
|
23ee: 864a mv a2,s2
|
|
23f0: 85a6 mv a1,s1
|
|
23f2: 854e mv a0,s3
|
|
23f4: fa0fe0ef jal ra,b94 <rt_strncpy>
|
|
23f8: bfd9 j 23ce <msh_auto_complete+0x12>
|
|
23fa: 000a2403 lw s0,0(s4)
|
|
23fe: 4619 li a2,6
|
|
2400: c44b0593 addi a1,s6,-956 # 4c44 <__fsym_reboot_name+0x188>
|
|
2404: 8522 mv a0,s0
|
|
2406: 3d9010ef jal ra,3fde <strncmp>
|
|
240a: e121 bnez a0,244a <msh_auto_complete+0x8e>
|
|
240c: 854e mv a0,s3
|
|
240e: 3bf010ef jal ra,3fcc <strlen>
|
|
2412: 0419 addi s0,s0,6
|
|
2414: 862a mv a2,a0
|
|
2416: 85a2 mv a1,s0
|
|
2418: 854e mv a0,s3
|
|
241a: 3c5010ef jal ra,3fde <strncmp>
|
|
241e: e515 bnez a0,244a <msh_auto_complete+0x8e>
|
|
2420: 00091763 bnez s2,242e <msh_auto_complete+0x72>
|
|
2424: 8522 mv a0,s0
|
|
2426: 3a7010ef jal ra,3fcc <strlen>
|
|
242a: 892a mv s2,a0
|
|
242c: 84a2 mv s1,s0
|
|
242e: 87a6 mv a5,s1
|
|
2430: 8722 mv a4,s0
|
|
2432: 00078603 lb a2,0(a5)
|
|
2436: ee01 bnez a2,244e <msh_auto_complete+0x92>
|
|
2438: 8f85 sub a5,a5,s1
|
|
243a: 0127d363 bge a5,s2,2440 <msh_auto_complete+0x84>
|
|
243e: 893e mv s2,a5
|
|
2440: 85a2 mv a1,s0
|
|
2442: c54b8513 addi a0,s7,-940 # 4c54 <__fsym_reboot_name+0x198>
|
|
2446: b3ffe0ef jal ra,f84 <rt_kprintf>
|
|
244a: 0a31 addi s4,s4,12
|
|
244c: bf61 j 23e4 <msh_auto_complete+0x28>
|
|
244e: 00070683 lb a3,0(a4) # e000e000 <_eusrstack+0xbfffe000>
|
|
2452: d2fd beqz a3,2438 <msh_auto_complete+0x7c>
|
|
2454: fed612e3 bne a2,a3,2438 <msh_auto_complete+0x7c>
|
|
2458: 0785 addi a5,a5,1
|
|
245a: 0705 addi a4,a4,1
|
|
245c: bfd9 j 2432 <msh_auto_complete+0x76>
|
|
|
|
0000245e <cmd_ps>:
|
|
245e: f43fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2462: fa4ff0ef jal ra,1c06 <list_thread>
|
|
2466: 4501 li a0,0
|
|
2468: f5dfd06f j 3c4 <__riscv_restore_0>
|
|
|
|
0000246c <cmd_free>:
|
|
246c: f35fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2470: c61fe0ef jal ra,10d0 <list_mem>
|
|
2474: 4501 li a0,0
|
|
2476: f4ffd06f j 3c4 <__riscv_restore_0>
|
|
|
|
0000247a <finsh_rx_ind>:
|
|
247a: f27fd2ef jal t0,3a0 <__riscv_save_0>
|
|
247e: 89c1a503 lw a0,-1892(gp) # 200001fc <shell>
|
|
2482: c0afe0ef jal ra,88c <rt_sem_release>
|
|
2486: 4501 li a0,0
|
|
2488: f3dfd06f j 3c4 <__riscv_restore_0>
|
|
|
|
0000248c <finsh_system_init>:
|
|
248c: f15fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2490: 000057b7 lui a5,0x5
|
|
2494: 52c78793 addi a5,a5,1324 # 552c <__fsym_list_mem>
|
|
2498: 8af1a023 sw a5,-1888(gp) # 20000200 <_syscall_table_begin>
|
|
249c: 000057b7 lui a5,0x5
|
|
24a0: 67c78793 addi a5,a5,1660 # 567c <__rt_init_rti_start>
|
|
24a4: 8af1a223 sw a5,-1884(gp) # 20000204 <_syscall_table_end>
|
|
24a8: 000057b7 lui a5,0x5
|
|
24ac: 67c78793 addi a5,a5,1660 # 567c <__rt_init_rti_start>
|
|
24b0: 8af1a423 sw a5,-1880(gp) # 20000208 <_sysvar_table_begin>
|
|
24b4: 000057b7 lui a5,0x5
|
|
24b8: 67c78793 addi a5,a5,1660 # 567c <__rt_init_rti_start>
|
|
24bc: 21000593 li a1,528
|
|
24c0: 4505 li a0,1
|
|
24c2: 8af1a623 sw a5,-1876(gp) # 2000020c <_sysvar_table_end>
|
|
24c6: 89c18413 addi s0,gp,-1892 # 200001fc <shell>
|
|
24ca: de1fe0ef jal ra,12aa <rt_calloc>
|
|
24ce: c008 sw a0,0(s0)
|
|
24d0: e919 bnez a0,24e6 <finsh_system_init+0x5a>
|
|
24d2: 00005537 lui a0,0x5
|
|
24d6: d0850513 addi a0,a0,-760 # 4d08 <__fsym___cmd_ps_name+0x40>
|
|
24da: aabfe0ef jal ra,f84 <rt_kprintf>
|
|
24de: 547d li s0,-1
|
|
24e0: 8522 mv a0,s0
|
|
24e2: ee3fd06f j 3c4 <__riscv_restore_0>
|
|
24e6: 000025b7 lui a1,0x2
|
|
24ea: 00005537 lui a0,0x5
|
|
24ee: 47a9 li a5,10
|
|
24f0: 472d li a4,11
|
|
24f2: 40000693 li a3,1024
|
|
24f6: 4601 li a2,0
|
|
24f8: 60c58593 addi a1,a1,1548 # 260c <finsh_thread_entry>
|
|
24fc: d2050513 addi a0,a0,-736 # 4d20 <__fsym___cmd_ps_name+0x58>
|
|
2500: a82ff0ef jal ra,1782 <rt_thread_create>
|
|
2504: 84aa mv s1,a0
|
|
2506: 4008 lw a0,0(s0)
|
|
2508: 000055b7 lui a1,0x5
|
|
250c: 4681 li a3,0
|
|
250e: 4601 li a2,0
|
|
2510: d2858593 addi a1,a1,-728 # 4d28 <__fsym___cmd_ps_name+0x60>
|
|
2514: ad0fe0ef jal ra,7e4 <rt_sem_init>
|
|
2518: 4401 li s0,0
|
|
251a: d0f9 beqz s1,24e0 <finsh_system_init+0x54>
|
|
251c: 8526 mv a0,s1
|
|
251e: b92ff0ef jal ra,18b0 <rt_thread_startup>
|
|
2522: bf7d j 24e0 <finsh_system_init+0x54>
|
|
|
|
00002524 <finsh_get_prompt>:
|
|
2524: e7dfd2ef jal t0,3a0 <__riscv_save_0>
|
|
2528: ce7ff0ef jal ra,220e <msh_is_used>
|
|
252c: c50d beqz a0,2556 <finsh_get_prompt+0x32>
|
|
252e: 000055b7 lui a1,0x5
|
|
2532: cd458593 addi a1,a1,-812 # 4cd4 <__fsym___cmd_ps_name+0xc>
|
|
2536: c6018513 addi a0,gp,-928 # 200005c0 <finsh_prompt.4315>
|
|
253a: 283010ef jal ra,3fbc <strcpy>
|
|
253e: 000055b7 lui a1,0x5
|
|
2542: ce458593 addi a1,a1,-796 # 4ce4 <__fsym___cmd_ps_name+0x1c>
|
|
2546: c6018513 addi a0,gp,-928 # 200005c0 <finsh_prompt.4315>
|
|
254a: 255010ef jal ra,3f9e <strcat>
|
|
254e: c6018513 addi a0,gp,-928 # 200005c0 <finsh_prompt.4315>
|
|
2552: e73fd06f j 3c4 <__riscv_restore_0>
|
|
2556: 000055b7 lui a1,0x5
|
|
255a: cdc58593 addi a1,a1,-804 # 4cdc <__fsym___cmd_ps_name+0x14>
|
|
255e: bfe1 j 2536 <finsh_get_prompt+0x12>
|
|
|
|
00002560 <shell_handle_history>:
|
|
2560: e41fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2564: 842a mv s0,a0
|
|
2566: 00005537 lui a0,0x5
|
|
256a: d4450513 addi a0,a0,-700 # 4d44 <__fsym___cmd_ps_name+0x7c>
|
|
256e: a17fe0ef jal ra,f84 <rt_kprintf>
|
|
2572: fb3ff0ef jal ra,2524 <finsh_get_prompt>
|
|
2576: 85aa mv a1,a0
|
|
2578: 00005537 lui a0,0x5
|
|
257c: 1ba40613 addi a2,s0,442
|
|
2580: d4c50513 addi a0,a0,-692 # 4d4c <__fsym___cmd_ps_name+0x84>
|
|
2584: a01fe0ef jal ra,f84 <rt_kprintf>
|
|
2588: 4501 li a0,0
|
|
258a: e3bfd06f j 3c4 <__riscv_restore_0>
|
|
|
|
0000258e <finsh_set_device>:
|
|
258e: e13fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2592: 1141 addi sp,sp,-16
|
|
2594: c62a sw a0,12(sp)
|
|
2596: fc3fd0ef jal ra,558 <rt_device_find>
|
|
259a: 45b2 lw a1,12(sp)
|
|
259c: e911 bnez a0,25b0 <finsh_set_device+0x22>
|
|
259e: 00005537 lui a0,0x5
|
|
25a2: ce850513 addi a0,a0,-792 # 4ce8 <__fsym___cmd_ps_name+0x20>
|
|
25a6: 9dffe0ef jal ra,f84 <rt_kprintf>
|
|
25aa: 0141 addi sp,sp,16
|
|
25ac: e19fd06f j 3c4 <__riscv_restore_0>
|
|
25b0: 89c1a783 lw a5,-1892(gp) # 200001fc <shell>
|
|
25b4: 84aa mv s1,a0
|
|
25b6: 89c18413 addi s0,gp,-1892 # 200001fc <shell>
|
|
25ba: 20c7a783 lw a5,524(a5)
|
|
25be: fea786e3 beq a5,a0,25aa <finsh_set_device+0x1c>
|
|
25c2: 14300593 li a1,323
|
|
25c6: 80efe0ef jal ra,5d4 <rt_device_open>
|
|
25ca: f165 bnez a0,25aa <finsh_set_device+0x1c>
|
|
25cc: 401c lw a5,0(s0)
|
|
25ce: 20c7a503 lw a0,524(a5)
|
|
25d2: c909 beqz a0,25e4 <finsh_set_device+0x56>
|
|
25d4: 87afe0ef jal ra,64e <rt_device_close>
|
|
25d8: 401c lw a5,0(s0)
|
|
25da: 4581 li a1,0
|
|
25dc: 20c7a503 lw a0,524(a5)
|
|
25e0: 8defe0ef jal ra,6be <rt_device_set_rx_indicate>
|
|
25e4: 4000 lw s0,0(s0)
|
|
25e6: 05000613 li a2,80
|
|
25ea: 4581 li a1,0
|
|
25ec: 1ba40513 addi a0,s0,442
|
|
25f0: de1fd0ef jal ra,3d0 <memset>
|
|
25f4: 000025b7 lui a1,0x2
|
|
25f8: 20041523 sh zero,522(s0)
|
|
25fc: 20942623 sw s1,524(s0)
|
|
2600: 47a58593 addi a1,a1,1146 # 247a <finsh_rx_ind>
|
|
2604: 8526 mv a0,s1
|
|
2606: 8b8fe0ef jal ra,6be <rt_device_set_rx_indicate>
|
|
260a: b745 j 25aa <finsh_set_device+0x1c>
|
|
|
|
0000260c <finsh_thread_entry>:
|
|
260c: d65fd2ef jal t0,370 <__riscv_save_12>
|
|
2610: 89c1a783 lw a5,-1892(gp) # 200001fc <shell>
|
|
2614: 1141 addi sp,sp,-16
|
|
2616: 89c18493 addi s1,gp,-1892 # 200001fc <shell>
|
|
261a: 0247c703 lbu a4,36(a5)
|
|
261e: 00176713 ori a4,a4,1
|
|
2622: 02e78223 sb a4,36(a5)
|
|
2626: 20c7a783 lw a5,524(a5)
|
|
262a: e791 bnez a5,2636 <finsh_thread_entry+0x2a>
|
|
262c: 923fe0ef jal ra,f4e <rt_console_get_device>
|
|
2630: c119 beqz a0,2636 <finsh_thread_entry+0x2a>
|
|
2632: f5dff0ef jal ra,258e <finsh_set_device>
|
|
2636: eefff0ef jal ra,2524 <finsh_get_prompt>
|
|
263a: 94bfe0ef jal ra,f84 <rt_kprintf>
|
|
263e: 00005b37 lui s6,0x5
|
|
2642: 00005bb7 lui s7,0x5
|
|
2646: 000059b7 lui s3,0x5
|
|
264a: 00005a37 lui s4,0x5
|
|
264e: 00005ab7 lui s5,0x5
|
|
2652: 00005c37 lui s8,0x5
|
|
2656: 00005cb7 lui s9,0x5
|
|
265a: 409c lw a5,0(s1)
|
|
265c: 4685 li a3,1
|
|
265e: 00f10613 addi a2,sp,15
|
|
2662: 20c7a503 lw a0,524(a5)
|
|
2666: 55fd li a1,-1
|
|
2668: 81efe0ef jal ra,686 <rt_device_read>
|
|
266c: 4785 li a5,1
|
|
266e: 00f51a63 bne a0,a5,2682 <finsh_thread_entry+0x76>
|
|
2672: 00f10903 lb s2,15(sp)
|
|
2676: 47ed li a5,27
|
|
2678: 4080 lw s0,0(s1)
|
|
267a: 00f91963 bne s2,a5,268c <finsh_thread_entry+0x80>
|
|
267e: d008 sw a0,32(s0)
|
|
2680: bfe9 j 265a <finsh_thread_entry+0x4e>
|
|
2682: 4088 lw a0,0(s1)
|
|
2684: 55fd li a1,-1
|
|
2686: 986fe0ef jal ra,80c <rt_sem_take>
|
|
268a: bfc1 j 265a <finsh_thread_entry+0x4e>
|
|
268c: 501c lw a5,32(s0)
|
|
268e: 02a79263 bne a5,a0,26b2 <finsh_thread_entry+0xa6>
|
|
2692: 05b00793 li a5,91
|
|
2696: 00f91563 bne s2,a5,26a0 <finsh_thread_entry+0x94>
|
|
269a: 4789 li a5,2
|
|
269c: d01c sw a5,32(s0)
|
|
269e: bf75 j 265a <finsh_thread_entry+0x4e>
|
|
26a0: 02042023 sw zero,32(s0)
|
|
26a4: fa090be3 beqz s2,265a <finsh_thread_entry+0x4e>
|
|
26a8: 47a5 li a5,9
|
|
26aa: 12f91463 bne s2,a5,27d2 <finsh_thread_entry+0x1c6>
|
|
26ae: 4901 li s2,0
|
|
26b0: a8d1 j 2784 <finsh_thread_entry+0x178>
|
|
26b2: 4709 li a4,2
|
|
26b4: fee798e3 bne a5,a4,26a4 <finsh_thread_entry+0x98>
|
|
26b8: 02042023 sw zero,32(s0)
|
|
26bc: 04100793 li a5,65
|
|
26c0: 04f91263 bne s2,a5,2704 <finsh_thread_entry+0xf8>
|
|
26c4: 306e lhu a1,38(s0)
|
|
26c6: d9d1 beqz a1,265a <finsh_thread_entry+0x4e>
|
|
26c8: 15fd addi a1,a1,-1
|
|
26ca: 05c2 slli a1,a1,0x10
|
|
26cc: 81c1 srli a1,a1,0x10
|
|
26ce: b06e sh a1,38(s0)
|
|
26d0: 1ba40793 addi a5,s0,442
|
|
26d4: 05000713 li a4,80
|
|
26d8: 02e585b3 mul a1,a1,a4
|
|
26dc: 05000613 li a2,80
|
|
26e0: 853e mv a0,a5
|
|
26e2: 02a58593 addi a1,a1,42
|
|
26e6: 95a2 add a1,a1,s0
|
|
26e8: 005010ef jal ra,3eec <memcpy>
|
|
26ec: 0e1010ef jal ra,3fcc <strlen>
|
|
26f0: 0ff57513 andi a0,a0,255
|
|
26f4: 20a40523 sb a0,522(s0)
|
|
26f8: 20a405a3 sb a0,523(s0)
|
|
26fc: 8522 mv a0,s0
|
|
26fe: e63ff0ef jal ra,2560 <shell_handle_history>
|
|
2702: bfa1 j 265a <finsh_thread_entry+0x4e>
|
|
2704: 04200793 li a5,66
|
|
2708: 02f91163 bne s2,a5,272a <finsh_thread_entry+0x11e>
|
|
270c: 3416 lhu a3,40(s0)
|
|
270e: 307e lhu a5,38(s0)
|
|
2710: fff68713 addi a4,a3,-1 # 7fffffff <_eusrstack+0x5ffeffff>
|
|
2714: 00e7d863 bge a5,a4,2724 <finsh_thread_entry+0x118>
|
|
2718: 0785 addi a5,a5,1
|
|
271a: b07e sh a5,38(s0)
|
|
271c: 1ba40793 addi a5,s0,442
|
|
2720: 306e lhu a1,38(s0)
|
|
2722: bf4d j 26d4 <finsh_thread_entry+0xc8>
|
|
2724: da9d beqz a3,265a <finsh_thread_entry+0x4e>
|
|
2726: b07a sh a4,38(s0)
|
|
2728: bfd5 j 271c <finsh_thread_entry+0x110>
|
|
272a: 04400793 li a5,68
|
|
272e: 02f91063 bne s2,a5,274e <finsh_thread_entry+0x142>
|
|
2732: 20b44783 lbu a5,523(s0)
|
|
2736: d395 beqz a5,265a <finsh_thread_entry+0x4e>
|
|
2738: d3098513 addi a0,s3,-720 # 4d30 <__fsym___cmd_ps_name+0x68>
|
|
273c: 849fe0ef jal ra,f84 <rt_kprintf>
|
|
2740: 4098 lw a4,0(s1)
|
|
2742: 20b74783 lbu a5,523(a4)
|
|
2746: 17fd addi a5,a5,-1
|
|
2748: 20f705a3 sb a5,523(a4)
|
|
274c: b739 j 265a <finsh_thread_entry+0x4e>
|
|
274e: 04300793 li a5,67
|
|
2752: f4f919e3 bne s2,a5,26a4 <finsh_thread_entry+0x98>
|
|
2756: 20b44783 lbu a5,523(s0)
|
|
275a: 20a44703 lbu a4,522(s0)
|
|
275e: eee7fee3 bgeu a5,a4,265a <finsh_thread_entry+0x4e>
|
|
2762: 943e add s0,s0,a5
|
|
2764: 1ba40583 lb a1,442(s0)
|
|
2768: d34a8513 addi a0,s5,-716 # 4d34 <__fsym___cmd_ps_name+0x6c>
|
|
276c: 819fe0ef jal ra,f84 <rt_kprintf>
|
|
2770: 4098 lw a4,0(s1)
|
|
2772: 20b74783 lbu a5,523(a4)
|
|
2776: 0785 addi a5,a5,1
|
|
2778: bfc1 j 2748 <finsh_thread_entry+0x13c>
|
|
277a: d3098513 addi a0,s3,-720
|
|
277e: 807fe0ef jal ra,f84 <rt_kprintf>
|
|
2782: 0905 addi s2,s2,1
|
|
2784: 4080 lw s0,0(s1)
|
|
2786: 20b44783 lbu a5,523(s0)
|
|
278a: fef948e3 blt s2,a5,277a <finsh_thread_entry+0x16e>
|
|
278e: 528a0513 addi a0,s4,1320 # 5528 <ch32_uart_ops+0x70>
|
|
2792: ff2fe0ef jal ra,f84 <rt_kprintf>
|
|
2796: a79ff0ef jal ra,220e <msh_is_used>
|
|
279a: 4785 li a5,1
|
|
279c: 1ba40413 addi s0,s0,442
|
|
27a0: 00f51563 bne a0,a5,27aa <finsh_thread_entry+0x19e>
|
|
27a4: 8522 mv a0,s0
|
|
27a6: c17ff0ef jal ra,23bc <msh_auto_complete>
|
|
27aa: d7bff0ef jal ra,2524 <finsh_get_prompt>
|
|
27ae: 8622 mv a2,s0
|
|
27b0: 85aa mv a1,a0
|
|
27b2: d4cc8513 addi a0,s9,-692 # 4d4c <__fsym___cmd_ps_name+0x84>
|
|
27b6: fcefe0ef jal ra,f84 <rt_kprintf>
|
|
27ba: 4080 lw s0,0(s1)
|
|
27bc: 1ba40513 addi a0,s0,442
|
|
27c0: 00d010ef jal ra,3fcc <strlen>
|
|
27c4: 0ff57513 andi a0,a0,255
|
|
27c8: 20a40523 sb a0,522(s0)
|
|
27cc: 20a405a3 sb a0,523(s0)
|
|
27d0: b569 j 265a <finsh_thread_entry+0x4e>
|
|
27d2: 07f00793 li a5,127
|
|
27d6: 00f90563 beq s2,a5,27e0 <finsh_thread_entry+0x1d4>
|
|
27da: 47a1 li a5,8
|
|
27dc: 08f91563 bne s2,a5,2866 <finsh_thread_entry+0x25a>
|
|
27e0: 20b44783 lbu a5,523(s0)
|
|
27e4: e6078be3 beqz a5,265a <finsh_thread_entry+0x4e>
|
|
27e8: 20a44603 lbu a2,522(s0)
|
|
27ec: 17fd addi a5,a5,-1
|
|
27ee: 0ff7f793 andi a5,a5,255
|
|
27f2: 167d addi a2,a2,-1
|
|
27f4: 0ff67613 andi a2,a2,255
|
|
27f8: 20c40523 sb a2,522(s0)
|
|
27fc: 20f405a3 sb a5,523(s0)
|
|
2800: 04c7f863 bgeu a5,a2,2850 <finsh_thread_entry+0x244>
|
|
2804: 1bb78593 addi a1,a5,443
|
|
2808: 1ba78513 addi a0,a5,442
|
|
280c: 8e1d sub a2,a2,a5
|
|
280e: 95a2 add a1,a1,s0
|
|
2810: 9522 add a0,a0,s0
|
|
2812: b3afe0ef jal ra,b4c <rt_memmove>
|
|
2816: 409c lw a5,0(s1)
|
|
2818: d38b8513 addi a0,s7,-712 # 4d38 <__fsym___cmd_ps_name+0x70>
|
|
281c: 20a7c703 lbu a4,522(a5)
|
|
2820: 973e add a4,a4,a5
|
|
2822: 1a070d23 sb zero,442(a4)
|
|
2826: 20b7c583 lbu a1,523(a5)
|
|
282a: 1ba58593 addi a1,a1,442
|
|
282e: 95be add a1,a1,a5
|
|
2830: f54fe0ef jal ra,f84 <rt_kprintf>
|
|
2834: 409c lw a5,0(s1)
|
|
2836: 20b7c403 lbu s0,523(a5)
|
|
283a: 409c lw a5,0(s1)
|
|
283c: 20a7c783 lbu a5,522(a5)
|
|
2840: e087cde3 blt a5,s0,265a <finsh_thread_entry+0x4e>
|
|
2844: d3098513 addi a0,s3,-720
|
|
2848: f3cfe0ef jal ra,f84 <rt_kprintf>
|
|
284c: 0405 addi s0,s0,1
|
|
284e: b7f5 j 283a <finsh_thread_entry+0x22e>
|
|
2850: d40b0513 addi a0,s6,-704 # 4d40 <__fsym___cmd_ps_name+0x78>
|
|
2854: f30fe0ef jal ra,f84 <rt_kprintf>
|
|
2858: 409c lw a5,0(s1)
|
|
285a: 20a7c703 lbu a4,522(a5)
|
|
285e: 97ba add a5,a5,a4
|
|
2860: 1a078d23 sb zero,442(a5)
|
|
2864: bbdd j 265a <finsh_thread_entry+0x4e>
|
|
2866: 4735 li a4,13
|
|
2868: 20a44783 lbu a5,522(s0)
|
|
286c: 00e90563 beq s2,a4,2876 <finsh_thread_entry+0x26a>
|
|
2870: 4729 li a4,10
|
|
2872: 0ee91e63 bne s2,a4,296e <finsh_thread_entry+0x362>
|
|
2876: cbb9 beqz a5,28cc <finsh_thread_entry+0x2c0>
|
|
2878: 02845903 lhu s2,40(s0)
|
|
287c: 4791 li a5,4
|
|
287e: 1ba40d13 addi s10,s0,442
|
|
2882: 0927fb63 bgeu a5,s2,2918 <finsh_thread_entry+0x30c>
|
|
2886: 16a40d93 addi s11,s0,362
|
|
288a: 05000613 li a2,80
|
|
288e: 85ea mv a1,s10
|
|
2890: 856e mv a0,s11
|
|
2892: 636010ef jal ra,3ec8 <memcmp>
|
|
2896: c91d beqz a0,28cc <finsh_thread_entry+0x2c0>
|
|
2898: 02a40913 addi s2,s0,42
|
|
289c: 854a mv a0,s2
|
|
289e: 05090913 addi s2,s2,80
|
|
28a2: 05000613 li a2,80
|
|
28a6: 85ca mv a1,s2
|
|
28a8: 644010ef jal ra,3eec <memcpy>
|
|
28ac: ff2d98e3 bne s11,s2,289c <finsh_thread_entry+0x290>
|
|
28b0: 05000613 li a2,80
|
|
28b4: 4581 li a1,0
|
|
28b6: 856e mv a0,s11
|
|
28b8: b19fd0ef jal ra,3d0 <memset>
|
|
28bc: 20a44603 lbu a2,522(s0)
|
|
28c0: 85ea mv a1,s10
|
|
28c2: 856e mv a0,s11
|
|
28c4: 628010ef jal ra,3eec <memcpy>
|
|
28c8: 4795 li a5,5
|
|
28ca: b41e sh a5,40(s0)
|
|
28cc: 341e lhu a5,40(s0)
|
|
28ce: b07e sh a5,38(s0)
|
|
28d0: 93fff0ef jal ra,220e <msh_is_used>
|
|
28d4: 4785 li a5,1
|
|
28d6: 02f51263 bne a0,a5,28fa <finsh_thread_entry+0x2ee>
|
|
28da: 409c lw a5,0(s1)
|
|
28dc: 0247c783 lbu a5,36(a5)
|
|
28e0: 8b85 andi a5,a5,1
|
|
28e2: c789 beqz a5,28ec <finsh_thread_entry+0x2e0>
|
|
28e4: 528a0513 addi a0,s4,1320
|
|
28e8: e9cfe0ef jal ra,f84 <rt_kprintf>
|
|
28ec: 4088 lw a0,0(s1)
|
|
28ee: 20a54583 lbu a1,522(a0)
|
|
28f2: 1ba50513 addi a0,a0,442
|
|
28f6: 91dff0ef jal ra,2212 <msh_exec>
|
|
28fa: c2bff0ef jal ra,2524 <finsh_get_prompt>
|
|
28fe: e86fe0ef jal ra,f84 <rt_kprintf>
|
|
2902: 4080 lw s0,0(s1)
|
|
2904: 05000613 li a2,80
|
|
2908: 4581 li a1,0
|
|
290a: 1ba40513 addi a0,s0,442
|
|
290e: ac3fd0ef jal ra,3d0 <memset>
|
|
2912: 20041523 sh zero,522(s0)
|
|
2916: b391 j 265a <finsh_thread_entry+0x4e>
|
|
2918: 02090163 beqz s2,293a <finsh_thread_entry+0x32e>
|
|
291c: fff90513 addi a0,s2,-1
|
|
2920: 05000793 li a5,80
|
|
2924: 02f50533 mul a0,a0,a5
|
|
2928: 05000613 li a2,80
|
|
292c: 85ea mv a1,s10
|
|
292e: 02a50513 addi a0,a0,42
|
|
2932: 9522 add a0,a0,s0
|
|
2934: 594010ef jal ra,3ec8 <memcmp>
|
|
2938: d951 beqz a0,28cc <finsh_thread_entry+0x2c0>
|
|
293a: 05000d93 li s11,80
|
|
293e: 03b90533 mul a0,s2,s11
|
|
2942: 05000613 li a2,80
|
|
2946: 4581 li a1,0
|
|
2948: 02a50513 addi a0,a0,42
|
|
294c: 9522 add a0,a0,s0
|
|
294e: a83fd0ef jal ra,3d0 <memset>
|
|
2952: 340a lhu a0,40(s0)
|
|
2954: 20a44603 lbu a2,522(s0)
|
|
2958: 85ea mv a1,s10
|
|
295a: 03b50533 mul a0,a0,s11
|
|
295e: 02a50513 addi a0,a0,42
|
|
2962: 9522 add a0,a0,s0
|
|
2964: 588010ef jal ra,3eec <memcpy>
|
|
2968: 341e lhu a5,40(s0)
|
|
296a: 0785 addi a5,a5,1
|
|
296c: bfb9 j 28ca <finsh_thread_entry+0x2be>
|
|
296e: 04f00713 li a4,79
|
|
2972: 00f77463 bgeu a4,a5,297a <finsh_thread_entry+0x36e>
|
|
2976: 20040523 sb zero,522(s0)
|
|
297a: 20b44603 lbu a2,523(s0)
|
|
297e: 20a44783 lbu a5,522(s0)
|
|
2982: 08f67063 bgeu a2,a5,2a02 <finsh_thread_entry+0x3f6>
|
|
2986: 1ba60593 addi a1,a2,442
|
|
298a: 1bb60513 addi a0,a2,443
|
|
298e: 95a2 add a1,a1,s0
|
|
2990: 40c78633 sub a2,a5,a2
|
|
2994: 9522 add a0,a0,s0
|
|
2996: 9b6fe0ef jal ra,b4c <rt_memmove>
|
|
299a: 408c lw a1,0(s1)
|
|
299c: 20b5c783 lbu a5,523(a1)
|
|
29a0: 00f58733 add a4,a1,a5
|
|
29a4: 1b270d23 sb s2,442(a4)
|
|
29a8: 0245c703 lbu a4,36(a1)
|
|
29ac: 8b05 andi a4,a4,1
|
|
29ae: cb01 beqz a4,29be <finsh_thread_entry+0x3b2>
|
|
29b0: 1ba78793 addi a5,a5,442
|
|
29b4: 95be add a1,a1,a5
|
|
29b6: ac8c0513 addi a0,s8,-1336 # 4ac8 <__fsym_reboot_name+0xc>
|
|
29ba: dcafe0ef jal ra,f84 <rt_kprintf>
|
|
29be: 409c lw a5,0(s1)
|
|
29c0: 20b7c403 lbu s0,523(a5)
|
|
29c4: 409c lw a5,0(s1)
|
|
29c6: 20a7c783 lbu a5,522(a5)
|
|
29ca: 02f44663 blt s0,a5,29f6 <finsh_thread_entry+0x3ea>
|
|
29ce: 4098 lw a4,0(s1)
|
|
29d0: 20a74783 lbu a5,522(a4)
|
|
29d4: 20b74683 lbu a3,523(a4)
|
|
29d8: 0785 addi a5,a5,1
|
|
29da: 0685 addi a3,a3,1
|
|
29dc: 0ff7f793 andi a5,a5,255
|
|
29e0: 20d705a3 sb a3,523(a4)
|
|
29e4: 20f70523 sb a5,522(a4)
|
|
29e8: 04f00693 li a3,79
|
|
29ec: c6f6f7e3 bgeu a3,a5,265a <finsh_thread_entry+0x4e>
|
|
29f0: 20071523 sh zero,522(a4)
|
|
29f4: b19d j 265a <finsh_thread_entry+0x4e>
|
|
29f6: d3098513 addi a0,s3,-720
|
|
29fa: d8afe0ef jal ra,f84 <rt_kprintf>
|
|
29fe: 0405 addi s0,s0,1
|
|
2a00: b7d1 j 29c4 <finsh_thread_entry+0x3b8>
|
|
2a02: 97a2 add a5,a5,s0
|
|
2a04: 1b278d23 sb s2,442(a5)
|
|
2a08: 02444783 lbu a5,36(s0)
|
|
2a0c: 8b85 andi a5,a5,1
|
|
2a0e: d3e1 beqz a5,29ce <finsh_thread_entry+0x3c2>
|
|
2a10: 85ca mv a1,s2
|
|
2a12: d34a8513 addi a0,s5,-716
|
|
2a16: d6efe0ef jal ra,f84 <rt_kprintf>
|
|
2a1a: bf55 j 29ce <finsh_thread_entry+0x3c2>
|
|
|
|
00002a1c <rt_serial_init>:
|
|
2a1c: 417c lw a5,68(a0)
|
|
2a1e: 04052823 sw zero,80(a0)
|
|
2a22: 04052a23 sw zero,84(a0)
|
|
2a26: 439c lw a5,0(a5)
|
|
2a28: cb81 beqz a5,2a38 <rt_serial_init+0x1c>
|
|
2a2a: 977fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2a2e: 04850593 addi a1,a0,72
|
|
2a32: 9782 jalr a5
|
|
2a34: 991fd06f j 3c4 <__riscv_restore_0>
|
|
2a38: 4501 li a0,0
|
|
2a3a: 8082 ret
|
|
|
|
00002a3c <rt_serial_write>:
|
|
2a3c: 94bfd2ef jal t0,386 <__riscv_save_4>
|
|
2a40: 8936 mv s2,a3
|
|
2a42: ca9d beqz a3,2a78 <rt_serial_write+0x3c>
|
|
2a44: 84aa mv s1,a0
|
|
2a46: 8432 mv s0,a2
|
|
2a48: 00d609b3 add s3,a2,a3
|
|
2a4c: 4a29 li s4,10
|
|
2a4e: 201c lbu a5,0(s0)
|
|
2a50: 01479b63 bne a5,s4,2a66 <rt_serial_write+0x2a>
|
|
2a54: 2cbe lhu a5,26(s1)
|
|
2a56: 0407f793 andi a5,a5,64
|
|
2a5a: c791 beqz a5,2a66 <rt_serial_write+0x2a>
|
|
2a5c: 40fc lw a5,68(s1)
|
|
2a5e: 45b5 li a1,13
|
|
2a60: 8526 mv a0,s1
|
|
2a62: 479c lw a5,8(a5)
|
|
2a64: 9782 jalr a5
|
|
2a66: 40fc lw a5,68(s1)
|
|
2a68: 00040583 lb a1,0(s0)
|
|
2a6c: 8526 mv a0,s1
|
|
2a6e: 479c lw a5,8(a5)
|
|
2a70: 0405 addi s0,s0,1
|
|
2a72: 9782 jalr a5
|
|
2a74: fd341de3 bne s0,s3,2a4e <rt_serial_write+0x12>
|
|
2a78: 854a mv a0,s2
|
|
2a7a: 941fd06f j 3ba <__riscv_restore_4>
|
|
|
|
00002a7e <rt_serial_open>:
|
|
2a7e: 923fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2a82: 1005f793 andi a5,a1,256
|
|
2a86: 842a mv s0,a0
|
|
2a88: c791 beqz a5,2a94 <rt_serial_open+0x16>
|
|
2a8a: 2d1a lhu a4,24(a0)
|
|
2a8c: 5561 li a0,-8
|
|
2a8e: 10077713 andi a4,a4,256
|
|
2a92: cf35 beqz a4,2b0e <rt_serial_open+0x90>
|
|
2a94: 4005f713 andi a4,a1,1024
|
|
2a98: c711 beqz a4,2aa4 <rt_serial_open+0x26>
|
|
2a9a: 2c1a lhu a4,24(s0)
|
|
2a9c: 5561 li a0,-8
|
|
2a9e: 40077713 andi a4,a4,1024
|
|
2aa2: c735 beqz a4,2b0e <rt_serial_open+0x90>
|
|
2aa4: 0405f713 andi a4,a1,64
|
|
2aa8: 04000493 li s1,64
|
|
2aac: e701 bnez a4,2ab4 <rt_serial_open+0x36>
|
|
2aae: 2c26 lhu s1,26(s0)
|
|
2ab0: 0404f493 andi s1,s1,64
|
|
2ab4: 4838 lw a4,80(s0)
|
|
2ab6: 0ff5f593 andi a1,a1,255
|
|
2aba: ac2e sh a1,26(s0)
|
|
2abc: eb39 bnez a4,2b12 <rt_serial_open+0x94>
|
|
2abe: c7a1 beqz a5,2b06 <rt_serial_open+0x88>
|
|
2ac0: 4468 lw a0,76(s0)
|
|
2ac2: 8129 srli a0,a0,0xa
|
|
2ac4: 0542 slli a0,a0,0x10
|
|
2ac6: 8141 srli a0,a0,0x10
|
|
2ac8: 0531 addi a0,a0,12
|
|
2aca: eb4fe0ef jal ra,117e <rt_malloc>
|
|
2ace: 4470 lw a2,76(s0)
|
|
2ad0: 892a mv s2,a0
|
|
2ad2: 0531 addi a0,a0,12
|
|
2ad4: 8229 srli a2,a2,0xa
|
|
2ad6: 0642 slli a2,a2,0x10
|
|
2ad8: 8241 srli a2,a2,0x10
|
|
2ada: 4581 li a1,0
|
|
2adc: 00a92023 sw a0,0(s2)
|
|
2ae0: fe5fd0ef jal ra,ac4 <rt_memset>
|
|
2ae4: 00092223 sw zero,4(s2)
|
|
2ae8: 2c3e lhu a5,26(s0)
|
|
2aea: 00092423 sw zero,8(s2)
|
|
2aee: 05242823 sw s2,80(s0)
|
|
2af2: 1007e793 ori a5,a5,256
|
|
2af6: ac3e sh a5,26(s0)
|
|
2af8: 407c lw a5,68(s0)
|
|
2afa: 10000613 li a2,256
|
|
2afe: 45c1 li a1,16
|
|
2b00: 43dc lw a5,4(a5)
|
|
2b02: 8522 mv a0,s0
|
|
2b04: 9782 jalr a5
|
|
2b06: 2c3e lhu a5,26(s0)
|
|
2b08: 4501 li a0,0
|
|
2b0a: 8cdd or s1,s1,a5
|
|
2b0c: ac26 sh s1,26(s0)
|
|
2b0e: 8b7fd06f j 3c4 <__riscv_restore_0>
|
|
2b12: dbf5 beqz a5,2b06 <rt_serial_open+0x88>
|
|
2b14: 1005e593 ori a1,a1,256
|
|
2b18: ac2e sh a1,26(s0)
|
|
2b1a: b7f5 j 2b06 <rt_serial_open+0x88>
|
|
|
|
00002b1c <rt_serial_control>:
|
|
2b1c: 4809 li a6,2
|
|
2b1e: 87aa mv a5,a0
|
|
2b20: 03058163 beq a1,a6,2b42 <rt_serial_control+0x26>
|
|
2b24: 87dfd2ef jal t0,3a0 <__riscv_save_0>
|
|
2b28: 480d li a6,3
|
|
2b2a: 03058263 beq a1,a6,2b4e <rt_serial_control+0x32>
|
|
2b2e: 4705 li a4,1
|
|
2b30: 04e59963 bne a1,a4,2b82 <rt_serial_control+0x66>
|
|
2b34: 2d1a lhu a4,24(a0)
|
|
2b36: fdf77713 andi a4,a4,-33
|
|
2b3a: ad1a sh a4,24(a0)
|
|
2b3c: 4501 li a0,0
|
|
2b3e: 887fd06f j 3c4 <__riscv_restore_0>
|
|
2b42: 2d1a lhu a4,24(a0)
|
|
2b44: 02076713 ori a4,a4,32
|
|
2b48: ad1a sh a4,24(a0)
|
|
2b4a: 4501 li a0,0
|
|
2b4c: 8082 ret
|
|
2b4e: 8732 mv a4,a2
|
|
2b50: d675 beqz a2,2b3c <rt_serial_control+0x20>
|
|
2b52: 4250 lw a2,4(a2)
|
|
2b54: 4574 lw a3,76(a0)
|
|
2b56: 2d4c lbu a1,28(a0)
|
|
2b58: 8229 srli a2,a2,0xa
|
|
2b5a: 82a9 srli a3,a3,0xa
|
|
2b5c: 0642 slli a2,a2,0x10
|
|
2b5e: 06c2 slli a3,a3,0x10
|
|
2b60: 8241 srli a2,a2,0x10
|
|
2b62: 82c1 srli a3,a3,0x10
|
|
2b64: 00d60463 beq a2,a3,2b6c <rt_serial_control+0x50>
|
|
2b68: 451d li a0,7
|
|
2b6a: f9f1 bnez a1,2b3e <rt_serial_control+0x22>
|
|
2b6c: 4314 lw a3,0(a4)
|
|
2b6e: c7b4 sw a3,72(a5)
|
|
2b70: 4354 lw a3,4(a4)
|
|
2b72: c7f4 sw a3,76(a5)
|
|
2b74: d5e1 beqz a1,2b3c <rt_serial_control+0x20>
|
|
2b76: 43f4 lw a3,68(a5)
|
|
2b78: 85ba mv a1,a4
|
|
2b7a: 853e mv a0,a5
|
|
2b7c: 4294 lw a3,0(a3)
|
|
2b7e: 9682 jalr a3
|
|
2b80: bf75 j 2b3c <rt_serial_control+0x20>
|
|
2b82: 417c lw a5,68(a0)
|
|
2b84: 43dc lw a5,4(a5)
|
|
2b86: 9782 jalr a5
|
|
2b88: bf5d j 2b3e <rt_serial_control+0x22>
|
|
|
|
00002b8a <rt_serial_read>:
|
|
2b8a: ffcfd2ef jal t0,386 <__riscv_save_4>
|
|
2b8e: 8436 mv s0,a3
|
|
2b90: cab1 beqz a3,2be4 <rt_serial_read+0x5a>
|
|
2b92: 2d3e lhu a5,26(a0)
|
|
2b94: 89aa mv s3,a0
|
|
2b96: 8932 mv s2,a2
|
|
2b98: 1007f793 andi a5,a5,256
|
|
2b9c: 84b6 mv s1,a3
|
|
2b9e: e39d bnez a5,2bc4 <rt_serial_read+0x3a>
|
|
2ba0: 5a7d li s4,-1
|
|
2ba2: 4aa9 li s5,10
|
|
2ba4: 0449a783 lw a5,68(s3)
|
|
2ba8: 854e mv a0,s3
|
|
2baa: 47dc lw a5,12(a5)
|
|
2bac: 9782 jalr a5
|
|
2bae: 01450963 beq a0,s4,2bc0 <rt_serial_read+0x36>
|
|
2bb2: 00a90023 sb a0,0(s2)
|
|
2bb6: 14fd addi s1,s1,-1
|
|
2bb8: 0905 addi s2,s2,1
|
|
2bba: 01550363 beq a0,s5,2bc0 <rt_serial_read+0x36>
|
|
2bbe: f0fd bnez s1,2ba4 <rt_serial_read+0x1a>
|
|
2bc0: 8c05 sub s0,s0,s1
|
|
2bc2: a00d j 2be4 <rt_serial_read+0x5a>
|
|
2bc4: 4924 lw s1,80(a0)
|
|
2bc6: 8a36 mv s4,a3
|
|
2bc8: 4a85 li s5,1
|
|
2bca: f3bfe0ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
2bce: 20fe lhu a5,6(s1)
|
|
2bd0: 20da lhu a4,4(s1)
|
|
2bd2: 862a mv a2,a0
|
|
2bd4: 4494 lw a3,8(s1)
|
|
2bd6: 00f71a63 bne a4,a5,2bea <rt_serial_read+0x60>
|
|
2bda: ea81 bnez a3,2bea <rt_serial_read+0x60>
|
|
2bdc: f35fe0ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
2be0: 41440433 sub s0,s0,s4
|
|
2be4: 8522 mv a0,s0
|
|
2be6: fd4fd06f j 3ba <__riscv_restore_4>
|
|
2bea: 4098 lw a4,0(s1)
|
|
2bec: 973e add a4,a4,a5
|
|
2bee: 00074b03 lbu s6,0(a4)
|
|
2bf2: 04c9a703 lw a4,76(s3)
|
|
2bf6: 0785 addi a5,a5,1
|
|
2bf8: 07c2 slli a5,a5,0x10
|
|
2bfa: 8329 srli a4,a4,0xa
|
|
2bfc: 83c1 srli a5,a5,0x10
|
|
2bfe: 0742 slli a4,a4,0x10
|
|
2c00: a0fe sh a5,6(s1)
|
|
2c02: 8341 srli a4,a4,0x10
|
|
2c04: 00e7e463 bltu a5,a4,2c0c <rt_serial_read+0x82>
|
|
2c08: 00049323 sh zero,6(s1)
|
|
2c0c: 01569463 bne a3,s5,2c14 <rt_serial_read+0x8a>
|
|
2c10: 0004a423 sw zero,8(s1)
|
|
2c14: 8532 mv a0,a2
|
|
2c16: efbfe0ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
2c1a: 1a7d addi s4,s4,-1
|
|
2c1c: 01690023 sb s6,0(s2)
|
|
2c20: 0905 addi s2,s2,1
|
|
2c22: fa0a14e3 bnez s4,2bca <rt_serial_read+0x40>
|
|
2c26: bf6d j 2be0 <rt_serial_read+0x56>
|
|
|
|
00002c28 <rt_serial_close>:
|
|
2c28: 2d58 lbu a4,28(a0)
|
|
2c2a: 4785 li a5,1
|
|
2c2c: 02e7ec63 bltu a5,a4,2c64 <rt_serial_close+0x3c>
|
|
2c30: 2d3e lhu a5,26(a0)
|
|
2c32: 1007f793 andi a5,a5,256
|
|
2c36: c79d beqz a5,2c64 <rt_serial_close+0x3c>
|
|
2c38: f68fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2c3c: 842a mv s0,a0
|
|
2c3e: 4928 lw a0,80(a0)
|
|
2c40: e8efe0ef jal ra,12ce <rt_free>
|
|
2c44: 2c3e lhu a5,26(s0)
|
|
2c46: 04042823 sw zero,80(s0)
|
|
2c4a: 10000613 li a2,256
|
|
2c4e: eff7f793 andi a5,a5,-257
|
|
2c52: ac3e sh a5,26(s0)
|
|
2c54: 407c lw a5,68(s0)
|
|
2c56: 45c5 li a1,17
|
|
2c58: 8522 mv a0,s0
|
|
2c5a: 43dc lw a5,4(a5)
|
|
2c5c: 9782 jalr a5
|
|
2c5e: 4501 li a0,0
|
|
2c60: f64fd06f j 3c4 <__riscv_restore_0>
|
|
2c64: 4501 li a0,0
|
|
2c66: 8082 ret
|
|
|
|
00002c68 <rt_hw_serial_register>:
|
|
2c68: f38fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2c6c: 00003737 lui a4,0x3
|
|
2c70: a1c70713 addi a4,a4,-1508 # 2a1c <rt_serial_init>
|
|
2c74: d518 sw a4,40(a0)
|
|
2c76: 00003737 lui a4,0x3
|
|
2c7a: a7e70713 addi a4,a4,-1410 # 2a7e <rt_serial_open>
|
|
2c7e: d558 sw a4,44(a0)
|
|
2c80: 00003737 lui a4,0x3
|
|
2c84: c2870713 addi a4,a4,-984 # 2c28 <rt_serial_close>
|
|
2c88: d918 sw a4,48(a0)
|
|
2c8a: 00003737 lui a4,0x3
|
|
2c8e: b8a70713 addi a4,a4,-1142 # 2b8a <rt_serial_read>
|
|
2c92: d958 sw a4,52(a0)
|
|
2c94: 00003737 lui a4,0x3
|
|
2c98: a3c70713 addi a4,a4,-1476 # 2a3c <rt_serial_write>
|
|
2c9c: dd18 sw a4,56(a0)
|
|
2c9e: 00003737 lui a4,0x3
|
|
2ca2: b1c70713 addi a4,a4,-1252 # 2b1c <rt_serial_control>
|
|
2ca6: 0642 slli a2,a2,0x10
|
|
2ca8: dd58 sw a4,60(a0)
|
|
2caa: c134 sw a3,64(a0)
|
|
2cac: 8241 srli a2,a2,0x10
|
|
2cae: 00052a23 sw zero,20(a0)
|
|
2cb2: 02052023 sw zero,32(a0)
|
|
2cb6: 02052223 sw zero,36(a0)
|
|
2cba: 8e7fd0ef jal ra,5a0 <rt_device_register>
|
|
2cbe: f06fd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00002cc2 <rt_hw_serial_isr>:
|
|
2cc2: 0ff5f593 andi a1,a1,255
|
|
2cc6: 4785 li a5,1
|
|
2cc8: 0af59163 bne a1,a5,2d6a <rt_hw_serial_isr+0xa8>
|
|
2ccc: ebafd2ef jal t0,386 <__riscv_save_4>
|
|
2cd0: 4920 lw s0,80(a0)
|
|
2cd2: 1141 addi sp,sp,-16
|
|
2cd4: 84aa mv s1,a0
|
|
2cd6: 597d li s2,-1
|
|
2cd8: 4985 li s3,1
|
|
2cda: 40fc lw a5,68(s1)
|
|
2cdc: 8526 mv a0,s1
|
|
2cde: 47dc lw a5,12(a5)
|
|
2ce0: 9782 jalr a5
|
|
2ce2: 8a2a mv s4,a0
|
|
2ce4: 05250763 beq a0,s2,2d32 <rt_hw_serial_isr+0x70>
|
|
2ce8: e1dfe0ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
2cec: 205a lhu a4,4(s0)
|
|
2cee: 401c lw a5,0(s0)
|
|
2cf0: 97ba add a5,a5,a4
|
|
2cf2: 01478023 sb s4,0(a5)
|
|
2cf6: 205e lhu a5,4(s0)
|
|
2cf8: 44f8 lw a4,76(s1)
|
|
2cfa: 0785 addi a5,a5,1
|
|
2cfc: 07c2 slli a5,a5,0x10
|
|
2cfe: 8329 srli a4,a4,0xa
|
|
2d00: 83c1 srli a5,a5,0x10
|
|
2d02: 0742 slli a4,a4,0x10
|
|
2d04: a05e sh a5,4(s0)
|
|
2d06: 8341 srli a4,a4,0x10
|
|
2d08: 00e7e463 bltu a5,a4,2d10 <rt_hw_serial_isr+0x4e>
|
|
2d0c: 00041223 sh zero,4(s0)
|
|
2d10: 2076 lhu a3,6(s0)
|
|
2d12: 205e lhu a5,4(s0)
|
|
2d14: 00d79c63 bne a5,a3,2d2c <rt_hw_serial_isr+0x6a>
|
|
2d18: 0785 addi a5,a5,1
|
|
2d1a: 07c2 slli a5,a5,0x10
|
|
2d1c: 83c1 srli a5,a5,0x10
|
|
2d1e: a07e sh a5,6(s0)
|
|
2d20: 01342423 sw s3,8(s0)
|
|
2d24: 00e7e463 bltu a5,a4,2d2c <rt_hw_serial_isr+0x6a>
|
|
2d28: 00041323 sh zero,6(s0)
|
|
2d2c: de5fe0ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
2d30: b76d j 2cda <rt_hw_serial_isr+0x18>
|
|
2d32: 509c lw a5,32(s1)
|
|
2d34: c385 beqz a5,2d54 <rt_hw_serial_isr+0x92>
|
|
2d36: dcffe0ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
2d3a: 205a lhu a4,4(s0)
|
|
2d3c: 206e lhu a1,6(s0)
|
|
2d3e: 00b76e63 bltu a4,a1,2d5a <rt_hw_serial_isr+0x98>
|
|
2d42: 40b705b3 sub a1,a4,a1
|
|
2d46: c62e sw a1,12(sp)
|
|
2d48: dc9fe0ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
2d4c: 509c lw a5,32(s1)
|
|
2d4e: 45b2 lw a1,12(sp)
|
|
2d50: 8526 mv a0,s1
|
|
2d52: 9782 jalr a5
|
|
2d54: 0141 addi sp,sp,16
|
|
2d56: e64fd06f j 3ba <__riscv_restore_4>
|
|
2d5a: 44fc lw a5,76(s1)
|
|
2d5c: 8d99 sub a1,a1,a4
|
|
2d5e: 83a9 srli a5,a5,0xa
|
|
2d60: 07c2 slli a5,a5,0x10
|
|
2d62: 83c1 srli a5,a5,0x10
|
|
2d64: 40b785b3 sub a1,a5,a1
|
|
2d68: bff9 j 2d46 <rt_hw_serial_isr+0x84>
|
|
2d6a: 8082 ret
|
|
|
|
00002d6c <_pin_control>:
|
|
2d6c: ce01 beqz a2,2d84 <_pin_control+0x18>
|
|
2d6e: e32fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2d72: 4178 lw a4,68(a0)
|
|
2d74: 87b2 mv a5,a2
|
|
2d76: 238e lhu a1,0(a5)
|
|
2d78: 4318 lw a4,0(a4)
|
|
2d7a: 2232 lhu a2,2(a2)
|
|
2d7c: 9702 jalr a4
|
|
2d7e: 4501 li a0,0
|
|
2d80: e44fd06f j 3c4 <__riscv_restore_0>
|
|
2d84: 557d li a0,-1
|
|
2d86: 8082 ret
|
|
|
|
00002d88 <rt_pin_mode>:
|
|
2d88: e18fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2d8c: ce418713 addi a4,gp,-796 # 20000644 <_hw_pin>
|
|
2d90: 4378 lw a4,68(a4)
|
|
2d92: 862e mv a2,a1
|
|
2d94: 85aa mv a1,a0
|
|
2d96: 4318 lw a4,0(a4)
|
|
2d98: ce418513 addi a0,gp,-796 # 20000644 <_hw_pin>
|
|
2d9c: 9702 jalr a4
|
|
2d9e: e26fd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00002da2 <rt_pin_write>:
|
|
2da2: dfefd2ef jal t0,3a0 <__riscv_save_0>
|
|
2da6: ce418713 addi a4,gp,-796 # 20000644 <_hw_pin>
|
|
2daa: 4378 lw a4,68(a4)
|
|
2dac: 862e mv a2,a1
|
|
2dae: 85aa mv a1,a0
|
|
2db0: 4358 lw a4,4(a4)
|
|
2db2: ce418513 addi a0,gp,-796 # 20000644 <_hw_pin>
|
|
2db6: 9702 jalr a4
|
|
2db8: e0cfd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00002dbc <rt_pin_read>:
|
|
2dbc: de4fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2dc0: ce418713 addi a4,gp,-796 # 20000644 <_hw_pin>
|
|
2dc4: 4378 lw a4,68(a4)
|
|
2dc6: 85aa mv a1,a0
|
|
2dc8: ce418513 addi a0,gp,-796 # 20000644 <_hw_pin>
|
|
2dcc: 4718 lw a4,8(a4)
|
|
2dce: 9702 jalr a4
|
|
2dd0: df4fd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00002dd4 <_pin_read>:
|
|
2dd4: c605 beqz a2,2dfc <_pin_read+0x28>
|
|
2dd6: 4711 li a4,4
|
|
2dd8: 02e69263 bne a3,a4,2dfc <_pin_read+0x28>
|
|
2ddc: dc4fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2de0: 417c lw a5,68(a0)
|
|
2de2: 220e lhu a1,0(a2)
|
|
2de4: 1141 addi sp,sp,-16
|
|
2de6: 479c lw a5,8(a5)
|
|
2de8: c636 sw a3,12(sp)
|
|
2dea: c432 sw a2,8(sp)
|
|
2dec: 9782 jalr a5
|
|
2dee: 4622 lw a2,8(sp)
|
|
2df0: 46b2 lw a3,12(sp)
|
|
2df2: a22a sh a0,2(a2)
|
|
2df4: 8536 mv a0,a3
|
|
2df6: 0141 addi sp,sp,16
|
|
2df8: dccfd06f j 3c4 <__riscv_restore_0>
|
|
2dfc: 4681 li a3,0
|
|
2dfe: 8536 mv a0,a3
|
|
2e00: 8082 ret
|
|
|
|
00002e02 <_pin_write>:
|
|
2e02: c21d beqz a2,2e28 <_pin_write+0x26>
|
|
2e04: 87b2 mv a5,a2
|
|
2e06: 4611 li a2,4
|
|
2e08: 02c69063 bne a3,a2,2e28 <_pin_write+0x26>
|
|
2e0c: d94fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2e10: 4178 lw a4,68(a0)
|
|
2e12: 23b2 lhu a2,2(a5)
|
|
2e14: 238e lhu a1,0(a5)
|
|
2e16: 4358 lw a4,4(a4)
|
|
2e18: 1141 addi sp,sp,-16
|
|
2e1a: c636 sw a3,12(sp)
|
|
2e1c: 9702 jalr a4
|
|
2e1e: 46b2 lw a3,12(sp)
|
|
2e20: 0141 addi sp,sp,16
|
|
2e22: 8536 mv a0,a3
|
|
2e24: da0fd06f j 3c4 <__riscv_restore_0>
|
|
2e28: 4681 li a3,0
|
|
2e2a: 8536 mv a0,a3
|
|
2e2c: 8082 ret
|
|
|
|
00002e2e <rt_device_pin_register>:
|
|
2e2e: d72fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2e32: ce418793 addi a5,gp,-796 # 20000644 <_hw_pin>
|
|
2e36: 4749 li a4,18
|
|
2e38: cbd8 sw a4,20(a5)
|
|
2e3a: 00003737 lui a4,0x3
|
|
2e3e: dd470713 addi a4,a4,-556 # 2dd4 <_pin_read>
|
|
2e42: dbd8 sw a4,52(a5)
|
|
2e44: 00003737 lui a4,0x3
|
|
2e48: e0270713 addi a4,a4,-510 # 2e02 <_pin_write>
|
|
2e4c: df98 sw a4,56(a5)
|
|
2e4e: 00003737 lui a4,0x3
|
|
2e52: d6c70713 addi a4,a4,-660 # 2d6c <_pin_control>
|
|
2e56: c3ec sw a1,68(a5)
|
|
2e58: c3b0 sw a2,64(a5)
|
|
2e5a: 85aa mv a1,a0
|
|
2e5c: 460d li a2,3
|
|
2e5e: ce418513 addi a0,gp,-796 # 20000644 <_hw_pin>
|
|
2e62: 0207a023 sw zero,32(a5)
|
|
2e66: 0207a223 sw zero,36(a5)
|
|
2e6a: 0207a423 sw zero,40(a5)
|
|
2e6e: 0207a623 sw zero,44(a5)
|
|
2e72: 0207a823 sw zero,48(a5)
|
|
2e76: dfd8 sw a4,60(a5)
|
|
2e78: f28fd0ef jal ra,5a0 <rt_device_register>
|
|
2e7c: 4501 li a0,0
|
|
2e7e: d46fd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00002e82 <rt_heap_begin_get>:
|
|
2e82: 20000537 lui a0,0x20000
|
|
2e86: 68c50513 addi a0,a0,1676 # 2000068c <rt_heap>
|
|
2e8a: 8082 ret
|
|
|
|
00002e8c <rt_heap_end_get>:
|
|
2e8c: 20001537 lui a0,0x20001
|
|
2e90: 68c50513 addi a0,a0,1676 # 2000168c <serial1>
|
|
2e94: 8082 ret
|
|
|
|
00002e96 <rt_hw_board_init>:
|
|
2e96: d0afd2ef jal t0,3a0 <__riscv_save_0>
|
|
2e9a: 200007b7 lui a5,0x20000
|
|
2e9e: 1607a703 lw a4,352(a5) # 20000160 <SystemCoreClock>
|
|
2ea2: 3e800793 li a5,1000
|
|
2ea6: 56c1 li a3,-16
|
|
2ea8: 02f75733 divu a4,a4,a5
|
|
2eac: e000e7b7 lui a5,0xe000e
|
|
2eb0: 40d78623 sb a3,1036(a5) # e000e40c <_eusrstack+0xbfffe40c>
|
|
2eb4: 40d78723 sb a3,1038(a5)
|
|
2eb8: 6685 lui a3,0x1
|
|
2eba: 10d7a023 sw a3,256(a5)
|
|
2ebe: 6691 lui a3,0x4
|
|
2ec0: 10d7a023 sw a3,256(a5)
|
|
2ec4: e000f7b7 lui a5,0xe000f
|
|
2ec8: 0007a023 sw zero,0(a5) # e000f000 <_eusrstack+0xbffff000>
|
|
2ecc: 0007a223 sw zero,4(a5)
|
|
2ed0: 4601 li a2,0
|
|
2ed2: c790 sw a2,8(a5)
|
|
2ed4: 4681 li a3,0
|
|
2ed6: c7d4 sw a3,12(a5)
|
|
2ed8: 4681 li a3,0
|
|
2eda: fff70613 addi a2,a4,-1
|
|
2ede: cb90 sw a2,16(a5)
|
|
2ee0: cbd4 sw a3,20(a5)
|
|
2ee2: 473d li a4,15
|
|
2ee4: c398 sw a4,0(a5)
|
|
2ee6: dd0fd0ef jal ra,4b6 <rt_components_board_init>
|
|
2eea: f99ff0ef jal ra,2e82 <rt_heap_begin_get>
|
|
2eee: 842a mv s0,a0
|
|
2ef0: f9dff0ef jal ra,2e8c <rt_heap_end_get>
|
|
2ef4: 85aa mv a1,a0
|
|
2ef6: 8522 mv a0,s0
|
|
2ef8: a0afe0ef jal ra,1102 <rt_system_heap_init>
|
|
2efc: 00005537 lui a0,0x5
|
|
2f00: dc450513 addi a0,a0,-572 # 4dc4 <__fsym_pinMode_name+0x8>
|
|
2f04: 850fe0ef jal ra,f54 <rt_console_set_device>
|
|
2f08: cbcfd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00002f0c <SysTick_Handler>:
|
|
2f0c: 34011173 csrrw sp,mscratch,sp
|
|
2f10: 9bdfd0ef jal ra,8cc <rt_interrupt_enter>
|
|
2f14: e000f7b7 lui a5,0xe000f
|
|
2f18: 0007a223 sw zero,4(a5) # e000f004 <_eusrstack+0xbffff004>
|
|
2f1c: d62fd0ef jal ra,47e <rt_tick_increase>
|
|
2f20: 9d9fd0ef jal ra,8f8 <rt_interrupt_leave>
|
|
2f24: 34011173 csrrw sp,mscratch,sp
|
|
2f28: 30200073 mret
|
|
|
|
00002f2c <bit2bitno>:
|
|
2f2c: 4781 li a5,0
|
|
2f2e: 4685 li a3,1
|
|
2f30: 02000713 li a4,32
|
|
2f34: 00f69633 sll a2,a3,a5
|
|
2f38: 00a60663 beq a2,a0,2f44 <bit2bitno+0x18>
|
|
2f3c: 0785 addi a5,a5,1
|
|
2f3e: fee79be3 bne a5,a4,2f34 <bit2bitno+0x8>
|
|
2f42: 57fd li a5,-1
|
|
2f44: 853e mv a0,a5
|
|
2f46: 8082 ret
|
|
|
|
00002f48 <GPIOD_CLK_ENABLE>:
|
|
2f48: c58fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2f4c: 4585 li a1,1
|
|
2f4e: 02000513 li a0,32
|
|
2f52: 623000ef jal ra,3d74 <RCC_APB2PeriphClockCmd>
|
|
2f56: c6efd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00002f5a <GPIOB_CLK_ENABLE>:
|
|
2f5a: c46fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2f5e: 4585 li a1,1
|
|
2f60: 4521 li a0,8
|
|
2f62: 613000ef jal ra,3d74 <RCC_APB2PeriphClockCmd>
|
|
2f66: c5efd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00002f6a <GPIOA_CLK_ENABLE>:
|
|
2f6a: c36fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2f6e: 4585 li a1,1
|
|
2f70: 4511 li a0,4
|
|
2f72: 603000ef jal ra,3d74 <RCC_APB2PeriphClockCmd>
|
|
2f76: c4efd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00002f7a <GPIOC_CLK_ENABLE>:
|
|
2f7a: c26fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2f7e: 4585 li a1,1
|
|
2f80: 4541 li a0,16
|
|
2f82: 5f3000ef jal ra,3d74 <RCC_APB2PeriphClockCmd>
|
|
2f86: c3efd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00002f8a <GPIOE_CLK_ENABLE>:
|
|
2f8a: c16fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2f8e: 4585 li a1,1
|
|
2f90: 04000513 li a0,64
|
|
2f94: 5e1000ef jal ra,3d74 <RCC_APB2PeriphClockCmd>
|
|
2f98: c2cfd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00002f9c <rt_hw_pin_init>:
|
|
2f9c: c04fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2fa0: 6595 lui a1,0x5
|
|
2fa2: 00005537 lui a0,0x5
|
|
2fa6: 4601 li a2,0
|
|
2fa8: dcc58593 addi a1,a1,-564 # 4dcc <_ch32_pin_ops>
|
|
2fac: 4b450513 addi a0,a0,1204 # 54b4 <pins+0x650>
|
|
2fb0: e7fff0ef jal ra,2e2e <rt_device_pin_register>
|
|
2fb4: c10fd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00002fb8 <get_pin>:
|
|
2fb8: 06400793 li a5,100
|
|
2fbc: 00a7ec63 bltu a5,a0,2fd4 <get_pin+0x1c>
|
|
2fc0: 00451793 slli a5,a0,0x4
|
|
2fc4: 6515 lui a0,0x5
|
|
2fc6: e6450513 addi a0,a0,-412 # 4e64 <pins>
|
|
2fca: 953e add a0,a0,a5
|
|
2fcc: 4118 lw a4,0(a0)
|
|
2fce: 57fd li a5,-1
|
|
2fd0: 00f71363 bne a4,a5,2fd6 <get_pin+0x1e>
|
|
2fd4: 4501 li a0,0
|
|
2fd6: 8082 ret
|
|
|
|
00002fd8 <ch32_pin_write>:
|
|
2fd8: bc8fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2fdc: 1141 addi sp,sp,-16
|
|
2fde: 0ff5f513 andi a0,a1,255
|
|
2fe2: c632 sw a2,12(sp)
|
|
2fe4: fd5ff0ef jal ra,2fb8 <get_pin>
|
|
2fe8: c511 beqz a0,2ff4 <ch32_pin_write+0x1c>
|
|
2fea: 254e lhu a1,12(a0)
|
|
2fec: 4632 lw a2,12(sp)
|
|
2fee: 4508 lw a0,8(a0)
|
|
2ff0: 3d9000ef jal ra,3bc8 <GPIO_WriteBit>
|
|
2ff4: 0141 addi sp,sp,16
|
|
2ff6: bcefd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00002ffa <ch32_pin_read>:
|
|
2ffa: ba6fd2ef jal t0,3a0 <__riscv_save_0>
|
|
2ffe: 0ff5f513 andi a0,a1,255
|
|
3002: fb7ff0ef jal ra,2fb8 <get_pin>
|
|
3006: 87aa mv a5,a0
|
|
3008: 4501 li a0,0
|
|
300a: c789 beqz a5,3014 <ch32_pin_read+0x1a>
|
|
300c: 27ce lhu a1,12(a5)
|
|
300e: 4788 lw a0,8(a5)
|
|
3010: 3af000ef jal ra,3bbe <GPIO_ReadInputDataBit>
|
|
3014: bb0fd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00003018 <ch32_pin_mode>:
|
|
3018: b88fd2ef jal t0,3a0 <__riscv_save_0>
|
|
301c: 1101 addi sp,sp,-32
|
|
301e: 0ff5f513 andi a0,a1,255
|
|
3022: 8432 mv s0,a2
|
|
3024: f95ff0ef jal ra,2fb8 <get_pin>
|
|
3028: c505 beqz a0,3050 <ch32_pin_mode+0x38>
|
|
302a: 415c lw a5,4(a0)
|
|
302c: c62a sw a0,12(sp)
|
|
302e: 9782 jalr a5
|
|
3030: 4532 lw a0,12(sp)
|
|
3032: 455c lw a5,12(a0)
|
|
3034: 82fc sh a5,20(sp)
|
|
3036: 47c1 li a5,16
|
|
3038: ce3e sw a5,28(sp)
|
|
303a: 478d li a5,3
|
|
303c: cc3e sw a5,24(sp)
|
|
303e: c409 beqz s0,3048 <ch32_pin_mode+0x30>
|
|
3040: 4715 li a4,5
|
|
3042: 00e41a63 bne s0,a4,3056 <ch32_pin_mode+0x3e>
|
|
3046: ce02 sw zero,28(sp)
|
|
3048: 4508 lw a0,8(a0)
|
|
304a: 084c addi a1,sp,20
|
|
304c: 2b3000ef jal ra,3afe <GPIO_Init>
|
|
3050: 6105 addi sp,sp,32
|
|
3052: b72fd06f j 3c4 <__riscv_restore_0>
|
|
3056: 4705 li a4,1
|
|
3058: 00e41563 bne s0,a4,3062 <ch32_pin_mode+0x4a>
|
|
305c: 4791 li a5,4
|
|
305e: ce3e sw a5,28(sp)
|
|
3060: b7e5 j 3048 <ch32_pin_mode+0x30>
|
|
3062: 00f41563 bne s0,a5,306c <ch32_pin_mode+0x54>
|
|
3066: 02800793 li a5,40
|
|
306a: bfd5 j 305e <ch32_pin_mode+0x46>
|
|
306c: 4789 li a5,2
|
|
306e: 00f41563 bne s0,a5,3078 <ch32_pin_mode+0x60>
|
|
3072: 04800793 li a5,72
|
|
3076: b7e5 j 305e <ch32_pin_mode+0x46>
|
|
3078: 4791 li a5,4
|
|
307a: 00f41463 bne s0,a5,3082 <ch32_pin_mode+0x6a>
|
|
307e: 47d1 li a5,20
|
|
3080: bff9 j 305e <ch32_pin_mode+0x46>
|
|
3082: 4799 li a5,6
|
|
3084: 00f41463 bne s0,a5,308c <ch32_pin_mode+0x74>
|
|
3088: 47f1 li a5,28
|
|
308a: bfd1 j 305e <ch32_pin_mode+0x46>
|
|
308c: 479d li a5,7
|
|
308e: faf41de3 bne s0,a5,3048 <ch32_pin_mode+0x30>
|
|
3092: 47e1 li a5,24
|
|
3094: b7e9 j 305e <ch32_pin_mode+0x46>
|
|
|
|
00003096 <ch32_pin_attach_irq>:
|
|
3096: af0fd2ef jal t0,386 <__riscv_save_4>
|
|
309a: 0ff5f513 andi a0,a1,255
|
|
309e: 84ae mv s1,a1
|
|
30a0: 89b2 mv s3,a2
|
|
30a2: 8a36 mv s4,a3
|
|
30a4: 893a mv s2,a4
|
|
30a6: f13ff0ef jal ra,2fb8 <get_pin>
|
|
30aa: 4799 li a5,6
|
|
30ac: cd31 beqz a0,3108 <ch32_pin_attach_irq+0x72>
|
|
30ae: 4548 lw a0,12(a0)
|
|
30b0: e7dff0ef jal ra,2f2c <bit2bitno>
|
|
30b4: 473d li a4,15
|
|
30b6: 842a mv s0,a0
|
|
30b8: 4799 li a5,6
|
|
30ba: 04a76763 bltu a4,a0,3108 <ch32_pin_attach_irq+0x72>
|
|
30be: a47fe0ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
30c2: 46b1 li a3,12
|
|
30c4: 02d406b3 mul a3,s0,a3
|
|
30c8: 200007b7 lui a5,0x20000
|
|
30cc: 08078713 addi a4,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
30d0: 862a mv a2,a0
|
|
30d2: 08078793 addi a5,a5,128
|
|
30d6: 9736 add a4,a4,a3
|
|
30d8: 00071683 lh a3,0(a4)
|
|
30dc: 00969f63 bne a3,s1,30fa <ch32_pin_attach_irq+0x64>
|
|
30e0: 434c lw a1,4(a4)
|
|
30e2: 01459c63 bne a1,s4,30fa <ch32_pin_attach_irq+0x64>
|
|
30e6: 232e lhu a1,2(a4)
|
|
30e8: 01359963 bne a1,s3,30fa <ch32_pin_attach_irq+0x64>
|
|
30ec: 4718 lw a4,8(a4)
|
|
30ee: 01271663 bne a4,s2,30fa <ch32_pin_attach_irq+0x64>
|
|
30f2: a1ffe0ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
30f6: 4781 li a5,0
|
|
30f8: a801 j 3108 <ch32_pin_attach_irq+0x72>
|
|
30fa: 577d li a4,-1
|
|
30fc: 00e68963 beq a3,a4,310e <ch32_pin_attach_irq+0x78>
|
|
3100: 8532 mv a0,a2
|
|
3102: a0ffe0ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
3106: 479d li a5,7
|
|
3108: 853e mv a0,a5
|
|
310a: ab0fd06f j 3ba <__riscv_restore_4>
|
|
310e: 4531 li a0,12
|
|
3110: 02a40533 mul a0,s0,a0
|
|
3114: 953e add a0,a0,a5
|
|
3116: a106 sh s1,0(a0)
|
|
3118: 01452223 sw s4,4(a0)
|
|
311c: 01351123 sh s3,2(a0)
|
|
3120: 01252423 sw s2,8(a0)
|
|
3124: 8532 mv a0,a2
|
|
3126: b7f1 j 30f2 <ch32_pin_attach_irq+0x5c>
|
|
|
|
00003128 <ch32_pin_dettach_irq>:
|
|
3128: a78fd2ef jal t0,3a0 <__riscv_save_0>
|
|
312c: 0ff5f513 andi a0,a1,255
|
|
3130: e89ff0ef jal ra,2fb8 <get_pin>
|
|
3134: 4719 li a4,6
|
|
3136: c91d beqz a0,316c <ch32_pin_dettach_irq+0x44>
|
|
3138: 4548 lw a0,12(a0)
|
|
313a: df3ff0ef jal ra,2f2c <bit2bitno>
|
|
313e: 47bd li a5,15
|
|
3140: 842a mv s0,a0
|
|
3142: 4719 li a4,6
|
|
3144: 02a7e463 bltu a5,a0,316c <ch32_pin_dettach_irq+0x44>
|
|
3148: 9bdfe0ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
314c: 47b1 li a5,12
|
|
314e: 02f40433 mul s0,s0,a5
|
|
3152: 200007b7 lui a5,0x20000
|
|
3156: 08078793 addi a5,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
315a: 577d li a4,-1
|
|
315c: 97a2 add a5,a5,s0
|
|
315e: 00079683 lh a3,0(a5)
|
|
3162: 00e69863 bne a3,a4,3172 <ch32_pin_dettach_irq+0x4a>
|
|
3166: 9abfe0ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
316a: 4701 li a4,0
|
|
316c: 853a mv a0,a4
|
|
316e: a56fd06f j 3c4 <__riscv_restore_0>
|
|
3172: 6741 lui a4,0x10
|
|
3174: 177d addi a4,a4,-1
|
|
3176: c398 sw a4,0(a5)
|
|
3178: 0007a223 sw zero,4(a5)
|
|
317c: 0007a423 sw zero,8(a5)
|
|
3180: b7dd j 3166 <ch32_pin_dettach_irq+0x3e>
|
|
|
|
00003182 <ch32_pin_irq_enable>:
|
|
3182: a04fd2ef jal t0,386 <__riscv_save_4>
|
|
3186: 1101 addi sp,sp,-32
|
|
3188: 0ff5f513 andi a0,a1,255
|
|
318c: 8a32 mv s4,a2
|
|
318e: e2bff0ef jal ra,2fb8 <get_pin>
|
|
3192: 4799 li a5,6
|
|
3194: c121 beqz a0,31d4 <ch32_pin_irq_enable+0x52>
|
|
3196: 4485 li s1,1
|
|
3198: 842a mv s0,a0
|
|
319a: 109a1563 bne s4,s1,32a4 <ch32_pin_irq_enable+0x122>
|
|
319e: 4548 lw a0,12(a0)
|
|
31a0: d8dff0ef jal ra,2f2c <bit2bitno>
|
|
31a4: 473d li a4,15
|
|
31a6: 84aa mv s1,a0
|
|
31a8: 4799 li a5,6
|
|
31aa: 02a76563 bltu a4,a0,31d4 <ch32_pin_irq_enable+0x52>
|
|
31ae: 957fe0ef jal ra,1b04 <rt_hw_interrupt_disable>
|
|
31b2: 4ab1 li s5,12
|
|
31b4: 035487b3 mul a5,s1,s5
|
|
31b8: 20000937 lui s2,0x20000
|
|
31bc: 08090913 addi s2,s2,128 # 20000080 <pin_irq_hdr_tab>
|
|
31c0: 89aa mv s3,a0
|
|
31c2: 993e add s2,s2,a5
|
|
31c4: 00091703 lh a4,0(s2)
|
|
31c8: 57fd li a5,-1
|
|
31ca: 00f71963 bne a4,a5,31dc <ch32_pin_irq_enable+0x5a>
|
|
31ce: 943fe0ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
31d2: 4799 li a5,6
|
|
31d4: 853e mv a0,a5
|
|
31d6: 6105 addi sp,sp,32
|
|
31d8: 9e2fd06f j 3ba <__riscv_restore_4>
|
|
31dc: 405c lw a5,4(s0)
|
|
31de: 9782 jalr a5
|
|
31e0: 4585 li a1,1
|
|
31e2: 4505 li a0,1
|
|
31e4: 391000ef jal ra,3d74 <RCC_APB2PeriphClockCmd>
|
|
31e8: 445c lw a5,12(s0)
|
|
31ea: 470d li a4,3
|
|
31ec: c43a sw a4,8(sp)
|
|
31ee: 827c sh a5,4(sp)
|
|
31f0: c83e sw a5,16(sp)
|
|
31f2: 00295783 lhu a5,2(s2)
|
|
31f6: ca02 sw zero,20(sp)
|
|
31f8: ce52 sw s4,28(sp)
|
|
31fa: 09478c63 beq a5,s4,3292 <ch32_pin_irq_enable+0x110>
|
|
31fe: c7c1 beqz a5,3286 <ch32_pin_irq_enable+0x104>
|
|
3200: 4709 li a4,2
|
|
3202: 08e78d63 beq a5,a4,329c <ch32_pin_irq_enable+0x11a>
|
|
3206: 4408 lw a0,8(s0)
|
|
3208: 004c addi a1,sp,4
|
|
320a: 0f5000ef jal ra,3afe <GPIO_Init>
|
|
320e: 4418 lw a4,8(s0)
|
|
3210: 400117b7 lui a5,0x40011
|
|
3214: c0078693 addi a3,a5,-1024 # 40010c00 <_eusrstack+0x20000c00>
|
|
3218: 4505 li a0,1
|
|
321a: 02d70263 beq a4,a3,323e <ch32_pin_irq_enable+0xbc>
|
|
321e: 4509 li a0,2
|
|
3220: 00f70f63 beq a4,a5,323e <ch32_pin_irq_enable+0xbc>
|
|
3224: 40078793 addi a5,a5,1024
|
|
3228: 450d li a0,3
|
|
322a: 00f70a63 beq a4,a5,323e <ch32_pin_irq_enable+0xbc>
|
|
322e: 400127b7 lui a5,0x40012
|
|
3232: 80078793 addi a5,a5,-2048 # 40011800 <_eusrstack+0x20001800>
|
|
3236: 4501 li a0,0
|
|
3238: 00f71363 bne a4,a5,323e <ch32_pin_irq_enable+0xbc>
|
|
323c: 4511 li a0,4
|
|
323e: 0ff4f593 andi a1,s1,255
|
|
3242: 191000ef jal ra,3bd2 <GPIO_EXTILineConfig>
|
|
3246: 0808 addi a0,sp,16
|
|
3248: 025000ef jal ra,3a6c <EXTI_Init>
|
|
324c: 6795 lui a5,0x5
|
|
324e: de478793 addi a5,a5,-540 # 4de4 <pin_irq_map>
|
|
3252: 048e slli s1,s1,0x3
|
|
3254: 94be add s1,s1,a5
|
|
3256: 40d0 lw a2,4(s1)
|
|
3258: e000e737 lui a4,0xe000e
|
|
325c: 05000693 li a3,80
|
|
3260: 00c707b3 add a5,a4,a2
|
|
3264: 40d78023 sb a3,1024(a5)
|
|
3268: 00565793 srli a5,a2,0x5
|
|
326c: 04078793 addi a5,a5,64
|
|
3270: 4685 li a3,1
|
|
3272: 078a slli a5,a5,0x2
|
|
3274: 00c696b3 sll a3,a3,a2
|
|
3278: 97ba add a5,a5,a4
|
|
327a: c394 sw a3,0(a5)
|
|
327c: 854e mv a0,s3
|
|
327e: 893fe0ef jal ra,1b10 <rt_hw_interrupt_enable>
|
|
3282: 4781 li a5,0
|
|
3284: bf81 j 31d4 <ch32_pin_irq_enable+0x52>
|
|
3286: 02800793 li a5,40
|
|
328a: c63e sw a5,12(sp)
|
|
328c: 47a1 li a5,8
|
|
328e: cc3e sw a5,24(sp)
|
|
3290: bf9d j 3206 <ch32_pin_irq_enable+0x84>
|
|
3292: 04800793 li a5,72
|
|
3296: c63e sw a5,12(sp)
|
|
3298: cc56 sw s5,24(sp)
|
|
329a: b7b5 j 3206 <ch32_pin_irq_enable+0x84>
|
|
329c: 4791 li a5,4
|
|
329e: c63e sw a5,12(sp)
|
|
32a0: 47c1 li a5,16
|
|
32a2: b7f5 j 328e <ch32_pin_irq_enable+0x10c>
|
|
32a4: 4799 li a5,6
|
|
32a6: f20a17e3 bnez s4,31d4 <ch32_pin_irq_enable+0x52>
|
|
32aa: 4548 lw a0,12(a0)
|
|
32ac: c81ff0ef jal ra,2f2c <bit2bitno>
|
|
32b0: 473d li a4,15
|
|
32b2: 4799 li a5,6
|
|
32b4: f2a760e3 bltu a4,a0,31d4 <ch32_pin_irq_enable+0x52>
|
|
32b8: 00351793 slli a5,a0,0x3
|
|
32bc: 6515 lui a0,0x5
|
|
32be: de450513 addi a0,a0,-540 # 4de4 <pin_irq_map>
|
|
32c2: 953e add a0,a0,a5
|
|
32c4: 4158 lw a4,4(a0)
|
|
32c6: 00575793 srli a5,a4,0x5
|
|
32ca: 06078793 addi a5,a5,96
|
|
32ce: 00e494b3 sll s1,s1,a4
|
|
32d2: 078a slli a5,a5,0x2
|
|
32d4: e000e737 lui a4,0xe000e
|
|
32d8: 97ba add a5,a5,a4
|
|
32da: c384 sw s1,0(a5)
|
|
32dc: b75d j 3282 <ch32_pin_irq_enable+0x100>
|
|
|
|
000032de <HAL_GPIO_EXTI_Callback>:
|
|
32de: 8c2fd2ef jal t0,3a0 <__riscv_save_0>
|
|
32e2: c4bff0ef jal ra,2f2c <bit2bitno>
|
|
32e6: 47b1 li a5,12
|
|
32e8: 02f50533 mul a0,a0,a5
|
|
32ec: 200007b7 lui a5,0x20000
|
|
32f0: 08078793 addi a5,a5,128 # 20000080 <pin_irq_hdr_tab>
|
|
32f4: 953e add a0,a0,a5
|
|
32f6: 415c lw a5,4(a0)
|
|
32f8: c399 beqz a5,32fe <HAL_GPIO_EXTI_Callback+0x20>
|
|
32fa: 4508 lw a0,8(a0)
|
|
32fc: 9782 jalr a5
|
|
32fe: 8c6fd06f j 3c4 <__riscv_restore_0>
|
|
|
|
00003302 <EXTI0_IRQHandler>:
|
|
3302: 34011173 csrrw sp,mscratch,sp
|
|
3306: dc6fd0ef jal ra,8cc <rt_interrupt_enter>
|
|
330a: 4505 li a0,1
|
|
330c: 7ca000ef jal ra,3ad6 <EXTI_GetITStatus>
|
|
3310: c519 beqz a0,331e <EXTI0_IRQHandler+0x1c>
|
|
3312: 4505 li a0,1
|
|
3314: fcbff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
3318: 4505 li a0,1
|
|
331a: 7da000ef jal ra,3af4 <EXTI_ClearITPendingBit>
|
|
331e: ddafd0ef jal ra,8f8 <rt_interrupt_leave>
|
|
3322: 34011173 csrrw sp,mscratch,sp
|
|
3326: 30200073 mret
|
|
|
|
0000332a <EXTI1_IRQHandler>:
|
|
332a: 34011173 csrrw sp,mscratch,sp
|
|
332e: d9efd0ef jal ra,8cc <rt_interrupt_enter>
|
|
3332: 4509 li a0,2
|
|
3334: 7a2000ef jal ra,3ad6 <EXTI_GetITStatus>
|
|
3338: c519 beqz a0,3346 <EXTI1_IRQHandler+0x1c>
|
|
333a: 4509 li a0,2
|
|
333c: fa3ff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
3340: 4509 li a0,2
|
|
3342: 7b2000ef jal ra,3af4 <EXTI_ClearITPendingBit>
|
|
3346: db2fd0ef jal ra,8f8 <rt_interrupt_leave>
|
|
334a: 34011173 csrrw sp,mscratch,sp
|
|
334e: 30200073 mret
|
|
|
|
00003352 <EXTI2_IRQHandler>:
|
|
3352: 34011173 csrrw sp,mscratch,sp
|
|
3356: d76fd0ef jal ra,8cc <rt_interrupt_enter>
|
|
335a: 4511 li a0,4
|
|
335c: 77a000ef jal ra,3ad6 <EXTI_GetITStatus>
|
|
3360: c519 beqz a0,336e <EXTI2_IRQHandler+0x1c>
|
|
3362: 4511 li a0,4
|
|
3364: f7bff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
3368: 4511 li a0,4
|
|
336a: 78a000ef jal ra,3af4 <EXTI_ClearITPendingBit>
|
|
336e: d8afd0ef jal ra,8f8 <rt_interrupt_leave>
|
|
3372: 34011173 csrrw sp,mscratch,sp
|
|
3376: 30200073 mret
|
|
|
|
0000337a <EXTI3_IRQHandler>:
|
|
337a: 34011173 csrrw sp,mscratch,sp
|
|
337e: d4efd0ef jal ra,8cc <rt_interrupt_enter>
|
|
3382: 4521 li a0,8
|
|
3384: 752000ef jal ra,3ad6 <EXTI_GetITStatus>
|
|
3388: c519 beqz a0,3396 <EXTI3_IRQHandler+0x1c>
|
|
338a: 4521 li a0,8
|
|
338c: f53ff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
3390: 4521 li a0,8
|
|
3392: 762000ef jal ra,3af4 <EXTI_ClearITPendingBit>
|
|
3396: d62fd0ef jal ra,8f8 <rt_interrupt_leave>
|
|
339a: 34011173 csrrw sp,mscratch,sp
|
|
339e: 30200073 mret
|
|
|
|
000033a2 <EXTI4_IRQHandler>:
|
|
33a2: 34011173 csrrw sp,mscratch,sp
|
|
33a6: d26fd0ef jal ra,8cc <rt_interrupt_enter>
|
|
33aa: 4541 li a0,16
|
|
33ac: 72a000ef jal ra,3ad6 <EXTI_GetITStatus>
|
|
33b0: c519 beqz a0,33be <EXTI4_IRQHandler+0x1c>
|
|
33b2: 4541 li a0,16
|
|
33b4: f2bff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
33b8: 4541 li a0,16
|
|
33ba: 73a000ef jal ra,3af4 <EXTI_ClearITPendingBit>
|
|
33be: d3afd0ef jal ra,8f8 <rt_interrupt_leave>
|
|
33c2: 34011173 csrrw sp,mscratch,sp
|
|
33c6: 30200073 mret
|
|
|
|
000033ca <EXTI9_5_IRQHandler>:
|
|
33ca: 34011173 csrrw sp,mscratch,sp
|
|
33ce: cfefd0ef jal ra,8cc <rt_interrupt_enter>
|
|
33d2: 02000513 li a0,32
|
|
33d6: 700000ef jal ra,3ad6 <EXTI_GetITStatus>
|
|
33da: cd1d beqz a0,3418 <EXTI9_5_IRQHandler+0x4e>
|
|
33dc: 02000513 li a0,32
|
|
33e0: effff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
33e4: 04000513 li a0,64
|
|
33e8: ef7ff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
33ec: 08000513 li a0,128
|
|
33f0: eefff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
33f4: 10000513 li a0,256
|
|
33f8: ee7ff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
33fc: 20000513 li a0,512
|
|
3400: edfff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
3404: 3e000513 li a0,992
|
|
3408: 6ec000ef jal ra,3af4 <EXTI_ClearITPendingBit>
|
|
340c: cecfd0ef jal ra,8f8 <rt_interrupt_leave>
|
|
3410: 34011173 csrrw sp,mscratch,sp
|
|
3414: 30200073 mret
|
|
3418: 04000513 li a0,64
|
|
341c: 6ba000ef jal ra,3ad6 <EXTI_GetITStatus>
|
|
3420: fd55 bnez a0,33dc <EXTI9_5_IRQHandler+0x12>
|
|
3422: 08000513 li a0,128
|
|
3426: 2d45 jal 3ad6 <EXTI_GetITStatus>
|
|
3428: f955 bnez a0,33dc <EXTI9_5_IRQHandler+0x12>
|
|
342a: 10000513 li a0,256
|
|
342e: 2565 jal 3ad6 <EXTI_GetITStatus>
|
|
3430: f555 bnez a0,33dc <EXTI9_5_IRQHandler+0x12>
|
|
3432: 20000513 li a0,512
|
|
3436: 2545 jal 3ad6 <EXTI_GetITStatus>
|
|
3438: f155 bnez a0,33dc <EXTI9_5_IRQHandler+0x12>
|
|
343a: bfc9 j 340c <EXTI9_5_IRQHandler+0x42>
|
|
|
|
0000343c <EXTI15_10_IRQHandler>:
|
|
343c: 34011173 csrrw sp,mscratch,sp
|
|
3440: c8cfd0ef jal ra,8cc <rt_interrupt_enter>
|
|
3444: 40000513 li a0,1024
|
|
3448: 2579 jal 3ad6 <EXTI_GetITStatus>
|
|
344a: c121 beqz a0,348a <EXTI15_10_IRQHandler+0x4e>
|
|
344c: 40000513 li a0,1024
|
|
3450: e8fff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
3454: 6505 lui a0,0x1
|
|
3456: 80050513 addi a0,a0,-2048 # 800 <__stack_size>
|
|
345a: e85ff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
345e: 6505 lui a0,0x1
|
|
3460: e7fff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
3464: 6509 lui a0,0x2
|
|
3466: e79ff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
346a: 6511 lui a0,0x4
|
|
346c: e73ff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
3470: 6521 lui a0,0x8
|
|
3472: e6dff0ef jal ra,32de <HAL_GPIO_EXTI_Callback>
|
|
3476: 6541 lui a0,0x10
|
|
3478: c0050513 addi a0,a0,-1024 # fc00 <__rt_init_end+0xa568>
|
|
347c: 2da5 jal 3af4 <EXTI_ClearITPendingBit>
|
|
347e: c7afd0ef jal ra,8f8 <rt_interrupt_leave>
|
|
3482: 34011173 csrrw sp,mscratch,sp
|
|
3486: 30200073 mret
|
|
348a: 6505 lui a0,0x1
|
|
348c: 80050513 addi a0,a0,-2048 # 800 <__stack_size>
|
|
3490: 2599 jal 3ad6 <EXTI_GetITStatus>
|
|
3492: fd4d bnez a0,344c <EXTI15_10_IRQHandler+0x10>
|
|
3494: 6505 lui a0,0x1
|
|
3496: 2581 jal 3ad6 <EXTI_GetITStatus>
|
|
3498: f955 bnez a0,344c <EXTI15_10_IRQHandler+0x10>
|
|
349a: 6509 lui a0,0x2
|
|
349c: 2d2d jal 3ad6 <EXTI_GetITStatus>
|
|
349e: f55d bnez a0,344c <EXTI15_10_IRQHandler+0x10>
|
|
34a0: 6511 lui a0,0x4
|
|
34a2: 2d15 jal 3ad6 <EXTI_GetITStatus>
|
|
34a4: f545 bnez a0,344c <EXTI15_10_IRQHandler+0x10>
|
|
34a6: 6521 lui a0,0x8
|
|
34a8: 253d jal 3ad6 <EXTI_GetITStatus>
|
|
34aa: f14d bnez a0,344c <EXTI15_10_IRQHandler+0x10>
|
|
34ac: bfc9 j 347e <EXTI15_10_IRQHandler+0x42>
|
|
|
|
000034ae <ch32dma_transmit>:
|
|
34ae: 4501 li a0,0
|
|
34b0: 8082 ret
|
|
|
|
000034b2 <ch32_configure>:
|
|
34b2: eeffc2ef jal t0,3a0 <__riscv_save_0>
|
|
34b6: 419c lw a5,0(a1)
|
|
34b8: 4120 lw s0,64(a0)
|
|
34ba: 46a1 li a3,8
|
|
34bc: 1141 addi sp,sp,-16
|
|
34be: c01c sw a5,0(s0)
|
|
34c0: 47b1 li a5,12
|
|
34c2: a43e sh a5,10(s0)
|
|
34c4: 41dc lw a5,4(a1)
|
|
34c6: 00041623 sh zero,12(s0)
|
|
34ca: 00f7f713 andi a4,a5,15
|
|
34ce: 02d70163 beq a4,a3,34f0 <ch32_configure+0x3e>
|
|
34d2: 46a5 li a3,9
|
|
34d4: 00d71e63 bne a4,a3,34f0 <ch32_configure+0x3e>
|
|
34d8: 6705 lui a4,0x1
|
|
34da: a05a sh a4,4(s0)
|
|
34dc: 0047d713 srli a4,a5,0x4
|
|
34e0: 8b0d andi a4,a4,3
|
|
34e2: c701 beqz a4,34ea <ch32_configure+0x38>
|
|
34e4: 4685 li a3,1
|
|
34e6: 00d70863 beq a4,a3,34f6 <ch32_configure+0x44>
|
|
34ea: 00041323 sh zero,6(s0)
|
|
34ee: a031 j 34fa <ch32_configure+0x48>
|
|
34f0: 00041223 sh zero,4(s0)
|
|
34f4: b7e5 j 34dc <ch32_configure+0x2a>
|
|
34f6: 6709 lui a4,0x2
|
|
34f8: a07a sh a4,6(s0)
|
|
34fa: 8399 srli a5,a5,0x6
|
|
34fc: 8b8d andi a5,a5,3
|
|
34fe: 4705 li a4,1
|
|
3500: 00e78963 beq a5,a4,3512 <ch32_configure+0x60>
|
|
3504: c781 beqz a5,350c <ch32_configure+0x5a>
|
|
3506: 4709 li a4,2
|
|
3508: 06e78763 beq a5,a4,3576 <ch32_configure+0xc4>
|
|
350c: 00041423 sh zero,8(s0)
|
|
3510: a021 j 3518 <ch32_configure+0x66>
|
|
3512: 60000793 li a5,1536
|
|
3516: a41e sh a5,8(s0)
|
|
3518: 4818 lw a4,16(s0)
|
|
351a: 400147b7 lui a5,0x40014
|
|
351e: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
|
|
3522: 04f71663 bne a4,a5,356e <ch32_configure+0xbc>
|
|
3526: 6511 lui a0,0x4
|
|
3528: 4585 li a1,1
|
|
352a: 0511 addi a0,a0,4
|
|
352c: 049000ef jal ra,3d74 <RCC_APB2PeriphClockCmd>
|
|
3530: 20000793 li a5,512
|
|
3534: 400114b7 lui s1,0x40011
|
|
3538: 827c sh a5,4(sp)
|
|
353a: 490d li s2,3
|
|
353c: 47e1 li a5,24
|
|
353e: 004c addi a1,sp,4
|
|
3540: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x20000800>
|
|
3544: c63e sw a5,12(sp)
|
|
3546: c44a sw s2,8(sp)
|
|
3548: 2b5d jal 3afe <GPIO_Init>
|
|
354a: 40000793 li a5,1024
|
|
354e: 827c sh a5,4(sp)
|
|
3550: 004c addi a1,sp,4
|
|
3552: 4791 li a5,4
|
|
3554: 80048513 addi a0,s1,-2048
|
|
3558: c63e sw a5,12(sp)
|
|
355a: c44a sw s2,8(sp)
|
|
355c: 234d jal 3afe <GPIO_Init>
|
|
355e: 4808 lw a0,16(s0)
|
|
3560: 85a2 mv a1,s0
|
|
3562: 031000ef jal ra,3d92 <USART_Init>
|
|
3566: 4808 lw a0,16(s0)
|
|
3568: 4585 li a1,1
|
|
356a: 0b9000ef jal ra,3e22 <USART_Cmd>
|
|
356e: 4501 li a0,0
|
|
3570: 0141 addi sp,sp,16
|
|
3572: e53fc06f j 3c4 <__riscv_restore_0>
|
|
3576: 40000793 li a5,1024
|
|
357a: bf71 j 3516 <ch32_configure+0x64>
|
|
|
|
0000357c <rt_hw_usart_init>:
|
|
357c: e0bfc2ef jal t0,386 <__riscv_save_4>
|
|
3580: 200014b7 lui s1,0x20001
|
|
3584: 6e448413 addi s0,s1,1764 # 200016e4 <uart1>
|
|
3588: 03500793 li a5,53
|
|
358c: c85c sw a5,20(s0)
|
|
358e: 20001937 lui s2,0x20001
|
|
3592: 400147b7 lui a5,0x40014
|
|
3596: 68c90613 addi a2,s2,1676 # 2000168c <serial1>
|
|
359a: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
|
|
359e: 4674 lw a3,76(a2)
|
|
35a0: c81c sw a5,16(s0)
|
|
35a2: 6795 lui a5,0x5
|
|
35a4: 4b878793 addi a5,a5,1208 # 54b8 <ch32_uart_ops>
|
|
35a8: c27c sw a5,68(a2)
|
|
35aa: c00007b7 lui a5,0xc0000
|
|
35ae: 8ff5 and a5,a5,a3
|
|
35b0: 66c1 lui a3,0x10
|
|
35b2: 06a1 addi a3,a3,8
|
|
35b4: 6771 lui a4,0x1c
|
|
35b6: 20070713 addi a4,a4,512 # 1c200 <__rt_init_end+0x16b68>
|
|
35ba: 8fd5 or a5,a5,a3
|
|
35bc: 6511 lui a0,0x4
|
|
35be: 1141 addi sp,sp,-16
|
|
35c0: c638 sw a4,72(a2)
|
|
35c2: c67c sw a5,76(a2)
|
|
35c4: 4585 li a1,1
|
|
35c6: 000c07b7 lui a5,0xc0
|
|
35ca: 0511 addi a0,a0,4
|
|
35cc: c018 sw a4,0(s0)
|
|
35ce: c41c sw a5,8(s0)
|
|
35d0: 00042223 sw zero,4(s0)
|
|
35d4: 00041623 sh zero,12(s0)
|
|
35d8: 79c000ef jal ra,3d74 <RCC_APB2PeriphClockCmd>
|
|
35dc: 400119b7 lui s3,0x40011
|
|
35e0: 20000793 li a5,512
|
|
35e4: 827c sh a5,4(sp)
|
|
35e6: 4a0d li s4,3
|
|
35e8: 47e1 li a5,24
|
|
35ea: 004c addi a1,sp,4
|
|
35ec: 80098513 addi a0,s3,-2048 # 40010800 <_eusrstack+0x20000800>
|
|
35f0: c452 sw s4,8(sp)
|
|
35f2: c63e sw a5,12(sp)
|
|
35f4: 2329 jal 3afe <GPIO_Init>
|
|
35f6: 40000793 li a5,1024
|
|
35fa: 827c sh a5,4(sp)
|
|
35fc: 004c addi a1,sp,4
|
|
35fe: 4791 li a5,4
|
|
3600: 80098513 addi a0,s3,-2048
|
|
3604: c63e sw a5,12(sp)
|
|
3606: c452 sw s4,8(sp)
|
|
3608: 29dd jal 3afe <GPIO_Init>
|
|
360a: 4808 lw a0,16(s0)
|
|
360c: 6e448593 addi a1,s1,1764
|
|
3610: 782000ef jal ra,3d92 <USART_Init>
|
|
3614: 4808 lw a0,16(s0)
|
|
3616: 4585 li a1,1
|
|
3618: 00b000ef jal ra,3e22 <USART_Cmd>
|
|
361c: 000055b7 lui a1,0x5
|
|
3620: 6e448693 addi a3,s1,1764
|
|
3624: 10300613 li a2,259
|
|
3628: dc458593 addi a1,a1,-572 # 4dc4 <__fsym_pinMode_name+0x8>
|
|
362c: 68c90513 addi a0,s2,1676
|
|
3630: e38ff0ef jal ra,2c68 <rt_hw_serial_register>
|
|
3634: 4501 li a0,0
|
|
3636: 0141 addi sp,sp,16
|
|
3638: d83fc06f j 3ba <__riscv_restore_4>
|
|
|
|
0000363c <ch32_getc>:
|
|
363c: d65fc2ef jal t0,3a0 <__riscv_save_0>
|
|
3640: 4120 lw s0,64(a0)
|
|
3642: 02000593 li a1,32
|
|
3646: 4808 lw a0,16(s0)
|
|
3648: 027000ef jal ra,3e6e <USART_GetFlagStatus>
|
|
364c: c519 beqz a0,365a <ch32_getc+0x1e>
|
|
364e: 481c lw a5,16(s0)
|
|
3650: 23ca lhu a0,4(a5)
|
|
3652: 0ff57513 andi a0,a0,255
|
|
3656: d6ffc06f j 3c4 <__riscv_restore_0>
|
|
365a: 557d li a0,-1
|
|
365c: bfed j 3656 <ch32_getc+0x1a>
|
|
|
|
0000365e <ch32_putc>:
|
|
365e: d43fc2ef jal t0,3a0 <__riscv_save_0>
|
|
3662: 4124 lw s1,64(a0)
|
|
3664: 842e mv s0,a1
|
|
3666: 4888 lw a0,16(s1)
|
|
3668: 04000593 li a1,64
|
|
366c: 003000ef jal ra,3e6e <USART_GetFlagStatus>
|
|
3670: d97d beqz a0,3666 <ch32_putc+0x8>
|
|
3672: 489c lw a5,16(s1)
|
|
3674: 0442 slli s0,s0,0x10
|
|
3676: 8041 srli s0,s0,0x10
|
|
3678: a3c2 sh s0,4(a5)
|
|
367a: 4505 li a0,1
|
|
367c: d49fc06f j 3c4 <__riscv_restore_0>
|
|
|
|
00003680 <ch32_control>:
|
|
3680: d21fc2ef jal t0,3a0 <__riscv_save_0>
|
|
3684: 47c1 li a5,16
|
|
3686: 4138 lw a4,64(a0)
|
|
3688: 02f58a63 beq a1,a5,36bc <ch32_control+0x3c>
|
|
368c: 47c5 li a5,17
|
|
368e: 02f59463 bne a1,a5,36b6 <ch32_control+0x36>
|
|
3692: 4b54 lw a3,20(a4)
|
|
3694: 4605 li a2,1
|
|
3696: 0056d793 srli a5,a3,0x5
|
|
369a: 06078793 addi a5,a5,96 # c0060 <__rt_init_end+0xba9c8>
|
|
369e: 00d61633 sll a2,a2,a3
|
|
36a2: 078a slli a5,a5,0x2
|
|
36a4: e000e6b7 lui a3,0xe000e
|
|
36a8: 97b6 add a5,a5,a3
|
|
36aa: c390 sw a2,0(a5)
|
|
36ac: 4601 li a2,0
|
|
36ae: 4b08 lw a0,16(a4)
|
|
36b0: 52500593 li a1,1317
|
|
36b4: 2751 jal 3e38 <USART_ITConfig>
|
|
36b6: 4501 li a0,0
|
|
36b8: d0dfc06f j 3c4 <__riscv_restore_0>
|
|
36bc: 4b54 lw a3,20(a4)
|
|
36be: 4605 li a2,1
|
|
36c0: 0056d793 srli a5,a3,0x5
|
|
36c4: 04078793 addi a5,a5,64
|
|
36c8: 00d61633 sll a2,a2,a3
|
|
36cc: 078a slli a5,a5,0x2
|
|
36ce: e000e6b7 lui a3,0xe000e
|
|
36d2: 97b6 add a5,a5,a3
|
|
36d4: c390 sw a2,0(a5)
|
|
36d6: 4605 li a2,1
|
|
36d8: bfd9 j 36ae <ch32_control+0x2e>
|
|
|
|
000036da <USART1_IRQHandler>:
|
|
36da: 1141 addi sp,sp,-16
|
|
36dc: c622 sw s0,12(sp)
|
|
36de: c426 sw s1,8(sp)
|
|
36e0: 34011173 csrrw sp,mscratch,sp
|
|
36e4: 200014b7 lui s1,0x20001
|
|
36e8: 9e4fd0ef jal ra,8cc <rt_interrupt_enter>
|
|
36ec: 68c48793 addi a5,s1,1676 # 2000168c <serial1>
|
|
36f0: 43a0 lw s0,64(a5)
|
|
36f2: 52500593 li a1,1317
|
|
36f6: 4808 lw a0,16(s0)
|
|
36f8: 2741 jal 3e78 <USART_GetITStatus>
|
|
36fa: c919 beqz a0,3710 <USART1_IRQHandler+0x36>
|
|
36fc: 4585 li a1,1
|
|
36fe: 68c48513 addi a0,s1,1676
|
|
3702: dc0ff0ef jal ra,2cc2 <rt_hw_serial_isr>
|
|
3706: 4808 lw a0,16(s0)
|
|
3708: 52500593 li a1,1317
|
|
370c: 7a8000ef jal ra,3eb4 <USART_ClearITPendingBit>
|
|
3710: 9e8fd0ef jal ra,8f8 <rt_interrupt_leave>
|
|
3714: 34011173 csrrw sp,mscratch,sp
|
|
3718: 4432 lw s0,12(sp)
|
|
371a: 44a2 lw s1,8(sp)
|
|
371c: 0141 addi sp,sp,16
|
|
371e: 30200073 mret
|
|
|
|
00003722 <NMI_Handler>:
|
|
3722: 34011173 csrrw sp,mscratch,sp
|
|
3726: 9a6fd0ef jal ra,8cc <rt_interrupt_enter>
|
|
372a: 00005537 lui a0,0x5
|
|
372e: 4d850513 addi a0,a0,1240 # 54d8 <ch32_uart_ops+0x20>
|
|
3732: 853fd0ef jal ra,f84 <rt_kprintf>
|
|
3736: 9c2fd0ef jal ra,8f8 <rt_interrupt_leave>
|
|
373a: 34011173 csrrw sp,mscratch,sp
|
|
373e: 30200073 mret
|
|
|
|
00003742 <HardFault_Handler>:
|
|
3742: 34011173 csrrw sp,mscratch,sp
|
|
3746: 986fd0ef jal ra,8cc <rt_interrupt_enter>
|
|
374a: 00005537 lui a0,0x5
|
|
374e: 4cc50513 addi a0,a0,1228 # 54cc <ch32_uart_ops+0x14>
|
|
3752: 833fd0ef jal ra,f84 <rt_kprintf>
|
|
3756: 9a2fd0ef jal ra,8f8 <rt_interrupt_leave>
|
|
375a: 34011173 csrrw sp,mscratch,sp
|
|
375e: 30200073 mret
|
|
|
|
00003762 <main>:
|
|
3762: c3ffc2ef jal t0,3a0 <__riscv_save_0>
|
|
3766: 00005537 lui a0,0x5
|
|
376a: 4e850513 addi a0,a0,1256 # 54e8 <ch32_uart_ops+0x30>
|
|
376e: 817fd0ef jal ra,f84 <rt_kprintf>
|
|
3772: 223d jal 38a0 <SystemCoreClockUpdate>
|
|
3774: 200007b7 lui a5,0x20000
|
|
3778: 1607a583 lw a1,352(a5) # 20000160 <SystemCoreClock>
|
|
377c: 00005537 lui a0,0x5
|
|
3780: 4fc50513 addi a0,a0,1276 # 54fc <ch32_uart_ops+0x44>
|
|
3784: 801fd0ef jal ra,f84 <rt_kprintf>
|
|
3788: 2ce9 jal 3a62 <DBGMCU_GetCHIPID>
|
|
378a: 85aa mv a1,a0
|
|
378c: 00005537 lui a0,0x5
|
|
3790: 50c50513 addi a0,a0,1292 # 550c <ch32_uart_ops+0x54>
|
|
3794: ff0fd0ef jal ra,f84 <rt_kprintf>
|
|
3798: 00005537 lui a0,0x5
|
|
379c: 51c50513 addi a0,a0,1308 # 551c <ch32_uart_ops+0x64>
|
|
37a0: fe4fd0ef jal ra,f84 <rt_kprintf>
|
|
37a4: a001 j 37a4 <main+0x42>
|
|
|
|
000037a6 <SystemInit>:
|
|
37a6: 400217b7 lui a5,0x40021
|
|
37aa: 4398 lw a4,0(a5)
|
|
37ac: f0ff06b7 lui a3,0xf0ff0
|
|
37b0: 1141 addi sp,sp,-16
|
|
37b2: 00176713 ori a4,a4,1
|
|
37b6: c398 sw a4,0(a5)
|
|
37b8: 43d8 lw a4,4(a5)
|
|
37ba: 00020637 lui a2,0x20
|
|
37be: 8f75 and a4,a4,a3
|
|
37c0: c3d8 sw a4,4(a5)
|
|
37c2: 4398 lw a4,0(a5)
|
|
37c4: fef706b7 lui a3,0xfef70
|
|
37c8: 16fd addi a3,a3,-1
|
|
37ca: 8f75 and a4,a4,a3
|
|
37cc: c398 sw a4,0(a5)
|
|
37ce: 4398 lw a4,0(a5)
|
|
37d0: fffc06b7 lui a3,0xfffc0
|
|
37d4: 16fd addi a3,a3,-1
|
|
37d6: 8f75 and a4,a4,a3
|
|
37d8: c398 sw a4,0(a5)
|
|
37da: 43d8 lw a4,4(a5)
|
|
37dc: ff0106b7 lui a3,0xff010
|
|
37e0: 16fd addi a3,a3,-1
|
|
37e2: 8f75 and a4,a4,a3
|
|
37e4: c3d8 sw a4,4(a5)
|
|
37e6: 4398 lw a4,0(a5)
|
|
37e8: ec0006b7 lui a3,0xec000
|
|
37ec: 16fd addi a3,a3,-1
|
|
37ee: 8f75 and a4,a4,a3
|
|
37f0: c398 sw a4,0(a5)
|
|
37f2: 00ff0737 lui a4,0xff0
|
|
37f6: c798 sw a4,8(a5)
|
|
37f8: 0207a623 sw zero,44(a5) # 4002102c <_eusrstack+0x2001102c>
|
|
37fc: c402 sw zero,8(sp)
|
|
37fe: c602 sw zero,12(sp)
|
|
3800: 4398 lw a4,0(a5)
|
|
3802: 66c1 lui a3,0x10
|
|
3804: 8f55 or a4,a4,a3
|
|
3806: c398 sw a4,0(a5)
|
|
3808: 400216b7 lui a3,0x40021
|
|
380c: 6705 lui a4,0x1
|
|
380e: 429c lw a5,0(a3)
|
|
3810: 8ff1 and a5,a5,a2
|
|
3812: c63e sw a5,12(sp)
|
|
3814: 47a2 lw a5,8(sp)
|
|
3816: 0785 addi a5,a5,1
|
|
3818: c43e sw a5,8(sp)
|
|
381a: 47b2 lw a5,12(sp)
|
|
381c: e781 bnez a5,3824 <SystemInit+0x7e>
|
|
381e: 47a2 lw a5,8(sp)
|
|
3820: fee797e3 bne a5,a4,380e <SystemInit+0x68>
|
|
3824: 400217b7 lui a5,0x40021
|
|
3828: 439c lw a5,0(a5)
|
|
382a: 00e79713 slli a4,a5,0xe
|
|
382e: 06075763 bgez a4,389c <SystemInit+0xf6>
|
|
3832: 4785 li a5,1
|
|
3834: c63e sw a5,12(sp)
|
|
3836: 4732 lw a4,12(sp)
|
|
3838: 4785 li a5,1
|
|
383a: 04f71f63 bne a4,a5,3898 <SystemInit+0xf2>
|
|
383e: 400217b7 lui a5,0x40021
|
|
3842: 43d8 lw a4,4(a5)
|
|
3844: ffc106b7 lui a3,0xffc10
|
|
3848: 16fd addi a3,a3,-1
|
|
384a: c3d8 sw a4,4(a5)
|
|
384c: 43d8 lw a4,4(a5)
|
|
384e: c3d8 sw a4,4(a5)
|
|
3850: 43d8 lw a4,4(a5)
|
|
3852: 40076713 ori a4,a4,1024
|
|
3856: c3d8 sw a4,4(a5)
|
|
3858: 43d8 lw a4,4(a5)
|
|
385a: 8f75 and a4,a4,a3
|
|
385c: c3d8 sw a4,4(a5)
|
|
385e: 43d8 lw a4,4(a5)
|
|
3860: 002906b7 lui a3,0x290
|
|
3864: 8f55 or a4,a4,a3
|
|
3866: c3d8 sw a4,4(a5)
|
|
3868: 4398 lw a4,0(a5)
|
|
386a: 010006b7 lui a3,0x1000
|
|
386e: 8f55 or a4,a4,a3
|
|
3870: c398 sw a4,0(a5)
|
|
3872: 4398 lw a4,0(a5)
|
|
3874: 00671693 slli a3,a4,0x6
|
|
3878: fe06dde3 bgez a3,3872 <SystemInit+0xcc>
|
|
387c: 43d8 lw a4,4(a5)
|
|
387e: 400216b7 lui a3,0x40021
|
|
3882: 9b71 andi a4,a4,-4
|
|
3884: c3d8 sw a4,4(a5)
|
|
3886: 43d8 lw a4,4(a5)
|
|
3888: 00276713 ori a4,a4,2
|
|
388c: c3d8 sw a4,4(a5)
|
|
388e: 4721 li a4,8
|
|
3890: 42dc lw a5,4(a3)
|
|
3892: 8bb1 andi a5,a5,12
|
|
3894: fee79ee3 bne a5,a4,3890 <SystemInit+0xea>
|
|
3898: 0141 addi sp,sp,16
|
|
389a: 8082 ret
|
|
389c: c602 sw zero,12(sp)
|
|
389e: bf61 j 3836 <SystemInit+0x90>
|
|
|
|
000038a0 <SystemCoreClockUpdate>:
|
|
38a0: 400216b7 lui a3,0x40021
|
|
38a4: 42d8 lw a4,4(a3)
|
|
38a6: 200007b7 lui a5,0x20000
|
|
38aa: 4611 li a2,4
|
|
38ac: 8b31 andi a4,a4,12
|
|
38ae: 16078793 addi a5,a5,352 # 20000160 <SystemCoreClock>
|
|
38b2: 00c70563 beq a4,a2,38bc <SystemCoreClockUpdate+0x1c>
|
|
38b6: 4621 li a2,8
|
|
38b8: 02c70863 beq a4,a2,38e8 <SystemCoreClockUpdate+0x48>
|
|
38bc: 007a1737 lui a4,0x7a1
|
|
38c0: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79bb68>
|
|
38c4: c398 sw a4,0(a5)
|
|
38c6: 40021737 lui a4,0x40021
|
|
38ca: 4358 lw a4,4(a4)
|
|
38cc: 8311 srli a4,a4,0x4
|
|
38ce: 00f77693 andi a3,a4,15
|
|
38d2: 20000737 lui a4,0x20000
|
|
38d6: 14070713 addi a4,a4,320 # 20000140 <AHBPrescTable>
|
|
38da: 9736 add a4,a4,a3
|
|
38dc: 2314 lbu a3,0(a4)
|
|
38de: 4398 lw a4,0(a5)
|
|
38e0: 00d75733 srl a4,a4,a3
|
|
38e4: c398 sw a4,0(a5)
|
|
38e6: 8082 ret
|
|
38e8: 42d8 lw a4,4(a3)
|
|
38ea: 42d4 lw a3,4(a3)
|
|
38ec: 6641 lui a2,0x10
|
|
38ee: 8349 srli a4,a4,0x12
|
|
38f0: 8b3d andi a4,a4,15
|
|
38f2: 8ef1 and a3,a3,a2
|
|
38f4: 00270613 addi a2,a4,2
|
|
38f8: cf15 beqz a4,3934 <SystemCoreClockUpdate+0x94>
|
|
38fa: 473d li a4,15
|
|
38fc: 02e60f63 beq a2,a4,393a <SystemCoreClockUpdate+0x9a>
|
|
3900: 4741 li a4,16
|
|
3902: 02e60f63 beq a2,a4,3940 <SystemCoreClockUpdate+0xa0>
|
|
3906: 4745 li a4,17
|
|
3908: 4581 li a1,0
|
|
390a: 00e61363 bne a2,a4,3910 <SystemCoreClockUpdate+0x70>
|
|
390e: 4641 li a2,16
|
|
3910: e2a1 bnez a3,3950 <SystemCoreClockUpdate+0xb0>
|
|
3912: 40024737 lui a4,0x40024
|
|
3916: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x20013800>
|
|
391a: 8b41 andi a4,a4,16
|
|
391c: c70d beqz a4,3946 <SystemCoreClockUpdate+0xa6>
|
|
391e: 007a1737 lui a4,0x7a1
|
|
3922: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79bb68>
|
|
3926: 02c70633 mul a2,a4,a2
|
|
392a: c390 sw a2,0(a5)
|
|
392c: ddc9 beqz a1,38c6 <SystemCoreClockUpdate+0x26>
|
|
392e: 4398 lw a4,0(a5)
|
|
3930: 8305 srli a4,a4,0x1
|
|
3932: bf49 j 38c4 <SystemCoreClockUpdate+0x24>
|
|
3934: 4581 li a1,0
|
|
3936: 4649 li a2,18
|
|
3938: bfe1 j 3910 <SystemCoreClockUpdate+0x70>
|
|
393a: 4585 li a1,1
|
|
393c: 4635 li a2,13
|
|
393e: bfc9 j 3910 <SystemCoreClockUpdate+0x70>
|
|
3940: 4581 li a1,0
|
|
3942: 463d li a2,15
|
|
3944: b7f1 j 3910 <SystemCoreClockUpdate+0x70>
|
|
3946: 003d1737 lui a4,0x3d1
|
|
394a: 90070713 addi a4,a4,-1792 # 3d0900 <__rt_init_end+0x3cb268>
|
|
394e: bfe1 j 3926 <SystemCoreClockUpdate+0x86>
|
|
3950: 40021537 lui a0,0x40021
|
|
3954: 5558 lw a4,44(a0)
|
|
3956: 00f71693 slli a3,a4,0xf
|
|
395a: 5558 lw a4,44(a0)
|
|
395c: 0406df63 bgez a3,39ba <SystemCoreClockUpdate+0x11a>
|
|
3960: 8311 srli a4,a4,0x4
|
|
3962: 8b3d andi a4,a4,15
|
|
3964: 00170693 addi a3,a4,1
|
|
3968: 007a1737 lui a4,0x7a1
|
|
396c: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79bb68>
|
|
3970: 02d75733 divu a4,a4,a3
|
|
3974: c398 sw a4,0(a5)
|
|
3976: 5554 lw a3,44(a0)
|
|
3978: 82a1 srli a3,a3,0x8
|
|
397a: 8abd andi a3,a3,15
|
|
397c: e28d bnez a3,399e <SystemCoreClockUpdate+0xfe>
|
|
397e: 4695 li a3,5
|
|
3980: 02d70733 mul a4,a4,a3
|
|
3984: 8305 srli a4,a4,0x1
|
|
3986: c398 sw a4,0(a5)
|
|
3988: 40021737 lui a4,0x40021
|
|
398c: 5758 lw a4,44(a4)
|
|
398e: 4394 lw a3,0(a5)
|
|
3990: 8b3d andi a4,a4,15
|
|
3992: 0705 addi a4,a4,1
|
|
3994: 02e6d733 divu a4,a3,a4
|
|
3998: c398 sw a4,0(a5)
|
|
399a: 4398 lw a4,0(a5)
|
|
399c: b769 j 3926 <SystemCoreClockUpdate+0x86>
|
|
399e: 4505 li a0,1
|
|
39a0: 00a69463 bne a3,a0,39a8 <SystemCoreClockUpdate+0x108>
|
|
39a4: 46e5 li a3,25
|
|
39a6: bfe9 j 3980 <SystemCoreClockUpdate+0xe0>
|
|
39a8: 453d li a0,15
|
|
39aa: 00a69663 bne a3,a0,39b6 <SystemCoreClockUpdate+0x116>
|
|
39ae: 46d1 li a3,20
|
|
39b0: 02e68733 mul a4,a3,a4
|
|
39b4: bfc9 j 3986 <SystemCoreClockUpdate+0xe6>
|
|
39b6: 0689 addi a3,a3,2
|
|
39b8: bfe5 j 39b0 <SystemCoreClockUpdate+0x110>
|
|
39ba: 8b3d andi a4,a4,15
|
|
39bc: 00170693 addi a3,a4,1 # 40021001 <_eusrstack+0x20011001>
|
|
39c0: 007a1737 lui a4,0x7a1
|
|
39c4: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79bb68>
|
|
39c8: 02d75733 divu a4,a4,a3
|
|
39cc: b7f1 j 3998 <SystemCoreClockUpdate+0xf8>
|
|
|
|
000039ce <ADC1_2_IRQHandler>:
|
|
39ce: a001 j 39ce <ADC1_2_IRQHandler>
|
|
|
|
000039d0 <handle_reset>:
|
|
39d0: 34129073 csrw mepc,t0
|
|
39d4: 1fffd197 auipc gp,0x1fffd
|
|
39d8: f8c18193 addi gp,gp,-116 # 20000960 <__global_pointer$>
|
|
39dc: 2000c117 auipc sp,0x2000c
|
|
39e0: 62410113 addi sp,sp,1572 # 20010000 <_eusrstack>
|
|
39e4: 00002517 auipc a0,0x2
|
|
39e8: cb450513 addi a0,a0,-844 # 5698 <__rt_init_end>
|
|
39ec: 1fffc597 auipc a1,0x1fffc
|
|
39f0: 61458593 addi a1,a1,1556 # 20000000 <_data_vma>
|
|
39f4: 80818613 addi a2,gp,-2040 # 20000168 <_edata>
|
|
39f8: 00c5fa63 bgeu a1,a2,3a0c <handle_reset+0x3c>
|
|
39fc: 00052283 lw t0,0(a0)
|
|
3a00: 0055a023 sw t0,0(a1)
|
|
3a04: 0511 addi a0,a0,4
|
|
3a06: 0591 addi a1,a1,4
|
|
3a08: fec5eae3 bltu a1,a2,39fc <handle_reset+0x2c>
|
|
3a0c: 80818513 addi a0,gp,-2040 # 20000168 <_edata>
|
|
3a10: 1fffe597 auipc a1,0x1fffe
|
|
3a14: cec58593 addi a1,a1,-788 # 200016fc <_ebss>
|
|
3a18: 00b57763 bgeu a0,a1,3a26 <handle_reset+0x56>
|
|
3a1c: 00052023 sw zero,0(a0)
|
|
3a20: 0511 addi a0,a0,4
|
|
3a22: feb56de3 bltu a0,a1,3a1c <handle_reset+0x4c>
|
|
3a26: 42fd li t0,31
|
|
3a28: bc029073 csrw 0xbc0,t0
|
|
3a2c: 42fd li t0,31
|
|
3a2e: 80429073 csrw 0x804,t0
|
|
3a32: 000082b7 lui t0,0x8
|
|
3a36: 80028293 addi t0,t0,-2048 # 7800 <__rt_init_end+0x2168>
|
|
3a3a: 30029073 csrw mstatus,t0
|
|
3a3e: ffffc297 auipc t0,0xffffc
|
|
3a42: 5c628293 addi t0,t0,1478 # 4 <_einit>
|
|
3a46: 0032e293 ori t0,t0,3
|
|
3a4a: 30529073 csrw mtvec,t0
|
|
3a4e: d59ff0ef jal ra,37a6 <SystemInit>
|
|
3a52: ffffd297 auipc t0,0xffffd
|
|
3a56: afc28293 addi t0,t0,-1284 # 54e <entry>
|
|
3a5a: 34129073 csrw mepc,t0
|
|
3a5e: 30200073 mret
|
|
|
|
00003a62 <DBGMCU_GetCHIPID>:
|
|
3a62: 1ffff7b7 lui a5,0x1ffff
|
|
3a66: 7047a503 lw a0,1796(a5) # 1ffff704 <__rt_init_end+0x1fffa06c>
|
|
3a6a: 8082 ret
|
|
|
|
00003a6c <EXTI_Init>:
|
|
3a6c: 4158 lw a4,4(a0)
|
|
3a6e: 00052803 lw a6,0(a0)
|
|
3a72: 454c lw a1,12(a0)
|
|
3a74: 40010637 lui a2,0x40010
|
|
3a78: 40060793 addi a5,a2,1024 # 40010400 <_eusrstack+0x20000400>
|
|
3a7c: 973e add a4,a4,a5
|
|
3a7e: fff84693 not a3,a6
|
|
3a82: c5b1 beqz a1,3ace <EXTI_Init+0x62>
|
|
3a84: 40062583 lw a1,1024(a2)
|
|
3a88: 8df5 and a1,a1,a3
|
|
3a8a: 40b62023 sw a1,1024(a2)
|
|
3a8e: 43d0 lw a2,4(a5)
|
|
3a90: 8ef1 and a3,a3,a2
|
|
3a92: c3d4 sw a3,4(a5)
|
|
3a94: 4314 lw a3,0(a4)
|
|
3a96: 0106e6b3 or a3,a3,a6
|
|
3a9a: c314 sw a3,0(a4)
|
|
3a9c: 4118 lw a4,0(a0)
|
|
3a9e: 4790 lw a2,8(a5)
|
|
3aa0: fff74693 not a3,a4
|
|
3aa4: 8e75 and a2,a2,a3
|
|
3aa6: c790 sw a2,8(a5)
|
|
3aa8: 47d0 lw a2,12(a5)
|
|
3aaa: 8ef1 and a3,a3,a2
|
|
3aac: c7d4 sw a3,12(a5)
|
|
3aae: 4514 lw a3,8(a0)
|
|
3ab0: 4641 li a2,16
|
|
3ab2: 00c69963 bne a3,a2,3ac4 <EXTI_Init+0x58>
|
|
3ab6: 4794 lw a3,8(a5)
|
|
3ab8: 8ed9 or a3,a3,a4
|
|
3aba: c794 sw a3,8(a5)
|
|
3abc: 47d4 lw a3,12(a5)
|
|
3abe: 8f55 or a4,a4,a3
|
|
3ac0: c7d8 sw a4,12(a5)
|
|
3ac2: 8082 ret
|
|
3ac4: 97b6 add a5,a5,a3
|
|
3ac6: 4394 lw a3,0(a5)
|
|
3ac8: 8f55 or a4,a4,a3
|
|
3aca: c398 sw a4,0(a5)
|
|
3acc: 8082 ret
|
|
3ace: 431c lw a5,0(a4)
|
|
3ad0: 8ff5 and a5,a5,a3
|
|
3ad2: c31c sw a5,0(a4)
|
|
3ad4: 8082 ret
|
|
|
|
00003ad6 <EXTI_GetITStatus>:
|
|
3ad6: 400107b7 lui a5,0x40010
|
|
3ada: 40078713 addi a4,a5,1024 # 40010400 <_eusrstack+0x20000400>
|
|
3ade: 4007a783 lw a5,1024(a5)
|
|
3ae2: 4b58 lw a4,20(a4)
|
|
3ae4: 8f69 and a4,a4,a0
|
|
3ae6: c709 beqz a4,3af0 <EXTI_GetITStatus+0x1a>
|
|
3ae8: 8d7d and a0,a0,a5
|
|
3aea: 00a03533 snez a0,a0
|
|
3aee: 8082 ret
|
|
3af0: 4501 li a0,0
|
|
3af2: 8082 ret
|
|
|
|
00003af4 <EXTI_ClearITPendingBit>:
|
|
3af4: 400107b7 lui a5,0x40010
|
|
3af8: 40a7aa23 sw a0,1044(a5) # 40010414 <_eusrstack+0x20000414>
|
|
3afc: 8082 ret
|
|
|
|
00003afe <GPIO_Init>:
|
|
3afe: 459c lw a5,8(a1)
|
|
3b00: 0107f713 andi a4,a5,16
|
|
3b04: 00f7f813 andi a6,a5,15
|
|
3b08: c701 beqz a4,3b10 <GPIO_Init+0x12>
|
|
3b0a: 41d8 lw a4,4(a1)
|
|
3b0c: 00e86833 or a6,a6,a4
|
|
3b10: 218e lhu a1,0(a1)
|
|
3b12: 0ff5f713 andi a4,a1,255
|
|
3b16: c339 beqz a4,3b5c <GPIO_Init+0x5e>
|
|
3b18: 4118 lw a4,0(a0)
|
|
3b1a: 4681 li a3,0
|
|
3b1c: 4e85 li t4,1
|
|
3b1e: 4f3d li t5,15
|
|
3b20: 02800f93 li t6,40
|
|
3b24: 04800293 li t0,72
|
|
3b28: 4e21 li t3,8
|
|
3b2a: 00de9633 sll a2,t4,a3
|
|
3b2e: 00c5f8b3 and a7,a1,a2
|
|
3b32: 03161163 bne a2,a7,3b54 <GPIO_Init+0x56>
|
|
3b36: 00269893 slli a7,a3,0x2
|
|
3b3a: 011f1333 sll t1,t5,a7
|
|
3b3e: fff34313 not t1,t1
|
|
3b42: 00e37733 and a4,t1,a4
|
|
3b46: 011818b3 sll a7,a6,a7
|
|
3b4a: 00e8e733 or a4,a7,a4
|
|
3b4e: 05f79f63 bne a5,t6,3bac <GPIO_Init+0xae>
|
|
3b52: c950 sw a2,20(a0)
|
|
3b54: 0685 addi a3,a3,1
|
|
3b56: fdc69ae3 bne a3,t3,3b2a <GPIO_Init+0x2c>
|
|
3b5a: c118 sw a4,0(a0)
|
|
3b5c: 0ff00713 li a4,255
|
|
3b60: 04b77563 bgeu a4,a1,3baa <GPIO_Init+0xac>
|
|
3b64: 4154 lw a3,4(a0)
|
|
3b66: 4621 li a2,8
|
|
3b68: 4e85 li t4,1
|
|
3b6a: 4f3d li t5,15
|
|
3b6c: 02800f93 li t6,40
|
|
3b70: 04800293 li t0,72
|
|
3b74: 4e41 li t3,16
|
|
3b76: 00ce98b3 sll a7,t4,a2
|
|
3b7a: 0115f733 and a4,a1,a7
|
|
3b7e: 02e89263 bne a7,a4,3ba2 <GPIO_Init+0xa4>
|
|
3b82: 00261713 slli a4,a2,0x2
|
|
3b86: 1701 addi a4,a4,-32
|
|
3b88: 00ef1333 sll t1,t5,a4
|
|
3b8c: fff34313 not t1,t1
|
|
3b90: 00d376b3 and a3,t1,a3
|
|
3b94: 00e81733 sll a4,a6,a4
|
|
3b98: 8ed9 or a3,a3,a4
|
|
3b9a: 01f79d63 bne a5,t6,3bb4 <GPIO_Init+0xb6>
|
|
3b9e: 01152a23 sw a7,20(a0)
|
|
3ba2: 0605 addi a2,a2,1
|
|
3ba4: fdc619e3 bne a2,t3,3b76 <GPIO_Init+0x78>
|
|
3ba8: c154 sw a3,4(a0)
|
|
3baa: 8082 ret
|
|
3bac: fa5794e3 bne a5,t0,3b54 <GPIO_Init+0x56>
|
|
3bb0: c910 sw a2,16(a0)
|
|
3bb2: b74d j 3b54 <GPIO_Init+0x56>
|
|
3bb4: fe5797e3 bne a5,t0,3ba2 <GPIO_Init+0xa4>
|
|
3bb8: 01152823 sw a7,16(a0)
|
|
3bbc: b7dd j 3ba2 <GPIO_Init+0xa4>
|
|
|
|
00003bbe <GPIO_ReadInputDataBit>:
|
|
3bbe: 4508 lw a0,8(a0)
|
|
3bc0: 8d6d and a0,a0,a1
|
|
3bc2: 00a03533 snez a0,a0
|
|
3bc6: 8082 ret
|
|
|
|
00003bc8 <GPIO_WriteBit>:
|
|
3bc8: c219 beqz a2,3bce <GPIO_WriteBit+0x6>
|
|
3bca: c90c sw a1,16(a0)
|
|
3bcc: 8082 ret
|
|
3bce: c94c sw a1,20(a0)
|
|
3bd0: 8082 ret
|
|
|
|
00003bd2 <GPIO_EXTILineConfig>:
|
|
3bd2: 0fc5f713 andi a4,a1,252
|
|
3bd6: 0035f793 andi a5,a1,3
|
|
3bda: 400105b7 lui a1,0x40010
|
|
3bde: 95ba add a1,a1,a4
|
|
3be0: 4594 lw a3,8(a1)
|
|
3be2: 078a slli a5,a5,0x2
|
|
3be4: 473d li a4,15
|
|
3be6: 00f71733 sll a4,a4,a5
|
|
3bea: fff74713 not a4,a4
|
|
3bee: 8f75 and a4,a4,a3
|
|
3bf0: c598 sw a4,8(a1)
|
|
3bf2: 4598 lw a4,8(a1)
|
|
3bf4: 00f51533 sll a0,a0,a5
|
|
3bf8: 8d59 or a0,a0,a4
|
|
3bfa: c588 sw a0,8(a1)
|
|
3bfc: 8082 ret
|
|
|
|
00003bfe <RCC_GetClocksFreq>:
|
|
3bfe: 40021737 lui a4,0x40021
|
|
3c02: 435c lw a5,4(a4)
|
|
3c04: 4691 li a3,4
|
|
3c06: 8bb1 andi a5,a5,12
|
|
3c08: 00d78563 beq a5,a3,3c12 <RCC_GetClocksFreq+0x14>
|
|
3c0c: 46a1 li a3,8
|
|
3c0e: 06d78263 beq a5,a3,3c72 <RCC_GetClocksFreq+0x74>
|
|
3c12: 007a17b7 lui a5,0x7a1
|
|
3c16: 20078793 addi a5,a5,512 # 7a1200 <__rt_init_end+0x79bb68>
|
|
3c1a: c11c sw a5,0(a0)
|
|
3c1c: 40021637 lui a2,0x40021
|
|
3c20: 425c lw a5,4(a2)
|
|
3c22: 20000737 lui a4,0x20000
|
|
3c26: 15070713 addi a4,a4,336 # 20000150 <APBAHBPrescTable>
|
|
3c2a: 8391 srli a5,a5,0x4
|
|
3c2c: 8bbd andi a5,a5,15
|
|
3c2e: 97ba add a5,a5,a4
|
|
3c30: 2394 lbu a3,0(a5)
|
|
3c32: 411c lw a5,0(a0)
|
|
3c34: 00d7d7b3 srl a5,a5,a3
|
|
3c38: c15c sw a5,4(a0)
|
|
3c3a: 4254 lw a3,4(a2)
|
|
3c3c: 82a1 srli a3,a3,0x8
|
|
3c3e: 8a9d andi a3,a3,7
|
|
3c40: 96ba add a3,a3,a4
|
|
3c42: 2294 lbu a3,0(a3)
|
|
3c44: 00d7d6b3 srl a3,a5,a3
|
|
3c48: c514 sw a3,8(a0)
|
|
3c4a: 4254 lw a3,4(a2)
|
|
3c4c: 82ad srli a3,a3,0xb
|
|
3c4e: 8a9d andi a3,a3,7
|
|
3c50: 9736 add a4,a4,a3
|
|
3c52: 2318 lbu a4,0(a4)
|
|
3c54: 00e7d7b3 srl a5,a5,a4
|
|
3c58: c55c sw a5,12(a0)
|
|
3c5a: 4258 lw a4,4(a2)
|
|
3c5c: 8339 srli a4,a4,0xe
|
|
3c5e: 00377693 andi a3,a4,3
|
|
3c62: 80418713 addi a4,gp,-2044 # 20000164 <ADCPrescTable>
|
|
3c66: 9736 add a4,a4,a3
|
|
3c68: 2318 lbu a4,0(a4)
|
|
3c6a: 02e7d7b3 divu a5,a5,a4
|
|
3c6e: c91c sw a5,16(a0)
|
|
3c70: 8082 ret
|
|
3c72: 435c lw a5,4(a4)
|
|
3c74: 4358 lw a4,4(a4)
|
|
3c76: 66c1 lui a3,0x10
|
|
3c78: 83c9 srli a5,a5,0x12
|
|
3c7a: 8f75 and a4,a4,a3
|
|
3c7c: 1ffff6b7 lui a3,0x1ffff
|
|
3c80: 70c6a683 lw a3,1804(a3) # 1ffff70c <__rt_init_end+0x1fffa074>
|
|
3c84: 8bbd andi a5,a5,15
|
|
3c86: 0789 addi a5,a5,2
|
|
3c88: 01169613 slli a2,a3,0x11
|
|
3c8c: 00064863 bltz a2,3c9c <RCC_GetClocksFreq+0x9e>
|
|
3c90: 46c5 li a3,17
|
|
3c92: 4601 li a2,0
|
|
3c94: 02d79263 bne a5,a3,3cb8 <RCC_GetClocksFreq+0xba>
|
|
3c98: 47c9 li a5,18
|
|
3c9a: a839 j 3cb8 <RCC_GetClocksFreq+0xba>
|
|
3c9c: 4689 li a3,2
|
|
3c9e: 02d78f63 beq a5,a3,3cdc <RCC_GetClocksFreq+0xde>
|
|
3ca2: 46bd li a3,15
|
|
3ca4: 02d78e63 beq a5,a3,3ce0 <RCC_GetClocksFreq+0xe2>
|
|
3ca8: 46c1 li a3,16
|
|
3caa: 02d78e63 beq a5,a3,3ce6 <RCC_GetClocksFreq+0xe8>
|
|
3cae: 46c5 li a3,17
|
|
3cb0: 4601 li a2,0
|
|
3cb2: 00d79363 bne a5,a3,3cb8 <RCC_GetClocksFreq+0xba>
|
|
3cb6: 47c1 li a5,16
|
|
3cb8: ef1d bnez a4,3cf6 <RCC_GetClocksFreq+0xf8>
|
|
3cba: 40024737 lui a4,0x40024
|
|
3cbe: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x20013800>
|
|
3cc2: 8b41 andi a4,a4,16
|
|
3cc4: c705 beqz a4,3cec <RCC_GetClocksFreq+0xee>
|
|
3cc6: 007a1737 lui a4,0x7a1
|
|
3cca: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79bb68>
|
|
3cce: 02f707b3 mul a5,a4,a5
|
|
3cd2: c11c sw a5,0(a0)
|
|
3cd4: d621 beqz a2,3c1c <RCC_GetClocksFreq+0x1e>
|
|
3cd6: 411c lw a5,0(a0)
|
|
3cd8: 8385 srli a5,a5,0x1
|
|
3cda: b781 j 3c1a <RCC_GetClocksFreq+0x1c>
|
|
3cdc: 4601 li a2,0
|
|
3cde: bf6d j 3c98 <RCC_GetClocksFreq+0x9a>
|
|
3ce0: 4605 li a2,1
|
|
3ce2: 47b5 li a5,13
|
|
3ce4: bfd1 j 3cb8 <RCC_GetClocksFreq+0xba>
|
|
3ce6: 4601 li a2,0
|
|
3ce8: 47bd li a5,15
|
|
3cea: b7f9 j 3cb8 <RCC_GetClocksFreq+0xba>
|
|
3cec: 003d1737 lui a4,0x3d1
|
|
3cf0: 90070713 addi a4,a4,-1792 # 3d0900 <__rt_init_end+0x3cb268>
|
|
3cf4: bfe9 j 3cce <RCC_GetClocksFreq+0xd0>
|
|
3cf6: 400215b7 lui a1,0x40021
|
|
3cfa: 55d8 lw a4,44(a1)
|
|
3cfc: 00f71693 slli a3,a4,0xf
|
|
3d00: 55d8 lw a4,44(a1)
|
|
3d02: 0406df63 bgez a3,3d60 <RCC_GetClocksFreq+0x162>
|
|
3d06: 8311 srli a4,a4,0x4
|
|
3d08: 8b3d andi a4,a4,15
|
|
3d0a: 00170693 addi a3,a4,1
|
|
3d0e: 007a1737 lui a4,0x7a1
|
|
3d12: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79bb68>
|
|
3d16: 02d75733 divu a4,a4,a3
|
|
3d1a: c118 sw a4,0(a0)
|
|
3d1c: 55d4 lw a3,44(a1)
|
|
3d1e: 82a1 srli a3,a3,0x8
|
|
3d20: 8abd andi a3,a3,15
|
|
3d22: e28d bnez a3,3d44 <RCC_GetClocksFreq+0x146>
|
|
3d24: 4695 li a3,5
|
|
3d26: 02d70733 mul a4,a4,a3
|
|
3d2a: 8305 srli a4,a4,0x1
|
|
3d2c: c118 sw a4,0(a0)
|
|
3d2e: 40021737 lui a4,0x40021
|
|
3d32: 5758 lw a4,44(a4)
|
|
3d34: 4114 lw a3,0(a0)
|
|
3d36: 8b3d andi a4,a4,15
|
|
3d38: 0705 addi a4,a4,1
|
|
3d3a: 02e6d733 divu a4,a3,a4
|
|
3d3e: c118 sw a4,0(a0)
|
|
3d40: 4118 lw a4,0(a0)
|
|
3d42: b771 j 3cce <RCC_GetClocksFreq+0xd0>
|
|
3d44: 4585 li a1,1
|
|
3d46: 00b69463 bne a3,a1,3d4e <RCC_GetClocksFreq+0x150>
|
|
3d4a: 46e5 li a3,25
|
|
3d4c: bfe9 j 3d26 <RCC_GetClocksFreq+0x128>
|
|
3d4e: 45bd li a1,15
|
|
3d50: 00b69663 bne a3,a1,3d5c <RCC_GetClocksFreq+0x15e>
|
|
3d54: 46d1 li a3,20
|
|
3d56: 02e68733 mul a4,a3,a4
|
|
3d5a: bfc9 j 3d2c <RCC_GetClocksFreq+0x12e>
|
|
3d5c: 0689 addi a3,a3,2
|
|
3d5e: bfe5 j 3d56 <RCC_GetClocksFreq+0x158>
|
|
3d60: 8b3d andi a4,a4,15
|
|
3d62: 00170693 addi a3,a4,1 # 40021001 <_eusrstack+0x20011001>
|
|
3d66: 007a1737 lui a4,0x7a1
|
|
3d6a: 20070713 addi a4,a4,512 # 7a1200 <__rt_init_end+0x79bb68>
|
|
3d6e: 02d75733 divu a4,a4,a3
|
|
3d72: b7f1 j 3d3e <RCC_GetClocksFreq+0x140>
|
|
|
|
00003d74 <RCC_APB2PeriphClockCmd>:
|
|
3d74: c599 beqz a1,3d82 <RCC_APB2PeriphClockCmd+0xe>
|
|
3d76: 40021737 lui a4,0x40021
|
|
3d7a: 4f1c lw a5,24(a4)
|
|
3d7c: 8d5d or a0,a0,a5
|
|
3d7e: cf08 sw a0,24(a4)
|
|
3d80: 8082 ret
|
|
3d82: 400217b7 lui a5,0x40021
|
|
3d86: 4f98 lw a4,24(a5)
|
|
3d88: fff54513 not a0,a0
|
|
3d8c: 8d79 and a0,a0,a4
|
|
3d8e: cf88 sw a0,24(a5)
|
|
3d90: 8082 ret
|
|
|
|
00003d92 <USART_Init>:
|
|
3d92: e0efc2ef jal t0,3a0 <__riscv_save_0>
|
|
3d96: 2916 lhu a3,16(a0)
|
|
3d98: 77f5 lui a5,0xffffd
|
|
3d9a: 17fd addi a5,a5,-1
|
|
3d9c: 8ff5 and a5,a5,a3
|
|
3d9e: 21f6 lhu a3,6(a1)
|
|
3da0: 25da lhu a4,12(a1)
|
|
3da2: 7179 addi sp,sp,-48
|
|
3da4: 8fd5 or a5,a5,a3
|
|
3da6: a91e sh a5,16(a0)
|
|
3da8: 2556 lhu a3,12(a0)
|
|
3daa: 77fd lui a5,0xfffff
|
|
3dac: 9f378793 addi a5,a5,-1549 # ffffe9f3 <_eusrstack+0xdffee9f3>
|
|
3db0: 8ff5 and a5,a5,a3
|
|
3db2: 21d6 lhu a3,4(a1)
|
|
3db4: 842a mv s0,a0
|
|
3db6: c62e sw a1,12(sp)
|
|
3db8: 8fd5 or a5,a5,a3
|
|
3dba: 2596 lhu a3,8(a1)
|
|
3dbc: 8fd5 or a5,a5,a3
|
|
3dbe: 25b6 lhu a3,10(a1)
|
|
3dc0: 8fd5 or a5,a5,a3
|
|
3dc2: a55e sh a5,12(a0)
|
|
3dc4: 295e lhu a5,20(a0)
|
|
3dc6: 07c2 slli a5,a5,0x10
|
|
3dc8: 83c1 srli a5,a5,0x10
|
|
3dca: cff7f793 andi a5,a5,-769
|
|
3dce: 8fd9 or a5,a5,a4
|
|
3dd0: a95e sh a5,20(a0)
|
|
3dd2: 0868 addi a0,sp,28
|
|
3dd4: e2bff0ef jal ra,3bfe <RCC_GetClocksFreq>
|
|
3dd8: 400147b7 lui a5,0x40014
|
|
3ddc: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x20003800>
|
|
3de0: 45b2 lw a1,12(sp)
|
|
3de2: 02f41e63 bne s0,a5,3e1e <USART_Init+0x8c>
|
|
3de6: 57a2 lw a5,40(sp)
|
|
3de8: 4765 li a4,25
|
|
3dea: 02e787b3 mul a5,a5,a4
|
|
3dee: 4198 lw a4,0(a1)
|
|
3df0: 06400693 li a3,100
|
|
3df4: 070a slli a4,a4,0x2
|
|
3df6: 02e7d7b3 divu a5,a5,a4
|
|
3dfa: 02d7d733 divu a4,a5,a3
|
|
3dfe: 02d7f7b3 remu a5,a5,a3
|
|
3e02: 0712 slli a4,a4,0x4
|
|
3e04: 0792 slli a5,a5,0x4
|
|
3e06: 03278793 addi a5,a5,50
|
|
3e0a: 02d7d7b3 divu a5,a5,a3
|
|
3e0e: 8bbd andi a5,a5,15
|
|
3e10: 8fd9 or a5,a5,a4
|
|
3e12: 07c2 slli a5,a5,0x10
|
|
3e14: 83c1 srli a5,a5,0x10
|
|
3e16: a41e sh a5,8(s0)
|
|
3e18: 6145 addi sp,sp,48
|
|
3e1a: daafc06f j 3c4 <__riscv_restore_0>
|
|
3e1e: 5792 lw a5,36(sp)
|
|
3e20: b7e1 j 3de8 <USART_Init+0x56>
|
|
|
|
00003e22 <USART_Cmd>:
|
|
3e22: c591 beqz a1,3e2e <USART_Cmd+0xc>
|
|
3e24: 255e lhu a5,12(a0)
|
|
3e26: 6709 lui a4,0x2
|
|
3e28: 8fd9 or a5,a5,a4
|
|
3e2a: a55e sh a5,12(a0)
|
|
3e2c: 8082 ret
|
|
3e2e: 255a lhu a4,12(a0)
|
|
3e30: 77f9 lui a5,0xffffe
|
|
3e32: 17fd addi a5,a5,-1
|
|
3e34: 8ff9 and a5,a5,a4
|
|
3e36: bfd5 j 3e2a <USART_Cmd+0x8>
|
|
|
|
00003e38 <USART_ITConfig>:
|
|
3e38: 0ff5f713 andi a4,a1,255
|
|
3e3c: 4785 li a5,1
|
|
3e3e: 8315 srli a4,a4,0x5
|
|
3e40: 00b795b3 sll a1,a5,a1
|
|
3e44: 00f71963 bne a4,a5,3e56 <USART_ITConfig+0x1e>
|
|
3e48: 00c50793 addi a5,a0,12
|
|
3e4c: 4398 lw a4,0(a5)
|
|
3e4e: ce01 beqz a2,3e66 <USART_ITConfig+0x2e>
|
|
3e50: 8dd9 or a1,a1,a4
|
|
3e52: c38c sw a1,0(a5)
|
|
3e54: 8082 ret
|
|
3e56: 4689 li a3,2
|
|
3e58: 01450793 addi a5,a0,20
|
|
3e5c: fed718e3 bne a4,a3,3e4c <USART_ITConfig+0x14>
|
|
3e60: 01050793 addi a5,a0,16
|
|
3e64: b7e5 j 3e4c <USART_ITConfig+0x14>
|
|
3e66: fff5c593 not a1,a1
|
|
3e6a: 8df9 and a1,a1,a4
|
|
3e6c: b7dd j 3e52 <USART_ITConfig+0x1a>
|
|
|
|
00003e6e <USART_GetFlagStatus>:
|
|
3e6e: 210a lhu a0,0(a0)
|
|
3e70: 8d6d and a0,a0,a1
|
|
3e72: 00a03533 snez a0,a0
|
|
3e76: 8082 ret
|
|
|
|
00003e78 <USART_GetITStatus>:
|
|
3e78: 0ff5f713 andi a4,a1,255
|
|
3e7c: 4685 li a3,1
|
|
3e7e: 8315 srli a4,a4,0x5
|
|
3e80: 00b697b3 sll a5,a3,a1
|
|
3e84: 02d71163 bne a4,a3,3ea6 <USART_GetITStatus+0x2e>
|
|
3e88: 255a lhu a4,12(a0)
|
|
3e8a: 8ff9 and a5,a5,a4
|
|
3e8c: 211a lhu a4,0(a0)
|
|
3e8e: 4501 li a0,0
|
|
3e90: 0742 slli a4,a4,0x10
|
|
3e92: 8341 srli a4,a4,0x10
|
|
3e94: cb81 beqz a5,3ea4 <USART_GetITStatus+0x2c>
|
|
3e96: 4505 li a0,1
|
|
3e98: 81a1 srli a1,a1,0x8
|
|
3e9a: 00b515b3 sll a1,a0,a1
|
|
3e9e: 8f6d and a4,a4,a1
|
|
3ea0: 00e03533 snez a0,a4
|
|
3ea4: 8082 ret
|
|
3ea6: 4689 li a3,2
|
|
3ea8: 00d71463 bne a4,a3,3eb0 <USART_GetITStatus+0x38>
|
|
3eac: 291a lhu a4,16(a0)
|
|
3eae: bff1 j 3e8a <USART_GetITStatus+0x12>
|
|
3eb0: 295a lhu a4,20(a0)
|
|
3eb2: bfe1 j 3e8a <USART_GetITStatus+0x12>
|
|
|
|
00003eb4 <USART_ClearITPendingBit>:
|
|
3eb4: 81a1 srli a1,a1,0x8
|
|
3eb6: 4785 li a5,1
|
|
3eb8: 00b797b3 sll a5,a5,a1
|
|
3ebc: fff7c793 not a5,a5
|
|
3ec0: 07c2 slli a5,a5,0x10
|
|
3ec2: 83c1 srli a5,a5,0x10
|
|
3ec4: a11e sh a5,0(a0)
|
|
3ec6: 8082 ret
|
|
|
|
00003ec8 <memcmp>:
|
|
3ec8: 4701 li a4,0
|
|
3eca: 00e61463 bne a2,a4,3ed2 <memcmp+0xa>
|
|
3ece: 4501 li a0,0
|
|
3ed0: 8082 ret
|
|
3ed2: 00e507b3 add a5,a0,a4
|
|
3ed6: 0705 addi a4,a4,1
|
|
3ed8: 00e586b3 add a3,a1,a4
|
|
3edc: 239c lbu a5,0(a5)
|
|
3ede: fff6c683 lbu a3,-1(a3)
|
|
3ee2: fed784e3 beq a5,a3,3eca <memcmp+0x2>
|
|
3ee6: 40d78533 sub a0,a5,a3
|
|
3eea: 8082 ret
|
|
|
|
00003eec <memcpy>:
|
|
3eec: 00a5c7b3 xor a5,a1,a0
|
|
3ef0: 8b8d andi a5,a5,3
|
|
3ef2: 00c50733 add a4,a0,a2
|
|
3ef6: e781 bnez a5,3efe <memcpy+0x12>
|
|
3ef8: 478d li a5,3
|
|
3efa: 00c7ed63 bltu a5,a2,3f14 <memcpy+0x28>
|
|
3efe: 87aa mv a5,a0
|
|
3f00: 08e57e63 bgeu a0,a4,3f9c <memcpy+0xb0>
|
|
3f04: 2194 lbu a3,0(a1)
|
|
3f06: 0785 addi a5,a5,1
|
|
3f08: 0585 addi a1,a1,1
|
|
3f0a: fed78fa3 sb a3,-1(a5) # ffffdfff <_eusrstack+0xdffedfff>
|
|
3f0e: fee7ebe3 bltu a5,a4,3f04 <memcpy+0x18>
|
|
3f12: 8082 ret
|
|
3f14: 00357693 andi a3,a0,3
|
|
3f18: 87aa mv a5,a0
|
|
3f1a: ca89 beqz a3,3f2c <memcpy+0x40>
|
|
3f1c: 2194 lbu a3,0(a1)
|
|
3f1e: 0785 addi a5,a5,1
|
|
3f20: 0585 addi a1,a1,1
|
|
3f22: fed78fa3 sb a3,-1(a5)
|
|
3f26: 0037f693 andi a3,a5,3
|
|
3f2a: bfc5 j 3f1a <memcpy+0x2e>
|
|
3f2c: ffc77693 andi a3,a4,-4
|
|
3f30: fe068613 addi a2,a3,-32
|
|
3f34: 06c7f063 bgeu a5,a2,3f94 <memcpy+0xa8>
|
|
3f38: 0005a383 lw t2,0(a1) # 40021000 <_eusrstack+0x20011000>
|
|
3f3c: 0045a283 lw t0,4(a1)
|
|
3f40: 0085af83 lw t6,8(a1)
|
|
3f44: 00c5af03 lw t5,12(a1)
|
|
3f48: 0105ae83 lw t4,16(a1)
|
|
3f4c: 0145ae03 lw t3,20(a1)
|
|
3f50: 0185a303 lw t1,24(a1)
|
|
3f54: 01c5a883 lw a7,28(a1)
|
|
3f58: 02458593 addi a1,a1,36
|
|
3f5c: 0077a023 sw t2,0(a5)
|
|
3f60: ffc5a803 lw a6,-4(a1)
|
|
3f64: 0057a223 sw t0,4(a5)
|
|
3f68: 01f7a423 sw t6,8(a5)
|
|
3f6c: 01e7a623 sw t5,12(a5)
|
|
3f70: 01d7a823 sw t4,16(a5)
|
|
3f74: 01c7aa23 sw t3,20(a5)
|
|
3f78: 0067ac23 sw t1,24(a5)
|
|
3f7c: 0117ae23 sw a7,28(a5)
|
|
3f80: 02478793 addi a5,a5,36
|
|
3f84: ff07ae23 sw a6,-4(a5)
|
|
3f88: b775 j 3f34 <memcpy+0x48>
|
|
3f8a: 4190 lw a2,0(a1)
|
|
3f8c: 0791 addi a5,a5,4
|
|
3f8e: 0591 addi a1,a1,4
|
|
3f90: fec7ae23 sw a2,-4(a5)
|
|
3f94: fed7ebe3 bltu a5,a3,3f8a <memcpy+0x9e>
|
|
3f98: f6e7e6e3 bltu a5,a4,3f04 <memcpy+0x18>
|
|
3f9c: 8082 ret
|
|
|
|
00003f9e <strcat>:
|
|
3f9e: 87aa mv a5,a0
|
|
3fa0: 2398 lbu a4,0(a5)
|
|
3fa2: 00178693 addi a3,a5,1
|
|
3fa6: eb09 bnez a4,3fb8 <strcat+0x1a>
|
|
3fa8: 0585 addi a1,a1,1
|
|
3faa: fff5c703 lbu a4,-1(a1)
|
|
3fae: 0785 addi a5,a5,1
|
|
3fb0: fee78fa3 sb a4,-1(a5)
|
|
3fb4: fb75 bnez a4,3fa8 <strcat+0xa>
|
|
3fb6: 8082 ret
|
|
3fb8: 87b6 mv a5,a3
|
|
3fba: b7dd j 3fa0 <strcat+0x2>
|
|
|
|
00003fbc <strcpy>:
|
|
3fbc: 87aa mv a5,a0
|
|
3fbe: 2198 lbu a4,0(a1)
|
|
3fc0: 0785 addi a5,a5,1
|
|
3fc2: 0585 addi a1,a1,1
|
|
3fc4: fee78fa3 sb a4,-1(a5)
|
|
3fc8: fb7d bnez a4,3fbe <strcpy+0x2>
|
|
3fca: 8082 ret
|
|
|
|
00003fcc <strlen>:
|
|
3fcc: 87aa mv a5,a0
|
|
3fce: 0785 addi a5,a5,1
|
|
3fd0: fff7c703 lbu a4,-1(a5)
|
|
3fd4: ff6d bnez a4,3fce <strlen+0x2>
|
|
3fd6: 40a78533 sub a0,a5,a0
|
|
3fda: 157d addi a0,a0,-1
|
|
3fdc: 8082 ret
|
|
|
|
00003fde <strncmp>:
|
|
3fde: c215 beqz a2,4002 <strncmp+0x24>
|
|
3fe0: 167d addi a2,a2,-1
|
|
3fe2: 4701 li a4,0
|
|
3fe4: 00e507b3 add a5,a0,a4
|
|
3fe8: 00e586b3 add a3,a1,a4
|
|
3fec: 239c lbu a5,0(a5)
|
|
3fee: 2294 lbu a3,0(a3)
|
|
3ff0: 00d79663 bne a5,a3,3ffc <strncmp+0x1e>
|
|
3ff4: 00c70463 beq a4,a2,3ffc <strncmp+0x1e>
|
|
3ff8: 0705 addi a4,a4,1
|
|
3ffa: f7ed bnez a5,3fe4 <strncmp+0x6>
|
|
3ffc: 40d78533 sub a0,a5,a3
|
|
4000: 8082 ret
|
|
4002: 4501 li a0,0
|
|
4004: 8082 ret
|
|
4006: 0000 unimp
|
|
4008: 4ad0 lw a2,20(a3)
|
|
400a: 0000 unimp
|
|
400c: 4ae4 lw s1,84(a3)
|
|
400e: 0000 unimp
|
|
4010: 4af4 lw a3,84(a3)
|
|
4012: 0000 unimp
|
|
4014: 4b08 lw a0,16(a4)
|
|
4016: 0000 unimp
|
|
4018: 4b14 lw a3,16(a4)
|
|
401a: 0000 unimp
|
|
401c: 4b20 lw s0,80(a4)
|
|
401e: 0000 unimp
|
|
4020: 4b24 lw s1,80(a4)
|
|
4022: 0000 unimp
|
|
4024: 4b34 lw a3,80(a4)
|
|
4026: 0000 unimp
|
|
4028: 4b44 lw s1,20(a4)
|
|
402a: 0000 unimp
|
|
402c: 4b4c lw a1,20(a4)
|
|
402e: 0000 unimp
|
|
4030: 4b60 lw s0,84(a4)
|
|
4032: 0000 unimp
|
|
4034: 4b70 lw a2,84(a4)
|
|
4036: 0000 unimp
|
|
4038: 4b78 lw a4,84(a4)
|
|
403a: 0000 unimp
|
|
403c: 4b84 lw s1,16(a5)
|
|
403e: 0000 unimp
|
|
4040: 4b90 lw a2,16(a5)
|
|
4042: 0000 unimp
|
|
4044: 4ba4 lw s1,80(a5)
|
|
4046: 0000 unimp
|
|
4048: 4bac lw a1,80(a5)
|
|
404a: 0000 unimp
|
|
404c: 4bbc lw a5,80(a5)
|
|
404e: 0000 unimp
|
|
4050: 4bcc lw a1,20(a5)
|
|
4052: 0000 unimp
|
|
4054: 4be4 lw s1,84(a5)
|
|
4056: 0000 unimp
|
|
4058: 616d addi sp,sp,240
|
|
405a: 6e69 lui t3,0x1a
|
|
405c: 0000 unimp
|
|
405e: 0000 unimp
|
|
4060: 6f54 flw fa3,28(a4)
|
|
4062: 6920 flw fs0,80(a0)
|
|
4064: 696e flw fs2,216(sp)
|
|
4066: 6974 flw fa3,84(a0)
|
|
4068: 6c61 lui s8,0x18
|
|
406a: 7a69 lui s4,0xffffa
|
|
406c: 2065 jal 4114 <__lowest_bit_bitmap+0x74>
|
|
406e: 6564 flw fs1,76(a0)
|
|
4070: 6976 flw fs2,92(sp)
|
|
4072: 253a6563 bltu s4,s3,42bc <__fsym_list_mem_desc+0x1c>
|
|
4076: 61662073 csrs 0x616,a2
|
|
407a: 6c69 lui s8,0x1a
|
|
407c: 6465 lui s0,0x19
|
|
407e: 202e lhu a1,2(s0)
|
|
4080: 6854 flw fa3,20(s0)
|
|
4082: 2065 jal 412a <__lowest_bit_bitmap+0x8a>
|
|
4084: 7265 lui tp,0xffff9
|
|
4086: 6f72 flw ft10,28(sp)
|
|
4088: 2072 lhu a2,6(s0)
|
|
408a: 65646f63 bltu s0,s6,46e8 <__fsym_list_mem_name+0x428>
|
|
408e: 6920 flw fs0,80(a0)
|
|
4090: 64252073 csrs 0x642,a0
|
|
4094: 000a c.slli zero,0x2
|
|
4096: 0000 unimp
|
|
4098: 6974 flw fa3,84(a0)
|
|
409a: 6c64 flw fs1,92(s0)
|
|
409c: 0065 c.nop 25
|
|
...
|
|
|
|
000040a0 <__lowest_bit_bitmap>:
|
|
40a0: 0000 0001 0002 0001 0003 0001 0002 0001 ................
|
|
40b0: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
40c0: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
40d0: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
40e0: 0006 0001 0002 0001 0003 0001 0002 0001 ................
|
|
40f0: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
4100: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
4110: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
4120: 0007 0001 0002 0001 0003 0001 0002 0001 ................
|
|
4130: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
4140: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
4150: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
4160: 0006 0001 0002 0001 0003 0001 0002 0001 ................
|
|
4170: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
4180: 0005 0001 0002 0001 0003 0001 0002 0001 ................
|
|
4190: 0004 0001 0002 0001 0003 0001 0002 0001 ................
|
|
|
|
000041a0 <large_digits.2583>:
|
|
41a0: 3130 3332 3534 3736 3938 4241 4443 4645 0123456789ABCDEF
|
|
41b0: 0000 0000 200a 205c 207c 0a2f 0000 0000 ..... \ | /.....
|
|
41c0: 202d 5452 2d20 2020 2020 5420 7268 6165 - RT - Threa
|
|
41d0: 2064 704f 7265 7461 6e69 2067 7953 7473 d Operating Syst
|
|
41e0: 6d65 000a 614d 2079 3231 3220 3230 0034 em..May 12 2024.
|
|
41f0: 2f20 7c20 5c20 2020 2020 2520 2e64 6425 / | \ %d.%d
|
|
4200: 252e 2064 7562 6c69 2064 7325 000a 0000 .%d build %s....
|
|
4210: 3220 3030 2036 202d 3032 3931 4320 706f 2006 - 2019 Cop
|
|
4220: 7279 6769 7468 6220 2079 7472 742d 7268 yright by rt-thr
|
|
4230: 6165 2064 6574 6d61 000a 0000 4e28 4c55 ead team....(NUL
|
|
4240: 294c 0000 L)..
|
|
|
|
00004244 <small_digits.2582>:
|
|
4244: 3130 3332 3534 3736 3938 6261 6463 6665 0123456789abcdef
|
|
4254: 0000 0000 6f74 6174 206c 656d 6f6d 7972 ....total memory
|
|
4264: 203a 6425 000a 0000 7375 6465 6d20 6d65 : %d....used mem
|
|
4274: 726f 2079 203a 6425 000a 0000 616d 6978 ory : %d....maxi
|
|
4284: 756d 206d 6c61 6f6c 6163 6574 2064 656d mum allocated me
|
|
4294: 6f6d 7972 203a 6425 000a 0000 mory: %d....
|
|
|
|
000042a0 <__fsym_list_mem_desc>:
|
|
42a0: 696c 7473 6d20 6d65 726f 2079 7375 6761 list memory usag
|
|
42b0: 2065 6e69 6f66 6d72 7461 6f69 006e 0000 e information...
|
|
|
|
000042c0 <__fsym_list_mem_name>:
|
|
42c0: 696c 7473 6d5f 6d65 0000 0000 6f74 6620 list_mem....to f
|
|
42d0: 6572 2065 2061 6162 2064 6164 6174 6220 ree a bad data b
|
|
42e0: 6f6c 6b63 0a3a 0000 656d 3a6d 3020 2578 lock:...mem: 0x%
|
|
42f0: 3830 2c78 7520 6573 2064 6c66 6761 203a 08x, used flag:
|
|
4300: 6425 202c 616d 6967 2063 6f63 6564 203a %d, magic code:
|
|
4310: 7830 3025 7834 000a 6568 7061 0000 0000 0x%04x..heap....
|
|
4320: 656d 206d 6e69 7469 202c 7265 6f72 2072 mem init, error
|
|
4330: 6562 6967 206e 6461 7264 7365 2073 7830 begin address 0x
|
|
4340: 7825 202c 6e61 2064 6e65 2064 6461 7264 %x, and end addr
|
|
4350: 7365 2073 7830 7825 000a 0000 5b1b 4a32 ess 0x%x.....[2J
|
|
4360: 5b1b 0048 2d2d 7546 636e 6974 6e6f 4c20 .[H.--Function L
|
|
4370: 7369 3a74 000a 0000 5f5f 0000 2d25 3631 ist:....__..%-16
|
|
4380: 2073 2d2d 2520 0a73 0000 0000 6564 6976 s -- %s.....devi
|
|
4390: 6563 0000 2d25 2e2a 2073 2020 2020 2020 ce..%-*.s
|
|
43a0: 2020 7974 6570 2020 2020 2020 2020 7220 type r
|
|
43b0: 6665 6320 756f 746e 000a 0000 2d20 2d2d ef count.... ---
|
|
43c0: 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d ----------------
|
|
43d0: 202d 2d2d 2d2d 2d2d 2d2d 2d2d 000a 0000 - ----------....
|
|
43e0: 2d25 2e2a 732a 2520 322d 7330 2520 382d %-*.*s %-20s %-8
|
|
43f0: 0a64 0000 7665 6e65 0074 0000 2d25 2e2a d...event...%-*.
|
|
4400: 2073 2020 2020 7320 7465 2020 2020 7573 s set su
|
|
4410: 7073 6e65 2064 6874 6572 6461 000a 0000 spend thread....
|
|
4420: 2020 2d2d 2d2d 2d2d 2d2d 2d2d 2d20 2d2d ---------- ---
|
|
4430: 2d2d 2d2d 2d2d 2d2d 2d2d 0a2d 0000 0000 -----------.....
|
|
4440: 2d25 2e2a 732a 2020 7830 3025 7838 2520 %-*.*s 0x%08x %
|
|
4450: 3330 3a64 0000 0000 2d25 2e2a 732a 2020 03d:....%-*.*s
|
|
4460: 7830 3025 7838 3020 000a 0000 616d 6c69 0x%08x 0....mail
|
|
4470: 6f62 0078 2d25 2e2a 2073 6e65 7274 2079 box.%-*.s entry
|
|
4480: 6973 657a 7320 7375 6570 646e 7420 7268 size suspend thr
|
|
4490: 6165 0a64 0000 0000 2d20 2d2d 202d 2d20 ead..... ---- -
|
|
44a0: 2d2d 202d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d --- ------------
|
|
44b0: 2d2d 000a 2d25 2e2a 732a 2520 3430 2064 --..%-*.*s %04d
|
|
44c0: 2520 3430 2064 6425 003a 0000 2d25 2e2a %04d %d:...%-*.
|
|
44d0: 732a 2520 3430 2064 2520 3430 2064 6425 *s %04d %04d %d
|
|
44e0: 000a 0000 736d 7167 6575 6575 0000 0000 ....msgqueue....
|
|
44f0: 2d25 2e2a 2073 6e65 7274 2079 7573 7073 %-*.s entry susp
|
|
4500: 6e65 2064 6874 6572 6461 000a 2d20 2d2d end thread.. ---
|
|
4510: 202d 2d20 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d - -------------
|
|
4520: 0a2d 0000 2d25 2e2a 732a 2520 3430 2064 -...%-*.*s %04d
|
|
4530: 2520 3a64 0000 0000 2d25 2e2a 732a 2520 %d:....%-*.*s %
|
|
4540: 3430 2064 2520 0a64 0000 0000 756d 6574 04d %d.....mute
|
|
4550: 0078 0000 2d25 2e2a 2073 2020 776f 656e x...%-*.s owne
|
|
4560: 2072 6820 6c6f 2064 7573 7073 6e65 2064 r hold suspend
|
|
4570: 6874 6572 6461 000a 2d20 2d2d 2d2d 2d2d thread.. -------
|
|
4580: 202d 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d - ---- ---------
|
|
4590: 2d2d 2d2d 0a2d 0000 2d25 2e2a 732a 2520 -----...%-*.*s %
|
|
45a0: 382d 2a2e 2073 3025 6434 2520 0a64 0000 -8.*s %04d %d...
|
|
45b0: 6573 616d 6870 726f 0065 0000 2d25 2e2a semaphore...%-*.
|
|
45c0: 2073 2076 2020 7573 7073 6e65 2064 6874 s v suspend th
|
|
45d0: 6572 6461 000a 0000 2d20 2d2d 2d20 2d2d read.... --- ---
|
|
45e0: 2d2d 2d2d 2d2d 2d2d 2d2d 0a2d 0000 0000 -----------.....
|
|
45f0: 2d25 2e2a 732a 2520 3330 2064 6425 003a %-*.*s %03d %d:.
|
|
4600: 2d25 2e2a 732a 2520 3330 2064 6425 000a %-*.*s %03d %d..
|
|
4610: 6874 6572 6461 0000 2d25 2e2a 2073 7270 thread..%-*.s pr
|
|
4620: 2069 7320 6174 7574 2073 2020 2020 7320 i status s
|
|
4630: 2070 2020 2020 7473 6361 206b 6973 657a p stack size
|
|
4640: 6d20 7861 7520 6573 2064 656c 7466 7420 max used left t
|
|
4650: 6369 206b 6520 7272 726f 000a 2d20 2d2d ick error.. ---
|
|
4660: 2020 2d2d 2d2d 2d2d 202d 2d2d 2d2d 2d2d ------- ------
|
|
4670: 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d 202d ---- ----------
|
|
4680: 2d20 2d2d 2d2d 202d 2d20 2d2d 2d2d 2d2d ------ -------
|
|
4690: 2d2d 202d 2d2d 0a2d 0000 0000 2d25 2e2a --- ---.....%-*.
|
|
46a0: 732a 2520 6433 0020 7220 6165 7964 2020 *s %3d . ready
|
|
46b0: 0000 0000 7320 7375 6570 646e 0000 0000 .... suspend....
|
|
46c0: 6920 696e 2074 2020 0000 0000 6320 6f6c init .... clo
|
|
46d0: 6573 2020 0000 0000 3020 2578 3830 2078 se .... 0x%08x
|
|
46e0: 7830 3025 7838 2020 2020 3025 6432 2525 0x%08x %02d%%
|
|
46f0: 2020 3020 2578 3830 2078 3025 6433 000a 0x%08x %03d..
|
|
4700: 6974 656d 0072 0000 2d25 2e2a 2073 7020 timer...%-*.s p
|
|
4710: 7265 6f69 6964 2063 2020 6974 656d 756f eriodic timeou
|
|
4720: 2074 2020 2020 2020 6c66 6761 000a 0000 t flag....
|
|
4730: 2d20 2d2d 2d2d 2d2d 2d2d 202d 2d2d 2d2d ---------- ----
|
|
4740: 2d2d 2d2d 2d2d 2d20 2d2d 2d2d 2d2d 2d2d ------ ---------
|
|
4750: 2d2d 000a 2d25 2e2a 732a 3020 2578 3830 --..%-*.*s 0x%08
|
|
4760: 2078 7830 3025 7838 0020 0000 6361 6974 x 0x%08x ...acti
|
|
4770: 6176 6574 0a64 0000 6564 6361 6974 6176 vated...deactiva
|
|
4780: 6574 0a64 0000 0000 7563 7272 6e65 2074 ted.....current
|
|
4790: 6974 6b63 303a 2578 3830 0a78 0000 0000 tick:0x%08x.....
|
|
|
|
000047a0 <__fsym_list_desc>:
|
|
47a0: 696c 7473 6120 6c6c 7320 6d79 6f62 206c list all symbol
|
|
47b0: 6e69 7320 7379 6574 006d 0000 in system...
|
|
|
|
000047bc <__fsym_list_name>:
|
|
47bc: 696c 7473 0000 0000 list....
|
|
|
|
000047c4 <__fsym___cmd_list_device_desc>:
|
|
47c4: 696c 7473 6420 7665 6369 2065 6e69 7320 list device in s
|
|
47d4: 7379 6574 006d 0000 ystem...
|
|
|
|
000047dc <__fsym___cmd_list_device_name>:
|
|
47dc: 5f5f 6d63 5f64 696c 7473 645f 7665 6369 __cmd_list_devic
|
|
47ec: 0065 0000 e...
|
|
|
|
000047f0 <__fsym_list_device_desc>:
|
|
47f0: 696c 7473 6420 7665 6369 2065 6e69 7320 list device in s
|
|
4800: 7379 6574 006d 0000 ystem...
|
|
|
|
00004808 <__fsym_list_device_name>:
|
|
4808: 696c 7473 645f 7665 6369 0065 list_device.
|
|
|
|
00004814 <__fsym___cmd_list_timer_desc>:
|
|
4814: 696c 7473 7420 6d69 7265 6920 206e 7973 list timer in sy
|
|
4824: 7473 6d65 0000 0000 stem....
|
|
|
|
0000482c <__fsym___cmd_list_timer_name>:
|
|
482c: 5f5f 6d63 5f64 696c 7473 745f 6d69 7265 __cmd_list_timer
|
|
483c: 0000 0000 ....
|
|
|
|
00004840 <__fsym_list_timer_desc>:
|
|
4840: 696c 7473 7420 6d69 7265 6920 206e 7973 list timer in sy
|
|
4850: 7473 6d65 0000 0000 stem....
|
|
|
|
00004858 <__fsym_list_timer_name>:
|
|
4858: 696c 7473 745f 6d69 7265 0000 list_timer..
|
|
|
|
00004864 <__fsym___cmd_list_msgqueue_desc>:
|
|
4864: 696c 7473 6d20 7365 6173 6567 7120 6575 list message que
|
|
4874: 6575 6920 206e 7973 7473 6d65 0000 0000 ue in system....
|
|
|
|
00004884 <__fsym___cmd_list_msgqueue_name>:
|
|
4884: 5f5f 6d63 5f64 696c 7473 6d5f 6773 7571 __cmd_list_msgqu
|
|
4894: 7565 0065 eue.
|
|
|
|
00004898 <__fsym_list_msgqueue_desc>:
|
|
4898: 696c 7473 6d20 7365 6173 6567 7120 6575 list message que
|
|
48a8: 6575 6920 206e 7973 7473 6d65 0000 0000 ue in system....
|
|
|
|
000048b8 <__fsym_list_msgqueue_name>:
|
|
48b8: 696c 7473 6d5f 6773 7571 7565 0065 0000 list_msgqueue...
|
|
|
|
000048c8 <__fsym___cmd_list_mailbox_desc>:
|
|
48c8: 696c 7473 6d20 6961 206c 6f62 2078 6e69 list mail box in
|
|
48d8: 7320 7379 6574 006d system.
|
|
|
|
000048e0 <__fsym___cmd_list_mailbox_name>:
|
|
48e0: 5f5f 6d63 5f64 696c 7473 6d5f 6961 626c __cmd_list_mailb
|
|
48f0: 786f 0000 ox..
|
|
|
|
000048f4 <__fsym_list_mailbox_desc>:
|
|
48f4: 696c 7473 6d20 6961 206c 6f62 2078 6e69 list mail box in
|
|
4904: 7320 7379 6574 006d system.
|
|
|
|
0000490c <__fsym_list_mailbox_name>:
|
|
490c: 696c 7473 6d5f 6961 626c 786f 0000 0000 list_mailbox....
|
|
|
|
0000491c <__fsym___cmd_list_mutex_desc>:
|
|
491c: 696c 7473 6d20 7475 7865 6920 206e 7973 list mutex in sy
|
|
492c: 7473 6d65 0000 0000 stem....
|
|
|
|
00004934 <__fsym___cmd_list_mutex_name>:
|
|
4934: 5f5f 6d63 5f64 696c 7473 6d5f 7475 7865 __cmd_list_mutex
|
|
4944: 0000 0000 ....
|
|
|
|
00004948 <__fsym_list_mutex_desc>:
|
|
4948: 696c 7473 6d20 7475 7865 6920 206e 7973 list mutex in sy
|
|
4958: 7473 6d65 0000 0000 stem....
|
|
|
|
00004960 <__fsym_list_mutex_name>:
|
|
4960: 696c 7473 6d5f 7475 7865 0000 list_mutex..
|
|
|
|
0000496c <__fsym___cmd_list_event_desc>:
|
|
496c: 696c 7473 6520 6576 746e 6920 206e 7973 list event in sy
|
|
497c: 7473 6d65 0000 0000 stem....
|
|
|
|
00004984 <__fsym___cmd_list_event_name>:
|
|
4984: 5f5f 6d63 5f64 696c 7473 655f 6576 746e __cmd_list_event
|
|
4994: 0000 0000 ....
|
|
|
|
00004998 <__fsym_list_event_desc>:
|
|
4998: 696c 7473 6520 6576 746e 6920 206e 7973 list event in sy
|
|
49a8: 7473 6d65 0000 0000 stem....
|
|
|
|
000049b0 <__fsym_list_event_name>:
|
|
49b0: 696c 7473 655f 6576 746e 0000 list_event..
|
|
|
|
000049bc <__fsym___cmd_list_sem_desc>:
|
|
49bc: 696c 7473 7320 6d65 7061 6f68 6572 6920 list semaphore i
|
|
49cc: 206e 7973 7473 6d65 0000 0000 n system....
|
|
|
|
000049d8 <__fsym___cmd_list_sem_name>:
|
|
49d8: 5f5f 6d63 5f64 696c 7473 735f 6d65 0000 __cmd_list_sem..
|
|
|
|
000049e8 <__fsym_list_sem_desc>:
|
|
49e8: 696c 7473 7320 6d65 7061 6f68 656e 6920 list semaphone i
|
|
49f8: 206e 7973 7473 6d65 0000 0000 n system....
|
|
|
|
00004a04 <__fsym_list_sem_name>:
|
|
4a04: 696c 7473 735f 6d65 0000 0000 list_sem....
|
|
|
|
00004a10 <__fsym___cmd_list_thread_desc>:
|
|
4a10: 696c 7473 7420 7268 6165 0064 list thread.
|
|
|
|
00004a1c <__fsym___cmd_list_thread_name>:
|
|
4a1c: 5f5f 6d63 5f64 696c 7473 745f 7268 6165 __cmd_list_threa
|
|
4a2c: 0064 0000 d...
|
|
|
|
00004a30 <__fsym_list_thread_desc>:
|
|
4a30: 696c 7473 7420 7268 6165 0064 list thread.
|
|
|
|
00004a3c <__fsym_list_thread_name>:
|
|
4a3c: 696c 7473 745f 7268 6165 0064 list_thread.
|
|
|
|
00004a48 <__fsym___cmd_clear_desc>:
|
|
4a48: 6874 2065 6574 6d72 6e69 6c61 7320 7263 the terminal scr
|
|
4a58: 6565 006e een.
|
|
|
|
00004a5c <__fsym___cmd_clear_name>:
|
|
4a5c: 5f5f 6d63 5f64 6c63 6165 0072 __cmd_clear.
|
|
|
|
00004a68 <__fsym_clear_desc>:
|
|
4a68: 6874 2065 6574 6d72 6e69 6c61 7320 7263 the terminal scr
|
|
4a78: 6565 006e een.
|
|
|
|
00004a7c <__fsym_clear_name>:
|
|
4a7c: 6c63 6165 0072 0000 clear...
|
|
|
|
00004a84 <__fsym___cmd_reboot_desc>:
|
|
4a84: 6572 6f62 746f 7420 6568 6220 616f 6472 reboot the board
|
|
4a94: 0000 0000 ....
|
|
|
|
00004a98 <__fsym___cmd_reboot_name>:
|
|
4a98: 5f5f 6d63 5f64 6572 6f62 746f 0000 0000 __cmd_reboot....
|
|
|
|
00004aa8 <__fsym_reboot_desc>:
|
|
4aa8: 6572 6f62 746f 7420 6568 6220 616f 6472 reboot the board
|
|
4ab8: 0000 0000 ....
|
|
|
|
00004abc <__fsym_reboot_name>:
|
|
4abc: 6572 6f62 746f 0000 002d 0000 7325 0000 reboot..-...%s..
|
|
4acc: 002f 0000 6843 7261 6361 6574 2072 6544 /...Character De
|
|
4adc: 6976 6563 0000 0000 6c42 636f 206b 6544 vice....Block De
|
|
4aec: 6976 6563 0000 0000 654e 7774 726f 206b vice....Network
|
|
4afc: 6e49 6574 6672 6361 0065 0000 544d 2044 Interface...MTD
|
|
4b0c: 6544 6976 6563 0000 4143 204e 6544 6976 Device..CAN Devi
|
|
4b1c: 6563 0000 5452 0043 6f53 6e75 2064 6544 ce..RTC.Sound De
|
|
4b2c: 6976 6563 0000 0000 7247 7061 6968 2063 vice....Graphic
|
|
4b3c: 6544 6976 6563 0000 3249 2043 7542 0073 Device..I2C Bus.
|
|
4b4c: 5355 2042 6c53 7661 2065 6544 6976 6563 USB Slave Device
|
|
4b5c: 0000 0000 5355 2042 6f48 7473 4220 7375 ....USB Host Bus
|
|
4b6c: 0000 0000 5053 2049 7542 0073 5053 2049 ....SPI Bus.SPI
|
|
4b7c: 6544 6976 6563 0000 4453 4f49 4220 7375 Device..SDIO Bus
|
|
4b8c: 0000 0000 4d50 5020 6573 6475 206f 6544 ....PM Pseudo De
|
|
4b9c: 6976 6563 0000 0000 6950 6570 0000 0000 vice....Pipe....
|
|
4bac: 6f50 7472 6c61 4420 7665 6369 0065 0000 Portal Device...
|
|
4bbc: 6954 656d 2072 6544 6976 6563 0000 0000 Timer Device....
|
|
4bcc: 694d 6373 6c65 616c 656e 756f 2073 6544 Miscellaneous De
|
|
4bdc: 6976 6563 0000 0000 6e55 6e6b 776f 006e vice....Unknown.
|
|
4bec: 6f54 206f 616d 796e 6120 6772 2073 2021 Too many args !
|
|
4bfc: 6557 6f20 6c6e 2079 7355 3a65 000a 0000 We only Use:....
|
|
4c0c: 7325 0020 7325 203a 6f63 6d6d 6e61 2064 %s .%s: command
|
|
4c1c: 6f6e 2074 6f66 6e75 2e64 000a 5452 542d not found...RT-T
|
|
4c2c: 7268 6165 2064 6873 6c65 206c 6f63 6d6d hread shell comm
|
|
4c3c: 6e61 7364 0a3a 0000 5f5f 6d63 5f64 0000 ands:...__cmd_..
|
|
4c4c: 2d25 3631 2073 202d 7325 000a %-16s - %s..
|
|
|
|
00004c58 <__fsym___cmd_help_desc>:
|
|
4c58: 5452 542d 7268 6165 2064 6873 6c65 206c RT-Thread shell
|
|
4c68: 6568 706c 0000 0000 help....
|
|
|
|
00004c70 <__fsym___cmd_help_name>:
|
|
4c70: 5f5f 6d63 5f64 6568 706c 0000 __cmd_help..
|
|
|
|
00004c7c <__fsym___cmd_free_desc>:
|
|
4c7c: 6853 776f 7420 6568 6d20 6d65 726f 2079 Show the memory
|
|
4c8c: 7375 6761 2065 6e69 7420 6568 7320 7379 usage in the sys
|
|
4c9c: 6574 006d tem.
|
|
|
|
00004ca0 <__fsym___cmd_free_name>:
|
|
4ca0: 5f5f 6d63 5f64 7266 6565 0000 __cmd_free..
|
|
|
|
00004cac <__fsym___cmd_ps_desc>:
|
|
4cac: 694c 7473 7420 7268 6165 7364 6920 206e List threads in
|
|
4cbc: 6874 2065 7973 7473 6d65 0000 the system..
|
|
|
|
00004cc8 <__fsym___cmd_ps_name>:
|
|
4cc8: 5f5f 6d63 5f64 7370 0000 0000 736d 2068 __cmd_ps....msh
|
|
4cd8: 0000 0000 6966 736e 2068 0000 003e 0000 ....finsh ..>...
|
|
4ce8: 6966 736e 3a68 6320 6e61 6e20 746f 6620 finsh: can not f
|
|
4cf8: 6e69 2064 6564 6976 6563 203a 7325 000a ind device: %s..
|
|
4d08: 6f6e 6d20 6d65 726f 2079 6f66 2072 6873 no memory for sh
|
|
4d18: 6c65 0a6c 0000 0000 7374 6568 6c6c 0000 ell.....tshell..
|
|
4d28: 6873 7872 0000 0000 0008 0000 6325 0000 shrx........%c..
|
|
4d38: 2508 2073 0820 0000 2008 0008 5b1b 4b32 .%s .... ...[2K
|
|
4d48: 000d 0000 7325 7325 0000 0000 ....%s%s....
|
|
|
|
00004d54 <__fsym_pinRead_desc>:
|
|
4d54: 6572 6461 7320 6174 7574 2073 7266 6d6f read status from
|
|
4d64: 6820 7261 7764 7261 2065 6970 006e 0000 hardware pin...
|
|
|
|
00004d74 <__fsym_pinRead_name>:
|
|
4d74: 6970 526e 6165 0064 pinRead.
|
|
|
|
00004d7c <__fsym_pinWrite_desc>:
|
|
4d7c: 7277 7469 2065 6176 756c 2065 6f74 6820 write value to h
|
|
4d8c: 7261 7764 7261 2065 6970 006e ardware pin.
|
|
|
|
00004d98 <__fsym_pinWrite_name>:
|
|
4d98: 6970 576e 6972 6574 0000 0000 pinWrite....
|
|
|
|
00004da4 <__fsym_pinMode_desc>:
|
|
4da4: 6573 2074 6168 6472 6177 6572 7020 6e69 set hardware pin
|
|
4db4: 6d20 646f 0065 0000 mode...
|
|
|
|
00004dbc <__fsym_pinMode_name>:
|
|
4dbc: 6970 4d6e 646f 0065 6175 7472 0031 0000 pinMode.uart1...
|
|
|
|
00004dcc <_ch32_pin_ops>:
|
|
4dcc: 3018 0000 2fd8 0000 2ffa 0000 3096 0000 .0.../.../...0..
|
|
4ddc: 3128 0000 3182 0000 (1...1..
|
|
|
|
00004de4 <pin_irq_map>:
|
|
4de4: 0001 0000 0016 0000 0002 0000 0017 0000 ................
|
|
4df4: 0004 0000 0018 0000 0008 0000 0019 0000 ................
|
|
4e04: 0010 0000 001a 0000 0020 0000 0027 0000 ........ ...'...
|
|
4e14: 0040 0000 0027 0000 0080 0000 0027 0000 @...'.......'...
|
|
4e24: 0100 0000 0027 0000 0200 0000 0027 0000 ....'.......'...
|
|
4e34: 0400 0000 0038 0000 0800 0000 0038 0000 ....8.......8...
|
|
4e44: 1000 0000 0038 0000 2000 0000 0038 0000 ....8.... ..8...
|
|
4e54: 4000 0000 0038 0000 8000 0000 0038 0000 .@..8.......8...
|
|
|
|
00004e64 <pins>:
|
|
4e64: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
4e74: 0001 0000 2f8a 0000 1800 4001 0004 0000 ...../.....@....
|
|
4e84: 0002 0000 2f8a 0000 1800 4001 0008 0000 ...../.....@....
|
|
4e94: 0003 0000 2f8a 0000 1800 4001 0010 0000 ...../.....@....
|
|
4ea4: 0004 0000 2f8a 0000 1800 4001 0020 0000 ...../.....@ ...
|
|
4eb4: 0005 0000 2f8a 0000 1800 4001 0040 0000 ...../.....@@...
|
|
4ec4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
4ed4: 0007 0000 2f7a 0000 1000 4001 2000 0000 ....z/.....@. ..
|
|
4ee4: 0008 0000 2f7a 0000 1000 4001 4000 0000 ....z/.....@.@..
|
|
4ef4: 0009 0000 2f7a 0000 1000 4001 8000 0000 ....z/.....@....
|
|
4f04: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
4f14: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
4f24: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
4f34: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
4f44: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
4f54: 000f 0000 2f7a 0000 1000 4001 0001 0000 ....z/.....@....
|
|
4f64: 0010 0000 2f7a 0000 1000 4001 0002 0000 ....z/.....@....
|
|
4f74: 0011 0000 2f7a 0000 1000 4001 0004 0000 ....z/.....@....
|
|
4f84: 0012 0000 2f7a 0000 1000 4001 0008 0000 ....z/.....@....
|
|
4f94: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
4fa4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
4fb4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
4fc4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
4fd4: 0017 0000 2f6a 0000 0800 4001 0001 0000 ....j/.....@....
|
|
4fe4: 0018 0000 2f6a 0000 0800 4001 0002 0000 ....j/.....@....
|
|
4ff4: 0019 0000 2f6a 0000 0800 4001 0004 0000 ....j/.....@....
|
|
5004: 001a 0000 2f6a 0000 0800 4001 0008 0000 ....j/.....@....
|
|
5014: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5024: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5034: 001d 0000 2f6a 0000 0800 4001 0010 0000 ....j/.....@....
|
|
5044: 001e 0000 2f6a 0000 0800 4001 0020 0000 ....j/.....@ ...
|
|
5054: 001f 0000 2f6a 0000 0800 4001 0040 0000 ....j/.....@@...
|
|
5064: 0020 0000 2f6a 0000 0800 4001 0080 0000 ...j/.....@....
|
|
5074: 0021 0000 2f7a 0000 1000 4001 0010 0000 !...z/.....@....
|
|
5084: 0022 0000 2f7a 0000 1000 4001 0020 0000 "...z/.....@ ...
|
|
5094: 0023 0000 2f5a 0000 0c00 4001 0001 0000 #...Z/.....@....
|
|
50a4: 0024 0000 2f5a 0000 0c00 4001 0002 0000 $...Z/.....@....
|
|
50b4: 0025 0000 2f5a 0000 0c00 4001 0004 0000 %...Z/.....@....
|
|
50c4: 0026 0000 2f8a 0000 1800 4001 0080 0000 &..../.....@....
|
|
50d4: 0027 0000 2f8a 0000 1800 4001 0100 0000 '..../.....@....
|
|
50e4: 0028 0000 2f8a 0000 1800 4001 0200 0000 (..../.....@....
|
|
50f4: 0029 0000 2f8a 0000 1800 4001 0400 0000 )..../.....@....
|
|
5104: 002a 0000 2f8a 0000 1800 4001 0800 0000 *..../.....@....
|
|
5114: 002b 0000 2f8a 0000 1800 4001 1000 0000 +..../.....@....
|
|
5124: 002c 0000 2f8a 0000 1800 4001 2000 0000 ,..../.....@. ..
|
|
5134: 002d 0000 2f8a 0000 1800 4001 4000 0000 -..../.....@.@..
|
|
5144: 002e 0000 2f8a 0000 1800 4001 8000 0000 ...../.....@....
|
|
5154: 002f 0000 2f5a 0000 0c00 4001 0400 0000 /...Z/.....@....
|
|
5164: 0030 0000 2f5a 0000 0c00 4001 0800 0000 0...Z/.....@....
|
|
5174: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5184: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5194: 0033 0000 2f5a 0000 0c00 4001 1000 0000 3...Z/.....@....
|
|
51a4: 0034 0000 2f5a 0000 0c00 4001 2000 0000 4...Z/.....@. ..
|
|
51b4: 0035 0000 2f5a 0000 0c00 4001 4000 0000 5...Z/.....@.@..
|
|
51c4: 0036 0000 2f5a 0000 0c00 4001 8000 0000 6...Z/.....@....
|
|
51d4: 0037 0000 2f48 0000 1400 4001 0100 0000 7...H/.....@....
|
|
51e4: 0038 0000 2f48 0000 1400 4001 0200 0000 8...H/.....@....
|
|
51f4: 0039 0000 2f48 0000 1400 4001 0400 0000 9...H/.....@....
|
|
5204: 003a 0000 2f48 0000 1400 4001 0800 0000 :...H/.....@....
|
|
5214: 003b 0000 2f48 0000 1400 4001 1000 0000 ;...H/.....@....
|
|
5224: 003c 0000 2f48 0000 1400 4001 2000 0000 <...H/.....@. ..
|
|
5234: 003d 0000 2f48 0000 1400 4001 4000 0000 =...H/.....@.@..
|
|
5244: 003e 0000 2f48 0000 1400 4001 8000 0000 >...H/.....@....
|
|
5254: 003f 0000 2f7a 0000 1000 4001 0040 0000 ?...z/.....@@...
|
|
5264: 0040 0000 2f7a 0000 1000 4001 0080 0000 @...z/.....@....
|
|
5274: 0041 0000 2f7a 0000 1000 4001 0100 0000 A...z/.....@....
|
|
5284: 0042 0000 2f7a 0000 1000 4001 0200 0000 B...z/.....@....
|
|
5294: 0043 0000 2f6a 0000 0800 4001 0100 0000 C...j/.....@....
|
|
52a4: 0044 0000 2f6a 0000 0800 4001 0200 0000 D...j/.....@....
|
|
52b4: 0045 0000 2f6a 0000 0800 4001 0400 0000 E...j/.....@....
|
|
52c4: 0046 0000 2f6a 0000 0800 4001 0800 0000 F...j/.....@....
|
|
52d4: 0047 0000 2f6a 0000 0800 4001 1000 0000 G...j/.....@....
|
|
52e4: 0048 0000 2f6a 0000 0800 4001 2000 0000 H...j/.....@. ..
|
|
52f4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5304: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5314: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5324: 004c 0000 2f6a 0000 0800 4001 4000 0000 L...j/.....@.@..
|
|
5334: 004d 0000 2f6a 0000 0800 4001 8000 0000 M...j/.....@....
|
|
5344: 004e 0000 2f7a 0000 1000 4001 0400 0000 N...z/.....@....
|
|
5354: 004f 0000 2f7a 0000 1000 4001 0800 0000 O...z/.....@....
|
|
5364: 0050 0000 2f7a 0000 1000 4001 1000 0000 P...z/.....@....
|
|
5374: 0051 0000 2f48 0000 1400 4001 0001 0000 Q...H/.....@....
|
|
5384: 0052 0000 2f48 0000 1400 4001 0002 0000 R...H/.....@....
|
|
5394: 0053 0000 2f48 0000 1400 4001 0004 0000 S...H/.....@....
|
|
53a4: 0054 0000 2f48 0000 1400 4001 0008 0000 T...H/.....@....
|
|
53b4: 0055 0000 2f48 0000 1400 4001 0010 0000 U...H/.....@....
|
|
53c4: 0056 0000 2f48 0000 1400 4001 0020 0000 V...H/.....@ ...
|
|
53d4: 0057 0000 2f48 0000 1400 4001 0040 0000 W...H/.....@@...
|
|
53e4: 0058 0000 2f48 0000 1400 4001 0080 0000 X...H/.....@....
|
|
53f4: 0059 0000 2f5a 0000 0c00 4001 0008 0000 Y...Z/.....@....
|
|
5404: 005a 0000 2f5a 0000 0c00 4001 0010 0000 Z...Z/.....@....
|
|
5414: 005b 0000 2f5a 0000 0c00 4001 0020 0000 [...Z/.....@ ...
|
|
5424: 005c 0000 2f5a 0000 0c00 4001 0040 0000 \...Z/.....@@...
|
|
5434: 005d 0000 2f5a 0000 0c00 4001 0080 0000 ]...Z/.....@....
|
|
5444: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
5454: 005f 0000 2f5a 0000 0c00 4001 0100 0000 _...Z/.....@....
|
|
5464: 0060 0000 2f5a 0000 0c00 4001 0200 0000 `...Z/.....@....
|
|
5474: 0061 0000 2f8a 0000 1800 4001 0001 0000 a..../.....@....
|
|
5484: 0062 0000 2f8a 0000 1800 4001 0002 0000 b..../.....@....
|
|
5494: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
54a4: ffff ffff 0000 0000 0000 0000 0000 0000 ................
|
|
54b4: 6970 006e pin.
|
|
|
|
000054b8 <ch32_uart_ops>:
|
|
54b8: 34b2 0000 3680 0000 365e 0000 363c 0000 .4...6..^6..<6..
|
|
54c8: 34ae 0000 6820 7261 6664 6c75 0d74 000a .4.. hardfult...
|
|
54d8: 4e20 494d 4820 6e61 6c64 7265 0a0d 0000 NMI Handler....
|
|
54e8: 0a0d 4d20 5543 203a 4843 3233 3356 3330 .. MCU: CH32V303
|
|
54f8: 0a0d 0000 5320 7379 6c43 3a6b 2520 4864 .... SysClk: %dH
|
|
5508: 0d7a 000a 4320 6968 4970 3a44 2520 3830 z... ChipID: %08
|
|
5518: 0d78 000a 7720 7777 772e 6863 632e 0d6e x... www.wch.cn.
|
|
5528: 000a 0000 ....
|
|
|
|
0000552c <__fsym_list_mem>:
|
|
552c: 42c0 0000 42a0 0000 10d0 0000 .B...B......
|
|
|
|
00005538 <__fsym_list>:
|
|
5538: 47bc 0000 47a0 0000 216c 0000 .G...G..l!..
|
|
|
|
00005544 <__fsym___cmd_list_device>:
|
|
5544: 47dc 0000 47c4 0000 203e 0000 .G...G..> ..
|
|
|
|
00005550 <__fsym_list_device>:
|
|
5550: 4808 0000 47f0 0000 203e 0000 .H...G..> ..
|
|
|
|
0000555c <__fsym___cmd_list_timer>:
|
|
555c: 482c 0000 4814 0000 20d2 0000 ,H...H... ..
|
|
|
|
00005568 <__fsym_list_timer>:
|
|
5568: 4858 0000 4840 0000 20d2 0000 XH..@H... ..
|
|
|
|
00005574 <__fsym___cmd_list_msgqueue>:
|
|
5574: 4884 0000 4864 0000 1f88 0000 .H..dH......
|
|
|
|
00005580 <__fsym_list_msgqueue>:
|
|
5580: 48b8 0000 4898 0000 1f88 0000 .H...H......
|
|
|
|
0000558c <__fsym___cmd_list_mailbox>:
|
|
558c: 48e0 0000 48c8 0000 1eca 0000 .H...H......
|
|
|
|
00005598 <__fsym_list_mailbox>:
|
|
5598: 490c 0000 48f4 0000 1eca 0000 .I...H......
|
|
|
|
000055a4 <__fsym___cmd_list_mutex>:
|
|
55a4: 4934 0000 491c 0000 1e48 0000 4I...I..H...
|
|
|
|
000055b0 <__fsym_list_mutex>:
|
|
55b0: 4960 0000 4948 0000 1e48 0000 `I..HI..H...
|
|
|
|
000055bc <__fsym___cmd_list_event>:
|
|
55bc: 4984 0000 496c 0000 1d9c 0000 .I..lI......
|
|
|
|
000055c8 <__fsym_list_event>:
|
|
55c8: 49b0 0000 4998 0000 1d9c 0000 .I...I......
|
|
|
|
000055d4 <__fsym___cmd_list_sem>:
|
|
55d4: 49d8 0000 49bc 0000 1ce6 0000 .I...I......
|
|
|
|
000055e0 <__fsym_list_sem>:
|
|
55e0: 4a04 0000 49e8 0000 1ce6 0000 .J...I......
|
|
|
|
000055ec <__fsym___cmd_list_thread>:
|
|
55ec: 4a1c 0000 4a10 0000 1c06 0000 .J...J......
|
|
|
|
000055f8 <__fsym_list_thread>:
|
|
55f8: 4a3c 0000 4a30 0000 1c06 0000 <J..0J......
|
|
|
|
00005604 <__fsym___cmd_clear>:
|
|
5604: 4a5c 0000 4a48 0000 1b5c 0000 \J..HJ..\...
|
|
|
|
00005610 <__fsym_clear>:
|
|
5610: 4a7c 0000 4a68 0000 1b5c 0000 |J..hJ..\...
|
|
|
|
0000561c <__fsym___cmd_reboot>:
|
|
561c: 4a98 0000 4a84 0000 1b4a 0000 .J...J..J...
|
|
|
|
00005628 <__fsym_reboot>:
|
|
5628: 4abc 0000 4aa8 0000 1b4a 0000 .J...J..J...
|
|
|
|
00005634 <__fsym___cmd_help>:
|
|
5634: 4c70 0000 4c58 0000 21b6 0000 pL..XL...!..
|
|
|
|
00005640 <__fsym___cmd_free>:
|
|
5640: 4ca0 0000 4c7c 0000 246c 0000 .L..|L..l$..
|
|
|
|
0000564c <__fsym___cmd_ps>:
|
|
564c: 4cc8 0000 4cac 0000 245e 0000 .L...L..^$..
|
|
|
|
00005658 <__fsym_pinRead>:
|
|
5658: 4d74 0000 4d54 0000 2dbc 0000 tM..TM...-..
|
|
|
|
00005664 <__fsym_pinWrite>:
|
|
5664: 4d98 0000 4d7c 0000 2da2 0000 .M..|M...-..
|
|
|
|
00005670 <__fsym_pinMode>:
|
|
5670: 4dbc 0000 4da4 0000 2d88 0000 .M...M...-..
|
|
|
|
0000567c <__rt_init_rti_start>:
|
|
567c: 04a6 0000 ....
|
|
|
|
00005680 <__rt_init_rti_board_start>:
|
|
5680: 04ae 0000 ....
|
|
|
|
00005684 <__rt_init_rt_hw_pin_init>:
|
|
5684: 2f9c 0000 ./..
|
|
|
|
00005688 <__rt_init_rt_hw_usart_init>:
|
|
5688: 357c 0000 |5..
|
|
|
|
0000568c <__rt_init_rti_board_end>:
|
|
568c: 04b2 0000 ....
|
|
|
|
00005690 <__rt_init_finsh_system_init>:
|
|
5690: 248c 0000 .$..
|
|
|
|
00005694 <__rt_init_rti_end>:
|
|
5694: 04aa 0000 ....
|