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