cgd
ea4defd6da
do the Net/2 thing with startrtclock() for non-i386 architectures.
...
i386's startrtclock should be moved down, as well, but i believe it
does some magic...
1993-08-07 06:25:43 +00:00
cgd
f5ec218873
the swtch() calls here should not need to be splclock() protected,
...
and certainly don't need to be bracketed by splclock()/splnone(),
the latter of which is a jolitz invention.
1993-08-07 05:16:38 +00:00
mycroft
bbc8c11fd5
Nuke an extra `||' Chris inserted.
1993-08-03 02:45:20 +00:00
cgd
d6b4910ac2
fix from Garrett Wollman <wollman@emba.uvm.edu> to return EPROTONOTSUPP
...
if user tries to get a socket for a protocol with no usrreq function
1993-08-03 01:36:10 +00:00
mycroft
5cc9898c12
Cosmetic change to VOP_ADVLOCK() fix.
1993-08-03 00:11:29 +00:00
mycroft
f9ce597695
Collapse a bunch of `if (a & x) b |= x; else b &= ~x;' statements.
...
Whoever wrote this fugly code must've been on drugs.
1993-08-02 23:37:56 +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
cgd
2680a043c7
general cleanup (get close to KNF), and remove a few fuzzies
...
in preparation for The Grand Re-rewriting.
1993-07-28 04:08:27 +00:00
cgd
7b2afa7fe6
incorporate changes from 0-9-base to 0-9-ALPHA
1993-07-28 02:20:34 +00:00
ws
96ec00e106
Use all of freebufspace
1993-07-24 22:09:50 +00:00
mycroft
6a12d4b9b2
Clean up deleted files.
1993-07-19 16:39:09 +00:00
cgd
9bd082f70e
replace jolitz's vfs__bio with a better one from CMU via mw.
...
so, replace vfs__bio, and deal with attendant changes.
1993-07-19 16:38:35 +00:00
cgd
57ee917973
allocate out of kmem_map, not buffer_map. buffer_map is for
...
*buffers*... hopefully this won't fragment kmem_map too much.
it should probably be put into its own map, but doesn't need to be
right now.
1993-07-19 09:57:22 +00:00
mycroft
7aecc812a5
Move flushq() macro into tty.h.
1993-07-19 05:52:27 +00:00
mycroft
69fdebd9fa
Make sure there are character in the ring before flushing.
1993-07-19 05:49:13 +00:00
mycroft
ec99160f49
Use flushq() macro instead.
1993-07-19 05:48:01 +00:00
mycroft
b8756ae04c
Use ndflush(), not while(getc()).
1993-07-19 05:10:30 +00:00
andrew
5dbe2d9d5b
* don't used copyout() to relocate icode - use bcopy() instead
1993-07-18 08:17:36 +00:00
mycroft
23b68e4c79
Clean up deleted files.
1993-07-18 07:21:13 +00:00
mycroft
a2587ffb83
Nuke a kluge from Net/2. The argument list ocreat() creates for open() can
...
now be a struct open_args; no need to redefine the structure.
1993-07-18 06:28:01 +00:00
mycroft
41b40c6792
Only declare these variables extern in buf.h; define them only once in
...
vfs__bio.c.
1993-07-18 05:15:25 +00:00
mycroft
331148c31a
Make these files GCC 2 happy.
1993-07-17 16:20:24 +00:00
mycroft
97cae397ee
Finish moving struct definitions outside of function declarations.
1993-07-17 15:24:33 +00:00
cgd
9c0456d7d7
gcc2 cleanup, and break args out of procedure def'ns
1993-07-15 22:56:23 +00:00
cgd
082beb9cc0
make args & locals of select unsigned where appropriate.
1993-07-15 22:26:11 +00:00
brezak
74f0cb89c9
Add 'ps' command. Add -more- pager to output from Mach ddb.
1993-07-15 18:36:32 +00:00
cgd
5287574e0a
get rid of bogus retrymalloc code (and it was bogus)...
1993-07-15 13:33:23 +00:00
cgd
c0334ef92c
break args structs out, into syscallname_args structs, so gcc2 doesn't
...
whine so much.
1993-07-13 22:13:15 +00:00
mycroft
7ef782c7d7
Clean up deleted files.
1993-07-12 11:36:21 +00:00
mycroft
41b03a4a6e
Change tty code to use clist interface, but with ring buffer implementation.
...
Also, fix a couple of bugs in tty.c and pccons.c, and some gross kluginess
in the hp300 stuff.
1993-07-12 11:33:54 +00:00
mycroft
bfc1b68bb5
Change tty code to use clist interface, but with ring buffer implementation.
...
Also, fix a couple of bugs in tty.c and pccons.c, and some gross kluginess
in the hp300 stuff.
1993-07-12 11:16:07 +00:00
cgd
daacc668f9
re-add two changes which had been deleted by commit of r1.7
1993-07-11 07:22:52 +00:00
cgd
5a84b475d6
handle the initflags problem in a simple (if twisted) way.
...
also, remind the pagedaemon that it's a daemon, not an r... 8-)
1993-07-10 03:25:03 +00:00
mycroft
842b58edb5
Change the names of processes 0 and 2.
1993-07-10 02:48:57 +00:00
brezak
b5236e7d0f
Roundup stack len to naturally aligned address. This fixes emacs aborting due to an odd address in alloca'ed memory.
1993-07-10 02:07:48 +00:00
mycroft
1c33fddc0b
Oops.
1993-07-08 22:53:05 +00:00
brezak
31d24dc82e
Ignore the flags field in midmag.
1993-07-08 16:48:18 +00:00
cgd
98bb5ccd73
if mincnt returns 0 (i.e. off end of disk, or something), punt.
1993-07-08 10:53:40 +00:00
cgd
0ffdd71a7e
mark the buffer busy immediately when we acquire it,
...
also, sleep at a slightly higher priority (so says mw...)
1993-07-08 10:29:26 +00:00
cgd
8f29c4b498
specification of mountroot now handled by config
1993-07-07 10:55:00 +00:00
cgd
06d372686f
revert code base back to net/2. in particular,
...
fix jolitz's trapsignal() change (it's only supposed to work on curproc)
and add a panic if called w/something other than curproc, and also
fix a relic of his crappy exec implementation
1993-07-07 08:12:33 +00:00
mycroft
38e4cf5f34
Clean up deleted files.
1993-07-07 06:03:57 +00:00
cgd
419b16b0f6
add rcsid, and get rid of extraneous debugging printf
1993-07-07 06:00:15 +00:00
cgd
ac8fe993ef
add rmap routines written by Wolfgang Solfrank to the tree,
...
so that they can be used to (eventually) replace rlists.
1993-07-06 00:25:26 +00:00
cgd
b274bb4126
add support for checking entry against max user address
1993-07-05 01:53:56 +00:00
cgd
955ae6a915
change exit() to kexit(), so prototypes are "safe" with stdio.h, etc.
1993-07-04 23:30:33 +00:00
cgd
b21025e4f3
call setregs with a retval, too, so the hp300 & mac, and more works.
1993-07-04 09:48:29 +00:00
cgd
2f1182cf07
biodone returns void...
1993-07-04 04:01:38 +00:00
cgd
1fd0e7e71f
shminit has void return type.
1993-07-04 03:59:55 +00:00
mycroft
c5fdaf369a
Blasted ftpd!
1993-07-02 03:11:11 +00:00