summaryrefslogtreecommitdiff
path: root/target-alpha/helper.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-07-16 06:45:57 -0700
committerRichard Henderson <rth@twiddle.net>2013-07-18 06:44:55 -0700
commit19e0cbb82ffab7220cdbcc78ab2c1dac823ce4e3 (patch)
treeb3c8ca6e9341d07c740a962ab17e92914301a448 /target-alpha/helper.h
parent6453a3a69488196f26d12654c6b148446abdf3d6 (diff)
downloadqemu-19e0cbb82ffab7220cdbcc78ab2c1dac823ce4e3.zip
target-alpha: Move alarm to vm_clock
Basing the alarm off the rtc_clock was silly. It leads to horrible spinning in the guest after being suspended and resumed, as it tries to catch up with lost ticks. This requires adding an accessor for reading the vm_clock too. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha/helper.h')
-rw-r--r--target-alpha/helper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-alpha/helper.h b/target-alpha/helper.h
index 3321fde916..0e425cfc08 100644
--- a/target-alpha/helper.h
+++ b/target-alpha/helper.h
@@ -114,7 +114,8 @@ DEF_HELPER_FLAGS_2(tbis, TCG_CALL_NO_RWG, void, env, i64)
DEF_HELPER_1(halt, void, i64);
-DEF_HELPER_FLAGS_0(get_time, TCG_CALL_NO_RWG, i64)
+DEF_HELPER_FLAGS_0(get_vmtime, TCG_CALL_NO_RWG, i64)
+DEF_HELPER_FLAGS_0(get_walltime, TCG_CALL_NO_RWG, i64)
DEF_HELPER_FLAGS_2(set_alarm, TCG_CALL_NO_RWG, void, env, i64)
#endif