Basic demo up and running.

This commit is contained in:
Richard Barry 2008-08-08 12:50:22 +00:00
parent 5ff84b9869
commit 181889d6b1
3 changed files with 48 additions and 9 deletions

View file

@ -106,7 +106,8 @@ extern void vPortClearInterruptMaskFromISR( unsigned portBASE_TYPE );
/* Task utilities. */
#define portYIELD()
#define portYIELD() MCF_INTC0_INTFRCH |= ( 1UL << ( configYIELD_INTERRUPT_VECTOR - 32UL ) ); portNOP(); portNOP(); portNOP(); /* -32 as we are using the high word of the 64bit mask. */
#define portNOP() asm volatile ( "nop" )