summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrtm <rtm>2007-08-30 18:21:35 +0000
committerrtm <rtm>2007-08-30 18:21:35 +0000
commitfbd8857d4d5edcbf97185d95fa57406d36e75b7b (patch)
treeb827594f6bb196d01318b426c8feb038d40e4c07
parent37321196a4d2a3893422a9f628de41a8a128b47f (diff)
downloadxv6-labs-fbd8857d4d5edcbf97185d95fa57406d36e75b7b.tar.gz
xv6-labs-fbd8857d4d5edcbf97185d95fa57406d36e75b7b.tar.bz2
xv6-labs-fbd8857d4d5edcbf97185d95fa57406d36e75b7b.zip
make new Homework 8 work
-rw-r--r--console.c2
-rw-r--r--ide.c1
2 files changed, 1 insertions, 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;
}