From nobody Mon Dec 23 16:46:30 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1515601627336651.2493657837633; Wed, 10 Jan 2018 08:27:07 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 9EA29222CF1DA; Wed, 10 Jan 2018 08:21:49 -0800 (PST) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (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 82FF8222CF1CA for ; Wed, 10 Jan 2018 08:21:47 -0800 (PST) Received: by mail-wm0-x243.google.com with SMTP id i186so84857wmi.4 for ; Wed, 10 Jan 2018 08:26:59 -0800 (PST) Received: from localhost.localdomain ([84.203.41.108]) by smtp.gmail.com with ESMTPSA id a52sm10543021eda.92.2018.01.10.08.26.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Jan 2018 08:26:55 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:400c:c09::243; helo=mail-wm0-x243.google.com; envelope-from=pete@akeo.ie; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gDDPqx4BKHyEYrENikRcDbEkuwrHaGaZwzv8VDpRG/E=; b=EE1RDt5y2VetEkL08k689IXs7GUhfxQnd903I0AMM+pqASW+lq0dqrhUSd5uJ9tyrc DnDlsQKfIUqgDpLaKjqRHpIvMbERYKsAbOg85P7+ZEfjBEnO81gIv7nen+IHMsyJHJ59 eYiDlHf7lAxJnmvHPBFqdniKmZq8EMOssp75vTKcIB5I8RhQ9HISso85wHPyX6TYkept IDPscP7WQoL9tQxPhVevW3tFEwA00BnxpKSPG0n0r2Hjg3Dmml2Y7Als5ebma2fk6OT7 jhjKh/8o0g+NcIHLSg8QdxeTV+dl2LJYGYG4jAOJkWDqbzDvgklUCMUkmD1by3tNyBu+ Q+VQ== 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:in-reply-to :references; bh=gDDPqx4BKHyEYrENikRcDbEkuwrHaGaZwzv8VDpRG/E=; b=PezQa3KZvISnWlKaD6xKooGcqzBc62rY2HoZNLEHrVwdObOwi9BNw33bWAjoJS3uyv bI/0XhJ4BGke6CQzLS4CS2FLidf1r9iSv50CkZa11WB6skmN/0vicyRJFSqfUd8d6eTR gYGm7/LEToc50RPcW4ZRMryxjUG6F8PCG93yFgTH335lD8g2jdOEUm2kOFYyGW1K6C07 1zQSl+Ho2uWLaZNL/efj8/7vloV/vLFGM1hyzR/m2uuoveg+6sV8X310HCmcdfdsk65e DH2Wmdj8hF0dA8gnulKqe0PwMV0RVusWlYeZyfInkXCS9WDMQ7PEH+DLxF34h8g2FLu5 EDDg== X-Gm-Message-State: AKGB3mJe67UxcIJy6b7tV0BHGz1ce05A+GZ/Br8SnrbW06iIs2R0/lD+ jatjHv4yBS+vjfdjvLnPbpBHL/Y20Jk= X-Google-Smtp-Source: ACJfBov8+5zuwXMeX3n8U2wIjbA9Dh3Uaj+swxNoyTKPF14LqFTQKaIssM2uIavXnIRDHf1194nvGA== X-Received: by 10.80.192.70 with SMTP id u6mr26850306edd.109.1515601616263; Wed, 10 Jan 2018 08:26:56 -0800 (PST) From: Pete Batard To: edk2-devel@lists.01.org Date: Wed, 10 Jan 2018 16:26:40 +0000 Message-Id: <20180110162644.11208-3-pete@akeo.ie> X-Mailer: git-send-email 2.9.3.windows.2 In-Reply-To: <20180110162644.11208-1-pete@akeo.ie> References: <20180110162644.11208-1-pete@akeo.ie> Subject: [edk2] [PATCH v4 2/6] MdePkg/Library/BaseStackCheckLib: Add Null handler for VS2017/ARM X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: liming.gao@intel.com, ard.biesheuvel@linaro.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Pete Batard --- MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf | 5 +++-- MdePkg/Library/BaseStackCheckLib/BaseStackCheckNull.c | 18 ++++++++++++++= ++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf b/MdePk= g/Library/BaseStackCheckLib/BaseStackCheckLib.inf index d02d97107b08..e280651b1199 100644 --- a/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf +++ b/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf @@ -30,8 +30,9 @@ [Defines] # =20 [Sources] - BaseStackCheckGcc.c | GCC - BaseStackCheckGcc.c | RVCT + BaseStackCheckGcc.c | GCC + BaseStackCheckGcc.c | RVCT + BaseStackCheckNull.c | MSFT =20 [Packages] MdePkg/MdePkg.dec diff --git a/MdePkg/Library/BaseStackCheckLib/BaseStackCheckNull.c b/MdePkg= /Library/BaseStackCheckLib/BaseStackCheckNull.c new file mode 100644 index 000000000000..ebb387fee5e1 --- /dev/null +++ b/MdePkg/Library/BaseStackCheckLib/BaseStackCheckNull.c @@ -0,0 +1,18 @@ +/*++ + + Copyright (c) 2018, Intel Corporation. All rights reserved.
+ This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD= License + which accompanies this distribution. The full text of the license may be= found at + http://opensource.org/licenses/bsd-license.php. + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPL= IED. + +Abstract: + + This file is purely empty as a work around for BaseStackCheck to pass MS= VC build. + +**/ + +extern int __BaseStackCheckNull; --=20 2.9.3.windows.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel