xv6-cs450/dev.h

9 lines
132 B
C
Raw Normal View History

struct devsw {
2006-09-07 15:08:23 +02:00
int (*read)(int, char*, int);
int (*write)(int, char*, int);
};
extern struct devsw devsw[];
#define CONSOLE 1