changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > plan9front / sys/src/9/pc/memory.c

revision 7404: 6e0c926efd3b
parent 6642: 13a1a019eabf
child 7460: 3090130b6108
     1.1--- a/sys/src/9/pc/memory.c
     1.2+++ b/sys/src/9/pc/memory.c
     1.3@@ -224,6 +224,8 @@ rampage(void)
     1.4 {
     1.5 	ulong m;
     1.6 	
     1.7+	if(conf.mem[0].npage != 0)
     1.8+		return xspanalloc(BY2PG, BY2PG, 0);
     1.9 	m = mapalloc(&rmapram, 0, BY2PG, BY2PG);
    1.10 	if(m == 0)
    1.11 		return nil;