Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpm2MeasureBootLib/
DDxeTpm2MeasureBootLib.c306 EFI_IMAGE_LOAD_EVENT *ImageLoad; in Tcg2MeasurePeImage() local
311 ImageLoad = NULL; in Tcg2MeasurePeImage()
317 EventSize = sizeof (*ImageLoad) - sizeof (ImageLoad->DevicePath) + FilePathSize; in Tcg2MeasurePeImage()
326 ImageLoad = (EFI_IMAGE_LOAD_EVENT *) Tcg2Event->Event; in Tcg2MeasurePeImage()
350 ImageLoad->ImageLocationInMemory = ImageAddress; in Tcg2MeasurePeImage()
351 ImageLoad->ImageLengthInMemory = ImageSize; in Tcg2MeasurePeImage()
352 ImageLoad->ImageLinkTimeAddress = LinkTimeBase; in Tcg2MeasurePeImage()
353 ImageLoad->LengthOfDevicePath = FilePathSize; in Tcg2MeasurePeImage()
355 CopyMem (ImageLoad->DevicePath, FilePath, FilePathSize); in Tcg2MeasurePeImage()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/
DDxeTpmMeasureBootLib.c310 EFI_IMAGE_LOAD_EVENT *ImageLoad; in TcgMeasurePeImage() local
333 ImageLoad = NULL; in TcgMeasurePeImage()
341 EventSize = sizeof (*ImageLoad) - sizeof (ImageLoad->DevicePath) + FilePathSize; in TcgMeasurePeImage()
348 ImageLoad = (EFI_IMAGE_LOAD_EVENT *) TcgEvent->Event; in TcgMeasurePeImage()
372 ImageLoad->ImageLocationInMemory = ImageAddress; in TcgMeasurePeImage()
373 ImageLoad->ImageLengthInMemory = ImageSize; in TcgMeasurePeImage()
374 ImageLoad->ImageLinkTimeAddress = LinkTimeBase; in TcgMeasurePeImage()
375 ImageLoad->LengthOfDevicePath = FilePathSize; in TcgMeasurePeImage()
377 CopyMem (ImageLoad->DevicePath, FilePath, FilePathSize); in TcgMeasurePeImage()