ru
835a46c9c2
mdoc(7) police: do not split author names in the AUTHORS section.
2000-11-22 09:35:58 +00:00
ru
0127deea8c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 17:05:46 +00:00
msmith
db197d8ac3
The default kernel filename is "kernel" again, not "kernel.ko".
...
Submitted by: mckusick
2000-11-17 04:43:56 +00:00
ru
7d99729431
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
benno
7d73a33303
OpenFirmware/PowerPC loader, part 2.
...
As of this patchset, the loader builds (under NetBSD/macppc), boots, interacts
and talks to BOOTP/NFS servers.
(main.c was moved from boot/ofw/libofw to boot/ofw/common but has no revision
history)
Reviewed by: obrien
2000-11-10 06:39:58 +00:00
benno
0268629b4f
Give the network device a print method.
...
Reviewed by: obrien
2000-11-10 06:37:43 +00:00
dfr
28bd3a48b3
Don't indirect through a null pointer if we run out of kernel filenames.
2000-10-25 23:28:19 +00:00
dcs
7d33636597
The default search path for kernel and modules was bogus. It makes no
...
sense for /boot/kernel to come last.
2000-09-16 19:59:41 +00:00
dcs
12daa03d59
Start countdown only _after_ the kernel was loaded. Not very fair otherwise.
2000-09-15 07:54:10 +00:00
dcs
fe786558be
Change NOFORTH comment character from # to \ followed by space,
...
to make things more interchangeable between it and the FORTH case.
Perhaps requiring the space is a bit too much, but...
Nothing in the tree seems to produce loader.rc files with comment
line, at this time.
2000-09-10 13:48:51 +00:00
dcs
2484437edf
Update boot and boot-conf descriptions to reflect new and old changes.
...
Add a warning in loader(8) that boot might be changed by loader.4th.
2000-09-08 21:39:31 +00:00
dcs
2f010215ab
Make the pnp structure a global variable, so it can be used elsewhere.
2000-09-08 16:51:29 +00:00
dcs
475f83c70c
Fix autoboot. Now autoboot *always* show the correct kernel name. It
...
gets the name from the environment variable kernelname, which is set
when a kernel is loaded. For this reason, autoboot will _first_ try
to load a kernel, and only proceed with the wait prompt after that
succeeds. If it fails, it will abort immediately.
While I understand some may think this behavior undesirable, I think
it is, overall, the best thing to do, even if we do not consider the
aesthetic issue. Notice that anyone using the default loader.rc
already has the kernel loaded before autoboot.
On unload, unset kernelname.
Separate the code that tries to load a kernel from the list of options
to the function loadakernel(). It is used by both boot() and
autoboot().
2000-09-08 16:47:05 +00:00
obrien
d2dcb8b1f5
With the committed changes to the loaders modules path code, the kernel
...
path does not need to be hard coded.
2000-09-06 20:50:24 +00:00
obrien
b6cfb177d1
Fix the kernel default load from "/boot/modules" to "/boot/kernel".
...
Reported by: dcs
2000-09-05 23:10:46 +00:00
obrien
6de7dfbb5a
The kernel is now known as `kernel.ko' and it and its matching modules
...
live in ``/boot/kernel/''.
2000-09-05 22:37:46 +00:00
sheldonh
e723427bd3
List loader.conf and friends in the FILES section.
...
Requested by: obrien
2000-08-24 08:00:29 +00:00
dcs
6301ff4c50
Add missing "is".
...
PR: 20524
Submitted by: Peter Pentchev <roam@orbitel.bg>
2000-08-11 10:32:23 +00:00
ps
1dd134848f
Add support to send the string 'PXEClient' as the Vendor class
...
identifier to the DHCP server. Now you can check for this string
in your dhcp configuration to decide whether you will hand out a
lease to the client or not.
2000-08-11 08:36:17 +00:00
jhb
0923c0673c
Bring back the perform() function. However, conditionionalize it on
...
BOOT_FORTH as it is only used if BOOT_FORTH is not defined.
2000-08-04 05:23:41 +00:00
jhb
e891ba5888
Fix the more obvious warnings to deal with my earlier warning cleanups.
2000-08-03 09:49:44 +00:00
jhb
e165b852de
Cleanup warnings. Most of these are signed/unsigned warnings, as well as
...
some added const's.
2000-08-03 09:14:02 +00:00
kris
78f990a287
Don't call printf with no format string.
2000-07-10 06:40:06 +00:00
kris
0d6709d662
Don't call printf with no format string. This is technically a security
...
vulnerability and could in principle be used to upload a new kernel from the
bootloader :-)
2000-07-10 06:33:55 +00:00
mph
0aadcd8ef6
Typo fix: tunnable.
...
Backslash-parsing is not the role of printf(3), but is provided
by the C language.
2000-06-25 07:12:03 +00:00
sheldonh
900db4d90d
Whitespace-only changes: apply accepted line breaking style as a
...
pre-cursor to other markup changes.
Accepted in principle by the author.
2000-06-22 08:37:22 +00:00
dcs
a916ed2bd7
Fix vocabulary juggling so that builtins voc is always searched before
...
forth vocabulary when initially creating the builtins. FICL 2.05 has a
better way to do this, but this works for now.
Fixes "?".
2000-06-16 05:04:05 +00:00
dcs
cb251cf529
Remove the setting of sourceid from bf_vm(), as bf_vm() really has
...
no clue.
Set sourceid to 0 when booting, which is the correct setting for stdin.
Set sourceid to an arbitrary fd when include'ing, preserving and restoring
the previous sourceid. This is possibly broken(), as 0 is a valid fd. Maybe
we should +1 to this value.
This fixes the version problem widely reported.
2000-06-14 19:37:00 +00:00
ps
013be4c743
Delay calling the device cleanup routines until the absolute last
...
moment. We were cleaning up after PXE too early and the module
dependancy code would not be able to load any files if it needed
too.
2000-06-14 10:34:29 +00:00
ps
24e5543f48
Make typing 'q' or 'Q' work for the show command as the pager prompt
...
says it should.
2000-06-14 09:05:03 +00:00
dcs
cf59a85113
Place original builtins in a vocabulary called "builtins". This
...
is intended mainly for debuging purposes, but it can be used by
other words if done carefully.
2000-06-07 21:57:23 +00:00
dcs
5be27e9988
Remove residual printf.
...
Prodded by: msmith
2000-06-07 03:33:12 +00:00
jake
961b97d434
Back out the previous change to the queue(3) interface.
...
It was not discussed and should probably not happen.
Requested by: msmith and others
2000-05-26 02:09:24 +00:00
jake
d93fbc9916
Change the way that the queue(3) structures are declared; don't assume that
...
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
2000-05-23 20:41:01 +00:00
dcs
f223e71d8f
Document abial's .#.
2000-05-23 11:47:23 +00:00
dcs
6ac8bb3941
One of loaders' bugs disappeared somewhere along the way.
2000-05-19 11:15:12 +00:00
dcs
dda5ed02c6
Move man page directives to common/Makefile.inc.
2000-05-19 08:52:16 +00:00
dcs
ed20714d67
Make corrections to allow for Alpha.
2000-05-18 12:44:50 +00:00
dfr
714d84ab03
Only probe network settings on the first open of the network device.
...
The alpha firmware takes a seriously long time to open the network device
the first time.
2000-05-13 15:40:46 +00:00
obrien
ee4196ca57
The loader was written so that if /kernel was missing /kernel.old would
...
be booted. Due to a bug, this wasn't happening.
There is still a lesser bug in that the loader decides which file to boot
after the 10sec count down. This means the bootfile listed in the count
down in is wrong in the case where the loader will boot /kernel.old.
2000-05-13 02:45:11 +00:00
bp
7153c35d2e
long != int on Alphas.
2000-05-12 05:16:37 +00:00
dcs
acae6b3858
Make documentation on recently added heap? command reflect reality.
2000-05-04 22:51:21 +00:00
dcs
42ac2ec21d
Add "heap?" to loader's man page.
2000-05-04 21:26:26 +00:00
dcs
03d29e369d
Further improve ordering.
2000-05-04 21:22:55 +00:00
dcs
01244aaf56
Sort entries in FreeBSD-specific FICL commands.
2000-05-04 21:18:26 +00:00
peter
22f6069a2a
Add $FreeBSD$
2000-05-01 20:32:07 +00:00
peter
24253dd451
GC unused variable (size)
2000-05-01 18:03:15 +00:00
peter
09c5677a8b
Fix some warnings on the Alpha. sizeof() returns different things on
...
x86 and Alpha. Sigh.
2000-05-01 18:02:38 +00:00
bp
816e92565a
Update loader logic to distinguish modules vs. files.
...
Add support for module metadata. The old way of dependancy
handling will be supported for a while.
Reviewed by: peter
2000-05-01 17:41:25 +00:00
jlemon
c1672ab1ed
Teach the loader about the ext2fs filesystem, extended partitions, and
...
the new readdir function.
2000-04-29 20:49:33 +00:00