mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 01:22:37 +03:00
[build] Generalise CONSOLE_VESAFB to CONSOLE_FRAMEBUFFER
The name "vesafb" is intrinsically specific to a BIOS environment. Generalise the build configuration option CONSOLE_VESAFB to CONSOLE_FRAMEBUFFER, in preparation for adding EFI framebuffer support. Existing configurations using CONSOLE_VESAFB will continue to work. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -60,7 +60,13 @@ struct console_driver bios_console __attribute__ (( weak ));
|
||||
#define EIO_VBE( code ) \
|
||||
EUNIQ ( EINFO_EIO, (code), EIO_FAILED, EIO_HARDWARE, EIO_MODE )
|
||||
|
||||
/* Set default console usage if applicable */
|
||||
/* Set default console usage if applicable
|
||||
*
|
||||
* We accept either CONSOLE_FRAMEBUFFER or CONSOLE_VESAFB.
|
||||
*/
|
||||
#if ( defined ( CONSOLE_FRAMEBUFFER ) && ! defined ( CONSOLE_VESAFB ) )
|
||||
#define CONSOLE_VESAFB CONSOLE_FRAMEBUFFER
|
||||
#endif
|
||||
#if ! ( defined ( CONSOLE_VESAFB ) && CONSOLE_EXPLICIT ( CONSOLE_VESAFB ) )
|
||||
#undef CONSOLE_VESAFB
|
||||
#define CONSOLE_VESAFB ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_LOG )
|
||||
|
||||
Reference in New Issue
Block a user