edk2/MdePkg/Include
Leif Lindholm 3e7e3e2467 MdePkg/AArch64: fix AsmMacroLib signed value handling for MOV32/MOV64
MOV32 and MOV64, defined in AsmMacrolib.h, use a combination of movz and
movk instructions to fill a register with an immediate value. With each
instruction supplying 16 of the bits.

CLANGPDB builds have been reported to fail on the current implementation
when provided with negative values with:
  error: immediate must be an integer in range [0, 65535].

To resolve this, add a mask for the line filling the top 16 bits, like
the other lines already had.

Reported-by: Michael Kubacki <mikuback@linux.microsoft.com>
Signed-off-by: Leif Lindholm <leif.lindholm@oss.qualcomm.com>
2025-02-24 16:30:19 +00:00
..
AArch64 MdePkg/AArch64: fix AsmMacroLib signed value handling for MOV32/MOV64 2025-02-24 16:30:19 +00:00
Arm MdePkg: Move AsmMacroIoLib*.h from ArmPkg 2024-09-12 19:36:59 +00:00
Ebc MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Guid MdePkg: Split RNG protocol definitions 2025-02-06 20:29:15 +00:00
Ia32 MdePkg: Remove VS2008-VS2013 remnants 2023-05-05 11:41:35 +00:00
IndustryStandard MdePkg/IndustryStandard: add definitions for CXL CEDT 2025-02-03 00:34:06 +00:00
Library MdePkg: Add StandaloneMmCoreEntryPoint for X64 2025-02-07 02:23:11 +00:00
LoongArch64 MdePkg: Fix UINT64 and INT64 word length for LoongArch64 2023-02-01 02:12:41 +00:00
Pi MdePkg: Add Hot pluggable resource attribute 2025-01-31 19:30:28 +00:00
Ppi MdePkg: Add Random Number Generator (RNG) PPI 2025-02-06 20:29:15 +00:00
Protocol MdePkg: Split RNG protocol definitions 2025-02-06 20:29:15 +00:00
Register MdePkg: Added definition of AMD specific public MSRs 2024-11-12 01:07:12 +00:00
RiscV64 MdePkg: Implement RISC-V Cache Management Operations 2023-12-19 12:48:14 +00:00
Uefi MdePkg: Add UEFI 2.11 specification macro 2025-01-31 19:30:28 +00:00
X64 MdePkg: don't set visibility to hidden 2023-06-01 10:53:35 +00:00
Base.h MdePkg/Base: Don't error out on missing compiler CPP macros 2025-01-17 16:39:29 +00:00
ConfidentialComputingGuestAttr.h MdePkg: Add AMD SEV features to PcdConfidentialComputingGuestAttr 2024-07-04 20:39:26 +00:00
PiDxe.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiMm.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiPei.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiSmm.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Uefi.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00