freebsd-skq/stand
Kyle Evans 0cb59ea75a ubldr: Bump heap size from 512K to 1M
lualoader in itself only uses another ~200K, but there seems to be no reason
not to bump it a little higher to give us some more wiggle room.

With this, I can boot using a menu-enabled lualoader, no problem and
reasonably fast. Some heap usage datapoints from the review:

forthloader, no menus, kernel loaded:
heap base at 0x1203d5b0, top at 0x1208e000, used 330320

lualoader, no menus, kernel loaded:
heap base at 0x42050028, top at 0x420ab000, used 372696

lualoader, menus, kernel loaded:
heap base at 0x42050028, top at 0x420d5000, used 544728

Since then, the no menu case for lualoader should have decreased slightly as
I've made some changes to make sure that it no longer loads any of th emenu
bits with beastie disabled.

While here, split heap size out into a HEAP_SIZE macro.

Reviewed by:	ian, imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D14471
2018-03-14 02:35:49 +00:00
..
arm Go back to one loader.conf 2018-02-26 03:16:47 +00:00
arm64
common Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
defaults loader.conf(5): Document some other settings 2018-03-07 18:45:24 +00:00
efi EFIRT: SetVirtualAddressMap with 1:1 mapping after exiting boot services 2018-03-13 17:10:52 +00:00
fdt Eliminate bsd.stand.mk and -fPIC 32-bit intel builds 2018-02-16 00:17:32 +00:00
ficl Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
ficl32
forth These two directories build man pages, so it's incorrect to tag them 2018-02-26 15:41:20 +00:00
geli Eliminate bsd.stand.mk and -fPIC 32-bit intel builds 2018-02-16 00:17:32 +00:00
i386 Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
kshim A more definitions to kernel emulation shim in order to build stand/usb. 2018-02-07 18:50:36 +00:00
liblua lualoader: Expose loader.parse and add cli_execute_unparsed 2018-03-07 18:25:27 +00:00
liblua32 Add Lua as a scripting langauge to /boot/loader 2018-02-12 15:31:53 +00:00
libsa Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
libsa32
lua lualoader: Sprinkle some verbose_loading salt 2018-03-13 02:59:13 +00:00
man
mips Remove d_type from devdesc. It's not needed as we can fetch it from 2018-03-12 21:39:59 +00:00
ofw Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
powerpc Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
sparc64 Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
uboot ubldr: Bump heap size from 512K to 1M 2018-03-14 02:35:49 +00:00
usb Move the stand/usb test loader into its own directory. 2018-02-07 19:20:59 +00:00
userboot Fix typo that misteriously passes compilation. 2018-03-13 22:54:29 +00:00
zfs Remove d_type from devdesc. It's not needed as we can fetch it from 2018-03-12 21:39:59 +00:00
zfs32
defs.mk Add NO_OBJ to those directories that don't make anything. 2018-02-26 03:16:04 +00:00
fdt.mk
ficl.mk Now that we no longer conditionally compile some files outside of ficl 2018-02-02 15:01:54 +00:00
loader.mk stand: Fix copy-paste-o, unbreaks libi386 lualoader build 2018-03-09 14:16:33 +00:00
lua.mk Do not include float interfaces when using libsa. 2018-02-23 04:04:25 +00:00
Makefile Create LOADER_UBOOT, and LOADER_OFW. Move these options out of 2018-03-01 19:50:55 +00:00
Makefile.amd64 Create LOADER_UBOOT, and LOADER_OFW. Move these options out of 2018-03-01 19:50:55 +00:00
Makefile.inc Minor flags cleanup 2017-12-02 00:06:58 +00:00
uboot.mk Unify metadata load files for arm, mips, powerpc, sparc64 2018-02-13 03:44:50 +00:00