Age | Commit message (Collapse) | Author |
|
rather than relying on calls into the bios to work.
this is a result of me getting pissed off with solaris and linux
being able to cope the serial bios redirection on dracs, iloms, and
ilos. trying to do the same thing with openbsds boot loader caused
weird behaviour like machine hangs or no visible output. talking
to the serial chips directly is more reliable.
tested by many
ok sthen@ deraadt@
|
|
various segments. Hopefully this will help remove various
hacks in the boot loader in the future. This should have no
effect on most architectures (as we tend to have LMA == VMA).
ok drahn@, soft ok's various others.
|
|
does an unsigned comparison and read() can return -1. Use '!=' instead
of '<' since read() can't return more than 'sizeof Y'. Not perfect
(that would require a separate test for -1) but a very common usage.
ok toby@
|
|
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI,
CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI.
ok miod@
|
|
|
|
|
|
|
|
|
|
directive can select between MI and MD versions of these files. At
the same time, adjust the boot programs to pick exactly what they need,
instead of the 7 or 8 mechanisms previously used.
There will be some fallout from this, but testing it all by myself is a
ridiculously slow process; it will be finished in-tree.
Various developers were very nice and avoided making fun of me when I
was gibbering in the corner..
|
|
enough systems today do not have apm. Also, the existance
of apm is given on the probe line, absence means it ain't
there.
|
|
|
|
from a local disk, since the MAC address causes the kernel to look for
root on NFS. Do this by remembering (not adding to boot arguments) the
MAC address when opening the PXE device, and clearing this if we happen
to load a file off a non-network disk.
"works as advertised for me" todd@;
"stop sitting on this/no objections" deraadt@
|
|
i386/amd64 was ok tom
zaurus ok drahn
|
|
|
|
the disklabel.
ok deraadt@
|
|
|
|
for some time. I can't believe it took a re-read for future
functionality plus something I wrote and kjell@ saved from '97
for me to find this.
ok tom@
|
|
pieces. Since this is where the "boot both ELF32 and ELF64" behaviour
is turned on for i386, it is quite important.
Bump version numbers too.
Found by ckuethe@; thanks.
|
|
|
|
both 32- and 64-bit versions can be created (previously only one or the
other could be built for a given boot loader).
Use this to allow the i386 and amd64 boot blocks to boot both ELF32 and
ELF64 kernels (i.e. amd64 boot blocks can now load i386 kernels, and
vice versa). Obviously the system must support LONG mode in order to
successfully run the amd64 kernel once it is loaded.
Advice and discussions from/with dale@ (going back three years). Much
testing nick@ and todd@; thanks.
|
|
not the other stupid names. that feature was retarded. tested on a few
architectures by a few people
|
|
we are going to read exactly at 1 MB (i.e. fix an off-by-one that
is already correct in the amd64 version of this file).
ok toby@
|
|
if it is. This gives a way to recover from "switching to com0" when
there's no serial cable handy.
Bump version numbers.
A similar change will be made to amd64 boot soon.
ok toby@ deraadt@
|
|
Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
|
|
ok millert jasper mbalmer
|
|
> -> \*(Gt
|
|
keypress is seen by boot.
It appears that on the Intel Mac, we have to issue the "check for
keystroke" BIOS call before the "get keystroke" call will get it
(unlike any other BIOS I have seen in over 20 years).
It would not have been possible to fix this problem without the
donation from Steven N. Fettig (steve (at) anywheretechnology.com);
many thanks.
Bump versions of boot, cdboot and pxeboot accordingly.
Testing kettenis@, otto@, and others; ok weingart@.
|
|
|
|
with 8.3-style filenames. Issue raised by Mikolaj Kucharski,
eth0 (at) o2.pl.
Jointly written with, and ok, jmc@.
|
|
from mikolaj kucharski;
ok mk deraadt krw
|
|
to boot from NetBSD partitions. Requested by tom@.
|
|
partition is found. Change error message to 'no OpenBSD partition'.
|
|
floppies and cd's were removable, displaying that fact in disklabel
output was unlikely to help. And the display in disklabel was the only
use of D_REMOVABLE in the tree.
ok marco@
|
|
Convert parser to strtoll(3) and use 64bit printf.
With help from mickey@
i386 and amd64 tests by me, alpha test by mickey@
OK mickey@, miod@, deraadt@
|
|
|
|
|
|
we are booting from) out towards the kernel; tested by reyk
crank the version too
|
|
|
|
|
|
|
|
|
|
|
|
older PXE clients get a bit further. Prompted by Rolf Sommerhalder's
comments on misc@.
ok krw@ (thanks) "no objection" mbalmer@ "go for it" fgsch@
"fine" deraadt@
|
|
need to use the -Derrno=errno workaround added when __errno() was
introduced. OK deraadt@
|
|
|
|
i386_trunc_page(), i386_btop() and i386_ptob()
|
|
|
|
|
|
- for amd64/i386 add /bsd.mp to FILES
ok tom@
|
|
from charlie root;
|