mirror of https://github.com/ipxe/ipxe.git
[console] Remove unused "btext" console
The "btext" console has been disabled by a "#if 0" since 2007. Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/6/head
parent
a6d49c17c9
commit
b35d454422
|
@ -71,9 +71,6 @@ REQUIRE_OBJECT ( serial_console );
|
||||||
#ifdef CONSOLE_DIRECT_VGA
|
#ifdef CONSOLE_DIRECT_VGA
|
||||||
REQUIRE_OBJECT ( video_subr );
|
REQUIRE_OBJECT ( video_subr );
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONSOLE_BTEXT
|
|
||||||
REQUIRE_OBJECT ( btext );
|
|
||||||
#endif
|
|
||||||
#ifdef CONSOLE_PC_KBD
|
#ifdef CONSOLE_PC_KBD
|
||||||
REQUIRE_OBJECT ( pc_kbd );
|
REQUIRE_OBJECT ( pc_kbd );
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -17,7 +17,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||||
//#define CONSOLE_PCBIOS /* Default BIOS console */
|
//#define CONSOLE_PCBIOS /* Default BIOS console */
|
||||||
//#define CONSOLE_SERIAL /* Serial port */
|
//#define CONSOLE_SERIAL /* Serial port */
|
||||||
//#define CONSOLE_DIRECT_VGA /* Direct access to VGA card */
|
//#define CONSOLE_DIRECT_VGA /* Direct access to VGA card */
|
||||||
//#define CONSOLE_BTEXT /* Who knows what this does? */
|
|
||||||
//#define CONSOLE_PC_KBD /* Direct access to PC keyboard */
|
//#define CONSOLE_PC_KBD /* Direct access to PC keyboard */
|
||||||
//#define CONSOLE_SYSLOG /* Syslog console */
|
//#define CONSOLE_SYSLOG /* Syslog console */
|
||||||
//#define CONSOLE_VMWARE /* VMware logfile console */
|
//#define CONSOLE_VMWARE /* VMware logfile console */
|
||||||
|
|
5039
src/core/btext.c
5039
src/core/btext.c
File diff suppressed because it is too large
Load Diff
|
@ -1,62 +0,0 @@
|
||||||
/*
|
|
||||||
* This file describes the structure passed from the BootX application
|
|
||||||
* (for MacOS) when it is used to boot Linux.
|
|
||||||
*
|
|
||||||
* Written by Benjamin Herrenschmidt.
|
|
||||||
*
|
|
||||||
* Move to LinuxBIOS by LYH yhlu@tyan.com
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef _BTEXT_H__
|
|
||||||
#define _BTEXT_H__
|
|
||||||
|
|
||||||
#if 1
|
|
||||||
#define u32 unsigned int
|
|
||||||
#define u16 unsigned short
|
|
||||||
#define u8 unsigned char
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Here are the boot informations that are passed to the bootstrap
|
|
||||||
* Note that the kernel arguments and the device tree are appended
|
|
||||||
* at the end of this structure. */
|
|
||||||
typedef struct boot_infos
|
|
||||||
{
|
|
||||||
|
|
||||||
/* NEW (vers. 2) this holds the current _logical_ base addr of
|
|
||||||
the frame buffer (for use by early boot message) */
|
|
||||||
u8* logicalDisplayBase;
|
|
||||||
|
|
||||||
|
|
||||||
/* Some infos about the current MacOS display */
|
|
||||||
u32 dispDeviceRect[4]; /* left,top,right,bottom */
|
|
||||||
u32 dispDeviceDepth; /* (8, 16 or 32) */
|
|
||||||
u32 dispDeviceBase; /* base address (physical) */
|
|
||||||
u32 dispDeviceRowBytes; /* rowbytes (in bytes) */
|
|
||||||
u32 dispDeviceColorsOffset; /* Colormap (8 bits only) or 0 (*) */
|
|
||||||
|
|
||||||
|
|
||||||
/* The framebuffer size (optional, currently 0) */
|
|
||||||
u32 frameBufferSize; /* Represents a max size, can be 0. */
|
|
||||||
|
|
||||||
|
|
||||||
} boot_infos_t;
|
|
||||||
|
|
||||||
/* (*) The format of the colormap is 256 * 3 * 2 bytes. Each color index is represented
|
|
||||||
* by 3 short words containing a 16 bits (unsigned) color component.
|
|
||||||
* Later versions may contain the gamma table for direct-color devices here.
|
|
||||||
*/
|
|
||||||
#define BOOTX_COLORTABLE_SIZE (256UL*3UL*2UL)
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Definitions for using the procedures in btext.c.
|
|
||||||
*
|
|
||||||
* Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
||||||
*/
|
|
||||||
|
|
||||||
extern boot_infos_t disp_bi;
|
|
||||||
extern u32 boot_text_mapped;
|
|
||||||
|
|
||||||
#endif /* _BTEXT_H */
|
|
Loading…
Reference in New Issue