git: 9front

Download patch

ref: 649fada71a63c072cd29cbf3d1975b96335f727f
parent: c537be1db2c051ae78bb53a71a1e83ed5efea1dd
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Feb 7 19:23:18 EST 2014

pc64: bump segment limit to 64GB

--- a/sys/src/9/pc64/mem.h
+++ b/sys/src/9/pc64/mem.h
@@ -128,9 +128,9 @@
  */
 #define	PTEMAPMEM	(1024*1024)	
 #define	PTEPERTAB	(PTEMAPMEM/BY2PG)
-#define	SEGMAPSIZE	1984
+#define	SEGMAPSIZE	65536
 #define	SSEGMAPSIZE	16
-#define	PPN(x)		((x)&~((uintptr)BY2PG-1))
+#define	PPN(x)		((x)&~(BY2PG-1))
 
 /*
  *  physical MMU
--