ShellPkg/UefiShellDebug1CommandsLib
authorShenglei Zhang <shenglei.zhang@intel.com>
Thu, 28 Mar 2019 02:52:26 +0000 (10:52 +0800)
committerLiming Gao <liming.gao@intel.com>
Sun, 28 Apr 2019 01:50:14 +0000 (09:50 +0800)
With Itanium architecture unsupported, gEfiSalSystemTableGuid
and gEfiMpsTableGuid will be no longer used.
https://bugzilla.tianocore.org/show_bug.cgi?id=1560

v2:Withdraw the removal of #include <Guid/Mps.h> and
   gEfiMpsTableGuid.

Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c
ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf

index 59eee30..e6aec2e 100644 (file)
@@ -13,7 +13,6 @@
 #include <Guid/Acpi.h>\r
 #include <Guid/Mps.h>\r
 #include <Guid/SmBios.h>\r
-#include <Guid/SalSystemTable.h>\r
 \r
 /**\r
   Make a printable character.\r
@@ -180,10 +179,6 @@ ShellCommandRunDmem (
               AcpiTableAddress = (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable;\r
               continue;\r
             }\r
-            if (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, &gEfiSalSystemTableGuid)) {\r
-              SalTableAddress = (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable;\r
-              continue;\r
-            }\r
             if (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, &gEfiSmbiosTableGuid)) {\r
               SmbiosTableAddress = (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable;\r
               continue;\r
index 2c8894a..ed94477 100644 (file)
   gEfiSmbiosTableGuid             ## SOMETIMES_CONSUMES ## SystemTable\r
   gEfiSmbios3TableGuid            ## SOMETIMES_CONSUMES ## SystemTable\r
   gEfiMpsTableGuid                ## SOMETIMES_CONSUMES ## SystemTable\r
-  gEfiSalSystemTableGuid          ## SOMETIMES_CONSUMES ## SystemTable\r
   gEfiAcpi10TableGuid             ## SOMETIMES_CONSUMES ## SystemTable\r
   gEfiAcpi20TableGuid             ## SOMETIMES_CONSUMES ## SystemTable\r
   gShellDebug1HiiGuid             ## SOMETIMES_CONSUMES ## HII\r