diff options
author | Joel Sherrill <joel@rtems.org> | 2016-11-15 12:19:39 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-11-29 09:29:03 -0600 |
commit | de7b174e381ee60686487c03c6db8d0ed7596da1 (patch) | |
tree | d4d58b13bca4242ccb545f95fe8c29e0da70f89b /c/src/lib/libbsp/sparc/erc32 | |
parent | cpukit: Add libdebugger, a remote debugger agent for GDB. (diff) | |
download | rtems-de7b174e381ee60686487c03c6db8d0ed7596da1.tar.bz2 |
Remove sparc/sis BSP.
closes #2810.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/clock/ckinit.c | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/configure.ac | 13 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/make/custom/sis.cfg | 5 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/timer/timer.c | 6 |
4 files changed, 0 insertions, 28 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/clock/ckinit.c b/c/src/lib/libbsp/sparc/erc32/clock/ckinit.c index fd05a2cf59..21c82de152 100644 --- a/c/src/lib/libbsp/sparc/erc32/clock/ckinit.c +++ b/c/src/lib/libbsp/sparc/erc32/clock/ckinit.c @@ -28,10 +28,6 @@ #include <rtems/timecounter.h> #include <rtems/score/sparcimpl.h> -#if SIMSPARC_FAST_IDLE==1 -#define CLOCK_DRIVER_USE_FAST_IDLE 1 -#endif - /* * The Real Time Clock Counter Timer uses this trap type. */ diff --git a/c/src/lib/libbsp/sparc/erc32/configure.ac b/c/src/lib/libbsp/sparc/erc32/configure.ac index 28c8f4b3d7..d6dabcebab 100644 --- a/c/src/lib/libbsp/sparc/erc32/configure.ac +++ b/c/src/lib/libbsp/sparc/erc32/configure.ac @@ -30,19 +30,6 @@ of test message) and then exit. In this case, the program returns control to the simulator command line before the program has even queued the output to the uart. Thus sis has no chance of getting the data out.]) -RTEMS_BSPOPTS_SET([SIMSPARC_FAST_IDLE],[*],[]) -RTEMS_BSPOPTS_HELP([SIMSPARC_FAST_IDLE], -[If defined, speed up the clock ticks while the idle task is running so - time spent in the idle task is minimized. This significantly reduces - the wall time required to execute the RTEMS test suites.]) - -RTEMS_BSPOPTS_SET([ENABLE_SIS_QUIRKS],[sis],[1]) -RTEMS_BSPOPTS_SET([ENABLE_SIS_QUIRKS],[*],[0]) -RTEMS_BSPOPTS_HELP([ENABLE_SIS_QUIRKS], -[If defined, then the SIS simulator specific code in the - BSP will be enabled. In particular, SIS requires special - initialization not used on real ERC32 hardware.]) - RTEMS_BSPOPTS_SET([BSP_POWER_DOWN_AT_FATAL_HALT],[*],[]) RTEMS_BSPOPTS_HELP([BSP_POWER_DOWN_AT_FATAL_HALT], [If defined, CPU is spinning on fatal exit. Otherwise generate system diff --git a/c/src/lib/libbsp/sparc/erc32/make/custom/sis.cfg b/c/src/lib/libbsp/sparc/erc32/make/custom/sis.cfg deleted file mode 100644 index 1f14475f50..0000000000 --- a/c/src/lib/libbsp/sparc/erc32/make/custom/sis.cfg +++ /dev/null @@ -1,5 +0,0 @@ -# -# Configuration file for the SPARC/ERC32 Simulator SIS -# - -include $(RTEMS_ROOT)/make/custom/erc32.cfg diff --git a/c/src/lib/libbsp/sparc/erc32/timer/timer.c b/c/src/lib/libbsp/sparc/erc32/timer/timer.c index 4cf638e735..05728f8acc 100644 --- a/c/src/lib/libbsp/sparc/erc32/timer/timer.c +++ b/c/src/lib/libbsp/sparc/erc32/timer/timer.c @@ -52,15 +52,9 @@ void benchmark_timer_initialize(void) } -#if ENABLE_SIS_QUIRKS -#define AVG_OVERHEAD 8 /* It typically takes 3.0 microseconds */ - /* to start/stop the timer. */ -#define LEAST_VALID 9 /* Don't trust a value lower than this */ -#else #define AVG_OVERHEAD 12 /* It typically takes 3.0 microseconds */ /* to start/stop the timer. */ #define LEAST_VALID 13 /* Don't trust a value lower than this */ -#endif benchmark_timer_t benchmark_timer_read(void) { |