| plan 9 kernel history: overview | file list | diff list |
1990/1002/gnot/dat.h (diff list | history)
| 1990/1002/sys/src/9/gnot/dat.h:101,107 – 1990/1004/sys/src/9/gnot/dat.h:101,107 (short | long | prev | next) | ||
| 1990/03091 | Mount *mnt; /* mount point that derived Chan */ ulong mountid; int fid; /* for devmnt */ | |
| 1990/1002 |
| |
| 1990/1004 | union { | |
| 1990/1002 | Stream *stream; /* for stream channels */ void *aux; }; | |
| 1990/1002/sys/src/9/gnot/dat.h:205,213 – 1990/1004/sys/src/9/gnot/dat.h:205,215 | ||
| 1990/03091 | struct Mach { int machno; /* physical id of processor */ | |
| 1990/1004 | ulong splpc; /* pc of last caller to splhi */ | |
| 1990/03091 | int mmask; /* 1<<m->machno */ ulong ticks; /* of the clock since boot time */ Proc *proc; /* current process on this processor */ | |
| 1990/1004 | Proc *lproc; /* last process on this processor */ | |
| 1990/03091 | Label sched; /* scheduler wakeup */ Lock alarmlock; /* access to alarm list */ void *alarm; /* alarms bound to this clock */ | |
| 1990/1002/sys/src/9/gnot/dat.h:316,321 – 1990/1004/sys/src/9/gnot/dat.h:318,324 | ||
| 1990/03091 | Proc *qnext; /* next process on queue for a QLock */ | |
| 1990/05313 | QLock *qlock; /* address of qlock being queued for DEBUG */ | |
| 1990/03091 | int state; | |
| 1990/1004 | int spin; /* spinning instead of unscheduled */ | |
| 1990/03091 | Page *upage; /* BUG: should be unlinked from page list */ Seg seg[NSEG]; | |
| 1990/0918 | ulong bssend; /* initial top of bss seg */ | |
| 1990/1002/sys/src/9/gnot/dat.h:340,347 – 1990/1004/sys/src/9/gnot/dat.h:343,364 | ||
| 1990/03091 | Rendez sleep; /* place for tsleep and syssleep */ int wokeup; /* whether sleep was interrupted */ ulong pc; /* DEBUG only */ | |
| 1990/1004 | int kp; /* true if a kernel process */ | |
| 1990/03091 | }; | |
| 1990/1004 | struct MMU { ulong va; ulong pa; }; #define NMMU 16 struct MMUCache { ulong next; MMU mmu[NMMU]; }; | |
| 1990/0621 | #define NERR 15 | |
| 1990/03091 | #define NNOTE 5 #define NFD 100 | |
| 1990/1002/sys/src/9/gnot/dat.h:365,370 – 1990/1004/sys/src/9/gnot/dat.h:382,388 | ||
| 1990/03091 | short nnote; short notified; /* sysnoted is due */ int (*notify)(void*, char*); | |
| 1990/1004 | MMUCache mc; | |
| 1990/03091 | void *ureg; }; | |
| 1990/1002/sys/src/9/gnot/dat.h:565,567 – 1990/1004/sys/src/9/gnot/dat.h:583,587 | ||
| 1990/03091 | extern char devchar[]; extern FPsave initfp; extern Mach mach0; | |
| 1990/1004 | extern void (*kprofp)(ulong); | |