summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include
diff options
context:
space:
mode:
authorTakuya ASADA <syuu@cvs.openbsd.org>2010-09-20 12:11:19 +0000
committerTakuya ASADA <syuu@cvs.openbsd.org>2010-09-20 12:11:19 +0000
commit9fd78fbf029edecf50a4f69542d1f04413220346 (patch)
tree07c65a57ea9d8e7b840ec64f2e2290984e226c94 /sys/arch/mips64/include
parent4af57c1fc92997aa0ea4e6a278e902b633e5d8a1 (diff)
cache operations for octeon. ok miod@
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r--sys/arch/mips64/include/cpu.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/cpu.h b/sys/arch/mips64/include/cpu.h
index 4b3f6e66bb0..429bd17d05f 100644
--- a/sys/arch/mips64/include/cpu.h
+++ b/sys/arch/mips64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.63 2010/09/17 00:35:51 miod Exp $ */
+/* $OpenBSD: cpu.h,v 1.64 2010/09/20 12:10:26 syuu Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -590,6 +590,13 @@ void tlb_set_wired(int);
/*
* Available cache operation routines. See <machine/cpu.h> for more.
*/
+int Octeon_ConfigCache(struct cpu_info *);
+void Octeon_SyncCache(struct cpu_info *);
+void Octeon_InvalidateICache(struct cpu_info *, vaddr_t, size_t);
+void Octeon_SyncDCachePage(struct cpu_info *, paddr_t);
+void Octeon_HitSyncDCache(struct cpu_info *, paddr_t, size_t);
+void Octeon_HitInvalidateDCache(struct cpu_info *, paddr_t, size_t);
+void Octeon_IOSyncDCache(struct cpu_info *, paddr_t, size_t, int);
int Loongson2_ConfigCache(struct cpu_info *);
void Loongson2_SyncCache(struct cpu_info *);