Explorar o código

OvmfPkg/XenResetVector: Silent a warning from nasm

To avoid nasm generating a warning, replace the macro by the value
expected to be stored in eax.
  Ia32/XenPVHMain.asm:76: warning: dword data exceeds bounds

Reported-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20210412133003.146438-2-anthony.perard@citrix.com>
Anthony PERARD %!s(int64=3) %!d(string=hai) anos
pai
achega
29280c7084
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm

+ 1 - 1
OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm

@@ -73,7 +73,7 @@ xenPVHMain:
     ;
     ; parameter for Flat32SearchForBfvBase
     ;
-    mov     eax, ADDR_OF(fourGigabytes)
+    mov     eax, 0   ; ADDR_OF(fourGigabytes)
     add     eax, edx ; add delta
 
     ;