Comments.
[pintos-anon] / src / devices / disk.c
index baf120864399f11a8c33ae27f37a41992b413cab..a3f26cfd8a4a2d5d7ade593e07db6d2c73111af7 100644 (file)
@@ -8,6 +8,9 @@
 #include "threads/interrupt.h"
 #include "threads/synch.h"
 
+/* The code in this file is an interface to an ATA (IDE)
+   controller.  It attempts to comply to [ATA-3]. */
+
 /* ATA command block port addresses. */
 #define reg_data(CHANNEL) ((CHANNEL)->reg_base + 0)     /* Data. */
 #define reg_error(CHANNEL) ((CHANNEL)->reg_base + 1)    /* Error. */