mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix ordering of processes so that the swapper is PID 2
This commit is contained in:
parent
71b3244198
commit
ff241b117b
1 changed files with 2 additions and 2 deletions
|
|
@ -229,13 +229,13 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
Some("renode-swap") => {
|
||||
builder.target_renode();
|
||||
// It is important that this is the first service added, because the swapper *must* be in PID 2
|
||||
builder.add_service("xous-swapper", true);
|
||||
builder.add_service("xous-swapper", false);
|
||||
builder.add_kernel_feature("swap");
|
||||
|
||||
for service in base_pkgs {
|
||||
builder.add_service(service, true);
|
||||
}
|
||||
builder.add_service("test-swapper", false); // when we implement loaded-but-swapped, use that instead
|
||||
builder.add_service("test-swapper", true); // when we implement loaded-but-swapped, use that instead
|
||||
builder.add_apps(&get_cratespecs());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue