mirror_edk2/ShellPkg/Library
Krzysztof Koch eb9db72ca8 ShellPkg: acpiview: SLIT: Validate System Locality count
1. Check if the 'Number of System Localities' provided can be
represented in the SLIT table. The table 'Length' field is a 32-bit
value while the 'Number of System Localities' field is 64-bit long.

2. Check if the SLIT matrix fits in the table buffer. If N is the SLIT
locality count, then the matrix used to represent the localities is
N*N bytes long. The ACPI table length must be big enough to fit the
matrix.

3. Remove (now) redundant 64x64 bit multiplication.

Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com>
2020-02-11 02:12:45 +00:00
..
UefiHandleParsingLib ShellPkg/UefiHandleParsingLib: Fix error allocate pool 2019-12-05 06:12:36 +00:00
UefiShellAcpiViewCommandLib ShellPkg: acpiview: SLIT: Validate System Locality count 2020-02-11 02:12:45 +00:00
UefiShellBcfgCommandLib ShellPkg: stop using EFI_HANDLE in place of EFI_HII_HANDLE 2019-10-09 09:40:10 +02:00
UefiShellCEntryLib ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellCommandLib ShellPkg/CommandLib: Use first found UC for unsupported PlatformLang 2019-11-08 08:29:58 +08:00
UefiShellDebug1CommandsLib ShellPkg/edit: typo "%d Lines Wrote" 2019-12-05 06:12:36 +00:00
UefiShellDriver1CommandsLib ShellPkg: stop using EFI_HANDLE in place of EFI_HII_HANDLE 2019-10-09 09:40:10 +02:00
UefiShellInstall1CommandsLib ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellLevel1CommandsLib ShellPkg: stop using EFI_HANDLE in place of EFI_HII_HANDLE 2019-10-09 09:40:10 +02:00
UefiShellLevel2CommandsLib ShellPkg/Ls: Return empty content for all empty folders 2019-11-04 10:46:02 +08:00
UefiShellLevel3CommandsLib ShellPkg: stop taking EFI_HANDLE in place of SHELL_FILE_HANDLE 2019-10-09 09:40:10 +02:00
UefiShellLib ShellPkg/UefiShellLib: clarify workaround for unfixable EdkShell bug 2019-10-09 09:40:10 +02:00
UefiShellNetwork1CommandsLib ShellPkg: stop using EFI_HANDLE in place of EFI_HII_HANDLE 2019-10-09 09:40:10 +02:00
UefiShellNetwork2CommandsLib ShellPkg: stop using EFI_HANDLE in place of EFI_HII_HANDLE 2019-10-09 09:40:10 +02:00