Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 9112fb0ecc6db221268cb54eec76f07149756c91
https://github.com/tianocore/edk2/commit/9112fb0ecc6db221268cb54eec76f07149756c91
Author: Dandan Bi <[email protected]>
Date: 2024-12-02 (Mon, 02 Dec 2024)
Changed paths:
M MdeModulePkg/Universal/HiiDatabaseDxe/Database.c
Log Message:
-----------
MdeModulePkg/HiiDatabase: Return default value for BIT VarStore as UNIT32
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4874
Question CheckBox, OneOf and Numeric can refer to Bit EFI VarStore.
CheckBox: data type is Boolean (1 byte),
Numeric/Oneof: data type is always UNIT32 for BIT VarStore,
When get default value for BIT VarStore, should return default value
with sizeof (UINT32) rather than the byte the bit width occupied.
Or incorrect default value will be used due to the size mismatch.
Signed-off-by: Dandan Bi <[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