Lines Matching refs:FwhInstance
146 EFI_FW_VOL_INSTANCE *FwhInstance; in FvbVirtualddressChangeEvent() local
155 FwhInstance = mFvbModuleGlobal->FvInstance[FVB_PHYSICAL]; in FvbVirtualddressChangeEvent()
157 EfiConvertPointer (0x0, (VOID **) &FwhInstance->FvBase[FVB_VIRTUAL]); in FvbVirtualddressChangeEvent()
158 FwhInstance = (EFI_FW_VOL_INSTANCE *) in FvbVirtualddressChangeEvent()
160 (UINTN) ((UINT8 *) FwhInstance) + FwhInstance->VolumeHeader.HeaderLength + in FvbVirtualddressChangeEvent()
174 OUT EFI_FW_VOL_INSTANCE **FwhInstance, in GetFvbInstance() argument
214 *FwhInstance = FwhRecord; in GetFvbInstance()
247 EFI_FW_VOL_INSTANCE *FwhInstance; in FvbGetPhysicalAddress() local
253 Status = GetFvbInstance (Instance, Global, &FwhInstance, Virtual); in FvbGetPhysicalAddress()
255 *Address = FwhInstance->FvBase[Virtual]; in FvbGetPhysicalAddress()
287 EFI_FW_VOL_INSTANCE *FwhInstance; in FvbGetVolumeAttributes() local
293 Status = GetFvbInstance (Instance, Global, &FwhInstance, Virtual); in FvbGetVolumeAttributes()
295 *Attributes = FwhInstance->VolumeHeader.Attributes; in FvbGetVolumeAttributes()
340 EFI_FW_VOL_INSTANCE *FwhInstance; in FvbGetLbaAddress() local
347 Status = GetFvbInstance (Instance, Global, &FwhInstance, Virtual); in FvbGetLbaAddress()
352 BlockMap = &(FwhInstance->VolumeHeader.BlockMap[0]); in FvbGetLbaAddress()
373 *LbaAddress = FwhInstance->FvBase[Virtual] + Offset; in FvbGetLbaAddress()
663 EFI_FW_VOL_INSTANCE *FwhInstance; in FvbSetVolumeAttributes() local
675 Status = GetFvbInstance (Instance, Global, &FwhInstance, Virtual); in FvbSetVolumeAttributes()
678 AttribPtr = (EFI_FVB_ATTRIBUTES_2 *) &(FwhInstance->VolumeHeader.Attributes); in FvbSetVolumeAttributes()
926 EFI_FW_VOL_INSTANCE *FwhInstance; in FvbProtocolEraseBlocks() local
935 …Status = GetFvbInstance (FvbDevice->Instance, mFvbModuleGlobal, &FwhInstance, EfiGoneVirtual ()… in FvbProtocolEraseBlocks()
938 NumOfBlocks = FwhInstance->NumOfBlocks; in FvbProtocolEraseBlocks()
1144 EFI_FW_VOL_INSTANCE *FwhInstance; in FvbInitialize() local
1224 FwhInstance = mFvbModuleGlobal->FvInstance[FVB_PHYSICAL]; in FvbInitialize()
1225 mFvbModuleGlobal->FvInstance[FVB_VIRTUAL] = FwhInstance; in FvbInitialize()
1271 FwhInstance->FvBase[FVB_PHYSICAL] = (UINTN) BaseAddress; in FvbInitialize()
1272 FwhInstance->FvBase[FVB_VIRTUAL] = (UINTN) BaseAddress; in FvbInitialize()
1274 …CopyMem ((UINTN *) &(FwhInstance->VolumeHeader), (UINTN *) FwVolHeader, FwVolHeader->HeaderLength); in FvbInitialize()
1275 FwVolHeader = &(FwhInstance->VolumeHeader); in FvbInitialize()
1276 EfiInitializeLock (&(FwhInstance->FvbDevLock), TPL_HIGH_LEVEL); in FvbInitialize()
1293 FwhInstance->NumOfBlocks = NumOfBlocks; in FvbInitialize()
1368 FwhInstance = (EFI_FW_VOL_INSTANCE *) in FvbInitialize()
1370 (UINTN) ((UINT8 *) FwhInstance) + FwVolHeader->HeaderLength + in FvbInitialize()