opnsense-src/stand
Warner Losh 37ddf393f8 stand: Compile out the extensive superblock diagnostic messages for BIOS loader
The BIOS loader operates in a very constrained environment. The messages
for the super block integrity tests take up about 12k of space. Compile
them out for the BIOS loader, while leaving it intact for all other
loaders that aren't space constrained. These aren't used in the 'super
tiny' *boot* programs, so no adjustment is needed there.

We reply on the fact that (a) i386 doesn't support 32-bit UEFI booting
and (b) LIBSA_CPUARCH is "i386" when building on both i386 and when
we're building the 32-bit libsa32 library.

This saves about 12k of space for this constrained envrionment and will
take a bit of the pressure off some machines where the loader has grown
too big for their BIOS (see comments in i386/loader/Makefile for
details).

Sponsored by:		Netflix
Reviewed by:		mckusick
Differential Revision:	https://reviews.freebsd.org/D36175

(cherry picked from commit 1482113008)
2022-11-17 17:19:41 -08:00
..
arm Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
arm64 Add an loader command on arm64 to sync the cache 2022-01-04 10:08:32 +00:00
common loader: fix elf lookup_symbol type filtering 2022-10-17 10:40:41 -05:00
defaults Add support for getting early entropy from UEFI 2022-03-10 18:11:41 -08:00
efi stand: Parse all arguments passed by UEFI 2022-10-05 13:46:39 +02:00
fdt loader: Fix dtb loading 2022-01-14 14:44:36 +01:00
ficl ficl: Fix a typo in a comment 2021-12-03 16:53:00 +01:00
ficl32 Enable veriexec for loader 2019-02-26 06:22:10 +00:00
fonts loader: really use bold font for vga text mode 2021-01-08 01:24:30 +02:00
forth loader.4th(8): Fix a typo in the manual page 2022-04-09 08:15:25 +02:00
i386 stand: i386: take into account disk sector size for blk calculation 2022-09-18 01:26:40 -05:00
images loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
kshim Fix build of stand/usb . 2021-05-10 16:11:19 +02:00
liblua contrib/lua: update to 5.4.2 2021-01-13 23:56:18 -06:00
liblua32
libofw loader: implement mount/unmount rootfs 2022-01-13 08:58:21 +01:00
libsa stand: Compile out the extensive superblock diagnostic messages for BIOS loader 2022-11-17 17:19:41 -08:00
libsa32 Enable veriexec for loader 2019-02-26 06:22:10 +00:00
lua Add support for getting early entropy from UEFI 2022-03-10 18:11:41 -08:00
man Loader: support booting OS from memory disk (MD) 2022-06-17 14:01:40 -03:00
mips Disable PIE for MIPS ubldr 2022-01-23 11:09:53 +01:00
powerpc powerpc64: tell kernel when radix is not available 2022-10-04 13:24:15 -03:00
uboot stand/uboot: setup archsw before probing devices 2022-07-19 11:37:10 +02:00
usb Fix build of stand/usb . 2020-01-23 10:40:34 +00:00
userboot test_diskread(): detect end of the disk 2022-06-26 08:28:07 +03:00
defs.mk powerpc64le: stand fixes 2021-11-05 11:29:40 -03:00
fdt.mk
ficl.mk loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
loader.mk stand: Fix a common typo in source code comments 2022-06-10 14:23:25 +02:00
lua.mk
Makefile stand: ensure that the efi directory's dependencies are correct 2021-01-29 23:46:17 -06:00
Makefile.amd64 stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
Makefile.inc stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
uboot.mk