aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcibios.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-01-19 12:53:10 -0500
committerKevin O'Connor <kevin@koconnor.net>2009-01-19 12:53:10 -0500
commitdfc18fc39ad4ce32093b2b0c7b46af94c114c782 (patch)
tree6ff82b44bbbedcfd2ad9a8f8ccbc7ea66d095768 /src/pcibios.c
parent235df20bac217fca4d47e359f41a4c4f13e83be3 (diff)
downloadseabios-dfc18fc39ad4ce32093b2b0c7b46af94c114c782.tar.gz
Fix apparent bug in pci bios handle_1ab10e function.
The PIR entry copy was copying the header instead of the slots.
Diffstat (limited to 'src/pcibios.c')
-rw-r--r--src/pcibios.c2
1 files changed, 1 insertions, 1 deletions
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)