]>
git.proxmox.com Git - mirror_edk2.git/blob - StandaloneMmPkg/Core/StandaloneMmCorePrivateData.h
2 The internal header file that declared a data structure that is shared
3 between the MM IPL and the MM Core.
5 Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
6 Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
11 #ifndef _STANDALONE_MM_CORE_PRIVATE_DATA_H_
12 #define _STANDALONE_MM_CORE_PRIVATE_DATA_H_
14 #include <Guid/MmCoreData.h>
25 extern LIST_ENTRY mMmMemoryMap
;
32 // MIN_POOL_SHIFT must not be less than 5
34 #define MIN_POOL_SHIFT 6
35 #define MIN_POOL_SIZE (1 << MIN_POOL_SHIFT)
38 // MAX_POOL_SHIFT must not be less than EFI_PAGE_SHIFT - 1
40 #define MAX_POOL_SHIFT (EFI_PAGE_SHIFT - 1)
41 #define MAX_POOL_SIZE (1 << MAX_POOL_SHIFT)
44 // MAX_POOL_INDEX are calculated by maximum and minimum pool sizes
46 #define MAX_POOL_INDEX (MAX_POOL_SHIFT - MIN_POOL_SHIFT + 1)
58 extern LIST_ENTRY mMmPoolLists
[MAX_POOL_INDEX
];