Commit Graph

20394 Commits

Author SHA1 Message Date
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
jonathan
4e27f8ef06 Fix braino in initialization of confargs pointer in le_pmax_attach(). 1996-05-20 03:43:15 +00:00
thorpej
59865f3154 Remove references to the "ahe" device, and add ahc at eisa. Lingering
junk pointed out by Greg Earle <earle@isolar.Tujunga.CA.US>.
1996-05-20 03:32:16 +00:00
scottr
d28f9a6699 Fix the last change; CVS apparently biffed it. 1996-05-20 03:23:36 +00:00
cgd
5e29c383e2 add wbflush() calls in strategic places. These really shouldn't be
here, and there should be a generic 'bus' interface to do memory
read/write barriers.
1996-05-20 03:14:07 +00:00
cgd
397617080d add 'pseudo-device strip' for Metricom Ricochet packet radio driver
recently kicked in by Jonathan Stone.  It compiles on the alpha, and
may even work.
1996-05-20 02:58:53 +00:00
jonathan
b3c6ba5b5d Decstation 3100/2100 baseboard configuration stub for the LANCE driver
for DEC  TURBOchannel and IOCTL ASIC machines.
1996-05-20 02:25:08 +00:00
mrg
490196e2bb import of nvi 1.66 1996-05-20 02:01:36 +00:00
fvdl
484a6c9fe4 Regen. 1996-05-20 02:00:53 +00:00
mrg
a6b8efa9e3 import of nvi 1.66 1996-05-20 02:00:50 +00:00
fvdl
69761c2aa8 Update list of Linux syscalls and implement the ones that are likely to be
used and doable.
1996-05-20 01:59:09 +00:00
mrg
9113251c61 import of nvi 1.66 1996-05-20 01:53:18 +00:00