summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-04-10 14:18:30 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-04-10 14:18:30 +0000
commit6689cb0f9bdc68320bfd5eee8d6ce630a6d898b3 (patch)
tree46c8c5f1c0caed1764515d501b7e0e1f1188a8b8 /firmware/target/coldfire
parent536c5d9e744afe894aa221bb5ce23e175a3f54e5 (diff)
mpegplayer: Get A-V synchronized. Improve frame sync and dropping logic and take advantage of decoder's ability to assist. Straighten out some threading problems. Clean it up a bit. Added some plugin API functions and decided it was a good time to do a good sorting on them so your next update from this build should be a full replacement.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13094 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r--firmware/target/coldfire/system-target.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/coldfire/system-target.h b/firmware/target/coldfire/system-target.h
index 3fbd24cbe4..40542353be 100644
--- a/firmware/target/coldfire/system-target.h
+++ b/firmware/target/coldfire/system-target.h
@@ -40,6 +40,13 @@
: /* %0 */ "d"(mask), \
/* %1 */ "a"(address))
+#define add_l(addend, address) \
+ asm \
+ ("add.l %0, (%1)" \
+ : \
+ : /* %0 */ "r"(addend), \
+ /* %1 */ "a"(address))
+
#define EMAC_ROUND 0x10
#define EMAC_FRACTIONAL 0x20
#define EMAC_SATURATE 0x80