| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
a WIP and not used yet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Make libefi portable by removing ia64 specific code and build
it on i386 and amd64 by default to prevent regressions. These
changes include fixes and improvements over previous code to
establish or improve APIs where none existed or when the amount
of kluging was unacceptably high.
2. Increase the amount of sharing between the efi and ski loaders
to improve maintainability of the loaders and simplify making
changes to the loader-kernel handshaking in the future.
The version of the efi and ski loaders are now both changed to 1.2
as user visible improvements and changes have been made.
|
| |
|
|
|
|
|
|
|
|
|
| |
device (kind) specific unit field to the common field. This change
allows a future version of libefi to work without requiring anything
more than what is defined in struct devdesc and as such makes it
possible to compile said version of libefi for different platforms
without requiring that those platforms have identical derivatives
of struct devdesc.
|
|
|
|
|
| |
i386/amd64 and pc98. Remove useless calls to bcache_init() from the
ia64 and sparc64 loaders, as well as from the OFW common code.
|
|
|
|
| |
stale comments.
|
|
|
|
|
|
|
|
| |
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
|
|
|
|
| |
those that are used should come from <machine/elf.h>.
|
| |
|
|
|
|
| |
"boot_dfltroot", "boot_mute", and "boot_pause" respectively.
|
| |
|
| |
|
|
|
|
| |
OK'ed by: core
|
|
|
|
| |
did anything, so this commit should be considered a NO-OP.
|
|
|
|
|
| |
and efi_readin(). This removes MD code from copy.c.
o Don't unconditionally add pal.S to SRCS. It's specific to ia64.
|
|
|
|
|
|
| |
changing the Makefile, fail the creation of loader.efi when there are
unresolved symbols in loader.sym. This avoids silently creating a
faulty EFI binary.
|
| |
|
|
|
|
| |
Updated for the new build location.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
use <machine/efi.h> for the necessary definitions. This makes the EFI
code in sys/boot/efi totally unused, except for pure EFI loaders. As
such, maintenance and porting (to IA-32) of the EFI code is made as easy
as possible.
|
| |
|
| |
|
|
|
|
|
| |
bit-fields. Unify the PTE defines accordingly and update all
uses.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
we construct the EFI image. It doesn't seem to actually end up
in the EFI image, AFAICT.
o Replace .quad, .long and .short with data8, data4 and data2 resp.
The former are gnuisms.
o Redefine _start_plabel as a data16 with @iplt(_start) as its
value. This is the preferred way to create user PLT entries.
|
|
|
|
|
|
|
|
|
| |
binutils 2.15. The linker now creates a .rela.dyn section for
dynamic relocations, while our script created a .rela section.
Likewise, we copied the .rela section to the EFI image, but not
the .rela.dyn section. The fix is to rename .rela to .rela.dyn
in the linker script so that all relocations end up in the same
section again. This we copy into the EFI image.
|
|
|
|
|
|
| |
per letter dated July 22, 1999.
Approved by: core
|
| |
|
|
|
|
|
| |
other constributions are compiled.
o Remove powerpc specific additions to CFLAGS.
|
|
|
|
| |
Tested by: marcel
|
| |
|
|
|
|
|
|
| |
definitions. Those are slightly different than the ones we used
before ACPI-CA 20031203 got imported. No structural or functional
change.
|
|
|
|
| |
when idle. All we have to do is return.
|
|
|
|
| |
in the simulator.
|
|
|
|
| |
Also some minor style cleanups.
|
|
|
|
|
|
|
|
|
|
|
|
| |
EFI file system. When booting from a CD and there's already an EFI
system partition on the disk, setting the current device to unit 0
will select the harddisk. This invariably breaks installing FreeBSD
when other operating systems have been installed before.
We obviously want to do the same when we're booting over the network.
Maybe later.
Based on a patch (from memory) from: arun
|
|
|
|
|
|
| |
script to match the one for the EFI loader and rewrite __start()
in assembly to have gp defined without getting in the way of the
compiler.
|
|
|
|
|
| |
on ia64. This fixes the breakage caused by the gcc upgrade that
resulted in a broken executable.
|
|
|
|
|
| |
Approved by: marcel
Repocopied by: joe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
things over floppy size limits, I can exclude it for release builds or
something like that. Most of the changes are to get the load_elf.c file
into a seperate elf32_ or elf64_ namespace so that you can have two
ELF loaders present at once. Note that for 64 bit kernels, it actually
starts up the kernel already in 64 bit mode with paging enabled. This
is really easy because we have a known minimum feature set.
Of note is that for amd64, we have to pass in the bios int 15 0xe821
memory map because once in long mode, you absolutely cannot make VM86
calls. amd64 does not use 'struct bootinfo' at all. It is a pure loader
metadata startup, just like sparc64 and powerpc. Much of the
infrastructure to support this was adapted from sparc64.
|
| |
|
| |
|
|
|
|
|
| |
the address of the image base of the loader. Given cr.iip, we can
use the symbol table to figure out what function caused the trap.
|
| |
|
| |
|