EFI EVENT

From PhoenixWiki

Jump to: navigation, search

Contents

Prototype

typedef VOID *EFI_EVENT;

Description

This section lists the different key event types.

EVT_TIMER

#define EVT_TIMER                         0x80000000

The event is a timer event and may be passed to SetTimer(). Note that timers only function during boot services time.

EVT_RUNTIME

#define EVT_RUNTIME                       0x40000000

The event is allocated from runtime memory. If an event is to be signaled after the call to ExitBootServices(), the event’s data structure and notification function need to be allocated from runtime memory. For more information, see SetVirtualAddressMap().

EVT_NOTIFY_WAIT

#define EVT_NOTIFY_WAIT                   0x00000100

If an event of this type is not already in the signaled state, then the event’s NotificationFunction will be queued at the event’s NotifyTpl whenever the event is being waited on via WaitForEvent() or CheckEvent().

EVT_NOTIFY_SIGNAL

#define EVT_NOTIFY_SIGNAL                 0x00000200

The event’s NotifyFunction is queued whenever the event is signaled.

EVT_SIGNAL_EXIT_BOOT_SERVICES

#define EVT_SIGNAL_EXIT_BOOT_SERVICES     0x00000201

This event is to be notified by the system when ExitBootServices() is invoked. This event is of type EVT_NOTIFY_SIGNAL and should not be combined with any other event types. The notification function for this event is not allowed to use the Memory Allocation Services, or call any functions that use the Memory Allocation Services and should only call functions that are known not to use Memory Allocation Services, because these services modify the current memory map.

EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE

#define EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE 0x60000202

The event is to be notified by the system when SetVirtualAddressMap() is performed. This event type is a composite of EVT_NOTIFY_SIGNAL, EVT_RUNTIME, and EVT_RUNTIME_CONTEXT and should not be combined with any other event types.


Copyright (C) 2008,2010 Phoenix Technologies Ltd. All Rights Reserved. Portions (C) 2005 UEFI Forum, Inc. Used with permission.

Personal tools