XHCI test sending noop command
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 3m12s
Build documentation / build-and-deploy (push) Successful in 3m13s

This commit is contained in:
2026-03-22 23:09:21 +01:00
parent 5cdeb87393
commit b35fc5545c
11 changed files with 360 additions and 31 deletions

View File

@@ -226,8 +226,8 @@ static void ps2kb_set_typematic (uint8_t delay, uint8_t rate) {
}
DEFINE_DEVICE_INIT (ps2kb_init) {
ioapic_route_irq (PS2KB, 1, 0, thiscpu->lapic_id);
irq_attach (&ps2kb_irq, NULL, PS2KB);
ioapic_route_irq (INTR_PS2KB, 1, 0, thiscpu->lapic_id);
irq_attach (&ps2kb_irq, NULL, INTR_PS2KB);
ringbuffer_init (&ps2kb_ringbuffer, PS2KB_RINGBUFFER_MAX, sizeof (uint8_t));
@@ -252,6 +252,6 @@ DEFINE_DEVICE_INIT (ps2kb_init) {
DEFINE_DEVICE_FINI (ps2kb_fini) {
(void)device, (void)proc, (void)rctx;
irq_detach (PS2KB);
irq_detach (INTR_PS2KB);
ringbuffer_fini (&ps2kb_ringbuffer);
}