aboutsummaryrefslogtreecommitdiffstats
path: root/test/coverage/chcore.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-04-11 15:03:58 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-04-11 15:03:58 +0000
commitef22e9204dc12eb8e3289e1eb94945f3ecbaee7c (patch)
treefbd3acf9e587cc2e279bdcaa51fd9a9737780af6 /test/coverage/chcore.h
parentbed6fe6ef714a1c2358f063f7553b34defbb9fb1 (diff)
downloadChibiOS-ef22e9204dc12eb8e3289e1eb94945f3ecbaee7c.tar.gz
ChibiOS-ef22e9204dc12eb8e3289e1eb94945f3ecbaee7c.tar.bz2
ChibiOS-ef22e9204dc12eb8e3289e1eb94945f3ecbaee7c.zip
Improvements to the coverage tool.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@888 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/coverage/chcore.h')
-rw-r--r--test/coverage/chcore.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/coverage/chcore.h b/test/coverage/chcore.h
index 276b935da..321bd816e 100644
--- a/test/coverage/chcore.h
+++ b/test/coverage/chcore.h
@@ -130,13 +130,13 @@ struct context {
* IRQ prologue code, inserted at the start of all IRQ handlers enabled to
* invoke system APIs.
*/
-#define PORT_IRQ_PROLOGUE()
+#define PORT_IRQ_PROLOGUE() asm volatile ("nop")
/**
* IRQ epilogue code, inserted at the end of all IRQ handlers enabled to
* invoke system APIs.
*/
-#define PORT_IRQ_EPILOGUE()
+#define PORT_IRQ_EPILOGUE() asm volatile ("nop")
/**
* IRQ handler function declaration.
@@ -151,37 +151,37 @@ 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.
*/
-#define port_lock_from_isr()
+#define port_lock_from_isr() asm volatile ("nop")
/**
* Does nothing in this simulator.
*/
-#define port_unlock_from_isr()
+#define port_unlock_from_isr() asm volatile ("nop")
/**
* Does nothing in this simulator.
*/
-#define port_disable()
+#define port_disable() asm volatile ("nop")
/**
* Does nothing in this simulator.
*/
-#define port_suspend()
+#define port_suspend() asm volatile ("nop")
/**
* Does nothing in this simulator.
*/
-#define port_enable()
+#define port_enable() asm volatile ("nop")
/**
* In the simulator this does a polling pass on the simulated interrupt