Commit Graph

6404 Commits

Author SHA1 Message Date
jonathan
bf52fa8269 The prototyping `fixes' broke vmapbuf() and vunmapbuf(), due to a "sz"
parameter parameters shadowing locals.  Replace vmapbuf() and vunmapbuf()
with the Alpha-port versions, which are cleaner (use round_page(),
trunc_page(), etc.)
1996-02-06 00:31:51 +00:00
jonathan
cb7e6f2e0f Change last argument of ktrsysret() call: pass rval[0], not rval, as
ktrsysret() expects.   Tracing of  rval[1] remains an open problem.
1996-02-06 00:13:04 +00:00
mark
a725f894c6 Added -fno-builtin flag for braindead version of gcc currently used by
the arm32 port.
1996-02-05 23:49:49 +00:00
mark
6b36adcad6 Define TRAPFRAMESIZE to be the size of a trapframe in bytes. 1996-02-05 23:24:50 +00:00
mark
a70b546c49 Added extra comments to help explain what the code is doing. 1996-02-05 22:43:53 +00:00
mark
66e7b4b999 ramdisk boot loading code now condition on RAMDISK_HOOKS being defined. 1996-02-05 21:43:40 +00:00
mark
25aa4f48b1 Updated to used NHYDRABUS to determine if hydrabus device should be
supported.
1996-02-05 21:25:33 +00:00
mark
82a8316c02 cpus can now be attached to hydrabus as well as mainbus. 1996-02-05 21:01:34 +00:00
christos
28eae27187 correct prototype for cpu_fork 1996-02-05 20:33:37 +00:00
mark
ceae6db272 The data abort handler now fixes the base register in co-processor
data transfer instructions that use writeback. i.e. LDC/STC instructions.
Hardware LDF/STF instructions are now correctly handled.
1996-02-05 17:31:33 +00:00
mark
4909105de6 Updated development history 1996-02-05 17:21:31 +00:00
mark
94fa0b2f1b post instruction emulation callback now expects a trapframe structure
to be passed as well as the fp frame.
FPE<->kernel glue code now builds a trapframe structure for passing in
and out of the post instruction emulation callback.
Signal delivery during FP emulation now works correctly.
1996-02-05 16:51:52 +00:00
mark
20c26bade4 Removed redundant debugging text. Minor code tidy ups. 1996-02-05 16:49:01 +00:00
mark
bd04466b08 Configuration files updated to support latest options and devices 1996-02-05 16:34:51 +00:00
jtc
7eb02879b7 Simplify -I's in CFLAGS 1996-02-05 07:42:54 +00:00
christos
2c8314f73c vm prototype changes 1996-02-05 02:06:38 +00:00
christos
684b37e33e vm prototype changes. 1996-02-05 01:59:12 +00:00
jonathan
1f780158bb Redo the locore interrupt counters reported by vmstat -i:
* add a new enum decstation_intr_t to trap.c, naming each instrumented
  interrupt symbolically, and used to index into intrcnt[].  Change the
  model-specific interrupt handlers to use the decstation_intr_t when
  updating interrupt counters.
* add instrumentation to the kmin and maxine interrupt handlers.
* fix a bug that counted each hardclock interrupts on the kn02 twice.

The hardcoded mapping from locore names to units is gross; but these
counters will hopefully be useful in identifying interrupt hot-spots
and PPP problems on the 3MIN.
1996-02-04 20:14:17 +00:00
jonathan
600a82037b A semicolon was missing from the SYSTEM_LD_TAIL stanza that converts
from elf to netbsd a.out, causing the mv to fail; add one.
1996-02-04 07:08:38 +00:00
gwr
b1e9c83633 Quick fix to make this build. More to come... 1996-02-04 06:06:12 +00:00
briggs
674ef2b6f2 sys/types.h -> sys/param.h and remove include of stddef.h. 1996-02-04 02:17:42 +00:00
briggs
592866ff5d sys/types.h -> sys/param.h and remove include of stddef.h. 1996-02-04 02:17:38 +00:00
briggs
2a878c9a3a Move debugging defines, etc. into mac68k5380.c and use them instead of
something similar but different.  Make a few cosmetic changes.
1996-02-03 23:17:53 +00:00
briggs
3d8d566948 New delay() implementation from Scott Reynolds (scottr@edsi.org).
Also some minor rearranging of the VIA initialization (init earlier).
1996-02-03 22:50:22 +00:00
briggs
6b6a46ed2f Implement mac68k_register_via1_t1_irq(). Also, remove via_inited warning. 1996-02-03 22:50:19 +00:00
briggs
d13a039f24 New delay() implementation from Scott Reynolds (scottr@edsi.org).
Also some minor rearranging of the VIA initialization (init earlier).
1996-02-03 22:49:52 +00:00
chuck
623ec41006 Ensure siop_acb alignment via malloc rather than let alignment depend
on the size of MI data structures that come before it in the softc.
Chip will not function properly if alignment is wrong.  (as per OpenBSD)
Detected and fixed by: Chuck Cranor <chuck@ccrc.wustl.edu>
                and Michael L Hitch <osymh@gemini.oscs.montana.edu>
1996-02-03 18:47:07 +00:00
pk
5fd7df3063 Move splbio to level 5. 1996-02-03 16:10:58 +00:00
briggs
20123d5253 O2 breaks on this port. Use -O until we can fix it. 1996-02-03 15:14:39 +00:00
mycroft
fe18cd4ae7 Make sure to pull in the MI code. 1996-02-03 06:38:27 +00:00
mycroft
2f74d151b9 Don't need unistd.h. 1996-02-03 05:45:11 +00:00
mycroft
67eb39bcda Make this compile with `traditional' cpp. 1996-02-03 04:36:01 +00:00
thorpej
996edfa606 Remove bogus "return (0);" in rdmatch() that wiggled its way in uninvited. 1996-02-03 03:00:29 +00:00
mycroft
d5b078f3e6 Clean this up a little, and make it compile with `traditional' cpp. 1996-02-03 01:43:41 +00:00
mycroft
213c4dbb89 Use CPPFLAGS, not COPTS. 1996-02-03 01:23:54 +00:00
mycroft
d6b2d2e00f config.old uses vers.o, not newvers. 1996-02-03 01:17:22 +00:00
mycroft
b6f55847e5 Fix #includes. 1996-02-03 01:05:36 +00:00
mycroft
5bc076e17e Use `-traditional-cpp' when building .s and .S files. 1996-02-03 00:43:50 +00:00
mycroft
aa15cd3f7f Don't need unistd.h. 1996-02-02 23:53:20 +00:00
mycroft
56a63148c6 config.old doesn't grok %SFILES. 1996-02-02 23:49:19 +00:00
mycroft
4f952cf1e7 #ifdef a call to kdb_trap() on DDB. 1996-02-02 23:19:43 +00:00
mycroft
cfefb732a0 Fix type errors. 1996-02-02 22:57:43 +00:00
mark
b32ae66ae6 Ramdisk device now defaults to a size of zero if RAMDISK_SIZE is
undefined.
1996-02-02 20:23:00 +00:00
mycroft
dcd66e9f4d Clone these, and fix many bugs. 1996-02-02 20:08:17 +00:00
mycroft
2dfbe4f961 Don't define _LOCORE here. 1996-02-02 20:05:08 +00:00
scottr
c0f37b4d05 Use DISKUNIT()/DISKPART() from <sys/disklabel.h> instead of
our own home-grown versions.
1996-02-02 19:50:26 +00:00
mycroft
9db20bf150 Don't define _KERNEL here. 1996-02-02 19:42:08 +00:00
mycroft
5d668ff961 ASSEMBLER -> _LOCORE 1996-02-02 19:08:33 +00:00
mycroft
0103e26fd8 Fix #includes. 1996-02-02 18:59:16 +00:00
mycroft
9d9a70a5a2 Fix #includes. 1996-02-02 18:05:36 +00:00