Browse Source

readme and web

pull/1/head
Rafael Zurita 6 years ago
parent
commit
22f2fe318b
  1. BIN
      include/.prototypes.h.swp
  2. 48
      include/conf.h

BIN
include/.prototypes.h.swp

Binary file not shown.

48
include/conf.h

@ -0,0 +1,48 @@
/* conf.h (GENERATED FILE; DO NOT EDIT) */
/* Device switch table declarations */
/* Device table entry */
struct dentry {
int32 dvnum;
int32 dvminor;
char dvname[10];
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 const __flash 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 */
#define EEPROM0 3 /* type eeprom */
/* Control block sizes */
#define Nnull 1
#define Ntty 1
#define Neeprom 1
#define Nnam 1
#define NDEVS 4
/* 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 NSEM 2 /* number of semaphores */
Loading…
Cancel
Save