X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=SecurityPkg%2FUserIdentification%2FUserIdentifyManagerDxe%2FLoadDeferredImage.c;h=2cfe130db8ede201450015e06996b64fd0f92b65;hb=28ce4cb3590bc3aaa91c3be75429d4e8722415e2;hp=da1201a5f9203e65982b82a5c8a93d7a69c11234;hpb=0c18794ea4289f03fefc7117b56740414cc0536c;p=mirror_edk2.git diff --git a/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/LoadDeferredImage.c b/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/LoadDeferredImage.c index da1201a5f9..2cfe130db8 100644 --- a/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/LoadDeferredImage.c +++ b/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/LoadDeferredImage.c @@ -1,13 +1,13 @@ /** @file Load the deferred images after user is identified. - -Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
-This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at + +Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
+This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ @@ -39,7 +39,7 @@ LoadDeferredImage ( UINTN DriverIndex; EFI_DEVICE_PATH_PROTOCOL *ImageDevicePath; VOID *DriverImage; - UINTN ImageSize; + UINTN ImageSize; BOOLEAN BootOption; EFI_HANDLE ImageHandle; UINTN ExitDataSize; @@ -77,16 +77,16 @@ LoadDeferredImage ( // Load all the deferred images in this protocol instance. // Status = DeferredImage->GetImageInfo( - DeferredImage, - DriverIndex, - &ImageDevicePath, + DeferredImage, + DriverIndex, + &ImageDevicePath, (VOID **) &DriverImage, - &ImageSize, + &ImageSize, &BootOption ); if (EFI_ERROR (Status)) { break; - } + } // // Load and start the image. @@ -106,7 +106,7 @@ LoadDeferredImage ( // gBS->SetWatchdogTimer (5 * 60, 0x0000, 0x00, NULL); Status = gBS->StartImage (ImageHandle, &ExitDataSize, &ExitData); - + // // Clear the Watchdog Timer after the image returns. // @@ -115,7 +115,7 @@ LoadDeferredImage ( DriverIndex++; } while (TRUE); } - FreePool (HandleBuf); + FreePool (HandleBuf); } @@ -134,7 +134,7 @@ LoadDeferredImageInit ( EFI_EVENT Event; mDeferredImageHandle = ImageHandle; - + Status = gBS->CreateEventEx ( EVT_NOTIFY_SIGNAL, TPL_CALLBACK,