Skip to content

Commit 4cdc7d6

Browse files
committed
Adds vop_lookup_desc
1 parent ac314c1 commit 4cdc7d6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

kernel-1100/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ impl okf::Kernel for Kernel {
5555
const MOUNTLIST_MTX: StaticMut<Self::Mtx>;
5656
const NOCPU: u32 = 0xff;
5757
const VDIR: c_int = 2;
58+
#[offset(0x15308F0)]
59+
const VOP_LOOKUP: StaticMut<Self::VnodeOp>;
5860
#[offset(0x1531F70)]
5961
const VOP_READ: StaticMut<Self::VnodeOp>;
6062
#[offset(0x1533A00)]

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ pub trait Kernel: MappedKernel {
6262
const MOUNTLIST_MTX: StaticMut<Self::Mtx>;
6363
const NOCPU: u32;
6464
const VDIR: c_int;
65+
const VOP_LOOKUP: StaticMut<Self::VnodeOp>;
6566
const VOP_READ: StaticMut<Self::VnodeOp>;
6667
const VOP_READDIR: StaticMut<Self::VnodeOp>;
6768
const VOP_UNLOCK: StaticMut<Self::VnodeOp>;

0 commit comments

Comments
 (0)