]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPlatformPkg/Bds/BdsHelper.c
ArmPlatformPkg/Bds: Getting and editing IP addresses
authorRonald Cron <ronald.cron@arm.com>
Tue, 15 Jul 2014 09:25:57 +0000 (09:25 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 15 Jul 2014 09:25:57 +0000 (09:25 +0000)
commit8bf4ad4475c061a9ff4fc248ba7f11784d706342
tree477bfcadfc9b06a64275fe0c40ae646cdbec99e4
parent6d0ca2577c3788ee1087177df439246fe8f2b4fd
ArmPlatformPkg/Bds: Getting and editing IP addresses

Reworked GetHIInputIP() function to use "NetLibStrToIp4()" library
function to parse the IPv4 address instead of doing it by itself.

Added function EditHIInputIP() in BdsHelper.c to edit an IPv4 address.
To be used when updating a tftp boot option.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
Reviewed-By: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15660 6f19259b-4bc3-4df7-8a09-765794883524
ArmPlatformPkg/ArmPlatformPkg-2ndstage.dsc
ArmPlatformPkg/ArmPlatformPkg.dsc
ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb.dsc.inc
ArmPlatformPkg/Bds/Bds.inf
ArmPlatformPkg/Bds/BdsHelper.c
ArmPlatformPkg/Bds/BdsInternal.h
BeagleBoardPkg/BeagleBoardPkg.dsc