commit fbd8857d4d5edcbf97185d95fa57406d36e75b7b
parent 37321196a4d2a3893422a9f628de41a8a128b47f
Author: rtm <rtm>
Date: Thu, 30 Aug 2007 18:21:35 +0000
make new Homework 8 work
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git 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
@@ -94,7 +94,6 @@ ide_intr(void)
acquire(&ide_lock);
if((b = ide_queue) == 0){
- cprintf("stray ide interrupt\n");
release(&ide_lock);
return;
}