Skip to content

Commit 86f11a5

Browse files
committed
Adds VDIR
1 parent f307415 commit 86f11a5

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
@@ -51,6 +51,7 @@ impl okf::Kernel for Kernel {
5151
#[offset(0x22D0F10)]
5252
const MOUNTLIST_MTX: StaticMut<Self::Mtx>;
5353
const NOCPU: u32 = 0xff;
54+
const VDIR: c_int = 2;
5455
#[offset(0x1531F70)]
5556
const VOP_READ: StaticMut<Self::VnodeOp>;
5657
#[offset(0x1533A00)]

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ pub trait Kernel: MappedKernel {
5858
const MOUNTLIST: StaticMut<TailQueue<Self::Mount>>;
5959
const MOUNTLIST_MTX: StaticMut<Self::Mtx>;
6060
const NOCPU: u32;
61+
const VDIR: c_int;
6162
const VOP_READ: StaticMut<Self::VnodeOp>;
6263
const VOP_READDIR: StaticMut<Self::VnodeOp>;
6364
const VOP_UNLOCK: StaticMut<Self::VnodeOp>;

0 commit comments

Comments
 (0)