| version 1.3, 2004/01/10 17:24:01 | version 1.5, 2004/01/22 01:10:04 | 
| Line 1 | Line 1 | 
 |  |  | 
 |  | #if defined(SUPPORT_HOSTDRV) | 
 |  |  | 
 | #define DIRMAX_DEPTH            8 | #define DIRMAX_DEPTH            8 | 
 |  |  | 
 | enum { | enum { | 
| Line 14  typedef struct { | Line 16  typedef struct { | 
 | } _HDRVFILE, *HDRVFILE; | } _HDRVFILE, *HDRVFILE; | 
 |  |  | 
 | typedef struct { | typedef struct { | 
| UINT8   is_mount; | struct { | 
| UINT8   drive_no; | UINT8   is_mount; | 
| UINT8   dosver_major; | UINT8   drive_no; | 
| UINT8   dosver_minor; | UINT8   dosver_major; | 
| UINT16  sda_off; | UINT8   dosver_minor; | 
| UINT16  sda_seg; | UINT16  sda_off; | 
| UINT    flistpos; | UINT16  sda_seg; | 
|  | UINT    flistpos; | 
|  | }                       stat; | 
 |  |  | 
 | //      LISTARRAY       cache[DIRMAX_DEPTH]; | //      LISTARRAY       cache[DIRMAX_DEPTH]; | 
 | LISTARRAY       fhdl; | LISTARRAY       fhdl; | 
| Line 40  void hostdrv_reset(void); | Line 44  void hostdrv_reset(void); | 
 | // void save_hostdrv(void); | // void save_hostdrv(void); | 
 | // void load_hostdrv(void); | // void load_hostdrv(void); | 
 |  |  | 
| BOOL hostdrv_mount(void); | void hostdrv_mount(const void *arg1, long arg2); | 
| void hostdrv_unmount(void); | void hostdrv_unmount(const void *arg1, long arg2); | 
| void hostdrv_intr(void); | void hostdrv_intr(const void *arg1, long arg2); | 
|  |  | 
|  | int hostdrv_sfsave(STFLAGH sfh, const SFENTRY *tbl); | 
|  | int hostdrv_sfload(STFLAGH sfh, const SFENTRY *tbl); | 
 |  |  | 
 | #ifdef __cplusplus | #ifdef __cplusplus | 
 | } | } | 
 | #endif | #endif | 
 |  |  | 
 |  | #endif | 
 |  |  |