summaryrefslogtreecommitdiffstats
path: root/runtime/user/emul.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/user/emul.h')
-rw-r--r--runtime/user/emul.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/user/emul.h b/runtime/user/emul.h
new file mode 100644
index 00000000..922c6e4c
--- /dev/null
+++ b/runtime/user/emul.h
@@ -0,0 +1,9 @@
+#define vscnprintf vsnprintf
+#define _stp_log printf
+
+#undef smp_processor_id
+#define smp_processor_id(x) 0
+
+#include <stdarg.h>
+unsigned long strtoul(const char *nptr, char **endptr, int base);
+#define simple_strtoul strtoul