mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
kernel: ignore "ppid unused" warning for now
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
4250d5bb10
commit
a241d89b5b
1 changed files with 2 additions and 2 deletions
|
|
@ -396,7 +396,7 @@ impl SystemServices {
|
||||||
) -> Result<ProcessStartup, xous_kernel::Error> {
|
) -> Result<ProcessStartup, xous_kernel::Error> {
|
||||||
let mut entry_idx = None;
|
let mut entry_idx = None;
|
||||||
let mut new_pid = None;
|
let mut new_pid = None;
|
||||||
let ppid = crate::arch::process::current_pid();
|
let _ppid = crate::arch::process::current_pid();
|
||||||
|
|
||||||
for (idx, entry) in self.processes.iter_mut().enumerate() {
|
for (idx, entry) in self.processes.iter_mut().enumerate() {
|
||||||
if entry.state != ProcessState::Free {
|
if entry.state != ProcessState::Free {
|
||||||
|
|
@ -427,7 +427,7 @@ impl SystemServices {
|
||||||
// the state to `ProcessState::Allocated` and we can go straight to running
|
// the state to `ProcessState::Allocated` and we can go straight to running
|
||||||
// this process.
|
// this process.
|
||||||
entry.state = ProcessState::Ready(1 << INITIAL_TID);
|
entry.state = ProcessState::Ready(1 << INITIAL_TID);
|
||||||
// entry.ppid = ppid;
|
// entry.ppid = _ppid;
|
||||||
klog!("created new process for PID {} with PPID {}", new_pid, ppid);
|
klog!("created new process for PID {} with PPID {}", new_pid, ppid);
|
||||||
return Ok(startup);
|
return Ok(startup);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue