From dfc18fc39ad4ce32093b2b0c7b46af94c114c782 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 19 Jan 2009 12:53:10 -0500 Subject: Fix apparent bug in pci bios handle_1ab10e function. The PIR entry copy was copying the header instead of the slots. --- src/pcibios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pcibios.c') diff --git a/src/pcibios.c b/src/pcibios.c index 0dafcf11..d156518a 100644 --- a/src/pcibios.c +++ b/src/pcibios.c @@ -149,7 +149,7 @@ handle_1ab10e(struct bregs *regs) // Memcpy pir table slots to dest buffer. memcpy_far(MAKE_FARPTR(destseg, d) - , MAKE_FARPTR(SEG_BIOS, pirtable_g) + , MAKE_FARPTR(SEG_BIOS, pirtable_g->slots) , pirsize); // XXX - bochs bios sets bx to (1 << 9) | (1 << 11) -- cgit