NetworkPkg/UefiPxeBcDxe:Add two PCD to control PXE.
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1695 Setup need provide an item for user to control IPV46 PXE boot. Origin UefiPxeBcDxe driver doesn't have such interface. This change added two PCD to control IPV4/6 PXE in PxeBcSupported(). Platform code should override this two PCD according to Setup value. code change no side effect on current PXE function with default PCD. Signed-off-by: Xue ShengfengX <shengfengx.xue@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
This commit is contained in:
committed by
Fu Siyuan
parent
c2f643479e
commit
b29e6365c3
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# This package provides network modules that conform to UEFI 2.4 specification.
|
||||
#
|
||||
# Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||
# (C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP<BR>
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
@@ -117,5 +117,15 @@
|
||||
# @Prompt Type Value of network boot policy used in iSCSI.
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIScsiAIPNetworkBootPolicy|0x08|UINT8|0x10000007
|
||||
|
||||
## IPv4 PXE support
|
||||
# 0x01 = PXE Enabled
|
||||
# 0x00 = PXE Disabled
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01|UINT8|0x10000009
|
||||
|
||||
## IPv6 PXE support
|
||||
# 0x01 = PXE Enabled
|
||||
# 0x00 = PXE Disabled
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01|UINT8|0x1000000a
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
NetworkPkgExtra.uni
|
||||
|
Reference in New Issue
Block a user