BlockDrv Task and Library Details

















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 2010None 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.

FunctionBrief
Lib_BlockDriverDeviceEjectFunction brief pending...
Lib_BlockDriverDeviceInfoFunction brief pending...
Lib_BlockDriverDeviceLoadFunction brief pending...
Lib_BlockDriverDeviceMapFunction brief pending...
Lib_BlockDriverDeviceReadFunction brief pending...
Lib_BlockDriverDeviceReadCHSFunction brief pending...
Lib_BlockDriverDeviceReadyFunction brief pending...
Lib_BlockDriverDeviceRecalibrateFunction brief pending...
Lib_BlockDriverDeviceResetFunction brief pending...
Lib_BlockDriverDeviceSeekFunction brief pending...
Lib_BlockDriverDeviceWriteFunction brief pending...
Lib_BlockDriverDeviceWriteCHSFunction brief pending...











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
  
 BOOL - completion status
  


Purpose
Function purpose description pending.

History
   
 10 February 2009GJP 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
  
 BOOL - completion status
  


Purpose
Function purpose description pending.

History
   
 05 February 2009GJP 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
  
 BOOL - completion status
  


Purpose
Function purpose description pending.

History
   
 10 February 2009GJP 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
  
 DWORD - device map
  


Purpose
Function purpose description pending.

History
   
 29 December 2008GJP 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
  
 BOOL - completion status
  


Purpose
Function purpose description pending.

History
   
 11 February 2009GJP 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
  
 BOOL - completion status
  


Purpose
Function purpose description pending.

History
   
 11 February 2009GJP 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
  
 BOOL - completion status
  


Purpose
Function purpose description pending.

History
   
 10 February 2009GJP 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
  
 BOOL - completion status
  


Purpose
Function purpose description pending.

History
   
 10 February 2009GJP 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
  
 BOOL - completion status
  


Purpose
Function purpose description pending.

History
   
 10 February 2009GJP 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
  
 BOOL - completion status
  


Purpose
Function purpose description pending.

History
   
 10 February 2009GJP 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
  
 BOOL - completion status
  


Purpose
Function purpose description pending.

History
   
 11 February 2009GJP 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
  
 BOOL - completion status
  


Purpose
Function purpose description pending.

History
   
 11 February 2009GJP Created
   

Click here to report an error


Back to top


Back to top


Home   News   Shop   MDOS   Adelian   Luan   Acorn & RISC OS   Consultancy   Hosting   Support   Repository   Contact   Admin                  T and C   Privacy Statement


Click here to report an error or fault with this page