diff options
| author | mrg <mrg@NetBSD.org> | 2000-07-18 04:21:17 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2000-07-18 04:21:17 +0000 |
| commit | d2626038cd80995e17216e5ca8df42b2ee044e65 (patch) | |
| tree | 417da0a901b6759608c3041627b74a255b3858bc /sys | |
| parent | 040268c10e362183a2d26c974171c10b23c65be6 (diff) | |
kill dead files.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/sparc64/sparc64/auxreg.c | 133 | ||||
| -rw-r--r-- | sys/arch/sparc64/sparc64/auxreg.h | 80 | ||||
| -rw-r--r-- | sys/arch/sparc64/sparc64/memreg.c | 294 | ||||
| -rw-r--r-- | sys/arch/sparc64/sparc64/memreg.h | 74 |
4 files changed, 0 insertions, 581 deletions
diff --git a/sys/arch/sparc64/sparc64/auxreg.c b/sys/arch/sparc64/sparc64/auxreg.c deleted file mode 100644 index fe0b52cb4c1..00000000000 --- a/sys/arch/sparc64/sparc64/auxreg.c +++ /dev/null @@ -1,133 +0,0 @@ -/* $NetBSD: auxreg.c,v 1.2 2000/03/23 06:45:38 thorpej Exp $ */ - -/* - * Copyright (c) 1992, 1993 - * The Regents of the University of California. All rights reserved. - * - * This software was developed by the Computer Systems Engineering group - * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and - * contributed to Berkeley. - * - * All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Lawrence Berkeley Laboratory. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)auxreg.c 8.1 (Berkeley) 6/11/93 - */ - -#include <sys/param.h> -#include <sys/systm.h> -#include <sys/callout.h> -#include <sys/device.h> -#include <sys/kernel.h> - -#include <machine/autoconf.h> - -#include <sparc64/sparc64/vaddrs.h> -#include <sparc64/sparc64/auxreg.h> - -static int auxregmatch __P((struct device *, void *, void *)); -static void auxregattach __P((struct device *, struct device *, void *)); - -struct cfattach auxreg_ca = { - sizeof(struct device), auxregmatch, auxregattach -}; - -extern struct cfdriver auxreg_cd; - -#ifdef BLINK -static void blink __P((void *zero)); -static struct callout blink_ch = CALLOUT_INITIALIZER; - -static void -blink(zero) - void *zero; -{ - register int s; - - s = splhigh(); - LED_FLIP; - splx(s); - /* - * Blink rate is: - * full cycle every second if completely idle (loadav = 0) - * full cycle every 2 seconds if loadav = 1 - * full cycle every 3 seconds if loadav = 2 - * etc. - */ - s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); - callout_reset(&blink_ch, s, blink, NULL); -} -#endif - -/* - * The OPENPROM calls this "auxiliary-io". - */ -static int -auxregmatch(parent, vcf, aux) - struct device *parent; - void *aux, *vcf; -{ - register struct confargs *ca = aux; - - return (strcmp("auxio", ca->ca_ra.ra_name) == 0); -} - -/* ARGSUSED */ -static void -auxregattach(parent, self, aux) - struct device *parent, *self; - void *aux; -{ - struct confargs *ca = aux; - struct romaux *ra = &ca->ca_ra; - - (void)mapdev(ra->ra_reg, AUXREG_VA, 0, sizeof(long)); - auxio_reg = AUXIO_REG; - printf("\n"); -#ifdef BLINK - blink((caddr_t)0); -#endif -} - -unsigned int -auxregbisc(bis, bic) - int bis, bic; -{ - register int v, s = splhigh(); - - v = *AUXIO_REG; - *AUXIO_REG = ((v | bis) & ~bic) | AUXIO_MB1; - splx(s); - return v; -} - diff --git a/sys/arch/sparc64/sparc64/auxreg.h b/sys/arch/sparc64/sparc64/auxreg.h deleted file mode 100644 index 0ed16e4ab9c..00000000000 --- a/sys/arch/sparc64/sparc64/auxreg.h +++ /dev/null @@ -1,80 +0,0 @@ -/* $NetBSD: auxreg.h,v 1.1.1.1 1998/06/20 04:58:52 eeh Exp $ */ - -/* - * Copyright (c) 1992, 1993 - * The Regents of the University of California. All rights reserved. - * - * This software was developed by the Computer Systems Engineering group - * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and - * contributed to Berkeley. - * - * All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Lawrence Berkeley Laboratory. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)auxreg.h 8.1 (Berkeley) 6/11/93 - */ - -/* - * Sun-4c Auxiliary I/O register. This register talks to the floppy - * (if it exists) and the front-panel LED. - */ - -#define AUXIO_MB1 0xf0 /* must be set on write */ -#define AUXIO_FHD 0x20 /* floppy: high density (unreliable?)*/ -#define AUXIO_FDC 0x10 /* floppy: diskette was changed */ -#define AUXIO_FDS 0x08 /* floppy: drive select */ -#define AUXIO_FTC 0x04 /* floppy: drives Terminal Count pin */ -#define AUXIO_FEJ 0x02 /* floppy: eject disk */ -#define AUXIO_LED 0x01 /* front panel LED */ - -/* - * We use a fixed virtual address for the register because we use it for - * timing short sections of code (via external hardware attached to the LED). - */ -#define AUXIO_REG ((volatile u_char *)(AUXREG_VA + 3)) - -#define LED_ON *AUXIO_REG = AUXIO_MB1|AUXIO_FEJ|AUXIO_LED -#define LED_OFF *AUXIO_REG = AUXIO_MB1|AUXIO_FEJ -#define LED_FLIP *AUXIO_REG = (*AUXIO_REG | AUXIO_MB1) ^ AUXIO_LED - -#define AUXIO_BITS "\20\6FHD\5FDC\4FDS\3FTC\2FEJ\1LED" - -#ifndef _LOCORE -/* - * Copy of AUXIO_REG for the benefit of assembler modules (eg. trap handlers) - * as AUXREG_VA depends on NBPG which is not a constant. - */ -volatile u_char *auxio_reg; -unsigned int auxregbisc __P((int, int)); -#endif - diff --git a/sys/arch/sparc64/sparc64/memreg.c b/sys/arch/sparc64/sparc64/memreg.c deleted file mode 100644 index f7f67f91af0..00000000000 --- a/sys/arch/sparc64/sparc64/memreg.c +++ /dev/null @@ -1,294 +0,0 @@ -/* $NetBSD: memreg.c,v 1.2 1998/09/05 23:57:28 eeh Exp $ */ - -/* - * Copyright (c) 1992, 1993 - * The Regents of the University of California. All rights reserved. - * - * This software was developed by the Computer Systems Engineering group - * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and - * contributed to Berkeley. - * - * All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Lawrence Berkeley Laboratory. - * This product includes software developed by Harvard University. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * This product includes software developed by Harvard University. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)memreg.c 8.1 (Berkeley) 6/11/93 - */ - -#include <sys/param.h> -#include <sys/systm.h> -#include <sys/device.h> - -#include <machine/autoconf.h> -#include <machine/ctlreg.h> - -#include <sparc64/sparc64/memreg.h> -#include <sparc64/sparc64/vaddrs.h> - -#include <machine/reg.h> /* for trapframe */ -#include <machine/trap.h> /* for trap types */ - -static int memregmatch __P((struct device *, void *, void *)); -static void memregattach __P((struct device *, struct device *, void *)); - -struct cfattach memreg_ca = { - sizeof(struct device), memregmatch, memregattach -}; - -struct cfdriver memreg_cd = { - 0, "memreg", DV_DULL -}; - -void memerr __P((int, u_int, u_int, u_int, u_int)); -#if defined(SUN4M) -static void hardmemerr4m __P((int, u_int, u_int)); -#endif - -/* - * The OPENPROM calls this "memory-error". - */ -static int -memregmatch(parent, vcf, aux) - struct device *parent; - void *aux, *vcf; -{ - struct cfdata *cf = vcf; - register struct confargs *ca = aux; - - if (CPU_ISSUN4) { - if (ca->ca_bustype == BUS_OBIO) - return (strcmp(cf->cf_driver->cd_name, - ca->ca_ra.ra_name) == 0); - return (0); - } - return (strcmp("memory-error", ca->ca_ra.ra_name) == 0); -} - -/* ARGSUSED */ -static void -memregattach(parent, self, aux) - struct device *parent, *self; - void *aux; -{ - register struct confargs *ca = aux; - register struct romaux *ra = &ca->ca_ra; - - if (CPU_ISSUN4) { - if (par_err_reg == NULL) - panic("memregattach"); - ra->ra_vaddr = (caddr_t)par_err_reg; - } else { - par_err_reg = ra->ra_vaddr ? (volatile u_int *)ra->ra_vaddr : - (volatile u_int *)mapiodev(ra->ra_reg, 0, sizeof(int)); - } - printf("\n"); -} - -/* - * Synchronous and asynchronous memory error handler. - * (This is the level 15 interrupt, which is not vectored.) - * Should kill the process that got its bits clobbered, - * and take the page out of the page pool, but for now... - */ - -void -memerr(issync, ser, sva, aer, ava) - int issync; - u_int ser, sva, aer, ava; -{ - - /* XXX Ugh! Clean up this switch and all the ifdefs! */ - switch (cputyp) { -#if defined(SUN4) - case CPU_SUN4: - if (par_err_reg) { - printf("mem err: ser=%b sva=%x\n", ser, SER_BITS, sva); - printf("parity error register = %b\n", - *par_err_reg, PER_BITS); - } else { - printf("mem err: ser=? sva=?\n"); - printf("parity error register not mapped yet!\n"); /* XXX */ - } -#ifdef DEBUG - callrom(); -#else - panic("memory error"); /* XXX */ -#endif - break; -#endif /* Sun4 */ - -#if defined(SUN4C) - case CPU_SUN4C: - printf("%ssync mem err: ser=%b sva=%x aer=%b ava=%x\n", - issync ? "" : "a", ser, SER_BITS, - sva, aer & 0xff, AER_BITS, ava); - if (par_err_reg) - printf("parity error register = %b\n", - *par_err_reg, PER_BITS); -#ifdef DEBUG - callrom(); -#else - panic("memory error"); /* XXX */ -#endif - break; -#endif /* Sun4C */ - -#if defined(SUN4M) - case CPU_SUN4M: - hardmemerr4m(2, ser, sva); - break; -#endif /* Sun4M */ - default: - break; - } -} - - -#if defined(SUN4M) -/* - * hardmemerr4m: called upon fatal memory error. Print a message and panic. - * Note that issync is not really an indicator of whether or not the error - * was synchronous; if it is set, it means that the fsr/faddr pair correspond - * to the MMU's fault status register; if clear, they correspond to the - * HyperSPARC asynchronous error register. If issync==2, then both decodings - * of the error register are printed. - */ - -static void -hardmemerr4m(issync, fsr, faddr) - int issync; - u_int fsr, faddr; -{ - switch (issync) { - case 1: - if ((fsr & SFSR_FT) == SFSR_FT_NONE) - return; - panic("mem err: sfsr=%qb sfaddr=%x", fsr, SFSR_BITS, faddr); - break; - case 0: - if (!(fsr & AFSR_AFO)) - return; - panic("async (HS) mem err: afsr=%b afaddr=%x physaddr=%x%x", - fsr, AFSR_BITS, faddr, - (fsr & AFSR_AFA) >> AFSR_AFA_RSHIFT, faddr); - break; - default: /* unknown; print both decodings*/ - panic("Unknown mem err: if sync, fsr=%b fva=%x; if async, fsr" - "=%qb fa=%x pa=%x%x", fsr, SFSR_BITS, faddr, fsr, - AFSR_BITS, faddr, (fsr & AFSR_AFA) >> AFSR_AFA_RSHIFT, - faddr); - break; - } -} - -/* - * Memerr4m: handle a non-trivial memory fault. These include HyperSPARC - * asynchronous faults, SuperSPARC store-buffer copyback failures, and - * data faults without a valid faulting VA. We try to retry the operation - * once, and then fail if we get called again. - */ - -static int addrold = (int) 0xdeadbeef; /* We pick an unlikely address */ -static int addroldtop = (int) 0xdeadbeef; -static int oldtype = -1; - -void -memerr4m(type, sfsr, sfva, afsr, afva, tf) - register unsigned type; - register u_int sfsr; - register u_int sfva; - register u_int afsr; - register u_int afva; - register struct trapframe *tf; -{ - if ((afsr & AFSR_AFO) != 0) { /* HS async fault! */ - - printf("HyperSPARC async cache memory failure at phys 0x%x%x. " - "Ignoring.\n", (afsr & AFSR_AFA) >> AFSR_AFA_RSHIFT, - afva); - - if (afva == addrold && (afsr & AFSR_AFA) == addroldtop) - hardmemerr4m(0, afsr, afva); - /* NOTREACHED */ - - oldtype = -1; - addrold = afva; - addroldtop = afsr & AFSR_AFA; - - } else if (type == T_STOREBUFFAULT) { - /* We try to reenable the store buffers to force a retry */ - - printf("store buffer copy-back failure at 0x%x. Retrying...\n", - sfva); - - if (oldtype == T_STOREBUFFAULT || addrold == sfva) - hardmemerr4m(1, sfsr, sfva); - /* NOTREACHED */ - - oldtype = T_STOREBUFFAULT; - addrold = sfva; - - sta(SRMMU_PCR, ASI_SRMMU, lda(SRMMU_PCR, ASI_SRMMU) | - SRMMU_PCR_SB); /* reenable store buffer */ - - } else if (type == T_DATAFAULT && !(sfsr & SFSR_FAV)) { /* bizarre */ - /* XXX: Should handle better. See SuperSPARC manual pg. 9-35 */ - - printf("warning: got data fault with no faulting address." - " Ignoring.\n"); - - if (oldtype == T_DATAFAULT) - hardmemerr4m(1, sfsr, sfva); - /* NOTREACHED */ - - oldtype = T_DATAFAULT; - } else if (type == 0) { /* NMI */ - printf("ERROR: got NMI with sfsr=0x%qb, sfva=0x%x, afsr=0x%b, " - "afaddr=0x%x. Retrying...\n", - sfsr,SFSR_BITS,sfva,afsr, AFSR_BITS,afva); - if (oldtype == 0 || addrold == sfva) - hardmemerr4m(1, sfsr, sfva); /* XXX: async? */ - /* NOTREACHED */ - - oldtype = 0; - addrold = sfva; - } else /* something we don't know about?!? */ { - panic("memerr4m: unknown fatal memory error. type=%d, sfsr=%qb," - " sfva=%x, afsr=%qb, afaddr=%x", - type, sfsr, SFSR_BITS, sfva, afsr, AFSR_BITS, afva); - } - - return; -} -#endif /* 4m */ diff --git a/sys/arch/sparc64/sparc64/memreg.h b/sys/arch/sparc64/sparc64/memreg.h deleted file mode 100644 index dbf50258cc8..00000000000 --- a/sys/arch/sparc64/sparc64/memreg.h +++ /dev/null @@ -1,74 +0,0 @@ -/* $NetBSD: memreg.h,v 1.1.1.1 1998/06/20 04:58:52 eeh Exp $ */ - -/* - * Copyright (c) 1992, 1993 - * The Regents of the University of California. All rights reserved. - * - * This software was developed by the Computer Systems Engineering group - * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and - * contributed to Berkeley. - * - * All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Lawrence Berkeley Laboratory. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)memreg.h 8.1 (Berkeley) 6/11/93 - */ - -/* - * Sun-4c memory error register. - * The register is a single word. - */ -volatile u_int *par_err_reg; /* virtual address; NULL if not yet mapped */ - -/* - * Bits in parity error register. - * The register is cleared when read, except for the test and enable bits. - */ -#define PER_ERR 0x80 /* a parity error occurred */ -#define PER_MULTI 0x40 /* more than one occurred */ -#define PER_TEST 0x20 /* test (invert parity) */ -#define PER_ENABLE 0x10 /* enable parity error reports */ -#define PER_BYTE0 0x08 /* error occurred in byte 0 (bits 31..24) */ -#define PER_BYTE1 0x04 /* error occurred in byte 1 (bits 23..16) */ -#define PER_BYTE2 0x02 /* error occurred in byte 2 (bits 15..8) */ -#define PER_BYTE3 0x01 /* error occurred in byte 3 (bits 7..0) */ - -#define PER_BITS "\20\10ERR\7MULTI\6TEST\5ENABLE\4BYTE0\3BYTE1\2BYTE2\1BYTE3" - - - -/* - * sun4m ... - */ -struct trapframe; -void memerr4m __P((unsigned, u_int, u_int, u_int, u_int, struct trapframe *)); |
