refactor: fix warnings, fix i686 fp context misalign
This commit is contained in:
@@ -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,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user