aboutsummaryrefslogtreecommitdiff
path: root/src/machine/device_io.rs
Commit message (Collapse)AuthorAge
* io: add serial output through port 0x3f8 (qemu)Tianhao Wang2024-06-11
| | | | | not yet wrapped with fmt macros because I want some thing stateless. (i.e. I don't want to pass `&mut self` to write_str...).
* add IOPort structTianhao Wang2024-06-11
| | | | So that device IO can be be synchronized.
* make device_io a arch independent interface.Tianhao Wang2024-06-11
In arm we will be using MMIO instead of the IO instructions. However the peripherals should use the same interface for IOs.