git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@108 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
f2ced068fb
commit
cc85ca11fb
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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_ */
|
||||
|
||||
/** @} */
|
||||
|
|
Loading…
Reference in New Issue