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:
Jeremy Soller 2016-09-18 17:55:35 -06:00
parent 1b056395bb
commit 483d466b1a
8 changed files with 164 additions and 4 deletions

View file

@ -102,7 +102,12 @@ impl SerialPort {
pub fn on_receive(&mut self) {
let data = self.data.read();
self.write_translate(data);
extern {
fn debug_input(byte: u8);
}
unsafe { debug_input(data) };
}
}