2010-01-22 Robert Millan <rmh.grub@aybabtu.com>
Use generic grub_reboot() for i386-efi. * kern/efi/efi.c [__i386__] (grub_reboot): Remove. * kern/i386/efi/startup.S: Include `"../realmode.S"'. * kern/i386/realmode.S: Include `<grub/i386/pc/memory.h>'.
This commit is contained in:
		
							parent
							
								
									bf86e59a76
								
							
						
					
					
						commit
						566863ca19
					
				
					 4 changed files with 17 additions and 3 deletions
				
			
		|  | @ -1,7 +1,7 @@ | |||
| /* startup.S - bootstrap GRUB itself */ | ||||
| /* | ||||
|  *  GRUB  --  GRand Unified Bootloader | ||||
|  *  Copyright (C) 2006,2007  Free Software Foundation, Inc. | ||||
|  *  Copyright (C) 2006,2007,2010  Free Software Foundation, Inc. | ||||
|  * | ||||
|  *  GRUB is free software: you can redistribute it and/or modify | ||||
|  *  it under the terms of the GNU General Public License as published by | ||||
|  | @ -62,3 +62,5 @@ codestart: | |||
| 	movl	%eax, EXT_C(grub_efi_system_table) | ||||
| 	call	EXT_C(grub_main) | ||||
| 	ret | ||||
| 
 | ||||
| #include "../realmode.S" | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| /* | ||||
|  *  GRUB  --  GRand Unified Bootloader | ||||
|  *  Copyright (C) 1999,2000,2001,2002,2003,2005,2006,2007,2009 Free Software Foundation, Inc. | ||||
|  *  Copyright (C) 1999,2000,2001,2002,2003,2005,2006,2007,2009,2010 Free Software Foundation, Inc. | ||||
|  * | ||||
|  *  GRUB is free software: you can redistribute it and/or modify | ||||
|  *  it under the terms of the GNU General Public License as published by | ||||
|  | @ -16,6 +16,7 @@ | |||
|  *  along with GRUB.  If not, see <http://www.gnu.org/licenses/>. | ||||
|  */ | ||||
| 
 | ||||
| #include <grub/i386/pc/memory.h> | ||||
| 
 | ||||
| /* | ||||
|  * Note: These functions defined in this file may be called from C. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue