refactor: fix warnings, fix i686 fp context misalign

This commit is contained in:
2024-11-01 20:02:28 +02:00
parent a7f727b58e
commit ebedd96362
22 changed files with 169 additions and 106 deletions
+4 -2
View File
@@ -420,11 +420,13 @@ impl<K: KernelTableManager, PA: PhysicalMemoryAllocator<Address = PhysicalAddres
stack.push(entry as _);
stack.push(arg);
// XXX
setup_common_context(
&mut stack,
__x86_64_task_enter_kernel as _,
unsafe { KERNEL_TABLES.as_physical_address().into_u64() },
#[allow(static_mut_refs)]
unsafe {
KERNEL_TABLES.as_physical_address().into_u64()
},
0,
);