Skip to content

Commit

Permalink
Adds LK_SHARED
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimaweapon committed Nov 10, 2024
1 parent fc604e1 commit 726ff2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions kernel-1100/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ impl okf::Kernel for Kernel {
const EINTR: NonZero<c_int> = unsafe { NonZero::new_unchecked(4) };
const EIO: NonZero<c_int> = unsafe { NonZero::new_unchecked(5) };
const LK_EXCLUSIVE: c_int = 0x80000;
const LK_SHARED: c_int = 0x200000;
#[offset(0x15415B0)]
const M_TEMP: StaticMut<Self::Malloc>;
const MBF_MNTLSTLOCK: c_int = 2;
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ pub trait Kernel: MappedKernel {
const EINTR: NonZero<c_int>;
const EIO: NonZero<c_int>;
const LK_EXCLUSIVE: c_int;
const LK_SHARED: c_int;
const M_TEMP: StaticMut<Self::Malloc>;
const MBF_MNTLSTLOCK: c_int;
const MBF_NOWAIT: c_int;
Expand Down

0 comments on commit 726ff2f

Please sign in to comment.