From 5a79832221ccad00c28efcce12a109c869e0917b Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 27 Sep 2004 16:54:46 +0000 Subject: [PATCH] Comments. --- src/devices/disk.c | 3 +++ src/devices/serial.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2