2 Event data is declared in this file.
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
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.
19 // gTpl - Task priority level
21 EFI_TPL gEfiCurrentTpl
= TPL_APPLICATION
;
25 // gEventQueueLock - Protects the event queus
27 EFI_LOCK gEventQueueLock
= EFI_INITIALIZE_LOCK_VARIABLE (TPL_HIGH_LEVEL
);
30 // gEventQueue - A list of event's to notify for each priority level
31 // gEventPending - A bitmask of the EventQueues that are pending
33 LIST_ENTRY gEventQueue
[TPL_HIGH_LEVEL
+ 1];
34 UINTN gEventPending
= 0;
38 // gEventSignalQueue - A list of events to signal based on EventGroup type
40 LIST_ENTRY gEventSignalQueue
= INITIALIZE_LIST_HEAD_VARIABLE (gEventSignalQueue
);