freebsd-nq/stand
Warner Losh 7da605ec03 kboot: Parse memory usage
To properly size segments, we have to know how much memory we have in
the system, as well as how much this process can allocate.  Due to our
inability to overcommit, we need to know how much memory is
available. commit_limit is the grand total allowed. committed_as is the
current memory used. mem_avail is what Linux tells us is available. Find
these from /proc/meminfo. We'll use them later to allocate the biggest
possible segment sizes, but for now print the raw numbers.

Sponsored by:		Netflix
Reviewed by:		kevans (earlier version)
Differential Revision:	https://reviews.freebsd.org/D38267
2023-02-02 13:11:57 -07:00
..
arm64
common stand: only compute symidx on x86 2023-02-02 13:04:05 -07:00
defaults
efi stand: create common set_currdev 2023-01-11 15:15:15 -07:00
fdt
ficl
ficl32
fonts
forth
i386 stand: create common set_currdev 2023-01-11 15:15:15 -07:00
images
kboot kboot: Parse memory usage 2023-02-02 13:11:57 -07:00
kshim
liblua lua: reduce diffs between luaconf.h copies 2023-01-26 12:38:19 -05:00
liblua32
libofw stand/ofw: dev can't be NULL here 2023-01-13 14:22:38 -07:00
libsa stand: dev can't be NULL in default_prasedev 2023-01-13 15:54:44 -07:00
libsa32
lua
man
powerpc stand: Create common gen_setcurrdev and replace code 2023-01-11 15:15:14 -07:00
uboot stand/uboot: Remove -fPIC here 2023-01-25 08:04:59 -07:00
usb stand: For all disk drivers, connect dv_parsedev to disk_parsedev 2022-11-30 15:30:32 -07:00
userboot stand: create common set_currdev 2023-01-11 15:15:15 -07:00
defs.mk
fdt.mk
ficl.mk
loader.mk
lua.mk
Makefile
Makefile.amd64
Makefile.inc
veriexec.mk