diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-08 21:43:12 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-08 21:43:12 +0000 |
commit | abfc472a5c370de0d5e29e4bedde04575f6fd94b (patch) | |
tree | 0644b5ca287fc3a6d0bdd5bc538060dd20a05716 /os/ports/GCC | |
parent | 74328c0fc0a8d46c97b954ab153d44ac2891ed04 (diff) | |
download | ChibiOS-abfc472a5c370de0d5e29e4bedde04575f6fd94b.tar.gz ChibiOS-abfc472a5c370de0d5e29e4bedde04575f6fd94b.tar.bz2 ChibiOS-abfc472a5c370de0d5e29e4bedde04575f6fd94b.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1405 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC')
-rw-r--r-- | os/ports/GCC/SIMIA32/chcore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/ports/GCC/SIMIA32/chcore.h b/os/ports/GCC/SIMIA32/chcore.h index 5e2d38f84..dd8af08eb 100644 --- a/os/ports/GCC/SIMIA32/chcore.h +++ b/os/ports/GCC/SIMIA32/chcore.h @@ -156,12 +156,12 @@ struct context { /**
* Does nothing in this simulator.
*/
-#define port_lock()
+#define port_lock() asm volatile("nop")
/**
* Does nothing in this simulator.
*/
-#define port_unlock()
+#define port_unlock() asm volatile("nop")
/**
* Does nothing in this simulator.
|