Home | History | Annotate | Download | only in SmmSwDispatch2OnSmmSwDispatchThunk

Lines Matching defs:ThunkContext

131   EFI_SMM_SW_DISPATCH2_THUNK_CONTEXT    *ThunkContext;

136 ThunkContext = BASE_CR (
141 if (ThunkContext->SwSmiInputValue == SwSmiInputValue) {
142 return ThunkContext;
161 EFI_SMM_SW_DISPATCH2_THUNK_CONTEXT *ThunkContext;
166 ThunkContext = BASE_CR (
171 if (ThunkContext->DispatchHandle == DispatchHandle) {
172 return ThunkContext;
199 EFI_SMM_SW_DISPATCH2_THUNK_CONTEXT *ThunkContext;
211 ThunkContext = FindSmmSwDispatch2ContextBySwSmiInputValue (DispatchContext->SwSmiInputValue);
212 ASSERT (ThunkContext != NULL);
213 if (ThunkContext == NULL) {
252 DispatchFunction = (EFI_SMM_HANDLER_ENTRY_POINT2)ThunkContext->DispatchFunction;
300 EFI_SMM_SW_DISPATCH2_THUNK_CONTEXT *ThunkContext;
341 sizeof(*ThunkContext),
342 (VOID **)&ThunkContext
350 ThunkContext->SwSmiInputValue = RegisterContext->SwSmiInputValue;
351 ThunkContext->DispatchFunction = (UINTN)DispatchFunction;
352 ThunkContext->DispatchHandle = *DispatchHandle;
353 InsertTailList (&mSmmSwDispatch2ThunkQueue, &ThunkContext->Link);
378 EFI_SMM_SW_DISPATCH2_THUNK_CONTEXT *ThunkContext;
386 ThunkContext = FindSmmSwDispatch2ContextByDispatchHandle (DispatchHandle);
387 ASSERT (ThunkContext != NULL);
388 if (ThunkContext != NULL) {
389 RemoveEntryList (&ThunkContext->Link);
390 gSmst->SmmFreePool (ThunkContext);