diff options
author | Pete Batard <pete@akeo.ie> | 2018-01-12 21:33:27 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-02-07 09:49:20 +0800 |
commit | 751053d6f169cdca91891e84202b63aedd4386b0 (patch) | |
tree | 93deabf1e49f6f09258ed6e910e3f594887848f4 | |
parent | 987363c9ce12c5e5e082ce9744c9dd065373ba6a (diff) | |
download | edk2-751053d6f169cdca91891e84202b63aedd4386b0.zip edk2-751053d6f169cdca91891e84202b63aedd4386b0.tar.gz edk2-751053d6f169cdca91891e84202b63aedd4386b0.tar.bz2 |
MdePkg/Library/BaseStackCheckLib: Add Null handler for VS2017/ARM
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Pete Batard <pete@akeo.ie>
Reviewed-by: Liming Gao <liming.gao@intel.com>
-rw-r--r-- | MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf | 5 | ||||
-rw-r--r-- | 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 d02d971..e280651 100644 --- a/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf +++ b/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf @@ -30,8 +30,9 @@ #
[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 0000000..ebb387f --- /dev/null +++ b/MdePkg/Library/BaseStackCheckLib/BaseStackCheckNull.c @@ -0,0 +1,18 @@ +/*++
+
+ Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
+ 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;
|