thorpej
c2958a4c33
RCS id police.
1996-12-18 05:39:57 +00:00
thorpej
25cc72bed2
Perform the same "don't build telnet stuff if the domestic counterparts
...
are present in the source tree" kludge that telnet(1) and libtelnet do.
XXX !!
1996-12-18 05:39:13 +00:00
jtc
fae9706cd0
sync with tzdata96m
1996-12-18 05:22:48 +00:00
jtc
d726a6fbac
import tzdata96m
1996-12-18 05:21:14 +00:00
scottr
94714822e7
Work around another gcc initialization warning.
1996-12-18 05:17:44 +00:00
scottr
affc68cf0c
Work around another bogus uninitialized warning, and fix a legitimate one.
...
Clearly mark the former.
XXX The bogus warnings show up with -O, but not -O2. Unfortunately,
NetBSD/mac68k can't (yet) use -O2.
1996-12-18 05:04:22 +00:00
thorpej
32c0c5ebb7
Don't pass a timeout of 0 to poll(2); block indefinitely, like the
...
pre-poll(2) aware implementation.
From enami tsugutomo <enami@ba2.so-net.or.jp>, PR #3043 .
1996-12-18 04:53:11 +00:00
jtc
614eee469b
import pdksh 5.2.12
1996-12-18 04:50:04 +00:00
scottr
e70f884a92
Fix the potentially uninitialized variable in clear_screen() (correctly
...
pointed out by gcc -Wall).
1996-12-18 03:06:06 +00:00
scottr
e330279eea
Work around uninitialized variable warning
1996-12-18 02:54:43 +00:00
mrg
52ae8f7095
oops; use _SC_OPEN_MAX instead of sysctl.
1996-12-18 01:06:37 +00:00
cgd
c591d26932
update for recent com.c changes: delete references to now-nonexistant
...
comconsinit variable.
1996-12-17 23:21:53 +00:00
cgd
cbff9abf27
undo (or actually, do differently) that last: On the Alpha, build shared
...
libraries with LD, but add /usr/lib/crtbegin.o and /usr/lib/crtend.o
before and after the rest of the stuff being linked. This is a losing
situation all-around: for correct 'DESTDIR' builds, it should be including
them from ${DESTDIR}/usr/lib. However, since those objects should be
included for all shared libraries, including them from ${DESTDIR} won't work,
because they won't be installed by normal builds by the time they need to
be used.
1996-12-17 23:14:23 +00:00
gwr
3da720dfd1
Adapt to the new version of dev/ic/z8530*
1996-12-17 22:30:13 +00:00
gwr
55d81fe0c2
Adapt to the new version of dev/ic/z8530*
...
(Note: now define zsc_softc here.)
1996-12-17 22:26:07 +00:00
cgd
60faf5d2ae
always provide at least a minimal aux vector. (The minimal version
...
is one entry long, with the entry's id being AUX_null.)
1996-12-17 22:04:20 +00:00
cgd
ac05a6d647
repeat after me: size_t != int, especially when you're taking pointers.
1996-12-17 22:00:39 +00:00
gwr
7a5585d645
Make sure the MDP_STACKADJ flag is cleared in p->p_md.md_flags
...
Do this in both machdep.c:setregs() and trap.c:(end of syscall)
for now. Need more analysis to see what is the best way...
Fixes PR#3034 (Thanks very much to Ian Dall for the fix!)
1996-12-17 21:35:30 +00:00
cgd
8ac4f8973d
re-enable libg++ on the Alpha
1996-12-17 21:33:20 +00:00
cgd
b02b09670a
on the Alpha, don't include c++rt0.o on the link line. (1) it doesn't
...
exist, and (2) its purpose on the link line is taken care of automatically
by the library-building process.
1996-12-17 21:32:26 +00:00
gwr
3cc81b9726
Add a diagnostic to panic when obio config data has a
...
default address, which is no longer supported on obio.
1996-12-17 21:21:13 +00:00
gwr
0c5e3e4955
Make this compile with -Werror -Wall -Wstrict-prototypes
...
(finally! yea!) Also get rid of __BROKEN_INDIRECT_CONFIG
1996-12-17 21:10:35 +00:00
cgd
47b997f2e0
build Alpha shared libraries with ${CC} rather than ${LD}, because cc
...
understands how to do the c run-time startup magic necessary for shared
libraries and ld doesn't.
1996-12-17 21:05:40 +00:00
gwr
282e39f88d
Adapt to the new version of dev/ic/z8530*
...
(Note: now define zsc_softc here.)
1996-12-17 21:00:54 +00:00
gwr
ac4b9ad819
The declarations for cache_flush_xxx are now in machdep.h
1996-12-17 20:55:28 +00:00
gwr
2140ee3fb9
The declarations for isr_add_xxx are now in autoconf.h
1996-12-17 20:54:23 +00:00
gwr
1169ecb0a2
Adapt to the new definition of struct zsc_softc
...
(the zsc_cs[2] members are now POINTERS!)
Also fix warnings...
1996-12-17 20:46:11 +00:00
gwr
494730c376
New version of the z8530 driver that should permit the mac68k port
...
to use this instead of its own. Also fix warnings, etc.
1996-12-17 20:42:40 +00:00
phil
6a4e12cde0
Patch from cgd to make these work on the alpha.
1996-12-17 19:35:00 +00:00
phil
b98fb70d78
Removing files that are not in libg++ 2.7.2 because the functions got
...
moved to libio.
1996-12-17 19:28:50 +00:00
gwr
b8c288d184
Fix warnings.
1996-12-17 19:27:51 +00:00
gwr
661c8f1ae0
CTL_MACHDEP definitions. (Common to all m68k ports.)
...
This should be included by each m68k port's cpu.h so
/usr/sbin/sysctl can be shared on all of them.
1996-12-17 19:26:51 +00:00
gwr
a25e8be772
Add prototypes for process_read_regs, etc. (fix warnings)
1996-12-17 19:24:31 +00:00
phil
d6e25cae40
Fixing conflicts in import of libg++ 2.7.2.
1996-12-17 19:17:42 +00:00
phil
9d6cf59d37
Fix conflicts in libg++ 2.7.2 import.
1996-12-17 19:14:14 +00:00
phil
1496ef1851
Import of libg++ 2.7.2.
1996-12-17 18:55:08 +00:00
scottr
1460fbef53
Remove -Werror for now (sigh). Somehow this slipped through several
...
kernel compiles without getting caught. Lame gcc optimizer bug.
1996-12-17 13:58:26 +00:00
is
b71e65949f
Make clock an early configuration device, configured before early console
...
configuration. This way, the delay loop is calibrated before graphics and
serial hardware is touched.
This change should smooth pr 2890 by Thorsten Frueauf (also privately
reported by Laurent Badoukh). While the real problem with those is the
paranoically high delay() calls in the grf_cl initialization, it was made
even more visible by the miscalibrated (to the save side) new style delay
loop.
1996-12-17 11:43:10 +00:00
is
fd832b27d2
- Fix a edito in the m68060 support trap counting. (Hint: run "make regress",
...
even if you "really didn't change anything dangerous" :-)
- While we're here, save a few bytes and clock cycles during kernel startup:
cinva ic clears the branch cache on the 68060, no need to do it explicitly.
1996-12-17 11:09:10 +00:00
thorpej
c0c07cd30e
Always use `SLOWSCSI'. Some devices need a long delay between phase
...
changes, apparently. This is reported to work around some odd failures
people were seeing during first-time installation onto a SCSI disk.
1996-12-17 09:21:42 +00:00
thorpej
7373a43fcf
Generate initial copies of these files.
1996-12-17 09:01:24 +00:00
thorpej
2ac210b6e3
Call device_register() if __alpha__ || hp300
1996-12-17 08:59:15 +00:00
thorpej
d424d0ab88
Prototype device_register() if __alpha__ || hp300
1996-12-17 08:56:18 +00:00
thorpej
838edf78fd
Snapshot of new config for NetBSD/hp300. This isn't quite finished yet.
...
We're about 75% there. SCSI and HP-IB are not yet supported in a new
config kernel; some autoconfiguration hackery has to be done there, yet.
These changes are enough to network boot a diskless kernel.
New config glue is enabled with the "NEWCONFIG" kernel option. If that
option is not present, an old config kernel will be built. Any kernel
configured with config(8) will automatically pick up the NEWCONFIG
option from std.hp300.
1996-12-17 08:40:56 +00:00
thorpej
7b4ca2ebe5
Kill __BROKEN_INDIRECT_CONFIG
1996-12-17 08:11:50 +00:00
scottr
5b7c2842ae
Take avantage of COPTS appropriately.
1996-12-17 07:33:01 +00:00
is
9df370b3f3
Switch on branch prediction on the 68060. Also add some instrumentation
...
for branch prediction errors (could be used to detect strange binaries),
integer instruction, FP instruction, FP data type and FP effective address
emulations. The latter can be used to diagnose binaries which should be
recompiled with -m68060.
XXX Maybe these diagnostics should be switchable by sysctl or
XXX options DIAGNOSTIC.
1996-12-17 07:32:52 +00:00
scottr
1999f88fac
Add sample sbc config line; format 'options' lines for consistency.
1996-12-17 07:22:30 +00:00
scottr
e9ce47936c
Add -Werror, remove -Wno-uninitialized.
1996-12-17 07:04:21 +00:00
scottr
a7dc02ac8a
Remove __BROKEN_INDIRECT_CONFIG, since we are no longer broken.
1996-12-17 07:00:12 +00:00