From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::443; helo=mail-wr1-x443.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5AA8121131DCF for ; Tue, 6 Nov 2018 09:58:50 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id o15-v6so10942241wrv.4 for ; Tue, 06 Nov 2018 09:58:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=K4PQAp1aI8ozmKr+IfEYvZYJhsqDppwmrhFMkm0lSdM=; b=TOGkZsa2xiCGWrJbLhK7JTXe64cIcQez6z5yCUoPK4WJ3XA+VowKnuq+4f2TEInlZr jjz9dU7FMLPpimns3GammThcV8r0FG+J2eQ3ffC3k45WOkVz/dZLJnCt/OGDNEwIcGSt b71O2o4amZoYfj6cludwzk1C93KhViIANWh+c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=K4PQAp1aI8ozmKr+IfEYvZYJhsqDppwmrhFMkm0lSdM=; b=Aq6g7Ho2dtjq90lPVEoNb+tl6OR/4WgemnrH6+bogoMCpfAvruPLXlJVDBzboOb52L ySnwd/caBLhgM4Iv2oMoBMk6h6eq4d9IueS5/s8BNSa8CcPN5CW0tcgGHNaZqzbgyDNd 4olRn8ldWr0vG6bYpqYmIJjI7+EIU0zv/gTELCDZkB1HYoEOdooCoYMd41DRTqsafEwd xjDTqwAhDdGpshjmLVNByl6+5MvupjXMgT0mN322ss0tatKQr8d4hbpSzr7/Wy3CDUl/ AxmEsP6qXhzCz3IzcqHWZPM4b7T7iZB3+JaIAcZB3/24xUGdeu9khu/hFYzYlVWsLPzm r3dw== X-Gm-Message-State: AGRZ1gJz5I1p3uPY4838z3W9LB2vEdCTgiCmtUqeqo52reK3dk/hQYU8 xIz8UHKwnE64zBYMtuDhvOfGwimGSws= X-Google-Smtp-Source: AJdET5fQV5KkYH5JBZCie485vyyTjOmFyHrP6TtCZlfcD50qpZFtIubqTnWstKFjV/RcN5AbHpDP8A== X-Received: by 2002:adf:e84e:: with SMTP id d14-v6mr21356744wrn.51.1541527128224; Tue, 06 Nov 2018 09:58:48 -0800 (PST) Received: from localhost.localdomain (laubervilliers-657-1-83-120.w92-154.abo.wanadoo.fr. [92.154.90.120]) by smtp.gmail.com with ESMTPSA id 134-v6sm2971522wmp.6.2018.11.06.09.58.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 09:58:47 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: maciej.rabeda@intel.com, michael.d.kinney@intel.com, eric.jin@intel.com, leif.lindholm@linaro.org, Ard Biesheuvel Date: Tue, 6 Nov 2018 18:58:14 +0100 Message-Id: <20181106175833.26964-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Subject: [PATCH edk2-staging 00/19] IntelUndiPkg/GigUndiDxe: build fixes for AARCH64/ARM/GCC X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2018 17:58:50 -0000 Content-Transfer-Encoding: 8bit This series fixes the GigUndiDxe in the edk2-staging/Intel_UNDI branch at github.com/tianocore so it can be built with GCC on Linux for ARM and AARCH64 (as well as X64) Ard Biesheuvel (19): IntelOpenSourceUndiPkg.dsc: add AARCH64 and ARM to supported architectures IntelUndiPkg: remove EOF markers IntelUndiPkg/GigUndiDxe: consistently use lowercase for e1000 in filenames IntelUndiPkg/GigUndiDxe: consistently use forward slashes as path separators IntelUndiPkg/GigUndiDxe: move BRAND_STRUCT declaration after type definition IntelUndiPkg/GigUndiDxe: use intermediate UINTN casts for pointers IntelUndiPkg/GigUndiDxe: create GCC alternatives for MSFT build options IntelUndiPkg/GigUndiDxe: add missing VOID** cast IntelUndiPkg/GigUndiDxe: add missing UINT8* cast IntelUndiPkg/GigUndiDxe: add missing braces to GUID literals IntelUndiPkg/GigUndiDxe: fix incorrect use of CPP token pasting IntelUndiPkg/GigUndiDxe: cast E1000MemCopy () args to correct pointer type IntelUndiPkg/GigUndiDxe: don't take address of cast expression IntelUndiPkg/GigUndiDxe: redefine UNREFERENCED_nPARAMETER macros for GCC IntelUndiPkg/GigUndiDxe: remove forward declaration of non-existent function IntelUndiPkg/GigUndiDxe: fix incorrect indentation IntelUndiPkg/GigUndiDxe: move MSFT warning overrides to INF file IntelUndiPkg/GigUndiDxe: add missing EFIAPI modifiers IntelUndiPkg/GigUndiDxe: remove or reorganize unused variables IntelUndiPkg/GigUndiDxe/AdapterInformation.c | 6 ++- IntelUndiPkg/GigUndiDxe/AdapterInformation.h | 1 - IntelUndiPkg/GigUndiDxe/Brand.c | 1 - IntelUndiPkg/GigUndiDxe/ComponentName.c | 5 ++- IntelUndiPkg/GigUndiDxe/ComponentName.h | 2 +- IntelUndiPkg/GigUndiDxe/Decode.c | 5 +-- IntelUndiPkg/GigUndiDxe/Decode.h | 1 - IntelUndiPkg/GigUndiDxe/DeviceSupport.c | 1 - IntelUndiPkg/GigUndiDxe/DeviceSupport.h | 9 ++--- IntelUndiPkg/GigUndiDxe/Dma.c | 11 +++--- IntelUndiPkg/GigUndiDxe/Dma.h | 1 - IntelUndiPkg/GigUndiDxe/DriverConfiguration.c | 6 ++- IntelUndiPkg/GigUndiDxe/DriverConfiguration.h | 1 - IntelUndiPkg/GigUndiDxe/DriverDiagnostics.c | 12 +++--- IntelUndiPkg/GigUndiDxe/DriverDiagnostics.h | 1 - IntelUndiPkg/GigUndiDxe/DriverHealth.c | 5 ++- IntelUndiPkg/GigUndiDxe/EepromConfig.c | 1 - IntelUndiPkg/GigUndiDxe/EepromConfig.h | 3 +- IntelUndiPkg/GigUndiDxe/GigUndiDxe.inf | 39 +++++++++---------- IntelUndiPkg/GigUndiDxe/Hii.c | 11 +++--- IntelUndiPkg/GigUndiDxe/Hii.h | 1 - IntelUndiPkg/GigUndiDxe/HiiInternalLib.c | 3 -- IntelUndiPkg/GigUndiDxe/HiiInternalLib.h | 1 - IntelUndiPkg/GigUndiDxe/Init.c | 11 +++--- IntelUndiPkg/GigUndiDxe/Init.h | 1 - IntelUndiPkg/GigUndiDxe/Inventory.vfr | 1 - IntelUndiPkg/GigUndiDxe/NVDataStruc.h | 7 ++-- IntelUndiPkg/GigUndiDxe/StartStop.c | 5 ++- IntelUndiPkg/GigUndiDxe/StartStop.h | 7 ++-- IntelUndiPkg/GigUndiDxe/Version.h | 1 - IntelUndiPkg/GigUndiDxe/{E1000.c => e1000.c} | 37 ++++++++---------- IntelUndiPkg/GigUndiDxe/{E1000.h => e1000.h} | 5 +-- IntelUndiPkg/GigUndiDxe/e1000_80003es2lan.c | 1 - IntelUndiPkg/GigUndiDxe/e1000_80003es2lan.h | 1 - IntelUndiPkg/GigUndiDxe/e1000_82571.c | 1 - IntelUndiPkg/GigUndiDxe/e1000_82571.h | 1 - IntelUndiPkg/GigUndiDxe/e1000_82575.c | 1 - IntelUndiPkg/GigUndiDxe/e1000_82575.h | 1 - IntelUndiPkg/GigUndiDxe/e1000_api.c | 1 - IntelUndiPkg/GigUndiDxe/e1000_api.h | 1 - IntelUndiPkg/GigUndiDxe/e1000_defines.h | 10 ++++- IntelUndiPkg/GigUndiDxe/e1000_hw.h | 1 - IntelUndiPkg/GigUndiDxe/e1000_i210.c | 1 - IntelUndiPkg/GigUndiDxe/e1000_i210.h | 1 - IntelUndiPkg/GigUndiDxe/e1000_ich8lan.c | 18 ++++----- IntelUndiPkg/GigUndiDxe/e1000_ich8lan.h | 1 - IntelUndiPkg/GigUndiDxe/e1000_mac.c | 1 - IntelUndiPkg/GigUndiDxe/e1000_mac.h | 1 - IntelUndiPkg/GigUndiDxe/e1000_manage.c | 1 - IntelUndiPkg/GigUndiDxe/e1000_manage.h | 1 - IntelUndiPkg/GigUndiDxe/e1000_nvm.c | 1 - IntelUndiPkg/GigUndiDxe/e1000_nvm.h | 1 - .../{E1000_osdep.c => e1000_osdep.c} | 3 +- .../{E1000_osdep.h => e1000_osdep.h} | 8 +--- IntelUndiPkg/GigUndiDxe/e1000_phy.c | 1 - IntelUndiPkg/GigUndiDxe/e1000_phy.h | 1 - IntelUndiPkg/GigUndiDxe/e1000_regs.h | 1 - IntelUndiPkg/GigUndiDxe/wol/wol.c | 1 - IntelUndiPkg/GigUndiDxe/wol/wol.h | 1 - IntelUndiPkg/GigUndiDxe/wol/wol_1G.c | 1 - IntelUndiPkg/GigUndiDxe/wol/wolfamily.c | 1 - IntelUndiPkg/GigUndiDxe/wol/wolimpl.c | 1 - IntelUndiPkg/GigUndiDxe/wol/wolimpl.h | 3 +- IntelUndiPkg/GigUndiDxe/wol/wolinfo.c | 1 - IntelUndiPkg/I40eUndiDxe/AdapterInformation.c | 1 - IntelUndiPkg/I40eUndiDxe/AdapterInformation.h | 1 - IntelUndiPkg/I40eUndiDxe/Brand.c | 1 - IntelUndiPkg/I40eUndiDxe/ComponentName.c | 1 - IntelUndiPkg/I40eUndiDxe/ComponentName.h | 1 - IntelUndiPkg/I40eUndiDxe/Decode.c | 1 - IntelUndiPkg/I40eUndiDxe/Decode.h | 1 - IntelUndiPkg/I40eUndiDxe/DeviceSupport.c | 1 - IntelUndiPkg/I40eUndiDxe/DeviceSupport.h | 1 - IntelUndiPkg/I40eUndiDxe/Dma.c | 1 - IntelUndiPkg/I40eUndiDxe/Dma.h | 1 - IntelUndiPkg/I40eUndiDxe/DriverDiagnostics.c | 1 - IntelUndiPkg/I40eUndiDxe/DriverDiagnostics.h | 1 - IntelUndiPkg/I40eUndiDxe/DriverHealth.c | 1 - IntelUndiPkg/I40eUndiDxe/DriverHealthCommon.h | 1 - IntelUndiPkg/I40eUndiDxe/EepromConfig.c | 1 - IntelUndiPkg/I40eUndiDxe/EepromConfig.h | 1 - IntelUndiPkg/I40eUndiDxe/Hii.c | 1 - IntelUndiPkg/I40eUndiDxe/Hii.h | 1 - IntelUndiPkg/I40eUndiDxe/HiiInternalLib.c | 1 - IntelUndiPkg/I40eUndiDxe/HiiInternalLib.h | 1 - IntelUndiPkg/I40eUndiDxe/I40e.c | 1 - IntelUndiPkg/I40eUndiDxe/I40e.h | 1 - IntelUndiPkg/I40eUndiDxe/I40eUndiDxe.inf | 1 - IntelUndiPkg/I40eUndiDxe/I40e_osdep.h | 1 - IntelUndiPkg/I40eUndiDxe/Init.c | 1 - IntelUndiPkg/I40eUndiDxe/Init.h | 1 - IntelUndiPkg/I40eUndiDxe/Inventory.vfr | 1 - IntelUndiPkg/I40eUndiDxe/NVDataStruc.h | 1 - IntelUndiPkg/I40eUndiDxe/StartStop.c | 1 - IntelUndiPkg/I40eUndiDxe/StartStop.h | 1 - IntelUndiPkg/I40eUndiDxe/Version.h | 1 - IntelUndiPkg/I40eUndiDxe/i40e_adminq.c | 1 - IntelUndiPkg/I40eUndiDxe/i40e_adminq.h | 1 - IntelUndiPkg/I40eUndiDxe/i40e_adminq_cmd.h | 1 - IntelUndiPkg/I40eUndiDxe/i40e_alloc.h | 1 - IntelUndiPkg/I40eUndiDxe/i40e_common.c | 1 - IntelUndiPkg/I40eUndiDxe/i40e_devids.h | 1 - IntelUndiPkg/I40eUndiDxe/i40e_diag.c | 1 - IntelUndiPkg/I40eUndiDxe/i40e_diag.h | 1 - IntelUndiPkg/I40eUndiDxe/i40e_hmc.c | 1 - IntelUndiPkg/I40eUndiDxe/i40e_hmc.h | 1 - IntelUndiPkg/I40eUndiDxe/i40e_lan_hmc.c | 1 - IntelUndiPkg/I40eUndiDxe/i40e_lan_hmc.h | 1 - IntelUndiPkg/I40eUndiDxe/i40e_nvm.c | 1 - IntelUndiPkg/I40eUndiDxe/i40e_prototype.h | 1 - IntelUndiPkg/I40eUndiDxe/i40e_register.h | 1 - IntelUndiPkg/I40eUndiDxe/i40e_status.h | 1 - IntelUndiPkg/I40eUndiDxe/i40e_type.h | 1 - IntelUndiPkg/I40eUndiDxe/i40e_virtchnl.h | 1 - IntelUndiPkg/IntelOpenSourceUndiPkg.dsc | 13 ++++++- IntelUndiPkg/XGigUndiDxe/AdapterInformation.c | 1 - IntelUndiPkg/XGigUndiDxe/AdapterInformation.h | 1 - IntelUndiPkg/XGigUndiDxe/Brand.c | 1 - IntelUndiPkg/XGigUndiDxe/ComponentName.c | 1 - IntelUndiPkg/XGigUndiDxe/ComponentName.h | 1 - IntelUndiPkg/XGigUndiDxe/Decode.c | 1 - IntelUndiPkg/XGigUndiDxe/Decode.h | 1 - IntelUndiPkg/XGigUndiDxe/DeviceSupport.c | 1 - IntelUndiPkg/XGigUndiDxe/DeviceSupport.h | 1 - IntelUndiPkg/XGigUndiDxe/Dma.c | 1 - IntelUndiPkg/XGigUndiDxe/Dma.h | 1 - IntelUndiPkg/XGigUndiDxe/DriverDiagnostics.c | 1 - IntelUndiPkg/XGigUndiDxe/DriverDiagnostics.h | 1 - IntelUndiPkg/XGigUndiDxe/DriverHealth.c | 1 - IntelUndiPkg/XGigUndiDxe/DriverHealthCommon.h | 1 - IntelUndiPkg/XGigUndiDxe/EepromConfig.c | 1 - IntelUndiPkg/XGigUndiDxe/EepromConfig.h | 1 - IntelUndiPkg/XGigUndiDxe/Hii.c | 1 - IntelUndiPkg/XGigUndiDxe/Hii.h | 1 - IntelUndiPkg/XGigUndiDxe/HiiInternalLib.c | 1 - IntelUndiPkg/XGigUndiDxe/HiiInternalLib.h | 1 - IntelUndiPkg/XGigUndiDxe/Init.c | 1 - IntelUndiPkg/XGigUndiDxe/Init.h | 1 - IntelUndiPkg/XGigUndiDxe/Inventory.vfr | 1 - IntelUndiPkg/XGigUndiDxe/NVDataStruc.h | 1 - IntelUndiPkg/XGigUndiDxe/StartStop.c | 1 - IntelUndiPkg/XGigUndiDxe/StartStop.h | 1 - IntelUndiPkg/XGigUndiDxe/Version.h | 1 - IntelUndiPkg/XGigUndiDxe/XGigUndiDxe.inf | 1 - IntelUndiPkg/XGigUndiDxe/Xgbe.c | 1 - IntelUndiPkg/XGigUndiDxe/Xgbe.h | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_82598.c | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_82598.h | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_82599.c | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_82599.h | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_api.c | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_api.h | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_common.c | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_common.h | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_dcb.h | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_dcb_82599.h | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_phy.c | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_phy.h | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_type.h | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_x540.c | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_x540.h | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_x550.c | 1 - IntelUndiPkg/XGigUndiDxe/ixgbe_x550.h | 1 - IntelUndiPkg/XGigUndiDxe/wol/wol.c | 1 - IntelUndiPkg/XGigUndiDxe/wol/wol.h | 1 - IntelUndiPkg/XGigUndiDxe/wol/wol_10G.c | 1 - IntelUndiPkg/XGigUndiDxe/wol/wolfamily.c | 1 - IntelUndiPkg/XGigUndiDxe/wol/wolimpl.c | 1 - IntelUndiPkg/XGigUndiDxe/wol/wolimpl.h | 1 - IntelUndiPkg/XGigUndiDxe/wol/wolinfo.c | 1 - 171 files changed, 120 insertions(+), 270 deletions(-) rename IntelUndiPkg/GigUndiDxe/{E1000.c => e1000.c} (99%) rename IntelUndiPkg/GigUndiDxe/{E1000.h => e1000.h} (99%) rename IntelUndiPkg/GigUndiDxe/{E1000_osdep.c => e1000_osdep.c} (99%) rename IntelUndiPkg/GigUndiDxe/{E1000_osdep.h => e1000_osdep.h} (99%) -- 2.19.1