mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-13 07:48:30 +00:00
xous: remove hardcoded addresses from create_process_pre
These addresses were hardcoded, even after they became available from the process args. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
93b6d9f2c5
commit
1d3cf25518
1 changed files with 2 additions and 2 deletions
|
|
@ -159,9 +159,9 @@ pub fn create_process_pre(args: &ProcessArgs) -> core::result::Result<ProcessIni
|
|||
// 2,3 -- Text Start, Text Size
|
||||
text: spawn_memory,
|
||||
// 4 -- Text destination address
|
||||
text_destination: crate::MemoryAddress::new(0x2050_1000).unwrap(),
|
||||
text_destination: args.load_address,
|
||||
// 5 -- Entrypoint
|
||||
start: crate::MemoryAddress::new(0x2050_1000).unwrap(),
|
||||
start: args.entrypoint,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue