TianoCore EDK2 master
Loading...
Searching...
No Matches
Event.h File Reference

Go to the source code of this file.

Data Structures

struct  TIMER_EVENT_INFO
 
struct  IEVENT
 

Macros

#define VALID_TPL(a)   ((a) <= TPL_HIGH_LEVEL)
 
#define EVT_EXFLAG_EVENT_GROUP   0x01
 
#define EVT_EXFLAG_EVENT_PROTOCOL_NOTIFICATION   0x02
 
#define EVENT_SIGNATURE   SIGNATURE_32('e','v','n','t')
 

Functions

VOID CoreDispatchEventNotifies (IN EFI_TPL Priority)
 
VOID CoreInitializeTimer (VOID)
 

Variables

UINTN gEventPending
 

Detailed Description

UEFI Event support functions and structure.

Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
(C) Copyright 2015 Hewlett Packard Enterprise Development LP
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Event.h.

Macro Definition Documentation

◆ EVENT_SIGNATURE

#define EVENT_SIGNATURE   SIGNATURE_32('e','v','n','t')

Definition at line 38 of file Event.h.

◆ EVT_EXFLAG_EVENT_GROUP

#define EVT_EXFLAG_EVENT_GROUP   0x01

Set if Event is part of an event group

Definition at line 19 of file Event.h.

◆ EVT_EXFLAG_EVENT_PROTOCOL_NOTIFICATION

#define EVT_EXFLAG_EVENT_PROTOCOL_NOTIFICATION   0x02

Set if Event is registered on a protocol notify

Definition at line 23 of file Event.h.

◆ VALID_TPL

#define VALID_TPL (   a)    ((a) <= TPL_HIGH_LEVEL)

Definition at line 13 of file Event.h.

Function Documentation

◆ CoreDispatchEventNotifies()

VOID CoreDispatchEventNotifies ( IN EFI_TPL  Priority)

Dispatches all pending events.

Parameters
PriorityThe task priority level of event notifications to dispatch

Definition at line 152 of file Event.c.

◆ CoreInitializeTimer()

VOID CoreInitializeTimer ( VOID  )

Initializes timer support.

Definition at line 162 of file Timer.c.

Variable Documentation

◆ gEventPending

UINTN gEventPending
extern

gEventPending - A bitmask of the EventQueues that are pending

Definition at line 31 of file Event.c.