mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 22:54:51 +02:00
1. add error handling in case DHCP success but boot request fail
2. add UnloadImage to ease debug git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9910 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7c34497d5d
commit
0bf47d3ddf
@ -1217,6 +1217,13 @@ PxeBcDiscvBootService (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (TryIndex > PXEBC_BOOT_REQUEST_RETRIES) {
|
||||||
|
//
|
||||||
|
// No server response our PXE request
|
||||||
|
//
|
||||||
|
Status = EFI_TIMEOUT;
|
||||||
|
}
|
||||||
|
|
||||||
if (!EFI_ERROR (Status)) {
|
if (!EFI_ERROR (Status)) {
|
||||||
//
|
//
|
||||||
// Find Pxe Reply
|
// Find Pxe Reply
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
MODULE_TYPE = UEFI_DRIVER
|
MODULE_TYPE = UEFI_DRIVER
|
||||||
VERSION_STRING = 1.0
|
VERSION_STRING = 1.0
|
||||||
ENTRY_POINT = PxeBcDriverEntryPoint
|
ENTRY_POINT = PxeBcDriverEntryPoint
|
||||||
|
UNLOAD_IMAGE = NetLibDefaultUnload
|
||||||
|
|
||||||
#
|
#
|
||||||
# The following information is for reference only and not required by the build tools.
|
# The following information is for reference only and not required by the build tools.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user