]> git.proxmox.com Git - mirror_edk2.git/commitdiff
NetworkPkg: Fix bios bootup hang issue when enable network.
authorZhang Lubo <lubo.zhang@intel.com>
Wed, 15 Jul 2015 03:23:20 +0000 (03:23 +0000)
committerluobozhang <luobozhang@Edk2>
Wed, 15 Jul 2015 03:23:20 +0000 (03:23 +0000)
Dhcp6Dxe driver uses a new added dynamic PCD PcdDhcp6UidType in
NetworkPkg, but typically a pure UEFI driver are configured to
not allowed to access the dynamic PCDs in most platform, thus will
cause Dhcp6Dxe assert when it started. This patch add more PCD
access method types for module to use the PcdDhcp6UidType value
to fix the issue.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17986 6f19259b-4bc3-4df7-8a09-765794883524

NetworkPkg/NetworkPkg.dec

index 317cf41a1eec2bf5b9234a655874d00087f7ef6a..52f9609dfd51c7931dd5fe26f5d17514dc08b86e 100644 (file)
@@ -69,7 +69,7 @@
   # @Prompt Private Key's size.\r
   gEfiNetworkPkgTokenSpaceGuid.PcdIpsecUefiCertificateKeySize|0x3d5|UINT32|0x00000006\r
 \r
-[PcdsDynamicEx]\r
+[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]\r
   ## IPv6 DHCP Unique Identifier (DUID) Type configuration (From RFCs 3315 and 6355).\r
   # 01 = DUID Based on Link-layer Address Plus Time [DUID-LLT]\r
   # 04 = UUID-Based DHCPv6 Unique Identifier (DUID-UUID)\r