Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 125e8f8622b31a773e6aa9bba6ddb69fe2519e0e
https://github.com/tianocore/edk2/commit/125e8f8622b31a773e6aa9bba6ddb69fe2519e0e
Author: Varshit Pandya <[email protected]>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
M DynamicTablesPkg/Library/Acpi/Common/AcpiEinjLib/EinjGenerator.c
Log Message:
-----------
DynamicTablesPkg/AcpiEinjLib: Fix undefined shift for 64-bit masks
The EINJ generator validates that an instruction mask fits within the
register region width by shifting the 64-bit mask by RegisterBitWidth.
When RegisterBitWidth is 64, this shifts a UINT64 value by its full
width, which is undefined behavior in C. A 64-bit mask always fits
within a 64-bit register and does not require this check.
Only perform the shift when RegisterBitWidth is less than 64, and
reject widths greater than 64 because the EINJ Mask field is 64 bits.
Signed-off-by: Varshit Pandya <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits