Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax/pmax Remove a file obsoluted and arrange globa...



details:   https://anonhg.NetBSD.org/src/rev/bbf7666b6eea
branches:  trunk
changeset: 478997:bbf7666b6eea
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Wed Dec 01 08:37:25 1999 +0000

description:
Remove a file obsoluted and arrange global extern declarations.

diffstat:

 sys/arch/pmax/pmax/machdep.h  |   9 ++++-----
 sys/arch/pmax/pmax/nameglue.h |  39 ---------------------------------------
 2 files changed, 4 insertions(+), 44 deletions(-)

diffs (67 lines):

diff -r 10fb5108947f -r bbf7666b6eea sys/arch/pmax/pmax/machdep.h
--- a/sys/arch/pmax/pmax/machdep.h      Wed Dec 01 08:35:27 1999 +0000
+++ b/sys/arch/pmax/pmax/machdep.h      Wed Dec 01 08:37:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.h,v 1.5 1999/06/09 07:33:29 nisimura Exp $     */
+/* $NetBSD: machdep.h,v 1.6 1999/12/01 08:37:25 nisimura Exp $ */
 
 /*
  * Copyright (c) 1998 Jonathan Stone.  All rights reserved.
@@ -30,11 +30,10 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#if 0
 /* the following is used externally (sysctl_hw) */
-extern char machine[];
-extern char cpu_model[];
-
-extern volatile struct chiptime *mcclock_addr;
+extern char machine[], machine_arch[], cpu_model[];
+#endif
 
 /* PROM callback routines - see pmax/promcall.c */
 void    prom_findcons __P((int *, int *, int *));
diff -r 10fb5108947f -r bbf7666b6eea sys/arch/pmax/pmax/nameglue.h
--- a/sys/arch/pmax/pmax/nameglue.h     Wed Dec 01 08:35:27 1999 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-/*     $NetBSD: nameglue.h,v 1.5 1999/03/25 01:17:53 simonb Exp $      */
-
-/*
- * Use macros to glue names for "machine-independent" functions
- *  (e.g., from new-config code modelled after DEC Alpha drivers)
- * to old-style pmax names.
- *
- */
-
-/*
- * What is magic_read ?
- */
-#ifdef  pmax
-#ifdef MAGIC_READ
-#undef MAGIC_READ
-#endif
-#define MAGIC_READ \
-                MachEmptyWriteBuffer() /*XXX*/ /*FIXME*/
-
-/*
- * memory barrier
- */
-#define MB() \
-        MachEmptyWriteBuffer() /*XXX*/ /*FIXME*/
-/*
- * Map physical addresses to kernel-virtual addresses.
- */
-#define KV(x) ((void *)MIPS_PHYS_TO_KSEG1(x))
-
-/*
- * Print debugging messages only if DEBUG defined on a pmax.
- */
-
-#ifdef DEBUG
-#define DPRINTF(x) do { printf x ;} while (0)  /* general debug */
-#else
-#define DPRINTF(x) /* nothing */               /* general debug */
-#endif
-#endif /* pmax */



Home | Main Index | Thread Index | Old Index