Home
last modified time | relevance | path

Searched refs:CallbackEntry (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/
DReportStatusCodeRouterRuntimeDxe.c52 RSC_HANDLER_CALLBACK_ENTRY *CallbackEntry; in RscHandlerNotification() local
56 CallbackEntry = (RSC_HANDLER_CALLBACK_ENTRY *) Context; in RscHandlerNotification()
62 Address = CallbackEntry->StatusCodeDataBuffer; in RscHandlerNotification()
63 while (Address < CallbackEntry->EndPointer) { in RscHandlerNotification()
65 CallbackEntry->RscHandlerCallback ( in RscHandlerNotification()
77 CallbackEntry->EndPointer = CallbackEntry->StatusCodeDataBuffer; in RscHandlerNotification()
117 RSC_HANDLER_CALLBACK_ENTRY *CallbackEntry; in Register() local
124CallbackEntry = CR (Link, RSC_HANDLER_CALLBACK_ENTRY, Node, RSC_HANDLER_CALLBACK_ENTRY_SIGNATURE); in Register()
125 if (CallbackEntry->RscHandlerCallback == Callback) { in Register()
133 CallbackEntry = AllocateRuntimeZeroPool (sizeof (RSC_HANDLER_CALLBACK_ENTRY)); in Register()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/
DReportStatusCodeRouterSmm.c58 SMM_RSC_HANDLER_CALLBACK_ENTRY *CallbackEntry; in Register() local
65CallbackEntry = CR (Link, SMM_RSC_HANDLER_CALLBACK_ENTRY, Node, SMM_RSC_HANDLER_CALLBACK_ENTRY_SIG… in Register()
66 if (CallbackEntry->RscHandlerCallback == Callback) { in Register()
74CallbackEntry = (SMM_RSC_HANDLER_CALLBACK_ENTRY *)AllocatePool (sizeof (SMM_RSC_HANDLER_CALLBACK_E… in Register()
75 ASSERT (CallbackEntry != NULL); in Register()
77 CallbackEntry->Signature = SMM_RSC_HANDLER_CALLBACK_ENTRY_SIGNATURE; in Register()
78 CallbackEntry->RscHandlerCallback = Callback; in Register()
80 InsertTailList (&mCallbackListHead, &CallbackEntry->Node); in Register()
105 SMM_RSC_HANDLER_CALLBACK_ENTRY *CallbackEntry; in Unregister() local
112CallbackEntry = CR (Link, SMM_RSC_HANDLER_CALLBACK_ENTRY, Node, SMM_RSC_HANDLER_CALLBACK_ENTRY_SIG… in Unregister()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk/
DPiSmmStatusCodeOnFrameworkSmmStatusCodeThunk.c66 SMM_RSC_HANDLER_CALLBACK_ENTRY *CallbackEntry; in Register() local
73CallbackEntry = CR (Link, SMM_RSC_HANDLER_CALLBACK_ENTRY, Node, SMM_RSC_HANDLER_CALLBACK_ENTRY_SIG… in Register()
74 if (CallbackEntry->RscHandlerCallback == Callback) { in Register()
82CallbackEntry = (SMM_RSC_HANDLER_CALLBACK_ENTRY *)AllocatePool (sizeof (SMM_RSC_HANDLER_CALLBACK_E… in Register()
83 ASSERT (CallbackEntry != NULL); in Register()
85 CallbackEntry->Signature = SMM_RSC_HANDLER_CALLBACK_ENTRY_SIGNATURE; in Register()
86 CallbackEntry->RscHandlerCallback = Callback; in Register()
88 InsertTailList (&mCallbackListHead, &CallbackEntry->Node); in Register()
113 SMM_RSC_HANDLER_CALLBACK_ENTRY *CallbackEntry; in Unregister() local
120CallbackEntry = CR (Link, SMM_RSC_HANDLER_CALLBACK_ENTRY, Node, SMM_RSC_HANDLER_CALLBACK_ENTRY_SIG… in Unregister()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/
DReportStatusCodeRouterPei.c95 EFI_PEI_RSC_HANDLER_CALLBACK *CallbackEntry; in Register() local
110 CallbackEntry = (EFI_PEI_RSC_HANDLER_CALLBACK *) (NumberOfEntries + 1); in Register()
120 if (CallbackEntry[Index] == Callback) { in Register()
126 if (FreePacket == NULL && CallbackEntry[Index] == NULL) { in Register()
143 CallbackEntry = (EFI_PEI_RSC_HANDLER_CALLBACK *) (FreePacket + 1); in Register()
144 CallbackEntry[FreeEntryIndex] = Callback; in Register()
177 EFI_PEI_RSC_HANDLER_CALLBACK *CallbackEntry; in Unregister() local
188 CallbackEntry = (EFI_PEI_RSC_HANDLER_CALLBACK *) (NumberOfEntries + 1); in Unregister()
190 if (CallbackEntry[Index] == Callback) { in Unregister()
194 CallbackEntry[Index] = NULL; in Unregister()
[all …]