summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorGreg White <gwhite@rockbox.org>2007-01-04 02:50:45 +0000
committerGreg White <gwhite@rockbox.org>2007-01-04 02:50:45 +0000
commit23b722d4a9f8620f804f7ea8e5a190fdf236ffef (patch)
treed1faac9433ab541e0ee1b2d4346750aebf15e6b0 /firmware
parent17676672e0483a6c10caf0f5aead9c59fbd48e99 (diff)
downloadrockbox-23b722d4a9f8620f804f7ea8e5a190fdf236ffef.zip
rockbox-23b722d4a9f8620f804f7ea8e5a190fdf236ffef.tar.gz
rockbox-23b722d4a9f8620f804f7ea8e5a190fdf236ffef.tar.bz2
rockbox-23b722d4a9f8620f804f7ea8e5a190fdf236ffef.tar.xz
Created
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11893 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/gigabeat/meg-fx/mmu-meg-fx.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/firmware/target/arm/gigabeat/meg-fx/mmu-meg-fx.h b/firmware/target/arm/gigabeat/meg-fx/mmu-meg-fx.h
new file mode 100644
index 0000000..29f3039
--- /dev/null
+++ b/firmware/target/arm/gigabeat/meg-fx/mmu-meg-fx.h
@@ -0,0 +1,31 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2006 by Greg White
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+/* Invalidate DCache for this range */
+/* Will do write back */
+void invalidate_dcache_range(const void *base, unsigned int size);
+
+/* clean DCache for this range */
+/* forces DCache writeback for the specified range */
+void clean_dcache_range(const void *base, unsigned int size);
+
+/* Dump DCache for this range */
+/* Will *NOT* do write back */
+void dump_dcache_range(const void *base, unsigned int size);
+