Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ NotifyPlatformBmAfterConsole (
STATIC
VOID
EFIAPI
NotifyExitBootServices (
NotifyBeforeExitBootServices (
IN EFI_EVENT Event,
IN VOID *Context
)
Expand All @@ -256,7 +256,7 @@ StatusLedDxeInitialize (

Status = gBS->CreateEvent (
EVT_TIMER | EVT_NOTIFY_SIGNAL, // Type
TPL_NOTIFY, // NotifyTpl
TPL_CALLBACK, // NotifyTpl
TimerHandler, // NotifyFunction
NULL, // NotifyContext
&mTimerEvent // Event
Expand All @@ -270,20 +270,20 @@ StatusLedDxeInitialize (

Status = gBS->CreateEventEx (
EVT_NOTIFY_SIGNAL, // Type
TPL_NOTIFY, // NotifyTpl
TPL_CALLBACK, // NotifyTpl
NotifyPlatformBmAfterConsole, // NotifyFunction
NULL, // NotifyContext
&gRockchipEventPlatformBmAfterConsoleGuid, // EventGroup
&Event // Event
);

Status = gBS->CreateEventEx (
EVT_NOTIFY_SIGNAL, // Type
TPL_NOTIFY, // NotifyTpl
NotifyExitBootServices, // NotifyFunction
NULL, // NotifyContext
&gEfiEventExitBootServicesGuid, // EventGroup
&Event // Event
EVT_NOTIFY_SIGNAL, // Type
TPL_CALLBACK, // NotifyTpl
NotifyBeforeExitBootServices, // NotifyFunction
NULL, // NotifyContext
&gEfiEventBeforeExitBootServicesGuid, // EventGroup
&Event // Event
);

return EFI_SUCCESS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
[Protocols]

[Guids]
gEfiEventExitBootServicesGuid
gEfiEventBeforeExitBootServicesGuid
gRockchipEventPlatformBmAfterConsoleGuid

[Depex]
Expand Down