From 405de1e6a2bcba579aa48262893ca3da7ccb5e54 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 1 May 2014 17:24:50 +0200 Subject: pc64: increase sizes of physical memory bank maps number of bank slots in Conf.mem[4] was too small for kenjis machine, set it to maximum 16 (the size of the RAM map in pc64/memory.c). also increasing the UPA memory map to 64. the e820 map on my x200s has 31 entries and many holes. this gets rid of the "mapfree: ... losing" messages on boot. --- sys/src/9/pc64/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/src/9/pc64/memory.c') diff --git a/sys/src/9/pc64/memory.c b/sys/src/9/pc64/memory.c index a9e9b9c28..37c611e00 100644 --- a/sys/src/9/pc64/memory.c +++ b/sys/src/9/pc64/memory.c @@ -44,7 +44,7 @@ struct RMap { /* * Memory allocation tracking. */ -static Map mapupa[16]; +static Map mapupa[64]; static RMap rmapupa = { "unallocated unbacked physical memory", mapupa, -- cgit v1.2.3