summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kvm_mkdb
Commit message (Collapse)AuthorAgeFilesLines
* Initial support for dealing with an elf /kernel. This is a loose hybridpeter1997-08-302-4/+179
| | | | | | | | of OpenBSD's elf nlist code for this, and our a.out version. The OpenBSD version was mainly a seek/read system with a mmap of the string table, this one simply mmap's the lot (like the a.out version). Obtained from: a fair chunk from OpenBSD
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-1/+1
| | | | posix standard on the topic.
* Merge from Lite2 (use special dbopen flags)peter1997-03-111-9/+12
|
* Sweep through the tree fixing mmap() usage:alex1997-01-161-0/+3
| | | | | | | | | | | | - Use MAP_FAILED instead of the constant -1 to indicate failure (required by POSIX). - Removed flag arguments of '0' (required by POSIX). - Fixed code which expected an error return of 0. - Fixed code which thought any address with the high bit set was an error. - Check for failure where no checks were present. Discussed with: bde
* Use the .Bx macro where appropriate.mpp1996-08-231-1/+2
|
* NBPG -> getpagesize()phk1996-05-021-2/+2
|
* Remove trailing whitespace.rgrimes1995-05-301-4/+4
|
* Speed kvm_mkdb up by a factor 5 or thereabout. Rewrote all the fseek/freadphk1995-01-102-77/+48
| | | | | | nonsense to use a mmap'ed file instead and told the DB/hash what we are up to. dev_mkdb could maybe benefit from the same treatment.
* Get rid of _PATH_UNIX completely; use getbootfile(3) instead.wollman1994-09-242-2/+2
| | | | | | | DANGER WILL ROBINSON! _PATH_UNIX is currently defined as the literal string "don't use this". I am of two minds about this myself, but wanted to get something into the tree as quickly as possible.
* Get rid of update. Make man page installation work with our schemewollman1994-08-051-1/+1
| | | | (and rename a few in the process).
* Converted 'vmunix' to 'kernel'.dg1994-08-051-4/+4
|
* The FreeBSD bootloader loads the kernel at the a_entry address in thecsgr1994-07-221-0/+11
| | | | | | | kernel a.out file, meaning that this is where the kernel starts. (not at KERNBASE) - KERNBASE is 0xf0000000, while the kernel loads at 0xf0100000 Reviewed by:
* Must now include vm/vm.h and vm/vm_param.h due to the way we define KERNBASE.rgrimes1994-05-281-0/+3
| | | | Reviewed by: David Greenman
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-266-0/+524
OpenPOWER on IntegriCloud