Dell - Internal Use - Confidential Hi All,
Below is my code when I run this on my machine it crashes.
//
// Connect All Handles Example
// The following example recusively connects all controllers in a platform.
//
EFI_STATUS Status;
EFI_BOOT_SERVICES *gBS;
UINTN HandleCount;
EFI_HANDLE *HandleBuffer;
UINTN HandleIndex;
gST->ConOut->OutputString (gST->ConOut, L"Code started\n");
//
// Retrieve the list of all handles from the handle database
//
Status = gBS->LocateHandleBuffer(AllHandles,
NULL,
NULL, &HandleCount, &HandleBuffer);
gST->ConOut->OutputString (gST->ConOut, L"After locate handler\n");
if (!EFI_ERROR(Status)) {
gST->ConOut->OutputString (gST->ConOut, L"Got error\n");
for (HandleIndex = 0; HandleIndex < HandleCount; HandleIndex++)
{
Status =
gBS->ConnectController(HandleBuffer[HandleIndex],
NULL, NULL, TRUE);
}
gBS->FreePool(HandleBuffer);
}
Any Idea why it crashed ??
Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:[email protected]]
<<inline: image001.png>>
------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
