qemu/target-sparc
Igor V. Kovalenko 8f4efc5588 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>
2010-01-27 21:21:57 +00:00
..
cpu.h sparc64: reimplement tick timers v4 2010-01-27 21:21:57 +00:00
exec.h kill regs_to_env and env_to_regs 2010-01-19 16:31:02 -06:00
helper.c Sparc: improve CPU register dump 2010-01-17 16:51:57 +00:00
helper.h sparc64: use helper_wrpil to check pending irq on write 2010-01-08 17:14:11 +00:00
machine.c sparc64: reimplement tick timers v4 2010-01-27 21:21:57 +00:00
op_helper.c sparc32 fix np dereference in do_unassigned_access 2010-01-23 08:11:06 +00:00
TODO Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
translate.c sparc64: use helper_wrpil to check pending irq on write 2010-01-08 17:14:11 +00:00