From fbd8857d4d5edcbf97185d95fa57406d36e75b7b Mon Sep 17 00:00:00 2001 From: rtm Date: Thu, 30 Aug 2007 18:21:35 +0000 Subject: [PATCH] make new Homework 8 work --- console.c | 2 +- ide.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/console.c b/console.c index 486dfe9..7c6d317 100644 --- 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 7445797..afd9b3d 100644 --- 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; }