-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
risc-v: put trap vector at the start of kernel image
Debugging improvements: - Mark the trap handler as a function, so it's not just an arbitrary symbol for the linker. - Force trap entry to be at the start of the kernel runtime image, so the linker does not put it at arbitrary locations. Page alignment is not required on RISC-V for the vector base address, 4-byte alignment is enough. Signed-off-by: Axel Heider <[email protected]>
- Loading branch information
Showing
2 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters