aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-08 21:43:12 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-08 21:43:12 +0000
commitabfc472a5c370de0d5e29e4bedde04575f6fd94b (patch)
tree0644b5ca287fc3a6d0bdd5bc538060dd20a05716
parent74328c0fc0a8d46c97b954ab153d44ac2891ed04 (diff)
downloadChibiOS-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
-rw-r--r--os/ports/GCC/SIMIA32/chcore.h4
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.