]> git.proxmox.com Git - mirror_edk2.git/blame - EdkModulePkg/Core/Dxe/Event/execdata.c
Initial import.
[mirror_edk2.git] / EdkModulePkg / Core / Dxe / Event / execdata.c
CommitLineData
878ddf1f 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13 \r
14 execdata.c\r
15\r
16Abstract:\r
17\r
18\r
19\r
20\r
21Revision History\r
22\r
23--*/\r
24\r
25#include <DxeMain.h>\r
26\r
27\r
28//\r
29// gTpl - Task priority level\r
30//\r
31EFI_TPL gEfiCurrentTpl = EFI_TPL_APPLICATION;\r
32\r
33\r
34//\r
35// gEventQueueLock - Protects the event queus\r
36//\r
37EFI_LOCK gEventQueueLock = EFI_INITIALIZE_LOCK_VARIABLE (EFI_TPL_HIGH_LEVEL);\r
38\r
39//\r
40// gEventQueue - A list of event's to notify for each priority level\r
41// gEventPending - A bitmask of the EventQueues that are pending\r
42//\r
43LIST_ENTRY gEventQueue[EFI_TPL_HIGH_LEVEL + 1];\r
44UINTN gEventPending = 0;\r
45\r
46\r
47//\r
48// gEventSignalQueue - A list of events to signal based on EventGroup type\r
49//\r
50LIST_ENTRY gEventSignalQueue = INITIALIZE_LIST_HEAD_VARIABLE (gEventSignalQueue);\r
51\r
52//\r
53// LIST of runtime events that need to be fired by RT AP.\r
54//\r
55LIST_ENTRY mRuntimeEventList = INITIALIZE_LIST_HEAD_VARIABLE (mRuntimeEventList);\r