freebsd-src/stand
Warner Losh bbfc01c2d2 loader: Make MK_LOADER_BIOS_TEXTONLY work
Select between text-only and graphical frame buffer consoles for the
BIOS boot loader. Pull one or the other in with #ifdef in conf.c. Add
gfx_bios.c for the few routines that are needed for the BIOS support of
gfx. These are stubbed out for text-only mode. Move bi_load_vbe_data
here since it's only used for the graphical frame buffer.

Note: This setup also allows us to build multiple BIOS loaders if we
have to, some with text-only and some graphical. We don't do this today.
We may be forced to turn this on in the future if ZFS keeps growing.

The size savings is 41k, which helps a lot with some of our users that
want to enable more options in the BIOS boot loader than are normally
safe to do, and they don't need graphics.

Sponsored by: 		Netflix
Differential Revision:	https://reviews.freebsd.org/D43917
2024-02-17 23:29:07 -07:00
..
arm64 stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
common loader: Move to using linker sets to bring in optional bits 2024-02-15 20:59:23 -07:00
defaults stand/lua: always allow overriding with local config files 2024-02-02 12:04:57 -07:00
efi libsecureboot do not report expected unverified files 2024-02-12 14:35:01 -08:00
fdt stand: Use modern function definitions 2024-01-28 13:04:31 -07:00
ficl loader: Only create gfx 4th bindings when gfx is available 2024-02-15 20:59:22 -07:00
ficl32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
fonts Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
forth stand: Retire setting hw.ata.wc: it doesn't exist. 2023-11-24 11:28:44 -07:00
i386 loader: Make MK_LOADER_BIOS_TEXTONLY work 2024-02-17 23:29:07 -07:00
images Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
kboot kboot: Add our own lua bindings 2024-02-15 20:59:23 -07:00
kshim Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
liblua kboot: Add our own lua bindings 2024-02-15 20:59:23 -07:00
liblua32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
libofw stand: Use modern function definitions 2024-01-28 13:04:31 -07:00
libsa libsa: Move hash functions up a level 2024-02-02 14:01:03 -07:00
libsa32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
lua loader: Move drawer.lua over to gfx table. 2024-02-15 20:59:23 -07:00
man loader.efi.8: Fix a typo 2023-11-22 13:25:34 +01:00
powerpc loader: Remove gfx_fb_stub.c, it's no longer needed 2024-02-15 20:59:23 -07:00
uboot loader: Remove gfx_fb_stub.c, it's no longer needed 2024-02-15 20:59:23 -07:00
usb Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
userboot loader: Remove gfx_fb_stub.c, it's no longer needed 2024-02-15 20:59:23 -07:00
defs.mk kboot: Add our own lua bindings 2024-02-15 20:59:23 -07:00
fdt.mk stand: Rename LIBFDT to LIBSAFDT 2023-11-07 09:57:32 -05:00
ficl.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
loader.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
lua.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.amd64 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
veriexec.mk libsecureboot do not report expected unverified files 2024-02-12 14:35:01 -08:00