X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=dol%2Fsrc%2Fdol%2Fvisitor%2Frtems%2Flib%2Fsystem.h;fp=dol%2Fsrc%2Fdol%2Fvisitor%2Frtems%2Flib%2Fsystem.h;h=147d79f02ccdfcbfbb2bb299f3bbf7b1cb637dee;hb=8c411cf24ed0eb889191aaeafd8fa1e69081df42;hp=0000000000000000000000000000000000000000;hpb=dea7a4fb1ed110d3ce6e6d9255103d724bd66c0e;p=jump.git diff --git a/dol/src/dol/visitor/rtems/lib/system.h b/dol/src/dol/visitor/rtems/lib/system.h new file mode 100644 index 0000000..147d79f --- /dev/null +++ b/dol/src/dol/visitor/rtems/lib/system.h @@ -0,0 +1,64 @@ +/* system.h + * + * This include file contains information that is included in every + * function in the test set. + * + * COPYRIGHT (c) 1989-1999. + * 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.OARcorp.com/rtems/license.html. + * + * system.h,v 1.12 2000/06/12 15:00:11 joel Exp + */ + +#include "tmacros.h" +#include "appsupport.h" + +// Functions +rtems_task Init(rtems_task_argument argument); +rtems_task Test_task(rtems_task_argument argument); + +// Configuration information +#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER + +#define MAXIMUM_REGIONS 2 + +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 4 + +// Tells confdefs.h to build the init task configuration +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE +// ?????? +#define CONFIGURE_TICKS_PER_TIMESLICE 100 // ??? + +#define CONFIGURE_MAXIMUM_TASKS 32 + +// Tells confdefs.h to build the default configuration table +#ifdef TEST_INIT +#define CONFIGURE_INIT +#endif + +#define CONFIGURE_MP_APPLICATION +//These are just to allow the OS to be able to compile. +//Then this value is overwritten during the boot of the OS, +//using the call to coprocessor functions +#define CONFIGURE_MP_MAXIMUM_NODES 1 +#define NODE_NUMBER 1 + + +///////////////////////////////// +#define SCRATCHPAD_QUEUE // enable scratchpad queue + +#define DEFAULT_BUFFER_SIZE 100 //scratchpad queue size +#define TOKEN_BYTES 4096 + +#define CONFIGURE_MAXIMUM_SEMAPHORES 2 + +//#define MAXQUEUE 10 +//#define SCRATCH_SIZE_PLATFORM (1024*512) + + + +#include +