blob: 0616f8631d66ba2d1a4abc0bdb583c9bc9072e5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#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;
}
|