Skip to content

Commit 781b8c8

Browse files
committed
Adds MNT_RDONLY
1 parent 7c650a1 commit 781b8c8

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
@@ -38,6 +38,7 @@ impl okf::Kernel for Kernel {
3838
const M_TEMP: StaticMut<Self::Malloc>;
3939
const MBF_MNTLSTLOCK: c_int = 2;
4040
const MBF_NOWAIT: c_int = 1;
41+
const MNT_RDONLY: u64 = 0x0000000000000001;
4142
#[offset(0x1A6AD60)]
4243
const MOUNTLIST: StaticMut<TailQueue<Self::Mount>>;
4344
#[offset(0x22D0F10)]

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ pub trait Kernel: MappedKernel {
4848
const M_TEMP: StaticMut<Self::Malloc>;
4949
const MBF_MNTLSTLOCK: c_int;
5050
const MBF_NOWAIT: c_int;
51+
const MNT_RDONLY: u64;
5152
const MOUNTLIST: StaticMut<TailQueue<Self::Mount>>;
5253
const MOUNTLIST_MTX: StaticMut<Self::Mtx>;
5354
const NOCPU: u32;

0 commit comments

Comments
 (0)