]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OldMdePkg/Library/PeiServicesTablePointerLibKr1/PeiServicesTablePointer.c
Retiring the ANT/JAVA build and removing the older EDK II packages that required...
[mirror_edk2.git] / OldMdePkg / Library / PeiServicesTablePointerLibKr1 / PeiServicesTablePointer.c
diff --git a/OldMdePkg/Library/PeiServicesTablePointerLibKr1/PeiServicesTablePointer.c b/OldMdePkg/Library/PeiServicesTablePointerLibKr1/PeiServicesTablePointer.c
deleted file mode 100644 (file)
index 6407707..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/*++\r
-\r
-Copyright (c) 2006 Intel Corporation. All rights reserved\r
-This software and associated documentation (if any) is furnished\r
-under a license and may only be used or copied in accordance\r
-with the terms of the license. Except as permitted by such\r
-license, no part of this software or documentation may be\r
-reproduced, stored in a retrieval system, or transmitted in any\r
-form or by any means without the express written consent of\r
-Intel Corporation.\r
-\r
-\r
-Module Name:\r
-\r
-  PeiServicesTablePointer.c\r
-\r
-Abstract:\r
-\r
-  PEI Services Table Pointer Library.\r
-  \r
---*/\r
-\r
-/**\r
-  The function returns the pointer to PeiServices.\r
-\r
-  The function returns the pointer to PeiServices.\r
-  It will ASSERT() if the pointer to PeiServices is NULL.\r
-\r
-  @retval  The pointer to PeiServices.\r
-\r
-**/\r
-EFI_PEI_SERVICES **\r
-EFIAPI\r
-GetPeiServicesTablePointer (\r
-  VOID\r
-  )\r
-{\r
-  EFI_PEI_SERVICES  **PeiServices;\r
-\r
-  PeiServices = (EFI_PEI_SERVICES **)(UINTN)AsmReadKr1 ();\r
-  ASSERT (PeiServices != NULL);\r
-  return PeiServices;\r
-}\r
-\r
-/**\r
-  The constructor function caches the pointer to PEI services.\r
-\r
-  The constructor function caches the pointer to PEI services.\r
-  It will always return EFI_SUCCESS.\r
-\r
-  @param  FfsHeader   Pointer to FFS header the loaded driver.\r
-  @param  PeiServices Pointer to the PEI services.\r
-\r
-  @retval EFI_SUCCESS   The constructor always returns EFI_SUCCESS.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-PeiServicesTablePointerLibConstructor (\r
-  IN EFI_FFS_FILE_HEADER  *FfsHeader,\r
-  IN EFI_PEI_SERVICES     **PeiServices\r
-  )\r
-{\r
-  AsmWriteKr1 ((UINT64)(UINTN)PeiServices);\r
-  return EFI_SUCCESS;\r
-}\r