http://git.etherboot.org
/
people
/
mcb30
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f178436
)
[romprefix] Fix ROM image copy on PCI 3.0 BIOSes
author
Michael Brown
<mcb30@etherboot.org>
Tue, 5 Aug 2008 22:18:07 +0000
(23:18 +0100)
committer
Michael Brown
<mcb30@etherboot.org>
Tue, 5 Aug 2008 22:18:07 +0000
(23:18 +0100)
Add the missing instructions to the code path that I never tested due
to not having a PCI 3.0 system available.
(D'oh)
src/arch/i386/prefix/romprefix.S
patch
|
blob
|
history
diff --git
a/src/arch/i386/prefix/romprefix.S
b/src/arch/i386/prefix/romprefix.S
index
698fa64
..
e304d00
100644
(file)
--- a/
src/arch/i386/prefix/romprefix.S
+++ b/
src/arch/i386/prefix/romprefix.S
@@
-290,7
+290,9
@@
no_pmm:
movzbw romheader_size, %cx
shlw $9, %cx
movw %ax, %es
- rep movsb
+ xorw %si, %si
+ xorw %di, %di
+ cs rep movsb
no_pci3:
no_pci:
/* Prompt for POST-time shell */