]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c
EdkCompatibilityPkg: Remove EdkCompatibilityPkg
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Library / PeiResourcePublicationLib / PeiResourcePublicationLib.c
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c
deleted file mode 100644 (file)
index 05a31f6..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/*++\r
-\r
-Copyright (c) 2004 - 2006, 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
-\r
-Module Name:\r
-\r
-  PeiResourcePublicationLib.c\r
-  \r
-Abstract: \r
-\r
-  Resource Publication Library that uses PEI Core Services to publish system memory.\r
-\r
---*/\r
-\r
-#include "EdkIIGluePeim.h"\r
-\r
-/**\r
-  \r
-  Declares the presence of permanent system memory in the platform.\r
-\r
-  Declares that the system memory buffer specified by MemoryBegin and MemoryLength\r
-  as permanent memory that may be used for general purpose use by software.\r
-  The amount of memory available to software may be less than MemoryLength\r
-  if published memory has alignment restrictions.  \r
-\r
-  @param  MemoryBegin               The start address of the memory being declared.\r
-  @param  MemoryLength              The number of bytes of memory being declared.\r
-\r
-  @retval  RETURN_SUCCESS           The memory buffer was published.\r
-  @retval  RETURN_OUT_OF_RESOURCES  There are not enough resources to publish the memory buffer\r
-\r
-**/\r
-RETURN_STATUS\r
-EFIAPI\r
-PublishSystemMemory (\r
-  IN PHYSICAL_ADDRESS       MemoryBegin,\r
-  IN UINT64                 MemoryLength\r
-  )\r
-{\r
-  EFI_STATUS        Status;\r
-\r
-  ASSERT (MemoryLength > 0);\r
-  ASSERT (MemoryLength <= (MAX_ADDRESS - MemoryBegin + 1));\r
-\r
-  Status      = PeiServicesInstallPeiMemory (MemoryBegin, MemoryLength);\r
-     \r
-  return (RETURN_STATUS) Status;\r
-}\r
-\r