/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/ |
D | FvbServiceSmm.c | 52 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in InstallFvbProtocol() 57 FvbDevice = (EFI_FW_VOL_BLOCK_DEVICE *) AllocateRuntimeCopyPool ( in InstallFvbProtocol() 61 ASSERT (FvbDevice != NULL); in InstallFvbProtocol() 63 FvbDevice->Instance = InstanceNum; in InstallFvbProtocol() 73 …FvbDevice->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) AllocateRuntimeCopyPool (sizeof (FV_MEMMAP_DE… in InstallFvbProtocol() 74 …((FV_MEMMAP_DEVICE_PATH *) FvbDevice->DevicePath)->MemMapDevPath.StartingAddress = FwhInstance->Fv… in InstallFvbProtocol() 75 …((FV_MEMMAP_DEVICE_PATH *) FvbDevice->DevicePath)->MemMapDevPath.EndingAddress = FwhInstance->Fv… in InstallFvbProtocol() 77 …FvbDevice->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) AllocateRuntimeCopyPool (sizeof (FV_PIWG_DEVI… in InstallFvbProtocol() 79 &((FV_PIWG_DEVICE_PATH *)FvbDevice->DevicePath)->FvDevPath.FvName, in InstallFvbProtocol() 92 &FvbDevice->FwVolBlockInstance in InstallFvbProtocol() [all …]
|
D | FvbServiceDxe.c | 87 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in InstallFvbProtocol() 93 FvbDevice = (EFI_FW_VOL_BLOCK_DEVICE *) AllocateRuntimeCopyPool ( in InstallFvbProtocol() 97 ASSERT (FvbDevice != NULL); in InstallFvbProtocol() 99 FvbDevice->Instance = InstanceNum; in InstallFvbProtocol() 110 …FvbDevice->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) AllocateRuntimeCopyPool (sizeof (FV_MEMMAP_DE… in InstallFvbProtocol() 111 …((FV_MEMMAP_DEVICE_PATH *) FvbDevice->DevicePath)->MemMapDevPath.StartingAddress = FwhInstance->Fv… in InstallFvbProtocol() 112 …((FV_MEMMAP_DEVICE_PATH *) FvbDevice->DevicePath)->MemMapDevPath.EndingAddress = FwhInstance->Fv… in InstallFvbProtocol() 114 …FvbDevice->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) AllocateRuntimeCopyPool (sizeof (FV_PIWG_DEVI… in InstallFvbProtocol() 116 &((FV_PIWG_DEVICE_PATH *)FvbDevice->DevicePath)->FvDevPath.FvName, in InstallFvbProtocol() 126 &FvbDevice->DevicePath, in InstallFvbProtocol() [all …]
|
D | FvbSmmDxe.c | 199 EFI_FVB_DEVICE *FvbDevice; in FvbGetAttributes() 205 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbGetAttributes() 206 SmmFvb = FvbDevice->SmmFvbInstance; in FvbGetAttributes() 262 EFI_FVB_DEVICE *FvbDevice; in FvbSetAttributes() 268 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbSetAttributes() 269 SmmFvb = FvbDevice->SmmFvbInstance; in FvbSetAttributes() 375 EFI_FVB_DEVICE *FvbDevice; in FvbGetPhysicalAddress() 381 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbGetPhysicalAddress() 382 SmmFvb = FvbDevice->SmmFvbInstance; in FvbGetPhysicalAddress() 419 EFI_FVB_DEVICE *FvbDevice; in FvbGetBlockSize() [all …]
|
D | FvbService.c | 624 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetPhysicalAddress() 627 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetPhysicalAddress() 628 FvInstance = GetFvbInstance(FvbDevice->Instance); in FvbProtocolGetPhysicalAddress() 662 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetBlockSize() 671 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetBlockSize() 674 FvbDevice->Instance, in FvbProtocolGetBlockSize() 699 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetAttributes() 701 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetAttributes() 703 *Attributes = FvbGetVolumeAttributes (FvbDevice->Instance); in FvbProtocolGetAttributes() 732 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolSetAttributes() [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/EmuVariableFvbRuntimeDxe/ |
D | Fvb.c | 141 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetPhysicalAddress() local 143 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetPhysicalAddress() 145 *Address = (EFI_PHYSICAL_ADDRESS)(UINTN) FvbDevice->BufferPtr; in FvbProtocolGetPhysicalAddress() 186 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetBlockSize() local 192 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetBlockSize() 194 *BlockSize = FvbDevice->BlockSize; in FvbProtocolGetBlockSize() 324 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolEraseBlocks() local 332 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolEraseBlocks() 364 ErasePtr = (UINT8*) FvbDevice->BufferPtr; in FvbProtocolEraseBlocks() 368 EraseSize = EraseSize + FvbDevice->BlockSize; in FvbProtocolEraseBlocks() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVolBlock/ |
D | FwVolBlock.c | 106 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FwVolBlockGetAttributes() local 108 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FwVolBlockGetAttributes() 113 *Attributes = FvbDevice->FvbAttributes & ~EFI_FVB2_WRITE_STATUS; in FwVolBlockGetAttributes() 210 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FwVolBlockReadBlock() local 217 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FwVolBlockReadBlock() 222 if ((FvbDevice->FvbAttributes & EFI_FVB2_READ_STATUS) == 0) { in FwVolBlockReadBlock() 227 if (LbaIndex >= FvbDevice->NumBlocks) { in FwVolBlockReadBlock() 235 if (Offset > FvbDevice->LbaCache[LbaIndex].Length) { in FwVolBlockReadBlock() 244 if (Offset + NumOfBytesRead > FvbDevice->LbaCache[LbaIndex].Length) { in FwVolBlockReadBlock() 248 NumOfBytesRead = FvbDevice->LbaCache[LbaIndex].Length - Offset; in FwVolBlockReadBlock() [all …]
|
/device/linaro/bootloader/edk2/Nt32Pkg/FvbServicesRuntimeDxe/ |
D | FWBlockService.c | 789 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetPhysicalAddress() local 791 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetPhysicalAddress() 793 return FvbGetPhysicalAddress (FvbDevice->Instance, Address, mFvbModuleGlobal, EfiGoneVirtual ()); in FvbProtocolGetPhysicalAddress() 825 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetBlockSize() local 827 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetBlockSize() 830 FvbDevice->Instance, in FvbProtocolGetBlockSize() 860 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetAttributes() local 862 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetAttributes() 864 …return FvbGetVolumeAttributes (FvbDevice->Instance, Attributes, mFvbModuleGlobal, EfiGoneVirtual (… in FvbProtocolGetAttributes() 887 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolSetAttributes() local [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/FvbServicesRuntimeDxe/ |
D | FWBlockService.c | 750 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetPhysicalAddress() local 752 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetPhysicalAddress() 754 return FvbGetPhysicalAddress (FvbDevice->Instance, Address, mFvbModuleGlobal, EfiGoneVirtual ()); in FvbProtocolGetPhysicalAddress() 786 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetBlockSize() local 788 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetBlockSize() 791 FvbDevice->Instance, in FvbProtocolGetBlockSize() 821 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetAttributes() local 823 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetAttributes() 825 …return FvbGetVolumeAttributes (FvbDevice->Instance, Attributes, mFvbModuleGlobal, EfiGoneVirtual (… in FvbProtocolGetAttributes() 848 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolSetAttributes() local [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/ |
D | FwBlockServiceDxe.c | 31 IN EFI_FW_VOL_BLOCK_DEVICE *FvbDevice in InstallProtocolInterfaces() argument 45 &FvbDevice->DevicePath, &FwbHandle); in InstallProtocolInterfaces() 55 &FvbDevice->FwVolBlockInstance, in InstallProtocolInterfaces() 57 FvbDevice->DevicePath, in InstallProtocolInterfaces() 61 } else if (IsDevicePathEnd (FvbDevice->DevicePath)) { in InstallProtocolInterfaces() 77 &FvbDevice->FwVolBlockInstance in InstallProtocolInterfaces()
|
D | FwBlockService.c | 485 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetPhysicalAddress() local 487 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetPhysicalAddress() 489 return FvbGetPhysicalAddress (FvbDevice->Instance, Address, in FvbProtocolGetPhysicalAddress() 522 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetBlockSize() local 524 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetBlockSize() 527 FvbDevice->Instance, in FvbProtocolGetBlockSize() 556 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetAttributes() local 558 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetAttributes() 560 return FvbGetVolumeAttributes (FvbDevice->Instance, Attributes, in FvbProtocolGetAttributes() 584 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolSetAttributes() local [all …]
|
D | FwBlockServiceSmm.c | 27 IN EFI_FW_VOL_BLOCK_DEVICE *FvbDevice in InstallProtocolInterfaces() argument 48 &FvbDevice->FwVolBlockInstance in InstallProtocolInterfaces() 56 FvbDevice->DevicePath in InstallProtocolInterfaces()
|
D | FwBlockService.h | 185 IN EFI_FW_VOL_BLOCK_DEVICE *FvbDevice
|
/device/linaro/bootloader/edk2/DuetPkg/FvbRuntimeService/ |
D | FWBlockService.c | 835 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetPhysicalAddress() local 837 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetPhysicalAddress() 839 return FvbGetPhysicalAddress (FvbDevice->Instance, Address, mFvbModuleGlobal, EfiGoneVirtual ()); in FvbProtocolGetPhysicalAddress() 871 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetBlockSize() local 873 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetBlockSize() 876 FvbDevice->Instance, in FvbProtocolGetBlockSize() 906 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetAttributes() local 908 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetAttributes() 910 …return FvbGetVolumeAttributes (FvbDevice->Instance, Attributes, mFvbModuleGlobal, EfiGoneVirtual (… in FvbProtocolGetAttributes() 933 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolSetAttributes() local [all …]
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/SpiFvbServices/ |
D | FwBlockService.c | 1054 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetPhysicalAddress() local 1056 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetPhysicalAddress() 1058 return FvbGetPhysicalAddress (FvbDevice->Instance, Address, mFvbModuleGlobal, EfiGoneVirtual ()); in FvbProtocolGetPhysicalAddress() 1089 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetBlockSize() local 1091 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetBlockSize() 1094 FvbDevice->Instance, in FvbProtocolGetBlockSize() 1125 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolGetAttributes() local 1127 FvbDevice = FVB_DEVICE_FROM_THIS (This); in FvbProtocolGetAttributes() 1129 …return FvbGetVolumeAttributes (FvbDevice->Instance, Attributes, mFvbModuleGlobal, EfiGoneVirtual (… in FvbProtocolGetAttributes() 1152 EFI_FW_VOL_BLOCK_DEVICE *FvbDevice; in FvbProtocolSetAttributes() local [all …]
|