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
14 #define VALID_TPL(a) ((a) <= TPL_HIGH_LEVEL)
15 extern UINTN gEventPending
;
18 /// Set if Event is part of an event group
20 #define EVT_EXFLAG_EVENT_GROUP 0x01
22 /// Set if Event is registered on a protocol notify
24 #define EVT_EXFLAG_EVENT_PROTOCOL_NOTIFICATION 0x02
31 /// Timer event information
39 #define EVENT_SIGNATURE SIGNATURE_32('e','v','n','t')
45 /// Entry if the event is registered to be signalled
47 LIST_ENTRY SignalLink
;
49 /// Notification information for this event
52 EFI_EVENT_NOTIFY NotifyFunction
;
55 LIST_ENTRY NotifyLink
;
58 /// A list of all runtime events
60 EFI_RUNTIME_EVENT_ENTRY RuntimeData
;
61 TIMER_EVENT_INFO Timer
;
65 // Internal prototypes
70 Dispatches all pending events.
72 @param Priority The task priority level of event notifications
77 CoreDispatchEventNotifies (
83 Initializes timer support.