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.
10 lines
334 B
C
10 lines
334 B
C
#ifndef _DRIVER_DRIVER_H
|
|
#define _DRIVER_DRIVER_H
|
|
|
|
_PROTOTYPE( void driver_handle_notify, (struct driver *dp, message *m_ptr) );
|
|
_PROTOTYPE( int driver_handle_request, (struct driver *dp, message *m_ptr) );
|
|
_PROTOTYPE( void driver_reply, (int driver_type, message *m_ptr,
|
|
int ipc_status, int reply) );
|
|
|
|
#endif /* _DRIVER_DRIVER_H */
|