freebsd-skq/sys/boot/common
marcel 8e0b0a2284 MFaltix:
Add support for Pre-Boot Virtual Memory (PBVM) to the loader.

PBVM allows us to link the kernel at a fixed virtual address without
having to make any assumptions about the physical memory layout. On
the SGI Altix 350 for example, there's no usuable physical memory
below 192GB. Also, the PBVM allows us to control better where we're
going to physically load the kernel and its modules so that we can
make sure we load the kernel in memory that's close to the BSP.

The PBVM is managed by a simple page table. The minimum size of the
page table is 4KB (EFI page size) and the maximum is currently set
to 1MB. A page in the PBVM is 64KB, as that's the maximum alignment
one can specify in a linker script. The bottom line is that PBVM is
between 64KB and 8GB in size.

The loader maps the PBVM page table at a fixed virtual address and
using a single translations. The PBVM itself is also mapped using a
single translation for a maximum of 32MB.

While here, increase the heap in the EFI loader from 512KB to 2MB
and set the stage for supporting relocatable modules.
2011-03-16 03:53:18 +00:00
..
bcache.c
boot.c Introduce a new option (BOOT_PROMPT_123) that lets enter the boot prompt 2009-11-12 01:30:17 +00:00
bootstrap.h Remove file system support based on the simple file system protocol 2010-01-09 22:54:29 +00:00
commands.c Close a file descriptor leak in an error case. 2009-10-28 10:06:27 +00:00
console.c
crc32.c - Split code shared by almost any boot loader into separate files and 2010-09-24 19:49:12 +00:00
crc32.h - Split code shared by almost any boot loader into separate files and 2010-09-24 19:49:12 +00:00
dev_net.c - Add code allowing a network device to only be open and closed once 2010-01-09 21:23:39 +00:00
dev_net.h
devopen.c Show info about net devices in loader's 'lsdev' command. While there fix style. 2008-09-03 17:41:44 +00:00
gpt.c Rename bcpy() macro to bcopy(). 2011-02-27 12:25:47 +00:00
gpt.h - Split code shared by almost any boot loader into separate files and 2010-09-24 19:49:12 +00:00
help.common
interp_backslash.c
interp_forth.c
interp_parse.c
interp.c Handle memory allocation failures in include(). 2011-02-23 17:17:05 +00:00
isapnp.c
isapnp.h
load_elf32_obj.c
load_elf32.c
load_elf64_obj.c
load_elf64.c
load_elf_obj.c completely ignore zero-sized elf sections in modules of elf object type (amd64) 2010-07-23 17:07:51 +00:00
load_elf.c Give a bit of a hint of the failure (read != expected) but don't make 2010-11-25 03:16:31 +00:00
loader.8 Make MSGBUF_SIZE kernel option a loader tunable kern.msgbufsize. 2011-01-21 10:26:26 +00:00
ls.c
Makefile.inc MFaltix: 2011-03-16 03:53:18 +00:00
md.c Add support for memory disk (md). The size of the memory disk 2009-12-13 01:20:32 +00:00
merge_help.awk
misc.c Setting a variable to the same value twice doesn't actually make it 2008-08-04 06:39:52 +00:00
module.c Formatting nit 2010-05-10 18:23:00 +00:00
newvers.sh
panic.c
pnp.c
reloc_elf32.c
reloc_elf64.c
reloc_elf.c
ufsread.c Some more shrinking. 2011-03-10 16:40:13 +00:00
util.c - Split code shared by almost any boot loader into separate files and 2010-09-24 19:49:12 +00:00
util.h Rename bcpy() macro to bcopy(). 2011-02-27 12:25:47 +00:00