aboutsummaryrefslogtreecommitdiff
path: root/src/machine
Commit message (Collapse)AuthorAge
* cgascr: init cursor in rust codeTianhao Wang2024-06-11
|
* keyboard: implement leds and rebootTianhao Wang2024-06-11
| | | | works on qemu, untested on real machine
* fix bug in cga driverTianhao Wang2024-06-11
|
* chore: make clippy happyTianhao Wang2024-06-11
|
* PS/2 Keyboard controller: read and decode keyTianhao Wang2024-06-11
|
* PS/2 Keyboard controller: baselineTianhao Wang2024-06-11
|
* add IOPort structTianhao Wang2024-06-11
| | | | So that device IO can be be synchronized.
* keyctl: use bitflags for key modifiersTianhao Wang2024-06-11
| | | | Merge key modifier getters and setters
* 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.
* basic interrupt/PIC supportTianhao Wang2024-06-11
|
* add println! and panic! macroTianhao Wang2024-02-01
| | | | | The rust lazy_static requires interior mutability. I have to include a Mutex impl (spin::Mutex). But I'd like to implement my own primitives.
* formatting code, use tab identation -- before it's too lateTianhao Wang2024-01-30
|
* minimal support for keyctrl, not completeTianhao Wang2023-03-24
|
* usable printf, with some ptr magicTianhao Wang2023-03-15
|
* add delay between IOsTianhao Wang2023-03-14
|
* CGA cursor locationTianhao Wang2023-03-14
|
* adding io portTianhao Wang2023-03-11
|
* fix linkingTianhao Wang2023-03-11
|
* a minimal working demo on bare metalTianhao Wang2023-03-10