diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-04-16 13:36:44 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-04-16 13:36:44 +0100 |
commit | a6a82232427382d33293c1594c99f4a43a406776 (patch) | |
tree | 4277578fa6924fede08c293aae35a0062448e064 /xen/include/asm-x86/hvm/support.h | |
parent | 5539f61f5bcfb9c20da2371750320439af330f1c (diff) | |
download | xen-a6a82232427382d33293c1594c99f4a43a406776.tar.gz xen-a6a82232427382d33293c1594c99f4a43a406776.tar.bz2 xen-a6a82232427382d33293c1594c99f4a43a406776.zip |
x86, hvm: Lots of MTRR/PAT emulation cleanup.
- Move MTRR MSR initialisation into hvmloader.
- Simplify initialisation logic by overlaying UC on default WB rather
than vice versa.
- Clean up hypervisor HVM MTRR/PAE code's interface with rest of
hypervisor.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/support.h')
-rw-r--r-- | xen/include/asm-x86/hvm/support.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hvm/support.h b/xen/include/asm-x86/hvm/support.h index 2ec00f2fb0..38a0025855 100644 --- a/xen/include/asm-x86/hvm/support.h +++ b/xen/include/asm-x86/hvm/support.h @@ -130,5 +130,7 @@ int hvm_set_efer(uint64_t value); int hvm_set_cr0(unsigned long value); int hvm_set_cr3(unsigned long value); int hvm_set_cr4(unsigned long value); +int hvm_msr_read_intercept(struct cpu_user_regs *regs); +int hvm_msr_write_intercept(struct cpu_user_regs *regs); #endif /* __ASM_X86_HVM_SUPPORT_H__ */ |