freebsd-dev/stand/common
Konstantin Belousov f75caed644 amd64 UEFI loader: stop copying staging area to 2M physical
On amd64, add a possibility to activate kernel with staging area in place.
Add 'copy_staging' command to control this.  For now, by default the
old mode of copying kernel to 2M phys is retained.  It is going to be
changed in several weeks.

On amd64, add some slop to the staging area to satisfy both requirements
of the kernel startup allocator, and to have space for minor staging data
increase after the final size is calculated.  Add a new command
'staging_slop' to control its size.

Improve staging area resizing, in particular, reallocate it anew if
we cannot grow it neither down nor up.

Reviewed by:	kevans, markj
Discussed with:	emaste (the delivery plan)
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D31121
2021-08-08 22:52:29 +03:00
..
bcache.c
boot.c stand/common command_boot: Pass tslog to kernel 2021-06-20 20:09:46 -07:00
bootstrap.h amd64 UEFI loader: stop copying staging area to 2M physical 2021-08-08 22:52:29 +03:00
commands.c
console.c loader: Use tslog to instrument some functions 2021-06-20 20:09:48 -07:00
dev_net.c
dev_net.h
devopen.c
disk.c
disk.h
gfx_fb.c loader: Use tslog to instrument some functions 2021-06-20 20:09:48 -07:00
gfx_fb.h loader: cursor off should restore display content 2021-03-06 12:23:54 +02:00
help.common
install.c Fix compilation error for install.c in loader 2020-07-31 16:08:25 +00:00
interp_backslash.c
interp_forth.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
interp_lua.c loader: Use tslog to instrument some functions 2021-06-20 20:09:48 -07:00
interp_parse.c
interp_simple.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
interp.c loader: Use tslog to instrument some functions 2021-06-20 20:09:48 -07:00
isapnp.c
isapnp.h
load_elf32_obj.c
load_elf32.c
load_elf64_obj.c
load_elf64.c
load_elf_obj.c loader: Don't reserve space for symbols twice. 2021-07-12 15:30:27 -06:00
load_elf.c amd64 UEFI loader: stop copying staging area to 2M physical 2021-08-08 22:52:29 +03:00
ls.c
Makefile.depend
md.c
merge_help.awk
metadata.c
misc.c zalloc_malloc:Free hexdump preceeding buffer when we detect overflow 2020-08-29 21:05:43 +00:00
module.c stand/common: Add file_addbuf() 2021-06-20 20:09:41 -07:00
newvers.sh Fix stand/newvers.sh with zsh in sh mode 2020-08-12 15:49:10 +00:00
nvstore.c loader: zfs should support bootonce an nextboot 2020-09-21 09:01:10 +00:00
part.c loader: variable i is unused without MBR/GPT support built in 2020-06-16 07:05:03 +00:00
part.h
paths.h
pnp.c
rbx.h
readin.h veloader use vectx API for kernel and modules 2020-03-08 18:48:01 +00:00
reloc_elf32.c
reloc_elf64.c
reloc_elf.c Reuse the amd64 loader relocation code on arm64 2021-01-20 17:59:38 +00:00
self_reloc.c RISC-V boot1.efi and loader.efi support 2020-07-06 18:19:42 +00:00
tslog.c stand/common: Add support for timestamp logging (tslog) 2021-06-20 20:09:43 -07:00
vdisk.c
zfs_cmd.c loader: zfs_cmd.c does not really compile without libzfs.h 2020-06-16 07:30:34 +00:00