mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
test-spawn: refactor ProcessArgs usage
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
966d0aeb8a
commit
2016282aa1
1 changed files with 5 additions and 1 deletions
|
|
@ -3,7 +3,11 @@ fn main() {
|
|||
let spawn_stub = include_bytes!("spawn-stub");
|
||||
println!("About to launch a process...");
|
||||
|
||||
let args = xous::ProcessArgs::new(spawn_stub);
|
||||
let args = xous::ProcessArgs::new(
|
||||
spawn_stub,
|
||||
xous::MemoryAddress::new(0x2050_1000).unwrap(),
|
||||
xous::MemoryAddress::new(0x2050_1000).unwrap(),
|
||||
);
|
||||
let process = xous::create_process(args).unwrap();
|
||||
println!(
|
||||
"Connected to process. PID: {:?}, CID: {:?}",
|
||||
|
|
|
|||
Loading…
Reference in a new issue