2006-07-21 15:18:04 +02:00
|
|
|
struct buf {
|
|
|
|
int flags;
|
2006-08-12 13:38:57 +02:00
|
|
|
uint dev;
|
|
|
|
uint sector;
|
2006-08-13 00:34:13 +02:00
|
|
|
struct buf *prev;
|
|
|
|
struct buf *next;
|
2006-07-21 15:18:04 +02:00
|
|
|
uchar data[512];
|
|
|
|
};
|
|
|
|
#define B_BUSY 0x1
|
2006-08-12 19:17:35 +02:00
|
|
|
#define B_VALID 0x2
|