Skip to content

Commit 9615074

Browse files
committed
Adds vop_unlock_desc
1 parent 4efc192 commit 9615074

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
@@ -49,6 +49,8 @@ impl okf::Kernel for Kernel {
4949
#[offset(0x22D0F10)]
5050
const MOUNTLIST_MTX: StaticMut<Self::Mtx>;
5151
const NOCPU: u32 = 0xff;
52+
#[offset(0x1534360)]
53+
const VOP_UNLOCK: StaticMut<Self::VnodeOp>;
5254

5355
type File = File;
5456
type Filesystem = Filesystem;

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ pub trait Kernel: MappedKernel {
5757
const MOUNTLIST: StaticMut<TailQueue<Self::Mount>>;
5858
const MOUNTLIST_MTX: StaticMut<Self::Mtx>;
5959
const NOCPU: u32;
60+
const VOP_UNLOCK: StaticMut<Self::VnodeOp>;
6061

6162
type File: File;
6263
type Filesystem: Filesystem;

0 commit comments

Comments
 (0)