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/mvme88k | |
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/mvme88k')
-rw-r--r-- | sys/arch/mvme88k/include/pmap.h | 4 | ||||
-rw-r--r-- | sys/arch/mvme88k/mvme88k/pmap.c | 36 |
2 files changed, 4 insertions, 36 deletions
diff --git a/sys/arch/mvme88k/include/pmap.h b/sys/arch/mvme88k/include/pmap.h index 27197cb032a..b36f85a395c 100644 --- a/sys/arch/mvme88k/include/pmap.h +++ b/sys/arch/mvme88k/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.17 2001/10/28 00:58:06 miod Exp $ */ +/* $OpenBSD: pmap.h,v 1.18 2001/11/28 15:34:16 art Exp $ */ /* * Mach Operating System * Copyright (c) 1991 Carnegie Mellon University @@ -75,6 +75,8 @@ extern caddr_t vmmap; /* Used in builtin/device_pager.c */ #define pmap_phys_address(frame) ((vm_offset_t) (ptoa(frame))) +#define pmap_update() /* nothing */ + #define PMAP_ACTIVATE(proc) pmap_activate(proc) #define PMAP_DEACTIVATE(proc) pmap_deactivate(proc) #define PMAP_CONTEXT(pmap, thread) diff --git a/sys/arch/mvme88k/mvme88k/pmap.c b/sys/arch/mvme88k/mvme88k/pmap.c index 0c16b59927f..0c6822e5e27 100644 --- a/sys/arch/mvme88k/mvme88k/pmap.c +++ b/sys/arch/mvme88k/mvme88k/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.47 2001/11/28 14:13:06 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.48 2001/11/28 15:34:16 art Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * All rights reserved. @@ -2909,40 +2909,6 @@ pmap_copy(pmap_t dst_pmap, pmap_t src_pmap, vm_offset_t dst_addr, }/* pmap_copy() */ - -/* - * Routine: PMAP_UPDATE - * - * Function: - * Require that all active physical maps contain no incorrect entries - * NOW. [This update includes forcing updates of any address map - * cashing] - * Generally used to ensure that thread about to run will see a - * semantically correct world. - * - * Parameters: - * none - * - * Call: - * cmmuflush - * - * The 88200 pmap implementation does not defer any operations. - * Therefore, the translation table trees are always consistent while the - * pmap lock is not held. Therefore, there is really no work to do in - * this function other than to flush the TLB. - */ -void -pmap_update(void) -{ -#ifdef DEBUG - if ((pmap_con_dbg & (CD_UPD | CD_FULL)) == (CD_UPD | CD_FULL)) - printf("(pmap_update :%x) Called \n", curproc); -#endif - -}/* pmap_update() */ - - - /* * Routine: PMAP_COLLECT * |