| plan 9 kernel history: overview | file list | diff list |
1991/0710/pc/mem.h (diff list | history)
| 1991/0710/sys/src/9/pc/mem.h:10,16 – 1991/0711/sys/src/9/pc/mem.h:10,16 (short | long | prev | next) | ||
| 1991/0625 | #define BY2WD 4 /* bytes per word */ #define BY2PG 4096 /* bytes per page */ #define WD2PG (BY2PG/BY2WD) /* words per page */ | |
| 1991/0711 | #define PGSHIFT 12 /* log(BY2PG) */ | |
| 1991/0625 | #define PGROUND(s) (((s)+(BY2PG-1))&~(BY2PG-1)) #define MAXMACH 1 /* max # cpus system can run */ | |
| 1991/0710/sys/src/9/pc/mem.h:47,53 – 1991/0711/sys/src/9/pc/mem.h:47,53 | ||
| 1991/0625 | #define MACHSIZE 4096 | |
| 1991/0711 | #define isphys(x) (((ulong)x)&KZERO) | |
| 1991/0625 | ||
| 1991/0613 | /* | |
| 1991/0706 | * known 80386 segments (in GDT) and their selectors | |
| 1991/0710/sys/src/9/pc/mem.h:101,111 – 1991/0711/sys/src/9/pc/mem.h:101,111 | ||
| 1991/0706 | #define PTEMAPMEM (1024*1024) /* ??? */ #define SEGMAPSIZE 16 /* ??? */ #define PTEPERTAB (PTEMAPMEM/BY2PG) /* ??? */ | |
| 1991/0711 | #define PPN(x) ((x)&~(BY2PG-1)) | |
| 1991/0710 | /* * physical MMU */ | |