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::244; helo=mail-wm0-x244.google.com; envelope-from=pete@akeo.ie; receiver=edk2-devel@lists.01.org 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) 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) 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) From: Pete Batard To: edk2-devel@lists.01.org Cc: liming.gao@intel.com 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: [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: , X-List-Received-Date: Fri, 08 Dec 2017 14:02:16 -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