Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Eliminate commons.



details:   https://anonhg.NetBSD.org/src/rev/9b653b84c84d
branches:  trunk
changeset: 526879:9b653b84c84d
user:      matt <matt%NetBSD.org@localhost>
date:      Mon May 13 06:05:32 2002 +0000

description:
Eliminate commons.

diffstat:

 sys/arch/macppc/macppc/machdep.c        |  4 +---
 sys/arch/powerpc/include/db_machdep.h   |  4 ++--
 sys/arch/powerpc/powerpc/db_interface.c |  3 ++-
 3 files changed, 5 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r ae7872bb4a92 -r 9b653b84c84d sys/arch/macppc/macppc/machdep.c
--- a/sys/arch/macppc/macppc/machdep.c  Mon May 13 05:41:31 2002 +0000
+++ b/sys/arch/macppc/macppc/machdep.c  Mon May 13 06:05:32 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.112 2002/04/25 19:32:59 matt Exp $       */
+/*     $NetBSD: machdep.c,v 1.113 2002/05/13 06:05:33 matt Exp $       */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -117,8 +117,6 @@
 struct pmap ofw_pmap;
 int ofkbd_ihandle;
 
-int msgbufmapped = 0;
-
 #ifdef DDB
 void *startsym, *endsym;
 #endif
diff -r ae7872bb4a92 -r 9b653b84c84d sys/arch/powerpc/include/db_machdep.h
--- a/sys/arch/powerpc/include/db_machdep.h     Mon May 13 05:41:31 2002 +0000
+++ b/sys/arch/powerpc/include/db_machdep.h     Mon May 13 06:05:32 2002 +0000
@@ -1,5 +1,5 @@
 /*     $OpenBSD: db_machdep.h,v 1.2 1997/03/21 00:48:48 niklas Exp $   */
-/*     $NetBSD: db_machdep.h,v 1.12 2002/01/06 00:35:12 dbj Exp $      */
+/*     $NetBSD: db_machdep.h,v 1.13 2002/05/13 06:05:32 matt Exp $     */
 
 /* 
  * Mach Operating System
@@ -59,7 +59,7 @@
        u_int32_t       pid;
 };
 typedef struct powerpc_saved_state db_regs_t;
-db_regs_t      ddb_regs;               /* register state */
+extern db_regs_t       ddb_regs;               /* register state */
 #define DDB_REGS       (&ddb_regs)
 
 #define        PC_REGS(regs)   ((db_addr_t)(regs)->iar)
diff -r ae7872bb4a92 -r 9b653b84c84d sys/arch/powerpc/powerpc/db_interface.c
--- a/sys/arch/powerpc/powerpc/db_interface.c   Mon May 13 05:41:31 2002 +0000
+++ b/sys/arch/powerpc/powerpc/db_interface.c   Mon May 13 06:05:32 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.18 2002/02/22 18:50:45 kleink Exp $ */
+/*     $NetBSD: db_interface.c,v 1.19 2002/05/13 06:05:32 matt Exp $ */
 /*     $OpenBSD: db_interface.c,v 1.2 1996/12/28 06:21:50 rahnds Exp $ */
 
 #define USERACC
@@ -38,6 +38,7 @@
 
 int    db_active = 0;
 
+db_regs_t ddb_regs;
 extern label_t *db_recover;
 
 void ddb_trap(void);                           /* Call into trap_subr.S */



Home | Main Index | Thread Index | Old Index