make new Homework 8 work
This commit is contained in:
parent
37321196a4
commit
fbd8857d4d
2 changed files with 1 additions and 2 deletions
|
@ -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
1
ide.c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue