replace as with safer cast in tasking.rs
This commit is contained in:
parent
e469ad705a
commit
60cdc65071
@ -126,7 +126,7 @@ impl Process {
|
||||
kernel_stack.resize(KSTACK_SIZE - 0x4, 0);
|
||||
#[expect(clippy::as_conversions, reason = "Needed to get address of function")]
|
||||
kernel_stack.push(task_init as usize);
|
||||
kernel_stack.push(stack_start as usize + (16 * 4096));
|
||||
kernel_stack.push(usize(stack_start) + (16 * 4096));
|
||||
kernel_stack.push(entry_point.expose_provenance());
|
||||
kernel_stack.push(argument);
|
||||
let mut kernel_stack = kernel_stack.into_boxed_slice();
|
||||
|
Loading…
x
Reference in New Issue
Block a user