thorpej
a24225a200
Build with WARNS.
1997-07-20 05:01:14 +00:00
thorpej
78af0e94b2
- Use __COPYRIGHT() and __RCSID().
...
- Fix compiler warnings.
1997-07-20 05:00:51 +00:00
thorpej
553c5b7377
Build with WARNS.
1997-07-20 04:51:31 +00:00
thorpej
85a7e9878b
- Use __COPYRIGHT() and __RCSID().
...
- Fix compiler warnings.
1997-07-20 04:51:02 +00:00
thorpej
e4d1e32ab0
Build with WARNS.
1997-07-20 04:45:24 +00:00
thorpej
baebd086f9
- Use __COPYRIGHT() and __RCSID().
...
- Fix compiler warnings.
1997-07-20 04:44:53 +00:00
thorpej
91816b39da
Add WARNS.
1997-07-20 04:35:17 +00:00
thorpej
7d87f9c404
__COPYRIGHT()/__RCSID()/prototype police.
1997-07-20 04:34:33 +00:00
mrg
d507e9e46d
bind 4.9.6 resolver files.
1997-07-20 04:07:42 +00:00
jonathan
59b1c9add9
Correct cursor-movement bounds check in ifdef'ed out code, as
...
for revision 1.7 of sys/arch/pmax/dev/ims332.c:
>Bound x motion by framebuffer width, not height.
>Bound y motion by framebuffer height, not width.
1997-07-20 03:57:18 +00:00
jonathan
623d454fe0
* Rewrite symbol-remapping code, compatible with mips ECOFF toolchain.
...
* delint for -Wall -Wstrict-prototypes -Wmissing-prototypes.
1997-07-20 03:50:54 +00:00
jonathan
9f89c0da89
Use __attribute__((unused). From Chris G. Demetriou <cgd@pa.dec.com>.
1997-07-20 03:47:29 +00:00
jonathan
caea1075c9
* Do staktcraces back through traps from kernel mode.
...
* Don't take stack adjustment inside procedures as frame size
(e.g., 8-byte stack adjustment for calling _mcount).
1997-07-20 03:46:20 +00:00
mouse
2ebe693d57
Mark my changes, per Vixie's license at the top.
1997-07-20 02:54:55 +00:00
jonathan
06df97095c
Add ecoff ``struct ext_ext'' header fields to ecoff_extsym.h.
...
Compatible with mips ECOFF nm from GNu binutils or MipsCo toolchain.
1997-07-20 02:38:02 +00:00
perry
404afa3db4
add WARNS=1
1997-07-19 23:04:24 +00:00
perry
6b1fa5ab98
1) Make WARNS=1 clean
...
2) to do 1), nuke the silly local version of err()
3) nuke "register" declarations.
1997-07-19 23:03:54 +00:00
chuck
bc385d2051
typeo in comment (PR#3836: Curt Sampson)
1997-07-19 22:51:13 +00:00
kleink
20b33f1d4c
When creating new device nodes based on the major number of the LKM slot we
...
have been assigned, try to remove any existing ones first; otherwise loading
the LKM could fail with EEXIST. Fixes PR kern/3868.
Why was this call dropped between v3-2alpha7 and v3-2beta1?
1997-07-19 22:42:18 +00:00
is
f8ce8a3693
Fix my own PR port-m68k/3871, nee port-amiga/3871:
...
- don't erase FPSR exception bits _after_ doing most of the operations in
fpu_implode(), erase them before doing arith and store operations. This fixes
losing the DZ bit.
- create FPSR_OVFL and FPSR_UNFL bits in fpu_implode(). This showed up when
the first error was fixed.
XXX some more work needs to be done. E.g., creating OPERR together with
OVFL looks bogus, but I'm too tired know to re-check docs; and at least we
pass our own regression tests know.
1997-07-19 22:28:48 +00:00
perry
28753bf1c0
fix pr-2619, from cgd. really obscure bug in exec'ing reboot when single user.
1997-07-19 22:27:20 +00:00
perry
9aea42ec4e
Change the "overlarge UID/GID truncation" from USHRT_MAX, which might
...
someday exceed 16 bits, to an arbitrary constant that won't.
1997-07-19 22:19:35 +00:00
pk
0e6ca8da9f
Use `target selection with DMA' by default.
1997-07-19 21:57:01 +00:00
pk
2b8fb4cacd
Propagate SCSI status byte back to higher levels.
1997-07-19 21:54:16 +00:00
pk
63fa13065c
#include "locators.h"
1997-07-19 21:43:54 +00:00
jonathan
39814d8abc
Add pointer to _mcount to avoid bogus warnings about unused static function.
...
(calls from interpolated assembler are invisible to gcc.)
If _KERNEL, add prototypes for non-profiled entrypoints _splhigh(), _splx().
1997-07-19 21:30:25 +00:00
fvdl
6ca80cfb1e
Make sure that the last fields in the transmitted stat structs are set
...
correctly. PR 809, from Jarle Greipsland
1997-07-19 20:25:44 +00:00
kleink
1aecc913a4
Typo.
1997-07-19 20:05:31 +00:00
perry
bccc3d5d81
add -o option -- submitted in pr-1857 by Niklas Hallqvist
1997-07-19 19:47:38 +00:00
kleink
d77864a270
Substitute a `2' with STDERR_FILENO for clarity; minor KNF.
1997-07-19 19:43:59 +00:00
perry
3f2367bf01
add WARN=1
1997-07-19 19:00:58 +00:00
perry
ba588d9705
get rid of "register" declarations.
...
turn 0 pointers into NULLs
Fix WARN=1 warnings
1997-07-19 19:00:44 +00:00
perry
2cb2701a4e
rename DEBUGSHELL to ALTSHELL
1997-07-19 18:12:47 +00:00
perry
53222a55ef
1) change rcsid[] and copyright[] to use __RCSID and __COPYRIGHT
...
macros.
2) Clean up some gratuitous uses of write() instead of fprintf()
3) Clean up some of the alternative shell code in single_user(),
fixing a couple of bugs in the meanwhile. Also, fix pr-2620 from
Chris Demetriou -- when an alternative shell is exec'ed, it is now
not called "-sh" automatically.
4) rename the DEBUGSHELL option ALTSHELL since its almost always used
in NetBSD.
Notes:
1) It isn't clear that the ALTSHELL code is really ever very useful,
but we seem to have decided to always enable it anyway.
2) The code in init really needs an overall cleanup, but I just don't
have time or energy.
1997-07-19 18:11:59 +00:00
perry
f40020042e
merge lite-2 changes
1997-07-19 17:06:29 +00:00
perry
e47e6a8f47
in NetBSD, setting the clock back is inhibited in securelevel 2, not s-lev 1
1997-07-19 16:58:47 +00:00
perry
dfc8543445
(mostly) merge lite-2 changes (except for some silly ones.)
1997-07-19 16:51:40 +00:00
kleink
897349ed1e
__RCSID() police, typo in variable name; from jbernard@tater.mines.edu in
...
PR lib/3889.
1997-07-19 16:02:05 +00:00
kleink
fd8f56cb11
__RCSID() police; from jbernard@tater.mines.edu in PR lib/3890.
1997-07-19 15:58:31 +00:00
kleink
cc67a99801
Nuke definitions of the unused TIOCMOD[GS] ioctls; they are pre-4.4BSD vintage
...
and aren't implemented in the tty(4) driver any longer. Fixes standards/2741
(actually this is not the appropriate category) from Greg Lindahl.
1997-07-19 15:44:39 +00:00
kleink
24b86eb3f3
Sync if_ipl_lkmentry()'s prototype with the function's actual name; from
...
Matthias Scheler in PR kern/3868.
1997-07-19 15:35:27 +00:00
jonathan
ad4cc08b75
Bound x motion by framebuffer width, not height.
...
Bound y motion by framebuffer height, not width.
(cf revision 1.4.)
1997-07-19 12:03:51 +00:00
jonathan
21717110ba
Raise spl to spltty() in polled console input routine dtopKBDGetc(),
...
to ensure polled console I/O really is polled.
From Michael L. Hitch <mhitch@lightning.oscs.montana.edu>.
1997-07-19 12:00:10 +00:00
kleink
73997cc33d
Add missing `#include "locators.h"' from last commit.
1997-07-19 11:19:05 +00:00
cgd
8f43428a7f
regen for new pcidevs
1997-07-19 10:41:57 +00:00
cgd
5579e9d3bd
* move COPTS out of the 'program variables' section of the makefile and
...
into the 'argument variables' section.
* define variables for CPP and SIZE, defaulting to cpp and size, respectively.
* kill HOSTED_C*, since it's no longer used.
* use ${SIZE} rather than using 'size' directly, so it can be overridden for
cross-builds.
* generate assym.h via assym.s and an awk script.
1997-07-19 10:12:13 +00:00
cgd
75b9c1bce1
convert to use a genassym.c that produces awk-able assembler output, a
...
la the sun3 port. This makes cross-compilation easier.
1997-07-19 10:02:53 +00:00
jonathan
ccf3801c92
* Re-apply changes from rev 1.6 of sys/arch/mips/include/reg.h accidentally
...
undone by rev 1.7:
>redo pmax/include/reg.h
>so that the definitions needed by locore.S are in a separate file,
>pmax/include/regnum.h.
* Add explicit `#include <mips/regnum.h>' where symbolic offsets
into a mips trapframe or struct reg are used..
1997-07-19 09:54:23 +00:00
cgd
d2bdd55b3a
clean up a few entries, fix the entry for the TI PCI1130 so the device
...
is properly named, add entries for the TI PCI1131 and PCI2030. also note
that you shouldn't always believe everything you read.
1997-07-19 09:54:09 +00:00
cgd
429a941288
don't expect/provide pci_decompose_tag to be a MI, public function. It
...
wasn't intended to be to begin with, and uses of it (e.g. the one in the
'de' driver) are quite likely to be incorrect.
1997-07-19 09:49:39 +00:00