| plan 9 kernel history: overview | file list | diff list |
alphapc/mem.h (diff list | history)
| 1999/0415/sys/src/9/alphapc/mem.h:15,20 – 1999/0522/sys/src/9/alphapc/mem.h:15,21 (short | long) | ||
| 1999/0415 | #define PGSHIFT 13 /* log(BY2PG) */ #define ROUND(s, sz) (((s)+(sz-1))&~(sz-1)) #define PGROUND(s) ROUND(s, BY2PG) | |
| 1999/0522 | #define BLOCKALIGN 8 | |
| 1999/0415 | #define BY2PTE 8 /* bytes per pte entry */ #define PTE2PG (BY2PG/BY2PTE) /* pte entries per page */ | |
| 1999/0522/sys/src/9/alphapc/mem.h:30,36 – 2000/0726/sys/src/9/alphapc/mem.h:30,36 (short | long) | ||
| 1999/0415 | #define MS2HZ (1000/HZ) #define TK2SEC(t) ((t)/HZ) /* ticks to seconds */ #define TK2MS(t) ((t)*MS2HZ) /* ticks to milliseconds */ | |
| 2000/0726 | #define MS2TK(t) (((t)*HZ+500)/1000) /* milliseconds to closest tick */ | |
| 1999/0415 | /* * Magic registers | |
| 2000/0726/sys/src/9/alphapc/mem.h:29,35 – 2001/0727/sys/src/9/alphapc/mem.h:29,34 (short | long) | ||
| 1999/0415 | #define HZ 100 /* clock frequency */ #define MS2HZ (1000/HZ) #define TK2SEC(t) ((t)/HZ) /* ticks to seconds */ | |
| 2000/0726 | #define MS2TK(t) (((t)*HZ+500)/1000) /* milliseconds to closest tick */ | |
| 1999/0415 | /* | |
| 2001/0727/sys/src/9/alphapc/mem.h:29,35 – 2002/0326/sys/src/9/alphapc/mem.h:29,34 (short | long) | ||
| 1999/0415 | #define HZ 100 /* clock frequency */ #define MS2HZ (1000/HZ) #define TK2SEC(t) ((t)/HZ) /* ticks to seconds */ | |
| 2000/0726 |
| |
| 1999/0415 | /* * Magic registers | |