freebsd-skq/sys/boot/efi/libefi
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
..
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
handles.c
libefi.c MFaltix: 2011-03-16 03:53:18 +00:00
Makefile MF tbemd: move to using specific architecture makefiles 2010-08-23 01:48:07 +00:00
time.c