]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Universal/BdsDxe/String.c
Remove IntelFrameworkModulePkg
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / BdsDxe / String.c
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/String.c b/IntelFrameworkModulePkg/Universal/BdsDxe/String.c
deleted file mode 100644 (file)
index 998ed49..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/** @file\r
-  String support\r
-\r
-Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>\r
-SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-**/\r
-\r
-#include "Bds.h"\r
-#include "Language.h"\r
-#include "FrontPage.h"\r
-\r
-EFI_HII_HANDLE gStringPackHandle;\r
-\r
-EFI_GUID mBdsStringPackGuid = {\r
-  0x7bac95d3, 0xddf, 0x42f3, {0x9e, 0x24, 0x7c, 0x64, 0x49, 0x40, 0x37, 0x9a}\r
-};\r
-\r
-/**\r
-  Initialize HII global accessor for string support.\r
-\r
-**/\r
-VOID\r
-InitializeStringSupport (\r
-  VOID\r
-  )\r
-{\r
-  gStringPackHandle = HiiAddPackages (\r
-                         &mBdsStringPackGuid,\r
-                         gImageHandle,\r
-                         BdsDxeStrings,\r
-                         NULL\r
-                         );\r
-  ASSERT (gStringPackHandle != NULL);\r
-}\r
-\r
-/**\r
-  Get string by string id from HII Interface\r
-\r
-\r
-  @param Id              String ID.\r
-\r
-  @retval  CHAR16 *  String from ID.\r
-  @retval  NULL      If error occurs.\r
-\r
-**/\r
-CHAR16 *\r
-GetStringById (\r
-  IN  EFI_STRING_ID   Id\r
-  )\r
-{\r
-  return HiiGetString (gStringPackHandle, Id, NULL);\r
-}\r