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 CC9D921D2BEE0 for ; Fri, 12 Jan 2018 05:28:30 -0800 (PST) Received: by mail-wm0-x242.google.com with SMTP id 141so11793195wme.3 for ; Fri, 12 Jan 2018 05:33:45 -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=YIWZdiD3NUn+aWkNQnODMUOvlBahVNnWpwrlDcg5iNJA0za2TTV14UvJxXG1Cy8b0d dDelVAx9sWLV8mzXg0INX/jztU1CZS9xvefyWpnsobz2VUS9r49pL5kAa/gBCRNi97aA dTWFc98Vl6bsjbm7UpYbYxCtI055T7TXTRC8MpNhIUHwl83iKNRw+LyF87IAFeal14eu D1PHbwha7f3RtNUjkebo15G4TYtSO/1yHOzFSsdpMYTEPvg0jcSRCNNBth/yArqEfKe7 6tbq0xT3YQfP3UcTMYPM9WEWIwRh7rrMv4nDH69D/561TRbl71crj9o29waCWpeprZLb +Kig== 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=hZalpodH092cRrk3SaVaKIdG3PqnQzOXdLuHgqkda8Bnjx76C5w/AB7KQQZFJc5cRs NGgswI3E++eeyubHo+mZZqll4NE4hVnbDhqGBUj6uOSFEHyq2yRPWFiKf2+j/aCGB8gr Mfro6p8+phuBD3HW/yAjaurDLJjTjO4fpKgRH1WLGUwwFuZ2+kbokvp1gJ1MQnruOgK1 Ws1ZLFGiWTrjfcEIKTeB01AMlRB1DCMAnNfraS6RfFAVGOKT/YhqbSGM0+1yuLA2mQzk nHToRulYTxj4a4ljBWh1Dsi2oyy1+xAS9KBiupaGd3RlxHtetL5fBXMdJUUTlkI2cuCt Pd2w== X-Gm-Message-State: AKGB3mJmC/D42WctR2gP6SiPrE0FWYSy7hCSCuM8Wl1lDBNF1qBrK7Q7 8TzlkXFai00CHRY6ohqtgArLgWmEG2E= X-Google-Smtp-Source: ACJfBoudxzV3HaNyfXcL7HScH4KxR8MGPG/wCiXoXbWA1CEyNK/3Lk6ggxAyylpUSg006+ImVaTtmQ== X-Received: by 10.80.161.167 with SMTP id 36mr35404977edk.38.1515764024057; Fri, 12 Jan 2018 05:33:44 -0800 (PST) Received: from localhost.localdomain ([84.203.42.225]) by smtp.gmail.com with ESMTPSA id c16sm1184952eda.67.2018.01.12.05.33.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Jan 2018 05:33:43 -0800 (PST) From: Pete Batard To: edk2-devel@lists.01.org Cc: liming.gao@intel.com, ard.biesheuvel@linaro.org, eugene@hp.com Date: Fri, 12 Jan 2018 13:33:27 +0000 Message-Id: <20180112133331.7776-3-pete@akeo.ie> X-Mailer: git-send-email 2.9.3.windows.2 In-Reply-To: <20180112133331.7776-1-pete@akeo.ie> References: <20180112133331.7776-1-pete@akeo.ie> Subject: [PATCH v5 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: Fri, 12 Jan 2018 13:28:31 -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