This commit is contained in:
parent
311755c812
commit
4b0e62394e
28 changed files with 142 additions and 88 deletions
|
|
@ -9,7 +9,6 @@ use core::ffi::c_void;
|
|||
#[cfg(feature = "hosted")]
|
||||
use core::panic::PanicInfo;
|
||||
|
||||
#[must_use]
|
||||
fn syscall<T>(id: u64, req: &T) -> Result<(), ZError> {
|
||||
unsafe {
|
||||
let resp = zion::SysCall1(id, req as *const T as *const c_void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue