diff options
Diffstat (limited to 'demos/Win32-MinGW/chcore.h')
-rw-r--r-- | demos/Win32-MinGW/chcore.h | 15 |
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" {
|