search for: platform_timer_lock

Displaying 1 result from an estimated 1 matches for "platform_timer_lock".

2007 May 15
3
[PATCH 1/12] Add suspend/resume to devices owned by Xen
...0,16 @@ struct cpu_time { static DEFINE_PER_CPU(struct cpu_time, cpu_time); +struct plt_timer_ops { + char* name; + int (*init)(void); + u64 (*read_count)(void); + void (*suspend)(void); + void (*resume)(void); +}; + +struct plt_timer_ops *cur_timer; + /* * Protected by platform_timer_lock, which must be acquired with interrupts * disabled because pit_overflow() is called from PIT ch0 interrupt context. @@ -68,7 +78,6 @@ static u64 platform_timer_stamp; static u64 platform_timer_stamp; static struct time_scale platform_timer_scale; static DEFINE_SPINLOCK(platform_timer_lock); -s...