summaryrefslogtreecommitdiff
path: root/OldMdePkg/Library/DxeServicesTableLib
diff options
context:
space:
mode:
Diffstat (limited to 'OldMdePkg/Library/DxeServicesTableLib')
-rw-r--r--OldMdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c54
-rw-r--r--OldMdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.msa54
2 files changed, 0 insertions, 108 deletions
diff --git a/OldMdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c b/OldMdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c
deleted file mode 100644
index af19099def..0000000000
--- a/OldMdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/** @file
- DXE Library.
-
- Copyright (c) 2006, Intel Corporation<BR>
- All rights reserved. This program and the accompanying materials
- are licensed and made available under the terms and conditions of the BSD License
- which accompanies this distribution. The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php
-
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
- Module Name: DxeServicesTableLib.c
-
-**/
-
-
-//
-// Cache copy of the DXE Services Table
-//
-EFI_DXE_SERVICES *gDS = NULL;
-
-/**
- The constructor function caches the pointer of DXE Services Table.
-
- The constructor function caches the pointer of DXE Services Table.
- It will ASSERT() if that operation fails.
- It will ASSERT() if the pointer of DXE Services Table is NULL.
- It will always return EFI_SUCCESS.
-
- @param ImageHandle The firmware allocated handle for the EFI image.
- @param SystemTable A pointer to the EFI System Table.
-
- @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
-
-**/
-EFI_STATUS
-EFIAPI
-DxeServicesTableLibConstructor (
- IN EFI_HANDLE ImageHandle,
- IN EFI_SYSTEM_TABLE *SystemTable
- )
-{
- EFI_STATUS Status;
-
- //
- // Cache copy of the DXE Services Table
- //
- Status = EfiGetSystemConfigurationTable (&gEfiDxeServicesTableGuid, (VOID **) &gDS);
- ASSERT_EFI_ERROR (Status);
- ASSERT (gDS != NULL);
-
- return Status;
-}
diff --git a/OldMdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.msa b/OldMdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.msa
deleted file mode 100644
index 83df67e218..0000000000
--- a/OldMdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.msa
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <MsaHeader>
- <ModuleName>DxeServicesTableLib</ModuleName>
- <ModuleType>DXE_DRIVER</ModuleType>
- <GuidValue>baa1baa3-0a8d-402c-8042-985115fae953</GuidValue>
- <Version>1.0</Version>
- <Abstract>Component description file for Dxe Services Table Library.</Abstract>
- <Description>DXE Services Table Library that retrieves a pointer to the DXE Services
- Table from the Configuration Table in the EFI System Table.</Description>
- <Copyright>Copyright (c) 2006, Intel Corporation.</Copyright>
- <License>All rights reserved. This program and the accompanying materials
- are licensed and made available under the terms and conditions of the BSD License
- which accompanies this distribution. The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>
- <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>
- </MsaHeader>
- <ModuleDefinitions>
- <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>
- <BinaryModule>false</BinaryModule>
- <OutputFileBasename>DxeServicesTableLib</OutputFileBasename>
- </ModuleDefinitions>
- <LibraryClassDefinitions>
- <LibraryClass Usage="ALWAYS_PRODUCED" SupModuleList="DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER">
- <Keyword>DxeServicesTableLib</Keyword>
- </LibraryClass>
- <LibraryClass Usage="ALWAYS_CONSUMED">
- <Keyword>DebugLib</Keyword>
- </LibraryClass>
- <LibraryClass Usage="ALWAYS_CONSUMED">
- <Keyword>UefiLib</Keyword>
- </LibraryClass>
- </LibraryClassDefinitions>
- <SourceFiles>
- <Filename>DxeServicesTableLib.c</Filename>
- </SourceFiles>
- <PackageDependencies>
- <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
- </PackageDependencies>
- <Guids>
- <GuidCNames Usage="ALWAYS_CONSUMED">
- <GuidCName>gEfiDxeServicesTableGuid</GuidCName>
- </GuidCNames>
- </Guids>
- <Externs>
- <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
- <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
- <Extern>
- <Constructor>DxeServicesTableLibConstructor</Constructor>
- </Extern>
- </Externs>
-</ModuleSurfaceArea> \ No newline at end of file