UINTN ImageSize;\r
BOOLEAN BootOption;\r
EFI_HANDLE ImageHandle;\r
- UINTN ExitDataSize;\r
- CHAR16 *ExitData;\r
UINTN ImageCount;\r
UINTN LoadCount;\r
\r
// a 5 Minute period\r
//\r
gBS->SetWatchdogTimer (5 * 60, 0x0000, 0x00, NULL);\r
- Status = gBS->StartImage (ImageHandle, &ExitDataSize, &ExitData);\r
- if (ExitData != NULL) {\r
- FreePool (ExitData);\r
- }\r
+ gBS->StartImage (ImageHandle, NULL, NULL);\r
\r
//\r
// Clear the Watchdog Timer after the image returns.\r