summaryrefslogtreecommitdiffstats
path: root/sys/boot/ia64
Commit message (Collapse)AuthorAgeFilesLines
* Catch up with ACPI-CA 20070320 import.jkim2007-03-221-23/+23
|
* Remove LDR_LOG2_PGSZ, ia64_pgtbl and ia64_pgtblsz. They are part ofmarcel2006-11-192-8/+0
| | | | a WIP and not used yet.
* Major rework of the ia64 loaders. The two primary objectives are:marcel2006-11-0524-1479/+738
| | | | | | | | | | | | | | 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.
* Properly calculate the checksum of the APIC table.marcel2006-11-031-1/+2
|
* Extend struct devdesc with a unit field, called d_unit. Promote themarcel2006-11-025-15/+12
| | | | | | | | | 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.
* Don't unconditionally compile-in the bcache code. It's only used onmarcel2006-11-022-10/+0
| | | | | i386/amd64 and pc98. Remove useless calls to bcache_init() from the ia64 and sparc64 loaders, as well as from the OFW common code.
* Remove more Alpha bits from the boot code including fixing severaljhb2006-05-123-3/+3
| | | | stale comments.
* Reimplementation of world/kernel build options. For details, see:ru2006-03-172-4/+10
| | | | | | | | 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)
* Remove ELF dynamic tag definitions that aren't used. Ideally,marcel2006-01-181-21/+2
| | | | those that are used should come from <machine/elf.h>.
* s/R_IA64_/R_IA_64_/g as per the ia64 psABI.marcel2006-01-171-18/+13
|
* Add loader(8) variables for RB_DFLTROOT, RB_MUTE, and RB_PAUSE:ru2005-09-222-4/+16
| | | | "boot_dfltroot", "boot_mute", and "boot_pause" respectively.
* Start each of the license/copyright comments with /*-imp2005-01-0510-10/+10
|
* NOFORTH -> NO_FORTHru2004-12-212-2/+2
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-212-2/+2
| | | | OK'ed by: core
* Remove the last vestiges of the userconfig option. None of this actuallyscottl2004-12-012-8/+0
| | | | did anything, so this commit should be considered a NO-OP.
* o Introduce efimd_va2pa() to translate addresses in efi_copy{in|out}()marcel2004-11-281-23/+10
| | | | | and efi_readin(). This removes MD code from copy.c. o Don't unconditionally add pal.S to SRCS. It's specific to ia64.
* Add efimd.c. This file contains MD code used by the EFI library. Whilemarcel2004-11-282-2/+47
| | | | | | 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.
* Hookup the efi subdirectory.marcel2004-11-231-1/+1
|
* This file was repocopied from src/sys/boot/efi/loader.marcel2004-11-231-38/+32
| | | | Updated for the new build location.
* Remove struct ia64_itir and use a plain old uint64_t instead.marcel2004-11-211-3/+4
|
* Added support for the -D boot option.ru2004-09-301-0/+3
|
* Remove. This file was repocopied to ../ski.marcel2004-09-2424-2614/+0
|
* Replace misuse of NULL with 0UL.marcel2004-09-241-3/+3
|
* Remove the dependency on the Intel EFI headers in sys/boot/efi. Insteadmarcel2004-09-241-110/+111
| | | | | | | 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.
* Unhook libski and skiload and hook up ski.marcel2004-09-241-1/+1
|
* Post repocopy build fixes.marcel2004-09-243-20/+25
|
* Redefine a PTE as a 64-bit integral type instead of a struct ofmarcel2004-09-232-33/+21
| | | | | bit-fields. Unify the PTE defines accordingly and update all uses.
* Remove useless include of <machine/fpu.h>.marcel2004-09-182-4/+0
|
* Catch up with change to <machine/pte.h>.marcel2004-08-101-9/+8
|
* o Support the REL32LSB relocation. It's in the ELF file from whichmarcel2004-07-201-9/+18
| | | | | | | | | 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.
* Fix the creation of EFI images that got broken by the import ofmarcel2004-07-202-3/+3
| | | | | | | | | 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.
* Remove advertising clause from University of California Regent's license,imp2004-04-053-12/+0
| | | | | | per letter dated July 22, 1999. Approved by: core
* Don't create a mapfile during link. It's not needed for the build.marcel2004-02-133-6/+6
|
* o Don't build with -fpic. It's not needed and inconsistent with howmarcel2004-02-131-5/+0
| | | | | other constributions are compiled. o Remove powerpc specific additions to CFLAGS.
* Tidy up makefiles.ru2004-02-125-181/+47
| | | | Tested by: marcel
* Convert to __FBSDID.obrien2004-01-043-6/+9
|
* Fix the build of libski now that we use the "official" MADT tablemarcel2003-12-092-74/+50
| | | | | | definitions. Those are slightly different than the ones we used before ACPI-CA 20031203 got imported. No structural or functional change.
* Implement PAL_HALT_LIGHT now that the kernel halts the processormarcel2003-11-092-0/+18
| | | | when idle. All we have to do is return.
* Do not strip skiload when installed. The stripped binary does not loadmarcel2003-11-092-0/+2
| | | | in the simulator.
* Use __FBSDID().obrien2003-09-0819-35/+48
| | | | Also some minor style cleanups.
* Don't hardcode unit 0 for the current device if we're loaded from anmarcel2003-08-021-17/+8
| | | | | | | | | | | | 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
* Fix the ski loader, broken by the gcc upgrade. Update the linkermarcel2003-07-178-262/+230
| | | | | | 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.
* Have the linker script look more like the default linker scriptmarcel2003-07-171-46/+39
| | | | | on ia64. This fixes the breakage caused by the gcc upgrade that resulted in a broken executable.
* pal_stub.s has been repo-copied to pal_stub.S.ru2003-07-022-66/+1
| | | | | Approved by: marcel Repocopied by: joe
* Enable the i386 loader to load and run an amd64 kernel. If this putspeter2003-05-013-9/+9
| | | | | | | | | | | | | | | 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.
* Remove `#ifndef lint' left behind after previous change.marcel2003-04-042-2/+0
|
* Use __FBSDID rather than rcsid[].obrien2003-04-0318-70/+37
|
* Speed up debugging in the context of unexpected traps by printingmarcel2003-03-011-5/+6
| | | | | 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.
* Consistently use NOFORTH to control the usage of ficl.obrien2003-02-263-16/+11
|
* Simplify page alignment.marcel2003-02-203-33/+12
|
OpenPOWER on IntegriCloud