summaryrefslogtreecommitdiffstats
path: root/sys/boot/common
Commit message (Collapse)AuthorAgeFilesLines
* Revert rev 1.3 which moved us away from POSIX character classes.obrien2001-11-031-4/+4
| | | | The community feels our base AWK must handle them.
* Bell-Labs AWK does not support POSIX "bracket expressions" (POSIXese forobrien2001-11-011-4/+4
| | | | | | | "character classes", basically). So change them to their character representation. Submitted by: David Wolfskill <david@catwhisker.org>
* grammar fix: to -> toosilby2001-10-011-1/+1
|
* Implement the long-awaited module->file cache database. A userlandpeter2001-09-115-119/+423
| | | | | | | tool (kldxref(8)) keeps a cache of what modules and versions are inside what .ko files. I have tested this on both Alpha and i386. Submitted by: bp
* mdoc(7) police: markup nits.ru2001-08-201-9/+17
|
* Limit the amount of KVM reserved for the buffer cache and for swap-metadillon2001-08-201-0/+27
| | | | | | | | | | | | | | | information. The default limits only effect machines with > 1GB of ram and can be overriden with two new kernel conf variables VM_SWZONE_SIZE_MAX and VM_BCACHE_SIZE_MAX, or with loader variables kern.maxswzone and kern.maxbcache. This has the effect of leaving more KVM available for sizing NMBCLUSTERS and 'maxusers' and should avoid tripups where a sysad adds memory to a machine and then sees the kernel panic on boot due to running out of KVM. Also change the default swap-meta auto-sizing calculation to allocate half of what it was previously allocating. The prior defaults were way too high. Note that we cannot afford to run out of swap-meta structures so we still stay somewhat conservative here.
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-101-2/+2
|
* Remove whitespace at EOL.dd2001-07-151-3/+3
|
* Get rid of some constness warnings.dwmalone2001-06-241-6/+7
|
* Convert the elf loader to the new linker set layout for elf files.peter2001-06-191-6/+7
| | | | | | This should make dependencies at load time work like before. Oops. Noticed by: markm
* Fix some of the worst formatting bug (seperate commit)peter2001-06-191-2/+4
|
* Nuke old gensetdefs based linker sets with extreme prejudicepeter2001-06-142-47/+2
|
* Fix a minor style bug in the last commit.jesper2001-06-101-1/+1
| | | | | Submitted by: Adrian Steinmann <ast@marabu.ch> MFC after: 2 days
* In sys/boot/common/module.c, near line 105 a request for a rawjesper2001-05-271-1/+1
| | | | | | | | | | | | | | | | | file is processed by passing its name in argv[1]: return(mod_loadobj(typestr, argv[1])); however, it is not tested to see if argv[1] actually is defined. At best, mod_loadobj() near line 244 returns an error like "can't find 'garbage'" but if the "filename" entered is sufficiently long, some buffer gets overrun. Of course, "load -t filename" is actually a typo because we meant to type "load -t mfs_root filename"; nevertheless, a hung machine seems like too harsh a punishment for such a small typo... PR: i386/27693 Submitted by: Adrian Steinmann <ast@marabu.ch> MFC after: 1 week
* MAN[1-9] -> MAN.ru2001-03-271-3/+3
|
* setlocale(3) has been fixed to match POSIX standard:ru2001-03-021-1/+1
| | | | LC_ALL takes precedence over other LC_* envariables.
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.ru2001-02-281-8/+8
|
* Whenever the user might be offered a chance to quit throughdcs2001-02-221-4/+7
| | | | | | pager_output(), respect that choice. PR: 15747
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+1
|
* Use <sys/queue.h> macro API.phk2000-12-301-12/+12
| | | | | Submitted by: "Jason" <jsmethers@pdq.net> Reviewed by: /sbin/md5
* Prepare for mdoc(7)NG.ru2000-12-271-13/+10
|
* mdoc(7) police: removed duplicate .Os call.ru2000-12-141-1/+1
|
* mdoc(7) police: do not split author names in the AUTHORS section.ru2000-11-221-5/+3
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-4/+4
|
* The default kernel filename is "kernel" again, not "kernel.ko".msmith2000-11-171-1/+1
| | | | Submitted by: mckusick
* Use Fx macro wherever possible.ru2000-11-141-1/+3
|
* OpenFirmware/PowerPC loader, part 2.benno2000-11-101-0/+4
| | | | | | | | | | 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
* Give the network device a print method.benno2000-11-101-1/+9
| | | | Reviewed by: obrien
* Don't indirect through a null pointer if we run out of kernel filenames.dfr2000-10-251-1/+1
|
* The default search path for kernel and modules was bogus. It makes nodcs2000-09-161-1/+1
| | | | sense for /boot/kernel to come last.
* Start countdown only _after_ the kernel was loaded. Not very fair otherwise.dcs2000-09-151-4/+4
|
* Change NOFORTH comment character from # to \ followed by space,dcs2000-09-101-1/+1
| | | | | | | | | 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.
* Update boot and boot-conf descriptions to reflect new and old changes.dcs2000-09-081-0/+5
| | | | Add a warning in loader(8) that boot might be changed by loader.4th.
* Make the pnp structure a global variable, so it can be used elsewhere.dcs2000-09-082-1/+5
|
* Fix autoboot. Now autoboot *always* show the correct kernel name. Itdcs2000-09-082-17/+37
| | | | | | | | | | | | | | | | | | 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().
* With the committed changes to the loaders modules path code, the kernelobrien2000-09-061-1/+1
| | | | path does not need to be hard coded.
* Fix the kernel default load from "/boot/modules" to "/boot/kernel".obrien2000-09-051-1/+1
| | | | Reported by: dcs
* The kernel is now known as `kernel.ko' and it and its matching modulesobrien2000-09-052-2/+2
| | | | live in ``/boot/kernel/''.
* List loader.conf and friends in the FILES section.sheldonh2000-08-241-0/+6
| | | | Requested by: obrien
* Add missing "is".dcs2000-08-111-1/+1
| | | | | PR: 20524 Submitted by: Peter Pentchev <roam@orbitel.bg>
* Add support to send the string 'PXEClient' as the Vendor classps2000-08-111-1/+2
| | | | | | 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.
* Bring back the perform() function. However, conditionionalize it onjhb2000-08-041-0/+36
| | | | BOOT_FORTH as it is only used if BOOT_FORTH is not defined.
* Fix the more obvious warnings to deal with my earlier warning cleanups.jhb2000-08-031-1/+0
|
* Cleanup warnings. Most of these are signed/unsigned warnings, as well asjhb2000-08-0312-162/+135
| | | | some added const's.
* Don't call printf with no format string.kris2000-07-101-1/+1
|
* Don't call printf with no format string. This is technically a securitykris2000-07-101-2/+2
| | | | | vulnerability and could in principle be used to upload a new kernel from the bootloader :-)
* Typo fix: tunnable.mph2000-06-251-3/+2
| | | | | Backslash-parsing is not the role of printf(3), but is provided by the C language.
* Whitespace-only changes: apply accepted line breaking style as asheldonh2000-06-221-91/+138
| | | | | | pre-cursor to other markup changes. Accepted in principle by the author.
* Fix vocabulary juggling so that builtins voc is always searched beforedcs2000-06-161-2/+2
| | | | | | | forth vocabulary when initially creating the builtins. FICL 2.05 has a better way to do this, but this works for now. Fixes "?".
* Remove the setting of sourceid from bf_vm(), as bf_vm() really hasdcs2000-06-142-5/+7
| | | | | | | | | | | | 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.
OpenPOWER on IntegriCloud