SMREmulator 1.0
ShingledMagneticRecordingEmulator
|
Defines the data types used by the SMR Emulator. More...
#include <stdint.h>
Go to the source code of this file.
Typedefs | |
typedef int32_t | band_t |
Defines a data type for passing band numbers. All band numbers are 32-bit values. | |
typedef int32_t | rba_t |
Defines a data type for passing Relative Block Addresses. All RBAs are 32-bit values. | |
Enumerations | |
enum | inq_t |
Defines the types of inquiry operations that can be used with inquiry(). More... | |
enum | svc_act_t |
Defines the Service Actions that can be used with managebands(). More... |
Defines the data types used by the SMR Emulator.
Definition in file emutypes.h.
enum inq_t |
Defines the types of inquiry operations that can be used with inquiry().
INQ_BLKSIZE | Returns the size of a Block. |
INQ_BNDCOUNT | Returns the size of a Band. |
Definition at line 39 of file emutypes.h.
enum svc_act_t |
Defines the Service Actions that can be used with managebands().
SVC_GETPTR | Retrieves the Write Pointer for a band |
SVC_SETPTR | Sets the Write Pointer for a band |
SVC_GETMULTIPLE | Returns the Write Pointer for multiple bands |
SVC_RESETALL | Resets the Write Pointers for all bands to 0 |
SVC_GETBANDCONFIG | Gets the Band Configuration for a band |
SVC_SETBANDCONFIG | Sets the Band Configuration for a band |
Definition at line 55 of file emutypes.h.