From: Ben Pfaff Date: Mon, 27 Sep 2004 16:54:46 +0000 (+0000) Subject: Comments. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34faba4d412c8d856d8d26dc9d82c0cf5b906d3c;p=pintos-anon Comments. --- 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. */ diff --git a/src/devices/serial.c b/src/devices/serial.c index 1d0607b..8dc7f18 100644 --- a/src/devices/serial.c +++ b/src/devices/serial.c @@ -9,7 +9,9 @@ /* Register definitions for the 16550A UART used in PCs. The 16550A has a lot more going on than shown here, but this - is all we need. */ + is all we need. + + Refer to [PC16650D] for hardware information. */ /* I/O port base address for the first serial port. */ #define IO_BASE 0x3f8