| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
savings of 68 bytes in boot2.
- Also add a comment warning that you can't remove the empty exit()
function.
|
|
|
|
| |
PR: 19215
|
|
|
|
|
| |
Reviewed by: jkh, msmith, sos
Approved by: jkh
|
|
|
|
|
| |
optimizations, we can go from 3 bytes free with the spammed version, to
279 bytes free with the full version.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
boot2 by 16 bytes. I expect this to be temperary until the boot2 authors
can do the proper fix.
|
|
|
|
| |
serial terminals use this as their default rubout key.
|
| |
|
|
|
|
| |
guess this value well in anything other than the simplest of situations.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
loading. This eliminates noise when loading boot/loader; and when
loading a kernel, they generally flash by too fast to be
intelligible anyway.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Noticed by: abial
Optimize away a few bytes to make space for the above.
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
If we have a boot.config command, display it.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
cosmetics.
|
|
|
|
| |
twiddle.
|
|
|
|
| |
Optimize reading of system time.
|
|
|
|
| |
Refine slice-handling.
|
| |
|
|
multiple 0xa5 slices; etc.
|