Skip to content

Commit 0ff5267

Browse files
committed
Adds vop_read_desc
1 parent 42bab58 commit 0ff5267

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
@@ -51,6 +51,8 @@ impl okf::Kernel for Kernel {
5151
#[offset(0x22D0F10)]
5252
const MOUNTLIST_MTX: StaticMut<Self::Mtx>;
5353
const NOCPU: u32 = 0xff;
54+
#[offset(0x1531F70)]
55+
const VOP_READ: StaticMut<Self::VnodeOp>;
5456
#[offset(0x1534360)]
5557
const VOP_UNLOCK: StaticMut<Self::VnodeOp>;
5658

src/lib.rs

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

6465
type File: File;

0 commit comments

Comments
 (0)