aboutsummaryrefslogtreecommitdiffstats
path: root/demos/Win32-MinGW/chcore.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-11-19 11:09:33 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-11-19 11:09:33 +0000
commitb3361bd0e8ca074dbf7f312a87bbcdbf0019ebc7 (patch)
tree6cb55aa7bf6630b87d07b851ab40b44b662033c6 /demos/Win32-MinGW/chcore.h
parente3617bedb28afefa2993c7e2a8a696d5af16a733 (diff)
downloadChibiOS-b3361bd0e8ca074dbf7f312a87bbcdbf0019ebc7.tar.gz
ChibiOS-b3361bd0e8ca074dbf7f312a87bbcdbf0019ebc7.tar.bz2
ChibiOS-b3361bd0e8ca074dbf7f312a87bbcdbf0019ebc7.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@97 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/Win32-MinGW/chcore.h')
-rw-r--r--demos/Win32-MinGW/chcore.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/demos/Win32-MinGW/chcore.h b/demos/Win32-MinGW/chcore.h
index 6d3055081..a28aa2833 100644
--- a/demos/Win32-MinGW/chcore.h
+++ b/demos/Win32-MinGW/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);
+
__attribute__((fastcall)) void chSysHalt(void);
-__attribute__((fastcall)) void chSysPause(void);
__attribute__((fastcall)) void chSysSwitchI(Context *oldp, Context *newp);
__attribute__((fastcall)) void threadstart(void);