mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
cleanup some debug
This commit is contained in:
parent
ee0b1a042c
commit
a58a8dc438
1 changed files with 0 additions and 6 deletions
|
|
@ -690,12 +690,6 @@ impl SystemServices {
|
|||
);
|
||||
}
|
||||
CallbackType::Swap(args) => {
|
||||
#[cfg(feature = "debug-swap")]
|
||||
{
|
||||
let pid = crate::arch::process::current_pid();
|
||||
let hardware_pid = (riscv::register::satp::read().bits() >> 22) & ((1 << 9) - 1);
|
||||
println!("bef invoke PROCESS_TABLE.current: {}, hw_pid: {}", pid.get(), hardware_pid);
|
||||
}
|
||||
arch::syscall::invoke(
|
||||
arch_process.current_thread_mut(),
|
||||
pid.get() == 1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue