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 841EC2217CE3D for ; Wed, 6 Dec 2017 03:10:50 -0800 (PST) Received: by mail-wm0-x243.google.com with SMTP id l141so6525601wmg.1 for ; Wed, 06 Dec 2017 03:15:22 -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=hPCFz45xUgzhnQux1IqxtphzLNpmxP31a+jAna69Z+a5+xw9uiQlxk3dVl7m9xOt+7 HfsVxoRDtyYgp7kg6dIlDZ2/zqu1DdcfzpdaxLny1vXt8EjKqhDTMYOfEq0/HTtg5EgU d+yPCDeaOjN/K/81KTpkJ+fuDfo3mhCix0vS+qHEIoa5hbmFUemX5TSo6sUwz5dJLE4C lmpQRPu1siNdG+a7EFmwac2TI7TzT2lTYQBn8/Vvpy7cJQoNK3zKCw4XFn48t55/63H7 qANHhcuX4sjRjOXcCQknlkemqBzNTa3/LGAuiuj4Lu0v9cIxng++9Li/53Z7p/y3JkjQ AS6A== 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=KPcAj9OEq373koJpDhBX1zEqW5DeKFTU7CQRYp3olpTxWC5KMf3jfw8TeVzrt5zgxK 6JE6DKtABD+ufEnC10SXWh9WFJtnr5p/eRtaTDPgEb1BQhhUEAd1663AGcY5fOYoaGQS +Iu9Tau1pXNlXqXBAa7zaaeZHTB+k70qhYh6IiWUqcHdE4LBmVEz+yyEwhCHT4V3EgJF VTzOE0gUpWg9V6GzwCpc0bSq9+Wz2gMdVP44UKURchGAtHXoRRQ0/f4YbmERTwPIfTdU VG/lfgnXrjCgu1pPBLAQdjjqb0O5oZdMO+4OIzQ//yJ0ApFEjSrYIzhXABdAfkMIJeZW 1SnA== X-Gm-Message-State: AJaThX5IWaAqVm5918R6G6s33HINL7jthfwoQ0qx5Thyg8On2ONo/i5b 8vQQRzymJGgw5wthAKlnAEMsze7WNeA= X-Google-Smtp-Source: AGs4zMYAU1Kp61tgxmCkoOwnsZ6Rpmn+7DQWn4wC38CRKYOS3K7ybzn1JSyr8fYNxvgTfSbZbmmTmQ== X-Received: by 10.80.158.194 with SMTP id a60mr38804629edf.228.1512558920867; Wed, 06 Dec 2017 03:15:20 -0800 (PST) Received: from localhost.localdomain ([84.203.69.204]) by smtp.gmail.com with ESMTPSA id b17sm1132422edj.21.2017.12.06.03.15.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Dec 2017 03:15:20 -0800 (PST) From: Pete Batard To: edk2-devel@lists.01.org Cc: liming.gao@intel.com Date: Wed, 6 Dec 2017 11:15:05 +0000 Message-Id: <20171206111509.10144-3-pete@akeo.ie> X-Mailer: git-send-email 2.9.3.windows.2 In-Reply-To: <20171206111509.10144-1-pete@akeo.ie> References: <20171206111509.10144-1-pete@akeo.ie> Subject: [PATCH v2 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: Wed, 06 Dec 2017 11:10:50 -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