Split kernel/user trap handler && Fix user tests.

This commit is contained in:
Yifan Wu 2020-12-07 18:57:23 +08:00
parent f54573ae15
commit 8ee3671269
13 changed files with 45 additions and 161 deletions

View file

@ -2,7 +2,6 @@ mod context;
mod switch;
mod task;
use crate::config::MAX_APP_NUM;
use crate::loader::{get_num_app, get_app_data};
use crate::trap::TrapContext;
use core::cell::RefCell;