]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiGetConfigTable.c
EdkCompatibilityPkg: Remove EdkCompatibilityPkg
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Dxe / EfiDriverLib / EfiGetConfigTable.c
diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiGetConfigTable.c b/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiGetConfigTable.c
deleted file mode 100644 (file)
index 21cac71..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-/*++\r
-\r
-Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials                          \r
-are licensed and made available under the terms and conditions of the BSD License         \r
-which accompanies this distribution.  The full text of the license may be found at        \r
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
-\r
-Module Name:\r
-\r
-  EfiGetConfigTable.c\r
-\r
-Abstract:\r
-\r
-  Light weight lib to support EFI drivers.\r
-\r
---*/\r
-\r
-#include "Tiano.h"\r
-#include "EfiDriverLib.h"\r
-\r
-EFI_STATUS\r
-EfiLibGetSystemConfigurationTable (\r
-  IN EFI_GUID *TableGuid,\r
-  OUT VOID **Table\r
-  )\r
-/*++\r
-\r
-Routine Description:\r
-\r
-  Get table from configuration table by name\r
-\r
-Arguments:\r
-\r
-  TableGuid       - Table name to search\r
-  \r
-  Table           - Pointer to the table caller wants\r
-\r
-Returns: \r
-\r
-  EFI_NOT_FOUND   - Not found the table\r
-  \r
-  EFI_SUCCESS     - Found the table\r
-\r
---*/\r
-{\r
-  UINTN Index;\r
-\r
-  *Table = NULL;\r
-  for (Index = 0; Index < gST->NumberOfTableEntries; Index++) {\r
-    if (EfiCompareGuid (TableGuid, &(gST->ConfigurationTable[Index].VendorGuid))) {\r
-      *Table = gST->ConfigurationTable[Index].VendorTable;\r
-      return EFI_SUCCESS;\r
-    }\r
-  }\r
-\r
-  return EFI_NOT_FOUND;\r
-}\r