diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-11-21 19:42:37 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-11-21 19:42:37 +0000 |
commit | ec7de52428008e1a25f0efe9740fd8af2e5b8a7d (patch) | |
tree | 2e5643bcf8aff01cd35d3aec36e328169da31725 /sys/arch/mvme88k | |
parent | 721728e75ab2b04340098fa63252682a85d957cf (diff) |
Better cache invalidation functions (still horribly unoptimal, but less
broken now).
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/m88110.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/mvme88k/m88110.c b/sys/arch/mvme88k/mvme88k/m88110.c index 3b4c87c1c72..1260bad8643 100644 --- a/sys/arch/mvme88k/mvme88k/m88110.c +++ b/sys/arch/mvme88k/mvme88k/m88110.c @@ -1,4 +1,4 @@ -/* $OpenBSD: m88110.c,v 1.39 2007/11/17 05:36:23 miod Exp $ */ +/* $OpenBSD: m88110.c,v 1.40 2007/11/21 19:42:36 miod Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. * All rights reserved. @@ -454,7 +454,11 @@ m88110_dma_cachectl(pmap_t pmap, vaddr_t va, vsize_t size, int op) m88110_cmmu_sync_inval_cache(pa, size); break; default: +#if 0 m88110_cmmu_inval_cache(pa, size); +#else + m88110_cmmu_sync_inval_cache(pa, size); +#endif break; } } @@ -470,7 +474,11 @@ m88110_dma_cachectl_pa(paddr_t pa, psize_t size, int op) m88110_cmmu_sync_inval_cache(pa, size); break; default: +#if 0 m88110_cmmu_inval_cache(pa, size); +#else + m88110_cmmu_sync_inval_cache(pa, size); +#endif break; } } |