make new Homework 8 work

This commit is contained in:
rtm 2007-08-30 18:21:35 +00:00
parent 37321196a4
commit fbd8857d4d
2 changed files with 1 additions and 2 deletions

View file

@ -71,7 +71,7 @@ cga_putc(int c)
crt[pos] = ' ' | 0x0700; crt[pos] = ' ' | 0x0700;
} }
static void void
cons_putc(int c) cons_putc(int c)
{ {
if(panicked){ if(panicked){

1
ide.c
View file

@ -94,7 +94,6 @@ ide_intr(void)
acquire(&ide_lock); acquire(&ide_lock);
if((b = ide_queue) == 0){ if((b = ide_queue) == 0){
cprintf("stray ide interrupt\n");
release(&ide_lock); release(&ide_lock);
return; return;
} }