]> git.proxmox.com Git - grub2.git/commitdiff
xen: Fix wrong register in relocator.
authorphcoder <phcoder@gmail.com>
Sun, 5 Mar 2017 09:04:07 +0000 (10:04 +0100)
committerphcoder <phcoder@gmail.com>
Sun, 5 Mar 2017 09:07:36 +0000 (10:07 +0100)
This fixes chainloading of some GRUB variants.

grub-core/lib/i386/xen/relocator.S

index f1c729e8cff4914b1dd456ae44c5be48b89a567e..96e51b59adfb7f408df8758ae25809d96795e8ba 100644 (file)
@@ -128,7 +128,7 @@ VARIABLE(grub_relocator_xen_start)
 VARIABLE(grub_relocator_xen_remapper_virt2)
        .long   0
 
-       movl    %eax, %edi
+       movl    %eax, %ebx
 
        xorl    %ecx, %ecx      /* Invalid pte */
        xorl    %edx, %edx