aboutsummaryrefslogtreecommitdiff
path: root/src/apm.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2012-05-28 11:37:53 -0400
committerKevin O'Connor <kevin@koconnor.net>2012-05-28 23:21:43 -0400
commitd3e4367529dc892b861c4dfb4f93f639e7ff3f05 (patch)
treefe2b8ab9bda2b5734c9454294f53e0ddae6341e6 /src/apm.c
parent94c749c34b8783ddfbd1718c837a627b69ba30ed (diff)
downloadseabios-hppa-d3e4367529dc892b861c4dfb4f93f639e7ff3f05.zip
seabios-hppa-d3e4367529dc892b861c4dfb4f93f639e7ff3f05.tar.gz
seabios-hppa-d3e4367529dc892b861c4dfb4f93f639e7ff3f05.tar.bz2
Don't restrict VISIBLEx C functions to only x mode.
Since SeaBIOS has been updated to use "_cfuncx_" prefixes when calling cross-mode C functions, there is no reason to restrict an exported C function to only the given mode. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/apm.c')
-rw-r--r--src/apm.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/apm.c b/src/apm.c
index 5e45b77..54696e9 100644
--- a/src/apm.c
+++ b/src/apm.c
@@ -223,15 +223,8 @@ handle_1553(struct bregs *regs)
}
}
-void VISIBLE16
-handle_apm16(struct bregs *regs)
-{
- debug_enter(regs, DEBUG_HDL_apm);
- handle_1553(regs);
-}
-
-void VISIBLE32SEG
-handle_apm32(struct bregs *regs)
+void VISIBLE16 VISIBLE32SEG
+handle_apm(struct bregs *regs)
{
debug_enter(regs, DEBUG_HDL_apm);
handle_1553(regs);