public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/1] Various packages: rename SmBios.h to Smbios.h in MdePkg and update references through edk2 tree
@ 2021-01-11  3:19 Rebecca Cran
  2021-01-11  3:19 ` [PATCH 1/1] Rename SmBios.h to Smbios.h in MdePkg/Include Rebecca Cran
  0 siblings, 1 reply; 4+ messages in thread
From: Rebecca Cran @ 2021-01-11  3:19 UTC (permalink / raw)
  To: devel
  Cc: Rebecca Cran, Michael D Kinney, Liming Gao, Zhiguang Liu,
	Sami Mujawar, Alexei Fedorov, Jordan Justen, Andrew Fish, Ray Ni,
	Jian J Wang, Hao A Wu, Dandan Bi, Eric Dong, Star Zeng,
	Zhichao Gao, Maciej Rabeda, Jiaxin Wu, Siyuan Fu, Laszlo Ersek,
	Ard Biesheuvel, Rebecca Cran, Peter Grehan, David Woodhouse,
	Abner Chang, Nickle Wang, Maurice Ma, Guo Dong, Benjamin You

"SMBIOS" or "Smbios" is the common capitalization of abbreviation of
System Management BIOS.

Rename SmBios.h to Smbios.h in MdePkg/Include/IndustryStandard and
MdePkg/Include/Guid, and update all references through the edk2 tree.

Personal Github PR: https://github.com/tianocore/edk2/pull/1330

Rebecca Cran (1):
  Rename SmBios.h to Smbios.h in MdePkg/Include

 MdePkg/MdePkg.dec                                                                       | 4 ++--
 DynamicTablesPkg/Include/SmbiosTableGenerator.h                                         | 2 +-
 EmulatorPkg/CpuRuntimeDxe/CpuDriver.h                                                   | 2 +-
 EmulatorPkg/Include/Library/SmbiosLib.h                                                 | 2 +-
 MdeModulePkg/Application/UiApp/Ui.h                                                     | 2 +-
 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h                                            | 4 ++--
 MdePkg/Include/Guid/{SmBios.h => Smbios.h}                                              | 0
 MdePkg/Include/IndustryStandard/{SmBios.h => Smbios.h}                                  | 0
 MdePkg/Include/Protocol/Smbios.h                                                        | 2 +-
 NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h                                                     | 4 ++--
 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.h                                     | 2 +-
 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h                                         | 4 ++--
 OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h                                    | 4 ++--
 OvmfPkg/Library/PlatformBootManagerLibBhyve/BdsPlatform.h                               | 4 ++--
 OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.h                                | 4 ++--
 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h                                           | 2 +-
 RedfishPkg/Include/IndustryStandard/RedfishHostInterface.h                              | 2 +-
 RedfishPkg/Include/Library/RedfishHostInterfaceLib.h                                    | 2 +-
 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.h                  | 2 +-
 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.h                      | 2 +-
 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h                     | 2 +-
 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.h                                              | 2 +-
 DynamicTablesPkg/Drivers/DynamicTableFactoryDxe/SmbiosTableFactory/SmbiosTableFactory.c | 2 +-
 EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c                                       | 2 +-
 EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c                                             | 2 +-
 MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c                      | 4 ++--
 NetworkPkg/Library/DxeNetLib/DxeNetLib.c                                                | 4 ++--
 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c                                           | 2 +-
 OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.c                               | 2 +-
 ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c                                      | 2 +-
 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c                  | 2 +-
 31 files changed, 38 insertions(+), 38 deletions(-)
 rename MdePkg/Include/Guid/{SmBios.h => Smbios.h} (100%)
 rename MdePkg/Include/IndustryStandard/{SmBios.h => Smbios.h} (100%)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] Rename SmBios.h to Smbios.h in MdePkg/Include
  2021-01-11  3:19 [PATCH 0/1] Various packages: rename SmBios.h to Smbios.h in MdePkg and update references through edk2 tree Rebecca Cran
@ 2021-01-11  3:19 ` Rebecca Cran
  2021-01-11  7:41   ` Laszlo Ersek
  0 siblings, 1 reply; 4+ messages in thread
From: Rebecca Cran @ 2021-01-11  3:19 UTC (permalink / raw)
  To: devel
  Cc: Rebecca Cran, Michael D Kinney, Liming Gao, Zhiguang Liu,
	Sami Mujawar, Alexei Fedorov, Jordan Justen, Andrew Fish, Ray Ni,
	Jian J Wang, Hao A Wu, Dandan Bi, Eric Dong, Star Zeng,
	Zhichao Gao, Maciej Rabeda, Jiaxin Wu, Siyuan Fu, Laszlo Ersek,
	Ard Biesheuvel, Rebecca Cran, Peter Grehan, David Woodhouse,
	Abner Chang, Nickle Wang, Maurice Ma, Guo Dong, Benjamin You

Rename SmBios.h to Smbios.h in MdePkg/Include/IndustryStandard and
MdePkg/Include/Guid, and update references in all other places through
the edk2 tree.

Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
---
 MdePkg/MdePkg.dec                                                                       | 4 ++--
 DynamicTablesPkg/Include/SmbiosTableGenerator.h                                         | 2 +-
 EmulatorPkg/CpuRuntimeDxe/CpuDriver.h                                                   | 2 +-
 EmulatorPkg/Include/Library/SmbiosLib.h                                                 | 2 +-
 MdeModulePkg/Application/UiApp/Ui.h                                                     | 2 +-
 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h                                            | 4 ++--
 MdePkg/Include/Guid/{SmBios.h => Smbios.h}                                              | 0
 MdePkg/Include/IndustryStandard/{SmBios.h => Smbios.h}                                  | 0
 MdePkg/Include/Protocol/Smbios.h                                                        | 2 +-
 NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h                                                     | 4 ++--
 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.h                                     | 2 +-
 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h                                         | 4 ++--
 OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h                                    | 4 ++--
 OvmfPkg/Library/PlatformBootManagerLibBhyve/BdsPlatform.h                               | 4 ++--
 OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.h                                | 4 ++--
 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h                                           | 2 +-
 RedfishPkg/Include/IndustryStandard/RedfishHostInterface.h                              | 2 +-
 RedfishPkg/Include/Library/RedfishHostInterfaceLib.h                                    | 2 +-
 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.h                  | 2 +-
 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.h                      | 2 +-
 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h                     | 2 +-
 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.h                                              | 2 +-
 DynamicTablesPkg/Drivers/DynamicTableFactoryDxe/SmbiosTableFactory/SmbiosTableFactory.c | 2 +-
 EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c                                       | 2 +-
 EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c                                             | 2 +-
 MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c                      | 4 ++--
 NetworkPkg/Library/DxeNetLib/DxeNetLib.c                                                | 4 ++--
 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c                                           | 2 +-
 OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.c                               | 2 +-
 ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c                                      | 2 +-
 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c                  | 2 +-
 31 files changed, 38 insertions(+), 38 deletions(-)

diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec
index 3928db65d188..4d17b998e448 100644
--- a/MdePkg/MdePkg.dec
+++ b/MdePkg/MdePkg.dec
@@ -331,7 +331,7 @@ [Guids]
   ## Include/Guid/Acpi.h
   gEfiAcpi10TableGuid            = { 0xEB9D2D30, 0x2D88, 0x11D3, { 0x9A, 0x16, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}
 
-  ## Include/Guid/SmBios.h
+  ## Include/Guid/Smbios.h
   gEfiSmbiosTableGuid            = { 0xEB9D2D31, 0x2D88, 0x11D3, { 0x9A, 0x16, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}
 
   ## Include/Guid/Mps.h
@@ -625,7 +625,7 @@ [Guids]
   gEfiPaddingRsaesPkcs1V1P5Guid  = { 0xe1c1d0a9, 0x40b1, 0x4632, {0xbd, 0xcc, 0xd9, 0xd6, 0xe5, 0x29, 0x56, 0x31 }}
   gEfiPaddingRsaesOaepGuid       = { 0xc1e63ac4, 0xd0cf, 0x4ce6, {0x83, 0x5b, 0xee, 0xd0, 0xe6, 0xa8, 0xa4, 0x5b }}
 
-  ## Include/Guid/SmBios.h
+  ## Include/Guid/Smbios.h
   gEfiSmbios3TableGuid = { 0xF2FD1544, 0x9794, 0x4A2C, { 0x99, 0x2E, 0xE5, 0xBB, 0xCF, 0x20, 0xE3, 0x94 }}
 
   ## Include/Protocol/BootManagerPolicy.h
diff --git a/DynamicTablesPkg/Include/SmbiosTableGenerator.h b/DynamicTablesPkg/Include/SmbiosTableGenerator.h
index 9fbf9fc0ccf4..7509ab40fb35 100644
--- a/DynamicTablesPkg/Include/SmbiosTableGenerator.h
+++ b/DynamicTablesPkg/Include/SmbiosTableGenerator.h
@@ -9,7 +9,7 @@
 #ifndef SMBIOS_TABLE_GENERATOR_H_
 #define SMBIOS_TABLE_GENERATOR_H_
 
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 
 #include <TableGenerator.h>
 
diff --git a/EmulatorPkg/CpuRuntimeDxe/CpuDriver.h b/EmulatorPkg/CpuRuntimeDxe/CpuDriver.h
index b191cbd0481f..0eedafe1baa8 100644
--- a/EmulatorPkg/CpuRuntimeDxe/CpuDriver.h
+++ b/EmulatorPkg/CpuRuntimeDxe/CpuDriver.h
@@ -12,7 +12,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 
 
 #include <PiDxe.h>
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 
 #include <Protocol/Cpu.h>
 #include <Protocol/Smbios.h>
diff --git a/EmulatorPkg/Include/Library/SmbiosLib.h b/EmulatorPkg/Include/Library/SmbiosLib.h
index 1022b48c5eca..ac8057e7bdc3 100644
--- a/EmulatorPkg/Include/Library/SmbiosLib.h
+++ b/EmulatorPkg/Include/Library/SmbiosLib.h
@@ -12,7 +12,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #ifndef _SMBIOS_LIB_H__
 #define _SMBIOS_LIB_H__
 
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 #include <Protocol/Smbios.h>
 
 
diff --git a/MdeModulePkg/Application/UiApp/Ui.h b/MdeModulePkg/Application/UiApp/Ui.h
index 56e54033b891..627b965b56f6 100644
--- a/MdeModulePkg/Application/UiApp/Ui.h
+++ b/MdeModulePkg/Application/UiApp/Ui.h
@@ -10,7 +10,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #ifndef _BDS_MODULE_H_
 #define _BDS_MODULE_H_
 
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 
 #include <Guid/MdeModuleHii.h>
 #include <Guid/StatusCodeDataTypeId.h>
diff --git a/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h b/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h
index f97c85ae4067..605387952b4a 100644
--- a/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h
+++ b/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h
@@ -13,9 +13,9 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #include <PiDxe.h>
 
 #include <Protocol/Smbios.h>
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 #include <Guid/EventGroup.h>
-#include <Guid/SmBios.h>
+#include <Guid/Smbios.h>
 #include <Library/DebugLib.h>
 #include <Library/UefiDriverEntryPoint.h>
 #include <Library/UefiLib.h>
diff --git a/MdePkg/Include/Guid/SmBios.h b/MdePkg/Include/Guid/Smbios.h
similarity index 100%
rename from MdePkg/Include/Guid/SmBios.h
rename to MdePkg/Include/Guid/Smbios.h
diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/Smbios.h
similarity index 100%
rename from MdePkg/Include/IndustryStandard/SmBios.h
rename to MdePkg/Include/IndustryStandard/Smbios.h
diff --git a/MdePkg/Include/Protocol/Smbios.h b/MdePkg/Include/Protocol/Smbios.h
index ee39636bffaf..b84a7de945b4 100644
--- a/MdePkg/Include/Protocol/Smbios.h
+++ b/MdePkg/Include/Protocol/Smbios.h
@@ -21,7 +21,7 @@
 #ifndef __SMBIOS_PROTOCOL_H__
 #define __SMBIOS_PROTOCOL_H__
 
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 
 #define EFI_SMBIOS_PROTOCOL_GUID \
     { 0x3583ff6, 0xcb36, 0x4940, { 0x94, 0x7e, 0xb9, 0xb3, 0x9f, 0x4a, 0xfa, 0xf7 }}
diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h b/NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h
index fa4950c6235c..02368f89a788 100644
--- a/NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h
+++ b/NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h
@@ -13,8 +13,8 @@
 
 #include <Uefi.h>
 
-#include <Guid/SmBios.h>
-#include <IndustryStandard/SmBios.h>
+#include <Guid/Smbios.h>
+#include <IndustryStandard/Smbios.h>
 #include <IndustryStandard/Dhcp.h>
 #include <Protocol/NetworkInterfaceIdentifier.h>
 #include <Protocol/Arp.h>
diff --git a/OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.h b/OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.h
index 12d7be7b2411..b0baa40aa68d 100644
--- a/OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.h
+++ b/OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.h
@@ -14,7 +14,7 @@
 
 #include <PiDxe.h>
 #include <Protocol/Smbios.h>
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 #include <Library/BaseLib.h>
 #include <Library/BaseMemoryLib.h>
 #include <Library/DebugLib.h>
diff --git a/OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h b/OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h
index 88ec93d428bf..64f8b30790ef 100644
--- a/OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h
+++ b/OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h
@@ -12,10 +12,10 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 
 #include <FrameworkDxe.h>
 #include <IndustryStandard/Pci.h>
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 #include <IndustryStandard/Acpi10.h>
 
-#include <Guid/SmBios.h>
+#include <Guid/Smbios.h>
 #include <Guid/Acpi.h>
 #include <Guid/DxeServices.h>
 #include <Guid/LegacyBios.h>
diff --git a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h
index 153e21510156..d9320a859d18 100644
--- a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h
+++ b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h
@@ -22,7 +22,7 @@ Module Name:
 
 #include <IndustryStandard/Pci.h>
 #include <IndustryStandard/Acpi.h>
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 #include <IndustryStandard/PeImage.h>
 #include <IndustryStandard/Virtio095.h>
 
@@ -56,7 +56,7 @@ Module Name:
 #include <Protocol/LoadedImage.h>
 
 #include <Guid/Acpi.h>
-#include <Guid/SmBios.h>
+#include <Guid/Smbios.h>
 #include <Guid/HobList.h>
 #include <Guid/GlobalVariable.h>
 #include <Guid/EventGroup.h>
diff --git a/OvmfPkg/Library/PlatformBootManagerLibBhyve/BdsPlatform.h b/OvmfPkg/Library/PlatformBootManagerLibBhyve/BdsPlatform.h
index 382fe191a93e..9fa1125b78eb 100644
--- a/OvmfPkg/Library/PlatformBootManagerLibBhyve/BdsPlatform.h
+++ b/OvmfPkg/Library/PlatformBootManagerLibBhyve/BdsPlatform.h
@@ -23,7 +23,7 @@ Module Name:
 
 #include <IndustryStandard/Pci.h>
 #include <IndustryStandard/Acpi.h>
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 #include <IndustryStandard/PeImage.h>
 #include <IndustryStandard/Virtio095.h>
 
@@ -57,7 +57,7 @@ Module Name:
 #include <Protocol/LoadedImage.h>
 
 #include <Guid/Acpi.h>
-#include <Guid/SmBios.h>
+#include <Guid/Smbios.h>
 #include <Guid/HobList.h>
 #include <Guid/GlobalVariable.h>
 #include <Guid/EventGroup.h>
diff --git a/OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.h b/OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.h
index 748c63081920..a1748fe020fa 100644
--- a/OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.h
+++ b/OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.h
@@ -23,7 +23,7 @@ Module Name:
 
 #include <IndustryStandard/Pci.h>
 #include <IndustryStandard/Acpi.h>
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 #include <IndustryStandard/PeImage.h>
 #include <IndustryStandard/Virtio095.h>
 
@@ -52,7 +52,7 @@ Module Name:
 #include <Protocol/LoadedImage.h>
 
 #include <Guid/Acpi.h>
-#include <Guid/SmBios.h>
+#include <Guid/Smbios.h>
 #include <Guid/HobList.h>
 #include <Guid/GlobalVariable.h>
 #include <Guid/EventGroup.h>
diff --git a/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h b/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h
index 21aa916d7784..5b62f67808ec 100644
--- a/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h
+++ b/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h
@@ -14,7 +14,7 @@
 #include <PiDxe.h>
 
 #include <Protocol/Smbios.h>
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 #include <Library/DebugLib.h>
 #include <Library/BaseLib.h>
 #include <Library/BaseMemoryLib.h>
diff --git a/RedfishPkg/Include/IndustryStandard/RedfishHostInterface.h b/RedfishPkg/Include/IndustryStandard/RedfishHostInterface.h
index 3eec7a0b0e9d..5419681fd3d0 100644
--- a/RedfishPkg/Include/IndustryStandard/RedfishHostInterface.h
+++ b/RedfishPkg/Include/IndustryStandard/RedfishHostInterface.h
@@ -10,7 +10,7 @@
 #ifndef REDFISH_HOST_INTERFACE_
 #define REDFISH_HOST_INTERFACE_
 
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 
 #define REDFISH_HOST_INTERFACE_DEVICE_TYPE_USB         0x02 // We don't support this type of interface.
                                                             // Use REDFISH_HOST_INTERFACE_DEVICE_TYPE_USB_V2 instead.
diff --git a/RedfishPkg/Include/Library/RedfishHostInterfaceLib.h b/RedfishPkg/Include/Library/RedfishHostInterfaceLib.h
index fe37b2739a73..325a75624146 100644
--- a/RedfishPkg/Include/Library/RedfishHostInterfaceLib.h
+++ b/RedfishPkg/Include/Library/RedfishHostInterfaceLib.h
@@ -11,7 +11,7 @@
 
 #include <Uefi.h>
 #include <IndustryStandard/RedfishHostInterface.h>
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 
 #include <Protocol/Smbios.h>
 
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.h
index 14013fe29aa0..eb91e8a264ca 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.h
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.h
@@ -9,7 +9,7 @@
 #ifndef _LIB_SMBIOS_VIEW_H_
 #define _LIB_SMBIOS_VIEW_H_
 
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 
 #define DMI_SUCCESS                     0x00
 #define DMI_UNKNOWN_FUNCTION            0x81
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.h
index fd219773de17..21ae6d6731c0 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.h
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.h
@@ -10,7 +10,7 @@
 #ifndef _SMBIOS_PRINT_INFO_H_
 #define _SMBIOS_PRINT_INFO_H_
 
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 
 extern UINT8  SmbiosMajorVersion;
 extern UINT8  SmbiosMinorVersion;
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h
index 756009b2f2a1..589c9178ec79 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h
@@ -10,7 +10,7 @@
 #ifndef _SMBIOS_QUERY_TABLE_H_
 #define _SMBIOS_QUERY_TABLE_H_
 
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 
 #define QUERY_TABLE_UNFOUND 0xFF
 
diff --git a/UefiPayloadPkg/BlSupportDxe/BlSupportDxe.h b/UefiPayloadPkg/BlSupportDxe/BlSupportDxe.h
index 512105fafd11..66f359069e49 100644
--- a/UefiPayloadPkg/BlSupportDxe/BlSupportDxe.h
+++ b/UefiPayloadPkg/BlSupportDxe/BlSupportDxe.h
@@ -20,7 +20,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #include <Library/HobLib.h>
 
 #include <Guid/Acpi.h>
-#include <Guid/SmBios.h>
+#include <Guid/Smbios.h>
 #include <Guid/SystemTableInfoGuid.h>
 #include <Guid/AcpiBoardInfoGuid.h>
 #include <Guid/GraphicsInfoHob.h>
diff --git a/DynamicTablesPkg/Drivers/DynamicTableFactoryDxe/SmbiosTableFactory/SmbiosTableFactory.c b/DynamicTablesPkg/Drivers/DynamicTableFactoryDxe/SmbiosTableFactory/SmbiosTableFactory.c
index e3a47c2b9a46..619d262ad0a9 100644
--- a/DynamicTablesPkg/Drivers/DynamicTableFactoryDxe/SmbiosTableFactory/SmbiosTableFactory.c
+++ b/DynamicTablesPkg/Drivers/DynamicTableFactoryDxe/SmbiosTableFactory/SmbiosTableFactory.c
@@ -9,7 +9,7 @@
     - Std - Standard
 **/
 
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 #include <Library/BaseLib.h>
 #include <Library/BaseMemoryLib.h>
 #include <Library/DebugLib.h>
diff --git a/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c b/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c
index 48a3bfb5e97e..1e448aba1eb8 100644
--- a/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c
+++ b/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c
@@ -8,7 +8,7 @@
 **/
 
 #include <PiDxe.h>
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 #include <Protocol/Smbios.h>
 
 #include <Library/BaseLib.h>
diff --git a/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c b/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c
index 11c8e945041d..f61841b50fef 100644
--- a/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c
+++ b/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c
@@ -19,7 +19,7 @@
 **/
 
 #include <PiDxe.h>
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 #include <Protocol/Smbios.h>
 #include <Library/SmbiosLib.h>
 
diff --git a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
index 1050c9b17b87..ced90c078524 100644
--- a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
+++ b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
@@ -9,10 +9,10 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #include <PiDxe.h>
 
 #include <Protocol/Smbios.h>
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 #include <IndustryStandard/UefiTcgPlatform.h>
 #include <Guid/EventGroup.h>
-#include <Guid/SmBios.h>
+#include <Guid/Smbios.h>
 #include <Library/DebugLib.h>
 #include <Library/UefiDriverEntryPoint.h>
 #include <Library/UefiLib.h>
diff --git a/NetworkPkg/Library/DxeNetLib/DxeNetLib.c b/NetworkPkg/Library/DxeNetLib/DxeNetLib.c
index 2a555a7b90fa..723b1e734363 100644
--- a/NetworkPkg/Library/DxeNetLib/DxeNetLib.c
+++ b/NetworkPkg/Library/DxeNetLib/DxeNetLib.c
@@ -8,7 +8,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 
 #include <Uefi.h>
 
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 
 #include <Protocol/DriverBinding.h>
 #include <Protocol/ServiceBinding.h>
@@ -19,7 +19,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #include <Protocol/ComponentName.h>
 #include <Protocol/ComponentName2.h>
 
-#include <Guid/SmBios.h>
+#include <Guid/Smbios.h>
 
 #include <Library/NetLib.h>
 #include <Library/BaseLib.h>
diff --git a/OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c b/OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
index 302b80d97720..0b428a6234bb 100644
--- a/OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
+++ b/OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
@@ -10,7 +10,7 @@
 #include <Guid/ImageAuthentication.h>            // EFI_IMAGE_SECURITY_DATABASE
 #include <Guid/MicrosoftVendor.h>                // gMicrosoftVendorGuid
 #include <Guid/OvmfPkKek1AppPrefix.h>            // gOvmfPkKek1AppPrefixGuid
-#include <IndustryStandard/SmBios.h>             // SMBIOS_HANDLE_PI_RESERVED
+#include <IndustryStandard/Smbios.h>             // SMBIOS_HANDLE_PI_RESERVED
 #include <Library/BaseLib.h>                     // GUID_STRING_LENGTH
 #include <Library/BaseMemoryLib.h>               // CopyGuid()
 #include <Library/DebugLib.h>                    // ASSERT()
diff --git a/OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.c b/OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.c
index 4d2c23cfb39f..c04b3643b1d0 100644
--- a/OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.c
+++ b/OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.c
@@ -11,7 +11,7 @@
 
 **/
 
-#include <IndustryStandard/SmBios.h>
+#include <IndustryStandard/Smbios.h>
 
 #include <Base.h>
 #include <Library/BaseMemoryLib.h>
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c
index e6aec2e37ccf..16766295b0c6 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c
@@ -12,7 +12,7 @@
 #include <Protocol/PciRootBridgeIo.h>
 #include <Guid/Acpi.h>
 #include <Guid/Mps.h>
-#include <Guid/SmBios.h>
+#include <Guid/Smbios.h>
 
 /**
   Make a printable character.
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c
index dad9b3c1ff6c..c5d39c3aaffc 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c
@@ -8,7 +8,7 @@
 
 
 #include "UefiShellDebug1CommandsLib.h"
-#include <Guid/SmBios.h>
+#include <Guid/Smbios.h>
 #include "LibSmbiosView.h"
 #include "SmbiosView.h"
 
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] Rename SmBios.h to Smbios.h in MdePkg/Include
  2021-01-11  3:19 ` [PATCH 1/1] Rename SmBios.h to Smbios.h in MdePkg/Include Rebecca Cran
@ 2021-01-11  7:41   ` Laszlo Ersek
  2021-01-13  5:34     ` Gao, Zhichao
  0 siblings, 1 reply; 4+ messages in thread
From: Laszlo Ersek @ 2021-01-11  7:41 UTC (permalink / raw)
  To: Rebecca Cran, devel
  Cc: Michael D Kinney, Liming Gao, Zhiguang Liu, Sami Mujawar,
	Alexei Fedorov, Jordan Justen, Andrew Fish, Ray Ni, Jian J Wang,
	Hao A Wu, Dandan Bi, Eric Dong, Star Zeng, Zhichao Gao,
	Maciej Rabeda, Jiaxin Wu, Siyuan Fu, Ard Biesheuvel, Rebecca Cran,
	Peter Grehan, David Woodhouse, Abner Chang, Nickle Wang,
	Maurice Ma, Guo Dong, Benjamin You

On 01/11/21 04:19, Rebecca Cran wrote:
> Rename SmBios.h to Smbios.h in MdePkg/Include/IndustryStandard and
> MdePkg/Include/Guid, and update references in all other places through
> the edk2 tree.
> 
> Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
> ---
>  MdePkg/MdePkg.dec                                                                       | 4 ++--
>  DynamicTablesPkg/Include/SmbiosTableGenerator.h                                         | 2 +-
>  EmulatorPkg/CpuRuntimeDxe/CpuDriver.h                                                   | 2 +-
>  EmulatorPkg/Include/Library/SmbiosLib.h                                                 | 2 +-
>  MdeModulePkg/Application/UiApp/Ui.h                                                     | 2 +-
>  MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h                                            | 4 ++--
>  MdePkg/Include/Guid/{SmBios.h => Smbios.h}                                              | 0
>  MdePkg/Include/IndustryStandard/{SmBios.h => Smbios.h}                                  | 0
>  MdePkg/Include/Protocol/Smbios.h                                                        | 2 +-
>  NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h                                                     | 4 ++--
>  OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.h                                     | 2 +-
>  OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h                                         | 4 ++--
>  OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h                                    | 4 ++--
>  OvmfPkg/Library/PlatformBootManagerLibBhyve/BdsPlatform.h                               | 4 ++--
>  OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.h                                | 4 ++--
>  OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h                                           | 2 +-
>  RedfishPkg/Include/IndustryStandard/RedfishHostInterface.h                              | 2 +-
>  RedfishPkg/Include/Library/RedfishHostInterfaceLib.h                                    | 2 +-
>  ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.h                  | 2 +-
>  ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.h                      | 2 +-
>  ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h                     | 2 +-
>  UefiPayloadPkg/BlSupportDxe/BlSupportDxe.h                                              | 2 +-
>  DynamicTablesPkg/Drivers/DynamicTableFactoryDxe/SmbiosTableFactory/SmbiosTableFactory.c | 2 +-
>  EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c                                       | 2 +-
>  EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c                                             | 2 +-
>  MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c                      | 4 ++--
>  NetworkPkg/Library/DxeNetLib/DxeNetLib.c                                                | 4 ++--
>  OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c                                           | 2 +-
>  OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.c                               | 2 +-
>  ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c                                      | 2 +-
>  ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c                  | 2 +-
>  31 files changed, 38 insertions(+), 38 deletions(-)

For the OvmfPkg hunks:

Reviewed-by: Laszlo Ersek <lersek@redhat.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] Rename SmBios.h to Smbios.h in MdePkg/Include
  2021-01-11  7:41   ` Laszlo Ersek
@ 2021-01-13  5:34     ` Gao, Zhichao
  0 siblings, 0 replies; 4+ messages in thread
From: Gao, Zhichao @ 2021-01-13  5:34 UTC (permalink / raw)
  To: Laszlo Ersek, Rebecca Cran, devel@edk2.groups.io
  Cc: Kinney, Michael D, Liming Gao, Liu, Zhiguang, Sami Mujawar,
	Alexei Fedorov, Justen, Jordan L, Andrew Fish, Ni, Ray,
	Wang, Jian J, Wu, Hao A, Bi, Dandan, Dong, Eric, Zeng, Star,
	Maciej Rabeda, Wu, Jiaxin, Fu, Siyuan, Ard Biesheuvel,
	Rebecca Cran, Peter Grehan, David Woodhouse, Abner Chang,
	Nickle Wang, Ma, Maurice, Dong, Guo, You, Benjamin

This is a incompatible change and it requires the platforms to change related usage as well.

Thanks,
Zhichao

> -----Original Message-----
> From: Laszlo Ersek <lersek@redhat.com>
> Sent: Monday, January 11, 2021 3:42 PM
> To: Rebecca Cran <rebecca@nuviainc.com>; devel@edk2.groups.io
> Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Liming Gao
> <gaoliming@byosoft.com.cn>; Liu, Zhiguang <zhiguang.liu@intel.com>; Sami
> Mujawar <Sami.Mujawar@arm.com>; Alexei Fedorov
> <Alexei.Fedorov@arm.com>; Justen, Jordan L <jordan.l.justen@intel.com>;
> Andrew Fish <afish@apple.com>; Ni, Ray <ray.ni@intel.com>; Wang, Jian J
> <jian.j.wang@intel.com>; Wu, Hao A <hao.a.wu@intel.com>; Bi, Dandan
> <dandan.bi@intel.com>; Dong, Eric <eric.dong@intel.com>; Zeng, Star
> <star.zeng@intel.com>; Gao, Zhichao <zhichao.gao@intel.com>; Maciej Rabeda
> <maciej.rabeda@linux.intel.com>; Wu, Jiaxin <jiaxin.wu@intel.com>; Fu, Siyuan
> <siyuan.fu@intel.com>; Ard Biesheuvel <ard.biesheuvel@arm.com>; Rebecca
> Cran <rebecca@bsdio.com>; Peter Grehan <grehan@freebsd.org>; David
> Woodhouse <dwmw2@infradead.org>; Abner Chang <abner.chang@hpe.com>;
> Nickle Wang <nickle.wang@hpe.com>; Ma, Maurice <maurice.ma@intel.com>;
> Dong, Guo <guo.dong@intel.com>; You, Benjamin <benjamin.you@intel.com>
> Subject: Re: [PATCH 1/1] Rename SmBios.h to Smbios.h in MdePkg/Include
> 
> On 01/11/21 04:19, Rebecca Cran wrote:
> > Rename SmBios.h to Smbios.h in MdePkg/Include/IndustryStandard and
> > MdePkg/Include/Guid, and update references in all other places through
> > the edk2 tree.
> >
> > Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
> > ---
> >  MdePkg/MdePkg.dec                                                                       | 4 ++--
> >  DynamicTablesPkg/Include/SmbiosTableGenerator.h                                         | 2
> +-
> >  EmulatorPkg/CpuRuntimeDxe/CpuDriver.h                                                   | 2 +-
> >  EmulatorPkg/Include/Library/SmbiosLib.h                                                 | 2 +-
> >  MdeModulePkg/Application/UiApp/Ui.h                                                     | 2 +-
> >  MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h                                            |
> 4 ++--
> >  MdePkg/Include/Guid/{SmBios.h => Smbios.h}                                              | 0
> >  MdePkg/Include/IndustryStandard/{SmBios.h => Smbios.h}
> | 0
> >  MdePkg/Include/Protocol/Smbios.h                                                        | 2 +-
> >  NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h                                                     | 4 ++--
> >  OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.h
> | 2 +-
> >  OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h                                         |
> 4 ++--
> >  OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h
> | 4 ++--
> >  OvmfPkg/Library/PlatformBootManagerLibBhyve/BdsPlatform.h
> | 4 ++--
> >  OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.h
> | 4 ++--
> >  OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h                                           |
> 2 +-
> >  RedfishPkg/Include/IndustryStandard/RedfishHostInterface.h
> | 2 +-
> >  RedfishPkg/Include/Library/RedfishHostInterfaceLib.h                                    | 2
> +-
> >
> ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.h
> | 2 +-
> >  ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.h
> | 2 +-
> >  ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h
> | 2 +-
> >  UefiPayloadPkg/BlSupportDxe/BlSupportDxe.h                                              | 2 +-
> >
> DynamicTablesPkg/Drivers/DynamicTableFactoryDxe/SmbiosTableFactory/Smbi
> osTableFactory.c | 2 +-
> >  EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c
> | 2 +-
> >  EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c                                             | 2
> +-
> >
> MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
> | 4 ++--
> >  NetworkPkg/Library/DxeNetLib/DxeNetLib.c                                                | 4 ++-
> -
> >  OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c                                           | 2 +-
> >  OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.c
> | 2 +-
> >  ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c
> | 2 +-
> >
> ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c
> | 2 +-
> >  31 files changed, 38 insertions(+), 38 deletions(-)
> 
> For the OvmfPkg hunks:
> 
> Reviewed-by: Laszlo Ersek <lersek@redhat.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-13  5:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-11  3:19 [PATCH 0/1] Various packages: rename SmBios.h to Smbios.h in MdePkg and update references through edk2 tree Rebecca Cran
2021-01-11  3:19 ` [PATCH 1/1] Rename SmBios.h to Smbios.h in MdePkg/Include Rebecca Cran
2021-01-11  7:41   ` Laszlo Ersek
2021-01-13  5:34     ` Gao, Zhichao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox