Changeset 217 in xtideuniversalbios for trunk/Serial_Server/library/Library.h
- Timestamp:
- Jan 23, 2012, 10:08:13 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Serial_Server/library/Library.h
r215 r217 29 29 Image( char *name, int p_readOnly, int p_drive ); 30 30 Image( char *name, int p_readOnly, int p_drive, int p_create, unsigned long p_lba ); 31 Image( char *name, int p_readOnly, int p_drive, int p_create, unsigned long p_cyl, unsigned long p_ sect, unsigned long p_head);31 Image( char *name, int p_readOnly, int p_drive, int p_create, unsigned long p_cyl, unsigned long p_head, unsigned long p_sect, int p_useCHS ); 32 32 33 33 virtual ~Image() {}; 34 34 35 35 unsigned long cyl, sect, head; 36 int useCHS; 36 37 37 38 unsigned long totallba; … … 41 42 int drive; 42 43 43 static int parseGeometry( char *str, unsigned long *p_cyl, unsigned long *p_ sect, unsigned long *p_head);44 static int parseGeometry( char *str, unsigned long *p_cyl, unsigned long *p_head, unsigned long *p_sect ); 44 45 45 46 void respondInquire( unsigned short *buff, struct baudRate *baudRate, unsigned char portAndBaud ); 46 47 47 private: 48 void init( char *name, int p_readOnly, int p_drive ); 48 void init( char *name, int p_readOnly, int p_drive, unsigned long p_cyl, unsigned long p_head, unsigned long p_sect, int p_useCHS ); 49 49 }; 50 50
Note:
See TracChangeset
for help on using the changeset viewer.