Module Name: src
Committed By: riz
Date: Fri Oct 2 22:16:39 UTC 2015
Modified Files:
src/external/cddl/osnet/dist/uts/common/sys: dtrace.h
Log Message:
Restore some defines lost in last update, and don't include sys/cpuvar.h
MKDTRACE=yes now builds for arm platforms again.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 \
src/external/cddl/osnet/dist/uts/common/sys/dtrace.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/cddl/osnet/dist/uts/common/sys/dtrace.h
diff -u src/external/cddl/osnet/dist/uts/common/sys/dtrace.h:1.13 src/external/cddl/osnet/dist/uts/common/sys/dtrace.h:1.14
--- src/external/cddl/osnet/dist/uts/common/sys/dtrace.h:1.13 Thu Sep 24 19:55:00 2015
+++ src/external/cddl/osnet/dist/uts/common/sys/dtrace.h Fri Oct 2 22:16:38 2015
@@ -57,7 +57,6 @@ extern "C" {
#ifdef illumos
#include <sys/systm.h>
#else
-#include <sys/cpuvar.h>
#include <sys/proc.h>
#include <sys/param.h>
#include <sys/linker.h>
@@ -2450,6 +2449,18 @@ extern void dtrace_helpers_destroy(proc_
#define DTRACE_INVOP_POPM 2
#define DTRACE_INVOP_B 3
+#define DTRACE_INVOP_MOV_IP_SP 1
+#define DTRACE_INVOP_BX_LR 2
+#define DTRACE_INVOP_MOV_PC_LR 3
+#define DTRACE_INVOP_LDM 4
+#define DTRACE_INVOP_LDMIB 5
+#define DTRACE_INVOP_LDR_IMM 6
+#define DTRACE_INVOP_MOVW 7
+#define DTRACE_INVOP_MOV_IMM 8
+#define DTRACE_INVOP_CMP_IMM 9
+#define DTRACE_INVOP_B_LABEL 10
+#define DTRACE_INVOP_PUSH 11
+
#elif defined(__aarch64__)
#define INSN_SIZE 4