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 SPDX-License-Identifier: BSD-2-Clause-Patent
13 #define VALID_TPL(a) ((a) <= TPL_HIGH_LEVEL)
14 extern UINTN gEventPending
;
17 /// Set if Event is part of an event group
19 #define EVT_EXFLAG_EVENT_GROUP 0x01
21 /// Set if Event is registered on a protocol notify
23 #define EVT_EXFLAG_EVENT_PROTOCOL_NOTIFICATION 0x02
30 /// Timer event information
38 #define EVENT_SIGNATURE SIGNATURE_32('e','v','n','t')
44 /// Entry if the event is registered to be signalled
46 LIST_ENTRY SignalLink
;
48 /// Notification information for this event
51 EFI_EVENT_NOTIFY NotifyFunction
;
54 LIST_ENTRY NotifyLink
;
57 /// A list of all runtime events
59 EFI_RUNTIME_EVENT_ENTRY RuntimeData
;
60 TIMER_EVENT_INFO Timer
;
64 // Internal prototypes
68 Dispatches all pending events.
70 @param Priority The task priority level of event notifications
75 CoreDispatchEventNotifies (
80 Initializes timer support.