summaryrefslogtreecommitdiff
path: root/buf.h
diff options
context:
space:
mode:
authorkaashoek <kaashoek>2006-09-08 14:36:44 +0000
committerkaashoek <kaashoek>2006-09-08 14:36:44 +0000
commit8e1d1ec934d5ebcd4d8208f88857be12c8a97a06 (patch)
tree9df339c0bcd494c2e60f63650cac001c62b1ebd2 /buf.h
parent50f88503664aae07e22e3ed2575853e396f909b5 (diff)
downloadxv6-labs-8e1d1ec934d5ebcd4d8208f88857be12c8a97a06.tar.gz
xv6-labs-8e1d1ec934d5ebcd4d8208f88857be12c8a97a06.tar.bz2
xv6-labs-8e1d1ec934d5ebcd4d8208f88857be12c8a97a06.zip
some comment changes
Diffstat (limited to 'buf.h')
-rw-r--r--buf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/buf.h b/buf.h
index a2a3ec1..ccf7f8b 100644
--- a/buf.h
+++ b/buf.h
@@ -6,5 +6,5 @@ struct buf {
struct buf *next;
uchar data[512];
};
-#define B_BUSY 0x1
-#define B_VALID 0x2
+#define B_BUSY 0x1 // buffer is locked by some process
+#define B_VALID 0x2 // buffer contains the data of the sector