blob: afe9f2e4a42faad353d3ebf36c9a4edfa3e14a80 [file] [log] [blame]
Kevin O'Connorc659fde2008-12-28 23:43:20 -05001// Storage for boot definitions.
2#ifndef __BOOT_H
3#define __BOOT_H
4
Kevin O'Connorc659fde2008-12-28 23:43:20 -05005// boot.c
Kevin O'Connor1ca05b02010-01-03 17:43:37 -05006void boot_setup(void);
Kevin O'Connor031ef552010-12-27 19:26:57 -05007void boot_add_bev(u16 seg, u16 bev, u16 desc, int prio);
8void boot_add_bcv(u16 seg, u16 ip, u16 desc, int prio);
Kevin O'Connor77d227b2009-10-22 21:48:39 -04009struct drive_s;
Kevin O'Connorca2bc1c2010-12-29 21:41:19 -050010void boot_add_floppy(struct drive_s *drive_g, const char *desc, int prio);
11void boot_add_hd(struct drive_s *drive_g, const char *desc, int prio);
12void boot_add_cd(struct drive_s *drive_g, const char *desc, int prio);
Kevin O'Connor031ef552010-12-27 19:26:57 -050013void boot_add_cbfs(void *data, const char *desc, int prio);
Kevin O'Connor1ca05b02010-01-03 17:43:37 -050014void boot_prep(void);
Kevin O'Connor1355a882011-07-09 14:31:50 -040015struct pci_device;
Kevin O'Connordc3a7d62011-07-09 14:33:56 -040016int bootprio_find_pci_device(struct pci_device *pci);
Paolo Bonzinic5c488f2012-02-27 17:22:23 +010017int bootprio_find_scsi_device(struct pci_device *pci, int target, int lun);
Kevin O'Connor95b2e0c2011-07-09 14:42:11 -040018int bootprio_find_ata_device(struct pci_device *pci, int chanid, int slave);
Kevin O'Connor03e589c2011-07-09 14:35:37 -040019int bootprio_find_fdc_device(struct pci_device *pci, int port, int fdid);
Kevin O'Connorfce91892011-07-09 14:47:47 -040020int bootprio_find_pci_rom(struct pci_device *pci, int instance);
Kevin O'Connor031ef552010-12-27 19:26:57 -050021int bootprio_find_named_rom(const char *name, int instance);
Kevin O'Connorea274782012-03-08 07:49:09 -050022struct usbdevice_s;
Kevin O'Connor7fa31b52012-06-13 08:47:03 -040023int bootprio_find_usb(struct usbdevice_s *usbdev, int lun);
Kevin O'Connorc659fde2008-12-28 23:43:20 -050024
25#endif // __BOOT_H