ia64/xen-unstable

diff xen/include/asm-x86/hvm/support.h @ 18026:f454f2cac170

x86 hvm: New boot option 'softtsc' to cause RDTSC to be trapped-and-emulated.

Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jul 10 15:45:18 2008 +0100 (2008-07-10)
parents cd5dc735bdf3
children
line diff
     1.1 --- a/xen/include/asm-x86/hvm/support.h	Thu Jul 10 15:32:18 2008 +0100
     1.2 +++ b/xen/include/asm-x86/hvm/support.h	Thu Jul 10 15:45:18 2008 +0100
     1.3 @@ -125,6 +125,9 @@ int hvm_do_hypercall(struct cpu_user_reg
     1.4  void hvm_hlt(unsigned long rflags);
     1.5  void hvm_triple_fault(void);
     1.6  
     1.7 +extern int opt_softtsc;
     1.8 +void hvm_rdtsc_intercept(struct cpu_user_regs *regs);
     1.9 +
    1.10  /* These functions all return X86EMUL return codes. */
    1.11  int hvm_set_efer(uint64_t value);
    1.12  int hvm_set_cr0(unsigned long value);