Home | History | Annotate | Download | only in FrameworkHiiOnUefiHiiThunk

Lines Matching defs:ThunkContext

119   HII_THUNK_CONTEXT          *ThunkContext;

124 ThunkContext = HII_THUNK_CONTEXT_FROM_LINK (Link);
126 if (StringPackageThunkContext != ThunkContext) {
131 if (CompareGuid (&StringPackageListHeader->PackageListGuid, &ThunkContext->TagGuid)) {
133 ASSERT (ThunkContext->StringPackageCount == 0 && ThunkContext->IfrPackageCount == 1);
135 ThunkContext->StringPackageCount = GetPackageCountByType (StringPackageListHeader, EFI_HII_PACKAGE_STRINGS);
139 ThunkContext->UefiHiiHandle,
144 ThunkContext->SharingStringPack = TRUE;
395 HII_THUNK_CONTEXT *ThunkContext;
401 ThunkContext = HII_THUNK_CONTEXT_FROM_LINK (Link);
403 if (ThunkContext != IfrThunkContext) {
404 if (CompareGuid (&IfrThunkContext->TagGuid, &ThunkContext->TagGuid) && (ThunkContext->IfrPackageCount == 0)) {
406 Status = ExportPackageLists (ThunkContext->UefiHiiHandle, &StringPackageListHeader, &Size);
426 ThunkContext->SharingStringPack = TRUE;
478 HII_THUNK_CONTEXT *ThunkContext;
496 ThunkContext = CreateThunkContext (Private, StringPackageCount, IfrPackageCount);
497 if (ThunkContext == NULL) {
500 ThunkContext->ByFrameworkHiiNewPack = TRUE;
518 GetFormSetGuid (IfrPackage, &ThunkContext->TagGuid);
521 GenerateRandomGuid (&ThunkContext->TagGuid);
534 CopyGuid (&ThunkContext->TagGuid, Packages->GuidId);
545 InstallDefaultConfigAccessProtocol (Packages, ThunkContext);
548 PackageListHeader = PrepareUefiPackageListFromFrameworkHiiPackages (Packages, &ThunkContext->TagGuid);
552 ThunkContext->UefiHiiDriverHandle,
553 &ThunkContext->UefiHiiHandle
569 ThunkContext->UefiHiiDriverHandle,
570 &ThunkContext->UefiHiiHandle
592 ThunkContext,
606 ThunkContext
618 ThunkContext->FormSet = ParseFormSet (ThunkContext->UefiHiiHandle);
619 ASSERT (ThunkContext->FormSet != NULL);
625 DestroyThunkContext (ThunkContext);
627 InsertTailList (&Private->ThunkContextListHead, &ThunkContext->Link);
628 *Handle = ThunkContext->FwHiiHandle;
717 HII_THUNK_CONTEXT *ThunkContext;
726 ThunkContext = FwHiiHandleToThunkContext (Private, Handle);
728 if (ThunkContext != NULL) {
731 ThunkContext->UefiHiiHandle
735 if (ThunkContext->IfrPackageCount != 0) {
736 UninstallDefaultConfigAccessProtocol (ThunkContext);
739 DestroyThunkContext (ThunkContext);
781 HII_THUNK_CONTEXT *ThunkContext;
794 // We will create a ThunkContext to log the package list only if the
797 ThunkContext = UefiHiiHandleToThunkContext (Private, Handle);
798 if (ThunkContext == NULL) {
799 ThunkContext = CreateThunkContextForUefiHiiHandle (Handle);
800 ASSERT (ThunkContext != NULL);
802 InsertTailList (&Private->ThunkContextListHead, &ThunkContext->Link);
806 if (ThunkContext->FormSet != NULL) {
807 DestroyFormSet (ThunkContext->FormSet);
813 ThunkContext->FormSet = ParseFormSet (ThunkContext->UefiHiiHandle);
849 HII_THUNK_CONTEXT *ThunkContext;
864 ThunkContext = UefiHiiHandleToThunkContext (Private, Handle);
870 if (ThunkContext != NULL) {
871 if (!ThunkContext->ByFrameworkHiiNewPack) {