search for: plt_timer_ops

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

2007 May 15
3
[PATCH 1/12] Add suspend/resume to devices owned by Xen
...-------------------------------------- -- */ diff -r 3ef0510e44d0 xen/arch/x86/time.c --- a/xen/arch/x86/time.c Tue May 08 10:21:23 2007 +0100 +++ b/xen/arch/x86/time.c Mon May 14 15:05:28 2007 -0400 @@ -60,6 +60,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 cal...