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