grml...
[seabios.git] / src / boot.h
1 // Storage for boot definitions.
2 #ifndef __BOOT_H
3 #define __BOOT_H
4
5 // boot.c
6 void boot_setup(void);
7 void boot_add_bev(u16 seg, u16 bev, u16 desc, int prio);
8 void boot_add_bcv(u16 seg, u16 ip, u16 desc, int prio);
9 struct drive_s;
10 void boot_add_floppy(struct drive_s *drive_g, const char *desc, int prio);
11 void boot_add_hd(struct drive_s *drive_g, const char *desc, int prio);
12 void boot_add_cd(struct drive_s *drive_g, const char *desc, int prio);
13 void boot_add_cbfs(void *data, const char *desc, int prio);
14 void boot_prep(void);
15 struct pci_device;
16 int bootprio_find_pci_device(struct pci_device *pci);
17 int bootprio_find_ata_device(struct pci_device *pci, int chanid, int slave);
18 int bootprio_find_fdc_device(struct pci_device *pci, int port, int fdid);
19 int bootprio_find_pci_rom(struct pci_device *pci, int instance);
20 int bootprio_find_named_rom(const char *name, int instance);
21 int bootprio_find_usb(struct pci_device *pci, u64 path);
22
23 #endif // __BOOT_H