Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178275059
D62360.1796398232.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1001 B
Referenced Files
None
Subscribers
None
D62360.1796398232.diff
View Options
diff --git a/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/fasttrap_isa.c b/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/fasttrap_isa.c
--- a/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/fasttrap_isa.c
+++ b/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/fasttrap_isa.c
@@ -37,12 +37,12 @@
#include <sys/sysent.h>
#define OP(x) ((x) >> 26)
-#define OPX(x) (((x) >> 2) & 0x3FF)
+#define OPX(x) (((x) >> 1) & 0x3FF)
#define OP_BO(x) (((x) & 0x03E00000) >> 21)
#define OP_BI(x) (((x) & 0x001F0000) >> 16)
#define OP_RS(x) (((x) & 0x03E00000) >> 21)
#define OP_RA(x) (((x) & 0x001F0000) >> 16)
-#define OP_RB(x) (((x) & 0x0000F100) >> 11)
+#define OP_RB(x) (((x) & 0x0000F800) >> 11)
int
fasttrap_tracepoint_install(proc_t *p, fasttrap_tracepoint_t *tp)
@@ -154,7 +154,7 @@
tp->ftt_bi = OP_BI(instr);
break;
case 16: /* bclr */
- tp->ftt_type = FASTTRAP_T_BCTR;
+ tp->ftt_type = FASTTRAP_T_BLR;
tp->ftt_bo = OP_BO(instr);
tp->ftt_bi = OP_BI(instr);
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 4, 3:30 PM (23 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42207879
Default Alt Text
D62360.1796398232.diff (1001 B)
Attached To
Mode
D62360: dtrace/powerpc: decode blr and bctr in the pid provider
Attached
Detach File
Event Timeline