Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/OvmfPkg/AcpiPlatformDxe/
DQemuFwCfgAcpi.c316 IN CONST QEMU_LOADER_ADD_CHECKSUM *AddChecksum, in ProcessCmdAddChecksum() argument
323 if (AddChecksum->File[QEMU_LOADER_FNAME_SIZE - 1] != '\0') { in ProcessCmdAddChecksum()
328 TrackerEntry = OrderedCollectionFind (Tracker, AddChecksum->File); in ProcessCmdAddChecksum()
331 AddChecksum->File)); in ProcessCmdAddChecksum()
336 if (Blob->Size <= AddChecksum->ResultOffset || in ProcessCmdAddChecksum()
337 Blob->Size < AddChecksum->Length || in ProcessCmdAddChecksum()
338 Blob->Size - AddChecksum->Length < AddChecksum->Start) { in ProcessCmdAddChecksum()
340 __FUNCTION__, AddChecksum->File)); in ProcessCmdAddChecksum()
344 Blob->Base[AddChecksum->ResultOffset] = CalculateCheckSum8 ( in ProcessCmdAddChecksum()
345 Blob->Base + AddChecksum->Start, in ProcessCmdAddChecksum()
[all …]
DQemuLoader.h80 QEMU_LOADER_ADD_CHECKSUM AddChecksum; member