Home
last modified time | relevance | path

Searched refs:HstiAip (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/MdePkg/Library/DxeHstiLib/
DHstiAip.c47 HSTI_AIP_PRIVATE_DATA *HstiAip; in HstiAipGetInfo() local
56 HstiAip = HSTI_AIP_PRIVATE_DATA_FROM_THIS(This); in HstiAipGetInfo()
58 *InformationBlock = AllocateCopyPool (HstiAip->HstiSize, HstiAip->Hsti); in HstiAipGetInfo()
62 *InformationBlockSize = HstiAip->HstiSize; in HstiAipGetInfo()
96 HSTI_AIP_PRIVATE_DATA *HstiAip; in HstiAipSetInfo() local
110 HstiAip = HSTI_AIP_PRIVATE_DATA_FROM_THIS(This); in HstiAipSetInfo()
112 if (InformationBlockSize > HstiAip->HstiMaxSize) { in HstiAipSetInfo()
117 FreePool (HstiAip->Hsti); in HstiAipSetInfo()
118 HstiAip->Hsti = NewHsti; in HstiAipSetInfo()
119 HstiAip->HstiSize = 0; in HstiAipSetInfo()
[all …]
DHstiDxe.c277 HSTI_AIP_PRIVATE_DATA *HstiAip; in HstiLibSetTable() local
295 HstiAip = AllocateZeroPool (sizeof(HSTI_AIP_PRIVATE_DATA)); in HstiLibSetTable()
296 if (HstiAip == NULL) { in HstiLibSetTable()
299 HstiAip->Hsti = AllocateCopyPool (HstiSize, Hsti); in HstiLibSetTable()
300 if (HstiAip->Hsti == NULL) { in HstiLibSetTable()
301 FreePool (HstiAip); in HstiLibSetTable()
305 SecurityFeaturesRequired = (UINT8 *)HstiAip->Hsti + sizeof(ADAPTER_INFO_PLATFORM_SECURITY); in HstiLibSetTable()
310 HstiAip->Signature = HSTI_AIP_PRIVATE_SIGNATURE; in HstiLibSetTable()
311 CopyMem (&HstiAip->Aip, &mAdapterInformationProtocol, sizeof(EFI_ADAPTER_INFORMATION_PROTOCOL)); in HstiLibSetTable()
312 HstiAip->HstiSize = HstiSize; in HstiLibSetTable()
[all …]
DDxeHstiLib.inf25 HstiAip.c