shithub: riscv

Download patch

ref: 2112ad6793fbf86600d1a4264197766f71808c45
parent: d8bcd6c8e4a31a407aebcc3e60cdf3630b0b3c5f
author: cinap_lenrek <[email protected]>
date: Thu Jun 11 17:26:26 EDT 2015

zynq: increase kernel memory for graphics

--- a/sys/src/9/zynq/main.c
+++ b/sys/src/9/zynq/main.c
@@ -190,7 +190,7 @@
 	conf.npage = 0;
 	for(i = 0; i < nelem(conf.mem); i++)
 		conf.npage += conf.mem[i].npage = (conf.mem[i].limit - conf.mem[i].base) >> PGSHIFT;
-	kmem = 100*1024*1024;
+	kmem = 200*1024*1024;
 	conf.upages = conf.npage - kmem/BY2PG;
 	kmem -= conf.upages*sizeof(Page)
 		+ conf.nproc*sizeof(Proc)