Daniel C. Sobral
32e1d1c252
Whenever the user might be offered a chance to quit through
...
pager_output(), respect that choice.
PR: 15747
2001-02-22 11:22:14 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Poul-Henning Kamp
0d7b8d16dc
Use <sys/queue.h> macro API.
...
Submitted by: "Jason" <jsmethers@pdq.net>
Reviewed by: /sbin/md5
2000-12-30 20:40:16 +00:00
Ruslan Ermilov
f53fadafee
Prepare for mdoc(7)NG.
2000-12-27 16:37:32 +00:00
Ruslan Ermilov
c5f49c2585
mdoc(7) police: removed duplicate .Os call.
2000-12-14 12:48:07 +00:00
Ruslan Ermilov
f4d874a1db
mdoc(7) police: do not split author names in the AUTHORS section.
2000-11-22 09:35:58 +00:00
Ruslan Ermilov
d5874785b9
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 17:05:46 +00:00
Mike Smith
1d6dc22916
The default kernel filename is "kernel" again, not "kernel.ko".
...
Submitted by: mckusick
2000-11-17 04:43:56 +00:00
Ruslan Ermilov
b5c508fba3
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
Benno Rice
4cc1860f9b
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 Rice
f1fb6c2132
Give the network device a print method.
...
Reviewed by: obrien
2000-11-10 06:37:43 +00:00
Doug Rabson
bcdb85b6b8
Don't indirect through a null pointer if we run out of kernel filenames.
2000-10-25 23:28:19 +00:00
Daniel C. Sobral
c888e59b84
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
Daniel C. Sobral
9f0c5de5f7
Start countdown only _after_ the kernel was loaded. Not very fair otherwise.
2000-09-15 07:54:10 +00:00
Daniel C. Sobral
2ae7c98e29
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
Daniel C. Sobral
869e9b2096
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
Daniel C. Sobral
3053524c85
Make the pnp structure a global variable, so it can be used elsewhere.
2000-09-08 16:51:29 +00:00
Daniel C. Sobral
59549c5031
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
David E. O'Brien
db266683d3
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
David E. O'Brien
6f54390e53
Fix the kernel default load from "/boot/modules" to "/boot/kernel".
...
Reported by: dcs
2000-09-05 23:10:46 +00:00
David E. O'Brien
3bdfa9e589
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
Sheldon Hearn
243782a80a
List loader.conf and friends in the FILES section.
...
Requested by: obrien
2000-08-24 08:00:29 +00:00
Daniel C. Sobral
e7b7c050c7
Add missing "is".
...
PR: 20524
Submitted by: Peter Pentchev <roam@orbitel.bg>
2000-08-11 10:32:23 +00:00
Paul Saab
646cf5017b
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
John Baldwin
00dc3782f7
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
John Baldwin
eb37712079
Fix the more obvious warnings to deal with my earlier warning cleanups.
2000-08-03 09:49:44 +00:00
John Baldwin
4ae4202e70
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 Kennaway
8c8970cf16
Don't call printf with no format string.
2000-07-10 06:40:06 +00:00
Kris Kennaway
487730cc8b
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
Matthew Hunt
5d98029c7e
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
Sheldon Hearn
0c74e83819
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
Daniel C. Sobral
f102f87438
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
Daniel C. Sobral
18ee60a576
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
Paul Saab
cc3d937224
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
Paul Saab
f98558ff74
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
Daniel C. Sobral
7632c12363
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
Daniel C. Sobral
7302acac1c
Remove residual printf.
...
Prodded by: msmith
2000-06-07 03:33:12 +00:00
Jake Burkholder
e39756439c
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 Burkholder
740a1973a6
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
Daniel C. Sobral
716f301734
Document abial's .#.
2000-05-23 11:47:23 +00:00
Daniel C. Sobral
aad477d890
One of loaders' bugs disappeared somewhere along the way.
2000-05-19 11:15:12 +00:00
Daniel C. Sobral
9ece4dbfe9
Move man page directives to common/Makefile.inc.
2000-05-19 08:52:16 +00:00
Daniel C. Sobral
d9f7c44adf
Make corrections to allow for Alpha.
2000-05-18 12:44:50 +00:00
Doug Rabson
8bbd2c1e46
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
David E. O'Brien
7f562b6673
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
Boris Popov
cf448cb2c9
long != int on Alphas.
2000-05-12 05:16:37 +00:00
Daniel C. Sobral
4eb5b7979d
Make documentation on recently added heap? command reflect reality.
2000-05-04 22:51:21 +00:00
Daniel C. Sobral
a1d54dfc62
Add "heap?" to loader's man page.
2000-05-04 21:26:26 +00:00
Daniel C. Sobral
19c80876dc
Further improve ordering.
2000-05-04 21:22:55 +00:00
Daniel C. Sobral
c45393b59c
Sort entries in FreeBSD-specific FICL commands.
2000-05-04 21:18:26 +00:00