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