ia64/xen-unstable

changeset 5482:efc42f95dc7f

bitkeeper revision 1.1713.2.3 (42b2ed68UZ_qqJ3Kcbs6rXI3ICn3SA)

Add ia64 version of evtchn_notify

Signed-off-by: Matt Chapman <matthewc@hp.com>
author djm@kirby.fc.hp.com
date Fri Jun 17 15:34:00 2005 +0000 (2005-06-17)
parents 8f10bad91451
children 7f51ede19020
files xen/include/asm-ia64/event.h xen/include/public/arch-ia64.h
line diff
     1.1 --- a/xen/include/asm-ia64/event.h	Fri Jun 17 15:26:47 2005 +0000
     1.2 +++ b/xen/include/asm-ia64/event.h	Fri Jun 17 15:34:00 2005 +0000
     1.3 @@ -11,6 +11,7 @@
     1.4  
     1.5  static inline void evtchn_notify(struct vcpu *v)
     1.6  {
     1.7 +	vcpu_pend_interrupt(v, v->vcpu_info->arch.evtchn_vector);
     1.8  }
     1.9  
    1.10  #endif
     2.1 --- a/xen/include/public/arch-ia64.h	Fri Jun 17 15:26:47 2005 +0000
     2.2 +++ b/xen/include/public/arch-ia64.h	Fri Jun 17 15:34:00 2005 +0000
     2.3 @@ -182,11 +182,11 @@ typedef struct {
     2.4  	unsigned long krs[8];	// kernel registers
     2.5  	unsigned long pkrs[8];	// protection key registers
     2.6  	unsigned long tmp[8];	// temp registers (e.g. for hyperprivops)
     2.7 +	int evtchn_vector;
     2.8  //} PACKED arch_vcpu_info_t;
     2.9  } arch_vcpu_info_t;		// DON'T PACK 
    2.10  
    2.11  typedef struct {
    2.12 -	int evtchn_vector;
    2.13  	int domain_controller_evtchn;
    2.14  	unsigned int flags;
    2.15  //} PACKED arch_shared_info_t;
    2.16 @@ -200,12 +200,22 @@ typedef struct vcpu_guest_context {
    2.17  
    2.18  #endif /* !__ASSEMBLY__ */
    2.19  
    2.20 -#define	XEN_HYPER_RFI			1
    2.21 -#define	XEN_HYPER_RSM_DT		2
    2.22 -#define	XEN_HYPER_SSM_DT		3
    2.23 -#define	XEN_HYPER_COVER			4
    2.24 -#define	XEN_HYPER_ITC_D			5
    2.25 -#define	XEN_HYPER_ITC_I			6
    2.26 -#define	XEN_HYPER_SSM_I			7
    2.27 +#define	XEN_HYPER_RFI			0x1
    2.28 +#define	XEN_HYPER_RSM_DT		0x2
    2.29 +#define	XEN_HYPER_SSM_DT		0x3
    2.30 +#define	XEN_HYPER_COVER			0x4
    2.31 +#define	XEN_HYPER_ITC_D			0x5
    2.32 +#define	XEN_HYPER_ITC_I			0x6
    2.33 +#define	XEN_HYPER_SSM_I			0x7
    2.34 +#define	XEN_HYPER_GET_IVR		0x8
    2.35 +#define	XEN_HYPER_GET_TPR		0x9
    2.36 +#define	XEN_HYPER_SET_TPR		0xa
    2.37 +#define	XEN_HYPER_EOI			0xb
    2.38 +#define	XEN_HYPER_SET_ITM		0xc
    2.39 +#define	XEN_HYPER_THASH			0xd
    2.40 +#define	XEN_HYPER_PTC_GA		0xe
    2.41 +#define	XEN_HYPER_ITR_D			0xf
    2.42 +#define	XEN_HYPER_GET_RR		0x10
    2.43 +#define	XEN_HYPER_SET_RR		0x11
    2.44  
    2.45  #endif /* __HYPERVISOR_IF_IA64_H__ */