summaryrefslogtreecommitdiffstats
path: root/tools/schedsim/rtems/sched_cpu/rtems/score/cpuopts.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-12-17 14:51:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-12-17 14:51:56 +0000
commit4bc2c9886b5bc5d664e7ce9830c9b4cc1a970d75 (patch)
tree1bb185b41d7e65e315a0b1bba27b75ab7706aa50 /tools/schedsim/rtems/sched_cpu/rtems/score/cpuopts.h
parent2010-12-17 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-4bc2c9886b5bc5d664e7ce9830c9b4cc1a970d75.tar.bz2
2010-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
Jennifer Averett <jennifer.averett@oarcorp.com> Add RTEMS Scheduler Simulator. This is the RTEMS "port" to and adapter code to run on GNU/Linux with a fake context switch. * ChangeLog, Makefile.am, interr.c, rtems_init.c, rtems_sched.h, wkspace.c, sched_cpu/cpu.c, sched_cpu/cpu_asm.c, sched_cpu/rtems/asm.h, sched_cpu/rtems/stringto.h, sched_cpu/rtems/score/cpu.h, sched_cpu/rtems/score/cpu_asm.h, sched_cpu/rtems/score/cpuopts.h, sched_cpu/rtems/score/no_cpu.h, sched_cpu/rtems/score/types.h: New files.
Diffstat (limited to 'tools/schedsim/rtems/sched_cpu/rtems/score/cpuopts.h')
-rw-r--r--tools/schedsim/rtems/sched_cpu/rtems/score/cpuopts.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/tools/schedsim/rtems/sched_cpu/rtems/score/cpuopts.h b/tools/schedsim/rtems/sched_cpu/rtems/score/cpuopts.h
new file mode 100644
index 0000000000..61858b369b
--- /dev/null
+++ b/tools/schedsim/rtems/sched_cpu/rtems/score/cpuopts.h
@@ -0,0 +1,72 @@
+/**
+ * @file rtems/score/cpuopts.h
+ */
+
+/* BASED UPON SOURCE IN RTEMS, MODIFIED FOR SIMULATOR */
+
+/* target cpu dependent options file */
+/* automatically generated -- DO NOT EDIT!! */
+#ifndef _RTEMS_SCORE_CPUOPTS_H
+#define _RTEMS_SCORE_CPUOPTS_H
+
+/* This is added by hand to indicate we are on the RTEMS Scheduler Simulator */
+#define RTEMS_SCHEDSIM
+
+/* if RTEMS_DEBUG is enabled */
+/* #undef RTEMS_DEBUG */
+
+/* if itron api is supported */
+/* #undef RTEMS_ITRON_API */
+
+/* if multiprocessing is enabled */
+/* #undef RTEMS_MULTIPROCESSING */
+
+/* if using newlib */
+#define RTEMS_NEWLIB 1
+
+/* if posix api is supported */
+/* #undef RTEMS_POSIX_API */
+
+/* if networking is enabled */
+#define RTEMS_NETWORKING 1
+
+/* if RTEMS uses tar.h */
+#define RTEMS_USES_TAR_H 1
+
+/* RTEMS version string */
+#define RTEMS_VERSION "4.9.99.0"
+
+/* disable nanosecond granularity for statistics */
+/* #undef __RTEMS_USE_TICKS_FOR_STATISTICS__ */
+
+/* disable nanosecond granularity for cpu usage statistics */
+/* #undef __RTEMS_USE_TICKS_CPU_USAGE_STATISTICS__ */
+
+/* disable nanosecond granularity for period statistics */
+/* #undef __RTEMS_USE_TICKS_RATE_MONOTONIC_STATISTICS__ */
+
+/* disable inlining _Thread_Enable_dispatch */
+/* #undef __RTEMS_DO_NOT_INLINE_THREAD_ENABLE_DISPATCH__ */
+
+/* disable inlining _Thread_Enable_dispatch */
+/* #undef __RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__ */
+
+/* disable inlining _Thread_queue_Enqueue_priority */
+/* #undef __RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY__ */
+
+/* disable strict order mutex */
+/* #undef __RTEMS_STRICT_ORDER_MUTEX__ */
+
+/* Define to 1 if ada/gnat bindings are built-in */
+#define __RTEMS_ADA__ 1
+
+/* major version portion of an RTEMS release */
+#define __RTEMS_MAJOR__ 4
+
+/* minor version portion of an RTEMS release */
+#define __RTEMS_MINOR__ 9
+
+/* revision version portion of an RTEMS release */
+#define __RTEMS_REVISION__ 99
+
+#endif /* _RTEMS_SCORE_CPUOPTS_H */