summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2004-05-20 09:20:43 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2004-05-20 09:20:43 +0000
commitfa548ed2239322fed4b99e17ca368c836285328c (patch)
tree55aab0ddc31aa2e7f0a93ce13b8a59cf28fccc84 /sys/arch/sparc64
parentbb1fe1b9b98659e5bb936357bf26eda5391543bf (diff)
Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpc
and m68k. ok drahn@, millert@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/include/pmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/sparc64/include/pmap.h b/sys/arch/sparc64/include/pmap.h
index 81681aff364..b40e7ce2c13 100644
--- a/sys/arch/sparc64/include/pmap.h
+++ b/sys/arch/sparc64/include/pmap.h
@@ -163,6 +163,8 @@ int pmap_count_res(pmap_t pmap);
#define pmap_phys_address(x) (x)
#define pmap_update(pm) /* nothing (yet) */
+#define pmap_proc_iflush(p,va,len) /* nothing */
+
void pmap_bootstrap(u_long kernelstart, u_long kernelend, u_int numctx);
/* make sure all page mappings are modulo 16K to prevent d$ aliasing */
#define PMAP_PREFER(pa, va) (*(va)+=(((*(va))^(pa))&(1<<(PGSHIFT+1))))