shithub: riscv

Download patch

ref: 970710ce92a363153637b0e176b66ac9cacfc929
parent: c476bb76e5163d7105679b52569a50806bd95349
author: cinap_lenrek <[email protected]>
date: Thu May 11 05:02:41 EDT 2023

zynq: fix plcopy() source pointer increment

--- a/sys/src/9/zynq/devarch.c
+++ b/sys/src/9/zynq/devarch.c
@@ -262,6 +262,7 @@
 		cleandse(plbuf, plbuf + nn);
 		clean2pa(pa, pa + nn);
 		n -= plwrite(pa, nn);
+		d += nn;
 	}
 
 	qunlock(&plwlock);