Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Allocate sufficient pages to hold the bootinfo block and stop | marcel | 2002-04-19 | 1 | -7/+10 | |
| | | | | hardwiring the location. | |||||
* | We must not let install(1) strip loader.efi when installing it, or the | peter | 2002-04-07 | 1 | -0/+1 | |
| | | | | resulting binary will be damaged and no longer work. | |||||
* | Set BINDIR | peter | 2002-04-07 | 3 | -0/+3 | |
| | ||||||
* | Add loader bootforth infrastructure and install it. | peter | 2002-04-07 | 1 | -4/+20 | |
| | ||||||
* | Make it a bit closer to the EFI build and tie up some loose ends. | peter | 2002-04-06 | 4 | -25/+12 | |
| | ||||||
* | Try and tidy up some very loose ends with paths to various libraries etc. | peter | 2002-04-06 | 1 | -3/+15 | |
| | ||||||
* | Do not add the ficl/alpha subdir to the ia64 include path. Try ficl/ia64 | peter | 2002-04-06 | 2 | -2/+2 | |
| | | | | instead. | |||||
* | Do not assume that ${OBJCOPY} variable exists. It was hidden by the | peter | 2002-04-06 | 1 | -0/+1 | |
| | | | | fact that the 'ia64-make' wrapper explicitly set it. | |||||
* | Fix self hosted loader building. When you use a self configured gcc, it | peter | 2002-04-06 | 2 | -4/+4 | |
| | | | | | | | | | | | | | detects and uses the gas section merge support. As a result, a whole bunch of new sections arrive, including .rodata.str1.8, which was not included in our custom ldscript.ia64. The result was a loader binary that EFI rejected. While here, collect the loader shell commands linker set and include it in the data area rather than having its own section. /boot/loader.efi was the last holdout for having a 100% self built ia64 system. | |||||
* | Use a relative path to libstand.. /usr/src/lib/libstand may not exist | peter | 2002-04-04 | 1 | -1/+1 | |
| | | | | or may have the wrong header files. | |||||
* | Only install the help file if we can find it. Use ${BASE}.help | marcel | 2002-03-31 | 1 | -4/+1 | |
| | | | | | in both the condition and for the install. We expect to find the help file in ${.OBJDIR}. | |||||
* | Pass the address of the bootinfo block to the kernel in register | marcel | 2002-03-30 | 4 | -10/+10 | |
| | | | | r8. Keep it at the hardwired address for now. Bump the version. | |||||
* | Pass the physical address of the bootinfo block to the kernel in | marcel | 2002-03-30 | 2 | -1/+3 | |
| | | | | | | | | | register r8. We continue to write the bootinfo block at the same hardwired address, because the kernel still expects it there. It is expected that future kernels use register r8 to get to the bootinfo block and don't depend on the hardwired address anymore. Bump the loader version once again due to the interface change. | |||||
* | Add a quick and dirty way to determine where we're loaded from. We | marcel | 2002-03-30 | 1 | -8/+28 | |
| | | | | | | | | only care if it's network or not at this time. If we're loaded from the network, we set currdev (=loaddev) so that the kernel is loaded from the network as well. In all other cases we initialize to disk. This makes netbooting more convenient and can easily be enhanced to do more elaborate checking. | |||||
* | The EFI loader has been improved a lot since it was first added. | marcel | 2002-03-30 | 1 | -0/+2 | |
| | | | | | | | Most significantly (from an interfacing point of view) is the support for the FPSWA pointer passing. Even though that was added 4 months ago, it's probably not a bad idea to bump the version number to reflect this. | |||||
* | Fix the beforeinstall target. We install ${PROG}.help if loader.help | marcel | 2002-03-29 | 2 | -8/+2 | |
| | | | | | | | | | exists, otherwise we install it anyway. I interpret this as a very high desire to install ${PROG}.help. Alas, ${PROG}.help doesn't exist at the moment and neither does loader.help, so in practice this just doesn't work, no matter how you interpret it. The compromise is to install ${PROG}.help IFF it exists. I realize we lost creativity with this commit, but style should have been preserved, AFAICT :-) | |||||
* | o Don't include sys/cdefs.h | marcel | 2002-03-28 | 1 | -1/+0 | |
| | ||||||
* | o Add -L${DESTDIR}${LIBDIR} on the link line for -lstand. | marcel | 2002-03-28 | 1 | -4/+4 | |
| | | | | | o Add -j .dynstr to objcopy. This makes .efi binaries work when built with a 3.x based toolchain. | |||||
* | Duplicate the logic used elsewhere to define LIBSTAND. | marcel | 2002-03-28 | 2 | -4/+22 | |
| | ||||||
* | Add -ffreestanding to avoid printf/puts/putchar conversions | peter | 2002-03-19 | 3 | -0/+3 | |
| | ||||||
* | Boot from efifs first. | peter | 2002-03-19 | 1 | -1/+1 | |
| | ||||||
* | Lookup the EFI_FPSWA driver and pass the interface pointer through to the | peter | 2001-11-19 | 1 | -0/+2 | |
| | | | | | kernel before we call ExitBootServices(). I've typed the definitions in efifpswa.h from the Intel FPSWA manual (urk). | |||||
* | Remove bootinfo.bi_kernel. It isn't used by the kernel. struct bootinfo | peter | 2001-11-19 | 3 | -16/+0 | |
| | | | | | should go away on ia64, we should be loader metadata based since that is the only way we can boot (loader, skiload). | |||||
* | Fix a dependency violation, same as in libefi/elf_freebsd.c a while back. | peter | 2001-11-19 | 2 | -0/+2 | |
| | ||||||
* | Set RB_MULTIPLE (multiple console support) if the kernel is booted | marcel | 2001-10-29 | 1 | -0/+3 | |
| | | | | with the -D flag. | |||||
* | Call ExitBootServices and disable interrupts before we start hacking | dfr | 2001-10-25 | 1 | -11/+12 | |
| | | | | the VM registers. This ought to make things slightly more reliable here. | |||||
* | Add the two sections used for PLT entries to the text and sdata sections | dfr | 2001-10-25 | 1 | -0/+2 | |
| | | | | | respectively. This makes IPLTLSB relocations work properly (these are generated for weak symbols, particularly for _longjmp). | |||||
* | Try to get the self-relocator to work with IPLTLSB relocations. Doesn't | dfr | 2001-10-24 | 2 | -6/+40 | |
| | | | | work right though - I can't figure out why. | |||||
* | s/alpha/${MACHINE_ARCH}/g | marcel | 2001-10-08 | 1 | -1/+1 | |
| | ||||||
* | Make this 'make obj' safe | peter | 2001-09-26 | 2 | -2/+10 | |
| | ||||||
* | Calculate the valid flag for ITRs and DTRs correctly. Also fix a couple | dfr | 2001-09-25 | 1 | -8/+3 | |
| | | | | of minor problems and remove some debugging code. | |||||
* | Add commands to dump the itrs and dtrs. | dfr | 2001-09-24 | 1 | -0/+148 | |
| | ||||||
* | Return the mapkey which EFI gave us when we read the memory map - we need | dfr | 2001-09-24 | 1 | -1/+3 | |
| | | | | it to call ExitBootServices. | |||||
* | Tidy up a little - don't try to print anything or enable interrupts after | dfr | 2001-09-24 | 1 | -51/+24 | |
| | | | | | we start changing translation registers. Also, call ExitBootServices before we jump into the kernel. | |||||
* | Add commands to dump the configuration tables and the SAL System Table. | dfr | 2001-09-23 | 1 | -4/+116 | |
| | ||||||
* | Add EFI network support. | dfr | 2001-09-22 | 3 | -3/+13 | |
| | ||||||
* | * Flesh out elf_exec and bootinfo. | dfr | 2001-09-22 | 2 | -38/+492 | |
| | | | | * Add EFI network support. | |||||
* | Add definition of SSC_GET_RTC. | dfr | 2001-09-20 | 2 | -0/+2 | |
| | ||||||
* | Implement time(). | dfr | 2001-09-19 | 2 | -2/+226 | |
| | ||||||
* | Add a fake memory descriptor for the I/O port space. | dfr | 2001-09-15 | 2 | -2/+14 | |
| | ||||||
* | Fill in the bootinfo's memory map. | dfr | 2001-09-15 | 3 | -0/+38 | |
| | ||||||
* | Remove dead code. | dfr | 2001-09-15 | 2 | -74/+0 | |
| | ||||||
* | Plug in ELF backend. | dfr | 2001-09-14 | 1 | -1/+1 | |
| | ||||||
* | Add ELF backend to the build. | dfr | 2001-09-14 | 1 | -7/+1 | |
| | ||||||
* | Make this do the right thing (mostly). We should still reserve the pages | dfr | 2001-09-14 | 1 | -5/+13 | |
| | | | | that the kernel loads into using the EFI AllocatePages call. | |||||
* | Update code which creates bootinfo. | dfr | 2001-09-13 | 6 | -4/+202 | |
| | ||||||
* | A command file for SKI which runs the loader up to the first instruction | dfr | 2001-09-12 | 2 | -0/+32 | |
| | | | | of the loaded kernel. | |||||
* | Add a version of the loader which runs under SKI, the HP ia64 simulator. | dfr | 2001-09-12 | 35 | -1/+3631 | |
| | | | | | This loader is quite functional and can load and run kernels. The kernels don't quite work right after loading but that should be easily fixable. | |||||
* | Add missing entry to memory type name table and adjust field widths. | dfr | 2001-09-08 | 1 | -2/+3 | |
| | ||||||
* | Add a command 'memmap' to print out the EFI memory map. | dfr | 2001-09-08 | 1 | -0/+75 | |
| |