diff options
author | Michael Brown | 2008-08-06 00:18:07 +0200 |
---|---|---|
committer | Michael Brown | 2008-08-06 00:18:07 +0200 |
commit | 8332ddf556f0662d778169eae020d82d0226a445 (patch) | |
tree | 0baef17ffd893cde8b40f6499ead2ad4eaca0e81 | |
parent | [pxe] If no ProxyDHCPACK exists, use DHCPACK for the fake ProxyDHCPACK packet (diff) | |
download | ipxe-8332ddf556f0662d778169eae020d82d0226a445.tar.gz ipxe-8332ddf556f0662d778169eae020d82d0226a445.tar.xz ipxe-8332ddf556f0662d778169eae020d82d0226a445.zip |
[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 698fa64e..e304d000 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 */ |