From 3e9d68c6b2fbacfe6f6f1e16e93231aa333bcd8f Mon Sep 17 00:00:00 2001 From: 4lDO2 <4lDO2@protonmail.com> Date: Sun, 17 Mar 2024 18:09:50 +0100 Subject: [PATCH] Fix compilation for nonredox. --- src/arch/nonredox.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/arch/nonredox.rs b/src/arch/nonredox.rs index 65c44fcd80..1cd3daa31b 100644 --- a/src/arch/nonredox.rs +++ b/src/arch/nonredox.rs @@ -27,3 +27,7 @@ pub unsafe fn syscall5(_a: usize, _b: usize, _c: usize, _d: usize, _e: usize, _f -> Result { Err(Error::new(ENOSYS)) } + +#[repr(C)] +#[derive(Clone, Copy, Debug, Default)] +pub struct IntRegisters(u8);