Yong Cong Sin
|
5107320075
|
arch: common: isr_tables: add shell command
Add a shell command to dump the isr_tables.
```CONFIG_SYMTAB=n
uart:~$ isr_table sw_isr_table
_sw_isr_table[1035]
7: 0x800056e2(0)
11: 0x80005048(0x80008148)
22: 0x800054ee(0x80008170)
```
```CONFIG_SYMTAB=y
uart:~$ isr_table sw_isr_table
_sw_isr_table[1035]
7: timer_isr(0)
11: plic_irq_handler(0x80008188)
22: uart_ns16550_isr(0x800081b0)
```
Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
|
2024-08-12 10:10:57 +02:00 |
|