mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Documented ecall services in WALLY-init-lib
This commit is contained in:
parent
5e550554b5
commit
9a76af809a
@ -28,6 +28,12 @@
|
|||||||
// The PMP tests are sensitive to the exact addresses in this code, so unfortunately
|
// The PMP tests are sensitive to the exact addresses in this code, so unfortunately
|
||||||
// modifying anything breaks those tests.
|
// modifying anything breaks those tests.
|
||||||
|
|
||||||
|
// Provides simple firmware services through ecall. Place argument in a0 and issue ecall:
|
||||||
|
// 0: change to user mode
|
||||||
|
// 1: change to supervisor mode
|
||||||
|
// 3: change to machine mode
|
||||||
|
// 4: terminate program
|
||||||
|
|
||||||
.section .text.init
|
.section .text.init
|
||||||
.global rvtest_entry_point
|
.global rvtest_entry_point
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user