| plan 9 kernel history: overview | file list | diff list |
1992/0725/ss/dat.h (diff list | history)
| 1990/1223/sys/src/9/ss/dat.h:45,51 – 1990/1226/sys/src/9/ss/dat.h:45,51 (short | long) | ||
| 1990/1223 | struct Lock { | |
| 1990/1226 | ulong key; | |
| 1990/1223 | ulong pc; }; | |
| 1990/1223/sys/src/9/ss/dat.h:67,73 – 1990/1226/sys/src/9/ss/dat.h:67,72 | ||
| 1990/1223 | { ulong sp; ulong pc; | |
| 1990/1223/sys/src/9/ss/dat.h:216,224 – 1990/1226/sys/src/9/ss/dat.h:215,226 | ||
| 1990/1223 | Lock alarmlock; /* access to alarm list */ void *alarm; /* alarms bound to this clock */ int fpstate; /* state of fp registers on machine */ | |
| 1990/1226 | void (*intr)(ulong, ulong); /* !!Compatibility with mips!! */ | |
| 1990/1223 | ulong cause; /* ... */ ulong pc; /* ... */ | |
| 1990/1226 | char pidhere[NCONTEXT]; /* is this tlbpid possibly in this mmu? */ int lastpid; /* last pid allocated on this machine */ Proc *pidproc[NCONTEXT]; /* process that owns this pid on this mach */ | |
| 1990/1223 | int stack[1]; }; | |
| 1990/1223/sys/src/9/ss/dat.h:323,329 – 1990/1226/sys/src/9/ss/dat.h:325,330 | ||
| 1990/1223 | char text[NAMELEN]; Proc *rnext; /* next process in run queue */ Proc *qnext; /* next process on queue for a QLock */ | |
| 1990/1223/sys/src/9/ss/dat.h:347,353 – 1990/1226/sys/src/9/ss/dat.h:348,354 | ||
| 1990/1223 | int wokeup; /* whether sleep was interrupted */ ulong pc; /* DEBUG only */ int kp; /* true if a kernel process */ | |
| 1990/1226 | int pidonmach[MAXMACH]; /* TLB pid on each mmu */ | |
| 1990/1223 | }; struct MMU | |
| 1990/1223/sys/src/9/ss/dat.h:511,518 – 1990/1226/sys/src/9/ss/dat.h:512,519 | ||
| 1990/1223 | #define PRINTSIZE 256 | |
| 1990/1226 | extern register Mach *m; /* R6 */ extern register User *u; /* R5 */ | |
| 1990/1223 | /* * Process states | |
| 1990/1223/sys/src/9/ss/dat.h:609,613 – 1990/1226/sys/src/9/ss/dat.h:610,614 | ||
| 1990/1223 | /* * parameters for sysproc.c */ | |
| 1990/1226 | #define AOUT_MAGIC K_MAGIC | |
| 1990/1223 | #define ENTRYOFFSET 0 | |
| 1990/1226/sys/src/9/ss/dat.h:8,16 – 1990/1231/sys/src/9/ss/dat.h:8,19 (short | long) | ||
| 1990/1223 | typedef struct Env Env; typedef struct Envp Envp; typedef struct Envval Envval; | |
| 1990/1231 | typedef struct Etherpkt Etherpkt; | |
| 1990/1223 | typedef struct FFrame FFrame; typedef struct FPsave FPsave; typedef struct KMap KMap; | |
| 1990/1231 | typedef struct Lance Lance; typedef struct Lancemem Lancemem; | |
| 1990/1223 | typedef struct Label Label; typedef struct List List; typedef struct Lock Lock; | |
| 1990/1226/sys/src/9/ss/dat.h:19,25 – 1990/1231/sys/src/9/ss/dat.h:22,33 | ||
| 1990/1223 | typedef struct Mach Mach; typedef struct Mount Mount; typedef struct Mtab Mtab; | |
| 1990/1231 | typedef struct Noconv Noconv; typedef struct Nohdr Nohdr; typedef struct Noifc Noifc; | |
| 1990/1223 | typedef struct Note Note; | |
| 1990/1231 | typedef struct Nomsg Nomsg; typedef struct Nocall Nocall; | |
| 1990/1223 | typedef struct Orig Orig; typedef struct PTE PTE; typedef struct Page Page; | |
| 1990/1226/sys/src/9/ss/dat.h:146,151 – 1990/1231/sys/src/9/ss/dat.h:154,161 | ||
| 1990/1223 | int nbitmap; /* bitmap structs (devbit.c) */ int nbitbyte; /* bytes of bitmap data (devbit.c) */ int nfont; /* font structs (devbit.c) */ | |
| 1990/1231 | ulong nnoifc; /* number of nonet interfaces */ ulong nnoconv; /* number of nonet conversations/ifc */ | |
| 1990/1223 | int nurp; /* max urp conversations */ int nasync; /* number of async protocol modules */ int npipe; /* number of pipes */ | |
| 1990/1226/sys/src/9/ss/dat.h:497,502 – 1990/1231/sys/src/9/ss/dat.h:507,641 | ||
| 1990/1223 | Streambhi= 32, /* block count high water mark */ }; | |
| 1990/1231 | /* * Ethernet packet buffers. */ struct Etherpkt { uchar d[6]; uchar s[6]; uchar type[2]; uchar data[1500]; uchar crc[4]; }; /* * nonet constants */ enum { Nnomsg = 128, /* max number of outstanding messages */ Nnocalls = 5, /* maximum queued incoming calls */ }; /* * generic nonet header */ struct Nohdr { uchar circuit[3]; /* circuit number */ uchar flag; uchar mid; /* message id */ uchar ack; /* piggy back ack */ uchar remain[2]; /* count of remaing bytes of data */ uchar sum[2]; /* checksum (0 means none) */ }; #define NO_HDRSIZE 10 #define NO_NEWCALL 0x1 /* flag bit marking a new circuit */ #define NO_HANGUP 0x2 /* flag bit requesting hangup */ #define NO_ACKME 0x4 /* acknowledge this message */ #define NO_SERVICE 0x8 /* message includes a service name */ /* * a buffer describing a nonet message */ struct Nomsg { Blist; Rendez r; int mid; /* sequence number */ int rem; /* remaining */ long time; int acked; int inuse; }; /* * one exists for each Nonet conversation. */ struct Noconv { QLock; Stream *s; Queue *rq; /* input queue */ int version; /* incremented each time struct is changed */ int state; /* true if listening */ Nomsg in[Nnomsg]; /* messages being received */ int rcvcircuit; /* circuit number of incoming packets */ uchar ack[Nnomsg]; /* acknowledgements waiting to be sent */ int afirst; int anext; QLock xlock; /* one trasmitter at a time */ Rendez r; /* process waiting for an output mid */ Nomsg ctl; /* for control messages */ Nomsg ackmsg; /* for acknowledge messages */ QLock mlock; /* lock for out */ Nomsg out[Nnomsg]; /* messages being sent */ int first; /* first unacknowledged message */ int next; /* next message buffer to use */ int lastacked; /* last message acked */ Block *media; /* prototype media output header */ Nohdr *hdr; /* nonet header inside of media header */ Noifc *ifc; char raddr[NAMELEN]; /* remote address */ char ruser[NAMELEN]; /* remote user */ char addr[NAMELEN]; /* local address */ int rexmit; /* statistics */ int retry; int bad; int sent; int rcvd; }; /* * an incoming call */ struct Nocall { Block *msg; char raddr[NAMELEN]; long circuit; }; /* * a nonet interface. one exists for every stream that a * nonet multiplexor is pushed onto. */ struct Noifc { Lock; int ref; char name[NAMELEN]; /* interface name */ Queue *wq; /* interface output queue */ Noconv *conv; /* * media dependent */ int maxtu; /* maximum transfer unit */ int mintu; /* minimum transfer unit */ int hsize; /* media header size */ void (*connect)(Noconv *, char *); /* * calls and listeners */ QLock listenl; Rendez listenr; Lock lock; Nocall call[Nnocalls]; int rptr; int wptr; }; | |
| 1990/1223 | #define NSTUB 32 struct Service { | |
| 1990/1226/sys/src/9/ss/dat.h:509,514 – 1990/1231/sys/src/9/ss/dat.h:648,676 | ||
| 1990/1223 | char name[NAMELEN]; }; | |
| 1990/1231 | /* * system dependent lance stuff * filled by lancesetup() */ struct Lance { ushort lognrrb; /* log2 number of receive ring buffers */ ushort logntrb; /* log2 number of xmit ring buffers */ ushort nrrb; /* number of receive ring buffers */ ushort ntrb; /* number of xmit ring buffers */ ushort *rap; /* lance address register */ ushort *rdp; /* lance data register */ uchar ea[6]; /* our ether addr */ int sep; /* separation between shorts in lance ram as seen by host */ ushort *lanceram; /* start of lance ram as seen by host */ Lancemem *lm; /* start of lance ram as seen by lance */ Etherpkt *rp; /* receive buffers (host address) */ Etherpkt *tp; /* transmit buffers (host address) */ Etherpkt *lrp; /* receive buffers (lance address) */ Etherpkt *ltp; /* transmit buffers (lance address) */ }; | |
| 1990/1223 | #define PRINTSIZE 256 | |
| 1990/1231/sys/src/9/ss/dat.h:343,349 – 1991/0109/sys/src/9/ss/dat.h:343,349 (short | long) | ||
| 1990/1223 | ulong pid; int nchild; QLock wait; /* exiting children to be waited for */ | |
| 1991/0109 | Waitmsg waitmsg; /* this is large but must be addressable */ | |
| 1990/1223 | Proc *child; Proc *parent; Pgrp *pgrp; | |
| 1990/1231/sys/src/9/ss/dat.h:648,653 – 1991/0109/sys/src/9/ss/dat.h:648,659 | ||
| 1990/1223 | char name[NAMELEN]; }; | |
| 1991/0109 | /* * LANCE CSR3 (bus control bits) */ #define BSWP 0x4 #define ACON 0x2 #define BCON 0x1 | |
| 1990/1231 | /* * system dependent lance stuff | |
| 1990/1231/sys/src/9/ss/dat.h:661,666 – 1991/0109/sys/src/9/ss/dat.h:667,673 | ||
| 1990/1231 | ushort ntrb; /* number of xmit ring buffers */ ushort *rap; /* lance address register */ ushort *rdp; /* lance data register */ | |
| 1991/0109 | ushort busctl; /* bus control bits */ | |
| 1990/1231 | uchar ea[6]; /* our ether addr */ int sep; /* separation between shorts in lance ram as seen by host */ | |
| 1991/0109/sys/src/9/ss/dat.h:228,236 – 1991/0110/sys/src/9/ss/dat.h:228,236 (short | long) | ||
| 1990/1226 | void (*intr)(ulong, ulong); /* !!Compatibility with mips!! */ | |
| 1990/1223 | ulong cause; /* ... */ ulong pc; /* ... */ | |
| 1990/1226 |
| |
| 1991/0110 | char pidhere[NTLBPID]; /* is this tlbpid possibly in this mmu? */ | |
| 1990/1226 | int lastpid; /* last pid allocated on this machine */ | |
| 1991/0110 | Proc *pidproc[NTLBPID]; /* process that owns this pid on this mach */ | |
| 1990/1223 | int stack[1]; }; | |
| 1991/0109/sys/src/9/ss/dat.h:773,778 – 1991/0110/sys/src/9/ss/dat.h:773,779 | ||
| 1990/1223 | extern Mach mach0; extern char user[NAMELEN]; extern char *errstrtab[]; | |
| 1991/0110 | extern uchar *intrreg; | |
| 1990/1223 | extern void (*kprofp)(ulong); | |
| 1991/0110/sys/src/9/ss/dat.h:359,364 – 1991/0112/sys/src/9/ss/dat.h:359,365 (short | long) | ||
| 1990/1223 | ulong pc; /* DEBUG only */ int kp; /* true if a kernel process */ | |
| 1990/1226 | int pidonmach[MAXMACH]; /* TLB pid on each mmu */ | |
| 1991/0112 | int nmmuseg; /* number of segments active in mmu */ | |
| 1990/1223 | }; struct MMU | |
| 1991/0112/sys/src/9/ss/dat.h:117,127 – 1991/01151/sys/src/9/ss/dat.h:117,124 (short | long) | ||
| 1990/1223 | struct FPsave { | |
| 1991/01151 | long fsr; long fpreg[32+1]; /* +1 so we can double-align */ | |
| 1990/1223 | }; struct Conf | |
| 1991/0112/sys/src/9/ss/dat.h:734,740 – 1991/01151/sys/src/9/ss/dat.h:731,737 | ||
| 1990/1223 | { FPinit, FPactive, | |
| 1991/01151 | FPinactive, | |
| 1990/1223 | }; /* | |
| 1991/01151/sys/src/9/ss/dat.h:549,555 – 1991/0118/sys/src/9/ss/dat.h:549,555 (short | long) | ||
| 1990/1231 | Rendez r; int mid; /* sequence number */ int rem; /* remaining */ | |
| 1991/0118 | ulong time; | |
| 1990/1231 | int acked; int inuse; }; | |
| 1991/0118/sys/src/9/ss/dat.h:540,545 – 1991/0119/sys/src/9/ss/dat.h:540,546 (short | long) | ||
| 1990/1231 | #define NO_HANGUP 0x2 /* flag bit requesting hangup */ #define NO_ACKME 0x4 /* acknowledge this message */ #define NO_SERVICE 0x8 /* message includes a service name */ | |
| 1991/0119 | #define NO_RESET 0x10 /* reset the connection */ | |
| 1990/1231 | /* * a buffer describing a nonet message | |
| 1991/0119/sys/src/9/ss/dat.h:547,553 – 1991/0206/sys/src/9/ss/dat.h:547,552 (short | long) | ||
| 1990/1231 | */ struct Nomsg { Blist; | |
| 1991/0118 | ulong time; | |
| 1991/0206/sys/src/9/ss/dat.h:222,230 – 1991/0209/sys/src/9/ss/dat.h:222,227 (short | long) | ||
| 1990/1223 | Lock alarmlock; /* access to alarm list */ void *alarm; /* alarms bound to this clock */ int fpstate; /* state of fp registers on machine */ | |
| 1990/1226 |
| |
| 1990/1223 |
| |
| 1991/0110 | char pidhere[NTLBPID]; /* is this tlbpid possibly in this mmu? */ | |
| 1990/1226 | int lastpid; /* last pid allocated on this machine */ | |
| 1991/0110 | Proc *pidproc[NTLBPID]; /* process that owns this pid on this mach */ | |
| 1991/0209/sys/src/9/ss/dat.h:293,299 – 1991/0212/sys/src/9/ss/dat.h:293,299 (short | long) | ||
| 1990/1223 | char user[NAMELEN]; int nmtab; /* highest active mount table entry, +1 */ int nenv; /* highest active env table entry, +1 */ | |
| 1991/0212 | QLock debug; /* single access via devproc.c */ | |
| 1990/1223 | Mtab *mtab; Envp *etab; }; | |
| 1991/0212/sys/src/9/ss/dat.h:512,517 – 1991/0318/sys/src/9/ss/dat.h:512,518 (short | long) | ||
| 1990/1231 | uchar data[1500]; uchar crc[4]; }; | |
| 1991/0318 | #define ETHERMINMTU 60 /* minimum transmit size */ | |
| 1990/1231 | /* * nonet constants | |
| 1991/0318/sys/src/9/ss/dat.h:514,637 – 1991/0328/sys/src/9/ss/dat.h:514,519 (short | long) | ||
| 1990/1231 | }; | |
| 1991/0318 | #define ETHERMINMTU 60 /* minimum transmit size */ | |
| 1990/1231 |
| |
| 1991/0119 |
| |
| 1990/1231 |
| |
| 1991/0118 |
| |
| 1990/1231 |
| |
| 1990/1223 | #define NSTUB 32 struct Service { | |
| 1991/0328/sys/src/9/ss/dat.h:512,518 – 1991/0407/sys/src/9/ss/dat.h:512,520 (short | long) | ||
| 1990/1231 | uchar data[1500]; uchar crc[4]; }; | |
| 1991/0318 |
| |
| 1991/0407 | #define ETHERMINTU 60 /* minimum transmit size */ #define ETHERMAXTU 1514 /* maximum transmit size */ #define ETHERHDRSIZE 14 /* size of an ethernet header */ | |
| 1990/1231 | ||
| 1990/1223 | #define NSTUB 32 struct Service | |
| 1991/0407/sys/src/9/ss/dat.h:173,180 – 1991/0411/sys/src/9/ss/dat.h:173,180 (short | long) | ||
| 1990/1223 | Chan *(*open)(Chan*, int); void (*create)(Chan*, char*, int, ulong); void (*close)(Chan*); | |
| 1991/0411 | long (*read)(Chan*, void*, long, ulong); long (*write)(Chan*, void*, long, ulong ); | |
| 1990/1223 | void (*remove)(Chan*); void (*wstat)(Chan*, char*); }; | |
| 1991/0407/sys/src/9/ss/dat.h:478,483 – 1991/0411/sys/src/9/ss/dat.h:478,484 | ||
| 1990/1223 | QLock rdlock; /* read lock */ Queue *procq; /* write queue at process end */ Queue *devq; /* read queue at device end */ | |
| 1991/0411 | Block *err; /* error message from down stream */ | |
| 1990/1223 | }; #define RD(q) ((q)->other < (q) ? (q->other) : q) #define WR(q) ((q)->other > (q) ? (q->other) : q) | |
| 1991/0411/sys/src/9/ss/dat.h:92,98 – 1991/0413/sys/src/9/ss/dat.h:92,99 (short | long) | ||
| 1990/1223 | #define CHEXCL 0x20000000L struct Chan { | |
| 1991/0413 | QLock rdl; QLock wrl; | |
| 1990/1223 | Ref; union{ Chan *next; /* allocation */ | |
| 1991/0413/sys/src/9/ss/dat.h:178,183 – 1991/0419/sys/src/9/ss/dat.h:178,184 (short | long) | ||
| 1991/0411 | long (*write)(Chan*, void*, long, ulong ); | |
| 1990/1223 | void (*remove)(Chan*); void (*wstat)(Chan*, char*); | |
| 1991/0419 | Chan *(*clwalk)(Chan*, char*); | |
| 1990/1223 | }; struct Dirtab | |
| 1991/0419/sys/src/9/ss/dat.h:111,116 – 1991/0427/sys/src/9/ss/dat.h:111,117 (short | long) | ||
| 1990/1223 | Stream *stream; /* for stream channels */ void *aux; Qid pgrpid; /* for #p/notepg */ | |
| 1991/0427 | int mntindex; /* for devmnt */ | |
| 1990/1223 | }; Chan *mchan; /* channel to mounted server */ Qid mqid; /* qid of root of mount point */ | |
| 1991/0419/sys/src/9/ss/dat.h:178,184 – 1991/0427/sys/src/9/ss/dat.h:179,184 | ||
| 1991/0411 | long (*write)(Chan*, void*, long, ulong ); | |
| 1990/1223 | void (*remove)(Chan*); void (*wstat)(Chan*, char*); | |
| 1991/0419 |
| |
| 1990/1223 | }; struct Dirtab | |
| 1991/0419/sys/src/9/ss/dat.h:227,232 – 1991/0427/sys/src/9/ss/dat.h:227,241 | ||
| 1991/0110 | char pidhere[NTLBPID]; /* is this tlbpid possibly in this mmu? */ | |
| 1990/1226 | int lastpid; /* last pid allocated on this machine */ | |
| 1991/0110 | Proc *pidproc[NTLBPID]; /* process that owns this pid on this mach */ | |
| 1991/0427 | int tlbfault; int tlbpurge; int pfault; int cs; int syscall; int spinlock; int intr; | |
| 1990/1223 | int stack[1]; }; | |
| 1991/0427/sys/src/9/ss/dat.h:1,14 – 1991/0428/sys/src/9/ss/dat.h:1,4 (short | long) | ||
| 1990/1223 |
| |
| 1990/1231 |
| |
| 1990/1223 | typedef struct FFrame FFrame; typedef struct FPsave FPsave; typedef struct KMap KMap; | |
| 1991/0427/sys/src/9/ss/dat.h:15,56 – 1991/0428/sys/src/9/ss/dat.h:5,31 | ||
| 1990/1231 | typedef struct Lance Lance; typedef struct Lancemem Lancemem; | |
| 1990/1223 | typedef struct Label Label; | |
| 1990/1231 |
| |
| 1990/1223 |
| |
| 1990/1231 |
| |
| 1990/1223 |
| |
| 1991/0428 | #define MACHP(n) (n==0? &mach0 : *(Mach**)0) | |
| 1990/1223 | ||
| 1991/0428 | extern Mach mach0; extern void (*kprofp)(ulong); /* * parameters for sysproc.c */ #define AOUT_MAGIC K_MAGIC /* * machine dependent definitions used by ../port/dat.h */ | |
| 1990/1223 | struct Lock { | |
| 1990/1226 | ulong key; | |
| 1991/0427/sys/src/9/ss/dat.h:57,76 – 1991/0428/sys/src/9/ss/dat.h:32,37 | ||
| 1990/1223 | ulong pc; }; | |
| 1991/0427/sys/src/9/ss/dat.h:77,122 – 1991/0428/sys/src/9/ss/dat.h:38,53 | ||
| 1990/1223 | ulong pc; }; | |
| 1991/0428 | /* * floating point registers */ enum | |
| 1990/1223 | { | |
| 1991/0428 | FPinit, FPactive, FPinactive, | |
| 1990/1223 | }; | |
| 1991/0413 |
| |
| 1990/1223 |
| |
| 1991/0427 |
| |
| 1990/1223 |
| |
| 1991/01151 | long fsr; | |
| 1991/0427/sys/src/9/ss/dat.h:164,209 – 1991/0428/sys/src/9/ss/dat.h:95,105 | ||
| 1990/1223 | int copymode; /* 0 is copy on write, 1 is copy on reference */ }; | |
| 1991/0411 |
| |
| 1990/1223 |
| |
| 1991/0428 | #include "../port/portdat.h" | |
| 1990/1223 |
| |
| 1991/0428 | /* * machine dependent definitions not used by ../port/dat.h */ | |
| 1990/1223 | struct KMap { KMap *next; | |
| 1991/0427/sys/src/9/ss/dat.h:239,385 – 1991/0428/sys/src/9/ss/dat.h:135,140 | ||
| 1990/1223 | int stack[1]; }; | |
| 1991/0212 |
| |
| 1990/1223 |
| |
| 1991/0109 |
| |
| 1990/1223 |
| |
| 1990/1226 |
| |
| 1991/0112 |
| |
| 1990/1223 |
| |
| 1991/0427/sys/src/9/ss/dat.h:403,546 – 1991/0428/sys/src/9/ss/dat.h:158,167 | ||
| 1990/1223 | short nnote; short notified; /* sysnoted is due */ int (*notify)(void*, char*); | |
| 1991/0411 |
| |
| 1990/1223 |
| |
| 1990/1231 |
| |
| 1991/0407 |
| |
| 1990/1231 | ||
| 1990/1223 |
| |
| 1991/0109 |
| |
| 1991/0427/sys/src/9/ss/dat.h:571,676 – 1991/0428/sys/src/9/ss/dat.h:192,198 | ||
| 1990/1231 | Etherpkt *ltp; /* transmit buffers (lance address) */ }; | |
| 1990/1223 |
| |
| 1990/1226 | extern register Mach *m; /* R6 */ extern register User *u; /* R5 */ | |
| 1990/1223 |
| |
| 1991/01151 |
| |
| 1990/1223 |
| |
| 1991/0110 | extern uchar *intrreg; | |
| 1990/1223 |
| |
| 1990/1226 |
| |
| 1990/1223 |
| |
| 1991/0428/sys/src/9/ss/dat.h:6,12 – 1991/0507/sys/src/9/ss/dat.h:6,12 (short | long) | ||
| 1990/1231 | typedef struct Lancemem Lancemem; | |
| 1990/1223 | typedef struct Label Label; typedef struct Lock Lock; | |
| 1991/0507 | typedef struct PMMU PMMU; | |
| 1990/1223 | typedef struct Mach Mach; typedef struct Ureg Ureg; typedef struct User User; | |
| 1991/0428/sys/src/9/ss/dat.h:93,98 – 1991/0507/sys/src/9/ss/dat.h:93,107 | ||
| 1990/1223 | int nfsyschan; /* number of filsys open channels */ ulong maxialloc; /* maximum bytes used by ialloc */ int copymode; /* 0 is copy on write, 1 is copy on reference */ | |
| 1991/0507 | }; /* * mmu goo in the Proc structure */ struct PMMU { int pidonmach[MAXMACH]; int nmmuseg; /* number of segments active in mmu */ | |
| 1990/1223 | }; | |
| 1991/0428 | #include "../port/portdat.h" | |
| 1991/0507/sys/src/9/ss/dat.h:1,6 – 1991/0604/sys/src/9/ss/dat.h:1,8 (short | long) | ||
| 1990/1223 | typedef struct Conf Conf; typedef struct FFrame FFrame; typedef struct FPsave FPsave; | |
| 1991/0604 | typedef struct IOQ IOQ; typedef struct KIOQ KIOQ; | |
| 1990/1223 | typedef struct KMap KMap; | |
| 1990/1231 | typedef struct Lance Lance; typedef struct Lancemem Lancemem; | |
| 1991/0507/sys/src/9/ss/dat.h:107,112 – 1991/0604/sys/src/9/ss/dat.h:109,146 | ||
| 1991/0428 | #include "../port/portdat.h" | |
| 1990/1223 | ||
| 1991/0428 | /* | |
| 1991/0604 | * character based IO (mouse, keyboard, console screen) */ #define NQ 4096 struct IOQ { Lock; uchar buf[NQ]; uchar *in; uchar *out; int state; Rendez r; union{ void (*puts)(IOQ*, void*, int); /* output */ int (*putc)(IOQ*, int); /* input */ }; void *ptr; }; struct KIOQ { QLock; IOQ; int repeat; int c; int count; }; extern IOQ lineq; extern IOQ printq; extern IOQ mouseq; extern KIOQ kbdq; /* | |
| 1991/0428 | * machine dependent definitions not used by ../port/dat.h */ | |
| 1990/1223 | struct KMap | |
| 1991/0507/sys/src/9/ss/dat.h:205,207 – 1991/0604/sys/src/9/ss/dat.h:239,248 | ||
| 1990/1226 | extern register User *u; /* R5 */ | |
| 1990/1223 | ||
| 1991/0110 | extern uchar *intrreg; | |
| 1991/0604 | struct { Lock; short machs; short exiting; }active; | |
| 1991/0604/sys/src/9/ss/dat.h:1,8 – 1991/0606/sys/src/9/ss/dat.h:1,6 (short | long) | ||
| 1990/1223 | typedef struct Conf Conf; typedef struct FFrame FFrame; typedef struct FPsave FPsave; | |
| 1991/0604 |
| |
| 1990/1223 | typedef struct KMap KMap; | |
| 1990/1231 | typedef struct Lance Lance; typedef struct Lancemem Lancemem; | |
| 1991/0604/sys/src/9/ss/dat.h:109,146 – 1991/0606/sys/src/9/ss/dat.h:107,112 | ||
| 1991/0428 | #include "../port/portdat.h" | |
| 1990/1223 | ||
| 1991/0428 | /* | |
| 1991/0604 |
| |
| 1991/0428 | * machine dependent definitions not used by ../port/dat.h */ | |
| 1990/1223 | struct KMap | |
| 1991/0604/sys/src/9/ss/dat.h:246,248 – 1991/0606/sys/src/9/ss/dat.h:212,249 | ||
| 1991/0604 | short machs; short exiting; }active; | |
| 1991/0606 | /* * character based IO (mouse, keyboard, console screen) */ typedef struct IOQ IOQ; typedef struct KIOQ KIOQ; #define NQ 4096 struct IOQ { Lock; uchar buf[NQ]; uchar *in; uchar *out; int state; Rendez r; union{ void (*puts)(IOQ*, void*, int); /* output */ int (*putc)(IOQ*, int); /* input */ }; void *ptr; }; struct KIOQ { QLock; IOQ; int repeat; int c; int count; }; extern IOQ lineq; extern IOQ printq; extern IOQ mouseq; extern KIOQ kbdq; | |
| 1991/0606/sys/src/9/ss/dat.h:212,249 – 1991/0607/sys/src/9/ss/dat.h:212,214 (short | long) | ||
| 1991/0604 | short machs; short exiting; }active; | |
| 1991/0606 |
| |
| 1991/0607/sys/src/9/ss/dat.h:93,98 – 1991/0608/sys/src/9/ss/dat.h:93,99 (short | long) | ||
| 1990/1223 | int nfsyschan; /* number of filsys open channels */ ulong maxialloc; /* maximum bytes used by ialloc */ int copymode; /* 0 is copy on write, 1 is copy on reference */ | |
| 1991/0608 | int cntrlp; /* panic on ^P */ | |
| 1991/0507 | }; /* | |
| 1991/0608/sys/src/9/ss/dat.h:64,72 – 1991/0706/sys/src/9/ss/dat.h:64,73 (short | long) | ||
| 1990/1223 | ulong base0; /* base of bank 0 */ ulong base1; /* base of bank 1 */ ulong npage; /* total physical pages of memory */ | |
| 1991/0706 | ulong nseg; /* number of segments */ ulong nimage; /* number of page cache image headers */ ulong npagetab; /* number of pte tables */ ulong nswap; /* number of swap blocks */ | |
| 1990/1223 | int nalarm; /* alarms */ int nchan; /* channels */ int nenv; /* distinct environment values */ | |
| 1991/0608/sys/src/9/ss/dat.h:147,153 – 1991/0706/sys/src/9/ss/dat.h:148,153 | ||
| 1990/1223 | #define NERR 15 #define NNOTE 5 | |
| 1991/0608/sys/src/9/ss/dat.h:158,165 – 1991/0706/sys/src/9/ss/dat.h:158,163 | ||
| 1990/1223 | char elem[NAMELEN]; /* last name element from namec */ Chan *slash; Chan *dot; | |
| Too many diffs (26 > 25). Stopping. | ||