Run hello_world/power one by one in batch mode.
This commit is contained in:
parent
bae5383602
commit
2ce04bf19f
10 changed files with 74 additions and 26 deletions
|
@ -2,9 +2,9 @@ use riscv::register::sstatus::{Sstatus, self, SPP};
|
|||
|
||||
#[repr(C)]
|
||||
pub struct TrapContext {
|
||||
x: [usize; 32],
|
||||
sstatus: Sstatus,
|
||||
sepc: usize,
|
||||
pub x: [usize; 32],
|
||||
pub sstatus: Sstatus,
|
||||
pub sepc: usize,
|
||||
}
|
||||
|
||||
impl TrapContext {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue