shithub: riscv

Download patch

ref: 0e381493bfa4963c406cd6340ddcc0e43a4808e2
parent: e9af397dc7a178fba55477e58089723855b3a1af
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Feb 6 08:33:58 EST 2021

pc: increase number of Conf.mem[] entries from 4 to 16

--- a/sys/src/9/pc/dat.h
+++ b/sys/src/9/pc/dat.h
@@ -120,7 +120,7 @@
 	ulong	nmach;		/* processors */
 	ulong	nproc;		/* processes */
 	ulong	monitor;	/* has monitor? */
-	Confmem	mem[4];		/* physical memory */
+	Confmem	mem[16];	/* physical memory */
 	ulong	npage;		/* total physical pages of memory */
 	ulong	upages;		/* user page pool */
 	ulong	nimage;		/* number of page cache image headers */