[edk2,edk2-staging,00/20] IntelUndiPkg/XGigUndiDxe: fix GCC / ARM build issues

Message ID 20181115023353.20159-1-ard.biesheuvel@linaro.org
Headers show
Series
  • IntelUndiPkg/XGigUndiDxe: fix GCC / ARM build issues
Related show

Message

Ard Biesheuvel Nov. 15, 2018, 2:33 a.m.
This series updates the XGigUndiDxe driver so it can be built with GCC
for X64, ARM and AARCH64 (and probably IA32 but I did not test that)

Ard Biesheuvel (20):
  IntelUndiPkg/XGigUndiDxe: create GCC alternatives for MSFT build
    options
  IntelUndiPkg/XGigUndiDxe: move MSFT warning overrides to INF file
  IntelUndiPkg/XGigUndiDxe: consistently use forward slashes as path
    separators
  IntelUndiPkg/XGigUndiDxe: move BRAND_STRUCT declaration after type
    definition
  IntelUndiPkg/XGigUndiDxe: add missing VOID** cast
  IntelUndiPkg/XGigUndiDxe: add missing UINT8* cast
  IntelUndiPkg/XGigUndiDxe: drop definition of gImageHandle
  IntelUndiPkg/XGigUndiDxe: add missing braces to GUID literals
  IntelUndiPkg/XGigUndiDxe: fix incorrect use of CPP token pasting
  IntelUndiPkg/XGigUndiDxe: drop StdLibC library class reference
  IntelUndiPkg/XGigUndiDxe: cast XgbeMemCopy () args to correct pointer
    type
  IntelUndiPkg/XGigUndiDxe: don't take address of cast expression
  IntelUndiPkg/XGigUndiDxe: drop locally defined ASSERT() macro
  IntelUndiPkg/XGigUndiDxe: redefine UNREFERENCED_nPARAMETER macros for
    GCC
  IntelUndiPkg/XGigUndiDxe: use intermediate UINTN casts for pointers
  IntelUndiPkg/XGigUndiDxe: add missing EFIAPI modifiers
  IntelUndiPkg/XGigUndiDxe: drop unused variables
  IntelUndiPkg/XGigUndiDxe: set MDEPKG_NDEBUG only for RELEASE builds
  IntelUndiPkg/XGigUndiDxe: drop separate debug macros for DBG_LVL
  IntelUndiPkg/XGigUndiDxe: avoid unused var warnings for
    ERROR_REPORTn()

 IntelUndiPkg/XGigUndiDxe/AdapterInformation.c |  3 ++
 IntelUndiPkg/XGigUndiDxe/ComponentName.c      |  2 +
 IntelUndiPkg/XGigUndiDxe/ComponentName.h      |  1 +
 IntelUndiPkg/XGigUndiDxe/Decode.c             |  5 +--
 IntelUndiPkg/XGigUndiDxe/DeviceSupport.h      |  6 +--
 IntelUndiPkg/XGigUndiDxe/Dma.c                |  8 ++--
 IntelUndiPkg/XGigUndiDxe/DriverDiagnostics.c  |  5 ++-
 IntelUndiPkg/XGigUndiDxe/DriverHealth.c       |  2 +
 IntelUndiPkg/XGigUndiDxe/Hii.c                | 10 ++---
 IntelUndiPkg/XGigUndiDxe/HiiInternalLib.c     |  4 --
 IntelUndiPkg/XGigUndiDxe/Init.c               | 10 ++---
 IntelUndiPkg/XGigUndiDxe/NVDataStruc.h        |  6 +--
 IntelUndiPkg/XGigUndiDxe/StartStop.c          |  2 +
 IntelUndiPkg/XGigUndiDxe/StartStop.h          |  4 +-
 IntelUndiPkg/XGigUndiDxe/XGigUndiDxe.inf      | 29 +++++++-----
 IntelUndiPkg/XGigUndiDxe/Xgbe.c               | 18 ++++----
 IntelUndiPkg/XGigUndiDxe/Xgbe.h               | 27 ++----------
 IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h        | 44 +++----------------
 IntelUndiPkg/XGigUndiDxe/ixgbe_type.h         |  8 ++++
 19 files changed, 78 insertions(+), 116 deletions(-)

-- 
2.17.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel