| plan 9 kernel history: overview | file list | diff list |
2000/0516/mpc/mem.h (diff list | history)
| 1999/0812/sys/src/9/mpc/mem.h:83,95 – 2000/0516/sys/src/9/mpc/mem.h:83,89 (short | long | prev | next) | ||
| 1999/0121 | #define MACH 30 /* R30 is m-> */ #define USER 29 /* R29 is up-> */ | |
| 1999/0812/sys/src/9/mpc/mem.h:100,109 – 2000/0516/sys/src/9/mpc/mem.h:94,110 | ||
| 1999/0121 | #define PPN(x) ((x)&~(BY2PG-1)) /* | |
| 2000/0516 | * Fundamental addresses */ #define MACHADDR (KTZERO-MAXMACH*MACHSIZE) #define MACHP(n) ((Mach *)(MACHADDR+(n)*MACHSIZE)) #define UREGSIZE ((8+32)*4) /* | |
| 1999/0121 | * MMU */ | |
| 1999/0126 |
| |
| 1999/0121 | /* L1 table entry and Mx_TWC flags */ #define PTEWT (1<<1) /* write through */ #define PTE4K (0<<2) | |
| 1999/0812/sys/src/9/mpc/mem.h:119,129 – 2000/0516/sys/src/9/mpc/mem.h:120,137 | ||
| 1999/0121 | #define PTEKERNEL (0<<2) #define PTEUSER (1<<2) #define PTESIZE (1<<7) | |
| 1999/0126 |
| |
| 2000/0516 | #define NTLBPID 16 #define TLBPID(n) ((n)&(NTLBPID-1)) /* soft tlb */ #define STLBLOG 12 #define STLBSIZE (1<<STLBLOG) | |
| 1999/0126 | /* * portable MMU bits for fault.c - though still machine specific */ | |
| 1999/0608 |
| |
| 2000/0516 | #define PTEVALID (MMUPP|MMUV) | |
| 1999/0126 | #define PTEWRITE (2<<10) #define PTERONLY (3<<10) #define PTEUNCACHED (1<<4) | |
| 1999/0812/sys/src/9/mpc/mem.h:167,192 – 2000/0516/sys/src/9/mpc/mem.h:175,200 | ||
| 1999/0121 | #define UZERO 0 /* base of user address space */ #define UTZERO (UZERO+BY2PG) /* first address in user text */ #define KZERO 0x80000000 /* base of kernel address space */ | |
| 1999/0812 |
| |
| 2000/0516 | #define KTZERO 0x80010000 /* first address in kernel text */ | |
| 1999/0121 | #define USTKTOP (KZERO-BY2PG) /* byte just beyond user stack */ #define USTKSIZE (16*1024*1024) /* size of user stack */ #define TSTKTOP (USTKTOP-USTKSIZE) /* end of new stack in sysexec */ #define TSTKSIZ 100 | |
| 2000/0516 | #define CONFPARSED (KZERO+0x2000) | |
| 1999/0121 |
| |
| 1999/0609 |
| |
| 2000/0516 | #define INTMEM 0xff000000 #define ISAMEM 0xfe000000 #define FLASHMEM 0xff200000 | |
| 1999/0618 | #define SACMEM FLASHMEM + 0x80000 | |
| 1999/0608 |
| |
| 1999/0609 |
| |
| 2000/0516 | #define NVRAMMEM 0xfc000000 #define DRAMMEM 0x80000000 | |
| 1999/0121 | #define SIRAM (INTMEM+0xC00) | |
| 2000/0516 | #define DPBASE (DPRAM+DPLEN3) | |
| 1999/0121 | #define SCC1P (INTMEM+0x3C00) #define I2CP (INTMEM+0x3C80) | |