summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorbellard2004-05-20 16:02:14 +0200
committerbellard2004-05-20 16:02:14 +0200
commit28ab0e2edb36685da7280b24e665962754d9e4ff (patch)
tree7b199a68728ce9eac44a67f8016fb282a0636df7 /tests
parentPIC reset fix (initial patch by Hidemi KAWAI) (diff)
downloadqemu-28ab0e2edb36685da7280b24e665962754d9e4ff.tar.gz
qemu-28ab0e2edb36685da7280b24e665962754d9e4ff.tar.xz
qemu-28ab0e2edb36685da7280b24e665962754d9e4ff.zip
added cpu_get_tsc()
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@837 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tests')
-rw-r--r--tests/qruncom.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/qruncom.c b/tests/qruncom.c
index 491ecbc60e..fcc069f6d0 100644
--- a/tests/qruncom.c
+++ b/tests/qruncom.c
@@ -55,6 +55,11 @@ int cpu_get_pic_interrupt(CPUState *env)
return -1;
}
+uint64_t cpu_get_tsc(CPUState *env)
+{
+ return 0;
+}
+
static void set_gate(void *ptr, unsigned int type, unsigned int dpl,
unsigned long addr, unsigned int sel)
{