mirror_edk2/ShellPkg/Library/UefiShellAcpiViewCommandLib
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
..
Parsers ShellPkg: acpiview: SLIT: Validate System Locality count 2020-02-11 02:12:45 +00:00
AcpiParser.c ShellPkg: acpiview: Set ItemPtr to NULL for unprocessed table fields 2020-02-11 02:12:45 +00:00
AcpiParser.h ShellPkg: acpiview: Update SRAT parser to ACPI 6.3 2020-01-15 05:37:53 +00:00
AcpiTableParser.c ShellPkg: acpiview: Allow disabling consistency checks (-q flag) 2019-07-02 17:22:45 +08:00
AcpiTableParser.h ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
AcpiView.c ShellPkg/UefiShellAcpiViewCommandLib: Initialize local variables 2019-08-16 14:01:49 +08:00
AcpiView.h ShellPkg: acpiview: Allow disabling consistency checks (-q flag) 2019-07-02 17:22:45 +08:00
UefiShellAcpiViewCommandLib.c ShellPkg: acpiview: Add support for parsing FACS 2019-12-05 06:12:36 +00:00
UefiShellAcpiViewCommandLib.h ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellAcpiViewCommandLib.inf ShellPkg: acpiview: Add support for parsing FACS 2019-12-05 06:12:36 +00:00
UefiShellAcpiViewCommandLib.uni ShellPkg: acpiview: Make '-h' option not require a parameter 2019-07-02 17:22:46 +08:00