grml...
[seabios.git] / src / boot.h
index 8f56ccf1de751547152d6608207c9d489a92c373..d776aa10515c080d011c620099f0c841a0c6c9e1 100644 (file)
@@ -3,7 +3,6 @@
 #define __BOOT_H
 
 // boot.c
-extern struct ipl_s IPL;
 void boot_setup(void);
 void boot_add_bev(u16 seg, u16 bev, u16 desc, int prio);
 void boot_add_bcv(u16 seg, u16 ip, u16 desc, int prio);
@@ -13,10 +12,12 @@ void boot_add_hd(struct drive_s *drive_g, const char *desc, int prio);
 void boot_add_cd(struct drive_s *drive_g, const char *desc, int prio);
 void boot_add_cbfs(void *data, const char *desc, int prio);
 void boot_prep(void);
-int bootprio_find_pci_device(int bdf);
-int bootprio_find_ata_device(int bdf, int chanid, int slave);
-int bootprio_find_fdc_device(int bfd, int port, int fdid);
-int bootprio_find_pci_rom(int bdf, int instance);
+struct pci_device;
+int bootprio_find_pci_device(struct pci_device *pci);
+int bootprio_find_ata_device(struct pci_device *pci, int chanid, int slave);
+int bootprio_find_fdc_device(struct pci_device *pci, int port, int fdid);
+int bootprio_find_pci_rom(struct pci_device *pci, int instance);
 int bootprio_find_named_rom(const char *name, int instance);
+int bootprio_find_usb(struct pci_device *pci, u64 path);
 
 #endif // __BOOT_H