Peter Wemm
6871cc6262
SVR4/XPG-style getpgid()/getsid() syscalls.
1997-08-19 05:53:48 +00:00
John Dyson
891e0f24c4
Allow lockmgr to work without a current process. Disallowing that
...
was a mistake in the lockmgr rewrite.
1997-08-19 00:27:07 +00:00
KATO Takenori
b2964d3a9e
Synchronize with sys/i386/i386/machdep.c, trapc and sys/i386/isa/npx.c
...
revisions 1.256, 1.105 and 1.51, respectively.
1997-08-18 11:30:05 +00:00
Philippe Charnier
15f3549108
Use CS_SECURE macro.
...
Reviewed by: John Dyson
1997-08-18 06:58:59 +00:00
Steve Passe
75d23f5f87
Turn on the lockmanager by default for SMP.
...
Reviewed by: "John S. Dyson" <toor@dyson.iquest.net>
1997-08-18 05:34:01 +00:00
Steve Passe
7e48002a92
Removed volatile from arg to simple_lock & friends.
1997-08-18 03:35:59 +00:00
Steve Passe
7cbfd031b6
Added includes of smp.h for SMP.
...
This eliminates a bazillion warnings about implicit s_lock & friends.
1997-08-18 03:29:21 +00:00
John Dyson
03e9c6c101
Fix kern_lock so that it will work. Additionally, clean-up some of the
...
VM systems usage of the kernel lock (lockmgr) code. This is a first
pass implementation, and is expected to evolve as needed. The API
for the lock manager code has not changed, but the underlying implementation
has changed significantly. This change should not materially affect
our current SMP or UP code without non-standard parameters being used.
1997-08-18 02:06:35 +00:00
Julian Elischer
ff36905c57
Take verbal beating by wollman into account and fix DIAGNOSTIC test.
...
This version.
1/ avoids garret's introduced potential page fault. (I got one)
2/ removes compiler warnings
Also fix the tunable scheduling quantum to return a better error code when
fed a bad argument.
1997-08-18 01:34:38 +00:00
Joerg Wunsch
ce8a015412
Minor hack to also allow for syscons's "interesting" arrow keys.
...
I'm using "#if __i386__ && __FreeBSD__" to check for a ``potentially
syscons-relevant environment''. Hope that's ok...
1997-08-17 21:21:50 +00:00
Garrett Wollman
fa5cde129b
Delete a bit of debugging code that mistakenly crept in, and as a consequence
...
revert rev. 1.28's header file additions which are no longer needed.
1997-08-17 19:47:28 +00:00
Tor Egge
19c0663e5e
Use KERNBASE, not 0xf0000000.
1997-08-17 17:40:11 +00:00
Jun-ichiro itojun Hagino
769b999aee
To handle scsi RESERVATION CONFLICT properly in ahc driver.
...
Could somebody please update other drivers so that SCSI_RSVD (0x18)
to be handled just like SCSI_BUSY(0x08)?
There's no need for extra state, so we use XS_BUSY for SCSI_RSVD too.
PR: 4257
1997-08-17 14:04:08 +00:00
Jun-ichiro itojun Hagino
14bb0309a4
preparation for scsi device RESERVATION CONFLICT support.
...
PR: 4257
1997-08-17 14:02:18 +00:00
Steve Passe
737e75a810
Added frequencies for north american HRC cable.
...
Submitted by: Yixin Jin <yjin@rain.cs.ucla.edu> (I think)
Resubmitted by: Kenneth Merry <ken@gt.ed.net>
1997-08-17 05:50:56 +00:00
KATO Takenori
5904e1f57a
Synchronize with foolowing files in sys/i386/boot/netboot:
...
1.12 Makefile
1.14 bootmenu.c
1.20 main.c
1.3 makerom.c
1.3 misc.c
1.12 netboot.h
1.11 ns8390.c
1.1 ns8390.h
1.3 rpc.c
1.6 start2.S
Submitted by: H. Nokubi <h-nokubi@nmit.mt.nec.co.jp>
1997-08-17 05:13:27 +00:00
KATO Takenori
c031bb72c5
Synchronize with sys/i386/i386/userconfig.c revision 1.88.
1997-08-17 03:38:52 +00:00
KATO Takenori
b89a4737ed
Synchronize with sys/i386/conf/majors.i386 revision 1.16.
1997-08-17 03:36:09 +00:00
Garrett Wollman
57bf258e3d
Fix all areas of the system (or at least all those in LINT) to avoid storing
...
socket addresses in mbufs. (Socket buffers are the one exception.) A number
of kernel APIs needed to get fixed in order to make this happen. Also,
fix three protocol families which kept PCBs in mbufs to not malloc them
instead. Delete some old compatibility cruft while we're at it, and add
some new routines in the in_cksum family.
1997-08-16 19:16:27 +00:00
Garrett Wollman
cee405ba27
Enable hostcache code.
1997-08-16 19:11:10 +00:00
Garrett Wollman
62f74f2f72
Dejulianize DIAGNOSTIC panic code. The types are wrong; probably there's
...
a missing dereference.
1997-08-16 19:07:20 +00:00
Mike Smith
3a6424f6be
Add the 'ppc' ISA-bus parallel-port chipset driver.
1997-08-16 14:19:43 +00:00
Mike Smith
4f013cf5af
Use cdev major 82 instead of the (reserved-for-local-use) original 14
1997-08-16 14:16:58 +00:00
Mike Smith
49975ec268
Assign character major 82 to the 'ppi' Generic Parallel Port I/O device.
1997-08-16 14:15:40 +00:00
Mike Smith
cc11e361c3
Minor ppc_data structure tweak.
...
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
1997-08-16 14:07:26 +00:00
Mike Smith
22531ffcef
Add new ppbus files.
...
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
1997-08-16 14:06:05 +00:00
Mike Smith
e51b0386a6
Sync with ppbus-970815 from the author :
...
- interrupt-driven printing now works (nlpt)
- Rearrangement of bus-related functions into ppb_base/ppbconf
- Addition of ieee1284 interface functions, preliminary parallel-port
PnP support
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
1997-08-16 14:05:38 +00:00
Mike Smith
22526298ad
Oops, reference the ppi and vpo drivers properly. Obviously nobody's
...
using this stuff yet 8)
1997-08-16 12:21:23 +00:00
John Dyson
7197c8af33
SMP Natoma motherboards cannot know if you are booting a UP or SMP OS. This
...
mod makes sure that the Natoma chipset is set into the correct mode. In
the case of my P6DNF, when booting a UP kernel, I see a substantial improvement
in the latency of certain operations. It appears that the cache hit
latency is curiously improved the most, per lat_mem_rd.
1997-08-16 07:18:51 +00:00
KATO Takenori
11ca45ebea
Synchronize with sys/i386/conf/majors.i386 revision 1.15.
1997-08-16 01:33:10 +00:00
KATO Takenori
e7e37fb1a0
Synchronize with sys/i386/conf/files.i386 revision 1.171.
1997-08-16 01:31:22 +00:00
Andrey A. Chernov
fd2e6bbaa6
Map CSTATUS to ^T by default or it never noticed by novice users
...
Reviewed by: bde
1997-08-15 22:43:22 +00:00
Justin T. Gibbs
b6e49ed332
Remove the bus settle delay after reset code. It could cause an infinite
...
loop.
Perform a "-Wall" cleanup which actually exposed two real bugs having to
do with operator precedence.
1997-08-15 19:27:43 +00:00
KATO Takenori
f5a5311ee8
Added DIAGNOSTIC routine to test inconsistency of vnode when cnp
...
points `.'.
Obtained from: NetBSD
1997-08-15 02:36:28 +00:00
KATO Takenori
a03a24c901
Deleted unused code which adjust UN_UNLOCK flag.
1997-08-15 02:35:00 +00:00
Steve Passe
b5cdece0a9
The promised "better fix" for "Trap 9 When Boot SMP" problem.
...
We now tsleep() in kthread_init() between start_init()
and prepare_usermode() while waiting for ALL the idle_loop()
processes to come online.
Debugged & tested by: "Thomas D. Dean" <tomdean@ix.netcom.com>
Reviewed by: David Greenman <dg@root.com>
1997-08-15 02:34:32 +00:00
Steve Passe
3905c09afb
The promised "better fix" for "Trap 9 When Boot SMP" problem.
...
We now tsleep() in kthread_init() between start_init()
and prepare_usermode() while waiting for ALL the idle_loop()
processes to come online.
Debugged & tested by: "Thomas D. Dean" <tomdean@ix.netcom.com>
Reviewed by: David Greenman <dg@root.com>
1997-08-15 02:33:30 +00:00
Mike Smith
ab4c624ba4
Add support for the new Parallel-Port Bus and devices thereon.
...
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
1997-08-14 14:03:27 +00:00
Mike Smith
676465394a
ISA Parallel-Port Bus chipset driver.
...
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
1997-08-14 14:01:36 +00:00
Mike Smith
1b16a0ddb8
Add parallel-Port Bus drivers.
...
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
1997-08-14 13:59:24 +00:00
Mike Smith
ed3815224c
New directory and drivers for Parallel Port Bus devices.
...
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
1997-08-14 13:57:45 +00:00
KATO Takenori
fb35546309
Fixed locking violation of vnode operation. VOP_READ, VOP_WRITE and
...
VOP_BMAP require locked vnode, and they will keep lock on exit.
1997-08-14 13:44:19 +00:00
Andrey A. Chernov
cd9f713d45
setitimer: if it_value == 0 clear it_interval now
...
non-zero it_interval values have no sense if it_value == 0 but
checked by itimerfix which may cause EINVAL return
1997-08-14 08:15:12 +00:00
Daniel O'Callaghan
26bb051a7b
Add the NetVin 5000 series NE2000 PCI card vendor and device IDs.
1997-08-14 07:53:07 +00:00
KATO Takenori
5842d4e5b2
If the user doesn't have read permission, union_copyup should not copy
...
a file to upper layer.
Reviewed by: Naofumi Honda <honda@Kururu.math.sci.hokudai.ac.jp>
1997-08-14 03:57:46 +00:00
KATO Takenori
3dc942bbe9
Backed out part of previous change. The example of -b mount in
...
manpage works again.
1997-08-14 03:52:27 +00:00
Steve Passe
22e5e9b058
Cheap TEMPORARY fix for "Trap 9 When Boot SMP" problem.
...
This is on the top of my list for a correct fix.
Submitted by: "Thomas D. Dean" <tomdean@ix.netcom.com>
1997-08-13 23:05:33 +00:00
Jordan K. Hubbard
56ed81f738
Reserve major 81 for rocketport driver.
1997-08-13 21:01:30 +00:00
Julian Elischer
3d0a7bc3b8
add a diagnostic to catch some common cases of tsleep being
...
called from the wrong place.
1997-08-13 19:29:33 +00:00
Andrey A. Chernov
76aab1da0f
Bypass itimerfix 100000000 limit in nanosleep1 using loop through timeouts
1997-08-13 17:55:11 +00:00