File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,9 @@ impl okf::Kernel for Kernel {
186
186
#[ offset( 0x37BC60 ) ]
187
187
unsafe fn vfs_unbusy ( self , mp : * mut Self :: Mount ) ;
188
188
189
+ #[ offset( 0x12E7E0 ) ]
190
+ unsafe fn vop_read ( self , vec : * mut Self :: VopVector , args : * mut Self :: VopRead ) -> c_int ;
191
+
189
192
#[ offset( 0x1300A0 ) ]
190
193
unsafe fn vop_unlock ( self , vec : * mut Self :: VopVector , args : * mut Self :: VopUnlock ) -> c_int ;
191
194
Original file line number Diff line number Diff line change @@ -239,6 +239,11 @@ pub trait Kernel: MappedKernel {
239
239
/// `mp` cannot be null.
240
240
unsafe fn vfs_unbusy ( self , mp : * mut Self :: Mount ) ;
241
241
242
+ /// # Safety
243
+ /// - `vec` cannot be null.
244
+ /// - `args` cannot be null.
245
+ unsafe fn vop_read ( self , vec : * mut Self :: VopVector , args : * mut Self :: VopRead ) -> c_int ;
246
+
242
247
/// # Safety
243
248
/// - `vec` cannot be null.
244
249
/// - `args` cannot be null.
You can’t perform that action at this time.
0 commit comments