[Xen-changelog] [xen-unstable] [IA64] Cleanup in vmx.h

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Xen-changelog] [xen-unstable] [IA64] Cleanup in vmx.h

Xen patchbot-unstable
# HG changeset patch
# User [hidden email]
# Date 1171840091 25200
# Node ID 38f7330d4807bd2c5912581e5dec84a10d99760c
# Parent  54247a642f5e0eeeae1bcb12202fbbab946b58a7
[IA64] Cleanup in vmx.h

Cleanup: remove unused code.

Signed-off-by: Tristan Gingold <[hidden email]>
---
 xen/include/asm-ia64/vmx.h |   24 ------------------------
 1 files changed, 24 deletions(-)

diff -r 54247a642f5e -r 38f7330d4807 xen/include/asm-ia64/vmx.h
--- a/xen/include/asm-ia64/vmx.h Sun Feb 18 16:06:24 2007 -0700
+++ b/xen/include/asm-ia64/vmx.h Sun Feb 18 16:08:11 2007 -0700
@@ -22,7 +22,6 @@
 #ifndef _ASM_IA64_VT_H
 #define _ASM_IA64_VT_H
 
-#define RR7_SWITCH_SHIFT 12 /* 4k enough */
 #include <public/hvm/ioreq.h>
 #define vmx_user_mode(regs) (((struct ia64_psr *)&(regs)->cr_ipsr)->vm == 1)
 
@@ -60,27 +59,4 @@ static inline vcpu_iodata_t *get_vio(str
 {
     return &((shared_iopage_t *)d->arch.vmx_platform.shared_page_va)->vcpu_iodata[cpu];
 }
-
-static inline shared_iopage_t *get_sp(struct domain *d)
-{
-    return (shared_iopage_t *)d->arch.vmx_platform.shared_page_va;
-}
-
-typedef unsigned long (*vmx_mmio_read_t)(struct vcpu *v,
-                                         unsigned long addr,
-                                         unsigned long length);
-
-typedef void (*vmx_mmio_write_t)(struct vcpu *v,
-                                 unsigned long addr,
-                                 unsigned long length,
-                                 unsigned long val);
-
-typedef int (*vmx_mmio_check_t)(struct vcpu *v, unsigned long addr);
-
-struct vmx_mmio_handler {
-    vmx_mmio_check_t check_handler;
-    vmx_mmio_read_t read_handler;
-    vmx_mmio_write_t write_handler;
-};
-
 #endif /* _ASM_IA64_VT_H */

_______________________________________________
Xen-changelog mailing list
[hidden email]
http://lists.xensource.com/xen-changelog