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
8 changed files with 164 additions and 4 deletions
|
@ -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) };
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue