summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/Dxe/Mem/MemData.c
blob: 8f138b703eec30536c304b6903e7fe441f96d9bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/** @file
  Global data used in memory service

Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent

**/

#include "DxeMain.h"

//
// MemoryLock - synchronizes access to the memory map and pool lists
//
EFI_LOCK  gMemoryLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_NOTIFY);

//
// MemoryMap - the current memory map
//
LIST_ENTRY  gMemoryMap = INITIALIZE_LIST_HEAD_VARIABLE (gMemoryMap);