mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
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:
parent
51278451a0
commit
1d75c127e8
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ impl TryFrom<[usize; 7]> for ProcessInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// When a new process is created, this platform-specific structure is returned.
|
/// When a new process is created, this platform-specific structure is returned.
|
||||||
|
#[repr(C)]
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, PartialEq)]
|
||||||
pub struct ProcessStartup {
|
pub struct ProcessStartup {
|
||||||
/// The process ID of the new process
|
/// The process ID of the new process
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue