/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
D | X86Thunk.c | 102 IN OUT THUNK_CONTEXT *ThunkContext in AsmPrepareThunk16() argument 107 ASSERT (ThunkContext != NULL); in AsmPrepareThunk16() 108 ASSERT ((UINTN)ThunkContext->RealModeBuffer < 0x100000); in AsmPrepareThunk16() 109 ASSERT (ThunkContext->RealModeBufferSize >= m16Size); in AsmPrepareThunk16() 110 ASSERT ((UINTN)ThunkContext->RealModeBuffer + m16Size <= 0x100000); in AsmPrepareThunk16() 112 CopyMem (ThunkContext->RealModeBuffer, &m16Start, m16Size); in AsmPrepareThunk16() 123 (UINTN)ThunkContext->RealModeBuffer + m16Gdt); in AsmPrepareThunk16() 129 (UINT32)(UINTN)ThunkContext->RealModeBuffer & ~0xf; in AsmPrepareThunk16() 131 (UINT32)(UINTN)ThunkContext->RealModeBuffer >> 16; in AsmPrepareThunk16() 136 *(UINT32*)((UINTN)ThunkContext->RealModeBuffer + mTransition) += in AsmPrepareThunk16() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/ |
D | X86Thunk.c | 127 OUT THUNK_CONTEXT *ThunkContext in AsmPrepareThunk16() argument 132 ASSERT (ThunkContext != NULL); in AsmPrepareThunk16() 133 ASSERT ((UINTN)ThunkContext->RealModeBuffer < 0x100000); in AsmPrepareThunk16() 134 ASSERT (ThunkContext->RealModeBufferSize >= m16Size); in AsmPrepareThunk16() 135 ASSERT ((UINTN)ThunkContext->RealModeBuffer + m16Size <= 0x100000); in AsmPrepareThunk16() 137 CopyMem (ThunkContext->RealModeBuffer, &m16Start, m16Size); in AsmPrepareThunk16() 148 (UINTN)ThunkContext->RealModeBuffer + m16Gdt); in AsmPrepareThunk16() 154 (UINT32)(UINTN)ThunkContext->RealModeBuffer & ~0xf; in AsmPrepareThunk16() 156 (UINT32)(UINTN)ThunkContext->RealModeBuffer >> 16; in AsmPrepareThunk16() 161 *(UINT32*)((UINTN)ThunkContext->RealModeBuffer + mTransition) += in AsmPrepareThunk16() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ |
D | Package.c | 119 HII_THUNK_CONTEXT *ThunkContext; in UpdatePackListWithOnlyIfrPack() local 124 ThunkContext = HII_THUNK_CONTEXT_FROM_LINK (Link); in UpdatePackListWithOnlyIfrPack() 126 if (StringPackageThunkContext != ThunkContext) { in UpdatePackListWithOnlyIfrPack() 131 if (CompareGuid (&StringPackageListHeader->PackageListGuid, &ThunkContext->TagGuid)) { in UpdatePackListWithOnlyIfrPack() 133 ASSERT (ThunkContext->StringPackageCount == 0 && ThunkContext->IfrPackageCount == 1); in UpdatePackListWithOnlyIfrPack() 135 …ThunkContext->StringPackageCount = GetPackageCountByType (StringPackageListHeader, EFI_HII_PACKAGE… in UpdatePackListWithOnlyIfrPack() 139 ThunkContext->UefiHiiHandle, in UpdatePackListWithOnlyIfrPack() 144 ThunkContext->SharingStringPack = TRUE; in UpdatePackListWithOnlyIfrPack() 395 HII_THUNK_CONTEXT *ThunkContext; in FindStringPackAndUpdatePackListWithOnlyIfrPack() local 401 ThunkContext = HII_THUNK_CONTEXT_FROM_LINK (Link); in FindStringPackAndUpdatePackListWithOnlyIfrPack() [all …]
|
D | Utility.c | 254 HII_THUNK_CONTEXT *ThunkContext; in FwHiiHandleToUefiHiiHandle() local 259 ThunkContext = FwHiiHandleToThunkContext (Private, FwHiiHandle); in FwHiiHandleToUefiHiiHandle() 261 if (ThunkContext != NULL) { in FwHiiHandleToUefiHiiHandle() 262 return ThunkContext->UefiHiiHandle; in FwHiiHandleToUefiHiiHandle() 285 HII_THUNK_CONTEXT *ThunkContext; in FwHiiHandleToThunkContext() local 291 ThunkContext = HII_THUNK_CONTEXT_FROM_LINK (Link); in FwHiiHandleToThunkContext() 293 if (FwHiiHandle == ThunkContext->FwHiiHandle) { in FwHiiHandleToThunkContext() 294 return ThunkContext; in FwHiiHandleToThunkContext() 319 HII_THUNK_CONTEXT *ThunkContext; in UefiHiiHandleToThunkContext() local 324 ThunkContext = HII_THUNK_CONTEXT_FROM_LINK (Link); in UefiHiiHandleToThunkContext() [all …]
|
D | Forms.c | 127 HII_THUNK_CONTEXT *ThunkContext; in HiiGetForms() local 137 ThunkContext = FwHiiHandleToThunkContext (Private, Handle); in HiiGetForms() 139 if (ThunkContext == NULL) { in HiiGetForms() 146 CopyMem (&OutputFormSet->FormSet.Guid, &ThunkContext->TagGuid, sizeof (EFI_GUID)); in HiiGetForms() 148 if (ThunkContext->FormSet != NULL) { in HiiGetForms() 149 OutputFormSet->FormSet.Class = ThunkContext->FormSet->Class; in HiiGetForms() 150 OutputFormSet->FormSet.SubClass = ThunkContext->FormSet->SubClass; in HiiGetForms() 151 OutputFormSet->FormSet.Help = ThunkContext->FormSet->Help; in HiiGetForms() 152 OutputFormSet->FormSet.FormSetTitle = ThunkContext->FormSet->FormSetTitle; in HiiGetForms() 190 HII_THUNK_CONTEXT *ThunkContext; in HiiGetDefaultImage() local [all …]
|
D | ConfigAccess.c | 197 IN OUT HII_THUNK_CONTEXT *ThunkContext in InstallDefaultConfigAccessProtocol() argument 204 ASSERT (ThunkContext->IfrPackageCount != 0); in InstallDefaultConfigAccessProtocol() 225 &ThunkContext->UefiHiiDriverHandle, in InstallDefaultConfigAccessProtocol() 234 ConfigAccessInstance->ThunkContext = ThunkContext; in InstallDefaultConfigAccessProtocol() 250 IN HII_THUNK_CONTEXT *ThunkContext in UninstallDefaultConfigAccessProtocol() argument 258 ThunkContext->UefiHiiDriverHandle, in UninstallDefaultConfigAccessProtocol() 265 ThunkContext->UefiHiiDriverHandle, in UninstallDefaultConfigAccessProtocol() 272 ThunkContext->UefiHiiDriverHandle, in UninstallDefaultConfigAccessProtocol() 458 FormSetContext = ConfigAccess->ThunkContext->FormSet; in ThunkExtractConfig() 469 BufferStorage = GetStorageFromConfigString (ConfigAccess->ThunkContext->FormSet, Request); in ThunkExtractConfig() [all …]
|
D | Strings.c | 69 HII_THUNK_CONTEXT *ThunkContext; in GetTagGuidByFwHiiHandle() local 76 ThunkContext = HII_THUNK_CONTEXT_FROM_LINK (Link); in GetTagGuidByFwHiiHandle() 78 if (FwHiiHandle == ThunkContext->FwHiiHandle) { in GetTagGuidByFwHiiHandle() 79 CopyGuid (TagGuid, &ThunkContext->TagGuid); in GetTagGuidByFwHiiHandle() 108 IN CONST HII_THUNK_CONTEXT *ThunkContext, in UpdateString() argument 116 …NewStringId = HiiSetString (ThunkContext->UefiHiiHandle, *StringId, NewString, Rfc4646AsciiLanguag… in UpdateString() 160 HII_THUNK_CONTEXT *ThunkContext; in HiiNewString() local 194 ThunkContext = HII_THUNK_CONTEXT_FROM_LINK (Link); in HiiNewString() 196 if (CompareGuid (&TagGuid, &ThunkContext->TagGuid)) { in HiiNewString() 197 if (ThunkContext->SharingStringPack) { in HiiNewString() [all …]
|
D | OpcodeCreation.c | 358 IN HII_THUNK_CONTEXT *ThunkContext, in F2UCreateOneOfOpCode() argument 383 UOpcode.Question.VarStoreId = ThunkContext->FormSet->DefaultVarStoreId; in F2UCreateOneOfOpCode() 398 …Status = FwQIdToUefiQId (ThunkContext->FormSet, FwOpcode->Header.OpCode, FwOpcode->QuestionId, &UO… in F2UCreateOneOfOpCode() 400 UOpcode.Question.QuestionId = AssignQuestionId (FwOneOfOp->Key, ThunkContext->FormSet); in F2UCreateOneOfOpCode() 418 …Status = FwQIdToUefiQId (ThunkContext->FormSet, FwOpcode->Header.OpCode, FwOpcode->QuestionId, &UO… in F2UCreateOneOfOpCode() 420 UOpcode.Question.QuestionId = AssignQuestionId (FwOpcode->QuestionId, ThunkContext->FormSet); in F2UCreateOneOfOpCode() 478 IN HII_THUNK_CONTEXT *ThunkContext, in F2UCreateOrderedListOpCode() argument 500 UOpcode.Question.VarStoreId = ThunkContext->FormSet->DefaultVarStoreId; in F2UCreateOrderedListOpCode() 517 …Status = FwQIdToUefiQId (ThunkContext->FormSet, FwOpcode->Header.OpCode, FwOpcode->QuestionId, &UO… in F2UCreateOrderedListOpCode() 519 UOpcode.Question.QuestionId = AssignQuestionId (FwOneOfOp->Key, ThunkContext->FormSet); in F2UCreateOrderedListOpCode() [all …]
|
D | HiiDatabase.c | 95 HII_THUNK_CONTEXT *ThunkContext; in InitializeHiiDatabase() local 163 ThunkContext = CreateThunkContextForUefiHiiHandle (Buffer[Index]); in InitializeHiiDatabase() 164 ASSERT (ThunkContext!= NULL); in InitializeHiiDatabase() 166 InsertTailList (&Private->ThunkContextListHead, &ThunkContext->Link); in InitializeHiiDatabase() 266 HII_THUNK_CONTEXT *ThunkContext; in HiiFindHandles() local 297 ThunkContext = HII_THUNK_CONTEXT_FROM_LINK (Link); in HiiFindHandles() 298 Handle[Count] = ThunkContext->FwHiiHandle; in HiiFindHandles()
|
D | ConfigAccess.h | 37 IN OUT HII_THUNK_CONTEXT *ThunkContext 51 IN HII_THUNK_CONTEXT *ThunkContext
|
D | SetupBrowser.c | 428 HII_THUNK_CONTEXT *ThunkContext; in ThunkSendForm() local 446 ThunkContext = FwHiiHandleToThunkContext (Private, *Handle); in ThunkSendForm() 447 if (ThunkContext == NULL) { in ThunkSendForm() 456 …if (CompareGuid (&gFrameworkBdsFrontPageFormsetGuid, &ThunkContext->FormSet->Guid) && !mFrontPageD… in ThunkSendForm() 469 ThunkContext->NvMapOverride = NvMapOverride; in ThunkSendForm() 474 &ThunkContext->UefiHiiHandle, in ThunkSendForm()
|
D | UefiIfrDefault.c | 350 IN HII_THUNK_CONTEXT *ThunkContext, in UefiIfrGetBufferTypeDefaults() argument 364 DefaultLink = GetFirstNode (&ThunkContext->FormSet->DefaultStoreListHead); in UefiIfrGetBufferTypeDefaults() 365 while (!IsNull (&ThunkContext->FormSet->DefaultStoreListHead, DefaultLink)) { in UefiIfrGetBufferTypeDefaults() 368 Status = GetBufferTypeDefaultId (DefaultStore, ThunkContext->FormSet, *UefiDefaults); in UefiIfrGetBufferTypeDefaults() 371 DefaultLink = GetNextNode (&ThunkContext->FormSet->DefaultStoreListHead, DefaultLink); in UefiIfrGetBufferTypeDefaults()
|
D | UefiIfrDefault.h | 47 IN HII_THUNK_CONTEXT *ThunkContext,
|
D | Utility.h | 244 IN HII_THUNK_CONTEXT *ThunkContext
|
D | UefiIfrParser.c | 525 HII_THUNK_CONTEXT *ThunkContext; in ParseOpCodes() local 534 …ThunkContext = UefiHiiHandleToThunkContext ((CONST HII_THUNK_PRIVATE_DATA*) mHiiThunkPrivateDa… in ParseOpCodes() 690 if (ThunkContext != NULL && ThunkContext->ByFrameworkHiiNewPack) { in ParseOpCodes() 995 if (ThunkContext != NULL && ThunkContext->ByFrameworkHiiNewPack) { in ParseOpCodes()
|
D | HiiDatabase.h | 214 HII_THUNK_CONTEXT *ThunkContext; member 858 IN HII_THUNK_CONTEXT *ThunkContext,
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmmSwDispatch2OnSmmSwDispatchThunk/ |
D | SmmSwDispatch2OnSmmSwDispatchThunk.c | 131 EFI_SMM_SW_DISPATCH2_THUNK_CONTEXT *ThunkContext; in FindSmmSwDispatch2ContextBySwSmiInputValue() 136 ThunkContext = BASE_CR ( in FindSmmSwDispatch2ContextBySwSmiInputValue() 141 if (ThunkContext->SwSmiInputValue == SwSmiInputValue) { in FindSmmSwDispatch2ContextBySwSmiInputValue() 142 return ThunkContext; in FindSmmSwDispatch2ContextBySwSmiInputValue() 161 EFI_SMM_SW_DISPATCH2_THUNK_CONTEXT *ThunkContext; in FindSmmSwDispatch2ContextByDispatchHandle() 166 ThunkContext = BASE_CR ( in FindSmmSwDispatch2ContextByDispatchHandle() 171 if (ThunkContext->DispatchHandle == DispatchHandle) { in FindSmmSwDispatch2ContextByDispatchHandle() 172 return ThunkContext; in FindSmmSwDispatch2ContextByDispatchHandle() 199 EFI_SMM_SW_DISPATCH2_THUNK_CONTEXT *ThunkContext; in FrameworkDispatchFunction() 211 ThunkContext = FindSmmSwDispatch2ContextBySwSmiInputValue (DispatchContext->SwSmiInputValue); in FrameworkDispatchFunction() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Thunk16/ |
D | X86Thunk.c | 74 IN THUNK_CONTEXT *ThunkContext, in AsmThunk16() argument 118 RegisterSet->E.ESP = (UINT16)ThunkContext->DefaultStack; in AsmThunk16() 119 RegisterSet->E.SS = (UINT16)((ThunkContext->DefaultStack >> 4) & 0xf000); in AsmThunk16() 133 ThunkContext->RealModeBuffer >> 4 in AsmThunk16() 185 OUT THUNK_CONTEXT *ThunkContext, in AsmThunk16SetProperties() argument 213 ThunkContext->RealModeBuffer = (UINT32)(UINTN)RealModeBuffer; in AsmThunk16SetProperties() 214 ThunkContext->DefaultStack = (UINT32)(ThunkContext->RealModeBuffer + BufferSize); in AsmThunk16SetProperties() 217 return ThunkContext; in AsmThunk16SetProperties() 267 IN THUNK_CONTEXT *ThunkContext, in AsmThunk16SetUserStack() argument 276 …EfiCommonLibCopyMem ((VOID *)(UINTN)(ThunkContext->DefaultStack - sizeof(_STK16) - sizeof(IA32_REG… in AsmThunk16SetUserStack() [all …]
|
D | Thunk16Lib.h | 213 OUT THUNK_CONTEXT *ThunkContext, 242 IN THUNK_CONTEXT *ThunkContext, 250 IN OUT THUNK_CONTEXT *ThunkContext 273 IN THUNK_CONTEXT *ThunkContext, 315 IN THUNK_CONTEXT *ThunkContext,
|
/device/linaro/bootloader/edk2/DuetPkg/BiosVideoThunkDxe/ |
D | LegacyBiosThunk.c | 26 THUNK_CONTEXT *ThunkContext in InitializeBiosIntCaller() argument 48 ThunkContext->RealModeBuffer = (VOID*)(UINTN)LegacyRegionBase; in InitializeBiosIntCaller() 49 ThunkContext->RealModeBufferSize = LegacyRegionSize; in InitializeBiosIntCaller() 50 …ThunkContext->ThunkAttributes = THUNK_ATTRIBUTE_BIG_REAL_MODE|THUNK_ATTRIBUTE_DISABLE_A20_MASK_… in InitializeBiosIntCaller() 51 AsmPrepareThunk16(ThunkContext); in InitializeBiosIntCaller() 180 …Stack16 = (UINT16 *)((UINT8 *) BiosDev->ThunkContext->RealModeBuffer + BiosDev->ThunkContext->Real… in LegacyBiosInt86() 187 BiosDev->ThunkContext->RealModeState = &ThunkRegSet; in LegacyBiosInt86() 188 AsmThunk16 (BiosDev->ThunkContext); in LegacyBiosInt86()
|
D | BiosVideo.h | 87 THUNK_CONTEXT *ThunkContext; member 465 THUNK_CONTEXT *ThunkContext
|
D | BiosVideo.c | 117 IN THUNK_CONTEXT *ThunkContext, 479 BiosVideoPrivate->ThunkContext = ParentThunkContext; in BiosVideoChildHandleInstall()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
D | EdkIIGlueBaseLib.h | 7154 OUT THUNK_CONTEXT *ThunkContext 7175 IN OUT THUNK_CONTEXT *ThunkContext 7199 IN OUT THUNK_CONTEXT *ThunkContext
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | BaseLib.h | 7560 IN OUT THUNK_CONTEXT *ThunkContext 7620 IN OUT THUNK_CONTEXT *ThunkContext 7647 IN OUT THUNK_CONTEXT *ThunkContext
|