Fixed pic_set_pci().
This commit is contained in:
@@ -520,7 +520,7 @@ pic_set_pci(void)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0x0024; i < 0x0040; i++) {
|
for (i = 0x0024; i < 0x0040; i += 4) {
|
||||||
io_sethandler(i, 0x0002, pic_read, NULL, NULL, pic_write, NULL, NULL, &pic);
|
io_sethandler(i, 0x0002, pic_read, NULL, NULL, pic_write, NULL, NULL, &pic);
|
||||||
io_sethandler(i + 0x0080, 0x0002, pic_read, NULL, NULL, pic_write, NULL, NULL, &pic2);
|
io_sethandler(i + 0x0080, 0x0002, pic_read, NULL, NULL, pic_write, NULL, NULL, &pic2);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user