[armemu] fix the armemu build by adding timer routine and default config file
diff --git a/platform/armemu/timer.c b/platform/armemu/timer.c
index 4d209a4..4cc2b50 100644
--- a/platform/armemu/timer.c
+++ b/platform/armemu/timer.c
@@ -48,13 +48,23 @@
 	return NO_ERROR;
 }
 
+bigtime_t current_time_hires(void)
+{
+	bigtime_t time;
+	*REG(SYSINFO_TIME_LATCH) = 1;
+	time = *REG(SYSINFO_TIME_SECS) * 1000000ULL;
+	time += *REG(SYSINFO_TIME_USECS);
+
+	return time;
+}
+
 time_t current_time(void)
 {
 	time_t time;
 	*REG(SYSINFO_TIME_LATCH) = 1;
 	time = *REG(SYSINFO_TIME_SECS) * 1000;
 	time += *REG(SYSINFO_TIME_USECS) / 1000;
-			
+
 	return time;
 }
 
diff --git a/target/armemu/armemu.conf b/target/armemu/armemu.conf
new file mode 100644
index 0000000..7eaea5d
--- /dev/null
+++ b/target/armemu/armemu.conf
@@ -0,0 +1,14 @@
+[cpu]
+core = arm926ejs
+
+# the rom file is loaded at address 0x0
+[rom]
+file = lk.bin
+
+[system]
+display = no
+console = yes
+network = no
+
+[network]
+device = /dev/tap0
diff --git a/target/armemu/rules.mk b/target/armemu/rules.mk
index d79834a..4c7bdd1 100644
--- a/target/armemu/rules.mk
+++ b/target/armemu/rules.mk
@@ -4,3 +4,8 @@
 
 PLATFORM := armemu
 
+$(BUILDDIR)/armemu.conf: $(LOCAL_DIR)/armemu.conf
+	cp $< $@
+
+EXTRA_BUILDDEPS += $(BUILDDIR)/armemu.conf
+GENERATED += $(BUILDDIR)/armemu.conf