diff options
author | Michael Brown <mcb30@etherboot.org> | 2008-08-05 23:18:07 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2008-08-05 23:18:07 +0100 |
commit | 8332ddf556f0662d778169eae020d82d0226a445 (patch) | |
tree | 0baef17ffd893cde8b40f6499ead2ad4eaca0e81 | |
parent | f178436bb1be3cb312e9904da89ab42ccb3a976b (diff) | |
download | ipxe-8332ddf556f0662d778169eae020d82d0226a445.tar.gz |
[romprefix] Fix ROM image copy on PCI 3.0 BIOSes
Add the missing instructions to the code path that I never tested due
to not having a PCI 3.0 system available.
(D'oh)
-rw-r--r-- | src/arch/i386/prefix/romprefix.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/i386/prefix/romprefix.S b/src/arch/i386/prefix/romprefix.S index 698fa64ed..e304d0002 100644 --- 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 */ |