Hi,
This patch updates sn_sal.h to the latest 2.6.20 version (Linus' tree).
I'll be needing this for SN2 ACPI support.
Cheers,
Jes
# HG changeset patch
# User jes@xxxxxxxxxxxxxxxx
# Date 1172756235 -3600
# Node ID 7941568b1f894fb0e52f584550dd025a28fbcf1c
# Parent 297cdf44fc2d6f578a2f56976aedf296c039d119
Update sn_sal.h to latest 2.6.20 version
Signed-off-by: Jes Sorensen <jes@xxxxxxx>
diff -r 297cdf44fc2d -r 7941568b1f89
xen/include/asm-ia64/linux/asm/sn/README.origin
--- a/xen/include/asm-ia64/linux/asm/sn/README.origin Thu Mar 01 14:27:48
2007 +0100
+++ b/xen/include/asm-ia64/linux/asm/sn/README.origin Thu Mar 01 14:37:15
2007 +0100
@@ -18,7 +18,8 @@ simulator.h -> linux/include/asm-ia64/s
simulator.h -> linux/include/asm-ia64/sn/simulator.h
sn_cpuid.h -> linux/include/asm-ia64/sn/sn_cpuid.h
sn_feature_sets.h -> linux/include/asm-ia64/sn/sn_feature_sets.h
-sn_sal.h -> linux/include/asm-ia64/sn/sn_sal.h
tiocp.h -> linux/include/asm-ia64/sn/tiocp.h
xbow.h -> linux/arch/ia64/sn/include/xtalk/xbow.h
xwidgetdev.h -> linux/arch/ia64/sn/include/xtalk/xwidgetdev.h
+# from 2.6.20
+sn_sal.h -> linux/include/asm-ia64/sn/sn_sal.h
diff -r 297cdf44fc2d -r 7941568b1f89 xen/include/asm-ia64/linux/asm/sn/sn_sal.h
--- a/xen/include/asm-ia64/linux/asm/sn/sn_sal.h Thu Mar 01 14:27:48
2007 +0100
+++ b/xen/include/asm-ia64/linux/asm/sn/sn_sal.h Thu Mar 01 14:37:15
2007 +0100
@@ -77,6 +77,7 @@
#define SN_SAL_IOIF_GET_WIDGET_DMAFLUSH_LIST 0x02000058 // deprecated
#define SN_SAL_IOIF_GET_DEVICE_DMAFLUSH_LIST 0x0200005a
+#define SN_SAL_IOIF_INIT 0x0200005f
#define SN_SAL_HUB_ERROR_INTERRUPT 0x02000060
#define SN_SAL_BTE_RECOVER 0x02000061
#define SN_SAL_RESERVED_DO_NOT_USE 0x02000062
@@ -86,6 +87,8 @@
#define SN_SAL_SET_OS_FEATURE_SET 0x02000066
#define SN_SAL_INJECT_ERROR 0x02000067
#define SN_SAL_SET_CPU_NUMBER 0x02000068
+
+#define SN_SAL_KERNEL_LAUNCH_EVENT 0x02000069
/*
* Service-specific constants
@@ -1154,4 +1157,11 @@ ia64_sn_set_cpu_number(int cpu)
SAL_CALL_NOLOCK(rv, SN_SAL_SET_CPU_NUMBER, cpu, 0, 0, 0, 0, 0, 0);
return rv.status;
}
+static inline int
+ia64_sn_kernel_launch_event(void)
+{
+ struct ia64_sal_retval rv;
+ SAL_CALL_NOLOCK(rv, SN_SAL_KERNEL_LAUNCH_EVENT, 0, 0, 0, 0, 0, 0, 0);
+ return rv.status;
+}
#endif /* _ASM_IA64_SN_SN_SAL_H */
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|