KATO Takenori
aad7f41eee
Sync with sys/i386/conf/Makefile.i386 revision 1.131.
1998-12-21 09:57:42 +00:00
KATO Takenori
57276bc0d3
Sync with sys/i386/isa/clock.c revision 1.129.
1998-12-17 08:54:47 +00:00
KATO Takenori
2da7825a28
The fe driver has been merged into sys/i386/isa/if_fe.c.
...
Forgotten by: kato
1998-12-17 08:45:07 +00:00
KATO Takenori
73711314e2
Sync with sys/i386/isa/wd.c revision 1.181.
1998-12-17 08:42:10 +00:00
KATO Takenori
7e2b44203e
Sync with sys/i386/isa/npx.c revision 1.64.
1998-12-17 08:41:34 +00:00
KATO Takenori
012291989b
Sync with sys/i386/isa/fd.c revision 1.129.
1998-12-17 08:40:36 +00:00
Bruce Evans
4c56fcdead
Removed the cast to a pointer in the definition of PS_STRINGS and
...
adjusted related casts to match (only in the kernel in this commit).
The pointer was only wanted in one place in kern_exec.c. Applications
should use the kern.ps_strings sysctl instead of PS_STRINGS, so they
shouldn't notice this change.
1998-12-16 16:28:58 +00:00
KATO Takenori
9de1707415
Sync with current sc driver in sys/i386/isa.
...
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-12-16 14:57:38 +00:00
KATO Takenori
4896212043
Oops, I forgot to commit two diffs to fe driver.
1998-12-15 15:56:37 +00:00
KATO Takenori
c2a3601760
Sync with sys/i386/isa/fd.c revision 1.128.
1998-12-14 09:06:23 +00:00
KATO Takenori
ba8d06b9f7
Sync with sys/i386/isa/pcaudio.c revision 1.44.
1998-12-14 08:58:56 +00:00
KATO Takenori
ec16d9c2fc
Sync with sys/i386/isa/if_ed.c revision 1.147.
1998-12-14 08:58:12 +00:00
KATO Takenori
82749a0af6
Sync with sys/i386/i386/userconfig.c revision 1.118.
1998-12-14 08:53:32 +00:00
KATO Takenori
dcb6aac9bb
Sync with sys/i386/conf/options.i386 revision 1.95.
1998-12-14 08:52:20 +00:00
KATO Takenori
77d493c5b5
Sync with sys/i386/isa/lpt.c revision 1.72.
1998-12-11 08:48:21 +00:00
KATO Takenori
e4a8d41703
Sync with sys/i386/i386/machdep.c revision 1.317.
1998-12-11 08:04:33 +00:00
Eivind Eklund
2ae353f9a7
Rename one of the two devfs_link's to devfs_makelink.
1998-12-10 19:57:01 +00:00
KATO Takenori
d021dab50a
Sync with sys/i386/conf/Makefile.i386 revision 1.130.
1998-12-08 08:19:45 +00:00
KATO Takenori
e4561e2ae0
Sync with sys/i386/isa/fd.c, if_fe.c, npx.c and sio.c revisions 1.126,
...
1.44, 1.63 and 1.219, respectively.
1998-12-08 08:18:59 +00:00
KATO Takenori
5a5f82fc61
Sync with sys/i386/i386/userconfig.c revision 1.117.
1998-12-08 08:17:43 +00:00
Archie Cobbs
f1d19042b0
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
...
and local variables, goto labels, and functions declared but not defined.
1998-12-07 21:58:50 +00:00
KATO Takenori
6684a4f19d
Sync with sys/i386/isa/fd.c revision 1.125.
1998-12-05 09:24:20 +00:00
KATO Takenori
dae18d3bae
Sync with sys/i386/i386/userconfig.c revision 1.116.
1998-12-05 09:22:05 +00:00
KATO Takenori
7d1d31e431
Sync with sys/i386/conf/optins.i386 revision 1.94.
1998-12-05 09:20:53 +00:00
KATO Takenori
0289a3dcbb
Sync with sys/i386/conf/SMP-GENERIC revision 1.23.
1998-12-05 09:19:30 +00:00
KATO Takenori
5365b3a408
Sync with sys/i386/conf/GENERIC revision 1.133.
1998-12-05 09:17:31 +00:00
Archie Cobbs
2127f26023
Examine all occurrences of sprintf(), strcat(), and str[n]cpy()
...
for possible buffer overflow problems. Replaced most sprintf()'s
with snprintf(); for others cases, added terminating NUL bytes where
appropriate, replaced constants like "16" with sizeof(), etc.
These changes include several bug fixes, but most changes are for
maintainability's sake. Any instance where it wasn't "immediately
obvious" that a buffer overflow could not occur was made safer.
Reviewed by: Bruce Evans <bde@zeta.org.au>
Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
Reviewed by: Mike Spengler <mks@networkcs.com>
1998-12-04 22:54:57 +00:00
KATO Takenori
c31c6a9cce
Sync with sys/i386/conf/majors.i386 revision 1.93.
1998-12-04 14:41:32 +00:00
KATO Takenori
7ef0b9d6e5
Sync with sys/i386/conf/majors.i386 revision up to 1.55.
1998-12-04 14:39:29 +00:00
KATO Takenori
9ad861edee
- For some old Cyrix CPUs, %cr2 is clobbered by interrupts. This
...
problem is worked around by using an interrupt gate for the page
fault handler. This code was originally made for NetBSD/pc98 by
Naofumi Honda <honda@kururu.math.sci.hokudai.ac.jp> and has already
been in PC98 tree. Because of this bug, trap_fatal cannot show
correct page fault address if %cr2 is obtained in this function.
Therefore, trap_fatal uses the value from trap() function.
- The trap handler always enables interruption when buggy application
or kernel code has disabled interrupts and then trapped. This code
was prepared by Bruce Evans <bde@FreeBSD.org>.
Submitted by: Bruce Evans <bde@FreeBSD.org>
Naofumi Honda <honda@kururu.math.sci.hokudai.ac.jp>
1998-12-02 08:15:17 +00:00
KATO Takenori
2992cdbc3f
Sync with sys/i386/isa/isa.c revision 1.117.
1998-12-02 08:04:12 +00:00
KATO Takenori
de693de8e7
Sync with sys/i386/conf/majors.i386 revision up to 1.53.
1998-12-02 08:02:41 +00:00
KATO Takenori
f06a63b4f2
Sync with sys/i386/boot/netboot/Makefile revision 1.21.
1998-11-29 11:55:11 +00:00
KATO Takenori
7adae46cd3
Sync with sys/i386/boot/netboot/Makefile revision 1.20.
1998-11-26 11:47:51 +00:00
KATO Takenori
fcc6e7373f
Reorder entries of ed drivers. Many NICs can be automatically
...
detected, even though a user doesn't disable unused entries with
userconfig.
Submitted by: Nobuyuki Koganemaru <kogane@koganemaru.co.jp>
1998-11-25 11:00:31 +00:00
KATO Takenori
3bf3b7af20
Cosmetic change.
1998-11-25 10:53:21 +00:00
KATO Takenori
76a505024d
Sync with sys/i386/isa/sio.c revision up to 1.218.
1998-11-23 07:49:03 +00:00
KATO Takenori
94563b4513
Sync with sys/i386/boot/biosboot/Makefile revision 1.67.
1998-11-23 07:34:37 +00:00
Archie Cobbs
2b81bbcbef
Eliminate compiler warning.
1998-11-21 01:57:48 +00:00
KATO Takenori
d969b47c9c
Sync with sys/i386/isa/wd.c revision up to 1.180.
1998-11-16 08:13:54 +00:00
KATO Takenori
258591400a
Sync with sys/i386/conf/options.i386 revision 1.92.
1998-11-16 08:11:58 +00:00
KATO Takenori
22276a9a88
Sync with sys/i386/conf/Makefile.i386 revision 1.129.
1998-11-16 08:09:16 +00:00
KATO Takenori
e6a8c534a3
Sync with sys/i386/conf/GENERIC revision 1.131.
1998-11-13 08:18:44 +00:00
KATO Takenori
e4b4a0d1dc
Sync with sys/i386/boot/kzipboot/malloc.c revision 1.7.
1998-11-13 08:18:14 +00:00
Doug Rabson
7095ee912b
* Fix a couple of places in the device pager where an address was
...
truncated to 32 bits.
* Change the calling convention of the device mmap entry point to
pass a vm_offset_t instead of an int for the offset allowing
devices with a larger memory map than (1<<32) to be supported
on the alpha (/dev/mem is one such).
These changes are required to allow the X server to mmap the various
I/O regions used for device port and memory access on the alpha.
1998-11-08 12:39:07 +00:00
KATO Takenori
f3284683fb
Sync with sys/i386/i386/userconfig.c revision up to 1.115.
1998-11-06 08:08:05 +00:00
KATO Takenori
c70606fd9f
Sync with sys/i386/i386/machdep.c revision up to 1.315.
1998-11-06 08:07:32 +00:00
KATO Takenori
48ba888a6a
Sync with sys/i386/conf/options.i386 revision 1.91.
1998-11-06 08:07:00 +00:00
KATO Takenori
a0a1e229e8
Sync with sys/i386/conf/Makefile.i386 revision 1.128.
1998-11-06 08:06:32 +00:00
Dag-Erling Smørgrav
fb46af4f6c
Back out previous commit. The bpfilter -> bpf transition will have to be a
...
flag day unless we can hack config(8) to smooth things over.
1998-11-03 22:01:22 +00:00