pk
59b640b2fc
Call kvm_uncache() from dvma_malloc() where it belongs and make sure
...
it's called when SUN4M is nor defined.
Merge in changes from Jason to make dvma_mapin() work on (sun4c) machines
with a write-back cache.
1996-10-28 23:02:54 +00:00
fvdl
0c32bba802
Make this compile with -Wcast-qual.
1996-10-28 08:46:35 +00:00
is
072b7020c4
* Fix a few wrong fallthroughs in switch cases:
...
- add a missing return; at the end of a case, leading to wrong disassembly
of the next few instructions after fmovem.
- while we're here, correct the same bug in PBcc.
XXX there are a few other dubious fallthroughs in this file (which are
not explicitly marked with /* FALLTHROUGH */), which I didn't yet analyze.
* Fix other FMOVEM interpretation bugs:
- correct printing of FP data register lists if all are used (only FP0
would be mentioned)
- correct printing of FP data register lists in the case the list is reversed
(would have printed nothing)
- correct mapping of fp0-fp7 to register list bits (was reversed)
- correct printing of FP control register lists (this list is never reversed)
- correct printing of FMOVEM with FP control registers (the data direction
was interpreted the wrong way)
* While we're here, enhance the comments in MOVC's list of cpu control
registers
1996-10-28 08:43:18 +00:00
fvdl
d5f094e14f
Make this compile with -Wcast-qual
1996-10-28 08:42:13 +00:00
briggs
1e7948408e
Most 040 models have scsi regs at base + 0x10000, not base + 0xf000
...
like the Q700.
1996-10-28 03:54:08 +00:00
abrown
cafb62af25
Fix timer initialization so that we don't gain one extra microsecond per
...
second on Sun4m machines. Although this was in the noise of the unstable
Sun clock crystals before, the discrepancy amounted to about 100 ppm, and
thus made NTP perform poorly. NTP now works happily on my SS20...
1996-10-28 00:20:31 +00:00
gwr
f5927ca260
Minor nit in my change regarding const and non-ansi code...
1996-10-27 21:50:33 +00:00
christos
f95a0b9a4d
Fix PR/2884: Change default for nfs mounts to not do a connect on the
...
socket. Add option -C to force a connected mount. Now option -c is still
there, but it is the default. Maybe amd should be changed similarly.
1996-10-27 21:18:03 +00:00
gwr
2ada6af51b
Oops, part of that last commit was not meant to go in.
...
The definitions of va_alist, va_dcl belong elsewhere.
1996-10-27 20:50:00 +00:00
gwr
a0d9bd5bb2
The hack-ish tricks to make the ANSI-style va_start macro work in
...
non-ANSI mode were not quite complete. This makes non-ANSI work.
Perhaps it would be better to eliminate this hack altogether...
1996-10-27 20:30:52 +00:00
gwr
9b8d79eeed
Clarify the purpose of this file (user-level code only).
1996-10-27 19:27:54 +00:00
oki
eb605060cc
Add options EXEC_SCRIPT and EXEC_AOUT.
1996-10-27 09:14:59 +00:00
oki
2c83ce47ad
add options EXEC_SCRIPT and EXEC_AOUT
...
Sync with ALL, config again.
1996-10-27 09:07:50 +00:00
oki
dd2ea83317
add EXEC_SCRIPT and EXEC_AOUT
1996-10-27 08:52:04 +00:00
perry
c99082b87b
Bump to 1.2B. We really need to centralize this.
1996-10-26 19:03:47 +00:00
is
e4d79db27e
enable bznsc driver
1996-10-26 17:42:07 +00:00
ragge
85ac030199
Move vax-specific microcode install stuff into etc.vax.
1996-10-26 08:12:09 +00:00
cgd
ca80cc0ce0
add -Wcast-qual
1996-10-25 23:47:01 +00:00
perry
31ea8a8bb2
Bump to 1.2B. We really need to centralize this.
1996-10-25 23:28:44 +00:00
cgd
ce53653783
make the namei struct members ni_dirp and ni_next, and the componentname
...
struct member cn_nameptr 'const', since they should never be used to
modify the path name. (Only the pathname buffer, cn_pnbuf, should be
modified.) Propagate the const poisoning to code that uses the namei
and componentname structs.
1996-10-25 23:13:58 +00:00
cgd
8800178e5c
-Wcast-qual cleanups. Don't discard 'const' when casting.
1996-10-25 22:15:54 +00:00
cgd
9fa0b6391e
don't thow away char_type's 'const'ness via a cast when passing it to scanc().
...
(1) that causes -Wcast-qual to be unhappy, and (2) the cast is unnecessary!
1996-10-25 22:11:39 +00:00
explorer
37449d45b0
Fix the get-a-shell hole, even if we are not currently open to that attack.
...
(1.2 release is, however, and this should be pulled up and released ASAP)
The previous version (1.11) checked into current limits the duration of
setuid-root periods much more than the 1.2 released version does, so the
attacker DID get a shell, but it was not a root shell.
1996-10-25 22:07:53 +00:00
cgd
ca829ca73c
don't assign non-const pointers from const pointers; make the appropriate
...
pointers 'const'. (-Wcast-qual)
1996-10-25 22:01:44 +00:00
cgd
a67c0b16b8
define path name string variables that we should not (and, thankfully, do
...
not) modify as 'const char *' rather 'char *'.
1996-10-25 21:57:58 +00:00
cgd
eaa37ec87a
remove bogus cast of second arg to bcmp(). (nm_name is a const char*,
...
and was being unnecessarily cast to 'char *'; -Wcast-qual.)
1996-10-25 21:52:02 +00:00
cgd
2ab4192195
update alpha_XXX_dmamap() invocations to match prototype.
1996-10-25 21:33:30 +00:00
cgd
614fa7e02e
make the first arg of b_to_q (the u_char * that points to data to be
...
stuffed into the queue) const, since it's not modified.
1996-10-25 21:22:10 +00:00
cgd
ef6504281a
remove duplicate prototypes from tty_subr.c (ndqb, putc, b_to_q), and
...
make the first arg of b_to_q (the u_char * that points to data to be
stuffed into the queue) const, since it's not modified.
1996-10-25 21:20:29 +00:00
cgd
a5649f782f
first arg to alpha_XXX_dmamap is now a vm_offset_t
1996-10-25 20:58:11 +00:00
cgd
22b29b5058
prototype alpha_XXX_dmamap(), the alpha DMA mapping hack.
1996-10-25 20:48:59 +00:00
thorpej
e50a1d048c
Bump NetBSD version to 1.2B (kernel interface changed)
1996-10-25 20:13:16 +00:00
leo
0cda663b65
Make installboot work for 1.2 & 1.2A (should be part of 1.2 patches).
1996-10-25 20:05:04 +00:00
leo
599db9a26c
Nuke declaration of susword(). It's declared in systm.h now.
1996-10-25 20:02:34 +00:00
leo
819ba49d29
Nuke 2 useless instructions that only cause _doboot to panic now that
...
page zero is *properly* protected.
1996-10-25 20:00:39 +00:00
leo
a93d33fb93
db_memrw.c:
...
- Sync with hp300 version.
Machdep.c:
- Notify the vm-system that kernel-text is read/execute
- Notify the vm-system that page zero isn't mapped
[ Grrr.. How do you cancel a check-in when you find out too late they
should have different comments ]
1996-10-25 19:58:42 +00:00
scottr
25e56cb761
Be explicit about iostat transfer rate by displaying `KBps' instead of
...
`Kps'. As per (and noticed by) J.T.
1996-10-25 18:30:52 +00:00
scottr
c847b03d13
`Kb' means kilobits, `Mb' means megabits. Since we're talking about bytes,
...
not bits, use the uppercase `B' when reporting statistics, and be explicit
about it where appropriate. Noticed by J.T.
1996-10-25 18:21:57 +00:00
thorpej
2ea1f6b673
Add the `toolong' count to the IP stats display.
1996-10-25 07:41:35 +00:00
fvdl
f577ebda70
Move 'not finished' printf within AUDIO_DEBUG ifdefs, it should normally
...
be silent about this and caused confusion with stray interrupts.
1996-10-25 07:25:48 +00:00
thorpej
096b0d6c6e
In udp_output(), sanity check the length of the packet to be transmitted.
...
If it's larger than IP_MAXPACKET, return an error condition.
Based on a patch from Bill Fenner <fenner@parc.xerox.com>
1996-10-25 06:35:16 +00:00
thorpej
59bbc2199e
In rip_output(), sanity check the length of the packet to be transmitted.
...
If it's larger than IP_MAXPACKET, return an error condition.
Based on a patch from Bill Fenner <fenner@parc.xerox.com>
1996-10-25 06:33:36 +00:00
thorpej
e55c8a9c7e
Before concatenating frags, sanity check the length of the packet. If it's
...
larger than IP_MAXPACKET, discard it.
Based on a patch from Bill Fenner <fenner@parc.xerox.com>
1996-10-25 06:30:32 +00:00
thorpej
65c188b3c7
Make length and offset fields unsigned. From Kevin M. Lahey <kml@nas.nasa.gov>
...
Add a counter to IP stats, to count packets which are discarded on the
grounds that they are too large.
1996-10-25 06:24:16 +00:00
thorpej
ee34a9ab6d
Make length and offset fields unsigned. From Kevin M. Lahey <kml@nas.nasa.gov>
1996-10-25 06:22:24 +00:00
cgd
702e7ec138
make script_kvars an array of unsigned longs, and cast when assigning the
...
elements, to avoid warnings (with -Wcast-qual) about 'volatile'
qualifiers being discarded.
1996-10-25 00:33:00 +00:00
cgd
bba547e063
second and third args to scanc() (string and table) are not and should not
...
be modified. Make them 'const'.
1996-10-24 23:50:31 +00:00
cgd
a5b6b0d19f
pull up from libkern:
...
>when casting const pointers, preserve const qualifiers. (-Wcast-qual)
1996-10-24 23:47:27 +00:00
cgd
311fcee75f
when casting const pointers, preserve const qualifiers. (-Wcast-qual)
1996-10-24 23:45:32 +00:00
jtc
ab90fa0e5c
POSIX.1 requires that stdio buffers be flushed on abort.
1996-10-24 20:45:55 +00:00