2 UEFI Event support functions and structure.
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.
18 #define VALID_TPL(a) ((a) <= TPL_HIGH_LEVEL)
23 #define EVENT_SIGNATURE EFI_SIGNATURE_32('e','v','n','t')
30 // Entry if the event is registered to be signalled
33 LIST_ENTRY SignalLink
;
36 // Notification information for this event
40 EFI_EVENT_NOTIFY NotifyFunction
;
43 LIST_ENTRY NotifyLink
;
47 // A list of all runtime events
49 EFI_RUNTIME_EVENT_ENTRY RuntimeData
;
52 // Information by event type
69 // Internal prototypes
74 Dispatches all pending events.
76 @param Priority The task priority level of event notifications
81 CoreDispatchEventNotifies (
91 Initializes timer support.
100 // extern data declarations
103 extern EFI_LOCK gEventQueueLock
;
104 extern UINTN gEventPending
;
105 extern LIST_ENTRY gEventQueue
[];
106 extern LIST_ENTRY gEventSignalQueue
;