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