/** @file\r
Load the deferred images after user is identified.\r
- \r
-Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
+\r
+Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
**/\r
UINTN DriverIndex;\r
EFI_DEVICE_PATH_PROTOCOL *ImageDevicePath;\r
VOID *DriverImage;\r
- UINTN ImageSize; \r
+ UINTN ImageSize;\r
BOOLEAN BootOption;\r
EFI_HANDLE ImageHandle;\r
UINTN ExitDataSize;\r
// Load all the deferred images in this protocol instance.\r
//\r
Status = DeferredImage->GetImageInfo(\r
- DeferredImage, \r
- DriverIndex, \r
- &ImageDevicePath, \r
+ DeferredImage,\r
+ DriverIndex,\r
+ &ImageDevicePath,\r
(VOID **) &DriverImage,\r
- &ImageSize, \r
+ &ImageSize,\r
&BootOption\r
);\r
if (EFI_ERROR (Status)) {\r
break;\r
- } \r
+ }\r
\r
//\r
// Load and start the image.\r
//\r
gBS->SetWatchdogTimer (5 * 60, 0x0000, 0x00, NULL);\r
Status = gBS->StartImage (ImageHandle, &ExitDataSize, &ExitData);\r
- \r
+\r
//\r
// Clear the Watchdog Timer after the image returns.\r
//\r
DriverIndex++;\r
} while (TRUE);\r
}\r
- FreePool (HandleBuf); \r
+ FreePool (HandleBuf);\r
}\r
\r
\r
EFI_EVENT Event;\r
\r
mDeferredImageHandle = ImageHandle;\r
- \r
+\r
Status = gBS->CreateEventEx (\r
EVT_NOTIFY_SIGNAL,\r
TPL_CALLBACK,\r