Fix `ProcessStartup'

Previously, `ProcessStartup' did not have `repr(C)' above it. This
meant that it was using rust layout, which is weird and is not
compatible with `_xous_syscall_return_result'
This commit is contained in:
Vihaan Jim 2023-08-01 18:55:57 -04:00
parent 218e783053
commit 6369315547

View file

@ -83,6 +83,7 @@ impl TryFrom<[usize; 7]> for ProcessInit {
}
/// When a new process is created, this platform-specific structure is returned.
#[repr(C)]
#[derive(Debug, PartialEq)]
pub struct ProcessStartup {
/// The process ID of the new process