]> xenbits.xensource.com Git - people/aperard/ovmf.git/commitdiff
OvmfPkg/XenResetVector: Silent a warning from nasm
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 24 Jan 2020 15:38:13 +0000 (15:38 +0000)
committerAnthony PERARD <anthony.perard@citrix.com>
Wed, 29 Jan 2020 12:07:49 +0000 (12:07 +0000)
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>
OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm

index 2df0f12e18cb81e95b45e328c1e3875544e37e5e..c761e9d30729ccaae439b1c8e0ff33de476a7f9f 100644 (file)
@@ -73,7 +73,7 @@ xenPVHMain:
     ;\r
     ; parameter for Flat32SearchForBfvBase\r
     ;\r
-    mov     eax, ADDR_OF(fourGigabytes)\r
+    mov     eax, 0   ; ADDR_OF(fourGigabytes)\r
     add     eax, edx ; add delta\r
 \r
     ;\r