summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/device/pci_rom.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/device/pci_rom.h b/src/include/device/pci_rom.h
index 68c8e71b7c..4d82142459 100644
--- a/src/include/device/pci_rom.h
+++ b/src/include/device/pci_rom.h
@@ -1,3 +1,5 @@
+#ifndef PCI_ROM_H
+#define PCI_ROM_H
#include <arch/byteorder.h>
#include <stddef.h>
@@ -30,3 +32,8 @@ struct pci_data {
uint8_t indicator;
uint16_t reserved_2;
};
+
+extern struct rom_header * pci_rom_probe(struct device *dev);
+extern struct rom_header *pci_rom_load(struct device *dev, struct rom_header *rom_header);
+
+#endif