/* conf.h (GENERATED FILE; DO NOT EDIT) */ /* Device switch table declarations */ /* Device table entry */ struct dentry { int32 dvnum; int32 dvminor; char dvname[16]; devcall (*dvinit) (struct dentry *); devcall (*dvopen) (struct dentry *, char *, char *); devcall (*dvclose)(struct dentry *); devcall (*dvread) (struct dentry *, void *, uint32); devcall (*dvwrite)(struct dentry *, void *, uint32); devcall (*dvseek) (struct dentry *, int32); devcall (*dvgetc) (struct dentry *); devcall (*dvputc) (struct dentry *, char); devcall (*dvcntl) (struct dentry *, int32, int32, int32); void *dvcsr; void (*dvintr)(void); byte dvirq; }; extern struct dentry devtab[]; /* one entry per device */ /* Device name definitions */ #define CONSOLE 0 /* type tty */ #define NULLDEV 1 /* type null */ #define NAMESPACE 2 /* type nam */ /* Control block sizes */ #define Nnull 1 #define Ntty 1 #define Nnam 1 #define NDEVS 3 /* Configuration and Size Constants */ #define NPROC 4 /* number of user processes */ // RAFA #define NSEM 4 /* number of semaphores */ #define NSEM 2 /* number of semaphores */ #define IRQBASE 32 /* base ivec for IRQ0 */ #define IRQ_TIMER IRQ_HW5 /* timer IRQ is wired to hardware 5 */ #define IRQ_ATH_MISC IRQ_HW4 /* Misc. IRQ is wired to hardware 4 */ #define CLKFREQ 200000000 /* 200 MHz clock */ // #define LF_DISK_DEV RAM0