summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/gptboot/gptboot.c
Commit message (Collapse)AuthorAgeFilesLines
* Allow the RBX_DUAL flag to appear in bootinfo.jlemon2001-10-231-1/+1
|
* Add in a hack to support IBM "El Torito" CD-ROM booting BIOS's which expectjhb2001-07-311-1/+2
| | | | | | | | | | | | | the first sector of the emulated floppy to contain a valid MS-DOS BPB that it can modify. Since boot1 is the first sector of boot.flp, this resulted in the BIOS overwriting part of boot1: specifically the function used to read in sectors from the disk. Submitted by: Mark Peek <mark@whistle.com> Submitted by: Doug Ambrisko <ambrisko@ambrisko.com> PR: i386/26382 Obtained from: NetBSD, OpenBSD (the example BPB) MFC after: 1 month
* * include/elf.h has been repo copied to include/elf-hints.h, and it noobrien2001-05-021-1/+1
| | | | | | | | longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11.0 and too much clashing over our base elf headers and the Binutils elf headers.
* - Inline all the functions that are only called once. This results in ajhb2000-07-061-114/+107
| | | | | | savings of 68 bytes in boot2. - Also add a comment warning that you can't remove the empty exit() function.
* Treat \t and \n inside /boot.config as whitespaces.ru2000-06-131-2/+2
| | | | PR: 19215
* Support the new ata(4) syntax, while providing backward compatibility for wd(4).ru2000-02-091-10/+13
| | | | | Reviewed by: jkh, msmith, sos Approved by: jkh
* Return this file to its pre-spammed version. Thanks to some new compilerobrien1999-11-141-8/+8
| | | | | optimizations, we can go from 3 bytes free with the spammed version, to 279 bytes free with the full version.
* Enter complier upgrade mode again. We need to cut 169 bytes from this:obrien1999-11-141-8/+8
| | | | | | | | Remove some printf() calls, reduce size of buffers, and abbreviate some strings. Hopefully the boot people will fix this spamage after the cut over to Gcc 2.95.2 as the system compiler.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix use of e_phoff in place of e_phnum.rnordier1999-06-191-2/+2
|
* Fix damage introduced in previous commit.rnordier1999-04-051-2/+2
|
* Remove the string ">>> FreeBSD/i386 BOOT". I need to reduce the size ofobrien1999-04-041-2/+2
| | | | | boot2 by 16 bytes. I expect this to be temperary until the boot2 authors can do the proper fix.
* Make <DEL> an alternative rubout character for command input; manyjoerg1999-03-311-2/+3
| | | | serial terminals use this as their default rubout key.
* Check size of partition before using it.rnordier1999-01-291-2/+3
|
* Fill in the bi_bios_dev field in the bootinfo struct; the loader doesn'tmsmith1999-01-241-1/+2
| | | | guess this value well in anything other than the simplest of situations.
* Drop boot.help support.rnordier1999-01-111-10/+5
|
* Damn, I thought I had committed this already, but it seems not.peter1999-01-101-3/+3
| | | | | | | | | | Move the relocated boot1 and arg transfer space from 0x600/0x800 to 0x700/0x900. In theory this should make no difference, apart from the fact that Buslogic controllers happen to use a few bytes at 0x600 for some sort of scratch space for it's int 0x13 hook (!!!), causing the machine to crash badly when the boot2 code makes it's callbacks into boot1 for disk IO. Submitted by: Robert Nordier <rnordier@freebsd.org>
* Prevent boot.config being parsed more than once.rnordier1998-11-081-1/+2
|
* Drop the familiar 'text=xxxx data=xxxx bss=xxxx ...' display whilernordier1998-11-081-14/+2
| | | | | | loading. This eliminates noise when loading boot/loader; and when loading a kernel, they generally flash by too fast to be intelligible anyway.
* boot1: Eliminate EDD detection and optional use of disk packetrnordier1998-11-081-6/+7
| | | | | | | | interface. Do some general consistency fixes and space optimizations. Use of some freed-up space to defend against possible BIOS misfeatures. boot2: Revise disk read interface to provide for boot1 changes. Free up space for this.
* biosboot compatibility fix: change behavior of backspace in getstr().rnordier1998-10-271-4/+6
| | | | | | Noticed by: abial Optimize away a few bytes to make space for the above.
* Fix some glitches in the input routine:rnordier1998-10-171-2/+7
| | | | | | Don't display a \b if not acting on it. Don't process binary zero chars (which result from pressing function keys, etc. on the PC).
* Having probed the keyboard, turn off the -P flag.rnordier1998-10-171-1/+2
|
* Treat all options as toggles (ie. -c -c is the same no -c). Sincernordier1998-10-171-6/+4
| | | | | | | | the boot.config settings are persistent, this seems to provide a useful override capability, and should break only on broken boot.config's. Output a cosmetic newline if booting with no input.
* biosboot compatibility fix:rnordier1998-10-171-4/+7
| | | | If we have a boot.config command, display it.
* biosboot compatibility fix:rnordier1998-10-171-2/+2
| | | | | | | Read boot.help before parsing boot.config. We were parsing boot.config first, which could result in boot.help being read from a different location (or not found), which would probably just cause surprise, without being useful.
* Add serial, dual, and probe-keyboard support.rnordier1998-10-151-21/+69
|
* Fix flow of control after directory listing; enable EDD support;rnordier1998-10-131-4/+5
| | | | cosmetics.
* Make v86.ctl default more explicit; simplify read error-handling;rnordier1998-10-131-12/+26
| | | | twiddle.
* Adjust NDEV value.rnordier1998-10-131-11/+8
| | | | Optimize reading of system time.
* Change to a 15-sector boot2.rnordier1998-10-131-17/+24
| | | | Refine slice-handling.
* Improve drive recognition and handling.rnordier1998-10-131-26/+40
|
* New boot blocks: support for /boot/loader; a.out & ELF; cyl > 1023;rnordier1998-10-121-0/+731
multiple 0xa5 slices; etc.
OpenPOWER on IntegriCloud