summaryrefslogtreecommitdiff
path: root/bsp/x86/drivers
diff options
context:
space:
mode:
authorparai.wang <[email protected]>2017-08-16 15:47:15 +0800
committerparai.wang <[email protected]>2017-08-16 15:47:15 +0800
commit5ba5ebc8bead73e22378a3843b75433eca4e036e (patch)
tree54287dfbded75e0ee43964448be656bbc9194d08 /bsp/x86/drivers
parentd6fa9f912d44d3a379db6378fedd701a6bd0dc88 (diff)
x86: host machine native gcc support and use qemu to run
Diffstat (limited to 'bsp/x86/drivers')
-rw-r--r--bsp/x86/drivers/board.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/bsp/x86/drivers/board.c b/bsp/x86/drivers/board.c
index 29589b0712..4d91604ab3 100644
--- a/bsp/x86/drivers/board.c
+++ b/bsp/x86/drivers/board.c
@@ -71,5 +71,12 @@ void reboot(void)
}
FINSH_FUNCTION_EXPORT(reboot, reboot PC)
#endif
-
+#ifdef RT_USING_DFS
+#include <time.h>
+time_t time(time_t* tm)
+{
+ (void)tm;
+ return 0;
+}
+#endif
/*@}*/