Kevin O'Connor | c659fde | 2008-12-28 23:43:20 -0500 | [diff] [blame] | 1 | // Storage for boot definitions. |
| 2 | #ifndef __BOOT_H |
| 3 | #define __BOOT_H |
| 4 | |
Kevin O'Connor | c659fde | 2008-12-28 23:43:20 -0500 | [diff] [blame] | 5 | // boot.c |
Kevin O'Connor | d83c87b | 2013-01-21 01:14:12 -0500 | [diff] [blame] | 6 | void boot_init(void); |
Kevin O'Connor | 031ef55 | 2010-12-27 19:26:57 -0500 | [diff] [blame] | 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); |
Kevin O'Connor | 77d227b | 2009-10-22 21:48:39 -0400 | [diff] [blame] | 9 | struct drive_s; |
Kevin O'Connor | ca2bc1c | 2010-12-29 21:41:19 -0500 | [diff] [blame] | 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); |
Kevin O'Connor | 031ef55 | 2010-12-27 19:26:57 -0500 | [diff] [blame] | 13 | void boot_add_cbfs(void *data, const char *desc, int prio); |
Kevin O'Connor | 8a0a972 | 2013-01-21 01:53:31 -0500 | [diff] [blame] | 14 | void interactive_bootmenu(void); |
| 15 | void bcv_prepboot(void); |
Kevin O'Connor | 1355a88 | 2011-07-09 14:31:50 -0400 | [diff] [blame] | 16 | struct pci_device; |
Kevin O'Connor | dc3a7d6 | 2011-07-09 14:33:56 -0400 | [diff] [blame] | 17 | int bootprio_find_pci_device(struct pci_device *pci); |
Paolo Bonzini | c5c488f | 2012-02-27 17:22:23 +0100 | [diff] [blame] | 18 | int bootprio_find_scsi_device(struct pci_device *pci, int target, int lun); |
Kevin O'Connor | 95b2e0c | 2011-07-09 14:42:11 -0400 | [diff] [blame] | 19 | int bootprio_find_ata_device(struct pci_device *pci, int chanid, int slave); |
Kevin O'Connor | 03e589c | 2011-07-09 14:35:37 -0400 | [diff] [blame] | 20 | int bootprio_find_fdc_device(struct pci_device *pci, int port, int fdid); |
Kevin O'Connor | fce9189 | 2011-07-09 14:47:47 -0400 | [diff] [blame] | 21 | int bootprio_find_pci_rom(struct pci_device *pci, int instance); |
Kevin O'Connor | 031ef55 | 2010-12-27 19:26:57 -0500 | [diff] [blame] | 22 | int bootprio_find_named_rom(const char *name, int instance); |
Kevin O'Connor | ea27478 | 2012-03-08 07:49:09 -0500 | [diff] [blame] | 23 | struct usbdevice_s; |
Kevin O'Connor | 7fa31b5 | 2012-06-13 08:47:03 -0400 | [diff] [blame] | 24 | int bootprio_find_usb(struct usbdevice_s *usbdev, int lun); |
Kevin O'Connor | c659fde | 2008-12-28 23:43:20 -0500 | [diff] [blame] | 25 | |
| 26 | #endif // __BOOT_H |