From 0d6b8d5ff2df9dea30003b03c6af6e6bfb461ce9 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 10 Jul 2010 13:12:37 -0400 Subject: seabios: pciinit: use pci device initializer helper function. This patch makes use of pci device initialization helper function to convert if/switch clause to table driven. So this makes it easier to add q35 initialization code. Signed-off-by: Isaku Yamahata --- src/dev-i440fx.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/dev-i440fx.h (limited to 'src/dev-i440fx.h') diff --git a/src/dev-i440fx.h b/src/dev-i440fx.h new file mode 100644 index 00000000..ded5740d --- /dev/null +++ b/src/dev-i440fx.h @@ -0,0 +1,10 @@ +#ifndef __I440FX_H +#define __I440FX_H + +#include "types.h" // u16 + +void piix_isa_bridge_init(u16 bdf, void *arg); +void piix_ide_init(u16 bdf, void *arg); +void piix4_pm_init(u16 bdf, void *arg); + +#endif // __I440FX_H -- cgit