ia64/xen-unstable

diff xen/include/asm-ia64/vmx.h @ 13964:38f7330d4807

[IA64] Cleanup in vmx.h

Cleanup: remove unused code.

Signed-off-by: Tristan Gingold <tgingold@free.fr>
author awilliam@xenbuild2.aw
date Sun Feb 18 16:08:11 2007 -0700 (2007-02-18)
parents 9576f09c9eff
children 6c938630de54
line diff
     1.1 --- a/xen/include/asm-ia64/vmx.h	Sun Feb 18 16:06:24 2007 -0700
     1.2 +++ b/xen/include/asm-ia64/vmx.h	Sun Feb 18 16:08:11 2007 -0700
     1.3 @@ -22,7 +22,6 @@
     1.4  #ifndef _ASM_IA64_VT_H
     1.5  #define _ASM_IA64_VT_H
     1.6  
     1.7 -#define RR7_SWITCH_SHIFT	12	/* 4k enough */
     1.8  #include <public/hvm/ioreq.h>
     1.9  #define vmx_user_mode(regs) (((struct ia64_psr *)&(regs)->cr_ipsr)->vm == 1)
    1.10  
    1.11 @@ -60,27 +59,4 @@ static inline vcpu_iodata_t *get_vio(str
    1.12  {
    1.13      return &((shared_iopage_t *)d->arch.vmx_platform.shared_page_va)->vcpu_iodata[cpu];
    1.14  }
    1.15 -
    1.16 -static inline shared_iopage_t *get_sp(struct domain *d)
    1.17 -{
    1.18 -    return (shared_iopage_t *)d->arch.vmx_platform.shared_page_va;
    1.19 -}
    1.20 -
    1.21 -typedef unsigned long (*vmx_mmio_read_t)(struct vcpu *v,
    1.22 -                                         unsigned long addr,
    1.23 -                                         unsigned long length);
    1.24 -
    1.25 -typedef void (*vmx_mmio_write_t)(struct vcpu *v,
    1.26 -                                 unsigned long addr,
    1.27 -                                 unsigned long length,
    1.28 -                                 unsigned long val);
    1.29 -
    1.30 -typedef int (*vmx_mmio_check_t)(struct vcpu *v, unsigned long addr);
    1.31 -
    1.32 -struct vmx_mmio_handler {
    1.33 -    vmx_mmio_check_t check_handler;
    1.34 -    vmx_mmio_read_t read_handler;
    1.35 -    vmx_mmio_write_t write_handler;
    1.36 -};
    1.37 -
    1.38  #endif /* _ASM_IA64_VT_H */