diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-01 16:05:09 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-01 16:05:09 +0100 |
| commit | 561354b69c5ae5e73b036b382988fda02bc9fb01 (patch) | |
| tree | e030b0c493637502f24e0f6e60ae2ca4418e0c03 /rsnix/src/lib.rs | |
| parent | scripts: rebuild the dev loop around build.sh/run.sh (diff) | |
| download | rs-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.rs | 1 |
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; | |||
| 11 | pub mod fs; | 11 | pub mod fs; |
| 12 | pub mod gdt; | 12 | pub mod gdt; |
| 13 | pub mod gop; | 13 | pub mod gop; |
| 14 | pub mod hid; | ||
| 14 | pub mod interrupts; | 15 | pub mod interrupts; |
| 15 | pub mod klog; | 16 | pub mod klog; |
| 16 | pub mod load; | 17 | pub mod load; |
