/* * COPYRIGHT (c) 1989-2011. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #define CONFIGURE_INIT #include "system.h" void Loop() { volatile int i; for (i=0; i<300000; i++); } rtems_task Init( rtems_task_argument argument ) { int i; char ch; int cpu_num; rtems_id id; rtems_status_code status; bool allDone; /* XXX - Delay a bit to allow debug messages from * startup to print. This may need to go away when * debug messages go away. */ Loop(); locked_print_initialize(); /* Put start of test message */ locked_printf( "\n\n*** SMP01 TEST ***\n" ); /* Initialize the TaskRan array */ for ( i=0; i