diff options
| -rw-r--r-- | sys/src/9/pc64/mem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/pc64/mem.h b/sys/src/9/pc64/mem.h index 9003863ca..8c3d610e5 100644 --- 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 |
