Merge branch 'main' of github.com:betrusted-io/xous-core into main

This commit is contained in:
bunnie 2022-04-05 13:37:19 +08:00
commit 5e369555d2

View file

@ -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(),
}
}
}