Intel Extensible Firmware Interface Manuel d'utilisateur Page 103

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 108
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 102
Services Boot Services
Version 1.10 12/01/02 5-5
CreateEvent()
Summary
Creates an event.
Prototype
EFI_STATUS
CreateEvent (
IN UINT32 Type,
IN EFI_TPL NotifyTpl,
IN EFI_EVENT_NOTIFY NotifyFunction,
IN VOID *NotifyContext,
OUT EFI_EVENT *Event
);
Parameters
Type The type of event to create and its mode and attributes. The
#define statements in Related Definitions” can be used to
specify an event’s mode and attributes.
NotifyTpl The task priority level of event notifications. See RaiseTPL()
.
NotifyFunction Pointer to the event’s notification function. See Related
Definitions.
NotifyContext Pointer to the notification function’s context; corresponds to
parameter Context in the notification function.
Event Pointer to the newly created event if the call succeeds; undefined
otherwise.
Related Definitions
//*******************************************************
// EFI_EVENT
//*******************************************************
typedef VOID *EFI_EVENT
//*******************************************************
// Event Types
//*******************************************************
// These types can be “ORed” together as needed – for example,
// EVT_TIMER might be “Ored” with EVT_NOTIFY_WAIT or
// EVT_NOTIFY_SIGNAL.
#define EVT_TIMER 0x80000000
#define EVT_RUNTIME 0x40000000
#define EVT_RUNTIME_CONTEXT 0x20000000
Vue de la page 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108

Commentaires sur ces manuels

Pas de commentaire