• Home
  • Raw
  • Download

Lines Matching refs:FwhInstance

106   EFI_FW_VOL_INSTANCE *FwhInstance;  in FvbVirtualddressChangeEvent()  local
115 FwhInstance = mFvbModuleGlobal->FvInstance[FVB_PHYSICAL]; in FvbVirtualddressChangeEvent()
117 EfiConvertPointer (0x0, (VOID **) &FwhInstance->FvBase[FVB_VIRTUAL]); in FvbVirtualddressChangeEvent()
118 FwhInstance = (EFI_FW_VOL_INSTANCE *) in FvbVirtualddressChangeEvent()
120 (UINTN) ((UINT8 *) FwhInstance) + FwhInstance->VolumeHeader.HeaderLength + in FvbVirtualddressChangeEvent()
133 OUT EFI_FW_VOL_INSTANCE **FwhInstance, in GetFvbInstance() argument
173 *FwhInstance = FwhRecord; in GetFvbInstance()
206 EFI_FW_VOL_INSTANCE *FwhInstance = NULL; in FvbGetPhysicalAddress() local
212 Status = GetFvbInstance (Instance, Global, &FwhInstance, Virtual); in FvbGetPhysicalAddress()
214 *Address = FwhInstance->FvBase[Virtual]; in FvbGetPhysicalAddress()
246 EFI_FW_VOL_INSTANCE *FwhInstance = NULL; in FvbGetVolumeAttributes() local
252 Status = GetFvbInstance (Instance, Global, &FwhInstance, Virtual); in FvbGetVolumeAttributes()
254 *Attributes = FwhInstance->VolumeHeader.Attributes; in FvbGetVolumeAttributes()
299 EFI_FW_VOL_INSTANCE *FwhInstance = NULL; in FvbGetLbaAddress() local
306 Status = GetFvbInstance (Instance, Global, &FwhInstance, Virtual); in FvbGetLbaAddress()
311 BlockMap = &(FwhInstance->VolumeHeader.BlockMap[0]); in FvbGetLbaAddress()
332 *LbaAddress = FwhInstance->FvBase[Virtual] + Offset; in FvbGetLbaAddress()
622 EFI_FW_VOL_INSTANCE *FwhInstance = NULL; in FvbSetVolumeAttributes() local
635 Status = GetFvbInstance (Instance, Global, &FwhInstance, Virtual); in FvbSetVolumeAttributes()
638 AttribPtr = (EFI_FVB_ATTRIBUTES_2 *) &(FwhInstance->VolumeHeader.Attributes); in FvbSetVolumeAttributes()
887 EFI_FW_VOL_INSTANCE *FwhInstance = NULL; in FvbProtocolEraseBlocks() local
896 …Status = GetFvbInstance (FvbDevice->Instance, mFvbModuleGlobal, &FwhInstance, EfiGoneVirtual ()… in FvbProtocolEraseBlocks()
899 NumOfBlocks = FwhInstance->NumOfBlocks; in FvbProtocolEraseBlocks()
1116 EFI_FW_VOL_INSTANCE *FwhInstance = NULL; in FvbInitialize() local
1206 FwhInstance = mFvbModuleGlobal->FvInstance[FVB_PHYSICAL]; in FvbInitialize()
1207 mFvbModuleGlobal->FvInstance[FVB_VIRTUAL] = FwhInstance; in FvbInitialize()
1253 FwhInstance->FvBase[FVB_PHYSICAL] = (UINTN) BaseAddress; in FvbInitialize()
1254 FwhInstance->FvBase[FVB_VIRTUAL] = (UINTN) BaseAddress; in FvbInitialize()
1256 …CopyMem ((UINTN *) &(FwhInstance->VolumeHeader), (UINTN *) FwVolHeader, FwVolHeader->HeaderLength); in FvbInitialize()
1257 FwVolHeader = &(FwhInstance->VolumeHeader); in FvbInitialize()
1258 EfiInitializeLock (&(FwhInstance->FvbDevLock), TPL_HIGH_LEVEL); in FvbInitialize()
1277 FwhInstance->NumOfBlocks = NumOfBlocks; in FvbInitialize()
1346 FwhInstance = (EFI_FW_VOL_INSTANCE *) in FvbInitialize()
1348 (UINTN) ((UINT8 *) FwhInstance) + FwVolHeader->HeaderLength + in FvbInitialize()