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