Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/include ih_map & ih_clr are volatile.



details:   https://anonhg.NetBSD.org/src/rev/3ae020216dd5
branches:  trunk
changeset: 487725:3ae020216dd5
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jun 12 05:29:43 2000 +0000

description:
ih_map & ih_clr are volatile.

diffstat:

 sys/arch/sparc64/include/cpu.h |  17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r cb69208a2ce8 -r 3ae020216dd5 sys/arch/sparc64/include/cpu.h
--- a/sys/arch/sparc64/include/cpu.h    Mon Jun 12 05:27:27 2000 +0000
+++ b/sys/arch/sparc64/include/cpu.h    Mon Jun 12 05:29:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.17 2000/05/26 21:20:19 thorpej Exp $ */
+/*     $NetBSD: cpu.h,v 1.18 2000/06/12 05:29:43 mrg Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -174,13 +174,14 @@
  * argument, or with a pointer to a clockframe if ih_arg is NULL.
  */
 struct intrhand {
-       int             (*ih_fun) __P((void *));
-       void            *ih_arg;
-       short           ih_number;      /* interrupt number the H/W provides */
-       short           ih_pil;         /* interrupt priority */
-       struct intrhand *ih_next;
-       u_int64_t       *ih_map;        /* Interrupt map register */
-       u_int64_t       *ih_clr;        /* clear interrupt register */
+       int                     (*ih_fun) __P((void *));
+       void                    *ih_arg;
+       short                   ih_number;      /* interrupt number */
+                                               /* the H/W provides */
+       short                   ih_pil;         /* interrupt priority */
+       struct intrhand         *ih_next;
+       volatile u_int64_t      *ih_map;        /* Interrupt map reg */
+       volatile u_int64_t      *ih_clr;        /* clear interrupt reg */
 };
 extern struct intrhand *intrhand[15];
 extern struct intrhand *intrlev[MAXINTNUM];



Home | Main Index | Thread Index | Old Index