aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-12 10:36:28 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-12 10:36:28 +0000
commit7500baf6cd6457ce77b5a474031f35bd5b30fb6a (patch)
treea6b0af1f51c720491ac60095343ea055c870ce94
parent869cacb3d442841c83034736e1f1702fc9bb2d8e (diff)
downloadChibiOS-7500baf6cd6457ce77b5a474031f35bd5b30fb6a.tar.gz
ChibiOS-7500baf6cd6457ce77b5a474031f35bd5b30fb6a.tar.bz2
ChibiOS-7500baf6cd6457ce77b5a474031f35bd5b30fb6a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@224 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--readme.txt2
-rw-r--r--src/chschd.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/readme.txt b/readme.txt
index 00a8baabe..96c9fe235 100644
--- a/readme.txt
+++ b/readme.txt
@@ -28,8 +28,6 @@ Current ports under ./demos:
Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
MinGW version.
-Win32-MSVS - ChibiOS/RT simulator and demo into a WIN32 process,
- Visual Studio 7 or any later version should work.
ARM7-LPC214x-GCC - ChibiOS/RT port for ARM7 LPC2148, the demo targets
the Olimex LPC-P2148 board. This port can be easily
modified for any processor into the LPC2000 family or
diff --git a/src/chschd.c b/src/chschd.c
index 7c45e009e..c0be50524 100644
--- a/src/chschd.c
+++ b/src/chschd.c
@@ -92,6 +92,9 @@ void chSchGoSleepS(tstate_t newstate) {
}
#ifdef CH_USE_VIRTUAL_TIMERS
+/*
+ * Timeout wakeup callback.
+ */
static void wakeup(void *p) {
#ifdef CH_USE_SEMAPHORES
@@ -139,9 +142,9 @@ void chSchWakeupS(Thread *ntp, msg_t msg) {
chSchReadyI(ntp, msg);
else {
Thread *otp = currp;
+ ntp->p_rdymsg = msg;
chSchReadyI(otp, RDY_OK);
(currp = ntp)->p_state = PRCURR;
- ntp->p_rdymsg = msg;
rlist.r_preempt = CH_TIME_QUANTUM;
#ifdef CH_USE_TRACE
chDbgTrace(otp, ntp);