]>
Commit | Line | Data |
---|---|---|
1 | /*++\r | |
2 | \r | |
3 | Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r | |
4 | 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 | Module Name:\r | |
13 | Support.h\r | |
14 | \r | |
15 | Abstract:\r | |
16 | \r | |
17 | Revision History:\r | |
18 | \r | |
19 | --*/\r | |
20 | \r | |
21 | #ifndef _EFILDR_SUPPORT_H_\r | |
22 | #define _EFILDR_SUPPORT_H_\r | |
23 | \r | |
24 | EFI_STATUS\r | |
25 | EfiAddMemoryDescriptor(\r | |
26 | UINTN *NoDesc,\r | |
27 | EFI_MEMORY_DESCRIPTOR *Desc,\r | |
28 | EFI_MEMORY_TYPE Type,\r | |
29 | EFI_PHYSICAL_ADDRESS BaseAddress,\r | |
30 | UINT64 NoPages,\r | |
31 | UINT64 Attribute\r | |
32 | );\r | |
33 | \r | |
34 | UINTN\r | |
35 | FindSpace(\r | |
36 | UINTN NoPages,\r | |
37 | IN UINTN *NumberOfMemoryMapEntries,\r | |
38 | IN EFI_MEMORY_DESCRIPTOR *EfiMemoryDescriptor,\r | |
39 | EFI_MEMORY_TYPE Type,\r | |
40 | UINT64 Attribute\r | |
41 | );\r | |
42 | \r | |
43 | VOID\r | |
44 | GenMemoryMap (\r | |
45 | UINTN *NumberOfMemoryMapEntries,\r | |
46 | EFI_MEMORY_DESCRIPTOR *EfiMemoryDescriptor,\r | |
47 | BIOS_MEMORY_MAP *BiosMemoryMap\r | |
48 | );\r | |
49 | \r | |
50 | #endif\r |