|
|
|
@0a42d381
|
7 years |
salmelu |
USB3 specific descriptors
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d09d108
|
7 years |
aearsis |
ehci: fix irq code broken by rev 2641
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8afb485
|
7 years |
petr.manek |
Decreased buffer size. Printing warning when interrupt fails.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c4c6a2
|
7 years |
petr.manek |
Invoking virtual interrupt on the emulated root hub upon status change.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a0a0d9f4
|
7 years |
petr.manek |
Removed redundant debug messages.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c68c713c
|
7 years |
petr.manek |
Cleanup in constants and other small adjustments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@816335c
|
7 years |
aearsis |
xhci: port speed detected properly
The correct way to determine …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5c5c9407
|
7 years |
petr.manek |
Implemented GetPortStatus request using XHCI port registers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7776cb1
|
7 years |
petr.manek |
Setting correct port number on root hub.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f8199ab
|
7 years |
petr.manek |
Set PwrGood constant.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d14ca59
|
7 years |
petr.manek |
Removed GetHubStatus request implementation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d07b052
|
7 years |
petr.manek |
Setting root hub header upon init.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@65e079b
|
7 years |
Jaroslav Jindrak |
Fixed ADDRESS_DEVICE command by fixing the size of input control …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@472235a
|
7 years |
aearsis |
xhci: refactoring
Revise error paths, refactor some code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@efe9463
|
7 years |
aearsis |
xhci: fix the irq code once again
Previous code unintentionally …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@adb4e683
|
7 years |
Jaroslav Jindrak |
Refactored the way event handling works, now we fetch all of the event …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a1eb7c67
|
7 years |
Jaroslav Jindrak |
Added synchronization to event ring enqueue, removed a leftover debug …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a2b0ba3
|
7 years |
Jaroslav Jindrak |
Added synchronization to trb rin enqueue.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1f76b7d
|
7 years |
aearsis |
fix: unlock rather than deadlock
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@04df063
|
7 years |
aearsis |
xhci commands: enable (and encourage) keeping commands on the stack
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@370a1c8
|
7 years |
salmelu |
Extcap fix, not correctly determine if port is USB 2/3
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4688350b
|
7 years |
aearsis |
xhci commands: waiting for commands completion uses fibril condvar
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4d28d86
|
7 years |
jenda |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9d905f
|
7 years |
jenda |
macros for handoff delay
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6b0dba
|
7 years |
jenda |
BIOS handover
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cc9ac7c
|
7 years |
jenda |
not casting NULL makes gcc complain
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@548c123
|
7 years |
aearsis |
xhci commands: embed TRB into the command structure
Previously, a …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ab5a0830
|
7 years |
aearsis |
Handle interrupts correctly
Now, irq_commands asserts all flags in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6da6039
|
7 years |
Jaroslav Jindrak |
Removed old unneeded allocation in add_cmd, cmd should always be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3d8a3bd
|
7 years |
Jaroslav Jindrak |
Fixed the issue that cause waiting for command completion in alloc_dev …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@decfc8d1
|
7 years |
Jaroslav Jindrak |
Dcbaa_virt now contains the virtual device contexts instead of just …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8b415cc
|
7 years |
Jaroslav Jindrak |
Fixed root hub interrupt detection logic.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee28ae66
|
7 years |
Jaroslav Jindrak |
Fixed deallocation in case of command init failure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d271f78
|
7 years |
Jaroslav Jindrak |
Fixed deallocation incase of rh_init failure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d4148e
|
7 years |
Jaroslav Jindrak |
Added a trb own flag to the command structure to avoid tries to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9304b66
|
7 years |
petr.manek |
Removing command upon deallocation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c33c40e
|
7 years |
petr.manek |
Fixed infinite loop bug. Support non-zero address for RH.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17f24d9
|
7 years |
petr.manek |
Discovered correct way of determining RH address.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@60ac352
|
7 years |
petr.manek |
Better way to detect root hub interrupts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@07c08ea
|
7 years |
petr.manek |
Basic virtual implementation for the root hub.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d32d51d
|
7 years |
petr.manek |
Updated RH implementation with virtual hub emulation structure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ff9e1d
|
7 years |
Jaroslav Jindrak |
Converting, ep_ring→dequeue is nonsensical as it already is a …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@706a3e2
|
7 years |
Jaroslav Jindrak |
Dcbaa_virt now points to virtual device contexts that contain pointers …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e439f468
|
7 years |
petr.manek |
Fixed fini() assertion error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@275f529
|
7 years |
petr.manek |
Detecting transfer types.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d3dce3f
|
7 years |
petr.manek |
Corrected tab.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@176a70a
|
7 years |
petr.manek |
Simple implementation of endpoint management with slot id's.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0ec9e7
|
7 years |
petr.manek |
Added hooks for endpoint management.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e4001f7
|
7 years |
petr.manek |
Added cast to make compiler happy.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d967aa1
|
7 years |
petr.manek |
Converting to physical address.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40053529
|
7 years |
salmelu |
Fixed port reset.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d31705d
|
7 years |
Jaroslav Jindrak |
Added missing command deallocation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9ee13a7
|
7 years |
Jaroslav Jindrak |
Fixed deallocation, corrected cstyle, removed trailing whitespace, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6fa91e4c
|
7 years |
salmelu |
Added macros for device initialization for roothub.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@834d354
|
7 years |
petr.manek |
Corrected cstyle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@174788f
|
7 years |
Jaroslav Jindrak |
Started working on device allocation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7428b92
|
7 years |
Jaroslav Jindrak |
Fixed a typo, added ADD_SET macros for input ctrl context, removed …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@73e5b62
|
7 years |
Jaroslav Jindrak |
DCBAA now correctly holds physical addresses of the device contexts, a …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9bec1c
|
7 years |
Jaroslav Jindrak |
Refactored the add_command function, the return of the cmd was meant …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0cabd10
|
7 years |
petr.manek |
Added command to set TR dequeue pointer.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9f5b613
|
7 years |
petr.manek |
Fixed assert assignment typo.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@66dcc24
|
7 years |
Jaroslav Jindrak |
Fixed port regs reading on port change event, new devices are now …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f7bd246
|
7 years |
Jaroslav Jindrak |
Fixed hub port extraction. Also refactored padding in op_regs, because …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7dee9b7
|
7 years |
Jaroslav Jindrak |
Fixed portrs offset in op_regs, now when we add a device the correct - …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b78a7c1
|
7 years |
Jaroslav Jindrak |
Added setter/getter macro for command trbs to eliminate repeated …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2fa43d1
|
7 years |
Jaroslav Jindrak |
Command handling is now less error prone as we search the list of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3dc519f
|
7 years |
Jaroslav Jindrak |
Added the ability to stop and abort the command ring, though …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@60f7c590
|
7 years |
Jaroslav Jindrak |
Fixed crashes cause by deallocating statically allocated trbs pointed …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eff60ca
|
7 years |
Jaroslav Jindrak |
Refactored the code to ease up the load of irrelevant information in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2e7692f
|
7 years |
Jaroslav Jindrak |
Removed redundant setting of the trb's pcs flag - it is set in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c46c356
|
7 years |
Jaroslav Jindrak |
Added command list deallocation during hc finalization.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e50bdd92
|
7 years |
Jaroslav Jindrak |
Event handler now processes all event trbs that belong to us on the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c4d4fa2
|
7 years |
Jaroslav Jindrak |
Removed unused parameter to command waiting function. Removed …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a06fd64
|
7 years |
Jaroslav Jindrak |
Fixed the ERDP update, we were missing macro definitions for EHB and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aee352c
|
7 years |
Jaroslav Jindrak |
Added a temporary workaround about faulty interrupts (IP being reset …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@110d795
|
7 years |
Jaroslav Jindrak |
Overhauled command system, not a special structure is passed that can …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9af3281
|
7 years |
Jaroslav Jindrak |
Added initialization of allocated ERST segments, previously garbage …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@12fba858
|
7 years |
Jaroslav Jindrak |
Fixed the value of ERDP sent to the xHC, according to section 4.9.4 it …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@955e988
|
7 years |
Jaroslav Jindrak |
Fixed cstyle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cded246
|
7 years |
Jaroslav Jindrak |
Applied similar fix to the dcbaa one, crc_hi was rewriting crc_lo.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79d1e13
|
7 years |
Jaroslav Jindrak |
Fixed dcbaap_hi accessor macro, it was the same as dcbaap_lo and since …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@37789b5f
|
7 years |
Jaroslav Jindrak |
Fixed the dcbaa pointer passed to the xHC.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8bb7090
|
7 years |
Jaroslav Jindrak |
Corrected cstyle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fe5db713
|
7 years |
Jaroslav Jindrak |
Added stream context and input control context extraction macros.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c058a388
|
7 years |
Jaroslav Jindrak |
Added reset device command sender, assertions to sender and TODOs …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7bd99bf
|
7 years |
salmelu |
Added roothub communication for adding devices.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05aeee0e
|
7 years |
Jaroslav Jindrak |
Added reset endpoing and stop endpoint sending functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4fa5342
|
7 years |
Jaroslav Jindrak |
Added more compact way to report error codes similar to the trb type …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9ce62a
|
7 years |
Jaroslav Jindrak |
Added sending function for the evaluate context command.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@665bf3c
|
7 years |
Jaroslav Jindrak |
Added a function that sends the configure endpoint command. Refactored …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8db42f7
|
7 years |
Jaroslav Jindrak |
Added ADDRESS DEVICE command sender and a basic handler.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ac5eb1
|
7 years |
Jaroslav Jindrak |
Added means to send & handle disable slot command, improved cstyle and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c362127
|
7 years |
Jaroslav Jindrak |
Updated .bzrignore to include the HelenOS executable of the xhci driver.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f711f06
|
7 years |
Jaroslav Jindrak |
Added trb command completion code and command type extraction to the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce85fc8
|
7 years |
Jaroslav Jindrak |
Added qword equivalent of the XHCI_DWORD_EXTRACT macro.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9e7fe8
|
7 years |
Jaroslav Jindrak |
Added skeleton for command completion handling.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ee5408
|
7 years |
Jaroslav Jindrak |
Added a basic event handler that currently only calls the command …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f8315ed
|
7 years |
Jaroslav Jindrak |
Added trb completion code definition.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@481af21e
|
7 years |
Jaroslav Jindrak |
Moved common tail of command sending functions into a separate …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fd9f4ffe
|
7 years |
Jaroslav Jindrak |
The xHC now properly gets the physical addresses (with correct …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|