summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/common/kmdb/kaif_start.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/mdb/common/kmdb/kaif_start.h')
-rw-r--r--usr/src/cmd/mdb/common/kmdb/kaif_start.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/usr/src/cmd/mdb/common/kmdb/kaif_start.h b/usr/src/cmd/mdb/common/kmdb/kaif_start.h
index a0234cb493..40ddc252b5 100644
--- a/usr/src/cmd/mdb/common/kmdb/kaif_start.h
+++ b/usr/src/cmd/mdb/common/kmdb/kaif_start.h
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -30,7 +29,7 @@
#pragma ident "%Z%%M% %I% %E% SMI"
#include <sys/types.h>
-#include <kmdb/kaif_regs.h>
+#include <kmdb/kaif.h>
#ifdef __cplusplus
extern "C" {
@@ -40,6 +39,12 @@ extern int kaif_main_loop(kaif_cpusave_t *);
extern int kaif_master_cpuid;
+#define KAIF_MASTER_CPUID_UNSET -1
+
+#define KAIF_CPU_CMD_RESUME 0
+#define KAIF_CPU_CMD_RESUME_MASTER 1
+#define KAIF_CPU_CMD_SWITCH 2
+
#ifdef __cplusplus
}
#endif