aboutsummaryrefslogtreecommitdiffstats
path: root/src/fw/smm.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-09-14 21:55:26 -0400
committerKevin O'Connor <kevin@koconnor.net>2013-09-18 20:48:34 -0400
commit2d2fa31b377444991e7993c37f6d6900c6051aca (patch)
tree0d37e45165d29fe4aae15d17f5d19bcf795ea51d /src/fw/smm.c
parent9dea59025f8aa3742ff5b27d1772e1651066ffb9 (diff)
downloadseabios-2d2fa31b377444991e7993c37f6d6900c6051aca.tar.gz
Move function definitions for output.c from util.h to new file output.h.
Also, sort the order of include files in the c files. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/fw/smm.c')
-rw-r--r--src/fw/smm.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/fw/smm.c b/src/fw/smm.c
index 8ca1e83c..7142ac02 100644
--- a/src/fw/smm.c
+++ b/src/fw/smm.c
@@ -5,14 +5,15 @@
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
+#include "config.h" // CONFIG_*
+#include "dev-q35.h"
#include "hw/pci.h" // pci_config_writel
+#include "hw/pci_ids.h" // PCI_VENDOR_ID_INTEL
#include "hw/pci_regs.h" // PCI_DEVICE_ID
-#include "util.h" // dprintf
-#include "config.h" // CONFIG_*
#include "ioport.h" // outb
-#include "hw/pci_ids.h" // PCI_VENDOR_ID_INTEL
-#include "dev-q35.h"
+#include "output.h" // dprintf
#include "string.h" // memcpy
+#include "util.h" // smm_setup
#include "x86.h" // wbinvd
extern u8 smm_relocation_start, smm_relocation_end;