Commit Graph

20 Commits

Author SHA1 Message Date
mycroft ababab0671 Forgot to initialize `cp' in setsyserr(). 1993-10-13 15:49:55 +00:00
mycroft db3323c9ef Remove code for old VM system. Don't use page tables in kvm_procread().
Change `#if DEBUG' to `#ifdef DEBUG'.  Read some symbols from the kernel
only once.
1993-10-02 07:07:43 +00:00
mycroft 669b9e506a Last change was almost correct, but we have to check that the pager actually
has the page.  If not, we go up the shadow chain.
1993-08-16 07:27:06 +00:00
mycroft 9b8df6ad33 Fix an off-by-one error when scanning the vm map for a page. Also, if the
page is not in core, don't recurse into shadow objects if we've already found
a pager.
1993-08-15 13:57:51 +00:00
mycroft cfafc9262a Fix a bug in virtual to physical address translation on hp300s, and add support
for Amigas.
1993-08-15 01:54:29 +00:00
cgd 7fa14d416e line 860: use CLSHIFT rather than PGSHIFT.
line 927: fix bogus indentation
also make sure first chars of buffers are null char, just in
case nothing rational is read...
1993-08-14 11:47:51 +00:00
cgd b24744dc1d implement kvm_procread for the hp300. now things mostly work on
the hp300, in terms of kvm.  still minor strangeness re: sendmail...
1993-08-14 11:44:45 +00:00
mycroft a617b72b1f #include <machine/pte.h>, not <hp300/hp300/pte.h>. Also, make it at least
compile for non-i386 architectures, but exit with an error message (for now).
1993-08-14 02:20:27 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft 81c63e588b Read swap in CLBYTES blocks. 1993-07-19 12:37:13 +00:00
deraadt 5c20ccab8b kernel string read function takes much less time. could be optimized further,
by making block reads kernel page aligned. (cgd will make the next optimization
in this file)
1993-06-15 07:16:06 +00:00
cgd 566dd48a95 misc minor changes 1993-06-01 01:48:36 +00:00
cgd 5089c41368 update kvm.c for the new way of doing things:
(1) add support for new stack format/PS_STRINGS
	(2) add support for kvm_getenv
the HP300 support in kvm_procread needs to be looked at/filled in,
from example code in kvm_getu, plus hacks
1993-06-01 01:35:01 +00:00
cgd 12279683e7 don't inlude select.h, but keep header cleanups 1993-05-20 11:53:04 +00:00
cgd 2c6296eff4 fix new select stuff 1993-05-20 10:30:31 +00:00
cgd de5b7fe74a fix problem where kvm_getprocs(), ..., kvm_freeprocs(), kvm_getprocs()
would get no processes.
1993-05-11 06:44:54 +00:00
mycroft 9222eca1f3 Fix memory leak. 1993-04-27 20:58:44 +00:00
cgd ea0119db71 From: pk@cs.few.eur.nl (Paul Kranenburg)
patch which allows ps(1) and w(1) to lay
their hands on process command line arguments.
1993-04-10 15:02:41 +00:00
cgd e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00