diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-20 20:11:02 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-20 20:11:02 +0000 |
commit | 4d2e568b56607bb166c4d2dd004b1c9970c2879f (patch) | |
tree | b760b645c8973b1a9a6f210f8c372bacc42c6ab2 /demos/Win32-MinGW/chcore.c | |
parent | 22e22db0161126d1c58a07e2323662efc18d6c86 (diff) | |
download | ChibiOS-4d2e568b56607bb166c4d2dd004b1c9970c2879f.tar.gz ChibiOS-4d2e568b56607bb166c4d2dd004b1c9970c2879f.tar.bz2 ChibiOS-4d2e568b56607bb166c4d2dd004b1c9970c2879f.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@650 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/Win32-MinGW/chcore.c')
-rw-r--r-- | demos/Win32-MinGW/chcore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/Win32-MinGW/chcore.c b/demos/Win32-MinGW/chcore.c index 1dc05569c..446508e3c 100644 --- a/demos/Win32-MinGW/chcore.c +++ b/demos/Win32-MinGW/chcore.c @@ -98,7 +98,7 @@ void ChkIntSources(void) { * @param msg pointer to the message */
__attribute__((fastcall))
-void sys_puts(char *msg) {
+void port_puts(char *msg) {
}
/**
@@ -107,7 +107,7 @@ void sys_puts(char *msg) { * @param ntp the thread to be switched in */
__attribute__((fastcall))
-void sys_switch(Thread *otp, Thread *ntp) {
+void port_switch(Thread *otp, Thread *ntp) {
register struct intctx volatile *esp asm("esp");
asm volatile ("push %ebp \n\t" \
@@ -126,7 +126,7 @@ void sys_switch(Thread *otp, Thread *ntp) { * Halts the system. In this implementation it just exits the simulation. */
__attribute__((fastcall))
-void sys_halt(void) {
+void port_halt(void) {
exit(2);
}
|