target-alpha: Add high-resolution access to wall clock and an alarm.
authorRichard Henderson <rth@twiddle.net>
Thu, 28 Apr 2011 17:40:08 +0000 (10:40 -0700)
committerRichard Henderson <rth@twiddle.net>
Sat, 8 Oct 2011 15:49:09 +0000 (08:49 -0700)
commit0c8a784e332d9307e0cad955bf792382e638e740
tree5820b562c7b9eab3a3f71dc640502a09b028d632
parent7d430edc6d5c6e4ba7a4b02dc209cc750894b6f0
target-alpha: Add high-resolution access to wall clock and an alarm.

The alarm is a fully general one-shot time comparator, which will be
usable under Linux as a hrtimer source.  It's much more flexible than
the RTC source available on real hardware.

The wall clock allows the guest access to the host timekeeping.  Much
like the KVM wall clock source for other guests.

Both are accessed via the PALcode Cserve entry point.

Signed-off-by: Richard Henderson <rth@twiddle.net>
hw/alpha_typhoon.c
target-alpha/cpu.h
target-alpha/helper.h
target-alpha/op_helper.c
target-alpha/translate.c