commit | cdbac7f7f105a30d548dba4af41f7d29e2beaa69 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Fri Mar 08 19:33:39 2013 -0500 |
committer | Kevin O'Connor <kevin@koconnor.net> | Fri Mar 08 19:55:26 2013 -0500 |
tree | 91e564ec1e5a6372f771adf0ae7d85803efb610c | |
parent | 96d4c438656b01927a2cb97d395f5e286d6195cf [diff] [blame] |
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>
diff --git a/src/paravirt.c b/src/paravirt.c index f061039..4a26c6e 100644 --- a/src/paravirt.c +++ b/src/paravirt.c
@@ -106,6 +106,7 @@ // Initialize pci pci_setup(); + smm_device_setup(); smm_setup(); // Initialize mtrr and smp