Commit Graph

20505 Commits

Author SHA1 Message Date
mrg
8c4136ca25 initalise dino to zero. pr#2098 1996-05-21 12:42:38 +00:00
mrg
d0e431b53a log the IP address if the hostname is > UT_HOSTSIZE, as per telnet. pr#1946 1996-05-21 12:22:31 +00:00
mrg
bd664fdbdb in recvf() initialise the fd to -1 so that we can not close it later
if it was never used (for e.g., with symlinks).  pr#1822.
1996-05-21 12:11:54 +00:00
mrg
2a6bfcfdcf call setlogin. from pr#1292 (James Jegers <jimj@miller.cs.uwm.edu>) 1996-05-21 11:06:49 +00:00
mrg
290aca3136 use LOG_INFO to say NIS isn't running. 1996-05-21 11:03:14 +00:00
mrg
b2be16e47c document the (no)auto option. 1996-05-21 10:55:52 +00:00
mrg
dd34f9ec6f give up setuid-ness. we don't need it. while i'm here, include
<sys/signal.h> and use SIGINT rather than 2.
1996-05-21 10:48:07 +00:00
mrg
5bdb157a47 add blocksize/density commands. other part of #921 (Olaf Seibert <rhialto@polder.ubc.kun.nl>) 1996-05-21 10:23:54 +00:00
mrg
d63f735104 add type 7 (scsi tape). part of pr#921 (Olaf Seibert <rhialto@polder.ubc.kun.nl>) 1996-05-21 10:09:10 +00:00
pk
71943d50df Protect body of iommuattach() to be more resilient against configuration
file oddities.
1996-05-21 07:25:07 +00:00
briggs
057adea27d Apparently the MRG ADB code becomes unstable if we handle via1 interrupts
properly, so go back to unflagging them all before processing any via1
interrupts.  Perhaps this can be changed back when we get ADB code that
does not rely on the ROMs?
1996-05-21 02:46:02 +00:00
jonathan
4139356a98 Copy the pmax locore.S code into the arch/mips hierarchy and split
it into three pieces:

 * locore.S, which contains generic mips locore code,
   applicable for both r2000/r3000 and r4000s (in 32-bit mode).

 * locore_r2000.S, which contains r2000/r3000 (MIPS-I) versions
   of the locore functions that need mips-generation-specific
   instructions or handling.
 * locore_r4000.S, which contains r4000/r4400/r4600 (MIPS-III?) versions
   of the locore functions that need mips-generation-specific
   instructions or handling.

Much of the code in locore_r4000.S is derived from Per Fogelstrom's Pica port.
locore.S still contains some pmax-specific DMA-buffer copy functions.
1996-05-21 00:20:40 +00:00
pk
9954d351bb kill some more awks 1996-05-21 00:10:57 +00:00
briggs
3fb1d834fc Actually clear the interrupt on the RBV. 1996-05-21 00:04:18 +00:00
jonathan
b15951c1ee * Move the declarations of mips locore functions from the pmax tree
to the mips tree.
* Just include the mips locore.h into the pmax one.
1996-05-20 23:49:11 +00:00
jonathan
e704a8e1e9 * Move the declarations of mips locore functions from the pmax tree
to the mips tree.
* Add declarations of functions used by vm_machdep.c.
* Add declarations of functions printed by name in stack tracebacks.
* Add declarations of functions used by the model-independnet mips machdep.c
  code.
1996-05-20 23:38:26 +00:00
jonathan
6f1e720b08 Change MachEmptyWriteBuffer() to wbflush().
Add missing "void" and "int" return types on functions.
Move boot() after dumpsys()/doadump(), so the latter don't need forward decls.
1996-05-20 23:27:27 +00:00
jonathan
7666d5b36b Check that either CPU_R3000 or CPU_R4000 is defined. Fix the r3k/r2k
symbolic lookup of the CPU-level specific locore entry points to use the
r2k, not the r4k, labels.

Include header files to get prototyped declarations of ipintr() and arpintr().
Remove unused variables and parenthesize assignments in if () expressions.

Gcc warns of a possible && vs || operator-precedence bug in the network
softint dispatch code, which needs more thought.
1996-05-20 23:24:00 +00:00
jonathan
b314e27cfa Add #include of pmax/kn01var.h, remove unused variables, and close
hanging block comment in copyright to satisfy -Wall.
1996-05-20 23:19:16 +00:00
gwr
7bb94b7bdf More portable versions of makeflist and maketars that can be used to
cross-make a distribution.  Also avoid duplicating makeflist logic.
1996-05-20 19:10:28 +00:00
mrg
cb6b56f884 oops, this got missed in the import somehow. 1996-05-20 18:45:49 +00:00
mrg
1af2be6068 document PORTAL 1996-05-20 18:15:11 +00:00
mrg
92292a798d initialise securelevel to zero to allow it to be patchable. this is _not_ a security issue. 1996-05-20 17:49:05 +00:00
mrg
047dfa8524 count pagein faults in struct user. (from kenneth stailey pr#1397]) 1996-05-20 17:40:02 +00:00
mrg
663808dfc5 use ' not " when passing variables to a sub-make. pr#1199/pr#1296 1996-05-20 17:23:25 +00:00
mark
08dfd04e76 Fixed the NetBSD Id string. 1996-05-20 17:09:24 +00:00
mrg
ef2bde6bce update to reflect reality. 1996-05-20 16:58:03 +00:00
mrg
4e25d1d20b if the sender set a cksum, check it, regardless if we care to
generate and send them ourselves.  from rich stevens.
1996-05-20 16:56:20 +00:00
thorpej
bc16409b49 Remove some extra printfs, now that Matt has lessened my confusion. 1996-05-20 15:52:32 +00:00
cgd
64331ae191 these files all need to include <string.h> 1996-05-20 15:17:31 +00:00
oki
6a0bb3e228 Add 'rd' ram-disk pseudo-device. 1996-05-20 14:56:20 +00:00
oki
8823c49fb4 fixed gcc -Wall warnings. 1996-05-20 14:53:07 +00:00
cgd
edc0ef345c Fix growstackblock() 'newlen' calculations:
(1) it needs to be ALIGNed for both halves of the 'if,' and
	(2) if you're going to claim that you now have ALIGN(newlen)
	    bytes left, you should have actually allocated
	    ALIGN(newlen), rather than just 'newlen' bytes.
1996-05-20 14:49:32 +00:00
mark
a7f4c7929f Don't need -fno-builtin anymore. 1996-05-20 14:37:24 +00:00
mark
847038524a cast -1 to a char for comparision with tc->t_brkc so that this test
will work with signed and unsigned chars.
1996-05-20 14:29:17 +00:00
is
cb5f8c53ac Now that our as pretends to understand the M68060 cpu, use -m68060 instead
of -m68040 to avoid confusion.
1996-05-20 13:31:40 +00:00
jonathan
b37be8bb62 Fix typo in NMBCLUSTERS definition. 1996-05-20 10:50:52 +00:00
pk
6da494dde9 Put a `return' back that went missing in rev 1.56 1996-05-20 10:49:20 +00:00
jonathan
d1e0e11f70 * Fix formatstr/argument mismatches in diagnostic printf()s.
* Change MachEmptyWriteBuffer() to wbflush(). Should  use TC mi names tc_mb(),
  tc_wmb, tc_syncbus() but I'm not sure which each wbflush() should be.
* Add prototyped forward decl for asc_Dumplog() and add an explicit void
  return type.
* Remove unused variables.
1996-05-20 09:46:21 +00:00
leo
e73f0ea043 Get them closer to reality. 1996-05-20 09:26:27 +00:00
mrg
095b103c63 these files are either deleted (in nvi) or not necessary 1996-05-20 09:02:48 +00:00
mrg
aa26de9899 disable mmap(). 1996-05-20 06:23:31 +00:00
jtc
9647f42d70 Signal mask was not restored correctly.
Fix from James Chacon <jmc@pobox.com> in PR #2442.
1996-05-20 06:13:07 +00:00
mrg
c5a3d99868 don't need these. 1996-05-20 05:25:19 +00:00
mrg
7195e9a699 don't create /usr/share/vi/catalog here 1996-05-20 05:01:36 +00:00
mrg
905ffab8e0 add /usr/share/vi/catalog 1996-05-20 04:59:29 +00:00
cgd
90d6b3a054 a better (more careful) fix for problem fixed by rev 1.9 (the
rolled-forward patch to fix a 'comparison can never be true due to
limited range...' compiler warning).
1996-05-20 04:49:48 +00:00
scottr
4b712a8c3f Due to the latching effect of the 6522 (VIA) chip, we need to unflag
interrupts only after the condition that caused the interrupt has been
cleared.  This is a particular problem with the 5380 SCSI controller,
since the Mac glue logic may raise (e.g.) the SCSI DRQ interrupt a number
of times during the course of a normal transfer.  By waiting to unflag it,
we effectively ignore all but the first.
1996-05-20 04:32:33 +00:00
mrg
3c0a0f8698 merge in fix lost in upgrade. 1996-05-20 04:31:56 +00:00
mrg
12cc64d022 merge in nvi 1.66 1996-05-20 03:47:00 +00:00