]> Zhao Yanbai Git Server - minix.git/commit
ahci/libdriver: multithreading support
authorDavid van Moolenbroek <david@minix3.org>
Wed, 2 Nov 2011 16:31:38 +0000 (16:31 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Fri, 4 Nov 2011 09:37:53 +0000 (09:37 +0000)
commite1d867b686f6c4ed8d729e344df1cb272cbdb10f
treee889c99fe0759afab50db912fd7e226b515748da
parent0812293b4735d5b1e504d21323a7ee853ff8261d
ahci/libdriver: multithreading support

This patch adds support for executing multiple concurrent requests on
different devices on the same AHCI controller. The libdriver library
has been extended to include a generic multithreading interface, and
the AHCI driver has been extended to make use of this interface.

The original version of this code has been written by Arne Welzel.
20 files changed:
common/include/Makefile.inc
common/include/minix/driver.h
common/include/minix/driver_mt.h [new file with mode: 0644]
common/include/minix/mq.h [deleted file]
common/include/minix/u64.h
drivers/ahci/Makefile
drivers/ahci/ahci.c
drivers/ahci/ahci.h
drivers/at_wini/at_wini.c
drivers/hello/hello.c
lib/libdriver/Makefile
lib/libdriver/driver.c
lib/libdriver/driver.h [new file with mode: 0644]
lib/libdriver/driver_mt.c [new file with mode: 0644]
lib/libdriver/driver_st.c [new file with mode: 0644]
lib/libdriver/drvlib.c
lib/libdriver/event.c [new file with mode: 0644]
lib/libdriver/event.h [new file with mode: 0644]
lib/libdriver/mq.c
lib/libdriver/mq.h [new file with mode: 0644]