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

This commit is contained in:
gdisirio 2007-11-23 14:16:12 +00:00
parent f2ced068fb
commit cc85ca11fb
4 changed files with 45 additions and 59 deletions

View File

@ -166,7 +166,7 @@ T0IrqHandler:
b IrqCommon
#endif
/*
#if 0
.globl UART0IrqHandler
UART0IrqHandler:
sub lr, lr, #4
@ -182,7 +182,9 @@ UART0IrqHandler:
bl UART0Irq
b IrqCommon
#endif
#endif
#if 0
.globl UART1IrqHandler
UART1IrqHandler:
sub lr, lr, #4
@ -198,7 +200,7 @@ UART1IrqHandler:
bl UART1Irq
b IrqCommon
#endif
*/
#endif
/*
* Common exit point for all IRQ routines, it performs the rescheduling if

View File

@ -4,7 +4,7 @@
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = ChibiOS/RT
PROJECT_NUMBER = "0.4.1 beta"
PROJECT_NUMBER = "0.4.2 beta"
OUTPUT_DIRECTORY = .
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English

View File

@ -183,9 +183,7 @@ BOOL chSchRescRequiredI(void) {
*/
void chSchTimerHandlerI(void) {
if (rlist.r_preempt)
rlist.r_preempt--;
#ifdef CH_USE_SYSTEMTIME
rlist.r_stime++;
#endif

View File

@ -69,26 +69,12 @@ extern "C" {
}
#endif
/**
* Current thread pointer.
* @note Dont use this directly but use the \p chThdSelf()
* instead. Direct use of system global variables is discouraged because
* portability reasons.
*/
#ifdef CH_CURRP_REGISTER_CACHE
register Thread *currp asm(CH_CURRP_REGISTER_CACHE);
#else
#define currp rlist.r_current
#endif
/**
* System ticks counter.
* @note Dont use this directly but use the \p chSysGetTime()
* instead. Direct use of system global variables is discouraged because
* portability reasons.
*/
extern volatile t_time stime;
#endif /* _SCHEDULER_H_ */
/** @} */