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::242; helo=mail-wm0-x242.google.com; envelope-from=pete@akeo.ie; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 A4DFC22152386 for ; Mon, 4 Dec 2017 05:07:48 -0800 (PST) Received: by mail-wm0-x242.google.com with SMTP id y82so14561480wmg.1 for ; Mon, 04 Dec 2017 05:12:18 -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=cGgG88lOrLrbPuKiduMQCXMMTqxtGomV4WW0K2/Jw/s=; b=wy6JXDJwpqQxbYkclN+QVtwLgPz+v4JlS72H8KSz+nEC8V4rjgLWvL4V25UGk4rm3M yw0dqGsTpWt4t08yMsmoqZ6Q+mVVcuDkwcdUH2UoddxL96k3+gjKuosMrTc7hnM3Uv9D 2yvo2aa5PkU9ysCEervDDbPqkrnfx2sieljSgef92px4GJJcKQH6xth0DGzsrVrS7/To F7/QOGGAPKLyWuUnFl6CtPeHb2G0E22PvHuCNexlYyIMtsEUGAWQIJLd4k9PwYOPaXCZ Ehc9vBkX2b3fwVpCrmtgxO2W6Fvg44sJBxK7vorFnA8dDhaA80CViyDsEx18rYCs2FOP ENcw== 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=FTfLLDt+7UkB5Ej4DlN69qe+Sazk+5VMcnbNjr1UF6d2yPhTN8JaL6blSjwk0k353R c+/A/PRCF6TqS3rBytw4nElc1EES7OBYw3khUJMOavecOo035LdGa7Nc7clYU3GsFZkF SigHAy0sccNX9u1KtfSjhfV6CislfEIl1TvKe+J/p3/X6Awf19Ww1VwAiOLk8uW3lA3l fg107vv7MkAWLAN2giOvmRH/Dz37mSdfuXma6v6k7IqGt5MzmC1I5vXlH6OrJnIwtrpX 3RQludQ5gMpWt6WXfYy8zqtZCdVBBgJbT2SqP/sDxpaf2E1O5e21Bz3P9B9+T6ixQ1Tj Fexw== X-Gm-Message-State: AJaThX4fNo1rscXL/bV+Fn/mTdyA+likbhdmgcXLHeWTb1jeCpO/gT3C rPdmnKjilGavsEHq36gAfTCnLkNt5Mw= X-Google-Smtp-Source: AGs4zMbOOPjr6gqMBcd+0oWjUHRfR1A0hVlcsNrVRZ8Px58t8ut87IGFepJD/qAKGCNPytGlMy8JAA== X-Received: by 10.80.213.210 with SMTP id g18mr24857003edj.75.1512393136945; Mon, 04 Dec 2017 05:12:16 -0800 (PST) Received: from localhost.localdomain ([84.203.42.156]) by smtp.gmail.com with ESMTPSA id y3sm7936797edb.37.2017.12.04.05.12.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Dec 2017 05:12:16 -0800 (PST) From: Pete Batard To: edk2-devel@lists.01.org Cc: liming.gao@intel.com Date: Mon, 4 Dec 2017 13:12:01 +0000 Message-Id: <20171204131205.11304-3-pete@akeo.ie> X-Mailer: git-send-email 2.9.3.windows.2 In-Reply-To: <20171204131205.11304-1-pete@akeo.ie> References: <20171204131205.11304-1-pete@akeo.ie> Subject: [PATCH 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: , X-List-Received-Date: Mon, 04 Dec 2017 13:07:49 -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..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 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