Add context and file structs
This commit is contained in:
parent
49739d47e8
commit
4e270bb807
1 changed files with 88 additions and 14 deletions
10
kernel/context/file.rs
Normal file
10
kernel/context/file.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//! File struct
|
||||
|
||||
/// A file
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub struct File {
|
||||
/// The scheme that this file refers to
|
||||
pub scheme: usize,
|
||||
/// The number the scheme uses to refer to this file
|
||||
pub number: usize,
|
||||
}
|
||||
Loading…
Reference in a new issue