aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-03-08 19:33:39 -0500
committerKevin O'Connor <kevin@koconnor.net>2013-03-08 19:55:26 -0500
commitcdbac7f7f105a30d548dba4af41f7d29e2beaa69 (patch)
tree91e564ec1e5a6372f771adf0ae7d85803efb610c /src/util.h
parent96d4c438656b01927a2cb97d395f5e286d6195cf (diff)
downloadseabios-cdbac7f7f105a30d548dba4af41f7d29e2beaa69.tar.gz
smm: Don't use PCIDevices list in smm_setup().
The smm_setup() call is invoked from resume. The PCIDevices list is only valid during POST. Cache the necessary PCI BDF ids so that PCIDevices isn't needed. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 306a8bf8..af029fc0 100644
--- a/src/util.h
+++ b/src/util.h
@@ -314,6 +314,7 @@ extern const u8 pci_irqs[4];
void pci_setup(void);
// smm.c
+void smm_device_setup(void);
void smm_setup(void);
// smp.c