aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-10 16:25:57 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-10 16:25:57 +0000
commit8b17d5526d2745c409aac95a3e1da3102959626c (patch)
tree736baf1b49245996a347254b052f0ff2c0c0378a /demos
parente2b6b440e12562804f161d8db677554bbd666bd1 (diff)
downloadChibiOS-8b17d5526d2745c409aac95a3e1da3102959626c.tar.gz
ChibiOS-8b17d5526d2745c409aac95a3e1da3102959626c.tar.bz2
ChibiOS-8b17d5526d2745c409aac95a3e1da3102959626c.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@613 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/Win32-MinGW/chcore.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/demos/Win32-MinGW/chcore.h b/demos/Win32-MinGW/chcore.h
index 5f9f35716..70efa7edb 100644
--- a/demos/Win32-MinGW/chcore.h
+++ b/demos/Win32-MinGW/chcore.h
@@ -139,6 +139,11 @@ typedef struct {
#define SYS_IRQ_EPILOGUE()
/**
+ * IRQ handler function modifier.
+ */
+#define SYS_IRQ_HANDLER
+
+/**
* Does nothing in this simulator.
*/
#define sys_disable()
@@ -159,15 +164,15 @@ typedef struct {
#define sys_enable_from_isr()
/**
- * In the simulator this does a polling pass on the simulated interrupt
- * sources.
+ * Does nothing in this simulator.
*/
-#define sys_wait_for_interrupt() ChkIntSources()
+#define sys_disable_all()
/**
- * IRQ handler function modifier.
+ * In the simulator this does a polling pass on the simulated interrupt
+ * sources.
*/
-#define SYS_IRQ_HANDLER
+#define sys_wait_for_interrupt() ChkIntSources()
#ifdef __cplusplus
extern "C" {