()
| 9 | |
| 10 | impl TaskContext { |
| 11 | pub fn zero_init() -> Self { |
| 12 | Self { |
| 13 | ra: 0, |
| 14 | sp: 0, |
| 15 | s: [0; 12], |
| 16 | } |
| 17 | } |
| 18 | pub fn goto_trap_return(kstack_ptr: usize) -> Self { |
| 19 | Self { |
| 20 | ra: trap_return as usize, |
nothing calls this directly
no outgoing calls
no test coverage detected