X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdevices%2Fdisk.c;h=a3f26cfd8a4a2d5d7ade593e07db6d2c73111af7;hb=746e40c7342362a47f88d06e8147a2d5d5c19fff;hp=baf120864399f11a8c33ae27f37a41992b413cab;hpb=34a1a2cf11500505e74ae5796e88de0d8de00958;p=pintos-anon diff --git a/src/devices/disk.c b/src/devices/disk.c index baf1208..a3f26cf 100644 --- a/src/devices/disk.c +++ b/src/devices/disk.c @@ -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. */