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