projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
235df20
)
Fix apparent bug in pci bios handle_1ab10e function.
author
Kevin O'Connor
<kevin@koconnor.net>
Mon, 19 Jan 2009 17:53:10 +0000
(12:53 -0500)
committer
Kevin O'Connor
<kevin@koconnor.net>
Mon, 19 Jan 2009 17:53:10 +0000
(12:53 -0500)
The PIR entry copy was copying the header instead of the slots.
src/pcibios.c
patch
|
blob
|
history
diff --git
a/src/pcibios.c
b/src/pcibios.c
index 0dafcf11de4865c790834313db14b00bad9d69cb..d156518a3c0464f2f785373fb50dfa3abe23fcf7 100644
(file)
--- 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)