diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-08-01 13:08:09 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-08-01 13:08:09 +0000 |
commit | ce2597550b646dfc6a31e2e0f13615a8618fac1e (patch) | |
tree | 32ca81977fbe2b91d5e5b1e8bfd1d7d7b85c7ca9 /firmware/common | |
parent | 9d589401c1134dc81883e2a957549a24f4dd137b (diff) | |
download | rockbox-ce2597550b646dfc6a31e2e0f13615a8618fac1e.tar.gz rockbox-ce2597550b646dfc6a31e2e0f13615a8618fac1e.zip |
Moved to internal RAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1508 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common')
-rw-r--r-- | firmware/common/memcpy.c | 6 | ||||
-rw-r--r-- | firmware/common/memset.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/firmware/common/memcpy.c b/firmware/common/memcpy.c index e3806805b6..49678920fa 100644 --- a/firmware/common/memcpy.c +++ b/firmware/common/memcpy.c | |||
@@ -53,6 +53,12 @@ _PTR | |||
53 | _DEFUN (memcpy, (dst0, src0, len0), | 53 | _DEFUN (memcpy, (dst0, src0, len0), |
54 | _PTR dst0 _AND | 54 | _PTR dst0 _AND |
55 | _CONST _PTR src0 _AND | 55 | _CONST _PTR src0 _AND |
56 | size_t len0) __attribute__ ((section (".icode"))); | ||
57 | |||
58 | _PTR | ||
59 | _DEFUN (memcpy, (dst0, src0, len0), | ||
60 | _PTR dst0 _AND | ||
61 | _CONST _PTR src0 _AND | ||
56 | size_t len0) | 62 | size_t len0) |
57 | { | 63 | { |
58 | #if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__) | 64 | #if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__) |
diff --git a/firmware/common/memset.c b/firmware/common/memset.c index c370191cda..1885a476eb 100644 --- a/firmware/common/memset.c +++ b/firmware/common/memset.c | |||
@@ -43,6 +43,12 @@ _PTR | |||
43 | _DEFUN (memset, (m, c, n), | 43 | _DEFUN (memset, (m, c, n), |
44 | _PTR m _AND | 44 | _PTR m _AND |
45 | int c _AND | 45 | int c _AND |
46 | size_t n) __attribute__ ((section (".icode"))); | ||
47 | |||
48 | _PTR | ||
49 | _DEFUN (memset, (m, c, n), | ||
50 | _PTR m _AND | ||
51 | int c _AND | ||
46 | size_t n) | 52 | size_t n) |
47 | { | 53 | { |
48 | #if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__) | 54 | #if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__) |