shithub: riscv

Download patch

ref: 2ef69f42d8372d0efc046e590191d73573b545fa
parent: d1799f65ca4835cbb896f802b297b39e518b9cc6
author: cinap_lenrek <[email protected]>
date: Wed Dec 24 06:20:40 EST 2014

zynq: fix kernel configuration so it builds

--- a/sys/src/9/zynq/trap.c
+++ b/sys/src/9/zynq/trap.c
@@ -203,7 +203,7 @@
 			syscallfmt(scallnr, ureg->pc, (va_list) up->s.args);
 			s = splhi();
 			up->procctl = Proc_stopme;
-			procctl(up);
+			procctl();
 			splx(s);
 			startns = todget(nil);
 		}
@@ -234,7 +234,7 @@
 		sysretfmt(scallnr, (va_list) up->s.args, ret, startns, stopns);
 		s = splhi();
 		up->procctl = Proc_stopme;
-		procctl(up);
+		procctl();
 		splx(s);
 	}
 	
@@ -261,7 +261,7 @@
 	Note *n;
 
 	if(up->procctl)
-		procctl(up);
+		procctl();
 	if(up->nnote == 0)
 		return 0;
 
--- a/sys/src/9/zynq/zynq
+++ b/sys/src/9/zynq/zynq
@@ -26,7 +26,7 @@
 	etherzynq
 	ethermedium
 	loopbackmedium
-	usbehci usbehcizynq
+#	usbehci usbehcizynq
 
 misc
 	uartzynq
@@ -45,12 +45,8 @@
 port
 	int cpuserver = 0;
 
-boot boot
-	tcp
-	local
-
 bootdir
-	boot$CONF.out boot
 	/$objtype/bin/paqfs
 	/$objtype/bin/auth/factotum
+	boot
 	bootfs.paq