Merge updates from ch7
This commit is contained in:
parent
394dd61259
commit
c4ee62e338
22 changed files with 477 additions and 62 deletions
|
@ -1,6 +1,7 @@
|
|||
use riscv::register::sstatus::{Sstatus, self, SPP};
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct TrapContext {
|
||||
pub x: [usize; 32],
|
||||
pub sstatus: Sstatus,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue