summaryrefslogtreecommitdiffstats
path: root/rsnix/src/lib.rs
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-01 16:05:09 +0100
committersalmonik <salmonik@tuta.io>2026-11-01 16:05:09 +0100
commit561354b69c5ae5e73b036b382988fda02bc9fb01 (patch)
treee030b0c493637502f24e0f6e60ae2ca4418e0c03 /rsnix/src/lib.rs
parentscripts: rebuild the dev loop around build.sh/run.sh (diff)
downloadrs-dos-561354b69c5ae5e73b036b382988fda02bc9fb01.tar.gz
rs-dos-561354b69c5ae5e73b036b382988fda02bc9fb01.zip
usb: re-enable EHCI, share HID keyboard decoding, fix boot protocol
- ehci: DEBUG_MATRIX was left true in be868a4, so every boot replaced enumeration with the one-shot diagnostic transfer matrix and returned false -- the EHCI driver never brought a device up. Default it off; flip it back on only when bisecting a controller fault. - new rsnix/src/hid.rs: boot-keyboard HID usage -> scancode-set-1 tables, the shared scancode FIFO, and a per-device report differ. UHCI now uses it instead of its own copy, so EHCI/xHCI keyboards can feed the same PS/2 decoder (`ps2::feed_scancode`). - uhci: SET_PROTOCOL now asks for the boot protocol (wValue 0) instead of report protocol (wValue 1). In report protocol the report layout is device-defined, but every driver parses boot reports.
Diffstat (limited to '')
-rw-r--r--rsnix/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rsnix/src/lib.rs b/rsnix/src/lib.rs
index 325932a..b4307a3 100644
--- a/rsnix/src/lib.rs
+++ b/rsnix/src/lib.rs
@@ -11,6 +11,7 @@ pub mod font;
11pub mod fs; 11pub mod fs;
12pub mod gdt; 12pub mod gdt;
13pub mod gop; 13pub mod gop;
14pub mod hid;
14pub mod interrupts; 15pub mod interrupts;
15pub mod klog; 16pub mod klog;
16pub mod load; 17pub mod load;