diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2025-12-06 22:25:47 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-12-09 11:41:08 +0300 |
| commit | 741ef9cec35fe392c8846aa428a9070895e6bc46 (patch) | |
| tree | af382fbaaa2398186145ed6ca0b18e7c5ed0f0ad /MdeModulePkg/Library/PiDxeS3BootScriptLib | |
| parent | 471c15b396a3f24fefbc377fe84a5c5f7bc26b1e (diff) | |
| download | edk2-741ef9cec35fe392c8846aa428a9070895e6bc46.tar.xz | |
MdePkg/UefiLib: Use CompareMem() to compare ISO639 language codes
ISO 639-3 language codes are 3 letter abbreviations that identify
natural languages. Comparing them for equality involves performing a
byte by byte check, without taking case into account.
So use CompareMem() rather than the peculiar ReadUnaligned24 () API,
given that we are not dealing with 24-bit integers here.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib')
0 files changed, 0 insertions, 0 deletions
