diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-02 19:09:53 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-02 19:09:53 +0000 |
commit | c98a36e315b5ec6d1685baedd956926297f7ecba (patch) | |
tree | 9a7f0e29ef79acd3e8ba1b646f859b7ea3f6b297 /os/ports | |
parent | 639d957e5eacffffb849b976552b39a2b66433aa (diff) | |
download | ChibiOS-c98a36e315b5ec6d1685baedd956926297f7ecba.tar.gz ChibiOS-c98a36e315b5ec6d1685baedd956926297f7ecba.tar.bz2 ChibiOS-c98a36e315b5ec6d1685baedd956926297f7ecba.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1264 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports')
-rw-r--r-- | os/ports/GCC/ARMCM3/chcore.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/ports/GCC/ARMCM3/chcore.c b/os/ports/GCC/ARMCM3/chcore.c index 8c421867c..47480217d 100644 --- a/os/ports/GCC/ARMCM3/chcore.c +++ b/os/ports/GCC/ARMCM3/chcore.c @@ -88,6 +88,8 @@ void SVCallVector(Thread *otp, Thread *ntp) { /* pop the registers from the PSP stack */
/* set the PSP from r12 */
/* set the BASEPRI from R3 */
+ (void)otp;
+ (void)ntp;
#ifdef CH_CURRP_REGISTER_CACHE
asm volatile ("mrs r3, BASEPRI \n\t" \
"mrs r12, PSP \n\t" \
|