Commit Graph

330 Commits

Author SHA1 Message Date
dbj
179671f564 automatically restart dma for unexpected shutdowns 2001-04-07 13:02:55 +00:00
dbj
b2e3cc1a2e continue to tweak nextdma detection of xfer length
add check to esp driver for incomplete transfers, but still does not handle them.
2001-04-07 11:29:50 +00:00
dbj
4db02d75fa initialize zsaddr to intio address space in zs_attach
addresses pr 6770
in the future, zs should be upgraded to use NEXT68k_INTIO_BUS_SPACE
instead of using IIOV directly.
2001-04-05 05:35:12 +00:00
dbj
0c6af3e769 comment out M68030, since we do not yet support NeXT 68030 computers 2001-04-05 04:42:42 +00:00
dbj
14688b4513 check for a 68040 MMU before using the TBIA instruction
addresses PR 10409
code grabbed from mvme68k locore.s
2001-04-05 04:37:43 +00:00
dbj
1e812ee6cf remove unused cache operations, we now use shared m68k/cacheops.c 2001-04-05 04:23:56 +00:00
jhawk
d95ba2eb80 Remove gratuitous setting of SYSDIR;
it is set in sys/kern/Make.tags.inc
2001-04-03 17:12:23 +00:00
dbj
6c04c75c6c No longer clobber the DMACSR_SETENABLE bit in the dma interrupt
Add the ability to handle unexpected dma shutdowns
2001-04-02 05:29:43 +00:00
dbj
a5523b0bfd remove unused ifmedia fields 2001-04-02 05:29:42 +00:00
dbj
dff3edd66d removed unused mediachange routines
changed ethernet receive to handle unexpected dma shutdowns
2001-04-02 05:29:42 +00:00
dbj
235c2b2545 reenabled flushcount diagnostic check.
tweaked formatting on hex dump debugging routine
2001-04-02 05:29:42 +00:00
dbj
403a09df61 resync with mvme68k 2001-04-02 05:28:38 +00:00
dbj
36f2be46e8 purge the cache on BUS_DMASYNC_PREREAD instead of BUS_DMASYNC_POSTREAD 2001-04-01 01:42:51 +00:00
dbj
5f670bebfc Initialize the entire pmap table before populating it.
This addresses pr 7174
Thanks to Christian Limapch for diagnosing the problem.
2001-03-31 09:05:21 +00:00
dbj
41833a3286 comment out device register structure definitions, used for reference only.
remove unnecessary BUS_SPACE_MAP_LINEAR when mapping ethernet dma registers.
2001-03-31 06:56:54 +00:00
petrov
1c9cc1b092 use NCR_F_DMASELECT instead of ncr53c9x_dmaselect 2001-03-29 03:30:19 +00:00
soren
912c115675 s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message. 2001-03-21 18:40:28 +00:00
chs
ac3bc537bd eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

KERN_SUCCESS			0
KERN_INVALID_ADDRESS		EFAULT
KERN_PROTECTION_FAILURE		EACCES
KERN_NO_SPACE			ENOMEM
KERN_INVALID_ARGUMENT		EINVAL
KERN_FAILURE			various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE		ENOMEM
KERN_NOT_RECEIVER		<unused>
KERN_NO_ACCESS			<unused>
KERN_PAGES_LOCKED		<unused>
2001-03-15 06:10:32 +00:00
thorpej
2c4c690f14 Add the BUS_DMA_STREAMING flag. 2001-03-07 22:42:16 +00:00
tv
e58532a4bf No-op commit to force update to a non-"-kk" revision. 2001-01-18 17:47:58 +00:00
fvdl
c7f1462f3e Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
2001-01-17 00:07:18 +00:00
thorpej
d74e432ed3 Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().
2001-01-15 20:19:50 +00:00
thorpej
dc9a8ec9dd Use splnet() to block network interrupts, not splimp(). 2001-01-14 17:33:48 +00:00
thorpej
a3ec356d52 splimp() -> splvm() 2001-01-14 03:22:04 +00:00
thorpej
d85a75f583 Make sure everybody has an splvm() and equate it with splimp() (splimp()
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
2001-01-14 02:00:37 +00:00
scw
65137701cf g/c the HP/UX core-dump code; it references a function which no longer exists. 2001-01-11 08:44:36 +00:00
dbj
e992baf394 fix logic error in bus_dmamap_sync that was preventing from flush/purging
full pages instead of only by cache lines
2000-12-26 07:27:01 +00:00
jdolecek
de31133f1d split off thread specific stuff from struct sigacts to struct sigctx, leaving
only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.

XXX I wish m68k ports would share trap.c
2000-12-23 09:35:51 +00:00
scw
4350a7f2b7 Unification of the m68k syscall() function. 2000-12-19 21:09:54 +00:00
tsutsui
cb7f7c7f3b Remove "rnd is EXPERIMENTAL" comments. 2000-12-19 15:51:47 +00:00
bouyer
c71f40d166 Add pseudo-device vlan 2000-12-19 10:42:02 +00:00
jdolecek
cacec11253 delete obsolete comment 2000-12-17 15:52:39 +00:00
jdolecek
ca57e681bd g/c obsolete vtrace(2) stuff 2000-12-13 18:13:05 +00:00
tsutsui
a8fdbdec1c Remove unused pcbb() macro. 2000-12-01 17:57:43 +00:00
jdolecek
17a9fd0da5 split m68k SunOS and SVR4-specific sigcode.s code to sunos_sigcode.s
and svr4_sigcode.s respectively
adjust individual m68k port's locore.s to include new sigcode files if
appropriate
2000-11-26 11:47:23 +00:00
tsutsui
161004f8c3 s/struct const sysent/const struct sysent/
(BTW, luna68k was missed in emul/execsw changes?)
2000-11-21 23:19:42 +00:00
tsutsui
2c7e91a09e Define proper macros for FP frame offsets rather than magic numbers. 2000-11-21 13:54:13 +00:00
jdolecek
baae0324b9 restructure struct emul and execsw, in preparation to make emulations LKMable:
* move all exec-type specific information from struct emul to execsw[] and
  provide single struct emul per emulation
* elf:
  - kern/exec_elf32.c:probe_funcs[] is gone, execsw[] how has one entry
    per emulation and contains pointer to respective probe function
  - interp is allocated via MALLOC() rather than on stack
  - elf_args structure is allocated via MALLOC() rather than malloc()
* ecoff: the per-emulation hooks moved from alpha and mips specific code
  to OSF1 and Ultrix compat code as appropriate, execsw[] has one entry per
  emulation supporting ecoff with appropriate probe function
* the makecmds/probe functions don't set emulation, pointer to emulation is
  part of appropriate execsw[] entry
* constify couple of structures
2000-11-21 00:37:49 +00:00
soren
263f913967 Remove obsolete comment. 2000-11-21 00:15:20 +00:00
chs
c62d17a551 rationalize the use of b_flags for geteblk() buffers.
rather than assigning to the whole field, set or clear individual flags,
which implies that the B_BUSY and B_INVAL flags will remain set.
this allows us to make the assertion in brelse() that B_BUSY is set,
which is the purpose of all this.
2000-11-20 08:24:08 +00:00
thorpej
b84f740be0 Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach(). 2000-11-15 01:02:11 +00:00
thorpej
3d2726d992 We use 4K pages on the NeXT. Define PAGE_SIZE and friends to be
compile-time constants.
2000-11-14 19:29:00 +00:00
dbj
15034fe38a add rnd_source field to mb8796_softc
this fixes compile problems with rnd pseudo-device added to GENERIC kernel
patch submitted by greg oster
2000-10-09 10:45:45 +00:00
tsutsui
50570826e7 Remove garbage in comment. 2000-10-05 18:22:41 +00:00
itojun
9e47af8814 enable rnd device. they are now mandatory for ssh/sshd support,
so it makes more sense to enable it.
please disable them if there's any issues, but in that case, in-tree
ssh/sshd won't work.
2000-10-04 03:35:53 +00:00
deberg
623e319553 add support for 12-bit color displays, from Timm Wetzel w/ changes by
me.  closes 10741.
2000-09-29 06:35:57 +00:00
deberg
a295f43fb1 merge lines 2000-09-29 06:33:37 +00:00
deberg
b01c657c80 add RCONS_BPP16 for color display
also lose esp0 since i have no disc in this machine, and build symbols.
2000-09-29 06:33:17 +00:00
deberg
44c2ad4763 add RCONS_BPP16 for color display 2000-09-29 06:32:38 +00:00
jdolecek
b1f94e26ab don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
2000-09-24 15:59:26 +00:00