|
|
|
@dbf32b1
|
7 years |
aearsis |
xhci: cleanup
And by the way… the USB mouse is now working
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bb784ae
|
7 years |
petr.manek |
Added max ESIT payload macro.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f971e957
|
7 years |
salmelu |
Removed hardcoded target for doorbell
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3afcf68
|
7 years |
salmelu |
Removed unnecessary malloc and forced bounds for async transfer
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7db009
|
7 years |
aearsis |
xhci: fix crashing QEMU
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9b2f69e
|
7 years |
petr.manek |
Setting up endpoint contexts (almost) properly. Boilerplate for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@816f5f4
|
7 years |
salmelu |
Remote USB (async) sending structures
remote_usb_register_endpoint is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2770b66
|
7 years |
petr.manek |
Fixed few bugs related to control transfers and some deadlocks. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@20eaa82
|
7 years |
aearsis |
usbhost refactoring: introduced bus→enumerate_device
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@867b375
|
7 years |
aearsis |
hcd_ddf_new_device refactoring
This long function is now split into …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d7869d7e
|
7 years |
petr.manek |
Reading assigned USB addresses, issuing Configure Endpoint commands to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2297fab
|
7 years |
petr.manek |
Reintroduced alloc_dev(), brought it up to speed with recent changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dcf0597
|
7 years |
aearsis |
xhci rh: move away from virthub
xHC's root hub is too different from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@063dfe8
|
7 years |
petr.manek |
Moved initialization and polished some log messages.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c10daa8
|
7 years |
petr.manek |
Refactored XHCI bus to hold devices instead of endpoints. Added middle …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@366e9b6
|
7 years |
aearsis |
usbhost: setup of the root hub is now a method of an driver
[oue]hci …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb69854
|
7 years |
petr.manek |
Returning some basic speed, so that we can get xhci up and running.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5995383c
|
7 years |
aearsis |
usbhost refactoring: fix introduced bugs
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0e4b5b2
|
7 years |
aearsis |
usbhost refactoring: vhc
Now, please, review.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@741bcdeb
|
7 years |
aearsis |
WIP usbhost refactoring: ehci completed
vhc to go…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6b9182
|
7 years |
aearsis |
WIP usbhost refactoring: ohci completed
Along with that we noticed …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0a5833d7
|
7 years |
petr.manek |
Corrected endpoint access.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0e3e1f6
|
7 years |
petr.manek |
Corrected to assume endpoint_t is actually xhci_endpoint_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a8435eb5
|
7 years |
petr.manek |
Implemented data structure for endpoint management using USB target as …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9d787c
|
7 years |
salmelu |
Target is not a pointer
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc0271a5
|
7 years |
aearsis |
WIP usbhost refactoring: uhci converted
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d0db4a0
|
7 years |
salmelu |
Doorbell target fix
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@add878aa
|
7 years |
petr.manek |
Added empty implementation of XHCI bus method bodies.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5976973
|
7 years |
aearsis |
fixup: forgotten files
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@41924f30
|
7 years |
aearsis |
WIP usbhost refactoring
This commit replaces callbacks with more …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e74911
|
7 years |
petr.manek |
Delegated transfer block recycling to the kernel frame allocator. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63adb18
|
7 years |
petr.manek |
Added transfer block data structure and dequeue mechanism.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eaf5e86
|
7 years |
aearsis |
xhci: whitespace fixes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ac18b08
|
7 years |
salmelu |
Added superspeed endpoint companion descriptor
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@42bc933
|
7 years |
salmelu |
Dummy for bulk transfers (need to support streams)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a0be5d0
|
7 years |
salmelu |
Moved ring_doorbell, added address check
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae03552e
|
7 years |
aearsis |
hcd: get rid of async_usleep
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9e24f2
|
7 years |
salmelu |
Basic commands transfer implementation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@078e0e6
|
7 years |
Jaroslav Jindrak |
Removed unnecessary calls to malloc32 and free32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4930b15
|
7 years |
petr.manek |
Better log message for the status change handler.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@916991b
|
7 years |
petr.manek |
Implemented SetStatusFeature request.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9876e34
|
7 years |
petr.manek |
Removed previous implementation, forwarding all events to hub, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@44063d17
|
7 years |
Jaroslav Jindrak |
TRB ring for EP 0 is now stored in the virtual dcbaa.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4c066e
|
7 years |
salmelu |
Added TRB macros, qword set
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|