Skip to content

Commit 726ff2f

Browse files
committed
Adds LK_SHARED
1 parent fc604e1 commit 726ff2f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

kernel-1100/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ impl okf::Kernel for Kernel {
4040
const EINTR: NonZero<c_int> = unsafe { NonZero::new_unchecked(4) };
4141
const EIO: NonZero<c_int> = unsafe { NonZero::new_unchecked(5) };
4242
const LK_EXCLUSIVE: c_int = 0x80000;
43+
const LK_SHARED: c_int = 0x200000;
4344
#[offset(0x15415B0)]
4445
const M_TEMP: StaticMut<Self::Malloc>;
4546
const MBF_MNTLSTLOCK: c_int = 2;

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ pub trait Kernel: MappedKernel {
5151
const EINTR: NonZero<c_int>;
5252
const EIO: NonZero<c_int>;
5353
const LK_EXCLUSIVE: c_int;
54+
const LK_SHARED: c_int;
5455
const M_TEMP: StaticMut<Self::Malloc>;
5556
const MBF_MNTLSTLOCK: c_int;
5657
const MBF_NOWAIT: c_int;

0 commit comments

Comments
 (0)