shithub: riscv

Download patch

ref: 168acf6a2ff4f402c7f093ad89d71aaeab714352
parent: 4e8c03184992a548b6cba1cd32fc43e84c7c1304
author: adventuresin9 <adventuresin9@gmail.com>
date: Thu Mar 30 08:18:05 EDT 2023

removing tos from fpimips

--- a/sys/src/9/mt7688/dat.h
+++ b/sys/src/9/mt7688/dat.h
@@ -99,6 +99,8 @@
  */
 struct FPsave
 {
+	/* scratch space for kernel use (e.g., mips fp delay-slot execution) */
+	ulong	kscr[4];
 	/* /dev/proc expects the registers to be first in FPsave */
 	ulong	reg[Nfpregs];		/* the canonical bits */
 	union {