/** @file\r
Boot functions implementation for UefiPxeBc Driver.\r
\r
- Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
// Discover the boot information about the bootfile if hasn't.\r
//\r
Status = PxeBcDiscoverBootFile (Private, &RequiredSize);\r
+ if (EFI_ERROR (Status)) {\r
+ goto ON_EXIT;\r
+ }\r
\r
if (PXEBC_IS_SIZE_OVERFLOWED (RequiredSize)) {\r
//\r