summaryrefslogtreecommitdiffstats
path: root/sys/boot/common
Commit message (Collapse)AuthorAgeFilesLines
* Make sparc64 share ufsread.c with i386.phk2002-06-051-4/+10
| | | | Sponsored by: DARPA & NAI Labs.
* Indent this file more like style(9).phk2002-06-051-108/+108
| | | | Sponsored by: DARPA & NAI Labs.
* Preparation for UFS2 commit:phk2002-06-051-0/+183
| | | | | | | Factor the ufs reading code out of the i386/boot2 loader so it can be reused by for instance sparc64. Sponsored by: DARPA and NAI Labs.
* Fix a handful of typos and grammar bogons. No content changes.schweikh2002-05-291-8/+8
| | | | | | Translators can ignore this commit. MFC after: 2 weeks
* We don't need bootinfo any more, and sparc64 doesn't have it anyways.obrien2002-05-101-1/+0
|
* Bandaid for a buffer overrun in the module searching code. When breakingpeter2002-04-111-0/+2
| | | | | | | | up the module_path string, we would walk one past the end of the buffer. This hurting ia64 originally, but it was probably also happening on i386 occasionally as well. The effects were usually harmless, it would add bogus "binary" search directories to the places it actually looked for files.
* Upgrade FICL to 3.02. Forgot this one, sorry.dcs2002-04-091-6/+7
| | | | | PR: 36308 Submitted by: dcs
* Fix another unsigned long used to index the symbol table which should bejake2002-04-091-1/+1
| | | | Elf_Hashelt.
* Use the correct elf hash table entry type. This matches a similar fixpeter2002-04-061-6/+6
| | | | | in the kernel side of things some time ago. The hash table entries are always 32 bits wide, even on 64 bit machines.
* Not all platforms have and want a.out format support.obrien2002-03-281-1/+5
|
* Remove __P.alfred2002-03-201-1/+1
|
* mdoc(7) police: fix a typo and markup.ru2002-03-151-2/+6
|
* CG superfluous prototype.sobomax2002-03-101-1/+0
|
* Declare time(not3) instead of depending on namespace pollution 3 layersbde2002-02-251-0/+2
| | | | | | | | | | | | | deep in <stand.h> to eventually include <time.h> to declare the user version. This is not quite the right place to declare it, but <stand.h> would be worse because time() is very MD so it isn't in libstand. Many places in the boot sources still get the user version using only 1 layer of pollution (#include <sys/time.h>. Some pollute themselves directly (#include <time.h>). But the boot Makefiles are too broken to enable warnings for redeclarations.
* Removed mounds of unused variables.bde2002-02-251-4/+0
|
* Document the hw.physmem kernel environment variable.davidc2002-02-211-0/+7
| | | | Reviewed by: alfred
* CG hard sentence breaks.sobomax2002-01-231-1/+2
| | | | Submitted by: ru
* Allow dump device be configured as early as possible using loader(8) tunable.sobomax2002-01-211-0/+6
| | | | | | | This allows obtaining crash dumps from the panics occured during late stages of kernel initialisation before system enters into single-user mode. MFC after: 2 weeks
* mdoc(7) police: remove hard sentence break which I didn'tru2001-12-141-1/+2
| | | | submit to Jonathan Mini.
* - Add 'fwrite' and 'fseek' words for writing to and seeking on files.jhb2001-12-111-2/+12
| | | | | | | | | | | | | - Change the 'fopen' keyword to accept a mode parameter. Note that this will break existing 4th scripts that use fopen. Thus, the loader version has been bumped and loader.4th has been changed to check for a sufficient version on i386 and alpha. Be sure that you either do a full world build or install or full build and install of sys/boot after this since loader.old won't work with the new 4th files and vice versa. PR: kern/32389 Submitted by: Jonathan Mini <mini@haikugeek.com> Sponsored by: ClickArray, Inc.
* Add support for writing blocks to the loader's disk cache.jhb2001-12-111-21/+92
| | | | | | PR: kern/32389 Submitted by: Jonathan Mini <mini@haikugeek.com> Sponsored by: ClickArray, Inc.
* Update to C99, s/__FUNCTION__/__func__/,obrien2001-12-102-2/+2
| | | | also don't use ANSI string concatenation.
* o Expand list of tunables documented in loader.8 to include kern.maxusers,rwatson2001-12-071-0/+8
| | | | | | since other related tunables were also documented here. Add a cross reference to tuning(7) for information on setting this value appropriately.
* The entry for the 'set' command no longer has a list of variables.des2001-12-041-2/+0
| | | | | | PR: 32454 Submitted by: Gary W. Swearingen <swear@blarg.net> MFC after: 3 days
* Fix typo.murray2001-12-031-1/+1
| | | | | PR: 32455 Submitted by: "Gary W. Swearingen" <swear@blarg.net>
* Waits for a keypress before rebooting on panic.dcs2001-11-281-0/+3
| | | | | | PR: kern/32351 Submitted by: Jonathan Mini <mini@haikugeek.com> MFC after: 1 week
* Upper case the FreeBSD loader prompt.obrien2001-11-192-2/+2
| | | | | | On OFW based machines, it is just too confusing having the firmware and OS loader giving the same prompt. This is a nice compromise that 99% of the users on non-OFW platforms will probably not even notice.
* Fix a number of misspellings of "dependency" and "dependencies" iniedowse2001-11-161-3/+3
| | | | | | | comments and function names. PR: kern/8589 Submitted by: Rajesh Vaidheeswarran <rv@fore.com>
* Initialize first to -1; this will create a (nearly) empty file on failure,fenner2001-11-071-1/+1
| | | | | | | | instead of looping until the disk is full. This kind of failure can especially happen when a version of awk that doesn't support POSIX character classes is used. Submitted by: David Wolfskill <david@catwhisker.org>
* Add a DEVT_CD type for CD drivers.jhb2001-11-051-0/+1
|
* Print out 'foo devices:' as the line before displaying a group ofjhb2001-11-041-1/+1
| | | | | | devices in 'lsdev' output rather than printing out a pointer to the print function since the user really could care less about the pointer value. Perhaps this was intended to be a debugging printf?
* 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
|
OpenPOWER on IntegriCloud