]>
Commit | Line | Data |
---|---|---|
2c868eef SV |
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 | |
86094561 | 10 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
2c868eef SV |
11 | \r |
12 | **/\r | |
13 | \r | |
14 | #ifndef _PI_MM_CORE_MEMORY_ALLOCATION_SERVICES_H_\r | |
15 | #define _PI_MM_CORE_MEMORY_ALLOCATION_SERVICES_H_\r | |
16 | \r | |
17 | #include <Guid/MmCoreData.h>\r | |
18 | \r | |
19 | /**\r | |
20 | Called to initialize the memory service.\r | |
21 | \r | |
22 | @param MmramRangeCount Number of MMRAM Regions\r | |
23 | @param MmramRanges Pointer to MMRAM Descriptors\r | |
24 | \r | |
25 | **/\r | |
26 | VOID\r | |
27 | MmInitializeMemoryServices (\r | |
28 | IN UINTN MmramRangeCount,\r | |
29 | IN EFI_MMRAM_DESCRIPTOR *MmramRanges\r | |
30 | );\r | |
31 | \r | |
32 | #endif\r |