Add fsync. Add env scheme, currently hardcoded to get ion to launch. Make serial IRQ send data to debug scheme
This commit is contained in:
parent
1b056395bb
commit
483d466b1a
1 changed files with 164 additions and 4 deletions
|
|
@ -78,6 +78,10 @@ impl Scheme for InitFsScheme {
|
|||
Err(Error::NotPermitted)
|
||||
}
|
||||
|
||||
fn fsync(&mut self, file: usize) -> Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn close(&mut self, file: usize) -> Result<()> {
|
||||
self.handles.remove(&file).ok_or(Error::BadFile).and(Ok(()))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue