diff options
author | Krzysztof Koch <krzysztof.koch@arm.com> | 2019-07-22 15:50:24 -0700 |
---|---|---|
committer | Jaben Carsey <jaben.carsey@intel.com> | 2019-07-31 09:52:53 -0700 |
commit | 748c1efd1e0d934c68b6dafd3011aee47c25ad57 (patch) | |
tree | 37821bf8f1f5436914ac2159ec3f73ded6d34c67 | |
parent | e0cf5ac693d774c5196fd904bf415185cd98e6e5 (diff) | |
download | edk2-748c1efd1e0d934c68b6dafd3011aee47c25ad57.tar.gz edk2-748c1efd1e0d934c68b6dafd3011aee47c25ad57.tar.bz2 edk2-748c1efd1e0d934c68b6dafd3011aee47c25ad57.zip |
ShellPkg: acpiview: SRAT: Minor code style enhancements
Minor changes to the SRAT parser code to conform with the EDKII coding
style and to make it consistent with other ACPI table parsers.
Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
-rw-r--r-- | ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c index 03d28d5284..59c77401ea 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c @@ -206,6 +206,7 @@ ParseAcpiSrat ( AcpiTableLength,
PARSER_PARAMS (SratParser)
);
+
ResourcePtr = Ptr + Offset;
while (Offset < AcpiTableLength) {
@@ -250,7 +251,7 @@ ParseAcpiSrat ( ResourcePtr,
*SratRALength,
PARSER_PARAMS (SratGicITSAffinityParser)
- );
+ );
break;
case EFI_ACPI_6_2_MEMORY_AFFINITY:
|