8ae0 instead of 8e00, thanks yandong
This commit is contained in:
parent
5e710e688e
commit
7d7465a858
1
bio.c
1
bio.c
|
@ -109,6 +109,7 @@ bread(uint dev, uint sector)
|
|||
void
|
||||
bwrite(struct buf *b)
|
||||
{
|
||||
cprintf("bwrite sector %d\n", b->sector);
|
||||
if((b->flags & B_BUSY) == 0)
|
||||
panic("bwrite");
|
||||
b->flags |= B_DIRTY;
|
||||
|
|
|
@ -75,7 +75,7 @@ start32:
|
|||
movw $0x8a00, %ax # 0x8a00 -> port 0x8a00
|
||||
movw %ax, %dx
|
||||
outw %ax, %dx
|
||||
movw $0x8e00, %ax # 0x8e00 -> port 0x8a00
|
||||
movw $0x8ae0, %ax # 0x8ae0 -> port 0x8a00
|
||||
outw %ax, %dx
|
||||
spin:
|
||||
jmp spin
|
||||
|
|
|
@ -69,7 +69,7 @@ start32:
|
|||
movw $0x8a00, %ax # 0x8a00 -> port 0x8a00
|
||||
movw %ax, %dx
|
||||
outw %ax, %dx
|
||||
movw $0x8e00, %ax # 0x8e00 -> port 0x8a00
|
||||
movw $0x8ae0, %ax # 0x8ae0 -> port 0x8a00
|
||||
outw %ax, %dx
|
||||
spin:
|
||||
jmp spin
|
||||
|
|
Loading…
Reference in a new issue