Skip to content

Commit 4a8a16e

Browse files
committed
Adds VREG
1 parent 9f31f96 commit 4a8a16e

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
@@ -63,6 +63,7 @@ impl okf::Kernel for Kernel {
6363
const VOP_READDIR: StaticMut<Self::VnodeOp>;
6464
#[offset(0x1534360)]
6565
const VOP_UNLOCK: StaticMut<Self::VnodeOp>;
66+
const VREG: c_int = 1;
6667

6768
type ComponentName = ComponentName;
6869
type File = File;

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ pub trait Kernel: MappedKernel {
6767
const VOP_READ: StaticMut<Self::VnodeOp>;
6868
const VOP_READDIR: StaticMut<Self::VnodeOp>;
6969
const VOP_UNLOCK: StaticMut<Self::VnodeOp>;
70+
const VREG: c_int;
7071

7172
type ComponentName: ComponentName<Self>;
7273
type File: File;

0 commit comments

Comments
 (0)