From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=CFDBW5fj; spf=pass (domain: linaro.org, ip: 209.85.221.67, mailfrom: baptiste.gerondeau@linaro.org) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by groups.io with SMTP; Wed, 18 Sep 2019 05:27:02 -0700 Received: by mail-wr1-f67.google.com with SMTP id l3so6679478wru.7 for ; Wed, 18 Sep 2019 05:27:01 -0700 (PDT) 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=eWuELx5MjgL61vec2zmOw3jSqRpzFc/GQXC+3hgdaNo=; b=CFDBW5fjLkfgwhmO6kt/1MjSOqBz4bUXgVSoxA3ebyFzmrz4xNHl555JkSWfe0LMOo hW7/uP3x70LM9z9HxMMH5eufKGlSo9CK6xMd9MlkQhO6ViORNU7cUVZiu/lLTzQszh7v SLn/Wp+A8FLZBMS4rq+k7plwPQ5ELCChk4mJRRQuXinVA6g2BdE0dERFhmAZ6gIAt6c1 ZDdACReg1C7wUIQAV26QdWSLXZE/dFfq8KmGPtgL6VbeHBbbAvYSgG0W8gRoeLRozFe+ pDPzJ760QM5uJ098Uhw20HiuqzoarxSUzwyUaK0UVzUaczUrTaPqokRu44CiVXym9oWN u1EQ== 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=eWuELx5MjgL61vec2zmOw3jSqRpzFc/GQXC+3hgdaNo=; b=F5AfjFce/89bLt01jJV6aOLh9VdYlIkMZZUFaZanJ46SQpDUtClhx+meaxnUWh9CQe 1xSt+XSDaomtQcLUvZZNwdmBe5ruiGZkIGeRz1jFDqHDb8OrF8L5i48H5HYhm4uAjHqj 4SQ6F4oL1aXfT8W5lvdiUviyNMKKMH60brjw4E4WDPp3sbRIcajw1Jn7Q6eHFbgjJS5M 0FBvnxbwTkwejLgazX7t46QVsvovH6bChHG4zDjmoH0OoJTjQKGgs0wlKDqi/8PPzzXA YfjoIvUYYPTmZzLbTBt5NwdmD/ws+P6E0IQwcQvycoM9adV5+/Kk2gWpDUGwOX3CrJSg 8wJw== X-Gm-Message-State: APjAAAWqfAI2yM9jLwRPE43QRrZwUgihpxjQgmARrl70hiQ7xpN9eoFw fIVc8ub/tM9InBZI+D7QHu85DxDxRBsCxg== X-Google-Smtp-Source: APXvYqzj5vq6l8Mtj9O9CDY1TWbZlbfYhI9B0mMg+e7a4PWsMIXj1wNci06/k7oEKXtU0X4W3HapKg== X-Received: by 2002:adf:df0d:: with SMTP id y13mr1451491wrl.342.1568809620406; Wed, 18 Sep 2019 05:27:00 -0700 (PDT) Return-Path: Received: from localhost.localdomain (176-169-168-38.abo.bbox.fr. [176.169.168.38]) by smtp.gmail.com with ESMTPSA id x2sm7573125wrn.81.2019.09.18.05.26.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Sep 2019 05:26:59 -0700 (PDT) From: "Baptiste Gerondeau" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, michael.d.kinney@intel.com, liming.gao@intel.com, shenglei.zhang@intel.com, Baptiste Gerondeau Subject: [PATCH 0/3] Arm builds on Visual Studio Date: Wed, 18 Sep 2019 14:25:03 +0200 Message-Id: X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit We are currently making an effort to make ARM (and AARCH64 eventually) builds using Microsoft's Visual Studio Compiler (aka MSVC/MSFT). These 3 patches correspond to an effort to make the assembler work with MSFT, which entails : - Feeding MSFT the RVCT .asm files, since they share syntax requirements. - Fixing some instructions syntax in those .asm files, in order to make them palatable for MSFT. - Fixing some minor formatting issue in INF files, while we're at it. This set enables the assembler, meanwhile the C also require changes, which will come in a set later. This set makes the RVCT toolchain family and profiles obsolete, unblocking : BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1750 As mentioned in the above bug, dropping RVCT would entail orphanating the .asm files that powered the RVCT build. Since Visual Studio uses the same file syntax, those can be reused to power the VS build. These patches have been tested on VS2019 (v15.9.11) and VS2017 (v16.0.1) Baptiste GERONDEAU (3): ArmPkg/MdePkg : Unify INF files format ARM/Assembler: Correct syntax from RVCT for MSFT ARM/Assembler: Reuse RVCT assembler for MSFT build ArmPkg/Drivers/ArmGic/ArmGicLib.inf | 2 +- ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.asm | 30 +++++++++++++++++------------- ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf | 2 +- ArmPkg/Library/ArmExceptionLib/ArmRelocateExceptionLib.inf | 2 +- ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf | 2 +- ArmPkg/Library/ArmLib/Arm/ArmV7Support.asm | 6 ++++-- ArmPkg/Library/ArmLib/ArmBaseLib.inf | 8 ++++---- ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf | 4 ++-- ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf | 2 +- ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf | 2 +- ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf | 2 +- ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf | 2 +- ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf | 2 +- ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf | 6 +++--- ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf | 6 +++--- ArmPlatformPkg/PrePi/PeiMPCore.inf | 2 +- ArmPlatformPkg/PrePi/PeiUniCore.inf | 2 +- MdePkg/Library/BaseIoLibIntrinsic/Arm/ArmVirtMmio.asm | 18 +++++++++--------- MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf | 2 +- MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf | 20 ++++++++++---------- MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf | 2 +- 21 files changed, 65 insertions(+), 59 deletions(-) -- 2.23.0