|
|
@bd41ac52
|
6 years |
jakub |
Get rid of sys/time.h
This commit moves the POSIX-like time …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5f97ef44
|
6 years |
jiri.zarevucky |
Sleep is more natural as part of the fibril API.
(the implementation …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c3fb9b
|
7 years |
jiri |
Fix block comment formatting (ccheck).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ebe212
|
7 years |
jiri |
ccheck-fix a few files with for loops.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3bacee1
|
7 years |
jiri |
Make ccheck-fix again and commit more good files.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2172284
|
7 years |
jiri |
Too much magic.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eadaeae8
|
7 years |
jakub |
Make capability handles type-safe
Define distinct pointer types for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e0a5d4c
|
7 years |
aearsis |
usb: update copyrights
The data was generated by a script, guided …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d758fc
|
7 years |
aearsis |
usb: rethinking DMA buffers
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c21e6a5
|
7 years |
aearsis |
usbhost: prepare buffers for transfers in library
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eb862fd
|
7 years |
jenda.jzqk73 |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45457265
|
7 years |
jenda.jzqk73 |
errno_t all the things!
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@77ded647
|
7 years |
aearsis |
xhci: do not avoid 64-bit writes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@19f0048
|
7 years |
aearsis |
xhci: reinitialize in case of HC error
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@73a5857
|
7 years |
aearsis |
usbhost: add joinable_fibril utility
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0247bd2
|
7 years |
aearsis |
xhci: updated obsolete comment
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@132ab5d1
|
7 years |
jenda.jzqk73 |
Merge commit '6a5d05bd2551e64111bea4f9332dd7448c26ce84' into …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@047fbc8
|
7 years |
aearsis |
xhci rh: have standalone buffer for events
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@629255a
|
7 years |
jenda.jzqk73 |
Revert "xhci: transfer events must be fast"
No, it brings another …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4d12eda
|
7 years |
aearsis |
xhci: transfer events must be fast
When a roothub connected device is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8033f89
|
7 years |
aearsis |
xhci: cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@998773d
|
7 years |
aearsis |
xhci trb_ring: make initial ring size variable
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@defaab2
|
7 years |
aearsis |
xhci: tune log levels
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@51c1d500
|
7 years |
aearsis |
xhci: move HC semantics from endpoint/device to hc module
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@abb5d08
|
7 years |
aearsis |
xhci: free context in case of an error
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ec7b7e
|
7 years |
jenda.jzqk73 |
Handling HCs with 32 or 64-bytes context size
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@69b2dfee
|
7 years |
aearsis |
xhci: satisfy picky Intel xHC
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e5a12b
|
7 years |
aearsis |
xhci: make enable/disable slot symmetric
Previously, device slot …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2833bb4
|
7 years |
aearsis |
xhci: recognise hubs
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4e7e6e1
|
7 years |
aearsis |
xhci: setup also slot context where needed
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fb28cde
|
7 years |
aearsis |
xhci: changed api to get dequeue state of trb ring
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05770666
|
7 years |
aearsis |
xhci rh: try to detect hidden connected devices at startup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c0564c
|
7 years |
aearsis |
xhci: handle potentially blocking events in separate fibril
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a9fcd73
|
7 years |
aearsis |
xhci: rewrite RH to use usb/port
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@feabe163
|
7 years |
salmelu |
xhci: common transfer errors detected and logged
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a1732929
|
7 years |
aearsis |
usb: unified logging
Use logger instead of printf. Logger adds …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a98e4a
|
7 years |
aearsis |
xhci: implemented TT
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@001778c
|
7 years |
aearsis |
xhci: set slot context entries to maximum
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@598733c9
|
7 years |
jenda.jzqk73 |
fix broken debug messages && make it compile
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@837581fd
|
7 years |
aearsis |
xhci: logging changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@94e9c29
|
7 years |
salmelu |
xhci: Isoch mfindex epoch counting
Isochronous mfindex is now saved …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0e7380f
|
7 years |
aearsis |
xhci: wait for conditions to hold in a systematic way
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fb154e13
|
7 years |
aearsis |
xhci: revised roothub event handling
According to the xHCI …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d25984
|
7 years |
aearsis |
xhci: removed misleading debug log
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a75f9cbc
|
7 years |
aearsis |
xhci: try to identify custom speeds
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f3baab1
|
7 years |
aearsis |
xhci: do not rely on internal fibril quirks
Previousy, we abused the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@665368c
|
7 years |
salmelu |
xhci: Start tracking mfindex wraps
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@30fc56f
|
7 years |
aearsis |
xhci: stop endpoint on unregister
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@53a9d02
|
7 years |
aearsis |
usb: fix errors introduced by recent changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@708d8fcd
|
7 years |
aearsis |
xhci: rewritten isochronous transfers
There was a fundamental problem …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eb928c4
|
7 years |
aearsis |
xhci: documentation & cleanup
Also, a simple refactoring to remove …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63431db
|
7 years |
aearsis |
xhci: remove unnecessary field
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b60944b
|
7 years |
aearsis |
xhci: inline hc_dcbaa_fini
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@deb2e55
|
7 years |
petr.manek |
usbhost: refactoring
Moved the "online" attribute from xhci_device_t …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f543804
|
7 years |
aearsis |
xhci: fix 32-bit write of EHB not being noticed
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@503086d8
|
7 years |
aearsis |
xhci: get IRQ when an error occures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4abb134
|
7 years |
aearsis |
xhci: fix not setting RCS flag
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@15f8079
|
7 years |
aearsis |
xhci: Program max_slots correctly
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32fb6bce
|
7 years |
aearsis |
usbhost: refactoring
This commit moves interrupt, status and schedule …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6832245
|
7 years |
aearsis |
usbhost bus: refactor the bus ops
This way, method names better …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@889146e
|
7 years |
aearsis |
xhci: commands shall not just timeout
Previous behavior was breaking …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@306a36d
|
7 years |
Hlavaty.Ondrej |
xhci: configuration of endpoint 0
Moved fetching of the first 8B of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e76c0ea
|
7 years |
petr.manek |
Renamed and simplified static method for input context allocation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b80c1ab
|
7 years |
Hlavaty.Ondrej |
xhci: use dma_buffers instead of malloc32 util
A bit of refactoring …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9620a54
|
7 years |
petr.manek |
Small changes. Temporarily fixed no device problem for endpoint …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@928afc8d
|
7 years |
aearsis |
xhci: unleash the full power of xhci_cmd_sync_inline
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2cf28b9
|
7 years |
aearsis |
xhci: connecting devices deeper than to roothub
It still does not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f668d60
|
7 years |
aearsis |
xhci: moved speed back to HC, keeping usb speed → port speed mapping
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5b3de6
|
7 years |
aearsis |
usbhost endpoint: removed target
The reasons for having usb_target_t …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c3d926f
|
7 years |
petr.manek |
Big command refactoring. Unified and encapsulated command function …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0206d35
|
7 years |
aearsis |
Moving things around to improve isolation of responsibilities
Bus …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b724494
|
7 years |
petr.manek |
Moved some code from RH to HC. Simplified device address process. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b61945
|
7 years |
aearsis |
xhci: use device_t for bookkeeping
This started as a little …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5fd9c30
|
7 years |
aearsis |
usbhost refactoring: let transfer_batch be initialized by bus
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f270ecb
|
7 years |
petr.manek |
Implemented disable slot for device detachment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ea7459
|
7 years |
petr.manek |
Refactored some parts of RH to HC. Also moved some bus ops around.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1252e81
|
7 years |
petr.manek |
Added boilerplate function for isoch transfers. Some more checks.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2896ff6
|
7 years |
petr.manek |
Vaguer log level. Extracted timeout constant from command completion …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f6b50f
|
7 years |
petr.manek |
Added DDF device to HCD initialization to prepare RH data structures …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|