From 2016282aa130a21cebaf49be01fc3d8f58607fbf Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Sun, 29 May 2022 18:50:44 +0800 Subject: [PATCH] test-spawn: refactor ProcessArgs usage Signed-off-by: Sean Cross --- test-spawn/src/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test-spawn/src/main.rs b/test-spawn/src/main.rs index f3771c824..7d93258b1 100644 --- a/test-spawn/src/main.rs +++ b/test-spawn/src/main.rs @@ -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: {:?}",