Remove K210 support.
This commit is contained in:
parent
3fba081487
commit
775755cf12
17 changed files with 10 additions and 994 deletions
|
@ -56,7 +56,6 @@ pub fn block_current_and_run_next() {
|
|||
let task_cx_ptr = block_current_task();
|
||||
schedule(task_cx_ptr);
|
||||
}
|
||||
#[cfg(feature = "board_qemu")]
|
||||
use crate::board::QEMUExit;
|
||||
|
||||
pub fn exit_current_and_run_next(exit_code: i32) {
|
||||
|
@ -75,7 +74,6 @@ pub fn exit_current_and_run_next(exit_code: i32) {
|
|||
// the process should terminate at once
|
||||
if tid == 0 {
|
||||
let pid = process.getpid();
|
||||
#[cfg(feature = "board_qemu")]
|
||||
if pid == IDLE_PID {
|
||||
println!(
|
||||
"[kernel] Idle process exit with exit_code {} ...",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue