arch/x86: sync LogicalCpuId changes

This commit is contained in:
Jeremy Soller
2023-09-09 12:31:04 -06:00
parent a4d0960b3f
commit 4cd76ea9e3
5 changed files with 24 additions and 17 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ pub unsafe fn debugger(target_id: Option<crate::context::ContextId>) {
for (id, context_lock) in crate::context::contexts().iter() {
if target_id.map_or(false, |target_id| *id != target_id) { continue; }
let context = context_lock.read();
println!("{}: {}", (*id).into(), context.name);
println!("{}: {}", (*id).get(), context.name);
// Switch to context page table to ensure syscall debug and stack dump will work
if let Some(ref space) = context.addr_space {