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