aboutsummaryrefslogtreecommitdiff
path: root/src/apm.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/apm.c
parent9dea59025f8aa3742ff5b27d1772e1651066ffb9 (diff)
downloadseabios-hppa-2d2fa31b377444991e7993c37f6d6900c6051aca.zip
seabios-hppa-2d2fa31b377444991e7993c37f6d6900c6051aca.tar.gz
seabios-hppa-2d2fa31b377444991e7993c37f6d6900c6051aca.tar.bz2
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/apm.c')
-rw-r--r--src/apm.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/apm.c b/src/apm.c
index 32d1f4b..b4b9ed9 100644
--- a/src/apm.c
+++ b/src/apm.c
@@ -6,14 +6,15 @@
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
+#include "biosvar.h" // GET_GLOBAL
#include "bregs.h" // struct bregs
-#include "ioport.h" // outb
-#include "util.h" // dprintf
#include "config.h" // CONFIG_*
-#include "biosvar.h" // GET_GLOBAL
-#include "fw/paravirt.h" // runningOnQEMU
#include "fw/acpi.h" // acpi_pm_ctl
+#include "fw/paravirt.h" // runningOnQEMU
+#include "ioport.h" // outb
+#include "output.h" // dprintf
#include "stacks.h" // yield_toirq
+#include "util.h" // apm_shutdown
static void
out_str(const char *str_cs)