]> git.proxmox.com Git - mirror_edk2.git/commit - NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.c
NetworkPkg: Source fixes and cleanup for ARMGCC compiles
authorRandy Pawell <randy_pawell@hp.com>
Thu, 4 Dec 2014 00:55:50 +0000 (00:55 +0000)
committersfu5 <sfu5@Edk2>
Thu, 4 Dec 2014 00:55:50 +0000 (00:55 +0000)
commit8f586b85c3f617ba802e663b4b3b303e06140863
treeb5fb144b5039b9ebe8598c748e11936ac27f3a73
parent35f910f08b58e978bc9251872635075d6f422e48
NetworkPkg: Source fixes and cleanup for ARMGCC compiles

- Fix EFI_IPv4_ADDRESS usages to use a macro to copy the structure
   instead of direct assignment, to avoid runtime alignment errors.
- Delete excess local variables that are initialized but otherwise unused.
- Add LibraryClasses.ARM & AARCH64 section in NetworkPkg.dsc file,
   containing a CompilerIntrinsicsLib null-library, required for successful
  standalone package builds (copied from MdeModulePkg.dsc).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Randy Pawell <randy_pawell@hp.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16472 6f19259b-4bc3-4df7-8a09-765794883524
NetworkPkg/Dhcp6Dxe/Dhcp6Io.c
NetworkPkg/Ip6Dxe/Ip6Impl.c
NetworkPkg/NetworkPkg.dsc
NetworkPkg/TcpDxe/TcpDispatcher.c
NetworkPkg/TcpDxe/TcpMain.c
NetworkPkg/TcpDxe/TcpMisc.c
NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.c
NetworkPkg/UefiPxeBcDxe/PxeBcDriver.c