[SeaBIOS] [PATCH 06/13] Export callrom() for CSM to use
David Woodhouse
dwmw2 at infradead.org
Mon Jan 28 17:23:39 CET 2013
From: David Woodhouse <David.Woodhouse at intel.com>
Not-yet-signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
src/optionroms.c | 2 +-
src/optionroms.h | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/optionroms.c b/src/optionroms.c
index c79a706..c9e7d7b 100644
--- a/src/optionroms.c
+++ b/src/optionroms.c
@@ -44,7 +44,7 @@ __callrom(struct rom_header *rom, u16 offset, u16 bdf)
}
// Execute a given option rom at the standard entry vector.
-static void
+void
callrom(struct rom_header *rom, u16 bdf)
{
__callrom(rom, OPTION_ROM_INITVECTOR, bdf);
diff --git a/src/optionroms.h b/src/optionroms.h
index 94ca4ae..c5ea4ba 100644
--- a/src/optionroms.h
+++ b/src/optionroms.h
@@ -56,4 +56,7 @@ struct pnp_data {
#define OPTION_ROM_INITVECTOR offsetof(struct rom_header, initVector[0])
#define PCIROM_CODETYPE_X86 0
+void
+callrom(struct rom_header *rom, u16 bdf);
+
#endif
--
1.8.0.2
More information about the SeaBIOS
mailing list