summaryrefslogtreecommitdiff
path: root/NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h
diff options
context:
space:
mode:
authorZhang Lubo <lubo.zhang@intel.com>2015-07-29 04:10:09 +0000
committerluobozhang <luobozhang@Edk2>2015-07-29 04:10:09 +0000
commitac99793b73a7856f06edcb63a23bf1518febb347 (patch)
treeed2f08b40b8c9dc44cf4d00445c554a57bf98e0a /NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h
parent15c9b25e5d363a8f39e9df06cf60f5a45316ae2b (diff)
downloadedk2-ac99793b73a7856f06edcb63a23bf1518febb347.zip
edk2-ac99793b73a7856f06edcb63a23bf1518febb347.tar.gz
edk2-ac99793b73a7856f06edcb63a23bf1518febb347.tar.bz2
NetworkPkg: Fix the issue cannot boot to UEFI Network after reset
DHCP4 service allows only one of its children to be configured in the active state,If the DHCP4 D.O.R.A started by IP4 auto configuration and has not been completed, the Dhcp4 state machine will not be in the right state for the PXE to start a new round D.O.R.A. so we need to switch it's policy to static. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo <lubo.zhang@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18104 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h')
-rw-r--r--NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h b/NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h
index 4aa3ce2..ac7dc87 100644
--- a/NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h
+++ b/NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h
@@ -24,6 +24,7 @@
#include <Protocol/NetworkInterfaceIdentifier.h>
#include <Protocol/Arp.h>
#include <Protocol/Ip4.h>
+#include <Protocol/Ip4Config2.h>
#include <Protocol/Ip6.h>
#include <Protocol/Ip6Config.h>
#include <Protocol/Udp4.h>
@@ -116,6 +117,7 @@ struct _PXEBC_PRIVATE_DATA {
EFI_ARP_PROTOCOL *Arp;
EFI_IP4_PROTOCOL *Ip4;
+ EFI_IP4_CONFIG2_PROTOCOL *Ip4Config2;
EFI_DHCP4_PROTOCOL *Dhcp4;
EFI_MTFTP4_PROTOCOL *Mtftp4;
EFI_UDP4_PROTOCOL *Udp4Read;