diff --git a/kernel-1100/src/lib.rs b/kernel-1100/src/lib.rs index 52b03ac..e070ef4 100644 --- a/kernel-1100/src/lib.rs +++ b/kernel-1100/src/lib.rs @@ -40,6 +40,7 @@ impl okf::Kernel for Kernel { const EINTR: NonZero = unsafe { NonZero::new_unchecked(4) }; const EIO: NonZero = unsafe { NonZero::new_unchecked(5) }; const LK_EXCLUSIVE: c_int = 0x80000; + const LK_SHARED: c_int = 0x200000; #[offset(0x15415B0)] const M_TEMP: StaticMut; const MBF_MNTLSTLOCK: c_int = 2; diff --git a/src/lib.rs b/src/lib.rs index 6644411..3b5d57d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -51,6 +51,7 @@ pub trait Kernel: MappedKernel { const EINTR: NonZero; const EIO: NonZero; const LK_EXCLUSIVE: c_int; + const LK_SHARED: c_int; const M_TEMP: StaticMut; const MBF_MNTLSTLOCK: c_int; const MBF_NOWAIT: c_int;