aboutsummaryrefslogtreecommitdiff
path: root/sys/ia64/include/sal.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2002-04-22 06:35:40 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2002-04-22 06:35:40 +0000
commit1dc66a63cddaf9bac63d1c2fbea20c8d8e5ac55f (patch)
treefbb73902acfa12e2c3a8b9c3b73444f42bc58c66 /sys/ia64/include/sal.h
parent05da55ee504129ce989494e1aa482d0ef0525695 (diff)
downloadsrc-1dc66a63cddaf9bac63d1c2fbea20c8d8e5ac55f.tar.gz
src-1dc66a63cddaf9bac63d1c2fbea20c8d8e5ac55f.zip
Add state information types.
Notes
Notes: svn path=/head/; revision=95244
Diffstat (limited to 'sys/ia64/include/sal.h')
-rw-r--r--sys/ia64/include/sal.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/ia64/include/sal.h b/sys/ia64/include/sal.h
index c4ee7bfbfad7..40940f58e4ba 100644
--- a/sys/ia64/include/sal.h
+++ b/sys/ia64/include/sal.h
@@ -118,6 +118,13 @@ struct sal_ap_wakeup_descriptor {
#define SAL_OS_INIT 1
#define SAL_OS_BOOT_RENDEZ 2
+/* SAL_GET_STATE_INFO, SAL_GET_STATE_INFO_SIZE types */
+#define SAL_INFO_MCA 0
+#define SAL_INFO_INIT 1
+#define SAL_INFO_CMC 2
+#define SAL_INFO_CPE 3
+#define SAL_INFO_TYPES 4 /* number of types we know about */
+
struct ia64_sal_result {
int64_t sal_status;
u_int64_t sal_result[3];
@@ -127,7 +134,8 @@ typedef struct ia64_sal_result sal_entry_t
(u_int64_t, u_int64_t, u_int64_t, u_int64_t,
u_int64_t, u_int64_t, u_int64_t, u_int64_t);
-extern void ia64_sal_init(struct sal_system_table *saltab);
extern sal_entry_t *ia64_sal_entry;
+extern void ia64_sal_init(struct sal_system_table *saltab);
+
#endif /* _MACHINE_SAL_H_ */