Source-Changes-HG archive

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

[src/trunk]: src/sys/arch convert all mips cpu_intr() to have the standard



details:   https://anonhg.NetBSD.org/src/rev/026fcaf468c8
branches:  trunk
changeset: 750071:026fcaf468c8
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Dec 15 06:01:43 2009 +0000

description:
convert all mips cpu_intr() to have the standard
(uint32_t, uint32_t, vaddr_t, uint32_t) signature.

diffstat:

 sys/arch/evbmips/evbmips/interrupt.c |  6 +++---
 sys/arch/hpcmips/hpcmips/interrupt.c |  6 +++---
 sys/arch/hpcmips/include/sysconf.h   |  4 ++--
 sys/arch/mipsco/mipsco/interrupt.c   |  6 +++---
 sys/arch/sgimips/sgimips/cpu.c       |  8 ++++----
 5 files changed, 15 insertions(+), 15 deletions(-)

diffs (135 lines):

diff -r 683e2322dda8 -r 026fcaf468c8 sys/arch/evbmips/evbmips/interrupt.c
--- a/sys/arch/evbmips/evbmips/interrupt.c      Tue Dec 15 05:59:50 2009 +0000
+++ b/sys/arch/evbmips/evbmips/interrupt.c      Tue Dec 15 06:01:43 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: interrupt.c,v 1.12 2009/12/14 00:46:02 matt Exp $      */
+/*     $NetBSD: interrupt.c,v 1.13 2009/12/15 06:01:43 mrg Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.12 2009/12/14 00:46:02 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.13 2009/12/15 06:01:43 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -50,7 +50,7 @@
 }
 
 void
-cpu_intr(u_int32_t status, u_int32_t cause, vaddr_t pc, u_int32_t ipending)
+cpu_intr(uint32_t status, uint32_t cause, vaddr_t pc, uint32_t ipending)
 {
        struct clockframe cf;
        struct cpu_info *ci;
diff -r 683e2322dda8 -r 026fcaf468c8 sys/arch/hpcmips/hpcmips/interrupt.c
--- a/sys/arch/hpcmips/hpcmips/interrupt.c      Tue Dec 15 05:59:50 2009 +0000
+++ b/sys/arch/hpcmips/hpcmips/interrupt.c      Tue Dec 15 06:01:43 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: interrupt.c,v 1.15 2009/12/14 00:46:04 matt Exp $      */
+/*     $NetBSD: interrupt.c,v 1.16 2009/12/15 06:01:43 mrg Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.15 2009/12/14 00:46:04 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.16 2009/12/15 06:01:43 mrg Exp $");
 
 #include "opt_vr41xx.h"
 #include "opt_tx39xx.h"
@@ -64,7 +64,7 @@
  * 
  */
 void
-cpu_intr(u_int32_t status, u_int32_t cause, vaddr_t pc, u_int32_t ipending)
+cpu_intr(uint32_t status, uint32_t cause, vaddr_t pc, uint32_t ipending)
 {
 
        (*platform.cpu_intr)(status, cause, pc, ipending);
diff -r 683e2322dda8 -r 026fcaf468c8 sys/arch/hpcmips/include/sysconf.h
--- a/sys/arch/hpcmips/include/sysconf.h        Tue Dec 15 05:59:50 2009 +0000
+++ b/sys/arch/hpcmips/include/sysconf.h        Tue Dec 15 06:01:43 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysconf.h,v 1.14 2009/12/14 00:46:04 matt Exp $        */
+/*     $NetBSD: sysconf.h,v 1.15 2009/12/15 06:01:43 mrg Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All rights reserved.
@@ -62,7 +62,7 @@
         *      reboot          -       reboot or powerdown
         *      clock           -
         */
-       void    (*cpu_intr)(u_int32_t, u_int32_t, vaddr_t, u_int32_t);
+       void    (*cpu_intr)(uint32_t, uint32_t, vaddr_t, uint32_t);
        void    (*cpu_idle)(void);
        void    (*cons_init)(void);
        void    (*fb_init)(void **);
diff -r 683e2322dda8 -r 026fcaf468c8 sys/arch/mipsco/mipsco/interrupt.c
--- a/sys/arch/mipsco/mipsco/interrupt.c        Tue Dec 15 05:59:50 2009 +0000
+++ b/sys/arch/mipsco/mipsco/interrupt.c        Tue Dec 15 06:01:43 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: interrupt.c,v 1.8 2009/12/14 00:46:09 matt Exp $       */
+/*     $NetBSD: interrupt.c,v 1.9 2009/12/15 06:01:43 mrg Exp $        */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.8 2009/12/14 00:46:09 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.9 2009/12/15 06:01:43 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/malloc.h>
@@ -42,7 +42,7 @@
 #include <machine/sysconf.h>
 
 void
-cpu_intr(u_int32_t status, u_int32_t cause, vaddr_t pc, u_int32_t ipending)
+cpu_intr(uint32_t status, uint32_t cause, vaddr_t pc, uint32_t ipending)
 {
        struct cpu_info *ci;
 
diff -r 683e2322dda8 -r 026fcaf468c8 sys/arch/sgimips/sgimips/cpu.c
--- a/sys/arch/sgimips/sgimips/cpu.c    Tue Dec 15 05:59:50 2009 +0000
+++ b/sys/arch/sgimips/sgimips/cpu.c    Tue Dec 15 06:01:43 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.22 2009/12/14 00:46:13 matt Exp $    */
+/*     $NetBSD: cpu.c,v 1.23 2009/12/15 06:01:43 mrg Exp $     */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.22 2009/12/14 00:46:13 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.23 2009/12/15 06:01:43 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -55,7 +55,7 @@
 
 static int     cpu_match(struct device *, struct cfdata *, void *);
 static void    cpu_attach(struct device *, struct device *, void *);
-void           cpu_intr(u_int32_t, u_int32_t, u_int32_t, u_int32_t);
+void           cpu_intr(uint32_t, uint32_t, vaddr_t, uint32_t);
 void *cpu_intr_establish(int, int, int (*func)(void *), void *);
 void           mips1_fpu_intr(u_int32_t, u_int32_t, u_int32_t, u_int32_t);
 
@@ -103,7 +103,7 @@
  * sorts of Bad Things(tm) to happen, including kernel stack overflows.
  */
 void
-cpu_intr(u_int32_t status, u_int32_t cause, vaddr_t pc, u_int32_t ipending)
+cpu_intr(uint32_t status, uint32_t cause, vaddr_t pc, uint32_t ipending)
 {
        struct cpu_info *ci;
 



Home | Main Index | Thread Index | Old Index