1 // Storage for boot definitions.
6 /****************************************************************
7 * Initial Program Load (IPL)
8 ****************************************************************/
14 const char *description;
18 struct ipl_entry_s bev[8];
19 struct ipl_entry_s bcv[8];
20 int bevcount, bcvcount;
25 #define IPL_TYPE_FLOPPY 0x01
26 #define IPL_TYPE_HARDDISK 0x02
27 #define IPL_TYPE_CDROM 0x03
28 #define IPL_TYPE_CBFS 0x20
29 #define IPL_TYPE_BEV 0x80
31 #define BCV_TYPE_EXTERNAL 0x80
32 #define BCV_TYPE_INTERNAL 0x02
35 /****************************************************************
37 ****************************************************************/
40 extern struct ipl_s IPL;
41 void boot_setup(void);
42 void add_bev(u16 seg, u16 bev, u16 desc);
43 void add_bcv(u16 seg, u16 ip, u16 desc);
45 void add_bcv_internal(struct drive_s *drive_g);