Commit Graph

14 Commits

Author SHA1 Message Date
peter
487373ebf8 Initial support for dealing with an elf /kernel. This is a loose hybrid
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
1997-08-30 23:35:00 +00:00
imp
691010efad compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
peter
2083e11126 Merge from Lite2 (use special dbopen flags) 1997-03-11 13:01:42 +00:00
alex
a3118e8c68 Sweep through the tree fixing mmap() usage:
- 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
1997-01-16 21:58:40 +00:00
mpp
bef6fb830a Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
phk
8b3eb1da82 NBPG -> getpagesize() 1996-05-02 09:09:04 +00:00
rgrimes
4f960dd75f Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
phk
a7c5c4d132 Speed kvm_mkdb up by a factor 5 or thereabout. Rewrote all the fseek/fread
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.
1995-01-10 18:37:12 +00:00
wollman
193a8fae68 Get rid of _PATH_UNIX completely; use getbootfile(3) instead.
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.
1994-09-24 00:08:43 +00:00
wollman
d7fca5c189 Get rid of update. Make man page installation work with our scheme
(and rename a few in the process).
1994-08-05 16:31:05 +00:00
dg
6b466831f4 Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
csgr
e636e927e8 The FreeBSD bootloader loads the kernel at the a_entry address in the
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:
1994-07-22 13:17:07 +00:00
rgrimes
9f356b70aa Must now include vm/vm.h and vm/vm_param.h due to the way we define KERNBASE.
Reviewed by:	David Greenman
1994-05-28 04:20:59 +00:00
rgrimes
862fdf11a2 BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00