|
|
@9ee13a7
|
8 years |
Jaroslav Jindrak |
Fixed deallocation, corrected cstyle, removed trailing whitespace, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6fa91e4c
|
8 years |
salmelu |
Added macros for device initialization for roothub.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@834d354
|
8 years |
petr.manek |
Corrected cstyle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@174788f
|
8 years |
Jaroslav Jindrak |
Started working on device allocation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7428b92
|
8 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
|
8 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
|
8 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
|
8 years |
petr.manek |
Added command to set TR dequeue pointer.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9f5b613
|
8 years |
petr.manek |
Fixed assert assignment typo.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@66dcc24
|
8 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
|
8 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
|
8 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
|
8 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
|
8 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
|
8 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
|
8 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
|
8 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
|
8 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
|
8 years |
Jaroslav Jindrak |
Added command list deallocation during hc finalization.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e50bdd92
|
8 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
|
8 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
|
8 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
|
8 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
|
8 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
|
8 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
|
8 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
|
8 years |
Jaroslav Jindrak |
Fixed cstyle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cded246
|
8 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
|
8 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
|
8 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
|
8 years |
Jaroslav Jindrak |
Corrected cstyle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fe5db713
|
8 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
|
8 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
|
8 years |
salmelu |
Added roothub communication for adding devices.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05aeee0e
|
8 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
|
8 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
|
|
|
@c9ce62ae
|
8 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
|
8 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
|
8 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
|
8 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
|
8 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
|
8 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
|
8 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
|
8 years |
Jaroslav Jindrak |
Added skeleton for command completion handling.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ee5408
|
8 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
|
8 years |
Jaroslav Jindrak |
Added trb completion code definition.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@481af21e
|
8 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
|
8 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
|
|
|
@c9c0e41
|
8 years |
Jaroslav Jindrak |
Moved commands into their own set of files (WIP).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dfd313b
|
8 years |
Jaroslav Jindrak |
Added definition of input control context and input context data …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@115f25b
|
8 years |
Jaroslav Jindrak |
Added missing guards.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a9ae994
|
8 years |
Jaroslav Jindrak |
Fixed label name and loop variable type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3256a6c
|
8 years |
Jaroslav Jindrak |
Added deallocation of dcbaa and device contexts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b19131c5
|
8 years |
Jaroslav Jindrak |
added scratchpad definition, allocation and deallocation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8cbc167
|
8 years |
Jaroslav Jindrak |
changed dcbaa to array of pointers, see section 6.1
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6133f1
|
8 years |
Jaroslav Jindrak |
fixed comment regarding bit distribution
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8fcd8cf
|
8 years |
aearsis |
xhci: missing tests
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@51b2693
|
8 years |
aearsis |
xhci: missed common.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@91ca111
|
8 years |
aearsis |
xhci: extended capability handling
Currently, only detection of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e4d7363
|
8 years |
aearsis |
usbhost: refactor the initialization
Before that, drivers had to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb89430
|
8 years |
aearsis |
xhci: event rings && hc initialization (WIP)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@62ba2cbe
|
8 years |
aearsis |
xhci: dumping operational state
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce6e001
|
8 years |
aearsis |
xhci: finished register declaration
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@48197c1
|
8 years |
aearsis |
xhci: completed register access macros (+tests)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5cbccd4
|
8 years |
aearsis |
xhci: register structures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f4eb6c93
|
8 years |
aearsis |
xhci: hardware data structures and trb ring management
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5119d34
|
8 years |
aearsis |
Added XHCI driver skeleton
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ee7e6a
|
8 years |
jakub |
Further reduce the number of inclusions of sys/types.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d2dd7f2
|
8 years |
jakub |
Reduce the number of files that include <sys/types.h>
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@805552d
|
8 years |
jakub |
Remove obsolete STATIC_ASSERT, use static_assert instead
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@582a0b8
|
8 years |
jakub |
Remove unistd.h
- Rename usleep() and sleep() to thread_usleep() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e141281
|
8 years |
martin |
cstyle (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dc12262
|
8 years |
martin |
add standardized case fallthrough comment annotations, add actual …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce04ea44
|
8 years |
jakub |
Rename read() to vfs_read() and write() to vfs_write()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9c4cf0d
|
8 years |
jakub |
Rename close() to vfs_put()
This is motivated mainly by the fact that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b19e892
|
8 years |
jakub |
Merge open() with posix_open() and provide vfs_lookup_open() instead
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6e5562a
|
8 years |
jakub |
Introduce vfs_link_path() and replace mkdir() with it
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@23a0368
|
8 years |
jakub |
Rename stat() to vfs_stat_path() and fstat() to vfs_stat()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@58898d1d
|
8 years |
jakub |
Remove VFS_IN_SEEK from VFS
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e9e652
|
9 years |
jakub |
Detect the default ISA bridge by its PCI class and subclass
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3c5b86c
|
9 years |
jakub |
Allow ISA driver to use different .dev configs based on vendor/device …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7f766f4
|
9 years |
jakub |
Treat EBUS as ISA
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c4e30607
|
9 years |
jakub |
Clear ns8250 interrupt when it's handled
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@405b67c
|
9 years |
jakub |
Include the isa and ns8250 drivers in the sparc64 RAM disk image
The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@340513c
|
9 years |
jakub |
Make io_addr naturally wide
Do not clip io_addr to 32-bits as it can …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@54861ca
|
9 years |
jakub |
Define sun4u's pci_conf_regs absolute
We need to pass precise PCI …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92d5279
|
9 years |
jakub |
pciintel: Support alternate method to access PCI configuration space
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9191607
|
9 years |
jakub |
Add foundations of the sun4u platform driver
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d776329b
|
9 years |
jakub |
Remove support for sparc32
This architecture has been unmaintained …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@58563585
|
9 years |
martin |
code review and cstyle cleanup (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4b534ac
|
9 years |
jakub |
Merge from lp:~jan.vesely/helenos/usb
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c170438
|
9 years |
jakub |
Do not create a new fibril for each IRQ notification
In the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1cf26ab
|
9 years |
jakub |
Use static assert instead of regular ones
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4363000
|
9 years |
jakub |
Make sure not to shift bits out of the width of the result
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5012203
|
9 years |
jakub |
IntegratorCP: switch to using the PC/AT (set 2) scancodes
This is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1558d85
|
9 years |
jakub |
Remove duplicate includes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f97f5cc2
|
10 years |
jiri |
Enable partition support with all disk drivers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ff381a7
|
10 years |
jiri |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6afc9d7
|
10 years |
jiri |
UNIX-like I/O functions should use errno to return error code for many …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a637a4
|
10 years |
martin |
remove EEXISTS in favor of EEXIST
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|