Only build debugger on x86_64 for now

This commit is contained in:
Jeremy Soller
2022-07-28 08:21:31 -06:00
parent 8d5ca62499
commit fdb4ad8e88

View File

@@ -1,6 +1,13 @@
use crate::paging::{RmmA, RmmArch};
#[cfg(not(target_arch = "x86_64"))]
pub unsafe fn debugger(target_id: Option<crate::context::ContextId>) {
println!("DEBUGGER TODO");
println!();
}
// Super unsafe due to page table switching and raw pointers!
#[cfg(target_arch = "x86_64")]
pub unsafe fn debugger(target_id: Option<crate::context::ContextId>) {
println!("DEBUGGER START");
println!();