mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
Kernel/USB: Implement test transfer
We can now test a _very_ basic transaction via `do_debug_transfer()`. This function merely attaches some TDs to the LSCTRL queue head and points some input and output buffers. We then sense an interrupt with USBSTS value of 1, meaning Interrupt On Completion (of the transaction). At this point, the input buffer is filled with some data.
This commit is contained in:
parent
3fb7e98e42
commit
6df15aca7e
4 changed files with 95 additions and 7 deletions
|
@ -247,7 +247,6 @@ void init_stage2(void*)
|
|||
}
|
||||
|
||||
USB::UHCIController::detect();
|
||||
USB::UHCIController::the().spawn_port_proc();
|
||||
|
||||
E1000NetworkAdapter::detect();
|
||||
RTL8139NetworkAdapter::detect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue