summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/Dxe/Mem/MemData.c
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-05-21 01:00:25 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-05-21 01:00:25 +0000
commit3a610a1877ec5f7fc9100c425aa2da87f65f9c45 (patch)
treee647e28c44bca4b01d924e19577affd3492996f3 /MdeModulePkg/Core/Dxe/Mem/MemData.c
parent91ee5ef167407bafab168891f92f60637bcc93d6 (diff)
downloadedk2-platforms-3a610a1877ec5f7fc9100c425aa2da87f65f9c45.tar.xz
Change the file name case to follow coding style: The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5245 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Dxe/Mem/MemData.c')
-rw-r--r--MdeModulePkg/Core/Dxe/Mem/MemData.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/Dxe/Mem/MemData.c b/MdeModulePkg/Core/Dxe/Mem/MemData.c
new file mode 100644
index 0000000000..6995e513ad
--- /dev/null
+++ b/MdeModulePkg/Core/Dxe/Mem/MemData.c
@@ -0,0 +1,32 @@
+/** @file
+
+ Global data used in memory service
+
+Copyright (c) 2006 - 2008, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#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);
+
+//
+// MemoryLastConvert - the last memory descriptor used for a conversion request
+//
+MEMORY_MAP *gMemoryLastConvert;