Import Library Class from original MDE package. Also I added the EFI_PEI_CORE_ENTRY_P...
[mirror_edk2.git] / MdePkg / Include / Library / ResourcePublicationLib.h
1 /** @file
2 Declare presence of resources in the platform
3
4 Copyright (c) 2006, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 Module Name: ResourcePublicationLib.h
14
15 **/
16
17 #ifndef __RESOURCE_PUBLICATION_LIB__
18 #define __RESOURCE_PUBLICATION_LIB__
19
20 /**
21
22 Declares the presence of permanent system memory in the platform.
23
24 Declares that the system memory buffer specified by MemoryBegin and MemoryLength
25 as permanent memory that may be used for general purpose use by software.
26 The amount of memory available to software may be less than MemoryLength
27 if published memory has alignment restrictions.
28
29 @param MemoryBegin The start address of the memory being declared.
30 @param MemoryLength The number of bytes of memory being declared.
31
32 @retval RETURN_SUCCESS The memory buffer was published.
33 @retval RETURN_OUT_OF_RESOURCES There are not enough resources to publish the memory buffer
34
35 **/
36 RETURN_STATUS
37 EFIAPI
38 PublishSystemMemory (
39 IN PHYSICAL_ADDRESS MemoryBegin,
40 IN UINT64 MemoryLength
41 )
42 ;
43
44 #endif