Commit Graph

8112 Commits

Author SHA1 Message Date
KATO Takenori
64d5f04e87 Synchronize with sys/i386/isa/isa.c revision 1.94. 1997-07-10 10:22:34 +00:00
KATO Takenori
d6314be8f2 Synchronize with sys/i386/isa/syscons.c revision 1.223. 1997-07-10 10:21:47 +00:00
Wolfram Schneider
d1515d7fc1 Delete $Id$ line from copyright.
Submitted: Bruce
1997-07-09 20:38:19 +00:00
Andrey A. Chernov
7ed3c9e661 Back out 'conflicts' with IRQs, remove intr_registered() decl 1997-07-09 18:08:15 +00:00
Andrey A. Chernov
c6d372f6f3 Back out changes for 'conflicts' with IRQ, remove intr_registered() 1997-07-09 18:06:25 +00:00
Andrey A. Chernov
d80e841377 Back out my changes with 'conflicts' keyword for IRQs,
sounddriver fixed now.
1997-07-09 17:58:16 +00:00
KATO Takenori
9e0e115560 Synchronize with sys/i386/isa/syscons.c revision up to 1.222. 1997-07-09 14:43:19 +00:00
Brian Somers
b73937137c Don't allow CONS_HISTORY ioctl to alter history pointers
while in "scroll mode" (return EBUSY).
Suggested by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1997-07-09 14:10:19 +00:00
Steve Passe
9e3d5ec0b6 Screwed up again, gotta remember to turn off those debugs! 1997-07-09 05:00:47 +00:00
Steve Passe
17ebd4d085 General cleanup of APIC code.
stop_cpus()/restart_cpus() STILL not working!
1997-07-08 23:46:00 +00:00
Steve Passe
afade3007a Minor cleanup of APIC code. 1997-07-08 23:42:02 +00:00
Steve Passe
e94543eef4 added #define IPI_LEVEL 1997-07-08 23:39:02 +00:00
Steve Passe
ad2e8ff493 General cleanup of APIC code.
stop_cpus/restart_cpus STILL not working!
1997-07-08 23:32:58 +00:00
Steve Passe
a8988a70ce Reordered call to apic_initialize and setting invltlb_ok. 1997-07-08 23:25:40 +00:00
Andrey A. Chernov
29a4cf6d4d Remove 'conflicts' keyword from SB family devices, it is not
needed now. Uncomment awe0 device
1997-07-08 15:39:29 +00:00
Andrey A. Chernov
5fe7f59b19 Don't pass configured information back to ISA for this subdevices,
it cause conflicts
1997-07-08 15:35:28 +00:00
Brian Somers
5d20d6843c Remove useless comparison.
Suggested by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1997-07-08 13:38:58 +00:00
Julian Elischer
57af792293 Don't add an item to the multicast linked list if it's already
on the list.
1997-07-07 17:36:06 +00:00
Steve Passe
791d2c2871 ifdef a TEST_CPUSTOP debug properly.
Submitted by:	 Kenneth Merry <ken@plutotech.com>
1997-07-07 16:34:22 +00:00
Brian Somers
b43f9ca153 YAMF2.2: Handle indirect results of "kbdcontrol -h X"
where X < 25.
1997-07-07 13:42:42 +00:00
KATO Takenori
f29c83010d Enables scmouse.
Submitted by:	H. Nokubi <h-nokubi@nmit.tmg.nec.co.jp>
             	T. Yamamoto <t-yamamt@ics.es.osaka-u.ac.jp>
             	M. Jinbo <karl@marcer.nagaokaut.ac.jp>
1997-07-07 12:47:36 +00:00
Steve Passe
f055ec14b3 Opps, forgot to turn off the debugs... 1997-07-07 00:38:58 +00:00
Steve Passe
9746742be0 stop_cpus(), currently BROKEN! (turned off in smptests.h by default).
restart_cpus(), currently BROKEN! (turned off in smptests.h by default).
1997-07-07 00:06:51 +00:00
Steve Passe
a9f5bd327a Preliminary support for Xspuriousint.
Preliminary support for stopcpus()/restartcpus().
1997-07-06 23:59:31 +00:00
Steve Passe
586f21e1cc Added some (temporary) macros for debugging.
New strategy for handling the TPR (Task Priority Register).
Test code to sync CPUs.
1997-07-06 23:50:12 +00:00
Steve Passe
69f0a823b2 Additional debugging functions and macros.
"spurious INTerrupt" support.
1997-07-06 23:40:15 +00:00
Steve Passe
b956b5370c First cut at code for handling "spurious INTerrupts".
First cut at code for handling CPU stop/restart.

Notes:
	not working properly yet.
1997-07-06 23:32:38 +00:00
Steve Passe
e154505673 #ifdef out debug for now... 1997-07-06 23:25:46 +00:00
Steve Passe
01bd6212ca Added a hook for a "spurious INTerrupt handler". 1997-07-06 22:11:26 +00:00
John Dyson
2244ea07dc This is an upgrade so that the kernel supports the AIO calls from
POSIX.4.  Additionally, there is some initial code that supports LIO.
This code supports AIO/LIO for all types of file descriptors, with
few if any restrictions.  There will be a followup very soon that
will support significantly more efficient operation for VCHR type
files (raw.)  This code is also dependent on some kernel features
that don't work under SMP yet.  After I commit the changes to the
kernel to support proper address space sharing on SMP, this code
will also work under SMP.
1997-07-06 02:40:43 +00:00
Peter Wemm
7a43952972 Send these files to the attic until they are in use for several reasons.
1: cvs and cvsup don't really support vendor branches other than 1.1.1.x,
this is on 1.1.2.x and causing problems in cvsup 'checkout mode', just the
same as cvs has problems interpreting dates. (cvs has "1.1.1" hard coded)
2: cvs 'rm'ing them takes them off the vendor branch and should hide the
above problems.
3: it's just clutter until the merge is done.
4: if the problem isn't sufficiently resolved by taking these off the
vendor branch, the files will have to be nuked and re-imported.
1997-07-05 15:44:29 +00:00
Bruce Evans
080cec3cc4 Fixed description of -cv. 1997-07-05 02:08:09 +00:00
KATO Takenori
4c290c2ae1 Synchronize with sys/i386/boot/kzipboot/boot.c revision 1.7. 1997-07-02 11:02:32 +00:00
KATO Takenori
8be046791d Synchronize with sys/i386/isa/wd.c revision 1.131. 1997-07-02 11:01:37 +00:00
KATO Takenori
d9b8e3127c Synchronize with sys/i386/conf/options.i386 revision 1.49. 1997-07-02 11:00:56 +00:00
KATO Takenori
2a32753bfb Synchronize with sys/i386/isa/syscons.c revision 1.220. 1997-07-02 11:00:20 +00:00
Peter Wemm
da6360324e Initial revision 1997-07-01 20:44:10 +00:00
John Polstra
66e39adc7c Fix a bug (apparently very old) that can cause a TCP connection to
be dropped when it has an unusual traffic pattern.  For full details
as well as a test case that demonstrates the failure, see the
referenced PR.

Under certain circumstances involving the persist state, it is
possible for the receive side's tp->rcv_nxt to advance beyond its
tp->rcv_adv.  This causes (tp->rcv_adv - tp->rcv_nxt) to become
negative.  However, in the code affected by this fix, that difference
was interpreted as an unsigned number by max().  Since it was
negative, it was taken as a huge unsigned number.  The effect was
to cause the receiver to believe that its receive window had negative
size, thereby rejecting all received segments including ACKs.  As
the test case shows, this led to fruitless retransmissions and
eventually to a dropped connection.  Even connections using the
loopback interface could be dropped.  The fix substitutes the signed
imax() for the unsigned max() function.

PR:		closes kern/3998
Reviewed by:	davidg, fenner, wollman
1997-07-01 05:42:16 +00:00
Bruce Evans
057b294dc0 Un-inline a call to spl0(). It is not time critical, and was only inline
because there was no non-inline spl0() to call.

Don't frob intr_nesting_level in idle() or cpu_switch().  Interrupts
are mostly disabled then, so the frobbing had little effect.
1997-07-01 01:34:30 +00:00
Bruce Evans
b563e748a9 Added ifdefs so that this compiles when neither I586_CPU nor I586_CPU
is defined, or SMP is defined.  It is silly to configure PERFMON when
it can't work (it will be disabled at runtime), but I like to leave
the PERFMON configuration alone when I temporarily disable support for
modern CPUs to run regression tests.

Removed an unused #include.
1997-07-01 01:18:38 +00:00
Bruce Evans
dc514523a7 Un-inline a call to spl0(). It is not time critical, and was only inline
because there was no non-inline spl0() to call.
1997-07-01 01:02:03 +00:00
Bruce Evans
be69522eec Some staticized variables were still declared to be extern. 1997-07-01 00:54:37 +00:00
Bruce Evans
43a6378726 Removed extra definition of constty. It is defined in subr_prf.c. 1997-07-01 00:52:37 +00:00
Bruce Evans
48792cfc18 Don't cast function pointers to (void *). This will cause warnings.
They should be fixed when similar warnings for the general interrupt
attach routines are fixed.

Removed unused #include.
1997-07-01 00:45:45 +00:00
Bruce Evans
72ef571982 Don't depend <machine/cpufunc.h> including <sys/types.h>. 1997-07-01 00:29:33 +00:00
Bruce Evans
a24a66635c Don't depend on gcc's feature of permitting labels that aren't followed
by a statement.
1997-07-01 00:22:51 +00:00
Bruce Evans
06daa05136 Enabled some SMP options. LINT is for testing that all code compiles
cleanly, so only negative options should be commented out.  Options
should have non-default values.
1997-07-01 00:14:39 +00:00
Bruce Evans
51d3fea92d Don't depend on gcc's feature of permitting returning void expressions
in functions returning void.
1997-07-01 00:08:34 +00:00
Bruce Evans
94e24bf0f5 Some staticized variables were still declared to be extern. 1997-06-30 23:54:50 +00:00
Bruce Evans
b2b392c442 Don't depend on gcc's feature of interpreting `int foo(c) char c; ...'
as `int foo(char c) ...' if there is a bogus prototype `int foo(char c);'
in scope.
1997-06-30 23:49:17 +00:00