Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/UefiCpuPkg/Feature/Capsule/MicrocodeUpdateDxe/
DMicrocodeUpdate.c693 UINTN RestSize; in UpdateMicrocodeFlashRegion() local
788 RestSize = AvailableSize - ImageSize; in UpdateMicrocodeFlashRegion()
789 if (RestSize > 0) { in UpdateMicrocodeFlashRegion()
790 SetMem (ScratchBufferPtr, RestSize, 0xFF); in UpdateMicrocodeFlashRegion()
791 ScratchBufferSize += RestSize; in UpdateMicrocodeFlashRegion()
831 RestSize = (UINTN)MicrocodePatchAddress + UsedRegionSize - ((UINTN)NextMicrocodeEntryPoint); in UpdateMicrocodeFlashRegion()
832 CopyMem (ScratchBufferPtr, (UINT8 *)TargetMicrocodeEntryPoint + TargetTotalSize, RestSize); in UpdateMicrocodeFlashRegion()
833 ScratchBufferSize += RestSize; in UpdateMicrocodeFlashRegion()
879 RestSize = MicrocodePatchRegionSize - ScratchBufferSize; in UpdateMicrocodeFlashRegion()
880 if (RestSize > 0) { in UpdateMicrocodeFlashRegion()
[all …]