]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Core/Dxe/Event/ExecData.c
66b62bfe3e90dd503c017bbc4c69737008f88c67
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Event / ExecData.c
1 /** @file
2 Event data is declared in this file.
3
4 Copyright (c) 2006 - 2008, Intel Corporation. <BR>
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #include "DxeMain.h"
16
17
18 //
19 // gTpl - Task priority level
20 //
21 EFI_TPL gEfiCurrentTpl = TPL_APPLICATION;
22
23
24 //
25 // gEventQueueLock - Protects the event queus
26 //
27 EFI_LOCK gEventQueueLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_HIGH_LEVEL);
28
29 //
30 // gEventQueue - A list of event's to notify for each priority level
31 // gEventPending - A bitmask of the EventQueues that are pending
32 //
33 LIST_ENTRY gEventQueue[TPL_HIGH_LEVEL + 1];
34 UINTN gEventPending = 0;
35
36
37 //
38 // gEventSignalQueue - A list of events to signal based on EventGroup type
39 //
40 LIST_ENTRY gEventSignalQueue = INITIALIZE_LIST_HEAD_VARIABLE (gEventSignalQueue);
41