Centralize shift_is_held(), make it work to force the command line
[syslinux/sherbszt.git] / core / cleanup.c
blobeceb8e94e2c2779f2362a80108102baeb3dd7932
1 /* -----------------------------------------------------------------------
3 * Copyright 2007-2008 H. Peter Anvin - All Rights Reserved
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 * Boston MA 02111-1307, USA; either version 2 of the License, or
9 * (at your option) any later version; incorporated herein by reference.
11 * -----------------------------------------------------------------------
13 #include <com32.h>
14 #include <core.h>
15 #include <syslinux/memscan.h>
16 #include <syslinux/firmware.h>
19 * cleanup.c
21 * Some final tidying before jumping to a kernel or bootsector
25 * cleanup_hardware:
27 * Shut down anything transient.
30 __export void cleanup_hardware(void)
32 firmware->cleanup();