Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102826640
D39481.id120078.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
385 B
Referenced Files
None
Subscribers
None
D39481.id120078.diff
View Options
diff --git a/sys/cddl/dev/dtrace/riscv/dtrace_subr.c b/sys/cddl/dev/dtrace/riscv/dtrace_subr.c
--- a/sys/cddl/dev/dtrace/riscv/dtrace_subr.c
+++ b/sys/cddl/dev/dtrace/riscv/dtrace_subr.c
@@ -308,6 +308,9 @@
return (0);
}
+ if (match_opcode(invop, MATCH_C_NOP, MASK_C_NOP))
+ return (0);
+
#ifdef INVARIANTS
panic("Instruction %x doesn't match any opcode.", invop);
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 4:59 PM (21 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14701247
Default Alt Text
D39481.id120078.diff (385 B)
Attached To
Mode
D39481: dtrace: handle NOP instructions in RISC-V
Attached
Detach File
Event Timeline
Log In to Comment