update ch4 with more comments
This commit is contained in:
parent
76056c8626
commit
5946903948
24 changed files with 205 additions and 20 deletions
|
@ -1,6 +1,8 @@
|
|||
//! Implementation of [`TaskContext`]
|
||||
use crate::trap::trap_return;
|
||||
|
||||
#[repr(C)]
|
||||
/// task context structure containing some registers
|
||||
pub struct TaskContext {
|
||||
ra: usize,
|
||||
sp: usize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue