aboutsummaryrefslogtreecommitdiffstats
path: root/core/cleanup.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2014-02-13 16:09:13 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2014-02-13 16:09:13 -0800
commita5727651bb78e7cd1bd90046e24fbcedf4f7dfb9 (patch)
tree6cf28a5896cd1c71841b7bb3e713c257ed86af69 /core/cleanup.c
parent636504f7bb6f9e86cc65addbfb36aed14dc1ecb4 (diff)
downloadsyslinux-a5727651bb78e7cd1bd90046e24fbcedf4f7dfb9.tar.gz
syslinux-a5727651bb78e7cd1bd90046e24fbcedf4f7dfb9.tar.xz
syslinux-a5727651bb78e7cd1bd90046e24fbcedf4f7dfb9.zip
bios: Remove shuffle and boot comapi call
Remove the shuffle and boot comapi call. This is the last of the comapi calls left; we should now be able to completely remove the comapi support. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'core/cleanup.c')
-rw-r--r--core/cleanup.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/core/cleanup.c b/core/cleanup.c
index de318d98..eceb8e94 100644
--- a/core/cleanup.c
+++ b/core/cleanup.c
@@ -15,38 +15,18 @@
#include <syslinux/memscan.h>
#include <syslinux/firmware.h>
-extern void comboot_cleanup_api(void);
-extern void bios_timer_cleanup(void);
-
/*
* cleanup.c
*
* Some final tidying before jumping to a kernel or bootsector
*/
-void bios_cleanup_hardware(void)
-{
- /*
- * TODO
- *
- * Linux wants the floppy motor shut off before starting the
- * kernel, at least bootsect.S seems to imply so. If we don't
- * load the floppy driver, this is *definitely* so!
- */
- __intcall(0x13, &zero_regs, NULL);
-
- call16(comboot_cleanup_api, &zero_regs, NULL);
- call16(bios_timer_cleanup, &zero_regs, NULL);
-
- /* If we enabled serial port interrupts, clean them up now */
- sirq_cleanup();
-}
-
/*
* cleanup_hardware:
*
* Shut down anything transient.
*/
+
__export void cleanup_hardware(void)
{
firmware->cleanup();