summaryrefslogtreecommitdiff
path: root/software/dhrystone/dhry_stubs.c
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-03-07 09:29:05 -0800
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-03-07 09:29:05 -0800
commitd9c3fba928162e7a89349f8b160eb479ad41cbea (patch)
tree258c5e97139d68ccb4a760d7ca0fffa231bf392c /software/dhrystone/dhry_stubs.c
parentf695df295da82c8ef801906ad8b00b0e8afa7502 (diff)
Remove legacy examples
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
Diffstat (limited to 'software/dhrystone/dhry_stubs.c')
-rw-r--r--software/dhrystone/dhry_stubs.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/software/dhrystone/dhry_stubs.c b/software/dhrystone/dhry_stubs.c
deleted file mode 100644
index 0616f86..0000000
--- a/software/dhrystone/dhry_stubs.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include "platform.h"
-
-/* The functions in this file are only meant to support Dhrystone on an
- * embedded RV32 system and are obviously incorrect in general. */
-
-long time(void)
-{
- return get_timer_value() / get_timer_freq();
-}
-
-// set the number of dhrystone iterations
-void __wrap_scanf(const char* fmt, int* n)
-{
- *n = 100000000;
-}