]> git.proxmox.com Git - mirror_edk2.git/blob - StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationServices.h
StandaloneMmPkg/MemoryAllocationLib: Add MM memory allocation library.
[mirror_edk2.git] / StandaloneMmPkg / Library / StandaloneMmCoreMemoryAllocationLib / StandaloneMmCoreMemoryAllocationServices.h
1 /** @file
2 Contains function prototypes for Memory Services in the MM Core.
3
4 This header file borrows the StandaloneMmCore Memory Allocation services as the primitive
5 for memory allocation.
6
7 Copyright (c) 2008 - 2015, Intel Corporation. All rights reserved.<BR>
8 Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
9
10 This program and the accompanying materials
11 are licensed and made available under the terms and conditions of the BSD License
12 which accompanies this distribution. The full text of the license may be found at
13 http://opensource.org/licenses/bsd-license.php
14
15 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17
18 **/
19
20 #ifndef _PI_MM_CORE_MEMORY_ALLOCATION_SERVICES_H_
21 #define _PI_MM_CORE_MEMORY_ALLOCATION_SERVICES_H_
22
23 #include <Guid/MmCoreData.h>
24
25 /**
26 Called to initialize the memory service.
27
28 @param MmramRangeCount Number of MMRAM Regions
29 @param MmramRanges Pointer to MMRAM Descriptors
30
31 **/
32 VOID
33 MmInitializeMemoryServices (
34 IN UINTN MmramRangeCount,
35 IN EFI_MMRAM_DESCRIPTOR *MmramRanges
36 );
37
38 #endif