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:
parent
8b131ac1fb
commit
c76c568b35
20 changed files with 48 additions and 45 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue