mirror of
https://github.com/apache/nuttx.git
synced 2026-10-19 04:43:03 +00:00
riscv_vector.S: Align trap vector to 64 byte
Bump align to 64 byte to support all interrupt mode, it is essential for CLIC. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
384610b253
commit
040e1379cd
1 changed files with 3 additions and 1 deletions
|
|
@ -23,7 +23,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
.section .text
|
||||
.balign 8
|
||||
.balign 64
|
||||
.global __trap_vec
|
||||
|
||||
/****************************************************************************
|
||||
|
|
@ -32,6 +32,8 @@
|
|||
* Description:
|
||||
* All M-mode exceptions and interrupts will be handled from here. If
|
||||
* kernel is in S-mode delegated exceptions and interrupts are handled.
|
||||
* Bump align to 64 byte to support all interrupt mode (PLIC/CLINT/CLIC)
|
||||
* since 64 byte align is essential for CLIC.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue