2 UEFI Event support functions and structure.
4 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
5 (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 #define VALID_TPL(a) ((a) <= TPL_HIGH_LEVEL)
21 extern UINTN gEventPending
;
24 /// Set if Event is part of an event group
26 #define EVT_EXFLAG_EVENT_GROUP 0x01
28 /// Set if Event is registered on a protocol notify
30 #define EVT_EXFLAG_EVENT_PROTOCOL_NOTIFICATION 0x02
37 /// Timer event information
45 #define EVENT_SIGNATURE SIGNATURE_32('e','v','n','t')
51 /// Entry if the event is registered to be signalled
53 LIST_ENTRY SignalLink
;
55 /// Notification information for this event
58 EFI_EVENT_NOTIFY NotifyFunction
;
61 LIST_ENTRY NotifyLink
;
64 /// A list of all runtime events
66 EFI_RUNTIME_EVENT_ENTRY RuntimeData
;
67 TIMER_EVENT_INFO Timer
;
71 // Internal prototypes
76 Dispatches all pending events.
78 @param Priority The task priority level of event notifications
83 CoreDispatchEventNotifies (
89 Initializes timer support.