Commit Graph

11084 Commits

Author SHA1 Message Date
is
a5ba4721eb Don't even check the not-yet-initialized mbuf pointers for being !=
NULL in the error exit code of arc_output(), else we see random data
and try to m_freem() it, panic'ing the machine.
1996-04-15 14:01:25 +00:00
mycroft
e0afa4e4f9 Don't turn off the trace flag here; let sendsig() do it.
If in Linux emulation, send SIGSEGV for protection faults, rather than SIGBUS.
1996-04-15 00:20:32 +00:00
jonathan
274c2bd80d Add a prototype for generic_intr_establish(), the bus-independent
pmax interrupt-establish function.
1996-04-14 00:58:21 +00:00
jonathan
28986d8126 Add cdev_decl() declarations for the "dtop", "fb" , and "rcons" drivers. 1996-04-14 00:56:59 +00:00
jonathan
4a04d76c65 Fix the definition of TC_PHYS_TO_UNCACHED(addr): make it change a mips
kernel addressed to uncached space.

Add prototypes for pmax-specific TC functions used in probing for
a framebuffer console.
1996-04-14 00:55:19 +00:00
scottr
ff35ddbb2a Update makeoptions to include 881 support 1996-04-13 19:12:46 +00:00
abrown
a0b7376b16 Add prototype and fix return type of blink() so "options BLINK" works
with -Wall -Werror
1996-04-13 17:40:03 +00:00
cgd
7e4d04910d fix screw-up in the prototyping changes: print pointers with %p, NOT
by casting them to (unsigned int) then printing with %x.
1996-04-13 01:34:06 +00:00
cgd
e70b1375c9 add strncasecmp.c to ports' libkern Makefile.inc's. When adding a new
source file to libkern, it should be added to _ALL_ ports makefiles if
it is machine-independent and used by machine-independent code (in
this case adosfs).  (There are several arguments that say that
strncasecmp should not be in libkern at all, and i think they're
good ones, but as long as ADOSFS needs it to link, it has to be here
for all architectures.)
1996-04-13 01:17:27 +00:00
cgd
98d92322b1 update for recent config changes: xxcd -> xx_cd 1996-04-13 00:31:37 +00:00
cgd
cad6c2d600 capitalize IRQ names here, to match what's reported on boot 1996-04-13 00:25:24 +00:00
cgd
21ac0b2a36 update for new ISA/EISA/PCI/'bus' interfaces. Untested 1996-04-13 00:24:30 +00:00
cgd
161623e54e add (untested) support for EISA busses hanging off of PCEBs. 1996-04-13 00:23:34 +00:00
cgd
f32c94e82c note that these IRQs are ISA IRQs 1996-04-13 00:22:58 +00:00
cgd
c0b2b5595c Replace with completely new version derived from APECS code. No serious
bugs to fix (that i know of), just doing it that way was easiest.
1996-04-12 23:37:10 +00:00
cgd
56a6e33bb6 "Do over." Throw the old file away, replace it with a version hacked
from the current apecs_pci.c.  This new version hopefully works for
the same sets of devices that that previous one did, and hopefully
will work for multi-function devices and for secondary PCI busses as
well.  (looking at the code, there was no way the old one could have!)
1996-04-12 23:27:05 +00:00
thorpej
e408d7413a Fix __sysctl() to return the proper value to the caller, to match
documented behavior.  sysctl(3) is documented to return 0 on success,
-1 on failure.  The previous behavior was to return -1 on failure
and the number of bytes copied back down to user space.
Fixes part of PR #1999, from Kevin M. Lahey <kml@nas.nasa.gov>
1996-04-12 23:21:37 +00:00
cgd
435c2f935e config first, so there's someplace to cd to. 1996-04-12 20:27:42 +00:00
cgd
ae42d9fdbd oops; forgot to remove a line of debugging/testing code 1996-04-12 20:22:14 +00:00
leo
6e40f439fc Part of restructuring done for 3-button mouse support. 1996-04-12 19:55:28 +00:00
chuck
4d91dc7c18 pull in ieeefp.h from m68k common area 1996-04-12 18:38:00 +00:00
chuck
c7a59b578d sync with sun3 version 1996-04-12 18:35:40 +00:00
chuck
4420159d4c fix warning from gcc 1996-04-12 18:33:59 +00:00
jonathan
f0d175fd22 Commit version that _really_ has only the innocuous fixes in the
last CVS message.

Possible uninitialized use of variables in the SII state machine,
requiring more thought, are still present.
1996-04-12 18:22:35 +00:00
jonathan
f6897c8eb6 fixes for -Wall -Wmissing-prototypes:
pass 1 over pmax SII driver: change "MachEmptyWriteBuffer()" to
"wbflush()", add prototyped forward declarations.
1996-04-12 18:15:23 +00:00
leo
658385632c Prototyping. 1996-04-12 09:05:14 +00:00
leo
e7ad591a96 misc.c ->stalloc.c 1996-04-12 08:57:43 +00:00
leo
7a18bb9542 Just give them more descriptive names. 1996-04-12 08:46:44 +00:00
mycroft
ad790f628e Turn off the trace flag when delivering a signal. 1996-04-12 08:44:35 +00:00
leo
9402dcae81 Add 3-button mouse support. 1996-04-12 08:39:22 +00:00
leo
e4a9d09efb Add 3-button mouse support. 1996-04-12 08:37:03 +00:00
leo
7ff219ef0d Add some prototypes. 1996-04-12 08:30:09 +00:00
cgd
432b9ff657 add support for the alpha 1996-04-12 06:34:36 +00:00
cgd
576c769331 clean up copyrights and RCS IDs 1996-04-12 06:07:05 +00:00
mycroft
035e9c211e Use the flag mask in a somewhat more sane fashion. 1996-04-12 05:57:43 +00:00
cgd
eb4de32615 Set up and pass isa chipset tag to ISA bus, when attaching.
Should do the same for EISA, when that support is finished.
1996-04-12 05:43:02 +00:00
cgd
98c183ff49 remove (hack) version of isa_intr_establish() 1996-04-12 05:41:50 +00:00
cgd
69d8f0e09a define all of the appropriate functions, as indirections through
a function switch.
1996-04-12 05:39:02 +00:00
cgd
0da2610536 this file is no longer used 1996-04-12 05:35:51 +00:00
cgd
931ec3829c partially update for new ISA/EISA/PCI and 'bus' interfaces. not yet
complete, or tested.
1996-04-12 04:40:49 +00:00
cgd
c6af4505f1 implement 'bus' functions for the CIA chipset. 1996-04-12 04:40:01 +00:00
cgd
647469cfbc update for new ISA/EISA/PCI and 'bus' interfaces. 1996-04-12 04:38:33 +00:00
cgd
125eefcd67 implement APECS and LCA 'bus' functions, and share them between the
two chipsets, since they're the same.
1996-04-12 04:36:12 +00:00
cgd
04645aa7ad chipset 'bus' functions that seem to be common to all host bus
adapters that exist in single-CPU systems.  APECS, CIA, and LCA
all use this, but with different #defines.
1996-04-12 04:34:59 +00:00
cgd
ba7bbf8c30 update for new PCI, etc., interfaces 1996-04-12 04:33:06 +00:00
cgd
be813334f8 (mostly) update for new PCI and 'bus' interfaces. 1996-04-12 04:32:10 +00:00
cgd
b26a595361 update for new PCI, etc., interfaces. 1996-04-12 04:31:48 +00:00
cgd
caa9d61d58 add indirect register definitions. 1996-04-12 04:31:08 +00:00
cgd
7b08107723 update for new PCI code, etc. As yet, untested. 1996-04-12 04:30:11 +00:00
cgd
f357f1b38a partially update for new PCI & bus macros. update to deal with new
console glue.  Split out RAMDAC-specific code into seperate files.
1996-04-12 02:13:09 +00:00