mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
kernel: services: fix recursion warning in Process
The `Process::defualt()` implementation started getting a recursion warning in 1.60.0. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
e13bb426e3
commit
ab512c8996
1 changed files with 6 additions and 1 deletions
|
|
@ -140,7 +140,12 @@ impl Default for Process {
|
|||
fn default() -> Self {
|
||||
Process {
|
||||
ppid: unsafe { PID::new_unchecked(1) },
|
||||
..Default::default()
|
||||
state: ProcessState::Allocated,
|
||||
pid: unsafe { PID::new_unchecked(2) },
|
||||
current_thread: 0,
|
||||
previous_thread: 0,
|
||||
exception_handler: None,
|
||||
mapping: Default::default(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue