1 /* ----------------------------------------------------------------------- 2 * 3 * Copyright 2007-2008 H. Peter Anvin - All Rights Reserved 4 * 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. 10 * 11 * ----------------------------------------------------------------------- 12 */ 13 #include <com32.h> 14 #include <core.h> 15 #include <syslinux/memscan.h> 16 #include <syslinux/firmware.h> 17 18 /* 19 * cleanup.c 20 * 21 * Some final tidying before jumping to a kernel or bootsector 22 */ 23 24 /* 25 * cleanup_hardware: 26 * 27 * Shut down anything transient. 28 */ 29 30 __export void cleanup_hardware(void) 31 { 32 firmware->cleanup(); 33 } 34