freebsd-dev/sys/boot/efi/libefi
Marcel Moolenaar 18d9407a9f 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
..
delay.c
efi_console.c
efinet.c Help static analysis by initializing variables that we know cannot be 2011-01-06 20:50:16 +00:00
efipart.c Revert previous commit: EFI_STATUS is a 64-bit integral on ia64. Fix the 2011-03-16 00:08:10 +00:00
errno.c Major rework of the ia64 loaders. The two primary objectives are: 2006-11-05 22:03:04 +00:00
handles.c Major rework of the ia64 loaders. The two primary objectives are: 2006-11-05 22:03:04 +00:00
libefi.c Bump the heap size to 2MB. We typically have the memory for it, so there's 2011-03-11 21:52:47 +00:00
Makefile MF tbemd: move to using specific architecture makefiles 2010-08-23 01:48:07 +00:00
time.c Major rework of the ia64 loaders. The two primary objectives are: 2006-11-05 22:03:04 +00:00