diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2021-04-12 14:29:57 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-04-13 11:54:58 +0000 |
commit | 29280c7084ee876b84715db7a015a2bddc1d6192 (patch) | |
tree | 94622debb41df2e4f1ec3b17774b6b0d47229a06 | |
parent | 16136f218d546f458afb8037482962242e95aed4 (diff) | |
download | edk2-29280c7084ee876b84715db7a015a2bddc1d6192.tar.gz edk2-29280c7084ee876b84715db7a015a2bddc1d6192.tar.bz2 edk2-29280c7084ee876b84715db7a015a2bddc1d6192.zip |
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>
-rw-r--r-- | OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm b/OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm index 2df0f12e18..c761e9d307 100644 --- a/OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm +++ b/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
;
|