]> Devi Nivas Git - cs3210-lab0.git/commitdiff
make new Homework 8 work
authorrtm <rtm>
Thu, 30 Aug 2007 18:21:35 +0000 (18:21 +0000)
committerrtm <rtm>
Thu, 30 Aug 2007 18:21:35 +0000 (18:21 +0000)
console.c
ide.c

index 486dfe98c1420703470e9766b3bd23dc709cb787..7c6d317fb8c734772a0eeb837e765714c99f207d 100644 (file)
--- a/console.c
+++ b/console.c
@@ -71,7 +71,7 @@ cga_putc(int c)
   crt[pos] = ' ' | 0x0700;
 }
 
-static void
+void
 cons_putc(int c)
 {
   if(panicked){
diff --git a/ide.c b/ide.c
index 74457978442d0a7fb3e18b97d3ab94c0f17cf1f5..afd9b3d03fff7a35e8d3427fdef7941b10928274 100644 (file)
--- a/ide.c
+++ b/ide.c
@@ -94,7 +94,6 @@ ide_intr(void)
 
   acquire(&ide_lock);
   if((b = ide_queue) == 0){
-    cprintf("stray ide interrupt\n");
     release(&ide_lock);
     return;
   }