| plan 9 kernel history: overview | file list | diff list |
1992/0923/pc/dat.h (diff list | history)
| 1992/0918/sys/src/9/pc/dat.h:4,9 – 1992/0923/sys/src/9/pc/dat.h:4,10 (short | long | prev | next) | ||
|
Add PCArch. Comment edit. Remove machtype.
rsc Fri Mar 4 12:44:25 2005 | ||
| 1991/0612 | typedef struct Lock Lock; typedef struct MMU MMU; typedef struct Mach Mach; | |
| 1992/0923 | typedef struct PCArch PCArch; | |
| 1991/0717 | typedef struct Page Page; | |
| 1991/0612 | typedef struct PMMU PMMU; | |
| 1991/0703 | typedef struct Segdesc Segdesc; | |
| 1992/0918/sys/src/9/pc/dat.h:177,190 – 1992/0923/sys/src/9/pc/dat.h:178,203 | ||
| 1991/0612 | short exiting; }active; | |
| 1992/0923 | /* * routines for things outside the PC model, like power management */ struct PCArch { char *id; void (*reset)(void); /* this should be in the model */ int (*cpuspeed)(int); /* 0 = low, 1 = high */ void (*buzz)(int, int); /* make a noise */ void (*lights)(int); /* turn lights or icons on/off */ int (*serialpower)(int); /* 1 == on, 0 == off */ int (*modempower)(int); /* 1 == on, 0 == off */ int (*extvga)(int); /* 1 == external, 0 == internal */ }; | |
| 1991/0612 | extern Mach *m; extern User *u; | |
| 1991/0801 | extern int flipD[]; /* for flipping bitblt destination polarity */ | |
| 1991/1210 | ||
| 1992/0903 |
| |
| 1992/0923 | #define BOOTLINE ((char *)0x80000100) /* bootline passed by boot program */ | |
| 1992/0918 |
| |
| 1992/0923 | extern PCArch *arch; /* PC architecture */ | |