Commit Graph

124 Commits

Author SHA1 Message Date
dbj
4717d3e130 fix typo allocating color framebuffer map. 1999-03-24 23:47:46 +00:00
dbj
a859ba2b23 Applied patches from Matt Debergalis <deberg@mit.edu>.
These patches include:
  Added framebuffer mapping for color framebuffer to support color wscons
    which is coming soon.
  Renamed wskbdmap_mfii[ch] to wskbdmap_next[ch]
  Changed video to be white on black instead of black on white.
  Now handles and discards mouse interrupts.
  Video and keyboard is now working on mono machines.
1999-03-24 23:15:51 +00:00
mrg
ca5f9685bb clean up kernel/config files files for machVM lossage. 1999-03-24 06:06:09 +00:00
mrg
d2397ac5f7 completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
dbj
c1824c37af more minor changes, mostly in minor tweaks to debuggin output.
tweaks to handling dmasize != dmalen correctly.
changed minimum dma segment length for tail buffer.
1999-03-23 08:42:39 +00:00
chs
ab7269f62a if uvm_fault() fails with KERN_RESOURCE_SHORTAGE, send a SIGKILL
and print a message about it.  this will be used to recover from
out-of-swap conditions.
1999-03-18 04:56:01 +00:00
sommerfe
bc533621ed defopt MINIROOTSIZE 1999-03-17 18:59:21 +00:00
minoura
e518820ca8 Pullin m68k/ieee.h. 1999-03-15 11:55:53 +00:00
dbj
00c8d4dd90 changed dma start alignment from 4 to 16 so that the cache flush
functions always have cache line aligned segments.
continued experimentation with scsi driver.
1999-03-14 10:31:05 +00:00
dbj
bb8f1300ce moved declaration of nextdma_intr into correct header file. 1999-03-04 14:18:25 +00:00
dbj
1f4e96b222 continued experimentation trying to understand why we drop
scsi write completion interrupts (the dma appears to complete ok)
Now copy read tail buffer after we bus_dma_sync it and not before.
1999-03-03 16:02:23 +00:00
dbj
e7058e7205 turn on diagnostic check in dma for controller bits at shutdown.
adjusted esp overrun to avoid diagnostic check triggering.
1999-03-02 12:11:24 +00:00
explorer
3ebb419571 Update to slightly altered rnd_attach_source() api 1999-02-28 17:08:05 +00:00
scottr
d32ed292af defopt BUFCACHE and BUFPAGES. 1999-02-27 06:39:34 +00:00
is
f71d843a65 synchronize types, and s/curproc/p/ in one forgotten place 1999-02-26 22:37:57 +00:00
is
0f5ed05445 next68k specific part of PR 6152 fix 1999-02-26 21:34:38 +00:00
hubertf
56f2d188fc RCS ID police 1999-02-15 04:54:34 +00:00
dbj
f651d280fa Continue hacking on esp driver. Seems relatively stable in read only mode.
write operations appear to lose scsi interrupts and causes timeouts.
changes in this checkin include:
a nextdma bugfix causing a diagnostic check to erroneously trigger
Changed tail strategy to only use tail buffer for the minimal end slop
changed expected write dma overrun to 32 bytes.
turned on nextdma diagnostic check for dma end address since it
no longer gets triggerred by ethernet dma and helps debug scsi dma.
Added esp debugging printout and support.
1999-02-14 10:19:51 +00:00
dbj
997f74e47c Continued work on esp scsi driver. Now can at least do enough i/o to create and mount
a filesystem, but is not stable enough yet for general use.
increased priority of ethernet interrupts, mostly useful to aid debugging
of scsi interrupts while using an nfs disk.
added additional debugging output in the next dma driver.
perform extranneous cache flushes/purges before dma reads/ after dma writes
to aid debugging of scsi dma.
1999-02-13 09:44:50 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
mycroft
2a304686e6 Minor cleanup.
Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on
some ports where PCLK is not 4.9152MHz.
XXX Is the default value actually used?
1999-02-11 15:28:03 +00:00
kleink
f69591d12d Use of casts as lvalues is a GNU C extension; rearrange slightly. 1999-02-10 17:03:26 +00:00
dbj
3e0d6eb0b4 overhalt of scsi driver.
it still probes the disks ok, but is having trouble with 0xdeadbeef
in buffers read from the disk.  Suspected problems with DMA alignment
and toggling the secret ninja dma control register
1999-02-03 20:44:43 +00:00
mycroft
be1af660c0 Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
dbj
f41cded075 make dma flushing more efficient and avoid stray interrupts when not using polled io.
remove check for normal chaining interrupts and add check for combined chaining interrupts
only when used with a tail chain.  This allows scsi to work for short unaligned buffers
and large aligned buffers.
1999-02-02 14:04:53 +00:00
dbj
d97559225c Removed some already commented out test code.
added debugging printout when invoking polled dma interrupt.
1999-02-02 12:46:13 +00:00
dbj
f6955fc60b Fix return value in interrupt routine so that dma gets flushed correctly.
Turn on the esp_match since polling the scsi bus now works.
1999-02-01 12:53:48 +00:00
dbj
b970be0907 Made reboot and halt work. 1999-01-31 18:12:14 +00:00
dbj
107dd5ccc6 use WSEMUL_VT100 instead of WSEMUL_SUN 1999-01-31 18:07:41 +00:00
dbj
21ab415ee6 Added support for setting boothowto from boot loader flags.
print out string of `.' when powering down to work around ununderstood
behavior of rtc chip.
1999-01-31 07:02:33 +00:00
dbj
f0b3caaceb Accidentally uncommitted wscons change.
attach nextdisplay to mainbus for wscons support.
1999-01-31 06:59:30 +00:00
dbj
7919e08986 wscons based console video & keyboard support for the NeXT
from Matt DeBergalis
1999-01-28 11:46:22 +00:00
dbj
5a0e49ac08 Finished the setting of the system date from the rtc. 1999-01-27 11:27:16 +00:00
dbj
0dee80a0e4 print out interrupt status register and mask when stray interrupt occurs.
to aid debugging
1999-01-27 06:39:31 +00:00
dbj
49ad0ddfa1 Continue work on scsi driver. Added tail dma buffer. Still non functional. 1999-01-27 06:37:49 +00:00
dbj
b9795e9e3c Fixed dma instability introduced with nextdma.c rev 1.7
This fix removes putting 0xfeedbeef in the unused restart registers.
When that was done, the machine would panic after a short while
with 0xfeedbeef in the normal dma buffer registers.  A restart
cycle is probably hapenning without an interrupt or something.
1999-01-27 06:08:29 +00:00
thorpej
2fb041ce0a No need for <sys/mtio.h> 1999-01-19 18:18:41 +00:00
chuck
417e5339f0 MNN is no longer optional 1999-01-16 20:31:50 +00:00
thorpej
c84a74b16b Don't define "mc68020". Nothing uses it. 1999-01-15 23:21:25 +00:00
bouyer
dc306354b0 Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
abs
1e21e1233b Change 'from from' to 'from' in some comments 1999-01-13 09:25:59 +00:00
thorpej
e598335d1c Garbage-collect `mbutl'. 1999-01-09 22:10:12 +00:00
dbj
e41d023363 Moved optional devices out of std.next68k and put them in GENERIC instead.
This is patch supplied in pr 6725.
1999-01-09 05:08:54 +00:00
augustss
fc5f9ee81d Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C. 1999-01-08 19:26:12 +00:00
dbj
c67d9eac9d Applied supplied patches from pr port-next68k/6709
add bus_space support for mono framebuffer
1999-01-02 13:42:17 +00:00
dbj
0f11abef49 Aded include for files.wscons so changes from pr 6707 to conf.c compile. 1999-01-02 13:30:45 +00:00
dbj
bb1f20f1fa Reformatted changes from previous patch to match style guidelines. 1999-01-02 13:23:31 +00:00
dbj
70b3738d46 applied patch from pr port-next68k/6708: add wscons devices to next68k MAKEDEV 1999-01-02 13:14:18 +00:00
dbj
99c914d1be Added check that M68040 is defined in case user interrupted creation
of assym.h, leaving it empty.
1999-01-02 13:03:20 +00:00
dbj
48d4303235 applied patch from pr port-next68k/6704: next68k zs driver formatting error
zs driver needs to print a newline.
1999-01-02 12:47:50 +00:00