10#include <Library/BaseMemoryLib.h>
11#include <Library/MemoryAllocationLib.h>
12#include <Library/UefiLib.h>
13#include <Library/UefiApplicationEntryPoint.h>
14#include <Library/UefiBootServicesTableLib.h>
15#include <Library/DebugLib.h>
17#define USER_EVENT_MAXNUM (512)
18#define USER_EVENT_MAXTPL (32)
48 IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL,
49 IN CONST VOID *NotifyContext OPTIONAL,
50 IN CONST EFI_GUID *EventGroup OPTIONAL,
80 IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL,
81 IN VOID *NotifyContext OPTIONAL,
142 IN UINTN NumberOfEvents,
143 IN EFI_EVENT *Events,
163 IN EFI_TIMER_DELAY Type,
164 IN UINT64 TriggerTime
EFI_STATUS EFIAPI UserWaitForEvent(IN UINTN NumberOfEvents, IN EFI_EVENT *Events, OUT UINTN *Index)
BOOLEAN UserEventDispatchNow(VOID)
EFI_STATUS EFIAPI UserCreateEvent(IN UINT32 Type, IN EFI_TPL NotifyTpl, IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL, IN VOID *NotifyContext OPTIONAL, OUT EFI_EVENT *Event)
EFI_STATUS EFIAPI UserCheckEvent(IN EFI_EVENT Event)
EFI_STATUS EFIAPI UserCreateEventEx(IN UINT32 Type, IN EFI_TPL NotifyTpl, IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL, IN CONST VOID *NotifyContext OPTIONAL, IN CONST EFI_GUID *EventGroup OPTIONAL, OUT EFI_EVENT *Event)
EFI_STATUS EFIAPI UserSignalEvent(IN EFI_EVENT Event)
EFI_STATUS EFIAPI UserCloseEvent(IN EFI_EVENT Event)
EFI_STATUS EFIAPI UserSetTimer(IN EFI_EVENT Event, IN EFI_TIMER_DELAY Type, IN UINT64 TriggerTime)
VOID EFIAPI UserRestoreTPL(IN EFI_TPL OldTpl)
EFI_TPL EFIAPI UserRaiseTPL(IN EFI_TPL NewTpl)