summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/efi/X64
diff options
context:
space:
mode:
authorMichael Brown2015-10-06 19:44:21 +0200
committerMichael Brown2015-10-07 09:34:27 +0200
commit42e0c7e956609be4adebd61250a7271a6838d70e (patch)
tree01cccfde68eaa313e3048619ea24f238c0939f0b /src/include/ipxe/efi/X64
parent[efi] Reset root directory when installing EFI_SIMPLE_FILE_SYSTEM_PROTOCOL (diff)
downloadipxe-42e0c7e956609be4adebd61250a7271a6838d70e.tar.gz
ipxe-42e0c7e956609be4adebd61250a7271a6838d70e.tar.xz
ipxe-42e0c7e956609be4adebd61250a7271a6838d70e.zip
[efi] Update to current EDK2 headers
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/X64')
-rw-r--r--src/include/ipxe/efi/X64/ProcessorBind.h26
1 files changed, 23 insertions, 3 deletions
diff --git a/src/include/ipxe/efi/X64/ProcessorBind.h b/src/include/ipxe/efi/X64/ProcessorBind.h
index 4f21bb8de..8ce9d0fb1 100644
--- a/src/include/ipxe/efi/X64/ProcessorBind.h
+++ b/src/include/ipxe/efi/X64/ProcessorBind.h
@@ -1,7 +1,7 @@
/** @file
Processor or Compiler specific defines and types x64 (Intel 64, AMD64).
- Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2015, 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
@@ -96,6 +96,26 @@ FILE_LICENCE ( BSD3 );
//
#pragma warning ( disable : 4206 )
+#if _MSC_VER == 1800
+
+//
+// Disable these warnings for VS2013.
+//
+
+//
+// This warning is for potentially uninitialized local variable, and it may cause false
+// positive issues in VS2013 build
+//
+#pragma warning ( disable : 4701 )
+
+//
+// This warning is for potentially uninitialized local pointer variable, and it may cause
+// false positive issues in VS2013 build
+//
+#pragma warning ( disable : 4703 )
+
+#endif
+
#endif
@@ -251,12 +271,12 @@ typedef INT64 INTN;
///
#elif defined(_MSC_EXTENSIONS)
///
- /// Microsoft* compiler specific method for EFIAPI calling convension
+ /// Microsoft* compiler specific method for EFIAPI calling convention.
///
#define EFIAPI __cdecl
#elif defined(__GNUC__)
///
- /// Define the standard calling convention reguardless of optimization level.
+ /// Define the standard calling convention regardless of optimization level.
/// The GCC support assumes a GCC compiler that supports the EFI ABI. The EFI
/// ABI is much closer to the x64 Microsoft* ABI than standard x64 (x86-64)
/// GCC ABI. Thus a standard x64 (x86-64) GCC compiler can not be used for