1
0
Fork 0
forked from len0rd/rockbox

Const policed pointer arguments to functions, part 1

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2004-08-16 23:37:23 +00:00
parent 8b131ac1fb
commit c76c568b35
20 changed files with 48 additions and 45 deletions

View file

@ -71,7 +71,7 @@ static inline void store_context(void* addr)
* Load non-volatile context.
*---------------------------------------------------------------------------
*/
static inline void load_context(void* addr)
static inline void load_context(const void* addr)
{
asm volatile ("mov.l @%0+,r8\n\t"
"mov.l @%0+,r9\n\t"