git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@222 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
0697998b65
commit
88c256ae52
|
@ -103,7 +103,7 @@ TOPT = -mthumb -D THUMB
|
||||||
# increases the code size.
|
# increases the code size.
|
||||||
OPT = -O2 -ggdb -fomit-frame-pointer -fno-strict-aliasing
|
OPT = -O2 -ggdb -fomit-frame-pointer -fno-strict-aliasing
|
||||||
#OPT += -ffixed-r7
|
#OPT += -ffixed-r7
|
||||||
OPT += -falign-functions=16
|
#OPT += -falign-functions=16
|
||||||
|
|
||||||
# Define warning options here
|
# Define warning options here
|
||||||
WARN = -Wall -Wstrict-prototypes
|
WARN = -Wall -Wstrict-prototypes
|
||||||
|
|
|
@ -103,7 +103,7 @@ TOPT = -mthumb -D THUMB
|
||||||
# increases the code size.
|
# increases the code size.
|
||||||
OPT = -Os -ggdb -fomit-frame-pointer -fno-strict-aliasing
|
OPT = -Os -ggdb -fomit-frame-pointer -fno-strict-aliasing
|
||||||
#OPT += -ffixed-r7
|
#OPT += -ffixed-r7
|
||||||
OPT += -falign-functions=16
|
#OPT += -falign-functions=16
|
||||||
|
|
||||||
# Define warning options here
|
# Define warning options here
|
||||||
WARN = -Wall -Wstrict-prototypes
|
WARN = -Wall -Wstrict-prototypes
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Project related configuration options
|
# Project related configuration options
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
PROJECT_NAME = ChibiOS/RT
|
PROJECT_NAME = ChibiOS/RT
|
||||||
PROJECT_NUMBER = "0.6.0 beta"
|
PROJECT_NUMBER = "0.6.1 beta"
|
||||||
OUTPUT_DIRECTORY = .
|
OUTPUT_DIRECTORY = .
|
||||||
CREATE_SUBDIRS = NO
|
CREATE_SUBDIRS = NO
|
||||||
OUTPUT_LANGUAGE = English
|
OUTPUT_LANGUAGE = English
|
||||||
|
|
|
@ -13,7 +13,7 @@ Homepage</h2>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: center; vertical-align: top; width: 150px;">Current
|
<td style="text-align: center; vertical-align: top; width: 150px;">Current
|
||||||
Version 0.6.0<br>
|
Version 0.6.1<br>
|
||||||
-<br>
|
-<br>
|
||||||
<a href="http://sourceforge.net/projects/chibios/" rel="me" target="_top">Project on SourceForge</a><br>
|
<a href="http://sourceforge.net/projects/chibios/" rel="me" target="_top">Project on SourceForge</a><br>
|
||||||
<a href="html/index.html" target="_top" rel="me">Documentation</a><br>
|
<a href="html/index.html" target="_top" rel="me">Documentation</a><br>
|
||||||
|
|
|
@ -62,6 +62,13 @@ AVR-AT90CANx-GCC - Port on AVR AT90CAN128, not tested on hardware yet.
|
||||||
*** Releases ***
|
*** Releases ***
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
|
*** 0.6.1 ***
|
||||||
|
- Removed some redundant checks from the scheduler code: improved threads
|
||||||
|
flyback time.
|
||||||
|
- Removed the -falign-functions=16 option from the AT91SAM7X demo makefiles,
|
||||||
|
the Atmel chip does not require it, the option is still present on the
|
||||||
|
LPC21xx demos. This saves significant ROM space.
|
||||||
|
|
||||||
*** 0.6.0 ***
|
*** 0.6.0 ***
|
||||||
- Code refactory, all the old sized-integer definitions like LONG32, UWORD16
|
- Code refactory, all the old sized-integer definitions like LONG32, UWORD16
|
||||||
etc are now replaced by the proper definitions provided by the compiler
|
etc are now replaced by the proper definitions provided by the compiler
|
||||||
|
|
|
@ -93,8 +93,10 @@ void chSchGoSleepS(tstate_t newstate) {
|
||||||
#ifdef CH_USE_VIRTUAL_TIMERS
|
#ifdef CH_USE_VIRTUAL_TIMERS
|
||||||
static void wakeup(void *p) {
|
static void wakeup(void *p) {
|
||||||
|
|
||||||
|
#ifdef CH_USE_SEMAPHORES
|
||||||
if (((Thread *)p)->p_state == PRWTSEM)
|
if (((Thread *)p)->p_state == PRWTSEM)
|
||||||
chSemFastSignalI(((Thread *)p)->p_wtsemp);
|
chSemFastSignalI(((Thread *)p)->p_wtsemp);
|
||||||
|
#endif
|
||||||
chSchReadyI(p, RDY_TIMEOUT);
|
chSchReadyI(p, RDY_TIMEOUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -170,9 +172,7 @@ void chSchDoRescheduleI(void) {
|
||||||
*/
|
*/
|
||||||
void chSchRescheduleS(void) {
|
void chSchRescheduleS(void) {
|
||||||
|
|
||||||
if (isempty(&rlist.r_queue) || firstprio(&rlist.r_queue) <= currp->p_prio)
|
if (firstprio(&rlist.r_queue) > currp->p_prio)
|
||||||
return;
|
|
||||||
|
|
||||||
chSchDoRescheduleI();
|
chSchDoRescheduleI();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -183,9 +183,6 @@ void chSchRescheduleS(void) {
|
||||||
*/
|
*/
|
||||||
bool_t chSchRescRequiredI(void) {
|
bool_t chSchRescRequiredI(void) {
|
||||||
|
|
||||||
if (isempty(&rlist.r_queue))
|
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
if (rlist.r_preempt) {
|
if (rlist.r_preempt) {
|
||||||
if (firstprio(&rlist.r_queue) <= currp->p_prio)
|
if (firstprio(&rlist.r_queue) <= currp->p_prio)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue