aboutsummaryrefslogtreecommitdiffstats
path: root/demos/Win32-MSVS/chcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/Win32-MSVS/chcore.h')
-rw-r--r--demos/Win32-MSVS/chcore.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/demos/Win32-MSVS/chcore.h b/demos/Win32-MSVS/chcore.h
index 58e278fe4..6d11921cf 100644
--- a/demos/Win32-MSVS/chcore.h
+++ b/demos/Win32-MSVS/chcore.h
@@ -62,12 +62,13 @@ typedef struct {
#define chSysPuts(msg) {}
#define INT_REQUIRED_STACK 0x0
-
#define UserStackSize(n) (sizeof(Thread) + sizeof(void *)*2 + \
sizeof(struct stackregs) + (n) + (INT_REQUIRED_STACK))
+#define IDLE_THREAD_STACK_SIZE 16384
+t_msg _IdleThread(void *p);
+
void __fastcall chSysHalt(void);
-void __fastcall chSysPause(void);
void __fastcall chSysSwitchI(Context *oldp, Context *newp);
void __fastcall threadexit(void);