mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Changed __asm__ to asm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@180 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b701c89624
commit
c7e811bffe
1 changed files with 31 additions and 31 deletions
|
@ -44,9 +44,9 @@ static thread_t threads = {1, 0};
|
|||
* Store non-volatile context.
|
||||
*---------------------------------------------------------------------------
|
||||
*/
|
||||
static __inline__ void stctx(void* addr)
|
||||
static inline void stctx(void* addr)
|
||||
{
|
||||
__asm__ __volatile__ ("mov.l r8, @(0, %0)\n\t"
|
||||
asm volatile ("mov.l r8, @(0, %0)\n\t"
|
||||
"mov.l r9, @(4, %0)\n\t"
|
||||
"mov.l r10, @(8, %0)\n\t"
|
||||
"mov.l r11, @(12, %0)\n\t"
|
||||
|
@ -66,9 +66,9 @@ static __inline__ void stctx(void* addr)
|
|||
* Load non-volatile context.
|
||||
*---------------------------------------------------------------------------
|
||||
*/
|
||||
static __inline__ void ldctx(void* addr)
|
||||
static inline void ldctx(void* addr)
|
||||
{
|
||||
__asm__ __volatile__ ("mov.l @(0, %0), r8\n\t"
|
||||
asm volatile ("mov.l @(0, %0), r8\n\t"
|
||||
"mov.l @(4, %0), r9\n\t"
|
||||
"mov.l @(8, %0), r10\n\t"
|
||||
"mov.l @(12, %0), r11\n\t"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue