ia64/xen-unstable

changeset 5471:cdc79b5d87d4

bitkeeper revision 1.1709.1.16 (42b1d2ecGSNeZhThHshE903eA1tK-Q)

Add arch-dep notification hook (per discussion on xen-devel)
needed for ia64 and VTi/x.
Signed-off-by: Matt Chapman <matthewc@hp.com>
author djm@kirby.fc.hp.com
date Thu Jun 16 19:28:44 2005 +0000 (2005-06-16)
parents 11fc43f1fef2
children 38763dfb2287
files .rootkeys xen/include/asm-ia64/event.h xen/include/asm-x86/event.h xen/include/xen/event.h
line diff
     1.1 --- a/.rootkeys	Thu Jun 16 19:13:47 2005 +0000
     1.2 +++ b/.rootkeys	Thu Jun 16 19:28:44 2005 +0000
     1.3 @@ -1359,6 +1359,7 @@ 421098b6Y3xqcv873Gvg1rQ5CChfFw xen/inclu
     1.4  421098b6ZcIrn_gdqjUtdJyCE0YkZQ xen/include/asm-ia64/debugger.h
     1.5  421098b6z0zSuW1rcSJK1gR8RUi-fw xen/include/asm-ia64/dom_fw.h
     1.6  421098b6Nn0I7hGB8Mkd1Cis0KMkhA xen/include/asm-ia64/domain.h
     1.7 +42b1d2d0rkNCmG2nFOnL-OfhJG9mDw xen/include/asm-ia64/event.h
     1.8  4241e880hAyo_dk0PPDYj3LsMIvf-Q xen/include/asm-ia64/flushtlb.h
     1.9  421098b6X3Fs2yht42TE2ufgKqt2Fw xen/include/asm-ia64/ia64_int.h
    1.10  421098b7psFAn8kbeR-vcRCdc860Vw xen/include/asm-ia64/init.h
    1.11 @@ -1406,6 +1407,7 @@ 3ddb79c34BFiXjBJ_cCKB0aCsV1IDw xen/inclu
    1.12  40715b2dTokMLYGSuD58BnxOqyWVew xen/include/asm-x86/div64.h
    1.13  4204e7acwzqgXyTAPKa1nM-L7Ec0Qw xen/include/asm-x86/domain.h
    1.14  41d3eaaeIBzW621S1oa0c2yk7X43qQ xen/include/asm-x86/e820.h
    1.15 +42b1d2caFkOByU5n4LuMnT05f3kJFg xen/include/asm-x86/event.h
    1.16  3ddb79c3NU8Zy40OTrq3D-i30Y3t4A xen/include/asm-x86/fixmap.h
    1.17  3e2d29944GI24gf7vOP_7x8EyuqxeA xen/include/asm-x86/flushtlb.h
    1.18  4294b5eep4lWuDtYUR74gYwt-_FnHA xen/include/asm-x86/genapic.h
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xen/include/asm-ia64/event.h	Thu Jun 16 19:28:44 2005 +0000
     2.3 @@ -0,0 +1,16 @@
     2.4 +/******************************************************************************
     2.5 + * event.h
     2.6 + *
     2.7 + * A nice interface for passing asynchronous events to guest OSes.
     2.8 + * (architecture-dependent part)
     2.9 + *
    2.10 + */
    2.11 +
    2.12 +#ifndef __ASM_EVENT_H__
    2.13 +#define __ASM_EVENT_H__
    2.14 +
    2.15 +static inline void evtchn_notify(struct vcpu *v)
    2.16 +{
    2.17 +}
    2.18 +
    2.19 +#endif
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/xen/include/asm-x86/event.h	Thu Jun 16 19:28:44 2005 +0000
     3.3 @@ -0,0 +1,16 @@
     3.4 +/******************************************************************************
     3.5 + * event.h
     3.6 + *
     3.7 + * A nice interface for passing asynchronous events to guest OSes.
     3.8 + * (architecture-dependent part)
     3.9 + *
    3.10 + */
    3.11 +
    3.12 +#ifndef __ASM_EVENT_H__
    3.13 +#define __ASM_EVENT_H__
    3.14 +
    3.15 +static inline void evtchn_notify(struct vcpu *v)
    3.16 +{
    3.17 +}
    3.18 +
    3.19 +#endif
     4.1 --- a/xen/include/xen/event.h	Thu Jun 16 19:13:47 2005 +0000
     4.2 +++ b/xen/include/xen/event.h	Thu Jun 16 19:28:44 2005 +0000
     4.3 @@ -13,6 +13,7 @@
     4.4  #include <xen/sched.h>
     4.5  #include <xen/smp.h>
     4.6  #include <asm/bitops.h>
     4.7 +#include <asm/event.h>
     4.8  
     4.9  /*
    4.10   * EVENT-CHANNEL NOTIFICATIONS
    4.11 @@ -34,6 +35,7 @@ static inline void evtchn_set_pending(st
    4.12      {
    4.13          /* The VCPU pending flag must be set /after/ update to evtchn-pend. */
    4.14          set_bit(0, &v->vcpu_info->evtchn_upcall_pending);
    4.15 +        evtchn_notify(v);
    4.16  
    4.17          /*
    4.18           * NB1. 'vcpu_flags' and 'processor' must be checked /after/ update of