xv6-cs450/buf.h
rtm 4357207237 fix getblk to actually lock the block
no more cons_put system calls
usertests tests two processes writing files
2006-08-12 11:38:57 +00:00

8 lines
94 B
C

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