Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/x68k/include pullup 1.13->1.14 (minoura): Miss...



details:   https://anonhg.NetBSD.org/src/rev/087773a968dd
branches:  netbsd-1-4
changeset: 468772:087773a968dd
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Jun 21 14:07:31 1999 +0000

description:
pullup 1.13->1.14 (minoura): Missing #if for 060 & minor cosmetics

diffstat:

 sys/arch/x68k/include/pmap.h |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (47 lines):

diff -r b7cf80ec9df5 -r 087773a968dd sys/arch/x68k/include/pmap.h
--- a/sys/arch/x68k/include/pmap.h      Mon Jun 21 14:02:43 1999 +0000
+++ b/sys/arch/x68k/include/pmap.h      Mon Jun 21 14:07:31 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.13 1999/03/16 16:30:21 minoura Exp $        */
+/*     $NetBSD: pmap.h,v 1.13.2.1 1999/06/21 14:07:31 perry Exp $      */
 
 /* 
  * Copyright (c) 1987 Carnegie-Mellon University
@@ -46,7 +46,7 @@
 #include <machine/cpu.h>
 #include <machine/pte.h>
 
-#if defined(M68040)
+#if defined(M68040) || defined(M68060)
 #define X68K_SEG_SIZE  (mmutype == MMU_68040 ? 0x40000 : NBSEG)
 #else
 #define X68K_SEG_SIZE  NBSEG
@@ -94,7 +94,7 @@
 #define        PMAP_ACTIVATE(pmap, loadhw)                                     \
 {                                                                      \
        if ((loadhw))                                                   \
-               loadustp(m68k_btop((paddr_t)(pmap)->pm_stpa));  \
+               loadustp(m68k_btop((paddr_t)(pmap)->pm_stpa));          \
 }
 
 /*
@@ -104,7 +104,7 @@
 struct pv_entry {
        struct pv_entry *pv_next;       /* next pv_entry */
        struct pmap     *pv_pmap;       /* pmap where mapping lies */
-       vaddr_t pv_va;                  /* virtual address for mapping */
+       vaddr_t         pv_va;          /* virtual address for mapping */
        st_entry_t      *pv_ptste;      /* non-zero if VA maps a PT page */
        struct pmap     *pv_ptpmap;     /* if pv_ptste, pmap for PT page */
        int             pv_flags;       /* flags */
@@ -143,8 +143,8 @@
 
 extern struct pv_entry *pv_table;      /* array of entries, one per page */
 
-#define        pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)
-#define        pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)
+#define pmap_resident_count(pmap)      ((pmap)->pm_stats.resident_count)
+#define pmap_wired_count(pmap)         ((pmap)->pm_stats.wired_count)
 
 extern pt_entry_t      *Sysmap;
 extern char            *vmmap;         /* map for mem, dumps, etc. */



Home | Main Index | Thread Index | Old Index