return EFI_UNSUPPORTED;\r
}\r
\r
+ AsciiPrint ("\n>>Start PXE over IPv4");\r
+\r
//\r
// Configure the udp4 instance to let it receive data\r
//\r
//\r
Status = PxeBcCheckSelectedOffer (Private);\r
\r
+ AsciiPrint ("\n Station IP address is ");\r
+\r
+ PxeBcShowIp4Addr (&Private->StationIp.v4);\r
+ AsciiPrint ("\n");\r
+\r
ON_EXIT:\r
if (EFI_ERROR (Status)) {\r
Dhcp4->Stop (Dhcp4);\r
\r
Private->FileSize = (UINTN) *BufferSize;\r
\r
+ //\r
+ // Display all the information: boot server address, boot file name and boot file size.\r
+ //\r
+ AsciiPrint ("\n Server IP address is ");\r
+ PxeBcShowIp4Addr (&Private->ServerIp.v4);\r
+ AsciiPrint ("\n NBP filename is %a", Private->BootFileName);\r
+ AsciiPrint ("\n NBP filesize is %d Bytes", Private->FileSize);\r
+\r
return Status;\r
}\r
\r
if (sizeof (UINTN) < sizeof (UINT64) && (TmpBufSize > 0xFFFFFFFF)) {\r
Status = EFI_DEVICE_ERROR;\r
} else if (TmpBufSize > 0 && *BufferSize >= (UINTN) TmpBufSize && Buffer != NULL) {\r
+ AsciiPrint ("\n Downloading NBP file...\n");\r
*BufferSize = (UINTN) TmpBufSize;\r
Status = PxeBc->Mtftp (\r
PxeBc,\r
//\r
// Download the file.\r
//\r
+ AsciiPrint ("\n Downloading NBP file...\n");\r
TmpBufSize = (UINT64) (*BufferSize);\r
Status = PxeBc->Mtftp (\r
PxeBc,\r
// Check download status\r
//\r
if (Status == EFI_SUCCESS) {\r
+ AsciiPrint ("\n NBP file downloaded successfully.\n");\r
//\r
// The DHCP4 can have only one configured child instance so we need to stop\r
// reset the DHCP4 child before we return. Otherwise the other programs which \r