summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/gptboot
Commit message (Collapse)AuthorAgeFilesLines
* Set MAINTAINER.rnordier2000-10-021-0/+2
|
* - 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.
* Add in support for EDD to support large disks via LBA. This uses ajhb2000-06-261-1/+1
| | | | | method similar to that of the loader to avoid potentially breaking older drives in that we only use EDD if the desired cylinder is > 1023.
* Treat \t and \n inside /boot.config as whitespaces.ru2000-06-131-2/+2
| | | | PR: 19215
* Clean up all of the 16-bit assembly code in the x86 bootstrap to workjhb2000-05-231-9/+6
| | | | | | | | with the new binutils. Now that we have a decent assembler, all the old m4 macros are no longer needed. Instead, straight assembly can be used since as(1) now understands 16-bit addressing, branches, etc. Also, several bugs have been fixed in as(1), allowing boot0.s to be further cleaned up.
* Add a missing dependency: boot2 depends on the BTX kernel.jhb2000-04-111-1/+1
|
* 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
* Add -fdata-sections, which is a new GCC 2.95 optimization. Removeobrien1999-11-151-1/+2
| | | | | | | | | | -fschedule-insns as it wasn't such a big win with 2.95 after all. Add the *BIG* win "-mpreferred-stack-boundary=2" optimiztion submitted by Dima. GCC 2.95 ensures the stack frame is always properly [opitimally] aligned by surrounding every function call by code simular to "addl $-12, %esp" / "addl $12, %esp". Here we need the reduction in space, with speed not an issue.
* 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.
* Turn on the -fforce-addr and -fschedule-insns optimizations. Addingobrien1999-11-131-2/+3
| | | | | | either one gives us an additional 32 bytes of additional space available when using EGCS 1.1.2. With GCC 2.95.2 -fforce-addr gives us 12 more bytes, and adding -fschedule-insns gives us an additional 4 bytes.
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Reintroduce LBA (cyl > 1023) support in the bootblocks, enabled byrnordier1999-07-201-2/+5
| | | | means of a build option.
* 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
|
* Optimize better for space.rnordier1999-04-051-2/+2
| | | | Thanks to: jdp
* 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
|
* Use etc/make.conf settings for serial port and speed.rnordier1999-01-101-5/+6
| | | | | Submitted by: rvb Reviewed by: bde
* 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-082-9/+9
| | | | | | | | 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.
* Make use of BIOS int 0x13 extensions configurable, and disabledrnordier1998-11-051-2/+3
| | | | by default.
* 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.
* Make serial port, data format, and bps configurable.rnordier1998-10-201-2/+8
|
* 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.
* Fix path to sio.srnordier1998-10-151-2/+2
|
* Add serial, dual, and probe-keyboard support.rnordier1998-10-152-25/+77
|
* Fix btx include path.rnordier1998-10-141-2/+2
|
* Include <bsd.prog.mk>. Add install target (to /boot for now).rnordier1998-10-141-5/+18
|
* 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-132-22/+30
| | | | Refine slice-handling.
* Don't use an absolute path to objcopy.rnordier1998-10-131-3/+3
| | | | Noticed by: Scott Mace <smace@intt.org>
* Improve drive recognition and handling.rnordier1998-10-131-26/+40
|
* New boot blocks: support for /boot/loader; a.out & ELF; cyl > 1023;rnordier1998-10-122-0/+782
multiple 0xa5 slices; etc.
OpenPOWER on IntegriCloud