diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-17 10:46:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-17 10:46:10 +0000 |
commit | e8ce6fcf43fbd53e80556ff4a50c1edb3f87ea00 (patch) | |
tree | 622d6e59e93a2e96f4e7d0d6a9195bb01e297653 /os/ports/GCC/PPC/chcore.c | |
parent | f3d472965ed481a88382fe698cdab337359d553c (diff) | |
download | ChibiOS-e8ce6fcf43fbd53e80556ff4a50c1edb3f87ea00.tar.gz ChibiOS-e8ce6fcf43fbd53e80556ff4a50c1edb3f87ea00.tar.bz2 ChibiOS-e8ce6fcf43fbd53e80556ff4a50c1edb3f87ea00.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4687 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC/PPC/chcore.c')
-rw-r--r-- | os/ports/GCC/PPC/chcore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/ports/GCC/PPC/chcore.c b/os/ports/GCC/PPC/chcore.c index 5fd97a14b..5ad1195a4 100644 --- a/os/ports/GCC/PPC/chcore.c +++ b/os/ports/GCC/PPC/chcore.c @@ -36,10 +36,10 @@ void port_init(void) { #if PPC_SUPPORTS_IVORS
/* The CPU support IVOR registers, the kernel requires IVOR4 and IVOR10
and the initialization is performed here.*/
- asm volatile ("li %r3, IVOR4@l \t\n"
+ asm volatile ("li %r3, _IVOR4@l \t\n"
"mtIVOR4 %r3 \t\n"
- "li %r3, IVOR10@l \t\n"
- "mtIVOR10 %r3");
+ "li %r3, _IVOR10@l \t\n"
+ "mtIVOR10 %r3" : : : "memory");
#endif
}
|