TianoCore EDK2 master
Loading...
Searching...
No Matches
DxeBaseSerialPortLibHob.c
Go to the documentation of this file.
1
8#include <Uefi.h>
9
10extern BOOLEAN mBaseSerialPortLibHobAtRuntime;
11
20VOID
21EFIAPI
23 IN EFI_EVENT Event,
24 IN VOID *Context
25 )
26{
27 mBaseSerialPortLibHobAtRuntime = TRUE;
28}
29
41EFIAPI
43 IN EFI_HANDLE ImageHandle,
44 IN EFI_SYSTEM_TABLE *SystemTable
45 )
46{
47 EFI_EVENT SerialPortLibHobExitBootServicesEvent;
48
49 return SystemTable->BootServices->CreateEvent (
50 EVT_SIGNAL_EXIT_BOOT_SERVICES,
51 TPL_NOTIFY,
53 NULL,
54 &SerialPortLibHobExitBootServicesEvent
55 );
56}
EFI_STATUS EFIAPI DxeBaseSerialPortLibHobConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
STATIC VOID EFIAPI BaseSerialPortLibHobExitBootServicesEvent(IN EFI_EVENT Event, IN VOID *Context)
#define NULL
Definition: Base.h:319
#define STATIC
Definition: Base.h:264
#define TRUE
Definition: Base.h:301
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33