Commit Graph

19107 Commits

Author SHA1 Message Date
jonathan 7822ce0c03 ANSIfy:
Add prototypes and fix printf format strings to compile cleanly with
cc -Wall -Wmissing-prototypes.
1996-04-08 00:57:37 +00:00
jonathan aff8e70475 Fix hanging open comment. 1996-04-08 00:52:10 +00:00
jonathan 223eb30b4e ANSIfyto compile with -Wall -Wmissing-prototypes:
Add prototyped declarations for scsiGroup0Cmd and scsiGroup1Cmd.
Add prototype declarations for scsiPrintSense. Cut the inqiury-response
pretty-printer  from tz.c and rz.c and paste it in as scsiPrintInquiry.
1996-04-07 22:53:54 +00:00
jonathan 61a27eb882 Fix old pmax scsi disk and tape (rz and tz) drivers to compile with
-Wall -Wmissing-prototypes:

Add prototypes.
Fix printf() format strings (%x vs pointer-arg, %x with a long int).
Fix a possibly-uninitialized shadowing local variable "resid" in tzdone().
include <sys/systm.h> to get prototypes for printf() and bcopy().
1996-04-07 22:46:29 +00:00
thorpej 940ccbc5df Fix typo that caused sun4 machines to be misidentified as sun4c-class.
Fixes reported problem of binstall not stripping the a.out header from
the boot block on sun4 machines.
1996-04-07 20:00:12 +00:00
jonathan 73b62487b0 ANSIfy for gcc -Wall:
fix glitch in the comments describing the glyph for semicolon.
Somehow, instead of ":" they had an open-comment.
1996-04-07 19:54:37 +00:00
jonathan 69b52a3f4a ANSIfy for -Wall: add prototype declaration for rcons_font(). 1996-04-07 19:53:36 +00:00
thorpej 14bffff70d Add a stub config_init() function, so kernel will link. Temporary, until
we use new config.
1996-04-07 18:21:08 +00:00
jonathan b72f41635e Remove gcc -Wall lint from ultrix emulation.-
Mostly adding explicit != comparison to "if (error = copyin/out( ... ))".
Fix comment glitch in ultrix_fs.c
1996-04-07 17:23:04 +00:00
jonathan 938d7138be Add vax setregs() support for exec'ing vax ultrix a.out binaries. 1996-04-07 16:38:03 +00:00
jonathan d115f89b5f Update arch/pmax/pmax/genassym.c to compile with -Wall: use offsetof().
Move to mips/pmax/genassym.c, as (most of) the assembler locore code is
being merged into a generic-MIPS locore.

Remove the redundant pmax/pmax/genassym.c.
1996-04-07 14:27:00 +00:00
thorpej 77366064b8 Fix oversight in sun4m changes: the CPU attach code moved, so the CPU
was never getting attached on a sun4 machine.  Fix this so that the
cache and FPU get enabled on sun4 machines.  (Believe me, a 4/260 is
slot enough, *with* the cache...)
1996-04-07 06:02:20 +00:00
thorpej 56fed0c102 Fix slight oversight in previous change. 1996-04-07 05:50:59 +00:00
gwr d1ca7d4c47 minor cleanup 1996-04-07 05:47:26 +00:00
gwr 639d1d787e minor nit... 1996-04-07 05:45:08 +00:00
gwr a682037ce7 SunOS binaries use "trap #2" (for some obscure FPU business,
or so claims the comment in trap.c).  Reinstate the code that
treats trap 2 as "trace" which is given special handling in
trap.c for SunOS binaries.  Also add some comments about this.
Thanks to <Ian.Dall@dsto.defence.gov.au> for this one.
1996-04-07 05:42:17 +00:00
thorpej d68e57ee64 Make this compile again on a SUN4-only kernel. (Avoid "unused foo"
warnings from gcc -Wall.  While the optimizer is smart enough to
eliminate dead code, it looks like the rest of gcc doesn't Get It.)
1996-04-07 04:48:46 +00:00
neil 9a7ff6a0e7 $NetBSD$ RCS IDs 1996-04-07 00:53:41 +00:00
neil 1eb8c370f3 Update for phONE day, and also split for London Inner/Outer 171/181
area code change.

XXX This file is quite out of date. The above sorts out the UK
but no doubt more needs to be done. sned-pr any changes please.
1996-04-07 00:44:46 +00:00
thorpej 69aab31531 RCS Id police. 1996-04-06 06:00:58 +00:00
cgd 80efcebba5 kill some pasted spaces. 1996-04-06 02:04:00 +00:00
cgd e9e09ebaca use fixed-size types where appropriate, to make timed work on 64-bit
machines (Alpha).  fixed sized types, not 'timeval's should go over
the net, and the stuff that goes over the net can't necessarily be
passed directly to functions that expect timevals.
1996-04-06 01:53:29 +00:00
jtc 3c36209f8c Re-enable weak alias and sysv pragma support that was lost when we
upgraded to gcc-2.7.  These changes have been submitted to the gcc
maintainers.  With luck, we won't have this problem again...
1996-04-06 00:51:08 +00:00
thorpej 84c7027789 Add bus_io_{read,write}_multi_{1,2,4,8}() to the <machine/bus.h>
interface, and implement them (except for the 8-byte versions) on
the i386.
1996-04-05 23:59:37 +00:00
chuck e50fc72424 make netbsd/sparc boot on sun4 once again. the sun4m changes introduced
config lines for obio0 devices without addresses (thus cf->cf_loc[0] took
the default value of -1).   we now ignore these entries on a sun4 since
they could never be valid (eliminates a 'panic:alignment' fault at bootup).
1996-04-05 21:50:05 +00:00
chuck a7c600676f make netbsd/sparc boot on sun4 once again. the sun4m changes introduced
config lines for obio0 devices without addresses (thus cf->cf_loc[0] took
the default value of -1).   this caused autoconf.c to map memreg0 to
obio physical address -1 (invalid).   as soon as we took a memory fault
the code in memfault_sun4 [locore] would get a Watchdog timeout when trying to
read memreg0 (a.k.a. par_err_reg).
1996-04-05 21:44:25 +00:00
phil 912d727afa Fix for hangs on the form 0fInf. (Fix from PR 2279) 1996-04-05 16:21:14 +00:00
is 1ac76dc9c2 Typo in the new new config conversion fixed. 1996-04-05 15:53:41 +00:00
mhitch 3ce4de5491 Pass reserved blocks in label so adosfs computes root block
correctly (close PR 2232).
1996-04-05 05:08:07 +00:00
mhitch a0e658617d Add support for OFS, International FileSystems, and blocksizes > 512.
Corrrect floppy rootblock calculation.  Validate filesystem type. (Closes
PR 2232)
Filename hashing requires unsigned characters.  (Closes PR 1026)
Soft link path is null-terminated string, not BSTR.
Use actual file header block info for hard links.
Set nlink to 2 for hard linked files in adosfs_getattr().
Load allocation bitmap and set correct free space.
1996-04-05 05:06:07 +00:00
mhitch b35575d176 Define M_ADOSFSBITMAP, for adosf allocation bitmap. 1996-04-05 04:52:52 +00:00
mhitch a3fa4a5449 Compute partition offset with sectors/track and number of heads from the
Amiga partition block.  Print a diagnostic if the sectors/track or
number of heads differs from the RDSK values.
Fix sorting by partition offset (don't drop last partition).
Save filesystem blocksize for adosfs partitions.  (Closes PR 2232)
1996-04-05 04:50:26 +00:00
cgd 9b70f26fe8 deal with the fact that fsck has moved 1996-04-05 04:17:54 +00:00
cgd ef2af437ba SMM '03.fsck' has been renamed '03.fsck_ffs' 1996-04-05 01:52:24 +00:00
cgd effa4b1417 this file has moved; not properly checked in in previous commit. 1996-04-05 01:48:29 +00:00
cgd fea3644f0b check in changes proposed in PR 2006 (approved by J.T.), to rename fsck
to fsck_ffs, so that in the future 'fsck' can be a wrapper than invokes
appropriate filesystem-specific checker programs.  For now, the only
user-visible change is that the names have changed in the manual page
and in error messages; fsck and fsck.8 are now links to fsck_ffs and
fsck_ffs.8, until the rest of the transition is complete.
1996-04-05 01:44:24 +00:00
phil bf6acfece8 Addition of fp routines. (PR 2281 from Matthias Pfaller.) 1996-04-05 00:23:05 +00:00
christos 151fa70f78 Prototyping changes. 1996-04-05 00:01:10 +00:00
christos d7130e8385 - Prototyping changes
- Fix bug that gcc -Wall found in linux_sys_getpgid()
1996-04-04 23:56:01 +00:00
pk 8eeab3102b Probe clock registers on sun4s to make sure we attach the correct device
(sun4m has clocks at obio too).
1996-04-04 23:55:47 +00:00
christos 363777341c - Add missing prototypes
- Fix bugs with reversed arguments that prototyping discovered
1996-04-04 23:51:36 +00:00
phil 3fac82adb2 Change the definition of __infinity on the ns32k. (PR 2283) 1996-04-04 23:45:18 +00:00
phil 208dd8b0cc Adding librx to libg++ tree. (Closes PR 2271 and 2298.) 1996-04-04 23:33:45 +00:00
pk 8e427a346f Check for frame pointers we can handle (i.e. in kernel space). This prevents
data faults when tracing proc0's context.
1996-04-04 23:25:35 +00:00
abrown 1372d856d7 cpu.c: correctly identify Sun4m associative caches
kgdb_stub.c: make it compile again with Sun4m-only kernel
1996-04-04 23:06:32 +00:00
abrown 1068aa5751 Add back support for cached DVMA on SuperSPARC (sun4m) machines that was lost
during merge
1996-04-04 23:05:22 +00:00
pk b0fd2dabcb Include fd.c if (fdc | fd), so we're not obliged to define a device
at fdc.
1996-04-04 22:57:55 +00:00
mycroft 78746c0d27 Regen. 1996-04-04 21:47:52 +00:00
mycroft 691dea75ae Add some NCR chips. 1996-04-04 21:46:33 +00:00
christos bd9f45b014 Add -D__KPRINTF_ATTRIBUTE__ 1996-04-04 20:17:16 +00:00