aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2x/mmuhack/flush_uppermem_cache.s
diff options
context:
space:
mode:
authorJohn Willis2009-05-11 10:15:38 +0000
committerJohn Willis2009-05-11 10:15:38 +0000
commit911556a824291b9838b7b5f1cd8c6f9624c2bcc2 (patch)
tree1346b399b1eaa209d14e30a47fb251d79008a496 /backends/platform/gp2x/mmuhack/flush_uppermem_cache.s
parent2cb051a394f3c5fa9b1757e17f06fe271d9bd1ac (diff)
downloadscummvm-rg350-911556a824291b9838b7b5f1cd8c6f9624c2bcc2.tar.gz
scummvm-rg350-911556a824291b9838b7b5f1cd8c6f9624c2bcc2.tar.bz2
scummvm-rg350-911556a824291b9838b7b5f1cd8c6f9624c2bcc2.zip
This is the source for the MMUHACK 2.4 kernel module is included with the GP2X backend. This is the code used to build the mmuhack.o module that ships with the GP2X binaries.
-- line, and those below, will be ignored-- A gp2x/mmuhack AM gp2x/mmuhack/flush_uppermem_cache.s AM gp2x/mmuhack/flush_uppermem_cache.h AM gp2x/mmuhack/mmuhack.c AM gp2x/mmuhack/readme.txt AM gp2x/mmuhack/Makefile svn-id: r40449
Diffstat (limited to 'backends/platform/gp2x/mmuhack/flush_uppermem_cache.s')
-rwxr-xr-xbackends/platform/gp2x/mmuhack/flush_uppermem_cache.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/gp2x/mmuhack/flush_uppermem_cache.s b/backends/platform/gp2x/mmuhack/flush_uppermem_cache.s
new file mode 100755
index 0000000000..17628c156a
--- /dev/null
+++ b/backends/platform/gp2x/mmuhack/flush_uppermem_cache.s
@@ -0,0 +1,6 @@
+.global flush_uppermem_cache @ void *start_address, void *end_address, int flags
+
+flush_uppermem_cache:
+ swi #0x9f0002
+ bx lr
+