]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[romprefix] Add missing addr32 prefix
authorMichael Brown <mcb30@ipxe.org>
Fri, 29 Oct 2010 00:45:21 +0000 (01:45 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 29 Oct 2010 00:45:21 +0000 (01:45 +0100)
Reported-by: Jedrzej Kalinowski <kalinoj1@iem.pw.edu.pl>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/prefix/romprefix.S

index c06a2e7fb9b17342918c5bd7f2a5da49909a5aef..b2bff14e77564328d7032a23d6a114f618cf47fb 100644 (file)
@@ -489,7 +489,7 @@ get_pmm_image_source:
        xorw    %ax, %ax
        movw    %ax, %es
        movl    build_id, %eax
-       cmpl    %es:build_id(%esi), %eax
+       addr32 cmpl %es:build_id(%esi), %eax
        je      1f
        stc
 1:     popw    %es