18757 Commits

Author SHA1 Message Date
pk
c299fd2d61 Bitfields are unsigned. 1996-03-26 01:28:50 +00:00
cgd
d4ea3a96dc accept any tar header which begins with "ustar" (i.e. those 5 characters) as
a ustar-format archive.  POSIX specifies that ustar-format archives have magic
strings consisting of "ustar<nul>", however our PAX accepts anything starting
with just the 5 "ustar" chars, and this and other version of GNU tar output
ustar archives with magic numbers of "ustar  <nul>".  Leave the output format
of this version of GNU tar the same, so that old versions of GNU tar can
use ustar files it outputs.  (diff sent to GNU tar maintainer.)
1996-03-26 00:48:49 +00:00
pk
a8564828ee Back to normal printf()s, now that gcc understands `%b'. 1996-03-26 00:35:25 +00:00
mrg
5e02eb808c add ssh (22) 1996-03-26 00:07:58 +00:00
mrg
8d14f53bd0 install stand tools. 1996-03-25 22:48:09 +00:00
pk
3d5031d609 PROM does not like %p's.. 1996-03-25 20:46:56 +00:00
perry
0e05503b1b added to support rd (ramdisk) pseudodevice needed for new install system. 1996-03-25 18:49:18 +00:00
perry
0c01ef4333 Add changes to support rd (ramdisk) pseudodevice, needed for new
install system.
1996-03-25 18:47:47 +00:00
perry
4a9fd2c5f4 Added support for rd (ramdisk) pseudodevice, needed for new install system. 1996-03-25 18:44:29 +00:00
pk
44af669e3d Appease gcc: unused variables if !QUOTA 1996-03-25 12:53:35 +00:00
pk
e471d816de Don't stomp on arbitrary directories.
(Perhaps there should be a `source /etc/daily.local' hook..)
1996-03-25 09:23:15 +00:00
mrg
f88f31de89 update all of these to reality (at least, for the sparc). changes
include:
    libg++, bind, less, zoneinfo, lots of headers, and a pc532 man page.
1996-03-25 07:35:59 +00:00
mycroft
8d60d04ffa Remove dead variables. 1996-03-25 07:11:12 +00:00
jonathan
97f32908b1 Split trap handler into mips-generic and port-specific functions:
* Delete pmax-specific functions and declarations from trap.c

* Delete mips-geeneric functions and declaratinos from pmax_trap.c

* Rename the function pointer used to handle hardware interrupts to
 "mips_hardware_intr".  Define it in trap.c. Change references elsewhere,
  including machdep.c.

Verified to boot on a 5000/200.
1996-03-25 06:44:17 +00:00
jonathan
458024d39d Random additions from the Pica r4k port:
* Add spl4() and spl5() functions from the Pica port.
* Add MachFPTrap() as an alternate entry point for MachFPInterrupt.
  The r4k reports floating-point execptions as a trap, not an interrupt,
  and the Pica port uses the name MachFPTrap().
* Add nops to the Mach_spl?() functions and MachFPInterrupt, as required
   for the r4k port.
Commit "floppy"  interrupt counter for vmstat -i.
1996-03-25 06:40:39 +00:00
jonathan
522f8705a1 Copy src/sys/arch/pmax/pmax/trap.c to pmax_trap.c.
trap.c will contain the port-independent mips trap-handling functions.
pmax_trap.h will contain the pmax-specific interrupt handlers.
1996-03-25 05:55:30 +00:00
perry
3a7ebace87 Add COMPAT_11 option. 1996-03-25 05:45:08 +00:00
briggs
b329936803 Fix for more pedantic -W options. 1996-03-25 03:27:51 +00:00
jonathan
e920e8f829 Force reporting of memory errors for the 3MAX (aka kn02 aka 5000/200) to
always be eight digits.
Copy the kn02 memory-interrupt reporting function to the kn03 (5k/240)
memory-error handler, since the 3MAXPLUS seems to use the same ECC hardware
as the 3MAX.
1996-03-25 03:18:15 +00:00
jonathan
36424c73cf Rename the original pmax/include/machAsmDefs.h file, with CVS history,
to mips/include/asm.h.

Until all references to <machine/machAsmDefs.h> in the pmax and
pica tree are changed  to use <mips/asm.h> directly, just do
#include <mips/asm.h>, for compatibility.
1996-03-25 02:55:18 +00:00
jonathan
3b5a818c4e Rename from pmax/include/machAsmDefs.h to mips/include/asm.h.
Update the include-idempotency preprocessor token to match.

References to machAsmDefs in vendor (sprite, 4.4bsd) headers left unchanged,
for historical accuracy.
1996-03-25 02:50:50 +00:00
mrg
65e7d88ab1 cast realloc() calls to shutup c++ warnings 1996-03-25 00:36:18 +00:00
mycroft
3ab38e9ad4 Display the right sync period for fast devices. 1996-03-25 00:18:09 +00:00
fvdl
fa29f1090f Return earlier on error in nfs_statfs. Should fix problem reported by
both mrg and cgd.
1996-03-24 23:58:10 +00:00
mycroft
dac7f9a885 Fix up a couple of printf()s. 1996-03-24 22:23:56 +00:00
mycroft
e2f1ed6ef2 Various, including:
* Display as much revision info as we can get.
* Fix a race condition that could cause interrupts to be lost.
* Handle `out of mailbox' conditions (much) more gracefully.
* Schedule timeouts more safely.
* Add diagnostic code to (correctly) detect if a CCB times out before its
outgoing mailbox is emptied.
1996-03-24 22:20:41 +00:00
jtk
d03349ad69 sync up with domestic fixes 1996-03-24 22:03:48 +00:00
jtk
c241e89a6f grr, I forgot to add the #include <machine/spkr.h> and /dev/speaker
lines at the synopsis section.
1996-03-24 21:18:34 +00:00
jtk
be40704188 fix synopsis to match new attachment config line. 1996-03-24 21:15:50 +00:00
briggs
2422f1bc4e Get rid of a compiler warning about Debugger(); 1996-03-24 16:58:46 +00:00
jonathan
29aa0d22ca Replace pica and pmax include/trap.h with versions that #include <mips/cpu.h>,
after merging the definition of T_USER in the pmax port, and moving
the result to mips/cpu.h.
1996-03-24 08:17:04 +00:00
jonathan
71b212b66a Change pmax T_USER bit (software only) to be 0x20, the same as the
Pica port. (The r4000 CPU used in the pica has more hardware execption types.)
1996-03-24 08:12:53 +00:00
jonathan
c5f3b155a3 Replace pica and pmax include/cpu.h with versions that #include <mips/cpu.h>,
and add port-specific and r3k vs. r4k definitions.
1996-03-24 07:54:42 +00:00
mycroft
caeb897758 Fix trivial oversight in last. 1996-03-24 07:36:11 +00:00
mhitch
e1d4601b24 Fix for SCSI mode sense disk_pages structure change, and use the _lto3b()
conversion function.
1996-03-24 04:12:27 +00:00
mrg
2c329c900b %d -> %ld in a few places... 1996-03-24 01:26:57 +00:00
pk
2dd9317452 Remove reference to sense code "internals". 1996-03-23 21:09:04 +00:00
jonathan
893a0b508b fix case typo: CLKF_BASEPRI_R4k to _R4K 1996-03-23 20:28:19 +00:00
jonathan
cd58cb9caa Factor out r3000 versus r4000 differences (CLKF_USERMODE() and CLKF_BASEPRI()),
provide r3k and r4k versions of each, and move to sys/arch/mips/include.

Note in comments where each mips-based port should provide
definitions in its own cpu.h after including this file.
1996-03-23 20:21:49 +00:00
jonathan
cc54da72aa Just include the merged pica/pmax r2000/r4000 mips_opcode.h from
mips/include/mips_opcode.h.
1996-03-23 19:10:06 +00:00
jonathan
78aac1c7b9 Merge in additions of missing MIPS-I opcodes, and r4000-in-32-bit mode
opcodes from the Pica port.   Per Fogelstrom claims the latter are all
supposedly  MIPS-II (r6000) instructions, rather than MIPS-III (R4000),
but we haven't checked to be sure.  Are LL/SC really in MIPS-II?
CVS:: ----------------------------------------------------------------------
1996-03-23 18:49:29 +00:00
is
ad32891e83 State explicitly that the install kernel needs the root and swap
partition on the same disk.
1996-03-23 15:21:39 +00:00
is
a6a8779b4e It looks like the sense_data structure lost the extended_ prefix in the
name of some of its members. Adapt sbic.c to this. (Fixes PR 2245)
1996-03-23 15:09:54 +00:00
scottr
ecd20bc823 Add PPP compression options 1996-03-23 06:12:11 +00:00
scottr
6bd0c1ff9b In link_down(), give a second arg to the close function. Fixes
a SEGV when pppd closes the link.
1996-03-23 05:43:11 +00:00
jonathan
bfb10e5bdf Rename "pmax_elf_makecmds()" to "mips_elf_makecmds()".x 1996-03-23 04:59:00 +00:00
jonathan
8fb3add520 * Change setregs() to copy the initial entry point to $t9, to support PIC
code following the MIPS ELF abi.
* Move the kn01 interrupt handler outside of #ifdef DS5000, to support
  3100-only kernels.
* Add #ifdef DS3100 around kn01_enable_intr() to allow configuring
  turbochannel-only kernels.

Configuration-time support for specific models of DECstation still needs
more thought/work.
1996-03-23 04:35:03 +00:00
jonathan
1ca217b445 Replace the following header files from src/sys/arch/pica/include/
with versions that  include  equivalent files from <mips/include>.
(cvs magic copied the previous revisions, with history, to
 src/sys/arch/mips/include).

ansi.h bsd-aout.h cdefs.h ecoff.h elf.h endian.h exec.h float.h ieeefp.h
kdbparam.h limits.h pcb.h pmap.h proc.h profile.h ptrace.h reg.h regdef.h
regnum.h reloc.h setjmp.h signal.h stdarg.h types.h varargs.h vmparam.h

NB: Some files (e.g., limits.h reloc.h pmap.h) add pica-specific #defines
to the  generic mips support.
1996-03-23 03:42:25 +00:00
mrg
e5e3e0877a add a SIGTERM handler to unmount the portal fs when killed. also put the
right PID in the mount table.  from pr#893 <kstailey@leidecker.gsfc.nasa.gov>
1996-03-23 02:37:48 +00:00
jtc
be21c16fa0 hack to limit termcap strings to 1024 characters 1996-03-22 23:25:30 +00:00