mirror of
				https://git.proxmox.com/git/grub2
				synced 2025-11-03 23:50:02 +00:00 
			
		
		
		
	* configure.ac: Add support for sparc64 host with ieee1275
        firmware.
        * configure: Generated from configure.ac.
        * disk/ieee1275/ofdisk.c (grub_ofdisk_open): Use grub_ssize_t
        instead of int.
        (grub_ofdisk_read): Likewise.
        (grub_ofdisk_open): Use %p to print pointer values, and cast the
        pointers as (void *) to remove a warning.
        (grub_ofdisk_close): Likewise.
        (grub_ofdisk_read): Likewise.
        * kern/ieee1275/ieee1275.c (grub_ieee1275_exit): This never
        returns, so make it return void to remove a warning.
        * include/grub/ieee1275/ieee1275.h (grub_ieee1275_exit):
        Corresponding prototype change.
        * kern/mm.c (grub_mm_init_region): Use %p to print pointer
        values, and cast the pointers as (void *) to remove a warning.
        (grub_mm_dump): Likewise.
        * conf/sparc64-ieee1275.mk: New file.
        * conf/sparc64-ieee1275.rmk: Likewise.
        * include/grub/sparc64/setjmp.h: Likewise.
        * include/grub/sparc64/types.h: Likewise.
        * include/grub/sparc64/ieee1275/console.h: Likewise.
        * include/grub/sparc64/ieee1275/ieee1275.h: Likewise.
        * include/grub/sparc64/ieee1275/kernel.h: Likewise.
        * include/grub/sparc64/ieee1275/time.h: Likewise.
        * kern/sparc64/cache.c: Likewise.
        * kern/sparc64/dl.c: Likewise.
        * kern/sparc64/ieee1275/init.c: Likewise.
        * kern/sparc64/ieee1275/openfw.c: Likewise.
		
	
			
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 *  GRUB  --  GRand Unified Bootloader
 | 
						|
 *  Copyright (C) 2002, 2004, 2005  Free Software Foundation, Inc.
 | 
						|
 *
 | 
						|
 *  This program is free software; you can redistribute it and/or modify
 | 
						|
 *  it under the terms of the GNU General Public License as published by
 | 
						|
 *  the Free Software Foundation; either version 2 of the License, or
 | 
						|
 *  (at your option) any later version.
 | 
						|
 *
 | 
						|
 *  This program is distributed in the hope that it will be useful,
 | 
						|
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
						|
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
						|
 *  GNU General Public License for more details.
 | 
						|
 *
 | 
						|
 *  You should have received a copy of the GNU General Public License
 | 
						|
 *  along with this program; if not, write to the Free Software
 | 
						|
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef GRUB_CONSOLE_MACHINE_HEADER
 | 
						|
#define GRUB_CONSOLE_MACHINE_HEADER	1
 | 
						|
 | 
						|
/* Define scan codes.  */
 | 
						|
/* FIXME (sparc64).  */
 | 
						|
#define GRUB_CONSOLE_KEY_LEFT		0x4B00
 | 
						|
#define GRUB_CONSOLE_KEY_RIGHT		0x4D00
 | 
						|
#define GRUB_CONSOLE_KEY_UP		0x4800
 | 
						|
#define GRUB_CONSOLE_KEY_DOWN		0x5000
 | 
						|
#define GRUB_CONSOLE_KEY_IC		0x5200
 | 
						|
#define GRUB_CONSOLE_KEY_DC		0x5300
 | 
						|
#define GRUB_CONSOLE_KEY_BACKSPACE	0x0008
 | 
						|
#define GRUB_CONSOLE_KEY_HOME		0x4700
 | 
						|
#define GRUB_CONSOLE_KEY_END		0x4F00
 | 
						|
#define GRUB_CONSOLE_KEY_NPAGE		0x4900
 | 
						|
#define GRUB_CONSOLE_KEY_PPAGE		0x5100
 | 
						|
 | 
						|
/* Initialize the console system.  */
 | 
						|
void grub_console_init (void);
 | 
						|
 | 
						|
/* Finish the console system.  */
 | 
						|
void grub_console_fini (void);
 | 
						|
 | 
						|
#endif /* ! GRUB_CONSOLE_MACHINE_HEADER */
 |