git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@224 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2008-03-12 10:36:28 +00:00
parent 869cacb3d4
commit 7500baf6cd
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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);