From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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) 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) 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) From: Pete Batard To: edk2-devel@lists.01.org Cc: liming.gao@intel.com, ard.biesheuvel@linaro.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: [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: , X-List-Received-Date: Wed, 10 Jan 2018 16:21:48 -0000 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/MdePkg/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] # [Sources] - BaseStackCheckGcc.c | GCC - BaseStackCheckGcc.c | RVCT + BaseStackCheckGcc.c | GCC + BaseStackCheckGcc.c | RVCT + BaseStackCheckNull.c | MSFT [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 IMPLIED. + +Abstract: + + This file is purely empty as a work around for BaseStackCheck to pass MSVC build. + +**/ + +extern int __BaseStackCheckNull; -- 2.9.3.windows.2