Skip to content
Commit 3b00fab6 authored by Samuel Holland's avatar Samuel Holland Committed by Leo Yu-Chi Liang
Browse files

riscv: Align the trap handler to 64 bytes



This is required on CPUs which always operate in CLIC mode, such as the
T-HEAD E906 and E907. Per the CLIC specification: "In this mode, the
trap vector base address held in mtvec is constrained to be aligned on a
64-byte or larger power-of-two boundary."

Reported-by: default avatarMadushan Nishantha <jlmadushan@gmail.com>
Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
Reviewed-by: default avatarLeo Yu-Chi Liang <ycliang@andestech.com>
parent a6a77e47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment