summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-05-05 17:55:14 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-05-05 17:55:14 +0000
commit9d01cf5540f8d5780c0e74f7a8b96afe828a97e6 (patch)
tree4c2af6f96aac5739e382d7329a3520611d190781
parent16d3c4c5ff12af46927a1feb226181198fc380d0 (diff)
do dma_cachectl()
-rw-r--r--sys/arch/hppa/hppa/dma.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/dma.c b/sys/arch/hppa/hppa/dma.c
index fb65ff69628..190966cd856 100644
--- a/sys/arch/hppa/hppa/dma.c
+++ b/sys/arch/hppa/hppa/dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dma.c,v 1.1 1999/05/05 03:06:07 mickey Exp $ */
+/* $OpenBSD: dma.c,v 1.2 1999/05/05 17:55:13 mickey Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -225,5 +225,7 @@ dma_cachectl(p, size)
caddr_t p;
int size;
{
+ fdcache(HPPA_SID_KERNEL, (vaddr_t)p, size);
+ sync_caches();
return 0;
}