aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC
diff options
context:
space:
mode:
Diffstat (limited to 'os/ports/GCC')
-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.