]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Core/Dxe/Mem/memdata.c
Check in DxeCore for Nt32 platform. Currently, it does not follow PI/UEFI2.1.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Mem / memdata.c
1 /*++
2
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 memdata.c
15
16 Abstract:
17
18 Global data used in memory service
19
20
21 Revision History
22
23 --*/
24
25 #include <DxeMain.h>
26
27
28 //
29 // MemoryLock - synchronizes access to the memory map and pool lists
30 //
31 EFI_LOCK gMemoryLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_NOTIFY);
32
33 //
34 // MemoryMap - the current memory map
35 //
36 LIST_ENTRY gMemoryMap = INITIALIZE_LIST_HEAD_VARIABLE (gMemoryMap);
37
38 //
39 // MemoryLastConvert - the last memory descriptor used for a conversion request
40 //
41 MEMORY_MAP *gMemoryLastConvert;