]> git.proxmox.com Git - mirror_edk2.git/blob - StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationServices.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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 SPDX-License-Identifier: BSD-2-Clause-Patent
11
12 **/
13
14 #ifndef _PI_MM_CORE_MEMORY_ALLOCATION_SERVICES_H_
15 #define _PI_MM_CORE_MEMORY_ALLOCATION_SERVICES_H_
16
17 #include <Guid/MmCoreData.h>
18
19 /**
20 Called to initialize the memory service.
21
22 @param MmramRangeCount Number of MMRAM Regions
23 @param MmramRanges Pointer to MMRAM Descriptors
24
25 **/
26 VOID
27 MmInitializeMemoryServices (
28 IN UINTN MmramRangeCount,
29 IN EFI_MMRAM_DESCRIPTOR *MmramRanges
30 );
31
32 #endif