summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-10-03 15:54:34 +0000
committerJens Arnold <amiconn@rockbox.org>2008-10-03 15:54:34 +0000
commit5d29f5188fd46287fed3f75f2c21238b7594b2d7 (patch)
treea43cf8b31245938744defafb4cdb2ce46636d551
parent27c797706861629f9715cc0a89c568847ecc866f (diff)
Put the rangecoder struct into IRAM for a nice speedup on coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18699 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/demac/libdemac/rangecoding.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/demac/libdemac/rangecoding.h b/apps/codecs/demac/libdemac/rangecoding.h
index 8be5e923ba..9c26344ec5 100644
--- a/apps/codecs/demac/libdemac/rangecoding.h
+++ b/apps/codecs/demac/libdemac/rangecoding.h
@@ -2,7 +2,7 @@
libdemac - A Monkey's Audio decoder
-$Id:$
+$Id$
Copyright (C) Dave Chapman 2007
@@ -97,7 +97,7 @@ struct rangecoder_t
unsigned int buffer; /* buffer for input/output */
};
-static struct rangecoder_t rc;
+static struct rangecoder_t rc IBSS_ATTR;
/* Start the decoder */
static inline void range_start_decoding(void)