xv6-65oo2/buf.h
2006-08-12 22:34:13 +00:00

11 lines
154 B
C

struct buf {
int flags;
uint dev;
uint sector;
struct buf *prev;
struct buf *next;
uchar data[512];
};
#define B_BUSY 0x1
#define B_VALID 0x2