ia64/xen-unstable

changeset 14075:f21250323a30

[IA64] Update sn_sal.h to latest 2.6.20 version

Signed-off-by: Jes Sorensen <jes@sgi.com>
author awilliam@xenbuild2.aw
date Thu Mar 01 10:31:58 2007 -0700 (2007-03-01)
parents b3e19f3092b6
children 0deb53ff4b67
files xen/include/asm-ia64/linux/asm/sn/README.origin xen/include/asm-ia64/linux/asm/sn/sn_sal.h
line diff
     1.1 --- a/xen/include/asm-ia64/linux/asm/sn/README.origin	Wed Feb 28 11:02:16 2007 -0700
     1.2 +++ b/xen/include/asm-ia64/linux/asm/sn/README.origin	Thu Mar 01 10:31:58 2007 -0700
     1.3 @@ -18,7 +18,8 @@ shubio.h		-> linux/include/asm-ia64/sn/s
     1.4  simulator.h		-> linux/include/asm-ia64/sn/simulator.h
     1.5  sn_cpuid.h		-> linux/include/asm-ia64/sn/sn_cpuid.h
     1.6  sn_feature_sets.h	-> linux/include/asm-ia64/sn/sn_feature_sets.h
     1.7 -sn_sal.h		-> linux/include/asm-ia64/sn/sn_sal.h
     1.8  tiocp.h			-> linux/include/asm-ia64/sn/tiocp.h
     1.9  xbow.h			-> linux/arch/ia64/sn/include/xtalk/xbow.h
    1.10  xwidgetdev.h		-> linux/arch/ia64/sn/include/xtalk/xwidgetdev.h
    1.11 +# from 2.6.20
    1.12 +sn_sal.h		-> linux/include/asm-ia64/sn/sn_sal.h
     2.1 --- a/xen/include/asm-ia64/linux/asm/sn/sn_sal.h	Wed Feb 28 11:02:16 2007 -0700
     2.2 +++ b/xen/include/asm-ia64/linux/asm/sn/sn_sal.h	Thu Mar 01 10:31:58 2007 -0700
     2.3 @@ -77,6 +77,7 @@
     2.4  #define  SN_SAL_IOIF_GET_WIDGET_DMAFLUSH_LIST	   0x02000058	// deprecated
     2.5  #define  SN_SAL_IOIF_GET_DEVICE_DMAFLUSH_LIST	   0x0200005a
     2.6  
     2.7 +#define SN_SAL_IOIF_INIT			   0x0200005f
     2.8  #define SN_SAL_HUB_ERROR_INTERRUPT		   0x02000060
     2.9  #define SN_SAL_BTE_RECOVER			   0x02000061
    2.10  #define SN_SAL_RESERVED_DO_NOT_USE		   0x02000062
    2.11 @@ -87,6 +88,8 @@
    2.12  #define  SN_SAL_INJECT_ERROR			   0x02000067
    2.13  #define  SN_SAL_SET_CPU_NUMBER			   0x02000068
    2.14  
    2.15 +#define  SN_SAL_KERNEL_LAUNCH_EVENT		   0x02000069
    2.16 +
    2.17  /*
    2.18   * Service-specific constants
    2.19   */
    2.20 @@ -1154,4 +1157,11 @@ ia64_sn_set_cpu_number(int cpu)
    2.21  	SAL_CALL_NOLOCK(rv, SN_SAL_SET_CPU_NUMBER, cpu, 0, 0, 0, 0, 0, 0);
    2.22  	return rv.status;
    2.23  }
    2.24 +static inline int
    2.25 +ia64_sn_kernel_launch_event(void)
    2.26 +{
    2.27 + 	struct ia64_sal_retval rv;
    2.28 +	SAL_CALL_NOLOCK(rv, SN_SAL_KERNEL_LAUNCH_EVENT, 0, 0, 0, 0, 0, 0, 0);
    2.29 +	return rv.status;
    2.30 +}
    2.31  #endif /* _ASM_IA64_SN_SN_SAL_H */