Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/prep prep_intr_reg is mapped in kva space, so make ...



details:   https://anonhg.NetBSD.org/src/rev/e8679f02a5b4
branches:  trunk
changeset: 521981:e8679f02a5b4
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sun Feb 10 00:54:39 2002 +0000

description:
prep_intr_reg is mapped in kva space, so make it vaddr_t.

diffstat:

 sys/arch/prep/include/intr.h |  4 ++--
 sys/arch/prep/prep/machdep.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r feebe67f96b0 -r e8679f02a5b4 sys/arch/prep/include/intr.h
--- a/sys/arch/prep/include/intr.h      Sun Feb 10 00:53:28 2002 +0000
+++ b/sys/arch/prep/include/intr.h      Sun Feb 10 00:54:39 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.11 2001/08/26 02:47:34 matt Exp $   */
+/*     $NetBSD: intr.h,v 1.12 2002/02/10 00:54:39 kleink Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -110,7 +110,7 @@
 extern unsigned intrcnt2[];
 extern struct intrhand *intrhand[];
 extern int intrtype[];
-extern paddr_t prep_intr_reg;
+extern vaddr_t prep_intr_reg;
 
 /*
  *  Reorder protection in the following inline functions is
diff -r feebe67f96b0 -r e8679f02a5b4 sys/arch/prep/prep/machdep.c
--- a/sys/arch/prep/prep/machdep.c      Sun Feb 10 00:53:28 2002 +0000
+++ b/sys/arch/prep/prep/machdep.c      Sun Feb 10 00:54:39 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.30 2002/02/06 12:26:02 kleink Exp $      */
+/*     $NetBSD: machdep.c,v 1.31 2002/02/10 00:54:40 kleink Exp $      */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -132,7 +132,7 @@
 
 struct bat battable[16];
 
-paddr_t prep_intr_reg;                 /* PReP interrupt vector register */
+vaddr_t prep_intr_reg;                 /* PReP interrupt vector register */
 
 #define        OFMEMREGIONS    32
 struct mem_region physmemr[OFMEMREGIONS], availmemr[OFMEMREGIONS];



Home | Main Index | Thread Index | Old Index