David Greenman
99beca17d7
Fix one more label that I overlooked with the P6 support. Sigh.
1995-12-28 21:01:54 +00:00
Mark Murray
179c10f92d
1) Add #include <machine/cpu.h> to catch some 586 #defines
...
2) swap the 2 arguments to outb (kato)
Pointed out by: Kato Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
1995-12-28 17:09:14 +00:00
Stefan Eßer
7217e99c8f
Preserve SIGP bit when clearing INTF condition.
...
Submitted by: Gerard Roudier <groudier@htlm.fr>
1995-12-28 13:04:03 +00:00
Andrey A. Chernov
717df65cce
Add more disc_optim calls to track line disc changes
1995-12-28 11:58:35 +00:00
Jordan K. Hubbard
737af07cff
Gack - if you're going to call semexit() from elsewhere, it shouldn't
...
be static.. :-)
1995-12-28 01:31:38 +00:00
Satoshi Asami
aa8bdaec2b
Added $Id$.
1995-12-28 00:22:45 +00:00
Satoshi Asami
806a3f6567
Added parity flag.
1995-12-28 00:18:35 +00:00
David Greenman
014374187c
Update bcopyb & bcopy to reflect changes I made in the libc version of
...
bcopy:
Be smarter about handling overlapped copies and only go backwards if it
is really necessary. Going backwards on a P6 is much slower than forwards
and it's a little slower on a P5. Also moved the count mask and 'std'
down a few lines - it's a couple percent faster this way on a P5.
1995-12-27 18:54:51 +00:00
Paul Traina
dfe11c5d9d
Add NEC CDR 210 to list of devices with broken LUN support
1995-12-27 17:07:12 +00:00
Bruce Evans
f15351202f
Finished removing MACH_KERNEL stuff.
1995-12-27 16:16:02 +00:00
Joerg Wunsch
a353d785a9
Call semexit() from exit(), in order to process `undo vectors'.
...
This function has actually never been called.
1995-12-27 15:25:30 +00:00
Mark Murray
0738b16169
random_machdep.c: New version, also includes revectored interrupts, rather
...
than hooking permanently.
vector.s: : Remove the interrupt hook. This is done dynamically, now.
1995-12-27 11:22:05 +00:00
Mark Murray
6a9bf141bd
Clean up and make more universal. Next version of random device.
1995-12-27 11:19:41 +00:00
Mark Murray
e85ceed0ff
Modify the ioctl to handle revectored interrupts for the entropy gatherers.
1995-12-27 11:18:29 +00:00
Satoshi Asami
a6e30b6974
This commit was generated by cvs2svn to compensate for changes in r13053,
...
which included commits to RCS files with non-trunk default branches.
1995-12-27 11:01:45 +00:00
Satoshi Asami
51394737ba
ccdvar.h from NetBSD-1.1.
1995-12-27 11:01:45 +00:00
Satoshi Asami
d8594dfb93
Changes to make it work on FreeBSD-2.1.
1995-12-27 10:53:21 +00:00
Satoshi Asami
edc3aeecad
ccd.c and ccd.4 from NetBSD-current circa 12/25/95.
1995-12-27 10:49:19 +00:00
Satoshi Asami
9919b89437
This commit was generated by cvs2svn to compensate for changes in r13041,
...
which included commits to RCS files with non-trunk default branches.
1995-12-27 10:49:19 +00:00
Satoshi Asami
a56bb8a5cc
ccd.c and ccd.4 from NetBSD-current circa 12/25/95.
1995-12-27 10:49:19 +00:00
Peter Wemm
f84e9bf4af
Add an entry for the NEC CDROM:55 drive to stop it answering all 7 LUNS.
1995-12-26 21:08:39 +00:00
Joerg Wunsch
0209e040ba
I report a problem about shmget(). (I'm using FreeBSD-2.1.0R)
...
int shmget(key_t key, int size, int shmflg);
If the 'key' has already existed in the system and set 'shmflg'
as '(IPC_CREAT|IPC_EXC)', then shmget() must return the error 'EEXIST'.
Submitted by: m_tanaka@pa.yokogawa.co.jp (Mihoko Tanaka)
1995-12-26 16:03:32 +00:00
Bruce Evans
3eafdede1c
Removed nonexistent option AUTO_EOI_1.
1995-12-26 14:01:16 +00:00
Bruce Evans
62394a63c8
Removed almost all traces of libkern.a. The objects that were in
...
libkern.a are now specified by listing their source files in
files.${MACHINE}. The list is machine-dependent to save space.
All the necessary object for each machine must be linked into the
kernel in case an lkm wants one.
1995-12-26 13:58:31 +00:00
Bruce Evans
432889653c
Added prototypes.
1995-12-26 13:25:13 +00:00
Bruce Evans
337e9f0bd2
Renamed isa/random.c to isa/random_machdep.c to avoid a conflict with
...
libkern/random.c.
1995-12-26 12:50:24 +00:00
Bruce Evans
037d027c92
Unstaticized addupc_task(). It is supposed to be called from trap().
...
See the comments for addupc_intr() and the NetBSD implementation.
We use dummy versions of fuswintr() and susiwintr(), so addupc_intr()
always pushes the work to trap() (this is inefficient), and trap()
calls the special i386 function addupc() instead of addupc_task().
addupc() is more efficient than addupc_intr(), so some of the lost
efficiency is recovered. However, addupc() may be broken on plain
i386's since it doesn't check for write permission like copyout().
1995-12-26 01:21:39 +00:00
Bruce Evans
80c07b6665
Finished staticizing of timevalfix().
1995-12-26 01:07:42 +00:00
David Greenman
d7b1079903
Fix a lable goofup I made in the previous P6 support changes.
1995-12-25 14:40:49 +00:00
Bruce Evans
c6bbb6d152
Fixed staticizing. Some functions aren't static but depend on
...
the undocumented previously unLINTed option `APM_SLOWSTART'.
1995-12-25 07:38:47 +00:00
Bruce Evans
45f486a574
Removed redundant (incompletely staticized) declararations.
1995-12-25 07:24:13 +00:00
David Greenman
5493045648
Fix typo in CPUCLASS.
1995-12-25 01:02:32 +00:00
David Greenman
17acc2b264
Added device fxp0 (device driver for Intel EtherExpress Pro/100).
1995-12-24 08:13:23 +00:00
David Greenman
7059cdf2d3
Added I686_CPU.
1995-12-24 08:11:46 +00:00
David Greenman
6410f76727
Add Pentium Pro CPU detection and special handling. For now, all the
...
optimizations we have for 586s also apply to 686s...this will be fine-
tuned in the future as appropriate.
1995-12-24 08:10:52 +00:00
David Greenman
e8636c6c19
Made "AUTO_EOI_1" standard. auto-EOI on the master ICU is a documented
...
feature of the ICU. auto-EOI on the slave is not safe, however, so it
remains an option. Killed religious FASTER_NOP when writing the ICU.
Reviewed by: bde
1995-12-23 16:53:57 +00:00
David Greenman
44198d45b6
Use FASTER_NOP rather than NOP in rtcin() - only one inb delay was ever
...
needed.
Reviewed by: bde
1995-12-23 16:46:31 +00:00
Bruce Evans
439187de6b
Added undocumented option DEBUG so that debugging code gets maintained
...
or deleted.
Motivated by: `int doclusteread = 1;' in ext2_vnops.c redefined
doclusterread if DEBUG is defined, so it could not have worked.
This was fixed by staticizing things before it caused problems.
I didn't find any more cases like this.
1995-12-22 18:44:07 +00:00
Bruce Evans
e390090674
Staticized code that was hidden by `#ifdef DEBUG'.
1995-12-22 18:21:26 +00:00
Bruce Evans
02f90f3b3c
Increased the double fault stack size from 512 to PAGE_SIZE. This is
...
wasteful, but better than clobbering the variables below the stack.
About 300 bytes of variables were clobbered when I examined double
faults using ddb. Perhaps a page that is known not to be accessed by
the double fault handler could be used. Such pages are not easy to
find, since the double fault handler calls panic() which calls sync()
and possibly dumpsys().
1995-12-22 18:17:34 +00:00
Bruce Evans
0772e1c90b
Fixed prototyping and staticizing for -DDEBUG case.
1995-12-22 17:56:37 +00:00
Bruce Evans
f15120c618
Fixed syntax errors caused by EXCEPTION() when DEBUG is defined.
...
Added includes to get the prototype for printf() when DEBUG is defined.
1995-12-22 16:53:48 +00:00
Bruce Evans
f0a51f0175
Changed the definition of DEBUG to agree with -DDEBUG to avoid warnings
...
when DEBUG is an option.
1995-12-22 16:08:15 +00:00
Bruce Evans
35e8beae8c
Fixed bugs and finished staticization for things inside `#ifdef DEBUG'.
...
Moved most of these things inside `#ifdef notyet_block_reallocation_enabled'
where they may never be used again.
1995-12-22 16:06:46 +00:00
Poul-Henning Kamp
13a6df9914
Remove the now obsolete vfs_sysctl vfsops element.
1995-12-22 16:02:39 +00:00
Poul-Henning Kamp
8b03ba27f5
Staticize.
1995-12-22 15:58:56 +00:00
Poul-Henning Kamp
0240c4db5b
Move fs.nfs.nfsstats sysctl var back to it's old OID.
1995-12-22 15:57:38 +00:00
Bruce Evans
95ff47b69f
Fixed permissions of /dev/tty.
1995-12-22 15:57:31 +00:00
Poul-Henning Kamp
79c0c4b77f
kern_conf.c: remove a now unused variable.
...
vfs_cache.c: Fix a very rare probelm in the vnode-cache.
Submitted by: Terry Lambert <terry@lambert.org>
1995-12-22 15:56:35 +00:00
Bruce Evans
6bbc7a382c
Fixed pty names. The control and slave names were back to front.
...
Fixed pty permissions.
1995-12-22 15:53:53 +00:00