| | 














| | Task Overview - Task
Task Overview - Library
The BlockDriver task and associated library calls, handles read/write/caching of 'block' type devices such as mass storage.
Task Attributes
Task priority : 128 (normal priority) Task depends on : Tasks/BlockDriver/Library/BlockDrv.a Tasks/OS/Library/OS.a
Task Description
Task description pending.
Library Description
To be written.
Task History
| | | | | 09 September 2010 | None | No history found as yet... | | | | |
Task Function Calls
Here follows a list of functions supplied by this library with a brief description of each. By clicking on a function name, further information will be shown.
Lib_BlockDriverDeviceEject Function brief pending
Function prototype
BOOL Lib_BlockDriverDeviceEject( BYTE *driver, BYTE device );
|
Input parameter(s)
| | | | BYTE *driver | - name of device block driver or NULL | | BYTE device | - device number (0-25) | | | |
Return value
Purpose Function purpose description pending.
History
| | | | | 10 February 2009 | GJP | Created | | | | |
Click here to report an error
Back to top
Lib_BlockDriverDeviceInfo Function brief pending
Function prototype
BOOL Lib_BlockDriverDeviceInfo( BYTE *driver, BYTE device, DRIVEINFO *driveinfo );
|
Input parameter(s)
| | | | BYTE *driver | - name of device block driver or NULL | | BYTE device | - device number (0-25) | | DRIVEINFO *driveinfo | - pointer to info structure to fill | | | |
Return value
Purpose Function purpose description pending.
History
| | | | | 05 February 2009 | GJP | Created | | | | |
Click here to report an error
Back to top
Lib_BlockDriverDeviceLoad Function brief pending
Function prototype
BOOL Lib_BlockDriverDeviceLoad( BYTE *driver, BYTE device );
|
Input parameter(s)
| | | | BYTE *driver | - name of device block driver or NULL | | BYTE device | - device number (0-25) | | | |
Return value
Purpose Function purpose description pending.
History
| | | | | 10 February 2009 | GJP | Created | | | | |
Click here to report an error
Back to top
Lib_BlockDriverDeviceMap Function brief pending
Function prototype
DWORD Lib_BlockDriverDeviceMap( BYTE *driver );
|
Input parameter(s)
| | | | BYTE *driver | - name of device driver or NULL | | | |
Return value
Purpose Function purpose description pending.
History
| | | | | 29 December 2008 | GJP | Created | | | | |
Click here to report an error
Back to top
Lib_BlockDriverDeviceRead Function brief pending
Function prototype
BOOL Lib_BlockDriverDeviceRead( BYTE *buffer, BYTE *driver, BYTE device, DWORD lba, DWORD count );
|
Input parameter(s)
| | | | BYTE *buffer | - address of buffer | | BYTE *driver | - name of device block driver or NULL | | BYTE device | - device number (0-25) | | DWORD lba | - logical block address | | DWORD count | - number of blocks | | | |
Return value
Purpose Function purpose description pending.
History
| | | | | 11 February 2009 | GJP | Created | | | | |
Click here to report an error
Back to top
Lib_BlockDriverDeviceReadCHS Function brief pending
Function prototype
BOOL Lib_BlockDriverDeviceReadCHS( BYTE *buffer, BYTE *driver, BYTE device, DWORD track, DWORD head, DWORD sector, DWORD count );
|
Input parameter(s)
| | | | BYTE *buffer | - address of buffer | | BYTE *driver | - name of device block driver or NULL | | BYTE device | - device number (0-25) | | DWORD track | - track of device | | DWORD head | - head of device | | DWORD sector | - sector of device | | DWORD count | - number of blocks | | | |
Return value
Purpose Function purpose description pending.
History
| | | | | 11 February 2009 | GJP | Created | | | | |
Click here to report an error
Back to top
Lib_BlockDriverDeviceReady Function brief pending
Function prototype
BOOL Lib_BlockDriverDeviceReady( BYTE *driver, BYTE device );
|
Input parameter(s)
| | | | BYTE *driver | - name of device block driver or NULL | | BYTE device | - device number (0-25) | | | |
Return value
Purpose Function purpose description pending.
History
| | | | | 10 February 2009 | GJP | Created | | | | |
Click here to report an error
Back to top
Lib_BlockDriverDeviceRecalibrate Function brief pending
Function prototype
BOOL Lib_BlockDriverDeviceRecalibrate( BYTE *driver, BYTE device );
|
Input parameter(s)
| | | | BYTE *driver | - name of device block driver or NULL | | BYTE device | - device number (0-25) | | | |
Return value
Purpose Function purpose description pending.
History
| | | | | 10 February 2009 | GJP | Created | | | | |
Click here to report an error
Back to top
Lib_BlockDriverDeviceReset Function brief pending
Function prototype
BOOL Lib_BlockDriverDeviceReset( BYTE *driver, BYTE device );
|
Input parameter(s)
| | | | BYTE *driver | - name of device block driver or NULL | | BYTE device | - device number (0-25) | | | |
Return value
Purpose Function purpose description pending.
History
| | | | | 10 February 2009 | GJP | Created | | | | |
Click here to report an error
Back to top
Lib_BlockDriverDeviceSeek Function brief pending
Function prototype
BOOL Lib_BlockDriverDeviceSeek( BYTE *driver, BYTE device, DWORD track );
|
Input parameter(s)
| | | | BYTE *driver | - name of device block driver or NULL | | BYTE device | - device number (0-25) | | DWORD track | - track/cyl address | | | |
Return value
Purpose Function purpose description pending.
History
| | | | | 10 February 2009 | GJP | Created | | | | |
Click here to report an error
Back to top
Lib_BlockDriverDeviceWrite Function brief pending
Function prototype
BOOL Lib_BlockDriverDeviceWrite( BYTE *buffer, BYTE *driver, BYTE device, DWORD lba, DWORD count );
|
Input parameter(s)
| | | | BYTE *buffer | - address of buffer | | BYTE *driver | - name of device block driver or NULL | | BYTE device | - device number (0-25) | | DWORD lba | - logical block address | | DWORD count | - number of blocks | | | |
Return value
Purpose Function purpose description pending.
History
| | | | | 11 February 2009 | GJP | Created | | | | |
Click here to report an error
Back to top
Lib_BlockDriverDeviceWriteCHS Function brief pending
Function prototype
BOOL Lib_BlockDriverDeviceWriteCHS( BYTE *buffer, BYTE *driver, BYTE device, DWORD track, DWORD head, DWORD sector );
|
Input parameter(s)
| | | | BYTE *buffer | - address of buffer | | BYTE *driver | - name of device block driver or NULL | | BYTE device | - device number (0-25) | | DWORD track | - track of device | | DWORD head | - head of device | | DWORD sector | - sector of device | | DWORD count | - number of blocks | | | |
Return value
Purpose Function purpose description pending.
History
| | | | | 11 February 2009 | GJP | Created | | | | |
Click here to report an error
Back to top | |