/****************************************************************************/
/*                                                                          */
/*                       IBM/Microsoft Confidential                         */
/*                                                                          */
/*                 Copyright (c) IBM Corporation  1987, 1990                */
/*                 Copyright (c) Microsoft Corp.  1987, 1990                */
/*                           All Rights Reserved                            */
/*                                                                          */
/****************************************************************************/

struct filetable_s
{
    unsigned short ft_cfiles;     /* # of entries in this table */
    unsigned short ft_loaderseg;  /* para # where OS2LDR loaded */
    unsigned long  ft_loaderlen;  /* length of OS2LDR file in bytes*/
    unsigned short ft_museg;      /* para # where micro FSD is loaded */
    unsigned long  ft_mulen;      /* length of micro FSD in bytes */
    unsigned short ft_mfsdseg;    /* para # where mini-FSD loaded */
    unsigned long  ft_mfsdlen;    /* length of mini-FSD file in bytes */
    unsigned short ft_riplseg;    /* para # where Ripl data was loaded */
    unsigned long  ft_ripllen;    /* length of Ripl data file in bytes */
    unsigned short (far *ft_muOpen)(char far *pszName, unsigned long far *pulFileSize);
    unsigned long (far *ft_muRead)(unsigned long offulSeek, char far *pbBuf, unsigned long cbBuf);
    long (far *ft_muClose)(void);       /* long return required for h2inc */
    long (far *ft_muTerminate)(void);   /* long return required for h2inc */
};

//      Boot flags passed to os2ldr: all bits 0 indicates FAT-based boot.
#define BF_NOMFSHVOLIO  0x01    /* (bit 0) mini-FSD does not use mFSH_DOVOLIO */
#define BF_RIPL         0x02    /* (bit 1) remote IPL flag */
#define BF_MINIFSD      0x04    /* (bit 2) mini-FSD flag */
#define BF_NOPICINIT    0x08    /* (bit 3) don't initialize the PIC */
#define BF_MICROFSD     0x10    /* (bit 4) micro-FSD flag */
#define BF_RESERVED     0xe0    /* reserved, must be 0 */
