cgd
b1f6bfa080
kill extraneous label
1995-01-09 01:30:46 +00:00
cgd
0a930e5ce6
redo that last change, correctly. (suggested by mycroft.)
1994-10-30 19:11:09 +00:00
cgd
aa151f86b3
change some strategic casts to (*long) from (*int).
1994-10-29 07:35:04 +00:00
mycroft
2f710a54ee
Convert process, file, and namei lists and hash tables to use queue.h.
1994-08-30 03:04:28 +00:00
deraadt
72b3d408b9
replace "ctob(UPAGES)" and "UPAGES * NBPG" with "USPACE"
1994-08-23 22:07:42 +00:00
cgd
fccfa11af5
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:39:25 +00:00
cgd
9608c5b657
clean up slightly; change RCS ID's to be minimally intrusive
1994-06-27 04:55:46 +00:00
mycroft
0d8affb278
Turn P_NOSWAP and P_PHYSIO into a hold count, as suggested by a comment.
1994-06-15 19:59:21 +00:00
cgd
3495827959
new VM code, from 4.4-Lite
1994-05-23 03:11:20 +00:00
cgd
207339d53d
define maxdmap and maxsmap
1994-05-19 08:08:46 +00:00
cgd
c6abdc2054
setrq -> setrunqueue, sched -> scheduler
1994-05-13 00:50:41 +00:00
cgd
0f2ecb72f6
lots of changes: prototype migration, move lots of variables, definitions,
...
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
1994-05-05 05:40:40 +00:00
cgd
4bbabd8e7a
Rename a lot of process flags.
1994-05-04 03:41:12 +00:00
cgd
e937bc9bfd
convert vm system to use new queues. I'll never write code w/queues again.
1994-04-15 07:04:03 +00:00
mycroft
19065b312a
Fix a compiler warning.
1994-01-08 05:58:21 +00:00
mycroft
8955aeedd5
#include vm_user.h.
1994-01-08 04:15:41 +00:00
mycroft
8c5b51d9dc
Add some explicit return types.
1994-01-07 22:48:40 +00:00
mycroft
c7f0925a52
Add some explicit return types.
1994-01-07 22:46:05 +00:00
mycroft
d77a163cac
Kill third arg to thread_sleep(). It's always false and isn't used anyway.
1994-01-07 22:22:20 +00:00
cgd
c26286a5c1
bring changes down from magnum
1993-12-20 12:39:55 +00:00
mycroft
b4d3382694
Canonicalize all #includes.
1993-12-17 07:56:32 +00:00
cgd
215649adeb
from Mark Tinguely (tinguely@plains.NoDak.edu): record when processes are
...
swapped...
1993-10-19 02:54:09 +00:00
cgd
13a840d756
generalize kernacc() to any protections in the function "kerncheckprot()",
...
and prototype it.
1993-10-06 23:38:19 +00:00
cgd
f09334ef6c
we need the buffer hack again, now that we have a real vfs_bio...
1993-10-06 02:06:49 +00:00
cgd
9c32bc786a
make allproc be volatile, and cast things accordingly.
...
suggested by torek, because CSRG had problems with reordering
of assignments to allproc leading to strange panics from kernels
compiled with gcc2...
1993-09-15 22:30:32 +00:00
brezak
b4940ad7a0
Wrap iprintf, vm_object_print, vm_map_print to allow passing a printf function.
1993-09-13 14:10:35 +00:00
cgd
6a474f29e2
get rid of maxdmap, and seperate MAXDSIZ and MAXSSIZ in rlimit checking.
1993-09-04 00:37:54 +00:00
deraadt
ae8b49f87b
#ifdef pc532 in same places as #ifdef i386
1993-09-01 08:49:45 +00:00
mycroft
fbd4257135
Put `#ifdef notyet' around some code which is currently defunct.
1993-08-14 10:02:30 +00:00
andrew
22dff5862a
Removed the user area protection gunk I painstakingly removed in revision
...
1.9. It has not been necessary since then due to a segment fixup made to
machdep.c that prevents access to anything above MAX_VMUSER_ADDRESS.
1993-08-13 03:50:02 +00:00
cgd
26817f18ab
fix prettyprinting changes that caused the kernel to not link if you
...
defined DIAGNOSTIC but not DDB...
1993-08-07 05:08:11 +00:00
mycroft
a0aed26669
Remove a spurious `#' added two revisions ago.
1993-08-03 01:56:52 +00:00
mycroft
4862b84c92
Add RCS identifiers (this time on the correct side of the branch), and
...
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
brezak
9d7e246a03
Cleanup pretty printers for maps and objects.
1993-07-22 13:03:36 +00:00
cgd
24e3cbad44
according to andrew, the bit with the comment:
...
> /* protect from the user area from user accesses. :-)
> addr -> addr + UPAGES*NBPG don't seem to be protected without
> this; the rest seems to be OK, and doesn't like being protected
> - andrew@werple.apana.org.au */
*is* necessary, so put it back in... it's in an #ifdef i386 part anyway.
1993-07-19 13:47:09 +00:00
andrew
aa381d0e73
vm_protect() of the user area is no longer required for i386 machines; the
...
protection is implemented by adjusting the bounds of the user segment
descriptors.
1993-07-18 08:19:34 +00:00
cgd
fd3c8fa35a
fix a whole slew of off-by-one errors
1993-07-15 15:42:17 +00:00
mycroft
d94e5eecbb
Fix some off-by-one errors.
1993-06-29 13:47:05 +00:00
andrew
5705dde7e9
Disallow access to the user pages, where the kernel stack is stored. This
...
is effected in useracc(), and also by a vm_protect() in vm_fork() for i386
CPUs. Without the latter a write to the user area, say USRSTACK+1000,
would hang a 386-based system.
1993-06-29 07:16:31 +00:00
andrew
51ac6a0997
ANSIfications.
1993-06-27 06:27:29 +00:00
cgd
0e761b8d7e
fix behavior when VM_MAXUSER_ADDRESS == (-UPAGES * NBPG)
1993-06-21 10:18:20 +00:00
cgd
cc5e8e00d5
add rcs ids and clean up headers
1993-05-20 03:59:08 +00:00
cgd
db3da84702
add bruce evans's useracc fixes, from patchkit patch 137.
1993-05-07 07:03:50 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00