From nobody Tue Dec 24 12:57:38 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 1512742012448251.2309208908108; Fri, 8 Dec 2017 06:06:52 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 5DA422217CE47; Fri, 8 Dec 2017 06:02:17 -0800 (PST) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (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 D80B22217CE3E for ; Fri, 8 Dec 2017 06:02:15 -0800 (PST) Received: by mail-wm0-x244.google.com with SMTP id n138so3483118wmg.2 for ; Fri, 08 Dec 2017 06:06:50 -0800 (PST) Received: from localhost.localdomain ([84.203.66.92]) by smtp.gmail.com with ESMTPSA id c33sm3423442edd.36.2017.12.08.06.06.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Dec 2017 06:06:48 -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::244; helo=mail-wm0-x244.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=cGgG88lOrLrbPuKiduMQCXMMTqxtGomV4WW0K2/Jw/s=; b=Q4lCGPtry7Pofc2UPrLW/uGCcnEShsD6UJkG1x6i+vqIkmDBsiwQFh6K5bXAFzQV2R 86YWw/etIPWOKO//XV400YB5dU8jYfr3NrLfuX/0v1szP54nbBlZHVHY6A4QbdytckvG aAET0M7nYsLtHESLIlmPJP+CoL8q8Jg0Pt5M5mAZkI2dh/cKILzK3yBWTLWXV5f3ib+b kTBZ7dzljtDgcsehJBTqlq02IhDqvrngKm7nPll/JUIxIBtATsT5vLUxuuE7qssgkZx6 lKf+FW+OZVETAGOfwXK1XZ7pfGLq/W5Di6IjlzSXOs4UkJ4bk88I2PApuPPLuWPxZyUu j4Sg== 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=cGgG88lOrLrbPuKiduMQCXMMTqxtGomV4WW0K2/Jw/s=; b=VpH5Ff5UKsHL646rytdYuxtni9M/ErcLcnzdR4L1OiG13U4ymD7ctmA+cUulMsk3zC D4Xlmx6xbuIFYM5KPGCtYzLkJFP6dJD+px3XTNhZylbA+dirvDgko1sd9P4SsK5eWc83 aCcH/Vz1iZEUdHUldG8eyAJQWAuhWTvDpIf63tayfnZxVSY6xQD9AzaXZ2QYqIfMNO4L vqlvDEaUBqHE4dYdR7l/vBgP3pJT/jQDdly86gD+QTTQHX0SRAwqMC9zu36qnMJ1y17+ 7k0+kPm0tiKvJYrzC975bxja+qu4bqQDrcIBjVGd8+13TI9DHaSMSz4LB5l03e0sEHdr Celg== X-Gm-Message-State: AKGB3mIwC/zZ71QvR4rC3+g86pDr9G3zrh4nqoFxfjXDlE5a+swKT2g5 6MUKt4ITXZM3nfInOsGuiTFx1ny8Rh8= X-Google-Smtp-Source: AGs4zMaO9CpQsJw5110QVkanpN+R3a6Q5necK1/RRjKPW7wMNNersmS9SDdUA/oHDvlaghBbMQ6y0A== X-Received: by 10.80.181.83 with SMTP id z19mr4331125edd.48.1512742008657; Fri, 08 Dec 2017 06:06:48 -0800 (PST) From: Pete Batard To: edk2-devel@lists.01.org Date: Fri, 8 Dec 2017 14:06:27 +0000 Message-Id: <20171208140631.4252-3-pete@akeo.ie> X-Mailer: git-send-email 2.9.3.windows.2 In-Reply-To: <20171208140631.4252-1-pete@akeo.ie> References: <20171208140631.4252-1-pete@akeo.ie> Subject: [edk2] [PATCH v3 2/6] MdePkg/Library/BaseStackCheckLib: Add Null handler for VS2017/ARM X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: liming.gao@intel.com 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..fb2f65929d3e --- /dev/null +++ b/MdePkg/Library/BaseStackCheckLib/BaseStackCheckNull.c @@ -0,0 +1,18 @@ +/*++ + + Copyright (c) 2017, 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