diff options
author | Igor V. Kovalenko <igor.v.kovalenko@gmail.com> | 2010-01-28 00:00:53 +0300 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-01-27 21:21:57 +0000 |
commit | 8f4efc55887957f7ca7d87d4a6b58463cfc9d0d6 (patch) | |
tree | cac494047ad326969d34cf031df75df424561c1c /translate-all.c | |
parent | 4f690853bb3053acc6de034b15170894afd9da4e (diff) |
sparc64: reimplement tick timers v4
sparc64 timer has tick counter which can be set and read,
and tick compare value used as deadline to fire timer interrupt.
The timer is not used as periodic timer, instead deadline
is set each time new timer interrupt is needed.
v3 -> v4:
- coding style
v2 -> v3:
- added missing timer debug output macro
- CPUTimer struct and typedef moved to cpu.h
- change CPU_SAVE_VERSION to 6, older save formats not supported
v1 -> v2:
- new conversion helpers cpu_to_timer_ticks and timer_to_cpu_ticks
- save offset from clock source to implement cpu_tick_set_count
- renamed struct sun4u_timer to CPUTimer
- load and save cpu timers
v0 -> v1:
- coding style
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'translate-all.c')
0 files changed, 0 insertions, 0 deletions