From 6e01db401be4a19e6d81d9955d055e2f4e1b6aea Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 7 Apr 2005 15:14:32 +0000 Subject: Update. --- runtime/tests/test.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/tests/test.h b/runtime/tests/test.h index b36ad557..3139cfec 100644 --- a/runtime/tests/test.h +++ b/runtime/tests/test.h @@ -216,8 +216,19 @@ void *vmalloc (size_t len) #endif #define dlog(args...) printf(args); +#define _stp_log(args...) printf(args); -#include "../alloc.h" +#define STP_NUM_STRINGS 5 +#define NR_CPUS 2 + +int smp_processor_id(void) +{ + return 0; +} + +#define vscnprintf vsnprintf + +#include "../alloc.c" #include "../map.h" #include "../map.c" -- cgit