Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177378348
D25375.1794243770.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
818 B
Referenced Files
None
Subscribers
None
D25375.1794243770.diff
View Options
Index: devel/libpru/files/patch-ti__pru.c
===================================================================
--- devel/libpru/files/patch-ti__pru.c
+++ devel/libpru/files/patch-ti__pru.c
@@ -0,0 +1,19 @@
+--- ti-pru.c.orig 2015-08-20 00:27:25.000000000 +0200
++++ ti-pru.c 2020-06-20 21:41:00.989034000 +0200
+@@ -502,7 +502,7 @@
+ case TI_OP_MVI:
+ ti_reg_str(op3, c_op3, sizeof(c_op3));
+ ti_reg_str(op2, c_op2, sizeof(c_op2));
+- memmove(c_op2 + 1, c_op2, sizeof(c_op2));
++ memmove(c_op2 + 1, c_op2, sizeof(c_op2)-1);
+ c_op2[0] = '*';
+ break;
+ case TI_OP_JMP:
+@@ -516,6 +516,7 @@
+ snprintf(c_op1, sizeof(c_op1), "r%d.w0", op1 - 0xc0);
+ snprintf(c_op3, sizeof(c_op3), "r%d.w0", op3 - 0x80);
+ }
++ break;
+ case TI_OP_SLP:
+ if (op1 == 0x80)
+ snprintf(c_op1, sizeof(c_op1), "1");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 9, 5:02 PM (9 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41616893
Default Alt Text
D25375.1794243770.diff (818 B)
Attached To
Mode
D25375: Fix compile error in devel/libpru
Attached
Detach File
Event Timeline