/** @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
AsciiPrint ("\n PXE-E22: Client received ICMP error from server.\n");\r
} else if (Status == EFI_TFTP_ERROR) {\r
AsciiPrint ("\n PXE-E23: Client received TFTP error from server.\n");\r
+ } else if (Status == EFI_NOT_FOUND) {\r
+ AsciiPrint ("\n PXE-E53: No boot filename received.\n");\r
} else if (Status != EFI_BUFFER_TOO_SMALL) {\r
AsciiPrint ("\n PXE-E99: Unexpected network error.\n");\r
}\r