Skip to content

Commit fc604e1

Browse files
committed
Adds LK_EXCLUSIVE
1 parent cda99bf commit fc604e1

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
@@ -39,6 +39,7 @@ impl okf::Kernel for Kernel {
3939
const ACCEPT_MTX: StaticMut<Self::Mtx>;
4040
const EINTR: NonZero<c_int> = unsafe { NonZero::new_unchecked(4) };
4141
const EIO: NonZero<c_int> = unsafe { NonZero::new_unchecked(5) };
42+
const LK_EXCLUSIVE: c_int = 0x80000;
4243
#[offset(0x15415B0)]
4344
const M_TEMP: StaticMut<Self::Malloc>;
4445
const MBF_MNTLSTLOCK: c_int = 2;

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ pub trait Kernel: MappedKernel {
5050
const ACCEPT_MTX: StaticMut<Self::Mtx>;
5151
const EINTR: NonZero<c_int>;
5252
const EIO: NonZero<c_int>;
53+
const LK_EXCLUSIVE: c_int;
5354
const M_TEMP: StaticMut<Self::Malloc>;
5455
const MBF_MNTLSTLOCK: c_int;
5556
const MBF_NOWAIT: c_int;

0 commit comments

Comments
 (0)