Commit Graph

203 Commits

Author SHA1 Message Date
thorpej d36becd30f p_schedflags doesn't exist anymore; just set it to zero for now,
although we'll be able to get the correct info through kmem
groveling later.
2000-05-27 01:03:00 +00:00
simonb a9f690ae2a Add kvm interface to the new sysctls:
kvm_getproc2() -> sysctl(KERN_PROC2)
	kvm_getargv2() -> sysctl(KERN_PROC_ARGS, KERN_PROC_ARGV)
	kvm_getenvv2() -> sysctl(KERN_PROC_ARGS, KERN_PROC_ENV)
Add new KVM_NO_FILES flag to kvm_open*() - set up enough state to
use the above calls without having to open any kernel files.

XXX: kvm_getprocs.3 and kvm_open.3 to be updated soon.
2000-05-26 02:42:21 +00:00
bjh21 6c97e2bd78 Initial commit of arm26 port 2000-05-09 21:55:44 +00:00
simonb 21bd11df50 Fill in e_sid when building the eproc from a crash dump. 2000-04-15 15:52:52 +00:00
simonb e465cebbfc Document KERN_PROC_TTY_NODEV and KERN_PROC_TTY_REVOKE. 2000-04-15 04:38:47 +00:00
chs e0acecf117 in kvm_getprocs(), check for error from kvm_deadprocs(). 2000-01-15 19:16:32 +00:00
chs 21eedb0ec1 the PMAP_NEW option is gone as the new interface is no longer optional. 1999-09-12 01:19:23 +00:00
cgd 1794a768f0 fix four major and one minor bug in dead kernel file-getting. Three
of the biggies crept in in rev. 1.10 (we need a lint trap!), the
others were here since the file was originally imported.
1999-08-19 05:42:56 +00:00
simonb f68ec00b50 More trailing white space. 1999-07-02 15:28:49 +00:00
veego d28a19df1b Nuke swap_pager.h. 1999-04-01 09:57:00 +00:00
mycroft 5412e6f2c7 Nuke swap_pager.h. 1999-04-01 09:53:09 +00:00
mrg d2397ac5f7 completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
abs edc1a24a56 Add a note to update src/distrib/sets/lists/base/shl.*, and add a missing
RCS Id.
1999-02-25 08:02:19 +00:00
drochner 3654576f9f make this build again after the mips->mipse? transition 1999-02-24 15:10:16 +00:00
mrg 2998626fe3 uh...make this build on the sparc again...or something. i've had
to pull a few #define's from the sparc64 include's into this file,
renamed so that they don't break the sparc64.  this is really hacky,
and should be fixed somehow.  if the sparc is going to know about
32bit sparc64 kernels, the information necessary to get this needs
to exist somewhere for it to grab, not for duplication :(
1999-02-01 09:15:35 +00:00
eeh d2aa2f5098 Need to be able to handle sparc64 executables as well. 1999-01-30 16:57:25 +00:00
mrg 5f0216fd45 catch up with the UVM amap changes.. tested by nathanw@mit.edu, thanks. 1999-01-25 03:38:57 +00:00
eeh 1a896d2040 Add enough of a kvm_sparc64.c to get the kvm library to build. 1998-11-25 05:49:58 +00:00
thorpej 623230f641 Need string.h. 1998-09-29 02:19:02 +00:00
christos cc7ffa0da4 Remove lint 1998-09-27 18:15:58 +00:00
thorpej f45860f9b4 Adjust for the reaper process.
XXX Would really like to use proclists[] here, but not right now.
1998-09-09 00:31:25 +00:00
thorpej 360b92c118 vm_size_t -> vaddr_t, thanks Matt Thomas for pointing it out. 1998-08-17 20:11:32 +00:00
mycroft 3748c7c959 Assign my copyrights to TNF. 1998-08-15 09:16:27 +00:00
perry a843f0f8a5 bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:43:08 +00:00
thorpej 9aae5a60db Remove some lint. 1998-08-01 21:29:41 +00:00
thorpej bf8f319d0e Remove some lint. 1998-08-01 21:12:32 +00:00
mycroft 0c4d98ae35 const poisoning. 1998-07-26 17:53:10 +00:00
thorpej 5bc2ba5c36 Oops, missed a couple of pread(2) uses. 1998-06-30 20:40:44 +00:00
thorpej 55c7ea7c28 Use pread(2) and pwrite(2) rather than lseek(2)/{read,write}(2). 1998-06-30 20:29:39 +00:00
msaitoh 1666d3766d fix return value of kvm_read() and kvm_write() 1998-06-29 20:36:30 +00:00
lukem 23ff8be23c there probably are bugs. however, don't make an issue of it 1998-06-08 10:57:31 +00:00
thorpej aa9e487ddc Don't rely on a constant page shift value; dynamically compute it based
on the page size in the crash dump header.
1998-03-25 00:47:20 +00:00
pk 98de63c4a1 No need for autoconf.h 1998-03-15 23:26:04 +00:00
thorpej c88048ed85 Update for changes to <machine/pte.h> 1998-03-03 00:07:30 +00:00
thorpej 255a7ded2d NetBSD/mips uses new libkvm now. 1998-02-19 23:35:36 +00:00
thorpej 5af26b83d7 Rewrite NetBSD/mips crash dump address translation, based on NetBSD/alpha's,
using new crash dump format.
1998-02-19 23:32:35 +00:00
thorpej c611491733 Sigh, typo. 1998-02-19 17:22:31 +00:00
thorpej c548be173c Simplify test ... MACHINE_ARCH == "mips" 1998-02-19 07:06:59 +00:00
perry ba7b5f16ff add -DPMAP_NEW if PMAP_NEW is on in mk.conf 1998-02-18 03:54:58 +00:00
thorpej 9a9b611334 Rewrite _kvm_kvatop() to work with the new crash dump format, and make
the i386 port use libkvm, not libkvm.old.
1998-02-18 01:13:08 +00:00
cgd 6c0b8a86ac adjust changes in alpha's kcore.h. 1998-02-14 01:00:49 +00:00
chs a6f9c2eab5 add UVM support. 1998-02-12 06:55:29 +00:00
mrg 0e91aec6e2 while it is still kinda broken, at least let it compile -DUVM... 1998-02-11 12:00:37 +00:00
mrg 3c9dd3f03a oops, forgot to add support for UVM here. 1998-02-11 06:30:11 +00:00
perry 6982982f8d macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:39:31 +00:00
perry 312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
perry a751b73708 NetBSD 1.1A -> .Nx 1.2 1998-02-03 20:49:04 +00:00
perry 0b7831a37b remove obsolete register declarations 1998-02-03 19:12:13 +00:00
mycroft 37846770dc Need stdlib.h for prototypes. 1998-02-03 06:50:07 +00:00
veego f37e7bc569 Never ever commit changes without comiling it, even if you only change a
comment.
1998-01-17 15:14:03 +00:00