diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-28 15:34:18 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-28 15:34:18 +0000 |
commit | c838246d36eaa84d99978e74064e65cd79f105d2 (patch) | |
tree | 32aa458f7004dd4b1fff908d2f899d08344202a5 /sys/arch/mac68k | |
parent | d8fc2211ac6dad4fe5c8f465ad7cfaee2ef87255 (diff) |
Make pmap_update functions into nops so that we can have a consistent
pmap_update API (right now it's nop).
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r-- | sys/arch/mac68k/include/pmap.h | 3 | ||||
-rw-r--r-- | sys/arch/mac68k/mac68k/bus_space.c | 4 | ||||
-rw-r--r-- | sys/arch/mac68k/mac68k/pmap.c | 18 |
3 files changed, 5 insertions, 20 deletions
diff --git a/sys/arch/mac68k/include/pmap.h b/sys/arch/mac68k/include/pmap.h index deaeabc8ab6..a97797e63ab 100644 --- a/sys/arch/mac68k/include/pmap.h +++ b/sys/arch/mac68k/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.10 2001/08/18 20:50:18 art Exp $ */ +/* $OpenBSD: pmap.h,v 1.11 2001/11/28 15:34:16 art Exp $ */ /* $NetBSD: pmap.h,v 1.26 1999/07/21 03:18:21 briggs Exp $ */ /* @@ -181,6 +181,7 @@ 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_update() /* nothing */ extern pt_entry_t *Sysmap; extern char *vmmap; /* map for mem, dumps, etc. */ diff --git a/sys/arch/mac68k/mac68k/bus_space.c b/sys/arch/mac68k/mac68k/bus_space.c index 26977323e48..3b6756354c4 100644 --- a/sys/arch/mac68k/mac68k/bus_space.c +++ b/sys/arch/mac68k/mac68k/bus_space.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_space.c,v 1.12 2001/11/06 19:53:15 miod Exp $ */ +/* $OpenBSD: bus_space.c,v 1.13 2001/11/28 15:34:16 art Exp $ */ /* $NetBSD: bus_space.c,v 1.5 1999/03/26 23:41:30 mycroft Exp $ */ /*- @@ -180,7 +180,7 @@ bus_mem_add_mapping(bpa, size, flags, bshp) *pte &= ~PG_CI; else *pte |= PG_CI; - pmap_update(); + TBIA(); } return 0; diff --git a/sys/arch/mac68k/mac68k/pmap.c b/sys/arch/mac68k/mac68k/pmap.c index 4cf8fc71d4c..6ee13f34d0e 100644 --- a/sys/arch/mac68k/mac68k/pmap.c +++ b/sys/arch/mac68k/mac68k/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.33 2001/11/28 14:13:06 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.34 2001/11/28 15:34:16 art Exp $ */ /* $NetBSD: pmap.c,v 1.55 1999/04/22 04:24:53 chs Exp $ */ /* @@ -1365,22 +1365,6 @@ pmap_copy(dst_pmap, src_pmap, dst_addr, len, src_addr) } /* - * pmap_update: - * - * Require that all active physical maps contain no - * incorrect entires NOW, by processing any deferred - * pmap operations. - */ -void -pmap_update() -{ - - PMAP_DPRINTF(PDB_FOLLOW, ("pmap_update()\n")); - - TBIA(); /* XXX should not be here. */ -} - -/* * pmap_collect: [ INTERFACE ] * * Garbage collects the physical map system for pages which are no |