Commit Graph

760 Commits

Author SHA1 Message Date
gwr 7a5585d645 Make sure the MDP_STACKADJ flag is cleared in p->p_md.md_flags
Do this in both machdep.c:setregs() and trap.c:(end of syscall)
for now.  Need more analysis to see what is the best way...
Fixes PR#3034 (Thanks very much to Ian Dall for the fix!)
1996-12-17 21:35:30 +00:00
gwr 3cc81b9726 Add a diagnostic to panic when obio config data has a
default address, which is no longer supported on obio.
1996-12-17 21:21:13 +00:00
gwr 0c5e3e4955 Make this compile with -Werror -Wall -Wstrict-prototypes
(finally! yea!)  Also get rid of __BROKEN_INDIRECT_CONFIG
1996-12-17 21:10:35 +00:00
gwr 282e39f88d Adapt to the new version of dev/ic/z8530*
(Note: now define zsc_softc here.)
1996-12-17 21:00:54 +00:00
gwr ac4b9ad819 The declarations for cache_flush_xxx are now in machdep.h 1996-12-17 20:55:28 +00:00
gwr 2140ee3fb9 The declarations for isr_add_xxx are now in autoconf.h 1996-12-17 20:54:23 +00:00
gwr 1169ecb0a2 Adapt to the new definition of struct zsc_softc
(the zsc_cs[2] members are now POINTERS!)
Also fix warnings...
1996-12-17 20:46:11 +00:00
gwr 31a2dbff56 No longer used. 1996-12-14 15:51:31 +00:00
gwr 250c59b7a6 Files with just an include line do not need a wrapper. 1996-12-13 20:23:51 +00:00
gwr 5eaee56ccf Increase MAXMCAST from 50 to 250 (to match dev/ic/i82586.h). 1996-12-13 19:54:08 +00:00
gwr 5736d8f544 Kill some dead code. 1996-12-13 19:50:10 +00:00
gwr 6d6e6e45e0 Define MAXBSIZE as 32KB to limit the size clustered transfers. 1996-12-13 19:46:14 +00:00
cgd 96acdadef7 First step inn removing config_scan() and the hacks that gave devices
on indirect-config busses a (permanent) softc that they could share
between 'match' and 'attach' routines:

Define __BROKEN_INDIRECT_CONFIG so that old autoconfiguration
interfaces are used, until drivers are converted to use the new
interfaces (actually, converted back to use the _older_ interfaces)
which prohibit indirect configuration devices from receiving a softc
in their match routine that they can share with their attach routine.
1996-12-05 00:13:47 +00:00
jonathan 4c1d96de78 * Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
Lets users over-ride with makeoptions COPTS="..." in kernel config files.

  Leave `mandatory' flags (like  -msoft-float which  on m68k enforces no
  FP in kernel) in CFLAGS.
1996-12-01 06:12:25 +00:00
gwr 43df579125 Get rid of md_upte[] and my copyright line. 1996-11-25 22:09:11 +00:00
gwr 9ccd21bece Copyright assigned to The NetBSD Foundation 1996-11-21 13:57:20 +00:00
gwr 0332502588 Most files that were copyright Adam Glass and/or Gordon W. Ross
are now copyright The NetBSD Foundation (rights assigned).
1996-11-20 18:56:49 +00:00
gwr 51cc81ac4f Move SWAPPAGER, VNODEPAGER, DEVPAGER to std.sun3 1996-11-19 21:04:44 +00:00
gwr 576fa146ac kill some outdated stuff 1996-11-19 20:58:32 +00:00
thorpej a0dffcafc2 Use bitmask_snprintf(). 1996-11-13 07:00:30 +00:00
cgd 8a3333b2a9 Fix an inconsistency that came in with Lite: setrq() was renamed to
setrunqueue(), but remrq() was never renamed.  Rename remrq() to
remrunqueue().
1996-11-06 20:19:19 +00:00
gwr ffe8c5a2ab Clean out some hacks left over from the old zs driver. 1996-11-04 16:16:09 +00:00
gwr f9d54194d5 Allow the config line "flags" to set bits in si_options.
Thanks to Jason Thorpe for the fix! (PR#1929)
1996-10-30 00:31:39 +00:00
gwr 769fe0dfca Get rid of some cruft in the match function. 1996-10-30 00:24:32 +00:00
gwr aac9e275ac Add a "submatch" function to the obio bus driver so the children
of this driver can get rid of the cruft in their match functions.
1996-10-30 00:20:01 +00:00
gwr 2fcc0a64d2 Use explicit addresses for obio devices. 1996-10-30 00:17:10 +00:00
gwr 2f8b021957 cosmetic... 1996-10-30 00:04:31 +00:00
gwr 23439db6ba The new cg4 driver does not use dev/bt_subr.c 1996-10-29 19:58:14 +00:00
gwr d6dfd783d9 Checkpoint new version of this driver with support for the "Type A"
variant of the CG4 (the one with the AMD colormap DACs).  This has
been tested only on the "Type B" H/W at this point (Brooktree DACs).
Thanks to Ezra Story and Scott Ellis for the "Type A" support.
1996-10-29 19:54:19 +00:00
gwr cb78378201 Fix typo (fbattach => fb_attach) 1996-10-29 19:27:37 +00:00
gwr 601935b8ae Use struct trapframe instead of struct frame, and include a
slight hack to make this cross-build correctly on a SPARC.
1996-10-23 16:39:27 +00:00
gwr 4e462c2f6e Dont bother grouping labels in computeSignal().
This form is easier to compare with trap.h
1996-10-23 16:30:48 +00:00
gwr 6fa72d79b5 Add options EXEC_AOUT and EXEC_SCRIPT 1996-10-23 16:14:23 +00:00
gwr b0e589ced7 Define the *poll functions. 1996-10-22 15:58:12 +00:00
thorpej 150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
christos a087bfeb5c backout previous kprintf change 1996-10-13 03:47:25 +00:00
christos 19d8368f2f printf -> kprintf, sprintf -> ksprintf 1996-10-11 00:44:42 +00:00
thorpej 401d011da6 Merge netbsd-1-2 branch back into mainline. 1996-10-09 00:14:32 +00:00
jtc edd633aef1 Changed "../../m68k/fpe/files.fpe" to "arch/m68k/fpe/files.fpe" because of config changes 1996-10-08 18:03:00 +00:00
jtc 705b2e0726 Changed "std.sun3" to "arch/sun3/conf/std.sun3" because of config changes 1996-10-08 18:01:47 +00:00
jtc 149707f018 Add const qualifer to second arg of bus_print 1996-10-08 17:55:23 +00:00
cgd e36e19cf1e repoint at shared aout_machdep.h, not exec.h 1996-10-08 13:07:26 +00:00
cgd 472889f8e4 moved to aout_machdep.h (via repository copy) 1996-10-08 12:57:37 +00:00
gwr 79b5c352a5 Fix bounds_check_with_label() as suggested in PR#2598 (Thanks to der Mouse) 1996-09-26 18:10:21 +00:00
mycroft b3ffba62a6 Move strip(1) flags into a separate variable, so that $STRIP can
be passed to subordinate make(1)s.  Remove $TOUCH.  Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
thorpej de5110f41e Use <m68k/exec.h>. 1996-09-08 01:00:35 +00:00
mycroft e6dd44f034 Use SIGBUS iff we get a legitimate bus fault. Use SIGSEGV for page protection
violations (per Solaris, SVR4, AIX, Linux, Irix, and SunOS).
1996-09-07 22:26:41 +00:00
mycroft fc3def4096 Remove duplicate declarations of LKM functions and macros. 1996-09-05 15:46:22 +00:00
mycroft b3eac79b64 tty stop functions really should return void, not int, and certainly not both. 1996-09-02 06:43:16 +00:00
mycroft 30a617c634 Wrap the default definition of `S' in `.ifndef'. 1996-08-31 21:40:47 +00:00