mirror_edk2/ShellPkg
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
..
Application ShellPkg: Document UpdateArgcArgv returns EFI_INVALID_PARAMETER 2020-02-11 02:12:45 +00:00
DynamicCommand ShellPkg/DynamicCommand: Fix various typos 2020-02-10 22:30:07 +00:00
Include ShellPkg: stop using EFI_HANDLE in place of EFI_HII_HANDLE 2019-10-09 09:40:10 +02:00
Library ShellPkg: acpiview: SLIT: Validate System Locality count 2020-02-11 02:12:45 +00:00
ShellPkg.ci.yaml ShellPkg: Add YAML file for CI builds 2019-11-11 13:02:34 -08:00
ShellPkg.dec ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
ShellPkg.dsc ShellPkg/ShellPkg.dsc AARCH64: enable stack protector 2019-09-05 10:19:35 -07:00