Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/sparc Add constants for microSPARC-IIep regis...



details:   https://anonhg.NetBSD.org/src/rev/e5eaba6a8753
branches:  trunk
changeset: 519096:e5eaba6a8753
user:      uwe <uwe%NetBSD.org@localhost>
date:      Tue Dec 11 03:43:22 2001 +0000

description:
Add constants for microSPARC-IIep registers.

diffstat:

 sys/arch/sparc/sparc/genassym.cf |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 99d1476da3ba -r e5eaba6a8753 sys/arch/sparc/sparc/genassym.cf
--- a/sys/arch/sparc/sparc/genassym.cf  Tue Dec 11 03:35:02 2001 +0000
+++ b/sys/arch/sparc/sparc/genassym.cf  Tue Dec 11 03:43:22 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.32 2001/06/08 04:21:41 mrg Exp $
+#      $NetBSD: genassym.cf,v 1.33 2001/12/11 03:43:22 uwe Exp $
 
 #
 # Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -98,6 +98,8 @@
 
 include <sparc/sparc/cpuvar.h>
 
+include <sparc/sparc/msiiepreg.h>
+
 ifdef notyet
 include <sparc/dev/zsreg.h>
 include <sparc/dev/zsvar.h>
@@ -177,6 +179,12 @@
 define FS_QUEUE        offsetof(struct fpstate, fs_queue)
 define FSR_QNE         FSR_QNE
 
+# microSPARC-IIep PCI controller registers
+define PCIC_PROC_IPR_REG       offsetof(struct msiiep_pcic_reg, pcic_proc_ipr)
+define PCIC_SOFT_INTR_CLEAR_REG        offsetof(struct msiiep_pcic_reg, pcic_soft_intr_clear)
+define PCIC_SOFT_INTR_SET_REG  offsetof(struct msiiep_pcic_reg, pcic_soft_intr_set)
+define PCIC_SCCR_REG           offsetof(struct msiiep_pcic_reg, pcic_sccr)
+
 # errno
 define EFAULT          EFAULT
 define ENAMETOOLONG    ENAMETOOLONG



Home | Main Index | Thread Index | Old Index