From 8b17d5526d2745c409aac95a3e1da3102959626c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 10 Jan 2009 16:25:57 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@613 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/Win32-MinGW/chcore.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'demos') 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 @@ -138,6 +138,11 @@ typedef struct { */ #define SYS_IRQ_EPILOGUE() +/** + * IRQ handler function modifier. + */ +#define SYS_IRQ_HANDLER + /** * Does nothing in this simulator. */ @@ -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" { -- cgit v1.2.3