SMREmulator 1.0
ShingledMagneticRecordingEmulator

emutypes.h

Go to the documentation of this file.
00001 
00009 #ifndef __EMUTYPES_H_
00010 #define __EMUTYPES_H_
00011 
00012 #include <stdint.h>
00013 
00014 
00015 
00016 /* -- Type Definitions -- */
00017 
00022 typedef int32_t band_t;
00023 
00024 
00029 typedef int32_t rba_t;
00030 
00031 
00039 typedef enum {
00040     INQ_BLKSIZE,
00041     INQ_BNDCOUNT
00042 } inq_t;
00043 
00044 
00055 typedef enum {
00056     SVC_GETPTR = 0x01,
00057     SVC_SETPTR = 0x02,
00058     SVC_GETMULTIPLE = 0x05,
00059     SVC_RESETALL = 0x06,
00060     SVC_GETBANDCONFIG = 0x15,
00061     SVC_SETBANDCONFIG = 0x16
00062 } svc_act_t;
00063 
00064 
00065 
00066 #endif /* __EMUTYPES_H_ */