summaryrefslogtreecommitdiff
path: root/buf.h
blob: a2a3ec121c5ccceb1b6f3147466202a31da751ef (plain)
1
2
3
4
5
6
7
8
9
10
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